diff --git a/.dockerignore b/.dockerignore index ed034c88..0c4f447e 100644 --- a/.dockerignore +++ b/.dockerignore @@ -13,7 +13,7 @@ **/htmlcov perovskite-sim/.venv -perovskite-sim/frontend/node_modules -perovskite-sim/frontend/dist +web/node_modules +web/dist perovskite-sim-phase2b diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 00000000..38056e6f --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,384 @@ +name: Refactor checks + +on: + push: + branches: [devel] + pull_request: + branches: [main, devel] + workflow_dispatch: + inputs: + run_coverage: + description: Run coverage on the bounded core smoke selection + type: boolean + default: false + run_slow: + description: Run the existing dark p-n junction regression only + type: boolean + default: false + run_ionic_jv_diagnostics: + description: Repeat the real ionic J-V HTTP module and retain native evidence + type: boolean + default: false + ionic_jv_diagnostic_repetitions: + description: Positive integer repeat count for each diagnostic Python version + type: number + default: 20 + ionic_jv_measure_curve_64s: + description: Measure only the direct diagnostic curve with a 64s ceiling; no limit recommendation + type: boolean + default: false + +permissions: + contents: read + +concurrency: + group: refactor-${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + +defaults: + run: + working-directory: perovskite-sim + +env: + UV_PROJECT_ENVIRONMENT: ${{ github.workspace }}/.venv-refactor + PYTHONDONTWRITEBYTECODE: "1" + OMP_NUM_THREADS: "1" + OPENBLAS_NUM_THREADS: "1" + MKL_NUM_THREADS: "1" + VECLIB_MAXIMUM_THREADS: "1" + NUMEXPR_NUM_THREADS: "1" + BLIS_NUM_THREADS: "1" + +jobs: + static: + runs-on: ubuntu-24.04 + timeout-minutes: 10 + steps: + - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 + - uses: astral-sh/setup-uv@d0cc045d04ccac9d8b7881df0226f9e82c39688e # v6 + with: + version: "0.12.13" + python-version: "3.13.15" + - run: uv lock --check + - run: uv sync --frozen --extra dev + # Scope grows with the refactor. Do not reformat the legacy numerical tree. + - name: Lint new files and the touched shared fixture + run: >- + uv run --frozen --no-sync ruff check --config pyproject.toml + tests/conftest.py tests/unit/test_pytest_isolation.py + tests/unit/backend/conftest.py tests/integration/backend/conftest.py + ../scripts/benchmarks/probe_ida_binding.py + ../scripts/benchmarks/g2_route_launcher.py ../tests/numerical_contracts/test_g2_route_launcher.py + - name: Format check for new files + run: >- + uv run --frozen --no-sync ruff format --check --config pyproject.toml + tests/unit/test_pytest_isolation.py tests/unit/backend/conftest.py + tests/integration/backend/conftest.py ../scripts/benchmarks/probe_ida_binding.py + - name: Type check new files + run: >- + uv run --frozen --no-sync mypy + tests/unit/test_pytest_isolation.py tests/unit/backend/conftest.py + tests/integration/backend/conftest.py ../scripts/benchmarks/probe_ida_binding.py + + - name: Guard root test discovery and explicit exclusions + working-directory: . + run: >- + uv run --frozen --no-sync python -m pytest -q -s -p no:cacheprovider + tests/ci --junitxml=${{ runner.temp }}/test-discovery.xml + + core: + runs-on: ubuntu-24.04 + timeout-minutes: 15 + defaults: + run: + working-directory: . + env: + PYTEST_CI_JOB: core + strategy: + fail-fast: false + matrix: + python: ["3.11.16", "3.13.15"] + steps: + - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 + - uses: astral-sh/setup-uv@d0cc045d04ccac9d8b7881df0226f9e82c39688e # v6 + with: + version: "0.12.13" + python-version: ${{ matrix.python }} + - run: uv sync --frozen --extra dev --extra arb --extra ida + - name: Existing coinstalled legacy kernel smoke + working-directory: perovskite-sim + run: >- + "$UV_PROJECT_ENVIRONMENT/bin/python" -m pytest -q -p no:cacheprovider + tests/unit/test_pytest_isolation.py::test_core_pytest_does_not_import_backend + tests/unit/test_blas_marker_selection.py + tests/unit/physics/test_dynamic_storage.py + tests/unit/discretization/test_fe_operators.py + # Test-local prerequisites and strict xfails are documented in + # tests/ci/exclusions.json; no failure is hidden with -k or --deselect. + - name: Discover all root kernels and numerical contracts + run: >- + uv run --frozen --no-sync python -m pytest -q -ra -p no:cacheprovider + tests/unit tests/numerical_contracts tests/independent + -m 'not slow and not frontend' --durations=20 + --junitxml=${{ runner.temp }}/core-${{ matrix.python }}.xml + + packages: + runs-on: ubuntu-24.04 + # Package/refactor checks run about 8 min plus 1.5 min runtime pools. + timeout-minutes: 25 + defaults: + run: + working-directory: . + strategy: + fail-fast: false + matrix: + python: ["3.11.16", "3.13.15"] + steps: + - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 + with: + # The release-bundle test compares the build commit with HEAD^. + fetch-depth: 2 + - uses: astral-sh/setup-uv@d0cc045d04ccac9d8b7881df0226f9e82c39688e # v6 + with: + version: "0.12.13" + python-version: ${{ matrix.python }} + - run: uv lock --check + - run: uv sync --frozen --extra dev --extra server --no-editable + - name: Discover all root integration and package tests + env: + PYTEST_CI_JOB: packages + run: >- + uv run --frozen --no-sync python -m pytest -q -ra -p no:cacheprovider + tests/integration tests/refactor -m 'not slow and not frontend' + --durations=20 --junitxml=${{ runner.temp }}/packages-${{ matrix.python }}.xml + - name: Check typed configuration, registry and runtime preparation + run: | + uv run --frozen --no-sync ruff check --no-cache src scripts/generate_configuration_schema.py tests/refactor/test_configuration_schema_export.py tests/refactor/test_configuration_input_types.py tests/refactor/test_configuration_preparation.py tests/refactor/test_registry_preparation.py tests/refactor/test_device_configuration_preparation.py tests/refactor/test_complex_configuration_preparation.py tests/refactor/test_structured_registry_preparation.py tests/refactor/test_execution_identity_preparation.py tests/refactor/test_behavior_context.py tests/refactor/test_experiment_registry_startup.py tests/refactor/test_input_domain_closure.py tests/refactor/test_legacy_behavior_execution.py tests/refactor/test_legacy_execution_context.py tests/refactor/legacy_driver_observer.py tests/refactor/test_effective_behavior_identity.py tests/refactor/test_configuration_migration.py tests/refactor/test_execution_manifest.py tests/refactor/test_release_bundle.py tests/refactor/test_binding_identity.py tests/refactor/test_registry_mapping.py tests/runtime/test_run_store.py tests/runtime/test_execution.py tests/runtime/test_legacy_engine.py tests/runtime/legacy_fixtures.py tests/runtime/execution_workers.py tests/runtime/test_event_service.py tests/runtime/test_configuration_schema_service.py tests/runtime/test_configuration_preview.py tests/unit/contracts tests/unit/mesh tests/unit/discretization tests/unit/physics/electrostatics tests/unit/physics/statistics tests/unit/physics/contacts tests/unit/physics/transport tests/unit/physics/band_structure tests/unit/physics/field_mobility + uv run --frozen --no-sync mypy --cache-dir /dev/null src/solarlab src/solarlab_server + - name: Check generated configuration schema + run: uv run --frozen --no-sync python scripts/generate_configuration_schema.py --check + - name: Installed package imports and resources outside the checkout + working-directory: ${{ runner.temp }} + run: | + "$UV_PROJECT_ENVIRONMENT/bin/python" -I -B - <<'PY' + import importlib.metadata + import importlib.resources + import pathlib + import sys + import solarlab + import solarlab_research + import solarlab_server + from solarlab.config import behavior + from solarlab_server.app import create_app + from perovskite_sim.models.parameters import MaterialParams + + prefix = pathlib.Path(sys.prefix).resolve() + for module in (solarlab, solarlab_research, solarlab_server): + assert pathlib.Path(module.__file__).resolve().is_relative_to(prefix) + assert importlib.resources.files(module).joinpath("py.typed").is_file() + assert MaterialParams.__module__ == "perovskite_sim.models.parameters" + assert create_app.__module__ == "solarlab_server.app" + assert pathlib.Path(behavior.__file__).resolve().is_relative_to(prefix) + assert importlib.metadata.version("solarlab") == "0.1.0" + PY + + backend: + runs-on: ubuntu-24.04 + timeout-minutes: 15 + env: + PYTEST_CI_JOB: backend + strategy: + fail-fast: false + matrix: + python: ["3.11.16", "3.13.15"] + steps: + - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 + - uses: astral-sh/setup-uv@d0cc045d04ccac9d8b7881df0226f9e82c39688e # v6 + with: + version: "0.12.13" + python-version: ${{ matrix.python }} + - run: uv sync --frozen --extra dev --extra server + - name: Job cleanup, mocked dispatch and API rejection paths + run: >- + uv run --frozen --no-sync python -m pytest -q -p no:cacheprovider + tests/unit/test_pytest_isolation.py::test_backend_cleanup_precedes_monkeypatch_undo + tests/unit/backend/test_jobs.py tests/unit/backend/test_progress.py + tests/unit/backend/test_twod_microstructure_preflight.py + tests/unit/backend/test_experiment_protocol_api.py + tests/integration/backend/test_twod_configs_api.py + + - name: Install the locked root service and runtime dependencies + working-directory: . + run: uv sync --frozen --extra dev --extra server --no-editable + - name: Discover all root runtime and HTTP tests + working-directory: . + run: >- + uv run --frozen --no-sync python -m pytest -q -ra -p no:cacheprovider + tests/runtime --ignore tests/runtime/test_scan_execution.py + --ignore tests/runtime/test_supervisor_control_failure.py + -m 'not slow and not frontend' --durations=20 + --junitxml=${{ runner.temp }}/backend-${{ matrix.python }}.xml + # Separate process: pool RSS includes pytest and its process family. + # The discovery guard verifies this group and bulk ignore together. + - name: Isolated scan execution pool contracts + working-directory: . + env: + PYTEST_CI_ISOLATED_GROUP: scan_execution + run: >- + uv run --frozen --no-sync python -m pytest -q -ra -p no:cacheprovider + tests/runtime/test_scan_execution.py -m 'not slow and not frontend' --durations=20 + --junitxml=${{ runner.temp }}/backend-scan-${{ matrix.python }}.xml + - name: Isolated supervisor control and recovery contracts + working-directory: . + env: + PYTEST_CI_ISOLATED_GROUP: supervisor_control_failure + run: >- + uv run --frozen --no-sync python -m pytest -q -ra -p no:cacheprovider + tests/runtime/test_supervisor_control_failure.py -m 'not slow and not frontend' --durations=20 + --junitxml=${{ runner.temp }}/backend-control-${{ matrix.python }}.xml + + ionic-jv-diagnostics: + if: github.event_name == 'workflow_dispatch' && inputs.run_ionic_jv_diagnostics + runs-on: ubuntu-24.04 + timeout-minutes: 90 + defaults: + run: + working-directory: . + strategy: + fail-fast: false + matrix: + python: ["3.11.16", "3.13.15"] + steps: + - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 + - uses: astral-sh/setup-uv@d0cc045d04ccac9d8b7881df0226f9e82c39688e # v6 + with: + version: "0.12.13" + python-version: ${{ matrix.python }} + - run: uv sync --frozen --extra dev --extra server --no-editable + - name: Repeat ionic J-V HTTP diagnostics + env: + IONIC_JV_DIAGNOSTIC_REPETITIONS: ${{ inputs.ionic_jv_diagnostic_repetitions }} + run: >- + uv run --frozen --no-sync python scripts/ci/ionic_jv_diagnostics.py + --repetitions "$IONIC_JV_DIAGNOSTIC_REPETITIONS" + --output-dir "${{ runner.temp }}/ionic-jv-diagnostics-${{ matrix.python }}" + - name: Uncensored direct ionic J-V child timings + if: always() + env: + IONIC_JV_DIAGNOSTIC_REPETITIONS: ${{ inputs.ionic_jv_diagnostic_repetitions }} + IONIC_JV_MEASURE_CURVE_64S: ${{ inputs.ionic_jv_measure_curve_64s }} + run: | + measurement_args=() + if [ "$IONIC_JV_MEASURE_CURVE_64S" = "true" ]; then + measurement_args+=(--diagnostic-curve-64) + fi + uv run --frozen --no-sync python scripts/ci/ionic_jv_timing.py \ + --repetitions "$IONIC_JV_DIAGNOSTIC_REPETITIONS" \ + --output-dir "${{ runner.temp }}/ionic-jv-diagnostics-${{ matrix.python }}/uncensored" \ + "${measurement_args[@]}" + - name: Upload every diagnostic attempt + if: always() + uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 + with: + name: ionic-jv-diagnostics-${{ matrix.python }}-${{ github.run_attempt }} + path: ${{ runner.temp }}/ionic-jv-diagnostics-${{ matrix.python }}/ + if-no-files-found: warn + include-hidden-files: true + retention-days: 14 + + binding: + runs-on: ubuntu-24.04 + timeout-minutes: 15 + steps: + - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 + - uses: astral-sh/setup-uv@d0cc045d04ccac9d8b7881df0226f9e82c39688e # v6 + with: + version: "0.12.13" + python-version: "3.13.15" + - run: uv sync --frozen --all-extras + - name: Optional research, notebook and legacy queue imports + run: >- + uv run --frozen --no-sync python -c + "import openpyxl, fitz, jupyterlab, backend.celery_app" + - name: Tiny analytic IDA binding probes + run: >- + uv run --frozen --no-sync python ../scripts/benchmarks/probe_ida_binding.py + --output "$RUNNER_TEMP/BindingCapabilitiesV1.json" + + frontend: + runs-on: ubuntu-24.04 + timeout-minutes: 15 + env: + PYTEST_CI_JOB: frontend + defaults: + run: + working-directory: web + steps: + - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 + - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4 + with: + node-version: "24.21.0" + cache: npm + cache-dependency-path: web/package-lock.json + - run: npm ci --no-audit --no-fund + - uses: astral-sh/setup-uv@d0cc045d04ccac9d8b7881df0226f9e82c39688e # v6 + with: + version: "0.12.13" + python-version: "3.13.15" + - name: Install locked Python schema and service dependencies + working-directory: . + run: uv sync --frozen --extra dev --extra server --no-editable + - name: Discover Python and TypeScript browser contracts + working-directory: . + run: >- + uv run --frozen --no-sync python -m pytest -q -ra -p no:cacheprovider + tests/refactor tests/runtime --ignore tests/runtime/test_run_client_contract.py + -m 'not slow and frontend' --durations=20 + --junitxml=${{ runner.temp }}/frontend-python.xml + # Do not import the whole numerical suite into the client's RSS budget. + - name: Isolated stored-run client pool contracts + working-directory: . + env: + PYTEST_CI_ISOLATED_GROUP: run_client + run: >- + uv run --frozen --no-sync python -m pytest -q -ra -p no:cacheprovider + tests/runtime/test_run_client_contract.py -m 'not slow and frontend' --durations=20 + --junitxml=${{ runner.temp }}/frontend-run-client.xml + - run: SOLARLAB_PYTHON="$UV_PROJECT_ENVIRONMENT/bin/python" npm run test:run + - run: npm run build + + coverage: + if: github.event_name == 'workflow_dispatch' && inputs.run_coverage + runs-on: ubuntu-24.04 + timeout-minutes: 20 + steps: + - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 + - uses: astral-sh/setup-uv@d0cc045d04ccac9d8b7881df0226f9e82c39688e # v6 + with: + version: "0.12.13" + python-version: "3.13.15" + - run: uv sync --frozen --extra dev + # Coverage stays outside the default pytest addopts and numerical lanes. + - run: >- + uv run --frozen --no-sync python -m pytest -q + --cov=perovskite_sim.physics.dynamic_storage + --cov=perovskite_sim.discretization.fe_operators --cov-report=term-missing + tests/unit/physics/test_dynamic_storage.py + tests/unit/discretization/test_fe_operators.py + + slow: + if: github.event_name == 'workflow_dispatch' && inputs.run_slow + runs-on: ubuntu-24.04 + timeout-minutes: 60 + steps: + - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 + - uses: astral-sh/setup-uv@d0cc045d04ccac9d8b7881df0226f9e82c39688e # v6 + with: + version: "0.12.13" + python-version: "3.13.15" + - run: uv sync --frozen --extra dev + # One bounded existing regression. Full slow suites and qualified + # SCAPS/HI/R1 long-window campaigns require separately scheduled runs. + - run: >- + uv run --frozen --no-sync python -m pytest -q -m slow + tests/regression/test_pn_junction_analytic.py diff --git a/.github/workflows/scheduled-suite.yml b/.github/workflows/scheduled-suite.yml new file mode 100644 index 00000000..766e9558 --- /dev/null +++ b/.github/workflows/scheduled-suite.yml @@ -0,0 +1,214 @@ +name: Scheduled suite coverage + +# The landing push registers this workflow for later --ref devel dispatches. +# GitHub enables cron only after this file reaches the default branch. +on: + push: + branches: [devel] + paths: [".github/workflows/scheduled-suite.yml", "scripts/ci/scheduled_suite.py"] + schedule: + - cron: "17 19 * * *" + workflow_dispatch: + inputs: + run_slow: + description: Run the complete slow selection + type: boolean + default: true + slow_shards: + description: all or comma-separated slow shard IDs from the plan artifact + type: string + default: all + run_coverage: + description: Report coverage of both complete default Python suites + type: boolean + default: true + coverage_shards: + description: all or comma-separated coverage shard IDs from the plan artifact + type: string + default: all + +permissions: + contents: read + actions: read + +# Separate workflow and run identity: a nightly/manual result cannot cancel or +# become a dependency of the existing Refactor checks push/PR workflow. +concurrency: + group: scheduled-suite-${{ github.ref }}-${{ github.run_id }} + cancel-in-progress: false + +env: + UV_PROJECT_ENVIRONMENT: ${{ github.workspace }}/.venv-refactor + PYTHONDONTWRITEBYTECODE: "1" + OMP_NUM_THREADS: "1" + OPENBLAS_NUM_THREADS: "1" + MKL_NUM_THREADS: "1" + VECLIB_MAXIMUM_THREADS: "1" + NUMEXPR_NUM_THREADS: "1" + BLIS_NUM_THREADS: "1" + +jobs: + plan: + runs-on: ubuntu-24.04 + timeout-minutes: 15 + outputs: + commit: ${{ steps.plan.outputs.commit }} + slow_enabled: ${{ steps.plan.outputs.slow_enabled }} + slow_matrix: ${{ steps.plan.outputs.slow_matrix }} + coverage_enabled: ${{ steps.plan.outputs.coverage_enabled }} + coverage_matrix: ${{ steps.plan.outputs.coverage_matrix }} + steps: + - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 + with: + fetch-depth: 0 + - uses: astral-sh/setup-uv@d0cc045d04ccac9d8b7881df0226f9e82c39688e # v6 + with: + version: "0.12.13" + python-version: "3.13.15" + - run: uv sync --frozen --all-extras --no-editable + - name: Inventory actual test nodes and prove complete, disjoint shards + id: plan + env: + RUN_SLOW: ${{ github.event_name != 'workflow_dispatch' || inputs.run_slow }} + RUN_COVERAGE: ${{ github.event_name != 'workflow_dispatch' || inputs.run_coverage }} + SLOW_SHARDS: ${{ inputs.slow_shards || 'all' }} + COVERAGE_SHARDS: ${{ inputs.coverage_shards || 'all' }} + run: | + uv run --frozen --no-sync python scripts/ci/scheduled_suite.py plan \ + --out "$RUNNER_TEMP/suite-plan" \ + --run-slow "$RUN_SLOW" --slow-shards "$SLOW_SHARDS" \ + --run-coverage "$RUN_COVERAGE" --coverage-shards "$COVERAGE_SHARDS" + - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 + if: always() + with: + name: suite-plan + path: ${{ runner.temp }}/suite-plan/ + retention-days: 14 + if-no-files-found: error + + slow: + needs: plan + if: needs.plan.outputs.slow_enabled == 'true' + name: Slow (${{ matrix.id }}) + runs-on: ubuntu-24.04 + timeout-minutes: 120 + strategy: + fail-fast: false + max-parallel: 4 + matrix: ${{ fromJSON(needs.plan.outputs.slow_matrix) }} + steps: + - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 + with: + ref: ${{ needs.plan.outputs.commit }} + # Historical producer tests require real old commits. + fetch-depth: 0 + - uses: astral-sh/setup-uv@d0cc045d04ccac9d8b7881df0226f9e82c39688e # v6 + with: + version: "0.12.13" + python-version: "3.13.15" + - run: uv sync --frozen --all-extras --no-editable + - uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0 + with: + name: suite-plan + path: ${{ runner.temp }}/suite-plan + - name: Run every planned slow node with unchanged gates + timeout-minutes: 110 + env: + SHARD_ID: ${{ matrix.id }} + run: | + uv run --frozen --no-sync python scripts/ci/scheduled_suite.py run \ + --plan "$RUNNER_TEMP/suite-plan/plan.json" --kind slow \ + --shard "$SHARD_ID" --out "$RUNNER_TEMP/slow-result" + - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 + if: always() + with: + name: results-${{ matrix.id }} + path: ${{ runner.temp }}/slow-result/ + retention-days: 14 + if-no-files-found: error + + coverage: + needs: plan + if: needs.plan.outputs.coverage_enabled == 'true' + name: Coverage (${{ matrix.id }}) + runs-on: ubuntu-24.04 + timeout-minutes: 120 + strategy: + fail-fast: false + max-parallel: 4 + matrix: ${{ fromJSON(needs.plan.outputs.coverage_matrix) }} + steps: + - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 + with: + ref: ${{ needs.plan.outputs.commit }} + fetch-depth: 0 + - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4 + if: startsWith(matrix.id, 'coverage-root-frontend') + with: + node-version: "24.21.0" + cache: npm + cache-dependency-path: web/package-lock.json + - name: Install frontend contract prerequisites + if: startsWith(matrix.id, 'coverage-root-frontend') + working-directory: web + run: npm ci --no-audit --no-fund + - uses: astral-sh/setup-uv@d0cc045d04ccac9d8b7881df0226f9e82c39688e # v6 + with: + version: "0.12.13" + python-version: "3.13.15" + - run: uv sync --frozen --all-extras --no-editable + - uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0 + with: + name: suite-plan + path: ${{ runner.temp }}/suite-plan + - name: Measure default tests without a coverage percentage gate + timeout-minutes: 110 + env: + SHARD_ID: ${{ matrix.id }} + SCHEDULED_RUNTIME_EVIDENCE_DIR: ${{ startsWith(matrix.id, 'coverage-root-backend') && format('{0}/coverage-result/runtime-evidence/{1}', runner.temp, matrix.id) || '' }} + run: | + uv run --frozen --no-sync python scripts/ci/scheduled_suite.py run \ + --plan "$RUNNER_TEMP/suite-plan/plan.json" --kind coverage \ + --shard "$SHARD_ID" --out "$RUNNER_TEMP/coverage-result" + - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 + if: always() + with: + name: coverage-data-${{ matrix.id }} + path: ${{ runner.temp }}/coverage-result/ + retention-days: 14 + if-no-files-found: error + + coverage-report: + needs: [plan, coverage] + if: always() && needs.plan.result == 'success' && needs.plan.outputs.coverage_enabled == 'true' + runs-on: ubuntu-24.04 + timeout-minutes: 15 + steps: + - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 + with: + ref: ${{ needs.plan.outputs.commit }} + - uses: astral-sh/setup-uv@d0cc045d04ccac9d8b7881df0226f9e82c39688e # v6 + with: + version: "0.12.13" + python-version: "3.13.15" + - run: uv sync --frozen --extra dev --no-editable + - uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0 + with: + name: suite-plan + path: ${{ runner.temp }}/suite-plan + - uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0 + with: + pattern: coverage-data-* + path: ${{ runner.temp }}/coverage-shards + - name: Combine source-mapped coverage and disclose incomplete shards + run: | + uv run --frozen --no-sync python scripts/ci/scheduled_suite.py combine \ + --plan "$RUNNER_TEMP/suite-plan/plan.json" \ + --data "$RUNNER_TEMP/coverage-shards" --out "$RUNNER_TEMP/coverage-report" + - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 + if: always() + with: + name: whole-default-suite-coverage + path: ${{ runner.temp }}/coverage-report/ + retention-days: 14 + if-no-files-found: error diff --git a/.python-version b/.python-version new file mode 100644 index 00000000..4de75f8d --- /dev/null +++ b/.python-version @@ -0,0 +1 @@ +3.13.15 diff --git a/CLAUDE.md b/CLAUDE.md index 9a47dc85..6a102a8d 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -4,7 +4,8 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co ## Repository Layout -Single project tree: `perovskite-sim/` (the whole simulator) plus `docs/figures/` +Project trees: `perovskite-sim/` (Python simulator and backend), root `web/` +(the frontend), plus `docs/figures/` (only the PNGs the root README embeds). **`perovskite-sim/` has its own `CLAUDE.md`** with exhaustive architecture notes (solver hot paths, TMM optics, backend SSE pattern, frontend panel structure, test BLAS-pinning gotcha, etc.). **Always read `perovskite-sim/CLAUDE.md`** — it is the authoritative guide. Note: parallel `perovskite-sim-phase2b/` worktree was removed once tandem v1 (PR #11) and Phase 2b Layer Builder UI (PR #2) merged into `main`. Short-lived feature isolation now uses `.worktrees//` (gitignored). @@ -27,7 +28,7 @@ test, and be understood: | What | Where | Name | |---|---|---| | Python / TypeScript / MATLAB code, tests, backend, frontend | language folders | language convention (`snake_case.py`, `test_*.py`, kebab-case `.ts`) — never CamelCase | -| Shipped device presets (the research entry points the frontend catalogue lists) | `perovskite-sim/configs/` + `frontend/src/preset-catalog.ts` | existing scheme (`snake_case.yaml`) | +| Shipped device presets (the research entry points the frontend catalogue lists) | `perovskite-sim/configs/` + `web/src/preset-catalog.ts` | existing scheme (`snake_case.yaml`) | | Test-only / historical device presets | `perovskite-sim/tests/fixtures/configs/` (never served by the API; API tests use the `serve_all_presets` fixture) | existing scheme | | Package data, tooling files | `perovskite_sim/data/`, tool-fixed names | as the tool or existing scheme requires | | Physics contract / policy / protocol / schema / certificate docs that code, tests or configs cite | `perovskite-sim/docs/` | multi-word CamelCase, versions as `V1`, `V2` (`TwodTransportContract.md`, `ExplicitDefectSchemaV2.md`) | @@ -79,10 +80,100 @@ The one input file code still reads, `ScapsParams.xlsx`, stays at ## Git -`origin`: `github.com/ShaneLogic/SolarLab.git`, default branch `main`. Commits land directly on `main` in this project (no PR workflow enforced locally). Use `git push origin main` after committing. +`origin`: `github.com/ShaneLogic/SolarLab.git`, default branch `main`. + +The user authorized the full refactor on 2026-10-05. All refactor development, +staging, commits and pushes belong on **`devel`**. Do not modify, commit to, or +push `main`. A single coordinator-designated integrator owns branch changes, +staging, commits and synchronization in the shared checkout. Other workers must +verify the repository path, actual branch and HEAD before editing their assigned +files; they must not switch branches or commit concurrently. Preserve existing +changes and unrelated untracked files; never reset or stash them to start work. + +The automatic delivery endpoint is a fully validated, reproducible release and +a review-ready **`devel` → `main` PR**. Only the user may merge it. Agents must +not merge, enable auto-merge, bypass branch protection, or claim `main` has been +refactored before the human merge. Resolve safe integration conflicts and rerun +affected checks on `devel` before requesting that final review. Any per-task +branch advice in older plans is superseded for this shared refactor run. + +Follow archive `plans/Impl/ArchitectureRefactorExecutionV2.md` (V1 is frozen +history) and keep the sole active state at archive +`test/ArchitectureRefactor/ExecutionStateV2.json` with the append-only event log +`test/ArchitectureRefactor/EventLogV2.jsonl`. Worker reports are evidence, not +additional activity ledgers. Repository-required guidance stays in Git; plans, +evidence and scientific run artifacts stay in the archive. Use the supported Orca +task/message/lifecycle workflow and respect each Dispatch's file ownership. + +The refactor commander and sole integrator is the user-appointed Claude Code +session `0537b216-df76-4292-bb73-949175abc111` (model `claude-opus-5-5`, effort +`max`, Orca terminal `term_a33ad446-8ee7-473b-b4b7-00aea210c562`), appointed by +the user on 2026-10-29 and bound to Run `run_b01db3902366` at consumer +generation 6. It replaced Codex session `01a180c3-f826-7873-8d0b-44b2e40899c4` +(Orca terminal `term_3c65f4db-0a9b-41c7-b337-956eff7204dd`), which served as +deputy until the user replaced it on 2026-11-01 with Claude Code session +`d6a3ed06-5f79-4890-bd0b-8ada951d06d6` (`claude-opus-5-5`, effort `max`, Orca +terminal `term_ac765e70-e569-4ac0-972a-b27b4dea9e35`). The deputy makes no Git +mutations, dispatches or state writes; it takes over only when the commander +has been unreachable for more than 2 hours. Execution is authorized. The runnable new-core 1D research +release has been delivered (research packages up to V8). The next delivery is +the user-selected engineering milestone (option A, 2026-10-29): one unified +layout/term/assembly layer serving steady, transient and AC analyses, a +one-command green test suite, full CI coverage, and the existing new-core +capabilities migrated onto it. Functionality not yet migrated stays explicitly +behind the legacy facade, and G9P remains the final endpoint. The commander +sets the product time-integration route deadline (proposed 2026-11-08). If IDA +is not qualified by then, a new-core adaptive BDF becomes the product default +and IDA becomes optional; final scientific gates are unchanged. +Then continue the remaining approved scope. Clearly distinguish implementation, +verification, and scientific qualification; legacy execution is not new-core completion. +Routine reversible implementation and sequencing decisions belong to the commander. +Use approximately 15-minute investigation checkpoints; after two checkpoints +without useful evidence or progress, change the assumption, scope, or method. +Ask the user only about changes to final scientific standards, core delivery +scope, added resource cost, or merging main. Since 2026-11-01 (user decision) +every commanded worker role runs `claude-opus-5-5` at effort `max` with full +permissions and network enabled; the earlier Codex worker sessions are closed +and their resume ids are kept in the execution state. Every +participant's actual model/effort/permissions are verified once per session start +from its own runtime record (Codex turn_context or Claude transcript); a requested +setting or UI label alone is insufficient. Scientific thresholds change only +prospectively after independent review and before the affected runs; user-facing +acceptance targets change only with explicit user approval; old failures are +never relabelled. R1 L2/L3 qualification is a research track decoupled from the +product release. ## Common Commands +### Root developer test command + +With the locked editable all-extras development environment active and `web/` +dependencies installed (`uv sync --frozen --all-extras` and `npm ci --prefix web`), +run from the SolarLab root: + +```bash +python scripts/test_all.py +``` + +This runs every ordinary **root pytest selection** in `.github/workflows/ci.yml` +on the active Python, with the matching `PYTEST_CI_JOB`. Each selection gets a +fresh process, including the isolated `scan_execution` and `run_client` groups; +BLAS uses one thread. The runner reads CI's discovery/isolation policy, keeps all +failures visible, continues through the remaining groups, prints one final +per-job/overall summary, and exits nonzero if any selection fails. It writes +JUnit reports and `summary.json` under `outputs/test_all/` (`--output-dir` overrides +that path). Existing reasoned skips and xfails (strict marks and conditional runtime xfails) remain visible in the totals. +The 768 MiB pool limit is unchanged; do not substitute a single root `pytest` +process, whose accumulated imports count toward the pools' process-family RSS. + +This local command uses the existing installation; CI still checks its Python +matrix, package installation modes, binding probe, lint/types and web test/build +steps. **legacy suite: not part of the green claim** — the separate +`perovskite-sim` suite is outside this command. Optional scheduled slow/coverage jobs retain +their own commands and scope. + +### Legacy commands + Run from **inside `perovskite-sim/`**, not from the SolarLab root: ```bash diff --git a/README.md b/README.md index ea7c1928..f1feba4a 100644 --- a/README.md +++ b/README.md @@ -47,6 +47,31 @@ Xuan-Yan Chen · Longhan Zhang · Zecheng Gan* · Chang Yan& ## Overview +**New-core development on `devel`:** the [1D research workflow](examples/research_1d/README.md) +runs configuration, a real Poisson/drift-diffusion assembly, the new steady +Newton solver, J–V, parameter sweeps and lossless result reading. It includes +an executable local recombination-model extension, direct solved Voc brackets, +and bounded steady J–V jobs through the shared process supervisor. The new core +also has explicit voltage/generation transients, saved-result HTTP/browser access, +and coupled positive, independent dual-ion and shared-site steady/time examples. +Ionic small-signal examples distinguish mobile and frozen responses about the same +saved operating state. A complete illuminated ionic J–V command reports sampled +photovoltaic metrics, and two separated blocking ion domains share one electronic +steady/transient/AC system. Explicit neutral bulk defects support unequal physical +DOS, and smooth CT velocity saturation is bound into DC and small-signal response. +Explicit coherent spectral optics also supplies control-volume generation and photon budgets. +The [2D research workflow](examples/research_2d/README.md) now assembles a connected +lateral/stack grid and solves the full coupled dark and illuminated steady system, +with explicit geometry, physical balances and saved-result reading. Its bounded +examples use fixed carrier reservoirs and zero-flux lateral boundaries. Neutral +grain regions mix SRH rates by their exact control-volume overlap. The uniform +steady workflow also runs in an owned child process, preserving complete results +and genuine failed attempts for solver-free reading from a local RunStore. +These are bounded working cases; mesh/time/voltage-grid +scientific acceptance and the remaining refactor are in progress. The broader application features +described below include the existing `perovskite_sim` engine and do not imply +that those capabilities have migrated to the new core. + **SolarLab** is a research-grade simulator for thin-film solar cells. The core is a one-dimensional **drift-diffusion + Poisson + mobile-ion** solver, with an experimental two-dimensional extension for lateral microstructure studies, backed by a **FastAPI** HTTP service and a **Vite / TypeScript / Plotly** single-page web application. It reproduces the main thin-film characterisation experiments from a single device definition, grouped into four families: @@ -168,7 +193,6 @@ SolarLab/ perovskite_sim/ Python models, physics, discretization, solvers, experiments, 2D, and screening backend/ FastAPI API and SSE job dispatch - frontend/ Vite/TypeScript/Plotly/GoldenLayout UI configs/ Three shipped research YAMLs tests/fixtures/configs/ Historical/test-only device definitions reproducibility/ Schema, benchmark matrix, hashes, baselines @@ -177,6 +201,7 @@ SolarLab/ tests/ Unit, integration, regression, validation notebooks/ Exploratory workflows pyproject.toml Core package and test dependencies + web/ Vite/TypeScript/Plotly/GoldenLayout UI scripts/ Repository support utilities docker-compose.yml Backend/frontend development stack CLAUDE.md Repository guidance and archive location @@ -222,8 +247,9 @@ The editable core package installs NumPy, SciPy, PyYAML, Matplotlib, and the sel ### 3. Install frontend dependencies ```bash -cd frontend +cd ../web npm ci +cd ../perovskite-sim ``` ### 4. Verify the install @@ -267,7 +293,7 @@ You should get JSON listing the shipped presets. In a second terminal: ```bash -cd perovskite-sim/frontend +cd web npm run dev ``` @@ -527,6 +553,18 @@ and reproduction commands live under the full interpretation is in the 2026-08-11 manual (distributed separately). +### Historical R1 failure evidence + +The V53 baseline at source `12869a4f90d6d08af2d24af902838d8a4d5c00c4` +saved 309 of the 3727 required rows, including the initial state. Its next +finite step, 309, failed the original nonlinear residual gate; the saved +prefix does not qualify the full 100 s window or admit the compensated run. +Step 183's earlier successful correction remains a separate regression. +The [bound 183/309 witness](tests/fixtures/refactor/R1FailureWitnessV1.json) +preserves both inputs and their original preparation/source identities. +The [saved-state diagnostic](scripts/benchmarks/diagnose_r1_saved_failure.py) +supports bounded reconstruction without restarting the trajectory. +

Registered c-Si QF J-V and C-V grid-ladder observations

diff --git a/docker-compose.yml b/docker-compose.yml index 6122909e..b9f02e90 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -23,12 +23,12 @@ services: frontend: build: context: . - dockerfile: perovskite-sim/frontend/Dockerfile + dockerfile: web/Dockerfile image: solarlab-frontend:dev environment: VITE_API_BASE: http://127.0.0.1:8002 volumes: - - ./perovskite-sim/frontend:/app + - ./web:/app - frontend_node_modules:/app/node_modules ports: - "5173:5173" diff --git a/examples/research_1d/README.md b/examples/research_1d/README.md new file mode 100644 index 00000000..0b718746 --- /dev/null +++ b/examples/research_1d/README.md @@ -0,0 +1,1233 @@ +# New-core 1D research example + +The baseline example runs ion-free, classical one-dimensional DC with the actual +new compiler and steady solver. The explicit device/catalog is `device.json`. +It supports Maxwell–Boltzmann carriers, fully ionized dopants, DOS-aware +transport, semiconductor work-function contacts, bulk lifetime SRH/radiative/ +Auger recombination and the compiler's bound generation profiles. Unsupported +configured physics is rejected; no legacy engine or fallback is used. + +This is a research workflow, not final scientific or release qualification. +Interface and broader defect extensions, hysteresis and 2D remain outside these +new-core examples. Coherent spectral/TMM optics has the bounded example below; +graded and incoherent optical extensions remain unsupported. Mesh and voltage-grid convergence +and the full registry release remain unqualified. Separate sections below describe bounded transient, +ionic and neutral-defect examples and their limits. DC voltage continuation is not a +time-dependent voltage scan. Every parameter point is resolved and compiled +cold; states and factorizations are not reused across parameter changes. + +## Environment and commands + +Run from the repository root. `pyproject.toml` and `uv.lock` provide the pinned +environment; with uv installed, recreate it using: + +```sh +uv sync --frozen --extra dev --python 3.13 +``` + +The delivery's existing environment is CPython **3.13.15**, NumPy **2.5.3**, +SciPy **1.18.1**, Pydantic **2.13.5**, and threadpoolctl **3.6.0**. The commands +below use that existing `.venv`. An independent fresh, offline wheel installation +of commit `d735482` ran the steady, sweep, reader and model-extension examples +outside checkout imports. Later source commit `67aabde` passed the enabled CI +jobs on Linux with CPython 3.11.16 and 3.13.15; those checks are separate from +the earlier installed artifact. +Each run saves the actual Python executable digest, installed dependency +versions, loaded numerical-library digests, thread settings, source-file +digests and lock/configuration digests. Uncommitted source bytes are included; +a repository HEAD label is not used as their substitute. + +```sh +export OMP_NUM_THREADS=1 OPENBLAS_NUM_THREADS=1 MKL_NUM_THREADS=1 +export VECLIB_MAXIMUM_THREADS=1 NUMEXPR_NUM_THREADS=1 BLIS_NUM_THREADS=1 + +# Start with the real dark equilibrium and illuminated DC example. +.venv/bin/python -B examples/research_1d/steady.py + +# Two electron-lifetime points, using the existing PreparedSweep runner. +.venv/bin/python -B examples/research_1d/jv_scan.py \ + --store "$HOME/.local/share/solarlab/research_1d/lifetime-demo" \ + --study-id lifetime --parameter tau_n --values "1 us" "2 us" + +# Independent read: loads only committed results, with no solver invocation. +.venv/bin/python -I -B examples/research_1d/read_results.py \ + --store "$HOME/.local/share/solarlab/research_1d/lifetime-demo" \ + --study-id lifetime +``` + +The store path must be fresh, local and outside cloud synchronization; it +contains the active SQLite/WAL and array artifacts. An existing store is +refused rather than overwritten. Choose another store for another calculation; +use the reader for existing results. `--include-arrays` includes decoded arrays +in the reader's JSON, and `read_study(Path(...), "lifetime")` returns NumPy arrays +and all retained attempts to Python callers. The original failed attempts are +not hidden by a later attempt. This example has no automatic retries, crash +resume or process-supervisor integration. + +The default uses 12 mean intervals per layer (37 nodes for this device), 51 +voltage samples from 0 to 1.25 V at 0.025 V steps, and unchanged +`SteadyOptions` thresholds. +This default is a fast workflow example. Independent refinement found its Jsc +differs from the 145-node result by 1.27e-4 relative, above the final 1e-4 target. +The 73/145-node difference is 1.10e-5. The original 289-node cold start failed; +the density initialization correction now passes that start under the same +physical gates, while continuum-error qualification remains unresolved. +The default interpolated Voc underestimates the base device's directly +bracketed result by about 1.289 mV, above the final 0.1 mV target. +The independent base-device probe found opposite output-current signs at +1.20 and 1.225 V. The saved sweep must demonstrate its own bracket; changing +parameters can move Voc outside this range. `--voltage-max` and +`--voltage-points` make grid changes explicit; the example bounds declarations +to eight parameter points and 101 voltage samples. Finer research grids require +their own convergence assessment. + +`tau_n` changes only the absorber electron lifetime; `tau_p` is retained. +Select `tau_p`, `mu_n` or `mu_p` with `--parameter` and supply explicit values +for mobility. Unqualified numeric lifetimes are seconds and mobilities are +m²/(V·s); quoted unit strings go through the existing configuration resolver. +Use `--layer` to choose a stable layer ID. No partner parameter is silently +changed. `--incident-power` supplies an explicit W/m² denominator; omitted +incident power leaves efficiency null rather than assuming a solar spectrum. + +## Saved state and interpretation + +The existing `run_prepared_steady_sweep` calls `compile_device_1d` and +`run_steady_jv` for each point. Its returned compiled identity is recorded +directly, without a second compilation. `publish_steady_jv` writes eight +lossless arrays, Newton/initialization evidence and result metadata; the reader +uses `read_steady_jv` plus the exact attempt/terminal bindings and original +numerical-array digests. Array roles, units, grid shapes and artifact integrity +are checked before exposing values. + +| Array or metric | Units / interpretation | +| --- | --- | +| `nodes_m` | m; spatial nodes | +| `voltage_V` | V; requested steady operating points | +| `current_density_A_m2` | A/m²; every interior face | +| `contact_current_density_A_m2` | A/m²; exterior left/right contacts | +| `output_current_A_m2` | A/m²; `-voltage_polarity * left_face_current` | +| `potential_V` | V; one node vector per voltage | +| `electron_density_m3`, `hole_density_m3` | m⁻³; one node vector per voltage | +| Jsc, Voc, maximum power | A/m², V, W/m² | +| Fill factor, efficiency | fractions, not percentages | + +`succeeded` means the completed curve was persisted after the production +solver's gates; it is not final scientific acceptance. Metrics are +piecewise-linear grid estimates. A missing Voc bracket stays null, together +with the limitation reason, and is reported as `metrics_status=unavailable`. +No failed point, missing bracket or absent irradiance is converted to zero. +The CLI returns 2 for failed/incomplete points or unavailable metrics; its JSON +distinguishes these states. All scientific-qualification flags remain false. + +The recorded 2026-10-28 run completed both default curves in 3.91 s on the +environment above. These are grid estimates for this device, not reference +acceptance thresholds: + +| Absorber electron lifetime | Jsc (A/m²) | Voc (V) | Maximum power (W/m²) | Fill factor | +| --- | ---: | ---: | ---: | ---: | +| 1 µs | 144.588496 | 1.214658 | 149.510782 | 0.851304 | +| 2 µs | 144.588881 | 1.235411 | 151.290044 | 0.846962 | + +An earlier 0.05 V grid ending at 1.3 V exhausted the unchanged iteration +budget; its two failed attempts were retained separately. No solver threshold +was relaxed to obtain the default result. + +RunStore attempts represent publication of the returned calculation outcomes. +The actual whole-sweep calculation start/end and elapsed time are separate +metadata; publication claim time is not presented as the solve start. +Research-scoped H_input binds the supplied point and resolved/default/resource +identities, H_physics binds its actual compiled result and generation scale, +and H_execution binds protocol, controls, source and runtime identities. +Failed curves explicitly have no completed compiled-result binding. These +identities are not presented as the pending formal registry-release contract. + +## Direct open-circuit voltage + +For a `compiled` device and the actual `curve` returned by `run_steady_jv`, +refine its solved current bracket with the new-core equations: + +```python +from solarlab.experiments.jv.operating_points import solve_direct_voc + +voc = solve_direct_voc(compiled, curve, voltage_tolerance_V=1e-6) +print(voc.voltage_V, voc.interval_V, voc.output_current_A_m2) +``` + +The reported voltage belongs to a solved state. The returned interval is at +most the requested width; the endpoint estimate uses the full width as its +voltage uncertainty control. This replaces the interpolation estimate for Voc +only. It does not certify mesh error, FF, PCE or an exactly zero numerical +current. Failed refinement attempts and accepted endpoints remain available +in the result or error. The API requires a unique actual current bracket and +retains the curve's solver controls. + +## Explicit solver controls and process execution + +`SteadyOptions()` retains the historical `historical_max_row_v1` stopping +policy. An independently reviewed internal alternative is explicit: + +```python +from solarlab.solvers.nonlinear.steady_1d import SteadyOptions + +options = SteadyOptions(convergence_policy="poisson_contact_balance_v1") +curve = run_steady_jv(compiled, voltages, options=options) +``` + +The alternative keeps every Poisson and fixed-contact limit and applies one +joint absolute carrier-balance budget. It preserves the residual weights, +Newton merit, work budgets and independent physical gates. Saved results name +the selected policy, and direct Voc checks that policy and recomputes the +physical gates. This internal stopping rule does not qualify mesh accuracy or +change final Jsc, Voc, FF, PCE or hysteresis acceptance targets. + +The actual process worker is available in `solarlab.experiments.jv.worker` +through `SteadyJVProtocol`, `prepare_steady_jv_job`, +`steady_jv_worker_binding` and `read_steady_jv_job`. It requires an explicit +prepared device and committed implementation-source binding, then submits to +the existing shared `ProcessSupervisor`. The supervisor owns the attempt, +publishes the eight arrays and execution manifest, and commits one terminal +outcome. Invalid requests and cancellation use the existing runtime controls; +readback never starts a solver. The in-process sweep commands above retain +their documented execution mode. + +For a runnable two-point study on that shared process runtime: + +```sh +.venv/bin/python -B examples/research_1d/process_sweep.py run \ + --build-source-commit "$(git rev-parse HEAD)" \ + --store "$HOME/.local/share/solarlab/research_1d/process-demo" \ + --work "$HOME/.local/share/solarlab/research_1d/process-demo-work" +``` + +This uses electron lifetimes of 1 and 2 µs, each with 37 nodes and voltages +0, 0.05 and 0.1 V. Each point is prepared cold and owns a distinct execution +manifest. The existing supervisor admits one point at a time by default; +failed, cancelled and previous attempts remain readable. The JSON prints the +persisted `declaration` path. Read it later without running a solver: + +```sh +.venv/bin/python -B examples/research_1d/process_sweep.py read \ + --store "$HOME/.local/share/solarlab/research_1d/process-demo" \ + --declaration /absolute/path/from/the/run-output.json +``` + +The Python APIs are `prepare_steady_sweep_jobs`, `SteadySweepJobs.submit` and +`read_steady_sweep_jobs` in `solarlab.sweeps.steady_worker`. The short example +does not bracket Voc; its missing metrics stay null. These process checks +verify execution and result integrity, not mesh convergence. + +## Local HTTP service + +The installed `steady_jv` adapter now uses the same new-core worker through +`/jobs`, `/experiments`, the stored-result endpoints and reconnectable SSE. +Install the server dependencies and start the explicit example from the +repository root, using fresh local store/work directories: + +```sh +uv sync --frozen --extra dev --extra server --python 3.13 +.venv/bin/python -B examples/research_1d/service.py \ + --build-source-commit "$(git rev-parse HEAD)" \ + --store "$HOME/.local/share/solarlab/research_1d/http-demo" \ + --work "$HOME/.local/share/solarlab/research_1d/http-demo-work" \ + --port 8000 +``` + +The example listens on `127.0.0.1` and installs the explicit `research_1d` +device. `--build-source-commit` identifies actual Git source bytes; the worker +checks them against its installation. +In another terminal, submit the demonstrated short three-point calculation: + +```python +import json +from urllib.request import Request, urlopen + +base = "http://127.0.0.1:8000" +with urlopen(base + "/experiments") as response: + headers = { + "X-Solarlab-Registry": response.getheader("X-Solarlab-Registry"), + "X-Solarlab-Job-Schema": response.getheader("X-Solarlab-Job-Schema"), + "Content-Type": "application/json", + } +job = { + "schema_version": "solarlab.job-submission.v1", + "run_id": "my-steady-run", "experiment_id": "steady_jv", + "version": 1, "engine": "solarlab", + "input": { + "device_id": "research_1d", "voltage_V": [0.0, 0.05, 0.1], + "intervals_per_layer": 12, "generation_scale": 1.0, + "incident_power_W_m2": None, + }, + "limits": { + "wall_seconds": 45.0, "rss_bytes": 1610612736, + "output_bytes": 100663296, "accepted_steps": None, "calls": None, + }, +} +request = Request(base + "/jobs", data=json.dumps(job).encode(), headers=headers) +with urlopen(request) as response: + accepted = json.load(response) +print(accepted) +``` + +A 202 response means the job was accepted. Follow its `events_url`, or poll +`/runs/{run_id}/attempts/{attempt_id}`, until the actual terminal outcome. +`result_url` becomes readable after that outcome; each returned artifact has +its own `content_url`. The arrays are NPY data suitable for +`numpy.load(..., allow_pickle=False)`. Reconnecting SSE with the last event's +sequence in `Last-Event-ID` resumes after that event. Repeating an identical +submission with the same run ID returns the same attempt. + +This short protocol does not bracket Voc: its result retains +`open_circuit_not_bracketed`. Use the direct Python research workflow above +for the documented full sweep and direct Voc refinement. Trusted application +code can install additional prepared devices using `SteadyPreparationContext`; +HTTP chooses a registered device and explicit numerical protocol. + +## Browser research entry + +With the service above listening on port 8000, start the frontend in another +terminal: + +```sh +cd web +npm ci --no-audit --no-fund +npm run dev -- --host 127.0.0.1 --port 5173 --strictPort +``` + +Open `http://127.0.0.1:5173/?view=steady-jv`. Select an installed device, choose +the voltage samples and generation scale, then click **Run steady DC**. The +default three-point protocol is the short calculation above. The page follows +the actual worker, reads eight committed arrays, and plots J–V, current density, +potential and carrier densities. Select a voltage to inspect its spatial fields. +Voc, fill factor and efficiency remain **Unknown** when unavailable. + +**Cancel this attempt** targets the displayed calculation; its final state is +confirmed by the stored terminal event. **Reconnect / refresh run** resumes +reading the same attempt after a connection failure. Run identifiers and raw +events are under **Run diagnostics**. This first entry keeps its selected run +in page memory; preserve its identifier before reloading or closing the page. +Stored results remain available through the service readers. + +Vite proxies `/steady-service/` to port 8000 and strips that prefix; `/api` +continues to serve the existing workspace. A deployed static build needs an +equivalent same-origin reverse proxy. This entry exposes steady DC only; the +Python frequency-domain example below is separate. An actual browser run +verified the four Plotly views and spatial selection against the real service; +this does not establish scientific qualification. + +## Small-signal response + +A separate new-core frequency-domain example linearizes a revalidated DC state: + +```sh +.venv/bin/python -B -m examples.research_1d.impedance +``` + +It runs this device at 1 V DC and requests 0, 1 and 1000 Hz. Carrier contact +channels may be `fixed_reservoir`, finite-rate `robin`, or selective combinations +with a blocking channel, within the solver's checked numerical envelope. +A separate 37-node Robin case was +verified at 0, 1, 1000 and 1e6 Hz, including both-terminal DC derivatives and +the contact-cell displacement contribution. The same DC Jacobian and carrier +storage derivatives supply a complex sparse solve. Returned arrays include +potential, electric field, carrier-density perturbations, conduction and +displacement currents, and both terminal currents. + +Phasors use `exp(+i*omega*t)`. The default 1 V phasor is a derivative +normalization, not a one-volt finite-amplitude experiment. Admittance density +is in S/m² and impedance-area product in ohm·m²; multiply the former by device +area, or divide the latter by area, for the corresponding total port quantity. +The result retains linear-residual and all-face Maxwell-current diagnostics. +It records the current source and supplied controls used to revalidate the DC +state; it does not reconstruct an unrecorded original DC execution history. +Frequency/mesh convergence and full scientific AC qualification remain open. + +The selective extension has verified a positive-polarity device with electron +exchange only on the right and hole exchange only on the left at 1 V DC, +including both-terminal DC derivatives. Some reversed-polarity and mixed-contact +cases still fail the unchanged Maxwell-current gate, including a mixed +negative-polarity case at 0.95 V. These failures return no accepted response; +general selective-contact robustness remains open. A carrier blocked at both +ends with a requested zero frequency is explicitly outside the validated scope. +Generation and recombination can change that carrier's inventory, so this +boundary does not assume its inventory is universally conserved. + +## Fixed-bias generation transient + +Run the conservative backward-Euler example with the same thread controls: + +```sh +.venv/bin/python -B -m examples.research_1d.transient \ + --output "$HOME/.local/share/solarlab/research_1d/transient.json" --refine +``` + +The output path must be new. This solves the 37-node device at 0 V under +generation scale 1, then applies the declared ramp +`g(t) = 1 + 0.01 * (t / 400 ns)²`. The optional refinement runs 4, 8 and 16 +explicit steps with right-endpoint generation values. Every accepted step +solves the difference of physical carrier inventories, evaluated with `expm1` +to avoid subtracting nearly equal densities. It retains algebraic Poisson and +contact equations, and reports both conduction and displacement current. + +`TransientProtocol`, `TransientOptions` and `solve_transient` in +`solarlab.experiments.transient` expose the same workflow. Controls and the +accepted initial DC state are explicit. This example selects the independently +reviewed `poisson_contact_balance_v1` policy with unchanged Poisson, contact +and aggregate carrier budgets. There are no hidden substeps or retries. + +The JSON retains accepted states, the first failed attempt, physical inventory +changes, raw current and residual diagnostics, and charge-subtraction roundoff. +The command exits nonzero if its requested calculation is incomplete. +Independent checks accepted all 28 example steps; successive final inventory +differences decreased by about a factor of 2.07. This is bounded first-order +evidence, not a time-error bound or mesh qualification. Physical-certificate +status remains `not_evaluated`. Abrupt dark turn-on and very small time steps +have retained Newton/roundoff failures. Ions and qualified hysteresis remain +outside this transient implementation. + +An explicit time-dependent voltage example is also available: + +```sh +.venv/bin/python -B -m examples.research_1d.transient_voltage \ + --output "$HOME/.local/share/solarlab/research_1d/transient-voltage.json" --refine +``` + +It uses constant generation scale 1 and +`V(t) = 0.1 + 0.001 * (t / 400 ns)²`, with 4, 8 and 16 declared steps. +Reference changes are included in each physical inventory difference. A recorded +harmonic potential seed imposes the new electrode voltage while preserving the +old carrier populations; Newton solves the full coupled endpoint equations. +Independent checks found approximately first-order inventory and terminal-current +refinement. Reported displacement currents are interval values `ΔD / Δt`, not +instantaneous pulse peaks. This is a driven time history; steady J–V and final +hysteresis qualification remain separate. The fixed-bias branch retains its +previous accepted states and diagnostics exactly in the archived comparison. + +## Persisting a transient + +`solarlab.experiments.transient_results` provides +`run_transient_for_publication`, `publish_transient_result` and +`read_transient_result`. The computation wrapper records its actual inputs, +selected source-file hashes and runtime during the solve. It does not infer the +history of a supplied compiled device or initial DC state. Publishing a result +without that capture explicitly records its provenance as `not_recorded`. + +For an existing compiled device, accepted initial state, protocol and controls: + +```python +from solarlab.experiments.transient_results import ( + run_transient_for_publication, publish_transient_result, +) +from solarlab.io.run_store import RunStore + +captured = run_transient_for_publication( + compiled, initial, protocol, options=options, initial_options=initial_options, +) +with RunStore(store_path) as store: + row = store.enqueue("light-ramp", opaque_identity=captured.identity, + input_metadata={"kind": "generation transient"}) + token = store.claim("light-ramp", expected_attempt_id=row["current_attempt_id"], + expected_generation=row["generation"], owner_id="research") + result = publish_transient_result(store, token, captured.result, + nodes_m=captured.nodes_m, capture=captured) + store.complete(token, state="succeeded" if captured.result.completed else "failed", + result=result, artifacts=result["artifact_ids"]) +``` + +Read the committed result in another process: + +```sh +.venv/bin/python -B examples/research_1d/read_transient.py \ + --store /absolute/local/store --run-id light-ramp +``` + +The reader checks fourteen physical arrays plus raw diagnostics and the result +manifest against the committed attempt. Requested times and the accepted prefix +remain separate; an interrupted calculation retains its first failed attempt. +Step currents align with `accepted_times_s[1:]`; no initial displacement current +is invented. A successful read means data were read and verified, including a +readable partial history. It does not change the numerical outcome or the +`not_evaluated` physical-certificate status. + +## Transient process jobs + +Run the same ion-free time solver in an owned child process with persisted +results and explicit resource limits: + +```sh +.venv/bin/python -B examples/research_1d/process_transient.py run \ + --store outputs/transient_jobs/store --work outputs/transient_jobs/work \ + --build-source-commit "$(git rev-parse HEAD)" +.venv/bin/python -B examples/research_1d/process_transient.py read \ + --store outputs/transient_jobs/store --run-id transient-completed +``` + +The child compiles the device, solves its initial DC state and advances two +37-node time steps. The example binds immutable committed core sources and any +separately captured active adapters; it also records the actual current checkout +HEAD. Readback uses only stored data. A supplied source archive can be selected +with `--source-archive`, keeping its commit separate from the current checkout. + +Add `--failure-case --run-id transient-failed-prefix` to the run command to +exercise a deliberately small Newton budget. The failed calculation retains its +accepted prefix and first failed attempt, with one failed terminal and sixteen +artifacts. Run and read exit with status 2 for that numerical failure, even when +readback succeeds. Cancellation retains one cancelled terminal and does not +claim a returned history. Exceptions and resource overrides retain their own +failure meaning. This process interface does not change scientific acceptance +or the transient result's `not_evaluated` status. + +## Coupled ionic steady state + +The bounded single-ion compiler and steady solver solve potential, electrons, +holes and one positive finite-site ion population together. The runnable example +uses one electrical layer, blocking ion endpoints and a fixed opposite +background, with a conserved physical ion inventory: + +```sh +.venv/bin/python -B -m examples.research_1d.ionic_steady \ + --output outputs/ionic_steady.json +``` + +The independently checked 13-node dark case at 2 mV converged in three Newton +iterations and changed the ion profile by about 3.91%, with zero reported +relative inventory error. The solver checks every original ion balance, +including the row replaced by the inventory constraint, and the electronic +physical controls. The ion balance and face-flux controls are internal numerical +limits; they do not establish scientific qualification. + +A three-layer HTL/absorber/ETL example confines the mobile population to an +explicitly declared absorber domain: + +```sh +.venv/bin/python -B -m examples.research_1d.ionic_steady --multilayer \ + --output outputs/ionic_multilayer_steady.json +``` + +This case uses 37 electrical nodes and 13 ion nodes, including both absorber +interface planes. The 124-coordinate cold solve at 2 mV converged in 12 Newton +iterations with zero reported relative inventory error; it solves all four +fields together. Ion charge and storage use physical domain cell volumes, +projected onto the electrical grid. Interface weights come from the actual +geometry. Ion flux is zero outside the declared domain and at its blocking +endpoints. + +The compiler records original ionic inputs and the explicit electronic +component projection. Multilayer callers must supply `ion_domain_layer` and +`ion_domain_endpoints=("blocking", "blocking")`; undeclared additional ion domains +are refused. Zero diffusivity retains population, background and storage in +assembly; the connected-domain steady solver rejects partially disconnected +diffusivity. Independent and shared-site dual-ion examples are described below. +The result records `qualification: false`; final mesh, time and scientific +acceptance remain open. + +## Driven ionic histories + +The physical backward-Euler driver advances potential, carriers and the mobile +ion population together, including the confined absorber domain. Generate an +explicit steady initial artifact, then run a four-step voltage ramp: + +```sh +.venv/bin/python -B -m examples.research_1d.ionic_steady --multilayer \ + --output outputs/ionic_initial.json +ionic_initial_sha=$(.venv/bin/python -c 'import hashlib,pathlib; print(hashlib.sha256(pathlib.Path("outputs/ionic_initial.json").read_bytes()).hexdigest())') +.venv/bin/python -B -m examples.research_1d.ionic_transient \ + --initial-result outputs/ionic_initial.json --initial-sha256 "$ionic_initial_sha" \ + --output outputs/ionic_history.json +``` + +Add `--refine` to compare 4, 8 and 16 time steps from the same initial artifact. +The example drives 2 to 4 mV over one second in the dark on the 37-electrical / +13-ion-node device. The recorded fine history changed the ion distribution by +about 0.29%, with zero reported total-inventory drift. Successive final ion-cell +inventory differences decreased by a factor of about 1.85. This demonstrates a +bounded working history and decreasing timestep differences; it does not +establish continuum accuracy or a qualified hysteresis experiment. + +The loader checks the initial file hash, accepted steady evidence, controls and +physical fields, then rechecks initial admission without another steady solve. +Every dynamic ion equation remains present; steady inventory constraints and +zero-flux conditions are not used as transient acceptance criteria. Physical +population differences include stable finite-site increments and voltage-reference +motion. Each step records the full conduction/displacement current and charge +accounting. A failed run preserves its accepted prefix and first failed attempt, +returns exit status 2, and retains `physical_certificate_status: not_evaluated`. + +## Independent positive and negative ions + +Run a cold coupled dual-ion steady state and four driven time steps: + +```sh +.venv/bin/python -B -m examples.research_1d.dual_ionic \ + --output-directory outputs/dual_ionic +``` + +Use a new output directory: existing evidence is not overwritten. The example +has 37 electrical nodes, 13 nodes per ion species and 137 unknowns. Both species +occupy independent finite sites in the same blocking absorber domain. Their +inventories are constrained separately at steady state; the physical time +equations retain all particle balances and the signed ionic current. + +The independently reproduced dark 2 mV steady state converged in 10 Newton +iterations. All four 2-to-4 mV steps over one second converged, with positive +and negative populations changing by about 0.148% and 0.0782%. Per-species +conservation and full conduction/displacement-current checks passed. This is +a bounded working case. The shared-site model has a separate example below; +additional ion domains, mesh/time qualification and hysteresis qualification +remain open. + +## Shared-site positive and negative ions + +Run the original diffusion-only shared-site model with a common capacity: + +```sh +.venv/bin/python -B -m examples.research_1d.shared_site_ionic \ + --output-directory outputs/shared_site_ionic +``` + +This uses the same 37/13-node blocking absorber with reference densities +`1e24` and `6e23` m⁻³ and a common capacity of `2e24` m⁻³. Both populations +share the vacancy fraction. Their coupled density derivatives, physical +increments and inventory constraints are included in the solve. Accepted +states are not clipped or renormalized. + +The dark 2 mV cold solve converged in 12 Newton iterations, followed by all +four requested steps to 4 mV over one second. The largest summed occupancy +was about 98.05%; both populations moved by about 0.36% during the history. +The output preserves each inventory, vacancy fraction, current balance and +failure evidence. Shared sites require equal capacities and the original +diffusion-only model; other shared-site combinations are refused. This +bounded example does not establish mesh/time or final scientific qualification. + +## Immobile ionic populations + +An exactly zero diffusivity preserves the declared population in every ion +cell. The target comes from the compiled `P0` or `P0_neg` profile; changing a +Newton initial guess does not change that physical target. Shared-site +coordinates may move while the corresponding physical population stays fixed. + +```sh +.venv/bin/python -B -m examples.research_1d.immobile_ions \ + --kind shared_mixed --output-directory outputs/immobile_shared +``` + +The bounded mixed example has 13 electrical nodes and five ion nodes. It +solves a dark 2 mV steady state, four driven time steps, and 0/1 Hz responses. +`--kind single` exercises the single-species fully immobile case. These two +cases have actual run evidence; the `shared_full` variant has assembly checks +but is outside the recorded end-to-end witnesses. Partly disconnected +zero/positive-diffusivity networks remain unsupported. No artificial mobility, +clipping, or redistribution is used to obtain a steady state. Final scientific +qualification remains open. + +## Equilibrium ionic J-V + +Use the accepted shared-site steady file from the earlier example: + +```sh +JV_INITIAL=outputs/shared_site_ionic/Steady.json +JV_INITIAL_SHA=$(shasum -a 256 "$JV_INITIAL" | cut -d ' ' -f 1) +.venv/bin/python -B -m examples.research_1d.ionic_jv solve \ + --kind shared --voltages .001 .002 .003 --generation-scale 0 \ + --initial-policy saved_accepted --initial-result "$JV_INITIAL" \ + --initial-sha256 "$JV_INITIAL_SHA" --output outputs/ionic_jv.json +JV_RESULT_SHA=$(shasum -a 256 outputs/ionic_jv.json | cut -d ' ' -f 1) +.venv/bin/python -B -m examples.research_1d.ionic_jv read \ + --result outputs/ionic_jv.json --sha256 "$JV_RESULT_SHA" +``` + +Each point solves the coupled steady equations and preserves each mobile +species' inventory. The preceding accepted state is only a numerical guess; +the first failed point stops the curve and retains its candidate and checks. +This is an equilibrium curve, with no scan-rate or hysteresis interpretation. +The three dark points above are verified. A direct change from the saved dark +state to generation scale 1 at 2 mV stagnated and remains a recorded failure. +The explicit density-initialization route below provides an illuminated state. +Missing short/open circuit brackets leave the corresponding photovoltaic +metrics unavailable. +The current driver requires positive diffusivity in one blocking domain. + +## Illuminated ionic initialization + +Use the accepted dark `Steady.json` from the shared-site example. Select the +direct policy explicitly to prepare positive carrier densities once and then +solve the original coupled ionic equations: + +```sh +LIGHT_INITIAL=outputs/shared_site_ionic/Steady.json +LIGHT_INITIAL_SHA=$(shasum -a 256 "$LIGHT_INITIAL" | cut -d ' ' -f 1) +.venv/bin/python -B -m examples.research_1d.ionic_initialization solve \ + --policy direct_density_seed_v1 \ + --initial-result "$LIGHT_INITIAL" --initial-sha256 "$LIGHT_INITIAL_SHA" \ + --voltage .002 --generation-scale 1 --output outputs/ionic_initialization.json \ + --accepted-steady-output outputs/illuminated_ionic_steady.json +LIGHT_STEADY_SHA=$(shasum -a 256 outputs/illuminated_ionic_steady.json | cut -d ' ' -f 1) +.venv/bin/python -B -m examples.research_1d.ionic_jv solve \ + --kind shared --voltages .001 .002 .003 --generation-scale 1 \ + --initial-policy saved_accepted --initial-result outputs/illuminated_ionic_steady.json \ + --initial-sha256 "$LIGHT_STEADY_SHA" --output outputs/illuminated_ionic_jv.json +INIT_SHA=$(shasum -a 256 outputs/ionic_initialization.json | cut -d ' ' -f 1) +.venv/bin/python -B -m examples.research_1d.ionic_initialization read \ + --result outputs/ionic_initialization.json --sha256 "$INIT_SHA" +``` + +Preparation preserves the initial potential and ionic coordinates. Both ionic +species remain active in the final coupled solve and at each subsequent J–V +point. All original coupled acceptance checks remain in force; a positive +density seed alone is never an accepted solution. Saved seed reuse is optional +and requires both `--density-seed-result` and `--density-seed-sha256`. + +The bounded shared-site witness has 37 electrical nodes and 13 nodes per ionic +species. Its three illuminated points pass the original gates, but do not +bracket short or open circuit and do not qualify photovoltaic metrics, mesh +accuracy or hysteresis. The earlier direct dark-to-light stagnation and the +failed auxiliary-electronic strategy remain recorded failures. The successful +direct policy does not run that auxiliary solver. The helper checks wall time +between stages; use a process supervisor when a hard deadline is required. + +## Illuminated ionic J–V and sampled photovoltaic metrics + +Use the accepted illuminated state produced above to run the shared-site +device from 0 to 1.25 V in uniform 25 mV steps: + +```sh +LIGHT_STEADY_SHA=$(shasum -a 256 outputs/illuminated_ionic_steady.json | cut -d ' ' -f 1) +.venv/bin/python -B -m examples.research_1d.ionic_pv solve \ + --initial-result outputs/illuminated_ionic_steady.json \ + --initial-sha256 "$LIGHT_STEADY_SHA" --output outputs/ionic_pv.json +PV_SHA=$(shasum -a 256 outputs/ionic_pv.json | cut -d ' ' -f 1) +.venv/bin/python -B -m examples.research_1d.ionic_pv read \ + --result outputs/ionic_pv.json --sha256 "$PV_SHA" +``` + +The verified 51-point command completed in about 15 seconds on the development +machine. Every point solves the full coupled system with the same physical +checks; reading the result runs no solver. The saved data retain the first +failure and accepted prefix if a calculation stops early. + +The bounded example gives sampled Jsc ≈ 144.384 A/m², interpolated Voc ≈ +1.21462 V, maximum power ≈ 147.104 W/m² and FF ≈ 0.838815. These use +piecewise-linear voltage interpolation; mesh and voltage-grid accuracy remain +unqualified. PCE is unavailable because incident irradiance is undeclared. +This steady curve has no scan-rate or hysteresis interpretation. Historical +`coarse-probe`, `continue` and `tail` commands retain the earlier failed coarse +attempt and its successful continuations. + +## Ionic J–V process jobs + +Run the illuminated shared-site curve through the shared process supervisor and +persist its fields, currents, inventories, metrics and initialization evidence: + +```sh +.venv/bin/python -B -m examples.research_1d.process_ionic_jv run \ + --build-source-commit "$(git rev-parse HEAD)" \ + --store outputs/ionic_pv_store --work outputs/ionic_pv_work \ + --run-id illuminated-jv +.venv/bin/python -B -m examples.research_1d.process_ionic_jv read \ + --store outputs/ionic_pv_store --run-id illuminated-jv +``` + +Use a checkout matching the committed source supplied to the worker. The +default initialization records one dark and one illuminated coupled solve, +followed by the 51 curve points. Reading submits no job and imports no solver. +The verified process result contains 15 artifacts; the supervisor alone +publishes them and records the terminal state. + +To reuse its exact accepted illuminated initial state: + +```sh +.venv/bin/python -B -m examples.research_1d.process_ionic_jv export-initial \ + --store outputs/ionic_pv_store --run-id illuminated-jv \ + --output outputs/ionic_pv_initial.json +``` + +Pass that file and its printed digest with `run --initial-result ... +--initial-sha256 ...`. Adding `--failure-case` deliberately limits the curve +to one second. A failed run retains its accepted prefix and first failed point, +and its read command returns exit 2. The actual failure witness retained nine +points and failed at 0.225 V; timing can change the prefix on another machine. +Saved reuse performs no initialization solve after admission. The initial +serialization failure remains a separate failed attempt with no curve data. +PCE stays unavailable without declared irradiance, and scientific qualification +remains pending. The HTTP and browser entries below expose this process route. + +## Ionic J–V HTTP jobs + +Start the installed illuminated shared-site service from a committed checkout: + +```sh +.venv/bin/python -B -m examples.research_1d.ionic_jv_service \ + --build-source-commit "$(git rev-parse HEAD)" \ + --current-repository-head "$(git rev-parse HEAD)" \ + --store outputs/ionic_jv_http_store --work outputs/ionic_jv_http_work --port 8000 +``` + +Use the submission and catalog-header code in **Local HTTP service**, with: + +```python +from examples.research_1d.ionic_jv_service import example_submission + +job = example_submission("my-ionic-jv") +``` + +The installed protocol uses 51 voltages from 0 to 1.25 V, generation scale one, +12 intervals per layer, two mobile shared-site species and a blocking absorber +domain. The catalog advertises the exact initial-state recipe and numerical +controls. The new core performs the dark initial solve, coupled illuminated +initialization and actual steady curve through the existing process supervisor. + +The service preserves the core request bytes and binds the installed model, +source and maintenance context to the stored manifest. GET result/artifact +endpoints and SSE expose completed curves and genuine failed prefixes. Reading +an existing attempt never submits a new calculation. The accepted HTTP witness +contains 51 samples, 15 artifacts and 23 logical arrays; the independent reader +also verified the original failed process prefix. Missing irradiance leaves PCE +unavailable, and sampled/interpolated PV metrics remain scientifically unqualified. +Other grids, protocols, ionic domains and CT transport require separate verified +admission; they are outside this fixed HTTP entry. + +## Ionic J–V browser entry + +With the ionic J–V HTTP service above running on port 8000, build and preview +the frontend in a second terminal: + +```sh +cd web +npm ci --no-audit --no-fund +npm run build +node scripts/ionic-jv-browser.mjs --service http://127.0.0.1:8000 --port 5173 +``` + +Open `http://127.0.0.1:5173/?view=ionic-jv` and select **Run ionic J–V**. +The installed device and full protocol are shown before submission. One click +starts one process job; a lost connection does not automatically resubmit it. +The fixed curve budget is 25 s and the process ceiling is 30 s. Completion on +another machine is not guaranteed within that budget; any accepted prefix and +the first failure remain available. + +Eight plots display the accepted curve and spatial fields. **Open a stored +attempt** and the saved readback link retrieve the exact store/run/attempt; +reconnect and reload only read existing data. Failed curves show accepted, +failed and unattempted voltage points separately, with unavailable PV metrics +left empty. The reviewed browser completed the 51-point protocol and reproduced +all 23 logical arrays and 15 artifacts, including an original nine-point failed +prefix. Scientific qualification remains pending. Stop the service and preview +with Ctrl-C when finished; closing the page only closes its reader. + +## Multiple blocking ion domains + +The additive two-domain compiler and equation assembly can be exercised with: + +```sh +.venv/bin/python -B -m examples.research_1d.multiple_ionic_domains +``` + +It prepares two explicitly separated blocking layer domains on one electronic +mesh, with an ion-free gap. The actual residual, sparse Jacobian and physical +storage retain each domain's species, inventories and original reference +populations. Signed ionic charge enters the common Poisson equation; ionic +particle current is exactly zero at blocking endpoints and through the gap. + +Assembly checks cover unequal domain grids, positive and independent dual +populations, shared finite sites and immobile populations, including shared +storage derivatives. Existing one-domain behavior is preserved. This example +evaluates a trial state. For a coupled dark steady solve, run: + +```sh +.venv/bin/python -B -m examples.research_1d.multiple_ionic_steady \ + --output outputs/multiple_ionic_steady.json +``` + +This solves one common electronic system and both blocking ion domains, with +each mobile species constrained to its own domain's reference inventory. The saved +result includes the original balance rows, physical current, source identities +and acceptance checks. The bounded 13-electrical-node, 4+4-ion-node example at +2 mV passed independent review. Connected positive-diffusivity species and +entirely immobile species are supported. Each immobile cell preserves its +physical reference population, including shared-site cross derivatives. +To evolve that same accepted dark state with both mobile domains, run: + +```sh +MULTI_SHA=$(shasum -a 256 outputs/multiple_ionic_steady.json | cut -d ' ' -f 1) +.venv/bin/python -B -m examples.research_1d.multiple_ionic_transient solve \ + --initial-result outputs/multiple_ionic_steady.json --initial-sha256 "$MULTI_SHA" \ + --output outputs/multiple_ionic_transient.json +MULTI_TIME_SHA=$(shasum -a 256 outputs/multiple_ionic_transient.json | cut -d ' ' -f 1) +.venv/bin/python -B -m examples.research_1d.multiple_ionic_transient read \ + --result outputs/multiple_ionic_transient.json --sha256 "$MULTI_TIME_SHA" +``` + +The four backward-Euler steps ramp the bias from 2 to 4 mV over one second. +The transient retains every physical storage and balance row, separate domain +inventories and signed conduction/displacement currents, including contact +storage. It reads the accepted initial state without another cold solve. A +failed step preserves the accepted prefix and returns exit 2. This bounded +example does not establish time or mesh convergence; +final scientific qualification remains pending. + +For a shared-site case with a mobile positive and immobile negative species in +the right domain, and both species mobile in the left domain: + +```sh +.venv/bin/python -B -m examples.research_1d.multiple_ionic_steady \ + --mixed-immobile --output outputs/multiple_ionic_d0_steady.json +D0_SHA=$(shasum -a 256 outputs/multiple_ionic_d0_steady.json | cut -d ' ' -f 1) +.venv/bin/python -B -m examples.research_1d.multiple_ionic_transient solve \ + --mixed-immobile --initial-result outputs/multiple_ionic_d0_steady.json \ + --initial-sha256 "$D0_SHA" --output outputs/multiple_ionic_d0_transient.json +``` + +The steady result and four-step history passed independent review under the +original controls. Immobile densities stay fixed within the recorded numerical +error while their shared-site coordinates can change as the partner moves. +The time solver retains the full physical storage rows and records those +changes separately; it does not freeze a coordinate or substitute steady rows. + +## Ionic small-signal response + +Use the accepted `Steady.json` from the shared-site example above. AC rechecks +that saved state and solves the coupled complex linear system without another +steady solve: + +```sh +AC_INITIAL=outputs/shared_site_ionic/Steady.json +AC_INITIAL_SHA=$(shasum -a 256 "$AC_INITIAL" | cut -d ' ' -f 1) +.venv/bin/python -B -m examples.research_1d.ionic_impedance solve \ + --kind shared --initial-result "$AC_INITIAL" --initial-sha256 "$AC_INITIAL_SHA" \ + --frequencies 0 .01 1 1000 --ion-mode mobile --output outputs/ionic_ac.json +AC_RESULT_SHA=$(shasum -a 256 outputs/ionic_ac.json | cut -d ' ' -f 1) +.venv/bin/python -B -m examples.research_1d.ionic_impedance read \ + --result outputs/ionic_ac.json --sha256 "$AC_RESULT_SHA" +``` + +Choose a new output path for each calculation. `--ion-mode frozen` holds both +ionic populations fixed at the same operating profile; it retains their DC +charge and reports zero ionic perturbation current. `--kind positive` and +`--kind independent` use the corresponding saved steady examples. + +Phasors use `exp(+i omega t)`. The voltage phasor is a linear normalization, +not a finite-amplitude drive. Outputs include complex admittance density +(S/m²), impedance-area product (Ω m²), species perturbations and all-face +conduction/displacement currents. Small solve coordinates and their known +voltage lift are retained separately to avoid losing small currents to +floating-point cancellation. Zero frequency enforces each mobile species' +inventory; finite frequencies retain the full storage matrix. + +The bounded examples cover fixed carrier reservoirs and one blocking ionic +domain. They retain the first failed frequency and leave later requested +frequencies unattempted. Result reading validates the saved bytes and does not +solve. These checks do not establish mesh convergence, general contact/domain +support, or final scientific qualification. + +## AC response with two blocking ion domains + +Use the accepted positive-domain steady result from **Multiple blocking ion +domains** as the operating state. The AC command checks its digest and physical +admission, then solves the coupled complex system without a new DC solve: + +```sh +MULTI_SHA=$(shasum -a 256 outputs/multiple_ionic_steady.json | cut -d ' ' -f 1) +.venv/bin/python -B -m examples.research_1d.multiple_ionic_impedance solve \ + --initial-result outputs/multiple_ionic_steady.json --initial-sha256 "$MULTI_SHA" \ + --frequencies 0 .01 1 1000 --output outputs/multiple_ionic_ac.json +MULTI_AC_SHA=$(shasum -a 256 outputs/multiple_ionic_ac.json | cut -d ' ' -f 1) +.venv/bin/python -B -m examples.research_1d.multiple_ionic_impedance read \ + --result outputs/multiple_ionic_ac.json --sha256 "$MULTI_AC_SHA" +``` + +The bounded example has 13 electrical nodes and four ion nodes in each of two +separated domains. Each domain preserves its own positive-species inventory; +shared electronic equations appear once. All 47 original rows and all 14 faces +are checked, including conduction and displacement current through ion-free +gaps. Phasors use `exp(+i omega t)`, with admittance density in S/m² and impedance +area product in Ω m². Fixed carrier reservoirs, constant carrier mobility and +connected positive ion diffusivity are required. Other contact, ion and field +transport variants are explicitly refused. The four-frequency example passed +the existing internal gates and independent saved-result review; mesh and final +scientific qualification remain pending. + +## Ionic transient process jobs + +From a committed checkout, run the shared-site example through the same process +supervisor and durable result store: + +```sh +.venv/bin/python -B -m examples.research_1d.process_ionic_transient run \ + --build-source-commit "$(git rev-parse HEAD)" \ + --store outputs/ionic_process_store --work outputs/ionic_process_work \ + --run-id shared-history +.venv/bin/python -B -m examples.research_1d.process_ionic_transient read \ + --store outputs/ionic_process_store --run-id shared-history +``` + +The child performs an actual coupled cold steady solve followed by four +2-to-4 mV time steps. Add `--failure-case` with a fresh store/work directory +to exercise the deliberately insufficient Newton budget: the failed run +retains its initial state, first accepted step and first failed driven step. +Its reader returns exit status 2 while preserving the available data. + +Readback exposes 26 logical arrays with explicit units, including both species, +cell inventories and full-face/terminal currents. They are stored in fixed +same-unit groups within the existing artifact limit. Independent reads compare +the original child and committed payloads without importing a solver. Queued +cancellation creates a cancelled terminal without a fabricated history. This +verified process case uses the existing positive-diffusivity shared-site model; +zero-diffusivity process jobs are not covered here. + +## Ionic transient HTTP jobs + +Start the explicitly installed dark ionic service from a committed checkout: + +```sh +.venv/bin/python -B -m examples.research_1d.ionic_transient_service \ + --build-source-commit "$(git rev-parse HEAD)" \ + --store outputs/ionic_http_store --work outputs/ionic_http_work --port 8000 +``` + +Use the submission and header-reading code in **Local HTTP service**, replacing +the `job` dictionary with: + +```python +from examples.research_1d.ionic_transient_service import example_submission + +job = example_submission("my-ionic-history") +``` + +The shared-site example performs a coupled cold steady solve followed by four +time steps from 2 to 4 mV. Passing `failure=True` deliberately limits Newton +work; the failed job retains the accepted samples at 0 and 0.25 s and records +the failed step at 0.5 s. Completed and failed histories use the same existing +job, result, artifact and SSE endpoints. Readback exposes 26 logical arrays +within 16 terminal artifacts and never invokes a solver. + +The installed catalog declares positive, independent dual-ion and shared-site +devices. The actual HTTP witness covers the shared-site model with positive +diffusivities in one blocking absorber domain. Its request bytes, fixed +numerical controls, selected device, catalog, source and result bindings are +checked. Illuminated or zero-diffusivity HTTP jobs and multiple domains remain +outside this entry's verified scope. + +## Ionic transient browser entry + +With the ionic HTTP service above on port 8000, start the frontend as described +in **Browser research entry**, then open +`http://127.0.0.1:5173/?view=ionic-transient`. Choose an installed device, enter +the explicit samples and separate initial-steady/time-step work budgets, then +select **Run ionic transient**. + +The page displays electrical and ionic grids, species densities and +inventories, and conduction, displacement and total currents. Requested samples +remain visible alongside accepted, failed and unattempted outcomes. Initial +states have no invented time-step currents; photovoltaic metrics and final +scientific qualification remain unavailable for this dark transient workflow. + +The bookmark and **Open stored attempt** form reopen the exact store/run/attempt. +Refresh and reconnect only read its saved data. The actual browser witness +covers the shared-site positive-diffusivity model, one completed submission, +and reopening both completed and failed-prefix HTTP histories. The opt-in +GET-only live test takes an explicit endpoint and saved attempt IDs; ordinary +frontend tests do not submit these numerical jobs. + +## Transient HTTP jobs + +Start the co-installed steady and ion-free transient service: + +```sh +.venv/bin/python -B -m examples.research_1d.transient_service \ + --build-source-commit "$(git rev-parse HEAD)" \ + --store "$HOME/.local/share/solarlab/research_1d/transient-http" \ + --work "$HOME/.local/share/solarlab/research_1d/transient-http-work" \ + --port 8000 +``` + +Use the submission and header-reading code in **Local HTTP service**, replacing +the `job` dictionary with: + +```python +from examples.research_1d.transient_service import example_submission + +job = example_submission("my-transient-run") +``` + +The completed example has samples at 0, 100 and 200 ns. Passing `failure=True` +demonstrates a deliberately insufficient Newton budget: the terminal state is +`failed`, with its actual accepted prefix available through the same result and +artifact endpoints. It is not reported as a completed history. Real HTTP tests +cover both outcomes, co-installed steady jobs, SSE replay and queued +cancellation. Stored results can be read without invoking a solver. The HTTP +adapter supports ion-free histories. The separate ionic HTTP service above +uses its own explicit installed catalog. + +## Transient browser entry + +With the co-installed transient service above on port 8000, start the frontend +as described in **Browser research entry**, then open +`http://127.0.0.1:5173/?view=transient`. Select an installed device and enter the +explicit time, voltage and generation samples before choosing **Run transient**. +The page follows the actual job and plots the accepted temporal and spatial +fields, including conduction, displacement and total terminal currents. + +The stored requested protocol labels accepted, failed and unattempted steps. +A failed history displays its actual prefix; missing currents at the initial +time remain unavailable. Temporal axes use the accepted history's time domain. +The displayed bookmark and **Open stored attempt** form reopen the exact saved +attempt after a reload. Reconnect and readback do not submit another calculation. +Cancellation targets the displayed attempt and is confirmed from its terminal +state. This entry retains the same ion-free and scientific-qualification limits +as the transient HTTP adapter. + +## Resume the recorded fine-mesh Voc case + +The specialized recovery example accepts the original `Refinement384.json` +record and `Refinement384States.npz` state bundle, checks their exact digests, +and re-admits the saved 1153-node state under the current source and original +physical gates: + +```sh +.venv/bin/python -B -m examples.research_1d.voc_resume \ + --input-record /path/to/Refinement384.json \ + --input-states /path/to/Refinement384States.npz \ + --output outputs/voc_resume.json +.venv/bin/python -B -m examples.research_1d.voc_resume \ + --read outputs/voc_resume.json +``` + +These are external recorded research inputs, not bundled example fixtures. +This entry is specific to that recorded device and requires matching compiled +identity; it is not a general importer for other saved states. It resumes at +1.125 V using 12.5 mV steps, then performs actual midpoint solves to the existing +1 µV voltage-width target. Failed candidates are never used as seeds, and the +original prefix and failure are preserved. The completed recovery used 23 +accepted calls and produced a strict sign bracket of +1.2159446716308593–1.2159454345703125 V. The coarse interpolated estimate is +recorded separately. A resolved discrete root does not establish continuum +error, mesh convergence or final scientific qualification. + +## Explicit neutral bulk defects + +Use the existing validated defect declaration to replace lifetime SRH with one +or more neutral single-level species on the owning layer's nodes: + +```sh +.venv/bin/python -B -m examples.research_1d.neutral_defects \ + --output outputs/neutral_defects.json +.venv/bin/python -B -m examples.research_1d.neutral_defects \ + --unequal-dos --output outputs/neutral_defects_unequal_dos.json +``` + +The default example adds a neutral absorber level to `device.json` and runs a +37-node illuminated steady calculation at 2 mV. `--config ` accepts +a complete declaration with its own explicit neutral inventory. The saved +result includes the declaration, species binding, individual rates and exact +partials, final fields, original residual and solver outcome. + +The explicit inventory replaces lifetime SRH on its owned nodes; radiative and +Auger terms and other layers remain active. Neutral species add no trap charge. +Declared energies remain literal distances above the valence-band edge. +The binding converts the historical DEF1 reference populations using the +physical conduction and valence densities of states, including unequal DOS; +equal-DOS nodes retain their original arithmetic. `--unequal-dos` doubles the +absorber valence DOS and adjusts the declared intrinsic populations consistently. +Its output includes the physical DOS, band gap and thermal voltage for inspection. +Charged, distributed, multivalent and metastable defects remain unsupported. +Both bounded examples passed the original numerical gates; broader material, +mesh and final scientific qualification remain pending. + +## Field-dependent carrier transport + +Smooth Caughey–Thomas velocity saturation is bound to the actual DC +Scharfetter–Gummel fluxes and full Newton Jacobian: + +```sh +.venv/bin/python -B -m examples.research_1d.field_transport \ + --output outputs/field_transport.json +.venv/bin/python -B -m examples.research_1d.field_transport \ + --read outputs/field_transport.json +``` + +The default 37-node illuminated example enables absorber velocity saturation +and solves at 2 mV. `--config ` accepts an explicit device with +nonzero saturation velocities. The result includes the effective face +diffusivities, field derivatives, original residual and accepted solver state. +The saved-result reader performs no new solve. + +This slice uses the full electrostatic face field, requires `ct_beta_n` or +`ct_beta_p` greater than one on each active carrier face, and keeps Poole–Frenkel +enhancement off. CT-off devices retain the original constant-diffusivity path. +Both AC entry points include the field dependence in the current and voltage +drive tangents. Reuse the accepted DC result for an actual small-signal sweep: + +```sh +CT_INITIAL_SHA=$(shasum -a 256 outputs/field_transport.json | cut -d ' ' -f 1) +.venv/bin/python -B -m examples.research_1d.field_transport_ac solve \ + --kind ion-free --initial-result outputs/field_transport.json \ + --initial-sha256 "$CT_INITIAL_SHA" --frequencies 0 1 1000 \ + --output outputs/field_transport_ac.json +CT_AC_SHA=$(shasum -a 256 outputs/field_transport_ac.json | cut -d ' ' -f 1) +.venv/bin/python -B -m examples.research_1d.field_transport_ac read \ + --result outputs/field_transport_ac.json --sha256 "$CT_AC_SHA" +``` + +The AC command validates the same-device initial state and performs no new DC +solve. The reader checks and decodes the saved response without recomputation. +Admittance density is in S/m² and current response is normalized per volt. +Independent native witnesses cover this ion-free case and a shared-site ionic +device with fixed-reservoir carrier contacts at 0, 0.01, 1 and 1000 Hz. Ionic +initials must be separately accepted on their actual CT device; an accepted +constant-diffusivity state is not an accepted CT state. Positive-only and +independent-site branches have targeted algebra checks but no separate native +CT witness here. Mesh and final scientific qualification remain pending. + +## Supplied spectral optics + +An explicit photon spectrum and optical-index resources can drive the new +compiler through the existing coherent transfer-matrix kernels: + +```sh +.venv/bin/python -B -m examples.research_1d.optical_generation \ + --output outputs/optical_generation.json +.venv/bin/python -B -m examples.research_1d.optical_generation \ + --read outputs/optical_generation.json +``` + +The example supplies seven wavelengths from 400 to 700 nm and a constant n-k +table for the absorber. These are illustrative data, not AM1.5 illumination or +calibrated material measurements. The declared spectrum is absolute photon flux +per metre of wavelength; scalar `Phi` does not rescale it. Each optical layer +requires an explicit n-k resource or constant `n_optical` with its absorption +coefficient. The first binding uses coherent front normal incidence and +unit-index surrounding media; it rejects graded/incoherent layers and combined +spectral/fixed-generation declarations. + +Generation uses absorbed photons in each physical electrical control volume. +The output records the complete supplied resources, reflected/transmitted and +electrically/parasitically absorbed photons, generation profile, physical fields +and solver checks. The 37-node illuminated 2 mV witness passed the original +numerical gates, and photon accounting closes under its reviewed roundoff check. +Spectral/mesh convergence, calibrated optical data and final scientific +qualification remain unestablished. The reader displays the saved outcome +without another optical or electrical solve. + +## Adding a local model + +`steady.py` contains `SaturatingRecombination`, an executable extension example: + +```sh +.venv/bin/python -B examples/research_1d/steady.py --additional-recombination +``` + +It implements `evaluate(n, p) -> RecombinationRate` with a node-wise net pair +rate and analytic density derivatives, and binds coefficients through a stable +`model_id`. The prepared device is compiled with +`compile_device_1d(prepared, additional_recombination=model)`; solver and +equation assembly stay unchanged. The rate is +`B * (n*p - ni²) / (1 + (n+p)/n_sat)`. The flag is an example of the extension +interface, not a scientifically validated additional material mechanism, and +is not silently enabled in `jv_scan.py`. + +Focused verification runs one genuine dual-point study, shares its saved +output across readback checks, checks a fresh reader with solver imports +forbidden, preserves failure/history cases and runs the extension command: + +```sh +.venv/bin/python -B -m pytest -q tests/integration/test_research_1d_workflow.py +``` diff --git a/examples/research_1d/device.json b/examples/research_1d/device.json new file mode 100644 index 00000000..355cf2db --- /dev/null +++ b/examples/research_1d/device.json @@ -0,0 +1,247 @@ +{ + "default_catalog": { + "schema": "solarlab.default-catalog.v1", + "material": { + "eps_r": 25.0, + "mu_n": 0.0019340863535916802, + "mu_p": 0.0019340863535916802, + "D_ion": 0.0, + "P_lim": 1e+28, + "P0": 0.0, + "ni": 363572901223.5858, + "tau_n": 1e-06, + "tau_p": 1e-06, + "n1": 363572901223.5858, + "p1": 363572901223.5858, + "B_rad": 1e-18, + "C_n": 1e-42, + "C_p": 1e-42, + "alpha": 2000000.0, + "N_A": 0.0, + "N_D": 0.0, + "chi": 3.9, + "Eg": 1.6, + "A_star_n": 0.0, + "A_star_p": 0.0, + "v_th": 100000.0, + "D_ion_neg": 0.0, + "P0_neg": 0.0, + "P_lim_neg": 1e+28, + "Nc300": 1e+25, + "Nv300": 1e+25, + "carrier_statistics": "maxwell_boltzmann", + "dopant_ionization_model": "fully_ionized", + "donor_binding_energy_eV": null, + "acceptor_binding_energy_eV": null, + "donor_degeneracy": 2.0, + "acceptor_degeneracy": 4.0, + "band_gap_narrowing_model": "off", + "bgn_reference_energy_eV": 0.0, + "bgn_reference_density_m3": 1e+24, + "bgn_log_shape": 0.5, + "bgn_conduction_band_fraction": 0.5, + "mu_T_gamma": -1.5, + "E_a_ion": 0.0, + "B_rad_T_gamma": 0.0, + "varshni_alpha": 0.0, + "varshni_beta": 0.0, + "trap_N_t_interface": null, + "trap_N_t_bulk": null, + "trap_decay_length": null, + "trap_profile_shape": "exponential", + "trap_edge": "both", + "optical_material": null, + "n_optical": null, + "incoherent": false, + "v_sat_n": 0.0, + "v_sat_p": 0.0, + "ct_beta_n": 1.0, + "ct_beta_p": 1.0, + "pf_gamma_n": 0.0, + "pf_gamma_p": 0.0, + "Eg_back": null, + "chi_back": null, + "grading_profile": "linear", + "grading_direction": "front_to_back", + "grading_bowing": 0.0, + "grading_char_length": null, + "grading_N_mult": 1, + "N_A_bulk": null, + "N_D_bulk": null, + "doping_profile_shape": null, + "doping_decay_length": null, + "doping_edge": "front" + }, + "device": { + "phi_left": 0.0, + "V_bi": 0.0, + "built_in_potential_mode": "semiconductor_work_function", + "work_function_left_eV": null, + "work_function_right_eV": null, + "Phi": 2e+21, + "T": 300.0, + "mode": "fast", + "interface_plane_projection": false, + "dos_band_potentials": true, + "te_physical_norm": false, + "ion_steric_diffusion_only": false, + "ion_steric_shared_site": false, + "flat_band_contacts": false, + "flat_band_metal_contacts": false, + "contact_phi_B_eV": 0.0, + "interface_two_sided": false, + "interface_shared_occupancy": false, + "interface_plane_closure": false, + "interface_plane_generation": false, + "het_recomb_despike": 0.0, + "band_grading": false, + "graded_optics": false, + "interface_tunneling": false, + "tunnel_mass_eff": 0.2, + "jv_solver_policy": "general", + "interface_charge_closure": "off", + "interface_charge_rebaseline_acknowledged": false + }, + "scaps": { + "D_ion": 0.0, + "P_lim": 1e+28, + "P0": 0.0, + "B_rad": 1e-18, + "C_n": 1e-42, + "C_p": 1e-42, + "alpha": 2000000.0, + "tau_n": 1e-06, + "tau_p": 1e-06 + }, + "interface": { + "calibration_factor": 1.0, + "iface_state_calibration_factor": 1.0 + }, + "constants": { + "Q": 1.602176634e-19, + "K_B": 1.380649e-23, + "T": 300.0 + }, + "contacts": { + "S_n_left": null, + "S_p_left": null, + "S_n_right": null, + "S_p_right": null + }, + "structural": { + "grain_boundary_layer_role": "absorber", + "tandem_light_direction": "top_first", + "junction_incoherent": false + }, + "defect_model": "effective_lifetime", + "defect_schema_version": null, + "defect_degeneracy": 1.0, + "distribution_width_convention": "not_applicable" + }, + "device": { + "schema_version": "solarlab.device-preparation.v1", + "id": "classical_pin", + "name": "Classical p-i-n research device", + "source_format": "canonical", + "settings": { + "built_in_potential_mode": "semiconductor_work_function", + "dos_band_potentials": true, + "T": 300.0, + "Phi": 2e+21 + }, + "layers": [ + { + "id": "htl", + "name": "HTL", + "role": "HTL", + "thickness": 8e-08, + "parameters": { + "chi": 3.6, + "Eg": 1.8, + "Nc300": 2e+25, + "Nv300": 3e+25, + "eps_r": 3.0, + "N_D": 0.0, + "N_A": 1e+24, + "ni": 18609772721.447, + "n1": 18609772721.447, + "p1": 18609772721.447, + "mu_n": 3.8681727071833605e-05, + "mu_p": 3.8681727071833605e-05, + "alpha": 0.0, + "D_ion": 0.0, + "D_ion_neg": 0.0, + "P0": 0.0, + "P0_neg": 0.0 + } + }, + { + "id": "absorber", + "name": "absorber", + "role": "absorber", + "thickness": 3e-07, + "parameters": { + "chi": 3.9, + "Eg": 1.6, + "Nc300": 1e+25, + "Nv300": 1e+25, + "eps_r": 25.0, + "N_D": 0.0, + "N_A": 0.0, + "ni": 363572901223.5858, + "n1": 363572901223.5858, + "p1": 363572901223.5858, + "mu_n": 0.0019340863535916802, + "mu_p": 0.0019340863535916802, + "alpha": 2000000.0, + "D_ion": 0.0, + "D_ion_neg": 0.0, + "P0": 0.0, + "P0_neg": 0.0 + } + }, + { + "id": "etl", + "name": "ETL", + "role": "ETL", + "thickness": 8e-08, + "parameters": { + "chi": 4.0, + "Eg": 2.0, + "Nc300": 4e+25, + "Nv300": 2e+25, + "eps_r": 9.0, + "N_D": 1e+24, + "N_A": 0.0, + "ni": 449039324.31171566, + "n1": 449039324.31171566, + "p1": 449039324.31171566, + "mu_n": 3.8681727071833605e-05, + "mu_p": 3.8681727071833605e-05, + "alpha": 0.0, + "D_ion": 0.0, + "D_ion_neg": 0.0, + "P0": 0.0, + "P0_neg": 0.0 + } + } + ], + "electrical_grid": [ + { + "layer": "htl", + "interval_weight": 16.0, + "alpha": 3.0 + }, + { + "layer": "absorber", + "interval_weight": 40.0, + "alpha": 3.0 + }, + { + "layer": "etl", + "interval_weight": 16.0, + "alpha": 3.0 + } + ] + } +} diff --git a/examples/research_1d/dual_ionic.py b/examples/research_1d/dual_ionic.py new file mode 100644 index 00000000..43e980bf --- /dev/null +++ b/examples/research_1d/dual_ionic.py @@ -0,0 +1,127 @@ +"""One cold 37/13 dual-ion steady solve and a four-step dark voltage ramp. + +Both populations have independent finite sites and declared blocking-domain +inventories. The driven result is a dynamic history; no hysteresis or physical +qualification is claimed. Existing evidence is never overwritten or retried. +""" + +from __future__ import annotations + +import argparse +import hashlib +import json +import math +from pathlib import Path + +import numpy as np + +from examples.research_1d.ionic_multilayer import prepare_confined_dual_ion_device +from examples.research_1d.ionic_steady import controls as steady_controls +from examples.research_1d.ionic_transient import controls as time_controls, protocol +from examples.research_1d.transient import json_value +from solarlab.device.compile_ionic_1d import compile_ionic_device_1d +from solarlab.equations.ionic_1d import CompiledIonicDevice1D +from solarlab.experiments.ionic_transient import ( + IonicTransientResult, load_ionic_steady_initial, solve_ionic_transient, +) +from solarlab.solvers.nonlinear.ionic_1d import IonicSteadyResult, solve_ionic_steady_state + + +def compile_case() -> CompiledIonicDevice1D: + return compile_ionic_device_1d(prepare_confined_dual_ion_device(diffusion_only=True), + intervals_per_layer=(12, 12, 12), ion_domain_layer="absorber", + ion_domain_endpoints=("blocking", "blocking")) + + +def write_record(path: Path, value: object) -> str: + """A complete write with exclusive creation preserves any first failure.""" + raw = (json.dumps(json_value(value), indent=2, allow_nan=False) + "\n").encode() + with path.open("xb") as output: + output.write(raw) + return hashlib.sha256(raw).hexdigest() + + +def history_summary(device: CompiledIonicDevice1D, result: IonicTransientResult) -> dict[str, object]: + measured = [attempt for attempt in result.attempts if attempt.accounting is not None] + species_info = {} + for species in device.ion_species_names: + density_name = f"{species}_ion_density_m3" + initial = getattr(result.states[0], density_name) + inventories = [state.domain_inventories_m2[species] for state in result.states] + accepted = [a for a in measured if a.accepted] + species_info[species] = { + "max_relative_redistribution": max(float(np.max(abs(getattr(state, density_name) / initial - 1))) + for state in result.states), + "inventories_m2": inventories, + "max_inventory_drift_m2": max(abs(value - inventories[0]) for value in inventories), + "integrated_BE_residual_l1_m2": math.fsum((a.end_s - a.start_s) + * math.fsum(abs(a.accounting["ion_species"][species]["ion_balance_m2_s"]).tolist()) for a in accepted), + "integrated_inventory_readback_l1_m2": math.fsum((a.end_s - a.start_s) + * math.fsum(abs(a.accounting["ion_species"][species]["ion_inventory_readback_error_m2_s"]).tolist()) + for a in accepted), + "max_BE_residual_l1_m2_s": max((math.fsum(abs(a.accounting["ion_species"][species]["ion_balance_m2_s"]).tolist()) + for a in measured), default=None), + "max_motion_flux_m2_s": max((float(np.max(abs(a.accounting["ion_species"][species]["ion_domain_fluxes_m2_s"]))) + for a in measured), default=None), + } + return { + "completed": result.completed, "accepted_steps": len(result.states) - 1, + "accepted_times_s": result.accepted_times_s, "ion_species": species_info, + "maxwell_spread_A_m2": max((a.accounting["maxwell_spread_A_m2"] for a in measured), default=None), + "maxwell_identity_error_A_m2": max((float(np.max(abs(a.accounting["maxwell_identity_error_A_m2"]))) + for a in measured), default=None), + "newton_iterations": [None if a.newton is None else a.newton.iteration_count for a in result.attempts], + "evaluation_counts": result.evaluation_counts, "wall_s": result.wall_s, + "first_failure": None if not result.failed_attempts else { + "start_s": result.failed_attempts[0].start_s, "end_s": result.failed_attempts[0].end_s, + "termination": result.failed_attempts[0].termination, "error": result.failed_attempts[0].error, + }, + "physical_certificate_status": result.physical_certificate_status, + } + + +def run_wave(output_directory: Path) -> tuple[CompiledIonicDevice1D, IonicSteadyResult, IonicTransientResult | None]: + """Run each requested operation once and persist the steady result before time.""" + output_directory.mkdir(parents=True, exist_ok=True) + steady_path, history_path = output_directory / "Steady.json", output_directory / "History.json" + if steady_path.exists() or history_path.exists(): + raise FileExistsError("preserve existing attempts; choose an unused output directory") + device = compile_case() + options = steady_controls(device.ion_node_count) + steady = solve_ionic_steady_state(device, voltage_V=0.002, generation_scale=0.0, options=options) + summary = { + "accepted": steady.accepted, "termination": steady.termination, + "compiled_identity": device.identity, "electrical_nodes": device.node_count, + "ion_nodes_per_species": device.ion_node_count, "ion_species": device.ion_species_names, + "state_size": device.state_size, "voltage_V": 0.002, "generation_scale": 0.0, + "initialization": "compiler cold state; no prior solve", "checks": steady.checks, + "newton_iterations": None if steady.newton is None else steady.newton.iteration_count, + "evaluation_counts": steady.evaluation_counts, "wall_s": steady.wall_s, + "error": steady.error, "qualification": False, + } + if steady.state is not None: + summary["ion_relative_redistribution"] = {species: float(np.max(abs( + getattr(steady.state, f"{species}_ion_density_m3") / getattr(device, f"{species}_ion_reference_m3") - 1))) + for species in device.ion_species_names} + digest = write_record(steady_path, {"summary": summary, "result": steady}) + print(json.dumps(json_value(summary), indent=2, allow_nan=False), flush=True) + if not steady.accepted: + return device, steady, None + initial = load_ionic_steady_initial(device, steady_path, digest, controls=options) + history = solve_ionic_transient(device, initial, protocol(4), options=time_controls()) + observed = history_summary(device, history) + write_record(history_path, {"summary": observed, "result": history}) + print(json.dumps(json_value(observed), indent=2, allow_nan=False), flush=True) + return device, steady, history + + +def main() -> int: + parser = argparse.ArgumentParser(description=__doc__) + parser.add_argument("--output-directory", type=Path, required=True) + args = parser.parse_args() + _, steady, history = run_wave(args.output_directory) + return 0 if steady.accepted and history is not None and history.completed else 2 + + +if __name__ == "__main__": + raise SystemExit(main()) diff --git a/examples/research_1d/field_transport.py b/examples/research_1d/field_transport.py new file mode 100644 index 00000000..22d40e39 --- /dev/null +++ b/examples/research_1d/field_transport.py @@ -0,0 +1,127 @@ +"""One illuminated new-core steady solve with smooth CT velocity saturation. + +Run from the repository root: + python -m examples.research_1d.field_transport --output field_transport.json + python -m examples.research_1d.field_transport --read field_transport.json + +The default adds absorber-only CT to the existing ion-free device.json. An +explicit --config supplies its own complete declaration. PF is unsupported. +This bounded research example does not establish scientific qualification. +""" + +from __future__ import annotations + +import argparse +from dataclasses import asdict +import hashlib +import json +from pathlib import Path +import time +from typing import Any + +import numpy as np + +from examples.research_1d.steady import load_device +from examples.research_1d.transient import json_value +from solarlab.config.resolve_device import resolve_device +from solarlab.device.compile_1d import compile_device_1d +from solarlab.device.inputs import DeviceInput +from solarlab.device.resolved import PreparedDevice +from solarlab.equations.dc_1d import DC1DProblem +from solarlab.materials.source import SourceDocument +from solarlab.solvers.nonlinear.steady_1d import ( + SteadyOptions, SteadyStateError, solve_steady_state, +) + +VOLTAGE_V = 0.002 +GENERATION_SCALE = 1.0 +INTERVALS = (12, 12, 12) +SCHEMA = "solarlab.field_transport_1d.research.v1" + + +def prepare_case(config: Path | None = None) -> PreparedDevice: + if config is not None: + return load_device(config) + base = load_device() + declaration = base.to_input().editing_data() + absorber = next(layer for layer in declaration["layers"] if layer["id"] == "absorber") + absorber["parameters"].update(v_sat_n=1.0e4, v_sat_p=1.5e4, ct_beta_n=2.0, ct_beta_p=2.0) + raw = json.dumps(declaration, sort_keys=True, separators=(",", ":"), allow_nan=False).encode() + source = SourceDocument("research_1d.field_transport.declaration", raw) + return resolve_device(DeviceInput.model_validate(declaration), base.defaults, base.resources, + sources=(*base.sources, source)) + + +def read_result(path: Path) -> dict[str, Any]: + """Read the saved research result without importing a solver state.""" + value = json.loads(path.read_text()) + if not isinstance(value, dict) or value.get("schema") != SCHEMA: + raise ValueError("not a field-transport research result") + return value + + +def main() -> int: + parser = argparse.ArgumentParser(description=__doc__, formatter_class=argparse.RawDescriptionHelpFormatter) + parser.add_argument("--config", type=Path) + destination = parser.add_mutually_exclusive_group(required=True) + destination.add_argument("--output", type=Path) + destination.add_argument("--read", type=Path) + args = parser.parse_args() + if args.read is not None: + print(json.dumps(read_result(args.read)["summary"], indent=2), flush=True) + return 0 + if args.output.exists(): + raise FileExistsError("the output already exists; retain the original attempt") + prepared = prepare_case(args.config) + device = compile_device_1d(prepared, intervals_per_layer=INTERVALS) + model = device.field_transport + if model is None: + raise ValueError("this example requires nonzero configured CT saturation") + controls = SteadyOptions() + summary: dict[str, Any] = { + "node_count": device.node_count, "prepared_identity": prepared.content_sha256, + "compiled_identity": device.identity, "transport_identity": model.identity_sha256, + "source_documents": [{"id": source.id, "sha256": source.sha256} for source in prepared.sources], + "field_measure": model.field_measure, + "voltage_V": VOLTAGE_V, "generation_scale": GENERATION_SCALE, + "controls": asdict(controls), "physical_certificate_status": "not_evaluated", + "qualification": False, + } + payload: dict[str, Any] = {"schema": SCHEMA, "summary": summary, + "binding": asdict(model), "prepared_declaration": prepared.to_mapping()} + started = time.monotonic() + try: + result = solve_steady_state(device, voltage_V=VOLTAGE_V, + generation_scale=GENERATION_SCALE, options=controls) + except SteadyStateError as error: + summary.update(accepted=False, failure_stage=error.stage, error=str(error)) + payload["failed_newton"] = error.result + exit_code = 2 + else: + state = result.state + transport = model.evaluate(state.potential_V) + problem = DC1DProblem(device, VOLTAGE_V, GENERATION_SCALE) + summary.update(accepted=result.converged, + current_spread_A_m2=float(np.ptp(np.r_[result.current_density_A_m2, + result.contact_current_density_A_m2])), + output_current_A_m2=float(-device.voltage_polarity * result.contact_current_density_A_m2[0]), + minimum_electron_diffusivity_ratio=float(np.min(transport.electron_diffusivity_m2_s / + device.electron_diffusivity_faces_m2_s)), + minimum_hole_diffusivity_ratio=float(np.min(transport.hole_diffusivity_m2_s / + device.hole_diffusivity_faces_m2_s)), + maximum_abs_electron_dD_dE=float(np.max(np.abs(transport.electron_d_diffusivity_d_field))), + maximum_abs_hole_dD_dE=float(np.max(np.abs(transport.hole_d_diffusivity_d_field)))) + payload.update(result=result, transport=transport, original_residual=problem.residual(state.u)) + exit_code = 0 + summary["solve_wall_s"] = time.monotonic() - started + args.output.parent.mkdir(parents=True, exist_ok=True) + raw = (json.dumps(json_value(payload), indent=2, allow_nan=False) + "\n").encode() + with args.output.open("xb") as stream: + stream.write(raw) + print(json.dumps({"result_path": str(args.output.resolve()), + "result_sha256": hashlib.sha256(raw).hexdigest(), **summary}, indent=2), flush=True) + return exit_code + + +if __name__ == "__main__": + raise SystemExit(main()) diff --git a/examples/research_1d/field_transport_ac.py b/examples/research_1d/field_transport_ac.py new file mode 100644 index 00000000..52d72a29 --- /dev/null +++ b/examples/research_1d/field_transport_ac.py @@ -0,0 +1,196 @@ +"""Smooth CT AC from checksum-bound accepted DC, without a new DC solve. + + .venv/bin/python -m examples.research_1d.field_transport_ac solve \ + --kind ion-free --initial-result Steady.json --initial-sha256 SHA \ + --output AC.json + .venv/bin/python -m examples.research_1d.field_transport_ac read \ + --result AC.json --sha256 SHA + +Ionic inputs require an accepted result for prepare_ionic_case(kind), with +the original explicit blocking absorber domain. A 1 V phasor denotes a +derivative; the default small complex normalization tests the same tangent. +This research example does not establish scientific qualification. +""" + +from __future__ import annotations + +import argparse +from dataclasses import asdict +import hashlib +import json +from pathlib import Path +import time +from typing import Any + +import numpy as np + +from examples.research_1d.field_transport import INTERVALS, prepare_case +from examples.research_1d.ionic_multilayer import ( + prepare_confined_dual_ion_device, prepare_confined_ion_device, +) +from examples.research_1d.ionic_steady import controls as ionic_steady_controls +from examples.research_1d.shared_site_ionic_fixture import prepare_confined_shared_site_ion_device +from solarlab.config.resolve_device import resolve_device +from solarlab.device.compile_1d import compile_device_1d +from solarlab.device.compile_ionic_1d import compile_ionic_device_1d +from solarlab.device.inputs import DeviceInput +from solarlab.device.resolved import PreparedDevice +from solarlab.equations.dc_1d import CompiledDevice1D +from solarlab.experiments.impedance import SmallSignalResult1D, solve_impedance +from solarlab.experiments.ionic_impedance import ( + IonicImpedanceOptions, IonicImpedanceResult, _decoded, _encoded, solve_ionic_impedance, +) +from solarlab.experiments.ionic_transient import load_ionic_steady_initial +from solarlab.materials.source import SourceDocument +from solarlab.solvers.linear import FrequencyOptions +from solarlab.solvers.nonlinear.newton import IterationRecord, NewtonResult, Termination +from solarlab.solvers.nonlinear.problem import GateOutcome +from solarlab.solvers.nonlinear.steady_1d import SteadyOptions, SteadyState1D + +SCHEMA = "solarlab.field_transport_ac.research.v1" + + +def prepare_ionic_case(kind: str = "shared") -> PreparedDevice: + """Original ionic fixture and backgrounds plus absorber-only smooth CT.""" + factories = {"positive": prepare_confined_ion_device, + "independent": prepare_confined_dual_ion_device, + "shared": prepare_confined_shared_site_ion_device} + if kind not in factories: + raise ValueError("ionic kind must be positive, independent or shared") + base = factories[kind]() + declaration = base.to_input().editing_data() + absorber = next(layer for layer in declaration["layers"] if layer["id"] == "absorber") + absorber["parameters"].update(v_sat_n=1e4, v_sat_p=1.5e4, ct_beta_n=2.0, ct_beta_p=2.0) + raw = json.dumps(declaration, sort_keys=True, separators=(",", ":"), allow_nan=False).encode() + source = SourceDocument("research_1d.field_transport_ionic.declaration", raw) + return resolve_device(DeviceInput.model_validate(declaration), base.defaults, base.resources, + sources=(*base.sources, source)) + + +def _newton(saved: dict[str, Any]) -> NewtonResult: + return NewtonResult( + np.asarray(saved["state"], dtype=float), saved["accepted"], Termination(saved["termination"]), + saved["scaled_residual"], tuple(GateOutcome(**gate) for gate in saved["gates"]), + tuple(IterationRecord(**item) for item in saved["iterations"]), + saved["residual_evaluations"], saved["jacobian_evaluations"], saved["start_digest"], saved["message"], + ) + + +def load_ion_free_initial(path: Path, sha256: str) -> tuple[CompiledDevice1D, SteadyState1D, SteadyOptions]: + """Restore the full pinned CT example result; AC rechecks its physical gates.""" + raw = path.read_bytes() + if hashlib.sha256(raw).hexdigest() != sha256: + raise ValueError("initial DC artifact SHA-256 mismatch") + document = json.loads(raw) + if document.get("schema") != "solarlab.field_transport_1d.research.v1": + raise ValueError("initial must be an actual field-transport DC result") + summary, saved = document["summary"], document["result"] + if (summary["accepted"] is not True or saved["newton"]["accepted"] is not True + or saved["newton"]["termination"] != "converged"): + raise ValueError("initial must retain an accepted DC result") + prepared = prepare_case() + compiled = compile_device_1d(prepared, intervals_per_layer=INTERVALS) + transport = compiled.field_transport + if (transport is None or compiled.identity != summary["compiled_identity"] + or prepared.content_sha256 != summary["prepared_identity"] + or transport.identity_sha256 != summary["transport_identity"] + or prepared.to_mapping() != document["prepared_declaration"]): + raise ValueError("initial configuration/compiled/transport identity differs") + state = compiled.state(saved["state"]["u"], voltage_V=summary["voltage_V"]) + if (saved["state"]["device_sha256"] != compiled.identity + or saved["state"]["voltage_V"] != state.voltage_V + or saved["voltage_V"] != summary["voltage_V"] + or saved["generation_scale"] != summary["generation_scale"] + or any(not np.array_equal(saved["state"][name], getattr(state, name)) + for name in ("potential_V", "electron_density_m3", "hole_density_m3"))): + raise ValueError("initial DC physical fields or voltage disagree with coordinates") + point = SteadyState1D( + state, saved["current_density_A_m2"], saved["contact_current_density_A_m2"], + saved["voltage_V"], saved["generation_scale"], _newton(saved["newton"]), + tuple(_newton(item) for item in saved["preparation"]), + saved["density_basin_initializations"], tuple(saved["density_basin_stages"]), + ) + return compiled, point, SteadyOptions(**summary["controls"]) + + +def read_result(path: Path, sha256: str) -> dict[str, Any]: + """Checksum-checked saved reading; does not rebuild or solve a device.""" + raw = path.read_bytes() + if hashlib.sha256(raw).hexdigest() != sha256: + raise ValueError("CT AC artifact SHA-256 mismatch") + record = _decoded(json.loads(raw)) + if not isinstance(record, dict) or record.get("schema") != SCHEMA: + raise ValueError("not a CT AC research result") + return record + + +def run_response(kind: str, initial: Path, sha256: str, output: Path, + frequencies_Hz: tuple[float, ...], *, voltage_phasor_V: complex = 2e-6 + 1e-6j, + ion_mode: str = "mobile") -> dict[str, Any]: + """One native AC sweep; retain the first failure and never run a DC solve.""" + if output.exists(): + raise FileExistsError("preserve the original AC attempt; output already exists") + summary: dict[str, Any] = {"kind": kind, "requested_frequencies_Hz": frequencies_Hz, + "initial_path": str(initial.resolve()), "initial_sha256": sha256, + "voltage_phasor_V": voltage_phasor_V, "ion_mode": ion_mode, + "physical_certificate_status": "not_evaluated", "qualification": False} + record: dict[str, Any] = {"schema": SCHEMA, "summary": summary} + started = time.monotonic() + result: SmallSignalResult1D | IonicImpedanceResult + try: + if kind == "ion-free": + compiled, point, controls = load_ion_free_initial(initial, sha256) + summary.update(compiled_identity=compiled.identity, linear_controls=asdict(FrequencyOptions())) + result = solve_impedance(compiled, point, frequencies_Hz, + voltage_phasor_V=voltage_phasor_V, steady_options=controls, linear_options=FrequencyOptions()) + summary.update(accepted=True, maxwell_spread_A_m2_V=result.maxwell_spread_A_m2_V, + admittance_density_S_m2=result.admittance_density_S_m2) + else: + ionic = compile_ionic_device_1d(prepare_ionic_case(kind), intervals_per_layer=INTERVALS, + ion_domain_layer="absorber", ion_domain_endpoints=("blocking", "blocking")) + source = load_ionic_steady_initial(ionic, initial, sha256, + controls=ionic_steady_controls(ionic.ion_node_count)) + summary.update(compiled_identity=ionic.identity, linear_controls=asdict(IonicImpedanceOptions())) + result = solve_ionic_impedance(ionic, source, frequencies_Hz, + voltage_phasor_V=voltage_phasor_V, ion_mode=ion_mode, options=IonicImpedanceOptions()) + summary.update(accepted=result.completed, accepted_frequencies_Hz=[ + item.frequency_Hz for item in result.attempts if item.accepted], + failed_frequencies_Hz=[item.frequency_Hz for item in result.failed_attempts]) + record["result"] = result + except (ValueError, ArithmeticError, RuntimeError) as error: + summary.update(accepted=False, failure_type=type(error).__name__, error=str(error)) + summary["wall_s"] = time.monotonic() - started + output.parent.mkdir(parents=True, exist_ok=True) + raw = (json.dumps(_encoded(record), indent=2, allow_nan=False) + "\n").encode() + with output.open("xb") as stream: + stream.write(raw) + print(json.dumps(_encoded({"result_path": str(output.resolve()), + "result_sha256": hashlib.sha256(raw).hexdigest(), **summary}), indent=2), flush=True) + return record + + +def main() -> int: + parser = argparse.ArgumentParser(description=__doc__, formatter_class=argparse.RawDescriptionHelpFormatter) + commands = parser.add_subparsers(dest="command", required=True) + solve = commands.add_parser("solve") + solve.add_argument("--kind", choices=("ion-free", "positive", "independent", "shared"), required=True) + solve.add_argument("--initial-result", type=Path, required=True) + solve.add_argument("--initial-sha256", required=True) + solve.add_argument("--output", type=Path, required=True) + solve.add_argument("--frequencies", nargs="+", type=float, default=(0.0, 1.0, 1000.0)) + solve.add_argument("--voltage-phasor", type=complex, default=2e-6 + 1e-6j) + solve.add_argument("--ion-mode", choices=("mobile", "frozen"), default="mobile") + read = commands.add_parser("read") + read.add_argument("--result", type=Path, required=True) + read.add_argument("--sha256", required=True) + args = parser.parse_args() + if args.command == "read": + print(json.dumps(_encoded(read_result(args.result, args.sha256)["summary"]), indent=2)) + return 0 + record = run_response(args.kind, args.initial_result, args.initial_sha256, args.output, + tuple(args.frequencies), voltage_phasor_V=args.voltage_phasor, ion_mode=args.ion_mode) + return 0 if record["summary"]["accepted"] else 2 + + +if __name__ == "__main__": + raise SystemExit(main()) diff --git a/examples/research_1d/immobile_ions.py b/examples/research_1d/immobile_ions.py new file mode 100644 index 00000000..8af9fb36 --- /dev/null +++ b/examples/research_1d/immobile_ions.py @@ -0,0 +1,140 @@ +"""Explicit compiled-reference fixtures for the one-domain immobile-ion slice.""" + +from __future__ import annotations + +import argparse +from dataclasses import replace +import json +from pathlib import Path +import time +from typing import Any, cast + +import numpy as np + +from examples.research_1d.ionic_residual import prepare_single_ion_device +from examples.research_1d.shared_site_ionic_fixture import prepare_confined_shared_site_ion_device +from solarlab.config.resolve_device import resolve_device +from solarlab.device.inputs import DeviceInput +from solarlab.device.resolved import PreparedDevice + + +def prepare_immobile_ion_device(kind: str = "shared_mixed") -> PreparedDevice: + """Declared P0/P0_neg are physical targets; no warm-state argument is accepted.""" + if kind in {"shared_mixed", "shared_full"}: + return prepare_confined_shared_site_ion_device( + positive_diffusivity_m2_s=1e-16 if kind == "shared_mixed" else 0.0, + negative_diffusivity_m2_s=0.0, + ) + if kind == "single": + prepared = prepare_single_ion_device(diffusion_only=True) + data = prepared.to_input().editing_data() + data["layers"][0]["parameters"]["D_ion"] = 0.0 + return resolve_device(DeviceInput.model_validate(data), prepared.defaults, prepared.resources, sources=prepared.sources) + raise ValueError("immobile fixture kind must be shared_mixed, shared_full or single") + + +def _complex_json(value: object) -> dict[str, float]: + if isinstance(value, complex): + return {"real": value.real, "imag": value.imag} + raise TypeError("unsupported immobile witness JSON value") + + +def run_wave(kind: str, output_directory: Path) -> dict[str, object]: + """One bounded steady, four native time steps and two AC points; no retries.""" + from examples.research_1d.dual_ionic import write_record + from examples.research_1d.ionic_steady import controls as steady_controls + from examples.research_1d.ionic_transient import controls as time_controls, protocol + from examples.research_1d.transient import json_value + from solarlab.device.compile_ionic_1d import compile_ionic_device_1d + from solarlab.equations.ionic_closure import declared_immobile_profiles, immobile_profile_binding + from solarlab.equations.ionic_small_signal import build_ionic_small_signal + from solarlab.experiments.ionic_transient import load_ionic_steady_initial, solve_ionic_transient + from solarlab.solvers.linear import FrequencyOptions, solve_frequency_systems + from solarlab.solvers.nonlinear.ionic_1d import solve_ionic_steady_state + + started = time.monotonic() + deadline = started + 30.0 + + def remaining() -> float: + value = deadline - time.monotonic() + if value <= 0.0: + raise TimeoutError("immobile witness total30s budget exhausted") + return value + + output_directory.mkdir(parents=True, exist_ok=True) + if any((output_directory / name).exists() for name in ("Steady.json", "History.json", "AC.json")): + raise FileExistsError("preserve original immobile attempts; use an unused output directory") + prepared = prepare_immobile_ion_device(kind) + if kind == "single": + device = compile_ionic_device_1d(prepared, intervals_per_layer=4) + else: + device = compile_ionic_device_1d(prepared, intervals_per_layer=(4, 4, 4), + ion_domain_layer="absorber", ion_domain_endpoints=("blocking", "blocking")) + options = replace(steady_controls(device.ion_node_count), wall_s=min(30.0, remaining())) + steady = solve_ionic_steady_state(device, voltage_V=0.002, generation_scale=0.0, options=options) + summary: dict[str, object] = {"kind": kind, "accepted": steady.accepted, "termination": steady.termination, + "compiled_identity": device.identity, "voltage_V": 0.002, "generation_scale": 0.0, + "shape": [device.node_count, device.ion_node_count, device.state_size], + "profile_binding": immobile_profile_binding(device), "evaluation_counts": steady.evaluation_counts, + "wall_s": steady.wall_s, "qualification": False} + path = output_directory / "Steady.json" + digest = write_record(path, {"summary": summary, "result": steady}) + if not steady.accepted or steady.state is None: + return {**summary, "completed": False, "first_failure": "steady"} + remaining() + initial = load_ionic_steady_initial(device, path, digest, controls=options) + time_options = time_controls() + time_options = replace(time_options, electronic=replace(time_options.electronic, wall_s=min(30.0, remaining()))) + history = solve_ionic_transient(device, initial, protocol(4), options=time_options) + profiles = declared_immobile_profiles(device) + profile_error = {species: max(float(np.max(abs(getattr(state, species + "_ion_density_m3") - target) / target)) + for state in history.states) for species, target in profiles.items()} + time_summary = {"completed": history.completed, "accepted_steps": len(history.states) - 1, + "immobile_profile_relative_error": profile_error, + "evaluation_counts": history.evaluation_counts, "wall_s": history.wall_s} + write_record(output_directory / "History.json", {"summary": time_summary, "result": history}) + if not history.completed: + return {**summary, "completed": False, "first_failure": "time", "time": time_summary} + remaining() + operator = build_ionic_small_signal(device, steady.state) + voltage = 2e-6 + 1e-6j + attempts = [] + for frequency in (0.0, 1.0): + remaining() + system = operator.system(frequency, voltage_phasor_V=voltage, ion_mode="mobile") + solved = solve_frequency_systems(system.jacobian, system.storage_jacobian, system.rhs, [frequency], + options=FrequencyOptions(), fixed_coordinates=system.fixed_coordinates, rhs_rate=system.rhs_rate)[0] + observed = cast(dict[str, Any], operator.observe(solved.solution, frequency, voltage_phasor_V=voltage, ion_mode="mobile")) + local = {species: float(np.max(abs(observed["ion_density_perturbation_m3"][species]) / target)) / abs(voltage) + for species, target in profiles.items()} + global_inventory = {species: abs(observed["ion_inventory_perturbation_m2"][species]) / + (steady.state.domain_inventories_m2[species] * abs(voltage)) for species in device.ion_species_names} + accepted = (observed["original_componentwise_backward_error"] <= 1e-11 + and observed["maxwell_spread_A_m2_V"] <= 1e-8 + 1e-10 * observed["current_scale_A_m2_V"] + and max(local.values(), default=0.0) <= options.inventory_relative_tolerance + and max(global_inventory.values(), default=0.0) <= options.inventory_relative_tolerance) + attempts.append({"frequency_Hz": frequency, "accepted": accepted, "local_profile_relative_per_V": local, + "inventory_relative_per_V": global_inventory, "solution": solved, "observation": observed}) + if not accepted: + break + ac = {"completed": len(attempts) == 2 and all(attempt["accepted"] for attempt in attempts), "attempts": attempts} + raw = (json.dumps(json_value(ac), default=_complex_json, indent=2, allow_nan=False) + "\n").encode() + with (output_directory / "AC.json").open("xb") as output: + output.write(raw) + remaining() + return {**summary, "completed": ac["completed"], "first_failure": None if ac["completed"] else "AC", + "time": time_summary, "total_wall_s": time.monotonic() - started} + + +def main() -> int: + parser = argparse.ArgumentParser(description=__doc__) + parser.add_argument("--kind", choices=("shared_mixed", "shared_full", "single"), default="shared_mixed") + parser.add_argument("--output-directory", type=Path, required=True) + args = parser.parse_args() + summary = run_wave(args.kind, args.output_directory) + print(json.dumps(summary, indent=2, default=_complex_json, allow_nan=False)) + return 0 if summary["completed"] else 2 + + +if __name__ == "__main__": + raise SystemExit(main()) diff --git a/examples/research_1d/impedance.py b/examples/research_1d/impedance.py new file mode 100644 index 00000000..75aff0ec --- /dev/null +++ b/examples/research_1d/impedance.py @@ -0,0 +1,29 @@ +"""Run with python -m examples.research_1d.impedance (BLAS threads pinned to 1).""" + +from __future__ import annotations + +from examples.research_1d.steady import load_device +from solarlab.device.compile_1d import compile_device_1d +from solarlab.experiments.impedance import solve_impedance +from solarlab.solvers.nonlinear.steady_1d import SteadyOptions, solve_steady_state + + +def main() -> None: + compiled = compile_device_1d(load_device(), intervals_per_layer=12) + controls = SteadyOptions() + point = solve_steady_state(compiled, voltage_V=1.0, options=controls) + result = solve_impedance(compiled, point, [0.0, 1.0, 1000.0], steady_options=controls) + print("Ion-free fixed-reservoir small signal at 1 V DC; phasors use exp(+i omega t)") + print("1 V normalization is a derivative per V, not a finite-amplitude excitation") + print("frequency_Hz admittance_density_S_m2 impedance_area_ohm_m2 maxwell_spread_A_m2_V") + for frequency, admittance, impedance, spread in zip( + result.frequency_Hz, result.admittance_density_S_m2, + result.impedance_area_ohm_m2, result.maxwell_spread_A_m2_V, + ): + print(f"{frequency:g} {admittance:.9g} {impedance:.9g} {spread:.6g}") + print(f"working_state_identity={result.working_state_identity}") + print(f"source_identity={result.source_identity}") + + +if __name__ == "__main__": + main() diff --git a/examples/research_1d/ionic_impedance.py b/examples/research_1d/ionic_impedance.py new file mode 100644 index 00000000..b063d9f4 --- /dev/null +++ b/examples/research_1d/ionic_impedance.py @@ -0,0 +1,130 @@ +"""Ionic AC from an existing accepted steady artifact; no steady solve here. + +For a new shared-site input, run the existing example once: + python -m examples.research_1d.shared_site_ionic --output-directory /tmp/shared-input +Hash its Steady.json with sha256sum or shasum -a 256, then pass the actual hash: + python -m examples.research_1d.ionic_impedance solve --kind shared \ + --initial-result /tmp/shared-input/Steady.json --initial-sha256 HASH \ + --output /tmp/shared-ac.json +Use --ion-mode frozen for an explicit frozen response about the same ionic +charge profile, or --voltage-phasor 2e-6+1e-6j for a linear normalization. +The read subcommand requires only the result and its hash and never solves. +""" + +from __future__ import annotations + +import argparse +import hashlib +import json +from pathlib import Path +from typing import Any + +from examples.research_1d.ionic_multilayer import prepare_confined_ion_device, prepare_confined_dual_ion_device +from examples.research_1d.ionic_steady import controls as steady_controls +from examples.research_1d.shared_site_ionic_fixture import prepare_confined_shared_site_ion_device +from solarlab.device.compile_ionic_1d import compile_ionic_device_1d +from solarlab.equations.ionic_1d import CompiledIonicDevice1D +from solarlab.experiments.ionic_impedance import ( + IonicImpedanceOptions, IonicImpedanceResult, read_ionic_impedance_result, + solve_ionic_impedance, write_ionic_impedance_result, +) +from solarlab.experiments.ionic_transient import IonicTransientInitial, load_ionic_steady_initial + + +def compile_case(kind: str) -> CompiledIonicDevice1D: + factories = {"shared": prepare_confined_shared_site_ion_device, + "independent": prepare_confined_dual_ion_device, "positive": prepare_confined_ion_device} + if kind not in factories: + raise ValueError("kind must be shared, independent or positive") + return compile_ionic_device_1d(factories[kind](), intervals_per_layer=(12, 12, 12), + ion_domain_layer="absorber", ion_domain_endpoints=("blocking", "blocking")) + + +def load_case(kind: str, path: str | Path, sha256: str) -> tuple[CompiledIonicDevice1D, IonicTransientInitial]: + compiled = compile_case(kind) + initial = load_ionic_steady_initial(compiled, path, sha256, controls=steady_controls(compiled.ion_node_count)) + return compiled, initial + + +def load_manifest_case(manifest_path: str | Path, kind: str) -> tuple[CompiledIonicDevice1D, IonicTransientInitial]: + manifest = json.loads(Path(manifest_path).read_text()) + if manifest["schema"] != "solarlab.ionic_ac_inputs.v1": + raise ValueError("unsupported ionic AC initial manifest") + config = Path(manifest["configuration_path"]) + actual_config = Path(__file__).with_name("device.json").resolve() + if (config.resolve() != actual_config + or hashlib.sha256(config.read_bytes()).hexdigest() != manifest["configuration_sha256"]): + raise ValueError("configuration identity/path differs from the pinned steady source") + item = manifest["cases"][kind] + compiled, initial = load_case(kind, item["steady_path"], item["steady_sha256"]) + if compiled.identity != item["compiled_identity"]: + raise ValueError("compiled identity differs from the saved steady manifest") + return compiled, initial + + +def summary(record: dict[str, Any]) -> dict[str, Any]: + """Summarize serialized responses without calling a model or solver.""" + result = record["result"] + points = [] + for attempt in result["attempts"]: + observed = attempt["observation"] + entry = {"frequency_Hz": attempt["frequency_Hz"], "accepted": attempt["accepted"], + "termination": attempt["termination"], "error": attempt["error"], + "checks": attempt["checks"]} + if observed is not None: + admittance = complex(observed["admittance_density_S_m2"]) + entry["admittance_density_S_m2"] = {"real": admittance.real, "imag": admittance.imag} + impedance = None if admittance == 0.0 else 1.0 / admittance + entry["impedance_area_ohm_m2"] = (None if impedance is None + else {"real": impedance.real, "imag": impedance.imag}) + entry["Maxwell_spread_A_m2_V"] = observed.get("consumer_Maxwell_spread_A_m2_V") + entry["inventory_relative_per_V"] = observed.get("consumer_inventory_relative_per_V") + points.append(entry) + return {"completed": record["completed"], "ion_mode": result["ion_mode"], "points": points, + "compiled_identity": result["compiled_identity"], "initial_provenance": result["initial_provenance"], + "linear_solver_calls": result["linear_solver_calls"], "wall_s": result["wall_s"], + "physical_certificate_status": result["physical_certificate_status"]} + + +def run_response( + compiled: CompiledIonicDevice1D, initial: IonicTransientInitial, output: Path, + *, frequencies_Hz: tuple[float, ...] = (0.0, 0.01, 1.0, 1000.0), + ion_mode: str = "mobile", voltage_phasor_V: complex = 1.0, +) -> IonicImpedanceResult: + if output.exists(): + raise FileExistsError("preserve the existing AC attempt; choose an unused output path") + result = solve_ionic_impedance(compiled, initial, frequencies_Hz, ion_mode=ion_mode, + voltage_phasor_V=voltage_phasor_V, options=IonicImpedanceOptions()) + output.parent.mkdir(parents=True, exist_ok=True) + digest = write_ionic_impedance_result(result, output) + print(json.dumps({"result_path": str(output.resolve()), "result_sha256": digest, + **summary(read_ionic_impedance_result(output, digest))}, indent=2, allow_nan=False), flush=True) + return result + + +def main() -> int: + parser = argparse.ArgumentParser(description=__doc__, formatter_class=argparse.RawDescriptionHelpFormatter) + commands = parser.add_subparsers(dest="command", required=True) + solve = commands.add_parser("solve", help="one AC sweep from an existing accepted steady artifact") + solve.add_argument("--kind", choices=("shared", "independent", "positive"), default="shared") + solve.add_argument("--initial-result", type=Path, required=True) + solve.add_argument("--initial-sha256", required=True) + solve.add_argument("--frequencies", type=float, nargs="+", default=[0.0, 0.01, 1.0, 1000.0]) + solve.add_argument("--ion-mode", choices=("mobile", "frozen"), default="mobile") + solve.add_argument("--voltage-phasor", type=complex, default=1.0 + 0.0j) + solve.add_argument("--output", type=Path, required=True) + read = commands.add_parser("read", help="checksum-checked saved result reading without solving") + read.add_argument("--result", type=Path, required=True) + read.add_argument("--sha256", required=True) + arguments = parser.parse_args() + if arguments.command == "read": + print(json.dumps(summary(read_ionic_impedance_result(arguments.result, arguments.sha256)), indent=2, allow_nan=False)) + return 0 + compiled, initial = load_case(arguments.kind, arguments.initial_result, arguments.initial_sha256) + result = run_response(compiled, initial, arguments.output, frequencies_Hz=tuple(arguments.frequencies), + ion_mode=arguments.ion_mode, voltage_phasor_V=arguments.voltage_phasor) + return 0 if result.completed else 2 + + +if __name__ == "__main__": + raise SystemExit(main()) diff --git a/examples/research_1d/ionic_initialization.py b/examples/research_1d/ionic_initialization.py new file mode 100644 index 00000000..525703ec --- /dev/null +++ b/examples/research_1d/ionic_initialization.py @@ -0,0 +1,132 @@ +"""Fresh direct illuminated initialization from a pinned accepted dark state. + + python -m examples.research_1d.ionic_initialization solve \ + --policy direct_density_seed_v1 --initial-result DARK.json \ + --initial-sha256 SHA --voltage 0.002 --generation-scale 1 --output INIT.json + +The direct policy performs one positive carrier-density preparation and one +original full coupled ionic solve. Explicit --density-seed-result/sha256 flags +reuse a recorded preparation instead. No failing auxiliary solve is required. +Use an outer process supervisor for a hard deadline. +""" + +from __future__ import annotations + +import argparse +import hashlib +import json +from pathlib import Path +from typing import Any + +import numpy as np + +from examples.research_1d.ionic_steady import controls +from examples.research_1d.shared_site_ionic_fixture import prepare_confined_shared_site_ion_device +from examples.research_1d.transient import json_value +from solarlab.device.compile_ionic_1d import compile_ionic_device_1d +from solarlab.equations.ionic_1d import CompiledIonicDevice1D +from solarlab.experiments.ionic_initialization import ( + POLICY, DIRECT_POLICY, IonicInitializationOptions, initialize_ionic_steady_state, load_ionic_density_seed, + read_ionic_initialization, write_ionic_initialization, +) +from solarlab.experiments.ionic_transient import load_ionic_steady_initial + + +def compile_shared_case() -> CompiledIonicDevice1D: + return compile_ionic_device_1d(prepare_confined_shared_site_ion_device(), + intervals_per_layer=(12, 12, 12), ion_domain_layer="absorber", + ion_domain_endpoints=("blocking", "blocking")) + + +def summary(record: dict[str, Any]) -> dict[str, Any]: + result = record["result"] + coupled = result["coupled_result"] + initial = result["initial"]["state"] + item = {"accepted": result["accepted"], "termination": result["termination"], + "voltage_V": result["voltage_V"], "generation_scale": result["generation_scale"], + "policy": result["solver_controls"]["policy"], "compiled_identity": result["compiled_identity"], + "initial_sha256": result["initial"]["source_sha256"], "component_identity": result["component_identity"], + "evaluation_counts": result["evaluation_counts"], "wall_s": result["wall_s"], "error": result["error"], + "stages": [{"name": x["name"], "accepted": x["accepted"]} for x in result["stages"]], + "qualification": result["qualification"], "physical_certificate_status": result["physical_certificate_status"]} + if result.get("density_seed_provenance") is not None: + item["density_seed_mode"] = result["density_seed_provenance"].get("mode", "saved") + if result["coupled_initial_state"] is not None: + seeded = result["coupled_initial_state"] + item["seed_ion_profiles_unchanged"] = all(np.array_equal( + initial[name + "_ion_density_m3"], seeded[name + "_ion_density_m3"]) for name in ("positive", "negative")) + item["seed_ion_inventories_unchanged"] = ( + initial["domain_inventory_m2"] == seeded["domain_inventory_m2"] + and initial["negative_domain_inventory_m2"] == seeded["negative_domain_inventory_m2"]) + if coupled is not None: + item["checks"] = coupled["checks"] + item["newton_iterations"] = None if coupled["newton"] is None else len(coupled["newton"]["iterations"]) + if coupled["diagnostics"] is not None: + diagnostics = coupled["diagnostics"] + item["all_face_current_A_m2"] = diagnostics["total_current_density_A_m2"].tolist() + item["inventories"] = {name: {key: values[key] for key in + ("inventory_m2", "inventory_relative_error", "ion_balance_l1_m2_s", "ion_flux_max_m2_s", + "original_dropped_balance_m2_s")} for name, values in diagnostics.get("ion_species", {}).items()} + return item + + +def main() -> int: + parser = argparse.ArgumentParser(description=__doc__, formatter_class=argparse.RawDescriptionHelpFormatter) + commands = parser.add_subparsers(dest="command", required=True) + solve = commands.add_parser("solve") + solve.add_argument("--policy", choices=(POLICY, DIRECT_POLICY), required=True) + solve.add_argument("--density-seed-result", type=Path) + solve.add_argument("--density-seed-sha256") + solve.add_argument("--initial-result", type=Path, required=True) + solve.add_argument("--initial-sha256", required=True) + solve.add_argument("--voltage", type=float, required=True) + solve.add_argument("--generation-scale", type=float, required=True) + solve.add_argument("--wall-s", type=float, default=25.0) + solve.add_argument("--output", type=Path, required=True) + solve.add_argument("--accepted-steady-output", type=Path, + help="also export the accepted full solve in the existing initial-artifact format") + read = commands.add_parser("read") + read.add_argument("--result", type=Path, required=True) + read.add_argument("--sha256", required=True) + args = parser.parse_args() + if args.command == "read": + print(json.dumps(summary(read_ionic_initialization(args.result, args.sha256)), indent=2, allow_nan=False)) + return 0 + if args.policy == DIRECT_POLICY: + if bool(args.density_seed_result) != bool(args.density_seed_sha256): + parser.error("recorded reuse requires both density-seed-result and density-seed-sha256") + elif args.density_seed_result or args.density_seed_sha256: + parser.error("electronic_density_seed_v1 does not accept a recorded density seed") + if args.output.exists() or (args.accepted_steady_output and args.accepted_steady_output.exists()): + raise FileExistsError("preserve previous attempts; choose unused output paths") + device = compile_shared_case() + declared = controls(device.ion_node_count) + initial = load_ionic_steady_initial(device, args.initial_result, args.initial_sha256, controls=declared) + result = initialize_ionic_steady_state(device, initial=initial, + voltage_V=args.voltage, generation_scale=args.generation_scale, + options=IonicInitializationOptions(declared, args.policy, args.wall_s), + density_seed_artifact=(None if args.density_seed_result is None else load_ionic_density_seed( + args.density_seed_result, args.density_seed_sha256))) + args.output.parent.mkdir(parents=True, exist_ok=True) + digest = write_ionic_initialization(result, args.output) + printed = {"result_path": str(args.output.resolve()), "result_sha256": digest, + **summary(read_ionic_initialization(args.output, digest))} + if result.accepted and args.accepted_steady_output is not None: + solution = result.coupled_result + evidence = {"summary": {"accepted": True, "compiled_identity": result.compiled_identity, + "voltage_V": result.voltage_V, "generation_scale": result.generation_scale, + "initialization_policy": args.policy, "initialization_result_path": str(args.output.resolve()), + "initialization_result_sha256": digest, "original_initial_sha256": initial.source_sha256, + "qualification": False}, "result": solution} + raw = (json.dumps(json_value(evidence), indent=2, allow_nan=False) + "\n").encode() + args.accepted_steady_output.parent.mkdir(parents=True, exist_ok=True) + with args.accepted_steady_output.open("xb") as stream: + stream.write(raw) + printed["accepted_steady_path"] = str(args.accepted_steady_output.resolve()) + printed["accepted_steady_sha256"] = hashlib.sha256(raw).hexdigest() + print(json.dumps(json_value(printed), indent=2, allow_nan=False), flush=True) + return 0 if result.accepted else 2 + + +if __name__ == "__main__": + raise SystemExit(main()) diff --git a/examples/research_1d/ionic_jv.py b/examples/research_1d/ionic_jv.py new file mode 100644 index 00000000..a25d4428 --- /dev/null +++ b/examples/research_1d/ionic_jv.py @@ -0,0 +1,116 @@ +"""Equilibrated ionic steady J-V; no scan rate, time advance or hysteresis. + + python -m examples.research_1d.ionic_jv solve --initial-policy compiled_cold \ + --voltages 0.001 0.002 0.003 --generation-scale 0 --output /tmp/ionic-jv.json + +An existing accepted same-device input can instead be supplied using +--initial-policy saved_accepted --initial-result PATH --initial-sha256 SHA. +The read subcommand needs only --result and --sha256 and never solves. +""" + +from __future__ import annotations + +import argparse +from collections.abc import Callable +import json +from pathlib import Path +from typing import Any + +import numpy as np + +from examples.research_1d.ionic_multilayer import prepare_confined_ion_device, prepare_confined_dual_ion_device +from examples.research_1d.ionic_steady import controls as steady_controls +from examples.research_1d.shared_site_ionic_fixture import prepare_confined_shared_site_ion_device +from solarlab.device.compile_ionic_1d import compile_ionic_device_1d +from solarlab.device.resolved import PreparedDevice +from solarlab.equations.ionic_1d import CompiledIonicDevice1D +from solarlab.experiments.ionic_transient import IonicTransientInitial, load_ionic_steady_initial +from solarlab.experiments.jv.ionic_steady import ( + IonicSteadyJVOptions, IonicSteadyJVResult, read_ionic_steady_jv, run_ionic_steady_jv, write_ionic_steady_jv, +) + + +def compile_case(kind: str = "shared") -> CompiledIonicDevice1D: + factories: dict[str, Callable[[], PreparedDevice]] = {"shared": prepare_confined_shared_site_ion_device, + "independent": prepare_confined_dual_ion_device, "positive": prepare_confined_ion_device} + if kind not in factories: + raise ValueError("kind must be shared, independent or positive") + return compile_ionic_device_1d(factories[kind](), intervals_per_layer=(12, 12, 12), + ion_domain_layer="absorber", ion_domain_endpoints=("blocking", "blocking")) + + +def summary(record: dict[str, Any]) -> dict[str, Any]: + result = record["result"] + points = [] + for attempt in result["attempts"]: + solution = attempt["solution"] + one = {"voltage_V": attempt["voltage_V"], "accepted": attempt["accepted"], + "termination": attempt["termination"], "error": attempt["error"], + "solver_called": attempt["solver_called"]} + if solution is not None: + one["checks"] = solution["checks"] + one["evaluation_counts"] = solution["evaluation_counts"] + one["newton_iterations"] = None if solution["newton"] is None else len(solution["newton"]["iterations"]) + if solution["state"] is not None and attempt["initial_guess"] is not None: + one["ion_relative_change_from_guess"] = {species: float(np.max(abs( + solution["state"][species + "_ion_density_m3"] + / attempt["initial_guess"][species + "_ion_density_m3"] - 1.0))) for species in result["ion_species"]} + points.append(one) + return {"completed": record["completed"], "experiment_kind": result["experiment_kind"], + "requested_voltage_V": result["requested_voltage_V"].tolist(), "points": points, + "accepted_voltage_V": result["voltage_V"].tolist(), + "output_current_A_m2": result["output_current_A_m2"].tolist(), + "metrics": result["metrics"], "generation_scale": result["generation_scale"], + "initial_policy": result["initial_provenance"]["policy"], "compiled_identity": result["compiled_identity"], + "solver_calls": result["solver_calls"], "evaluation_counts": result["evaluation_counts"], + "wall_s": result["wall_s"], "physical_certificate_status": result["physical_certificate_status"]} + + +def run_curve( + device: CompiledIonicDevice1D, output: Path, *, voltages: tuple[float, ...] = (0.001, 0.002, 0.003), + generation_scale: float = 0.0, initial: IonicTransientInitial | None = None, +) -> IonicSteadyJVResult: + if output.exists(): + raise FileExistsError("preserve existing attempts; choose an unused result path") + result = run_ionic_steady_jv(device, voltages, generation_scale=generation_scale, + options=IonicSteadyJVOptions(steady_controls(device.ion_node_count)), initial=initial, + initial_policy="compiled_cold" if initial is None else "saved_accepted") + output.parent.mkdir(parents=True, exist_ok=True) + digest = write_ionic_steady_jv(result, output) + print(json.dumps({"result_path": str(output.resolve()), "result_sha256": digest, + **summary(read_ionic_steady_jv(output, digest))}, indent=2, allow_nan=False), flush=True) + return result + + +def main() -> int: + parser = argparse.ArgumentParser(description=__doc__, formatter_class=argparse.RawDescriptionHelpFormatter) + commands = parser.add_subparsers(dest="command", required=True) + solve = commands.add_parser("solve") + solve.add_argument("--kind", choices=("shared", "independent", "positive"), default="shared") + solve.add_argument("--voltages", type=float, nargs="+", required=True) + solve.add_argument("--generation-scale", type=float, required=True) + solve.add_argument("--initial-policy", choices=("compiled_cold", "saved_accepted"), required=True) + solve.add_argument("--initial-result", type=Path) + solve.add_argument("--initial-sha256") + solve.add_argument("--output", type=Path, required=True) + read = commands.add_parser("read") + read.add_argument("--result", type=Path, required=True) + read.add_argument("--sha256", required=True) + args = parser.parse_args() + if args.command == "read": + print(json.dumps(summary(read_ionic_steady_jv(args.result, args.sha256)), indent=2, allow_nan=False)) + return 0 + if (args.initial_policy == "saved_accepted") != bool(args.initial_result and args.initial_sha256): + parser.error("saved_accepted requires both initial-result and initial-sha256; compiled_cold requires neither") + if args.initial_policy == "compiled_cold" and (args.initial_result or args.initial_sha256): + parser.error("compiled_cold cannot accept an initial artifact") + device = compile_case(args.kind) + initial = (None if args.initial_policy == "compiled_cold" else load_ionic_steady_initial( + device, args.initial_result, args.initial_sha256, controls=steady_controls(device.ion_node_count))) + result = run_curve(device, args.output, voltages=tuple(args.voltages), generation_scale=args.generation_scale, + initial=initial) + return 0 if result.completed else 2 + + +if __name__ == "__main__": + raise SystemExit(main()) diff --git a/examples/research_1d/ionic_jv_service.py b/examples/research_1d/ionic_jv_service.py new file mode 100644 index 00000000..162948a2 --- /dev/null +++ b/examples/research_1d/ionic_jv_service.py @@ -0,0 +1,85 @@ +"""Serve the explicit verified illuminated ionic J-V protocol on existing HTTP. + +GET /experiments supplies registered devices, full controls and submit headers. +POST /jobs starts one actual existing process; results/artifacts/events expose +the same committed store, including historical failed process prefixes. +""" +from __future__ import annotations + +import argparse +from dataclasses import asdict, replace +import json +from pathlib import Path +from typing import TYPE_CHECKING, Any + +if TYPE_CHECKING: + from solarlab.config.identity import BuildSource + from solarlab.experiments.worker import ResourceLimits + from solarlab_server.job_service import ExecutionCatalog + + +def resource_limits() -> ResourceLimits: + from solarlab.experiments.worker import ResourceLimits + from solarlab.experiments.jv.ionic_worker import REGISTERED_WALL_SECONDS + return ResourceLimits(REGISTERED_WALL_SECONDS, + 1536 * 1024**2, 96 * 1024**2, None, None) + + +def example_submission(run_id: str = "http-ionic-jv-completed") -> dict[str, Any]: + from solarlab_server.ionic_jv_preparation import _policy + policy = _policy() + return {"schema_version": "solarlab.job-submission.v1", "run_id": run_id, + "experiment_id": "ionic_steady_jv", "version": 1, "engine": "solarlab", + "input": {"device_id": "research_1d_shared", **policy["protocol"], + "intervals_per_layer": policy["intervals_per_layer"], "controls": policy["controls"], "initial": policy["initial"]}, + "limits": asdict(resource_limits())} + + +def installed_catalog(implementation: BuildSource, current_repository_head: str) -> ExecutionCatalog: + from examples.research_1d.shared_site_ionic_fixture import prepare_confined_shared_site_ion_device + from solarlab_server.ionic_jv_preparation import IonicJVPreparationContext, ionic_jv_execution_catalog + context = IonicJVPreparationContext((("research_1d_shared", prepare_confined_shared_site_ion_device()),), + "absorber", implementation, current_repository_head) + return ionic_jv_execution_catalog(context, ceiling=replace(resource_limits(), wall_seconds=30.), + wall_profile_sha256=context.registered_wall_profile()) + + +def main() -> None: + parser = argparse.ArgumentParser(description=__doc__) + parser.add_argument("--store", type=Path, required=True) + parser.add_argument("--work", type=Path, required=True) + parser.add_argument("--build-source-commit", required=True) + parser.add_argument("--source-archive", type=Path) + parser.add_argument("--current-repository-head", required=True) + parser.add_argument("--port", type=int, default=8000) + args = parser.parse_args() + if not 1 <= args.port <= 65535: + parser.error("port must be between1 and65535") + import uvicorn + from examples.research_1d.process_ionic_transient import source_build + from solarlab.experiments.execution import ProcessSupervisor + from solarlab.io.run_store import RunStore + from solarlab_server.app import create_app + from solarlab_server.job_service import JobService + implementation = source_build(args.build_source_commit, args.source_archive) + catalog = installed_catalog(implementation, args.current_repository_head) + root, work = args.store.expanduser().resolve(), args.work.expanduser().resolve() + root.parent.mkdir(parents=True, exist_ok=True) + work.parent.mkdir(parents=True, exist_ok=True) + with RunStore(root) as store, ProcessSupervisor(store, work, catalog.worker_bindings(), max_active=1, max_pending=2, + shared_rss_bytes=3 * 1024**3, shared_output_bytes=384 * 1024**2) as supervisor: + app = create_app(store.root, job_service=JobService(catalog, supervisor)) + print(json.dumps({"base_url": f"http://127.0.0.1:{args.port}", "store_id": store.store_id, + "build_source_commit": implementation.build_source_commit, "current_repository_head": args.current_repository_head, + "execution_catalog_sha256": catalog.document.sha256, "job_schema_sha256": catalog.schema.sha256, + "example_submission": example_submission(), "scientific_qualification": False}), flush=True) + try: + uvicorn.run(app, host="127.0.0.1", port=args.port, workers=1, loop="asyncio", http="h11") + except KeyboardInterrupt: + pass + print(json.dumps({"service_closed": True, "read_handle_closed": app.state.run_store is None, + "process_owner_closed": supervisor._closed}), flush=True) + + +if __name__ == "__main__": + main() diff --git a/examples/research_1d/ionic_multilayer.py b/examples/research_1d/ionic_multilayer.py new file mode 100644 index 00000000..2cea5a2b --- /dev/null +++ b/examples/research_1d/ionic_multilayer.py @@ -0,0 +1,81 @@ +"""Evaluate the explicitly confined absorber ion domain in a real three-layer device. + + OPENBLAS_NUM_THREADS=1 OMP_NUM_THREADS=1 MKL_NUM_THREADS=1 \ + VECLIB_MAXIMUM_THREADS=1 python -m examples.research_1d.ionic_multilayer +""" + +from __future__ import annotations + +import json +import math + +import numpy as np + +from examples.research_1d.steady import load_device +from solarlab.config.resolve_device import resolve_device +from solarlab.device.compile_ionic_1d import compile_ionic_device_1d +from solarlab.device.inputs import DeviceInput +from solarlab.device.resolved import PreparedDevice +from solarlab.equations.ionic_1d import Ionic1DProblem + + +def prepare_confined_ion_device(*, diffusion_only: bool = True) -> PreparedDevice: + """Original HTL/absorber/ETL with one explicitly populated mobile absorber.""" + template = load_device() + data = template.to_input().editing_data() + data["id"] = "confined_absorber_positive_ion" + data["settings"]["ion_steric_diffusion_only"] = diffusion_only + absorber = next(layer for layer in data["layers"] if layer["role"].lower() == "absorber") + absorber["parameters"].update(P0=1e24, P_lim=1e27, D_ion=1e-16, E_a_ion=0.58) + return resolve_device(DeviceInput.model_validate(data), template.defaults, template.resources, sources=template.sources) + + +def prepare_confined_dual_ion_device( + *, diffusion_only: bool = True, + positive_diffusivity_m2_s: float = 1e-16, + negative_diffusivity_m2_s: float = 5e-17, +) -> PreparedDevice: + """Same three layers, two separately compensated finite-site absorber species. + + The populations have independent capacities and their original fixed + backgrounds; unequal references do not introduce a neutralization rule. + Either zero diffusivity retains that species and its physical storage. + """ + template = prepare_confined_ion_device(diffusion_only=diffusion_only) + data = template.to_input().editing_data() + data["id"] = "confined_absorber_dual_ion" + absorber = next(layer for layer in data["layers"] if layer["role"].lower() == "absorber") + absorber["parameters"].update(D_ion=positive_diffusivity_m2_s, + P0_neg=6e23, P_lim_neg=2e27, D_ion_neg=negative_diffusivity_m2_s) + return resolve_device(DeviceInput.model_validate(data), template.defaults, template.resources, sources=template.sources) + + +def main() -> None: + device = compile_ionic_device_1d( + prepare_confined_ion_device(), intervals_per_layer=(12, 12, 12), + ion_domain_layer="absorber", ion_domain_endpoints=("blocking", "blocking"), + ) + problem = Ionic1DProblem(device, voltage_V=0.002) + state = device.initial_state(voltage_V=0.002) + residual, J, K = problem.residual(state.u), problem.jacobian(state.u), problem.storage_jacobian(state.u) + flux = problem.ion_fluxes(state.u) + print(json.dumps({ + "scope": "actual confined-domain F/J/storage; no steady/transient qualification", + "compiled_identity": device.identity, "original_prepared_identity": device.original_prepared_sha256, + "electronic_component_identity": device.electronic_component.identity, + "electrical_nodes": device.node_count, "ion_nodes": device.ion_node_count, + "state_size": device.state_size, "domain_bounds_m": device.domain_bounds_m, + "ion_node_indices": device.ion_node_indices.tolist(), + "charge_weight_ratio": device.ion_charge_weight_ratio.tolist(), + "reference_inventory_m2": device.reference_inventory_m2, + "ion_balance_sum_m2_s": math.fsum(residual[3 * device.node_count:].tolist()), + "ion_face_flux_m2_s": flux.tolist(), + "outside_ion_flux_m2_s": problem.ion_fluxes_on_electronic_faces(state.u).tolist(), + "jacobian_shape": J.shape, "jacobian_nonzeros": J.nnz, + "ion_storage_diagonal_m2": K.diagonal()[3 * device.node_count:].tolist(), + "all_finite": bool(np.all(np.isfinite(residual)) and np.all(np.isfinite(J.data))), + }, indent=2, allow_nan=False)) + + +if __name__ == "__main__": + main() diff --git a/examples/research_1d/ionic_pv.py b/examples/research_1d/ionic_pv.py new file mode 100644 index 00000000..afdf5325 --- /dev/null +++ b/examples/research_1d/ionic_pv.py @@ -0,0 +1,276 @@ +"""Bounded illuminated shared-site ionic J-V samples and explicit continuations. + +Supply an accepted G1 same-device steady artifact explicitly: + python -m examples.research_1d.ionic_pv solve \ + --initial-result ACCEPTED.json --initial-sha256 SHA --output CURVE.json + +``solve`` runs one fixed 51-point grid, 0 to 1.25 V in 25 mV increments. +For historical reproduction, ``coarse-probe`` uses the original 17-point grid; +``continue`` and ``tail`` use accepted parents at 0.2 V and 1.2 V. +These are research samples, without mesh/grid qualification. +Irradiance is undeclared; generation_scale=1 does not supply an incident power. +""" + +from __future__ import annotations + +import argparse +from dataclasses import asdict +import hashlib +import json +from pathlib import Path +from typing import Any + +import numpy as np + +from examples.research_1d.ionic_jv import compile_case +from examples.research_1d.ionic_steady import controls +from examples.research_1d.transient import json_value +from solarlab.equations.ionic_1d import CompiledIonicDevice1D +from solarlab.experiments.ionic_transient import IonicTransientInitial, load_ionic_steady_initial +from solarlab.experiments.jv.steady import steady_jv_metrics +from solarlab.experiments.transient_results import _encode +from solarlab.solvers.nonlinear.ionic_1d import IonicSteadyOptions +from solarlab.solvers.nonlinear.problem import SolveBudget +from solarlab.solvers.nonlinear.steady_1d import SteadyOptions +from solarlab.experiments.jv.ionic_steady import ( + IonicSteadyJVOptions, read_ionic_steady_jv, run_ionic_steady_jv, write_ionic_steady_jv, +) + +VOLTAGES_V = tuple(tick / 40.0 for tick in range(51)) +COARSE_PROBE_VOLTAGES_V = (0.0, 0.01, 0.025, 0.05, 0.1, 0.2, 0.3, 0.4, 0.5, + 0.6, 0.7, 0.8, 0.9, 1.0, 1.05, 1.1, 1.2) +GENERATION_SCALE = 1.0 +WAVE_WALL_S = 25.0 +CONTINUATION_VOLTAGES_V = tuple(tick / 40.0 for tick in range(9, 49)) +TAIL_VOLTAGES_V = (1.225, 1.25) + + +def export_parent_initial( + device: CompiledIonicDevice1D, path: Path, sha256: str, index: int, output: Path, + *, expected_voltage_V: float = 0.2, +) -> tuple[IonicTransientInitial, dict[str, Any], str]: + """Export a genuine accepted point, retaining its actual effective controls.""" + record = read_ionic_steady_jv(path, sha256) + parent = record["result"] + if (not 0 <= index < len(parent["attempts"]) or not parent["attempts"][index]["accepted"] + or index != len(parent["voltage_V"]) - 1 or parent["voltage_V"][-1] != expected_voltage_V + or parent["compiled_identity"] != device.identity or parent["generation_scale"] != 1.0): + raise ValueError(f"continuation requires the last accepted same-device G1 point at {expected_voltage_V} V") + point = parent["attempts"][index]["solution"] + config = dict(point["solver_controls"]) + canonical = controls(device.ion_node_count) + if ({**config, "wall_s": canonical.wall_s} != asdict(canonical) + or not 0 < config["wall_s"] <= canonical.wall_s): + raise ValueError("the recorded physical controls differ from this example's original controls") + config["electronic"] = SteadyOptions(**config["electronic"]) + config["budget"] = SolveBudget(**config["budget"]) + settings = IonicSteadyOptions(**config) + document = {"summary": {"accepted": True, "compiled_identity": device.identity, + "voltage_V": expected_voltage_V, "generation_scale": 1.0, "parent_curve_path": str(path.resolve()), + "parent_curve_sha256": sha256, "parent_attempt_index": index, + "initial_policy": "exact_accepted_parent_point", "qualification": False}, "result": point} + raw = (json.dumps(json_value(document), indent=2, allow_nan=False) + "\n").encode() + output.parent.mkdir(parents=True, exist_ok=True) + with output.open("xb") as stream: + stream.write(raw) + digest = hashlib.sha256(raw).hexdigest() + initial = load_ionic_steady_initial(device, output, digest, controls=settings) + if _encode(initial.state) != _encode(point["state"]): + raise ValueError("export changed the accepted parent state words") + return initial, record, digest + + +def read_joined_pv( + parent_path: Path, parent_sha256: str, path: Path, sha256: str, index: int, +) -> dict[str, Any]: + """Join verified accepted samples, retaining the separate failed parent wave.""" + parent_record = read_ionic_steady_jv(parent_path, parent_sha256) + continued_record = read_ionic_steady_jv(path, sha256) + parent, continued = parent_record["result"], continued_record["result"] + if not 0 <= index < len(parent["attempts"]) or not parent["attempts"][index]["accepted"]: + raise ValueError("joined data requires an accepted parent point") + initial = continued["initial_provenance"] + seed_raw = Path(initial["source_path"]).read_bytes() + if hashlib.sha256(seed_raw).hexdigest() != initial["source_sha256"]: + raise ValueError("continuation initial artifact SHA-256 mismatch") + seed = json.loads(seed_raw) + point = parent["attempts"][index]["solution"] + if (seed["summary"]["parent_curve_sha256"] != parent_sha256 + or seed["summary"]["parent_attempt_index"] != index + or index != len(parent["voltage_V"]) - 1 + or _encode(initial["state"]) != _encode(point["state"]) + or any(parent[key] != continued[key] for key in + ("compiled_identity", "source_identity", "generation_scale", "incident_power_W_m2")) + or continued["requested_voltage_V"][0] <= parent["voltage_V"][-1] + or continued["solver_controls"]["steady"] != point["solver_controls"]): + raise ValueError("continuation parent/state/source/controls binding mismatch") + voltage = np.r_[parent["voltage_V"], continued["voltage_V"]] + current = np.r_[parent["output_current_A_m2"], continued["output_current_A_m2"]] + metrics = asdict(steady_jv_metrics(voltage, current, incident_power_W_m2=parent["incident_power_W_m2"])) + return {"kind": "joined_accepted_steady_samples", "parent_curve_sha256": parent_sha256, + "continuation_curve_sha256": sha256, "parent_attempt_index": index, + "initial_export_sha256": initial["source_sha256"], + "parent_completed": parent_record["completed"], "continuation_completed": continued_record["completed"], + "parent_first_failure": pv_summary(parent_record)["first_failure"], + "continuation_first_failure": pv_summary(continued_record)["first_failure"], + "accepted_voltage_V": voltage.tolist(), "output_current_A_m2": current.tolist(), "metrics": metrics, + "metric_basis": "piecewise-linear interpolation of linked accepted samples only", + "solver_calls_including_preserved_failures": parent["solver_calls"] + continued["solver_calls"], + "physical_certificate_status": "not_evaluated", "voltage_grid_qualification": "not_evaluated"} + + +def pv_summary(record: dict[str, Any]) -> dict[str, Any]: + """Summarize an already verified record; use accepted data only.""" + result = record["result"] + voltage = np.asarray(result["voltage_V"]) + current = np.asarray(result["output_current_A_m2"]) + metrics = result["metrics"] + at_zero = np.flatnonzero(voltage == 0.0) + jsc_sample = None if at_zero.size == 0 else float(current[at_zero[0]]) + order = np.argsort(voltage) + v, j = voltage[order], current[order] + crossings = np.flatnonzero((v[:-1] >= 0.0) & (j[:-1] > 0.0) & (j[1:] <= 0.0)) + bracket = None + if metrics["open_circuit_voltage_V"] is not None and crossings.size: + index = int(crossings[0]) + bracket = {"voltage_V": [float(v[index]), float(v[index + 1])], + "output_current_A_m2": [float(j[index]), float(j[index + 1])]} + failed = [attempt for attempt in result["attempts"] if not attempt["accepted"]] + first_failure = None + if failed: + attempt = failed[0] + solution = attempt["solution"] + newton = None if solution is None else solution["newton"] + first_failure = {"index": attempt["index"], "voltage_V": attempt["voltage_V"], + "termination": attempt["termination"], "error": attempt["error"], + "solver_called": attempt["solver_called"], + "evaluation_counts": None if solution is None else solution["evaluation_counts"], + "iterations": None if newton is None else len(newton["iterations"]), + "newton_message": None if newton is None else newton["message"]} + return {"completed": record["completed"], "requested_voltage_V": result["requested_voltage_V"].tolist(), + "accepted_voltage_V": voltage.tolist(), "output_current_A_m2": current.tolist(), + "sampled_short_circuit_current_A_m2": jsc_sample, + "open_circuit_bracket": bracket, "open_circuit_bracket_established": bracket is not None, + "metrics": metrics, "metric_basis": "piecewise-linear interpolation of accepted voltage samples", + "incident_power_W_m2": result["incident_power_W_m2"], + "efficiency_status": ("unknown_incident_power" if result["incident_power_W_m2"] is None + else "unavailable_without_bracket" if metrics["efficiency"] is None + else "piecewise_linear_voltage_grid"), + "first_failure": first_failure, "solver_calls": result["solver_calls"], + "evaluation_counts": result["evaluation_counts"], "wall_s": result["wall_s"], + "generation_scale": result["generation_scale"], "compiled_identity": result["compiled_identity"], + "source_identity": result["source_identity"], "controls_sha256": result["controls_sha256"], + "request_sha256": result["request_sha256"], + "physical_certificate_status": result["physical_certificate_status"], + "voltage_grid_qualification": "not_evaluated", "mesh_qualification": "not_evaluated"} + + +def read_three_wave_pv( + coarse_path: Path, coarse_sha256: str, fine_path: Path, fine_sha256: str, + tail_path: Path, tail_sha256: str, +) -> dict[str, Any]: + """Read the two explicit parent links; preserve all three wave outcomes.""" + coarse_fine = read_joined_pv(coarse_path, coarse_sha256, fine_path, fine_sha256, 5) + fine_tail = read_joined_pv(fine_path, fine_sha256, tail_path, tail_sha256, 39) + tail = read_ionic_steady_jv(tail_path, tail_sha256)["result"] + voltage = np.r_[coarse_fine["accepted_voltage_V"], tail["voltage_V"]] + current = np.r_[coarse_fine["output_current_A_m2"], tail["output_current_A_m2"]] + metrics = asdict(steady_jv_metrics(voltage, current, incident_power_W_m2=tail["incident_power_W_m2"])) + crossings = np.flatnonzero((voltage[:-1] >= 0.0) & (current[:-1] > 0.0) & (current[1:] <= 0.0)) + bracket = None + if metrics["open_circuit_voltage_V"] is not None and crossings.size: + index = int(crossings[0]) + bracket = {"voltage_V": voltage[index:index + 2].tolist(), + "output_current_A_m2": current[index:index + 2].tolist()} + return {"kind": "three_wave_accepted_steady_samples", "coarse_curve_sha256": coarse_sha256, + "fine_curve_sha256": fine_sha256, "tail_curve_sha256": tail_sha256, + "fine_parent_attempt_index": 5, "tail_parent_attempt_index": 39, + "fine_initial_sha256": coarse_fine["initial_export_sha256"], + "tail_initial_sha256": fine_tail["initial_export_sha256"], + "coarse_completed": coarse_fine["parent_completed"], + "fine_completed": coarse_fine["continuation_completed"], + "tail_completed": fine_tail["continuation_completed"], + "coarse_first_failure": coarse_fine["parent_first_failure"], + "fine_first_failure": fine_tail["parent_first_failure"], + "tail_first_failure": fine_tail["continuation_first_failure"], + "accepted_voltage_V": voltage.tolist(), "output_current_A_m2": current.tolist(), + "open_circuit_bracket": bracket, "open_circuit_bracket_established": bracket is not None, + "metrics": metrics, "metric_basis": "piecewise-linear interpolation of linked accepted samples only", + "incident_power_W_m2": tail["incident_power_W_m2"], + "efficiency_status": "unknown_incident_power" if tail["incident_power_W_m2"] is None else "sampled_grid", + "solver_calls_including_preserved_failures": + coarse_fine["solver_calls_including_preserved_failures"] + tail["solver_calls"], + "physical_certificate_status": "not_evaluated", "voltage_grid_qualification": "not_evaluated", + "mesh_qualification": "not_evaluated"} + + +def main() -> int: + parser = argparse.ArgumentParser(description=__doc__, formatter_class=argparse.RawDescriptionHelpFormatter) + commands = parser.add_subparsers(dest="command", required=True) + for name, help_text in (("solve", "one 51-point curve from an accepted illuminated initial"), + ("coarse-probe", "historical 17-point coarse probe")): + solve = commands.add_parser(name, help=help_text) + solve.add_argument("--initial-result", type=Path, required=True) + solve.add_argument("--initial-sha256", required=True) + solve.add_argument("--output", type=Path, required=True) + for name, help_text in (("continue", "forty 25 mV steps from an accepted 0.2 V point"), + ("tail", "two 25 mV steps from an accepted 1.2 V point")): + continuation = commands.add_parser(name, help=help_text) + continuation.add_argument("--parent-result", type=Path, required=True) + continuation.add_argument("--parent-sha256", required=True) + continuation.add_argument("--parent-index", type=int, required=True) + continuation.add_argument("--initial-output", type=Path, required=True) + continuation.add_argument("--output", type=Path, required=True) + read = commands.add_parser("read") + read.add_argument("--result", type=Path, required=True) + read.add_argument("--sha256", required=True) + read.add_argument("--parent-result", type=Path) + read.add_argument("--parent-sha256") + read.add_argument("--parent-index", type=int) + read.add_argument("--coarse-result", type=Path) + read.add_argument("--coarse-sha256") + args = parser.parse_args() + if args.command == "read": + value = pv_summary(read_ionic_steady_jv(args.result, args.sha256)) + if args.parent_result or args.parent_sha256 or args.parent_index is not None: + if not (args.parent_result and args.parent_sha256 and args.parent_index is not None): + parser.error("joined read requires parent-result, parent-sha256 and parent-index") + value = read_joined_pv(args.parent_result, args.parent_sha256, args.result, args.sha256, args.parent_index) + if args.coarse_result or args.coarse_sha256: + if not (args.coarse_result and args.coarse_sha256 and args.parent_result + and args.parent_sha256 and args.parent_index == 39): + parser.error("three-wave read requires coarse result/hash and fine parent at index39") + value = read_three_wave_pv(args.coarse_result, args.coarse_sha256, + args.parent_result, args.parent_sha256, args.result, args.sha256) + print(json.dumps(value, indent=2, allow_nan=False)) + return 0 + if args.output.exists(): + raise FileExistsError("preserve the previous wave; choose an unused output path") + device = compile_case("shared") + voltages: tuple[float, ...] + if args.command in ("continue", "tail"): + initial, _, _ = export_parent_initial(device, args.parent_result, args.parent_sha256, + args.parent_index, args.initial_output, expected_voltage_V=0.2 if args.command == "continue" else 1.2) + declared = initial.steady_controls + voltages = CONTINUATION_VOLTAGES_V if args.command == "continue" else TAIL_VOLTAGES_V + else: + declared = controls(device.ion_node_count) + initial = load_ionic_steady_initial(device, args.initial_result, args.initial_sha256, controls=declared) + voltages = VOLTAGES_V if args.command == "solve" else COARSE_PROBE_VOLTAGES_V + if initial.generation_scale != GENERATION_SCALE: + raise ValueError("the PV curve requires an already accepted G1 initial state") + result = run_ionic_steady_jv(device, voltages, generation_scale=GENERATION_SCALE, + options=IonicSteadyJVOptions(declared, max_points=len(voltages), wall_s=WAVE_WALL_S), + initial_policy="saved_accepted", initial=initial, incident_power_W_m2=None) + args.output.parent.mkdir(parents=True, exist_ok=True) + digest = write_ionic_steady_jv(result, args.output) + value = {"result_path": str(args.output.resolve()), "result_sha256": digest, + **pv_summary(read_ionic_steady_jv(args.output, digest))} + if args.command in ("continue", "tail"): + value["joined"] = read_joined_pv(args.parent_result, args.parent_sha256, args.output, digest, args.parent_index) + print(json.dumps(value, indent=2, allow_nan=False), flush=True) + return 0 if result.completed else 2 + + +if __name__ == "__main__": + raise SystemExit(main()) diff --git a/examples/research_1d/ionic_residual.py b/examples/research_1d/ionic_residual.py new file mode 100644 index 00000000..0ee49799 --- /dev/null +++ b/examples/research_1d/ionic_residual.py @@ -0,0 +1,81 @@ +"""Evaluate a real single-ion F/J/storage case, without a legacy or time solve. + +Run from the installed repository, with BLAS threads pinned to one: + OPENBLAS_NUM_THREADS=1 OMP_NUM_THREADS=1 MKL_NUM_THREADS=1 \ + VECLIB_MAXIMUM_THREADS=1 python -m examples.research_1d.ionic_residual +""" + +from __future__ import annotations + +import json +import math + +import numpy as np + +from examples.research_1d.steady import load_device +from solarlab.config.resolve_device import resolve_device +from solarlab.device.compile_ionic_1d import compile_ionic_device_1d +from solarlab.device.inputs import DeviceInput +from solarlab.device.resolved import PreparedDevice +from solarlab.equations.ionic_1d import Ionic1DProblem + + +def prepare_single_ion_device(*, diffusion_only: bool = False) -> PreparedDevice: + """Declare a homogeneous ionic slab using the existing physical material catalog.""" + template = load_device() + data = template.to_input().editing_data() + layer = next(layer for layer in data["layers"] if layer["role"].lower() == "absorber") + data["id"] = "single_positive_ion_slab" + data["name"] = "Single positive ion slab" + data["layers"] = [layer] + data["interfaces"] = [] + data["electrical_grid"] = [entry for entry in data.get("electrical_grid", []) if entry["layer"] == layer["id"]] + data["contacts"] = [dict(id=side, side=side, layer=layer["id"], S_n=None, S_p=None) for side in ("left", "right")] + data["settings"]["ion_steric_diffusion_only"] = diffusion_only + layer["parameters"].update(P0=1e24, P_lim=1e27, D_ion=1e-16, P0_neg=0.0, D_ion_neg=0.0, E_a_ion=0.58) + return resolve_device(DeviceInput.model_validate(data), template.defaults, template.resources, sources=template.sources) + + +def main() -> None: + prepared = prepare_single_ion_device(diffusion_only=True) + compiled = compile_ionic_device_1d(prepared, intervals_per_layer=12) + problem = Ionic1DProblem(compiled) + count = compiled.node_count + cold = compiled.initial_state() + y = cold.u.copy() + coordinate = (compiled.nodes_m - compiled.nodes_m[0]) / compiled.ion_geometry.extent_m + y[:count] += 0.002 * np.sin(np.pi * coordinate) + y[3 * count:] = 0.1 * np.cos(np.pi * coordinate) + state = compiled.state(y) + residual = problem.residual(y) + jacobian = problem.jacobian(y) + flux = problem.ion_fluxes(y) + ion_balance = residual[3 * count:] + roundoff_bound = 4 * np.finfo(float).eps * math.fsum(abs(flux).tolist()) + _, n, p, density = compiled.fields(y) + rho = compiled.charge_ledger(n, p, density).space_charge_C_m3() + print(json.dumps({ + "scope": "actual coupled F/J/storage evaluation; ionic steady/transient qualification remains open", + "compiled_identity": compiled.identity, + "original_prepared_identity": compiled.original_prepared_sha256, + "electronic_component_identity": compiled.electronic_component.identity, + "node_count": count, + "domain_layer": compiled.domain_layer_id, + "domain_bounds_m": compiled.domain_bounds_m, + "ion_geometry": compiled.ion_geometry.name, + "steric_model": compiled.steric_model, + "reference_inventory_m2": compiled.reference_inventory_m2, + "trial_inventory_m2": state.domain_inventory_m2, + "ion_face_flux_m2_s": flux.tolist(), + "ion_balance_sum_m2_s": math.fsum(ion_balance.tolist()), + "ion_balance_roundoff_bound_m2_s": roundoff_bound, + "max_charge_density_C_m3": float(np.max(abs(rho))), + "max_poisson_residual_C_m2": float(np.max(abs(residual[1:count - 1]))), + "jacobian_shape": jacobian.shape, + "jacobian_nonzeros": jacobian.nnz, + "ion_storage_diagonal_m2": problem.storage_jacobian(y).diagonal()[3 * count:].tolist(), + }, indent=2, allow_nan=False)) + + +if __name__ == "__main__": + main() diff --git a/examples/research_1d/ionic_steady.py b/examples/research_1d/ionic_steady.py new file mode 100644 index 00000000..c0814b0c --- /dev/null +++ b/examples/research_1d/ionic_steady.py @@ -0,0 +1,69 @@ +"""One cold coupled steady solve at 2 mV with fixed physical ion inventory. + +The default is the original 13-node slab. --multilayer keeps all three +electrical layers (37 nodes) and confines 13 ion nodes to the absorber. +""" + +from __future__ import annotations + +import argparse +import json +from pathlib import Path + +import numpy as np + +from examples.research_1d.ionic_residual import prepare_single_ion_device +from examples.research_1d.transient import json_value +from solarlab.device.compile_ionic_1d import compile_ionic_device_1d +from solarlab.solvers.nonlinear.ionic_1d import IonicSteadyOptions, solve_ionic_steady_state +from solarlab.solvers.nonlinear.problem import SolveBudget +from solarlab.solvers.nonlinear.steady_1d import SteadyOptions + + +def controls(node_count: int) -> IonicSteadyOptions: + """The count is the number of ion-domain nodes, independent of electrical N.""" + return IonicSteadyOptions(SteadyOptions(), 1e-12, 1e6, 1e6, 1.0, node_count - 1, + SolveBudget(60, 600, 60, 24), 30.0) + + +def main() -> int: + parser = argparse.ArgumentParser(description=__doc__) + parser.add_argument("--output", type=Path, required=True) + parser.add_argument("--multilayer", action="store_true") + args = parser.parse_args() + if args.output.exists(): + raise FileExistsError("preserve existing attempts; choose a new output path") + if args.multilayer: + from examples.research_1d.ionic_multilayer import prepare_confined_ion_device + + prepared = prepare_confined_ion_device(diffusion_only=True) + device = compile_ionic_device_1d(prepared, intervals_per_layer=(12, 12, 12), + ion_domain_layer="absorber", + ion_domain_endpoints=("blocking", "blocking")) + else: + prepared = prepare_single_ion_device(diffusion_only=True) + device = compile_ionic_device_1d(prepared, intervals_per_layer=12) + result = solve_ionic_steady_state(device, voltage_V=0.002, generation_scale=0.0, + options=controls(device.ion_node_count)) + summary = {"accepted": result.accepted, "termination": result.termination, + "node_count": device.node_count, "compiled_identity": device.identity, + "ion_node_count": device.ion_node_count, "state_size": device.state_size, + "ion_node_indices": device.ion_node_indices, "ion_domain_bounds_m": device.domain_bounds_m, + "initialization": "compiler cold state; no prior solve", + "voltage_V": 0.002, "generation_scale": 0.0, "wall_s": result.wall_s, + "qualification": False, "error": result.error, + "newton_iterations": None if result.newton is None else result.newton.iteration_count, + "evaluation_counts": result.evaluation_counts, + "checks": result.checks} + if result.state is not None: + summary["ion_relative_redistribution"] = float(np.max(abs( + result.state.positive_ion_density_m3 / device.positive_ion_reference_m3 - 1))) + args.output.parent.mkdir(parents=True, exist_ok=True) + args.output.write_text(json.dumps(json_value({"summary": summary, "result": result}), + indent=2, allow_nan=False) + "\n") + print(json.dumps(json_value(summary), indent=2, allow_nan=False)) + return 0 if result.accepted else 2 + + +if __name__ == "__main__": + raise SystemExit(main()) diff --git a/examples/research_1d/ionic_transient.py b/examples/research_1d/ionic_transient.py new file mode 100644 index 00000000..f5690bdc --- /dev/null +++ b/examples/research_1d/ionic_transient.py @@ -0,0 +1,133 @@ +"""A pinned 37/13-node ionic steady input driven from 2 to 4 mV over one second. + +--refine runs independent 4/8/16 requested grids once each, stopping after the +first partial history. No initial steady solve is repeated. Raw accounting +and first failures remain in the output; physical status is not_evaluated. +""" + +from __future__ import annotations + +import argparse +import json +import math +from pathlib import Path +import time + +import numpy as np + +from examples.research_1d.ionic_multilayer import prepare_confined_ion_device +from examples.research_1d.ionic_steady import controls as steady_controls +from examples.research_1d.transient import json_value +from solarlab.device.compile_ionic_1d import compile_ionic_device_1d +from solarlab.experiments.ionic_transient import ( + IonicTransientOptions, load_ionic_steady_initial, solve_ionic_transient, +) +from solarlab.experiments.transient import TransientOptions, TransientProtocol +from solarlab.solvers.nonlinear.problem import SolveBudget +from solarlab.solvers.nonlinear.production import POISSON_CONTACT_BALANCE_V1 + + +def controls() -> IonicTransientOptions: + electronic = TransientOptions(1e-11, 1e-8, 1e-11, 0.1, 2.0, + SolveBudget(50, 500, 50, 24), 16, 30.0, "previous", POISSON_CONTACT_BALANCE_V1) + return IonicTransientOptions(electronic, 1e6, 1.0) + + +def protocol(steps: int) -> TransientProtocol: + times = np.linspace(0.0, 1.0, steps + 1) + return TransientProtocol(times, 0.002 + 0.002 * times, np.zeros(steps + 1)) + + +def history_summary(device, result) -> dict[str, object]: + widths = device.ion_geometry.cell_measures_m + initial = result.states[0].positive_ion_density_m3 + initial_total = math.fsum((widths * initial).tolist()) + inventories = [math.fsum((widths * state.positive_ion_density_m3).tolist()) for state in result.states] + measured = [attempt for attempt in result.attempts if attempt.accounting is not None] + residual_bound = math.fsum((a.end_s - a.start_s) * math.fsum(abs(a.accounting["ion_balance_m2_s"]).tolist()) + for a in measured if a.accepted) + readback_bound = math.fsum((a.end_s - a.start_s) + * math.fsum(abs(a.accounting["ion_inventory_readback_error_m2_s"]).tolist()) + for a in measured if a.accepted) + return { + "requested_steps": result.protocol.times_s.size - 1, + "accepted_steps": len(result.states) - 1, + "completed": result.completed, + "accepted_times_s": result.accepted_times_s, + "max_ion_relative_redistribution": max(float(np.max(abs(state.positive_ion_density_m3 / initial - 1))) + for state in result.states), + "ion_inventory_m2": inventories, + "max_inventory_drift_m2": max(abs(value - initial_total) for value in inventories), + "integrated_ion_residual_l1_m2": residual_bound, + "integrated_inventory_readback_l1_m2": readback_bound, + "max_ion_flux_m2_s": max((float(np.max(abs(a.accounting["ion_domain_fluxes_m2_s"]))) + for a in measured), default=None), + "maxwell_spread_A_m2": max((a.accounting["maxwell_spread_A_m2"] for a in measured), default=None), + "maxwell_identity_error_A_m2": max((float(np.max(abs(a.accounting["maxwell_identity_error_A_m2"]))) + for a in measured), default=None), + "readback_maxwell_identity_error_A_m2": max((float(np.max(abs(a.accounting["readback_maxwell_identity_error_A_m2"]))) + for a in measured), default=None), + "max_ion_BE_l1_m2_s": max((math.fsum(abs(a.accounting["ion_balance_m2_s"]).tolist()) + for a in measured), default=None), + "newton_iterations": [None if a.newton is None else a.newton.iteration_count for a in result.attempts], + "evaluation_counts": result.evaluation_counts, + "wall_s": result.wall_s, + "failures": [{"start_s": a.start_s, "end_s": a.end_s, "termination": a.termination, + "error": a.error, "newton_message": None if a.newton is None else a.newton.message} + for a in result.failed_attempts], + "physical_certificate_status": result.physical_certificate_status, + } + + +def main() -> int: + parser = argparse.ArgumentParser(description=__doc__) + parser.add_argument("--initial-result", type=Path, required=True) + parser.add_argument("--initial-sha256", required=True) + parser.add_argument("--output", type=Path, required=True) + parser.add_argument("--refine", action="store_true") + args = parser.parse_args() + temporary = args.output.with_name("." + args.output.name + ".tmp") + if args.output.exists() or temporary.exists(): + raise FileExistsError("preserve the existing history; choose a new output path") + started = time.monotonic() + device = compile_ionic_device_1d(prepare_confined_ion_device(diffusion_only=True), + intervals_per_layer=(12, 12, 12), ion_domain_layer="absorber", + ion_domain_endpoints=("blocking", "blocking")) + initial = load_ionic_steady_initial(device, args.initial_result, args.initial_sha256, + controls=steady_controls(device.ion_node_count)) + results, summaries = [], [] + requested = (4, 8, 16) if args.refine else (4,) + summary = {"compiled_identity": device.identity, "electrical_nodes": device.node_count, + "ion_nodes": device.ion_node_count, "state_size": device.state_size, + "initial_source_path": initial.source_path, "initial_source_sha256": initial.source_sha256, + "voltage_protocol": "V(t)=0.002+0.002*t V, 0<=t<=1 s; explicit BE right endpoints", + "generation_protocol": "g(t)=0", "requested_step_counts": requested, + "histories": summaries, "physical_certificate_status": "not_evaluated"} + args.output.parent.mkdir(parents=True, exist_ok=True) + for steps in requested: + result = solve_ionic_transient(device, initial, protocol(steps), options=controls()) + results.append(result) + summaries.append(history_summary(device, result)) + if len(results) == 3 and all(item.completed for item in results): + final = [device.ion_geometry.cell_measures_m * item.states[-1].positive_ion_density_m3 for item in results] + differences = [float(np.max(abs(a - b))) for a, b in zip(final[:-1], final[1:])] + signal = float(np.max(abs(final[-1] - device.ion_geometry.cell_measures_m * initial.state.positive_ion_density_m3))) + summary["successive_final_ion_cell_inventory_differences_m2"] = differences + summary["difference_ratio"] = differences[0] / differences[1] if differences[1] else None + summary["final_ion_cell_inventory_motion_m2"] = signal + summary["difference_to_motion_ratios"] = [value / signal for value in differences] if signal else None + summary["wall_s"] = time.monotonic() - started + try: + temporary.write_text(json.dumps(json_value({"summary": summary, "results": results}), + indent=2, allow_nan=False) + "\n") + temporary.replace(args.output) + finally: + temporary.unlink(missing_ok=True) + print(json.dumps(json_value(summaries[-1]), indent=2, allow_nan=False), flush=True) + if not result.completed: + break + return 0 if len(results) == len(requested) and all(item.completed for item in results) else 2 + + +if __name__ == "__main__": + raise SystemExit(main()) diff --git a/examples/research_1d/ionic_transient_service.py b/examples/research_1d/ionic_transient_service.py new file mode 100644 index 00000000..eca2279f --- /dev/null +++ b/examples/research_1d/ionic_transient_service.py @@ -0,0 +1,100 @@ +"""Serve explicitly installed dark positive-D ionic transient research jobs. + +GET /experiments supplies the real devices, schema and required headers. +POST /jobs accepts explicit samples and work budgets. Completed and failed +prefixes share the existing results/artifact/SSE routes; readback never solves. +""" +from __future__ import annotations + +import argparse +from dataclasses import asdict +import json +from pathlib import Path +import subprocess +from typing import Any, TYPE_CHECKING + +if TYPE_CHECKING: + from solarlab.config.identity import BuildSource + from solarlab.experiments.worker import ResourceLimits + from solarlab_server.job_service import ExecutionCatalog + +ROOT = Path(__file__).resolve().parents[2] + + +def resource_limits() -> ResourceLimits: + from solarlab.experiments.worker import ResourceLimits + return ResourceLimits(30., 1536 * 1024**2, 96 * 1024**2, None, None) + + +def example_submission(run_id: str = "http-ionic-transient", *, failure: bool = False) -> dict[str, Any]: + from examples.research_1d.ionic_steady import controls as steady_controls + from examples.research_1d.ionic_transient import controls as time_controls + initial = asdict(steady_controls(13)) + electronic = asdict(time_controls())["electronic"] + if failure: + electronic["newton_budget"] = {"max_iterations": 1, "max_residual_evaluations": 10, + "max_jacobian_evaluations": 1, "max_backtracks": 4} + return {"schema_version": "solarlab.job-submission.v1", "run_id": run_id, + "experiment_id": "ionic_transient_1d", "version": 1, "engine": "solarlab", + "input": {"device_id": "research_1d_shared", "times_s": [0., .25, .5, .75, 1.], + "voltage_V": [.002, .002 if failure else .0025, .003, .0035, .004], + "generation_scale": [0.] * 5, "intervals_per_layer": [12, 12, 12], + "controls": {"initial_steady": {name: initial[name] for name in ("budget", "inventory_row_node", "wall_s")}, + "transient": {name: electronic[name] for name in ("newton_budget", "max_steps", "wall_s")}}}, + "limits": asdict(resource_limits())} + + +def installed_catalog(implementation: BuildSource, current_repository_head: str) -> ExecutionCatalog: + from examples.research_1d.ionic_multilayer import prepare_confined_dual_ion_device, prepare_confined_ion_device + from examples.research_1d.shared_site_ionic_fixture import prepare_confined_shared_site_ion_device + from solarlab_server.ionic_transient_preparation import IonicTransientPreparationContext, ionic_transient_execution_catalog + devices = (("research_1d_positive", prepare_confined_ion_device(diffusion_only=True)), + ("research_1d_dual", prepare_confined_dual_ion_device(diffusion_only=True)), + ("research_1d_shared", prepare_confined_shared_site_ion_device())) + return ionic_transient_execution_catalog(IonicTransientPreparationContext( + devices, "absorber", implementation, current_repository_head), ceiling=resource_limits()) + + +def main() -> None: + parser = argparse.ArgumentParser(description=__doc__) + parser.add_argument("--store", type=Path, required=True) + parser.add_argument("--work", type=Path, required=True) + parser.add_argument("--build-source-commit", required=True) + parser.add_argument("--source-archive", type=Path) + parser.add_argument("--current-repository-head") + parser.add_argument("--port", type=int, default=8000) + args = parser.parse_args() + if not 1 <= args.port <= 65535: + parser.error("port must be between 1 and 65535") + # Spawn reconstructs this module before isolation, so engine imports stay + # inside the application entry point and ordinary helper calls. + import uvicorn + from examples.research_1d.process_ionic_transient import source_build + from solarlab.experiments.execution import ProcessSupervisor + from solarlab.io.run_store import RunStore + from solarlab_server.app import create_app + from solarlab_server.job_service import JobService + implementation = source_build(args.build_source_commit, args.source_archive) + head = args.current_repository_head or subprocess.check_output( + ["git", "rev-parse", "HEAD"], cwd=ROOT, text=True, timeout=5).strip() + catalog = installed_catalog(implementation, head) + store_path, work = args.store.expanduser().resolve(), args.work.expanduser().resolve() + store_path.parent.mkdir(parents=True, exist_ok=True) + work.parent.mkdir(parents=True, exist_ok=True) + with RunStore(store_path) as store, ProcessSupervisor(store, work, catalog.worker_bindings(), + max_active=1, max_pending=2, shared_rss_bytes=3 * 1024**3, shared_output_bytes=384 * 1024**2) as supervisor: + app = create_app(store.root, job_service=JobService(catalog, supervisor)) + print(json.dumps({"base_url": f"http://127.0.0.1:{args.port}", "build_source_commit": implementation.build_source_commit, + "current_repository_head": head, "execution_catalog_sha256": catalog.document.sha256, + "job_schema_sha256": catalog.schema.sha256, "example_submission": example_submission(), + "scientific_qualification": False}), flush=True) + try: + uvicorn.run(app, host="127.0.0.1", port=args.port, workers=1, loop="asyncio", http="h11") + except KeyboardInterrupt: + pass # Uvicorn re-raises SIGINT after normal ASGI shutdown. + print(json.dumps({"service_closed": True, "read_handle_closed": app.state.run_store is None, + "process_owner_closed": supervisor._closed}), flush=True) + + +if __name__ == "__main__": + main() diff --git a/examples/research_1d/jv_scan.py b/examples/research_1d/jv_scan.py new file mode 100644 index 00000000..74236f8c --- /dev/null +++ b/examples/research_1d/jv_scan.py @@ -0,0 +1,263 @@ +"""Run and retain a small, explicitly steady new-core research sweep.""" + +from __future__ import annotations + +import argparse +from dataclasses import asdict +from datetime import datetime, timezone +import hashlib +import importlib.metadata +import json +import os +from pathlib import Path +import platform +import sys +import time +from typing import Any + +import numpy as np +from threadpoolctl import threadpool_info, threadpool_limits + +import solarlab +from solarlab.experiments.jv.steady import SteadyJVResult, publish_steady_jv +from solarlab.io.run_store import RunStore +from solarlab.io.storage import require_local_storage +from solarlab.solvers.nonlinear.steady_1d import SteadyOptions +from solarlab.sweeps.inputs import SweepInput +from solarlab.sweeps.preparation import PreparedSweep, digest, prepare_sweep +from solarlab.sweeps.steady import SteadySweepPoint, run_prepared_steady_sweep + +if __package__: + from .steady import load_device + from .read_results import read_study, summarize +else: + from steady import load_device + from read_results import read_study, summarize + +ROOT = Path(__file__).resolve().parents[2] +SCOPE = "solarlab.research-1d.execution.v1" +THREAD_NAMES = ("OMP_NUM_THREADS", "OPENBLAS_NUM_THREADS", "MKL_NUM_THREADS", + "VECLIB_MAXIMUM_THREADS", "NUMEXPR_NUM_THREADS", "BLIS_NUM_THREADS") + + +def file_sha256(path: Path) -> str: + value = hashlib.sha256() + with path.open("rb") as stream: + for block in iter(lambda: stream.read(1024 * 1024), b""): + value.update(block) + return value.hexdigest() + + +def source_record(config: Path) -> dict[str, Any]: + """Actual source bytes, including uncommitted code; HEAD is not a proxy.""" + package = Path(solarlab.__file__).resolve().parent + files = {"solarlab/" + str(path.relative_to(package)): path + for path in package.rglob("*.py")} + files.update({"example/" + name: Path(__file__).with_name(name) + for name in ("steady.py", "jv_scan.py", "read_results.py")}) + files.update({name: ROOT / name for name in ("pyproject.toml", "uv.lock")}) + files["supplied_configuration"] = config + records = [{"name": name, "path": str(path), "sha256": file_sha256(path)} + for name, path in sorted(files.items())] + return {"scope": "actual_python_sources_and_input; not a release attestation", + "files": records, "sha256": digest(records)} + + +def runtime_record() -> dict[str, Any]: + pools = [{**item, "binary_sha256": file_sha256(Path(item["filepath"]))} + for item in threadpool_info()] + value = { + "python": sys.version, "python_executable": sys.executable, + "python_executable_sha256": file_sha256(Path(sys.executable)), + "platform": platform.platform(), "machine": platform.machine(), + "packages": {name: importlib.metadata.version(name) + for name in ("solarlab", "numpy", "scipy", "pydantic", "threadpoolctl")}, + "thread_environment": {name: os.environ.get(name) for name in THREAD_NAMES}, + "threadpools": pools, + } + return {**value, "sha256": digest(value)} + + +def make_sweep(config: Path, *, study_id: str, parameter: str, + values: list[float | str], layer: str = "absorber") -> PreparedSweep: + if parameter not in {"tau_n", "tau_p", "mu_n", "mu_p"}: + raise ValueError("this example exposes only explicit lifetime or mobility fields") + prepared = load_device(config) + declaration = SweepInput.model_validate({ + "schema_version": "solarlab.sweep-preparation.v1", "id": study_id, + "base": prepared.to_input().editing_data(), + "axes": [{"id": parameter, + "target": {"family": "layer_parameter", "owner_id": layer, + "parameter": [parameter]}, + "coordinates": [{"kind": "value", "value": value} for value in values]}], + }) + return prepare_sweep(declaration, prepared.defaults, prepared.resources, sources=prepared.sources) + + +def identity_payloads(point: dict[str, Any], sweep: PreparedSweep, + result: SteadyJVResult | None, protocol: dict[str, Any], + sources: dict[str, Any], runtime: dict[str, Any]) -> dict[str, Any]: + """Research-scoped identities; no claim to a frozen registry release.""" + inputs = {"scope": SCOPE + ":input", "supplied_point": point["applied_input"], + "declared_coordinates": point["coordinates"], + "prepared_content_sha256": point.get("content_sha256"), + "resolved_sha256": point.get("resolved_sha256"), + "defaults_sha256": sweep.defaults.content_sha256, + "resources_sha256": sweep.resources.content_sha256, + "configuration_sources": [{"id": s.id, "sha256": s.sha256} for s in sweep.sources]} + physics = {"scope": SCOPE + ":physics", "H_input": digest(inputs), + "compiled_identity": None if result is None else result.compiled_identity, + "binding_status": "no_completed_curve" if result is None else "observed_in_completed_result", + "generation_scale": protocol["generation_scale"]} + execution = {"scope": SCOPE, "H_input": digest(inputs), "H_physics": digest(physics), + "protocol": protocol, "source_sha256": sources["sha256"], + "runtime_sha256": runtime["sha256"], "engine": "solarlab", + "cross_parameter_state_reuse": False, + "initialization": "new-core cold point; continuation only within voltage curve"} + return {"H_input": inputs, "H_physics": physics, "H_execution": execution} + + +def array_fingerprints(result: SteadyJVResult) -> dict[str, Any]: + arrays = {"nodes_m": result.nodes_m, "voltage_V": result.voltage_V, + "current_density_A_m2": result.current_density_A_m2, + "contact_current_density_A_m2": np.asarray([point.contact_current_density_A_m2 for point in result.solutions]), + "output_current_A_m2": result.output_current_A_m2} + for name in ("potential_V", "electron_density_m3", "hole_density_m3"): + arrays[name] = np.asarray([getattr(point.state, name) for point in result.solutions]) + return {name: {"dtype": value.dtype.str, "shape": list(value.shape), + "sha256": hashlib.sha256(value.tobytes(order="C")).hexdigest()} + for name, value in arrays.items()} + + +def run_study(store_path: Path, *, config: Path, study_id: str = "lifetime", + parameter: str = "tau_n", values: list[float | str] | None = None, + layer: str = "absorber", intervals_per_layer: int = 12, + voltage_points: int = 51, voltage_max_V: float = 1.25, + generation_scale: float = 1.0, + incident_power_W_m2: float | None = None) -> dict[str, Any]: + """Compute once, then publish the returned outcomes under actual identities. + + RunStore attempts describe result publication, not a fictional pre-solve + claim. The measured calculation window is saved separately. This small + example does not implement supervisor crash recovery or automatic retries. + """ + store_path, config = store_path.expanduser().resolve(), config.expanduser().resolve() + if store_path.exists(): + raise FileExistsError("choose a fresh store; existing attempts are never overwritten") + require_local_storage(store_path) + store_path.parent.mkdir(parents=True, exist_ok=True) + if not 2 <= voltage_points <= 101 or not np.isfinite(voltage_max_V) or voltage_max_V <= 0: + raise ValueError("request 2..101 voltage samples and a positive finite maximum") + if not np.isfinite(generation_scale) or generation_scale < 0: + raise ValueError("generation_scale must be finite and nonnegative") + if incident_power_W_m2 is not None and (not np.isfinite(incident_power_W_m2) or incident_power_W_m2 <= 0): + raise ValueError("incident power must be finite and positive when supplied") + sweep = make_sweep(config, study_id=study_id, parameter=parameter, + values=["1 us", "2 us"] if values is None else values, layer=layer) + if len(sweep.to_mapping()["points"]) > 8: + raise ValueError("this small serial example is bounded to eight parameter points") + voltages = np.linspace(0.0, voltage_max_V, voltage_points) + options = SteadyOptions() # Preserve the production physical/numerical limits. + protocol = {"kind": "steady_voltage_continuation", "voltage_V": voltages.tolist(), + "intervals_per_layer": intervals_per_layer, "generation_scale": generation_scale, + "incident_power_W_m2": incident_power_W_m2, "solver_controls": asdict(options)} + with threadpool_limits(limits=1), RunStore(store_path) as store: + sources, runtime = source_record(config), runtime_record() + started = datetime.now(timezone.utc).isoformat() + start = time.monotonic() + fatal = None + results: tuple[SteadySweepPoint, ...] = () + try: + results = run_prepared_steady_sweep( + sweep, voltages, intervals_per_layer=intervals_per_layer, + generation_scale=generation_scale, incident_power_W_m2=incident_power_W_m2, + options=options) + if source_record(config)["sha256"] != sources["sha256"]: + raise RuntimeError("source bytes changed during the calculation; publication refused") + except Exception as failure: + fatal = f"{type(failure).__name__}: {failure}" + window = {"started_utc": started, "finished_utc": datetime.now(timezone.utc).isoformat(), + "elapsed_seconds": time.monotonic() - start, "scope": "whole serial calculation"} + declarations = sweep.to_mapping()["points"] + if fatal is None and [p.point_id for p in results] != [p["id"] for p in declarations]: + fatal = "runner returned a different point sequence" + for index, point in enumerate(declarations): + outcome = results[index] if fatal is None else None + result = None if outcome is None else outcome.result + error = fatal if outcome is None else outcome.error + if outcome is not None and (outcome.status == "completed") != (result is not None): + result, error = None, "runner status and result presence disagree" + if result is not None and result.solver_controls != protocol["solver_controls"]: + result, error = None, "result solver controls differ from the requested controls" + payloads = identity_payloads(point, sweep, result, protocol, sources, runtime) + identity = {key: digest(value) for key, value in payloads.items()} + identity["scope"] = SCOPE + metadata = {"schema": "solarlab.research-1d.point.v1", "study_id": study_id, + "point_id": point["id"], "point_index": index, "identity_payloads": payloads, + "sources": sources, "runtime": runtime, "calculation_window": window, + "attempt_phase": "publication_of_returned_calculation_outcome", + "automatic_retry": False} + run_id = "research:" + digest([study_id, point["id"]]) + row = store.enqueue(run_id, opaque_identity=identity, input_metadata=metadata) + store.bind_sweep_point(study_id, point["id"], run_id=run_id, + coordinates=point["normalized_coordinates"]) + token = store.claim(run_id, expected_attempt_id=row["current_attempt_id"], + expected_generation=row["generation"], owner_id="research_1d_example") + if result is None: + store.complete(token, state="failed", result={ + "schema": "solarlab.research-1d.failure.v1", "point_status": "failed", + "reason": error or "runner returned no complete result", "compiled_identity": None, + "qualification": "no_completed_curve"}) + continue + try: + document = publish_steady_jv(store, token, result) + document["research_array_fingerprints"] = array_fingerprints(result) + document["metrics_status"] = ("estimated" if result.metrics.open_circuit_voltage_V is not None + else "unavailable") + store.complete(token, state="succeeded", result=document, + artifacts=document["artifact_ids"]) + except Exception as failure: + if store.get_run(run_id)["state"] == "running": + store.complete(token, state="failed", result={ + "schema": "solarlab.research-1d.failure.v1", "point_status": "failed", + "reason": f"publication: {type(failure).__name__}: {failure}", + "compiled_identity": result.compiled_identity}) + raise + return summarize(read_study(store_path, study_id)) + + +def main(argv: list[str] | None = None) -> int: + parser = argparse.ArgumentParser(description=__doc__) + parser.add_argument("--store", type=Path, required=True, help="fresh absolute local RunStore directory") + parser.add_argument("--config", type=Path, default=Path(__file__).with_name("device.json")) + parser.add_argument("--study-id", default="lifetime") + parser.add_argument("--layer", default="absorber") + parser.add_argument("--parameter", choices=("tau_n", "tau_p", "mu_n", "mu_p"), default="tau_n") + parser.add_argument("--values", nargs="+", default=None, help="SI numbers or quoted unit strings") + parser.add_argument("--intervals-per-layer", type=int, default=12) + parser.add_argument("--voltage-points", type=int, default=51) + parser.add_argument("--voltage-max", type=float, default=1.25) + parser.add_argument("--generation-scale", type=float, default=1.0) + parser.add_argument("--incident-power", type=float, default=None, help="explicit W/m^2; omit to leave efficiency null") + args = parser.parse_args(argv) + if args.values is None and args.parameter not in {"tau_n", "tau_p"}: + parser.error("mobility sweeps require explicit --values") + values: list[float | str] | None = None + if args.values is not None: + values = [] + for value in args.values: + try: + values.append(float(value)) + except ValueError: + values.append(value) + result = run_study(args.store, config=args.config, study_id=args.study_id, + parameter=args.parameter, values=values, layer=args.layer, + intervals_per_layer=args.intervals_per_layer, voltage_points=args.voltage_points, + voltage_max_V=args.voltage_max, generation_scale=args.generation_scale, + incident_power_W_m2=args.incident_power) + print(json.dumps(result, indent=2, allow_nan=False)) + return 0 if result["outcome"] == "completed_with_estimated_metrics" else 2 + + +if __name__ == "__main__": + raise SystemExit(main()) diff --git a/examples/research_1d/multiple_ionic_domains.py b/examples/research_1d/multiple_ionic_domains.py new file mode 100644 index 00000000..a3e15d47 --- /dev/null +++ b/examples/research_1d/multiple_ionic_domains.py @@ -0,0 +1,79 @@ +"""Actual two blocking absorber domains, without a nonlinear solve.""" + +from __future__ import annotations + +from copy import deepcopy +import json +import math + +import numpy as np + +from examples.research_1d.ionic_multilayer import prepare_confined_ion_device +from solarlab.config.resolve_device import resolve_device +from solarlab.device.compile_multiple_ionic_1d import compile_multiple_ionic_device_1d +from solarlab.device.inputs import DeviceInput +from solarlab.device.resolved import PreparedDevice +from solarlab.equations.multiple_ionic_1d import MultipleIonic1DProblem + +DOMAINS = (("absorber_left", ("blocking", "blocking")), ("absorber_right", ("blocking", "blocking"))) +INTERVALS = (2, 3, 2, 3, 2) + + +def prepare_multiple_ionic_device(*, kind: str = "positive", right_immobile: bool = False) -> PreparedDevice: + """HTL/absorber/gap/absorber/ETL; every modification is an explicit input.""" + if kind not in {"positive", "independent", "shared"}: + raise ValueError("kind must be positive, independent or shared") + prepared = prepare_confined_ion_device() + data = prepared.to_input().editing_data() + htl, absorber, etl = (deepcopy(layer) for layer in data["layers"]) + first, second, gap = deepcopy(absorber), deepcopy(absorber), deepcopy(htl) + first.update(id="absorber_left", thickness=120e-9) + second.update(id="absorber_right", thickness=180e-9) + gap.update(id="inactive_gap", thickness=40e-9) + first["parameters"].update(P0=1e24, P_lim=4e24, D_ion=1e-16) + second["parameters"].update(P0=7e23, P_lim=3e24, D_ion=0.0 if right_immobile else 4e-17) + if kind != "positive": + first["parameters"].update(P0_neg=5e23, P_lim_neg=first["parameters"]["P_lim"] if kind == "shared" else 7e24, D_ion_neg=3e-17) + second["parameters"].update(P0_neg=4e23, P_lim_neg=second["parameters"]["P_lim"] if kind == "shared" else 6e24, + D_ion_neg=0.0 if right_immobile else 2e-17) + data["id"] = "two_separated_blocking_ion_domains_" + kind + data["settings"]["ion_steric_shared_site"] = kind == "shared" + data["layers"] = [htl, first, gap, second, etl] + grids = {entry["layer"]: entry for entry in data["electrical_grid"]} + data["electrical_grid"] = [ + {**grids[original], "layer": layer["id"]} + for layer, original in ((htl, htl["id"]), (first, absorber["id"]), (gap, htl["id"]), + (second, absorber["id"]), (etl, etl["id"])) + ] + return resolve_device(DeviceInput.model_validate(data), prepared.defaults, prepared.resources, sources=prepared.sources) + + +def main() -> None: + prepared = prepare_multiple_ionic_device() + device = compile_multiple_ionic_device_1d(prepared, intervals_per_layer=INTERVALS, ion_domains=DOMAINS) + problem = MultipleIonic1DProblem(device, voltage_V=0.002) + y = device.initial_state(voltage_V=0.002).u.copy() + for domain in device.domains: + for species, block in device.ion_species_slices[domain.domain_layer_id].items(): + y[block] = np.linspace(-0.12, 0.15 if species == "positive" else 0.08, domain.ion_node_count) + state = device.state(y, voltage_V=0.002) + F, J, K = problem.residual(y), problem.jacobian(y), problem.storage_jacobian(y) + print(json.dumps({ + "compiled_identity": device.identity, "original_prepared_identity": device.original_prepared_sha256, + "electrical_nodes": device.node_count, "state_size": device.state_size, + "domains": [{"layer": domain.domain_layer_id, "electrical_node_indices": domain.ion_node_indices.tolist(), + "physical_weights_m": domain.ion_geometry.cell_measures_m.tolist(), + "site_contract": domain.ion_site_contract} for domain in device.domains], + "reference_inventories_m2": device.reference_inventories_m2, "actual_inventories_m2": state.domain_inventories_m2, + "original_balance_sums_m2_s": {name: {species: math.fsum(F[block].tolist()) for species, block in blocks.items()} + for name, blocks in device.ion_species_slices.items()}, + "signed_ionic_current_A_m2": problem.ion_current_density_A_m2(y).tolist(), + "jacobian_shape": J.shape, "jacobian_nonzeros": J.nnz, "storage_nonzeros": K.nnz, + "physical_storage_m2": problem.physical_storage(y).tolist(), + "all_finite": bool(np.all(np.isfinite(F)) and np.all(np.isfinite(J.data)) and np.all(np.isfinite(K.data))), + "nonlinear_solves": 0, "qualification": False, + }, indent=2, allow_nan=False)) + + +if __name__ == "__main__": + main() diff --git a/examples/research_1d/multiple_ionic_impedance.py b/examples/research_1d/multiple_ionic_impedance.py new file mode 100644 index 00000000..dbda24b8 --- /dev/null +++ b/examples/research_1d/multiple_ionic_impedance.py @@ -0,0 +1,82 @@ +"""One two-domain AC sweep from checksum-bound accepted DC; no DC solve. + + .venv/bin/python -m examples.research_1d.multiple_ionic_impedance solve \ + --initial-result Steady.json --initial-sha256 SHA --output AC.json + .venv/bin/python -m examples.research_1d.multiple_ionic_impedance read \ + --result AC.json --sha256 SHA + +The initial scope is the declared 13-electrical/4+4-positive-ion dark device. +Both ion domains are explicitly blocking and keep their independent physical +inventories. Phasors use exp(+i omega t), with no scientific qualification. +""" + +from __future__ import annotations + +import argparse +import json +from pathlib import Path +from typing import Any + +from examples.research_1d.ionic_steady import controls as steady_controls +from examples.research_1d.multiple_ionic_domains import DOMAINS, INTERVALS, prepare_multiple_ionic_device +from solarlab.device.compile_multiple_ionic_1d import compile_multiple_ionic_device_1d +from solarlab.experiments.ionic_impedance import IonicImpedanceOptions +from solarlab.experiments.multiple_ionic_impedance import ( + MultipleIonicImpedanceResult, read_multiple_ionic_impedance_result, + solve_multiple_ionic_impedance, write_multiple_ionic_impedance_result, +) +from solarlab.experiments.multiple_ionic_transient import load_multiple_ionic_steady_initial + + +def summary(record: dict[str, Any]) -> dict[str, Any]: + result = record["result"] + return {"completed": record["completed"], "compiled_identity": result["compiled_identity"], + "initial_provenance": {key: result["initial_provenance"][key] for key in ("source_path", "source_sha256", "state_sha256")}, + "linear_solver_calls": result["linear_solver_calls"], "wall_s": result["wall_s"], + "points": [{"frequency_Hz": attempt["frequency_Hz"], "accepted": attempt["accepted"], + "termination": attempt["termination"], "error": attempt["error"], + "checks": attempt["checks"]} for attempt in result["attempts"]], + "physical_certificate_status": result["physical_certificate_status"], "qualification": False} + + +def run_case(initial_path: Path, initial_sha256: str, output: Path, + *, frequencies_Hz: tuple[float, ...] = (0.0, .01, 1.0, 1000.0), + voltage_phasor_V: complex = 2e-6 + 1e-6j) -> MultipleIonicImpedanceResult: + if output.exists(): + raise FileExistsError("preserve the original AC attempt; output already exists") + device = compile_multiple_ionic_device_1d(prepare_multiple_ionic_device(), + intervals_per_layer=INTERVALS, ion_domains=DOMAINS) + initial = load_multiple_ionic_steady_initial(device, initial_path, initial_sha256, controls=steady_controls(4)) + result = solve_multiple_ionic_impedance(device, initial, frequencies_Hz, + voltage_phasor_V=voltage_phasor_V, options=IonicImpedanceOptions()) + output.parent.mkdir(parents=True, exist_ok=True) + digest = write_multiple_ionic_impedance_result(result, output) + print(json.dumps({"result_path": str(output.resolve()), "result_sha256": digest, + **summary(read_multiple_ionic_impedance_result(output, digest))}, indent=2, allow_nan=False), flush=True) + return result + + +def main() -> int: + parser = argparse.ArgumentParser(description=__doc__, formatter_class=argparse.RawDescriptionHelpFormatter) + commands = parser.add_subparsers(dest="command", required=True) + solve = commands.add_parser("solve") + solve.add_argument("--initial-result", type=Path, required=True) + solve.add_argument("--initial-sha256", required=True) + solve.add_argument("--output", type=Path, required=True) + solve.add_argument("--frequencies", type=float, nargs="+", default=(0.0, .01, 1.0, 1000.0)) + solve.add_argument("--voltage-phasor", type=complex, default=2e-6 + 1e-6j) + read = commands.add_parser("read") + read.add_argument("--result", type=Path, required=True) + read.add_argument("--sha256", required=True) + args = parser.parse_args() + if args.command == "read": + record = read_multiple_ionic_impedance_result(args.result, args.sha256) + print(json.dumps(summary(record), indent=2, allow_nan=False)) + return 0 if record["completed"] else 2 + result = run_case(args.initial_result, args.initial_sha256, args.output, + frequencies_Hz=tuple(args.frequencies), voltage_phasor_V=args.voltage_phasor) + return 0 if result.completed else 2 + + +if __name__ == "__main__": + raise SystemExit(main()) diff --git a/examples/research_1d/multiple_ionic_steady.py b/examples/research_1d/multiple_ionic_steady.py new file mode 100644 index 00000000..b1d45aa1 --- /dev/null +++ b/examples/research_1d/multiple_ionic_steady.py @@ -0,0 +1,71 @@ +"""One positive-D two-domain dark cold steady witness, preserving first failure.""" + +from __future__ import annotations + +import argparse +import hashlib +import importlib +import json +from pathlib import Path + +from examples.research_1d.ionic_steady import controls +from examples.research_1d.multiple_ionic_domains import DOMAINS, INTERVALS, prepare_multiple_ionic_device +from solarlab.config.resolve_device import resolve_device +from solarlab.device.compile_multiple_ionic_1d import compile_multiple_ionic_device_1d +from solarlab.device.inputs import DeviceInput +from solarlab.device.resolved import PreparedDevice +from solarlab.equations.implementation import implementation_source_modules +from solarlab.experiments.transient_results import _encode +from solarlab.solvers.nonlinear.multiple_ionic_1d import MultipleIonicSteadyResult, solve_multiple_ionic_steady_state + + +def prepare_mixed_immobile_device() -> PreparedDevice: + """One right shared-site D0 population; every other species stays mobile.""" + prepared = prepare_multiple_ionic_device(kind="shared") + data = prepared.to_input().editing_data() + next(layer for layer in data["layers"] if layer["id"] == "absorber_right")["parameters"]["D_ion_neg"] = 0.0 + return resolve_device(DeviceInput.model_validate(data), prepared.defaults, prepared.resources, sources=prepared.sources) + + +def run_case(output: Path, *, mixed_immobile: bool = False) -> MultipleIonicSteadyResult: + if output.exists(): + raise FileExistsError("preserve the existing attempt; no silent retry") + device = compile_multiple_ionic_device_1d(prepare_mixed_immobile_device() if mixed_immobile else prepare_multiple_ionic_device(), + intervals_per_layer=INTERVALS, ion_domains=DOMAINS) + result = solve_multiple_ionic_steady_state(device, voltage_V=0.002, generation_scale=0.0, + options=controls(device.domains[0].ion_node_count)) + names = ("solarlab.device.compile_multiple_ionic_1d", "solarlab.equations.multiple_ionic_1d", + "solarlab.equations.ionic_1d", "solarlab.solvers.nonlinear.multiple_ionic_1d", + "solarlab.solvers.nonlinear.newton", "solarlab.solvers.nonlinear.production", + "solarlab.solvers.nonlinear.steady_1d") + implementation_source_modules("ionic") + sources = {} + for name in names: + filename = importlib.import_module(name).__file__ + if filename is None: + raise ValueError("steady evidence requires actual bound source files") + sources[name] = hashlib.sha256(Path(filename).read_bytes()).hexdigest() + output.parent.mkdir(parents=True, exist_ok=True) + raw = {"schema": "solarlab.multiple_ionic_steady.v1", "result": result, + "source_sha256": sources, "qualification": False} + output.write_text(json.dumps(_encode(raw), indent=2, allow_nan=False) + "\n") + print(json.dumps({"accepted": result.accepted, "termination": result.termination, + "compiled_identity": result.compiled_identity, "original_prepared_identity": result.original_prepared_identity, + "shape": [device.node_count, *[domain.ion_node_count for domain in device.domains], device.state_size], + "wall_s": result.wall_s, "iterations": None if result.newton is None else result.newton.iteration_count, + "evaluation_counts": result.evaluation_counts, "checks": _encode(result.checks), + "result_path": str(output), "result_sha256": hashlib.sha256(output.read_bytes()).hexdigest(), + "error": result.error, "qualification": False}, indent=2, allow_nan=False), flush=True) + return result + + +def main() -> int: + parser = argparse.ArgumentParser(description=__doc__) + parser.add_argument("--output", type=Path, required=True) + parser.add_argument("--mixed-immobile", action="store_true") + args = parser.parse_args() + result = run_case(args.output, mixed_immobile=args.mixed_immobile) + return 0 if result.accepted else 2 + + +if __name__ == "__main__": + raise SystemExit(main()) diff --git a/examples/research_1d/multiple_ionic_transient.py b/examples/research_1d/multiple_ionic_transient.py new file mode 100644 index 00000000..37134a28 --- /dev/null +++ b/examples/research_1d/multiple_ionic_transient.py @@ -0,0 +1,108 @@ +"""One four-step dark history from the saved two-domain 2 mV steady state.""" + +from __future__ import annotations + +import argparse +import hashlib +import importlib +import json +from pathlib import Path +from typing import Any + +import numpy as np + +from examples.research_1d.ionic_steady import controls as steady_controls +from examples.research_1d.ionic_transient import controls, protocol +from examples.research_1d.multiple_ionic_domains import DOMAINS, INTERVALS, prepare_multiple_ionic_device +from examples.research_1d.multiple_ionic_steady import prepare_mixed_immobile_device +from solarlab.device.compile_multiple_ionic_1d import compile_multiple_ionic_device_1d +from solarlab.equations.implementation import implementation_source_modules +from solarlab.experiments.multiple_ionic_transient import ( + MultipleIonicTransientResult, load_multiple_ionic_steady_initial, read_multiple_ionic_transient, + solve_multiple_ionic_transient, write_multiple_ionic_transient, +) +from solarlab.experiments.transient_results import _encode + + +def run_case(initial_path: Path, initial_sha256: str, output: Path, *, mixed_immobile: bool = False) -> MultipleIonicTransientResult: + if output.exists(): + raise FileExistsError("preserve the original attempt; no automatic retry") + device = compile_multiple_ionic_device_1d(prepare_mixed_immobile_device() if mixed_immobile else prepare_multiple_ionic_device(), + intervals_per_layer=INTERVALS, ion_domains=DOMAINS) + initial = load_multiple_ionic_steady_initial(device, initial_path, initial_sha256, + controls=steady_controls(device.domains[0].ion_node_count)) + result = solve_multiple_ionic_transient(device, initial, protocol(4), options=controls()) + digest = write_multiple_ionic_transient(result, output) + read_multiple_ionic_transient(output, digest) + initial_state = result.states[0] + changes: dict[str, Any] = {} + for domain, before in zip(device.domains, initial_state.domain_component_states): + name = domain.domain_layer_id + for species in domain.ion_species_names: + baseline = getattr(before, species + "_ion_density_m3") + positions = [state.domain_component_states[device.domain_ids.index(name)] for state in result.states] + values = [getattr(state, species + "_ion_density_m3") for state in positions] + measured = [attempt.accounting["domains"][name]["species"][species] + for attempt in result.attempts if attempt.accepted and attempt.accounting is not None] + changes[name + "." + species] = { + "maximum_relative_density_delta": max(float(np.max(abs(value / baseline - 1.0))) for value in values), + "cell_density_delta_m3": values[-1] - baseline, + "physical_inventory_increment_m2": np.sum([record["physical_inventory_increment_m2"] for record in measured], axis=0) + if measured else np.zeros(domain.ion_node_count), + "integrated_balance_l1_bound_m2": sum((attempt.end_s - attempt.start_s) + * attempt.accounting["domains"][name]["species"][species]["balance_l1_m2_s"] + for attempt in result.attempts if attempt.accepted and attempt.accounting is not None), + } + names = ("solarlab.solvers.time.multiple_ionic_backward_euler", "solarlab.experiments.multiple_ionic_transient", + "solarlab.solvers.time.ionic_backward_euler", "solarlab.solvers.time.backward_euler", + "solarlab.equations.multiple_ionic_1d", "solarlab.solvers.nonlinear.multiple_ionic_1d", + "solarlab.solvers.time.assembled_storage", "solarlab.solvers.time.assembled_ionic_backward_euler", + ) + implementation_source_modules("ionic") + sources = {} + for name in names: + filename = importlib.import_module(name).__file__ + if filename is None: + raise ValueError("the actual numerical source must be bound") + sources[name] = hashlib.sha256(Path(filename).read_bytes()).hexdigest() + summary = { + "completed": result.completed, "accepted_steps": len(result.states) - 1, + "requested_times_s": result.protocol.times_s, "accepted_times_s": result.accepted_times_s, + "initial_source_sha256": initial_sha256, "result_sha256": digest, "source_sha256": sources, + "physical_deltas": changes, "iterations": [None if a.newton is None else a.newton.iteration_count for a in result.attempts], + "evaluation_counts": result.evaluation_counts, "wall_s": result.wall_s, + "failed": [{"end_s": a.end_s, "termination": a.termination, "error": a.error} + for a in result.failed_attempts], "qualification": False, + } + output.with_name(output.stem + ".summary.json").write_text(json.dumps(_encode(summary), indent=2, allow_nan=False) + "\n") + print(json.dumps(_encode(summary), indent=2, allow_nan=False), flush=True) + return result + + +def main() -> int: + parser = argparse.ArgumentParser(description=__doc__) + commands = parser.add_subparsers(dest="command", required=True) + solve = commands.add_parser("solve") + solve.add_argument("--initial-result", type=Path, required=True) + solve.add_argument("--initial-sha256", required=True) + solve.add_argument("--output", type=Path, required=True) + solve.add_argument("--mixed-immobile", action="store_true") + read = commands.add_parser("read") + read.add_argument("--result", type=Path, required=True) + read.add_argument("--sha256", required=True) + args = parser.parse_args() + if args.command == "read": + document = read_multiple_ionic_transient(args.result, args.sha256) + result = document["result"] + failed = [attempt for attempt in result["attempts"] if not attempt["accepted"]] + first = None if not failed else { + key: failed[0].get(key) for key in ("start_s", "end_s", "termination", "error")} + print(json.dumps(_encode({"completed": document["completed"], + "accepted_times_s": result["accepted_times_s"], "attempt_count": len(result["attempts"]), + "first_failed_step": first}), indent=2)) + return 0 if document["completed"] else 2 + return 0 if run_case(args.initial_result, args.initial_sha256, args.output, + mixed_immobile=args.mixed_immobile).completed else 2 + + +if __name__ == "__main__": + raise SystemExit(main()) diff --git a/examples/research_1d/neutral_defects.py b/examples/research_1d/neutral_defects.py new file mode 100644 index 00000000..43bf96f2 --- /dev/null +++ b/examples/research_1d/neutral_defects.py @@ -0,0 +1,161 @@ +"""One illuminated new-core steady solve with an explicit neutral bulk defect. + +Run from the repository root: + python -m examples.research_1d.neutral_defects --output neutral.json + python -m examples.research_1d.neutral_defects --unequal-dos --output neutral_unequal_dos.json + +The default declaration adds one absorber species to the existing device.json +fixture. An explicit --config supplies its own complete validated declaration. +This research result does not establish final scientific qualification. +""" + +from __future__ import annotations + +import argparse +from dataclasses import asdict +import hashlib +import json +from pathlib import Path +import time +from typing import Any + +import numpy as np + +from examples.research_1d.steady import load_device +from examples.research_1d.transient import json_value +from solarlab.config.resolve_device import resolve_device +from solarlab.device.compile_1d import compile_device_1d +from solarlab.device.inputs import DeviceInput +from solarlab.device.neutral_defects import LITERAL_ABOVE_VB_DOS_REFERENCE_V1 +from solarlab.device.resolved import PreparedDevice +from solarlab.equations.dc_1d import DC1DProblem +from solarlab.materials.source import SourceDocument +from solarlab.solvers.nonlinear.steady_1d import ( + SteadyOptions, SteadyStateError, solve_steady_state, +) + +VOLTAGE_V = 0.002 +GENERATION_SCALE = 1.0 +INTERVALS = (12, 12, 12) + + +def defect_declaration() -> dict[str, Any]: + """Physical parameters in the existing validated single-level schema.""" + return { + "id": "neutral_1", "name": "Neutral absorber level", + "distribution": {"kind": "single_level", "normalization": "integrated_total", + "total_density_m3": 1.0e20, "center_eV_above_vb": 0.75}, + "charge_transition": "neutral", "neutral_reference": "all_occupancies", + "kinetics": {"sigma_n_m2": 1.0e-19, "sigma_p_m2": 2.0e-19, + "thermal_velocity_n_m_s": 1.0e5, "thermal_velocity_p_m_s": 1.0e5}, + "degeneracy": 1.0, + } + + +def prepare_case(config: Path | None = None) -> PreparedDevice: + if config is not None: + return load_device(config) + base = load_device() + declaration = base.to_input().editing_data() + absorber = next(layer for layer in declaration["layers"] if layer["id"] == "absorber") + absorber.update(defect_schema_version="solarlab-explicit-bulk-defects-v1", + defect_model="explicit_quasi_steady", bulk_defects=[defect_declaration()]) + raw = json.dumps(declaration, sort_keys=True, separators=(",", ":"), allow_nan=False).encode() + source = SourceDocument("research_1d.neutral_defects.declaration", raw) + return resolve_device(DeviceInput.model_validate(declaration), base.defaults, base.resources, + sources=(*base.sources, source)) + + +def prepare_unequal_dos_case() -> PreparedDevice: + """Explicit physical variant: double absorber Nv, with consistent ni².""" + base = prepare_case() + declaration = base.to_input().editing_data() + absorber = next(layer for layer in declaration["layers"] if layer["id"] == "absorber") + parameters = absorber["parameters"] + parameters["Nv300"] *= 2.0 + for name in ("ni", "n1", "p1"): + parameters[name] *= 2.0**0.5 + raw = json.dumps(declaration, sort_keys=True, separators=(",", ":"), allow_nan=False).encode() + source = SourceDocument("research_1d.neutral_defects.unequal_dos.declaration", raw) + return resolve_device(DeviceInput.model_validate(declaration), base.defaults, base.resources, + sources=(*base.sources, source)) + + +def main() -> int: + parser = argparse.ArgumentParser(description=__doc__, formatter_class=argparse.RawDescriptionHelpFormatter) + parser.add_argument("--config", type=Path) + parser.add_argument("--unequal-dos", action="store_true", + help="use the explicit default-case variant with doubled absorber Nv") + parser.add_argument("--output", type=Path, required=True) + args = parser.parse_args() + if args.output.exists(): + raise FileExistsError("the output already exists; retain the original attempt") + if args.unequal_dos and args.config is not None: + raise ValueError("--unequal-dos selects the declared default variant; use --config for a complete custom input") + prepared = prepare_unequal_dos_case() if args.unequal_dos else prepare_case(args.config) + device = compile_device_1d(prepared, intervals_per_layer=INTERVALS) + model = device.recombination.explicit_defects + if model is None: + raise ValueError("this example requires a configured explicit neutral inventory") + controls = SteadyOptions() + unequal = model.owned_nodes & (device.parameters.conduction_dos_m3 != device.parameters.valence_dos_m3) + summary: dict[str, Any] = { + "node_count": device.node_count, "prepared_identity": prepared.content_sha256, + "compiled_identity": device.identity, "defect_model_identity": model.identity_sha256, + "defect_reference_binding": (LITERAL_ABOVE_VB_DOS_REFERENCE_V1 if np.any(unequal) + else "historical_def1_equal_dos"), + "unequal_dos_owned_node_count": int(np.count_nonzero(unequal)), + "source_documents": [{"id": source.id, "sha256": source.sha256} for source in prepared.sources], + "voltage_V": VOLTAGE_V, "generation_scale": GENERATION_SCALE, + "controls": asdict(controls), "physical_certificate_status": "not_evaluated", + "qualification": False, + } + payload: dict[str, Any] = {"summary": summary, "binding": asdict(model), + "prepared_declaration": prepared.to_mapping(), + "physical_reference_inputs": { + "conduction_dos_m3": device.parameters.conduction_dos_m3, + "valence_dos_m3": device.parameters.valence_dos_m3, + "band_gap_eV": device.parameters.band_structure.physical_band_gap_eV, + "ni_sq_m6": device.parameters.intrinsic_product_m6, + "thermal_voltage_V": device.thermal_voltage_V, + }} + started = time.monotonic() + try: + result = solve_steady_state(device, voltage_V=VOLTAGE_V, + generation_scale=GENERATION_SCALE, options=controls) + except SteadyStateError as error: + summary.update(accepted=False, failure_stage=error.stage, error=str(error)) + payload["failed_newton"] = error.result + exit_code = 2 + else: + state = result.state + evaluation = device.recombination.evaluate(state.electron_density_m3, state.hole_density_m3) + explicit = evaluation.explicit + assert explicit is not None + problem = DC1DProblem(device, VOLTAGE_V, GENERATION_SCALE) + summary.update(accepted=result.converged, + current_spread_A_m2=float(np.ptp(np.r_[result.current_density_A_m2, + result.contact_current_density_A_m2])), + output_current_A_m2=float(-device.voltage_polarity * result.contact_current_density_A_m2[0]), + explicit_owned_node_count=int(np.count_nonzero(model.owned_nodes)), + maximum_explicit_rate_m3_s=float(np.max(np.abs(explicit.total_rate_m3_s))), + maximum_explicit_d_rate_dn_s1=float(np.max(np.abs(explicit.total_d_rate_dn_s1))), + maximum_explicit_d_rate_dp_s1=float(np.max(np.abs(explicit.total_d_rate_dp_s1))), + trap_charge_density_C_m3=None) + payload.update(result=result, recombination=evaluation, + original_residual=problem.residual(state.u), + charge_density_C_m3=device.charge_ledger(state.electron_density_m3, + state.hole_density_m3).space_charge_C_m3()) + exit_code = 0 + summary["solve_wall_s"] = time.monotonic() - started + args.output.parent.mkdir(parents=True, exist_ok=True) + raw = (json.dumps(json_value(payload), indent=2, allow_nan=False) + "\n").encode() + with args.output.open("xb") as stream: + stream.write(raw) + print(json.dumps({"result_path": str(args.output.resolve()), + "result_sha256": hashlib.sha256(raw).hexdigest(), **summary}, indent=2), flush=True) + return exit_code + + +if __name__ == "__main__": + raise SystemExit(main()) diff --git a/examples/research_1d/optical_generation.py b/examples/research_1d/optical_generation.py new file mode 100644 index 00000000..5a2a3c1e --- /dev/null +++ b/examples/research_1d/optical_generation.py @@ -0,0 +1,144 @@ +"""Illustrative supplied spectral/n-k data driving one new-core steady state. + +Run from the repository root: + python -m examples.research_1d.optical_generation --output optical.json + python -m examples.research_1d.optical_generation --read optical.json + +The seven-point photon spectrum and constant n-k table are illustrative +declarations, not an AM1.5 spectrum or calibrated optical material data. +The first optical binding fixes front normal incidence and unit-index bounding +media; scalar Phi is explicitly zero and does not scale the supplied spectrum. +""" + +from __future__ import annotations + +import argparse +from dataclasses import asdict +import hashlib +import json +from pathlib import Path +import time +from typing import Any + +import numpy as np + +from examples.research_1d.steady import load_device +from examples.research_1d.transient import json_value +from solarlab.config.resolve_device import resolve_device +from solarlab.device.compile_1d import compile_device_1d +from solarlab.device.inputs import DeviceInput +from solarlab.device.optical_generation import PHOTON_BUDGET_RTOL, bind_optical_generation_1d +from solarlab.device.resolved import PreparedDevice +from solarlab.equations.dc_1d import DC1DProblem +from solarlab.materials.resources import ResourceLibrary, ResourceTable +from solarlab.materials.source import SourceDocument +from solarlab.solvers.nonlinear.steady_1d import SteadyOptions, SteadyStateError, solve_steady_state + +INTERVALS = (12, 12, 12) +VOLTAGE_V = .002 +GENERATION_SCALE = 1.0 +SCHEMA = "solarlab.optical_generation_1d.research.v1" + + +def prepare_case() -> PreparedDevice: + base = load_device() + wavelengths = (400, 450, 500, 550, 600, 650, 700) + photon_csv = "wavelength_nm,spectral_flux_m-2_s-1_m-1\n" + "".join(f"{wavelength},6e27\n" for wavelength in wavelengths) + nk_csv = "wavelength_nm,n,k\n" + "".join(f"{wavelength},2.5,0.1\n" for wavelength in wavelengths) + tables = ( + ResourceTable("illustrative_photons", "spectrum", SourceDocument("research_1d.illustrative_photons.csv", photon_csv.encode())), + ResourceTable("illustrative_absorber_nk", "nk", SourceDocument("research_1d.illustrative_absorber_nk.csv", nk_csv.encode())), + ) + declaration = base.to_input().editing_data() + declaration["spectrum"] = tables[0].name + declaration["settings"]["Phi"] = 0.0 + for layer in declaration["layers"]: + parameters = layer["parameters"] + parameters.update(alpha=0.0, incoherent=False) + if layer["id"] == "absorber": + parameters.update(optical_material=tables[1].name, n_optical=None) + else: + parameters.update(optical_material=None, n_optical=2.0) + raw = json.dumps(declaration, sort_keys=True, separators=(",", ":"), allow_nan=False).encode() + source = SourceDocument("research_1d.optical_generation.declaration", raw) + return resolve_device(DeviceInput.model_validate(declaration), base.defaults, ResourceLibrary(tables), + sources=(*base.sources, source)) + + +def read_result(path: Path) -> dict[str, Any]: + value = json.loads(path.read_text()) + if not isinstance(value, dict) or value.get("schema") != SCHEMA: + raise ValueError("not an optical-generation research result") + return value + + +def main() -> int: + parser = argparse.ArgumentParser(description=__doc__, formatter_class=argparse.RawDescriptionHelpFormatter) + mode = parser.add_mutually_exclusive_group(required=True) + mode.add_argument("--output", type=Path) + mode.add_argument("--read", type=Path) + args = parser.parse_args() + if args.read is not None: + print(json.dumps(read_result(args.read)["summary"], indent=2), flush=True) + return 0 + if args.output.exists(): + raise FileExistsError("output exists; preserve the original attempt") + prepared = prepare_case() + device = compile_device_1d(prepared, intervals_per_layer=INTERVALS) + optical = bind_optical_generation_1d(prepared, device.geometry) + device.generation.require_inputs(optical.binding.sha256, device.geometry) + controls = SteadyOptions() + budget = optical.budget + summary: dict[str, Any] = { + "node_count": device.node_count, "prepared_identity": prepared.content_sha256, + "compiled_identity": device.identity, "optical_binding_identity": optical.binding.sha256, + "generation_method": device.generation.method, + "optical_data_scope": "illustrative_declared_spectrum_and_indices", + "incident_photons_m2_s": budget.incident_m2_s, + "reflected_photons_m2_s": budget.reflected_m2_s, + "transmitted_photons_m2_s": budget.transmitted_m2_s, + "electrical_absorbed_photons_m2_s": budget.electrical_absorbed_m2_s, + "parasitic_absorbed_photons_m2_s": budget.parasitic_absorbed_m2_s, + "photon_budget_roundoff_rtol": PHOTON_BUDGET_RTOL, + "generation_current_limit_A_m2": device.generation_limit_A_m2, + "voltage_V": VOLTAGE_V, "generation_scale": GENERATION_SCALE, + "controls": asdict(controls), "physical_certificate_status": "not_evaluated", "qualification": False, + } + optical_record = asdict(optical.binding) + optical_record["physical_layer_slices"] = [ + {"name": name, "start": part.start, "stop": part.stop} + for name, part in optical.binding.physical_layer_slices + ] + payload: dict[str, Any] = { + "schema": SCHEMA, "summary": summary, "generation": device.generation, + "optical_binding": optical_record, "photon_budget": budget, + "prepared_declaration": prepared.to_mapping(), + "input_resources": [{"name": table.name, "kind": table.kind, "source_id": table.source.id, + "source_sha256": table.source.sha256, "content_sha256": table.content_sha256, + "source_utf8": table.source.content.decode()} for table in prepared.resources.tables], + } + started = time.monotonic() + try: + result = solve_steady_state(device, voltage_V=VOLTAGE_V, generation_scale=GENERATION_SCALE, options=controls) + except SteadyStateError as error: + summary.update(accepted=False, failure_stage=error.stage, error=str(error)) + payload["failed_newton"] = error.result + exit_code = 2 + else: + summary.update(accepted=result.converged, + output_current_A_m2=float(-device.voltage_polarity * result.contact_current_density_A_m2[0]), + current_spread_A_m2=float(np.ptp(np.r_[result.current_density_A_m2, result.contact_current_density_A_m2]))) + payload.update(result=result, original_residual=DC1DProblem(device, VOLTAGE_V, GENERATION_SCALE).residual(result.state.u)) + exit_code = 0 + summary["solve_wall_s"] = time.monotonic() - started + args.output.parent.mkdir(parents=True, exist_ok=True) + raw = (json.dumps(json_value(payload), indent=2, allow_nan=False) + "\n").encode() + with args.output.open("xb") as stream: + stream.write(raw) + print(json.dumps({"result_path": str(args.output.resolve()), "result_sha256": hashlib.sha256(raw).hexdigest(), + **summary}, indent=2), flush=True) + return exit_code + + +if __name__ == "__main__": + raise SystemExit(main()) diff --git a/examples/research_1d/process_ionic_jv.py b/examples/research_1d/process_ionic_jv.py new file mode 100644 index 00000000..6ce1beda --- /dev/null +++ b/examples/research_1d/process_ionic_jv.py @@ -0,0 +1,114 @@ +"""Run or read an illuminated shared-site ionic J-V process job. + +The default is the accepted37/13-node fixture and51 samples from0 to1.25V. +Initialization explicitly performs cold dark, direct_density_seed_v1, then +the coupled illuminated solve. An exact saved initial may instead be supplied +with its SHA; existing same-device/control admission remains mandatory. +Generation1 is not an irradiance. Efficiency and qualification stay unknown. +""" +from __future__ import annotations + +import argparse +import hashlib +import json +from pathlib import Path +from typing import TYPE_CHECKING, Any + +from examples.research_1d.process_ionic_transient import source_build + +if TYPE_CHECKING: + from solarlab.config.identity import BuildSource + from solarlab.experiments.jv.ionic_worker import IonicJVJob + + +def example_job(implementation: BuildSource, *, failure: bool = False, initial_bytes: bytes | None = None, + initial_sha256: str | None = None, current_repository_head: str | None = None) -> IonicJVJob: + from examples.research_1d.ionic_steady import controls + from examples.research_1d.shared_site_ionic_fixture import prepare_confined_shared_site_ion_device + from solarlab.config.identity import ExecutionEngine + from solarlab.experiments.jv.ionic_steady import IonicSteadyJVOptions + from solarlab.experiments.jv.ionic_worker import IonicJVInitial, IonicJVProtocol, prepare_ionic_jv_job + + initial = IonicJVInitial("dark_direct_density_seed_v1" if initial_bytes is None else "saved_accepted", + .002, 25., initial_bytes, initial_sha256) + return prepare_ionic_jv_job(prepare_confined_shared_site_ion_device(), + IonicJVProtocol(tuple(tick / 40. for tick in range(51)), 1., None), intervals_per_layer=(12, 12, 12), + ion_domain_layer="absorber", ion_domain_endpoints=("blocking", "blocking"), + options=IonicSteadyJVOptions(controls(13), max_points=51, wall_s=1. if failure else 25.), initial=initial, + implementation=implementation, current_repository_head=current_repository_head or implementation.build_source_commit, + engine=ExecutionEngine("solarlab")) + + +def summarize(loaded: dict[str, Any]) -> dict[str, Any]: + worker = loaded["worker_result"] + return {"state": loaded["run_state"], "result": loaded["document"], + "requested_voltage_V": loaded["arrays"]["requested_voltage_V"].tolist(), + "accepted_voltage_V": loaded["arrays"]["voltage_V"].tolist(), + "output_current_A_m2": loaded["arrays"]["output_current_A_m2"].tolist(), + "identities": {key: worker[key] for key in ("H_input", "H_physics", "H_execution", "manifest_sha256")}, + "arrays": {name: {"shape": list(a.shape), "dtype": a.dtype.str, "sha256": hashlib.sha256(a.tobytes()).hexdigest(), + "unit": loaded["document"]["logical_array_units"][name]} for name, a in loaded["arrays"].items()}, + "initial_artifact_sha256": hashlib.sha256(loaded["initial_bytes"]).hexdigest(), + "capture": worker["capture"], "scientific_qualification": False} + + +def main() -> int: + parser = argparse.ArgumentParser(description=__doc__) + commands = parser.add_subparsers(dest="command", required=True) + run = commands.add_parser("run") + run.add_argument("--store", type=Path, required=True) + run.add_argument("--work", type=Path, required=True) + run.add_argument("--build-source-commit", required=True) + run.add_argument("--source-archive", type=Path) + run.add_argument("--current-repository-head") + run.add_argument("--run-id", default="ionic-jv-completed") + run.add_argument("--failure-case", action="store_true", help="one-second curve budget, unchanged steady controls") + run.add_argument("--initial-result", type=Path) + run.add_argument("--initial-sha256") + for name in ("read", "export-initial"): + command = commands.add_parser(name) + command.add_argument("--store", type=Path, required=True) + command.add_argument("--run-id", required=True) + command.add_argument("--attempt-id") + if name == "export-initial": + command.add_argument("--output", type=Path, required=True) + args = parser.parse_args() + from solarlab.experiments.jv.ionic_worker import ionic_jv_worker_binding, read_ionic_jv_job + from solarlab.io.run_store import RunStore + if args.command in {"read", "export-initial"}: + with RunStore(args.store.resolve(), read_only=True) as store: + loaded = read_ionic_jv_job(store, args.run_id, attempt_id=args.attempt_id) + if args.command == "export-initial": + if loaded["diagnostics"]["curve"] is None: + raise ValueError("no admitted illuminated initial exists for this attempt") + with args.output.open("xb") as stream: + stream.write(loaded["initial_bytes"]) + print(json.dumps({"path": str(args.output.resolve()), "sha256": hashlib.sha256(loaded["initial_bytes"]).hexdigest(), + "run_id": args.run_id, "attempt_id": loaded["document"]["attempt_id"], "new_solver_calls": 0}, indent=2)) + return 0 + print(json.dumps(summarize(loaded), indent=2, allow_nan=False)) + return 0 if loaded["run_state"] == "succeeded" else 2 + if (args.initial_result is None) != (args.initial_sha256 is None): + parser.error("saved initial requires both --initial-result and --initial-sha256") + from solarlab.experiments.execution import ProcessSupervisor + from solarlab.experiments.worker import ResourceLimits + implementation = source_build(args.build_source_commit, args.source_archive) + job = example_job(implementation, failure=args.failure_case, + initial_bytes=None if args.initial_result is None else args.initial_result.read_bytes(), + initial_sha256=args.initial_sha256, current_repository_head=args.current_repository_head) + with RunStore(args.store.resolve()) as store, ProcessSupervisor(store, args.work.resolve(), + (ionic_jv_worker_binding(),), max_active=1, max_pending=1, + shared_rss_bytes=3 * 1024**3, shared_output_bytes=384 * 1024**2) as supervisor: + handle = job.submit(supervisor, args.run_id, ResourceLimits(30., 1536 * 1024**2, 96 * 1024**2, None, None)) + receipt = supervisor.wait(handle, 40).data + attempt = next(a for a in store.attempts(handle.run_id) if a["attempt_id"] == handle.attempt_id) + has_result = (attempt["result"] or {}).get("worker_result", {}).get("ionic_jv_result") is not None + loaded = read_ionic_jv_job(store, handle.run_id, attempt_id=handle.attempt_id) if has_result else None + result = {"store": str(store.root), "receipt": receipt, "curve": None if loaded is None else summarize(loaded), + "terminal_count": len([e for e in store.events(run_id=handle.run_id, limit=1000) if e["kind"] == "terminal"])} + print(json.dumps(result, indent=2, allow_nan=False)) + return 0 if receipt["store_state"] == "succeeded" else 2 + + +if __name__ == "__main__": + raise SystemExit(main()) diff --git a/examples/research_1d/process_ionic_transient.py b/examples/research_1d/process_ionic_transient.py new file mode 100644 index 00000000..c117cdb2 --- /dev/null +++ b/examples/research_1d/process_ionic_transient.py @@ -0,0 +1,126 @@ +"""Run/read a cold blocking ionic history through the shared process owner. + +The default shared-site case is37 electrical/13 ion nodes and four2-to4mV +steps. A limited-Newton case keeps an unchanged first step and its real first +failed driven step. No state is reused between separately submitted jobs. +""" +from __future__ import annotations + +import argparse +from dataclasses import replace +import hashlib +import io +import json +from pathlib import Path +import subprocess +import tarfile +from typing import TYPE_CHECKING, Any + +if TYPE_CHECKING: + from solarlab.config.identity import BuildSource + from solarlab.experiments.ionic_transient_worker import IonicTransientJob + +ROOT = Path(__file__).resolve().parents[2] + + +def source_build(commit: str, archive: Path | None = None) -> BuildSource: + from solarlab.config.identity import BuildSource + from solarlab.materials.source import SourceDocument + data = archive.read_bytes() if archive is not None else subprocess.check_output( + ["git", "archive", commit, "--", "src/solarlab"], cwd=ROOT, timeout=10) + sources = [] + with tarfile.open(fileobj=io.BytesIO(data)) as snapshot: + if snapshot.pax_headers.get("comment") != commit: + raise ValueError("source archive must identify the exact supplied commit") + for item in snapshot.getmembers(): + if item.isfile() and item.size and item.name.startswith("src/solarlab/") and item.name.endswith(".py"): + stream = snapshot.extractfile(item) + assert stream is not None + sources.append(SourceDocument(item.name.removeprefix("src/"), stream.read())) + return BuildSource(commit, tuple(sources)) + + +def example_job(implementation: BuildSource, *, failure: bool = False, species: str = "shared", + current_repository_head: str | None = None) -> IonicTransientJob: + import numpy as np + from examples.research_1d.ionic_multilayer import prepare_confined_dual_ion_device, prepare_confined_ion_device + from examples.research_1d.ionic_steady import controls as steady_controls + from examples.research_1d.ionic_transient import controls as time_controls + from examples.research_1d.shared_site_ionic_fixture import prepare_confined_shared_site_ion_device + from solarlab.config.identity import ExecutionEngine + from solarlab.experiments.ionic_transient_worker import prepare_ionic_transient_job + from solarlab.experiments.transient import TransientProtocol + from solarlab.solvers.nonlinear.problem import SolveBudget + + prepared = {"positive": lambda: prepare_confined_ion_device(diffusion_only=True), + "dual": lambda: prepare_confined_dual_ion_device(diffusion_only=True), + "shared": prepare_confined_shared_site_ion_device}[species]() + options = time_controls() + if failure: + options = replace(options, electronic=replace(options.electronic, newton_budget=SolveBudget(1, 10, 1, 4))) + times = np.linspace(0., 1., 5) + volts = np.asarray([.002, .002, .003, .0035, .004]) if failure else .002 + .002 * times + head = current_repository_head or subprocess.check_output(["git", "rev-parse", "HEAD"], cwd=ROOT, text=True, timeout=5).strip() + return prepare_ionic_transient_job(prepared, TransientProtocol(times, volts, np.zeros(5)), + intervals_per_layer=(12, 12, 12), ion_domain_layer="absorber", ion_domain_endpoints=("blocking", "blocking"), + options=options, initial_options=steady_controls(13), implementation=implementation, + current_repository_head=head, engine=ExecutionEngine("solarlab")) + + +def summarize(loaded: dict[str, Any]) -> dict[str, Any]: + worker = loaded["worker_result"] + history = loaded["diagnostics"]["history"] + return {"state": loaded["run_state"], "result": loaded["document"], + "accepted_times_s": loaded["arrays"]["accepted_times_s"].tolist(), + "requested_times_s": loaded["arrays"]["requested_times_s"].tolist(), + "attempts": [] if history is None else [{key: a[key] for key in + ("start_s", "end_s", "accepted", "termination", "error")} for a in history["attempts"]], + "identities": {key: worker[key] for key in ("H_input", "H_physics", "H_execution", "manifest_sha256")}, + "arrays": {name: {"shape": list(a.shape), "dtype": a.dtype.str, + "sha256": hashlib.sha256(a.tobytes()).hexdigest(), "unit": loaded["document"]["logical_array_units"][name]} + for name, a in loaded["arrays"].items()}, "capture": worker["capture"], "scientific_qualification": False} + + +def main() -> int: + parser = argparse.ArgumentParser(description=__doc__) + commands = parser.add_subparsers(dest="command", required=True) + run = commands.add_parser("run") + run.add_argument("--store", type=Path, required=True) + run.add_argument("--work", type=Path, required=True) + run.add_argument("--build-source-commit", required=True) + run.add_argument("--source-archive", type=Path) + run.add_argument("--current-repository-head") + run.add_argument("--run-id", default="ionic-transient-completed") + run.add_argument("--species", choices=("positive", "dual", "shared"), default="shared") + run.add_argument("--failure-case", action="store_true") + read = commands.add_parser("read") + read.add_argument("--store", type=Path, required=True) + read.add_argument("--run-id", required=True) + read.add_argument("--attempt-id") + args = parser.parse_args() + from solarlab.experiments.ionic_transient_worker import ionic_transient_worker_binding, read_ionic_transient_job + from solarlab.io.run_store import RunStore + if args.command == "read": + with RunStore(args.store.resolve(), read_only=True) as store: + loaded = read_ionic_transient_job(store, args.run_id, attempt_id=args.attempt_id) + print(json.dumps(summarize(loaded), indent=2, allow_nan=False)) + return 0 if loaded["run_state"] == "succeeded" else 2 + from solarlab.experiments.execution import ProcessSupervisor + from solarlab.experiments.worker import ResourceLimits + implementation = source_build(args.build_source_commit, args.source_archive) + job = example_job(implementation, failure=args.failure_case, species=args.species, + current_repository_head=args.current_repository_head) + with RunStore(args.store.resolve()) as store, ProcessSupervisor(store, args.work.resolve(), + (ionic_transient_worker_binding(),), max_active=1, max_pending=1, + shared_rss_bytes=3 * 1024**3, shared_output_bytes=384 * 1024**2) as supervisor: + handle = job.submit(supervisor, args.run_id, ResourceLimits(30., 1536 * 1024**2, 96 * 1024**2, None, None)) + receipt = supervisor.wait(handle, 40).data + history = read_ionic_transient_job(store, handle.run_id, attempt_id=handle.attempt_id) if receipt["terminal_artifacts"] else None + result = {"store": str(store.root), "receipt": receipt, "history": None if history is None else summarize(history), + "terminal_count": len([e for e in store.events(run_id=handle.run_id, limit=1000) if e["kind"] == "terminal"])} + print(json.dumps(result, indent=2, allow_nan=False)) + return 0 if receipt["store_state"] == "succeeded" else 2 + + +if __name__ == "__main__": + raise SystemExit(main()) diff --git a/examples/research_1d/process_sweep.py b/examples/research_1d/process_sweep.py new file mode 100644 index 00000000..ab8a6888 --- /dev/null +++ b/examples/research_1d/process_sweep.py @@ -0,0 +1,136 @@ +"""Run two cold lifetime points through the existing bounded process runtime. + +Run with an explicit committed source revision and disjoint local store/work +directories; use ``read --store ... --declaration ...`` for solver-free readback. +The fixed example uses tau_n = 1 and 2 us, 37 nodes and 0, .05, .1 V. It does +not bracket Voc, validate a model, or implement ions, AC or a timed protocol. +""" +from __future__ import annotations + +import argparse +from dataclasses import asdict +import hashlib +import json +from pathlib import Path +import subprocess +from typing import TYPE_CHECKING, Any + +if TYPE_CHECKING: + from solarlab.config.identity import BuildSource + +ROOT = Path(__file__).resolve().parents[2] +DC_SOURCE_EXCLUSIONS = ( + "solarlab/experiments/impedance.py", "solarlab/experiments/transient.py", + "solarlab/solvers/linear/", "solarlab/solvers/time/", +) + + +def committed_dc_implementation(commit: str) -> BuildSource: + """Reuse exact Git object bytes, with AC/time explicitly outside this scope. + + The steady worker independently refuses a loaded module without a binding. + Active adapter bytes are bound by that worker, never relabelled as a commit. + """ + from solarlab.config.identity import BuildSource + if __package__: + from .service import committed_implementation + else: + from service import committed_implementation + source = committed_implementation(commit) + return BuildSource(source.build_source_commit, tuple(item for item in source.files + if not any(item.id.startswith(prefix) for prefix in DC_SOURCE_EXCLUSIONS))) + + +def summarize(points: tuple[dict[str, Any], ...]) -> list[dict[str, Any]]: + """Compact output keeps every attempt state and the actual current arrays.""" + output = [] + for point in points: + value = {name: point[name] for name in ("point_id", "run_id", "state", "reason", "attempt_id")} + value.update(parameters=point["coordinates"]["normalized_coordinates"], + units=point["coordinates"]["units"], + attempts=[{name: a[name] for name in ("attempt_id", "generation", "state", "reason")} + for a in point["attempts"]]) + loaded = point["result"] + if loaded is not None: + value.update(voltage_V=loaded["arrays"]["voltage_V"].tolist(), + output_current_A_m2=loaded["arrays"]["output_current_A_m2"].tolist(), + compiled_identity=loaded["document"]["compiled_identity"], + metrics=loaded["document"]["metrics"], + manifest_sha256=loaded["worker_result"]["manifest_sha256"], + identities={name: loaded["worker_result"][name] for name in ("H_input", "H_physics", "H_execution")}, + arrays={name: {"shape": list(array.shape), "dtype": array.dtype.str, + "sha256": hashlib.sha256(array.tobytes()).hexdigest(), + "artifact_id": loaded["document"]["arrays"][name]} + for name, array in loaded["arrays"].items()}) + output.append(value) + return output + + +def main() -> int: + parser = argparse.ArgumentParser(description=__doc__) + commands = parser.add_subparsers(dest="command", required=True) + run = commands.add_parser("run", help="run the two-point, single-worker lifetime example") + run.add_argument("--store", type=Path, required=True) + run.add_argument("--work", type=Path, required=True) + run.add_argument("--build-source-commit", required=True) + run.add_argument("--study-id", default="process-lifetime") + read = commands.add_parser("read", help="verify and read committed arrays without a solver") + read.add_argument("--store", type=Path, required=True) + read.add_argument("--declaration", type=Path, required=True) + arguments = parser.parse_args() + + # Spawn replays __main__: keep all scientific imports inside this function. + from solarlab.experiments.execution import ProcessSupervisor, ScanSpec + from solarlab.io.run_store import RunStore + from solarlab.sweeps.steady_worker import read_steady_sweep_jobs + + store_path = arguments.store.expanduser().resolve() + if arguments.command == "read": + spec = ScanSpec.from_bytes(arguments.declaration.read_bytes()) + with RunStore(store_path, read_only=True) as store: + points = read_steady_sweep_jobs(store, spec) + print(json.dumps({"scan_id": spec.scan_id, "points": summarize(points)}, indent=2, allow_nan=False)) + return 0 if all(p["state"] == "succeeded" for p in points) else 1 + + from solarlab.config.identity import ExecutionEngine + from solarlab.experiments.jv.worker import SteadyJVProtocol, steady_jv_worker_binding + from solarlab.experiments.worker import ResourceLimits + from solarlab.sweeps.steady_worker import prepare_steady_sweep_jobs + if __package__: + from .jv_scan import make_sweep + else: + from jv_scan import make_sweep + + implementation = committed_dc_implementation(arguments.build_source_commit) + head = subprocess.check_output(["git", "rev-parse", "HEAD"], cwd=ROOT, text=True, timeout=5).strip() + sweep = make_sweep(Path(__file__).with_name("device.json"), study_id=arguments.study_id, + parameter="tau_n", values=["1 us", "2 us"]) + limits = ResourceLimits(60.0, 1536 * 1024**2, 96 * 1024**2, None, None) + jobs = prepare_steady_sweep_jobs(sweep, SteadyJVProtocol((0., .05, .1), 12, 1., None), + limits=limits, implementation=implementation, current_repository_head=head, + engine=ExecutionEngine("solarlab")) + work = arguments.work.expanduser().resolve() + store_path.parent.mkdir(parents=True, exist_ok=True) + work.parent.mkdir(parents=True, exist_ok=True) + with RunStore(store_path) as store, ProcessSupervisor(store, work, (steady_jv_worker_binding(),), + max_active=1, max_pending=1, shared_rss_bytes=3 * 1024**3, + shared_output_bytes=384 * 1024**2) as supervisor: + scan = jobs.submit(supervisor) + status = scan.wait(150) + points = read_steady_sweep_jobs(store, jobs.spec) + terminal_counts = {point.run_id: len([event for event in store.events(run_id=point.run_id, limit=1000) + if event["kind"] == "terminal"]) + for point in jobs.spec.points} + print(json.dumps({"scan_id": jobs.spec.scan_id, "state": status["state"], + "complete": status["complete"], "store": str(store_path), "declaration": str(scan.declaration_path), + "build_source_commit": implementation.build_source_commit, "current_repository_head": head, + "dc_source_exclusions": DC_SOURCE_EXCLUSIONS, + "runtime": asdict(jobs.executions[0].execution.environment), + "max_active": supervisor.max_active, "max_in_flight": scan.max_in_flight, + "terminal_counts": terminal_counts, "points": summarize(points), + "scientific_qualification": False}, indent=2, allow_nan=False)) + return 0 if status["state"] == "succeeded" else 1 + + +if __name__ == "__main__": + raise SystemExit(main()) diff --git a/examples/research_1d/process_transient.py b/examples/research_1d/process_transient.py new file mode 100644 index 00000000..90b84dd9 --- /dev/null +++ b/examples/research_1d/process_transient.py @@ -0,0 +1,140 @@ +"""Run/read a cold 37-node transient through the existing ProcessSupervisor. + +The default case has two fixed-bias light-ramp steps. --failure-case uses an +explicit one-iteration Newton budget and retains its first failed attempt. +Neither case grants a scientific certificate. The read command runs no solver. +""" +from __future__ import annotations + +import argparse +from dataclasses import asdict +import hashlib +import io +import json +from pathlib import Path +import subprocess +import tarfile +from typing import TYPE_CHECKING, Any + +if TYPE_CHECKING: + from solarlab.config.identity import BuildSource + from solarlab.experiments.transient_worker import TransientJob + +ROOT = Path(__file__).resolve().parents[2] +SOURCE_EXCLUSIONS = ("solarlab/device/compile_ionic_1d.py", "solarlab/equations/ionic_1d.py", + "solarlab/solvers/nonlinear/ionic_1d.py", "solarlab/experiments/impedance.py", "solarlab/solvers/linear/") + + +def source_build(commit: str, archive: Path | None = None) -> BuildSource: + """Use exact Git archive bytes; active adapters are recorded separately.""" + from solarlab.config.identity import BuildSource + from solarlab.materials.source import SourceDocument + + content = (archive.read_bytes() if archive is not None else + subprocess.check_output(["git", "archive", commit, "--", "src/solarlab"], cwd=ROOT, timeout=10)) + sources = [] + with tarfile.open(fileobj=io.BytesIO(content)) as source: + if source.pax_headers.get("comment") != commit: + raise ValueError("archive does not declare the exact supplied immutable commit") + for item in source.getmembers(): + name = item.name.removeprefix("src/") + if (item.isfile() and item.size and name.startswith("solarlab/") and name.endswith(".py") + and not any(name.startswith(prefix) for prefix in SOURCE_EXCLUSIONS)): + stream = source.extractfile(item) + assert stream is not None + sources.append(SourceDocument(name, stream.read())) + return BuildSource(commit, tuple(sources)) + + +def example_job(implementation: BuildSource, *, failure: bool = False, + current_repository_head: str | None = None) -> TransientJob: + """Use the supplied experiment and ordinary final solver gates unchanged.""" + from solarlab.config.identity import ExecutionEngine + from solarlab.experiments.transient import TransientOptions, TransientProtocol + from solarlab.experiments.transient_worker import prepare_transient_job + from solarlab.solvers.nonlinear.problem import SolveBudget + from solarlab.solvers.nonlinear.production import POISSON_CONTACT_BALANCE_V1 + from solarlab.solvers.nonlinear.steady_1d import SteadyOptions + if __package__: + from .steady import load_device + else: + from steady import load_device + + times = [0., 1e-7, 2e-7, 3e-7] if failure else [0., 1e-7, 2e-7] + generation = [1., 1., 1.5, 1.] if failure else [1., 1.0025, 1.01] + options = TransientOptions(1e-11, 1e-8, 1e-11, .1, 2., + SolveBudget(1, 10, 1, 4) if failure else SolveBudget(50, 1000, 50, 24), + 32, 30., "previous", POISSON_CONTACT_BALANCE_V1) + head = current_repository_head if current_repository_head is not None else subprocess.check_output( + ["git", "rev-parse", "HEAD"], cwd=ROOT, text=True, timeout=5).strip() + return prepare_transient_job(load_device(), TransientProtocol(times, [0.] * len(times), generation), + intervals_per_layer=12, options=options, initial_options=SteadyOptions(), implementation=implementation, + current_repository_head=head, engine=ExecutionEngine("solarlab")) + + +def summarize(loaded: dict[str, Any]) -> dict[str, Any]: + result = loaded["worker_result"] + return {"state": loaded["run_state"], "result": loaded["document"], + "accepted_times_s": loaded["arrays"]["accepted_times_s"].tolist(), + "terminal_total_current_density_A_m2": loaded["arrays"]["terminal_total_current_density_A_m2"].tolist(), + "attempts": [{"start_s": a["start_s"], "end_s": a["end_s"], "accepted": a["accepted"], + "termination": a["termination"], "error": a["error"]} for a in loaded["diagnostics"]["attempts"]], + "identities": {key: result[key] for key in ("H_input", "H_physics", "H_execution", "manifest_sha256")}, + "arrays": {name: {"shape": list(a.shape), "dtype": a.dtype.str, "sha256": hashlib.sha256(a.tobytes()).hexdigest(), + "unit": result["payloads"][name]["metadata"]["unit"]} for name, a in loaded["arrays"].items()}, + "build_source_commit": loaded["manifest"]["document"]["execution_identity"]["payload"]["implementation"]["build_source_commit"], + "cold_runtime": result["cold_start"]["runtime"], "scientific_qualification": False} + + +def main() -> int: + parser = argparse.ArgumentParser(description=__doc__) + commands = parser.add_subparsers(dest="command", required=True) + run = commands.add_parser("run") + run.add_argument("--store", type=Path, required=True) + run.add_argument("--work", type=Path, required=True) + run.add_argument("--build-source-commit", required=True) + run.add_argument("--source-archive", type=Path) + run.add_argument("--current-repository-head", help="explicit maintenance HEAD; otherwise observe the checkout") + run.add_argument("--run-id", default="transient-completed") + run.add_argument("--failure-case", action="store_true") + read = commands.add_parser("read") + read.add_argument("--store", type=Path, required=True) + read.add_argument("--run-id", required=True) + read.add_argument("--attempt-id") + args = parser.parse_args() + # Spawn replays __main__: numerical imports must remain inside functions. + from solarlab.experiments.transient_worker import read_transient_job, transient_worker_binding + from solarlab.io.run_store import RunStore + + store_path = args.store.expanduser().resolve() + if args.command == "read": + with RunStore(store_path, read_only=True) as store: + loaded = read_transient_job(store, args.run_id, attempt_id=args.attempt_id) + print(json.dumps(summarize(loaded), indent=2, allow_nan=False)) + return 0 if loaded["run_state"] == "succeeded" else 2 + + from solarlab.experiments.execution import ProcessSupervisor + from solarlab.experiments.worker import ResourceLimits + + implementation = source_build(args.build_source_commit, args.source_archive) + job = example_job(implementation, failure=args.failure_case, current_repository_head=args.current_repository_head) + limits = ResourceLimits(60., 1536 * 1024**2, 96 * 1024**2, None, None) + store_path.parent.mkdir(parents=True, exist_ok=True) + with RunStore(store_path) as store, ProcessSupervisor(store, args.work.expanduser().resolve(), + (transient_worker_binding(),), max_active=1, max_pending=1, + shared_rss_bytes=3 * 1024**3, shared_output_bytes=384 * 1024**2) as supervisor: + handle = job.submit(supervisor, args.run_id, limits) + # A wait timeout is not permission to submit a second run; context exit + # closes the original owned process through the shared runtime. + receipt = supervisor.wait(handle, 90).data + history = (summarize(read_transient_job(store, handle.run_id, attempt_id=handle.attempt_id)) + if receipt["terminal_artifacts"] else None) + output = {"store": str(store_path), "receipt": receipt, "history": history, + "limits": asdict(limits), "source_exclusions": SOURCE_EXCLUSIONS, + "terminal_count": len([e for e in store.events(run_id=handle.run_id, limit=1000) if e["kind"] == "terminal"])} + print(json.dumps(output, indent=2, allow_nan=False)) + return 0 if receipt["store_state"] == "succeeded" else 2 + + +if __name__ == "__main__": + raise SystemExit(main()) diff --git a/examples/research_1d/read_results.py b/examples/research_1d/read_results.py new file mode 100644 index 00000000..9a7e358d --- /dev/null +++ b/examples/research_1d/read_results.py @@ -0,0 +1,139 @@ +"""Read a saved research sweep through RunStore; never import or call a solver.""" + +from __future__ import annotations + +import argparse +import hashlib +import json +from pathlib import Path +from typing import Any + +from solarlab.experiments.jv.steady import read_steady_jv +from solarlab.io.run_store import RunStore + +SCOPE = "solarlab.research-1d.execution.v1" + + +def digest(value: Any) -> str: + return hashlib.sha256(json.dumps(value, sort_keys=True, separators=(",", ":"), + allow_nan=False).encode()).hexdigest() + + +def verify_identity(request: dict[str, Any]) -> dict[str, Any]: + identity, metadata = request["identity"], request["input_metadata"] + if identity.get("scope") != SCOPE or metadata.get("schema") != "solarlab.research-1d.point.v1": + raise ValueError("not a research-1d result binding") + payloads = metadata["identity_payloads"] + if set(payloads) != {"H_input", "H_physics", "H_execution"}: + raise ValueError("incomplete research identity payloads") + if any(digest(payload) != identity[name] for name, payload in payloads.items()): + raise ValueError("research identity digest mismatch") + execution, physics = payloads["H_execution"], payloads["H_physics"] + if (physics["H_input"] != identity["H_input"] or execution["H_input"] != identity["H_input"] + or execution["H_physics"] != identity["H_physics"]): + raise ValueError("research identity chain mismatch") + sources, runtime = metadata["sources"], metadata["runtime"] + if (sources["sha256"] != digest(sources["files"]) + or runtime["sha256"] != digest({key: value for key, value in runtime.items() if key != "sha256"}) + or execution["source_sha256"] != sources["sha256"] + or execution["runtime_sha256"] != runtime["sha256"]): + raise ValueError("saved source/runtime identity mismatch") + return metadata + + +def read_study(store_path: Path, study_id: str) -> dict[str, Any]: + store_path = store_path.expanduser().resolve() + points = [] + with RunStore(store_path, read_only=True) as store: + rows = store.sweep_points(study_id) + if not rows: + raise ValueError("unknown or empty saved study") + for association in rows: + run = store.get_run(association["run_id"]) + metadata = verify_identity(run["request"]) + identity = run["request"]["identity"] + if (metadata["study_id"] != study_id or metadata["point_id"] != association["point_id"] + or association["opaque_execution_identity"] != identity["H_execution"]): + raise ValueError("study association differs from the saved identity") + attempts = [] + for attempt in store.attempts(association["run_id"]): + document, arrays = attempt["result"], {} + if attempt["state"] == "succeeded": + physics = metadata["identity_payloads"]["H_physics"] + protocol = metadata["identity_payloads"]["H_execution"]["protocol"] + if (document["compiled_identity"] != physics["compiled_identity"] + or document["solver_controls"] != protocol["solver_controls"] + or document["generation_scale"] != protocol["generation_scale"]): + raise ValueError("result differs from its actual execution binding") + expected = {item["artifact_id"] for item in attempt["terminal"]["artifacts"]} + if expected != set(document["arrays"].values()) or expected != set(document["artifact_ids"]): + raise ValueError("result references differ from the committed terminal") + for identifier in expected: + record = store.artifact(identifier) + if (record["phase"] != "committed" or record["run_id"] != association["run_id"] + or record["attempt_id"] != attempt["attempt_id"] + or record["generation"] != attempt["generation"]): + raise ValueError("artifact belongs to a different attempt") + arrays = read_steady_jv(store, document) + if arrays["voltage_V"].tolist() != protocol["voltage_V"]: + raise ValueError("saved voltages differ from the requested protocol") + for name, array in arrays.items(): + expected_array = document["research_array_fingerprints"][name] + if (array.dtype.str != expected_array["dtype"] or list(array.shape) != expected_array["shape"] + or hashlib.sha256(array.tobytes(order="C")).hexdigest() != expected_array["sha256"]): + raise ValueError("roundtrip differs from the original numerical array") + attempts.append({"attempt_id": attempt["attempt_id"], "generation": attempt["generation"], + "state": attempt["state"], "result": document, "arrays": arrays}) + current = next(item for item in attempts if item["attempt_id"] == association["current_attempt_id"]) + points.append({"point_id": association["point_id"], "point_index": metadata["point_index"], + "run_id": association["run_id"], "coordinates": association["coordinates"], + "identity": identity, "metadata": metadata, "attempts": attempts, "current": current}) + return {"schema": "solarlab.research-1d.readback.v1", "study_id": study_id, + "store": str(store_path), "store_id": store.store_id, + "points": sorted(points, key=lambda point: point["point_index"])} + + +def summarize(study: dict[str, Any], *, include_arrays: bool = False) -> dict[str, Any]: + points = [] + for point in study["points"]: + current = point["current"] + document = current["result"] or {} + metrics = document.get("metrics") + metrics_status = ("estimated" if metrics is not None and metrics["open_circuit_voltage_V"] is not None + else "unavailable") + value = {"point_id": point["point_id"], "run_id": point["run_id"], "coordinates": point["coordinates"], + "state": current["state"], "metrics_status": metrics_status, "metrics": metrics, + "reason": document.get("reason"), "identity": point["identity"], + "compiled_identity": document.get("compiled_identity"), + "attempts": [{k: a[k] for k in ("attempt_id", "generation", "state")} for a in point["attempts"]], + "qualification": document.get("qualification"), + "array_shapes": {name: list(array.shape) for name, array in current["arrays"].items()}} + if include_arrays: + value["arrays"] = {name: array.tolist() for name, array in current["arrays"].items()} + points.append(value) + states = {p["state"] for p in points} + outcome = ("incomplete" if states & {"queued", "running"} + else "completed_with_failed_points" if states & {"failed", "cancelled"} + else "completed_with_unavailable_metrics" if any(p["metrics_status"] != "estimated" for p in points) + else "completed_with_estimated_metrics") + first = study["points"][0]["metadata"] + return {"schema": "solarlab.research-1d.summary.v1", "study_id": study["study_id"], + "store": study["store"], "store_id": study["store_id"], "outcome": outcome, + "identity_scope": SCOPE, "source_sha256": first["sources"]["sha256"], + "runtime": first["runtime"], "calculation_window": first["calculation_window"], + "attempt_phase": first["attempt_phase"], "scientific_qualification": False, "points": points} + + +def main(argv: list[str] | None = None) -> int: + parser = argparse.ArgumentParser(description=__doc__) + parser.add_argument("--store", type=Path, required=True) + parser.add_argument("--study-id", default="lifetime") + parser.add_argument("--include-arrays", action="store_true") + args = parser.parse_args(argv) + result = summarize(read_study(args.store, args.study_id), include_arrays=args.include_arrays) + print(json.dumps(result, indent=2, allow_nan=False)) + return 0 if result["outcome"] == "completed_with_estimated_metrics" else 2 + + +if __name__ == "__main__": + raise SystemExit(main()) diff --git a/examples/research_1d/read_transient.py b/examples/research_1d/read_transient.py new file mode 100644 index 00000000..5b696aae --- /dev/null +++ b/examples/research_1d/read_transient.py @@ -0,0 +1,44 @@ +"""Read a committed transient without importing or invoking its solver. + +python examples/research_1d/read_transient.py --store /absolute/local/store --run-id completed +The read command succeeds for a readable partial history too; its numerical +outcome and failed attempt remain explicit in the output. +""" +from __future__ import annotations + +import argparse +import hashlib +import json +from pathlib import Path + +from solarlab.experiments.transient_results import read_transient_result +from solarlab.io.run_store import RunStore + + +def main() -> None: + parser = argparse.ArgumentParser(description=__doc__) + parser.add_argument("--store", type=Path, required=True) + parser.add_argument("--run-id", required=True) + parser.add_argument("--attempt-id") + args = parser.parse_args() + with RunStore(args.store.expanduser().resolve(), read_only=True) as store: + loaded = read_transient_result(store, args.run_id, attempt_id=args.attempt_id) + arrays, diagnostics = loaded["arrays"], loaded["diagnostics"] + print(json.dumps({"run_id": args.run_id, "attempt_id": loaded["document"]["attempt_id"], + "terminal_state": loaded["run_state"], "numerical_outcome": loaded["document"]["outcome"], + "physical_certificate_status": loaded["document"]["physical_certificate_status"], + "provenance_status": loaded["provenance"]["status"], + "requested_times_s": arrays["requested_times_s"].tolist(), "accepted_times_s": arrays["accepted_times_s"].tolist(), + "current_times_s": arrays["accepted_times_s"][1:].tolist(), + "terminal_conduction_current_density_A_m2": arrays["terminal_conduction_current_density_A_m2"].tolist(), + "terminal_displacement_current_density_A_m2": arrays["terminal_displacement_current_density_A_m2"].tolist(), + "failed_attempts": [{key: a[key] for key in ("start_s", "end_s", "accepted", "termination", "error")} + for a in diagnostics["attempts"] if not a["accepted"]], + "arrays": {name: {"shape": list(value.shape), "dtype": value.dtype.str, + "unit": loaded["manifest"]["payloads"][name]["metadata"]["unit"], + "word_sha256": hashlib.sha256(value.tobytes()).hexdigest()} for name, value in arrays.items()}}, + indent=2, allow_nan=False)) + + +if __name__ == "__main__": + main() diff --git a/examples/research_1d/service.py b/examples/research_1d/service.py new file mode 100644 index 00000000..0d73fb84 --- /dev/null +++ b/examples/research_1d/service.py @@ -0,0 +1,92 @@ +"""Run the explicitly installed steady J-V service on localhost. + +Supply a full committed source revision and explicit local store/work paths. +GET /experiments supplies the device ID, input schema and required identity +headers for POST /jobs. Responses name the existing SSE and result readers. +""" +from __future__ import annotations + +import argparse +import io +import json +from pathlib import Path +import re +import subprocess +import tarfile +from typing import TYPE_CHECKING + +if TYPE_CHECKING: + from solarlab.config.identity import BuildSource + +ROOT = Path(__file__).resolve().parents[2] + + +def committed_implementation(commit: str) -> BuildSource: + """Read exact Git object bytes; never label working-tree bytes as a commit. + + This checkout example requires Git and the explicitly supplied commit. + Installed-distribution hosts can instead supply their own verified + BuildSource to SteadyPreparationContext. No HTTP field reaches this code. + """ + from solarlab.config.identity import BuildSource + from solarlab.materials.source import SourceDocument + + if re.fullmatch(r"[0-9a-f]{40}|[0-9a-f]{64}", commit) is None: + raise ValueError("supply a full immutable committed source revision") + content = subprocess.check_output(["git", "archive", commit, "--", "src/solarlab"], cwd=ROOT, timeout=15) + sources = [] + with tarfile.open(fileobj=io.BytesIO(content)) as archive: + for item in archive.getmembers(): + if item.isfile() and item.name.endswith(".py") and item.size: + stream = archive.extractfile(item) + if stream is None: + raise ValueError("missing committed source member") + sources.append(SourceDocument(item.name.removeprefix("src/"), stream.read())) + return BuildSource(commit, tuple(sources)) + + +def main() -> None: + import uvicorn + from solarlab.experiments.execution import ProcessSupervisor + from solarlab.experiments.worker import ResourceLimits + from solarlab.io.run_store import RunStore + from solarlab_server.app import create_app + from solarlab_server.job_service import JobService + from solarlab_server.steady_preparation import SteadyPreparationContext, steady_execution_catalog + + # Spawn re-executes this script as __mp_main__. Import the example's + # numerical stack only in the owner, never ahead of the child's environment. + if __package__: + from .steady import load_device + else: + from steady import load_device + + parser = argparse.ArgumentParser(description=__doc__) + parser.add_argument("--store", type=Path, required=True, help="private local RunStore directory") + parser.add_argument("--work", type=Path, required=True, help="private local supervisor work directory") + parser.add_argument("--build-source-commit", required=True, help="full committed core revision") + parser.add_argument("--port", type=int, default=8000) + arguments = parser.parse_args() + if not 1 <= arguments.port <= 65535: + parser.error("port must be between 1 and 65535") + implementation = committed_implementation(arguments.build_source_commit) + head = subprocess.check_output(["git", "rev-parse", "HEAD"], cwd=ROOT, text=True, timeout=5).strip() + context = SteadyPreparationContext((("research_1d", load_device()),), implementation, head) + ceiling = ResourceLimits(60.0, 1536 * 1024**2, 96 * 1024**2, None, None) + catalog = steady_execution_catalog(context, ceiling=ceiling) + store_path, work = arguments.store.expanduser().resolve(), arguments.work.expanduser().resolve() + store_path.parent.mkdir(parents=True, exist_ok=True) + work.parent.mkdir(parents=True, exist_ok=True) + with RunStore(store_path) as store, ProcessSupervisor(store, work, + (catalog.worker_binding("solarlab"),), max_active=1, max_pending=2, + shared_rss_bytes=3 * 1024**3, shared_output_bytes=384 * 1024**2) as supervisor: + app = create_app(store.root, job_service=JobService(catalog, supervisor)) + print(json.dumps({"base_url": f"http://127.0.0.1:{arguments.port}", + "device_id": "research_1d", "build_source_commit": implementation.build_source_commit, + "current_repository_head": head, "execution_catalog_sha256": catalog.document.sha256, + "job_schema_sha256": catalog.schema.sha256, "scientific_qualification": False}), flush=True) + uvicorn.run(app, host="127.0.0.1", port=arguments.port, workers=1, loop="asyncio", http="h11") + + +if __name__ == "__main__": + main() diff --git a/examples/research_1d/shared_site_ionic.py b/examples/research_1d/shared_site_ionic.py new file mode 100644 index 00000000..a3ef3a1f --- /dev/null +++ b/examples/research_1d/shared_site_ionic.py @@ -0,0 +1,99 @@ +"""One 0.8-occupancy shared-site cold solve and four dark voltage-ramp steps. + +The common-capacity populations are solved together on a blocking absorber. +Requested endpoints, failures, inventories and raw Maxwell accounting are +retained. This bounded research example makes no physical qualification claim. +""" + +from __future__ import annotations + +import argparse +import json +from pathlib import Path + +import numpy as np + +from examples.research_1d.dual_ionic import history_summary, write_record +from examples.research_1d.ionic_steady import controls as steady_controls +from examples.research_1d.ionic_transient import controls as time_controls, protocol +from examples.research_1d.shared_site_ionic_fixture import prepare_confined_shared_site_ion_device +from examples.research_1d.transient import json_value +from solarlab.device.compile_ionic_1d import compile_ionic_device_1d +from solarlab.equations.ionic_1d import CompiledIonicDevice1D, IonicState1D +from solarlab.experiments.ionic_transient import ( + IonicTransientResult, load_ionic_steady_initial, solve_ionic_transient, +) +from solarlab.solvers.nonlinear.ionic_1d import IonicSteadyResult, solve_ionic_steady_state + + +def compile_case() -> CompiledIonicDevice1D: + """Core's declared P0=1e24, N0=6e23, common capacity=2e24 fixture.""" + return compile_ionic_device_1d(prepare_confined_shared_site_ion_device(), + intervals_per_layer=(12, 12, 12), ion_domain_layer="absorber", + ion_domain_endpoints=("blocking", "blocking")) + + +def occupancy_summary(device: CompiledIonicDevice1D, states: tuple[IonicState1D, ...]) -> dict[str, object]: + occupied = [(state.positive_ion_density_m3 + state.negative_ion_density_m3) + / device.positive_ion_site_limit_m3 for state in states] + return { + "scope": "reported initial/candidate steady states or accepted time states", + "maximum_summed_site_fraction": max(float(np.max(value)) for value in occupied), + "minimum_vacancy_fraction": min(float(np.min(1.0 - value)) for value in occupied), + "maximum_summed_site_fraction_by_state": [float(np.max(value)) for value in occupied], + "minimum_vacancy_fraction_by_state": [float(np.min(1.0 - value)) for value in occupied], + } + + +def run_wave(output_directory: Path) -> tuple[CompiledIonicDevice1D, IonicSteadyResult, IonicTransientResult | None]: + """One bounded cold solve, then one pinned four-step history only on acceptance.""" + output_directory.mkdir(parents=True, exist_ok=True) + steady_path, history_path = output_directory / "Steady.json", output_directory / "History.json" + if steady_path.exists() or history_path.exists(): + raise FileExistsError("preserve existing attempts; choose an unused output directory") + device = compile_case() + options = steady_controls(device.ion_node_count) + steady = solve_ionic_steady_state(device, voltage_V=0.002, generation_scale=0.0, options=options) + summary = { + "accepted": steady.accepted, "termination": steady.termination, + "compiled_identity": device.identity, "electrical_nodes": device.node_count, + "ion_nodes_per_species": device.ion_node_count, "ion_species": device.ion_species_names, + "ion_site_contract": device.ion_site_contract, "steric_model": device.steric_model, + "positive_reference_m3": device.positive_ion_reference_m3, + "negative_reference_m3": device.negative_ion_reference_m3, + "common_site_capacity_m3": device.positive_ion_site_limit_m3, + "state_size": device.state_size, "voltage_V": 0.002, "generation_scale": 0.0, + "initialization": "compiler cold state; no prior solve", "checks": steady.checks, + "newton_iterations": None if steady.newton is None else steady.newton.iteration_count, + "evaluation_counts": steady.evaluation_counts, "wall_s": steady.wall_s, + "error": steady.error, "qualification": False, + } + states = (steady.initial_state,) if steady.state is None else (steady.initial_state, steady.state) + summary["shared_site"] = occupancy_summary(device, states) + if steady.state is not None: + summary["ion_relative_redistribution"] = {species: float(np.max(abs( + getattr(steady.state, f"{species}_ion_density_m3") / getattr(device, f"{species}_ion_reference_m3") - 1))) + for species in device.ion_species_names} + digest = write_record(steady_path, {"summary": summary, "result": steady}) + print(json.dumps(json_value(summary), indent=2, allow_nan=False), flush=True) + if not steady.accepted: + return device, steady, None + initial = load_ionic_steady_initial(device, steady_path, digest, controls=options) + history = solve_ionic_transient(device, initial, protocol(4), options=time_controls()) + observed = history_summary(device, history) + observed["shared_site"] = occupancy_summary(device, history.states) + write_record(history_path, {"summary": observed, "result": history}) + print(json.dumps(json_value(observed), indent=2, allow_nan=False), flush=True) + return device, steady, history + + +def main() -> int: + parser = argparse.ArgumentParser(description=__doc__) + parser.add_argument("--output-directory", type=Path, required=True) + arguments = parser.parse_args() + _, steady, history = run_wave(arguments.output_directory) + return 0 if steady.accepted and history is not None and history.completed else 2 + + +if __name__ == "__main__": + raise SystemExit(main()) diff --git a/examples/research_1d/shared_site_ionic_fixture.py b/examples/research_1d/shared_site_ionic_fixture.py new file mode 100644 index 00000000..185186dc --- /dev/null +++ b/examples/research_1d/shared_site_ionic_fixture.py @@ -0,0 +1,31 @@ +"""Explicit shared-site absorber fixture for bounded operator/driver evidence.""" + +from __future__ import annotations + +from examples.research_1d.ionic_multilayer import prepare_confined_dual_ion_device +from solarlab.config.resolve_device import resolve_device +from solarlab.device.inputs import DeviceInput +from solarlab.device.resolved import PreparedDevice + + +def prepare_confined_shared_site_ion_device( + *, site_capacity_m3: float = 2e24, + positive_reference_m3: float = 1e24, negative_reference_m3: float = 6e23, + positive_diffusivity_m2_s: float = 1e-16, negative_diffusivity_m2_s: float = 5e-17, +) -> PreparedDevice: + """Same electronic layers and separate backgrounds, one common ion capacity. + + Default total reference occupancy is 0.8. The compiler requires explicit + blocking absorber endpoints and checks both references and the vacancy. + """ + template = prepare_confined_dual_ion_device( + positive_diffusivity_m2_s=positive_diffusivity_m2_s, + negative_diffusivity_m2_s=negative_diffusivity_m2_s, + ) + data = template.to_input().editing_data() + data["id"] = "confined_absorber_shared_site_ions" + data["settings"]["ion_steric_shared_site"] = True + absorber = next(layer for layer in data["layers"] if layer["role"].lower() == "absorber") + absorber["parameters"].update(P0=positive_reference_m3, P0_neg=negative_reference_m3, + P_lim=site_capacity_m3, P_lim_neg=site_capacity_m3) + return resolve_device(DeviceInput.model_validate(data), template.defaults, template.resources, sources=template.sources) diff --git a/examples/research_1d/steady.py b/examples/research_1d/steady.py new file mode 100644 index 00000000..cec886e6 --- /dev/null +++ b/examples/research_1d/steady.py @@ -0,0 +1,128 @@ +"""Run the real new-core 1D dark and illuminated steady example. + +From the repository root, with the package installed: + OPENBLAS_NUM_THREADS=1 OMP_NUM_THREADS=1 MKL_NUM_THREADS=1 \ + VECLIB_MAXIMUM_THREADS=1 python examples/research_1d/steady.py + +Add --additional-recombination to inject a local analytic rate law without +changing the compiler, equation assembly, or nonlinear solver. +""" + +from __future__ import annotations + +import argparse +from dataclasses import dataclass, field +import hashlib +import json +from pathlib import Path + +import numpy as np + +from solarlab.config.resolve_device import resolve_device +from solarlab.device.defaults import DefaultCatalog +from solarlab.device.inputs import DeviceInput +from solarlab.device.resolved import PreparedDevice +from solarlab.device.compile_1d import compile_device_1d +from solarlab.materials.resources import ResourceLibrary +from solarlab.materials.source import SourceDocument +from solarlab.physics.recombination.bulk import RecombinationRate +from solarlab.solvers.nonlinear.steady_1d import solve_equilibrium, solve_steady_state + + +def load_device(path: Path | None = None) -> PreparedDevice: + """Prepare the explicit example catalog/configuration without legacy sources.""" + path = Path(__file__).with_name("device.json") if path is None else Path(path) + source = SourceDocument(str(path), path.read_bytes()) + document = json.loads(source.content) + catalog = { + **document["default_catalog"], + "evidence": [[source.id, source.sha256]], + } + return resolve_device( + DeviceInput.model_validate(document["device"]), + DefaultCatalog.from_mapping(catalog), + ResourceLibrary(), + sources=(source,), + ) + + +@dataclass(frozen=True) +class SaturatingRecombination: + """Extra local net pair rate B (np - ni²)/(1 + (n+p)/n_sat). + + Both density tangents are analytic and the rate vanishes at mass action. + This is an extension example, not a scientifically qualified model. + """ + + coefficient_m3_s: np.ndarray + intrinsic_product_m6: np.ndarray + saturation_density_m3: float + model_id: str = field(init=False) + + def __post_init__(self) -> None: + arrays = [] + for name in ("coefficient_m3_s", "intrinsic_product_m6"): + array = np.array(getattr(self, name), dtype=float, copy=True) + if array.ndim != 1 or not np.all(np.isfinite(array)) or np.any(array < 0.0): + raise ValueError("extension coefficients must be finite nonnegative arrays") + array.setflags(write=False) + object.__setattr__(self, name, array) + arrays.append(array) + if arrays[0].shape != arrays[1].shape or not np.isfinite(self.saturation_density_m3) or self.saturation_density_m3 <= 0.0: + raise ValueError("extension arrays must match and saturation density must be positive") + digest = hashlib.sha256(repr(self.saturation_density_m3).encode()) + for array in arrays: + digest.update(np.ascontiguousarray(array, dtype=" RecombinationRate: + excess = n * p - self.intrinsic_product_m6 + denominator = 1.0 + (n + p) / self.saturation_density_m3 + rate = self.coefficient_m3_s * excess / denominator + d_n = self.coefficient_m3_s * (p - excess / (denominator * self.saturation_density_m3)) / denominator + d_p = self.coefficient_m3_s * (n - excess / (denominator * self.saturation_density_m3)) / denominator + return RecombinationRate(rate, d_n, d_p) + + +def main() -> None: + parser = argparse.ArgumentParser(description=__doc__) + parser.add_argument("--config", type=Path) + parser.add_argument("--additional-recombination", action="store_true") + arguments = parser.parse_args() + prepared = load_device(arguments.config) + device = compile_device_1d(prepared) + if arguments.additional_recombination: + absorber = np.zeros(device.node_count) + for layer, mask in zip(device.parameters.layers, device.parameters.layer_masks): + if layer.role.lower() == "absorber": + absorber[mask] = 5.0e-15 + extra = SaturatingRecombination(absorber, device.parameters.intrinsic_product_m6, 1.0e21) + device = compile_device_1d(prepared, additional_recombination=extra) + equilibrium = solve_equilibrium(device) + illuminated = solve_steady_state(device) + summary = { + "device_id": device.device_id, + "compiled_identity": device.identity, + "node_count": device.node_count, + "geometry": device.geometry.name, + "voltage_polarity": device.voltage_polarity, + "built_in_potential_V": device.built_in_potential_V, + "dark_max_abs_current_A_m2": float(np.max(np.abs(equilibrium.current_density_A_m2))), + "short_circuit_current_x_A_m2": float(illuminated.current_density_A_m2[0]), + "short_circuit_output_A_m2": float(-device.voltage_polarity * illuminated.current_density_A_m2[0]), + "absorbed_photon_current_limit_A_m2": device.generation_limit_A_m2, + "current_spread_A_m2": float(np.ptp(illuminated.current_density_A_m2)), + "newton_iterations": illuminated.newton.iteration_count, + "preparation_iterations": [result.iteration_count for result in illuminated.preparation], + "density_basin_initializations": illuminated.density_basin_initializations, + "gates": [ + {"name": gate.name, "passed": gate.passed, "value": gate.value, "limit": gate.limit} + for gate in illuminated.physical_gates + ], + "qualification": "first runnable ion-free classical DC slice; not full scientific qualification", + } + print(json.dumps(summary, indent=2, allow_nan=False)) + + +if __name__ == "__main__": + main() diff --git a/examples/research_1d/transient.py b/examples/research_1d/transient.py new file mode 100644 index 00000000..cc553ed4 --- /dev/null +++ b/examples/research_1d/transient.py @@ -0,0 +1,96 @@ +"""A 37-node, fixed-voltage light ramp using conservative physical inventories. + +Run with BLAS thread controls set to 1 and optionally --refine for 4/8/16 +explicit steps over the same interval. This example calls the real new core; +it performs no G2/native/legacy solve and grants no physical certificate. +""" + +from __future__ import annotations + +import argparse +from dataclasses import asdict, is_dataclass +import json +import math +from pathlib import Path +import time + +import numpy as np + +from examples.research_1d.steady import load_device +from solarlab.device.compile_1d import compile_device_1d +from solarlab.experiments.transient import TransientOptions, TransientProtocol, solve_transient +from solarlab.solvers.nonlinear.problem import SolveBudget +from solarlab.solvers.nonlinear.production import POISSON_CONTACT_BALANCE_V1 +from solarlab.solvers.nonlinear.steady_1d import SteadyOptions, solve_steady_state +from solarlab.solvers.time import inventory_m2 + + +def controls() -> TransientOptions: + return TransientOptions(1e-11, 1e-8, 1e-11, 0.1, 2.0, + SolveBudget(50, 1000, 50, 24), 32, 30.0, "previous", POISSON_CONTACT_BALANCE_V1) + + +def json_value(value): + """Preserve nonfinite failure values explicitly in otherwise strict JSON.""" + if is_dataclass(value): + return json_value(asdict(value)) + if isinstance(value, np.ndarray): + return json_value(value.tolist()) + if isinstance(value, np.generic): + return json_value(value.item()) + if isinstance(value, dict): + return {key: json_value(item) for key, item in value.items()} + if isinstance(value, (tuple, list)): + return [json_value(item) for item in value] + if isinstance(value, float) and not math.isfinite(value): + return {"nonfinite": repr(value)} + return value + + +def main() -> int: + parser = argparse.ArgumentParser(description=__doc__) + parser.add_argument("--output", type=Path, required=True) + parser.add_argument("--refine", action="store_true") + args = parser.parse_args() + if args.output.exists(): + raise FileExistsError("the output already exists; preserve the original attempt") + started = time.monotonic() + device = compile_device_1d(load_device(), intervals_per_layer=12) + initial_controls = SteadyOptions() + # This is an explicit accepted illuminated DC input, outside the time + # stepper; its full solve/preparation evidence is retained in each result. + initial = solve_steady_state(device, voltage_V=0.0, generation_scale=1.0, options=initial_controls) + results = [] + for steps in ((4, 8, 16) if args.refine else (4,)): + times = np.linspace(0, 4e-7, steps + 1) + # Explicit right-endpoint samples of g(t)=1+0.01*(t/400 ns)^2. + # These are not inferred event times or hidden solver substeps. + protocol = TransientProtocol(times, np.zeros(steps + 1), 1.0 + 0.01 * (times / times[-1]) ** 2) + result = solve_transient(device, initial, protocol, options=controls(), initial_options=initial_controls) + results.append(result) + if not result.completed: + break + summary = {"node_count": device.node_count, "compiled_identity": device.identity, + "completed": [result.completed for result in results], + "accepted_steps": [len(result.states) - 1 for result in results], + "generation_protocol": "g(t)=1+0.01*(t/4e-7 s)^2; BE right-endpoint samples", + "wall_s": time.monotonic() - started, "physical_certificate_status": "not_evaluated"} + if len(results) == 3 and all(result.completed for result in results): + final = [inventory_m2(device, result.states[-1]) for result in results] + errors = [np.max(np.abs(a - b)) for a, b in zip(final[:-1], final[1:])] + summary["successive_final_cell_inventory_differences_m2"] = errors + summary["difference_ratio"] = float(errors[0] / errors[1]) if errors[1] != 0 else None + summary["maxwell_spread_A_m2"] = [max((a.accounting["maxwell_spread_A_m2"] + for a in result.attempts if a.accounting is not None), default=None) for result in results] + summary["failures"] = [[{"termination": a.termination, "error": a.error, + "newton_message": None if a.newton is None else a.newton.message} + for a in result.failed_attempts] for result in results] + args.output.parent.mkdir(parents=True, exist_ok=True) + args.output.write_text(json.dumps(json_value({"summary": summary, "results": results}), + indent=2, allow_nan=False) + "\n") + print(json.dumps(json_value(summary), indent=2, allow_nan=False)) + return 0 if all(result.completed for result in results) else 2 + + +if __name__ == "__main__": + raise SystemExit(main()) diff --git a/examples/research_1d/transient_service.py b/examples/research_1d/transient_service.py new file mode 100644 index 00000000..397be44a --- /dev/null +++ b/examples/research_1d/transient_service.py @@ -0,0 +1,116 @@ +"""Serve explicitly installed steady and ion-free transient jobs on localhost. + +GET /experiments supplies the device/schema bindings and submission headers. +Use example_submission() for the small completed or limited-Newton protocol. +POST /jobs returns existing event/result URLs; a numerical failure retains its +prefix with state failed, and cancellation never invents a result history. +""" +from __future__ import annotations + +import argparse +from dataclasses import replace +import json +from pathlib import Path +import subprocess +from typing import Any, TYPE_CHECKING + +if TYPE_CHECKING: + from solarlab.config.identity import BuildSource + from solarlab.experiments.worker import ResourceLimits + from solarlab.materials.source import SourceDocument + from solarlab_server.job_service import ExecutionCatalog + +ROOT = Path(__file__).resolve().parents[2] + + +def resource_limits() -> ResourceLimits: + from solarlab.experiments.worker import ResourceLimits + return ResourceLimits(60., 1536 * 1024**2, 96 * 1024**2, None, None) + + +def example_submission(run_id: str = "http-transient", *, failure: bool = False) -> dict[str, Any]: + times = [0., 1e-7, 2e-7, 3e-7] if failure else [0., 1e-7, 2e-7] + generation = [1., 1., 1.5, 1.] if failure else [1., 1.0025, 1.01] + return {"schema_version": "solarlab.job-submission.v1", "run_id": run_id, + "experiment_id": "transient_1d", "version": 1, "engine": "solarlab", + "input": {"device_id": "research_1d", "times_s": times, "voltage_V": [0.] * len(times), + "generation_scale": generation, "intervals_per_layer": 12, + "controls": {"max_steps": 32, "wall_s": 30., "newton_budget": { + "max_iterations": 1 if failure else 50, "max_residual_evaluations": 10 if failure else 1000, + "max_jacobian_evaluations": 1 if failure else 50, "max_backtracks": 4 if failure else 24}}}, + "limits": {"wall_seconds": 60., "rss_bytes": 1536 * 1024**2, "output_bytes": 96 * 1024**2, + "accepted_steps": None, "calls": None}} + + +def installed_catalog(implementation: BuildSource, current_repository_head: str) -> ExecutionCatalog: + """Co-install the two concrete adapters on one catalog and one supervisor.""" + from solarlab.experiments.registry import ExperimentRegistry + from solarlab_server.steady_preparation import SteadyPreparationContext, steady_execution_catalog + from solarlab_server.transient_preparation import TransientPreparationContext, transient_execution_catalog + if __package__: + from .steady import load_device + else: + from steady import load_device + + devices = (("research_1d", load_device()),) + transient = transient_execution_catalog(TransientPreparationContext(devices, implementation, current_repository_head), + ceiling=resource_limits()) + steady = steady_execution_catalog(SteadyPreparationContext(devices, implementation, current_repository_head), + ceiling=resource_limits()) + registry = ExperimentRegistry((*steady.registry.definitions, *transient.registry.definitions)) + sources: dict[str, SourceDocument] = {} + for source in (*steady.sources, *transient.sources): + if source.id in sources and source != sources[source.id]: + raise ValueError("co-installed source bindings disagree") + sources[source.id] = source + return replace(steady, registry=registry, sources=tuple(sources.values()), + registrations=(*steady.registrations, *transient.registrations), expected_registry_sha256=registry.content_sha256) + + +def main() -> None: + parser = argparse.ArgumentParser(description=__doc__) + parser.add_argument("--store", type=Path, required=True) + parser.add_argument("--work", type=Path, required=True) + parser.add_argument("--build-source-commit", required=True) + parser.add_argument("--port", type=int, default=8000) + args = parser.parse_args() + if not 1 <= args.port <= 65535: + parser.error("port must be between 1 and 65535") + # Spawn reconstructs this module before worker isolation; imports stay here. + import uvicorn + from solarlab.experiments.execution import ProcessSupervisor + from solarlab.io.run_store import RunStore + from solarlab_server.app import create_app + from solarlab_server.job_service import JobService + if __package__: + from .process_transient import source_build + else: + from process_transient import source_build + + # The isolated service does not claim unrelated ionic/AC working sources. + # Shared-suite tests instead pass the full committed BuildSource explicitly. + implementation = source_build(args.build_source_commit) + head = subprocess.check_output(["git", "rev-parse", "HEAD"], cwd=ROOT, text=True, timeout=5).strip() + catalog = installed_catalog(implementation, head) + store_path, work = args.store.expanduser().resolve(), args.work.expanduser().resolve() + store_path.parent.mkdir(parents=True, exist_ok=True) + work.parent.mkdir(parents=True, exist_ok=True) + with RunStore(store_path) as store, ProcessSupervisor(store, work, catalog.worker_bindings(), + max_active=1, max_pending=2, shared_rss_bytes=3 * 1024**3, shared_output_bytes=384 * 1024**2) as supervisor: + app = create_app(store.root, job_service=JobService(catalog, supervisor)) + print(json.dumps({"base_url": f"http://127.0.0.1:{args.port}", + "build_source_commit": implementation.build_source_commit, "current_repository_head": head, + "execution_catalog_sha256": catalog.document.sha256, "job_schema_sha256": catalog.schema.sha256, + "example_submission": example_submission(), "scientific_qualification": False}), flush=True) + try: + uvicorn.run(app, host="127.0.0.1", port=args.port, workers=1, loop="asyncio", http="h11") + except KeyboardInterrupt: + # Uvicorn re-raises SIGINT after its normal ASGI shutdown. Let the + # enclosing owner/store contexts finish before returning normally. + pass + print(json.dumps({"service_closed": True, "read_handle_closed": app.state.run_store is None, + "process_owner_closed": supervisor._closed}), flush=True) + + +if __name__ == "__main__": + main() diff --git a/examples/research_1d/transient_voltage.py b/examples/research_1d/transient_voltage.py new file mode 100644 index 00000000..3ac8a9ad --- /dev/null +++ b/examples/research_1d/transient_voltage.py @@ -0,0 +1,78 @@ +"""A small driven-voltage time history on the real 37-node new-core device. + +At fixed light g=1, prescribe V(t)=0.1+0.001*(t/400 ns)^2. Each sample is a +backward-Euler endpoint; this is neither steady JV nor qualified hysteresis. +Use one BLAS thread and --refine for the bounded 4/8/16-step comparison. +""" + +from __future__ import annotations + +import argparse +import json +from pathlib import Path +import time + +import numpy as np + +from examples.research_1d.steady import load_device +from examples.research_1d.transient import controls, json_value +from solarlab.device.compile_1d import compile_device_1d +from solarlab.experiments.transient import TransientProtocol, solve_transient +from solarlab.solvers.nonlinear.steady_1d import SteadyOptions, solve_steady_state +from solarlab.solvers.time import inventory_m2 + + +def voltage_protocol(steps: int) -> TransientProtocol: + times = np.linspace(0.0, 4e-7, steps + 1) + return TransientProtocol(times, 0.1 + 0.001 * (times / times[-1]) ** 2, np.ones(steps + 1)) + + +def main() -> int: + parser = argparse.ArgumentParser(description=__doc__) + parser.add_argument("--output", type=Path, required=True) + parser.add_argument("--refine", action="store_true") + args = parser.parse_args() + if args.output.exists(): + raise FileExistsError("preserve the existing result; choose a new output path") + started = time.monotonic() + device = compile_device_1d(load_device(), intervals_per_layer=12) + initial_controls = SteadyOptions() + initial = solve_steady_state(device, voltage_V=0.1, generation_scale=1.0, options=initial_controls) + results = [] + for steps in ((4, 8, 16) if args.refine else (4,)): + result = solve_transient(device, initial, voltage_protocol(steps), options=controls(), + initial_options=initial_controls) + results.append(result) + if not result.completed: + break + summary = { + "experiment_kind": "voltage_driven_transient", "node_count": device.node_count, + "compiled_identity": device.identity, "physical_certificate_status": "not_evaluated", + "voltage_protocol": "V(t)=0.1+0.001*(t/4e-7 s)^2; BE right-endpoint samples", + "generation_scale": 1.0, "completed": [r.completed for r in results], + "accepted_steps": [len(r.states) - 1 for r in results], + "compute_wall_s": time.monotonic() - started, + "maxwell_spread_A_m2": [max((a.accounting["maxwell_spread_A_m2"] for a in r.attempts + if a.accounting is not None), default=None) for r in results], + "failures": [[{"termination": a.termination, "error": a.error, + "newton_message": None if a.newton is None else a.newton.message} + for a in r.failed_attempts] for r in results], + } + if len(results) == 3 and all(r.completed for r in results): + inventories = [inventory_m2(device, r.states[-1]) for r in results] + currents = [r.attempts[-1].accounting["terminal_total_current_density_A_m2"] for r in results] + errors = [float(np.max(abs(a - b))) for a, b in zip(inventories[:-1], inventories[1:])] + summary["successive_final_inventory_differences_m2"] = errors + summary["inventory_difference_ratio"] = errors[0] / errors[1] if errors[1] else None + summary["successive_final_terminal_current_differences_A_m2"] = [ + float(np.max(abs(a - b))) for a, b in zip(currents[:-1], currents[1:])] + summary["final_terminal_current_density_A_m2"] = currents + args.output.parent.mkdir(parents=True, exist_ok=True) + args.output.write_text(json.dumps(json_value({"summary": summary, "results": results}), + indent=2, allow_nan=False) + "\n") + print(json.dumps(json_value(summary), indent=2, allow_nan=False)) + return 0 if all(r.completed for r in results) else 2 + + +if __name__ == "__main__": + raise SystemExit(main()) diff --git a/examples/research_1d/voc_resume.py b/examples/research_1d/voc_resume.py new file mode 100644 index 00000000..14fa983c --- /dev/null +++ b/examples/research_1d/voc_resume.py @@ -0,0 +1,310 @@ +"""Resume the pinned 1153-node illuminated tail without replaying its prefix. + + python -m examples.research_1d.voc_resume --input-record Refinement384.json \ + --input-states Refinement384States.npz --output Resume.json + python -m examples.research_1d.voc_resume --read Resume.json + +The saved state is a numerical seed until the current coupled solver accepts +it. Every subsequent seed is an accepted current-source result. After the +first physical sign bracket, actual bisection solves use the existing direct +Voc voltage resolution. Neither result establishes mesh/grid qualification. +""" + +from __future__ import annotations + +import argparse +from dataclasses import asdict +import hashlib +import json +from pathlib import Path +import shlex +import signal +import subprocess +import time +from types import FrameType +from typing import Any + +import numpy as np + +from examples.research_1d.steady import load_device +from examples.research_1d.transient import json_value +from solarlab.device.compile_1d import compile_device_1d +from solarlab.equations.dc_1d import CompiledDevice1D, DC1DProblem, State1D +from solarlab.solvers.nonlinear.problem import state_digest +from solarlab.solvers.nonlinear.production import production_convergence_norm, production_residual_scaling +from solarlab.solvers.nonlinear.steady_1d import SteadyOptions, SteadyState1D, SteadyStateError, physical_gates, solve_steady_state + +SCHEMA = "solarlab.fine_mesh_voc_resume.v1" +RECORD_SHA256 = "9823ea99e7178039210f40be5314a733710431ad0d50e8ba7631dee39e0a2ee8" +STATES_SHA256 = "10dbffdc58d2df20cd5802de5df179950830eacfdb83057796746b3c672ca8c9" +TAIL_VOLTAGES_V = tuple(index / 80 for index in range(91, 101)) +SOFT_WALL_SECONDS = 84.0 +VOLTAGE_TOLERANCE_V = 1e-6 # Existing solve_direct_voc default; Root confirmed. +MAX_BISECTION_CALLS = 64 # Existing direct-Voc call cap; first failure still stops. + + +def file_sha256(path: Path) -> str: + return hashlib.sha256(path.read_bytes()).hexdigest() + + +def original_processes(record_path: Path) -> list[dict[str, Any]]: + """Inspect only matching original scripts; expose no unrelated arguments.""" + balance_root = record_path.parent.parent + targets = (str(balance_root / "Review/Refine.py"), str(balance_root.parent / "RepairedV1/Measure.py")) + matches = [] + for line in subprocess.check_output(["/bin/ps", "-axww", "-o", "pid=,etime=,command="], text=True).splitlines(): + parts = line.strip().split(None, 2) + if len(parts) != 3: + continue + try: + args = shlex.split(parts[2]) + except ValueError: + continue + if args and Path(args[0]).name.startswith("python"): + for target in targets: + if any(target in arg for arg in args[1:]): + matches.append({"pid": int(parts[0]), "elapsed": parts[1], "target": target}) + return matches + + +def load_seed(record_path: Path, states_path: Path) -> tuple[dict[str, Any], CompiledDevice1D, State1D, SteadyOptions]: + """Validate exact supplied evidence before constructing a numerical seed.""" + if file_sha256(record_path) != RECORD_SHA256 or file_sha256(states_path) != STATES_SHA256: + raise ValueError("resume input hash mismatch") + original = json.loads(record_path.read_text()) + controls = SteadyOptions(**original["production_controls"]) + if controls.convergence_policy != "poisson_contact_balance_v1": + raise ValueError("the pinned balance-norm policy must be retained") + device = compile_device_1d(load_device(), intervals_per_layer=original["intervals_per_layer"]) + with np.load(states_path, allow_pickle=False) as archive: + coordinates = archive["last_accepted_u"].copy() + nodes = archive["nodes_m"].copy() + last = original["points"][-1] + if device.node_count != 1153 or not np.array_equal(device.nodes_m, nodes): + raise ValueError("saved nodes do not match the current 1153-node compilation") + if device.identity != original["compiled_identity"]: + raise ValueError("current compiled physical identity differs from the saved device") + if state_digest(coordinates) != last["state_u_sha256"]: + raise ValueError("last accepted coordinate digest mismatch") + return original, device, device.state(coordinates, voltage_V=last["voltage_V"]), controls + + +def physical_evidence(device: CompiledDevice1D, state: State1D, controls: SteadyOptions) -> dict[str, Any]: + problem = DC1DProblem(device, state.voltage_V, 1.0) + residual = problem.residual(state.u) + scaling = production_residual_scaling(device, poisson_tolerance=controls.poisson_tolerance, + continuity_tolerance_A_m2=controls.continuity_tolerance_A_m2, + contact_log_tolerance=controls.contact_log_tolerance) + norm = production_convergence_norm(device, convergence_policy=controls.convergence_policy) + assert norm is not None + value = norm(scaling.scaled(residual)) + gates = [asdict(gate(state.u.copy())) for gate in physical_gates(problem, controls, equilibrium=False)] + contacts = problem.contact_current_density(state.u) + current = np.r_[contacts[:1], problem.current_density(state.u), contacts[1:]] + output = -device.voltage_polarity * current + return {"convergence_norm": value, "physical_gates": gates, + "checks_pass": value <= 1.0 and all(gate["passed"] for gate in gates), + "Jout_A_m2": float(output[0]), "Jout_interval_A_m2": [float(np.min(output)), float(np.max(output))], + "original_residual": residual, "all_face_contact_current_A_m2": current} + + +def read_result(path: Path) -> dict[str, Any]: + result = json.loads(path.read_text()) + if not isinstance(result, dict) or result.get("schema") != SCHEMA: + raise ValueError("not a fine-mesh Voc resume result") + return result + + +def run(record_path: Path, states_path: Path, output_path: Path) -> dict[str, Any]: + if output_path.exists(): + raise FileExistsError("preserve the original resume attempt") + processes = original_processes(record_path) + if processes: + raise RuntimeError("the original refinement process is still present") + started = time.monotonic() + summary: dict[str, Any] = {"status": "starting", "accepted_tail_points": 0, "solve_calls": 0, + "current_source_readmitted": False, "qualification": False, + "original_processes": processes, "root_refinement_performed": False, + "accepted_bisection_points": 0, "voltage_tolerance_V": VOLTAGE_TOLERANCE_V} + payload: dict[str, Any] = { + "schema": SCHEMA, "summary": summary, + "input_record": {"path": str(record_path.resolve()), "sha256": file_sha256(record_path)}, + "input_states": {"path": str(states_path.resolve()), "sha256": file_sha256(states_path)}, + "protocol": {"name": "saved_state_readmission_12p5mV_tail_then_bisection_v1", + "requested_tail_voltages_V": TAIL_VOLTAGES_V, "generation_scale": 1.0, + "stop": "direct_voc_width_target_or_first_failed_point", + "voltage_tolerance_V": VOLTAGE_TOLERANCE_V, + "max_bisection_calls": MAX_BISECTION_CALLS, + "soft_wall_seconds": SOFT_WALL_SECONDS, "prefix_replayed": False, + "failed_candidates_used_as_seeds": False}, + "attempts": [], "accepted_prefix": [], "first_failure": None, + "coarse_voc_bracket": None, "voc_bracket": None, + } + output_path.parent.mkdir(parents=True, exist_ok=True) + output_path.touch(exist_ok=False) + + def checkpoint() -> None: + summary["elapsed_seconds"] = time.monotonic() - started + raw = json.dumps(json_value(payload), indent=2, allow_nan=False) + "\n" + temporary = output_path.with_suffix(output_path.suffix + ".pending") + temporary.write_text(raw) + temporary.replace(output_path) + + interrupted: dict[str, Any] = {} + + def timeout(signum: int, frame: FrameType | None) -> None: + while frame is not None: + if frame.f_globals.get("__name__") == "solarlab.solvers.nonlinear.newton": + local = frame.f_locals + if isinstance(local.get("u"), np.ndarray): + interrupted.update(state=local["u"].copy(), iteration=local.get("iteration"), + counts=dict(local.get("counts", {})), convergence_norm=local.get("norm")) + break + frame = frame.f_back + raise TimeoutError("the single resume wave reached its 84-second soft wall") + + active: dict[str, Any] | None = None + previous_handler = signal.signal(signal.SIGALRM, timeout) + signal.setitimer(signal.ITIMER_REAL, SOFT_WALL_SECONDS) + try: + original, device, seed, controls = load_seed(record_path, states_path) + summary.update(node_count=device.node_count, compiled_identity=device.identity, + saved_voltage_V=seed.voltage_V, convergence_policy=controls.convergence_policy) + payload.update(controls=asdict(controls), initial_seed=seed, + seed_current_checks=physical_evidence(device, seed, controls), + original_evidence={"status": original["status"], "accepted_points": original["accepted_points"], + "solve_calls": original["solve_calls"], "failed_attempts": original["failed_attempts"], + "source_pins": original["source_pins_before"]}) + checkpoint() + accepted: dict[float, SteadyState1D] = {} + + def attempt(voltage: float, phase: str, initial: State1D) -> dict[str, Any] | None: + nonlocal active + call = summary["solve_calls"] + 1 + active = {"call": call, "phase": phase, + "voltage_V": voltage, "seed_voltage_V": initial.voltage_V, + "seed_u_sha256": state_digest(initial.u), + "seed_status": "historical_numerical_seed" if phase == "readmission" else "current_source_accepted", + "status": "started"} + payload["attempts"].append(active) + summary["solve_calls"] = call + checkpoint() + before = time.monotonic() + try: + result = solve_steady_state(device, initial_state=initial, voltage_V=voltage, + generation_scale=1.0, options=controls) + except SteadyStateError as error: + active.update(status="failed", elapsed_seconds=time.monotonic() - before, + stage=error.stage, error=str(error), failed_newton=error.result) + candidate = device.state(error.result.state, voltage_V=voltage) + active["failed_candidate_current_checks"] = physical_evidence(device, candidate, controls) + payload["first_failure"] = {"call": call, "voltage_V": voltage, "error": str(error)} + summary["status"] = "failed_" + phase + return None + checks = physical_evidence(device, result.state, controls) + active.update(result=result, current_checks=checks, elapsed_seconds=time.monotonic() - before) + if not result.converged or not checks["checks_pass"]: + raise RuntimeError("the current-source result failed its original physical recheck") + active["status"] = "accepted" + point = {"voltage_V": voltage, "Jout_A_m2": checks["Jout_A_m2"], + "Jout_interval_A_m2": checks["Jout_interval_A_m2"], + "state_u_sha256": state_digest(result.state.u), "call": call} + payload["accepted_prefix"].append(point) + accepted[voltage] = result + summary["current_source_readmitted"] = True + if phase in ("tail", "bisection"): + summary["accepted_" + phase + "_points"] += 1 + summary["last_accepted_voltage_V"] = voltage + return point + + last_positive: dict[str, Any] | None = None + for index, voltage in enumerate((seed.voltage_V, *TAIL_VOLTAGES_V)): + point = attempt(voltage, "readmission" if index == 0 else "tail", seed) + if point is None: + break + seed = accepted[voltage].state + if last_positive is not None and point["Jout_interval_A_m2"][1] < 0.0: + left_v, left_j = last_positive["voltage_V"], last_positive["Jout_A_m2"] + interpolation = left_v + left_j * (voltage - left_v) / (left_j - point["Jout_A_m2"]) + payload["coarse_voc_bracket"] = {"left": last_positive, "right": point, + "width_V": voltage - left_v, "linear_interpolated_V": interpolation} + payload["voc_bracket"] = {"left": last_positive, "right": point, "width_V": voltage - left_v} + summary.update(status="voc_bracketed", coarse_voc_linear_interpolated_V=interpolation, + voc_bracket_width_V=voltage - left_v) + break + if point["Jout_interval_A_m2"][0] > 0.0: + last_positive = point + checkpoint() + else: + summary["status"] = "tail_complete_without_bracket" + if payload["coarse_voc_bracket"] is not None and payload["first_failure"] is None: + summary["root_refinement_performed"] = True + for _ in range(MAX_BISECTION_CALLS): + bracket = payload["voc_bracket"] + lower, upper = bracket["left"], bracket["right"] + if bracket["width_V"] <= VOLTAGE_TOLERANCE_V: + estimate = min((lower, upper), key=lambda point: abs(point["Jout_A_m2"])) + payload["direct_voc_solution"] = estimate + summary.update(status="voc_resolved", voc_solution_V=estimate["voltage_V"], + voc_solution_Jout_A_m2=estimate["Jout_A_m2"], + voc_bracket_width_V=bracket["width_V"]) + break + target = lower["voltage_V"] + .5 * bracket["width_V"] + if target in (lower["voltage_V"], upper["voltage_V"]): + raise RuntimeError("binary64 cannot narrow the solved voltage bracket") + nearest = min(accepted.values(), key=lambda point: (abs(point.voltage_V - target), point.voltage_V)) + point = attempt(target, "bisection", nearest.state) + if point is None: + break + if point["Jout_interval_A_m2"][0] > 0.0: + lower = point + elif point["Jout_interval_A_m2"][1] < 0.0: + upper = point + else: + summary["status"] = "unresolved_midpoint_sign" + payload["first_failure"] = {"call": point["call"], "voltage_V": target, + "type": "UnresolvedCurrentSign", + "error": "accepted midpoint has an all-face interval containing zero", + "Jout_interval_A_m2": point["Jout_interval_A_m2"]} + break # Keep the last strict bracket and the accepted midpoint. + payload["voc_bracket"] = {"left": lower, "right": upper, + "width_V": upper["voltage_V"] - lower["voltage_V"]} + summary["voc_bracket_width_V"] = payload["voc_bracket"]["width_V"] + checkpoint() + else: + summary["status"] = "incomplete_bisection_call_cap" + except Exception as error: + summary["status"] = "incomplete_timeout" if isinstance(error, TimeoutError) else "failed" + failure = {"type": type(error).__name__, "error": str(error), "interrupted_newton": interrupted} + if active is not None: + active.update(status="failed", failure=failure) + failure.update(call=active["call"], voltage_V=active["voltage_V"]) + if payload["first_failure"] is None: + payload["first_failure"] = failure + finally: + signal.setitimer(signal.ITIMER_REAL, 0.0) + signal.signal(signal.SIGALRM, previous_handler) + checkpoint() + return payload + + +def main() -> int: + parser = argparse.ArgumentParser(description=__doc__, formatter_class=argparse.RawDescriptionHelpFormatter) + mode = parser.add_mutually_exclusive_group(required=True) + mode.add_argument("--output", type=Path) + mode.add_argument("--read", type=Path) + parser.add_argument("--input-record", type=Path) + parser.add_argument("--input-states", type=Path) + args = parser.parse_args() + if args.read is not None: + print(json.dumps(read_result(args.read)["summary"], indent=2)) + return 0 + if args.input_record is None or args.input_states is None: + parser.error("--input-record and --input-states are required for the one resume attempt") + value = run(args.input_record, args.input_states, args.output) + print(json.dumps({"result_sha256": file_sha256(args.output), **value["summary"]}, indent=2), flush=True) + return 0 if value["summary"]["status"] == "voc_resolved" else 2 + + +if __name__ == "__main__": + raise SystemExit(main()) diff --git a/examples/research_2d/README.md b/examples/research_2d/README.md new file mode 100644 index 00000000..32ddcf42 --- /dev/null +++ b/examples/research_2d/README.md @@ -0,0 +1,304 @@ +# Two-dimensional research examples + +This directory exercises the new core with a connected lateral and stack grid. +It assembles the classical Poisson and carrier continuity equations and their +analytic Jacobian, then solves the full two-dimensional system with the unified +Newton solver. The separate algebra example exports arbitrary states, which +are not accepted steady solutions. + +## Solve and read steady states + +```sh +.venv/bin/python -B -m examples.research_2d.steady \ + --output outputs/2d_steady.json +STEADY_2D_SHA=$(shasum -a 256 outputs/2d_steady.json | cut -d ' ' -f 1) +.venv/bin/python -B -m examples.research_2d.steady \ + --read outputs/2d_steady.json --sha256 "$STEADY_2D_SHA" +``` + +The example requests dark and illuminated operating points at 2 mV on the +13-by-5 grid. Each starts from an explicitly counted one-dimensional numerical +preparation, adds a lateral perturbation, and solves all 195 two-dimensional +coordinates. Illuminated preparation uses the existing cold light-continuation +path. A one-dimensional seed never counts as a two-dimensional solution. + +The saved output retains initial lateral fluxes, actual Newton iterations, +original residuals, geometry, source identities, fields and signed face and +terminal currents. Physical checks use integrated carrier balances and +width-normalized cross-section/terminal currents; individual local currents +need not be spatially uniform. A failed target stops the sequence and retains +the failure; the reader performs no solve and returns exit 2 for an incomplete +record. Both bounded operating points have passed their original solver and +physical checks. Mesh and final scientific qualification remain pending. + +For an existing failed two-target record whose dark point was accepted, +`--illumination-only --prior-result --prior-sha256 ` preserves and +revalidates that dark result without solving it again, then requests only the +illuminated point. The original failure remains linked in the new output. + +## Steady J–V and saved continuation + +After the successful steady example above, use its accepted illuminated state +to request 51 steady points from 0 to 1.25 V on the same no-grain geometry: + +```sh +.venv/bin/python -B -m examples.research_2d.jv solve \ + --initial-result outputs/2d_steady.json --initial-sha256 "$STEADY_2D_SHA" \ + --output outputs/2d_jv.json +JV_2D_SHA=$(shasum -a 256 outputs/2d_jv.json | cut -d ' ' -f 1) +.venv/bin/python -B -m examples.research_2d.jv read \ + --result outputs/2d_jv.json --sha256 "$JV_2D_SHA" +``` + +Each completed attempt is saved separately beside the result. An incomplete +wave exits 2 and retains accepted states, the first failure and unattempted +voltages. For a wall-budget stop with an accepted prefix, explicit continuation +uses only the last accepted state and the exact remaining voltage slice: + +```sh +.venv/bin/python -B -m examples.research_2d.jv continue \ + --prefix-result outputs/2d_jv.json --prefix-sha256 "$JV_2D_SHA" \ + --output outputs/2d_jv_tail.json +``` + +If that tail stops with only its final endpoint remaining, the same command +accepts the tail file and its digest to finish that one point in a new output. +Other numerical failures, changed models/controls and further continuation +chains are refused. Keep earlier result files at their recorded locations: +linked reads verify those original bytes and preserve their stopped outcomes. + +All 51 points have been exercised through a first wave, a tail and a final +endpoint without replaying accepted points. Jsc, Voc, maximum power and FF use +the accepted sampled/interpolated curve; this is not a time scan or hysteresis +calculation. PCE remains unavailable unless `--incident-power-W-m2` is explicitly +supplied. These examples do not establish voltage-grid, mesh or final scientific +accuracy. + +## Run in a separate process + +From a clean committed checkout, the process example binds the source archive +to the same revision as the running code. Use the locked environment from the +[one-dimensional guide](../research_1d/README.md) and a local, unsynchronized +directory for the active database and work files: + +```sh +SOLARLAB_2D_ROOT=$(mktemp -d "${TMPDIR:-/tmp}/solarlab-2d.XXXXXX") +SOLARLAB_2D_REV=$(git rev-parse HEAD) +git archive --format=tar --output "$SOLARLAB_2D_ROOT/source.tar" "$SOLARLAB_2D_REV" +export OMP_NUM_THREADS=1 OPENBLAS_NUM_THREADS=1 MKL_NUM_THREADS=1 +export VECLIB_MAXIMUM_THREADS=1 NUMEXPR_NUM_THREADS=1 BLIS_NUM_THREADS=1 +.venv/bin/python -B -m examples.research_2d.process_steady run \ + --store "$SOLARLAB_2D_ROOT/Store" --work "$SOLARLAB_2D_ROOT/Work" \ + --run-id steady2d \ + --build-source-commit "$SOLARLAB_2D_REV" \ + --source-archive "$SOLARLAB_2D_ROOT/source.tar" \ + --current-repository-head "$SOLARLAB_2D_REV" \ + --receipt-json "$SOLARLAB_2D_ROOT/Receipt.json" +SOLARLAB_2D_ATTEMPT=$(.venv/bin/python -c \ + 'import json,sys; print(json.load(open(sys.argv[1]))["attempt_id"])' \ + "$SOLARLAB_2D_ROOT/Receipt.json") +.venv/bin/python -B -m examples.research_2d.process_steady read \ + --store "$SOLARLAB_2D_ROOT/Store" --run-id steady2d \ + --attempt-id "$SOLARLAB_2D_ATTEMPT" +``` + +The default requests the same no-grain dark and illuminated 2 mV points on +the 13-by-5 grid. `--targets dark` or `--targets illuminated` selects one target; +`--prepare-only` validates the request without starting a process or solving. +The process uses a 30-second limit and retains 22 logical arrays in 12 NPY +groups, the lossless diagnostic payload and execution manifest. Reads do not +run a solver. Existing run IDs are preserved; use a new ID for a new computation. + +For a deliberate failure example, add `--insufficient-budget` with a new run +ID and receipt path. This changes only the full-2D Newton count budget, retains +the failed candidate and leaves later targets unattempted. Both the run and +reader exit 2 for a failed attempt. Copy the closed Store and Work directories +with their contents and empty directories when archiving; open archived stores +only after copying them into a local directory. Thread settings above are +requests recorded with the run, not proof of an observed native thread count. + +This process entry has verified successful and failed examples. It does not +provide grain, J–V, HTTP or browser execution; those are separate entry points +with their own implementation and validation status. + +## Submit and read through HTTP + +The HTTP example installs the same fixed no-grain steady experiment in the +shared job service. From a clean committed checkout, create local paths and +start the service in one terminal: + +```sh +SOLARLAB_2D_HTTP_ROOT=$(mktemp -d "${TMPDIR:-/tmp}/solarlab-2d-http.XXXXXX") +SOLARLAB_2D_HTTP_REV=$(git rev-parse HEAD) +git archive --format=tar --output "$SOLARLAB_2D_HTTP_ROOT/source.tar" "$SOLARLAB_2D_HTTP_REV" +.venv/bin/python -B -m examples.research_2d.http_steady \ + --store "$SOLARLAB_2D_HTTP_ROOT/Store" --work "$SOLARLAB_2D_HTTP_ROOT/Work" \ + --build-source-commit "$SOLARLAB_2D_HTTP_REV" \ + --source-archive "$SOLARLAB_2D_HTTP_ROOT/source.tar" \ + --current-repository-head "$SOLARLAB_2D_HTTP_REV" --port 8000 +``` + +Starting the service does not solve a device. Add `--prepare-only` to validate +the complete request without opening a server. Choose an unused loopback port; +stop the service with Ctrl-C after its jobs finish. + +In a second terminal at the repository root, this client explicitly submits +one dark/illuminated job, waits for its terminal event and reads that exact +attempt. Use a new run ID for each computation: + +```sh +.venv/bin/python -B - <<'PY' +import httpx +from examples.research_2d.http_steady import example_submission + +with httpx.Client(base_url="http://127.0.0.1:8000", timeout=45) as client: + catalog = client.get("/experiments") + catalog.raise_for_status() + headers = {name: catalog.headers[name] for name in + ("x-solarlab-registry", "x-solarlab-job-schema")} + submitted = client.post("/jobs", json=example_submission("research-2d-001"), headers=headers) + submitted.raise_for_status() + job = submitted.json() + target = f"{job['run_id']}/attempts/{job['attempt_id']}" + events = client.get(f"/runs/{target}/events") + events.raise_for_status() + result = client.get(f"/results/{target}") + result.raise_for_status() + print(result.json()) +PY +``` + +The result includes accepted-target counts, original failure details, geometry, +array fingerprints and artifact download URLs. Each attempt retains the same +22 logical arrays and 14 artifacts as the process entry. The server also reads +original process attempts under their original identities. An actual HTTP +success and saved historical failure have passed independent readback checks; +HTTP completion does not establish mesh or final scientific accuracy. + +## Use the browser + +Keep the HTTP service above running on port 8000. In another terminal, start +the frontend with its locked dependencies: + +```sh +cd web +npm ci --no-audit --no-fund +npm run dev -- --host 127.0.0.1 +``` + +Open `http://127.0.0.1:5173/?view=steady-2d` and select an installed device and +dark, illuminated, or both targets. **Run 2D steady** explicitly submits a new +job. The five plots show accepted potential, carrier densities, directed-face +current density and integrated terminal/cross-section currents. Selecting a +saved target, reopening its link and reconnecting read the recorded attempt +without another solve. Failed and unattempted targets remain distinct. + +The browser has been exercised with one actual two-target submission and +independently checked against its saved arrays, original historical failure, +and exact-attempt reload. Stop the frontend and HTTP service with Ctrl-C when +finished. Grain J–V and contact experiments use their separate Python entries; +this browser entry exposes the fixed no-grain steady protocol. + +## Neutral grain-region recombination + +```sh +.venv/bin/python -B -m examples.research_2d.grains \ + --output outputs/2d_grains.json +GRAIN_2D_SHA=$(shasum -a 256 outputs/2d_grains.json | cut -d ' ' -f 1) +.venv/bin/python -B -m examples.research_2d.grains \ + --read outputs/2d_grains.json --sha256 "$GRAIN_2D_SHA" +``` + +The illustrative absorber region is centered at 0.4 µm, has width 0.3 µm, +and declares electron/hole SRH lifetimes of 0.5/0.25 µs. The compiler uses the +exact overlap with each lateral control cell. It blends the grain and bulk SRH +rates and their density derivatives by that fraction, while retaining bulk +radiative and Auger recombination. This neutral model adds no charge or state +variable. The solved example has nonzero transverse current and passes the +original full-row and physical current-balance checks. + +`--algebra ` exports the binding and arbitrary-state equations +without solving. `--config ` changes the layered device; the +example's spatial grain declaration stays explicit in `spatial_input()`. +Custom spatial declarations use the existing `JV2DInput.microstructure` field. +The output records layer ownership, fractions, represented widths/areas, +lifetimes and the numerical seed separately from the actual 2D result. The +historical grain-role partition owns interfaces on the left, while physical +material coefficients keep right-layer ownership; both are explicit in the +saved binding. Thin-region resolution and mesh qualification remain unverified. + +For the same grain declaration, the shared steady J–V driver also supports a +complete illuminated curve: + +```sh +.venv/bin/python -B -m examples.research_2d.grain_jv solve \ + --output outputs/2d_grain_jv.json +GRAIN_JV_SHA=$(shasum -a 256 outputs/2d_grain_jv.json | cut -d ' ' -f 1) +.venv/bin/python -B -m examples.research_2d.grain_jv read \ + --result outputs/2d_grain_jv.json --sha256 "$GRAIN_JV_SHA" +``` + +The default creates and separately records an illuminated numerical preparation +and an actual grain 2D initial solve, then requests 51 points from 0 to 1.25 V. +It grants 80 seconds to the curve. The independently reviewed run additionally +used an enclosing 80-second computation deadline including startup and a +90-second command limit; it completed in 56.186 seconds. These operating limits +do not change solver tolerances or scientific acceptance standards. + +An existing initial result can be supplied with `--initial-result` and +`--initial-sha256`; its exact physical source, grain binding, accepted fields +and original gates must match. Older source-mismatched results are refused. +Optional `--baseline-result` and `--baseline-sha256` compare the saved no-grain +curve without solving it again. The comparison retains the common accepted +voltage grid and source identities. It reports sampled Jsc/Voc/Pmax/FF, leaves +PCE unavailable without specified irradiance, and makes no mesh-convergence or +causal claim from the illustrative grain parameters. + +## Inspect the equations + +From the repository root, using the locked environment described in the +[one-dimensional guide](../research_1d/README.md): + +```sh +.venv/bin/python -B -m examples.research_2d.dc_assembly \ + --output outputs/2d_assembly.json +.venv/bin/python -B -m examples.research_2d.dc_assembly \ + --read outputs/2d_assembly.json +``` + +The example uses five lateral nodes and thirteen stack nodes, with 195 coupled +unknowns, 52 lateral faces and 60 stack faces. It exports coordinates, physical +fields, generation, residuals, the sparse Jacobian, face fluxes and terminal +currents. An explicitly nonuniform lateral state produces lateral carrier and +electric displacement fluxes. A separate uniform-lateral state checks the +reduction to the one-dimensional column equations. + +The reader opens existing data without solving. Use a fresh output path for a +new assembly run; existing evidence is preserved. + +## Geometry and units + +`x` is lateral and `y` follows the layer stack. Flattened fields use C order with +shape `(Ny, Nx)`. Volumes represent control areas per unit out-of-plane depth; +face measures are lengths. Endpoint control widths are physical half widths, +so the geometry must not be equated with the historical one-dimensional +integer-endpoint convention without the documented weight conversion. + +| Quantity | Unit | +| --- | --- | +| Control area | m² | +| Face measure | m | +| Particle flux density | m⁻² s⁻¹ | +| Integrated carrier balance per depth | m⁻¹ s⁻¹ | +| Integrated Gauss balance per depth | C/m | +| Cross-section or terminal current per depth | A/m | +| Terminal current divided by lateral width | A/m² | + +The initial scope uses fixed carrier reservoirs at the stack ends, zero normal +particle and displacement flux at the lateral boundaries, constant carrier +mobility and the supported Beer–Lambert generation binding. The grain example +adds the declared neutral volumetric SRH regions above. Ions, charged or +distributed defects, field-dependent transport, periodic boundaries and +spectral/coherent/incoherent optical declarations are outside this entry. +The algebra checks do not establish a steady solution, mesh convergence or +final scientific qualification. diff --git a/examples/research_2d/contacts.py b/examples/research_2d/contacts.py new file mode 100644 index 00000000..1da665f4 --- /dev/null +++ b/examples/research_2d/contacts.py @@ -0,0 +1,310 @@ +"""Four independent carrier-contact channels in connected 2D DC algebra. + + python -m examples.research_2d.contacts --output contacts.json + python -m examples.research_2d.contacts --read contacts.json --sha256 SHA256 + python -m examples.research_2d.contacts --prepare prepared.json --seed FIXED_2D.json --seed-sha256 SHA256 + python -m examples.research_2d.contacts --solve result.json --seed FIXED_2D.json --seed-sha256 SHA256 + +The declared mixed case uses blocking n-left, fixed p-left and finite n/p-right +exchange. This command records equations and proposes one bounded steady +witness. --prepare performs only explicit contact-density initialization; +--solve runs one bounded full2D Newton from that numerical seed. +""" + +from __future__ import annotations + +import argparse +from copy import deepcopy +from dataclasses import asdict, replace +import hashlib +import json +import math +from pathlib import Path +from typing import Any + +import numpy as np + +from examples.research_1d.steady import load_device +from examples.research_1d.transient import json_value +from examples.research_2d.dc_assembly import DIRECTIONAL_RTOL, DIRECTIONAL_STEP, VOLTAGE_V, coordinates, spatial_input +from examples.research_2d.steady import read_result as read_fixed_result +from solarlab.config.resolve_device import resolve_device +from solarlab.device.compile_2d import compile_device_2d +from solarlab.device.inputs import DeviceInput +from solarlab.device.resolved import PreparedDevice +from solarlab.equations.dc_2d import CompiledDevice2D, DC2DProblem, State2D +from solarlab.solvers.nonlinear.newton import _Factor +from solarlab.solvers.nonlinear.problem import GateOutcome, state_digest +from solarlab.solvers.nonlinear.steady_2d import Steady2DOptions, checks as steady_checks, diagnostics as steady_diagnostics, _settings, solve_steady_state_2d + +SCHEMA = "solarlab.carrier_contacts_2d.algebra.v1" +PREPARATION_SCHEMA = "solarlab.carrier_contacts_2d.preparation.v1" +STEADY_SCHEMA = "solarlab.contacts2d.steady-witness.v1" +VELOCITIES: tuple[float | None, float | None, float | None, float | None] = (0.0, None, 1e5, 1e3) + + +def contact_device(velocities: tuple[float | None, float | None, float | None, float | None] = VELOCITIES, + *, prepared: PreparedDevice | None = None) -> PreparedDevice: + """Declare the four existing channels in n-left,p-left,n-right,p-right order.""" + original = load_device() if prepared is None else prepared + data = original.to_input().editing_data() + data["contacts"] = deepcopy(original.to_mapping()["contacts"]) + contacts = {entry["side"]: entry for entry in data["contacts"]} + for side, pair in zip(("left", "right"), (velocities[:2], velocities[2:])): + contacts[side]["S_n"], contacts[side]["S_p"] = pair + return resolve_device(DeviceInput.model_validate(data), original.defaults, original.resources, sources=original.sources) + + +def algebra_coordinates(device: CompiledDevice2D) -> np.ndarray: + """A finite non-steady probe with both lateral and boundary perturbations.""" + _, u = coordinates(device, lateral=True) + contact = device.geometry.contact_nodes + u[contact] += np.linspace(-.0003, .0004, contact.size) + u[device.node_count + contact] += np.linspace(-.012, .016, contact.size) + u[2 * device.node_count + contact] += np.linspace(.009, -.013, contact.size) + return u + + +def prepare_seed(path: Path, sha256: str) -> tuple[CompiledDevice2D, State2D, dict[str, Any]]: + """One five-node density correction; all other free changes are explicit contact kinetics. + + This is numerical preparation, using the same physical-density chain as + steady_1d.density_basin_seed on only the blocking n-left block. It is + never an accepted 2D state or an alternative equation/solver. + """ + prior = read_fixed_result(path, sha256) + base = load_device() + if prior["prepared_declaration"]["declaration"] != base.to_mapping()["declaration"]: + raise ValueError("saved seed is not the declared fixed-contact example") + d = compile_device_2d(contact_device(prepared=base), spatial_input()) + g, count = d.geometry, d.node_count + for name, expected in (("x_m", g.x_m), ("y_m", d.column.nodes_m), ("cell_areas_m2", g.contract_geometry.volumes), + ("face_pairs", g.contract_geometry.pairs), ("face_lengths_m", g.contract_geometry.face_measures), + ("face_spacing_m", g.face_spacing_m)): + if not np.array_equal(prior["geometry"][name], expected): + raise ValueError("saved seed geometry differs: " + name) + selected = [a for a in prior["attempts"] if a["accepted"] and a["target"] == {"voltage_V": VOLTAGE_V, "generation_scale": 1.0}] + if len(selected) != 1: + raise ValueError("one accepted fixed-contact2D 2mV/G1 seed is required") + old = selected[0]["result_2d"] + saved_u = np.asarray(old["state"]["u"], dtype=float) + saved = d.state(saved_u, voltage_V=VOLTAGE_V) + for name in ("potential_V", "electron_density_m3", "hole_density_m3"): + if not np.array_equal(getattr(saved, name), old["state"][name]): + raise ValueError("saved physical fields/reference mapping differs: " + name) + fluxes = np.asarray(old["diagnostics"]["terminal_particle_flux_density_m2_s"], dtype=float) + if fluxes.shape != (2, 2, g.nx) or not np.all(np.isfinite(fluxes)): + raise ValueError("saved directed terminal particle fluxes are invalid") + changed: np.ndarray + u, changed, kinetics = saved_u.copy(), np.zeros(3 * count, dtype=bool), [] + refs = d.reference_potentials(VOLTAGE_V) + for channel in d.column.channels: + if channel.kind != "robin": + continue + assert channel.velocity_m_s is not None + carrier = 0 if channel.carrier == "n" else 1 + side = 0 if channel.side == "left" else 1 + nodes = g.contact_nodes.reshape(2, g.nx)[side] + ratio = fluxes[carrier, side] / (channel.outward_normal * channel.velocity_m_s * channel.reservoir_density_m3) + proposed = channel.reservoir_density_m3 * (1.0 + ratio) + if not np.all(np.isfinite(proposed)) or np.any(proposed <= 0.0): + raise ValueError("finite current matching requires positive finite densities; no clipping") + offset, sign = (carrier + 1) * count, 1.0 if carrier == 0 else -1.0 + logarithm = np.log1p(ratio) + u[offset + nodes] = sign * logarithm - (u[nodes] - refs[carrier][nodes]) / d.thermal_voltage_V + changed[offset + nodes] = True + kinetics.append({"channel": asdict(channel), "nodes": nodes, "saved_flux_m2_s": fluxes[carrier, side], + "proposed_density_m3": proposed, "log_excess_ratio": logarithm}) + problem = DC2DProblem(d, VOLTAGE_V, 1.0) + if d.column.channel("n", "left").kind != "blocking": + raise ValueError("this preparation is the explicit mixed contact example only") + nodes = g.contact_nodes[:g.nx] + active = count + nodes + kinetic_u = u.copy() + density = d.fields(u, voltage_V=VOLTAGE_V)[1][nodes] + before = problem.residual(u) + # dc/dz_n=c: divide each Jacobian COLUMN by its own physical density. + block = problem.jacobian(u)[active][:, active].toarray() / density[None, :] + increment = np.linalg.solve(block, -before[active]) + proposed = density + increment + if not np.all(np.isfinite(proposed)) or np.any(proposed <= 0.0): + raise ValueError("blocking density preparation is not finite/positive: " + repr(proposed.tolist())) + change = np.log1p(increment / density) + if not np.all(np.isfinite(change)): + raise ValueError("blocking log1p mapping is nonfinite; no fallback") + u[active] += change + changed[active] = True + if not np.array_equal(u[~changed], saved_u[~changed]): + raise ValueError("preparation changed a fixed/interior coordinate") + after = problem.residual(u) + settings, _ = _settings(d, Steady2DOptions(), lambda values: GateOutcome("unused", True, 0.0, 1.0)) + step = _Factor(problem.jacobian(u)).solve(-after) + fraction = settings.step_control.step_fraction(u, step) + data = steady_diagnostics(problem, u, Steady2DOptions()) + info = {"schema": PREPARATION_SCHEMA, "seed_path": str(path), "seed_sha256": sha256, + "original_compiled_identity": prior["compiled_identity"], "compiled_identity": d.identity, + "original_source_sha256": old["source_sha256"], "original_acceptance_checks": old["checks"], + "original_seed_state_sha256": state_digest(saved_u), "original_reference_mapping_exact": True, + "saved_coordinates": saved_u, "finite_matched_coordinates": kinetic_u, "finite_contacts": kinetics, + "blocking_nodes": nodes, "blocking_rows": active, "blocking_density_m3": density, + "blocking_density_increment_m3": increment, "blocking_proposed_density_m3": proposed, + "blocking_physical_jacobian": block, "blocking_residual_before": before[active], "blocking_residual_after": after[active], + "unchanged_coordinates": np.flatnonzero(~changed), "preserved_coordinates_exact": True, + "full_residual_before": before, "full_residual_after": after, "full_newton_direction": step, + "full_step_inf": float(np.max(abs(step))), "full_step_fraction": fraction, + "full_step_can_progress": bool(np.all(np.isfinite(step)) and fraction > 0.0 and 1.0 - fraction != 1.0), + "initial_diagnostics": data, "initial_checks": [asdict(c) for c in steady_checks(data, Steady2DOptions())], + "contact_density_linear_solves": 1, "full_direction_linear_solves": 1, "nonlinear_solves": 0, + "accepted_for_contact_model": False, "qualification": False} + return d, d.state(u, voltage_V=VOLTAGE_V), info + + +def solve_from_seed(output: Path, seed_path: Path, seed_sha256: str) -> dict[str, Any]: + """One existing full2D Newton; preserve failure and require explicit output.""" + if output.exists(): + raise FileExistsError("preserve the original contact result") + d, seed, info = prepare_seed(seed_path, seed_sha256) + if not info["full_step_can_progress"]: + raise ValueError("prepared full Newton correction remains ineffective; no nonlinear trial") + result = solve_steady_state_2d(d, voltage_V=VOLTAGE_V, generation_scale=1.0, + options=Steady2DOptions(wall_s=25.0), initial_state=seed, + initial_provenance={"kind": "explicit saved2D contact-density numerical preparation", + "seed_sha256": seed_sha256, "accepted_for_contact_model": False}) + record = {"schema": STEADY_SCHEMA, "result": json_value(result), "preparation": json_value(info), + "compiled_identity": d.identity, "state_shape_Ny_Nx": d.geometry.shape, + "contact_channels": [dict(asdict(c), kind=c.kind) for c in d.column.channels], + "newton_calls": result.solver_controls["full_2d_newton_calls"], "auxiliary_calls": 0, + "accepted": result.accepted, "qualification": False} + _write(output, record) + return record + + +def _write(output: Path, value: dict[str, Any]) -> None: + raw = (json.dumps(json_value(value), sort_keys=True, indent=2, allow_nan=False) + "\n").encode() + output.parent.mkdir(parents=True, exist_ok=True) + with output.open("xb") as stream: + stream.write(raw) + + +def assemble() -> dict[str, Any]: + prepared, spatial = contact_device(), spatial_input() + d = compile_device_2d(prepared, spatial) + problem = DC2DProblem(d, VOLTAGE_V, 1.0) + u = algebra_coordinates(d) + matrix = problem.jacobian(u) + # Generation is state independent; retain the existing derivative probe + # without its large constant source, and check the illuminated J exactly. + derivative = DC2DProblem(d, VOLTAGE_V, 0.0) + rng = np.random.default_rng(772) + direction = np.r_[.02 * rng.normal(size=d.node_count), rng.normal(size=2 * d.node_count)] + h = DIRECTIONAL_STEP + numerical = (derivative.residual(u - 2 * h * direction) - 8 * derivative.residual(u - h * direction) + + 8 * derivative.residual(u + h * direction) - derivative.residual(u + 2 * h * direction)) / (12 * h) + scale = np.maximum(abs(matrix) @ abs(direction), 1e-20) + options = Steady2DOptions() + diagnostics = steady_diagnostics(problem, u, options) + summary = {"prepared_identity": prepared.content_sha256, "compiled_identity": d.identity, + "shape_Ny_Nx": d.geometry.shape, "unknowns": 3 * d.node_count, "jacobian_nnz": matrix.nnz, + "contact_channels": [dict(asdict(channel), kind=channel.kind) for channel in d.column.channels], + "fixed_carrier_rows": int(np.count_nonzero(d.fixed_carrier_mask)), + "directional_error": float(np.max(abs(numerical - matrix @ direction) / scale)), + "directional_step": h, "directional_rtol": DIRECTIONAL_RTOL, + "illuminated_jacobian_identical": bool(np.array_equal(matrix.toarray(), derivative.jacobian(u).toarray())), + "units": {"face_particle_flux": "m^-2 s^-1 along +y", "contact_row": "particles/(m depth*s)", + "terminal_current": "A/m depth", "terminal_mean_current": "A/m2", "fixed_carrier_row": "log(c/c_eq)"}, + "geometry_rule": "face measure wx; contact area wx*wy with physical half endpoint widths", + "orientation": "1D left/right map to y-min/y-max; n_out=-1/+1; J_n=-q*Gamma_n, J_p=q*Gamma_p", + "contact_log_max": diagnostics["contact_log_max"], + "carrier_balance_bound_A_m2": diagnostics["carrier_balance_bound_A_m2"], + "source_terminal_current_bound_A_m2": diagnostics["source_terminal_current_bound_A_m2"], + "newton_calls": 0, "accepted_steady_state": False, "qualification": False} + return {"schema": SCHEMA, "summary": summary, "device_declaration": prepared.to_mapping(), + "spatial_declaration": spatial.editing_data(), "state": d.state(u, voltage_V=VOLTAGE_V), + "residual": problem.residual(u), + "jacobian_csc": {"data": matrix.data, "indices": matrix.indices, "indptr": matrix.indptr, "shape": matrix.shape}, + "direction": direction, "analytic_direction": matrix @ direction, "numerical_direction": numerical, + "directional_scale": scale, "cell_areas_m2": d.geometry.contract_geometry.volumes, + "x_widths_m": d.geometry.x_widths_m, "y_widths_m": d.geometry.y_geometry.cell_measures_m, + "x_m": d.geometry.x_m, "y_m": d.column.nodes_m, "fixed_carrier_mask": d.fixed_carrier_mask, + "carrier_fluxes": asdict(problem.fluxes(u)), "contact_particle_fluxes_m2_s": problem.contact_particle_fluxes(u), + "diagnostics": diagnostics, + "witness_proposal": {"scheduled": False, "independent_review_required": True, + "solve": "solve_steady_state_2d", "newton_calls": 1, + "voltage_V": VOLTAGE_V, "generation_scale": 1.0, "whole_wall_cap_s": 30.0, + "options": asdict(replace(options, wall_s=25.0)), + "initial_state": "compiler physical reference on the connected 2D graph; no auxiliary solve", + "retry_or_fallback": False, "qualification": False}} + + +def read_result(path: Path, expected_sha256: str) -> dict[str, Any]: + raw = path.read_bytes() + if hashlib.sha256(raw).hexdigest() != expected_sha256: + raise ValueError("contact algebra SHA-256 differs") + result = json.loads(raw) + if isinstance(result, dict) and result.get("schema") == STEADY_SCHEMA: + value = result["result"] + if (result.get("qualification") is not False or result.get("accepted") is not value["accepted"] + or value["physical_certificate_status"] != "not_evaluated" + or tuple(result["state_shape_Ny_Nx"]) != (13, 5) + or len(value["initial_coordinates"]) != 195 or len(value["candidate_coordinates"]) != 195): + raise ValueError("invalid or overclaimed saved contact witness") + if value["accepted"] and (value["termination"] != "converged" or not value["newton"]["accepted"] + or not value["checks"] or any(not c["passed"] or not math.isfinite(c["value"]) or c["value"] > c["limit"] for c in value["checks"]) + or value["state"]["device_sha256"] != result["compiled_identity"] + or not np.array_equal(value["state"]["u"], value["candidate_coordinates"])): + raise ValueError("saved contact acceptance lost original checks/state") + return result + if (not isinstance(result, dict) or result.get("schema") != SCHEMA + or result["summary"].get("newton_calls") != 0 + or result["summary"].get("accepted_steady_state") is not False + or result["summary"].get("qualification") is not False): + raise ValueError("not an unqualified no-solve 2D contact algebra result") + return result + + +def main() -> int: + parser = argparse.ArgumentParser(description=__doc__) + mode = parser.add_mutually_exclusive_group(required=True) + mode.add_argument("--output", type=Path) + mode.add_argument("--read", type=Path) + mode.add_argument("--prepare", type=Path) + mode.add_argument("--solve", type=Path) + parser.add_argument("--sha256") + parser.add_argument("--seed", type=Path) + parser.add_argument("--seed-sha256") + args = parser.parse_args() + if args.read is not None: + if args.sha256 is None: + parser.error("--read requires --sha256") + value = read_result(args.read, args.sha256) + print(json.dumps(value.get("summary", {"accepted": value.get("accepted"), "qualification": False, + "termination": value.get("result", {}).get("termination")}), indent=2)) + return 0 + if args.prepare is not None or args.solve is not None: + if args.seed is None or args.seed_sha256 is None: + parser.error("--prepare/--solve require --seed and --seed-sha256") + if args.solve is not None: + value = solve_from_seed(args.solve, args.seed, args.seed_sha256) + print(json.dumps({"accepted": value["accepted"], "termination": value["result"]["termination"], "qualification": False})) + return 0 if value["accepted"] else 2 + if args.prepare.exists(): + raise FileExistsError("preserve the original contact preparation") + _, state, info = prepare_seed(args.seed, args.seed_sha256) + _write(args.prepare, {**info, "state": state}) + print(json.dumps({"path": str(args.prepare), "sha256": hashlib.sha256(args.prepare.read_bytes()).hexdigest(), + "full_step_inf": info["full_step_inf"], "full_step_fraction": info["full_step_fraction"], + "full_step_can_progress": info["full_step_can_progress"], "nonlinear_solves": 0, "qualification": False})) + return 0 + if args.output.exists(): + raise FileExistsError("preserve the previous contact evidence") + value = assemble() + raw = (json.dumps(json_value(value), indent=2, allow_nan=False) + "\n").encode() + args.output.parent.mkdir(parents=True, exist_ok=True) + with args.output.open("xb") as stream: + stream.write(raw) + print(json.dumps({"path": str(args.output.resolve()), "sha256": hashlib.sha256(raw).hexdigest(), **value["summary"]}, indent=2)) + return 0 if value["summary"]["directional_error"] < DIRECTIONAL_RTOL else 2 + + +if __name__ == "__main__": + raise SystemExit(main()) diff --git a/examples/research_2d/dc_assembly.py b/examples/research_2d/dc_assembly.py new file mode 100644 index 00000000..64288b46 --- /dev/null +++ b/examples/research_2d/dc_assembly.py @@ -0,0 +1,147 @@ +"""Inspect genuine 2D DC equations and analytic tangents without a Newton run. + +From the repository root: + python -m examples.research_2d.dc_assembly --output assembly.json + python -m examples.research_2d.dc_assembly --read assembly.json + +The finite states below are algebra probes, not accepted steady states. +""" + +from __future__ import annotations + +import argparse +from dataclasses import asdict +import hashlib +import json +from pathlib import Path +from typing import Any + +import numpy as np + +from examples.research_1d.steady import load_device +from examples.research_1d.transient import json_value +from solarlab.device.compile_2d import compile_device_2d +from solarlab.equations.dc_1d import DC1DProblem +from solarlab.equations.dc_2d import CompiledDevice2D, DC2DProblem +from solarlab.experiments.two_dimensional.inputs import JV2DInput + +SCHEMA = "solarlab.classical_2d_dc.algebra.v1" +VOLTAGE_V = .002 +DIRECTIONAL_STEP = 2e-4 +DIRECTIONAL_RTOL = 2e-8 # Existing 1D field-transport directional-J criterion. + + +def spatial_input() -> JV2DInput: + return JV2DInput(kind="jv_2d", lateral_length="1 um", Nx=4, Ny_per_layer=4, lateral_bc="neumann") + + +def coordinates(device: CompiledDevice2D, *, lateral: bool) -> tuple[np.ndarray, np.ndarray]: + """Explicit admissible algebra states; no equilibrium/steady initialization.""" + g = device.geometry + y = device.column.nodes_m / device.column.nodes_m[-1] + x = g.x_m / g.lateral_length_m + bottom, top = device.column.contact_potentials(VOLTAGE_V) + wave = np.sin(np.pi * y) + column = np.r_[bottom + (top - bottom) * y + .001 * wave, .03 * wave, -.02 * wave] + result = device.extrude_coordinates(column) + if lateral: + count = device.node_count + result[:count] += (.0007 * wave[:, None] * np.cos(np.pi * x)[None, :]).ravel() + result[count:2 * count] += (.013 * wave[:, None] * np.sin(np.pi * x)[None, :]).ravel() + result[2 * count:] += (-.011 * wave[:, None] * np.cos(2 * np.pi * x)[None, :]).ravel() + return column, result + + +def assemble() -> dict[str, Any]: + prepared = load_device() + spatial = spatial_input() + d = compile_device_2d(prepared, spatial) + g, count = d.geometry, d.node_count + u1, uniform = coordinates(d, lateral=False) + _, u = coordinates(d, lateral=True) + illuminated = DC2DProblem(d, VOLTAGE_V, 1.0) + matrix = illuminated.jacobian(u) + # G is state-independent. As in the accepted 1D test, remove it only from + # finite differences to avoid losing small derivatives to a large constant. + derivative_problem = DC2DProblem(d, VOLTAGE_V, 0.0) + rng = np.random.default_rng(772) + direction = np.r_[.02 * rng.normal(size=count), rng.normal(size=2 * count)] + h = DIRECTIONAL_STEP + numerical = (derivative_problem.residual(u - 2 * h * direction) + - 8 * derivative_problem.residual(u - h * direction) + + 8 * derivative_problem.residual(u + h * direction) + - derivative_problem.residual(u + 2 * h * direction)) / (12 * h) + scale = np.maximum(abs(matrix) @ abs(direction), 1e-20) + directional_error = np.abs(numerical - matrix @ direction) / scale + row_widths = np.tile(g.x_widths_m, g.ny) + row_widths[g.contact_nodes] = 1.0 + actual = (illuminated.residual(uniform) / np.tile(row_widths, 3)).reshape(3, count) + column_rows = DC1DProblem(d.column, VOLTAGE_V, 1.0).residual(u1) + reference = d.extrude_coordinates(column_rows).reshape(3, count) + reduction = [float(np.max(abs(a - b)) / max(float(np.max(abs(b))), 1e-300)) for a, b in zip(actual, reference)] + fluxes = illuminated.fluxes(u) + summary = { + "shape_Ny_Nx": g.shape, "unknowns": 3 * count, "x_faces": g.x_face_count, + "y_faces": g.face_spacing_m.size - g.x_face_count, "jacobian_nnz": matrix.nnz, + "prepared_identity": prepared.content_sha256, "compiled_identity": d.identity, + "geometry_identity": g.sha256, "generation_identity": d.generation_y.binding_sha256, + "control_area_m2": float(np.sum(g.contract_geometry.volumes)), + "physical_area_m2": g.lateral_length_m * float(d.column.nodes_m[-1] - d.column.nodes_m[0]), + "generation_limit_A_per_m_depth": d.generation_limit_A_m, + "generation_limit_A_m2": d.generation_limit_A_m / g.lateral_length_m, + "uniform_reduction_relative_by_block": reduction, + "directional_error_by_block": [float(np.max(v)) for v in directional_error.reshape(3, count)], + "directional_step": DIRECTIONAL_STEP, "directional_rtol": DIRECTIONAL_RTOL, + "illuminated_jacobian_identical": bool(np.array_equal(matrix.toarray(), derivative_problem.jacobian(u).toarray())), + "lateral_electron_flux_max_m2_s": float(np.max(abs(fluxes.electron.flux[:g.x_face_count]))), + "lateral_hole_flux_max_m2_s": float(np.max(abs(fluxes.hole.flux[:g.x_face_count]))), + "lateral_displacement_max_C_m2": float(np.max(abs(illuminated.displacement(u)[:g.x_face_count]))), + "lateral_boundary_condition": "zero_normal_displacement_and_particle_flux", + "newton_calls": 0, "accepted_steady_state": False, "qualification": False, + } + return {"schema": SCHEMA, "summary": summary, "spatial_declaration": spatial.editing_data(), + "device_declaration": prepared.to_mapping(), "state": d.state(u, voltage_V=VOLTAGE_V), + "column_coordinates": u1, "uniform_coordinates": uniform, + "uniform_residual": illuminated.residual(uniform), "residual": illuminated.residual(u), + "jacobian_csc": {"data": matrix.data, "indices": matrix.indices, "indptr": matrix.indptr, "shape": matrix.shape}, + "direction": direction, "analytic_direction": matrix @ direction, "numerical_direction": numerical, + "directional_scale": scale, "x_m": g.x_m, "y_m": d.column.nodes_m, + "cell_areas_m2": g.contract_geometry.volumes, "face_lengths_m": g.contract_geometry.face_measures, + "face_pairs": g.contract_geometry.pairs, "face_spacing_m": g.face_spacing_m, + "face_displacement_C_m2": illuminated.displacement(u), "carrier_fluxes": asdict(fluxes), + "generation_source_m3_s": d.generation_source_m3_s, + "source_profile_y": d.generation_y, + "terminal_current_A_per_m_depth": illuminated.terminal_current_A_m(u), + "terminal_mean_current_A_m2": illuminated.terminal_current_density_A_m2(u), + "cross_section_current_A_per_m_depth": illuminated.cross_section_current_A_m(u)} + + +def read_result(path: Path) -> dict[str, Any]: + value = json.loads(path.read_text()) + if not isinstance(value, dict) or value.get("schema") != SCHEMA: + raise ValueError("not a 2D DC algebra result") + return value + + +def main() -> int: + parser = argparse.ArgumentParser(description=__doc__, formatter_class=argparse.RawDescriptionHelpFormatter) + mode = parser.add_mutually_exclusive_group(required=True) + mode.add_argument("--output", type=Path) + mode.add_argument("--read", type=Path) + args = parser.parse_args() + if args.read is not None: + print(json.dumps(read_result(args.read)["summary"], indent=2)) + return 0 + if args.output.exists(): + raise FileExistsError("output exists; preserve the original algebra evidence") + value = assemble() + raw = (json.dumps(json_value(value), indent=2, allow_nan=False) + "\n").encode() + args.output.parent.mkdir(parents=True, exist_ok=True) + with args.output.open("xb") as stream: + stream.write(raw) + print(json.dumps({"result_path": str(args.output.resolve()), "sha256": hashlib.sha256(raw).hexdigest(), **value["summary"]}, indent=2)) + return 0 if max(value["summary"]["directional_error_by_block"]) < DIRECTIONAL_RTOL else 2 + + +if __name__ == "__main__": + raise SystemExit(main()) diff --git a/examples/research_2d/field_transport.py b/examples/research_2d/field_transport.py new file mode 100644 index 00000000..5d569402 --- /dev/null +++ b/examples/research_2d/field_transport.py @@ -0,0 +1,187 @@ +"""Normal-face CT2D arithmetic and one bounded13x5 operating point. + + .venv/bin/python -m examples.research_2d.field_transport --output Algebra.json + .venv/bin/python -m examples.research_2d.field_transport --steady-output Steady.json + +The scalar law is reused with x/y normal components and legacy face averages. +The steady mode requires the explicitly composed compiler/DC binding; the +arithmetic mode and saved reader perform no operating-point solve. +""" + +from __future__ import annotations + +import argparse +from dataclasses import asdict +import hashlib +import json +from pathlib import Path +import sys +from typing import Any + +import numpy as np + +from examples.research_1d.steady import load_device +from examples.research_2d.dc_assembly import coordinates, spatial_input +from solarlab.device.compile_2d import compile_device_2d +from solarlab.config.resolve_device import resolve_device +from solarlab.device.inputs import DeviceInput +from solarlab.device.resolved import PreparedDevice +from solarlab.equations.dc_2d import DC2DProblem +from solarlab.equations.field_transport_2d import FieldTransport2D, bind_field_transport_2d +from solarlab.experiments.transient_results import _decode, _encode +from solarlab.solvers.nonlinear.steady_2d import Steady2DOptions, solve_steady_state_2d +from solarlab.solvers.nonlinear.problem import state_digest + + +def prepare_case(config: Path | None = None) -> PreparedDevice: + """Declare only the accepted smoothCT parameters; retain physical defaults.""" + prepared = load_device(config) + data = prepared.to_input().editing_data() + data["layers"][1]["parameters"].update(v_sat_n=1e4, v_sat_p=1.5e4, ct_beta_n=2.0, ct_beta_p=2.0) + return resolve_device(DeviceInput.model_validate(data), prepared.defaults, prepared.resources, sources=prepared.sources) + + +def native_case(output: Path, *, config: Path | None = None) -> dict[str, Any]: + """One25s dark2mV connected2D solve; no numerical preparation/fallback.""" + if output.exists(): + raise FileExistsError("preserve the firstCT2D operating-point attempt") + prepared = prepare_case(config) + d = compile_device_2d(prepared, spatial_input()) + model: FieldTransport2D | None = getattr(d, "field_transport", None) + if model is None: + raise ValueError("native CT2D requires the explicit composed compiler/transport binding") + phi = d.extrude(d.column.reference_potential_V) + lower, upper = d.column.contact_potentials(.002) + phi[:d.geometry.nx], phi[-d.geometry.nx:] = lower, upper + z = [] + for reference in d.reference_potentials(.002): + value = np.zeros(d.node_count) + value[d.geometry.contact_nodes] = (reference[d.geometry.contact_nodes] - phi[d.geometry.contact_nodes]) / d.thermal_voltage_V + z.append(value) + stack = np.sin(np.linspace(0.0, np.pi, d.geometry.ny)) + stack[[0, -1]] = 0.0 + lateral = np.sin(np.linspace(0.0, np.pi, d.geometry.nx)) + pattern = (stack[:, None] * lateral[None, :]).ravel() + u = np.r_[phi + .0007 * pattern, z[0] + .013 * pattern, z[1] - .011 * pattern] + initial = d.state(u, voltage_V=.002) + options = Steady2DOptions(wall_s=25.0) + result = solve_steady_state_2d(d, voltage_V=.002, generation_scale=0.0, options=options, + initial_state=initial, initial_provenance={"kind": "compiler physical reference plus explicit lateral perturbation", + "new_auxiliary_or_prior_solve_calls": 0, "phi_perturbation_V": .0007, + "z_n_perturbation": .013, "z_p_perturbation": -.011, "initial_digest": state_digest(u)}) + field = model.evaluate(result.candidate_coordinates[:d.node_count]) + problem = DC2DProblem(d, .002, 0.0) + record = {"schema": "solarlab.normal_face_ct_2d.steady.v1", "completed": result.accepted, + "result_2d": result, "initial_state": initial, "initial_coordinates": u, + "compiled_identity": d.identity, "geometry_identity": d.geometry.sha256, "geometry_shape": d.geometry.shape, + "field_transport_identity": model.identity_sha256, "field_measure": model.field_measure, + "configuration_sources": [{"id": source.id, "sha256": source.sha256} for source in prepared.sources], + "base_electron_D_m2_s": d.electron_diffusivity_faces_m2_s, "base_hole_D_m2_s": d.hole_diffusivity_faces_m2_s, + "electron_parameters": asdict(model.electron), "hole_parameters": asdict(model.hole), + "field_evaluation": asdict(field), "candidate_original_residual": problem.residual(result.candidate_coordinates), + "face_pairs": d.geometry.contract_geometry.pairs, "face_spacing_m": d.geometry.face_spacing_m, + "face_lengths_m": d.geometry.contract_geometry.face_measures, "cell_areas_m2": d.geometry.contract_geometry.volumes, + "lateral_width_m": d.geometry.lateral_length_m, "options": asdict(options), + "new_auxiliary_or_prior_solve_calls": 0, "qualification": False} + output.parent.mkdir(parents=True, exist_ok=True) + raw = (json.dumps(_encode(record), indent=2, allow_nan=False) + "\n").encode() + with output.open("xb") as stream: + stream.write(raw) + print(json.dumps({"path": str(output.resolve()), "sha256": hashlib.sha256(raw).hexdigest(), + "completed": result.accepted, "newton_calls": result.solver_controls["full_2d_newton_calls"], + "qualification": False}, indent=2)) + return record + + +def algebra(output: Path, *, config: Path | None = None) -> dict[str, Any]: + if output.exists(): + raise FileExistsError("preserve the original field2D arithmetic receipt") + d = compile_device_2d(load_device(config), spatial_input()) + g, count = d.geometry, d.node_count + profile = np.zeros(g.ny) + profile[4:9] = 1.0 + v_n, v_p = d.extrude(1e4 * profile), d.extrude(1.5e4 * profile) + beta = np.full(count, 2.0) + model = bind_field_transport_2d(g, d.electron_diffusivity_faces_m2_s, + d.hole_diffusivity_faces_m2_s, d.thermal_voltage_V, v_sat_n=v_n, v_sat_p=v_p, + ct_beta_n=beta, ct_beta_p=beta, pf_gamma_n=np.zeros(count), pf_gamma_p=np.zeros(count)) + assert model is not None + _, u = coordinates(d, lateral=True) + u[:count] += np.tile(np.linspace(0.0, .08, g.nx), g.ny) + phi, n, p = d.fields(u, voltage_V=.002) + psi_n, psi_p = d.band_structure.transport_potentials(phi) + left, right = g.contract_geometry.pairs.T + fluxes = model.fluxes(phi, n, p, psi_n, psi_p, + electron_electrochemical_step=u[count + right] - u[count + left], + hole_electrochemical_step=-(u[2 * count + right] - u[2 * count + left])) + evaluation = model.evaluate(phi) + source = {} + for name in ("solarlab.equations.field_transport_2d", "solarlab.physics.transport.field_mobility", + "solarlab.physics.transport.electrochemical_flux", "solarlab.mesh.geometry_2d"): + filename = sys.modules[name].__file__ + if filename is None: + raise ValueError("actual arithmetic source binding required") + source[name] = hashlib.sha256(Path(filename).read_bytes()).hexdigest() + record = {"schema": "solarlab.normal_face_ct_2d.algebra.v1", "completed": False, + "algebra_completed": True, "operating_point_accepted": False, "newton_calls": 0, + "geometry_identity": g.sha256, "geometry_shape": g.shape, "coordinate_count": 3 * count, + "constant_compiled_identity": d.identity, "field_transport_identity": model.identity_sha256, + "field_measure": model.field_measure, "scope": "smoothCT beta>1; PFoff; nonperiodic normal components", + "shared_compiler_dc_integration": "pending", "base_electron_D_m2_s": model.base_electron_diffusivity_m2_s, + "base_hole_D_m2_s": model.base_hole_diffusivity_m2_s, "electron_parameters": asdict(model.electron), + "hole_parameters": asdict(model.hole), "evaluation": asdict(evaluation), "fluxes": asdict(fluxes), + "x_face_count": g.x_face_count, "face_pairs": g.contract_geometry.pairs, + "face_spacing_m": g.face_spacing_m, "face_lengths_m": g.contract_geometry.face_measures, + "cell_areas_m2": g.contract_geometry.volumes, "source_sha256": source, "qualification": False} + output.parent.mkdir(parents=True, exist_ok=True) + raw = (json.dumps(_encode(record), indent=2, allow_nan=False) + "\n").encode() + with output.open("xb") as stream: + stream.write(raw) + print(json.dumps({"path": str(output.resolve()), "sha256": hashlib.sha256(raw).hexdigest(), + "algebra_completed": True, "newton_calls": 0, "qualification": False}, indent=2)) + return record + + +def read_result(path: Path, sha256: str) -> dict[str, Any]: + raw = path.read_bytes() + if hashlib.sha256(raw).hexdigest() != sha256: + raise ValueError("field2D arithmetic SHA mismatch") + record = _decode(json.loads(raw)) + if record["qualification"]: + raise ValueError("invalid solver-free field2D arithmetic receipt") + if record["schema"] == "solarlab.normal_face_ct_2d.steady.v1": + result = record["result_2d"] + if record["completed"] is not result["accepted"] or result["compiled_identity"] != record["compiled_identity"]: + raise ValueError("CT2D saved acceptance/model identity mismatch") + if record["completed"] and (result["newton"]["accepted"] is not True or + tuple(result["diagnostics"]["original_rows"]) != tuple(range(195)) or + not all(value["passed"] for value in result["checks"])): + raise ValueError("CT2D saved original rows/gates are incomplete") + elif record["schema"] != "solarlab.normal_face_ct_2d.algebra.v1" or record["newton_calls"] != 0: + raise ValueError("invalid solver-free field2D arithmetic receipt") + return record + + +def main() -> int: + parser = argparse.ArgumentParser(description=__doc__) + mode = parser.add_mutually_exclusive_group(required=True) + mode.add_argument("--output", type=Path) + mode.add_argument("--steady-output", type=Path) + mode.add_argument("--read", type=Path) + parser.add_argument("--sha256") + parser.add_argument("--config", type=Path, help="explicit content-bound device/catalog JSON") + args = parser.parse_args() + if args.read is not None: + if args.sha256 is None: + parser.error("--read requires --sha256") + record = read_result(args.read, args.sha256) + print(json.dumps({"schema": record["schema"], "completed": record.get("completed", False), "qualification": False})) + elif args.steady_output is not None: + return 0 if native_case(args.steady_output, config=args.config)["completed"] else 2 + else: + algebra(args.output, config=args.config) + return 0 + + +if __name__ == "__main__": + raise SystemExit(main()) diff --git a/examples/research_2d/grain_jv.py b/examples/research_2d/grain_jv.py new file mode 100644 index 00000000..ec8af8cf --- /dev/null +++ b/examples/research_2d/grain_jv.py @@ -0,0 +1,156 @@ +"""One bounded neutral-grain2D J-V curve using the shared accepted-state driver. + + .venv/bin/python -m examples.research_2d.grain_jv solve --initial-result GrainSteady.json \ + --initial-sha256 SHA --output JV.json --baseline-result NoGrainJV.json --baseline-sha256 SHA + .venv/bin/python -m examples.research_2d.grain_jv read --result JV.json --sha256 SHA + +The existing0.4um center/0.3um width and0.5/0.25us lifetimes are illustrative +declared inputs. PV quantities are sampled/interpolated; irradiance is not +inferred. The saved no-grain curve is read only and no prior point is replayed. +""" + +from __future__ import annotations + +import argparse +from dataclasses import asdict +import hashlib +import json +from pathlib import Path +import time +from typing import Any + +import numpy as np + +from examples.research_1d.steady import load_device +from examples.research_2d.grains import spatial_input, run_case as prepare_grain_initial +from examples.research_2d.jv import summary as shared_summary +from solarlab.device.compile_2d import compile_device_2d +from solarlab.experiments.jv.steady_2d import ( + SteadyJV2DAttempt, SteadyJV2DOptions, SteadyJV2DResult, load_steady_jv_2d_initial, + read_steady_jv_2d, run_steady_jv_2d, write_steady_jv_2d, +) +from solarlab.experiments.transient_results import _encode + + +def summary(record: dict[str, Any]) -> dict[str, Any]: + model = record["result"]["geometry"].get("grain_model") + if model is None: + raise ValueError("this example requires explicit saved neutral-grain provenance") + return {**shared_summary(record), "grain_model_id": model["model_id"], + "grain_declarations": [r["declaration"] for r in model["regions"]], + "lateral_current_max_A_m2": max((float(np.max(abs(a["solution"]["diagnostics"]["lateral_current_density_A_m2"]))) + for a in record["result"]["attempts"] if a["accepted"]), default=None)} + + +def compare_saved(grain_path: Path, grain_sha256: str, baseline_path: Path, + baseline_sha256: str) -> dict[str, Any]: + """Compare only hash-bound actual accepted samples; compile/solve nothing.""" + grain, baseline = read_steady_jv_2d(grain_path, grain_sha256), read_steady_jv_2d(baseline_path, baseline_sha256) + g, b = grain["result"], baseline["result"] + if "grain_model" not in g["geometry"] or "grain_model" in b["geometry"]: + raise ValueError("comparison requires explicit grain and no-grain curves") + if (g["geometry"]["identity"] != b["geometry"]["identity"] or g["generation_scale"] != b["generation_scale"] + or g["lateral_width_m"] != b["lateral_width_m"] or g["voltage_polarity"] != b["voltage_polarity"]): + raise ValueError("comparison geometry, generation, sign or per-depth width differs") + linked = baseline.get("continuation") + bv = b["voltage_V"] if linked is None else linked["combined_voltage_V"] + bj = b["output_current_A_m2"] if linked is None else linked["combined_output_current_A_m2"] + bm = b["metrics"] if linked is None else linked["metrics"] + common, gi, bi = np.intersect1d(g["voltage_V"], bv, return_indices=True) + keys = ("short_circuit_current_A_m2", "open_circuit_voltage_V", "maximum_power_W_m2", "fill_factor") + return {"grain_artifact": {"path": str(grain_path.resolve()), "sha256": grain_sha256}, + "no_grain_artifact": {"path": str(baseline_path.resolve()), "sha256": baseline_sha256}, + "grain_compiled_identity": g["compiled_identity"], "no_grain_compiled_identity": b["compiled_identity"], + "grain_model": g["geometry"]["grain_model"], "common_accepted_voltage_V": common, + "grain_output_current_A_m2": g["output_current_A_m2"][gi], "no_grain_output_current_A_m2": bj[bi], + "delta_current_A_m2": g["output_current_A_m2"][gi] - bj[bi], + "grain_metrics": g["metrics"], "no_grain_metrics": bm, + "metric_deltas": {key: None if g["metrics"][key] is None or bm[key] is None else g["metrics"][key] - bm[key] + for key in keys}, "new_numerical_solves": 0, "irradiance_W_m2": None, + "limitation": "illustrative source-bound comparison; partial accepted grids retained; no convergence or causal qualification", + "qualification": False} + + +def run_case(initial_path: Path | None, initial_sha256: str | None, output: Path, *, + baseline_path: Path | None = None, baseline_sha256: str | None = None, + absolute_deadline_s: float | None = None) -> SteadyJV2DResult: + if output.exists(): + raise FileExistsError("preserve the original grain curve") + began = time.monotonic() + device = compile_device_2d(load_device(), spatial_input()) + controls = SteadyJV2DOptions(wall_s=80.0) + startup: dict[str, Any] = {"kind": "exact_saved_same_source_initial", "auxiliary_1d_seed_calls": 0, + "full_2d_initial_newton_calls": 0} + if initial_path is None: + if initial_sha256 is not None: + raise ValueError("an initial SHA requires an explicit initial path") + initial_path = output.with_name(output.stem + ".initial.json") + startup_began = time.monotonic() + prepared = prepare_grain_initial(initial_path) + startup = {"kind": "fresh_illuminated_experiment_startup", "path": str(initial_path.resolve()), + "auxiliary_1d_seed_calls": prepared["auxiliary_1d_seed_calls"], + "full_2d_initial_newton_calls": prepared["full_2d_newton_calls"], + "auxiliary_seed_is_2d_completion": False, + "started_monotonic_s": startup_began, "completed_monotonic_s": time.monotonic(), + "wall_s": time.monotonic() - startup_began} + if not prepared["completed"]: + raise RuntimeError("fresh grain2D startup failed; preserve the original initial receipt and stop") + initial_sha256 = hashlib.sha256(initial_path.read_bytes()).hexdigest() + if initial_sha256 is None: + raise ValueError("saved initial requires its explicit SHA-256") + initial = load_steady_jv_2d_initial(device, initial_path, initial_sha256, options=controls.steady) + def progress(attempt: SteadyJV2DAttempt) -> None: + if attempt.index == 2 or (attempt.index + 1) % 10 == 0 or not attempt.accepted: + print(json.dumps({"same_wave_point": attempt.index + 1, "voltage_V": attempt.voltage_V, + "accepted": attempt.accepted, "termination": attempt.termination}), flush=True) + curve_began = time.monotonic() + result = run_steady_jv_2d(device, initial, np.linspace(0.0, 1.25, 51), options=controls, + on_point=progress, checkpoint_directory=output.with_name(output.stem + ".checkpoints"), + absolute_deadline_s=absolute_deadline_s) + curve_completed = time.monotonic() + output.parent.mkdir(parents=True, exist_ok=True) + digest = write_steady_jv_2d(result, output) + record = read_steady_jv_2d(output, digest) + if baseline_path is not None: + if baseline_sha256 is None: + raise ValueError("saved comparison requires its explicit baseline SHA-256") + comparison = compare_saved(output, digest, baseline_path, baseline_sha256) + path = output.with_name(output.stem + ".comparison.json") + with path.open("x") as stream: + json.dump(_encode(comparison), stream, indent=2, allow_nan=False) + print(json.dumps({"result_path": str(output.resolve()), "result_sha256": digest, + "startup": startup, "controls": asdict(controls), **summary(record)}, indent=2, allow_nan=False), flush=True) + with output.with_name(output.stem + ".timing.json").open("x") as stream: + json.dump({"startup": startup, "curve_started_monotonic_s": curve_began, + "curve_completed_monotonic_s": curve_completed, "curve_call_wall_s": curve_completed - curve_began, + "driver_owned_wall_s": result.wall_s, "example_whole_wall_s": time.monotonic() - began, + "absolute_compute_deadline_s": absolute_deadline_s, "qualification": False}, stream, indent=2, allow_nan=False) + return result + + +def main() -> int: + parser = argparse.ArgumentParser(description=__doc__, formatter_class=argparse.RawDescriptionHelpFormatter) + commands = parser.add_subparsers(dest="command", required=True) + solve = commands.add_parser("solve") + solve.add_argument("--initial-result", type=Path) + solve.add_argument("--initial-sha256") + solve.add_argument("--output", type=Path, required=True) + solve.add_argument("--baseline-result", type=Path) + solve.add_argument("--baseline-sha256") + solve.add_argument("--absolute-deadline-s", type=float) + read = commands.add_parser("read") + read.add_argument("--result", type=Path, required=True) + read.add_argument("--sha256", required=True) + args = parser.parse_args() + if args.command == "read": + record = read_steady_jv_2d(args.result, args.sha256) + print(json.dumps(summary(record), indent=2, allow_nan=False)) + return 0 if record["completed"] else 2 + result = run_case(args.initial_result, args.initial_sha256, args.output, + baseline_path=args.baseline_result, baseline_sha256=args.baseline_sha256, + absolute_deadline_s=args.absolute_deadline_s) + return 0 if result.completed else 2 + + +if __name__ == "__main__": + raise SystemExit(main()) diff --git a/examples/research_2d/grains.py b/examples/research_2d/grains.py new file mode 100644 index 00000000..fca8e598 --- /dev/null +++ b/examples/research_2d/grains.py @@ -0,0 +1,251 @@ +"""One illustrative neutral grain-region steady point, with lossless saved read. + + .venv/bin/python -m examples.research_2d.grains --algebra Algebra.json + .venv/bin/python -m examples.research_2d.grains --output GrainSteady.json + .venv/bin/python -m examples.research_2d.grains --read GrainSteady.json --sha256 SHA + +The declared lifetimes and geometry are illustrative research inputs. A +single cold new-core 1D calculation is numerical preparation only; only the +connected 2D Newton result can establish the requested steady point. +""" + +from __future__ import annotations + +import argparse +from dataclasses import asdict, replace +import hashlib +import json +from pathlib import Path +import sys +import time +from typing import Any + +import numpy as np + +from examples.research_1d.steady import load_device +from examples.research_2d.dc_assembly import coordinates, spatial_input as uniform_spatial_input +from examples.research_2d.steady import lateral_initial +from solarlab.device.compile_2d import compile_device_2d +from solarlab.device.grain_2d import GrainRecombination2D +from solarlab.device.resolved import PreparedDevice +from solarlab.equations.dc_2d import CompiledDevice2D, DC2DProblem +from solarlab.experiments.transient_results import _decode, _encode +from solarlab.experiments.two_dimensional.inputs import JV2DInput +from solarlab.solvers.nonlinear.steady_1d import SteadyOptions, SteadyStateError, solve_steady_state +from solarlab.solvers.nonlinear.steady_2d import Steady2DOptions, solve_steady_state_2d + +SCHEMA = "solarlab.neutral_grain_2d.research.v1" +TARGET = {"voltage_V": .002, "generation_scale": 1.0} + + +def spatial_input() -> JV2DInput: + return JV2DInput.model_validate({**uniform_spatial_input().editing_data(), "microstructure": { + "grain_boundaries": [{"id": "absorber_grain", "layer_ids": ["absorber"], + "x_position": "0.4 um", "width": "0.3 um", "tau_n": "0.5 us", "tau_p": "0.25 us"}]}}) + + +def source_pins() -> dict[str, str]: + """Record the actual imported core plus the three research consumers.""" + result = {} + for name, module in tuple(sys.modules.items()): + if not (name == "solarlab" or name.startswith("solarlab.") or name in { + __name__, "examples.research_1d.steady", "examples.research_2d.steady", + "examples.research_2d.dc_assembly"}): + continue + filename = getattr(module, "__file__", None) + if filename is not None: + result[name] = hashlib.sha256(Path(filename).read_bytes()).hexdigest() + return result + + +def binding_record(d: CompiledDevice2D, prepared: PreparedDevice) -> dict[str, Any]: + binding = d.grain_recombination + if not isinstance(binding, GrainRecombination2D): + raise ValueError("this example requires its explicit neutral grain inventory") + g = d.geometry + return {"model_id": binding.model_id, "geometry_sha256": binding.geometry_sha256, + "effective_origin": binding.effective_origin, "grain_row_ownership": "left_layer_wins", + "material_ownership": "right_layer_wins", "rate_unit": "m^-3 s^-1", "partial_unit": "s^-1", + "rule": "R_total += f * (R_grain_SRH - R_bulk_SRH); identical correction to dR/dn and dR/dp", + "no_grain_charge_or_extra_state": True, "effective_lifetime_painting": False, + "regions": [{"declaration": r.declaration.normalized_data(), "x_overlap_fraction": r.x_overlap_fraction, + "y_mask": r.y_mask, "fractions": r.fractions.reshape(g.shape), + "represented_width_m": r.represented_width_m, "represented_height_m": r.represented_height_m, + "represented_area_m2": r.represented_area_m2, + "nominal_selected_layer_thickness_m": sum(layer.thickness for layer in prepared.layers + if layer.id in r.declaration.layer_ids)} for r in binding.regions], + "bulk_coefficients": asdict(d.recombination.coefficients), + "column_projection": None if d.column_projection_json is None else json.loads(d.column_projection_json)} + + +def _base_record(d: CompiledDevice2D, prepared: PreparedDevice, spatial: JV2DInput) -> dict[str, Any]: + g = d.geometry + return {"schema": SCHEMA, "target": TARGET, "qualification": False, + "input_interpretation": "illustrative declared neutral volumetric SRH bands; no mesh or scientific qualification", + "compiled_identity": d.identity, "prepared_identity": prepared.content_sha256, + "prepared_declaration": prepared.to_mapping(), "spatial_declaration": spatial.editing_data(), + "auxiliary_column_identity": d.column.identity, "grain_binding": binding_record(d, prepared), + "geometry": {"sha256": g.sha256, "shape_Ny_Nx": g.shape, "x_m": g.x_m, "y_m": d.column.nodes_m, + "x_widths_m": g.x_widths_m, "y_widths_m": g.y_geometry.cell_measures_m, + "cell_areas_m2": g.contract_geometry.volumes.reshape(g.shape), + "lateral_width_m": g.lateral_length_m, "face_pairs": g.contract_geometry.pairs, + "face_lengths_m": g.contract_geometry.face_measures, "face_spacing_m": g.face_spacing_m}, + "generation_source_m3_s": d.generation_source_m3_s.reshape(g.shape), + "source_sha256": source_pins()} + + +def _write(path: Path, value: dict[str, Any]) -> None: + path.parent.mkdir(parents=True, exist_ok=True) + raw = (json.dumps(_encode(value), indent=2, allow_nan=False) + "\n").encode() + with path.open("xb") as stream: + stream.write(raw) + print(json.dumps({"path": str(path.resolve()), "sha256": hashlib.sha256(raw).hexdigest(), + "completed": value.get("completed", False), "qualification": False}), flush=True) + + +def algebra(output: Path, *, config: Path | None = None) -> dict[str, Any]: + if output.exists(): + raise FileExistsError("preserve original evidence; output already exists") + prepared, spatial = load_device(config), spatial_input() + d = compile_device_2d(prepared, spatial) + record = _base_record(d, prepared, spatial) + _, u = coordinates(d, lateral=True) + problem = DC2DProblem(d, .002, 0.0) + matrix = problem.jacobian(u) + rng = np.random.default_rng(772) + direction = np.r_[.02*rng.normal(size=d.node_count), rng.normal(size=2*d.node_count)] + h = 2e-4 + numeric = (problem.residual(u-2*h*direction)-8*problem.residual(u-h*direction) + + 8*problem.residual(u+h*direction)-problem.residual(u+2*h*direction))/(12*h) + scale = np.maximum(abs(matrix) @ abs(direction), 1e-20) + _, n, p = d.fields(u, voltage_V=.002) + record.update(mode="algebra", completed=False, accepted=False, newton_calls=0, + state=d.state(u, voltage_V=.002), residual=problem.residual(u), + jacobian_csc={"data": matrix.data, "indices": matrix.indices, "indptr": matrix.indptr, "shape": matrix.shape}, + recombination=asdict(problem.recombination_rate(n, p)), bulk_recombination=asdict(d.recombination.evaluate(n, p).total), + direction=direction, numeric_direction=numeric, analytic_direction=matrix@direction, + directional_scale=scale, directional_step=h, directional_criterion=2e-8, + directional_relative_error=float(np.max(abs(numeric-matrix@direction)/scale))) + _write(output, record) + return record + + +def run_case(output: Path, *, config: Path | None = None) -> dict[str, Any]: + if output.exists(): + raise FileExistsError("preserve the first grain steady attempt; output already exists") + started = time.monotonic() + controls = Steady2DOptions() + prepared, spatial = load_device(config), spatial_input() + d = compile_device_2d(prepared, spatial) + record = _base_record(d, prepared, spatial) + seed, result, failed_seed, error = None, None, None, None + seed_calls, coupled_calls = 0, 0 + try: + seed_calls += 1 + seed = solve_steady_state(d.column, **TARGET, initial_state=None, options=SteadyOptions()) + initial = lateral_initial(d, seed.state.u, voltage_V=TARGET["voltage_V"]) + remaining = controls.wall_s - (time.monotonic() - started) + if remaining <= 0: + raise TimeoutError("whole grain witness budget exhausted in cold numerical preparation") + result = solve_steady_state_2d(d, **TARGET, options=replace(controls, wall_s=remaining), initial_state=initial, + initial_provenance={"kind": "existing cold auxiliary1D preparation plus explicit lateral perturbation", + "auxiliary_seed_is_2d_completion": False, "auxiliary_1d_compiled_identity": d.column.identity, + "auxiliary_1d_state_sha256": hashlib.sha256(seed.state.u.tobytes()).hexdigest(), + "grain_model_id": record["grain_binding"]["model_id"], + "perturbation": {"phi_V": .0007, "z_n": .013, "z_p": .011, + "shape": "stack sine times lateral sine/cosine; contact perturbations exactly zero"}}) + coupled_calls = result.solver_controls["full_2d_newton_calls"] + after = source_pins() + record["source_sha256_after"] = after + if any(after.get(name) != pin for name, pin in record["source_sha256"].items()): + raise RuntimeError("imported physical source changed during the grain witness") + error = result.error + except Exception as exc: + error = f"{type(exc).__name__}: {str(exc)[:600]}" + failed_seed = exc.result if isinstance(exc, SteadyStateError) else None + accepted = result is not None and result.accepted and error is None + record.update(mode="steady", completed=accepted, accepted=accepted, + termination="preparation_or_source_failed" if result is None or error is not None else result.termination, + error=error, result_2d=result, auxiliary_1d_seed=seed, failed_auxiliary_seed_newton=failed_seed, + auxiliary_1d_seed_calls=seed_calls, full_2d_newton_calls=coupled_calls, + auxiliary_seed_is_2d_completion=False, controls=asdict(controls), wall_s=time.monotonic()-started) + if result is not None and result.state is not None: + problem = DC2DProblem(d, **TARGET) + _, n, p = d.fields(result.state.u, voltage_V=TARGET["voltage_V"]) + record["recombination"] = asdict(problem.recombination_rate(n, p)) + record["bulk_recombination"] = asdict(d.recombination.evaluate(n, p).total) + _write(output, record) + return record + + +def read_result(path: Path, sha256: str) -> dict[str, Any]: + """Validate saved identities, representation and results without any solve.""" + raw = path.read_bytes() + if hashlib.sha256(raw).hexdigest() != sha256: + raise ValueError("grain2D saved SHA-256 mismatch") + value = _decode(json.loads(raw)) + if value.get("schema") != SCHEMA or value.get("qualification") is not False: + raise ValueError("unsupported grain2D saved result") + g, binding = value["geometry"], value["grain_binding"] + shape = tuple(g["shape_Ny_Nx"]) + if binding["geometry_sha256"] != g["sha256"] or not binding["regions"]: + raise ValueError("missing exact grain geometry binding") + for r in binding["regions"]: + f = np.asarray(r["fractions"]) + expected = np.asarray(r["y_mask"])[:, None] * np.asarray(r["x_overlap_fraction"])[None, :] + if (f.shape != shape or not np.array_equal(f, expected) or not np.all(np.isfinite(f)) + or np.any(f < 0) or np.any(f > 1) + or float(f.ravel() @ np.asarray(g["cell_areas_m2"]).ravel()) != r["represented_area_m2"]): + raise ValueError("saved grain mask/fractions/represented area disagree") + if value["mode"] == "steady": + result = value["result_2d"] + completed = result is not None and result["accepted"] is True and value["error"] is None + if value["completed"] is not completed or value["accepted"] is not completed: + raise ValueError("grain completion disagrees with the retained attempt") + if result is not None: + if (result["compiled_identity"] != value["compiled_identity"] + or result["physical_certificate_status"] != "not_evaluated" + or result["operating_voltage_V"] != value["target"]["voltage_V"] + or result["generation_scale"] != value["target"]["generation_scale"]): + raise ValueError("grain2D result lost original source or operating point") + if completed: + state, newton, data = result["state"], result["newton"], result["diagnostics"] + if (state["device_sha256"] != value["compiled_identity"] or newton["accepted"] is not True + or not np.array_equal(state["u"], newton["state"]) + or not np.array_equal(state["u"], result["candidate_coordinates"]) + or tuple(data["original_rows"]) != tuple(range(3*int(np.prod(shape)))) + or not result["checks"] or any(check["passed"] is not True or check["value"] > check["limit"] for check in result["checks"])): + raise ValueError("accepted grain2D result lost original full-row Newton/gate evidence") + for name in ("potential_V", "electron_density_m3", "hole_density_m3"): + fields = np.asarray(state[name]) + if fields.shape != shape or not np.all(np.isfinite(fields)) or (name != "potential_V" and np.any(fields <= 0)): + raise ValueError("saved2D physical fields invalid") + elif value["mode"] != "algebra" or value["completed"] or value["newton_calls"] != 0: + raise ValueError("algebra evidence cannot claim a steady result") + return value + + +def main() -> int: + parser = argparse.ArgumentParser(description=__doc__, formatter_class=argparse.RawDescriptionHelpFormatter) + mode = parser.add_mutually_exclusive_group(required=True) + mode.add_argument("--algebra", type=Path) + mode.add_argument("--output", type=Path) + mode.add_argument("--read", type=Path) + parser.add_argument("--sha256") + parser.add_argument("--config", type=Path) + args = parser.parse_args() + if args.read is not None: + if args.sha256 is None: + parser.error("--read requires --sha256") + record = read_result(args.read, args.sha256) + print(json.dumps({"mode": record["mode"], "completed": record["completed"], + "compiled_identity": record["compiled_identity"], "qualification": False})) + elif args.algebra is not None: + record = algebra(args.algebra, config=args.config) + else: + record = run_case(args.output, config=args.config) + return 0 if record["mode"] == "algebra" or record["completed"] else 2 + + +if __name__ == "__main__": + raise SystemExit(main()) diff --git a/examples/research_2d/http_steady.py b/examples/research_2d/http_steady.py new file mode 100644 index 00000000..6a1e38fa --- /dev/null +++ b/examples/research_2d/http_steady.py @@ -0,0 +1,90 @@ +"""Serve installed no-grain full2D steady jobs on the shared HTTP service. + +GET /experiments gives the fixed geometry, complete controls and submit headers. +POST /jobs starts an actual ProcessSupervisor child. The existing result, +artifact and event routes also read original historical process attempts. +""" +from __future__ import annotations + +import argparse +from dataclasses import asdict +import json +from pathlib import Path +from typing import TYPE_CHECKING, Any + +if TYPE_CHECKING: + from solarlab.config.identity import BuildSource + from solarlab.experiments.worker import ResourceLimits + from solarlab_server.job_service import ExecutionCatalog + + +def resource_limits() -> ResourceLimits: + from solarlab.experiments.worker import ResourceLimits + return ResourceLimits(30., 1536 * 1024**2, 96 * 1024**2, None, None) + + +def example_submission(run_id: str = "http-steady2d-completed", *, insufficient_budget: bool = False) -> dict[str, Any]: + from solarlab_server.steady_2d_preparation import _policy + policy = _policy() + return {"schema_version": "solarlab.job-submission.v1", "run_id": run_id, + "experiment_id": "steady_2d", "version": 1, "engine": "solarlab", + "input": {"device_id": "research_2d_uniform", "voltage_V": .002, "generation_scales": [0., 1.], + "spatial": policy["spatial"], "initial": policy["initial"], + "controls": policy["insufficient_budget_controls" if insufficient_budget else "controls"]}, + "limits": asdict(resource_limits())} + + +def installed_catalog(implementation: BuildSource, current_repository_head: str) -> ExecutionCatalog: + from examples.research_1d.steady import load_device + from solarlab_server.steady_2d_preparation import Steady2DPreparationContext, steady_2d_execution_catalog + context = Steady2DPreparationContext((("research_2d_uniform", load_device()),), implementation, current_repository_head) + return steady_2d_execution_catalog(context, ceiling=resource_limits()) + + +def main() -> None: + parser = argparse.ArgumentParser(description=__doc__) + parser.add_argument("--store", type=Path, required=True) + parser.add_argument("--work", type=Path, required=True) + parser.add_argument("--build-source-commit", required=True) + parser.add_argument("--source-archive", type=Path) + parser.add_argument("--current-repository-head", required=True) + parser.add_argument("--port", type=int, default=8000) + parser.add_argument("--prepare-only", action="store_true") + args = parser.parse_args() + if not 1 <= args.port <= 65535: + parser.error("port must be between1 and65535") + from examples.research_1d.process_ionic_transient import source_build + from solarlab_server.job_service import JobSubmission + implementation = source_build(args.build_source_commit, args.source_archive) + catalog = installed_catalog(implementation, args.current_repository_head) + startup = {"base_url": f"http://127.0.0.1:{args.port}", "build_source_commit": implementation.build_source_commit, + "current_repository_head": args.current_repository_head, "execution_catalog_sha256": catalog.document.sha256, + "job_schema_sha256": catalog.schema.sha256, "example_submission": example_submission(), "scientific_qualification": False} + if args.prepare_only: + spec, binding = catalog.prepare(JobSubmission.model_validate(example_submission())) + print(json.dumps({**startup, "prepared_only": True, "new_processes": 0, "new_solves": 0, + "worker_id": spec.worker_id, "request_sha256": spec.request.request.sha256, + "dimension": binding.inputs.selection.context.dimension, "manifest": binding.summary()}, indent=2), flush=True) + return + import uvicorn + from solarlab.experiments.execution import ProcessSupervisor + from solarlab.io.run_store import RunStore + from solarlab_server.app import create_app + from solarlab_server.job_service import JobService + root, work = args.store.expanduser().resolve(), args.work.expanduser().resolve() + root.parent.mkdir(parents=True, exist_ok=True) + work.parent.mkdir(parents=True, exist_ok=True) + with RunStore(root) as store, ProcessSupervisor(store, work, catalog.worker_bindings(), max_active=1, max_pending=2, + shared_rss_bytes=3 * 1024**3, shared_output_bytes=384 * 1024**2) as supervisor: + app = create_app(store.root, job_service=JobService(catalog, supervisor)) + print(json.dumps({**startup, "store_id": store.store_id}), flush=True) + try: + uvicorn.run(app, host="127.0.0.1", port=args.port, workers=1, loop="asyncio", http="h11") + except KeyboardInterrupt: + pass + print(json.dumps({"service_closed": True, "read_handle_closed": app.state.run_store is None, + "process_owner_closed": supervisor._closed}), flush=True) + + +if __name__ == "__main__": + main() diff --git a/examples/research_2d/jv.py b/examples/research_2d/jv.py new file mode 100644 index 00000000..f67bf28b --- /dev/null +++ b/examples/research_2d/jv.py @@ -0,0 +1,120 @@ +"""One bounded no-grain2D J-V wave from an accepted saved illuminated state. + + .venv/bin/python -m examples.research_2d.jv solve --initial-result Steady.json \ + --initial-sha256 SHA --output JV.json + .venv/bin/python -m examples.research_2d.jv read --result JV.json --sha256 SHA + +The51 points are steady voltage continuation, not a transient or hysteresis +experiment. PV metrics are sampled/interpolated. Efficiency requires explicit +--incident-power-W-m2; no irradiance is inferred from the generation profile. +""" + +from __future__ import annotations + +import argparse +import json +from pathlib import Path +from typing import Any + +import numpy as np + +from examples.research_1d.steady import load_device +from examples.research_2d.dc_assembly import spatial_input +from solarlab.device.compile_2d import compile_device_2d +from solarlab.experiments.jv.steady_2d import ( + SteadyJV2DAttempt, SteadyJV2DOptions, SteadyJV2DResult, load_steady_jv_2d_initial, + continue_steady_jv_2d, read_steady_jv_2d, run_steady_jv_2d, write_steady_jv_2d, +) + + +def summary(record: dict[str, Any]) -> dict[str, Any]: + result = record["result"] + linked = record.get("continuation") + offset = 0 if linked is None else linked["tail_index_offset"] + return {"completed": record["completed"], "requested_points": len(result["requested_voltage_V"]) if linked is None + else len(linked["original_requested_voltage_V"]), + "accepted_points": len(result["voltage_V"]) + offset, "unattempted_points": len(record["unattempted_voltage_V"]), + "metrics": result["metrics"] if linked is None else linked["metrics"], + "incident_power_W_m2": result["incident_power_W_m2"], + "compiled_identity": result["compiled_identity"], "solver_calls": result["solver_calls"] if linked is None + else linked["total_actual_solver_calls"], "new_tail_solver_calls": None if linked is None else result["solver_calls"], + "preserved_prefix_failure": None if linked is None else linked["preserved_prefix_failure"], + "preserved_earlier_failure": None if linked is None else linked.get("preserved_earlier_failure"), + "wall_s": result["wall_s"], "first_failure": next(({ + "index": item["index"] + offset, "voltage_V": item["voltage_V"], "termination": item["termination"], "error": item["error"]} + for item in result["attempts"] if not item["accepted"]), None), "qualification": False} + + +def run_case(initial_path: Path, initial_sha256: str, output: Path, + *, incident_power_W_m2: float | None = None, + absolute_deadline_s: float | None = None) -> SteadyJV2DResult: + if output.exists(): + raise FileExistsError("preserve the original2D J-V wave; output already exists") + device = compile_device_2d(load_device(), spatial_input()) + controls = SteadyJV2DOptions() + initial = load_steady_jv_2d_initial(device, initial_path, initial_sha256, options=controls.steady) + def progress(attempt: SteadyJV2DAttempt) -> None: + if attempt.index == 2 or not attempt.accepted: + print(json.dumps({"same_wave_checkpoint": attempt.index + 1, "voltage_V": attempt.voltage_V, + "accepted": attempt.accepted, "termination": attempt.termination, "error": attempt.error}), flush=True) + result = run_steady_jv_2d(device, initial, np.linspace(0.0, 1.25, 51), options=controls, + incident_power_W_m2=incident_power_W_m2, on_point=progress, + checkpoint_directory=output.with_name(output.stem + ".checkpoints"), + absolute_deadline_s=absolute_deadline_s) + output.parent.mkdir(parents=True, exist_ok=True) + digest = write_steady_jv_2d(result, output) + print(json.dumps({"result_path": str(output.resolve()), "result_sha256": digest, + **summary(read_steady_jv_2d(output, digest))}, indent=2, allow_nan=False), flush=True) + return result + + +def continue_case(prefix_path: Path, prefix_sha256: str, output: Path, + *, absolute_deadline_s: float | None = None) -> SteadyJV2DResult: + """One explicitly authorized remaining tail, preserving its failed prefix.""" + if output.exists(): + raise FileExistsError("preserve the existing2D tail wave") + device = compile_device_2d(load_device(), spatial_input()) + result = continue_steady_jv_2d(device, prefix_path, prefix_sha256, + checkpoint_directory=output.with_name(output.stem + ".checkpoints"), + absolute_deadline_s=absolute_deadline_s) + output.parent.mkdir(parents=True, exist_ok=True) + digest = write_steady_jv_2d(result, output) + print(json.dumps({"result_path": str(output.resolve()), "result_sha256": digest, + **summary(read_steady_jv_2d(output, digest))}, indent=2, allow_nan=False), flush=True) + return result + + +def main() -> int: + parser = argparse.ArgumentParser(description=__doc__, formatter_class=argparse.RawDescriptionHelpFormatter) + commands = parser.add_subparsers(dest="command", required=True) + solve = commands.add_parser("solve") + solve.add_argument("--initial-result", type=Path, required=True) + solve.add_argument("--initial-sha256", required=True) + solve.add_argument("--output", type=Path, required=True) + solve.add_argument("--incident-power-W-m2", type=float) + solve.add_argument("--absolute-deadline-s", type=float) + tail = commands.add_parser("continue", help="explicit recovery of an unchanged accepted wall-stopped prefix") + tail.add_argument("--prefix-result", type=Path, required=True) + tail.add_argument("--prefix-sha256", required=True) + tail.add_argument("--output", type=Path, required=True) + tail.add_argument("--absolute-deadline-s", type=float) + read = commands.add_parser("read") + read.add_argument("--result", type=Path, required=True) + read.add_argument("--sha256", required=True) + args = parser.parse_args() + if args.command == "read": + record = read_steady_jv_2d(args.result, args.sha256) + print(json.dumps(summary(record), indent=2, allow_nan=False)) + return 0 if record["completed"] else 2 + if args.command == "continue": + result = continue_case(args.prefix_result, args.prefix_sha256, args.output, + absolute_deadline_s=args.absolute_deadline_s) + return 0 if result.completed else 2 + result = run_case(args.initial_result, args.initial_sha256, args.output, + incident_power_W_m2=args.incident_power_W_m2, + absolute_deadline_s=args.absolute_deadline_s) + return 0 if result.completed else 2 + + +if __name__ == "__main__": + raise SystemExit(main()) diff --git a/examples/research_2d/optical_generation.py b/examples/research_2d/optical_generation.py new file mode 100644 index 00000000..6d8c7609 --- /dev/null +++ b/examples/research_2d/optical_generation.py @@ -0,0 +1,160 @@ +"""Actual uniform-column spectral optical source on13x5 half-height cells. + + .venv/bin/python -m examples.research_2d.optical_generation --output Optical.json + .venv/bin/python -m examples.research_2d.optical_generation --read Optical.json --sha256 SHA + +The supplied seven-point spectrum and n-k table reuse the illustrative1D +declaration. This constructs an optical2D source, without a carrier solve, +lateral electromagnetic propagation, irradiance/PCE or scientific qualification. +""" + +from __future__ import annotations + +import argparse +from dataclasses import asdict +import hashlib +import json +from pathlib import Path +import sys +from typing import Any + +import numpy as np + +from examples.research_1d.optical_generation import prepare_case as prepare_1d_case +from solarlab.contracts.units import ELEMENTARY_CHARGE_C as Q +from solarlab.device.optical_generation import PHOTON_BUDGET_RTOL +from solarlab.device.optical_generation_2d import bind_optical_generation_2d +from solarlab.device.resolved import PreparedDevice +from solarlab.experiments.transient_results import _decode, _encode +from solarlab.mesh import multilayer_grid +from solarlab.mesh.geometry import half_endpoint_geometry +from solarlab.mesh.geometry_2d import RectangularGeometry2D + +SCHEMA = "solarlab.optical_source_2d.research.v1" + + +def research_geometry(prepared: PreparedDevice) -> RectangularGeometry2D: + layers = tuple(layer for layer in prepared.layers if layer.role != "substrate") + grid = {entry["layer"]: entry for entry in prepared.to_mapping()["electrical_grid"]} + thicknesses = [layer.thickness for layer in layers] + nodes = multilayer_grid([(value, 4) for value in thicknesses], + alpha=[grid.get(layer.id, {}).get("alpha", 3.0) for layer in layers]) + return RectangularGeometry2D(np.linspace(0.0, 1e-6, 5), + half_endpoint_geometry(nodes, np.cumsum(thicknesses)[:-1])) + + +def source_hashes() -> dict[str, str]: + names = (__name__, "examples.research_1d.optical_generation", "solarlab.device.optical_generation_2d", + "solarlab.device.optical_generation", "solarlab.physics.generation.optical_binding", + "solarlab.physics.generation.transfer_matrix", "solarlab.physics.generation.spectrum", + "solarlab.physics.generation.profile", "solarlab.physics.generation._validation", + "solarlab.materials.resources", "solarlab.mesh.grid", "solarlab.mesh.geometry", "solarlab.mesh.geometry_2d") + result = {} + for name in names: + filename = sys.modules[name].__file__ + if filename is None: + raise ValueError("actual optical source files are required") + result[name] = hashlib.sha256(Path(filename).read_bytes()).hexdigest() + return result + + +def construct(output: Path) -> dict[str, Any]: + if output.exists(): + raise FileExistsError("preserve the first optical2D source receipt") + prepared = prepare_1d_case() + geometry = research_geometry(prepared) + optical = bind_optical_generation_2d(prepared, geometry) + optical.require_inputs(prepared, geometry) + binding = asdict(optical.optical_y.binding) + binding["physical_layer_slices"] = [{"name": name, "start": part.start, "stop": part.stop} + for name, part in optical.optical_y.binding.physical_layer_slices] + budget = optical.optical_y.budget + summary = {"geometry_shape": geometry.shape, "source_cell_count": geometry.node_count, + "prepared_identity": prepared.content_sha256, "geometry_identity": geometry.sha256, + "optical2d_identity": optical.identity_sha256, "incident_photons_m2_s": budget.incident_m2_s, + "reflected_photons_m2_s": budget.reflected_m2_s, "transmitted_photons_m2_s": budget.transmitted_m2_s, + "electrical_absorbed_photons_m2_s": budget.electrical_absorbed_m2_s, + "parasitic_absorbed_photons_m2_s": budget.parasitic_absorbed_m2_s, + "particle_generation_per_depth_m_s": optical.particle_generation_per_depth_m_s, + "generation_current_limit_A_m": optical.generation_current_limit_A_m, + "generation_current_limit_A_m2": optical.generation_current_limit_A_m2, + "photon_budget_roundoff_rtol": PHOTON_BUDGET_RTOL, + "source_constructed": True, "coupled_2d_operating_point_accepted": False, + "nonlinear_solve_calls": 0, "qualification": False} + record = {"schema": SCHEMA, "summary": summary, "source_m3_s": optical.source_m3_s, + "cell_generation_per_depth_m_s": optical.cell_generation_per_depth_m_s, + "generation_y": optical.optical_y.profile, "photon_budget": budget, "optical_binding": binding, + "x_m": geometry.x_m, "y_m": geometry.y_geometry.nodes_m, + "x_cell_widths_m": geometry.x_widths_m, "y_cell_faces_m": geometry.y_geometry.cell_faces_m, + "y_cell_widths_m": geometry.y_geometry.cell_measures_m, "cell_areas_m2": geometry.contract_geometry.volumes, + "lateral_width_m": geometry.lateral_length_m, "prepared_declaration": prepared.to_mapping(), + "input_resources": [{"name": item.name, "kind": item.kind, "source_id": item.source.id, + "source_sha256": item.source.sha256, "content_sha256": item.content_sha256, + "source_utf8": item.source.content.decode()} for item in prepared.resources.tables], + "source_sha256": source_hashes(), "scope": "coherent normal/front, unit-index media, uniform lateral extrusion", + "physical_certificate_status": "not_evaluated", "qualification": False} + output.parent.mkdir(parents=True, exist_ok=True) + raw = (json.dumps(_encode(record), indent=2, allow_nan=False) + "\n").encode() + with output.open("xb") as stream: + stream.write(raw) + print(json.dumps({"path": str(output.resolve()), "sha256": hashlib.sha256(raw).hexdigest(), **summary}, indent=2)) + return record + + +def read_result(path: Path, sha256: str) -> dict[str, Any]: + """Validate the saved photon/unit relations; do not recompute TMM or DC.""" + raw = path.read_bytes() + if hashlib.sha256(raw).hexdigest() != sha256: + raise ValueError("optical2D source SHA mismatch") + record = _decode(json.loads(raw)) + if record["schema"] != SCHEMA or record["qualification"] or record["summary"]["qualification"]: + raise ValueError("invalid optical2D source receipt") + summary, budget, binding = record["summary"], record["photon_budget"], record["optical_binding"] + if not summary["source_constructed"] or summary["coupled_2d_operating_point_accepted"] or summary["nonlinear_solve_calls"] != 0: + raise ValueError("source construction is distinct from coupled2D completion") + if binding["incidence"] != "front" or binding["ambient_index"] != 1.0 or binding["exit_index"] != 1.0: + raise ValueError("optical2D receipt has unsupported incidence/bounding media") + source, areas, photons = (record[name] for name in ("source_m3_s", "cell_areas_m2", "cell_generation_per_depth_m_s")) + ny, nx = len(record["y_m"]), len(record["x_m"]) + if source.shape != (ny * nx,) or areas.shape != source.shape or photons.shape != source.shape: + raise ValueError("optical2D cells are incomplete") + if not np.all(np.isfinite(source)) or np.any(source < 0.0) or np.any(areas <= 0.0): + raise ValueError("invalid physical optical2D source/areas") + np.testing.assert_array_equal(source.reshape(ny, nx), np.repeat(record["generation_y"]["source_m3_s"][:, None], nx, axis=1)) + np.testing.assert_allclose(source * areas, photons, rtol=PHOTON_BUDGET_RTOL, atol=0.0) + np.testing.assert_allclose(areas.reshape(ny, nx), record["y_cell_widths_m"][:, None] * record["x_cell_widths_m"][None, :], rtol=0.0, atol=0.0) + wavelength_m = budget["wavelengths_nm"] * 1e-9 + incident = float(np.trapezoid(budget["incident_spectral_m2_s_m"], x=wavelength_m)) + electrical_mask = np.asarray(budget["layer_electrical"], dtype=bool) + electrical = float(np.trapezoid(budget["incident_spectral_m2_s_m"] * np.sum(budget["layer_absorptance"][electrical_mask], axis=0), x=wavelength_m)) + closure = 1.0 - budget["reflectance"] - budget["transmittance"] - np.sum(budget["layer_absorptance"], axis=0) - budget["dropped_multipass"] + if np.max(abs(closure)) > PHOTON_BUDGET_RTOL: + raise ValueError("saved spectral photon accounting does not close") + width = float(record["x_m"][-1] - record["x_m"][0]) + tolerance = PHOTON_BUDGET_RTOL * incident + if width != record["lateral_width_m"] or abs(float(np.sum(source * areas)) / width - electrical) > tolerance: + raise ValueError("saved physical2D source does not close the electrical photon budget") + if abs(summary["generation_current_limit_A_m2"] - Q * float(np.sum(source * areas)) / width) > Q * tolerance: + raise ValueError("saved optical2D current normalization is inconsistent") + return record + + +def main() -> int: + parser = argparse.ArgumentParser(description=__doc__) + mode = parser.add_mutually_exclusive_group(required=True) + mode.add_argument("--output", type=Path) + mode.add_argument("--read", type=Path) + parser.add_argument("--sha256") + args = parser.parse_args() + if args.read is not None: + if args.sha256 is None: + parser.error("--read requires --sha256") + record = read_result(args.read, args.sha256) + print(json.dumps(record["summary"], indent=2)) + else: + construct(args.output) + return 0 + + +if __name__ == "__main__": + raise SystemExit(main()) diff --git a/examples/research_2d/process_steady.py b/examples/research_2d/process_steady.py new file mode 100644 index 00000000..fe8c6200 --- /dev/null +++ b/examples/research_2d/process_steady.py @@ -0,0 +1,106 @@ +"""Run/read one explicit new-core 2D process with the existing supervisor/store. + +Run uses two cold auxiliary seeds and two full 2D Newton solves for dark/G1. +--insufficient-budget changes only the 2D Newton count budget. Read never +imports a solver or starts a process; failed prefixes intentionally exit 2. +""" +from __future__ import annotations + +import argparse +from dataclasses import replace +import json +from pathlib import Path +from typing import Any + + +def build_job(args: argparse.Namespace) -> Any: + from examples.research_1d.process_ionic_transient import source_build + from examples.research_1d.steady import load_device + from examples.research_2d.dc_assembly import spatial_input + from solarlab.config.identity import ExecutionEngine + from solarlab.experiments.two_dimensional.steady_worker import Steady2DProtocol, prepare_steady_2d_job + from solarlab.solvers.nonlinear.steady_1d import SteadyOptions + from solarlab.solvers.nonlinear.steady_2d import Steady2DOptions + + controls = SteadyOptions() + if args.insufficient_budget: + controls = replace(controls, max_iterations=1, max_residual_evaluations=1, max_jacobian_evaluations=1) + scales = {"dark": (0.,), "illuminated": (1.,), "both": (0., 1.)}[args.targets] + return prepare_steady_2d_job(load_device(), spatial_input(), Steady2DProtocol(.002, scales), + options=Steady2DOptions(controls, 30.), implementation=source_build(args.build_source_commit, args.source_archive), + current_repository_head=args.current_repository_head, engine=ExecutionEngine("solarlab")) + + +def summary(loaded: dict[str, Any]) -> dict[str, Any]: + return {"state": loaded["run_state"], **loaded["document"], + "array_fingerprints": loaded["array_fingerprints"]} + + +def main() -> int: + parser = argparse.ArgumentParser(description=__doc__, formatter_class=argparse.RawDescriptionHelpFormatter) + commands = parser.add_subparsers(dest="command", required=True) + run = commands.add_parser("run") + run.add_argument("--store", type=Path, required=True) + run.add_argument("--work", type=Path, required=True) + run.add_argument("--run-id", required=True) + run.add_argument("--build-source-commit", required=True) + run.add_argument("--source-archive", type=Path, required=True) + run.add_argument("--current-repository-head", required=True) + run.add_argument("--targets", choices=("dark", "illuminated", "both"), default="both") + run.add_argument("--insufficient-budget", action="store_true") + run.add_argument("--prepare-only", action="store_true", help="bind the request without a process, compile or solve") + run.add_argument("--receipt-json", type=Path) + read = commands.add_parser("read") + read.add_argument("--store", type=Path, required=True) + read.add_argument("--run-id", required=True) + read.add_argument("--attempt-id", required=True) + args = parser.parse_args() + from solarlab.experiments.two_dimensional.steady_results import read_steady_2d_job + from solarlab.io.run_store import RunStore + if args.command == "read": + with RunStore(args.store.resolve(), read_only=True) as store: + loaded = read_steady_2d_job(store, args.run_id, attempt_id=args.attempt_id) + result = summary(loaded) + print(json.dumps(result, indent=2, allow_nan=False), flush=True) + return 0 if result["state"] == "succeeded" else 2 + + job = build_job(args) + if args.prepare_only: + print(json.dumps({"prepared_only": True, "worker_id": "steady_2d", "new_processes": 0, + "new_solves": 0, "request": json.loads(job.request.request.content), + "request_sha256": job.request.request.sha256, "registry_sha256": job.request.registry.sha256, + "schema_sha256": job.request.schema.sha256, "manifest": job.execution.summary()}, indent=2), flush=True) + return 0 + from solarlab.experiments.execution import ProcessSupervisor + from solarlab.experiments.two_dimensional.steady_worker import RESULT_SCHEMA, steady_2d_worker_binding + from solarlab.experiments.worker import ResourceLimits + limits = ResourceLimits(30., 1536 * 1024**2, 96 * 1024**2, None, None) + args.store.resolve().parent.mkdir(parents=True, exist_ok=True) + args.work.resolve().parent.mkdir(parents=True, exist_ok=True) + with RunStore(args.store.resolve()) as store, ProcessSupervisor(store, args.work.resolve(), + (steady_2d_worker_binding(),), max_active=1, max_pending=1, + shared_rss_bytes=3 * 1024**3, shared_output_bytes=384 * 1024**2) as owner: + try: + store.get_run(args.run_id) + except KeyError: + pass + else: + raise ValueError("run already exists; use read with its exact attempt, or an explicit new run ID") + handle = job.submit(owner, args.run_id, limits) + receipt = owner.wait(handle, 40).data + result = {"state": receipt["store_state"], "run_id": handle.run_id, "attempt_id": handle.attempt_id, + "store_id": store.store_id, "receipt": receipt} + if receipt.get("worker_result", {}).get("schema") == RESULT_SCHEMA: + result["readback"] = summary(read_steady_2d_job(store, handle.run_id, attempt_id=handle.attempt_id)) + result["process_owner_closed"] = owner._closed + if args.receipt_json: + args.receipt_json.parent.mkdir(parents=True, exist_ok=True) + with args.receipt_json.open("x") as output: + json.dump(result, output, indent=2, allow_nan=False) + output.write("\n") + print(json.dumps(result, indent=2, allow_nan=False), flush=True) + return 0 if result["state"] == "succeeded" else 2 + + +if __name__ == "__main__": + raise SystemExit(main()) diff --git a/examples/research_2d/steady.py b/examples/research_2d/steady.py new file mode 100644 index 00000000..225d94d0 --- /dev/null +++ b/examples/research_2d/steady.py @@ -0,0 +1,203 @@ +"""One bounded genuine2D dark/illuminated path and solver-free saved reading. + + .venv/bin/python -m examples.research_2d.steady --output Steady2D.json + .venv/bin/python -m examples.research_2d.steady --read Steady2D.json --sha256 SHA + +Each explicitly counted newcore1D solve supplies only a numerical seed. The +seed is perturbed laterally before solving all195 connected2D equations. +Scientific qualification remains false; every first failure is retained. +""" + +from __future__ import annotations + +import argparse +from dataclasses import asdict, replace +import hashlib +import json +from pathlib import Path +import time +from typing import Any + +import numpy as np + +from examples.research_1d.steady import load_device +from examples.research_2d.dc_assembly import spatial_input +from solarlab.device.compile_2d import compile_device_2d +from solarlab.equations.dc_2d import CompiledDevice2D, State2D +from solarlab.experiments.transient_results import _decode, _encode +from solarlab.solvers.nonlinear.steady_1d import SteadyOptions, SteadyStateError, solve_steady_state +from solarlab.solvers.nonlinear.steady_2d import Steady2DOptions, checks as steady_checks, diagnostics as steady_diagnostics, solve_steady_state_2d +from solarlab.equations.dc_2d import DC2DProblem + +SCHEMA = "solarlab.classical_2d_steady.research.v1" + + +def lateral_initial(device: CompiledDevice2D, column_u: np.ndarray, *, voltage_V: float) -> State2D: + g, N = device.geometry, device.node_count + y = (device.column.nodes_m - device.column.nodes_m[0]) / np.ptp(device.column.nodes_m) + x = (g.x_m - g.x_m[0]) / g.lateral_length_m + wave = np.sin(np.pi * y) + wave[[0, -1]] = 0.0 + u = device.extrude_coordinates(column_u) + u[:N] += (.0007 * wave[:, None] * np.cos(np.pi * x)[None, :]).ravel() + u[N:2 * N] += (.013 * wave[:, None] * np.sin(np.pi * x)[None, :]).ravel() + u[2 * N:] += (-.011 * wave[:, None] * np.cos(2 * np.pi * x)[None, :]).ravel() + return device.state(u, voltage_V=voltage_V) + + +def read_result(path: Path, sha256: str) -> dict[str, Any]: + """Check raw identity/prefix/fields without a compiler, model or solver call.""" + raw = path.read_bytes() + if hashlib.sha256(raw).hexdigest() != sha256: + raise ValueError("2D steady artifact SHA-256 mismatch") + value = _decode(json.loads(raw)) + if value.get("schema") != SCHEMA or value.get("qualification") is not False: + raise ValueError("unsupported2D steady saved result") + targets, attempts = value["requested_targets"], value["attempts"] + shape = tuple(value["geometry"]["shape_Ny_Nx"]) + count = int(np.prod(shape)) + if len(attempts) > len(targets): + raise ValueError("attempts exceed the explicit requested2D path") + for index, attempt in enumerate(attempts): + if attempt["target"] != targets[index] or (not attempt["accepted"] and index != len(attempts) - 1): + raise ValueError("2D results must retain the complete prefix and first failure") + if attempt["accepted"]: + result = attempt["result_2d"] + state, newton, data = result["state"], result["newton"], result["diagnostics"] + if (result["accepted"] is not True or newton["accepted"] is not True + or result["termination"] != "converged" or not result["checks"] + or any(item["passed"] is not True or item["value"] > item["limit"] for item in result["checks"]) + or result["compiled_identity"] != value["compiled_identity"] + or state["device_sha256"] != value["compiled_identity"] + or not np.array_equal(state["u"], newton["state"]) + or not np.array_equal(state["u"], result["candidate_coordinates"]) + or tuple(data["original_rows"]) != tuple(range(3 * count))): + raise ValueError("accepted2D result lost original Newton/field/source evidence") + for name in ("potential_V", "electron_density_m3", "hole_density_m3"): + fields = np.asarray(state[name]) + if fields.shape != shape or not np.all(np.isfinite(fields)): + raise ValueError("accepted2D fields have invalid shape or values") + if result["physical_certificate_status"] != "not_evaluated": + raise ValueError("saved2D data cannot infer scientific qualification") + completed = len(attempts) == len(targets) and all(item["accepted"] for item in attempts) + if value["completed"] is not completed: + raise ValueError("2D completion contradicts its accepted/failed prefix") + return value + + +def run_case(output: Path, *, illumination_only: bool = False, + prior_result: Path | None = None, prior_sha256: str | None = None) -> dict[str, Any]: + if output.exists(): + raise FileExistsError("preserve the first2D attempt; output already exists") + started = time.monotonic() + controls = Steady2DOptions() + deadline = started + controls.wall_s + prepared, spatial = load_device(), spatial_input() + device = compile_device_2d(prepared, spatial) + g = device.geometry + prior = None + if illumination_only: + if prior_result is None or prior_sha256 is None: + raise ValueError("illumination-only completion requires the exact preserved dark/failure artifact") + prior = read_result(prior_result, prior_sha256) + if (prior["compiled_identity"] != device.identity or not prior["attempts"] + or prior["attempts"][0]["target"] != {"voltage_V": .002, "generation_scale": 0.0} + or prior["attempts"][0]["accepted"] is not True): + raise ValueError("prior artifact must preserve the accepted same-device dark2D point") + saved = prior["attempts"][0]["result_2d"]["state"] + dark_state = device.state(saved["u"], voltage_V=.002) + if any(not np.array_equal(saved[name], getattr(dark_state, name)) + for name in ("potential_V", "electron_density_m3", "hole_density_m3")): + raise ValueError("prior dark fields disagree with their exact coordinates") + checks = steady_checks(steady_diagnostics(DC2DProblem(device, .002, 0.0), dark_state.u, controls), controls) + if not all(check.passed for check in checks): + raise ValueError("preserved dark2D point fails current original physical revalidation") + targets = [{"voltage_V": .002, "generation_scale": scale} + for scale in ((1.0,) if illumination_only else (0.0, 1.0))] + attempts = [] + seed_calls, coupled_calls = 0, 0 + for target in targets: + seed = None + result = None + try: + if time.monotonic() >= deadline: + raise TimeoutError("whole2D path budget exhausted before preparation") + seed_calls += 1 + seed = solve_steady_state(device.column, voltage_V=target["voltage_V"], + generation_scale=target["generation_scale"], initial_state=None, + options=SteadyOptions()) + initial = lateral_initial(device, seed.state.u, voltage_V=target["voltage_V"]) + remaining = deadline - time.monotonic() + if remaining <= 0.0: + raise TimeoutError("whole2D path budget exhausted during numerical seed preparation") + result = solve_steady_state_2d(device, **target, options=replace(controls, wall_s=remaining), + initial_state=initial, initial_provenance={"kind": "lateral perturbation of auxiliary1D numerical seed", + "auxiliary_seed_is_2d_completion": False, "auxiliary_1d_compiled_identity": device.column.identity, + "auxiliary_1d_state_sha256": hashlib.sha256(seed.state.u.tobytes()).hexdigest(), + "perturbation": {"phi_V": .0007, "z_n": .013, "z_p": .011, + "shape": "stack sine times lateral sine/cosine; contact perturbations exactly zero"}}) + coupled_calls += result.solver_controls["full_2d_newton_calls"] + accepted, error = result.accepted, result.error + termination = result.termination + except Exception as exc: + accepted, termination = False, "preparation_or_evaluation_failed" + error = f"{type(exc).__name__}: {str(exc)[:600]}" + failed_seed = exc.result if isinstance(exc, SteadyStateError) else None + else: + failed_seed = None + attempts.append({"target": target, "accepted": accepted, "termination": termination, "error": error, + "auxiliary_1d_seed": seed, "failed_auxiliary_seed_newton": failed_seed, + "result_2d": result, "auxiliary_seed_is_2d_completion": False}) + if not accepted: + break + record = {"schema": SCHEMA, "completed": len(attempts) == len(targets) and all(item["accepted"] for item in attempts), + "requested_targets": targets, "attempts": attempts, "compiled_identity": device.identity, + "prepared_identity": prepared.content_sha256, "prepared_declaration": prepared.to_mapping(), + "spatial_declaration": spatial.editing_data(), "controls": asdict(controls), + "geometry": {"identity": g.sha256, "shape_Ny_Nx": g.shape, "x_m": g.x_m, + "y_m": device.column.nodes_m, "cell_areas_m2": g.contract_geometry.volumes, + "face_lengths_m": g.contract_geometry.face_measures, "face_pairs": g.contract_geometry.pairs, + "face_spacing_m": g.face_spacing_m, "lateral_width_m": g.lateral_length_m}, + "auxiliary_1d_seed_calls": seed_calls, "full_2d_newton_calls": coupled_calls, + "wall_s": time.monotonic() - started, "qualification": False} + if prior is not None: + record["preserved_prior_path"] = {"source_path": str(prior_result), "source_sha256": prior_sha256, + "accepted_dark_2d_attempt": prior["attempts"][0], + "first_failed_illumination_attempt": prior["attempts"][1] if len(prior["attempts"]) > 1 else None, + "dark_revalidated_without_newton": True} + output.parent.mkdir(parents=True, exist_ok=True) + raw = (json.dumps(_encode(record), indent=2, allow_nan=False) + "\n").encode() + with output.open("xb") as stream: + stream.write(raw) + print(json.dumps({"result_path": str(output.resolve()), "result_sha256": hashlib.sha256(raw).hexdigest(), + "completed": record["completed"], "shape": g.shape, "unknowns": 3 * device.node_count, + "auxiliary_1d_seed_calls": seed_calls, "full_2d_newton_calls": coupled_calls, + "points": [{"target": item["target"], "accepted": item["accepted"], "termination": item["termination"], + "error": item["error"]} for item in attempts], "wall_s": record["wall_s"], "qualification": False}, indent=2), flush=True) + return record + + +def main() -> int: + parser = argparse.ArgumentParser(description=__doc__, formatter_class=argparse.RawDescriptionHelpFormatter) + mode = parser.add_mutually_exclusive_group(required=True) + mode.add_argument("--output", type=Path) + mode.add_argument("--read", type=Path) + parser.add_argument("--sha256") + parser.add_argument("--illumination-only", action="store_true") + parser.add_argument("--prior-result", type=Path) + parser.add_argument("--prior-sha256") + args = parser.parse_args() + if args.read is not None: + if args.sha256 is None: + parser.error("--read requires --sha256") + record = read_result(args.read, args.sha256) + print(json.dumps({"completed": record["completed"], "targets": record["requested_targets"], + "accepted": [item["accepted"] for item in record["attempts"]], "qualification": False}, indent=2)) + else: + record = run_case(args.output, illumination_only=args.illumination_only, + prior_result=args.prior_result, prior_sha256=args.prior_sha256) + return 0 if record["completed"] else 2 + + +if __name__ == "__main__": + raise SystemExit(main()) diff --git a/perovskite-sim/CLAUDE.md b/perovskite-sim/CLAUDE.md index 10932e63..570625f2 100644 --- a/perovskite-sim/CLAUDE.md +++ b/perovskite-sim/CLAUDE.md @@ -29,7 +29,7 @@ files and the frozen reproducibility baseline keep their language/tool conventio ## Repository Layout -`perovskite_sim/` is the installable Python simulation library, `backend/` the FastAPI wrapper around it, `frontend/` the Vite + TS + Plotly single-page UI, `configs/` the YAML device presets consumed by both CLI and UI, `tests/` the pytest suite, and `notebooks/` exploratory benchmarks. +`perovskite_sim/` is the installable Python simulation library, `backend/` the FastAPI wrapper around it, `../web/` the Vite + TS + Plotly single-page UI at the repository root, `configs/` the YAML device presets consumed by both CLI and UI, `tests/` the pytest suite, and `notebooks/` exploratory benchmarks. Every layer talks to the next one through `DeviceStack` + `MaterialParams` (immutable frozen dataclasses); there is no shared mutable state. @@ -50,13 +50,13 @@ uvicorn backend.main:app --host 127.0.0.1 --port 8000 \ --app-dir perovskite-sim --reload # Frontend (Vite dev server with HMR) -cd perovskite-sim/frontend +cd web npm install # first time only npm run dev # http://127.0.0.1:5173 npm run build # tsc typecheck + production bundle into dist/ ``` -The frontend expects the backend at `http://127.0.0.1:8000` (see `frontend/src/api.ts`); CORS is open for that origin. +The frontend expects the backend at `http://127.0.0.1:8000` (see `../web/src/api.ts`); CORS is open for that origin. ## Simulator Architecture (`perovskite_sim/`) @@ -91,7 +91,7 @@ separate evidence levels. **Direct steady-state driver (2026-06, `experiments/steady_state.py`) — second structural piece of the parity architecture.** SCAPS is an ion-free steady-state solver, so parity quantities are defined at the ion-free steady state; this driver solves `F(y)=0` on the SAME `assemble_rhs` the transient integrates (one physics, two drivers; ions byte-frozen from the seed). `solve_steady_state` (damped log-space Newton, FD Jacobian, peak-density residual scaling — density-relative rates floor at cancellation noise ~1e6 1/s at dark depletion nodes — dual convergence criteria + J-error-bounded stall acceptance), `run_jv_sweep_ss` (voltage continuation), `solve_voc_ss` (direct J=0 bisection, no grid artifact). Where Newton cannot finish (the V*≈0.858 interface-switch region and the V_oc knee), a **certified transient point-fallback** computes the point (escalating 6.4–100 ms Radau settles, max_step-capped, residual-guarded against the measured chattering attractor at res≈14); clean fallback states keep the continuation un-poisoned. The TE cap gets a **smooth magnitude-min blend** via `MaterialArrays.te_softness` (default 0.0 = bit-identical hard cap; the SS driver sets 0.02 on its own mats only — transient experiments never see it). No silent fallback anywhere: non-convergence raises `SteadyStateError`. **Measured: SS J-V matches the frozen-ion transient within 5 mV V_oc / 1% J_sc; direct V_oc within 2 mV of the sweep.** **Modified-Newton Jacobian/LU reuse (2026-06):** the dominant cost is the dense FD Jacobian (~n_unk full `assemble_rhs` evals per iteration); the Newton loop now reuses the cached `scipy.linalg.lu_factor` across **chord** iterations, rebuilding only on the first iteration, a stale-factor line-search rejection (rebuild + retry before declaring a stall), or heavy backtracking (`lam<0.5`). A freshly built+solved step is **bit-identical** to the original full-Newton `np.linalg.solve` path (the `lu_factor` is just additionally cached); only reused iterations differ, and they converge to the same residual tol — **measured V_oc identical to 5 decimals, ~1.4× faster on warm-started solves** (the bigger SS-harness speedup is the calibrated config being far better-conditioned: a Nd_ETL=1e15 point that took ~705 s uncalibrated solves in ~3 s). Kill-switch env `SOLARLAB_SS_JAC_REUSE=0` forces a fresh Jacobian every iteration (legacy path). **`run_jv_sweep_ss(stop_after_voc=True)` (2026-06, default False = legacy full-`V_max` sweep):** stops the continuation the moment J crosses zero (V_oc bracketed). Continuing past V_oc into deep forward injection (V ≫ V_oc) reaches non-convergent points whose certified transient fallback grinds for minutes — the diagnosed cause of full-FOM SS-sweep hangs when a fixed `V_max` overshoots a sweep point's V_oc (e.g. `V_max=1.35` on a point with V_oc≈1.0). The 0→V_oc arc fully determines V_oc/J_sc/FF/PCE, so for figure/FOM sweeps either set `stop_after_voc=True` (robust at any `V_max`) or bound `V_max ≈ V_oc + margin` — both make full-FOM SS fast (~1-5 s/point) and complete. The interior knee (V*≈0.858) is NOT the bottleneck — it solves in <0.1 s; only V ≫ V_oc grinds. Known limit (documented engine boundary): two deep-tail regimes fail honestly and a Gummel fallback does **not** help. (a) Near-insulating contacts (Nd_ETL ≤ 1e10) find no J=0 crossing below 1.6 V — a physics absence, not a solver miss (the transient agrees; xfail'd gate carries the diagnosis). (b) Deep CBO (ΔE_C ≤ −0.2) is pathological for **any** algebraic Newton: measured at ΔE_C=−1.0, V=0.3 (peak-relative residual, tol 1e-6) the **coupled Newton best 4.2e4 and raises cleanly in 0.6 s**, decoupled Gummel 1e9, **Anderson 3e9**, **PTC (pseudo-transient continuation) 2e8–2e9** — four Newton-family methods, all 10–15 orders above tol; only a long transient damps the stiff modes (plain iface-stripped settle reaches res ~1e-2 in 0.6 s). CBO is a band-offset effect (SS ≈ transient), interface states inactive in the collapsed regime. **The CHI_ETL validation figure now shows the full-range SS curve**: genuine SS-Newton over the flat-band arm (filled) + the SS driver's certified transient fallback over deep-CBO (hollow, = the f=0.53 transient). The dormant `_gummel_point` scaffold + `phi_frozen` seam stay in-tree (env `SOLARLAB_SS_GUMMEL`, bit-identical); **the Gummel/M4 leg is closed won't-fix** (verdict + table: archived spec `plans/Specs/GummelScope.md` §0). Tests: `tests/unit/experiments/test_steady_state.py`. -**Built-in-potential source contract (2026-08-11).** New configurations select one of three explicit modes. `semiconductor_work_function` evaluates each outer electrical layer at its physical contact face using positive `chi`, `Eg`, `Nc300`, `Nv300`, charge-neutrality doping, active-tier temperature/DOS scaling, optional Varshni shift, and enabled grading; it fails closed if those inputs are missing. `metal_work_function` requires positive `work_function_left_eV` and `work_function_right_eV`. Both return the signed contact potential `φ(right)-φ(left) = W_left-W_right`. `legacy_manual` consumes the positive `V_bi_override` magnitude and takes orientation from the historical endpoint estimate. `built_in_potential_mode=None` is not a public fourth mode: it is the old-YAML compatibility sentinel, preserving manual `V_bi` and the former `flat_band_contacts -> compute_V_bi()` implication. The deprecated `compute_V_bi()` implementation remains unchanged for that compatibility path; the strict DOS/T implementation is `compute_semiconductor_V_bi()`. `poisson_built_in_potential()` feeds `MaterialArrays.V_bi_bc`; `operating_built_in_potential()` feeds J-V/degradation/TPV/Suns-Voc defaults and preserves the historical `V_bi_eff` only for compatibility stacks. `junction_polarity` maps positive `V_app` to a reduction in `|V_bi_bc|` for either orientation and must not be removed or wrapped into an unconditional `abs()`. The 2D material builder reuses the resolved 1D value and polarity. `config_loader.built_in_potential_fields_from_device_dict` is shared by file, SCAPS-shape, and inline backend loading; `_stack_to_config_dict` and the frontend editor preserve an old payload until the user deliberately changes its selector. Tests: `tests/unit/models/test_built_in_potential_modes.py`, `tests/unit/backend/test_built_in_potential_config.py`, `frontend/src/config-editor-built-in-potential.test.ts`. The existing CIGS and c-Si orientation/grid evidence remains qualified exactly as before; external validation is still separate. +**Built-in-potential source contract (2026-08-11).** New configurations select one of three explicit modes. `semiconductor_work_function` evaluates each outer electrical layer at its physical contact face using positive `chi`, `Eg`, `Nc300`, `Nv300`, charge-neutrality doping, active-tier temperature/DOS scaling, optional Varshni shift, and enabled grading; it fails closed if those inputs are missing. `metal_work_function` requires positive `work_function_left_eV` and `work_function_right_eV`. Both return the signed contact potential `φ(right)-φ(left) = W_left-W_right`. `legacy_manual` consumes the positive `V_bi_override` magnitude and takes orientation from the historical endpoint estimate. `built_in_potential_mode=None` is not a public fourth mode: it is the old-YAML compatibility sentinel, preserving manual `V_bi` and the former `flat_band_contacts -> compute_V_bi()` implication. The deprecated `compute_V_bi()` implementation remains unchanged for that compatibility path; the strict DOS/T implementation is `compute_semiconductor_V_bi()`. `poisson_built_in_potential()` feeds `MaterialArrays.V_bi_bc`; `operating_built_in_potential()` feeds J-V/degradation/TPV/Suns-Voc defaults and preserves the historical `V_bi_eff` only for compatibility stacks. `junction_polarity` maps positive `V_app` to a reduction in `|V_bi_bc|` for either orientation and must not be removed or wrapped into an unconditional `abs()`. The 2D material builder reuses the resolved 1D value and polarity. `config_loader.built_in_potential_fields_from_device_dict` is shared by file, SCAPS-shape, and inline backend loading; `_stack_to_config_dict` and the frontend editor preserve an old payload until the user deliberately changes its selector. Tests: `tests/unit/models/test_built_in_potential_modes.py`, `tests/unit/backend/test_built_in_potential_config.py`, `../web/src/config-editor-built-in-potential.test.ts`. The existing CIGS and c-Si orientation/grid evidence remains qualified exactly as before; external validation is still separate. **Thermionic emission (TE) at heterointerfaces.** At interfaces where the conduction-band offset |delta_Ec| or valence-band offset |delta_Ev| exceeds 0.05 eV, the SG flux is capped to the Richardson-Dushman thermionic emission limit (`fe_operators.thermionic_emission_flux`). This prevents the SG scheme from overestimating current across sharp band discontinuities (a known artifact when the band offset is resolved in a single grid spacing). The capping is applied in `continuity.py:carrier_continuity_rhs`. Richardson constants `A_star_n` and `A_star_p` default to the free-electron value (1.2017e6 A/(m²·K²)) and can be overridden per layer in YAML configs. Interface faces where TE activates are pre-computed in `MaterialArrays.interface_faces`. Note: IonMonger does not use TE, so our Voc is ~0.1 V higher than IonMonger's on the same parameter set; Phase 5 (tiered modes) will add a legacy mode that disables TE for exact IonMonger reproduction. @@ -138,7 +138,7 @@ separate evidence levels. The Stage-A J-V driver `twod/experiments/jv_sweep_2d.run_jv_sweep_2d` bootstraps via 1D `solve_illuminated_ss` (or `solve_equilibrium` for dark) on the same y-grid, freezes the equilibrated ion profile via `P_ion_static_1d`, broadcasts $(n, p)$ to 2D, and walks the voltage grid with a per-step `run_transient_2d` settle (Radau-LU on the ~250×250 system at the test-grid sizes). The validation gate `tests/regression/test_twod_validation.py` runs the 1D and 2D solvers on the Beer-Lambert MAPbI3 preset with frozen ions and matched grids (1D `N_grid=31`, 2D `Ny_per_layer=10` × 3 electrical layers + 1 = 31) and asserts: $|V_{oc}^{2D} - V_{oc}^{1D}| \le 10^{-4}$ V, $|\Delta J_{sc}|/|J_{sc}| \le 5\times10^{-4}$, $|\Delta \text{FF}| \le 10^{-3}$, lateral invariance of $n$ at $V_{oc}$ to $\le 10^{-9}$, divergence of total electron+hole current bounded at interior nodes, and Poisson Dirichlet BCs match exactly. Final passing values: bit-identical 1D and 2D (`V_oc=910.634` mV, `J_sc=424.036` A/m², FF=0.8247). -Backend dispatch: `kind="jv_2d"` in `backend/main.py` accepts `lateral_length`, `Nx`, `Ny_per_layer`, `V_max`, `V_step`, `settle_t`, `illuminated`, `lateral_bc`, `save_snapshots` and serialises `JV2DResult` (V, J, grid_x in nm, grid_y in nm, lateral_bc, snapshots, **metrics**). `JV2DResult.metrics` is a `JVMetrics(V_oc, J_sc, FF, PCE, voc_bracketed)` populated centrally by `compute_metrics(voltages, J, assume_jsc_positive=False)` — same helper as the 1D side, so 2D and 1D metric definitions are bit-identical and the `voc_bracketed` flag has the same semantics on both. The SSE `result` event carries the metrics dict alongside the raw V/J arrays via `from dataclasses import asdict; ... asdict(result.metrics)`. The dispatch closure must use the function-scope `asdict` import — a bare `dataclasses.asdict(...)` reference inside the inner `_run` raises `NameError` because the bare module is not in the closure's scope. The same scope bug latently affected `kind="tandem_jv"` until SSE-consuming regression tests were added (`tests/integration/backend/test_jv_2d_advanced_physics.py::test_jv_2d_sse_result_event_carries_metrics_dict`, `tests/integration/backend/test_tandem_sse.py`); dispatch-only assertions returned 200 even when the worker thread crashed silently on result emission, so the SSE-stream consumption is the actual contract. The frontend pane `frontend/src/workstation/panes/jv-2d-pane.ts` is registered under the `'2D / Microstructural (Stage A)'` group as `J–V Sweep (2D)`; the result renderer in `main-plot-pane.ts` flips the J sign to match the 1D solar convention. The TMM preset `nip_MAPbI3_tmm` and the BL preset `nip_MAPbI3` (and the alias `tests/fixtures/configs/twod/nip_MAPbI3_uniform.yaml`) are the supported Stage-A presets — the Stage-A regression uses BL because the TMM preset has the pre-existing 1D coupled-solver regression at V=0.21 V (see `project_tmm_jv_regression_021.md`). +Backend dispatch: `kind="jv_2d"` in `backend/main.py` accepts `lateral_length`, `Nx`, `Ny_per_layer`, `V_max`, `V_step`, `settle_t`, `illuminated`, `lateral_bc`, `save_snapshots` and serialises `JV2DResult` (V, J, grid_x in nm, grid_y in nm, lateral_bc, snapshots, **metrics**). `JV2DResult.metrics` is a `JVMetrics(V_oc, J_sc, FF, PCE, voc_bracketed)` populated centrally by `compute_metrics(voltages, J, assume_jsc_positive=False)` — same helper as the 1D side, so 2D and 1D metric definitions are bit-identical and the `voc_bracketed` flag has the same semantics on both. The SSE `result` event carries the metrics dict alongside the raw V/J arrays via `from dataclasses import asdict; ... asdict(result.metrics)`. The dispatch closure must use the function-scope `asdict` import — a bare `dataclasses.asdict(...)` reference inside the inner `_run` raises `NameError` because the bare module is not in the closure's scope. The same scope bug latently affected `kind="tandem_jv"` until SSE-consuming regression tests were added (`tests/integration/backend/test_jv_2d_advanced_physics.py::test_jv_2d_sse_result_event_carries_metrics_dict`, `tests/integration/backend/test_tandem_sse.py`); dispatch-only assertions returned 200 even when the worker thread crashed silently on result emission, so the SSE-stream consumption is the actual contract. The frontend pane `../web/src/workstation/panes/jv-2d-pane.ts` is registered under the `'2D / Microstructural (Stage A)'` group as `J–V Sweep (2D)`; the result renderer in `main-plot-pane.ts` flips the J sign to match the 1D solar convention. The TMM preset `nip_MAPbI3_tmm` and the BL preset `nip_MAPbI3` (and the alias `tests/fixtures/configs/twod/nip_MAPbI3_uniform.yaml`) are the supported Stage-A presets — the Stage-A regression uses BL because the TMM preset has the pre-existing 1D coupled-solver regression at V=0.21 V (see `project_tmm_jv_regression_021.md`). Stage-A scope boundaries — Phase 6 deliberately does **not** include 2D ions, 2D radiative reabsorption / field mobility / Robin contacts, or per-grain $\tau$ profiles. Those reuse the same `MaterialArrays2D` cache slots (which already hold `chi`, `Eg`, `A_star_n/p`, `interface_y_faces`, etc.) and the same `assemble_rhs_2d` skeleton, but are out of scope for the Stage-A validation gate. @@ -325,7 +325,7 @@ For `kind="jv_2d"` and `kind="tandem_jv"` the `result` event additionally carrie PyYAML's default loader is YAML 1.1, which only treats `1.0e-9` as a float — a bare `1e-9` (no decimal point) is returned as a **string**. The frontend's numeric editor then throws `v.toExponential is not a function` when rendering such a field. The fix lives in `backend/main.py:_coerce_numbers`, a recursive pass applied in `get_config` that turns any numeric-looking string into a float. When editing the backend do not bypass this coercion, and when adding new YAML configs you can use either form, but `1e-9` is fine because the backend normalises it. -## Frontend (`frontend/src/`) +## Frontend (`../web/src/`) Plain TypeScript (no framework). `main.ts` wires five tabs — `J–V Sweep`, `Impedance`, `Degradation`, `Tutorial`, `Algorithm` — each mounted lazily into its panel `
`. Key modules: @@ -342,7 +342,7 @@ Plotly is pulled from `plotly.js-dist-min` which is why `vite build` emits a chu **Frontend test suite — the 2026-07-29 "local blocker" no longer reproduces (re-measured 2026-09-02).** The suite runs clean on this machine with the **default** pool, no workaround needed: ```bash -cd perovskite-sim/frontend && npx vitest run +cd web && npx vitest run # 40 test files, 480 tests, all passed, 2.28 s ``` @@ -352,11 +352,11 @@ cd perovskite-sim/frontend && npx vitest run **Custom stacks (Phase 2b — Apr 2026):** In full tier the Device pane renders a vertical layer visualizer with add/remove/reorder, a template library, structural validation, and a Save-As path that lands user presets in `configs/user/`. The accordion editor is preserved for fast/legacy tiers. New backend endpoints: `GET /api/layer-templates`, `POST /api/configs/user`. `GET /api/configs` now returns `{name, namespace}` entries. -**Stage B(c.x) frontend wiring (Phase 6 — May 2026):** Surfaces the four FULL-tier per-RHS hooks in the workstation editor without touching the LEGACY/FAST surface. `frontend/src/types.ts` carries 6 optional per-layer μ(E) fields (`v_sat_n/p`, `ct_beta_n/p`, `pf_gamma_n/p`) plus 4 optional device-level Robin S fields (`S_n_left/right`, `S_p_left/right`) typed `number | null` so the editor distinguishes the absent (omit / `undefined`) and disabled-but-set (`null`) sentinels — both round-trip cleanly through `readDeviceEditor`. `tier-gating.ts` adds `PER_RHS_KEYS` to `FAST_HIDDEN`/`LEGACY_HIDDEN` (FULL only). `config-editor.ts` adds two collapsed-by-default `
` panels: per-layer μ(E) (B(c.2)) and device-level Robin contacts (B(c.1), labelled "Top contact (HTL)" / "Bottom contact (ETL)" while round-tripping the 1D YAML keys `S_*_left/right`). The workstation 2D pane (`workstation/panes/jv-2d-pane.ts`) renders a live `Active physics: …` line above its `pane-hint`, refreshed on mount + mouseenter + click; the device-tree tier badge (`workstation/tree.ts`) carries the same string as a hover tooltip. The shipped demo presets `tests/fixtures/configs/field_mobility_demo.yaml` (1D μ(E)) and `tests/fixtures/configs/twod/bcx_combined_demo.yaml` (2D Robin + μ(E) + GB) are clearly banner-labelled "NOT a physical default" so they cannot be picked up as calibration baselines. `backend/main.py:stack_from_dict` plumbs the same fields onto `MaterialParams` and `DeviceStack` so inline-device runs from the live editor are NOT silent placebos — pinned by `tests/integration/backend/test_jv_2d_advanced_physics.py` (round-trip of the 4 Robin S + 6 per-layer μ(E) fields, plus dispatch smoke for the bcx_combined_demo preset and an inline-device JSON). +**Stage B(c.x) frontend wiring (Phase 6 — May 2026):** Surfaces the four FULL-tier per-RHS hooks in the workstation editor without touching the LEGACY/FAST surface. `../web/src/types.ts` carries 6 optional per-layer μ(E) fields (`v_sat_n/p`, `ct_beta_n/p`, `pf_gamma_n/p`) plus 4 optional device-level Robin S fields (`S_n_left/right`, `S_p_left/right`) typed `number | null` so the editor distinguishes the absent (omit / `undefined`) and disabled-but-set (`null`) sentinels — both round-trip cleanly through `readDeviceEditor`. `tier-gating.ts` adds `PER_RHS_KEYS` to `FAST_HIDDEN`/`LEGACY_HIDDEN` (FULL only). `config-editor.ts` adds two collapsed-by-default `
` panels: per-layer μ(E) (B(c.2)) and device-level Robin contacts (B(c.1), labelled "Top contact (HTL)" / "Bottom contact (ETL)" while round-tripping the 1D YAML keys `S_*_left/right`). The workstation 2D pane (`workstation/panes/jv-2d-pane.ts`) renders a live `Active physics: …` line above its `pane-hint`, refreshed on mount + mouseenter + click; the device-tree tier badge (`workstation/tree.ts`) carries the same string as a hover tooltip. The shipped demo presets `tests/fixtures/configs/field_mobility_demo.yaml` (1D μ(E)) and `tests/fixtures/configs/twod/bcx_combined_demo.yaml` (2D Robin + μ(E) + GB) are clearly banner-labelled "NOT a physical default" so they cannot be picked up as calibration baselines. `backend/main.py:stack_from_dict` plumbs the same fields onto `MaterialParams` and `DeviceStack` so inline-device runs from the live editor are NOT silent placebos — pinned by `tests/integration/backend/test_jv_2d_advanced_physics.py` (round-trip of the 4 Robin S + 6 per-layer μ(E) fields, plus dispatch smoke for the bcx_combined_demo preset and an inline-device JSON). **Solver + SCAPS-physics UI wiring (2026-06; contact-source editor 2026-08-11):** `workstation/panes/jv-pane.ts` exposes the steady-state/interface-state controls. `config-editor.ts` carries the FULL-tier SCAPS panel and a device-level built-in-potential selector with conditional fields for semiconductor DOS-derived, explicit metal-work-function, and legacy-manual modes. `Nc300`/`Nv300` are optional layer fields in the Transport group so the strict semiconductor path can be completed in the browser. `readDeviceEditor` mirrors the backend compatibility inference: old `V_bi` payloads, including old flat-band presets, round-trip unchanged; a payload with no manual key defaults to `semiconductor_work_function`; selecting another mode deliberately removes incompatible fields. Pinned by `config-editor-scaps-physics.test.ts` and `config-editor-built-in-potential.test.ts`. -**J–V operational-range plots and 2D Voc-bracket detection:** The 1D and 2D J–V workstation plots (`frontend/src/workstation/panes/main-plot-pane.ts::renderJV` / `renderJV2D`) always use the operational range, without a range selector or persisted range mode. Display-only bounds keep the photovoltaic region readable: `yaxis.range` is `[-0.15·J_sc_mA, +1.12·J_sc_mA]`, and the upper x bound is the smaller of `max(V) + 0.05` and bracketed `V_oc + 0.18` V. The 1D bounds include both branches' bracketed metrics, preserving the reverse operating region when the forward branch collapses. Without finite positive bracketed J_sc, y falls back to autorange; without bracketed finite V_oc, the x cap is omitted. All raw V/J samples and computed metrics remain unchanged, covered by `jv-1d-render.test.ts` and `jv-2d-render.test.ts` with mocked Plotly. The 2D pane renders a Voc / Jsc / FF / PCE metric-card row below the plot from SSE `result.metrics` (backend `compute_metrics`). When `metrics.voc_bracketed === false`, an amber `V_oc not bracketed — increase V_max` warning appears and Voc / FF / PCE cards show `—`; Jsc still renders. The card formatter (`X.XXX V`, `XX.XX mA/cm²`, `XX.X %`, `XX.XX %`) matches `panels/jv.ts`. +**J–V operational-range plots and 2D Voc-bracket detection:** The 1D and 2D J–V workstation plots (`../web/src/workstation/panes/main-plot-pane.ts::renderJV` / `renderJV2D`) always use the operational range, without a range selector or persisted range mode. Display-only bounds keep the photovoltaic region readable: `yaxis.range` is `[-0.15·J_sc_mA, +1.12·J_sc_mA]`, and the upper x bound is the smaller of `max(V) + 0.05` and bracketed `V_oc + 0.18` V. The 1D bounds include both branches' bracketed metrics, preserving the reverse operating region when the forward branch collapses. Without finite positive bracketed J_sc, y falls back to autorange; without bracketed finite V_oc, the x cap is omitted. All raw V/J samples and computed metrics remain unchanged, covered by `jv-1d-render.test.ts` and `jv-2d-render.test.ts` with mocked Plotly. The 2D pane renders a Voc / Jsc / FF / PCE metric-card row below the plot from SSE `result.metrics` (backend `compute_metrics`). When `metrics.voc_bracketed === false`, an amber `V_oc not bracketed — increase V_max` warning appears and Voc / FF / PCE cards show `—`; Jsc still renders. The card formatter (`X.XXX V`, `XX.XX mA/cm²`, `XX.X %`, `XX.XX %`) matches `panels/jv.ts`. ### Backend URL: absolute, not proxied @@ -489,7 +489,7 @@ git clone --branch main https://github.com/ShaneLogic/SolarLab.git /private/tmp/ cd /private/tmp/solarlab-verify/repo/perovskite-sim export PYTHONPATH="$PWD" # required: the editable install resolves perovskite_sim to the OneDrive path otherwise python3 -u -m pytest > /tmp/pytest.log 2>&1 # do NOT pipe through `tee` — Python block-buffers into a pipe and progress looks frozen -cd frontend && npm ci && npx vitest run && npm run build # 393 tests, tsc clean; never copy node_modules off the mount +cd ../web && npm ci && npx vitest run && npm run build # 393 tests, tsc clean; never copy node_modules off the mount ``` The permanent fix is Finder → *Always Keep on This Device* on the whole repo **including the hidden `.git`**, or moving the repo off OneDrive entirely. diff --git a/perovskite-sim/README.md b/perovskite-sim/README.md index b2603f58..c49d0e88 100644 --- a/perovskite-sim/README.md +++ b/perovskite-sim/README.md @@ -1,7 +1,7 @@ # perovskite-sim -The Python simulation package, FastAPI backend, and Vite/TypeScript -frontend that make up the SolarLab simulator. +The Python simulation package and FastAPI backend for SolarLab. +The Vite/TypeScript frontend lives in the root [`web/`](../web/) directory. > **Start here:** the [root README](../README.md) covers installation, > physics, equations, UI walkthrough, and shipped presets. This file is @@ -17,7 +17,6 @@ frontend that make up the SolarLab simulator. perovskite-sim/ ├── perovskite_sim/ Python library: models, physics, solvers, experiments, 2D ├── backend/ FastAPI HTTP wrapper and SSE job dispatch -├── frontend/ Vite + TypeScript + Plotly workstation ├── configs/ Three shipped research YAMLs; two frontend catalog entries ├── reproducibility/ Frozen baselines, schemas, hashes, benchmarks, P1 gaps ├── docs/ Package-specific model, benchmark, and implementation docs @@ -44,8 +43,9 @@ From this directory, use an activated Python 3.11+ environment and Node.js 22.12 ```bash python -m pip install -e ".[dev]" python -m pip install -r backend/requirements.txt -cd frontend +cd ../web npm ci +cd ../perovskite-sim ```
@@ -623,7 +623,7 @@ unavailable, the y-axis uses autorange and the voltage cap is omitted. All raw V/J samples and computed metrics are preserved. *Source:* `perovskite_sim/experiments/jv_sweep.py::compute_metrics`, -`frontend/src/workstation/panes/main-plot-pane.ts::renderJV2D` +`../web/src/workstation/panes/main-plot-pane.ts::renderJV2D`
diff --git a/perovskite-sim/backend/README.md b/perovskite-sim/backend/README.md index 123e49ab..1d8a4b81 100644 --- a/perovskite-sim/backend/README.md +++ b/perovskite-sim/backend/README.md @@ -1,7 +1,7 @@ # Backend — FastAPI HTTP API Thin FastAPI wrapper around the `perovskite_sim` library. The frontend at -`perovskite-sim/frontend/` talks to this service over HTTP + Server-Sent +`web/` at the repository root talks to this service over HTTP + Server-Sent Events. For the full project overview, physics, and UI guide see the [root README](../../README.md). diff --git a/perovskite-sim/frontend/src/main.ts b/perovskite-sim/frontend/src/main.ts deleted file mode 100644 index 385f2ba7..00000000 --- a/perovskite-sim/frontend/src/main.ts +++ /dev/null @@ -1,10 +0,0 @@ -import './style.css' -import { mountWorkstation } from './workstation/shell' - -const app = document.querySelector('#app')! -void mountWorkstation(app).catch(e => { - app.innerHTML = `
- Failed to mount workstation: ${(e as Error).message} -
` - console.error(e) -}) diff --git a/perovskite-sim/pyproject.toml b/perovskite-sim/pyproject.toml index f98cb3f6..5811c84a 100644 --- a/perovskite-sim/pyproject.toml +++ b/perovskite-sim/pyproject.toml @@ -1,5 +1,5 @@ [build-system] -requires = ["hatchling"] +requires = ["hatchling==1.32.4"] build-backend = "hatchling.build" [project] @@ -8,16 +8,83 @@ version = "0.1.0" description = "1D drift-diffusion + ion migration simulator for perovskite solar cells" requires-python = ">=3.11" dependencies = [ - "numpy>=1.26", - "scipy>=1.12", - "pyyaml>=6.0", - "matplotlib>=3.8", + # Keep the observed numerical environment on 3.12+, with a separately + # tested 3.11 branch instead of silently raising the supported minimum. + "numpy==2.3.5; python_version < '3.12'", + "numpy==2.5.3; python_version >= '3.12'", + "scipy==1.16.3; python_version < '3.12'", + "scipy==1.18.1; python_version >= '3.12'", + "pyyaml==6.0.3", + "matplotlib==3.11.2", + "threadpoolctl==3.6.0", ] [project.optional-dependencies] -dev = ["pytest>=8.0", "pytest-cov>=5.0"] +server = ["fastapi==0.141.1", "uvicorn==0.52.4", "pydantic==2.13.5"] +# Import support for the existing optional Celery entry point. Broker/worker +# execution is separate from the in-process JobRegistry used by the API. +queue = ["celery[redis]==5.5.3"] +research = ["openpyxl>=3.1", "pymupdf>=1.24"] +ida = ["scikit-sundae==1.1.3"] +dev = [ + "pytest==9.1.1", + "pytest-cov==7.1.0", + "httpx==0.28.1", + "ruff>=0.15.20", + "mypy>=1.18", + "import-linter>=2.5", +] notebook = ["jupyterlab>=4.0"] +[tool.uv] +# Preserve the observed transitive baseline as well as the direct pins above. +# contourpy 1.4 requires 3.12; uv selects a compatible release on Python 3.11. +constraint-dependencies = [ + "annotated-doc==0.0.5", + "annotated-types==0.8.0", + "anyio==4.15.1", + "certifi==2026.7.22", + "click==8.5.0", + "contourpy==1.4.0; python_version >= '3.12'", + "coverage==7.16.0", + "cycler==0.12.1", + "fonttools==4.65.0", + "h11==0.16.0", + "httpcore==1.0.9", + "idna==3.19", + "iniconfig==2.3.0", + "kiwisolver==1.5.1", + "packaging==26.3", + "pillow==12.3.0", + "pluggy==1.6.0", + "pydantic-core==2.46.5", + "pygments==2.21.0", + "pyparsing==3.3.2", + "python-dateutil==2.9.0.post0", + "six==1.17.0", + "starlette==1.6.0", + "typing-extensions==4.16.0", + "typing-inspection==0.4.4", +] +# The pinned optional IDA wheel supports Python <3.15. This limits the +# reproducible lock, without changing the package's existing >=3.11 minimum. +environments = ["python_version < '3.15'"] +exclude-newer = "2026-10-05T08:33:47Z" + +[tool.ruff] +target-version = "py311" +line-length = 88 + +[tool.ruff.lint] +select = ["E4", "E7", "E9", "F"] + +[tool.mypy] +python_version = "3.11" +follow_imports = "skip" +ignore_missing_imports = true +check_untyped_defs = true +disallow_untyped_defs = true + [tool.pytest.ini_options] testpaths = ["tests"] addopts = "-m 'not slow'" diff --git a/perovskite-sim/tests/conftest.py b/perovskite-sim/tests/conftest.py index 1d858174..19499c2a 100644 --- a/perovskite-sim/tests/conftest.py +++ b/perovskite-sim/tests/conftest.py @@ -89,9 +89,9 @@ def pytest_configure(config): import pytest # noqa: E402 -@pytest.fixture(autouse=True) +@pytest.fixture def finish_background_jobs(monkeypatch): - """Finish this test's real jobs before its patched inputs are restored.""" + """Opt-in cleanup; backend conftests enable it before patched inputs expire.""" from backend.jobs import JobRegistry submitted = [] @@ -123,7 +123,7 @@ def all_presets_dir(tmp_path_factory): @pytest.fixture -def serve_all_presets(monkeypatch, all_presets_dir): +def serve_all_presets(monkeypatch, all_presets_dir, finish_background_jobs): import backend.main as backend_main import backend.user_configs as user_configs diff --git a/perovskite-sim/tests/fixtures/sg_action_reference_v1.json b/perovskite-sim/tests/fixtures/sg_action_reference_v1.json new file mode 100644 index 00000000..fe07cfe7 --- /dev/null +++ b/perovskite-sim/tests/fixtures/sg_action_reference_v1.json @@ -0,0 +1,6220 @@ +{ + "schema": "solarlab.sg-action-reference.test-fixture.v1", + "scope_id": "scope-oracle-c398ee1f8377a8ac", + "fixed_grid_scope": "Only the original three-node binary64 fixture, two faces, both electron and hole current conventions, and the recorded directions and finite-difference steps; no grid-refinement, model, trajectory or release qualification.", + "fixture": { + "scope_id": "scope-oracle-c398ee1f8377a8ac", + "test_symbol": "test_vector_sg_face_jacobian_matches_independent_finite_difference", + "binary64_hex": { + "phi": [ + "0x1.47ae147ae147bp-7", + "-0x1.47ae147ae147bp-6", + "0x1.47ae147ae147bp-5" + ], + "density": [ + "0x1.a055690d9db80p+66", + "0x1.70a0f5040e504p+71", + "0x1.0e9deaaf401e0p+66" + ], + "dx": [ + "0x1.12e0be826d695p-27", + "0x1.8b2311db7d476p-26" + ], + "diffusion": [ + "0x1.0c6f7a0b5ed8dp-19", + "0x1.2599ed7c6fbd2p-14" + ], + "thermal_voltage": "0x1.a5119ce075f70p-6", + "Q": "0x1.7a4da290c1653p-63" + }, + "literal_display": { + "phi": [ + 0.01, + -0.02, + 0.04 + ], + "density": [ + 1.2e+20, + 3.4e+21, + 7.8e+19 + ], + "dx": [ + 8e-09, + 2.3e-08 + ], + "diffusion": [ + 2e-06, + 7e-05 + ], + "thermal_voltage": 0.0257, + "Q": 1.602176634e-19 + }, + "current_units": "A/m^2", + "density_units": "m^-3", + "potential_units": "V", + "constant_binding": "constants.Q and both vector-flux local q literals have identical binary64 encodings; fixture V_T is its own literal." + }, + "provenance": { + "archive_relative_root": "Stage00/SGActionReferenceV1", + "accepted_values": { + "path": "Repair/Values.json", + "sha256": "9d58f08e82cc2186b5ec93e66b91eb3d605da571c79233c9fb21d92982dabe7c" + }, + "original_fixture": { + "path": "Fixture.json", + "sha256": "dcebd70f6bbff1d818ebc8b7168cfb47bbd67ea75711d66c0bf5e0d6da477336" + }, + "oracle": { + "path": "Repair/Oracle.py", + "sha256": "c10d5358215a99b1697ba81ab262636dfebf3ce7eb719863b7d0578635e1ec5f", + "imported_or_executed_by_test": false + }, + "derivation": { + "path": "Derivation.txt", + "sha256": "cbc642188e59b5b300e602843a3d2c65f24b8cb1766fbcd753424e98495d0467" + }, + "SCI_review": { + "path": "Review.json", + "sha256": "aed1eeff40845207fc6bb6792488d7cfa98d8b380535842490c10efb7fd3ef4d" + }, + "original_sources": { + "perovskite-sim/tests/unit/discretization/test_fe_operators.py": "d39e8e151f692cfc24945daa6b7210ef6cd7dfd2ac4e8cf170e31e371979f965", + "perovskite-sim/perovskite_sim/discretization/fe_operators.py": "b3ab0cf0054d5aa1ec7e5fcd27b93d2ed09b137d043080a0310a219d3ff1154f", + "perovskite-sim/perovskite_sim/constants.py": "9ae428b44bbe5f475b638d9c3339e69930249e2b1c39ba0acbfd0764fcaade76" + } + }, + "acceptance_interpretation": { + "frozen_direct_requirement": "The recorded conditional allowances are accepted as candidate-independent accuracy requirements; direct comparison of observed outputs does not assume the unproved elementary-function forward-error contract.", + "forward_error_theorem": "Claiming the conditional forward-error theorem still requires separately proving its stated NumPy exp/expm1 and basic-arithmetic premises; a passing unit comparison does not establish those premises.", + "block_scale_domain": "The direction-specific absolute sum is bounded by the block scale only inside that block component box: absolute density components at most their original nodal densities, or absolute potential components at most the fixture thermal voltage; weak/out-of-box directions keep their own recorded scales and limits.", + "comparison": "Finite observed binary64 values are exact dyadics. Compare the two-product/one-add action against the exact rational reference midpoint and its unchanged absolute allowance; structural/gauge zeros are exact. FD comparisons use the recorded per-entry allowances. Weak actions have no relative-resolution claim." + }, + "reference_basis": { + "arithmetic": "exact Fraction with outward dyadic rounding", + "dyadic_bits": 256, + "positive_exp_Taylor_degree": 96, + "tail": "t^(N+1)/(N+1)! / (1-t/(N+2)), 0<=t<=3", + "negative_exp": "reciprocal of the positive enclosure", + "scale_from_candidate": false + }, + "cells": [ + { + "carrier": "n", + "face": 0, + "reference": { + "xi": { + "numerator": "-5764607523034235", + "denominator": "4938347111399328" + }, + "K": { + "numerator": "31428205405241842976976929956535", + "denominator": "784637716923335144347959405685234468626865586176" + }, + "B_plus": { + "lower": { + "numerator": "196234213448731785207857630839135396263002141726190216609045971027935793404201", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + }, + "upper": { + "numerator": "196234213448731785207857630839135396263002141726190216609045971027935793404205", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + } + }, + "B_minus": { + "lower": { + "numerator": "15267087631448648140647678409136713007781154363875995686305571117591801745841", + "denominator": "28948022309329048855892746252171976963317496166410141009864396001978282409984" + }, + "upper": { + "numerator": "30534175262897296281295356818273426015562308727751991372611142235183603491683", + "denominator": "57896044618658097711785492504343953926634992332820282019728792003956564819968" + } + }, + "dB_plus": { + "lower": { + "numerator": "-79448091336137510493536752079231330668452324575506587986762809000061836426379", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + }, + "upper": { + "numerator": "-620688213563574300730755875618994770847283785746145218646584445312983097081", + "denominator": "904625697166532776746648320380374280103671755200316906558262375061821325312" + } + }, + "dB_minus": { + "lower": { + "numerator": "-36343997901178684930034232929456577184817660090133976052694775007851293213565", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + }, + "upper": { + "numerator": "-18171998950589342465017116464728288592408830045066988026347387503925646606781", + "denominator": "57896044618658097711785492504343953926634992332820282019728792003956564819968" + } + }, + "flux": { + "lower": { + "numerator": "206489314307349290977381312045525823308364350599306724562092370327736280005192211", + "denominator": "904625697166532776746648320380374280103671755200316906558262375061821325312" + }, + "upper": { + "numerator": "13215316115670354622552403970913652691735318438355630371973911700975121920332578681", + "denominator": "57896044618658097711785492504343953926634992332820282019728792003956564819968" + } + }, + "density": [ + { + "lower": { + "numerator": "-611514276808435584236749714667282036304095486461805082330415", + "denominator": "28948022309329048855892746252171976963317496166410141009864396001978282409984" + }, + "upper": { + "numerator": "-2446057107233742336946998858669128145216381945847220329321659", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + } + }, + { + "lower": { + "numerator": "7860046789473164213393661119078706106146059620650860936313653", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + }, + "upper": { + "numerator": "3930023394736582106696830559539353053073029810325430468156827", + "denominator": "57896044618658097711785492504343953926634992332820282019728792003956564819968" + } + } + ], + "potential": [ + { + "lower": { + "numerator": "213897430638445796466673988818468260095427235686037353609243701370574861821625546553", + "denominator": "57896044618658097711785492504343953926634992332820282019728792003956564819968" + }, + "upper": { + "numerator": "213897430638445796466673988818468260095427235686037353609243701370574861821654971743", + "denominator": "57896044618658097711785492504343953926634992332820282019728792003956564819968" + } + }, + { + "lower": { + "numerator": "-213897430638445796466673988818468260095427235686037353609243701370574861821654971743", + "denominator": "57896044618658097711785492504343953926634992332820282019728792003956564819968" + }, + "upper": { + "numerator": "-213897430638445796466673988818468260095427235686037353609243701370574861821625546553", + "denominator": "57896044618658097711785492504343953926634992332820282019728792003956564819968" + } + } + ], + "g": { + "lower": { + "numerator": "-213897430638445796466673988818468260095427235686037353609243701370574861821654971743", + "denominator": "57896044618658097711785492504343953926634992332820282019728792003956564819968" + }, + "upper": { + "numerator": "-213897430638445796466673988818468260095427235686037353609243701370574861821625546553", + "denominator": "57896044618658097711785492504343953926634992332820282019728792003956564819968" + } + } + }, + "density_derivative_row_scale_A_m": { + "lower": { + "numerator": "644131493544181659396291248609239640710152597906130079102207", + "denominator": "7237005577332262213973186563042994240829374041602535252466099000494570602496" + }, + "upper": { + "numerator": "5153051948353453275170329988873917125681220783249040632817657", + "denominator": "57896044618658097711785492504343953926634992332820282019728792003956564819968" + } + }, + "potential_derivative_row_scale_A_m2_V": { + "lower": { + "numerator": "213897430638445796466673988818468260095427235686037353609243701370574861821625546553", + "denominator": "28948022309329048855892746252171976963317496166410141009864396001978282409984" + }, + "upper": { + "numerator": "213897430638445796466673988818468260095427235686037353609243701370574861821654971743", + "denominator": "28948022309329048855892746252171976963317496166410141009864396001978282409984" + } + }, + "density_action_block_scale_A_m2": { + "lower": { + "numerator": "6441518291730119563572904507615064653950349937370918660875563449859619140625", + "denominator": "27606985387162255149739023449108101809804435888681546220650096895197184" + }, + "upper": { + "numerator": "6441518291730119563572904507615064653950349937370918660875564289093017578125", + "denominator": "27606985387162255149739023449108101809804435888681546220650096895197184" + } + }, + "potential_action_block_scale_A_m2": { + "lower": { + "numerator": "10994327934816114204357757716589979592469217623984302175593002827776149592928476089", + "denominator": "57896044618658097711785492504343953926634992332820282019728792003956564819968" + }, + "upper": { + "numerator": "21988655869632228408715515433179959184938435247968604351186005655552299185859977089", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + } + }, + "conditional_coefficient_absolute_errors": { + "density": [ + { + "numerator": "1048585010370744577182603484692600208159599429", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + }, + { + "numerator": "1600709351906959695393645520282318217803580619", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + } + ], + "potential": [ + { + "numerator": "231081851914801704693407574849743945537281369935325842354652616280263", + "denominator": "57896044618658097711785492504343953926634992332820282019728792003956564819968" + }, + { + "numerator": "231081851914801704693407574849743945537281369935325842354652616280263", + "denominator": "57896044618658097711785492504343953926634992332820282019728792003956564819968" + } + ] + } + }, + { + "carrier": "n", + "face": 1, + "reference": { + "xi": { + "numerator": "5764607523034235", + "denominator": "2469173555699664" + }, + "K": { + "numerator": "17187299830991632150123797010571", + "denominator": "35247397439915444986768038756094341022820073472" + }, + "B_plus": { + "lower": { + "numerator": "1811750035801494858884499164838648430224492533288560299042166059941029590391", + "denominator": "7237005577332262213973186563042994240829374041602535252466099000494570602496" + }, + "upper": { + "numerator": "7247000143205979435537996659354593720897970133154241196168664239764118361565", + "denominator": "28948022309329048855892746252171976963317496166410141009864396001978282409984" + } + }, + "B_minus": { + "lower": { + "numerator": "37414965802337287879085727630324432918418366134248679064040253759274205785991", + "denominator": "14474011154664524427946373126085988481658748083205070504932198000989141204992" + }, + "upper": { + "numerator": "4676870725292160984885715953790554114802295766781084883005031719909275723249", + "denominator": "1809251394333065553493296640760748560207343510400633813116524750123642650624" + } + }, + "dB_plus": { + "lower": { + "numerator": "-19679892306743531015540146223296762181944079766498187068562706862963946420985", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + }, + "upper": { + "numerator": "-19679892306743531015540146223296762181944079766498187068562706862963946420969", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + } + }, + "dB_minus": { + "lower": { + "numerator": "-6007012308160791525501927424086946604457869056196398560680929821559323951185", + "denominator": "7237005577332262213973186563042994240829374041602535252466099000494570602496" + }, + "upper": { + "numerator": "-96112196930572664408030838785391145671325904899142376970894877144949183218951", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + } + }, + "flux": { + "lower": { + "numerator": "-247570494350092348035185317050095937053182359144993024695000522408289137662001557349", + "denominator": "57896044618658097711785492504343953926634992332820282019728792003956564819968" + }, + "upper": { + "numerator": "-123785247175046174017592658525047968526591179572496512347500261204144568830997424831", + "denominator": "28948022309329048855892746252171976963317496166410141009864396001978282409984" + } + }, + "density": [ + { + "lower": { + "numerator": "-18244247295343346834168876940649682673827798926341132240034433", + "denominator": "14474011154664524427946373126085988481658748083205070504932198000989141204992" + }, + "upper": { + "numerator": "-145953978362746774673351015525197461390622391410729057920275463", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + } + }, + { + "lower": { + "numerator": "14135099143004331013113060070249931048095032134522404345327321", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + }, + "upper": { + "numerator": "7067549571502165506556530035124965524047516067261202172663661", + "denominator": "57896044618658097711785492504343953926634992332820282019728792003956564819968" + } + } + ], + "potential": [ + { + "lower": { + "numerator": "3114656730713701322245470029525922531308884897900670791632645711631877956138616881569", + "denominator": "57896044618658097711785492504343953926634992332820282019728792003956564819968" + }, + "upper": { + "numerator": "6229313461427402644490940059051845062617769795801341583265291423263755912277838031199", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + } + }, + { + "lower": { + "numerator": "-6229313461427402644490940059051845062617769795801341583265291423263755912277838031199", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + }, + "upper": { + "numerator": "-3114656730713701322245470029525922531308884897900670791632645711631877956138616881569", + "denominator": "57896044618658097711785492504343953926634992332820282019728792003956564819968" + } + } + ], + "g": { + "lower": { + "numerator": "-6229313461427402644490940059051845062617769795801341583265291423263755912277838031199", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + }, + "upper": { + "numerator": "-3114656730713701322245470029525922531308884897900670791632645711631877956138616881569", + "denominator": "57896044618658097711785492504343953926634992332820282019728792003956564819968" + } + } + }, + "density_derivative_row_scale_A_m": { + "lower": { + "numerator": "5002783672054722052702002362357731013709919485789108195800087", + "denominator": "3618502788666131106986593281521497120414687020801267626233049500247285301248" + }, + "upper": { + "numerator": "80044538752875552843232037797723696219358711772625731132801393", + "denominator": "57896044618658097711785492504343953926634992332820282019728792003956564819968" + } + }, + "potential_derivative_row_scale_A_m2_V": { + "lower": { + "numerator": "3114656730713701322245470029525922531308884897900670791632645711631877956138616881569", + "denominator": "28948022309329048855892746252171976963317496166410141009864396001978282409984" + }, + "upper": { + "numerator": "6229313461427402644490940059051845062617769795801341583265291423263755912277838031199", + "denominator": "57896044618658097711785492504343953926634992332820282019728792003956564819968" + } + }, + "density_action_block_scale_A_m2": { + "lower": { + "numerator": "948612335522639029900391142790128447246298872571890915809387407756805419921875", + "denominator": "220855883097298041197912187592864814478435487109452369765200775161577472" + }, + "upper": { + "numerator": "474306167761319514950195571395064223623149436285945457904693707195281982421875", + "denominator": "110427941548649020598956093796432407239217743554726184882600387580788736" + } + }, + "potential_action_block_scale_A_m2": { + "lower": { + "numerator": "80046677979342125918168204854373833548577923825496683224428099506118073903930497831", + "denominator": "28948022309329048855892746252171976963317496166410141009864396001978282409984" + }, + "upper": { + "numerator": "20011669494835531479542051213593458387144480956374170806107024876529518475984565669", + "denominator": "7237005577332262213973186563042994240829374041602535252466099000494570602496" + } + }, + "conditional_coefficient_absolute_errors": { + "density": [ + { + "numerator": "3738690824878675537009935952363290220819913345", + "denominator": "14474011154664524427946373126085988481658748083205070504932198000989141204992" + }, + { + "numerator": "3643142448234172633382246541977234174051504423", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + } + ], + "potential": [ + { + "numerator": "4140854730642995619576788351534187726433323265423283581136538915858783", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + }, + { + "numerator": "4140854730642995619576788351534187726433323265423283581136538915858783", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + } + ] + } + }, + { + "carrier": "p", + "face": 0, + "reference": { + "xi": { + "numerator": "-5764607523034235", + "denominator": "4938347111399328" + }, + "K": { + "numerator": "31428205405241842976976929956535", + "denominator": "784637716923335144347959405685234468626865586176" + }, + "B_plus": { + "lower": { + "numerator": "196234213448731785207857630839135396263002141726190216609045971027935793404201", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + }, + "upper": { + "numerator": "196234213448731785207857630839135396263002141726190216609045971027935793404205", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + } + }, + "B_minus": { + "lower": { + "numerator": "15267087631448648140647678409136713007781154363875995686305571117591801745841", + "denominator": "28948022309329048855892746252171976963317496166410141009864396001978282409984" + }, + "upper": { + "numerator": "30534175262897296281295356818273426015562308727751991372611142235183603491683", + "denominator": "57896044618658097711785492504343953926634992332820282019728792003956564819968" + } + }, + "dB_plus": { + "lower": { + "numerator": "-79448091336137510493536752079231330668452324575506587986762809000061836426379", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + }, + "upper": { + "numerator": "-620688213563574300730755875618994770847283785746145218646584445312983097081", + "denominator": "904625697166532776746648320380374280103671755200316906558262375061821325312" + } + }, + "dB_minus": { + "lower": { + "numerator": "-36343997901178684930034232929456577184817660090133976052694775007851293213565", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + }, + "upper": { + "numerator": "-18171998950589342465017116464728288592408830045066988026347387503925646606781", + "denominator": "57896044618658097711785492504343953926634992332820282019728792003956564819968" + } + }, + "flux": { + "lower": { + "numerator": "-3686694274928972120006278392592795480499085730701222903668002538405653479590495691", + "denominator": "57896044618658097711785492504343953926634992332820282019728792003956564819968" + }, + "upper": { + "numerator": "-7373388549857944240012556785185590960998171461402445807336005076811306959180699785", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + } + }, + "density": [ + { + "lower": { + "numerator": "7860046789473164213393661119078706106146059620650860936313653", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + }, + "upper": { + "numerator": "3930023394736582106696830559539353053073029810325430468156827", + "denominator": "57896044618658097711785492504343953926634992332820282019728792003956564819968" + } + }, + { + "lower": { + "numerator": "-611514276808435584236749714667282036304095486461805082330415", + "denominator": "28948022309329048855892746252171976963317496166410141009864396001978282409984" + }, + "upper": { + "numerator": "-2446057107233742336946998858669128145216381945847220329321659", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + } + } + ], + "potential": [ + { + "lower": { + "numerator": "103723297386266947006387263456461899864808015667430516235649423769056301598497444807", + "denominator": "57896044618658097711785492504343953926634992332820282019728792003956564819968" + }, + "upper": { + "numerator": "3241353043320842093949601983014434370775250489607203632364044492783009424953325687", + "denominator": "1809251394333065553493296640760748560207343510400633813116524750123642650624" + } + }, + { + "lower": { + "numerator": "-3241353043320842093949601983014434370775250489607203632364044492783009424953325687", + "denominator": "1809251394333065553493296640760748560207343510400633813116524750123642650624" + }, + "upper": { + "numerator": "-103723297386266947006387263456461899864808015667430516235649423769056301598497444807", + "denominator": "57896044618658097711785492504343953926634992332820282019728792003956564819968" + } + } + ], + "g": { + "lower": { + "numerator": "-3241353043320842093949601983014434370775250489607203632364044492783009424953325687", + "denominator": "1809251394333065553493296640760748560207343510400633813116524750123642650624" + }, + "upper": { + "numerator": "-103723297386266947006387263456461899864808015667430516235649423769056301598497444807", + "denominator": "57896044618658097711785492504343953926634992332820282019728792003956564819968" + } + } + }, + "density_derivative_row_scale_A_m": { + "lower": { + "numerator": "644131493544181659396291248609239640710152597906130079102207", + "denominator": "7237005577332262213973186563042994240829374041602535252466099000494570602496" + }, + "upper": { + "numerator": "5153051948353453275170329988873917125681220783249040632817657", + "denominator": "57896044618658097711785492504343953926634992332820282019728792003956564819968" + } + }, + "potential_derivative_row_scale_A_m2_V": { + "lower": { + "numerator": "103723297386266947006387263456461899864808015667430516235649423769056301598497444807", + "denominator": "28948022309329048855892746252171976963317496166410141009864396001978282409984" + }, + "upper": { + "numerator": "3241353043320842093949601983014434370775250489607203632364044492783009424953325687", + "denominator": "904625697166532776746648320380374280103671755200316906558262375061821325312" + } + }, + "density_action_block_scale_A_m2": { + "lower": { + "numerator": "2207708306153179085547217238846893412226015513028777225506610622406005859375", + "denominator": "27606985387162255149739023449108101809804435888681546220650096895197184" + }, + "upper": { + "numerator": "2207708306153179085547217238846893412226015513028777225506611461639404296875", + "denominator": "27606985387162255149739023449108101809804435888681546220650096895197184" + } + }, + "potential_action_block_scale_A_m2": { + "lower": { + "numerator": "10662754971308242410206034887462262865802819478621816002963973857286042414493928697", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + }, + "upper": { + "numerator": "333211092853382575318938590233195714556338108706931750092624183040188825452964111", + "denominator": "3618502788666131106986593281521497120414687020801267626233049500247285301248" + } + }, + "conditional_coefficient_absolute_errors": { + "density": [ + { + "numerator": "1600709351906959695393645520282318217803580619", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + }, + { + "numerator": "1048585010370744577182603484692600208159599429", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + } + ], + "potential": [ + { + "numerator": "121805106920396379128315428670960057435965595440949690477548887206969", + "denominator": "57896044618658097711785492504343953926634992332820282019728792003956564819968" + }, + { + "numerator": "121805106920396379128315428670960057435965595440949690477548887206969", + "denominator": "57896044618658097711785492504343953926634992332820282019728792003956564819968" + } + ] + } + }, + { + "carrier": "p", + "face": 1, + "reference": { + "xi": { + "numerator": "5764607523034235", + "denominator": "2469173555699664" + }, + "K": { + "numerator": "17187299830991632150123797010571", + "denominator": "35247397439915444986768038756094341022820073472" + }, + "B_plus": { + "lower": { + "numerator": "1811750035801494858884499164838648430224492533288560299042166059941029590391", + "denominator": "7237005577332262213973186563042994240829374041602535252466099000494570602496" + }, + "upper": { + "numerator": "7247000143205979435537996659354593720897970133154241196168664239764118361565", + "denominator": "28948022309329048855892746252171976963317496166410141009864396001978282409984" + } + }, + "B_minus": { + "lower": { + "numerator": "37414965802337287879085727630324432918418366134248679064040253759274205785991", + "denominator": "14474011154664524427946373126085988481658748083205070504932198000989141204992" + }, + "upper": { + "numerator": "4676870725292160984885715953790554114802295766781084883005031719909275723249", + "denominator": "1809251394333065553493296640760748560207343510400633813116524750123642650624" + } + }, + "dB_plus": { + "lower": { + "numerator": "-19679892306743531015540146223296762181944079766498187068562706862963946420985", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + }, + "upper": { + "numerator": "-19679892306743531015540146223296762181944079766498187068562706862963946420969", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + } + }, + "dB_minus": { + "lower": { + "numerator": "-6007012308160791525501927424086946604457869056196398560680929821559323951185", + "denominator": "7237005577332262213973186563042994240829374041602535252466099000494570602496" + }, + "upper": { + "numerator": "-96112196930572664408030838785391145671325904899142376970894877144949183218951", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + } + }, + "flux": { + "lower": { + "numerator": "18337463386960238510031512513942181787527281363669654128165704116759399137747766983", + "denominator": "57896044618658097711785492504343953926634992332820282019728792003956564819968" + }, + "upper": { + "numerator": "36674926773920477020063025027884363575054562727339308256331408233518798275502469859", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + } + }, + "density": [ + { + "lower": { + "numerator": "14135099143004331013113060070249931048095032134522404345327321", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + }, + "upper": { + "numerator": "7067549571502165506556530035124965524047516067261202172663661", + "denominator": "57896044618658097711785492504343953926634992332820282019728792003956564819968" + } + }, + { + "lower": { + "numerator": "-18244247295343346834168876940649682673827798926341132240034433", + "denominator": "14474011154664524427946373126085988481658748083205070504932198000989141204992" + }, + "upper": { + "numerator": "-145953978362746774673351015525197461390622391410729057920275463", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + } + } + ], + "potential": [ + { + "lower": { + "numerator": "1411787570677000847285151979727851088898274577245454460807093715228507270965320551039", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + }, + "upper": { + "numerator": "352946892669250211821287994931962772224568644311363615201773428807126817741591507223", + "denominator": "28948022309329048855892746252171976963317496166410141009864396001978282409984" + } + }, + { + "lower": { + "numerator": "-352946892669250211821287994931962772224568644311363615201773428807126817741591507223", + "denominator": "28948022309329048855892746252171976963317496166410141009864396001978282409984" + }, + "upper": { + "numerator": "-1411787570677000847285151979727851088898274577245454460807093715228507270965320551039", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + } + } + ], + "g": { + "lower": { + "numerator": "-352946892669250211821287994931962772224568644311363615201773428807126817741591507223", + "denominator": "28948022309329048855892746252171976963317496166410141009864396001978282409984" + }, + "upper": { + "numerator": "-1411787570677000847285151979727851088898274577245454460807093715228507270965320551039", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + } + } + }, + "density_derivative_row_scale_A_m": { + "lower": { + "numerator": "5002783672054722052702002362357731013709919485789108195800087", + "denominator": "3618502788666131106986593281521497120414687020801267626233049500247285301248" + }, + "upper": { + "numerator": "80044538752875552843232037797723696219358711772625731132801393", + "denominator": "57896044618658097711785492504343953926634992332820282019728792003956564819968" + } + }, + "potential_derivative_row_scale_A_m2_V": { + "lower": { + "numerator": "1411787570677000847285151979727851088898274577245454460807093715228507270965320551039", + "denominator": "57896044618658097711785492504343953926634992332820282019728792003956564819968" + }, + "upper": { + "numerator": "352946892669250211821287994931962772224568644311363615201773428807126817741591507223", + "denominator": "14474011154664524427946373126085988481658748083205070504932198000989141204992" + } + }, + "density_action_block_scale_A_m2": { + "lower": { + "numerator": "113379950329797694910251204394941649536116897177530367454327349689483642578125", + "denominator": "220855883097298041197912187592864814478435487109452369765200775161577472" + }, + "upper": { + "numerator": "3543123447806177965945350137341926548003653036797823982947729885101318359375", + "denominator": "6901746346790563787434755862277025452451108972170386555162524223799296" + } + }, + "potential_action_block_scale_A_m2": { + "lower": { + "numerator": "36282940566398922652971883312330004180446133785829138954046637565391250837184005571", + "denominator": "57896044618658097711785492504343953926634992332820282019728792003956564819968" + }, + "upper": { + "numerator": "72565881132797845305943766624660008360892267571658277908093275130782501674421748705", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + } + }, + "conditional_coefficient_absolute_errors": { + "density": [ + { + "numerator": "3643142448234172633382246541977234174051504423", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + }, + { + "numerator": "3738690824878675537009935952363290220819913345", + "denominator": "14474011154664524427946373126085988481658748083205070504932198000989141204992" + } + ], + "potential": [ + { + "numerator": "1247032624098961420739657400977695719579662348234282995218755877008769", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + }, + { + "numerator": "1247032624098961420739657400977695719579662348234282995218755877008769", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + } + ] + } + } + ], + "signed_actions": [ + { + "carrier": "n", + "name": "density_axis_0_positive", + "block": "density", + "face": 0, + "direction_binary64_hex": [ + "0x1.a055690d9db80p+66", + "0x0.0p+0", + "0x0.0p+0" + ], + "reference_action": { + "lower": { + "numerator": "-34991127594476828626828177337681696108098725497921280803513431549072265625", + "denominator": "13803492693581127574869511724554050904902217944340773110325048447598592" + }, + "upper": { + "numerator": "-139964510377907314507312709350726784432394901991685123214053668975830078125", + "denominator": "55213970774324510299478046898216203619608871777363092441300193790394368" + } + }, + "absolute_term_scale_A_m2": { + "lower": { + "numerator": "139964510377907314507312709350726784432394901991685123214053668975830078125", + "denominator": "55213970774324510299478046898216203619608871777363092441300193790394368" + }, + "upper": { + "numerator": "34991127594476828626828177337681696108098725497921280803513431549072265625", + "denominator": "13803492693581127574869511724554050904902217944340773110325048447598592" + } + }, + "reference_center_uncertainty_A_m2": { + "numerator": "57220458984375", + "denominator": "110427941548649020598956093796432407239217743554726184882600387580788736" + }, + "conditional_absolute_allowance_A_m2": { + "numerator": "54691041329999658954324066208553073982305495450860077484540493011474609375", + "denominator": "33154882427319102115162713299853349409624156957662698548181361477798307627476386316288" + }, + "conditional_relative_allowance": { + "numerator": "2048132619773061513846046858882133860859641685638609164586769", + "denominator": "3147446250475666548123765070228254163815519485076862600899001866095206014630" + }, + "classification": "resolved", + "rule": "abs(two_product_one_sum_action - reference_center) <= conditional_absolute_allowance", + "conditional_on_elementary_contract": true + }, + { + "carrier": "n", + "name": "density_axis_0_positive", + "block": "density", + "face": 1, + "direction_binary64_hex": [ + "0x1.a055690d9db80p+66", + "0x0.0p+0", + "0x0.0p+0" + ], + "reference_action": { + "lower": { + "numerator": "0", + "denominator": "1" + }, + "upper": { + "numerator": "0", + "denominator": "1" + } + }, + "absolute_term_scale_A_m2": { + "lower": { + "numerator": "0", + "denominator": "1" + }, + "upper": { + "numerator": "0", + "denominator": "1" + } + }, + "reference_center_uncertainty_A_m2": { + "numerator": "0", + "denominator": "1" + }, + "conditional_absolute_allowance_A_m2": { + "numerator": "0", + "denominator": "1" + }, + "conditional_relative_allowance": null, + "classification": "exact_zero", + "rule": "exact equality to zero", + "conditional_on_elementary_contract": false + }, + { + "carrier": "n", + "name": "density_axis_0_negative", + "block": "density", + "face": 0, + "direction_binary64_hex": [ + "-0x1.a055690d9db80p+66", + "0x0.0p+0", + "0x0.0p+0" + ], + "reference_action": { + "lower": { + "numerator": "139964510377907314507312709350726784432394901991685123214053668975830078125", + "denominator": "55213970774324510299478046898216203619608871777363092441300193790394368" + }, + "upper": { + "numerator": "34991127594476828626828177337681696108098725497921280803513431549072265625", + "denominator": "13803492693581127574869511724554050904902217944340773110325048447598592" + } + }, + "absolute_term_scale_A_m2": { + "lower": { + "numerator": "139964510377907314507312709350726784432394901991685123214053668975830078125", + "denominator": "55213970774324510299478046898216203619608871777363092441300193790394368" + }, + "upper": { + "numerator": "34991127594476828626828177337681696108098725497921280803513431549072265625", + "denominator": "13803492693581127574869511724554050904902217944340773110325048447598592" + } + }, + "reference_center_uncertainty_A_m2": { + "numerator": "57220458984375", + "denominator": "110427941548649020598956093796432407239217743554726184882600387580788736" + }, + "conditional_absolute_allowance_A_m2": { + "numerator": "54691041329999658954324066208553073982305495450860077484540493011474609375", + "denominator": "33154882427319102115162713299853349409624156957662698548181361477798307627476386316288" + }, + "conditional_relative_allowance": { + "numerator": "2048132619773061513846046858882133860859641685638609164586769", + "denominator": "3147446250475666548123765070228254163815519485076862600899001866095206014630" + }, + "classification": "resolved", + "rule": "abs(two_product_one_sum_action - reference_center) <= conditional_absolute_allowance", + "conditional_on_elementary_contract": true + }, + { + "carrier": "n", + "name": "density_axis_0_negative", + "block": "density", + "face": 1, + "direction_binary64_hex": [ + "-0x1.a055690d9db80p+66", + "0x0.0p+0", + "0x0.0p+0" + ], + "reference_action": { + "lower": { + "numerator": "0", + "denominator": "1" + }, + "upper": { + "numerator": "0", + "denominator": "1" + } + }, + "absolute_term_scale_A_m2": { + "lower": { + "numerator": "0", + "denominator": "1" + }, + "upper": { + "numerator": "0", + "denominator": "1" + } + }, + "reference_center_uncertainty_A_m2": { + "numerator": "0", + "denominator": "1" + }, + "conditional_absolute_allowance_A_m2": { + "numerator": "0", + "denominator": "1" + }, + "conditional_relative_allowance": null, + "classification": "exact_zero", + "rule": "exact equality to zero", + "conditional_on_elementary_contract": false + }, + { + "carrier": "n", + "name": "density_axis_1_positive", + "block": "density", + "face": 0, + "direction_binary64_hex": [ + "0x0.0p+0", + "0x1.70a0f5040e504p+71", + "0x0.0p+0" + ], + "reference_action": { + "lower": { + "numerator": "12743072073082331812638496305879402523468304972750152198537073230743408203125", + "denominator": "55213970774324510299478046898216203619608871777363092441300193790394368" + }, + "upper": { + "numerator": "6371536036541165906319248152939701261734152486375076099268537425994873046875", + "denominator": "27606985387162255149739023449108101809804435888681546220650096895197184" + } + }, + "absolute_term_scale_A_m2": { + "lower": { + "numerator": "12743072073082331812638496305879402523468304972750152198537073230743408203125", + "denominator": "55213970774324510299478046898216203619608871777363092441300193790394368" + }, + "upper": { + "numerator": "6371536036541165906319248152939701261734152486375076099268537425994873046875", + "denominator": "27606985387162255149739023449108101809804435888681546220650096895197184" + } + }, + "reference_center_uncertainty_A_m2": { + "numerator": "1621246337890625", + "denominator": "110427941548649020598956093796432407239217743554726184882600387580788736" + }, + "conditional_absolute_allowance_A_m2": { + "numerator": "3257408321561773590359787494771931594502887637855788797458276538848876953125", + "denominator": "33154882427319102115162713299853349409624156957662698548181361477798307627476386316288" + }, + "conditional_relative_allowance": { + "numerator": "10046000553499877365544425094464626304816058552212563512010617", + "denominator": "23599002528123998608810200396859031919730054489253042112776052752271305245490" + }, + "classification": "resolved", + "rule": "abs(two_product_one_sum_action - reference_center) <= conditional_absolute_allowance", + "conditional_on_elementary_contract": true + }, + { + "carrier": "n", + "name": "density_axis_1_positive", + "block": "density", + "face": 1, + "direction_binary64_hex": [ + "0x0.0p+0", + "0x1.70a0f5040e504p+71", + "0x0.0p+0" + ], + "reference_action": { + "lower": { + "numerator": "-29578419115146340959632006453613720460421808409480976875361000156402587890625", + "denominator": "6901746346790563787434755862277025452451108972170386555162524223799296" + }, + "upper": { + "numerator": "-236627352921170727677056051628909763683374467275847815002887999629974365234375", + "denominator": "55213970774324510299478046898216203619608871777363092441300193790394368" + } + }, + "absolute_term_scale_A_m2": { + "lower": { + "numerator": "236627352921170727677056051628909763683374467275847815002887999629974365234375", + "denominator": "55213970774324510299478046898216203619608871777363092441300193790394368" + }, + "upper": { + "numerator": "29578419115146340959632006453613720460421808409480976875361000156402587890625", + "denominator": "6901746346790563787434755862277025452451108972170386555162524223799296" + } + }, + "reference_center_uncertainty_A_m2": { + "numerator": "1621246337890625", + "denominator": "110427941548649020598956093796432407239217743554726184882600387580788736" + }, + "conditional_absolute_allowance_A_m2": { + "numerator": "182004039404006200890758264882518808500366901817268985134595200176239013671875", + "denominator": "99464647281957306345488139899560048228872470872988095644544084433394922882429158948864" + }, + "conditional_relative_allowance": { + "numerator": "561309022417927076780081583404270712182590365999837186342627343", + "denominator": "1314636565135415328655725093283907361434323873426252063907064066436449517328370" + }, + "classification": "resolved", + "rule": "abs(two_product_one_sum_action - reference_center) <= conditional_absolute_allowance", + "conditional_on_elementary_contract": true + }, + { + "carrier": "n", + "name": "density_axis_1_negative", + "block": "density", + "face": 0, + "direction_binary64_hex": [ + "0x0.0p+0", + "-0x1.70a0f5040e504p+71", + "0x0.0p+0" + ], + "reference_action": { + "lower": { + "numerator": "-6371536036541165906319248152939701261734152486375076099268537425994873046875", + "denominator": "27606985387162255149739023449108101809804435888681546220650096895197184" + }, + "upper": { + "numerator": "-12743072073082331812638496305879402523468304972750152198537073230743408203125", + "denominator": "55213970774324510299478046898216203619608871777363092441300193790394368" + } + }, + "absolute_term_scale_A_m2": { + "lower": { + "numerator": "12743072073082331812638496305879402523468304972750152198537073230743408203125", + "denominator": "55213970774324510299478046898216203619608871777363092441300193790394368" + }, + "upper": { + "numerator": "6371536036541165906319248152939701261734152486375076099268537425994873046875", + "denominator": "27606985387162255149739023449108101809804435888681546220650096895197184" + } + }, + "reference_center_uncertainty_A_m2": { + "numerator": "1621246337890625", + "denominator": "110427941548649020598956093796432407239217743554726184882600387580788736" + }, + "conditional_absolute_allowance_A_m2": { + "numerator": "3257408321561773590359787494771931594502887637855788797458276538848876953125", + "denominator": "33154882427319102115162713299853349409624156957662698548181361477798307627476386316288" + }, + "conditional_relative_allowance": { + "numerator": "10046000553499877365544425094464626304816058552212563512010617", + "denominator": "23599002528123998608810200396859031919730054489253042112776052752271305245490" + }, + "classification": "resolved", + "rule": "abs(two_product_one_sum_action - reference_center) <= conditional_absolute_allowance", + "conditional_on_elementary_contract": true + }, + { + "carrier": "n", + "name": "density_axis_1_negative", + "block": "density", + "face": 1, + "direction_binary64_hex": [ + "0x0.0p+0", + "-0x1.70a0f5040e504p+71", + "0x0.0p+0" + ], + "reference_action": { + "lower": { + "numerator": "236627352921170727677056051628909763683374467275847815002887999629974365234375", + "denominator": "55213970774324510299478046898216203619608871777363092441300193790394368" + }, + "upper": { + "numerator": "29578419115146340959632006453613720460421808409480976875361000156402587890625", + "denominator": "6901746346790563787434755862277025452451108972170386555162524223799296" + } + }, + "absolute_term_scale_A_m2": { + "lower": { + "numerator": "236627352921170727677056051628909763683374467275847815002887999629974365234375", + "denominator": "55213970774324510299478046898216203619608871777363092441300193790394368" + }, + "upper": { + "numerator": "29578419115146340959632006453613720460421808409480976875361000156402587890625", + "denominator": "6901746346790563787434755862277025452451108972170386555162524223799296" + } + }, + "reference_center_uncertainty_A_m2": { + "numerator": "1621246337890625", + "denominator": "110427941548649020598956093796432407239217743554726184882600387580788736" + }, + "conditional_absolute_allowance_A_m2": { + "numerator": "182004039404006200890758264882518808500366901817268985134595200176239013671875", + "denominator": "99464647281957306345488139899560048228872470872988095644544084433394922882429158948864" + }, + "conditional_relative_allowance": { + "numerator": "561309022417927076780081583404270712182590365999837186342627343", + "denominator": "1314636565135415328655725093283907361434323873426252063907064066436449517328370" + }, + "classification": "resolved", + "rule": "abs(two_product_one_sum_action - reference_center) <= conditional_absolute_allowance", + "conditional_on_elementary_contract": true + }, + { + "carrier": "n", + "name": "density_axis_2_positive", + "block": "density", + "face": 0, + "direction_binary64_hex": [ + "0x0.0p+0", + "0x0.0p+0", + "0x1.0e9deaaf401e0p+66" + ], + "reference_action": { + "lower": { + "numerator": "0", + "denominator": "1" + }, + "upper": { + "numerator": "0", + "denominator": "1" + } + }, + "absolute_term_scale_A_m2": { + "lower": { + "numerator": "0", + "denominator": "1" + }, + "upper": { + "numerator": "0", + "denominator": "1" + } + }, + "reference_center_uncertainty_A_m2": { + "numerator": "0", + "denominator": "1" + }, + "conditional_absolute_allowance_A_m2": { + "numerator": "0", + "denominator": "1" + }, + "conditional_relative_allowance": null, + "classification": "exact_zero", + "rule": "exact equality to zero", + "conditional_on_elementary_contract": false + }, + { + "carrier": "n", + "name": "density_axis_2_positive", + "block": "density", + "face": 1, + "direction_binary64_hex": [ + "0x0.0p+0", + "0x0.0p+0", + "0x1.0e9deaaf401e0p+66" + ], + "reference_action": { + "lower": { + "numerator": "2102923837956119192166936274489392512801003468499655797835409236907958984375", + "denominator": "220855883097298041197912187592864814478435487109452369765200775161577472" + }, + "upper": { + "numerator": "1051461918978059596083468137244696256400501734249827898917704692840576171875", + "denominator": "110427941548649020598956093796432407239217743554726184882600387580788736" + } + }, + "absolute_term_scale_A_m2": { + "lower": { + "numerator": "2102923837956119192166936274489392512801003468499655797835409236907958984375", + "denominator": "220855883097298041197912187592864814478435487109452369765200775161577472" + }, + "upper": { + "numerator": "1051461918978059596083468137244696256400501734249827898917704692840576171875", + "denominator": "110427941548649020598956093796432407239217743554726184882600387580788736" + } + }, + "reference_center_uncertainty_A_m2": { + "numerator": "148773193359375", + "denominator": "441711766194596082395824375185729628956870974218904739530401550323154944" + }, + "conditional_absolute_allowance_A_m2": { + "numerator": "605851140593386896016819729306452957018430622158749583916187908172607421875", + "denominator": "132619529709276408460650853199413397638496627830650794192725445911193230509905545265152" + }, + "conditional_relative_allowance": { + "numerator": "12216941646131754959187168547639292612664575155014096225086551", + "denominator": "25463530893311723346811159623963802582281501594100833185375672098572525117558" + }, + "classification": "resolved", + "rule": "abs(two_product_one_sum_action - reference_center) <= conditional_absolute_allowance", + "conditional_on_elementary_contract": true + }, + { + "carrier": "n", + "name": "density_axis_2_negative", + "block": "density", + "face": 0, + "direction_binary64_hex": [ + "0x0.0p+0", + "0x0.0p+0", + "-0x1.0e9deaaf401e0p+66" + ], + "reference_action": { + "lower": { + "numerator": "0", + "denominator": "1" + }, + "upper": { + "numerator": "0", + "denominator": "1" + } + }, + "absolute_term_scale_A_m2": { + "lower": { + "numerator": "0", + "denominator": "1" + }, + "upper": { + "numerator": "0", + "denominator": "1" + } + }, + "reference_center_uncertainty_A_m2": { + "numerator": "0", + "denominator": "1" + }, + "conditional_absolute_allowance_A_m2": { + "numerator": "0", + "denominator": "1" + }, + "conditional_relative_allowance": null, + "classification": "exact_zero", + "rule": "exact equality to zero", + "conditional_on_elementary_contract": false + }, + { + "carrier": "n", + "name": "density_axis_2_negative", + "block": "density", + "face": 1, + "direction_binary64_hex": [ + "0x0.0p+0", + "0x0.0p+0", + "-0x1.0e9deaaf401e0p+66" + ], + "reference_action": { + "lower": { + "numerator": "-1051461918978059596083468137244696256400501734249827898917704692840576171875", + "denominator": "110427941548649020598956093796432407239217743554726184882600387580788736" + }, + "upper": { + "numerator": "-2102923837956119192166936274489392512801003468499655797835409236907958984375", + "denominator": "220855883097298041197912187592864814478435487109452369765200775161577472" + } + }, + "absolute_term_scale_A_m2": { + "lower": { + "numerator": "2102923837956119192166936274489392512801003468499655797835409236907958984375", + "denominator": "220855883097298041197912187592864814478435487109452369765200775161577472" + }, + "upper": { + "numerator": "1051461918978059596083468137244696256400501734249827898917704692840576171875", + "denominator": "110427941548649020598956093796432407239217743554726184882600387580788736" + } + }, + "reference_center_uncertainty_A_m2": { + "numerator": "148773193359375", + "denominator": "441711766194596082395824375185729628956870974218904739530401550323154944" + }, + "conditional_absolute_allowance_A_m2": { + "numerator": "605851140593386896016819729306452957018430622158749583916187908172607421875", + "denominator": "132619529709276408460650853199413397638496627830650794192725445911193230509905545265152" + }, + "conditional_relative_allowance": { + "numerator": "12216941646131754959187168547639292612664575155014096225086551", + "denominator": "25463530893311723346811159623963802582281501594100833185375672098572525117558" + }, + "classification": "resolved", + "rule": "abs(two_product_one_sum_action - reference_center) <= conditional_absolute_allowance", + "conditional_on_elementary_contract": true + }, + { + "carrier": "n", + "name": "density_alternating_positive", + "block": "density", + "face": 0, + "direction_binary64_hex": [ + "0x1.a055690d9db80p+66", + "-0x1.70a0f5040e504p+71", + "0x1.0e9deaaf401e0p+66" + ], + "reference_action": { + "lower": { + "numerator": "-6441518291730119563572904507615064653950349937370918660875564289093017578125", + "denominator": "27606985387162255149739023449108101809804435888681546220650096895197184" + }, + "upper": { + "numerator": "-6441518291730119563572904507615064653950349937370918660875563449859619140625", + "denominator": "27606985387162255149739023449108101809804435888681546220650096895197184" + } + }, + "absolute_term_scale_A_m2": { + "lower": { + "numerator": "6441518291730119563572904507615064653950349937370918660875563449859619140625", + "denominator": "27606985387162255149739023449108101809804435888681546220650096895197184" + }, + "upper": { + "numerator": "6441518291730119563572904507615064653950349937370918660875564289093017578125", + "denominator": "27606985387162255149739023449108101809804435888681546220650096895197184" + } + }, + "reference_center_uncertainty_A_m2": { + "numerator": "209808349609375", + "denominator": "13803492693581127574869511724554050904902217944340773110325048447598592" + }, + "conditional_absolute_allowance_A_m2": { + "numerator": "828024840722943312328527890245121167121298283326662218735704257965087890625", + "denominator": "8288720606829775528790678324963337352406039239415674637045340369449576906869096579072" + }, + "conditional_relative_allowance": { + "numerator": "217061743846475251667049615260417043233845617184384540668252457", + "denominator": "506986834660967386896433347306153873080940816995511654448064374251431846992265" + }, + "classification": "resolved", + "rule": "abs(two_product_one_sum_action - reference_center) <= conditional_absolute_allowance", + "conditional_on_elementary_contract": true + }, + { + "carrier": "n", + "name": "density_alternating_positive", + "block": "density", + "face": 1, + "direction_binary64_hex": [ + "0x1.a055690d9db80p+66", + "-0x1.70a0f5040e504p+71", + "0x1.0e9deaaf401e0p+66" + ], + "reference_action": { + "lower": { + "numerator": "948612335522639029900391142790128447246298872571890915809387407756805419921875", + "denominator": "220855883097298041197912187592864814478435487109452369765200775161577472" + }, + "upper": { + "numerator": "474306167761319514950195571395064223623149436285945457904693707195281982421875", + "denominator": "110427941548649020598956093796432407239217743554726184882600387580788736" + } + }, + "absolute_term_scale_A_m2": { + "lower": { + "numerator": "948612335522639029900391142790128447246298872571890915809387407756805419921875", + "denominator": "220855883097298041197912187592864814478435487109452369765200775161577472" + }, + "upper": { + "numerator": "474306167761319514950195571395064223623149436285945457904693707195281982421875", + "denominator": "110427941548649020598956093796432407239217743554726184882600387580788736" + } + }, + "reference_center_uncertainty_A_m2": { + "numerator": "6633758544921875", + "denominator": "441711766194596082395824375185729628956870974218904739530401550323154944" + }, + "conditional_absolute_allowance_A_m2": { + "numerator": "729833711037804964251083518717994592872522899135552189290129364429473876953125", + "denominator": "397858589127829225381952559598240192915489883491952382578176337733579691529716635795456" + }, + "conditional_relative_allowance": { + "numerator": "191321528346294344548636037930809974553974642870990193109271672109", + "denominator": "447969509850880368953472166941863091188379095527095634222631433800237164371230562" + }, + "classification": "resolved", + "rule": "abs(two_product_one_sum_action - reference_center) <= conditional_absolute_allowance", + "conditional_on_elementary_contract": true + }, + { + "carrier": "n", + "name": "density_alternating_negative", + "block": "density", + "face": 0, + "direction_binary64_hex": [ + "-0x1.a055690d9db80p+66", + "0x1.70a0f5040e504p+71", + "-0x1.0e9deaaf401e0p+66" + ], + "reference_action": { + "lower": { + "numerator": "6441518291730119563572904507615064653950349937370918660875563449859619140625", + "denominator": "27606985387162255149739023449108101809804435888681546220650096895197184" + }, + "upper": { + "numerator": "6441518291730119563572904507615064653950349937370918660875564289093017578125", + "denominator": "27606985387162255149739023449108101809804435888681546220650096895197184" + } + }, + "absolute_term_scale_A_m2": { + "lower": { + "numerator": "6441518291730119563572904507615064653950349937370918660875563449859619140625", + "denominator": "27606985387162255149739023449108101809804435888681546220650096895197184" + }, + "upper": { + "numerator": "6441518291730119563572904507615064653950349937370918660875564289093017578125", + "denominator": "27606985387162255149739023449108101809804435888681546220650096895197184" + } + }, + "reference_center_uncertainty_A_m2": { + "numerator": "209808349609375", + "denominator": "13803492693581127574869511724554050904902217944340773110325048447598592" + }, + "conditional_absolute_allowance_A_m2": { + "numerator": "828024840722943312328527890245121167121298283326662218735704257965087890625", + "denominator": "8288720606829775528790678324963337352406039239415674637045340369449576906869096579072" + }, + "conditional_relative_allowance": { + "numerator": "217061743846475251667049615260417043233845617184384540668252457", + "denominator": "506986834660967386896433347306153873080940816995511654448064374251431846992265" + }, + "classification": "resolved", + "rule": "abs(two_product_one_sum_action - reference_center) <= conditional_absolute_allowance", + "conditional_on_elementary_contract": true + }, + { + "carrier": "n", + "name": "density_alternating_negative", + "block": "density", + "face": 1, + "direction_binary64_hex": [ + "-0x1.a055690d9db80p+66", + "0x1.70a0f5040e504p+71", + "-0x1.0e9deaaf401e0p+66" + ], + "reference_action": { + "lower": { + "numerator": "-474306167761319514950195571395064223623149436285945457904693707195281982421875", + "denominator": "110427941548649020598956093796432407239217743554726184882600387580788736" + }, + "upper": { + "numerator": "-948612335522639029900391142790128447246298872571890915809387407756805419921875", + "denominator": "220855883097298041197912187592864814478435487109452369765200775161577472" + } + }, + "absolute_term_scale_A_m2": { + "lower": { + "numerator": "948612335522639029900391142790128447246298872571890915809387407756805419921875", + "denominator": "220855883097298041197912187592864814478435487109452369765200775161577472" + }, + "upper": { + "numerator": "474306167761319514950195571395064223623149436285945457904693707195281982421875", + "denominator": "110427941548649020598956093796432407239217743554726184882600387580788736" + } + }, + "reference_center_uncertainty_A_m2": { + "numerator": "6633758544921875", + "denominator": "441711766194596082395824375185729628956870974218904739530401550323154944" + }, + "conditional_absolute_allowance_A_m2": { + "numerator": "729833711037804964251083518717994592872522899135552189290129364429473876953125", + "denominator": "397858589127829225381952559598240192915489883491952382578176337733579691529716635795456" + }, + "conditional_relative_allowance": { + "numerator": "191321528346294344548636037930809974553974642870990193109271672109", + "denominator": "447969509850880368953472166941863091188379095527095634222631433800237164371230562" + }, + "classification": "resolved", + "rule": "abs(two_product_one_sum_action - reference_center) <= conditional_absolute_allowance", + "conditional_on_elementary_contract": true + }, + { + "carrier": "n", + "name": "potential_axis_0_positive", + "block": "potential", + "face": 0, + "direction_binary64_hex": [ + "0x1.a5119ce075f70p-6", + "0x0.0p+0", + "0x0.0p+0" + ], + "reference_action": { + "lower": { + "numerator": "10994327934816114204357757716589979592469217623984302175593002827776149592928476089", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + }, + "upper": { + "numerator": "10994327934816114204357757716589979592469217623984302175593002827776149592929988545", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + } + }, + "absolute_term_scale_A_m2": { + "lower": { + "numerator": "10994327934816114204357757716589979592469217623984302175593002827776149592928476089", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + }, + "upper": { + "numerator": "10994327934816114204357757716589979592469217623984302175593002827776149592929988545", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + } + }, + "reference_center_uncertainty_A_m2": { + "numerator": "189057", + "denominator": "28948022309329048855892746252171976963317496166410141009864396001978282409984" + }, + "conditional_absolute_allowance_A_m2": { + "numerator": "128972630485282378746715362914732302864629686463382678600805448372551115230519162491", + "denominator": "1042962419883256644585265717833210771316381800181143653785734578788315146563660377739640176640" + }, + "conditional_relative_allowance": { + "numerator": "128972630485282378746715362914732302864629686463382678600805448372551115230519162491", + "denominator": "99028102380853751545089391318269062499579969978938824630908000147057884257771622591061709103188110" + }, + "classification": "resolved", + "rule": "abs(two_product_one_sum_action - reference_center) <= conditional_absolute_allowance", + "conditional_on_elementary_contract": true + }, + { + "carrier": "n", + "name": "potential_axis_0_positive", + "block": "potential", + "face": 1, + "direction_binary64_hex": [ + "0x1.a5119ce075f70p-6", + "0x0.0p+0", + "0x0.0p+0" + ], + "reference_action": { + "lower": { + "numerator": "0", + "denominator": "1" + }, + "upper": { + "numerator": "0", + "denominator": "1" + } + }, + "absolute_term_scale_A_m2": { + "lower": { + "numerator": "0", + "denominator": "1" + }, + "upper": { + "numerator": "0", + "denominator": "1" + } + }, + "reference_center_uncertainty_A_m2": { + "numerator": "0", + "denominator": "1" + }, + "conditional_absolute_allowance_A_m2": { + "numerator": "0", + "denominator": "1" + }, + "conditional_relative_allowance": null, + "classification": "exact_zero", + "rule": "exact equality to zero", + "conditional_on_elementary_contract": false + }, + { + "carrier": "n", + "name": "potential_axis_0_negative", + "block": "potential", + "face": 0, + "direction_binary64_hex": [ + "-0x1.a5119ce075f70p-6", + "0x0.0p+0", + "0x0.0p+0" + ], + "reference_action": { + "lower": { + "numerator": "-10994327934816114204357757716589979592469217623984302175593002827776149592929988545", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + }, + "upper": { + "numerator": "-10994327934816114204357757716589979592469217623984302175593002827776149592928476089", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + } + }, + "absolute_term_scale_A_m2": { + "lower": { + "numerator": "10994327934816114204357757716589979592469217623984302175593002827776149592928476089", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + }, + "upper": { + "numerator": "10994327934816114204357757716589979592469217623984302175593002827776149592929988545", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + } + }, + "reference_center_uncertainty_A_m2": { + "numerator": "189057", + "denominator": "28948022309329048855892746252171976963317496166410141009864396001978282409984" + }, + "conditional_absolute_allowance_A_m2": { + "numerator": "128972630485282378746715362914732302864629686463382678600805448372551115230519162491", + "denominator": "1042962419883256644585265717833210771316381800181143653785734578788315146563660377739640176640" + }, + "conditional_relative_allowance": { + "numerator": "128972630485282378746715362914732302864629686463382678600805448372551115230519162491", + "denominator": "99028102380853751545089391318269062499579969978938824630908000147057884257771622591061709103188110" + }, + "classification": "resolved", + "rule": "abs(two_product_one_sum_action - reference_center) <= conditional_absolute_allowance", + "conditional_on_elementary_contract": true + }, + { + "carrier": "n", + "name": "potential_axis_0_negative", + "block": "potential", + "face": 1, + "direction_binary64_hex": [ + "-0x1.a5119ce075f70p-6", + "0x0.0p+0", + "0x0.0p+0" + ], + "reference_action": { + "lower": { + "numerator": "0", + "denominator": "1" + }, + "upper": { + "numerator": "0", + "denominator": "1" + } + }, + "absolute_term_scale_A_m2": { + "lower": { + "numerator": "0", + "denominator": "1" + }, + "upper": { + "numerator": "0", + "denominator": "1" + } + }, + "reference_center_uncertainty_A_m2": { + "numerator": "0", + "denominator": "1" + }, + "conditional_absolute_allowance_A_m2": { + "numerator": "0", + "denominator": "1" + }, + "conditional_relative_allowance": null, + "classification": "exact_zero", + "rule": "exact equality to zero", + "conditional_on_elementary_contract": false + }, + { + "carrier": "n", + "name": "potential_axis_1_positive", + "block": "potential", + "face": 0, + "direction_binary64_hex": [ + "0x0.0p+0", + "0x1.a5119ce075f70p-6", + "0x0.0p+0" + ], + "reference_action": { + "lower": { + "numerator": "-10994327934816114204357757716589979592469217623984302175593002827776149592929988545", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + }, + "upper": { + "numerator": "-10994327934816114204357757716589979592469217623984302175593002827776149592928476089", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + } + }, + "absolute_term_scale_A_m2": { + "lower": { + "numerator": "10994327934816114204357757716589979592469217623984302175593002827776149592928476089", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + }, + "upper": { + "numerator": "10994327934816114204357757716589979592469217623984302175593002827776149592929988545", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + } + }, + "reference_center_uncertainty_A_m2": { + "numerator": "189057", + "denominator": "28948022309329048855892746252171976963317496166410141009864396001978282409984" + }, + "conditional_absolute_allowance_A_m2": { + "numerator": "128972630485282378746715362914732302864629686463382678600805448372551115230519162491", + "denominator": "1042962419883256644585265717833210771316381800181143653785734578788315146563660377739640176640" + }, + "conditional_relative_allowance": { + "numerator": "128972630485282378746715362914732302864629686463382678600805448372551115230519162491", + "denominator": "99028102380853751545089391318269062499579969978938824630908000147057884257771622591061709103188110" + }, + "classification": "resolved", + "rule": "abs(two_product_one_sum_action - reference_center) <= conditional_absolute_allowance", + "conditional_on_elementary_contract": true + }, + { + "carrier": "n", + "name": "potential_axis_1_positive", + "block": "potential", + "face": 1, + "direction_binary64_hex": [ + "0x0.0p+0", + "0x1.a5119ce075f70p-6", + "0x0.0p+0" + ], + "reference_action": { + "lower": { + "numerator": "80046677979342125918168204854373833548577923825496683224428099506118073903930497831", + "denominator": "57896044618658097711785492504343953926634992332820282019728792003956564819968" + }, + "upper": { + "numerator": "20011669494835531479542051213593458387144480956374170806107024876529518475984565669", + "denominator": "14474011154664524427946373126085988481658748083205070504932198000989141204992" + } + }, + "absolute_term_scale_A_m2": { + "lower": { + "numerator": "80046677979342125918168204854373833548577923825496683224428099506118073903930497831", + "denominator": "57896044618658097711785492504343953926634992332820282019728792003956564819968" + }, + "upper": { + "numerator": "20011669494835531479542051213593458387144480956374170806107024876529518475984565669", + "denominator": "14474011154664524427946373126085988481658748083205070504932198000989141204992" + } + }, + "reference_center_uncertainty_A_m2": { + "numerator": "7764845", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + }, + "conditional_absolute_allowance_A_m2": { + "numerator": "852488370376008580413059815650153184735950642649865887910172167316351790745181899143", + "denominator": "695308279922171096390177145222140514210921200120762435857156385858876764375773585159760117760" + }, + "conditional_relative_allowance": { + "numerator": "852488370376008580413059815650153184735950642649865887910172167316351790745181899143", + "denominator": "961328504320029882529081922259918173721218286884057742791997173000817948208584105751073703549056920" + }, + "classification": "resolved", + "rule": "abs(two_product_one_sum_action - reference_center) <= conditional_absolute_allowance", + "conditional_on_elementary_contract": true + }, + { + "carrier": "n", + "name": "potential_axis_1_negative", + "block": "potential", + "face": 0, + "direction_binary64_hex": [ + "0x0.0p+0", + "-0x1.a5119ce075f70p-6", + "0x0.0p+0" + ], + "reference_action": { + "lower": { + "numerator": "10994327934816114204357757716589979592469217623984302175593002827776149592928476089", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + }, + "upper": { + "numerator": "10994327934816114204357757716589979592469217623984302175593002827776149592929988545", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + } + }, + "absolute_term_scale_A_m2": { + "lower": { + "numerator": "10994327934816114204357757716589979592469217623984302175593002827776149592928476089", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + }, + "upper": { + "numerator": "10994327934816114204357757716589979592469217623984302175593002827776149592929988545", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + } + }, + "reference_center_uncertainty_A_m2": { + "numerator": "189057", + "denominator": "28948022309329048855892746252171976963317496166410141009864396001978282409984" + }, + "conditional_absolute_allowance_A_m2": { + "numerator": "128972630485282378746715362914732302864629686463382678600805448372551115230519162491", + "denominator": "1042962419883256644585265717833210771316381800181143653785734578788315146563660377739640176640" + }, + "conditional_relative_allowance": { + "numerator": "128972630485282378746715362914732302864629686463382678600805448372551115230519162491", + "denominator": "99028102380853751545089391318269062499579969978938824630908000147057884257771622591061709103188110" + }, + "classification": "resolved", + "rule": "abs(two_product_one_sum_action - reference_center) <= conditional_absolute_allowance", + "conditional_on_elementary_contract": true + }, + { + "carrier": "n", + "name": "potential_axis_1_negative", + "block": "potential", + "face": 1, + "direction_binary64_hex": [ + "0x0.0p+0", + "-0x1.a5119ce075f70p-6", + "0x0.0p+0" + ], + "reference_action": { + "lower": { + "numerator": "-20011669494835531479542051213593458387144480956374170806107024876529518475984565669", + "denominator": "14474011154664524427946373126085988481658748083205070504932198000989141204992" + }, + "upper": { + "numerator": "-80046677979342125918168204854373833548577923825496683224428099506118073903930497831", + "denominator": "57896044618658097711785492504343953926634992332820282019728792003956564819968" + } + }, + "absolute_term_scale_A_m2": { + "lower": { + "numerator": "80046677979342125918168204854373833548577923825496683224428099506118073903930497831", + "denominator": "57896044618658097711785492504343953926634992332820282019728792003956564819968" + }, + "upper": { + "numerator": "20011669494835531479542051213593458387144480956374170806107024876529518475984565669", + "denominator": "14474011154664524427946373126085988481658748083205070504932198000989141204992" + } + }, + "reference_center_uncertainty_A_m2": { + "numerator": "7764845", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + }, + "conditional_absolute_allowance_A_m2": { + "numerator": "852488370376008580413059815650153184735950642649865887910172167316351790745181899143", + "denominator": "695308279922171096390177145222140514210921200120762435857156385858876764375773585159760117760" + }, + "conditional_relative_allowance": { + "numerator": "852488370376008580413059815650153184735950642649865887910172167316351790745181899143", + "denominator": "961328504320029882529081922259918173721218286884057742791997173000817948208584105751073703549056920" + }, + "classification": "resolved", + "rule": "abs(two_product_one_sum_action - reference_center) <= conditional_absolute_allowance", + "conditional_on_elementary_contract": true + }, + { + "carrier": "n", + "name": "potential_axis_2_positive", + "block": "potential", + "face": 0, + "direction_binary64_hex": [ + "0x0.0p+0", + "0x0.0p+0", + "0x1.a5119ce075f70p-6" + ], + "reference_action": { + "lower": { + "numerator": "0", + "denominator": "1" + }, + "upper": { + "numerator": "0", + "denominator": "1" + } + }, + "absolute_term_scale_A_m2": { + "lower": { + "numerator": "0", + "denominator": "1" + }, + "upper": { + "numerator": "0", + "denominator": "1" + } + }, + "reference_center_uncertainty_A_m2": { + "numerator": "0", + "denominator": "1" + }, + "conditional_absolute_allowance_A_m2": { + "numerator": "0", + "denominator": "1" + }, + "conditional_relative_allowance": null, + "classification": "exact_zero", + "rule": "exact equality to zero", + "conditional_on_elementary_contract": false + }, + { + "carrier": "n", + "name": "potential_axis_2_positive", + "block": "potential", + "face": 1, + "direction_binary64_hex": [ + "0x0.0p+0", + "0x0.0p+0", + "0x1.a5119ce075f70p-6" + ], + "reference_action": { + "lower": { + "numerator": "-20011669494835531479542051213593458387144480956374170806107024876529518475984565669", + "denominator": "14474011154664524427946373126085988481658748083205070504932198000989141204992" + }, + "upper": { + "numerator": "-80046677979342125918168204854373833548577923825496683224428099506118073903930497831", + "denominator": "57896044618658097711785492504343953926634992332820282019728792003956564819968" + } + }, + "absolute_term_scale_A_m2": { + "lower": { + "numerator": "80046677979342125918168204854373833548577923825496683224428099506118073903930497831", + "denominator": "57896044618658097711785492504343953926634992332820282019728792003956564819968" + }, + "upper": { + "numerator": "20011669494835531479542051213593458387144480956374170806107024876529518475984565669", + "denominator": "14474011154664524427946373126085988481658748083205070504932198000989141204992" + } + }, + "reference_center_uncertainty_A_m2": { + "numerator": "7764845", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + }, + "conditional_absolute_allowance_A_m2": { + "numerator": "852488370376008580413059815650153184735950642649865887910172167316351790745181899143", + "denominator": "695308279922171096390177145222140514210921200120762435857156385858876764375773585159760117760" + }, + "conditional_relative_allowance": { + "numerator": "852488370376008580413059815650153184735950642649865887910172167316351790745181899143", + "denominator": "961328504320029882529081922259918173721218286884057742791997173000817948208584105751073703549056920" + }, + "classification": "resolved", + "rule": "abs(two_product_one_sum_action - reference_center) <= conditional_absolute_allowance", + "conditional_on_elementary_contract": true + }, + { + "carrier": "n", + "name": "potential_axis_2_negative", + "block": "potential", + "face": 0, + "direction_binary64_hex": [ + "0x0.0p+0", + "0x0.0p+0", + "-0x1.a5119ce075f70p-6" + ], + "reference_action": { + "lower": { + "numerator": "0", + "denominator": "1" + }, + "upper": { + "numerator": "0", + "denominator": "1" + } + }, + "absolute_term_scale_A_m2": { + "lower": { + "numerator": "0", + "denominator": "1" + }, + "upper": { + "numerator": "0", + "denominator": "1" + } + }, + "reference_center_uncertainty_A_m2": { + "numerator": "0", + "denominator": "1" + }, + "conditional_absolute_allowance_A_m2": { + "numerator": "0", + "denominator": "1" + }, + "conditional_relative_allowance": null, + "classification": "exact_zero", + "rule": "exact equality to zero", + "conditional_on_elementary_contract": false + }, + { + "carrier": "n", + "name": "potential_axis_2_negative", + "block": "potential", + "face": 1, + "direction_binary64_hex": [ + "0x0.0p+0", + "0x0.0p+0", + "-0x1.a5119ce075f70p-6" + ], + "reference_action": { + "lower": { + "numerator": "80046677979342125918168204854373833548577923825496683224428099506118073903930497831", + "denominator": "57896044618658097711785492504343953926634992332820282019728792003956564819968" + }, + "upper": { + "numerator": "20011669494835531479542051213593458387144480956374170806107024876529518475984565669", + "denominator": "14474011154664524427946373126085988481658748083205070504932198000989141204992" + } + }, + "absolute_term_scale_A_m2": { + "lower": { + "numerator": "80046677979342125918168204854373833548577923825496683224428099506118073903930497831", + "denominator": "57896044618658097711785492504343953926634992332820282019728792003956564819968" + }, + "upper": { + "numerator": "20011669494835531479542051213593458387144480956374170806107024876529518475984565669", + "denominator": "14474011154664524427946373126085988481658748083205070504932198000989141204992" + } + }, + "reference_center_uncertainty_A_m2": { + "numerator": "7764845", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + }, + "conditional_absolute_allowance_A_m2": { + "numerator": "852488370376008580413059815650153184735950642649865887910172167316351790745181899143", + "denominator": "695308279922171096390177145222140514210921200120762435857156385858876764375773585159760117760" + }, + "conditional_relative_allowance": { + "numerator": "852488370376008580413059815650153184735950642649865887910172167316351790745181899143", + "denominator": "961328504320029882529081922259918173721218286884057742791997173000817948208584105751073703549056920" + }, + "classification": "resolved", + "rule": "abs(two_product_one_sum_action - reference_center) <= conditional_absolute_allowance", + "conditional_on_elementary_contract": true + }, + { + "carrier": "n", + "name": "potential_alternating_positive", + "block": "potential", + "face": 0, + "direction_binary64_hex": [ + "0x1.a5119ce075f70p-6", + "-0x1.a5119ce075f70p-6", + "0x1.a5119ce075f70p-6" + ], + "reference_action": { + "lower": { + "numerator": "10994327934816114204357757716589979592469217623984302175593002827776149592928476089", + "denominator": "57896044618658097711785492504343953926634992332820282019728792003956564819968" + }, + "upper": { + "numerator": "21988655869632228408715515433179959184938435247968604351186005655552299185859977089", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + } + }, + "absolute_term_scale_A_m2": { + "lower": { + "numerator": "10994327934816114204357757716589979592469217623984302175593002827776149592928476089", + "denominator": "57896044618658097711785492504343953926634992332820282019728792003956564819968" + }, + "upper": { + "numerator": "10994327934816114204357757716589979592469217623984302175593002827776149592929988545", + "denominator": "57896044618658097711785492504343953926634992332820282019728792003956564819968" + } + }, + "reference_center_uncertainty_A_m2": { + "numerator": "3024911", + "denominator": "231584178474632390847141970017375815706539969331281128078915168015826259279872" + }, + "conditional_absolute_allowance_A_m2": { + "numerator": "257945260970564757493430725829464605729259372926765357201610896745097726861410954487", + "denominator": "1042962419883256644585265717833210771316381800181143653785734578788315146563660377739640176640" + }, + "conditional_relative_allowance": { + "numerator": "257945260970564757493430725829464605729259372926765357201610896745097726861410954487", + "denominator": "198056204761707503090178782636538124999159939957877649261816000294115768515543245182123418206376220" + }, + "classification": "resolved", + "rule": "abs(two_product_one_sum_action - reference_center) <= conditional_absolute_allowance", + "conditional_on_elementary_contract": true + }, + { + "carrier": "n", + "name": "potential_alternating_positive", + "block": "potential", + "face": 1, + "direction_binary64_hex": [ + "0x1.a5119ce075f70p-6", + "-0x1.a5119ce075f70p-6", + "0x1.a5119ce075f70p-6" + ], + "reference_action": { + "lower": { + "numerator": "-20011669494835531479542051213593458387144480956374170806107024876529518475984565669", + "denominator": "7237005577332262213973186563042994240829374041602535252466099000494570602496" + }, + "upper": { + "numerator": "-80046677979342125918168204854373833548577923825496683224428099506118073903930497831", + "denominator": "28948022309329048855892746252171976963317496166410141009864396001978282409984" + } + }, + "absolute_term_scale_A_m2": { + "lower": { + "numerator": "80046677979342125918168204854373833548577923825496683224428099506118073903930497831", + "denominator": "28948022309329048855892746252171976963317496166410141009864396001978282409984" + }, + "upper": { + "numerator": "20011669494835531479542051213593458387144480956374170806107024876529518475984565669", + "denominator": "7237005577332262213973186563042994240829374041602535252466099000494570602496" + } + }, + "reference_center_uncertainty_A_m2": { + "numerator": "7764845", + "denominator": "57896044618658097711785492504343953926634992332820282019728792003956564819968" + }, + "conditional_absolute_allowance_A_m2": { + "numerator": "852488370376008580413059815650153184735950642649865887910172167316351790745181899143", + "denominator": "347654139961085548195088572611070257105460600060381217928578192929438382187886792579880058880" + }, + "conditional_relative_allowance": { + "numerator": "852488370376008580413059815650153184735950642649865887910172167316351790745181899143", + "denominator": "961328504320029882529081922259918173721218286884057742791997173000817948208584105751073703549056920" + }, + "classification": "resolved", + "rule": "abs(two_product_one_sum_action - reference_center) <= conditional_absolute_allowance", + "conditional_on_elementary_contract": true + }, + { + "carrier": "n", + "name": "potential_alternating_negative", + "block": "potential", + "face": 0, + "direction_binary64_hex": [ + "-0x1.a5119ce075f70p-6", + "0x1.a5119ce075f70p-6", + "-0x1.a5119ce075f70p-6" + ], + "reference_action": { + "lower": { + "numerator": "-21988655869632228408715515433179959184938435247968604351186005655552299185859977089", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + }, + "upper": { + "numerator": "-10994327934816114204357757716589979592469217623984302175593002827776149592928476089", + "denominator": "57896044618658097711785492504343953926634992332820282019728792003956564819968" + } + }, + "absolute_term_scale_A_m2": { + "lower": { + "numerator": "10994327934816114204357757716589979592469217623984302175593002827776149592928476089", + "denominator": "57896044618658097711785492504343953926634992332820282019728792003956564819968" + }, + "upper": { + "numerator": "10994327934816114204357757716589979592469217623984302175593002827776149592929988545", + "denominator": "57896044618658097711785492504343953926634992332820282019728792003956564819968" + } + }, + "reference_center_uncertainty_A_m2": { + "numerator": "3024911", + "denominator": "231584178474632390847141970017375815706539969331281128078915168015826259279872" + }, + "conditional_absolute_allowance_A_m2": { + "numerator": "257945260970564757493430725829464605729259372926765357201610896745097726861410954487", + "denominator": "1042962419883256644585265717833210771316381800181143653785734578788315146563660377739640176640" + }, + "conditional_relative_allowance": { + "numerator": "257945260970564757493430725829464605729259372926765357201610896745097726861410954487", + "denominator": "198056204761707503090178782636538124999159939957877649261816000294115768515543245182123418206376220" + }, + "classification": "resolved", + "rule": "abs(two_product_one_sum_action - reference_center) <= conditional_absolute_allowance", + "conditional_on_elementary_contract": true + }, + { + "carrier": "n", + "name": "potential_alternating_negative", + "block": "potential", + "face": 1, + "direction_binary64_hex": [ + "-0x1.a5119ce075f70p-6", + "0x1.a5119ce075f70p-6", + "-0x1.a5119ce075f70p-6" + ], + "reference_action": { + "lower": { + "numerator": "80046677979342125918168204854373833548577923825496683224428099506118073903930497831", + "denominator": "28948022309329048855892746252171976963317496166410141009864396001978282409984" + }, + "upper": { + "numerator": "20011669494835531479542051213593458387144480956374170806107024876529518475984565669", + "denominator": "7237005577332262213973186563042994240829374041602535252466099000494570602496" + } + }, + "absolute_term_scale_A_m2": { + "lower": { + "numerator": "80046677979342125918168204854373833548577923825496683224428099506118073903930497831", + "denominator": "28948022309329048855892746252171976963317496166410141009864396001978282409984" + }, + "upper": { + "numerator": "20011669494835531479542051213593458387144480956374170806107024876529518475984565669", + "denominator": "7237005577332262213973186563042994240829374041602535252466099000494570602496" + } + }, + "reference_center_uncertainty_A_m2": { + "numerator": "7764845", + "denominator": "57896044618658097711785492504343953926634992332820282019728792003956564819968" + }, + "conditional_absolute_allowance_A_m2": { + "numerator": "852488370376008580413059815650153184735950642649865887910172167316351790745181899143", + "denominator": "347654139961085548195088572611070257105460600060381217928578192929438382187886792579880058880" + }, + "conditional_relative_allowance": { + "numerator": "852488370376008580413059815650153184735950642649865887910172167316351790745181899143", + "denominator": "961328504320029882529081922259918173721218286884057742791997173000817948208584105751073703549056920" + }, + "classification": "resolved", + "rule": "abs(two_product_one_sum_action - reference_center) <= conditional_absolute_allowance", + "conditional_on_elementary_contract": true + }, + { + "carrier": "n", + "name": "potential_gauge_positive", + "block": "potential", + "face": 0, + "direction_binary64_hex": [ + "0x1.a5119ce075f70p-6", + "0x1.a5119ce075f70p-6", + "0x1.a5119ce075f70p-6" + ], + "reference_action": { + "lower": { + "numerator": "0", + "denominator": "1" + }, + "upper": { + "numerator": "0", + "denominator": "1" + } + }, + "absolute_term_scale_A_m2": { + "lower": { + "numerator": "10994327934816114204357757716589979592469217623984302175593002827776149592928476089", + "denominator": "57896044618658097711785492504343953926634992332820282019728792003956564819968" + }, + "upper": { + "numerator": "10994327934816114204357757716589979592469217623984302175593002827776149592929988545", + "denominator": "57896044618658097711785492504343953926634992332820282019728792003956564819968" + } + }, + "reference_center_uncertainty_A_m2": { + "numerator": "0", + "denominator": "1" + }, + "conditional_absolute_allowance_A_m2": { + "numerator": "0", + "denominator": "1" + }, + "conditional_relative_allowance": null, + "classification": "exact_zero", + "rule": "exact equality to zero", + "conditional_on_elementary_contract": false + }, + { + "carrier": "n", + "name": "potential_gauge_positive", + "block": "potential", + "face": 1, + "direction_binary64_hex": [ + "0x1.a5119ce075f70p-6", + "0x1.a5119ce075f70p-6", + "0x1.a5119ce075f70p-6" + ], + "reference_action": { + "lower": { + "numerator": "0", + "denominator": "1" + }, + "upper": { + "numerator": "0", + "denominator": "1" + } + }, + "absolute_term_scale_A_m2": { + "lower": { + "numerator": "80046677979342125918168204854373833548577923825496683224428099506118073903930497831", + "denominator": "28948022309329048855892746252171976963317496166410141009864396001978282409984" + }, + "upper": { + "numerator": "20011669494835531479542051213593458387144480956374170806107024876529518475984565669", + "denominator": "7237005577332262213973186563042994240829374041602535252466099000494570602496" + } + }, + "reference_center_uncertainty_A_m2": { + "numerator": "0", + "denominator": "1" + }, + "conditional_absolute_allowance_A_m2": { + "numerator": "0", + "denominator": "1" + }, + "conditional_relative_allowance": null, + "classification": "exact_zero", + "rule": "exact equality to zero", + "conditional_on_elementary_contract": false + }, + { + "carrier": "n", + "name": "potential_gauge_negative", + "block": "potential", + "face": 0, + "direction_binary64_hex": [ + "-0x1.a5119ce075f70p-6", + "-0x1.a5119ce075f70p-6", + "-0x1.a5119ce075f70p-6" + ], + "reference_action": { + "lower": { + "numerator": "0", + "denominator": "1" + }, + "upper": { + "numerator": "0", + "denominator": "1" + } + }, + "absolute_term_scale_A_m2": { + "lower": { + "numerator": "10994327934816114204357757716589979592469217623984302175593002827776149592928476089", + "denominator": "57896044618658097711785492504343953926634992332820282019728792003956564819968" + }, + "upper": { + "numerator": "10994327934816114204357757716589979592469217623984302175593002827776149592929988545", + "denominator": "57896044618658097711785492504343953926634992332820282019728792003956564819968" + } + }, + "reference_center_uncertainty_A_m2": { + "numerator": "0", + "denominator": "1" + }, + "conditional_absolute_allowance_A_m2": { + "numerator": "0", + "denominator": "1" + }, + "conditional_relative_allowance": null, + "classification": "exact_zero", + "rule": "exact equality to zero", + "conditional_on_elementary_contract": false + }, + { + "carrier": "n", + "name": "potential_gauge_negative", + "block": "potential", + "face": 1, + "direction_binary64_hex": [ + "-0x1.a5119ce075f70p-6", + "-0x1.a5119ce075f70p-6", + "-0x1.a5119ce075f70p-6" + ], + "reference_action": { + "lower": { + "numerator": "0", + "denominator": "1" + }, + "upper": { + "numerator": "0", + "denominator": "1" + } + }, + "absolute_term_scale_A_m2": { + "lower": { + "numerator": "80046677979342125918168204854373833548577923825496683224428099506118073903930497831", + "denominator": "28948022309329048855892746252171976963317496166410141009864396001978282409984" + }, + "upper": { + "numerator": "20011669494835531479542051213593458387144480956374170806107024876529518475984565669", + "denominator": "7237005577332262213973186563042994240829374041602535252466099000494570602496" + } + }, + "reference_center_uncertainty_A_m2": { + "numerator": "0", + "denominator": "1" + }, + "conditional_absolute_allowance_A_m2": { + "numerator": "0", + "denominator": "1" + }, + "conditional_relative_allowance": null, + "classification": "exact_zero", + "rule": "exact equality to zero", + "conditional_on_elementary_contract": false + }, + { + "carrier": "n", + "name": "potential_weak_gauge_positive", + "block": "potential", + "face": 0, + "direction_binary64_hex": [ + "0x1.a5119ce075f70p-6", + "0x1.a5119ce075f71p-6", + "0x1.a5119ce075f70p-6" + ], + "reference_action": { + "lower": { + "numerator": "-371052894379632688369927814885214818917519359064353517990090573377", + "denominator": "28948022309329048855892746252171976963317496166410141009864396001978282409984" + }, + "upper": { + "numerator": "-1484211577518530753479711259540859275670077436257414071960362293507", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + } + }, + "absolute_term_scale_A_m2": { + "lower": { + "numerator": "21988655869632229892927092951710712664649694788827880021263441912966371146219245685", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + }, + "upper": { + "numerator": "21988655869632229892927092951710712664649694788827880021263441912966371146222270597", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + } + }, + "reference_center_uncertainty_A_m2": { + "numerator": "1", + "denominator": "231584178474632390847141970017375815706539969331281128078915168015826259279872" + }, + "conditional_absolute_allowance_A_m2": { + "numerator": "4127124175529036398471514008666122496426485121879688073949622025516919505898240457079", + "denominator": "16687398718132106313364251485331372341062108802898298460571753260613042345018566043834242826240" + }, + "conditional_relative_allowance": null, + "classification": "weak_absolute_only", + "rule": "abs(two_product_one_sum_action - reference_center) <= conditional_absolute_allowance", + "conditional_on_elementary_contract": true + }, + { + "carrier": "n", + "name": "potential_weak_gauge_positive", + "block": "potential", + "face": 1, + "direction_binary64_hex": [ + "0x1.a5119ce075f70p-6", + "0x1.a5119ce075f71p-6", + "0x1.a5119ce075f70p-6" + ], + "reference_action": { + "lower": { + "numerator": "21612272601512919916227004262828676829011931972289942080705000490791", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + }, + "upper": { + "numerator": "2701534075189114989528375532853584603626491496536242760088125061349", + "denominator": "14474011154664524427946373126085988481658748083205070504932198000989141204992" + } + }, + "absolute_term_scale_A_m2": { + "lower": { + "numerator": "320186711917368525284945420930415250421315958130663561909644370314414376320722482115", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + }, + "upper": { + "numerator": "40023338989671065660618177616301906302664494766332945238705546289301797040094192687", + "denominator": "14474011154664524427946373126085988481658748083205070504932198000989141204992" + } + }, + "reference_center_uncertainty_A_m2": { + "numerator": "1", + "denominator": "231584178474632390847141970017375815706539969331281128078915168015826259279872" + }, + "conditional_absolute_allowance_A_m2": { + "numerator": "81838883556096829243693919442237199949967886049610168729463435236081400108909125663839", + "denominator": "33374797436264212626728502970662744682124217605796596921143506521226084690037132087668485652480" + }, + "conditional_relative_allowance": null, + "classification": "weak_absolute_only", + "rule": "abs(two_product_one_sum_action - reference_center) <= conditional_absolute_allowance", + "conditional_on_elementary_contract": true + }, + { + "carrier": "n", + "name": "potential_weak_gauge_negative", + "block": "potential", + "face": 0, + "direction_binary64_hex": [ + "-0x1.a5119ce075f70p-6", + "-0x1.a5119ce075f71p-6", + "-0x1.a5119ce075f70p-6" + ], + "reference_action": { + "lower": { + "numerator": "1484211577518530753479711259540859275670077436257414071960362293507", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + }, + "upper": { + "numerator": "371052894379632688369927814885214818917519359064353517990090573377", + "denominator": "28948022309329048855892746252171976963317496166410141009864396001978282409984" + } + }, + "absolute_term_scale_A_m2": { + "lower": { + "numerator": "21988655869632229892927092951710712664649694788827880021263441912966371146219245685", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + }, + "upper": { + "numerator": "21988655869632229892927092951710712664649694788827880021263441912966371146222270597", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + } + }, + "reference_center_uncertainty_A_m2": { + "numerator": "1", + "denominator": "231584178474632390847141970017375815706539969331281128078915168015826259279872" + }, + "conditional_absolute_allowance_A_m2": { + "numerator": "4127124175529036398471514008666122496426485121879688073949622025516919505898240457079", + "denominator": "16687398718132106313364251485331372341062108802898298460571753260613042345018566043834242826240" + }, + "conditional_relative_allowance": null, + "classification": "weak_absolute_only", + "rule": "abs(two_product_one_sum_action - reference_center) <= conditional_absolute_allowance", + "conditional_on_elementary_contract": true + }, + { + "carrier": "n", + "name": "potential_weak_gauge_negative", + "block": "potential", + "face": 1, + "direction_binary64_hex": [ + "-0x1.a5119ce075f70p-6", + "-0x1.a5119ce075f71p-6", + "-0x1.a5119ce075f70p-6" + ], + "reference_action": { + "lower": { + "numerator": "-2701534075189114989528375532853584603626491496536242760088125061349", + "denominator": "14474011154664524427946373126085988481658748083205070504932198000989141204992" + }, + "upper": { + "numerator": "-21612272601512919916227004262828676829011931972289942080705000490791", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + } + }, + "absolute_term_scale_A_m2": { + "lower": { + "numerator": "320186711917368525284945420930415250421315958130663561909644370314414376320722482115", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + }, + "upper": { + "numerator": "40023338989671065660618177616301906302664494766332945238705546289301797040094192687", + "denominator": "14474011154664524427946373126085988481658748083205070504932198000989141204992" + } + }, + "reference_center_uncertainty_A_m2": { + "numerator": "1", + "denominator": "231584178474632390847141970017375815706539969331281128078915168015826259279872" + }, + "conditional_absolute_allowance_A_m2": { + "numerator": "81838883556096829243693919442237199949967886049610168729463435236081400108909125663839", + "denominator": "33374797436264212626728502970662744682124217605796596921143506521226084690037132087668485652480" + }, + "conditional_relative_allowance": null, + "classification": "weak_absolute_only", + "rule": "abs(two_product_one_sum_action - reference_center) <= conditional_absolute_allowance", + "conditional_on_elementary_contract": true + }, + { + "carrier": "n", + "name": "density_weak_face_0_positive", + "block": "density", + "face": 0, + "direction_binary64_hex": [ + "0x1.a055690d9db80p+66", + "0x1.03208e4a920aap+65", + "0x0.0p+0" + ], + "reference_action": { + "lower": { + "numerator": "332134340679451141186298505893940327253303875071190350186137", + "denominator": "7067388259113537318333190002971674063309935587502475832486424805170479104" + }, + "upper": { + "numerator": "166067170339725570593149252946970163626651942337357901289783", + "denominator": "3533694129556768659166595001485837031654967793751237916243212402585239552" + } + }, + "absolute_term_scale_A_m2": { + "lower": { + "numerator": "35830914656744272846006394273237198000991600803811718796101621653221600186137", + "denominator": "7067388259113537318333190002971674063309935587502475832486424805170479104" + }, + "upper": { + "numerator": "17915457328372136423003197136618599000495800401905859398050815628373526289783", + "denominator": "3533694129556768659166595001485837031654967793751237916243212402585239552" + } + }, + "reference_center_uncertainty_A_m2": { + "numerator": "9603525452393429", + "denominator": "14134776518227074636666380005943348126619871175004951664972849610340958208" + }, + "conditional_absolute_allowance_A_m2": { + "numerator": "57900182845040149717993817622072950807658377686310439631770809000565709035693", + "denominator": "21219124753484225353704136511906143622159460452904127070836071345790916881584887242424320" + }, + "conditional_relative_allowance": null, + "classification": "weak_absolute_only", + "rule": "abs(two_product_one_sum_action - reference_center) <= conditional_absolute_allowance", + "conditional_on_elementary_contract": true + }, + { + "carrier": "n", + "name": "density_weak_face_0_positive", + "block": "density", + "face": 1, + "direction_binary64_hex": [ + "0x1.a055690d9db80p+66", + "0x1.03208e4a920aap+65", + "0x0.0p+0" + ], + "reference_action": { + "lower": { + "numerator": "-41584235140399279799391241412256305038511846091399144156770221163734472940757", + "denominator": "883423532389192164791648750371459257913741948437809479060803100646309888" + }, + "upper": { + "numerator": "-332673881123194238395129931298050440308094768731193153254161767030569081132627", + "denominator": "7067388259113537318333190002971674063309935587502475832486424805170479104" + } + }, + "absolute_term_scale_A_m2": { + "lower": { + "numerator": "332673881123194238395129931298050440308094768731193153254161767030569081132627", + "denominator": "7067388259113537318333190002971674063309935587502475832486424805170479104" + }, + "upper": { + "numerator": "41584235140399279799391241412256305038511846091399144156770221163734472940757", + "denominator": "883423532389192164791648750371459257913741948437809479060803100646309888" + } + }, + "reference_center_uncertainty_A_m2": { + "numerator": "2279306702393429", + "denominator": "14134776518227074636666380005943348126619871175004951664972849610340958208" + }, + "conditional_absolute_allowance_A_m2": { + "numerator": "1279395416911084678432971165050636926977250090967346174844523315573946318929147", + "denominator": "63657374260452676061112409535718430866478381358712381212508214037372750644754661727272960" + }, + "conditional_relative_allowance": { + "numerator": "561309022417927076780081583404270712182590365999837186342627343", + "denominator": "1314636565135415328655725093283907361434323873426252063907064066436449517328370" + }, + "classification": "resolved", + "rule": "abs(two_product_one_sum_action - reference_center) <= conditional_absolute_allowance", + "conditional_on_elementary_contract": true + }, + { + "carrier": "n", + "name": "density_weak_face_0_negative", + "block": "density", + "face": 0, + "direction_binary64_hex": [ + "-0x1.a055690d9db80p+66", + "-0x1.03208e4a920aap+65", + "0x0.0p+0" + ], + "reference_action": { + "lower": { + "numerator": "-166067170339725570593149252946970163626651942337357901289783", + "denominator": "3533694129556768659166595001485837031654967793751237916243212402585239552" + }, + "upper": { + "numerator": "-332134340679451141186298505893940327253303875071190350186137", + "denominator": "7067388259113537318333190002971674063309935587502475832486424805170479104" + } + }, + "absolute_term_scale_A_m2": { + "lower": { + "numerator": "35830914656744272846006394273237198000991600803811718796101621653221600186137", + "denominator": "7067388259113537318333190002971674063309935587502475832486424805170479104" + }, + "upper": { + "numerator": "17915457328372136423003197136618599000495800401905859398050815628373526289783", + "denominator": "3533694129556768659166595001485837031654967793751237916243212402585239552" + } + }, + "reference_center_uncertainty_A_m2": { + "numerator": "9603525452393429", + "denominator": "14134776518227074636666380005943348126619871175004951664972849610340958208" + }, + "conditional_absolute_allowance_A_m2": { + "numerator": "57900182845040149717993817622072950807658377686310439631770809000565709035693", + "denominator": "21219124753484225353704136511906143622159460452904127070836071345790916881584887242424320" + }, + "conditional_relative_allowance": null, + "classification": "weak_absolute_only", + "rule": "abs(two_product_one_sum_action - reference_center) <= conditional_absolute_allowance", + "conditional_on_elementary_contract": true + }, + { + "carrier": "n", + "name": "density_weak_face_0_negative", + "block": "density", + "face": 1, + "direction_binary64_hex": [ + "-0x1.a055690d9db80p+66", + "-0x1.03208e4a920aap+65", + "0x0.0p+0" + ], + "reference_action": { + "lower": { + "numerator": "332673881123194238395129931298050440308094768731193153254161767030569081132627", + "denominator": "7067388259113537318333190002971674063309935587502475832486424805170479104" + }, + "upper": { + "numerator": "41584235140399279799391241412256305038511846091399144156770221163734472940757", + "denominator": "883423532389192164791648750371459257913741948437809479060803100646309888" + } + }, + "absolute_term_scale_A_m2": { + "lower": { + "numerator": "332673881123194238395129931298050440308094768731193153254161767030569081132627", + "denominator": "7067388259113537318333190002971674063309935587502475832486424805170479104" + }, + "upper": { + "numerator": "41584235140399279799391241412256305038511846091399144156770221163734472940757", + "denominator": "883423532389192164791648750371459257913741948437809479060803100646309888" + } + }, + "reference_center_uncertainty_A_m2": { + "numerator": "2279306702393429", + "denominator": "14134776518227074636666380005943348126619871175004951664972849610340958208" + }, + "conditional_absolute_allowance_A_m2": { + "numerator": "1279395416911084678432971165050636926977250090967346174844523315573946318929147", + "denominator": "63657374260452676061112409535718430866478381358712381212508214037372750644754661727272960" + }, + "conditional_relative_allowance": { + "numerator": "561309022417927076780081583404270712182590365999837186342627343", + "denominator": "1314636565135415328655725093283907361434323873426252063907064066436449517328370" + }, + "classification": "resolved", + "rule": "abs(two_product_one_sum_action - reference_center) <= conditional_absolute_allowance", + "conditional_on_elementary_contract": true + }, + { + "carrier": "n", + "name": "density_weak_face_1_positive", + "block": "density", + "face": 0, + "direction_binary64_hex": [ + "0x0.0p+0", + "0x1.70a0f5040e504p+71", + "0x1.dbca8333ecc24p+74" + ], + "reference_action": { + "lower": { + "numerator": "12743072073082331812638496305879402523468304972750152198537073230743408203125", + "denominator": "55213970774324510299478046898216203619608871777363092441300193790394368" + }, + "upper": { + "numerator": "6371536036541165906319248152939701261734152486375076099268537425994873046875", + "denominator": "27606985387162255149739023449108101809804435888681546220650096895197184" + } + }, + "absolute_term_scale_A_m2": { + "lower": { + "numerator": "12743072073082331812638496305879402523468304972750152198537073230743408203125", + "denominator": "55213970774324510299478046898216203619608871777363092441300193790394368" + }, + "upper": { + "numerator": "6371536036541165906319248152939701261734152486375076099268537425994873046875", + "denominator": "27606985387162255149739023449108101809804435888681546220650096895197184" + } + }, + "reference_center_uncertainty_A_m2": { + "numerator": "1621246337890625", + "denominator": "110427941548649020598956093796432407239217743554726184882600387580788736" + }, + "conditional_absolute_allowance_A_m2": { + "numerator": "3257408321561773590359787494771931594502887637855788797458276538848876953125", + "denominator": "33154882427319102115162713299853349409624156957662698548181361477798307627476386316288" + }, + "conditional_relative_allowance": { + "numerator": "10046000553499877365544425094464626304816058552212563512010617", + "denominator": "23599002528123998608810200396859031919730054489253042112776052752271305245490" + }, + "classification": "resolved", + "rule": "abs(two_product_one_sum_action - reference_center) <= conditional_absolute_allowance", + "conditional_on_elementary_contract": true + }, + { + "carrier": "n", + "name": "density_weak_face_1_positive", + "block": "density", + "face": 1, + "direction_binary64_hex": [ + "0x0.0p+0", + "0x1.70a0f5040e504p+71", + "0x1.dbca8333ecc24p+74" + ], + "reference_action": { + "lower": { + "numerator": "-15682001270336566866225381868929738684354573537628885339289", + "denominator": "215679573337205118357336120696157045389097155380324579848828881993728" + }, + "upper": { + "numerator": "-4014592325206161117753697758446013103194770807271338459187063", + "denominator": "55213970774324510299478046898216203619608871777363092441300193790394368" + } + }, + "absolute_term_scale_A_m2": { + "lower": { + "numerator": "473254705842341451339519778051658409613051176105682526811005175248200421501391", + "denominator": "55213970774324510299478046898216203619608871777363092441300193790394368" + }, + "upper": { + "numerator": "59156838230292681417439972256457301201631397013210315851375649201232076146539", + "denominator": "6901746346790563787434755862277025452451108972170386555162524223799296" + } + }, + "reference_center_uncertainty_A_m2": { + "numerator": "18361656187670921", + "denominator": "110427941548649020598956093796432407239217743554726184882600387580788736" + }, + "conditional_absolute_allowance_A_m2": { + "numerator": "386520649671101335059899758139476559121858647344159380650024698642129948070971", + "denominator": "99464647281957306345488139899560048228872470872988095644544084433394922882429158948864" + }, + "conditional_relative_allowance": null, + "classification": "weak_absolute_only", + "rule": "abs(two_product_one_sum_action - reference_center) <= conditional_absolute_allowance", + "conditional_on_elementary_contract": true + }, + { + "carrier": "n", + "name": "density_weak_face_1_negative", + "block": "density", + "face": 0, + "direction_binary64_hex": [ + "0x0.0p+0", + "-0x1.70a0f5040e504p+71", + "-0x1.dbca8333ecc24p+74" + ], + "reference_action": { + "lower": { + "numerator": "-6371536036541165906319248152939701261734152486375076099268537425994873046875", + "denominator": "27606985387162255149739023449108101809804435888681546220650096895197184" + }, + "upper": { + "numerator": "-12743072073082331812638496305879402523468304972750152198537073230743408203125", + "denominator": "55213970774324510299478046898216203619608871777363092441300193790394368" + } + }, + "absolute_term_scale_A_m2": { + "lower": { + "numerator": "12743072073082331812638496305879402523468304972750152198537073230743408203125", + "denominator": "55213970774324510299478046898216203619608871777363092441300193790394368" + }, + "upper": { + "numerator": "6371536036541165906319248152939701261734152486375076099268537425994873046875", + "denominator": "27606985387162255149739023449108101809804435888681546220650096895197184" + } + }, + "reference_center_uncertainty_A_m2": { + "numerator": "1621246337890625", + "denominator": "110427941548649020598956093796432407239217743554726184882600387580788736" + }, + "conditional_absolute_allowance_A_m2": { + "numerator": "3257408321561773590359787494771931594502887637855788797458276538848876953125", + "denominator": "33154882427319102115162713299853349409624156957662698548181361477798307627476386316288" + }, + "conditional_relative_allowance": { + "numerator": "10046000553499877365544425094464626304816058552212563512010617", + "denominator": "23599002528123998608810200396859031919730054489253042112776052752271305245490" + }, + "classification": "resolved", + "rule": "abs(two_product_one_sum_action - reference_center) <= conditional_absolute_allowance", + "conditional_on_elementary_contract": true + }, + { + "carrier": "n", + "name": "density_weak_face_1_negative", + "block": "density", + "face": 1, + "direction_binary64_hex": [ + "0x0.0p+0", + "-0x1.70a0f5040e504p+71", + "-0x1.dbca8333ecc24p+74" + ], + "reference_action": { + "lower": { + "numerator": "4014592325206161117753697758446013103194770807271338459187063", + "denominator": "55213970774324510299478046898216203619608871777363092441300193790394368" + }, + "upper": { + "numerator": "15682001270336566866225381868929738684354573537628885339289", + "denominator": "215679573337205118357336120696157045389097155380324579848828881993728" + } + }, + "absolute_term_scale_A_m2": { + "lower": { + "numerator": "473254705842341451339519778051658409613051176105682526811005175248200421501391", + "denominator": "55213970774324510299478046898216203619608871777363092441300193790394368" + }, + "upper": { + "numerator": "59156838230292681417439972256457301201631397013210315851375649201232076146539", + "denominator": "6901746346790563787434755862277025452451108972170386555162524223799296" + } + }, + "reference_center_uncertainty_A_m2": { + "numerator": "18361656187670921", + "denominator": "110427941548649020598956093796432407239217743554726184882600387580788736" + }, + "conditional_absolute_allowance_A_m2": { + "numerator": "386520649671101335059899758139476559121858647344159380650024698642129948070971", + "denominator": "99464647281957306345488139899560048228872470872988095644544084433394922882429158948864" + }, + "conditional_relative_allowance": null, + "classification": "weak_absolute_only", + "rule": "abs(two_product_one_sum_action - reference_center) <= conditional_absolute_allowance", + "conditional_on_elementary_contract": true + }, + { + "carrier": "p", + "name": "density_axis_0_positive", + "block": "density", + "face": 0, + "direction_binary64_hex": [ + "0x1.a055690d9db80p+66", + "0x0.0p+0", + "0x0.0p+0" + ], + "reference_action": { + "lower": { + "numerator": "449755484932317593387241046089861265534175469626475959948367290496826171875", + "denominator": "55213970774324510299478046898216203619608871777363092441300193790394368" + }, + "upper": { + "numerator": "224877742466158796693620523044930632767087734813237979974183673858642578125", + "denominator": "27606985387162255149739023449108101809804435888681546220650096895197184" + } + }, + "absolute_term_scale_A_m2": { + "lower": { + "numerator": "449755484932317593387241046089861265534175469626475959948367290496826171875", + "denominator": "55213970774324510299478046898216203619608871777363092441300193790394368" + }, + "upper": { + "numerator": "224877742466158796693620523044930632767087734813237979974183673858642578125", + "denominator": "27606985387162255149739023449108101809804435888681546220650096895197184" + } + }, + "reference_center_uncertainty_A_m2": { + "numerator": "57220458984375", + "denominator": "110427941548649020598956093796432407239217743554726184882600387580788736" + }, + "conditional_absolute_allowance_A_m2": { + "numerator": "114967352525709656130345440991950526864807798983145486969115642547607421875", + "denominator": "33154882427319102115162713299853349409624156957662698548181361477798307627476386316288" + }, + "conditional_relative_allowance": { + "numerator": "10046000553499877365544425094464626304816058552212563512010617", + "denominator": "23599002528123998608810200396859031919730054489253042112776052752271305245490" + }, + "classification": "resolved", + "rule": "abs(two_product_one_sum_action - reference_center) <= conditional_absolute_allowance", + "conditional_on_elementary_contract": true + }, + { + "carrier": "p", + "name": "density_axis_0_positive", + "block": "density", + "face": 1, + "direction_binary64_hex": [ + "0x1.a055690d9db80p+66", + "0x0.0p+0", + "0x0.0p+0" + ], + "reference_action": { + "lower": { + "numerator": "0", + "denominator": "1" + }, + "upper": { + "numerator": "0", + "denominator": "1" + } + }, + "absolute_term_scale_A_m2": { + "lower": { + "numerator": "0", + "denominator": "1" + }, + "upper": { + "numerator": "0", + "denominator": "1" + } + }, + "reference_center_uncertainty_A_m2": { + "numerator": "0", + "denominator": "1" + }, + "conditional_absolute_allowance_A_m2": { + "numerator": "0", + "denominator": "1" + }, + "conditional_relative_allowance": null, + "classification": "exact_zero", + "rule": "exact equality to zero", + "conditional_on_elementary_contract": false + }, + { + "carrier": "p", + "name": "density_axis_0_negative", + "block": "density", + "face": 0, + "direction_binary64_hex": [ + "-0x1.a055690d9db80p+66", + "0x0.0p+0", + "0x0.0p+0" + ], + "reference_action": { + "lower": { + "numerator": "-224877742466158796693620523044930632767087734813237979974183673858642578125", + "denominator": "27606985387162255149739023449108101809804435888681546220650096895197184" + }, + "upper": { + "numerator": "-449755484932317593387241046089861265534175469626475959948367290496826171875", + "denominator": "55213970774324510299478046898216203619608871777363092441300193790394368" + } + }, + "absolute_term_scale_A_m2": { + "lower": { + "numerator": "449755484932317593387241046089861265534175469626475959948367290496826171875", + "denominator": "55213970774324510299478046898216203619608871777363092441300193790394368" + }, + "upper": { + "numerator": "224877742466158796693620523044930632767087734813237979974183673858642578125", + "denominator": "27606985387162255149739023449108101809804435888681546220650096895197184" + } + }, + "reference_center_uncertainty_A_m2": { + "numerator": "57220458984375", + "denominator": "110427941548649020598956093796432407239217743554726184882600387580788736" + }, + "conditional_absolute_allowance_A_m2": { + "numerator": "114967352525709656130345440991950526864807798983145486969115642547607421875", + "denominator": "33154882427319102115162713299853349409624156957662698548181361477798307627476386316288" + }, + "conditional_relative_allowance": { + "numerator": "10046000553499877365544425094464626304816058552212563512010617", + "denominator": "23599002528123998608810200396859031919730054489253042112776052752271305245490" + }, + "classification": "resolved", + "rule": "abs(two_product_one_sum_action - reference_center) <= conditional_absolute_allowance", + "conditional_on_elementary_contract": true + }, + { + "carrier": "p", + "name": "density_axis_0_negative", + "block": "density", + "face": 1, + "direction_binary64_hex": [ + "-0x1.a055690d9db80p+66", + "0x0.0p+0", + "0x0.0p+0" + ], + "reference_action": { + "lower": { + "numerator": "0", + "denominator": "1" + }, + "upper": { + "numerator": "0", + "denominator": "1" + } + }, + "absolute_term_scale_A_m2": { + "lower": { + "numerator": "0", + "denominator": "1" + }, + "upper": { + "numerator": "0", + "denominator": "1" + } + }, + "reference_center_uncertainty_A_m2": { + "numerator": "0", + "denominator": "1" + }, + "conditional_absolute_allowance_A_m2": { + "numerator": "0", + "denominator": "1" + }, + "conditional_relative_allowance": null, + "classification": "exact_zero", + "rule": "exact equality to zero", + "conditional_on_elementary_contract": false + }, + { + "carrier": "p", + "name": "density_axis_1_positive", + "block": "density", + "face": 0, + "direction_binary64_hex": [ + "0x0.0p+0", + "0x1.70a0f5040e504p+71", + "0x0.0p+0" + ], + "reference_action": { + "lower": { + "numerator": "-991415281843510144426798357900981389729463889107769622766213893890380859375", + "denominator": "13803492693581127574869511724554050904902217944340773110325048447598592" + }, + "upper": { + "numerator": "-3965661127374040577707193431603925558917855556431078491064853954315185546875", + "denominator": "55213970774324510299478046898216203619608871777363092441300193790394368" + } + }, + "absolute_term_scale_A_m2": { + "lower": { + "numerator": "3965661127374040577707193431603925558917855556431078491064853954315185546875", + "denominator": "55213970774324510299478046898216203619608871777363092441300193790394368" + }, + "upper": { + "numerator": "991415281843510144426798357900981389729463889107769622766213893890380859375", + "denominator": "13803492693581127574869511724554050904902217944340773110325048447598592" + } + }, + "reference_center_uncertainty_A_m2": { + "numerator": "1621246337890625", + "denominator": "110427941548649020598956093796432407239217743554726184882600387580788736" + }, + "conditional_absolute_allowance_A_m2": { + "numerator": "4648738513049971011117545627727011288495967113323106586185941905975341796875", + "denominator": "99464647281957306345488139899560048228872470872988095644544084433394922882429158948864" + }, + "conditional_relative_allowance": { + "numerator": "2048132619773061513846046858882133860859641685638609164586769", + "denominator": "3147446250475666548123765070228254163815519485076862600899001866095206014630" + }, + "classification": "resolved", + "rule": "abs(two_product_one_sum_action - reference_center) <= conditional_absolute_allowance", + "conditional_on_elementary_contract": true + }, + { + "carrier": "p", + "name": "density_axis_1_positive", + "block": "density", + "face": 1, + "direction_binary64_hex": [ + "0x0.0p+0", + "0x1.70a0f5040e504p+71", + "0x0.0p+0" + ], + "reference_action": { + "lower": { + "numerator": "22916477721316683504383279914307482511292986515701377284103818607330322265625", + "denominator": "55213970774324510299478046898216203619608871777363092441300193790394368" + }, + "upper": { + "numerator": "11458238860658341752191639957153741255646493257850688642051910114288330078125", + "denominator": "27606985387162255149739023449108101809804435888681546220650096895197184" + } + }, + "absolute_term_scale_A_m2": { + "lower": { + "numerator": "22916477721316683504383279914307482511292986515701377284103818607330322265625", + "denominator": "55213970774324510299478046898216203619608871777363092441300193790394368" + }, + "upper": { + "numerator": "11458238860658341752191639957153741255646493257850688642051910114288330078125", + "denominator": "27606985387162255149739023449108101809804435888681546220650096895197184" + } + }, + "reference_center_uncertainty_A_m2": { + "numerator": "1621246337890625", + "denominator": "110427941548649020598956093796432407239217743554726184882600387580788736" + }, + "conditional_absolute_allowance_A_m2": { + "numerator": "19806671904014571600549875765787885133294847262882197935721527767181396484375", + "denominator": "99464647281957306345488139899560048228872470872988095644544084433394922882429158948864" + }, + "conditional_relative_allowance": { + "numerator": "12216941646131754959187168547639292612664575155014096225086551", + "denominator": "25463530893311723346811159623963802582281501594100833185375672098572525117558" + }, + "classification": "resolved", + "rule": "abs(two_product_one_sum_action - reference_center) <= conditional_absolute_allowance", + "conditional_on_elementary_contract": true + }, + { + "carrier": "p", + "name": "density_axis_1_negative", + "block": "density", + "face": 0, + "direction_binary64_hex": [ + "0x0.0p+0", + "-0x1.70a0f5040e504p+71", + "0x0.0p+0" + ], + "reference_action": { + "lower": { + "numerator": "3965661127374040577707193431603925558917855556431078491064853954315185546875", + "denominator": "55213970774324510299478046898216203619608871777363092441300193790394368" + }, + "upper": { + "numerator": "991415281843510144426798357900981389729463889107769622766213893890380859375", + "denominator": "13803492693581127574869511724554050904902217944340773110325048447598592" + } + }, + "absolute_term_scale_A_m2": { + "lower": { + "numerator": "3965661127374040577707193431603925558917855556431078491064853954315185546875", + "denominator": "55213970774324510299478046898216203619608871777363092441300193790394368" + }, + "upper": { + "numerator": "991415281843510144426798357900981389729463889107769622766213893890380859375", + "denominator": "13803492693581127574869511724554050904902217944340773110325048447598592" + } + }, + "reference_center_uncertainty_A_m2": { + "numerator": "1621246337890625", + "denominator": "110427941548649020598956093796432407239217743554726184882600387580788736" + }, + "conditional_absolute_allowance_A_m2": { + "numerator": "4648738513049971011117545627727011288495967113323106586185941905975341796875", + "denominator": "99464647281957306345488139899560048228872470872988095644544084433394922882429158948864" + }, + "conditional_relative_allowance": { + "numerator": "2048132619773061513846046858882133860859641685638609164586769", + "denominator": "3147446250475666548123765070228254163815519485076862600899001866095206014630" + }, + "classification": "resolved", + "rule": "abs(two_product_one_sum_action - reference_center) <= conditional_absolute_allowance", + "conditional_on_elementary_contract": true + }, + { + "carrier": "p", + "name": "density_axis_1_negative", + "block": "density", + "face": 1, + "direction_binary64_hex": [ + "0x0.0p+0", + "-0x1.70a0f5040e504p+71", + "0x0.0p+0" + ], + "reference_action": { + "lower": { + "numerator": "-11458238860658341752191639957153741255646493257850688642051910114288330078125", + "denominator": "27606985387162255149739023449108101809804435888681546220650096895197184" + }, + "upper": { + "numerator": "-22916477721316683504383279914307482511292986515701377284103818607330322265625", + "denominator": "55213970774324510299478046898216203619608871777363092441300193790394368" + } + }, + "absolute_term_scale_A_m2": { + "lower": { + "numerator": "22916477721316683504383279914307482511292986515701377284103818607330322265625", + "denominator": "55213970774324510299478046898216203619608871777363092441300193790394368" + }, + "upper": { + "numerator": "11458238860658341752191639957153741255646493257850688642051910114288330078125", + "denominator": "27606985387162255149739023449108101809804435888681546220650096895197184" + } + }, + "reference_center_uncertainty_A_m2": { + "numerator": "1621246337890625", + "denominator": "110427941548649020598956093796432407239217743554726184882600387580788736" + }, + "conditional_absolute_allowance_A_m2": { + "numerator": "19806671904014571600549875765787885133294847262882197935721527767181396484375", + "denominator": "99464647281957306345488139899560048228872470872988095644544084433394922882429158948864" + }, + "conditional_relative_allowance": { + "numerator": "12216941646131754959187168547639292612664575155014096225086551", + "denominator": "25463530893311723346811159623963802582281501594100833185375672098572525117558" + }, + "classification": "resolved", + "rule": "abs(two_product_one_sum_action - reference_center) <= conditional_absolute_allowance", + "conditional_on_elementary_contract": true + }, + { + "carrier": "p", + "name": "density_axis_2_positive", + "block": "density", + "face": 0, + "direction_binary64_hex": [ + "0x0.0p+0", + "0x0.0p+0", + "0x1.0e9deaaf401e0p+66" + ], + "reference_action": { + "lower": { + "numerator": "0", + "denominator": "1" + }, + "upper": { + "numerator": "0", + "denominator": "1" + } + }, + "absolute_term_scale_A_m2": { + "lower": { + "numerator": "0", + "denominator": "1" + }, + "upper": { + "numerator": "0", + "denominator": "1" + } + }, + "reference_center_uncertainty_A_m2": { + "numerator": "0", + "denominator": "1" + }, + "conditional_absolute_allowance_A_m2": { + "numerator": "0", + "denominator": "1" + }, + "conditional_relative_allowance": null, + "classification": "exact_zero", + "rule": "exact equality to zero", + "conditional_on_elementary_contract": false + }, + { + "carrier": "p", + "name": "density_axis_2_positive", + "block": "density", + "face": 1, + "direction_binary64_hex": [ + "0x0.0p+0", + "0x0.0p+0", + "0x1.0e9deaaf401e0p+66" + ], + "reference_action": { + "lower": { + "numerator": "-2714254930566370111589760592213964936368118889340607289739009426116943359375", + "denominator": "27606985387162255149739023449108101809804435888681546220650096895197184" + }, + "upper": { + "numerator": "-21714039444530960892718084737711719490944951114724858317912075260162353515625", + "denominator": "220855883097298041197912187592864814478435487109452369765200775161577472" + } + }, + "absolute_term_scale_A_m2": { + "lower": { + "numerator": "21714039444530960892718084737711719490944951114724858317912075260162353515625", + "denominator": "220855883097298041197912187592864814478435487109452369765200775161577472" + }, + "upper": { + "numerator": "2714254930566370111589760592213964936368118889340607289739009426116943359375", + "denominator": "27606985387162255149739023449108101809804435888681546220650096895197184" + } + }, + "reference_center_uncertainty_A_m2": { + "numerator": "148773193359375", + "denominator": "441711766194596082395824375185729628956870974218904739530401550323154944" + }, + "conditional_absolute_allowance_A_m2": { + "numerator": "5567182381769601439011429278759398848246516996763521898234676711273193359375", + "denominator": "132619529709276408460650853199413397638496627830650794192725445911193230509905545265152" + }, + "conditional_relative_allowance": { + "numerator": "561309022417927076780081583404270712182590365999837186342627343", + "denominator": "1314636565135415328655725093283907361434323873426252063907064066436449517328370" + }, + "classification": "resolved", + "rule": "abs(two_product_one_sum_action - reference_center) <= conditional_absolute_allowance", + "conditional_on_elementary_contract": true + }, + { + "carrier": "p", + "name": "density_axis_2_negative", + "block": "density", + "face": 0, + "direction_binary64_hex": [ + "0x0.0p+0", + "0x0.0p+0", + "-0x1.0e9deaaf401e0p+66" + ], + "reference_action": { + "lower": { + "numerator": "0", + "denominator": "1" + }, + "upper": { + "numerator": "0", + "denominator": "1" + } + }, + "absolute_term_scale_A_m2": { + "lower": { + "numerator": "0", + "denominator": "1" + }, + "upper": { + "numerator": "0", + "denominator": "1" + } + }, + "reference_center_uncertainty_A_m2": { + "numerator": "0", + "denominator": "1" + }, + "conditional_absolute_allowance_A_m2": { + "numerator": "0", + "denominator": "1" + }, + "conditional_relative_allowance": null, + "classification": "exact_zero", + "rule": "exact equality to zero", + "conditional_on_elementary_contract": false + }, + { + "carrier": "p", + "name": "density_axis_2_negative", + "block": "density", + "face": 1, + "direction_binary64_hex": [ + "0x0.0p+0", + "0x0.0p+0", + "-0x1.0e9deaaf401e0p+66" + ], + "reference_action": { + "lower": { + "numerator": "21714039444530960892718084737711719490944951114724858317912075260162353515625", + "denominator": "220855883097298041197912187592864814478435487109452369765200775161577472" + }, + "upper": { + "numerator": "2714254930566370111589760592213964936368118889340607289739009426116943359375", + "denominator": "27606985387162255149739023449108101809804435888681546220650096895197184" + } + }, + "absolute_term_scale_A_m2": { + "lower": { + "numerator": "21714039444530960892718084737711719490944951114724858317912075260162353515625", + "denominator": "220855883097298041197912187592864814478435487109452369765200775161577472" + }, + "upper": { + "numerator": "2714254930566370111589760592213964936368118889340607289739009426116943359375", + "denominator": "27606985387162255149739023449108101809804435888681546220650096895197184" + } + }, + "reference_center_uncertainty_A_m2": { + "numerator": "148773193359375", + "denominator": "441711766194596082395824375185729628956870974218904739530401550323154944" + }, + "conditional_absolute_allowance_A_m2": { + "numerator": "5567182381769601439011429278759398848246516996763521898234676711273193359375", + "denominator": "132619529709276408460650853199413397638496627830650794192725445911193230509905545265152" + }, + "conditional_relative_allowance": { + "numerator": "561309022417927076780081583404270712182590365999837186342627343", + "denominator": "1314636565135415328655725093283907361434323873426252063907064066436449517328370" + }, + "classification": "resolved", + "rule": "abs(two_product_one_sum_action - reference_center) <= conditional_absolute_allowance", + "conditional_on_elementary_contract": true + }, + { + "carrier": "p", + "name": "density_alternating_positive", + "block": "density", + "face": 0, + "direction_binary64_hex": [ + "0x1.a055690d9db80p+66", + "-0x1.70a0f5040e504p+71", + "0x1.0e9deaaf401e0p+66" + ], + "reference_action": { + "lower": { + "numerator": "2207708306153179085547217238846893412226015513028777225506610622406005859375", + "denominator": "27606985387162255149739023449108101809804435888681546220650096895197184" + }, + "upper": { + "numerator": "2207708306153179085547217238846893412226015513028777225506611461639404296875", + "denominator": "27606985387162255149739023449108101809804435888681546220650096895197184" + } + }, + "absolute_term_scale_A_m2": { + "lower": { + "numerator": "2207708306153179085547217238846893412226015513028777225506610622406005859375", + "denominator": "27606985387162255149739023449108101809804435888681546220650096895197184" + }, + "upper": { + "numerator": "2207708306153179085547217238846893412226015513028777225506611461639404296875", + "denominator": "27606985387162255149739023449108101809804435888681546220650096895197184" + } + }, + "reference_center_uncertainty_A_m2": { + "numerator": "209808349609375", + "denominator": "13803492693581127574869511724554050904902217944340773110325048447598592" + }, + "conditional_absolute_allowance_A_m2": { + "numerator": "1248410142656774994877145487675715717272597627568135761773322208404541015625", + "denominator": "24866161820489326586372034974890012057218117718247023911136021108348730720607289737216" + }, + "conditional_relative_allowance": { + "numerator": "327263228436617624257074426721262820988707832481221381134305777", + "denominator": "521280385446534395903233005089385628686951146006002656637472646274272331478565" + }, + "classification": "resolved", + "rule": "abs(two_product_one_sum_action - reference_center) <= conditional_absolute_allowance", + "conditional_on_elementary_contract": true + }, + { + "carrier": "p", + "name": "density_alternating_positive", + "block": "density", + "face": 1, + "direction_binary64_hex": [ + "0x1.a055690d9db80p+66", + "-0x1.70a0f5040e504p+71", + "0x1.0e9deaaf401e0p+66" + ], + "reference_action": { + "lower": { + "numerator": "-3543123447806177965945350137341926548003653036797823982947729885101318359375", + "denominator": "6901746346790563787434755862277025452451108972170386555162524223799296" + }, + "upper": { + "numerator": "-113379950329797694910251204394941649536116897177530367454327349689483642578125", + "denominator": "220855883097298041197912187592864814478435487109452369765200775161577472" + } + }, + "absolute_term_scale_A_m2": { + "lower": { + "numerator": "113379950329797694910251204394941649536116897177530367454327349689483642578125", + "denominator": "220855883097298041197912187592864814478435487109452369765200775161577472" + }, + "upper": { + "numerator": "3543123447806177965945350137341926548003653036797823982947729885101318359375", + "denominator": "6901746346790563787434755862277025452451108972170386555162524223799296" + } + }, + "reference_center_uncertainty_A_m2": { + "numerator": "6633758544921875", + "denominator": "441711766194596082395824375185729628956870974218904739530401550323154944" + }, + "conditional_absolute_allowance_A_m2": { + "numerator": "95928234761367090719233790899429737077918940041819357437590141202545166015625", + "denominator": "397858589127829225381952559598240192915489883491952382578176337733579691529716635795456" + }, + "conditional_relative_allowance": { + "numerator": "125735055866419073147514114407700544982769913091613468180598149877", + "denominator": "267710838633430846265468135441764709045331394613480912568068711428887994675049430" + }, + "classification": "resolved", + "rule": "abs(two_product_one_sum_action - reference_center) <= conditional_absolute_allowance", + "conditional_on_elementary_contract": true + }, + { + "carrier": "p", + "name": "density_alternating_negative", + "block": "density", + "face": 0, + "direction_binary64_hex": [ + "-0x1.a055690d9db80p+66", + "0x1.70a0f5040e504p+71", + "-0x1.0e9deaaf401e0p+66" + ], + "reference_action": { + "lower": { + "numerator": "-2207708306153179085547217238846893412226015513028777225506611461639404296875", + "denominator": "27606985387162255149739023449108101809804435888681546220650096895197184" + }, + "upper": { + "numerator": "-2207708306153179085547217238846893412226015513028777225506610622406005859375", + "denominator": "27606985387162255149739023449108101809804435888681546220650096895197184" + } + }, + "absolute_term_scale_A_m2": { + "lower": { + "numerator": "2207708306153179085547217238846893412226015513028777225506610622406005859375", + "denominator": "27606985387162255149739023449108101809804435888681546220650096895197184" + }, + "upper": { + "numerator": "2207708306153179085547217238846893412226015513028777225506611461639404296875", + "denominator": "27606985387162255149739023449108101809804435888681546220650096895197184" + } + }, + "reference_center_uncertainty_A_m2": { + "numerator": "209808349609375", + "denominator": "13803492693581127574869511724554050904902217944340773110325048447598592" + }, + "conditional_absolute_allowance_A_m2": { + "numerator": "1248410142656774994877145487675715717272597627568135761773322208404541015625", + "denominator": "24866161820489326586372034974890012057218117718247023911136021108348730720607289737216" + }, + "conditional_relative_allowance": { + "numerator": "327263228436617624257074426721262820988707832481221381134305777", + "denominator": "521280385446534395903233005089385628686951146006002656637472646274272331478565" + }, + "classification": "resolved", + "rule": "abs(two_product_one_sum_action - reference_center) <= conditional_absolute_allowance", + "conditional_on_elementary_contract": true + }, + { + "carrier": "p", + "name": "density_alternating_negative", + "block": "density", + "face": 1, + "direction_binary64_hex": [ + "-0x1.a055690d9db80p+66", + "0x1.70a0f5040e504p+71", + "-0x1.0e9deaaf401e0p+66" + ], + "reference_action": { + "lower": { + "numerator": "113379950329797694910251204394941649536116897177530367454327349689483642578125", + "denominator": "220855883097298041197912187592864814478435487109452369765200775161577472" + }, + "upper": { + "numerator": "3543123447806177965945350137341926548003653036797823982947729885101318359375", + "denominator": "6901746346790563787434755862277025452451108972170386555162524223799296" + } + }, + "absolute_term_scale_A_m2": { + "lower": { + "numerator": "113379950329797694910251204394941649536116897177530367454327349689483642578125", + "denominator": "220855883097298041197912187592864814478435487109452369765200775161577472" + }, + "upper": { + "numerator": "3543123447806177965945350137341926548003653036797823982947729885101318359375", + "denominator": "6901746346790563787434755862277025452451108972170386555162524223799296" + } + }, + "reference_center_uncertainty_A_m2": { + "numerator": "6633758544921875", + "denominator": "441711766194596082395824375185729628956870974218904739530401550323154944" + }, + "conditional_absolute_allowance_A_m2": { + "numerator": "95928234761367090719233790899429737077918940041819357437590141202545166015625", + "denominator": "397858589127829225381952559598240192915489883491952382578176337733579691529716635795456" + }, + "conditional_relative_allowance": { + "numerator": "125735055866419073147514114407700544982769913091613468180598149877", + "denominator": "267710838633430846265468135441764709045331394613480912568068711428887994675049430" + }, + "classification": "resolved", + "rule": "abs(two_product_one_sum_action - reference_center) <= conditional_absolute_allowance", + "conditional_on_elementary_contract": true + }, + { + "carrier": "p", + "name": "potential_axis_0_positive", + "block": "potential", + "face": 0, + "direction_binary64_hex": [ + "0x1.a5119ce075f70p-6", + "0x0.0p+0", + "0x0.0p+0" + ], + "reference_action": { + "lower": { + "numerator": "1332844371413530301275754360932782858225352434827727000370496732160755301811741087", + "denominator": "28948022309329048855892746252171976963317496166410141009864396001978282409984" + }, + "upper": { + "numerator": "333211092853382575318938590233195714556338108706931750092624183040188825452964111", + "denominator": "7237005577332262213973186563042994240829374041602535252466099000494570602496" + } + }, + "absolute_term_scale_A_m2": { + "lower": { + "numerator": "1332844371413530301275754360932782858225352434827727000370496732160755301811741087", + "denominator": "28948022309329048855892746252171976963317496166410141009864396001978282409984" + }, + "upper": { + "numerator": "333211092853382575318938590233195714556338108706931750092624183040188825452964111", + "denominator": "7237005577332262213973186563042994240829374041602535252466099000494570602496" + } + }, + "reference_center_uncertainty_A_m2": { + "numerator": "115357", + "denominator": "57896044618658097711785492504343953926634992332820282019728792003956564819968" + }, + "conditional_absolute_allowance_A_m2": { + "numerator": "13410974080149631399156555241714592186953287087418074657387632352677455921695464623", + "denominator": "208592483976651328917053143566642154263276360036228730757146915757663029312732075547928035328" + }, + "conditional_relative_allowance": { + "numerator": "13410974080149631399156555241714592186953287087418074657387632352677455921695464623", + "denominator": "9604155863105338724744865396818663782927171987987032125548634655625861868895245790685624900844904" + }, + "classification": "resolved", + "rule": "abs(two_product_one_sum_action - reference_center) <= conditional_absolute_allowance", + "conditional_on_elementary_contract": true + }, + { + "carrier": "p", + "name": "potential_axis_0_positive", + "block": "potential", + "face": 1, + "direction_binary64_hex": [ + "0x1.a5119ce075f70p-6", + "0x0.0p+0", + "0x0.0p+0" + ], + "reference_action": { + "lower": { + "numerator": "0", + "denominator": "1" + }, + "upper": { + "numerator": "0", + "denominator": "1" + } + }, + "absolute_term_scale_A_m2": { + "lower": { + "numerator": "0", + "denominator": "1" + }, + "upper": { + "numerator": "0", + "denominator": "1" + } + }, + "reference_center_uncertainty_A_m2": { + "numerator": "0", + "denominator": "1" + }, + "conditional_absolute_allowance_A_m2": { + "numerator": "0", + "denominator": "1" + }, + "conditional_relative_allowance": null, + "classification": "exact_zero", + "rule": "exact equality to zero", + "conditional_on_elementary_contract": false + }, + { + "carrier": "p", + "name": "potential_axis_0_negative", + "block": "potential", + "face": 0, + "direction_binary64_hex": [ + "-0x1.a5119ce075f70p-6", + "0x0.0p+0", + "0x0.0p+0" + ], + "reference_action": { + "lower": { + "numerator": "-333211092853382575318938590233195714556338108706931750092624183040188825452964111", + "denominator": "7237005577332262213973186563042994240829374041602535252466099000494570602496" + }, + "upper": { + "numerator": "-1332844371413530301275754360932782858225352434827727000370496732160755301811741087", + "denominator": "28948022309329048855892746252171976963317496166410141009864396001978282409984" + } + }, + "absolute_term_scale_A_m2": { + "lower": { + "numerator": "1332844371413530301275754360932782858225352434827727000370496732160755301811741087", + "denominator": "28948022309329048855892746252171976963317496166410141009864396001978282409984" + }, + "upper": { + "numerator": "333211092853382575318938590233195714556338108706931750092624183040188825452964111", + "denominator": "7237005577332262213973186563042994240829374041602535252466099000494570602496" + } + }, + "reference_center_uncertainty_A_m2": { + "numerator": "115357", + "denominator": "57896044618658097711785492504343953926634992332820282019728792003956564819968" + }, + "conditional_absolute_allowance_A_m2": { + "numerator": "13410974080149631399156555241714592186953287087418074657387632352677455921695464623", + "denominator": "208592483976651328917053143566642154263276360036228730757146915757663029312732075547928035328" + }, + "conditional_relative_allowance": { + "numerator": "13410974080149631399156555241714592186953287087418074657387632352677455921695464623", + "denominator": "9604155863105338724744865396818663782927171987987032125548634655625861868895245790685624900844904" + }, + "classification": "resolved", + "rule": "abs(two_product_one_sum_action - reference_center) <= conditional_absolute_allowance", + "conditional_on_elementary_contract": true + }, + { + "carrier": "p", + "name": "potential_axis_0_negative", + "block": "potential", + "face": 1, + "direction_binary64_hex": [ + "-0x1.a5119ce075f70p-6", + "0x0.0p+0", + "0x0.0p+0" + ], + "reference_action": { + "lower": { + "numerator": "0", + "denominator": "1" + }, + "upper": { + "numerator": "0", + "denominator": "1" + } + }, + "absolute_term_scale_A_m2": { + "lower": { + "numerator": "0", + "denominator": "1" + }, + "upper": { + "numerator": "0", + "denominator": "1" + } + }, + "reference_center_uncertainty_A_m2": { + "numerator": "0", + "denominator": "1" + }, + "conditional_absolute_allowance_A_m2": { + "numerator": "0", + "denominator": "1" + }, + "conditional_relative_allowance": null, + "classification": "exact_zero", + "rule": "exact equality to zero", + "conditional_on_elementary_contract": false + }, + { + "carrier": "p", + "name": "potential_axis_1_positive", + "block": "potential", + "face": 0, + "direction_binary64_hex": [ + "0x0.0p+0", + "0x1.a5119ce075f70p-6", + "0x0.0p+0" + ], + "reference_action": { + "lower": { + "numerator": "-333211092853382575318938590233195714556338108706931750092624183040188825452964111", + "denominator": "7237005577332262213973186563042994240829374041602535252466099000494570602496" + }, + "upper": { + "numerator": "-1332844371413530301275754360932782858225352434827727000370496732160755301811741087", + "denominator": "28948022309329048855892746252171976963317496166410141009864396001978282409984" + } + }, + "absolute_term_scale_A_m2": { + "lower": { + "numerator": "1332844371413530301275754360932782858225352434827727000370496732160755301811741087", + "denominator": "28948022309329048855892746252171976963317496166410141009864396001978282409984" + }, + "upper": { + "numerator": "333211092853382575318938590233195714556338108706931750092624183040188825452964111", + "denominator": "7237005577332262213973186563042994240829374041602535252466099000494570602496" + } + }, + "reference_center_uncertainty_A_m2": { + "numerator": "115357", + "denominator": "57896044618658097711785492504343953926634992332820282019728792003956564819968" + }, + "conditional_absolute_allowance_A_m2": { + "numerator": "13410974080149631399156555241714592186953287087418074657387632352677455921695464623", + "denominator": "208592483976651328917053143566642154263276360036228730757146915757663029312732075547928035328" + }, + "conditional_relative_allowance": { + "numerator": "13410974080149631399156555241714592186953287087418074657387632352677455921695464623", + "denominator": "9604155863105338724744865396818663782927171987987032125548634655625861868895245790685624900844904" + }, + "classification": "resolved", + "rule": "abs(two_product_one_sum_action - reference_center) <= conditional_absolute_allowance", + "conditional_on_elementary_contract": true + }, + { + "carrier": "p", + "name": "potential_axis_1_positive", + "block": "potential", + "face": 1, + "direction_binary64_hex": [ + "0x0.0p+0", + "0x1.a5119ce075f70p-6", + "0x0.0p+0" + ], + "reference_action": { + "lower": { + "numerator": "36282940566398922652971883312330004180446133785829138954046637565391250837184005571", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + }, + "upper": { + "numerator": "36282940566398922652971883312330004180446133785829138954046637565391250837210874353", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + } + }, + "absolute_term_scale_A_m2": { + "lower": { + "numerator": "36282940566398922652971883312330004180446133785829138954046637565391250837184005571", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + }, + "upper": { + "numerator": "36282940566398922652971883312330004180446133785829138954046637565391250837210874353", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + } + }, + "reference_center_uncertainty_A_m2": { + "numerator": "13434391", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + }, + "conditional_absolute_allowance_A_m2": { + "numerator": "144494101647615953508496244314909593522624025179911213415562414545218411778216242579", + "denominator": "417184967953302657834106287133284308526552720072457461514293831515326058625464151095856070656" + }, + "conditional_relative_allowance": { + "numerator": "144494101647615953508496244314909593522624025179911213415562414545218411778216242579", + "denominator": "130723070091792003886619194380167799388613882968229278732925099133503787491355965359075208128822116" + }, + "classification": "resolved", + "rule": "abs(two_product_one_sum_action - reference_center) <= conditional_absolute_allowance", + "conditional_on_elementary_contract": true + }, + { + "carrier": "p", + "name": "potential_axis_1_negative", + "block": "potential", + "face": 0, + "direction_binary64_hex": [ + "0x0.0p+0", + "-0x1.a5119ce075f70p-6", + "0x0.0p+0" + ], + "reference_action": { + "lower": { + "numerator": "1332844371413530301275754360932782858225352434827727000370496732160755301811741087", + "denominator": "28948022309329048855892746252171976963317496166410141009864396001978282409984" + }, + "upper": { + "numerator": "333211092853382575318938590233195714556338108706931750092624183040188825452964111", + "denominator": "7237005577332262213973186563042994240829374041602535252466099000494570602496" + } + }, + "absolute_term_scale_A_m2": { + "lower": { + "numerator": "1332844371413530301275754360932782858225352434827727000370496732160755301811741087", + "denominator": "28948022309329048855892746252171976963317496166410141009864396001978282409984" + }, + "upper": { + "numerator": "333211092853382575318938590233195714556338108706931750092624183040188825452964111", + "denominator": "7237005577332262213973186563042994240829374041602535252466099000494570602496" + } + }, + "reference_center_uncertainty_A_m2": { + "numerator": "115357", + "denominator": "57896044618658097711785492504343953926634992332820282019728792003956564819968" + }, + "conditional_absolute_allowance_A_m2": { + "numerator": "13410974080149631399156555241714592186953287087418074657387632352677455921695464623", + "denominator": "208592483976651328917053143566642154263276360036228730757146915757663029312732075547928035328" + }, + "conditional_relative_allowance": { + "numerator": "13410974080149631399156555241714592186953287087418074657387632352677455921695464623", + "denominator": "9604155863105338724744865396818663782927171987987032125548634655625861868895245790685624900844904" + }, + "classification": "resolved", + "rule": "abs(two_product_one_sum_action - reference_center) <= conditional_absolute_allowance", + "conditional_on_elementary_contract": true + }, + { + "carrier": "p", + "name": "potential_axis_1_negative", + "block": "potential", + "face": 1, + "direction_binary64_hex": [ + "0x0.0p+0", + "-0x1.a5119ce075f70p-6", + "0x0.0p+0" + ], + "reference_action": { + "lower": { + "numerator": "-36282940566398922652971883312330004180446133785829138954046637565391250837210874353", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + }, + "upper": { + "numerator": "-36282940566398922652971883312330004180446133785829138954046637565391250837184005571", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + } + }, + "absolute_term_scale_A_m2": { + "lower": { + "numerator": "36282940566398922652971883312330004180446133785829138954046637565391250837184005571", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + }, + "upper": { + "numerator": "36282940566398922652971883312330004180446133785829138954046637565391250837210874353", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + } + }, + "reference_center_uncertainty_A_m2": { + "numerator": "13434391", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + }, + "conditional_absolute_allowance_A_m2": { + "numerator": "144494101647615953508496244314909593522624025179911213415562414545218411778216242579", + "denominator": "417184967953302657834106287133284308526552720072457461514293831515326058625464151095856070656" + }, + "conditional_relative_allowance": { + "numerator": "144494101647615953508496244314909593522624025179911213415562414545218411778216242579", + "denominator": "130723070091792003886619194380167799388613882968229278732925099133503787491355965359075208128822116" + }, + "classification": "resolved", + "rule": "abs(two_product_one_sum_action - reference_center) <= conditional_absolute_allowance", + "conditional_on_elementary_contract": true + }, + { + "carrier": "p", + "name": "potential_axis_2_positive", + "block": "potential", + "face": 0, + "direction_binary64_hex": [ + "0x0.0p+0", + "0x0.0p+0", + "0x1.a5119ce075f70p-6" + ], + "reference_action": { + "lower": { + "numerator": "0", + "denominator": "1" + }, + "upper": { + "numerator": "0", + "denominator": "1" + } + }, + "absolute_term_scale_A_m2": { + "lower": { + "numerator": "0", + "denominator": "1" + }, + "upper": { + "numerator": "0", + "denominator": "1" + } + }, + "reference_center_uncertainty_A_m2": { + "numerator": "0", + "denominator": "1" + }, + "conditional_absolute_allowance_A_m2": { + "numerator": "0", + "denominator": "1" + }, + "conditional_relative_allowance": null, + "classification": "exact_zero", + "rule": "exact equality to zero", + "conditional_on_elementary_contract": false + }, + { + "carrier": "p", + "name": "potential_axis_2_positive", + "block": "potential", + "face": 1, + "direction_binary64_hex": [ + "0x0.0p+0", + "0x0.0p+0", + "0x1.a5119ce075f70p-6" + ], + "reference_action": { + "lower": { + "numerator": "-36282940566398922652971883312330004180446133785829138954046637565391250837210874353", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + }, + "upper": { + "numerator": "-36282940566398922652971883312330004180446133785829138954046637565391250837184005571", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + } + }, + "absolute_term_scale_A_m2": { + "lower": { + "numerator": "36282940566398922652971883312330004180446133785829138954046637565391250837184005571", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + }, + "upper": { + "numerator": "36282940566398922652971883312330004180446133785829138954046637565391250837210874353", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + } + }, + "reference_center_uncertainty_A_m2": { + "numerator": "13434391", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + }, + "conditional_absolute_allowance_A_m2": { + "numerator": "144494101647615953508496244314909593522624025179911213415562414545218411778216242579", + "denominator": "417184967953302657834106287133284308526552720072457461514293831515326058625464151095856070656" + }, + "conditional_relative_allowance": { + "numerator": "144494101647615953508496244314909593522624025179911213415562414545218411778216242579", + "denominator": "130723070091792003886619194380167799388613882968229278732925099133503787491355965359075208128822116" + }, + "classification": "resolved", + "rule": "abs(two_product_one_sum_action - reference_center) <= conditional_absolute_allowance", + "conditional_on_elementary_contract": true + }, + { + "carrier": "p", + "name": "potential_axis_2_negative", + "block": "potential", + "face": 0, + "direction_binary64_hex": [ + "0x0.0p+0", + "0x0.0p+0", + "-0x1.a5119ce075f70p-6" + ], + "reference_action": { + "lower": { + "numerator": "0", + "denominator": "1" + }, + "upper": { + "numerator": "0", + "denominator": "1" + } + }, + "absolute_term_scale_A_m2": { + "lower": { + "numerator": "0", + "denominator": "1" + }, + "upper": { + "numerator": "0", + "denominator": "1" + } + }, + "reference_center_uncertainty_A_m2": { + "numerator": "0", + "denominator": "1" + }, + "conditional_absolute_allowance_A_m2": { + "numerator": "0", + "denominator": "1" + }, + "conditional_relative_allowance": null, + "classification": "exact_zero", + "rule": "exact equality to zero", + "conditional_on_elementary_contract": false + }, + { + "carrier": "p", + "name": "potential_axis_2_negative", + "block": "potential", + "face": 1, + "direction_binary64_hex": [ + "0x0.0p+0", + "0x0.0p+0", + "-0x1.a5119ce075f70p-6" + ], + "reference_action": { + "lower": { + "numerator": "36282940566398922652971883312330004180446133785829138954046637565391250837184005571", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + }, + "upper": { + "numerator": "36282940566398922652971883312330004180446133785829138954046637565391250837210874353", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + } + }, + "absolute_term_scale_A_m2": { + "lower": { + "numerator": "36282940566398922652971883312330004180446133785829138954046637565391250837184005571", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + }, + "upper": { + "numerator": "36282940566398922652971883312330004180446133785829138954046637565391250837210874353", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + } + }, + "reference_center_uncertainty_A_m2": { + "numerator": "13434391", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + }, + "conditional_absolute_allowance_A_m2": { + "numerator": "144494101647615953508496244314909593522624025179911213415562414545218411778216242579", + "denominator": "417184967953302657834106287133284308526552720072457461514293831515326058625464151095856070656" + }, + "conditional_relative_allowance": { + "numerator": "144494101647615953508496244314909593522624025179911213415562414545218411778216242579", + "denominator": "130723070091792003886619194380167799388613882968229278732925099133503787491355965359075208128822116" + }, + "classification": "resolved", + "rule": "abs(two_product_one_sum_action - reference_center) <= conditional_absolute_allowance", + "conditional_on_elementary_contract": true + }, + { + "carrier": "p", + "name": "potential_alternating_positive", + "block": "potential", + "face": 0, + "direction_binary64_hex": [ + "0x1.a5119ce075f70p-6", + "-0x1.a5119ce075f70p-6", + "0x1.a5119ce075f70p-6" + ], + "reference_action": { + "lower": { + "numerator": "10662754971308242410206034887462262865802819478621816002963973857286042414493928697", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + }, + "upper": { + "numerator": "333211092853382575318938590233195714556338108706931750092624183040188825452964111", + "denominator": "3618502788666131106986593281521497120414687020801267626233049500247285301248" + } + }, + "absolute_term_scale_A_m2": { + "lower": { + "numerator": "1332844371413530301275754360932782858225352434827727000370496732160755301811741087", + "denominator": "14474011154664524427946373126085988481658748083205070504932198000989141204992" + }, + "upper": { + "numerator": "333211092853382575318938590233195714556338108706931750092624183040188825452964111", + "denominator": "3618502788666131106986593281521497120414687020801267626233049500247285301248" + } + }, + "reference_center_uncertainty_A_m2": { + "numerator": "922855", + "denominator": "231584178474632390847141970017375815706539969331281128078915168015826259279872" + }, + "conditional_absolute_allowance_A_m2": { + "numerator": "26821948160299262798313110483429184373906574174836149314775264705354011123465455147", + "denominator": "208592483976651328917053143566642154263276360036228730757146915757663029312732075547928035328" + }, + "conditional_relative_allowance": { + "numerator": "26821948160299262798313110483429184373906574174836149314775264705354011123465455147", + "denominator": "19208311726210677449489730793637327565854343975974064251097269311251723737790491583172689652638006" + }, + "classification": "resolved", + "rule": "abs(two_product_one_sum_action - reference_center) <= conditional_absolute_allowance", + "conditional_on_elementary_contract": true + }, + { + "carrier": "p", + "name": "potential_alternating_positive", + "block": "potential", + "face": 1, + "direction_binary64_hex": [ + "0x1.a5119ce075f70p-6", + "-0x1.a5119ce075f70p-6", + "0x1.a5119ce075f70p-6" + ], + "reference_action": { + "lower": { + "numerator": "-72565881132797845305943766624660008360892267571658277908093275130782501674421748705", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + }, + "upper": { + "numerator": "-36282940566398922652971883312330004180446133785829138954046637565391250837184005571", + "denominator": "57896044618658097711785492504343953926634992332820282019728792003956564819968" + } + }, + "absolute_term_scale_A_m2": { + "lower": { + "numerator": "36282940566398922652971883312330004180446133785829138954046637565391250837184005571", + "denominator": "57896044618658097711785492504343953926634992332820282019728792003956564819968" + }, + "upper": { + "numerator": "36282940566398922652971883312330004180446133785829138954046637565391250837210874353", + "denominator": "57896044618658097711785492504343953926634992332820282019728792003956564819968" + } + }, + "reference_center_uncertainty_A_m2": { + "numerator": "53737563", + "denominator": "231584178474632390847141970017375815706539969331281128078915168015826259279872" + }, + "conditional_absolute_allowance_A_m2": { + "numerator": "4515440676487998547140507634840924797582000786872225419236325454538047220571586515", + "denominator": "6518515124270354028657910736457567320727386251132147836160841117426969666022877360872751104" + }, + "conditional_relative_allowance": { + "numerator": "36123525411903988377124061078727398380656006294977803353890603636304377764572692120", + "denominator": "32680767522948000971654798595041949847153470742057319683231274783375946872838991339768802032205529" + }, + "classification": "resolved", + "rule": "abs(two_product_one_sum_action - reference_center) <= conditional_absolute_allowance", + "conditional_on_elementary_contract": true + }, + { + "carrier": "p", + "name": "potential_alternating_negative", + "block": "potential", + "face": 0, + "direction_binary64_hex": [ + "-0x1.a5119ce075f70p-6", + "0x1.a5119ce075f70p-6", + "-0x1.a5119ce075f70p-6" + ], + "reference_action": { + "lower": { + "numerator": "-333211092853382575318938590233195714556338108706931750092624183040188825452964111", + "denominator": "3618502788666131106986593281521497120414687020801267626233049500247285301248" + }, + "upper": { + "numerator": "-10662754971308242410206034887462262865802819478621816002963973857286042414493928697", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + } + }, + "absolute_term_scale_A_m2": { + "lower": { + "numerator": "1332844371413530301275754360932782858225352434827727000370496732160755301811741087", + "denominator": "14474011154664524427946373126085988481658748083205070504932198000989141204992" + }, + "upper": { + "numerator": "333211092853382575318938590233195714556338108706931750092624183040188825452964111", + "denominator": "3618502788666131106986593281521497120414687020801267626233049500247285301248" + } + }, + "reference_center_uncertainty_A_m2": { + "numerator": "922855", + "denominator": "231584178474632390847141970017375815706539969331281128078915168015826259279872" + }, + "conditional_absolute_allowance_A_m2": { + "numerator": "26821948160299262798313110483429184373906574174836149314775264705354011123465455147", + "denominator": "208592483976651328917053143566642154263276360036228730757146915757663029312732075547928035328" + }, + "conditional_relative_allowance": { + "numerator": "26821948160299262798313110483429184373906574174836149314775264705354011123465455147", + "denominator": "19208311726210677449489730793637327565854343975974064251097269311251723737790491583172689652638006" + }, + "classification": "resolved", + "rule": "abs(two_product_one_sum_action - reference_center) <= conditional_absolute_allowance", + "conditional_on_elementary_contract": true + }, + { + "carrier": "p", + "name": "potential_alternating_negative", + "block": "potential", + "face": 1, + "direction_binary64_hex": [ + "-0x1.a5119ce075f70p-6", + "0x1.a5119ce075f70p-6", + "-0x1.a5119ce075f70p-6" + ], + "reference_action": { + "lower": { + "numerator": "36282940566398922652971883312330004180446133785829138954046637565391250837184005571", + "denominator": "57896044618658097711785492504343953926634992332820282019728792003956564819968" + }, + "upper": { + "numerator": "72565881132797845305943766624660008360892267571658277908093275130782501674421748705", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + } + }, + "absolute_term_scale_A_m2": { + "lower": { + "numerator": "36282940566398922652971883312330004180446133785829138954046637565391250837184005571", + "denominator": "57896044618658097711785492504343953926634992332820282019728792003956564819968" + }, + "upper": { + "numerator": "36282940566398922652971883312330004180446133785829138954046637565391250837210874353", + "denominator": "57896044618658097711785492504343953926634992332820282019728792003956564819968" + } + }, + "reference_center_uncertainty_A_m2": { + "numerator": "53737563", + "denominator": "231584178474632390847141970017375815706539969331281128078915168015826259279872" + }, + "conditional_absolute_allowance_A_m2": { + "numerator": "4515440676487998547140507634840924797582000786872225419236325454538047220571586515", + "denominator": "6518515124270354028657910736457567320727386251132147836160841117426969666022877360872751104" + }, + "conditional_relative_allowance": { + "numerator": "36123525411903988377124061078727398380656006294977803353890603636304377764572692120", + "denominator": "32680767522948000971654798595041949847153470742057319683231274783375946872838991339768802032205529" + }, + "classification": "resolved", + "rule": "abs(two_product_one_sum_action - reference_center) <= conditional_absolute_allowance", + "conditional_on_elementary_contract": true + }, + { + "carrier": "p", + "name": "potential_gauge_positive", + "block": "potential", + "face": 0, + "direction_binary64_hex": [ + "0x1.a5119ce075f70p-6", + "0x1.a5119ce075f70p-6", + "0x1.a5119ce075f70p-6" + ], + "reference_action": { + "lower": { + "numerator": "0", + "denominator": "1" + }, + "upper": { + "numerator": "0", + "denominator": "1" + } + }, + "absolute_term_scale_A_m2": { + "lower": { + "numerator": "1332844371413530301275754360932782858225352434827727000370496732160755301811741087", + "denominator": "14474011154664524427946373126085988481658748083205070504932198000989141204992" + }, + "upper": { + "numerator": "333211092853382575318938590233195714556338108706931750092624183040188825452964111", + "denominator": "3618502788666131106986593281521497120414687020801267626233049500247285301248" + } + }, + "reference_center_uncertainty_A_m2": { + "numerator": "0", + "denominator": "1" + }, + "conditional_absolute_allowance_A_m2": { + "numerator": "0", + "denominator": "1" + }, + "conditional_relative_allowance": null, + "classification": "exact_zero", + "rule": "exact equality to zero", + "conditional_on_elementary_contract": false + }, + { + "carrier": "p", + "name": "potential_gauge_positive", + "block": "potential", + "face": 1, + "direction_binary64_hex": [ + "0x1.a5119ce075f70p-6", + "0x1.a5119ce075f70p-6", + "0x1.a5119ce075f70p-6" + ], + "reference_action": { + "lower": { + "numerator": "0", + "denominator": "1" + }, + "upper": { + "numerator": "0", + "denominator": "1" + } + }, + "absolute_term_scale_A_m2": { + "lower": { + "numerator": "36282940566398922652971883312330004180446133785829138954046637565391250837184005571", + "denominator": "57896044618658097711785492504343953926634992332820282019728792003956564819968" + }, + "upper": { + "numerator": "36282940566398922652971883312330004180446133785829138954046637565391250837210874353", + "denominator": "57896044618658097711785492504343953926634992332820282019728792003956564819968" + } + }, + "reference_center_uncertainty_A_m2": { + "numerator": "0", + "denominator": "1" + }, + "conditional_absolute_allowance_A_m2": { + "numerator": "0", + "denominator": "1" + }, + "conditional_relative_allowance": null, + "classification": "exact_zero", + "rule": "exact equality to zero", + "conditional_on_elementary_contract": false + }, + { + "carrier": "p", + "name": "potential_gauge_negative", + "block": "potential", + "face": 0, + "direction_binary64_hex": [ + "-0x1.a5119ce075f70p-6", + "-0x1.a5119ce075f70p-6", + "-0x1.a5119ce075f70p-6" + ], + "reference_action": { + "lower": { + "numerator": "0", + "denominator": "1" + }, + "upper": { + "numerator": "0", + "denominator": "1" + } + }, + "absolute_term_scale_A_m2": { + "lower": { + "numerator": "1332844371413530301275754360932782858225352434827727000370496732160755301811741087", + "denominator": "14474011154664524427946373126085988481658748083205070504932198000989141204992" + }, + "upper": { + "numerator": "333211092853382575318938590233195714556338108706931750092624183040188825452964111", + "denominator": "3618502788666131106986593281521497120414687020801267626233049500247285301248" + } + }, + "reference_center_uncertainty_A_m2": { + "numerator": "0", + "denominator": "1" + }, + "conditional_absolute_allowance_A_m2": { + "numerator": "0", + "denominator": "1" + }, + "conditional_relative_allowance": null, + "classification": "exact_zero", + "rule": "exact equality to zero", + "conditional_on_elementary_contract": false + }, + { + "carrier": "p", + "name": "potential_gauge_negative", + "block": "potential", + "face": 1, + "direction_binary64_hex": [ + "-0x1.a5119ce075f70p-6", + "-0x1.a5119ce075f70p-6", + "-0x1.a5119ce075f70p-6" + ], + "reference_action": { + "lower": { + "numerator": "0", + "denominator": "1" + }, + "upper": { + "numerator": "0", + "denominator": "1" + } + }, + "absolute_term_scale_A_m2": { + "lower": { + "numerator": "36282940566398922652971883312330004180446133785829138954046637565391250837184005571", + "denominator": "57896044618658097711785492504343953926634992332820282019728792003956564819968" + }, + "upper": { + "numerator": "36282940566398922652971883312330004180446133785829138954046637565391250837210874353", + "denominator": "57896044618658097711785492504343953926634992332820282019728792003956564819968" + } + }, + "reference_center_uncertainty_A_m2": { + "numerator": "0", + "denominator": "1" + }, + "conditional_absolute_allowance_A_m2": { + "numerator": "0", + "denominator": "1" + }, + "conditional_relative_allowance": null, + "classification": "exact_zero", + "rule": "exact equality to zero", + "conditional_on_elementary_contract": false + }, + { + "carrier": "p", + "name": "potential_weak_gauge_positive", + "block": "potential", + "face": 0, + "direction_binary64_hex": [ + "0x1.a5119ce075f70p-6", + "0x1.a5119ce075f71p-6", + "0x1.a5119ce075f70p-6" + ], + "reference_action": { + "lower": { + "numerator": "-359862477963362136662528676713183536459178589695629261453917956713", + "denominator": "57896044618658097711785492504343953926634992332820282019728792003956564819968" + }, + "upper": { + "numerator": "-719724955926724273325057353426367072918357179391258522907835913425", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + } + }, + "absolute_term_scale_A_m2": { + "lower": { + "numerator": "5331377485654121564965495407093268095430086452494444460660576624272282661164921061", + "denominator": "57896044618658097711785492504343953926634992332820282019728792003956564819968" + }, + "upper": { + "numerator": "5331377485654121564965495407093268095430086452494444460660576624272282661165382489", + "denominator": "57896044618658097711785492504343953926634992332820282019728792003956564819968" + } + }, + "reference_center_uncertainty_A_m2": { + "numerator": "1", + "denominator": "231584178474632390847141970017375815706539969331281128078915168015826259279872" + }, + "conditional_absolute_allowance_A_m2": { + "numerator": "2145755852823941168701354348725890624629789914590695714535046291399645212198940164681", + "denominator": "16687398718132106313364251485331372341062108802898298460571753260613042345018566043834242826240" + }, + "conditional_relative_allowance": null, + "classification": "weak_absolute_only", + "rule": "abs(two_product_one_sum_action - reference_center) <= conditional_absolute_allowance", + "conditional_on_elementary_contract": true + }, + { + "carrier": "p", + "name": "potential_weak_gauge_positive", + "block": "potential", + "face": 1, + "direction_binary64_hex": [ + "0x1.a5119ce075f70p-6", + "0x1.a5119ce075f71p-6", + "0x1.a5119ce075f70p-6" + ], + "reference_action": { + "lower": { + "numerator": "4898122083891318254440627662670875889013975050692068158333567340455", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + }, + "upper": { + "numerator": "612265260486414781805078457833859486126746881336508519791695917557", + "denominator": "14474011154664524427946373126085988481658748083205070504932198000989141204992" + } + }, + "absolute_term_scale_A_m2": { + "lower": { + "numerator": "36282940566398925102032925257989131400759965121267083461034162911425330003967675799", + "denominator": "57896044618658097711785492504343953926634992332820282019728792003956564819968" + }, + "upper": { + "numerator": "72565881132797850204065850515978262801519930242534166922068325822850660007989089161", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + } + }, + "reference_center_uncertainty_A_m2": { + "numerator": "1", + "denominator": "231584178474632390847141970017375815706539969331281128078915168015826259279872" + }, + "conditional_absolute_allowance_A_m2": { + "numerator": "7706352087872851373957278852797107995825805139139190207682243353803768251155601564203", + "denominator": "11124932478754737542242834323554248227374739201932198973714502173742028230012377362556161884160" + }, + "conditional_relative_allowance": null, + "classification": "weak_absolute_only", + "rule": "abs(two_product_one_sum_action - reference_center) <= conditional_absolute_allowance", + "conditional_on_elementary_contract": true + }, + { + "carrier": "p", + "name": "potential_weak_gauge_negative", + "block": "potential", + "face": 0, + "direction_binary64_hex": [ + "-0x1.a5119ce075f70p-6", + "-0x1.a5119ce075f71p-6", + "-0x1.a5119ce075f70p-6" + ], + "reference_action": { + "lower": { + "numerator": "719724955926724273325057353426367072918357179391258522907835913425", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + }, + "upper": { + "numerator": "359862477963362136662528676713183536459178589695629261453917956713", + "denominator": "57896044618658097711785492504343953926634992332820282019728792003956564819968" + } + }, + "absolute_term_scale_A_m2": { + "lower": { + "numerator": "5331377485654121564965495407093268095430086452494444460660576624272282661164921061", + "denominator": "57896044618658097711785492504343953926634992332820282019728792003956564819968" + }, + "upper": { + "numerator": "5331377485654121564965495407093268095430086452494444460660576624272282661165382489", + "denominator": "57896044618658097711785492504343953926634992332820282019728792003956564819968" + } + }, + "reference_center_uncertainty_A_m2": { + "numerator": "1", + "denominator": "231584178474632390847141970017375815706539969331281128078915168015826259279872" + }, + "conditional_absolute_allowance_A_m2": { + "numerator": "2145755852823941168701354348725890624629789914590695714535046291399645212198940164681", + "denominator": "16687398718132106313364251485331372341062108802898298460571753260613042345018566043834242826240" + }, + "conditional_relative_allowance": null, + "classification": "weak_absolute_only", + "rule": "abs(two_product_one_sum_action - reference_center) <= conditional_absolute_allowance", + "conditional_on_elementary_contract": true + }, + { + "carrier": "p", + "name": "potential_weak_gauge_negative", + "block": "potential", + "face": 1, + "direction_binary64_hex": [ + "-0x1.a5119ce075f70p-6", + "-0x1.a5119ce075f71p-6", + "-0x1.a5119ce075f70p-6" + ], + "reference_action": { + "lower": { + "numerator": "-612265260486414781805078457833859486126746881336508519791695917557", + "denominator": "14474011154664524427946373126085988481658748083205070504932198000989141204992" + }, + "upper": { + "numerator": "-4898122083891318254440627662670875889013975050692068158333567340455", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + } + }, + "absolute_term_scale_A_m2": { + "lower": { + "numerator": "36282940566398925102032925257989131400759965121267083461034162911425330003967675799", + "denominator": "57896044618658097711785492504343953926634992332820282019728792003956564819968" + }, + "upper": { + "numerator": "72565881132797850204065850515978262801519930242534166922068325822850660007989089161", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + } + }, + "reference_center_uncertainty_A_m2": { + "numerator": "1", + "denominator": "231584178474632390847141970017375815706539969331281128078915168015826259279872" + }, + "conditional_absolute_allowance_A_m2": { + "numerator": "7706352087872851373957278852797107995825805139139190207682243353803768251155601564203", + "denominator": "11124932478754737542242834323554248227374739201932198973714502173742028230012377362556161884160" + }, + "conditional_relative_allowance": null, + "classification": "weak_absolute_only", + "rule": "abs(two_product_one_sum_action - reference_center) <= conditional_absolute_allowance", + "conditional_on_elementary_contract": true + }, + { + "carrier": "p", + "name": "density_weak_face_0_positive", + "block": "density", + "face": 0, + "direction_binary64_hex": [ + "0x1.a055690d9db80p+66", + "0x1.4e74f19c44699p+68", + "0x0.0p+0" + ], + "reference_action": { + "lower": { + "numerator": "132661676347100431868048261668627802530196372144199146200065", + "denominator": "441711766194596082395824375185729628956870974218904739530401550323154944" + }, + "upper": { + "numerator": "530646705388401727472193046674511210120785496291677727239549", + "denominator": "1766847064778384329583297500742918515827483896875618958121606201292619776" + } + }, + "absolute_term_scale_A_m2": { + "lower": { + "numerator": "28784351035668325446136721561349393521994183381583251315910012131173835260451", + "denominator": "1766847064778384329583297500742918515827483896875618958121606201292619776" + }, + "upper": { + "numerator": "7196087758917081361534180390337348380498545845395812828977504961513744424935", + "denominator": "441711766194596082395824375185729628956870974218904739530401550323154944" + } + }, + "reference_center_uncertainty_A_m2": { + "numerator": "7714881142439289", + "denominator": "3533694129556768659166595001485837031654967793751237916243212402585239552" + }, + "conditional_absolute_allowance_A_m2": { + "numerator": "46513442484151531235593516817129652666933777484197327001515144437376745390229", + "denominator": "5304781188371056338426034127976535905539865113226031767709017836447729220396221810606080" + }, + "conditional_relative_allowance": null, + "classification": "weak_absolute_only", + "rule": "abs(two_product_one_sum_action - reference_center) <= conditional_absolute_allowance", + "conditional_on_elementary_contract": true + }, + { + "carrier": "p", + "name": "density_weak_face_0_positive", + "block": "density", + "face": 1, + "direction_binary64_hex": [ + "0x1.a055690d9db80p+66", + "0x1.4e74f19c44699p+68", + "0x0.0p+0" + ], + "reference_action": { + "lower": { + "numerator": "83168470280798554990460638807203595772782483863317143981324857243867888014769", + "denominator": "1766847064778384329583297500742918515827483896875618958121606201292619776" + }, + "upper": { + "numerator": "41584235140399277495230319403601797886391241931658571990662431563847171477029", + "denominator": "883423532389192164791648750371459257913741948437809479060803100646309888" + } + }, + "absolute_term_scale_A_m2": { + "lower": { + "numerator": "83168470280798554990460638807203595772782483863317143981324857243867888014769", + "denominator": "1766847064778384329583297500742918515827483896875618958121606201292619776" + }, + "upper": { + "numerator": "41584235140399277495230319403601797886391241931658571990662431563847171477029", + "denominator": "883423532389192164791648750371459257913741948437809479060803100646309888" + } + }, + "reference_center_uncertainty_A_m2": { + "numerator": "5883826454939289", + "denominator": "3533694129556768659166595001485837031654967793751237916243212402585239552" + }, + "conditional_absolute_allowance_A_m2": { + "numerator": "23960788151986521833388200873938928494062055414866728748281274214195158467413", + "denominator": "1060956237674211267685206825595307181107973022645206353541803567289545844079244362121216" + }, + "conditional_relative_allowance": { + "numerator": "12216941646131754959187168547639292612664575155014096225086551", + "denominator": "25463530893311723346811159623963802582281501594100833185375672098572525117558" + }, + "classification": "resolved", + "rule": "abs(two_product_one_sum_action - reference_center) <= conditional_absolute_allowance", + "conditional_on_elementary_contract": true + }, + { + "carrier": "p", + "name": "density_weak_face_0_negative", + "block": "density", + "face": 0, + "direction_binary64_hex": [ + "-0x1.a055690d9db80p+66", + "-0x1.4e74f19c44699p+68", + "0x0.0p+0" + ], + "reference_action": { + "lower": { + "numerator": "-530646705388401727472193046674511210120785496291677727239549", + "denominator": "1766847064778384329583297500742918515827483896875618958121606201292619776" + }, + "upper": { + "numerator": "-132661676347100431868048261668627802530196372144199146200065", + "denominator": "441711766194596082395824375185729628956870974218904739530401550323154944" + } + }, + "absolute_term_scale_A_m2": { + "lower": { + "numerator": "28784351035668325446136721561349393521994183381583251315910012131173835260451", + "denominator": "1766847064778384329583297500742918515827483896875618958121606201292619776" + }, + "upper": { + "numerator": "7196087758917081361534180390337348380498545845395812828977504961513744424935", + "denominator": "441711766194596082395824375185729628956870974218904739530401550323154944" + } + }, + "reference_center_uncertainty_A_m2": { + "numerator": "7714881142439289", + "denominator": "3533694129556768659166595001485837031654967793751237916243212402585239552" + }, + "conditional_absolute_allowance_A_m2": { + "numerator": "46513442484151531235593516817129652666933777484197327001515144437376745390229", + "denominator": "5304781188371056338426034127976535905539865113226031767709017836447729220396221810606080" + }, + "conditional_relative_allowance": null, + "classification": "weak_absolute_only", + "rule": "abs(two_product_one_sum_action - reference_center) <= conditional_absolute_allowance", + "conditional_on_elementary_contract": true + }, + { + "carrier": "p", + "name": "density_weak_face_0_negative", + "block": "density", + "face": 1, + "direction_binary64_hex": [ + "-0x1.a055690d9db80p+66", + "-0x1.4e74f19c44699p+68", + "0x0.0p+0" + ], + "reference_action": { + "lower": { + "numerator": "-41584235140399277495230319403601797886391241931658571990662431563847171477029", + "denominator": "883423532389192164791648750371459257913741948437809479060803100646309888" + }, + "upper": { + "numerator": "-83168470280798554990460638807203595772782483863317143981324857243867888014769", + "denominator": "1766847064778384329583297500742918515827483896875618958121606201292619776" + } + }, + "absolute_term_scale_A_m2": { + "lower": { + "numerator": "83168470280798554990460638807203595772782483863317143981324857243867888014769", + "denominator": "1766847064778384329583297500742918515827483896875618958121606201292619776" + }, + "upper": { + "numerator": "41584235140399277495230319403601797886391241931658571990662431563847171477029", + "denominator": "883423532389192164791648750371459257913741948437809479060803100646309888" + } + }, + "reference_center_uncertainty_A_m2": { + "numerator": "5883826454939289", + "denominator": "3533694129556768659166595001485837031654967793751237916243212402585239552" + }, + "conditional_absolute_allowance_A_m2": { + "numerator": "23960788151986521833388200873938928494062055414866728748281274214195158467413", + "denominator": "1060956237674211267685206825595307181107973022645206353541803567289545844079244362121216" + }, + "conditional_relative_allowance": { + "numerator": "12216941646131754959187168547639292612664575155014096225086551", + "denominator": "25463530893311723346811159623963802582281501594100833185375672098572525117558" + }, + "classification": "resolved", + "rule": "abs(two_product_one_sum_action - reference_center) <= conditional_absolute_allowance", + "conditional_on_elementary_contract": true + }, + { + "carrier": "p", + "name": "density_weak_face_1_positive", + "block": "density", + "face": 0, + "direction_binary64_hex": [ + "0x0.0p+0", + "0x1.70a0f5040e504p+71", + "0x1.1d9a417f5a768p+68" + ], + "reference_action": { + "lower": { + "numerator": "-991415281843510144426798357900981389729463889107769622766213893890380859375", + "denominator": "13803492693581127574869511724554050904902217944340773110325048447598592" + }, + "upper": { + "numerator": "-3965661127374040577707193431603925558917855556431078491064853954315185546875", + "denominator": "55213970774324510299478046898216203619608871777363092441300193790394368" + } + }, + "absolute_term_scale_A_m2": { + "lower": { + "numerator": "3965661127374040577707193431603925558917855556431078491064853954315185546875", + "denominator": "55213970774324510299478046898216203619608871777363092441300193790394368" + }, + "upper": { + "numerator": "991415281843510144426798357900981389729463889107769622766213893890380859375", + "denominator": "13803492693581127574869511724554050904902217944340773110325048447598592" + } + }, + "reference_center_uncertainty_A_m2": { + "numerator": "1621246337890625", + "denominator": "110427941548649020598956093796432407239217743554726184882600387580788736" + }, + "conditional_absolute_allowance_A_m2": { + "numerator": "4648738513049971011117545627727011288495967113323106586185941905975341796875", + "denominator": "99464647281957306345488139899560048228872470872988095644544084433394922882429158948864" + }, + "conditional_relative_allowance": { + "numerator": "2048132619773061513846046858882133860859641685638609164586769", + "denominator": "3147446250475666548123765070228254163815519485076862600899001866095206014630" + }, + "classification": "resolved", + "rule": "abs(two_product_one_sum_action - reference_center) <= conditional_absolute_allowance", + "conditional_on_elementary_contract": true + }, + { + "carrier": "p", + "name": "density_weak_face_1_positive", + "block": "density", + "face": 1, + "direction_binary64_hex": [ + "0x0.0p+0", + "0x1.70a0f5040e504p+71", + "0x1.1d9a417f5a768p+68" + ], + "reference_action": { + "lower": { + "numerator": "-936539408999412809771611577462759183714226073835893894071489", + "denominator": "55213970774324510299478046898216203619608871777363092441300193790394368" + }, + "upper": { + "numerator": "-3746157635997651239086446309851036734856904288230543549233427", + "denominator": "220855883097298041197912187592864814478435487109452369765200775161577472" + } + }, + "absolute_term_scale_A_m2": { + "lower": { + "numerator": "183331821770533471781223875312111099176790201976647753129734843574171478920927", + "denominator": "220855883097298041197912187592864814478435487109452369765200775161577472" + }, + "upper": { + "numerator": "11458238860658341986326492207006943698549387623540484570608428167950219123341", + "denominator": "13803492693581127574869511724554050904902217944340773110325048447598592" + } + }, + "reference_center_uncertainty_A_m2": { + "numerator": "7113032027052529", + "denominator": "441711766194596082395824375185729628956870974218904739530401550323154944" + }, + "conditional_absolute_allowance_A_m2": { + "numerator": "249553901177476230640543949169670567495355396776999109532935761821717929650149", + "denominator": "663097648546382042303254265997066988192483139153253970963627229555966152549527726325760" + }, + "conditional_relative_allowance": null, + "classification": "weak_absolute_only", + "rule": "abs(two_product_one_sum_action - reference_center) <= conditional_absolute_allowance", + "conditional_on_elementary_contract": true + }, + { + "carrier": "p", + "name": "density_weak_face_1_negative", + "block": "density", + "face": 0, + "direction_binary64_hex": [ + "0x0.0p+0", + "-0x1.70a0f5040e504p+71", + "-0x1.1d9a417f5a768p+68" + ], + "reference_action": { + "lower": { + "numerator": "3965661127374040577707193431603925558917855556431078491064853954315185546875", + "denominator": "55213970774324510299478046898216203619608871777363092441300193790394368" + }, + "upper": { + "numerator": "991415281843510144426798357900981389729463889107769622766213893890380859375", + "denominator": "13803492693581127574869511724554050904902217944340773110325048447598592" + } + }, + "absolute_term_scale_A_m2": { + "lower": { + "numerator": "3965661127374040577707193431603925558917855556431078491064853954315185546875", + "denominator": "55213970774324510299478046898216203619608871777363092441300193790394368" + }, + "upper": { + "numerator": "991415281843510144426798357900981389729463889107769622766213893890380859375", + "denominator": "13803492693581127574869511724554050904902217944340773110325048447598592" + } + }, + "reference_center_uncertainty_A_m2": { + "numerator": "1621246337890625", + "denominator": "110427941548649020598956093796432407239217743554726184882600387580788736" + }, + "conditional_absolute_allowance_A_m2": { + "numerator": "4648738513049971011117545627727011288495967113323106586185941905975341796875", + "denominator": "99464647281957306345488139899560048228872470872988095644544084433394922882429158948864" + }, + "conditional_relative_allowance": { + "numerator": "2048132619773061513846046858882133860859641685638609164586769", + "denominator": "3147446250475666548123765070228254163815519485076862600899001866095206014630" + }, + "classification": "resolved", + "rule": "abs(two_product_one_sum_action - reference_center) <= conditional_absolute_allowance", + "conditional_on_elementary_contract": true + }, + { + "carrier": "p", + "name": "density_weak_face_1_negative", + "block": "density", + "face": 1, + "direction_binary64_hex": [ + "0x0.0p+0", + "-0x1.70a0f5040e504p+71", + "-0x1.1d9a417f5a768p+68" + ], + "reference_action": { + "lower": { + "numerator": "3746157635997651239086446309851036734856904288230543549233427", + "denominator": "220855883097298041197912187592864814478435487109452369765200775161577472" + }, + "upper": { + "numerator": "936539408999412809771611577462759183714226073835893894071489", + "denominator": "55213970774324510299478046898216203619608871777363092441300193790394368" + } + }, + "absolute_term_scale_A_m2": { + "lower": { + "numerator": "183331821770533471781223875312111099176790201976647753129734843574171478920927", + "denominator": "220855883097298041197912187592864814478435487109452369765200775161577472" + }, + "upper": { + "numerator": "11458238860658341986326492207006943698549387623540484570608428167950219123341", + "denominator": "13803492693581127574869511724554050904902217944340773110325048447598592" + } + }, + "reference_center_uncertainty_A_m2": { + "numerator": "7113032027052529", + "denominator": "441711766194596082395824375185729628956870974218904739530401550323154944" + }, + "conditional_absolute_allowance_A_m2": { + "numerator": "249553901177476230640543949169670567495355396776999109532935761821717929650149", + "denominator": "663097648546382042303254265997066988192483139153253970963627229555966152549527726325760" + }, + "conditional_relative_allowance": null, + "classification": "weak_absolute_only", + "rule": "abs(two_product_one_sum_action - reference_center) <= conditional_absolute_allowance", + "conditional_on_elementary_contract": true + } + ], + "finite_difference_decomposition": [ + { + "carrier": "n", + "face": 0, + "node": 0, + "block": "density", + "exact_zero": false, + "step_binary64_hex": "0x1.b48eb57e00000p+46", + "plus_binary64_hex": "0x1.a0558456890fep+66", + "minus_binary64_hex": "0x1.a0554dc4b2602p+66", + "effective_symmetric_span_ratio": { + "numerator": "1", + "denominator": "1" + }, + "ideal_symmetric_fd": { + "lower": { + "numerator": "-611514276808435584236749714667282036304095486461805082330415", + "denominator": "28948022309329048855892746252171976963317496166410141009864396001978282409984" + }, + "upper": { + "numerator": "-2446057107233742336946998858669128145216381945847220329321659", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + } + }, + "represented_input_fd": { + "lower": { + "numerator": "-611514276808435584236749714667282036304095486461805082330415", + "denominator": "28948022309329048855892746252171976963317496166410141009864396001978282409984" + }, + "upper": { + "numerator": "-2446057107233742336946998858669128145216381945847220329321659", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + } + }, + "truncation": { + "numerator": "0", + "denominator": "1" + }, + "input_rounding": { + "numerator": "0", + "denominator": "1" + }, + "conditional_fd_evaluation_error": { + "numerator": "24039084696786094291793391255175385267112604342872901", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + }, + "conditional_jacobian_evaluation_error": { + "numerator": "1048585010370744577182603484692600208159599429", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + }, + "conditional_comparison_allowance": { + "numerator": "12019542872685552331268984218889434979856406251236165", + "denominator": "57896044618658097711785492504343953926634992332820282019728792003956564819968" + }, + "relative_to_nonzero_analytic_derivative": { + "numerator": "24039085745371104662537968437778869959712812502472330", + "denominator": "2446057107233742336946998858669128145216381945847220329321659" + } + }, + { + "carrier": "n", + "face": 0, + "node": 1, + "block": "density", + "exact_zero": false, + "step_binary64_hex": "0x1.8289060790000p+51", + "plus_binary64_hex": "0x1.70a10d2c9eb0cp+71", + "minus_binary64_hex": "0x1.70a0dcdb7defcp+71", + "effective_symmetric_span_ratio": { + "numerator": "103759765632", + "denominator": "103759765625" + }, + "ideal_symmetric_fd": { + "lower": { + "numerator": "7860046789473164213393661119078706106146059620650860936313653", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + }, + "upper": { + "numerator": "3930023394736582106696830559539353053073029810325430468156827", + "denominator": "57896044618658097711785492504343953926634992332820282019728792003956564819968" + } + }, + "represented_input_fd": { + "lower": { + "numerator": "3930023395001715355576565341099850760845058823825924375737181", + "denominator": "57896044618658097711785492504343953926634992332820282019728792003956564819968" + }, + "upper": { + "numerator": "1965011697500857677788282670549925380422529411912962187868591", + "denominator": "28948022309329048855892746252171976963317496166410141009864396001978282409984" + } + }, + "truncation": { + "numerator": "0", + "denominator": "1" + }, + "input_rounding": { + "numerator": "27510163763156074746877813916775471371511208672278013277097789", + "denominator": "6007280020246506720583211502525922953813445249377104457613461084394907238400000000000000" + }, + "conditional_fd_evaluation_error": { + "numerator": "593372738362195805934600640820266396639337298758819", + "denominator": "57896044618658097711785492504343953926634992332820282019728792003956564819968" + }, + "conditional_jacobian_evaluation_error": { + "numerator": "1600709351906959695393645520282318217803580619", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + }, + "conditional_comparison_allowance": { + "numerator": "178156926136991103473804721338573539698266379860854665470211203", + "denominator": "12014560040493013441166423005051845907626890498754208915226922168789814476800000000000000" + }, + "relative_to_nonzero_analytic_derivative": { + "numerator": "178156926136991103473804721338573539698266379860854665470211203", + "denominator": "815556612677269236008863763576281761501971518256009740706372686767578125" + } + }, + { + "carrier": "n", + "face": 0, + "node": 2, + "block": "density", + "exact_zero": true, + "truncation": { + "numerator": "0", + "denominator": "1" + }, + "input_rounding": { + "numerator": "0", + "denominator": "1" + }, + "conditional_comparison_allowance": { + "numerator": "0", + "denominator": "1" + } + }, + { + "carrier": "n", + "face": 0, + "node": 0, + "block": "potential", + "exact_zero": false, + "step_binary64_hex": "0x1.ad7f29abcaf48p-24", + "plus_binary64_hex": "0x1.47aeeb3a761d9p-7", + "minus_binary64_hex": "0x1.47ad3dbb4c71dp-7", + "effective_symmetric_span_ratio": { + "numerator": "944473296568320", + "denominator": "944473296573929" + }, + "ideal_symmetric_fd": { + "lower": { + "numerator": "427794861276842064766496584340637339094648376638447020752511467805954591004289065031", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + }, + "upper": { + "numerator": "427794861276842064766496584340637339094648376638447020752511467805954597252789065033", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + } + }, + "represented_input_fd": { + "lower": { + "numerator": "427794861274301493862474810689638070305021340761826970976425795949838814367558811573", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + }, + "upper": { + "numerator": "427794861274301493862474810689638070305021340761826970976425795949838821977908811575", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + } + }, + "truncation": { + "numerator": "49528166851393296299181096206094733627686465975934935195132639020878455", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + }, + "input_rounding": { + "numerator": "635142726005443412749817197406758969155012444021417964028945721307563365", + "denominator": "28948022309329048855892746252171976963317496166410141009864396001978282409984" + }, + "conditional_fd_evaluation_error": { + "numerator": "62981474969160123859160866727696489665542799133990548026689552084788811575", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + }, + "conditional_jacobian_evaluation_error": { + "numerator": "231081851914801704693407574849743945537281369935325842354652616280263", + "denominator": "57896044618658097711785492504343953926634992332820282019728792003956564819968" + }, + "conditional_comparison_allowance": { + "numerator": "4098252262733570025616793964292457485230100621174501591855323557142031501", + "denominator": "7237005577332262213973186563042994240829374041602535252466099000494570602496" + }, + "relative_to_nonzero_analytic_derivative": { + "numerator": "32786018101868560204934351714339659881840804969396012734842588457136252008", + "denominator": "213897430638445796466673988818468260095427235686037353609243701370574861821625546553" + } + }, + { + "carrier": "n", + "face": 0, + "node": 1, + "block": "potential", + "exact_zero": false, + "step_binary64_hex": "0x1.ad7f29abcaf48p-24", + "plus_binary64_hex": "-0x1.47ada91b16dccp-6", + "minus_binary64_hex": "-0x1.47ae7fdaabb2ap-6", + "effective_symmetric_span_ratio": { + "numerator": "944473296568320", + "denominator": "944473296573929" + }, + "ideal_symmetric_fd": { + "lower": { + "numerator": "-427794861276842064766496584340637339094648376638447020752511467805954597252789065033", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + }, + "upper": { + "numerator": "-427794861276842064766496584340637339094648376638447020752511467805954591004289065031", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + } + }, + "represented_input_fd": { + "lower": { + "numerator": "-427794861274301493862474810689638070305021340761826970976425795949838821977908811575", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + }, + "upper": { + "numerator": "-427794861274301493862474810689638070305021340761826970976425795949838814367558811573", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + } + }, + "truncation": { + "numerator": "49528166851393296299181096206094733627686465975934935195132639020878455", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + }, + "input_rounding": { + "numerator": "635142726005443412749817197406758969155012444021417964028945721307563365", + "denominator": "28948022309329048855892746252171976963317496166410141009864396001978282409984" + }, + "conditional_fd_evaluation_error": { + "numerator": "62981474969160123859160866727696489665542799133990548026689552084788811575", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + }, + "conditional_jacobian_evaluation_error": { + "numerator": "231081851914801704693407574849743945537281369935325842354652616280263", + "denominator": "57896044618658097711785492504343953926634992332820282019728792003956564819968" + }, + "conditional_comparison_allowance": { + "numerator": "4098252262733570025616793964292457485230100621174501591855323557142031501", + "denominator": "7237005577332262213973186563042994240829374041602535252466099000494570602496" + }, + "relative_to_nonzero_analytic_derivative": { + "numerator": "32786018101868560204934351714339659881840804969396012734842588457136252008", + "denominator": "213897430638445796466673988818468260095427235686037353609243701370574861821625546553" + } + }, + { + "carrier": "n", + "face": 0, + "node": 2, + "block": "potential", + "exact_zero": true, + "truncation": { + "numerator": "0", + "denominator": "1" + }, + "input_rounding": { + "numerator": "0", + "denominator": "1" + }, + "conditional_comparison_allowance": { + "numerator": "0", + "denominator": "1" + } + }, + { + "carrier": "n", + "face": 1, + "node": 0, + "block": "density", + "exact_zero": true, + "truncation": { + "numerator": "0", + "denominator": "1" + }, + "input_rounding": { + "numerator": "0", + "denominator": "1" + }, + "conditional_comparison_allowance": { + "numerator": "0", + "denominator": "1" + } + }, + { + "carrier": "n", + "face": 1, + "node": 1, + "block": "density", + "exact_zero": false, + "step_binary64_hex": "0x1.8289060790000p+51", + "plus_binary64_hex": "0x1.70a10d2c9eb0cp+71", + "minus_binary64_hex": "0x1.70a0dcdb7defcp+71", + "effective_symmetric_span_ratio": { + "numerator": "103759765632", + "denominator": "103759765625" + }, + "ideal_symmetric_fd": { + "lower": { + "numerator": "-18244247295343346834168876940649682673827798926341132240034433", + "denominator": "14474011154664524427946373126085988481658748083205070504932198000989141204992" + }, + "upper": { + "numerator": "-145953978362746774673351015525197461390622391410729057920275463", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + } + }, + "represented_input_fd": { + "lower": { + "numerator": "-145953978372593345185390252050925273901536418735415940759165873", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + }, + "upper": { + "numerator": "-145953978372593345185390252050925273901536418735415940759165871", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + } + }, + "truncation": { + "numerator": "0", + "denominator": "1" + }, + "input_rounding": { + "numerator": "127709731067403427839182138584547778716794592484387925680241031", + "denominator": "1501820005061626680145802875631480738453361312344276114403365271098726809600000000000000" + }, + "conditional_fd_evaluation_error": { + "numerator": "32473660114575207716193944900817184709010525524335537", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + }, + "conditional_jacobian_evaluation_error": { + "numerator": "3738690824878675537009935952363290220819913345", + "denominator": "14474011154664524427946373126085988481658748083205070504932198000989141204992" + }, + "conditional_comparison_allowance": { + "numerator": "4391140314418931491775774593205078893922888022967871038498568873", + "denominator": "12014560040493013441166423005051845907626890498754208915226922168789814476800000000000000" + }, + "relative_to_nonzero_analytic_derivative": { + "numerator": "4391140314418931491775774593205078893922888022967871038498568873", + "denominator": "15144150586954926571331587304250224875735965905654260160184831976318359375" + } + }, + { + "carrier": "n", + "face": 1, + "node": 2, + "block": "density", + "exact_zero": false, + "step_binary64_hex": "0x1.1bc3292b80000p+46", + "plus_binary64_hex": "0x1.0e9dfc6b72b0cp+66", + "minus_binary64_hex": "0x1.0e9dd8f30d8b4p+66", + "effective_symmetric_span_ratio": { + "numerator": "9521484376", + "denominator": "9521484375" + }, + "ideal_symmetric_fd": { + "lower": { + "numerator": "14135099143004331013113060070249931048095032134522404345327321", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + }, + "upper": { + "numerator": "7067549571502165506556530035124965524047516067261202172663661", + "denominator": "57896044618658097711785492504343953926634992332820282019728792003956564819968" + } + }, + "represented_input_fd": { + "lower": { + "numerator": "7067549572244439430784039520121261601582691933581679757573965", + "denominator": "57896044618658097711785492504343953926634992332820282019728792003956564819968" + }, + "upper": { + "numerator": "3533774786122219715392019760060630800791345966790839878786983", + "denominator": "28948022309329048855892746252171976963317496166410141009864396001978282409984" + } + }, + "truncation": { + "numerator": "0", + "denominator": "1" + }, + "input_rounding": { + "numerator": "543657659346320423581271541163458886465193543635477090204897", + "denominator": "42404329554681223909999140017830044379859613525014854994918548831022874624000000000000" + }, + "conditional_fd_evaluation_error": { + "numerator": "295185962098435771382882644879148242085657303796129703", + "denominator": "28948022309329048855892746252171976963317496166410141009864396001978282409984" + }, + "conditional_jacobian_evaluation_error": { + "numerator": "3643142448234172633382246541977234174051504423", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + }, + "conditional_comparison_allowance": { + "numerator": "865889941322270912648214700967219137245486580375373909502675419", + "denominator": "84808659109362447819998280035660088759719227050029709989837097662045749248000000000000" + }, + "relative_to_nonzero_analytic_derivative": { + "numerator": "865889941322270912648214700967219137245486580375373909502675419", + "denominator": "10352855817630125253744917043640086216866478614152151620112783935546875" + } + }, + { + "carrier": "n", + "face": 1, + "node": 0, + "block": "potential", + "exact_zero": true, + "truncation": { + "numerator": "0", + "denominator": "1" + }, + "input_rounding": { + "numerator": "0", + "denominator": "1" + }, + "conditional_comparison_allowance": { + "numerator": "0", + "denominator": "1" + } + }, + { + "carrier": "n", + "face": 1, + "node": 1, + "block": "potential", + "exact_zero": false, + "step_binary64_hex": "0x1.ad7f29abcaf48p-24", + "plus_binary64_hex": "-0x1.47ada91b16dccp-6", + "minus_binary64_hex": "-0x1.47ae7fdaabb2ap-6", + "effective_symmetric_span_ratio": { + "numerator": "944473296568320", + "denominator": "944473296573929" + }, + "ideal_symmetric_fd": { + "lower": { + "numerator": "6229313461426627751700929331053033001567516937424575810683285523304039887960079789853", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + }, + "upper": { + "numerator": "6229313461426627751700929331053033001567516937424575810683285523304040022113819789865", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + } + }, + "represented_input_fd": { + "lower": { + "numerator": "6229313461389633355637135161510440737441263456097891756685362459568422305376412740113", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + }, + "upper": { + "numerator": "6229313461389633355637135161510440737441263456097891756685362459568422414281247740125", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + } + }, + "truncation": { + "numerator": "387446395005363999406030525126429188382886291002949979858012158879120673", + "denominator": "57896044618658097711785492504343953926634992332820282019728792003956564819968" + }, + "input_rounding": { + "numerator": "4624299507974271192824033015781685165835506749740382966952214592175881219", + "denominator": "14474011154664524427946373126085988481658748083205070504932198000989141204992" + }, + "conditional_fd_evaluation_error": { + "numerator": "1200693878504003973960019382981143470946467240072186291586888686393187259887", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + }, + "conditional_jacobian_evaluation_error": { + "numerator": "4140854730642995619576788351534187726433323265423283581136538915858783", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + }, + "conditional_comparison_allowance": { + "numerator": "154808413526567439312130410618250168104705437496922584820725445498408551221", + "denominator": "14474011154664524427946373126085988481658748083205070504932198000989141204992" + }, + "relative_to_nonzero_analytic_derivative": { + "numerator": "619233654106269757248521642473000672418821749987690339282901781993634204884", + "denominator": "3114656730713701322245470029525922531308884897900670791632645711631877956138616881569" + } + }, + { + "carrier": "n", + "face": 1, + "node": 2, + "block": "potential", + "exact_zero": false, + "step_binary64_hex": "0x1.ad7f29abcaf48p-24", + "plus_binary64_hex": "0x1.47ae4a2ac67d3p-5", + "minus_binary64_hex": "0x1.47addecafc123p-5", + "effective_symmetric_span_ratio": { + "numerator": "944473296601088", + "denominator": "944473296573929" + }, + "ideal_symmetric_fd": { + "lower": { + "numerator": "-6229313461426627751700929331053033001567516937424575810683285523304040022113819789865", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + }, + "upper": { + "numerator": "-6229313461426627751700929331053033001567516937424575810683285523304039887960079789853", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + } + }, + "represented_input_fd": { + "lower": { + "numerator": "-6229313461605756081652183716969818577025187598501750025345694971556160892715586286709", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + }, + "upper": { + "numerator": "-6229313461605756081652183716969818577025187598501750025345694971556160808489146286697", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + } + }, + "truncation": { + "numerator": "387446395005363999406030525126429188382886291002949979858012158879120673", + "denominator": "57896044618658097711785492504343953926634992332820282019728792003956564819968" + }, + "input_rounding": { + "numerator": "22391041243906798239598196932208832634646776832801181031515125594438312107", + "denominator": "14474011154664524427946373126085988481658748083205070504932198000989141204992" + }, + "conditional_fd_evaluation_error": { + "numerator": "984571152488955418500641543397219328542608971411853779599150183280453713303", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + }, + "conditional_jacobian_evaluation_error": { + "numerator": "4140854730642995619576788351534187726433323265423283581136538915858783", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + }, + "conditional_comparison_allowance": { + "numerator": "72779907255309448463241172293343398886517211998720909443410521805789644393", + "denominator": "7237005577332262213973186563042994240829374041602535252466099000494570602496" + }, + "relative_to_nonzero_analytic_derivative": { + "numerator": "582239258042475587705929378346747191092137695989767275547284174446317155144", + "denominator": "3114656730713701322245470029525922531308884897900670791632645711631877956138616881569" + } + }, + { + "carrier": "p", + "face": 0, + "node": 0, + "block": "density", + "exact_zero": false, + "step_binary64_hex": "0x1.b48eb57e00000p+46", + "plus_binary64_hex": "0x1.a0558456890fep+66", + "minus_binary64_hex": "0x1.a0554dc4b2602p+66", + "effective_symmetric_span_ratio": { + "numerator": "1", + "denominator": "1" + }, + "ideal_symmetric_fd": { + "lower": { + "numerator": "7860046789473164213393661119078706106146059620650860936313653", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + }, + "upper": { + "numerator": "3930023394736582106696830559539353053073029810325430468156827", + "denominator": "57896044618658097711785492504343953926634992332820282019728792003956564819968" + } + }, + "represented_input_fd": { + "lower": { + "numerator": "7860046789473164213393661119078706106146059620650860936313653", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + }, + "upper": { + "numerator": "3930023394736582106696830559539353053073029810325430468156827", + "denominator": "57896044618658097711785492504343953926634992332820282019728792003956564819968" + } + }, + "truncation": { + "numerator": "0", + "denominator": "1" + }, + "input_rounding": { + "numerator": "0", + "denominator": "1" + }, + "conditional_fd_evaluation_error": { + "numerator": "9729005340514959445419347640428368369392439712924875", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + }, + "conditional_jacobian_evaluation_error": { + "numerator": "1600709351906959695393645520282318217803580619", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + }, + "conditional_comparison_allowance": { + "numerator": "4864503470612155676189521517036944325855328758252747", + "denominator": "57896044618658097711785492504343953926634992332820282019728792003956564819968" + }, + "relative_to_nonzero_analytic_derivative": { + "numerator": "9729006941224311352379043034073888651710657516505494", + "denominator": "7860046789473164213393661119078706106146059620650860936313653" + } + }, + { + "carrier": "p", + "face": 0, + "node": 1, + "block": "density", + "exact_zero": false, + "step_binary64_hex": "0x1.8289060790000p+51", + "plus_binary64_hex": "0x1.70a10d2c9eb0cp+71", + "minus_binary64_hex": "0x1.70a0dcdb7defcp+71", + "effective_symmetric_span_ratio": { + "numerator": "103759765632", + "denominator": "103759765625" + }, + "ideal_symmetric_fd": { + "lower": { + "numerator": "-611514276808435584236749714667282036304095486461805082330415", + "denominator": "28948022309329048855892746252171976963317496166410141009864396001978282409984" + }, + "upper": { + "numerator": "-2446057107233742336946998858669128145216381945847220329321659", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + } + }, + "represented_input_fd": { + "lower": { + "numerator": "-1223028553699380991271859264963910368226733610782014991897691", + "denominator": "57896044618658097711785492504343953926634992332820282019728792003956564819968" + }, + "upper": { + "numerator": "-611514276849690495635929632481955184113366805391007495948845", + "denominator": "28948022309329048855892746252171976963317496166410141009864396001978282409984" + } + }, + "truncation": { + "numerator": "0", + "denominator": "1" + }, + "input_rounding": { + "numerator": "856119987531809817931449600534194850825733681046527115262581", + "denominator": "600728002024650672058321150252592295381344524937710445761346108439490723840000000000000" + }, + "conditional_fd_evaluation_error": { + "numerator": "176340233466733935805392479457565530756260291474899", + "denominator": "28948022309329048855892746252171976963317496166410141009864396001978282409984" + }, + "conditional_jacobian_evaluation_error": { + "numerator": "1048585010370744577182603484692600208159599429", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + }, + "conditional_comparison_allowance": { + "numerator": "18062118746127097593777190867192560489276126293379742494253449", + "denominator": "2402912008098602688233284601010369181525378099750841783045384433757962895360000000000000" + }, + "relative_to_nonzero_analytic_derivative": { + "numerator": "286700297557572977679003029637977150623430576085392738004023", + "denominator": "805721625879170149121461522611591224669024620989171502946510009765625" + } + }, + { + "carrier": "p", + "face": 0, + "node": 2, + "block": "density", + "exact_zero": true, + "truncation": { + "numerator": "0", + "denominator": "1" + }, + "input_rounding": { + "numerator": "0", + "denominator": "1" + }, + "conditional_comparison_allowance": { + "numerator": "0", + "denominator": "1" + } + }, + { + "carrier": "p", + "face": 0, + "node": 0, + "block": "potential", + "exact_zero": false, + "step_binary64_hex": "0x1.ad7f29abcaf48p-24", + "plus_binary64_hex": "0x1.47aeeb3a761d9p-7", + "minus_binary64_hex": "0x1.47ad3dbb4c71dp-7", + "effective_symmetric_span_ratio": { + "numerator": "944473296568320", + "denominator": "944473296573929" + }, + "ideal_symmetric_fd": { + "lower": { + "numerator": "810338260830403992889163750817277268850867679955034058348729619036358317254318425", + "denominator": "452312848583266388373324160190187140051835877600158453279131187530910662656" + }, + "upper": { + "numerator": "103723297386291711089812960104611490412911063034244359468637391236653866419017758401", + "denominator": "57896044618658097711785492504343953926634992332820282019728792003956564819968" + } + }, + "represented_input_fd": { + "lower": { + "numerator": "51861648692837861673004327944673912680027301519836802338137967580778903259817129247", + "denominator": "28948022309329048855892746252171976963317496166410141009864396001978282409984" + }, + "upper": { + "numerator": "207446594771351446692017311778695650720109206079347209352551870323115616708263516989", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + } + }, + "truncation": { + "numerator": "12382041712848324074795274051523683406921616493983733798782410260156797", + "denominator": "28948022309329048855892746252171976963317496166410141009864396001978282409984" + }, + "input_rounding": { + "numerator": "615987743804304215263665052856459994570754792361456075096059899383499907", + "denominator": "57896044618658097711785492504343953926634992332820282019728792003956564819968" + }, + "conditional_fd_evaluation_error": { + "numerator": "20909556485585534400834095871648808120991242035679745383544968521383516989", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + }, + "conditional_jacobian_evaluation_error": { + "numerator": "121805106920396379128315428670960057435965595440949690477548887206969", + "denominator": "57896044618658097711785492504343953926634992332820282019728792003956564819968" + }, + "conditional_comparison_allowance": { + "numerator": "22191303750259376920418863704425164763875310017569474368313173058965557929", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + }, + "relative_to_nonzero_analytic_derivative": { + "numerator": "22191303750259376920418863704425164763875310017569474368313173058965557929", + "denominator": "207446594772533894012774526912923799729616031334861032471298847538112603196994889614" + } + }, + { + "carrier": "p", + "face": 0, + "node": 1, + "block": "potential", + "exact_zero": false, + "step_binary64_hex": "0x1.ad7f29abcaf48p-24", + "plus_binary64_hex": "-0x1.47ada91b16dccp-6", + "minus_binary64_hex": "-0x1.47ae7fdaabb2ap-6", + "effective_symmetric_span_ratio": { + "numerator": "944473296568320", + "denominator": "944473296573929" + }, + "ideal_symmetric_fd": { + "lower": { + "numerator": "-103723297386291711089812960104611490412911063034244359468637391236653866419017758401", + "denominator": "57896044618658097711785492504343953926634992332820282019728792003956564819968" + }, + "upper": { + "numerator": "-810338260830403992889163750817277268850867679955034058348729619036358317254318425", + "denominator": "452312848583266388373324160190187140051835877600158453279131187530910662656" + } + }, + "represented_input_fd": { + "lower": { + "numerator": "-207446594771351446692017311778695650720109206079347209352551870323115616708263516989", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + }, + "upper": { + "numerator": "-51861648692837861673004327944673912680027301519836802338137967580778903259817129247", + "denominator": "28948022309329048855892746252171976963317496166410141009864396001978282409984" + } + }, + "truncation": { + "numerator": "12382041712848324074795274051523683406921616493983733798782410260156797", + "denominator": "28948022309329048855892746252171976963317496166410141009864396001978282409984" + }, + "input_rounding": { + "numerator": "615987743804304215263665052856459994570754792361456075096059899383499907", + "denominator": "57896044618658097711785492504343953926634992332820282019728792003956564819968" + }, + "conditional_fd_evaluation_error": { + "numerator": "20909556485585534400834095871648808120991242035679745383544968521383516989", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + }, + "conditional_jacobian_evaluation_error": { + "numerator": "121805106920396379128315428670960057435965595440949690477548887206969", + "denominator": "57896044618658097711785492504343953926634992332820282019728792003956564819968" + }, + "conditional_comparison_allowance": { + "numerator": "22191303750259376920418863704425164763875310017569474368313173058965557929", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + }, + "relative_to_nonzero_analytic_derivative": { + "numerator": "22191303750259376920418863704425164763875310017569474368313173058965557929", + "denominator": "207446594772533894012774526912923799729616031334861032471298847538112603196994889614" + } + }, + { + "carrier": "p", + "face": 0, + "node": 2, + "block": "potential", + "exact_zero": true, + "truncation": { + "numerator": "0", + "denominator": "1" + }, + "input_rounding": { + "numerator": "0", + "denominator": "1" + }, + "conditional_comparison_allowance": { + "numerator": "0", + "denominator": "1" + } + }, + { + "carrier": "p", + "face": 1, + "node": 0, + "block": "density", + "exact_zero": true, + "truncation": { + "numerator": "0", + "denominator": "1" + }, + "input_rounding": { + "numerator": "0", + "denominator": "1" + }, + "conditional_comparison_allowance": { + "numerator": "0", + "denominator": "1" + } + }, + { + "carrier": "p", + "face": 1, + "node": 1, + "block": "density", + "exact_zero": false, + "step_binary64_hex": "0x1.8289060790000p+51", + "plus_binary64_hex": "0x1.70a10d2c9eb0cp+71", + "minus_binary64_hex": "0x1.70a0dcdb7defcp+71", + "effective_symmetric_span_ratio": { + "numerator": "103759765632", + "denominator": "103759765625" + }, + "ideal_symmetric_fd": { + "lower": { + "numerator": "14135099143004331013113060070249931048095032134522404345327321", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + }, + "upper": { + "numerator": "7067549571502165506556530035124965524047516067261202172663661", + "denominator": "57896044618658097711785492504343953926634992332820282019728792003956564819968" + } + }, + "represented_input_fd": { + "lower": { + "numerator": "1766887392994741836235667855489470104051351376524412531801511", + "denominator": "14474011154664524427946373126085988481658748083205070504932198000989141204992" + }, + "upper": { + "numerator": "7067549571978967344942671421957880416205405506097650127206045", + "denominator": "57896044618658097711785492504343953926634992332820282019728792003956564819968" + } + }, + "truncation": { + "numerator": "0", + "denominator": "1" + }, + "input_rounding": { + "numerator": "49472847000515158545895710245874758668332612470828415208645627", + "denominator": "6007280020246506720583211502525922953813445249377104457613461084394907238400000000000000" + }, + "conditional_fd_evaluation_error": { + "numerator": "1691893048990907038325094194269323932559357798119069", + "denominator": "57896044618658097711785492504343953926634992332820282019728792003956564819968" + }, + "conditional_jacobian_evaluation_error": { + "numerator": "3643142448234172633382246541977234174051504423", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + }, + "conditional_comparison_allowance": { + "numerator": "450046924464363198463788308329568287600331753332913770114556879", + "denominator": "12014560040493013441166423005051845907626890498754208915226922168789814476800000000000000" + }, + "relative_to_nonzero_analytic_derivative": { + "numerator": "450046924464363198463788308329568287600331753332913770114556879", + "denominator": "1466654574164267744280529914515678880722751137004888146182644390869140625" + } + }, + { + "carrier": "p", + "face": 1, + "node": 2, + "block": "density", + "exact_zero": false, + "step_binary64_hex": "0x1.1bc3292b80000p+46", + "plus_binary64_hex": "0x1.0e9dfc6b72b0cp+66", + "minus_binary64_hex": "0x1.0e9dd8f30d8b4p+66", + "effective_symmetric_span_ratio": { + "numerator": "9521484376", + "denominator": "9521484375" + }, + "ideal_symmetric_fd": { + "lower": { + "numerator": "-18244247295343346834168876940649682673827798926341132240034433", + "denominator": "14474011154664524427946373126085988481658748083205070504932198000989141204992" + }, + "upper": { + "numerator": "-145953978362746774673351015525197461390622391410729057920275463", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + } + }, + "represented_input_fd": { + "lower": { + "numerator": "-18244247297259460601392629469694701134056032265623149275990671", + "denominator": "14474011154664524427946373126085988481658748083205070504932198000989141204992" + }, + "upper": { + "numerator": "-72976989189037842405570517878778804536224129062492597103962683", + "denominator": "57896044618658097711785492504343953926634992332820282019728792003956564819968" + } + }, + "truncation": { + "numerator": "0", + "denominator": "1" + }, + "input_rounding": { + "numerator": "1403403638103334371859144380049975590294446071257010172310341", + "denominator": "10601082388670305977499785004457511094964903381253713748729637207755718656000000000000" + }, + "conditional_fd_evaluation_error": { + "numerator": "96354049735607628656746664482663309678873268375967173", + "denominator": "57896044618658097711785492504343953926634992332820282019728792003956564819968" + }, + "conditional_jacobian_evaluation_error": { + "numerator": "3738690824878675537009935952363290220819913345", + "denominator": "14474011154664524427946373126085988481658748083205070504932198000989141204992" + }, + "conditional_comparison_allowance": { + "numerator": "76185439276806107144259438254384804069210610204672000406038239", + "denominator": "42404329554681223909999140017830044379859613525014854994918548831022874624000000000000" + }, + "relative_to_nonzero_analytic_derivative": { + "numerator": "152370878553612214288518876508769608138421220409344000812076478", + "denominator": "106899886496152422856458263324119234416959759334030071718951755126953125" + } + }, + { + "carrier": "p", + "face": 1, + "node": 0, + "block": "potential", + "exact_zero": true, + "truncation": { + "numerator": "0", + "denominator": "1" + }, + "input_rounding": { + "numerator": "0", + "denominator": "1" + }, + "conditional_comparison_allowance": { + "numerator": "0", + "denominator": "1" + } + }, + { + "carrier": "p", + "face": 1, + "node": 1, + "block": "potential", + "exact_zero": false, + "step_binary64_hex": "0x1.ad7f29abcaf48p-24", + "plus_binary64_hex": "-0x1.47ada91b16dccp-6", + "minus_binary64_hex": "-0x1.47ae7fdaabb2ap-6", + "effective_symmetric_span_ratio": { + "numerator": "944473296568320", + "denominator": "944473296573929" + }, + "ideal_symmetric_fd": { + "lower": { + "numerator": "44118361583680491877348834616458223435891482363194382293409362974631974164653452433", + "denominator": "3618502788666131106986593281521497120414687020801267626233049500247285301248" + }, + "upper": { + "numerator": "352946892669443935018790676931665787487131858905555058347274903797055810656961369465", + "denominator": "28948022309329048855892746252171976963317496166410141009864396001978282409984" + } + }, + "represented_input_fd": { + "lower": { + "numerator": "1411787570669391472872833714846133501097820074086810986545384978504980319347457672843", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + }, + "upper": { + "numerator": "1411787570669391472872833714846133501097820074086810986545384978504980371556832672847", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + } + }, + "truncation": { + "numerator": "774892790010727998812061050252858376765772582005899959715971662524926821", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + }, + "input_rounding": { + "numerator": "8384267202328992880529648850707361535409246843714636683242923280387805017", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + }, + "conditional_fd_evaluation_error": { + "numerator": "143977051201417020796221092473690519000255177773442511160062114618622327157", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + }, + "conditional_jacobian_evaluation_error": { + "numerator": "1247032624098961420739657400977695719579662348234282995218755877008769", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + }, + "conditional_comparison_allowance": { + "numerator": "38284364556595210159245885508012929152037444215377820521504057079353016941", + "denominator": "28948022309329048855892746252171976963317496166410141009864396001978282409984" + }, + "relative_to_nonzero_analytic_derivative": { + "numerator": "153137458226380840636983542032051716608149776861511282086016228317412067764", + "denominator": "1411787570677000847285151979727851088898274577245454460807093715228507270965320551039" + } + }, + { + "carrier": "p", + "face": 1, + "node": 2, + "block": "potential", + "exact_zero": false, + "step_binary64_hex": "0x1.ad7f29abcaf48p-24", + "plus_binary64_hex": "0x1.47ae4a2ac67d3p-5", + "minus_binary64_hex": "0x1.47addecafc123p-5", + "effective_symmetric_span_ratio": { + "numerator": "944473296601088", + "denominator": "944473296573929" + }, + "ideal_symmetric_fd": { + "lower": { + "numerator": "-352946892669443935018790676931665787487131858905555058347274903797055810656961369465", + "denominator": "28948022309329048855892746252171976963317496166410141009864396001978282409984" + }, + "upper": { + "numerator": "-44118361583680491877348834616458223435891482363194382293409362974631974164653452433", + "denominator": "3618502788666131106986593281521497120414687020801267626233049500247285301248" + } + }, + "represented_input_fd": { + "lower": { + "numerator": "-1411787570718372693711827553089886138324210229936665194615090649317245436642055296801", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + }, + "upper": { + "numerator": "-705893785359186346855913776544943069162105114968332597307545324658622688356835148399", + "denominator": "57896044618658097711785492504343953926634992332820282019728792003956564819968" + } + }, + "truncation": { + "numerator": "774892790010727998812061050252858376765772582005899959715971662524926821", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + }, + "input_rounding": { + "numerator": "40596953636664845363222988375682794314444961225991034129022263373144818945", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + }, + "conditional_fd_evaluation_error": { + "numerator": "107203769641206615907534157905346866901877613465317453260480079545095296801", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + }, + "conditional_jacobian_evaluation_error": { + "numerator": "1247032624098961420739657400977695719579662348234282995218755877008769", + "denominator": "115792089237316195423570985008687907853269984665640564039457584007913129639936" + }, + "conditional_comparison_allowance": { + "numerator": "18572107887563286028873743373585437161100990866957827704026691667080256417", + "denominator": "14474011154664524427946373126085988481658748083205070504932198000989141204992" + }, + "relative_to_nonzero_analytic_derivative": { + "numerator": "148576863100506288230989946988683497288807926935662621632213533336642051336", + "denominator": "1411787570677000847285151979727851088898274577245454460807093715228507270965320551039" + } + } + ], + "conditional_arithmetic_contract": { + "u": { + "numerator": "1", + "denominator": "9007199254740992" + }, + "two_term_action_gamma": { + "numerator": "1", + "denominator": "4503599627370495" + }, + "assumptions": [ + "nearest-even normal binary64 add/subtract/multiply/divide/square and no contraction changing the declared comparison schedule", + "exp and expm1 within one neighboring binary64 step of the correctly rounded analytic result for this finite argument set" + ], + "library_contract_proved": false, + "no_arbitrary_absolute_floor": true, + "rule": "exact structural/gauge zeros; otherwise abs(action-reference midpoint)<=reference radius+coefficient error debit+gamma2*(absolute term scale+coefficient debit)", + "weak_rule": "reference min-absolute magnitude <= absolute allowance: absolute comparison only; no relative-resolution claim" + } +} diff --git a/perovskite-sim/tests/integration/backend/conftest.py b/perovskite-sim/tests/integration/backend/conftest.py new file mode 100644 index 00000000..09256c6b --- /dev/null +++ b/perovskite-sim/tests/integration/backend/conftest.py @@ -0,0 +1,8 @@ +"""Keep real API workers inside the lifetime of their patched test inputs.""" + +import pytest + + +@pytest.fixture(autouse=True) +def _finish_backend_jobs(finish_background_jobs: None) -> None: + """Reuse the opt-in root fixture for the backend integration subtree.""" diff --git a/perovskite-sim/tests/unit/backend/conftest.py b/perovskite-sim/tests/unit/backend/conftest.py new file mode 100644 index 00000000..e4a74b4e --- /dev/null +++ b/perovskite-sim/tests/unit/backend/conftest.py @@ -0,0 +1,8 @@ +"""Backend tests own background-job cleanup; ordinary core tests stay import-light.""" + +import pytest + + +@pytest.fixture(autouse=True) +def _finish_backend_jobs(finish_background_jobs: None) -> None: + """Wait for real jobs before the shared monkeypatch fixture is undone.""" diff --git a/perovskite-sim/tests/unit/discretization/test_fe_operators.py b/perovskite-sim/tests/unit/discretization/test_fe_operators.py index 78ad356d..19ecc8bd 100644 --- a/perovskite-sim/tests/unit/discretization/test_fe_operators.py +++ b/perovskite-sim/tests/unit/discretization/test_fe_operators.py @@ -1,5 +1,11 @@ +import json +import math +from fractions import Fraction +from pathlib import Path + import numpy as np import pytest +from perovskite_sim.constants import Q from perovskite_sim.discretization.fe_operators import ( bernoulli, bernoulli_derivative, @@ -12,6 +18,32 @@ ) +def _sg_rational(value): + return Fraction(int(value["numerator"]), int(value["denominator"])) + + +def _assert_sg_action(coefficients, case): + """Apply the frozen requirement without assuming an exp/expm1 error theorem.""" + face = case["face"] + direction = [float.fromhex(value) for value in case["direction_binary64_hex"]] + # This schedule is two binary64 products followed by one binary64 addition. + left = float(coefficients[face, face]) * direction[face] + right = float(coefficients[face, face + 1]) * direction[face + 1] + observed = left + right + label = (case["carrier"], face, case["name"]) + assert math.isfinite(observed), label + if case["classification"] == "exact_zero": + assert observed == 0.0, label + else: + target = case["reference_action"] + midpoint = (_sg_rational(target["lower"]) + _sg_rational(target["upper"])) / 2 + error = abs(Fraction.from_float(observed) - midpoint) + # Weak/out-of-box actions retain their own absolute allowance, not a floor. + assert error <= _sg_rational(case["conditional_absolute_allowance_A_m2"]), ( + label, observed.hex(), error + ) + + def test_bernoulli_at_zero(): assert bernoulli(np.array([0.0]))[0] == pytest.approx(1.0) @@ -72,6 +104,18 @@ def test_vector_sg_face_jacobian_matches_independent_finite_difference( dx = np.array([8.0e-9, 2.3e-8]) diffusion = np.array([2.0e-6, 7.0e-5]) thermal_voltage = 0.0257 + reference = json.loads( + (Path(__file__).parents[2] / "fixtures" / "sg_action_reference_v1.json") + .read_text(encoding="utf-8") + ) + assert { + "phi": [float(value).hex() for value in phi], + "density": [float(value).hex() for value in density], + "dx": [float(value).hex() for value in dx], + "diffusion": [float(value).hex() for value in diffusion], + "thermal_voltage": thermal_voltage.hex(), + "Q": Q.hex(), + } == reference["fixture"]["binary64_hex"] local = jacobian_function( phi, density, @@ -96,12 +140,18 @@ def test_vector_sg_face_jacobian_matches_independent_finite_difference( density_difference = np.empty_like(expected_density) potential_difference = np.empty_like(expected_potential) + perturbations = {"density": [], "potential": []} for node in range(density.size): density_step = density[node] * 1.0e-6 density_plus = density.copy() density_minus = density.copy() density_plus[node] += density_step density_minus[node] -= density_step + perturbations["density"].append( + tuple(float(value).hex() for value in ( + density_step, density_plus[node], density_minus[node] + )) + ) density_difference[:, node] = ( flux_function( phi, @@ -124,6 +174,11 @@ def test_vector_sg_face_jacobian_matches_independent_finite_difference( potential_minus = phi.copy() potential_plus[node] += potential_step potential_minus[node] -= potential_step + perturbations["potential"].append( + tuple(float(value).hex() for value in ( + potential_step, potential_plus[node], potential_minus[node] + )) + ) potential_difference[:, node] = ( flux_function( potential_plus, @@ -147,18 +202,31 @@ def test_vector_sg_face_jacobian_matches_independent_finite_difference( rtol=0.0, atol=0.0, ) - np.testing.assert_allclose( - density_difference, - expected_density, - rtol=3.0e-7, - atol=float(np.max(np.abs(expected_density))) * 1.0e-9, - ) - np.testing.assert_allclose( - potential_difference, - expected_potential, - rtol=3.0e-7, - atol=float(np.max(np.abs(expected_potential))) * 1.0e-9, - ) + carrier = "n" if flux_function is sg_fluxes_n else "p" + jacobians = {"density": expected_density, "potential": expected_potential} + differences = {"density": density_difference, "potential": potential_difference} + for case in reference["finite_difference_decomposition"]: + if case["carrier"] != carrier: + continue + block, face, node = case["block"], case["face"], case["node"] + observed = float(differences[block][face, node]) + coefficient = float(jacobians[block][face, node]) + label = (carrier, block, face, node) + assert math.isfinite(observed) and math.isfinite(coefficient), label + if case["exact_zero"]: + assert observed == coefficient == 0.0, label + else: + assert perturbations[block][node] == tuple(case[key] for key in ( + "step_binary64_hex", "plus_binary64_hex", "minus_binary64_hex" + )), label + # Subtract exact dyadics; a rounded float difference is not the error. + error = abs(Fraction.from_float(observed) - Fraction.from_float(coefficient)) + assert error <= _sg_rational(case["conditional_comparison_allowance"]), ( + label, observed.hex(), coefficient.hex(), error + ) + for case in reference["signed_actions"]: + if case["carrier"] == carrier: + _assert_sg_action(jacobians[case["block"]], case) def test_sg_flux_n_equilibrium(): diff --git a/perovskite-sim/tests/unit/test_pytest_isolation.py b/perovskite-sim/tests/unit/test_pytest_isolation.py new file mode 100644 index 00000000..abdfb340 --- /dev/null +++ b/perovskite-sim/tests/unit/test_pytest_isolation.py @@ -0,0 +1,85 @@ +"""Test import isolation and job cleanup through fresh pytest processes.""" + +from __future__ import annotations + +import os +from pathlib import Path +import subprocess +import sys +import textwrap + +import pytest + + +PROJECT = Path(__file__).resolve().parents[2] + + +def _run_case(tmp_path: Path, body: str, *, backend_scope: str | None) -> None: + conftest = (PROJECT / "tests/conftest.py").read_text() + if backend_scope is not None: + conftest += ( + "\n" + + (PROJECT / "tests" / backend_scope / "backend/conftest.py").read_text() + ) + (tmp_path / "conftest.py").write_text(conftest) + (tmp_path / "test_case.py").write_text(textwrap.dedent(body)) + env = dict(os.environ, PYTHONDONTWRITEBYTECODE="1") + env["PYTHONPATH"] = str(PROJECT) + result = subprocess.run( + [sys.executable, "-m", "pytest", "-q", "-p", "no:cacheprovider"], + cwd=tmp_path, + env=env, + capture_output=True, + text=True, + timeout=30, + check=False, + ) + assert result.returncode == 0, result.stdout + result.stderr + + +def test_core_pytest_does_not_import_backend(tmp_path: Path) -> None: + _run_case( + tmp_path, + """ + import sys + import numpy + import scipy + import perovskite_sim + + def test_core(): + assert not any( + name == "backend" or name.startswith("backend.") + for name in sys.modules + ) + """, + backend_scope=None, + ) + + +@pytest.mark.parametrize("backend_scope", ["unit", "integration"]) +def test_backend_cleanup_precedes_monkeypatch_undo( + tmp_path: Path, backend_scope: str +) -> None: + _run_case( + tmp_path, + """ + import time + from types import SimpleNamespace + from backend.jobs import JobRegistry + + state = SimpleNamespace(value="original", observed=[]) + + def test_submit(monkeypatch): + monkeypatch.setattr(state, "value", "patched") + def job(_reporter): + time.sleep(0.02) + state.observed.append(state.value) + return {} + JobRegistry().submit(job) + + def test_finished(): + assert state.observed == ["patched"] + assert state.value == "original" + """, + backend_scope=backend_scope, + ) diff --git a/perovskite-sim/uv.lock b/perovskite-sim/uv.lock new file mode 100644 index 00000000..b91b2db1 --- /dev/null +++ b/perovskite-sim/uv.lock @@ -0,0 +1,3816 @@ +version = 1 +revision = 3 +requires-python = ">=3.11" +resolution-markers = [ + "python_full_version == '3.14.*'", + "python_full_version >= '3.12' and python_full_version < '3.14'", + "python_full_version < '3.12'", +] +supported-markers = [ + "python_full_version < '3.15'", +] + +[options] +exclude-newer = "2026-10-05T08:33:47Z" + +[manifest] +constraints = [ + { name = "annotated-doc", specifier = "==0.0.5" }, + { name = "annotated-types", specifier = "==0.8.0" }, + { name = "anyio", specifier = "==4.15.1" }, + { name = "certifi", specifier = "==2026.7.22" }, + { name = "click", specifier = "==8.5.0" }, + { name = "contourpy", marker = "python_full_version >= '3.12'", specifier = "==1.4.0" }, + { name = "coverage", specifier = "==7.16.0" }, + { name = "cycler", specifier = "==0.12.1" }, + { name = "fonttools", specifier = "==4.65.0" }, + { name = "h11", specifier = "==0.16.0" }, + { name = "httpcore", specifier = "==1.0.9" }, + { name = "idna", specifier = "==3.19" }, + { name = "iniconfig", specifier = "==2.3.0" }, + { name = "kiwisolver", specifier = "==1.5.1" }, + { name = "packaging", specifier = "==26.3" }, + { name = "pillow", specifier = "==12.3.0" }, + { name = "pluggy", specifier = "==1.6.0" }, + { name = "pydantic-core", specifier = "==2.46.5" }, + { name = "pygments", specifier = "==2.21.0" }, + { name = "pyparsing", specifier = "==3.3.2" }, + { name = "python-dateutil", specifier = "==2.9.0.post0" }, + { name = "six", specifier = "==1.17.0" }, + { name = "starlette", specifier = "==1.6.0" }, + { name = "typing-extensions", specifier = "==4.16.0" }, + { name = "typing-inspection", specifier = "==0.4.4" }, +] + +[[package]] +name = "amqp" +version = "5.4.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "vine" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/b2/a7/787f067b237d4b3bfefa8d67ead64a7d807feafe85ad516afb284fb1587f/amqp-5.4.0.tar.gz", hash = "sha256:aaa33987dcb6a7893955d3b4f537c5d4755addce1009929e63e5d18c1b51a0a7", size = 131733, upload-time = "2026-09-19T08:39:40.147Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/07/99/6b965aa99a32630c1c61ce57c9dcf81cec6fec354274a87f14525302b7f7/amqp-5.4.0-py3-none-any.whl", hash = "sha256:5d931d8442a403b6d4a5725a868a55edaa40734eae37d282b16be9fa710bd8ee", size = 51856, upload-time = "2026-09-19T08:39:38.404Z" }, +] + +[[package]] +name = "annotated-doc" +version = "0.0.5" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/5a/8e/38aa427ed5402449e226975b649c5dc73ccadfefeb95e6aecb8f8ea4b6b6/annotated_doc-0.0.5.tar.gz", hash = "sha256:c7e58ce09192557605d8bbd92836d7e1d520ac9580096042c0bfd197efacf1bb", size = 10758, upload-time = "2026-07-28T13:50:58.129Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/3e/30/e900b21425a860e195f32e37657aa1f7c7f2b1bfb26f03ca209b90933c06/annotated_doc-0.0.5-py3-none-any.whl", hash = "sha256:117bac03a25ede5df5440e855b32d556049ca169ead221505badf432fed4b101", size = 5302, upload-time = "2026-07-28T13:50:57.239Z" }, +] + +[[package]] +name = "annotated-types" +version = "0.8.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/5f/56/a8120250d128bed162cd73c76d45f6ef9991f3e068f62a8ee060afa3104a/annotated_types-0.8.0.tar.gz", hash = "sha256:13b2beaad985e05e2d6407ee4c4f35590b11f8d693a258a561055cac8f64cab7", size = 15893, upload-time = "2026-07-23T20:16:13.995Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/99/91/8acff4f5e50511b911bbccb72b8628a49c68ce14148cd9f6431094859a90/annotated_types-0.8.0-py3-none-any.whl", hash = "sha256:f072f4d804ea359e4eaf198b1af7a8b0943881a87f31bb764f8bf219bb9419e0", size = 13427, upload-time = "2026-07-23T20:16:12.938Z" }, +] + +[[package]] +name = "anyio" +version = "4.15.1" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "idna" }, + { name = "typing-extensions" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/a9/d2/f4d173e22df740bc37b1db102b386ba719b66e95b0f0d751f556b387e6d2/anyio-4.15.1.tar.gz", hash = "sha256:9f28306018cbd6d329e64a36d58256edff76dd996fe423bc957326e578b82a94", size = 276966, upload-time = "2026-09-05T10:42:39.44Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/12/b8/4bd346e22b28902df4d651910f5242c28d84e4a5c2435ca5c3f797ed7e2e/anyio-4.15.1-py3-none-any.whl", hash = "sha256:6152fdbbf9a77fdec97731721bebf7c4c44f7c29b424b0065826173efc7ed101", size = 132079, upload-time = "2026-09-05T10:42:37.923Z" }, +] + +[[package]] +name = "appnope" +version = "1.0.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/11/f7/a82489c2b6ebe32d3e2831895ae19c77861f0eadf3bb16034484d965dbb2/appnope-1.0.0.tar.gz", hash = "sha256:685db59cb6043c3c2e528adc0b3bce3a5f8d09bcf7492c6ea650d1b7421f3c49", size = 5454, upload-time = "2026-08-20T21:36:13.748Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/46/c7/6b687cb0f83d2a51017d47953f2ee430ffad6fec2a8ebc964e0718a33eb1/appnope-1.0.0-py3-none-any.whl", hash = "sha256:6fe0c04218aab65c54c4ff81638cdbf848d89f5653b74d68638a137f200dd16e", size = 4158, upload-time = "2026-08-20T21:36:12.444Z" }, +] + +[[package]] +name = "argon2-cffi" +version = "25.1.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "argon2-cffi-bindings" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/0e/89/ce5af8a7d472a67cc819d5d998aa8c82c5d860608c4db9f46f1162d7dab9/argon2_cffi-25.1.0.tar.gz", hash = "sha256:694ae5cc8a42f4c4e2bf2ca0e64e51e23a040c6a517a85074683d3959e1346c1", size = 45706, upload-time = "2025-06-03T06:55:32.073Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/4f/d3/a8b22fa575b297cd6e3e3b0155c7e25db170edf1c74783d6a31a2490b8d9/argon2_cffi-25.1.0-py3-none-any.whl", hash = "sha256:fdc8b074db390fccb6eb4a3604ae7231f219aa669a2652e0f20e16ba513d5741", size = 14657, upload-time = "2025-06-03T06:55:30.804Z" }, +] + +[[package]] +name = "argon2-cffi-bindings" +version = "26.1.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "cffi" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/0b/43/bb8b6e8708d49a5ab36781333af092d9f483b198a2710d01281204640055/argon2_cffi_bindings-26.1.0.tar.gz", hash = "sha256:63505c71542a44b68b1e38060450fb006404170da375feb31af153e7f9c6205d", size = 1790807, upload-time = "2026-08-20T07:44:22.492Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/e7/d2/0ae991f1b2181e5be49007c574710a800ad36c2978683addb3e67c474e55/argon2_cffi_bindings-26.1.0-cp310-abi3-macosx_11_0_arm64.whl", hash = "sha256:21ca0396fe5ec995dd54431c32698189666f9224810acfa752e50d2bd94d9df2", size = 25521, upload-time = "2026-08-20T07:32:43.019Z" }, + { url = "https://files.pythonhosted.org/packages/7e/e4/ad91d8297638aa2258aad4501c306aca99480dfe76ccd638173fa3702db9/argon2_cffi_bindings-26.1.0-cp310-abi3-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:78de2d65e0b9ea7ce9d1b1c3e87297b2d7305a02c266ee2a2d6910daddd7ee69", size = 27177, upload-time = "2026-08-20T07:32:44.158Z" }, + { url = "https://files.pythonhosted.org/packages/6f/86/5363df11b86d02cf3662208e7406496327649cc90eb365bf6f4e8a54a41f/argon2_cffi_bindings-26.1.0-cp310-abi3-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:27f1821903e2ceadcb88ec2b45ef190897b7682449c772f4d9b53e42c520cf29", size = 26597, upload-time = "2026-08-20T07:32:45.172Z" }, + { url = "https://files.pythonhosted.org/packages/f4/b5/a14dcc592652347dad23ee93b278a4da5d2a25c9ed3ebd10d68eea823a4f/argon2_cffi_bindings-26.1.0-cp310-abi3-manylinux_2_34_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:d88e5f7e60f28ae0b0cc6b2f16c43e87cd642a196a86f85e0d8bb6fe016fc16d", size = 27403, upload-time = "2026-08-20T07:32:46.13Z" }, + { url = "https://files.pythonhosted.org/packages/b3/81/b4a20d4902af7f796390bf9245ff83c5217dfa7367efa1d14986956c482b/argon2_cffi_bindings-26.1.0-cp310-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:34b7d9c24a4165a2c61cc8ae11d44d48c9ce2830fb536cb7914e11fdd9962728", size = 27132, upload-time = "2026-08-20T07:32:47.13Z" }, + { url = "https://files.pythonhosted.org/packages/7e/1b/c8de358af07b1c490e0fcb863ef98e46ddb486e45567aca5a60bd68d9daa/argon2_cffi_bindings-26.1.0-cp310-abi3-musllinux_1_2_riscv64.whl", hash = "sha256:224865cbbcb7a2bd1356741dff12b0134df726b6d44bb7b500df8e303cbd9e81", size = 27588, upload-time = "2026-08-20T07:32:48.087Z" }, + { url = "https://files.pythonhosted.org/packages/48/2f/7ee62a6e79f9309f9d9982d301b22a00010adb580c05c8109b94d7b33de0/argon2_cffi_bindings-26.1.0-cp310-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:ffff613aaa9ce6236766e2fc6dc560bb5abde7a2e2416e3db1f9ae395a2b4dd4", size = 26785, upload-time = "2026-08-20T07:32:48.977Z" }, + { url = "https://files.pythonhosted.org/packages/e9/10/960d0ee93d4897741bcaf4799c697dae2d81499f66fd1ed042a7dd54c1f4/argon2_cffi_bindings-26.1.0-cp310-abi3-win32.whl", hash = "sha256:a86c069c91a747a2c4e5c51473590aeb48172fff9b2130d23729a42d98665ecb", size = 23898, upload-time = "2026-08-20T07:32:50.114Z" }, + { url = "https://files.pythonhosted.org/packages/6d/3a/0cc14a05810e6add9bce5e87693334baa2222de5f647fa31781885b6573f/argon2_cffi_bindings-26.1.0-cp310-abi3-win_amd64.whl", hash = "sha256:2c36ff87b5dfaa477d0bd51e9d7f6abdae7c8955d2983c97419085d842154b3e", size = 25730, upload-time = "2026-08-20T07:32:51.091Z" }, + { url = "https://files.pythonhosted.org/packages/4e/db/d83cf2af140547f0b9cdaece05b2dc2dcbf991be4667331d073eff771435/argon2_cffi_bindings-26.1.0-cp310-abi3-win_arm64.whl", hash = "sha256:f9c4420a7a864fe1b86ce35befc95b8e39fb852493b81cf798671ddc265de638", size = 24478, upload-time = "2026-08-20T07:32:52.111Z" }, + { url = "https://files.pythonhosted.org/packages/bb/5f/f652055e18d2627e2eed94c7f31a792127cfe38df786635395d742321674/argon2_cffi_bindings-26.1.0-cp313-cp313-pyemscripten_2025_0_wasm32.whl", hash = "sha256:af11ac37a7c53dc16cb7950a6190851b0870fe218b6c60c0bb7ac355234e3083", size = 15434, upload-time = "2026-08-20T07:32:53.143Z" }, + { url = "https://files.pythonhosted.org/packages/76/38/de696045960f5b846d428c0fb6c130ed3da87aac2af209b05c193815404c/argon2_cffi_bindings-26.1.0-cp314-cp314-pyemscripten_2026_0_wasm32.whl", hash = "sha256:db0fcd827ca61622a01b220aadfbece01939acf53888f2cb98cd93e9b1e2c97e", size = 15449, upload-time = "2026-08-20T07:32:54.075Z" }, + { url = "https://files.pythonhosted.org/packages/91/0a/c25af768f6b75a5a71e31207f87c540656b2808c015260444a22763221ad/argon2_cffi_bindings-26.1.0-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:28524438cd3e723f25412f63d4fd516ff5bae9ae5aa56acbe2a1404398a0cf31", size = 25683, upload-time = "2026-08-20T07:32:55.05Z" }, + { url = "https://files.pythonhosted.org/packages/a8/7e/be212c751ab0bcea7f646615f933bf262e8e50b3f7bef32f861d0a2d066b/argon2_cffi_bindings-26.1.0-cp314-cp314t-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:ac82fc756a446b6ccd7139ce70efa9d8bbe541e7ad579a12dcb52764b7175c5f", size = 27311, upload-time = "2026-08-20T07:32:56.166Z" }, + { url = "https://files.pythonhosted.org/packages/a6/ee/f84b28e4afd13d3cac36c1d8fa8c239d2dc2c51cd978d02ee5d5ad98d9bb/argon2_cffi_bindings-26.1.0-cp314-cp314t-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:6a4e68eed961a8de6928d1c17ff3dc2a547e0e923c17f8f1cd79fb7bc9502f98", size = 26771, upload-time = "2026-08-20T07:32:57.206Z" }, + { url = "https://files.pythonhosted.org/packages/21/c3/95c07a023691ecd529da9cb6a8f0779e13ebc1bdfaa86d145fdc1c6e7e79/argon2_cffi_bindings-26.1.0-cp314-cp314t-manylinux_2_34_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:151dfaad9de753f4af2a7854e707e4784f2acc434340ade64239c5b104b2d605", size = 27568, upload-time = "2026-08-20T07:32:58.361Z" }, + { url = "https://files.pythonhosted.org/packages/e6/31/3a18e31406d8694b4d6a31573c3e572fff6bed318bb744453eb653766d22/argon2_cffi_bindings-26.1.0-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:061a6919145bbf282ebf1f9c59d3135d4833c25313c8595c0d68cf7712ddfce2", size = 27280, upload-time = "2026-08-20T07:32:59.343Z" }, + { url = "https://files.pythonhosted.org/packages/0b/39/d4be4577e178b2397aa5b5575c8a309bf0da2afe05fe0c72c8f398662d63/argon2_cffi_bindings-26.1.0-cp314-cp314t-musllinux_1_2_riscv64.whl", hash = "sha256:62ff20cd130c956c7c9144d5fe35228f98b51c579b2439e988b27ef93e16c02a", size = 27776, upload-time = "2026-08-20T07:33:00.325Z" }, + { url = "https://files.pythonhosted.org/packages/71/47/78f4dd96f7411339f723b96fe24039c1bd5835102b8a5ba71ac4ec712ac7/argon2_cffi_bindings-26.1.0-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:19423e5d7ac1cc354baab59eaabf18db2ec04ef6593b5abe5a34f323c4a8f87a", size = 26932, upload-time = "2026-08-20T07:33:01.272Z" }, + { url = "https://files.pythonhosted.org/packages/3b/cd/96bfd37434cc0a848a9066c291d84b28846c4c9ea289ed9866b1164d622b/argon2_cffi_bindings-26.1.0-cp314-cp314t-win32.whl", hash = "sha256:4f84cdd868978d7b7350a566c254042d44216d9e37f241f3a6d3b1dfebeede35", size = 24878, upload-time = "2026-08-20T07:33:02.189Z" }, + { url = "https://files.pythonhosted.org/packages/f1/42/d8b6810abd9b1bd2f47ebbccf460da59c9f32e94888bea4f7b137d998797/argon2_cffi_bindings-26.1.0-cp314-cp314t-win_amd64.whl", hash = "sha256:2b741888c93147444fdfc851abd81cc207f37f7f7da42062a00deb3888e57da8", size = 26656, upload-time = "2026-08-20T07:33:03.222Z" }, + { url = "https://files.pythonhosted.org/packages/a9/d1/095d95eaf2ed1d9f77268cf3291bde148c6cd56121f8db2c74c1ba618a0e/argon2_cffi_bindings-26.1.0-cp314-cp314t-win_arm64.whl", hash = "sha256:6ab674f668d5962a3a4136ae0812519b0f1586874263723a32181d60d64137e1", size = 25378, upload-time = "2026-08-20T07:33:04.332Z" }, + { url = "https://files.pythonhosted.org/packages/66/cb/214092c39c4dbcb72cf98b12234ddac2221f8fe2c0acf29c6a70fa83be53/argon2_cffi_bindings-26.1.0-cp315-cp315t-macosx_11_0_arm64.whl", hash = "sha256:1d98e33bd8bd67d7206c124e200bf2229c4cfa8c9c19f7b44a897f0fc71837eb", size = 25683, upload-time = "2026-08-20T07:33:05.337Z" }, + { url = "https://files.pythonhosted.org/packages/83/e5/02015b83e9b05ccb85ff2ced424cf6e83a12d3810bc7f66d679a92b69ffb/argon2_cffi_bindings-26.1.0-cp315-cp315t-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:ccaf0a46cbb380f1fd102a874e32aa629fd3cb0c0e94f4943fa1f6d5edc5dac6", size = 27310, upload-time = "2026-08-20T07:33:06.344Z" }, + { url = "https://files.pythonhosted.org/packages/c3/4a/85e612787d0796878b3b4f6bd53dcd5484b6fe7b64cc6fc7b6e6a04cf835/argon2_cffi_bindings-26.1.0-cp315-cp315t-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:f0c3103fcff20183e593459cfea6e012281c0e76ae3ed8b5565ad1b92eac3990", size = 26771, upload-time = "2026-08-20T07:33:07.429Z" }, + { url = "https://files.pythonhosted.org/packages/f6/84/ccb003b6f9969820e87656398f4d49c857def71a85ca1588a0e809afd7ce/argon2_cffi_bindings-26.1.0-cp315-cp315t-manylinux_2_34_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:c49e853a3bef9dd10329f31f702e7fa9b5c58229ff9c2ff6d069efaf09177c08", size = 27569, upload-time = "2026-08-20T07:33:08.598Z" }, + { url = "https://files.pythonhosted.org/packages/88/07/c26b76debf0998ee08fbe947ab2058ac5de37d4b9d46b06c17abaa6c4ce9/argon2_cffi_bindings-26.1.0-cp315-cp315t-musllinux_1_2_aarch64.whl", hash = "sha256:6376d4b3aca039375ca8bf92f770da0ec424a1ce3a37077a8d3c557411aa56ca", size = 27279, upload-time = "2026-08-20T07:33:09.518Z" }, + { url = "https://files.pythonhosted.org/packages/ee/0d/ead6ddc029f91bc9b9390686dad3c808ab08100d348f6266b5f93f8970ee/argon2_cffi_bindings-26.1.0-cp315-cp315t-musllinux_1_2_riscv64.whl", hash = "sha256:9bacedc04b0402837586a17f0919e3dfdd95291f441f1f56bd80ec274c2840a1", size = 27774, upload-time = "2026-08-20T07:33:10.728Z" }, + { url = "https://files.pythonhosted.org/packages/7d/47/c108530d9eb86036b78d3af4de28b83b4a2d9a70512bd10ff8e59966aab4/argon2_cffi_bindings-26.1.0-cp315-cp315t-musllinux_1_2_x86_64.whl", hash = "sha256:76ae29acace5d33355344612844d588e19deaaba4639d8bb01601e4b1418ef36", size = 26933, upload-time = "2026-08-20T07:33:11.661Z" }, + { url = "https://files.pythonhosted.org/packages/a9/02/0bfc59e781c89acf64c31c388aade9d9d1c1ea38aa1ba1292fe07f607fe9/argon2_cffi_bindings-26.1.0-cp315-cp315t-win32.whl", hash = "sha256:df612391feca41c44d20118f3b88d1b86419465cd1f5496859f715ca60ec2210", size = 24875, upload-time = "2026-08-20T07:33:12.616Z" }, + { url = "https://files.pythonhosted.org/packages/61/c7/c3e46068cddffccecb8ad94d71135e9bf62bbc789589e7dfadc7c6f59214/argon2_cffi_bindings-26.1.0-cp315-cp315t-win_amd64.whl", hash = "sha256:1a0a29ed86960e44eaace7e081bdfab4f08b012fd96ec8edba71e2ad020939e4", size = 26655, upload-time = "2026-08-20T07:33:13.521Z" }, + { url = "https://files.pythonhosted.org/packages/f4/ca/18b9c8c45fecf34b9100ec6d7946057f14a158f2eaa20ea123a3e82351cb/argon2_cffi_bindings-26.1.0-cp315-cp315t-win_arm64.whl", hash = "sha256:d157ddfab1e8b21f2f1dedda9c09645d98b5ed0b667b0626be600a345d426440", size = 25376, upload-time = "2026-08-20T07:33:14.491Z" }, + { url = "https://files.pythonhosted.org/packages/a0/b9/97f0370f99611b14efd384918613dd5cbda75f28d9bb1b677aacfeaa17df/argon2_cffi_bindings-26.1.0-pp311-pypy311_pp73-macosx_11_0_arm64.whl", hash = "sha256:19b562b1de4b9052ef1214a2821c44b6e6f22945daa102c32ae4eff929d8b6d8", size = 23055, upload-time = "2026-08-20T07:33:19.716Z" }, + { url = "https://files.pythonhosted.org/packages/ae/70/7eb3fe7bf00103cbbb569c51aef150661f22b734a782673a600ff0f52309/argon2_cffi_bindings-26.1.0-pp311-pypy311_pp73-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:49d525938467d52c923a890153c99087c9d5a937d1f6b585dbdba34ec82e397a", size = 24869, upload-time = "2026-08-20T07:33:20.671Z" }, + { url = "https://files.pythonhosted.org/packages/5b/4b/9d5919c6cb1f15df7406af0f99b048bd93936f112e3e8f4c8077bc2a9110/argon2_cffi_bindings-26.1.0-pp311-pypy311_pp73-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:1b0bcac4d490a237e18cf91f57352920c29f77f2fa39efd0813fb81298bf17ba", size = 24216, upload-time = "2026-08-20T07:33:21.653Z" }, + { url = "https://files.pythonhosted.org/packages/a3/34/32109943bace7729233cc4ee78530baa306d8cc3c6501a64ba8cb3b58129/argon2_cffi_bindings-26.1.0-pp311-pypy311_pp73-win_amd64.whl", hash = "sha256:0cc40f7b4050bb93eb67de95d2d759322fc7ce4930b9d645581ecf4913ec651e", size = 23584, upload-time = "2026-08-20T07:33:22.613Z" }, +] + +[[package]] +name = "arrow" +version = "1.4.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "python-dateutil" }, + { name = "tzdata" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/b9/33/032cdc44182491aa708d06a68b62434140d8c50820a087fac7af37703357/arrow-1.4.0.tar.gz", hash = "sha256:ed0cc050e98001b8779e84d461b0098c4ac597e88704a655582b21d116e526d7", size = 152931, upload-time = "2025-10-18T17:46:46.761Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/ed/c9/d7977eaacb9df673210491da99e6a247e93df98c715fc43fd136ce1d3d33/arrow-1.4.0-py3-none-any.whl", hash = "sha256:749f0769958ebdc79c173ff0b0670d59051a535fa26e8eba02953dc19eb43205", size = 68797, upload-time = "2025-10-18T17:46:45.663Z" }, +] + +[[package]] +name = "ast-serialize" +version = "0.12.1" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/c2/1c/7257e6ec9382843915ce475558ce4492ccb5ed39122c256bb369c27e2ebf/ast_serialize-0.12.1.tar.gz", hash = "sha256:5285a390caf1c44368ae270f037f797b91427d138b7d43cad0f1fda4c83518d9", size = 954408, upload-time = "2026-10-03T12:25:00.221Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/4a/f7/e976169da322c009bb083a52d21e88fbfe5f071e1806e8c8361ab4ac477a/ast_serialize-0.12.1-cp314-cp314-pyemscripten_2026_0_wasm32.whl", hash = "sha256:e73255c9227fd74eac8a9b55c4049e8ad7b66d1f690bf827c98a86b2e594def7", size = 897232, upload-time = "2026-10-03T12:23:21.945Z" }, + { url = "https://files.pythonhosted.org/packages/e1/89/5545f6f4d38dd41b4e2a20050967ccd722508bc90fab0dfba463d8c8b994/ast_serialize-0.12.1-cp314-cp314t-macosx_10_12_x86_64.whl", hash = "sha256:4655ef993e69e01bb47d2d99647de9bbb74af03938438656832cd010d95de348", size = 1235397, upload-time = "2026-10-03T12:23:23.835Z" }, + { url = "https://files.pythonhosted.org/packages/22/19/e9b839ef9b57626e15e20dd7cf764a9a6b50f9750f86d0a49bc3a971fb72/ast_serialize-0.12.1-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:bac5a99a2c91dd823be9b8c44645694fccbb0750773cc5b27889a9f6f22fce89", size = 1216331, upload-time = "2026-10-03T12:23:25.557Z" }, + { url = "https://files.pythonhosted.org/packages/26/2a/d054d4ff8ba42472a22e3da6eb6dee0e69a32c477b5077eefdbada99f554/ast_serialize-0.12.1-cp314-cp314t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:6485e681625ed7a094221f16a7ff2ef154946112266a05cf83bde50c959ef345", size = 1281194, upload-time = "2026-10-03T12:23:27.349Z" }, + { url = "https://files.pythonhosted.org/packages/7e/0c/c73eddfa180a7a4c1613c0f3d3ef020b05dca9b922ac08212463c33ad11f/ast_serialize-0.12.1-cp314-cp314t-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:a513bc6f60980d01767f7cbe39b17ce0373e722824a74ce28d6cea49ee3c8460", size = 1287170, upload-time = "2026-10-03T12:23:29.333Z" }, + { url = "https://files.pythonhosted.org/packages/94/77/39dc75d8b718844859b64a9067c9df0cfce218ca45ea215fb24a1fda3cf7/ast_serialize-0.12.1-cp314-cp314t-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:82866f3523d53ffca8d2a69a750bec52908b69f728012e40959bebce2620453c", size = 1531238, upload-time = "2026-10-03T12:23:30.954Z" }, + { url = "https://files.pythonhosted.org/packages/b9/c0/6a6a6f94f45a288c4bac2eb8379a3d9654574a0f9249380ce3b07f6d64bb/ast_serialize-0.12.1-cp314-cp314t-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:243054a05a5190f5d087b5c8b16423e7f1cefa4991bac26e9c8ace18074b75b6", size = 1307154, upload-time = "2026-10-03T12:23:32.645Z" }, + { url = "https://files.pythonhosted.org/packages/f9/3d/80f843892bd0f7c0d95ec5422ba3dc315c1ce011e6f08b06d5f71bd82c25/ast_serialize-0.12.1-cp314-cp314t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:7d9fbe5a3e8acddfc2fddff3dbbc7ea0e9798b3df3428f851b8abc52a3806f31", size = 1301506, upload-time = "2026-10-03T12:23:34.63Z" }, + { url = "https://files.pythonhosted.org/packages/df/cc/49a5fe852706f545e3e005584c5be89456bc637a8c9179aeaa8b9f26e8e4/ast_serialize-0.12.1-cp314-cp314t-manylinux_2_31_riscv64.whl", hash = "sha256:d3d516da3463071d27e64caf54d88cba25cf4ad4afcc807e0bcf67743719f03e", size = 1297616, upload-time = "2026-10-03T12:23:36.377Z" }, + { url = "https://files.pythonhosted.org/packages/49/5c/1208c91d6e00cc43cc276bd6233c40c9b4ec3ef8537c83281dd5372cbdb8/ast_serialize-0.12.1-cp314-cp314t-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:8d6711adf11136c77e3a35517de9488a5081d1012874fae99c2876b64f4daace", size = 1354884, upload-time = "2026-10-03T12:23:38.035Z" }, + { url = "https://files.pythonhosted.org/packages/a9/80/2b5fc912ff0be64d8d61ff5dc7dc405c6311297a0e2039b848b7d14333f2/ast_serialize-0.12.1-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:cbe239bee4bd609186daf60b95b7b0f47146c7f7f55f6da83807d747d6fe753f", size = 1457911, upload-time = "2026-10-03T12:23:39.679Z" }, + { url = "https://files.pythonhosted.org/packages/b2/f8/d720429bf8933efbd0cc2038c0a50b6267a585d503500845c44bc6c8ff66/ast_serialize-0.12.1-cp314-cp314t-musllinux_1_2_armv7l.whl", hash = "sha256:5bbf582286c9dc6b4c544ef645dc99e4b3aa09db28892bc60344141f6926641f", size = 1563023, upload-time = "2026-10-03T12:23:41.585Z" }, + { url = "https://files.pythonhosted.org/packages/7e/0a/99e6cc92bdbae5db60f84a14a0fb1ae77b6087e451d77808d87558162c9a/ast_serialize-0.12.1-cp314-cp314t-musllinux_1_2_i686.whl", hash = "sha256:99e33c93efb5254a70c525b46038212371dfe5693d48eb2d0d5f17d936a263d7", size = 1556601, upload-time = "2026-10-03T12:23:43.361Z" }, + { url = "https://files.pythonhosted.org/packages/7a/05/59de9e16a2e333da534f30776d0f5e426034b64c67c17843425e3cc827d1/ast_serialize-0.12.1-cp314-cp314t-musllinux_1_2_ppc64le.whl", hash = "sha256:aa6c17a2b7f07e81fa8cfcc4aa7c832b3e57733853aebea113ab502f9b0963db", size = 1665039, upload-time = "2026-10-03T12:23:45.257Z" }, + { url = "https://files.pythonhosted.org/packages/33/83/35ed67a127167b484b42a071df440f84b14c0d20ea8f69dbed5cc96bfd98/ast_serialize-0.12.1-cp314-cp314t-musllinux_1_2_riscv64.whl", hash = "sha256:f896fa38e0af38821e1ab1425c5dee89e359623e165765bdeae7d0eb6909e76d", size = 1472263, upload-time = "2026-10-03T12:23:46.811Z" }, + { url = "https://files.pythonhosted.org/packages/c4/b0/3ab8613bbb690297f1bb687d780a248c486df0f4131b6a82044fcb49e438/ast_serialize-0.12.1-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:af699e81fd7ce80b8b03945826d8ea23dd36d072f10d4613402da597ba4ee9c6", size = 1499242, upload-time = "2026-10-03T12:23:48.531Z" }, + { url = "https://files.pythonhosted.org/packages/9d/a0/a28894d3b06f8775cea8989f371bd9f72ce562c32bc807770e7fb920ce17/ast_serialize-0.12.1-cp314-cp314t-win32.whl", hash = "sha256:10b59afc108eb285146acb23d1b5ec0fc58bb3c09cb2ab8876402df06c373c3b", size = 1119488, upload-time = "2026-10-03T12:23:50.419Z" }, + { url = "https://files.pythonhosted.org/packages/c1/b2/0c44952f4ba4e14bb7f60a5858e2960dfefb9884e6ff007aaf64337dba5c/ast_serialize-0.12.1-cp314-cp314t-win_amd64.whl", hash = "sha256:72e871f6995a066c1b19104f8a6b5832b1163adb9a8267c2aa4711fbb0f4d1f3", size = 1157434, upload-time = "2026-10-03T12:23:52.383Z" }, + { url = "https://files.pythonhosted.org/packages/1f/1e/cb594c63f46a01d53629af1c4f9e42cd02afcea1c2fe483e12f22743ebac/ast_serialize-0.12.1-cp314-cp314t-win_arm64.whl", hash = "sha256:3398e458047d21c9bc1b323fe5aab77c608dc9ddb65b2d44deebaff503a1f1eb", size = 1129094, upload-time = "2026-10-03T12:23:54.133Z" }, + { url = "https://files.pythonhosted.org/packages/16/05/ca16884f9498386f3646bb18be59f0e31d44e992d252d7d6f5e4f8ae1ee2/ast_serialize-0.12.1-cp315-abi3.abi3t-macosx_10_12_x86_64.whl", hash = "sha256:410233de149ab8414cb27c6fc73e9d2baa35d6f971672d540d752060d980ffb4", size = 1235686, upload-time = "2026-10-03T12:23:55.863Z" }, + { url = "https://files.pythonhosted.org/packages/29/f2/34e87ed30e292cf365523712c4bcfef1967d9c3c2749de21b1f93b1fe0f3/ast_serialize-0.12.1-cp315-abi3.abi3t-macosx_11_0_arm64.whl", hash = "sha256:b9a2310845302f1a6bd45ae8a67d5760211103a8d66410b854bfa440d107e093", size = 1215598, upload-time = "2026-10-03T12:23:57.48Z" }, + { url = "https://files.pythonhosted.org/packages/f8/dc/c498f41c957b6ff31b97ed8ceccf3a84f85af7debca1125183cab95bb58b/ast_serialize-0.12.1-cp315-abi3.abi3t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:6ff65f40f49d5e1a1a043ba366081d59a4e26a9f5c1b07eb1170e172115da7ca", size = 1281911, upload-time = "2026-10-03T12:23:58.954Z" }, + { url = "https://files.pythonhosted.org/packages/dc/60/70ccefae9d88058c4c234bf0aed93f54aca36eb74087736e76e9515aee96/ast_serialize-0.12.1-cp315-abi3.abi3t-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:536d783c4d91331f094e0a892221e619be5ffbe6fb6640885f14d7f226ec90ca", size = 1287296, upload-time = "2026-10-03T12:24:00.429Z" }, + { url = "https://files.pythonhosted.org/packages/08/e9/4fc697879c7128e29f9dab2ed19a9b586a56b621e5ea4aee2ae28c18e116/ast_serialize-0.12.1-cp315-abi3.abi3t-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:c42d2d65f388d1960c5796231eb9bf5a988c46228633eb489605c4549ad16c52", size = 1532339, upload-time = "2026-10-03T12:24:02.053Z" }, + { url = "https://files.pythonhosted.org/packages/8a/9e/9e2bd489731602a94dbd0c576ebe1cc487a2d0f6127be743f44711166f0d/ast_serialize-0.12.1-cp315-abi3.abi3t-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:a5628a12acc875fe7a167910f18d101dd101c2a7b1e6c2b6f7289ffaff25805c", size = 1308988, upload-time = "2026-10-03T12:24:03.61Z" }, + { url = "https://files.pythonhosted.org/packages/3f/69/e9cae837bd766a66db6953ffb5fc7f04b1945e02b0a9e4c6a0b6acb08f17/ast_serialize-0.12.1-cp315-abi3.abi3t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:9e855adfa5bb982b2e6fe09056b2d584f6dd4fce085d91a07d1155683751b6b5", size = 1303412, upload-time = "2026-10-03T12:24:05.62Z" }, + { url = "https://files.pythonhosted.org/packages/b2/1e/5ef8c62d5031d93187ed0d8dade5d942de9920c3fbd678c7652362b9a7a2/ast_serialize-0.12.1-cp315-abi3.abi3t-manylinux_2_31_riscv64.whl", hash = "sha256:fafe1471e8aca6c87b4913b7b54ff97197adf702fbe28692284b929dfa62ff96", size = 1298466, upload-time = "2026-10-03T12:24:07.242Z" }, + { url = "https://files.pythonhosted.org/packages/c2/f3/25ded60844a1a437edc840e597b6f81daf91dc4a26035416e14298d3a091/ast_serialize-0.12.1-cp315-abi3.abi3t-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:a5cac246474d2a703147d1605a6ac5ba0fa9e0a443cf1cf42513adf4df02686f", size = 1355617, upload-time = "2026-10-03T12:24:09.125Z" }, + { url = "https://files.pythonhosted.org/packages/05/68/a0d3cc8d8042208a2cbef7b26483f4941b44dd5dd717bb19f20e4a4c0d66/ast_serialize-0.12.1-cp315-abi3.abi3t-musllinux_1_2_aarch64.whl", hash = "sha256:6e25cd319fb0d7b39fcac666784ec86708ccbc78d07a698b1400cf5ed40c045b", size = 1458949, upload-time = "2026-10-03T12:24:10.772Z" }, + { url = "https://files.pythonhosted.org/packages/df/a0/5e4d355c48a9f125b8bec7b1b98d4d2dcd8324ff1d4dfcb03678a03c1414/ast_serialize-0.12.1-cp315-abi3.abi3t-musllinux_1_2_armv7l.whl", hash = "sha256:657a7354ea16ed4d29f8127ed477c6fee3915c111d135f020ca835a991438e90", size = 1562328, upload-time = "2026-10-03T12:24:12.404Z" }, + { url = "https://files.pythonhosted.org/packages/8a/5f/3d40f6a7908200f2f0ed9ce1bad130d00e06d0405baa7918d4a4299b25dd/ast_serialize-0.12.1-cp315-abi3.abi3t-musllinux_1_2_i686.whl", hash = "sha256:9eb9de7e59621acdb3e66984f374272b33d56d15a04763e2fd0604211e1c8303", size = 1557751, upload-time = "2026-10-03T12:24:14.455Z" }, + { url = "https://files.pythonhosted.org/packages/3f/13/d53e5a7e299d6dbaeab23a424eea2c98c821b46ed7b05abbe14743beeb63/ast_serialize-0.12.1-cp315-abi3.abi3t-musllinux_1_2_ppc64le.whl", hash = "sha256:09cc4d3103c1fc97f6845ba307af1db9cde5226bef47f8843220dde83f2276ba", size = 1666238, upload-time = "2026-10-03T12:24:16.171Z" }, + { url = "https://files.pythonhosted.org/packages/37/5b/7638ee3ae35a64e4467160a37dc7565cddfe2a87f06cef2fd07c93cfd503/ast_serialize-0.12.1-cp315-abi3.abi3t-musllinux_1_2_riscv64.whl", hash = "sha256:c9e2a592706fd791c2271ce9c8f4e38c98d3ea0b4a86b511e09a4fe3ac44ab37", size = 1472620, upload-time = "2026-10-03T12:24:18.053Z" }, + { url = "https://files.pythonhosted.org/packages/fc/e7/6e9e621e0e4a3be5a9a5f8b6961982964d2367013dbe64feb5adaa43e56d/ast_serialize-0.12.1-cp315-abi3.abi3t-musllinux_1_2_x86_64.whl", hash = "sha256:f4ac042e95a575432c1730ca4cb9183066a2074886a599f46c1f1b0955fb8198", size = 1500141, upload-time = "2026-10-03T12:24:20.036Z" }, + { url = "https://files.pythonhosted.org/packages/4a/4f/3217da5b671711c09cc6be580095839cad539983662a6599405bd75c1a19/ast_serialize-0.12.1-cp315-abi3.abi3t-win32.whl", hash = "sha256:b3cd105995942cc6163a229674a86161ba1305f646493efd59bd6723a357ee14", size = 1118382, upload-time = "2026-10-03T12:24:21.599Z" }, + { url = "https://files.pythonhosted.org/packages/80/1e/6074cf29dca8ceff27d50e845c88e7a2eaaa7f0b6f3972909e878d844737/ast_serialize-0.12.1-cp315-abi3.abi3t-win_amd64.whl", hash = "sha256:a9cd24a26126088693ca054547ea0a391398a29cf1a3a2bec1009b4b6acc8b82", size = 1158034, upload-time = "2026-10-03T12:24:23.316Z" }, + { url = "https://files.pythonhosted.org/packages/92/a0/81ce428f9f3f1ca45f8b62c9711c30452bf8190476e8685cea0f72d8d008/ast_serialize-0.12.1-cp315-abi3.abi3t-win_arm64.whl", hash = "sha256:9649cd903db0dc047906c6dd740784a2ba665d54f7e43ba31457edbce76c9493", size = 1129437, upload-time = "2026-10-03T12:24:25.044Z" }, + { url = "https://files.pythonhosted.org/packages/3a/d9/1c08adb90728607d0d07d188df4558ae863d688b4458087efe9fafeca458/ast_serialize-0.12.1-cp315-cp315-pyemscripten_2026_5_wasm32.whl", hash = "sha256:5ef62601db3ce5c23445132262a193075e211fb2fc87b46b7550dd351fac0976", size = 897419, upload-time = "2026-10-03T12:24:26.699Z" }, + { url = "https://files.pythonhosted.org/packages/80/fb/1eabd2c0673283054468b1c6cb539aeb877636d6c84b280279f2d7a177a9/ast_serialize-0.12.1-cp39-abi3-macosx_10_12_x86_64.whl", hash = "sha256:98d91cd3a6cb76a39512ee090a539d1e3206b732ad8150eb38918cffa1ddf515", size = 1241515, upload-time = "2026-10-03T12:24:28.493Z" }, + { url = "https://files.pythonhosted.org/packages/1b/d7/c56955934a431a0fa3e4e9aa7af4a53ceab2a61241005427545208945eb4/ast_serialize-0.12.1-cp39-abi3-macosx_11_0_arm64.whl", hash = "sha256:8a32f184ce3e4b1d0b06d642a1243281cf55b99e0323680b1b8f904029fd7700", size = 1228048, upload-time = "2026-10-03T12:24:30.556Z" }, + { url = "https://files.pythonhosted.org/packages/1e/4e/2b2ca4602baf92f842316ea617423402089df4fbd2ea42571ba28725ba46/ast_serialize-0.12.1-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:e62126ac2be2d9340ac1b3ee7a0466a883ecbed634cff0929c88ca0b671483b7", size = 1292087, upload-time = "2026-10-03T12:24:32.45Z" }, + { url = "https://files.pythonhosted.org/packages/d9/49/9ebd05218a87ca31f4f855d5e3df14239bba3c58f2aed9d02c7cba5d94f5/ast_serialize-0.12.1-cp39-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:0f93a70fa9826c04ea9f2c3a880f87f4cca09a828144ed5084682abd28110980", size = 1295355, upload-time = "2026-10-03T12:24:34.423Z" }, + { url = "https://files.pythonhosted.org/packages/dc/09/6db7c4327e7a56aba805f7190d377a159fc0bf6bdefb410dc7860624dfa3/ast_serialize-0.12.1-cp39-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:1858887be56a64a2aea899423dfe43787c34c75c18b0d7497de8e618d54b2790", size = 1541231, upload-time = "2026-10-03T12:24:36.05Z" }, + { url = "https://files.pythonhosted.org/packages/ed/85/7ab6097e5fe23cd4657b0e5a2fabb4f789f91e441a3ee40b3ca8b79be238/ast_serialize-0.12.1-cp39-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:89a2bc39a820bc7785b60c53a5742b4e8dd4c1a599294e2dd68fae545883d44a", size = 1317324, upload-time = "2026-10-03T12:24:37.737Z" }, + { url = "https://files.pythonhosted.org/packages/c0/60/58961e7fd129e226ce36788fe328d20034f3105f5d3380df690050517737/ast_serialize-0.12.1-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:50a9eaedf1db4857dad7cc47dd757ed70bfcc40b89d44d516c4a2f0d5033bd76", size = 1311809, upload-time = "2026-10-03T12:24:39.306Z" }, + { url = "https://files.pythonhosted.org/packages/15/c7/09d973db87d4575cba470fd80a3fa489322f7d6882546e43a4b21012468e/ast_serialize-0.12.1-cp39-abi3-manylinux_2_31_riscv64.whl", hash = "sha256:c30b609e8fea426b310543126de876592236a25aa8ebd59f1e2b323dd52a4085", size = 1306678, upload-time = "2026-10-03T12:24:40.891Z" }, + { url = "https://files.pythonhosted.org/packages/84/27/84f69c22bcdaa5256b4fe43ff972fc117668fff8e68495807d5792eadcce/ast_serialize-0.12.1-cp39-abi3-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:7b1ad06513022cfa1337744959255af0ef16119d2beb1e547b67f37ad9433d4a", size = 1362009, upload-time = "2026-10-03T12:24:42.809Z" }, + { url = "https://files.pythonhosted.org/packages/43/46/76ee342ef22cd6d82ccd6089d5e2f7163246de73d1816ccb4b6ec0550db6/ast_serialize-0.12.1-cp39-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:6add54b495e37ae3cf3a1f0d5eaba364814eb72e93026adc41b7791e4b0d45d3", size = 1467959, upload-time = "2026-10-03T12:24:44.496Z" }, + { url = "https://files.pythonhosted.org/packages/31/4d/18e48154bbf6058eed8d9b54fcebb2e130f8a380db1a2a202b4faac48626/ast_serialize-0.12.1-cp39-abi3-musllinux_1_2_armv7l.whl", hash = "sha256:5fc136cd08001b817ad0b3e7426f50a7d2b8982dc7c6491f0af78af4c3dd8672", size = 1571157, upload-time = "2026-10-03T12:24:46.156Z" }, + { url = "https://files.pythonhosted.org/packages/34/76/6b16ddf0510e713613a5f5441b13407c1bde6158df04946b9f1fdc65add3/ast_serialize-0.12.1-cp39-abi3-musllinux_1_2_i686.whl", hash = "sha256:45a9e6b700bbd973d49942668a5cdbeffa693f2e250b8a5409abd1fa9d351854", size = 1566873, upload-time = "2026-10-03T12:24:48.542Z" }, + { url = "https://files.pythonhosted.org/packages/75/33/9f6169ae7f60c2da4baec03450073d3f1edb39e95ab538be0d25a7d2f72e/ast_serialize-0.12.1-cp39-abi3-musllinux_1_2_ppc64le.whl", hash = "sha256:a1d8267f83c613ea0a31f2518df074bd62e98a4b3a4892f6a529d74e08e02dba", size = 1673030, upload-time = "2026-10-03T12:24:50.566Z" }, + { url = "https://files.pythonhosted.org/packages/11/51/0d78755bd61d6cf8980f0cfdc7fa8ede38df46a5423c9f7a3da0cff587ec/ast_serialize-0.12.1-cp39-abi3-musllinux_1_2_riscv64.whl", hash = "sha256:9a0cbab9796e6ce841197feeba4008faa96b4cc7741129542fd81c882d7a4f01", size = 1480052, upload-time = "2026-10-03T12:24:52.277Z" }, + { url = "https://files.pythonhosted.org/packages/01/ae/ad4c0e5129991f2761f388420c5ded37cb134ec5882e3e59043d33c1ad87/ast_serialize-0.12.1-cp39-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:b4282695f1d51a3c6ef76560351bad5af880eff7d755aefea325bffb9bf68c25", size = 1508940, upload-time = "2026-10-03T12:24:53.846Z" }, + { url = "https://files.pythonhosted.org/packages/38/6b/3299182794d38815ae6e9c7ede9bb8f2e4aa93c3578bed201c1ea746643a/ast_serialize-0.12.1-cp39-abi3-win32.whl", hash = "sha256:119d1b0cadaba4a6e475f9bbe79eecc79351e373142eabe7c353f0250d70aebb", size = 1125618, upload-time = "2026-10-03T12:24:55.405Z" }, + { url = "https://files.pythonhosted.org/packages/86/14/5d4fb733c18a1d69e237c067b183842f3a7ea1c999a51ddc87093a281c88/ast_serialize-0.12.1-cp39-abi3-win_amd64.whl", hash = "sha256:3d6ed63d4fc1ec867b8cb522d58c36df0e8f05e487bea0ffd102043a37636d72", size = 1165798, upload-time = "2026-10-03T12:24:57.052Z" }, + { url = "https://files.pythonhosted.org/packages/f1/f4/b54123680025c0b7253117418f023d1b2487f1102552acbdd9d8ee96b622/ast_serialize-0.12.1-cp39-abi3-win_arm64.whl", hash = "sha256:610a41351de68199de9a1434499083b4256c0df7658ec1cfc0a0a7b20b08d317", size = 1136560, upload-time = "2026-10-03T12:24:58.689Z" }, +] + +[[package]] +name = "asttokens" +version = "3.0.2" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/25/1e/faf0f247f6f881b98fc4d6d07e14085cb89d13665084e6d6ac1dc2c03d0b/asttokens-3.0.2.tar.gz", hash = "sha256:3ecdbd8f2cc195f53ccada3a613538bb5f9ef6f6869129f13e03c30a677b8fe2", size = 63136, upload-time = "2026-07-12T03:31:49.084Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/d4/2b/04b8a15f3a1c77bc79ddf5c73875327f34b4fa75982df2b76e45e402d364/asttokens-3.0.2-py3-none-any.whl", hash = "sha256:9da13157f5b28becde0bd374fc677dcd3c290614264eff096f167c469cd9f933", size = 28702, upload-time = "2026-07-12T03:31:47.542Z" }, +] + +[[package]] +name = "async-lru" +version = "2.3.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/e8/1f/989ecfef8e64109a489fff357450cb73fa73a865a92bd8c272170a6922c2/async_lru-2.3.0.tar.gz", hash = "sha256:89bdb258a0140d7313cf8f4031d816a042202faa61d0ab310a0a538baa1c24b6", size = 16332, upload-time = "2026-03-19T01:04:32.413Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/e5/e2/c2e3abf398f80732e58b03be77bde9022550d221dd8781bf586bd4d97cc1/async_lru-2.3.0-py3-none-any.whl", hash = "sha256:eea27b01841909316f2cc739807acea1c623df2be8c5cfad7583286397bb8315", size = 8403, upload-time = "2026-03-19T01:04:30.883Z" }, +] + +[[package]] +name = "async-timeout" +version = "5.0.1" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/a5/ae/136395dfbfe00dfc94da3f3e136d0b13f394cba8f4841120e34226265780/async_timeout-5.0.1.tar.gz", hash = "sha256:d9321a7a3d5a6a5e187e824d2fa0793ce379a202935782d555d6e9d2735677d3", size = 9274, upload-time = "2024-11-06T16:41:39.6Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/fe/ba/e2081de779ca30d473f21f5b30e0e737c438205440784c7dfc81efc2b029/async_timeout-5.0.1-py3-none-any.whl", hash = "sha256:39e3809566ff85354557ec2398b55e096c8364bacac9405a7a1fa429e77fe76c", size = 6233, upload-time = "2024-11-06T16:41:37.9Z" }, +] + +[[package]] +name = "attrs" +version = "26.1.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/9a/8e/82a0fe20a541c03148528be8cac2408564a6c9a0cc7e9171802bc1d26985/attrs-26.1.0.tar.gz", hash = "sha256:d03ceb89cb322a8fd706d4fb91940737b6642aa36998fe130a9bc96c985eff32", size = 952055, upload-time = "2026-03-19T14:22:25.026Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/64/b4/17d4b0b2a2dc85a6df63d1157e028ed19f90d4cd97c36717afef2bc2f395/attrs-26.1.0-py3-none-any.whl", hash = "sha256:c647aa4a12dfbad9333ca4e71fe62ddc36f4e63b2d260a37a8b83d2f043ac309", size = 67548, upload-time = "2026-03-19T14:22:23.645Z" }, +] + +[[package]] +name = "babel" +version = "2.18.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/7d/b2/51899539b6ceeeb420d40ed3cd4b7a40519404f9baf3d4ac99dc413a834b/babel-2.18.0.tar.gz", hash = "sha256:b80b99a14bd085fcacfa15c9165f651fbb3406e66cc603abf11c5750937c992d", size = 9959554, upload-time = "2026-02-01T12:30:56.078Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/77/f5/21d2de20e8b8b0408f0681956ca2c69f1320a3848ac50e6e7f39c6159675/babel-2.18.0-py3-none-any.whl", hash = "sha256:e2b422b277c2b9a9630c1d7903c2a00d0830c409c59ac8cae9081c92f1aeba35", size = 10196845, upload-time = "2026-02-01T12:30:53.445Z" }, +] + +[[package]] +name = "beautifulsoup4" +version = "4.15.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "soupsieve" }, + { name = "typing-extensions" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/43/65/318323f98dbee45d42dff61d8f047181bc6f2268a9068cfad035a46be5af/beautifulsoup4-4.15.0.tar.gz", hash = "sha256:288e3ca7d54b06f2ac191970bc275c1939cb46d450b255bf6718b04aa37ab4f7", size = 632571, upload-time = "2026-06-07T16:44:20.453Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/88/c6/92fcd42f1ba33e1184263f25bfabf3d27c383410470f169e4b8163bf9c17/beautifulsoup4-4.15.0-py3-none-any.whl", hash = "sha256:d6f88de62e1d4e38ecb1077eb9724cd0eff29d2a08ca16a401e9b9e93f117cf9", size = 109924, upload-time = "2026-06-07T16:44:21.566Z" }, +] + +[[package]] +name = "billiard" +version = "4.3.1" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/ea/0d/8921e960be19fa226358bf933509f57ec679d9b35a1e7ea43460af4b7fef/billiard-4.3.1.tar.gz", hash = "sha256:c88559b306ee5dc93f8d5f843d07da15d795d67af26720d14ee9d09f09eb0b22", size = 166478, upload-time = "2026-10-05T06:38:30.496Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/bb/b1/360936699597063a2d9863aa94ccc3a6951e906ced032a9a1d8e562fc56b/billiard-4.3.1-py3-none-any.whl", hash = "sha256:2c7075283191d9c0add66cf8fca8e06ba599e75fe7319b67186759f8877dfdaf", size = 90178, upload-time = "2026-10-05T06:38:28.373Z" }, +] + +[[package]] +name = "bleach" +version = "6.4.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "webencodings" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/48/3c/e12ac860709702bd5ebeb9b56a4fe334f1001246ee1b8f2b7ee28912df7d/bleach-6.4.0.tar.gz", hash = "sha256:4202482733d85cedd04e59fcb2f89f4e4c7c385a78d3c3c23c30446843a37452", size = 204857, upload-time = "2026-06-05T13:01:13.734Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/58/9d/40b6267367182187139a4000b82a3b287d84d745bccd808e75d916920e9d/bleach-6.4.0-py3-none-any.whl", hash = "sha256:4b6b6a54fff2e69a3dde9d21cc6301220bee3c3cb792187d11403fd795031081", size = 165109, upload-time = "2026-06-05T13:01:12.504Z" }, +] + +[package.optional-dependencies] +css = [ + { name = "tinycss2" }, +] + +[[package]] +name = "celery" +version = "5.5.3" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "billiard" }, + { name = "click" }, + { name = "click-didyoumean" }, + { name = "click-plugins" }, + { name = "click-repl" }, + { name = "kombu" }, + { name = "python-dateutil" }, + { name = "vine" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/bb/7d/6c289f407d219ba36d8b384b42489ebdd0c84ce9c413875a8aae0c85f35b/celery-5.5.3.tar.gz", hash = "sha256:6c972ae7968c2b5281227f01c3a3f984037d21c5129d07bf3550cc2afc6b10a5", size = 1667144, upload-time = "2025-06-01T11:08:12.563Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/c9/af/0dcccc7fdcdf170f9a1585e5e96b6fb0ba1749ef6be8c89a6202284759bd/celery-5.5.3-py3-none-any.whl", hash = "sha256:0b5761a07057acee94694464ca482416b959568904c9dfa41ce8413a7d65d525", size = 438775, upload-time = "2025-06-01T11:08:09.94Z" }, +] + +[package.optional-dependencies] +redis = [ + { name = "kombu", extra = ["redis"] }, +] + +[[package]] +name = "certifi" +version = "2026.7.22" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/a3/c2/24167ea9858356b47a87a50d39908bfdb72ceeefe0041586e704e5376b3a/certifi-2026.7.22.tar.gz", hash = "sha256:741e2c3b351ddf169a738da9f2c048608ff7f2c5cc02f1ebc6b118bb090d5d55", size = 138112, upload-time = "2026-07-22T03:35:12.644Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/0b/a7/71ac2cff56fec219ed242bb11b8efb69fcc4bec75db06fb7bfe35de520e6/certifi-2026.7.22-py3-none-any.whl", hash = "sha256:62f22742b58a1a33014a2b6b706588a8d7e2a88ae7bd1a6ebe8c992928483775", size = 136983, upload-time = "2026-07-22T03:35:11.276Z" }, +] + +[[package]] +name = "cffi" +version = "2.1.1" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "pycparser", marker = "implementation_name != 'PyPy'" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/9e/ef/008a1939e372c06329a3fce4279c02f328488f3526744906eeec3da7ad5f/cffi-2.1.1.tar.gz", hash = "sha256:dd31f52ea1086513bb9df30f8fcee9b8918323ae067a3d5b78bc826a000712be", size = 530807, upload-time = "2026-08-03T21:21:18.939Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/70/d2/16d99a0c4948febc0ebd133a13b2f688ff7f8cb04da971e1128872ce0c03/cffi-2.1.1-cp311-cp311-macosx_10_15_x86_64.whl", hash = "sha256:c8d2c9fd1f2d16f780d15127abb050d13d1a76c03a4bd87d7e4980e45e511e12", size = 183838, upload-time = "2026-08-03T21:19:29.637Z" }, + { url = "https://files.pythonhosted.org/packages/cd/95/31b535a9f0220ae9f357de4a08d57ce89cb417653c2fd9f075f50822a388/cffi-2.1.1-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:398aff33cee2767e3e781d2554c54bd0dff386bb437581e0d8011fde1a942ec1", size = 184168, upload-time = "2026-08-03T21:19:30.764Z" }, + { url = "https://files.pythonhosted.org/packages/ad/5a/4707a0dc1f203f5dde5a907b0d4e3c25d71120241048bd5bc6f1bb9d4e71/cffi-2.1.1-cp311-cp311-manylinux1_i686.manylinux2014_i686.manylinux_2_17_i686.manylinux_2_5_i686.whl", hash = "sha256:154852545011f779917b11c78db2358d095da62a9a172b78ad0a583ee5adc0d0", size = 211805, upload-time = "2026-08-03T21:19:31.867Z" }, + { url = "https://files.pythonhosted.org/packages/ad/66/c19feabb28485b6e0bbaaafa90837a1ef5d302e90f2178bd33f17a49879b/cffi-2.1.1-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:3311ed60d36f83378794e1009ac6258bafbf81f7888b4caa7b35a521e3f95813", size = 218716, upload-time = "2026-08-03T21:19:32.896Z" }, + { url = "https://files.pythonhosted.org/packages/a7/92/500760486c8baab49a7a8a58ba7fc3355ec3974b454b8a09e528efde9e1d/cffi-2.1.1-cp311-cp311-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl", hash = "sha256:6e192623c49c94421616a5778fba35cf0d5a8d000650c1967ef4448ee5cdd990", size = 205569, upload-time = "2026-08-03T21:19:34.142Z" }, + { url = "https://files.pythonhosted.org/packages/a5/a7/a67c733254d6e7373f7822f8082d8d6beade791e0cf12a7611f376fa61c7/cffi-2.1.1-cp311-cp311-manylinux2014_s390x.manylinux_2_17_s390x.whl", hash = "sha256:a6e721d4b0e45d5b65e87534470e67b18dcd092c83f68fba09f152b9cbc061af", size = 204907, upload-time = "2026-08-03T21:19:35.174Z" }, + { url = "https://files.pythonhosted.org/packages/f7/a4/4399daaf8f7dfee9d7c3327fdb0426ee041cc63edc358b93911ceb2bfc7a/cffi-2.1.1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:34e261f78cb6ceaaa36f42f2613f4380d94d9c759a9c73c769ee6e0247364632", size = 217807, upload-time = "2026-08-03T21:19:36.286Z" }, + { url = "https://files.pythonhosted.org/packages/28/f7/dabe6da2466ecbd82dc62e7342dc6b1065dad990c06f00f0ede9ebf2a0ed/cffi-2.1.1-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:7225e4514edb64eb6740324353e0da0711954fd8d7da4576755b1c6e09b697cd", size = 221252, upload-time = "2026-08-03T21:19:37.416Z" }, + { url = "https://files.pythonhosted.org/packages/ce/87/616202d8e51342c07d2534c510111c4cc37201775ce8f60802c9335d1edd/cffi-2.1.1-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:df913725b79db7bcf03448f36b7bf8815363417d5b58deecf9305e3e30f0f21a", size = 214214, upload-time = "2026-08-03T21:19:38.507Z" }, + { url = "https://files.pythonhosted.org/packages/b4/c6/ab025d75d2c26c19b087c0124e75ee31cb65032f4fe345d356d8c507ab97/cffi-2.1.1-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:f5cfbc5fe74540d335175b656c725d74d90e3730c626d92575eea35029d9afaa", size = 219408, upload-time = "2026-08-03T21:19:39.809Z" }, + { url = "https://files.pythonhosted.org/packages/db/e2/7e8109f65445bdc673a7b54f02c677de462db75674220fd1335efc8eb598/cffi-2.1.1-cp311-cp311-win32.whl", hash = "sha256:f8ec5e643a9a937f64e1999eb9f75d072263751912dc5cd06d3c85f8f44be7c3", size = 174470, upload-time = "2026-08-03T21:19:41.246Z" }, + { url = "https://files.pythonhosted.org/packages/73/c0/77ba02423c2f7d7091143c45cd49e0e6575c4c1967394bb542bd923a9b74/cffi-2.1.1-cp311-cp311-win_amd64.whl", hash = "sha256:42f6930c31dc7f50732c9ae793c2786c7b6b044195967bbdde40bb9be81c4cc0", size = 185096, upload-time = "2026-08-03T21:19:42.615Z" }, + { url = "https://files.pythonhosted.org/packages/7c/47/9f1f85f9672ceda4984dc6c4f8824e8558992a2972c3d3c81fb8eb28d4ba/cffi-2.1.1-cp311-cp311-win_arm64.whl", hash = "sha256:c7659f22557c5a0bc4855cd635f55edec690cc008a40768527762cb9fb263455", size = 179941, upload-time = "2026-08-03T21:19:43.747Z" }, + { url = "https://files.pythonhosted.org/packages/10/69/43965eccfdead3b9220015fd1320e117be8c6ed01a62ffab76eeb752f5d5/cffi-2.1.1-cp312-cp312-macosx_10_15_x86_64.whl", hash = "sha256:c8c69575568085ba0b1b10c0249d779a214aea6f6522e949a0fc9fb0fcb449d0", size = 184821, upload-time = "2026-08-03T21:19:44.887Z" }, + { url = "https://files.pythonhosted.org/packages/54/7d/16e5a096677b5e313ca80cd5e5170efa3ea44624a82bb111925522da64b1/cffi-2.1.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:f81b3b8f3d4e343550fa4baa0e479bba9f2d29ce9c2e9b51d1ce1718d7442fcf", size = 184719, upload-time = "2026-08-03T21:19:46.129Z" }, + { url = "https://files.pythonhosted.org/packages/56/e6/8941622732edec876dd17d0453dce07317ae96db34f2ec1436c9d3785986/cffi-2.1.1-cp312-cp312-manylinux1_i686.manylinux2014_i686.manylinux_2_17_i686.manylinux_2_5_i686.whl", hash = "sha256:811bd1e21d32de12efca32393a0ab3f5133b54fce9bd44b8bd77ab07da14bf6a", size = 214799, upload-time = "2026-08-03T21:19:47.218Z" }, + { url = "https://files.pythonhosted.org/packages/44/de/f98430906df1545ffde0d543dd124a7a439bc2cd32b36b9c53f805df7333/cffi-2.1.1-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:68e62fe11f30d5ca8289242866f0a5291402d8529ca2178ab8afc5c9694ae890", size = 222389, upload-time = "2026-08-03T21:19:48.331Z" }, + { url = "https://files.pythonhosted.org/packages/6a/5b/717f1526b9957b34456313c31645c5b82b8fb5c3fe9e4752999be7128bfc/cffi-2.1.1-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl", hash = "sha256:4a7c934f7360e8cd64fe9efadcbd10c7c6364f531e432b9a4bf5ccbc9e0e8b50", size = 210249, upload-time = "2026-08-03T21:19:49.543Z" }, + { url = "https://files.pythonhosted.org/packages/64/b3/f8aa4f3e34986c7e4ec45072d1b1b9dd295b6b18007b45518d79726dd725/cffi-2.1.1-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.whl", hash = "sha256:3143d81e29e1e20a9ce10901ec369012947876596f75a222235965f2b7ae832e", size = 208775, upload-time = "2026-08-03T21:19:50.918Z" }, + { url = "https://files.pythonhosted.org/packages/b1/db/dceb9dd5b231e1da801793f8acc9f3c52a7e1afe40bb1aae37e02b0faad5/cffi-2.1.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:c1453022f490d2459a11819d83ad1d586e9ff65a12ac3e705ffebd46d3685dcf", size = 221822, upload-time = "2026-08-03T21:19:52.054Z" }, + { url = "https://files.pythonhosted.org/packages/a0/d2/6cd24ae3be000a634109c247d1475d62e5616d0dc78c82770942ec384248/cffi-2.1.1-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:208f941bb9d18e768138677f0a6d2ce01f590df56043dda1df1535ac57c88517", size = 225232, upload-time = "2026-08-03T21:19:53.109Z" }, + { url = "https://files.pythonhosted.org/packages/cb/52/3fa190537004dd7f0ab860a6dc7c0175b8667f68d1e618a46f5498d30250/cffi-2.1.1-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:210019b6c7cf07f081b4c54635c8cf744377001350e29cc0f81c4377b4797735", size = 223597, upload-time = "2026-08-03T21:19:54.515Z" }, + { url = "https://files.pythonhosted.org/packages/80/fb/0bb75b7039588c074b37ae99f40d9bfddf990ecb2fbc346ebccd2e56b9be/cffi-2.1.1-cp312-cp312-win32.whl", hash = "sha256:046bfc24911b37851ee1b51aab8bffe713d89c68c6a057b09484ce9fd5f69b4e", size = 175292, upload-time = "2026-08-03T21:19:55.566Z" }, + { url = "https://files.pythonhosted.org/packages/d9/79/615cc094e2fb508cade7de88d3b4f6c4ec2bab695c97bce9153dc65aadf5/cffi-2.1.1-cp312-cp312-win_amd64.whl", hash = "sha256:f53e442b08449d42821fa4a4fba000095af9f62742a500f978a9f557ec44339a", size = 185919, upload-time = "2026-08-03T21:19:56.89Z" }, + { url = "https://files.pythonhosted.org/packages/70/c6/d0ea84713fe46b243a436a18fcd47d639732747e21635c8a27191b06dc30/cffi-2.1.1-cp312-cp312-win_arm64.whl", hash = "sha256:7bde5e4cc5c10140859842b9d383af292b22639a4dffb725314baf45968cef80", size = 180093, upload-time = "2026-08-03T21:19:58.155Z" }, + { url = "https://files.pythonhosted.org/packages/9d/f4/035513d4117049066b4779dc3b7c0c0fdad175fa13731c9f4003f1cd1478/cffi-2.1.1-cp313-cp313-ios_13_0_arm64_iphoneos.whl", hash = "sha256:b5bdfd1c873d4e093aabc0ca84c4ca6dbc4f752afb5c86f146d9742580c9da2e", size = 194248, upload-time = "2026-08-03T21:19:59.399Z" }, + { url = "https://files.pythonhosted.org/packages/76/af/2aeb4dbb5fc41a04161ae9ff1518de7cec08e164f44a8ce6a4cf7fd2cd1d/cffi-2.1.1-cp313-cp313-ios_13_0_arm64_iphonesimulator.whl", hash = "sha256:31348097ff5bbe827ccc41795d4dd099d9f0625e7def00ee653c137a490c2a6c", size = 196908, upload-time = "2026-08-03T21:20:00.746Z" }, + { url = "https://files.pythonhosted.org/packages/a7/46/2e5fdde8555706dd98139a910ca11be02809f3f605ce956f655d0214e100/cffi-2.1.1-cp313-cp313-macosx_10_15_x86_64.whl", hash = "sha256:9d2055050ea716bd38b7f7f1579c275386646b4894c155a3e2f3cd62ed41b7c6", size = 184805, upload-time = "2026-08-03T21:20:02.02Z" }, + { url = "https://files.pythonhosted.org/packages/55/41/4c7042f317b9217502988f0873af87e16ad606dc20f84e546e3e6ce9764c/cffi-2.1.1-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:19ee6127ee34de7d83ce3d371ebc5ed91addbdcc39f9ab15ce4eb35a4e534971", size = 184764, upload-time = "2026-08-03T21:20:03.141Z" }, + { url = "https://files.pythonhosted.org/packages/43/1f/1c3d90d91811c8f86ced9ed637956c54bfe5b79ca98fe976d7f8c8979f6b/cffi-2.1.1-cp313-cp313-manylinux1_i686.manylinux2014_i686.manylinux_2_17_i686.manylinux_2_5_i686.whl", hash = "sha256:6a8dddef476fab96d066d578fc88526767b836ab5ab21754e1d5bf3879c31c7c", size = 214722, upload-time = "2026-08-03T21:20:04.377Z" }, + { url = "https://files.pythonhosted.org/packages/37/6f/3b5ce4c3b2192d250f04908f2bfd91ef34552ec8f7716a5d4abdb8d67bb2/cffi-2.1.1-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:f16c709686a78c727bbbf059f92b0bf41c6fc60deec706d2dc19f529175a6125", size = 222369, upload-time = "2026-08-03T21:20:05.544Z" }, + { url = "https://files.pythonhosted.org/packages/02/10/4b3c75dde3d9663c9e02ba05c2668b954f671d4bbe346413ca8c696b295a/cffi-2.1.1-cp313-cp313-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl", hash = "sha256:fcd22650c908d7b7da162bbfaab594a1227a15d1643a98c68b122ac642fa2264", size = 210175, upload-time = "2026-08-03T21:20:06.75Z" }, + { url = "https://files.pythonhosted.org/packages/df/62/14f74b9543e605d17701dc797b815958b8bb70b7624ce1b832ddad48ed6c/cffi-2.1.1-cp313-cp313-manylinux2014_s390x.manylinux_2_17_s390x.whl", hash = "sha256:aa9511c62d14da7aacc9b4bf51f3f697a621e83b2d6919008243c3aad168eea3", size = 208670, upload-time = "2026-08-03T21:20:08.04Z" }, + { url = "https://files.pythonhosted.org/packages/95/95/86342356ff5953b3fb06f7ef7c5bee212d45e770abc7218d451b9148313c/cffi-2.1.1-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:a931079504ecc49efed7744c476a5c343a92fabf66dec2db95edb1b2fdc770e2", size = 221824, upload-time = "2026-08-03T21:20:09.274Z" }, + { url = "https://files.pythonhosted.org/packages/eb/ff/7b3429ff53aafe931ed8a5fc69f481bbef7ba6de87ddcbb63d08f483f613/cffi-2.1.1-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:a2d7755bef5a12ed488f4ef1f1b69ee9191d7396083b755a5d2295f6edb4768b", size = 225148, upload-time = "2026-08-03T21:20:10.7Z" }, + { url = "https://files.pythonhosted.org/packages/34/34/a95870b9221e09cf4f2ce3178b1a210abdfe63a1bd357da940418d7b8d15/cffi-2.1.1-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:e0bcb7e0f677f543555d2adff3bf19c05f66cdb4796e5ff602442ab2fe3c4ef7", size = 223564, upload-time = "2026-08-03T21:20:12.165Z" }, + { url = "https://files.pythonhosted.org/packages/70/ea/839b50531021a647fb5e929f72cf97bc1ff702b5472166164b5b6e76b851/cffi-2.1.1-cp313-cp313-win32.whl", hash = "sha256:334644fbac4eff73d985a17a91226df55d0f394160c4cfb880e084c8f7161cac", size = 175263, upload-time = "2026-08-03T21:20:13.559Z" }, + { url = "https://files.pythonhosted.org/packages/60/a6/8b149b2c3f2e11aaa1618ef64500b45f50f22c57a977a4dff1aff1f91042/cffi-2.1.1-cp313-cp313-win_amd64.whl", hash = "sha256:1aa5645c30469b09530c4ebca77ebf8f17618293c58f8549cb1a543a50236e7d", size = 185688, upload-time = "2026-08-03T21:20:14.69Z" }, + { url = "https://files.pythonhosted.org/packages/01/9a/11f687cb39d6a3504060d5242f04f48c735afb4d3d533958a20594890cb2/cffi-2.1.1-cp313-cp313-win_arm64.whl", hash = "sha256:63bbfd5ded17c4840ac07cd8f1c21ba9d9708141f840b324f422f41b207e3973", size = 180078, upload-time = "2026-08-03T21:20:15.917Z" }, + { url = "https://files.pythonhosted.org/packages/d3/7b/d6bbf82b8b96e7391438898c42f5bd96dd02030fd5b64937d248220003e2/cffi-2.1.1-cp314-cp314-ios_13_0_arm64_iphoneos.whl", hash = "sha256:7dbb61fe3a7699468030f71bbe5f8a0e326a151daa91beb11a6fc1f980c55e1c", size = 194064, upload-time = "2026-08-03T21:20:17.148Z" }, + { url = "https://files.pythonhosted.org/packages/94/e6/bcc91b283be94735e268487a054004f0aa19947b6348fa367db53230abc8/cffi-2.1.1-cp314-cp314-ios_13_0_arm64_iphonesimulator.whl", hash = "sha256:f24fb43132a4c6b4cb4eb029492919b2db645be6808d738f244fd146c03c32cb", size = 196720, upload-time = "2026-08-03T21:20:18.268Z" }, + { url = "https://files.pythonhosted.org/packages/d9/99/c4b0c17cacdc9c3b8f280026286a9826d6a208c0f047591a3c3ce99b91fd/cffi-2.1.1-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:d28630f5854ab07ab1fd4aba756de52326c82e6be15d414b12793f1975048b54", size = 184964, upload-time = "2026-08-03T21:20:19.708Z" }, + { url = "https://files.pythonhosted.org/packages/b3/a9/9db617d05d7367c1ad0ab00b3aa6e6f9281edd689b4ee9ea0e5a84e89c97/cffi-2.1.1-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:661c298b4821edebead0c91edd2b00374d67ad7c5a1f7a91d4442633b79d6a72", size = 184962, upload-time = "2026-08-03T21:20:20.833Z" }, + { url = "https://files.pythonhosted.org/packages/67/b8/b42132ca113dc567d37684437b46ca1dafc885902b02a110a02d5b511857/cffi-2.1.1-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:58acb8ab8e295e6c5ea12f888cbb13cf21511ef2a3303a23f4325c29d17fe5c1", size = 222328, upload-time = "2026-08-03T21:20:22.118Z" }, + { url = "https://files.pythonhosted.org/packages/80/10/c5c0cbf0a657aecf59ef511409734230bf556f05a0d6c9eed7aa5c0a0166/cffi-2.1.1-cp314-cp314-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl", hash = "sha256:456a61fa52d579ebf9df2e9552ead5129855dbaff6c1e5a9b1bc408809bdc062", size = 209985, upload-time = "2026-08-03T21:20:23.401Z" }, + { url = "https://files.pythonhosted.org/packages/d5/6c/bfa0b87b03b9238148beca990292843c9396ba069b54496596594173de7b/cffi-2.1.1-cp314-cp314-manylinux2014_s390x.manylinux_2_17_s390x.whl", hash = "sha256:a4f00aa42f75d6e4595e8866e748cc1705adc0cddfeb2ca86d0d03993d63ba03", size = 208530, upload-time = "2026-08-03T21:20:24.628Z" }, + { url = "https://files.pythonhosted.org/packages/e9/02/4e7d553a7ac4b4238b38b3c1b80d486e9d4436f8d2acbf87a0997fe3f402/cffi-2.1.1-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:b0431303acaea1089ad4b3e9ce4e6518193def1118d4073ca848635ee4ea2e96", size = 221525, upload-time = "2026-08-03T21:20:25.758Z" }, + { url = "https://files.pythonhosted.org/packages/82/1d/a4aaf9babd75acb4d5f223bff71533bee748dd770a382619a798960ee9ba/cffi-2.1.1-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:64faea20f4e2613363a1a9b9c7dd73058f3ecd00133a511e72ad7c511658f527", size = 225053, upload-time = "2026-08-03T21:20:26.985Z" }, + { url = "https://files.pythonhosted.org/packages/81/10/5dc0e7bdd18e22107054288283380fc97a06ae3f1656a106908d666a3c88/cffi-2.1.1-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:5c58fe613dc5e5336357eff555824a314d8e43282600435c8d1cb6a7a2fedd13", size = 223213, upload-time = "2026-08-03T21:20:28.277Z" }, + { url = "https://files.pythonhosted.org/packages/0b/e9/d0061c364cde06ee43168a0d076ac1da512cbc380d44767b844ba34fe2b6/cffi-2.1.1-cp314-cp314-win32.whl", hash = "sha256:1a18a57b58cfb21fc28d72e876acf10eaed67a1ed96226f92af4df681d571c4c", size = 177682, upload-time = "2026-08-03T21:20:44.288Z" }, + { url = "https://files.pythonhosted.org/packages/a7/06/1c3e01e3ba14c39f6d10bfbac52753b7e22259e38088e5cfe1d704918690/cffi-2.1.1-cp314-cp314-win_amd64.whl", hash = "sha256:3222ba5d678f80a030e6afbcc33dc1ae5cb45facabb61cee2c7016b8432fde48", size = 187949, upload-time = "2026-08-03T21:20:45.623Z" }, + { url = "https://files.pythonhosted.org/packages/87/5b/da4e39efe18eeb89cf580ea9cfc66b6a7c3eadb808fc0cc1d3a295cb5a5d/cffi-2.1.1-cp314-cp314-win_arm64.whl", hash = "sha256:ab36d55f9ed2d067327667c2fea18dda018eb628dd6347aa01dda6cf1f5d3836", size = 182947, upload-time = "2026-08-03T21:20:46.955Z" }, + { url = "https://files.pythonhosted.org/packages/23/59/40338bf421c5accea1d45158170c87006ef1cd371b05c077e76476949728/cffi-2.1.1-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:7750c6449dff7864bb9bb27ddfb0267756189201a3afc911d82b3caacd70dfc3", size = 188504, upload-time = "2026-08-03T21:20:29.495Z" }, + { url = "https://files.pythonhosted.org/packages/7d/47/5ecf1023850036e674c77ec4de86182d309ae344e39e7cba984b7df5d647/cffi-2.1.1-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:0beceaabe56af686895136a2de78db54ecd8e4046b236b8fd6d6cb61389e9bf2", size = 188259, upload-time = "2026-08-03T21:20:31.291Z" }, + { url = "https://files.pythonhosted.org/packages/2a/9c/92934c3bea9f785b23eba304538c0b4d37a2a96d2431eb3a1bc87a11aa19/cffi-2.1.1-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:49cbc70e6542d4ccccb936558d1064a8012541e78f821f955cff24e357776c94", size = 223864, upload-time = "2026-08-03T21:20:32.571Z" }, + { url = "https://files.pythonhosted.org/packages/4d/45/ba4c93527bc38616a8bd36488acb69a2212d60486794f0c1f318949bbb76/cffi-2.1.1-cp314-cp314t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl", hash = "sha256:e2d65b31f36619cda3999b78b2aa9632e76b78448e7a56fc4240824200e7c4fc", size = 211538, upload-time = "2026-08-03T21:20:33.808Z" }, + { url = "https://files.pythonhosted.org/packages/80/e9/b6ef565e452acb932fb0cb5443f44a78efbd1233e566f02b5a83855e9115/cffi-2.1.1-cp314-cp314t-manylinux2014_s390x.manylinux_2_17_s390x.whl", hash = "sha256:28907ab9bfb6aa13184cfc17c6b8e1023c5ab6fd7076d8c20a35e59fe04f8f29", size = 210688, upload-time = "2026-08-03T21:20:34.974Z" }, + { url = "https://files.pythonhosted.org/packages/9a/95/eff5f0cee78d2eabc7eebffec40d3fc1876b5f3c95582e018bb4b99601f2/cffi-2.1.1-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:51b31d1c98274844cfd7838ce00bfc27c7423a4dc00fc0772fc3331c2cc90676", size = 223803, upload-time = "2026-08-03T21:20:36.564Z" }, + { url = "https://files.pythonhosted.org/packages/fa/01/579d39fb8bef00a335a23d83757b44feb24cd6345a2c451b64cb67b9c362/cffi-2.1.1-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:5e7cecbaadb83884793e05828cee59b210b24583b9c7425d0ba6a754fe22eb4e", size = 226763, upload-time = "2026-08-03T21:20:37.816Z" }, + { url = "https://files.pythonhosted.org/packages/8d/b0/0b44f47c60b01b57b6e2bbd92343f13a85a1d93bc46ccf6e47e244acd99c/cffi-2.1.1-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:25792eac27877609e7bb06d42ff88278a6624fff2ba9bbb523c09616b117e80f", size = 225688, upload-time = "2026-08-03T21:20:38.959Z" }, + { url = "https://files.pythonhosted.org/packages/eb/d2/3b7176cb570a1d3e27faf67b72f591af508036e0d8b2be2ef9af9e8c84bb/cffi-2.1.1-cp314-cp314t-win32.whl", hash = "sha256:8ef53b2de9bcb9197d31854256575d59dbac0cba72ac627bb291ef5eceb74be4", size = 182868, upload-time = "2026-08-03T21:20:40.388Z" }, + { url = "https://files.pythonhosted.org/packages/56/78/31f00c1bcd97c9bbf55f1bfdf5bc809a5de8887473e90bb9960dca825e80/cffi-2.1.1-cp314-cp314t-win_amd64.whl", hash = "sha256:616f097f2fe415bc92a247f02e11f634e1f9e9a83d327e3c915c15089c87869e", size = 194104, upload-time = "2026-08-03T21:20:41.725Z" }, + { url = "https://files.pythonhosted.org/packages/7b/1b/58496f2ed0a35de575250c02a43ab3cc2c04d494a88fed31c1cabc0fd176/cffi-2.1.1-cp314-cp314t-win_arm64.whl", hash = "sha256:ad2c86c495b899d862ea0f4b42891b8713a3bd45dd4105c7fd51c2a72f39f3a5", size = 186402, upload-time = "2026-08-03T21:20:43.042Z" }, + { url = "https://files.pythonhosted.org/packages/c1/8f/9ebe220eab48a093d1a5a5e339ab0dc7316eef3bb04d63c42f0251b61f50/cffi-2.1.1-cp315-cp315-ios_13_0_arm64_iphoneos.whl", hash = "sha256:dddad92b554513a31f272570678ba307fb9f618f05e3d4a5eacafff9eae03e1d", size = 194043, upload-time = "2026-08-03T21:20:48.179Z" }, + { url = "https://files.pythonhosted.org/packages/ff/69/844bad3ece306c4782c2ecb93597035b6690d48704b803914c199da1e8b3/cffi-2.1.1-cp315-cp315-ios_13_0_arm64_iphonesimulator.whl", hash = "sha256:da0e573f9f97159390c89d9f1a9e41908b66d408cc5b58d08cf3847d844c531b", size = 196737, upload-time = "2026-08-03T21:20:49.457Z" }, + { url = "https://files.pythonhosted.org/packages/1b/8a/af668013284634733f02d683458a0728739c7d6ddb5e14cb0c20832266fe/cffi-2.1.1-cp315-cp315-macosx_10_15_x86_64.whl", hash = "sha256:fb92203a88b3d3053034db775110081c49d28be6551923805e039924093761e4", size = 184933, upload-time = "2026-08-03T21:20:50.639Z" }, + { url = "https://files.pythonhosted.org/packages/0c/75/2f5207ff6d1a613133b23a5203cc0c2a628313b5eb3974d7956ae3c57950/cffi-2.1.1-cp315-cp315-macosx_11_0_arm64.whl", hash = "sha256:2ae64be792b8966f2c69538199728b290e34726562896df1e5dc8ffd8d8188e8", size = 185002, upload-time = "2026-08-03T21:20:52.173Z" }, + { url = "https://files.pythonhosted.org/packages/e2/31/9e1313b0a6e30e91b3b3d3fff51ae99c857c07738e3afcce1f7334e1b7ab/cffi-2.1.1-cp315-cp315-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:507a24c282e0f42f8ed737cf048572cbf580468da5555764a8331735e9c736b6", size = 222271, upload-time = "2026-08-03T21:20:53.462Z" }, + { url = "https://files.pythonhosted.org/packages/50/e3/f6234a833e6e08c7007003074723c406559eecf9b48dfc97471e5a8eb7a0/cffi-2.1.1-cp315-cp315-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl", hash = "sha256:246fa40ce8645a614ff682e0b70f37134e460eaf93a775e0cbe3cca585a67a80", size = 209919, upload-time = "2026-08-03T21:20:54.783Z" }, + { url = "https://files.pythonhosted.org/packages/0d/fc/5f74e293fced6edb51af3a46c4ccf6c23c9943774ecb375ddbd522c76add/cffi-2.1.1-cp315-cp315-manylinux2014_s390x.manylinux_2_17_s390x.whl", hash = "sha256:471cee653ae88de62096552e6d24ccb4a5adb8c8c9f10b5054d0122c15bf2779", size = 208529, upload-time = "2026-08-03T21:20:56.066Z" }, + { url = "https://files.pythonhosted.org/packages/44/16/29e6d01b388bef055ecd6ca8244b3f4d336bd09e92d5d892187b9601084e/cffi-2.1.1-cp315-cp315-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:aeae0e330c9f6acd681f647d46cefd30c29f93e3392882e792e82080c9691399", size = 221630, upload-time = "2026-08-03T21:20:57.336Z" }, + { url = "https://files.pythonhosted.org/packages/a4/18/fa7f1f6857d5eb88a4ca99ffcbfb7c387a287ccc154c64a73e86314745d7/cffi-2.1.1-cp315-cp315-musllinux_1_2_aarch64.whl", hash = "sha256:42a494cee34437f05546455144f2b5d9ac09b1face62bcfce597d2e521066688", size = 225134, upload-time = "2026-08-03T21:20:58.675Z" }, + { url = "https://files.pythonhosted.org/packages/e0/9f/e8e3dfa04a1b4c241f8c91faacad872b4d4efd051d49764ad4e2fd4b9fea/cffi-2.1.1-cp315-cp315-musllinux_1_2_x86_64.whl", hash = "sha256:cc572dace3f60ef98d7b12ff411d20f5362feb31a0439eab0085bbfd349982d7", size = 223197, upload-time = "2026-08-03T21:20:59.968Z" }, + { url = "https://files.pythonhosted.org/packages/f8/7e/8debeb04f1ab9fe2a6963964cd6f1aaf7192627b83926586a6a4e089c9fa/cffi-2.1.1-cp315-cp315-win32.whl", hash = "sha256:4f42141fc14250de6dde5ee7ea4432be017252d91f19c5ad043c084cea629cac", size = 177683, upload-time = "2026-08-03T21:21:14.901Z" }, + { url = "https://files.pythonhosted.org/packages/e0/31/5158704cc474ab65c1647932e88be78dc0873f47130e253be38bcaf13d01/cffi-2.1.1-cp315-cp315-win_amd64.whl", hash = "sha256:e6e8cff14d6fb0be70a09c0bdc58096f501952d04624ebf867e0e56da2df8960", size = 187897, upload-time = "2026-08-03T21:21:16.108Z" }, + { url = "https://files.pythonhosted.org/packages/cc/4b/b3a2da8570c704ffc0f9762cdc3ec0f02c8573798e0b5cf7f11c82bbb70f/cffi-2.1.1-cp315-cp315-win_arm64.whl", hash = "sha256:27350daa11d4f10c540e6e89dada4c54feb7256ad03e9a4dc075ebad7ba360d1", size = 182935, upload-time = "2026-08-03T21:21:17.271Z" }, + { url = "https://files.pythonhosted.org/packages/d0/ef/5443574510a1207e6f6bc38ba6e1f1de36cb48fef07b2728bb896a21f430/cffi-2.1.1-cp315-cp315t-macosx_10_15_x86_64.whl", hash = "sha256:c26608d2222fb1e94487e4a387d85f13eb55d5ed725cb25a0c589ac4ee60e7bc", size = 188464, upload-time = "2026-08-03T21:21:01.163Z" }, + { url = "https://files.pythonhosted.org/packages/7e/ae/a56fa8c4686ad50e148fcbc8d3ae0d03915ff5c30d795058988c24118cef/cffi-2.1.1-cp315-cp315t-macosx_11_0_arm64.whl", hash = "sha256:4be96343e422f2dfcd12ab5c9f5aebe03f82f737c6bffeca6830b3875cb44aab", size = 188262, upload-time = "2026-08-03T21:21:02.382Z" }, + { url = "https://files.pythonhosted.org/packages/53/b2/6187f46f2912276a3ae284076109cc5c8680482f11f766ccf26db4a86427/cffi-2.1.1-cp315-cp315t-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:937c0052c05a31ca1daf18de3158eed4dbfcb9cc107adbea227728d647be701e", size = 223779, upload-time = "2026-08-03T21:21:03.553Z" }, + { url = "https://files.pythonhosted.org/packages/8a/f6/c3ad28bd19f77047a03084424fbd4cbe997303267c14423737324be0385d/cffi-2.1.1-cp315-cp315t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl", hash = "sha256:df423d40ee8654634421812bc3b196da3f9bd7d32929da813f8394c4348a5358", size = 211520, upload-time = "2026-08-03T21:21:04.863Z" }, + { url = "https://files.pythonhosted.org/packages/a0/cd/ccac9013a5bd9fd764de118674ab9c805b5ca10c19270d90ee273f8b2240/cffi-2.1.1-cp315-cp315t-manylinux2014_s390x.manylinux_2_17_s390x.whl", hash = "sha256:a730a083190634c65cca36ba5f489531576ebd79bcd5c8e172130f6453127231", size = 210673, upload-time = "2026-08-03T21:21:06.223Z" }, + { url = "https://files.pythonhosted.org/packages/52/86/2976131c639aead931c5bee5aba67e4b09fbeb8018b6f282f70803f923a7/cffi-2.1.1-cp315-cp315t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:363e05fa78e15116c3c32c210ee36884fd6b9afa6d440e47112c3bd511d64cb6", size = 223835, upload-time = "2026-08-03T21:21:07.539Z" }, + { url = "https://files.pythonhosted.org/packages/ac/0c/33a7aeab2f9c76918c52e084beb39c570db3588133412929e8ec06fab90b/cffi-2.1.1-cp315-cp315t-musllinux_1_2_aarch64.whl", hash = "sha256:770de9db11e84213beec501cfcaa013b019820ca881e03344dea5844f7876d94", size = 226705, upload-time = "2026-08-03T21:21:08.774Z" }, + { url = "https://files.pythonhosted.org/packages/e3/26/2cde30fdde421130bfc18f70395731a6e6b2053c6a1978a5258ff04e72fa/cffi-2.1.1-cp315-cp315t-musllinux_1_2_x86_64.whl", hash = "sha256:7da0c5eff80f0197f3b3d1232ec5a682a9325f4ae9016a78f5f5ca35f9ced1f5", size = 225539, upload-time = "2026-08-03T21:21:09.911Z" }, + { url = "https://files.pythonhosted.org/packages/6d/cd/a361394c94b2129d604bb846f624a8e88255a3ee33129c434a00d715e64f/cffi-2.1.1-cp315-cp315t-win32.whl", hash = "sha256:06c72bb76605a4b0cd0aad6930b69d4baf7dd5d806cfc409b824191099700e66", size = 182707, upload-time = "2026-08-03T21:21:11.226Z" }, + { url = "https://files.pythonhosted.org/packages/9b/b5/ba2b299993c26577d529b6ae29841f9e15b9fcf004d65f423f4fcf94ade9/cffi-2.1.1-cp315-cp315t-win_amd64.whl", hash = "sha256:d9c275eaacd24aa73f94ffd6de08fc3f932424d8b6c376f4bed7cde376fe7bc3", size = 193772, upload-time = "2026-08-03T21:21:12.39Z" }, + { url = "https://files.pythonhosted.org/packages/aa/29/35e016098c814cd93de9cd320c66b5bfba14dc6ecedd3cb518fa7c408c69/cffi-2.1.1-cp315-cp315t-win_arm64.whl", hash = "sha256:d18e5ac0f2f03f4f518d3e23db0f0cad7faa1da8620e9c09461d443bbf6e6692", size = 186360, upload-time = "2026-08-03T21:21:13.636Z" }, +] + +[[package]] +name = "charset-normalizer" +version = "3.5.2" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/33/1c/f41d4e74c28ab327ff3acd36053f7ea506c55872d7a90b0fa71aa3ab0c89/charset_normalizer-3.5.2.tar.gz", hash = "sha256:39de2a259fc954455c57274dc94c79d5842774e1247a016aff30bc0efed0f4ef", size = 172659, upload-time = "2026-09-30T04:39:23.398Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/22/67/6a0b94a7960d5e1b5eacd2fb529f3fccc47db4644f7f0a7cfdcfc3be578a/charset_normalizer-3.5.2-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:3d21b8b13c7592db2ac5e544a6d83187b995257472b0c9e8351b6d507ae37ed6", size = 370642, upload-time = "2026-09-30T04:35:06.91Z" }, + { url = "https://files.pythonhosted.org/packages/fb/94/01009e13b94041599004edf32e56e382c24e570f60f79bab8efe45cfe1eb/charset_normalizer-3.5.2-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:d760fe2a4d7c3b226cb9026d6a842868d52a7901bd98420e1baf14e80da85cf5", size = 259280, upload-time = "2026-09-30T04:35:08.448Z" }, + { url = "https://files.pythonhosted.org/packages/66/85/3b5358f60a13210f0b67d3755c168ef758701b021e655d88d4da28554467/charset_normalizer-3.5.2-cp311-cp311-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:c9790464842f85f437dbbb54417eda1e0e6bfc52dd8d22d6fd1c994b73b2dc74", size = 245335, upload-time = "2026-09-30T04:35:10.104Z" }, + { url = "https://files.pythonhosted.org/packages/74/75/77c1c479b09ecd751d1e767b251ea5c14d4d50ff757bf404afab2692f600/charset_normalizer-3.5.2-cp311-cp311-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:4685902cf26edf013ed7a3da0f426ebba7a00ebb9541386d835afbf002c11cab", size = 291707, upload-time = "2026-09-30T04:35:11.575Z" }, + { url = "https://files.pythonhosted.org/packages/0b/0d/363f78cacb70f58f15f4b083961bbd9d292f335d3f5c66fc4f1cfe69cb90/charset_normalizer-3.5.2-cp311-cp311-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:4495c5002a7b28557e7e222e77e0b661183e432b7d6d2e788101e3f240e05b8c", size = 286747, upload-time = "2026-09-30T04:35:13.022Z" }, + { url = "https://files.pythonhosted.org/packages/e4/ed/cf505d3011ffceb12c2067a7a5d3cfe92b875d4d44bb0ff0d69375e2c184/charset_normalizer-3.5.2-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:211d5a3eb6af8f513b8d4ca19a8c1b7accab1b5f0d3175f9826b03c1a920dc1f", size = 269972, upload-time = "2026-09-30T04:35:14.606Z" }, + { url = "https://files.pythonhosted.org/packages/15/d8/f0a93a431d170e7ca681d4f6650fee3de934d18560e474e7267eb4b0f987/charset_normalizer-3.5.2-cp311-cp311-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:ef4fcbf3327382cd4c9f540babd61248208af7b93eec4de397b4d5f58a09e288", size = 269339, upload-time = "2026-09-30T04:35:16.087Z" }, + { url = "https://files.pythonhosted.org/packages/86/bd/9b2bd1c5b7af02462c9752d33994834ff972a96b4c483eefde9e594488e2/charset_normalizer-3.5.2-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:bd16aabe4a02a297c23417aa17ac6299dbd8c49f673bcd645b4929b11f5a4400", size = 261683, upload-time = "2026-09-30T04:35:17.488Z" }, + { url = "https://files.pythonhosted.org/packages/76/a5/cac540ab0fd61f3fec88ad3dbb64509e71424593d73cfdfff5ab3e4db279/charset_normalizer-3.5.2-cp311-cp311-musllinux_1_2_armv7l.whl", hash = "sha256:fb9e68df06293761f9fe66ade60a9bc6d0f5e42b8acf2939a9158af86ab0e5bd", size = 248143, upload-time = "2026-09-30T04:35:18.849Z" }, + { url = "https://files.pythonhosted.org/packages/71/7a/ff467301deef2089fad87f72df9e000a26a78fec7acbb18e1999371b8369/charset_normalizer-3.5.2-cp311-cp311-musllinux_1_2_ppc64le.whl", hash = "sha256:59f63901b0031c3136cf64704dcb21de0bbae62ce2c9529bc39d27665463de37", size = 292358, upload-time = "2026-09-30T04:35:20.326Z" }, + { url = "https://files.pythonhosted.org/packages/ad/77/22d7e785d1e210afc2e2f58600dd1799d17a35665faf84383f002826c5f8/charset_normalizer-3.5.2-cp311-cp311-musllinux_1_2_riscv64.whl", hash = "sha256:304d5463e65a35d7bb0850550e0780395395f6fcf452f04db7d5ca7cecc425ac", size = 268766, upload-time = "2026-09-30T04:35:21.72Z" }, + { url = "https://files.pythonhosted.org/packages/ae/91/e8e946267f1c2d9e2bd651726e2fbd2addf02c4d36cea5069e32ca9d7bb5/charset_normalizer-3.5.2-cp311-cp311-musllinux_1_2_s390x.whl", hash = "sha256:9cf9b1a857e25c4baceeb3624e92a56df3668f398c4acba74e174d81fb4d1d3a", size = 287432, upload-time = "2026-09-30T04:35:23.273Z" }, + { url = "https://files.pythonhosted.org/packages/4e/88/7561d8a88d555e7df6623abe7c0070b4baf47549b9408783a2ae0a1a6cf7/charset_normalizer-3.5.2-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:114e4d0c92d618409ed82a99e22b5c5e768fe995f2973f78265f4524f49d4640", size = 272470, upload-time = "2026-09-30T04:35:24.655Z" }, + { url = "https://files.pythonhosted.org/packages/35/7e/578c702301ec036f01455f30744a08d2b42f6ab35b9b2d4bf8cae0ef2a80/charset_normalizer-3.5.2-cp311-cp311-win32.whl", hash = "sha256:2625388c6c754520c37abaf3b41eb34d1cc4a373f457898f08606c8e362b891d", size = 186688, upload-time = "2026-09-30T04:35:26.225Z" }, + { url = "https://files.pythonhosted.org/packages/e8/fc/fdf8cf52ff21cd5bf158f20978991cf985325842f74283eb6df26c8a39d8/charset_normalizer-3.5.2-cp311-cp311-win_amd64.whl", hash = "sha256:87e50a3e7cb90af586b6c5faf23e302a970415ac73bd7bd90a515a04b427ef96", size = 214932, upload-time = "2026-09-30T04:35:27.796Z" }, + { url = "https://files.pythonhosted.org/packages/97/66/3e45a506d8110b632541faf9a9470185aa9878f1ed44020f31346c1c5e5b/charset_normalizer-3.5.2-cp311-cp311-win_arm64.whl", hash = "sha256:254eb48b9fa5ee9898a3c445825a1f340fe53712a098904b39b0bddba8ea3cb1", size = 202828, upload-time = "2026-09-30T04:35:29.259Z" }, + { url = "https://files.pythonhosted.org/packages/e7/c8/693809898870237d82785a03f3b2b58fe4c9f14669f84a7d4e623c92a59e/charset_normalizer-3.5.2-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:ed2a239c0ea213acc1908150a3037257083c7c083128f1a4cec2ec4b97dca491", size = 367780, upload-time = "2026-09-30T04:35:30.888Z" }, + { url = "https://files.pythonhosted.org/packages/c9/87/2fea8c13dc24b3ca9c6f803a5b2dfdeae73eb4f9e12c7885ed908ff0433c/charset_normalizer-3.5.2-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:b91363207bd9dc966a691e959bb47f64b30f7ac4b072be9968b366982f7db77c", size = 246730, upload-time = "2026-09-30T04:35:32.286Z" }, + { url = "https://files.pythonhosted.org/packages/a8/9e/09efac30b937722f46d3110ba30b875b24b2e3a266ed746cc4e376a94d80/charset_normalizer-3.5.2-cp312-cp312-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:38a873987f3be698494da8b2e3085e29da02da7b633dce73e79c699a113d7bf0", size = 237707, upload-time = "2026-09-30T04:35:33.709Z" }, + { url = "https://files.pythonhosted.org/packages/9e/18/70d76670b13686237863a379928d60bd10e021f17d243ab3d7014c4a5f4e/charset_normalizer-3.5.2-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:355ad8011081dec5412240c087a9a0c9d4d5039f3ed11a3f13e18c2b29b56c51", size = 273050, upload-time = "2026-09-30T04:35:35.138Z" }, + { url = "https://files.pythonhosted.org/packages/54/e2/77a8b09d5adc013ed07b95b01b8b8fa5441c4e810e83ee7e4aae2fa4d91a/charset_normalizer-3.5.2-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:ee21e28f0430bd6dc9086c6e525d5e818a44a5ad19720c8a0ef766792f3eb5e5", size = 270345, upload-time = "2026-09-30T04:35:36.502Z" }, + { url = "https://files.pythonhosted.org/packages/7f/c5/38806a25ab5e65fc178f39affeda20858efafede2fce1ffc2556cfc9fe73/charset_normalizer-3.5.2-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:3d31298449090ab8d47b7b1b2a555ff73cac7ed438a08b7ac160980c7ebed649", size = 257601, upload-time = "2026-09-30T04:35:37.919Z" }, + { url = "https://files.pythonhosted.org/packages/ae/8d/213565184708fdb263ae55e2c04ee1ff748129dd65d48ed0e3502da9c85a/charset_normalizer-3.5.2-cp312-cp312-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:5cde776b7cc66e4f6c99612cea4aa7269aa65863f7a15841b2c264f103822f4e", size = 252222, upload-time = "2026-09-30T04:35:39.544Z" }, + { url = "https://files.pythonhosted.org/packages/7e/24/76d2cefc25472531e4c5c7dfff68865eb1c39b78482f0fdc15b46f047830/charset_normalizer-3.5.2-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:ae4f5fea5b8b8ccff88238cc8569303e5ee95efae67fa62922a311397a71f346", size = 248482, upload-time = "2026-09-30T04:35:41.088Z" }, + { url = "https://files.pythonhosted.org/packages/7d/dc/65a801b66ab4c197e22c433ab25e7ac24324ac6f45a2269aca42cce309bf/charset_normalizer-3.5.2-cp312-cp312-musllinux_1_2_armv7l.whl", hash = "sha256:f7d486c83842422badd511868fd8a9a20e9407ace71564b6af47ce7e60a336c1", size = 241206, upload-time = "2026-09-30T04:35:42.59Z" }, + { url = "https://files.pythonhosted.org/packages/a7/95/ca9b5eabde673002c6f1e7ada1b223916fe18f6d661da7aabd4d643718f1/charset_normalizer-3.5.2-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:11a4d68a6ecda3292cb1e50239e111543ba5d709bb62a6b4ea1afcfa729d8875", size = 273190, upload-time = "2026-09-30T04:35:44.347Z" }, + { url = "https://files.pythonhosted.org/packages/2d/8b/803b4d2a3f6e1740f63f1e87b04d14b42f3d4fdfe6ed7d4db2d34102b14f/charset_normalizer-3.5.2-cp312-cp312-musllinux_1_2_riscv64.whl", hash = "sha256:d6734d2ef8a50fbf8445c139477da401f50d62a0606bf00e20ec6d87773fefb1", size = 253527, upload-time = "2026-09-30T04:35:45.915Z" }, + { url = "https://files.pythonhosted.org/packages/a9/55/93c0e5dbd085ae0471346026abbe7e0db9ea2d6fea74e51f0b5a46f233a7/charset_normalizer-3.5.2-cp312-cp312-musllinux_1_2_s390x.whl", hash = "sha256:a815775b6c38d4e0ff7bcffbeba67feded90202bb6a226b8dd35f1c855217413", size = 271285, upload-time = "2026-09-30T04:35:47.49Z" }, + { url = "https://files.pythonhosted.org/packages/95/69/0dbd0e0b9b16cfa816cdfcb3e2e3854a1f680dc07fb1245ea125e7448060/charset_normalizer-3.5.2-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:23851fb4e1b85ed3f6c2a27b777cdfe2e19fb5b38429a8faf38c7542b7665869", size = 260010, upload-time = "2026-09-30T04:35:48.996Z" }, + { url = "https://files.pythonhosted.org/packages/58/9d/e7b88e7b1bf403590c3b573277b5e1e488c68c7a6fbacca310a2c324e90c/charset_normalizer-3.5.2-cp312-cp312-win32.whl", hash = "sha256:db19d07e2e0129e974a0e65d0064fc222a446cd5122c2fd4184d2af9fc734a9e", size = 184125, upload-time = "2026-09-30T04:35:50.777Z" }, + { url = "https://files.pythonhosted.org/packages/eb/e6/e6e083884cbcfd49c64865af05027fe7011be7b2d9179524f099a1b611f3/charset_normalizer-3.5.2-cp312-cp312-win_amd64.whl", hash = "sha256:780fbe7cab297b81dad9fb8dc5eb003c0468ffb0d9e5f65068c53a34661a96bc", size = 207486, upload-time = "2026-09-30T04:35:52.194Z" }, + { url = "https://files.pythonhosted.org/packages/c4/e3/017aea0911ada7405a825c7d937eb3a13009664e2f5b38e8c4bbf2abf894/charset_normalizer-3.5.2-cp312-cp312-win_arm64.whl", hash = "sha256:e2af3aad578aa6bd1384bcf4750fc285e5a9de53f40b7d41e5a0bf748edeb2b3", size = 196734, upload-time = "2026-09-30T04:35:53.636Z" }, + { url = "https://files.pythonhosted.org/packages/c5/34/68292d68512768591aaff07c59bb53ee31341c87759433a859c4641a50c2/charset_normalizer-3.5.2-cp313-cp313-android_24_arm64_v8a.whl", hash = "sha256:ed905975ab14056a2e5eb1c376cb2e1ebc5396baf84163939c518556fccde9f5", size = 225946, upload-time = "2026-09-30T04:35:55.313Z" }, + { url = "https://files.pythonhosted.org/packages/e3/80/bee0b01b90ccd5322ae1d0abb33fab1bd95b7c2eadaf02aeccf22e04ee83/charset_normalizer-3.5.2-cp313-cp313-android_24_x86_64.whl", hash = "sha256:a66c3bc5ab1f0ff2164fc9965ddd611ff0802173f4b9d24554c563f6ab7e1d6e", size = 238619, upload-time = "2026-09-30T04:35:56.863Z" }, + { url = "https://files.pythonhosted.org/packages/78/6e/60ce52a85a7fd631ae8482ae6d74521014ca2f255892679484dc04d7ef56/charset_normalizer-3.5.2-cp313-cp313-ios_13_0_arm64_iphoneos.whl", hash = "sha256:d2374b62878abb00cd8309b32af6c0b715cd02dec0ca74ef12e5069bdc64144a", size = 206701, upload-time = "2026-09-30T04:35:58.639Z" }, + { url = "https://files.pythonhosted.org/packages/36/8c/71aafad23f971afc84c2b295bc0c560739ce1dac558aad9fec22e39f3639/charset_normalizer-3.5.2-cp313-cp313-ios_13_0_arm64_iphonesimulator.whl", hash = "sha256:d376bbd28b3a8999db1a103b3b388aee6f1ddeb3e51bc2172993efdcd86e064d", size = 210506, upload-time = "2026-09-30T04:36:00.147Z" }, + { url = "https://files.pythonhosted.org/packages/91/da/3c5a7798c046df7d2d68ad653cf5b6c5a8bfee225055a843c6f2f42aac1a/charset_normalizer-3.5.2-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:6045373d5a89a5ec71afde535db987ca28e76dfa276c2d4c818265b375d4b055", size = 366626, upload-time = "2026-09-30T04:36:01.77Z" }, + { url = "https://files.pythonhosted.org/packages/e1/16/710ac3de2ee354e2bd1a9c94efe45a2d27b5c6ad39b2d6a905be2c094b6c/charset_normalizer-3.5.2-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:849df64e889b2e17230d58410a03dba311a65b163508fd33679b2b737d4b7858", size = 244624, upload-time = "2026-09-30T04:36:03.389Z" }, + { url = "https://files.pythonhosted.org/packages/d6/39/45c7439f5b63d24f7d5b2a1d760f34af7628782d7144b4cc8ded45c2d4bc/charset_normalizer-3.5.2-cp313-cp313-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:15c44f7edfd477b06f517a5cc317fc1707edb9de2c865f43d4b6513907473234", size = 235731, upload-time = "2026-09-30T04:36:04.987Z" }, + { url = "https://files.pythonhosted.org/packages/4d/34/38f3154785ce92e9f56eb226f4d35bdfae6b008480dd055f58837a89c810/charset_normalizer-3.5.2-cp313-cp313-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:a89012d6d5476ee112d20d998570ed58df2260a852afb1758809cd6900411d21", size = 270352, upload-time = "2026-09-30T04:36:06.412Z" }, + { url = "https://files.pythonhosted.org/packages/04/f3/859f74e7babc977705026b30593b3be04049632a522fb7000f83c033d747/charset_normalizer-3.5.2-cp313-cp313-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:0c951d5e6dd9c2ff60609476752bee49da4206adde960ebc247766937f72e718", size = 267393, upload-time = "2026-09-30T04:36:07.865Z" }, + { url = "https://files.pythonhosted.org/packages/4b/85/41d27f234b82e47c167a5f6c0f62501dc0c640585ff4aba79e08a390336a/charset_normalizer-3.5.2-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:7218e8f32b0956cfcd048fd42d9d5779809745ca1d86113ca56f66e7ae1549c4", size = 254660, upload-time = "2026-09-30T04:36:09.248Z" }, + { url = "https://files.pythonhosted.org/packages/58/ca/5d1a997587febe5b26d8daffe363b5c1a091cece19828eec6502fd09c5ef/charset_normalizer-3.5.2-cp313-cp313-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:a19a731138fc27d5682277d3b9df22855cea1239bce7fcec5f78f42ef2d1f3c3", size = 249996, upload-time = "2026-09-30T04:36:10.73Z" }, + { url = "https://files.pythonhosted.org/packages/b3/1f/d1e78246f7ed60c8c8d606b4ac27f66ce49cc3e95f24893ccbeba9f77302/charset_normalizer-3.5.2-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:62603db9a7caa0802eaa28c1c46fecd7b3a263a774069c24c3c28c302448721c", size = 247028, upload-time = "2026-09-30T04:36:12.294Z" }, + { url = "https://files.pythonhosted.org/packages/8e/37/eba316edd4f0c4d3a5d945924c4eeeae59abac4056aa815d8a4268f863a2/charset_normalizer-3.5.2-cp313-cp313-musllinux_1_2_armv7l.whl", hash = "sha256:b6856554c4f44d79fc2307d5768854310a8f0096e501c75637542c82292b0429", size = 240562, upload-time = "2026-09-30T04:36:13.887Z" }, + { url = "https://files.pythonhosted.org/packages/c8/8e/aaa037d40ca9ef045977f1a661048b1aa33f223adfce3452fe9be9f79d14/charset_normalizer-3.5.2-cp313-cp313-musllinux_1_2_ppc64le.whl", hash = "sha256:1bc0baf5ef96b6ede57d47f4b8fe4d9d84019c3bfcbeb20a41edc6a6ee341f1f", size = 271699, upload-time = "2026-09-30T04:36:15.41Z" }, + { url = "https://files.pythonhosted.org/packages/26/19/1c1c9f75974adf523b87f34b8a2adc5a435cd65916812bcbd0dfa45f9a29/charset_normalizer-3.5.2-cp313-cp313-musllinux_1_2_riscv64.whl", hash = "sha256:56bc200a365efb37383b7852e4cc5898d3b2da5987289b543956cf8cad71018a", size = 252030, upload-time = "2026-09-30T04:36:16.839Z" }, + { url = "https://files.pythonhosted.org/packages/bc/90/0660ef18e18df0a4d2a1a0edff7dfbba42d4e50ef2425557a5bb7051f77b/charset_normalizer-3.5.2-cp313-cp313-musllinux_1_2_s390x.whl", hash = "sha256:2c9ad19a6cfcd5ea5c0d41161d22f9df1dcc277e9bef2751391334546a314c00", size = 268565, upload-time = "2026-09-30T04:36:18.468Z" }, + { url = "https://files.pythonhosted.org/packages/79/ba/57adc269824e8658f1a0f97a9e514c247445a9632b3419b97e0ba37f16dc/charset_normalizer-3.5.2-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:e243bd13217235fc7290c621941c3f5cc8b66e4872495be821d7436ba2fb838d", size = 257627, upload-time = "2026-09-30T04:36:19.938Z" }, + { url = "https://files.pythonhosted.org/packages/9a/85/33abd4315c052d3d4f54c92b1ee49bfbc0dc7115a981e462a793b6d2ab87/charset_normalizer-3.5.2-cp313-cp313-pyemscripten_2025_0_wasm32.whl", hash = "sha256:a090bb2c68df85450502e3e20d665e3a5af9c65a84d6508ed477badd49166fd3", size = 143407, upload-time = "2026-09-30T04:36:21.376Z" }, + { url = "https://files.pythonhosted.org/packages/4f/de/6435e18d1aaa5d910b896d551411c96af1f42a0c56c29afc2016c61ccc2e/charset_normalizer-3.5.2-cp313-cp313-win32.whl", hash = "sha256:2b7b3bbfb4fe8ef40600792d762fbaa9057559f9d3fad209525b7a22b99e91fd", size = 183207, upload-time = "2026-09-30T04:36:22.776Z" }, + { url = "https://files.pythonhosted.org/packages/9c/76/b8ec57f4e9ee3253541abf95e4a462c0175fe8032dcd070f1f2421240942/charset_normalizer-3.5.2-cp313-cp313-win_amd64.whl", hash = "sha256:78456a747de8dc58360ffa581f30a002baf5aa28cb262536545e91f113ed7639", size = 206489, upload-time = "2026-09-30T04:36:24.306Z" }, + { url = "https://files.pythonhosted.org/packages/3e/60/c647c6ae47480221e875ea5d743ff94946f7416e3c69415ab772928e8d32/charset_normalizer-3.5.2-cp313-cp313-win_arm64.whl", hash = "sha256:11912e4bb14baae7c5d8791aa55ba0a3a03ec6729073307b0f57270abaa713d3", size = 195501, upload-time = "2026-09-30T04:36:25.846Z" }, + { url = "https://files.pythonhosted.org/packages/58/ca/7aa91362a2f77ac8e9e28a9b902a74f7d0e11a851ef0d27a74308da8cd90/charset_normalizer-3.5.2-cp314-cp314-android_24_arm64_v8a.whl", hash = "sha256:1afb975bd5d68d5ce9f6b6d44fdf2f7e34b895a35e95708a7a91b20a3b51d187", size = 226010, upload-time = "2026-09-30T04:36:27.669Z" }, + { url = "https://files.pythonhosted.org/packages/a8/cf/ac8878d0322cf88a1aad4c7b147db32ca0bd806eb0060957b2e31486dbe6/charset_normalizer-3.5.2-cp314-cp314-android_24_x86_64.whl", hash = "sha256:bbbfc8e28816f19d7c0f1816664980c0a9875d01b27cdf8eedddb639d9e108ad", size = 239266, upload-time = "2026-09-30T04:36:29.434Z" }, + { url = "https://files.pythonhosted.org/packages/c9/6d/9a08d7e0b29b7208e2c6c01dc56c8e0520e7c7beadbbfb024b58fd69c8a5/charset_normalizer-3.5.2-cp314-cp314-ios_13_0_arm64_iphoneos.whl", hash = "sha256:7967d08cf06dee78443b874f98c98036f624f3a4e73e11f9f64f5be4d25393cf", size = 206783, upload-time = "2026-09-30T04:36:30.872Z" }, + { url = "https://files.pythonhosted.org/packages/82/44/b0aa350280e6ff5a5492d17cf10460dd39d5ee848f872f7ba2df10607f60/charset_normalizer-3.5.2-cp314-cp314-ios_13_0_arm64_iphonesimulator.whl", hash = "sha256:4c2b5031f63e331e3839b40aed2dd6f191e9c07edbde303e7876846ea1946995", size = 210449, upload-time = "2026-09-30T04:36:32.625Z" }, + { url = "https://files.pythonhosted.org/packages/7c/8a/40db9aa9f5907bb0e6f8b6d64064bf8852fb33d4b813ff9414911df7647c/charset_normalizer-3.5.2-cp314-cp314-macosx_10_15_universal2.whl", hash = "sha256:fcff63213e8e6e47770541a4607175404f47cbb3ebea7b6058cc82d524a0e424", size = 367815, upload-time = "2026-09-30T04:36:34.197Z" }, + { url = "https://files.pythonhosted.org/packages/7f/72/9c5e7707b57c8ddfa9ddf7b0b1d009d7fbab9e9e887d5b721060f37e307d/charset_normalizer-3.5.2-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:8d86d6fc60743dc916eb79e2eb1ec4818e21e427731543af40a3021851174a13", size = 247095, upload-time = "2026-09-30T04:36:35.803Z" }, + { url = "https://files.pythonhosted.org/packages/83/09/71e453691e927de4ddf792770cfaab3f49d494e222f66ea5e404bbd5e39c/charset_normalizer-3.5.2-cp314-cp314-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:7a881931aa470808df94a8c380eed2bbbc76cd9dc622310f99665658c821eb6d", size = 233942, upload-time = "2026-09-30T04:36:37.407Z" }, + { url = "https://files.pythonhosted.org/packages/9f/86/85c84e4da8b27dd409577d9437926ff581c5f9d3c66038dc68c1a526de51/charset_normalizer-3.5.2-cp314-cp314-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:8024d00c3faf3fc0c16e07a69f4405e8eac7cc0ab15f65fe6cf43827c4cf72b4", size = 273762, upload-time = "2026-09-30T04:36:38.904Z" }, + { url = "https://files.pythonhosted.org/packages/92/08/564955a4b5f2ccb410ab480bbe8c6a18063ff27f2d35458731c4a5335df9/charset_normalizer-3.5.2-cp314-cp314-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:4d48f2d08b9de5864e2c8744d4461b862fb149a18274abc8b698c45975573438", size = 269514, upload-time = "2026-09-30T04:36:40.469Z" }, + { url = "https://files.pythonhosted.org/packages/18/24/bad3ac4271589df29cf5ce2f5ae490518a5739358052bd0d61209e6fea54/charset_normalizer-3.5.2-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:34276fd796040bf0993ab33a369aa572e6979c7aab225a88893667ad8eac8f7a", size = 255056, upload-time = "2026-09-30T04:36:42.02Z" }, + { url = "https://files.pythonhosted.org/packages/d6/3e/350d89ad49916b86554d6f5f2d03ec1152148f87e5ff735106c6a03b1a36/charset_normalizer-3.5.2-cp314-cp314-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:0521c5665880b33d603717defa76c094048900010897909952397feb3039da56", size = 251311, upload-time = "2026-09-30T04:36:43.577Z" }, + { url = "https://files.pythonhosted.org/packages/56/5b/4970a2d154df502e133402906dd04e3ae7cada7b3011283c88d0479a2585/charset_normalizer-3.5.2-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:eff0ac9dbe711a4aee69bf04a83896aa9b85f19641264053a9f6d48573abb7dd", size = 250190, upload-time = "2026-09-30T04:36:45.185Z" }, + { url = "https://files.pythonhosted.org/packages/88/8c/f1a91bddc8fb47c2889e29ea7ea49a194eb0d9868675d786806519c00d76/charset_normalizer-3.5.2-cp314-cp314-musllinux_1_2_armv7l.whl", hash = "sha256:1503bccbeb36d5527790c3930327704c39af22de3112f1b1666a9f3ce15ee204", size = 237098, upload-time = "2026-09-30T04:36:46.689Z" }, + { url = "https://files.pythonhosted.org/packages/24/0e/bb5dace3cc7e79068425386a6589c19b5a2ab5fefc2a46abea6919683332/charset_normalizer-3.5.2-cp314-cp314-musllinux_1_2_ppc64le.whl", hash = "sha256:52aa6992700996af31f375de0c6bacd402b0097fe40b53c426b9f51a90ebabc7", size = 274228, upload-time = "2026-09-30T04:36:48.31Z" }, + { url = "https://files.pythonhosted.org/packages/9d/79/b849ad523017ea9f5a45581bbebed91439e0cf42fd2860a6f64e358eb5a6/charset_normalizer-3.5.2-cp314-cp314-musllinux_1_2_riscv64.whl", hash = "sha256:e09a3942ecbdee5cce73ea9d42da82b81b72ac1bf031ce069b93b5adf4eac8cd", size = 252401, upload-time = "2026-09-30T04:36:50.091Z" }, + { url = "https://files.pythonhosted.org/packages/89/8c/75469d690cf47200bce8f6cad7655724fc23148e147abfc5ce78b5f65863/charset_normalizer-3.5.2-cp314-cp314-musllinux_1_2_s390x.whl", hash = "sha256:c7c9ab723cde841fefb34efbad91e87f00a674b1fe1cd0784fde742bf2c154dc", size = 271846, upload-time = "2026-09-30T04:36:51.719Z" }, + { url = "https://files.pythonhosted.org/packages/26/cd/6d52d3c7437cdcf2e310ce9f28f282e733d4ef60ed19105d1819c356255f/charset_normalizer-3.5.2-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:ddc7dacc8ece3a182e7f15cb862d1fd616b46d076cb1ae9dd232b2c38b655874", size = 258151, upload-time = "2026-09-30T04:36:53.234Z" }, + { url = "https://files.pythonhosted.org/packages/f7/4c/070b38bdb5f49a70199fce923ec0726a49536a63ab262abbfcaaf351110b/charset_normalizer-3.5.2-cp314-cp314-pyemscripten_2026_0_wasm32.whl", hash = "sha256:ee43c17b173d46a3212baa6ead3ae258eeabdae48c263a01ccf0218c366dd655", size = 143570, upload-time = "2026-09-30T04:36:54.816Z" }, + { url = "https://files.pythonhosted.org/packages/81/84/9ebfc8ed6c8c4fcd8e726ff6bf220cc8deb3966e31dce9be8dd8aa017e64/charset_normalizer-3.5.2-cp314-cp314-win32.whl", hash = "sha256:4f87960d57feabfb618e4e0af6e7371645fa26a277860739d6e5d6e0012c92f0", size = 186412, upload-time = "2026-09-30T04:36:56.643Z" }, + { url = "https://files.pythonhosted.org/packages/d1/78/5ed86f743d4bc350db307e7636419a0a5ee1d91806d30c7f667bd5c80dae/charset_normalizer-3.5.2-cp314-cp314-win_amd64.whl", hash = "sha256:e4e81e09c1578b8df602e3db08b0b3ea0a6947ad612f52bf8dc5ea8d47691f0c", size = 210965, upload-time = "2026-09-30T04:36:58.205Z" }, + { url = "https://files.pythonhosted.org/packages/53/94/a3a7698e9b1a395e1eb99ccd9a324be9347973bff4e72db2a06496d7cd27/charset_normalizer-3.5.2-cp314-cp314-win_arm64.whl", hash = "sha256:80d02b6f04e92601a081dd97b23d3128033098bff5d35d392ddcc0476ea11253", size = 200406, upload-time = "2026-09-30T04:36:59.764Z" }, + { url = "https://files.pythonhosted.org/packages/c1/48/c5dd00d5ef7791f02666de250a5bb6071e29b7e133cf4b835800b6d3bc27/charset_normalizer-3.5.2-cp314-cp314t-macosx_10_15_universal2.whl", hash = "sha256:dca9ab98072a5a54ebacebdc45f53e645336b320c667410b061be1ca588ae709", size = 396871, upload-time = "2026-09-30T04:37:01.543Z" }, + { url = "https://files.pythonhosted.org/packages/12/c8/8379554b42e8368161d898476686947a0fdbd3e8865170d7909dcabfdee8/charset_normalizer-3.5.2-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:f0aa869112ef88429ae17820d99c3dd9504c9e9c671d3c246f3d7442cb051084", size = 249711, upload-time = "2026-09-30T04:37:03.111Z" }, + { url = "https://files.pythonhosted.org/packages/4a/eb/2ddb1035d17320caa9f41682935123a9a250277b261c3efc86b2d2a21343/charset_normalizer-3.5.2-cp314-cp314t-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:c0afc6800ba57ccc350374c5bd6150419915d95ce93cdbab2d783d75eaf30ecb", size = 231146, upload-time = "2026-09-30T04:37:04.721Z" }, + { url = "https://files.pythonhosted.org/packages/4a/24/2ecb4bde104322cd7859d6594fcfa74649f8d90b3221c9feecbef149875b/charset_normalizer-3.5.2-cp314-cp314t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:7dcd882da75ef9adf94903b1e3b9419e8aa8fb4c7396822b834b9ef7fb96954f", size = 271552, upload-time = "2026-09-30T04:37:06.295Z" }, + { url = "https://files.pythonhosted.org/packages/3f/98/9d5f6ebc3aee9fef5d30b4aff11fb2ab7a1222b4064f8ef2c7c87cde217a/charset_normalizer-3.5.2-cp314-cp314t-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:2e06a3a98f916dd41d27f3105e02e7a40181c98c94b9158733d03a6f80506c09", size = 269810, upload-time = "2026-09-30T04:37:07.905Z" }, + { url = "https://files.pythonhosted.org/packages/09/e1/a3b06a10461b1b7628853c934c644e03bc28e42767116afb52f19a56519b/charset_normalizer-3.5.2-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:6bd128f206a7752ae1f2ab6c61bf8a24ba28913a10df8b14c2637b973ff97a80", size = 259845, upload-time = "2026-09-30T04:37:09.554Z" }, + { url = "https://files.pythonhosted.org/packages/fd/d3/6f561f74a296cf27d61775a1dc665ad13f3bff6a798810ca05907f37a7c4/charset_normalizer-3.5.2-cp314-cp314t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:c8f3d67aeaf55f017982b73683f0e7342ba2f6635a78f69ce89ebb26aa411e5c", size = 252825, upload-time = "2026-09-30T04:37:11.274Z" }, + { url = "https://files.pythonhosted.org/packages/26/9f/69e13ca3b18f43e0eafcd34c04a45b732ae22a43b54a5fc9e119103356eb/charset_normalizer-3.5.2-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:fe9753dfee015c570d73df76f899f18444d41388bffcde097deba51c4fadbb9f", size = 252659, upload-time = "2026-09-30T04:37:12.941Z" }, + { url = "https://files.pythonhosted.org/packages/73/a9/ace29806a0dae18939919c76ba526472d83214afa101105fabff2cf30625/charset_normalizer-3.5.2-cp314-cp314t-musllinux_1_2_armv7l.whl", hash = "sha256:92888bb3187c5ba50500b00b3b310c9f2c651709d28036077680cb5255450a03", size = 238819, upload-time = "2026-09-30T04:37:14.659Z" }, + { url = "https://files.pythonhosted.org/packages/f8/c1/6116d52a2e3311ec80f21f5fb5e17b27405f10b9608af8f6e69516841a1b/charset_normalizer-3.5.2-cp314-cp314t-musllinux_1_2_ppc64le.whl", hash = "sha256:d008d90a7f2471519aef0c90dfbe73b3e6e4d5e66ac48e19154c17e89e98b604", size = 272973, upload-time = "2026-09-30T04:37:16.346Z" }, + { url = "https://files.pythonhosted.org/packages/19/aa/9955c7e93bba10a9c7e8f7a5031b7ced66f3a1883a55c00712b8d5850ff3/charset_normalizer-3.5.2-cp314-cp314t-musllinux_1_2_riscv64.whl", hash = "sha256:31f3930700408d211f13378ccbe1c40845d8da54bd0681fac3a9b5aae81c7aa8", size = 253692, upload-time = "2026-09-30T04:37:18.212Z" }, + { url = "https://files.pythonhosted.org/packages/bb/33/2a6ae7fdc1b10cb581cef91addd8cdfc5f40d50abb5702309369d5834579/charset_normalizer-3.5.2-cp314-cp314t-musllinux_1_2_s390x.whl", hash = "sha256:2a925889534b3748302dae5dead07cc13480de1dac3aea80a941b729b471ef93", size = 268757, upload-time = "2026-09-30T04:37:19.877Z" }, + { url = "https://files.pythonhosted.org/packages/a2/22/80992720a0282cd39bba1db35868e6b9c22f41281160143a836544bc1d8a/charset_normalizer-3.5.2-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:f5ec61164adcec446f8969a3358ec3f9b26bbda3b9213e5586d219afa8df2915", size = 262220, upload-time = "2026-09-30T04:37:21.583Z" }, + { url = "https://files.pythonhosted.org/packages/92/9f/181fd07e1bffea1d95cd80c84ac537354f50699c22cfc4d3c02b6fc16208/charset_normalizer-3.5.2-cp314-cp314t-win32.whl", hash = "sha256:598a11a2c7ebaa5334bf698bf29568c9c390abac6a154d8170fedecd1cea38c5", size = 197797, upload-time = "2026-09-30T04:37:23.235Z" }, + { url = "https://files.pythonhosted.org/packages/49/1c/25d8415ec1c4f2f41f1680435e4c87cfb378ff2f677d950946f2a45d0632/charset_normalizer-3.5.2-cp314-cp314t-win_amd64.whl", hash = "sha256:7fdde2c9fd9e3eca40631e024664cf2584272cc8f96308cbe5fdfc930f51d8bc", size = 222765, upload-time = "2026-09-30T04:37:24.891Z" }, + { url = "https://files.pythonhosted.org/packages/3e/b4/46b48f013dadfc0d0d33b375438e31bdf5a989dc68389c6bf627054d4df9/charset_normalizer-3.5.2-cp314-cp314t-win_arm64.whl", hash = "sha256:d1befeed746d247c81127bb14de9dc3d30edb6e5976d34f83f86ed262b1d9105", size = 210985, upload-time = "2026-09-30T04:37:26.634Z" }, + { url = "https://files.pythonhosted.org/packages/ca/e9/34e597dee616d0b8ee4b34d29399e85c2204ade174157a48505d42baa4ff/charset_normalizer-3.5.2-cp315-cp315-macosx_10_15_universal2.whl", hash = "sha256:87475fabc8d9996fd9c27debb395e642e8c838d78a00b6e932227a0e06b81e26", size = 367676, upload-time = "2026-09-30T04:37:28.329Z" }, + { url = "https://files.pythonhosted.org/packages/60/9f/a5d1c91c0263745e2cd344c5a4415d787c575501ab1d449f1148ac6b495d/charset_normalizer-3.5.2-cp315-cp315-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:9409a8bf35cf78353942504b24a57de3d75b708997a1e4bd8db71ac8633ce364", size = 248414, upload-time = "2026-09-30T04:37:30.167Z" }, + { url = "https://files.pythonhosted.org/packages/26/79/e697f77464748a3ee3cf490c83d592459400d4898380d66c38366b03080c/charset_normalizer-3.5.2-cp315-cp315-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:498dc3188ca05a68231ac3fdbfc7f57eb67e1343c30e0fea17f8218c1599b253", size = 244775, upload-time = "2026-09-30T04:37:31.964Z" }, + { url = "https://files.pythonhosted.org/packages/ca/87/3d42a42e18ea066e2513936fd678a00696e77878b5ae04528976abdbcb83/charset_normalizer-3.5.2-cp315-cp315-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:e242bb1c5e76e97dfa9e7f209a71e93a01d7f19ffdd5cfbb2e2d55b4f08f8ab0", size = 273877, upload-time = "2026-09-30T04:37:33.661Z" }, + { url = "https://files.pythonhosted.org/packages/c3/76/8a28136f3938ba9836f84280ce0c4d61ed1cf15a036b2034900c62634162/charset_normalizer-3.5.2-cp315-cp315-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:def79fa35ef0cef8d2accec024f4fdc7ead3012ff02f5215c783f39f03ef8cfc", size = 269455, upload-time = "2026-09-30T04:37:35.573Z" }, + { url = "https://files.pythonhosted.org/packages/a0/a1/4fbf5d0f0f1b2a080474c1cf9a2f12c4c6531bb0e8ba591055e846d2b4e9/charset_normalizer-3.5.2-cp315-cp315-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:3df041de8887954562c9b261cba85ca0e9ded74048daf125f45edcfaa4832229", size = 257336, upload-time = "2026-09-30T04:37:37.397Z" }, + { url = "https://files.pythonhosted.org/packages/ba/a2/8b50aa320adb880ad579518e6f718f24944804b42a88b83d267d5d444125/charset_normalizer-3.5.2-cp315-cp315-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:04851f73ae72b8413dddadb16a49dfee95263553741fd42d546f7d66907e6be5", size = 257584, upload-time = "2026-09-30T04:37:39.522Z" }, + { url = "https://files.pythonhosted.org/packages/a5/57/50e3fed84e175f40349bd0da7a4fce94c87f0378f52d74f511d89e0bdc20/charset_normalizer-3.5.2-cp315-cp315-musllinux_1_2_aarch64.whl", hash = "sha256:183b88127acdb4fabe59d951ab424faf1af7b63cdbb5f776186c1ea2ffcaed98", size = 251854, upload-time = "2026-09-30T04:37:41.23Z" }, + { url = "https://files.pythonhosted.org/packages/d6/54/f7fbb3493c9f49091213b9c2d6dd65800696f1ce1a3f196a4205f50417b1/charset_normalizer-3.5.2-cp315-cp315-musllinux_1_2_armv7l.whl", hash = "sha256:16fa0eccf81304b79c5cd87f9271c3b85dd9dd99245e4422ae9c0dd45e0f99d3", size = 248767, upload-time = "2026-09-30T04:37:42.883Z" }, + { url = "https://files.pythonhosted.org/packages/d9/37/b3a6385acc5a1e45b39ae9c90bfb9cf838a09b9dd37ef2740ab4c6b4a2eb/charset_normalizer-3.5.2-cp315-cp315-musllinux_1_2_ppc64le.whl", hash = "sha256:7441d755b7ab94f8d4eb3e43ec05482d760842fd263d003a99102d742cd835e2", size = 274479, upload-time = "2026-09-30T04:37:44.658Z" }, + { url = "https://files.pythonhosted.org/packages/89/44/809913e2cfd279e635a9294fdbbfb1b1dc62a8189d473d561f649fce98d8/charset_normalizer-3.5.2-cp315-cp315-musllinux_1_2_riscv64.whl", hash = "sha256:ca403d7e4798f525fdfc78e258820419cbbd0f0ecbab9de7840e3c017cf6b8cf", size = 258310, upload-time = "2026-09-30T04:37:46.529Z" }, + { url = "https://files.pythonhosted.org/packages/af/a2/f28400ab13359d91bd39179df8e149376b9bf36588e739a3a4f9de2b84b2/charset_normalizer-3.5.2-cp315-cp315-musllinux_1_2_s390x.whl", hash = "sha256:df29a0a7107f7011e77f4eebdddec4c7331e24d787a0b21a46d63bdf7445da95", size = 271100, upload-time = "2026-09-30T04:37:48.399Z" }, + { url = "https://files.pythonhosted.org/packages/e9/89/9bab37955edf0adb3b66f8a3a6617d9f2f487e0d56f295a6a286cb640aa6/charset_normalizer-3.5.2-cp315-cp315-musllinux_1_2_x86_64.whl", hash = "sha256:f3c96f633825733f735c5a9cf21d21a257d8e1edf0b1cee0a064b9c424ca0f7d", size = 259936, upload-time = "2026-09-30T04:37:50.023Z" }, + { url = "https://files.pythonhosted.org/packages/23/b5/4459e08d45a679f903d50fea08bc52cfa728cca4d7bd02c757b5e5abda2e/charset_normalizer-3.5.2-cp315-cp315-win32.whl", hash = "sha256:281cb91036248400f4cc957495cccd44c275c2e0c5854f7e45ac5cf7dc193847", size = 186301, upload-time = "2026-09-30T04:37:51.722Z" }, + { url = "https://files.pythonhosted.org/packages/98/e8/55d5fd3935b4bce6da4fe0df61898e8c82653e317e677bd58aceb9c60f13/charset_normalizer-3.5.2-cp315-cp315-win_amd64.whl", hash = "sha256:89b53f3cda69831909888e0494f4fa0bcd3537e3e138dabeb620bd6ad946bae8", size = 210858, upload-time = "2026-09-30T04:37:53.427Z" }, + { url = "https://files.pythonhosted.org/packages/a9/5b/974423c2fd8e524c7a7f64318c1e02240ef954912fa2b4d70344107b9c68/charset_normalizer-3.5.2-cp315-cp315-win_arm64.whl", hash = "sha256:6be488a102b8cf28d0391d8c4ba7748938ae28b78ad901f8585520fca33ead1a", size = 200309, upload-time = "2026-09-30T04:37:55.015Z" }, + { url = "https://files.pythonhosted.org/packages/ee/f9/00ee0195db1013d8f7c416fd770fbeb560bb46eb2e36b054d05cb56f6cfa/charset_normalizer-3.5.2-cp315-cp315t-macosx_10_15_universal2.whl", hash = "sha256:915563965d418f986e7e145accc592eae9e1a1be3566ff98a05d7a9ec42a76e1", size = 395343, upload-time = "2026-09-30T04:37:56.743Z" }, + { url = "https://files.pythonhosted.org/packages/04/3a/c00b50e94c964cf934c7899cd47c97952fc11dad71cc5884b3c61795b09b/charset_normalizer-3.5.2-cp315-cp315t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:65cd72beeeca9d3aaea1201e5923859f308f952f9c71de93f06063c79f0f7a3b", size = 250114, upload-time = "2026-09-30T04:37:58.607Z" }, + { url = "https://files.pythonhosted.org/packages/50/27/d102dc880bbcffd0479ab64dfc1fb96777a854355a55e2bda72a71efadcb/charset_normalizer-3.5.2-cp315-cp315t-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:b7fd005a73d9e657273b7a10dc71a9e03c8fb9ee6999798d6918ce095b81ac7f", size = 239997, upload-time = "2026-09-30T04:38:00.511Z" }, + { url = "https://files.pythonhosted.org/packages/a5/4a/bf7ef45794dd293fab5f98a9309817977fbb845b9998f171b8cc5d8437a3/charset_normalizer-3.5.2-cp315-cp315t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:e54da4baf05720032d527874d40b65fa4d7e5c6c6a43d0c3adbeffcaf275a2b3", size = 272313, upload-time = "2026-09-30T04:38:02.509Z" }, + { url = "https://files.pythonhosted.org/packages/e8/ee/008a2837737991474c5754bb3191010007663860979701990982a502cbaf/charset_normalizer-3.5.2-cp315-cp315t-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:124fbf1a8ff966d87ae05bb8bd45a71f966055ed8bba320d0c7cf450bc5f4d0e", size = 269986, upload-time = "2026-09-30T04:38:04.435Z" }, + { url = "https://files.pythonhosted.org/packages/93/ad/bd74a283940dc910c5b14f8e4f80a248082bc9c0fcbe1f54530cb6d9cc5e/charset_normalizer-3.5.2-cp315-cp315t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:28b4f0d66fb834ff90f28209ac7bce77868c45d8c93e26f906709d9b7c2e1af9", size = 260202, upload-time = "2026-09-30T04:38:06.549Z" }, + { url = "https://files.pythonhosted.org/packages/8a/7b/ed341c66f69f688723501fac752be3d63c7159ca0d0d4174fc611e5710bb/charset_normalizer-3.5.2-cp315-cp315t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:58ca3755ee7ff7f59b57789ec9833c9de9ea275405cdd240eda1f193112e398a", size = 259083, upload-time = "2026-09-30T04:38:08.311Z" }, + { url = "https://files.pythonhosted.org/packages/cc/9d/e41588b777965e5031a43128a1e96173ebb35ac75fc53ec3b517e7c21cd4/charset_normalizer-3.5.2-cp315-cp315t-musllinux_1_2_aarch64.whl", hash = "sha256:443eae2bf318abeaf6f15d785138f71fd6de770e99a92158b8b814265e079115", size = 253081, upload-time = "2026-09-30T04:38:10.402Z" }, + { url = "https://files.pythonhosted.org/packages/81/35/b761eb6d8c1eb218b9b42b9b4d5ac902afdc399fb6dac6f9a9aac7bda589/charset_normalizer-3.5.2-cp315-cp315t-musllinux_1_2_armv7l.whl", hash = "sha256:58f361dcbab699cf8f42db3f47c8e7fd1036f138c23a5d08de9fde5f425a730c", size = 248712, upload-time = "2026-09-30T04:38:12.317Z" }, + { url = "https://files.pythonhosted.org/packages/4d/2c/147169a041b747759f37405c0a97157e8e92de967968373101ff14915cba/charset_normalizer-3.5.2-cp315-cp315t-musllinux_1_2_ppc64le.whl", hash = "sha256:1b4cbc7c3491ccb4aa17fcd8165649d01cf39f76de1696da8631b5f71b85401d", size = 274176, upload-time = "2026-09-30T04:38:14.138Z" }, + { url = "https://files.pythonhosted.org/packages/f0/2d/0ff8db0d373ba8538db686db11cd7e8912031490b9e4f383b41912e8d594/charset_normalizer-3.5.2-cp315-cp315t-musllinux_1_2_riscv64.whl", hash = "sha256:ba0b1d2620edf869789c3879223f52bf2afc5d31b3cb47cc57b3a12c05e2aa9d", size = 259413, upload-time = "2026-09-30T04:38:15.841Z" }, + { url = "https://files.pythonhosted.org/packages/8a/8e/b4a085fb47c9d3a7e43576a4784fdd8fe23f907514a972de8086edaf7a48/charset_normalizer-3.5.2-cp315-cp315t-musllinux_1_2_s390x.whl", hash = "sha256:5e2b6b57e9733d39f0c9fd3185efa6b8e29652c4cd8fe94180272cf6ed9a78c4", size = 269434, upload-time = "2026-09-30T04:38:17.626Z" }, + { url = "https://files.pythonhosted.org/packages/83/1c/d8d8d7322a7c3eecdf3237a4a419cf41d2eaad8e006ce7dfdd9d4c8fa2eb/charset_normalizer-3.5.2-cp315-cp315t-musllinux_1_2_x86_64.whl", hash = "sha256:51cf45226a9b588d0d2b4880c62d686934b63ab0bd79ca23ab0e9762eb27441b", size = 262716, upload-time = "2026-09-30T04:38:19.214Z" }, + { url = "https://files.pythonhosted.org/packages/a0/16/0e4c6ba9b44e97a2da150e52d331e8f9c968b21b358fbffa6c856cebcd89/charset_normalizer-3.5.2-cp315-cp315t-win32.whl", hash = "sha256:5fb29fb8cd1a46c27a1bf9613ad5ec2599310d46b4025d9556404a6b6a292800", size = 197159, upload-time = "2026-09-30T04:38:21.037Z" }, + { url = "https://files.pythonhosted.org/packages/be/33/e90bc2b1374f7f36ef106f56620de5a783907e19ca857efe2277e31cac3e/charset_normalizer-3.5.2-cp315-cp315t-win_amd64.whl", hash = "sha256:a192e2c40070d92c3ccf777e3a5c4ff515573cd2bb7ed0c537fdadbbec5bbf21", size = 221322, upload-time = "2026-09-30T04:38:22.886Z" }, + { url = "https://files.pythonhosted.org/packages/66/89/dfa6dcb08c200b7830ab56439e8c1890f2971d51aafbb3937894a2e7fcfc/charset_normalizer-3.5.2-cp315-cp315t-win_arm64.whl", hash = "sha256:749e97e1b32313717a565abbe321bc2190bc8b35f1a67e4cdbc7c56c8d8ffe58", size = 209192, upload-time = "2026-09-30T04:38:24.648Z" }, + { url = "https://files.pythonhosted.org/packages/8c/ab/176fbfd5b64939c55d652366aa5b9ef1d767af207a3aa6ebeb0d226c484d/charset_normalizer-3.5.2-cp37-abi3-macosx_10_9_universal2.whl", hash = "sha256:4275811936e2f06feff5e598fb42a1b7ae852da8e39605211892b56b81a34efd", size = 331815, upload-time = "2026-09-30T04:38:26.216Z" }, + { url = "https://files.pythonhosted.org/packages/7e/84/371eac6b30bdbcbf2d632a1a01809103459216fcaae61b8b8d922c1bfb8a/charset_normalizer-3.5.2-cp37-abi3-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:1c50fe28bbc2ced33386f298650d91218076c05420e6cbd790b913adc41659e7", size = 253276, upload-time = "2026-09-30T04:38:28.032Z" }, + { url = "https://files.pythonhosted.org/packages/43/6f/c4fbae58febff71709c51bc7e18fdfa55341dc382704740f9f0cbf03817b/charset_normalizer-3.5.2-cp37-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:d19fbd981a488e22cd04883659ca6b08f50b5974f9fd7c95655ef6a043e5893f", size = 241239, upload-time = "2026-09-30T04:38:29.732Z" }, + { url = "https://files.pythonhosted.org/packages/61/71/458c3f42164a07d0c5210798e9e704b39e540a6793b05aba67f3a35243a9/charset_normalizer-3.5.2-cp37-abi3-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:0fed1d06615f022ee3b13caf5e8b180cfea32bb2c5aded8a9d44277afc040f93", size = 231121, upload-time = "2026-09-30T04:38:31.462Z" }, + { url = "https://files.pythonhosted.org/packages/09/54/ab9e89367076f6331bb6c65c4bf14a5361fa5191cb6561bf534f18504e1b/charset_normalizer-3.5.2-cp37-abi3-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:838dcc90063569a0448120554591a1d6c4a4ffe11babf048908793154ab86ade", size = 260350, upload-time = "2026-09-30T04:38:33.239Z" }, + { url = "https://files.pythonhosted.org/packages/7c/c1/061431ecc688d9d76602502cb57cc01e691e682c18f1beb45f9673b5bbd2/charset_normalizer-3.5.2-cp37-abi3-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:2ce45c6627b22c47e390bc91a41c3d13032192e699fa0bea96e9671b373d69b0", size = 255430, upload-time = "2026-09-30T04:38:34.865Z" }, + { url = "https://files.pythonhosted.org/packages/8d/1f/20c8949f0676f7ab811abdeb7f4d7f1cbc6e61ff20bef08b44edeb092bc8/charset_normalizer-3.5.2-cp37-abi3-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:0774bf9bf620249fee3e0b8b9fd3065de213be30f3aa94ce2494b3b638949e26", size = 250612, upload-time = "2026-09-30T04:38:36.649Z" }, + { url = "https://files.pythonhosted.org/packages/2b/9e/46f2fa4c431fc98c4ae76a8cb5bdca54e0341e3cfc3fcfd8e82740250818/charset_normalizer-3.5.2-cp37-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:1db38f4c5496827c1a501846d64d14c3b80c7e6714e406cd7dc36a9899fa1011", size = 242083, upload-time = "2026-09-30T04:38:38.26Z" }, + { url = "https://files.pythonhosted.org/packages/bd/39/559be29a0c0f086e0bba6922babd38916cc5e0b58ced4de13ee01ea05508/charset_normalizer-3.5.2-cp37-abi3-musllinux_1_2_armv7l.whl", hash = "sha256:304d8e4d493af723536393eee0c689eb7813f4a474c8b479dee63f1fdd98f621", size = 232738, upload-time = "2026-09-30T04:38:39.81Z" }, + { url = "https://files.pythonhosted.org/packages/ff/6c/387b0e4f756a282831c1d9fc6aeb6c51ca4507ca202767c8de15ce9b12e2/charset_normalizer-3.5.2-cp37-abi3-musllinux_1_2_ppc64le.whl", hash = "sha256:9b7f416ff0978e2f2249330527f0ad6fa02f4932e6199692d3b52da2048c19e4", size = 260703, upload-time = "2026-09-30T04:38:41.346Z" }, + { url = "https://files.pythonhosted.org/packages/96/92/1fdf015f09ef449f50d3ac4b67c90887c9c318b727daa95cc4f866e6521d/charset_normalizer-3.5.2-cp37-abi3-musllinux_1_2_riscv64.whl", hash = "sha256:01077390b03f7988f11d700a2194e69b119741a86b1a638b1db88891e3eced8e", size = 247622, upload-time = "2026-09-30T04:38:42.937Z" }, + { url = "https://files.pythonhosted.org/packages/dc/3c/8e7b8a5671ad5d433669fb2a76f1a0164df2d9b1718b0206bc2a16d840cc/charset_normalizer-3.5.2-cp37-abi3-musllinux_1_2_s390x.whl", hash = "sha256:7e841fb9010836c992c9f12fcbd43a831de93a5f726fc1ccd8ca1d0268c5014c", size = 257500, upload-time = "2026-09-30T04:38:44.604Z" }, + { url = "https://files.pythonhosted.org/packages/b4/f0/45b579df5cabc1d5d53ea1cc35e8437d3ca768c0acccc7041517cb6fbb32/charset_normalizer-3.5.2-cp37-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:9cae88599c7219005d879f98e5ed53341e9a122af585e1091200358a3003d2a0", size = 255100, upload-time = "2026-09-30T04:38:46.289Z" }, + { url = "https://files.pythonhosted.org/packages/31/68/fdec18a343f5fb3f310588dd478b09ac4799e0b187dbade3a8cd776f03ef/charset_normalizer-3.5.2-cp37-abi3-win32.whl", hash = "sha256:01b0c0d2262a9e28e8484a278c7e1b5d650e3ac8cf2683d2967e25899f208bdf", size = 174499, upload-time = "2026-09-30T04:38:47.999Z" }, + { url = "https://files.pythonhosted.org/packages/9d/8a/b618149cc5207943a0242068d7a27897f56a62947b5a039085f2a22029f8/charset_normalizer-3.5.2-cp37-abi3-win_amd64.whl", hash = "sha256:9f56f72050826f63dcee7a7f55b0a77168cb3bfc553fd405e7f8f9ece75a4036", size = 200092, upload-time = "2026-09-30T04:38:49.707Z" }, + { url = "https://files.pythonhosted.org/packages/03/cf/4c66866fa9e2b1c78e3c911516d1de497a677b7ac60f1eceda74ce777ca3/charset_normalizer-3.5.2-cp37-abi3-win_arm64.whl", hash = "sha256:40ab6bffa02ae10a0581e6c198be7d2d8ca5c2a0c64e4ed3465d766df457573e", size = 294363, upload-time = "2026-09-30T04:38:51.312Z" }, + { url = "https://files.pythonhosted.org/packages/fc/ad/d07d7862a62ffa6d79d68074d14823243dd235a77c45262acbf6adeb28bf/charset_normalizer-3.5.2-py3-none-any.whl", hash = "sha256:b6b751274acb69d77b3323d6b7dbaa3c7fdfc1eb829b7eb61d262f32e1af9685", size = 68872, upload-time = "2026-09-30T04:39:21.828Z" }, +] + +[[package]] +name = "click" +version = "8.5.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/c7/0e/7fa0ef50764b67090eca4114772a2abf8b6148198475e54c660b97caeee6/click-8.5.0.tar.gz", hash = "sha256:ba0d2089de75ea0310e2dde03160e6ca10009947fb95a182f9b54021bb272e34", size = 382235, upload-time = "2026-08-26T13:33:14.56Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/58/50/6c0d534c5f134586a8e1ba4e330569e32f057e33372ae556463212fb4cd3/click-8.5.0-py3-none-any.whl", hash = "sha256:255bc9599cf7748b4b1a446ccc735421bd08a2ae529a8b88597d3de5664ee360", size = 125251, upload-time = "2026-08-26T13:33:12.928Z" }, +] + +[[package]] +name = "click-didyoumean" +version = "0.3.1" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "click" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/30/ce/217289b77c590ea1e7c24242d9ddd6e249e52c795ff10fac2c50062c48cb/click_didyoumean-0.3.1.tar.gz", hash = "sha256:4f82fdff0dbe64ef8ab2279bd6aa3f6a99c3b28c05aa09cbfc07c9d7fbb5a463", size = 3089, upload-time = "2024-03-24T08:22:07.499Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/1b/5b/974430b5ffdb7a4f1941d13d83c64a0395114503cc357c6b9ae4ce5047ed/click_didyoumean-0.3.1-py3-none-any.whl", hash = "sha256:5c4bb6007cfea5f2fd6583a2fb6701a22a41eb98957e63d0fac41c10e7c3117c", size = 3631, upload-time = "2024-03-24T08:22:06.356Z" }, +] + +[[package]] +name = "click-plugins" +version = "1.1.1.2" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "click" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/c3/a4/34847b59150da33690a36da3681d6bbc2ec14ee9a846bc30a6746e5984e4/click_plugins-1.1.1.2.tar.gz", hash = "sha256:d7af3984a99d243c131aa1a828331e7630f4a88a9741fd05c927b204bcf92261", size = 8343, upload-time = "2025-06-25T00:47:37.555Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/3d/9a/2abecb28ae875e39c8cad711eb1186d8d14eab564705325e77e4e6ab9ae5/click_plugins-1.1.1.2-py2.py3-none-any.whl", hash = "sha256:008d65743833ffc1f5417bf0e78e8d2c23aab04d9745ba817bd3e71b0feb6aa6", size = 11051, upload-time = "2025-06-25T00:47:36.731Z" }, +] + +[[package]] +name = "click-repl" +version = "0.4.1" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "click" }, + { name = "prompt-toolkit" }, + { name = "typing-extensions" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/28/50/bea78619ff1fc0fbd61882f64a1302a8abb2ea0b3db92907042d0e362df2/click_repl-0.4.1.tar.gz", hash = "sha256:c32a1cf6f95e5bd6e92076f81ce24eafd33f2f0ffb0135887e335b8e446d1c0b", size = 16403, upload-time = "2026-10-05T06:01:57.607Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/a4/f6/12dc0f2e0159c2b416818b7fedcda15b520043773364a81d7389809a5af5/click_repl-0.4.1-py3-none-any.whl", hash = "sha256:5cb10881d4c5ebaa8695eceb69911af3062ee78342812b713564b17aad333eb5", size = 14988, upload-time = "2026-10-05T06:01:55.611Z" }, +] + +[[package]] +name = "colorama" +version = "0.4.6" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/d8/53/6f443c9a4a8358a93a6792e2acffb9d9d5cb0a5cfd8802644b7b1c9a02e4/colorama-0.4.6.tar.gz", hash = "sha256:08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44", size = 27697, upload-time = "2022-10-25T02:36:22.414Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/d1/d6/3965ed04c63042e047cb6a3e6ed1a63a35087b6a609aa3a15ed8ac56c221/colorama-0.4.6-py2.py3-none-any.whl", hash = "sha256:4f1d9991f5acc0ca119f9d443620b77f9d6b33703e51011c16baf57afb285fc6", size = 25335, upload-time = "2022-10-25T02:36:20.889Z" }, +] + +[[package]] +name = "comm" +version = "0.2.3" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/4c/13/7d740c5849255756bc17888787313b61fd38a0a8304fc4f073dfc46122aa/comm-0.2.3.tar.gz", hash = "sha256:2dc8048c10962d55d7ad693be1e7045d891b7ce8d999c97963a5e3e99c055971", size = 6319, upload-time = "2025-07-25T14:02:04.452Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/60/97/891a0971e1e4a8c5d2b20bbe0e524dc04548d2307fee33cdeba148fd4fc7/comm-0.2.3-py3-none-any.whl", hash = "sha256:c615d91d75f7f04f095b30d1c1711babd43bdc6419c1be9886a85f2f4e489417", size = 7294, upload-time = "2025-07-25T14:02:02.896Z" }, +] + +[[package]] +name = "contourpy" +version = "1.3.3" +source = { registry = "https://pypi.org/simple" } +resolution-markers = [ + "python_full_version < '3.12'", +] +dependencies = [ + { name = "numpy", version = "2.3.5", source = { registry = "https://pypi.org/simple" } }, +] +sdist = { url = "https://files.pythonhosted.org/packages/58/01/1253e6698a07380cd31a736d248a3f2a50a7c88779a1813da27503cadc2a/contourpy-1.3.3.tar.gz", hash = "sha256:083e12155b210502d0bca491432bb04d56dc3432f95a979b429f2848c3dbe880", size = 13466174, upload-time = "2025-07-26T12:03:12.549Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/91/2e/c4390a31919d8a78b90e8ecf87cd4b4c4f05a5b48d05ec17db8e5404c6f4/contourpy-1.3.3-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:709a48ef9a690e1343202916450bc48b9e51c049b089c7f79a267b46cffcdaa1", size = 288773, upload-time = "2025-07-26T12:01:02.277Z" }, + { url = "https://files.pythonhosted.org/packages/0d/44/c4b0b6095fef4dc9c420e041799591e3b63e9619e3044f7f4f6c21c0ab24/contourpy-1.3.3-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:23416f38bfd74d5d28ab8429cc4d63fa67d5068bd711a85edb1c3fb0c3e2f381", size = 270149, upload-time = "2025-07-26T12:01:04.072Z" }, + { url = "https://files.pythonhosted.org/packages/30/2e/dd4ced42fefac8470661d7cb7e264808425e6c5d56d175291e93890cce09/contourpy-1.3.3-cp311-cp311-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:929ddf8c4c7f348e4c0a5a3a714b5c8542ffaa8c22954862a46ca1813b667ee7", size = 329222, upload-time = "2025-07-26T12:01:05.688Z" }, + { url = "https://files.pythonhosted.org/packages/f2/74/cc6ec2548e3d276c71389ea4802a774b7aa3558223b7bade3f25787fafc2/contourpy-1.3.3-cp311-cp311-manylinux_2_26_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:9e999574eddae35f1312c2b4b717b7885d4edd6cb46700e04f7f02db454e67c1", size = 377234, upload-time = "2025-07-26T12:01:07.054Z" }, + { url = "https://files.pythonhosted.org/packages/03/b3/64ef723029f917410f75c09da54254c5f9ea90ef89b143ccadb09df14c15/contourpy-1.3.3-cp311-cp311-manylinux_2_26_s390x.manylinux_2_28_s390x.whl", hash = "sha256:0bf67e0e3f482cb69779dd3061b534eb35ac9b17f163d851e2a547d56dba0a3a", size = 380555, upload-time = "2025-07-26T12:01:08.801Z" }, + { url = "https://files.pythonhosted.org/packages/5f/4b/6157f24ca425b89fe2eb7e7be642375711ab671135be21e6faa100f7448c/contourpy-1.3.3-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:51e79c1f7470158e838808d4a996fa9bac72c498e93d8ebe5119bc1e6becb0db", size = 355238, upload-time = "2025-07-26T12:01:10.319Z" }, + { url = "https://files.pythonhosted.org/packages/98/56/f914f0dd678480708a04cfd2206e7c382533249bc5001eb9f58aa693e200/contourpy-1.3.3-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:598c3aaece21c503615fd59c92a3598b428b2f01bfb4b8ca9c4edeecc2438620", size = 1326218, upload-time = "2025-07-26T12:01:12.659Z" }, + { url = "https://files.pythonhosted.org/packages/fb/d7/4a972334a0c971acd5172389671113ae82aa7527073980c38d5868ff1161/contourpy-1.3.3-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:322ab1c99b008dad206d406bb61d014cf0174df491ae9d9d0fac6a6fda4f977f", size = 1392867, upload-time = "2025-07-26T12:01:15.533Z" }, + { url = "https://files.pythonhosted.org/packages/75/3e/f2cc6cd56dc8cff46b1a56232eabc6feea52720083ea71ab15523daab796/contourpy-1.3.3-cp311-cp311-win32.whl", hash = "sha256:fd907ae12cd483cd83e414b12941c632a969171bf90fc937d0c9f268a31cafff", size = 183677, upload-time = "2025-07-26T12:01:17.088Z" }, + { url = "https://files.pythonhosted.org/packages/98/4b/9bd370b004b5c9d8045c6c33cf65bae018b27aca550a3f657cdc99acdbd8/contourpy-1.3.3-cp311-cp311-win_amd64.whl", hash = "sha256:3519428f6be58431c56581f1694ba8e50626f2dd550af225f82fb5f5814d2a42", size = 225234, upload-time = "2025-07-26T12:01:18.256Z" }, + { url = "https://files.pythonhosted.org/packages/d9/b6/71771e02c2e004450c12b1120a5f488cad2e4d5b590b1af8bad060360fe4/contourpy-1.3.3-cp311-cp311-win_arm64.whl", hash = "sha256:15ff10bfada4bf92ec8b31c62bf7c1834c244019b4a33095a68000d7075df470", size = 193123, upload-time = "2025-07-26T12:01:19.848Z" }, + { url = "https://files.pythonhosted.org/packages/be/45/adfee365d9ea3d853550b2e735f9d66366701c65db7855cd07621732ccfc/contourpy-1.3.3-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:b08a32ea2f8e42cf1d4be3169a98dd4be32bafe4f22b6c4cb4ba810fa9e5d2cb", size = 293419, upload-time = "2025-07-26T12:01:21.16Z" }, + { url = "https://files.pythonhosted.org/packages/53/3e/405b59cfa13021a56bba395a6b3aca8cec012b45bf177b0eaf7a202cde2c/contourpy-1.3.3-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:556dba8fb6f5d8742f2923fe9457dbdd51e1049c4a43fd3986a0b14a1d815fc6", size = 273979, upload-time = "2025-07-26T12:01:22.448Z" }, + { url = "https://files.pythonhosted.org/packages/d4/1c/a12359b9b2ca3a845e8f7f9ac08bdf776114eb931392fcad91743e2ea17b/contourpy-1.3.3-cp312-cp312-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:92d9abc807cf7d0e047b95ca5d957cf4792fcd04e920ca70d48add15c1a90ea7", size = 332653, upload-time = "2025-07-26T12:01:24.155Z" }, + { url = "https://files.pythonhosted.org/packages/63/12/897aeebfb475b7748ea67b61e045accdfcf0d971f8a588b67108ed7f5512/contourpy-1.3.3-cp312-cp312-manylinux_2_26_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:b2e8faa0ed68cb29af51edd8e24798bb661eac3bd9f65420c1887b6ca89987c8", size = 379536, upload-time = "2025-07-26T12:01:25.91Z" }, + { url = "https://files.pythonhosted.org/packages/43/8a/a8c584b82deb248930ce069e71576fc09bd7174bbd35183b7943fb1064fd/contourpy-1.3.3-cp312-cp312-manylinux_2_26_s390x.manylinux_2_28_s390x.whl", hash = "sha256:626d60935cf668e70a5ce6ff184fd713e9683fb458898e4249b63be9e28286ea", size = 384397, upload-time = "2025-07-26T12:01:27.152Z" }, + { url = "https://files.pythonhosted.org/packages/cc/8f/ec6289987824b29529d0dfda0d74a07cec60e54b9c92f3c9da4c0ac732de/contourpy-1.3.3-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:4d00e655fcef08aba35ec9610536bfe90267d7ab5ba944f7032549c55a146da1", size = 362601, upload-time = "2025-07-26T12:01:28.808Z" }, + { url = "https://files.pythonhosted.org/packages/05/0a/a3fe3be3ee2dceb3e615ebb4df97ae6f3828aa915d3e10549ce016302bd1/contourpy-1.3.3-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:451e71b5a7d597379ef572de31eeb909a87246974d960049a9848c3bc6c41bf7", size = 1331288, upload-time = "2025-07-26T12:01:31.198Z" }, + { url = "https://files.pythonhosted.org/packages/33/1d/acad9bd4e97f13f3e2b18a3977fe1b4a37ecf3d38d815333980c6c72e963/contourpy-1.3.3-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:459c1f020cd59fcfe6650180678a9993932d80d44ccde1fa1868977438f0b411", size = 1403386, upload-time = "2025-07-26T12:01:33.947Z" }, + { url = "https://files.pythonhosted.org/packages/cf/8f/5847f44a7fddf859704217a99a23a4f6417b10e5ab1256a179264561540e/contourpy-1.3.3-cp312-cp312-win32.whl", hash = "sha256:023b44101dfe49d7d53932be418477dba359649246075c996866106da069af69", size = 185018, upload-time = "2025-07-26T12:01:35.64Z" }, + { url = "https://files.pythonhosted.org/packages/19/e8/6026ed58a64563186a9ee3f29f41261fd1828f527dd93d33b60feca63352/contourpy-1.3.3-cp312-cp312-win_amd64.whl", hash = "sha256:8153b8bfc11e1e4d75bcb0bff1db232f9e10b274e0929de9d608027e0d34ff8b", size = 226567, upload-time = "2025-07-26T12:01:36.804Z" }, + { url = "https://files.pythonhosted.org/packages/d1/e2/f05240d2c39a1ed228d8328a78b6f44cd695f7ef47beb3e684cf93604f86/contourpy-1.3.3-cp312-cp312-win_arm64.whl", hash = "sha256:07ce5ed73ecdc4a03ffe3e1b3e3c1166db35ae7584be76f65dbbe28a7791b0cc", size = 193655, upload-time = "2025-07-26T12:01:37.999Z" }, + { url = "https://files.pythonhosted.org/packages/68/35/0167aad910bbdb9599272bd96d01a9ec6852f36b9455cf2ca67bd4cc2d23/contourpy-1.3.3-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:177fb367556747a686509d6fef71d221a4b198a3905fe824430e5ea0fda54eb5", size = 293257, upload-time = "2025-07-26T12:01:39.367Z" }, + { url = "https://files.pythonhosted.org/packages/96/e4/7adcd9c8362745b2210728f209bfbcf7d91ba868a2c5f40d8b58f54c509b/contourpy-1.3.3-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:d002b6f00d73d69333dac9d0b8d5e84d9724ff9ef044fd63c5986e62b7c9e1b1", size = 274034, upload-time = "2025-07-26T12:01:40.645Z" }, + { url = "https://files.pythonhosted.org/packages/73/23/90e31ceeed1de63058a02cb04b12f2de4b40e3bef5e082a7c18d9c8ae281/contourpy-1.3.3-cp313-cp313-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:348ac1f5d4f1d66d3322420f01d42e43122f43616e0f194fc1c9f5d830c5b286", size = 334672, upload-time = "2025-07-26T12:01:41.942Z" }, + { url = "https://files.pythonhosted.org/packages/ed/93/b43d8acbe67392e659e1d984700e79eb67e2acb2bd7f62012b583a7f1b55/contourpy-1.3.3-cp313-cp313-manylinux_2_26_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:655456777ff65c2c548b7c454af9c6f33f16c8884f11083244b5819cc214f1b5", size = 381234, upload-time = "2025-07-26T12:01:43.499Z" }, + { url = "https://files.pythonhosted.org/packages/46/3b/bec82a3ea06f66711520f75a40c8fc0b113b2a75edb36aa633eb11c4f50f/contourpy-1.3.3-cp313-cp313-manylinux_2_26_s390x.manylinux_2_28_s390x.whl", hash = "sha256:644a6853d15b2512d67881586bd03f462c7ab755db95f16f14d7e238f2852c67", size = 385169, upload-time = "2025-07-26T12:01:45.219Z" }, + { url = "https://files.pythonhosted.org/packages/4b/32/e0f13a1c5b0f8572d0ec6ae2f6c677b7991fafd95da523159c19eff0696a/contourpy-1.3.3-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:4debd64f124ca62069f313a9cb86656ff087786016d76927ae2cf37846b006c9", size = 362859, upload-time = "2025-07-26T12:01:46.519Z" }, + { url = "https://files.pythonhosted.org/packages/33/71/e2a7945b7de4e58af42d708a219f3b2f4cff7386e6b6ab0a0fa0033c49a9/contourpy-1.3.3-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:a15459b0f4615b00bbd1e91f1b9e19b7e63aea7483d03d804186f278c0af2659", size = 1332062, upload-time = "2025-07-26T12:01:48.964Z" }, + { url = "https://files.pythonhosted.org/packages/12/fc/4e87ac754220ccc0e807284f88e943d6d43b43843614f0a8afa469801db0/contourpy-1.3.3-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:ca0fdcd73925568ca027e0b17ab07aad764be4706d0a925b89227e447d9737b7", size = 1403932, upload-time = "2025-07-26T12:01:51.979Z" }, + { url = "https://files.pythonhosted.org/packages/a6/2e/adc197a37443f934594112222ac1aa7dc9a98faf9c3842884df9a9d8751d/contourpy-1.3.3-cp313-cp313-win32.whl", hash = "sha256:b20c7c9a3bf701366556e1b1984ed2d0cedf999903c51311417cf5f591d8c78d", size = 185024, upload-time = "2025-07-26T12:01:53.245Z" }, + { url = "https://files.pythonhosted.org/packages/18/0b/0098c214843213759692cc638fce7de5c289200a830e5035d1791d7a2338/contourpy-1.3.3-cp313-cp313-win_amd64.whl", hash = "sha256:1cadd8b8969f060ba45ed7c1b714fe69185812ab43bd6b86a9123fe8f99c3263", size = 226578, upload-time = "2025-07-26T12:01:54.422Z" }, + { url = "https://files.pythonhosted.org/packages/8a/9a/2f6024a0c5995243cd63afdeb3651c984f0d2bc727fd98066d40e141ad73/contourpy-1.3.3-cp313-cp313-win_arm64.whl", hash = "sha256:fd914713266421b7536de2bfa8181aa8c699432b6763a0ea64195ebe28bff6a9", size = 193524, upload-time = "2025-07-26T12:01:55.73Z" }, + { url = "https://files.pythonhosted.org/packages/c0/b3/f8a1a86bd3298513f500e5b1f5fd92b69896449f6cab6a146a5d52715479/contourpy-1.3.3-cp313-cp313t-macosx_10_13_x86_64.whl", hash = "sha256:88df9880d507169449d434c293467418b9f6cbe82edd19284aa0409e7fdb933d", size = 306730, upload-time = "2025-07-26T12:01:57.051Z" }, + { url = "https://files.pythonhosted.org/packages/3f/11/4780db94ae62fc0c2053909b65dc3246bd7cecfc4f8a20d957ad43aa4ad8/contourpy-1.3.3-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:d06bb1f751ba5d417047db62bca3c8fde202b8c11fb50742ab3ab962c81e8216", size = 287897, upload-time = "2025-07-26T12:01:58.663Z" }, + { url = "https://files.pythonhosted.org/packages/ae/15/e59f5f3ffdd6f3d4daa3e47114c53daabcb18574a26c21f03dc9e4e42ff0/contourpy-1.3.3-cp313-cp313t-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:e4e6b05a45525357e382909a4c1600444e2a45b4795163d3b22669285591c1ae", size = 326751, upload-time = "2025-07-26T12:02:00.343Z" }, + { url = "https://files.pythonhosted.org/packages/0f/81/03b45cfad088e4770b1dcf72ea78d3802d04200009fb364d18a493857210/contourpy-1.3.3-cp313-cp313t-manylinux_2_26_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:ab3074b48c4e2cf1a960e6bbeb7f04566bf36b1861d5c9d4d8ac04b82e38ba20", size = 375486, upload-time = "2025-07-26T12:02:02.128Z" }, + { url = "https://files.pythonhosted.org/packages/0c/ba/49923366492ffbdd4486e970d421b289a670ae8cf539c1ea9a09822b371a/contourpy-1.3.3-cp313-cp313t-manylinux_2_26_s390x.manylinux_2_28_s390x.whl", hash = "sha256:6c3d53c796f8647d6deb1abe867daeb66dcc8a97e8455efa729516b997b8ed99", size = 388106, upload-time = "2025-07-26T12:02:03.615Z" }, + { url = "https://files.pythonhosted.org/packages/9f/52/5b00ea89525f8f143651f9f03a0df371d3cbd2fccd21ca9b768c7a6500c2/contourpy-1.3.3-cp313-cp313t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:50ed930df7289ff2a8d7afeb9603f8289e5704755c7e5c3bbd929c90c817164b", size = 352548, upload-time = "2025-07-26T12:02:05.165Z" }, + { url = "https://files.pythonhosted.org/packages/32/1d/a209ec1a3a3452d490f6b14dd92e72280c99ae3d1e73da74f8277d4ee08f/contourpy-1.3.3-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:4feffb6537d64b84877da813a5c30f1422ea5739566abf0bd18065ac040e120a", size = 1322297, upload-time = "2025-07-26T12:02:07.379Z" }, + { url = "https://files.pythonhosted.org/packages/bc/9e/46f0e8ebdd884ca0e8877e46a3f4e633f6c9c8c4f3f6e72be3fe075994aa/contourpy-1.3.3-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:2b7e9480ffe2b0cd2e787e4df64270e3a0440d9db8dc823312e2c940c167df7e", size = 1391023, upload-time = "2025-07-26T12:02:10.171Z" }, + { url = "https://files.pythonhosted.org/packages/b9/70/f308384a3ae9cd2209e0849f33c913f658d3326900d0ff5d378d6a1422d2/contourpy-1.3.3-cp313-cp313t-win32.whl", hash = "sha256:283edd842a01e3dcd435b1c5116798d661378d83d36d337b8dde1d16a5fc9ba3", size = 196157, upload-time = "2025-07-26T12:02:11.488Z" }, + { url = "https://files.pythonhosted.org/packages/b2/dd/880f890a6663b84d9e34a6f88cded89d78f0091e0045a284427cb6b18521/contourpy-1.3.3-cp313-cp313t-win_amd64.whl", hash = "sha256:87acf5963fc2b34825e5b6b048f40e3635dd547f590b04d2ab317c2619ef7ae8", size = 240570, upload-time = "2025-07-26T12:02:12.754Z" }, + { url = "https://files.pythonhosted.org/packages/80/99/2adc7d8ffead633234817ef8e9a87115c8a11927a94478f6bb3d3f4d4f7d/contourpy-1.3.3-cp313-cp313t-win_arm64.whl", hash = "sha256:3c30273eb2a55024ff31ba7d052dde990d7d8e5450f4bbb6e913558b3d6c2301", size = 199713, upload-time = "2025-07-26T12:02:14.4Z" }, + { url = "https://files.pythonhosted.org/packages/72/8b/4546f3ab60f78c514ffb7d01a0bd743f90de36f0019d1be84d0a708a580a/contourpy-1.3.3-cp314-cp314-macosx_10_13_x86_64.whl", hash = "sha256:fde6c716d51c04b1c25d0b90364d0be954624a0ee9d60e23e850e8d48353d07a", size = 292189, upload-time = "2025-07-26T12:02:16.095Z" }, + { url = "https://files.pythonhosted.org/packages/fd/e1/3542a9cb596cadd76fcef413f19c79216e002623158befe6daa03dbfa88c/contourpy-1.3.3-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:cbedb772ed74ff5be440fa8eee9bd49f64f6e3fc09436d9c7d8f1c287b121d77", size = 273251, upload-time = "2025-07-26T12:02:17.524Z" }, + { url = "https://files.pythonhosted.org/packages/b1/71/f93e1e9471d189f79d0ce2497007731c1e6bf9ef6d1d61b911430c3db4e5/contourpy-1.3.3-cp314-cp314-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:22e9b1bd7a9b1d652cd77388465dc358dafcd2e217d35552424aa4f996f524f5", size = 335810, upload-time = "2025-07-26T12:02:18.9Z" }, + { url = "https://files.pythonhosted.org/packages/91/f9/e35f4c1c93f9275d4e38681a80506b5510e9327350c51f8d4a5a724d178c/contourpy-1.3.3-cp314-cp314-manylinux_2_26_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:a22738912262aa3e254e4f3cb079a95a67132fc5a063890e224393596902f5a4", size = 382871, upload-time = "2025-07-26T12:02:20.418Z" }, + { url = "https://files.pythonhosted.org/packages/b5/71/47b512f936f66a0a900d81c396a7e60d73419868fba959c61efed7a8ab46/contourpy-1.3.3-cp314-cp314-manylinux_2_26_s390x.manylinux_2_28_s390x.whl", hash = "sha256:afe5a512f31ee6bd7d0dda52ec9864c984ca3d66664444f2d72e0dc4eb832e36", size = 386264, upload-time = "2025-07-26T12:02:21.916Z" }, + { url = "https://files.pythonhosted.org/packages/04/5f/9ff93450ba96b09c7c2b3f81c94de31c89f92292f1380261bd7195bea4ea/contourpy-1.3.3-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:f64836de09927cba6f79dcd00fdd7d5329f3fccc633468507079c829ca4db4e3", size = 363819, upload-time = "2025-07-26T12:02:23.759Z" }, + { url = "https://files.pythonhosted.org/packages/3e/a6/0b185d4cc480ee494945cde102cb0149ae830b5fa17bf855b95f2e70ad13/contourpy-1.3.3-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:1fd43c3be4c8e5fd6e4f2baeae35ae18176cf2e5cced681cca908addf1cdd53b", size = 1333650, upload-time = "2025-07-26T12:02:26.181Z" }, + { url = "https://files.pythonhosted.org/packages/43/d7/afdc95580ca56f30fbcd3060250f66cedbde69b4547028863abd8aa3b47e/contourpy-1.3.3-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:6afc576f7b33cf00996e5c1102dc2a8f7cc89e39c0b55df93a0b78c1bd992b36", size = 1404833, upload-time = "2025-07-26T12:02:28.782Z" }, + { url = "https://files.pythonhosted.org/packages/e2/e2/366af18a6d386f41132a48f033cbd2102e9b0cf6345d35ff0826cd984566/contourpy-1.3.3-cp314-cp314-win32.whl", hash = "sha256:66c8a43a4f7b8df8b71ee1840e4211a3c8d93b214b213f590e18a1beca458f7d", size = 189692, upload-time = "2025-07-26T12:02:30.128Z" }, + { url = "https://files.pythonhosted.org/packages/7d/c2/57f54b03d0f22d4044b8afb9ca0e184f8b1afd57b4f735c2fa70883dc601/contourpy-1.3.3-cp314-cp314-win_amd64.whl", hash = "sha256:cf9022ef053f2694e31d630feaacb21ea24224be1c3ad0520b13d844274614fd", size = 232424, upload-time = "2025-07-26T12:02:31.395Z" }, + { url = "https://files.pythonhosted.org/packages/18/79/a9416650df9b525737ab521aa181ccc42d56016d2123ddcb7b58e926a42c/contourpy-1.3.3-cp314-cp314-win_arm64.whl", hash = "sha256:95b181891b4c71de4bb404c6621e7e2390745f887f2a026b2d99e92c17892339", size = 198300, upload-time = "2025-07-26T12:02:32.956Z" }, + { url = "https://files.pythonhosted.org/packages/1f/42/38c159a7d0f2b7b9c04c64ab317042bb6952b713ba875c1681529a2932fe/contourpy-1.3.3-cp314-cp314t-macosx_10_13_x86_64.whl", hash = "sha256:33c82d0138c0a062380332c861387650c82e4cf1747aaa6938b9b6516762e772", size = 306769, upload-time = "2025-07-26T12:02:34.2Z" }, + { url = "https://files.pythonhosted.org/packages/c3/6c/26a8205f24bca10974e77460de68d3d7c63e282e23782f1239f226fcae6f/contourpy-1.3.3-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:ea37e7b45949df430fe649e5de8351c423430046a2af20b1c1961cae3afcda77", size = 287892, upload-time = "2025-07-26T12:02:35.807Z" }, + { url = "https://files.pythonhosted.org/packages/66/06/8a475c8ab718ebfd7925661747dbb3c3ee9c82ac834ccb3570be49d129f4/contourpy-1.3.3-cp314-cp314t-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:d304906ecc71672e9c89e87c4675dc5c2645e1f4269a5063b99b0bb29f232d13", size = 326748, upload-time = "2025-07-26T12:02:37.193Z" }, + { url = "https://files.pythonhosted.org/packages/b4/a3/c5ca9f010a44c223f098fccd8b158bb1cb287378a31ac141f04730dc49be/contourpy-1.3.3-cp314-cp314t-manylinux_2_26_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:ca658cd1a680a5c9ea96dc61cdbae1e85c8f25849843aa799dfd3cb370ad4fbe", size = 375554, upload-time = "2025-07-26T12:02:38.894Z" }, + { url = "https://files.pythonhosted.org/packages/80/5b/68bd33ae63fac658a4145088c1e894405e07584a316738710b636c6d0333/contourpy-1.3.3-cp314-cp314t-manylinux_2_26_s390x.manylinux_2_28_s390x.whl", hash = "sha256:ab2fd90904c503739a75b7c8c5c01160130ba67944a7b77bbf36ef8054576e7f", size = 388118, upload-time = "2025-07-26T12:02:40.642Z" }, + { url = "https://files.pythonhosted.org/packages/40/52/4c285a6435940ae25d7410a6c36bda5145839bc3f0beb20c707cda18b9d2/contourpy-1.3.3-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:b7301b89040075c30e5768810bc96a8e8d78085b47d8be6e4c3f5a0b4ed478a0", size = 352555, upload-time = "2025-07-26T12:02:42.25Z" }, + { url = "https://files.pythonhosted.org/packages/24/ee/3e81e1dd174f5c7fefe50e85d0892de05ca4e26ef1c9a59c2a57e43b865a/contourpy-1.3.3-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:2a2a8b627d5cc6b7c41a4beff6c5ad5eb848c88255fda4a8745f7e901b32d8e4", size = 1322295, upload-time = "2025-07-26T12:02:44.668Z" }, + { url = "https://files.pythonhosted.org/packages/3c/b2/6d913d4d04e14379de429057cd169e5e00f6c2af3bb13e1710bcbdb5da12/contourpy-1.3.3-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:fd6ec6be509c787f1caf6b247f0b1ca598bef13f4ddeaa126b7658215529ba0f", size = 1391027, upload-time = "2025-07-26T12:02:47.09Z" }, + { url = "https://files.pythonhosted.org/packages/93/8a/68a4ec5c55a2971213d29a9374913f7e9f18581945a7a31d1a39b5d2dfe5/contourpy-1.3.3-cp314-cp314t-win32.whl", hash = "sha256:e74a9a0f5e3fff48fb5a7f2fd2b9b70a3fe014a67522f79b7cca4c0c7e43c9ae", size = 202428, upload-time = "2025-07-26T12:02:48.691Z" }, + { url = "https://files.pythonhosted.org/packages/fa/96/fd9f641ffedc4fa3ace923af73b9d07e869496c9cc7a459103e6e978992f/contourpy-1.3.3-cp314-cp314t-win_amd64.whl", hash = "sha256:13b68d6a62db8eafaebb8039218921399baf6e47bf85006fd8529f2a08ef33fc", size = 250331, upload-time = "2025-07-26T12:02:50.137Z" }, + { url = "https://files.pythonhosted.org/packages/ae/8c/469afb6465b853afff216f9528ffda78a915ff880ed58813ba4faf4ba0b6/contourpy-1.3.3-cp314-cp314t-win_arm64.whl", hash = "sha256:b7448cb5a725bb1e35ce88771b86fba35ef418952474492cf7c764059933ff8b", size = 203831, upload-time = "2025-07-26T12:02:51.449Z" }, + { url = "https://files.pythonhosted.org/packages/a5/29/8dcfe16f0107943fa92388c23f6e05cff0ba58058c4c95b00280d4c75a14/contourpy-1.3.3-pp311-pypy311_pp73-macosx_10_15_x86_64.whl", hash = "sha256:cd5dfcaeb10f7b7f9dc8941717c6c2ade08f587be2226222c12b25f0483ed497", size = 278809, upload-time = "2025-07-26T12:02:52.74Z" }, + { url = "https://files.pythonhosted.org/packages/85/a9/8b37ef4f7dafeb335daee3c8254645ef5725be4d9c6aa70b50ec46ef2f7e/contourpy-1.3.3-pp311-pypy311_pp73-macosx_11_0_arm64.whl", hash = "sha256:0c1fc238306b35f246d61a1d416a627348b5cf0648648a031e14bb8705fcdfe8", size = 261593, upload-time = "2025-07-26T12:02:54.037Z" }, + { url = "https://files.pythonhosted.org/packages/0a/59/ebfb8c677c75605cc27f7122c90313fd2f375ff3c8d19a1694bda74aaa63/contourpy-1.3.3-pp311-pypy311_pp73-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:70f9aad7de812d6541d29d2bbf8feb22ff7e1c299523db288004e3157ff4674e", size = 302202, upload-time = "2025-07-26T12:02:55.947Z" }, + { url = "https://files.pythonhosted.org/packages/3c/37/21972a15834d90bfbfb009b9d004779bd5a07a0ec0234e5ba8f64d5736f4/contourpy-1.3.3-pp311-pypy311_pp73-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:5ed3657edf08512fc3fe81b510e35c2012fbd3081d2e26160f27ca28affec989", size = 329207, upload-time = "2025-07-26T12:02:57.468Z" }, + { url = "https://files.pythonhosted.org/packages/0c/58/bd257695f39d05594ca4ad60df5bcb7e32247f9951fd09a9b8edb82d1daa/contourpy-1.3.3-pp311-pypy311_pp73-win_amd64.whl", hash = "sha256:3d1a3799d62d45c18bafd41c5fa05120b96a28079f2393af559b843d1a966a77", size = 225315, upload-time = "2025-07-26T12:02:58.801Z" }, +] + +[[package]] +name = "contourpy" +version = "1.4.0" +source = { registry = "https://pypi.org/simple" } +resolution-markers = [ + "python_full_version == '3.14.*'", + "python_full_version >= '3.12' and python_full_version < '3.14'", +] +dependencies = [ + { name = "numpy", version = "2.5.3", source = { registry = "https://pypi.org/simple" } }, +] +sdist = { url = "https://files.pythonhosted.org/packages/83/5a/a55177dd22553a277388e8a1b3220e92de91bacb28356cdc73caa240121d/contourpy-1.4.0.tar.gz", hash = "sha256:20156f5a1ac4f8ce02656e39a61e82164a3d359796dc8026f75b062783d500e1", size = 13323726, upload-time = "2026-09-11T19:05:05.808Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/97/ba/01bde9753bdbba04a6da9d2bff3881f021bc708f654655e95fae26d3b3a3/contourpy-1.4.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:186ba929df36d61b6127da2e89cd1357e4cb79aca647381ab1a6feb0b152877b", size = 297302, upload-time = "2026-09-11T19:02:45.103Z" }, + { url = "https://files.pythonhosted.org/packages/dd/f5/c5bf67522d49a2222f3154fe46879451d26f0e35ece41770758a64ea78cb/contourpy-1.4.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:c76f3a5318164db7d9401132fc1b5364b784c613c93fa506e3b5e6d1bf353ec8", size = 284921, upload-time = "2026-09-11T19:02:48.049Z" }, + { url = "https://files.pythonhosted.org/packages/0f/cc/cb989599eec12fda312e127eb8e04a8b21a7a6c94bf7ff1bc68273334a42/contourpy-1.4.0-cp312-cp312-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:43c3ccbb32c6294b183dcc8e8c46dacf5ecef809497e3d48a5be298eef185ad0", size = 356332, upload-time = "2026-09-11T19:02:51.408Z" }, + { url = "https://files.pythonhosted.org/packages/47/fb/6f620d7602507817b0b4c21dd790ed68688f1f4ae9c29aacf21f08db5cf1/contourpy-1.4.0-cp312-cp312-manylinux_2_26_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:86d05cec773c9507a3950122e0e40ce77c23c75ceeb2fc189514e71893cbb34b", size = 405878, upload-time = "2026-09-11T19:02:54.093Z" }, + { url = "https://files.pythonhosted.org/packages/32/4e/693c6d6bdece679f0953775eef3a1b66d56be55478d936e7deb1f3004422/contourpy-1.4.0-cp312-cp312-manylinux_2_26_s390x.manylinux_2_28_s390x.whl", hash = "sha256:2deb580178ca19437a84bd77e4bc2cd91a8ccad212413a83c273900868b5978c", size = 408296, upload-time = "2026-09-11T19:02:56.528Z" }, + { url = "https://files.pythonhosted.org/packages/78/f9/b6831508960d559581c448532ba4df312217072975486dbf2b24fcc5b76f/contourpy-1.4.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:875f42444c9cf48d56f724f2637e60d0f73b3b12c9041e1484580a233edf9591", size = 383243, upload-time = "2026-09-11T19:02:58.638Z" }, + { url = "https://files.pythonhosted.org/packages/f2/21/52903825a0ae7bb625e8bd30a09816d4c3c5d6174a469c10a616166cf780/contourpy-1.4.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:f863c6100bf926cf47d13f3cd75f9bb8ebd98aaab230eeb4468b91f98f39a6b3", size = 1357306, upload-time = "2026-09-11T19:03:01.036Z" }, + { url = "https://files.pythonhosted.org/packages/d8/79/d68b1ce8539e4071518fed9523f558398f34dcd078b8927b109c72dad2ef/contourpy-1.4.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:3863ef2e2b13fe93f8c0ebb08ee400cb07153b8b0e91c5acb26e4537f283634f", size = 1427243, upload-time = "2026-09-11T19:03:03.866Z" }, + { url = "https://files.pythonhosted.org/packages/ac/f0/b75a10e9d0616b97a30de277b6dfe83f1879880854c7330337309530eb48/contourpy-1.4.0-cp312-cp312-win32.whl", hash = "sha256:5450f091ac1be0be3ad3a2a3b3f23b5e443e78c670ced4fd347d626f92a28fd2", size = 347345, upload-time = "2026-09-11T19:03:06.192Z" }, + { url = "https://files.pythonhosted.org/packages/50/a9/dab08786bb4d77ef9a046b3c1be923be4e73c5d07d91f5a54e8ea9b09e41/contourpy-1.4.0-cp312-cp312-win_amd64.whl", hash = "sha256:6e697d94e69f499ff6bebb899cae97a58d5d14f0e1fe9568b43a0248d2f9af8c", size = 234083, upload-time = "2026-09-11T19:03:08.122Z" }, + { url = "https://files.pythonhosted.org/packages/47/b9/3ba509755a970dbde5948e7142ac21f266be72f38017cc4087a05fdceee1/contourpy-1.4.0-cp312-cp312-win_arm64.whl", hash = "sha256:0c7a4c2716a4e98342221954416a836cca77c996c14ddbf22b5f01d5d93ca09c", size = 559521, upload-time = "2026-09-11T19:03:10.047Z" }, + { url = "https://files.pythonhosted.org/packages/b7/8b/62a6eacea08ea0b6ab0159a7783df7ed421ff9c1ff58fef7c31f58fa5e52/contourpy-1.4.0-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:e21d1d4a9db5b3a793649c7ab0ddb4697f2818929eec871a7b9c45fce7b2a1ea", size = 297330, upload-time = "2026-09-11T19:03:11.809Z" }, + { url = "https://files.pythonhosted.org/packages/3f/2f/103cdc5b7077cd569989d3ddb99ee3d4e96ee31bde8df2a6e426b2dc6195/contourpy-1.4.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:196759a3e4db60e1546167e361090ebb6d199aa3aafc9e34ea17a5ac3b23e814", size = 285037, upload-time = "2026-09-11T19:03:13.781Z" }, + { url = "https://files.pythonhosted.org/packages/bf/25/97001d1fdf940e6f5adfc592d4f5899fff95daf7dceead3988fe09987d2d/contourpy-1.4.0-cp313-cp313-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:9c0e07c691f3b3321913ed9b8161c50ea5f77fadd006f52f5e755359b0dcbfc5", size = 356675, upload-time = "2026-09-11T19:03:15.374Z" }, + { url = "https://files.pythonhosted.org/packages/a6/5e/9a7241a89e2f74402aefa2569e1349ad2750ff77823c04c788eaaedb7fdd/contourpy-1.4.0-cp313-cp313-manylinux_2_26_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:7f861af508fca2384eef392bc1d8377cfa349b2b854cb11b45d89c75780e2561", size = 406990, upload-time = "2026-09-11T19:03:17.44Z" }, + { url = "https://files.pythonhosted.org/packages/36/81/3a4fbbf6a806eada5453a6d16f6c7d96b9f4b3e57a3127368fb545986b8a/contourpy-1.4.0-cp313-cp313-manylinux_2_26_s390x.manylinux_2_28_s390x.whl", hash = "sha256:a03b32c2e7eda8b17757c022162c13c86f5c3d6f937dddf9ba3c3ff7b513953b", size = 407271, upload-time = "2026-09-11T19:03:19.523Z" }, + { url = "https://files.pythonhosted.org/packages/68/77/8f93ecbde1a4d11dfd460cd19a0c159f5487352e751fa87f5d78cc9db08e/contourpy-1.4.0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:f1219a8898523cba821085f2da8a1b962cc696325763f09d7f93538ba43b2d70", size = 384707, upload-time = "2026-09-11T19:03:21.208Z" }, + { url = "https://files.pythonhosted.org/packages/05/07/e5cdf94d68961ee464de6b4fedd3d2f666584f59ccd124bb1290597122ab/contourpy-1.4.0-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:20da2f86bfaed60dbba729fe738c8241b1dd22b6cf7e8cbbf30df290bd04ba28", size = 1356741, upload-time = "2026-09-11T19:03:23.621Z" }, + { url = "https://files.pythonhosted.org/packages/fd/8a/2301d07accb257ac08daeb631875fada06fedd019c20ff7b00ee07e9d211/contourpy-1.4.0-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:6ced1670fafee703b8277ab1645072a226e74f167166eae146fb743916119b67", size = 1426793, upload-time = "2026-09-11T19:03:25.955Z" }, + { url = "https://files.pythonhosted.org/packages/7d/5d/a62648f06259d15c139b14eb8cf3c58fe53cb970a55f2bb77d1070e80a41/contourpy-1.4.0-cp313-cp313-pyemscripten_2025_0_wasm32.whl", hash = "sha256:abd0f7e51ecc52bf8c95713bd80b1c17c516a71fa391c54475308a4377903c2b", size = 117961, upload-time = "2026-09-11T19:03:27.713Z" }, + { url = "https://files.pythonhosted.org/packages/71/31/c5b7771ba6982f319ec90c0cf5c425b36891adfeee2d9f667f90b2d0c166/contourpy-1.4.0-cp313-cp313-win32.whl", hash = "sha256:510f7d93d94cf6ebf4e2cd0640bea16ab8affac7547230175b6745b596ce0599", size = 347438, upload-time = "2026-09-11T19:03:29.829Z" }, + { url = "https://files.pythonhosted.org/packages/68/c1/a59df0754bf83a6f3e153cc19d550a5b01f607e389b1c4d57f436f9139e0/contourpy-1.4.0-cp313-cp313-win_amd64.whl", hash = "sha256:6507a016976a75a15aee47809a34605de6244ccc056e6164bf9fb14b27eecad4", size = 234084, upload-time = "2026-09-11T19:03:31.657Z" }, + { url = "https://files.pythonhosted.org/packages/41/48/97224f5decb1efa5a610f912195deb45321f73ec9b9dac485cd6fe2d5a6a/contourpy-1.4.0-cp313-cp313-win_arm64.whl", hash = "sha256:423bd5f4b3f11d54a8c597234e513382e3454bb106b8ec7ae32ba4ed63f8d99b", size = 559559, upload-time = "2026-09-11T19:03:33.528Z" }, + { url = "https://files.pythonhosted.org/packages/75/b0/b548628c8dddf6e5e0a981b7fa8e4c008024df09c7d17c6a9e271edfa0b3/contourpy-1.4.0-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:a3e67bc1a6a4618a1dac7c3053a9ffece5ddfa2046b2670b342cf430bb0b87d1", size = 297354, upload-time = "2026-09-11T19:03:35.017Z" }, + { url = "https://files.pythonhosted.org/packages/04/5a/513484208742f65af2648c519f0b7ab034616e183c4403538024c136a1ab/contourpy-1.4.0-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:072a702e2e178f4fcf96f04775d0c059e4c917925abf0d3208ebb6865df3c23d", size = 283729, upload-time = "2026-09-11T19:03:36.818Z" }, + { url = "https://files.pythonhosted.org/packages/35/da/5a6562febc994b2c4bf9d01e57a50458ef8a2051bb3e7b35a00333e0fc26/contourpy-1.4.0-cp314-cp314-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:404dbcd9233513dfd1323b66ea593fef90e899f658f6b8a9ed8e93bd0ca669db", size = 357819, upload-time = "2026-09-11T19:03:39.058Z" }, + { url = "https://files.pythonhosted.org/packages/6d/99/7b358ce888aaa426f755daa096c99c59d17c352037344e836f20e5d3b957/contourpy-1.4.0-cp314-cp314-manylinux_2_26_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:61624f6722480aa7e168fd746164e7bfdf48f8ccb6542f1613741200dc37e2b1", size = 407795, upload-time = "2026-09-11T19:03:41.293Z" }, + { url = "https://files.pythonhosted.org/packages/be/02/34d7548adf08c60967435d79d7a90882eacc84f5093435287974c7e99943/contourpy-1.4.0-cp314-cp314-manylinux_2_26_s390x.manylinux_2_28_s390x.whl", hash = "sha256:2e741a39dfc96babe1722561e81351aeec104526c57dbe91c167c1db606c2d55", size = 408552, upload-time = "2026-09-11T19:03:42.728Z" }, + { url = "https://files.pythonhosted.org/packages/cf/8c/9677dad226e5aaac5b823d5b09d881ebc32ff1648af417597649841e516c/contourpy-1.4.0-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:e439ab450c93455feb0218532ded3e946ec7a9b5f459069f122cfa44b89229f6", size = 384850, upload-time = "2026-09-11T19:03:44.402Z" }, + { url = "https://files.pythonhosted.org/packages/08/f5/e3fbeaa489c223629fbb434737cb3de4ecaca9cae4825e77b92490f640f8/contourpy-1.4.0-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:417be048f7e122cefbe2a34c51a1f2b0410f8eb35796f794d45475ddb7872d9d", size = 1357601, upload-time = "2026-09-11T19:03:46.746Z" }, + { url = "https://files.pythonhosted.org/packages/88/be/55fec293d342c222ed58a5d4056df4362e192af2e59527a3d5d822de8828/contourpy-1.4.0-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:43d80072a32299bf945de0a6dd4e034ea0162e832261de2e07a274a5adbba9c9", size = 1427340, upload-time = "2026-09-11T19:03:48.745Z" }, + { url = "https://files.pythonhosted.org/packages/86/40/0faabf453edf59b0e3633381d7ca72c3414fb9b72b5cbb08b06ed792d3e5/contourpy-1.4.0-cp314-cp314-pyemscripten_2026_0_wasm32.whl", hash = "sha256:fa1b787362a3856e63dd2b89449f6c384d55ee1beb8f94f4bcc871b40f02462c", size = 118355, upload-time = "2026-09-11T19:03:50.047Z" }, + { url = "https://files.pythonhosted.org/packages/38/0c/7ea75aa3559ae8a6805015e15a19c92b6480752ecc92526361e5776e88c5/contourpy-1.4.0-cp314-cp314-win32.whl", hash = "sha256:738c44fa71735a617f36da58e32810512407d283d5d1bb5b1cecb00d7eeba7cf", size = 356977, upload-time = "2026-09-11T19:04:11.401Z" }, + { url = "https://files.pythonhosted.org/packages/15/41/3df8cc14bb572c8b447f9dfbc876703f0f2f2896058285b5c87a1d4a638d/contourpy-1.4.0-cp314-cp314-win_amd64.whl", hash = "sha256:181bea01bc742734ae672fa00c717d855dd35e1f029536406538c52e7b0cd73d", size = 240101, upload-time = "2026-09-11T19:04:12.772Z" }, + { url = "https://files.pythonhosted.org/packages/66/01/ee6830a5aa4565662a345172f6f35eeeed625d20f1c9d4ecd35318fe4ade/contourpy-1.4.0-cp314-cp314-win_arm64.whl", hash = "sha256:64039341e2d8804f1a13bda8c69083eab935167bbd7e856cf096241f17d5bd45", size = 576359, upload-time = "2026-09-11T19:04:14.983Z" }, + { url = "https://files.pythonhosted.org/packages/51/af/49ee9c9cf012699e505c1b63c531cc99f19df50f205173092c4d541e3ec7/contourpy-1.4.0-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:ef47fef9a912c77e3d84b014f701e5a9340f25703e9ed3bcebe37f91fb69dc49", size = 313601, upload-time = "2026-09-11T19:03:51.452Z" }, + { url = "https://files.pythonhosted.org/packages/ad/59/ce411ab2be0f805038626d8f4ca9ce563487ff51ff6c363e7512271564ed/contourpy-1.4.0-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:96019f059bcb3774acc0104be3360a57b36d33eaaa2e1d7f77c800ca8e07618b", size = 302812, upload-time = "2026-09-11T19:03:53.022Z" }, + { url = "https://files.pythonhosted.org/packages/95/b0/390915f9af14c1e2d3b2a9ad99d85b98df4352346a51e368cbb825f813c3/contourpy-1.4.0-cp314-cp314t-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:ddf5a2596d716fd3793434844caf31abc7a40b1e8718431420c89858268fb909", size = 348996, upload-time = "2026-09-11T19:03:54.594Z" }, + { url = "https://files.pythonhosted.org/packages/c7/85/e0952576d54322f3e9983b1e049a7a31f42ce82c5c29d01821e6dd3780d7/contourpy-1.4.0-cp314-cp314t-manylinux_2_26_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:dd59df9e2fb0aff8bd7fd1adb9f349b7c835245a9d0f18c2f2deeb537190f2b1", size = 400272, upload-time = "2026-09-11T19:03:56.822Z" }, + { url = "https://files.pythonhosted.org/packages/d6/7d/f13543a5e1598e4a4ad01d9d5e2d65f9c09c37660616429913d606c5977d/contourpy-1.4.0-cp314-cp314t-manylinux_2_26_s390x.manylinux_2_28_s390x.whl", hash = "sha256:b7794ea07cab575633daad8d6e963b662053391022294d3aacc1d9ba9ef54114", size = 412895, upload-time = "2026-09-11T19:03:58.487Z" }, + { url = "https://files.pythonhosted.org/packages/c5/a8/6e5eaff53507dfd2dfc428240eecda32453067277d4b3e7ca71210b2d611/contourpy-1.4.0-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:a1c8a74744fa746eeaa12f0f9ed7f8b4add9d8f1b14d95e3b5e133675eac888f", size = 377060, upload-time = "2026-09-11T19:04:00.122Z" }, + { url = "https://files.pythonhosted.org/packages/16/a3/d00e44d35511b3cead5bd794ee672d4eecf30d9de4ceac57a49d6204064f/contourpy-1.4.0-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:107ec46f7aa1664266d69b1181aadc953d58d39f7d8d648fa5b795d4a060b0de", size = 1345688, upload-time = "2026-09-11T19:04:02.705Z" }, + { url = "https://files.pythonhosted.org/packages/1e/01/1e533b0cae32c8edd63fe40435ec3b29345dab87321afcd28722d7f957d1/contourpy-1.4.0-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:5a4c89c7f38a0d7a94356d74e3391073c4325c4d47ad2fd065c3fe7dbae16c0c", size = 1416140, upload-time = "2026-09-11T19:04:04.77Z" }, + { url = "https://files.pythonhosted.org/packages/6d/0c/4ee66759f00d6a5d6909782f14f441d639fa18a4a43142e334351efc47f8/contourpy-1.4.0-cp314-cp314t-win32.whl", hash = "sha256:912c6afaa106e2f74ba22b30416b77ef7eb94e3bdc5a4df51ab147845dba9b6d", size = 371982, upload-time = "2026-09-11T19:04:06.233Z" }, + { url = "https://files.pythonhosted.org/packages/e6/ac/b3e5324138c3e3741f526663f4f265f4f69dfdf26415a39428940864a5f6/contourpy-1.4.0-cp314-cp314t-win_amd64.whl", hash = "sha256:ef9440f6f8506246269a82734f5ff9e2e4c5e775b3996fc883cc491c5257eca6", size = 262907, upload-time = "2026-09-11T19:04:07.882Z" }, + { url = "https://files.pythonhosted.org/packages/19/37/c9aa45e47819dc15a38fc5c81a2fb987fde55e9d3b991fbde514e3b6b5f5/contourpy-1.4.0-cp314-cp314t-win_arm64.whl", hash = "sha256:fc9feef8f1f001c5b87decadc67c4a5d1eebb62ca39c4763d1237ff62cf2b707", size = 587071, upload-time = "2026-09-11T19:04:09.898Z" }, + { url = "https://files.pythonhosted.org/packages/cc/74/66d4e6fbea3bcb3fd4e5ae21c039ba31b8fc408b35884b4bc09b88016dce/contourpy-1.4.0-cp315-cp315-macosx_10_15_x86_64.whl", hash = "sha256:79b06c60d5e569ce12c5da8f0c51217cdc484386e2349fa717c30fafb56d2871", size = 297358, upload-time = "2026-09-11T19:04:16.718Z" }, + { url = "https://files.pythonhosted.org/packages/2e/8d/8f7f25e71d73f15d7859943189900d2d348e740388c9ef52a0180d284762/contourpy-1.4.0-cp315-cp315-macosx_11_0_arm64.whl", hash = "sha256:6f963ea9f0d68d2b6a02d861e3c0aae09ae25ba21f243fcf281e9fed468b078d", size = 283732, upload-time = "2026-09-11T19:04:18.087Z" }, + { url = "https://files.pythonhosted.org/packages/f0/90/957549e3b03c407c670e3e191db63f4aef60dab6605bc967af3a806b543e/contourpy-1.4.0-cp315-cp315-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:5545ff38229c15d11d822fc6f7415b932da9f4975f53e305b7b96ebfb01f889c", size = 357820, upload-time = "2026-09-11T19:04:20.077Z" }, + { url = "https://files.pythonhosted.org/packages/56/4c/fa8de87d907b41b05d03f4945a51675cd67319650d01b4c927d209ffa6ee/contourpy-1.4.0-cp315-cp315-manylinux_2_26_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:630d32f06cedf37b7f1dd2b6a12e4492826bd477a4c9c7b2e2fee6ce3a2cea76", size = 407804, upload-time = "2026-09-11T19:04:21.781Z" }, + { url = "https://files.pythonhosted.org/packages/04/e7/96bd4f4a4ae285727befbdb4b332d53a2654cc5da4585d2525b47a063e1f/contourpy-1.4.0-cp315-cp315-manylinux_2_26_s390x.manylinux_2_28_s390x.whl", hash = "sha256:be85d160e7c795113c2a93254dde2fc7e86b375322570eee78b420969426973c", size = 408559, upload-time = "2026-09-11T19:04:23.432Z" }, + { url = "https://files.pythonhosted.org/packages/ae/94/39660e8dc309f96bf7971eb4ec5659f272f84e42b34c9990a96ecce8442c/contourpy-1.4.0-cp315-cp315-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:018227e134b73090b06f911e773a526c77c9af426be29065500ce096a5accd4c", size = 384861, upload-time = "2026-09-11T19:04:25.198Z" }, + { url = "https://files.pythonhosted.org/packages/ab/7b/411dccbf73d5d19da49bf7735786b3baf4ddb1456412d48ae4d4ab1fc761/contourpy-1.4.0-cp315-cp315-musllinux_1_2_aarch64.whl", hash = "sha256:4bffcb2e8cc5c0e837631acab59dd04265fdac376550e7c3e310523877c68cb7", size = 1357612, upload-time = "2026-09-11T19:04:27.614Z" }, + { url = "https://files.pythonhosted.org/packages/a0/39/bf2442130e7d5aae75a4de4504f0c8aca3ef3da3feac3940ee27ca985d83/contourpy-1.4.0-cp315-cp315-musllinux_1_2_x86_64.whl", hash = "sha256:cc87f2ffa84a49a77d76cb792f28a48ff3b05a222aa0b2bddbd839ba78e1d5ca", size = 1427345, upload-time = "2026-09-11T19:04:29.646Z" }, + { url = "https://files.pythonhosted.org/packages/96/60/e5d9196dd83ccd7dd103762982b10ef19a4f72e8ef67ae7157699b9be0bb/contourpy-1.4.0-cp315-cp315-pyemscripten_2026_5_wasm32.whl", hash = "sha256:c8be3392b84cf43373a488874dc1ebf46f60784a70977f92586e18019d71c7ed", size = 118157, upload-time = "2026-09-11T19:04:31.091Z" }, + { url = "https://files.pythonhosted.org/packages/1a/b2/ae3d90f08ba2ed82189d93b55ffbd41e559760e89af4f9ef54d51869f41d/contourpy-1.4.0-cp315-cp315-win32.whl", hash = "sha256:618137ec5778fb76d494c9ec854b104a377fddba0d128bef7136cce2c3bf0df8", size = 356982, upload-time = "2026-09-11T19:04:52.913Z" }, + { url = "https://files.pythonhosted.org/packages/02/a0/36648fff407dcf8b8482985d33367ffc0fe90be72383869312cd0bd00a1b/contourpy-1.4.0-cp315-cp315-win_amd64.whl", hash = "sha256:ea09dc704029930cbd097f75cb0cc1db9852adbcf1a151fac7e9559f7bcbfd19", size = 240101, upload-time = "2026-09-11T19:04:54.587Z" }, + { url = "https://files.pythonhosted.org/packages/07/09/49e987a96706b8f877596cee00d558d7880793a833addc6b33f80805e5dc/contourpy-1.4.0-cp315-cp315-win_arm64.whl", hash = "sha256:a5e2bb871b90cd7a52bdee63bf80ef7acb46398d27efc66d7679240016efc5aa", size = 576375, upload-time = "2026-09-11T19:04:56.515Z" }, + { url = "https://files.pythonhosted.org/packages/e3/18/820ba24a070fe2a834af73e52245c501960746f5c1777ebc64ec0c0dec12/contourpy-1.4.0-cp315-cp315t-macosx_10_15_x86_64.whl", hash = "sha256:432e89f835cf01f8d2123a130a3126b17ee6e0348e4d62c0973872b30aa873bf", size = 313543, upload-time = "2026-09-11T19:04:32.582Z" }, + { url = "https://files.pythonhosted.org/packages/d3/4c/f61a63d8107e0c1c3fa47d30ce45abad90b2ad48a1a9a4510332db7e0176/contourpy-1.4.0-cp315-cp315t-macosx_11_0_arm64.whl", hash = "sha256:3e0a2392533e5e2abdf277c951047516acc8d2f3c42b2dd9dc34c907c9ebabf2", size = 302702, upload-time = "2026-09-11T19:04:34.257Z" }, + { url = "https://files.pythonhosted.org/packages/9d/93/5af95cb5113ecc6e780ca0c6c79756a2cea8833f971bbae112dd4ad73ded/contourpy-1.4.0-cp315-cp315t-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:758e7496cec3195fc28a28945eab3ceef348c47fb95c7afc2eca2f3901209c8c", size = 354370, upload-time = "2026-09-11T19:04:36.158Z" }, + { url = "https://files.pythonhosted.org/packages/47/75/5a9942446647202beb7b4d150891bfcb78fb112c73862484bbe4cc031092/contourpy-1.4.0-cp315-cp315t-manylinux_2_26_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:bee6ff96653e0807cd0f8eaef00174a031e3a2effa5c20f49a5a8d574b05af23", size = 402340, upload-time = "2026-09-11T19:04:37.914Z" }, + { url = "https://files.pythonhosted.org/packages/c3/4f/bfdb0c67775a584f957211936661289789c4d0ec3e988bca2c8c02f8090e/contourpy-1.4.0-cp315-cp315t-manylinux_2_26_s390x.manylinux_2_28_s390x.whl", hash = "sha256:a58b5f130afec61a093d743cdda435cc4047748b6791627e34a68f41ec3a9b07", size = 410721, upload-time = "2026-09-11T19:04:39.925Z" }, + { url = "https://files.pythonhosted.org/packages/65/d3/dddf13d6bb26e145c99debd1f2695018b5f3e24452dd9bfc9904c9d2ec89/contourpy-1.4.0-cp315-cp315t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:b9dc493e7924e5aa32d89d0b8e50986280f3d4b284968a792787bd7bcffd3cad", size = 382604, upload-time = "2026-09-11T19:04:41.793Z" }, + { url = "https://files.pythonhosted.org/packages/37/b4/89f0a5f6c6ccd322eae2704c7e933c82a4e594a61773933b4b0a18646866/contourpy-1.4.0-cp315-cp315t-musllinux_1_2_aarch64.whl", hash = "sha256:c927ec747633e68c9920bcaad48b0bcefe648812b822f18c34e2d0e2270a3d2a", size = 1354996, upload-time = "2026-09-11T19:04:43.856Z" }, + { url = "https://files.pythonhosted.org/packages/5d/29/fc91cc1ac6f3b591a269f4357b656d6ed0c39eb17c148f41f6da2f9729b9/contourpy-1.4.0-cp315-cp315t-musllinux_1_2_x86_64.whl", hash = "sha256:80c7fc8e7ac217777ce7ba2db3cf8478652b5a4b335283111012ff9eaac9d842", size = 1425030, upload-time = "2026-09-11T19:04:45.981Z" }, + { url = "https://files.pythonhosted.org/packages/d8/b8/bb129f524210c5d3eb8616876e02af280fba8b5554e0ac1afad80b51e06b/contourpy-1.4.0-cp315-cp315t-win32.whl", hash = "sha256:90feb8da006803a95ba573fddc9536357d0c3faddc3a4c9e22816ca49af52878", size = 371854, upload-time = "2026-09-11T19:04:48.106Z" }, + { url = "https://files.pythonhosted.org/packages/d8/b1/bc774d9d200cfc4f073bba78b1bb1cb3b55bf1c8c345eae41fc2db510459/contourpy-1.4.0-cp315-cp315t-win_amd64.whl", hash = "sha256:de503609fdb71f597634ca64fb4bd2f13d27c97f140e912b1e8ed93544840df0", size = 262450, upload-time = "2026-09-11T19:04:49.502Z" }, + { url = "https://files.pythonhosted.org/packages/54/bf/eb4ff492e1c3d027617b5a20e4e6d63a035b41b8cf77a95950159556a3a5/contourpy-1.4.0-cp315-cp315t-win_arm64.whl", hash = "sha256:78ed5c5f962b3e156109f0531b174a65ba80d13cc681a70227b12524c162e184", size = 587064, upload-time = "2026-09-11T19:04:51.148Z" }, +] + +[[package]] +name = "coverage" +version = "7.16.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/d1/f5/deb1a27aa20746c0278ac998c4179e272004699b2d33959ce020c5ac1615/coverage-7.16.0.tar.gz", hash = "sha256:077f0964087883176ff6ab9b074694cae29f8c708273b13ca62c183c6ed716cd", size = 945620, upload-time = "2026-08-28T21:54:37.74Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/53/d2/c76bf165ff01664ca8b1ca7f2b2b5f311353d3959dbac1187dd21c6cc7f8/coverage-7.16.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:22d8802827404be32f5a4d6ddc037f6fa0074b7d06702c0224cb598def8b665d", size = 223019, upload-time = "2026-08-28T21:51:02.021Z" }, + { url = "https://files.pythonhosted.org/packages/16/7d/a47cebf71cb789b6e25de07035d350bff110d02f9c28bf32f92b4c818874/coverage-7.16.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:a739bf08cdca0fad51b73322e4fade0102dd87794e278450b5ee87ef827954db", size = 223524, upload-time = "2026-08-28T21:51:03.632Z" }, + { url = "https://files.pythonhosted.org/packages/51/b3/42e46d7e247ba33758156a0cc88dc64715f7e7b04640fbe430c4da437ab1/coverage-7.16.0-cp311-cp311-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:f99d12f8234c00b88b8077fedf288b25c77f746de312053b7db90fa756ecbdb3", size = 253934, upload-time = "2026-08-28T21:51:05.365Z" }, + { url = "https://files.pythonhosted.org/packages/9a/27/ade10badacc00076854f0c5086fcf8975bb1a379d5288b587509e6ee9763/coverage-7.16.0-cp311-cp311-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:7cae7715afa51dd7c9c42e6603bb46daf424c3449fdf06519cc658aa8d46e2e4", size = 255846, upload-time = "2026-08-28T21:51:06.922Z" }, + { url = "https://files.pythonhosted.org/packages/c5/50/38e5d8cf45af5db7419e9580bba4017113f8f1e2697cb6c52213bf7e7e40/coverage-7.16.0-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:55957d350452017f523b9b03ffac078f9a214e23c04a3d0a674569203550c719", size = 257953, upload-time = "2026-08-28T21:51:08.51Z" }, + { url = "https://files.pythonhosted.org/packages/9b/bb/2f44b99723d0306095dacdf90f994631e299ff8f087a384b42ecc2d1ccb9/coverage-7.16.0-cp311-cp311-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:b670bd5fa93d9b6855b2837217b45a90863118e2de5e9e033aebd46d07cd08d3", size = 259915, upload-time = "2026-08-28T21:51:10.155Z" }, + { url = "https://files.pythonhosted.org/packages/ab/7d/3f1c312944d88b2d3cae8af72007c15dcf5f92bda6da6d433c2d5f050ee7/coverage-7.16.0-cp311-cp311-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:fe5aa402d02318db2f41e471320b2ecca6085b8f595a034c037085732e49c04a", size = 254028, upload-time = "2026-08-28T21:51:11.845Z" }, + { url = "https://files.pythonhosted.org/packages/7e/f6/52a7e26baeeca7f3114b15da5e840bebcfe6491eb234f6922d33c79ee8fc/coverage-7.16.0-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:fddd26ed9a2527a7e23f7e4c1fd0734c4a5b45f77b261da1c536b20a7d2e6f0c", size = 255648, upload-time = "2026-08-28T21:51:13.614Z" }, + { url = "https://files.pythonhosted.org/packages/c2/d1/0673e78d9ca29d56f663623791338647753c673f0bc964e860086da07bce/coverage-7.16.0-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:b2af58ecdcec37fe633d4865fccbc8c00d8aa3b31c099bcacb2720c9a0be6ab9", size = 253708, upload-time = "2026-08-28T21:51:15.19Z" }, + { url = "https://files.pythonhosted.org/packages/6c/23/b74c87828369059415b20884b6f48260f049bff750d6eb454be8554732ab/coverage-7.16.0-cp311-cp311-musllinux_1_2_ppc64le.whl", hash = "sha256:a3cd34b9025d62180ce2b5dae8a985bfa6cb8c05ecd57fd34ffc1ff751b5a74d", size = 257479, upload-time = "2026-08-28T21:51:16.988Z" }, + { url = "https://files.pythonhosted.org/packages/a9/b4/09e172472c45a956e226dddf82d449f245764208b7cea47b32a73df955a3/coverage-7.16.0-cp311-cp311-musllinux_1_2_riscv64.whl", hash = "sha256:ebaf39dd13f8af65fe5f0316b81046228ef4d91d3c3766192b418753649896d6", size = 253428, upload-time = "2026-08-28T21:51:18.803Z" }, + { url = "https://files.pythonhosted.org/packages/62/22/e378e4f7ffa290ea4775b34e319fa182640bba650a2c6781af791b66b79a/coverage-7.16.0-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:5dad64d9c17cb1983adef07998e6e2e1cf870a156f1ea80f81ce1970f4c545ce", size = 254337, upload-time = "2026-08-28T21:51:20.785Z" }, + { url = "https://files.pythonhosted.org/packages/51/6f/9a6ca653d86e46c3383a905f726a28bcf7bb2528088794d30a53687b381c/coverage-7.16.0-cp311-cp311-win32.whl", hash = "sha256:38b8e1e73750b8965d1154ed733f5303acd4e24ee2d5ee872bb1bfab744a31ce", size = 225103, upload-time = "2026-08-28T21:51:22.685Z" }, + { url = "https://files.pythonhosted.org/packages/08/0c/6d4627be89ac02f579d88806875a5d6e328c59d7d79c594643c7a4460ef6/coverage-7.16.0-cp311-cp311-win_amd64.whl", hash = "sha256:cc12e5e32acdd62fe5895939695579560639853219288519685c75b7e968d63a", size = 225577, upload-time = "2026-08-28T21:51:24.334Z" }, + { url = "https://files.pythonhosted.org/packages/f2/3d/d7be38564d00a17775426685776b4bf18e8a6048a085eccf65d75eb0fa5a/coverage-7.16.0-cp311-cp311-win_arm64.whl", hash = "sha256:17fc3628f99812fec24f40092af34c1c73274d331babab3d1d768a75de650cf7", size = 225126, upload-time = "2026-08-28T21:51:26.101Z" }, + { url = "https://files.pythonhosted.org/packages/bc/9c/8d2688694f53dc0b0f0e4783c7eb3c4bb1e79beaf1411879f6dabedf4607/coverage-7.16.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:d1c77c3579ac42798f8b7eed6d3dd258debacca32c8753fc8a1f6eaf1db644f5", size = 223194, upload-time = "2026-08-28T21:51:27.767Z" }, + { url = "https://files.pythonhosted.org/packages/ca/11/f002163dd688aa3fa49ac6a424b7c2705c7fcf80fba18ec9f586d77827ca/coverage-7.16.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:1f81cb1554c3712e41649ed5dc98656b50b958e4da12f0f5adb681ce3db92831", size = 223553, upload-time = "2026-08-28T21:51:29.46Z" }, + { url = "https://files.pythonhosted.org/packages/81/65/f9d469e97c4554372a710650a109004a2434dfc56f577142e5d6057fa0cc/coverage-7.16.0-cp312-cp312-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:6e701938ec9081d3e400a0c9a9a8ae0f7ca44214741daeac4454b1c6ef6dbd19", size = 255054, upload-time = "2026-08-28T21:51:31.54Z" }, + { url = "https://files.pythonhosted.org/packages/95/29/dd89fd39af1a3b6e9a9c3eddeaf03f6376ba517d43d6cbf8b519177e2a10/coverage-7.16.0-cp312-cp312-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:719a3feb6220dd32ed932d4c3676d17fb8739e2643b29c0e7c3af400ff80ac44", size = 257790, upload-time = "2026-08-28T21:51:33.374Z" }, + { url = "https://files.pythonhosted.org/packages/0a/64/208d26cedc525d6b5db9c492cf9130784c42d9eb08d22badaa7b806005ad/coverage-7.16.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:87771ecf986cff55e87413238cd5e4f54d949c2074bd6fc1657d26a56314ee24", size = 258904, upload-time = "2026-08-28T21:51:35.096Z" }, + { url = "https://files.pythonhosted.org/packages/1f/98/28e2752aa9a8baee5798edade9c95602ca200f4e7eeb503eb64df42e5921/coverage-7.16.0-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:47d5e1fc0b321c8308a2aacee0497c435b08acaa629b7059798fdf6fc3006352", size = 261165, upload-time = "2026-08-28T21:51:36.744Z" }, + { url = "https://files.pythonhosted.org/packages/eb/77/fa6ae699a0ea2bc12acb38a85d96b786fea0f833c12b5756056350e0e547/coverage-7.16.0-cp312-cp312-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:01b18b8a6c9cec8d5f45550e2501426ed982cf2c35016b0acd2ba9b5d8b2fb06", size = 255416, upload-time = "2026-08-28T21:51:38.495Z" }, + { url = "https://files.pythonhosted.org/packages/89/c8/5ee46d1de7d34cb00ba08b5c50da1971114dbc09ca9898ccc32975ec74dd/coverage-7.16.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:32c56b5b47c50635081445ac404dd08c2d591b9c837c22570aa9e182c3b42cd4", size = 256825, upload-time = "2026-08-28T21:51:40.27Z" }, + { url = "https://files.pythonhosted.org/packages/15/f6/d59e1c0693ad48855fe20169fbf6ee5befefe5887a7fabf5f0bcb464a2dc/coverage-7.16.0-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:6ad3bbad240ab937512156bc944fdee63ac4dd34a7558a3094548fd4c1150c02", size = 254970, upload-time = "2026-08-28T21:51:43.136Z" }, + { url = "https://files.pythonhosted.org/packages/df/7b/b51bbe05b3a7565927fccfb1be42b8b3c1f4ab15e53d91b303e9923969aa/coverage-7.16.0-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:4c1f16d5555a195295d0dc9c902612270e3dfed6a11f3bf7bc470b7b6a79ed3c", size = 259039, upload-time = "2026-08-28T21:51:44.983Z" }, + { url = "https://files.pythonhosted.org/packages/fa/04/d513f816456a8a43c1859abe88a37d01d7d2515b6c3e24ebb3c9b1dd44ec/coverage-7.16.0-cp312-cp312-musllinux_1_2_riscv64.whl", hash = "sha256:f6c9c21a8bf0d19788f3c5f3e020c90317a0a63ef60521b376003801e21250fb", size = 254539, upload-time = "2026-08-28T21:51:46.733Z" }, + { url = "https://files.pythonhosted.org/packages/dc/54/5542190ceb97e0d1333a4ce0c8f95b2ef2efe790f1ad018a4b61766f849e/coverage-7.16.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:06f20145a9eb5bf1fd1dde3c0bc2af2e7c22135ab07ca6284d6ada7cc3904c4e", size = 256410, upload-time = "2026-08-28T21:51:48.363Z" }, + { url = "https://files.pythonhosted.org/packages/ee/28/78643f361ff6bb5b2ade90f8bfc8395fe9ca367a18c101f8991215b4c65b/coverage-7.16.0-cp312-cp312-win32.whl", hash = "sha256:916cf8d25c1ce148f7eceb1d45afc9724841200110adc4e53250391852debd91", size = 225239, upload-time = "2026-08-28T21:51:50.22Z" }, + { url = "https://files.pythonhosted.org/packages/67/61/8e76b36c36b1a033dc933dd2480db96b04ce3be975793ce3fad122e7174d/coverage-7.16.0-cp312-cp312-win_amd64.whl", hash = "sha256:78f8b56261d608be102c62edd3a60b66bcd0b581f3f86fdcabaf8b8d95adc950", size = 225775, upload-time = "2026-08-28T21:51:51.912Z" }, + { url = "https://files.pythonhosted.org/packages/c8/f3/bb4787a4b81c1792ca69b502f5f730dbbb609f73fed552ab074c6b92cb8b/coverage-7.16.0-cp312-cp312-win_arm64.whl", hash = "sha256:577c2ac8c0036f6f8edd3a7783a9e67302b17771d1abf0fd2ed246e3158be51b", size = 225159, upload-time = "2026-08-28T21:51:53.667Z" }, + { url = "https://files.pythonhosted.org/packages/54/c5/e62c87f4799d1e3647d5b2ae16ea1d12205d72fde1ea8529e13fe050f678/coverage-7.16.0-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:1545c52ce756b8a97007f439a220297f1cd72a2cbbcdffccdf1c1f70e74f9a42", size = 223215, upload-time = "2026-08-28T21:51:55.628Z" }, + { url = "https://files.pythonhosted.org/packages/89/e9/5e62fda9397175fb206f75368b6e85da06d831c181b6d0f67ca073cd2f89/coverage-7.16.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:0598aadae641f30a0796b75b45c0b9c5de8619bd5cfb251bb0cc254e86e6dd13", size = 223585, upload-time = "2026-08-28T21:51:57.355Z" }, + { url = "https://files.pythonhosted.org/packages/b9/40/bede08621b1ba67e88c4d3336c22b52cb7911ff1fa4ef055344b6670e58a/coverage-7.16.0-cp313-cp313-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:4080ad6bad9f14690e6b2104f5e8d137ccc65a4b5427a36662090637d4bd16d5", size = 254575, upload-time = "2026-08-28T21:51:59.233Z" }, + { url = "https://files.pythonhosted.org/packages/12/d8/ab0bdaa45dfd6b8cbf1a3ec548fdf827684b1997f9724375c5b3e89144fb/coverage-7.16.0-cp313-cp313-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:e9883a2f8206ce3af59117dc278e5d043fea06912bca3f199816129e5e2de354", size = 257172, upload-time = "2026-08-28T21:52:01.015Z" }, + { url = "https://files.pythonhosted.org/packages/1d/bb/135de81784bbd7dfedcab2b92b03d71d75b09b0815b42d6dabb052def5a6/coverage-7.16.0-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:984e5430fc6f858385009e92549955157d79335b1f3e13e1031e0f89d1284261", size = 258410, upload-time = "2026-08-28T21:52:02.76Z" }, + { url = "https://files.pythonhosted.org/packages/ad/72/ce44ecc062fb2e43d9447bb76154d091c2139232f20c125297c4b58f4c6a/coverage-7.16.0-cp313-cp313-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:b1374099dd1ad0d31fbb6c95d00a56a3c5e85fb3343dca14fc12f78323a2b42a", size = 260539, upload-time = "2026-08-28T21:52:04.821Z" }, + { url = "https://files.pythonhosted.org/packages/e7/c4/9389c36a41e59406ca2bba493807c2294d2e5186a7e9ebcc2e63a0f2a711/coverage-7.16.0-cp313-cp313-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:34d8686bce035c8465b318a8c2890e69ba14a00801a27f4eb6bdc97c23944d87", size = 254756, upload-time = "2026-08-28T21:52:06.68Z" }, + { url = "https://files.pythonhosted.org/packages/ad/0f/7762447b15e01fb84263608540123c4d9941f06303265ee74d801ccbec0e/coverage-7.16.0-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:857fceba6ff4b507ee0ad98798a33d544a8473df0c542bf04251ee4ed5ee6292", size = 256540, upload-time = "2026-08-28T21:52:08.529Z" }, + { url = "https://files.pythonhosted.org/packages/e6/fa/c60dc75a8346c1dbebebc7279b19971c88f70dd575f0bc10bc0cb16f92d5/coverage-7.16.0-cp313-cp313-musllinux_1_2_i686.whl", hash = "sha256:bbf08d951abaa1ce89e28c998361d56b952413846b459cd017f116ad4c9adbfa", size = 254508, upload-time = "2026-08-28T21:52:10.323Z" }, + { url = "https://files.pythonhosted.org/packages/c3/f0/4e0834f3a1fccaa8bf625a2a1d73bde0fa32577dc3249853c0dd0e7f2b20/coverage-7.16.0-cp313-cp313-musllinux_1_2_ppc64le.whl", hash = "sha256:1a03e78f53e4d2ab13adac19958a89322d1829913e5623d642627bf60b35da21", size = 258659, upload-time = "2026-08-28T21:52:12.124Z" }, + { url = "https://files.pythonhosted.org/packages/b4/ec/fe712d3a11fd6e874565a5fa5497c48b8ece561d9611da040b44cdcf8386/coverage-7.16.0-cp313-cp313-musllinux_1_2_riscv64.whl", hash = "sha256:dcd3dafcdd78305d27c59a1006b53a4990acb89e68d8fbe0992f4f83503c827f", size = 254326, upload-time = "2026-08-28T21:52:14.181Z" }, + { url = "https://files.pythonhosted.org/packages/e7/78/093e12072e01034c65ff380f76c74b79dd83e44fa92b689a2154389be734/coverage-7.16.0-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:c1bcfe470a796fbea6234accd81d258a31574dc0b7bf569e16be757572c4de17", size = 256102, upload-time = "2026-08-28T21:52:16.003Z" }, + { url = "https://files.pythonhosted.org/packages/9b/c0/265176117ca5d06e3f65575842884cdda96cf213350a31e9d41c80d65854/coverage-7.16.0-cp313-cp313-win32.whl", hash = "sha256:1420370276f1694b663207b8245c3628aafb9624fe3cebf313a13d860e55ee67", size = 225250, upload-time = "2026-08-28T21:52:17.82Z" }, + { url = "https://files.pythonhosted.org/packages/1f/01/8a87f2c04fde322430b45d16d8f543693e9894c5b2d2ca238a287c00beca/coverage-7.16.0-cp313-cp313-win_amd64.whl", hash = "sha256:496277c8d7beed695e02c7be53516a0152e4caef8738a0feab6a638546cce449", size = 225790, upload-time = "2026-08-28T21:52:19.641Z" }, + { url = "https://files.pythonhosted.org/packages/23/40/c21feacd9edfe7063195bf9cc84d650e9938fc6a23063e4f027199b160e1/coverage-7.16.0-cp313-cp313-win_arm64.whl", hash = "sha256:181c2906b9b3759955c1c33c51fbb91c754fbd0b82ea49e2c81061f5a052082c", size = 225180, upload-time = "2026-08-28T21:52:21.613Z" }, + { url = "https://files.pythonhosted.org/packages/ea/73/850675f262391b322c4c988b6cdc32cdc6629288f0fb158687b587a393a8/coverage-7.16.0-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:54b7fba6a74d010de34319a0419d5b65af8c00f539ad0b6f39fc6f342ab99697", size = 223258, upload-time = "2026-08-28T21:52:23.558Z" }, + { url = "https://files.pythonhosted.org/packages/61/c1/4f54c6d47c80d1cc58ef8fe6b74e6eb50f9e2c0f6e2de6cf38dbca2937b8/coverage-7.16.0-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:fa4ff0b3dd52208d2b30903022d5087f82000507b504753dfeee83e4f32d6883", size = 223587, upload-time = "2026-08-28T21:52:25.627Z" }, + { url = "https://files.pythonhosted.org/packages/3c/be/298f2456230fb44e272a4e53a41b3f3c39f0821c242d7b7daa9787b4d6f7/coverage-7.16.0-cp314-cp314-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:35a9676bf86097f790113ebd9fb67681804ef54d40941d2f10ba68c02239e575", size = 254632, upload-time = "2026-08-28T21:52:27.689Z" }, + { url = "https://files.pythonhosted.org/packages/a3/9c/a1bda6439c19c4783d50df896142b67b9e7d432db36675d339a32778669d/coverage-7.16.0-cp314-cp314-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:f98d438add63546745e5e847192e3e9ab897ed6f2ca96f8281e2f5a15958ae62", size = 257139, upload-time = "2026-08-28T21:52:29.741Z" }, + { url = "https://files.pythonhosted.org/packages/f8/cd/cd735c9be757f97237c305f36897a5e5b348bdbc12ebed3b2b80060dd8a9/coverage-7.16.0-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:151855767480be14db595cbc2040f6a4db965cdfeebd354d79b0256742b029e0", size = 258484, upload-time = "2026-08-28T21:52:31.68Z" }, + { url = "https://files.pythonhosted.org/packages/e4/04/84b2e1e8aae9db3f549782f28ce25bba5fd6a9c7bfba3782ffe8b4cd2559/coverage-7.16.0-cp314-cp314-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:183613f664718b340589d7f005c7e92b4b601cffd20a8a4117cfda3e983b080f", size = 260798, upload-time = "2026-08-28T21:52:33.642Z" }, + { url = "https://files.pythonhosted.org/packages/8a/4f/e04cf52483619a4dc5dd6367b30c9a8ac52243567fdfacec9b11a441565c/coverage-7.16.0-cp314-cp314-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:785b114356c99c0dd5b3f57b9696cfd57b7704f4c53847df8dc88c6cc0d9bcb6", size = 254612, upload-time = "2026-08-28T21:52:35.543Z" }, + { url = "https://files.pythonhosted.org/packages/da/33/627c4113f66bfffd43807f54dbf080c4632ecf12e4ef7a3bdd4ec38e46a2/coverage-7.16.0-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:30f5aee6d1d517abcdfd4f9cad027969ff79a1440a22da263f9514e31b5b66e9", size = 256495, upload-time = "2026-08-28T21:52:37.485Z" }, + { url = "https://files.pythonhosted.org/packages/3c/38/aaca432f4e008a88f2bc4d1459aa7016d8d1bbbe801f7e4fa3cf2746557b/coverage-7.16.0-cp314-cp314-musllinux_1_2_i686.whl", hash = "sha256:190ffa0f5af966254c249fb3aeaca2cef389785e3e287fd577d39e134d20f8a3", size = 254454, upload-time = "2026-08-28T21:52:39.425Z" }, + { url = "https://files.pythonhosted.org/packages/cc/db/8430aa87ef0a508f4c17c1b8fa7e0cf80231988d9081aa36c194036592d6/coverage-7.16.0-cp314-cp314-musllinux_1_2_ppc64le.whl", hash = "sha256:0ccc37c00e1a5d30840902c54557e104d04aead872cedf6d2281c8725a467e06", size = 258728, upload-time = "2026-08-28T21:52:41.32Z" }, + { url = "https://files.pythonhosted.org/packages/76/88/cd8aa8c82493ffbd291d3ef5554452fffc634c6c6098a04ac848c79c98f3/coverage-7.16.0-cp314-cp314-musllinux_1_2_riscv64.whl", hash = "sha256:6c60cde430c0e7e3be612973af39b4cff90ec2e2defe7b2b701daea3a0ffff04", size = 254271, upload-time = "2026-08-28T21:52:43.278Z" }, + { url = "https://files.pythonhosted.org/packages/a8/49/fe16c811ea9314a84b48f34e4bf5a3d9013091093b285a74b2272fc863d7/coverage-7.16.0-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:c5297028c8df849a61b29129cadfe682f90b5b396f528eb319a57d7678eefdad", size = 255927, upload-time = "2026-08-28T21:52:45.461Z" }, + { url = "https://files.pythonhosted.org/packages/d1/45/d0bd410e78cfbf768acc8099b335e1d5c0d5c26103c796d2bebdee001715/coverage-7.16.0-cp314-cp314-win32.whl", hash = "sha256:136988df5bc5a48795d9c42c75c4bbda5d9a78e750a080c1233010edff93a1af", size = 225424, upload-time = "2026-08-28T21:52:47.658Z" }, + { url = "https://files.pythonhosted.org/packages/17/78/1ce6ce4646822e9308dcdb1942eaf31bfd7da43247b8886338b0d6fe3767/coverage-7.16.0-cp314-cp314-win_amd64.whl", hash = "sha256:ce2ba5e9f1842fe09165825abfb3bc6b527c71a27bc2eb3a10f2284ced64506d", size = 225918, upload-time = "2026-08-28T21:52:49.692Z" }, + { url = "https://files.pythonhosted.org/packages/f9/cd/e1323fe3a7dfcdd709451a43fe708ca1dfd36a7fc07b34eb7bd1dfdfb52d/coverage-7.16.0-cp314-cp314-win_arm64.whl", hash = "sha256:a89d07e48d9baead9a15599923a02f62c6df6c3d85aa84ef34be3c9fd6aeb91f", size = 225344, upload-time = "2026-08-28T21:52:51.665Z" }, + { url = "https://files.pythonhosted.org/packages/39/fb/1c15460d4cf915f09ae3ad3862fef4f901838991c5641b0cec545050d810/coverage-7.16.0-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:6e2854b62601c89a63814ad5def3b90d99c6724cc4cb977f75b725e5fca4b1e3", size = 223986, upload-time = "2026-08-28T21:52:53.572Z" }, + { url = "https://files.pythonhosted.org/packages/9f/73/347d2d0009ac211f79ee2a2364fd2aa19d6b9628dc22ed13a9b9386097ab/coverage-7.16.0-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:f093faf23df888518d273be6da65f0ec5a25b5d8b670231e4d87de07361042e7", size = 224254, upload-time = "2026-08-28T21:52:55.59Z" }, + { url = "https://files.pythonhosted.org/packages/5a/2f/51442e6ad9d705369596f08496021647e276d5b57311818fd4312d93509b/coverage-7.16.0-cp314-cp314t-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:b7dbbbf6551eb94618e7bc76ab61cc2740a5b3d13294171bd6adb36e12346c3c", size = 265619, upload-time = "2026-08-28T21:52:57.645Z" }, + { url = "https://files.pythonhosted.org/packages/ea/8e/0f752276f6d13efbd019ab6d90792e20d6272c44cda039dc5c6d27b91e7f/coverage-7.16.0-cp314-cp314t-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:51e7d0e311d2fba3915f971236cbdd4ad821fc7a23988221c0b33c964b0eba22", size = 267734, upload-time = "2026-08-28T21:52:59.611Z" }, + { url = "https://files.pythonhosted.org/packages/fa/02/4df3baef8029881c9d1a380859f2be73f90080d430def567d182e8566a35/coverage-7.16.0-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:0bb04ee77e557d7476471969d35fbbfb5fc8a4152e9409aa5811780c36d9b23e", size = 270156, upload-time = "2026-08-28T21:53:01.658Z" }, + { url = "https://files.pythonhosted.org/packages/9f/30/ce10fdb74055ebbfb5c8a025d8845dc19c76e4b2c42bb5c755b56678990c/coverage-7.16.0-cp314-cp314t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:c72c9b201dc0e8c2c8821d49858fd865010d08181bf877d2320971b6464ebfd5", size = 271279, upload-time = "2026-08-28T21:53:03.698Z" }, + { url = "https://files.pythonhosted.org/packages/71/19/c7e1fc9504d90da848493bad4018dd235c713a80633e48c5f0a41b63d45e/coverage-7.16.0-cp314-cp314t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:0fca700cae4635656668ba6e2b66a85aac9f2622d7b2bcf82e844c409eaa1313", size = 264677, upload-time = "2026-08-28T21:53:05.741Z" }, + { url = "https://files.pythonhosted.org/packages/a4/f3/4021519dd41583ab396c81955387f927779641f6bac26818b6918a45aafc/coverage-7.16.0-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:584896fb8b650e999e24ef57e9513e482c12f8e15a73ee9d4584e23c99465867", size = 267610, upload-time = "2026-08-28T21:53:07.763Z" }, + { url = "https://files.pythonhosted.org/packages/55/fc/df65aac93938d8f506434c8e96440c1d696f6be0a6a01d3c6bfe5d49403e/coverage-7.16.0-cp314-cp314t-musllinux_1_2_i686.whl", hash = "sha256:949eae7e0f562b1518355aaef4b03523e49a6d3fea12aa3542d9e36c863f8267", size = 265217, upload-time = "2026-08-28T21:53:09.786Z" }, + { url = "https://files.pythonhosted.org/packages/32/2d/dc9a5e62715165fcb4c715f965f411e324917c9daeddde16536e9d36ce3f/coverage-7.16.0-cp314-cp314t-musllinux_1_2_ppc64le.whl", hash = "sha256:64f0611ee05364fc85cc3e5bc371804117a76fd337720e6017332fc7c534257a", size = 268948, upload-time = "2026-08-28T21:53:11.866Z" }, + { url = "https://files.pythonhosted.org/packages/8b/4e/fe73a5560f25fca52acda76fc1554f30de081793ae4de97e920f8ab161d7/coverage-7.16.0-cp314-cp314t-musllinux_1_2_riscv64.whl", hash = "sha256:050a291b3cfe5e0df5999ef2fa5a7aff6e2db329f069d47eb63f02bde2e7e96b", size = 264061, upload-time = "2026-08-28T21:53:13.996Z" }, + { url = "https://files.pythonhosted.org/packages/b3/f7/bb78cc4b97085ebbd77fa18cbc25abfab462814efa3e2363b4e50885c775/coverage-7.16.0-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:a336b1e2990a64f5c356a9b8380fb9c029d56c832b801255250c44d603271bfd", size = 266371, upload-time = "2026-08-28T21:53:16.233Z" }, + { url = "https://files.pythonhosted.org/packages/aa/ec/84b4af5cd4ad498477b3bfb2217e47b048da919451053790efda66f7383c/coverage-7.16.0-cp314-cp314t-win32.whl", hash = "sha256:058631257350b31784ed43ceb808298b6f074edf4ebca4c7ce5082e6bf873a61", size = 225736, upload-time = "2026-08-28T21:53:18.632Z" }, + { url = "https://files.pythonhosted.org/packages/7e/43/50fc0e6c675c3ef14895a74bab2d6120cb5d6f4b562a3d3f5046797758dc/coverage-7.16.0-cp314-cp314t-win_amd64.whl", hash = "sha256:ed35097438dfa980c1ec75bc83edf8acbe7a374d7007e571957a257fbd0e2fb3", size = 226570, upload-time = "2026-08-28T21:53:20.754Z" }, + { url = "https://files.pythonhosted.org/packages/fc/24/9effce7bcd3c6eeb4da3561905837509e582dcdde7a7f07d6ef2c8512f76/coverage-7.16.0-cp314-cp314t-win_arm64.whl", hash = "sha256:0466f4a5c0370461b7d8c7eb259d7d1db0b5756f13d66230b04d22a1d380ee11", size = 225879, upload-time = "2026-08-28T21:53:22.747Z" }, + { url = "https://files.pythonhosted.org/packages/4a/2c/318e4379106bc8047ba235e3732ddc87d1b393ac3db9776f5405ff14f322/coverage-7.16.0-cp315-cp315-macosx_10_15_x86_64.whl", hash = "sha256:80d7d5d744a041f08637df743ac086204ec5acbcd8432a42b00b49e607358024", size = 223257, upload-time = "2026-08-28T21:53:25.376Z" }, + { url = "https://files.pythonhosted.org/packages/81/4d/a5c54d9144e9db6505749758ba50a28be624148873751728a59cbb72d27a/coverage-7.16.0-cp315-cp315-macosx_11_0_arm64.whl", hash = "sha256:c5feffce90c3d602e149de1c477578efc34dee5f069f9764cc15808ce01ee15c", size = 223596, upload-time = "2026-08-28T21:53:27.461Z" }, + { url = "https://files.pythonhosted.org/packages/bc/97/38e93a10899c9315964c0a4e729b3e5867f8f46e977808f9c6fbda52525a/coverage-7.16.0-cp315-cp315-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:acadbf2f2a18d7f9c7f119ac798c00c540d7c79c93abd71ed648c87891303633", size = 254699, upload-time = "2026-08-28T21:53:29.715Z" }, + { url = "https://files.pythonhosted.org/packages/fa/7a/acddda030b4630f68167f3daa94b41d22071847822a70d8178d43dcf678e/coverage-7.16.0-cp315-cp315-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:4212cec9b42fd9929e70b462732fefd8b13406371871c82f3c14397499d6550b", size = 257614, upload-time = "2026-08-28T21:53:31.948Z" }, + { url = "https://files.pythonhosted.org/packages/15/7e/225b182497c1ce6d3f0d76a3074a4dbc9f272300e92bb100df53b03de0aa/coverage-7.16.0-cp315-cp315-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:1c5a43cc0ef101637ae920a9eed24cf0549ef815621eae68b3ad577ec5a7ad2f", size = 259236, upload-time = "2026-08-28T21:53:34.291Z" }, + { url = "https://files.pythonhosted.org/packages/2e/19/76641ddc50cb2410ebbd0ed7fe1052614d0e5612e802a2817521adb9febb/coverage-7.16.0-cp315-cp315-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:c76a9b50a344261fe4a9bd20c322b48d3913cc48e8c37f78c21a596008296e68", size = 261433, upload-time = "2026-08-28T21:53:36.401Z" }, + { url = "https://files.pythonhosted.org/packages/12/9e/5f89de8b7c2017f36b68b4e4a25940723a748b21474820bf61e8bce0891c/coverage-7.16.0-cp315-cp315-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:80cf547379ad6b1878fd03b033b51188beab4b41824c96e7839e014a4cb947be", size = 255182, upload-time = "2026-08-28T21:53:38.496Z" }, + { url = "https://files.pythonhosted.org/packages/1a/c1/ce94b2ec502e79775efb5efa22c741ebb0bd2be10bdd29650825ff57bdcb/coverage-7.16.0-cp315-cp315-musllinux_1_2_aarch64.whl", hash = "sha256:4b1d09cb5d8dc2c7164450f5217e6f0717497de9c588806a0780d352abef904a", size = 257329, upload-time = "2026-08-28T21:53:40.87Z" }, + { url = "https://files.pythonhosted.org/packages/86/8d/3f5374df3a6ca19ee5f98a6bd21dbb05f1e9d399bd9978e9821d260eab5e/coverage-7.16.0-cp315-cp315-musllinux_1_2_i686.whl", hash = "sha256:cd1e85abed2d2499c16664137ac802356316f92b4e2bf3c150bdf0c45f5dd9ae", size = 255210, upload-time = "2026-08-28T21:53:43.393Z" }, + { url = "https://files.pythonhosted.org/packages/8e/b8/1bc5751496d0be6fd9dde8ca547d9a8a9f07847856aba3f3ae5ac594cd81/coverage-7.16.0-cp315-cp315-musllinux_1_2_ppc64le.whl", hash = "sha256:360967a6fd77794c167529eec2d16ff8e38216110619d23acc3fd466a1648bee", size = 259442, upload-time = "2026-08-28T21:53:45.725Z" }, + { url = "https://files.pythonhosted.org/packages/7a/dc/8aca78e47e1e6fcc761cd28a20daf4a84bd847a7369e2701a93ccfc3d1fd/coverage-7.16.0-cp315-cp315-musllinux_1_2_riscv64.whl", hash = "sha256:92cbc2bf4f7f67c79f1d3ca4fe8c50faddf48e852a3d07eaaf02dc014889832f", size = 254618, upload-time = "2026-08-28T21:53:48.292Z" }, + { url = "https://files.pythonhosted.org/packages/73/fd/787842cdf6ce16ac5c1bd8a26549bab3b3f27b02500075bc540dc7853bca/coverage-7.16.0-cp315-cp315-musllinux_1_2_x86_64.whl", hash = "sha256:cce4dc8528453128c6fae523b15f3887fbea1d4d7c9eb9639d3d4fdcbe570c73", size = 256541, upload-time = "2026-08-28T21:53:50.805Z" }, + { url = "https://files.pythonhosted.org/packages/ef/79/8df302cbef373dd1f3401044cdb94dfc74517e5af2af27b4d0e721557e0e/coverage-7.16.0-cp315-cp315-win32.whl", hash = "sha256:5205baea687133613dced668a3d0168ea1479349615bfc255849a7944988c889", size = 225429, upload-time = "2026-08-28T21:53:53.177Z" }, + { url = "https://files.pythonhosted.org/packages/85/87/5bad7ac45f76b3728ca211028ee561c2ede3ba44da401129e28bb8737291/coverage-7.16.0-cp315-cp315-win_amd64.whl", hash = "sha256:4fcb5f07a9b7083bfb715115d27ce263ba2b5b89dddeee536b295ba0e3c2c627", size = 225903, upload-time = "2026-08-28T21:53:55.535Z" }, + { url = "https://files.pythonhosted.org/packages/cc/ea/67d84b11caf240f059ec313f616d82212df5004e8bc85802c1edfc50bb3d/coverage-7.16.0-cp315-cp315-win_arm64.whl", hash = "sha256:d568a8adcec0eda42ec23e5e65dfb8c184fc255120f9e99b484f7c869d923fb9", size = 225334, upload-time = "2026-08-28T21:53:57.769Z" }, + { url = "https://files.pythonhosted.org/packages/65/21/a88349cce3ff720729b754916ac47e2e3646a8137552e4fa7cdd5967cc7f/coverage-7.16.0-cp315-cp315t-macosx_10_15_x86_64.whl", hash = "sha256:3e8037e8213adf882e9d7eedd2c5c557933ab0b9632c42d98fe98ec9bcdb4025", size = 223980, upload-time = "2026-08-28T21:54:00.082Z" }, + { url = "https://files.pythonhosted.org/packages/fd/02/4d54abf3e6a4d8b7675921b20e91163b1064a5a9dbefebb71c05065dd136/coverage-7.16.0-cp315-cp315t-macosx_11_0_arm64.whl", hash = "sha256:289f2ed4d56eebf029b649e7dfc3c1153b111962a75e294cdd8e4a1598a04cc3", size = 224276, upload-time = "2026-08-28T21:54:02.381Z" }, + { url = "https://files.pythonhosted.org/packages/f6/39/10dbc96d95d20b9b041045d293480bd49e536180e93af62dd7662376284d/coverage-7.16.0-cp315-cp315t-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:9b83f6ac575530783771c8dcf05284f7c8b5b12f1e7cb226d63445aac4497a3a", size = 265135, upload-time = "2026-08-28T21:54:04.558Z" }, + { url = "https://files.pythonhosted.org/packages/e7/3b/6b326544afd1a8aef3a495bbae109a7ab5baf23e04a2741d8d64e2df2ba2/coverage-7.16.0-cp315-cp315t-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:2c3ff6580f2dfc5bec34717b85b2e6cf5ec993b721e7bb58a794babd525a8178", size = 268216, upload-time = "2026-08-28T21:54:06.97Z" }, + { url = "https://files.pythonhosted.org/packages/54/34/1dc8265f3ed990690e24d5f31ff79bc9fb9b25d54f9f89bebad5a6a8b7a1/coverage-7.16.0-cp315-cp315t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:507596cee23e9968b1934fe86d799b76166541af0a293930918b1b48a5c84bd2", size = 270772, upload-time = "2026-08-28T21:54:09.234Z" }, + { url = "https://files.pythonhosted.org/packages/66/a7/3a8463713a402b44044ec832f4a76e442ce4b3a207804303f4d1dc1a9bb4/coverage-7.16.0-cp315-cp315t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:edc2be98e6c55ccc5ff7832bb64f023a4b03dba39dfa84b850046cf08a8249b0", size = 271752, upload-time = "2026-08-28T21:54:11.701Z" }, + { url = "https://files.pythonhosted.org/packages/25/3b/dd5e795cfbe1842f69899189089ae289a96d6a68de312960ea668542e33c/coverage-7.16.0-cp315-cp315t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:9c0690994b84a15a53bdd39e0b2fdb539b22533820623eb86ba75b93760c645b", size = 265589, upload-time = "2026-08-28T21:54:14.12Z" }, + { url = "https://files.pythonhosted.org/packages/1b/b6/fd90636cbd95cb018312f6ca1ca2bbd70fbe8e4ee6f3992fc36a4230364e/coverage-7.16.0-cp315-cp315t-musllinux_1_2_aarch64.whl", hash = "sha256:de24c62bf798940a14674a47489a81b79915ec4134f556d5199830e065225dd0", size = 268596, upload-time = "2026-08-28T21:54:16.303Z" }, + { url = "https://files.pythonhosted.org/packages/91/10/ef2d59264f3b3b358cc5885ca375e6cdbda7c195e78304d5aae800a72d9d/coverage-7.16.0-cp315-cp315t-musllinux_1_2_i686.whl", hash = "sha256:69474d81f198774c9d2937599ca5da04c9e1c5de5032da23c607ce4960ce360e", size = 265072, upload-time = "2026-08-28T21:54:18.597Z" }, + { url = "https://files.pythonhosted.org/packages/3f/5b/400891c364c0170408d172501b340b18611800f4c42d8fbb16f9f5497c24/coverage-7.16.0-cp315-cp315t-musllinux_1_2_ppc64le.whl", hash = "sha256:72a0795cc6d34acc2b03dfeabdc82b61b72087f2737018b56ac92c1cf5446c54", size = 269768, upload-time = "2026-08-28T21:54:20.985Z" }, + { url = "https://files.pythonhosted.org/packages/98/93/9792c80271df04d287d21ed5d662fd8fa58b1737888d817679b1ce5d2fab/coverage-7.16.0-cp315-cp315t-musllinux_1_2_riscv64.whl", hash = "sha256:d9a218d3f9c7d6916684ed5ba94f620661117a730e733cd6ef5e87accc5872eb", size = 265211, upload-time = "2026-08-28T21:54:23.344Z" }, + { url = "https://files.pythonhosted.org/packages/81/67/5b8f827cfa6616e6bd7ba9397acfe7e3c4fd5b9fca4125511d5089f55d5a/coverage-7.16.0-cp315-cp315t-musllinux_1_2_x86_64.whl", hash = "sha256:49fa72ead28c8216f8916398a4f3c4669acb30a061822810ee20a727a1be2897", size = 267170, upload-time = "2026-08-28T21:54:25.85Z" }, + { url = "https://files.pythonhosted.org/packages/5c/ee/c135d2d2cb617d744bc3e13c922f2fae66964494176ddef225dc4656bd2c/coverage-7.16.0-cp315-cp315t-win32.whl", hash = "sha256:27461af9f3ed7d2cf2411eb083784f87055ebf42211789ae3a216c48609bc743", size = 225731, upload-time = "2026-08-28T21:54:28.151Z" }, + { url = "https://files.pythonhosted.org/packages/8a/4d/dc3d53eadf155916e183bf5dfacbfc4aa5bfb7f13b7da11c01caa7a05cbc/coverage-7.16.0-cp315-cp315t-win_amd64.whl", hash = "sha256:c5612cc20ca76abc883e50269af47c1494b42958bb63dbb9aa79729a1ab5f7d3", size = 226562, upload-time = "2026-08-28T21:54:30.42Z" }, + { url = "https://files.pythonhosted.org/packages/2f/00/ac9da1a60a4e84c3ad0f7db4723fd327154a8f9add210c0dcd2db3ec5156/coverage-7.16.0-cp315-cp315t-win_arm64.whl", hash = "sha256:2ddaa9e2af4760a329d80008b7a3b4762fbb0dbcb169199360f9a5179c32f2dc", size = 225872, upload-time = "2026-08-28T21:54:32.806Z" }, + { url = "https://files.pythonhosted.org/packages/b1/5a/234e8fadf85c3cc48cb31c247b9e8e0c7f06ece80f5b29f9b8c241f9da4c/coverage-7.16.0-py3-none-any.whl", hash = "sha256:245f7de6d023a5bba375dbec9f2e0869bfa26ac0cc639bbb7b4c814884000b73", size = 214977, upload-time = "2026-08-28T21:54:35.189Z" }, +] + +[package.optional-dependencies] +toml = [ + { name = "tomli", marker = "python_full_version <= '3.11' or python_full_version >= '3.15'" }, +] + +[[package]] +name = "cycler" +version = "0.12.1" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/a9/95/a3dbbb5028f35eafb79008e7522a75244477d2838f38cbb722248dabc2a8/cycler-0.12.1.tar.gz", hash = "sha256:88bb128f02ba341da8ef447245a9e138fae777f6a23943da4540077d3601eb1c", size = 7615, upload-time = "2023-10-07T05:32:18.335Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/e7/05/c19819d5e3d95294a6f5947fb9b9629efb316b96de511b418c53d245aae6/cycler-0.12.1-py3-none-any.whl", hash = "sha256:85cef7cff222d8644161529808465972e51340599459b8ac3ccbac5a854e0d30", size = 8321, upload-time = "2023-10-07T05:32:16.783Z" }, +] + +[[package]] +name = "debugpy" +version = "1.8.22" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/44/9d/3cb6693342acf96802dba89934a5b8da43c201d764ebd1f2c0514a3d42bd/debugpy-1.8.22.tar.gz", hash = "sha256:e489c7268e1c7b41e13b438d9c533d2a7af73fb59bf8cd30fead8286c1c39c4e", size = 1710877, upload-time = "2026-09-15T21:44:02.578Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/26/4a/8c24c588088c622df6dacdc0110e9cc81b44781fe7a408113441e76aa955/debugpy-1.8.22-cp311-cp311-macosx_15_0_universal2.whl", hash = "sha256:66e4ac3d6e7026e83e7d93d7ee2f51dd4a4e8dff673578d424e60796893e5b2c", size = 2217799, upload-time = "2026-09-15T21:44:11.57Z" }, + { url = "https://files.pythonhosted.org/packages/c7/14/1c9ff33eba51da70a8dfe2277cc13153bb3ffec79282b9acfcdbe1641d30/debugpy-1.8.22-cp311-cp311-manylinux_2_34_x86_64.whl", hash = "sha256:192b73e8d53bbd60225220c0943627bf249ac93d0ea3090e23c45f3e0ceb6a35", size = 3074375, upload-time = "2026-09-15T21:44:13.349Z" }, + { url = "https://files.pythonhosted.org/packages/10/e8/1fa16a94af7d8b86c3ca336d7d32b78cb2c475266d0bb889732d2bc50310/debugpy-1.8.22-cp311-cp311-win32.whl", hash = "sha256:745e1800ec2961e5660c1a317c0a20e28c0fef4de36c04f17a21c33f2b37a92a", size = 5258392, upload-time = "2026-09-15T21:44:15.182Z" }, + { url = "https://files.pythonhosted.org/packages/32/1a/c086b883a4561017bfdd83c1bc70bf2b05ab6540ff767dedf207cadab938/debugpy-1.8.22-cp311-cp311-win_amd64.whl", hash = "sha256:1e76339d5510bc17e9181dba9577508afcb21aad5728f1a55ef74d7d97d255f3", size = 5277955, upload-time = "2026-09-15T21:44:16.986Z" }, + { url = "https://files.pythonhosted.org/packages/73/21/5c7f5c66eaeee57c9dadb0bbff22efddc8d99cdbd3d036c806175f1828cc/debugpy-1.8.22-cp312-cp312-macosx_15_0_universal2.whl", hash = "sha256:4ad076f4f66cb8acb79e4384d48b1ea60a0b1957aa0b1112d4887ea3a4df60e0", size = 2499375, upload-time = "2026-09-15T21:44:18.478Z" }, + { url = "https://files.pythonhosted.org/packages/7e/ec/7389798843643ea5bc6a08480ba1b855377c70e2ed90189c0a03594e401e/debugpy-1.8.22-cp312-cp312-manylinux_2_34_x86_64.whl", hash = "sha256:8a697acec45dbc70d17fb5d9f4f61989fc294d273c69de487fd10cb35fdd75eb", size = 4000941, upload-time = "2026-09-15T21:44:20.245Z" }, + { url = "https://files.pythonhosted.org/packages/20/f4/64ce7a2499550929e08654360b270409eeda3e321b7c27027d9c919aa36b/debugpy-1.8.22-cp312-cp312-win32.whl", hash = "sha256:12bc7f368182b517cf26c76a2393fff65354e365fa1552b6241e66edff17997b", size = 5359040, upload-time = "2026-09-15T21:44:22.218Z" }, + { url = "https://files.pythonhosted.org/packages/4b/fe/e7d3b72874cdd327bda295d1995a01e426857ae9cbaaba74fd997bc3afbc/debugpy-1.8.22-cp312-cp312-win_amd64.whl", hash = "sha256:371a4ba4a5975eb958393903f3254cf983da7b1c7c178b3f987ee427f42515e3", size = 5398304, upload-time = "2026-09-15T21:44:24.119Z" }, + { url = "https://files.pythonhosted.org/packages/6b/f4/fee6d40f5865aa84e1100c9df1a0f2cf8991776b61f11f433ff277df4415/debugpy-1.8.22-cp313-cp313-macosx_15_0_universal2.whl", hash = "sha256:c21dd7e1ec22556bb41dc3bf6b86c603e440ec889c4acb27d7206354b2106c54", size = 2493531, upload-time = "2026-09-15T21:44:25.835Z" }, + { url = "https://files.pythonhosted.org/packages/bc/4f/8df91270afbf61fc5ab202951f28451194a7eb093704b26da11cb0ecd308/debugpy-1.8.22-cp313-cp313-manylinux_2_34_x86_64.whl", hash = "sha256:c1ffb9953708b648ecf6acd2e5ad2c002bf68785ed618197dd4463a2a7226f39", size = 3994351, upload-time = "2026-09-15T21:44:27.31Z" }, + { url = "https://files.pythonhosted.org/packages/4f/11/2e34a4f21d6155b0c58003fd6fca9819df7d6fe7d7acd83b146b648a57ee/debugpy-1.8.22-cp313-cp313-win32.whl", hash = "sha256:ba810a66b437e3c43ca0ce0892404f010338286263ca8e5108442d76a9485337", size = 5359071, upload-time = "2026-09-15T21:44:29.064Z" }, + { url = "https://files.pythonhosted.org/packages/d0/f5/c2b3e8260388d7b76bc4e5a3a29648a0ca47dca6a2721d6549ff2d944eee/debugpy-1.8.22-cp313-cp313-win_amd64.whl", hash = "sha256:f49b1d6cecf326b63c06d7f517e4a6642777f758c58cb799e7bc5a6dd74721c2", size = 5400362, upload-time = "2026-09-15T21:44:30.857Z" }, + { url = "https://files.pythonhosted.org/packages/ea/95/d97240bb68b86db8d0a07602be068aae9e50f17063d696a4c6f619975311/debugpy-1.8.22-cp314-cp314-macosx_15_0_universal2.whl", hash = "sha256:e6744ac1850c73c2ba7b29a126cf9ab74efd1831190720e8fee17ef5389c8f5d", size = 2493148, upload-time = "2026-09-15T21:44:32.518Z" }, + { url = "https://files.pythonhosted.org/packages/70/9e/994fe1fb23dd4a5a8d059a0dc95da4b0821907200a61c2d5a4fdc21b6cf8/debugpy-1.8.22-cp314-cp314-manylinux_2_34_x86_64.whl", hash = "sha256:0c1104233340196e5cbf5514e7dfdbb98968e730cfd7fdd6f3d72a082be838a9", size = 3961025, upload-time = "2026-09-15T21:44:34.387Z" }, + { url = "https://files.pythonhosted.org/packages/37/e0/66319918883cf6dd6dea3805210c3cafd9e65dfaa6f8b852482cff10a026/debugpy-1.8.22-cp314-cp314-win32.whl", hash = "sha256:feea785c7bbeb8cfd5b01a63f9061c899dc468c8be81671141a29305774fa294", size = 5359408, upload-time = "2026-09-15T21:44:36.128Z" }, + { url = "https://files.pythonhosted.org/packages/94/53/5b4d91f7fffb9393ac907133201d1da0c070d57e463ee8e2ec1db3cb63b6/debugpy-1.8.22-cp314-cp314-win_amd64.whl", hash = "sha256:d593a330297332ec435f3965c448b6d500e03f33675cf2063178bc76377a788e", size = 5397429, upload-time = "2026-09-15T21:44:38.429Z" }, + { url = "https://files.pythonhosted.org/packages/24/71/580df4aed96c9b23c9cbb049907d8ac1347050afdb8f450df20649d51578/debugpy-1.8.22-cp315-cp315-macosx_15_0_universal2.whl", hash = "sha256:a9eca6ab09a61534e923064400081e016f7e1d8430cc6e8b7a9cecd2f59e2b07", size = 2493380, upload-time = "2026-09-15T21:44:40.074Z" }, + { url = "https://files.pythonhosted.org/packages/b0/10/a323945b0966e560c40fe48470d2847bfc7692a8f550d7086e9a28f5b623/debugpy-1.8.22-cp315-cp315-manylinux_2_34_x86_64.whl", hash = "sha256:b7dbde1fb822d100802d505b2aed6d0813b1a0a2015d495cb8798b2215d5d1e5", size = 3975456, upload-time = "2026-09-15T21:44:41.623Z" }, + { url = "https://files.pythonhosted.org/packages/ef/f9/4383635281999c3eaa44bf327de523ba42240b35eb87c1130adac4a829c6/debugpy-1.8.22-cp315-cp315-win32.whl", hash = "sha256:225d063f81708c2546999e7edfac0198b2d5c2f144797dc64858f867948633e0", size = 5359469, upload-time = "2026-09-15T21:44:43.234Z" }, + { url = "https://files.pythonhosted.org/packages/7b/14/4fe9f46a9c825c8cbc6dc4aebc2a885b0bceb37ce2a37699c170482e7a40/debugpy-1.8.22-cp315-cp315-win_amd64.whl", hash = "sha256:b17a4896520f1c6da09ce76ec8215df0b85b0b6f3617526a4c65c2315340875a", size = 5397869, upload-time = "2026-09-15T21:44:44.783Z" }, + { url = "https://files.pythonhosted.org/packages/56/3d/c7dc9f35bc9e22cdb53679f844bee40fd5cff871862f60595869a433400d/debugpy-1.8.22-py2.py3-none-any.whl", hash = "sha256:a9e9d3550e15ca479c59333e90845029190531f0cacfedab3b815a57bd913947", size = 5374857, upload-time = "2026-09-15T21:44:54.454Z" }, +] + +[[package]] +name = "defusedxml" +version = "0.7.1" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/0f/d5/c66da9b79e5bdb124974bfe172b4daf3c984ebd9c2a06e2b8a4dc7331c72/defusedxml-0.7.1.tar.gz", hash = "sha256:1bb3032db185915b62d7c6209c5a8792be6a32ab2fedacc84e01b52c51aa3e69", size = 75520, upload-time = "2021-03-08T10:59:26.269Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/07/6c/aa3f2f849e01cb6a001cd8554a88d4c77c5c1a31c95bdf1cf9301e6d9ef4/defusedxml-0.7.1-py2.py3-none-any.whl", hash = "sha256:a352e7e428770286cc899e2542b6cdaedb2b4953ff269a210103ec58f6198a61", size = 25604, upload-time = "2021-03-08T10:59:24.45Z" }, +] + +[[package]] +name = "et-xmlfile" +version = "2.0.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/d3/38/af70d7ab1ae9d4da450eeec1fa3918940a5fafb9055e934af8d6eb0c2313/et_xmlfile-2.0.0.tar.gz", hash = "sha256:dab3f4764309081ce75662649be815c4c9081e88f0837825f90fd28317d4da54", size = 17234, upload-time = "2024-10-25T17:25:40.039Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/c1/8b/5fe2cc11fee489817272089c4203e679c63b570a5aaeb18d852ae3cbba6a/et_xmlfile-2.0.0-py3-none-any.whl", hash = "sha256:7a91720bc756843502c3b7504c77b8fe44217c85c537d85037f0f536151b2caa", size = 18059, upload-time = "2024-10-25T17:25:39.051Z" }, +] + +[[package]] +name = "executing" +version = "2.2.1" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/cc/28/c14e053b6762b1044f34a13aab6859bbf40456d37d23aa286ac24cfd9a5d/executing-2.2.1.tar.gz", hash = "sha256:3632cc370565f6648cc328b32435bd120a1e4ebb20c77e3fdde9a13cd1e533c4", size = 1129488, upload-time = "2025-09-01T09:48:10.866Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/c1/ea/53f2148663b321f21b5a606bd5f191517cf40b7072c0497d3c92c4a13b1e/executing-2.2.1-py2.py3-none-any.whl", hash = "sha256:760643d3452b4d777d295bb167ccc74c64a81df23fb5e08eff250c425a4b2017", size = 28317, upload-time = "2025-09-01T09:48:08.5Z" }, +] + +[[package]] +name = "fastapi" +version = "0.141.1" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "annotated-doc" }, + { name = "pydantic" }, + { name = "starlette" }, + { name = "typing-extensions" }, + { name = "typing-inspection" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/8a/02/91e3416a8fdd715abb903a952a6bec7cdd8d14eed55d415fc8595524c319/fastapi-0.141.1.tar.gz", hash = "sha256:e8822fc40db1e1858054d7a949a888695bc9bdce70139178e33bd2871a453ca1", size = 425799, upload-time = "2026-07-29T17:18:05.568Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/cb/03/10388a42375ee7e4ac9b94eb2c5c569c8b5795e377e701c9ac3ad63de890/fastapi-0.141.1-py3-none-any.whl", hash = "sha256:bfb91aa2d334c61cb35ba9a116fc123b3d3df31640b801cf57a7a78ec3f603b3", size = 131954, upload-time = "2026-07-29T17:18:04.364Z" }, +] + +[[package]] +name = "fastjsonschema" +version = "2.22.2" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/33/a4/9473c7c3b87009d9c1d74034e4a0f6a35ff0d42dd0f9866d0c3ec4e9217b/fastjsonschema-2.22.2.tar.gz", hash = "sha256:72064e12356a7d6ef02165be2946b9abadbdf238536e07eb587e3dbaa33099cf", size = 385171, upload-time = "2026-08-15T19:47:08.853Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/49/82/2755c7c982086f00d4dab85bc120ec35045a9fc2191893a6ce79afe94443/fastjsonschema-2.22.2-py3-none-any.whl", hash = "sha256:0fb3915616adac85ccfdd737d26be1089845d2019819505b42d39888458f74d4", size = 27413, upload-time = "2026-08-15T19:47:04.406Z" }, +] + +[[package]] +name = "fonttools" +version = "4.65.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/77/51/d63c7e52163ac14393a35bd14bd7c0da95f8f74be5d7cc988092f9965129/fonttools-4.65.0.tar.gz", hash = "sha256:762ba5431358d0dbd4a01982484a1d494fb267e91f974cdcf20b80eab8560f6f", size = 3674467, upload-time = "2026-09-10T15:35:54.955Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/62/9e/58250cdc54d96fcfacb544e12997a6390fa4e6b71ae2241cfcfe5b341803/fonttools-4.65.0-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:06273c71e692caf5989c0437ca50875a5e49e216ddf653228fe9bb35bdc82c0f", size = 3089141, upload-time = "2026-09-10T15:33:24.509Z" }, + { url = "https://files.pythonhosted.org/packages/3e/67/0f0416069e38da0a1327a847a2e8dd1edb425d0043d8a3e63eb940070209/fonttools-4.65.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:ca2b02d74e9ad7e21a1d11e4701425800a4b0c63cf90486e60258262feccbcbf", size = 2584298, upload-time = "2026-09-10T15:33:26.598Z" }, + { url = "https://files.pythonhosted.org/packages/99/0d/7e40e9957359afc0bab081131c215370a6d2d203361bb6f945ab595e924c/fonttools-4.65.0-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:7830e9fa3bebc44dbc27ff44d8201def30ea5c48a773696d58e69e6bcd9cd5d4", size = 5498163, upload-time = "2026-09-10T15:33:29.071Z" }, + { url = "https://files.pythonhosted.org/packages/a1/e6/e48cf0a272a5d4d17a09d44f92727e67f975ddfa94acc8464763d19a654d/fonttools-4.65.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:a3991732c87b3f054a2a8cf86dd0d602833fa8cb37c911503173771646e1013d", size = 5457456, upload-time = "2026-09-10T15:33:31.918Z" }, + { url = "https://files.pythonhosted.org/packages/e4/8a/a5c67ddeda82ee5e4ec3bc52ac1cbb685f0bb7a0516badc55643b454ab0d/fonttools-4.65.0-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:6031e77b3fb8c765055ba2b8bd8dcb17030f3bf2484c448b472fdedf4460ba80", size = 5464334, upload-time = "2026-09-10T15:33:34.605Z" }, + { url = "https://files.pythonhosted.org/packages/d7/16/294e77383b2d39c9f8f25144a7ba23fe1cbbc05227cc72545097785ff07c/fonttools-4.65.0-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:6813cc1e2e883bd6c15b3e04f72c78dc65fdc4ca861063adf5f341fbaec2ca62", size = 5595597, upload-time = "2026-09-10T15:33:37.591Z" }, + { url = "https://files.pythonhosted.org/packages/80/01/8e74ce8626c734959c782f2d89af8e9f14d078fd3d4ddf8b5a51401ae475/fonttools-4.65.0-cp311-cp311-win32.whl", hash = "sha256:4a5db8442453da4b6f43ad325879381b726bf2238a2253efd9584be21a2cefc2", size = 2441114, upload-time = "2026-09-10T15:33:40.592Z" }, + { url = "https://files.pythonhosted.org/packages/37/3e/835dc6c658426e2670b7f38c38295492fcbaeb06080e9dce89ce8105993c/fonttools-4.65.0-cp311-cp311-win_amd64.whl", hash = "sha256:9f201796c8e24e657be77c16fa664e798a46122144217f90838982937a964f0a", size = 2498823, upload-time = "2026-09-10T15:33:43.402Z" }, + { url = "https://files.pythonhosted.org/packages/58/db/242fa4fce7f632c5f7ab15585343393b25792510c0c32bd218ad24d59f1c/fonttools-4.65.0-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:e844a45c9e5ced6536f184cf1a65b5d65e8f7e711993b413e10500a8223622e5", size = 3097120, upload-time = "2026-09-10T15:33:46Z" }, + { url = "https://files.pythonhosted.org/packages/a0/b6/42fa4d373416675f74446421cf0b2badb82a4245c60745f05f424f75c649/fonttools-4.65.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:b30e953de049bf43fc0a63c7d0c44d205c923e4bbf24716aae1518c0e65f977c", size = 2584658, upload-time = "2026-09-10T15:33:48.473Z" }, + { url = "https://files.pythonhosted.org/packages/75/6f/d589b9d62280a846c77a2c383d852c6dcb79ae8aa02bf0fa46c8577af145/fonttools-4.65.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:09c34bdeed8915bfb53bee0c8ed2254dbd8ec69c0014b7f3702f347c049bf358", size = 5425737, upload-time = "2026-09-10T15:33:51.473Z" }, + { url = "https://files.pythonhosted.org/packages/b5/09/de2c0c20a42c18e565a2617932beb08c06697bbdd0d3f62b108262e11583/fonttools-4.65.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:05595385ae99f4b9626cebb973bf171b8fe38a8f40708e6e42abba0ed7537778", size = 5402463, upload-time = "2026-09-10T15:33:54.907Z" }, + { url = "https://files.pythonhosted.org/packages/79/2e/bc0f5c9dce21821454bb5812d3b23410bca33c8bbd5468386d0327aa0cff/fonttools-4.65.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:d95b34dd68fbfc0e4a1740c421597656117f979ed8dc85de66e08f9f9981806e", size = 5362168, upload-time = "2026-09-10T15:33:57.481Z" }, + { url = "https://files.pythonhosted.org/packages/1f/0d/2116763ade7e71e0e5d421babe1785d745be9b3d605bf914792ce1c97f79/fonttools-4.65.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:924d06e6130429168318db71c40174a765ad016fc4b56ca811287e3d7373b3a6", size = 5524117, upload-time = "2026-09-10T15:34:00.021Z" }, + { url = "https://files.pythonhosted.org/packages/e2/5e/f9600553b9f645e3068553831685ff1dab6259536a23b38d2e048de38f17/fonttools-4.65.0-cp312-cp312-win32.whl", hash = "sha256:04f73dd01005752a6e75cf4a8dc6b70dc724d1d4bc34cc89522153f4a2f07680", size = 2432089, upload-time = "2026-09-10T15:34:02.803Z" }, + { url = "https://files.pythonhosted.org/packages/3a/02/e436a6a1863b9862bab9f82d6da33055dd7aa3738017edd902a163525dc2/fonttools-4.65.0-cp312-cp312-win_amd64.whl", hash = "sha256:3b5d9ba89edf778b376e669b879ae33a198bf45cf5a23c3f6514f935cf9d0d9d", size = 2483475, upload-time = "2026-09-10T15:34:05.09Z" }, + { url = "https://files.pythonhosted.org/packages/c4/5c/343a4225e83eb06f82c1d8bf41fc5e5f71eab2f62bc7ca215c764722c0a9/fonttools-4.65.0-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:8b7bb52817a24731d2e4f4df0e71fdde05e6c806c8f8f1517b015d142fdacfa5", size = 3094663, upload-time = "2026-09-10T15:34:07.235Z" }, + { url = "https://files.pythonhosted.org/packages/9b/c9/49b2401be932741d9218181c08948c96db32eab21ecaaf79283b752e13e7/fonttools-4.65.0-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:e2c21772fcf70325189707b19f346812690bb1b0bd7e207e6ac205244806b303", size = 2584521, upload-time = "2026-09-10T15:34:09.648Z" }, + { url = "https://files.pythonhosted.org/packages/51/c9/48b07e6c5cf44fa56f758a04c3772a66c0e9ba82bbe22077e4076746a62b/fonttools-4.65.0-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:64c9b26816415b5e3d899e9077109d327b22140fe3c4066644d8cdbad5bb1569", size = 5395399, upload-time = "2026-09-10T15:34:12.38Z" }, + { url = "https://files.pythonhosted.org/packages/fa/2d/5cc5a10c8ed56079d6c2e9e3e5920622529a2ae045c9f47a6055ccb1a319/fonttools-4.65.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:6dd6243f60e2d6160c2966e1e14020dc261ffd741b69a2e4ca8bfd051592e4b7", size = 5376659, upload-time = "2026-09-10T15:34:15.239Z" }, + { url = "https://files.pythonhosted.org/packages/ab/6f/ccf33739d936bb3afa1655a225be7ee5d63d6d3c8b7d0e570bc5a2a7b899/fonttools-4.65.0-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:834962fd7cf21c58e81ac50a59e6ed2306f9df5e3dd481dad1cd7d2c4c60b773", size = 5336795, upload-time = "2026-09-10T15:34:17.817Z" }, + { url = "https://files.pythonhosted.org/packages/7e/c1/ffd17483f2094f0f4118974295b514b5b82afd4f6e3c80c23f01684e97a6/fonttools-4.65.0-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:580eb68ff7bd6954a7a76afddd864bfc66eaaf5f5c20dd6ead9186d0055a4ffe", size = 5496530, upload-time = "2026-09-10T15:34:20.241Z" }, + { url = "https://files.pythonhosted.org/packages/b1/19/9aca7712d0676ba5f8d1530ce20478a9bb09cccd0153d56693337379cdcf/fonttools-4.65.0-cp313-cp313-win32.whl", hash = "sha256:7a18b2ffd44249fe84289253197aa65ad4f2de554c0d381f18b1f5939bc6bc60", size = 2430392, upload-time = "2026-09-10T15:34:22.906Z" }, + { url = "https://files.pythonhosted.org/packages/1f/6f/f015dea0f4354e0798751b657cea2dee482914737f88bf1a078349ce92cf/fonttools-4.65.0-cp313-cp313-win_amd64.whl", hash = "sha256:8ae1846b0f192fd485d26a455af19b8f5cf05aff08f9836f533913d8fcea133c", size = 2481620, upload-time = "2026-09-10T15:34:25.816Z" }, + { url = "https://files.pythonhosted.org/packages/64/29/606365ef601668bfebed14cfe3dc72bb7fcd1e23011bbb2833f17fea3065/fonttools-4.65.0-cp314-cp314-macosx_10_15_universal2.whl", hash = "sha256:dc87a9f846bec83c3795804f62b4632716d46e3522869a3dd9cd44a5d245b006", size = 3098393, upload-time = "2026-09-10T15:34:28.472Z" }, + { url = "https://files.pythonhosted.org/packages/c7/61/11412939d6b7abf5ac7ce0d61d7f94a0a4fbabc9f1ab0a04fa622e0fc11c/fonttools-4.65.0-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:aa50dd7b9baf75e2bbd43401fc0d237f7a94a8ad2e0c57ea97160fc631af5eb0", size = 2585766, upload-time = "2026-09-10T15:34:31.207Z" }, + { url = "https://files.pythonhosted.org/packages/db/17/734921d8aee8309801da42590375d32d4d46f771b73373ec9520d5d4220b/fonttools-4.65.0-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:0d2a9892fdb3b7e2d0f4174e3b907d226ff83698249762eeefce08ec5b2de1dd", size = 5380679, upload-time = "2026-09-10T15:34:33.933Z" }, + { url = "https://files.pythonhosted.org/packages/cf/eb/2a4d78d60d978e694cfa04c98e4d8ddbf7f028fd768ddef470bb9da5d69e/fonttools-4.65.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:6d815734e7fede0ad1f233f23f0f191cbe8fc64762ff041e589bc0f78e0b2397", size = 5321833, upload-time = "2026-09-10T15:34:36.295Z" }, + { url = "https://files.pythonhosted.org/packages/d9/ca/1cd48b5c11ef9658732787bf2362e1bf3871dad5945d2f6cc8f675ca769c/fonttools-4.65.0-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:71e4c67b6196a2f447f46476fd2302604721617f5e0a21b0988bdd87b6bb9687", size = 5320938, upload-time = "2026-09-10T15:34:38.992Z" }, + { url = "https://files.pythonhosted.org/packages/c6/0d/90e6051bded926cccabe9dd0bce3b6ca012f4d5779d61167afbf4989ceb6/fonttools-4.65.0-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:b11d8a4a0c3ca74bbd4c105b7ef82501945c939e6096d9934ec7d288cdf5aaa9", size = 5451747, upload-time = "2026-09-10T15:34:41.387Z" }, + { url = "https://files.pythonhosted.org/packages/18/74/23e0268e48029ff0752083f69312c49b738163d5af919add9dc4ac81e907/fonttools-4.65.0-cp314-cp314-win32.whl", hash = "sha256:8e44a34d91b3c793879767eb115867ced74d2eb94974e64e72fe9e2eea71cf1a", size = 2434246, upload-time = "2026-09-10T15:34:44.385Z" }, + { url = "https://files.pythonhosted.org/packages/a1/2d/ee69affecd4bc81cb932a213438d4199fb48bf8ca6d664438ccc7f623c2a/fonttools-4.65.0-cp314-cp314-win_amd64.whl", hash = "sha256:0aa8901db22875c831d6a91796549590d7e747da37438f38b69d771b668be445", size = 2486706, upload-time = "2026-09-10T15:34:46.842Z" }, + { url = "https://files.pythonhosted.org/packages/8e/9c/edee5f785198ce3327e1ddeace91c773122d47f086a67e0a84b800f4a940/fonttools-4.65.0-cp314-cp314t-macosx_10_15_universal2.whl", hash = "sha256:2e4a380ca40d3a5372e31b340f0da0d53b4583aadbb8e41f6a516afa69c509a4", size = 3172027, upload-time = "2026-09-10T15:34:49.269Z" }, + { url = "https://files.pythonhosted.org/packages/9c/c6/252ec9884381089bc30da75978b072593920249de60219817f16cbc9145f/fonttools-4.65.0-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:661bd91c4be13721408b2d4b67a9b3fa7736713adc9a6c9780c9c60fc7959f90", size = 2619020, upload-time = "2026-09-10T15:34:51.453Z" }, + { url = "https://files.pythonhosted.org/packages/42/79/f71b0d202b8473bb45b07876c08a474de9fe560ed2c0cde642812a81e22a/fonttools-4.65.0-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:62c5e42c79449def957adf8a9a65a43018efa7e2a6bc6baa3afe955e0d5fb2ab", size = 5545942, upload-time = "2026-09-10T15:34:54.804Z" }, + { url = "https://files.pythonhosted.org/packages/4a/bd/52e1bf33e0aebfe22ecc9a85c634db707c1dd9f6b1b438efeed98c55b959/fonttools-4.65.0-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:36fca8efc46b5adfca327c666e739fc05b7a7a6ef17840230f81b22f53230f61", size = 5351477, upload-time = "2026-09-10T15:34:57.514Z" }, + { url = "https://files.pythonhosted.org/packages/5c/76/8c6b2ad20beec95cd446f3a8bdc753c7e4a4fd69ef3e66704c0f7c8cb0b5/fonttools-4.65.0-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:8aa1291e4c767abf1b0b79ca2d6895f7c0b661d9d95d03b5791c883a9d1e1f08", size = 5412271, upload-time = "2026-09-10T15:35:00.895Z" }, + { url = "https://files.pythonhosted.org/packages/79/49/fadbf11bbbd2d699d88a5498a0634280206e01e3bd5da9a4e0c504953ce9/fonttools-4.65.0-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:fcf39949f56911348514b466714efa9118bec3d2be249e1c487263f7cda6edab", size = 5446450, upload-time = "2026-09-10T15:35:03.369Z" }, + { url = "https://files.pythonhosted.org/packages/df/77/5fda646d3a6d5ee26465865c00319cc0925cf484a3b42dd8232d5b39f973/fonttools-4.65.0-cp314-cp314t-win32.whl", hash = "sha256:ffc918702661f1d74d2fbb2f5551036b64f6d2d743139e105289b694bcd16f54", size = 2467858, upload-time = "2026-09-10T15:35:05.744Z" }, + { url = "https://files.pythonhosted.org/packages/ae/0f/afa0f3de70ebe02bba46b32cccb30b1de52624472b14ac2e7cd403d08db9/fonttools-4.65.0-cp314-cp314t-win_amd64.whl", hash = "sha256:5a977e3645dbffaee924209828aa702a215f7ff68bc08010740c10c723787e62", size = 2518248, upload-time = "2026-09-10T15:35:07.846Z" }, + { url = "https://files.pythonhosted.org/packages/86/54/b273cf5712b36a381c13284fbf244e811e1e1d7081aed20f200f0a191ffa/fonttools-4.65.0-cp315-cp315-macosx_10_15_universal2.whl", hash = "sha256:7aa0518b45ff5286ad56f063938db3add3816e899aab58d782b3f9a252523caa", size = 3092770, upload-time = "2026-09-10T15:35:10.868Z" }, + { url = "https://files.pythonhosted.org/packages/36/1d/d3e4511475954d4ec4f3c254e81f0fcc1ade504cb7381eeca48b8c44b8a6/fonttools-4.65.0-cp315-cp315-macosx_10_15_x86_64.whl", hash = "sha256:673e2b3ac4ac8e4f3607d390ecc5a606e5db5c4e88fb4cb2999593efb65afea2", size = 2584364, upload-time = "2026-09-10T15:35:13.54Z" }, + { url = "https://files.pythonhosted.org/packages/e5/3f/7cfaba467bdd1d3d04be21ba7b5bd75c6ca58ba280e0519707ca96a43c4d/fonttools-4.65.0-cp315-cp315-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:7a03cff943b204a90bf3d1c04c97b9509a8aa0ee99e2e544084ca43ad995975b", size = 5377819, upload-time = "2026-09-10T15:35:15.839Z" }, + { url = "https://files.pythonhosted.org/packages/25/17/a68d9b19a97bb2ee37e8098fea50657073df97c7e5392afbe1b9d7c0c581/fonttools-4.65.0-cp315-cp315-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:41f684ee6212e411196ab054f8308faf6605f154950e6f4686fb8f2103d624b0", size = 5341296, upload-time = "2026-09-10T15:35:18.527Z" }, + { url = "https://files.pythonhosted.org/packages/ad/8d/d744653ed607a241339015d4af6743ca3d85a74a2045a02cc06ea0383c71/fonttools-4.65.0-cp315-cp315-musllinux_1_2_aarch64.whl", hash = "sha256:52ea9d2a8385075770db74d5e5718fa80b2222bb4fc62856a377dd2865ca8848", size = 5315310, upload-time = "2026-09-10T15:35:20.853Z" }, + { url = "https://files.pythonhosted.org/packages/f0/c8/1ca6dc69cbaa0e394ff70d9e266777124d3ce3c6433026a6b4de50b890ae/fonttools-4.65.0-cp315-cp315-musllinux_1_2_x86_64.whl", hash = "sha256:d0d25027ade65ec46b13c0436e51bcb7c5171a4ea255a5e7a8d0d1d3ab4cffd7", size = 5463840, upload-time = "2026-09-10T15:35:24.022Z" }, + { url = "https://files.pythonhosted.org/packages/07/97/d374df38a14f2ac04ba9ed96bca89d4988e7d63aa5ed85c54fd8f2badd7d/fonttools-4.65.0-cp315-cp315-win32.whl", hash = "sha256:22cb846d35d278235ef3b7e947c6040b2057d72e8305a314f21d5342eca49040", size = 2433149, upload-time = "2026-09-10T15:35:26.59Z" }, + { url = "https://files.pythonhosted.org/packages/62/c5/eb8f7506faf6a70c5a8f2eccbeea3cd826c748a6fd78c7b4b3effb5a3a11/fonttools-4.65.0-cp315-cp315-win_amd64.whl", hash = "sha256:aecc899fdbf9ecbf728f8977977e2e1043ee4d70c257124c8fa4cbcf796fcd83", size = 2485725, upload-time = "2026-09-10T15:35:28.945Z" }, + { url = "https://files.pythonhosted.org/packages/f1/a4/2df0d97514feb8d857d5de854cd8d660d9a7ee1fd081bc98497124f515a8/fonttools-4.65.0-cp315-cp315t-macosx_10_15_universal2.whl", hash = "sha256:6275863dad195ee34b6e0ca3fc61c74096bc37e5d6fb8e049f4d68d65865a2b7", size = 3164065, upload-time = "2026-09-10T15:35:31.197Z" }, + { url = "https://files.pythonhosted.org/packages/15/33/e09661c09e6c8a3b0bd50da0e72918df7576dede31f39c948cc245011434/fonttools-4.65.0-cp315-cp315t-macosx_10_15_x86_64.whl", hash = "sha256:d8ffd2f62b402180b0edae8f86a071f583970e2177143117db5cf4c52da60079", size = 2615195, upload-time = "2026-09-10T15:35:33.569Z" }, + { url = "https://files.pythonhosted.org/packages/64/d7/114b05f4193679d0935272220083ec43de7f918b5a777018c5ac5c1ae39e/fonttools-4.65.0-cp315-cp315t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:830f91327ca83bfc1278e7060068a498938f84d05dc4869675486f84f55d4fe1", size = 5521239, upload-time = "2026-09-10T15:35:36.291Z" }, + { url = "https://files.pythonhosted.org/packages/ba/10/67d615939f859ffe75663a67bca3593966febbcd0109ec72f20f73cbb4cc/fonttools-4.65.0-cp315-cp315t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:9db2cb95847c18eef74a4ef0fe257a893ae3f4b0395f4866e2f426ab07f3d804", size = 5343802, upload-time = "2026-09-10T15:35:38.82Z" }, + { url = "https://files.pythonhosted.org/packages/d1/06/faa793a806da03acce862fbed353f76026b28103d43860d69be9a6a1f0fd/fonttools-4.65.0-cp315-cp315t-musllinux_1_2_aarch64.whl", hash = "sha256:be9b9a95ed0af03375e99020e921c4bc6b41fad10e053dea7acad370521a3c46", size = 5388482, upload-time = "2026-09-10T15:35:41.616Z" }, + { url = "https://files.pythonhosted.org/packages/53/d2/eb7258df60e634db60c9a8cd72bc9eaf8dea409d1b1ceec3b9fb49531ad2/fonttools-4.65.0-cp315-cp315t-musllinux_1_2_x86_64.whl", hash = "sha256:bbd9faf777a9deb6790df4f2b0be611857c45fe86605e840d7154a028d828af7", size = 5435088, upload-time = "2026-09-10T15:35:44.639Z" }, + { url = "https://files.pythonhosted.org/packages/00/6a/58597f16e1265fe9205de3069e338a339e3eef0b1daf049ee08269458091/fonttools-4.65.0-cp315-cp315t-win32.whl", hash = "sha256:c779d838815b91889c95ed64c9be5950ad5a683279f91aeb23384cb757ddc6a3", size = 2464925, upload-time = "2026-09-10T15:35:47.224Z" }, + { url = "https://files.pythonhosted.org/packages/4b/95/122fc172006db747f4968e08c710f52a94f55eb007173b859b3f80b5b810/fonttools-4.65.0-cp315-cp315t-win_amd64.whl", hash = "sha256:d9484b7ee1b49b6b8a0231c849f3983723dec29e3a7366d9b1b02f4036f71944", size = 2513945, upload-time = "2026-09-10T15:35:49.895Z" }, + { url = "https://files.pythonhosted.org/packages/e6/35/f894ceb867118c0261d0f69a9bd516b045a3754238f76c88a49513ac7a83/fonttools-4.65.0-py3-none-any.whl", hash = "sha256:3060b8c1fc2329fa20265b7c138614143ea7c1624e26c5c180c76aeb74deae6f", size = 1196441, upload-time = "2026-09-10T15:35:52.347Z" }, +] + +[[package]] +name = "fqdn" +version = "1.6.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/02/01/248d44fbda9e78fa1a7b5a475194bef4c4a3e285db286419f3bb42f2efdf/fqdn-1.6.0.tar.gz", hash = "sha256:e39bf62e2a9481aa2cb780554fdfd944dd8ee5f230eb831684d539cbafed8de2", size = 130737, upload-time = "2026-09-28T05:43:35.482Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/15/d5/a8f9149b97cced9e1f4bff92ff0b6206120e2c853ae774d7020d6ecd8fa8/fqdn-1.6.0-py3-none-any.whl", hash = "sha256:6c793c312ccfa29981e1135b3ef5e1277ebe639731a6b0f7350d90e96e63f0b4", size = 12569, upload-time = "2026-09-28T05:43:33.951Z" }, +] + +[[package]] +name = "grimp" +version = "3.17" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/ad/2e/95736b7c984705ff5ee376f07c6e71bb80fcbb22c8fa3b8c1cfbfa919d5c/grimp-3.17.tar.gz", hash = "sha256:5161e03c6f518fe4da43b06c97ff49a1e224ecb0e4b9fd6ef48235373d1b7b33", size = 832923, upload-time = "2026-09-04T11:28:54.609Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/75/7f/99365747c992a97e775829e859bde28993a1771fa932a5b160e3e629769e/grimp-3.17-cp311-cp311-macosx_10_12_x86_64.whl", hash = "sha256:aa1b4d439d18372390a61926a3c33d5de2f5dff7ac7a71b8b5a665644ce81bc6", size = 2143022, upload-time = "2026-09-04T11:28:09.761Z" }, + { url = "https://files.pythonhosted.org/packages/39/38/84eb297e570f0eceb916f3d11fc399de78309e837f4a1c5fcff36af5e800/grimp-3.17-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:fe6c3c9f111e900a43a3657d3b1d35b920af6ff943bc417bca4ebcd6140e1e50", size = 2101124, upload-time = "2026-09-04T11:28:01.64Z" }, + { url = "https://files.pythonhosted.org/packages/d8/3c/abc9de477962e071480cd7f2fa4fbd171e1f3f2d2ebf7aeb704138b28f94/grimp-3.17-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:5834e34cbf5ef52877dd6f6a3bcda137d0f07d44c65084d63913931b21951b2f", size = 2283264, upload-time = "2026-09-04T11:26:59.045Z" }, + { url = "https://files.pythonhosted.org/packages/12/2c/07f824f3d3776265831d555b458380fa32214b3ff1534a11b2d22b292c78/grimp-3.17-cp311-cp311-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:d97de5133ae1588230d9c9c9724526e48e62be79caf32a85b8ce970db8ce46de", size = 2223945, upload-time = "2026-09-04T11:27:08.711Z" }, + { url = "https://files.pythonhosted.org/packages/c1/c0/bcb08d1a5446a5618f129f0789fc2ea38d643974db1094d7eb68adb09508/grimp-3.17-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:c3cbb0a6c5e8bf38ecd2e6d051e9d0992f3cf4c65bb01d3ccf525f48586f456b", size = 2375571, upload-time = "2026-09-04T11:27:37.307Z" }, + { url = "https://files.pythonhosted.org/packages/b2/f7/0a81e9cac29af4c88e73d7bf4d250bd01b04894b0bffa70ad5026846eaf3/grimp-3.17-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:c423bcd7fd139553d184f194486e1a718e816b5898ff688c436456151eb70c61", size = 2633241, upload-time = "2026-09-04T11:27:17.639Z" }, + { url = "https://files.pythonhosted.org/packages/05/71/c2d80fab1af8bf92ce86b18d30b9a7f1d2315e72e4205774590fb8d7ac55/grimp-3.17-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:42ffb9e69af7bd09cab96786bc3f21716dced76d9daf6d553ef6eb4437b4cd7b", size = 2352338, upload-time = "2026-09-04T11:27:27.439Z" }, + { url = "https://files.pythonhosted.org/packages/ba/a2/0e5aa9fc7b3d18620b36b68c2645b9cb12364e316bc827452e2447c90709/grimp-3.17-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:c615cd6f08965831adb5383c9214054003eb2b5ee2f4c466c388a9b87835cb0e", size = 2288519, upload-time = "2026-09-04T11:27:49.095Z" }, + { url = "https://files.pythonhosted.org/packages/5e/3b/d874409b8deacc419e847bff13e1706e7b45772cc2ad80fdf44d79f0d337/grimp-3.17-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:f6cc4ba9510691dd56111894da83bca78e407037f8149f808012dd67f0b5272d", size = 2460716, upload-time = "2026-09-04T11:28:17.05Z" }, + { url = "https://files.pythonhosted.org/packages/c1/08/667c2af86cdb8ed210e42ec4dfb4d0c3dd0f9e08818dfba6435742a14f60/grimp-3.17-cp311-cp311-musllinux_1_2_armv7l.whl", hash = "sha256:bd72e76528837b634057689179aac014e3995f41d142c2e9eff8bf46f82c96e5", size = 2499499, upload-time = "2026-09-04T11:28:26.764Z" }, + { url = "https://files.pythonhosted.org/packages/6a/81/5d93258181d6333ab01014884a2beca1ac39c25ddea3492b12364041eca8/grimp-3.17-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:58ce75a40a0817bf5725f7a67cb5cc38f76f23a028e624b1125959d06db76a36", size = 2533771, upload-time = "2026-09-04T11:28:36.204Z" }, + { url = "https://files.pythonhosted.org/packages/21/52/d82b1c772509c80e1f0988694e30fb4fc4888c983273c2249a82effc15b0/grimp-3.17-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:5e4dc31f50d695091fef8013e562470cd759123bd06fad2ebb91251850ba97a4", size = 2543062, upload-time = "2026-09-04T11:28:46.493Z" }, + { url = "https://files.pythonhosted.org/packages/8f/f6/fec538a49b3297c0aba0386971e478522ec4b2f8fc25d6575f9579e57a36/grimp-3.17-cp311-cp311-win32.whl", hash = "sha256:802ea10b9d9e7b422c83f1277286be4225402bb4d2ab31b17ab43f3e850639d4", size = 1875122, upload-time = "2026-09-04T11:29:19.003Z" }, + { url = "https://files.pythonhosted.org/packages/27/a4/b1a2a1d7c53e6f0976bc33e3225b82e8d45ad32ec528ac3e251d94172bc4/grimp-3.17-cp311-cp311-win_amd64.whl", hash = "sha256:11533e4afad7a516a4c2a6b8b3b24383fba9901c8fa0072b33450603eedc0649", size = 2002060, upload-time = "2026-09-04T11:29:07.629Z" }, + { url = "https://files.pythonhosted.org/packages/b0/a5/3fb3e39ba1a34231bcdf27922121f864307f6b9a2f8145f17e285749d092/grimp-3.17-cp311-cp311-win_arm64.whl", hash = "sha256:488c0a70118c3600dd344455f280ab8d8894583f76e4091de770b019d9e30cde", size = 1926777, upload-time = "2026-09-04T11:28:55.767Z" }, + { url = "https://files.pythonhosted.org/packages/63/ba/e2e37adeac007a42b074c9156b3a155692fc5a1a32008fb8385546e5c92f/grimp-3.17-cp312-cp312-macosx_10_12_x86_64.whl", hash = "sha256:7375c3aea01495839360947df321d26dcebd037ef34a641627456f23fd91c63e", size = 2146861, upload-time = "2026-09-04T11:28:10.923Z" }, + { url = "https://files.pythonhosted.org/packages/97/d0/3ac947eb15b7c6fe615e01cdfef8152e8b2509c6d5439f7799fae1ca024c/grimp-3.17-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:c7e75804d1d7f11813082b30a0cd7cf84f553c55d7c1edc28cde23656f1d1a40", size = 2090629, upload-time = "2026-09-04T11:28:03.234Z" }, + { url = "https://files.pythonhosted.org/packages/89/df/53d3eb18c3197ae2bb6c8be118026870cb89b2c33f99c7157345bc5e0734/grimp-3.17-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:62f61d14aedfc0df57db6f7bc826df0f77f3c7115a2a5525aa76531ce2cb9fa6", size = 2277265, upload-time = "2026-09-04T11:27:00.481Z" }, + { url = "https://files.pythonhosted.org/packages/3e/a7/6615a81f83d8ee31c96b1d8fa9a5d12fceb82acc17a9e71b28768b8185b5/grimp-3.17-cp312-cp312-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:76b1517920dd93df17f6cf0bb79a1ddf193993e87a60dec30bbe67a5139187f0", size = 2220699, upload-time = "2026-09-04T11:27:10.074Z" }, + { url = "https://files.pythonhosted.org/packages/39/60/487bb910bb5092a392f8b23ae8c5fde6d766bfe02e2c7a064ae9a14da30a/grimp-3.17-cp312-cp312-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:8d55d03f5dc704b18fa7da04e7eebcc3b16b998b1e18818fb750e291b2991900", size = 2371257, upload-time = "2026-09-04T11:27:38.482Z" }, + { url = "https://files.pythonhosted.org/packages/73/52/5a280d6a9154b1f13a0c74082581cb699825535fdc194ae9ebc5d42c2252/grimp-3.17-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:79b0be412bc19bf298290713e5a2b459fe2a518f921591046b85ba90425bff20", size = 2627111, upload-time = "2026-09-04T11:27:19.036Z" }, + { url = "https://files.pythonhosted.org/packages/ab/5a/5ef678b3f89a887a9e045dbfb5505876678323f8cf5a26f8b98d9ace875a/grimp-3.17-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:2c03a30879a80950e268f03e81603b8c51dc141c944700a0a9d72b2d7484ab24", size = 2347083, upload-time = "2026-09-04T11:27:28.976Z" }, + { url = "https://files.pythonhosted.org/packages/1e/77/06e46d5682745570d16c051734a7edf7b3c045ad620440f635dbd86447c3/grimp-3.17-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:ecf26d99a35ab7b5966af56118bb9344d1fd1b972d3c45dd5012effc7a68c844", size = 2284554, upload-time = "2026-09-04T11:27:50.665Z" }, + { url = "https://files.pythonhosted.org/packages/eb/22/c00c7073a0fce1f9494c564e12705b42a1c421a50515dcf7ffd8e1543024/grimp-3.17-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:e205949a5fe6b83ac1ea28525bea2b4867f2b230a851e6dfcdfcfcee1e3dda09", size = 2455050, upload-time = "2026-09-04T11:28:18.529Z" }, + { url = "https://files.pythonhosted.org/packages/5b/23/f2b0bffa2a62a73ca8736b550161eab2b88f66e6a3c9f7def18310c2d087/grimp-3.17-cp312-cp312-musllinux_1_2_armv7l.whl", hash = "sha256:7e2b4d8aebae7142c401231043113910773f289a8d6f9d719273eb719f732b83", size = 2496303, upload-time = "2026-09-04T11:28:28.147Z" }, + { url = "https://files.pythonhosted.org/packages/02/54/b4dfc51d8c628f700512953c78656305a21ead767956a7fd7aa46f1021b1/grimp-3.17-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:5abd95dc0a8f816d2816e847adb0ab09a7e3571fd0942ea31cf5248505862bac", size = 2528584, upload-time = "2026-09-04T11:28:37.526Z" }, + { url = "https://files.pythonhosted.org/packages/b5/60/73c088e1bee1a95a61cc3523abff149b0c211405834ca74996c76e6a3afa/grimp-3.17-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:0ae6360f6b4f711abf97b8888c0269de3756ea484c829615e0c567c7bb1ce944", size = 2538538, upload-time = "2026-09-04T11:28:47.701Z" }, + { url = "https://files.pythonhosted.org/packages/9d/66/0ff96f79bb1c4ffff621f7b50babbea6151fbaad461327af961f1fa2e49e/grimp-3.17-cp312-cp312-win32.whl", hash = "sha256:b1ab648732d03fa2ec4d7619d934409399bf827009c4c50f429c8d0bdd0709fb", size = 1874539, upload-time = "2026-09-04T11:29:20.342Z" }, + { url = "https://files.pythonhosted.org/packages/a7/72/e2544f4ba4f42f7732bdc13d60c344fd9da30eb083eb8cba2e7c155d222e/grimp-3.17-cp312-cp312-win_amd64.whl", hash = "sha256:d10ae67a1ee0af6dee937e032f3acf707741d866a67f3c71e5ec6df3b758e5c0", size = 1999174, upload-time = "2026-09-04T11:29:09.19Z" }, + { url = "https://files.pythonhosted.org/packages/dd/9d/9b2da1ff2951e13b636673814ec7df699660f892f284bf2f3d53e991283c/grimp-3.17-cp312-cp312-win_arm64.whl", hash = "sha256:ff161c9aed2ca3db9bc592157a36914ae8440d8d8f3c6986843dec11523cd700", size = 1923198, upload-time = "2026-09-04T11:28:57.051Z" }, + { url = "https://files.pythonhosted.org/packages/10/7a/b1c76982a239347bfccd2ae95b9f79d3390cd14170f62e7eb822a17d786d/grimp-3.17-cp313-cp313-macosx_10_12_x86_64.whl", hash = "sha256:eb8f09da4302f05fc92fe7564f27731c0b43789d8893ae5e6be5df2b01668923", size = 2145452, upload-time = "2026-09-04T11:28:12.121Z" }, + { url = "https://files.pythonhosted.org/packages/cb/ab/2a1a9574b391c0ee62cb33a633c0d377dce1b7d19d04a7ac5d5e6872d395/grimp-3.17-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:0f11566bcf388db4c79f1c7f1051f6ef150f778306350bb7d86d0c9aab32d297", size = 2091654, upload-time = "2026-09-04T11:28:04.635Z" }, + { url = "https://files.pythonhosted.org/packages/e6/12/7dc086132ac10a2409f158f0b0d7cc528a2ebe0a4e95bca895afe7452fa6/grimp-3.17-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:bfda3e2ebb4e51beec4a3cb09bb771440f3192163107d9320e6d9ce8fe064e64", size = 2277300, upload-time = "2026-09-04T11:27:01.844Z" }, + { url = "https://files.pythonhosted.org/packages/5b/62/2e16a54580fa76fb7e64e8e8e2ebb899c709a764cb29149a88eb03f2eea7/grimp-3.17-cp313-cp313-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:b0ab1ab71d807fc6f56d82f1ab24acf2f2e0e5000e37b5540af9449e28c6830c", size = 2220417, upload-time = "2026-09-04T11:27:11.418Z" }, + { url = "https://files.pythonhosted.org/packages/73/c0/e1b0ad0d0b3d9dff996bad306542f3cf000cb86c368bfe3ac6a8bb1e2e2f/grimp-3.17-cp313-cp313-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:187b092664e882d10b9f2c3da99251d0aeb99186d407ed5d20f52005832045f6", size = 2370754, upload-time = "2026-09-04T11:27:39.995Z" }, + { url = "https://files.pythonhosted.org/packages/36/0f/015e48ad8029f788eaa3df71b66859b2b5dc63abb8d7a2014a2b5a581040/grimp-3.17-cp313-cp313-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:75da770aeee97d26b202d7251fe7f6562e7f2793e348501b0a64ca5c50e881b5", size = 2628257, upload-time = "2026-09-04T11:27:20.491Z" }, + { url = "https://files.pythonhosted.org/packages/eb/d3/66da78504a1731237ed8befd9c66fb91037a7b82816443ca772107acf8fe/grimp-3.17-cp313-cp313-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:f5cc64f891f71f538d3d032d6e7193f69c3a2e0ceac72c55114faee5aa161f9f", size = 2347569, upload-time = "2026-09-04T11:27:30.282Z" }, + { url = "https://files.pythonhosted.org/packages/cb/a2/6474d008fa49cc650d626798cb3b6e3fa7b0daaad24884fd6bb4288f6154/grimp-3.17-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:6dbf2d93b0ba7f6c1efba9f5b3e07a3da0a157392c650316a5c1478b0ef7e503", size = 2284227, upload-time = "2026-09-04T11:27:52.462Z" }, + { url = "https://files.pythonhosted.org/packages/c5/b5/91cd378c08494fd0130e5cc2e54d60d12f53b21850e0dbccf668b6e73d91/grimp-3.17-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:7a22b5dcbf55f1c348885e09cbe91e63baedf6ce0f89c60bb01a0475c7d0a90b", size = 2454655, upload-time = "2026-09-04T11:28:19.837Z" }, + { url = "https://files.pythonhosted.org/packages/f1/d0/b582238247ce51857c7ac770c3be10203c992696f3dc9153f1a979c011dc/grimp-3.17-cp313-cp313-musllinux_1_2_armv7l.whl", hash = "sha256:73aa9459a604554b1dc1618148312036679f3974bf8b0285588220307147060b", size = 2495852, upload-time = "2026-09-04T11:28:29.606Z" }, + { url = "https://files.pythonhosted.org/packages/8f/99/e0690b02be70f346aadfe2aa8bd7e496c773298ac58c0d0fa6376c1298b2/grimp-3.17-cp313-cp313-musllinux_1_2_i686.whl", hash = "sha256:c31660d30e79569faac05033637c1eef4595542f44ec2323af54e900030164a6", size = 2527887, upload-time = "2026-09-04T11:28:38.828Z" }, + { url = "https://files.pythonhosted.org/packages/69/7a/33e41d9b08e63cf398d8194a9208b21788c76916b5ac6d90146e8e2ebf95/grimp-3.17-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:8f395c5ab2cf554504f46680b9269b769939ab5d7ea58f93e5c341e55b1affbd", size = 2539000, upload-time = "2026-09-04T11:28:49.037Z" }, + { url = "https://files.pythonhosted.org/packages/69/f5/7af1dd74b9608a85274414fc423a7162844492b198ece3fe31f4e1f88237/grimp-3.17-cp313-cp313-win32.whl", hash = "sha256:34369739ed293accbb674494ae932351516b316e8e85d1d333d4c51796af846a", size = 1874244, upload-time = "2026-09-04T11:29:21.693Z" }, + { url = "https://files.pythonhosted.org/packages/8b/d4/af497adddfcf11f9bd4ab273625a49022bf5ba4f5fc389589f4e6edc67b9/grimp-3.17-cp313-cp313-win_amd64.whl", hash = "sha256:d21b859c50418bdb48b403a84450650fa7aab3102f3212d00d3c21c76a982167", size = 1998225, upload-time = "2026-09-04T11:29:10.5Z" }, + { url = "https://files.pythonhosted.org/packages/e2/2a/07fd537997281049af2390fc8641de5ae063ae4972cb6fcec85873674595/grimp-3.17-cp313-cp313-win_arm64.whl", hash = "sha256:206cd9f7c757b97934f48ba2b8ec6d649725fd6314d6b182dd327b19b4f35707", size = 1922071, upload-time = "2026-09-04T11:28:58.34Z" }, + { url = "https://files.pythonhosted.org/packages/39/e0/e11ea5aeb62534c9706e17952d142aa844ce5659e2d66b4b8ba9377407d6/grimp-3.17-cp314-cp314-macosx_10_12_x86_64.whl", hash = "sha256:0100ff6f08067c8eb8a77dd1433af5e173aea8dbf6a6b76f5372a3b49f2e0a43", size = 2161696, upload-time = "2026-09-11T10:36:49.104Z" }, + { url = "https://files.pythonhosted.org/packages/4b/d6/ddf82f4428d8bdc54ced0db244cbf5d8e5638490c3ed6a8b9f5db55dfa51/grimp-3.17-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:67ada40a5c1cf4321183c0b0cd0393658ccd04b845caed002ac81dc2fdef828e", size = 2107301, upload-time = "2026-09-11T10:36:46.459Z" }, + { url = "https://files.pythonhosted.org/packages/86/1a/1dd0d9d2751e8078547e1cb7131e13d9624a2ea60700d926b3d624c15825/grimp-3.17-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:baa385915a4c17948bfb25f77509cbbfb33795f321d1c5ca7cc602e34ed58e99", size = 2278433, upload-time = "2026-09-04T11:27:03.075Z" }, + { url = "https://files.pythonhosted.org/packages/58/71/3768fd253e7455a83d668193055691c82d3a4d434047116c572a27d2bd39/grimp-3.17-cp314-cp314-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:8322a435b5ee97ff3db823df36cbefea569faec505cc0ca66223c27b4b44cca6", size = 2221152, upload-time = "2026-09-04T11:27:12.642Z" }, + { url = "https://files.pythonhosted.org/packages/b4/4f/907a130e87554d57be14c2a7cedeb818d0ef519064877297d19636735f6b/grimp-3.17-cp314-cp314-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:cb953c21beb6ac85a59b5b54128be7fdddd89396d34b3c5705cf59829a85b431", size = 2371546, upload-time = "2026-09-04T11:27:41.195Z" }, + { url = "https://files.pythonhosted.org/packages/7e/4f/a3bf534aa7c582a47d8cfefab5fccb50e6f4dcd327ed6a8552d344a04ffe/grimp-3.17-cp314-cp314-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:c34b904c25359f98e3f20771256d62329ed17f1e26a254a4f5c74bacc1f3bd21", size = 2628467, upload-time = "2026-09-04T11:27:21.818Z" }, + { url = "https://files.pythonhosted.org/packages/32/d3/2b2ab7b3a4e2c17bb1e10ec37e7ee8eecce7f72b1bf6c8019dd439943884/grimp-3.17-cp314-cp314-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:f69ce8be301299f15ca99843e89991c240a231836cf45a11c6bfc54fb9fbeaa9", size = 2347520, upload-time = "2026-09-04T11:27:31.73Z" }, + { url = "https://files.pythonhosted.org/packages/72/da/6bc1f783a739afa51ffa2e235791487b5d09202501b25843ecae9833a3ff/grimp-3.17-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:566411d1ac97e1f3a3f00a13ae33aebb9abda9787d3d9914f62f73b589d84fe2", size = 2284007, upload-time = "2026-09-04T11:27:53.889Z" }, + { url = "https://files.pythonhosted.org/packages/63/06/a08f1b16aec11f32bbc86f60e24986659ab4cfab79388c8d4b79f6a6723e/grimp-3.17-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:5f89948029f3c7339a20bab007977194d3dbdddb27edae5c74b948d8f13191c7", size = 2455301, upload-time = "2026-09-04T11:28:21.177Z" }, + { url = "https://files.pythonhosted.org/packages/ff/c1/d55e9686f3797d1a2c6403d2ffec3020c67591c004304a414fe8d7a9755c/grimp-3.17-cp314-cp314-musllinux_1_2_armv7l.whl", hash = "sha256:5a895bc27105ada9b0e76a80bf9cc898409e5cc3689e73e64ca1cbd71dc87dce", size = 2497158, upload-time = "2026-09-04T11:28:30.984Z" }, + { url = "https://files.pythonhosted.org/packages/7f/85/a2d2e70c4f272752c395cc35b3732d82ff92c55e229d7bbd6777fd9868ff/grimp-3.17-cp314-cp314-musllinux_1_2_i686.whl", hash = "sha256:e80b57a7d03f53e96eb0a5b0844340f99f17eede184042fb73e3ef010176ab35", size = 2528862, upload-time = "2026-09-04T11:28:40.251Z" }, + { url = "https://files.pythonhosted.org/packages/cb/03/fc3a58d9b22b011c1c3377c1ecee127a5f642de9b20de32d3ad7213ab71a/grimp-3.17-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:5c0cac76283679fe9c1fd761e63deb9bbc7ba46b32988113ecef4b13742f31b9", size = 2538240, upload-time = "2026-09-04T11:28:50.248Z" }, + { url = "https://files.pythonhosted.org/packages/58/13/d7666cf03c79c275020bad40ea1df8597af7877083ef5a84b5d8b566029a/grimp-3.17-cp314-cp314-win32.whl", hash = "sha256:c8982f4fa1276e059665947156740a55a4e8e6b5a4d7f40730a7511afb608762", size = 1874930, upload-time = "2026-09-04T11:29:23.152Z" }, + { url = "https://files.pythonhosted.org/packages/59/ce/abb9ccb50972351461065ca72cd0f528837a2f398621147dfaf1013698f0/grimp-3.17-cp314-cp314-win_amd64.whl", hash = "sha256:0b97dc29bdca523932bbbcb425fc3df3547cf970396b293bfa960b910f3932d1", size = 1999405, upload-time = "2026-09-04T11:29:11.832Z" }, + { url = "https://files.pythonhosted.org/packages/9f/1d/93c12ff4ce9ede9f91aa03df66128d223a4c824a13de6ab702c973fcae0d/grimp-3.17-cp314-cp314-win_arm64.whl", hash = "sha256:80b5b25b8d8ed6cc68dc39ae9e4c2fb64acd1a3e66434d9cf4d68c72e46d505d", size = 1923324, upload-time = "2026-09-04T11:29:00.004Z" }, + { url = "https://files.pythonhosted.org/packages/d2/59/f94dd90757a2195415736f0e2be667ac4cd375fe86d875d4298661751fce/grimp-3.17-cp314-cp314t-macosx_10_12_x86_64.whl", hash = "sha256:e15340ee11e34bfaaee496cff53f8287dc9f417a94e5bdf3d6b4204305d004cc", size = 2145199, upload-time = "2026-09-04T11:28:13.287Z" }, + { url = "https://files.pythonhosted.org/packages/ce/83/9d7cb22fc136ad6a61bff3b74cf0b31b13fdf94e224d46ff1edd9b5b8c86/grimp-3.17-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:cbccf2a6cd3f89bfdfd683d9b000bd61f6936e16b6d4d6619da592c54f79f272", size = 2090761, upload-time = "2026-09-04T11:28:05.984Z" }, + { url = "https://files.pythonhosted.org/packages/e2/6b/b70add79e9e315d111bb1643b44e1b9e1ded82888856e1ad68bc484cd635/grimp-3.17-cp314-cp314t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:5332893955688759a9f7868c3c9e56b19bc1694ee251852d3daf54876b35c115", size = 2279005, upload-time = "2026-09-04T11:27:04.543Z" }, + { url = "https://files.pythonhosted.org/packages/d3/4c/f5f001e592f8e8820086604db98373ca129e2831facad81ec0d1820a749f/grimp-3.17-cp314-cp314t-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:848a92d8a63a38d79c89ab1e68fb5429d90079f39c07533ffd45ce756e7f210f", size = 2220430, upload-time = "2026-09-04T11:27:13.814Z" }, + { url = "https://files.pythonhosted.org/packages/83/13/cc57724307c22060e193a1dc9bc99fa14d46584c534a3936319ec579c599/grimp-3.17-cp314-cp314t-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:c89cfe49f822a2cc9c42cc7b0f3975ecb1281970735ea31610bfa06a7e04c460", size = 2370318, upload-time = "2026-09-04T11:27:42.535Z" }, + { url = "https://files.pythonhosted.org/packages/50/1b/05d9964d4b47ffe0ef826bfe04b3f4b713fd623c90e424ff002cb0d8a917/grimp-3.17-cp314-cp314t-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:541c9a2b7f1ad5d4f5d1597740e51058fba8ca0c1a225d6ccc6d11a8364fa563", size = 2629127, upload-time = "2026-09-04T11:27:23.18Z" }, + { url = "https://files.pythonhosted.org/packages/ce/ea/186a3087623f1556eb8b9d02baa00300003bb84b7b35677e3fcec34691b6/grimp-3.17-cp314-cp314t-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:66b4a13edb3fe63be6f7dbbc2576786f501af9d386a5a1f60b2938f270aef97c", size = 2348453, upload-time = "2026-09-04T11:27:32.964Z" }, + { url = "https://files.pythonhosted.org/packages/e8/6c/a718328adc50529135510b515c5ff1d9f94ab26ab8df9057bb1ef5ab8993/grimp-3.17-cp314-cp314t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:160abad142e168545be8d4cc91b2a95b4565f7571fc56f7fced69ce3589e5111", size = 2287338, upload-time = "2026-09-04T11:27:55.16Z" }, + { url = "https://files.pythonhosted.org/packages/ea/ed/bf67bc6749abee0a1e97f8f14ee2cb19ccc435b306e22bcaac6118d402a4/grimp-3.17-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:cd76fb13a534209c1777c807092f51b1570854eb49948d65cd5e1d94d80e981d", size = 2455299, upload-time = "2026-09-04T11:28:22.505Z" }, + { url = "https://files.pythonhosted.org/packages/83/8a/6c954092306e21c93c744432c3d47491c3264d3cc4b465941de5164a1cb3/grimp-3.17-cp314-cp314t-musllinux_1_2_armv7l.whl", hash = "sha256:1688e2dbe382b6644ecc3f55053e319de70034d9dfe0809d21d441a590c320e6", size = 2496813, upload-time = "2026-09-04T11:28:32.303Z" }, + { url = "https://files.pythonhosted.org/packages/ea/a8/cf0aa245ace55dd2f6bdd3bb646ec50c294bdfe623fd51327bd27efaa585/grimp-3.17-cp314-cp314t-musllinux_1_2_i686.whl", hash = "sha256:0433d177f327c31410f21845322282c832d887f1a42cbdfa176133d8422d84b2", size = 2527052, upload-time = "2026-09-04T11:28:41.869Z" }, + { url = "https://files.pythonhosted.org/packages/75/b8/90cd11e346f12fb5269ff050ae825083410d3bdb54d82a3b8e955e4f9d26/grimp-3.17-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:790d68157e034e7848257ef46b37550040c9e4692cea17372d3d9f87cef1d84b", size = 2541238, upload-time = "2026-09-04T11:28:51.786Z" }, + { url = "https://files.pythonhosted.org/packages/48/92/10cc37db6149030c8cfc80fa5287f739c1e9620c8a05d1ba8dfdfc0a6c4f/grimp-3.17-cp314-cp314t-win32.whl", hash = "sha256:37e6333ca54d4d80b5c4f2eae324774b223dbdc65994dc9bccda2985a9261dd8", size = 1872673, upload-time = "2026-09-04T11:29:24.514Z" }, + { url = "https://files.pythonhosted.org/packages/ac/cc/b257d8da079a87e65d0f1b0e004fd50f31ba25e7136a3b36f896e0e338f8/grimp-3.17-cp314-cp314t-win_amd64.whl", hash = "sha256:91e4bbbed4d934369b83071380e1ad5f37b7f5c80b80ffa924627db8d66fea11", size = 2000197, upload-time = "2026-09-04T11:29:13.138Z" }, + { url = "https://files.pythonhosted.org/packages/29/d0/feebddf766448932f2f1e40324fe75cf50ce6d3a21bdf87fc0eae263218a/grimp-3.17-cp314-cp314t-win_arm64.whl", hash = "sha256:28ae2ff57a9ef535c2e7054dcb18baf0cdc2dee3982367512bff34eaecb85cf0", size = 1920856, upload-time = "2026-09-04T11:29:01.498Z" }, + { url = "https://files.pythonhosted.org/packages/83/39/bb07084f0b97da66b0aa38077bd656c4f831b4aa3f167b1c060f6a65ea5e/grimp-3.17-cp315-cp315-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:fe3e2285a2bd4e62ddb8825de37152d2dc842394d419786d3d5a803b07bb84eb", size = 2372594, upload-time = "2026-09-04T11:27:43.884Z" }, + { url = "https://files.pythonhosted.org/packages/e6/a9/905a484659749f40ed797963147202cb74c3b68d8e90a7a600af55de47ee/grimp-3.17-cp315-cp315-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:a377d5935ae9a62ccbb59e492e16624cec97cc7244c4a964b0c6f83940440626", size = 2284577, upload-time = "2026-09-04T11:27:56.428Z" }, + { url = "https://files.pythonhosted.org/packages/30/6a/40fb12b111c95b94db4930f35661a629532d9d12fb484db5b5ef1a6c3da3/grimp-3.17-cp315-cp315-win32.whl", hash = "sha256:65a1dc2741bef8a96ff3ff71252db8e99eac2a32e09d5e2b63597474706186ca", size = 1876437, upload-time = "2026-09-04T11:29:25.725Z" }, + { url = "https://files.pythonhosted.org/packages/71/98/79af8d51961611e13b3dabc7a3b356b27aa696e5549bb439f1d6002be31a/grimp-3.17-cp315-cp315-win_amd64.whl", hash = "sha256:d20fbe5aab8b013b351313f8eaa3a46f4ac57677e357cb1c3d1012c606b565b4", size = 1999947, upload-time = "2026-09-04T11:29:14.623Z" }, + { url = "https://files.pythonhosted.org/packages/96/d6/e1922c4c7e001210f98e0cf89bd76fea8564f590be3e9ccfe99435cfcd59/grimp-3.17-cp315-cp315-win_arm64.whl", hash = "sha256:a0288dc0e8947dead5c02a246e16f3f5e5cb486348171bdf1289885a13de36c1", size = 1923774, upload-time = "2026-09-04T11:29:02.897Z" }, + { url = "https://files.pythonhosted.org/packages/85/f6/f4f84e44a9237350c41e7c77343498cb1ad843491c18f29d6811021c617d/grimp-3.17-cp315-cp315t-macosx_10_12_x86_64.whl", hash = "sha256:1bf67cb05a80796be99d1bf87e12d4421de101950c5246a8220b6c839cbf27c2", size = 2145245, upload-time = "2026-09-04T11:28:14.537Z" }, + { url = "https://files.pythonhosted.org/packages/71/98/822287270c41360f66c4b5638e040afc6bbf11e9f04cf5005bbd5f3e4830/grimp-3.17-cp315-cp315t-macosx_11_0_arm64.whl", hash = "sha256:d058fdb980475eb9e0143792d63757ddff86c5776e792866e8208cfe5e8413f9", size = 2090367, upload-time = "2026-09-04T11:28:07.277Z" }, + { url = "https://files.pythonhosted.org/packages/ac/76/32d303603157a0d98cb8bde8757e6ae8fa02d41f1d62cdf843fb2e7fe727/grimp-3.17-cp315-cp315t-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:92f1989ce9f9ce26b7d45381df164c62aff783add84cd7a4216a6ebba0f9f03a", size = 2371543, upload-time = "2026-09-04T11:27:45.108Z" }, + { url = "https://files.pythonhosted.org/packages/7b/68/4551e23ab9422e2ead806c1fec9f4b3acd21a267e43bfe8e8cd7f4640dce/grimp-3.17-cp315-cp315t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:7e275cee07826cf36db1914427e68afac87588f759e1dec676870234d4a250ae", size = 2288003, upload-time = "2026-09-04T11:27:57.605Z" }, + { url = "https://files.pythonhosted.org/packages/20/64/79161f05c900f7f7f1b0acd22a730b1be9f96680dd44efeef90aa45e6998/grimp-3.17-cp315-cp315t-win32.whl", hash = "sha256:a7235ccffb0350647ae2b01969f552a9859fea7027032f6cfed110801269a439", size = 1873249, upload-time = "2026-09-04T11:29:27.094Z" }, + { url = "https://files.pythonhosted.org/packages/94/b7/6f9cdeba2c1263fb91b791ddd5e924d6c91c2485f4f16b56698802fdd540/grimp-3.17-cp315-cp315t-win_amd64.whl", hash = "sha256:473d0e0c016ca429b9ec17f34d276db454ba4d467e3c915a46279d86ab004716", size = 2000579, upload-time = "2026-09-04T11:29:15.961Z" }, + { url = "https://files.pythonhosted.org/packages/ac/16/8ae9028f046bf8f48cc13f6de2de40adbcbf38fa79a3a5f265753b248da0/grimp-3.17-cp315-cp315t-win_arm64.whl", hash = "sha256:478aa0b696e5dd79373943e75b998fbb4ef3d146f24fe3569fa9d106ce84991b", size = 1921829, upload-time = "2026-09-04T11:29:04.403Z" }, + { url = "https://files.pythonhosted.org/packages/15/22/e89d58bc1c96ec118e371abca8c07d4c6ad53b263e9f00e552b93aa34797/grimp-3.17-pp311-pypy311_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:645f17b80f61e33969d5e8ab30c1fb1247b44d6372c64fc6b50703f438f18186", size = 2287565, upload-time = "2026-09-04T11:27:05.979Z" }, + { url = "https://files.pythonhosted.org/packages/9c/13/e1679bdcb44a2ae72300fb7358d2a9fe84de5b96d8d5ef4a605287f73613/grimp-3.17-pp311-pypy311_pp73-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:047955683b4113ce265b00fa4704f92b93e248390768bb45f5968aaafff0c5be", size = 2225542, upload-time = "2026-09-04T11:27:15.167Z" }, + { url = "https://files.pythonhosted.org/packages/99/9d/b53c545f8bb34988d26a1f690ad18228d58fa0dfad29c0353193bf99fab6/grimp-3.17-pp311-pypy311_pp73-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:28e88c83f3772681e3aff138fd7865b551d436d25e30d85fbed05f92cf05fefd", size = 2380060, upload-time = "2026-09-04T11:27:46.477Z" }, + { url = "https://files.pythonhosted.org/packages/73/90/2d291b17529adb5fb3fc579dfeb0c7ec5e662e6a9d5eb77d3ea12300daf0/grimp-3.17-pp311-pypy311_pp73-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:8129c210bdc73547ec78d11b1dfa48bd74e9da62157b0458c0ed5fe698d6c403", size = 2631413, upload-time = "2026-09-04T11:27:24.742Z" }, + { url = "https://files.pythonhosted.org/packages/23/0d/a069e17c524d04f9a01d97ad8f2bacd3947af300e5d968dc6854278424b1/grimp-3.17-pp311-pypy311_pp73-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:935beb0f0b920d3629b9da4fcc457f70e76a9fd159eefd7d2c57ab99e712d80e", size = 2351953, upload-time = "2026-09-04T11:27:34.314Z" }, + { url = "https://files.pythonhosted.org/packages/fe/af/8ff5b3ffeb062a5337a8e124a0909cb2866e6448858ffa14bef8cfb8e27d/grimp-3.17-pp311-pypy311_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:788d5ecf1ab806e18b788952cb205e135e4da4ae00882f552dada144bc6f9b68", size = 2291463, upload-time = "2026-09-04T11:27:58.839Z" }, + { url = "https://files.pythonhosted.org/packages/ae/b1/64de4ca73e8c9bd8eed7f6019f18e96f4f8e02417bdb1f9208a3b55662bb/grimp-3.17-pp311-pypy311_pp73-musllinux_1_2_aarch64.whl", hash = "sha256:ff7dcc4746fd8f8b8e8104db19cd15665c61c6bd56dc492e632ac336b07efd77", size = 2463481, upload-time = "2026-09-04T11:28:23.798Z" }, + { url = "https://files.pythonhosted.org/packages/79/7a/dd2c5ef860cecfbcee7cc6eb00c1a2185a8ce12227aa4015b189d7ee1796/grimp-3.17-pp311-pypy311_pp73-musllinux_1_2_armv7l.whl", hash = "sha256:8575b7a82983f138fd06ebcafce89797fce36f69b6381f79b05714b8b9fcf2fe", size = 2500644, upload-time = "2026-09-04T11:28:33.544Z" }, + { url = "https://files.pythonhosted.org/packages/7a/f7/9f3c7f2bef0fdde9a4a3627cf2c9c79e0f6fc3f637d694b384e3fd0237ff/grimp-3.17-pp311-pypy311_pp73-musllinux_1_2_i686.whl", hash = "sha256:a88e38dc9e5410a951fd97595816396e3e6f05d2c2a43665a777a9558ba5dde5", size = 2537284, upload-time = "2026-09-04T11:28:43.262Z" }, + { url = "https://files.pythonhosted.org/packages/16/d6/acf7dc5d08ecb24700071c6e807b396603148b98f111df412ea1502606c4/grimp-3.17-pp311-pypy311_pp73-musllinux_1_2_x86_64.whl", hash = "sha256:1334e8ba5d1b57dec70e8990ba4c8c829fc7e999ac4345da45348488dc84b814", size = 2545938, upload-time = "2026-09-04T11:28:53.196Z" }, +] + +[[package]] +name = "h11" +version = "0.16.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/01/ee/02a2c011bdab74c6fb3c75474d40b3052059d95df7e73351460c8588d963/h11-0.16.0.tar.gz", hash = "sha256:4e35b956cf45792e4caa5885e69fba00bdbc6ffafbfa020300e549b208ee5ff1", size = 101250, upload-time = "2025-04-24T03:35:25.427Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/04/4b/29cac41a4d98d144bf5f6d33995617b185d14b22401f75ca86f384e87ff1/h11-0.16.0-py3-none-any.whl", hash = "sha256:63cf8bbe7522de3bf65932fda1d9c2772064ffb3dae62d55932da54b31cb6c86", size = 37515, upload-time = "2025-04-24T03:35:24.344Z" }, +] + +[[package]] +name = "httpcore" +version = "1.0.9" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "certifi" }, + { name = "h11" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/06/94/82699a10bca87a5556c9c59b5963f2d039dbd239f25bc2a63907a05a14cb/httpcore-1.0.9.tar.gz", hash = "sha256:6e34463af53fd2ab5d807f399a9b45ea31c3dfa2276f15a2c3f00afff6e176e8", size = 85484, upload-time = "2025-04-24T22:06:22.219Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/7e/f5/f66802a942d491edb555dd61e3a9961140fd64c90bce1eafd741609d334d/httpcore-1.0.9-py3-none-any.whl", hash = "sha256:2d400746a40668fc9dec9810239072b40b4484b640a8c38fd654a024c7a1bf55", size = 78784, upload-time = "2025-04-24T22:06:20.566Z" }, +] + +[[package]] +name = "httpx" +version = "0.28.1" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "anyio" }, + { name = "certifi" }, + { name = "httpcore" }, + { name = "idna" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/b1/df/48c586a5fe32a0f01324ee087459e112ebb7224f646c0b5023f5e79e9956/httpx-0.28.1.tar.gz", hash = "sha256:75e98c5f16b0f35b567856f597f06ff2270a374470a5c2392242528e3e3e42fc", size = 141406, upload-time = "2024-12-06T15:37:23.222Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/2a/39/e50c7c3a983047577ee07d2a9e53faf5a69493943ec3f6a384bdc792deb2/httpx-0.28.1-py3-none-any.whl", hash = "sha256:d909fcccc110f8c7faf814ca82a9a4d816bc5a6dbfea25d6591d6985b8ba59ad", size = 73517, upload-time = "2024-12-06T15:37:21.509Z" }, +] + +[[package]] +name = "idna" +version = "3.19" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/5f/f7/abb373e5757eaec4b922b92f97ec8d6d7e057cf06778247604fbc4e7c3f3/idna-3.19.tar.gz", hash = "sha256:5e0811a4383b21dc5838069f801c4fb62113b7447663d2530d2bd6e77b49bf15", size = 215237, upload-time = "2026-08-18T05:14:24.27Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/57/b0/0e52c878c53f245edd3a11020f20979b3f490f245af532c7cae3027754b5/idna-3.19-py3-none-any.whl", hash = "sha256:815e7be7a7806d54abb586dc943addc79e8b2ee16915059658cbeff4b1b43bf4", size = 68550, upload-time = "2026-08-18T05:14:22.343Z" }, +] + +[[package]] +name = "import-linter" +version = "2.15" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "click" }, + { name = "grimp" }, + { name = "rich" }, + { name = "typing-extensions" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/3c/81/1bb414f8c8bcd024499e91f112d317c36a86bc264da1fd43f9797fc2b7b0/import_linter-2.15.tar.gz", hash = "sha256:1da912bea5e172a82a3ce617b5543f75cf64dc0d8f4d9b46c5578b68ccb81590", size = 1405973, upload-time = "2026-09-04T14:47:56.097Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/08/31/4571c20652a4002ed9e500046386f3731a77e23d95a608ae8a87f1fbb2da/import_linter-2.15-py3-none-any.whl", hash = "sha256:9aaf16a88ac1e99d5a464cd7f66b6a05f7060bfa761162e0ed441773a267ed3b", size = 640512, upload-time = "2026-09-04T14:47:54.878Z" }, +] + +[[package]] +name = "iniconfig" +version = "2.3.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/72/34/14ca021ce8e5dfedc35312d08ba8bf51fdd999c576889fc2c24cb97f4f10/iniconfig-2.3.0.tar.gz", hash = "sha256:c76315c77db068650d49c5b56314774a7804df16fee4402c1f19d6d15d8c4730", size = 20503, upload-time = "2025-10-18T21:55:43.219Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/cb/b1/3846dd7f199d53cb17f49cba7e651e9ce294d8497c8c150530ed11865bb8/iniconfig-2.3.0-py3-none-any.whl", hash = "sha256:f631c04d2c48c52b84d0d0549c99ff3859c98df65b3101406327ecc7d53fbf12", size = 7484, upload-time = "2025-10-18T21:55:41.639Z" }, +] + +[[package]] +name = "ipykernel" +version = "7.4.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "appnope", marker = "sys_platform == 'darwin'" }, + { name = "comm" }, + { name = "debugpy" }, + { name = "ipython" }, + { name = "jupyter-client" }, + { name = "jupyter-core" }, + { name = "matplotlib-inline" }, + { name = "nest-asyncio2" }, + { name = "packaging" }, + { name = "pyzmq" }, + { name = "tornado" }, + { name = "traitlets" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/7a/05/e5499c8b762387d83926bf0389e8fff888c9bf6e7af30566a8527bc12f4a/ipykernel-7.4.0.tar.gz", hash = "sha256:4330114d22b9b33575b2c7c68753fc8faabbbcfbc60b0cdff9f14dd4ce63742f", size = 192731, upload-time = "2026-09-29T16:33:11.468Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/a5/f8/8b5c10c7f36ab5a3b5c4703669e5b14e44e98782b58e535dd30670e8799a/ipykernel-7.4.0-py3-none-any.whl", hash = "sha256:a6757f790ddc5a6006b813d82da1a9dbb65b3a00f2b6607df776418c6566ec1c", size = 123184, upload-time = "2026-09-29T16:33:09.612Z" }, +] + +[[package]] +name = "ipython" +version = "9.17.1" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "colorama", marker = "sys_platform == 'win32'" }, + { name = "ipython-pygments-lexers" }, + { name = "jedi" }, + { name = "matplotlib-inline" }, + { name = "pexpect", marker = "sys_platform != 'emscripten' and sys_platform != 'win32'" }, + { name = "prompt-toolkit" }, + { name = "psutil", marker = "sys_platform != 'cygwin' and sys_platform != 'emscripten'" }, + { name = "pygments" }, + { name = "stack-data" }, + { name = "traitlets" }, + { name = "typing-extensions", marker = "python_full_version < '3.12' or python_full_version >= '3.15'" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/b9/32/99451b1283ec5d92ad77073f12e1c667dc10775384d8f15c2914207149dd/ipython-9.17.1.tar.gz", hash = "sha256:8919be8c27f20a6f4423145028063f6637b42a03ce57665bb12015ee1f073529", size = 4539289, upload-time = "2026-09-01T08:29:32.6Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/2d/1e/65b59cf518c106aa755e7f7da3099027738687a862ec785060702a481320/ipython-9.17.1-py3-none-any.whl", hash = "sha256:6d1645743cfd1a07eb695d85aa2b5fa66721f8cbae9431d4049f7084bbf06509", size = 639038, upload-time = "2026-09-01T08:29:30.673Z" }, +] + +[[package]] +name = "ipython-pygments-lexers" +version = "1.1.1" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "pygments" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/ef/4c/5dd1d8af08107f88c7f741ead7a40854b8ac24ddf9ae850afbcf698aa552/ipython_pygments_lexers-1.1.1.tar.gz", hash = "sha256:09c0138009e56b6854f9535736f4171d855c8c08a563a0dcd8022f78355c7e81", size = 8393, upload-time = "2025-01-17T11:24:34.505Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/d9/33/1f075bf72b0b747cb3288d011319aaf64083cf2efef8354174e3ed4540e2/ipython_pygments_lexers-1.1.1-py3-none-any.whl", hash = "sha256:a9462224a505ade19a605f71f8fa63c2048833ce50abc86768a0d81d876dc81c", size = 8074, upload-time = "2025-01-17T11:24:33.271Z" }, +] + +[[package]] +name = "isoduration" +version = "20.11.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "arrow" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/7c/1a/3c8edc664e06e6bd06cce40c6b22da5f1429aa4224d0c590f3be21c91ead/isoduration-20.11.0.tar.gz", hash = "sha256:ac2f9015137935279eac671f94f89eb00584f940f5dc49462a0c4ee692ba1bd9", size = 11649, upload-time = "2020-11-01T11:00:00.312Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/7b/55/e5326141505c5d5e34c5e0935d2908a74e4561eca44108fbfb9c13d2911a/isoduration-20.11.0-py3-none-any.whl", hash = "sha256:b2904c2a4228c3d44f409c8ae8e2370eb21a26f7ac2ec5446df141dde3452042", size = 11321, upload-time = "2020-11-01T10:59:58.02Z" }, +] + +[[package]] +name = "jedi" +version = "0.20.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "parso" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/46/b7/a3635f6a2d7cf5b5dd98064fc1d5fbbafcb25477bcea204a3a92145d158b/jedi-0.20.0.tar.gz", hash = "sha256:c3f4ccbd276696f4b19c54618d4fb18f9fc24b0aef02acf704b23f487daa1011", size = 3119416, upload-time = "2026-05-01T23:38:47.814Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/9a/93/242e2eab5fe682ffcb8b0084bde703a41d51e17ee0f3a31ff0d9d813620a/jedi-0.20.0-py2.py3-none-any.whl", hash = "sha256:7bdd9c2634f56713299976f4cbd59cb3fa92165cc5e05ea811fb253480728b67", size = 4884812, upload-time = "2026-05-01T23:38:43.919Z" }, +] + +[[package]] +name = "jinja2" +version = "3.1.6" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "markupsafe" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/df/bf/f7da0350254c0ed7c72f3e33cef02e048281fec7ecec5f032d4aac52226b/jinja2-3.1.6.tar.gz", hash = "sha256:0137fb05990d35f1275a587e9aee6d56da821fc83491a0fb838183be43f66d6d", size = 245115, upload-time = "2025-03-05T20:05:02.478Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/62/a1/3d680cbfd5f4b8f15abc1d571870c5fc3e594bb582bc3b64ea099db13e56/jinja2-3.1.6-py3-none-any.whl", hash = "sha256:85ece4451f492d0c13c5dd7c13a64681a86afae63a5f347908daf103ce6d2f67", size = 134899, upload-time = "2025-03-05T20:05:00.369Z" }, +] + +[[package]] +name = "json5" +version = "0.15.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/e4/7d/05c46a96a78147ae3bf99c2f4169ce144a70220b8d6fcd56f6ec368b8ce9/json5-0.15.0.tar.gz", hash = "sha256:7424d1f1eb1d56da6e3d70643f53619862b4ce81440bdb8ecfd6f875e5ba4a71", size = 53278, upload-time = "2026-06-19T20:08:27.716Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/eb/be/59527c99478aade6bb33a68d72e6e18dd4e6ff6eacfc7d01bdb15bc76912/json5-0.15.0-py3-none-any.whl", hash = "sha256:56636a30c0e8a4665fe2179c0212f32eae3796dea89ea6f649b9436ecdb39618", size = 36570, upload-time = "2026-06-19T20:08:26.748Z" }, +] + +[[package]] +name = "jsonpointer" +version = "3.1.1" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/18/c7/af399a2e7a67fd18d63c40c5e62d3af4e67b836a2107468b6a5ea24c4304/jsonpointer-3.1.1.tar.gz", hash = "sha256:0b801c7db33a904024f6004d526dcc53bbb8a4a0f4e32bfd10beadf60adf1900", size = 9068, upload-time = "2026-03-23T22:32:32.458Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/9e/6a/a83720e953b1682d2d109d3c2dbb0bc9bf28cc1cbc205be4ef4be5da709d/jsonpointer-3.1.1-py3-none-any.whl", hash = "sha256:8ff8b95779d071ba472cf5bc913028df06031797532f08a7d5b602d8b2a488ca", size = 7659, upload-time = "2026-03-23T22:32:31.568Z" }, +] + +[[package]] +name = "jsonschema" +version = "4.26.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "attrs" }, + { name = "jsonschema-specifications" }, + { name = "referencing" }, + { name = "rpds-py" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/b3/fc/e067678238fa451312d4c62bf6e6cf5ec56375422aee02f9cb5f909b3047/jsonschema-4.26.0.tar.gz", hash = "sha256:0c26707e2efad8aa1bfc5b7ce170f3fccc2e4918ff85989ba9ffa9facb2be326", size = 366583, upload-time = "2026-01-07T13:41:07.246Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/69/90/f63fb5873511e014207a475e2bb4e8b2e570d655b00ac19a9a0ca0a385ee/jsonschema-4.26.0-py3-none-any.whl", hash = "sha256:d489f15263b8d200f8387e64b4c3a75f06629559fb73deb8fdfb525f2dab50ce", size = 90630, upload-time = "2026-01-07T13:41:05.306Z" }, +] + +[package.optional-dependencies] +format-nongpl = [ + { name = "fqdn" }, + { name = "idna" }, + { name = "isoduration" }, + { name = "jsonpointer" }, + { name = "rfc3339-validator" }, + { name = "rfc3986-validator" }, + { name = "rfc3987-syntax" }, + { name = "uri-template" }, + { name = "webcolors" }, +] + +[[package]] +name = "jsonschema-specifications" +version = "2025.9.1" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "referencing" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/19/74/a633ee74eb36c44aa6d1095e7cc5569bebf04342ee146178e2d36600708b/jsonschema_specifications-2025.9.1.tar.gz", hash = "sha256:b540987f239e745613c7a9176f3edb72b832a4ac465cf02712288397832b5e8d", size = 32855, upload-time = "2025-09-08T01:34:59.186Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/41/45/1a4ed80516f02155c51f51e8cedb3c1902296743db0bbc66608a0db2814f/jsonschema_specifications-2025.9.1-py3-none-any.whl", hash = "sha256:98802fee3a11ee76ecaca44429fda8a41bff98b00a0f2838151b113f210cc6fe", size = 18437, upload-time = "2025-09-08T01:34:57.871Z" }, +] + +[[package]] +name = "jupyter-builder" +version = "1.2.3" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "jupyter-core" }, + { name = "traitlets" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/75/3e/56f593e6a664cd14d441724654ce8243f3cac7d3e45867cf084749c8bc75/jupyter_builder-1.2.3.tar.gz", hash = "sha256:01aba6794eb9b19e0e29ae21137ca60ba4135c70347d4b9f664a586822b8c809", size = 1024218, upload-time = "2026-09-04T18:54:09.411Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/84/aa/be79e87c50698673f196d0633fc1664607da2289f9688d1de7a1c9db9e71/jupyter_builder-1.2.3-py3-none-any.whl", hash = "sha256:c5ea5a7190c2a7b082494abade98eece1b2b5bd5dbd7d610606cbcd10a1d08b3", size = 947541, upload-time = "2026-09-04T18:54:07.644Z" }, +] + +[[package]] +name = "jupyter-client" +version = "8.10.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "jupyter-core" }, + { name = "python-dateutil" }, + { name = "pyzmq" }, + { name = "tornado" }, + { name = "traitlets" }, + { name = "typing-extensions" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/c5/2a/906772148a06e48885039e0250c340b770a55bbf37b08d6ee0449df369c3/jupyter_client-8.10.0.tar.gz", hash = "sha256:9f7116294dca55f1785be880057d44544db9b1567718d92cb33c58886afb9497", size = 360653, upload-time = "2026-08-28T12:17:10.854Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/0f/88/7c548de1f6c2ade7c931a3282da73f9274fa6a1531091be682f89c85efb9/jupyter_client-8.10.0-py3-none-any.whl", hash = "sha256:5f73f24f22fa25192cfff6b23c051932a2473a797b05734aff495b392103e14e", size = 110184, upload-time = "2026-08-28T12:17:09.028Z" }, +] + +[[package]] +name = "jupyter-core" +version = "5.9.1" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "platformdirs" }, + { name = "traitlets" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/02/49/9d1284d0dc65e2c757b74c6687b6d319b02f822ad039e5c512df9194d9dd/jupyter_core-5.9.1.tar.gz", hash = "sha256:4d09aaff303b9566c3ce657f580bd089ff5c91f5f89cf7d8846c3cdf465b5508", size = 89814, upload-time = "2025-10-16T19:19:18.444Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/e7/e7/80988e32bf6f73919a113473a604f5a8f09094de312b9d52b79c2df7612b/jupyter_core-5.9.1-py3-none-any.whl", hash = "sha256:ebf87fdc6073d142e114c72c9e29a9d7ca03fad818c5d300ce2adc1fb0743407", size = 29032, upload-time = "2025-10-16T19:19:16.783Z" }, +] + +[[package]] +name = "jupyter-events" +version = "0.12.1" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "jsonschema", extra = ["format-nongpl"] }, + { name = "packaging" }, + { name = "python-json-logger" }, + { name = "pyyaml" }, + { name = "referencing" }, + { name = "rfc3339-validator" }, + { name = "rfc3986-validator" }, + { name = "traitlets" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/18/f8/475c4241b2b75af0deaae453ed003c6c851766dbc44d332d8baf245dc931/jupyter_events-0.12.1.tar.gz", hash = "sha256:faff25f77218335752f35f23c5fe6e4a392a7bd99a5939ccb9b8fbf594636cf3", size = 62854, upload-time = "2026-04-20T23:17:50.66Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/eb/6c/6fcde0c8f616ed360ffd3587f7db9e225a7e62b583a04494d2f069cf64ea/jupyter_events-0.12.1-py3-none-any.whl", hash = "sha256:c366585253f537a627da52fa7ca7410c5b5301fe893f511e7b077c2d93ec8bcf", size = 19512, upload-time = "2026-04-20T23:17:48.927Z" }, +] + +[[package]] +name = "jupyter-lsp" +version = "2.3.1" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "jupyter-server" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/36/ff/1e4a61f5170a9a1d978f3ac3872449de6c01fc71eaf89657824c878b1549/jupyter_lsp-2.3.1.tar.gz", hash = "sha256:fdf8a4aa7d85813976d6e29e95e6a2c8f752701f926f2715305249a3829805a6", size = 55677, upload-time = "2026-04-02T08:10:06.749Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/23/e8/9d61dcbd1dce8ef418f06befd4ac084b4720429c26b0b1222bc218685eff/jupyter_lsp-2.3.1-py3-none-any.whl", hash = "sha256:71b954d834e85ff3096400554f2eefaf7fe37053036f9a782b0f7c5e42dadb81", size = 77513, upload-time = "2026-04-02T08:10:01.753Z" }, +] + +[[package]] +name = "jupyter-server" +version = "2.21.1" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "anyio" }, + { name = "argon2-cffi" }, + { name = "jinja2" }, + { name = "jupyter-client" }, + { name = "jupyter-core" }, + { name = "jupyter-events" }, + { name = "jupyter-server-terminals" }, + { name = "nbconvert" }, + { name = "nbformat" }, + { name = "overrides", marker = "python_full_version < '3.12' or python_full_version >= '3.15'" }, + { name = "packaging" }, + { name = "prometheus-client" }, + { name = "pywinpty", marker = "os_name == 'nt'" }, + { name = "pyzmq" }, + { name = "send2trash" }, + { name = "terminado" }, + { name = "tornado" }, + { name = "traitlets" }, + { name = "websocket-client" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/65/3d/3c9f8bce5d5448107bd285cd80185e76c9c871d076b580dfd90997e52904/jupyter_server-2.21.1.tar.gz", hash = "sha256:a8960aa29263f6041283e97d4756b099fb49b767baab6371891ecb1bd40a63df", size = 761651, upload-time = "2026-09-15T16:00:07.853Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/1d/39/91bc08650cc8e3efeb7a83c25e20ebddcc9b70d28b4eb6f51a4fb55da7a4/jupyter_server-2.21.1-py3-none-any.whl", hash = "sha256:2a6467606af7dbae2e7e31640030025969e15db6a649eae334af90415dc71dca", size = 394641, upload-time = "2026-09-15T16:00:05.526Z" }, +] + +[[package]] +name = "jupyter-server-terminals" +version = "0.5.4" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "pywinpty", marker = "os_name == 'nt'" }, + { name = "terminado" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/f4/a7/bcd0a9b0cbba88986fe944aaaf91bfda603e5a50bda8ed15123f381a3b2f/jupyter_server_terminals-0.5.4.tar.gz", hash = "sha256:bbda128ed41d0be9020349f9f1f2a4ab9952a73ed5f5ac9f1419794761fb87f5", size = 31770, upload-time = "2026-01-14T16:53:20.213Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/d1/2d/6674563f71c6320841fc300911a55143925112a72a883e2ca71fba4c618d/jupyter_server_terminals-0.5.4-py3-none-any.whl", hash = "sha256:55be353fc74a80bc7f3b20e6be50a55a61cd525626f578dcb66a5708e2007d14", size = 13704, upload-time = "2026-01-14T16:53:18.738Z" }, +] + +[[package]] +name = "jupyterlab" +version = "4.6.4" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "async-lru" }, + { name = "httpx" }, + { name = "ipykernel" }, + { name = "jinja2" }, + { name = "jupyter-builder" }, + { name = "jupyter-core" }, + { name = "jupyter-lsp" }, + { name = "jupyter-server" }, + { name = "jupyterlab-server" }, + { name = "notebook-shim" }, + { name = "packaging" }, + { name = "tornado" }, + { name = "traitlets" }, + { name = "typing-extensions", marker = "python_full_version < '3.12' or python_full_version >= '3.15'" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/33/8d/995cc142f6083346b35e7d3eadc5a6717ee89ce64ea53577010ac493bc3c/jupyterlab-4.6.4.tar.gz", hash = "sha256:404f49b081819378524886c9db66dba57a5565981eff885830df1baba3a17df5", size = 28335647, upload-time = "2026-09-21T15:25:18.779Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/3b/e4/072bc0d3c6d45d414062a06af7ee81c02a2c12d769c358ec9919f9995ffd/jupyterlab-4.6.4-py3-none-any.whl", hash = "sha256:15b13f991d3985129c797eb84d9949eeb8b6615e14b444868e642411f2c418b2", size = 17171596, upload-time = "2026-09-21T15:25:14.123Z" }, +] + +[[package]] +name = "jupyterlab-pygments" +version = "0.3.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/90/51/9187be60d989df97f5f0aba133fa54e7300f17616e065d1ada7d7646b6d6/jupyterlab_pygments-0.3.0.tar.gz", hash = "sha256:721aca4d9029252b11cfa9d185e5b5af4d54772bb8072f9b7036f4170054d35d", size = 512900, upload-time = "2023-11-23T09:26:37.44Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/b1/dd/ead9d8ea85bf202d90cc513b533f9c363121c7792674f78e0d8a854b63b4/jupyterlab_pygments-0.3.0-py3-none-any.whl", hash = "sha256:841a89020971da1d8693f1a99997aefc5dc424bb1b251fd6322462a1b8842780", size = 15884, upload-time = "2023-11-23T09:26:34.325Z" }, +] + +[[package]] +name = "jupyterlab-server" +version = "2.28.1" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "babel" }, + { name = "jinja2" }, + { name = "json5" }, + { name = "jsonschema" }, + { name = "jupyter-server" }, + { name = "packaging" }, + { name = "requests" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/16/c5/08946a10b81bd64408d8b78cb352e17fe52d3ee11c2aef00a0f06e506938/jupyterlab_server-2.28.1.tar.gz", hash = "sha256:0c3c2418d51021ce280916e63dfe4cba8386b4e2787be5c25433c98f560ddb31", size = 78141, upload-time = "2026-09-15T19:22:09.935Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/23/d3/996332fe24f3c2458b9c353b998570dfa2631763e9a8674ba3f94c0877d0/jupyterlab_server-2.28.1-py3-none-any.whl", hash = "sha256:4bd36c7c11d872e15cefa4951e12380a47e6901687165332dd50a007cb367ad9", size = 60197, upload-time = "2026-09-15T19:22:08.201Z" }, +] + +[[package]] +name = "kiwisolver" +version = "1.5.1" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/ba/07/bd78e6a8fae171ea041ef5bba3ed21a003522fa088834b069b1909981f30/kiwisolver-1.5.1.tar.gz", hash = "sha256:f1303ef2eec81262a4b708c3e858afe58d7c75ad91c1c05266eda7673369859a", size = 104395, upload-time = "2026-08-28T10:28:27.153Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/94/7b/2de6908edc668427c149af5f93112e931f87e1fa4cab80bac32c5844dccc/kiwisolver-1.5.1-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:b3d78f7bb2b9d9a30345be1474b9aaa8685430b54afb51ba3639b5c6c11e9ed6", size = 123364, upload-time = "2026-08-28T10:25:04.359Z" }, + { url = "https://files.pythonhosted.org/packages/8a/24/e70914415c77c97be7e22c80a0740869cb7428768cc380fdcdf6703e7084/kiwisolver-1.5.1-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:5025e36fb4fb275cef0a4e30dbb11cb4ae61d1c83deb90189cb5d7e4cafd6b55", size = 66558, upload-time = "2026-08-28T10:25:05.506Z" }, + { url = "https://files.pythonhosted.org/packages/e8/2b/8b08b11833db4d475b8ef1f36174f8d8a7abd31bedd7e794be78e8814b48/kiwisolver-1.5.1-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:dc1a26b8e53395a01c2c611e58602fa47461f136fba7cd5542e6db6d64be1839", size = 64071, upload-time = "2026-08-28T10:25:06.7Z" }, + { url = "https://files.pythonhosted.org/packages/89/00/05c2d0369ac322d22d5c05f84b5c4a6856fa6207fbae42869108a28f0383/kiwisolver-1.5.1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:95a02752aa032eef4aed01cda6d9b687c669bd0396bf4519eef8bba22a286720", size = 1438206, upload-time = "2026-08-28T10:25:08.254Z" }, + { url = "https://files.pythonhosted.org/packages/c0/05/c941a139f27438c1910d630fdc3ccfdab7c8407c72052299ead12ece086e/kiwisolver-1.5.1-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:719a35fa1156db3640555f95ebb94f60a444e64d1c69626b0edef5df78eba225", size = 1248975, upload-time = "2026-08-28T10:25:10.053Z" }, + { url = "https://files.pythonhosted.org/packages/58/a1/2669ee5512e39b9d4de25faacaedf788c957f93730c5f7c63993ec4f5933/kiwisolver-1.5.1-cp311-cp311-manylinux_2_24_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:febcce10f2bcdbb80b4ea919238a6a4ac13dbc4c7cadbe8d5d75c3682f8b5404", size = 1266301, upload-time = "2026-08-28T10:25:11.754Z" }, + { url = "https://files.pythonhosted.org/packages/28/b8/353f52f2c7f861a9e90cd2e8f90f85b3ad03060835f823e08298d094c463/kiwisolver-1.5.1-cp311-cp311-manylinux_2_24_s390x.manylinux_2_28_s390x.whl", hash = "sha256:1d852545c4d0e35a72728d072cbaa59e2fa7dd84bdf01e068d670dd0ceb58eb6", size = 1319708, upload-time = "2026-08-28T10:25:13.559Z" }, + { url = "https://files.pythonhosted.org/packages/21/0e/14b83200eadc2c1d63b76bac01c1813bf072aecf567429f303e00b70258e/kiwisolver-1.5.1-cp311-cp311-manylinux_2_39_riscv64.whl", hash = "sha256:2e10ae1bba1899188b33557c10d73affcc12033edd18adddb57d209039976a4c", size = 971720, upload-time = "2026-08-28T10:25:14.934Z" }, + { url = "https://files.pythonhosted.org/packages/86/91/9d43d84d23b1cbff72a142d387ead1ea03db0cba8ff86ed5335addad3cc9/kiwisolver-1.5.1-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:b69602970994a2ed8bbfa78c2f0394a7435226c6040489702d9f0a0ad0c07052", size = 2200119, upload-time = "2026-08-28T10:25:16.636Z" }, + { url = "https://files.pythonhosted.org/packages/ff/7c/f2bd9616f27ffb5e17cecc0baa5d0bbcee7e55aeddc0ccc871d69e2fc3ee/kiwisolver-1.5.1-cp311-cp311-musllinux_1_2_ppc64le.whl", hash = "sha256:d50de98e8d807dc31822fff96f50293163a62418eb65487a21b42713d72ed0b7", size = 2295005, upload-time = "2026-08-28T10:25:18.374Z" }, + { url = "https://files.pythonhosted.org/packages/ba/17/ee671b72bf8f46a08379d4392c65582541759a542428197562f2898294ad/kiwisolver-1.5.1-cp311-cp311-musllinux_1_2_riscv64.whl", hash = "sha256:3221f78211074f561c44ca42eac0619828171bec15a2c4cf6f7747d07df76e8e", size = 1960982, upload-time = "2026-08-28T10:25:19.893Z" }, + { url = "https://files.pythonhosted.org/packages/2e/f7/0e26b4c05bee3bdb0f048dfa305e4fe701999ea17b51e9c616ef91035bbe/kiwisolver-1.5.1-cp311-cp311-musllinux_1_2_s390x.whl", hash = "sha256:0ba9527afc80ae3d7814ed98b6572d02bf85eaf48065678342c5f0c6dab7a8c7", size = 2464918, upload-time = "2026-08-28T10:25:21.65Z" }, + { url = "https://files.pythonhosted.org/packages/ae/62/6eb431133d30ce656ac1e5ff72fac70dd34d54c3984f4011b9ac8bf77d54/kiwisolver-1.5.1-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:e12dfea7f5fc2a34a9080efbf79c4c44eb380ec5b9c6fea09407e08f0d1e941d", size = 2270967, upload-time = "2026-08-28T10:25:23.643Z" }, + { url = "https://files.pythonhosted.org/packages/bf/9f/6f9e489c188200e6fb3193935501894811e8c97577c8ffe9033589bf3521/kiwisolver-1.5.1-cp311-cp311-win_amd64.whl", hash = "sha256:1a7587dc335f2c0f5bd577fd0540bd16c66006bdb60f759a1059f025e6c4f071", size = 70744, upload-time = "2026-08-28T10:25:25.061Z" }, + { url = "https://files.pythonhosted.org/packages/c6/6d/dfc430d1d43957061599adea3f08ea982bb6f4ab601a8c974bedcf2ba850/kiwisolver-1.5.1-cp311-cp311-win_arm64.whl", hash = "sha256:e4e4523d6f336708d732516e6cfca7796cf3d96c9474eb5aecf6165f2f1fefc3", size = 68404, upload-time = "2026-08-28T10:25:26.186Z" }, + { url = "https://files.pythonhosted.org/packages/6b/9b/65b302742389c6f96f2956bef5decf26011309feb2fc5d79613af18adea4/kiwisolver-1.5.1-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:63fb7294b768f444eb4b068965f2662f28c2fd4161e23bd60fcf3ff27b74c046", size = 123876, upload-time = "2026-08-28T10:25:27.44Z" }, + { url = "https://files.pythonhosted.org/packages/71/74/c21f339956f6f691b2ed7e31d5f3ae767304df6c460192739fc830853051/kiwisolver-1.5.1-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:0ebdef3eae5336568147c39a55be6a2036ffde53faa9ca2d978989ae7c2da12c", size = 66487, upload-time = "2026-08-28T10:25:28.728Z" }, + { url = "https://files.pythonhosted.org/packages/84/e5/bdb34e21523e01dceda064d63713f3bdec91388af24fba1eca7ea5e85864/kiwisolver-1.5.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:1798e83840c3f627246104c4d8a9639c60fa068adf9ce92b61791781fa8a68c1", size = 64660, upload-time = "2026-08-28T10:25:30.071Z" }, + { url = "https://files.pythonhosted.org/packages/fc/f4/dadfec469313c7f428efa7e84b4aba9732f813c13ea7131a24b7b008ef57/kiwisolver-1.5.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:34633ecf50d16187ab8e5528b7a2530f2feb4e23f300db4672538b51cfc5cd38", size = 1477929, upload-time = "2026-08-28T10:25:31.495Z" }, + { url = "https://files.pythonhosted.org/packages/6f/35/09c58daac34e6f6ea5c6dee0094b422118e5a7c265586008a95fd135ac5f/kiwisolver-1.5.1-cp312-cp312-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:d27c2123977cb9269c30a49ba45f03a4323017ef693e19db4ec9dbe1299a3002", size = 1278499, upload-time = "2026-08-28T10:25:33.375Z" }, + { url = "https://files.pythonhosted.org/packages/19/32/739765e24fbad29d13f83e546ea4abc215a78cea9d677ca09025b027724d/kiwisolver-1.5.1-cp312-cp312-manylinux_2_24_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:6a797a1cefc8b9c93170db580337e1fe3d011ad18b1299943231279406342048", size = 1296677, upload-time = "2026-08-28T10:25:35.059Z" }, + { url = "https://files.pythonhosted.org/packages/df/32/03304d1010e2cc45e5b3b52cef7e43fed3a2a5cd6c87a89b4a88e1d85b5d/kiwisolver-1.5.1-cp312-cp312-manylinux_2_24_s390x.manylinux_2_28_s390x.whl", hash = "sha256:2551cf9917af48ee7c4b29cc82320489508cf96fd26a51f6fc124de661cd44c7", size = 1346037, upload-time = "2026-08-28T10:25:36.705Z" }, + { url = "https://files.pythonhosted.org/packages/3e/57/4c49377bfd274450dd72ecaa13eaac32ea804a03363e4d1db0c5aa999ceb/kiwisolver-1.5.1-cp312-cp312-manylinux_2_39_riscv64.whl", hash = "sha256:38f6e0deb4d0a4615efe0c4efc5990b06ae450ab50a0b321c0b078b6d238c083", size = 988248, upload-time = "2026-08-28T10:25:38.299Z" }, + { url = "https://files.pythonhosted.org/packages/cb/c3/38df144a08b6c5d75ca4504e5cc3141bb3bfef64c04f4ef48204f42711b6/kiwisolver-1.5.1-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:bfd1de989b3330420e29de39352f5c049905c9e3ee67233a50d550e3d652c148", size = 2228722, upload-time = "2026-08-28T10:25:40.038Z" }, + { url = "https://files.pythonhosted.org/packages/e7/11/3221838a89cd64d9b386353e000cd8a296069a20fbe3584507fdfd5bebae/kiwisolver-1.5.1-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:1209042a623ddfda5497e4066c7b77651dde8e1d3a9dd97599dc7e97f3b9b78c", size = 2325216, upload-time = "2026-08-28T10:25:41.699Z" }, + { url = "https://files.pythonhosted.org/packages/83/d4/075c219230697bb5db910d37262b9bacf880f92b4811a02ab81ed073a253/kiwisolver-1.5.1-cp312-cp312-musllinux_1_2_riscv64.whl", hash = "sha256:26e8268480be5061d509e29669d59103c067a26377a56491630ece11762e3858", size = 1977689, upload-time = "2026-08-28T10:25:43.559Z" }, + { url = "https://files.pythonhosted.org/packages/bb/08/1d219c3c2dd960983d0d4da623d916e9de6385df2b0bab3d1af0e9b8fccc/kiwisolver-1.5.1-cp312-cp312-musllinux_1_2_s390x.whl", hash = "sha256:d79308fa689fac89cbcfbd4dbfc80b5f95c54c5a7fd4d194be221f9d33d026e6", size = 2491443, upload-time = "2026-08-28T10:25:45.242Z" }, + { url = "https://files.pythonhosted.org/packages/ba/d3/024208ec1079d273f1047468d1bdffbf38bb75b7b268090fd3a0301b9d9a/kiwisolver-1.5.1-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:b03af77d77e50edba2030fd5f7c352ff209314b09030a3cba7c14edf9a09a444", size = 2295200, upload-time = "2026-08-28T10:25:46.984Z" }, + { url = "https://files.pythonhosted.org/packages/6e/7c/7b210498f9f92e1cd7855f260fa69ef056881087b199ee20c208f0e4189a/kiwisolver-1.5.1-cp312-cp312-win_amd64.whl", hash = "sha256:06a6917674de9e0fe3f66f5430787f59a9f2ddb64af9b714eaec547e29ef5c19", size = 70748, upload-time = "2026-08-28T10:25:48.444Z" }, + { url = "https://files.pythonhosted.org/packages/94/61/ef0daa157c8bb23672f7423e0d14c39db1dc6ef8ed47e6bc54c9c1bef3bf/kiwisolver-1.5.1-cp312-cp312-win_arm64.whl", hash = "sha256:ad8b9671348d7c8716715652ae11f85ed0eb99e265a2df2ca490577d69860b2c", size = 68324, upload-time = "2026-08-28T10:25:49.81Z" }, + { url = "https://files.pythonhosted.org/packages/08/c1/88018321d976f53c421e379c43bc6993e70ce0c8a3ec5edc4bfe102257f6/kiwisolver-1.5.1-cp313-cp313-ios_13_0_arm64_iphoneos.whl", hash = "sha256:b6ae6a0328f0bc035741820fdeecdcd67bf4694eee03972e843663107122f450", size = 62272, upload-time = "2026-08-28T10:25:51.02Z" }, + { url = "https://files.pythonhosted.org/packages/85/d2/712bc17ea4f1d216034928069d612defbc6c95a471c55a7203a39faecb1a/kiwisolver-1.5.1-cp313-cp313-ios_13_0_arm64_iphonesimulator.whl", hash = "sha256:886fc26012f0e8b5f69d1cfe6d711f6b11f194621539bf8e6bb1c25c5dc82724", size = 64481, upload-time = "2026-08-28T10:25:52.22Z" }, + { url = "https://files.pythonhosted.org/packages/1b/e6/6c5380d676f43b6d918033962ea5e72360ca69e5a404154bc496b598ffdb/kiwisolver-1.5.1-cp313-cp313-ios_13_0_x86_64_iphonesimulator.whl", hash = "sha256:aefe930d113798330e9462f7874542977869c0613cba3262e2de3a8d5dee8f3a", size = 66260, upload-time = "2026-08-28T10:25:53.387Z" }, + { url = "https://files.pythonhosted.org/packages/92/6a/7087f5822cc8bb272679641404b1966a42504dac9ee74e2b33840475a0aa/kiwisolver-1.5.1-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:a5ca5aebae78a0bc13c1943af4af615d4966c5b650b05d5aa83b50e427196fee", size = 123876, upload-time = "2026-08-28T10:25:54.644Z" }, + { url = "https://files.pythonhosted.org/packages/5c/4b/9f385087ca09ee5ab9c09c6832561a7d2f7c78d3e5661d511e669f70e439/kiwisolver-1.5.1-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:1ed0f5e49d0ceff8b72190824d9e59c062fbbc02c231b853112c78474b3f5ec2", size = 66487, upload-time = "2026-08-28T10:25:55.899Z" }, + { url = "https://files.pythonhosted.org/packages/47/8b/40d33ffd2f378094ed462e9a9a0907e59d4de9845e65a59561272da350d4/kiwisolver-1.5.1-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:77a4c8187a5948d7f8795adb765a3c7b553d07d86d88e43038fc32fc1fb9a3f3", size = 64673, upload-time = "2026-08-28T10:25:57.048Z" }, + { url = "https://files.pythonhosted.org/packages/ab/43/86aacc027959108b4c66eeae8b73cedb057dfa6eb3a335d05ad65197081c/kiwisolver-1.5.1-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:74ad5c3dad54a4641b4c28cd15ded70899d04459c6c7aeacafea716be97cce6d", size = 1477992, upload-time = "2026-08-28T10:25:58.479Z" }, + { url = "https://files.pythonhosted.org/packages/ed/40/b1d0369048c79733a32c8abb0f2718532e6630641368e33a81384246e844/kiwisolver-1.5.1-cp313-cp313-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:21e46b23a2da695c364124817bc01d970effd5483147f8d66a6a7167e3f6b851", size = 1278821, upload-time = "2026-08-28T10:26:00.121Z" }, + { url = "https://files.pythonhosted.org/packages/61/a1/fa71c1792272ff9461432715ae60ffb7e11a4d7ac3bf68961b9cab6c60cf/kiwisolver-1.5.1-cp313-cp313-manylinux_2_24_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:75d9b1cf8258462dbdc1eeda718c96ea7f079324c09067f6daabfcf37712b7fe", size = 1296805, upload-time = "2026-08-28T10:26:01.868Z" }, + { url = "https://files.pythonhosted.org/packages/a3/49/3f0bd94af8e06ecc47eb834b195a06f05d48711ceb2352c56d6835160f0e/kiwisolver-1.5.1-cp313-cp313-manylinux_2_24_s390x.manylinux_2_28_s390x.whl", hash = "sha256:8fca690b00c4c48f6c2a547b0160ed511357093a4e4c9b47e0fadf3128066d89", size = 1346109, upload-time = "2026-08-28T10:26:03.59Z" }, + { url = "https://files.pythonhosted.org/packages/a4/44/3afe6ef9cf06d61220953a8963e94eca978491be1d9547cb01d82a1efa08/kiwisolver-1.5.1-cp313-cp313-manylinux_2_39_riscv64.whl", hash = "sha256:876bbfd276473d3daffe30e8c975df4ed9429967b41a6cb362dbb5155b6f13ad", size = 988252, upload-time = "2026-08-28T10:26:05.306Z" }, + { url = "https://files.pythonhosted.org/packages/e4/30/a12bd7a7285a211e1747c3eec77b8c614dbfcc1dad942f7611a1a6921ae5/kiwisolver-1.5.1-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:f942903fde7363d1d879057ec5de01310efda2597161784d752fa9953a01a71a", size = 2228846, upload-time = "2026-08-28T10:26:07.312Z" }, + { url = "https://files.pythonhosted.org/packages/a1/6b/233e2958abf0dab7b18d07e52f286e02e519d7651bfbbe97af9347564109/kiwisolver-1.5.1-cp313-cp313-musllinux_1_2_ppc64le.whl", hash = "sha256:c90d3022d8a94778939cda8638c6c8da8fa757b8958dad7ec868ce29c87681b8", size = 2325583, upload-time = "2026-08-28T10:26:09.093Z" }, + { url = "https://files.pythonhosted.org/packages/42/8e/7673060a27b01405b580058510adef34687069d229800239f5e44682d4d0/kiwisolver-1.5.1-cp313-cp313-musllinux_1_2_riscv64.whl", hash = "sha256:8a34616dc2521cc8dc1d7d081734da63539f021ac0450ce950908340c6e7aa2f", size = 1978221, upload-time = "2026-08-28T10:26:11.127Z" }, + { url = "https://files.pythonhosted.org/packages/3f/7b/1b882fc1a8b4a0bb8084e7d1d85004116d08c92c0705d31f2928dec607f2/kiwisolver-1.5.1-cp313-cp313-musllinux_1_2_s390x.whl", hash = "sha256:8bf4df63592c2a66b4f8edc5df2544998c288aa02f96ce0acd880cd1de8c8127", size = 2491819, upload-time = "2026-08-28T10:26:13.348Z" }, + { url = "https://files.pythonhosted.org/packages/39/9c/426deb49e62c5f69464b64bbeca064d3b758a7506b8913d986ef34f4619c/kiwisolver-1.5.1-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:d09037ca068d784ebc4aec290ef952ca27ac15dd9c0b5801a88c6e1096b83e6b", size = 2295520, upload-time = "2026-08-28T10:26:15.042Z" }, + { url = "https://files.pythonhosted.org/packages/f5/22/deabbb3ad6d918d74b7831b2d8ae7151b09d21c87974e5ee8a456f58c94c/kiwisolver-1.5.1-cp313-cp313-win_amd64.whl", hash = "sha256:dc23390afe9f4ef9ac3bcc72a03a56eebbde03f4c571a32cb38f859cff9a6524", size = 70758, upload-time = "2026-08-28T10:26:16.504Z" }, + { url = "https://files.pythonhosted.org/packages/b9/71/02fa5c2fd92068bb8952847e70ee6c5cb280e7febe11653d17812acc53dd/kiwisolver-1.5.1-cp313-cp313-win_arm64.whl", hash = "sha256:186884a58486651e3c217b6acea0a53eaa9498fdd472057c46f2f0fb5c25aad5", size = 68329, upload-time = "2026-08-28T10:26:17.658Z" }, + { url = "https://files.pythonhosted.org/packages/dd/87/2d5dfad0daf17dcc18d98c48ed2332fc3f051cf599e60be6182a30dd4cf1/kiwisolver-1.5.1-cp314-cp314-ios_13_0_arm64_iphoneos.whl", hash = "sha256:0324cd2567259b7a095f6cf18a52b0ffc6f3de9e69528ff1bc0e7a37bd43ff1a", size = 62337, upload-time = "2026-08-28T10:26:18.778Z" }, + { url = "https://files.pythonhosted.org/packages/08/c8/83e1624f15d6262b470dbcc80b09979fd4d5b2ea3ddfc6b6e3327e235726/kiwisolver-1.5.1-cp314-cp314-ios_13_0_arm64_iphonesimulator.whl", hash = "sha256:74ea337e0ec3f6f342a36a4f1b5cd94dd9affddcd28ba9aae2905af932ee8c6b", size = 64513, upload-time = "2026-08-28T10:26:19.909Z" }, + { url = "https://files.pythonhosted.org/packages/c9/2d/827ec30eb07f528c08d8459ffb318ae91a56d793ee8acbea8b491f0ff906/kiwisolver-1.5.1-cp314-cp314-ios_13_0_x86_64_iphonesimulator.whl", hash = "sha256:ee9df1f0d77b9c6e94f4ac0fec533fbddd5ea3a327807f18d7b069ae019ded80", size = 66287, upload-time = "2026-08-28T10:26:21.078Z" }, + { url = "https://files.pythonhosted.org/packages/53/11/5c43a562529dad8def4b81e5e1877c612a7e0298105a5939b3b409d2079c/kiwisolver-1.5.1-cp314-cp314-macosx_10_15_universal2.whl", hash = "sha256:fc271a6f0a2126958f4090e5507b9da5848927dae331f8f763bd4aa642b3d2cd", size = 123940, upload-time = "2026-08-28T10:26:22.475Z" }, + { url = "https://files.pythonhosted.org/packages/64/db/9bd6c505c95128c258a55236bfbb3a7a3fb6023f863316b6d7d9f3c69052/kiwisolver-1.5.1-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:9b3092d8992a1d69b7a59c3e39f35e1b9be327a17f68a7c35fc17329e337d6f2", size = 66493, upload-time = "2026-08-28T10:26:23.743Z" }, + { url = "https://files.pythonhosted.org/packages/e1/f4/b3007a3ed5c9be73f81161140684cf7d9bdb9c4b632f5f484d2a1c713fb9/kiwisolver-1.5.1-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:c2306e8bb53601979fcb3fa09cc65e031876d9ae01eff2fcbcd7a84ef94d5bc1", size = 64720, upload-time = "2026-08-28T10:26:24.95Z" }, + { url = "https://files.pythonhosted.org/packages/a1/13/08188f0cafa3a800403e4ff62b9aad4e7a17f9c4c7e080dc8f18c64794cf/kiwisolver-1.5.1-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:18a0cfb124546a4c2e6087c5f3029c7f44b37c85b142e0ced71f73a7599ac208", size = 1475867, upload-time = "2026-08-28T10:26:26.393Z" }, + { url = "https://files.pythonhosted.org/packages/8a/3e/053bdc3c9abdb8f2606225eda398adca25c0c91ab90add8222a69db65ee0/kiwisolver-1.5.1-cp314-cp314-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:34ec467940442c9943016fb2d4c81d1ba84351eeca2f1a78f8bc87f1ba0d414c", size = 1282865, upload-time = "2026-08-28T10:26:28.118Z" }, + { url = "https://files.pythonhosted.org/packages/5e/64/a44c341b36b610588cc2f1e89b3cae072a3119aa8be578e90987cd640751/kiwisolver-1.5.1-cp314-cp314-manylinux_2_24_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:a83ee7107df13abe42a54a6654670eef9bb39425cf2e27f65e0007465e1286ab", size = 1300865, upload-time = "2026-08-28T10:26:30.125Z" }, + { url = "https://files.pythonhosted.org/packages/60/5e/7e7d716dca38c714478b741257a5b4a321d9932b8d851551a136dcaf3984/kiwisolver-1.5.1-cp314-cp314-manylinux_2_24_s390x.manylinux_2_28_s390x.whl", hash = "sha256:bebb89489b279b2f5661bbbb2abcc87bcd4a46607bb4a5c966f04f1db6b8df9a", size = 1348071, upload-time = "2026-08-28T10:26:31.829Z" }, + { url = "https://files.pythonhosted.org/packages/10/1a/2b98fdda8bf45b7be317e48ed12393d44334394d315c74b81f4a14c0e31b/kiwisolver-1.5.1-cp314-cp314-manylinux_2_39_riscv64.whl", hash = "sha256:509735237ae0d849e8a843551d423d2500d2e0a9ac1611a145658b29c0fb9f85", size = 992191, upload-time = "2026-08-28T10:26:33.544Z" }, + { url = "https://files.pythonhosted.org/packages/b6/55/d893f5ede0e50f9e3fcf01f6015f42ec7d9cd221e26772701fe4a98745f9/kiwisolver-1.5.1-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:824c3d763a05ea9e9003610145186b0e9848c7584a5575c79bac5a8e7cd80bad", size = 2233854, upload-time = "2026-08-28T10:26:35.282Z" }, + { url = "https://files.pythonhosted.org/packages/b1/82/f85f6279555a6ee1639fef7bfe83adb037a03e11a6fc9eaa54b8d0380339/kiwisolver-1.5.1-cp314-cp314-musllinux_1_2_ppc64le.whl", hash = "sha256:1fff05e239575b1481b6ed1a782f6fad616efbf1f0b1f44e6e85c4dfe426e483", size = 2330621, upload-time = "2026-08-28T10:26:36.9Z" }, + { url = "https://files.pythonhosted.org/packages/56/31/e11aea078f66fc2fffcc179d38ca90d9da97652a241b64519169742ba46a/kiwisolver-1.5.1-cp314-cp314-musllinux_1_2_riscv64.whl", hash = "sha256:0627b9bceb9c3cdcf12b8a18655eedfed2692b038df27423383c120d0b7dc2d6", size = 1982848, upload-time = "2026-08-28T10:26:39.01Z" }, + { url = "https://files.pythonhosted.org/packages/af/ea/2956b63bf5140ca46aa2c2818e6aa03e2d5754dd2fa41db1c6b28922940c/kiwisolver-1.5.1-cp314-cp314-musllinux_1_2_s390x.whl", hash = "sha256:8a708a47ade1fe19e8371d5da076bac0dd4b0a5a7985ad6c637f7f7e361b6baa", size = 2494850, upload-time = "2026-08-28T10:26:40.837Z" }, + { url = "https://files.pythonhosted.org/packages/11/d1/3829542258d8b3fc0898d221e7ef0e2c83eca0d348709bb8dbe54f3d4005/kiwisolver-1.5.1-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:007a5553dfc4f4e8d184f588a0200e2cd4b63a59cc8796df3c39909e679dc7a0", size = 2298067, upload-time = "2026-08-28T10:26:42.803Z" }, + { url = "https://files.pythonhosted.org/packages/4e/0e/49522e1ab5788cbaf63a26fbd3b851f9028616828c961b8a31b35cb96df8/kiwisolver-1.5.1-cp314-cp314-win_amd64.whl", hash = "sha256:f4167e87b397f273dc2356fcf1eaf50a6bac51e6105f45103ef7129c8efb0255", size = 72282, upload-time = "2026-08-28T10:26:44.268Z" }, + { url = "https://files.pythonhosted.org/packages/f5/b6/22e7ca5315d363e6f81c9f37c9472e12e7b298731e77c0428e6a911a2c39/kiwisolver-1.5.1-cp314-cp314-win_arm64.whl", hash = "sha256:5c490db2168a508088f59140dd392556a54b8bd1048fc6383c8baff13c359673", size = 69855, upload-time = "2026-08-28T10:26:45.725Z" }, + { url = "https://files.pythonhosted.org/packages/30/8c/03a9cfbe871964c8758a816eb03ac96c806da2795a9a7cd9bf9648bfb594/kiwisolver-1.5.1-cp314-cp314t-macosx_10_15_universal2.whl", hash = "sha256:4d4ca09bf13cff792b1884f64b98ee6c2467930d632233be25c56b442d99f10e", size = 126289, upload-time = "2026-08-28T10:26:47.023Z" }, + { url = "https://files.pythonhosted.org/packages/f2/e3/14ce3041ca79dff9c9d884ca00c7bf32374e76028a865a9ecd99b4f5a517/kiwisolver-1.5.1-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:44b8faef94f1857e77fa0238f3390ff1ac51d2ea20a487e2e452a59fd2b5f5ca", size = 67709, upload-time = "2026-08-28T10:26:48.268Z" }, + { url = "https://files.pythonhosted.org/packages/af/c4/45030471a66ec8ef042e9f96ffe1d522c9ab12da180186a0898966fc1385/kiwisolver-1.5.1-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:2ae70bc59790d2af72a3f76f24b272403e135070340281108b447cb77ea70819", size = 65909, upload-time = "2026-08-28T10:26:49.523Z" }, + { url = "https://files.pythonhosted.org/packages/42/73/17dce073a6ae259bb32cf9d686c4079d2e538868bc45967462bf33df914a/kiwisolver-1.5.1-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:43844c1a7ad6d723d5b5b4c4fc7f5bd399c40e288120d16257c7c9e8765c6e85", size = 1584907, upload-time = "2026-08-28T10:26:50.933Z" }, + { url = "https://files.pythonhosted.org/packages/8c/84/ae3c75909f507283cbfcc7e916c7e822579ef962020b97e6882b27b4478f/kiwisolver-1.5.1-cp314-cp314t-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:22d5e5aaad6be121f2515765e3b1c444352cb8eb4c86510801db8f2e50757316", size = 1392474, upload-time = "2026-08-28T10:26:52.638Z" }, + { url = "https://files.pythonhosted.org/packages/34/31/8bcc83caad5bce8fa4577152389848bf6bc110e51e573a2b4e7c2aa34c89/kiwisolver-1.5.1-cp314-cp314t-manylinux_2_24_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:3fa5855898f6d3d01b72ccd48a2d65cbdee301251603fefe34e2025bddba219c", size = 1405246, upload-time = "2026-08-28T10:26:54.248Z" }, + { url = "https://files.pythonhosted.org/packages/55/72/220345537d790cf4ae54f8acfff4b5cc2468e0702a384d651cf7a771c63e/kiwisolver-1.5.1-cp314-cp314t-manylinux_2_24_s390x.manylinux_2_28_s390x.whl", hash = "sha256:d66a64dd5dec136040ec2ae94aa026a912ee60fdd45bc28d3db30037fd809e88", size = 1456099, upload-time = "2026-08-28T10:26:56.042Z" }, + { url = "https://files.pythonhosted.org/packages/cd/10/3725fd2398f66d18c34b4e0f81a8d03764cd4f4f089f58a527f0b4428086/kiwisolver-1.5.1-cp314-cp314t-manylinux_2_39_riscv64.whl", hash = "sha256:9e51c119992ea8820706871c30a4642ec76de20ae82f9b50b9a45517d8e9f810", size = 1073695, upload-time = "2026-08-28T10:26:57.658Z" }, + { url = "https://files.pythonhosted.org/packages/86/cb/28d6e09e66b93e4588b2e6b7d84d020ccefea09e2f4de788510a07efeab7/kiwisolver-1.5.1-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:70ed9a45c7484d2b30cdacf60d220f494a1763b9fec1ad03285c6553fa0889f2", size = 2335355, upload-time = "2026-08-28T10:26:59.202Z" }, + { url = "https://files.pythonhosted.org/packages/6a/b3/a0f31d5e4e40af7dc97c36b8a74fdd3a36cf3c8bbd098da9a23466ff6a94/kiwisolver-1.5.1-cp314-cp314t-musllinux_1_2_ppc64le.whl", hash = "sha256:98b208a7cc42c803445ef551d6753cc42a5ea13e9cab1ee66cd8b9cb70195330", size = 2426524, upload-time = "2026-08-28T10:27:01.181Z" }, + { url = "https://files.pythonhosted.org/packages/2f/c9/728f63bd58c72cafdc79fc306abeeac7391bec03b757a48dadeb30906521/kiwisolver-1.5.1-cp314-cp314t-musllinux_1_2_riscv64.whl", hash = "sha256:c6834b92dd2428e2dd85ef3d85f723d3c12f20aaf43a2ddd4f944ca25d833408", size = 2063430, upload-time = "2026-08-28T10:27:03.06Z" }, + { url = "https://files.pythonhosted.org/packages/84/df/ce188b96f92f9a2c958231da140768918cba53c9713dc887b82f85462118/kiwisolver-1.5.1-cp314-cp314t-musllinux_1_2_s390x.whl", hash = "sha256:5d142e352eb13facc7dd047489aebdff6ba78576c239f1ea04931979caaf0567", size = 2597513, upload-time = "2026-08-28T10:27:05.072Z" }, + { url = "https://files.pythonhosted.org/packages/69/d6/76947c8203768968382e5bd74d9cc95654746703a61ea53015f2c74a2e06/kiwisolver-1.5.1-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:f9b1c4900736e489a812c529100de4b8fb617d4db075e931e213c57424b83d9b", size = 2394488, upload-time = "2026-08-28T10:27:07.423Z" }, + { url = "https://files.pythonhosted.org/packages/e4/d4/14b21e4eb203c4d15425e8b6a2c625a320b4a1f2f7557eead63ffc30ffb7/kiwisolver-1.5.1-cp314-cp314t-win_amd64.whl", hash = "sha256:5978c3340f16a35c30f8ab2fa7bcf559973c55f1a5ef6970e1f621acf3c4db13", size = 75404, upload-time = "2026-08-28T10:27:08.892Z" }, + { url = "https://files.pythonhosted.org/packages/cb/f5/53157899fc7f45f76421b77b99eb1639dd0f83f26ff9d76300c96bb4a3b0/kiwisolver-1.5.1-cp314-cp314t-win_arm64.whl", hash = "sha256:ca307d6c259e5c98d3cb9ade55342b47a6839762caf2536f3d7b46ee660cc82e", size = 72946, upload-time = "2026-08-28T10:27:10.944Z" }, + { url = "https://files.pythonhosted.org/packages/75/62/f786c3a27f181fa339d851a77e266d208e776b9883cabc40a5b041a31b5a/kiwisolver-1.5.1-cp315-cp315-ios_13_0_arm64_iphoneos.whl", hash = "sha256:bb7c99f0673c03017a3ee01e54a5c2617a05468b11eabe513b0080e063ed95b1", size = 62420, upload-time = "2026-08-28T10:27:12.308Z" }, + { url = "https://files.pythonhosted.org/packages/02/cd/58a91ed25fbad0facdf503297b03768efab04bdf3141e5e3b49a34be7443/kiwisolver-1.5.1-cp315-cp315-ios_13_0_arm64_iphonesimulator.whl", hash = "sha256:0d8924877ce22e17326a99a418c3c82037da078df3c6a260b13eca677444e6e7", size = 64577, upload-time = "2026-08-28T10:27:13.502Z" }, + { url = "https://files.pythonhosted.org/packages/f6/5c/d501ef5a0958b226eac28306d24d5e5f114be0ace50e19cabae7b6b3b197/kiwisolver-1.5.1-cp315-cp315-ios_13_0_x86_64_iphonesimulator.whl", hash = "sha256:534f02c1abb31ed6dbd3515545285c330b2f12d00fdb1fdb71658b9ca5a13a6a", size = 66284, upload-time = "2026-08-28T10:27:14.813Z" }, + { url = "https://files.pythonhosted.org/packages/a3/a6/8fbecaf4fc18c02f31f05e47a84c010a80e3ec391ed2f0bdade1d62b5954/kiwisolver-1.5.1-cp315-cp315-macosx_10_15_universal2.whl", hash = "sha256:cea20da04494e662b83c872683bf4ff2345206043d036315ed0e924b652e7294", size = 124031, upload-time = "2026-08-28T10:27:16.193Z" }, + { url = "https://files.pythonhosted.org/packages/7c/c6/bf3090d2983b4204347cbdbe952116e7c3b2abf62b4e33e50167a13e75ee/kiwisolver-1.5.1-cp315-cp315-macosx_10_15_x86_64.whl", hash = "sha256:7fd82debf43c6acd0a94359d232f6bb516ee13f269a7993736a9ac9f988bb5d9", size = 66489, upload-time = "2026-08-28T10:27:17.506Z" }, + { url = "https://files.pythonhosted.org/packages/85/de/562dddef55fdd7c291da8626d6619e72b5fc0870e6ccca0e149a5731e7f3/kiwisolver-1.5.1-cp315-cp315-macosx_11_0_arm64.whl", hash = "sha256:18170a77ddfecf40ec60d0928268dc95880c881864e015a8f34094ed18b9b9ad", size = 64806, upload-time = "2026-08-28T10:27:18.673Z" }, + { url = "https://files.pythonhosted.org/packages/89/b1/ba7b9c0164ce1cf62bf2872db63b8483289cf0f3110d6f9390eb09e409ed/kiwisolver-1.5.1-cp315-cp315-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:ca7f6fe0f37ca978a1e5eb7a3a68e6413f417e78e838324947ffd420202b198b", size = 1482211, upload-time = "2026-08-28T10:27:20.039Z" }, + { url = "https://files.pythonhosted.org/packages/13/dc/34da54efb4976616d45c20aae32d70e89d6e7395ed908029154d1609ef22/kiwisolver-1.5.1-cp315-cp315-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:5b973887ff782cfd6b67c9904ad8ca542e0bc5e4961503408b423b5a688b4d38", size = 1283739, upload-time = "2026-08-28T10:27:21.82Z" }, + { url = "https://files.pythonhosted.org/packages/5a/3a/30ffb62bee646e266e98a1b5cd276d9c75b6116fbfcb87c1190838c1b6df/kiwisolver-1.5.1-cp315-cp315-manylinux_2_24_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:f76fc85bd054c806960f917ec0f329e24e436f1712267d90588e4c39890caa63", size = 1301681, upload-time = "2026-08-28T10:27:23.876Z" }, + { url = "https://files.pythonhosted.org/packages/a9/8d/13c70be22a8506880b35fdc38dca36629613bc493405c79f4037f2cd2bb9/kiwisolver-1.5.1-cp315-cp315-manylinux_2_24_s390x.manylinux_2_28_s390x.whl", hash = "sha256:828f75af2b0080c8a972e75f649ab46af008e92c6104a57a759157200b835b75", size = 1349159, upload-time = "2026-08-28T10:27:25.899Z" }, + { url = "https://files.pythonhosted.org/packages/82/0e/993972b8ec6767f47cd69818fb3a5ff14510557d29f7d1a839be7574fa1b/kiwisolver-1.5.1-cp315-cp315-manylinux_2_39_riscv64.whl", hash = "sha256:431dc224a1a92a5c8f582d96e505196a3b5997a7271076678da2dfde67b77e9a", size = 997613, upload-time = "2026-08-28T10:27:27.507Z" }, + { url = "https://files.pythonhosted.org/packages/36/82/ca26eddd2eda2420dfc56693449c1f821f78b485da9cbde9904c03af3f93/kiwisolver-1.5.1-cp315-cp315-musllinux_1_2_aarch64.whl", hash = "sha256:61e9a64c7635095a6bfe483e2ff055d437c59bd45f3617a228b37277f0185d62", size = 2235109, upload-time = "2026-08-28T10:27:30.113Z" }, + { url = "https://files.pythonhosted.org/packages/c7/84/97d920881e10840b8d7c7185620298e3e4c88820b05514e3a15a258b08a6/kiwisolver-1.5.1-cp315-cp315-musllinux_1_2_ppc64le.whl", hash = "sha256:3c24cd69455e1b00ddf770c13b6e2c33e07d6dc3f2d34add0bf9277c5c6bbd46", size = 2331207, upload-time = "2026-08-28T10:27:32.795Z" }, + { url = "https://files.pythonhosted.org/packages/e2/ce/34d74b8f25acc58800f4c09268371e8d6159cf0f1206f1e4dc7835629b48/kiwisolver-1.5.1-cp315-cp315-musllinux_1_2_riscv64.whl", hash = "sha256:27add358abe374ebaa3b8763ef380bc99051b5a4b18d94878366a9e4f59efef0", size = 1986696, upload-time = "2026-08-28T10:27:34.628Z" }, + { url = "https://files.pythonhosted.org/packages/0e/01/f892644014612527aef7031d3306a2ffc60b3cb044f802c1561f8e5e14f3/kiwisolver-1.5.1-cp315-cp315-musllinux_1_2_s390x.whl", hash = "sha256:255605693a483db7bd5c79f60437f7bf658f7f520d61aa42722e32257c941951", size = 2496400, upload-time = "2026-08-28T10:27:36.818Z" }, + { url = "https://files.pythonhosted.org/packages/32/6d/d8284e66e697026536e5f418b9cfe56567bffd3c775e3ecfbae373605854/kiwisolver-1.5.1-cp315-cp315-musllinux_1_2_x86_64.whl", hash = "sha256:7d38b0c279c3032e8c9cc013b405c6df8e1668dbf15465779aa7f15f61201812", size = 2302967, upload-time = "2026-08-28T10:27:38.803Z" }, + { url = "https://files.pythonhosted.org/packages/46/0a/69a355e27f32ba50d5b6369949b6a1702e122f5277c89bc76d452b81c1c4/kiwisolver-1.5.1-cp315-cp315-win_amd64.whl", hash = "sha256:958254518717542d02d0688d0d20cbf771da5e415e6f49543f92481c850a4540", size = 72283, upload-time = "2026-08-28T10:27:40.491Z" }, + { url = "https://files.pythonhosted.org/packages/ef/d8/7a95be90c33dcdd52204d4aa6384d731443225b887283bbd8b61e7931f6c/kiwisolver-1.5.1-cp315-cp315-win_arm64.whl", hash = "sha256:da3275833be0edbaf4830fae08bae3dc7219f40ce0c37eaa6c25825957e06612", size = 69860, upload-time = "2026-08-28T10:27:41.835Z" }, + { url = "https://files.pythonhosted.org/packages/31/f8/9bc493e7f5707788ba7f621902c68f82dc3a7ba03c78fbd337b026cef1ed/kiwisolver-1.5.1-cp315-cp315t-macosx_10_15_universal2.whl", hash = "sha256:470d420f98d368d6f010633a20659b544c5fdfa5329e6b70219f2ef08fd4a7ef", size = 126336, upload-time = "2026-08-28T10:27:43.379Z" }, + { url = "https://files.pythonhosted.org/packages/d1/82/3aea86b3f99712db825e9ac5631bf99571e818a8b8961ff98cebd798413e/kiwisolver-1.5.1-cp315-cp315t-macosx_10_15_x86_64.whl", hash = "sha256:83f78128fa28705fa85d01c59771c72fe81c11bd0e6155edbb9f818983a7d761", size = 67698, upload-time = "2026-08-28T10:27:44.613Z" }, + { url = "https://files.pythonhosted.org/packages/84/7d/8daafc5d2e7f9c47a4f78f8865d86d2a9cf399c2a85f86c44a993594410c/kiwisolver-1.5.1-cp315-cp315t-macosx_11_0_arm64.whl", hash = "sha256:9506e892bcc3b409831d363c6f53e5985e1c8d1f6f6b0256d00358684ff85378", size = 65945, upload-time = "2026-08-28T10:27:45.932Z" }, + { url = "https://files.pythonhosted.org/packages/3d/c9/51dc974d9130da70a8c47a96160123443d387ffe1b6b833d6f91d9429339/kiwisolver-1.5.1-cp315-cp315t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:cea90547bfd93807e0013a004dc76552be44fad3bc1cc2b38610a9e889ed098f", size = 1588030, upload-time = "2026-08-28T10:27:47.678Z" }, + { url = "https://files.pythonhosted.org/packages/e6/86/f3e1a730e7a995149d8d3ff9e313b6d8a17b2cf1d98a8eff139dc30463fb/kiwisolver-1.5.1-cp315-cp315t-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:e8e4d953faaded9ec7ede36824e9814082d22d4c7b1eafbfa079ecba8cd0d076", size = 1390760, upload-time = "2026-08-28T10:27:49.676Z" }, + { url = "https://files.pythonhosted.org/packages/4f/3b/8ba25a2b5a0d2375e046f1b72de5179513f0be95aba6e7b094c89303929f/kiwisolver-1.5.1-cp315-cp315t-manylinux_2_24_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:7e9c01d3dd7ceba4d1d436cc021d40d592466e40b9bc7f5d83dc4e98a5c9cd8c", size = 1403279, upload-time = "2026-08-28T10:27:51.242Z" }, + { url = "https://files.pythonhosted.org/packages/18/d0/278d5cb8be812740027d5ca0a7eda0c375488a88d6dce0fa60fcc2591ad2/kiwisolver-1.5.1-cp315-cp315t-manylinux_2_24_s390x.manylinux_2_28_s390x.whl", hash = "sha256:37f801b5d7cc0e5a548921308e059fd2b057bb42972b591cfa3049f95423c4ed", size = 1454429, upload-time = "2026-08-28T10:27:53.213Z" }, + { url = "https://files.pythonhosted.org/packages/94/37/bcbab41063ec284c1d200efe5087cf087798c2f8916960aa8a20dd303290/kiwisolver-1.5.1-cp315-cp315t-manylinux_2_39_riscv64.whl", hash = "sha256:e68e151428b5384f766cd25739bf77c7e4a3dc93b5ded7a12118d9fbfdf78ab6", size = 1073225, upload-time = "2026-08-28T10:27:55.089Z" }, + { url = "https://files.pythonhosted.org/packages/cb/c5/ab79dcdf5ae28909a51210ae0a1c579e97ff997b3466414f0d04c0994583/kiwisolver-1.5.1-cp315-cp315t-musllinux_1_2_aarch64.whl", hash = "sha256:8f8fddb8e323bd6eee4e54e69a39243beab22689070f4c66b472c4cc88bb89d8", size = 2334335, upload-time = "2026-08-28T10:27:56.78Z" }, + { url = "https://files.pythonhosted.org/packages/8d/8e/71d047468a189041d9c93f3b76844b924f9793b188c44bd149fa258912da/kiwisolver-1.5.1-cp315-cp315t-musllinux_1_2_ppc64le.whl", hash = "sha256:3cc210010fd2f438a3ed430b45f1b501fd13a8618bf984dc2c5ce5b69b78752e", size = 2424982, upload-time = "2026-08-28T10:27:58.639Z" }, + { url = "https://files.pythonhosted.org/packages/7d/37/1347461bbea6d0e1f0580b94ef603b18e72c2be5f667fa1653867361a00b/kiwisolver-1.5.1-cp315-cp315t-musllinux_1_2_riscv64.whl", hash = "sha256:b5664603a253efd3a75716d793d1d3a6a82723b61dc6db767b2460bbbeec4c0f", size = 2062857, upload-time = "2026-08-28T10:28:00.407Z" }, + { url = "https://files.pythonhosted.org/packages/1f/87/c7f0976c9cd0d127643351bc0c9929e0b8899d7f49d4ec238cd909e39c42/kiwisolver-1.5.1-cp315-cp315t-musllinux_1_2_s390x.whl", hash = "sha256:a7b85b2cc6ea45e5f7e8c9a30bc9fabd47cda09106cbb4b967335c3e6c43b69d", size = 2596022, upload-time = "2026-08-28T10:28:02.183Z" }, + { url = "https://files.pythonhosted.org/packages/e3/9a/59a6f6ae6f938c15076be2c21b6cedea973d71bb1349ec84fa485fab82cf/kiwisolver-1.5.1-cp315-cp315t-musllinux_1_2_x86_64.whl", hash = "sha256:ab620eb663952455271ac37f9aaad86b73c969c02f11f53cea405b38e96a4300", size = 2395634, upload-time = "2026-08-28T10:28:03.977Z" }, + { url = "https://files.pythonhosted.org/packages/e9/2d/8982c1fb7926da5bb7ed60318c3665b5c3f941447271ac982960a11b8637/kiwisolver-1.5.1-cp315-cp315t-win_amd64.whl", hash = "sha256:cb6fae641357ed2f6e533c0d3c6504a4a5703621a50c89459e46051d56b61140", size = 75379, upload-time = "2026-08-28T10:28:06.307Z" }, + { url = "https://files.pythonhosted.org/packages/07/78/ba7b6dfa1708b82b373ac056928a30c545d5c1a627df9839dcec3c6c1881/kiwisolver-1.5.1-cp315-cp315t-win_arm64.whl", hash = "sha256:b390aec180a7c054919c04898835e1c77bced23ea8383eb2c570213bf25d1a86", size = 73011, upload-time = "2026-08-28T10:28:07.578Z" }, + { url = "https://files.pythonhosted.org/packages/a9/c4/1407df7512a5b36cc79840e01710dc575733c461b13ab866cae77eaf87f3/kiwisolver-1.5.1-graalpy312-graalpy250_312_native-macosx_11_0_arm64.whl", hash = "sha256:482676e5bd48d70ac99d9fc78863469845421e01184fa83f1f9366dc49f7e974", size = 134002, upload-time = "2026-08-28T10:28:08.881Z" }, + { url = "https://files.pythonhosted.org/packages/16/45/c37a21ad5c0ab581a93c55ad544721aaa1f0ae94edb29c6a678a23d013e6/kiwisolver-1.5.1-graalpy312-graalpy250_312_native-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:072bdb15a3c19a5b5dbc8f8fb1f4e1884bf4f3507eeb4cc6334401274d37a5c0", size = 194292, upload-time = "2026-08-28T10:28:11.06Z" }, + { url = "https://files.pythonhosted.org/packages/a6/c1/69f00d627949580e43d57af0aa465df46868d7c29801c137a55374101294/kiwisolver-1.5.1-graalpy312-graalpy250_312_native-win_amd64.whl", hash = "sha256:a5a00665d1a0e26763a7338d7e911d4598fbc1d50dd0d6b7919b7dc6c5d6569f", size = 73362, upload-time = "2026-08-28T10:28:12.449Z" }, + { url = "https://files.pythonhosted.org/packages/b5/1d/59ba570b1774e95e97fde3a0981b2e22118a7a495f73bf74cedc538566a0/kiwisolver-1.5.1-pp311-pypy311_pp73-macosx_10_15_x86_64.whl", hash = "sha256:416ba7ff9f233b7036689bb5a3783537e838ad483f63558d2a800f75afe738b1", size = 59450, upload-time = "2026-08-28T10:28:20.383Z" }, + { url = "https://files.pythonhosted.org/packages/22/98/a6849f04dc18b5400e8b98affa2cd8fd86ed583085f036e57b32e571f4fa/kiwisolver-1.5.1-pp311-pypy311_pp73-macosx_11_0_arm64.whl", hash = "sha256:8af9b142ad719ae3a911ebf616bc4b78b32bbab84d6a40d3ad2f129670509957", size = 57400, upload-time = "2026-08-28T10:28:21.632Z" }, + { url = "https://files.pythonhosted.org/packages/f4/ce/a7dc71353dd06a4cbe02222773f52d4a28c81e5a452a75797f8ed113dc99/kiwisolver-1.5.1-pp311-pypy311_pp73-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:5daa1f19e097050b9c4d9a78fcc9263cb96c9dfae08037ddc1b7c4ad1889f2a2", size = 79891, upload-time = "2026-08-28T10:28:22.936Z" }, + { url = "https://files.pythonhosted.org/packages/10/b1/d61c61a84ff85d1a36a99df2c152b59ffedb1d356c598902aba44abcdb60/kiwisolver-1.5.1-pp311-pypy311_pp73-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:cdaeeb6c350106df6bf9d873395973e5f066a9713200b72cd64f55d0a3eafab6", size = 77605, upload-time = "2026-08-28T10:28:24.322Z" }, + { url = "https://files.pythonhosted.org/packages/d3/52/5aef56f21a460a6e43ab3cdfc7697d59d7b87deb0ec97a0f7b91aa4a521b/kiwisolver-1.5.1-pp311-pypy311_pp73-win_amd64.whl", hash = "sha256:17851e5dad4484be0cbccbde3b15331deae036de9aebd45eed964487802b172f", size = 98465, upload-time = "2026-08-28T10:28:25.696Z" }, +] + +[[package]] +name = "kombu" +version = "5.5.4" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "amqp" }, + { name = "packaging" }, + { name = "tzdata" }, + { name = "vine" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/0f/d3/5ff936d8319ac86b9c409f1501b07c426e6ad41966fedace9ef1b966e23f/kombu-5.5.4.tar.gz", hash = "sha256:886600168275ebeada93b888e831352fe578168342f0d1d5833d88ba0d847363", size = 461992, upload-time = "2025-06-01T10:19:22.281Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/ef/70/a07dcf4f62598c8ad579df241af55ced65bed76e42e45d3c368a6d82dbc1/kombu-5.5.4-py3-none-any.whl", hash = "sha256:a12ed0557c238897d8e518f1d1fdf84bd1516c5e305af2dacd85c2015115feb8", size = 210034, upload-time = "2025-06-01T10:19:20.436Z" }, +] + +[package.optional-dependencies] +redis = [ + { name = "redis" }, +] + +[[package]] +name = "lark" +version = "1.3.1" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/da/34/28fff3ab31ccff1fd4f6c7c7b0ceb2b6968d8ea4950663eadcb5720591a0/lark-1.3.1.tar.gz", hash = "sha256:b426a7a6d6d53189d318f2b6236ab5d6429eaf09259f1ca33eb716eed10d2905", size = 382732, upload-time = "2025-10-27T18:25:56.653Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/82/3d/14ce75ef66813643812f3093ab17e46d3a206942ce7376d31ec2d36229e7/lark-1.3.1-py3-none-any.whl", hash = "sha256:c629b661023a014c37da873b4ff58a817398d12635d3bbb2c5a03be7fe5d1e12", size = 113151, upload-time = "2025-10-27T18:25:54.882Z" }, +] + +[[package]] +name = "librt" +version = "0.16.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/04/f5/9dc696772d241814bacac7880bac32f2930b5a6ebc1f85317b83161a011c/librt-0.16.0.tar.gz", hash = "sha256:ac38d6d8d66bf3d744148dbbc0b8e193e195a51e364ed55e224631f5721891fc", size = 219839, upload-time = "2026-09-29T00:55:32.891Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/ba/0e/b04fd2d76b6a78a02286938251b2c119fb36ddece92c76cb4886ef7d44b8/librt-0.16.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:fe4372c52d4849096c6cc1cda2817d293ec51440c890474ed59ef38d46556f18", size = 148058, upload-time = "2026-09-29T00:44:40.903Z" }, + { url = "https://files.pythonhosted.org/packages/a3/fc/e1ed24aadb32d38603c0c07f579d739eb4d90e64e90d525b024e4a999b4d/librt-0.16.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:c72c5295a84bd249526da9bdca38f2e176d15c31c13bb0063c5053f4ca023421", size = 153073, upload-time = "2026-09-29T00:44:42.165Z" }, + { url = "https://files.pythonhosted.org/packages/be/38/133ab655409420e0c34a9a9836a7f4e5ae75fba758d7fe177099130d58ba/librt-0.16.0-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:be56ba9c884143495b517f23fe794ae367d58cd89ea0fdd6d437e3c024a87f9f", size = 493052, upload-time = "2026-09-29T00:44:44.043Z" }, + { url = "https://files.pythonhosted.org/packages/94/42/aaa663bc9421f5bf7bbbe9d3316d7219749698ec7688ac3b519770a89c04/librt-0.16.0-cp311-cp311-manylinux2014_i686.manylinux_2_17_i686.manylinux_2_28_i686.whl", hash = "sha256:ef46c1a29ffb8c72e882e22618ec618778eacd0578fb22c6e7cf9c11d15f357b", size = 485506, upload-time = "2026-09-29T00:44:45.479Z" }, + { url = "https://files.pythonhosted.org/packages/7b/59/83a6eb5087ba8b45b083859e2085256963e06d4c2531944cdd962670bfb5/librt-0.16.0-cp311-cp311-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:d3c94211ee0c4f8d649ec06b7c115c0ec4eadb873a0e3154ca15cef3f814b071", size = 498708, upload-time = "2026-09-29T00:44:46.916Z" }, + { url = "https://files.pythonhosted.org/packages/a0/e4/15a8d62b2bc12935080ec7277e2e0b9b233047781eb784a51d3e25af669a/librt-0.16.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:94aed6a8308818b91677957d1bd03188869cd7aeb23c5dba7912a6c0402f7602", size = 515981, upload-time = "2026-09-29T00:44:48.316Z" }, + { url = "https://files.pythonhosted.org/packages/46/4f/287cc282ac5dd815204c0779e79401bb0a568c3a1335fb319bf0838fb566/librt-0.16.0-cp311-cp311-manylinux_2_34_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:349c0bcb87ebd07481b6ff781e25cdc699723dbe2212e57dabb27f7a13b7b87d", size = 508670, upload-time = "2026-09-29T00:44:49.726Z" }, + { url = "https://files.pythonhosted.org/packages/bf/5b/ab7292add898ade0d2b5b75d32a923aae315861671aa5c39f5491309f7ae/librt-0.16.0-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:001bfd59a7d45b17e3e75f2a8c6405280b35e7b84471792778e718c4f368950e", size = 530393, upload-time = "2026-09-29T00:44:51.356Z" }, + { url = "https://files.pythonhosted.org/packages/7a/9e/8e6bcf027d4bcbc16a4e864b3d158a1d3e5f55ffa53af0238020cad89271/librt-0.16.0-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:28e038895b998d7a0c7798922ce8a1dc157675df5cf1c9ef0aca809ed804b7a1", size = 534302, upload-time = "2026-09-29T00:44:52.893Z" }, + { url = "https://files.pythonhosted.org/packages/96/a4/8c5ab4f3b3a8e905ff8305d76976a2e666f52fe049edd398aed2402beb36/librt-0.16.0-cp311-cp311-musllinux_1_2_ppc64le.whl", hash = "sha256:0dbe4096a7ecc00fa835d24510ad8545a4efef738dac96e0e63516783ccde905", size = 536150, upload-time = "2026-09-29T00:44:54.421Z" }, + { url = "https://files.pythonhosted.org/packages/ea/5e/7c4bc267e3cd4b8bd288de9f62d61fff203829c9cc649ea2aa12e9218cf0/librt-0.16.0-cp311-cp311-musllinux_1_2_riscv64.whl", hash = "sha256:5cd5b092441053364af968ea12084692cb9d4a22f3ce9524e377880bf028761e", size = 514316, upload-time = "2026-09-29T00:44:55.998Z" }, + { url = "https://files.pythonhosted.org/packages/e0/75/c8bc6b50f43c73819334233f5a3259c81216742cef56d2140c3dd377c3f0/librt-0.16.0-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:3ddeb3c9dedb461bb457c6c7d9aa7fbf35329da313d1a7543d00c8d0f3473c96", size = 557731, upload-time = "2026-09-29T00:44:57.581Z" }, + { url = "https://files.pythonhosted.org/packages/93/fb/e241f91bc8de6c7ac1c6a20ea6dd381bc52312b44d711ffcd97140db1e57/librt-0.16.0-cp311-cp311-win32.whl", hash = "sha256:e05108e0849966f53a8d2d3112a7af881d0efaa479bc735bba91108f9f2350a7", size = 104922, upload-time = "2026-09-29T00:44:59.078Z" }, + { url = "https://files.pythonhosted.org/packages/d1/38/c892383d2bb1a6a80b2ec8ede84970a265a792c56614a06282bf3008517c/librt-0.16.0-cp311-cp311-win_amd64.whl", hash = "sha256:5f49cff01bd608ef7d97104cb035c75455e79c2d70bf4a506cf773338ac1860d", size = 125093, upload-time = "2026-09-29T00:49:01.621Z" }, + { url = "https://files.pythonhosted.org/packages/e4/56/8bbde1ed0b21480163617648f638fdaec9374cf5e9c846ebcee34ec02a42/librt-0.16.0-cp311-cp311-win_arm64.whl", hash = "sha256:1d28ae980ae2218f9c5b95d191e947296f918c9bf0b400d467a9430275bbe678", size = 115910, upload-time = "2026-09-29T00:52:40.131Z" }, + { url = "https://files.pythonhosted.org/packages/ad/76/bbdaeb87b7c47b5c7343e90222b9bfa4e4a8a83f647e02933ad0129225b1/librt-0.16.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:fe52bf4641069e7978a14253b036cb9002def1926317e710f2e249f8a8c47742", size = 151028, upload-time = "2026-09-29T00:52:41.508Z" }, + { url = "https://files.pythonhosted.org/packages/fd/0c/ab8ed3dab0085931aec4a792c7eaac8dc6c5ff4691fda3a5360d9d8a9cd2/librt-0.16.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:5bcc2c4726ced915b00de0c9856a4eeabfb3fddb93e10e0b8f735b7709358b6d", size = 155283, upload-time = "2026-09-29T00:52:42.873Z" }, + { url = "https://files.pythonhosted.org/packages/eb/36/494e79d460c80c1f030661e8287c9eca5e1ad652dc2b2180b6cd42abce0a/librt-0.16.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:ff7baa55f8e7c69851419e50a666015d02a74198716fd45c0125a2112e0a389f", size = 503185, upload-time = "2026-09-29T00:52:44.638Z" }, + { url = "https://files.pythonhosted.org/packages/9b/34/a8464038dd9db6e4381fa2b6eb73dc9a50888d77102c4c139304ac35cddc/librt-0.16.0-cp312-cp312-manylinux2014_i686.manylinux_2_17_i686.manylinux_2_28_i686.whl", hash = "sha256:b95d5d92ab83d39e760a52091bb1baba664f3a2351e39b1e16801e5747c2f0e9", size = 496738, upload-time = "2026-09-29T00:52:46.441Z" }, + { url = "https://files.pythonhosted.org/packages/6a/53/e0e5e334ef0c6ed27039d323819368b9ef6712be87d55ee2bf9799398afd/librt-0.16.0-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:b6d085d70bce51d43c5c7c36d63490770180d8779e71c49305c87b4213918de7", size = 513818, upload-time = "2026-09-29T00:52:48.068Z" }, + { url = "https://files.pythonhosted.org/packages/ad/f7/7ce72cbf19d0addd05090b339152fd0548a02562c2866a603e6e3b3da2df/librt-0.16.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:36e53948e99bbe3ffea257124cfcae1cfb01831555c9a9c903c9f9a72db7fd07", size = 531952, upload-time = "2026-09-29T00:52:49.816Z" }, + { url = "https://files.pythonhosted.org/packages/83/22/0b1bcb6a8e723c8b4fd60dfc8ae8ec6461c54073fbc8685efeb8d900d407/librt-0.16.0-cp312-cp312-manylinux_2_34_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:54d11f726aae9df5a6ffbbf0a03a52449bbac84a53ef03669cb41cdfd4ae41bf", size = 524465, upload-time = "2026-09-29T00:52:51.354Z" }, + { url = "https://files.pythonhosted.org/packages/64/2e/e9c23b8b9df1813da1be205deca9606beb7ddd033972246cd426d05374a0/librt-0.16.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:4323193ac0cd025f85af531df8ba91bf24d1973b401697347a6282e8fd3fcf5e", size = 543191, upload-time = "2026-09-29T00:52:53.284Z" }, + { url = "https://files.pythonhosted.org/packages/bc/e5/6a8b21b342c03ed7e230fa3afbfd2edc58e6e87ef1f0d11fa2b9a748c252/librt-0.16.0-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:e42f8e098b9c5396fefa05fb1cc7e33b0e08fc51da106b5de4a45fd22aac6743", size = 546979, upload-time = "2026-09-29T00:52:54.932Z" }, + { url = "https://files.pythonhosted.org/packages/84/9e/b5129023eced1be01e01c22757f53be551d463b1bb7264f787927404c1d6/librt-0.16.0-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:39ec1d5a14e37baf1450a6cabf03fe552340808bf1ad9d71824ab90117716459", size = 555317, upload-time = "2026-09-29T00:52:56.869Z" }, + { url = "https://files.pythonhosted.org/packages/71/89/28bba5938c725fe91f06bf93f7fa6c6b150229df53a87b454b0d5c2a796e/librt-0.16.0-cp312-cp312-musllinux_1_2_riscv64.whl", hash = "sha256:d1aabe3925cbb4a08d15b7b20ba4011b53019da0c4173a25155139b7b1baed65", size = 535846, upload-time = "2026-09-29T00:52:58.475Z" }, + { url = "https://files.pythonhosted.org/packages/22/92/63773026614f888c5d4e370e395ce42ca604b89f70b3acdfedbf94851b80/librt-0.16.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:300c3ffdc459f4a779a8411ecb188e3ac0b1ff3a3a7b099642555dedae06c69b", size = 573700, upload-time = "2026-09-29T00:53:00.127Z" }, + { url = "https://files.pythonhosted.org/packages/66/8f/347d4677eefb57cd9f8e01d95a1dcee9a91b4e44e664173c32ff6f3752e5/librt-0.16.0-cp312-cp312-win32.whl", hash = "sha256:c17194318e4c0c0348b36f36c2ec7534436fe0a4c15582403162a4f08c80797a", size = 106158, upload-time = "2026-09-29T00:53:02.031Z" }, + { url = "https://files.pythonhosted.org/packages/f0/2c/5193dc81127cd5ddfad031391b046bf32dda219b38463ab872407ca30646/librt-0.16.0-cp312-cp312-win_amd64.whl", hash = "sha256:25a58a19ea8d83b68209f04912df765e9260635ef77646542ed4b4abe6bc7940", size = 126176, upload-time = "2026-09-29T00:53:03.445Z" }, + { url = "https://files.pythonhosted.org/packages/ff/3d/9668a400c8dd81d162eba38b33fa49fa6205f1a64493570a13fbb815c3ee/librt-0.16.0-cp312-cp312-win_arm64.whl", hash = "sha256:f7be7cf555bc30ec12622e9447299cc4a9b8ff307548b634794353db0c2065dc", size = 116572, upload-time = "2026-09-29T00:53:04.815Z" }, + { url = "https://files.pythonhosted.org/packages/46/cd/ae5e0e9dba45d1399aa04a5395bcc0bead40d9fa06dc903634a7b4d7473d/librt-0.16.0-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:c5e6144e68b577f157519f2ba88ca20e3ed61c29b00e5cdfa76cd2d45acf059a", size = 151036, upload-time = "2026-09-29T00:53:06.284Z" }, + { url = "https://files.pythonhosted.org/packages/41/5a/48a16e323c5f9447a94cce7b59babf60fa04e62c3365ecf060c77ed8b320/librt-0.16.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:33f41443a1f4e1f099331b3d8120e409fbff84b9760bc1cc9ea496f37ddaa5cc", size = 155211, upload-time = "2026-09-29T00:53:07.72Z" }, + { url = "https://files.pythonhosted.org/packages/3f/29/0f59299eb4251a409b2e690ad4b7d9f8a676db829d7817ec961f32b44f7e/librt-0.16.0-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:7e510b7770bee609617a3374a96548eb114cae048023e3f049ee449e7ff2db32", size = 502587, upload-time = "2026-09-29T00:53:09.191Z" }, + { url = "https://files.pythonhosted.org/packages/de/ba/d6fb4ef8d1537c396079d72289f16be7cd35a366e5065c51253fea2760b6/librt-0.16.0-cp313-cp313-manylinux2014_i686.manylinux_2_17_i686.manylinux_2_28_i686.whl", hash = "sha256:efc49c462d4516b8a58b00b490078fa64689fd1fe66970cc190131d7afb8027e", size = 496146, upload-time = "2026-09-29T00:53:11.016Z" }, + { url = "https://files.pythonhosted.org/packages/52/fc/8c50dd4d7cc97c0ee8f252c8a3104980f234391cf1519b554e8b9de08b60/librt-0.16.0-cp313-cp313-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:92caf82ebef5e12d21c72242b70d1e92536f1711cf2a727a4c276de4b4469087", size = 513336, upload-time = "2026-09-29T00:53:12.655Z" }, + { url = "https://files.pythonhosted.org/packages/a9/59/16c409c56f708eda2db9a0553662845d45e3871c77d70a240dae3f3bdc56/librt-0.16.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:17bac7f7a16b328fff77e440287693eb017abde913595b5827ebccbc21ecd8a6", size = 531689, upload-time = "2026-09-29T00:53:14.39Z" }, + { url = "https://files.pythonhosted.org/packages/88/82/d34772a6c29d1446dcca6e64d74062efd508523ab351aa16625a4689d5cc/librt-0.16.0-cp313-cp313-manylinux_2_34_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:5b976054553670829985ed767feb78fb6bcede0175327c4844dd5c281c1be659", size = 524537, upload-time = "2026-09-29T00:53:16.064Z" }, + { url = "https://files.pythonhosted.org/packages/77/8f/24c5631313746131ccee53bc91fdc8374f9cf25e0082a1fee9c93bb98acc/librt-0.16.0-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:0058f9d68721094105917254c72ac0569117bb7b13b9769cf45d26d89f9d21cd", size = 543231, upload-time = "2026-09-29T00:53:17.939Z" }, + { url = "https://files.pythonhosted.org/packages/f2/cb/5f8e0d41dbd8b499c2265e939c31acc9ba59845565bf99539ad1c06aebcf/librt-0.16.0-cp313-cp313-musllinux_1_2_i686.whl", hash = "sha256:30b7beaf3f4487b7d8adef1f158b49067cb4d5a19fa7a3bf31a4e7a820e435c5", size = 546499, upload-time = "2026-09-29T00:53:19.666Z" }, + { url = "https://files.pythonhosted.org/packages/be/61/063052de441d1385f59cea4223f184bf9e5d125de1ae3239b490aa1e486e/librt-0.16.0-cp313-cp313-musllinux_1_2_ppc64le.whl", hash = "sha256:468df902df016a06eb0e40b0747dc8d14e47d7a38b18b63b1fb167d85cb94d63", size = 555261, upload-time = "2026-09-29T00:53:21.292Z" }, + { url = "https://files.pythonhosted.org/packages/14/11/a2ada0529372268d6401afa9d457a095b68cd7753532b6f7f33049a19b43/librt-0.16.0-cp313-cp313-musllinux_1_2_riscv64.whl", hash = "sha256:aea7b1f2b125dad5de85f049136651bff256c883c65e6b9209b2da0a1ac3cdef", size = 536029, upload-time = "2026-09-29T00:53:23.07Z" }, + { url = "https://files.pythonhosted.org/packages/23/9d/5bb6d38853382986dca702fc7e06c8256d30f5fa0676d882773b744610dc/librt-0.16.0-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:a8afb6557920860b7a3a596eb804cf37e09e7cf8a803db2478c202acc72d8c2e", size = 573748, upload-time = "2026-09-29T00:53:24.696Z" }, + { url = "https://files.pythonhosted.org/packages/99/f6/0025cde35ff7f607684dc775a2b2d732cce2561cec050a6ee1fb2e1fc6fe/librt-0.16.0-cp313-cp313-pyemscripten_2025_0_wasm32.whl", hash = "sha256:77c7a2b4fe2c1369e0d5aa1cade26740a7b14be32fbc9a5535d617d20065c39d", size = 79861, upload-time = "2026-09-29T00:53:26.089Z" }, + { url = "https://files.pythonhosted.org/packages/93/93/303b8592909bd583f83f02818ffbea3f7647ca1e22b1cd5465d04b8145fe/librt-0.16.0-cp313-cp313-win32.whl", hash = "sha256:02d89c813d5ff74b17df72d3a34819d132cd168e56b81bf755b809bd9e46b8c4", size = 106236, upload-time = "2026-09-29T00:53:27.43Z" }, + { url = "https://files.pythonhosted.org/packages/cf/24/80bbb463c60ed18e29cb26aba386ddb76609580e4e7160710e550587018c/librt-0.16.0-cp313-cp313-win_amd64.whl", hash = "sha256:14ed6ebe3e4f85f326d7920011ad30ff49ed9334e62cf88caef9ba973d9e3a92", size = 126180, upload-time = "2026-09-29T00:53:28.7Z" }, + { url = "https://files.pythonhosted.org/packages/43/80/b1a6fbdd7da825cdd55c71aa81eb6cfa82c513c360774152eacb50b4a771/librt-0.16.0-cp313-cp313-win_arm64.whl", hash = "sha256:83d4041a3d9b2fd053a8a4e1f22878b3e5833e2712956382d5c048d791454e91", size = 116557, upload-time = "2026-09-29T00:53:30.012Z" }, + { url = "https://files.pythonhosted.org/packages/1e/93/9e0cf7da129a93c3dc7f45bc3cd4a660f2aaa995aa8a6f95c2583ef41239/librt-0.16.0-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:931a0bb0fcac88f263e269e46eb30ba8e21402cd3c62ca40cb97034c0693fab1", size = 149844, upload-time = "2026-09-29T00:53:31.391Z" }, + { url = "https://files.pythonhosted.org/packages/8f/26/8a90d2a8f2b2e471bb486b7aec117b8ae622715ed6c39853aec48ea20073/librt-0.16.0-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:1bc17e54e5305f8d40b7ca203671ff5a9e59c1d0f8ea0f625dcca53a3984de11", size = 154111, upload-time = "2026-09-29T00:53:32.718Z" }, + { url = "https://files.pythonhosted.org/packages/35/ce/67abb46258da4d3e42ff5b141db6f38c59357bef84c7979f183b22f924f1/librt-0.16.0-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:877698bf6bca5721d8be345f2fe09778e40ecadea8b58c73075f2b1a53666bf2", size = 494234, upload-time = "2026-09-29T00:53:34.466Z" }, + { url = "https://files.pythonhosted.org/packages/12/f9/ea7162414a16f8f1bbd3b493ad6d22b926c5471916e078350bdbca8c4e5f/librt-0.16.0-cp314-cp314-manylinux2014_i686.manylinux_2_17_i686.manylinux_2_28_i686.whl", hash = "sha256:5981c011b306781ce561e18e14230a14524a3d8109b97553666c942c18f31a96", size = 491173, upload-time = "2026-09-29T00:53:36.124Z" }, + { url = "https://files.pythonhosted.org/packages/b1/09/9b3e869060dd33f9989b80ba4fea306f6db8cecefcdfe6d7346ef0603f65/librt-0.16.0-cp314-cp314-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:afced3dfc17cd805ecf7a3d77996a71cf5f2c75aa66eb0c21a9930f4fc992f86", size = 505547, upload-time = "2026-09-29T00:53:37.686Z" }, + { url = "https://files.pythonhosted.org/packages/50/07/79007d2165f649ea93e08c0962d1d62c70af9cde77965255095bf9d96f9a/librt-0.16.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:ca8052401c55d7511dda6760719fda7618067e83535d7d0010096d216c34b667", size = 523057, upload-time = "2026-09-29T00:53:39.301Z" }, + { url = "https://files.pythonhosted.org/packages/61/0c/8fbaff66d0ba376d8864653f5acce1569bae27e89648671f26f7eca67ab8/librt-0.16.0-cp314-cp314-manylinux_2_34_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:1e511762a074005bb0aa569166779834e75e438370226930d0ce1866d4b6a33b", size = 515158, upload-time = "2026-09-29T00:53:41.012Z" }, + { url = "https://files.pythonhosted.org/packages/df/2e/23ff0dece76f07a4124413a57682efa0bbeb5765ac0122bc0955513f82ca/librt-0.16.0-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:f1e8591bd8a5a628cd7f07954c6a1592359a878bf032957a8e9057a41d644311", size = 534183, upload-time = "2026-09-29T00:53:42.451Z" }, + { url = "https://files.pythonhosted.org/packages/26/c4/e11dea21d9a29486eba78887380374189d472734fa32cc50cb37ca44d3d0/librt-0.16.0-cp314-cp314-musllinux_1_2_i686.whl", hash = "sha256:a4aaefb4ba6c07e1aeebb2795c8958148f1d6f9af3b555b53d23d766edb6d67a", size = 540663, upload-time = "2026-09-29T00:53:44.272Z" }, + { url = "https://files.pythonhosted.org/packages/44/75/e873ae158a8b7f5359be33e7fd6c1fbe02d9a78a3e89a77de6b0e837f476/librt-0.16.0-cp314-cp314-musllinux_1_2_ppc64le.whl", hash = "sha256:d92db7a0f6aee44f1baee94750457e8d2d1c6ccea41842de6268d34e8dc7eddd", size = 545908, upload-time = "2026-09-29T00:53:45.812Z" }, + { url = "https://files.pythonhosted.org/packages/ba/36/8939d3f6a93e11bd9592e6fe28d2b44f1c2dc4bed6e22e72359a91e18ffb/librt-0.16.0-cp314-cp314-musllinux_1_2_riscv64.whl", hash = "sha256:378dfaffb38e59c24a87cde5713cd865d51ff7383fa12947f3907f306ea1ca55", size = 523302, upload-time = "2026-09-29T00:53:47.596Z" }, + { url = "https://files.pythonhosted.org/packages/71/14/35309f44a077f0f42ade0e2e7cd88c0cea760c661af205c01ea90d3c0e1f/librt-0.16.0-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:3e0c39bdc85370422e8b637be76eb1fd07d30967551b03e62267dd156f553152", size = 565911, upload-time = "2026-09-29T00:53:49.278Z" }, + { url = "https://files.pythonhosted.org/packages/78/0c/df6255b94967f3159ebc46f08d8e783c12da6ee269ddb74b2efed63c640c/librt-0.16.0-cp314-cp314-pyemscripten_2026_0_wasm32.whl", hash = "sha256:1b384b90ab79a7bc30b566895809a636e0666f21f3cf12b54823d025b7e83839", size = 79119, upload-time = "2026-09-29T00:53:50.938Z" }, + { url = "https://files.pythonhosted.org/packages/6b/44/d30d5a5461378c9d33f36736c6791c3b4c4ba4b1ffe0da7350aedcb2c9a0/librt-0.16.0-cp314-cp314-win32.whl", hash = "sha256:52327da75a94012e7f932f913d20d3876bed3c102be00e6c3e8600ff7bdd58a7", size = 100140, upload-time = "2026-09-29T00:53:52.205Z" }, + { url = "https://files.pythonhosted.org/packages/c2/98/769712f356a1e897df3581bb0c3100375d054a000de26099360ea65b5111/librt-0.16.0-cp314-cp314-win_amd64.whl", hash = "sha256:3f0b8114c44b2ac06ff5dacd08e07e8e807ff4f46083f2a1602685122559be41", size = 120464, upload-time = "2026-09-29T00:53:53.495Z" }, + { url = "https://files.pythonhosted.org/packages/bf/d3/ae2abccc8bdc8b063c1613a77686e17b74e9d3d60cfe6f12c63fa2821b9f/librt-0.16.0-cp314-cp314-win_arm64.whl", hash = "sha256:8caf96a4ef8fb27d0ac0d1ad8337d26a240acd4a02fe4345d0a8f264753e8f99", size = 110889, upload-time = "2026-09-29T00:53:54.817Z" }, + { url = "https://files.pythonhosted.org/packages/e4/26/0737d4be058dd6376eade7dd8b380d4b869b6394cee929393a5a431c45bb/librt-0.16.0-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:953107e2f68d0f3512c48f898b0dbf0ce5cc52bba0f318d847c985dc555ee4cc", size = 159838, upload-time = "2026-09-29T00:53:56.22Z" }, + { url = "https://files.pythonhosted.org/packages/01/96/9bc96531d7c620e9949af904470f02e3fa8f35129ab8e8f281c51eaa3788/librt-0.16.0-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:ad37d5b9abd49c9a655dcda7ea52a8a752884062ef1ee71ae17c2f2a0f81fe6a", size = 162018, upload-time = "2026-09-29T00:53:57.532Z" }, + { url = "https://files.pythonhosted.org/packages/0e/fa/b0289dcb186eb3f97221ba00da5f4bd3ba7fa5e99752d48aa8d336615334/librt-0.16.0-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:2c4aa329c17bd1aaea4f6e89335d8ccd494b3a5830b6654462273e50e11023f0", size = 703983, upload-time = "2026-09-29T00:53:59.024Z" }, + { url = "https://files.pythonhosted.org/packages/d9/ab/05ebbbde7530fc5eeb58fbd1581522a9f64f132fa703c4c595eed6e14760/librt-0.16.0-cp314-cp314t-manylinux2014_i686.manylinux_2_17_i686.manylinux_2_28_i686.whl", hash = "sha256:0ead24d2562a49473dddd9efef8581f020007eb0054389c3ee3ffad38b1ca4c9", size = 683847, upload-time = "2026-09-29T00:54:00.671Z" }, + { url = "https://files.pythonhosted.org/packages/a3/75/f52aeecd4dbadbddf80725ba7de126d8bd5d0eb66247eae17a81ed90dd4d/librt-0.16.0-cp314-cp314t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:02118f56a9c36ddd07dfd9b919d9ecc117ba20a90987d56aa4c429fa34509188", size = 698045, upload-time = "2026-09-29T00:54:02.247Z" }, + { url = "https://files.pythonhosted.org/packages/e6/55/fa277a835cd6eb42380591ceb85f48c5b4d2b2d7e2cb9869e1e17d24d237/librt-0.16.0-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:4e29522c62e28595ff7e324c6834ade51127707f0e255b18d1c1cf03d39c1048", size = 724640, upload-time = "2026-09-29T00:54:04.078Z" }, + { url = "https://files.pythonhosted.org/packages/25/e4/2cf64354f3fde8ebd591b3b48f96510bee24ac5f7d1e567adbbe210abdbd/librt-0.16.0-cp314-cp314t-manylinux_2_34_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:3ff4b2367926b69c6215635902cccb04048e73094e9862900d27cb2c6bbff143", size = 731748, upload-time = "2026-09-29T00:54:05.741Z" }, + { url = "https://files.pythonhosted.org/packages/f8/c9/c180af3e94e01aa529fa93d7733fec2abc47f222345400cf21d5481d5f8a/librt-0.16.0-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:c6f1b27bf1632a7e016af9f145f82be95e1edd7721a646505c21059257cb5a04", size = 754960, upload-time = "2026-09-29T00:54:07.38Z" }, + { url = "https://files.pythonhosted.org/packages/95/d6/01073aa78c58f356b10d9c57b3fe9abb143df338142bcd316df417b89db0/librt-0.16.0-cp314-cp314t-musllinux_1_2_i686.whl", hash = "sha256:5696d7f52e7b37217cb3a8f92c744fe835942602fdd4c1a8bc4741d3bfdce15e", size = 747000, upload-time = "2026-09-29T00:54:09.06Z" }, + { url = "https://files.pythonhosted.org/packages/f7/d8/1de3783908658d697a8cfc00582f61299ffba7796d7260c112e4700b1109/librt-0.16.0-cp314-cp314t-musllinux_1_2_ppc64le.whl", hash = "sha256:6072e92dd876ff6ceeb6cf371e35e51f479349837391341f479b08df4564242b", size = 749569, upload-time = "2026-09-29T00:54:10.702Z" }, + { url = "https://files.pythonhosted.org/packages/b7/32/e817f66c96d6caa8bb8435ff93c4c220624d59efc506be59ab98fcd01d0c/librt-0.16.0-cp314-cp314t-musllinux_1_2_riscv64.whl", hash = "sha256:39ca4f2f2fe05de8e63493da592d84311adabe5bef52b193851981da9816b302", size = 729483, upload-time = "2026-09-29T00:54:12.25Z" }, + { url = "https://files.pythonhosted.org/packages/7c/c9/23992ccd2b9d22798fdd0f61353183a47414e651da782ad83eb680f50833/librt-0.16.0-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:f9807485a908f00355820f18e91e045ffdcdc5adb68aaec40a1e2b88c5f7bba1", size = 776584, upload-time = "2026-09-29T00:54:13.837Z" }, + { url = "https://files.pythonhosted.org/packages/67/3b/e8af957f08e6e2e8e566b099e43d2748418aa565df6ee1d9d3331209fdfe/librt-0.16.0-cp314-cp314t-win32.whl", hash = "sha256:94be5cb7bca4df6201f4183e9e4fa2086c655283d20b38cd84500a69057575a7", size = 104402, upload-time = "2026-09-29T00:54:15.568Z" }, + { url = "https://files.pythonhosted.org/packages/ca/1c/946e6443d7cd32347a086043395e421e52fd603c9163d2ec970ceab8eed6/librt-0.16.0-cp314-cp314t-win_amd64.whl", hash = "sha256:d46ca272b251d033dd4527b0dec5f261a28a52bd5fa0f99c117b0a1f8588cc2d", size = 126227, upload-time = "2026-09-29T00:54:17.165Z" }, + { url = "https://files.pythonhosted.org/packages/c2/a3/bc4f9959d3c62bcbf9e5fd3470a8bbd8bf33224ed4c25d7fba173201b8ac/librt-0.16.0-cp314-cp314t-win_arm64.whl", hash = "sha256:b9d6d4b14e92d876f8026b54c20c445f36425214c1081dc76f74e40db386b82b", size = 116493, upload-time = "2026-09-29T00:54:18.567Z" }, + { url = "https://files.pythonhosted.org/packages/b6/4b/10fdb42dfab4c1533e1570e686b18e86ff4328b406361b39fb3016667638/librt-0.16.0-cp315-cp315-macosx_10_15_x86_64.whl", hash = "sha256:6fe436af2eaf630474f491af5d032cbe45f93fcff5c3b9fe4ab194a7255b20ff", size = 149829, upload-time = "2026-09-29T00:54:19.933Z" }, + { url = "https://files.pythonhosted.org/packages/8e/30/a90ca13f1d3d91af1680000a4038536907018fbd51764767287a05d28b8b/librt-0.16.0-cp315-cp315-macosx_11_0_arm64.whl", hash = "sha256:8ff5d26c529336be9bd7ae04483235d77778ee7d6444a95353102b542601ce81", size = 154522, upload-time = "2026-09-29T00:54:21.306Z" }, + { url = "https://files.pythonhosted.org/packages/5c/dd/bcf364eacfa070bb1fc88d503111ae7177914197ba1fa717c748926e7930/librt-0.16.0-cp315-cp315-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:909d8e3c1faee44cb762b1c519ff8613dcc5ceae5c99987a00917b5a31fd1d6a", size = 497593, upload-time = "2026-09-29T00:54:22.798Z" }, + { url = "https://files.pythonhosted.org/packages/18/c1/2c4e81e347bdabfe8346bfc6dc37ae5e154d61c88e30848ec0606025a5e0/librt-0.16.0-cp315-cp315-manylinux2014_i686.manylinux_2_17_i686.manylinux_2_28_i686.whl", hash = "sha256:6d4a64283ee61824b5790de882bc68e2d9d7a5143537cb7a966f7354f71646d4", size = 480459, upload-time = "2026-09-29T00:54:24.364Z" }, + { url = "https://files.pythonhosted.org/packages/ab/d7/fef2a3cb8400701be496f6e459876f650b3451f407e30cb243de571ae615/librt-0.16.0-cp315-cp315-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:5810ba811297fdf37a1531a57667cb8ace0842013ca8606bf9eb7c24cf4be154", size = 507814, upload-time = "2026-09-29T00:54:25.997Z" }, + { url = "https://files.pythonhosted.org/packages/e1/6f/53762927a32e9dc9eb1d1c1f3528da281290c86d96929a8af652f671266e/librt-0.16.0-cp315-cp315-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:e56aaf8c167548dc8e5d6f3bd0f48dcdd299a23c73be3f744aab79d99e9c7f5d", size = 525114, upload-time = "2026-09-29T00:54:27.747Z" }, + { url = "https://files.pythonhosted.org/packages/6c/67/0b9d031f303c4e8c691a9a8ef9d272f13b530c11cc563b819df621b6a348/librt-0.16.0-cp315-cp315-manylinux_2_34_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:8f36c58e33b304b525c6c9c5076399c6ebf1109e17b9051a05a407b091b9215b", size = 520465, upload-time = "2026-09-29T00:54:29.331Z" }, + { url = "https://files.pythonhosted.org/packages/ae/d5/2056a3a85864e882eb17a203a10ddb26fa748bc9718ec67e79059ab46cae/librt-0.16.0-cp315-cp315-musllinux_1_2_aarch64.whl", hash = "sha256:242e00b3d4fa37c3d3c1ca5f5c9adb7d909ddb1eac9c41f2787320d00caa0af2", size = 537257, upload-time = "2026-09-29T00:54:30.915Z" }, + { url = "https://files.pythonhosted.org/packages/54/57/e0d79790c163cbc0909e209a6f62e30bb713b647f905a176cdc64848fd4d/librt-0.16.0-cp315-cp315-musllinux_1_2_i686.whl", hash = "sha256:0253721561787b8df8443eb347b7a6461015354e5bdd37ee38a41fef220d2bb0", size = 527442, upload-time = "2026-09-29T00:54:32.478Z" }, + { url = "https://files.pythonhosted.org/packages/aa/50/1c0c95aba7af51f4752ea34fbf2eb79b36e7cae3a72536248e8c735de735/librt-0.16.0-cp315-cp315-musllinux_1_2_ppc64le.whl", hash = "sha256:3e483a8d69ede8067db70c0e83007423b6925de6fd53afed01d66160f2e9398c", size = 548139, upload-time = "2026-09-29T00:54:34.183Z" }, + { url = "https://files.pythonhosted.org/packages/98/91/a8a43dd5138d4f55f88846b8f0c85454a4fad69952cebfcff9948f831290/librt-0.16.0-cp315-cp315-musllinux_1_2_riscv64.whl", hash = "sha256:69ba927445cfaaffb4081003ef5224c55a5c2ab67ef956f416ef744916e44121", size = 529708, upload-time = "2026-09-29T00:54:35.761Z" }, + { url = "https://files.pythonhosted.org/packages/2d/41/d5226881ab2b7c20d9d587b37bdd4a0ec8775a96d00ca87ac9f385587db4/librt-0.16.0-cp315-cp315-musllinux_1_2_x86_64.whl", hash = "sha256:d6a365f2ab45a984d0e00eee0dd17f599ceab8cadab6ea07b6111c8132fc0e42", size = 567781, upload-time = "2026-09-29T00:54:37.409Z" }, + { url = "https://files.pythonhosted.org/packages/bb/bf/2345ba57a626e8c78c4ddcc724636a8df5a593fe46c1ee76bbf477e32b0d/librt-0.16.0-cp315-cp315-pyemscripten_2026_5_wasm32.whl", hash = "sha256:f01f3805f2dae4781c0c34b440e31740d082950bdaf89a6f601ad589a28af57a", size = 79177, upload-time = "2026-09-29T00:54:38.792Z" }, + { url = "https://files.pythonhosted.org/packages/1e/40/99e77936cc9207f629b077bf7cbc5e2f0827cddd7c29792f04ef881bd2c3/librt-0.16.0-cp315-cp315-win32.whl", hash = "sha256:b0e3e721c75d2e79a76d4422c79d7ba705fe1bbafec907037fe7a657a480a0e3", size = 100127, upload-time = "2026-09-29T00:54:40.251Z" }, + { url = "https://files.pythonhosted.org/packages/56/1e/801fe26bc622061b9dfd010e166d94142cb774b733217e6d98d1c0cf2638/librt-0.16.0-cp315-cp315-win_amd64.whl", hash = "sha256:bc02954b1295de798bbdb0b4e2d8a28c2117de8b5c73dcbeb27dc32572dfb971", size = 120480, upload-time = "2026-09-29T00:54:41.722Z" }, + { url = "https://files.pythonhosted.org/packages/bb/a9/d533983055bd36e112627384c2c038845d1df882540b8bcefb566475640b/librt-0.16.0-cp315-cp315-win_arm64.whl", hash = "sha256:c5db585d43449a5f54303d4b2774e45e1babd975cfe1630a3d708c0b80c3e560", size = 110915, upload-time = "2026-09-29T00:54:43.052Z" }, + { url = "https://files.pythonhosted.org/packages/55/fe/d62238fa9c653b0e0613290349467cb65711b5800e8e474f45e942a0ad95/librt-0.16.0-cp315-cp315t-macosx_10_15_x86_64.whl", hash = "sha256:f06c689cb14afd9b612727553a5ec5a40febf113ca41c4413a2b0b334285884b", size = 159714, upload-time = "2026-09-29T00:54:44.497Z" }, + { url = "https://files.pythonhosted.org/packages/f3/ac/f31efe7818700be72ba4f9af8a80fa67c39808c8d26dacc55dc1f6f35172/librt-0.16.0-cp315-cp315t-macosx_11_0_arm64.whl", hash = "sha256:13b4e8aba90b0b1c82474e9844aa9ffe7ad3faa484350e1da64cb8188d903134", size = 162086, upload-time = "2026-09-29T00:54:45.968Z" }, + { url = "https://files.pythonhosted.org/packages/d9/16/4d7487bf86a9d7e8e18f37ba5538789233ea693637379b75701bd35ec9de/librt-0.16.0-cp315-cp315t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:5a269c46ae327d8e6f8c1f85f7516cb52c0fa48127565a1105a4f4a05ff2a0b4", size = 712727, upload-time = "2026-09-29T00:54:47.486Z" }, + { url = "https://files.pythonhosted.org/packages/77/74/50cd550ccc1a517b9ed62347625c01ddf8c4afad66490312677c011458f6/librt-0.16.0-cp315-cp315t-manylinux2014_i686.manylinux_2_17_i686.manylinux_2_28_i686.whl", hash = "sha256:a33e0dae1f8592146a4764d54ce842b278732d21a84e17c3bbe6b1bc158a2248", size = 681106, upload-time = "2026-09-29T00:54:49.126Z" }, + { url = "https://files.pythonhosted.org/packages/df/5d/7293f712975ee6fdd2251411fd9ef1c62bc99c7b83ecbe62dbc999b1fab7/librt-0.16.0-cp315-cp315t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:47ada6ea32636492c61aa8ad27ae3b9404bfe7a97e3ba946d1984236cc741da0", size = 705921, upload-time = "2026-09-29T00:54:50.905Z" }, + { url = "https://files.pythonhosted.org/packages/67/f7/8aab946f11d59d1bece9ffc65d994b200c789a8ca5a95c17e17e609f912a/librt-0.16.0-cp315-cp315t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:c43bd6e642d8a248c114327f98dd25ac5a7cb5aa168ef02f0559b91874df16b8", size = 731786, upload-time = "2026-09-29T00:54:52.584Z" }, + { url = "https://files.pythonhosted.org/packages/43/76/1c42ab31e7cb8384ebf6d3af607213c495222474f4940443ae7639ab7685/librt-0.16.0-cp315-cp315t-manylinux_2_34_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:c3d1bb7841a816ace6449bb26d3f9560dbfa20e71c568d23f0f62bf1e68f50b1", size = 744964, upload-time = "2026-09-29T00:54:54.217Z" }, + { url = "https://files.pythonhosted.org/packages/6f/2e/4b19982d933d2dfced671e840b219e4c1cd3f507df6e6dabb51bbd4e3850/librt-0.16.0-cp315-cp315t-musllinux_1_2_aarch64.whl", hash = "sha256:3931f7a3db322e7f44e02a280e3949326ce9579ad388ee8d691dc7c76da9fb70", size = 765305, upload-time = "2026-09-29T00:54:55.815Z" }, + { url = "https://files.pythonhosted.org/packages/b8/1b/e872583de2dcb3ac7746e7a2321aeeb168274f3952a87dc66e05ddb29faf/librt-0.16.0-cp315-cp315t-musllinux_1_2_i686.whl", hash = "sha256:f4462528b6000afe8f16907b5c7c2553abf1df005ba5140e6eb394541c3624c3", size = 744959, upload-time = "2026-09-29T00:54:57.532Z" }, + { url = "https://files.pythonhosted.org/packages/10/de/a18c6bcfb297af2674233e90b3c3661c3a0af0f1434a0c966d2ef708a835/librt-0.16.0-cp315-cp315t-musllinux_1_2_ppc64le.whl", hash = "sha256:80039ba9b6a7d5f1a0175a4cca6bbefead87bd854c80abad1cb30afe47a830db", size = 758138, upload-time = "2026-09-29T00:54:59.484Z" }, + { url = "https://files.pythonhosted.org/packages/22/1c/0df1d732539c297bb1a093e1fe3204d2faf76a9022cf4e1d1c2fce059790/librt-0.16.0-cp315-cp315t-musllinux_1_2_riscv64.whl", hash = "sha256:7a1d272724b581bb6bc769dfdafed6da2ecc9886ba2450311de55a4ac2e1e9cd", size = 744268, upload-time = "2026-09-29T00:55:01.179Z" }, + { url = "https://files.pythonhosted.org/packages/a2/f7/ccaf31331f20c91a5bd9bd48ffc3f743f9c81bb5720cc7b2a720ca204f0a/librt-0.16.0-cp315-cp315t-musllinux_1_2_x86_64.whl", hash = "sha256:fbe4fb8c5445f7496d7f7f6bb0807875d09d47e6771ffa175fb2df2895fb86ba", size = 785783, upload-time = "2026-09-29T00:55:02.938Z" }, + { url = "https://files.pythonhosted.org/packages/c1/ea/7421d9e6db894cd6cd788b604b3394a163ded6b942052b6f96c23ccf08e1/librt-0.16.0-cp315-cp315t-win32.whl", hash = "sha256:375bfe6b572a8f6cfc398709356046173bf27e64c4c5edaf5f7062f051fb4bf9", size = 104355, upload-time = "2026-09-29T00:55:04.533Z" }, + { url = "https://files.pythonhosted.org/packages/85/6d/7c31a506eb847bc58aeb2402d58e17605e821f68ab5df5e66fe274a6df41/librt-0.16.0-cp315-cp315t-win_amd64.whl", hash = "sha256:bd3150023d3dc2bc70f3784e59ffa1140d56ddba3d8125b3d6f9f85221279bfc", size = 126134, upload-time = "2026-09-29T00:55:06.017Z" }, + { url = "https://files.pythonhosted.org/packages/36/69/7a5d10ac409c4da0355e054a14371871da9b5557fcc42772cd00181c6cce/librt-0.16.0-cp315-cp315t-win_arm64.whl", hash = "sha256:8ceafb70f2a4f0826f11031942e59c0728fd98da112dc346d4352bde1e486866", size = 116391, upload-time = "2026-09-29T00:55:07.484Z" }, +] + +[[package]] +name = "markdown-it-py" +version = "4.2.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "mdurl" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/06/ff/7841249c247aa650a76b9ee4bbaeae59370dc8bfd2f6c01f3630c35eb134/markdown_it_py-4.2.0.tar.gz", hash = "sha256:04a21681d6fbb623de53f6f364d352309d4094dd4194040a10fd51833e418d49", size = 82454, upload-time = "2026-05-07T12:08:28.36Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/b3/81/4da04ced5a082363ecfa159c010d200ecbd959ae410c10c0264a38cac0f5/markdown_it_py-4.2.0-py3-none-any.whl", hash = "sha256:9f7ebbcd14fe59494226453aed97c1070d83f8d24b6fc3a3bcf9a38092641c4a", size = 91687, upload-time = "2026-05-07T12:08:27.182Z" }, +] + +[[package]] +name = "markupsafe" +version = "3.0.4" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/38/9b/e422a865e1d5d57d0e509b4e0bf1c1a70a7f6382c29a5aa428df994c8bc8/markupsafe-3.0.4.tar.gz", hash = "sha256:2e9ad7dd851bf45fab9f75cbff4cb493fee9979e8d8c7c9c3ee119022518edd6", size = 153777, upload-time = "2026-10-02T23:07:22.29Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/32/55/18dbb4778b30ada5ce071608503cc3edc9e14e13d868c17a6d178fc30f7a/markupsafe-3.0.4-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:9e25feb9e330b63edb0278a0acdf85e50d0cb0fbf49c3084abbe4e24ae195346", size = 11520, upload-time = "2026-10-02T23:04:36.299Z" }, + { url = "https://files.pythonhosted.org/packages/6c/14/0b05f79b4733e264a18d08fe08fa1df7347630ff32a6cb82180d9dccec55/markupsafe-3.0.4-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:7d3391b2188d18737cb2fa147028b1096236eaa7e156446c650a489fa2cadc91", size = 12063, upload-time = "2026-10-02T23:04:37.291Z" }, + { url = "https://files.pythonhosted.org/packages/ca/3a/63ba10b6c1463216b3e4df669a9f0e5a3b0c3071557d2e8229e3968c79fb/markupsafe-3.0.4-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:849dd2bb0e5e4ab2b71c7191726a4a8d5aa8a610daa584728cbee0b710ddc4ef", size = 24321, upload-time = "2026-10-02T23:04:38.262Z" }, + { url = "https://files.pythonhosted.org/packages/1a/2e/5f015261b76ad633d187ef6f388b413aedd64a8773c4df59e530a0be5525/markupsafe-3.0.4-cp311-cp311-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:befb4158af32106b9a93db8d6d1d1cbbd418c0d5aca0cabb7b1780abf0c89169", size = 28845, upload-time = "2026-10-02T23:04:39.295Z" }, + { url = "https://files.pythonhosted.org/packages/33/cf/26e594b26be40c2f1fec63ccf8a8b99d0335a5b2cbe84835c7d82a994375/markupsafe-3.0.4-cp311-cp311-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:71f88e749ea29f67f21f3b36433c1dc54c7729ed2a6d9e2da2e0d9e0d7b224eb", size = 24701, upload-time = "2026-10-02T23:04:40.348Z" }, + { url = "https://files.pythonhosted.org/packages/81/a5/a513b76c139a3915b43404324e55c0b7979ae4f0d39eb6f075b0282e90a8/markupsafe-3.0.4-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:6da83a088f8ef93b2d483a8232a4dbf4d69d3d8496b568a03c56becac43e1808", size = 22961, upload-time = "2026-10-02T23:04:41.372Z" }, + { url = "https://files.pythonhosted.org/packages/46/cf/4c66192c100b4542bcbe392ae06696b670f66927be3ac38a213234778ff9/markupsafe-3.0.4-cp311-cp311-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:8f0fac8b13d14bb06c68195f849371924ae53dd7b1c00fed24650f704383b692", size = 21920, upload-time = "2026-10-02T23:04:42.429Z" }, + { url = "https://files.pythonhosted.org/packages/cb/17/ac3662678bfbad649893117ada2ba44dc30bf56884e84f13154a792b10f1/markupsafe-3.0.4-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:4a7cdc2a420ca01058182da4253329764d4bfa055564d1eced90e6ba1e8b1d3d", size = 23726, upload-time = "2026-10-02T23:04:43.531Z" }, + { url = "https://files.pythonhosted.org/packages/f7/af/fe47cee339180a69ebca3c57fb3483d0f5cbd1e8337d1871fb1d9c1aebee/markupsafe-3.0.4-cp311-cp311-musllinux_1_2_armv7l.whl", hash = "sha256:83b3944fea42a8400edf92fd1770fb8d0d4f7de651353bd2d8525a92dba69a21", size = 22539, upload-time = "2026-10-02T23:04:44.618Z" }, + { url = "https://files.pythonhosted.org/packages/12/32/d55440ba140442800e02d799c9cb5ab597bf6ebdb1177b5ea39a11f797bd/markupsafe-3.0.4-cp311-cp311-musllinux_1_2_ppc64le.whl", hash = "sha256:8138eb83940ec7299024d92d4dee45f601b9e6c5ffde9d25f4e35e326203c707", size = 23963, upload-time = "2026-10-02T23:04:45.656Z" }, + { url = "https://files.pythonhosted.org/packages/50/9d/9c86042cb364c2ad4c971e6d1247929effd25f714cd7ee11b05e6316445b/markupsafe-3.0.4-cp311-cp311-musllinux_1_2_riscv64.whl", hash = "sha256:811d02d5122171c1941357efd8f9bf4ffe907b7f0a1a4e729a880e4be3f46e3e", size = 21506, upload-time = "2026-10-02T23:04:46.671Z" }, + { url = "https://files.pythonhosted.org/packages/75/ef/5b824f03ba40c3b3652b6272d083d2fc4fcdd440de519a3a39ba2c3e7262/markupsafe-3.0.4-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:50b5bedc9ed8a94fc8857a42ef4f84a81ea88f8d4f05dc8705fb23ee6d8dcca7", size = 22955, upload-time = "2026-10-02T23:04:47.698Z" }, + { url = "https://files.pythonhosted.org/packages/1e/e8/44cfcb5ea40e5e43cec7793ef90704ed0c475280839076c4345757eb8e59/markupsafe-3.0.4-cp311-cp311-win32.whl", hash = "sha256:2e5a7cd7fdd14fcb1ae5d7d8bf23d24fbd1daefd1fbca2580132e1ea75f098b5", size = 14094, upload-time = "2026-10-02T23:04:48.788Z" }, + { url = "https://files.pythonhosted.org/packages/91/89/f2b509f7bf79352e40117824c1070dbeafd4df67031d3fa98165a3134228/markupsafe-3.0.4-cp311-cp311-win_amd64.whl", hash = "sha256:fdb4ca07ab75ffadab4a8b135ad59cdbb3156b99310f3d565370da74a15d6bd3", size = 14328, upload-time = "2026-10-02T23:04:49.801Z" }, + { url = "https://files.pythonhosted.org/packages/2b/5a/ccf22672a0f64dc682306e288f0dabcb06c7a201f3bb6e6cbf86d9e8ad03/markupsafe-3.0.4-cp311-cp311-win_arm64.whl", hash = "sha256:569d65055d367e3dcdf30c3f41119467b73d9ee9faf332bdf40402644f5ac08e", size = 14188, upload-time = "2026-10-02T23:04:50.847Z" }, + { url = "https://files.pythonhosted.org/packages/81/09/4c59d56b8461ae8eb0d8ba34bb25b7e618547044679d58a82ef9b2479fc1/markupsafe-3.0.4-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:61631e08084be9e21a8967ec3139c7616ed7c5e9368e05c86d1b39562c8a57b6", size = 11658, upload-time = "2026-10-02T23:04:51.876Z" }, + { url = "https://files.pythonhosted.org/packages/a2/f0/d6613774d86fbf6d145751d43c59875e47a6f9f17daee0aef173bd36d90e/markupsafe-3.0.4-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:0930db9bdc62d22944e10b066448bb65dc9abe9112880c7cab8da54db4284d5f", size = 12050, upload-time = "2026-10-02T23:04:52.931Z" }, + { url = "https://files.pythonhosted.org/packages/0d/f2/8f18e0b806eb13c1f8d07d917a720831ead54253a6dec011fbc78098a6f8/markupsafe-3.0.4-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:6a45c3d514f2436064db00d7fc8778d888f0236ebfed649b53d13a59e69ad51b", size = 24363, upload-time = "2026-10-02T23:04:53.895Z" }, + { url = "https://files.pythonhosted.org/packages/60/ce/fa07dbe8a5675558fa36dea033e19995bc783de2dec5f540ccb9030b06aa/markupsafe-3.0.4-cp312-cp312-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:1e1451fab512d1bcc3dc26988ec1edb0b82c2db909132872cd9356070a6b63df", size = 28525, upload-time = "2026-10-02T23:04:54.905Z" }, + { url = "https://files.pythonhosted.org/packages/85/40/be87c01f3868ec217f8a2015089d71c22c8c5a75324822e5ed1cdd87210d/markupsafe-3.0.4-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:bd3ce56ae2cbae3ba82b683bc425cd7e48d2ed8b10f3e818186b6f5646d9271c", size = 24733, upload-time = "2026-10-02T23:04:56.229Z" }, + { url = "https://files.pythonhosted.org/packages/4f/a7/aeedb5140afa41fc74c225e9184ab96723a6e873b6ee1c9fede7283456d8/markupsafe-3.0.4-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:8e124f974786f831d6043728e38296969d3579db8896fe004682f5758e613581", size = 22985, upload-time = "2026-10-02T23:04:57.521Z" }, + { url = "https://files.pythonhosted.org/packages/c3/fc/e91352bb08c6a59da3ef0909d457bf95a5f5908fbf151b30a06d9dbcfbb4/markupsafe-3.0.4-cp312-cp312-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:c02e8f18bdedba082cef725942ac823b9b60656db07f7e265cb31618dfd00d77", size = 22001, upload-time = "2026-10-02T23:04:58.597Z" }, + { url = "https://files.pythonhosted.org/packages/5d/f8/bffee5e7d2a3deb59748a797650a48af7e672025cf641a79344a771ad106/markupsafe-3.0.4-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:9f098115c247e11d138ab83a28fa0323c77015007ea2df73ba5fd714dfefd67c", size = 23793, upload-time = "2026-10-02T23:04:59.686Z" }, + { url = "https://files.pythonhosted.org/packages/ed/59/b853d6628ecb4d658e1d637224846d5e9bb4adf4f8df97f3be9f29dce2ec/markupsafe-3.0.4-cp312-cp312-musllinux_1_2_armv7l.whl", hash = "sha256:d5f93ebbeb8032d47e349328ec8662d973d9b05a70b3c35df1f91fe419b84749", size = 22640, upload-time = "2026-10-02T23:05:00.768Z" }, + { url = "https://files.pythonhosted.org/packages/09/b2/1506df394f0f075797c418d0301498f49e43be194e3ffcb49e6fe6ccf022/markupsafe-3.0.4-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:64511c54db4e4987aef4c41923235927428729e8174c5dba488429be70a998ed", size = 24074, upload-time = "2026-10-02T23:05:01.813Z" }, + { url = "https://files.pythonhosted.org/packages/c7/81/5ed69cda630ac69ef60d06c09ba5a7f84ff66a2e28cf986fd5614ab3c6e6/markupsafe-3.0.4-cp312-cp312-musllinux_1_2_riscv64.whl", hash = "sha256:e1a622f13970d81f95d0c72f9dc090dce9085fccfa4c9f2174377ee32bd15786", size = 21563, upload-time = "2026-10-02T23:05:03.239Z" }, + { url = "https://files.pythonhosted.org/packages/0c/fe/fb1e79be0fea60aa32602ebefc9c35a82bb42b4df157285ab7dfec12341a/markupsafe-3.0.4-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:c9a7f43c0b202b334cc9184af09bb8f21d3a209e038efaf106936fb69e6b026e", size = 23048, upload-time = "2026-10-02T23:05:04.479Z" }, + { url = "https://files.pythonhosted.org/packages/c8/52/7632a53360671a9b750cdbabaf9cdd89f18b42248b8e4cb42c0b0296e459/markupsafe-3.0.4-cp312-cp312-win32.whl", hash = "sha256:f0ec3b750b59375eab5b0fb2b9254810c00a3375be6d789899f1055a1d556237", size = 14108, upload-time = "2026-10-02T23:05:05.513Z" }, + { url = "https://files.pythonhosted.org/packages/3f/bf/62495e180b7000aaf30000fff849e933f74264638057176cf46852500adc/markupsafe-3.0.4-cp312-cp312-win_amd64.whl", hash = "sha256:11935df9bf455ed0c04eb87bcd720f02b1fe5e02128a9430f23aed6f93336fc7", size = 14303, upload-time = "2026-10-02T23:05:06.538Z" }, + { url = "https://files.pythonhosted.org/packages/c5/8e/4c24208776a65878d656996945aacfbfe010d3720d1a98fc0eb8491fc03b/markupsafe-3.0.4-cp312-cp312-win_arm64.whl", hash = "sha256:a4bbd2d87dd233b9fc5812160c3d0ffbe42edc22a26ce0469f58479ede633fe9", size = 14174, upload-time = "2026-10-02T23:05:07.617Z" }, + { url = "https://files.pythonhosted.org/packages/6d/18/4bc5ba32499e87bb2b0ef5b3a9bb9c00a131fa961ddf0be548cb550f548b/markupsafe-3.0.4-cp313-cp313-android_24_arm64_v8a.whl", hash = "sha256:de8b364c423ef0a4bad9069657d617f9a5d2b2062457a89b1fa16ee199c399c1", size = 12786, upload-time = "2026-10-02T23:05:08.709Z" }, + { url = "https://files.pythonhosted.org/packages/4e/6f/17f0c099bf25f3e31e63cc19244d9f6af861a9a4ab778c203997903cfdd0/markupsafe-3.0.4-cp313-cp313-android_24_x86_64.whl", hash = "sha256:34bdde374c5932765d7dc685c4a1d191a3207852d67e8e0a9eb6ea85156181f1", size = 12510, upload-time = "2026-10-02T23:05:09.93Z" }, + { url = "https://files.pythonhosted.org/packages/11/af/1a141081b905036ee904ec4bd945e1f70b4e1b32d33c4e59e8cf1d58b247/markupsafe-3.0.4-cp313-cp313-ios_13_0_arm64_iphoneos.whl", hash = "sha256:6bd9e1788e15bfcf6a9082de42e30387e7b85d211ab21e57a939bb8cfaaf8d96", size = 11583, upload-time = "2026-10-02T23:05:10.884Z" }, + { url = "https://files.pythonhosted.org/packages/e7/0a/a89385ae590232622a03e091805cff12f24fabe6c11e0e8bae096cece81c/markupsafe-3.0.4-cp313-cp313-ios_13_0_arm64_iphonesimulator.whl", hash = "sha256:5066b244f576f91afc8ee3ba029a89f99d39c79b1853fe9d39bea9f0afbec148", size = 11801, upload-time = "2026-10-02T23:05:11.913Z" }, + { url = "https://files.pythonhosted.org/packages/ed/85/ea548dc013962eb73653124bc595635fbf9e0fa41d1f181a967ccb784dfb/markupsafe-3.0.4-cp313-cp313-ios_13_0_x86_64_iphonesimulator.whl", hash = "sha256:7a83aa6e4805df46fed18e989d3d16f86ef60cb50bbc8d9ce3a6be89165fbf6e", size = 11443, upload-time = "2026-10-02T23:05:12.887Z" }, + { url = "https://files.pythonhosted.org/packages/cc/72/15f2e5ec9cf2eb00d5cdfe968d94e4156a7bd7303832c3f3b2c403a36839/markupsafe-3.0.4-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:2d1b7d9308288661f56672b1b157d75fc536714d3638487bbea17b6318a78248", size = 11665, upload-time = "2026-10-02T23:05:13.829Z" }, + { url = "https://files.pythonhosted.org/packages/ca/e0/4030bea613677e333c8a2c901fd405055f657f9d06acba5b7357984b6ef7/markupsafe-3.0.4-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:73e77980c7207854f00fc4e71fb1626868d5740ab4012623d55c7a99ad122a72", size = 12061, upload-time = "2026-10-02T23:05:14.807Z" }, + { url = "https://files.pythonhosted.org/packages/f3/a5/28b76a7449eb702966b88bef599e2360b411fbb3afeee8fe560939be06ec/markupsafe-3.0.4-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:7018d4af1cd272e847aa5917983ab5e83e4f6579f9dbfecd4a79c0ca80b144c2", size = 24395, upload-time = "2026-10-02T23:05:15.909Z" }, + { url = "https://files.pythonhosted.org/packages/07/6c/21232811afc3a063b5e934b1ae2efda52f46154ec382f585149c020e61fe/markupsafe-3.0.4-cp313-cp313-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:c90d5b3d4e944e065a301d741b3c1d784f6bd1f503aa68b4967e32b2ba313d85", size = 27183, upload-time = "2026-10-02T23:05:16.976Z" }, + { url = "https://files.pythonhosted.org/packages/14/38/6ccdfa5b59049cb36fb80cbc80aee9cf1fc9bb77d1335ad435f2070b08cf/markupsafe-3.0.4-cp313-cp313-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:18a801868a884f216e784d7d14db2a4077143ce7610440aee2ce8f734e7cfcde", size = 24772, upload-time = "2026-10-02T23:05:18.209Z" }, + { url = "https://files.pythonhosted.org/packages/63/e0/cec6865dfe88cb48fedd4b20aed6af5158e41092adcbf3e028bcc6ec2108/markupsafe-3.0.4-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:434139499bb20b502ed3baa1f169e618f924a97e7a777fea1a49446d80106cf6", size = 23017, upload-time = "2026-10-02T23:05:19.286Z" }, + { url = "https://files.pythonhosted.org/packages/ee/76/6ed4940bb7648a9aac457c14f870cfdd5105f139a0fb1f29cd61fafa47d1/markupsafe-3.0.4-cp313-cp313-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:9e227f3dbe6bde7491cf0a9965d00b88c6b1a4a95d11480ddf88bb96d397c19f", size = 22036, upload-time = "2026-10-02T23:05:20.352Z" }, + { url = "https://files.pythonhosted.org/packages/a1/4f/ed476226d4fe46a09090a36025bf319296810028df55eb12f1253b540f3a/markupsafe-3.0.4-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:b8cd1f918b26fd7b1832ece557cc18f2d8747309ff8b3f0ef9d4250c5ad67a39", size = 23786, upload-time = "2026-10-02T23:05:21.576Z" }, + { url = "https://files.pythonhosted.org/packages/9a/35/66ff30450e35ef5fba9ebc930c9411747e537fd9447b65e44f5007e2b84d/markupsafe-3.0.4-cp313-cp313-musllinux_1_2_armv7l.whl", hash = "sha256:a5fcffb37e602b0b3c1638a97746b9b96125caa9bcf6fa41d337a9261de231ee", size = 22672, upload-time = "2026-10-02T23:05:22.922Z" }, + { url = "https://files.pythonhosted.org/packages/32/0b/72f45ce4b4efcbca4b80cf1b06703eff0be8d37e82abb78f66c85a7ead1e/markupsafe-3.0.4-cp313-cp313-musllinux_1_2_ppc64le.whl", hash = "sha256:5989cb26b2e1efc6a42216a9f6b5ee495ce5ace2e5b352a9af489976b32d1ee2", size = 24107, upload-time = "2026-10-02T23:05:24.175Z" }, + { url = "https://files.pythonhosted.org/packages/d2/03/71776e5fdcba04614b384cc102e8a4198208579d896fd1394cb7cb9aa900/markupsafe-3.0.4-cp313-cp313-musllinux_1_2_riscv64.whl", hash = "sha256:add96447a86d205ab616665d53b2950ee81083757f56e6ea833c8b2917646b46", size = 21615, upload-time = "2026-10-02T23:05:25.215Z" }, + { url = "https://files.pythonhosted.org/packages/ab/5f/801ce02a02e7aee0f784b1ec7843026178f6adeb9c93ac67eb1992a9a84d/markupsafe-3.0.4-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:2628d3a8cb648ecebb3c5d6b0a1052d400e4d8b7ac0fb786be8d285b50040d17", size = 23076, upload-time = "2026-10-02T23:05:26.423Z" }, + { url = "https://files.pythonhosted.org/packages/4a/85/c43776625428f3bb4a61e8633940400e3efe6409e3c6f5bff26de5e45618/markupsafe-3.0.4-cp313-cp313-win32.whl", hash = "sha256:672d207103e6b16ca098611b0f9efad6bc00afd47c03d6ef62186495ca677dc0", size = 14118, upload-time = "2026-10-02T23:05:27.716Z" }, + { url = "https://files.pythonhosted.org/packages/6f/36/163da64de88a13db79214ef75fa041be7fa13bdb42261cf5b7484de14bfb/markupsafe-3.0.4-cp313-cp313-win_amd64.whl", hash = "sha256:1f1f9477e174582b0a1b583d60b66e1f2cf5d3fe12cee985e4aedf44766600e5", size = 14313, upload-time = "2026-10-02T23:05:28.749Z" }, + { url = "https://files.pythonhosted.org/packages/9f/a8/9b662783ffaa1149221432a923cee562f78b9cbbb8baa3df9b3753e63e1e/markupsafe-3.0.4-cp313-cp313-win_arm64.whl", hash = "sha256:06de8ef6331f6e822c28d577dc8bf43fe398800477c49498f38fc38b67ff33fc", size = 14189, upload-time = "2026-10-02T23:05:29.917Z" }, + { url = "https://files.pythonhosted.org/packages/5c/c3/a944f3b0df22bd129e96915b9f4e98d2eeca6516687d7618304a966c3c74/markupsafe-3.0.4-cp314-cp314-android_24_arm64_v8a.whl", hash = "sha256:4ed644d75aa94a2baf7ec3a96eaa160ea58c742eb9d27c6506053c5c40fc84ed", size = 12787, upload-time = "2026-10-02T23:05:30.971Z" }, + { url = "https://files.pythonhosted.org/packages/d4/d6/a44863f69d88b6c7e27889108f70d47aed259edf89d5df3c5fca1eac87d6/markupsafe-3.0.4-cp314-cp314-android_24_x86_64.whl", hash = "sha256:6d2a9efe686f9de00d0d1ea32a4a5a86d558a2277501bd78d964214eab625e59", size = 12525, upload-time = "2026-10-02T23:05:32.263Z" }, + { url = "https://files.pythonhosted.org/packages/17/8f/168ba80e532dd6a93f96f8f706f1ad41d7990b6e1aeedc1cc0d211a33497/markupsafe-3.0.4-cp314-cp314-ios_13_0_arm64_iphoneos.whl", hash = "sha256:8781a792a070cf2bd1b86d3aa943894115faaba6e88122a7bf32d62072742453", size = 11589, upload-time = "2026-10-02T23:05:33.251Z" }, + { url = "https://files.pythonhosted.org/packages/32/b3/aa2c95a574d3af39403a469b295886eb9b6d448da568cbebb5a2cbfdc2e5/markupsafe-3.0.4-cp314-cp314-ios_13_0_arm64_iphonesimulator.whl", hash = "sha256:971a3bbb75d97ae4e2e8f7d4834236f86f85f0c85e04ab2e191db1123b04f80b", size = 11801, upload-time = "2026-10-02T23:05:34.315Z" }, + { url = "https://files.pythonhosted.org/packages/60/d0/34b810107d83840e768bf485de795893ebbae35b26ab061b487adfa0a692/markupsafe-3.0.4-cp314-cp314-ios_13_0_x86_64_iphonesimulator.whl", hash = "sha256:8909c2f1c6dd65e054ac4b573a91c8384d1492281e55d82d159d653f7a13adf6", size = 11447, upload-time = "2026-10-02T23:05:35.302Z" }, + { url = "https://files.pythonhosted.org/packages/6c/ab/2f8488f0f817a39fca068d2b17daf446bf5cdb3eae28c3720af534d873b4/markupsafe-3.0.4-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:4cf3468d5ec187ffffcaca8e61929a37448f215dafc1386a12c750a72fe53634", size = 11722, upload-time = "2026-10-02T23:05:36.363Z" }, + { url = "https://files.pythonhosted.org/packages/ad/40/e2d117b048d47282ade906fbfd92814cbee5647afc13fda88a3406039372/markupsafe-3.0.4-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:52704c5d36eb6dda8866493decd61111fff86244c9b1ad225ca01b9e91e5970f", size = 12061, upload-time = "2026-10-02T23:05:37.397Z" }, + { url = "https://files.pythonhosted.org/packages/9a/a8/73a81135e85ba66217f5af7facb03bbb386807e1a729ab64532e4c802652/markupsafe-3.0.4-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:1caa2fa5a6184fb233153b35f654e6687bd555476f6170f29d8ee9be1a8b0af9", size = 24434, upload-time = "2026-10-02T23:05:38.407Z" }, + { url = "https://files.pythonhosted.org/packages/ac/ca/fa9216dd01efee2dfdacafe7df32b4d0170fbac694b0c258a193d6e53999/markupsafe-3.0.4-cp314-cp314-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:387d8cd30e69b3f0a72877b9ae717033396404e19095b17fe89753a981fda44f", size = 27183, upload-time = "2026-10-02T23:05:39.581Z" }, + { url = "https://files.pythonhosted.org/packages/fa/4e/a469509e538d37af51103b17b073126973f2b1cbf197ff32c7ddf025cfe5/markupsafe-3.0.4-cp314-cp314-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:051417f74bcaaefa316276e0ff723f541616ca51043d070da00249d9bddd3e3c", size = 24813, upload-time = "2026-10-02T23:05:40.671Z" }, + { url = "https://files.pythonhosted.org/packages/8f/db/d7282caf7ab03af44d5d6fdbaa019b35c7d7f1c90588b839c07cba640d6a/markupsafe-3.0.4-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:a8e9f292fcda89b324f2f5c91d13f1424a153e40fc2756f38ee23b15835ff300", size = 23049, upload-time = "2026-10-02T23:05:41.864Z" }, + { url = "https://files.pythonhosted.org/packages/30/f3/b6a425206e6964efda6acee544d0eb01d1501784d0b8e2dcc74986f33b17/markupsafe-3.0.4-cp314-cp314-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:df1ae86ff54725a01fa1a0510b914ca53a161b7050be74f6204e24aded5971d0", size = 22088, upload-time = "2026-10-02T23:05:43.014Z" }, + { url = "https://files.pythonhosted.org/packages/ea/8a/84d3582fc1f0d5bd466cdf2eebf175e172158a6e70701aacec1de1b35430/markupsafe-3.0.4-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:8965520ac587c94a4ac48b729be3d8b8de00af39699b17585dfb599babe77977", size = 23846, upload-time = "2026-10-02T23:05:44.098Z" }, + { url = "https://files.pythonhosted.org/packages/1c/65/db101cce51b7ba4864ac491a9859d297dd1adf0e55b103fee9db9c47c527/markupsafe-3.0.4-cp314-cp314-musllinux_1_2_armv7l.whl", hash = "sha256:340cbb1957ba99929cbf19a75626d36ba1ae21d1730b287d1cf7f824a20c4fc7", size = 22674, upload-time = "2026-10-02T23:05:45.23Z" }, + { url = "https://files.pythonhosted.org/packages/e0/49/ddee9813d71db0c7a5c9d97c832125e6758a0c844777f1cf076569bb0e22/markupsafe-3.0.4-cp314-cp314-musllinux_1_2_ppc64le.whl", hash = "sha256:3a93d9616ddecfb393727a0041a562cf0b15a244e20f2bd25efc7949be4c4f17", size = 24104, upload-time = "2026-10-02T23:05:46.398Z" }, + { url = "https://files.pythonhosted.org/packages/aa/0e/7d8518d726726870a2399d69fd30d0fa36c5e57a2132c336b58d7c491073/markupsafe-3.0.4-cp314-cp314-musllinux_1_2_riscv64.whl", hash = "sha256:d2e56fd3b00222722abfb3f5f0759ddbae4b90811b5ad4343c64030ad1bde70c", size = 21637, upload-time = "2026-10-02T23:05:47.48Z" }, + { url = "https://files.pythonhosted.org/packages/b4/b0/b505e8a361ba557dbf3b3aa7331ea39b00d2022a26e925ff8463b9714bb3/markupsafe-3.0.4-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:0d9c47709875fdb321452056622e930c52afbc07a7d780762fbb8b4d91ce6fa4", size = 23081, upload-time = "2026-10-02T23:05:48.611Z" }, + { url = "https://files.pythonhosted.org/packages/1c/ea/9cc3cea873f980c75cbdb6f4277ce30ee955de38be0b3d02f14c108e0698/markupsafe-3.0.4-cp314-cp314-win32.whl", hash = "sha256:38fc55594dab834470b6733dead2ee9e3f657fb0608c769dcafa0ba5ab52f45c", size = 14272, upload-time = "2026-10-02T23:05:49.707Z" }, + { url = "https://files.pythonhosted.org/packages/80/f0/5792ff768a410f93ee3f84fc19345295ffc352d2c936b424cb37e514714c/markupsafe-3.0.4-cp314-cp314-win_amd64.whl", hash = "sha256:c1bc67752d5f21013cfe430df4062441714eab79f65a6a05e01505957e9c35fe", size = 14501, upload-time = "2026-10-02T23:05:50.788Z" }, + { url = "https://files.pythonhosted.org/packages/5f/cf/3d074a8edffcc6899355232ff2543ae8d929733239596423b7db79698bc9/markupsafe-3.0.4-cp314-cp314-win_arm64.whl", hash = "sha256:7e1636da3d8dfc220b6dd10264db5f2b165e4888c4518594898fbe381049af8a", size = 14364, upload-time = "2026-10-02T23:05:51.857Z" }, + { url = "https://files.pythonhosted.org/packages/d9/31/87ce42159aae2163cf3bbbd0c44bc87780510eecab1ea3859099aed95dcb/markupsafe-3.0.4-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:805c8b84534fa10891890f0e4be39f3a99e94615d93e8836bf9fa1fdca2feeb2", size = 11759, upload-time = "2026-10-02T23:05:52.951Z" }, + { url = "https://files.pythonhosted.org/packages/5f/53/b047207eeb7752e960aca3eb1df5fb7eefa7dd4c62ac49bb156456c8a702/markupsafe-3.0.4-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:fa95848c929b6a75f6848d3c9793e59db365ee436776e57db835cdbfa79ba977", size = 12096, upload-time = "2026-10-02T23:05:54.066Z" }, + { url = "https://files.pythonhosted.org/packages/ee/51/4326c88a13c7b755657d44b4bb986f8c3d9843ecba7e22d98661d87f9a57/markupsafe-3.0.4-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:e916035e3e9930cbdfdd10abf48861340221857f45509565898e012263f7b289", size = 25699, upload-time = "2026-10-02T23:05:55.15Z" }, + { url = "https://files.pythonhosted.org/packages/f2/bb/990581b7474bfcf2cf34bed6ba5ea23bd87adb9d671213d68e88620e7a6b/markupsafe-3.0.4-cp314-cp314t-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:b4d12837e0203bbace818ff4a7461afdcd78bcd782351cea148139180d7bcffe", size = 27804, upload-time = "2026-10-02T23:05:56.29Z" }, + { url = "https://files.pythonhosted.org/packages/6b/89/89491878c28e8291f5aa2fffe2c2d57230d10ae366d55dd810b840513d78/markupsafe-3.0.4-cp314-cp314t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:5086f9975abb1ab531ee6afca1761e4b59a19b446f3f6522ed776963228cfe5a", size = 25912, upload-time = "2026-10-02T23:05:57.416Z" }, + { url = "https://files.pythonhosted.org/packages/30/77/680998b54efdea06fc114565cd739b6d059f826a0279219b218dfa750d29/markupsafe-3.0.4-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:b4a635a0487774f841cb1fb62e907e7195cc95bc761e053184b8acc3ceb20733", size = 23623, upload-time = "2026-10-02T23:05:58.557Z" }, + { url = "https://files.pythonhosted.org/packages/ae/75/2709f5ac5de9467b40b10e2bb8f89cc63dfb74582e09aa734b1124a217de/markupsafe-3.0.4-cp314-cp314t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:cb96e6e088d6cf71c1ea977510948320234824cf226e32f6f6e044f7a9c82b34", size = 23301, upload-time = "2026-10-02T23:05:59.94Z" }, + { url = "https://files.pythonhosted.org/packages/a0/c8/39eadc6c5b14c9c7679bfb98f4d4c6a97863b5beb91839aca4d2d6e16e55/markupsafe-3.0.4-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:8b5d563170ff8ba3181caa967c99a3c804d1dedb702c7cb93a6a7c32247da978", size = 24950, upload-time = "2026-10-02T23:06:01.289Z" }, + { url = "https://files.pythonhosted.org/packages/1a/5e/01037f8a43e8ccb0bffb4fbdc5212db05bf080fdd7286cd392332d58128a/markupsafe-3.0.4-cp314-cp314t-musllinux_1_2_armv7l.whl", hash = "sha256:396ec4e65cc889f69786b3b89478b471cee5a3bcf468b9d9bb03e1a30fb291fc", size = 23330, upload-time = "2026-10-02T23:06:02.441Z" }, + { url = "https://files.pythonhosted.org/packages/d4/f4/23e83ce0596bb0cbe670502d31df8f757bbd01a392aa486fa3b40d1ed399/markupsafe-3.0.4-cp314-cp314t-musllinux_1_2_ppc64le.whl", hash = "sha256:15ba9e28640feef770374b116a6f019c21f52404aeabe516aa7f800587b98cfc", size = 25239, upload-time = "2026-10-02T23:06:03.579Z" }, + { url = "https://files.pythonhosted.org/packages/88/5b/3708897368073cc683d524750474f41a77d2986152c380dcc55b20fdf340/markupsafe-3.0.4-cp314-cp314t-musllinux_1_2_riscv64.whl", hash = "sha256:d920abdfa61279ba1a2ef9484aab07bf03331f8c08a10120fa332353d06e6932", size = 22767, upload-time = "2026-10-02T23:06:04.699Z" }, + { url = "https://files.pythonhosted.org/packages/c6/61/ebda1307864b409e6b3115757a3d4a09cca46cfb6cc65191b5de226b424b/markupsafe-3.0.4-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:a9f54054101545a9a9cccefddf54316aa6e4491611fcbef9e91b3b6bebec04f6", size = 23668, upload-time = "2026-10-02T23:06:05.9Z" }, + { url = "https://files.pythonhosted.org/packages/09/15/98075cceac3b5ba0dbb8e4762a847be967d2befc349a2cf2d0ac77f62c9d/markupsafe-3.0.4-cp314-cp314t-win32.whl", hash = "sha256:12a606a492de952afcb43b59a14aaaaad120e708d3663dd0fdf2d738d427a691", size = 14301, upload-time = "2026-10-02T23:06:07.109Z" }, + { url = "https://files.pythonhosted.org/packages/0b/a3/768b560fcc4156685cb563d922b217810cfa7bc135773367f62f1f9d2078/markupsafe-3.0.4-cp314-cp314t-win_amd64.whl", hash = "sha256:a18f38cafc329bac5e3c2b96c765b4c96d3d103421ed22ab7988c1e3fce27464", size = 14526, upload-time = "2026-10-02T23:06:08.276Z" }, + { url = "https://files.pythonhosted.org/packages/93/63/da554b4c97a6b0ea3229ca7fe8cbfb620be81613d517f482e85958550537/markupsafe-3.0.4-cp314-cp314t-win_arm64.whl", hash = "sha256:eba154571c16e032112afac0dc2dfe9e63c2ceb7aedd07bb7eecf2ce26d4dd4c", size = 14421, upload-time = "2026-10-02T23:06:09.402Z" }, + { url = "https://files.pythonhosted.org/packages/a9/30/54d11c8ca027114898cab97421fb39e4ffd9ddf47cdbc44df2ec76722da9/markupsafe-3.0.4-cp315-cp315-android_24_arm64_v8a.whl", hash = "sha256:737c9c3981998eba27f11786f84fddcbabc74068b72a4a1f454ea02094b57b65", size = 12791, upload-time = "2026-10-02T23:06:10.485Z" }, + { url = "https://files.pythonhosted.org/packages/10/6d/97c913e253a14bd3cd0e15a5c56d13203b823fa7ee32498342896a072dc4/markupsafe-3.0.4-cp315-cp315-android_24_x86_64.whl", hash = "sha256:489505b03f692c3f376394e49194fa7a7f9e8558d6e293a7056a0032b0c38163", size = 12527, upload-time = "2026-10-02T23:06:11.834Z" }, + { url = "https://files.pythonhosted.org/packages/26/f9/b86d032042a4d597d9e1997f0e5f63a3eedaf11258e0a05760b0a0a826ea/markupsafe-3.0.4-cp315-cp315-ios_13_0_arm64_iphoneos.whl", hash = "sha256:077293e425f28ec737dbcad442a71752e28f8ae27cde3d68acd1fb212091cd92", size = 11602, upload-time = "2026-10-02T23:06:13.122Z" }, + { url = "https://files.pythonhosted.org/packages/f2/dc/73c14c1eedf0ac5fa3292ba43435e6c49d2c2050f33cebde541f8f4807f1/markupsafe-3.0.4-cp315-cp315-ios_13_0_arm64_iphonesimulator.whl", hash = "sha256:9348cbb300d224fe3b89793262cb093504d4ae927004468463f745188a193e4a", size = 11817, upload-time = "2026-10-02T23:06:14.227Z" }, + { url = "https://files.pythonhosted.org/packages/8f/69/2c2fcaa5fcee22d72c7819c0d536fd181c74a688e6143845419579cd2863/markupsafe-3.0.4-cp315-cp315-ios_13_0_x86_64_iphonesimulator.whl", hash = "sha256:b807e598953730f82e4eae3bd30f6a122cf6b31c398c6b504c0e04c13c170429", size = 11446, upload-time = "2026-10-02T23:06:15.574Z" }, + { url = "https://files.pythonhosted.org/packages/88/54/9e5ec76c62e6e2834d5a93623018c943e8b3bb41d663e3fd4c03303b9b85/markupsafe-3.0.4-cp315-cp315-macosx_10_15_x86_64.whl", hash = "sha256:799c39bdf5e2f1292fedd3009f7b3c9e760f10b2420cb9638d56920840ff6db8", size = 11719, upload-time = "2026-10-02T23:06:16.701Z" }, + { url = "https://files.pythonhosted.org/packages/96/24/3ec292b44064c16229e064d770b2625bd8ea941aa61f44905a9fa44942c0/markupsafe-3.0.4-cp315-cp315-macosx_11_0_arm64.whl", hash = "sha256:ae9dcb8fbe244cb82f8a6458b455b927a03685e383d9bacf1ea5ce180b96dc97", size = 12075, upload-time = "2026-10-02T23:06:17.855Z" }, + { url = "https://files.pythonhosted.org/packages/aa/85/b64fdb1f304848518742136983c24e96d967bfb59a0ea160e92736901ab0/markupsafe-3.0.4-cp315-cp315-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:4bced6e2a6dba6a28f7dd3c6ce14df1b2dd495923f16ea484cad03decd463b2b", size = 24656, upload-time = "2026-10-02T23:06:18.963Z" }, + { url = "https://files.pythonhosted.org/packages/9c/18/23997d4c65b355da6390d61cd56e0ab3befd6ba8dda25cb40c602bd0fa6b/markupsafe-3.0.4-cp315-cp315-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:3882fb412298575bae3b9c46868251f15cc69307359f87bb1b382e53d6e5a2c9", size = 27737, upload-time = "2026-10-02T23:06:20.117Z" }, + { url = "https://files.pythonhosted.org/packages/d4/36/35998dead3c6af88c38265a56e58100211f036234ab88eb2283fd4cbce44/markupsafe-3.0.4-cp315-cp315-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:04e7902ba80ee4bac1d50a549606527a1dcf0476cd81403db41099d3b60ec653", size = 25003, upload-time = "2026-10-02T23:06:21.284Z" }, + { url = "https://files.pythonhosted.org/packages/82/96/ef49135ce260db4ca4a12b119ed468449cd248db6b1468e2112b546d7a2e/markupsafe-3.0.4-cp315-cp315-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:925f929d6b59a8b3f8b8c6ac363cd0af7eecc81efb3071770b3c6717c450a369", size = 23111, upload-time = "2026-10-02T23:06:22.524Z" }, + { url = "https://files.pythonhosted.org/packages/50/7d/83126e338bd88c17a220668235368ad719fd4638e426739858cbb8508f77/markupsafe-3.0.4-cp315-cp315-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:f68edfc67aabac33708941f26f22a7b8e9f81429bc0cf249fcf7d66b23af8d19", size = 22403, upload-time = "2026-10-02T23:06:23.785Z" }, + { url = "https://files.pythonhosted.org/packages/83/dd/daf7e420de23c8206c365204e7b85e1251d8e19d34196a56336f316e5ed2/markupsafe-3.0.4-cp315-cp315-musllinux_1_2_aarch64.whl", hash = "sha256:e5c802729725bd07e2bc3ab7b76dc7e0bbfc53129d8f1eb1c002c24cf774717e", size = 24083, upload-time = "2026-10-02T23:06:25.037Z" }, + { url = "https://files.pythonhosted.org/packages/19/3c/11eecdc06bc44ad5570350085b572ebf049e8f9a38d1ece6d76640b739cd/markupsafe-3.0.4-cp315-cp315-musllinux_1_2_armv7l.whl", hash = "sha256:55ffd6ce583d97dc71dc92e930324c8c0d25aea7e3ade6ae54ef77cedb096811", size = 22931, upload-time = "2026-10-02T23:06:26.328Z" }, + { url = "https://files.pythonhosted.org/packages/0d/9e/ac0fd77f2a726e56ecc3ca0235d095feace1358d1b822406c2a2ef26a4dc/markupsafe-3.0.4-cp315-cp315-musllinux_1_2_ppc64le.whl", hash = "sha256:2cb3dd71fc6be918ad4264346a8ed69485f9b7ed7bf35495d8e22807cd6b8bea", size = 24299, upload-time = "2026-10-02T23:06:27.742Z" }, + { url = "https://files.pythonhosted.org/packages/d7/09/c6bd842ad58ff5b3bc76eeed7e9a42a6f11adc5d090ec697b72c9672731e/markupsafe-3.0.4-cp315-cp315-musllinux_1_2_riscv64.whl", hash = "sha256:94f5407f7bc64fa6463906b896f9904beeeb7dd8dc116ee8e9056c8714ff9916", size = 21948, upload-time = "2026-10-02T23:06:29.274Z" }, + { url = "https://files.pythonhosted.org/packages/a3/46/82f586711fed61e86faa1ee1bc317d68cd45a10c8bdbe3f7d1fdf9026ad8/markupsafe-3.0.4-cp315-cp315-musllinux_1_2_x86_64.whl", hash = "sha256:2dad610540cb2e6272855c178f08ae9a1c7ac258a7fb71660553a5f104b42741", size = 23150, upload-time = "2026-10-02T23:06:30.583Z" }, + { url = "https://files.pythonhosted.org/packages/19/2d/2dfdce99318abbfa26925195fbc17db188c46a1ec6457be121b6f9cfeb42/markupsafe-3.0.4-cp315-cp315-win32.whl", hash = "sha256:03470d1a8268e692ecf79ecd565593e59d44219377a7ead61f1f1b94c1f7ff6b", size = 14269, upload-time = "2026-10-02T23:06:31.949Z" }, + { url = "https://files.pythonhosted.org/packages/5b/ec/6000fd82e8791e58fcd0456ec20f098957e2b03d5ed02eb73241a577c0ba/markupsafe-3.0.4-cp315-cp315-win_amd64.whl", hash = "sha256:d882a373d8093c2941e01291b7ced96e9cbe4781da9a7751ca7e6c70385e5214", size = 14496, upload-time = "2026-10-02T23:06:33.258Z" }, + { url = "https://files.pythonhosted.org/packages/bc/66/e73bd5016421d5d6e2fb6de7dd609f9de020942ac8c626526bd8c6eeaf82/markupsafe-3.0.4-cp315-cp315-win_arm64.whl", hash = "sha256:353bd63081912ab8cfa6a0c7d185934cdf8426f04c618bba6bc4b394f2069b67", size = 14361, upload-time = "2026-10-02T23:06:34.539Z" }, + { url = "https://files.pythonhosted.org/packages/90/df/cb8c3dc98d313a951df2f8968f44e4cb5643df6d3cab749a530ce2f7d972/markupsafe-3.0.4-cp315-cp315t-macosx_10_15_x86_64.whl", hash = "sha256:c61750fadcd119d0825bcb7d7d675dd264dcc89cc05292aab5be68ebdbb374ad", size = 11760, upload-time = "2026-10-02T23:06:35.807Z" }, + { url = "https://files.pythonhosted.org/packages/d6/bb/4af9b3ca0753d654ac75f9531d5bd741bb77ca6e696f36807c475ffc099a/markupsafe-3.0.4-cp315-cp315t-macosx_11_0_arm64.whl", hash = "sha256:1c0df495a977d10460a94941799c72d5b5ab03d3858d949b55b5a66c8f371c99", size = 12108, upload-time = "2026-10-02T23:06:37.089Z" }, + { url = "https://files.pythonhosted.org/packages/3f/d4/b56429313aee5fd59b079c3df5615299959e25e7113eb6d8caadbdd7d38a/markupsafe-3.0.4-cp315-cp315t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:02fa4acbc6a3fc5c693c34d4dd8c1130b7fe99cc915181b0ddd6f72aeb296002", size = 25762, upload-time = "2026-10-02T23:06:38.419Z" }, + { url = "https://files.pythonhosted.org/packages/65/f5/34c181e891aa4f7d59c918584672e0c5eb7fffe76c1387d1246008bf4081/markupsafe-3.0.4-cp315-cp315t-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:05295589e619b9bed252a86b532b8e27350abc372d18ba89b59375325e91ec1e", size = 28400, upload-time = "2026-10-02T23:06:39.819Z" }, + { url = "https://files.pythonhosted.org/packages/ce/b5/ad14694fd0ac9a5ce30bc6498f2999378f418583dd1679cca5a1b512957e/markupsafe-3.0.4-cp315-cp315t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:be6cb0c799abb0e2ba3e618e6d28ddddf7e485f6c2ce938dfa237daf3905072c", size = 25946, upload-time = "2026-10-02T23:06:41.381Z" }, + { url = "https://files.pythonhosted.org/packages/d6/a8/26b606445387d0ceb1eb1f21840094b84e4e3c3c3983d80d10b89823b490/markupsafe-3.0.4-cp315-cp315t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:26e9867520db70d37f7fb421a7f0d8adb40171011fb84ce869afa1a83370dfa8", size = 23634, upload-time = "2026-10-02T23:06:42.748Z" }, + { url = "https://files.pythonhosted.org/packages/39/a2/b8814de672f1f0094d498bf646f2fec9d6356b503d28ef500b71c5095377/markupsafe-3.0.4-cp315-cp315t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:f03460ff076f70ab595bb45a0205ccea1971443575b6920c52e755dec2b3fbfe", size = 23488, upload-time = "2026-10-02T23:06:44.176Z" }, + { url = "https://files.pythonhosted.org/packages/db/c7/287223376fb73335a3cc5d6eb22c6ab01358cf33945a9c39c06b9dac3f4b/markupsafe-3.0.4-cp315-cp315t-musllinux_1_2_aarch64.whl", hash = "sha256:436e3ffc6310d3c41878c601db29098102fe5d8a467c49da4a4125254e0980f2", size = 25037, upload-time = "2026-10-02T23:06:45.646Z" }, + { url = "https://files.pythonhosted.org/packages/f9/29/4df8355e313426d19e62ba33e0253c009ca12a0894ee77d67fa67255361c/markupsafe-3.0.4-cp315-cp315t-musllinux_1_2_armv7l.whl", hash = "sha256:4e2c4809c14559aa7ef426f27fb35afbb38104c349a903bf8f3600456764bb38", size = 23543, upload-time = "2026-10-02T23:06:47.264Z" }, + { url = "https://files.pythonhosted.org/packages/71/e5/8377731e8495668dcc768f645e717df18318c841edaf023a99395f6da9b4/markupsafe-3.0.4-cp315-cp315t-musllinux_1_2_ppc64le.whl", hash = "sha256:da2af0d7aebfc2074080d72efa6ab8317c62481ef1f896f65d9999c1c01f4494", size = 25282, upload-time = "2026-10-02T23:06:48.795Z" }, + { url = "https://files.pythonhosted.org/packages/ed/5f/373456e37ceb1478d657d6fe769cbe0a39f0a8dfc1548eeb19c471eefdd9/markupsafe-3.0.4-cp315-cp315t-musllinux_1_2_riscv64.whl", hash = "sha256:aa2c838cc024642cc04c6854232f32b43e5e22833dd11119c1766c7873b8370d", size = 22993, upload-time = "2026-10-02T23:06:50.31Z" }, + { url = "https://files.pythonhosted.org/packages/d7/93/2cbd5628435afb6f541bbaced4bce0c2edac4b09a142e6e928b8b0da9858/markupsafe-3.0.4-cp315-cp315t-musllinux_1_2_x86_64.whl", hash = "sha256:b91cc9d336957239ff200f30097e6fea2dc6d6fb3c81e853eaa09eac904fd894", size = 23712, upload-time = "2026-10-02T23:06:51.759Z" }, + { url = "https://files.pythonhosted.org/packages/81/99/157e10966b033b363aeda5263e82596ee232a0b1d082fdbf90aa417ff083/markupsafe-3.0.4-cp315-cp315t-win32.whl", hash = "sha256:e49fb0d1ce92cfa0cb198cc5b1b11cdf9d0638658e2a2db2687e39db7c87fc78", size = 14300, upload-time = "2026-10-02T23:06:53.241Z" }, + { url = "https://files.pythonhosted.org/packages/33/05/55884815414c9706a23deca150b72c25a62109e65b0b6ce232077802c719/markupsafe-3.0.4-cp315-cp315t-win_amd64.whl", hash = "sha256:4f6e0852a0283b1b1fd776eeb7b766a5f440b3e2bd31ab51af3b400585f3965c", size = 14522, upload-time = "2026-10-02T23:06:54.729Z" }, + { url = "https://files.pythonhosted.org/packages/92/f9/ecbde7149e95b8a0f18e16d5d747f7dc06049d5da2e4f77f6f5e4a1f46a8/markupsafe-3.0.4-cp315-cp315t-win_arm64.whl", hash = "sha256:39dbacefc411633db5b4378b066a9aca70a3d7e2922c9e578d825f844026eeba", size = 14417, upload-time = "2026-10-02T23:06:56.246Z" }, +] + +[[package]] +name = "matplotlib" +version = "3.11.2" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "contourpy", version = "1.3.3", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.12' or python_full_version >= '3.15'" }, + { name = "contourpy", version = "1.4.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.12' and python_full_version < '3.15'" }, + { name = "cycler" }, + { name = "fonttools" }, + { name = "kiwisolver" }, + { name = "numpy", version = "2.3.5", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.12' or python_full_version >= '3.15'" }, + { name = "numpy", version = "2.5.3", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.12' and python_full_version < '3.15'" }, + { name = "packaging" }, + { name = "pillow" }, + { name = "pyparsing" }, + { name = "python-dateutil" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/e7/c8/9aa712a0afb882649424dd8de8ad9aa6235e796e84c6052e8f6dc1598d0d/matplotlib-3.11.2.tar.gz", hash = "sha256:cec596316640f2b394b8f0daa0ea61a8eae82d017b620b9f202befb972a59ea4", size = 32660610, upload-time = "2026-09-11T19:05:31.214Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/c0/a9/a7fc5a63c427aeb9a4b99d6a0449f891be0952d3aee2b85229099f7b9f54/matplotlib-3.11.2-cp311-cp311-macosx_10_12_x86_64.whl", hash = "sha256:5e1e923a3fc3326b99ec0a6ff1ab1338ac6c6cc62ad9d8a9c944197c7f8c6221", size = 9461046, upload-time = "2026-09-11T19:02:59.277Z" }, + { url = "https://files.pythonhosted.org/packages/0b/d7/59d8ee63e4dee845d953515c50d67e6b8cefa953b453c6b803f197ae556e/matplotlib-3.11.2-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:c27e577ece613ea12a0790e00b4eb80d901c59a3e16cad474f31d8b1529690b9", size = 9290872, upload-time = "2026-09-11T19:03:02.295Z" }, + { url = "https://files.pythonhosted.org/packages/2e/a4/1ca765c63a60e3096ae2ad132eb25f6f7eab0377418cd0472808befd9665/matplotlib-3.11.2-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:07d9b9fa60cd4c393692f50d0bb03123242ddf61c99bb0e95e75feb354e7c1a8", size = 9854405, upload-time = "2026-09-11T19:03:04.796Z" }, + { url = "https://files.pythonhosted.org/packages/d7/3d/f28ca971a4ad0ed83ebdd60230b09d99de8b91aba47964fac3a81eb2e2ba/matplotlib-3.11.2-cp311-cp311-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:30ec15d7eefee71de16b7c689b42ba49715a4644650b76a6c7c70d79daf24e91", size = 10660507, upload-time = "2026-09-11T19:03:07.402Z" }, + { url = "https://files.pythonhosted.org/packages/f7/0c/a743556bc64a9b57d2246b14d91b713078adfd2df4199f542df1861737a9/matplotlib-3.11.2-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:116cdb0eb0eb5644fc98eb2975d4b4dd4ad35e5c8e6b851c22e6976f371f7ab5", size = 10801141, upload-time = "2026-09-11T19:03:11.357Z" }, + { url = "https://files.pythonhosted.org/packages/66/54/91fe3fdfa29100b4668cbf9721577a10acde6e009694618230e4e7a97527/matplotlib-3.11.2-cp311-cp311-win_amd64.whl", hash = "sha256:a24d5fd36e4f0e742c3851dcd20810e56a95633a342e4bf6cb591c678e8fe61f", size = 9329982, upload-time = "2026-09-11T19:03:14.25Z" }, + { url = "https://files.pythonhosted.org/packages/49/c1/13b70871c98d7e93f0d2ed71f226b8d6f873f1372124046068a6b4902fb5/matplotlib-3.11.2-cp311-cp311-win_arm64.whl", hash = "sha256:57b9ea60a835937c2012861923cbb91f47db8565775d326d1c42fc926aa10351", size = 9023542, upload-time = "2026-09-11T19:03:16.878Z" }, + { url = "https://files.pythonhosted.org/packages/cb/ce/1bfcc4873b121597791ad74032943b123218c0613af0b97e8dd05e916fb1/matplotlib-3.11.2-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:ef752769cd962f39ea0b6ffc82d1ea43a0012c5a6157c7a075212fa509cfcff2", size = 9476466, upload-time = "2026-09-11T19:03:19.45Z" }, + { url = "https://files.pythonhosted.org/packages/a6/c4/7f5f3601ee69baf072c0c7d3ce60c03e0618621c5a56c34a62a460e29d11/matplotlib-3.11.2-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:ef31985c4dedb5f1424e1aec6849a47dd37689cb7fa3c20b1b82187f26806261", size = 9305583, upload-time = "2026-09-11T19:03:22.39Z" }, + { url = "https://files.pythonhosted.org/packages/b8/90/2b3fd67ee273163faeda6d514be70b5596eaa0fd77b60ffc294ad0b34f5f/matplotlib-3.11.2-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:df4f7784aca81a94f254c0a2767d592ee25f407e488f5fa7203e51093fb6ca27", size = 9860353, upload-time = "2026-09-11T19:03:25.049Z" }, + { url = "https://files.pythonhosted.org/packages/f4/84/32549e7a462dc311aed2ab62e5d2538028840b5c53a8be0195c789937c3d/matplotlib-3.11.2-cp312-cp312-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:1b9a7ad579856284135e401ecc918c5f8a017ee30539298862a109f51b971710", size = 10670348, upload-time = "2026-09-11T19:03:28.108Z" }, + { url = "https://files.pythonhosted.org/packages/84/39/02e21b74f7439bd643d717ea846006d46e309e6d29b632b57751265311d6/matplotlib-3.11.2-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:3aa4b8516fd26659e4363abbf317c703d9116496c5db2e9d0609a2866dd39dd2", size = 10810580, upload-time = "2026-09-11T19:03:31.402Z" }, + { url = "https://files.pythonhosted.org/packages/04/93/0d239bde12b308262265c2d98909b2f0ecad2b5deeae96241642e822e9c7/matplotlib-3.11.2-cp312-cp312-win_amd64.whl", hash = "sha256:c5c1c68ee401fc98271263410f0e5ce88285abacf7627132914e8adf3d70ff43", size = 9349409, upload-time = "2026-09-11T19:03:34.195Z" }, + { url = "https://files.pythonhosted.org/packages/49/a8/06baf901c02246c8a222b655cc4540ef9c15e1549a04e07927f9cde716c3/matplotlib-3.11.2-cp312-cp312-win_arm64.whl", hash = "sha256:643ff850d8e0f5b8319337f87ed3cb59506afb3df3cc48de777d85871233be7b", size = 9028084, upload-time = "2026-09-11T19:03:37.032Z" }, + { url = "https://files.pythonhosted.org/packages/bf/ce/fc58855a3d17f6cb8a87b6f9ccd100f65432a3a7ffed57309cbf14c78987/matplotlib-3.11.2-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:7d43ff8cebb50840648cb6429b2228621dbd709010f3117b3740abb20abf21c0", size = 9476987, upload-time = "2026-09-11T19:03:40.17Z" }, + { url = "https://files.pythonhosted.org/packages/a9/29/2a47b700545aca050e0ed73c89ba21e08407e11f5f42a567421b220de6c1/matplotlib-3.11.2-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:2a8285cea8ef4d92aa041d1c33788bcae82248503300f93f1ca2136b9049452f", size = 9306050, upload-time = "2026-09-11T19:03:43.103Z" }, + { url = "https://files.pythonhosted.org/packages/a9/df/e7c10292f348cf55178a5b3c0092a38ea68891a3945f199ae8b7b8ac9dc1/matplotlib-3.11.2-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:1944895967f87c84c9b4bad29a707b31f5b36df4a3a2339ea1f8ea3ce5105539", size = 9861060, upload-time = "2026-09-11T19:03:46.044Z" }, + { url = "https://files.pythonhosted.org/packages/e4/b9/b978de6d43d47f1d4d8e653fac32c16d8d2e5f46bbbb822e26d7cb1adece/matplotlib-3.11.2-cp313-cp313-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:af2661f6ac6bbd1d081996f54fdd9385715c625ace8cec0869055c0cfbf38981", size = 10670885, upload-time = "2026-09-11T19:03:48.942Z" }, + { url = "https://files.pythonhosted.org/packages/a3/80/d72f61bb2631ac15d17fada1f17e0f99fecba69d8376d34f17cf93b7eddd/matplotlib-3.11.2-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:7e5a90f8a707ebb6004a713b1cff091a40cc5df4c7c1cb165e5a505ebc11c292", size = 10811222, upload-time = "2026-09-11T19:03:51.665Z" }, + { url = "https://files.pythonhosted.org/packages/94/2e/6d1d33f242c705b5c6c6fb3f0fc141add51cb1abb62912e59de0835d28c4/matplotlib-3.11.2-cp313-cp313-win_amd64.whl", hash = "sha256:bc067c462a86f0e57bf52fc6e058d90171a5420007dac00c46e90153050c69a7", size = 9349539, upload-time = "2026-09-11T19:03:54.534Z" }, + { url = "https://files.pythonhosted.org/packages/bb/bb/c0aa86a7f4c0e62f1c3c0711e361f6f23f87eb9018732a5e11994bd1b7ec/matplotlib-3.11.2-cp313-cp313-win_arm64.whl", hash = "sha256:3e8576f7c47e02fd4f21f44171302d2d1d58d4471d46da3d71fe8899d19539d9", size = 9028295, upload-time = "2026-09-11T19:03:57.261Z" }, + { url = "https://files.pythonhosted.org/packages/54/b4/4facdb700bc236e4c676495ca3798d8134ab8668cbfe0f6b2e9ebf962a38/matplotlib-3.11.2-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:c9721f81275499da1feeb36a2cf8192ea086283b3bd16b7dc4c9d7aedb7396d6", size = 9478976, upload-time = "2026-09-11T19:04:00.12Z" }, + { url = "https://files.pythonhosted.org/packages/4c/a0/bba05f0a25bfeb0475c2f2a87958b31103aa6b7a5386017afb1a96212825/matplotlib-3.11.2-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:1a3040b209f3968b4e84161df7b174f07a9fad33b0f2d7e48ea3bbd3075e2863", size = 9307932, upload-time = "2026-09-11T19:04:02.976Z" }, + { url = "https://files.pythonhosted.org/packages/d4/42/81d5cba4bb39b41b0998efc880e129f2d7cdb94256ca49678fdcd9c21be5/matplotlib-3.11.2-cp314-cp314-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:bf3fe71fbfb8ec0e310e0bc8537c3405a01f38f25f9394ed2135e6202fed542b", size = 10674370, upload-time = "2026-09-11T19:04:06.912Z" }, + { url = "https://files.pythonhosted.org/packages/29/5e/52f56f93d5b20815ee0ae352f7a38eff25580edb180b4fa7df87cfeba68f/matplotlib-3.11.2-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:8c8255de28f986d935a64c9ca71c0ec2d2f41d355691f5ea684725dc91413f71", size = 10954597, upload-time = "2026-09-11T19:04:09.948Z" }, + { url = "https://files.pythonhosted.org/packages/6e/ae/f8918a1b564db49c53cd603eb3c8748c5767e4ce0fb2cf1d7c38653e4c5d/matplotlib-3.11.2-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:a8756cc73d9af9a7fe0deb54ea2e75ef73b01d9e575877e72acad5458e660943", size = 10812583, upload-time = "2026-09-11T19:04:12.887Z" }, + { url = "https://files.pythonhosted.org/packages/ea/61/4315ef0d63937fe56f451887b4a0be3b8e8b22cf1d92a8d157caac54570d/matplotlib-3.11.2-cp314-cp314-win_amd64.whl", hash = "sha256:ecea603dd2fbf8242fd31a305a8b12a4ece2de28096870c65fdd0d1e35b8d9a6", size = 9505972, upload-time = "2026-09-11T19:04:15.788Z" }, + { url = "https://files.pythonhosted.org/packages/d5/00/02398b0a1a62ef73d9af0a957fe1773363eec9a6ca7e433c72ae2790fbce/matplotlib-3.11.2-cp314-cp314-win_arm64.whl", hash = "sha256:01dc8eaaab5a9fce9ff615eca82345728f289e4715b186ee10c6d85272fc26bb", size = 9184534, upload-time = "2026-09-11T19:04:18.691Z" }, + { url = "https://files.pythonhosted.org/packages/ec/c5/1e6ca10baa7e04f113c37856aadb4adc3dbb1c55fc7da6dc830bba1292d7/matplotlib-3.11.2-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:79a258f58253dfa025af80a9e9bb228d75fced007f0e93ae7423fefbde81a74d", size = 9526415, upload-time = "2026-09-11T19:04:21.39Z" }, + { url = "https://files.pythonhosted.org/packages/e0/93/7561727af07ccc84747953c6a33eee3981cc436d04f465032e707ca0e429/matplotlib-3.11.2-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:c0b83f044ce10a98027b105b3931548719a6e8c7ef986b4362651e0b5367c8dc", size = 9361064, upload-time = "2026-09-11T19:04:24.107Z" }, + { url = "https://files.pythonhosted.org/packages/c1/40/ce270ef2a6794d94a409fe28b8dabedffc07c07f9e5dbb89e0f605bd157d/matplotlib-3.11.2-cp314-cp314t-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:e43b188f0a5b75447bcc197728258166aa64365770ed1caa36595a5e1ca4bbba", size = 10684626, upload-time = "2026-09-11T19:04:27.201Z" }, + { url = "https://files.pythonhosted.org/packages/45/46/396e0307dbf1c1f2d0a3654caa6dbc780dd5379f5f11257369cf8d21d9fe/matplotlib-3.11.2-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:d3304eb5a59442a8867f6920d484591c0fa09ffc29e9260be2feec3351e25869", size = 10960602, upload-time = "2026-09-11T19:04:30.254Z" }, + { url = "https://files.pythonhosted.org/packages/1c/97/4defb84695477340aa88b27c9482cc1ca4de11f36f66b6c8c0ddd685def1/matplotlib-3.11.2-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:02329432ae5c6af87cf208ee575b701d698bdf0b1a3bb28cc6d53c36e967e575", size = 10822603, upload-time = "2026-09-11T19:04:32.964Z" }, + { url = "https://files.pythonhosted.org/packages/7d/e7/eab54551c1ec6b72dcd678a078b6c6da8d4c85ec1ff0016e81fe52866304/matplotlib-3.11.2-cp314-cp314t-win_amd64.whl", hash = "sha256:f2ac30cf5eb5dff1b584627ae0b0e1186551a4f69ae3c75073911da497a29170", size = 9551206, upload-time = "2026-09-11T19:04:35.811Z" }, + { url = "https://files.pythonhosted.org/packages/4e/0e/04698032cb4d8fb1e30d8ffec5ded20f6f582b03c8c58b2385c95245f158/matplotlib-3.11.2-cp314-cp314t-win_arm64.whl", hash = "sha256:cf41ecd1b0c0b6f7177ed965a54c2afbe888715c7cf6054dc12d53bc1494002c", size = 9234977, upload-time = "2026-09-11T19:04:38.972Z" }, + { url = "https://files.pythonhosted.org/packages/44/a9/ca827c184b87364378964e36e7c0ae23651d146fdbc4000635205490cf82/matplotlib-3.11.2-cp315-cp315-macosx_10_15_x86_64.whl", hash = "sha256:894a9cbbecbe30ae6787d464df2e8fc7a8d475cfc68f87c3029f7c11152899b3", size = 9478997, upload-time = "2026-09-11T19:04:41.914Z" }, + { url = "https://files.pythonhosted.org/packages/48/60/01aaafc9c3159f3fae9a65bbcddaa4a6d4d72b0aeffdd636d7f6d00a5c8d/matplotlib-3.11.2-cp315-cp315-macosx_11_0_arm64.whl", hash = "sha256:bbf1062991d826ed27e2144f3afa4461afbb8ff56e8f703043e191a8163b1ee9", size = 9307947, upload-time = "2026-09-11T19:04:44.834Z" }, + { url = "https://files.pythonhosted.org/packages/1e/a0/6aa72c7cd7cf4dfac652744d7a3310007cec3ce8e5ab9be607bec7096471/matplotlib-3.11.2-cp315-cp315-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:399fef672f7046ef7d6a57572b2a6f9845f3f5afcff04e7b2df7a363a9f42190", size = 10674370, upload-time = "2026-09-11T19:04:47.745Z" }, + { url = "https://files.pythonhosted.org/packages/a1/97/d7e90225ac145046787a2ee0fa4cdc7e4d5cb6772ea232130b10f8a4095a/matplotlib-3.11.2-cp315-cp315-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:cc82dde2a0d3e3ad472edce04897ad7146b8d8bfd1df8a32992eebb81af18fdc", size = 10954581, upload-time = "2026-09-11T19:04:50.712Z" }, + { url = "https://files.pythonhosted.org/packages/58/18/89cf056a9d2cae01f4b8baf01c7e809d613244fcdfa2a2acf28c1e0d79fa/matplotlib-3.11.2-cp315-cp315-musllinux_1_2_x86_64.whl", hash = "sha256:930efb28f59fda124e39265d177bab302625297bb147d2910de725a2fc2aef54", size = 10812605, upload-time = "2026-09-11T19:04:53.552Z" }, + { url = "https://files.pythonhosted.org/packages/9d/4d/c61b9f4c34af802d4d84e58803e009013d626b5f468bafe1416131863b5b/matplotlib-3.11.2-cp315-cp315-win_amd64.whl", hash = "sha256:3da3bc0cbf7245e7db72cc6d29d12c5abef72cb73059c73b945f14e3545f3eb2", size = 9506068, upload-time = "2026-09-11T19:04:56.519Z" }, + { url = "https://files.pythonhosted.org/packages/03/7b/047f2fa8708d47430d8e7fa45e9fffb0aee5d4e300f978e087be2ee11fbc/matplotlib-3.11.2-cp315-cp315-win_arm64.whl", hash = "sha256:f25446b2981717dca9786bac841cb3fd7efb568e3e3c755dd980481c5cb9228d", size = 9184576, upload-time = "2026-09-11T19:04:59.318Z" }, + { url = "https://files.pythonhosted.org/packages/03/6e/ad9c5989950785a98642667df265a47c6637e924cb69b5dcf68c3299ae7c/matplotlib-3.11.2-cp315-cp315t-macosx_10_15_x86_64.whl", hash = "sha256:fea03cf56568cc1cba08b470be6a0559e71c3a5b688d54b7179bb35ba23d0821", size = 9525988, upload-time = "2026-09-11T19:05:02.304Z" }, + { url = "https://files.pythonhosted.org/packages/a6/c3/25c61701fb655dd412428b15eee2591ce554cdd593e39a045a153373f428/matplotlib-3.11.2-cp315-cp315t-macosx_11_0_arm64.whl", hash = "sha256:254d4ddb2fa8df3b4c689c0c306063aee10521df82cfb438185e499c75fe37c1", size = 9360774, upload-time = "2026-09-11T19:05:05.092Z" }, + { url = "https://files.pythonhosted.org/packages/58/5a/4552878fce8f9d249a5e264c16f5c267c27eac08fb039fa3e207a06feff5/matplotlib-3.11.2-cp315-cp315t-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:e60cf3047a51edecdc4535a9196bbd6a732936b8e9f8184aabf4d16165884aaf", size = 10685892, upload-time = "2026-09-11T19:05:07.686Z" }, + { url = "https://files.pythonhosted.org/packages/af/dd/b3b19ec0124fc4aafd8a4b3bae859c562a7ff0fd8ae3b2099947f78bde19/matplotlib-3.11.2-cp315-cp315t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:eb3712dc9b464793de0a4e42a7313d50293c751f94bddaf7332a1bc71bccdda9", size = 10964946, upload-time = "2026-09-11T19:05:10.943Z" }, + { url = "https://files.pythonhosted.org/packages/7b/30/687ccce22f66a57fed85942450e88062773bcbf1a42914e70c7148ec71dc/matplotlib-3.11.2-cp315-cp315t-musllinux_1_2_x86_64.whl", hash = "sha256:75b6d88402770e181b5d06a67dda4129c31da7d05004d63a21c310ec78d1b83c", size = 10824960, upload-time = "2026-09-11T19:05:13.9Z" }, + { url = "https://files.pythonhosted.org/packages/d3/34/117fe35a8d05054b4b34d2d29287099927c24c3841d36e06d9fa2f20c1cf/matplotlib-3.11.2-cp315-cp315t-win_amd64.whl", hash = "sha256:a6939df7567114b6bac7f4c5e06c84a67f197c1b2f2e4b234d4eecb3bfec9482", size = 9551204, upload-time = "2026-09-11T19:05:16.48Z" }, + { url = "https://files.pythonhosted.org/packages/63/5a/9f440e7bec8b80d0af2a65d1165b2f4e718982dad785531f62255d9ff19b/matplotlib-3.11.2-cp315-cp315t-win_arm64.whl", hash = "sha256:d480038c83691532ed52ff3147db51fa902fc78cb2d8349993a1cdb684435bff", size = 9233946, upload-time = "2026-09-11T19:05:19.063Z" }, + { url = "https://files.pythonhosted.org/packages/0f/d9/a1218a31fa2d8082eb893548990ad09a2005ebda1b2b89dad88a8308e51a/matplotlib-3.11.2-pp311-pypy311_pp73-macosx_10_15_x86_64.whl", hash = "sha256:854df8d7dfe9fdffcbaa6f39e44a6c24b409cb4d7561fbc09213b157d833f6a6", size = 9457702, upload-time = "2026-09-11T19:05:22.086Z" }, + { url = "https://files.pythonhosted.org/packages/68/d7/a9fde05d87c3c853f233ec20c5b5c3a1c86035e1ed4bfa397cd54d46ec90/matplotlib-3.11.2-pp311-pypy311_pp73-macosx_11_0_arm64.whl", hash = "sha256:eac4b07d4e3743b172451e122ea964f72f152879d4f9adcf3f3d33e518f12ead", size = 9287753, upload-time = "2026-09-11T19:05:24.677Z" }, + { url = "https://files.pythonhosted.org/packages/ec/79/ea2ae4eab84f011c1dc8145864f78e5a63adda8efb95557ef36cc38e6da2/matplotlib-3.11.2-pp311-pypy311_pp73-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:7ef7a53b66780e5d942923724f08577fbc5be1f7322da0f0f3f9dcaa45dd803d", size = 9848259, upload-time = "2026-09-11T19:05:27.455Z" }, +] + +[[package]] +name = "matplotlib-inline" +version = "0.2.2" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "traitlets" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/bd/c0/9f7c9a46090390368a4d7bcb76bb87a4a36c421e4c0792cdb53486ffac7a/matplotlib_inline-0.2.2.tar.gz", hash = "sha256:72f3fe8fce36b70d4a5b612f899090cd0401deddc4ea90e1572b9f4bfb058c79", size = 8150, upload-time = "2026-05-08T17:33:33.49Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/41/09/5b161152e2d90f7b87f781c2e1267494aef9c32498df793f73ad0a0a494a/matplotlib_inline-0.2.2-py3-none-any.whl", hash = "sha256:3c821cf1c209f59fb2d2d64abbf5b23b67bcb2210d663f9918dd851c6da1fcf6", size = 9534, upload-time = "2026-05-08T17:33:32.055Z" }, +] + +[[package]] +name = "mdurl" +version = "0.1.2" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/d6/54/cfe61301667036ec958cb99bd3efefba235e65cdeb9c84d24a8293ba1d90/mdurl-0.1.2.tar.gz", hash = "sha256:bb413d29f5eea38f31dd4754dd7377d4465116fb207585f97bf925588687c1ba", size = 8729, upload-time = "2022-08-14T12:40:10.846Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/b3/38/89ba8ad64ae25be8de66a6d463314cf1eb366222074cfda9ee839c56a4b4/mdurl-0.1.2-py3-none-any.whl", hash = "sha256:84008a41e51615a49fc9966191ff91509e3c40b939176e643fd50a5c2196b8f8", size = 9979, upload-time = "2022-08-14T12:40:09.779Z" }, +] + +[[package]] +name = "mistune" +version = "3.3.4" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/7b/92/328a294a6de83bacb95bed01f04e0eaff4e3616ee359fc821a5dfc539b02/mistune-3.3.4.tar.gz", hash = "sha256:58b5c96d6fcb61190dfe5fae498d2b2065f99cf61e9649418fd54cf1ada86dfe", size = 121426, upload-time = "2026-07-22T05:22:30.89Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/77/e4/288365afae98953bc01de09f686f40d8ee84578135aa7767d5d4e60b5278/mistune-3.3.4-py3-none-any.whl", hash = "sha256:ee015381e955e370962968befe1d729ab60fafb6a715ac6751763fbce38c8d4a", size = 66862, upload-time = "2026-07-22T05:22:29.419Z" }, +] + +[[package]] +name = "mypy" +version = "2.4.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "ast-serialize" }, + { name = "librt", marker = "platform_python_implementation != 'PyPy'" }, + { name = "mypy-extensions" }, + { name = "pathspec" }, + { name = "typing-extensions" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/34/4e/64300736cf0a0373a27b94a91b664ee7382e36f77b0621bae6381da3e180/mypy-2.4.0.tar.gz", hash = "sha256:77bdaebd452f43fcfc4cc3ba94352a3ea537cd01e3f2d0879f48673d2ec00d6e", size = 4064425, upload-time = "2026-10-01T20:40:39.229Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/26/67/e53965e67d23d48e78dd603aa7525a8d77e7818c23954cc217ccde5cd5c0/mypy-2.4.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:5d20e6c7c35fcbf2a0ebdd0eaeacfbc243009dfd33ab7822d54e213912e6dbbd", size = 14315745, upload-time = "2026-10-01T20:39:25.03Z" }, + { url = "https://files.pythonhosted.org/packages/b1/5d/a588ccd57625822d8484d7aff4e9c70f88d042a91c2ec84324a2bc14b3f3/mypy-2.4.0-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:3011537be6cf1de4511c0255a324362a812b58184bbe61e15f59c8b31033bd74", size = 14465652, upload-time = "2026-10-01T20:38:57.19Z" }, + { url = "https://files.pythonhosted.org/packages/05/af/b4978a5566cb829ca563dc08e3ad8d944f116078786ad54ba3dff2bcb64d/mypy-2.4.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:a96b07a49b7b1d025ce59c1b3acbcf24bead9a83da4523c4a6bde1bb94e7a0e1", size = 15419180, upload-time = "2026-10-01T20:40:27.808Z" }, + { url = "https://files.pythonhosted.org/packages/b2/8c/52c71f31c54d0a749d832cc73b933c6e38c52d9b270d5503e031c73723dc/mypy-2.4.0-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:7c4f8f8d1d1c0e2832d8ee7113dd08f6df6c7aad9e863fcbed9f25832be0b8c4", size = 15669212, upload-time = "2026-10-01T20:39:20.443Z" }, + { url = "https://files.pythonhosted.org/packages/e8/55/ba63121494404fd7d3787ec176ccd02820d6ec125ac4e7c4c0b79f2cc6c7/mypy-2.4.0-cp311-cp311-win_amd64.whl", hash = "sha256:ba05652540bf12828e52abae807b024b09ca144ff4f75e2450a81d69c376425b", size = 11299572, upload-time = "2026-10-01T20:40:03.627Z" }, + { url = "https://files.pythonhosted.org/packages/9c/9c/385c81b5c0d3a2917f077c4da660d0493f9521ccfd4b058e33b860f72d02/mypy-2.4.0-cp311-cp311-win_arm64.whl", hash = "sha256:6306086b87cf7f8a29aa618d9fd9bffb56c59247166b9660fdb54d86d7714ecd", size = 10869751, upload-time = "2026-10-01T20:40:25.483Z" }, + { url = "https://files.pythonhosted.org/packages/68/ed/e5d7cf4017e74a1c1e1c4058ce8f614fc1e3e7606564f47166e22bfc9f95/mypy-2.4.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:e05ff2925d8b37ad26c80c1b9dc43ae5d455da2df1e23c24c095a6425917c57e", size = 14378593, upload-time = "2026-10-01T20:38:48.222Z" }, + { url = "https://files.pythonhosted.org/packages/30/7d/12d994886a922f0f1997becc9c6625198d61eeb5962558a886af7dd38d54/mypy-2.4.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:29243242cf72582b65f9582ad9e56e8cb281566ed3519f4cd70bb8b9f2977e90", size = 14464697, upload-time = "2026-10-01T20:39:11.059Z" }, + { url = "https://files.pythonhosted.org/packages/f3/9e/bcc9af755425ad17790bf11d73c2ea7592914cf309ee1340997670f9d57a/mypy-2.4.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:29eb0b9427a6b11b992e452f6cceb8af724f4dceb47e779d0b35e405e996ea5e", size = 15552257, upload-time = "2026-10-01T20:39:56.269Z" }, + { url = "https://files.pythonhosted.org/packages/af/0c/3343fc4525d6f00d75ad17a93a9f052d5163641cb8911840d4a12cb59ff2/mypy-2.4.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:e3ebe2f72a2a1156065a9851570ffbf50c0a93cdccadef9c6e05c508a4fd10b1", size = 15800443, upload-time = "2026-10-01T20:38:54.815Z" }, + { url = "https://files.pythonhosted.org/packages/8f/0e/69aac6b8159da7c53e6115a2be1bf48e85503402cadbf506dd708e8b2ad7/mypy-2.4.0-cp312-cp312-win_amd64.whl", hash = "sha256:236e0d68f6941992b0811128e652590f590db444ab29ad8f1324765b9298b946", size = 11381574, upload-time = "2026-10-01T20:39:49.406Z" }, + { url = "https://files.pythonhosted.org/packages/6e/d3/d32ce4feb5993eec09d2024bef16cedc9b93701b1446b86092f08b24491b/mypy-2.4.0-cp312-cp312-win_arm64.whl", hash = "sha256:82d0f94c8587ccb472622ee7795280aaa38a06640d5f45b3f16909d6dd86a989", size = 10944729, upload-time = "2026-10-01T20:40:15.203Z" }, + { url = "https://files.pythonhosted.org/packages/44/f2/eb15183c97c69d7cbfac990a6efd33a19ecfd97dab9e714c742fa78a784f/mypy-2.4.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:7da85fbcff6dac1abcc636707bed38b45598131fb7a605d9719c70b5cc733af8", size = 14213395, upload-time = "2026-10-01T20:40:21.178Z" }, + { url = "https://files.pythonhosted.org/packages/8c/b5/ba91b6ff65e4d6b6ff53b2b3b3ac5f1babf0c7c27d0b43a0196b1c967926/mypy-2.4.0-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:4209da39d85cf240f762af622d8180fcdfcb4727d021f44ade62d613a1a43324", size = 14373009, upload-time = "2026-10-01T20:39:58.86Z" }, + { url = "https://files.pythonhosted.org/packages/d5/c4/484275efc935c0003e55e4e8a33e4b8e99528ee956c12256ece4708f903f/mypy-2.4.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:6be721bd4bd57576193653b75b4af3461c9d0bf7dd8b528f782e9be210dc75bb", size = 15465557, upload-time = "2026-10-01T20:39:01.794Z" }, + { url = "https://files.pythonhosted.org/packages/50/30/66eb6fdd0875e3c9025a02f0bb0ea2e524b74274b658c37fde0068c4939d/mypy-2.4.0-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:e1fde197ae65be856a034a91b70ed747a16562ca69577785f06c661548424bf1", size = 15728673, upload-time = "2026-10-01T20:38:43.724Z" }, + { url = "https://files.pythonhosted.org/packages/58/bc/2aa98fd7f49c42dba8e9c065886fadffdd00f3c654cff3f2a7103a797ac8/mypy-2.4.0-cp313-cp313-win_amd64.whl", hash = "sha256:295ecf2e57542cd836ca537486951289678c8c7d1ee6ad74ebe29b2168a003cf", size = 11389803, upload-time = "2026-10-01T20:39:37.547Z" }, + { url = "https://files.pythonhosted.org/packages/49/41/17b60df2d946792ef6af43b89351f5c9ddabc69053206b2304945572a744/mypy-2.4.0-cp313-cp313-win_arm64.whl", hash = "sha256:bc378bdad4e9f12b5bd96466083d1e71acf00594ec9c7b2bdb5e02816f77f303", size = 10951060, upload-time = "2026-10-01T20:39:04.015Z" }, + { url = "https://files.pythonhosted.org/packages/e0/66/924be0b653372ed31ad5c48e26044cc00840e591943a56e61621cf05b60e/mypy-2.4.0-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:058165f564ccf559c68c70fec2091fca5891110480210c22594635e3f6683437", size = 14234230, upload-time = "2026-10-01T20:39:44.535Z" }, + { url = "https://files.pythonhosted.org/packages/56/39/c4f176880a4177123576de6cec6309feea8f42fca2bf2f6584e88054f656/mypy-2.4.0-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:9fa247e02b505a45a2775f69df38d360d197e3790bc60f717595db9eda358b6e", size = 14392944, upload-time = "2026-10-01T20:40:05.78Z" }, + { url = "https://files.pythonhosted.org/packages/bc/1c/26e16977e25ef2494a74f8ffc872a76ec2c3aa43c3156057cbdf88f352c5/mypy-2.4.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:20e9a5cd875837520c43db98dea0b6d0c2197833d95c30127d8f570fb9b1f00b", size = 15441463, upload-time = "2026-10-01T20:40:32.412Z" }, + { url = "https://files.pythonhosted.org/packages/31/9c/9e4b049f0ecefbfd6817ca2a16eea55dd74a07950268edc6cffd29ccfe98/mypy-2.4.0-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:9f03a7828cca2b0adcd6662aee8f2711ff8830e1027641fdea3ab0b787483566", size = 15705406, upload-time = "2026-10-01T20:40:34.844Z" }, + { url = "https://files.pythonhosted.org/packages/4a/5e/e861b5f6c5ef9ee6cd24683aed1edecf82a26dbd536049f9b7850b586267/mypy-2.4.0-cp314-cp314-pyemscripten_2026_0_wasm32.whl", hash = "sha256:9279488933040b638c0ab739084c0ca100efeea6db581bf5d7628d8e89de53fe", size = 7897523, upload-time = "2026-10-01T20:39:39.861Z" }, + { url = "https://files.pythonhosted.org/packages/3a/87/61ffee58b25a956532a6006fae84918a2de849ed25f397492b2e815fe7b3/mypy-2.4.0-cp314-cp314-win_amd64.whl", hash = "sha256:2106b55105ba5ea9be4f53a24517fc5fa927ff1585edc9bc1a975abb72caef89", size = 11576345, upload-time = "2026-10-01T20:39:41.553Z" }, + { url = "https://files.pythonhosted.org/packages/a1/88/a331c20698971c2ce8d1c30f317fd61b5be13a85b1f053e12dfa22ac6568/mypy-2.4.0-cp314-cp314-win_arm64.whl", hash = "sha256:528c8744b8b5e3ecb8774f86af38d2376216816e9908317ad055f3c9c2d74799", size = 11172062, upload-time = "2026-10-01T20:38:59.534Z" }, + { url = "https://files.pythonhosted.org/packages/47/c0/4f7daa73270dced8e86c6f4a911c68082d03a84e6c1ec9bd916028d66131/mypy-2.4.0-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:0bb95cf34899e4619c61ab0a8667804e139e580b30d5df12af2102dfe44d0c97", size = 15711208, upload-time = "2026-10-01T20:39:30.597Z" }, + { url = "https://files.pythonhosted.org/packages/2f/05/f1afa303c678be24cf7a266d38fb24b3de4599a024c2f9ba0d5905a3efa3/mypy-2.4.0-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:86d616fe84c6eab8026f8c50ab5bcb90db780d2ccd233d971e34e92bede9b359", size = 15935442, upload-time = "2026-10-01T20:39:22.781Z" }, + { url = "https://files.pythonhosted.org/packages/9d/d6/6a1a45459b63716e0d035f4892a926d3054f0a8cbfa02551d228a9946083/mypy-2.4.0-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:a3f86fd1313dd69d013e265f1fdcd12ea7a9d606f9875b2a3db946cd334555f3", size = 17240044, upload-time = "2026-10-01T20:39:32.95Z" }, + { url = "https://files.pythonhosted.org/packages/87/85/ae33bee66c13f98d421964d87bf0888be941063bc75c1204a4cf142cf1cc/mypy-2.4.0-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:720434d48542ecfe84d32d287b727569d3fc8f5769acd39051130e490a5c295c", size = 17545856, upload-time = "2026-10-01T20:39:08.827Z" }, + { url = "https://files.pythonhosted.org/packages/df/de/eeff209b65c3e267818d79333bb9f058da6e4e73761461bd94748a2eb628/mypy-2.4.0-cp314-cp314t-win_amd64.whl", hash = "sha256:a6e851b82c0661f69f1630fc16172c68787a6a9cf0991e7c6437d60976cdcd76", size = 12369342, upload-time = "2026-10-01T20:40:10.516Z" }, + { url = "https://files.pythonhosted.org/packages/2b/43/e62d8d5c1dd737aa248968302ff7d6eabf997c3301773ed8bcb64932ca77/mypy-2.4.0-cp314-cp314t-win_arm64.whl", hash = "sha256:3bd0e340f0ebe65c548210f53be3fd8192e83964760caf0c28bef368e68b0d37", size = 11849099, upload-time = "2026-10-01T20:39:51.834Z" }, + { url = "https://files.pythonhosted.org/packages/2e/5f/335b8980055118dc131355155883fb676bb2161a0d97e08658e479c776fb/mypy-2.4.0-cp315-cp315-macosx_11_0_arm64.whl", hash = "sha256:afa89837d9be67e0cadfa33bca3bb7efdda98c3b07e74dc3b635ebfb1c8a926a", size = 14241302, upload-time = "2026-10-01T20:39:13.227Z" }, + { url = "https://files.pythonhosted.org/packages/18/37/1482fdc49332b145828912b15f16eee0c4ca70a8bce0f6514ece79b14680/mypy-2.4.0-cp315-cp315-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:fb443e81057896132d3642d6be219e6efd158691ac7883e3ba8fcb469865f05d", size = 14408200, upload-time = "2026-10-01T20:38:52.576Z" }, + { url = "https://files.pythonhosted.org/packages/04/09/dce2e8f6c1b31053c430ef6963f6f7a38ccb49b90c5e01e37ed0129b7d5a/mypy-2.4.0-cp315-cp315-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:7f38f57d344f8b6accb40e01c3d83cfc590498231724d16c07ffb7940f157818", size = 15444409, upload-time = "2026-10-01T20:39:18.1Z" }, + { url = "https://files.pythonhosted.org/packages/43/c5/91b68306da4cd280cb15be35dbb5ffc343cabd67c4b121b6625bf2d13177/mypy-2.4.0-cp315-cp315-musllinux_1_2_x86_64.whl", hash = "sha256:e76172710bd4e5eeae061abfd68347e5264632e02778be61784671ae3a2132f5", size = 15731186, upload-time = "2026-10-01T20:40:23.426Z" }, + { url = "https://files.pythonhosted.org/packages/64/71/2d0340182a8f27352fb1e25531355951108b506097c433937e9eec452ffd/mypy-2.4.0-cp315-cp315-pyemscripten_2026_5_wasm32.whl", hash = "sha256:f83353e47ab520bf6fd4df8f5897d9fe081211f2fbc4b7d37736a3e3c166cbcf", size = 7897838, upload-time = "2026-10-01T20:38:50.779Z" }, + { url = "https://files.pythonhosted.org/packages/3e/08/32703c117e134c02efa2a82705bb40cee91eaedea10b6530e20eba651b1f/mypy-2.4.0-cp315-cp315-win_amd64.whl", hash = "sha256:970b221ed5842213d98e3c480c08f795ace4b1f81fb21e1b126bd0476bce1c34", size = 11575700, upload-time = "2026-10-01T20:39:53.982Z" }, + { url = "https://files.pythonhosted.org/packages/ab/08/08bb269feafdaad031046ee2d771528a64467e6a180f962afc28c4a3ccd8/mypy-2.4.0-cp315-cp315-win_arm64.whl", hash = "sha256:502b94b0b331f7dafe32fd6b151797ddbb4f32385b362e722c783a025e5954a3", size = 11172908, upload-time = "2026-10-01T20:40:12.91Z" }, + { url = "https://files.pythonhosted.org/packages/fb/3f/c5c92626006ca92c7686adfbece47fc6a0daa0e54753952a9ad13ce0561c/mypy-2.4.0-cp315-cp315t-macosx_11_0_arm64.whl", hash = "sha256:c9de622fd397495695d0598ddc789222bfcfec9d7c9ec3a1e385c855e3bc5e01", size = 15705970, upload-time = "2026-10-01T20:40:17.79Z" }, + { url = "https://files.pythonhosted.org/packages/10/f3/863365f7997a76a5a1dd42d7902ab05afa4124e8419089cbca1ce2554db1/mypy-2.4.0-cp315-cp315t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:9f459f0b4f0596d9d51fe7716b404b35287b99e77da98a7af90a65dd5fd61141", size = 15942234, upload-time = "2026-10-01T20:40:37.243Z" }, + { url = "https://files.pythonhosted.org/packages/f6/30/2f45b1f425a2c95dbe1a3f4d076bfd42b76e9615dba5906230703b14e4eb/mypy-2.4.0-cp315-cp315t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:f9b028548b3af480e2b1ed8df14ccaac86f99c9f600d1580770ab7ba3dcd40f0", size = 17218364, upload-time = "2026-10-01T20:39:06.497Z" }, + { url = "https://files.pythonhosted.org/packages/43/8b/5b2bbfc69e84800b78fa2dba16d995b003f93b573558e412c5490d6e6c37/mypy-2.4.0-cp315-cp315t-musllinux_1_2_x86_64.whl", hash = "sha256:cb734b2668c1f40d07ce093bbeb4407e9527c67901627b0e1679825be3f09975", size = 17557934, upload-time = "2026-10-01T20:38:46.077Z" }, + { url = "https://files.pythonhosted.org/packages/df/c0/1a5dc601c22041a7bbfe1ff71cf097fbbd4fb49930867c6789baf5102106/mypy-2.4.0-cp315-cp315t-win_amd64.whl", hash = "sha256:172e30b8fea631fe310f0c665477f52d9ea40bb4e99e0c81dc30118563b13710", size = 12350955, upload-time = "2026-10-01T20:40:01.52Z" }, + { url = "https://files.pythonhosted.org/packages/1c/bc/697e9e26fc2a86c094ad67ee1e419971b7f01ded66ee66231b09e9f3e12e/mypy-2.4.0-cp315-cp315t-win_arm64.whl", hash = "sha256:5786ef987b3767e51aaa53f20aec104c0252b42ecda7aef8e8b4cbae279b05c5", size = 11842738, upload-time = "2026-10-01T20:40:30.026Z" }, + { url = "https://files.pythonhosted.org/packages/81/12/46ae8670c98a3cd0286ca5645c2f918f8f6be65edfed81b916010619f668/mypy-2.4.0-py3-none-any.whl", hash = "sha256:d01c5d26a352acc6d5cf3128225477e1e8465e8d3029d4c345807fbf7f3cf093", size = 2800734, upload-time = "2026-10-01T20:39:26.837Z" }, +] + +[[package]] +name = "mypy-extensions" +version = "1.1.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/a2/6e/371856a3fb9d31ca8dac321cda606860fa4548858c0cc45d9d1d4ca2628b/mypy_extensions-1.1.0.tar.gz", hash = "sha256:52e68efc3284861e772bbcd66823fde5ae21fd2fdb51c62a211403730b916558", size = 6343, upload-time = "2025-04-22T14:54:24.164Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/79/7b/2c79738432f5c924bef5071f933bcc9efd0473bac3b4aa584a6f7c1c8df8/mypy_extensions-1.1.0-py3-none-any.whl", hash = "sha256:1be4cccdb0f2482337c4743e60421de3a356cd97508abadd57d47403e94f5505", size = 4963, upload-time = "2025-04-22T14:54:22.983Z" }, +] + +[[package]] +name = "nbclient" +version = "0.11.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "jupyter-client" }, + { name = "jupyter-core" }, + { name = "nbformat" }, + { name = "traitlets" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/28/a5/b3bae4b590c0cbcada2c63a34f7580024e834a8ba213e949a2f906705787/nbclient-0.11.0.tar.gz", hash = "sha256:04a134a5b087f2c5887f228aca155db50169b8cd9334dee6942c8e927e56081a", size = 62535, upload-time = "2026-06-05T07:52:41.746Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/36/c9/94d73e5a01c5b926c3fa2496e97d7a8dc28ed5a77c0b2ed712f1a62e6694/nbclient-0.11.0-py3-none-any.whl", hash = "sha256:ef7fa0d59d6e1d41103933d8a445a18d5de860ca6b613b87b8574accdb3c2895", size = 25288, upload-time = "2026-06-05T07:52:40.115Z" }, +] + +[[package]] +name = "nbconvert" +version = "7.17.1" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "beautifulsoup4" }, + { name = "bleach", extra = ["css"] }, + { name = "defusedxml" }, + { name = "jinja2" }, + { name = "jupyter-core" }, + { name = "jupyterlab-pygments" }, + { name = "markupsafe" }, + { name = "mistune" }, + { name = "nbclient" }, + { name = "nbformat" }, + { name = "packaging" }, + { name = "pandocfilters" }, + { name = "pygments" }, + { name = "traitlets" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/01/b1/708e53fe2e429c103c6e6e159106bcf0357ac41aa4c28772bd8402339051/nbconvert-7.17.1.tar.gz", hash = "sha256:34d0d0a7e73ce3cbab6c5aae8f4f468797280b01fd8bd2ca746da8569eddd7d2", size = 865311, upload-time = "2026-04-08T00:44:14.914Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/67/f8/bb0a9d5f46819c821dc1f004aa2cc29b1d91453297dbf5ff20470f00f193/nbconvert-7.17.1-py3-none-any.whl", hash = "sha256:aa85c087b435e7bf1ffd03319f658e285f2b89eccab33bc1ba7025495ab3e7c8", size = 261927, upload-time = "2026-04-08T00:44:12.845Z" }, +] + +[[package]] +name = "nbformat" +version = "5.11.1" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "fastjsonschema" }, + { name = "jsonschema" }, + { name = "jupyter-core" }, + { name = "traitlets" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/31/72/b3446efab8756e7df4b8ec587f8e611cb5a7249e4323db480802f1d3be04/nbformat-5.11.1.tar.gz", hash = "sha256:32d4521c68c6e7d5b29c76defaeed9f42ea733142b9b19f88277ce10390b9c4d", size = 147775, upload-time = "2026-08-17T08:10:51.942Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/1a/69/ee613f74085ca7103f79cd08d579c4f3177d1d26e5d3d9528d2d6536a707/nbformat-5.11.1-py3-none-any.whl", hash = "sha256:cc6698fa75f4fab8755ead786317815f13a6fee3b53311c0abb1a8b51d52f7ec", size = 79849, upload-time = "2026-08-17T08:10:50.18Z" }, +] + +[[package]] +name = "nest-asyncio2" +version = "1.7.3" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/5e/a6/a2775b388a14b5ea0c894bbe513c0d3e04e65e8ae583e60f5357722b8e03/nest_asyncio2-1.7.3.tar.gz", hash = "sha256:2e9a84d5d1efe6d020c72988d21aec569bac42d98af2ff6b9de24640c5d22a34", size = 15642, upload-time = "2026-09-22T17:15:06.709Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/29/dd/a8bebc78975a7466932077a0973cbab4361a32368b1d28d40683ec19333c/nest_asyncio2-1.7.3-py3-none-any.whl", hash = "sha256:2bc87bdca654e719425145f5e84eaeb0080b013fdd47d65729a7d66243f4987c", size = 8364, upload-time = "2026-09-22T17:15:05.492Z" }, +] + +[[package]] +name = "notebook-shim" +version = "0.2.4" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "jupyter-server" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/54/d2/92fa3243712b9a3e8bafaf60aac366da1cada3639ca767ff4b5b3654ec28/notebook_shim-0.2.4.tar.gz", hash = "sha256:b4b2cfa1b65d98307ca24361f5b30fe785b53c3fd07b7a47e89acb5e6ac638cb", size = 13167, upload-time = "2024-02-14T23:35:18.353Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/f9/33/bd5b9137445ea4b680023eb0469b2bb969d61303dedb2aac6560ff3d14a1/notebook_shim-0.2.4-py3-none-any.whl", hash = "sha256:411a5be4e9dc882a074ccbcae671eda64cceb068767e9a3419096986560e1cef", size = 13307, upload-time = "2024-02-14T23:35:16.286Z" }, +] + +[[package]] +name = "numpy" +version = "2.3.5" +source = { registry = "https://pypi.org/simple" } +resolution-markers = [ + "python_full_version < '3.12'", +] +sdist = { url = "https://files.pythonhosted.org/packages/76/65/21b3bc86aac7b8f2862db1e808f1ea22b028e30a225a34a5ede9bf8678f2/numpy-2.3.5.tar.gz", hash = "sha256:784db1dcdab56bf0517743e746dfb0f885fc68d948aba86eeec2cba234bdf1c0", size = 20584950, upload-time = "2025-11-16T22:52:42.067Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/43/77/84dd1d2e34d7e2792a236ba180b5e8fcc1e3e414e761ce0253f63d7f572e/numpy-2.3.5-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:de5672f4a7b200c15a4127042170a694d4df43c992948f5e1af57f0174beed10", size = 17034641, upload-time = "2025-11-16T22:49:19.336Z" }, + { url = "https://files.pythonhosted.org/packages/2a/ea/25e26fa5837106cde46ae7d0b667e20f69cbbc0efd64cba8221411ab26ae/numpy-2.3.5-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:acfd89508504a19ed06ef963ad544ec6664518c863436306153e13e94605c218", size = 12528324, upload-time = "2025-11-16T22:49:22.582Z" }, + { url = "https://files.pythonhosted.org/packages/4d/1a/e85f0eea4cf03d6a0228f5c0256b53f2df4bc794706e7df019fc622e47f1/numpy-2.3.5-cp311-cp311-macosx_14_0_arm64.whl", hash = "sha256:ffe22d2b05504f786c867c8395de703937f934272eb67586817b46188b4ded6d", size = 5356872, upload-time = "2025-11-16T22:49:25.408Z" }, + { url = "https://files.pythonhosted.org/packages/5c/bb/35ef04afd567f4c989c2060cde39211e4ac5357155c1833bcd1166055c61/numpy-2.3.5-cp311-cp311-macosx_14_0_x86_64.whl", hash = "sha256:872a5cf366aec6bb1147336480fef14c9164b154aeb6542327de4970282cd2f5", size = 6893148, upload-time = "2025-11-16T22:49:27.549Z" }, + { url = "https://files.pythonhosted.org/packages/f2/2b/05bbeb06e2dff5eab512dfc678b1cc5ee94d8ac5956a0885c64b6b26252b/numpy-2.3.5-cp311-cp311-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:3095bdb8dd297e5920b010e96134ed91d852d81d490e787beca7e35ae1d89cf7", size = 14557282, upload-time = "2025-11-16T22:49:30.964Z" }, + { url = "https://files.pythonhosted.org/packages/65/fb/2b23769462b34398d9326081fad5655198fcf18966fcb1f1e49db44fbf31/numpy-2.3.5-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:8cba086a43d54ca804ce711b2a940b16e452807acebe7852ff327f1ecd49b0d4", size = 16897903, upload-time = "2025-11-16T22:49:34.191Z" }, + { url = "https://files.pythonhosted.org/packages/ac/14/085f4cf05fc3f1e8aa95e85404e984ffca9b2275a5dc2b1aae18a67538b8/numpy-2.3.5-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:6cf9b429b21df6b99f4dee7a1218b8b7ffbbe7df8764dc0bd60ce8a0708fed1e", size = 16341672, upload-time = "2025-11-16T22:49:37.2Z" }, + { url = "https://files.pythonhosted.org/packages/6f/3b/1f73994904142b2aa290449b3bb99772477b5fd94d787093e4f24f5af763/numpy-2.3.5-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:396084a36abdb603546b119d96528c2f6263921c50df3c8fd7cb28873a237748", size = 18838896, upload-time = "2025-11-16T22:49:39.727Z" }, + { url = "https://files.pythonhosted.org/packages/cd/b9/cf6649b2124f288309ffc353070792caf42ad69047dcc60da85ee85fea58/numpy-2.3.5-cp311-cp311-win32.whl", hash = "sha256:b0c7088a73aef3d687c4deef8452a3ac7c1be4e29ed8bf3b366c8111128ac60c", size = 6563608, upload-time = "2025-11-16T22:49:42.079Z" }, + { url = "https://files.pythonhosted.org/packages/aa/44/9fe81ae1dcc29c531843852e2874080dc441338574ccc4306b39e2ff6e59/numpy-2.3.5-cp311-cp311-win_amd64.whl", hash = "sha256:a414504bef8945eae5f2d7cb7be2d4af77c5d1cb5e20b296c2c25b61dff2900c", size = 13078442, upload-time = "2025-11-16T22:49:43.99Z" }, + { url = "https://files.pythonhosted.org/packages/6d/a7/f99a41553d2da82a20a2f22e93c94f928e4490bb447c9ff3c4ff230581d3/numpy-2.3.5-cp311-cp311-win_arm64.whl", hash = "sha256:0cd00b7b36e35398fa2d16af7b907b65304ef8bb4817a550e06e5012929830fa", size = 10458555, upload-time = "2025-11-16T22:49:47.092Z" }, + { url = "https://files.pythonhosted.org/packages/44/37/e669fe6cbb2b96c62f6bbedc6a81c0f3b7362f6a59230b23caa673a85721/numpy-2.3.5-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:74ae7b798248fe62021dbf3c914245ad45d1a6b0cb4a29ecb4b31d0bfbc4cc3e", size = 16733873, upload-time = "2025-11-16T22:49:49.84Z" }, + { url = "https://files.pythonhosted.org/packages/c5/65/df0db6c097892c9380851ab9e44b52d4f7ba576b833996e0080181c0c439/numpy-2.3.5-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:ee3888d9ff7c14604052b2ca5535a30216aa0a58e948cdd3eeb8d3415f638769", size = 12259838, upload-time = "2025-11-16T22:49:52.863Z" }, + { url = "https://files.pythonhosted.org/packages/5b/e1/1ee06e70eb2136797abe847d386e7c0e830b67ad1d43f364dd04fa50d338/numpy-2.3.5-cp312-cp312-macosx_14_0_arm64.whl", hash = "sha256:612a95a17655e213502f60cfb9bf9408efdc9eb1d5f50535cc6eb365d11b42b5", size = 5088378, upload-time = "2025-11-16T22:49:55.055Z" }, + { url = "https://files.pythonhosted.org/packages/6d/9c/1ca85fb86708724275103b81ec4cf1ac1d08f465368acfc8da7ab545bdae/numpy-2.3.5-cp312-cp312-macosx_14_0_x86_64.whl", hash = "sha256:3101e5177d114a593d79dd79658650fe28b5a0d8abeb8ce6f437c0e6df5be1a4", size = 6628559, upload-time = "2025-11-16T22:49:57.371Z" }, + { url = "https://files.pythonhosted.org/packages/74/78/fcd41e5a0ce4f3f7b003da85825acddae6d7ecb60cf25194741b036ca7d6/numpy-2.3.5-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:8b973c57ff8e184109db042c842423ff4f60446239bd585a5131cc47f06f789d", size = 14250702, upload-time = "2025-11-16T22:49:59.632Z" }, + { url = "https://files.pythonhosted.org/packages/b6/23/2a1b231b8ff672b4c450dac27164a8b2ca7d9b7144f9c02d2396518352eb/numpy-2.3.5-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:0d8163f43acde9a73c2a33605353a4f1bc4798745a8b1d73183b28e5b435ae28", size = 16606086, upload-time = "2025-11-16T22:50:02.127Z" }, + { url = "https://files.pythonhosted.org/packages/a0/c5/5ad26fbfbe2012e190cc7d5003e4d874b88bb18861d0829edc140a713021/numpy-2.3.5-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:51c1e14eb1e154ebd80e860722f9e6ed6ec89714ad2db2d3aa33c31d7c12179b", size = 16025985, upload-time = "2025-11-16T22:50:04.536Z" }, + { url = "https://files.pythonhosted.org/packages/d2/fa/dd48e225c46c819288148d9d060b047fd2a6fb1eb37eae25112ee4cb4453/numpy-2.3.5-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:b46b4ec24f7293f23adcd2d146960559aaf8020213de8ad1909dba6c013bf89c", size = 18542976, upload-time = "2025-11-16T22:50:07.557Z" }, + { url = "https://files.pythonhosted.org/packages/05/79/ccbd23a75862d95af03d28b5c6901a1b7da4803181513d52f3b86ed9446e/numpy-2.3.5-cp312-cp312-win32.whl", hash = "sha256:3997b5b3c9a771e157f9aae01dd579ee35ad7109be18db0e85dbdbe1de06e952", size = 6285274, upload-time = "2025-11-16T22:50:10.746Z" }, + { url = "https://files.pythonhosted.org/packages/2d/57/8aeaf160312f7f489dea47ab61e430b5cb051f59a98ae68b7133ce8fa06a/numpy-2.3.5-cp312-cp312-win_amd64.whl", hash = "sha256:86945f2ee6d10cdfd67bcb4069c1662dd711f7e2a4343db5cecec06b87cf31aa", size = 12782922, upload-time = "2025-11-16T22:50:12.811Z" }, + { url = "https://files.pythonhosted.org/packages/78/a6/aae5cc2ca78c45e64b9ef22f089141d661516856cf7c8a54ba434576900d/numpy-2.3.5-cp312-cp312-win_arm64.whl", hash = "sha256:f28620fe26bee16243be2b7b874da327312240a7cdc38b769a697578d2100013", size = 10194667, upload-time = "2025-11-16T22:50:16.16Z" }, + { url = "https://files.pythonhosted.org/packages/db/69/9cde09f36da4b5a505341180a3f2e6fadc352fd4d2b7096ce9778db83f1a/numpy-2.3.5-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:d0f23b44f57077c1ede8c5f26b30f706498b4862d3ff0a7298b8411dd2f043ff", size = 16728251, upload-time = "2025-11-16T22:50:19.013Z" }, + { url = "https://files.pythonhosted.org/packages/79/fb/f505c95ceddd7027347b067689db71ca80bd5ecc926f913f1a23e65cf09b/numpy-2.3.5-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:aa5bc7c5d59d831d9773d1170acac7893ce3a5e130540605770ade83280e7188", size = 12254652, upload-time = "2025-11-16T22:50:21.487Z" }, + { url = "https://files.pythonhosted.org/packages/78/da/8c7738060ca9c31b30e9301ee0cf6c5ffdbf889d9593285a1cead337f9a5/numpy-2.3.5-cp313-cp313-macosx_14_0_arm64.whl", hash = "sha256:ccc933afd4d20aad3c00bcef049cb40049f7f196e0397f1109dba6fed63267b0", size = 5083172, upload-time = "2025-11-16T22:50:24.562Z" }, + { url = "https://files.pythonhosted.org/packages/a4/b4/ee5bb2537fb9430fd2ef30a616c3672b991a4129bb1c7dcc42aa0abbe5d7/numpy-2.3.5-cp313-cp313-macosx_14_0_x86_64.whl", hash = "sha256:afaffc4393205524af9dfa400fa250143a6c3bc646c08c9f5e25a9f4b4d6a903", size = 6622990, upload-time = "2025-11-16T22:50:26.47Z" }, + { url = "https://files.pythonhosted.org/packages/95/03/dc0723a013c7d7c19de5ef29e932c3081df1c14ba582b8b86b5de9db7f0f/numpy-2.3.5-cp313-cp313-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:9c75442b2209b8470d6d5d8b1c25714270686f14c749028d2199c54e29f20b4d", size = 14248902, upload-time = "2025-11-16T22:50:28.861Z" }, + { url = "https://files.pythonhosted.org/packages/f5/10/ca162f45a102738958dcec8023062dad0cbc17d1ab99d68c4e4a6c45fb2b/numpy-2.3.5-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:11e06aa0af8c0f05104d56450d6093ee639e15f24ecf62d417329d06e522e017", size = 16597430, upload-time = "2025-11-16T22:50:31.56Z" }, + { url = "https://files.pythonhosted.org/packages/2a/51/c1e29be863588db58175175f057286900b4b3327a1351e706d5e0f8dd679/numpy-2.3.5-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:ed89927b86296067b4f81f108a2271d8926467a8868e554eaf370fc27fa3ccaf", size = 16024551, upload-time = "2025-11-16T22:50:34.242Z" }, + { url = "https://files.pythonhosted.org/packages/83/68/8236589d4dbb87253d28259d04d9b814ec0ecce7cb1c7fed29729f4c3a78/numpy-2.3.5-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:51c55fe3451421f3a6ef9a9c1439e82101c57a2c9eab9feb196a62b1a10b58ce", size = 18533275, upload-time = "2025-11-16T22:50:37.651Z" }, + { url = "https://files.pythonhosted.org/packages/40/56/2932d75b6f13465239e3b7b7e511be27f1b8161ca2510854f0b6e521c395/numpy-2.3.5-cp313-cp313-win32.whl", hash = "sha256:1978155dd49972084bd6ef388d66ab70f0c323ddee6f693d539376498720fb7e", size = 6277637, upload-time = "2025-11-16T22:50:40.11Z" }, + { url = "https://files.pythonhosted.org/packages/0c/88/e2eaa6cffb115b85ed7c7c87775cb8bcf0816816bc98ca8dbfa2ee33fe6e/numpy-2.3.5-cp313-cp313-win_amd64.whl", hash = "sha256:00dc4e846108a382c5869e77c6ed514394bdeb3403461d25a829711041217d5b", size = 12779090, upload-time = "2025-11-16T22:50:42.503Z" }, + { url = "https://files.pythonhosted.org/packages/8f/88/3f41e13a44ebd4034ee17baa384acac29ba6a4fcc2aca95f6f08ca0447d1/numpy-2.3.5-cp313-cp313-win_arm64.whl", hash = "sha256:0472f11f6ec23a74a906a00b48a4dcf3849209696dff7c189714511268d103ae", size = 10194710, upload-time = "2025-11-16T22:50:44.971Z" }, + { url = "https://files.pythonhosted.org/packages/13/cb/71744144e13389d577f867f745b7df2d8489463654a918eea2eeb166dfc9/numpy-2.3.5-cp313-cp313t-macosx_10_13_x86_64.whl", hash = "sha256:414802f3b97f3c1eef41e530aaba3b3c1620649871d8cb38c6eaff034c2e16bd", size = 16827292, upload-time = "2025-11-16T22:50:47.715Z" }, + { url = "https://files.pythonhosted.org/packages/71/80/ba9dc6f2a4398e7f42b708a7fdc841bb638d353be255655498edbf9a15a8/numpy-2.3.5-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:5ee6609ac3604fa7780e30a03e5e241a7956f8e2fcfe547d51e3afa5247ac47f", size = 12378897, upload-time = "2025-11-16T22:50:51.327Z" }, + { url = "https://files.pythonhosted.org/packages/2e/6d/db2151b9f64264bcceccd51741aa39b50150de9b602d98ecfe7e0c4bff39/numpy-2.3.5-cp313-cp313t-macosx_14_0_arm64.whl", hash = "sha256:86d835afea1eaa143012a2d7a3f45a3adce2d7adc8b4961f0b362214d800846a", size = 5207391, upload-time = "2025-11-16T22:50:54.542Z" }, + { url = "https://files.pythonhosted.org/packages/80/ae/429bacace5ccad48a14c4ae5332f6aa8ab9f69524193511d60ccdfdc65fa/numpy-2.3.5-cp313-cp313t-macosx_14_0_x86_64.whl", hash = "sha256:30bc11310e8153ca664b14c5f1b73e94bd0503681fcf136a163de856f3a50139", size = 6721275, upload-time = "2025-11-16T22:50:56.794Z" }, + { url = "https://files.pythonhosted.org/packages/74/5b/1919abf32d8722646a38cd527bc3771eb229a32724ee6ba340ead9b92249/numpy-2.3.5-cp313-cp313t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:1062fde1dcf469571705945b0f221b73928f34a20c904ffb45db101907c3454e", size = 14306855, upload-time = "2025-11-16T22:50:59.208Z" }, + { url = "https://files.pythonhosted.org/packages/a5/87/6831980559434973bebc30cd9c1f21e541a0f2b0c280d43d3afd909b66d0/numpy-2.3.5-cp313-cp313t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:ce581db493ea1a96c0556360ede6607496e8bf9b3a8efa66e06477267bc831e9", size = 16657359, upload-time = "2025-11-16T22:51:01.991Z" }, + { url = "https://files.pythonhosted.org/packages/dd/91/c797f544491ee99fd00495f12ebb7802c440c1915811d72ac5b4479a3356/numpy-2.3.5-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:cc8920d2ec5fa99875b670bb86ddeb21e295cb07aa331810d9e486e0b969d946", size = 16093374, upload-time = "2025-11-16T22:51:05.291Z" }, + { url = "https://files.pythonhosted.org/packages/74/a6/54da03253afcbe7a72785ec4da9c69fb7a17710141ff9ac5fcb2e32dbe64/numpy-2.3.5-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:9ee2197ef8c4f0dfe405d835f3b6a14f5fee7782b5de51ba06fb65fc9b36e9f1", size = 18594587, upload-time = "2025-11-16T22:51:08.585Z" }, + { url = "https://files.pythonhosted.org/packages/80/e9/aff53abbdd41b0ecca94285f325aff42357c6b5abc482a3fcb4994290b18/numpy-2.3.5-cp313-cp313t-win32.whl", hash = "sha256:70b37199913c1bd300ff6e2693316c6f869c7ee16378faf10e4f5e3275b299c3", size = 6405940, upload-time = "2025-11-16T22:51:11.541Z" }, + { url = "https://files.pythonhosted.org/packages/d5/81/50613fec9d4de5480de18d4f8ef59ad7e344d497edbef3cfd80f24f98461/numpy-2.3.5-cp313-cp313t-win_amd64.whl", hash = "sha256:b501b5fa195cc9e24fe102f21ec0a44dffc231d2af79950b451e0d99cea02234", size = 12920341, upload-time = "2025-11-16T22:51:14.312Z" }, + { url = "https://files.pythonhosted.org/packages/bb/ab/08fd63b9a74303947f34f0bd7c5903b9c5532c2d287bead5bdf4c556c486/numpy-2.3.5-cp313-cp313t-win_arm64.whl", hash = "sha256:a80afd79f45f3c4a7d341f13acbe058d1ca8ac017c165d3fa0d3de6bc1a079d7", size = 10262507, upload-time = "2025-11-16T22:51:16.846Z" }, + { url = "https://files.pythonhosted.org/packages/ba/97/1a914559c19e32d6b2e233cf9a6a114e67c856d35b1d6babca571a3e880f/numpy-2.3.5-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:bf06bc2af43fa8d32d30fae16ad965663e966b1a3202ed407b84c989c3221e82", size = 16735706, upload-time = "2025-11-16T22:51:19.558Z" }, + { url = "https://files.pythonhosted.org/packages/57/d4/51233b1c1b13ecd796311216ae417796b88b0616cfd8a33ae4536330748a/numpy-2.3.5-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:052e8c42e0c49d2575621c158934920524f6c5da05a1d3b9bab5d8e259e045f0", size = 12264507, upload-time = "2025-11-16T22:51:22.492Z" }, + { url = "https://files.pythonhosted.org/packages/45/98/2fe46c5c2675b8306d0b4a3ec3494273e93e1226a490f766e84298576956/numpy-2.3.5-cp314-cp314-macosx_14_0_arm64.whl", hash = "sha256:1ed1ec893cff7040a02c8aa1c8611b94d395590d553f6b53629a4461dc7f7b63", size = 5093049, upload-time = "2025-11-16T22:51:25.171Z" }, + { url = "https://files.pythonhosted.org/packages/ce/0e/0698378989bb0ac5f1660c81c78ab1fe5476c1a521ca9ee9d0710ce54099/numpy-2.3.5-cp314-cp314-macosx_14_0_x86_64.whl", hash = "sha256:2dcd0808a421a482a080f89859a18beb0b3d1e905b81e617a188bd80422d62e9", size = 6626603, upload-time = "2025-11-16T22:51:27Z" }, + { url = "https://files.pythonhosted.org/packages/5e/a6/9ca0eecc489640615642a6cbc0ca9e10df70df38c4d43f5a928ff18d8827/numpy-2.3.5-cp314-cp314-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:727fd05b57df37dc0bcf1a27767a3d9a78cbbc92822445f32cc3436ba797337b", size = 14262696, upload-time = "2025-11-16T22:51:29.402Z" }, + { url = "https://files.pythonhosted.org/packages/c8/f6/07ec185b90ec9d7217a00eeeed7383b73d7e709dae2a9a021b051542a708/numpy-2.3.5-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:fffe29a1ef00883599d1dc2c51aa2e5d80afe49523c261a74933df395c15c520", size = 16597350, upload-time = "2025-11-16T22:51:32.167Z" }, + { url = "https://files.pythonhosted.org/packages/75/37/164071d1dde6a1a84c9b8e5b414fa127981bad47adf3a6b7e23917e52190/numpy-2.3.5-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:8f7f0e05112916223d3f438f293abf0727e1181b5983f413dfa2fefc4098245c", size = 16040190, upload-time = "2025-11-16T22:51:35.403Z" }, + { url = "https://files.pythonhosted.org/packages/08/3c/f18b82a406b04859eb026d204e4e1773eb41c5be58410f41ffa511d114ae/numpy-2.3.5-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:2e2eb32ddb9ccb817d620ac1d8dae7c3f641c1e5f55f531a33e8ab97960a75b8", size = 18536749, upload-time = "2025-11-16T22:51:39.698Z" }, + { url = "https://files.pythonhosted.org/packages/40/79/f82f572bf44cf0023a2fe8588768e23e1592585020d638999f15158609e1/numpy-2.3.5-cp314-cp314-win32.whl", hash = "sha256:66f85ce62c70b843bab1fb14a05d5737741e74e28c7b8b5a064de10142fad248", size = 6335432, upload-time = "2025-11-16T22:51:42.476Z" }, + { url = "https://files.pythonhosted.org/packages/a3/2e/235b4d96619931192c91660805e5e49242389742a7a82c27665021db690c/numpy-2.3.5-cp314-cp314-win_amd64.whl", hash = "sha256:e6a0bc88393d65807d751a614207b7129a310ca4fe76a74e5c7da5fa5671417e", size = 12919388, upload-time = "2025-11-16T22:51:45.275Z" }, + { url = "https://files.pythonhosted.org/packages/07/2b/29fd75ce45d22a39c61aad74f3d718e7ab67ccf839ca8b60866054eb15f8/numpy-2.3.5-cp314-cp314-win_arm64.whl", hash = "sha256:aeffcab3d4b43712bb7a60b65f6044d444e75e563ff6180af8f98dd4b905dfd2", size = 10476651, upload-time = "2025-11-16T22:51:47.749Z" }, + { url = "https://files.pythonhosted.org/packages/17/e1/f6a721234ebd4d87084cfa68d081bcba2f5cfe1974f7de4e0e8b9b2a2ba1/numpy-2.3.5-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:17531366a2e3a9e30762c000f2c43a9aaa05728712e25c11ce1dbe700c53ad41", size = 16834503, upload-time = "2025-11-16T22:51:50.443Z" }, + { url = "https://files.pythonhosted.org/packages/5c/1c/baf7ffdc3af9c356e1c135e57ab7cf8d247931b9554f55c467efe2c69eff/numpy-2.3.5-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:d21644de1b609825ede2f48be98dfde4656aefc713654eeee280e37cadc4e0ad", size = 12381612, upload-time = "2025-11-16T22:51:53.609Z" }, + { url = "https://files.pythonhosted.org/packages/74/91/f7f0295151407ddc9ba34e699013c32c3c91944f9b35fcf9281163dc1468/numpy-2.3.5-cp314-cp314t-macosx_14_0_arm64.whl", hash = "sha256:c804e3a5aba5460c73955c955bdbd5c08c354954e9270a2c1565f62e866bdc39", size = 5210042, upload-time = "2025-11-16T22:51:56.213Z" }, + { url = "https://files.pythonhosted.org/packages/2e/3b/78aebf345104ec50dd50a4d06ddeb46a9ff5261c33bcc58b1c4f12f85ec2/numpy-2.3.5-cp314-cp314t-macosx_14_0_x86_64.whl", hash = "sha256:cc0a57f895b96ec78969c34f682c602bf8da1a0270b09bc65673df2e7638ec20", size = 6724502, upload-time = "2025-11-16T22:51:58.584Z" }, + { url = "https://files.pythonhosted.org/packages/02/c6/7c34b528740512e57ef1b7c8337ab0b4f0bddf34c723b8996c675bc2bc91/numpy-2.3.5-cp314-cp314t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:900218e456384ea676e24ea6a0417f030a3b07306d29d7ad843957b40a9d8d52", size = 14308962, upload-time = "2025-11-16T22:52:01.698Z" }, + { url = "https://files.pythonhosted.org/packages/80/35/09d433c5262bc32d725bafc619e095b6a6651caf94027a03da624146f655/numpy-2.3.5-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:09a1bea522b25109bf8e6f3027bd810f7c1085c64a0c7ce050c1676ad0ba010b", size = 16655054, upload-time = "2025-11-16T22:52:04.267Z" }, + { url = "https://files.pythonhosted.org/packages/7a/ab/6a7b259703c09a88804fa2430b43d6457b692378f6b74b356155283566ac/numpy-2.3.5-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:04822c00b5fd0323c8166d66c701dc31b7fbd252c100acd708c48f763968d6a3", size = 16091613, upload-time = "2025-11-16T22:52:08.651Z" }, + { url = "https://files.pythonhosted.org/packages/c2/88/330da2071e8771e60d1038166ff9d73f29da37b01ec3eb43cb1427464e10/numpy-2.3.5-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:d6889ec4ec662a1a37eb4b4fb26b6100841804dac55bd9df579e326cdc146227", size = 18591147, upload-time = "2025-11-16T22:52:11.453Z" }, + { url = "https://files.pythonhosted.org/packages/51/41/851c4b4082402d9ea860c3626db5d5df47164a712cb23b54be028b184c1c/numpy-2.3.5-cp314-cp314t-win32.whl", hash = "sha256:93eebbcf1aafdf7e2ddd44c2923e2672e1010bddc014138b229e49725b4d6be5", size = 6479806, upload-time = "2025-11-16T22:52:14.641Z" }, + { url = "https://files.pythonhosted.org/packages/90/30/d48bde1dfd93332fa557cff1972fbc039e055a52021fbef4c2c4b1eefd17/numpy-2.3.5-cp314-cp314t-win_amd64.whl", hash = "sha256:c8a9958e88b65c3b27e22ca2a076311636850b612d6bbfb76e8d156aacde2aaf", size = 13105760, upload-time = "2025-11-16T22:52:17.975Z" }, + { url = "https://files.pythonhosted.org/packages/2d/fd/4b5eb0b3e888d86aee4d198c23acec7d214baaf17ea93c1adec94c9518b9/numpy-2.3.5-cp314-cp314t-win_arm64.whl", hash = "sha256:6203fdf9f3dc5bdaed7319ad8698e685c7a3be10819f41d32a0723e611733b42", size = 10545459, upload-time = "2025-11-16T22:52:20.55Z" }, + { url = "https://files.pythonhosted.org/packages/c6/65/f9dea8e109371ade9c782b4e4756a82edf9d3366bca495d84d79859a0b79/numpy-2.3.5-pp311-pypy311_pp73-macosx_10_15_x86_64.whl", hash = "sha256:f0963b55cdd70fad460fa4c1341f12f976bb26cb66021a5580329bd498988310", size = 16910689, upload-time = "2025-11-16T22:52:23.247Z" }, + { url = "https://files.pythonhosted.org/packages/00/4f/edb00032a8fb92ec0a679d3830368355da91a69cab6f3e9c21b64d0bb986/numpy-2.3.5-pp311-pypy311_pp73-macosx_11_0_arm64.whl", hash = "sha256:f4255143f5160d0de972d28c8f9665d882b5f61309d8362fdd3e103cf7bf010c", size = 12457053, upload-time = "2025-11-16T22:52:26.367Z" }, + { url = "https://files.pythonhosted.org/packages/16/a4/e8a53b5abd500a63836a29ebe145fc1ab1f2eefe1cfe59276020373ae0aa/numpy-2.3.5-pp311-pypy311_pp73-macosx_14_0_arm64.whl", hash = "sha256:a4b9159734b326535f4dd01d947f919c6eefd2d9827466a696c44ced82dfbc18", size = 5285635, upload-time = "2025-11-16T22:52:29.266Z" }, + { url = "https://files.pythonhosted.org/packages/a3/2f/37eeb9014d9c8b3e9c55bc599c68263ca44fdbc12a93e45a21d1d56df737/numpy-2.3.5-pp311-pypy311_pp73-macosx_14_0_x86_64.whl", hash = "sha256:2feae0d2c91d46e59fcd62784a3a83b3fb677fead592ce51b5a6fbb4f95965ff", size = 6801770, upload-time = "2025-11-16T22:52:31.421Z" }, + { url = "https://files.pythonhosted.org/packages/7d/e4/68d2f474df2cb671b2b6c2986a02e520671295647dad82484cde80ca427b/numpy-2.3.5-pp311-pypy311_pp73-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:ffac52f28a7849ad7576293c0cb7b9f08304e8f7d738a8cb8a90ec4c55a998eb", size = 14391768, upload-time = "2025-11-16T22:52:33.593Z" }, + { url = "https://files.pythonhosted.org/packages/b8/50/94ccd8a2b141cb50651fddd4f6a48874acb3c91c8f0842b08a6afc4b0b21/numpy-2.3.5-pp311-pypy311_pp73-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:63c0e9e7eea69588479ebf4a8a270d5ac22763cc5854e9a7eae952a3908103f7", size = 16729263, upload-time = "2025-11-16T22:52:36.369Z" }, + { url = "https://files.pythonhosted.org/packages/2d/ee/346fa473e666fe14c52fcdd19ec2424157290a032d4c41f98127bfb31ac7/numpy-2.3.5-pp311-pypy311_pp73-win_amd64.whl", hash = "sha256:f16417ec91f12f814b10bafe79ef77e70113a2f5f7018640e7425ff979253425", size = 12967213, upload-time = "2025-11-16T22:52:39.38Z" }, +] + +[[package]] +name = "numpy" +version = "2.5.3" +source = { registry = "https://pypi.org/simple" } +resolution-markers = [ + "python_full_version == '3.14.*'", + "python_full_version >= '3.12' and python_full_version < '3.14'", +] +sdist = { url = "https://files.pythonhosted.org/packages/13/01/11703282db468b85f6f7b8c7f22d058de5970d5c7e60a3a8aaa313c3de36/numpy-2.5.3.tar.gz", hash = "sha256:df2d5874ff183595a4ba404edd04f6bd9b5505c1d7708573f6a6c17489a67563", size = 20791231, upload-time = "2026-09-06T16:27:47.073Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/d6/50/8fdbb16af64895706a45f06a4068e29db732ec180f3c1375f14123359138/numpy-2.5.3-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:cb189f09db39283b26bfd061ec16189e14f71c6755207f72a0f7540867afe5b9", size = 16994982, upload-time = "2026-09-06T16:24:29.244Z" }, + { url = "https://files.pythonhosted.org/packages/60/39/789131c1188c078dcb3a1692e72e1e050c68b88ffe72c9ccaac9bcd7a9cd/numpy-2.5.3-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:f59a878c33d6b88122d80d239bb3b845d58708750b0cb06a09aebb9b18ec696c", size = 12009327, upload-time = "2026-09-06T16:24:32.491Z" }, + { url = "https://files.pythonhosted.org/packages/9c/59/a312e95696e5f601914dd8b6dd844692ba61670807417e24b68e337b5c70/numpy-2.5.3-cp312-cp312-macosx_14_0_arm64.whl", hash = "sha256:a72f874bc9e10e4b8f80426fb49716d5141f64442a0c8418065093ec8017fbb0", size = 5445405, upload-time = "2026-09-06T16:24:35.071Z" }, + { url = "https://files.pythonhosted.org/packages/30/d0/5623a1707ed4fe16e3909fe3cf5ee3da004ae677ad23d83bbf3adf1a6faf/numpy-2.5.3-cp312-cp312-macosx_14_0_x86_64.whl", hash = "sha256:fc36dc566135b5eceec4cf89758fcb719266a019ef07dae1754ae7c9f617ef3e", size = 6783213, upload-time = "2026-09-06T16:24:37.253Z" }, + { url = "https://files.pythonhosted.org/packages/f1/32/84146fc020ad3c25f805f70ab60da46fe3c540a21369754a7e4369754b6f/numpy-2.5.3-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:76c2c1e6bfa5c84adc6434dfbf013aa92096a7985221762c8f11fedfd20fff58", size = 15687872, upload-time = "2026-09-06T16:24:39.751Z" }, + { url = "https://files.pythonhosted.org/packages/65/af/aa78d1a88805456e212b65461354cd943197fb9acecc4c90fd12295123a3/numpy-2.5.3-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:b7e18c623bb5c95acb3b3328861272816ba199fb531921c5d6d0b675f1fde9e3", size = 16717410, upload-time = "2026-09-06T16:24:42.745Z" }, + { url = "https://files.pythonhosted.org/packages/3b/24/faa79d865e69a97ba17473b23a1b74094b2259c03e820c70297293b9ea49/numpy-2.5.3-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:4f8929ee6c96bfbd7b4ed2032e0c03af86fe1826740ab61ddabf9072d06e57ff", size = 17040975, upload-time = "2026-09-06T16:24:45.961Z" }, + { url = "https://files.pythonhosted.org/packages/62/4a/8877e629445a7176297dffcaf9c485faa96a95d81728a62521ad55bd4c0f/numpy-2.5.3-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:b5d93cf48f687479941d12b69c873ad2cc76bbd487f0091c2200636497f34034", size = 18476479, upload-time = "2026-09-06T16:24:49.35Z" }, + { url = "https://files.pythonhosted.org/packages/c8/db/35e1c2d38b04cbd5b731f9d71495e055e813197669d22b612f11748d2ff9/numpy-2.5.3-cp312-cp312-win32.whl", hash = "sha256:bf63afbe037eb5d2fe87fbcc7778e61da53ebaf21d938a4515aa73b62532a5d4", size = 6133378, upload-time = "2026-09-06T16:24:51.915Z" }, + { url = "https://files.pythonhosted.org/packages/3c/a1/accf6d4f0c80c5d9ba9735d6b1550e444180599f34dec69ca01360f717ad/numpy-2.5.3-cp312-cp312-win_amd64.whl", hash = "sha256:0a59a421a32580a009e8a1751345bf829631b990dc1794b80514ab722b435def", size = 12567828, upload-time = "2026-09-06T16:24:54.255Z" }, + { url = "https://files.pythonhosted.org/packages/22/43/1764aff32e4652526ae2f71fa8b3efd8d25c8a3d6926914454e47138ed1e/numpy-2.5.3-cp312-cp312-win_arm64.whl", hash = "sha256:ccb32e0525d29e8b0572eb84c9a57af0e7a4e615726927506f55063c62414034", size = 10485432, upload-time = "2026-09-06T16:24:57.278Z" }, + { url = "https://files.pythonhosted.org/packages/79/e5/8fb89cd46d14e35699d13bf943a5f5f441ecee8667120a1f6105ab89e349/numpy-2.5.3-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:66a78fe4556c60aceda5916f9eacd638b18e9e681016ec302dcb4682d6d4d034", size = 16991061, upload-time = "2026-09-06T16:25:00.411Z" }, + { url = "https://files.pythonhosted.org/packages/2f/06/9dc9e48b5e5e941c8b10350c5ff2d721da42a20517d911d15544246775ff/numpy-2.5.3-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:92f30e89b8ee0ecf363033576c422b2f58fed6a80bed0aa48dff6d14c654663e", size = 12003676, upload-time = "2026-09-06T16:25:03.475Z" }, + { url = "https://files.pythonhosted.org/packages/ab/2a/98282aa5b8f58b1157d440bb6282eed47e3632a5de53a714fbab17e659fe/numpy-2.5.3-cp313-cp313-macosx_14_0_arm64.whl", hash = "sha256:f9a2353b37a1a9e78fd82b27ad7e2a32a2d036604d18f02b05e3136c62ca3b09", size = 5439695, upload-time = "2026-09-06T16:25:05.978Z" }, + { url = "https://files.pythonhosted.org/packages/a1/f9/b6533d777be9d6ffd29dc1be0867e563e6e8cc9a220ff1b716adc317f060/numpy-2.5.3-cp313-cp313-macosx_14_0_x86_64.whl", hash = "sha256:ccbc4665079665c3cf3bab4db9f6b095370cd6437d66be549b6c2a1fd19e1958", size = 6779395, upload-time = "2026-09-06T16:25:08.599Z" }, + { url = "https://files.pythonhosted.org/packages/73/85/735720d04ec197c5dcfacdfc9922667c7f1f5f496a279b7ba4d7c74c4cc7/numpy-2.5.3-cp313-cp313-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:c76d5dde9f445058f83d0c02af00557a4db91de9a9a57c0df87d1535001d654b", size = 15681750, upload-time = "2026-09-06T16:25:11.173Z" }, + { url = "https://files.pythonhosted.org/packages/3a/1b/3b16a9bc514a440a7a0883684111dcb1ef1aee960af2ca95da8fc775f124/numpy-2.5.3-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:a5fa86b80fd24bcd1aff83ad23be44ea323de3f787be8f8b15d4a65621e25321", size = 16708577, upload-time = "2026-09-06T16:25:14.171Z" }, + { url = "https://files.pythonhosted.org/packages/69/c4/386f397831b07328b639c96c5b62719346cf4baf07c68d927239752b1534/numpy-2.5.3-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:bd4cb9ad3c7889b9b3fe0a9a9fb5d2ed26f9879bff2608d9f01aed147a20d231", size = 17042047, upload-time = "2026-09-06T16:25:17.582Z" }, + { url = "https://files.pythonhosted.org/packages/5f/3e/a700ecbf36e85ae8328fd3b0e12eeddc22ed6358a64cb2bd913e0d195d65/numpy-2.5.3-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:1302b90c0e52281681b2975adfe8a860cb7b12216a27b4b0b4207c44bf7bccf0", size = 18465724, upload-time = "2026-09-06T16:25:20.949Z" }, + { url = "https://files.pythonhosted.org/packages/41/ee/38e785e88a4045f6ad1d1f2808dcdfafdca48c760260c0587bf171e29fc9/numpy-2.5.3-cp313-cp313-win32.whl", hash = "sha256:1c80eabb4035ecf4ca9cd49cde8a9fdd69a729e63e6474887d1523ade7aa277f", size = 6129003, upload-time = "2026-09-06T16:25:23.664Z" }, + { url = "https://files.pythonhosted.org/packages/f3/ec/100f2b1794ede74a9b3d7ec6b9736927f56713414c1dfe19ab6c383494bf/numpy-2.5.3-cp313-cp313-win_amd64.whl", hash = "sha256:71cad2b2a7451ab79d8f5e71b453485b6775963d5cf794179144a7463fe6e8ec", size = 12560965, upload-time = "2026-09-06T16:25:26.602Z" }, + { url = "https://files.pythonhosted.org/packages/80/b1/7dc825ca94c12acebbce4c37caa5e198695eb31424bc579679f32b1bb49d/numpy-2.5.3-cp313-cp313-win_arm64.whl", hash = "sha256:8e4dd766076855b5ff7ea52fa5f07ce26286726e0f8bff446b7739d02e6ea204", size = 10482343, upload-time = "2026-09-06T16:25:29.772Z" }, + { url = "https://files.pythonhosted.org/packages/70/78/cf416f15dc29375a229d9dfebf8db6e313f291580b39fa1a568b6052bb07/numpy-2.5.3-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:350ba9783ce969cf9f7ce6e6a9a58e1a6e2a19ca025b7ee448c4db727706212a", size = 16998686, upload-time = "2026-09-06T16:25:33.171Z" }, + { url = "https://files.pythonhosted.org/packages/9e/59/abcc2d8def4fd60eec7d87f92d27c13448ffd9ab14339bcc63a0d7a2fdea/numpy-2.5.3-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:012e66aca395d795496446e52aeeb5866312a5d4d3f27da270e5a0b43f70dc5c", size = 12013862, upload-time = "2026-09-06T16:25:36.748Z" }, + { url = "https://files.pythonhosted.org/packages/94/75/4640d2d6e4b64a049e48425a82728a41ef4adb61332d2cba68055774878b/numpy-2.5.3-cp314-cp314-macosx_14_0_arm64.whl", hash = "sha256:adc1ada2662f8a5f960b8a10d9986897e7499ef07e06d4cfe7197f8cce923c07", size = 5449793, upload-time = "2026-09-06T16:25:39.476Z" }, + { url = "https://files.pythonhosted.org/packages/96/cd/625b57ae33d4ca560f32cc0b47b4a5922146d9beb998ddf773900d440a73/numpy-2.5.3-cp314-cp314-macosx_14_0_x86_64.whl", hash = "sha256:54a115e5a73b8fc44f0cebef486365a1894b5c9760685d4558b72b7c3eb846e0", size = 6785176, upload-time = "2026-09-06T16:25:42.069Z" }, + { url = "https://files.pythonhosted.org/packages/9c/72/12918652e7912ef9751e8694c88820fcd1908e0618cb23f5f3caa6004b7b/numpy-2.5.3-cp314-cp314-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:be5a8381859b6da607c84f4f7d6847725f1cf1853ef8a2c9e115b7d58bef47dc", size = 15703377, upload-time = "2026-09-06T16:25:45.135Z" }, + { url = "https://files.pythonhosted.org/packages/45/8f/9beacf79ca7c650688ad0baa80931adb988fe6e6e5d5903c23cc3dbd70eb/numpy-2.5.3-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:b0521d0f4aebb6e06189451025fa17a913287b13c03d5fe05c017333b654ea5b", size = 16711928, upload-time = "2026-09-06T16:25:48.461Z" }, + { url = "https://files.pythonhosted.org/packages/09/8d/41d0a56e1ac4c87495c897a211b1368691b7237aadabec8b3b8f3a74d48f/numpy-2.5.3-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:9deb49575e5b0b94ed72c8a64ec4d033381adc27e9060ae842971f697ba96104", size = 17059507, upload-time = "2026-09-06T16:25:51.873Z" }, + { url = "https://files.pythonhosted.org/packages/08/1e/0dfbc5cc251d54e2af790f254d24ec38637fa97ec7d5d11de7ffed787098/numpy-2.5.3-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:b00eefbcf0f292945c4b4dec2ae845389ef5bcdcd596e6e4328051db5b5ba694", size = 18471002, upload-time = "2026-09-06T16:25:55.233Z" }, + { url = "https://files.pythonhosted.org/packages/b5/2c/dfa40f6991f8185c8c30ffd023dfcbb11888e823cfab9557b920f3bb7bed/numpy-2.5.3-cp314-cp314-win32.whl", hash = "sha256:c2381f82999704f818e2c987a865050e285ec3621262c66d40f5a96c8f899f8e", size = 6180485, upload-time = "2026-09-06T16:25:58.157Z" }, + { url = "https://files.pythonhosted.org/packages/a4/73/d2c08231e4fde7e415501fd02c715d96e98599b2d8384445933944152984/numpy-2.5.3-cp314-cp314-win_amd64.whl", hash = "sha256:2c25dfa72943e4336ddb6b0ee4277b47a0c85bede0807530ec68103bf58e2c10", size = 12698179, upload-time = "2026-09-06T16:26:00.789Z" }, + { url = "https://files.pythonhosted.org/packages/5c/e9/dcdcc9b95cf5f49815055573aee1b11cfbf5299f38a180e437ded050810f/numpy-2.5.3-cp314-cp314-win_arm64.whl", hash = "sha256:15aa985ac73a8db02db7663381aa109510449d3819d37206caed27b33a65a8a6", size = 10769383, upload-time = "2026-09-06T16:26:04.011Z" }, + { url = "https://files.pythonhosted.org/packages/49/c4/af8bc08a7ef4e1529a7c0cf24969accce316b783999802089a581ec99272/numpy-2.5.3-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:ac7bb1c52d445bd4f8f7f97fefe6abc3a084dc4d63df50d79b17fa2b78e89297", size = 12132668, upload-time = "2026-09-06T16:26:07.138Z" }, + { url = "https://files.pythonhosted.org/packages/c5/ae/0f15eb56d4ec5e13c1f7ff04ff407f997d1acbadb45d3e1f2e2645a8f43c/numpy-2.5.3-cp314-cp314t-macosx_14_0_arm64.whl", hash = "sha256:e6ab667ba76450084eb64013762c438ea76d9d29cc676dcd6c2e9892ba37f841", size = 5568580, upload-time = "2026-09-06T16:26:09.828Z" }, + { url = "https://files.pythonhosted.org/packages/23/fb/c72a8f25d4b6e96c354e7ab45ace3b27dc11e5d6a13b6c7d0cd6b08bf112/numpy-2.5.3-cp314-cp314t-macosx_14_0_x86_64.whl", hash = "sha256:f7fabeb6cea87d65f3b926de33d03fb016cfdc29314c90974383b5582ae72891", size = 6882634, upload-time = "2026-09-06T16:26:12.524Z" }, + { url = "https://files.pythonhosted.org/packages/07/a9/968c90ed2ab15060c338e8137f1215b5a60756ae07328e0a60d1c6734df4/numpy-2.5.3-cp314-cp314t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:1fb6f8fb9ff0b3a69f52c66ce397b0246583e9f28616231b0e32ca49259a5fa6", size = 15748923, upload-time = "2026-09-06T16:26:15.092Z" }, + { url = "https://files.pythonhosted.org/packages/59/08/9df04103947b95e3b6b1f2ed1a70521f325647a31b82da6a2aae3a485508/numpy-2.5.3-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:93e1f5447e2b1e479d7bd74701e84746b86450cff1fc368b132d195e2b8f8211", size = 16746748, upload-time = "2026-09-06T16:26:18.43Z" }, + { url = "https://files.pythonhosted.org/packages/41/a0/14c8d5fe5b53a334aabb653deb391c0fef49558f491880ea300ed6785224/numpy-2.5.3-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:c00abe94c1a69d75d827dcf1c025b25c8a45d230b3bcd77a9020883a1b047653", size = 17111561, upload-time = "2026-09-06T16:26:22.113Z" }, + { url = "https://files.pythonhosted.org/packages/c4/a6/d7e96e42f01522e154c32489640f16dfc4f6181d165d05fc3bec8c2c4999/numpy-2.5.3-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:536f963710a4e63934d80ac0dc4f478804a83e9a84b6828018f25d09953ada33", size = 18513945, upload-time = "2026-09-06T16:26:25.401Z" }, + { url = "https://files.pythonhosted.org/packages/25/39/3453afb7119d0449ef11c886874120ff180e2c337760e0e2d88f70f1a945/numpy-2.5.3-cp314-cp314t-win32.whl", hash = "sha256:4c8a6d2ebce6305fd82fbefca827775437147052a976ee7c94b36a0c1b52ac6c", size = 6335421, upload-time = "2026-09-06T16:26:28.175Z" }, + { url = "https://files.pythonhosted.org/packages/99/01/22815d2b19a1a746b1d45205cffebb3fe511a18acb75fba6c88491fc9894/numpy-2.5.3-cp314-cp314t-win_amd64.whl", hash = "sha256:9a37475425b431b4d060f23b4f52cd2f3aef6bc7c654bd760adf0040eec9d435", size = 12896420, upload-time = "2026-09-06T16:26:31.265Z" }, + { url = "https://files.pythonhosted.org/packages/fa/ee/a7cbba67eeaff038dc29ca8b98a88396c8b0cc9c89d4924f4a27a5c9150b/numpy-2.5.3-cp314-cp314t-win_arm64.whl", hash = "sha256:2d8240cb4c16fd831074aa2b2cf9fc54664d826341d61c372245b96a74a49a9a", size = 10857177, upload-time = "2026-09-06T16:26:34.167Z" }, + { url = "https://files.pythonhosted.org/packages/45/56/78194492883ff5eec90423fe56a3a44b154da047d88a6307f629713c584f/numpy-2.5.3-cp315-cp315-macosx_10_15_x86_64.whl", hash = "sha256:a6391fafaba97500887132cd582abc6e19452b1ac775a47caa7b24490e152058", size = 16996531, upload-time = "2026-09-06T16:26:37.287Z" }, + { url = "https://files.pythonhosted.org/packages/11/39/dd55c0af90bbab564b09ae3b0aa60ec5c02b900fa4f1ba23440525c8b32d/numpy-2.5.3-cp315-cp315-macosx_11_0_arm64.whl", hash = "sha256:09d5a423c71ad5feb5625844ad58050e35df43871004b52ac9c0ad44a56775be", size = 12012569, upload-time = "2026-09-06T16:26:40.707Z" }, + { url = "https://files.pythonhosted.org/packages/b6/51/04f67d32e4862b281b1cb84ceeaed3421189a84fb6fb51a391cd6d5009f7/numpy-2.5.3-cp315-cp315-macosx_14_0_arm64.whl", hash = "sha256:f9579f383d1bf9df80081e72760e84960a7fd4f88cf0c9e535a8597c9bb646f5", size = 5448498, upload-time = "2026-09-06T16:26:43.435Z" }, + { url = "https://files.pythonhosted.org/packages/a3/c9/25b4dc0dd1344ec26c7319e84fd4e9809d2b5628f4e12decd618036e5178/numpy-2.5.3-cp315-cp315-macosx_14_0_x86_64.whl", hash = "sha256:86bff898a431c0fb71f7610b75726e75a54d47b37edc9d537f48de63bb3c0b90", size = 6783026, upload-time = "2026-09-06T16:26:46.374Z" }, + { url = "https://files.pythonhosted.org/packages/fc/c7/29285be1e5232a6e7ee3268a33c85843f5a8ee93350c6465cddd66ebbf76/numpy-2.5.3-cp315-cp315-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:1f3ed25271581281f2fccb1adcedfcde4c07362eec69189b50baf6f90e3ae159", size = 15697322, upload-time = "2026-09-06T16:26:49.415Z" }, + { url = "https://files.pythonhosted.org/packages/55/49/bbad5335fb4996a16881f853ff3e0ba582f01720e55c89b1c06b8fc42a90/numpy-2.5.3-cp315-cp315-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:ffdc76bfcae6b255dff75202c5e7feaf95b40246bc0a17944facc1fecf9f79ab", size = 16708995, upload-time = "2026-09-06T16:26:53.127Z" }, + { url = "https://files.pythonhosted.org/packages/ef/e9/1df35483760b04a65ea44669f89dc64f30e5aca098b48ceb8b1310b0e0fe/numpy-2.5.3-cp315-cp315-musllinux_1_2_aarch64.whl", hash = "sha256:116f96cadd935c6122e9228d676fe7ede19e741f5c8bb1c3cddbe0c51ccebea2", size = 17052508, upload-time = "2026-09-06T16:26:56.464Z" }, + { url = "https://files.pythonhosted.org/packages/b8/99/66e54da8265cc8be8a7382bf96edce17aaa2837d6f484432025932a3caa5/numpy-2.5.3-cp315-cp315-musllinux_1_2_x86_64.whl", hash = "sha256:09ffa5d903faeaa5c4dd05009cf81c8bab9f2cb37c548b8d39b65b4cfa7c97f7", size = 18468224, upload-time = "2026-09-06T16:26:59.966Z" }, + { url = "https://files.pythonhosted.org/packages/01/bc/b5e90a91c115168d793dfd2ad9c69c438c2fe7a13a437e770bc5b078e732/numpy-2.5.3-cp315-cp315-win32.whl", hash = "sha256:e01c918ac3d48e18a927cf7b14a26a3e29ff2bdf2eacb976da0aecd6a43ed034", size = 6179919, upload-time = "2026-09-06T16:27:03.166Z" }, + { url = "https://files.pythonhosted.org/packages/37/ea/780748fd3985109075514ef8fc64cd25f943e40dde13a6d59141eb268fc8/numpy-2.5.3-cp315-cp315-win_amd64.whl", hash = "sha256:e931e4f499e0dc7ef29d269a8e5b35dd722e5d14be07df6240166ea7c6532fae", size = 12697656, upload-time = "2026-09-06T16:27:06.153Z" }, + { url = "https://files.pythonhosted.org/packages/b3/16/407be69a2a87c8cab64d95975a8977a426a29e138f07e276ec258f0fe4e5/numpy-2.5.3-cp315-cp315-win_arm64.whl", hash = "sha256:26e15e4aecd8617dfbaecb37d223e365d7b39411fba20454be2670a96aa74cb5", size = 10767601, upload-time = "2026-09-06T16:27:09.297Z" }, + { url = "https://files.pythonhosted.org/packages/44/bf/a97ffb01e41d50a32a9177aef942a4d0e389a3daf451d04e5f38ef6afb87/numpy-2.5.3-cp315-cp315t-macosx_10_15_x86_64.whl", hash = "sha256:6cef4bb1706dfec49243c05d921eefb4e190d41e2528b30d8035ea1f36b4c24a", size = 17090092, upload-time = "2026-09-06T16:27:12.907Z" }, + { url = "https://files.pythonhosted.org/packages/d1/24/136c02f2c2af9a067a84d0c3aa10c99012c0476fa5066732fa4a4202557d/numpy-2.5.3-cp315-cp315t-macosx_11_0_arm64.whl", hash = "sha256:d1c89973648c85069c5046ad460f7b8a00218b29a2e42359ac8cc63e9ab94832", size = 12129429, upload-time = "2026-09-06T16:27:16.089Z" }, + { url = "https://files.pythonhosted.org/packages/fe/6c/b47582d6597789bf946d5efbeb6b9e56fd8bcbd5efc6fbf51dbe1ea31eb3/numpy-2.5.3-cp315-cp315t-macosx_14_0_arm64.whl", hash = "sha256:214045a5bf00113a146ab9ee9730c44501af6723cdf1f6830932f7b5ef2e7af0", size = 5565452, upload-time = "2026-09-06T16:27:19.868Z" }, + { url = "https://files.pythonhosted.org/packages/be/b4/ef3cc6da73774202d4deae16bb321fd8298a4e0561e3539f8c4be237d916/numpy-2.5.3-cp315-cp315t-macosx_14_0_x86_64.whl", hash = "sha256:8617bbfae4486cf99c9f899966699428d19da931d06ca94ad3da986c76e15997", size = 6876736, upload-time = "2026-09-06T16:27:22.232Z" }, + { url = "https://files.pythonhosted.org/packages/9e/24/e3813329498596cb842703dcacac1741612ed9fb9c4e6a3e0c7e2ebbc597/numpy-2.5.3-cp315-cp315t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:595d020938c84e320bcf40ad71089e108eac0d377cd018e14a8c094f39e98d85", size = 15745777, upload-time = "2026-09-06T16:27:25.181Z" }, + { url = "https://files.pythonhosted.org/packages/4a/9e/4e7a07fd0776dc2210cdacf2010be8665194d094defc10c419d7dea794cc/numpy-2.5.3-cp315-cp315t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:6f24021b9f22bc6301c37b196974a92c1c18dccedb6fef3dd252e95f2d6adbe4", size = 16746949, upload-time = "2026-09-06T16:27:28.576Z" }, + { url = "https://files.pythonhosted.org/packages/91/db/01674c0e20335057813a00c2ebd546ed25bff9ed7914f9bced00f8c55d94/numpy-2.5.3-cp315-cp315t-musllinux_1_2_aarch64.whl", hash = "sha256:71b39d9f935b6ec0f8753e3e2afb51e3efba6f2e05b68b32a40754d24bcd4a3c", size = 17108994, upload-time = "2026-09-06T16:27:31.946Z" }, + { url = "https://files.pythonhosted.org/packages/45/7a/584c5e71f8d378e57cac0b033891ed65c683ef90573ba4854e8c28203db0/numpy-2.5.3-cp315-cp315t-musllinux_1_2_x86_64.whl", hash = "sha256:6b05c171afb3aa07adbd20abc00aea86fe375beb0fdb9ef780ec5b7f63bab1c0", size = 18512266, upload-time = "2026-09-06T16:27:35.196Z" }, + { url = "https://files.pythonhosted.org/packages/a1/d2/4e1014173aa3c55e6a756e0e567290743a6ab33a288460374d7ef6bcd239/numpy-2.5.3-cp315-cp315t-win32.whl", hash = "sha256:f54660b0eb6b0b9f36e7fe1cdfdff472028dd0d14acd9b9b65098efbad059469", size = 6330292, upload-time = "2026-09-06T16:27:38.149Z" }, + { url = "https://files.pythonhosted.org/packages/6c/b0/ff5658a58199b7bcaad87bf260eef6713d9d42cca4e028f935b4fc5fbac6/numpy-2.5.3-cp315-cp315t-win_amd64.whl", hash = "sha256:1aad64d99730d013cfc6debafed22783b4fc5a7f4b8bc744d2d8cf7dcc880551", size = 12884918, upload-time = "2026-09-06T16:27:40.965Z" }, + { url = "https://files.pythonhosted.org/packages/fb/0b/b12a2df5d1b774bd9007a6fdff9381145b6223d37f11afc9c37ab0efd9a1/numpy-2.5.3-cp315-cp315t-win_arm64.whl", hash = "sha256:befa1ae5bd6030b3f512b43ff3fa5290bbed6b84411a44244b14adf835f5b89d", size = 10850807, upload-time = "2026-09-06T16:27:43.868Z" }, +] + +[[package]] +name = "openpyxl" +version = "3.1.5" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "et-xmlfile" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/3d/f9/88d94a75de065ea32619465d2f77b29a0469500e99012523b91cc4141cd1/openpyxl-3.1.5.tar.gz", hash = "sha256:cf0e3cf56142039133628b5acffe8ef0c12bc902d2aadd3e0fe5878dc08d1050", size = 186464, upload-time = "2024-06-28T14:03:44.161Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/c0/da/977ded879c29cbd04de313843e76868e6e13408a94ed6b987245dc7c8506/openpyxl-3.1.5-py2.py3-none-any.whl", hash = "sha256:5282c12b107bffeef825f4617dc029afaf41d0ea60823bbb665ef3079dc79de2", size = 250910, upload-time = "2024-06-28T14:03:41.161Z" }, +] + +[[package]] +name = "overrides" +version = "7.7.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/36/86/b585f53236dec60aba864e050778b25045f857e17f6e5ea0ae95fe80edd2/overrides-7.7.0.tar.gz", hash = "sha256:55158fa3d93b98cc75299b1e67078ad9003ca27945c76162c1c0766d6f91820a", size = 22812, upload-time = "2024-01-27T21:01:33.423Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/2c/ab/fc8290c6a4c722e5514d80f62b2dc4c4df1a68a41d1364e625c35990fcf3/overrides-7.7.0-py3-none-any.whl", hash = "sha256:c7ed9d062f78b8e4c1a7b70bd8796b35ead4d9f510227ef9c5dc7626c60d7e49", size = 17832, upload-time = "2024-01-27T21:01:31.393Z" }, +] + +[[package]] +name = "packaging" +version = "26.3" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/7d/fa/3944b40b07da9ce895c0e6303a5ab7d53da063554f534556b134a54d6093/packaging-26.3.tar.gz", hash = "sha256:94edc256424af38762eb31306eed28beb9f0efc50a8837492c9d6fd6004aed79", size = 313412, upload-time = "2026-08-04T18:15:28.737Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/63/34/ba1c580383c9eada3711951fef0795c80b829a078d72188184bcab9dd527/packaging-26.3-py3-none-any.whl", hash = "sha256:d7193f7c8e4e93f444fde0262bf90af30e16fa0ad0ad44cb553c87339b23cd1c", size = 129956, upload-time = "2026-08-04T18:15:27.159Z" }, +] + +[[package]] +name = "pandocfilters" +version = "1.5.1" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/70/6f/3dd4940bbe001c06a65f88e36bad298bc7a0de5036115639926b0c5c0458/pandocfilters-1.5.1.tar.gz", hash = "sha256:002b4a555ee4ebc03f8b66307e287fa492e4a77b4ea14d3f934328297bb4939e", size = 8454, upload-time = "2024-01-18T20:08:13.726Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/ef/af/4fbc8cab944db5d21b7e2a5b8e9211a03a79852b1157e2c102fcc61ac440/pandocfilters-1.5.1-py2.py3-none-any.whl", hash = "sha256:93be382804a9cdb0a7267585f157e5d1731bbe5545a85b268d6f5fe6232de2bc", size = 8663, upload-time = "2024-01-18T20:08:11.28Z" }, +] + +[[package]] +name = "parso" +version = "0.8.7" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/30/4b/90c937815137d43ce71ba043cd3566221e9df6b9c805f24b5d138c9d40a7/parso-0.8.7.tar.gz", hash = "sha256:eaaac4c9fdd5e9e8852dc778d2d7405897ec510f2a298071453e5e3a07914bb1", size = 401824, upload-time = "2026-05-01T23:13:02.138Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/99/5d/8268b644392ee874ee82a635cd0df1773de230bde356c38de28e298392cc/parso-0.8.7-py2.py3-none-any.whl", hash = "sha256:a8926eb2a1b915486941fdbd31e86a4baf88fe8c210f25f2f35ecec5b574ca1c", size = 107025, upload-time = "2026-05-01T23:12:58.867Z" }, +] + +[[package]] +name = "pathspec" +version = "1.1.1" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/5a/82/42f767fc1c1143d6fd36efb827202a2d997a375e160a71eb2888a925aac1/pathspec-1.1.1.tar.gz", hash = "sha256:17db5ecd524104a120e173814c90367a96a98d07c45b2e10c2f3919fff91bf5a", size = 135180, upload-time = "2026-04-27T01:46:08.907Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/f1/d9/7fb5aa316bc299258e68c73ba3bddbc499654a07f151cba08f6153988714/pathspec-1.1.1-py3-none-any.whl", hash = "sha256:a00ce642f577bf7f473932318056212bc4f8bfdf53128c78bbd5af0b9b20b189", size = 57328, upload-time = "2026-04-27T01:46:07.06Z" }, +] + +[[package]] +name = "perovskite-sim" +version = "0.1.0" +source = { editable = "." } +dependencies = [ + { name = "matplotlib" }, + { name = "numpy", version = "2.3.5", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.12' or python_full_version >= '3.15'" }, + { name = "numpy", version = "2.5.3", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.12' and python_full_version < '3.15'" }, + { name = "pyyaml" }, + { name = "scipy", version = "1.16.3", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.12' or python_full_version >= '3.15'" }, + { name = "scipy", version = "1.18.1", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.12' and python_full_version < '3.15'" }, + { name = "threadpoolctl" }, +] + +[package.optional-dependencies] +dev = [ + { name = "httpx" }, + { name = "import-linter" }, + { name = "mypy" }, + { name = "pytest" }, + { name = "pytest-cov" }, + { name = "ruff" }, +] +ida = [ + { name = "scikit-sundae" }, +] +notebook = [ + { name = "jupyterlab" }, +] +queue = [ + { name = "celery", extra = ["redis"] }, +] +research = [ + { name = "openpyxl" }, + { name = "pymupdf" }, +] +server = [ + { name = "fastapi" }, + { name = "pydantic" }, + { name = "uvicorn" }, +] + +[package.metadata] +requires-dist = [ + { name = "celery", extras = ["redis"], marker = "extra == 'queue'", specifier = "==5.5.3" }, + { name = "fastapi", marker = "extra == 'server'", specifier = "==0.141.1" }, + { name = "httpx", marker = "extra == 'dev'", specifier = "==0.28.1" }, + { name = "import-linter", marker = "extra == 'dev'", specifier = ">=2.5" }, + { name = "jupyterlab", marker = "extra == 'notebook'", specifier = ">=4.0" }, + { name = "matplotlib", specifier = "==3.11.2" }, + { name = "mypy", marker = "extra == 'dev'", specifier = ">=1.18" }, + { name = "numpy", marker = "python_full_version < '3.12'", specifier = "==2.3.5" }, + { name = "numpy", marker = "python_full_version >= '3.12'", specifier = "==2.5.3" }, + { name = "openpyxl", marker = "extra == 'research'", specifier = ">=3.1" }, + { name = "pydantic", marker = "extra == 'server'", specifier = "==2.13.5" }, + { name = "pymupdf", marker = "extra == 'research'", specifier = ">=1.24" }, + { name = "pytest", marker = "extra == 'dev'", specifier = "==9.1.1" }, + { name = "pytest-cov", marker = "extra == 'dev'", specifier = "==7.1.0" }, + { name = "pyyaml", specifier = "==6.0.3" }, + { name = "ruff", marker = "extra == 'dev'", specifier = ">=0.15.20" }, + { name = "scikit-sundae", marker = "extra == 'ida'", specifier = "==1.1.3" }, + { name = "scipy", marker = "python_full_version < '3.12'", specifier = "==1.16.3" }, + { name = "scipy", marker = "python_full_version >= '3.12'", specifier = "==1.18.1" }, + { name = "threadpoolctl", specifier = "==3.6.0" }, + { name = "uvicorn", marker = "extra == 'server'", specifier = "==0.52.4" }, +] +provides-extras = ["server", "queue", "research", "ida", "dev", "notebook"] + +[[package]] +name = "pexpect" +version = "4.9.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "ptyprocess" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/42/92/cc564bf6381ff43ce1f4d06852fc19a2f11d180f23dc32d9588bee2f149d/pexpect-4.9.0.tar.gz", hash = "sha256:ee7d41123f3c9911050ea2c2dac107568dc43b2d3b0c7557a33212c398ead30f", size = 166450, upload-time = "2023-11-25T09:07:26.339Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/9e/c3/059298687310d527a58bb01f3b1965787ee3b40dce76752eda8b44e9a2c5/pexpect-4.9.0-py2.py3-none-any.whl", hash = "sha256:7236d1e080e4936be2dc3e326cec0af72acf9212a7e1d060210e70a47e253523", size = 63772, upload-time = "2023-11-25T06:56:14.81Z" }, +] + +[[package]] +name = "pillow" +version = "12.3.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/1c/3d/bb7fca845737cf9d7dbde16ed1843984665ff2e0a518f5db43e77ec540b9/pillow-12.3.0.tar.gz", hash = "sha256:3b8182a766685eaa002637e28b4ec8d6b18819a0c71f579bf0dbaa5830297cce", size = 47025035, upload-time = "2026-07-01T11:56:38.965Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/fb/c8/0a78b0e02d7ac54bc03e5321c9220da52f0c2ea83b21f7c40e7f3169c502/pillow-12.3.0-cp311-cp311-macosx_10_10_x86_64.whl", hash = "sha256:00808c5e14ef63ac5161091d242999076604ff74b883423a11e5d7bbb38bf756", size = 5392415, upload-time = "2026-07-01T11:53:47.162Z" }, + { url = "https://files.pythonhosted.org/packages/b2/5b/a02d30018abd97ced9f5a6c63d28597694a00d066516b9c1c6de45859fc9/pillow-12.3.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:37d6d0a00072fd2948eb22bce7e1475f34569d90c87c59f7a2ec59541b77f7a6", size = 4785266, upload-time = "2026-07-01T11:53:49.079Z" }, + { url = "https://files.pythonhosted.org/packages/c8/98/766667a4be768150a202836acd9fad19c06824ca86c4286d3cf6b274964e/pillow-12.3.0-cp311-cp311-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:bcb46e2f9feff8d06323983bd83ed00c201fdcab3d74973e7072a889b3979fcd", size = 6263814, upload-time = "2026-07-01T11:53:51.32Z" }, + { url = "https://files.pythonhosted.org/packages/3b/2d/ede717bc1144f63886c21fd349bb95860b0d1a21149ff16f2bb362b612b6/pillow-12.3.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:23d27a3e0307ec2244cc51e7287b919aa68d097504ebe19df4e76a98a3eea5bd", size = 6934408, upload-time = "2026-07-01T11:53:53.487Z" }, + { url = "https://files.pythonhosted.org/packages/a3/48/9c58b685e69d49c31af6c8eb9012055fab7e665785165c84796e2c73ce72/pillow-12.3.0-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:4f883547d4b7f0495ebe7056b0cc2aea76094e7a4abc8e933540f3271df27d9c", size = 6337160, upload-time = "2026-07-01T11:53:55.457Z" }, + { url = "https://files.pythonhosted.org/packages/ff/fa/dc2a5c0ba6df93f67c31d34b808b7ce440b40cdbf96f0b81cde1d1e6fa93/pillow-12.3.0-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:236ff70b9312fb68943c703aa842ca6a758abfa45ac187a5e7c1452e96ef72b5", size = 7045172, upload-time = "2026-07-01T11:53:57.736Z" }, + { url = "https://files.pythonhosted.org/packages/86/a5/444817a4d4c4c2417df00513086ca196f388d8f9ef40c2e4ccd1ad1af54b/pillow-12.3.0-cp311-cp311-win32.whl", hash = "sha256:10e41f0fbf1eec8cfd234b8fe17a4caac7c9d0db4c204d3c173a8f9f6ef3232b", size = 6472232, upload-time = "2026-07-01T11:53:59.767Z" }, + { url = "https://files.pythonhosted.org/packages/63/c6/4bad1b18d132a50b27e1365e1ab163616f7a5bb56d330f66f9d1d9d4f9d4/pillow-12.3.0-cp311-cp311-win_amd64.whl", hash = "sha256:8e95e1385e4998ae9694eeaa4730ba5457ff61185b3a55e2e7bea0880aef452a", size = 7233653, upload-time = "2026-07-01T11:54:02.066Z" }, + { url = "https://files.pythonhosted.org/packages/fd/16/00f91ab7760dc842f5aad55217e80fc4a7067a0604535249bc8a2d6d9870/pillow-12.3.0-cp311-cp311-win_arm64.whl", hash = "sha256:ebaea975e03d3141d9d3a507df75c9b3ec90fa9d2ffd07567b3a978d9d790b26", size = 2568195, upload-time = "2026-07-01T11:54:04.622Z" }, + { url = "https://files.pythonhosted.org/packages/37/bf/fb3ebff8ddcb76aac5a01389251bbbb9519922a9b520d8247c1ca864a25d/pillow-12.3.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:ba09209fbe443b4acccebe845d8a138b89a8f4fbaeedd44953490b5315d5e965", size = 5345969, upload-time = "2026-07-01T11:54:06.397Z" }, + { url = "https://files.pythonhosted.org/packages/d8/66/9a386a92561f402389a4fc70c18838bf6d35eb5eb5c6850b4b2dc64f5048/pillow-12.3.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:ffd0c5368496f41b0944be820fcb7a838aa6e623d250b01acf2643939c3f99d7", size = 4780323, upload-time = "2026-07-01T11:54:09.351Z" }, + { url = "https://files.pythonhosted.org/packages/25/27/ac8f99618ffd3dde21db0f4d4b1d2ab00c0880595bfd17df103f7f39fd0c/pillow-12.3.0-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:d9c7f76c0673154f044e9d78c8655fb4213f6ca31a836df48b40fe5d187717b9", size = 6266838, upload-time = "2026-07-01T11:54:11.71Z" }, + { url = "https://files.pythonhosted.org/packages/84/21/a35af28dcc61f37ed850a2d64c65c701321dfbf25085e469d5559360cbbf/pillow-12.3.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:78cb2c6865a35ab8ff8b75fd122f6033b92a62c82801110e48ddd6c936a45d91", size = 6940830, upload-time = "2026-07-01T11:54:13.732Z" }, + { url = "https://files.pythonhosted.org/packages/eb/51/8b08617af3ad95e33ce6d7dd2c99ed6c8298f7fb131636303956be022e25/pillow-12.3.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:e491916b378fba47242221bb9ead245211b70d504f495d105d17b14a24b4907c", size = 6344383, upload-time = "2026-07-01T11:54:15.756Z" }, + { url = "https://files.pythonhosted.org/packages/1d/72/cf78ac9780bb93c28328f408973845a309d4d145041665f734572ced1b52/pillow-12.3.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:0dd2064cbc55aaec028ef5fbb60fa47bb6c3e7918e07ff17935284b227a9d2df", size = 7052934, upload-time = "2026-07-01T11:54:17.721Z" }, + { url = "https://files.pythonhosted.org/packages/20/20/25e0f4dc178a6bc0696793720055519a0de89e7661dae886992decbd2f81/pillow-12.3.0-cp312-cp312-win32.whl", hash = "sha256:dbce0b29841537a2fa4a214c2bbf14de3587c9680caa9b4e217568472490b28f", size = 6472684, upload-time = "2026-07-01T11:54:19.839Z" }, + { url = "https://files.pythonhosted.org/packages/45/89/da2f7971a317f83d807fdd4065c0af40208e59e692cc43d315a71a0e96d1/pillow-12.3.0-cp312-cp312-win_amd64.whl", hash = "sha256:a2b55dd6b2a4c4b7d87ffa56bdb33fdc5fdb9a462173861a7bc097f17d91cb09", size = 7227137, upload-time = "2026-07-01T11:54:22.025Z" }, + { url = "https://files.pythonhosted.org/packages/de/47/4845a0a6c0dbf1db8456bd9fc791f13c5ced7ced20606d08a0aacfd25b49/pillow-12.3.0-cp312-cp312-win_arm64.whl", hash = "sha256:331b624368d4f1d069149002f25f44bc61c8919ce8ddb3c45bdad8f6e2d89510", size = 2568267, upload-time = "2026-07-01T11:54:24.051Z" }, + { url = "https://files.pythonhosted.org/packages/9d/ac/31fb64e1e7efb5a4b50cd3d92049ba89ac6e4d8d3bb6a74e15048ca3353e/pillow-12.3.0-cp313-cp313-ios_13_0_arm64_iphoneos.whl", hash = "sha256:21900ce7ba264168cd50defae43cd75d25c833ad4ad6e73ffc5596d12e25ac89", size = 4161684, upload-time = "2026-07-01T11:54:25.934Z" }, + { url = "https://files.pythonhosted.org/packages/87/b4/9805e23d2b4d77842b468513841fda254ee42f0289d25088340e4ff46e2d/pillow-12.3.0-cp313-cp313-ios_13_0_arm64_iphonesimulator.whl", hash = "sha256:4e8c2a84d977f50b9daed6eeaf3baef67d00d5d74d932288f02cb94518ee3ace", size = 4255487, upload-time = "2026-07-01T11:54:27.935Z" }, + { url = "https://files.pythonhosted.org/packages/df/39/ecf519435a200c693fe053a6ee4d835b41cf963a4dfc2551c4e637cb2a71/pillow-12.3.0-cp313-cp313-ios_13_0_x86_64_iphonesimulator.whl", hash = "sha256:ae26d61dfa7a47befdc7572b521024e8745f3d809bd95ca9505a7bba9ef849ec", size = 3696433, upload-time = "2026-07-01T11:54:29.813Z" }, + { url = "https://files.pythonhosted.org/packages/42/92/2fc3ffad878ae8dd5469ec1bc8eb83b71f48e13efdf68f02709003982a32/pillow-12.3.0-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:7a743ff716f746fc19a9557f60dab1600d4613255f8a7aeb3cdde4db7eb15a66", size = 5345889, upload-time = "2026-07-01T11:54:31.97Z" }, + { url = "https://files.pythonhosted.org/packages/10/76/8803c13605b763d33d156c4678fc77f8443389c0c51c8aef707bb02015f4/pillow-12.3.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:d69141514cc30b774ceea5e3ed3a6635c8d8a96edf664689b890f4089111fb35", size = 4780109, upload-time = "2026-07-01T11:54:34.026Z" }, + { url = "https://files.pythonhosted.org/packages/1f/01/e18aff37cb0b4aac47ac90f016d347a49aca667ef97f190b06ac2aabc928/pillow-12.3.0-cp313-cp313-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:f7401aebd7f581d7f83a439d87d474999317ee099218e5ad25d125290990ba65", size = 6263736, upload-time = "2026-07-01T11:54:36.131Z" }, + { url = "https://files.pythonhosted.org/packages/f7/62/de5bdd77d935331f4f802edc11e4d82950f642caad6cb2f949837b8560e2/pillow-12.3.0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:0847a763afefb695bc912d7c131e7e0632d4edc1d8698f58ddabec8e46b8b6d3", size = 6937129, upload-time = "2026-07-01T11:54:38.216Z" }, + { url = "https://files.pythonhosted.org/packages/70/4d/105627a13300c5e0df1d174230b32fd1273062c96f7745fd552b945d1e1d/pillow-12.3.0-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:571b9fcb07b97ef3a492028fb3d2dc0993ca23a06138b0315286566d29ef718a", size = 6339562, upload-time = "2026-07-01T11:54:40.354Z" }, + { url = "https://files.pythonhosted.org/packages/6b/1d/f13de01a553988ab895ba1c722e06cf3144d4f57656fd5b81b6d881f1179/pillow-12.3.0-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:756c768d0c9c2955feb7a56c37ea24aea2e369f8d36a88da270b6a9f19e62b5e", size = 7049439, upload-time = "2026-07-01T11:54:42.489Z" }, + { url = "https://files.pythonhosted.org/packages/c9/f9/066794cca041b969964f779ee5fa66a9498bbf34248ac39c5d7954e4198f/pillow-12.3.0-cp313-cp313-win32.whl", hash = "sha256:a876864214e136f0eb367788dbd7df045f4806801518e2cfe9e13229cfe06d8f", size = 6473287, upload-time = "2026-07-01T11:54:44.9Z" }, + { url = "https://files.pythonhosted.org/packages/a6/9b/7a58e61d62be561da3a356fe2384d4059a6345fc130e23ef1c36a5b81d24/pillow-12.3.0-cp313-cp313-win_amd64.whl", hash = "sha256:1cca606cd25738df4ed873d5ad46bbdb3d83b5cbca291f6b4ff13a4df6b0bbe8", size = 7239691, upload-time = "2026-07-01T11:54:47.141Z" }, + { url = "https://files.pythonhosted.org/packages/aa/b0/c4ed4f0ef8f8fa5ee8351537db6650bb8189f7e118842978dd6589065692/pillow-12.3.0-cp313-cp313-win_arm64.whl", hash = "sha256:b629de27fda84b42cde7edef0d85f13b958b47f6e9bbcbba9b673c562a89bd8b", size = 2568185, upload-time = "2026-07-01T11:54:49.137Z" }, + { url = "https://files.pythonhosted.org/packages/dc/01/001f65b68192f0228cc1dbbc8d2530ab5d58b61037ba0587f946fea607cd/pillow-12.3.0-cp314-cp314-ios_13_0_arm64_iphoneos.whl", hash = "sha256:9cf95fe4d0f84c82d282745d9bb08ad9f926efa00be4697e767b814ce40d4330", size = 4161736, upload-time = "2026-07-01T11:54:51.156Z" }, + { url = "https://files.pythonhosted.org/packages/1a/d2/0219746d0fd16fc8a84498e79452375be3797d3ce4044596ce565164b84f/pillow-12.3.0-cp314-cp314-ios_13_0_arm64_iphonesimulator.whl", hash = "sha256:8728f216dcdb6e6d555cf971cb34076139ad74b31fc2c14da4fafc741c5f6217", size = 4255435, upload-time = "2026-07-01T11:54:53.414Z" }, + { url = "https://files.pythonhosted.org/packages/c8/02/8d0bc62ef0302318c46ff2a512822d2610e81c7aa46c9b3abe6cbaca5ad0/pillow-12.3.0-cp314-cp314-ios_13_0_x86_64_iphonesimulator.whl", hash = "sha256:a45650e8ce7fafffd731db8550230db6b0d306d181a90b67d3e6bca2f1990930", size = 3696262, upload-time = "2026-07-01T11:54:55.739Z" }, + { url = "https://files.pythonhosted.org/packages/85/e2/73c77d218410b14f5f2d565e8a998d5317b7b9c75368d29985139f7a46f0/pillow-12.3.0-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:ba54cfebe86920a559a7c4d6b9050791c20513650a1952ebe3368c7dc70306f8", size = 5350344, upload-time = "2026-07-01T11:54:57.657Z" }, + { url = "https://files.pythonhosted.org/packages/c7/da/32c752228ae345f489e3a42499d817b6c3996da7e8a3bc7a04fc806b243b/pillow-12.3.0-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:e158cb00350dc278f3b91551101aa7d12415a66ebf2c91d8d5ac14e56ddd3ad0", size = 4780131, upload-time = "2026-07-01T11:54:59.713Z" }, + { url = "https://files.pythonhosted.org/packages/b1/9d/8b2c807dbef61a5197c047afe99823787eb66f63daf9fb2432f91d6f0462/pillow-12.3.0-cp314-cp314-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:e9aeb04d6aef139de265b29683e119b638208f88cf73cdd1658aa07221165321", size = 6263757, upload-time = "2026-07-01T11:55:01.778Z" }, + { url = "https://files.pythonhosted.org/packages/5c/44/c85361f65dbe00eea8576ee467c768d25129989efb76e94f205e9ca9bb46/pillow-12.3.0-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:251bf95b67017e27b13d82f5b326234ca62d70f9cf4c2b9032de2358a3b12c7b", size = 6936962, upload-time = "2026-07-01T11:55:03.93Z" }, + { url = "https://files.pythonhosted.org/packages/18/7e/e483414b35800b86b6f08dbbc7803fb5cd52c4d6f897f47d53ea2c7e6f65/pillow-12.3.0-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:fe3cca2e4e8a592be0f269a1ca4835c25199d9f3ce815c8491048f785b0a0198", size = 6339171, upload-time = "2026-07-01T11:55:05.989Z" }, + { url = "https://files.pythonhosted.org/packages/f0/f4/68c491844841ede6bed70189546b3ee9731cf9f2cbad396faff5e1ccba45/pillow-12.3.0-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:23aceaa007d6172b02c277f0cd359c79492bbb14f7072b4ede9fbcaf20648130", size = 7048116, upload-time = "2026-07-01T11:55:08.131Z" }, + { url = "https://files.pythonhosted.org/packages/a3/34/77f3f793fed8efc7d243f21b33c5a3f0d1c97ee70346d3db855587e155ff/pillow-12.3.0-cp314-cp314-win32.whl", hash = "sha256:af8d94b0db561cf68b88a267c5c44b49e134f525d0dc2cb7ed413a66bc23559a", size = 6467209, upload-time = "2026-07-01T11:55:10.408Z" }, + { url = "https://files.pythonhosted.org/packages/f1/e0/492879f69d94f91f60fc8cd05ba03650e9520afebb2fb7aa12777d7c7f38/pillow-12.3.0-cp314-cp314-win_amd64.whl", hash = "sha256:fdafc9cce40277e0f7a0feabce0ee50dd2fa1800f3b38015e51296b5e814048d", size = 7237707, upload-time = "2026-07-01T11:55:12.745Z" }, + { url = "https://files.pythonhosted.org/packages/c9/ac/6b11f2875f1c2ac040d84e1bbf9cf22a88038f901ca1037898b280b38365/pillow-12.3.0-cp314-cp314-win_arm64.whl", hash = "sha256:e91206ee562682b51b98ef4b26a6ef48fd84e15fd4c4bc5ec768eb641d206838", size = 2565995, upload-time = "2026-07-01T11:55:14.736Z" }, + { url = "https://files.pythonhosted.org/packages/52/69/c2208e56af9bfc1913afb24020297a691eb1d4ef688474c8a04913f65e04/pillow-12.3.0-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:164b31cd1a0490ab6efae01aa5df49da7061be0af1b30e035b6e9a1bfe34ee6e", size = 5352503, upload-time = "2026-07-01T11:55:17.076Z" }, + { url = "https://files.pythonhosted.org/packages/07/70/e5686d753e898a45d778ff1718dba8516ead6ab6b95d85fc8c4b70650cf2/pillow-12.3.0-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:5afb51d599ea772b8365ae807ae557f18bccfe46ab261fd1c2a9ed700fc6eb17", size = 4782956, upload-time = "2026-07-01T11:55:19.448Z" }, + { url = "https://files.pythonhosted.org/packages/d5/37/25c6692f06927ee973ff18c8d9ee98ad0b4d84ee67a09610c2dd1447958e/pillow-12.3.0-cp314-cp314t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:3edce1d53195db527e0191f84b71d02022de0540bf43a16ed734ed7537b07385", size = 6322855, upload-time = "2026-07-01T11:55:21.613Z" }, + { url = "https://files.pythonhosted.org/packages/cc/91/420637fcb8f1bc11029e403b4538e6694744428d8246118e45719f944556/pillow-12.3.0-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:bf16ba1b4d0b6b7c8e534936632270cf70eb00dbe09005bc345b2677b726855c", size = 6989642, upload-time = "2026-07-01T11:55:24.006Z" }, + { url = "https://files.pythonhosted.org/packages/10/08/b94d7811281ccf0d143a1cf768d1c49e1e54af63e7b708ab2ee3eb87face/pillow-12.3.0-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:24870b09b224f7ae3c39ed07d10e819d06f8720bc551847b1d623832b5b0e28d", size = 6391281, upload-time = "2026-07-01T11:55:26.252Z" }, + { url = "https://files.pythonhosted.org/packages/d2/87/24233f785f55474dc02ce3e739c5528a77e3a862e9333d1dd7a25cc31f70/pillow-12.3.0-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:30f2aa603c41533cc25c05acd0da21636e84a315768feb631c937177db558931", size = 7096716, upload-time = "2026-07-01T11:55:28.318Z" }, + { url = "https://files.pythonhosted.org/packages/23/26/fcb2f6e37175b04f53570b59937867e2b80ee1685e744023153028fc14f9/pillow-12.3.0-cp314-cp314t-win32.whl", hash = "sha256:4b0a7fe987b14c31ebda6083f74f22b561fd3739bc0ac51e019622e3d72668c7", size = 6474125, upload-time = "2026-07-01T11:55:30.956Z" }, + { url = "https://files.pythonhosted.org/packages/90/de/3634abee5f1c9e13c56787b7d5517b0ba8d6de51700b95578cf338349c9f/pillow-12.3.0-cp314-cp314t-win_amd64.whl", hash = "sha256:962864dc93511324d51ddbb5b9f8731bf71675b93ca612a07441896f4688fb8c", size = 7242939, upload-time = "2026-07-01T11:55:34.044Z" }, + { url = "https://files.pythonhosted.org/packages/ce/2a/fd13f8eb24de5714a6eb444a3d67e2842c6c576e159a43793adf23051351/pillow-12.3.0-cp314-cp314t-win_arm64.whl", hash = "sha256:0740a512dc522224c77d9aa5a8d70d8b7d73fb91f2c21125d8d025d3b8990e45", size = 2567506, upload-time = "2026-07-01T11:55:35.988Z" }, + { url = "https://files.pythonhosted.org/packages/5d/dc/8fdce34ec725a33c81c6ba122b904d6b9024e50ea9ac7bede62fab54506c/pillow-12.3.0-cp315-cp315-ios_13_0_arm64_iphoneos.whl", hash = "sha256:0feb2e9d6ad6c9e3c06effe9d00f3f1e618a6643273576b016f591e9315a7139", size = 4162063, upload-time = "2026-07-01T11:55:37.941Z" }, + { url = "https://files.pythonhosted.org/packages/76/66/2044b9a63d3b84ff048228dfcb7cd9bf0df983e8470971bf7d4c57b693de/pillow-12.3.0-cp315-cp315-ios_13_0_arm64_iphonesimulator.whl", hash = "sha256:9e881fca225083806662a5c43d627d215f258ff43c890f831966c7d7ba9c7402", size = 4255549, upload-time = "2026-07-01T11:55:40.022Z" }, + { url = "https://files.pythonhosted.org/packages/52/7e/1f67e6f4ece6b582ee4b539decbcc9f848dc245a93ed8cd7338bafef72f1/pillow-12.3.0-cp315-cp315-ios_13_0_x86_64_iphonesimulator.whl", hash = "sha256:4998562bf62a445225f22e07c896bb04b35b1b1f2eb6d760584c9c51d7a5f78c", size = 3696331, upload-time = "2026-07-01T11:55:41.98Z" }, + { url = "https://files.pythonhosted.org/packages/12/40/d306fc2c8e4d45d7f175c77edca7063be7b86fe7fe6e68f4353bf71d808c/pillow-12.3.0-cp315-cp315-macosx_10_15_x86_64.whl", hash = "sha256:dc624f6bc473dacdf7ef7eb8678d0d08edf15cd94fad6ae5c7d6cc67a4e4902f", size = 5350370, upload-time = "2026-07-01T11:55:44.028Z" }, + { url = "https://files.pythonhosted.org/packages/dd/44/668fb1437e8ce420f62d6106eb66e44a5971602a4d794615bdf79315d82d/pillow-12.3.0-cp315-cp315-macosx_11_0_arm64.whl", hash = "sha256:71d6097b330eea8fd15097780c8e89cb1a8ce7838669f48c5bacd6f663dd4701", size = 4780147, upload-time = "2026-07-01T11:55:46.073Z" }, + { url = "https://files.pythonhosted.org/packages/0c/08/93fa2e70e30a2d81547e481b6ee2bb9522117221fb1e0ce4b5df70967677/pillow-12.3.0-cp315-cp315-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:28ce87c5ab450a9dd970b52e5aca5fe63ed432d18a2eaddd1979a00a1ba24ace", size = 6273659, upload-time = "2026-07-01T11:55:48.264Z" }, + { url = "https://files.pythonhosted.org/packages/f8/6d/043e96ff814fc31a33077e4cba86082167db520c93632afdf2042febbb0c/pillow-12.3.0-cp315-cp315-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:6b02afb9b97f65fbca5f31db6a2a3ba21aa93030225f150fa3f249717e938fb4", size = 6947439, upload-time = "2026-07-01T11:55:50.503Z" }, + { url = "https://files.pythonhosted.org/packages/af/92/ba71d2ee2ac0edf3fa33bd9d5ee9ee080da70b1766f3ca3934f9938ddac9/pillow-12.3.0-cp315-cp315-musllinux_1_2_aarch64.whl", hash = "sha256:1182d52bc2d5e5d7d0949503aa7e36d12f42205dc287e4883f407b1988820d39", size = 6353577, upload-time = "2026-07-01T11:55:52.697Z" }, + { url = "https://files.pythonhosted.org/packages/0f/ce/e63064e2122923ff687c8ad792d0d736a7b3920a56a46982e81a7fdd25d6/pillow-12.3.0-cp315-cp315-musllinux_1_2_x86_64.whl", hash = "sha256:e795b7eb908249c4e43c7c99fac7c2c75dab0c43566e37db472a355f63693d71", size = 7060394, upload-time = "2026-07-01T11:55:55.149Z" }, + { url = "https://files.pythonhosted.org/packages/54/76/a09cc3ccc8d773a7283d34c38bec1708f9e3cc932093cbc4c5e71ac4060b/pillow-12.3.0-cp315-cp315-win32.whl", hash = "sha256:57b3d78c95ba9059768b10e28b813002261d3f3dfc55cc48b0c988f625175827", size = 6467375, upload-time = "2026-07-01T11:55:57.769Z" }, + { url = "https://files.pythonhosted.org/packages/3e/03/1846c49ba3b1d5550392a4bbd06d6fb4578e1cd91a803198b5c90f5f7d53/pillow-12.3.0-cp315-cp315-win_amd64.whl", hash = "sha256:fa4ecea169a355be7a3ade2c783e2ed12f0e40d2c5621cda8b3297faf7fbb9f5", size = 7237048, upload-time = "2026-07-01T11:55:59.975Z" }, + { url = "https://files.pythonhosted.org/packages/fb/bb/89f35dcc79610423f9f195504d7def7f0d1416a711541b42867e25fe3412/pillow-12.3.0-cp315-cp315-win_arm64.whl", hash = "sha256:877c3f311ff35410f690861c4409e7ccbf0cd2f878e50628a28e5a0bb689e658", size = 2566006, upload-time = "2026-07-01T11:56:02.143Z" }, + { url = "https://files.pythonhosted.org/packages/30/88/707027ba09942dfa2c28759b5c222d769290a41c6d20ea60ec250801941f/pillow-12.3.0-cp315-cp315t-macosx_10_15_x86_64.whl", hash = "sha256:e9871b1ffbfa9656b60aeee92ed5136a5742696006fa322b29ea3d8da0ecc9cf", size = 5352509, upload-time = "2026-07-01T11:56:04.2Z" }, + { url = "https://files.pythonhosted.org/packages/b0/6d/00352fa25332c2569cd387851f568cc5a4b75a9adbfb37ac4fbce4c02eec/pillow-12.3.0-cp315-cp315t-macosx_11_0_arm64.whl", hash = "sha256:53aa02d20d10c3d814d536aa4e5ac9b84ca0ff5a88377963b085ad6822f93e64", size = 4783167, upload-time = "2026-07-01T11:56:06.631Z" }, + { url = "https://files.pythonhosted.org/packages/13/4f/9e049dfa21af7c22427275720e2490267ba8138120add5c4c574deb69782/pillow-12.3.0-cp315-cp315t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:446c34dcc4324b084a53b705127dc15717b22c5e140ae0a3c38349d4efec071e", size = 6329237, upload-time = "2026-07-01T11:56:08.868Z" }, + { url = "https://files.pythonhosted.org/packages/36/16/cf6eeaae8d0fce8dd390a33437cf68c5d5bd73834a2bc6e2f14efda0ab45/pillow-12.3.0-cp315-cp315t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:cf1845d02ad822a369a49f2bb9345b1614744267682e7a03527dc3bf6eea1777", size = 6997047, upload-time = "2026-07-01T11:56:11.379Z" }, + { url = "https://files.pythonhosted.org/packages/1e/69/dbf769bdd55f48bf5733cac28edc6364ffaa072ec9ba336266e4fe66be55/pillow-12.3.0-cp315-cp315t-musllinux_1_2_aarch64.whl", hash = "sha256:186941b6aef820ad110fb01fb06eb925374dc3a21b17e37ec9a53b250c6fe2d1", size = 6400440, upload-time = "2026-07-01T11:56:13.908Z" }, + { url = "https://files.pythonhosted.org/packages/a0/e1/ffc9cfc2eea0d178da8018e18e959301ad9d6bc9f3edb7181e748a474b97/pillow-12.3.0-cp315-cp315t-musllinux_1_2_x86_64.whl", hash = "sha256:f13c32a3abd6079a66d9526e18dad9b6d280384d49d7c54040cd57b6424041d9", size = 7105895, upload-time = "2026-07-01T11:56:16.575Z" }, + { url = "https://files.pythonhosted.org/packages/18/f0/a5595c1e8c3ae44b9828cb2f0fa8155e5095ef04d6327b8f61cf44a3df85/pillow-12.3.0-cp315-cp315t-win32.whl", hash = "sha256:1657923d2d45afb66526e5b933e5b3052e6bdea196c90d3abb2424e18c77dae8", size = 6474384, upload-time = "2026-07-01T11:56:18.855Z" }, + { url = "https://files.pythonhosted.org/packages/e4/04/62bcd9f844984c5938d3b05264a61d797a29d3e0812341a8204af70bbdee/pillow-12.3.0-cp315-cp315t-win_amd64.whl", hash = "sha256:8cd2f7bdda092d99c9fc2fb7391354f306d01443d22785d0cbfafa2e2c8bb418", size = 7243537, upload-time = "2026-07-01T11:56:21.214Z" }, + { url = "https://files.pythonhosted.org/packages/3d/68/1f3066acedf37673694a7141381d8f811ae97f30d34413d236abe7d489f1/pillow-12.3.0-cp315-cp315t-win_arm64.whl", hash = "sha256:06ff022112bc9cbf83b60f8e028d94ad87b60621706487e65f673de61610ab59", size = 2567491, upload-time = "2026-07-01T11:56:23.506Z" }, + { url = "https://files.pythonhosted.org/packages/75/18/2e8b40223153ccbc60df07f9e8928dc0c76202aa4e55ae9f53962b6510d6/pillow-12.3.0-pp311-pypy311_pp73-macosx_10_15_x86_64.whl", hash = "sha256:b3c777e849237620b022f7f297dd67705f9f5cf1685f09f02e46f93e92725468", size = 5302510, upload-time = "2026-07-01T11:56:25.736Z" }, + { url = "https://files.pythonhosted.org/packages/46/3e/51fabf59d5ab801ceab709453d3ab6b180083496579549de4c45ced6528a/pillow-12.3.0-pp311-pypy311_pp73-macosx_11_0_arm64.whl", hash = "sha256:b343699e8308bdc51978310e1c959c584e7869cc8c40780058c87da7781a1e94", size = 4736058, upload-time = "2026-07-01T11:56:28.041Z" }, + { url = "https://files.pythonhosted.org/packages/bf/20/22fe9384b7949e25fb1293bcfc84fb82590ff4ea6b37c95b24d26d793d86/pillow-12.3.0-pp311-pypy311_pp73-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:fbd139c8447d25dd750ab79ee274cc5e1fe80fc56340ab10b18a195e1b6eca3e", size = 5237776, upload-time = "2026-07-01T11:56:30.263Z" }, + { url = "https://files.pythonhosted.org/packages/08/14/f6ba68107680ffa74b39985f3f30884e41318fbc4250caa423c79b4788bb/pillow-12.3.0-pp311-pypy311_pp73-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:e7e480451b9fa137494bccd3a7d69adbe8ac65a87d97be61e11f1b1050a5bac3", size = 5860358, upload-time = "2026-07-01T11:56:32.68Z" }, + { url = "https://files.pythonhosted.org/packages/36/54/0169bc772ec491108b62f644f8ecf1fe5d8ae5ebafde2ee2142210166903/pillow-12.3.0-pp311-pypy311_pp73-win_amd64.whl", hash = "sha256:04f01d28a6aaff387bf842a13be313df23ba0597a44f1a976c9feb3c6ff4711a", size = 7231786, upload-time = "2026-07-01T11:56:35.046Z" }, +] + +[[package]] +name = "platformdirs" +version = "4.12.3" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/42/23/4a86fc741c38c5b69792a4ef954b281afa69bea9f083f881de1b0d23bc07/platformdirs-4.12.3.tar.gz", hash = "sha256:427fc0bb321ae0c5b037fa03238ca74820437be162e78b4848c4d4055b9b766c", size = 59538, upload-time = "2026-10-03T23:40:46.595Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/c5/9b/6ce1ead737fe496611bda600c263b9a11ae7bd8f41bb13f9bd7e0a2c37a4/platformdirs-4.12.3-py3-none-any.whl", hash = "sha256:080f3b39423b5abfca9a23d84c4e9795f54d395cd8459867a8ded44084fcd5f8", size = 32493, upload-time = "2026-10-03T23:40:45.104Z" }, +] + +[[package]] +name = "pluggy" +version = "1.6.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/f9/e2/3e91f31a7d2b083fe6ef3fa267035b518369d9511ffab804f839851d2779/pluggy-1.6.0.tar.gz", hash = "sha256:7dcc130b76258d33b90f61b658791dede3486c3e6bfb003ee5c9bfb396dd22f3", size = 69412, upload-time = "2025-05-15T12:30:07.975Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/54/20/4d324d65cc6d9205fabedc306948156824eb9f0ee1633355a8f7ec5c66bf/pluggy-1.6.0-py3-none-any.whl", hash = "sha256:e920276dd6813095e9377c0bc5566d94c932c33b27a3e3945d8389c374dd4746", size = 20538, upload-time = "2025-05-15T12:30:06.134Z" }, +] + +[[package]] +name = "prometheus-client" +version = "0.26.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/52/73/f1334c29c2af4cd9dba6c7817e61b611bd0215e2eb5565c6064a4de18802/prometheus_client-0.26.0.tar.gz", hash = "sha256:04a91bcf94e2cf74a44a1a874d651a2e853ed354b6e822f3b7487751465d5c2b", size = 92910, upload-time = "2026-07-24T19:36:41.893Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/eb/a3/b69efbf4143b5b9859b977770bbbabcc2796b702fa69dc40271e45cd5a56/prometheus_client-0.26.0-py3-none-any.whl", hash = "sha256:fa93d06737aa02bacd05794768508bb97d2fbee28cb3bca04eaae92f0ca953d6", size = 64494, upload-time = "2026-07-24T19:36:40.854Z" }, +] + +[[package]] +name = "prompt-toolkit" +version = "3.0.53" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "wcwidth" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/7d/ea/39b988c938f75cb75d7045b5c69f8bfed47ee2152c8837fb403de29d6fb8/prompt_toolkit-3.0.53.tar.gz", hash = "sha256:9ec8a0ad96d5c56148b3f914aa79c1564c3fde5d2e6b876e7bc327e353cf8fa6", size = 435492, upload-time = "2026-07-26T20:56:14.758Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/54/6f/84908cad2d6aa5144abcf7b42709fe4fdb459bc640ec7ac5786e7693dabc/prompt_toolkit-3.0.53-py3-none-any.whl", hash = "sha256:01c0891d7f9237d5e339f7d3e42cdae80b7534abb1c7c0e3352efba6231492f2", size = 392288, upload-time = "2026-07-26T20:56:12.512Z" }, +] + +[[package]] +name = "psutil" +version = "7.2.2" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/aa/c6/d1ddf4abb55e93cebc4f2ed8b5d6dbad109ecb8d63748dd2b20ab5e57ebe/psutil-7.2.2.tar.gz", hash = "sha256:0746f5f8d406af344fd547f1c8daa5f5c33dbc293bb8d6a16d80b4bb88f59372", size = 493740, upload-time = "2026-01-28T18:14:54.428Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/51/08/510cbdb69c25a96f4ae523f733cdc963ae654904e8db864c07585ef99875/psutil-7.2.2-cp313-cp313t-macosx_10_13_x86_64.whl", hash = "sha256:2edccc433cbfa046b980b0df0171cd25bcaeb3a68fe9022db0979e7aa74a826b", size = 130595, upload-time = "2026-01-28T18:14:57.293Z" }, + { url = "https://files.pythonhosted.org/packages/d6/f5/97baea3fe7a5a9af7436301f85490905379b1c6f2dd51fe3ecf24b4c5fbf/psutil-7.2.2-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:e78c8603dcd9a04c7364f1a3e670cea95d51ee865e4efb3556a3a63adef958ea", size = 131082, upload-time = "2026-01-28T18:14:59.732Z" }, + { url = "https://files.pythonhosted.org/packages/37/d6/246513fbf9fa174af531f28412297dd05241d97a75911ac8febefa1a53c6/psutil-7.2.2-cp313-cp313t-manylinux2010_x86_64.manylinux_2_12_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:1a571f2330c966c62aeda00dd24620425d4b0cc86881c89861fbc04549e5dc63", size = 181476, upload-time = "2026-01-28T18:15:01.884Z" }, + { url = "https://files.pythonhosted.org/packages/b8/b5/9182c9af3836cca61696dabe4fd1304e17bc56cb62f17439e1154f225dd3/psutil-7.2.2-cp313-cp313t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:917e891983ca3c1887b4ef36447b1e0873e70c933afc831c6b6da078ba474312", size = 184062, upload-time = "2026-01-28T18:15:04.436Z" }, + { url = "https://files.pythonhosted.org/packages/16/ba/0756dca669f5a9300d0cbcbfae9a4c30e446dfc7440ffe43ded5724bfd93/psutil-7.2.2-cp313-cp313t-win_amd64.whl", hash = "sha256:ab486563df44c17f5173621c7b198955bd6b613fb87c71c161f827d3fb149a9b", size = 139893, upload-time = "2026-01-28T18:15:06.378Z" }, + { url = "https://files.pythonhosted.org/packages/1c/61/8fa0e26f33623b49949346de05ec1ddaad02ed8ba64af45f40a147dbfa97/psutil-7.2.2-cp313-cp313t-win_arm64.whl", hash = "sha256:ae0aefdd8796a7737eccea863f80f81e468a1e4cf14d926bd9b6f5f2d5f90ca9", size = 135589, upload-time = "2026-01-28T18:15:08.03Z" }, + { url = "https://files.pythonhosted.org/packages/81/69/ef179ab5ca24f32acc1dac0c247fd6a13b501fd5534dbae0e05a1c48b66d/psutil-7.2.2-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:eed63d3b4d62449571547b60578c5b2c4bcccc5387148db46e0c2313dad0ee00", size = 130664, upload-time = "2026-01-28T18:15:09.469Z" }, + { url = "https://files.pythonhosted.org/packages/7b/64/665248b557a236d3fa9efc378d60d95ef56dd0a490c2cd37dafc7660d4a9/psutil-7.2.2-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:7b6d09433a10592ce39b13d7be5a54fbac1d1228ed29abc880fb23df7cb694c9", size = 131087, upload-time = "2026-01-28T18:15:11.724Z" }, + { url = "https://files.pythonhosted.org/packages/d5/2e/e6782744700d6759ebce3043dcfa661fb61e2fb752b91cdeae9af12c2178/psutil-7.2.2-cp314-cp314t-manylinux2010_x86_64.manylinux_2_12_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:1fa4ecf83bcdf6e6c8f4449aff98eefb5d0604bf88cb883d7da3d8d2d909546a", size = 182383, upload-time = "2026-01-28T18:15:13.445Z" }, + { url = "https://files.pythonhosted.org/packages/57/49/0a41cefd10cb7505cdc04dab3eacf24c0c2cb158a998b8c7b1d27ee2c1f5/psutil-7.2.2-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:e452c464a02e7dc7822a05d25db4cde564444a67e58539a00f929c51eddda0cf", size = 185210, upload-time = "2026-01-28T18:15:16.002Z" }, + { url = "https://files.pythonhosted.org/packages/dd/2c/ff9bfb544f283ba5f83ba725a3c5fec6d6b10b8f27ac1dc641c473dc390d/psutil-7.2.2-cp314-cp314t-win_amd64.whl", hash = "sha256:c7663d4e37f13e884d13994247449e9f8f574bc4655d509c3b95e9ec9e2b9dc1", size = 141228, upload-time = "2026-01-28T18:15:18.385Z" }, + { url = "https://files.pythonhosted.org/packages/f2/fc/f8d9c31db14fcec13748d373e668bc3bed94d9077dbc17fb0eebc073233c/psutil-7.2.2-cp314-cp314t-win_arm64.whl", hash = "sha256:11fe5a4f613759764e79c65cf11ebdf26e33d6dd34336f8a337aa2996d71c841", size = 136284, upload-time = "2026-01-28T18:15:19.912Z" }, + { url = "https://files.pythonhosted.org/packages/e7/36/5ee6e05c9bd427237b11b3937ad82bb8ad2752d72c6969314590dd0c2f6e/psutil-7.2.2-cp36-abi3-macosx_10_9_x86_64.whl", hash = "sha256:ed0cace939114f62738d808fdcecd4c869222507e266e574799e9c0faa17d486", size = 129090, upload-time = "2026-01-28T18:15:22.168Z" }, + { url = "https://files.pythonhosted.org/packages/80/c4/f5af4c1ca8c1eeb2e92ccca14ce8effdeec651d5ab6053c589b074eda6e1/psutil-7.2.2-cp36-abi3-macosx_11_0_arm64.whl", hash = "sha256:1a7b04c10f32cc88ab39cbf606e117fd74721c831c98a27dc04578deb0c16979", size = 129859, upload-time = "2026-01-28T18:15:23.795Z" }, + { url = "https://files.pythonhosted.org/packages/b5/70/5d8df3b09e25bce090399cf48e452d25c935ab72dad19406c77f4e828045/psutil-7.2.2-cp36-abi3-manylinux2010_x86_64.manylinux_2_12_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:076a2d2f923fd4821644f5ba89f059523da90dc9014e85f8e45a5774ca5bc6f9", size = 155560, upload-time = "2026-01-28T18:15:25.976Z" }, + { url = "https://files.pythonhosted.org/packages/63/65/37648c0c158dc222aba51c089eb3bdfa238e621674dc42d48706e639204f/psutil-7.2.2-cp36-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:b0726cecd84f9474419d67252add4ac0cd9811b04d61123054b9fb6f57df6e9e", size = 156997, upload-time = "2026-01-28T18:15:27.794Z" }, + { url = "https://files.pythonhosted.org/packages/8e/13/125093eadae863ce03c6ffdbae9929430d116a246ef69866dad94da3bfbc/psutil-7.2.2-cp36-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:fd04ef36b4a6d599bbdb225dd1d3f51e00105f6d48a28f006da7f9822f2606d8", size = 148972, upload-time = "2026-01-28T18:15:29.342Z" }, + { url = "https://files.pythonhosted.org/packages/04/78/0acd37ca84ce3ddffaa92ef0f571e073faa6d8ff1f0559ab1272188ea2be/psutil-7.2.2-cp36-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:b58fabe35e80b264a4e3bb23e6b96f9e45a3df7fb7eed419ac0e5947c61e47cc", size = 148266, upload-time = "2026-01-28T18:15:31.597Z" }, + { url = "https://files.pythonhosted.org/packages/b4/90/e2159492b5426be0c1fef7acba807a03511f97c5f86b3caeda6ad92351a7/psutil-7.2.2-cp37-abi3-win_amd64.whl", hash = "sha256:eb7e81434c8d223ec4a219b5fc1c47d0417b12be7ea866e24fb5ad6e84b3d988", size = 137737, upload-time = "2026-01-28T18:15:33.849Z" }, + { url = "https://files.pythonhosted.org/packages/8c/c7/7bb2e321574b10df20cbde462a94e2b71d05f9bbda251ef27d104668306a/psutil-7.2.2-cp37-abi3-win_arm64.whl", hash = "sha256:8c233660f575a5a89e6d4cb65d9f938126312bca76d8fe087b947b3a1aaac9ee", size = 134617, upload-time = "2026-01-28T18:15:36.514Z" }, +] + +[[package]] +name = "ptyprocess" +version = "0.7.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/20/e5/16ff212c1e452235a90aeb09066144d0c5a6a8c0834397e03f5224495c4e/ptyprocess-0.7.0.tar.gz", hash = "sha256:5c5d0a3b48ceee0b48485e0c26037c0acd7d29765ca3fbb5cb3831d347423220", size = 70762, upload-time = "2020-12-28T15:15:30.155Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/22/a6/858897256d0deac81a172289110f31629fc4cee19b6f01283303e18c8db3/ptyprocess-0.7.0-py2.py3-none-any.whl", hash = "sha256:4b41f3967fce3af57cc7e94b888626c18bf37a083e3651ca8feeb66d492fef35", size = 13993, upload-time = "2020-12-28T15:15:28.35Z" }, +] + +[[package]] +name = "pure-eval" +version = "0.2.4" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/da/9f/abfd2959e9261dd5217ca8551d4de211ca6ab26fe9b72cf44731ff6c4442/pure_eval-0.2.4.tar.gz", hash = "sha256:260c2774686e651b79f8b8e7fc9d80b3599ea6a66334b47d5f4abb69fc2c0ea1", size = 20563, upload-time = "2026-09-10T21:41:22.836Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/6d/18/83376915176eb058cb86470eb7396388a13350b09a8f233a79303bbcbc5b/pure_eval-0.2.4-py3-none-any.whl", hash = "sha256:96cae060a313cfaad51bb761278bfb0e62dc0248d9315a81173752dc546cd37a", size = 11893, upload-time = "2026-09-10T21:41:21.532Z" }, +] + +[[package]] +name = "pycparser" +version = "3.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/1b/7d/92392ff7815c21062bea51aa7b87d45576f649f16458d78b7cf94b9ab2e6/pycparser-3.0.tar.gz", hash = "sha256:600f49d217304a5902ac3c37e1281c9fe94e4d0489de643a9504c5cdfdfc6b29", size = 103492, upload-time = "2026-01-21T14:26:51.89Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/0c/c3/44f3fbbfa403ea2a7c779186dc20772604442dde72947e7d01069cbe98e3/pycparser-3.0-py3-none-any.whl", hash = "sha256:b727414169a36b7d524c1c3e31839a521725078d7b2ff038656844266160a992", size = 48172, upload-time = "2026-01-21T14:26:50.693Z" }, +] + +[[package]] +name = "pydantic" +version = "2.13.5" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "annotated-types" }, + { name = "pydantic-core" }, + { name = "typing-extensions" }, + { name = "typing-inspection" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/53/ef/fc4f868f4e2cee79f863883abffceff107875f569b848507319842d2a681/pydantic-2.13.5.tar.gz", hash = "sha256:51a9c5f7b2f8e636f04c6cada605d9b6a3bf1348fdf945a3d8869b19bba0ee08", size = 845750, upload-time = "2026-08-28T14:04:00.916Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/eb/47/c95ffc2009878c7aac0c5e08528022dcb885933252a88b5f170058014464/pydantic-2.13.5-py3-none-any.whl", hash = "sha256:346a034f080da3755d8e9cb5e00e8b07de1d39e4f6e2c87d8ab7cafa0b269a73", size = 472589, upload-time = "2026-08-28T14:03:59.136Z" }, +] + +[[package]] +name = "pydantic-core" +version = "2.46.5" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "typing-extensions" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/af/f9/8a06bea35ef8daf588f707784c973a7046e0034c8d8cfb08828eeffb8b75/pydantic_core-2.46.5.tar.gz", hash = "sha256:10416c15b8839ecc4ef4d0885da76da6fd0f67333a0eb8aff6d93c4b8f2910fc", size = 472262, upload-time = "2026-08-28T10:01:31.677Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/a2/b6/81d2d19ea0be2c03664381b59f65fa72fc7969decedae00bc2c4ad835708/pydantic_core-2.46.5-cp311-cp311-macosx_10_12_x86_64.whl", hash = "sha256:a1dee1b804ff4d11c663636cf15d2ea47e9f79cd56c033fb1cbf08924842a48f", size = 2074737, upload-time = "2026-08-28T09:57:57.711Z" }, + { url = "https://files.pythonhosted.org/packages/0c/18/b70da8300e292df4099684ea11b1958043580d2f50d2dc8bf7e542bdd84a/pydantic_core-2.46.5-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:d625a186a65201c23a9e3b8ed9c47e90a026e03256608cc91851c6709096844f", size = 1921751, upload-time = "2026-08-28T09:57:59.265Z" }, + { url = "https://files.pythonhosted.org/packages/e7/1a/0d590341b6ffa4b4aca83508e6b8db4761aaeacfc15a25ca3815876d4797/pydantic_core-2.46.5-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:4f8507560a9284e1370bb048ed4282012fbef4e8d109875b95e884d228552061", size = 1948231, upload-time = "2026-08-28T09:58:00.678Z" }, + { url = "https://files.pythonhosted.org/packages/7d/1d/02eb35761c51f2f7b1b042d6ab4cda6600f0c8c88a2243b3f734376201e5/pydantic_core-2.46.5-cp311-cp311-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:5f93c5fe914d75fbec9a49209b00da5f08e9e467d69da2b1510c81940cfd10be", size = 2020708, upload-time = "2026-08-28T09:58:02.267Z" }, + { url = "https://files.pythonhosted.org/packages/4a/ea/f86073830e35d508cc8ddf9c3d9e6e6840fcb88d34bf726b0b4710186f27/pydantic_core-2.46.5-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:aca6c767f552b21b10f774aeac128e828eafb796adfa1b666a18bf6321453c3a", size = 2194914, upload-time = "2026-08-28T09:58:03.934Z" }, + { url = "https://files.pythonhosted.org/packages/bb/d7/fc36240d7791ce90939e51608568c33bfdae26202016f9770c229a487d86/pydantic_core-2.46.5-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:701b2e04b560eeb4bddf7a25ab8ca476176e34fdbd9a0e18196f0d12d4685f0b", size = 2235622, upload-time = "2026-08-28T09:58:05.516Z" }, + { url = "https://files.pythonhosted.org/packages/cf/bc/3fa2d76b83162820a17da7f645b28d1cba99fc8e1e5fc6517067ec450fa1/pydantic_core-2.46.5-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:49776eab08766a08dfff7012f8b422dcd7e25e43b316eedf0477c24fcfa84b7c", size = 2062091, upload-time = "2026-08-28T09:58:07.135Z" }, + { url = "https://files.pythonhosted.org/packages/ab/9a/095d557bb492c90cd8a70a6dd048bf793d433d03d86c81c11e912e4cd049/pydantic_core-2.46.5-cp311-cp311-manylinux_2_31_riscv64.whl", hash = "sha256:a2468d93d181667a7abd66e1b64bb9f76f361b0fef8faddf687456453576f5ee", size = 2089904, upload-time = "2026-08-28T09:58:08.814Z" }, + { url = "https://files.pythonhosted.org/packages/24/98/7b76b1ad10a19a617a52aaa1d80e159115af939b095e86f8e756fd52e0df/pydantic_core-2.46.5-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:53feb344243bb9510a9dec7bf3cf1b64d88a98af5dc7872a5160465f8b198c8e", size = 2132244, upload-time = "2026-08-28T09:58:10.435Z" }, + { url = "https://files.pythonhosted.org/packages/20/32/7d6ca365fadba186a0c8f85de1a701663bce81efd309d9479be58687622f/pydantic_core-2.46.5-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:cd5214352ae68f3b5e9af7768bdc5253695ee069675db3480518420b3be881f2", size = 2143901, upload-time = "2026-08-28T09:58:12.033Z" }, + { url = "https://files.pythonhosted.org/packages/f8/09/eb9a6aa57f22fd1541a9c0aa2a1f3aeef3ec65347d33e10a6da2f43e0ee9/pydantic_core-2.46.5-cp311-cp311-musllinux_1_1_armv7l.whl", hash = "sha256:9432f3598db432cb51c5b37fdbf29a60fcccc79e30d37a05022776a6bc4ab689", size = 2299425, upload-time = "2026-08-28T09:58:13.614Z" }, + { url = "https://files.pythonhosted.org/packages/8a/f9/548a5bb9d4ba8cd26e26daf48052236f6b38bb61e7b7241fbc3c995719eb/pydantic_core-2.46.5-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:8feeac04b5794e513e710af2f9c87d49f31a6dc47967bb264a1fed61a8989bec", size = 2318566, upload-time = "2026-08-28T09:58:15.199Z" }, + { url = "https://files.pythonhosted.org/packages/4a/20/06454d18834c02c406c9133f1a3b485305fd9ee984f9636c2f730bef6a9d/pydantic_core-2.46.5-cp311-cp311-win32.whl", hash = "sha256:892a881d5f68c2b9ea304b7a6c2c60d9343df578a311b0f86b94bc8f1ffe8129", size = 1954258, upload-time = "2026-08-28T09:58:16.813Z" }, + { url = "https://files.pythonhosted.org/packages/9e/c2/718b9deb4b72453b5d8c7447a3b14cb77bef36917ef5f514e0948a4096a0/pydantic_core-2.46.5-cp311-cp311-win_amd64.whl", hash = "sha256:40375c2d05acec10323e45dfe2077ac44bc74659008614af5069034e2cfc781c", size = 2041030, upload-time = "2026-08-28T09:58:18.288Z" }, + { url = "https://files.pythonhosted.org/packages/67/ea/c1d1a5b72d6e1ff7f377a4d9199f6591f095beb5b409a8a5d89f7238d939/pydantic_core-2.46.5-cp311-cp311-win_arm64.whl", hash = "sha256:28a6a556cd3b6066bea827857f9d9cce027c96f776e512f544a581f9e42161f8", size = 2009234, upload-time = "2026-08-28T09:58:19.929Z" }, + { url = "https://files.pythonhosted.org/packages/82/3f/76358795aa7a8c6d4f36e2cb828ad1c90ee118e1393a9281664f5aade9d4/pydantic_core-2.46.5-cp312-cp312-macosx_10_12_x86_64.whl", hash = "sha256:b9fe6fb92520e3fd61f2e49000b6911b188824f089b75973ea06d6267f0b476d", size = 2076516, upload-time = "2026-08-28T09:58:21.576Z" }, + { url = "https://files.pythonhosted.org/packages/db/50/26b091836076ce4cb2fac264186936acc069e0595772cfd02a563bc4761a/pydantic_core-2.46.5-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:a39ac25a9a2fa4072efdb429833c4a4c8009a51ff9eea3eeae131713cd27991e", size = 1922874, upload-time = "2026-08-28T09:58:23.766Z" }, + { url = "https://files.pythonhosted.org/packages/09/f0/2a8ce3849e299d44e2d2c196b6082643a3235565a735cb51db7a6261f614/pydantic_core-2.46.5-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:4fdc8b93a41521988916eeaa271173fcca7fa0803d62f87675aac8dcec1c8e29", size = 1951772, upload-time = "2026-08-28T09:58:25.435Z" }, + { url = "https://files.pythonhosted.org/packages/87/46/ac0dc8bdd9e6048183a14eb127764e7ad9240021c17513074a4711b0e31e/pydantic_core-2.46.5-cp312-cp312-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:b98134087d9de723658d17a42c7d0da8d6e2ef08015dee7dc93889047315f5e4", size = 2031832, upload-time = "2026-08-28T09:58:27.102Z" }, + { url = "https://files.pythonhosted.org/packages/c4/c2/339de5bef7be36301a2231eaa52e62163742c2281f11b5f4892bc79785cd/pydantic_core-2.46.5-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:e652ab17569c94bff5475520f907b7148b8c24036a8ebbe5cf7cf7493d28579a", size = 2208645, upload-time = "2026-08-28T09:58:28.948Z" }, + { url = "https://files.pythonhosted.org/packages/7b/a0/9ff22b797724262da14427abaed4dd1d864a139693fc5e7809114376a716/pydantic_core-2.46.5-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:d925f3d9afd05a8c0fb3a1031463a8d59ebe5e2afad297e29c78be19e13b4e62", size = 2265935, upload-time = "2026-08-28T09:58:30.625Z" }, + { url = "https://files.pythonhosted.org/packages/c0/a4/eb9409ec0736e50aa70a412f16c204ed149516846912f7e6724d4c73ee53/pydantic_core-2.46.5-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:0fc5be0abd4a407e200d844b404e33639a554e7bd0d448e7b9ae181be4789ac2", size = 2066284, upload-time = "2026-08-28T09:58:32.289Z" }, + { url = "https://files.pythonhosted.org/packages/c0/02/7f6156ffc926857f1c37c07d9a388682865a81830ab6a1b637082c25e399/pydantic_core-2.46.5-cp312-cp312-manylinux_2_31_riscv64.whl", hash = "sha256:816ff0a6550ffc06c098ccd2e0698600f9aa7da192a79eaa6f9af504a35db869", size = 2105889, upload-time = "2026-08-28T09:58:33.986Z" }, + { url = "https://files.pythonhosted.org/packages/92/b1/e781d357ebe09fc929f995700f1b3503e8897f1cece183ecb1300d4d67e9/pydantic_core-2.46.5-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:c7ea57fc63aa7da93a1bd2d644e6577befae10c52c4e36377635eea1056a74f5", size = 2158006, upload-time = "2026-08-28T09:58:35.647Z" }, + { url = "https://files.pythonhosted.org/packages/70/0a/644597d84ab400e50609c192120b85c9681c22d3a20461b9060a79be0a7a/pydantic_core-2.46.5-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:efd62a42486f1bda5d24cb4f63d15a3c7768375fe83d36f9417b4ad7a2fb20b3", size = 2158408, upload-time = "2026-08-28T09:58:37.38Z" }, + { url = "https://files.pythonhosted.org/packages/1e/ee/ca3b7b3a4b3769ffe9ce9432a7c9be755de9593a46d3b0d54d0409323e44/pydantic_core-2.46.5-cp312-cp312-musllinux_1_1_armv7l.whl", hash = "sha256:2bc9419666990c06d7397831f2126a1ecc3594aaa3ff7de5bf2d066802f4e07b", size = 2309609, upload-time = "2026-08-28T09:58:39.22Z" }, + { url = "https://files.pythonhosted.org/packages/ce/52/39fa1f451486019524ca685020390e7ca351832fd874530ba30c8628e6dc/pydantic_core-2.46.5-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:18a09e1e1011b462f2e32774f25859ef1223d5c2b0546a633cf56654710721e0", size = 2342618, upload-time = "2026-08-28T09:58:40.89Z" }, + { url = "https://files.pythonhosted.org/packages/81/5e/468fc630568c61dcef3cd47ad32ffbeed9af643f49208d1ea86ab4f890c4/pydantic_core-2.46.5-cp312-cp312-win32.whl", hash = "sha256:5cb482e9e84c851f4e623fe4acc1ced89168cf1fe18f7089db4548c8f5bbb65b", size = 1939475, upload-time = "2026-08-28T09:58:42.591Z" }, + { url = "https://files.pythonhosted.org/packages/cf/c9/4c19f41b84cf6b622a72fbeed7665b25d47a187d68d47d0d430c07f23268/pydantic_core-2.46.5-cp312-cp312-win_amd64.whl", hash = "sha256:5e81740c09e310f5aa5cbd3e434a01c154d4bef93241c7877b39f211d2b78ba8", size = 2043140, upload-time = "2026-08-28T09:58:44.272Z" }, + { url = "https://files.pythonhosted.org/packages/af/dd/0c1a050299147c746e5256db16d645ab5efd4f78c59937d581a0524e74a2/pydantic_core-2.46.5-cp312-cp312-win_arm64.whl", hash = "sha256:f7b0ec93a2893de856652154d73b7ba622f26fa97726487dcac373de5f4c6084", size = 1997729, upload-time = "2026-08-28T09:58:46.13Z" }, + { url = "https://files.pythonhosted.org/packages/f5/37/5abe39a8372a61d3dc3c1338fc504281c01b32fdb3169cd7187153b56d3e/pydantic_core-2.46.5-cp313-cp313-macosx_10_12_x86_64.whl", hash = "sha256:b7ca9034437b6022f941f4857459562ee00a560b97e7cce8a0ec5a74fc6766e0", size = 2075885, upload-time = "2026-08-28T09:58:47.856Z" }, + { url = "https://files.pythonhosted.org/packages/21/43/6323b1f8b217780454c61304bcd2b38ae4762f50754414124603ccc90bb2/pydantic_core-2.46.5-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:f332f0e72a5a0400141f830744e141bf9f97917878dbe968669e8a7fefea78ff", size = 1922768, upload-time = "2026-08-28T09:58:49.58Z" }, + { url = "https://files.pythonhosted.org/packages/0f/a3/c05ca796e1197618a774b01e596aeedfefc2f7d8c01ae3054e910b120e8a/pydantic_core-2.46.5-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:193375f3548919d3f0b60936ca113ada3e38f264f91b9b8e0508efaad57be931", size = 1951241, upload-time = "2026-08-28T09:58:51.511Z" }, + { url = "https://files.pythonhosted.org/packages/68/32/33bc39ac705c52cffc908e8389f9754fdb208aea5c69cceddf4eb3ce99af/pydantic_core-2.46.5-cp313-cp313-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:79bdfa52f843137045b2d081cc05c120ba6665d29b7559c2c47690906f39279f", size = 2031975, upload-time = "2026-08-28T09:58:53.166Z" }, + { url = "https://files.pythonhosted.org/packages/b0/70/2333e885c0f6a67bc105c5916965dac9b57f2718ee20d81d1a06a4ebdc13/pydantic_core-2.46.5-cp313-cp313-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:24922243639cbdac66c75fcb6fd6495a9cb52b213d62f9a0d16f0310b1ff8038", size = 2208542, upload-time = "2026-08-28T09:58:55.017Z" }, + { url = "https://files.pythonhosted.org/packages/f7/ea/296debfb4264207bbda5936133892e027c0a58875ad53ebd512fba8ec3a2/pydantic_core-2.46.5-cp313-cp313-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:c76fe65e607be28c7fd4d56fc3c42b1583aa058ce3408b7ad0fd540171d31f9f", size = 2264692, upload-time = "2026-08-28T09:58:56.767Z" }, + { url = "https://files.pythonhosted.org/packages/d3/f2/9e4de77a6271e07a76d2d58b11c091a979c191ed2939bf80067568b369d2/pydantic_core-2.46.5-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:6f7b393a8b3da82f5c1fc0751e6d01ac6c55b93c18226a60bdfba4a724efafd1", size = 2066633, upload-time = "2026-08-28T09:58:58.531Z" }, + { url = "https://files.pythonhosted.org/packages/8d/db/f9e9d0c97445987b2084823d5c240de88087338f04fc2cfaa2df186b8049/pydantic_core-2.46.5-cp313-cp313-manylinux_2_31_riscv64.whl", hash = "sha256:7ac031912d54f3d83ef3b3eb98dfabc1608802e2202263d25957eeed40b94761", size = 2105235, upload-time = "2026-08-28T09:59:00.421Z" }, + { url = "https://files.pythonhosted.org/packages/07/c5/79169b047b3b2c3e99e04bc76372af9637e0bf6db638274fa927df96369e/pydantic_core-2.46.5-cp313-cp313-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:837b396ca3d7b74091ca623f6cbd8351bd42d670a79c2683e79fb089f06a2de5", size = 2157367, upload-time = "2026-08-28T09:59:02.442Z" }, + { url = "https://files.pythonhosted.org/packages/26/b5/ba6057afb7c291bd449f51b867f95aef2072941c4ce4e5c31d6ffd132d3b/pydantic_core-2.46.5-cp313-cp313-musllinux_1_1_aarch64.whl", hash = "sha256:5ee239d575f80b08eca11f6e20f90c4c695de7825c67eefe6091fbf20dda648e", size = 2158420, upload-time = "2026-08-28T09:59:04.2Z" }, + { url = "https://files.pythonhosted.org/packages/6e/28/2057abecaafdc22912afa819603a51f0a62d40643b7c4871c51721fea9be/pydantic_core-2.46.5-cp313-cp313-musllinux_1_1_armv7l.whl", hash = "sha256:e80675d75ae2cd14372cb65cad5400d9347a3d3f6c13000183f22dfd027283ed", size = 2309588, upload-time = "2026-08-28T09:59:06.048Z" }, + { url = "https://files.pythonhosted.org/packages/71/9d/881156dc404e27479c4246128d73538464cab4a239bec61995e227644c30/pydantic_core-2.46.5-cp313-cp313-musllinux_1_1_x86_64.whl", hash = "sha256:9c4b71f10dd532fb7a5cbc8f58707779e64f03a258c2bf8bfbaecfcd9970b519", size = 2341866, upload-time = "2026-08-28T09:59:08.539Z" }, + { url = "https://files.pythonhosted.org/packages/5a/38/d66f443a259f84d13babdceae568e572b0ed26da17ca5d0a649ebb110a67/pydantic_core-2.46.5-cp313-cp313-win32.whl", hash = "sha256:97bf8de4d541598c94a59344eeb988a94c08ff76b5723c41f6567ec18c7892ea", size = 1938580, upload-time = "2026-08-28T09:59:10.402Z" }, + { url = "https://files.pythonhosted.org/packages/2c/1e/1d5371213f4cc9a7ed70c0bfcc7911de22311ee99a662a56077d7292d2ac/pydantic_core-2.46.5-cp313-cp313-win_amd64.whl", hash = "sha256:15f4a94963c95accac15b7b657bb177d3ad82bb90b0d0526d9a9b85079925db5", size = 2041980, upload-time = "2026-08-28T09:59:12.396Z" }, + { url = "https://files.pythonhosted.org/packages/5a/48/4222d90b1c67568bace4dec6dca6271449c66de3595d72b6d098f5fde597/pydantic_core-2.46.5-cp313-cp313-win_arm64.whl", hash = "sha256:d22a945598fb91236b4dd793a6e42e4f3dd7740bb5aace5ebd7d4c08d13bb575", size = 1997213, upload-time = "2026-08-28T09:59:14.245Z" }, + { url = "https://files.pythonhosted.org/packages/8e/8a/14596f2a8367da50cf7cbac48169ee5d9c8e11d486a3b527082384630c72/pydantic_core-2.46.5-cp314-cp314-macosx_10_12_x86_64.whl", hash = "sha256:c1c43ad4339643d70ebb8124e1305a7dab423001eff58bb41a0f731adbc98355", size = 2074081, upload-time = "2026-08-28T09:59:16.141Z" }, + { url = "https://files.pythonhosted.org/packages/ae/d5/d8a4eb6d6c7f66b91dd37c576d76e9e60fba900caf5372c17bcf949febc2/pydantic_core-2.46.5-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:1a353f84de772f423b5ffb11d7ae352fbbef0f446f3c0b0af0f8236d7233606e", size = 1920497, upload-time = "2026-08-28T09:59:18.065Z" }, + { url = "https://files.pythonhosted.org/packages/8e/26/092079428f86e927e030b2c0ced87df69dbb1c875cdeaa67bf42ea2be746/pydantic_core-2.46.5-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:5086029a57366b8cf81b130a43908738095c270c21a8d7f0e8bdfdb89718e2f3", size = 1952130, upload-time = "2026-08-28T09:59:20.476Z" }, + { url = "https://files.pythonhosted.org/packages/08/c3/8ec0e290a9ebaebd64047bf5fda94be835c6b1551b02437e4b76778fbcd7/pydantic_core-2.46.5-cp314-cp314-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:46c25dda9d092a06c08db76ffe0a197107904d0dfac653f7d5306bbcd6d6119c", size = 2026371, upload-time = "2026-08-28T09:59:22.227Z" }, + { url = "https://files.pythonhosted.org/packages/01/72/4fd20ad520fb8da0157f95b27a7eb05a72790ef08138e7701ac972c342ea/pydantic_core-2.46.5-cp314-cp314-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:37ea7b83c935e5b0d68c9449b82651accf78a10828b2c02b2f2d9e9496446c21", size = 2202822, upload-time = "2026-08-28T09:59:24.277Z" }, + { url = "https://files.pythonhosted.org/packages/31/b0/d16e0771206b29314f0d52198b720be21e8a99ab2bf11e3bc0d7c9cebdff/pydantic_core-2.46.5-cp314-cp314-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:e64e88d5585bea9ce95861079de72006c7fa6d3df4e3a3b65ba31eb979c15c9f", size = 2262756, upload-time = "2026-08-28T09:59:26.608Z" }, + { url = "https://files.pythonhosted.org/packages/2c/9b/59634b7ac631c63b2a37760eb6943af3e29573d6b59a4abc5e7f019d4cee/pydantic_core-2.46.5-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:54d510bac3ee52247af28ed4bb18a1e799f040ac60fd2bf5ccd4c92f1fbe786f", size = 2068352, upload-time = "2026-08-28T09:59:29.044Z" }, + { url = "https://files.pythonhosted.org/packages/08/7c/570abb1ad2155348dc754ea91be22e5aaa18eb6d69a6068f7c6f2679a6ed/pydantic_core-2.46.5-cp314-cp314-manylinux_2_31_riscv64.whl", hash = "sha256:a2a5e1d0ff29adddc9f6d6821a66302e4493f8ca898b715b6b1182c2c201ea0a", size = 2104777, upload-time = "2026-08-28T09:59:30.95Z" }, + { url = "https://files.pythonhosted.org/packages/8e/25/5bf74adc65a1ac5b7be3f6cb0bcb5433615c1598a801c19d830d84c98ded/pydantic_core-2.46.5-cp314-cp314-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:03b9666e41e35d8909852ba191a0607520f81b74eaf12ccf8737005dbb313821", size = 2156312, upload-time = "2026-08-28T09:59:32.604Z" }, + { url = "https://files.pythonhosted.org/packages/90/6a/2ef38830675e050121040618135564ed56b860b45433b02d9b4ebece46f3/pydantic_core-2.46.5-cp314-cp314-musllinux_1_1_aarch64.whl", hash = "sha256:a91c17edf6eea2402cb5457b4c89e99bc5ed1004aa34c4adf1d4258c1a5c22c2", size = 2150067, upload-time = "2026-08-28T09:59:34.453Z" }, + { url = "https://files.pythonhosted.org/packages/90/ef/a7dbb03a14a64c2a4621f989c615ed9a892535a6cad938fc27079f919d80/pydantic_core-2.46.5-cp314-cp314-musllinux_1_1_armv7l.whl", hash = "sha256:b49924c73a235e969511bf2aabdff3beebf9820931f646c80274d5d780010c47", size = 2304516, upload-time = "2026-08-28T09:59:36.194Z" }, + { url = "https://files.pythonhosted.org/packages/68/f8/6bb4c4b80e8a6fde1904c64a51c62a1d04fcdfa3ea521a66b2ddefa1d885/pydantic_core-2.46.5-cp314-cp314-musllinux_1_1_x86_64.whl", hash = "sha256:2cbd9a5eff05e51c447c34dfa4632145b26b09120cf04bd0c871e44c1a5e1c9a", size = 2335223, upload-time = "2026-08-28T09:59:37.931Z" }, + { url = "https://files.pythonhosted.org/packages/2a/80/f46b8c681195190b2c1f1c7c0a81abce60663e987613e09ef64d433dd96b/pydantic_core-2.46.5-cp314-cp314-win32.whl", hash = "sha256:2d5d76654becf5efd62c9e51c3756c67b49498b0c9a40884934c40807adbd074", size = 1934827, upload-time = "2026-08-28T09:59:39.836Z" }, + { url = "https://files.pythonhosted.org/packages/f7/3c/60674207246bc0a4009d2391b7c7251c7159f279c8d2ab8aae8ef46f3dee/pydantic_core-2.46.5-cp314-cp314-win_amd64.whl", hash = "sha256:fa10ef4112775900e7a0661068635eb67b2ab824fbde764de6e0e21982a93db0", size = 2042648, upload-time = "2026-08-28T09:59:41.792Z" }, + { url = "https://files.pythonhosted.org/packages/69/0c/117c562c7c1babdf44576b72a5e496906506c93690387ecfbca7c729ae2e/pydantic_core-2.46.5-cp314-cp314-win_arm64.whl", hash = "sha256:045ab3b6d308439e32b81cc173bba5b9018bc6ed896afd0c65b3b009b1699af5", size = 1989652, upload-time = "2026-08-28T09:59:43.702Z" }, + { url = "https://files.pythonhosted.org/packages/e8/66/9336ae58f9eb68c41d121894e52c4c89eccb07eb8f602a04ee9c3f37736a/pydantic_core-2.46.5-cp314-cp314t-macosx_10_12_x86_64.whl", hash = "sha256:8816f3d218beb4b787de5c9759c259b8fa61f9dec42dc7811f320a33771778b7", size = 2065829, upload-time = "2026-08-28T09:59:45.364Z" }, + { url = "https://files.pythonhosted.org/packages/c5/02/bc19b47a96c2d3109760711acf22369e56bd7e405ca52f7ade164d2ead57/pydantic_core-2.46.5-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:bce57638e08ac148e5778cce7feb968307a727d66f8e2274a543d0cf0c9ad6a3", size = 1905716, upload-time = "2026-08-28T09:59:47.18Z" }, + { url = "https://files.pythonhosted.org/packages/52/a4/70b47c0509923dd98ccfed04fb3e32ea3849c82a0ff2205bb41009b43c00/pydantic_core-2.46.5-cp314-cp314t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:976e1128455aa595ea04c79ccfedff1aaeab96ee013fcc916bed120c4f0ad94f", size = 1934216, upload-time = "2026-08-28T09:59:49.241Z" }, + { url = "https://files.pythonhosted.org/packages/52/ab/aa03b65f7bb198585edf806b906c3223ecf1795543e39e23aec4cce27ad2/pydantic_core-2.46.5-cp314-cp314t-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:e7b891faeedeafba41b2983e5001a81b6a915b69544c7e7570d1989ce1c36ac7", size = 2010635, upload-time = "2026-08-28T09:59:51.692Z" }, + { url = "https://files.pythonhosted.org/packages/3c/8b/0da06343f30b84ec549aafd309c6456223d5dc8bd36af504c573faad561d/pydantic_core-2.46.5-cp314-cp314t-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:5f194189415698233dd1114a093a9b56e61e2c57e11b469be3b0506f46f0771c", size = 2209369, upload-time = "2026-08-28T09:59:53.582Z" }, + { url = "https://files.pythonhosted.org/packages/d6/5b/844c4defaa34a3df66eb9257087d121d70c201298b96abdf9f492fc2f1bf/pydantic_core-2.46.5-cp314-cp314t-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:82a36973cf8a2ef5406f4fe2edbf8ed0c99629535d959e0b100c76a32535a111", size = 2253238, upload-time = "2026-08-28T09:59:55.484Z" }, + { url = "https://files.pythonhosted.org/packages/f4/64/a4e536cb16d7f61a7fd3120b46c577fc7fa7325992f69c4f52bc786d77d8/pydantic_core-2.46.5-cp314-cp314t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:cdbb78909f52b981d3b2d56b97328d71eb0b974c36bd77c920123a7ebb192829", size = 2065740, upload-time = "2026-08-28T09:59:58.038Z" }, + { url = "https://files.pythonhosted.org/packages/5f/75/aaa38c6bc2d085f6605b34eabdc6a8a4e0b2e61fc9c8e6e52b28e97b3125/pydantic_core-2.46.5-cp314-cp314t-manylinux_2_31_riscv64.whl", hash = "sha256:52e24eacdb536cade636aa90fb851835222becff8484b7001fdc78cb0290f2aa", size = 2087425, upload-time = "2026-08-28T09:59:59.898Z" }, + { url = "https://files.pythonhosted.org/packages/55/ae/fcab4cfc39aba3689e1d20c8b5250ad280957022c09af2ed9cd585602a5e/pydantic_core-2.46.5-cp314-cp314t-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:37ae34309d7bd8c0d61ab839668058f2a7962ea1fc51d105d2db228fe0618034", size = 2139306, upload-time = "2026-08-28T10:00:03.057Z" }, + { url = "https://files.pythonhosted.org/packages/2d/f4/f1d03a4bc9d9acbc62f4d742b8a319af52f71885079868b2ff8e48a651ee/pydantic_core-2.46.5-cp314-cp314t-musllinux_1_1_aarch64.whl", hash = "sha256:0cdbada856a1c69a7624a64d3d9aefe79300bd6ef827b43a4f265010b9b55184", size = 2144589, upload-time = "2026-08-28T10:00:05.645Z" }, + { url = "https://files.pythonhosted.org/packages/83/f3/7a53bb1356de514a4cd295f25b6ac39237895620c0462d2592b76c16e114/pydantic_core-2.46.5-cp314-cp314t-musllinux_1_1_armv7l.whl", hash = "sha256:545f26c504b27c3758439a5e6d9349931f0a04f855668d5fe323c89e82300a38", size = 2288882, upload-time = "2026-08-28T10:00:07.931Z" }, + { url = "https://files.pythonhosted.org/packages/cd/94/5a81583660c175c59d49ffb09f4b3a44debeaf86a19fca664ae1cdd9ee32/pydantic_core-2.46.5-cp314-cp314t-musllinux_1_1_x86_64.whl", hash = "sha256:ff218293c9c806138dca139765e3b067621be52bcd93cdc14c7711be7ddc90a9", size = 2335210, upload-time = "2026-08-28T10:00:10.177Z" }, + { url = "https://files.pythonhosted.org/packages/5a/9f/5d685c2693b972d1a59c998586e8823712b66603aeff47ee60a4bdaafd37/pydantic_core-2.46.5-cp314-cp314t-win32.whl", hash = "sha256:97cf3eb53a8cccacf9d46686a0926186c9bfb5574f2ed66d3639d5fe117cd3a9", size = 1921180, upload-time = "2026-08-28T10:00:12.35Z" }, + { url = "https://files.pythonhosted.org/packages/70/12/5c94ee16d65a37a15f9e869f5e6256df111154491173801a4c5e800ab548/pydantic_core-2.46.5-cp314-cp314t-win_amd64.whl", hash = "sha256:d2f9fc07a8042a8f95925b35c4f04f469707c981fc33245b6ca187cf5d2dd290", size = 2020515, upload-time = "2026-08-28T10:00:14.774Z" }, + { url = "https://files.pythonhosted.org/packages/63/19/67830dda664e6bdf9285ee2e40f355d0d7d6b92aa0c42e8d217bb8d33d36/pydantic_core-2.46.5-cp314-cp314t-win_arm64.whl", hash = "sha256:acf8a67ba51f4ca9ddbd0e6b3000a65ac51ab734661778b3e7ba64d99a710f2f", size = 1989276, upload-time = "2026-08-28T10:00:16.984Z" }, + { url = "https://files.pythonhosted.org/packages/af/1e/ecca01fce348f7e8afa9572441ff6f7d1cc70d21e4859f33944d10877e1e/pydantic_core-2.46.5-graalpy311-graalpy242_311_native-macosx_10_12_x86_64.whl", hash = "sha256:c14ad3bdc85ee7f318742c457ca3968a92126d144b15721c759033bfb06296c2", size = 2075342, upload-time = "2026-08-28T10:00:51.353Z" }, + { url = "https://files.pythonhosted.org/packages/1f/4c/af80c7a8032dfc897040ad5cb772bebde529a381186499e6e29987f23f8c/pydantic_core-2.46.5-graalpy311-graalpy242_311_native-macosx_11_0_arm64.whl", hash = "sha256:0bddb4020d8f04175865ccd17eff3040874fc11fb593f424edb452653b4b947c", size = 1907219, upload-time = "2026-08-28T10:00:53.438Z" }, + { url = "https://files.pythonhosted.org/packages/be/3e/54d89e2b092e778716bf6153634ef479e955f48c261090be23aa1e0fb0b5/pydantic_core-2.46.5-graalpy311-graalpy242_311_native-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:2471fd51c61c610e1dcf7de44d7299283661654d11264ab4802b303368d69c47", size = 1953393, upload-time = "2026-08-28T10:00:55.58Z" }, + { url = "https://files.pythonhosted.org/packages/ea/89/828ee90cda28ce17bdefaa3a6eaf74fe430e113295a10e6126beca559d6c/pydantic_core-2.46.5-graalpy311-graalpy242_311_native-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:b10ec717381bdbfafef34607824db4c91de69ff085e4fca3b2af91b4fa17e68a", size = 2099024, upload-time = "2026-08-28T10:00:57.794Z" }, + { url = "https://files.pythonhosted.org/packages/df/dd/053c2e4303f791f3b8f8a14ab0b22008e8eb21d868c0c90b4f9be705b76a/pydantic_core-2.46.5-graalpy312-graalpy250_312_native-macosx_10_12_x86_64.whl", hash = "sha256:013d6f3483d81e02e7c328831808f336c8596ee33b4bd4026b9ffb1e960b8942", size = 2062540, upload-time = "2026-08-28T10:01:00.318Z" }, + { url = "https://files.pythonhosted.org/packages/d7/dd/a18df751a5e37dd51bfad7f68e766999125bebe68c9e1d10a493ad01bd63/pydantic_core-2.46.5-graalpy312-graalpy250_312_native-macosx_11_0_arm64.whl", hash = "sha256:e9c134bb666dd54b778b9fc0d2b50cbb7f979b9e3716f26a88c9ab3b6fc1dd0f", size = 1902040, upload-time = "2026-08-28T10:01:02.529Z" }, + { url = "https://files.pythonhosted.org/packages/b7/13/01d40f9d07ce8a779fd6e0bd8ad4fba91309500dd67b869e2e219d261a6d/pydantic_core-2.46.5-graalpy312-graalpy250_312_native-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:347ec774390c87326a2e4929d58d3f7e8763a104d5d35f4cd595a4c952366433", size = 1967479, upload-time = "2026-08-28T10:01:05.004Z" }, + { url = "https://files.pythonhosted.org/packages/fa/04/c81d4841331c2178b6fb09ae225425e110ed72d990c9fe556c4ec03d1013/pydantic_core-2.46.5-graalpy312-graalpy250_312_native-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:8e24d8f05fa2d28513d94e877e9c75ad66175376209b3977f916e240e623193c", size = 2111034, upload-time = "2026-08-28T10:01:07.345Z" }, + { url = "https://files.pythonhosted.org/packages/20/21/22102e9950b3049526d20e811b95396508377d87651edd2b80d2b3d28659/pydantic_core-2.46.5-pp311-pypy311_pp73-macosx_10_12_x86_64.whl", hash = "sha256:ab4b66edffb32d9e951efb3814bd104b8367a7501b81b955cacb5726d897389f", size = 2071333, upload-time = "2026-08-28T10:01:09.636Z" }, + { url = "https://files.pythonhosted.org/packages/d8/18/87aefa427d191e6d3ab1447f1efc1cdcac86af1069239b133e8a0fd7f7c9/pydantic_core-2.46.5-pp311-pypy311_pp73-macosx_11_0_arm64.whl", hash = "sha256:337639ba62a11acde6ef3aeb08c8ea755f8ef1fe5e513356c0f36a2b0d7568b0", size = 1912713, upload-time = "2026-08-28T10:01:12.285Z" }, + { url = "https://files.pythonhosted.org/packages/1f/93/fd89e9ad49b1805ca94d24ce1088b7d305f05c35ffafcedb9819d03588a0/pydantic_core-2.46.5-pp311-pypy311_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:413a717a410d0c817ef5b786a059415550b3794e1d0c2abffd9efb93a3d9f7b4", size = 2090926, upload-time = "2026-08-28T10:01:15.19Z" }, + { url = "https://files.pythonhosted.org/packages/6f/45/8e59dab6acf8d35f02f0a958980074f31038968bdb2c983fcae9d1efee03/pydantic_core-2.46.5-pp311-pypy311_pp73-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:1e449def1945a462c464331254e5a44fca7c3b4f9aedf59ec2f50f8066dd8e25", size = 2131303, upload-time = "2026-08-28T10:01:17.937Z" }, + { url = "https://files.pythonhosted.org/packages/d5/a5/e1d4dc5180dd887a9522efc1f8716b8692b7606b1d3273d7862eaf66be44/pydantic_core-2.46.5-pp311-pypy311_pp73-musllinux_1_1_aarch64.whl", hash = "sha256:a445486499897b88a7d6c310c88ed64dd37b1b59bfd7ae9107490bbb362f47d6", size = 2145128, upload-time = "2026-08-28T10:01:20.694Z" }, + { url = "https://files.pythonhosted.org/packages/c2/d7/ad493864a7fb21c0c4df98f965e2db430cb25a9d7369b5778d5016c09fd9/pydantic_core-2.46.5-pp311-pypy311_pp73-musllinux_1_1_armv7l.whl", hash = "sha256:2d330aaba8621b1edcec8ae2c4050f63b84ccf6d98723a8f212e9684713abf0e", size = 2294560, upload-time = "2026-08-28T10:01:23.495Z" }, + { url = "https://files.pythonhosted.org/packages/02/8e/b41c84c913f29973a268e6c2b5bbf13c95adb9956c126d10da11ba3b2bef/pydantic_core-2.46.5-pp311-pypy311_pp73-musllinux_1_1_x86_64.whl", hash = "sha256:b6acfb46a814762367fb7ba0828b0a17d441b92ce249a0e007474c9072662dda", size = 2317531, upload-time = "2026-08-28T10:01:26.334Z" }, + { url = "https://files.pythonhosted.org/packages/db/1d/068464f23075f66a8f1b806935e9cd9363ee446636ea70d2c22ee8659dbf/pydantic_core-2.46.5-pp311-pypy311_pp73-win_amd64.whl", hash = "sha256:d0a24b40877af2de4950252be9d21eaf7fb07660f3c2cae1f56c6b599ada5266", size = 2140686, upload-time = "2026-08-28T10:01:28.947Z" }, +] + +[[package]] +name = "pygments" +version = "2.21.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/49/2e/ced460408999b33da6b31b0021b0f37d329e202d4169aeb164493778f25b/pygments-2.21.0.tar.gz", hash = "sha256:610ca751c9bc2492b38eb9a38a7fbc93edbbb2d7182edaf34e66ae493dee5c8c", size = 5005329, upload-time = "2026-08-17T08:02:48.824Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/71/46/17f022dd3e953bf20a04a028a21ec746d942f8d2af30fa0f124fa0e6a684/pygments-2.21.0-py3-none-any.whl", hash = "sha256:2363c69b61c4a97c838da3b130dcd6468f4848992b21a82f2a63ec34377137d9", size = 1250147, upload-time = "2026-08-17T08:02:44.912Z" }, +] + +[[package]] +name = "pymupdf" +version = "1.28.2" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/a3/fb/b6761fa2d5266f2cdb24c3b91f4023070ab7848381417678e7a289a1d52a/pymupdf-1.28.2.tar.gz", hash = "sha256:5e0be7908a715aa20333caddd73f1d6f01e4cd0c26e869fa2dd0b7f344da2249", size = 87903557, upload-time = "2026-08-06T21:43:23.321Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/b4/51/550c9a75c4ff3245cb4ecb7bb95cbe2ab7374230b8e2b7a1f7259444150b/pymupdf-1.28.2-cp310-abi3-macosx_10_15_x86_64.whl", hash = "sha256:5fc315b425ff1f7afdd1ea2f348205cb19b806767daae7ce4d64115799c2bae1", size = 24645079, upload-time = "2026-08-06T21:37:25.001Z" }, + { url = "https://files.pythonhosted.org/packages/fa/01/3591f781b417b382a8487a2356e927acfe858b1043bab0ec47f6805bb109/pymupdf-1.28.2-cp310-abi3-macosx_11_0_arm64.whl", hash = "sha256:7113846b35dbf0a033f088e4f4fb543dabeb4b0b12c112966a1ca1ee2d5eacae", size = 23875605, upload-time = "2026-08-06T21:37:40.369Z" }, + { url = "https://files.pythonhosted.org/packages/d2/86/4a68f080b71b46802178346af46486e1697508e760855ff5f3b218a6dff7/pymupdf-1.28.2-cp310-abi3-manylinux_2_28_aarch64.whl", hash = "sha256:3050a233dde1211efe89ada74e2add6238436434159f46097a1423aad2842545", size = 25095554, upload-time = "2026-08-06T21:37:58.485Z" }, + { url = "https://files.pythonhosted.org/packages/c7/06/dace3e27af26690cb20bead80dbac42941b0841eb689b8aabbd67dde16f0/pymupdf-1.28.2-cp310-abi3-manylinux_2_28_x86_64.whl", hash = "sha256:397d6715c1f0df7548a92d0afd8ce370fc48fa47aeefac16be2bc04a16a8227f", size = 25762500, upload-time = "2026-08-06T21:38:17.438Z" }, + { url = "https://files.pythonhosted.org/packages/e5/61/4146dfa1d8172a1ce8d59f0eed94896ddefb8deb2274534d0522fbb8abf5/pymupdf-1.28.2-cp310-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:f89fb2d86d07d643a269f17a093105057e20c79c1d06c103b53600067b6d2b01", size = 25986309, upload-time = "2026-08-06T21:38:35.472Z" }, + { url = "https://files.pythonhosted.org/packages/52/60/1fb6e64676f7500ebe89054b9e5bbbe14d3101c92d5f1a40ac9a35227673/pymupdf-1.28.2-cp310-abi3-win32.whl", hash = "sha256:530ef543a3885b3b81cb72a854e7c5a625a9233201221132bb6c31698c6a2bdb", size = 18525353, upload-time = "2026-08-06T21:38:47.697Z" }, + { url = "https://files.pythonhosted.org/packages/4a/61/d563bbccba262f9dd6d2d35ccb72593648184d886188efb12d9ce8f34dd6/pymupdf-1.28.2-cp310-abi3-win_amd64.whl", hash = "sha256:ebd244918798502d7b4504c90410d1711a4d7675a32584ca30f1bab419ecbffe", size = 19826532, upload-time = "2026-08-06T21:39:00.213Z" }, + { url = "https://files.pythonhosted.org/packages/e2/93/08f404a1f0155fe24137cf2d3aabd3e2b4b08c62053ed89c60f2611be3e9/pymupdf-1.28.2-cp310-abi3-win_arm64.whl", hash = "sha256:ffe91a24edc75c80da2a4b62f50fc0f54632d34fc8fe4cbc48e5c7ff07cf8fb4", size = 19759252, upload-time = "2026-08-06T21:39:12.937Z" }, + { url = "https://files.pythonhosted.org/packages/58/8c/d897dcd32a25b58186c968b15ce4324ca029e9d96460de12325314e390be/pymupdf-1.28.2-cp313-abi3-pyemscripten_2025_0_wasm32.whl", hash = "sha256:2e1b574c0fd2cb238021033fd3c0f9c4388816638df064e4bfb56d9d81736dc8", size = 18399403, upload-time = "2026-08-06T21:39:25.008Z" }, + { url = "https://files.pythonhosted.org/packages/f6/f1/de34a1c53fe2bf8c6e71db84b0ced782d408970c9810d2b456a2ae96814c/pymupdf-1.28.2-cp314-cp314t-manylinux_2_28_x86_64.whl", hash = "sha256:fd481ed48bef56305c41fb7e05a055c03345c899c7b101dad086258b438f8168", size = 25802333, upload-time = "2026-08-06T21:39:41.426Z" }, +] + +[[package]] +name = "pyparsing" +version = "3.3.2" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/f3/91/9c6ee907786a473bf81c5f53cf703ba0957b23ab84c264080fb5a450416f/pyparsing-3.3.2.tar.gz", hash = "sha256:c777f4d763f140633dcb6d8a3eda953bf7a214dc4eff598413c070bcdc117cbc", size = 6851574, upload-time = "2026-01-21T03:57:59.36Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/10/bd/c038d7cc38edc1aa5bf91ab8068b63d4308c66c4c8bb3cbba7dfbc049f9c/pyparsing-3.3.2-py3-none-any.whl", hash = "sha256:850ba148bd908d7e2411587e247a1e4f0327839c40e2e5e6d05a007ecc69911d", size = 122781, upload-time = "2026-01-21T03:57:55.912Z" }, +] + +[[package]] +name = "pytest" +version = "9.1.1" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "colorama", marker = "sys_platform == 'win32'" }, + { name = "iniconfig" }, + { name = "packaging" }, + { name = "pluggy" }, + { name = "pygments" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/e4/47/b9efed96c114afcfa3c9d3fe98a76a1d14c74a9e266d397cf6eb64be5e01/pytest-9.1.1.tar.gz", hash = "sha256:1088fbde8f2b49d95a549a195707afa7a76a3ce9bcadc26b6d71f0ffda5fe313", size = 1636369, upload-time = "2026-06-19T10:58:32.857Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/24/25/1de2678b631f5a49215c6c96fff41ba892b0a34df68d6d80292b1b48aa7f/pytest-9.1.1-py3-none-any.whl", hash = "sha256:37a86b45efb9a47a61a36449063e8e18d0cab3161329fc099eb21783169c4f0c", size = 386536, upload-time = "2026-06-19T10:58:31.347Z" }, +] + +[[package]] +name = "pytest-cov" +version = "7.1.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "coverage", extra = ["toml"] }, + { name = "pluggy" }, + { name = "pytest" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/b1/51/a849f96e117386044471c8ec2bd6cfebacda285da9525c9106aeb28da671/pytest_cov-7.1.0.tar.gz", hash = "sha256:30674f2b5f6351aa09702a9c8c364f6a01c27aae0c1366ae8016160d1efc56b2", size = 55592, upload-time = "2026-03-21T20:11:16.284Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/9d/7a/d968e294073affff457b041c2be9868a40c1c71f4a35fcc1e45e5493067b/pytest_cov-7.1.0-py3-none-any.whl", hash = "sha256:a0461110b7865f9a271aa1b51e516c9a95de9d696734a2f71e3e78f46e1d4678", size = 22876, upload-time = "2026-03-21T20:11:14.438Z" }, +] + +[[package]] +name = "python-dateutil" +version = "2.9.0.post0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "six" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/66/c0/0c8b6ad9f17a802ee498c46e004a0eb49bc148f2fd230864601a86dcf6db/python-dateutil-2.9.0.post0.tar.gz", hash = "sha256:37dd54208da7e1cd875388217d5e00ebd4179249f90fb72437e91a35459a0ad3", size = 342432, upload-time = "2024-03-01T18:36:20.211Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/ec/57/56b9bcc3c9c6a792fcbaf139543cee77261f3651ca9da0c93f5c1221264b/python_dateutil-2.9.0.post0-py2.py3-none-any.whl", hash = "sha256:a8b2bc7bffae282281c8140a97d3aa9c14da0b136dfe83f850eea9a5f7470427", size = 229892, upload-time = "2024-03-01T18:36:18.57Z" }, +] + +[[package]] +name = "python-json-logger" +version = "4.2.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/21/25/5473e46b179f8e8b4ad3aeeb36773d1701b7770eaf5e5bc2025c7303b598/python_json_logger-4.2.0.tar.gz", hash = "sha256:e371ebe22ec01e289850102091a2b1f6fc9e655c7f1f5f29073936756c290afa", size = 18211, upload-time = "2026-08-15T11:36:38.232Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/dc/55/6467fde553886cb293e41538f3a8b4e4fd4688c6df242cf982162d8367fb/python_json_logger-4.2.0-py3-none-any.whl", hash = "sha256:158a52126fcd6869e09574d2b66272666f3dc8f468c62637ef9a1fa883719cb9", size = 14988, upload-time = "2026-08-15T11:36:36.821Z" }, +] + +[[package]] +name = "pywinpty" +version = "3.0.5" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/a9/ef/2d27f30c59a67be7025b2d7858c8c2d282b74d66544b2384730b82de74fd/pywinpty-3.0.5.tar.gz", hash = "sha256:61db0db063de9865adbea66db294628f8577f608d9764a4c7d3384eeacc4e81b", size = 16223484, upload-time = "2026-06-11T00:11:58.93Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/b0/5c/31feb3dd82d1b33ae0bd09ca601edb993d9da1b7f0226b3336d4b4c39e1e/pywinpty-3.0.5-cp311-cp311-win_amd64.whl", hash = "sha256:af7a8720c78776ddd6259b71dd567944f766a6cd67f8d2887fbc4973967bacda", size = 2092466, upload-time = "2026-06-10T23:44:24.453Z" }, + { url = "https://files.pythonhosted.org/packages/ee/fe/fe23e2229ffec0c10190cef5964f5c9b2dba179d23b69ae537b7ea90bcab/pywinpty-3.0.5-cp311-cp311-win_arm64.whl", hash = "sha256:c2406f54f699eab75953fb75ce805f2ae55a33a957cd070890abd454fb4b7680", size = 818395, upload-time = "2026-06-10T23:41:56.93Z" }, + { url = "https://files.pythonhosted.org/packages/45/34/942cc95ca4e26489875aa8a95192766247a687379ec29543eebe73ec945f/pywinpty-3.0.5-cp312-cp312-win_amd64.whl", hash = "sha256:d62946adf14b15b54c0b8d785f93fe18b04da23f4ad59e2e8c4612646e9abd23", size = 2090915, upload-time = "2026-06-10T23:43:14.98Z" }, + { url = "https://files.pythonhosted.org/packages/6a/70/5b9053004844139ea8bd86209c57ade12b134b2782f383a095784c8531ec/pywinpty-3.0.5-cp312-cp312-win_arm64.whl", hash = "sha256:e9391c05fbfa7a992a97e831fc6849887b4014a614192e3d984a7ca59592b376", size = 815934, upload-time = "2026-06-10T23:41:42.384Z" }, + { url = "https://files.pythonhosted.org/packages/b9/f4/2a464b9893cceb3b3f416356e94fdc3e1bca9476993927e4e6d99fe95382/pywinpty-3.0.5-cp313-cp313-win_amd64.whl", hash = "sha256:48db1b0ad9d0a1b81dcaaa7163a99a7808deaceb0c1b2344716dc1fc090c3c4c", size = 2090471, upload-time = "2026-06-10T23:42:11.071Z" }, + { url = "https://files.pythonhosted.org/packages/3c/2c/a138491a0afbdb50eb79395577bd326d4b0fbde7209417d1a8087ff2493a/pywinpty-3.0.5-cp313-cp313-win_arm64.whl", hash = "sha256:2c6008fb2d3774b48693b2fcb7f2cc317ade9dc581289a964ffeeaf81307c9b5", size = 815518, upload-time = "2026-06-10T23:42:02.363Z" }, + { url = "https://files.pythonhosted.org/packages/6f/15/54400049a380582acd1282665c70fcf11e0bd3713679aca78e24c3aae738/pywinpty-3.0.5-cp313-cp313t-win_amd64.whl", hash = "sha256:22ce1b780d89821cc52daf6eac0708af22d93d000ce9c7c07e37489db8594598", size = 2089920, upload-time = "2026-06-10T23:44:13.395Z" }, + { url = "https://files.pythonhosted.org/packages/94/0c/6f24f3c0799f502259b24bdf841a99ad2b0d59df5c2525b4e2a286d14be2/pywinpty-3.0.5-cp313-cp313t-win_arm64.whl", hash = "sha256:9c2919a81bc5cfb09b86fc5a002112b2de95ca4304a07413cbeeb746a1307a5c", size = 814520, upload-time = "2026-06-10T23:43:28.588Z" }, + { url = "https://files.pythonhosted.org/packages/e9/23/f3cd1b1e5fc56517f54452c49f92049e7dd9ffc8a63de22a495581f50d04/pywinpty-3.0.5-cp314-cp314-win_amd64.whl", hash = "sha256:03bb3c16d691d9242267201830bcd0e64a9b663170e9042bc84b210da9de15ac", size = 2090663, upload-time = "2026-06-10T23:43:59.845Z" }, + { url = "https://files.pythonhosted.org/packages/9d/dd/96d6cbfc6d9ddab5c1c2f92c26545ae8997446a2ba7ee2024cd43c81f49b/pywinpty-3.0.5-cp314-cp314-win_arm64.whl", hash = "sha256:89c5c6ef08997a3b4b277b214a35fe15cab4dd6d119f0140aa71df5b1168fdbc", size = 815700, upload-time = "2026-06-10T23:40:50.001Z" }, + { url = "https://files.pythonhosted.org/packages/30/36/d98087bce0acaa4cce7f196103cfa7be3f63ce65f52473bb3e38784ae5d9/pywinpty-3.0.5-cp314-cp314t-win_amd64.whl", hash = "sha256:7b566165e0c5fdd6abe167a5ac8b954be6a843eb55a85946576d6bc1dea03d6d", size = 2090093, upload-time = "2026-06-10T23:40:58.933Z" }, + { url = "https://files.pythonhosted.org/packages/57/fd/fe2b0db922ba052ce3976a08f3fc05d0c05047c8b4ebb6102e832b8ef563/pywinpty-3.0.5-cp314-cp314t-win_arm64.whl", hash = "sha256:24366280a8aa677323da87bec729cb3ea3b35367386cece0978bdc6e4695c690", size = 814517, upload-time = "2026-06-10T23:42:34.946Z" }, +] + +[[package]] +name = "pyyaml" +version = "6.0.3" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/05/8e/961c0007c59b8dd7729d542c61a4d537767a59645b82a0b521206e1e25c2/pyyaml-6.0.3.tar.gz", hash = "sha256:d76623373421df22fb4cf8817020cbb7ef15c725b9d5e45f17e189bfc384190f", size = 130960, upload-time = "2025-09-25T21:33:16.546Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/6d/16/a95b6757765b7b031c9374925bb718d55e0a9ba8a1b6a12d25962ea44347/pyyaml-6.0.3-cp311-cp311-macosx_10_13_x86_64.whl", hash = "sha256:44edc647873928551a01e7a563d7452ccdebee747728c1080d881d68af7b997e", size = 185826, upload-time = "2025-09-25T21:31:58.655Z" }, + { url = "https://files.pythonhosted.org/packages/16/19/13de8e4377ed53079ee996e1ab0a9c33ec2faf808a4647b7b4c0d46dd239/pyyaml-6.0.3-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:652cb6edd41e718550aad172851962662ff2681490a8a711af6a4d288dd96824", size = 175577, upload-time = "2025-09-25T21:32:00.088Z" }, + { url = "https://files.pythonhosted.org/packages/0c/62/d2eb46264d4b157dae1275b573017abec435397aa59cbcdab6fc978a8af4/pyyaml-6.0.3-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:10892704fc220243f5305762e276552a0395f7beb4dbf9b14ec8fd43b57f126c", size = 775556, upload-time = "2025-09-25T21:32:01.31Z" }, + { url = "https://files.pythonhosted.org/packages/10/cb/16c3f2cf3266edd25aaa00d6c4350381c8b012ed6f5276675b9eba8d9ff4/pyyaml-6.0.3-cp311-cp311-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:850774a7879607d3a6f50d36d04f00ee69e7fc816450e5f7e58d7f17f1ae5c00", size = 882114, upload-time = "2025-09-25T21:32:03.376Z" }, + { url = "https://files.pythonhosted.org/packages/71/60/917329f640924b18ff085ab889a11c763e0b573da888e8404ff486657602/pyyaml-6.0.3-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:b8bb0864c5a28024fac8a632c443c87c5aa6f215c0b126c449ae1a150412f31d", size = 806638, upload-time = "2025-09-25T21:32:04.553Z" }, + { url = "https://files.pythonhosted.org/packages/dd/6f/529b0f316a9fd167281a6c3826b5583e6192dba792dd55e3203d3f8e655a/pyyaml-6.0.3-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:1d37d57ad971609cf3c53ba6a7e365e40660e3be0e5175fa9f2365a379d6095a", size = 767463, upload-time = "2025-09-25T21:32:06.152Z" }, + { url = "https://files.pythonhosted.org/packages/f2/6a/b627b4e0c1dd03718543519ffb2f1deea4a1e6d42fbab8021936a4d22589/pyyaml-6.0.3-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:37503bfbfc9d2c40b344d06b2199cf0e96e97957ab1c1b546fd4f87e53e5d3e4", size = 794986, upload-time = "2025-09-25T21:32:07.367Z" }, + { url = "https://files.pythonhosted.org/packages/45/91/47a6e1c42d9ee337c4839208f30d9f09caa9f720ec7582917b264defc875/pyyaml-6.0.3-cp311-cp311-win32.whl", hash = "sha256:8098f252adfa6c80ab48096053f512f2321f0b998f98150cea9bd23d83e1467b", size = 142543, upload-time = "2025-09-25T21:32:08.95Z" }, + { url = "https://files.pythonhosted.org/packages/da/e3/ea007450a105ae919a72393cb06f122f288ef60bba2dc64b26e2646fa315/pyyaml-6.0.3-cp311-cp311-win_amd64.whl", hash = "sha256:9f3bfb4965eb874431221a3ff3fdcddc7e74e3b07799e0e84ca4a0f867d449bf", size = 158763, upload-time = "2025-09-25T21:32:09.96Z" }, + { url = "https://files.pythonhosted.org/packages/d1/33/422b98d2195232ca1826284a76852ad5a86fe23e31b009c9886b2d0fb8b2/pyyaml-6.0.3-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:7f047e29dcae44602496db43be01ad42fc6f1cc0d8cd6c83d342306c32270196", size = 182063, upload-time = "2025-09-25T21:32:11.445Z" }, + { url = "https://files.pythonhosted.org/packages/89/a0/6cf41a19a1f2f3feab0e9c0b74134aa2ce6849093d5517a0c550fe37a648/pyyaml-6.0.3-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:fc09d0aa354569bc501d4e787133afc08552722d3ab34836a80547331bb5d4a0", size = 173973, upload-time = "2025-09-25T21:32:12.492Z" }, + { url = "https://files.pythonhosted.org/packages/ed/23/7a778b6bd0b9a8039df8b1b1d80e2e2ad78aa04171592c8a5c43a56a6af4/pyyaml-6.0.3-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:9149cad251584d5fb4981be1ecde53a1ca46c891a79788c0df828d2f166bda28", size = 775116, upload-time = "2025-09-25T21:32:13.652Z" }, + { url = "https://files.pythonhosted.org/packages/65/30/d7353c338e12baef4ecc1b09e877c1970bd3382789c159b4f89d6a70dc09/pyyaml-6.0.3-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:5fdec68f91a0c6739b380c83b951e2c72ac0197ace422360e6d5a959d8d97b2c", size = 844011, upload-time = "2025-09-25T21:32:15.21Z" }, + { url = "https://files.pythonhosted.org/packages/8b/9d/b3589d3877982d4f2329302ef98a8026e7f4443c765c46cfecc8858c6b4b/pyyaml-6.0.3-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:ba1cc08a7ccde2d2ec775841541641e4548226580ab850948cbfda66a1befcdc", size = 807870, upload-time = "2025-09-25T21:32:16.431Z" }, + { url = "https://files.pythonhosted.org/packages/05/c0/b3be26a015601b822b97d9149ff8cb5ead58c66f981e04fedf4e762f4bd4/pyyaml-6.0.3-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:8dc52c23056b9ddd46818a57b78404882310fb473d63f17b07d5c40421e47f8e", size = 761089, upload-time = "2025-09-25T21:32:17.56Z" }, + { url = "https://files.pythonhosted.org/packages/be/8e/98435a21d1d4b46590d5459a22d88128103f8da4c2d4cb8f14f2a96504e1/pyyaml-6.0.3-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:41715c910c881bc081f1e8872880d3c650acf13dfa8214bad49ed4cede7c34ea", size = 790181, upload-time = "2025-09-25T21:32:18.834Z" }, + { url = "https://files.pythonhosted.org/packages/74/93/7baea19427dcfbe1e5a372d81473250b379f04b1bd3c4c5ff825e2327202/pyyaml-6.0.3-cp312-cp312-win32.whl", hash = "sha256:96b533f0e99f6579b3d4d4995707cf36df9100d67e0c8303a0c55b27b5f99bc5", size = 137658, upload-time = "2025-09-25T21:32:20.209Z" }, + { url = "https://files.pythonhosted.org/packages/86/bf/899e81e4cce32febab4fb42bb97dcdf66bc135272882d1987881a4b519e9/pyyaml-6.0.3-cp312-cp312-win_amd64.whl", hash = "sha256:5fcd34e47f6e0b794d17de1b4ff496c00986e1c83f7ab2fb8fcfe9616ff7477b", size = 154003, upload-time = "2025-09-25T21:32:21.167Z" }, + { url = "https://files.pythonhosted.org/packages/1a/08/67bd04656199bbb51dbed1439b7f27601dfb576fb864099c7ef0c3e55531/pyyaml-6.0.3-cp312-cp312-win_arm64.whl", hash = "sha256:64386e5e707d03a7e172c0701abfb7e10f0fb753ee1d773128192742712a98fd", size = 140344, upload-time = "2025-09-25T21:32:22.617Z" }, + { url = "https://files.pythonhosted.org/packages/d1/11/0fd08f8192109f7169db964b5707a2f1e8b745d4e239b784a5a1dd80d1db/pyyaml-6.0.3-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:8da9669d359f02c0b91ccc01cac4a67f16afec0dac22c2ad09f46bee0697eba8", size = 181669, upload-time = "2025-09-25T21:32:23.673Z" }, + { url = "https://files.pythonhosted.org/packages/b1/16/95309993f1d3748cd644e02e38b75d50cbc0d9561d21f390a76242ce073f/pyyaml-6.0.3-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:2283a07e2c21a2aa78d9c4442724ec1eb15f5e42a723b99cb3d822d48f5f7ad1", size = 173252, upload-time = "2025-09-25T21:32:25.149Z" }, + { url = "https://files.pythonhosted.org/packages/50/31/b20f376d3f810b9b2371e72ef5adb33879b25edb7a6d072cb7ca0c486398/pyyaml-6.0.3-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:ee2922902c45ae8ccada2c5b501ab86c36525b883eff4255313a253a3160861c", size = 767081, upload-time = "2025-09-25T21:32:26.575Z" }, + { url = "https://files.pythonhosted.org/packages/49/1e/a55ca81e949270d5d4432fbbd19dfea5321eda7c41a849d443dc92fd1ff7/pyyaml-6.0.3-cp313-cp313-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:a33284e20b78bd4a18c8c2282d549d10bc8408a2a7ff57653c0cf0b9be0afce5", size = 841159, upload-time = "2025-09-25T21:32:27.727Z" }, + { url = "https://files.pythonhosted.org/packages/74/27/e5b8f34d02d9995b80abcef563ea1f8b56d20134d8f4e5e81733b1feceb2/pyyaml-6.0.3-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:0f29edc409a6392443abf94b9cf89ce99889a1dd5376d94316ae5145dfedd5d6", size = 801626, upload-time = "2025-09-25T21:32:28.878Z" }, + { url = "https://files.pythonhosted.org/packages/f9/11/ba845c23988798f40e52ba45f34849aa8a1f2d4af4b798588010792ebad6/pyyaml-6.0.3-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:f7057c9a337546edc7973c0d3ba84ddcdf0daa14533c2065749c9075001090e6", size = 753613, upload-time = "2025-09-25T21:32:30.178Z" }, + { url = "https://files.pythonhosted.org/packages/3d/e0/7966e1a7bfc0a45bf0a7fb6b98ea03fc9b8d84fa7f2229e9659680b69ee3/pyyaml-6.0.3-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:eda16858a3cab07b80edaf74336ece1f986ba330fdb8ee0d6c0d68fe82bc96be", size = 794115, upload-time = "2025-09-25T21:32:31.353Z" }, + { url = "https://files.pythonhosted.org/packages/de/94/980b50a6531b3019e45ddeada0626d45fa85cbe22300844a7983285bed3b/pyyaml-6.0.3-cp313-cp313-win32.whl", hash = "sha256:d0eae10f8159e8fdad514efdc92d74fd8d682c933a6dd088030f3834bc8e6b26", size = 137427, upload-time = "2025-09-25T21:32:32.58Z" }, + { url = "https://files.pythonhosted.org/packages/97/c9/39d5b874e8b28845e4ec2202b5da735d0199dbe5b8fb85f91398814a9a46/pyyaml-6.0.3-cp313-cp313-win_amd64.whl", hash = "sha256:79005a0d97d5ddabfeeea4cf676af11e647e41d81c9a7722a193022accdb6b7c", size = 154090, upload-time = "2025-09-25T21:32:33.659Z" }, + { url = "https://files.pythonhosted.org/packages/73/e8/2bdf3ca2090f68bb3d75b44da7bbc71843b19c9f2b9cb9b0f4ab7a5a4329/pyyaml-6.0.3-cp313-cp313-win_arm64.whl", hash = "sha256:5498cd1645aa724a7c71c8f378eb29ebe23da2fc0d7a08071d89469bf1d2defb", size = 140246, upload-time = "2025-09-25T21:32:34.663Z" }, + { url = "https://files.pythonhosted.org/packages/9d/8c/f4bd7f6465179953d3ac9bc44ac1a8a3e6122cf8ada906b4f96c60172d43/pyyaml-6.0.3-cp314-cp314-macosx_10_13_x86_64.whl", hash = "sha256:8d1fab6bb153a416f9aeb4b8763bc0f22a5586065f86f7664fc23339fc1c1fac", size = 181814, upload-time = "2025-09-25T21:32:35.712Z" }, + { url = "https://files.pythonhosted.org/packages/bd/9c/4d95bb87eb2063d20db7b60faa3840c1b18025517ae857371c4dd55a6b3a/pyyaml-6.0.3-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:34d5fcd24b8445fadc33f9cf348c1047101756fd760b4dacb5c3e99755703310", size = 173809, upload-time = "2025-09-25T21:32:36.789Z" }, + { url = "https://files.pythonhosted.org/packages/92/b5/47e807c2623074914e29dabd16cbbdd4bf5e9b2db9f8090fa64411fc5382/pyyaml-6.0.3-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:501a031947e3a9025ed4405a168e6ef5ae3126c59f90ce0cd6f2bfc477be31b7", size = 766454, upload-time = "2025-09-25T21:32:37.966Z" }, + { url = "https://files.pythonhosted.org/packages/02/9e/e5e9b168be58564121efb3de6859c452fccde0ab093d8438905899a3a483/pyyaml-6.0.3-cp314-cp314-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:b3bc83488de33889877a0f2543ade9f70c67d66d9ebb4ac959502e12de895788", size = 836355, upload-time = "2025-09-25T21:32:39.178Z" }, + { url = "https://files.pythonhosted.org/packages/88/f9/16491d7ed2a919954993e48aa941b200f38040928474c9e85ea9e64222c3/pyyaml-6.0.3-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:c458b6d084f9b935061bc36216e8a69a7e293a2f1e68bf956dcd9e6cbcd143f5", size = 794175, upload-time = "2025-09-25T21:32:40.865Z" }, + { url = "https://files.pythonhosted.org/packages/dd/3f/5989debef34dc6397317802b527dbbafb2b4760878a53d4166579111411e/pyyaml-6.0.3-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:7c6610def4f163542a622a73fb39f534f8c101d690126992300bf3207eab9764", size = 755228, upload-time = "2025-09-25T21:32:42.084Z" }, + { url = "https://files.pythonhosted.org/packages/d7/ce/af88a49043cd2e265be63d083fc75b27b6ed062f5f9fd6cdc223ad62f03e/pyyaml-6.0.3-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:5190d403f121660ce8d1d2c1bb2ef1bd05b5f68533fc5c2ea899bd15f4399b35", size = 789194, upload-time = "2025-09-25T21:32:43.362Z" }, + { url = "https://files.pythonhosted.org/packages/23/20/bb6982b26a40bb43951265ba29d4c246ef0ff59c9fdcdf0ed04e0687de4d/pyyaml-6.0.3-cp314-cp314-win_amd64.whl", hash = "sha256:4a2e8cebe2ff6ab7d1050ecd59c25d4c8bd7e6f400f5f82b96557ac0abafd0ac", size = 156429, upload-time = "2025-09-25T21:32:57.844Z" }, + { url = "https://files.pythonhosted.org/packages/f4/f4/a4541072bb9422c8a883ab55255f918fa378ecf083f5b85e87fc2b4eda1b/pyyaml-6.0.3-cp314-cp314-win_arm64.whl", hash = "sha256:93dda82c9c22deb0a405ea4dc5f2d0cda384168e466364dec6255b293923b2f3", size = 143912, upload-time = "2025-09-25T21:32:59.247Z" }, + { url = "https://files.pythonhosted.org/packages/7c/f9/07dd09ae774e4616edf6cda684ee78f97777bdd15847253637a6f052a62f/pyyaml-6.0.3-cp314-cp314t-macosx_10_13_x86_64.whl", hash = "sha256:02893d100e99e03eda1c8fd5c441d8c60103fd175728e23e431db1b589cf5ab3", size = 189108, upload-time = "2025-09-25T21:32:44.377Z" }, + { url = "https://files.pythonhosted.org/packages/4e/78/8d08c9fb7ce09ad8c38ad533c1191cf27f7ae1effe5bb9400a46d9437fcf/pyyaml-6.0.3-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:c1ff362665ae507275af2853520967820d9124984e0f7466736aea23d8611fba", size = 183641, upload-time = "2025-09-25T21:32:45.407Z" }, + { url = "https://files.pythonhosted.org/packages/7b/5b/3babb19104a46945cf816d047db2788bcaf8c94527a805610b0289a01c6b/pyyaml-6.0.3-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:6adc77889b628398debc7b65c073bcb99c4a0237b248cacaf3fe8a557563ef6c", size = 831901, upload-time = "2025-09-25T21:32:48.83Z" }, + { url = "https://files.pythonhosted.org/packages/8b/cc/dff0684d8dc44da4d22a13f35f073d558c268780ce3c6ba1b87055bb0b87/pyyaml-6.0.3-cp314-cp314t-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:a80cb027f6b349846a3bf6d73b5e95e782175e52f22108cfa17876aaeff93702", size = 861132, upload-time = "2025-09-25T21:32:50.149Z" }, + { url = "https://files.pythonhosted.org/packages/b1/5e/f77dc6b9036943e285ba76b49e118d9ea929885becb0a29ba8a7c75e29fe/pyyaml-6.0.3-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:00c4bdeba853cc34e7dd471f16b4114f4162dc03e6b7afcc2128711f0eca823c", size = 839261, upload-time = "2025-09-25T21:32:51.808Z" }, + { url = "https://files.pythonhosted.org/packages/ce/88/a9db1376aa2a228197c58b37302f284b5617f56a5d959fd1763fb1675ce6/pyyaml-6.0.3-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:66e1674c3ef6f541c35191caae2d429b967b99e02040f5ba928632d9a7f0f065", size = 805272, upload-time = "2025-09-25T21:32:52.941Z" }, + { url = "https://files.pythonhosted.org/packages/da/92/1446574745d74df0c92e6aa4a7b0b3130706a4142b2d1a5869f2eaa423c6/pyyaml-6.0.3-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:16249ee61e95f858e83976573de0f5b2893b3677ba71c9dd36b9cf8be9ac6d65", size = 829923, upload-time = "2025-09-25T21:32:54.537Z" }, + { url = "https://files.pythonhosted.org/packages/f0/7a/1c7270340330e575b92f397352af856a8c06f230aa3e76f86b39d01b416a/pyyaml-6.0.3-cp314-cp314t-win_amd64.whl", hash = "sha256:4ad1906908f2f5ae4e5a8ddfce73c320c2a1429ec52eafd27138b7f1cbe341c9", size = 174062, upload-time = "2025-09-25T21:32:55.767Z" }, + { url = "https://files.pythonhosted.org/packages/f1/12/de94a39c2ef588c7e6455cfbe7343d3b2dc9d6b6b2f40c4c6565744c873d/pyyaml-6.0.3-cp314-cp314t-win_arm64.whl", hash = "sha256:ebc55a14a21cb14062aa4162f906cd962b28e2e9ea38f9b4391244cd8de4ae0b", size = 149341, upload-time = "2025-09-25T21:32:56.828Z" }, +] + +[[package]] +name = "pyzmq" +version = "27.2.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "cffi", marker = "implementation_name == 'pypy'" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/e7/8d/5b3d5631c2f4b4b8862f64cd0c9eb777b5710eeb5125b4be8dd0a200a4c0/pyzmq-27.2.0.tar.gz", hash = "sha256:54d4259d1bfae24ecdb5ca79f7acc2eac6c286a02d6a0ae617797cb45f0726d3", size = 292316, upload-time = "2026-08-20T19:08:21.19Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/1d/2e/8897afa4538707d86645f51cc50e66b2b84900edb1be9dc9af2c2fc04e5d/pyzmq-27.2.0-cp311-cp311-macosx_10_15_universal2.whl", hash = "sha256:9216132843d139a123f243c07fe70f7487dce5041093dd77040f9adb5dc91872", size = 1457109, upload-time = "2026-08-20T19:06:26.022Z" }, + { url = "https://files.pythonhosted.org/packages/d1/bc/dbce7bc1654fa25b1e68b9bad9e547906f581ce919c186a88ed951cb794c/pyzmq-27.2.0-cp311-cp311-manylinux2014_i686.manylinux_2_17_i686.whl", hash = "sha256:d41ebb260b69329b7d4a2936d44c872c86dd785355b51366c8b14e07ed7e9373", size = 985701, upload-time = "2026-08-20T19:06:27.481Z" }, + { url = "https://files.pythonhosted.org/packages/95/cf/6981738b57c83fef33f356141ad83bf51e92f2f70c9d5767affd1a699f07/pyzmq-27.2.0-cp311-cp311-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:468139ddb2e494d06e586bd3a6835077e8b3764560c8db552fe685c5867fc24e", size = 714285, upload-time = "2026-08-20T19:06:28.962Z" }, + { url = "https://files.pythonhosted.org/packages/50/b5/13657961a845e29c28a4e7ac4202999ec90b3bba1890a5469ce2ae90359d/pyzmq-27.2.0-cp311-cp311-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:39755dc4a923021bd0677990ffdbc21cff0e1ee1cf07fe3817acea153ef4cb67", size = 888465, upload-time = "2026-08-20T19:06:30.4Z" }, + { url = "https://files.pythonhosted.org/packages/58/5a/ca7ee7a767413d4ba858e93748b95e30b35b8c139849fba94de4433ea2e5/pyzmq-27.2.0-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:714f8cbd66c7e405338d668f79d2fe83fe923defe348e843be998603cf92eeff", size = 1705731, upload-time = "2026-08-20T19:06:31.819Z" }, + { url = "https://files.pythonhosted.org/packages/0b/8b/083f6184e4eba566c9a3cc9974b1b0fe327b7093788135ba8133edaa67a6/pyzmq-27.2.0-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:1132805970045adb9f5f05dd57040978286a8e21a5475f2c2ddf1bc983b9a2c7", size = 2074243, upload-time = "2026-08-20T19:06:33.36Z" }, + { url = "https://files.pythonhosted.org/packages/57/f5/249362b664ae725d534c8843214fa9fd7fccd74532a19e24603954a88a7d/pyzmq-27.2.0-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:b26f2d0493b79ce3c3112c8a12649418915582ba4707b8ed9f44febf2be71f42", size = 1926859, upload-time = "2026-08-20T19:06:34.796Z" }, + { url = "https://files.pythonhosted.org/packages/bf/cc/23c613c15f06d879f13364d14c17e5e4e8304049411e96c1410e6e56c3ea/pyzmq-27.2.0-cp311-cp311-win32.whl", hash = "sha256:44f261eca7dfb9904ea2b56428f59ab693bbe2715c0413a701f17b067ebf877c", size = 570747, upload-time = "2026-08-20T19:06:36.337Z" }, + { url = "https://files.pythonhosted.org/packages/dc/bc/bbbcf89003c93f18e33665c26e3c48d75e3915c3dd22887f3a7aea2c5e26/pyzmq-27.2.0-cp311-cp311-win_amd64.whl", hash = "sha256:8b86e04f55af0f4d8cd8ecf14c0b8b81ebc8fd66fa20126b753514628ecadc7e", size = 644845, upload-time = "2026-08-20T19:06:37.711Z" }, + { url = "https://files.pythonhosted.org/packages/14/c5/4635d0ba2b8493edf6d5541fff0b07fa1d986fdfc29c596a53a21e20f9af/pyzmq-27.2.0-cp311-cp311-win_arm64.whl", hash = "sha256:917d601e9540098f580d2723d0ce6402cdb6f02bc8dc2de74e0dca6e13bffd1b", size = 567495, upload-time = "2026-08-20T19:06:39.246Z" }, + { url = "https://files.pythonhosted.org/packages/57/8a/153532fa53db30e116118164f3af269a1f3966b3e2ba32c89b12fe864bd8/pyzmq-27.2.0-cp312-abi3-macosx_10_15_universal2.whl", hash = "sha256:591c8de5851c5ea372194469fe97587b97c3b641e9a70f31bb3474acbfde0241", size = 1431074, upload-time = "2026-08-20T19:06:40.601Z" }, + { url = "https://files.pythonhosted.org/packages/c8/ef/c08b91248bb90a9efa81fa00ba81b69c157c74d0c5efbb2c319d91babb62/pyzmq-27.2.0-cp312-abi3-manylinux2014_i686.manylinux_2_17_i686.whl", hash = "sha256:00e73942ef12cecbc7951c4a9104bb8ffaed742abb13af2da6833d90dd368cef", size = 973915, upload-time = "2026-08-20T19:06:42.037Z" }, + { url = "https://files.pythonhosted.org/packages/b4/78/a3a3a86c2b00fadb92ece1ca4f8f028d62b2ce9ac3526097239ab2d6fba9/pyzmq-27.2.0-cp312-abi3-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:1f8079d0521fe94bbb401fe9407578b28f3701627c8be2c9f7e0c5b77dcb0109", size = 697722, upload-time = "2026-08-20T19:06:43.325Z" }, + { url = "https://files.pythonhosted.org/packages/62/2c/d5828306f795e8d34676d266823b74e2101e0ad3760d12083de3e02abbb2/pyzmq-27.2.0-cp312-abi3-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:dea74fd65f1fc5f7fe167916a473ebe6ed6174e5e5d9de11ea6583661be6cf43", size = 872258, upload-time = "2026-08-20T19:06:44.627Z" }, + { url = "https://files.pythonhosted.org/packages/09/52/51253b78fd8739293e283407eeecb14215c02c71b6519af21f6eed8e69cd/pyzmq-27.2.0-cp312-abi3-manylinux_2_38_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:dcc99ca132b667a4ed750afd42db4ea73288f18425a9b2e3c0af095665c491f5", size = 739591, upload-time = "2026-08-20T19:06:46.214Z" }, + { url = "https://files.pythonhosted.org/packages/e6/3e/142c85b67a4c9678629b0cf6d5125b29663d75be69bfaa57a3cac344d780/pyzmq-27.2.0-cp312-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:b8d5f66e4a8246cf77f7b8f7902af64f00553368fa0373c89d99b78f0ad79394", size = 1689031, upload-time = "2026-08-20T19:06:47.612Z" }, + { url = "https://files.pythonhosted.org/packages/0e/ee/0776fb0f98ed1eb74d77240087fef0ab045b6ad15cb09555c6c5134c98ad/pyzmq-27.2.0-cp312-abi3-musllinux_1_2_i686.whl", hash = "sha256:d1526b42a2e725b84ed226f37becedc250c6347594e5ed304e4e9aff68c9aec3", size = 2059547, upload-time = "2026-08-20T19:06:49.064Z" }, + { url = "https://files.pythonhosted.org/packages/aa/0e/ec77f691a4aebe29ab6329f996fb0e0270c876a3016086e3ca6ef733bcae/pyzmq-27.2.0-cp312-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:f707bcf2c1d007d14d70531d4dd7b41060881c73efa845580bf6faaf9ea24d42", size = 1910457, upload-time = "2026-08-20T19:06:50.783Z" }, + { url = "https://files.pythonhosted.org/packages/30/97/1f5530ff4fc271b4597048371d5af972c2baab51be132ba15874e0327a6a/pyzmq-27.2.0-cp312-abi3-win32.whl", hash = "sha256:fdaaa4ea3242f6ad298eb5177eb042aea5c73c30e76d20caee7b15af20d24ec2", size = 563450, upload-time = "2026-08-20T19:06:52.307Z" }, + { url = "https://files.pythonhosted.org/packages/02/8b/b83f7780dad22e0878e4c7bd9158ebd24ed12bc3d5e3a471cd0576f77ded/pyzmq-27.2.0-cp312-abi3-win_amd64.whl", hash = "sha256:2c218c6ab8bc447ba62054b581fd30209689d199c6ecb253f79615ca74a38e12", size = 628633, upload-time = "2026-08-20T19:06:53.809Z" }, + { url = "https://files.pythonhosted.org/packages/52/aa/3918b5ac7f9987bd9c421b065074fd7409ded88f856f2c704a24341877ec/pyzmq-27.2.0-cp312-abi3-win_arm64.whl", hash = "sha256:348d6fd3e4b81ae4580622ea8c2ea60224e84b2ac1b3be4482e6edc7de06e7a3", size = 556006, upload-time = "2026-08-20T19:06:55.242Z" }, + { url = "https://files.pythonhosted.org/packages/83/5e/d0541596b48c5a19f85dcbea83d6673d8e91681cdf853eb194c31fc9766e/pyzmq-27.2.0-cp313-cp313-android_24_arm64_v8a.whl", hash = "sha256:c551b9e2f86dc625fcb1a032c0d68042678caf96a8dd7c28796766b673bd5b52", size = 1127193, upload-time = "2026-08-20T19:06:56.545Z" }, + { url = "https://files.pythonhosted.org/packages/50/9f/8c7411bb283982d46e6d56dca6a095678c87eb0398daead12776d9881ac2/pyzmq-27.2.0-cp313-cp313-android_24_x86_64.whl", hash = "sha256:288cc790da0e3064a14a38ddc56ba169dada8c8af4cb86518db2bcbd380eedbb", size = 1166833, upload-time = "2026-08-20T19:06:58.011Z" }, + { url = "https://files.pythonhosted.org/packages/f9/84/a849161ff88b2de9b991cc8ab332218824741122fdc4fdf222a5b822ac8c/pyzmq-27.2.0-cp314-cp314-android_24_arm64_v8a.whl", hash = "sha256:3d45189c0c3c99f817b7fefff0d32eeef684cf33e1e3c0fc4281515357c54702", size = 1134452, upload-time = "2026-08-20T19:06:59.898Z" }, + { url = "https://files.pythonhosted.org/packages/3c/34/ff4aaff0cfba2a4d7ad1a16ffedc52c6deb89fcf673d455085446b23f215/pyzmq-27.2.0-cp314-cp314-android_24_x86_64.whl", hash = "sha256:d61910b52be5b2cd8b248dbcbe3a1b0275556a7d99fb613fc43323b546e273b8", size = 1167520, upload-time = "2026-08-20T19:07:01.283Z" }, + { url = "https://files.pythonhosted.org/packages/b6/07/42111e9dc1041d78b4443d6eb1b82b027f1a58178dc8a38385effbc72ad5/pyzmq-27.2.0-cp314-cp314t-macosx_10_15_universal2.whl", hash = "sha256:3ab6eb88590e510ab16715c32dbba12000da9bee989fdadd9ee19a234c492eb7", size = 1466289, upload-time = "2026-08-20T19:07:02.738Z" }, + { url = "https://files.pythonhosted.org/packages/4b/b4/def7a478458da78665840564161772e7e938600c32a89f28e8b221b54d2d/pyzmq-27.2.0-cp314-cp314t-manylinux2014_i686.manylinux_2_17_i686.whl", hash = "sha256:1ecbdd131b9669f62d3a45afee5527c7ae9f141e4301267f21714c90bd21725f", size = 975868, upload-time = "2026-08-20T19:07:04.155Z" }, + { url = "https://files.pythonhosted.org/packages/38/d5/e3e85f7fea37153097aaff49db9e33093909cc2a7b22c1ac4ebe546600fc/pyzmq-27.2.0-cp314-cp314t-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:3146385b94a760236c5eceff468a66a296a716ca98a2e0f9217b1518118466b1", size = 706054, upload-time = "2026-08-20T19:07:05.623Z" }, + { url = "https://files.pythonhosted.org/packages/1c/ef/3b7d9449b223183222bf517245e1e53d5f1ab8c10be8b45f6a301b2f994a/pyzmq-27.2.0-cp314-cp314t-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:9846e881620dd62566ca76a53e384c3f37490faf4b9240aebc7498810dfca853", size = 878984, upload-time = "2026-08-20T19:07:07.153Z" }, + { url = "https://files.pythonhosted.org/packages/be/a5/8b49dbd494f6dcfda69dc4cade322a4b02706ef4e3d30cc366d4e369899f/pyzmq-27.2.0-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:d9527e3dbaef1edaeeb2446fa7379446814a43ade8adc7c4a5ebe69437815ddd", size = 1697489, upload-time = "2026-08-20T19:07:08.945Z" }, + { url = "https://files.pythonhosted.org/packages/da/5a/4bb8280901130c26ea25f0cbb4a6d39d94250860c6b3dbd912f1cf48fca7/pyzmq-27.2.0-cp314-cp314t-musllinux_1_2_i686.whl", hash = "sha256:56b48fa9d478a3af7254f397697a62f5ad3e1bb677e200b2701f0c290d97e5af", size = 2064236, upload-time = "2026-08-20T19:07:10.384Z" }, + { url = "https://files.pythonhosted.org/packages/de/38/f433af66922554adb2b5f79e897018c8e19a90b9eaeb49c4814f8355ebe4/pyzmq-27.2.0-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:bf0b6e4ce1bb089751c504c5493d6b0557eabd02dd21b76e9086cf964234b103", size = 1917424, upload-time = "2026-08-20T19:07:11.909Z" }, + { url = "https://files.pythonhosted.org/packages/36/81/ea1c1ae3f801d96ba2c269e056761ebcfe023476e651d3af2a7817962051/pyzmq-27.2.0-cp314-cp314t-win32.whl", hash = "sha256:fba8afcf265c6e9fbe1594cb045d4765c6c9a7d607653a8196067ef23566b843", size = 591103, upload-time = "2026-08-20T19:07:13.451Z" }, + { url = "https://files.pythonhosted.org/packages/8a/04/149a627707e780fa9f2c1ede3590c14fa6b18b5576d15744342622299a50/pyzmq-27.2.0-cp314-cp314t-win_amd64.whl", hash = "sha256:d1bc1d380a91d954ed5fc9f12915dba014eed0978d2de05ee7ca688bdaac144a", size = 670215, upload-time = "2026-08-20T19:07:15.069Z" }, + { url = "https://files.pythonhosted.org/packages/30/ba/f9c3c1536c41ef3dbf765ea04218990e2056e558f98184ecd883767fc501/pyzmq-27.2.0-cp314-cp314t-win_arm64.whl", hash = "sha256:c7cfb75caa83f5153c687e9d2107f64b5ef0ef0d6edd260d3ff920baaaa69101", size = 582252, upload-time = "2026-08-20T19:07:16.582Z" }, + { url = "https://files.pythonhosted.org/packages/fa/00/78fe097a304a408275747ce43f20428789130b059c5649956277c20f30cf/pyzmq-27.2.0-cp315-cp315-android_24_arm64_v8a.whl", hash = "sha256:c5129a8fe43ecc49b99eb75616603d483a3c2fcaef504988fafe8ea392aea98b", size = 1134295, upload-time = "2026-08-20T19:07:17.94Z" }, + { url = "https://files.pythonhosted.org/packages/f2/83/1c36270658d2ee56e23a3f9ef5fbcb94cbd2f9fe966a6641f2f38e697162/pyzmq-27.2.0-cp315-cp315-android_24_x86_64.whl", hash = "sha256:baa2ce3485145653194d6c8c5beedd1e9f0bf46a0919c9fa2fe2204fc35b74d9", size = 1167492, upload-time = "2026-08-20T19:07:19.476Z" }, + { url = "https://files.pythonhosted.org/packages/58/b2/f0ae223438d7faa991f6feefdc823815f11cc604f898738376b59fd96515/pyzmq-27.2.0-cp315-cp315t-macosx_10_15_universal2.whl", hash = "sha256:e1ed46048d1920cabc96d952a0d5cfe4127ad8db572c335aae4e3c57b9278d7f", size = 1465992, upload-time = "2026-08-20T19:07:20.941Z" }, + { url = "https://files.pythonhosted.org/packages/59/46/fb56f3f37a6a0937b0e1d2885e808b5eedc171320bac85573cfae78fa9bc/pyzmq-27.2.0-cp315-cp315t-manylinux2014_i686.manylinux_2_17_i686.whl", hash = "sha256:e0fa0bc6b1a184aee59b32efcd1b7f0e6d5b8f9387799e4c16a4cb66a86747d6", size = 976118, upload-time = "2026-08-20T19:07:22.577Z" }, + { url = "https://files.pythonhosted.org/packages/21/82/a2c9bfd7c4d34eea1278493cd041bc000d41acb4463c89ceaad29dc813b6/pyzmq-27.2.0-cp315-cp315t-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:0f4bd6743e8bf854c3bfce892dd6578a514aabf128e37a4b2eafcf01856f7e44", size = 705968, upload-time = "2026-08-20T19:07:24.019Z" }, + { url = "https://files.pythonhosted.org/packages/d6/12/b906b269116b6591dc15c0acc5d04c043957c8a531d336999731f4b1d899/pyzmq-27.2.0-cp315-cp315t-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:95369ed6626afcfe2ac89832fb1b917c077fbeb905fbbe5d918349ce0222b89b", size = 879011, upload-time = "2026-08-20T19:07:25.428Z" }, + { url = "https://files.pythonhosted.org/packages/12/13/f96359534bfb77651c15f1fbfc4bfdd7ec3489d23f434706d39598dd0dcd/pyzmq-27.2.0-cp315-cp315t-musllinux_1_2_aarch64.whl", hash = "sha256:40124779c3a56ad5d91902df1ff89159cb414b6c1a0ee697abcc66cf5e6db62d", size = 1697496, upload-time = "2026-08-20T19:07:26.821Z" }, + { url = "https://files.pythonhosted.org/packages/21/b4/2c007ae5f2fe5eca86cbfbc874ed86b5135f2f7812615dfd78606d3c93f6/pyzmq-27.2.0-cp315-cp315t-musllinux_1_2_i686.whl", hash = "sha256:ec8a318dfc27c7d946651b3d9e8025d5734f30c168a822195601827207bac09b", size = 2064347, upload-time = "2026-08-20T19:07:28.315Z" }, + { url = "https://files.pythonhosted.org/packages/9b/88/767af3a6630c15215f3a66700ec79598a375edd1fdc9d75a3ad522178c01/pyzmq-27.2.0-cp315-cp315t-musllinux_1_2_x86_64.whl", hash = "sha256:88c0fac061bac269076edeb3a209acefc96cd6167c239daf1c2b404ac48d7012", size = 1917360, upload-time = "2026-08-20T19:07:29.693Z" }, + { url = "https://files.pythonhosted.org/packages/35/c1/80dd2d20d6e57bc68e1dce1e84bf3e76c9577c1bf728199985c8b4ea0fd1/pyzmq-27.2.0-cp315-cp315t-win32.whl", hash = "sha256:ac126d48cf18aa955daabef43bf0009ff76ad4deee437d09ecf15388214b5beb", size = 591073, upload-time = "2026-08-20T19:07:31.341Z" }, + { url = "https://files.pythonhosted.org/packages/f8/b5/33b781666f3f52ae834bc9c8e38f4f0483a826c5a91cccc993292007bf10/pyzmq-27.2.0-cp315-cp315t-win_amd64.whl", hash = "sha256:edce90a1e588ec63adbf612cc0ad582de4169cd216c7ae53c15f42a2ee902f35", size = 670701, upload-time = "2026-08-20T19:07:32.895Z" }, + { url = "https://files.pythonhosted.org/packages/6e/97/bc4f0edefb992df4fdebcf9f0cc40f631cd4ed277e1ed59ef2cd99a5c8c5/pyzmq-27.2.0-cp315-cp315t-win_arm64.whl", hash = "sha256:a843094b4d3d633bc3623e47a2ff50742d6af02bc1f7606aa2e67e971e21878d", size = 581985, upload-time = "2026-08-20T19:07:34.19Z" }, + { url = "https://files.pythonhosted.org/packages/93/22/7187a1f0bf2b8bf8dc6b91762438fb9b472f684f2dc4cb74a24bf8957943/pyzmq-27.2.0-pp311-pypy311_pp73-macosx_10_15_x86_64.whl", hash = "sha256:a7c1144dc61777938e932a2c9011b980b89fd8ff3733033b34c44c299187a6e1", size = 875015, upload-time = "2026-08-20T19:08:01.692Z" }, + { url = "https://files.pythonhosted.org/packages/92/71/09b71620ad52bad4eb68b1516978ecaf52ef623c3fa16e0732a03cf3274c/pyzmq-27.2.0-pp311-pypy311_pp73-macosx_11_0_arm64.whl", hash = "sha256:c218b816220d05acf6ab1bafca58926d95cbcc5fec5024724666030466308f0c", size = 774395, upload-time = "2026-08-20T19:08:03.108Z" }, + { url = "https://files.pythonhosted.org/packages/9c/cf/5c8eb9994a14ff5ee5b0cada339421748746c95aee0280c8b656741e8749/pyzmq-27.2.0-pp311-pypy311_pp73-manylinux2014_i686.manylinux_2_17_i686.whl", hash = "sha256:ae6ebbc0bfe5a21ce21e32ba567bf73df2d93888109c65acbd42506cf9395759", size = 877994, upload-time = "2026-08-20T19:08:04.724Z" }, + { url = "https://files.pythonhosted.org/packages/97/64/e22094c5555e550b6450ecfcceb6a1205d893d9a18ae27764c8c45acfb16/pyzmq-27.2.0-pp311-pypy311_pp73-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:679b5b1dde326a921ea2c9ec1f9ea3115bfe1b4735779bbc6eb0473a0ed93f71", size = 614492, upload-time = "2026-08-20T19:08:06.487Z" }, + { url = "https://files.pythonhosted.org/packages/d2/28/5b1042899caed18278c56d54a502f5254d463afe8aea1acbecc98e053391/pyzmq-27.2.0-pp311-pypy311_pp73-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:f5c6d8744d10b5e1eadd90a7c58f8546acf6bf680ee463f7e6ada09ad6c9f802", size = 780574, upload-time = "2026-08-20T19:08:07.987Z" }, + { url = "https://files.pythonhosted.org/packages/77/a3/f134603a671c114c6b56eb912bba890f09e2d43b8a28d243be5a5507cf2f/pyzmq-27.2.0-pp311-pypy311_pp73-win_amd64.whl", hash = "sha256:3ee8dd7031d5e23f632e0e7eee67183ca7d2536e0de35dc1e5d69f3471a791e8", size = 553961, upload-time = "2026-08-20T19:08:09.651Z" }, +] + +[[package]] +name = "redis" +version = "5.2.1" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "async-timeout", marker = "python_full_version < '3.11.3' or python_full_version >= '3.15'" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/47/da/d283a37303a995cd36f8b92db85135153dc4f7a8e4441aa827721b442cfb/redis-5.2.1.tar.gz", hash = "sha256:16f2e22dff21d5125e8481515e386711a34cbec50f0e44413dd7d9c060a54e0f", size = 4608355, upload-time = "2024-12-06T09:50:41.956Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/3c/5f/fa26b9b2672cbe30e07d9a5bdf39cf16e3b80b42916757c5f92bca88e4ba/redis-5.2.1-py3-none-any.whl", hash = "sha256:ee7e1056b9aea0f04c6c2ed59452947f34c4940ee025f5dd83e6a6418b6989e4", size = 261502, upload-time = "2024-12-06T09:50:39.656Z" }, +] + +[[package]] +name = "referencing" +version = "0.37.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "attrs" }, + { name = "rpds-py" }, + { name = "typing-extensions", marker = "python_full_version < '3.13' or python_full_version >= '3.15'" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/22/f5/df4e9027acead3ecc63e50fe1e36aca1523e1719559c499951bb4b53188f/referencing-0.37.0.tar.gz", hash = "sha256:44aefc3142c5b842538163acb373e24cce6632bd54bdb01b21ad5863489f50d8", size = 78036, upload-time = "2025-10-13T15:30:48.871Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/2c/58/ca301544e1fa93ed4f80d724bf5b194f6e4b945841c5bfd555878eea9fcb/referencing-0.37.0-py3-none-any.whl", hash = "sha256:381329a9f99628c9069361716891d34ad94af76e461dcb0335825aecc7692231", size = 26766, upload-time = "2025-10-13T15:30:47.625Z" }, +] + +[[package]] +name = "requests" +version = "2.34.2" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "certifi" }, + { name = "charset-normalizer" }, + { name = "idna" }, + { name = "urllib3" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/ac/c3/e2a2b89f2d3e2179abd6d00ebd70bff6273f37fb3e0cc209f48b39d00cbf/requests-2.34.2.tar.gz", hash = "sha256:f288924cae4e29463698d6d60bc6a4da69c89185ad1e0bcc4104f584e960b9ed", size = 142856, upload-time = "2026-05-14T19:25:27.735Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/a0/f4/c67b0b3f1b9245e8d266f0f112c500d50e5b4e83cb6f3b71b6528104182a/requests-2.34.2-py3-none-any.whl", hash = "sha256:2a0d60c172f83ac6ab31e4554906c0f3b3588d37b5cb939b1c061f4907e278e0", size = 73075, upload-time = "2026-05-14T19:25:26.443Z" }, +] + +[[package]] +name = "rfc3339-validator" +version = "0.1.4" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "six" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/28/ea/a9387748e2d111c3c2b275ba970b735e04e15cdb1eb30693b6b5708c4dbd/rfc3339_validator-0.1.4.tar.gz", hash = "sha256:138a2abdf93304ad60530167e51d2dfb9549521a836871b88d7f4695d0022f6b", size = 5513, upload-time = "2021-05-12T16:37:54.178Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/7b/44/4e421b96b67b2daff264473f7465db72fbdf36a07e05494f50300cc7b0c6/rfc3339_validator-0.1.4-py2.py3-none-any.whl", hash = "sha256:24f6ec1eda14ef823da9e36ec7113124b39c04d50a4d3d3a3c2859577e7791fa", size = 3490, upload-time = "2021-05-12T16:37:52.536Z" }, +] + +[[package]] +name = "rfc3986-validator" +version = "0.1.1" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/da/88/f270de456dd7d11dcc808abfa291ecdd3f45ff44e3b549ffa01b126464d0/rfc3986_validator-0.1.1.tar.gz", hash = "sha256:3d44bde7921b3b9ec3ae4e3adca370438eccebc676456449b145d533b240d055", size = 6760, upload-time = "2019-10-28T16:00:19.144Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/9e/51/17023c0f8f1869d8806b979a2bffa3f861f26a3f1a66b094288323fba52f/rfc3986_validator-0.1.1-py2.py3-none-any.whl", hash = "sha256:2f235c432ef459970b4306369336b9d5dbdda31b510ca1e327636e01f528bfa9", size = 4242, upload-time = "2019-10-28T16:00:13.976Z" }, +] + +[[package]] +name = "rfc3987-syntax" +version = "1.1.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "lark" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/2c/06/37c1a5557acf449e8e406a830a05bf885ac47d33270aec454ef78675008d/rfc3987_syntax-1.1.0.tar.gz", hash = "sha256:717a62cbf33cffdd16dfa3a497d81ce48a660ea691b1ddd7be710c22f00b4a0d", size = 14239, upload-time = "2025-07-18T01:05:05.015Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/7e/71/44ce230e1b7fadd372515a97e32a83011f906ddded8d03e3c6aafbdedbb7/rfc3987_syntax-1.1.0-py3-none-any.whl", hash = "sha256:6c3d97604e4c5ce9f714898e05401a0445a641cfa276432b0a648c80856f6a3f", size = 8046, upload-time = "2025-07-18T01:05:03.843Z" }, +] + +[[package]] +name = "rich" +version = "15.0.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "markdown-it-py" }, + { name = "pygments" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/c0/8f/0722ca900cc807c13a6a0c696dacf35430f72e0ec571c4275d2371fca3e9/rich-15.0.0.tar.gz", hash = "sha256:edd07a4824c6b40189fb7ac9bc4c52536e9780fbbfbddf6f1e2502c31b068c36", size = 230680, upload-time = "2026-04-12T08:24:00.75Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/82/3b/64d4899d73f91ba49a8c18a8ff3f0ea8f1c1d75481760df8c68ef5235bf5/rich-15.0.0-py3-none-any.whl", hash = "sha256:33bd4ef74232fb73fe9279a257718407f169c09b78a87ad3d296f548e27de0bb", size = 310654, upload-time = "2026-04-12T08:24:02.83Z" }, +] + +[[package]] +name = "rpds-py" +version = "2026.9.1" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/42/68/3bd46b8a5e01d3c2ebdf9c5e9497912e3fe0cde02bac21a7130ca866e403/rpds_py-2026.9.1.tar.gz", hash = "sha256:4793ef7f78268b124b73fa933440f01d258bbae01de9fa53e9080c9ab0425a12", size = 63948, upload-time = "2026-10-04T16:32:36.469Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/f5/6d/ddb8dfcf41892ba9c672d27988592c038d30db61708230313831b6780a1b/rpds_py-2026.9.1-cp311-cp311-macosx_10_12_x86_64.whl", hash = "sha256:2711d29b653b3bce48a63d18b9c6b53274669e6d6c4094dddeb4d9a0e45128b2", size = 344947, upload-time = "2026-10-04T16:28:55.207Z" }, + { url = "https://files.pythonhosted.org/packages/9e/b2/632c3d034961149eff606e3e357547620a9ab37b849ae5815f67838753fd/rpds_py-2026.9.1-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:3231c4c0e521dafa5be0c9f114ee2c2ad46650836f2d72caa86801950c3e7044", size = 346770, upload-time = "2026-10-04T16:28:56.884Z" }, + { url = "https://files.pythonhosted.org/packages/6d/45/4df346410bb873d03ec60c3b891d1fceb8cabde1971d29844bbb625cc296/rpds_py-2026.9.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:e01b3c878c8641913e688edd1b3f08658c6783d29cf6b826bd3c0d1ae7a1ffaa", size = 377795, upload-time = "2026-10-04T16:28:58.193Z" }, + { url = "https://files.pythonhosted.org/packages/ba/b8/a70f302207e4f29f873c01a986fcac5def49b9c8224328cef1ad7da6b7a9/rpds_py-2026.9.1-cp311-cp311-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:3e524c7874ac72884d28e16dd5b8d839fd09e0fe76b020d3fbca23212a7b8c52", size = 383137, upload-time = "2026-10-04T16:28:59.411Z" }, + { url = "https://files.pythonhosted.org/packages/13/e3/3aa28a48a01169d0e20728bf0e5ebbea3ae2774285b40853ae49b3ef332a/rpds_py-2026.9.1-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:761fdae6728ceb99ab182fad2f0cc1e262f610834dc891aea1d1a2a2e634776f", size = 496789, upload-time = "2026-10-04T16:29:01.011Z" }, + { url = "https://files.pythonhosted.org/packages/3e/a7/414e8d088602d66ad6f47c65bf07fe5090992a8574cdd4571c1a83b647ed/rpds_py-2026.9.1-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:6b723eb406dec5bc9ec516c73ab9c3239a3284e017f7eb89ee2b3258bd504fb7", size = 395929, upload-time = "2026-10-04T16:29:02.465Z" }, + { url = "https://files.pythonhosted.org/packages/2d/5c/aac3b960fd55d37b49f77c0eebbe043eaf36762ebd48e7b46951e59c1c05/rpds_py-2026.9.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:136a1c3fe4402b7008bc81cb62ee538481795b61a7e83df88dff3b3f02b726ff", size = 375426, upload-time = "2026-10-04T16:29:03.944Z" }, + { url = "https://files.pythonhosted.org/packages/d3/80/77987a41c40be7202a78d9aed4a650bfb05792237cfd3b9e22638d990fe5/rpds_py-2026.9.1-cp311-cp311-manylinux_2_31_riscv64.whl", hash = "sha256:839dde845559254f34885267c6878f60d61d5205180226d976fe488d45fa128e", size = 381497, upload-time = "2026-10-04T16:29:05.308Z" }, + { url = "https://files.pythonhosted.org/packages/b8/d0/640b02eb1ecd71a913c1178b6235287b31006266bca9a26862e80e497b54/rpds_py-2026.9.1-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:56cd8b3f77d7b6812f533b662186a1f28316931166ddc00fb893b1b0db7e9888", size = 405740, upload-time = "2026-10-04T16:29:06.578Z" }, + { url = "https://files.pythonhosted.org/packages/3e/8c/d034195d45d215625a23f2ae85dbbdb86a49a93a51272061c97c80b9d316/rpds_py-2026.9.1-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:074a4d198bc34d9a8ea425114fc3ded6d11ec01f6a314a8db67454a5152d8834", size = 555850, upload-time = "2026-10-04T16:29:08.115Z" }, + { url = "https://files.pythonhosted.org/packages/de/f8/532f1addfc86207bc3cf23749638bb0d457bce891595012ed8a08d0543b8/rpds_py-2026.9.1-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:6beb738155fe8ab8091afdfa5a3226b21c2b1593f1e50ebb90eb25b44dbc0391", size = 618661, upload-time = "2026-10-04T16:29:09.554Z" }, + { url = "https://files.pythonhosted.org/packages/50/5b/b0f2c9833a36a5b1f6ac5cb0e635fabacf713266f46ceefba2102da0bf51/rpds_py-2026.9.1-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:57492a550a1d88d29d003247e5f78dd8cf04a701fac0e4c8db8745a6d2504e0a", size = 583530, upload-time = "2026-10-04T16:29:11.072Z" }, + { url = "https://files.pythonhosted.org/packages/bf/20/464ed4b98d3c8c6a334f3b5e24d3886de04b05658a95fc40a37e0e6e4775/rpds_py-2026.9.1-cp311-cp311-win32.whl", hash = "sha256:d95a354e02393eada6d7351184671aced9d4cce109dabf927cb7aa99624352a1", size = 208125, upload-time = "2026-10-04T16:29:12.408Z" }, + { url = "https://files.pythonhosted.org/packages/df/c9/384a9b62f8cd89c8e3e609b8c9052c140e8c01d807261e0517c904b8bf29/rpds_py-2026.9.1-cp311-cp311-win_amd64.whl", hash = "sha256:ce4d4f52e2a4324396caddbd45a97d8d7be5f42edd25d2355282a9c34f9b2f7f", size = 226045, upload-time = "2026-10-04T16:29:13.751Z" }, + { url = "https://files.pythonhosted.org/packages/4f/3b/0a691f0dcb2301fa9c736346da2d0d4991778373283301c5c12b8f952f3d/rpds_py-2026.9.1-cp311-cp311-win_arm64.whl", hash = "sha256:fdcd198979b4ecffcc1beba366a7fbcf4eb41243691a82fe52ceb0b902f09c12", size = 222636, upload-time = "2026-10-04T16:29:14.989Z" }, + { url = "https://files.pythonhosted.org/packages/5d/34/a828586ea3329fbb50895b50e9cf98ca3d924a9f41a0b26d443bff1b3794/rpds_py-2026.9.1-cp312-cp312-macosx_10_12_x86_64.whl", hash = "sha256:50906f5aea24b5a865cbd0a589698288631d9f3a54c3a937c83aefa95a0d14af", size = 346822, upload-time = "2026-10-04T16:29:16.258Z" }, + { url = "https://files.pythonhosted.org/packages/90/81/ac6a0d064982251856ce009c9e1dd51a34110b3c055aa7d1aad18b4899a3/rpds_py-2026.9.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:e21c1429e205828ea886a2293a4a2c8e01f4c25d9893ca330e97a6cf73f52e7b", size = 341380, upload-time = "2026-10-04T16:29:17.706Z" }, + { url = "https://files.pythonhosted.org/packages/42/ff/bf7d54f362748fd6a49277b9d6531c394074110fedf50ad791ec59133fbb/rpds_py-2026.9.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:2693b2728bbcc48d09a981a356954b0c47c53ff25b545856f28a889ea619f69a", size = 373053, upload-time = "2026-10-04T16:29:19.063Z" }, + { url = "https://files.pythonhosted.org/packages/60/de/74b0ccdbbd28687b9b5fdb34c1cabed88352182facaced9d6f5486b8b9ed/rpds_py-2026.9.1-cp312-cp312-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:8601470267d938bcb7f3ab1a336100af51a4fd5b6ed030ef52461bb3ef5e7e07", size = 377742, upload-time = "2026-10-04T16:29:20.543Z" }, + { url = "https://files.pythonhosted.org/packages/c2/6d/b979775a3057b2a5c26d75ecbff60a20a24ef081db6dd76836fca3f20247/rpds_py-2026.9.1-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:3890a6aa36e6baa53d5258a2a25d3ef8b37ad165a6ab27a892d7c3e3a432cd69", size = 487289, upload-time = "2026-10-04T16:29:21.958Z" }, + { url = "https://files.pythonhosted.org/packages/1d/5d/7c34734ce3ece943d9d6ee0122a74a21bbc75b47acb5b7053c83f6efb1ed/rpds_py-2026.9.1-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:6b5b393eda5ea42cca1c1a6665f2a4882b4fd5d1777e41ce0545a107fb008c9d", size = 390710, upload-time = "2026-10-04T16:29:23.378Z" }, + { url = "https://files.pythonhosted.org/packages/1d/6d/b26eb1e75395925b3a142ed351cbed2ec8212f5c9d937aee3df32c701baa/rpds_py-2026.9.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:addeda51556dac7c1a2f14cda62db8b621cd12afba3091d03a96c72932387eab", size = 371261, upload-time = "2026-10-04T16:29:25.1Z" }, + { url = "https://files.pythonhosted.org/packages/7c/98/b2fdfe10301a9e27af21e634337fbba7baac0bc17fe44619a17c26bba2cb/rpds_py-2026.9.1-cp312-cp312-manylinux_2_31_riscv64.whl", hash = "sha256:d9edf30457d74eebfd76b045535e36f1cd89062566a128a0db2145ca042d787e", size = 376075, upload-time = "2026-10-04T16:29:26.748Z" }, + { url = "https://files.pythonhosted.org/packages/c5/b1/c4b8d954e49c3c69cf8063c0c9e0919c99f3d2cecc46311606a1cbe835dc/rpds_py-2026.9.1-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:815d26356930846a40c7bc1366e7b1b0320ab8a063e66c11298a208bed0fd237", size = 399358, upload-time = "2026-10-04T16:29:28.282Z" }, + { url = "https://files.pythonhosted.org/packages/b3/59/9559a7293c97dff0cbb293efffbd36644103883ecc27741af8ef90c84ca8/rpds_py-2026.9.1-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:3b5a6f40f0a1486b4b36c888123afc67acdbd9f33235927acf5ff295429a0ba3", size = 550267, upload-time = "2026-10-04T16:29:29.851Z" }, + { url = "https://files.pythonhosted.org/packages/6c/9d/6dc60e49511de4c8b00e74f9c1d43aed4d27f712cdb1ade92f2c199cbf64/rpds_py-2026.9.1-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:b5b8b0753718d258fd454283fbd57e14545d3b40583fa672e27cb4f987626bcc", size = 614018, upload-time = "2026-10-04T16:29:31.54Z" }, + { url = "https://files.pythonhosted.org/packages/fb/bc/92a4ecf27301b886232a413360f6b348a81d55ffef654f2ebda5970ebc3d/rpds_py-2026.9.1-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:46d80bc76b51a6c24f9944368c28d38b8bcbcea1da4f2f8d3ebc31a67e8c6ec6", size = 578509, upload-time = "2026-10-04T16:29:33.01Z" }, + { url = "https://files.pythonhosted.org/packages/08/53/efb97f2e6589b7ab8394385a73870e0b2ab2a195281c117b21fd6d7d4855/rpds_py-2026.9.1-cp312-cp312-win32.whl", hash = "sha256:befc2d6a953e563f8a7bfd87a42c22ebf8a3e980dcb7b6a4d17b70b0e914e8a3", size = 205401, upload-time = "2026-10-04T16:29:34.451Z" }, + { url = "https://files.pythonhosted.org/packages/1c/84/1700cc748d0eaa747486e4e82882d2575224e6e9a3148df583058850c629/rpds_py-2026.9.1-cp312-cp312-win_amd64.whl", hash = "sha256:5ce8943f79c2210f7abcc28e86367b03b28d95027fd01c46d2472373ae70c86f", size = 222923, upload-time = "2026-10-04T16:29:35.709Z" }, + { url = "https://files.pythonhosted.org/packages/c3/89/0302215373c2f8b4408b0fdfee955368cc378a98ff59508d47a7e0dc2dbf/rpds_py-2026.9.1-cp312-cp312-win_arm64.whl", hash = "sha256:501909f2e4a1e2dee528ef766fe3c469060ebc17e54a8383d404ba07a81a6f02", size = 218415, upload-time = "2026-10-04T16:29:37.263Z" }, + { url = "https://files.pythonhosted.org/packages/83/ea/ee88fd9e756ff93fb6b1182a47ec09504a242620e33ce1d20679efefe841/rpds_py-2026.9.1-cp313-cp313-macosx_10_12_x86_64.whl", hash = "sha256:a36b70596407634ca82d4b989a3729074a008537a0522e4c8046a67c729103e9", size = 346229, upload-time = "2026-10-04T16:29:38.82Z" }, + { url = "https://files.pythonhosted.org/packages/57/71/a097d6552f837500fc36e6b23d09cfb9890c3cc47531f9ca64e149799615/rpds_py-2026.9.1-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:eba5d173f7d5708b22a93815017a4611873ed54db9f268077c0dd1ed99cfc858", size = 340514, upload-time = "2026-10-04T16:29:40.405Z" }, + { url = "https://files.pythonhosted.org/packages/bd/b7/497e85768bf4e0d8ddbaa096a4cac31d1509251dee2728a8490aa367e0b5/rpds_py-2026.9.1-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:457866b85daf5034296666168b84a69e0b2e89dc4f1af102b46f6448a60b9063", size = 372611, upload-time = "2026-10-04T16:29:41.778Z" }, + { url = "https://files.pythonhosted.org/packages/52/4b/74ab4108916250b6e198e0d3af05bc6835eb046315f22f7a0ceb49667c5a/rpds_py-2026.9.1-cp313-cp313-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:a3a52a3ba86436ab3aef510fbe21512abc2ddd1993005dfe50514bd2284ef025", size = 377712, upload-time = "2026-10-04T16:29:43.242Z" }, + { url = "https://files.pythonhosted.org/packages/0c/8e/067e77d9d7b3cc793c9d909b7e97e7aadbbb1fb094093b6876902cc96d38/rpds_py-2026.9.1-cp313-cp313-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:d7841166b7fa64c9c56404617ae4341448847482d45933b13135d26c130519e5", size = 488106, upload-time = "2026-10-04T16:29:44.692Z" }, + { url = "https://files.pythonhosted.org/packages/3c/b4/c5aae6c2dde269bf955f6b7d35065c655a57e47750d9668052ad67e74dda/rpds_py-2026.9.1-cp313-cp313-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:926bdd3e3b5998ddf70cc64bc8cf57209571f9044542913afb673799fec77dd0", size = 390795, upload-time = "2026-10-04T16:29:46.129Z" }, + { url = "https://files.pythonhosted.org/packages/a0/36/76fab39973ee11e7f9f357c55138197bb01c86f6502cb76487e3b4f42db0/rpds_py-2026.9.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:7868b85224291c6cb6759f9b5adb9745f486d226f62b16a614dd5a2a5ab2b35b", size = 370794, upload-time = "2026-10-04T16:29:47.603Z" }, + { url = "https://files.pythonhosted.org/packages/3d/fe/cd2a80e6d7b871937a60e935c5d507aa390d143f4ff3636f640b9733d5df/rpds_py-2026.9.1-cp313-cp313-manylinux_2_31_riscv64.whl", hash = "sha256:3cd182d7291d29b92c521a0069d9c01ba6193628a9a105531d11b40a6d731a33", size = 375673, upload-time = "2026-10-04T16:29:49.223Z" }, + { url = "https://files.pythonhosted.org/packages/6c/18/7464a9953724e55a3b3206062fa0ffdeaa519584c6aabf65d3956d94f131/rpds_py-2026.9.1-cp313-cp313-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:e6ea1cda8d8c688278430e4268a42f5e5da3bdd74578dfadc0820c3f1766ce83", size = 398758, upload-time = "2026-10-04T16:29:50.601Z" }, + { url = "https://files.pythonhosted.org/packages/c0/86/1534b436700fd49ff411063b7c4d7e938adfabf90895b6cf1622d5a7d1f6/rpds_py-2026.9.1-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:5943980471829f6de242a20b109de3111ba6b77e3af0ffc587028ac854b05e6c", size = 550370, upload-time = "2026-10-04T16:29:52.002Z" }, + { url = "https://files.pythonhosted.org/packages/57/1c/e1fa82a8a01e3c5820f3ba98a8b2673f642128eb368fa88871b01dd2c909/rpds_py-2026.9.1-cp313-cp313-musllinux_1_2_i686.whl", hash = "sha256:76d3af9732d2dab69f28179b40ba2d87e2f1d5824b4a694780aa787d685e8f36", size = 613106, upload-time = "2026-10-04T16:29:53.655Z" }, + { url = "https://files.pythonhosted.org/packages/29/55/b20b8c4c3dde8755bfcd5b08492a02d0cd2e26929aedf6199ca2a377d42a/rpds_py-2026.9.1-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:78326f4cb4427a56ba4996c0762b63be45f06b85f086526420d2b3a66e40f84d", size = 578235, upload-time = "2026-10-04T16:29:55.157Z" }, + { url = "https://files.pythonhosted.org/packages/55/42/df3f7bbc3f7ab37a8a9db8d6c2ff2c985422899f1f7926afbf7ec3c0b8b4/rpds_py-2026.9.1-cp313-cp313-win32.whl", hash = "sha256:172e47169583f46ce118cbec68e6795d0da0f4606b488b6434f8276bca0a058c", size = 205293, upload-time = "2026-10-04T16:29:56.669Z" }, + { url = "https://files.pythonhosted.org/packages/31/9c/ba5a9569d719bfdd6ce863df4133ac6a1658cf1b07cc3534c31db729fbbc/rpds_py-2026.9.1-cp313-cp313-win_amd64.whl", hash = "sha256:3e93b2cd69a9830be33e03945cd7cda940a0a8bfcfbff41d6144f0cb0d3d8bd9", size = 222409, upload-time = "2026-10-04T16:29:58.049Z" }, + { url = "https://files.pythonhosted.org/packages/35/72/f28ca566f6c23c35bbf7445f65eb0364577b25a026305995e24f78b83d94/rpds_py-2026.9.1-cp313-cp313-win_arm64.whl", hash = "sha256:d151e148117294133bf8af7eeace085e7e87432db15ab6adf640330298a47f6f", size = 217681, upload-time = "2026-10-04T16:29:59.449Z" }, + { url = "https://files.pythonhosted.org/packages/8a/f2/67b94be1532767803415c1c5a1fd88ea487643d74a673cec1ba140af77bb/rpds_py-2026.9.1-cp314-cp314-macosx_10_12_x86_64.whl", hash = "sha256:c9d1aca01f49170fdcf5c92761b1fafe97f554b721ca4570c5949fff778f0d4b", size = 347178, upload-time = "2026-10-04T16:30:00.865Z" }, + { url = "https://files.pythonhosted.org/packages/04/37/b751de2b59b0197a1d92a5dd491de88e8a5e928c2e6562581974f1e85263/rpds_py-2026.9.1-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:3f0e9ac28fc067d4d34b88ae43c48e9489455c97fee9633d851f7eeed5a05d35", size = 341878, upload-time = "2026-10-04T16:30:02.564Z" }, + { url = "https://files.pythonhosted.org/packages/72/e2/5873bc4643c250db9e05d48dc0c93763d4aa68bc3b81164cb1af3b45b284/rpds_py-2026.9.1-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:07deecbfce94c78473018bc7d10b337cc651d12df87a1eb2cb3e4024bc9c33d0", size = 373963, upload-time = "2026-10-04T16:30:04.026Z" }, + { url = "https://files.pythonhosted.org/packages/51/03/5acf7632158247f3f6386ff0af3a1ee48167d575037e8d0920594b76d92b/rpds_py-2026.9.1-cp314-cp314-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:821b2755db9194409254012f429c56643416fb96ef9be090be82ec8826b7f477", size = 377975, upload-time = "2026-10-04T16:30:05.555Z" }, + { url = "https://files.pythonhosted.org/packages/e6/00/63fda451b8bffa5808fc8bb311ee7c073b340974b09f273c7b2a145d3d62/rpds_py-2026.9.1-cp314-cp314-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:3c91c210ae7645626c608400e3519b4a642f837cce09ca830db3beb2e9f274d4", size = 490347, upload-time = "2026-10-04T16:30:07.156Z" }, + { url = "https://files.pythonhosted.org/packages/a1/ae/c093ffd070ba0fb02f76c565d06fecc65ad6e4afdbae78f7031076d3cdac/rpds_py-2026.9.1-cp314-cp314-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:54ac2158a6f96cfbabff0b2eedaf94b90c5ec7ca8317fcadc61e1c2b2e0ff6ef", size = 392962, upload-time = "2026-10-04T16:30:08.77Z" }, + { url = "https://files.pythonhosted.org/packages/22/9d/d08a1128ab199b2f0cf25bfeb0639bd05119fff4b7c47bec24ef9a8ec23f/rpds_py-2026.9.1-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:eac2f5dbafd585dfe31f86a23ebf0d3ba480a9d49ebc87947267b5608d4ea0cd", size = 371623, upload-time = "2026-10-04T16:30:10.501Z" }, + { url = "https://files.pythonhosted.org/packages/53/c7/4758ddcbb75609414bbccfcb11d612436f9b3ee821bd2f33f0f1604ee648/rpds_py-2026.9.1-cp314-cp314-manylinux_2_31_riscv64.whl", hash = "sha256:8aa5dda18d39b6143eb24809d158f9252c88f402749b6f1b62a506cc7d96cc35", size = 376997, upload-time = "2026-10-04T16:30:12.124Z" }, + { url = "https://files.pythonhosted.org/packages/87/e4/947bd7f608ff60faf46dc9d389c3dffd0e3d767d78a0be19978448ef0ce7/rpds_py-2026.9.1-cp314-cp314-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:5c90e7fa02e8f5de0d10c17595c568ada48c5302e749462c0ea1a4c362111a86", size = 400169, upload-time = "2026-10-04T16:30:13.804Z" }, + { url = "https://files.pythonhosted.org/packages/4b/35/fe93e020a0543b5670472c18d7e6af3197c08da571240ce1965c84f85c0f/rpds_py-2026.9.1-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:e6d198bad4e49dd6732fbd636e2fc5c082f45c8cad0b4acb756b00c82c76072e", size = 551615, upload-time = "2026-10-04T16:30:15.332Z" }, + { url = "https://files.pythonhosted.org/packages/0d/4f/5d2a0136bb03b2a56a39dc6ff92d58a6e3e53a2e17079238b86228882f16/rpds_py-2026.9.1-cp314-cp314-musllinux_1_2_i686.whl", hash = "sha256:96beca19ec79de272e8668585380ff9092c47077c1d7a1e098e00bbd921f4785", size = 614655, upload-time = "2026-10-04T16:30:16.92Z" }, + { url = "https://files.pythonhosted.org/packages/09/1c/3f1025aaf70d9bf7272cc41f8b64ee76b48bf01726248138430e16f23b38/rpds_py-2026.9.1-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:a5cf77eb04f20b720be95265a3e00eb2a14814074255cc27069c551b2db53118", size = 579602, upload-time = "2026-10-04T16:30:18.555Z" }, + { url = "https://files.pythonhosted.org/packages/53/0d/5c72e6204f76610608706da32b6b7e11ef7e10317558a7bb15a122e008dc/rpds_py-2026.9.1-cp314-cp314-win32.whl", hash = "sha256:a03d57b86d2a51d0a66c92177e2be154ad015f357791d306e714569999cdb4cc", size = 206315, upload-time = "2026-10-04T16:30:20.05Z" }, + { url = "https://files.pythonhosted.org/packages/a4/0b/489d48abbcc7d70cf3fbf662d9d22abf1f4650761c0a9ae05260800800d3/rpds_py-2026.9.1-cp314-cp314-win_amd64.whl", hash = "sha256:837c6b305e26fe0f75b15c92cf3b2ba29e0ae19dc40b1c557b026cb426347d0c", size = 222852, upload-time = "2026-10-04T16:30:21.604Z" }, + { url = "https://files.pythonhosted.org/packages/91/16/bbb05a7e6a10cf79ba639be7f799d770ee15f64175cc61d081b218dd402a/rpds_py-2026.9.1-cp314-cp314-win_arm64.whl", hash = "sha256:fce4b85234a0cbad67bf8e6e1201ee815d172c9aebad75f25645bc4d834f8e31", size = 218709, upload-time = "2026-10-04T16:30:23.036Z" }, + { url = "https://files.pythonhosted.org/packages/22/ac/ac507a0a4ec478ca470440a09583db4be5259ba7670aeba0620822f1e57a/rpds_py-2026.9.1-cp314-cp314t-macosx_10_12_x86_64.whl", hash = "sha256:3a72c11530d71abfb66c8d7696a2f86c43e63fca8b948f1a784ac490f4ec688e", size = 349596, upload-time = "2026-10-04T16:30:24.558Z" }, + { url = "https://files.pythonhosted.org/packages/e9/f2/817a46b658d5070f477f722c298ee9a24525b0e4017347964146ef5fdd0e/rpds_py-2026.9.1-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:068c37bba854ec2fe42f7365c640af11dd9895890ccbf2df5070d0c059bd7f96", size = 343114, upload-time = "2026-10-04T16:30:26.048Z" }, + { url = "https://files.pythonhosted.org/packages/6c/42/6ade976b13ac1b4cb3bf2eb603f1be2fe74df19a29988d4c2b386be59d6f/rpds_py-2026.9.1-cp314-cp314t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:d7fca4eb6df565e2a928f1c7dad92d27db8f9df0f449e76423ed5d7e713ed445", size = 374197, upload-time = "2026-10-04T16:30:27.699Z" }, + { url = "https://files.pythonhosted.org/packages/d9/70/77cdf1d3f1a07faabe936016ae623aec7981f73108a8fe7a203ed2e21998/rpds_py-2026.9.1-cp314-cp314t-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:c933c6678c6f116ff8af47a4c6db0868b8ace74af0343016c0ef00f00272ea69", size = 378025, upload-time = "2026-10-04T16:30:29.451Z" }, + { url = "https://files.pythonhosted.org/packages/3f/6b/18a44a3beaa9b7931acb04af7bd9539836477c630a794452d4826d6185d4/rpds_py-2026.9.1-cp314-cp314t-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:028ad274ea951dac64491b5d1e65712a4aeabfdbdb9fccf797b57bd899b0c495", size = 491969, upload-time = "2026-10-04T16:30:30.995Z" }, + { url = "https://files.pythonhosted.org/packages/73/27/fb39cfd6bddaf741b024f813890374578ff8ac1f1adc473659c048b03b05/rpds_py-2026.9.1-cp314-cp314t-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:740d0a99cf9de0b17a3943388e9294a59becf75e7c43421f387bd3c7a9901f7c", size = 393905, upload-time = "2026-10-04T16:30:32.628Z" }, + { url = "https://files.pythonhosted.org/packages/ed/71/0fa7bb77b57af0d710273964180d11b503f62b8a5c358eb2d8c3f62feff6/rpds_py-2026.9.1-cp314-cp314t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:0da298fb372dc192610a4b9ecbc68a0cd8b675bbbd1fc519d01b41cfd658333e", size = 374569, upload-time = "2026-10-04T16:30:34.257Z" }, + { url = "https://files.pythonhosted.org/packages/54/22/f41cfac269af3b449513ef1bc3d7f32fde52abbbd2d01c7e76b47743acd9/rpds_py-2026.9.1-cp314-cp314t-manylinux_2_31_riscv64.whl", hash = "sha256:eb61be926bb81567c1f48bdc8aa22b9855048dc2efd53871f9f7e6e9a5632346", size = 377482, upload-time = "2026-10-04T16:30:35.997Z" }, + { url = "https://files.pythonhosted.org/packages/b4/fc/312b49006e7f8f9ca5f96647577b8aa6f3df30519c46bd448f5c425af0b2/rpds_py-2026.9.1-cp314-cp314t-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:42e75466f83cd43f6026c81eab74246efb2bdadafb307b85700632d06c68f299", size = 400040, upload-time = "2026-10-04T16:30:37.76Z" }, + { url = "https://files.pythonhosted.org/packages/cf/a6/18cca7a878dc7fa95165a83343fd4d7b65643fd22e54e47340a451121d5c/rpds_py-2026.9.1-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:617f59cde379b4f648a09797b7f683d04b90a46344cddab85639da5aff0f5531", size = 551849, upload-time = "2026-10-04T16:30:39.443Z" }, + { url = "https://files.pythonhosted.org/packages/e4/6d/1f5685e20f39604691bdc3c05aaa6b8bd2f954e9e996477adf2376768e33/rpds_py-2026.9.1-cp314-cp314t-musllinux_1_2_i686.whl", hash = "sha256:3edae8c5ddfdb6985d49ae9d150516e5076888879022f91a26c2de9276ce0bdb", size = 614842, upload-time = "2026-10-04T16:30:41.231Z" }, + { url = "https://files.pythonhosted.org/packages/c6/25/98652109fd9f7e10268dd4571aa52b81987001b806f37ef1a18260de714a/rpds_py-2026.9.1-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:0f045bb053c9057720d72c56dffe30dffdc05997b2897a827b9325f0ab6623fa", size = 582606, upload-time = "2026-10-04T16:30:43.345Z" }, + { url = "https://files.pythonhosted.org/packages/19/03/11ca09099bab5f53373a80a334c424ec917c13d050760a59499d2af5171e/rpds_py-2026.9.1-cp314-cp314t-win32.whl", hash = "sha256:bf35d0568abda97233239ce32896d3ad53fccc537832c104e30c94aa5fb93569", size = 203341, upload-time = "2026-10-04T16:30:44.954Z" }, + { url = "https://files.pythonhosted.org/packages/6f/8a/88909e3ffd9f47f5b58211473875d8c3c09079f0058c46fb72c55a702a26/rpds_py-2026.9.1-cp314-cp314t-win_amd64.whl", hash = "sha256:1e8d4d79d828299bf44a55db22a9388ab967b49d17132c88eab0f4360b48da8e", size = 222843, upload-time = "2026-10-04T16:30:46.486Z" }, + { url = "https://files.pythonhosted.org/packages/f6/b7/a662f367d4896dd0a10cef2fc91f10b7f08af1c10858e287e019563f338d/rpds_py-2026.9.1-cp315-cp315-macosx_10_12_x86_64.whl", hash = "sha256:1d77b649e6f7cdf12ca5c2a98dad0ad37f9ea9b6f960408a92f0cb12bb3d04d9", size = 347463, upload-time = "2026-10-04T16:30:48.203Z" }, + { url = "https://files.pythonhosted.org/packages/ae/3f/ad45d03df4f84ebae5439577ee81f3999d182711e82235c8037b6528890e/rpds_py-2026.9.1-cp315-cp315-macosx_11_0_arm64.whl", hash = "sha256:00ba2d8c7dd4ee537978ddf4b3fbd712bef2d8751603f7f3146b3f4287768e25", size = 342051, upload-time = "2026-10-04T16:30:49.872Z" }, + { url = "https://files.pythonhosted.org/packages/7e/31/3dcd68c13d4bcc59c1f7eb33ac8e80698f06f3eb0d8a1e06419836071c20/rpds_py-2026.9.1-cp315-cp315-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ec450527cbf485e13c8d3602a54f428ab0432fdade0ede75efd74b735421c871", size = 374143, upload-time = "2026-10-04T16:30:51.508Z" }, + { url = "https://files.pythonhosted.org/packages/cf/0d/68c1f058a250fbd1380ebda9fc227cbf50117adf8ffe8161ef383ea79f68/rpds_py-2026.9.1-cp315-cp315-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:306ee1850d8105b5baf977e78d45fcadd12c1a54678d614c9baf217708446e91", size = 378604, upload-time = "2026-10-04T16:30:53.206Z" }, + { url = "https://files.pythonhosted.org/packages/d7/d6/2d4c59b85397cb4800594fadf692688ccf5ce556adc930e7a5bf21061a5e/rpds_py-2026.9.1-cp315-cp315-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:ef6b65b03247c54692ad4fd9ee97cb772781927db72e3cb05e70b3db6d1ff14f", size = 490790, upload-time = "2026-10-04T16:30:54.925Z" }, + { url = "https://files.pythonhosted.org/packages/da/04/7e05dc3aebaf52f4e026766bd668fdd09a9d0e23f64a14686b36b3501892/rpds_py-2026.9.1-cp315-cp315-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:a575404ebc9cf2e91edd32eaf570ec1430eb900d4f56724ba7dd4bc1fc9c176d", size = 393146, upload-time = "2026-10-04T16:30:56.625Z" }, + { url = "https://files.pythonhosted.org/packages/57/ca/e2e9a0a46a74ed51a0498ba1fe10f4ea6b2d9a155f372a2f91e51f18cf10/rpds_py-2026.9.1-cp315-cp315-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:2c16ab111bc27c646ba8aa005d0527754edc538ebb636f0b1bf8e244b48d1945", size = 372022, upload-time = "2026-10-04T16:30:58.295Z" }, + { url = "https://files.pythonhosted.org/packages/ba/cb/8f8774df5134e23424372838bcc5c7ed4127d723e1ff52f7bebd4dcb2563/rpds_py-2026.9.1-cp315-cp315-manylinux_2_31_riscv64.whl", hash = "sha256:7664419f27db41d4f1c43a78dccda7dd6e8ef2428df3ee01d0c2a07a6b071297", size = 377092, upload-time = "2026-10-04T16:30:59.984Z" }, + { url = "https://files.pythonhosted.org/packages/90/02/8d7095d73bf9114219be40230baa5df00611e0a82ed9517779ff9c19f82b/rpds_py-2026.9.1-cp315-cp315-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:4b26b03d9d2658ee2fa234f8f4f19f38a09773fe5261028025032e26d4d35af0", size = 400830, upload-time = "2026-10-04T16:31:01.721Z" }, + { url = "https://files.pythonhosted.org/packages/ec/02/8206856f8f363cd042a8315dc86b3912f5dcb6d3c66bbb24b69c2bfb0775/rpds_py-2026.9.1-cp315-cp315-musllinux_1_2_aarch64.whl", hash = "sha256:be3e47e2d91aa3942ff9bf4077a505226005abfc39b6f7554a91c1b9393986b9", size = 551478, upload-time = "2026-10-04T16:31:03.472Z" }, + { url = "https://files.pythonhosted.org/packages/41/6b/36211f1bb1f0b0313f496d92f5905b74ea107f27cb16fa3355a82f04575e/rpds_py-2026.9.1-cp315-cp315-musllinux_1_2_i686.whl", hash = "sha256:6307a0da524939decb8ca4a3933b8ab62525794411d6984fca6726e732804af6", size = 615173, upload-time = "2026-10-04T16:31:05.281Z" }, + { url = "https://files.pythonhosted.org/packages/35/77/cda0c4a6f055446b692f0ed5692f73707cafd3dff82672ede31b1a9b59de/rpds_py-2026.9.1-cp315-cp315-musllinux_1_2_x86_64.whl", hash = "sha256:159a7aab5c5e8b112c8830f54717ce56da1252ebdbb526f5be2df2309280b9e7", size = 579653, upload-time = "2026-10-04T16:31:07.065Z" }, + { url = "https://files.pythonhosted.org/packages/74/ec/d8385f446240aed643b9e92a5055cff3015cc04a13c61f73b2883c478ed5/rpds_py-2026.9.1-cp315-cp315-win32.whl", hash = "sha256:dbc2673f9223d420c91145599b3ba45a8a50c207d1976908e5fb5ddb0c9b9429", size = 206498, upload-time = "2026-10-04T16:31:08.989Z" }, + { url = "https://files.pythonhosted.org/packages/6d/a5/71b5cd00e0521e3b6b81828baea368c62b6b700ebdd9554cd7d41ddf12fa/rpds_py-2026.9.1-cp315-cp315-win_amd64.whl", hash = "sha256:75c38c50ab9aca840225d9a9a3810bf11d04bd5c1f186cabbb8aee56db3e9b15", size = 223121, upload-time = "2026-10-04T16:31:10.84Z" }, + { url = "https://files.pythonhosted.org/packages/33/58/dba857c3bc8221b31b62eb170a3080f4f191de79f047200389b7ed1b06a7/rpds_py-2026.9.1-cp315-cp315-win_arm64.whl", hash = "sha256:a431156bb41865fc14cd5d79bb9d7bbed83110b0159e34e62ae30951f96c0009", size = 218741, upload-time = "2026-10-04T16:31:12.592Z" }, + { url = "https://files.pythonhosted.org/packages/5b/d0/320ab28ccc1415eeb509d68682b0014fb74690cd49f1c2d29a232475af50/rpds_py-2026.9.1-cp315-cp315t-macosx_10_12_x86_64.whl", hash = "sha256:ef0d8c843e2827d6c120ab4687e9423fb1d893db1df27b7c1506615bcb9734a0", size = 349719, upload-time = "2026-10-04T16:31:14.48Z" }, + { url = "https://files.pythonhosted.org/packages/56/88/f5b12f1358f443c08b7ce3cc8391d82d335f4872580e2e097847fd36087a/rpds_py-2026.9.1-cp315-cp315t-macosx_11_0_arm64.whl", hash = "sha256:45bc6bccf78b20fd834237d18db64965d7ee68ba7f60440a26c7ab71e7b8d51a", size = 343267, upload-time = "2026-10-04T16:31:16.827Z" }, + { url = "https://files.pythonhosted.org/packages/f7/0c/c765b0059d532acb3b9c45d781ccc22f15a96dbe443d00903f643ba9df10/rpds_py-2026.9.1-cp315-cp315t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:1d55198263bb51f557550c6ed2e6d1cb6a6fed6eb5c9120b741c5926bef8a45d", size = 374555, upload-time = "2026-10-04T16:31:18.931Z" }, + { url = "https://files.pythonhosted.org/packages/6b/8a/cafddfda77564a10cd21184640c3bffda6a2b8d20972fb5dedd5e0166328/rpds_py-2026.9.1-cp315-cp315t-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:a8763f20692da7df39b0afdd1ba3042b004c50a45994f76c2d9a25641f7673db", size = 378346, upload-time = "2026-10-04T16:31:20.75Z" }, + { url = "https://files.pythonhosted.org/packages/b9/01/5e626016eff72c183bf6c96539240cace15d402468647a453ec08415b2fc/rpds_py-2026.9.1-cp315-cp315t-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:e43d4a1f673e8a1cbd8533e809e02b4bf9d4f2280269bb640436556312121250", size = 492373, upload-time = "2026-10-04T16:31:22.614Z" }, + { url = "https://files.pythonhosted.org/packages/3b/9c/15a2469e9389242f46896b3f0a01d68caea8a5a35c011fcb05ef333aae73/rpds_py-2026.9.1-cp315-cp315t-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:ea394a937f17a54c51239348bdbe2e3518124c8d4a8951ba04a311d3095bd18f", size = 394371, upload-time = "2026-10-04T16:31:24.768Z" }, + { url = "https://files.pythonhosted.org/packages/63/f5/c100ff77e1e6366e947c75969c258fdfc4b7bc5bbfe7351e62ffbf2a1228/rpds_py-2026.9.1-cp315-cp315t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:cdeaa99ce822dca76cfb1b993e9120c5ea212f2eb66d48950ad63c349668a018", size = 375132, upload-time = "2026-10-04T16:31:26.588Z" }, + { url = "https://files.pythonhosted.org/packages/dd/f4/fe0269c9de253e99c81cabc12b8971a5feaa083debdaff1221e06264d9e3/rpds_py-2026.9.1-cp315-cp315t-manylinux_2_31_riscv64.whl", hash = "sha256:b4f062343e7ad3fa94f2c66e5ae667dee47ee74dd41a9057c4fbe163236a123d", size = 377642, upload-time = "2026-10-04T16:31:28.677Z" }, + { url = "https://files.pythonhosted.org/packages/05/65/b34a7b257baccff8f4a24a722933166d4941d5ebdc9c3f4bc4ffcd5ce4f4/rpds_py-2026.9.1-cp315-cp315t-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:22ffd29a63d71fb1b81552c21f2c2b734949b7ac751a9be70675a939a900839b", size = 400855, upload-time = "2026-10-04T16:31:30.802Z" }, + { url = "https://files.pythonhosted.org/packages/98/32/844e54176b6071b90b38a564e6940bc6eb8f97b2890dc709c19db9dec0f4/rpds_py-2026.9.1-cp315-cp315t-musllinux_1_2_aarch64.whl", hash = "sha256:08dae4a4095150a7c4545a1fb40b98e1ab1744fbc2770d92c977b9dadaa49ab6", size = 552573, upload-time = "2026-10-04T16:31:32.709Z" }, + { url = "https://files.pythonhosted.org/packages/17/73/6041d20729dffbfdf155c02d65be58bc225a1c1fb548fd87c23ef306138f/rpds_py-2026.9.1-cp315-cp315t-musllinux_1_2_i686.whl", hash = "sha256:9a0460d43603d1fd9ef59c30278531e15d78581721ddb538fa560aa7817ea4ad", size = 615840, upload-time = "2026-10-04T16:31:34.565Z" }, + { url = "https://files.pythonhosted.org/packages/af/9e/418094adaee6b056ce199051b255448ed872829051e341b2294c80da0977/rpds_py-2026.9.1-cp315-cp315t-musllinux_1_2_x86_64.whl", hash = "sha256:1c2d1f6da5128eabf34e963d7163a818846075a52568250d006c4c953b40f903", size = 582764, upload-time = "2026-10-04T16:31:36.665Z" }, + { url = "https://files.pythonhosted.org/packages/3d/9b/1698ebf6b840ddfe8b472198abbed6ace35c6e398faeecd6c47dae742a4e/rpds_py-2026.9.1-cp315-cp315t-win32.whl", hash = "sha256:5c6ee90dee3e85e055ddfd502d611643d9b0fd94c818220bda84ec3dacd9b27b", size = 203795, upload-time = "2026-10-04T16:31:38.53Z" }, + { url = "https://files.pythonhosted.org/packages/8a/e2/91f70d804c61f8eac39a417e82aa1024f655ab9e8bdd7393b196242bc41b/rpds_py-2026.9.1-cp315-cp315t-win_amd64.whl", hash = "sha256:fe5ad0664ec772b02c45859041aa17655709cced7a31005817fbbbd988c25567", size = 223037, upload-time = "2026-10-04T16:31:40.468Z" }, + { url = "https://files.pythonhosted.org/packages/f3/ad/f0eba548e297987964ef8088403db875b333963bf8189f3f563b6936b20e/rpds_py-2026.9.1-pp311-pypy311_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:4c0d2cb595a420b34d5086db0add011e26e2c09d6a024afbac4228bf8f863a30", size = 384112, upload-time = "2026-10-04T16:31:42.643Z" }, + { url = "https://files.pythonhosted.org/packages/33/89/891fa4d81f1eae7fe262ecd0aba2c51de94a116c7f3ccfb034fa75f4c537/rpds_py-2026.9.1-pp311-pypy311_pp73-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:f3d6ed6a98cfd19155996605474982cc470d7601746a6439078f1a5a3fa8b050", size = 389662, upload-time = "2026-10-04T16:31:44.642Z" }, + { url = "https://files.pythonhosted.org/packages/4f/46/912cf623b2263f9c9c2d04e8508fc38dbe89983faeba5fb36ca4558ae550/rpds_py-2026.9.1-pp311-pypy311_pp73-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:8171b44a054e5c67fd748ada04187f1250bf35b95f85e52ab64bcf3331a923bb", size = 504637, upload-time = "2026-10-04T16:31:46.667Z" }, + { url = "https://files.pythonhosted.org/packages/9b/5c/7f3cfa7c5f01765c9f47c8398210ed0c1eb686c0e99c223cb1c6776d3fb9/rpds_py-2026.9.1-pp311-pypy311_pp73-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:fda1d96e542c37b6c804547dbf489c129fe7c97183a76a5ec275909ba1a063df", size = 402607, upload-time = "2026-10-04T16:31:49.068Z" }, + { url = "https://files.pythonhosted.org/packages/f0/76/2e915d4115ee453c33e6af17bc1df7e22ddc52974e178eeeb92a78c09983/rpds_py-2026.9.1-pp311-pypy311_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:270bdcdaac5d5b6f73c5e22e7e135c7f2a50e789f71d9e241d5be8d90026e19a", size = 382762, upload-time = "2026-10-04T16:31:51.24Z" }, + { url = "https://files.pythonhosted.org/packages/0d/e5/844382925d7b84a4074ad79fc2b9d05eb6231ea243b34f247e68e519b606/rpds_py-2026.9.1-pp311-pypy311_pp73-manylinux_2_31_riscv64.whl", hash = "sha256:84a6ecc0c940169190d2c23bd969debd48c94dbc855acd60188a68d71d421608", size = 389563, upload-time = "2026-10-04T16:31:53.549Z" }, + { url = "https://files.pythonhosted.org/packages/81/82/d6e3951602dc2e24790ef9d299aa24bf5e2493df5043f2c6da00480cc447/rpds_py-2026.9.1-pp311-pypy311_pp73-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:ab4b2fda7c2b542f7f9d886cc6a838c5079d2b76f72e6081411faba11adde2c9", size = 416842, upload-time = "2026-10-04T16:31:55.76Z" }, + { url = "https://files.pythonhosted.org/packages/ea/1c/8d248e4ea671d525ab7daa0703ad81cc2175076fa0ccd7ef088facbd2b01/rpds_py-2026.9.1-pp311-pypy311_pp73-musllinux_1_2_aarch64.whl", hash = "sha256:44b32a7c4f0da3d28af31c259e38ddcff096f855e205ed0671d02fcf44f1ea1c", size = 562434, upload-time = "2026-10-04T16:31:57.874Z" }, + { url = "https://files.pythonhosted.org/packages/ad/38/e7ac0db898120d15dea25e3661b1242a40cb3b23d1f4db86c15a01fe0ba1/rpds_py-2026.9.1-pp311-pypy311_pp73-musllinux_1_2_i686.whl", hash = "sha256:a3dbc5ed9514908d5046107d7b1346bde71eea61de6e0e4919c19354f97e769f", size = 627909, upload-time = "2026-10-04T16:31:59.977Z" }, + { url = "https://files.pythonhosted.org/packages/03/c8/37e555514932cb1ee36c75349187aa882a98dee5d5654c761699ed8a0d27/rpds_py-2026.9.1-pp311-pypy311_pp73-musllinux_1_2_x86_64.whl", hash = "sha256:6eae33003518fd4cb4f83a218d5371469dd3001aa3b87128c005b07762f7fe5e", size = 593658, upload-time = "2026-10-04T16:32:02.14Z" }, + { url = "https://files.pythonhosted.org/packages/12/5c/5f69a91add94a8a33acea68a2b034a464946a654ff7296af9d957ef0d6a5/rpds_py-2026.9.1-pp311-pypy311_pp80-macosx_10_12_x86_64.whl", hash = "sha256:0483515261947e4e8b8e1375bf7463e7eb6ccfb3d86e7b554d90cd5285f20f32", size = 351769, upload-time = "2026-10-04T16:32:04.675Z" }, + { url = "https://files.pythonhosted.org/packages/41/22/35ea8bf3b2682b90ab687c74e4828418ff12298a5b0b0a0c033f61c86a30/rpds_py-2026.9.1-pp311-pypy311_pp80-macosx_11_0_arm64.whl", hash = "sha256:4cfaf02209061880210819934de2f4f6aa83dc04dafe6770276acc240a56da31", size = 351719, upload-time = "2026-10-04T16:32:06.834Z" }, + { url = "https://files.pythonhosted.org/packages/a3/90/a9ba81408369d34c1aca73319c15adc91ed45c1d21e9e8ee4832ffb7fe0b/rpds_py-2026.9.1-pp312-pypy312_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:6cdc537c8633d7fd92a82e2e0d2ab74320a3f63d5e59fb9cf08711e08fe151c4", size = 381109, upload-time = "2026-10-04T16:32:08.994Z" }, + { url = "https://files.pythonhosted.org/packages/b3/44/5192a0bed94cec86bd2a5e1cc5a1bb8f7eec3aec907eacd2deb13e87e326/rpds_py-2026.9.1-pp312-pypy312_pp73-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:10e208f2425d973938afcd56e28a7c4be32e27b6a60b5d381f49fb9d8acf9759", size = 388222, upload-time = "2026-10-04T16:32:11.321Z" }, + { url = "https://files.pythonhosted.org/packages/92/cd/5356549711448f18b52f7a11ffbe90f1228774996fbf3c6cd1b18d22abaf/rpds_py-2026.9.1-pp312-pypy312_pp73-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:6c0dbbcc19735fe5f8b0a54c07659d154a9e69f47e15d0a6ab7299215daf62cb", size = 500384, upload-time = "2026-10-04T16:32:13.478Z" }, + { url = "https://files.pythonhosted.org/packages/7a/88/ddda9d28adfe33119c75b2e733d4ba7e326f41d7e1b1093951771768ca48/rpds_py-2026.9.1-pp312-pypy312_pp73-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:684fd492fff4fead00587544e059be2bbcb6f93454f21fa2a91b66fc7508be82", size = 401661, upload-time = "2026-10-04T16:32:15.653Z" }, + { url = "https://files.pythonhosted.org/packages/32/c3/bb59ba16a6b4a57995d15b8c04c00f28df3b938c4dcdde48fbe0f73edb0c/rpds_py-2026.9.1-pp312-pypy312_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:d1028417bb44037eb3069c1009bd7b7277212876cda22fbe565b0bca9fab6d2c", size = 380748, upload-time = "2026-10-04T16:32:17.727Z" }, + { url = "https://files.pythonhosted.org/packages/f5/b8/0580faa1c5a32ddc160130dd7ae54d2d007272a89a40a6b5db3e50f9f585/rpds_py-2026.9.1-pp312-pypy312_pp73-manylinux_2_31_riscv64.whl", hash = "sha256:492e5e428cbe126221611f47e068f01660352feec4ad18bc0f5ea9b2ae88fb14", size = 385731, upload-time = "2026-10-04T16:32:19.855Z" }, + { url = "https://files.pythonhosted.org/packages/bf/70/f73564642bbe3322c7eeef2c2f258cf040b71c41a430b532e59d04a1b838/rpds_py-2026.9.1-pp312-pypy312_pp73-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:88b5268892fde430d5531f95bc560b6efbbd67c929662c586afd729a96e7461c", size = 412131, upload-time = "2026-10-04T16:32:22.285Z" }, + { url = "https://files.pythonhosted.org/packages/8c/5d/17fff2e1f8f68721a2afb5cb48f7e442c751bb6b4883157c5abaf618cd08/rpds_py-2026.9.1-pp312-pypy312_pp73-musllinux_1_2_aarch64.whl", hash = "sha256:01445c8d194aa032a08e944f16567672da1c62dbdbefd8b6d0693032e290cf68", size = 558193, upload-time = "2026-10-04T16:32:24.4Z" }, + { url = "https://files.pythonhosted.org/packages/2a/d0/869ab6fb08531f97aae4a780b4d61b4190d8aef48fe054ee28bcf7114466/rpds_py-2026.9.1-pp312-pypy312_pp73-musllinux_1_2_i686.whl", hash = "sha256:eef6a03b0b6d08d0835ccfa8ec8d1bc70525e3801387567137b50c557695e6da", size = 622448, upload-time = "2026-10-04T16:32:26.844Z" }, + { url = "https://files.pythonhosted.org/packages/ba/a5/9672e532fe02cd3b92c78cfd8743abca939d96853006c63835009a1ecb6f/rpds_py-2026.9.1-pp312-pypy312_pp73-musllinux_1_2_x86_64.whl", hash = "sha256:6b9bf3135b4ad5981df9a73d71a35272d650a2985ae9c2746357b24d59de2448", size = 591126, upload-time = "2026-10-04T16:32:29.274Z" }, + { url = "https://files.pythonhosted.org/packages/80/ef/3a9f8e4279c7920af561deed4cb7ebebed2794a8f608cf404d5eef14a105/rpds_py-2026.9.1-pp312-pypy312_pp80-macosx_10_12_x86_64.whl", hash = "sha256:56c6952a9b15047466d0c2347c446a761d4527f89976156341e68f0ce5cc08b0", size = 357108, upload-time = "2026-10-04T16:32:31.641Z" }, + { url = "https://files.pythonhosted.org/packages/b7/55/4b2fa381a583760aea5c92841e4e928a358e1c6511b129219e9c2826a226/rpds_py-2026.9.1-pp312-pypy312_pp80-macosx_11_0_arm64.whl", hash = "sha256:b242c27c8f836305a4a72df9cdd564386ac57b807bd252a063223331c9316b37", size = 346877, upload-time = "2026-10-04T16:32:34.061Z" }, +] + +[[package]] +name = "ruff" +version = "0.16.10" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/c4/49/23802c45f093eb14bde54b141d2b2f058edfa63a06db7beed047308cc08f/ruff-0.16.10.tar.gz", hash = "sha256:eff4728c4eaae93f0955cd264d24b2ab348e74bf59986ccf282ba6dc16b3b017", size = 4958724, upload-time = "2026-10-01T18:03:21.697Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/2f/21/ebce22e1d90cdb2cd691026b9c6e9bec6499f0b396089481755b5d49efff/ruff-0.16.10-py3-none-linux_armv6l.whl", hash = "sha256:488b0fe3f3574210e5cf80d9f59b9e3ab17a127a8155de3f307b392589cfb511", size = 10095557, upload-time = "2026-10-01T18:02:36.072Z" }, + { url = "https://files.pythonhosted.org/packages/cb/98/a54de85876a8b2612bfa0d84c7b9abfb39c6a3354aee7800b09c1649b9e3/ruff-0.16.10-py3-none-macosx_10_12_x86_64.whl", hash = "sha256:e748ff95c934c4e978783b8e687bc174e7bd84e8ad24e3243e1ecfcda5e0282d", size = 10340577, upload-time = "2026-10-01T18:02:39.258Z" }, + { url = "https://files.pythonhosted.org/packages/9f/16/1a5a4a2657effe4806110f2b907313802f1367fcdbb29e8122766e407fab/ruff-0.16.10-py3-none-macosx_11_0_arm64.whl", hash = "sha256:3031a4a2e8e7b8a46f70be45f198c35a11ece509a94b80334d8d397a33c67550", size = 9774282, upload-time = "2026-10-01T18:02:41.79Z" }, + { url = "https://files.pythonhosted.org/packages/6e/fb/470085af734da396e68cd80fb0a3e7c109a459716ae59588c0f6fab8a17d/ruff-0.16.10-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:494401c86df4c4c25f69b9419605d944467ee98c42fb6ad405ef4fa40b8fb67d", size = 9920895, upload-time = "2026-10-01T18:02:44.458Z" }, + { url = "https://files.pythonhosted.org/packages/57/de/f10cffe4f88a37ea6615ec460f01bf76f0bc1477737a35d9ee61a630a78b/ruff-0.16.10-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:d203abc0ff2b773ee33d00ab8df0bb67046fbc7c07b119332f08b9b345cf8221", size = 9902707, upload-time = "2026-10-01T18:02:47.041Z" }, + { url = "https://files.pythonhosted.org/packages/ff/44/3fdcedf83ae60ef837dd239170e480dce606a9142cfa2db911afdf855fd9/ruff-0.16.10-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:bd83d1235a5258d318477bc5b576303974cbdef5df0c01a1bff14efcc23bd12a", size = 10619287, upload-time = "2026-10-01T18:02:49.485Z" }, + { url = "https://files.pythonhosted.org/packages/c1/62/02e76a5574002153618eafbb70e159468addc72a5d2c488e65cbb4639d2d/ruff-0.16.10-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:bc2610fb269fa56dd8a68669ae470fa6272902668c0fc2ebc3aa112b2633d5b8", size = 11339942, upload-time = "2026-10-01T18:02:52.008Z" }, + { url = "https://files.pythonhosted.org/packages/6b/c4/cde27d47ad8d4126c587e608c67c46e7feac11763f606d261a1bc8a489e6/ruff-0.16.10-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:3e70175e29cc94c26ea296c80e470180b744b7419026898e58f520c6ab32578e", size = 10934316, upload-time = "2026-10-01T18:02:54.811Z" }, + { url = "https://files.pythonhosted.org/packages/e4/03/17234145f302a645a123e8c3bb2411ecf4669fbc350de3b0d803230a1729/ruff-0.16.10-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:f33f43a864a8483eebd160e713336c8bab02c934feaff0a33cf5ccb41546d09a", size = 10387968, upload-time = "2026-10-01T18:02:57.497Z" }, + { url = "https://files.pythonhosted.org/packages/71/29/2493af60240ee7644b38a4b821f5f9c3b5a4fa3178770fe1d0c685217395/ruff-0.16.10-py3-none-manylinux_2_31_riscv64.whl", hash = "sha256:1dfc6f0088149fb6a362c1c446bcbb3fd2157b3852fe2fa68409276eab9ad9b3", size = 10537906, upload-time = "2026-10-01T18:03:00.006Z" }, + { url = "https://files.pythonhosted.org/packages/2e/9a/f56b28f3b143bb9e518c34fb89ab191b626bca8b70dbf8af0d2e2d473572/ruff-0.16.10-py3-none-musllinux_1_2_aarch64.whl", hash = "sha256:6553498afc35f580f036030795810b9e6bcea31604b0fd9e8d352795473042e3", size = 10012938, upload-time = "2026-10-01T18:03:03.006Z" }, + { url = "https://files.pythonhosted.org/packages/c2/c4/fca37362848ea4d4d80712df13632e645e7c7cfb1bdedf140699ac7a090b/ruff-0.16.10-py3-none-musllinux_1_2_armv7l.whl", hash = "sha256:a3b8471dea115d37f123882be852bed13403746d3a76c11de4a19ec5f9ff5a03", size = 9897945, upload-time = "2026-10-01T18:03:05.818Z" }, + { url = "https://files.pythonhosted.org/packages/7d/c7/e0bc57664d6e0c61fd22f620af260fe9662d7e1ddb320ea7f160e76ef165/ruff-0.16.10-py3-none-musllinux_1_2_i686.whl", hash = "sha256:92e59a70bcbd9d3a5483656da906ec28edfdacfce00afd99edb8b4e9d15644be", size = 10333134, upload-time = "2026-10-01T18:03:08.25Z" }, + { url = "https://files.pythonhosted.org/packages/21/aa/5c9f3b68737c0e4a33a1db5dfab44f7b786d96ca91a7233112ddab1e6dc2/ruff-0.16.10-py3-none-musllinux_1_2_x86_64.whl", hash = "sha256:7ae7375f803b5520dc9f546bed7e3a0acb70b91812e9bb4b19927de22f25b77d", size = 10741702, upload-time = "2026-10-01T18:03:10.775Z" }, + { url = "https://files.pythonhosted.org/packages/78/fa/0f9c2020dc316c53d983be011720b8157cc052b97e3f4dfa7db6d0f880a6/ruff-0.16.10-py3-none-win32.whl", hash = "sha256:2a12e01cb9156c10c466f63b46eaae5ecea28dfbd21b5836353ae498e7d1349a", size = 10139176, upload-time = "2026-10-01T18:03:13.267Z" }, + { url = "https://files.pythonhosted.org/packages/99/29/cfb0df9448d4d4ad48c2de029ada9ebd71baa6da983a6c77ee6c6cd0fe82/ruff-0.16.10-py3-none-win_amd64.whl", hash = "sha256:97f2015c92aa97105b0eab19eb5d224884399281cfc5da86a92db4ab5e7fb2ca", size = 10584734, upload-time = "2026-10-01T18:03:16.006Z" }, + { url = "https://files.pythonhosted.org/packages/fc/05/c16957eb287c3fc062e032619a25868d93d408a844b725bcf514f7a378ff/ruff-0.16.10-py3-none-win_arm64.whl", hash = "sha256:25a65fe998c4e6861ec079ada5826a2fc605e6cbccbe9dcd7fac1f54e791621b", size = 10366440, upload-time = "2026-10-01T18:03:19.04Z" }, +] + +[[package]] +name = "scikit-sundae" +version = "1.1.3" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "numpy", version = "2.3.5", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.12' or python_full_version >= '3.15'" }, + { name = "numpy", version = "2.5.3", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.12' and python_full_version < '3.15'" }, + { name = "scipy", version = "1.16.3", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.12' or python_full_version >= '3.15'" }, + { name = "scipy", version = "1.18.1", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.12' and python_full_version < '3.15'" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/a2/2f/669f410f7a151874af1d6ff91e3d129bf80f989e92da3fb8c77f8496f718/scikit_sundae-1.1.3.tar.gz", hash = "sha256:e3d06de0da6715d51310b2cea3835c495e6613d8c19ccbbf1f278aabe7e8f3d6", size = 58460, upload-time = "2026-03-24T16:53:01.608Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/a5/19/a92959704f5a17d53cb2733b10b152f7f984464c7f238c9a8e8268de998c/scikit_sundae-1.1.3-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:1d9f5d3453b46441d9ba3e4b489886d6d93a07d94e87179d22f5f72de19b509d", size = 8647438, upload-time = "2026-03-24T16:52:18.414Z" }, + { url = "https://files.pythonhosted.org/packages/c1/0a/4aae2d59a284081bbbd4260790c2f53d8afa46355046c2e6f6c87536bc53/scikit_sundae-1.1.3-cp311-cp311-macosx_11_0_x86_64.whl", hash = "sha256:27d560372f9fe8e9ccefc2b435ae06e398f8991779d6035f72bd74f742b0003e", size = 15360298, upload-time = "2026-03-24T16:52:21.191Z" }, + { url = "https://files.pythonhosted.org/packages/83/ed/65215555674cc7b0a0f8c4ba4695f3399af2ec22e9933bf848f8c8d49c8e/scikit_sundae-1.1.3-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:dd7644f2a7ac0b23f717de358ee5af1df936ec3a9cd7a89e76cd56efe79b730e", size = 20393107, upload-time = "2026-03-24T16:52:24.612Z" }, + { url = "https://files.pythonhosted.org/packages/79/3d/f98772b54c196b4b24b7bbd74f9a6beb6970e70acdeb10570c033ed64794/scikit_sundae-1.1.3-cp311-cp311-win_amd64.whl", hash = "sha256:81749f31abe7fc4119f2dec2a3d19c5edda698622c4e610ab07ac13d374f9b21", size = 8332634, upload-time = "2026-03-24T16:52:27.492Z" }, + { url = "https://files.pythonhosted.org/packages/e5/5a/36404ebd7d6dee732c7c221607bf47c7a1a07243b1f086fb401101ac5e9f/scikit_sundae-1.1.3-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:5867435d8be40b1c24442106b4823bb024905f409c149b439c52e9b657db2177", size = 8644816, upload-time = "2026-03-24T16:52:29.542Z" }, + { url = "https://files.pythonhosted.org/packages/a4/a2/aa1aafe8e42321bd92b8ada758cb52ceb5d56d51d7943dd1c2860d0fe268/scikit_sundae-1.1.3-cp312-cp312-macosx_11_0_x86_64.whl", hash = "sha256:719de2b52268a984f8b88831fe9a47071c669d2b64e1665c4e7ecc0bc1922834", size = 15348185, upload-time = "2026-03-24T16:52:32.675Z" }, + { url = "https://files.pythonhosted.org/packages/8e/98/37c54707421b4dc933c6a4fe8410adaa5f642df1415ae9cee6390d6e9226/scikit_sundae-1.1.3-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:462d0b3004da4c5d7ef016de18219bfd9afd2d7ee0977a50b95087b9c0b404dc", size = 20413968, upload-time = "2026-03-24T16:52:36.181Z" }, + { url = "https://files.pythonhosted.org/packages/de/2f/6d36fa7f3d7e8c9b22885fcfe0fe22de468b2e1443d26d9c886b3bf963dc/scikit_sundae-1.1.3-cp312-cp312-win_amd64.whl", hash = "sha256:0414c7d47ff664347406071c1a29cc3ab6575a688d2540e8ca45118b1be329c5", size = 8311248, upload-time = "2026-03-24T16:52:38.814Z" }, + { url = "https://files.pythonhosted.org/packages/b6/92/1b82abb0eb8c6250cfda905463a6673e6a5fffd38051109b406a4b6c1b63/scikit_sundae-1.1.3-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:b6fa436b394fd59ee5dfc02a25ec695943768a1d35af55c424132121d4f0bc15", size = 8642693, upload-time = "2026-03-24T16:52:40.918Z" }, + { url = "https://files.pythonhosted.org/packages/eb/22/8d9ee43481d70d49a2d05945ba17a60a1bbef05caeeb2af62f20615ebf48/scikit_sundae-1.1.3-cp313-cp313-macosx_11_0_x86_64.whl", hash = "sha256:4d6d818326d4bff617c21c5c95f18a40fd87b6adff92bc5b19fe05af7de67255", size = 15345773, upload-time = "2026-03-24T16:52:43.725Z" }, + { url = "https://files.pythonhosted.org/packages/bf/35/39ed62e4a7ee41d2a636ecdae837f3011ed977b16931649249df5ed4a333/scikit_sundae-1.1.3-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:ccce108a19cbbabf180ce4320625b805970d6ed2a115d453cdb2c9e29a961e53", size = 20378577, upload-time = "2026-03-24T16:52:46.833Z" }, + { url = "https://files.pythonhosted.org/packages/1a/70/4f02ce2414fc02838d80b6633325995cfa574b1042f6030a0c3bd0881ce9/scikit_sundae-1.1.3-cp313-cp313-win_amd64.whl", hash = "sha256:440ebf7a3aa1ac1253321dab6a14a29e39b773bd553738cf3789f17a7332012d", size = 8310898, upload-time = "2026-03-24T16:52:49.329Z" }, + { url = "https://files.pythonhosted.org/packages/d7/4b/54493af986ddfdb5c6fcdec49935f2dfcbe5bafd791a410dcc48da4e952f/scikit_sundae-1.1.3-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:502acb40d777f2b50758c754da93d8aa74663bffda63746285ef5dd7cb8e2046", size = 8645270, upload-time = "2026-03-24T16:52:51.323Z" }, + { url = "https://files.pythonhosted.org/packages/07/78/4eaa9e9f37bc939df98ae096201a173329705135d55815b6861d62f4f9d2/scikit_sundae-1.1.3-cp314-cp314-macosx_11_0_x86_64.whl", hash = "sha256:56ee83ec591e65424d19e4327f8d31bb667753a94b06ef92c56c956829586624", size = 15345941, upload-time = "2026-03-24T16:52:53.795Z" }, + { url = "https://files.pythonhosted.org/packages/74/5a/53fc641fa15062136032ffc54f55a9ba6c0a089dabf8bd0b2edce70809c8/scikit_sundae-1.1.3-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:bfc172566739c920b6e6916a0695b05dfe4c44d90d815ea40ef6d0581cde3353", size = 20343192, upload-time = "2026-03-24T16:52:57.124Z" }, + { url = "https://files.pythonhosted.org/packages/f3/eb/1b24c70ea32ff049c359c71d1f8a355730ca7831ff9e2b87595b6b616094/scikit_sundae-1.1.3-cp314-cp314-win_amd64.whl", hash = "sha256:593da130d42b2ba1bee3c6fa3e37e1a4155a504ec5c99a5474ff58b94da656ba", size = 8431243, upload-time = "2026-03-24T16:52:59.73Z" }, +] + +[[package]] +name = "scipy" +version = "1.16.3" +source = { registry = "https://pypi.org/simple" } +resolution-markers = [ + "python_full_version < '3.12'", +] +dependencies = [ + { name = "numpy", version = "2.3.5", source = { registry = "https://pypi.org/simple" } }, +] +sdist = { url = "https://files.pythonhosted.org/packages/0a/ca/d8ace4f98322d01abcd52d381134344bf7b431eba7ed8b42bdea5a3c2ac9/scipy-1.16.3.tar.gz", hash = "sha256:01e87659402762f43bd2fee13370553a17ada367d42e7487800bf2916535aecb", size = 30597883, upload-time = "2025-10-28T17:38:54.068Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/9b/5f/6f37d7439de1455ce9c5a556b8d1db0979f03a796c030bafdf08d35b7bf9/scipy-1.16.3-cp311-cp311-macosx_10_14_x86_64.whl", hash = "sha256:40be6cf99e68b6c4321e9f8782e7d5ff8265af28ef2cd56e9c9b2638fa08ad97", size = 36630881, upload-time = "2025-10-28T17:31:47.104Z" }, + { url = "https://files.pythonhosted.org/packages/7c/89/d70e9f628749b7e4db2aa4cd89735502ff3f08f7b9b27d2e799485987cd9/scipy-1.16.3-cp311-cp311-macosx_12_0_arm64.whl", hash = "sha256:8be1ca9170fcb6223cc7c27f4305d680ded114a1567c0bd2bfcbf947d1b17511", size = 28941012, upload-time = "2025-10-28T17:31:53.411Z" }, + { url = "https://files.pythonhosted.org/packages/a8/a8/0e7a9a6872a923505dbdf6bb93451edcac120363131c19013044a1e7cb0c/scipy-1.16.3-cp311-cp311-macosx_14_0_arm64.whl", hash = "sha256:bea0a62734d20d67608660f69dcda23e7f90fb4ca20974ab80b6ed40df87a005", size = 20931935, upload-time = "2025-10-28T17:31:57.361Z" }, + { url = "https://files.pythonhosted.org/packages/bd/c7/020fb72bd79ad798e4dbe53938543ecb96b3a9ac3fe274b7189e23e27353/scipy-1.16.3-cp311-cp311-macosx_14_0_x86_64.whl", hash = "sha256:2a207a6ce9c24f1951241f4693ede2d393f59c07abc159b2cb2be980820e01fb", size = 23534466, upload-time = "2025-10-28T17:32:01.875Z" }, + { url = "https://files.pythonhosted.org/packages/be/a0/668c4609ce6dbf2f948e167836ccaf897f95fb63fa231c87da7558a374cd/scipy-1.16.3-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:532fb5ad6a87e9e9cd9c959b106b73145a03f04c7d57ea3e6f6bb60b86ab0876", size = 33593618, upload-time = "2025-10-28T17:32:06.902Z" }, + { url = "https://files.pythonhosted.org/packages/ca/6e/8942461cf2636cdae083e3eb72622a7fbbfa5cf559c7d13ab250a5dbdc01/scipy-1.16.3-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:0151a0749efeaaab78711c78422d413c583b8cdd2011a3c1d6c794938ee9fdb2", size = 35899798, upload-time = "2025-10-28T17:32:12.665Z" }, + { url = "https://files.pythonhosted.org/packages/79/e8/d0f33590364cdbd67f28ce79368b373889faa4ee959588beddf6daef9abe/scipy-1.16.3-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:b7180967113560cca57418a7bc719e30366b47959dd845a93206fbed693c867e", size = 36226154, upload-time = "2025-10-28T17:32:17.961Z" }, + { url = "https://files.pythonhosted.org/packages/39/c1/1903de608c0c924a1749c590064e65810f8046e437aba6be365abc4f7557/scipy-1.16.3-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:deb3841c925eeddb6afc1e4e4a45e418d19ec7b87c5df177695224078e8ec733", size = 38878540, upload-time = "2025-10-28T17:32:23.907Z" }, + { url = "https://files.pythonhosted.org/packages/f1/d0/22ec7036ba0b0a35bccb7f25ab407382ed34af0b111475eb301c16f8a2e5/scipy-1.16.3-cp311-cp311-win_amd64.whl", hash = "sha256:53c3844d527213631e886621df5695d35e4f6a75f620dca412bcd292f6b87d78", size = 38722107, upload-time = "2025-10-28T17:32:29.921Z" }, + { url = "https://files.pythonhosted.org/packages/7b/60/8a00e5a524bb3bf8898db1650d350f50e6cffb9d7a491c561dc9826c7515/scipy-1.16.3-cp311-cp311-win_arm64.whl", hash = "sha256:9452781bd879b14b6f055b26643703551320aa8d79ae064a71df55c00286a184", size = 25506272, upload-time = "2025-10-28T17:32:34.577Z" }, + { url = "https://files.pythonhosted.org/packages/40/41/5bf55c3f386b1643812f3a5674edf74b26184378ef0f3e7c7a09a7e2ca7f/scipy-1.16.3-cp312-cp312-macosx_10_14_x86_64.whl", hash = "sha256:81fc5827606858cf71446a5e98715ba0e11f0dbc83d71c7409d05486592a45d6", size = 36659043, upload-time = "2025-10-28T17:32:40.285Z" }, + { url = "https://files.pythonhosted.org/packages/1e/0f/65582071948cfc45d43e9870bf7ca5f0e0684e165d7c9ef4e50d783073eb/scipy-1.16.3-cp312-cp312-macosx_12_0_arm64.whl", hash = "sha256:c97176013d404c7346bf57874eaac5187d969293bf40497140b0a2b2b7482e07", size = 28898986, upload-time = "2025-10-28T17:32:45.325Z" }, + { url = "https://files.pythonhosted.org/packages/96/5e/36bf3f0ac298187d1ceadde9051177d6a4fe4d507e8f59067dc9dd39e650/scipy-1.16.3-cp312-cp312-macosx_14_0_arm64.whl", hash = "sha256:2b71d93c8a9936046866acebc915e2af2e292b883ed6e2cbe5c34beb094b82d9", size = 20889814, upload-time = "2025-10-28T17:32:49.277Z" }, + { url = "https://files.pythonhosted.org/packages/80/35/178d9d0c35394d5d5211bbff7ac4f2986c5488b59506fef9e1de13ea28d3/scipy-1.16.3-cp312-cp312-macosx_14_0_x86_64.whl", hash = "sha256:3d4a07a8e785d80289dfe66b7c27d8634a773020742ec7187b85ccc4b0e7b686", size = 23565795, upload-time = "2025-10-28T17:32:53.337Z" }, + { url = "https://files.pythonhosted.org/packages/fa/46/d1146ff536d034d02f83c8afc3c4bab2eddb634624d6529a8512f3afc9da/scipy-1.16.3-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:0553371015692a898e1aa858fed67a3576c34edefa6b7ebdb4e9dde49ce5c203", size = 33349476, upload-time = "2025-10-28T17:32:58.353Z" }, + { url = "https://files.pythonhosted.org/packages/79/2e/415119c9ab3e62249e18c2b082c07aff907a273741b3f8160414b0e9193c/scipy-1.16.3-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:72d1717fd3b5e6ec747327ce9bda32d5463f472c9dce9f54499e81fbd50245a1", size = 35676692, upload-time = "2025-10-28T17:33:03.88Z" }, + { url = "https://files.pythonhosted.org/packages/27/82/df26e44da78bf8d2aeaf7566082260cfa15955a5a6e96e6a29935b64132f/scipy-1.16.3-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:1fb2472e72e24d1530debe6ae078db70fb1605350c88a3d14bc401d6306dbffe", size = 36019345, upload-time = "2025-10-28T17:33:09.773Z" }, + { url = "https://files.pythonhosted.org/packages/82/31/006cbb4b648ba379a95c87262c2855cd0d09453e500937f78b30f02fa1cd/scipy-1.16.3-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:c5192722cffe15f9329a3948c4b1db789fbb1f05c97899187dcf009b283aea70", size = 38678975, upload-time = "2025-10-28T17:33:15.809Z" }, + { url = "https://files.pythonhosted.org/packages/c2/7f/acbd28c97e990b421af7d6d6cd416358c9c293fc958b8529e0bd5d2a2a19/scipy-1.16.3-cp312-cp312-win_amd64.whl", hash = "sha256:56edc65510d1331dae01ef9b658d428e33ed48b4f77b1d51caf479a0253f96dc", size = 38555926, upload-time = "2025-10-28T17:33:21.388Z" }, + { url = "https://files.pythonhosted.org/packages/ce/69/c5c7807fd007dad4f48e0a5f2153038dc96e8725d3345b9ee31b2b7bed46/scipy-1.16.3-cp312-cp312-win_arm64.whl", hash = "sha256:a8a26c78ef223d3e30920ef759e25625a0ecdd0d60e5a8818b7513c3e5384cf2", size = 25463014, upload-time = "2025-10-28T17:33:25.975Z" }, + { url = "https://files.pythonhosted.org/packages/72/f1/57e8327ab1508272029e27eeef34f2302ffc156b69e7e233e906c2a5c379/scipy-1.16.3-cp313-cp313-macosx_10_14_x86_64.whl", hash = "sha256:d2ec56337675e61b312179a1ad124f5f570c00f920cc75e1000025451b88241c", size = 36617856, upload-time = "2025-10-28T17:33:31.375Z" }, + { url = "https://files.pythonhosted.org/packages/44/13/7e63cfba8a7452eb756306aa2fd9b37a29a323b672b964b4fdeded9a3f21/scipy-1.16.3-cp313-cp313-macosx_12_0_arm64.whl", hash = "sha256:16b8bc35a4cc24db80a0ec836a9286d0e31b2503cb2fd7ff7fb0e0374a97081d", size = 28874306, upload-time = "2025-10-28T17:33:36.516Z" }, + { url = "https://files.pythonhosted.org/packages/15/65/3a9400efd0228a176e6ec3454b1fa998fbbb5a8defa1672c3f65706987db/scipy-1.16.3-cp313-cp313-macosx_14_0_arm64.whl", hash = "sha256:5803c5fadd29de0cf27fa08ccbfe7a9e5d741bf63e4ab1085437266f12460ff9", size = 20865371, upload-time = "2025-10-28T17:33:42.094Z" }, + { url = "https://files.pythonhosted.org/packages/33/d7/eda09adf009a9fb81827194d4dd02d2e4bc752cef16737cc4ef065234031/scipy-1.16.3-cp313-cp313-macosx_14_0_x86_64.whl", hash = "sha256:b81c27fc41954319a943d43b20e07c40bdcd3ff7cf013f4fb86286faefe546c4", size = 23524877, upload-time = "2025-10-28T17:33:48.483Z" }, + { url = "https://files.pythonhosted.org/packages/7d/6b/3f911e1ebc364cb81320223a3422aab7d26c9c7973109a9cd0f27c64c6c0/scipy-1.16.3-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:0c3b4dd3d9b08dbce0f3440032c52e9e2ab9f96ade2d3943313dfe51a7056959", size = 33342103, upload-time = "2025-10-28T17:33:56.495Z" }, + { url = "https://files.pythonhosted.org/packages/21/f6/4bfb5695d8941e5c570a04d9fcd0d36bce7511b7d78e6e75c8f9791f82d0/scipy-1.16.3-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:7dc1360c06535ea6116a2220f760ae572db9f661aba2d88074fe30ec2aa1ff88", size = 35697297, upload-time = "2025-10-28T17:34:04.722Z" }, + { url = "https://files.pythonhosted.org/packages/04/e1/6496dadbc80d8d896ff72511ecfe2316b50313bfc3ebf07a3f580f08bd8c/scipy-1.16.3-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:663b8d66a8748051c3ee9c96465fb417509315b99c71550fda2591d7dd634234", size = 36021756, upload-time = "2025-10-28T17:34:13.482Z" }, + { url = "https://files.pythonhosted.org/packages/fe/bd/a8c7799e0136b987bda3e1b23d155bcb31aec68a4a472554df5f0937eef7/scipy-1.16.3-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:eab43fae33a0c39006a88096cd7b4f4ef545ea0447d250d5ac18202d40b6611d", size = 38696566, upload-time = "2025-10-28T17:34:22.384Z" }, + { url = "https://files.pythonhosted.org/packages/cd/01/1204382461fcbfeb05b6161b594f4007e78b6eba9b375382f79153172b4d/scipy-1.16.3-cp313-cp313-win_amd64.whl", hash = "sha256:062246acacbe9f8210de8e751b16fc37458213f124bef161a5a02c7a39284304", size = 38529877, upload-time = "2025-10-28T17:35:51.076Z" }, + { url = "https://files.pythonhosted.org/packages/7f/14/9d9fbcaa1260a94f4bb5b64ba9213ceb5d03cd88841fe9fd1ffd47a45b73/scipy-1.16.3-cp313-cp313-win_arm64.whl", hash = "sha256:50a3dbf286dbc7d84f176f9a1574c705f277cb6565069f88f60db9eafdbe3ee2", size = 25455366, upload-time = "2025-10-28T17:35:59.014Z" }, + { url = "https://files.pythonhosted.org/packages/e2/a3/9ec205bd49f42d45d77f1730dbad9ccf146244c1647605cf834b3a8c4f36/scipy-1.16.3-cp313-cp313t-macosx_10_14_x86_64.whl", hash = "sha256:fb4b29f4cf8cc5a8d628bc8d8e26d12d7278cd1f219f22698a378c3d67db5e4b", size = 37027931, upload-time = "2025-10-28T17:34:31.451Z" }, + { url = "https://files.pythonhosted.org/packages/25/06/ca9fd1f3a4589cbd825b1447e5db3a8ebb969c1eaf22c8579bd286f51b6d/scipy-1.16.3-cp313-cp313t-macosx_12_0_arm64.whl", hash = "sha256:8d09d72dc92742988b0e7750bddb8060b0c7079606c0d24a8cc8e9c9c11f9079", size = 29400081, upload-time = "2025-10-28T17:34:39.087Z" }, + { url = "https://files.pythonhosted.org/packages/6a/56/933e68210d92657d93fb0e381683bc0e53a965048d7358ff5fbf9e6a1b17/scipy-1.16.3-cp313-cp313t-macosx_14_0_arm64.whl", hash = "sha256:03192a35e661470197556de24e7cb1330d84b35b94ead65c46ad6f16f6b28f2a", size = 21391244, upload-time = "2025-10-28T17:34:45.234Z" }, + { url = "https://files.pythonhosted.org/packages/a8/7e/779845db03dc1418e215726329674b40576879b91814568757ff0014ad65/scipy-1.16.3-cp313-cp313t-macosx_14_0_x86_64.whl", hash = "sha256:57d01cb6f85e34f0946b33caa66e892aae072b64b034183f3d87c4025802a119", size = 23929753, upload-time = "2025-10-28T17:34:51.793Z" }, + { url = "https://files.pythonhosted.org/packages/4c/4b/f756cf8161d5365dcdef9e5f460ab226c068211030a175d2fc7f3f41ca64/scipy-1.16.3-cp313-cp313t-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:96491a6a54e995f00a28a3c3badfff58fd093bf26cd5fb34a2188c8c756a3a2c", size = 33496912, upload-time = "2025-10-28T17:34:59.8Z" }, + { url = "https://files.pythonhosted.org/packages/09/b5/222b1e49a58668f23839ca1542a6322bb095ab8d6590d4f71723869a6c2c/scipy-1.16.3-cp313-cp313t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:cd13e354df9938598af2be05822c323e97132d5e6306b83a3b4ee6724c6e522e", size = 35802371, upload-time = "2025-10-28T17:35:08.173Z" }, + { url = "https://files.pythonhosted.org/packages/c1/8d/5964ef68bb31829bde27611f8c9deeac13764589fe74a75390242b64ca44/scipy-1.16.3-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:63d3cdacb8a824a295191a723ee5e4ea7768ca5ca5f2838532d9f2e2b3ce2135", size = 36190477, upload-time = "2025-10-28T17:35:16.7Z" }, + { url = "https://files.pythonhosted.org/packages/ab/f2/b31d75cb9b5fa4dd39a0a931ee9b33e7f6f36f23be5ef560bf72e0f92f32/scipy-1.16.3-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:e7efa2681ea410b10dde31a52b18b0154d66f2485328830e45fdf183af5aefc6", size = 38796678, upload-time = "2025-10-28T17:35:26.354Z" }, + { url = "https://files.pythonhosted.org/packages/b4/1e/b3723d8ff64ab548c38d87055483714fefe6ee20e0189b62352b5e015bb1/scipy-1.16.3-cp313-cp313t-win_amd64.whl", hash = "sha256:2d1ae2cf0c350e7705168ff2429962a89ad90c2d49d1dd300686d8b2a5af22fc", size = 38640178, upload-time = "2025-10-28T17:35:35.304Z" }, + { url = "https://files.pythonhosted.org/packages/8e/f3/d854ff38789aca9b0cc23008d607ced9de4f7ab14fa1ca4329f86b3758ca/scipy-1.16.3-cp313-cp313t-win_arm64.whl", hash = "sha256:0c623a54f7b79dd88ef56da19bc2873afec9673a48f3b85b18e4d402bdd29a5a", size = 25803246, upload-time = "2025-10-28T17:35:42.155Z" }, + { url = "https://files.pythonhosted.org/packages/99/f6/99b10fd70f2d864c1e29a28bbcaa0c6340f9d8518396542d9ea3b4aaae15/scipy-1.16.3-cp314-cp314-macosx_10_14_x86_64.whl", hash = "sha256:875555ce62743e1d54f06cdf22c1e0bc47b91130ac40fe5d783b6dfa114beeb6", size = 36606469, upload-time = "2025-10-28T17:36:08.741Z" }, + { url = "https://files.pythonhosted.org/packages/4d/74/043b54f2319f48ea940dd025779fa28ee360e6b95acb7cd188fad4391c6b/scipy-1.16.3-cp314-cp314-macosx_12_0_arm64.whl", hash = "sha256:bb61878c18a470021fb515a843dc7a76961a8daceaaaa8bad1332f1bf4b54657", size = 28872043, upload-time = "2025-10-28T17:36:16.599Z" }, + { url = "https://files.pythonhosted.org/packages/4d/e1/24b7e50cc1c4ee6ffbcb1f27fe9f4c8b40e7911675f6d2d20955f41c6348/scipy-1.16.3-cp314-cp314-macosx_14_0_arm64.whl", hash = "sha256:f2622206f5559784fa5c4b53a950c3c7c1cf3e84ca1b9c4b6c03f062f289ca26", size = 20862952, upload-time = "2025-10-28T17:36:22.966Z" }, + { url = "https://files.pythonhosted.org/packages/dd/3a/3e8c01a4d742b730df368e063787c6808597ccb38636ed821d10b39ca51b/scipy-1.16.3-cp314-cp314-macosx_14_0_x86_64.whl", hash = "sha256:7f68154688c515cdb541a31ef8eb66d8cd1050605be9dcd74199cbd22ac739bc", size = 23508512, upload-time = "2025-10-28T17:36:29.731Z" }, + { url = "https://files.pythonhosted.org/packages/1f/60/c45a12b98ad591536bfe5330cb3cfe1850d7570259303563b1721564d458/scipy-1.16.3-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:8b3c820ddb80029fe9f43d61b81d8b488d3ef8ca010d15122b152db77dc94c22", size = 33413639, upload-time = "2025-10-28T17:36:37.982Z" }, + { url = "https://files.pythonhosted.org/packages/71/bc/35957d88645476307e4839712642896689df442f3e53b0fa016ecf8a3357/scipy-1.16.3-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:d3837938ae715fc0fe3c39c0202de3a8853aff22ca66781ddc2ade7554b7e2cc", size = 35704729, upload-time = "2025-10-28T17:36:46.547Z" }, + { url = "https://files.pythonhosted.org/packages/3b/15/89105e659041b1ca11c386e9995aefacd513a78493656e57789f9d9eab61/scipy-1.16.3-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:aadd23f98f9cb069b3bd64ddc900c4d277778242e961751f77a8cb5c4b946fb0", size = 36086251, upload-time = "2025-10-28T17:36:55.161Z" }, + { url = "https://files.pythonhosted.org/packages/1a/87/c0ea673ac9c6cc50b3da2196d860273bc7389aa69b64efa8493bdd25b093/scipy-1.16.3-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:b7c5f1bda1354d6a19bc6af73a649f8285ca63ac6b52e64e658a5a11d4d69800", size = 38716681, upload-time = "2025-10-28T17:37:04.1Z" }, + { url = "https://files.pythonhosted.org/packages/91/06/837893227b043fb9b0d13e4bd7586982d8136cb249ffb3492930dab905b8/scipy-1.16.3-cp314-cp314-win_amd64.whl", hash = "sha256:e5d42a9472e7579e473879a1990327830493a7047506d58d73fc429b84c1d49d", size = 39358423, upload-time = "2025-10-28T17:38:20.005Z" }, + { url = "https://files.pythonhosted.org/packages/95/03/28bce0355e4d34a7c034727505a02d19548549e190bedd13a721e35380b7/scipy-1.16.3-cp314-cp314-win_arm64.whl", hash = "sha256:6020470b9d00245926f2d5bb93b119ca0340f0d564eb6fbaad843eaebf9d690f", size = 26135027, upload-time = "2025-10-28T17:38:24.966Z" }, + { url = "https://files.pythonhosted.org/packages/b2/6f/69f1e2b682efe9de8fe9f91040f0cd32f13cfccba690512ba4c582b0bc29/scipy-1.16.3-cp314-cp314t-macosx_10_14_x86_64.whl", hash = "sha256:e1d27cbcb4602680a49d787d90664fa4974063ac9d4134813332a8c53dbe667c", size = 37028379, upload-time = "2025-10-28T17:37:14.061Z" }, + { url = "https://files.pythonhosted.org/packages/7c/2d/e826f31624a5ebbab1cd93d30fd74349914753076ed0593e1d56a98c4fb4/scipy-1.16.3-cp314-cp314t-macosx_12_0_arm64.whl", hash = "sha256:9b9c9c07b6d56a35777a1b4cc8966118fb16cfd8daf6743867d17d36cfad2d40", size = 29400052, upload-time = "2025-10-28T17:37:21.709Z" }, + { url = "https://files.pythonhosted.org/packages/69/27/d24feb80155f41fd1f156bf144e7e049b4e2b9dd06261a242905e3bc7a03/scipy-1.16.3-cp314-cp314t-macosx_14_0_arm64.whl", hash = "sha256:3a4c460301fb2cffb7f88528f30b3127742cff583603aa7dc964a52c463b385d", size = 21391183, upload-time = "2025-10-28T17:37:29.559Z" }, + { url = "https://files.pythonhosted.org/packages/f8/d3/1b229e433074c5738a24277eca520a2319aac7465eea7310ea6ae0e98ae2/scipy-1.16.3-cp314-cp314t-macosx_14_0_x86_64.whl", hash = "sha256:f667a4542cc8917af1db06366d3f78a5c8e83badd56409f94d1eac8d8d9133fa", size = 23930174, upload-time = "2025-10-28T17:37:36.306Z" }, + { url = "https://files.pythonhosted.org/packages/16/9d/d9e148b0ec680c0f042581a2be79a28a7ab66c0c4946697f9e7553ead337/scipy-1.16.3-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:f379b54b77a597aa7ee5e697df0d66903e41b9c85a6dd7946159e356319158e8", size = 33497852, upload-time = "2025-10-28T17:37:42.228Z" }, + { url = "https://files.pythonhosted.org/packages/2f/22/4e5f7561e4f98b7bea63cf3fd7934bff1e3182e9f1626b089a679914d5c8/scipy-1.16.3-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:4aff59800a3b7f786b70bfd6ab551001cb553244988d7d6b8299cb1ea653b353", size = 35798595, upload-time = "2025-10-28T17:37:48.102Z" }, + { url = "https://files.pythonhosted.org/packages/83/42/6644d714c179429fc7196857866f219fef25238319b650bb32dde7bf7a48/scipy-1.16.3-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:da7763f55885045036fabcebd80144b757d3db06ab0861415d1c3b7c69042146", size = 36186269, upload-time = "2025-10-28T17:37:53.72Z" }, + { url = "https://files.pythonhosted.org/packages/ac/70/64b4d7ca92f9cf2e6fc6aaa2eecf80bb9b6b985043a9583f32f8177ea122/scipy-1.16.3-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:ffa6eea95283b2b8079b821dc11f50a17d0571c92b43e2b5b12764dc5f9b285d", size = 38802779, upload-time = "2025-10-28T17:37:59.393Z" }, + { url = "https://files.pythonhosted.org/packages/61/82/8d0e39f62764cce5ffd5284131e109f07cf8955aef9ab8ed4e3aa5e30539/scipy-1.16.3-cp314-cp314t-win_amd64.whl", hash = "sha256:d9f48cafc7ce94cf9b15c6bffdc443a81a27bf7075cf2dcd5c8b40f85d10c4e7", size = 39471128, upload-time = "2025-10-28T17:38:05.259Z" }, + { url = "https://files.pythonhosted.org/packages/64/47/a494741db7280eae6dc033510c319e34d42dd41b7ac0c7ead39354d1a2b5/scipy-1.16.3-cp314-cp314t-win_arm64.whl", hash = "sha256:21d9d6b197227a12dcbf9633320a4e34c6b0e51c57268df255a0942983bac562", size = 26464127, upload-time = "2025-10-28T17:38:11.34Z" }, +] + +[[package]] +name = "scipy" +version = "1.18.1" +source = { registry = "https://pypi.org/simple" } +resolution-markers = [ + "python_full_version == '3.14.*'", + "python_full_version >= '3.12' and python_full_version < '3.14'", +] +dependencies = [ + { name = "numpy", version = "2.5.3", source = { registry = "https://pypi.org/simple" } }, +] +sdist = { url = "https://files.pythonhosted.org/packages/7e/74/66de6258867beb2ef08f35f9f2ac017a52cacd5081714d239ff1a442d458/scipy-1.18.1.tar.gz", hash = "sha256:52c4b7422442aba924d03ad4019852b08a92e64ea187b933135687bfe2747307", size = 30781235, upload-time = "2026-08-21T23:28:50.599Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/18/f7/240c110c08693826b4513a52f5717d62ec7c7af72f2920821247c03b17b3/scipy-1.18.1-cp312-cp312-macosx_10_15_x86_64.whl", hash = "sha256:457fd7a2a8edeb044ab6ffbc0aa03ff6cd18491356e5e0c834d76ce621b916d1", size = 31111061, upload-time = "2026-08-21T23:23:44.522Z" }, + { url = "https://files.pythonhosted.org/packages/05/4a/78c6285577c375e7cf27277ea8ee6961224327f1e1a0c44af5f17f23635c/scipy-1.18.1-cp312-cp312-macosx_12_0_arm64.whl", hash = "sha256:e708533e8b2ae2497d65346538a7dcc92814410b25b81432eac66de0f2af8265", size = 28733332, upload-time = "2026-08-21T23:23:50.015Z" }, + { url = "https://files.pythonhosted.org/packages/a5/f6/a5b82f8abbe14d134691b8b903696f701d25a081353a29dc655c364d9e62/scipy-1.18.1-cp312-cp312-macosx_14_0_arm64.whl", hash = "sha256:7bbf207c4453ce1ad2e00b17313852b33310b83090c2311bdaf97f93c0380d12", size = 20475078, upload-time = "2026-08-21T23:23:54.138Z" }, + { url = "https://files.pythonhosted.org/packages/23/22/0858a0bbd6b3e825ceb8cd9baf9eaf3b2f2b1d77727eb6be40500bcdc92f/scipy-1.18.1-cp312-cp312-macosx_14_0_x86_64.whl", hash = "sha256:78c0665edead396b1abb4897c41a5c1d9bf090c8a637a4c20a61678e0a264e66", size = 23108904, upload-time = "2026-08-21T23:23:57.824Z" }, + { url = "https://files.pythonhosted.org/packages/75/9a/2e71719f31eaefe0e3a1706c4a1ded94e664bfd95ffca2b219a671faee01/scipy-1.18.1-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:3c085faa2cfa879c5141df483f836f4d691045a078224a670fa570fa01612d89", size = 34025113, upload-time = "2026-08-21T23:24:02.209Z" }, + { url = "https://files.pythonhosted.org/packages/df/64/ff35eb9e54894cf471ff4716abd3c81eb0a0626869217ce3e6ba4ccf17d7/scipy-1.18.1-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:f55fa87b6c612ecd6b058f167c53231b1d14e412efe361d3d6e38b3631c73218", size = 35344199, upload-time = "2026-08-21T23:24:07.844Z" }, + { url = "https://files.pythonhosted.org/packages/d3/af/c5538be1792f7034c12c7db6ee67cace58253c7b87b122d68253eaf5de89/scipy-1.18.1-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:c35d74ce0e193ff740c2f2be2ac913ddc232fe6c1ff40b26cfecb9c670c63314", size = 35639587, upload-time = "2026-08-21T23:24:13.05Z" }, + { url = "https://files.pythonhosted.org/packages/91/4c/075e4f66471bac101141ac739e9e135549be1bae584571bd03a530c056e1/scipy-1.18.1-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:d2924a03db38dc2e848bca2fe9f077dafb891480b91a00a0963a8cf86dfc31c1", size = 37480330, upload-time = "2026-08-21T23:24:19.608Z" }, + { url = "https://files.pythonhosted.org/packages/39/e7/979fd14e75008623df31ba70d6bb144700f68feadcea042021c06a05bf82/scipy-1.18.1-cp312-cp312-win_amd64.whl", hash = "sha256:5e4d44984abc0020154ea81b247adeddcc3ac5527b975ff798bd1ba0adc513c2", size = 36658278, upload-time = "2026-08-21T23:24:25.463Z" }, + { url = "https://files.pythonhosted.org/packages/c7/0b/e1525354ff9d7d5feb6d1b31af6d14072e5c91e9607b421fa1ec889660b3/scipy-1.18.1-cp312-cp312-win_arm64.whl", hash = "sha256:d65d448389b8436493abcf629cc94ad0cf32aecaf06e1acca1de53cc795f2f12", size = 24400588, upload-time = "2026-08-21T23:24:30.579Z" }, + { url = "https://files.pythonhosted.org/packages/b6/55/4540ee0f9c42a9ad7109d0d1a8cc70de54c3572b01c6693a2b1c70e90ceb/scipy-1.18.1-cp313-cp313-macosx_10_15_x86_64.whl", hash = "sha256:3ab3523da44749156e1f68b464dc56af11ae4cbc5c739a49d05f32b982eca9f3", size = 31089958, upload-time = "2026-08-21T23:24:35.8Z" }, + { url = "https://files.pythonhosted.org/packages/2a/f5/769f36d14922b8071a43e95d24d18b6bdafad10d7f5cf647867e1ac052bc/scipy-1.18.1-cp313-cp313-macosx_12_0_arm64.whl", hash = "sha256:e6fb6a55cc0ba97b59a1f288fb86dc6fce8bdfc0fffcbfd015e3a954bf2a2d93", size = 28715106, upload-time = "2026-08-21T23:24:40.775Z" }, + { url = "https://files.pythonhosted.org/packages/9a/d7/21d890274f75ea37a8209d5519e72da3da90302e3b9fb8397a0918386a62/scipy-1.18.1-cp313-cp313-macosx_14_0_arm64.whl", hash = "sha256:ea324d9dd34c38bfb9bec8ca4d1b407db97dbb74029f566b8e322b1b6fe56fe6", size = 20456846, upload-time = "2026-08-21T23:24:45.066Z" }, + { url = "https://files.pythonhosted.org/packages/ec/01/798430ecea2e78ec7c02663d5f71c007bb6abeca931080debd40d7fa55ea/scipy-1.18.1-cp313-cp313-macosx_14_0_x86_64.whl", hash = "sha256:75b00eb8fb802090aa903f4ea1c7f5a584779f967361e68b7e98e531cc2d7174", size = 23087986, upload-time = "2026-08-21T23:24:49.539Z" }, + { url = "https://files.pythonhosted.org/packages/e6/5f/4634e9d35c68496e4e34cb6946eafab044458e6cedab42b40b6588e475b6/scipy-1.18.1-cp313-cp313-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:d416b16cccfd70fbf62400e84d0bb2f4e6af519a45557f1692c749b37f14b315", size = 33998146, upload-time = "2026-08-21T23:24:54.714Z" }, + { url = "https://files.pythonhosted.org/packages/41/48/6450ed9243315322bbc19ac57b9b70d66a20bf1d38d124c96bc4bf6af9ea/scipy-1.18.1-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:fdaf5ea890a6183d0565f51a61799d67081bd5b1cf03c5f4b3fd3732108625c9", size = 35312578, upload-time = "2026-08-21T23:25:00.44Z" }, + { url = "https://files.pythonhosted.org/packages/00/bd/bf5a4be6a3525676499f6dff307991739ff6fdcad1481b1aeb6745339f58/scipy-1.18.1-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:c825cef2f49e46753726a7181a8e199804a912b29519ada542c6ebc654951899", size = 35612621, upload-time = "2026-08-21T23:25:06.144Z" }, + { url = "https://files.pythonhosted.org/packages/bd/4e/3c45c33e00a77996c4b1cb707929f833ba7b1d522ee29f882512c330676d/scipy-1.18.1-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:e3b417bf8c2c7c16e8f58ad91db17783ec911ac16e7b50eb6eab6e809b4f5b07", size = 37457323, upload-time = "2026-08-21T23:25:12.483Z" }, + { url = "https://files.pythonhosted.org/packages/93/0e/e0348fbc0dbab65c114cf78957e7dfeb49f8e8b556b4d930cc12ff195e18/scipy-1.18.1-cp313-cp313-win_amd64.whl", hash = "sha256:559ed65f60c1af5a03f3912605a1b5114f522c7c32fb23c3376ae8f03219fe28", size = 36622841, upload-time = "2026-08-21T23:25:18.722Z" }, + { url = "https://files.pythonhosted.org/packages/50/a8/6a77f5f267c555108f0a864b6db714363dab567a8266422a79a385f9232b/scipy-1.18.1-cp313-cp313-win_arm64.whl", hash = "sha256:cd479fc04dd9401e3b4f49e76518768ef99c4f517a98c284eb091fd725719adf", size = 24399315, upload-time = "2026-08-21T23:25:23.458Z" }, + { url = "https://files.pythonhosted.org/packages/06/d5/d8eb4e280ddb56a4ab2c6f02ee49b56b23f6e977cf0802fd6d68dbef14f5/scipy-1.18.1-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:83de5453a7799afc9048b4616bd085cef126e36412f0ea2f6370c36a2a3a51e7", size = 31090936, upload-time = "2026-08-21T23:25:28.686Z" }, + { url = "https://files.pythonhosted.org/packages/2a/49/59ea385dc3a62ff498ddf3cfff7c2b41b0f9f9d3c4122b3f1dcb6d6327fe/scipy-1.18.1-cp314-cp314-macosx_12_0_arm64.whl", hash = "sha256:9554bcc6d715ee87a633a3cc8e7703c6628b100dd29cb8a2efc4c0533c7ff729", size = 28725221, upload-time = "2026-08-21T23:25:33.244Z" }, + { url = "https://files.pythonhosted.org/packages/70/e8/6b0c288c50942d78193696c9f15f9a0874f5178aa0ddf40f83d9924b3e8d/scipy-1.18.1-cp314-cp314-macosx_14_0_arm64.whl", hash = "sha256:011413b7426b75012840e35649e00fe0a2c3bae89fed433876e3a99251572efc", size = 20466839, upload-time = "2026-08-21T23:25:37.516Z" }, + { url = "https://files.pythonhosted.org/packages/4b/e0/54fd3793c729e3b936782f181b59cbb1205bf250ab605a16cb1ba61cdd5e/scipy-1.18.1-cp314-cp314-macosx_14_0_x86_64.whl", hash = "sha256:88f0e784020649f88ea48c9f5ddfa403bf9205820667c0914740b392035afb82", size = 23089121, upload-time = "2026-08-21T23:25:42.019Z" }, + { url = "https://files.pythonhosted.org/packages/0b/56/030af62bea3cf878e0028515dff78c123b01633606a879b63f42d2db99cc/scipy-1.18.1-cp314-cp314-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:2d3ab0e8c69a17dd3559eab8cbb88f258e285c94d572c2719033f90f83290c89", size = 34053851, upload-time = "2026-08-21T23:25:47.998Z" }, + { url = "https://files.pythonhosted.org/packages/6b/89/2a844506d49651e9aa1af6ef95b6bd8031cb1d5a4375edec6155037e04cf/scipy-1.18.1-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:ac0333bdf38309aa3dcbe7e3fa7ea29e7a2c37c6ea306a757b700ded8e4596ad", size = 35329183, upload-time = "2026-08-21T23:25:53.522Z" }, + { url = "https://files.pythonhosted.org/packages/eb/56/c7370c3640e92ac9613cbf26cb3f729f9b12ddf1727b55b94b53b24d6f48/scipy-1.18.1-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:911de823097db8b63f034299d12662db93344e6ffa0b881cbb57748974b70168", size = 35672551, upload-time = "2026-08-21T23:25:59.387Z" }, + { url = "https://files.pythonhosted.org/packages/24/16/ec8536f351421f8bf60a1120930638f83790f4710b8230446aca3d6159d4/scipy-1.18.1-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:95298364e251be3e60249facbeeca03631d3bb7584f85879516ec55ac717b81f", size = 37469416, upload-time = "2026-08-21T23:26:05.432Z" }, + { url = "https://files.pythonhosted.org/packages/52/94/d73da0d28f16c45bb9b0a5691b91610b0275c5ef0eb5e43c87cf2dc1bf31/scipy-1.18.1-cp314-cp314-win_amd64.whl", hash = "sha256:78a0d7c918e74a232394117160e7e3db503377572a45bcef8826e4ab8a35feba", size = 37362755, upload-time = "2026-08-21T23:26:11.366Z" }, + { url = "https://files.pythonhosted.org/packages/89/25/e996e4dc74e10e227b1e14db5eaf6608bb6dd33884a64851c38f18dd4249/scipy-1.18.1-cp314-cp314-win_arm64.whl", hash = "sha256:cbf38d043c1aa4ab306e1ada6ab6eddacc3322a20b7af1b30bc93254b366fe09", size = 25036090, upload-time = "2026-08-21T23:26:15.887Z" }, + { url = "https://files.pythonhosted.org/packages/fa/c9/c00213f92309d753b48903e6a451b87eb52ff5b7a16e789d1568bbf221c4/scipy-1.18.1-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:0fcb3c93519f27bb4f0c4b0f7802cdcaca7fcf93267b75edda2e9f4e8a55cbd7", size = 31485550, upload-time = "2026-08-21T23:26:20.776Z" }, + { url = "https://files.pythonhosted.org/packages/74/b2/e3067c487982d4eeab2938928529410370c06fea84a4d3f4925e7d96647d/scipy-1.18.1-cp314-cp314t-macosx_12_0_arm64.whl", hash = "sha256:ddef79fb382df40104a19bb7151b3b23e57c1778fcf857c71ceecd9bd264513f", size = 29174642, upload-time = "2026-08-21T23:26:25.395Z" }, + { url = "https://files.pythonhosted.org/packages/d5/ab/374c9fe2d1ec014e576c781a4b5d8e1ba340e8f6b4638c16f711d2b194f0/scipy-1.18.1-cp314-cp314t-macosx_14_0_arm64.whl", hash = "sha256:0e82073ecc7acc6436fac4b31674109c7e1d3e596789767eda01258a8c9e8123", size = 20916357, upload-time = "2026-08-21T23:26:30.112Z" }, + { url = "https://files.pythonhosted.org/packages/90/38/223915c88a17317cafbf8ca2a42b11c265a9fb1e804aa665544132b5fe8a/scipy-1.18.1-cp314-cp314t-macosx_14_0_x86_64.whl", hash = "sha256:8bcf3c1ba5d6456e2effd30fcbd3459b044d683fcdac79a2e6830f0bdf7de487", size = 23482611, upload-time = "2026-08-21T23:26:34.846Z" }, + { url = "https://files.pythonhosted.org/packages/c4/d1/db0948da8ca57a80b36520ef0a768b967d99f3af65f4b6f1bf6362ad4dd4/scipy-1.18.1-cp314-cp314t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:cfbf154f2ba187f2ed6cce2639efff7d105f1140573642c0161615b6d91d6a87", size = 34143202, upload-time = "2026-08-21T23:26:40.4Z" }, + { url = "https://files.pythonhosted.org/packages/87/53/39d046cc7574ed6acacb6bd5723e220107ece80bff12faaf3efc4ddeede4/scipy-1.18.1-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:a1d33a7836f7ddc1993427966a0823468ec41bcbdb1a9f9942d1d7e57f803ba3", size = 35380876, upload-time = "2026-08-21T23:26:46.1Z" }, + { url = "https://files.pythonhosted.org/packages/f9/da/32e0e799d875a85ca57d9bde6c78148afcc0e38276df683d95854eadc8c3/scipy-1.18.1-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:7f4b8bc363b6d65ee2152bec57568e3c52639bb34c46057b09857a307ed5e21d", size = 35770885, upload-time = "2026-08-21T23:26:51.533Z" }, + { url = "https://files.pythonhosted.org/packages/88/2e/f97a666d362fee68b18f41c9c30ed502ca5c98b549749bfcb52a8b74d1eb/scipy-1.18.1-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:11c423f1049c5755ad4409af52a9ada1cff96fe9b50795d4af3619f292901239", size = 37525424, upload-time = "2026-08-21T23:26:56.751Z" }, + { url = "https://files.pythonhosted.org/packages/ca/d5/a9e765a84654ebba8479a1fd1b059ced1af72b168a3b2a3a46540ea38d20/scipy-1.18.1-cp314-cp314t-win_amd64.whl", hash = "sha256:c24acac1e18912761c4700239bbc1fd32f615af690f1584d49b35859be51324d", size = 37416961, upload-time = "2026-08-21T23:27:01.546Z" }, + { url = "https://files.pythonhosted.org/packages/ee/16/e79e0d1c63ef698879d85439d37e9fb434e3b804e506a6991038d086ebd9/scipy-1.18.1-cp314-cp314t-win_arm64.whl", hash = "sha256:9f2897bf7737392ad0d5213ea7b6add72a4edf5679b3153106aeb88b6507b3b9", size = 25331848, upload-time = "2026-08-21T23:27:05.884Z" }, + { url = "https://files.pythonhosted.org/packages/be/4f/1bd37c883b67163e2ca1f60977a399500e6879c15defecac62831c8d078d/scipy-1.18.1-cp315-cp315-macosx_10_15_x86_64.whl", hash = "sha256:eb0dfcf4e28a99c12c999744a2ff67c9b06200e20401c7c88186e33552a46331", size = 31091484, upload-time = "2026-08-21T23:27:11.051Z" }, + { url = "https://files.pythonhosted.org/packages/8c/c5/ba929d7feb9b2332f96827c12e0e924b61973b59b4dea383b603372c65ce/scipy-1.18.1-cp315-cp315-macosx_12_0_arm64.whl", hash = "sha256:30f464bee641fa8e282577c7dce027308403213c6ca8270bba73285c91024bc5", size = 28725057, upload-time = "2026-08-21T23:27:15.9Z" }, + { url = "https://files.pythonhosted.org/packages/a4/19/68f1c50f609d955d230e66d25d02bd3e1e167ec540232135354fb9a4b9e3/scipy-1.18.1-cp315-cp315-macosx_14_0_arm64.whl", hash = "sha256:1bca3b943fc2567ea49cd02c99abde49da4d5178ec46f624bd8255cda8755beb", size = 20466734, upload-time = "2026-08-21T23:27:20.044Z" }, + { url = "https://files.pythonhosted.org/packages/ef/6d/319fa29b73d1802fa80b32a6eaf3f5be456ef81526da2716a9493bcb5501/scipy-1.18.1-cp315-cp315-macosx_14_0_x86_64.whl", hash = "sha256:c9d18a33309122074ea483dd92dd444189166b8b2ec429fe9ed5ac73c7a0aa23", size = 23089664, upload-time = "2026-08-21T23:27:24.345Z" }, + { url = "https://files.pythonhosted.org/packages/b7/db/30992f9b51a63de671daf3888ffd18378b6cb9ec9f2c972264238ffa7fd6/scipy-1.18.1-cp315-cp315-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:82f201b4c878551d48558337aab270d3c6cca5507b8737c8d8a608d234cccde0", size = 34054035, upload-time = "2026-08-21T23:27:29.409Z" }, + { url = "https://files.pythonhosted.org/packages/91/d4/bf3e735dc0b9d5a8ff45079d2540e17d3aff7a2f0048dd8f552ffd031d2b/scipy-1.18.1-cp315-cp315-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:0ac49ea97594532dd44b7136094d35f5440fa06e6d9c6384a74c01764df388c5", size = 35333883, upload-time = "2026-08-21T23:27:34.293Z" }, + { url = "https://files.pythonhosted.org/packages/19/93/12d78ce9f871fe945fca588d32644e6e63f553c2a35c564d73f3b22a3313/scipy-1.18.1-cp315-cp315-musllinux_1_2_aarch64.whl", hash = "sha256:ceb30a00ce7c92d459819443d29ca486d882b83fb6738bdcbb2a1cce94ac5daa", size = 35673124, upload-time = "2026-08-21T23:27:39.059Z" }, + { url = "https://files.pythonhosted.org/packages/70/cd/886219313a1012a48e6ae0ec4f302c837151beb92e1ff0d709ef8fdfc488/scipy-1.18.1-cp315-cp315-musllinux_1_2_x86_64.whl", hash = "sha256:f29633129f9fa7e88a3f0fca835de2d030bfc9643f7799e1a0c46cee24d38fc7", size = 37470753, upload-time = "2026-08-21T23:27:44.435Z" }, + { url = "https://files.pythonhosted.org/packages/17/6c/a776888ce618bee54fbde26172f0f46ac1da70d27b63861797fe78e1904b/scipy-1.18.1-cp315-cp315-win_amd64.whl", hash = "sha256:92c14f5bdbfb6216315ce33e78080474082de8b3830122ba97809bfbe65f75c0", size = 37361483, upload-time = "2026-08-21T23:27:49.334Z" }, + { url = "https://files.pythonhosted.org/packages/ab/09/97b651691322ebee97999b017ffc18a15a0b815103844c97e8da9d469731/scipy-1.18.1-cp315-cp315-win_arm64.whl", hash = "sha256:e402cf31eb68f453dbb2d36fc6d722b33f24a55d68b2ae1d92fa6305ca71c298", size = 25035883, upload-time = "2026-08-21T23:27:53.596Z" }, + { url = "https://files.pythonhosted.org/packages/ed/0f/9ec20467bbabd0d44e2a77d0fd3d124f884b4d67df92af82c91d2d6a486f/scipy-1.18.1-cp315-cp315t-macosx_10_15_x86_64.whl", hash = "sha256:2a0b02f9fc46f8520330c23d45e6560db7e3a0d927232139427637f98943e11d", size = 31474926, upload-time = "2026-08-21T23:27:57.993Z" }, + { url = "https://files.pythonhosted.org/packages/8a/58/dcb79161e56efbedc50079fcd2f5fe427a0ebb53022eb476aa73c015ad8f/scipy-1.18.1-cp315-cp315t-macosx_12_0_arm64.whl", hash = "sha256:1d73131e358976663dd969e1fb4ed1404b815cd977eaaedc3b3a133ba2d81c35", size = 29164940, upload-time = "2026-08-21T23:28:03.062Z" }, + { url = "https://files.pythonhosted.org/packages/71/d3/1eeea80c817fcb8ef7bd4a05a58824977a0e57a375cfc3d7ea7c911c01ad/scipy-1.18.1-cp315-cp315t-macosx_14_0_arm64.whl", hash = "sha256:bff0b729edd992766136b34e39cc76bc2fad905aa58897ee72a9cd000a6d8443", size = 20906742, upload-time = "2026-08-21T23:28:07.642Z" }, + { url = "https://files.pythonhosted.org/packages/54/46/e59350428b6099301a20128108c995e2eb175a43f383af9a346e38824f9b/scipy-1.18.1-cp315-cp315t-macosx_14_0_x86_64.whl", hash = "sha256:10ac20c69d880f77f375db44c22e3e6a644f9fefa291d4cd2fb9790a89fc99fd", size = 23472183, upload-time = "2026-08-21T23:28:12.109Z" }, + { url = "https://files.pythonhosted.org/packages/89/31/cc91623fa98f0621766a0f0aaaadb2c66de74a7ea7e3837164f6e4354260/scipy-1.18.1-cp315-cp315t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:33a834464fdabc0f26a45508df31b3cc5d028e04dbf6c5ed398541418e0a12fe", size = 34130796, upload-time = "2026-08-21T23:28:17.906Z" }, + { url = "https://files.pythonhosted.org/packages/fc/3e/8572ef536957ddb8aa81bb4090d9e25f257e3b4e05d97deb54319deb8a3a/scipy-1.18.1-cp315-cp315t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:49023963c193dacee096301452f223ee24d86ec5807f8df93c0f7221d119e305", size = 35374253, upload-time = "2026-08-21T23:28:23.732Z" }, + { url = "https://files.pythonhosted.org/packages/b5/c6/59fdeffb4f1435299f93d9dc8140b43ad2916e6cfc944be6c3041fcec86d/scipy-1.18.1-cp315-cp315t-musllinux_1_2_aarch64.whl", hash = "sha256:d84a09d0dad90ba6525d8ac1c2334b33e64bf3ccfe9e841f02feb867a22681e4", size = 35758543, upload-time = "2026-08-21T23:28:29.431Z" }, + { url = "https://files.pythonhosted.org/packages/cf/d9/135be205d9de8783193aff9cc3bf483a03a38e4b29432c954e8cb66ac14e/scipy-1.18.1-cp315-cp315t-musllinux_1_2_x86_64.whl", hash = "sha256:179ce34a8d0fe273d8883ba59e17e052247d08973dfcb743ca52bb1cce2d60b0", size = 37521946, upload-time = "2026-08-21T23:28:35.245Z" }, + { url = "https://files.pythonhosted.org/packages/5c/a2/5b7d5270621ab7cfa3f7766067bf95dc360b5efb6394694e8143b4156e2b/scipy-1.18.1-cp315-cp315t-win_amd64.whl", hash = "sha256:5632e3ae3d09197c446310cd5187de63e28448ce22f0f67b2b93d97503c0c230", size = 37408295, upload-time = "2026-08-21T23:28:40.724Z" }, + { url = "https://files.pythonhosted.org/packages/63/ad/741c19fcb66755ff953daf9243af8480e4bf3d7fbe57583c178c7d2b6b51/scipy-1.18.1-cp315-cp315t-win_arm64.whl", hash = "sha256:eda632a7981f69730d6281f451db9c1c370993a2c0d7ddb43e2a809a2862b83a", size = 25319710, upload-time = "2026-08-21T23:28:45.713Z" }, +] + +[[package]] +name = "send2trash" +version = "2.1.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/c5/f0/184b4b5f8d00f2a92cf96eec8967a3d550b52cf94362dad1100df9e48d57/send2trash-2.1.0.tar.gz", hash = "sha256:1c72b39f09457db3c05ce1d19158c2cbef4c32b8bedd02c155e49282b7ea7459", size = 17255, upload-time = "2026-01-14T06:27:36.056Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/1c/78/504fdd027da3b84ff1aecd9f6957e65f35134534ccc6da8628eb71e76d3f/send2trash-2.1.0-py3-none-any.whl", hash = "sha256:0da2f112e6d6bb22de6aa6daa7e144831a4febf2a87261451c4ad849fe9a873c", size = 17610, upload-time = "2026-01-14T06:27:35.218Z" }, +] + +[[package]] +name = "six" +version = "1.17.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/94/e7/b2c673351809dca68a0e064b6af791aa332cf192da575fd474ed7d6f16a2/six-1.17.0.tar.gz", hash = "sha256:ff70335d468e7eb6ec65b95b99d3a2836546063f63acc5171de367e834932a81", size = 34031, upload-time = "2024-12-04T17:35:28.174Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/b7/ce/149a00dd41f10bc29e5921b496af8b574d8413afcd5e30dfa0ed46c2cc5e/six-1.17.0-py2.py3-none-any.whl", hash = "sha256:4721f391ed90541fddacab5acf947aa0d3dc7d27b2e1e8eda2be8970586c3274", size = 11050, upload-time = "2024-12-04T17:35:26.475Z" }, +] + +[[package]] +name = "soupsieve" +version = "2.10" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/71/c3/1b817965ac12dc002d7c9cd7dfffdd7d4fbf9b45763ef2ffe7b86ee94670/soupsieve-2.10.tar.gz", hash = "sha256:49e9380d7d2905463583bafe285e818c7366a9ed7b3aee221c1ac79c905d8bc0", size = 124337, upload-time = "2026-09-24T02:36:35.048Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/66/87/5ed59e1d0290564e2027ed066c52b059892c4637741337fc0967183c8d4d/soupsieve-2.10-py3-none-any.whl", hash = "sha256:8596eb8967d744174820280fa62b4542a2e955bfaccca73ed8a13c6eb8e9b502", size = 38019, upload-time = "2026-09-24T02:36:33.709Z" }, +] + +[[package]] +name = "stack-data" +version = "0.6.3" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "asttokens" }, + { name = "executing" }, + { name = "pure-eval" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/28/e3/55dcc2cfbc3ca9c29519eb6884dd1415ecb53b0e934862d3559ddcb7e20b/stack_data-0.6.3.tar.gz", hash = "sha256:836a778de4fec4dcd1dcd89ed8abff8a221f58308462e1c4aa2a3cf30148f0b9", size = 44707, upload-time = "2023-09-30T13:58:05.479Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/f1/7b/ce1eafaf1a76852e2ec9b22edecf1daa58175c090266e9f6c64afcd81d91/stack_data-0.6.3-py3-none-any.whl", hash = "sha256:d5558e0c25a4cb0853cddad3d77da9891a08cb85dd9f9f91b9f8cd66e511e695", size = 24521, upload-time = "2023-09-30T13:58:03.53Z" }, +] + +[[package]] +name = "starlette" +version = "1.6.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "anyio" }, + { name = "typing-extensions", marker = "python_full_version < '3.13' or python_full_version >= '3.15'" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/b5/b4/205b0d5241d934e8add0c38aa924c4f9fb7330834ff11e5444db964ec3f9/starlette-1.6.0.tar.gz", hash = "sha256:d4e3ac5e546444960c710297a3c9fc3f7ebae1b7e963f3d36173b49da535be9b", size = 2716969, upload-time = "2026-08-08T18:27:57.512Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/c8/cb/6a6a47d5b464bd08695d254f3da6e7986cc70c9fa5d778eda57538edfe56/starlette-1.6.0-py3-none-any.whl", hash = "sha256:a86dd39d14bb45f85a3d18525215a9ef0cfd1f192ac793220e72598c90335f0c", size = 75969, upload-time = "2026-08-08T18:27:56.196Z" }, +] + +[[package]] +name = "terminado" +version = "0.18.1" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "ptyprocess", marker = "os_name != 'nt'" }, + { name = "pywinpty", marker = "os_name == 'nt'" }, + { name = "tornado" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/8a/11/965c6fd8e5cc254f1fe142d547387da17a8ebfd75a3455f637c663fb38a0/terminado-0.18.1.tar.gz", hash = "sha256:de09f2c4b85de4765f7714688fff57d3e75bad1f909b589fde880460c753fd2e", size = 32701, upload-time = "2024-03-12T14:34:39.026Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/6a/9e/2064975477fdc887e47ad42157e214526dcad8f317a948dee17e1659a62f/terminado-0.18.1-py3-none-any.whl", hash = "sha256:a4468e1b37bb318f8a86514f65814e1afc977cf29b3992a4500d9dd305dcceb0", size = 14154, upload-time = "2024-03-12T14:34:36.569Z" }, +] + +[[package]] +name = "threadpoolctl" +version = "3.6.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/b7/4d/08c89e34946fce2aec4fbb45c9016efd5f4d7f24af8e5d93296e935631d8/threadpoolctl-3.6.0.tar.gz", hash = "sha256:8ab8b4aa3491d812b623328249fab5302a68d2d71745c8a4c719a2fcaba9f44e", size = 21274, upload-time = "2025-03-13T13:49:23.031Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/32/d5/f9a850d79b0851d1d4ef6456097579a9005b31fea68726a4ae5f2d82ddd9/threadpoolctl-3.6.0-py3-none-any.whl", hash = "sha256:43a0b8fd5a2928500110039e43a5eed8480b918967083ea48dc3ab9f13c4a7fb", size = 18638, upload-time = "2025-03-13T13:49:21.846Z" }, +] + +[[package]] +name = "tinycss2" +version = "1.5.1" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "webencodings" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/a3/ae/2ca4913e5c0f09781d75482874c3a95db9105462a92ddd303c7d285d3df2/tinycss2-1.5.1.tar.gz", hash = "sha256:d339d2b616ba90ccce58da8495a78f46e55d4d25f9fd71dfd526f07e7d53f957", size = 88195, upload-time = "2025-11-23T10:29:10.082Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/60/45/c7b5c3168458db837e8ceab06dc77824e18202679d0463f0e8f002143a97/tinycss2-1.5.1-py3-none-any.whl", hash = "sha256:3415ba0f5839c062696996998176c4a3751d18b7edaaeeb658c9ce21ec150661", size = 28404, upload-time = "2025-11-23T10:29:08.676Z" }, +] + +[[package]] +name = "tomli" +version = "2.4.1" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/22/de/48c59722572767841493b26183a0d1cc411d54fd759c5607c4590b6563a6/tomli-2.4.1.tar.gz", hash = "sha256:7c7e1a961a0b2f2472c1ac5b69affa0ae1132c39adcb67aba98568702b9cc23f", size = 17543, upload-time = "2026-03-25T20:22:03.828Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/f4/11/db3d5885d8528263d8adc260bb2d28ebf1270b96e98f0e0268d32b8d9900/tomli-2.4.1-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:f8f0fc26ec2cc2b965b7a3b87cd19c5c6b8c5e5f436b984e85f486d652285c30", size = 154704, upload-time = "2026-03-25T20:21:10.473Z" }, + { url = "https://files.pythonhosted.org/packages/6d/f7/675db52c7e46064a9aa928885a9b20f4124ecb9bc2e1ce74c9106648d202/tomli-2.4.1-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:4ab97e64ccda8756376892c53a72bd1f964e519c77236368527f758fbc36a53a", size = 149454, upload-time = "2026-03-25T20:21:12.036Z" }, + { url = "https://files.pythonhosted.org/packages/61/71/81c50943cf953efa35bce7646caab3cf457a7d8c030b27cfb40d7235f9ee/tomli-2.4.1-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:96481a5786729fd470164b47cdb3e0e58062a496f455ee41b4403be77cb5a076", size = 237561, upload-time = "2026-03-25T20:21:13.098Z" }, + { url = "https://files.pythonhosted.org/packages/48/c1/f41d9cb618acccca7df82aaf682f9b49013c9397212cb9f53219e3abac37/tomli-2.4.1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:5a881ab208c0baf688221f8cecc5401bd291d67e38a1ac884d6736cbcd8247e9", size = 243824, upload-time = "2026-03-25T20:21:14.569Z" }, + { url = "https://files.pythonhosted.org/packages/22/e4/5a816ecdd1f8ca51fb756ef684b90f2780afc52fc67f987e3c61d800a46d/tomli-2.4.1-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:47149d5bd38761ac8be13a84864bf0b7b70bc051806bc3669ab1cbc56216b23c", size = 242227, upload-time = "2026-03-25T20:21:15.712Z" }, + { url = "https://files.pythonhosted.org/packages/6b/49/2b2a0ef529aa6eec245d25f0c703e020a73955ad7edf73e7f54ddc608aa5/tomli-2.4.1-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:ec9bfaf3ad2df51ace80688143a6a4ebc09a248f6ff781a9945e51937008fcbc", size = 247859, upload-time = "2026-03-25T20:21:17.001Z" }, + { url = "https://files.pythonhosted.org/packages/83/bd/6c1a630eaca337e1e78c5903104f831bda934c426f9231429396ce3c3467/tomli-2.4.1-cp311-cp311-win32.whl", hash = "sha256:ff2983983d34813c1aeb0fa89091e76c3a22889ee83ab27c5eeb45100560c049", size = 97204, upload-time = "2026-03-25T20:21:18.079Z" }, + { url = "https://files.pythonhosted.org/packages/42/59/71461df1a885647e10b6bb7802d0b8e66480c61f3f43079e0dcd315b3954/tomli-2.4.1-cp311-cp311-win_amd64.whl", hash = "sha256:5ee18d9ebdb417e384b58fe414e8d6af9f4e7a0ae761519fb50f721de398dd4e", size = 108084, upload-time = "2026-03-25T20:21:18.978Z" }, + { url = "https://files.pythonhosted.org/packages/b8/83/dceca96142499c069475b790e7913b1044c1a4337e700751f48ed723f883/tomli-2.4.1-cp311-cp311-win_arm64.whl", hash = "sha256:c2541745709bad0264b7d4705ad453b76ccd191e64aa6f0fc66b69a293a45ece", size = 95285, upload-time = "2026-03-25T20:21:20.309Z" }, + { url = "https://files.pythonhosted.org/packages/c1/ba/42f134a3fe2b370f555f44b1d72feebb94debcab01676bf918d0cb70e9aa/tomli-2.4.1-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:c742f741d58a28940ce01d58f0ab2ea3ced8b12402f162f4d534dfe18ba1cd6a", size = 155924, upload-time = "2026-03-25T20:21:21.626Z" }, + { url = "https://files.pythonhosted.org/packages/dc/c7/62d7a17c26487ade21c5422b646110f2162f1fcc95980ef7f63e73c68f14/tomli-2.4.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:7f86fd587c4ed9dd76f318225e7d9b29cfc5a9d43de44e5754db8d1128487085", size = 150018, upload-time = "2026-03-25T20:21:23.002Z" }, + { url = "https://files.pythonhosted.org/packages/5c/05/79d13d7c15f13bdef410bdd49a6485b1c37d28968314eabee452c22a7fda/tomli-2.4.1-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:ff18e6a727ee0ab0388507b89d1bc6a22b138d1e2fa56d1ad494586d61d2eae9", size = 244948, upload-time = "2026-03-25T20:21:24.04Z" }, + { url = "https://files.pythonhosted.org/packages/10/90/d62ce007a1c80d0b2c93e02cab211224756240884751b94ca72df8a875ca/tomli-2.4.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:136443dbd7e1dee43c68ac2694fde36b2849865fa258d39bf822c10e8068eac5", size = 253341, upload-time = "2026-03-25T20:21:25.177Z" }, + { url = "https://files.pythonhosted.org/packages/1a/7e/caf6496d60152ad4ed09282c1885cca4eea150bfd007da84aea07bcc0a3e/tomli-2.4.1-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:5e262d41726bc187e69af7825504c933b6794dc3fbd5945e41a79bb14c31f585", size = 248159, upload-time = "2026-03-25T20:21:26.364Z" }, + { url = "https://files.pythonhosted.org/packages/99/e7/c6f69c3120de34bbd882c6fba7975f3d7a746e9218e56ab46a1bc4b42552/tomli-2.4.1-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:5cb41aa38891e073ee49d55fbc7839cfdb2bc0e600add13874d048c94aadddd1", size = 253290, upload-time = "2026-03-25T20:21:27.46Z" }, + { url = "https://files.pythonhosted.org/packages/d6/2f/4a3c322f22c5c66c4b836ec58211641a4067364f5dcdd7b974b4c5da300c/tomli-2.4.1-cp312-cp312-win32.whl", hash = "sha256:da25dc3563bff5965356133435b757a795a17b17d01dbc0f42fb32447ddfd917", size = 98141, upload-time = "2026-03-25T20:21:28.492Z" }, + { url = "https://files.pythonhosted.org/packages/24/22/4daacd05391b92c55759d55eaee21e1dfaea86ce5c571f10083360adf534/tomli-2.4.1-cp312-cp312-win_amd64.whl", hash = "sha256:52c8ef851d9a240f11a88c003eacb03c31fc1c9c4ec64a99a0f922b93874fda9", size = 108847, upload-time = "2026-03-25T20:21:29.386Z" }, + { url = "https://files.pythonhosted.org/packages/68/fd/70e768887666ddd9e9f5d85129e84910f2db2796f9096aa02b721a53098d/tomli-2.4.1-cp312-cp312-win_arm64.whl", hash = "sha256:f758f1b9299d059cc3f6546ae2af89670cb1c4d48ea29c3cacc4fe7de3058257", size = 95088, upload-time = "2026-03-25T20:21:30.677Z" }, + { url = "https://files.pythonhosted.org/packages/07/06/b823a7e818c756d9a7123ba2cda7d07bc2dd32835648d1a7b7b7a05d848d/tomli-2.4.1-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:36d2bd2ad5fb9eaddba5226aa02c8ec3fa4f192631e347b3ed28186d43be6b54", size = 155866, upload-time = "2026-03-25T20:21:31.65Z" }, + { url = "https://files.pythonhosted.org/packages/14/6f/12645cf7f08e1a20c7eb8c297c6f11d31c1b50f316a7e7e1e1de6e2e7b7e/tomli-2.4.1-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:eb0dc4e38e6a1fd579e5d50369aa2e10acfc9cace504579b2faabb478e76941a", size = 149887, upload-time = "2026-03-25T20:21:33.028Z" }, + { url = "https://files.pythonhosted.org/packages/5c/e0/90637574e5e7212c09099c67ad349b04ec4d6020324539297b634a0192b0/tomli-2.4.1-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:c7f2c7f2b9ca6bdeef8f0fa897f8e05085923eb091721675170254cbc5b02897", size = 243704, upload-time = "2026-03-25T20:21:34.51Z" }, + { url = "https://files.pythonhosted.org/packages/10/8f/d3ddb16c5a4befdf31a23307f72828686ab2096f068eaf56631e136c1fdd/tomli-2.4.1-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:f3c6818a1a86dd6dca7ddcaaf76947d5ba31aecc28cb1b67009a5877c9a64f3f", size = 251628, upload-time = "2026-03-25T20:21:36.012Z" }, + { url = "https://files.pythonhosted.org/packages/e3/f1/dbeeb9116715abee2485bf0a12d07a8f31af94d71608c171c45f64c0469d/tomli-2.4.1-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:d312ef37c91508b0ab2cee7da26ec0b3ed2f03ce12bd87a588d771ae15dcf82d", size = 247180, upload-time = "2026-03-25T20:21:37.136Z" }, + { url = "https://files.pythonhosted.org/packages/d3/74/16336ffd19ed4da28a70959f92f506233bd7cfc2332b20bdb01591e8b1d1/tomli-2.4.1-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:51529d40e3ca50046d7606fa99ce3956a617f9b36380da3b7f0dd3dd28e68cb5", size = 251674, upload-time = "2026-03-25T20:21:38.298Z" }, + { url = "https://files.pythonhosted.org/packages/16/f9/229fa3434c590ddf6c0aa9af64d3af4b752540686cace29e6281e3458469/tomli-2.4.1-cp313-cp313-win32.whl", hash = "sha256:2190f2e9dd7508d2a90ded5ed369255980a1bcdd58e52f7fe24b8162bf9fedbd", size = 97976, upload-time = "2026-03-25T20:21:39.316Z" }, + { url = "https://files.pythonhosted.org/packages/6a/1e/71dfd96bcc1c775420cb8befe7a9d35f2e5b1309798f009dca17b7708c1e/tomli-2.4.1-cp313-cp313-win_amd64.whl", hash = "sha256:8d65a2fbf9d2f8352685bc1364177ee3923d6baf5e7f43ea4959d7d8bc326a36", size = 108755, upload-time = "2026-03-25T20:21:40.248Z" }, + { url = "https://files.pythonhosted.org/packages/83/7a/d34f422a021d62420b78f5c538e5b102f62bea616d1d75a13f0a88acb04a/tomli-2.4.1-cp313-cp313-win_arm64.whl", hash = "sha256:4b605484e43cdc43f0954ddae319fb75f04cc10dd80d830540060ee7cd0243cd", size = 95265, upload-time = "2026-03-25T20:21:41.219Z" }, + { url = "https://files.pythonhosted.org/packages/3c/fb/9a5c8d27dbab540869f7c1f8eb0abb3244189ce780ba9cd73f3770662072/tomli-2.4.1-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:fd0409a3653af6c147209d267a0e4243f0ae46b011aa978b1080359fddc9b6cf", size = 155726, upload-time = "2026-03-25T20:21:42.23Z" }, + { url = "https://files.pythonhosted.org/packages/62/05/d2f816630cc771ad836af54f5001f47a6f611d2d39535364f148b6a92d6b/tomli-2.4.1-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:a120733b01c45e9a0c34aeef92bf0cf1d56cfe81ed9d47d562f9ed591a9828ac", size = 149859, upload-time = "2026-03-25T20:21:43.386Z" }, + { url = "https://files.pythonhosted.org/packages/ce/48/66341bdb858ad9bd0ceab5a86f90eddab127cf8b046418009f2125630ecb/tomli-2.4.1-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:559db847dc486944896521f68d8190be1c9e719fced785720d2216fe7022b662", size = 244713, upload-time = "2026-03-25T20:21:44.474Z" }, + { url = "https://files.pythonhosted.org/packages/df/6d/c5fad00d82b3c7a3ab6189bd4b10e60466f22cfe8a08a9394185c8a8111c/tomli-2.4.1-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:01f520d4f53ef97964a240a035ec2a869fe1a37dde002b57ebc4417a27ccd853", size = 252084, upload-time = "2026-03-25T20:21:45.62Z" }, + { url = "https://files.pythonhosted.org/packages/00/71/3a69e86f3eafe8c7a59d008d245888051005bd657760e96d5fbfb0b740c2/tomli-2.4.1-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:7f94b27a62cfad8496c8d2513e1a222dd446f095fca8987fceef261225538a15", size = 247973, upload-time = "2026-03-25T20:21:46.937Z" }, + { url = "https://files.pythonhosted.org/packages/67/50/361e986652847fec4bd5e4a0208752fbe64689c603c7ae5ea7cb16b1c0ca/tomli-2.4.1-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:ede3e6487c5ef5d28634ba3f31f989030ad6af71edfb0055cbbd14189ff240ba", size = 256223, upload-time = "2026-03-25T20:21:48.467Z" }, + { url = "https://files.pythonhosted.org/packages/8c/9a/b4173689a9203472e5467217e0154b00e260621caa227b6fa01feab16998/tomli-2.4.1-cp314-cp314-win32.whl", hash = "sha256:3d48a93ee1c9b79c04bb38772ee1b64dcf18ff43085896ea460ca8dec96f35f6", size = 98973, upload-time = "2026-03-25T20:21:49.526Z" }, + { url = "https://files.pythonhosted.org/packages/14/58/640ac93bf230cd27d002462c9af0d837779f8773bc03dee06b5835208214/tomli-2.4.1-cp314-cp314-win_amd64.whl", hash = "sha256:88dceee75c2c63af144e456745e10101eb67361050196b0b6af5d717254dddf7", size = 109082, upload-time = "2026-03-25T20:21:50.506Z" }, + { url = "https://files.pythonhosted.org/packages/d5/2f/702d5e05b227401c1068f0d386d79a589bb12bf64c3d2c72ce0631e3bc49/tomli-2.4.1-cp314-cp314-win_arm64.whl", hash = "sha256:b8c198f8c1805dc42708689ed6864951fd2494f924149d3e4bce7710f8eb5232", size = 96490, upload-time = "2026-03-25T20:21:51.474Z" }, + { url = "https://files.pythonhosted.org/packages/45/4b/b877b05c8ba62927d9865dd980e34a755de541eb65fffba52b4cc495d4d2/tomli-2.4.1-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:d4d8fe59808a54658fcc0160ecfb1b30f9089906c50b23bcb4c69eddc19ec2b4", size = 164263, upload-time = "2026-03-25T20:21:52.543Z" }, + { url = "https://files.pythonhosted.org/packages/24/79/6ab420d37a270b89f7195dec5448f79400d9e9c1826df982f3f8e97b24fd/tomli-2.4.1-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:7008df2e7655c495dd12d2a4ad038ff878d4ca4b81fccaf82b714e07eae4402c", size = 160736, upload-time = "2026-03-25T20:21:53.674Z" }, + { url = "https://files.pythonhosted.org/packages/02/e0/3630057d8eb170310785723ed5adcdfb7d50cb7e6455f85ba8a3deed642b/tomli-2.4.1-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:1d8591993e228b0c930c4bb0db464bdad97b3289fb981255d6c9a41aedc84b2d", size = 270717, upload-time = "2026-03-25T20:21:55.129Z" }, + { url = "https://files.pythonhosted.org/packages/7a/b4/1613716072e544d1a7891f548d8f9ec6ce2faf42ca65acae01d76ea06bb0/tomli-2.4.1-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:734e20b57ba95624ecf1841e72b53f6e186355e216e5412de414e3c51e5e3c41", size = 278461, upload-time = "2026-03-25T20:21:56.228Z" }, + { url = "https://files.pythonhosted.org/packages/05/38/30f541baf6a3f6df77b3df16b01ba319221389e2da59427e221ef417ac0c/tomli-2.4.1-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:8a650c2dbafa08d42e51ba0b62740dae4ecb9338eefa093aa5c78ceb546fcd5c", size = 274855, upload-time = "2026-03-25T20:21:57.653Z" }, + { url = "https://files.pythonhosted.org/packages/77/a3/ec9dd4fd2c38e98de34223b995a3b34813e6bdadf86c75314c928350ed14/tomli-2.4.1-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:504aa796fe0569bb43171066009ead363de03675276d2d121ac1a4572397870f", size = 283144, upload-time = "2026-03-25T20:21:59.089Z" }, + { url = "https://files.pythonhosted.org/packages/ef/be/605a6261cac79fba2ec0c9827e986e00323a1945700969b8ee0b30d85453/tomli-2.4.1-cp314-cp314t-win32.whl", hash = "sha256:b1d22e6e9387bf4739fbe23bfa80e93f6b0373a7f1b96c6227c32bef95a4d7a8", size = 108683, upload-time = "2026-03-25T20:22:00.214Z" }, + { url = "https://files.pythonhosted.org/packages/12/64/da524626d3b9cc40c168a13da8335fe1c51be12c0a63685cc6db7308daae/tomli-2.4.1-cp314-cp314t-win_amd64.whl", hash = "sha256:2c1c351919aca02858f740c6d33adea0c5deea37f9ecca1cc1ef9e884a619d26", size = 121196, upload-time = "2026-03-25T20:22:01.169Z" }, + { url = "https://files.pythonhosted.org/packages/5a/cd/e80b62269fc78fc36c9af5a6b89c835baa8af28ff5ad28c7028d60860320/tomli-2.4.1-cp314-cp314t-win_arm64.whl", hash = "sha256:eab21f45c7f66c13f2a9e0e1535309cee140182a9cdae1e041d02e47291e8396", size = 100393, upload-time = "2026-03-25T20:22:02.137Z" }, + { url = "https://files.pythonhosted.org/packages/7b/61/cceae43728b7de99d9b847560c262873a1f6c98202171fd5ed62640b494b/tomli-2.4.1-py3-none-any.whl", hash = "sha256:0d85819802132122da43cb86656f8d1f8c6587d54ae7dcaf30e90533028b49fe", size = 14583, upload-time = "2026-03-25T20:22:03.012Z" }, +] + +[[package]] +name = "tornado" +version = "6.5.10" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/06/61/53d562a57b28c08eda40b258c0f975e360541943ad7c7bef897a40caafda/tornado-6.5.10.tar.gz", hash = "sha256:a6b1ccd08c04b4a06fb5aeb381be99de5ad1e5375c1785e31d78c880feb57687", size = 537910, upload-time = "2026-09-15T13:47:48.73Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/cd/5b/ff5fc58fa2427c30dea74c90053f4fc5eda1e7f3833ed3ecc7147fe2b311/tornado-6.5.10-cp39-abi3-macosx_10_9_universal2.whl", hash = "sha256:9261783640e23258694a9ff0795df430a5a7b0a651d3dd53dd0969ad6be16da7", size = 465883, upload-time = "2026-09-15T13:47:35.463Z" }, + { url = "https://files.pythonhosted.org/packages/ad/f5/cd7be26c34a3315532f3aef5f092465da8f59c334dd439d3c14aaef16461/tornado-6.5.10-cp39-abi3-macosx_10_9_x86_64.whl", hash = "sha256:83e6cf438b106c6b3852d70960967bb1b70c87438050dca0981e4b9aa751a4c1", size = 464046, upload-time = "2026-09-15T13:47:37.178Z" }, + { url = "https://files.pythonhosted.org/packages/60/33/df6d7d04854a58619f8349a51e3edb138324130a7562b0bb21f115bb940f/tornado-6.5.10-cp39-abi3-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:bdf942448169e5336451d0494d7e3d81cfa726d5aa312affdc4682dd62a62f6d", size = 467096, upload-time = "2026-09-15T13:47:38.559Z" }, + { url = "https://files.pythonhosted.org/packages/29/17/cc35dff68272d685cffd8600ffafbd8067e7d05e7348d9f80caddffbbd5f/tornado-6.5.10-cp39-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:69acca6501eed74582b76dbbceee2a91613f54728e3e418346000d7103101676", size = 468067, upload-time = "2026-09-15T13:47:40.085Z" }, + { url = "https://files.pythonhosted.org/packages/c3/01/6e5349b4e1a53a4b4972a6716785e1fe7407f312063c3972690af8ff301b/tornado-6.5.10-cp39-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:66aaa3f57d30c6e6becee83ff28055d5930ac724214bde99393eefda83d5e015", size = 467901, upload-time = "2026-09-15T13:47:41.576Z" }, + { url = "https://files.pythonhosted.org/packages/28/5e/b4facf94370dba006819c8d304376f8b9fbec6b935b5e51bf45823a9790b/tornado-6.5.10-cp39-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:4bd192b959f9128fb99b8898148070ba4574c9589b78bce42d1851131fe85828", size = 467308, upload-time = "2026-09-15T13:47:43.145Z" }, + { url = "https://files.pythonhosted.org/packages/56/ae/047938e828cafc8eca4c908fafb6588fee944e3af39a0af9d7b602499ae5/tornado-6.5.10-cp39-abi3-win32.whl", hash = "sha256:302eb1e0e3e159314eb591920529fdea80acca92df5510a2cec5bbd4f099ec72", size = 468387, upload-time = "2026-09-15T13:47:44.556Z" }, + { url = "https://files.pythonhosted.org/packages/d8/d4/5901517f05affd752490f6a654ba31b7474664e8dd80bd045a00c220bd88/tornado-6.5.10-cp39-abi3-win_amd64.whl", hash = "sha256:37ae8f150cecfdbf747fc4e12f5e9a97ecd8cf1d4cdb3f119e2de84b11196918", size = 468828, upload-time = "2026-09-15T13:47:45.961Z" }, + { url = "https://files.pythonhosted.org/packages/f3/1a/fd497f3a7f7b74bb04f4b94536b5c9f80742b5d50501fd27977652ddec16/tornado-6.5.10-cp39-abi3-win_arm64.whl", hash = "sha256:ce045d3c298fddd30e89a2777f97039d1b641eb9518ac7b26a4721903539c694", size = 467847, upload-time = "2026-09-15T13:47:47.283Z" }, +] + +[[package]] +name = "traitlets" +version = "5.16.1" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/2c/2e/a7fbfe268c8a3b32546930c0297c101d65a4a14c304ad5790a9f478f0e4e/traitlets-5.16.1.tar.gz", hash = "sha256:ed900c2b631aa3a112811139fa97b8d2c3bad5e989656bba4b7e52c7852c18c1", size = 166137, upload-time = "2026-08-03T08:32:36.848Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/ad/66/0d785f0bc5e4315a96c989bb476d0fc07ea4f85132550c7b156ca2035d52/traitlets-5.16.1-py3-none-any.whl", hash = "sha256:f775618166caa0396c8e337099240f2bd3e5e917d203b2e6fbe21a58d3cb1f6b", size = 86211, upload-time = "2026-08-03T08:32:34.48Z" }, +] + +[[package]] +name = "typing-extensions" +version = "4.16.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/f6/cc/6253133b5bb138fc3306cebfbda2c520f545d36b5be2c7255cc528bb45d6/typing_extensions-4.16.0.tar.gz", hash = "sha256:dc983d19a509c94dba722ee6abd33940f7c05a89e243c47e907eb4db6f1a43e5", size = 113555, upload-time = "2026-07-02T08:40:05.92Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/49/d3/b8441a820a491ddfc024b0b0cf0393375b75ea13866d9c66727e54c2fc80/typing_extensions-4.16.0-py3-none-any.whl", hash = "sha256:481caa481374e813c1b176ada14e97f1f67a4539ce9cfeb3f350d78d6370c2e8", size = 45571, upload-time = "2026-07-02T08:40:04.659Z" }, +] + +[[package]] +name = "typing-inspection" +version = "0.4.4" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "typing-extensions" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/a3/26/b09b8010994eccc3c09092e6b34058f36a460eea2d4c3e8b910c695975a0/typing_inspection-0.4.4.tar.gz", hash = "sha256:547274fa6b0a561ccf549cc9524b999a578e737d015d8709d021f9d0d13bea47", size = 76928, upload-time = "2026-08-12T12:37:25.997Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/67/81/4add07e5172b7ac40d8ed5ff580409a7801a4fe26d529bdd915401dabfbe/typing_inspection-0.4.4-py3-none-any.whl", hash = "sha256:65b8397ba37ccbce054456aaccddfc91e6e3083c92824df348d96ca832f3f147", size = 14750, upload-time = "2026-08-12T12:37:24.648Z" }, +] + +[[package]] +name = "tzdata" +version = "2026.5" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/d9/68/f1b440335057bfce71b6e50a9d09445aa2ecbd08359a337976627b8409e7/tzdata-2026.5.tar.gz", hash = "sha256:8cc73c0a0bfca7dbfa59235d60b2eff82231dee33f53d206db1acd9173cfc0a7", size = 200404, upload-time = "2026-10-03T09:23:14.143Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/94/21/1e5995a1c920cce14e4bffae20c665ec10e7ed03ab25e006cd741092b718/tzdata-2026.5-py2.py3-none-any.whl", hash = "sha256:b683bd1b6659ddcd810ff02ad09ba821d4bf1065072805063eb35c49617905ac", size = 347996, upload-time = "2026-10-03T09:23:12.535Z" }, +] + +[[package]] +name = "uri-template" +version = "1.3.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/31/c7/0336f2bd0bcbada6ccef7aaa25e443c118a704f828a0620c6fa0207c1b64/uri-template-1.3.0.tar.gz", hash = "sha256:0e00f8eb65e18c7de20d595a14336e9f337ead580c70934141624b6d1ffdacc7", size = 21678, upload-time = "2023-06-21T01:49:05.374Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/e7/00/3fca040d7cf8a32776d3d81a00c8ee7457e00f80c649f1e4a863c8321ae9/uri_template-1.3.0-py3-none-any.whl", hash = "sha256:a44a133ea12d44a0c0f06d7d42a52d71282e77e2f937d8abd5655b8d56fc1363", size = 11140, upload-time = "2023-06-21T01:49:03.467Z" }, +] + +[[package]] +name = "urllib3" +version = "2.8.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/e3/05/b17359e1cefb4f909b5e40b1b90a496d987258916dbbf88e842c729f510e/urllib3-2.8.0.tar.gz", hash = "sha256:63bf2ead4c879426ebf22ef2a781eeb4aa3b4ae798a0435506f8687fd5bb9b63", size = 458972, upload-time = "2026-09-15T19:29:36.253Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/92/9d/c4e665119135114480843e7ab388fa94d8480650450e6f8e26b70d323a4c/urllib3-2.8.0-py3-none-any.whl", hash = "sha256:0cf3cae568d36aa9576b28dfb35f11328f1cb974ca7647d9475ebb86c75ac6e3", size = 135717, upload-time = "2026-09-15T19:29:34.577Z" }, +] + +[[package]] +name = "uvicorn" +version = "0.52.4" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "click" }, + { name = "h11" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/f2/0f/3f86e61397dd33bf2ccf28188c40db6a740658aeebbbf6e7dbc101a1f487/uvicorn-0.52.4.tar.gz", hash = "sha256:73acfee47a0b133c5de13d219492d62d8a31e935f4fe6e41a232451a15379f86", size = 100627, upload-time = "2026-08-19T06:27:41.821Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/f1/79/4a20b54ab0491485ccd8c077db2d39187c7f12b3e15485d38a7be37c81b4/uvicorn-0.52.4-py3-none-any.whl", hash = "sha256:f86e41a149d7d05a9969337e3946a9c171c06a5d42680896daaba624aeac8da1", size = 79871, upload-time = "2026-08-19T06:27:40.36Z" }, +] + +[[package]] +name = "vine" +version = "5.1.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/bd/e4/d07b5f29d283596b9727dd5275ccbceb63c44a1a82aa9e4bfd20426762ac/vine-5.1.0.tar.gz", hash = "sha256:8b62e981d35c41049211cf62a0a1242d8c1ee9bd15bb196ce38aefd6799e61e0", size = 48980, upload-time = "2023-11-05T08:46:53.857Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/03/ff/7c0c86c43b3cbb927e0ccc0255cb4057ceba4799cd44ae95174ce8e8b5b2/vine-5.1.0-py3-none-any.whl", hash = "sha256:40fdf3c48b2cfe1c38a49e9ae2da6fda88e4794c810050a728bd7413811fb1dc", size = 9636, upload-time = "2023-11-05T08:46:51.205Z" }, +] + +[[package]] +name = "wcwidth" +version = "0.9.2" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/f0/b4/7830542634bb2d3e62aa3b586a72d5b3b6c91c3168929e7000ef3fed041d/wcwidth-0.9.2.tar.gz", hash = "sha256:ae0ef90b90f6af38b54f1fe6d58662ec33b3cb4b8391958a62416d654231727b", size = 955039, upload-time = "2026-10-05T00:24:05.521Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/59/1e/4532a81fb9dfbf4114a816775e0a36c3a64ee1d1f4bba2094e2da50be5dc/wcwidth-0.9.2-cp310-abi3-macosx_10_9_x86_64.whl", hash = "sha256:7ef5a940bd5e30bac6e721f1a48fce0cd7bb3ece19e9c5d139e72c76c35cfd07", size = 605343, upload-time = "2026-10-05T00:23:22.649Z" }, + { url = "https://files.pythonhosted.org/packages/a0/07/cb6940e81134b7ed25fa312ee9ab536a63db0793b149f88a90e603ceace9/wcwidth-0.9.2-cp310-abi3-macosx_11_0_arm64.whl", hash = "sha256:ae0800c5339423cc53d33a266ad264b42ba8aaa16d4464f6e6b1bee607f50b17", size = 609960, upload-time = "2026-10-05T00:23:27.049Z" }, + { url = "https://files.pythonhosted.org/packages/a4/80/15ad05d40bfa99155639fb9e13b3d77083aa0fab893c816db2543d29005c/wcwidth-0.9.2-cp310-abi3-manylinux1_i686.manylinux2014_i686.manylinux_2_17_i686.manylinux_2_5_i686.whl", hash = "sha256:9e542f1f8475b78452a295495d7a5bc3ead565112e9446a64dc93462a41c2a79", size = 762566, upload-time = "2026-10-05T00:23:38.322Z" }, + { url = "https://files.pythonhosted.org/packages/bc/f0/b8ef7758003d66b60f093695831a86dcc726aac01ee6446ffcbda27b61e3/wcwidth-0.9.2-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:674b518af28d38ee645ff97b74f5760abee5fad4bac74413bfc4b881ef2ce724", size = 771632, upload-time = "2026-10-05T00:23:32.448Z" }, + { url = "https://files.pythonhosted.org/packages/db/6c/f940133c71427c208575910e981942bd78c98b1f7cd0d1425ca4b7457c04/wcwidth-0.9.2-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:751bef0ab404b6a1dc028b56b4b85d46486be1c55833f80da533e42dc691f389", size = 769763, upload-time = "2026-10-05T00:23:40.175Z" }, + { url = "https://files.pythonhosted.org/packages/92/8f/285f862826f721964ec7c42f81dc53d23afbd723a0f4cd989651f8218e25/wcwidth-0.9.2-cp310-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:c3d80f39ba4653a595edae9aa46a509d14883790a8fc23c5db221ceb207f64b7", size = 782134, upload-time = "2026-10-05T00:23:33.926Z" }, + { url = "https://files.pythonhosted.org/packages/c2/2d/64aa54882a5d556d3654c1f926d9118b797461033e23a158409941a37c8f/wcwidth-0.9.2-cp310-abi3-musllinux_1_2_i686.whl", hash = "sha256:0a47e03d8293590ecce66c45dc20ff7b4b885e3c78093722239585eca0d77ab2", size = 782851, upload-time = "2026-10-05T00:23:41.974Z" }, + { url = "https://files.pythonhosted.org/packages/59/39/52389f6de7fe2e9c14ceb8253dd99034bd86e1c87847ea3c100a97dded9a/wcwidth-0.9.2-cp310-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:67d901a4ad99249eb775b4ee4769ca97fa405d35a75f46e83166910a47003f04", size = 784621, upload-time = "2026-10-05T00:23:43.449Z" }, + { url = "https://files.pythonhosted.org/packages/b3/8b/20225500a076ace27bbcc8a6fd7c55125133c57a618816c7b7b8b73070b1/wcwidth-0.9.2-cp310-abi3-win32.whl", hash = "sha256:ee1fd0db9d9fd711a70f3e7765e0e04c05d26982fa05361456163062549d7da4", size = 593123, upload-time = "2026-10-05T00:23:55.953Z" }, + { url = "https://files.pythonhosted.org/packages/5a/d6/b0690f55ea0483530a18bac917fbadbf54f35122510446fc370f5f1c2453/wcwidth-0.9.2-cp310-abi3-win_amd64.whl", hash = "sha256:2a9746de704242bd4fdaabb31dd46b82f694a56a8d21081ad89b679a89da9fec", size = 597827, upload-time = "2026-10-05T00:23:57.489Z" }, + { url = "https://files.pythonhosted.org/packages/e5/11/6ecf4e9e268ab1a4ec617ffcccc2ee4a71301625f5490912dbaba462fa9c/wcwidth-0.9.2-cp310-abi3-win_arm64.whl", hash = "sha256:b9c6ab615e03723b7f8760ea2f27758d656e7e13b51515c9dca5c3e8b04612fa", size = 598415, upload-time = "2026-10-05T00:23:51.517Z" }, + { url = "https://files.pythonhosted.org/packages/4e/41/549eef1ab767032bdbdc1f0ab655d404b082b1e9a1dab1361dbba90f64ed/wcwidth-0.9.2-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:eda88ffdc97c0fbf193d407114f2c7a54b379f67f6e52a7531ee3b9fe749eca7", size = 606555, upload-time = "2026-10-05T00:23:24.188Z" }, + { url = "https://files.pythonhosted.org/packages/9b/64/a875ed7ea71cacadc0ae11b5fd3fac3486efd58bb25e67a7344248dceadd/wcwidth-0.9.2-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:1bf361c8705576760623b4724ae564666d73b016f9a778bcfd1c7345378ef4ec", size = 610829, upload-time = "2026-10-05T00:23:28.563Z" }, + { url = "https://files.pythonhosted.org/packages/c6/98/513095e484fe79b6f2613d6a72f855f5d56b65e15c215c2a6746fbc638f5/wcwidth-0.9.2-cp314-cp314t-manylinux1_i686.manylinux2014_i686.manylinux_2_17_i686.manylinux_2_5_i686.whl", hash = "sha256:97b878d1e158da5ed9ac5aac53fa3a55e282103af6a09ec353865613d1a31a76", size = 775819, upload-time = "2026-10-05T00:23:45.116Z" }, + { url = "https://files.pythonhosted.org/packages/22/fc/c02f3eec57224731e78f84b68e272250f784b6205acc7e0dcef6a7c23a0e/wcwidth-0.9.2-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:59dab4049cbd982b478bca098528df2c79a9160636a3a163ffebffcbd7d1b892", size = 786915, upload-time = "2026-10-05T00:23:35.323Z" }, + { url = "https://files.pythonhosted.org/packages/3d/6f/b0529a79bac3fe8d94f32b4237a13dbc3f955508753f6a6f06c73d679dc2/wcwidth-0.9.2-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:bb08ceb501d6aaf94066c3ee122dd825b152df40ff0bd0df4dc27126233b948e", size = 784186, upload-time = "2026-10-05T00:23:46.366Z" }, + { url = "https://files.pythonhosted.org/packages/d5/bd/6357c84ca9a734bfc735b7c48dbe21336b3777fab8a4101d14976dfe49a7/wcwidth-0.9.2-cp314-cp314t-win32.whl", hash = "sha256:8b4e381590b9b7390e07e22b2c0c1bb96ce50e1d2243c866d9387600362d51ed", size = 600791, upload-time = "2026-10-05T00:23:59.398Z" }, + { url = "https://files.pythonhosted.org/packages/98/de/037591ca18d897cc2179559dde72e6efc6ce0c90e9cd1e6bca4e87c38b4b/wcwidth-0.9.2-cp314-cp314t-win_amd64.whl", hash = "sha256:f2f7b3bba5a5d5f31fc350fd36ce5b84b693c83b7eb95ee630b720da5a5ce06f", size = 605463, upload-time = "2026-10-05T00:24:01.049Z" }, + { url = "https://files.pythonhosted.org/packages/d0/07/c9d96e106d938d26f7ab639bc80b8199359a1645ba6e3498413313ab6f38/wcwidth-0.9.2-cp314-cp314t-win_arm64.whl", hash = "sha256:734aa9405b321d1042301aa19c943c4731ee9e3460e4f8feea3299c064c97a14", size = 605936, upload-time = "2026-10-05T00:23:52.765Z" }, + { url = "https://files.pythonhosted.org/packages/82/8a/a28d61d910005ac93dfe48be3a0ebaa49352d88cebd25323e69e6ff2f4a8/wcwidth-0.9.2-cp315-cp315t-macosx_10_15_x86_64.whl", hash = "sha256:42dbcb76ce8af39e2c9db410ac3f9bdf4e47eb41d6f44525952f172d3d98f724", size = 606575, upload-time = "2026-10-05T00:23:25.663Z" }, + { url = "https://files.pythonhosted.org/packages/01/c2/a3c66bd32766c8f4d6dc47d572532ba014fe5be30489f2576aff7cada363/wcwidth-0.9.2-cp315-cp315t-macosx_11_0_arm64.whl", hash = "sha256:138e1f8898e431b2f2d7881f8ca8d75591c1d3c21aa53f54e989bd6b39811da2", size = 611045, upload-time = "2026-10-05T00:23:30.421Z" }, + { url = "https://files.pythonhosted.org/packages/ec/8a/d39964f8f8c019d7d439b9b501d3e7bb42fee69f00354040ba0b27b5824c/wcwidth-0.9.2-cp315-cp315t-manylinux1_i686.manylinux2014_i686.manylinux_2_17_i686.manylinux_2_5_i686.whl", hash = "sha256:5175609bf8cc7398a5f48aa35207bd64ebf9f45e4c70df65f7fdc7a988041a3c", size = 778143, upload-time = "2026-10-05T00:23:47.7Z" }, + { url = "https://files.pythonhosted.org/packages/2f/53/525da13e8f9ff7b5b4e74ec6f8d68bdee63905796972e086c6b1b96670d2/wcwidth-0.9.2-cp315-cp315t-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:e5f669ae8c3d969c72032f9cdee019674b666e522d45e1e2099a2e9dda4a341d", size = 786630, upload-time = "2026-10-05T00:23:36.967Z" }, + { url = "https://files.pythonhosted.org/packages/ef/9f/d6a0c6df354b9d93466548a65cbf4ffcb48c719bbd307504cf3e76740837/wcwidth-0.9.2-cp315-cp315t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:196b47cf32f9df27ccda6dc513237f3c2429c4c659db428d60a5bc443d10f270", size = 784839, upload-time = "2026-10-05T00:23:49.88Z" }, + { url = "https://files.pythonhosted.org/packages/bf/d7/3021feed1ed7926021ec134943ad3b24a2f7ea742cc9976461171482ed77/wcwidth-0.9.2-cp315-cp315t-win32.whl", hash = "sha256:0cd4f7f2e53905dcb110d213a4c8529b6733fa3d232d8c717f946cc69a10349b", size = 600845, upload-time = "2026-10-05T00:24:02.497Z" }, + { url = "https://files.pythonhosted.org/packages/63/80/6a03356d8ee38261e3a78cf89ee03d8e7f12c572d969237be00869e2dc73/wcwidth-0.9.2-cp315-cp315t-win_amd64.whl", hash = "sha256:33df042f96c61ed3cd5fb3742fba427553a635bc578799857a48aa79f774a0b9", size = 605441, upload-time = "2026-10-05T00:24:04.052Z" }, + { url = "https://files.pythonhosted.org/packages/0c/48/1a308a86a833fd12ff7a08d0d2491ff4a72c8a92d12f5ead8317630f771e/wcwidth-0.9.2-cp315-cp315t-win_arm64.whl", hash = "sha256:48719a9bc76c2f84238693fe5013571fa5beffa3621cf228f1f3a9e30dae84b8", size = 605885, upload-time = "2026-10-05T00:23:54.274Z" }, + { url = "https://files.pythonhosted.org/packages/9c/b4/0bfa065af506540d9d558e3e5548cff00bc1f9b24e6e2a8512498e8628de/wcwidth-0.9.2-py3-none-any.whl", hash = "sha256:89ca642c5bf0101157a09366be69fad0379db1f700ae39a920e103234573670e", size = 301667, upload-time = "2026-10-05T00:23:21.097Z" }, +] + +[[package]] +name = "webcolors" +version = "25.10.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/1d/7a/eb316761ec35664ea5174709a68bbd3389de60d4a1ebab8808bfc264ed67/webcolors-25.10.0.tar.gz", hash = "sha256:62abae86504f66d0f6364c2a8520de4a0c47b80c03fc3a5f1815fedbef7c19bf", size = 53491, upload-time = "2025-10-31T07:51:03.977Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/e2/cc/e097523dd85c9cf5d354f78310927f1656c422bd7b2613b2db3e3f9a0f2c/webcolors-25.10.0-py3-none-any.whl", hash = "sha256:032c727334856fc0b968f63daa252a1ac93d33db2f5267756623c210e57a4f1d", size = 14905, upload-time = "2025-10-31T07:51:01.778Z" }, +] + +[[package]] +name = "webencodings" +version = "0.6.1" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/d5/a0/8fd707bcb776a7be556bad06a2ea5fb9bd519df78ef8e26f70ccf0f38bff/webencodings-0.6.1.tar.gz", hash = "sha256:565f9ad031c702dae404e27a099e3e09186a3ab1b9520f06d215502b651fd910", size = 15001, upload-time = "2026-08-15T14:22:57.549Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/77/c6/040cbc72480d789a5f40d63fb484d3106554c4dfa2d2b70ad5022057750f/webencodings-0.6.1-py3-none-any.whl", hash = "sha256:7fab6269c8bf237c657876b52058ccb182e861518d1c695c1a9aaa8c1c105d5b", size = 8745, upload-time = "2026-08-15T14:22:56.31Z" }, +] + +[[package]] +name = "websocket-client" +version = "1.9.2" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/d8/cb/a5abcc2891249f393827c650c6296660ce40374ac22d99ab9aea41f9d2a2/websocket_client-1.9.2.tar.gz", hash = "sha256:0fcb57545848be86992e128218fd96dd87a6769ffdb1a968dff79632b85604d0", size = 84110, upload-time = "2026-08-31T14:08:40.964Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/d5/d2/cc4dc1271e464942db7ee278baae2daa99ee77cb2af744025c04da585a3e/websocket_client-1.9.2-py3-none-any.whl", hash = "sha256:e1a673830a9c7bfa47b1cd3d5e4178f4c9651d80a4eab02c9c23a1c3ec6250ce", size = 95786, upload-time = "2026-08-31T14:08:39.899Z" }, +] diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 00000000..ea6dc9ac --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,269 @@ +[build-system] +requires = ["hatchling==1.32.4"] +build-backend = "hatchling.build" + +[project] +name = "solarlab" +version = "0.1.0" +description = "SolarLab simulation platform and staged public package architecture" +requires-python = ">=3.11" +dependencies = [ + # Keep the observed numerical environment on 3.12+, with a separately + # tested 3.11 branch instead of silently raising the supported minimum. + "numpy==2.3.5; python_version < '3.12'", + "numpy==2.5.3; python_version >= '3.12'", + "scipy==1.16.3; python_version < '3.12'", + "scipy==1.18.1; python_version >= '3.12'", + "pyyaml==6.0.3", + "matplotlib==3.11.2", + "threadpoolctl==3.6.0", + # Strict editable configuration DTOs are part of the new core package. + "pydantic==2.13.5", +] + +[project.optional-dependencies] +server = ["fastapi==0.141.1", "uvicorn==0.52.4", "pydantic==2.13.5"] +# Import support for the existing optional Celery entry point. Broker/worker +# execution is separate from the in-process JobRegistry used by the API. +queue = ["celery[redis]==5.5.3"] +research = ["openpyxl>=3.1", "pymupdf>=1.24"] +ida = ["scikit-sundae==1.1.3"] +# Optional rigorous Arb observer arithmetic; installed explicitly in core CI. +arb = ["python-flint==0.8.0"] +dev = [ + "pytest==9.1.1", + "pytest-cov==7.1.0", + "httpx==0.28.1", + "jsonschema==4.26.0", + "ruff>=0.15.20", + "mypy>=1.18", + "import-linter>=2.5", +] +notebook = ["jupyterlab>=4.0"] + +[tool.uv] +# Preserve the observed transitive baseline as well as the direct pins above. +# contourpy 1.4 requires 3.12; uv selects a compatible release on Python 3.11. +constraint-dependencies = [ + "annotated-doc==0.0.5", + "annotated-types==0.8.0", + "anyio==4.15.1", + "certifi==2026.7.22", + "click==8.5.0", + "contourpy==1.4.0; python_version >= '3.12'", + "coverage==7.16.0", + "cycler==0.12.1", + "fonttools==4.65.0", + "h11==0.16.0", + "httpcore==1.0.9", + "idna==3.19", + "iniconfig==2.3.0", + "kiwisolver==1.5.1", + "packaging==26.3", + "pillow==12.3.0", + "pluggy==1.6.0", + "pydantic-core==2.46.5", + "pygments==2.21.0", + "pyparsing==3.3.2", + "python-dateutil==2.9.0.post0", + "six==1.17.0", + "starlette==1.6.0", + "typing-extensions==4.16.0", + "typing-inspection==0.4.4", +] +# The pinned optional IDA wheel supports Python <3.15. This limits the +# reproducible lock, without changing the package's existing >=3.11 minimum. +environments = ["python_version < '3.15'"] +exclude-newer = "2026-10-05T08:33:47Z" + +[tool.ruff] +target-version = "py311" +line-length = 88 + +[tool.ruff.lint] +select = ["E4", "E7", "E9", "F"] + +[tool.mypy] +python_version = "3.11" +follow_imports = "skip" +ignore_missing_imports = true +check_untyped_defs = true +disallow_untyped_defs = true + +[tool.pytest.ini_options] +testpaths = ["tests"] +addopts = "-ra -m 'not slow'" +markers = [ + "slow: marks tests as slow (run with -m slow)", + "requires_clean_core: binds the running core to committed source; skips on changed bound Python files", + "platform_bound: consumes captured numeric fixtures; only frozen-output comparisons use the capture guard, portable metadata and live parity still run", + "frontend: Python/TypeScript client contracts executed by the frontend CI job", + "regression: physical-sanity regression tests (V_oc / J_sc / FF envelopes, parity gates)", + "validation: physics trend validation against literature windows (V_oc vs Eg, FF vs mobility, etc.)", +] + +# Transitional P03-01 build: one legacy source tree, explicitly mapped beside +# the three new packages. P09-01 excludes the legacy engine from the release; +# P09-03 retires its source only after every consumer has migrated. +[tool.hatch.build] +reproducible = true +exclude = ["**/__pycache__/**", "**/*.pyc", "**/*.pyo", "**/.DS_Store"] + +[tool.hatch.build.targets.wheel] +only-include = [ + "src/solarlab", + "src/solarlab_research", + "src/solarlab_server", + "perovskite-sim/perovskite_sim", +] +sources = ["src", "perovskite-sim"] + +[tool.hatch.build.targets.sdist] +only-include = [ + ".gitignore", + "pyproject.toml", + "uv.lock", + "examples/research_1d", + "examples/research_2d", + "tests/integration/test_research_1d_workflow.py", + "src/solarlab", + "src/solarlab_research", + "src/solarlab_server", + "perovskite-sim/perovskite_sim", + "perovskite-sim/pyproject.toml", + "perovskite-sim/uv.lock", + "tests/refactor/test_package_preparation.py", + "tests/refactor/test_configuration_preparation.py", + "tests/refactor/test_registry_preparation.py", + "tests/refactor/test_device_configuration_preparation.py", + "tests/refactor/test_complex_configuration_preparation.py", + "tests/refactor/test_structured_registry_preparation.py", + "tests/refactor/test_execution_identity_preparation.py", + "tests/refactor/test_execution_manifest.py", + "tests/refactor/test_release_bundle.py", + "tests/refactor/test_binding_identity.py", + "tests/refactor/test_registry_mapping.py", + "tests/refactor/test_registry_migration.py", + "tests/refactor/test_jv_protocol_preparation.py", + "tests/refactor/test_sweep_preparation.py", + "tests/refactor/fixtures/jv_reference_requests.json", + "tests/refactor/test_behavior_context.py", + "tests/refactor/test_configuration_schema_export.py", + "tests/refactor/test_configuration_input_types.py", + "tests/refactor/test_package_boundaries.py", + "tests/refactor/test_experiment_registry_startup.py", + "tests/refactor/test_input_domain_closure.py", + "tests/refactor/test_legacy_behavior_execution.py", + "tests/refactor/test_legacy_execution_context.py", + "tests/refactor/test_effective_behavior_identity.py", + "tests/refactor/test_configuration_migration.py", + "tests/refactor/legacy_driver_observer.py", + "tests/refactor/fixtures/r1_common_state_preparation.json", + "tests/refactor/fixtures/r1_pair_common_state_preparation.json", + "tests/refactor/fixtures/r1_execution_policy.json", + "perovskite-sim/tests/fixtures/OneDimensionalMechanismR1ReferenceBindingV1.json", + "perovskite-sim/tests/fixtures/configs/dynamic_interface_defect_ion_transient_absorber_only.yaml", + "perovskite-sim/reproducibility/OneDimensionalMechanismR1DynamicsInputV1.json", + "reproducibility/RefactorTransitionBoundariesV1.json", + "scripts/generate_configuration_schema.py", + "web/src", + "web/tests", + "web/public", + "web/scripts", + "web/package.json", + "web/package-lock.json", + "web/index.html", + "web/tsconfig.json", + "web/vite.config.ts", + "web/vitest.config.ts", + "web/Dockerfile", + "web/.gitignore", + "perovskite-sim/tests/fixtures/IonDiffusivityFigureReference.json", + "perovskite-sim/tests/fixtures/configs/cigs_graded_optics.yaml", + "perovskite-sim/tests/fixtures/configs/wkb_resolved_electron_barrier.yaml", + "perovskite-sim/tests/fixtures/configs/nip_MAPbI3.yaml", + "perovskite-sim/tests/fixtures/configs/tandem_lin2019.yaml", + "perovskite-sim/tests/fixtures/configs/nip_wideGap_FACs_1p77.yaml", + "perovskite-sim/tests/fixtures/configs/nip_SnPb_1p22.yaml", + "perovskite-sim/configs/scaps_mirror_v2.yaml", + "tests/runtime/test_run_store.py", + "tests/runtime/test_execution.py", + "tests/runtime/execution_workers.py", + "tests/runtime/runtime_evidence.py", + "tests/runtime/test_event_service.py", + "tests/runtime/test_configuration_schema_service.py", + "tests/runtime/test_configuration_preview.py", +] + +[tool.importlinter] +root_packages = ["solarlab", "solarlab_research", "solarlab_server"] +include_external_packages = true + +[[tool.importlinter.contracts]] +name = "Core has no companion or legacy dependency" +type = "forbidden" +source_modules = ["solarlab"] +forbidden_modules = [ + "solarlab_research", "solarlab_server", "perovskite_sim", "backend", +] + +[[tool.importlinter.contracts]] +name = "Companion packages are independent" +type = "independence" +modules = ["solarlab_research", "solarlab_server"] + +[[tool.importlinter.contracts]] +name = "Material data does not import higher configuration or device layers" +type = "forbidden" +source_modules = ["solarlab.materials"] +forbidden_modules = ["solarlab.config", "solarlab.device", "solarlab.physics", "solarlab.experiments"] + +[[tool.importlinter.contracts]] +name = "Units do not depend on model or input data" +type = "forbidden" +source_modules = ["solarlab.units"] +forbidden_modules = ["solarlab.materials", "solarlab.config", "solarlab.device", "solarlab.physics", "solarlab.experiments"] + +[[tool.importlinter.contracts]] +name = "Physics declarations do not import device assembly or experiments" +type = "forbidden" +source_modules = ["solarlab.physics"] +forbidden_modules = ["solarlab.config", "solarlab.device", "solarlab.experiments"] + +# Parenthesized layers may be absent while WS3 creates its packages. They are +# enforced as soon as they exist; tests create each future layer and exercise +# direct and indirect violations without adding placeholder production modules. +[[tool.importlinter.contracts]] +name = "Physics does not depend on equation assembly" +type = "layers" +layers = ["(solarlab.equations)", "solarlab.physics"] + +[[tool.importlinter.contracts]] +name = "Solvers do not depend on device assembly" +type = "layers" +layers = ["solarlab.device", "(solarlab.solvers)"] + +[[tool.importlinter.contracts]] +name = "Low-level geometry stays below solvers and spatial experiments" +type = "layers" +layers = [ + "solarlab.experiments.two_dimensional", + "(solarlab.solvers)", + "(solarlab.discretization)", + "(solarlab.mesh)", +] + +[[tool.importlinter.contracts]] +name = "Solvers do not depend on experiment orchestration" +type = "forbidden" +source_modules = ["solarlab.solvers"] +forbidden_modules = ["solarlab.experiments"] + +[[tool.importlinter.contracts]] +name = "Shared contracts do not import implementation layers" +type = "layers" +containers = ["solarlab"] +layers = [ + "config : device : materials : reproducibility : units : physics : experiments : sweeps : (io) : (mesh) : (discretization) : (equations) : (solvers)", + "(contracts)", +] diff --git a/reproducibility/ConfigBenchmarkMatrixV2.yaml b/reproducibility/ConfigBenchmarkMatrixV2.yaml new file mode 100644 index 00000000..dcef43de --- /dev/null +++ b/reproducibility/ConfigBenchmarkMatrixV2.yaml @@ -0,0 +1,4782 @@ +# Inactive migration substrate; V1 bytes, historical claims and production consumers stay unchanged. +# Prepared content is not H_physics, a protocol/execution identity or a scientific certificate. +schema_version: solarlab.registry-migration.v2 +kind: configuration_matrix +activation: pending_migration +original_registry: perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml +companion_registry: perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml +original_path_root: perovskite-sim +original_reader: + source_id: perovskite-sim/perovskite_sim/reproducibility.py + symbol: validate_matrix +historical_verification: original_bytes_paths_and_original_reader; no_certificate_reinterpretation +sources: +- id: perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml + path: perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml + sha256: 35165f16511bcf61a3eecec1c2391780249206aecc97fe17dd1cf30c046681be + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml + path: perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml + sha256: b808fb2c7e44b282fe5e8a7d55a8f23a12101451104c6c639e2991fec34a2dff + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/reproducibility/SchemaRegistry.yaml + path: perovskite-sim/reproducibility/SchemaRegistry.yaml + sha256: 549bb9f0c83c8d1e4f827293586236b765eab477b31014e9e508f49be15eae37 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/fixtures/configs/cSi_homojunction.yaml + path: perovskite-sim/tests/fixtures/configs/cSi_homojunction.yaml + sha256: c179e087a6623c7d19dfc7f6a3af056e6fcd5a0382e2e2b0e1e26dc08d883c99 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/fixtures/configs/csi_degenerate_pn_research.yaml + path: perovskite-sim/tests/fixtures/configs/csi_degenerate_pn_research.yaml + sha256: 6d707f97bc1632521b5176f55d6e004cc171636e0264e85aa4f20eadafe2dfcb + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/fixtures/configs/csi_incomplete_ionization_pn_research.yaml + path: perovskite-sim/tests/fixtures/configs/csi_incomplete_ionization_pn_research.yaml + sha256: d98b07049abfb17f44404eac91557338dad3a16341b6350d291d940c258abc72 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/fixtures/configs/csi_incomplete_ionization_bgn_pn_research.yaml + path: perovskite-sim/tests/fixtures/configs/csi_incomplete_ionization_bgn_pn_research.yaml + sha256: 2fb63bd79a0f0917083d887e80301712d65b9ca46ace02bedb9cb5c5336e789b + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/fixtures/configs/csi_gaussian_bulk_trap_pn_research.yaml + path: perovskite-sim/tests/fixtures/configs/csi_gaussian_bulk_trap_pn_research.yaml + sha256: 7e8bf1ab6669bd8088cd402ef73aca1cd75c9ae1755d3137faf6650569ac481b + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/fixtures/configs/csi_vannijen2025_pn_cv.yaml + path: perovskite-sim/tests/fixtures/configs/csi_vannijen2025_pn_cv.yaml + sha256: eb4806e7167c258bd6fb5e47fe02ebadc92e8963055c06a73a5775a20178f5ad + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/fixtures/configs/cigs_baseline.yaml + path: perovskite-sim/tests/fixtures/configs/cigs_baseline.yaml + sha256: 46dabc8418b7060a2124206793f3b6f07a01f35826b6b537591c64dbd2abe4af + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/fixtures/configs/cigs_graded_notch.yaml + path: perovskite-sim/tests/fixtures/configs/cigs_graded_notch.yaml + sha256: d622f92e21face4e9a9e1780300566e1cda8c77d0e5e10171882f6cb8d7a5185 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/fixtures/configs/wkb_tunnelling_intraband_spike.yaml + path: perovskite-sim/tests/fixtures/configs/wkb_tunnelling_intraband_spike.yaml + sha256: 545067cfedc8598b62fd1991aeaf3cd13d3153151e427452d1b78f6d523df20b + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/fixtures/configs/wkb_resolved_electron_barrier.yaml + path: perovskite-sim/tests/fixtures/configs/wkb_resolved_electron_barrier.yaml + sha256: 891165e5ac68609b27dbe6c98b00e27d9b40b4df6edabde764ddda62d4788d27 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/fixtures/configs/tpv_physical_reference.yaml + path: perovskite-sim/tests/fixtures/configs/tpv_physical_reference.yaml + sha256: 2e470b672f2b0ee6970ff169deedf7ce09ed0a45beb8ab9c55b48ab8da487c10 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/fixtures/configs/cigs_graded_optics.yaml + path: perovskite-sim/tests/fixtures/configs/cigs_graded_optics.yaml + sha256: 9539deb2d0883838c9dac42dd95aae41eafb109e9d83205c3273fbd8df0e0fbd + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/fixtures/configs/dual_ion_demo.yaml + path: perovskite-sim/tests/fixtures/configs/dual_ion_demo.yaml + sha256: a52ded5f1a674dfcd12e20ea51db9bddcfb035a199d4610639569dd797597064 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/fixtures/configs/driftfusion_benchmark.yaml + path: perovskite-sim/tests/fixtures/configs/driftfusion_benchmark.yaml + sha256: 3e4cea0244bcb71072194d24ff5a31e50eb780d8d93dc8bc2343a8032de3fbf7 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/fixtures/configs/driftfusion_benchmark_tmm.yaml + path: perovskite-sim/tests/fixtures/configs/driftfusion_benchmark_tmm.yaml + sha256: bf0a186c772f5aadff9cfc1c4471534945e9849f42bea75f8097859f4c7350ce + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/fixtures/configs/driftfusion_calado2016_repro.yaml + path: perovskite-sim/tests/fixtures/configs/driftfusion_calado2016_repro.yaml + sha256: 536dc33d42e214072bbeb14256582682ed0efd8ffaa39b1a3ee716217923c7dd + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/configs/calado2016_fig1f.yaml + path: perovskite-sim/configs/calado2016_fig1f.yaml + sha256: 825d77f15bcfb3e550cc601231a9b6ce07ca11fe185a3eb7d7ef121d54c0ec2a + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/configs/calado2016_ion_sweep.yaml + path: perovskite-sim/configs/calado2016_ion_sweep.yaml + sha256: 2b436f161a62c9edb2f0b1bbbcf0d2d6a5f27471d2a5d296952173c4baadea9c + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/fixtures/configs/distributed_defect_qf_dc_pn.yaml + path: perovskite-sim/tests/fixtures/configs/distributed_defect_qf_dc_pn.yaml + sha256: 7a6b1c16d8ea313177e3a761660bd6b7bbb546b14aa23189f91a9187ff0904f8 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/fixtures/configs/dynamic_defect_ion_impedance.yaml + path: perovskite-sim/tests/fixtures/configs/dynamic_defect_ion_impedance.yaml + sha256: 0b7424e4170d7d3792f40f97361edee3a881a04a39ad3a549fb7de621798422a + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/fixtures/configs/dynamic_interface_defect_ion_transient.yaml + path: perovskite-sim/tests/fixtures/configs/dynamic_interface_defect_ion_transient.yaml + sha256: 7aa464bc4772030318ebfa5fa7eb293e346ddf33f70f74083ba120f4240fd7c8 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/fixtures/configs/dynamic_interface_defect_ion_transient_absorber_only.yaml + path: perovskite-sim/tests/fixtures/configs/dynamic_interface_defect_ion_transient_absorber_only.yaml + sha256: f617f230b2d9c144573394e38fcc313225dc84c7b38f7670b97e9a0a7cc12a24 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/fixtures/configs/graded_distributed_defect_qf_dc_pn.yaml + path: perovskite-sim/tests/fixtures/configs/graded_distributed_defect_qf_dc_pn.yaml + sha256: b6db3b87c509bafc7dae5e84640b12a0277668d612b4f9933f848a3ad99a715f + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/fixtures/configs/field_mobility_demo.yaml + path: perovskite-sim/tests/fixtures/configs/field_mobility_demo.yaml + sha256: 7ca86a8d5d35c50d0892de55e2375eaf8e9d0966477cd378ace6cae1a5e88edd + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/fixtures/configs/interface_charge_reference.yaml + path: perovskite-sim/tests/fixtures/configs/interface_charge_reference.yaml + sha256: 300f57a256dc764995b916a55b98b642ecd8244eccd2ca456624d9521e0e2705 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/fixtures/configs/interface_charge_jv_research.yaml + path: perovskite-sim/tests/fixtures/configs/interface_charge_jv_research.yaml + sha256: 5f4bbf89cf2d95fb020cdc9ade111d838ed38cc1c14a722e5fd800e30c6590c1 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/fixtures/configs/interface_charge_research.yaml + path: perovskite-sim/tests/fixtures/configs/interface_charge_research.yaml + sha256: 523449448807e4993f999300308096003c3eeaf280924b7af208915a3cf41a54 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/fixtures/configs/ionmonger_benchmark.yaml + path: perovskite-sim/tests/fixtures/configs/ionmonger_benchmark.yaml + sha256: fbc82c9b85d121c459ab08d07d1c7f886eef36f4db669d354b79d260f43c8750 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/fixtures/configs/ionmonger_benchmark_tmm.yaml + path: perovskite-sim/tests/fixtures/configs/ionmonger_benchmark_tmm.yaml + sha256: 09728fba308a206b3bdcd0874fdfc1775ac125dcfa42d10f70e9db8887c46fea + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/fixtures/configs/ionmonger_courtier2019_repro.yaml + path: perovskite-sim/tests/fixtures/configs/ionmonger_courtier2019_repro.yaml + sha256: ea88b2d05bca4f617b001092630b3de6e55293b6707c7083c7ee25efa3a5242f + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/fixtures/configs/nip_MAPbI3.yaml + path: perovskite-sim/tests/fixtures/configs/nip_MAPbI3.yaml + sha256: 20fa8a8097c965330ce7b0d7e8f9286fc1960585231c360841d24ba7a1845668 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/fixtures/configs/nip_MAPbI3_tmm.yaml + path: perovskite-sim/tests/fixtures/configs/nip_MAPbI3_tmm.yaml + sha256: 4624f6923ffc10fbd401ce37702250f72b558d3e4ecdbd5d8e766ab84e21b1b2 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/fixtures/configs/nip_SnPb_1p22.yaml + path: perovskite-sim/tests/fixtures/configs/nip_SnPb_1p22.yaml + sha256: 2b5271f1c0f943074ea8de647e0e57c1d456e43f785e6123eb73d616c3e11c1d + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/fixtures/configs/nip_wideGap_FACs_1p77.yaml + path: perovskite-sim/tests/fixtures/configs/nip_wideGap_FACs_1p77.yaml + sha256: 063c10f521a9943bd63728687ca383b2693ae437071aaedbeb98cdbe26e96147 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/fixtures/configs/pin_MAPbI3.yaml + path: perovskite-sim/tests/fixtures/configs/pin_MAPbI3.yaml + sha256: 3881eda9e5d7d4c71e1215e11b01f113a4764b1c74b4932e4c7932f69eb3d605 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/fixtures/configs/pin_MAPbI3_tmm.yaml + path: perovskite-sim/tests/fixtures/configs/pin_MAPbI3_tmm.yaml + sha256: 984b5f8bb9858994a1100de70896fc4a9474b43ef1857d633beb14f75a9a22df + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/fixtures/configs/radiative_limit.yaml + path: perovskite-sim/tests/fixtures/configs/radiative_limit.yaml + sha256: 8d529e4321fb1bb3c32d1d516946aa768f641982d4ab6e12059c46fa5e1fb8c9 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/fixtures/configs/scaps_defect_m1_double_donor_p.yaml + path: perovskite-sim/tests/fixtures/configs/scaps_defect_m1_double_donor_p.yaml + sha256: 43516a15f6ceeb6ba5fb4381c789e1c073ead4b101081d583da60c4bf9407290 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/fixtures/configs/scaps_defect_m2_double_acceptor_n.yaml + path: perovskite-sim/tests/fixtures/configs/scaps_defect_m2_double_acceptor_n.yaml + sha256: 32c7828624f482259d681aeca4d148d882483719de43dc72ce0b117d4f27d223 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/fixtures/configs/scaps_defect_m3_amphoteric_i.yaml + path: perovskite-sim/tests/fixtures/configs/scaps_defect_m3_amphoteric_i.yaml + sha256: 7e772e2e92a5d862ac8b54f0b5cd684829bbe9ae34eb3aee607ab78a3586915c + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/fixtures/configs/scaps_defect_s0_neutral.yaml + path: perovskite-sim/tests/fixtures/configs/scaps_defect_s0_neutral.yaml + sha256: 77b89e16c365cd5c4cf9f7aa439f0200ec9ad9b814e60bbe81895afef65025c7 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/fixtures/configs/scaps_defect_s1_acceptor_n.yaml + path: perovskite-sim/tests/fixtures/configs/scaps_defect_s1_acceptor_n.yaml + sha256: f49900b296a2bfb3c5a28d9135b24dcf8f0d6c409f105a70d4dd27100ebcb681 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/fixtures/configs/scaps_defect_s2_donor_p.yaml + path: perovskite-sim/tests/fixtures/configs/scaps_defect_s2_donor_p.yaml + sha256: 7fff245d23a99cb1128124d073269a3b3f1d8ee9a9f07730ce558ab4eb3d8066 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/fixtures/configs/scaps_mirror.yaml + path: perovskite-sim/tests/fixtures/configs/scaps_mirror.yaml + sha256: 7ad4968d9c8249b76ca4e649d41c39e26727f6818cb81a15fe75f6b74b11b881 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/configs/scaps_mirror_v2.yaml + path: perovskite-sim/configs/scaps_mirror_v2.yaml + sha256: 5500c9485f6a9518430511019546933277cdc3274fd3a005182394f39d2fcf67 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/fixtures/configs/scaps_mirror_v2_robin_moderate.yaml + path: perovskite-sim/tests/fixtures/configs/scaps_mirror_v2_robin_moderate.yaml + sha256: 2d0d25a59802cac9c85f2b4a84ee49f9b42100fe0f87cb00f647462b475a0f95 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/fixtures/configs/scaps_mirror_v2_robin_strong.yaml + path: perovskite-sim/tests/fixtures/configs/scaps_mirror_v2_robin_strong.yaml + sha256: 2b35b8e0a8efdc1e3432dc55b00f03b6f6bcf53d43e699502ef3c903152057ee + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/fixtures/configs/selective_contacts_demo.yaml + path: perovskite-sim/tests/fixtures/configs/selective_contacts_demo.yaml + sha256: 731b5a77435484ff638183e83e77a7479da4c7b16aadfe79f15ae966764f682d + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/fixtures/configs/solarscale_nip_band_aligned.yaml + path: perovskite-sim/tests/fixtures/configs/solarscale_nip_band_aligned.yaml + sha256: 8b0d9cadfb1d198cf32ea647c95ed25fa38928d8b2f5770bcf49902114402088 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/fixtures/configs/solarscale_nip_band_aligned_iface.yaml + path: perovskite-sim/tests/fixtures/configs/solarscale_nip_band_aligned_iface.yaml + sha256: 538fed52f0d40123ecc1b8a4c1391616f9f35a93637157f3374e90fc8f43c344 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/fixtures/configs/tandem_lin2019.yaml + path: perovskite-sim/tests/fixtures/configs/tandem_lin2019.yaml + sha256: 2eb26eb1902d0b9fbaf6e1b019dc79a163d2989adb13654c90ef508b4fdaded0 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/fixtures/configs/twod/bcx_combined_demo.yaml + path: perovskite-sim/tests/fixtures/configs/twod/bcx_combined_demo.yaml + sha256: de41a3ea4547a2c97a4327f2c2edaeab4b162e6a51ed43aae4e40ef3047c46dc + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/fixtures/configs/twod/combined_mobile_interface_research.yaml + path: perovskite-sim/tests/fixtures/configs/twod/combined_mobile_interface_research.yaml + sha256: 08b0593cbd4e1c11d4603b521ddfb2e4590ef4daa41fbfa7fe4eac857eb606d1 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/fixtures/configs/twod/nip_MAPbI3_singleGB.yaml + path: perovskite-sim/tests/fixtures/configs/twod/nip_MAPbI3_singleGB.yaml + sha256: 01870c441a410f0c99a6d71ee363e862798ee05fdaaf03156bb657a16b6cf5b6 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/fixtures/configs/twod/nip_MAPbI3_uniform.yaml + path: perovskite-sim/tests/fixtures/configs/twod/nip_MAPbI3_uniform.yaml + sha256: 6a7e0022575e680e3b4348774eb604c3273930b7a0fe210994e6532cd6d59dcb + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/perovskite_sim/data/am15g.csv + path: perovskite-sim/perovskite_sim/data/am15g.csv + sha256: efa3f5ef4e71fbbd981e2741c296ee461b2421f50fa4819ba64a6cb026fae6a8 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/perovskite_sim/data/layer_templates.yaml + path: perovskite-sim/perovskite_sim/data/layer_templates.yaml + sha256: 6a3dc2be4af2f2967230d17c7b39ff2be87bd3eec225eaa669520149189c3e5d + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/perovskite_sim/data/references/csi_pn_cv_intercept.yaml + path: perovskite-sim/perovskite_sim/data/references/csi_pn_cv_intercept.yaml + sha256: 14e38316eea8c65e1af81e578198f3c07dbacfb86ef239157840d519bf6320d7 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/perovskite_sim/data/references/csi_vannijen2025_pn_cv.yaml + path: perovskite-sim/perovskite_sim/data/references/csi_vannijen2025_pn_cv.yaml + sha256: b4cd86bc232bd9b22a8aee80e564d9c3a19899f93cdb413965e801d3fab7c81c + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/perovskite_sim/data/nk/manifest.yaml + path: perovskite-sim/perovskite_sim/data/nk/manifest.yaml + sha256: 9fa638d24385a4602a8752a26a9affd55c9083e9680024902a7bd430f5c76ea1 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/perovskite_sim/data/nk/Ag.csv + path: perovskite-sim/perovskite_sim/data/nk/Ag.csv + sha256: 4df8c2b7ca90d24be74477bc9e8a27ef83c2e7d42e2885465cdd87c70abbd3f3 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/perovskite_sim/data/nk/Au.csv + path: perovskite-sim/perovskite_sim/data/nk/Au.csv + sha256: f573ae5583ec88e572b97bac5bf4f4629e17ad2d52c5ed7d8afc815d952ee7f1 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/perovskite_sim/data/nk/C60.csv + path: perovskite-sim/perovskite_sim/data/nk/C60.csv + sha256: 60f7accc2cb26faac8d041861d1c4be5a15c244480c0e6d920acc980d938a68d + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/perovskite_sim/data/nk/Cu.csv + path: perovskite-sim/perovskite_sim/data/nk/Cu.csv + sha256: 09fd0124c6d015d975a5eca1e9973b8416f02194e54df2cae63a322fbb013824 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/perovskite_sim/data/nk/FA_Cs_1p77.csv + path: perovskite-sim/perovskite_sim/data/nk/FA_Cs_1p77.csv + sha256: 0ee7387604904b252319a8e538bac101af3dad2b5c8a05b50fa2bda883578013 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/perovskite_sim/data/nk/FTO.csv + path: perovskite-sim/perovskite_sim/data/nk/FTO.csv + sha256: 481cc65eb23e22cebe924324cbe9f4553a09c53a8f3429d1600fad1c7bd6e1e9 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/perovskite_sim/data/nk/ITO.csv + path: perovskite-sim/perovskite_sim/data/nk/ITO.csv + sha256: d75e26ff9979d7db96b45035a3540914a1fb9ca3cf2cde3c3edaead70c3cef2e + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/perovskite_sim/data/nk/MAPbI3.csv + path: perovskite-sim/perovskite_sim/data/nk/MAPbI3.csv + sha256: 3e5e2b19c5563ba8132ab949270831c0aaa660be38aa26070c364a7414b9f6c7 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/perovskite_sim/data/nk/NiOx.csv + path: perovskite-sim/perovskite_sim/data/nk/NiOx.csv + sha256: b01357aca6a8eee41b2e22c87ec8ab5be4eca67254becf76af92d268ece8be81 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/perovskite_sim/data/nk/PCBM.csv + path: perovskite-sim/perovskite_sim/data/nk/PCBM.csv + sha256: b03a78c4b97e2f8472266f4d3b5e7c9e1f23526531edd68b9dc80f95cd91ba56 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/perovskite_sim/data/nk/PEDOT_PSS.csv + path: perovskite-sim/perovskite_sim/data/nk/PEDOT_PSS.csv + sha256: 0ccca48126dd4d27053e6c154f398c32873d0b935c40a3cda5672979cd578eb3 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/perovskite_sim/data/nk/SnO2.csv + path: perovskite-sim/perovskite_sim/data/nk/SnO2.csv + sha256: f3ba07ff715ceca647099c67eb478bad1281e0cb20d9118591f9b566938bafa2 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/perovskite_sim/data/nk/SnPb_1p22.csv + path: perovskite-sim/perovskite_sim/data/nk/SnPb_1p22.csv + sha256: 29ab6df37a81e4425cbcaba4ea11df94e2117a0228ebd3a39fe38a9ca7d2799f + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/perovskite_sim/data/nk/TiO2.csv + path: perovskite-sim/perovskite_sim/data/nk/TiO2.csv + sha256: d0773f2042cff4819d432fd07fbc560f2f894afa51fe2dc42f54aa4db24b2de6 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/perovskite_sim/data/nk/glass.csv + path: perovskite-sim/perovskite_sim/data/nk/glass.csv + sha256: 767eeb506dab6f90722a61178649b5c59eb767a915a759db8d30b9160b8d452d + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/perovskite_sim/data/nk/spiro_OMeTAD.csv + path: perovskite-sim/perovskite_sim/data/nk/spiro_OMeTAD.csv + sha256: 45d4eff61f7be07371ce089b7d665bd670bf4e05e2c2950baab8592a9adccd31 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/reproducibility/test_matrix.py + path: perovskite-sim/tests/reproducibility/test_matrix.py + sha256: 8fdf0c4a63a8cd28be91002090a8357c49ed0b483f3dad1ecfe0c4dd07ae2498 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/regression/test_tolerance_grid_refinement.py + path: perovskite-sim/tests/regression/test_tolerance_grid_refinement.py + sha256: 1315df4db5dc09beebe293629e042406ff56c701491ef9ec567229a35c223995 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/unit/validation/test_refinement_executors.py + path: perovskite-sim/tests/unit/validation/test_refinement_executors.py + sha256: b3da804ee34c977891951564c1d71d354a304a356db66c0851d20dfd336e9bd5 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py + path: perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py + sha256: c051719cd0e25ed9a851ef4a0369c2bc9a4d9eddff71997ea3b081090066457a + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/unit/validation/test_interface_charge_stress.py + path: perovskite-sim/tests/unit/validation/test_interface_charge_stress.py + sha256: 1504a10d1bf7c35532c251f3c7417dcdb7380644ff4fa3e79e8737acfc0e3138 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/unit/sweeps/test_interface_defect_sweep.py + path: perovskite-sim/tests/unit/sweeps/test_interface_defect_sweep.py + sha256: ec30ea88aa9b8f3175808af5356b0389af436760d59e24a9fc26fe12124b28b2 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py + path: perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py + sha256: ed915eef1fa7f63ee1b774fd798e1cadcbdb5afb45707be6c1af46328eb7521f + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py + path: perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py + sha256: 4ccbc045ce2d7c91f26d0a19024f515a34c80e7cb6ce92aa9c1e05cdd7ffda8e + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/validation/test_paper_configurations.py + path: perovskite-sim/tests/validation/test_paper_configurations.py + sha256: a6889042842095ced7f3d8d24d6c5e478a6c7335051b42a98cf8bd775d4d4b6a + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/integration/test_tandem_lin2019.py + path: perovskite-sim/tests/integration/test_tandem_lin2019.py + sha256: 050d91e5ada7f625d4e706f06793d140158f6b23ab4b6614c64cabf07eee68bb + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/regression/test_mesh_convergence.py + path: perovskite-sim/tests/regression/test_mesh_convergence.py + sha256: 1f82b82527137b61a34b55e371ef727d606dfa070cfd734d1574db5ff44fe9b9 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/regression/test_p1_steady_state_mesh_convergence.py + path: perovskite-sim/tests/regression/test_p1_steady_state_mesh_convergence.py + sha256: 956a52da2a10e93fc90acae028e2dfa2214082000dbe7e343f75de769282a30a + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/regression/test_tmm_baseline.py + path: perovskite-sim/tests/regression/test_tmm_baseline.py + sha256: 70d6dc28667ff97ad787327a8800d954bdb0c4de56d9f8d40e45910f3cf9fe46 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/regression/test_twod_validation.py + path: perovskite-sim/tests/regression/test_twod_validation.py + sha256: ad80439a36fe05704b8a8c6120452bafe84a071437a7fb120e6b348201886ccd + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/integration/test_twod_combined_refinement.py + path: perovskite-sim/tests/integration/test_twod_combined_refinement.py + sha256: 87a77097b4cdaacb47c0763f2e430306fe09f8e59939f2ef437a3d737f3720ee + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/unit/validation/test_twod_combined_refinement.py + path: perovskite-sim/tests/unit/validation/test_twod_combined_refinement.py + sha256: b6a45c4e1d82f9c0c6b5333ff1e7b24fe075bbd3f6572947af51c90b6c7c22c5 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/integration/test_external_circuit_refinement.py + path: perovskite-sim/tests/integration/test_external_circuit_refinement.py + sha256: 25319fc8ce4d3c090c7c12af166b219e3cc967d94b7765d1f169c4be0671294c + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/unit/validation/test_external_circuit_refinement.py + path: perovskite-sim/tests/unit/validation/test_external_circuit_refinement.py + sha256: 425b2654955a9a7d55124595dd45d1d6e8fb1c9a15d413fc2108238793134643 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/integration/test_scaps_mirror_cbo_trend.py + path: perovskite-sim/tests/integration/test_scaps_mirror_cbo_trend.py + sha256: b3fe147e70577ecc1c045fe76513fc1b53eb9f2f3d46d2784193628e4806e398 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/regression/test_grading_cigs_notch.py + path: perovskite-sim/tests/regression/test_grading_cigs_notch.py + sha256: 7c3b101ef973cfab53e8c4c4bfb2c38a64ed5a5c91d529e83fae21ec0920efc0 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/integration/test_cigs_graded_optics.py + path: perovskite-sim/tests/integration/test_cigs_graded_optics.py + sha256: 28bc9f956a021822eb9faf656ac4c7a8e98b73707fa4d417393f64e8f2014fb3 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/unit/validation/test_cigs_optics_refinement.py + path: perovskite-sim/tests/unit/validation/test_cigs_optics_refinement.py + sha256: f390e40c52008e31ca4f8d54416a212028e740926778a76d6dcde3656a135035 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/regression/test_csi_grid_envelope.py + path: perovskite-sim/tests/regression/test_csi_grid_envelope.py + sha256: 6afedf5488fb7c1826cbd02ca0e04982598a72312ec00f3dba6e0899dab09c99 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/integration/backend/test_user_configs_api.py + path: perovskite-sim/tests/integration/backend/test_user_configs_api.py + sha256: 3a8c71165b1f08c0988615b6dc06c910a52974bc49731e7b578aa11c96097733 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/unit/experiments/test_jv_driver_capability.py + path: perovskite-sim/tests/unit/experiments/test_jv_driver_capability.py + sha256: caeb2914f4e61f3c3d247da985d2144cdc927e546ffa4693588623638ca97acd + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/unit/backend/test_solver_dispatch.py + path: perovskite-sim/tests/unit/backend/test_solver_dispatch.py + sha256: 9b255f0b3ef5f49727404817bd1fb711e0a448d57ca2db907b6a4cf6164b0556 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/regression/test_csi_generic_state_cancellation.py + path: perovskite-sim/tests/regression/test_csi_generic_state_cancellation.py + sha256: 817a5afa9c60e4c01e622567661c7b988cc579701408a9724a75fceef6c06589 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py + path: perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py + sha256: 732d2dc3ea15d875bfcca226cc36532b5f464597a3c78917a48dcedc3593d0a1 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py + path: perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py + sha256: e7de07eceed77c4356a758d317baf9996a9f97c1db5368a1c04e8cc7caf65ebd + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/validation/test_csi_vannijen2025_cv.py + path: perovskite-sim/tests/validation/test_csi_vannijen2025_cv.py + sha256: 6d8c9fb09802a83f3594ac4b8a66cfa758c0800651d2b7a1305cde7f3d5ae490 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/unit/experiments/test_steady_state.py + path: perovskite-sim/tests/unit/experiments/test_steady_state.py + sha256: 1bd95145058440d09a46c16a27aee490749dc5d51ce9ba8b91b9eff4a33ee17c + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/unit/physics/test_degenerate_transport.py + path: perovskite-sim/tests/unit/physics/test_degenerate_transport.py + sha256: 6834fee203cec300d0f2d24e3e30a62bf3982ea8247361cabf560f05eabd9611 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py + path: perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py + sha256: 1798e8af9794fe0c8fe2f9e4ed02ddcf2d304dc516a4b9d2f3651e1485a4bdfb + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/unit/validation/test_degenerate_refinement.py + path: perovskite-sim/tests/unit/validation/test_degenerate_refinement.py + sha256: c597e964303d96ddea72e38774b82b9684b69b7082be1d7c7456f18b94fc00b9 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/unit/physics/test_statistics.py + path: perovskite-sim/tests/unit/physics/test_statistics.py + sha256: 915e5773ffd805b8f8f13e0fa7f6288ed5289b775a4c402e1859b7b666be7c9c + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/unit/physics/test_contact_statistics.py + path: perovskite-sim/tests/unit/physics/test_contact_statistics.py + sha256: ac8c7717528263829774ff1ba9187f8c032475e11cfad3db608eacd03b2e18b4 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/unit/validation/test_incomplete_ionization_refinement.py + path: perovskite-sim/tests/unit/validation/test_incomplete_ionization_refinement.py + sha256: f0971da57a4e50a51c23e2c077ca87e0938977e4fb1180b5cd915a567dc445a0 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/unit/physics/test_band_gap_narrowing.py + path: perovskite-sim/tests/unit/physics/test_band_gap_narrowing.py + sha256: 381aef0d7abc3e4e3ef97063725737f8675b46f25dc54c5e17e3e433f2e62ceb + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/unit/validation/test_bgn_refinement.py + path: perovskite-sim/tests/unit/validation/test_bgn_refinement.py + sha256: ce65c9cfe8f8b4403b6c9a895e555722721290a1a4d9aa8be17917e674ac1ef3 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/unit/physics/test_bulk_traps.py + path: perovskite-sim/tests/unit/physics/test_bulk_traps.py + sha256: 8f251e69c7cc59e151ffdf22a798007f17dc79ffc4aab3d91fd217bf9c5db38e + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/unit/models/test_bulk_trap_schema.py + path: perovskite-sim/tests/unit/models/test_bulk_trap_schema.py + sha256: 2ace6903f6788c74b52a541c92626123dc2958d56ecf703f866822dde09fd876 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/unit/solver/test_bulk_trap_equilibrium.py + path: perovskite-sim/tests/unit/solver/test_bulk_trap_equilibrium.py + sha256: 177f6b0abfedd0521231ff665e2e0780f886bcd863e0677f43c6a5852426784c + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/unit/validation/test_bulk_trap_refinement.py + path: perovskite-sim/tests/unit/validation/test_bulk_trap_refinement.py + sha256: 8203bed826898e45e589e8afb3c39b51120cd5c7ba0f972e2ee86060a378ad4b + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/unit/experiments/test_dynamic_defect_impedance.py + path: perovskite-sim/tests/unit/experiments/test_dynamic_defect_impedance.py + sha256: 1ac676ee6d2da5a9af0713cb23041ce606dafa2754fc4aadbc97bfecb6963feb + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/integration/test_dynamic_defect_impedance.py + path: perovskite-sim/tests/integration/test_dynamic_defect_impedance.py + sha256: 9f09812d69177e475ca15b300ebeee3087281fe287e6c0c30e637ef1dc195601 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/integration/test_dynamic_defect_impedance_api.py + path: perovskite-sim/tests/integration/test_dynamic_defect_impedance_api.py + sha256: b5299272f9ddd7249947f4b112ed18870f5b6c4f4a6e2637cee31cd0df18811b + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/unit/physics/test_dynamic_storage.py + path: perovskite-sim/tests/unit/physics/test_dynamic_storage.py + sha256: c64d413721ca87074eaa3a4524b504026c262356e5a2ced0834c5ae106c62df1 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py + path: perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py + sha256: b9f5abf5bba35da64353f3d90d0ebdcdcffc48abce09bc820c71a2f23356841c + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/integration/test_interface_defect_ion_transient.py + path: perovskite-sim/tests/integration/test_interface_defect_ion_transient.py + sha256: f400ae246a2d1daad561901370026b9ea13e2724c656c7b99ea1943d1468df74 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/unit/experiments/test_dynamic_defect_transient.py + path: perovskite-sim/tests/unit/experiments/test_dynamic_defect_transient.py + sha256: dc8263f2c846fad445ed82e3890623740b4c9882568df5931e3f7d42434bab4f + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/integration/test_dynamic_defect_transient.py + path: perovskite-sim/tests/integration/test_dynamic_defect_transient.py + sha256: 0fd4b533cbe9e113a3712df0223c6f1e11b81e430a276ce18f55c213601a4937 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/unit/backend/test_dynamic_defect_transient_api.py + path: perovskite-sim/tests/unit/backend/test_dynamic_defect_transient_api.py + sha256: 31ec444bc28c359f9009345048b379c98621c9fb80cfaacc4523c752ebd38d88 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/integration/test_dynamic_defect_transient_api.py + path: perovskite-sim/tests/integration/test_dynamic_defect_transient_api.py + sha256: 375f71f7fa31487373b468a3720ec70f890592b2f38fe1f6a49bdb20a3ed840c + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/unit/physics/test_wkb_tunneling.py + path: perovskite-sim/tests/unit/physics/test_wkb_tunneling.py + sha256: e209fac79d9878ea401dc3117ff848c45a6dd3551b107660ef20e07b85a39149 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/unit/physics/test_wkb_local_windows.py + path: perovskite-sim/tests/unit/physics/test_wkb_local_windows.py + sha256: 3d0feb547b1bbcaad41500a252b0e1221f549a56b219a8f11baff6ba39a4a6fa + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/unit/physics/test_tunneling_channels.py + path: perovskite-sim/tests/unit/physics/test_tunneling_channels.py + sha256: 0d4c56374ec659fd83d03babadb7eabe4556321c28bf3a7427c5f1d5c9f95378 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/integration/test_tunnelling_channels_device.py + path: perovskite-sim/tests/integration/test_tunnelling_channels_device.py + sha256: 8b82c35f6f05f22b0eb00f1ec941e850ce1d52fe5f53c9d0907b957c7486d9b8 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/unit/validation/test_tunnelling_channel_refinement.py + path: perovskite-sim/tests/unit/validation/test_tunnelling_channel_refinement.py + sha256: c74dfbc45323b9363259783dcb343d150fec06269cb58dfaf6c7bd7b0ebe0c5f + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/unit/physics/test_tunnelling_physical_levels.py + path: perovskite-sim/tests/unit/physics/test_tunnelling_physical_levels.py + sha256: 47c271e8e3234b7ad0152dae6211d08342c6ab4b2cbfa85fae89546c675fd9d8 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/unit/physics/test_wkb_turning_point_action.py + path: perovskite-sim/tests/unit/physics/test_wkb_turning_point_action.py + sha256: af0fd2b756fab5371ab5e0e48aa72f28f962af059ff07522899f711936e014bf + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/unit/physics/test_intraband_nonlocal_transfer.py + path: perovskite-sim/tests/unit/physics/test_intraband_nonlocal_transfer.py + sha256: 195045ed0cbad90e2e7deba1bc0c384780555d7943de7d4048ef028a3bea92b4 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/unit/validation/test_resolved_tunnelling_refinement.py + path: perovskite-sim/tests/unit/validation/test_resolved_tunnelling_refinement.py + sha256: 2b8caf83a10dcdfe1bc97839508bfe0ad1c77946c287046a3240356bdc1067f3 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/unit/validation/test_foundation_reference_refinement.py + path: perovskite-sim/tests/unit/validation/test_foundation_reference_refinement.py + sha256: ff57c80cb62abce866b2e0d1072e9909099fd8223cb00cfcb9e1940774aa36b9 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/unit/validation/test_foundation_reference_sampling.py + path: perovskite-sim/tests/unit/validation/test_foundation_reference_sampling.py + sha256: 3deb7c9344c001712d542f2d6e56d99a0602126df0bb8e54eb1d435a078abf34 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/integration/test_tpv_open_circuit_refinement.py + path: perovskite-sim/tests/integration/test_tpv_open_circuit_refinement.py + sha256: ef6f29fc7d51ac6e3d036c869744ee81a837798164d3388cbfb0e31e118ebbc3 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/integration/test_foundation_tpv_spatial_refinement.py + path: perovskite-sim/tests/integration/test_foundation_tpv_spatial_refinement.py + sha256: 2f4215c817c2ab1a412fef97923bfad87ab55e0a9774ff6b0b99f6d430ca9a08 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/integration/test_degradation_snapshot_refinement.py + path: perovskite-sim/tests/integration/test_degradation_snapshot_refinement.py + sha256: ecdf042f3c92a4135b8acef933702c5108f3cdd2a9f378cd9fbcd7386435f672 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/unit/experiments/test_degradation_frozen_ions.py + path: perovskite-sim/tests/unit/experiments/test_degradation_frozen_ions.py + sha256: f997629f8a5e79035e0f09bd40d9606b08988628e2af882fcb7d4c584039817e + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/unit/validation/test_accepted_trajectory.py + path: perovskite-sim/tests/unit/validation/test_accepted_trajectory.py + sha256: 2df8b07811aa6a5f5b38f2d8a7303cf95b6b9f685187d32cb94dd2377c4da663 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/integration/test_foundation_mobile_refinement.py + path: perovskite-sim/tests/integration/test_foundation_mobile_refinement.py + sha256: 7bfe34a63a4b831409f5aab5f4b7016a2d3d287920f7a8cb8f4bc91c4dbf37a8 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/integration/test_foundation_twod_axis_refinement.py + path: perovskite-sim/tests/integration/test_foundation_twod_axis_refinement.py + sha256: 90fbe9ebb86ccb23f1f946f1374ff78a9d529339bce16e3468a8cc4378163497 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/integration/twod/test_jv_sweep_2d_microstructure.py + path: perovskite-sim/tests/integration/twod/test_jv_sweep_2d_microstructure.py + sha256: c91c91e4e2e7bc70135cf21df42c0a856514298df2e09e12cee841c506502fae + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/unit/models/test_multivalent_defect_schema.py + path: perovskite-sim/tests/unit/models/test_multivalent_defect_schema.py + sha256: 845e84ad77d3429e833e2d84a01bbb7bba01cd7ab41429e1ac10dbbfce39da0a + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/unit/models/test_multivalent_defect_loader.py + path: perovskite-sim/tests/unit/models/test_multivalent_defect_loader.py + sha256: 6c7414e07e742f084044f4341cb333d4d5aa2a5c116f186f7c56916af54cf79e + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/unit/physics/test_multivalent_defect_closure.py + path: perovskite-sim/tests/unit/physics/test_multivalent_defect_closure.py + sha256: bc4bb57fd0ab87d000dbb2c8f5693a8bf5e943da0c9a244d43910de1e15a21f6 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/unit/physics/test_multivalent_defect_device.py + path: perovskite-sim/tests/unit/physics/test_multivalent_defect_device.py + sha256: 46a462d6b9579d5c1b72d5ff71d11802cc835971ddd5e307a037f56c5f3f56c6 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/integration/test_multivalent_explicit_defects_qf.py + path: perovskite-sim/tests/integration/test_multivalent_explicit_defects_qf.py + sha256: ee9cfaf9bdf99214603e5f1bd1708cd4759372a3e14bbe33fe3075f6edcd5ee0 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/unit/validation/test_multivalent_defect_refinement.py + path: perovskite-sim/tests/unit/validation/test_multivalent_defect_refinement.py + sha256: 1883fd0e1ce16cb80b2ebe270560726913295b323e9e1790018d55de73dafe75 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/unit/models/test_explicit_defect_schema.py + path: perovskite-sim/tests/unit/models/test_explicit_defect_schema.py + sha256: 05a2bd6261cbe1af21ef3cd7c32e22ad61684d3c46fb11149b040dce0a5d3fdd + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/unit/physics/test_monovalent_defect_closure.py + path: perovskite-sim/tests/unit/physics/test_monovalent_defect_closure.py + sha256: 0efd3f56e5cf5f7440d3c7a117033ed8b9873b51fc7ac00ee3cdbeb2450ac456 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py + path: perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py + sha256: ea5ba30ac493eac2f6f77b02e4fbbd3fb1e6baddc6727a25bcf3c82b4757fccb + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/unit/validation/test_charged_defect_refinement.py + path: perovskite-sim/tests/unit/validation/test_charged_defect_refinement.py + sha256: 39a1ac7e889d10fb5ce7b2efd79f4215b79555ea27611bd43ddc0ae2b67d212b + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/unit/validation/test_import_scaps_defect_reference.py + path: perovskite-sim/tests/unit/validation/test_import_scaps_defect_reference.py + sha256: d671874893102ac6a7a982d5d948a4bc28d12df17e934959eaa4f123404ed64e + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/unit/physics/test_defect_distributions.py + path: perovskite-sim/tests/unit/physics/test_defect_distributions.py + sha256: 0df5e547acd7d7a1cdfd436c699fa2eccbbf011427c61744c98a03bb6690ed6c + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/unit/physics/test_distributed_defect_closure.py + path: perovskite-sim/tests/unit/physics/test_distributed_defect_closure.py + sha256: d90062218499940df53214ba591b7784847f53896a37361c5e4f58b140bc1e9e + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/unit/physics/test_distributed_defect_device.py + path: perovskite-sim/tests/unit/physics/test_distributed_defect_device.py + sha256: ec82b454d816f197f92c920f9389fa22f79021d7890bed9b7c0508d5a7f44260 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/unit/validation/test_distributed_defect_refinement.py + path: perovskite-sim/tests/unit/validation/test_distributed_defect_refinement.py + sha256: 3dbd87674a52a06712940c49def0bfe701baf65962590abac914c42f0893bb15 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/integration/test_spatially_graded_explicit_defects_qf.py + path: perovskite-sim/tests/integration/test_spatially_graded_explicit_defects_qf.py + sha256: b22b39212ccdf1de8e4243078bb227ded7f498b2dad4c979620cd92ebaa4c7bf + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/unit/validation/test_spatial_defect_refinement.py + path: perovskite-sim/tests/unit/validation/test_spatial_defect_refinement.py + sha256: 08ebf37928dfd7f649568a5fa8796ab71d6cf6edcdddc28edace2fc611993f6c + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/perovskite_sim/validation/refinement_executors.py + path: perovskite-sim/perovskite_sim/validation/refinement_executors.py + sha256: 9e9730acefe72cc7dd9991e47f65624f37d875101795e85d2fc63d885ca4d40c + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/perovskite_sim/validation/dynamic_defect_transient_refinement.py + path: perovskite-sim/perovskite_sim/validation/dynamic_defect_transient_refinement.py + sha256: b7b87088a5de7af25bd77a15897f5641dad707da06d4073606b3536595e495c1 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/perovskite_sim/validation/external_circuit_refinement.py + path: perovskite-sim/perovskite_sim/validation/external_circuit_refinement.py + sha256: cb8453da1c93bc1c47ecbd61a70ecffe0d4eba50a8bd42a0c2e162da085143a7 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/perovskite_sim/validation/electrothermal_refinement.py + path: perovskite-sim/perovskite_sim/validation/electrothermal_refinement.py + sha256: 07010dc8c5ff08fa75a88fbff0d8210c8e878c25253bfb4ad942db5ad68477c3 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/perovskite_sim/validation/interface_charge_stress.py + path: perovskite-sim/perovskite_sim/validation/interface_charge_stress.py + sha256: ea765551cf56cbcfd64bd623fa95996b9c789836e8b2c48c2d0b24056a459994 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/perovskite_sim/validation/dae_refinement.py + path: perovskite-sim/perovskite_sim/validation/dae_refinement.py + sha256: a8cf931308f66c5184d852f4457dd29ba6f5b46d981c21cda7a1ad5104076303 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/perovskite_sim/validation/dae_ion_refinement.py + path: perovskite-sim/perovskite_sim/validation/dae_ion_refinement.py + sha256: 178482916aa1a7c8cc7af87ce4afdab722da1cd0ee882d336a4cf73e609faea5 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/perovskite_sim/validation/dae_dual_ion_refinement.py + path: perovskite-sim/perovskite_sim/validation/dae_dual_ion_refinement.py + sha256: 9f8727804890fa6ce487f9302c14d75a8472fb44644f7fd151d3a2b4b2168265 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/perovskite_sim/validation/dae_interface_refinement.py + path: perovskite-sim/perovskite_sim/validation/dae_interface_refinement.py + sha256: b99bcf748f7c7321379eb16fe2ec62ee4676dbe200cd0fd9b94b79644eca7159 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/perovskite_sim/validation/dae_ion_interface_refinement.py + path: perovskite-sim/perovskite_sim/validation/dae_ion_interface_refinement.py + sha256: 9e9ca60cb1b64b20ee3c912753c4ab72c71b7e2f9a5c46952315b2e722fca725 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/perovskite_sim/validation/degenerate_refinement.py + path: perovskite-sim/perovskite_sim/validation/degenerate_refinement.py + sha256: 46075723655aa34b33663664d5506f813484b3cd1a28aabde585043d13294c57 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/perovskite_sim/validation/incomplete_ionization_refinement.py + path: perovskite-sim/perovskite_sim/validation/incomplete_ionization_refinement.py + sha256: 001c0448fae196dbf8f3911ca9277fee11dbe1b5c6a06cf6ed78820b1a1a8ea5 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/perovskite_sim/validation/bgn_refinement.py + path: perovskite-sim/perovskite_sim/validation/bgn_refinement.py + sha256: f5989e3a00a1f298df257b0b893a965e3778d13c155a1296705aff75de2528f7 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/perovskite_sim/validation/bulk_trap_refinement.py + path: perovskite-sim/perovskite_sim/validation/bulk_trap_refinement.py + sha256: 4415153d3c30a2bda68b1dd54c448bd32f4e1dc21222a91f553601beac1ede0b + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/perovskite_sim/validation/charged_defect_refinement.py + path: perovskite-sim/perovskite_sim/validation/charged_defect_refinement.py + sha256: c15eef42f9122d44b87391c243b03d526d22d269fc830389dc89001f7aa11a34 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/perovskite_sim/validation/distributed_defect_refinement.py + path: perovskite-sim/perovskite_sim/validation/distributed_defect_refinement.py + sha256: 86fae54f0c9e8ab8394ccb7db57ff70b144cc1966b1487ed7d87172028931016 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/perovskite_sim/validation/spatial_defect_refinement.py + path: perovskite-sim/perovskite_sim/validation/spatial_defect_refinement.py + sha256: 694b96e6718e78daa8b853bc0d2c0a4eb8d4c5d989aecd60102a38e42d2b856e + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/perovskite_sim/validation/multivalent_defect_refinement.py + path: perovskite-sim/perovskite_sim/validation/multivalent_defect_refinement.py + sha256: 28db6ad6710591d37386b12464a73fe345dedc873ed9d54c8b013b9c70c860e5 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/perovskite_sim/validation/cigs_optics_refinement.py + path: perovskite-sim/perovskite_sim/validation/cigs_optics_refinement.py + sha256: c699faacb47b73d18b047af80530f73bfd52619f9ba8136bb2e2ec60488d8b04 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/perovskite_sim/validation/identifiability_refinement.py + path: perovskite-sim/perovskite_sim/validation/identifiability_refinement.py + sha256: d66f0a39a4e7b2e0af5e4cfc006b53a86f432e3c4273d59c08c3bbfd0e4ced52 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/perovskite_sim/validation/tunnelling_channel_refinement.py + path: perovskite-sim/perovskite_sim/validation/tunnelling_channel_refinement.py + sha256: 86104d6316d81fabddbd7a8a5a5b53412cbbaf8c4e450b4918502e81888bc608 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/perovskite_sim/validation/resolved_tunnelling_refinement.py + path: perovskite-sim/perovskite_sim/validation/resolved_tunnelling_refinement.py + sha256: f37222cc2d56fc8c900b4fc4f634ff1e16e470eb2843ac1e46fe2138bd10cca0 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/perovskite_sim/validation/foundation_reference_refinement.py + path: perovskite-sim/perovskite_sim/validation/foundation_reference_refinement.py + sha256: aa478f90f055d3dd27e9382c2c7b55d61029f0135672b7d1f2f3358436ee8aa7 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: src/solarlab/config/device_import.py + path: src/solarlab/config/device_import.py + sha256: f9523decd8e5676c6ef6d49f4aa38b92eeb19b5c1fc5378fa9b061b9740aef41 + source_commit: 74bfd300681afaddde01835d065077da4e1d265a +- id: src/solarlab/config/scaps_input.py + path: src/solarlab/config/scaps_input.py + sha256: de7b2a5bbf24d52db6997c3bd9d70c929a8be18cfbd91a0a519d5f6d79fc616d + source_commit: b02d9fcc892558f494c914472da810c4f2d6dc20 +- id: src/solarlab/config/tandem_input.py + path: src/solarlab/config/tandem_input.py + sha256: 09cc71da6dd9e16a0de593a15dc2f978427aa8d68348dc9e9a298d2aa32792f9 + source_commit: b02d9fcc892558f494c914472da810c4f2d6dc20 +- id: src/solarlab/config/resolve_device.py + path: src/solarlab/config/resolve_device.py + sha256: 01dc2a82d98e7401618aba4ba162d74324fdd8ca32d41929d38981dbd16f6b45 + source_commit: b02d9fcc892558f494c914472da810c4f2d6dc20 +- id: perovskite-sim/perovskite_sim/models/config_loader.py + path: perovskite-sim/perovskite_sim/models/config_loader.py + sha256: f25dd749fec6e2e755cf18d221986efdc323b6f2c22e92ec7297577117442bb2 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/backend/main.py + path: perovskite-sim/backend/main.py + sha256: 7dd1292f6f34f0f065a50686802c20a8484edcc9e4a7d98287799c076f9da01f + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/perovskite_sim/reproducibility.py + path: perovskite-sim/perovskite_sim/reproducibility.py + sha256: 83df5ef085a5ea86f3850aa2dbef10c09b43d3b037f344b1f66f686b2c182cd4 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/perovskite_sim/validation/numerical_certificate.py + path: perovskite-sim/perovskite_sim/validation/numerical_certificate.py + sha256: 8adf88571ab94fde3135eb817eb3dc93b8d5d932c02d62ec5338e021df1fb413 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: models/parameters.py + path: perovskite-sim/perovskite_sim/models/parameters.py + sha256: 0555a6c9280431889b34328bf1e513c7e6d6789368ea858ff3e1ea5a60db7d9d + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: models/device.py + path: perovskite-sim/perovskite_sim/models/device.py + sha256: abedb9e39655a5b54997968a7bfa4d1664b7493475dc8e7c55fffa68195330b9 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: models/defects.py + path: perovskite-sim/perovskite_sim/models/defects.py + sha256: 0bf3cedd435ff8259fb436bbcfcfa3aa586bdee50f89caba161e162c6913159f + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: physics/statistics.py + path: perovskite-sim/perovskite_sim/physics/statistics.py + sha256: f790b5df608ec54ff64ebd1a3203bcec0a00d1bfbc2677a29ccd34208fc29a01 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: physics/band_gap_narrowing.py + path: perovskite-sim/perovskite_sim/physics/band_gap_narrowing.py + sha256: ee7fe97002c19364750f4aa07be1dc150c2acb450ad74ee637d5b8cc783e0a78 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: scaps_compat/loader.py + path: perovskite-sim/perovskite_sim/scaps_compat/loader.py + sha256: a03a31b81497df6118592aebce7000befaa1d5de787ad989d880c263000e0cd6 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: constants.py + path: perovskite-sim/perovskite_sim/constants.py + sha256: 9ae428b44bbe5f475b638d9c3339e69930249e2b1c39ba0acbfd0764fcaade76 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: twod/microstructure.py + path: perovskite-sim/perovskite_sim/twod/microstructure.py + sha256: 60d06d32976305a4c29b04e7f46188e8a916e007048a9c6507c680e6d4b6ab35 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: models/tandem_config.py + path: perovskite-sim/perovskite_sim/models/tandem_config.py + sha256: 9aaf4e1fb87f43950c96cabe0ac309cd3416673848b80889fc366be32ad2b595 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: physics/cigs_optics.py + path: perovskite-sim/perovskite_sim/physics/cigs_optics.py + sha256: a7f1cac165c04f8f5d21a530987d65d10fa78af04c77b7e1382149aab59ca811 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: models/tunneling_channels.py + path: perovskite-sim/perovskite_sim/models/tunneling_channels.py + sha256: 988195babef2c7390bfacd0f849b91a3802abfda3e742332642c1c36a610a114 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: src/solarlab/config/legacy_fields.py + path: src/solarlab/config/legacy_fields.py + sha256: 7c53be9d2d83d1635aef5e1193f1f97b756a964c532806002b4514e10f521cf7 + source_commit: 19ac67122ab4e449d7121d7af08596f8c2d3eec0 +- id: src/solarlab/device/inputs.py + path: src/solarlab/device/inputs.py + sha256: f616d30f584930276635b8d099fafff736c9bf840e1d48a20eb9bbbb60debddf + source_commit: 19ac67122ab4e449d7121d7af08596f8c2d3eec0 +- id: src/solarlab/device/resolved.py + path: src/solarlab/device/resolved.py + sha256: d7f1cdf6d655ff375399bcd70547c299896152d0dd71a06f1eace1fa7227c406 + source_commit: ddb7fc97892445facbc3cdb16df5d400df98eec3 +- id: src/solarlab/experiments/jv/inputs.py + path: src/solarlab/experiments/jv/inputs.py + sha256: 1acc7e2616e47513c420df44d34cdd90969ac6a457d13674fd38276e5140594d + source_commit: 19ac67122ab4e449d7121d7af08596f8c2d3eec0 +- id: src/solarlab/experiments/jv/declarations.py + path: src/solarlab/experiments/jv/declarations.py + sha256: d46d4ac8161c9e3192f5eb353a40df28e36fa3433e4db257188cd716602892f9 + source_commit: 19ac67122ab4e449d7121d7af08596f8c2d3eec0 +- id: tests/refactor/test_legacy_input_migration.py + path: tests/refactor/test_legacy_input_migration.py + sha256: fec3ba6c7dc3452d42698bee392632afa31732deeab4b47e105bbdb56b86f464 + source_commit: 66b74118e4721154569c1dbf904425ca0ce16e2d +- id: web/src/generated/configuration-schema.ts + path: web/src/generated/configuration-schema.ts + sha256: 83d3c3c7799599608a02b9fb505b8ccc4ac7456dce647024a56aa24c9eb9d57f + source_commit: 19ac67122ab4e449d7121d7af08596f8c2d3eec0 +- id: web/src/generated/configuration-inputs.ts + path: web/src/generated/configuration-inputs.ts + sha256: 85d677ddf176463e0d64e29aba4ca46e6412f5287d105b7b8d289a98ecf60cef + source_commit: 19ac67122ab4e449d7121d7af08596f8c2d3eec0 +preparation_context: + default_catalog_sha256: c916fb3e199c7da9018fbc19c686208a00e2b7f7e22215d63d91e893ee065a3f + resource_library_sha256: 53951495632deb3dd4086840ee6421e2416a6f41eef34ba0087627433c25626b + default_sources: + - models/parameters.py + - models/device.py + - models/defects.py + - physics/statistics.py + - physics/band_gap_narrowing.py + - scaps_compat/loader.py + - constants.py + - twod/microstructure.py + - models/tandem_config.py + model_sources: + - physics/cigs_optics.py + - models/tunneling_channels.py + resource_sources: + - perovskite-sim/perovskite_sim/data/nk/Ag.csv + - perovskite-sim/perovskite_sim/data/nk/Au.csv + - perovskite-sim/perovskite_sim/data/nk/C60.csv + - perovskite-sim/perovskite_sim/data/nk/Cu.csv + - perovskite-sim/perovskite_sim/data/nk/FA_Cs_1p77.csv + - perovskite-sim/perovskite_sim/data/nk/FTO.csv + - perovskite-sim/perovskite_sim/data/nk/ITO.csv + - perovskite-sim/perovskite_sim/data/nk/MAPbI3.csv + - perovskite-sim/perovskite_sim/data/nk/NiOx.csv + - perovskite-sim/perovskite_sim/data/nk/PCBM.csv + - perovskite-sim/perovskite_sim/data/nk/PEDOT_PSS.csv + - perovskite-sim/perovskite_sim/data/nk/SnO2.csv + - perovskite-sim/perovskite_sim/data/nk/SnPb_1p22.csv + - perovskite-sim/perovskite_sim/data/nk/TiO2.csv + - perovskite-sim/perovskite_sim/data/nk/glass.csv + - perovskite-sim/perovskite_sim/data/nk/spiro_OMeTAD.csv +entries: +- id: config:tests/fixtures/configs/cSi_homojunction.yaml + section: configs + original_key: tests/fixtures/configs/cSi_homojunction.yaml + original_record_sha256: a61e15f68cd475e96604afff8142bcfbd10663eaedfb166d8c3d0d39f4d44b28 + legacy_status: partial + legacy_claim_level: null + legacy_evidence_tier: null + legacy_semantic_sha256: 33eb87b792f84b0c75a8b7f03804f99e3b5beb222963a4ba5a7d5f323b49c61b + configurations: + - config:tests/fixtures/configs/cSi_homojunction.yaml + test_files: [] + test_nodes: [] + executor: null + executor_version: null + migration_status: prepared_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: + status: prepared_only + input_id: registry.cSi_homojunction + loader: + source_id: src/solarlab/config/device_import.py + symbol: import_standard_device + resolver: + source_id: src/solarlab/config/resolve_device.py + symbol: resolve_device + content_sha256: 7430835c0cfed2b83223e3ce98c63c345bab9aa6e3c8d16905b6a8c3ff146c40 + issues: [] + migration_notes: [] +- id: config:tests/fixtures/configs/csi_degenerate_pn_research.yaml + section: configs + original_key: tests/fixtures/configs/csi_degenerate_pn_research.yaml + original_record_sha256: 4d6daa5fd721e65d43796c231cef82f0ca424128ad79c788fcac0eabe66c4061 + legacy_status: partial + legacy_claim_level: null + legacy_evidence_tier: null + legacy_semantic_sha256: bb6a036e6359172545d3b0f0cb47e368fe0ef0e4517f71341fda63a35eeee87d + configurations: + - config:tests/fixtures/configs/csi_degenerate_pn_research.yaml + test_files: [] + test_nodes: [] + executor: null + executor_version: null + migration_status: prepared_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: + status: prepared_only + input_id: registry.csi_degenerate_pn_research + loader: + source_id: src/solarlab/config/device_import.py + symbol: import_standard_device + resolver: + source_id: src/solarlab/config/resolve_device.py + symbol: resolve_device + content_sha256: 5b7d45ea1e51347b13758777d999c047877bd281e055fd024da6560bda12eb0f + issues: [] + migration_notes: [] +- id: config:tests/fixtures/configs/csi_incomplete_ionization_pn_research.yaml + section: configs + original_key: tests/fixtures/configs/csi_incomplete_ionization_pn_research.yaml + original_record_sha256: 6fd557e25cb6b6ac49b3ad150cf8803cb270f99fbfdb32c2b1abca0b6c325508 + legacy_status: partial + legacy_claim_level: null + legacy_evidence_tier: null + legacy_semantic_sha256: 88030a3c1c45e293d393ab94f7ab3e3e4c100eaeb978417f10cd70d8bbc3d8a6 + configurations: + - config:tests/fixtures/configs/csi_incomplete_ionization_pn_research.yaml + test_files: [] + test_nodes: [] + executor: null + executor_version: null + migration_status: prepared_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: + status: prepared_only + input_id: registry.csi_incomplete_ionization_pn_research + loader: + source_id: src/solarlab/config/device_import.py + symbol: import_standard_device + resolver: + source_id: src/solarlab/config/resolve_device.py + symbol: resolve_device + content_sha256: 20af17f00ee8237645e0c7c34903b5669b7ce24eff717df54d0990f202457976 + issues: [] + migration_notes: [] +- id: config:tests/fixtures/configs/csi_incomplete_ionization_bgn_pn_research.yaml + section: configs + original_key: tests/fixtures/configs/csi_incomplete_ionization_bgn_pn_research.yaml + original_record_sha256: c7125781e740fcb605ac9c3f897e886a2503927e9d93fa64fa7b70f5bdea437a + legacy_status: partial + legacy_claim_level: null + legacy_evidence_tier: null + legacy_semantic_sha256: 9262db6efde8a7ba5008f4a47797b99e3be80dafd96d38f311b17c5ad47d8f04 + configurations: + - config:tests/fixtures/configs/csi_incomplete_ionization_bgn_pn_research.yaml + test_files: [] + test_nodes: [] + executor: null + executor_version: null + migration_status: prepared_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: + status: prepared_only + input_id: registry.csi_incomplete_ionization_bgn_pn_research + loader: + source_id: src/solarlab/config/device_import.py + symbol: import_standard_device + resolver: + source_id: src/solarlab/config/resolve_device.py + symbol: resolve_device + content_sha256: e28a409bc51d609027101a0cde1c04225f7dfcb5caada58231e07133cdaa68d9 + issues: [] + migration_notes: [] +- id: config:tests/fixtures/configs/csi_gaussian_bulk_trap_pn_research.yaml + section: configs + original_key: tests/fixtures/configs/csi_gaussian_bulk_trap_pn_research.yaml + original_record_sha256: 1e2da0f8de93155098c28f511549b0d1be69368d969e55f840d679ff9a7ebc18 + legacy_status: partial + legacy_claim_level: null + legacy_evidence_tier: null + legacy_semantic_sha256: 3492a6fa6cd1774427a10c771fef10aecab40e74de872fa9777ce6b94de1238a + configurations: + - config:tests/fixtures/configs/csi_gaussian_bulk_trap_pn_research.yaml + test_files: [] + test_nodes: [] + executor: null + executor_version: null + migration_status: prepared_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: + status: prepared_only + input_id: registry.csi_gaussian_bulk_trap_pn_research + loader: + source_id: src/solarlab/config/device_import.py + symbol: import_standard_device + resolver: + source_id: src/solarlab/config/resolve_device.py + symbol: resolve_device + content_sha256: 22a892c63818fdcd128ccd53624bc80e2bdaa1da218ed0470dd813d501748a1e + issues: [] + migration_notes: [] +- id: config:tests/fixtures/configs/csi_vannijen2025_pn_cv.yaml + section: configs + original_key: tests/fixtures/configs/csi_vannijen2025_pn_cv.yaml + original_record_sha256: fe3d8d00dc55b64f6eb0c2ecb59e440710c678b561105caa99b9f8bf1d460264 + legacy_status: partial + legacy_claim_level: null + legacy_evidence_tier: null + legacy_semantic_sha256: fa8aa79df971b420a11b9985abd9ff976eec1f7fb88ca66018b0a8106b9d4330 + configurations: + - config:tests/fixtures/configs/csi_vannijen2025_pn_cv.yaml + test_files: [] + test_nodes: [] + executor: null + executor_version: null + migration_status: prepared_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: + status: prepared_only + input_id: registry.csi_vannijen2025_pn_cv + loader: + source_id: src/solarlab/config/device_import.py + symbol: import_standard_device + resolver: + source_id: src/solarlab/config/resolve_device.py + symbol: resolve_device + content_sha256: 33aca7b823b8251cbe661dbf9e0874b9f7242ed96184c0ccf33d3d8049fd317c + issues: [] + migration_notes: [] +- id: config:tests/fixtures/configs/cigs_baseline.yaml + section: configs + original_key: tests/fixtures/configs/cigs_baseline.yaml + original_record_sha256: 8112db715615bad5b7b18b54df5d71857aca8718885c3731a93aadc5f6342782 + legacy_status: partial + legacy_claim_level: null + legacy_evidence_tier: null + legacy_semantic_sha256: bdde999ebbeae9ec96f815ea3e2195a094653b26916235b178da611cc4b4d2fd + configurations: + - config:tests/fixtures/configs/cigs_baseline.yaml + test_files: [] + test_nodes: [] + executor: null + executor_version: null + migration_status: prepared_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: + status: prepared_only + input_id: registry.cigs_baseline + loader: + source_id: src/solarlab/config/device_import.py + symbol: import_standard_device + resolver: + source_id: src/solarlab/config/resolve_device.py + symbol: resolve_device + content_sha256: f623f460af573e83000d1c21e251356b5caa733d9e260fb652276cf78a96eaed + issues: [] + migration_notes: [] +- id: config:tests/fixtures/configs/cigs_graded_notch.yaml + section: configs + original_key: tests/fixtures/configs/cigs_graded_notch.yaml + original_record_sha256: 5f8091985d941a29843fafaae754b7c5d1088baab4f0cdabece50a08425c3fbb + legacy_status: partial + legacy_claim_level: null + legacy_evidence_tier: null + legacy_semantic_sha256: 0fa1c657b61daa10a80e610219f2a235b10b33e048691516ed38a04d67c93582 + configurations: + - config:tests/fixtures/configs/cigs_graded_notch.yaml + test_files: [] + test_nodes: [] + executor: null + executor_version: null + migration_status: prepared_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: + status: prepared_only + input_id: registry.cigs_graded_notch + loader: + source_id: src/solarlab/config/device_import.py + symbol: import_standard_device + resolver: + source_id: src/solarlab/config/resolve_device.py + symbol: resolve_device + content_sha256: 052570b16812418b145aa6cb78b7092a658707ecef1f7bf18230d659ad52604a + issues: [] + migration_notes: [] +- id: config:tests/fixtures/configs/wkb_tunnelling_intraband_spike.yaml + section: configs + original_key: tests/fixtures/configs/wkb_tunnelling_intraband_spike.yaml + original_record_sha256: 6b26dcdd5dc82fad83e47ac298d8114a648d2741c4049b3dd933466c47cbf41b + legacy_status: partial + legacy_claim_level: null + legacy_evidence_tier: null + legacy_semantic_sha256: ee18c3fb508216cd10861bb3dbf23c6f3907a3fa031fd2e93b4c9e1f0db5098b + configurations: + - config:tests/fixtures/configs/wkb_tunnelling_intraband_spike.yaml + test_files: [] + test_nodes: [] + executor: null + executor_version: null + migration_status: prepared_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: + status: prepared_only + input_id: registry.wkb_tunnelling_intraband_spike + loader: + source_id: src/solarlab/config/device_import.py + symbol: import_standard_device + resolver: + source_id: src/solarlab/config/resolve_device.py + symbol: resolve_device + content_sha256: 033045b5fc5c0a6e763d4be11010fc5dea1b66c5c3f5ad67e5e77fd1d00de198 + issues: [] + migration_notes: [] +- id: config:tests/fixtures/configs/wkb_resolved_electron_barrier.yaml + section: configs + original_key: tests/fixtures/configs/wkb_resolved_electron_barrier.yaml + original_record_sha256: efd82cf39b15e62c31c1d86179d6ae5a9a1646b0737a5ed28130cfb773a1c4e5 + legacy_status: partial + legacy_claim_level: null + legacy_evidence_tier: null + legacy_semantic_sha256: f7fc506235fb225323e4f4cd65b254a338ff08c3c226d896b6891a138b297af9 + configurations: + - config:tests/fixtures/configs/wkb_resolved_electron_barrier.yaml + test_files: [] + test_nodes: [] + executor: null + executor_version: null + migration_status: prepared_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: + status: prepared_only + input_id: registry.wkb_resolved_electron_barrier + loader: + source_id: src/solarlab/config/device_import.py + symbol: import_standard_device + resolver: + source_id: src/solarlab/config/resolve_device.py + symbol: resolve_device + content_sha256: 51241c14e030f4f27c4bc7b767710d1bc8aa87377515c88be7f2f7d69bc0f392 + issues: [] + migration_notes: [] +- id: config:tests/fixtures/configs/tpv_physical_reference.yaml + section: configs + original_key: tests/fixtures/configs/tpv_physical_reference.yaml + original_record_sha256: 5ddf9e8a2c0ac98a34026c2a0363ca4a24a0dbaf80349c573543c151cba6fe37 + legacy_status: partial + legacy_claim_level: null + legacy_evidence_tier: null + legacy_semantic_sha256: 80580790bcde51b478fce65cefdfbce9108f0a7df0768d2ab897ba2489faefda + configurations: + - config:tests/fixtures/configs/tpv_physical_reference.yaml + test_files: [] + test_nodes: [] + executor: null + executor_version: null + migration_status: prepared_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: + status: prepared_only + input_id: registry.tpv_physical_reference + loader: + source_id: src/solarlab/config/device_import.py + symbol: import_standard_device + resolver: + source_id: src/solarlab/config/resolve_device.py + symbol: resolve_device + content_sha256: 726dbdd08320875773f6171c890e8e085ca5360a9d076c3bff5a328b6ee40eba + issues: [] + migration_notes: + - source: + source_id: perovskite-sim/perovskite_sim/models/config_loader.py + symbol: load_device_from_yaml + note: The original reader uses dev.get("T", 300.0); temperature is ignored, not an established alias. Versioned retained + legacy_fields now preserve the raw value and source bytes while PreparedDevice diagnoses its non-effect and the separate + effective T authority. Any physical alias needs a distinct correction version; no executor qualification is implied. + - source: + source_id: perovskite-sim/backend/main.py + symbol: stack_from_dict + note: The original reader uses dev.get("T", 300.0); temperature is ignored, not an established alias. Versioned retained + legacy_fields now preserve the raw value and source bytes while PreparedDevice diagnoses its non-effect and the separate + effective T authority. Any physical alias needs a distinct correction version; no executor qualification is implied. +- id: config:tests/fixtures/configs/cigs_graded_optics.yaml + section: configs + original_key: tests/fixtures/configs/cigs_graded_optics.yaml + original_record_sha256: 4e6160aaaf47dbf57d6ca3d8bbe7da01858207edea7c06e6576fdb2b172709be + legacy_status: certified + legacy_claim_level: null + legacy_evidence_tier: null + legacy_semantic_sha256: a78884b0074063e50076ac6f2382bd199375e034d263ad76261fd4f83a7a185f + configurations: + - config:tests/fixtures/configs/cigs_graded_optics.yaml + test_files: [] + test_nodes: [] + executor: null + executor_version: null + migration_status: prepared_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: + status: prepared_only + input_id: registry.cigs_graded_optics + loader: + source_id: src/solarlab/config/device_import.py + symbol: import_standard_device + resolver: + source_id: src/solarlab/config/resolve_device.py + symbol: resolve_device + content_sha256: 3b765f496bf9e5fe3b497e1fa579b496ef3806ef89bbe62c3235c257899b5f64 + issues: [] + migration_notes: [] +- id: config:tests/fixtures/configs/dual_ion_demo.yaml + section: configs + original_key: tests/fixtures/configs/dual_ion_demo.yaml + original_record_sha256: 38692549d3bf7c00c2ea4eaf51448443d5c261fa57b36e94de219469ff64a791 + legacy_status: load_only + legacy_claim_level: null + legacy_evidence_tier: null + legacy_semantic_sha256: 3e405b504fe303909b4f75e1a2178ebcd261a5ec281a53f0d41b8f1f7a9a4249 + configurations: + - config:tests/fixtures/configs/dual_ion_demo.yaml + test_files: [] + test_nodes: [] + executor: null + executor_version: null + migration_status: prepared_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: + status: prepared_only + input_id: registry.dual_ion_demo + loader: + source_id: src/solarlab/config/device_import.py + symbol: import_standard_device + resolver: + source_id: src/solarlab/config/resolve_device.py + symbol: resolve_device + content_sha256: 512fb9572d1f159014a00c029d2216ba27d906c7e1244297f52e48aefc90bd32 + issues: [] + migration_notes: [] +- id: config:tests/fixtures/configs/driftfusion_benchmark.yaml + section: configs + original_key: tests/fixtures/configs/driftfusion_benchmark.yaml + original_record_sha256: 985be1e5c2d85280d720a2c8bfcabc72b7c7e7bf31da8be013f2565c5c91e34c + legacy_status: partial + legacy_claim_level: null + legacy_evidence_tier: null + legacy_semantic_sha256: 3def7117f3a49f1a7b99b6a1f49f646a1d57c193143320ce1c06fdfbdf5ba38c + configurations: + - config:tests/fixtures/configs/driftfusion_benchmark.yaml + test_files: [] + test_nodes: [] + executor: null + executor_version: null + migration_status: prepared_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: + status: prepared_only + input_id: registry.driftfusion_benchmark + loader: + source_id: src/solarlab/config/device_import.py + symbol: import_standard_device + resolver: + source_id: src/solarlab/config/resolve_device.py + symbol: resolve_device + content_sha256: 8b8384e1105787c7ac68c1d63a20541b884794d487a3b6d3f7dd3d68a3daa91d + issues: [] + migration_notes: [] +- id: config:tests/fixtures/configs/driftfusion_benchmark_tmm.yaml + section: configs + original_key: tests/fixtures/configs/driftfusion_benchmark_tmm.yaml + original_record_sha256: 1abb589d20553c70adfc30b97d1bbdadf2d2c822c65f9939bcdea71bf8b3da13 + legacy_status: load_only + legacy_claim_level: null + legacy_evidence_tier: null + legacy_semantic_sha256: 2f15646716953357b501486e520370b3893283ae744757a920f2156837daead5 + configurations: + - config:tests/fixtures/configs/driftfusion_benchmark_tmm.yaml + test_files: [] + test_nodes: [] + executor: null + executor_version: null + migration_status: prepared_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: + status: prepared_only + input_id: registry.driftfusion_benchmark_tmm + loader: + source_id: src/solarlab/config/device_import.py + symbol: import_standard_device + resolver: + source_id: src/solarlab/config/resolve_device.py + symbol: resolve_device + content_sha256: 1675e5d40400ccd29525ff9f7d93cffa9a1b56f1db470f01a3d82091131eac73 + issues: [] + migration_notes: + - source: + source_id: perovskite-sim/perovskite_sim/models/config_loader.py + symbol: interfaces_from_device_dict + note: The original reader uses full raw index including substrate and pads remaining slots with (0,0) when a nonempty + list is supplied. Preparation now preserves this mapping and the original short list/source evidence, with no automatic + pair shift. Empty/null lists retain the empty-tuple behavior; electrical-only reindexing requires a distinct physical + correction. +- id: config:tests/fixtures/configs/driftfusion_calado2016_repro.yaml + section: configs + original_key: tests/fixtures/configs/driftfusion_calado2016_repro.yaml + original_record_sha256: 0dcd8a683e2d241d9a1f4bf924fc6442f7a7c91330eebadad4b3b02262e8b3cb + legacy_status: partial + legacy_claim_level: null + legacy_evidence_tier: null + legacy_semantic_sha256: f7c98acec0f0e5e0f64a2ab168676fd5c5a34b37baba762b1c710d18adc76ddd + configurations: + - config:tests/fixtures/configs/driftfusion_calado2016_repro.yaml + test_files: [] + test_nodes: [] + executor: null + executor_version: null + migration_status: prepared_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: + status: prepared_only + input_id: registry.driftfusion_calado2016_repro + loader: + source_id: src/solarlab/config/device_import.py + symbol: import_standard_device + resolver: + source_id: src/solarlab/config/resolve_device.py + symbol: resolve_device + content_sha256: dcbfb2d2d68f33cbdaa2a52bc3d009bb637ab92fb244de1be4f3c9fc8b87f17d + issues: [] + migration_notes: [] +- id: config:configs/calado2016_fig1f.yaml + section: configs + original_key: configs/calado2016_fig1f.yaml + original_record_sha256: d7354849ce9825411016fb3438662c320061362776c998cc1e8f98861e1f53e3 + legacy_status: load_only + legacy_claim_level: null + legacy_evidence_tier: null + legacy_semantic_sha256: 03df72ff9c6fe66711b213678dac1a754d500363e9d8c7c43f581d883c200f72 + configurations: + - config:configs/calado2016_fig1f.yaml + test_files: [] + test_nodes: [] + executor: null + executor_version: null + migration_status: prepared_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: + status: prepared_only + input_id: registry.calado2016_fig1f + loader: + source_id: src/solarlab/config/device_import.py + symbol: import_standard_device + resolver: + source_id: src/solarlab/config/resolve_device.py + symbol: resolve_device + content_sha256: fdd356af0533067983ce6b89e5e18322e7194c3d88aa0c0e895d3de330f7ac3f + issues: [] + migration_notes: [] +- id: config:configs/calado2016_ion_sweep.yaml + section: configs + original_key: configs/calado2016_ion_sweep.yaml + original_record_sha256: b39b09ccfdf17a85fb5efa31d2873f2fff6c13b0938699953ba922e6b4355af4 + legacy_status: load_only + legacy_claim_level: null + legacy_evidence_tier: null + legacy_semantic_sha256: 4d059fdb1334dd12a2e53c06ba7f66a5fe2e444953209a8be093b9f4165b1ba1 + configurations: + - config:configs/calado2016_ion_sweep.yaml + test_files: [] + test_nodes: [] + executor: null + executor_version: null + migration_status: prepared_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: + status: prepared_only + input_id: registry.calado2016_ion_sweep + loader: + source_id: src/solarlab/config/device_import.py + symbol: import_standard_device + resolver: + source_id: src/solarlab/config/resolve_device.py + symbol: resolve_device + content_sha256: 8c4c3a3161dd091a5d001f968a96eb3b1debb12c67d02f2399d9de308ed45503 + issues: [] + migration_notes: + - source: + source_id: perovskite-sim/perovskite_sim/models/config_loader.py + symbol: load_simulation_hints + note: The complete jv_sweep hints now have a lossless typed migration using shared J-V request/history DTOs. They remain + advisory with no implicit effect on pure library or explicit prepared experiment requests; only explicit composition + prepares their original ordered history and supplied tolerances, never by deleting them or substituting current defaults. + No physical initial state or qualified executor is created. +- id: config:tests/fixtures/configs/distributed_defect_qf_dc_pn.yaml + section: configs + original_key: tests/fixtures/configs/distributed_defect_qf_dc_pn.yaml + original_record_sha256: 97752d7c2ce1736347bc58d65fff845ba1a89cc62cb900085fbc65a0841222c0 + legacy_status: certified + legacy_claim_level: null + legacy_evidence_tier: null + legacy_semantic_sha256: 9a0d5095ffacc2b3be9b0b5b6ead96668e7572ff9b8edbfb1dd3a213f3f8ecd7 + configurations: + - config:tests/fixtures/configs/distributed_defect_qf_dc_pn.yaml + test_files: [] + test_nodes: [] + executor: null + executor_version: null + migration_status: prepared_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: + status: prepared_only + input_id: registry.distributed_defect_qf_dc_pn + loader: + source_id: src/solarlab/config/device_import.py + symbol: import_standard_device + resolver: + source_id: src/solarlab/config/resolve_device.py + symbol: resolve_device + content_sha256: 009d4a172ceff2005b6a73c67b7c7c824e71986a1779543eab811357c10def21 + issues: [] + migration_notes: [] +- id: config:tests/fixtures/configs/dynamic_defect_ion_impedance.yaml + section: configs + original_key: tests/fixtures/configs/dynamic_defect_ion_impedance.yaml + original_record_sha256: 51892b4e646e1a72897fe3bb0d27244280275aa65f1c10a809f5a84fcf201f94 + legacy_status: partial + legacy_claim_level: null + legacy_evidence_tier: null + legacy_semantic_sha256: 15389dcd77db70c22fa6b4a6430d52a303c64ae3fcbabce58dabd4c7d2364ef1 + configurations: + - config:tests/fixtures/configs/dynamic_defect_ion_impedance.yaml + test_files: [] + test_nodes: [] + executor: null + executor_version: null + migration_status: prepared_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: + status: prepared_only + input_id: registry.dynamic_defect_ion_impedance + loader: + source_id: src/solarlab/config/device_import.py + symbol: import_standard_device + resolver: + source_id: src/solarlab/config/resolve_device.py + symbol: resolve_device + content_sha256: 08c1a206a90a19c5eb309b0f96001328758809a7c64faff220f1803284445960 + issues: [] + migration_notes: [] +- id: config:tests/fixtures/configs/dynamic_interface_defect_ion_transient.yaml + section: configs + original_key: tests/fixtures/configs/dynamic_interface_defect_ion_transient.yaml + original_record_sha256: f3bdfc17e7816138aa9aeea91d599ab40b12e9d1874fc88b26b2ed7f280c2594 + legacy_status: partial + legacy_claim_level: null + legacy_evidence_tier: null + legacy_semantic_sha256: 904f44df9c0527aad7aa61b1f1b71b5f9477ac5f2f1a004299fffab0345f9d52 + configurations: + - config:tests/fixtures/configs/dynamic_interface_defect_ion_transient.yaml + test_files: [] + test_nodes: [] + executor: null + executor_version: null + migration_status: prepared_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: + status: prepared_only + input_id: registry.dynamic_interface_defect_ion_transient + loader: + source_id: src/solarlab/config/device_import.py + symbol: import_standard_device + resolver: + source_id: src/solarlab/config/resolve_device.py + symbol: resolve_device + content_sha256: 1358bfd75d9981fd2222719f9ccaaaef748d3fc95ca51f483cc3821b6383ecf9 + issues: [] + migration_notes: [] +- id: config:tests/fixtures/configs/dynamic_interface_defect_ion_transient_absorber_only.yaml + section: configs + original_key: tests/fixtures/configs/dynamic_interface_defect_ion_transient_absorber_only.yaml + original_record_sha256: e512888d9a563b667a148af27abd6ebb94f59a934f52f1dbdb06697d3dbc4953 + legacy_status: certified + legacy_claim_level: null + legacy_evidence_tier: null + legacy_semantic_sha256: c0b3adc20eff5b8fdba66b44ff045c447564b1f23c4990fa5471aef29b7904c4 + configurations: + - config:tests/fixtures/configs/dynamic_interface_defect_ion_transient_absorber_only.yaml + test_files: [] + test_nodes: [] + executor: null + executor_version: null + migration_status: prepared_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: + status: prepared_only + input_id: registry.dynamic_interface_defect_ion_transient_absorber_only + loader: + source_id: src/solarlab/config/device_import.py + symbol: import_standard_device + resolver: + source_id: src/solarlab/config/resolve_device.py + symbol: resolve_device + content_sha256: a69d1dc07ab820f87defcb280f67b61d987599cc5451c430eb90c8158fe8e2f6 + issues: [] + migration_notes: [] +- id: config:tests/fixtures/configs/graded_distributed_defect_qf_dc_pn.yaml + section: configs + original_key: tests/fixtures/configs/graded_distributed_defect_qf_dc_pn.yaml + original_record_sha256: 17218092632c0ec75d1880fae3576cf9eb996e063defb3d6d06ed6f8503c15bc + legacy_status: certified + legacy_claim_level: null + legacy_evidence_tier: null + legacy_semantic_sha256: f502dd9f6350e6c32a64f75686f17492acc0a64803df1939851777646c93486a + configurations: + - config:tests/fixtures/configs/graded_distributed_defect_qf_dc_pn.yaml + test_files: [] + test_nodes: [] + executor: null + executor_version: null + migration_status: prepared_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: + status: prepared_only + input_id: registry.graded_distributed_defect_qf_dc_pn + loader: + source_id: src/solarlab/config/device_import.py + symbol: import_standard_device + resolver: + source_id: src/solarlab/config/resolve_device.py + symbol: resolve_device + content_sha256: 9ff9a5b5018338b15c7fb4864544b8b1a07293c803d2325ac3127a104213069a + issues: [] + migration_notes: [] +- id: config:tests/fixtures/configs/field_mobility_demo.yaml + section: configs + original_key: tests/fixtures/configs/field_mobility_demo.yaml + original_record_sha256: cbbd0043256b15a25d3f35c25f473d832b5f937994d0251c5547001652967442 + legacy_status: load_only + legacy_claim_level: null + legacy_evidence_tier: null + legacy_semantic_sha256: ce3ed006c48c5b85d01112f3985cda330c3d4a09d12bdcd945b9f1d7a0cc4afe + configurations: + - config:tests/fixtures/configs/field_mobility_demo.yaml + test_files: [] + test_nodes: [] + executor: null + executor_version: null + migration_status: prepared_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: + status: prepared_only + input_id: registry.field_mobility_demo + loader: + source_id: src/solarlab/config/device_import.py + symbol: import_standard_device + resolver: + source_id: src/solarlab/config/resolve_device.py + symbol: resolve_device + content_sha256: 2189a4d4581a0031510ff3144798e9dd509374d8f90e62567973dfe2f2e428c6 + issues: [] + migration_notes: [] +- id: config:tests/fixtures/configs/interface_charge_reference.yaml + section: configs + original_key: tests/fixtures/configs/interface_charge_reference.yaml + original_record_sha256: eb9eda2e4ffec6daf41d021dd5853a0211b7d3e7f96eb93a9ff6932330c4ad21 + legacy_status: partial + legacy_claim_level: null + legacy_evidence_tier: null + legacy_semantic_sha256: 1fd48e611f337e1c1a44801bd8dac3947d437b2e908f77ef35bbf980e24a46de + configurations: + - config:tests/fixtures/configs/interface_charge_reference.yaml + test_files: [] + test_nodes: [] + executor: null + executor_version: null + migration_status: prepared_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: + status: prepared_only + input_id: registry.interface_charge_reference + loader: + source_id: src/solarlab/config/scaps_input.py + symbol: import_scaps_device + resolver: + source_id: src/solarlab/config/resolve_device.py + symbol: resolve_device + content_sha256: 25d6d13dfdb5f3be923fddc9c640e5746cc36a9b30845d383fb458bcc8c9da1c + issues: [] + migration_notes: [] +- id: config:tests/fixtures/configs/interface_charge_jv_research.yaml + section: configs + original_key: tests/fixtures/configs/interface_charge_jv_research.yaml + original_record_sha256: 4b72b1e43d759d91cd7d0905f42f451c8c85089020800cb07f66ea5435749e3a + legacy_status: certified + legacy_claim_level: null + legacy_evidence_tier: null + legacy_semantic_sha256: 7dae78ac306b881971d54c4857ca72d3394332096af21eeb482b7bbd0a062029 + configurations: + - config:tests/fixtures/configs/interface_charge_jv_research.yaml + test_files: [] + test_nodes: [] + executor: null + executor_version: null + migration_status: prepared_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: + status: prepared_only + input_id: registry.interface_charge_jv_research + loader: + source_id: src/solarlab/config/device_import.py + symbol: import_standard_device + resolver: + source_id: src/solarlab/config/resolve_device.py + symbol: resolve_device + content_sha256: 3ef82085279607722fb85ce6633e78197f3946287f6a86c65d1b11d8a772bc21 + issues: [] + migration_notes: [] +- id: config:tests/fixtures/configs/interface_charge_research.yaml + section: configs + original_key: tests/fixtures/configs/interface_charge_research.yaml + original_record_sha256: ef448a9e550a1c3fe1fcfab9a4eae1b73ad12b087c05e5e6c4519183c0988c9e + legacy_status: partial + legacy_claim_level: null + legacy_evidence_tier: null + legacy_semantic_sha256: 2362b220db8d3aae26a2f91f4231871200066ce742e621e6424fed13b206b747 + configurations: + - config:tests/fixtures/configs/interface_charge_research.yaml + test_files: [] + test_nodes: [] + executor: null + executor_version: null + migration_status: prepared_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: + status: prepared_only + input_id: registry.interface_charge_research + loader: + source_id: src/solarlab/config/device_import.py + symbol: import_standard_device + resolver: + source_id: src/solarlab/config/resolve_device.py + symbol: resolve_device + content_sha256: 14fc555118a69545d9e580277b5e204e1fb428459d4065b37509dc3570efdddf + issues: [] + migration_notes: [] +- id: config:tests/fixtures/configs/ionmonger_benchmark.yaml + section: configs + original_key: tests/fixtures/configs/ionmonger_benchmark.yaml + original_record_sha256: c2485f35c512b30e15921517f7b7cdbb2cfffde0b20ba4e217112089360beb7d + legacy_status: partial + legacy_claim_level: null + legacy_evidence_tier: null + legacy_semantic_sha256: a7e07b83a752dc2836231c7a3605ae32791ac18c19cde2a176d8d6e9c2d4438d + configurations: + - config:tests/fixtures/configs/ionmonger_benchmark.yaml + test_files: [] + test_nodes: [] + executor: null + executor_version: null + migration_status: prepared_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: + status: prepared_only + input_id: registry.ionmonger_benchmark + loader: + source_id: src/solarlab/config/device_import.py + symbol: import_standard_device + resolver: + source_id: src/solarlab/config/resolve_device.py + symbol: resolve_device + content_sha256: 8b699d9fea473dee2f25517aa6a3e7ea47f27c79da43954661228f17680e133a + issues: [] + migration_notes: [] +- id: config:tests/fixtures/configs/ionmonger_benchmark_tmm.yaml + section: configs + original_key: tests/fixtures/configs/ionmonger_benchmark_tmm.yaml + original_record_sha256: fa83b786b2f3f9331cb00ec57357f31bbfce5e51af7ab19779cbaa64a137408a + legacy_status: partial + legacy_claim_level: null + legacy_evidence_tier: null + legacy_semantic_sha256: 27e852381c1f7586fdb05bd73f587b6e9f64e4be2de95f649825dcabe4d78822 + configurations: + - config:tests/fixtures/configs/ionmonger_benchmark_tmm.yaml + test_files: [] + test_nodes: [] + executor: null + executor_version: null + migration_status: prepared_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: + status: prepared_only + input_id: registry.ionmonger_benchmark_tmm + loader: + source_id: src/solarlab/config/device_import.py + symbol: import_standard_device + resolver: + source_id: src/solarlab/config/resolve_device.py + symbol: resolve_device + content_sha256: a4224688b21a5dc13c3044c62d2a8f6222269638fb5f6109b04c6ce109b8a332 + issues: [] + migration_notes: + - source: + source_id: perovskite-sim/perovskite_sim/models/config_loader.py + symbol: interfaces_from_device_dict + note: The original reader uses full raw index including substrate and pads remaining slots with (0,0) when a nonempty + list is supplied. Preparation now preserves this mapping and the original short list/source evidence, with no automatic + pair shift. Empty/null lists retain the empty-tuple behavior; electrical-only reindexing requires a distinct physical + correction. +- id: config:tests/fixtures/configs/ionmonger_courtier2019_repro.yaml + section: configs + original_key: tests/fixtures/configs/ionmonger_courtier2019_repro.yaml + original_record_sha256: d3e5d9ecae520bb431eb4dc6ae24f57a70fd8553e989f1795f8da2c927ed51b5 + legacy_status: partial + legacy_claim_level: null + legacy_evidence_tier: null + legacy_semantic_sha256: 4e00e5ac181118bb173ef8f679ae30ee2ed02cd72159811667c3a1eb7afdc82f + configurations: + - config:tests/fixtures/configs/ionmonger_courtier2019_repro.yaml + test_files: [] + test_nodes: [] + executor: null + executor_version: null + migration_status: prepared_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: + status: prepared_only + input_id: registry.ionmonger_courtier2019_repro + loader: + source_id: src/solarlab/config/device_import.py + symbol: import_standard_device + resolver: + source_id: src/solarlab/config/resolve_device.py + symbol: resolve_device + content_sha256: fba7f7dc881e1e968e18c406be1134110f67876791497f8f1fb807a66e6fe01d + issues: [] + migration_notes: [] +- id: config:tests/fixtures/configs/nip_MAPbI3.yaml + section: configs + original_key: tests/fixtures/configs/nip_MAPbI3.yaml + original_record_sha256: 567c31970dc74854e8b11fc15c94c2bb26eb3c51d5ad9a193a20268761dc433e + legacy_status: partial + legacy_claim_level: null + legacy_evidence_tier: null + legacy_semantic_sha256: 92d27b4b9d47ca66725318ba9115a5dfa99448485044dd02015f9318dfcd7dce + configurations: + - config:tests/fixtures/configs/nip_MAPbI3.yaml + test_files: [] + test_nodes: [] + executor: null + executor_version: null + migration_status: prepared_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: + status: prepared_only + input_id: registry.nip_MAPbI3 + loader: + source_id: src/solarlab/config/device_import.py + symbol: import_standard_device + resolver: + source_id: src/solarlab/config/resolve_device.py + symbol: resolve_device + content_sha256: 35c36de189798041c8ed7125cfb89070a40191b7b3412826967ff6f2ab9866af + issues: [] + migration_notes: [] +- id: config:tests/fixtures/configs/nip_MAPbI3_tmm.yaml + section: configs + original_key: tests/fixtures/configs/nip_MAPbI3_tmm.yaml + original_record_sha256: 211544516d3565fec20abc4a1ef44c9541cd639ed12ce36d1f3e3719f76309fb + legacy_status: partial + legacy_claim_level: null + legacy_evidence_tier: null + legacy_semantic_sha256: 5ea55c1257834ab7f7dd10a867c2b78aea03ee2691936281b227ee833e59571a + configurations: + - config:tests/fixtures/configs/nip_MAPbI3_tmm.yaml + test_files: [] + test_nodes: [] + executor: null + executor_version: null + migration_status: prepared_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: + status: prepared_only + input_id: registry.nip_MAPbI3_tmm + loader: + source_id: src/solarlab/config/device_import.py + symbol: import_standard_device + resolver: + source_id: src/solarlab/config/resolve_device.py + symbol: resolve_device + content_sha256: 01a0829158f5493314d35b17d95b476ad26a97ad14ce02503f39ada3edcc2447 + issues: [] + migration_notes: [] +- id: config:tests/fixtures/configs/nip_SnPb_1p22.yaml + section: configs + original_key: tests/fixtures/configs/nip_SnPb_1p22.yaml + original_record_sha256: ef450059e449afc3d994fbefa599ac20d516548fdaeb2e082e82e98499462f42 + legacy_status: partial + legacy_claim_level: null + legacy_evidence_tier: null + legacy_semantic_sha256: a89144913a27f5be6ee7f3324635083826a42bd615beb4ba357bf136a5bb8735 + configurations: + - config:tests/fixtures/configs/nip_SnPb_1p22.yaml + test_files: [] + test_nodes: [] + executor: null + executor_version: null + migration_status: prepared_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: + status: prepared_only + input_id: registry.nip_SnPb_1p22 + loader: + source_id: src/solarlab/config/device_import.py + symbol: import_standard_device + resolver: + source_id: src/solarlab/config/resolve_device.py + symbol: resolve_device + content_sha256: f032be48e4387190191a7d120e001cd7943c8229eada4897833ca437fb5d7d7f + issues: [] + migration_notes: [] +- id: config:tests/fixtures/configs/nip_wideGap_FACs_1p77.yaml + section: configs + original_key: tests/fixtures/configs/nip_wideGap_FACs_1p77.yaml + original_record_sha256: e37cfe2ec10b0082adf62cc19bd61b1b6682bf1b513a4b5ef0b9963e755b56ed + legacy_status: partial + legacy_claim_level: null + legacy_evidence_tier: null + legacy_semantic_sha256: 33ad11f46832f2e7d905cae548df4f8e7c1d6de7f5239a628b52fabff6b83075 + configurations: + - config:tests/fixtures/configs/nip_wideGap_FACs_1p77.yaml + test_files: [] + test_nodes: [] + executor: null + executor_version: null + migration_status: prepared_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: + status: prepared_only + input_id: registry.nip_wideGap_FACs_1p77 + loader: + source_id: src/solarlab/config/device_import.py + symbol: import_standard_device + resolver: + source_id: src/solarlab/config/resolve_device.py + symbol: resolve_device + content_sha256: bc6840911ddfea262ed2fcf002cbc6a536879193f6044bbb864f0e24f1c6f6ee + issues: [] + migration_notes: [] +- id: config:tests/fixtures/configs/pin_MAPbI3.yaml + section: configs + original_key: tests/fixtures/configs/pin_MAPbI3.yaml + original_record_sha256: 0a64e0e290be186d57121a6c8ee26a6497286c6f93f3e725cec418f50eaf3393 + legacy_status: load_only + legacy_claim_level: null + legacy_evidence_tier: null + legacy_semantic_sha256: 68c401d5c956e278a5823d65136028e46082b54bbca662adb092b0bafcf68e51 + configurations: + - config:tests/fixtures/configs/pin_MAPbI3.yaml + test_files: [] + test_nodes: [] + executor: null + executor_version: null + migration_status: prepared_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: + status: prepared_only + input_id: registry.pin_MAPbI3 + loader: + source_id: src/solarlab/config/device_import.py + symbol: import_standard_device + resolver: + source_id: src/solarlab/config/resolve_device.py + symbol: resolve_device + content_sha256: c1b3321631c08a7579903416da74ebf9b3c5ddbd308e57ed5780355718a391fe + issues: [] + migration_notes: [] +- id: config:tests/fixtures/configs/pin_MAPbI3_tmm.yaml + section: configs + original_key: tests/fixtures/configs/pin_MAPbI3_tmm.yaml + original_record_sha256: 548d8325cd5bd4e2bed1a926c6581c183000fd62c9a73318928f28fba102ad37 + legacy_status: partial + legacy_claim_level: null + legacy_evidence_tier: null + legacy_semantic_sha256: f8deb3537112aa80dcfdad8559ed93c3ac049aae9e3ffbe602ab8b0fdeb0302f + configurations: + - config:tests/fixtures/configs/pin_MAPbI3_tmm.yaml + test_files: [] + test_nodes: [] + executor: null + executor_version: null + migration_status: prepared_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: + status: prepared_only + input_id: registry.pin_MAPbI3_tmm + loader: + source_id: src/solarlab/config/device_import.py + symbol: import_standard_device + resolver: + source_id: src/solarlab/config/resolve_device.py + symbol: resolve_device + content_sha256: bb0f686f15fcfaae7438877382468762c6bfe55dea9e4eb6f6e6a52781326ddf + issues: [] + migration_notes: [] +- id: config:tests/fixtures/configs/radiative_limit.yaml + section: configs + original_key: tests/fixtures/configs/radiative_limit.yaml + original_record_sha256: fcafaa1f23830338343d2b5cd6c6b69d5439729222a2c08ee4576b7417425a33 + legacy_status: partial + legacy_claim_level: null + legacy_evidence_tier: null + legacy_semantic_sha256: 8895f94d65240a44caf0db78839a3f21802d54f73148214fc9bd69e0901d42ed + configurations: + - config:tests/fixtures/configs/radiative_limit.yaml + test_files: [] + test_nodes: [] + executor: null + executor_version: null + migration_status: prepared_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: + status: prepared_only + input_id: registry.radiative_limit + loader: + source_id: src/solarlab/config/device_import.py + symbol: import_standard_device + resolver: + source_id: src/solarlab/config/resolve_device.py + symbol: resolve_device + content_sha256: d15dbd0885f747a41d52adf1c1c7a166bc6567c9c0ba1ff430d435342af9644d + issues: [] + migration_notes: [] +- id: config:tests/fixtures/configs/scaps_defect_m1_double_donor_p.yaml + section: configs + original_key: tests/fixtures/configs/scaps_defect_m1_double_donor_p.yaml + original_record_sha256: 3b9a6e029210bce014906b8f31db62e4379986b11ce4c1b33915ea483be6c20c + legacy_status: partial + legacy_claim_level: null + legacy_evidence_tier: null + legacy_semantic_sha256: d01233628d86e1ba715bc1ff32fc55c9c2df29d80b219c734e7a6bebdf6faeee + configurations: + - config:tests/fixtures/configs/scaps_defect_m1_double_donor_p.yaml + test_files: [] + test_nodes: [] + executor: null + executor_version: null + migration_status: prepared_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: + status: prepared_only + input_id: registry.scaps_defect_m1_double_donor_p + loader: + source_id: src/solarlab/config/device_import.py + symbol: import_standard_device + resolver: + source_id: src/solarlab/config/resolve_device.py + symbol: resolve_device + content_sha256: f45a0321c02b2f5b6742231c9d0cc59595fec01be4612bd65540cf4d6b8879d6 + issues: [] + migration_notes: [] +- id: config:tests/fixtures/configs/scaps_defect_m2_double_acceptor_n.yaml + section: configs + original_key: tests/fixtures/configs/scaps_defect_m2_double_acceptor_n.yaml + original_record_sha256: 8bbcd0bd8f45b980d908e1ce87af9d110dfe607c6a9d2b93df51dbdd155bcb9d + legacy_status: partial + legacy_claim_level: null + legacy_evidence_tier: null + legacy_semantic_sha256: bdf32b29906a8f9d52b8bce227865e80e20430f16c63b7666201dfa3ccd2840a + configurations: + - config:tests/fixtures/configs/scaps_defect_m2_double_acceptor_n.yaml + test_files: [] + test_nodes: [] + executor: null + executor_version: null + migration_status: prepared_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: + status: prepared_only + input_id: registry.scaps_defect_m2_double_acceptor_n + loader: + source_id: src/solarlab/config/device_import.py + symbol: import_standard_device + resolver: + source_id: src/solarlab/config/resolve_device.py + symbol: resolve_device + content_sha256: 5c5814b3e5facd2b3ebbe130317b44f79b5413272e334762878a9fa600fd9f0a + issues: [] + migration_notes: [] +- id: config:tests/fixtures/configs/scaps_defect_m3_amphoteric_i.yaml + section: configs + original_key: tests/fixtures/configs/scaps_defect_m3_amphoteric_i.yaml + original_record_sha256: 01d50c3359ed15b0c383779464b355560f3a345bb6ad571eb36e69e7d6fdd9c3 + legacy_status: partial + legacy_claim_level: null + legacy_evidence_tier: null + legacy_semantic_sha256: 07086a198f34348f4f28a04de548c846cd8b85cd1586f90ab1b761fd06259e59 + configurations: + - config:tests/fixtures/configs/scaps_defect_m3_amphoteric_i.yaml + test_files: [] + test_nodes: [] + executor: null + executor_version: null + migration_status: prepared_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: + status: prepared_only + input_id: registry.scaps_defect_m3_amphoteric_i + loader: + source_id: src/solarlab/config/device_import.py + symbol: import_standard_device + resolver: + source_id: src/solarlab/config/resolve_device.py + symbol: resolve_device + content_sha256: 90c3eb8c72b0430c97521b3a5590062dd3643e9626cb34c91dd9759f9face75d + issues: [] + migration_notes: [] +- id: config:tests/fixtures/configs/scaps_defect_s0_neutral.yaml + section: configs + original_key: tests/fixtures/configs/scaps_defect_s0_neutral.yaml + original_record_sha256: 9e554a7af870132109c9a33fc37623a063389d65155d08e917c256ec538e8acd + legacy_status: partial + legacy_claim_level: null + legacy_evidence_tier: null + legacy_semantic_sha256: a44db13adb9d77e705dec93753a72162569860590f8df4f371caf1ad493e473e + configurations: + - config:tests/fixtures/configs/scaps_defect_s0_neutral.yaml + test_files: [] + test_nodes: [] + executor: null + executor_version: null + migration_status: prepared_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: + status: prepared_only + input_id: registry.scaps_defect_s0_neutral + loader: + source_id: src/solarlab/config/device_import.py + symbol: import_standard_device + resolver: + source_id: src/solarlab/config/resolve_device.py + symbol: resolve_device + content_sha256: f2582d2693fe64897241ca401812471b3954a04f4d187cbad428f4e2f4337c3b + issues: [] + migration_notes: [] +- id: config:tests/fixtures/configs/scaps_defect_s1_acceptor_n.yaml + section: configs + original_key: tests/fixtures/configs/scaps_defect_s1_acceptor_n.yaml + original_record_sha256: 349644ce4c8a6952afba0c9f0e82af0a5a55236b330404cb5b05bd4cd32f27d9 + legacy_status: partial + legacy_claim_level: null + legacy_evidence_tier: null + legacy_semantic_sha256: 513d87b2828a0b372477657b2744a88b434f6501c88566a6fd9b6933f515c3b6 + configurations: + - config:tests/fixtures/configs/scaps_defect_s1_acceptor_n.yaml + test_files: [] + test_nodes: [] + executor: null + executor_version: null + migration_status: prepared_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: + status: prepared_only + input_id: registry.scaps_defect_s1_acceptor_n + loader: + source_id: src/solarlab/config/device_import.py + symbol: import_standard_device + resolver: + source_id: src/solarlab/config/resolve_device.py + symbol: resolve_device + content_sha256: 5b727c79eb361317921a2edfaf76a1186a5d32b2db2b6a754dcf801439d268df + issues: [] + migration_notes: [] +- id: config:tests/fixtures/configs/scaps_defect_s2_donor_p.yaml + section: configs + original_key: tests/fixtures/configs/scaps_defect_s2_donor_p.yaml + original_record_sha256: f16a6b9f2be3ea9ac8ea2e11a9fae7fddac09d2981c0795ec7fc6b48af8c9cea + legacy_status: partial + legacy_claim_level: null + legacy_evidence_tier: null + legacy_semantic_sha256: 9c5a68947ed42c9c13ab74403b5599785ff1708d7ad7413d4215ef960c90607e + configurations: + - config:tests/fixtures/configs/scaps_defect_s2_donor_p.yaml + test_files: [] + test_nodes: [] + executor: null + executor_version: null + migration_status: prepared_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: + status: prepared_only + input_id: registry.scaps_defect_s2_donor_p + loader: + source_id: src/solarlab/config/device_import.py + symbol: import_standard_device + resolver: + source_id: src/solarlab/config/resolve_device.py + symbol: resolve_device + content_sha256: d8a569337248510558ae202beecc8f4f2e1f8a5f0ce352f41987b0428c9ff5a0 + issues: [] + migration_notes: [] +- id: config:tests/fixtures/configs/scaps_mirror.yaml + section: configs + original_key: tests/fixtures/configs/scaps_mirror.yaml + original_record_sha256: f9ad9ecee53f246df52bb4f9955012dde74cf28c6e773f8a904b73efb5182cbe + legacy_status: partial + legacy_claim_level: null + legacy_evidence_tier: null + legacy_semantic_sha256: bbda4b58f4844ce6e1e4bcf99e44ee873603ad1c5d5f7ad939faacc5973b7713 + configurations: + - config:tests/fixtures/configs/scaps_mirror.yaml + test_files: [] + test_nodes: [] + executor: null + executor_version: null + migration_status: prepared_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: + status: prepared_only + input_id: registry.scaps_mirror + loader: + source_id: src/solarlab/config/scaps_input.py + symbol: import_scaps_device + resolver: + source_id: src/solarlab/config/resolve_device.py + symbol: resolve_device + content_sha256: 799219457b2bd8181fc2ceea04f32badedcbfa4ff8bb83c3f1e5719bb6202bad + issues: [] + migration_notes: [] +- id: config:configs/scaps_mirror_v2.yaml + section: configs + original_key: configs/scaps_mirror_v2.yaml + original_record_sha256: bdfb8ea17467a61a6583561e1a753d3d1b2d072d394d09f52052ed1cf2e9bbce + legacy_status: partial + legacy_claim_level: null + legacy_evidence_tier: null + legacy_semantic_sha256: 813580bccbe13cdf78d203910b0c4eb31583bfdf779c8b7703f94ba823755071 + configurations: + - config:configs/scaps_mirror_v2.yaml + test_files: [] + test_nodes: [] + executor: null + executor_version: null + migration_status: prepared_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: + status: prepared_only + input_id: registry.scaps_mirror_v2 + loader: + source_id: src/solarlab/config/scaps_input.py + symbol: import_scaps_device + resolver: + source_id: src/solarlab/config/resolve_device.py + symbol: resolve_device + content_sha256: d48eabb66cb1a3e097969289fa542d04c3b07a2044ce49c1307cd5f743c34070 + issues: [] + migration_notes: [] +- id: config:tests/fixtures/configs/scaps_mirror_v2_robin_moderate.yaml + section: configs + original_key: tests/fixtures/configs/scaps_mirror_v2_robin_moderate.yaml + original_record_sha256: 95ff33dd6cb118d4cac5412e55eec0b06f5f215bb87400e3f8ab95b86c59229f + legacy_status: load_only + legacy_claim_level: null + legacy_evidence_tier: null + legacy_semantic_sha256: 8ee02c3a6099628d35d854b2a09fa5ca72f828c5d15132d9947dcf5d51f3d8f9 + configurations: + - config:tests/fixtures/configs/scaps_mirror_v2_robin_moderate.yaml + test_files: [] + test_nodes: [] + executor: null + executor_version: null + migration_status: prepared_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: + status: prepared_only + input_id: registry.scaps_mirror_v2_robin_moderate + loader: + source_id: src/solarlab/config/scaps_input.py + symbol: import_scaps_device + resolver: + source_id: src/solarlab/config/resolve_device.py + symbol: resolve_device + content_sha256: f996c2033a932aff73f54068b5a2b2f74627754636e640a65e590df5df176b98 + issues: [] + migration_notes: [] +- id: config:tests/fixtures/configs/scaps_mirror_v2_robin_strong.yaml + section: configs + original_key: tests/fixtures/configs/scaps_mirror_v2_robin_strong.yaml + original_record_sha256: 8ff9b463ec41b63b884b71a5e0a51b51d39d31bfb1d71cf1107c9b5c9773c30b + legacy_status: load_only + legacy_claim_level: null + legacy_evidence_tier: null + legacy_semantic_sha256: 8cda10e0c9dfded05c280089afced25baabea2332168f15ad955644949c95921 + configurations: + - config:tests/fixtures/configs/scaps_mirror_v2_robin_strong.yaml + test_files: [] + test_nodes: [] + executor: null + executor_version: null + migration_status: prepared_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: + status: prepared_only + input_id: registry.scaps_mirror_v2_robin_strong + loader: + source_id: src/solarlab/config/scaps_input.py + symbol: import_scaps_device + resolver: + source_id: src/solarlab/config/resolve_device.py + symbol: resolve_device + content_sha256: 8f2a321d1adeb367b821b713dd6b866acd851f9c2aa99eba7edf09fa49f75640 + issues: [] + migration_notes: [] +- id: config:tests/fixtures/configs/selective_contacts_demo.yaml + section: configs + original_key: tests/fixtures/configs/selective_contacts_demo.yaml + original_record_sha256: ab10f895ec7df61ace937067f98a38610a994dcfff5d06595ef2c2d42001e09e + legacy_status: demo + legacy_claim_level: null + legacy_evidence_tier: null + legacy_semantic_sha256: 90a46d11bd7c5da2947227bcb3d79ee34a17f255fdd90be11b09c13dedd82a0b + configurations: + - config:tests/fixtures/configs/selective_contacts_demo.yaml + test_files: [] + test_nodes: [] + executor: null + executor_version: null + migration_status: prepared_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: + status: prepared_only + input_id: registry.selective_contacts_demo + loader: + source_id: src/solarlab/config/device_import.py + symbol: import_standard_device + resolver: + source_id: src/solarlab/config/resolve_device.py + symbol: resolve_device + content_sha256: 39a6e21caca00c1003933d80f5c5fb46057f7dc4c943bd9895d70bc876e1e676 + issues: [] + migration_notes: [] +- id: config:tests/fixtures/configs/solarscale_nip_band_aligned.yaml + section: configs + original_key: tests/fixtures/configs/solarscale_nip_band_aligned.yaml + original_record_sha256: cfeed99f1b39536f93adddd4eb22d8b635bfd3ba9badde841f34514635c3365c + legacy_status: load_only + legacy_claim_level: null + legacy_evidence_tier: null + legacy_semantic_sha256: 498a4753dfbfd6b213a517eb095ea139401c0cdf8fda2ec2abf5e5d0d45bb65f + configurations: + - config:tests/fixtures/configs/solarscale_nip_band_aligned.yaml + test_files: [] + test_nodes: [] + executor: null + executor_version: null + migration_status: prepared_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: + status: prepared_only + input_id: registry.solarscale_nip_band_aligned + loader: + source_id: src/solarlab/config/device_import.py + symbol: import_standard_device + resolver: + source_id: src/solarlab/config/resolve_device.py + symbol: resolve_device + content_sha256: 4e6399dc12828e65e61112fb760d97ced803a8f76c9e6dccc851e48a703bc6d7 + issues: [] + migration_notes: [] +- id: config:tests/fixtures/configs/solarscale_nip_band_aligned_iface.yaml + section: configs + original_key: tests/fixtures/configs/solarscale_nip_band_aligned_iface.yaml + original_record_sha256: 0d534facb79fe7a34945d8d0e75be27cad69a128e923a0de4567bbb9549976c1 + legacy_status: demo + legacy_claim_level: null + legacy_evidence_tier: null + legacy_semantic_sha256: 9c2bf332f1ae352693b44a2c829e803b3d14be2636ddbbba6597871d417ced1c + configurations: + - config:tests/fixtures/configs/solarscale_nip_band_aligned_iface.yaml + test_files: [] + test_nodes: [] + executor: null + executor_version: null + migration_status: prepared_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: + status: prepared_only + input_id: registry.solarscale_nip_band_aligned_iface + loader: + source_id: src/solarlab/config/device_import.py + symbol: import_standard_device + resolver: + source_id: src/solarlab/config/resolve_device.py + symbol: resolve_device + content_sha256: 1c8934a3f134113f523457f75bc1f37305d4e6aee264d543f539e9c230abba54 + issues: [] + migration_notes: [] +- id: config:tests/fixtures/configs/tandem_lin2019.yaml + section: configs + original_key: tests/fixtures/configs/tandem_lin2019.yaml + original_record_sha256: 37392f8c5db7a9266e185c60e372d4fc6c389bba048e8087d79c8b490c996b6f + legacy_status: partial + legacy_claim_level: null + legacy_evidence_tier: null + legacy_semantic_sha256: 80912db53c3c7129a6adb5e7454e08e4a15c8fc0ea787e662cea3fc4036d5c49 + configurations: + - config:tests/fixtures/configs/tandem_lin2019.yaml + test_files: [] + test_nodes: [] + executor: null + executor_version: null + migration_status: prepared_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: + status: prepared_only + input_id: registry.tandem_lin2019 + loader: + source_id: src/solarlab/config/tandem_input.py + symbol: import_tandem + resolver: + source_id: src/solarlab/config/resolve_device.py + symbol: resolve_tandem + content_sha256: da5e27af6e73ec5d5606804bceb4ee594ce4d978f1f6b74d7ceb901511517f13 + issues: [] + migration_notes: [] +- id: config:tests/fixtures/configs/twod/bcx_combined_demo.yaml + section: configs + original_key: tests/fixtures/configs/twod/bcx_combined_demo.yaml + original_record_sha256: c536fd936a07d635325311eb306f5f312243d66f833fd6e659d8cff49ca8de2b + legacy_status: load_only + legacy_claim_level: null + legacy_evidence_tier: null + legacy_semantic_sha256: f06713037915c1100cd3269587f448d37c21929911d062343a3bf629d5ebc162 + configurations: + - config:tests/fixtures/configs/twod/bcx_combined_demo.yaml + test_files: [] + test_nodes: [] + executor: null + executor_version: null + migration_status: prepared_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: + status: prepared_only + input_id: registry.bcx_combined_demo + loader: + source_id: src/solarlab/config/device_import.py + symbol: import_standard_device + resolver: + source_id: src/solarlab/config/resolve_device.py + symbol: resolve_device + content_sha256: c611d20fcdc29920580d1fb78b0c97a25dd727c02942451ad310b24505456797 + issues: [] + migration_notes: [] +- id: config:tests/fixtures/configs/twod/combined_mobile_interface_research.yaml + section: configs + original_key: tests/fixtures/configs/twod/combined_mobile_interface_research.yaml + original_record_sha256: e375034d01652a4dc1730d550580640d60a7e968b202206a926431c63add1f57 + legacy_status: certified + legacy_claim_level: null + legacy_evidence_tier: null + legacy_semantic_sha256: 0c30a51739908e0f9a8be1f8c5c59012f94ac3041d56d3b7382e2218f1205d3d + configurations: + - config:tests/fixtures/configs/twod/combined_mobile_interface_research.yaml + test_files: [] + test_nodes: [] + executor: null + executor_version: null + migration_status: prepared_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: + status: prepared_only + input_id: registry.combined_mobile_interface_research + loader: + source_id: src/solarlab/config/device_import.py + symbol: import_standard_device + resolver: + source_id: src/solarlab/config/resolve_device.py + symbol: resolve_device + content_sha256: 16f415aba5d7db53cd0368b7ae8cc657c2155baf61f43cb0c193877c928cb192 + issues: [] + migration_notes: [] +- id: config:tests/fixtures/configs/twod/nip_MAPbI3_singleGB.yaml + section: configs + original_key: tests/fixtures/configs/twod/nip_MAPbI3_singleGB.yaml + original_record_sha256: d2a8a0b31484613de13dab47a31a5b5a5d66236a2d84eb57086c8451b30c0da9 + legacy_status: partial + legacy_claim_level: null + legacy_evidence_tier: null + legacy_semantic_sha256: 7a593a9281e03466f3e6084dff9e9064aca80966be7d855958bb237379f1b826 + configurations: + - config:tests/fixtures/configs/twod/nip_MAPbI3_singleGB.yaml + test_files: [] + test_nodes: [] + executor: null + executor_version: null + migration_status: prepared_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: + status: prepared_only + input_id: registry.nip_MAPbI3_singleGB + loader: + source_id: src/solarlab/config/device_import.py + symbol: import_standard_device + resolver: + source_id: src/solarlab/config/resolve_device.py + symbol: resolve_device + content_sha256: d2a754136da787667f2f056ac8bdc317ff2cfd9208d1b39bae780cc18c2e8616 + issues: [] + migration_notes: [] +- id: config:tests/fixtures/configs/twod/nip_MAPbI3_uniform.yaml + section: configs + original_key: tests/fixtures/configs/twod/nip_MAPbI3_uniform.yaml + original_record_sha256: a642d1e1b2591d624b79417a2eeb1a232aef70c7887fed146f3b1df540a8428e + legacy_status: certified + legacy_claim_level: null + legacy_evidence_tier: null + legacy_semantic_sha256: 92d27b4b9d47ca66725318ba9115a5dfa99448485044dd02015f9318dfcd7dce + configurations: + - config:tests/fixtures/configs/twod/nip_MAPbI3_uniform.yaml + test_files: [] + test_nodes: [] + executor: null + executor_version: null + migration_status: prepared_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: + status: prepared_only + input_id: registry.nip_MAPbI3_uniform + loader: + source_id: src/solarlab/config/device_import.py + symbol: import_standard_device + resolver: + source_id: src/solarlab/config/resolve_device.py + symbol: resolve_device + content_sha256: 7558710d8638611bf7ddee2e4f8bcbb177c138d15110e1ee0833ad13ca973985 + issues: [] + migration_notes: [] +- id: benchmark:loader-contract + section: benchmarks + original_key: loader-contract + original_record_sha256: 9071ed5350fc8394173e2c6fdc5c4e73a6cc69209a80ca1c957332aa2f321638 + legacy_status: pass + legacy_claim_level: structural + legacy_evidence_tier: null + legacy_semantic_sha256: null + configurations: + - config:tests/fixtures/configs/cSi_homojunction.yaml + - config:configs/calado2016_fig1f.yaml + - config:configs/calado2016_ion_sweep.yaml + - config:tests/fixtures/configs/csi_gaussian_bulk_trap_pn_research.yaml + - config:tests/fixtures/configs/csi_degenerate_pn_research.yaml + - config:tests/fixtures/configs/csi_incomplete_ionization_bgn_pn_research.yaml + - config:tests/fixtures/configs/csi_incomplete_ionization_pn_research.yaml + - config:tests/fixtures/configs/csi_vannijen2025_pn_cv.yaml + - config:tests/fixtures/configs/cigs_baseline.yaml + - config:tests/fixtures/configs/cigs_graded_optics.yaml + - config:tests/fixtures/configs/cigs_graded_notch.yaml + - config:tests/fixtures/configs/dual_ion_demo.yaml + - config:tests/fixtures/configs/driftfusion_benchmark.yaml + - config:tests/fixtures/configs/driftfusion_benchmark_tmm.yaml + - config:tests/fixtures/configs/driftfusion_calado2016_repro.yaml + - config:tests/fixtures/configs/distributed_defect_qf_dc_pn.yaml + - config:tests/fixtures/configs/dynamic_defect_ion_impedance.yaml + - config:tests/fixtures/configs/dynamic_interface_defect_ion_transient.yaml + - config:tests/fixtures/configs/dynamic_interface_defect_ion_transient_absorber_only.yaml + - config:tests/fixtures/configs/graded_distributed_defect_qf_dc_pn.yaml + - config:tests/fixtures/configs/field_mobility_demo.yaml + - config:tests/fixtures/configs/interface_charge_jv_research.yaml + - config:tests/fixtures/configs/interface_charge_reference.yaml + - config:tests/fixtures/configs/interface_charge_research.yaml + - config:tests/fixtures/configs/ionmonger_benchmark.yaml + - config:tests/fixtures/configs/ionmonger_benchmark_tmm.yaml + - config:tests/fixtures/configs/ionmonger_courtier2019_repro.yaml + - config:tests/fixtures/configs/nip_MAPbI3.yaml + - config:tests/fixtures/configs/nip_MAPbI3_tmm.yaml + - config:tests/fixtures/configs/nip_SnPb_1p22.yaml + - config:tests/fixtures/configs/nip_wideGap_FACs_1p77.yaml + - config:tests/fixtures/configs/pin_MAPbI3.yaml + - config:tests/fixtures/configs/pin_MAPbI3_tmm.yaml + - config:tests/fixtures/configs/radiative_limit.yaml + - config:tests/fixtures/configs/scaps_defect_m1_double_donor_p.yaml + - config:tests/fixtures/configs/scaps_defect_m2_double_acceptor_n.yaml + - config:tests/fixtures/configs/scaps_defect_m3_amphoteric_i.yaml + - config:tests/fixtures/configs/scaps_defect_s0_neutral.yaml + - config:tests/fixtures/configs/scaps_defect_s1_acceptor_n.yaml + - config:tests/fixtures/configs/scaps_defect_s2_donor_p.yaml + - config:tests/fixtures/configs/scaps_mirror.yaml + - config:configs/scaps_mirror_v2.yaml + - config:tests/fixtures/configs/scaps_mirror_v2_robin_moderate.yaml + - config:tests/fixtures/configs/scaps_mirror_v2_robin_strong.yaml + - config:tests/fixtures/configs/selective_contacts_demo.yaml + - config:tests/fixtures/configs/solarscale_nip_band_aligned.yaml + - config:tests/fixtures/configs/solarscale_nip_band_aligned_iface.yaml + - config:tests/fixtures/configs/tandem_lin2019.yaml + - config:tests/fixtures/configs/wkb_tunnelling_intraband_spike.yaml + - config:tests/fixtures/configs/wkb_resolved_electron_barrier.yaml + - config:tests/fixtures/configs/tpv_physical_reference.yaml + - config:tests/fixtures/configs/twod/bcx_combined_demo.yaml + - config:tests/fixtures/configs/twod/combined_mobile_interface_research.yaml + - config:tests/fixtures/configs/twod/nip_MAPbI3_singleGB.yaml + - config:tests/fixtures/configs/twod/nip_MAPbI3_uniform.yaml + test_files: + - tests/reproducibility/test_matrix.py + test_nodes: + - tests/reproducibility/test_matrix.py::test_matrix_covers_and_loads_every_shipped_config + executor: null + executor_version: null + migration_status: legacy_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: null + migration_notes: [] +- id: benchmark:phase1-refinement-contract + section: benchmarks + original_key: phase1-refinement-contract + original_record_sha256: 3a52fdcb18a1b60bc0d218a142e83a51d04dffa2f732c733bc50c77ea4d90c65 + legacy_status: pass + legacy_claim_level: structural-numerical-contract + legacy_evidence_tier: null + legacy_semantic_sha256: null + configurations: + - config:tests/fixtures/configs/cSi_homojunction.yaml + - config:tests/fixtures/configs/csi_gaussian_bulk_trap_pn_research.yaml + - config:tests/fixtures/configs/csi_degenerate_pn_research.yaml + - config:tests/fixtures/configs/csi_incomplete_ionization_bgn_pn_research.yaml + - config:tests/fixtures/configs/csi_incomplete_ionization_pn_research.yaml + - config:tests/fixtures/configs/csi_vannijen2025_pn_cv.yaml + - config:tests/fixtures/configs/cigs_graded_optics.yaml + - config:tests/fixtures/configs/distributed_defect_qf_dc_pn.yaml + - config:tests/fixtures/configs/dynamic_defect_ion_impedance.yaml + - config:tests/fixtures/configs/dynamic_interface_defect_ion_transient.yaml + - config:tests/fixtures/configs/dynamic_interface_defect_ion_transient_absorber_only.yaml + - config:tests/fixtures/configs/graded_distributed_defect_qf_dc_pn.yaml + - config:tests/fixtures/configs/interface_charge_jv_research.yaml + - config:tests/fixtures/configs/interface_charge_reference.yaml + - config:tests/fixtures/configs/interface_charge_research.yaml + - config:tests/fixtures/configs/ionmonger_benchmark.yaml + - config:tests/fixtures/configs/nip_MAPbI3.yaml + - config:tests/fixtures/configs/scaps_defect_m1_double_donor_p.yaml + - config:tests/fixtures/configs/scaps_defect_s1_acceptor_n.yaml + - config:tests/fixtures/configs/scaps_mirror.yaml + - config:configs/scaps_mirror_v2.yaml + - config:tests/fixtures/configs/wkb_tunnelling_intraband_spike.yaml + - config:tests/fixtures/configs/wkb_resolved_electron_barrier.yaml + - config:tests/fixtures/configs/twod/combined_mobile_interface_research.yaml + - config:tests/fixtures/configs/tpv_physical_reference.yaml + - config:tests/fixtures/configs/twod/nip_MAPbI3_uniform.yaml + test_files: + - tests/regression/test_tolerance_grid_refinement.py + test_nodes: + - tests/regression/test_tolerance_grid_refinement.py::test_preregistered_numerical_lanes_and_thresholds_are_immutable + - tests/regression/test_tolerance_grid_refinement.py::test_certificate_distinguishes_certified_partial_and_failed + - tests/regression/test_tolerance_grid_refinement.py::test_refinement_runner_resumes_content_addressed_cells_without_overwrite + - tests/regression/test_tolerance_grid_refinement.py::test_failed_cell_can_be_retried_without_deleting_prior_artifact + - tests/regression/test_tolerance_grid_refinement.py::test_refinement_runner_rejects_historical_reference_output_root + - tests/regression/test_tolerance_grid_refinement.py::test_protocol_hash_is_manifested_and_inconsistency_fails_closed + - tests/regression/test_tolerance_grid_refinement.py::test_plan_refinement_is_read_only + executor: null + executor_version: null + migration_status: legacy_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: null + migration_notes: [] +- id: benchmark:interface-charge-off-qf-reference + section: benchmarks + original_key: interface-charge-off-qf-reference + original_record_sha256: 2d26aa90bbf6b82315b8b07db80942044c683e3a342ae8ae85c507d563caf709 + legacy_status: pass + legacy_claim_level: internal-numerical-candidate + legacy_evidence_tier: null + legacy_semantic_sha256: null + configurations: + - config:tests/fixtures/configs/interface_charge_reference.yaml + test_files: + - tests/unit/validation/test_refinement_executors.py + test_nodes: + - tests/unit/validation/test_refinement_executors.py::test_interface_charge_off_executor_smoke + - tests/unit/validation/test_refinement_executors.py::test_two_sided_interface_evidence_checks_carrier_and_state_balance + executor: null + executor_version: null + migration_status: legacy_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: null + migration_notes: [] +- id: benchmark:interface-charge-qf-research + section: benchmarks + original_key: interface-charge-qf-research + original_record_sha256: 6965398e02450f3a9818a5f9a7a9cd36a3ffc1c9bdf447fe1839ec6f22edf3ca + legacy_status: pass + legacy_claim_level: internal-numerical-candidate + legacy_evidence_tier: null + legacy_semantic_sha256: null + configurations: + - config:tests/fixtures/configs/interface_charge_research.yaml + test_files: + - tests/unit/experiments/test_quasi_fermi_steady_state.py + - tests/unit/validation/test_refinement_executors.py + test_nodes: + - tests/unit/experiments/test_quasi_fermi_steady_state.py::test_charged_outer_poisson_closes_and_reference_state_has_zero_charge + - tests/unit/experiments/test_quasi_fermi_steady_state.py::test_research_api_binds_dark_reference_and_keeps_production_gate_parked + - tests/unit/validation/test_refinement_executors.py::test_equilibrium_referenced_interface_charge_executor_smoke + executor: null + executor_version: null + migration_status: legacy_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: null + migration_notes: [] +- id: benchmark:interface-charge-device-stress + section: benchmarks + original_key: interface-charge-device-stress + original_record_sha256: 238a38f91cbc6b8045f5dda86c4f71f5eb82718ecc4347a299f14ace24797ae7 + legacy_status: pass + legacy_claim_level: internal-numerical-candidate + legacy_evidence_tier: null + legacy_semantic_sha256: null + configurations: + - config:tests/fixtures/configs/interface_charge_research.yaml + test_files: + - tests/unit/validation/test_interface_charge_stress.py + - tests/unit/sweeps/test_interface_defect_sweep.py + test_nodes: + - tests/unit/validation/test_interface_charge_stress.py::test_interface_charge_stress_executor_smoke + - tests/unit/sweeps/test_interface_defect_sweep.py::test_interface_defect_N_t_cm2_updates_charge_capacity_and_preserves_srv_ratio + executor: null + executor_version: null + migration_status: legacy_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: null + migration_notes: [] +- id: benchmark:interface-charge-jv-api-integration + section: benchmarks + original_key: interface-charge-jv-api-integration + original_record_sha256: 73cb74a2568187397278be38391a1b011d3a88706f52c474370a90b121cbf758 + legacy_status: pass + legacy_claim_level: internal-protocol-bound-route + legacy_evidence_tier: null + legacy_semantic_sha256: null + configurations: + - config:tests/fixtures/configs/interface_charge_jv_research.yaml + test_files: + - tests/unit/experiments/test_interface_charge_jv.py + - tests/unit/backend/test_interface_charge_jv_api.py + test_nodes: + - tests/unit/experiments/test_interface_charge_jv.py::test_protocol_round_trip_and_hash_bind_every_field + - tests/unit/experiments/test_interface_charge_jv.py::test_real_small_grid_charged_jv_has_pointwise_evidence + - tests/unit/backend/test_interface_charge_jv_api.py::test_charged_protocol_resolver_builds_the_canonical_zero_scan_contract + - tests/unit/backend/test_interface_charge_jv_api.py::test_real_sync_charged_jv_api_returns_certified_point_evidence + - tests/unit/backend/test_interface_charge_jv_api.py::test_real_async_charged_jv_worker_preserves_protocol_and_evidence + executor: null + executor_version: null + migration_status: legacy_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: null + migration_notes: [] +- id: benchmark:courtier2019-ionmonger + section: benchmarks + original_key: courtier2019-ionmonger + original_record_sha256: 1571b026363195874e710d6a99be99930496d37ca0aad274bd541c7ef24f5785 + legacy_status: pass + legacy_claim_level: calibrated_reproduction + legacy_evidence_tier: calibration_only + legacy_semantic_sha256: null + configurations: + - config:tests/fixtures/configs/ionmonger_courtier2019_repro.yaml + test_files: + - tests/validation/test_paper_configurations.py + test_nodes: + - tests/validation/test_paper_configurations.py::test_ionmonger_repro_matches_paper_metrics + executor: null + executor_version: null + migration_status: legacy_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: null + migration_notes: [] +- id: benchmark:ionmonger-physical-regression + section: benchmarks + original_key: ionmonger-physical-regression + original_record_sha256: 49462a3e9f7e4ccc21ef263fadf3a40ee1d4370c31d2adc4f41c9e6696975caa + legacy_status: pass + legacy_claim_level: paper-informed-physical-regression + legacy_evidence_tier: null + legacy_semantic_sha256: null + configurations: + - config:tests/fixtures/configs/ionmonger_benchmark.yaml + - config:tests/fixtures/configs/ionmonger_benchmark_tmm.yaml + test_files: + - tests/validation/test_paper_configurations.py + test_nodes: + - tests/validation/test_paper_configurations.py::test_ionmonger_voc_in_band_offset_range + - tests/validation/test_paper_configurations.py::test_ionmonger_jsc_matches_paper + - tests/validation/test_paper_configurations.py::test_ionmonger_ff_in_paper_range + - tests/validation/test_paper_configurations.py::test_ionmonger_paper_comparison_quantifies_known_voc_offset + - tests/validation/test_paper_configurations.py::test_ionmonger_legacy_full_voc_agree_within_tolerance + - tests/validation/test_paper_configurations.py::test_ionmonger_jsc_near_beer_lambert_limit + - tests/validation/test_paper_configurations.py::test_ionmonger_tmm_bounded_shift_from_bl + - tests/validation/test_paper_configurations.py::test_ionmonger_tmm_jsc_physically_bounded + executor: null + executor_version: null + migration_status: legacy_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: null + migration_notes: [] +- id: benchmark:calado2016-driftfusion + section: benchmarks + original_key: calado2016-driftfusion + original_record_sha256: 399912451de40fd2eeef6975696c43499a35da67f97a36107aeac812d8080ee1 + legacy_status: pass + legacy_claim_level: calibrated_reproduction + legacy_evidence_tier: calibration_only + legacy_semantic_sha256: null + configurations: + - config:tests/fixtures/configs/driftfusion_calado2016_repro.yaml + test_files: + - tests/validation/test_paper_configurations.py + test_nodes: + - tests/validation/test_paper_configurations.py::test_driftfusion_repro_matches_paper_metrics + executor: null + executor_version: null + migration_status: legacy_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: null + migration_notes: [] +- id: benchmark:driftfusion-physical-regression + section: benchmarks + original_key: driftfusion-physical-regression + original_record_sha256: 24c1cfbba0cd1de9dc4e4219917af0a2d38f9b1f5e6081aa23c087c68128f931 + legacy_status: pass + legacy_claim_level: paper-informed-physical-regression + legacy_evidence_tier: null + legacy_semantic_sha256: null + configurations: + - config:tests/fixtures/configs/driftfusion_benchmark.yaml + test_files: + - tests/validation/test_paper_configurations.py + test_nodes: + - tests/validation/test_paper_configurations.py::test_driftfusion_voc_in_expected_range + - tests/validation/test_paper_configurations.py::test_driftfusion_paper_comparison_quantifies_low_voc_offset + - tests/validation/test_paper_configurations.py::test_driftfusion_jsc_matches_beer_lambert + - tests/validation/test_paper_configurations.py::test_driftfusion_ff_in_expected_range + - tests/validation/test_paper_configurations.py::test_driftfusion_illumination_slope_physical + - tests/validation/test_paper_configurations.py::test_driftfusion_hysteresis_increases_with_scan_rate + executor: null + executor_version: null + migration_status: legacy_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: null + migration_notes: [] +- id: benchmark:lin2019-tandem + section: benchmarks + original_key: lin2019-tandem + original_record_sha256: f68d5db104c4e97a9737bd3445b2766255588295b7f4541581136c6b045bcb99 + legacy_status: partial + legacy_claim_level: partial_external_comparison + legacy_evidence_tier: null + legacy_semantic_sha256: null + configurations: + - config:tests/fixtures/configs/nip_SnPb_1p22.yaml + - config:tests/fixtures/configs/nip_wideGap_FACs_1p77.yaml + - config:tests/fixtures/configs/tandem_lin2019.yaml + test_files: + - tests/integration/test_tandem_lin2019.py + test_nodes: + - tests/integration/test_tandem_lin2019.py::test_lin2019_absorber_thicknesses_follow_paper + - tests/integration/test_tandem_lin2019.py::test_lin2019_source_stack_and_reported_thicknesses + - tests/integration/test_tandem_lin2019.py::test_lin2019_cu_optics_cover_protocol_from_native_source + - tests/integration/test_tandem_lin2019.py::test_lin2019_voc_and_ff_within_tolerance + - tests/integration/test_tandem_lin2019.py::test_lin2019_pce_within_tolerance + - tests/integration/test_tandem_lin2019.py::test_lin2019_jsc_within_tolerance + - tests/integration/test_tandem_lin2019.py::test_lin2019_subcells_respect_their_photon_budgets + - tests/integration/test_tandem_lin2019.py::test_lin2019_subcell_currents_match_within_two_percent + - tests/integration/test_tandem_lin2019.py::test_lin2019_observations_match_reproducibility_registry + executor: null + executor_version: null + migration_status: legacy_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: null + migration_notes: [] +- id: benchmark:ionmonger-mesh + section: benchmarks + original_key: ionmonger-mesh + original_record_sha256: ef658208e981347a8b2b93c332c4882110aca774a8dfcf8fbc21b03d0114e336 + legacy_status: partial + legacy_claim_level: finite-time-protocol-grid-convergence + legacy_evidence_tier: null + legacy_semantic_sha256: null + configurations: + - config:tests/fixtures/configs/ionmonger_benchmark.yaml + test_files: + - tests/regression/test_mesh_convergence.py + test_nodes: + - tests/regression/test_mesh_convergence.py::test_guard_interface_formulation_is_pinned + - tests/regression/test_mesh_convergence.py::test_guard_interface_cells_actually_refine + - tests/regression/test_mesh_convergence.py::test_guard_no_silent_dark_fallback + - tests/regression/test_mesh_convergence.py::test_guard_voc_is_bracketed + - tests/regression/test_mesh_convergence.py::test_guard_no_flat_band_spike_at_any_mesh_level + - tests/regression/test_mesh_convergence.py::test_short_circuit_current_converges + - tests/regression/test_mesh_convergence.py::test_power_quadrant_current_converges + - tests/regression/test_mesh_convergence.py::test_interface_recombination_current_converges + - tests/regression/test_mesh_convergence.py::test_voc_converges + - tests/regression/test_mesh_convergence.py::test_jsc_converges + - tests/regression/test_mesh_convergence.py::test_ff_converges + - tests/regression/test_mesh_convergence.py::test_generation_integral_converges + - tests/regression/test_mesh_convergence.py::test_generation_integral_respects_photon_flux_ceiling + executor: null + executor_version: null + migration_status: legacy_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: null + migration_notes: [] +- id: benchmark:ionmonger-residual-ss-mesh + section: benchmarks + original_key: ionmonger-residual-ss-mesh + original_record_sha256: b6d5422a02d0bf4e8876e2719bf7b2bb07d7a895ad30b2de309affbaed3d677f + legacy_status: pass + legacy_claim_level: residual-certified-short-circuit-current-grid-convergence + legacy_evidence_tier: null + legacy_semantic_sha256: null + configurations: + - config:tests/fixtures/configs/ionmonger_benchmark.yaml + test_files: + - tests/regression/test_p1_steady_state_mesh_convergence.py + test_nodes: + - tests/regression/test_p1_steady_state_mesh_convergence.py::test_actual_interval_ladder_and_residual_certificates + - tests/regression/test_p1_steady_state_mesh_convergence.py::test_certified_short_circuit_current_contracts + - tests/regression/test_p1_steady_state_mesh_convergence.py::test_prolonged_fine_grid_current_changes_contract + - tests/regression/test_p1_steady_state_mesh_convergence.py::test_observations_match_reproducibility_registry + executor: null + executor_version: null + migration_status: legacy_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: null + migration_notes: [] +- id: benchmark:tmm-jsc-regression + section: benchmarks + original_key: tmm-jsc-regression + original_record_sha256: 5717110052d1f721dabe39c0b200ed22a4f1d31814ea952abbf064fc3b812986 + legacy_status: pass + legacy_claim_level: pinned-regression + legacy_evidence_tier: null + legacy_semantic_sha256: null + configurations: + - config:tests/fixtures/configs/nip_MAPbI3_tmm.yaml + - config:tests/fixtures/configs/pin_MAPbI3_tmm.yaml + test_files: + - tests/regression/test_tmm_baseline.py + test_nodes: + - tests/regression/test_tmm_baseline.py::test_nip_tmm_baseline_jsc + - tests/regression/test_tmm_baseline.py::test_pin_tmm_baseline_jsc + executor: null + executor_version: null + migration_status: legacy_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: null + migration_notes: [] +- id: benchmark:twod-uniform-parity + section: benchmarks + original_key: twod-uniform-parity + original_record_sha256: 5521c97ff9cbf552091f1000d4852fc54ba232dff41e3274f0369e4b4db04f04 + legacy_status: pass + legacy_claim_level: dimensional-parity + legacy_evidence_tier: null + legacy_semantic_sha256: null + configurations: + - config:tests/fixtures/configs/twod/nip_MAPbI3_uniform.yaml + test_files: + - tests/regression/test_twod_validation.py + test_nodes: + - tests/regression/test_twod_validation.py::test_twod_uniform_matches_1d_within_tolerance + executor: null + executor_version: null + migration_status: legacy_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: null + migration_notes: [] +- id: benchmark:twod-combined-mobile-interface-internal-closure + section: benchmarks + original_key: twod-combined-mobile-interface-internal-closure + original_record_sha256: e01f80d954eb5432d02228006e4855004014cf653d7d0c8362a8682c693fd029 + legacy_status: pass + legacy_claim_level: internal-numerical-candidate + legacy_evidence_tier: null + legacy_semantic_sha256: null + configurations: + - config:tests/fixtures/configs/twod/combined_mobile_interface_research.yaml + test_files: + - tests/integration/test_twod_combined_refinement.py + - tests/unit/validation/test_twod_combined_refinement.py + test_nodes: + - tests/integration/test_twod_combined_refinement.py::test_real_registered_combined_twod_cell_returns_all_certificate_axes + - tests/unit/validation/test_twod_combined_refinement.py::test_combined_twod_executor_matches_registry_and_explicit_protocol + - tests/unit/validation/test_twod_combined_refinement.py::test_combined_twod_executor_fails_closed_on_missing_point_evidence + - tests/unit/validation/test_twod_combined_refinement.py::test_combined_twod_executor_rejects_malformed_clamp_evidence + executor: null + executor_version: null + migration_status: legacy_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: null + migration_notes: [] +- id: benchmark:external-series-shunt-dc-internal-closure + section: benchmarks + original_key: external-series-shunt-dc-internal-closure + original_record_sha256: 2fe5bc1b25491963cd9e576a06a04dd98f5edccfab754283d2bf74dfc38973b9 + legacy_status: pass + legacy_claim_level: internal-numerical-candidate + legacy_evidence_tier: null + legacy_semantic_sha256: null + configurations: + - config:tests/fixtures/configs/nip_MAPbI3.yaml + test_files: + - tests/integration/test_external_circuit_refinement.py + - tests/unit/validation/test_external_circuit_refinement.py + test_nodes: + - tests/integration/test_external_circuit_refinement.py::test_real_registered_external_circuit_cell_returns_all_certificate_axes + - tests/integration/test_external_circuit_refinement.py::test_real_resolved_external_circuit_cell_covers_operating_quadrant + - tests/unit/validation/test_external_circuit_refinement.py::test_executor_matches_registry_and_binds_explicit_protocol + - tests/unit/validation/test_external_circuit_refinement.py::test_study_protocol_is_identical_across_matrix_cells + - tests/unit/validation/test_external_circuit_refinement.py::test_resolved_executor_samples_fixed_terminal_power_quadrant + - tests/unit/validation/test_external_circuit_refinement.py::test_executor_fails_closed_on_source_protocol_mismatch + executor: null + executor_version: null + migration_status: legacy_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: null + migration_notes: [] +- id: benchmark:twod-radiative-reabsorption + section: benchmarks + original_key: twod-radiative-reabsorption + original_record_sha256: f01ccc3157f0d2dcd213b2eb4697b1eaf9e4e2c178dee5cc34fc1fb7af34a94b + legacy_status: pass + legacy_claim_level: qualitative-trend + legacy_evidence_tier: null + legacy_semantic_sha256: null + configurations: + - config:tests/fixtures/configs/radiative_limit.yaml + test_files: + - tests/regression/test_twod_validation.py + test_nodes: + - tests/regression/test_twod_validation.py::test_twod_radiative_reabsorption_voc_boost_in_literature_window + executor: null + executor_version: null + migration_status: legacy_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: null + migration_notes: [] +- id: benchmark:scaps-cbo-trend + section: benchmarks + original_key: scaps-cbo-trend + original_record_sha256: bd94751ed3e57f6265e83fc3ecd0e2a2fdf2c5ae6edf02110f508ae59022ffa4 + legacy_status: pass + legacy_claim_level: qualitative-trend + legacy_evidence_tier: null + legacy_semantic_sha256: null + configurations: + - config:tests/fixtures/configs/scaps_mirror.yaml + test_files: + - tests/integration/test_scaps_mirror_cbo_trend.py + test_nodes: + - tests/integration/test_scaps_mirror_cbo_trend.py::test_cbo_voc_drops_at_cliff + - tests/integration/test_scaps_mirror_cbo_trend.py::test_cbo_voc_range_at_least_200mV + - tests/integration/test_scaps_mirror_cbo_trend.py::test_cbo_voc_holds_at_spike + executor: null + executor_version: null + migration_status: legacy_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: null + migration_notes: [] +- id: benchmark:cigs-internal-validation + section: benchmarks + original_key: cigs-internal-validation + original_record_sha256: 315a787d29423f2ef648424d8e64c1c08cdd596baadff8d43245b920bc931229 + legacy_status: pass + legacy_claim_level: numerical-grid-and-qualitative-grading + legacy_evidence_tier: null + legacy_semantic_sha256: null + configurations: + - config:tests/fixtures/configs/cigs_baseline.yaml + - config:tests/fixtures/configs/cigs_graded_notch.yaml + test_files: + - tests/regression/test_grading_cigs_notch.py + test_nodes: + - tests/regression/test_grading_cigs_notch.py::test_dynamic_cigs_grading_matches_the_shipped_config + - tests/regression/test_grading_cigs_notch.py::test_cigs_n_left_voltage_conventions_are_explicit + - tests/regression/test_grading_cigs_notch.py::test_cigs_ungraded_thickness_continuation_certifies + - tests/regression/test_grading_cigs_notch.py::test_cigs_back_grading_raises_voc_without_jsc_collapse + - tests/regression/test_grading_cigs_notch.py::test_cigs_back_grading_certifies_at_production_grid + - tests/regression/test_grading_cigs_notch.py::test_cigs_ungraded_production_grid_ladder_is_physical + - tests/regression/test_grading_cigs_notch.py::test_cigs_ungraded_production_grid_metrics_converge + - tests/regression/test_grading_cigs_notch.py::test_cigs_observations_match_reproducibility_registry + executor: null + executor_version: null + migration_status: legacy_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: null + migration_notes: [] +- id: benchmark:cigs-graded-optics-internal-closure + section: benchmarks + original_key: cigs-graded-optics-internal-closure + original_record_sha256: 23509e064c75fdc88ca8cae84ebdd613ae3cc2b22036132be64a3ee82538bf2c + legacy_status: pass + legacy_claim_level: internal-numerical-candidate + legacy_evidence_tier: null + legacy_semantic_sha256: null + configurations: + - config:tests/fixtures/configs/cigs_graded_optics.yaml + test_files: + - tests/integration/test_cigs_graded_optics.py + - tests/unit/validation/test_cigs_optics_refinement.py + test_nodes: + - tests/integration/test_cigs_graded_optics.py::test_shipped_research_config_builds_finite_photon_bounded_generation + - tests/integration/test_cigs_graded_optics.py::test_uniform_composition_slice_limit_matches_one_homogeneous_layer + - tests/integration/test_cigs_graded_optics.py::test_minoura_high_energy_absorption_agrees_with_independent_carron_model + - tests/unit/validation/test_cigs_optics_refinement.py::test_registered_executor_real_cell_matches_exact_contract + executor: null + executor_version: null + migration_status: legacy_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: null + migration_notes: [] +- id: benchmark:csi-grid-envelope-gap + section: benchmarks + original_key: csi-grid-envelope-gap + original_record_sha256: 3fbacc966ae15ec3cf097e469b371d624c29f0618286f816c9e4df319b6023af + legacy_status: closed + legacy_claim_level: grid-envelope-characterization + legacy_evidence_tier: null + legacy_semantic_sha256: null + configurations: + - config:tests/fixtures/configs/cSi_homojunction.yaml + test_files: + - tests/regression/test_csi_grid_envelope.py + - tests/integration/backend/test_user_configs_api.py + test_nodes: + - tests/regression/test_csi_grid_envelope.py::test_default_jv_grid_is_outside_csi_declared_envelope + - tests/regression/test_csi_grid_envelope.py::test_underresolved_transient_and_ss_jv_fail_before_integration + - tests/regression/test_csi_grid_envelope.py::test_underresolved_overrides_are_explicit_and_reach_both_drivers + - tests/regression/test_csi_grid_envelope.py::test_declared_csi_minimum_meets_debye_guard_and_has_finite_seed + - tests/regression/test_csi_grid_envelope.py::test_thin_film_smoke_mesh_is_not_misrepresented_as_globally_certified + - tests/integration/backend/test_user_configs_api.py::test_csi_underresolved_grid_returns_actionable_client_error + executor: null + executor_version: null + migration_status: legacy_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: null + migration_notes: [] +- id: benchmark:csi-jv-driver-capability-boundary + section: benchmarks + original_key: csi-jv-driver-capability-boundary + original_record_sha256: edfcc2727d0eb12a55c3884644f03bc4bf0d66f60a8c45a3054cd4c4271302ca + legacy_status: pass + legacy_claim_level: explicit-production-driver-capability-boundary + legacy_evidence_tier: null + legacy_semantic_sha256: null + configurations: + - config:tests/fixtures/configs/cSi_homojunction.yaml + test_files: + - tests/unit/experiments/test_jv_driver_capability.py + - tests/unit/backend/test_solver_dispatch.py + - tests/regression/test_csi_generic_state_cancellation.py + test_nodes: + - tests/unit/experiments/test_jv_driver_capability.py::test_shipped_csi_config_enforces_grid_then_qf_driver_capability + - tests/unit/experiments/test_jv_driver_capability.py::test_qf_required_policy_rejects_general_drivers_before_solve + - tests/unit/experiments/test_jv_driver_capability.py::test_unvalidated_driver_override_is_explicit_and_diagnostic_only + - tests/unit/backend/test_solver_dispatch.py::test_stack_from_dict_plumbs_jv_solver_policy + - tests/unit/backend/test_solver_dispatch.py::test_dispatch_quasi_fermi_returns_certificate_bearing_jvresult + - tests/unit/backend/test_solver_dispatch.py::test_dispatch_quasi_fermi_rejects_dark_jv + - tests/unit/backend/test_solver_dispatch.py::test_jv_api_returns_422_for_policy_rejected_driver + - tests/regression/test_csi_generic_state_cancellation.py::test_certified_qf_state_exposes_density_sg_cancellation_boundary + executor: null + executor_version: null + migration_status: legacy_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: null + migration_notes: [] +- id: benchmark:csi-qf-internal-validation + section: benchmarks + original_key: csi-qf-internal-validation + original_record_sha256: 06d7c63b03aa1528d93fefd5c5ab6c70107b7e99f9ad2d8a3d440fe14b4c38ab + legacy_status: pass + legacy_claim_level: residual-certified-qf-terminal-jv-grid-convergence + legacy_evidence_tier: null + legacy_semantic_sha256: null + configurations: + - config:tests/fixtures/configs/cSi_homojunction.yaml + test_files: + - tests/regression/test_csi_quasi_fermi_convergence.py + test_nodes: + - tests/regression/test_csi_quasi_fermi_convergence.py::test_csi_config_and_registered_voltage_protocol + - tests/regression/test_csi_quasi_fermi_convergence.py::test_every_csi_jv_point_has_independent_physics_certificate + - tests/regression/test_csi_quasi_fermi_convergence.py::test_csi_jv_curves_are_physical_and_bracket_open_circuit + - tests/regression/test_csi_quasi_fermi_convergence.py::test_csi_voltage_sampling_resolves_maximum_power + - tests/regression/test_csi_quasi_fermi_convergence.py::test_csi_full_jv_curve_and_metrics_converge + - tests/regression/test_csi_quasi_fermi_convergence.py::test_csi_jv_observations_match_reproducibility_registry + executor: null + executor_version: null + migration_status: legacy_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: null + migration_notes: [] +- id: benchmark:csi-qf-frequency-domain-cv + section: benchmarks + original_key: csi-qf-frequency-domain-cv + original_record_sha256: 0d1ec4cb170f70ecf4daddb7d258c028b91cf0ab4007fc84b7f627fca0b2fd5b + legacy_status: pass + legacy_claim_level: residual-certified-qf-small-signal-cv-and-charge-identity + legacy_evidence_tier: internal-numerical-plus-published-interpretation + legacy_semantic_sha256: null + configurations: + - config:tests/fixtures/configs/cSi_homojunction.yaml + test_files: + - tests/regression/test_csi_frequency_domain_impedance.py + test_nodes: + - tests/regression/test_csi_frequency_domain_impedance.py::test_csi_frequency_domain_recovers_depletion_not_geometric_capacitance + - tests/regression/test_csi_frequency_domain_impedance.py::test_csi_frequency_domain_has_capacitance_plateau_and_current_certificate + - tests/regression/test_csi_frequency_domain_impedance.py::test_csi_frequency_domain_matches_independent_dc_carrier_inventory + - tests/regression/test_csi_frequency_domain_impedance.py::test_csi_frequency_domain_is_stable_to_steps_and_nominal_amplitude + - tests/regression/test_csi_frequency_domain_impedance.py::test_csi_depletion_cv_curve_converges_on_registered_grid_ladder + - tests/regression/test_csi_frequency_domain_impedance.py::test_csi_apparent_intercept_shift_matches_published_pn_range + - tests/regression/test_csi_frequency_domain_impedance.py::test_csi_depletion_cv_has_frequency_and_all_face_plateaus + - tests/regression/test_csi_frequency_domain_impedance.py::test_csi_frequency_domain_observations_match_registry + executor: null + executor_version: null + migration_status: legacy_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: null + migration_notes: [] +- id: benchmark:vannijen2025-csi-pn-cv + section: benchmarks + original_key: vannijen2025-csi-pn-cv + original_record_sha256: 0f66ac6d0cfff305f3337997d6cd731ecbf077770ee8f6542a7e89f30f920d3b + legacy_status: partial + legacy_claim_level: partial_external_comparison + legacy_evidence_tier: independent-numerical-source-with-geometry-mismatch + legacy_semantic_sha256: null + configurations: + - config:tests/fixtures/configs/csi_vannijen2025_pn_cv.yaml + test_files: + - tests/validation/test_csi_vannijen2025_cv.py + test_nodes: + - tests/validation/test_csi_vannijen2025_cv.py::test_vannijen_source_rows_reproduce_frozen_author_extraction + - tests/validation/test_csi_vannijen2025_cv.py::test_vannijen_config_maps_published_profile_without_curve_calibration + - tests/validation/test_csi_vannijen2025_cv.py::test_vannijen_local_cv_is_residual_certified_and_grid_converged + - tests/validation/test_csi_vannijen2025_cv.py::test_vannijen_cv_records_partial_agreement_not_pointwise_parity + - tests/validation/test_csi_vannijen2025_cv.py::test_vannijen_observations_match_reproducibility_registry + executor: null + executor_version: null + migration_status: legacy_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: null + migration_notes: [] +- id: benchmark:scaps-low-doping-etl-boundary + section: benchmarks + original_key: scaps-low-doping-etl-boundary + original_record_sha256: fb9f0539afb9c1ce08798f6f4ec733f8610494e7bdd4a78a3d3be26d676ea4a9 + legacy_status: pass + legacy_claim_level: calibrated-boundary-condition-regression + legacy_evidence_tier: null + legacy_semantic_sha256: null + configurations: + - config:configs/scaps_mirror_v2.yaml + test_files: + - tests/unit/experiments/test_steady_state.py + test_nodes: + - tests/unit/experiments/test_steady_state.py::test_low_doping_etl_metal_reservoir_brackets_physical_voc + - tests/unit/experiments/test_steady_state.py::test_low_doping_etl_without_metal_reservoir_is_explicit_no_crossing + executor: null + executor_version: null + migration_status: legacy_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: null + migration_notes: [] +- id: benchmark:degenerate-pn-internal-closure + section: benchmarks + original_key: degenerate-pn-internal-closure + original_record_sha256: 9b93a96a406737531341746af9573f778a2ab7e5eba8f26bf19cdb318a7f8cf1 + legacy_status: pass + legacy_claim_level: internal-numerical-candidate + legacy_evidence_tier: null + legacy_semantic_sha256: null + configurations: + - config:tests/fixtures/configs/csi_degenerate_pn_research.yaml + test_files: + - tests/unit/physics/test_degenerate_transport.py + - tests/unit/solver/test_degenerate_equilibrium.py + - tests/unit/validation/test_degenerate_refinement.py + test_nodes: + - tests/unit/physics/test_degenerate_transport.py::test_fd_flux_vanishes_for_constant_quasi_fermi_potentials + - tests/unit/solver/test_degenerate_equilibrium.py::test_high_doping_fd_pn_equilibrium_closes_across_grid_and_tolerance + - tests/unit/validation/test_degenerate_refinement.py::test_registered_executor_real_cell_matches_exact_contract + executor: null + executor_version: null + migration_status: legacy_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: null + migration_notes: [] +- id: benchmark:incomplete-ionization-internal-closure + section: benchmarks + original_key: incomplete-ionization-internal-closure + original_record_sha256: 1034c8967115b5ea72b333b6fabfbb843604f9441dce52460461d07c3076e998 + legacy_status: pass + legacy_claim_level: internal-numerical-candidate + legacy_evidence_tier: null + legacy_semantic_sha256: null + configurations: + - config:tests/fixtures/configs/csi_incomplete_ionization_pn_research.yaml + test_files: + - tests/unit/physics/test_statistics.py + - tests/unit/physics/test_contact_statistics.py + - tests/unit/solver/test_degenerate_equilibrium.py + - tests/unit/validation/test_incomplete_ionization_refinement.py + test_nodes: + - tests/unit/physics/test_statistics.py::test_discrete_donor_neutrality_closes_and_resolves_freeze_out + - tests/unit/physics/test_contact_statistics.py::test_discrete_donor_contact_state_resolves_temperature_freeze_out + - tests/unit/solver/test_degenerate_equilibrium.py::test_incomplete_ionization_poisson_derivative_matches_finite_difference + - tests/unit/solver/test_degenerate_equilibrium.py::test_incomplete_ionization_equilibrium_closes_across_temperature + - tests/unit/validation/test_incomplete_ionization_refinement.py::test_registered_executor_real_temperature_cell_matches_contract + executor: null + executor_version: null + migration_status: legacy_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: null + migration_notes: [] +- id: benchmark:incomplete-ionization-bgn-internal-closure + section: benchmarks + original_key: incomplete-ionization-bgn-internal-closure + original_record_sha256: 71532e888e71d9feecdb5f38ad965d08b4ddc76499a8a9565168cf46082ded32 + legacy_status: pass + legacy_claim_level: internal-numerical-candidate + legacy_evidence_tier: null + legacy_semantic_sha256: null + configurations: + - config:tests/fixtures/configs/csi_incomplete_ionization_bgn_pn_research.yaml + test_files: + - tests/unit/physics/test_band_gap_narrowing.py + - tests/unit/physics/test_contact_statistics.py + - tests/unit/solver/test_degenerate_equilibrium.py + - tests/unit/validation/test_bgn_refinement.py + test_nodes: + - tests/unit/physics/test_band_gap_narrowing.py::test_slotboom_is_monotone_and_stable_below_ratio_underflow + - tests/unit/physics/test_contact_statistics.py::test_slotboom_contact_state_uses_narrowed_band_edges + - tests/unit/solver/test_degenerate_equilibrium.py::test_research_material_composes_bgn_with_incomplete_ionization + - tests/unit/solver/test_degenerate_equilibrium.py::test_incomplete_ionization_and_bgn_equilibrium_close_together + - tests/unit/validation/test_bgn_refinement.py::test_registered_executor_real_temperature_cell_matches_contract + executor: null + executor_version: null + migration_status: legacy_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: null + migration_notes: [] +- id: benchmark:bulk-trap-energy-distribution-internal-closure + section: benchmarks + original_key: bulk-trap-energy-distribution-internal-closure + original_record_sha256: 6848a9bb8bf6548d598de5bc54f8be8825fc83d5038788a1d79b3c5c32ef7846 + legacy_status: pass + legacy_claim_level: internal-numerical-candidate + legacy_evidence_tier: null + legacy_semantic_sha256: null + configurations: + - config:tests/fixtures/configs/csi_gaussian_bulk_trap_pn_research.yaml + test_files: + - tests/unit/physics/test_bulk_traps.py + - tests/unit/models/test_bulk_trap_schema.py + - tests/unit/solver/test_bulk_trap_equilibrium.py + - tests/unit/validation/test_bulk_trap_refinement.py + test_nodes: + - tests/unit/physics/test_bulk_traps.py::test_gaussian_delta_limit_recovers_the_single_level_model + - tests/unit/physics/test_bulk_traps.py::test_recombination_and_charge_tangents_match_centered_differences + - tests/unit/models/test_bulk_trap_schema.py::test_default_material_and_mol_paths_fail_closed + - tests/unit/solver/test_bulk_trap_equilibrium.py::test_real_equilibrium_closes_poisson_transport_traps_and_gauss_law + - tests/unit/validation/test_bulk_trap_refinement.py::test_registered_executor_real_cell_matches_exact_contract + executor: null + executor_version: null + migration_status: legacy_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: null + migration_notes: [] +- id: benchmark:dynamic-defect-ion-impedance-production-closure + section: benchmarks + original_key: dynamic-defect-ion-impedance-production-closure + original_record_sha256: 22a3f05b17cb01a0166c09bee98e2a323b7496503ed8d41e728077cf98982539 + legacy_status: pass + legacy_claim_level: internal-numerical-candidate + legacy_evidence_tier: null + legacy_semantic_sha256: null + configurations: + - config:tests/fixtures/configs/dynamic_defect_ion_impedance.yaml + test_files: + - tests/unit/experiments/test_dynamic_defect_impedance.py + - tests/integration/test_dynamic_defect_impedance.py + - tests/integration/test_dynamic_defect_impedance_api.py + test_nodes: + - tests/unit/experiments/test_dynamic_defect_impedance.py::test_capability_classifier_routes_every_certified_combination + - tests/unit/experiments/test_dynamic_defect_impedance.py::test_effective_lifetime_only_stack_has_no_dynamic_defect_capability + - tests/integration/test_dynamic_defect_impedance.py::test_public_bulk_dynamic_defect_impedance_is_protocol_bound_and_certified + - tests/integration/test_dynamic_defect_impedance.py::test_public_interface_dynamic_defect_impedance_uses_two_sided_faces + - tests/integration/test_dynamic_defect_impedance.py::test_public_triple_coupled_defect_ion_impedance_is_certified + - tests/integration/test_dynamic_defect_impedance.py::test_registered_production_executor_emits_exact_metrics_and_protocol + - tests/integration/test_dynamic_defect_impedance_api.py::test_real_dynamic_defect_impedance_api_serializes_protocol_and_evidence + executor: null + executor_version: null + migration_status: legacy_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: null + migration_notes: [] +- id: benchmark:dynamic-defect-ion-transient-timescale-closure + section: benchmarks + original_key: dynamic-defect-ion-transient-timescale-closure + original_record_sha256: 3331988902897bc84db1830a147ccd32bffee9e49ed545bba0d3051a94ef2b49 + legacy_status: pass + legacy_claim_level: internal-numerical-candidate + legacy_evidence_tier: null + legacy_semantic_sha256: null + configurations: + - config:tests/fixtures/configs/dynamic_interface_defect_ion_transient.yaml + - config:tests/fixtures/configs/dynamic_interface_defect_ion_transient_absorber_only.yaml + test_files: + - tests/unit/physics/test_dynamic_storage.py + - tests/unit/validation/test_dynamic_defect_transient_refinement.py + - tests/integration/test_interface_defect_ion_transient.py + test_nodes: + - tests/unit/physics/test_dynamic_storage.py::test_log_density_increment_resolves_sub_ulp_relative_motion + - tests/unit/validation/test_dynamic_defect_transient_refinement.py::test_registered_lane_freezes_three_by_three_timescale_contract + - tests/unit/validation/test_dynamic_defect_transient_refinement.py::test_reference_resolved_v5_changes_only_reference_and_stiffness_contract + - tests/integration/test_interface_defect_ion_transient.py::test_deep_time_refinement_retains_charge_and_all_face_current_closure + executor: null + executor_version: null + migration_status: legacy_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: null + migration_notes: [] +- id: benchmark:dynamic-defect-ion-transient-production-closure + section: benchmarks + original_key: dynamic-defect-ion-transient-production-closure + original_record_sha256: 1bd1da42cba99535624f5af30f9fb7b133b18051c6d2e1e812c378a791e43d29 + legacy_status: pass + legacy_claim_level: internal-numerical-candidate + legacy_evidence_tier: null + legacy_semantic_sha256: null + configurations: + - config:tests/fixtures/configs/dynamic_interface_defect_ion_transient_absorber_only.yaml + test_files: + - tests/unit/experiments/test_dynamic_defect_transient.py + - tests/integration/test_dynamic_defect_transient.py + - tests/unit/backend/test_dynamic_defect_transient_api.py + - tests/integration/test_dynamic_defect_transient_api.py + - tests/unit/validation/test_dynamic_defect_transient_refinement.py + test_nodes: + - tests/unit/experiments/test_dynamic_defect_transient.py::test_protocol_round_trip_is_strict_canonical_and_content_addressed + - tests/integration/test_dynamic_defect_transient.py::test_public_dynamic_defect_transient_is_protocol_bound_and_certified + - tests/unit/backend/test_dynamic_defect_transient_api.py::test_job_rejects_invalid_contract_before_submit + - tests/integration/test_dynamic_defect_transient_api.py::test_real_dynamic_defect_transient_api_serializes_protocol_and_evidence + - tests/unit/validation/test_dynamic_defect_transient_refinement.py::test_production_v1_adds_only_public_wrapper_identity_gates + - tests/unit/validation/test_dynamic_defect_transient_refinement.py::test_production_executor_cell_runs_public_protocol_and_projection + executor: null + executor_version: null + migration_status: legacy_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: null + migration_notes: [] +- id: benchmark:wkb-tunnelling-channel-internal-closure + section: benchmarks + original_key: wkb-tunnelling-channel-internal-closure + original_record_sha256: d2b5970b4274c9571090e87d382c44252b9ecdefaa6791b66a0308b1628ca9d3 + legacy_status: partial + legacy_claim_level: internal-numerical-candidate + legacy_evidence_tier: null + legacy_semantic_sha256: null + configurations: + - config:tests/fixtures/configs/wkb_tunnelling_intraband_spike.yaml + test_files: + - tests/unit/physics/test_wkb_tunneling.py + - tests/unit/physics/test_wkb_local_windows.py + - tests/unit/physics/test_tunneling_channels.py + - tests/integration/test_tunnelling_channels_device.py + - tests/unit/validation/test_tunnelling_channel_refinement.py + test_nodes: + - tests/unit/physics/test_wkb_tunneling.py::test_equal_occupations_give_an_exactly_zero_net_flux + - tests/unit/physics/test_wkb_local_windows.py::test_two_band_action_matches_the_closed_form_zener_exponent + - tests/unit/physics/test_wkb_local_windows.py::test_forbidden_run_isolates_the_barrier_containing_the_face + - tests/unit/physics/test_tunneling_channels.py::test_a_disabled_channel_refuses_rather_than_returning_zero + - tests/integration/test_tunnelling_channels_device.py::test_retracted_fixture_does_not_retain_the_old_large_flux_claim + - tests/integration/test_tunnelling_channels_device.py::test_equilibrium_device_current_is_bounded_without_saturated_occupations + - tests/integration/test_tunnelling_channels_device.py::test_the_channel_is_driven_by_the_local_drop_not_the_contact_split + - tests/unit/validation/test_tunnelling_channel_refinement.py::test_lane_declares_a_three_by_three_matrix_and_an_energy_ladder + - tests/unit/validation/test_tunnelling_channel_refinement.py::test_the_channel_flux_is_an_observable_not_only_the_terminal_current + executor: null + executor_version: null + migration_status: legacy_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: null + migration_notes: [] +- id: benchmark:wkb-resolved-electron-internal-closure + section: benchmarks + original_key: wkb-resolved-electron-internal-closure + original_record_sha256: 2c581a47ca5222d98b4984619d29562deb04af4b81ff2b3174018702d71a4329 + legacy_status: pass + legacy_claim_level: internal-numerical-candidate + legacy_evidence_tier: null + legacy_semantic_sha256: null + configurations: + - config:tests/fixtures/configs/wkb_resolved_electron_barrier.yaml + test_files: + - tests/unit/physics/test_tunnelling_physical_levels.py + - tests/unit/physics/test_wkb_turning_point_action.py + - tests/unit/physics/test_intraband_nonlocal_transfer.py + - tests/unit/validation/test_resolved_tunnelling_refinement.py + test_nodes: + - tests/unit/physics/test_tunnelling_physical_levels.py::test_device_supplies_physical_levels_with_dos_contrast + - tests/unit/physics/test_wkb_turning_point_action.py::test_single_forbidden_node_is_a_finite_triangle_not_a_transparent_path + - tests/unit/physics/test_intraband_nonlocal_transfer.py::test_transfer_conserves_particles_and_dissipates_the_chemical_drive + - tests/unit/physics/test_intraband_nonlocal_transfer.py::test_equal_nonsaturated_occupations_give_exactly_zero_transfer + - tests/unit/validation/test_resolved_tunnelling_refinement.py::test_real_resolved_cell_has_a_conservative_observable_electron_channel + executor: null + executor_version: null + migration_status: legacy_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: null + migration_notes: [] +- id: benchmark:foundation-physical-homojunction-reference + section: benchmarks + original_key: foundation-physical-homojunction-reference + original_record_sha256: 4ce3120339bd95ca188fce3fb1fed000a1251344b3d4a9fd1fb4c1fdf082c393 + legacy_status: pass + legacy_claim_level: internal-numerical-candidate + legacy_evidence_tier: null + legacy_semantic_sha256: null + configurations: + - config:tests/fixtures/configs/tpv_physical_reference.yaml + test_files: + - tests/unit/validation/test_foundation_reference_refinement.py + - tests/unit/validation/test_foundation_reference_sampling.py + test_nodes: + - tests/unit/validation/test_foundation_reference_refinement.py::test_definition_keeps_physical_scales_and_independent_refinements + - tests/unit/validation/test_foundation_reference_refinement.py::test_equilibrium_preserves_subunit_contact_density_and_mass_action + - tests/unit/validation/test_foundation_reference_refinement.py::test_resolved_reference_keeps_all_original_physical_limits + - tests/unit/validation/test_foundation_reference_refinement.py::test_real_reference_cell_certifies_all_operating_points_and_optical_power + - tests/unit/validation/test_foundation_reference_sampling.py::test_balanced_mesh_preserves_physical_absorber_volume + - tests/unit/validation/test_foundation_reference_sampling.py::test_subdivision_preserves_the_same_nonzero_face_current + executor: null + executor_version: null + migration_status: legacy_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: null + migration_notes: [] +- id: benchmark:foundation-tpv-frozen-ion-reference + section: benchmarks + original_key: foundation-tpv-frozen-ion-reference + original_record_sha256: 60831da912b68ba5d74aaef4ebbc7496d91bac3cbb0fae6c5e4da68e6649650b + legacy_status: pass + legacy_claim_level: internal-numerical-candidate + legacy_evidence_tier: null + legacy_semantic_sha256: null + configurations: + - config:tests/fixtures/configs/tpv_physical_reference.yaml + test_files: + - tests/integration/test_tpv_open_circuit_refinement.py + - tests/integration/test_foundation_tpv_spatial_refinement.py + - tests/integration/test_degradation_snapshot_refinement.py + - tests/unit/experiments/test_degradation_frozen_ions.py + test_nodes: + - tests/integration/test_tpv_open_circuit_refinement.py::test_three_time_levels_preserve_the_same_pulse_and_preparation + - tests/integration/test_tpv_open_circuit_refinement.py::test_three_tolerance_levels_resolve_the_same_waveform + - tests/integration/test_tpv_open_circuit_refinement.py::test_two_amplitude_halvings_recover_the_small_signal_limit + - tests/integration/test_foundation_tpv_spatial_refinement.py::test_three_spatial_levels_resolve_the_same_physical_tpv + - tests/integration/test_degradation_snapshot_refinement.py::test_snapshot_metrics_are_independent_of_preparation_step_size + - tests/integration/test_degradation_snapshot_refinement.py::test_snapshot_voltage_sampling_resolves_voc_jsc_and_ff + - tests/unit/experiments/test_degradation_frozen_ions.py::test_nonuniform_ions_have_zero_frozen_flux_and_never_move + executor: null + executor_version: null + migration_status: legacy_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: null + migration_notes: [] +- id: benchmark:foundation-mobile-ion-reference + section: benchmarks + original_key: foundation-mobile-ion-reference + original_record_sha256: 6aa2a79af6ef979249cf2ae58f24adb1e5dd2b61f99e20acc84c9f418a78a528 + legacy_status: pass + legacy_claim_level: internal-numerical-candidate + legacy_evidence_tier: null + legacy_semantic_sha256: null + configurations: + - config:tests/fixtures/configs/tpv_physical_reference.yaml + test_files: + - tests/unit/validation/test_accepted_trajectory.py + - tests/integration/test_foundation_mobile_refinement.py + test_nodes: + - tests/unit/validation/test_accepted_trajectory.py::test_negative_accepted_density_is_detected_between_positive_output_samples + - tests/unit/validation/test_accepted_trajectory.py::test_capacity_excursion_is_detected_between_admissible_output_samples + - tests/unit/validation/test_accepted_trajectory.py::test_observing_accepted_states_preserves_samples_steps_and_rhs_counts + - tests/integration/test_foundation_mobile_refinement.py::test_space_refinement_preserves_each_ion_inventory_and_profiles + - tests/integration/test_foundation_mobile_refinement.py::test_time_refinement_preserves_the_same_ramp_and_hold + - tests/integration/test_foundation_mobile_refinement.py::test_tolerance_refinement_preserves_mobile_and_electronic_states + executor: null + executor_version: null + migration_status: legacy_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: null + migration_notes: [] +- id: benchmark:foundation-twod-active-transport-reference + section: benchmarks + original_key: foundation-twod-active-transport-reference + original_record_sha256: f479102cd8c38cc9bfe4cee289a5a87b8fd932bc510434d135b1fae148c6b5ed + legacy_status: pass + legacy_claim_level: internal-numerical-candidate + legacy_evidence_tier: null + legacy_semantic_sha256: null + configurations: + - config:tests/fixtures/configs/twod/nip_MAPbI3_singleGB.yaml + test_files: + - tests/unit/validation/test_accepted_trajectory.py + - tests/integration/test_foundation_twod_axis_refinement.py + - tests/integration/test_twod_combined_refinement.py + - tests/integration/twod/test_jv_sweep_2d_microstructure.py + test_nodes: + - tests/unit/validation/test_accepted_trajectory.py::test_observing_accepted_states_preserves_samples_steps_and_rhs_counts + - tests/integration/test_foundation_twod_axis_refinement.py::test_vertical_refinement_approaches_the_same_active_transport_limit + - tests/integration/test_foundation_twod_axis_refinement.py::test_lateral_refinement_preserves_the_uniform_state_and_currents + - tests/integration/test_twod_combined_refinement.py::test_registered_twod_matrix_keeps_every_accepted_state_physical + - tests/integration/twod/test_jv_sweep_2d_microstructure.py::test_jv_sweep_2d_singleGB_runs_to_completion + executor: null + executor_version: null + migration_status: legacy_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: null + migration_notes: [] +- id: benchmark:multivalent-explicit-defect-internal-closure + section: benchmarks + original_key: multivalent-explicit-defect-internal-closure + original_record_sha256: 595c5174359eadc726d2c808cfdc3af8429c6c89ae8f3dae2ea72f3e2f5d3d3f + legacy_status: pass + legacy_claim_level: internal-numerical-candidate + legacy_evidence_tier: null + legacy_semantic_sha256: null + configurations: + - config:tests/fixtures/configs/scaps_defect_m1_double_donor_p.yaml + - config:tests/fixtures/configs/scaps_defect_m2_double_acceptor_n.yaml + - config:tests/fixtures/configs/scaps_defect_m3_amphoteric_i.yaml + test_files: + - tests/unit/models/test_multivalent_defect_schema.py + - tests/unit/models/test_multivalent_defect_loader.py + - tests/unit/physics/test_multivalent_defect_closure.py + - tests/unit/physics/test_multivalent_defect_device.py + - tests/integration/test_multivalent_explicit_defects_qf.py + - tests/unit/validation/test_multivalent_defect_refinement.py + test_nodes: + - tests/unit/models/test_multivalent_defect_schema.py::test_v4_document_roundtrip_hash_and_shared_density_are_stable + - tests/unit/models/test_multivalent_defect_loader.py::test_layer_parser_builds_the_canonical_v4_document + - tests/unit/physics/test_multivalent_defect_closure.py::test_single_transition_unity_limit_recovers_d2_exact_local_closure + - tests/unit/physics/test_multivalent_defect_device.py::test_full_grid_evaluation_matches_the_region_source_closure + - tests/integration/test_multivalent_explicit_defects_qf.py::test_single_transition_v4_device_recovers_the_monovalent_qf_dc_route + - tests/unit/validation/test_multivalent_defect_refinement.py::test_registered_executor_real_cell_matches_exact_contract + executor: null + executor_version: null + migration_status: legacy_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: null + migration_notes: [] +- id: benchmark:charged-explicit-defect-internal-closure + section: benchmarks + original_key: charged-explicit-defect-internal-closure + original_record_sha256: e0d710ffbba24ca4d950061abcdcf0d7da7bfc52dad73a0e36608e8b871aa1b4 + legacy_status: pass + legacy_claim_level: internal-numerical-candidate + legacy_evidence_tier: null + legacy_semantic_sha256: null + configurations: + - config:tests/fixtures/configs/scaps_defect_s0_neutral.yaml + - config:tests/fixtures/configs/scaps_defect_s1_acceptor_n.yaml + - config:tests/fixtures/configs/scaps_defect_s2_donor_p.yaml + test_files: + - tests/unit/models/test_explicit_defect_schema.py + - tests/unit/physics/test_monovalent_defect_closure.py + - tests/integration/test_charged_explicit_defects_qf.py + - tests/unit/validation/test_charged_defect_refinement.py + - tests/unit/validation/test_import_scaps_defect_reference.py + test_nodes: + - tests/unit/models/test_explicit_defect_schema.py::test_canonical_document_roundtrip_and_hash_are_stable + - tests/unit/physics/test_monovalent_defect_closure.py::test_donor_and_acceptor_share_occupancy_but_use_distinct_charge_reference + - tests/integration/test_charged_explicit_defects_qf.py::test_public_qf_jv_sweep_retains_charged_defect_certificates + - tests/unit/validation/test_charged_defect_refinement.py::test_registered_executor_real_cell_matches_exact_contract + - tests/unit/validation/test_import_scaps_defect_reference.py::test_importer_hashes_all_raw_exports_decks_manifest_and_suite + executor: null + executor_version: null + migration_status: legacy_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: null + migration_notes: [] +- id: benchmark:distributed-explicit-defect-internal-closure + section: benchmarks + original_key: distributed-explicit-defect-internal-closure + original_record_sha256: f3b2f71eac3b45a1cb47edff6e72d3bc184b169688e593c2d2c96ac89d1abdc9 + legacy_status: pass + legacy_claim_level: internal-numerical-candidate + legacy_evidence_tier: null + legacy_semantic_sha256: null + configurations: + - config:tests/fixtures/configs/distributed_defect_qf_dc_pn.yaml + test_files: + - tests/unit/physics/test_defect_distributions.py + - tests/unit/physics/test_distributed_defect_closure.py + - tests/unit/physics/test_distributed_defect_device.py + - tests/integration/test_charged_explicit_defects_qf.py + - tests/unit/validation/test_distributed_defect_refinement.py + test_nodes: + - tests/unit/physics/test_defect_distributions.py::test_distributed_species_expansion_is_auditable_and_conservative + - tests/unit/physics/test_distributed_defect_closure.py::test_source_aggregation_is_the_exact_sum_of_d2_energy_nodes + - tests/unit/physics/test_distributed_defect_device.py::test_compiled_device_and_contact_neutrality_reuse_energy_expansions + - tests/integration/test_charged_explicit_defects_qf.py::test_mixed_distributed_species_close_in_illuminated_qf_jv + - tests/unit/validation/test_distributed_defect_refinement.py::test_registered_executor_real_cell_matches_exact_contract + executor: null + executor_version: null + migration_status: legacy_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: null + migration_notes: [] +- id: benchmark:spatial-explicit-defect-internal-closure + section: benchmarks + original_key: spatial-explicit-defect-internal-closure + original_record_sha256: dfc286c5e52c75148405ff9f9b26cf9c3813dd1b10bab1668dd9d4319c49a486 + legacy_status: pass + legacy_claim_level: internal-numerical-candidate + legacy_evidence_tier: null + legacy_semantic_sha256: null + configurations: + - config:tests/fixtures/configs/graded_distributed_defect_qf_dc_pn.yaml + test_files: + - tests/unit/physics/test_distributed_defect_closure.py + - tests/integration/test_spatially_graded_explicit_defects_qf.py + - tests/unit/validation/test_spatial_defect_refinement.py + test_nodes: + - tests/unit/physics/test_distributed_defect_closure.py::test_nearly_saturated_tail_mean_stays_bounded_without_clipping + - tests/integration/test_spatially_graded_explicit_defects_qf.py::test_spatially_graded_dark_qf_state_and_small_jv_are_certified + - tests/unit/validation/test_spatial_defect_refinement.py::test_registered_executor_real_cell_matches_exact_contract + executor: null + executor_version: null + migration_status: legacy_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: null + migration_notes: [] diff --git a/reproducibility/HysteresisReferenceContractV1.json b/reproducibility/HysteresisReferenceContractV1.json new file mode 100644 index 00000000..06f63a41 --- /dev/null +++ b/reproducibility/HysteresisReferenceContractV1.json @@ -0,0 +1,1036 @@ +{ + "schema": "solarlab.hysteresis_reference_contract.v1", + "version": 1, + "status": "frozen_standard_reference_qualification_pending", + "created_at": "2026-10-05T09:04:55.273556+00:00", + "frozen_at": "2026-10-05T09:51:28.332696+00:00", + "independent_review": { + "status": "approved", + "reviewer_session": "01a10b6e-1a04-79f3-8852-5d182fe6be54", + "reviewed_sha256": "ee35db8311a423afd10c5dca72d5f7985deb97b1848118732ac1eceec8c926fe", + "review_receipt": { + "root": "archive", + "path": "test/ArchitectureRefactor/Stage00/HIIndependentReviewV1.json", + "sha256": "548fe81a5ebea29c518a21df2dfb08aa7365030853d501f4882159c0deeb40a0" + }, + "scope": "Corrected independent-control/observation reference plan and executable stricter power predicate, with unchanged numeric targets; reference/source/env qualifications and candidate execution remain separate", + "root_authorization_message": "msg_663fe18bb6d3", + "approved_sections_sha256": "4e6a1c6adf465ed7ccb310cb4d0a7b7789259b846da4e8b2e2888a84f478ac13", + "prior_numeric_review": { + "reviewer_session": "01a10b53-17dc-7bf2-a3e0-f3902e5b5d96", + "reviewed_sha256": "a544abcb27bb0e46e63da87d9e2d688c01db06af19146be02ab500a10ef6bd97" + } + }, + "candidate_results_consulted": false, + "source_capture_head": "0acc9d6cb7bd2e5c69cb3299a88522623c22bb37", + "governance": "Local proposal only; all global gate and acceptance activity is recorded solely in ExecutionStateV1.json", + "scope": "Reproduce all 21+21+3 original internal finite-time records and establish a separate prospective numerical/new-algorithm qualification; not Calado-paper fitting", + "source_bindings": [ + { + "root": "archive", + "path": "results/CaladoRepro/DenseIonMatrixV1/Matrix.json", + "sha256": "63942ee5fc3e89eb6403a01d10bff5dbb2b096e4de3f3cab201f3808369f127a", + "role": "42_curve_pairs" + }, + { + "root": "archive", + "path": "results/CaladoRepro/UiProtocol/RateMatrixV1/Matrix.json", + "sha256": "f9dd7757622d95a9d4b91b2b93911d1fc365c65895ef7e65b962748350d126cd", + "role": "three_scan_rates" + }, + { + "root": "archive", + "path": "results/CaladoRepro/UiProtocol/WaveformNominalSpatialFrontend.json", + "sha256": "dc3fb2c7bf2de13baf809f29663fe9e362adbd9cd066fc3891d8e1c82d6a51b4", + "role": "captured_original_request" + }, + { + "root": "archive", + "path": "test/ArchitectureRefactor/Stage00/PeakProvenanceV1.json", + "sha256": "5b075ce4b069cf7533d533337deef3bbecf3350840ae0bdb0cd3e7c87355e83b", + "role": "checked_peak_numeric_payload_lineage" + }, + { + "root": "repository", + "path": "perovskite-sim/docs/IonSweepFigureReference.md", + "sha256": "a068a50962ed14a6863496c54e98bf4cdfaddcc623f74063ede9c7b20cc7f3ef", + "role": "four_case_same_grid_contract" + }, + { + "root": "repository", + "path": "perovskite-sim/perovskite_sim/experiments/waveform_jv.py", + "sha256": "cac7648c136190db6bca65697cdb3200ab7b57e81787736a67d706cda333d1e7", + "role": "actual_old_control_and_sampling_semantics" + }, + { + "root": "repository", + "path": "perovskite-sim/perovskite_sim/experiments/jv_sweep.py", + "sha256": "428fbe1c421192e2495ac94fa171df42f2be94dca7733b7a5ab2e07a9628ef96", + "role": "actual_hold_caps_fallbacks_and_interval_current_definition" + }, + { + "root": "repository", + "path": "perovskite-sim/perovskite_sim/solver/mol.py", + "sha256": "1c02ff41356cfaf75245e3e9e3a0101064d43a766e9e416053ea1e75ef54b61a", + "role": "actual_dense_output_and_rhs_budget_semantics" + }, + { + "root": "archive", + "path": "test/ArchitectureRefactor/Stage00/HIPowerPreconditionV1.py", + "sha256": "90c7ed2722448874968361f1fd07fe1dfb5bb81b5e8ff582dc74483891bda6ff", + "role": "required_executable_HI_reference_power_predicate" + } + ], + "reference_set": { + "manifest_path": "reproducibility/RefactorReferenceManifestV1.json", + "cases_pointer": "/hi/cases", + "required_case_ids": [ + "hi_diffusivity_00", + "hi_diffusivity_01", + "hi_diffusivity_02", + "hi_diffusivity_03", + "hi_diffusivity_04", + "hi_diffusivity_05", + "hi_diffusivity_06", + "hi_diffusivity_07", + "hi_diffusivity_08", + "hi_diffusivity_09", + "hi_diffusivity_10", + "hi_diffusivity_11", + "hi_diffusivity_12", + "hi_diffusivity_13", + "hi_diffusivity_14", + "hi_diffusivity_15", + "hi_diffusivity_16", + "hi_diffusivity_17", + "hi_diffusivity_18", + "hi_diffusivity_19", + "hi_diffusivity_20", + "hi_density_00", + "hi_density_01", + "hi_density_02", + "hi_density_03", + "hi_density_04", + "hi_density_05", + "hi_density_06", + "hi_density_07", + "hi_density_08", + "hi_density_09", + "hi_density_10", + "hi_density_11", + "hi_density_12", + "hi_density_13", + "hi_density_14", + "hi_density_15", + "hi_density_16", + "hi_density_17", + "hi_density_18", + "hi_density_19", + "hi_density_20", + "hi_rate_20", + "hi_rate_40", + "hi_rate_80" + ], + "cases_payload_sha256": "646d85ce8f72ee23fb289e0ba604b30136f8f86d595bb0bd5d6e8e43c3c43300", + "payload_hash_rule": "SHA-256 of UTF-8 json.dumps(value, sort_keys=True, separators=(comma, colon), ensure_ascii=True, allow_nan=False); parsed integer/float values retained; not an RFC 8785 claim", + "record_count": 45, + "distinct_request_count": 43, + "removed_records": 0, + "dedup_rule": "Only identical full effective source/input/protocol/initial/model/numerics/environment identity may share an execution; preserve every coverage relation" + }, + "identity": { + "Dref_m2_s": 2.585e-18, + "cref_m3": 1e+25, + "temperature_K": 300, + "nominal_request_sha256": "f85b35f9926a85b31bb8c865c91d1ab093abdca5dbcf06a906b940aa0ee13d6d", + "protocol": { + "dark_seed": { + "voltage_V": 0, + "duration_s": 120 + }, + "dark_preparation": { + "voltage_V": -1, + "duration_s": 30 + }, + "forward_light_dwell_s": 0.5, + "forward": [ + -1, + 1.2 + ], + "dark_turnaround_s": 3, + "reverse_light_dwell_s": 0.5, + "reverse": [ + 1.2, + -1 + ], + "rates_V_s": [ + 0.02, + 0.04, + 0.08 + ], + "branch_durations_s": [ + 110, + 55, + 27.5 + ], + "uniform_generation_m3_s": 2.5e+27, + "driver": "continuous waveform, finite-time Radau; no substitution of a steady solve", + "all_four_contact_S": null, + "contact_semantics": "Original all-carrier Dirichlet; not paper mixed-minority contacts", + "effective_material_input": "Exact nominal_request.device retained; alter only the selected absorber field", + "numerics": { + "requested_N_grid": 60, + "actual_nodes": 61, + "samples_per_branch": 111, + "rtol": 0.0001, + "atol_m3": 1 + } + }, + "controls": { + "diffusivity": { + "ratios": [ + 0.0, + 0.1, + 0.2, + 0.3, + 0.4, + 0.5, + 0.6, + 0.7, + 0.8, + 0.9, + 1.0, + 1.1, + 1.2, + 1.3, + 1.4, + 1.5, + 1.6, + 1.7, + 1.8, + 1.9, + 2.0 + ], + "varied_field": "absorber.D_ion", + "fixed_c0_m3": 1e+25, + "zero_meaning": "D=0 keeps the uniform mobile-ion population and equal negative background" + }, + "density": { + "ratios": [ + 0.0, + 0.1, + 0.2, + 0.3, + 0.4, + 0.5, + 0.6, + 0.7, + 0.8, + 0.9, + 1.0, + 1.1, + 1.2, + 1.3, + 1.4, + 1.5, + 1.6, + 1.7, + 1.8, + 1.9, + 2.0 + ], + "varied_field": "absorber.P0", + "fixed_D_m2_s": 2.585e-18, + "zero_meaning": "c0=0 removes initial mobile inventory and fixed countercharge", + "coupling": "Every c0 change updates both fixed negative background and initial mobile population" + } + }, + "current_effective_source_gap": "Two of six old code pins match current files; resolve each changed file and full historical environment before treating an old artifact as exact algorithm replay" + }, + "evidence_channels": { + "historical_four_same_grid": { + "scope": "D ratios 0, 0.2, 1, 2 only; original 61 nodes and 110 archived current samples per branch", + "existing_limits": { + "source_id": "hi_existing_test", + "fixture_source_id": "hi_fixture", + "ratios": [ + 0, + 0.2, + 1, + 2 + ], + "J": { + "unit": "A/m^2", + "atol": 0.001, + "rtol": 1e-05, + "rule": "sum" + }, + "HI_P": { + "unit": "1", + "atol": 1e-05, + "rtol": 0.0002, + "rule": "max_existing_pytest_approx" + }, + "voltage": { + "unit": "V", + "atol": 1e-12, + "rtol": 0 + }, + "mask": "Only the inherited [1:] stored-current scope on both branches; original omission remains visible", + "qualification": "historical four-case same-grid regression only; no full scan or new solver certification" + }, + "grants_full_matrix_or_new_solver": false + }, + "full_record_reproduction": { + "scope": "All 45 records, full native branches and current/metric/status fields under original input/history; old stored comparisons apply at their 110 available coordinates", + "status": "requires_complete_source_and_new_prospective_budgets", + "coarse_reference_policy": "If original finite-grid values fail reference-error requirements, keep them as historical anchors and explicitly rebaseline numerical evidence; do not force agreement by loosening gates" + }, + "numerical_and_new_algorithm": { + "scope": "Comparison against independently qualified numerical references, preserving physical preparation and observations; adaptive internal steps need not match", + "proposed_gates": { + "J_A_m2": { + "atol": 0.001, + "rtol": 0.0001, + "unit": "A/m^2", + "rule": "sum" + }, + "Pmax_W_m2": { + "atol": 0.0005, + "rtol": 0.0001, + "unit": "W/m^2", + "rule": "sum", + "additional_limit": "Must also meet the tighter per-case HI uncertainty allocation" + }, + "Voc_V": { + "atol": 0.0001, + "rtol": 0.0, + "unit": "V", + "requires": "bracket and current-to-voltage slope/error propagation" + }, + "Jsc_A_m2": { + "atol": 0.001, + "rtol": 0.0001, + "unit": "A/m^2", + "rule": "sum" + }, + "FF_fraction": { + "atol": 0.0001, + "rtol": 0.0001, + "unit": "1", + "rule": "sum", + "requires": "resolved Voc/Jsc denominator" + }, + "PCE_percent": { + "atol": 0.001, + "rtol": 0.0001, + "unit": "percentage_point", + "rule": "sum", + "requires": "fixed declared incident power or mark undefined" + }, + "HI_P": { + "atol": 0.001, + "rtol": 0.0, + "unit": "1", + "requires": "resolved supplied power uncertainties and same definition" + }, + "HI_normalized": { + "atol": 0.001, + "rtol": 0.0, + "unit": "1", + "requires": "resolved reverse-power uncertainty" + }, + "ion_inventory_relative_drift": { + "limit": 1e-08, + "scale": "independently integrated initial physical inventory" + }, + "zero_inventory_absolute_m_minus2": { + "limit": 100000000.0, + "scale": "fixed cref*400nm = 4e18 m^-2; no division by zero" + } + }, + "design_basis": "Retain section 14 Voc 1e-4 V, relative Jsc/FF/PCE 1e-4 and HI absolute 1e-3 targets. The J absolute floor is 6.24e-6 of the fixed q*G*400nm=160.2176634 A/m2 generation scale; Pmax floor is J floor times fixed 0.5 V; FF floor is 0.01 percentage point; PCE floor is 0.01 W/m2 at declared 1000 W/m2 Pin. These are explicit prospective engineering floors, not inferred continuum errors.", + "old_gate_precedence": "Exact historical four-case same-grid replay must still satisfy its own stricter J relative and HI gates; the new numerical channel cannot waive an existing gate", + "not_ready_for_execution": "The reviewed thresholds and corrected reference plan may freeze before physical refinement runs. Actual source/environment/control support and independent per-case reference errors are mandatory before qualified-reference use and candidate acceptance; no execution is authorized here." + } + }, + "error_budget": { + "reference_error_fraction_max": 0.3333333333333333, + "combination": "Conservative sum of independently bounded spatial, temporal, solver and observable-extraction errors; no cancellation credit", + "axis_initial_allocation": "Four independently assessed contributions (space, integration/time, solver accuracy, observable extraction) each start with at most 1/12 of the migration allowance; legacy coupled changes receive no separate per-axis credit", + "HI_resolution": "Require forward/reverse Pmax error intervals excluding zero; propagate interval corners and require propagated HI error <= one third of 1e-3 for the reference", + "weak_peak_example": { + "case_id": "hi_diffusivity_02", + "historical_Pf_W_m2": 0.8051574747501198, + "historical_Pr_W_m2": 78.26439288754077, + "reference_HI_error_allocation": 0.0003333333333333333, + "first_order_common_power_error_ceiling_W_m2": 2.7329465269315636e-06, + "exact_symmetric_interval_common_power_ceiling_W_m2": 2.7329372505209222e-06, + "use": "Planning estimate only; actual acceptance uses nonlinear interval propagation; do not lower a floor to make the denominator resolved", + "exact_common_power_formula": "e=B*f^2/(f+r+B*f), B=0.001/3; unequal uncertainties use exact interval corners", + "generic_full_Pmax_limits_permit_HI_error": 0.08048303454445498, + "generic_one_third_Pmax_limits_permit_HI_error": 0.026814779972999796 + }, + "rounding": "Captured binary JSON values are historical stored outputs, not a numerical-error certificate", + "required_power_precondition": { + "executable_source": { + "root": "archive", + "path": "test/ArchitectureRefactor/Stage00/HIPowerPreconditionV1.py", + "sha256": "90c7ed2722448874968361f1fd07fe1dfb5bb81b5e8ff582dc74483891bda6ff" + }, + "callable": "qualify_reference_power", + "required_for": "Every record and every qualified numerical reference before comparison eligibility; generic Pmax checks are necessary but insufficient", + "arguments": { + "pmax_atol": 0.0005, + "pmax_rtol": 0.0001, + "hi_p_atol": 0.001, + "hi_normalized_atol": 0.001 + }, + "reference_allocation": { + "numerator": 1, + "denominator": 3 + }, + "input": "Actual forward/reverse powers and independently justified absolute power uncertainties, all W/m2; absent uncertainties remain unknown", + "all_required": [ + "Each power uncertainty <= (0.0005 + 0.0001*abs(P))/3", + "Forward and reverse denominator intervals both exclude zero", + "Exact interval-corner HI_P error <= 0.001/3", + "Exact interval-corner HI_normalized error <= 0.001/3", + "Source, environment and uncertainty-evidence qualification independently verified" + ], + "failure": "Any false/unknown predicate blocks reference use and candidate acceptance; no scalar HI match substitutes" + }, + "legacy_joint_evidence": "The old sample-count ladder changes restart placement, internal step caps and interval displacement extraction together; it is one joint diagnostic and never three independent bounds", + "freeze_vs_qualification": "Freeze numeric thresholds and this reviewed reference plan before generating candidate outputs. Actual reference error/source/environment evidence is then required before qualified-reference use and candidate acceptance; this task authorizes no simulation." + }, + "refinement_plan": { + "status": "corrected_prospective_plan_driver_not_implemented_no_runs_authorized", + "source_audit": { + "waveform_file": "perovskite-sim/perovskite_sim/experiments/waveform_jv.py", + "restarts": "sweep() calls advance() for every requested voltage point; each nonzero segment starts a new solve", + "ramp_cap": "duration/20 per adjacent requested-sample interval; max_nfev=100000 per solve", + "hold_cap": "_integrate_step uses the hold/subdivision duration/20, max_nfev=100000, max_bisect=10, with recorded numerical/radiative/BDF fallbacks; a smaller cap alone is not a branch certificate", + "current": "At a point, conduction is evaluated at the endpoint, displacement uses epsilon*(E_end-E_prev)/duration with the prior point/dwell state; it is not automatically an instantaneous ramp current", + "dense_output": "run_transient passes dense_output=False; no decoupled dense-output reference driver exists" + }, + "legacy_joint_refinement": { + "classification": "JOINT restart/sampling/internal-step-cap/observable-extraction diagnostic", + "existing_numeric_payloads_reused": true, + "per_axis_error_credit": false, + "divisor80_warning": "80 was a prospective unsupported setting; current code hardcodes 20. Even at fixed 80, changing 111/221/441 points changes interval seconds and restart/current definitions together.", + "cap_table": [ + { + "rate_V_s": 0.02, + "samples_per_branch": 111, + "ramp_restarts_per_branch": 110, + "interval_s": 1.0, + "actual_hardcoded_max_step_s": 0.05, + "hypothetical_divisor80_max_step_s": 0.0125 + }, + { + "rate_V_s": 0.02, + "samples_per_branch": 221, + "ramp_restarts_per_branch": 220, + "interval_s": 0.5, + "actual_hardcoded_max_step_s": 0.025, + "hypothetical_divisor80_max_step_s": 0.00625 + }, + { + "rate_V_s": 0.02, + "samples_per_branch": 441, + "ramp_restarts_per_branch": 440, + "interval_s": 0.25, + "actual_hardcoded_max_step_s": 0.0125, + "hypothetical_divisor80_max_step_s": 0.003125 + }, + { + "rate_V_s": 0.04, + "samples_per_branch": 111, + "ramp_restarts_per_branch": 110, + "interval_s": 0.5, + "actual_hardcoded_max_step_s": 0.025, + "hypothetical_divisor80_max_step_s": 0.00625 + }, + { + "rate_V_s": 0.04, + "samples_per_branch": 221, + "ramp_restarts_per_branch": 220, + "interval_s": 0.25, + "actual_hardcoded_max_step_s": 0.0125, + "hypothetical_divisor80_max_step_s": 0.003125 + }, + { + "rate_V_s": 0.04, + "samples_per_branch": 441, + "ramp_restarts_per_branch": 440, + "interval_s": 0.125, + "actual_hardcoded_max_step_s": 0.00625, + "hypothetical_divisor80_max_step_s": 0.0015625 + }, + { + "rate_V_s": 0.08, + "samples_per_branch": 111, + "ramp_restarts_per_branch": 110, + "interval_s": 0.25, + "actual_hardcoded_max_step_s": 0.0125, + "hypothetical_divisor80_max_step_s": 0.003125 + }, + { + "rate_V_s": 0.08, + "samples_per_branch": 221, + "ramp_restarts_per_branch": 220, + "interval_s": 0.125, + "actual_hardcoded_max_step_s": 0.00625, + "hypothetical_divisor80_max_step_s": 0.0015625 + }, + { + "rate_V_s": 0.08, + "samples_per_branch": 441, + "ramp_restarts_per_branch": 440, + "interval_s": 0.0625, + "actual_hardcoded_max_step_s": 0.003125, + "hypothetical_divisor80_max_step_s": 0.00078125 + } + ], + "new_simulations_authorized": false + }, + "phase0": { + "new_solves": 0, + "actions": [ + "Verify pinned inputs/curves and exact physical history", + "Apply the per-record executable power-error predicate; missing evidence stays unknown", + "Implement and independently check decoupled controls, interpolation/derivatives and event-side current under a separate authorized task before reference generation" + ] + }, + "future_decoupled_reference_driver": { + "implementation_status": "not_implemented", + "source_path": null, + "control_restart_grid": { + "status": "exact_proposed_grid_to_freeze", + "physical_phase_boundaries": "The seven phase starts/ends listed in phase_profiles", + "ramp_control_intervals_per_branch": 440, + "ramp_restart_formula": "phase_start + j*phase_duration/440 for integer j=0..440, with the same grid for every observation request and every max-step/solver refinement level", + "hold_restart_rule": "One fixed control interval per hold phase, ending at its physical event boundary", + "local_time_origin": "0 at each fixed control interval; physical time=interval_start+local_time; carry the final physical state without an output-driven reset or new initialization", + "observation_independence": "111/221/441 or additional qualified observation points never alter this control grid", + "basis": "Fix the existing 441-point peak-reference control cadence once; do not reinterpret a changing n_points value as independent temporal refinement" + }, + "phase_profiles": [ + { + "rate_V_s": 0.02, + "phases": [ + { + "id": "dark_seed", + "start_s": 0.0, + "end_s": 120.0, + "duration_s": 120.0, + "max_step_s_levels": [ + 6.0, + 3.0, + 1.5 + ], + "proposed_max_rhs_evaluations": 100000, + "control_intervals": 1, + "max_rhs_evaluations_per_control_interval": 100000 + }, + { + "id": "dark_prebias", + "start_s": 120.0, + "end_s": 150.0, + "duration_s": 30.0, + "max_step_s_levels": [ + 1.5, + 0.75, + 0.375 + ], + "proposed_max_rhs_evaluations": 100000, + "control_intervals": 1, + "max_rhs_evaluations_per_control_interval": 100000 + }, + { + "id": "forward_light_dwell", + "start_s": 150.0, + "end_s": 150.5, + "duration_s": 0.5, + "max_step_s_levels": [ + 0.025, + 0.0125, + 0.00625 + ], + "proposed_max_rhs_evaluations": 100000, + "control_intervals": 1, + "max_rhs_evaluations_per_control_interval": 100000 + }, + { + "id": "forward_ramp", + "start_s": 150.5, + "end_s": 260.5, + "duration_s": 110.0, + "max_step_s_levels": [ + 0.0125, + 0.00625, + 0.003125 + ], + "proposed_max_rhs_evaluations": 44000000, + "control_intervals": 440, + "max_rhs_evaluations_per_control_interval": 100000 + }, + { + "id": "dark_turnaround", + "start_s": 260.5, + "end_s": 263.5, + "duration_s": 3.0, + "max_step_s_levels": [ + 0.15, + 0.075, + 0.0375 + ], + "proposed_max_rhs_evaluations": 100000, + "control_intervals": 1, + "max_rhs_evaluations_per_control_interval": 100000 + }, + { + "id": "reverse_light_dwell", + "start_s": 263.5, + "end_s": 264.0, + "duration_s": 0.5, + "max_step_s_levels": [ + 0.025, + 0.0125, + 0.00625 + ], + "proposed_max_rhs_evaluations": 100000, + "control_intervals": 1, + "max_rhs_evaluations_per_control_interval": 100000 + }, + { + "id": "reverse_ramp", + "start_s": 264.0, + "end_s": 374.0, + "duration_s": 110.0, + "max_step_s_levels": [ + 0.0125, + 0.00625, + 0.003125 + ], + "proposed_max_rhs_evaluations": 44000000, + "control_intervals": 440, + "max_rhs_evaluations_per_control_interval": 100000 + } + ], + "physical_phase_boundaries_s": [ + 0.0, + 120.0, + 150.0, + 150.5, + 260.5, + 263.5, + 264.0, + 374.0 + ] + }, + { + "rate_V_s": 0.04, + "phases": [ + { + "id": "dark_seed", + "start_s": 0.0, + "end_s": 120.0, + "duration_s": 120.0, + "max_step_s_levels": [ + 6.0, + 3.0, + 1.5 + ], + "proposed_max_rhs_evaluations": 100000, + "control_intervals": 1, + "max_rhs_evaluations_per_control_interval": 100000 + }, + { + "id": "dark_prebias", + "start_s": 120.0, + "end_s": 150.0, + "duration_s": 30.0, + "max_step_s_levels": [ + 1.5, + 0.75, + 0.375 + ], + "proposed_max_rhs_evaluations": 100000, + "control_intervals": 1, + "max_rhs_evaluations_per_control_interval": 100000 + }, + { + "id": "forward_light_dwell", + "start_s": 150.0, + "end_s": 150.5, + "duration_s": 0.5, + "max_step_s_levels": [ + 0.025, + 0.0125, + 0.00625 + ], + "proposed_max_rhs_evaluations": 100000, + "control_intervals": 1, + "max_rhs_evaluations_per_control_interval": 100000 + }, + { + "id": "forward_ramp", + "start_s": 150.5, + "end_s": 205.5, + "duration_s": 55.0, + "max_step_s_levels": [ + 0.00625, + 0.003125, + 0.0015625 + ], + "proposed_max_rhs_evaluations": 44000000, + "control_intervals": 440, + "max_rhs_evaluations_per_control_interval": 100000 + }, + { + "id": "dark_turnaround", + "start_s": 205.5, + "end_s": 208.5, + "duration_s": 3.0, + "max_step_s_levels": [ + 0.15, + 0.075, + 0.0375 + ], + "proposed_max_rhs_evaluations": 100000, + "control_intervals": 1, + "max_rhs_evaluations_per_control_interval": 100000 + }, + { + "id": "reverse_light_dwell", + "start_s": 208.5, + "end_s": 209.0, + "duration_s": 0.5, + "max_step_s_levels": [ + 0.025, + 0.0125, + 0.00625 + ], + "proposed_max_rhs_evaluations": 100000, + "control_intervals": 1, + "max_rhs_evaluations_per_control_interval": 100000 + }, + { + "id": "reverse_ramp", + "start_s": 209.0, + "end_s": 264.0, + "duration_s": 55.0, + "max_step_s_levels": [ + 0.00625, + 0.003125, + 0.0015625 + ], + "proposed_max_rhs_evaluations": 44000000, + "control_intervals": 440, + "max_rhs_evaluations_per_control_interval": 100000 + } + ], + "physical_phase_boundaries_s": [ + 0.0, + 120.0, + 150.0, + 150.5, + 205.5, + 208.5, + 209.0, + 264.0 + ] + }, + { + "rate_V_s": 0.08, + "phases": [ + { + "id": "dark_seed", + "start_s": 0.0, + "end_s": 120.0, + "duration_s": 120.0, + "max_step_s_levels": [ + 6.0, + 3.0, + 1.5 + ], + "proposed_max_rhs_evaluations": 100000, + "control_intervals": 1, + "max_rhs_evaluations_per_control_interval": 100000 + }, + { + "id": "dark_prebias", + "start_s": 120.0, + "end_s": 150.0, + "duration_s": 30.0, + "max_step_s_levels": [ + 1.5, + 0.75, + 0.375 + ], + "proposed_max_rhs_evaluations": 100000, + "control_intervals": 1, + "max_rhs_evaluations_per_control_interval": 100000 + }, + { + "id": "forward_light_dwell", + "start_s": 150.0, + "end_s": 150.5, + "duration_s": 0.5, + "max_step_s_levels": [ + 0.025, + 0.0125, + 0.00625 + ], + "proposed_max_rhs_evaluations": 100000, + "control_intervals": 1, + "max_rhs_evaluations_per_control_interval": 100000 + }, + { + "id": "forward_ramp", + "start_s": 150.5, + "end_s": 178.0, + "duration_s": 27.5, + "max_step_s_levels": [ + 0.003125, + 0.0015625, + 0.00078125 + ], + "proposed_max_rhs_evaluations": 44000000, + "control_intervals": 440, + "max_rhs_evaluations_per_control_interval": 100000 + }, + { + "id": "dark_turnaround", + "start_s": 178.0, + "end_s": 181.0, + "duration_s": 3.0, + "max_step_s_levels": [ + 0.15, + 0.075, + 0.0375 + ], + "proposed_max_rhs_evaluations": 100000, + "control_intervals": 1, + "max_rhs_evaluations_per_control_interval": 100000 + }, + { + "id": "reverse_light_dwell", + "start_s": 181.0, + "end_s": 181.5, + "duration_s": 0.5, + "max_step_s_levels": [ + 0.025, + 0.0125, + 0.00625 + ], + "proposed_max_rhs_evaluations": 100000, + "control_intervals": 1, + "max_rhs_evaluations_per_control_interval": 100000 + }, + { + "id": "reverse_ramp", + "start_s": 181.5, + "end_s": 209.0, + "duration_s": 27.5, + "max_step_s_levels": [ + 0.003125, + 0.0015625, + 0.00078125 + ], + "proposed_max_rhs_evaluations": 44000000, + "control_intervals": 440, + "max_rhs_evaluations_per_control_interval": 100000 + } + ], + "physical_phase_boundaries_s": [ + 0.0, + 120.0, + 150.0, + 150.5, + 178.0, + 181.0, + 181.5, + 209.0 + ] + } + ], + "max_step_rule": "Use the literal seconds in the selected common refinement level for every integration. These fixed numbers were chosen once from the source hold caps and legacy 441-point ramp intervals; they are independent of the requested observation count.", + "work_cap_rationale": "100000 is the existing per-attempt RHS cap. Apply that fixed cap to each declared control interval; 44000000 is only the aggregate branch ceiling over the 440 frozen intervals. The 600 s wall and RSS caps still stop first. Old automatic bisection/radiative/BDF fallback is not silently inherited; any fallback must be explicitly recorded and qualified.", + "observation_grids": { + "samples_per_branch": [ + 111, + 221, + 441 + ], + "voltage_axis": "Uniform -1..1.2 V forward and reverse, with exact phase time map", + "independence": "All grids query the same accepted trajectory at fixed control/restart/max-step settings; requesting more observations must not change accepted steps or the physical history", + "output_kind": "native endpoint or independently qualified solver dense output, with interpolation/state/derivative error evidence; display PCHIP is never counted as a new observation or accepted step" + }, + "storage": "Retain control event-side states, all accepted-step times and error evidence, required native branch outputs and dense-output coefficients or an equivalent replayable representation; no omission of difficult intervals" + }, + "sentinel_case_ids": [ + "hi_diffusivity_00", + "hi_density_00", + "hi_diffusivity_01", + "hi_diffusivity_02", + "hi_diffusivity_03", + "hi_density_01", + "hi_density_02", + "hi_density_03", + "hi_diffusivity_10", + "hi_diffusivity_20", + "hi_density_20", + "hi_rate_20", + "hi_rate_80" + ], + "sentinel_conditions": 13, + "phase1_spatial": { + "requested_N": [ + 60, + 120, + 240 + ], + "expected_actual_nodes": [ + 61, + 121, + 241 + ], + "fixed_output_samples_per_branch": 441, + "fixed_max_step_level": 2, + "fixed_solver_rtol": 1e-06, + "fixed_density_atol_m3": 0.01, + "maximum_new_solves": 39, + "rule": "Compare conserved/weighted fields with separate interface traces; preserve the exact phase restart grid and current observable" + }, + "phase1_temporal": { + "fixed_actual_nodes": 121, + "fixed_output_samples_per_branch": 441, + "max_step_levels": [ + 0, + 1, + 2 + ], + "fixed_solver_rtol": 1e-06, + "fixed_density_atol_m3": 0.01, + "maximum_additional_solves": 26, + "rule": "Only literal seconds caps change; the fixed 440-interval ramp control grid, hold boundaries and observation grid stay fixed; level 2 overlaps spatial runs" + }, + "phase1_solver": { + "fixed_actual_nodes": 121, + "fixed_output_samples_per_branch": 441, + "fixed_max_step_level": 2, + "rtol_values": [ + 0.0001, + 1e-05, + 1e-06 + ], + "density_atol_m3_values": [ + 1, + 0.1, + 0.01 + ], + "maximum_additional_solves": 26, + "rule": "This is a joint local-error tolerance ladder. An independent nonlinear/residual or alternative-algorithm accuracy check remains necessary; do not count rtol and atol as separate axes." + }, + "phase1_observable_extraction": { + "samples_per_branch": [ + 111, + 221, + 441 + ], + "maximum_additional_integrations": 0, + "rule": "Query the same qualified finest trajectory and explicit current definitions at the three observation grids; bracket true Pmax/Voc and bound interpolation/derivative errors. Dense interpolation without an independent bound earns no precision credit." + }, + "phase1_solver_independence_gap": "The present waveform path exposes no independently user-controlled nonlinear residual gate and no qualified dense-output derivative. These must be supplied and checked by an authorized future driver; current plan arithmetic does not certify them.", + "phase1_admission": "Require independently justified conservative bounds for all four contributions and the stricter per-case power predicate; contraction or repeatability alone is not a certificate", + "phase2_full_matrix": { + "records": 45, + "maximum_distinct_conditions_if_complete_identity_deduplicates": 43, + "one_axis_maximum_integrations_per_condition": 4, + "maximum_initial_solves_without_deduplication": 180, + "observation_re_evaluation_integrations": 0, + "settings": "Qualified common base plus adjacent space/time/solver checks for each otherwise untested case; observation grids reuse a qualified trajectory", + "reuse": "Only exact full identity intersections; retain all 45 coverage relations", + "rule": "Sentinels do not certify other coordinates; insufficient error bounds or coupled axes remain unresolved within the initial cap, with further work requiring a separately reviewed bounded plan" + }, + "bounded_failure": "Preserve first failure, unstarted work and unsupported controls; no automatic larger budgets or relaxed numeric limits" + }, + "resource_proposal": { + "maximum_phase1_new_solves": 91, + "maximum_phase2_solves_before_reuse": 180, + "wall_limit_per_case_s": 600, + "phase1_wall_budget_s": 21600, + "phase2_wall_budget_s": 43200, + "active_scientific_workers": 1, + "BLAS_threads": 1, + "maximum_RSS_GiB": 8, + "maximum_stage_artifacts_GiB": 4, + "derivation": "The corrected decoupled plan has 39 spatial plus 26 time-cap plus 26 solver integrations; observation refinements reuse accepted trajectories. Current legacy sampling is joint and earns no independent credit. Existing historical costs remain context only; all caps are stop rules, not predictions or execution authorization.", + "scheduling": "Correctness phase is not a performance claim. No three-repeat performance requirement added to expensive science runs." + }, + "first_point_contract": { + "historical": "All archived stored-current curves omit first sample; 90 branch-start currents have no historical array reference", + "new_output": "Retain end-dwell and event-side states, input derivatives, and explicit instantaneous ramp-side current; also retain separately labeled legacy interval endpoint current if comparing historical arrays", + "do_not_substitute": "A finite difference across the light switch or the full dwell is not the ramp-start instantaneous displacement current", + "verification": "Check current components, boundary orientation and Maxwell balance; compare later common samples without hiding the first point and certify starts against an independent derivative/residual reference" + }, + "conservation_proposal": { + "interval_and_total": "Apply the inventory thresholds to every accepted interval and the sum of absolute interval balance defects over each physical phase and whole history; terminal drift alone cannot hide cancellation", + "current_balance_A_m2": { + "atol": 0.001, + "rtol": 0.0001, + "fixed_scale_A_m2": 160.2176634, + "rule": "sum" + }, + "current_balance_definition": "Maximum spread of properly oriented total (conduction plus displacement) current, with the same physical terminal definition; no claim from conduction-current constancy alone", + "controls_gap": "Bind actual accepted-step data and a validated residual/current reconstruction before these checks can be executed" + }, + "metric_contract": { + "HI_P": "Pmax_reverse/Pmax_forward - 1", + "HI_normalized": "(Pmax_reverse-Pmax_forward)/Pmax_reverse", + "zero_denominator": "unknown with null value and reason; never filled with zero", + "weak_forward_power": "Propagate independent Pmax uncertainty before accepting a large HI; do not enlarge floors from candidate results", + "required_acceptance_outputs": [ + "both full native J-V branches including negative bias and injection", + "Pmax on each branch", + "Jsc on each branch", + "Voc and bracket/slope on each branch", + "FF and PCE when defined", + "both explicitly named HI definitions", + "inventory/current components and first-point status" + ], + "first_point": "Original stored-state current reconstruction omitted index 0 on each branch because its predecessor was not exported; this omission is tagged and does not authorize new solvers to discard first points", + "PCHIP": "401-point display guides are not new simulations, observations, or accepted sample counts" + }, + "external_data_needs": "No new author Calado data needed for original internal-matrix reproduction. Exact historical source/environment or explicit current-source rebaseline is needed; original Calado paper quantitative match remains outside this task.", + "execution_authorized": false, + "scientific_qualification_granted": false, + "review_working_head": "9224f652aa2527db9139579f25033d93aafc77f4", + "freeze_scope": { + "threshold_and_reference_plan_freeze": "Requires independent approval of this corrected plan and the already approved numeric limits; does not require already completed physical refinement runs", + "qualified_reference_use": "Requires actual immutable source/input/environment/initial-state bindings and independently established per-case reference errors, including the executable power predicate", + "candidate_acceptance": "Requires the frozen contract, qualified reference, eligible candidate identity and all physical/numerical checks; no missing uncertainty may be zero-filled", + "candidate_execution_authorized": false + }, + "observable_definitions": { + "historical_interval_current": { + "definition": "J_cond(t_j) plus signed [D(t_j)-D(t_(j-1))]/(t_j-t_(j-1)); use original 111-point branch intervals for old stored-current comparisons", + "scope": "110 archived current values/branch; the original driver first value was a dwell-interval current, and the archived reconstruction omitted it", + "identity": "Explicitly label legacy_interval_endpoint; never compare it silently with instantaneous current" + }, + "instantaneous_ramp_current": { + "definition": "J_cond(t)+signed dD/dt on the requested ramp event side; for this fixed-epsilon HI model, Ddot=epsilon0*epsilon_face*Edot, with Edot from differentiated Poisson using the full charge derivative and the actual boundary voltage derivative", + "event_rule": "Save end-dwell prestate and evaluate the ramp-side derivative at t=0+; a voltage/light discontinuity has event-side and integrated-charge accounting, not a fabricated finite instantaneous impulse value", + "identity": "instantaneous_ramp_side_v1; future qualified driver only" + }, + "independent_error_estimate": { + "legacy_to_instantaneous": "On a smooth single physical phase, interval quotient bias is bounded by (Delta_t/2)*sup|D_second_time_derivative| plus endpoint/interpolation/Poisson errors; do not apply this across events", + "instantaneous": "Bound differentiated-Poisson residual and RHS/state/dense-derivative errors, crosscheck against a separately refined temporal solution or independent derivative calculation; an ODE state tolerance alone does not bound Ddot", + "metric_propagation": "Propagate qualified current/dense-output errors to bracketed Pmax/Voc and then apply the executable per-case HI power predicate", + "status": "independent bounds not yet available" + }, + "history_comparison": "Compute both labeled observables from the same qualified future trajectory if needed; historical agreement does not certify instantaneous currents and no observable definition changes inside a comparison" + } +} diff --git a/reproducibility/NumericalRefinementRegistryV2.yaml b/reproducibility/NumericalRefinementRegistryV2.yaml new file mode 100644 index 00000000..e73836eb --- /dev/null +++ b/reproducibility/NumericalRefinementRegistryV2.yaml @@ -0,0 +1,2344 @@ +# Inactive migration substrate; V1 bytes, historical claims and production consumers stay unchanged. +# Prepared content is not H_physics, a protocol/execution identity or a scientific certificate. +schema_version: solarlab.registry-migration.v2 +kind: numerical_refinement +activation: pending_migration +original_registry: perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml +companion_registry: perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml +original_path_root: perovskite-sim +original_reader: + source_id: perovskite-sim/perovskite_sim/validation/numerical_certificate.py + symbol: load_refinement_registry +historical_verification: original_bytes_paths_and_original_reader; no_certificate_reinterpretation +sources: +- id: perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml + path: perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml + sha256: 35165f16511bcf61a3eecec1c2391780249206aecc97fe17dd1cf30c046681be + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml + path: perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml + sha256: b808fb2c7e44b282fe5e8a7d55a8f23a12101451104c6c639e2991fec34a2dff + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/reproducibility/SchemaRegistry.yaml + path: perovskite-sim/reproducibility/SchemaRegistry.yaml + sha256: 549bb9f0c83c8d1e4f827293586236b765eab477b31014e9e508f49be15eae37 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/fixtures/configs/cSi_homojunction.yaml + path: perovskite-sim/tests/fixtures/configs/cSi_homojunction.yaml + sha256: c179e087a6623c7d19dfc7f6a3af056e6fcd5a0382e2e2b0e1e26dc08d883c99 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/fixtures/configs/csi_degenerate_pn_research.yaml + path: perovskite-sim/tests/fixtures/configs/csi_degenerate_pn_research.yaml + sha256: 6d707f97bc1632521b5176f55d6e004cc171636e0264e85aa4f20eadafe2dfcb + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/fixtures/configs/csi_incomplete_ionization_pn_research.yaml + path: perovskite-sim/tests/fixtures/configs/csi_incomplete_ionization_pn_research.yaml + sha256: d98b07049abfb17f44404eac91557338dad3a16341b6350d291d940c258abc72 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/fixtures/configs/csi_incomplete_ionization_bgn_pn_research.yaml + path: perovskite-sim/tests/fixtures/configs/csi_incomplete_ionization_bgn_pn_research.yaml + sha256: 2fb63bd79a0f0917083d887e80301712d65b9ca46ace02bedb9cb5c5336e789b + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/fixtures/configs/csi_gaussian_bulk_trap_pn_research.yaml + path: perovskite-sim/tests/fixtures/configs/csi_gaussian_bulk_trap_pn_research.yaml + sha256: 7e8bf1ab6669bd8088cd402ef73aca1cd75c9ae1755d3137faf6650569ac481b + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/fixtures/configs/csi_vannijen2025_pn_cv.yaml + path: perovskite-sim/tests/fixtures/configs/csi_vannijen2025_pn_cv.yaml + sha256: eb4806e7167c258bd6fb5e47fe02ebadc92e8963055c06a73a5775a20178f5ad + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/fixtures/configs/cigs_baseline.yaml + path: perovskite-sim/tests/fixtures/configs/cigs_baseline.yaml + sha256: 46dabc8418b7060a2124206793f3b6f07a01f35826b6b537591c64dbd2abe4af + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/fixtures/configs/cigs_graded_notch.yaml + path: perovskite-sim/tests/fixtures/configs/cigs_graded_notch.yaml + sha256: d622f92e21face4e9a9e1780300566e1cda8c77d0e5e10171882f6cb8d7a5185 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/fixtures/configs/wkb_tunnelling_intraband_spike.yaml + path: perovskite-sim/tests/fixtures/configs/wkb_tunnelling_intraband_spike.yaml + sha256: 545067cfedc8598b62fd1991aeaf3cd13d3153151e427452d1b78f6d523df20b + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/fixtures/configs/wkb_resolved_electron_barrier.yaml + path: perovskite-sim/tests/fixtures/configs/wkb_resolved_electron_barrier.yaml + sha256: 891165e5ac68609b27dbe6c98b00e27d9b40b4df6edabde764ddda62d4788d27 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/fixtures/configs/tpv_physical_reference.yaml + path: perovskite-sim/tests/fixtures/configs/tpv_physical_reference.yaml + sha256: 2e470b672f2b0ee6970ff169deedf7ce09ed0a45beb8ab9c55b48ab8da487c10 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/fixtures/configs/cigs_graded_optics.yaml + path: perovskite-sim/tests/fixtures/configs/cigs_graded_optics.yaml + sha256: 9539deb2d0883838c9dac42dd95aae41eafb109e9d83205c3273fbd8df0e0fbd + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/fixtures/configs/dual_ion_demo.yaml + path: perovskite-sim/tests/fixtures/configs/dual_ion_demo.yaml + sha256: a52ded5f1a674dfcd12e20ea51db9bddcfb035a199d4610639569dd797597064 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/fixtures/configs/driftfusion_benchmark.yaml + path: perovskite-sim/tests/fixtures/configs/driftfusion_benchmark.yaml + sha256: 3e4cea0244bcb71072194d24ff5a31e50eb780d8d93dc8bc2343a8032de3fbf7 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/fixtures/configs/driftfusion_benchmark_tmm.yaml + path: perovskite-sim/tests/fixtures/configs/driftfusion_benchmark_tmm.yaml + sha256: bf0a186c772f5aadff9cfc1c4471534945e9849f42bea75f8097859f4c7350ce + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/fixtures/configs/driftfusion_calado2016_repro.yaml + path: perovskite-sim/tests/fixtures/configs/driftfusion_calado2016_repro.yaml + sha256: 536dc33d42e214072bbeb14256582682ed0efd8ffaa39b1a3ee716217923c7dd + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/configs/calado2016_fig1f.yaml + path: perovskite-sim/configs/calado2016_fig1f.yaml + sha256: 825d77f15bcfb3e550cc601231a9b6ce07ca11fe185a3eb7d7ef121d54c0ec2a + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/configs/calado2016_ion_sweep.yaml + path: perovskite-sim/configs/calado2016_ion_sweep.yaml + sha256: 2b436f161a62c9edb2f0b1bbbcf0d2d6a5f27471d2a5d296952173c4baadea9c + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/fixtures/configs/distributed_defect_qf_dc_pn.yaml + path: perovskite-sim/tests/fixtures/configs/distributed_defect_qf_dc_pn.yaml + sha256: 7a6b1c16d8ea313177e3a761660bd6b7bbb546b14aa23189f91a9187ff0904f8 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/fixtures/configs/dynamic_defect_ion_impedance.yaml + path: perovskite-sim/tests/fixtures/configs/dynamic_defect_ion_impedance.yaml + sha256: 0b7424e4170d7d3792f40f97361edee3a881a04a39ad3a549fb7de621798422a + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/fixtures/configs/dynamic_interface_defect_ion_transient.yaml + path: perovskite-sim/tests/fixtures/configs/dynamic_interface_defect_ion_transient.yaml + sha256: 7aa464bc4772030318ebfa5fa7eb293e346ddf33f70f74083ba120f4240fd7c8 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/fixtures/configs/dynamic_interface_defect_ion_transient_absorber_only.yaml + path: perovskite-sim/tests/fixtures/configs/dynamic_interface_defect_ion_transient_absorber_only.yaml + sha256: f617f230b2d9c144573394e38fcc313225dc84c7b38f7670b97e9a0a7cc12a24 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/fixtures/configs/graded_distributed_defect_qf_dc_pn.yaml + path: perovskite-sim/tests/fixtures/configs/graded_distributed_defect_qf_dc_pn.yaml + sha256: b6db3b87c509bafc7dae5e84640b12a0277668d612b4f9933f848a3ad99a715f + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/fixtures/configs/field_mobility_demo.yaml + path: perovskite-sim/tests/fixtures/configs/field_mobility_demo.yaml + sha256: 7ca86a8d5d35c50d0892de55e2375eaf8e9d0966477cd378ace6cae1a5e88edd + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/fixtures/configs/interface_charge_reference.yaml + path: perovskite-sim/tests/fixtures/configs/interface_charge_reference.yaml + sha256: 300f57a256dc764995b916a55b98b642ecd8244eccd2ca456624d9521e0e2705 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/fixtures/configs/interface_charge_jv_research.yaml + path: perovskite-sim/tests/fixtures/configs/interface_charge_jv_research.yaml + sha256: 5f4bbf89cf2d95fb020cdc9ade111d838ed38cc1c14a722e5fd800e30c6590c1 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/fixtures/configs/interface_charge_research.yaml + path: perovskite-sim/tests/fixtures/configs/interface_charge_research.yaml + sha256: 523449448807e4993f999300308096003c3eeaf280924b7af208915a3cf41a54 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/fixtures/configs/ionmonger_benchmark.yaml + path: perovskite-sim/tests/fixtures/configs/ionmonger_benchmark.yaml + sha256: fbc82c9b85d121c459ab08d07d1c7f886eef36f4db669d354b79d260f43c8750 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/fixtures/configs/ionmonger_benchmark_tmm.yaml + path: perovskite-sim/tests/fixtures/configs/ionmonger_benchmark_tmm.yaml + sha256: 09728fba308a206b3bdcd0874fdfc1775ac125dcfa42d10f70e9db8887c46fea + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/fixtures/configs/ionmonger_courtier2019_repro.yaml + path: perovskite-sim/tests/fixtures/configs/ionmonger_courtier2019_repro.yaml + sha256: ea88b2d05bca4f617b001092630b3de6e55293b6707c7083c7ee25efa3a5242f + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/fixtures/configs/nip_MAPbI3.yaml + path: perovskite-sim/tests/fixtures/configs/nip_MAPbI3.yaml + sha256: 20fa8a8097c965330ce7b0d7e8f9286fc1960585231c360841d24ba7a1845668 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/fixtures/configs/nip_MAPbI3_tmm.yaml + path: perovskite-sim/tests/fixtures/configs/nip_MAPbI3_tmm.yaml + sha256: 4624f6923ffc10fbd401ce37702250f72b558d3e4ecdbd5d8e766ab84e21b1b2 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/fixtures/configs/nip_SnPb_1p22.yaml + path: perovskite-sim/tests/fixtures/configs/nip_SnPb_1p22.yaml + sha256: 2b5271f1c0f943074ea8de647e0e57c1d456e43f785e6123eb73d616c3e11c1d + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/fixtures/configs/nip_wideGap_FACs_1p77.yaml + path: perovskite-sim/tests/fixtures/configs/nip_wideGap_FACs_1p77.yaml + sha256: 063c10f521a9943bd63728687ca383b2693ae437071aaedbeb98cdbe26e96147 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/fixtures/configs/pin_MAPbI3.yaml + path: perovskite-sim/tests/fixtures/configs/pin_MAPbI3.yaml + sha256: 3881eda9e5d7d4c71e1215e11b01f113a4764b1c74b4932e4c7932f69eb3d605 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/fixtures/configs/pin_MAPbI3_tmm.yaml + path: perovskite-sim/tests/fixtures/configs/pin_MAPbI3_tmm.yaml + sha256: 984b5f8bb9858994a1100de70896fc4a9474b43ef1857d633beb14f75a9a22df + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/fixtures/configs/radiative_limit.yaml + path: perovskite-sim/tests/fixtures/configs/radiative_limit.yaml + sha256: 8d529e4321fb1bb3c32d1d516946aa768f641982d4ab6e12059c46fa5e1fb8c9 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/fixtures/configs/scaps_defect_m1_double_donor_p.yaml + path: perovskite-sim/tests/fixtures/configs/scaps_defect_m1_double_donor_p.yaml + sha256: 43516a15f6ceeb6ba5fb4381c789e1c073ead4b101081d583da60c4bf9407290 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/fixtures/configs/scaps_defect_m2_double_acceptor_n.yaml + path: perovskite-sim/tests/fixtures/configs/scaps_defect_m2_double_acceptor_n.yaml + sha256: 32c7828624f482259d681aeca4d148d882483719de43dc72ce0b117d4f27d223 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/fixtures/configs/scaps_defect_m3_amphoteric_i.yaml + path: perovskite-sim/tests/fixtures/configs/scaps_defect_m3_amphoteric_i.yaml + sha256: 7e772e2e92a5d862ac8b54f0b5cd684829bbe9ae34eb3aee607ab78a3586915c + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/fixtures/configs/scaps_defect_s0_neutral.yaml + path: perovskite-sim/tests/fixtures/configs/scaps_defect_s0_neutral.yaml + sha256: 77b89e16c365cd5c4cf9f7aa439f0200ec9ad9b814e60bbe81895afef65025c7 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/fixtures/configs/scaps_defect_s1_acceptor_n.yaml + path: perovskite-sim/tests/fixtures/configs/scaps_defect_s1_acceptor_n.yaml + sha256: f49900b296a2bfb3c5a28d9135b24dcf8f0d6c409f105a70d4dd27100ebcb681 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/fixtures/configs/scaps_defect_s2_donor_p.yaml + path: perovskite-sim/tests/fixtures/configs/scaps_defect_s2_donor_p.yaml + sha256: 7fff245d23a99cb1128124d073269a3b3f1d8ee9a9f07730ce558ab4eb3d8066 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/fixtures/configs/scaps_mirror.yaml + path: perovskite-sim/tests/fixtures/configs/scaps_mirror.yaml + sha256: 7ad4968d9c8249b76ca4e649d41c39e26727f6818cb81a15fe75f6b74b11b881 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/configs/scaps_mirror_v2.yaml + path: perovskite-sim/configs/scaps_mirror_v2.yaml + sha256: 5500c9485f6a9518430511019546933277cdc3274fd3a005182394f39d2fcf67 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/fixtures/configs/scaps_mirror_v2_robin_moderate.yaml + path: perovskite-sim/tests/fixtures/configs/scaps_mirror_v2_robin_moderate.yaml + sha256: 2d0d25a59802cac9c85f2b4a84ee49f9b42100fe0f87cb00f647462b475a0f95 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/fixtures/configs/scaps_mirror_v2_robin_strong.yaml + path: perovskite-sim/tests/fixtures/configs/scaps_mirror_v2_robin_strong.yaml + sha256: 2b35b8e0a8efdc1e3432dc55b00f03b6f6bcf53d43e699502ef3c903152057ee + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/fixtures/configs/selective_contacts_demo.yaml + path: perovskite-sim/tests/fixtures/configs/selective_contacts_demo.yaml + sha256: 731b5a77435484ff638183e83e77a7479da4c7b16aadfe79f15ae966764f682d + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/fixtures/configs/solarscale_nip_band_aligned.yaml + path: perovskite-sim/tests/fixtures/configs/solarscale_nip_band_aligned.yaml + sha256: 8b0d9cadfb1d198cf32ea647c95ed25fa38928d8b2f5770bcf49902114402088 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/fixtures/configs/solarscale_nip_band_aligned_iface.yaml + path: perovskite-sim/tests/fixtures/configs/solarscale_nip_band_aligned_iface.yaml + sha256: 538fed52f0d40123ecc1b8a4c1391616f9f35a93637157f3374e90fc8f43c344 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/fixtures/configs/tandem_lin2019.yaml + path: perovskite-sim/tests/fixtures/configs/tandem_lin2019.yaml + sha256: 2eb26eb1902d0b9fbaf6e1b019dc79a163d2989adb13654c90ef508b4fdaded0 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/fixtures/configs/twod/bcx_combined_demo.yaml + path: perovskite-sim/tests/fixtures/configs/twod/bcx_combined_demo.yaml + sha256: de41a3ea4547a2c97a4327f2c2edaeab4b162e6a51ed43aae4e40ef3047c46dc + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/fixtures/configs/twod/combined_mobile_interface_research.yaml + path: perovskite-sim/tests/fixtures/configs/twod/combined_mobile_interface_research.yaml + sha256: 08b0593cbd4e1c11d4603b521ddfb2e4590ef4daa41fbfa7fe4eac857eb606d1 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/fixtures/configs/twod/nip_MAPbI3_singleGB.yaml + path: perovskite-sim/tests/fixtures/configs/twod/nip_MAPbI3_singleGB.yaml + sha256: 01870c441a410f0c99a6d71ee363e862798ee05fdaaf03156bb657a16b6cf5b6 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/fixtures/configs/twod/nip_MAPbI3_uniform.yaml + path: perovskite-sim/tests/fixtures/configs/twod/nip_MAPbI3_uniform.yaml + sha256: 6a7e0022575e680e3b4348774eb604c3273930b7a0fe210994e6532cd6d59dcb + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/perovskite_sim/data/am15g.csv + path: perovskite-sim/perovskite_sim/data/am15g.csv + sha256: efa3f5ef4e71fbbd981e2741c296ee461b2421f50fa4819ba64a6cb026fae6a8 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/perovskite_sim/data/layer_templates.yaml + path: perovskite-sim/perovskite_sim/data/layer_templates.yaml + sha256: 6a3dc2be4af2f2967230d17c7b39ff2be87bd3eec225eaa669520149189c3e5d + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/perovskite_sim/data/references/csi_pn_cv_intercept.yaml + path: perovskite-sim/perovskite_sim/data/references/csi_pn_cv_intercept.yaml + sha256: 14e38316eea8c65e1af81e578198f3c07dbacfb86ef239157840d519bf6320d7 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/perovskite_sim/data/references/csi_vannijen2025_pn_cv.yaml + path: perovskite-sim/perovskite_sim/data/references/csi_vannijen2025_pn_cv.yaml + sha256: b4cd86bc232bd9b22a8aee80e564d9c3a19899f93cdb413965e801d3fab7c81c + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/perovskite_sim/data/nk/manifest.yaml + path: perovskite-sim/perovskite_sim/data/nk/manifest.yaml + sha256: 9fa638d24385a4602a8752a26a9affd55c9083e9680024902a7bd430f5c76ea1 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/perovskite_sim/data/nk/Ag.csv + path: perovskite-sim/perovskite_sim/data/nk/Ag.csv + sha256: 4df8c2b7ca90d24be74477bc9e8a27ef83c2e7d42e2885465cdd87c70abbd3f3 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/perovskite_sim/data/nk/Au.csv + path: perovskite-sim/perovskite_sim/data/nk/Au.csv + sha256: f573ae5583ec88e572b97bac5bf4f4629e17ad2d52c5ed7d8afc815d952ee7f1 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/perovskite_sim/data/nk/C60.csv + path: perovskite-sim/perovskite_sim/data/nk/C60.csv + sha256: 60f7accc2cb26faac8d041861d1c4be5a15c244480c0e6d920acc980d938a68d + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/perovskite_sim/data/nk/Cu.csv + path: perovskite-sim/perovskite_sim/data/nk/Cu.csv + sha256: 09fd0124c6d015d975a5eca1e9973b8416f02194e54df2cae63a322fbb013824 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/perovskite_sim/data/nk/FA_Cs_1p77.csv + path: perovskite-sim/perovskite_sim/data/nk/FA_Cs_1p77.csv + sha256: 0ee7387604904b252319a8e538bac101af3dad2b5c8a05b50fa2bda883578013 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/perovskite_sim/data/nk/FTO.csv + path: perovskite-sim/perovskite_sim/data/nk/FTO.csv + sha256: 481cc65eb23e22cebe924324cbe9f4553a09c53a8f3429d1600fad1c7bd6e1e9 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/perovskite_sim/data/nk/ITO.csv + path: perovskite-sim/perovskite_sim/data/nk/ITO.csv + sha256: d75e26ff9979d7db96b45035a3540914a1fb9ca3cf2cde3c3edaead70c3cef2e + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/perovskite_sim/data/nk/MAPbI3.csv + path: perovskite-sim/perovskite_sim/data/nk/MAPbI3.csv + sha256: 3e5e2b19c5563ba8132ab949270831c0aaa660be38aa26070c364a7414b9f6c7 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/perovskite_sim/data/nk/NiOx.csv + path: perovskite-sim/perovskite_sim/data/nk/NiOx.csv + sha256: b01357aca6a8eee41b2e22c87ec8ab5be4eca67254becf76af92d268ece8be81 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/perovskite_sim/data/nk/PCBM.csv + path: perovskite-sim/perovskite_sim/data/nk/PCBM.csv + sha256: b03a78c4b97e2f8472266f4d3b5e7c9e1f23526531edd68b9dc80f95cd91ba56 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/perovskite_sim/data/nk/PEDOT_PSS.csv + path: perovskite-sim/perovskite_sim/data/nk/PEDOT_PSS.csv + sha256: 0ccca48126dd4d27053e6c154f398c32873d0b935c40a3cda5672979cd578eb3 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/perovskite_sim/data/nk/SnO2.csv + path: perovskite-sim/perovskite_sim/data/nk/SnO2.csv + sha256: f3ba07ff715ceca647099c67eb478bad1281e0cb20d9118591f9b566938bafa2 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/perovskite_sim/data/nk/SnPb_1p22.csv + path: perovskite-sim/perovskite_sim/data/nk/SnPb_1p22.csv + sha256: 29ab6df37a81e4425cbcaba4ea11df94e2117a0228ebd3a39fe38a9ca7d2799f + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/perovskite_sim/data/nk/TiO2.csv + path: perovskite-sim/perovskite_sim/data/nk/TiO2.csv + sha256: d0773f2042cff4819d432fd07fbc560f2f894afa51fe2dc42f54aa4db24b2de6 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/perovskite_sim/data/nk/glass.csv + path: perovskite-sim/perovskite_sim/data/nk/glass.csv + sha256: 767eeb506dab6f90722a61178649b5c59eb767a915a759db8d30b9160b8d452d + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/perovskite_sim/data/nk/spiro_OMeTAD.csv + path: perovskite-sim/perovskite_sim/data/nk/spiro_OMeTAD.csv + sha256: 45d4eff61f7be07371ce089b7d665bd670bf4e05e2c2950baab8592a9adccd31 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/reproducibility/test_matrix.py + path: perovskite-sim/tests/reproducibility/test_matrix.py + sha256: 8fdf0c4a63a8cd28be91002090a8357c49ed0b483f3dad1ecfe0c4dd07ae2498 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/regression/test_tolerance_grid_refinement.py + path: perovskite-sim/tests/regression/test_tolerance_grid_refinement.py + sha256: 1315df4db5dc09beebe293629e042406ff56c701491ef9ec567229a35c223995 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/unit/validation/test_refinement_executors.py + path: perovskite-sim/tests/unit/validation/test_refinement_executors.py + sha256: b3da804ee34c977891951564c1d71d354a304a356db66c0851d20dfd336e9bd5 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py + path: perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py + sha256: c051719cd0e25ed9a851ef4a0369c2bc9a4d9eddff71997ea3b081090066457a + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/unit/validation/test_interface_charge_stress.py + path: perovskite-sim/tests/unit/validation/test_interface_charge_stress.py + sha256: 1504a10d1bf7c35532c251f3c7417dcdb7380644ff4fa3e79e8737acfc0e3138 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/unit/sweeps/test_interface_defect_sweep.py + path: perovskite-sim/tests/unit/sweeps/test_interface_defect_sweep.py + sha256: ec30ea88aa9b8f3175808af5356b0389af436760d59e24a9fc26fe12124b28b2 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py + path: perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py + sha256: ed915eef1fa7f63ee1b774fd798e1cadcbdb5afb45707be6c1af46328eb7521f + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py + path: perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py + sha256: 4ccbc045ce2d7c91f26d0a19024f515a34c80e7cb6ce92aa9c1e05cdd7ffda8e + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/validation/test_paper_configurations.py + path: perovskite-sim/tests/validation/test_paper_configurations.py + sha256: a6889042842095ced7f3d8d24d6c5e478a6c7335051b42a98cf8bd775d4d4b6a + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/integration/test_tandem_lin2019.py + path: perovskite-sim/tests/integration/test_tandem_lin2019.py + sha256: 050d91e5ada7f625d4e706f06793d140158f6b23ab4b6614c64cabf07eee68bb + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/regression/test_mesh_convergence.py + path: perovskite-sim/tests/regression/test_mesh_convergence.py + sha256: 1f82b82527137b61a34b55e371ef727d606dfa070cfd734d1574db5ff44fe9b9 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/regression/test_p1_steady_state_mesh_convergence.py + path: perovskite-sim/tests/regression/test_p1_steady_state_mesh_convergence.py + sha256: 956a52da2a10e93fc90acae028e2dfa2214082000dbe7e343f75de769282a30a + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/regression/test_tmm_baseline.py + path: perovskite-sim/tests/regression/test_tmm_baseline.py + sha256: 70d6dc28667ff97ad787327a8800d954bdb0c4de56d9f8d40e45910f3cf9fe46 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/regression/test_twod_validation.py + path: perovskite-sim/tests/regression/test_twod_validation.py + sha256: ad80439a36fe05704b8a8c6120452bafe84a071437a7fb120e6b348201886ccd + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/integration/test_twod_combined_refinement.py + path: perovskite-sim/tests/integration/test_twod_combined_refinement.py + sha256: 87a77097b4cdaacb47c0763f2e430306fe09f8e59939f2ef437a3d737f3720ee + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/unit/validation/test_twod_combined_refinement.py + path: perovskite-sim/tests/unit/validation/test_twod_combined_refinement.py + sha256: b6a45c4e1d82f9c0c6b5333ff1e7b24fe075bbd3f6572947af51c90b6c7c22c5 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/integration/test_external_circuit_refinement.py + path: perovskite-sim/tests/integration/test_external_circuit_refinement.py + sha256: 25319fc8ce4d3c090c7c12af166b219e3cc967d94b7765d1f169c4be0671294c + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/unit/validation/test_external_circuit_refinement.py + path: perovskite-sim/tests/unit/validation/test_external_circuit_refinement.py + sha256: 425b2654955a9a7d55124595dd45d1d6e8fb1c9a15d413fc2108238793134643 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/integration/test_scaps_mirror_cbo_trend.py + path: perovskite-sim/tests/integration/test_scaps_mirror_cbo_trend.py + sha256: b3fe147e70577ecc1c045fe76513fc1b53eb9f2f3d46d2784193628e4806e398 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/regression/test_grading_cigs_notch.py + path: perovskite-sim/tests/regression/test_grading_cigs_notch.py + sha256: 7c3b101ef973cfab53e8c4c4bfb2c38a64ed5a5c91d529e83fae21ec0920efc0 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/integration/test_cigs_graded_optics.py + path: perovskite-sim/tests/integration/test_cigs_graded_optics.py + sha256: 28bc9f956a021822eb9faf656ac4c7a8e98b73707fa4d417393f64e8f2014fb3 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/unit/validation/test_cigs_optics_refinement.py + path: perovskite-sim/tests/unit/validation/test_cigs_optics_refinement.py + sha256: f390e40c52008e31ca4f8d54416a212028e740926778a76d6dcde3656a135035 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/regression/test_csi_grid_envelope.py + path: perovskite-sim/tests/regression/test_csi_grid_envelope.py + sha256: 6afedf5488fb7c1826cbd02ca0e04982598a72312ec00f3dba6e0899dab09c99 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/integration/backend/test_user_configs_api.py + path: perovskite-sim/tests/integration/backend/test_user_configs_api.py + sha256: 3a8c71165b1f08c0988615b6dc06c910a52974bc49731e7b578aa11c96097733 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/unit/experiments/test_jv_driver_capability.py + path: perovskite-sim/tests/unit/experiments/test_jv_driver_capability.py + sha256: caeb2914f4e61f3c3d247da985d2144cdc927e546ffa4693588623638ca97acd + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/unit/backend/test_solver_dispatch.py + path: perovskite-sim/tests/unit/backend/test_solver_dispatch.py + sha256: 9b255f0b3ef5f49727404817bd1fb711e0a448d57ca2db907b6a4cf6164b0556 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/regression/test_csi_generic_state_cancellation.py + path: perovskite-sim/tests/regression/test_csi_generic_state_cancellation.py + sha256: 817a5afa9c60e4c01e622567661c7b988cc579701408a9724a75fceef6c06589 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py + path: perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py + sha256: 732d2dc3ea15d875bfcca226cc36532b5f464597a3c78917a48dcedc3593d0a1 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py + path: perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py + sha256: e7de07eceed77c4356a758d317baf9996a9f97c1db5368a1c04e8cc7caf65ebd + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/validation/test_csi_vannijen2025_cv.py + path: perovskite-sim/tests/validation/test_csi_vannijen2025_cv.py + sha256: 6d8c9fb09802a83f3594ac4b8a66cfa758c0800651d2b7a1305cde7f3d5ae490 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/unit/experiments/test_steady_state.py + path: perovskite-sim/tests/unit/experiments/test_steady_state.py + sha256: 1bd95145058440d09a46c16a27aee490749dc5d51ce9ba8b91b9eff4a33ee17c + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/unit/physics/test_degenerate_transport.py + path: perovskite-sim/tests/unit/physics/test_degenerate_transport.py + sha256: 6834fee203cec300d0f2d24e3e30a62bf3982ea8247361cabf560f05eabd9611 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py + path: perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py + sha256: 1798e8af9794fe0c8fe2f9e4ed02ddcf2d304dc516a4b9d2f3651e1485a4bdfb + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/unit/validation/test_degenerate_refinement.py + path: perovskite-sim/tests/unit/validation/test_degenerate_refinement.py + sha256: c597e964303d96ddea72e38774b82b9684b69b7082be1d7c7456f18b94fc00b9 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/unit/physics/test_statistics.py + path: perovskite-sim/tests/unit/physics/test_statistics.py + sha256: 915e5773ffd805b8f8f13e0fa7f6288ed5289b775a4c402e1859b7b666be7c9c + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/unit/physics/test_contact_statistics.py + path: perovskite-sim/tests/unit/physics/test_contact_statistics.py + sha256: ac8c7717528263829774ff1ba9187f8c032475e11cfad3db608eacd03b2e18b4 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/unit/validation/test_incomplete_ionization_refinement.py + path: perovskite-sim/tests/unit/validation/test_incomplete_ionization_refinement.py + sha256: f0971da57a4e50a51c23e2c077ca87e0938977e4fb1180b5cd915a567dc445a0 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/unit/physics/test_band_gap_narrowing.py + path: perovskite-sim/tests/unit/physics/test_band_gap_narrowing.py + sha256: 381aef0d7abc3e4e3ef97063725737f8675b46f25dc54c5e17e3e433f2e62ceb + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/unit/validation/test_bgn_refinement.py + path: perovskite-sim/tests/unit/validation/test_bgn_refinement.py + sha256: ce65c9cfe8f8b4403b6c9a895e555722721290a1a4d9aa8be17917e674ac1ef3 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/unit/physics/test_bulk_traps.py + path: perovskite-sim/tests/unit/physics/test_bulk_traps.py + sha256: 8f251e69c7cc59e151ffdf22a798007f17dc79ffc4aab3d91fd217bf9c5db38e + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/unit/models/test_bulk_trap_schema.py + path: perovskite-sim/tests/unit/models/test_bulk_trap_schema.py + sha256: 2ace6903f6788c74b52a541c92626123dc2958d56ecf703f866822dde09fd876 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/unit/solver/test_bulk_trap_equilibrium.py + path: perovskite-sim/tests/unit/solver/test_bulk_trap_equilibrium.py + sha256: 177f6b0abfedd0521231ff665e2e0780f886bcd863e0677f43c6a5852426784c + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/unit/validation/test_bulk_trap_refinement.py + path: perovskite-sim/tests/unit/validation/test_bulk_trap_refinement.py + sha256: 8203bed826898e45e589e8afb3c39b51120cd5c7ba0f972e2ee86060a378ad4b + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/unit/experiments/test_dynamic_defect_impedance.py + path: perovskite-sim/tests/unit/experiments/test_dynamic_defect_impedance.py + sha256: 1ac676ee6d2da5a9af0713cb23041ce606dafa2754fc4aadbc97bfecb6963feb + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/integration/test_dynamic_defect_impedance.py + path: perovskite-sim/tests/integration/test_dynamic_defect_impedance.py + sha256: 9f09812d69177e475ca15b300ebeee3087281fe287e6c0c30e637ef1dc195601 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/integration/test_dynamic_defect_impedance_api.py + path: perovskite-sim/tests/integration/test_dynamic_defect_impedance_api.py + sha256: b5299272f9ddd7249947f4b112ed18870f5b6c4f4a6e2637cee31cd0df18811b + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/unit/physics/test_dynamic_storage.py + path: perovskite-sim/tests/unit/physics/test_dynamic_storage.py + sha256: c64d413721ca87074eaa3a4524b504026c262356e5a2ced0834c5ae106c62df1 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py + path: perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py + sha256: b9f5abf5bba35da64353f3d90d0ebdcdcffc48abce09bc820c71a2f23356841c + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/integration/test_interface_defect_ion_transient.py + path: perovskite-sim/tests/integration/test_interface_defect_ion_transient.py + sha256: f400ae246a2d1daad561901370026b9ea13e2724c656c7b99ea1943d1468df74 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/unit/experiments/test_dynamic_defect_transient.py + path: perovskite-sim/tests/unit/experiments/test_dynamic_defect_transient.py + sha256: dc8263f2c846fad445ed82e3890623740b4c9882568df5931e3f7d42434bab4f + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/integration/test_dynamic_defect_transient.py + path: perovskite-sim/tests/integration/test_dynamic_defect_transient.py + sha256: 0fd4b533cbe9e113a3712df0223c6f1e11b81e430a276ce18f55c213601a4937 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/unit/backend/test_dynamic_defect_transient_api.py + path: perovskite-sim/tests/unit/backend/test_dynamic_defect_transient_api.py + sha256: 31ec444bc28c359f9009345048b379c98621c9fb80cfaacc4523c752ebd38d88 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/integration/test_dynamic_defect_transient_api.py + path: perovskite-sim/tests/integration/test_dynamic_defect_transient_api.py + sha256: 375f71f7fa31487373b468a3720ec70f890592b2f38fe1f6a49bdb20a3ed840c + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/unit/physics/test_wkb_tunneling.py + path: perovskite-sim/tests/unit/physics/test_wkb_tunneling.py + sha256: e209fac79d9878ea401dc3117ff848c45a6dd3551b107660ef20e07b85a39149 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/unit/physics/test_wkb_local_windows.py + path: perovskite-sim/tests/unit/physics/test_wkb_local_windows.py + sha256: 3d0feb547b1bbcaad41500a252b0e1221f549a56b219a8f11baff6ba39a4a6fa + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/unit/physics/test_tunneling_channels.py + path: perovskite-sim/tests/unit/physics/test_tunneling_channels.py + sha256: 0d4c56374ec659fd83d03babadb7eabe4556321c28bf3a7427c5f1d5c9f95378 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/integration/test_tunnelling_channels_device.py + path: perovskite-sim/tests/integration/test_tunnelling_channels_device.py + sha256: 8b82c35f6f05f22b0eb00f1ec941e850ce1d52fe5f53c9d0907b957c7486d9b8 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/unit/validation/test_tunnelling_channel_refinement.py + path: perovskite-sim/tests/unit/validation/test_tunnelling_channel_refinement.py + sha256: c74dfbc45323b9363259783dcb343d150fec06269cb58dfaf6c7bd7b0ebe0c5f + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/unit/physics/test_tunnelling_physical_levels.py + path: perovskite-sim/tests/unit/physics/test_tunnelling_physical_levels.py + sha256: 47c271e8e3234b7ad0152dae6211d08342c6ab4b2cbfa85fae89546c675fd9d8 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/unit/physics/test_wkb_turning_point_action.py + path: perovskite-sim/tests/unit/physics/test_wkb_turning_point_action.py + sha256: af0fd2b756fab5371ab5e0e48aa72f28f962af059ff07522899f711936e014bf + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/unit/physics/test_intraband_nonlocal_transfer.py + path: perovskite-sim/tests/unit/physics/test_intraband_nonlocal_transfer.py + sha256: 195045ed0cbad90e2e7deba1bc0c384780555d7943de7d4048ef028a3bea92b4 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/unit/validation/test_resolved_tunnelling_refinement.py + path: perovskite-sim/tests/unit/validation/test_resolved_tunnelling_refinement.py + sha256: 2b8caf83a10dcdfe1bc97839508bfe0ad1c77946c287046a3240356bdc1067f3 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/unit/validation/test_foundation_reference_refinement.py + path: perovskite-sim/tests/unit/validation/test_foundation_reference_refinement.py + sha256: ff57c80cb62abce866b2e0d1072e9909099fd8223cb00cfcb9e1940774aa36b9 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/unit/validation/test_foundation_reference_sampling.py + path: perovskite-sim/tests/unit/validation/test_foundation_reference_sampling.py + sha256: 3deb7c9344c001712d542f2d6e56d99a0602126df0bb8e54eb1d435a078abf34 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/integration/test_tpv_open_circuit_refinement.py + path: perovskite-sim/tests/integration/test_tpv_open_circuit_refinement.py + sha256: ef6f29fc7d51ac6e3d036c869744ee81a837798164d3388cbfb0e31e118ebbc3 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/integration/test_foundation_tpv_spatial_refinement.py + path: perovskite-sim/tests/integration/test_foundation_tpv_spatial_refinement.py + sha256: 2f4215c817c2ab1a412fef97923bfad87ab55e0a9774ff6b0b99f6d430ca9a08 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/integration/test_degradation_snapshot_refinement.py + path: perovskite-sim/tests/integration/test_degradation_snapshot_refinement.py + sha256: ecdf042f3c92a4135b8acef933702c5108f3cdd2a9f378cd9fbcd7386435f672 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/unit/experiments/test_degradation_frozen_ions.py + path: perovskite-sim/tests/unit/experiments/test_degradation_frozen_ions.py + sha256: f997629f8a5e79035e0f09bd40d9606b08988628e2af882fcb7d4c584039817e + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/unit/validation/test_accepted_trajectory.py + path: perovskite-sim/tests/unit/validation/test_accepted_trajectory.py + sha256: 2df8b07811aa6a5f5b38f2d8a7303cf95b6b9f685187d32cb94dd2377c4da663 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/integration/test_foundation_mobile_refinement.py + path: perovskite-sim/tests/integration/test_foundation_mobile_refinement.py + sha256: 7bfe34a63a4b831409f5aab5f4b7016a2d3d287920f7a8cb8f4bc91c4dbf37a8 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/integration/test_foundation_twod_axis_refinement.py + path: perovskite-sim/tests/integration/test_foundation_twod_axis_refinement.py + sha256: 90fbe9ebb86ccb23f1f946f1374ff78a9d529339bce16e3468a8cc4378163497 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/integration/twod/test_jv_sweep_2d_microstructure.py + path: perovskite-sim/tests/integration/twod/test_jv_sweep_2d_microstructure.py + sha256: c91c91e4e2e7bc70135cf21df42c0a856514298df2e09e12cee841c506502fae + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/unit/models/test_multivalent_defect_schema.py + path: perovskite-sim/tests/unit/models/test_multivalent_defect_schema.py + sha256: 845e84ad77d3429e833e2d84a01bbb7bba01cd7ab41429e1ac10dbbfce39da0a + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/unit/models/test_multivalent_defect_loader.py + path: perovskite-sim/tests/unit/models/test_multivalent_defect_loader.py + sha256: 6c7414e07e742f084044f4341cb333d4d5aa2a5c116f186f7c56916af54cf79e + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/unit/physics/test_multivalent_defect_closure.py + path: perovskite-sim/tests/unit/physics/test_multivalent_defect_closure.py + sha256: bc4bb57fd0ab87d000dbb2c8f5693a8bf5e943da0c9a244d43910de1e15a21f6 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/unit/physics/test_multivalent_defect_device.py + path: perovskite-sim/tests/unit/physics/test_multivalent_defect_device.py + sha256: 46a462d6b9579d5c1b72d5ff71d11802cc835971ddd5e307a037f56c5f3f56c6 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/integration/test_multivalent_explicit_defects_qf.py + path: perovskite-sim/tests/integration/test_multivalent_explicit_defects_qf.py + sha256: ee9cfaf9bdf99214603e5f1bd1708cd4759372a3e14bbe33fe3075f6edcd5ee0 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/unit/validation/test_multivalent_defect_refinement.py + path: perovskite-sim/tests/unit/validation/test_multivalent_defect_refinement.py + sha256: 1883fd0e1ce16cb80b2ebe270560726913295b323e9e1790018d55de73dafe75 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/unit/models/test_explicit_defect_schema.py + path: perovskite-sim/tests/unit/models/test_explicit_defect_schema.py + sha256: 05a2bd6261cbe1af21ef3cd7c32e22ad61684d3c46fb11149b040dce0a5d3fdd + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/unit/physics/test_monovalent_defect_closure.py + path: perovskite-sim/tests/unit/physics/test_monovalent_defect_closure.py + sha256: 0efd3f56e5cf5f7440d3c7a117033ed8b9873b51fc7ac00ee3cdbeb2450ac456 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py + path: perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py + sha256: ea5ba30ac493eac2f6f77b02e4fbbd3fb1e6baddc6727a25bcf3c82b4757fccb + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/unit/validation/test_charged_defect_refinement.py + path: perovskite-sim/tests/unit/validation/test_charged_defect_refinement.py + sha256: 39a1ac7e889d10fb5ce7b2efd79f4215b79555ea27611bd43ddc0ae2b67d212b + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/unit/validation/test_import_scaps_defect_reference.py + path: perovskite-sim/tests/unit/validation/test_import_scaps_defect_reference.py + sha256: d671874893102ac6a7a982d5d948a4bc28d12df17e934959eaa4f123404ed64e + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/unit/physics/test_defect_distributions.py + path: perovskite-sim/tests/unit/physics/test_defect_distributions.py + sha256: 0df5e547acd7d7a1cdfd436c699fa2eccbbf011427c61744c98a03bb6690ed6c + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/unit/physics/test_distributed_defect_closure.py + path: perovskite-sim/tests/unit/physics/test_distributed_defect_closure.py + sha256: d90062218499940df53214ba591b7784847f53896a37361c5e4f58b140bc1e9e + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/unit/physics/test_distributed_defect_device.py + path: perovskite-sim/tests/unit/physics/test_distributed_defect_device.py + sha256: ec82b454d816f197f92c920f9389fa22f79021d7890bed9b7c0508d5a7f44260 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/unit/validation/test_distributed_defect_refinement.py + path: perovskite-sim/tests/unit/validation/test_distributed_defect_refinement.py + sha256: 3dbd87674a52a06712940c49def0bfe701baf65962590abac914c42f0893bb15 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/integration/test_spatially_graded_explicit_defects_qf.py + path: perovskite-sim/tests/integration/test_spatially_graded_explicit_defects_qf.py + sha256: b22b39212ccdf1de8e4243078bb227ded7f498b2dad4c979620cd92ebaa4c7bf + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/tests/unit/validation/test_spatial_defect_refinement.py + path: perovskite-sim/tests/unit/validation/test_spatial_defect_refinement.py + sha256: 08ebf37928dfd7f649568a5fa8796ab71d6cf6edcdddc28edace2fc611993f6c + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/perovskite_sim/validation/refinement_executors.py + path: perovskite-sim/perovskite_sim/validation/refinement_executors.py + sha256: 9e9730acefe72cc7dd9991e47f65624f37d875101795e85d2fc63d885ca4d40c + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/perovskite_sim/validation/dynamic_defect_transient_refinement.py + path: perovskite-sim/perovskite_sim/validation/dynamic_defect_transient_refinement.py + sha256: b7b87088a5de7af25bd77a15897f5641dad707da06d4073606b3536595e495c1 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/perovskite_sim/validation/external_circuit_refinement.py + path: perovskite-sim/perovskite_sim/validation/external_circuit_refinement.py + sha256: cb8453da1c93bc1c47ecbd61a70ecffe0d4eba50a8bd42a0c2e162da085143a7 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/perovskite_sim/validation/electrothermal_refinement.py + path: perovskite-sim/perovskite_sim/validation/electrothermal_refinement.py + sha256: 07010dc8c5ff08fa75a88fbff0d8210c8e878c25253bfb4ad942db5ad68477c3 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/perovskite_sim/validation/interface_charge_stress.py + path: perovskite-sim/perovskite_sim/validation/interface_charge_stress.py + sha256: ea765551cf56cbcfd64bd623fa95996b9c789836e8b2c48c2d0b24056a459994 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/perovskite_sim/validation/dae_refinement.py + path: perovskite-sim/perovskite_sim/validation/dae_refinement.py + sha256: a8cf931308f66c5184d852f4457dd29ba6f5b46d981c21cda7a1ad5104076303 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/perovskite_sim/validation/dae_ion_refinement.py + path: perovskite-sim/perovskite_sim/validation/dae_ion_refinement.py + sha256: 178482916aa1a7c8cc7af87ce4afdab722da1cd0ee882d336a4cf73e609faea5 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/perovskite_sim/validation/dae_dual_ion_refinement.py + path: perovskite-sim/perovskite_sim/validation/dae_dual_ion_refinement.py + sha256: 9f8727804890fa6ce487f9302c14d75a8472fb44644f7fd151d3a2b4b2168265 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/perovskite_sim/validation/dae_interface_refinement.py + path: perovskite-sim/perovskite_sim/validation/dae_interface_refinement.py + sha256: b99bcf748f7c7321379eb16fe2ec62ee4676dbe200cd0fd9b94b79644eca7159 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/perovskite_sim/validation/dae_ion_interface_refinement.py + path: perovskite-sim/perovskite_sim/validation/dae_ion_interface_refinement.py + sha256: 9e9ca60cb1b64b20ee3c912753c4ab72c71b7e2f9a5c46952315b2e722fca725 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/perovskite_sim/validation/degenerate_refinement.py + path: perovskite-sim/perovskite_sim/validation/degenerate_refinement.py + sha256: 46075723655aa34b33663664d5506f813484b3cd1a28aabde585043d13294c57 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/perovskite_sim/validation/incomplete_ionization_refinement.py + path: perovskite-sim/perovskite_sim/validation/incomplete_ionization_refinement.py + sha256: 001c0448fae196dbf8f3911ca9277fee11dbe1b5c6a06cf6ed78820b1a1a8ea5 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/perovskite_sim/validation/bgn_refinement.py + path: perovskite-sim/perovskite_sim/validation/bgn_refinement.py + sha256: f5989e3a00a1f298df257b0b893a965e3778d13c155a1296705aff75de2528f7 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/perovskite_sim/validation/bulk_trap_refinement.py + path: perovskite-sim/perovskite_sim/validation/bulk_trap_refinement.py + sha256: 4415153d3c30a2bda68b1dd54c448bd32f4e1dc21222a91f553601beac1ede0b + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/perovskite_sim/validation/charged_defect_refinement.py + path: perovskite-sim/perovskite_sim/validation/charged_defect_refinement.py + sha256: c15eef42f9122d44b87391c243b03d526d22d269fc830389dc89001f7aa11a34 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/perovskite_sim/validation/distributed_defect_refinement.py + path: perovskite-sim/perovskite_sim/validation/distributed_defect_refinement.py + sha256: 86fae54f0c9e8ab8394ccb7db57ff70b144cc1966b1487ed7d87172028931016 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/perovskite_sim/validation/spatial_defect_refinement.py + path: perovskite-sim/perovskite_sim/validation/spatial_defect_refinement.py + sha256: 694b96e6718e78daa8b853bc0d2c0a4eb8d4c5d989aecd60102a38e42d2b856e + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/perovskite_sim/validation/multivalent_defect_refinement.py + path: perovskite-sim/perovskite_sim/validation/multivalent_defect_refinement.py + sha256: 28db6ad6710591d37386b12464a73fe345dedc873ed9d54c8b013b9c70c860e5 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/perovskite_sim/validation/cigs_optics_refinement.py + path: perovskite-sim/perovskite_sim/validation/cigs_optics_refinement.py + sha256: c699faacb47b73d18b047af80530f73bfd52619f9ba8136bb2e2ec60488d8b04 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/perovskite_sim/validation/identifiability_refinement.py + path: perovskite-sim/perovskite_sim/validation/identifiability_refinement.py + sha256: d66f0a39a4e7b2e0af5e4cfc006b53a86f432e3c4273d59c08c3bbfd0e4ced52 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/perovskite_sim/validation/tunnelling_channel_refinement.py + path: perovskite-sim/perovskite_sim/validation/tunnelling_channel_refinement.py + sha256: 86104d6316d81fabddbd7a8a5a5b53412cbbaf8c4e450b4918502e81888bc608 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/perovskite_sim/validation/resolved_tunnelling_refinement.py + path: perovskite-sim/perovskite_sim/validation/resolved_tunnelling_refinement.py + sha256: f37222cc2d56fc8c900b4fc4f634ff1e16e470eb2843ac1e46fe2138bd10cca0 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/perovskite_sim/validation/foundation_reference_refinement.py + path: perovskite-sim/perovskite_sim/validation/foundation_reference_refinement.py + sha256: aa478f90f055d3dd27e9382c2c7b55d61029f0135672b7d1f2f3358436ee8aa7 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: src/solarlab/config/device_import.py + path: src/solarlab/config/device_import.py + sha256: f9523decd8e5676c6ef6d49f4aa38b92eeb19b5c1fc5378fa9b061b9740aef41 + source_commit: 74bfd300681afaddde01835d065077da4e1d265a +- id: src/solarlab/config/scaps_input.py + path: src/solarlab/config/scaps_input.py + sha256: de7b2a5bbf24d52db6997c3bd9d70c929a8be18cfbd91a0a519d5f6d79fc616d + source_commit: b02d9fcc892558f494c914472da810c4f2d6dc20 +- id: src/solarlab/config/tandem_input.py + path: src/solarlab/config/tandem_input.py + sha256: 09cc71da6dd9e16a0de593a15dc2f978427aa8d68348dc9e9a298d2aa32792f9 + source_commit: b02d9fcc892558f494c914472da810c4f2d6dc20 +- id: src/solarlab/config/resolve_device.py + path: src/solarlab/config/resolve_device.py + sha256: 01dc2a82d98e7401618aba4ba162d74324fdd8ca32d41929d38981dbd16f6b45 + source_commit: b02d9fcc892558f494c914472da810c4f2d6dc20 +- id: perovskite-sim/perovskite_sim/models/config_loader.py + path: perovskite-sim/perovskite_sim/models/config_loader.py + sha256: f25dd749fec6e2e755cf18d221986efdc323b6f2c22e92ec7297577117442bb2 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/backend/main.py + path: perovskite-sim/backend/main.py + sha256: 7dd1292f6f34f0f065a50686802c20a8484edcc9e4a7d98287799c076f9da01f + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/perovskite_sim/reproducibility.py + path: perovskite-sim/perovskite_sim/reproducibility.py + sha256: 83df5ef085a5ea86f3850aa2dbef10c09b43d3b037f344b1f66f686b2c182cd4 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: perovskite-sim/perovskite_sim/validation/numerical_certificate.py + path: perovskite-sim/perovskite_sim/validation/numerical_certificate.py + sha256: 8adf88571ab94fde3135eb817eb3dc93b8d5d932c02d62ec5338e021df1fb413 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: models/parameters.py + path: perovskite-sim/perovskite_sim/models/parameters.py + sha256: 0555a6c9280431889b34328bf1e513c7e6d6789368ea858ff3e1ea5a60db7d9d + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: models/device.py + path: perovskite-sim/perovskite_sim/models/device.py + sha256: abedb9e39655a5b54997968a7bfa4d1664b7493475dc8e7c55fffa68195330b9 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: models/defects.py + path: perovskite-sim/perovskite_sim/models/defects.py + sha256: 0bf3cedd435ff8259fb436bbcfcfa3aa586bdee50f89caba161e162c6913159f + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: physics/statistics.py + path: perovskite-sim/perovskite_sim/physics/statistics.py + sha256: f790b5df608ec54ff64ebd1a3203bcec0a00d1bfbc2677a29ccd34208fc29a01 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: physics/band_gap_narrowing.py + path: perovskite-sim/perovskite_sim/physics/band_gap_narrowing.py + sha256: ee7fe97002c19364750f4aa07be1dc150c2acb450ad74ee637d5b8cc783e0a78 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: scaps_compat/loader.py + path: perovskite-sim/perovskite_sim/scaps_compat/loader.py + sha256: a03a31b81497df6118592aebce7000befaa1d5de787ad989d880c263000e0cd6 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: constants.py + path: perovskite-sim/perovskite_sim/constants.py + sha256: 9ae428b44bbe5f475b638d9c3339e69930249e2b1c39ba0acbfd0764fcaade76 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: twod/microstructure.py + path: perovskite-sim/perovskite_sim/twod/microstructure.py + sha256: 60d06d32976305a4c29b04e7f46188e8a916e007048a9c6507c680e6d4b6ab35 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: models/tandem_config.py + path: perovskite-sim/perovskite_sim/models/tandem_config.py + sha256: 9aaf4e1fb87f43950c96cabe0ac309cd3416673848b80889fc366be32ad2b595 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: physics/cigs_optics.py + path: perovskite-sim/perovskite_sim/physics/cigs_optics.py + sha256: a7f1cac165c04f8f5d21a530987d65d10fa78af04c77b7e1382149aab59ca811 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: models/tunneling_channels.py + path: perovskite-sim/perovskite_sim/models/tunneling_channels.py + sha256: 988195babef2c7390bfacd0f849b91a3802abfda3e742332642c1c36a610a114 + source_commit: e3eee454b1cf61ff43e2cb668035be0527dacdd3 +- id: src/solarlab/config/legacy_fields.py + path: src/solarlab/config/legacy_fields.py + sha256: 7c53be9d2d83d1635aef5e1193f1f97b756a964c532806002b4514e10f521cf7 + source_commit: 19ac67122ab4e449d7121d7af08596f8c2d3eec0 +- id: src/solarlab/device/inputs.py + path: src/solarlab/device/inputs.py + sha256: f616d30f584930276635b8d099fafff736c9bf840e1d48a20eb9bbbb60debddf + source_commit: 19ac67122ab4e449d7121d7af08596f8c2d3eec0 +- id: src/solarlab/device/resolved.py + path: src/solarlab/device/resolved.py + sha256: d7f1cdf6d655ff375399bcd70547c299896152d0dd71a06f1eace1fa7227c406 + source_commit: ddb7fc97892445facbc3cdb16df5d400df98eec3 +- id: src/solarlab/experiments/jv/inputs.py + path: src/solarlab/experiments/jv/inputs.py + sha256: 1acc7e2616e47513c420df44d34cdd90969ac6a457d13674fd38276e5140594d + source_commit: 19ac67122ab4e449d7121d7af08596f8c2d3eec0 +- id: src/solarlab/experiments/jv/declarations.py + path: src/solarlab/experiments/jv/declarations.py + sha256: d46d4ac8161c9e3192f5eb353a40df28e36fa3433e4db257188cd716602892f9 + source_commit: 19ac67122ab4e449d7121d7af08596f8c2d3eec0 +- id: tests/refactor/test_legacy_input_migration.py + path: tests/refactor/test_legacy_input_migration.py + sha256: fec3ba6c7dc3452d42698bee392632afa31732deeab4b47e105bbdb56b86f464 + source_commit: 66b74118e4721154569c1dbf904425ca0ce16e2d +- id: web/src/generated/configuration-schema.ts + path: web/src/generated/configuration-schema.ts + sha256: 83d3c3c7799599608a02b9fb505b8ccc4ac7456dce647024a56aa24c9eb9d57f + source_commit: 19ac67122ab4e449d7121d7af08596f8c2d3eec0 +- id: web/src/generated/configuration-inputs.ts + path: web/src/generated/configuration-inputs.ts + sha256: 85d677ddf176463e0d64e29aba4ca46e6412f5287d105b7b8d289a98ecf60cef + source_commit: 19ac67122ab4e449d7121d7af08596f8c2d3eec0 +preparation_context: null +entries: +- id: lane:scaps-mirror-frozen-ion-ss + section: lanes + original_key: scaps-mirror-frozen-ion-ss + original_record_sha256: 2ec9e046af69a6090c9015d5b215c937e68429e83b1d87e96a559f188bad3093 + legacy_status: null + legacy_claim_level: internal-numerical-candidate + legacy_evidence_tier: null + legacy_semantic_sha256: null + configurations: + - config:tests/fixtures/configs/scaps_mirror.yaml + test_files: [] + test_nodes: [] + executor: + source_id: perovskite-sim/perovskite_sim/validation/refinement_executors.py + symbol: run_frozen_ion_steady_jv + executor_version: v2 + migration_status: legacy_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: null + migration_notes: [] +- id: lane:ionmonger-mobile-ion-transient + section: lanes + original_key: ionmonger-mobile-ion-transient + original_record_sha256: 2d92f2ca1e6927441bb16d0c4c2f8f22cc16d2e923bd814806d2486a8cd5b919 + legacy_status: null + legacy_claim_level: internal-numerical-candidate + legacy_evidence_tier: null + legacy_semantic_sha256: null + configurations: + - config:tests/fixtures/configs/ionmonger_benchmark.yaml + test_files: [] + test_nodes: [] + executor: + source_id: perovskite-sim/perovskite_sim/validation/refinement_executors.py + symbol: run_mobile_ion_transient_jv + executor_version: v1 + migration_status: legacy_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: null + migration_notes: [] +- id: lane:ionmonger-ion-aware-dc-v1 + section: lanes + original_key: ionmonger-ion-aware-dc-v1 + original_record_sha256: 8f9ce2d73db8cd4d03c66f25c87da3c3aced8f573e0957fa791da0d5403fa3bc + legacy_status: null + legacy_claim_level: internal-numerical-candidate + legacy_evidence_tier: null + legacy_semantic_sha256: null + configurations: + - config:tests/fixtures/configs/ionmonger_benchmark.yaml + test_files: [] + test_nodes: [] + executor: + source_id: perovskite-sim/perovskite_sim/validation/refinement_executors.py + symbol: run_ion_aware_dc_operating_point + executor_version: v1 + migration_status: legacy_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: null + migration_notes: [] +- id: lane:ionmonger-ion-aware-dc-resolved-v2 + section: lanes + original_key: ionmonger-ion-aware-dc-resolved-v2 + original_record_sha256: 732ddc9f2aad296404f4c937bcb0c9d6f70df42a2dceb7320da7049e17ccb338 + legacy_status: null + legacy_claim_level: internal-numerical-candidate + legacy_evidence_tier: null + legacy_semantic_sha256: null + configurations: + - config:tests/fixtures/configs/ionmonger_benchmark.yaml + test_files: [] + test_nodes: [] + executor: + source_id: perovskite-sim/perovskite_sim/validation/refinement_executors.py + symbol: run_ion_aware_dc_operating_point + executor_version: v1 + migration_status: legacy_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: null + migration_notes: [] +- id: lane:ionmonger-ion-aware-impedance-resolved-v1 + section: lanes + original_key: ionmonger-ion-aware-impedance-resolved-v1 + original_record_sha256: f7ccc75740e735795427f59a8d7f8f34a583e8acdc17860cbd381ac1775ff245 + legacy_status: null + legacy_claim_level: internal-numerical-candidate + legacy_evidence_tier: null + legacy_semantic_sha256: null + configurations: + - config:tests/fixtures/configs/ionmonger_benchmark.yaml + test_files: [] + test_nodes: [] + executor: + source_id: perovskite-sim/perovskite_sim/validation/refinement_executors.py + symbol: run_ion_aware_impedance_frequency_domain + executor_version: v1 + migration_status: legacy_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: null + migration_notes: [] +- id: lane:dynamic-defect-ion-impedance-production-v1 + section: lanes + original_key: dynamic-defect-ion-impedance-production-v1 + original_record_sha256: b8919a4cdab6349be31dd77d2114ef43c5868dc10209e07ad337dd4138ccd999 + legacy_status: null + legacy_claim_level: internal-numerical-candidate + legacy_evidence_tier: null + legacy_semantic_sha256: null + configurations: + - config:tests/fixtures/configs/dynamic_defect_ion_impedance.yaml + test_files: [] + test_nodes: [] + executor: + source_id: perovskite-sim/perovskite_sim/validation/refinement_executors.py + symbol: run_dynamic_defect_impedance_production + executor_version: v1 + migration_status: legacy_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: null + migration_notes: [] +- id: lane:dynamic-defect-ion-transient-timescale-v1 + section: lanes + original_key: dynamic-defect-ion-transient-timescale-v1 + original_record_sha256: ca5900bfae5032e9c0428334d97a002b56a0932207151ab92240bd8167e2185e + legacy_status: null + legacy_claim_level: internal-numerical-candidate + legacy_evidence_tier: null + legacy_semantic_sha256: null + configurations: + - config:tests/fixtures/configs/dynamic_interface_defect_ion_transient.yaml + test_files: [] + test_nodes: [] + executor: + source_id: perovskite-sim/perovskite_sim/validation/dynamic_defect_transient_refinement.py + symbol: run_dynamic_defect_ion_transient_refinement + executor_version: v1 + migration_status: legacy_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: null + migration_notes: [] +- id: lane:dynamic-defect-ion-transient-timescale-resolved-v2 + section: lanes + original_key: dynamic-defect-ion-transient-timescale-resolved-v2 + original_record_sha256: e44b4d2cee32b39c61553a82666f66fb353ffe49b4c7c4ba665e2945b63daa2a + legacy_status: null + legacy_claim_level: internal-numerical-candidate + legacy_evidence_tier: null + legacy_semantic_sha256: null + configurations: + - config:tests/fixtures/configs/dynamic_interface_defect_ion_transient.yaml + test_files: [] + test_nodes: [] + executor: + source_id: perovskite-sim/perovskite_sim/validation/dynamic_defect_transient_refinement.py + symbol: run_dynamic_defect_ion_transient_refinement + executor_version: v2 + migration_status: legacy_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: null + migration_notes: [] +- id: lane:dynamic-defect-ion-transient-timescale-nonlinear-resolved-v3 + section: lanes + original_key: dynamic-defect-ion-transient-timescale-nonlinear-resolved-v3 + original_record_sha256: 69e24dac012929679522f73d9cb0c3937a98035b754919828a5db6744c892f85 + legacy_status: null + legacy_claim_level: internal-numerical-candidate + legacy_evidence_tier: null + legacy_semantic_sha256: null + configurations: + - config:tests/fixtures/configs/dynamic_interface_defect_ion_transient.yaml + test_files: [] + test_nodes: [] + executor: + source_id: perovskite-sim/perovskite_sim/validation/dynamic_defect_transient_refinement.py + symbol: run_dynamic_defect_ion_transient_refinement + executor_version: v3 + migration_status: legacy_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: null + migration_notes: [] +- id: lane:dynamic-defect-ion-transient-timescale-absorber-resolved-v4 + section: lanes + original_key: dynamic-defect-ion-transient-timescale-absorber-resolved-v4 + original_record_sha256: a1c100dae0d0f89e231d3efc00beb26fc70536e3a51f01e02cd92947027b82dc + legacy_status: null + legacy_claim_level: internal-numerical-candidate + legacy_evidence_tier: null + legacy_semantic_sha256: null + configurations: + - config:tests/fixtures/configs/dynamic_interface_defect_ion_transient_absorber_only.yaml + test_files: [] + test_nodes: [] + executor: + source_id: perovskite-sim/perovskite_sim/validation/dynamic_defect_transient_refinement.py + symbol: run_dynamic_defect_ion_transient_refinement + executor_version: v4 + migration_status: legacy_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: null + migration_notes: [] +- id: lane:dynamic-defect-ion-transient-timescale-reference-resolved-v5 + section: lanes + original_key: dynamic-defect-ion-transient-timescale-reference-resolved-v5 + original_record_sha256: cd16dd19dd106c81d3b31abc9462abdf7a77bf9024b886ad26a65efe95936ab2 + legacy_status: null + legacy_claim_level: internal-numerical-candidate + legacy_evidence_tier: null + legacy_semantic_sha256: null + configurations: + - config:tests/fixtures/configs/dynamic_interface_defect_ion_transient_absorber_only.yaml + test_files: [] + test_nodes: [] + executor: + source_id: perovskite-sim/perovskite_sim/validation/dynamic_defect_transient_refinement.py + symbol: run_dynamic_defect_ion_transient_refinement + executor_version: v5 + migration_status: legacy_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: null + migration_notes: [] +- id: lane:dynamic-defect-ion-transient-production-v1 + section: lanes + original_key: dynamic-defect-ion-transient-production-v1 + original_record_sha256: f1541db33fa674753814fca3f3f4e0559ea9c834d1fe8b3b568c72cd63166d3c + legacy_status: null + legacy_claim_level: internal-numerical-candidate + legacy_evidence_tier: null + legacy_semantic_sha256: null + configurations: + - config:tests/fixtures/configs/dynamic_interface_defect_ion_transient_absorber_only.yaml + test_files: [] + test_nodes: [] + executor: + source_id: perovskite-sim/perovskite_sim/validation/dynamic_defect_transient_refinement.py + symbol: run_dynamic_defect_ion_transient_refinement + executor_version: v6 + migration_status: legacy_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: null + migration_notes: [] +- id: lane:csi-qf-frequency-domain + section: lanes + original_key: csi-qf-frequency-domain + original_record_sha256: ba50a5902852b067bc7cdd85ed881181753e6b2724b6d69b552e48d61ebc68ed + legacy_status: null + legacy_claim_level: internal-numerical-candidate + legacy_evidence_tier: null + legacy_semantic_sha256: null + configurations: + - config:tests/fixtures/configs/cSi_homojunction.yaml + test_files: [] + test_nodes: [] + executor: + source_id: perovskite-sim/perovskite_sim/validation/refinement_executors.py + symbol: run_csi_qf_frequency_domain + executor_version: v3 + migration_status: legacy_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: null + migration_notes: [] +- id: lane:csi-qf-frequency-domain-resolved-v2 + section: lanes + original_key: csi-qf-frequency-domain-resolved-v2 + original_record_sha256: fd8169368debf5f04a618e0d0ef6a380d7a8815e4e3b9c2fcd4e4a410322fd16 + legacy_status: null + legacy_claim_level: internal-numerical-candidate + legacy_evidence_tier: null + legacy_semantic_sha256: null + configurations: + - config:tests/fixtures/configs/cSi_homojunction.yaml + test_files: [] + test_nodes: [] + executor: + source_id: perovskite-sim/perovskite_sim/validation/refinement_executors.py + symbol: run_csi_qf_frequency_domain + executor_version: v3 + migration_status: legacy_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: null + migration_notes: [] +- id: lane:twod-uniform-limit + section: lanes + original_key: twod-uniform-limit + original_record_sha256: 996e25b86526668831c11ca4bbacffc42f3bf22fddf505474b3910e0de3c879c + legacy_status: null + legacy_claim_level: internal-numerical-candidate + legacy_evidence_tier: null + legacy_semantic_sha256: null + configurations: + - config:tests/fixtures/configs/twod/nip_MAPbI3_uniform.yaml + test_files: [] + test_nodes: [] + executor: + source_id: perovskite-sim/perovskite_sim/validation/refinement_executors.py + symbol: run_twod_uniform_limit + executor_version: v2 + migration_status: legacy_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: null + migration_notes: [] +- id: lane:twod-mobile-ion-interface-srh-v1 + section: lanes + original_key: twod-mobile-ion-interface-srh-v1 + original_record_sha256: 33eaa103ef17f55707e676bdab11689f7396df86cdc67e403b401395b5d2cdb8 + legacy_status: null + legacy_claim_level: internal-numerical-candidate + legacy_evidence_tier: null + legacy_semantic_sha256: null + configurations: + - config:tests/fixtures/configs/twod/combined_mobile_interface_research.yaml + test_files: [] + test_nodes: [] + executor: + source_id: perovskite-sim/perovskite_sim/validation/refinement_executors.py + symbol: run_twod_mobile_ion_interface_srh + executor_version: v1 + migration_status: legacy_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: null + migration_notes: [] +- id: lane:external-series-shunt-dc-v1 + section: lanes + original_key: external-series-shunt-dc-v1 + original_record_sha256: 0b78c418e3929b0c1604529ed6bbb14e06f2902d9b9af7be7425343bf15674e3 + legacy_status: null + legacy_claim_level: internal-numerical-candidate + legacy_evidence_tier: null + legacy_semantic_sha256: null + configurations: + - config:tests/fixtures/configs/nip_MAPbI3.yaml + test_files: [] + test_nodes: [] + executor: + source_id: perovskite-sim/perovskite_sim/validation/external_circuit_refinement.py + symbol: run_external_series_shunt_dc_refinement + executor_version: v1 + migration_status: legacy_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: null + migration_notes: [] +- id: lane:external-series-shunt-dc-operating-quadrant-v2 + section: lanes + original_key: external-series-shunt-dc-operating-quadrant-v2 + original_record_sha256: 95e0c7346c48ef60b1fe99f55e66461cf305832a47dcfbe2cdb7050e04be31c3 + legacy_status: null + legacy_claim_level: internal-numerical-candidate + legacy_evidence_tier: null + legacy_semantic_sha256: null + configurations: + - config:tests/fixtures/configs/nip_MAPbI3.yaml + test_files: [] + test_nodes: [] + executor: + source_id: perovskite-sim/perovskite_sim/validation/external_circuit_refinement.py + symbol: run_external_series_shunt_dc_operating_quadrant_refinement + executor_version: v2 + migration_status: legacy_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: null + migration_notes: [] +- id: lane:electrothermal-terminal-mpp-v1 + section: lanes + original_key: electrothermal-terminal-mpp-v1 + original_record_sha256: bfc102fdee0cda1bbdc97db18d3e68448484e3bdefca40c979e494a985772159 + legacy_status: null + legacy_claim_level: internal-numerical-candidate + legacy_evidence_tier: null + legacy_semantic_sha256: null + configurations: + - config:tests/fixtures/configs/nip_MAPbI3.yaml + test_files: [] + test_nodes: [] + executor: + source_id: perovskite-sim/perovskite_sim/validation/electrothermal_refinement.py + symbol: run_electrothermal_terminal_mpp_refinement + executor_version: v1 + migration_status: legacy_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: null + migration_notes: [] +- id: lane:electrothermal-terminal-mpp-resolved-v2 + section: lanes + original_key: electrothermal-terminal-mpp-resolved-v2 + original_record_sha256: 643205dba11872fedb0fa47f5e4f5608dfa5e7422856e4aafc37f5a9db71dd0f + legacy_status: null + legacy_claim_level: internal-numerical-candidate + legacy_evidence_tier: null + legacy_semantic_sha256: null + configurations: + - config:tests/fixtures/configs/nip_MAPbI3.yaml + test_files: [] + test_nodes: [] + executor: + source_id: perovskite-sim/perovskite_sim/validation/electrothermal_refinement.py + symbol: run_electrothermal_terminal_mpp_refinement + executor_version: v2 + migration_status: legacy_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: null + migration_notes: [] +- id: lane:electrothermal-terminal-mpp-grid-resolved-v3 + section: lanes + original_key: electrothermal-terminal-mpp-grid-resolved-v3 + original_record_sha256: 0c04c2728e4d77c4684473aea44e02607d286ed380b3aae7dadc48be44a06eed + legacy_status: null + legacy_claim_level: internal-numerical-candidate + legacy_evidence_tier: null + legacy_semantic_sha256: null + configurations: + - config:tests/fixtures/configs/nip_MAPbI3.yaml + test_files: [] + test_nodes: [] + executor: + source_id: perovskite-sim/perovskite_sim/validation/electrothermal_refinement.py + symbol: run_electrothermal_terminal_mpp_refinement + executor_version: v3 + migration_status: legacy_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: null + migration_notes: [] +- id: lane:interface-recombination-charge-off + section: lanes + original_key: interface-recombination-charge-off + original_record_sha256: b9e56bc9253852b76a05e249cede349500ac2c5ae64b44add013a7ad1f5f709c + legacy_status: null + legacy_claim_level: internal-numerical-candidate + legacy_evidence_tier: null + legacy_semantic_sha256: null + configurations: + - config:tests/fixtures/configs/interface_charge_reference.yaml + test_files: [] + test_nodes: [] + executor: + source_id: perovskite-sim/perovskite_sim/validation/refinement_executors.py + symbol: run_interface_recombination_charge_off + executor_version: v3 + migration_status: legacy_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: null + migration_notes: [] +- id: lane:interface-charge-equilibrium-referenced-v1 + section: lanes + original_key: interface-charge-equilibrium-referenced-v1 + original_record_sha256: 51e23833c162a90a0205142e515f58970268079ed83c3efcb12a0533ddbe3272 + legacy_status: null + legacy_claim_level: internal-numerical-candidate + legacy_evidence_tier: null + legacy_semantic_sha256: null + configurations: + - config:tests/fixtures/configs/interface_charge_research.yaml + test_files: [] + test_nodes: [] + executor: + source_id: perovskite-sim/perovskite_sim/validation/refinement_executors.py + symbol: run_equilibrium_referenced_interface_charge + executor_version: v2 + migration_status: legacy_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: null + migration_notes: [] +- id: lane:interface-charge-device-stress-v1 + section: lanes + original_key: interface-charge-device-stress-v1 + original_record_sha256: 557543ab1d96c27e8cd883296423e9c243130f2a44bc4f1bb76d40f9ed693559 + legacy_status: null + legacy_claim_level: internal-numerical-candidate + legacy_evidence_tier: null + legacy_semantic_sha256: null + configurations: + - config:tests/fixtures/configs/interface_charge_research.yaml + test_files: [] + test_nodes: [] + executor: + source_id: perovskite-sim/perovskite_sim/validation/interface_charge_stress.py + symbol: run_equilibrium_referenced_interface_charge_stress + executor_version: v2 + migration_status: legacy_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: null + migration_notes: [] +- id: lane:interface-charge-device-stress-resolved-v2 + section: lanes + original_key: interface-charge-device-stress-resolved-v2 + original_record_sha256: e6eb0d5ef6ce32378f32c9de51ef9516bb6a1850d094ea096ab213caa24410bb + legacy_status: null + legacy_claim_level: internal-numerical-candidate + legacy_evidence_tier: null + legacy_semantic_sha256: null + configurations: + - config:tests/fixtures/configs/interface_charge_research.yaml + test_files: [] + test_nodes: [] + executor: + source_id: perovskite-sim/perovskite_sim/validation/interface_charge_stress.py + symbol: run_equilibrium_referenced_interface_charge_stress + executor_version: v3 + migration_status: legacy_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: null + migration_notes: [] +- id: lane:interface-charge-qf-dc-jv-v1 + section: lanes + original_key: interface-charge-qf-dc-jv-v1 + original_record_sha256: d06eaa8ffa242cfd8230994255e7696bd2b48408111bc3b42560e38efedf8f2a + legacy_status: null + legacy_claim_level: internal-numerical-candidate + legacy_evidence_tier: null + legacy_semantic_sha256: null + configurations: + - config:tests/fixtures/configs/interface_charge_jv_research.yaml + test_files: [] + test_nodes: [] + executor: + source_id: perovskite-sim/perovskite_sim/validation/refinement_executors.py + symbol: run_equilibrium_referenced_interface_charge_jv + executor_version: v1 + migration_status: legacy_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: null + migration_notes: [] +- id: lane:no-ion-dae-transient-v1 + section: lanes + original_key: no-ion-dae-transient-v1 + original_record_sha256: d48169bd29b071f320aa37cfa4ede8a358176f37e2d3a54931e0dc7cd1d47d4b + legacy_status: null + legacy_claim_level: internal-numerical-candidate + legacy_evidence_tier: null + legacy_semantic_sha256: null + configurations: + - config:tests/fixtures/configs/csi_vannijen2025_pn_cv.yaml + test_files: [] + test_nodes: [] + executor: + source_id: perovskite-sim/perovskite_sim/validation/dae_refinement.py + symbol: run_no_ion_dae_transient + executor_version: v1 + migration_status: legacy_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: null + migration_notes: [] +- id: lane:single-positive-ion-dae-transient-v1 + section: lanes + original_key: single-positive-ion-dae-transient-v1 + original_record_sha256: 69c04be8c649fa042496857608f40b272b0f51be6d60ebb1ef23d4abd91ad50d + legacy_status: null + legacy_claim_level: internal-numerical-candidate + legacy_evidence_tier: null + legacy_semantic_sha256: null + configurations: + - config:tests/fixtures/configs/ionmonger_benchmark.yaml + test_files: [] + test_nodes: [] + executor: + source_id: perovskite-sim/perovskite_sim/validation/dae_ion_refinement.py + symbol: run_single_ion_dae_transient + executor_version: v1 + migration_status: legacy_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: null + migration_notes: [] +- id: lane:dual-mobile-ion-dae-transient-v1 + section: lanes + original_key: dual-mobile-ion-dae-transient-v1 + original_record_sha256: e93dac1f59ce52c3fd6f2d1571248459076fd29a5f8f99fb6f10d29fb13d0bb0 + legacy_status: null + legacy_claim_level: internal-numerical-candidate + legacy_evidence_tier: null + legacy_semantic_sha256: null + configurations: + - config:tests/fixtures/configs/ionmonger_benchmark.yaml + test_files: [] + test_nodes: [] + executor: + source_id: perovskite-sim/perovskite_sim/validation/dae_dual_ion_refinement.py + symbol: run_dual_ion_dae_transient + executor_version: v1 + migration_status: legacy_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: null + migration_notes: [] +- id: lane:algebraic-interface-state-dae-transient-v1 + section: lanes + original_key: algebraic-interface-state-dae-transient-v1 + original_record_sha256: b6d168c1dbeb3154613882de857ce49218f4e5fd5ff0e135b9479d2495188a0c + legacy_status: null + legacy_claim_level: internal-numerical-candidate + legacy_evidence_tier: null + legacy_semantic_sha256: null + configurations: + - config:tests/fixtures/configs/interface_charge_research.yaml + test_files: [] + test_nodes: [] + executor: + source_id: perovskite-sim/perovskite_sim/validation/dae_interface_refinement.py + symbol: run_algebraic_interface_dae_transient + executor_version: v1 + migration_status: legacy_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: null + migration_notes: [] +- id: lane:single-ion-algebraic-interface-dae-transient-v1 + section: lanes + original_key: single-ion-algebraic-interface-dae-transient-v1 + original_record_sha256: 4c36ad1781466908573b4cf967e2d791d66a3eff8091989de2a8364ff641c7cb + legacy_status: null + legacy_claim_level: internal-numerical-candidate + legacy_evidence_tier: null + legacy_semantic_sha256: null + configurations: + - config:tests/fixtures/configs/interface_charge_research.yaml + test_files: [] + test_nodes: [] + executor: + source_id: perovskite-sim/perovskite_sim/validation/dae_ion_interface_refinement.py + symbol: run_single_ion_algebraic_interface_dae_transient + executor_version: v1 + migration_status: legacy_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: null + migration_notes: [] +- id: lane:single-ion-algebraic-interface-dae-transient-resolved-v2 + section: lanes + original_key: single-ion-algebraic-interface-dae-transient-resolved-v2 + original_record_sha256: 876b57cfce93f0d4dd1e44eb7d10d488a0796b4baf565185764bc0d83e41685c + legacy_status: null + legacy_claim_level: internal-numerical-candidate + legacy_evidence_tier: null + legacy_semantic_sha256: null + configurations: + - config:tests/fixtures/configs/interface_charge_research.yaml + test_files: [] + test_nodes: [] + executor: + source_id: perovskite-sim/perovskite_sim/validation/dae_ion_interface_refinement.py + symbol: run_single_ion_algebraic_interface_dae_transient + executor_version: v2 + migration_status: legacy_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: null + migration_notes: [] +- id: lane:degenerate-pn-equilibrium-v1 + section: lanes + original_key: degenerate-pn-equilibrium-v1 + original_record_sha256: bdebb925d597280fee0811da925d2dd0139141d3d5e45e17b7ad67bd4c808c5f + legacy_status: null + legacy_claim_level: internal-numerical-candidate + legacy_evidence_tier: null + legacy_semantic_sha256: null + configurations: + - config:tests/fixtures/configs/csi_degenerate_pn_research.yaml + test_files: [] + test_nodes: [] + executor: + source_id: perovskite-sim/perovskite_sim/validation/degenerate_refinement.py + symbol: run_degenerate_pn_equilibrium_refinement + executor_version: v1 + migration_status: legacy_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: null + migration_notes: [] +- id: lane:incomplete-ionization-temperature-equilibrium-v1 + section: lanes + original_key: incomplete-ionization-temperature-equilibrium-v1 + original_record_sha256: 4f9a4c75beca7a50fc973a0c66a4040ce19d49019b6e6e909b20ab27eb9d8040 + legacy_status: null + legacy_claim_level: internal-numerical-candidate + legacy_evidence_tier: null + legacy_semantic_sha256: null + configurations: + - config:tests/fixtures/configs/csi_incomplete_ionization_pn_research.yaml + test_files: [] + test_nodes: [] + executor: + source_id: perovskite-sim/perovskite_sim/validation/incomplete_ionization_refinement.py + symbol: run_incomplete_ionization_temperature_refinement + executor_version: v1 + migration_status: legacy_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: null + migration_notes: [] +- id: lane:incomplete-ionization-bgn-temperature-equilibrium-v1 + section: lanes + original_key: incomplete-ionization-bgn-temperature-equilibrium-v1 + original_record_sha256: 3560ba66e1cebfd67a79425f787a8ed1a10a2afa3ff83eb1330b3f0bead1ce95 + legacy_status: null + legacy_claim_level: internal-numerical-candidate + legacy_evidence_tier: null + legacy_semantic_sha256: null + configurations: + - config:tests/fixtures/configs/csi_incomplete_ionization_bgn_pn_research.yaml + test_files: [] + test_nodes: [] + executor: + source_id: perovskite-sim/perovskite_sim/validation/bgn_refinement.py + symbol: run_incomplete_ionization_bgn_temperature_refinement + executor_version: v1 + migration_status: legacy_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: null + migration_notes: [] +- id: lane:bulk-energy-distributed-trap-equilibrium-v1 + section: lanes + original_key: bulk-energy-distributed-trap-equilibrium-v1 + original_record_sha256: 9c536f1d63c0668e1cf35b27620f4559c6a963a807b646a93296cee7eb5f9064 + legacy_status: null + legacy_claim_level: internal-numerical-candidate + legacy_evidence_tier: null + legacy_semantic_sha256: null + configurations: + - config:tests/fixtures/configs/csi_gaussian_bulk_trap_pn_research.yaml + test_files: [] + test_nodes: [] + executor: + source_id: perovskite-sim/perovskite_sim/validation/bulk_trap_refinement.py + symbol: run_bulk_trap_equilibrium_refinement + executor_version: v1 + migration_status: legacy_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: null + migration_notes: [] +- id: lane:charged-explicit-defect-qf-dc-v1 + section: lanes + original_key: charged-explicit-defect-qf-dc-v1 + original_record_sha256: 4edc8d238cc260b8a55c9a3317d28fd494a2e4c4e02e8007f0662209aef87695 + legacy_status: null + legacy_claim_level: internal-numerical-candidate + legacy_evidence_tier: null + legacy_semantic_sha256: null + configurations: + - config:tests/fixtures/configs/scaps_defect_s1_acceptor_n.yaml + test_files: [] + test_nodes: [] + executor: + source_id: perovskite-sim/perovskite_sim/validation/charged_defect_refinement.py + symbol: run_charged_defect_qf_dc_refinement + executor_version: v1 + migration_status: legacy_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: null + migration_notes: [] +- id: lane:distributed-explicit-defect-qf-dc-v1 + section: lanes + original_key: distributed-explicit-defect-qf-dc-v1 + original_record_sha256: 212ceba4c95339803cb7ac51b1497cdcba39cb01d5bf05d603151bd0b2e7c05e + legacy_status: null + legacy_claim_level: internal-numerical-candidate + legacy_evidence_tier: null + legacy_semantic_sha256: null + configurations: + - config:tests/fixtures/configs/distributed_defect_qf_dc_pn.yaml + test_files: [] + test_nodes: [] + executor: + source_id: perovskite-sim/perovskite_sim/validation/distributed_defect_refinement.py + symbol: run_distributed_defect_qf_dc_refinement + executor_version: v1 + migration_status: legacy_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: null + migration_notes: [] +- id: lane:spatially-graded-explicit-defect-qf-dc-v1 + section: lanes + original_key: spatially-graded-explicit-defect-qf-dc-v1 + original_record_sha256: 713f69658e1f2344e2dc592f1520497e0c3a808b627b6507eae4e92fb3c28f9d + legacy_status: null + legacy_claim_level: internal-numerical-candidate + legacy_evidence_tier: null + legacy_semantic_sha256: null + configurations: + - config:tests/fixtures/configs/graded_distributed_defect_qf_dc_pn.yaml + test_files: [] + test_nodes: [] + executor: + source_id: perovskite-sim/perovskite_sim/validation/spatial_defect_refinement.py + symbol: run_spatial_defect_qf_dc_refinement + executor_version: v1 + migration_status: legacy_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: null + migration_notes: [] +- id: lane:spatially-graded-explicit-defect-qf-dc-v2 + section: lanes + original_key: spatially-graded-explicit-defect-qf-dc-v2 + original_record_sha256: 8b82e94fc460cb5853af56ceeb89b7b097b3592c0381af627e02d22e354ffe2d + legacy_status: null + legacy_claim_level: internal-numerical-candidate + legacy_evidence_tier: null + legacy_semantic_sha256: null + configurations: + - config:tests/fixtures/configs/graded_distributed_defect_qf_dc_pn.yaml + test_files: [] + test_nodes: [] + executor: + source_id: perovskite-sim/perovskite_sim/validation/spatial_defect_refinement.py + symbol: run_spatial_defect_qf_dc_refinement + executor_version: v2 + migration_status: legacy_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: null + migration_notes: [] +- id: lane:multivalent-explicit-defect-qf-dc-v1 + section: lanes + original_key: multivalent-explicit-defect-qf-dc-v1 + original_record_sha256: ed40f86e160c1668cfbfdf8f2fbd587e42c8b3f7604cf75f13a5f1e6d9a08ff6 + legacy_status: null + legacy_claim_level: internal-numerical-candidate + legacy_evidence_tier: null + legacy_semantic_sha256: null + configurations: + - config:tests/fixtures/configs/scaps_defect_m1_double_donor_p.yaml + test_files: [] + test_nodes: [] + executor: + source_id: perovskite-sim/perovskite_sim/validation/multivalent_defect_refinement.py + symbol: run_multivalent_defect_qf_dc_refinement + executor_version: v1 + migration_status: legacy_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: null + migration_notes: [] +- id: lane:cigs-graded-optics-v1 + section: lanes + original_key: cigs-graded-optics-v1 + original_record_sha256: 67eaec727a735d2b63f0d7cc8d91d1aa270e191ce96b2b35f8eef3db2d92676d + legacy_status: null + legacy_claim_level: internal-numerical-candidate + legacy_evidence_tier: null + legacy_semantic_sha256: null + configurations: + - config:tests/fixtures/configs/cigs_graded_optics.yaml + test_files: [] + test_nodes: [] + executor: + source_id: perovskite-sim/perovskite_sim/validation/cigs_optics_refinement.py + symbol: run_cigs_graded_optics_refinement + executor_version: v1 + migration_status: legacy_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: null + migration_notes: [] +- id: lane:interface-srh-identifiability-synthetic-v1 + section: lanes + original_key: interface-srh-identifiability-synthetic-v1 + original_record_sha256: 6c9a2c099044335a5cef63e67b0e14580c69aac01515b8e018ac0df5b2192373 + legacy_status: null + legacy_claim_level: internal-numerical-candidate + legacy_evidence_tier: null + legacy_semantic_sha256: null + configurations: + - config:configs/scaps_mirror_v2.yaml + test_files: [] + test_nodes: [] + executor: + source_id: perovskite-sim/perovskite_sim/validation/identifiability_refinement.py + symbol: run_interface_srh_identifiability_refinement + executor_version: v1 + migration_status: legacy_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: null + migration_notes: [] +- id: lane:wkb-tunnelling-channel-qf-dc-v1 + section: lanes + original_key: wkb-tunnelling-channel-qf-dc-v1 + original_record_sha256: a3721c1913a8aa8dbb1012679c00ee28d3940001bb98a3b527eda83eff0fa1c9 + legacy_status: null + legacy_claim_level: internal-numerical-candidate + legacy_evidence_tier: null + legacy_semantic_sha256: null + configurations: + - config:tests/fixtures/configs/wkb_tunnelling_intraband_spike.yaml + test_files: [] + test_nodes: [] + executor: + source_id: perovskite-sim/perovskite_sim/validation/tunnelling_channel_refinement.py + symbol: run_tunnelling_channel_qf_dc_refinement + executor_version: v1 + migration_status: legacy_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: null + migration_notes: [] +- id: lane:wkb-resolved-intraband-qf-dc-v2 + section: lanes + original_key: wkb-resolved-intraband-qf-dc-v2 + original_record_sha256: e4b3ca374eeb0a6f1ebbf65d97aaab0f5704149cb6969a3c682e11e0f8d1d091 + legacy_status: null + legacy_claim_level: internal-numerical-candidate + legacy_evidence_tier: null + legacy_semantic_sha256: null + configurations: + - config:tests/fixtures/configs/wkb_resolved_electron_barrier.yaml + test_files: [] + test_nodes: [] + executor: + source_id: perovskite-sim/perovskite_sim/validation/resolved_tunnelling_refinement.py + symbol: run_resolved_intraband_refinement + executor_version: v2 + migration_status: legacy_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: null + migration_notes: [] +- id: lane:foundation-physical-homojunction-steady-v1 + section: lanes + original_key: foundation-physical-homojunction-steady-v1 + original_record_sha256: aeb645561f6205daae3223442b46ff0fd0ecb2e5be1ae24c9dcb99882c848672 + legacy_status: null + legacy_claim_level: internal-numerical-candidate + legacy_evidence_tier: null + legacy_semantic_sha256: null + configurations: + - config:tests/fixtures/configs/tpv_physical_reference.yaml + test_files: [] + test_nodes: [] + executor: + source_id: perovskite-sim/perovskite_sim/validation/foundation_reference_refinement.py + symbol: run_foundation_reference_steady_state + executor_version: v1 + migration_status: legacy_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: null + migration_notes: [] +- id: lane:foundation-physical-homojunction-resolved-v2 + section: lanes + original_key: foundation-physical-homojunction-resolved-v2 + original_record_sha256: 023298b51ab3b5e5a444588a440420e301122d4bdfda78dd09ba1be0ec3b1d95 + legacy_status: null + legacy_claim_level: internal-numerical-candidate + legacy_evidence_tier: null + legacy_semantic_sha256: null + configurations: + - config:tests/fixtures/configs/tpv_physical_reference.yaml + test_files: [] + test_nodes: [] + executor: + source_id: perovskite-sim/perovskite_sim/validation/foundation_reference_refinement.py + symbol: run_foundation_reference_steady_state + executor_version: v2 + migration_status: legacy_only + migration_evidence: source_verified_preparation_only + new_executor: null + new_test_nodes: [] + identities: + H_input: null + H_physics: null + protocol_sha256: null + H_execution: null + dependencies: + - original_model_selection_and_behavior_projection_not_bound + - complete_protocol_preparation_and_initial_state_not_bound + - qualified_migrated_executor_and_execution_source_not_available + preparation: null + migration_notes: [] diff --git a/reproducibility/PerformanceCasesV1.json b/reproducibility/PerformanceCasesV1.json new file mode 100644 index 00000000..723fb442 --- /dev/null +++ b/reproducibility/PerformanceCasesV1.json @@ -0,0 +1,3298 @@ +{ + "schema": "solarlab.performance_cases.v1", + "version": 1, + "created_at": "2026-10-05T09:48:11.194364+00:00", + "status": "frozen_prospective_spec_baseline_qualification_pending", + "frozen_at": "2026-10-05T10:41:18.893086+00:00", + "execution_authorized": false, + "baseline_qualification": "pending_for_all_five_targets", + "activity_authority": "Only archive test/ArchitectureRefactor/ExecutionStateV1.json maintains active task/gate state", + "source_capture_head": "255bfab0115c7b768eb5eb3411e7d3bdb8b4b2f5", + "sources": [ + { + "root": "archive", + "path": "plans/Impl/ArchitectureRefactorExecutionV1.md", + "sha256": "8acd5423e1ab6c16ba517c2e3380df7d74489c9fbe17af84a62caa65a9ae8b33", + "role": "section14_6_performance_targets" + }, + { + "root": "archive", + "path": "plans/Specs/ArchitectureRefactorV1.md", + "sha256": "6836c637c385434a2137cfc7fd5106294442bbc21ba4a2ab168c6ec7398cbb26", + "role": "section5_6_original_targets" + }, + { + "root": "archive", + "path": "plans/Notes/ArchitectureRefactorEvidenceV1/Performance.md", + "sha256": "9b933706011a7e39ace82439ec3aa6d857f5ebe7a8e4a2eb30b1aa7ad0971f86", + "role": "historical_timing_notes_not_qualified_baselines" + }, + { + "root": "archive", + "path": "test/ArchitectureRefactor/Stage00/PerformanceInputResolutionV1.json", + "sha256": "bc52e014dcb95d0e159866b974f6ddb56f91903b001ae3b7f06f342ae4af9053", + "role": "pure_input_grid_protocol_resolution_no_simulation" + }, + { + "root": "repository", + "path": "reproducibility/RefactorCoverageV1.json", + "sha256": "5f7b4a44f5a23dfc307746d6c02698c3375e6b19773939cf3bdd0028da889509", + "role": "completed_source_index" + }, + { + "root": "repository", + "path": "perovskite-sim/perovskite_sim/experiments/jv_sweep.py", + "sha256": "428fbe1c421192e2495ac94fa171df42f2be94dca7733b7a5ab2e07a9628ef96", + "role": "transient_protocol_and_actual_grid" + }, + { + "root": "repository", + "path": "perovskite-sim/perovskite_sim/experiments/steady_state.py", + "sha256": "55580e14e075de0596e2a8e6e55e0a16f2c9581be380f2bb3bacbae2b5d1edbd", + "role": "steady_driver_and_fallback_policy" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/unit/experiments/test_steady_state.py", + "sha256": "1bd95145058440d09a46c16a27aee490749dc5d51ce9ba8b91b9eff4a33ee17c", + "role": "original_frozen_scaps_test_protocol" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/regression/test_twod_validation.py", + "sha256": "ad80439a36fe05704b8a8c6120452bafe84a071437a7fb120e6b348201886ccd", + "role": "original_complete_StageA_protocol" + }, + { + "root": "repository", + "path": "perovskite-sim/perovskite_sim/twod/experiments/jv_sweep_2d.py", + "sha256": "4d57ec5df5599f25237dadfbf202ea24c899454905834245fa498bc459afad69", + "role": "2D_driver_and_protocol" + }, + { + "root": "repository", + "path": "perovskite-sim/perovskite_sim/twod/grid_2d.py", + "sha256": "69fbfead2f8011a34665303be19ae7f2bad939cd111bcdfb66b5b7ab57995818", + "role": "actual_Nx_plus_one_grid" + }, + { + "root": "repository", + "path": "perovskite-sim/perovskite_sim/experiments/ion_aware_dc.py", + "sha256": "c3d72e92929e2485c41f2f282e58082ea5415f1ffba176edcd08939d9344f798", + "role": "exact_DC_preparation" + }, + { + "root": "repository", + "path": "perovskite-sim/perovskite_sim/experiments/ion_aware_impedance.py", + "sha256": "74af302cd7a071e69d60b01d07371ac0e8ad9036c1ec4063175c442e25b01892", + "role": "frequency_domain_reference_driver" + }, + { + "root": "repository", + "path": "perovskite-sim/perovskite_sim/experiments/ion_aware_impedance_lockin.py", + "sha256": "8796d2885e7ae3114a6e82afab5edb2f41e78d87345fb3ff282605b88a70053b", + "role": "full_nonlinear_time_lockin_oracle" + }, + { + "root": "repository", + "path": "perovskite-sim/docs/IonAwareImpedanceReferenceEngine.md", + "sha256": "7318468841493b101b90e0cb345beb5f5eccba29d25e42e5e43cf8c051136e43", + "role": "qualified_scope_and_contact_limit" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/integration/test_ion_aware_impedance_lockin.py", + "sha256": "aabfef24725fb18f5d1890eb2069cd6d4dc2b1e32a2b8a6145e837786a801efa", + "role": "three_frequency_internal_crosscheck_not_full60" + }, + { + "root": "repository", + "path": "perovskite-sim/docs/TwodTransportContract.md", + "sha256": "9ae244c87c943b627adf4a608da928a8f92a3f27a0a95f47cf068585c82fe39b", + "role": "StageA_correctness_gates" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/ionmonger_benchmark.yaml", + "sha256": "fbc82c9b85d121c459ab08d07d1c7f886eef36f4db669d354b79d260f43c8750", + "role": "unchanged_physical_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/nip_MAPbI3.yaml", + "sha256": "20fa8a8097c965330ce7b0d7e8f9286fc1960585231c360841d24ba7a1845668", + "role": "unchanged_physical_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/nip_MAPbI3_tmm.yaml", + "sha256": "4624f6923ffc10fbd401ce37702250f72b558d3e4ecdbd5d8e766ab84e21b1b2", + "role": "unchanged_physical_input" + }, + { + "root": "repository", + "path": "perovskite-sim/configs/scaps_mirror_v2.yaml", + "sha256": "5500c9485f6a9518430511019546933277cdc3274fd3a005182394f39d2fcf67", + "role": "unchanged_physical_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/twod/nip_MAPbI3_uniform.yaml", + "sha256": "6a7e0022575e680e3b4348774eb604c3273930b7a0fe210994e6532cd6d59dcb", + "role": "unchanged_physical_input" + } + ], + "selection_method": "Use the completed coverage/reference map and explicit plan-linked Performance.md plus named tests/drivers; no archive recrawl", + "scope_notes": [ + "All cases are proposed before new candidate results; target multipliers3/5/5/10/10 are unchanged", + "Every selected variant/scale is required; no easier substitute, skipped frequency, reduced grid or disabled diagnostics may satisfy another case", + "Candidate entrypoints/hashes will be bound when implemented; no current prototype is claimed to be the replacement engine" + ], + "cases": [ + { + "id": "TransientJvN80", + "user_target": "N80 transient J-V", + "minimum_speedup": 3, + "variants": [ + { + "id": "ionmonger_benchmark", + "config_path": "perovskite-sim/tests/fixtures/configs/ionmonger_benchmark.yaml", + "config_sha256": "fbc82c9b85d121c459ab08d07d1c7f886eef36f4db669d354b79d260f43c8750", + "input_resolution_pointer": "/transient_cases/0", + "effective_stack_sha256": "d83215f2d98fe038796d02c69597876d0dcb96094ccfd18a8761ae28c8e71909", + "grid_payload_sha256": "168a6d7589b895cc5f109c6c244b94d6b665e0fe14da91c3046c39d470d9683a", + "protocol_sha256": "dae405b384658bd07f3043a905c639beb9e0c6257318f32eb85499b8a8657a63", + "configured_N_grid": 80, + "actual_electrical_nodes": 79, + "legacy_density_slots": 237, + "candidate_unknown_count": "must be measured from assembled candidate system, including algebraic/gauge rows; do not equate with configured N", + "driver": "perovskite_sim.experiments.jv_sweep.run_jv_sweep", + "arguments": { + "N_grid": 80, + "n_points": 40, + "v_rate": 1.0, + "V_max": 1.4, + "rtol": 0.0001, + "atol": 1e-06, + "illuminated": true, + "save_snapshots": true, + "decompose_currents": true, + "v_max_max_attempts": 1, + "certification_mode": "strict", + "allow_underresolved_grid": false, + "allow_unvalidated_driver": false, + "collect_numerical_diagnostics": true, + "protocol_mode": "research_strict" + }, + "baseline_capture_commands": [ + "TransientJvN80/ionmonger_benchmark/OldRepeat1", + "TransientJvN80/ionmonger_benchmark/OldRepeat2", + "TransientJvN80/ionmonger_benchmark/OldRepeat3" + ], + "historical_timing_hint_s": [ + 14.3, + 14.8 + ], + "historical_applicability": "N60/20-point/1V-s note only, with old source/environment ambiguity and background load; no N80 qualified result or repeat distribution exists in the completed reference map" + }, + { + "id": "nip_MAPbI3", + "config_path": "perovskite-sim/tests/fixtures/configs/nip_MAPbI3.yaml", + "config_sha256": "20fa8a8097c965330ce7b0d7e8f9286fc1960585231c360841d24ba7a1845668", + "input_resolution_pointer": "/transient_cases/2", + "effective_stack_sha256": "2d2b4556bf42394a7b7f2c4adecd2b098517cd0b564d54a6b04522cec1e03103", + "grid_payload_sha256": "168a6d7589b895cc5f109c6c244b94d6b665e0fe14da91c3046c39d470d9683a", + "protocol_sha256": "cb81191ed2a34bb65f3aff092e44bf829375e13cdebdeff40f182be974202620", + "configured_N_grid": 80, + "actual_electrical_nodes": 79, + "legacy_density_slots": 237, + "candidate_unknown_count": "must be measured from assembled candidate system, including algebraic/gauge rows; do not equate with configured N", + "driver": "perovskite_sim.experiments.jv_sweep.run_jv_sweep", + "arguments": { + "N_grid": 80, + "n_points": 40, + "v_rate": 1.0, + "V_max": 1.4300000000000002, + "rtol": 0.0001, + "atol": 1e-06, + "illuminated": true, + "save_snapshots": true, + "decompose_currents": true, + "v_max_max_attempts": 1, + "certification_mode": "strict", + "allow_underresolved_grid": false, + "allow_unvalidated_driver": false, + "collect_numerical_diagnostics": true, + "protocol_mode": "research_strict" + }, + "baseline_capture_commands": [ + "TransientJvN80/nip_MAPbI3/OldRepeat1", + "TransientJvN80/nip_MAPbI3/OldRepeat2", + "TransientJvN80/nip_MAPbI3/OldRepeat3" + ], + "historical_timing_hint_s": [ + 9.05 + ], + "historical_applicability": "N60/20-point/1V-s note only, with old source/environment ambiguity and background load; no N80 qualified result or repeat distribution exists in the completed reference map" + }, + { + "id": "nip_MAPbI3_tmm", + "config_path": "perovskite-sim/tests/fixtures/configs/nip_MAPbI3_tmm.yaml", + "config_sha256": "4624f6923ffc10fbd401ce37702250f72b558d3e4ecdbd5d8e766ab84e21b1b2", + "input_resolution_pointer": "/transient_cases/4", + "effective_stack_sha256": "441c2bcd70913e88346259ef28eb3ae374e39dec50b2425328c7afc92f8925cb", + "grid_payload_sha256": "168a6d7589b895cc5f109c6c244b94d6b665e0fe14da91c3046c39d470d9683a", + "protocol_sha256": "dae405b384658bd07f3043a905c639beb9e0c6257318f32eb85499b8a8657a63", + "configured_N_grid": 80, + "actual_electrical_nodes": 79, + "legacy_density_slots": 237, + "candidate_unknown_count": "must be measured from assembled candidate system, including algebraic/gauge rows; do not equate with configured N", + "driver": "perovskite_sim.experiments.jv_sweep.run_jv_sweep", + "arguments": { + "N_grid": 80, + "n_points": 40, + "v_rate": 1.0, + "V_max": 1.4, + "rtol": 0.0001, + "atol": 1e-06, + "illuminated": true, + "save_snapshots": true, + "decompose_currents": true, + "v_max_max_attempts": 1, + "certification_mode": "strict", + "allow_underresolved_grid": false, + "allow_unvalidated_driver": false, + "collect_numerical_diagnostics": true, + "protocol_mode": "research_strict" + }, + "baseline_capture_commands": [ + "TransientJvN80/nip_MAPbI3_tmm/OldRepeat1", + "TransientJvN80/nip_MAPbI3_tmm/OldRepeat2", + "TransientJvN80/nip_MAPbI3_tmm/OldRepeat3" + ], + "historical_timing_hint_s": [ + 13.68 + ], + "historical_applicability": "N60/20-point/1V-s note only, with old source/environment ambiguity and background load; no N80 qualified result or repeat distribution exists in the completed reference map" + } + ], + "all_variants_required": true, + "scope_selection": "Retain all three actual profiled devices (BL/ions/heterointerfaces and TMM); use the documented 40-point UI workload and measured 1 V/s performance history at each requested N. This prospective extension is explicit and is not a reduced 20-point or single easiest-preset substitute.", + "outputs": [ + "Both complete 40-point J-V branches", + "All component currents and spatial snapshots", + "Voc/Jsc/FF/PCE and named HI definition", + "Per-point validity, refinements/fallbacks and complete numerical-health evidence" + ], + "precision": { + "status": "prospective_definition_independent_reference_errors_pending", + "reference_source": "Execution plan section14.3; preserve stronger existing scoped tests as additional gates", + "Voc_V": { + "atol": 0.0001, + "rtol": 0, + "bracket_and_slope_required": true + }, + "J_A_m2": { + "atol": 0.001, + "rtol": 0.0001 + }, + "Jsc_A_m2": { + "atol": 0.001, + "rtol": 0.0001 + }, + "FF_fraction": { + "atol": 0.0001, + "rtol": 0.0001 + }, + "PCE_fraction": { + "atol": 1e-05, + "rtol": 0.0001 + }, + "HI_absolute": 0.001, + "rule": "sum with frozen reference magnitude; no candidate-dependent scale", + "weak_signal": "Null/zero or unresolved denominator stays unresolved; HI power uncertainties must satisfy the explicit propagated-error rule as well as generic powers", + "reference_error_max_fraction": 0.3333333333333333, + "meaning": "Numerical equivalence targets for these exact scenarios, not external SCAPS table limits or full HI-matrix qualification" + }, + "baseline_status": "requires_qualified_actual_capture", + "resource_caps": { + "wall_s_per_repeat": 900, + "RSS_bytes": 12884901888, + "artifact_bytes_per_repeat": 2147483648 + }, + "correctness_before_timing": [ + "Independent numerical-reference errors within the declared budget for this exact device/protocol", + "All native point and initial-state numerical diagnostics valid, including near-flat-band and Voc probes", + "Both Voc values actually bracketed; no dropped tail, adaptive Vmax narrowing or switched optical model", + "Failed original attempts/runs retained; only complete successful qualified runs can enter timing statistics" + ], + "source_internal_controls": { + "initial_light_settle_s": 0.001, + "max_step": "Each source voltage dwell or subdivision duration/20", + "max_rhs_calls_per_attempt": 100000, + "max_bisect": 10, + "fallbacks": "All source-defined bisection, radiative and BDF/branch-certification probes remain bound and counted", + "rhs_regularization": null, + "fixed_generation": null + } + }, + { + "id": "TransientJvN200", + "user_target": "N200 transient J-V", + "minimum_speedup": 5, + "variants": [ + { + "id": "ionmonger_benchmark", + "config_path": "perovskite-sim/tests/fixtures/configs/ionmonger_benchmark.yaml", + "config_sha256": "fbc82c9b85d121c459ab08d07d1c7f886eef36f4db669d354b79d260f43c8750", + "input_resolution_pointer": "/transient_cases/1", + "effective_stack_sha256": "d83215f2d98fe038796d02c69597876d0dcb96094ccfd18a8761ae28c8e71909", + "grid_payload_sha256": "5436fc2373ebfa3a515220c1eee89d6bc54310cc1476d04447e31e5bdb732b68", + "protocol_sha256": "dae405b384658bd07f3043a905c639beb9e0c6257318f32eb85499b8a8657a63", + "configured_N_grid": 200, + "actual_electrical_nodes": 199, + "legacy_density_slots": 597, + "candidate_unknown_count": "must be measured from assembled candidate system, including algebraic/gauge rows; do not equate with configured N", + "driver": "perovskite_sim.experiments.jv_sweep.run_jv_sweep", + "arguments": { + "N_grid": 200, + "n_points": 40, + "v_rate": 1.0, + "V_max": 1.4, + "rtol": 0.0001, + "atol": 1e-06, + "illuminated": true, + "save_snapshots": true, + "decompose_currents": true, + "v_max_max_attempts": 1, + "certification_mode": "strict", + "allow_underresolved_grid": false, + "allow_unvalidated_driver": false, + "collect_numerical_diagnostics": true, + "protocol_mode": "research_strict" + }, + "baseline_capture_commands": [ + "TransientJvN200/ionmonger_benchmark/OldRepeat1", + "TransientJvN200/ionmonger_benchmark/OldRepeat2", + "TransientJvN200/ionmonger_benchmark/OldRepeat3" + ], + "historical_timing_hint_s": [ + 14.3, + 14.8 + ], + "historical_applicability": "N60/20-point/1V-s note only, with old source/environment ambiguity and background load; no N200 qualified result or repeat distribution exists in the completed reference map" + }, + { + "id": "nip_MAPbI3", + "config_path": "perovskite-sim/tests/fixtures/configs/nip_MAPbI3.yaml", + "config_sha256": "20fa8a8097c965330ce7b0d7e8f9286fc1960585231c360841d24ba7a1845668", + "input_resolution_pointer": "/transient_cases/3", + "effective_stack_sha256": "2d2b4556bf42394a7b7f2c4adecd2b098517cd0b564d54a6b04522cec1e03103", + "grid_payload_sha256": "5436fc2373ebfa3a515220c1eee89d6bc54310cc1476d04447e31e5bdb732b68", + "protocol_sha256": "cb81191ed2a34bb65f3aff092e44bf829375e13cdebdeff40f182be974202620", + "configured_N_grid": 200, + "actual_electrical_nodes": 199, + "legacy_density_slots": 597, + "candidate_unknown_count": "must be measured from assembled candidate system, including algebraic/gauge rows; do not equate with configured N", + "driver": "perovskite_sim.experiments.jv_sweep.run_jv_sweep", + "arguments": { + "N_grid": 200, + "n_points": 40, + "v_rate": 1.0, + "V_max": 1.4300000000000002, + "rtol": 0.0001, + "atol": 1e-06, + "illuminated": true, + "save_snapshots": true, + "decompose_currents": true, + "v_max_max_attempts": 1, + "certification_mode": "strict", + "allow_underresolved_grid": false, + "allow_unvalidated_driver": false, + "collect_numerical_diagnostics": true, + "protocol_mode": "research_strict" + }, + "baseline_capture_commands": [ + "TransientJvN200/nip_MAPbI3/OldRepeat1", + "TransientJvN200/nip_MAPbI3/OldRepeat2", + "TransientJvN200/nip_MAPbI3/OldRepeat3" + ], + "historical_timing_hint_s": [ + 9.05 + ], + "historical_applicability": "N60/20-point/1V-s note only, with old source/environment ambiguity and background load; no N200 qualified result or repeat distribution exists in the completed reference map" + }, + { + "id": "nip_MAPbI3_tmm", + "config_path": "perovskite-sim/tests/fixtures/configs/nip_MAPbI3_tmm.yaml", + "config_sha256": "4624f6923ffc10fbd401ce37702250f72b558d3e4ecdbd5d8e766ab84e21b1b2", + "input_resolution_pointer": "/transient_cases/5", + "effective_stack_sha256": "441c2bcd70913e88346259ef28eb3ae374e39dec50b2425328c7afc92f8925cb", + "grid_payload_sha256": "5436fc2373ebfa3a515220c1eee89d6bc54310cc1476d04447e31e5bdb732b68", + "protocol_sha256": "dae405b384658bd07f3043a905c639beb9e0c6257318f32eb85499b8a8657a63", + "configured_N_grid": 200, + "actual_electrical_nodes": 199, + "legacy_density_slots": 597, + "candidate_unknown_count": "must be measured from assembled candidate system, including algebraic/gauge rows; do not equate with configured N", + "driver": "perovskite_sim.experiments.jv_sweep.run_jv_sweep", + "arguments": { + "N_grid": 200, + "n_points": 40, + "v_rate": 1.0, + "V_max": 1.4, + "rtol": 0.0001, + "atol": 1e-06, + "illuminated": true, + "save_snapshots": true, + "decompose_currents": true, + "v_max_max_attempts": 1, + "certification_mode": "strict", + "allow_underresolved_grid": false, + "allow_unvalidated_driver": false, + "collect_numerical_diagnostics": true, + "protocol_mode": "research_strict" + }, + "baseline_capture_commands": [ + "TransientJvN200/nip_MAPbI3_tmm/OldRepeat1", + "TransientJvN200/nip_MAPbI3_tmm/OldRepeat2", + "TransientJvN200/nip_MAPbI3_tmm/OldRepeat3" + ], + "historical_timing_hint_s": [ + 13.68 + ], + "historical_applicability": "N60/20-point/1V-s note only, with old source/environment ambiguity and background load; no N200 qualified result or repeat distribution exists in the completed reference map" + } + ], + "all_variants_required": true, + "scope_selection": "Retain all three actual profiled devices (BL/ions/heterointerfaces and TMM); use the documented 40-point UI workload and measured 1 V/s performance history at each requested N. This prospective extension is explicit and is not a reduced 20-point or single easiest-preset substitute.", + "outputs": [ + "Both complete 40-point J-V branches", + "All component currents and spatial snapshots", + "Voc/Jsc/FF/PCE and named HI definition", + "Per-point validity, refinements/fallbacks and complete numerical-health evidence" + ], + "precision": { + "status": "prospective_definition_independent_reference_errors_pending", + "reference_source": "Execution plan section14.3; preserve stronger existing scoped tests as additional gates", + "Voc_V": { + "atol": 0.0001, + "rtol": 0, + "bracket_and_slope_required": true + }, + "J_A_m2": { + "atol": 0.001, + "rtol": 0.0001 + }, + "Jsc_A_m2": { + "atol": 0.001, + "rtol": 0.0001 + }, + "FF_fraction": { + "atol": 0.0001, + "rtol": 0.0001 + }, + "PCE_fraction": { + "atol": 1e-05, + "rtol": 0.0001 + }, + "HI_absolute": 0.001, + "rule": "sum with frozen reference magnitude; no candidate-dependent scale", + "weak_signal": "Null/zero or unresolved denominator stays unresolved; HI power uncertainties must satisfy the explicit propagated-error rule as well as generic powers", + "reference_error_max_fraction": 0.3333333333333333, + "meaning": "Numerical equivalence targets for these exact scenarios, not external SCAPS table limits or full HI-matrix qualification" + }, + "baseline_status": "requires_qualified_actual_capture", + "resource_caps": { + "wall_s_per_repeat": 3600, + "RSS_bytes": 12884901888, + "artifact_bytes_per_repeat": 2147483648 + }, + "correctness_before_timing": [ + "Independent numerical-reference errors within the declared budget for this exact device/protocol", + "All native point and initial-state numerical diagnostics valid, including near-flat-band and Voc probes", + "Both Voc values actually bracketed; no dropped tail, adaptive Vmax narrowing or switched optical model", + "Failed original attempts/runs retained; only complete successful qualified runs can enter timing statistics" + ], + "source_internal_controls": { + "initial_light_settle_s": 0.001, + "max_step": "Each source voltage dwell or subdivision duration/20", + "max_rhs_calls_per_attempt": 100000, + "max_bisect": 10, + "fallbacks": "All source-defined bisection, radiative and BDF/branch-certification probes remain bound and counted", + "rhs_regularization": null, + "fixed_generation": null + } + }, + { + "id": "ScapsSteady", + "user_target": "scaps_mirror steady sweep", + "minimum_speedup": 5, + "input_resolution_pointer": "/steady_case", + "config_path": "perovskite-sim/configs/scaps_mirror_v2.yaml", + "effective_stack_sha256": "24993d5186123db23d30027c9cddb0c2ead63da2748e112bad59268816b58e03", + "driver": "perovskite_sim.experiments.steady_state.run_jv_sweep_ss", + "arguments": { + "N_grid": 30, + "V_max": 1.6, + "n_points": 24, + "illuminated": true, + "iface_states": false, + "stop_after_voc": true, + "allow_underresolved_grid": false, + "allow_unvalidated_driver": false + }, + "configured_N_grid": 30, + "actual_nodes": 31, + "legacy_newton_unknowns": 62, + "protocol": "Original measured/test workload: fixed ions, explicit DOS setting, 24 target biases from0 to1.6V, source-defined continuation/bisection/fallback, stop immediately after the original current-zero crossing rule", + "output_path_rule": "Retain every accepted point including bisection points and the first negative-current bracket. After baseline qualification, freeze its exact returned observation path for candidate comparison; do not shorten it from new candidate results.", + "outputs": [ + "Full accepted V/J path and four metrics", + "Per-point residual/current bounds and acceptance category", + "All failed Newton assists and certified transient fallbacks in timing/diagnostics" + ], + "precision": { + "status": "prospective_definition_independent_reference_errors_pending", + "reference_source": "Execution plan section14.3; preserve stronger existing scoped tests as additional gates", + "Voc_V": { + "atol": 0.0001, + "rtol": 0, + "bracket_and_slope_required": true + }, + "J_A_m2": { + "atol": 0.001, + "rtol": 0.0001 + }, + "Jsc_A_m2": { + "atol": 0.001, + "rtol": 0.0001 + }, + "FF_fraction": { + "atol": 0.0001, + "rtol": 0.0001 + }, + "PCE_fraction": { + "atol": 1e-05, + "rtol": 0.0001 + }, + "HI_absolute": 0.001, + "rule": "sum with frozen reference magnitude; no candidate-dependent scale", + "weak_signal": "Null/zero or unresolved denominator stays unresolved; HI power uncertainties must satisfy the explicit propagated-error rule as well as generic powers", + "reference_error_max_fraction": 0.3333333333333333, + "meaning": "Numerical equivalence targets for these exact scenarios, not external SCAPS table limits or full HI-matrix qualification" + }, + "scope_limit": "5x applies to this original stopped frozen-ion steady workload, not all13 SCAPS report groups or independent external physics", + "baseline_capture_commands": [ + "ScapsSteady/scaps_mirror_v2/OldRepeat1", + "ScapsSteady/scaps_mirror_v2/OldRepeat2", + "ScapsSteady/scaps_mirror_v2/OldRepeat3" + ], + "historical_timing_hint_s": 31.6, + "historical_timing_limit": "The noted completed workload included66 failed Newton attempts and34 transient fallbacks; its runners/raw timing output are absent at documented paths and it is not a qualified denominator", + "related_reference_lane": "scaps-mirror-frozen-ion-ss", + "related_lane_applicability": "The three mapped old registry runs used scaps_mirror (different config) and have failed certificates/all9 cells failed; exclude all as denominators", + "baseline_status": "requires_qualified_actual_capture", + "resource_caps": { + "wall_s_per_repeat": 600, + "RSS_bytes": 12884901888, + "artifact_bytes_per_repeat": 2147483648 + }, + "correctness_before_timing": [ + "Source-defined residual or current-bounded-stall criteria independently verified for every accepted point, not merely solver success", + "Steady/fallback result satisfies the exact numerical-reference budgets", + "Bracketing/stop protocol preserved; internal failed work remains counted", + "No replacement with an easier configuration or the faster successful-only subset" + ], + "source_internal_controls": { + "TE_softness": 0.02, + "solve_steady_state": { + "tol_relative_peak_density_rate_s_minus1": 1e-06, + "tol_log_step": 1e-08, + "tol_accept_legacy": 0.5, + "max_continuity_current_error_A_m2": 0.1, + "max_newton": 60, + "assist_times_s": [ + 0.0001, + 0.001, + 0.01 + ] + }, + "continuation_bisection_levels": 4, + "rhs_regularization": null, + "precision_gap": "Native acceptance limits alone do not prove the tighter migration/reference errors; independently qualify the actual result before any speed denominator" + } + }, + { + "id": "Spatial2DStageA", + "user_target": "Spatial 2D Stage A", + "minimum_speedup": 10, + "variants": [ + { + "id": "Nx4", + "input_resolution_pointer": "/twod_cases/0", + "configured_Nx": 4, + "configured_Ny_per_layer": 10, + "actual_Nx": 5, + "actual_Ny": 31, + "actual_physical_nodes": 155, + "legacy_carrier_unknowns": 310, + "effective_stack_sha256": "8dcee3019e6a270232b5702a62e7c012c702414bb1ef597e5841d668ef99c8d1", + "protocol_sha256": "34c9ef82970e15953f00dd12bef56189080bf2143e478d2a3d139c59be38be0c", + "arguments": { + "lateral_length": 5e-07, + "Nx": 4, + "Ny_per_layer": 10, + "V_max": 1.2, + "V_step": 0.1, + "settle_t": 0.001, + "illuminated": true, + "lateral_bc": "periodic", + "save_snapshots": true, + "ion_dynamics": "frozen", + "interface_srh": "off", + "rtol": 1e-06, + "atol": 1e-08, + "initial_state_settle_s": 0.001 + }, + "baseline_capture_commands": [ + "Spatial2DStageA/Nx4/OldRepeat1", + "Spatial2DStageA/Nx4/OldRepeat2", + "Spatial2DStageA/Nx4/OldRepeat3" + ] + }, + { + "id": "Nx8", + "input_resolution_pointer": "/twod_cases/1", + "configured_Nx": 8, + "configured_Ny_per_layer": 10, + "actual_Nx": 9, + "actual_Ny": 31, + "actual_physical_nodes": 279, + "legacy_carrier_unknowns": 558, + "effective_stack_sha256": "8dcee3019e6a270232b5702a62e7c012c702414bb1ef597e5841d668ef99c8d1", + "protocol_sha256": "7661a74f2e711e690ce16200be1c2a7b8fa54d6cc51d1b84258e87cace79ff8f", + "arguments": { + "lateral_length": 5e-07, + "Nx": 8, + "Ny_per_layer": 10, + "V_max": 1.2, + "V_step": 0.1, + "settle_t": 0.001, + "illuminated": true, + "lateral_bc": "periodic", + "save_snapshots": true, + "ion_dynamics": "frozen", + "interface_srh": "off", + "rtol": 1e-06, + "atol": 1e-08, + "initial_state_settle_s": 0.001 + }, + "baseline_capture_commands": [ + "Spatial2DStageA/Nx8/OldRepeat1", + "Spatial2DStageA/Nx8/OldRepeat2", + "Spatial2DStageA/Nx8/OldRepeat3" + ] + }, + { + "id": "Nx16", + "input_resolution_pointer": "/twod_cases/2", + "configured_Nx": 16, + "configured_Ny_per_layer": 10, + "actual_Nx": 17, + "actual_Ny": 31, + "actual_physical_nodes": 527, + "legacy_carrier_unknowns": 1054, + "effective_stack_sha256": "8dcee3019e6a270232b5702a62e7c012c702414bb1ef597e5841d668ef99c8d1", + "protocol_sha256": "78c29ad1c0f385e42306204efd4ecf16044a6bfef6bdfdd7b3d897ba27af6d71", + "arguments": { + "lateral_length": 5e-07, + "Nx": 16, + "Ny_per_layer": 10, + "V_max": 1.2, + "V_step": 0.1, + "settle_t": 0.001, + "illuminated": true, + "lateral_bc": "periodic", + "save_snapshots": true, + "ion_dynamics": "frozen", + "interface_srh": "off", + "rtol": 1e-06, + "atol": 1e-08, + "initial_state_settle_s": 0.001 + }, + "baseline_capture_commands": [ + "Spatial2DStageA/Nx16/OldRepeat1", + "Spatial2DStageA/Nx16/OldRepeat2", + "Spatial2DStageA/Nx16/OldRepeat3" + ] + } + ], + "all_variants_required": true, + "scope_selection": "The original full Stage-A uniform-device parity workload, with its Nx4 case and predetermined Nx8/Nx16 size extensions; same500nm lateral width,31 vertical nodes,13 biases and1ms dwell. This is a source-grounded proposed small-Stage-A scaling scope, not a claim about the separate10^4–10^5-unknown feasibility range. Root must approve this exact scope before performance acceptance.", + "source_test": "perovskite-sim/tests/regression/test_twod_validation.py::test_twod_uniform_matches_1d_within_tolerance", + "driver": "perovskite_sim.twod.experiments.jv_sweep_2d.run_jv_sweep_2d", + "outputs": [ + "All13 J/V points through1.2V", + "Every2D spatial snapshot and native protocol/grid", + "Current fields, lateral-invariance evidence and all required physical diagnostics" + ], + "precision": { + "inherited_gate": "All six original Stage-A checks remain mandatory", + "Voc_atol_V": 0.0001, + "Jsc_rtol": 0.0005, + "FF_atol_fraction": 0.001, + "lateral_variation_max": 1e-09, + "migration_precision": { + "status": "prospective_definition_independent_reference_errors_pending", + "reference_source": "Execution plan section14.3; preserve stronger existing scoped tests as additional gates", + "Voc_V": { + "atol": 0.0001, + "rtol": 0, + "bracket_and_slope_required": true + }, + "J_A_m2": { + "atol": 0.001, + "rtol": 0.0001 + }, + "Jsc_A_m2": { + "atol": 0.001, + "rtol": 0.0001 + }, + "FF_fraction": { + "atol": 0.0001, + "rtol": 0.0001 + }, + "PCE_fraction": { + "atol": 1e-05, + "rtol": 0.0001 + }, + "HI_absolute": 0.001, + "rule": "sum with frozen reference magnitude; no candidate-dependent scale", + "weak_signal": "Null/zero or unresolved denominator stays unresolved; HI power uncertainties must satisfy the explicit propagated-error rule as well as generic powers", + "reference_error_max_fraction": 0.3333333333333333, + "meaning": "Numerical equivalence targets for these exact scenarios, not external SCAPS table limits or full HI-matrix qualification" + }, + "reference_error_max_fraction": 0.3333333333333333 + }, + "growth_measurement": { + "x_axis": "Actual assembled unknown count per implementation, plus physical nodes/Nx/Ny; never configured Nx or N_grid alone", + "y_axis": "Capture.json/elapsed_capture_s only for the gate; process-wall and solver-only growth are secondary", + "metric": "For adjacent small/middle, middle/large and endpoint small/large size pairs, beta=log(Tlarge/Tsmall)/log(Nlarge/Nsmall) using each implementation actual assembled unknown counts and median primary time; gate uses worst pair beta. An OLS fit may be reported only as secondary.", + "prospective_gate": "pass iff candidate worst-pair upper<2.5 and candidate upper=2.5 or candidate lower>=baseline upper; otherwise unresolved. Do not select a favorable timing series or size pair.", + "no_extrapolation": "Do not extrapolate this small-size test to10^4–10^5 unknowns or use new capacity when the old run fails as a speedup denominator", + "uncertainty": "For each size pair, beta_low=log(min(Tlarge)/max(Tsmall))/log(Nlarge/Nsmall), beta_high=log(max(Tlarge)/min(Tsmall))/log(Nlarge/Nsmall), using all3x3 combinations. Worst-pair interval is[max(pair lows),max(pair highs)].", + "count_rule": "All three actual unknown counts must be strictly increasing, with all3 successful qualified repeats per size; a missing/failed old scale blocks the denominator and growth comparison." + }, + "related_reference_lane": "twod-uniform-limit", + "baseline_status": "No qualified timing baseline; mapped old uniform-limit certificates failed or incomplete. The certified mobile-ion/interface 2D lane is a different physical problem and is not a substitute.", + "resource_caps": { + "wall_s_per_repeat": 3600, + "RSS_bytes": 12884901888, + "artifact_bytes_per_repeat": 2147483648 + }, + "source_internal_controls": { + "solver_method": "Radau", + "solver_rtol": 1e-06, + "solver_atol": { + "mode": "scalar", + "scalar_atol": 1e-08, + "carrier_fraction": null, + "ion_fraction": null, + "interface_fraction": null, + "minimum_atol": null, + "refinement_factor": null + }, + "solver_max_step_divisor": 50, + "max_nfev_per_solve": 200000, + "max_bisect": 6, + "ion_inventory_rtol": 1e-09, + "current_composition": "electron_hole_conduction", + "current_sampling": "instantaneous_dwell_endpoint", + "applied_voltage_rate_at_sampling_V_s": 0.0, + "initial_state_settle_s": 0.001 + } + }, + { + "id": "AC60", + "user_target": "60-frequency AC versus qualified time lock-in at the same working point", + "minimum_speedup": 10, + "input_resolution_pointer": "/ac_case", + "config_path": "perovskite-sim/tests/fixtures/configs/ionmonger_benchmark.yaml", + "configured_N_grid": 60, + "actual_nodes": 61, + "effective_stack_sha256": "d83215f2d98fe038796d02c69597876d0dcb96094ccfd18a8761ae28c8e71909", + "frequencies_Hz": [ + 1e-06, + 1.3141473626117555e-06, + 1.726983290659436e-06, + 2.2695105366946684e-06, + 2.982471286216888e-06, + 3.919406774847221e-06, + 5.150678076168122e-06, + 6.768750009458541e-06, + 8.895134973108237e-06, + 1.1689518164985777e-05, + 1.5361749466718298e-05, + 2.0187602546790388e-05, + 2.6529484644318946e-05, + 3.4863652276780875e-05, + 4.581597669054491e-05, + 6.020894493336126e-05, + 7.912342618981327e-05, + 0.000103979841848149, + 0.00013664483492953258, + 0.00017957144943716409, + 0.00023598334667821938, + 0.00031011689265747787, + 0.0004075392965871778, + 0.0005355666917706902, + 0.0007038135554931555, + 0.0009249147277217336, + 0.0012154742500762872, + 0.001597312280060254, + 0.0020991037201085546, + 0.002758531617629184, + 0.003625117049988535, + 0.004763938010401341, + 0.006260516572014822, + 0.008227241341700473, + 0.010811807510766078, + 0.014208308325339238, + 0.018671810912919206, + 0.024537511066398166, + 0.03224590545296398, + 0.04237587160604064, + 0.05568813990945267, + 0.07318242219076182, + 0.09617248711152965, + 0.1263848202934297, + 0.16608827826277167, + 0.21826447283974873, + 0.2868316813342015, + 0.37693909753883637, + 0.495353520895917, + 0.6509675230458177, + 0.8554672535565685, + 1.1242100350620863, + 1.4773776525985127, + 1.9414919457438817, + 2.5514065200312874, + 3.35292414924956, + 4.406236427773573, + 5.790443980602483, + 7.609496685459884, + 10.0 + ], + "frequency_payload_sha256": "90dcb4bb52c5643bd0eb926bc0bbdc8416da28b7314ae9e142081eb969f669bf", + "operating_point": { + "V_dc_V": 0.9, + "delta_V_V": 0.01, + "illuminated": true, + "temperature_K": 300.0, + "state_source": "One exact qualified IonAwareDCResult shared by both methods; hash initial state/grid/physical protocol, no separate approximate settle", + "qualified_reference_packet_path": "/Users/bytedance/Library/Mobile Documents/com~apple~CloudDocs/projects/solarlab/results/RefactorPerformance/AC60/ReferencePacket/PreparationV1/RecordV1/Result.pkl", + "qualified_reference_packet_sha256": null, + "amplitude_semantics": "delta_V=0.01 V is the fixed finite-amplitude full nonlinear MoL timing input; delta_V<0.02 V is only a source input guard, not a linearity certificate." + }, + "reference_preparation_command": "AC60/ReferencePacket/Preparation", + "baseline_driver": "perovskite_sim.experiments.ion_aware_impedance_lockin.run_ion_aware_transient_lockin_crosscheck", + "baseline_protocol": { + "cycles": 6, + "extraction_cycles": 2, + "points_per_cycle_levels": [ + 40, + 80, + 160 + ], + "solver_steps_per_sample_interval": 5, + "rtol": 1e-06, + "carrier_atol_fraction": 1e-12, + "ion_atol_fraction": 1e-12, + "interface_atol_fraction": 1e-12, + "minimum_atol_m3": 1e-06, + "max_nfev_per_solve": 500000, + "levels_times_frequencies": 180, + "time_scope": "At frequency f, integrate full6/f seconds from the same exact DC state; never shorten low-frequency cycles or retain only the three old crosscheck points" + }, + "baseline_capture_commands": [ + "AC60/TimeLockIn/OldRepeat1", + "AC60/TimeLockIn/OldRepeat2", + "AC60/TimeLockIn/OldRepeat3" + ], + "frequency_driver_reference": "perovskite_sim.experiments.ion_aware_impedance.run_ion_aware_impedance; the future candidate must rebuild its own qualified operator, not return the cached reference", + "frequency_protocol": { + "state_step": 1e-05, + "voltage_step": 1e-05, + "refinement_factors": [ + 1, + 0.5, + 0.25 + ], + "all60_required": true + }, + "outputs": [ + "All60 measured finest-resolution transient Z and Y=1/Z, joined by frequency_Hz and explicitly separated from frequency-domain oracle arrays", + "Independent time-domain per-face/per-component/edge-midpoint histories and complete partial failures through the required reviewed hook", + "Full native source/operator/mass/perturbation, conservation, periodicity, inventory, contact and frequency-window certificates", + "All three original sample/time levels and all required reference-qualification evidence; no selected-point timing" + ], + "precision": { + "status": "prospective_migration_precision_plus_all_existing_native_gates; actual error qualification pending", + "complex_Y_and_Z": { + "rtol": 0.0001, + "atol": 0.0, + "scale": "magnitude of frozen reference at each frequency", + "zero_or_unresolved": "unresolved rather than divide or fabricate an absolute floor; no frequency may be dropped" + }, + "circular_phase_atol_rad": 0.0001, + "phase_derivation": "An order1e-4 resolved relative complex error implies an order1e-4 radian angular budget; separately require the frozen circular phase gate", + "native_linear_backward_error_max": 1e-10, + "native_all_face_spread_max": 0.0005, + "native_mass_error_max": 1e-08, + "native_inventory_response_max": 1e-08, + "native_component_closure_max": 1e-07, + "native_lockin_gates": "All existing native checks remain necessary and additional; they do not imply the1e-4 complex/phase comparator or its reference-error allocations.", + "reference_error_max_fraction": 0.3333333333333333 + }, + "timing_boundary": "Primary10x comparison begins from loading the same hash-qualified DC/reference packet and includes fresh material/operator construction, each method’s complete spectrum and required diagnostic/refinement work, and full output serialization. The one-time DC/oracle qualification run is reported separately and excluded symmetrically from both timing denominators; never make time lock-in pay an extra candidate-frequency solve. Also report whole-workflow preparation costs without labeling that ratio10x.", + "baseline_status": "requires_actual_qualified_full60_capture", + "historical_reference": "The completed map includes one certified9-cell ion-aware frequency refinement run and a separate failed attempt; an exact-DC lock-in test covers only3 frequencies on a smaller grid. None is a qualified60-frequency performance denominator.", + "known_contact_gap": "IonMonger has a missing thermodynamic contact qualification: its existing numerical refinement checks contact_not_inconsistent but records compatible_unverified because endpoint effective-DOS inputs are absent. The 6.024958093 meV inconsistent-contact measurement belongs to the distinct historical scaps_mirror_v2 configuration and must not be attributed to this AC60 case. Keep the compatible-contact 5 meV standard and require independent qualification of the actual IonMonger inputs before strict AC60 acceptance; do not silently change reservoirs, infer failure from another device, or weaken the gate.", + "resource_caps": { + "wall_s_per_repeat": 7200, + "reference_preparation_wall_s": 1800, + "RSS_bytes": 12884901888, + "artifact_bytes_per_repeat": 4294967296 + }, + "common_observable": { + "definition": "Zero-amplitude passive per-area terminal admittance Y0(f)=lim(a->0) Ihat_passive(f,a)/a at the exact shared qualified DC state; Z0=1/Y0 only for a resolved nonzero response.", + "measured_time_impedance_pointer": "/resolution_evidence/-1/frequency_evidence/*/impedance_ohm_m2", + "coordinate_key": "frequency_Hz; exact join against all 60 frozen coordinates; no array-position-only comparison", + "measured_time_admittance": "Y_time=1/Z_time from the same finest transient evidence; reject zero/nonfinite/unresolved Z", + "oracle_only_paths": [ + "/frequency_domain/Z", + "/frequency_domain/Y", + "/frequency_domain/all_face_components" + ], + "oracle_rule": "Embedded frequency_domain data are the oracle, never measured time-domain output or an eligible replacement for missing history.", + "current_sampling": "At each interval midpoint: endpoint total minus endpoint conduction plus midpoint conduction; retain interval displacement and midpoint conduction separately at every face.", + "spatial_weighting": "Solar Jbar=sum(J_face*diff(x))/(x[-1]-x[0]); passive current density=-Jbar, matching the source sign. No single-face substitute.", + "phasor": "V(t)=Vdc+a*sin(2*pi*f*t); joint least-squares [1,scaled t,sin,cos] over the last two cycles; Ihat=I_sin+i*I_cos; Z=a/Ihat in ohm m^2, Y in S/m^2.", + "finite_to_zero_rule": "The unchanged 10mV timed result is eligible only when its nonlinear bias plus all other independently bounded reference errors fits the allocations below; no automatic amplitude reduction, linear-system time integration, or threshold relaxation." + }, + "reference_qualification_plan": { + "status": "prospective_required_before_timing_or_acceptance; contact qualification remains blocking", + "total_reference_relative_complex_budget": 3.3333333333333335e-05, + "total_reference_phase_budget_rad": 3.3333333333333335e-05, + "combination": "Conservative sum, never root-sum-square; separately bound both Y and Z and their reciprocal propagation. Per-frequency magnitudes are frozen independent reference scales; zero/unresolved scales block all-frequency acceptance.", + "allocations": [ + { + "axis": "finite_amplitude_to_zero", + "fraction_of_final_allowance": "1/15", + "relative_complex_limit": 6.666666666666667e-06, + "phase_limit_rad": 6.666666666666667e-06 + }, + { + "axis": "time_sampling_solver_extraction", + "fraction_of_final_allowance": "1/15", + "relative_complex_limit": 6.666666666666667e-06, + "phase_limit_rad": 6.666666666666667e-06 + }, + { + "axis": "finite_window_periodicity", + "fraction_of_final_allowance": "1/15", + "relative_complex_limit": 6.666666666666667e-06, + "phase_limit_rad": 6.666666666666667e-06 + }, + { + "axis": "DC_prestate", + "fraction_of_final_allowance": "1/15", + "relative_complex_limit": 6.666666666666667e-06, + "phase_limit_rad": 6.666666666666667e-06 + }, + { + "axis": "frequency_operator", + "fraction_of_final_allowance": "1/15", + "relative_complex_limit": 6.666666666666667e-06, + "phase_limit_rad": 6.666666666666667e-06 + } + ], + "amplitude": { + "delta_V_V": [ + 0.01, + 0.005, + 0.0025, + 0.00125 + ], + "cycles": 6, + "points_per_cycle": 320, + "model": "Same full nonlinear MoL and source-defined current, not the linearized frequency operator", + "bias_rule": "Bound the original10mV response against the zero-amplitude limit for every frequency; three nested quadratic-in-amplitude extrapolants diagnose an even-power expansion, but finite differences alone are not a remainder certificate. Require an independently reviewed asymptotic/remainder bound or independent qualified reference; absent bound remains unresolved.", + "extrapolant": "Z0(a)=(4*Z(a/2)-Z(a))/3, with analogous Y; include zero-limit uncertainty in the original10mV discrepancy." + }, + "time": { + "points_per_cycle_levels": [ + 40, + 80, + 160, + 320 + ], + "cycles": 6, + "delta_V_V": 0.01, + "solver_steps_per_sample_interval": 5, + "axis_identity": "Joint observation/step-cap/current-extraction refinement of the original source; one allocation, not separate sampling and solver evidence", + "solver_ladder": { + "rtol": [ + 1e-06, + 1e-07, + 1e-08 + ], + "component_atol_fraction": [ + 1e-12, + 1e-13, + 1e-14 + ], + "minimum_atol_m3": [ + 1e-06, + 1e-07, + 1e-08 + ], + "fixed_points_per_cycle": 320, + "fixed_cycles": 10 + }, + "bound_rule": "Conservatively combine an independently justified temporal/extraction tail bound, nonlinear solver/RHS error and observable derivative error; measured adjacent differences alone do not certify the continuum limit." + }, + "periodicity": { + "cycles_levels": [ + 6, + 8, + 10 + ], + "extraction_cycles": 2, + "fixed_points_per_cycle": 320, + "delta_V_V": 0.01, + "bound_rule": "Bound bias of the original six-cycle window relative to the settled periodic response, using both full state and cycle-resolved complex currents; zero drift of one scalar alone is insufficient. No automatic extension of the timed six-cycle workload." + }, + "DC_and_operator": "Use independently qualified, source-bound DC-state and voltage/state derivative refinements; propagate their actual errors to Y0/Z0 and phase within their separate allocations. Native residual flags are necessary but not these error bounds.", + "new_comparator": "For each frequency, require abs(Z_candidate-Z_reference)<=1e-4*abs(Z_reference), and the analogous Y rule, plus abs(atan2(sin(delta_phase),cos(delta_phase)))<=1e-4 rad. Preserve every native gate as an additional requirement.", + "native_gate_limit": "Native2%/1degree agreement and1%/0.5degree time-refinement gates, and deltaV<20mV, do not prove the1e-4 complex/phase specification.", + "bounded_scope": { + "frequencies": 60, + "unique_transient_integrations_upper_bound": 660, + "count_basis": "Per frequency:3 original time levels +1 level320 +3 smaller amplitudes +2 longer windows +2 solver refinements =11. Exact full-identity reuse only; otherwise count every additional execution and seek new admission before exceeding this bound.", + "qualification_wall_cap_s": 7200, + "DC_oracle_preparation_wall_cap_s": 1800, + "RSS_bytes": 12884901888, + "artifact_bytes": 4294967296, + "run_authorization": false, + "stop_rule": "No automatic retries, extra rungs, frequency dropping or reduced diagnostics when a bound is exceeded; qualification remains unresolved." + } + }, + "required_time_history_export": { + "status": "missing_reviewed_production_hook_prerequisite", + "source": "perovskite-sim/perovskite_sim/experiments/ion_aware_impedance_lockin.py:_run_frequency", + "needed_hook": "An observational callback/result field at each frequency/resolution must retain edge/midpoint times, applied voltage, state history, per-face/per-species conduction, interval displacement, passive weighted current, extraction coefficients/window and available partial failure history. It must not change the physical RHS, controls, solver steps or extraction.", + "cost": "All callback/extraction/history serialization and failure retention cost is inside elapsed_capture_s for both methods; hook source and overhead must be reviewed and source-bound before timing.", + "current_limit": "Current TransientLockInFrequencyEvidence returns only complex impedance and scalar diagnostics; embedded frequency-domain face/component arrays cannot satisfy this requirement." + } + } + ], + "commands": [ + { + "id": "TransientJvN80/ionmonger_benchmark/OldRepeat1", + "working_directory": "/Users/bytedance/Intern/SolarLab/outputs/refactor_performance/baseline_snapshot_v1/source/perovskite-sim", + "environment": { + "PYTHONDONTWRITEBYTECODE": "1", + "OMP_NUM_THREADS": "1", + "OPENBLAS_NUM_THREADS": "1", + "MKL_NUM_THREADS": "1", + "VECLIB_MAXIMUM_THREADS": "1", + "NUMEXPR_NUM_THREADS": "1", + "BLIS_NUM_THREADS": "1" + }, + "argv": [ + "/usr/bin/time", + "-l", + "/Users/bytedance/Intern/SolarLab/outputs/refactor_performance/baseline_snapshot_v1/environment/bin/python", + "-B", + "-c", + "from pathlib import Path\nimport json,pickle,time,traceback,hashlib\nfrom dataclasses import asdict\nout=Path('/Users/bytedance/Library/Mobile Documents/com~apple~CloudDocs/projects/solarlab/results/RefactorPerformance/TransientJvN80/ionmonger_benchmark/Old/RepeatV1')\nout.mkdir(parents=True,exist_ok=False)\nstarted=time.perf_counter()\nresult=None\ntry:\n from perovskite_sim.models.config_loader import load_device_from_yaml\n from perovskite_sim.experiments.jv_sweep import run_jv_sweep,build_jv_experiment_protocol\n stack=load_device_from_yaml('tests/fixtures/configs/ionmonger_benchmark.yaml')\n protocol=build_jv_experiment_protocol(stack,v_rate=1.0,n_points=40,V_max=1.4,illuminated=True)\n result=run_jv_sweep(stack,experiment_protocol=protocol,**{'N_grid': 80, 'n_points': 40, 'v_rate': 1.0, 'V_max': 1.4, 'rtol': 0.0001, 'atol': 1e-06, 'illuminated': True, 'save_snapshots': True, 'decompose_currents': True, 'v_max_max_attempts': 1, 'certification_mode': 'strict', 'allow_underresolved_grid': False, 'allow_unvalidated_driver': False, 'collect_numerical_diagnostics': True, 'protocol_mode': 'research_strict'})\n assert len(result.V_fwd)==40 and len(result.V_rev)==40\n assert result.metrics_fwd.voc_bracketed and result.metrics_rev.voc_bracketed\n assert result.status_fwd is not None and result.status_rev is not None\n assert all(x.valid for x in result.status_fwd+result.status_rev)\n assert result.snapshots_fwd is not None and result.snapshots_rev is not None\n assert result.decomp_fwd is not None and result.decomp_rev is not None\n assert result.initial_numerical_diagnostics is not None\n raw=pickle.dumps(result,protocol=5)\n (out/\"Result.pkl\").write_bytes(raw)\n metadata={\"status\":\"complete_capture_unqualified\",\"elapsed_capture_s\":time.perf_counter()-started,\"result_sha256\":hashlib.sha256(raw).hexdigest(),\"measurement_observer_required\":True}\n (out/\"Capture.json\").write_text(json.dumps(metadata,indent=2)+\"\\n\")\nexcept BaseException as error:\n partial=getattr(error,\"result\",result)\n if partial is not None:\n (out/\"PartialResult.pkl\").write_bytes(pickle.dumps(partial,protocol=5))\n (out/\"Failure.json\").write_text(json.dumps({\"status\":\"failed\",\"error\":str(error),\"elapsed_s\":time.perf_counter()-started,\"traceback\":traceback.format_exc()},indent=2)+\"\\n\")\n raise\n" + ], + "command_code_sha256": "d072b126044c12f9a96a97303b61ab860aa15fd0c2e99afb251eee65bbcf164a", + "planned_output_directory": "/Users/bytedance/Library/Mobile Documents/com~apple~CloudDocs/projects/solarlab/results/RefactorPerformance/TransientJvN80/ionmonger_benchmark/Old/RepeatV1", + "status": "statically_checked_not_executed", + "qualification": "Capture recipe only; required independent correctness, reference/source/env qualification and complete timing observer must be satisfied before any result becomes a speed denominator", + "stdout_and_stderr": "Supervisor must retain stdout and /usr/bin/time resource stderr in this run directory; no discarded diagnostics", + "prior_validation": { + "command_code_sha256": "d072b126044c12f9a96a97303b61ab860aa15fd0c2e99afb251eee65bbcf164a", + "review_receipt_sha256": "5fddd08bc242cfe92e7da20d8df4f7150a6ef7aa8c7fb51811e1c7a94c0e55d0", + "reviewed_plan_sha256": "b6721abbcc7ed227bd5067d80c53763cc69078b8172600de72dc4b048564f5c6", + "scope": "previous source recipe syntax/direct arguments only; not current modified recipe or execution" + }, + "snapshot_binding": { + "required_receipt": "/Users/bytedance/Intern/SolarLab/outputs/refactor_performance/baseline_snapshot_v1/SnapshotV1.json", + "receipt_sha256": null, + "required_status": "readonly_complete_source_dependency_and_effective_input_verified_before_and_after", + "status": "unmaterialized; direct live checkout execution is not qualifying" + } + }, + { + "id": "TransientJvN80/ionmonger_benchmark/OldRepeat2", + "working_directory": "/Users/bytedance/Intern/SolarLab/outputs/refactor_performance/baseline_snapshot_v1/source/perovskite-sim", + "environment": { + "PYTHONDONTWRITEBYTECODE": "1", + "OMP_NUM_THREADS": "1", + "OPENBLAS_NUM_THREADS": "1", + "MKL_NUM_THREADS": "1", + "VECLIB_MAXIMUM_THREADS": "1", + "NUMEXPR_NUM_THREADS": "1", + "BLIS_NUM_THREADS": "1" + }, + "argv": [ + "/usr/bin/time", + "-l", + "/Users/bytedance/Intern/SolarLab/outputs/refactor_performance/baseline_snapshot_v1/environment/bin/python", + "-B", + "-c", + "from pathlib import Path\nimport json,pickle,time,traceback,hashlib\nfrom dataclasses import asdict\nout=Path('/Users/bytedance/Library/Mobile Documents/com~apple~CloudDocs/projects/solarlab/results/RefactorPerformance/TransientJvN80/ionmonger_benchmark/Old/RepeatV2')\nout.mkdir(parents=True,exist_ok=False)\nstarted=time.perf_counter()\nresult=None\ntry:\n from perovskite_sim.models.config_loader import load_device_from_yaml\n from perovskite_sim.experiments.jv_sweep import run_jv_sweep,build_jv_experiment_protocol\n stack=load_device_from_yaml('tests/fixtures/configs/ionmonger_benchmark.yaml')\n protocol=build_jv_experiment_protocol(stack,v_rate=1.0,n_points=40,V_max=1.4,illuminated=True)\n result=run_jv_sweep(stack,experiment_protocol=protocol,**{'N_grid': 80, 'n_points': 40, 'v_rate': 1.0, 'V_max': 1.4, 'rtol': 0.0001, 'atol': 1e-06, 'illuminated': True, 'save_snapshots': True, 'decompose_currents': True, 'v_max_max_attempts': 1, 'certification_mode': 'strict', 'allow_underresolved_grid': False, 'allow_unvalidated_driver': False, 'collect_numerical_diagnostics': True, 'protocol_mode': 'research_strict'})\n assert len(result.V_fwd)==40 and len(result.V_rev)==40\n assert result.metrics_fwd.voc_bracketed and result.metrics_rev.voc_bracketed\n assert result.status_fwd is not None and result.status_rev is not None\n assert all(x.valid for x in result.status_fwd+result.status_rev)\n assert result.snapshots_fwd is not None and result.snapshots_rev is not None\n assert result.decomp_fwd is not None and result.decomp_rev is not None\n assert result.initial_numerical_diagnostics is not None\n raw=pickle.dumps(result,protocol=5)\n (out/\"Result.pkl\").write_bytes(raw)\n metadata={\"status\":\"complete_capture_unqualified\",\"elapsed_capture_s\":time.perf_counter()-started,\"result_sha256\":hashlib.sha256(raw).hexdigest(),\"measurement_observer_required\":True}\n (out/\"Capture.json\").write_text(json.dumps(metadata,indent=2)+\"\\n\")\nexcept BaseException as error:\n partial=getattr(error,\"result\",result)\n if partial is not None:\n (out/\"PartialResult.pkl\").write_bytes(pickle.dumps(partial,protocol=5))\n (out/\"Failure.json\").write_text(json.dumps({\"status\":\"failed\",\"error\":str(error),\"elapsed_s\":time.perf_counter()-started,\"traceback\":traceback.format_exc()},indent=2)+\"\\n\")\n raise\n" + ], + "command_code_sha256": "69cc2464312b6adc535764d66202cb54ec4bad9a4be97b60fc0a9c32feb66155", + "planned_output_directory": "/Users/bytedance/Library/Mobile Documents/com~apple~CloudDocs/projects/solarlab/results/RefactorPerformance/TransientJvN80/ionmonger_benchmark/Old/RepeatV2", + "status": "statically_checked_not_executed", + "qualification": "Capture recipe only; required independent correctness, reference/source/env qualification and complete timing observer must be satisfied before any result becomes a speed denominator", + "stdout_and_stderr": "Supervisor must retain stdout and /usr/bin/time resource stderr in this run directory; no discarded diagnostics", + "prior_validation": { + "command_code_sha256": "69cc2464312b6adc535764d66202cb54ec4bad9a4be97b60fc0a9c32feb66155", + "review_receipt_sha256": "5fddd08bc242cfe92e7da20d8df4f7150a6ef7aa8c7fb51811e1c7a94c0e55d0", + "reviewed_plan_sha256": "b6721abbcc7ed227bd5067d80c53763cc69078b8172600de72dc4b048564f5c6", + "scope": "previous source recipe syntax/direct arguments only; not current modified recipe or execution" + }, + "snapshot_binding": { + "required_receipt": "/Users/bytedance/Intern/SolarLab/outputs/refactor_performance/baseline_snapshot_v1/SnapshotV1.json", + "receipt_sha256": null, + "required_status": "readonly_complete_source_dependency_and_effective_input_verified_before_and_after", + "status": "unmaterialized; direct live checkout execution is not qualifying" + } + }, + { + "id": "TransientJvN80/ionmonger_benchmark/OldRepeat3", + "working_directory": "/Users/bytedance/Intern/SolarLab/outputs/refactor_performance/baseline_snapshot_v1/source/perovskite-sim", + "environment": { + "PYTHONDONTWRITEBYTECODE": "1", + "OMP_NUM_THREADS": "1", + "OPENBLAS_NUM_THREADS": "1", + "MKL_NUM_THREADS": "1", + "VECLIB_MAXIMUM_THREADS": "1", + "NUMEXPR_NUM_THREADS": "1", + "BLIS_NUM_THREADS": "1" + }, + "argv": [ + "/usr/bin/time", + "-l", + "/Users/bytedance/Intern/SolarLab/outputs/refactor_performance/baseline_snapshot_v1/environment/bin/python", + "-B", + "-c", + "from pathlib import Path\nimport json,pickle,time,traceback,hashlib\nfrom dataclasses import asdict\nout=Path('/Users/bytedance/Library/Mobile Documents/com~apple~CloudDocs/projects/solarlab/results/RefactorPerformance/TransientJvN80/ionmonger_benchmark/Old/RepeatV3')\nout.mkdir(parents=True,exist_ok=False)\nstarted=time.perf_counter()\nresult=None\ntry:\n from perovskite_sim.models.config_loader import load_device_from_yaml\n from perovskite_sim.experiments.jv_sweep import run_jv_sweep,build_jv_experiment_protocol\n stack=load_device_from_yaml('tests/fixtures/configs/ionmonger_benchmark.yaml')\n protocol=build_jv_experiment_protocol(stack,v_rate=1.0,n_points=40,V_max=1.4,illuminated=True)\n result=run_jv_sweep(stack,experiment_protocol=protocol,**{'N_grid': 80, 'n_points': 40, 'v_rate': 1.0, 'V_max': 1.4, 'rtol': 0.0001, 'atol': 1e-06, 'illuminated': True, 'save_snapshots': True, 'decompose_currents': True, 'v_max_max_attempts': 1, 'certification_mode': 'strict', 'allow_underresolved_grid': False, 'allow_unvalidated_driver': False, 'collect_numerical_diagnostics': True, 'protocol_mode': 'research_strict'})\n assert len(result.V_fwd)==40 and len(result.V_rev)==40\n assert result.metrics_fwd.voc_bracketed and result.metrics_rev.voc_bracketed\n assert result.status_fwd is not None and result.status_rev is not None\n assert all(x.valid for x in result.status_fwd+result.status_rev)\n assert result.snapshots_fwd is not None and result.snapshots_rev is not None\n assert result.decomp_fwd is not None and result.decomp_rev is not None\n assert result.initial_numerical_diagnostics is not None\n raw=pickle.dumps(result,protocol=5)\n (out/\"Result.pkl\").write_bytes(raw)\n metadata={\"status\":\"complete_capture_unqualified\",\"elapsed_capture_s\":time.perf_counter()-started,\"result_sha256\":hashlib.sha256(raw).hexdigest(),\"measurement_observer_required\":True}\n (out/\"Capture.json\").write_text(json.dumps(metadata,indent=2)+\"\\n\")\nexcept BaseException as error:\n partial=getattr(error,\"result\",result)\n if partial is not None:\n (out/\"PartialResult.pkl\").write_bytes(pickle.dumps(partial,protocol=5))\n (out/\"Failure.json\").write_text(json.dumps({\"status\":\"failed\",\"error\":str(error),\"elapsed_s\":time.perf_counter()-started,\"traceback\":traceback.format_exc()},indent=2)+\"\\n\")\n raise\n" + ], + "command_code_sha256": "0a9f2678a39de61b668baafe48de6b6e8ba6699d07f448c765fe90351857a143", + "planned_output_directory": "/Users/bytedance/Library/Mobile Documents/com~apple~CloudDocs/projects/solarlab/results/RefactorPerformance/TransientJvN80/ionmonger_benchmark/Old/RepeatV3", + "status": "statically_checked_not_executed", + "qualification": "Capture recipe only; required independent correctness, reference/source/env qualification and complete timing observer must be satisfied before any result becomes a speed denominator", + "stdout_and_stderr": "Supervisor must retain stdout and /usr/bin/time resource stderr in this run directory; no discarded diagnostics", + "prior_validation": { + "command_code_sha256": "0a9f2678a39de61b668baafe48de6b6e8ba6699d07f448c765fe90351857a143", + "review_receipt_sha256": "5fddd08bc242cfe92e7da20d8df4f7150a6ef7aa8c7fb51811e1c7a94c0e55d0", + "reviewed_plan_sha256": "b6721abbcc7ed227bd5067d80c53763cc69078b8172600de72dc4b048564f5c6", + "scope": "previous source recipe syntax/direct arguments only; not current modified recipe or execution" + }, + "snapshot_binding": { + "required_receipt": "/Users/bytedance/Intern/SolarLab/outputs/refactor_performance/baseline_snapshot_v1/SnapshotV1.json", + "receipt_sha256": null, + "required_status": "readonly_complete_source_dependency_and_effective_input_verified_before_and_after", + "status": "unmaterialized; direct live checkout execution is not qualifying" + } + }, + { + "id": "TransientJvN80/nip_MAPbI3/OldRepeat1", + "working_directory": "/Users/bytedance/Intern/SolarLab/outputs/refactor_performance/baseline_snapshot_v1/source/perovskite-sim", + "environment": { + "PYTHONDONTWRITEBYTECODE": "1", + "OMP_NUM_THREADS": "1", + "OPENBLAS_NUM_THREADS": "1", + "MKL_NUM_THREADS": "1", + "VECLIB_MAXIMUM_THREADS": "1", + "NUMEXPR_NUM_THREADS": "1", + "BLIS_NUM_THREADS": "1" + }, + "argv": [ + "/usr/bin/time", + "-l", + "/Users/bytedance/Intern/SolarLab/outputs/refactor_performance/baseline_snapshot_v1/environment/bin/python", + "-B", + "-c", + "from pathlib import Path\nimport json,pickle,time,traceback,hashlib\nfrom dataclasses import asdict\nout=Path('/Users/bytedance/Library/Mobile Documents/com~apple~CloudDocs/projects/solarlab/results/RefactorPerformance/TransientJvN80/nip_MAPbI3/Old/RepeatV1')\nout.mkdir(parents=True,exist_ok=False)\nstarted=time.perf_counter()\nresult=None\ntry:\n from perovskite_sim.models.config_loader import load_device_from_yaml\n from perovskite_sim.experiments.jv_sweep import run_jv_sweep,build_jv_experiment_protocol\n stack=load_device_from_yaml('tests/fixtures/configs/nip_MAPbI3.yaml')\n protocol=build_jv_experiment_protocol(stack,v_rate=1.0,n_points=40,V_max=1.4300000000000002,illuminated=True)\n result=run_jv_sweep(stack,experiment_protocol=protocol,**{'N_grid': 80, 'n_points': 40, 'v_rate': 1.0, 'V_max': 1.4300000000000002, 'rtol': 0.0001, 'atol': 1e-06, 'illuminated': True, 'save_snapshots': True, 'decompose_currents': True, 'v_max_max_attempts': 1, 'certification_mode': 'strict', 'allow_underresolved_grid': False, 'allow_unvalidated_driver': False, 'collect_numerical_diagnostics': True, 'protocol_mode': 'research_strict'})\n assert len(result.V_fwd)==40 and len(result.V_rev)==40\n assert result.metrics_fwd.voc_bracketed and result.metrics_rev.voc_bracketed\n assert result.status_fwd is not None and result.status_rev is not None\n assert all(x.valid for x in result.status_fwd+result.status_rev)\n assert result.snapshots_fwd is not None and result.snapshots_rev is not None\n assert result.decomp_fwd is not None and result.decomp_rev is not None\n assert result.initial_numerical_diagnostics is not None\n raw=pickle.dumps(result,protocol=5)\n (out/\"Result.pkl\").write_bytes(raw)\n metadata={\"status\":\"complete_capture_unqualified\",\"elapsed_capture_s\":time.perf_counter()-started,\"result_sha256\":hashlib.sha256(raw).hexdigest(),\"measurement_observer_required\":True}\n (out/\"Capture.json\").write_text(json.dumps(metadata,indent=2)+\"\\n\")\nexcept BaseException as error:\n partial=getattr(error,\"result\",result)\n if partial is not None:\n (out/\"PartialResult.pkl\").write_bytes(pickle.dumps(partial,protocol=5))\n (out/\"Failure.json\").write_text(json.dumps({\"status\":\"failed\",\"error\":str(error),\"elapsed_s\":time.perf_counter()-started,\"traceback\":traceback.format_exc()},indent=2)+\"\\n\")\n raise\n" + ], + "command_code_sha256": "ad68b8cfb90ad784412dd4e2480d20a979b388029c7a82dec36732ef1c9ff140", + "planned_output_directory": "/Users/bytedance/Library/Mobile Documents/com~apple~CloudDocs/projects/solarlab/results/RefactorPerformance/TransientJvN80/nip_MAPbI3/Old/RepeatV1", + "status": "statically_checked_not_executed", + "qualification": "Capture recipe only; required independent correctness, reference/source/env qualification and complete timing observer must be satisfied before any result becomes a speed denominator", + "stdout_and_stderr": "Supervisor must retain stdout and /usr/bin/time resource stderr in this run directory; no discarded diagnostics", + "prior_validation": { + "command_code_sha256": "ad68b8cfb90ad784412dd4e2480d20a979b388029c7a82dec36732ef1c9ff140", + "review_receipt_sha256": "5fddd08bc242cfe92e7da20d8df4f7150a6ef7aa8c7fb51811e1c7a94c0e55d0", + "reviewed_plan_sha256": "b6721abbcc7ed227bd5067d80c53763cc69078b8172600de72dc4b048564f5c6", + "scope": "previous source recipe syntax/direct arguments only; not current modified recipe or execution" + }, + "snapshot_binding": { + "required_receipt": "/Users/bytedance/Intern/SolarLab/outputs/refactor_performance/baseline_snapshot_v1/SnapshotV1.json", + "receipt_sha256": null, + "required_status": "readonly_complete_source_dependency_and_effective_input_verified_before_and_after", + "status": "unmaterialized; direct live checkout execution is not qualifying" + } + }, + { + "id": "TransientJvN80/nip_MAPbI3/OldRepeat2", + "working_directory": "/Users/bytedance/Intern/SolarLab/outputs/refactor_performance/baseline_snapshot_v1/source/perovskite-sim", + "environment": { + "PYTHONDONTWRITEBYTECODE": "1", + "OMP_NUM_THREADS": "1", + "OPENBLAS_NUM_THREADS": "1", + "MKL_NUM_THREADS": "1", + "VECLIB_MAXIMUM_THREADS": "1", + "NUMEXPR_NUM_THREADS": "1", + "BLIS_NUM_THREADS": "1" + }, + "argv": [ + "/usr/bin/time", + "-l", + "/Users/bytedance/Intern/SolarLab/outputs/refactor_performance/baseline_snapshot_v1/environment/bin/python", + "-B", + "-c", + "from pathlib import Path\nimport json,pickle,time,traceback,hashlib\nfrom dataclasses import asdict\nout=Path('/Users/bytedance/Library/Mobile Documents/com~apple~CloudDocs/projects/solarlab/results/RefactorPerformance/TransientJvN80/nip_MAPbI3/Old/RepeatV2')\nout.mkdir(parents=True,exist_ok=False)\nstarted=time.perf_counter()\nresult=None\ntry:\n from perovskite_sim.models.config_loader import load_device_from_yaml\n from perovskite_sim.experiments.jv_sweep import run_jv_sweep,build_jv_experiment_protocol\n stack=load_device_from_yaml('tests/fixtures/configs/nip_MAPbI3.yaml')\n protocol=build_jv_experiment_protocol(stack,v_rate=1.0,n_points=40,V_max=1.4300000000000002,illuminated=True)\n result=run_jv_sweep(stack,experiment_protocol=protocol,**{'N_grid': 80, 'n_points': 40, 'v_rate': 1.0, 'V_max': 1.4300000000000002, 'rtol': 0.0001, 'atol': 1e-06, 'illuminated': True, 'save_snapshots': True, 'decompose_currents': True, 'v_max_max_attempts': 1, 'certification_mode': 'strict', 'allow_underresolved_grid': False, 'allow_unvalidated_driver': False, 'collect_numerical_diagnostics': True, 'protocol_mode': 'research_strict'})\n assert len(result.V_fwd)==40 and len(result.V_rev)==40\n assert result.metrics_fwd.voc_bracketed and result.metrics_rev.voc_bracketed\n assert result.status_fwd is not None and result.status_rev is not None\n assert all(x.valid for x in result.status_fwd+result.status_rev)\n assert result.snapshots_fwd is not None and result.snapshots_rev is not None\n assert result.decomp_fwd is not None and result.decomp_rev is not None\n assert result.initial_numerical_diagnostics is not None\n raw=pickle.dumps(result,protocol=5)\n (out/\"Result.pkl\").write_bytes(raw)\n metadata={\"status\":\"complete_capture_unqualified\",\"elapsed_capture_s\":time.perf_counter()-started,\"result_sha256\":hashlib.sha256(raw).hexdigest(),\"measurement_observer_required\":True}\n (out/\"Capture.json\").write_text(json.dumps(metadata,indent=2)+\"\\n\")\nexcept BaseException as error:\n partial=getattr(error,\"result\",result)\n if partial is not None:\n (out/\"PartialResult.pkl\").write_bytes(pickle.dumps(partial,protocol=5))\n (out/\"Failure.json\").write_text(json.dumps({\"status\":\"failed\",\"error\":str(error),\"elapsed_s\":time.perf_counter()-started,\"traceback\":traceback.format_exc()},indent=2)+\"\\n\")\n raise\n" + ], + "command_code_sha256": "ec8f71c33d995306e5488e83c1308f41f303ee9fded515d228bc648b5b4a12e6", + "planned_output_directory": "/Users/bytedance/Library/Mobile Documents/com~apple~CloudDocs/projects/solarlab/results/RefactorPerformance/TransientJvN80/nip_MAPbI3/Old/RepeatV2", + "status": "statically_checked_not_executed", + "qualification": "Capture recipe only; required independent correctness, reference/source/env qualification and complete timing observer must be satisfied before any result becomes a speed denominator", + "stdout_and_stderr": "Supervisor must retain stdout and /usr/bin/time resource stderr in this run directory; no discarded diagnostics", + "prior_validation": { + "command_code_sha256": "ec8f71c33d995306e5488e83c1308f41f303ee9fded515d228bc648b5b4a12e6", + "review_receipt_sha256": "5fddd08bc242cfe92e7da20d8df4f7150a6ef7aa8c7fb51811e1c7a94c0e55d0", + "reviewed_plan_sha256": "b6721abbcc7ed227bd5067d80c53763cc69078b8172600de72dc4b048564f5c6", + "scope": "previous source recipe syntax/direct arguments only; not current modified recipe or execution" + }, + "snapshot_binding": { + "required_receipt": "/Users/bytedance/Intern/SolarLab/outputs/refactor_performance/baseline_snapshot_v1/SnapshotV1.json", + "receipt_sha256": null, + "required_status": "readonly_complete_source_dependency_and_effective_input_verified_before_and_after", + "status": "unmaterialized; direct live checkout execution is not qualifying" + } + }, + { + "id": "TransientJvN80/nip_MAPbI3/OldRepeat3", + "working_directory": "/Users/bytedance/Intern/SolarLab/outputs/refactor_performance/baseline_snapshot_v1/source/perovskite-sim", + "environment": { + "PYTHONDONTWRITEBYTECODE": "1", + "OMP_NUM_THREADS": "1", + "OPENBLAS_NUM_THREADS": "1", + "MKL_NUM_THREADS": "1", + "VECLIB_MAXIMUM_THREADS": "1", + "NUMEXPR_NUM_THREADS": "1", + "BLIS_NUM_THREADS": "1" + }, + "argv": [ + "/usr/bin/time", + "-l", + "/Users/bytedance/Intern/SolarLab/outputs/refactor_performance/baseline_snapshot_v1/environment/bin/python", + "-B", + "-c", + "from pathlib import Path\nimport json,pickle,time,traceback,hashlib\nfrom dataclasses import asdict\nout=Path('/Users/bytedance/Library/Mobile Documents/com~apple~CloudDocs/projects/solarlab/results/RefactorPerformance/TransientJvN80/nip_MAPbI3/Old/RepeatV3')\nout.mkdir(parents=True,exist_ok=False)\nstarted=time.perf_counter()\nresult=None\ntry:\n from perovskite_sim.models.config_loader import load_device_from_yaml\n from perovskite_sim.experiments.jv_sweep import run_jv_sweep,build_jv_experiment_protocol\n stack=load_device_from_yaml('tests/fixtures/configs/nip_MAPbI3.yaml')\n protocol=build_jv_experiment_protocol(stack,v_rate=1.0,n_points=40,V_max=1.4300000000000002,illuminated=True)\n result=run_jv_sweep(stack,experiment_protocol=protocol,**{'N_grid': 80, 'n_points': 40, 'v_rate': 1.0, 'V_max': 1.4300000000000002, 'rtol': 0.0001, 'atol': 1e-06, 'illuminated': True, 'save_snapshots': True, 'decompose_currents': True, 'v_max_max_attempts': 1, 'certification_mode': 'strict', 'allow_underresolved_grid': False, 'allow_unvalidated_driver': False, 'collect_numerical_diagnostics': True, 'protocol_mode': 'research_strict'})\n assert len(result.V_fwd)==40 and len(result.V_rev)==40\n assert result.metrics_fwd.voc_bracketed and result.metrics_rev.voc_bracketed\n assert result.status_fwd is not None and result.status_rev is not None\n assert all(x.valid for x in result.status_fwd+result.status_rev)\n assert result.snapshots_fwd is not None and result.snapshots_rev is not None\n assert result.decomp_fwd is not None and result.decomp_rev is not None\n assert result.initial_numerical_diagnostics is not None\n raw=pickle.dumps(result,protocol=5)\n (out/\"Result.pkl\").write_bytes(raw)\n metadata={\"status\":\"complete_capture_unqualified\",\"elapsed_capture_s\":time.perf_counter()-started,\"result_sha256\":hashlib.sha256(raw).hexdigest(),\"measurement_observer_required\":True}\n (out/\"Capture.json\").write_text(json.dumps(metadata,indent=2)+\"\\n\")\nexcept BaseException as error:\n partial=getattr(error,\"result\",result)\n if partial is not None:\n (out/\"PartialResult.pkl\").write_bytes(pickle.dumps(partial,protocol=5))\n (out/\"Failure.json\").write_text(json.dumps({\"status\":\"failed\",\"error\":str(error),\"elapsed_s\":time.perf_counter()-started,\"traceback\":traceback.format_exc()},indent=2)+\"\\n\")\n raise\n" + ], + "command_code_sha256": "f50b0018bb6ea2f275404049feae881f828d9aced213d2a63590db011ed7ba3b", + "planned_output_directory": "/Users/bytedance/Library/Mobile Documents/com~apple~CloudDocs/projects/solarlab/results/RefactorPerformance/TransientJvN80/nip_MAPbI3/Old/RepeatV3", + "status": "statically_checked_not_executed", + "qualification": "Capture recipe only; required independent correctness, reference/source/env qualification and complete timing observer must be satisfied before any result becomes a speed denominator", + "stdout_and_stderr": "Supervisor must retain stdout and /usr/bin/time resource stderr in this run directory; no discarded diagnostics", + "prior_validation": { + "command_code_sha256": "f50b0018bb6ea2f275404049feae881f828d9aced213d2a63590db011ed7ba3b", + "review_receipt_sha256": "5fddd08bc242cfe92e7da20d8df4f7150a6ef7aa8c7fb51811e1c7a94c0e55d0", + "reviewed_plan_sha256": "b6721abbcc7ed227bd5067d80c53763cc69078b8172600de72dc4b048564f5c6", + "scope": "previous source recipe syntax/direct arguments only; not current modified recipe or execution" + }, + "snapshot_binding": { + "required_receipt": "/Users/bytedance/Intern/SolarLab/outputs/refactor_performance/baseline_snapshot_v1/SnapshotV1.json", + "receipt_sha256": null, + "required_status": "readonly_complete_source_dependency_and_effective_input_verified_before_and_after", + "status": "unmaterialized; direct live checkout execution is not qualifying" + } + }, + { + "id": "TransientJvN80/nip_MAPbI3_tmm/OldRepeat1", + "working_directory": "/Users/bytedance/Intern/SolarLab/outputs/refactor_performance/baseline_snapshot_v1/source/perovskite-sim", + "environment": { + "PYTHONDONTWRITEBYTECODE": "1", + "OMP_NUM_THREADS": "1", + "OPENBLAS_NUM_THREADS": "1", + "MKL_NUM_THREADS": "1", + "VECLIB_MAXIMUM_THREADS": "1", + "NUMEXPR_NUM_THREADS": "1", + "BLIS_NUM_THREADS": "1" + }, + "argv": [ + "/usr/bin/time", + "-l", + "/Users/bytedance/Intern/SolarLab/outputs/refactor_performance/baseline_snapshot_v1/environment/bin/python", + "-B", + "-c", + "from pathlib import Path\nimport json,pickle,time,traceback,hashlib\nfrom dataclasses import asdict\nout=Path('/Users/bytedance/Library/Mobile Documents/com~apple~CloudDocs/projects/solarlab/results/RefactorPerformance/TransientJvN80/nip_MAPbI3_tmm/Old/RepeatV1')\nout.mkdir(parents=True,exist_ok=False)\nstarted=time.perf_counter()\nresult=None\ntry:\n from perovskite_sim.models.config_loader import load_device_from_yaml\n from perovskite_sim.experiments.jv_sweep import run_jv_sweep,build_jv_experiment_protocol\n stack=load_device_from_yaml('tests/fixtures/configs/nip_MAPbI3_tmm.yaml')\n protocol=build_jv_experiment_protocol(stack,v_rate=1.0,n_points=40,V_max=1.4,illuminated=True)\n result=run_jv_sweep(stack,experiment_protocol=protocol,**{'N_grid': 80, 'n_points': 40, 'v_rate': 1.0, 'V_max': 1.4, 'rtol': 0.0001, 'atol': 1e-06, 'illuminated': True, 'save_snapshots': True, 'decompose_currents': True, 'v_max_max_attempts': 1, 'certification_mode': 'strict', 'allow_underresolved_grid': False, 'allow_unvalidated_driver': False, 'collect_numerical_diagnostics': True, 'protocol_mode': 'research_strict'})\n assert len(result.V_fwd)==40 and len(result.V_rev)==40\n assert result.metrics_fwd.voc_bracketed and result.metrics_rev.voc_bracketed\n assert result.status_fwd is not None and result.status_rev is not None\n assert all(x.valid for x in result.status_fwd+result.status_rev)\n assert result.snapshots_fwd is not None and result.snapshots_rev is not None\n assert result.decomp_fwd is not None and result.decomp_rev is not None\n assert result.initial_numerical_diagnostics is not None\n raw=pickle.dumps(result,protocol=5)\n (out/\"Result.pkl\").write_bytes(raw)\n metadata={\"status\":\"complete_capture_unqualified\",\"elapsed_capture_s\":time.perf_counter()-started,\"result_sha256\":hashlib.sha256(raw).hexdigest(),\"measurement_observer_required\":True}\n (out/\"Capture.json\").write_text(json.dumps(metadata,indent=2)+\"\\n\")\nexcept BaseException as error:\n partial=getattr(error,\"result\",result)\n if partial is not None:\n (out/\"PartialResult.pkl\").write_bytes(pickle.dumps(partial,protocol=5))\n (out/\"Failure.json\").write_text(json.dumps({\"status\":\"failed\",\"error\":str(error),\"elapsed_s\":time.perf_counter()-started,\"traceback\":traceback.format_exc()},indent=2)+\"\\n\")\n raise\n" + ], + "command_code_sha256": "f51b2c0affe52b712bfdea11b44f07ea6d728dadf85bad41d466448476144770", + "planned_output_directory": "/Users/bytedance/Library/Mobile Documents/com~apple~CloudDocs/projects/solarlab/results/RefactorPerformance/TransientJvN80/nip_MAPbI3_tmm/Old/RepeatV1", + "status": "statically_checked_not_executed", + "qualification": "Capture recipe only; required independent correctness, reference/source/env qualification and complete timing observer must be satisfied before any result becomes a speed denominator", + "stdout_and_stderr": "Supervisor must retain stdout and /usr/bin/time resource stderr in this run directory; no discarded diagnostics", + "prior_validation": { + "command_code_sha256": "f51b2c0affe52b712bfdea11b44f07ea6d728dadf85bad41d466448476144770", + "review_receipt_sha256": "5fddd08bc242cfe92e7da20d8df4f7150a6ef7aa8c7fb51811e1c7a94c0e55d0", + "reviewed_plan_sha256": "b6721abbcc7ed227bd5067d80c53763cc69078b8172600de72dc4b048564f5c6", + "scope": "previous source recipe syntax/direct arguments only; not current modified recipe or execution" + }, + "snapshot_binding": { + "required_receipt": "/Users/bytedance/Intern/SolarLab/outputs/refactor_performance/baseline_snapshot_v1/SnapshotV1.json", + "receipt_sha256": null, + "required_status": "readonly_complete_source_dependency_and_effective_input_verified_before_and_after", + "status": "unmaterialized; direct live checkout execution is not qualifying" + } + }, + { + "id": "TransientJvN80/nip_MAPbI3_tmm/OldRepeat2", + "working_directory": "/Users/bytedance/Intern/SolarLab/outputs/refactor_performance/baseline_snapshot_v1/source/perovskite-sim", + "environment": { + "PYTHONDONTWRITEBYTECODE": "1", + "OMP_NUM_THREADS": "1", + "OPENBLAS_NUM_THREADS": "1", + "MKL_NUM_THREADS": "1", + "VECLIB_MAXIMUM_THREADS": "1", + "NUMEXPR_NUM_THREADS": "1", + "BLIS_NUM_THREADS": "1" + }, + "argv": [ + "/usr/bin/time", + "-l", + "/Users/bytedance/Intern/SolarLab/outputs/refactor_performance/baseline_snapshot_v1/environment/bin/python", + "-B", + "-c", + "from pathlib import Path\nimport json,pickle,time,traceback,hashlib\nfrom dataclasses import asdict\nout=Path('/Users/bytedance/Library/Mobile Documents/com~apple~CloudDocs/projects/solarlab/results/RefactorPerformance/TransientJvN80/nip_MAPbI3_tmm/Old/RepeatV2')\nout.mkdir(parents=True,exist_ok=False)\nstarted=time.perf_counter()\nresult=None\ntry:\n from perovskite_sim.models.config_loader import load_device_from_yaml\n from perovskite_sim.experiments.jv_sweep import run_jv_sweep,build_jv_experiment_protocol\n stack=load_device_from_yaml('tests/fixtures/configs/nip_MAPbI3_tmm.yaml')\n protocol=build_jv_experiment_protocol(stack,v_rate=1.0,n_points=40,V_max=1.4,illuminated=True)\n result=run_jv_sweep(stack,experiment_protocol=protocol,**{'N_grid': 80, 'n_points': 40, 'v_rate': 1.0, 'V_max': 1.4, 'rtol': 0.0001, 'atol': 1e-06, 'illuminated': True, 'save_snapshots': True, 'decompose_currents': True, 'v_max_max_attempts': 1, 'certification_mode': 'strict', 'allow_underresolved_grid': False, 'allow_unvalidated_driver': False, 'collect_numerical_diagnostics': True, 'protocol_mode': 'research_strict'})\n assert len(result.V_fwd)==40 and len(result.V_rev)==40\n assert result.metrics_fwd.voc_bracketed and result.metrics_rev.voc_bracketed\n assert result.status_fwd is not None and result.status_rev is not None\n assert all(x.valid for x in result.status_fwd+result.status_rev)\n assert result.snapshots_fwd is not None and result.snapshots_rev is not None\n assert result.decomp_fwd is not None and result.decomp_rev is not None\n assert result.initial_numerical_diagnostics is not None\n raw=pickle.dumps(result,protocol=5)\n (out/\"Result.pkl\").write_bytes(raw)\n metadata={\"status\":\"complete_capture_unqualified\",\"elapsed_capture_s\":time.perf_counter()-started,\"result_sha256\":hashlib.sha256(raw).hexdigest(),\"measurement_observer_required\":True}\n (out/\"Capture.json\").write_text(json.dumps(metadata,indent=2)+\"\\n\")\nexcept BaseException as error:\n partial=getattr(error,\"result\",result)\n if partial is not None:\n (out/\"PartialResult.pkl\").write_bytes(pickle.dumps(partial,protocol=5))\n (out/\"Failure.json\").write_text(json.dumps({\"status\":\"failed\",\"error\":str(error),\"elapsed_s\":time.perf_counter()-started,\"traceback\":traceback.format_exc()},indent=2)+\"\\n\")\n raise\n" + ], + "command_code_sha256": "bfaef85cd909a88f084018491beca4cf6f366a823c3b7f6893ec85b79820fd61", + "planned_output_directory": "/Users/bytedance/Library/Mobile Documents/com~apple~CloudDocs/projects/solarlab/results/RefactorPerformance/TransientJvN80/nip_MAPbI3_tmm/Old/RepeatV2", + "status": "statically_checked_not_executed", + "qualification": "Capture recipe only; required independent correctness, reference/source/env qualification and complete timing observer must be satisfied before any result becomes a speed denominator", + "stdout_and_stderr": "Supervisor must retain stdout and /usr/bin/time resource stderr in this run directory; no discarded diagnostics", + "prior_validation": { + "command_code_sha256": "bfaef85cd909a88f084018491beca4cf6f366a823c3b7f6893ec85b79820fd61", + "review_receipt_sha256": "5fddd08bc242cfe92e7da20d8df4f7150a6ef7aa8c7fb51811e1c7a94c0e55d0", + "reviewed_plan_sha256": "b6721abbcc7ed227bd5067d80c53763cc69078b8172600de72dc4b048564f5c6", + "scope": "previous source recipe syntax/direct arguments only; not current modified recipe or execution" + }, + "snapshot_binding": { + "required_receipt": "/Users/bytedance/Intern/SolarLab/outputs/refactor_performance/baseline_snapshot_v1/SnapshotV1.json", + "receipt_sha256": null, + "required_status": "readonly_complete_source_dependency_and_effective_input_verified_before_and_after", + "status": "unmaterialized; direct live checkout execution is not qualifying" + } + }, + { + "id": "TransientJvN80/nip_MAPbI3_tmm/OldRepeat3", + "working_directory": "/Users/bytedance/Intern/SolarLab/outputs/refactor_performance/baseline_snapshot_v1/source/perovskite-sim", + "environment": { + "PYTHONDONTWRITEBYTECODE": "1", + "OMP_NUM_THREADS": "1", + "OPENBLAS_NUM_THREADS": "1", + "MKL_NUM_THREADS": "1", + "VECLIB_MAXIMUM_THREADS": "1", + "NUMEXPR_NUM_THREADS": "1", + "BLIS_NUM_THREADS": "1" + }, + "argv": [ + "/usr/bin/time", + "-l", + "/Users/bytedance/Intern/SolarLab/outputs/refactor_performance/baseline_snapshot_v1/environment/bin/python", + "-B", + "-c", + "from pathlib import Path\nimport json,pickle,time,traceback,hashlib\nfrom dataclasses import asdict\nout=Path('/Users/bytedance/Library/Mobile Documents/com~apple~CloudDocs/projects/solarlab/results/RefactorPerformance/TransientJvN80/nip_MAPbI3_tmm/Old/RepeatV3')\nout.mkdir(parents=True,exist_ok=False)\nstarted=time.perf_counter()\nresult=None\ntry:\n from perovskite_sim.models.config_loader import load_device_from_yaml\n from perovskite_sim.experiments.jv_sweep import run_jv_sweep,build_jv_experiment_protocol\n stack=load_device_from_yaml('tests/fixtures/configs/nip_MAPbI3_tmm.yaml')\n protocol=build_jv_experiment_protocol(stack,v_rate=1.0,n_points=40,V_max=1.4,illuminated=True)\n result=run_jv_sweep(stack,experiment_protocol=protocol,**{'N_grid': 80, 'n_points': 40, 'v_rate': 1.0, 'V_max': 1.4, 'rtol': 0.0001, 'atol': 1e-06, 'illuminated': True, 'save_snapshots': True, 'decompose_currents': True, 'v_max_max_attempts': 1, 'certification_mode': 'strict', 'allow_underresolved_grid': False, 'allow_unvalidated_driver': False, 'collect_numerical_diagnostics': True, 'protocol_mode': 'research_strict'})\n assert len(result.V_fwd)==40 and len(result.V_rev)==40\n assert result.metrics_fwd.voc_bracketed and result.metrics_rev.voc_bracketed\n assert result.status_fwd is not None and result.status_rev is not None\n assert all(x.valid for x in result.status_fwd+result.status_rev)\n assert result.snapshots_fwd is not None and result.snapshots_rev is not None\n assert result.decomp_fwd is not None and result.decomp_rev is not None\n assert result.initial_numerical_diagnostics is not None\n raw=pickle.dumps(result,protocol=5)\n (out/\"Result.pkl\").write_bytes(raw)\n metadata={\"status\":\"complete_capture_unqualified\",\"elapsed_capture_s\":time.perf_counter()-started,\"result_sha256\":hashlib.sha256(raw).hexdigest(),\"measurement_observer_required\":True}\n (out/\"Capture.json\").write_text(json.dumps(metadata,indent=2)+\"\\n\")\nexcept BaseException as error:\n partial=getattr(error,\"result\",result)\n if partial is not None:\n (out/\"PartialResult.pkl\").write_bytes(pickle.dumps(partial,protocol=5))\n (out/\"Failure.json\").write_text(json.dumps({\"status\":\"failed\",\"error\":str(error),\"elapsed_s\":time.perf_counter()-started,\"traceback\":traceback.format_exc()},indent=2)+\"\\n\")\n raise\n" + ], + "command_code_sha256": "9883c173755cd1908e4e5b033cce40dedfc6f1e863c72e5b9a8ae96509f2eea0", + "planned_output_directory": "/Users/bytedance/Library/Mobile Documents/com~apple~CloudDocs/projects/solarlab/results/RefactorPerformance/TransientJvN80/nip_MAPbI3_tmm/Old/RepeatV3", + "status": "statically_checked_not_executed", + "qualification": "Capture recipe only; required independent correctness, reference/source/env qualification and complete timing observer must be satisfied before any result becomes a speed denominator", + "stdout_and_stderr": "Supervisor must retain stdout and /usr/bin/time resource stderr in this run directory; no discarded diagnostics", + "prior_validation": { + "command_code_sha256": "9883c173755cd1908e4e5b033cce40dedfc6f1e863c72e5b9a8ae96509f2eea0", + "review_receipt_sha256": "5fddd08bc242cfe92e7da20d8df4f7150a6ef7aa8c7fb51811e1c7a94c0e55d0", + "reviewed_plan_sha256": "b6721abbcc7ed227bd5067d80c53763cc69078b8172600de72dc4b048564f5c6", + "scope": "previous source recipe syntax/direct arguments only; not current modified recipe or execution" + }, + "snapshot_binding": { + "required_receipt": "/Users/bytedance/Intern/SolarLab/outputs/refactor_performance/baseline_snapshot_v1/SnapshotV1.json", + "receipt_sha256": null, + "required_status": "readonly_complete_source_dependency_and_effective_input_verified_before_and_after", + "status": "unmaterialized; direct live checkout execution is not qualifying" + } + }, + { + "id": "TransientJvN200/ionmonger_benchmark/OldRepeat1", + "working_directory": "/Users/bytedance/Intern/SolarLab/outputs/refactor_performance/baseline_snapshot_v1/source/perovskite-sim", + "environment": { + "PYTHONDONTWRITEBYTECODE": "1", + "OMP_NUM_THREADS": "1", + "OPENBLAS_NUM_THREADS": "1", + "MKL_NUM_THREADS": "1", + "VECLIB_MAXIMUM_THREADS": "1", + "NUMEXPR_NUM_THREADS": "1", + "BLIS_NUM_THREADS": "1" + }, + "argv": [ + "/usr/bin/time", + "-l", + "/Users/bytedance/Intern/SolarLab/outputs/refactor_performance/baseline_snapshot_v1/environment/bin/python", + "-B", + "-c", + "from pathlib import Path\nimport json,pickle,time,traceback,hashlib\nfrom dataclasses import asdict\nout=Path('/Users/bytedance/Library/Mobile Documents/com~apple~CloudDocs/projects/solarlab/results/RefactorPerformance/TransientJvN200/ionmonger_benchmark/Old/RepeatV1')\nout.mkdir(parents=True,exist_ok=False)\nstarted=time.perf_counter()\nresult=None\ntry:\n from perovskite_sim.models.config_loader import load_device_from_yaml\n from perovskite_sim.experiments.jv_sweep import run_jv_sweep,build_jv_experiment_protocol\n stack=load_device_from_yaml('tests/fixtures/configs/ionmonger_benchmark.yaml')\n protocol=build_jv_experiment_protocol(stack,v_rate=1.0,n_points=40,V_max=1.4,illuminated=True)\n result=run_jv_sweep(stack,experiment_protocol=protocol,**{'N_grid': 200, 'n_points': 40, 'v_rate': 1.0, 'V_max': 1.4, 'rtol': 0.0001, 'atol': 1e-06, 'illuminated': True, 'save_snapshots': True, 'decompose_currents': True, 'v_max_max_attempts': 1, 'certification_mode': 'strict', 'allow_underresolved_grid': False, 'allow_unvalidated_driver': False, 'collect_numerical_diagnostics': True, 'protocol_mode': 'research_strict'})\n assert len(result.V_fwd)==40 and len(result.V_rev)==40\n assert result.metrics_fwd.voc_bracketed and result.metrics_rev.voc_bracketed\n assert result.status_fwd is not None and result.status_rev is not None\n assert all(x.valid for x in result.status_fwd+result.status_rev)\n assert result.snapshots_fwd is not None and result.snapshots_rev is not None\n assert result.decomp_fwd is not None and result.decomp_rev is not None\n assert result.initial_numerical_diagnostics is not None\n raw=pickle.dumps(result,protocol=5)\n (out/\"Result.pkl\").write_bytes(raw)\n metadata={\"status\":\"complete_capture_unqualified\",\"elapsed_capture_s\":time.perf_counter()-started,\"result_sha256\":hashlib.sha256(raw).hexdigest(),\"measurement_observer_required\":True}\n (out/\"Capture.json\").write_text(json.dumps(metadata,indent=2)+\"\\n\")\nexcept BaseException as error:\n partial=getattr(error,\"result\",result)\n if partial is not None:\n (out/\"PartialResult.pkl\").write_bytes(pickle.dumps(partial,protocol=5))\n (out/\"Failure.json\").write_text(json.dumps({\"status\":\"failed\",\"error\":str(error),\"elapsed_s\":time.perf_counter()-started,\"traceback\":traceback.format_exc()},indent=2)+\"\\n\")\n raise\n" + ], + "command_code_sha256": "d2f585c24ec97c3b2f388542ee0bf895198e2c49718a84e64f73382a7678811c", + "planned_output_directory": "/Users/bytedance/Library/Mobile Documents/com~apple~CloudDocs/projects/solarlab/results/RefactorPerformance/TransientJvN200/ionmonger_benchmark/Old/RepeatV1", + "status": "statically_checked_not_executed", + "qualification": "Capture recipe only; required independent correctness, reference/source/env qualification and complete timing observer must be satisfied before any result becomes a speed denominator", + "stdout_and_stderr": "Supervisor must retain stdout and /usr/bin/time resource stderr in this run directory; no discarded diagnostics", + "prior_validation": { + "command_code_sha256": "d2f585c24ec97c3b2f388542ee0bf895198e2c49718a84e64f73382a7678811c", + "review_receipt_sha256": "5fddd08bc242cfe92e7da20d8df4f7150a6ef7aa8c7fb51811e1c7a94c0e55d0", + "reviewed_plan_sha256": "b6721abbcc7ed227bd5067d80c53763cc69078b8172600de72dc4b048564f5c6", + "scope": "previous source recipe syntax/direct arguments only; not current modified recipe or execution" + }, + "snapshot_binding": { + "required_receipt": "/Users/bytedance/Intern/SolarLab/outputs/refactor_performance/baseline_snapshot_v1/SnapshotV1.json", + "receipt_sha256": null, + "required_status": "readonly_complete_source_dependency_and_effective_input_verified_before_and_after", + "status": "unmaterialized; direct live checkout execution is not qualifying" + } + }, + { + "id": "TransientJvN200/ionmonger_benchmark/OldRepeat2", + "working_directory": "/Users/bytedance/Intern/SolarLab/outputs/refactor_performance/baseline_snapshot_v1/source/perovskite-sim", + "environment": { + "PYTHONDONTWRITEBYTECODE": "1", + "OMP_NUM_THREADS": "1", + "OPENBLAS_NUM_THREADS": "1", + "MKL_NUM_THREADS": "1", + "VECLIB_MAXIMUM_THREADS": "1", + "NUMEXPR_NUM_THREADS": "1", + "BLIS_NUM_THREADS": "1" + }, + "argv": [ + "/usr/bin/time", + "-l", + "/Users/bytedance/Intern/SolarLab/outputs/refactor_performance/baseline_snapshot_v1/environment/bin/python", + "-B", + "-c", + "from pathlib import Path\nimport json,pickle,time,traceback,hashlib\nfrom dataclasses import asdict\nout=Path('/Users/bytedance/Library/Mobile Documents/com~apple~CloudDocs/projects/solarlab/results/RefactorPerformance/TransientJvN200/ionmonger_benchmark/Old/RepeatV2')\nout.mkdir(parents=True,exist_ok=False)\nstarted=time.perf_counter()\nresult=None\ntry:\n from perovskite_sim.models.config_loader import load_device_from_yaml\n from perovskite_sim.experiments.jv_sweep import run_jv_sweep,build_jv_experiment_protocol\n stack=load_device_from_yaml('tests/fixtures/configs/ionmonger_benchmark.yaml')\n protocol=build_jv_experiment_protocol(stack,v_rate=1.0,n_points=40,V_max=1.4,illuminated=True)\n result=run_jv_sweep(stack,experiment_protocol=protocol,**{'N_grid': 200, 'n_points': 40, 'v_rate': 1.0, 'V_max': 1.4, 'rtol': 0.0001, 'atol': 1e-06, 'illuminated': True, 'save_snapshots': True, 'decompose_currents': True, 'v_max_max_attempts': 1, 'certification_mode': 'strict', 'allow_underresolved_grid': False, 'allow_unvalidated_driver': False, 'collect_numerical_diagnostics': True, 'protocol_mode': 'research_strict'})\n assert len(result.V_fwd)==40 and len(result.V_rev)==40\n assert result.metrics_fwd.voc_bracketed and result.metrics_rev.voc_bracketed\n assert result.status_fwd is not None and result.status_rev is not None\n assert all(x.valid for x in result.status_fwd+result.status_rev)\n assert result.snapshots_fwd is not None and result.snapshots_rev is not None\n assert result.decomp_fwd is not None and result.decomp_rev is not None\n assert result.initial_numerical_diagnostics is not None\n raw=pickle.dumps(result,protocol=5)\n (out/\"Result.pkl\").write_bytes(raw)\n metadata={\"status\":\"complete_capture_unqualified\",\"elapsed_capture_s\":time.perf_counter()-started,\"result_sha256\":hashlib.sha256(raw).hexdigest(),\"measurement_observer_required\":True}\n (out/\"Capture.json\").write_text(json.dumps(metadata,indent=2)+\"\\n\")\nexcept BaseException as error:\n partial=getattr(error,\"result\",result)\n if partial is not None:\n (out/\"PartialResult.pkl\").write_bytes(pickle.dumps(partial,protocol=5))\n (out/\"Failure.json\").write_text(json.dumps({\"status\":\"failed\",\"error\":str(error),\"elapsed_s\":time.perf_counter()-started,\"traceback\":traceback.format_exc()},indent=2)+\"\\n\")\n raise\n" + ], + "command_code_sha256": "0d667f0f6d35989b0ef442be284bec7f4c7a6a7fb6c501e1efea9c2d71614698", + "planned_output_directory": "/Users/bytedance/Library/Mobile Documents/com~apple~CloudDocs/projects/solarlab/results/RefactorPerformance/TransientJvN200/ionmonger_benchmark/Old/RepeatV2", + "status": "statically_checked_not_executed", + "qualification": "Capture recipe only; required independent correctness, reference/source/env qualification and complete timing observer must be satisfied before any result becomes a speed denominator", + "stdout_and_stderr": "Supervisor must retain stdout and /usr/bin/time resource stderr in this run directory; no discarded diagnostics", + "prior_validation": { + "command_code_sha256": "0d667f0f6d35989b0ef442be284bec7f4c7a6a7fb6c501e1efea9c2d71614698", + "review_receipt_sha256": "5fddd08bc242cfe92e7da20d8df4f7150a6ef7aa8c7fb51811e1c7a94c0e55d0", + "reviewed_plan_sha256": "b6721abbcc7ed227bd5067d80c53763cc69078b8172600de72dc4b048564f5c6", + "scope": "previous source recipe syntax/direct arguments only; not current modified recipe or execution" + }, + "snapshot_binding": { + "required_receipt": "/Users/bytedance/Intern/SolarLab/outputs/refactor_performance/baseline_snapshot_v1/SnapshotV1.json", + "receipt_sha256": null, + "required_status": "readonly_complete_source_dependency_and_effective_input_verified_before_and_after", + "status": "unmaterialized; direct live checkout execution is not qualifying" + } + }, + { + "id": "TransientJvN200/ionmonger_benchmark/OldRepeat3", + "working_directory": "/Users/bytedance/Intern/SolarLab/outputs/refactor_performance/baseline_snapshot_v1/source/perovskite-sim", + "environment": { + "PYTHONDONTWRITEBYTECODE": "1", + "OMP_NUM_THREADS": "1", + "OPENBLAS_NUM_THREADS": "1", + "MKL_NUM_THREADS": "1", + "VECLIB_MAXIMUM_THREADS": "1", + "NUMEXPR_NUM_THREADS": "1", + "BLIS_NUM_THREADS": "1" + }, + "argv": [ + "/usr/bin/time", + "-l", + "/Users/bytedance/Intern/SolarLab/outputs/refactor_performance/baseline_snapshot_v1/environment/bin/python", + "-B", + "-c", + "from pathlib import Path\nimport json,pickle,time,traceback,hashlib\nfrom dataclasses import asdict\nout=Path('/Users/bytedance/Library/Mobile Documents/com~apple~CloudDocs/projects/solarlab/results/RefactorPerformance/TransientJvN200/ionmonger_benchmark/Old/RepeatV3')\nout.mkdir(parents=True,exist_ok=False)\nstarted=time.perf_counter()\nresult=None\ntry:\n from perovskite_sim.models.config_loader import load_device_from_yaml\n from perovskite_sim.experiments.jv_sweep import run_jv_sweep,build_jv_experiment_protocol\n stack=load_device_from_yaml('tests/fixtures/configs/ionmonger_benchmark.yaml')\n protocol=build_jv_experiment_protocol(stack,v_rate=1.0,n_points=40,V_max=1.4,illuminated=True)\n result=run_jv_sweep(stack,experiment_protocol=protocol,**{'N_grid': 200, 'n_points': 40, 'v_rate': 1.0, 'V_max': 1.4, 'rtol': 0.0001, 'atol': 1e-06, 'illuminated': True, 'save_snapshots': True, 'decompose_currents': True, 'v_max_max_attempts': 1, 'certification_mode': 'strict', 'allow_underresolved_grid': False, 'allow_unvalidated_driver': False, 'collect_numerical_diagnostics': True, 'protocol_mode': 'research_strict'})\n assert len(result.V_fwd)==40 and len(result.V_rev)==40\n assert result.metrics_fwd.voc_bracketed and result.metrics_rev.voc_bracketed\n assert result.status_fwd is not None and result.status_rev is not None\n assert all(x.valid for x in result.status_fwd+result.status_rev)\n assert result.snapshots_fwd is not None and result.snapshots_rev is not None\n assert result.decomp_fwd is not None and result.decomp_rev is not None\n assert result.initial_numerical_diagnostics is not None\n raw=pickle.dumps(result,protocol=5)\n (out/\"Result.pkl\").write_bytes(raw)\n metadata={\"status\":\"complete_capture_unqualified\",\"elapsed_capture_s\":time.perf_counter()-started,\"result_sha256\":hashlib.sha256(raw).hexdigest(),\"measurement_observer_required\":True}\n (out/\"Capture.json\").write_text(json.dumps(metadata,indent=2)+\"\\n\")\nexcept BaseException as error:\n partial=getattr(error,\"result\",result)\n if partial is not None:\n (out/\"PartialResult.pkl\").write_bytes(pickle.dumps(partial,protocol=5))\n (out/\"Failure.json\").write_text(json.dumps({\"status\":\"failed\",\"error\":str(error),\"elapsed_s\":time.perf_counter()-started,\"traceback\":traceback.format_exc()},indent=2)+\"\\n\")\n raise\n" + ], + "command_code_sha256": "84928e0e0d1e332a3e3c4b71ec1dec13729681fadc79c3428dcebcfa92ac3cf7", + "planned_output_directory": "/Users/bytedance/Library/Mobile Documents/com~apple~CloudDocs/projects/solarlab/results/RefactorPerformance/TransientJvN200/ionmonger_benchmark/Old/RepeatV3", + "status": "statically_checked_not_executed", + "qualification": "Capture recipe only; required independent correctness, reference/source/env qualification and complete timing observer must be satisfied before any result becomes a speed denominator", + "stdout_and_stderr": "Supervisor must retain stdout and /usr/bin/time resource stderr in this run directory; no discarded diagnostics", + "prior_validation": { + "command_code_sha256": "84928e0e0d1e332a3e3c4b71ec1dec13729681fadc79c3428dcebcfa92ac3cf7", + "review_receipt_sha256": "5fddd08bc242cfe92e7da20d8df4f7150a6ef7aa8c7fb51811e1c7a94c0e55d0", + "reviewed_plan_sha256": "b6721abbcc7ed227bd5067d80c53763cc69078b8172600de72dc4b048564f5c6", + "scope": "previous source recipe syntax/direct arguments only; not current modified recipe or execution" + }, + "snapshot_binding": { + "required_receipt": "/Users/bytedance/Intern/SolarLab/outputs/refactor_performance/baseline_snapshot_v1/SnapshotV1.json", + "receipt_sha256": null, + "required_status": "readonly_complete_source_dependency_and_effective_input_verified_before_and_after", + "status": "unmaterialized; direct live checkout execution is not qualifying" + } + }, + { + "id": "TransientJvN200/nip_MAPbI3/OldRepeat1", + "working_directory": "/Users/bytedance/Intern/SolarLab/outputs/refactor_performance/baseline_snapshot_v1/source/perovskite-sim", + "environment": { + "PYTHONDONTWRITEBYTECODE": "1", + "OMP_NUM_THREADS": "1", + "OPENBLAS_NUM_THREADS": "1", + "MKL_NUM_THREADS": "1", + "VECLIB_MAXIMUM_THREADS": "1", + "NUMEXPR_NUM_THREADS": "1", + "BLIS_NUM_THREADS": "1" + }, + "argv": [ + "/usr/bin/time", + "-l", + "/Users/bytedance/Intern/SolarLab/outputs/refactor_performance/baseline_snapshot_v1/environment/bin/python", + "-B", + "-c", + "from pathlib import Path\nimport json,pickle,time,traceback,hashlib\nfrom dataclasses import asdict\nout=Path('/Users/bytedance/Library/Mobile Documents/com~apple~CloudDocs/projects/solarlab/results/RefactorPerformance/TransientJvN200/nip_MAPbI3/Old/RepeatV1')\nout.mkdir(parents=True,exist_ok=False)\nstarted=time.perf_counter()\nresult=None\ntry:\n from perovskite_sim.models.config_loader import load_device_from_yaml\n from perovskite_sim.experiments.jv_sweep import run_jv_sweep,build_jv_experiment_protocol\n stack=load_device_from_yaml('tests/fixtures/configs/nip_MAPbI3.yaml')\n protocol=build_jv_experiment_protocol(stack,v_rate=1.0,n_points=40,V_max=1.4300000000000002,illuminated=True)\n result=run_jv_sweep(stack,experiment_protocol=protocol,**{'N_grid': 200, 'n_points': 40, 'v_rate': 1.0, 'V_max': 1.4300000000000002, 'rtol': 0.0001, 'atol': 1e-06, 'illuminated': True, 'save_snapshots': True, 'decompose_currents': True, 'v_max_max_attempts': 1, 'certification_mode': 'strict', 'allow_underresolved_grid': False, 'allow_unvalidated_driver': False, 'collect_numerical_diagnostics': True, 'protocol_mode': 'research_strict'})\n assert len(result.V_fwd)==40 and len(result.V_rev)==40\n assert result.metrics_fwd.voc_bracketed and result.metrics_rev.voc_bracketed\n assert result.status_fwd is not None and result.status_rev is not None\n assert all(x.valid for x in result.status_fwd+result.status_rev)\n assert result.snapshots_fwd is not None and result.snapshots_rev is not None\n assert result.decomp_fwd is not None and result.decomp_rev is not None\n assert result.initial_numerical_diagnostics is not None\n raw=pickle.dumps(result,protocol=5)\n (out/\"Result.pkl\").write_bytes(raw)\n metadata={\"status\":\"complete_capture_unqualified\",\"elapsed_capture_s\":time.perf_counter()-started,\"result_sha256\":hashlib.sha256(raw).hexdigest(),\"measurement_observer_required\":True}\n (out/\"Capture.json\").write_text(json.dumps(metadata,indent=2)+\"\\n\")\nexcept BaseException as error:\n partial=getattr(error,\"result\",result)\n if partial is not None:\n (out/\"PartialResult.pkl\").write_bytes(pickle.dumps(partial,protocol=5))\n (out/\"Failure.json\").write_text(json.dumps({\"status\":\"failed\",\"error\":str(error),\"elapsed_s\":time.perf_counter()-started,\"traceback\":traceback.format_exc()},indent=2)+\"\\n\")\n raise\n" + ], + "command_code_sha256": "75d6cdae8658cb153658f78d72c29d3760c06f36f0d35699715d3c5e9e5d4a28", + "planned_output_directory": "/Users/bytedance/Library/Mobile Documents/com~apple~CloudDocs/projects/solarlab/results/RefactorPerformance/TransientJvN200/nip_MAPbI3/Old/RepeatV1", + "status": "statically_checked_not_executed", + "qualification": "Capture recipe only; required independent correctness, reference/source/env qualification and complete timing observer must be satisfied before any result becomes a speed denominator", + "stdout_and_stderr": "Supervisor must retain stdout and /usr/bin/time resource stderr in this run directory; no discarded diagnostics", + "prior_validation": { + "command_code_sha256": "75d6cdae8658cb153658f78d72c29d3760c06f36f0d35699715d3c5e9e5d4a28", + "review_receipt_sha256": "5fddd08bc242cfe92e7da20d8df4f7150a6ef7aa8c7fb51811e1c7a94c0e55d0", + "reviewed_plan_sha256": "b6721abbcc7ed227bd5067d80c53763cc69078b8172600de72dc4b048564f5c6", + "scope": "previous source recipe syntax/direct arguments only; not current modified recipe or execution" + }, + "snapshot_binding": { + "required_receipt": "/Users/bytedance/Intern/SolarLab/outputs/refactor_performance/baseline_snapshot_v1/SnapshotV1.json", + "receipt_sha256": null, + "required_status": "readonly_complete_source_dependency_and_effective_input_verified_before_and_after", + "status": "unmaterialized; direct live checkout execution is not qualifying" + } + }, + { + "id": "TransientJvN200/nip_MAPbI3/OldRepeat2", + "working_directory": "/Users/bytedance/Intern/SolarLab/outputs/refactor_performance/baseline_snapshot_v1/source/perovskite-sim", + "environment": { + "PYTHONDONTWRITEBYTECODE": "1", + "OMP_NUM_THREADS": "1", + "OPENBLAS_NUM_THREADS": "1", + "MKL_NUM_THREADS": "1", + "VECLIB_MAXIMUM_THREADS": "1", + "NUMEXPR_NUM_THREADS": "1", + "BLIS_NUM_THREADS": "1" + }, + "argv": [ + "/usr/bin/time", + "-l", + "/Users/bytedance/Intern/SolarLab/outputs/refactor_performance/baseline_snapshot_v1/environment/bin/python", + "-B", + "-c", + "from pathlib import Path\nimport json,pickle,time,traceback,hashlib\nfrom dataclasses import asdict\nout=Path('/Users/bytedance/Library/Mobile Documents/com~apple~CloudDocs/projects/solarlab/results/RefactorPerformance/TransientJvN200/nip_MAPbI3/Old/RepeatV2')\nout.mkdir(parents=True,exist_ok=False)\nstarted=time.perf_counter()\nresult=None\ntry:\n from perovskite_sim.models.config_loader import load_device_from_yaml\n from perovskite_sim.experiments.jv_sweep import run_jv_sweep,build_jv_experiment_protocol\n stack=load_device_from_yaml('tests/fixtures/configs/nip_MAPbI3.yaml')\n protocol=build_jv_experiment_protocol(stack,v_rate=1.0,n_points=40,V_max=1.4300000000000002,illuminated=True)\n result=run_jv_sweep(stack,experiment_protocol=protocol,**{'N_grid': 200, 'n_points': 40, 'v_rate': 1.0, 'V_max': 1.4300000000000002, 'rtol': 0.0001, 'atol': 1e-06, 'illuminated': True, 'save_snapshots': True, 'decompose_currents': True, 'v_max_max_attempts': 1, 'certification_mode': 'strict', 'allow_underresolved_grid': False, 'allow_unvalidated_driver': False, 'collect_numerical_diagnostics': True, 'protocol_mode': 'research_strict'})\n assert len(result.V_fwd)==40 and len(result.V_rev)==40\n assert result.metrics_fwd.voc_bracketed and result.metrics_rev.voc_bracketed\n assert result.status_fwd is not None and result.status_rev is not None\n assert all(x.valid for x in result.status_fwd+result.status_rev)\n assert result.snapshots_fwd is not None and result.snapshots_rev is not None\n assert result.decomp_fwd is not None and result.decomp_rev is not None\n assert result.initial_numerical_diagnostics is not None\n raw=pickle.dumps(result,protocol=5)\n (out/\"Result.pkl\").write_bytes(raw)\n metadata={\"status\":\"complete_capture_unqualified\",\"elapsed_capture_s\":time.perf_counter()-started,\"result_sha256\":hashlib.sha256(raw).hexdigest(),\"measurement_observer_required\":True}\n (out/\"Capture.json\").write_text(json.dumps(metadata,indent=2)+\"\\n\")\nexcept BaseException as error:\n partial=getattr(error,\"result\",result)\n if partial is not None:\n (out/\"PartialResult.pkl\").write_bytes(pickle.dumps(partial,protocol=5))\n (out/\"Failure.json\").write_text(json.dumps({\"status\":\"failed\",\"error\":str(error),\"elapsed_s\":time.perf_counter()-started,\"traceback\":traceback.format_exc()},indent=2)+\"\\n\")\n raise\n" + ], + "command_code_sha256": "aa00c623f9b1a5820c47bdb7b1e8eb7538caa44d10c8a1586733e5c717e02282", + "planned_output_directory": "/Users/bytedance/Library/Mobile Documents/com~apple~CloudDocs/projects/solarlab/results/RefactorPerformance/TransientJvN200/nip_MAPbI3/Old/RepeatV2", + "status": "statically_checked_not_executed", + "qualification": "Capture recipe only; required independent correctness, reference/source/env qualification and complete timing observer must be satisfied before any result becomes a speed denominator", + "stdout_and_stderr": "Supervisor must retain stdout and /usr/bin/time resource stderr in this run directory; no discarded diagnostics", + "prior_validation": { + "command_code_sha256": "aa00c623f9b1a5820c47bdb7b1e8eb7538caa44d10c8a1586733e5c717e02282", + "review_receipt_sha256": "5fddd08bc242cfe92e7da20d8df4f7150a6ef7aa8c7fb51811e1c7a94c0e55d0", + "reviewed_plan_sha256": "b6721abbcc7ed227bd5067d80c53763cc69078b8172600de72dc4b048564f5c6", + "scope": "previous source recipe syntax/direct arguments only; not current modified recipe or execution" + }, + "snapshot_binding": { + "required_receipt": "/Users/bytedance/Intern/SolarLab/outputs/refactor_performance/baseline_snapshot_v1/SnapshotV1.json", + "receipt_sha256": null, + "required_status": "readonly_complete_source_dependency_and_effective_input_verified_before_and_after", + "status": "unmaterialized; direct live checkout execution is not qualifying" + } + }, + { + "id": "TransientJvN200/nip_MAPbI3/OldRepeat3", + "working_directory": "/Users/bytedance/Intern/SolarLab/outputs/refactor_performance/baseline_snapshot_v1/source/perovskite-sim", + "environment": { + "PYTHONDONTWRITEBYTECODE": "1", + "OMP_NUM_THREADS": "1", + "OPENBLAS_NUM_THREADS": "1", + "MKL_NUM_THREADS": "1", + "VECLIB_MAXIMUM_THREADS": "1", + "NUMEXPR_NUM_THREADS": "1", + "BLIS_NUM_THREADS": "1" + }, + "argv": [ + "/usr/bin/time", + "-l", + "/Users/bytedance/Intern/SolarLab/outputs/refactor_performance/baseline_snapshot_v1/environment/bin/python", + "-B", + "-c", + "from pathlib import Path\nimport json,pickle,time,traceback,hashlib\nfrom dataclasses import asdict\nout=Path('/Users/bytedance/Library/Mobile Documents/com~apple~CloudDocs/projects/solarlab/results/RefactorPerformance/TransientJvN200/nip_MAPbI3/Old/RepeatV3')\nout.mkdir(parents=True,exist_ok=False)\nstarted=time.perf_counter()\nresult=None\ntry:\n from perovskite_sim.models.config_loader import load_device_from_yaml\n from perovskite_sim.experiments.jv_sweep import run_jv_sweep,build_jv_experiment_protocol\n stack=load_device_from_yaml('tests/fixtures/configs/nip_MAPbI3.yaml')\n protocol=build_jv_experiment_protocol(stack,v_rate=1.0,n_points=40,V_max=1.4300000000000002,illuminated=True)\n result=run_jv_sweep(stack,experiment_protocol=protocol,**{'N_grid': 200, 'n_points': 40, 'v_rate': 1.0, 'V_max': 1.4300000000000002, 'rtol': 0.0001, 'atol': 1e-06, 'illuminated': True, 'save_snapshots': True, 'decompose_currents': True, 'v_max_max_attempts': 1, 'certification_mode': 'strict', 'allow_underresolved_grid': False, 'allow_unvalidated_driver': False, 'collect_numerical_diagnostics': True, 'protocol_mode': 'research_strict'})\n assert len(result.V_fwd)==40 and len(result.V_rev)==40\n assert result.metrics_fwd.voc_bracketed and result.metrics_rev.voc_bracketed\n assert result.status_fwd is not None and result.status_rev is not None\n assert all(x.valid for x in result.status_fwd+result.status_rev)\n assert result.snapshots_fwd is not None and result.snapshots_rev is not None\n assert result.decomp_fwd is not None and result.decomp_rev is not None\n assert result.initial_numerical_diagnostics is not None\n raw=pickle.dumps(result,protocol=5)\n (out/\"Result.pkl\").write_bytes(raw)\n metadata={\"status\":\"complete_capture_unqualified\",\"elapsed_capture_s\":time.perf_counter()-started,\"result_sha256\":hashlib.sha256(raw).hexdigest(),\"measurement_observer_required\":True}\n (out/\"Capture.json\").write_text(json.dumps(metadata,indent=2)+\"\\n\")\nexcept BaseException as error:\n partial=getattr(error,\"result\",result)\n if partial is not None:\n (out/\"PartialResult.pkl\").write_bytes(pickle.dumps(partial,protocol=5))\n (out/\"Failure.json\").write_text(json.dumps({\"status\":\"failed\",\"error\":str(error),\"elapsed_s\":time.perf_counter()-started,\"traceback\":traceback.format_exc()},indent=2)+\"\\n\")\n raise\n" + ], + "command_code_sha256": "2f9cba892fc5863010b97ac246f8a4239dbbf97ec381041adf298d88f7882133", + "planned_output_directory": "/Users/bytedance/Library/Mobile Documents/com~apple~CloudDocs/projects/solarlab/results/RefactorPerformance/TransientJvN200/nip_MAPbI3/Old/RepeatV3", + "status": "statically_checked_not_executed", + "qualification": "Capture recipe only; required independent correctness, reference/source/env qualification and complete timing observer must be satisfied before any result becomes a speed denominator", + "stdout_and_stderr": "Supervisor must retain stdout and /usr/bin/time resource stderr in this run directory; no discarded diagnostics", + "prior_validation": { + "command_code_sha256": "2f9cba892fc5863010b97ac246f8a4239dbbf97ec381041adf298d88f7882133", + "review_receipt_sha256": "5fddd08bc242cfe92e7da20d8df4f7150a6ef7aa8c7fb51811e1c7a94c0e55d0", + "reviewed_plan_sha256": "b6721abbcc7ed227bd5067d80c53763cc69078b8172600de72dc4b048564f5c6", + "scope": "previous source recipe syntax/direct arguments only; not current modified recipe or execution" + }, + "snapshot_binding": { + "required_receipt": "/Users/bytedance/Intern/SolarLab/outputs/refactor_performance/baseline_snapshot_v1/SnapshotV1.json", + "receipt_sha256": null, + "required_status": "readonly_complete_source_dependency_and_effective_input_verified_before_and_after", + "status": "unmaterialized; direct live checkout execution is not qualifying" + } + }, + { + "id": "TransientJvN200/nip_MAPbI3_tmm/OldRepeat1", + "working_directory": "/Users/bytedance/Intern/SolarLab/outputs/refactor_performance/baseline_snapshot_v1/source/perovskite-sim", + "environment": { + "PYTHONDONTWRITEBYTECODE": "1", + "OMP_NUM_THREADS": "1", + "OPENBLAS_NUM_THREADS": "1", + "MKL_NUM_THREADS": "1", + "VECLIB_MAXIMUM_THREADS": "1", + "NUMEXPR_NUM_THREADS": "1", + "BLIS_NUM_THREADS": "1" + }, + "argv": [ + "/usr/bin/time", + "-l", + "/Users/bytedance/Intern/SolarLab/outputs/refactor_performance/baseline_snapshot_v1/environment/bin/python", + "-B", + "-c", + "from pathlib import Path\nimport json,pickle,time,traceback,hashlib\nfrom dataclasses import asdict\nout=Path('/Users/bytedance/Library/Mobile Documents/com~apple~CloudDocs/projects/solarlab/results/RefactorPerformance/TransientJvN200/nip_MAPbI3_tmm/Old/RepeatV1')\nout.mkdir(parents=True,exist_ok=False)\nstarted=time.perf_counter()\nresult=None\ntry:\n from perovskite_sim.models.config_loader import load_device_from_yaml\n from perovskite_sim.experiments.jv_sweep import run_jv_sweep,build_jv_experiment_protocol\n stack=load_device_from_yaml('tests/fixtures/configs/nip_MAPbI3_tmm.yaml')\n protocol=build_jv_experiment_protocol(stack,v_rate=1.0,n_points=40,V_max=1.4,illuminated=True)\n result=run_jv_sweep(stack,experiment_protocol=protocol,**{'N_grid': 200, 'n_points': 40, 'v_rate': 1.0, 'V_max': 1.4, 'rtol': 0.0001, 'atol': 1e-06, 'illuminated': True, 'save_snapshots': True, 'decompose_currents': True, 'v_max_max_attempts': 1, 'certification_mode': 'strict', 'allow_underresolved_grid': False, 'allow_unvalidated_driver': False, 'collect_numerical_diagnostics': True, 'protocol_mode': 'research_strict'})\n assert len(result.V_fwd)==40 and len(result.V_rev)==40\n assert result.metrics_fwd.voc_bracketed and result.metrics_rev.voc_bracketed\n assert result.status_fwd is not None and result.status_rev is not None\n assert all(x.valid for x in result.status_fwd+result.status_rev)\n assert result.snapshots_fwd is not None and result.snapshots_rev is not None\n assert result.decomp_fwd is not None and result.decomp_rev is not None\n assert result.initial_numerical_diagnostics is not None\n raw=pickle.dumps(result,protocol=5)\n (out/\"Result.pkl\").write_bytes(raw)\n metadata={\"status\":\"complete_capture_unqualified\",\"elapsed_capture_s\":time.perf_counter()-started,\"result_sha256\":hashlib.sha256(raw).hexdigest(),\"measurement_observer_required\":True}\n (out/\"Capture.json\").write_text(json.dumps(metadata,indent=2)+\"\\n\")\nexcept BaseException as error:\n partial=getattr(error,\"result\",result)\n if partial is not None:\n (out/\"PartialResult.pkl\").write_bytes(pickle.dumps(partial,protocol=5))\n (out/\"Failure.json\").write_text(json.dumps({\"status\":\"failed\",\"error\":str(error),\"elapsed_s\":time.perf_counter()-started,\"traceback\":traceback.format_exc()},indent=2)+\"\\n\")\n raise\n" + ], + "command_code_sha256": "a8a4105fb36dd1e641b4b4d4df09ab2d3b06ac58843636ba09060e4a254e172c", + "planned_output_directory": "/Users/bytedance/Library/Mobile Documents/com~apple~CloudDocs/projects/solarlab/results/RefactorPerformance/TransientJvN200/nip_MAPbI3_tmm/Old/RepeatV1", + "status": "statically_checked_not_executed", + "qualification": "Capture recipe only; required independent correctness, reference/source/env qualification and complete timing observer must be satisfied before any result becomes a speed denominator", + "stdout_and_stderr": "Supervisor must retain stdout and /usr/bin/time resource stderr in this run directory; no discarded diagnostics", + "prior_validation": { + "command_code_sha256": "a8a4105fb36dd1e641b4b4d4df09ab2d3b06ac58843636ba09060e4a254e172c", + "review_receipt_sha256": "5fddd08bc242cfe92e7da20d8df4f7150a6ef7aa8c7fb51811e1c7a94c0e55d0", + "reviewed_plan_sha256": "b6721abbcc7ed227bd5067d80c53763cc69078b8172600de72dc4b048564f5c6", + "scope": "previous source recipe syntax/direct arguments only; not current modified recipe or execution" + }, + "snapshot_binding": { + "required_receipt": "/Users/bytedance/Intern/SolarLab/outputs/refactor_performance/baseline_snapshot_v1/SnapshotV1.json", + "receipt_sha256": null, + "required_status": "readonly_complete_source_dependency_and_effective_input_verified_before_and_after", + "status": "unmaterialized; direct live checkout execution is not qualifying" + } + }, + { + "id": "TransientJvN200/nip_MAPbI3_tmm/OldRepeat2", + "working_directory": "/Users/bytedance/Intern/SolarLab/outputs/refactor_performance/baseline_snapshot_v1/source/perovskite-sim", + "environment": { + "PYTHONDONTWRITEBYTECODE": "1", + "OMP_NUM_THREADS": "1", + "OPENBLAS_NUM_THREADS": "1", + "MKL_NUM_THREADS": "1", + "VECLIB_MAXIMUM_THREADS": "1", + "NUMEXPR_NUM_THREADS": "1", + "BLIS_NUM_THREADS": "1" + }, + "argv": [ + "/usr/bin/time", + "-l", + "/Users/bytedance/Intern/SolarLab/outputs/refactor_performance/baseline_snapshot_v1/environment/bin/python", + "-B", + "-c", + "from pathlib import Path\nimport json,pickle,time,traceback,hashlib\nfrom dataclasses import asdict\nout=Path('/Users/bytedance/Library/Mobile Documents/com~apple~CloudDocs/projects/solarlab/results/RefactorPerformance/TransientJvN200/nip_MAPbI3_tmm/Old/RepeatV2')\nout.mkdir(parents=True,exist_ok=False)\nstarted=time.perf_counter()\nresult=None\ntry:\n from perovskite_sim.models.config_loader import load_device_from_yaml\n from perovskite_sim.experiments.jv_sweep import run_jv_sweep,build_jv_experiment_protocol\n stack=load_device_from_yaml('tests/fixtures/configs/nip_MAPbI3_tmm.yaml')\n protocol=build_jv_experiment_protocol(stack,v_rate=1.0,n_points=40,V_max=1.4,illuminated=True)\n result=run_jv_sweep(stack,experiment_protocol=protocol,**{'N_grid': 200, 'n_points': 40, 'v_rate': 1.0, 'V_max': 1.4, 'rtol': 0.0001, 'atol': 1e-06, 'illuminated': True, 'save_snapshots': True, 'decompose_currents': True, 'v_max_max_attempts': 1, 'certification_mode': 'strict', 'allow_underresolved_grid': False, 'allow_unvalidated_driver': False, 'collect_numerical_diagnostics': True, 'protocol_mode': 'research_strict'})\n assert len(result.V_fwd)==40 and len(result.V_rev)==40\n assert result.metrics_fwd.voc_bracketed and result.metrics_rev.voc_bracketed\n assert result.status_fwd is not None and result.status_rev is not None\n assert all(x.valid for x in result.status_fwd+result.status_rev)\n assert result.snapshots_fwd is not None and result.snapshots_rev is not None\n assert result.decomp_fwd is not None and result.decomp_rev is not None\n assert result.initial_numerical_diagnostics is not None\n raw=pickle.dumps(result,protocol=5)\n (out/\"Result.pkl\").write_bytes(raw)\n metadata={\"status\":\"complete_capture_unqualified\",\"elapsed_capture_s\":time.perf_counter()-started,\"result_sha256\":hashlib.sha256(raw).hexdigest(),\"measurement_observer_required\":True}\n (out/\"Capture.json\").write_text(json.dumps(metadata,indent=2)+\"\\n\")\nexcept BaseException as error:\n partial=getattr(error,\"result\",result)\n if partial is not None:\n (out/\"PartialResult.pkl\").write_bytes(pickle.dumps(partial,protocol=5))\n (out/\"Failure.json\").write_text(json.dumps({\"status\":\"failed\",\"error\":str(error),\"elapsed_s\":time.perf_counter()-started,\"traceback\":traceback.format_exc()},indent=2)+\"\\n\")\n raise\n" + ], + "command_code_sha256": "eec32ad3964aa28988acae84d82f185b5b58ac793f8c58c972596d2c1dccdea0", + "planned_output_directory": "/Users/bytedance/Library/Mobile Documents/com~apple~CloudDocs/projects/solarlab/results/RefactorPerformance/TransientJvN200/nip_MAPbI3_tmm/Old/RepeatV2", + "status": "statically_checked_not_executed", + "qualification": "Capture recipe only; required independent correctness, reference/source/env qualification and complete timing observer must be satisfied before any result becomes a speed denominator", + "stdout_and_stderr": "Supervisor must retain stdout and /usr/bin/time resource stderr in this run directory; no discarded diagnostics", + "prior_validation": { + "command_code_sha256": "eec32ad3964aa28988acae84d82f185b5b58ac793f8c58c972596d2c1dccdea0", + "review_receipt_sha256": "5fddd08bc242cfe92e7da20d8df4f7150a6ef7aa8c7fb51811e1c7a94c0e55d0", + "reviewed_plan_sha256": "b6721abbcc7ed227bd5067d80c53763cc69078b8172600de72dc4b048564f5c6", + "scope": "previous source recipe syntax/direct arguments only; not current modified recipe or execution" + }, + "snapshot_binding": { + "required_receipt": "/Users/bytedance/Intern/SolarLab/outputs/refactor_performance/baseline_snapshot_v1/SnapshotV1.json", + "receipt_sha256": null, + "required_status": "readonly_complete_source_dependency_and_effective_input_verified_before_and_after", + "status": "unmaterialized; direct live checkout execution is not qualifying" + } + }, + { + "id": "TransientJvN200/nip_MAPbI3_tmm/OldRepeat3", + "working_directory": "/Users/bytedance/Intern/SolarLab/outputs/refactor_performance/baseline_snapshot_v1/source/perovskite-sim", + "environment": { + "PYTHONDONTWRITEBYTECODE": "1", + "OMP_NUM_THREADS": "1", + "OPENBLAS_NUM_THREADS": "1", + "MKL_NUM_THREADS": "1", + "VECLIB_MAXIMUM_THREADS": "1", + "NUMEXPR_NUM_THREADS": "1", + "BLIS_NUM_THREADS": "1" + }, + "argv": [ + "/usr/bin/time", + "-l", + "/Users/bytedance/Intern/SolarLab/outputs/refactor_performance/baseline_snapshot_v1/environment/bin/python", + "-B", + "-c", + "from pathlib import Path\nimport json,pickle,time,traceback,hashlib\nfrom dataclasses import asdict\nout=Path('/Users/bytedance/Library/Mobile Documents/com~apple~CloudDocs/projects/solarlab/results/RefactorPerformance/TransientJvN200/nip_MAPbI3_tmm/Old/RepeatV3')\nout.mkdir(parents=True,exist_ok=False)\nstarted=time.perf_counter()\nresult=None\ntry:\n from perovskite_sim.models.config_loader import load_device_from_yaml\n from perovskite_sim.experiments.jv_sweep import run_jv_sweep,build_jv_experiment_protocol\n stack=load_device_from_yaml('tests/fixtures/configs/nip_MAPbI3_tmm.yaml')\n protocol=build_jv_experiment_protocol(stack,v_rate=1.0,n_points=40,V_max=1.4,illuminated=True)\n result=run_jv_sweep(stack,experiment_protocol=protocol,**{'N_grid': 200, 'n_points': 40, 'v_rate': 1.0, 'V_max': 1.4, 'rtol': 0.0001, 'atol': 1e-06, 'illuminated': True, 'save_snapshots': True, 'decompose_currents': True, 'v_max_max_attempts': 1, 'certification_mode': 'strict', 'allow_underresolved_grid': False, 'allow_unvalidated_driver': False, 'collect_numerical_diagnostics': True, 'protocol_mode': 'research_strict'})\n assert len(result.V_fwd)==40 and len(result.V_rev)==40\n assert result.metrics_fwd.voc_bracketed and result.metrics_rev.voc_bracketed\n assert result.status_fwd is not None and result.status_rev is not None\n assert all(x.valid for x in result.status_fwd+result.status_rev)\n assert result.snapshots_fwd is not None and result.snapshots_rev is not None\n assert result.decomp_fwd is not None and result.decomp_rev is not None\n assert result.initial_numerical_diagnostics is not None\n raw=pickle.dumps(result,protocol=5)\n (out/\"Result.pkl\").write_bytes(raw)\n metadata={\"status\":\"complete_capture_unqualified\",\"elapsed_capture_s\":time.perf_counter()-started,\"result_sha256\":hashlib.sha256(raw).hexdigest(),\"measurement_observer_required\":True}\n (out/\"Capture.json\").write_text(json.dumps(metadata,indent=2)+\"\\n\")\nexcept BaseException as error:\n partial=getattr(error,\"result\",result)\n if partial is not None:\n (out/\"PartialResult.pkl\").write_bytes(pickle.dumps(partial,protocol=5))\n (out/\"Failure.json\").write_text(json.dumps({\"status\":\"failed\",\"error\":str(error),\"elapsed_s\":time.perf_counter()-started,\"traceback\":traceback.format_exc()},indent=2)+\"\\n\")\n raise\n" + ], + "command_code_sha256": "1987950c68b26c0b5de8f26078f73d407c5c4dd4e6c29e7bfdf296575243cf0c", + "planned_output_directory": "/Users/bytedance/Library/Mobile Documents/com~apple~CloudDocs/projects/solarlab/results/RefactorPerformance/TransientJvN200/nip_MAPbI3_tmm/Old/RepeatV3", + "status": "statically_checked_not_executed", + "qualification": "Capture recipe only; required independent correctness, reference/source/env qualification and complete timing observer must be satisfied before any result becomes a speed denominator", + "stdout_and_stderr": "Supervisor must retain stdout and /usr/bin/time resource stderr in this run directory; no discarded diagnostics", + "prior_validation": { + "command_code_sha256": "1987950c68b26c0b5de8f26078f73d407c5c4dd4e6c29e7bfdf296575243cf0c", + "review_receipt_sha256": "5fddd08bc242cfe92e7da20d8df4f7150a6ef7aa8c7fb51811e1c7a94c0e55d0", + "reviewed_plan_sha256": "b6721abbcc7ed227bd5067d80c53763cc69078b8172600de72dc4b048564f5c6", + "scope": "previous source recipe syntax/direct arguments only; not current modified recipe or execution" + }, + "snapshot_binding": { + "required_receipt": "/Users/bytedance/Intern/SolarLab/outputs/refactor_performance/baseline_snapshot_v1/SnapshotV1.json", + "receipt_sha256": null, + "required_status": "readonly_complete_source_dependency_and_effective_input_verified_before_and_after", + "status": "unmaterialized; direct live checkout execution is not qualifying" + } + }, + { + "id": "ScapsSteady/scaps_mirror_v2/OldRepeat1", + "working_directory": "/Users/bytedance/Intern/SolarLab/outputs/refactor_performance/baseline_snapshot_v1/source/perovskite-sim", + "environment": { + "PYTHONDONTWRITEBYTECODE": "1", + "OMP_NUM_THREADS": "1", + "OPENBLAS_NUM_THREADS": "1", + "MKL_NUM_THREADS": "1", + "VECLIB_MAXIMUM_THREADS": "1", + "NUMEXPR_NUM_THREADS": "1", + "BLIS_NUM_THREADS": "1" + }, + "argv": [ + "/usr/bin/time", + "-l", + "/Users/bytedance/Intern/SolarLab/outputs/refactor_performance/baseline_snapshot_v1/environment/bin/python", + "-B", + "-c", + "from pathlib import Path\nimport json,pickle,time,traceback,hashlib\nfrom dataclasses import asdict\nout=Path('/Users/bytedance/Library/Mobile Documents/com~apple~CloudDocs/projects/solarlab/results/RefactorPerformance/ScapsSteady/scaps_mirror_v2/Old/RepeatV1')\nout.mkdir(parents=True,exist_ok=False)\nstarted=time.perf_counter()\nresult=None\ntry:\n from dataclasses import replace\n from perovskite_sim.scaps_compat import load_scaps_yaml\n from perovskite_sim.experiments.steady_state import run_jv_sweep_ss\n stack=replace(load_scaps_yaml(\"configs/scaps_mirror_v2.yaml\"),dos_band_potentials=True)\n stack=replace(stack,layers=tuple(replace(x,params=replace(x.params,D_ion=0.0)) for x in stack.layers))\n result=run_jv_sweep_ss(stack,**{'N_grid': 30, 'V_max': 1.6, 'n_points': 24, 'illuminated': True, 'iface_states': False, 'stop_after_voc': True, 'allow_underresolved_grid': False, 'allow_unvalidated_driver': False})\n assert result.metrics.voc_bracketed\n assert len(result.V)==len(result.J)==len(result.point_acceptance)\n assert result.point_residual is not None and result.point_continuity_current_bound is not None\n assert result.V[-1] < 1.5\n raw=pickle.dumps(result,protocol=5)\n (out/\"Result.pkl\").write_bytes(raw)\n metadata={\"status\":\"complete_capture_unqualified\",\"elapsed_capture_s\":time.perf_counter()-started,\"result_sha256\":hashlib.sha256(raw).hexdigest(),\"measurement_observer_required\":True}\n (out/\"Capture.json\").write_text(json.dumps(metadata,indent=2)+\"\\n\")\nexcept BaseException as error:\n partial=getattr(error,\"result\",result)\n if partial is not None:\n (out/\"PartialResult.pkl\").write_bytes(pickle.dumps(partial,protocol=5))\n (out/\"Failure.json\").write_text(json.dumps({\"status\":\"failed\",\"error\":str(error),\"elapsed_s\":time.perf_counter()-started,\"traceback\":traceback.format_exc()},indent=2)+\"\\n\")\n raise\n" + ], + "command_code_sha256": "57f49bbcb2dafb4634281643970c1dfaaf485832e43a099663da2dc862b9ead5", + "planned_output_directory": "/Users/bytedance/Library/Mobile Documents/com~apple~CloudDocs/projects/solarlab/results/RefactorPerformance/ScapsSteady/scaps_mirror_v2/Old/RepeatV1", + "status": "statically_checked_not_executed", + "qualification": "Capture recipe only; required independent correctness, reference/source/env qualification and complete timing observer must be satisfied before any result becomes a speed denominator", + "stdout_and_stderr": "Supervisor must retain stdout and /usr/bin/time resource stderr in this run directory; no discarded diagnostics", + "prior_validation": { + "command_code_sha256": "57f49bbcb2dafb4634281643970c1dfaaf485832e43a099663da2dc862b9ead5", + "review_receipt_sha256": "5fddd08bc242cfe92e7da20d8df4f7150a6ef7aa8c7fb51811e1c7a94c0e55d0", + "reviewed_plan_sha256": "b6721abbcc7ed227bd5067d80c53763cc69078b8172600de72dc4b048564f5c6", + "scope": "previous source recipe syntax/direct arguments only; not current modified recipe or execution" + }, + "snapshot_binding": { + "required_receipt": "/Users/bytedance/Intern/SolarLab/outputs/refactor_performance/baseline_snapshot_v1/SnapshotV1.json", + "receipt_sha256": null, + "required_status": "readonly_complete_source_dependency_and_effective_input_verified_before_and_after", + "status": "unmaterialized; direct live checkout execution is not qualifying" + } + }, + { + "id": "ScapsSteady/scaps_mirror_v2/OldRepeat2", + "working_directory": "/Users/bytedance/Intern/SolarLab/outputs/refactor_performance/baseline_snapshot_v1/source/perovskite-sim", + "environment": { + "PYTHONDONTWRITEBYTECODE": "1", + "OMP_NUM_THREADS": "1", + "OPENBLAS_NUM_THREADS": "1", + "MKL_NUM_THREADS": "1", + "VECLIB_MAXIMUM_THREADS": "1", + "NUMEXPR_NUM_THREADS": "1", + "BLIS_NUM_THREADS": "1" + }, + "argv": [ + "/usr/bin/time", + "-l", + "/Users/bytedance/Intern/SolarLab/outputs/refactor_performance/baseline_snapshot_v1/environment/bin/python", + "-B", + "-c", + "from pathlib import Path\nimport json,pickle,time,traceback,hashlib\nfrom dataclasses import asdict\nout=Path('/Users/bytedance/Library/Mobile Documents/com~apple~CloudDocs/projects/solarlab/results/RefactorPerformance/ScapsSteady/scaps_mirror_v2/Old/RepeatV2')\nout.mkdir(parents=True,exist_ok=False)\nstarted=time.perf_counter()\nresult=None\ntry:\n from dataclasses import replace\n from perovskite_sim.scaps_compat import load_scaps_yaml\n from perovskite_sim.experiments.steady_state import run_jv_sweep_ss\n stack=replace(load_scaps_yaml(\"configs/scaps_mirror_v2.yaml\"),dos_band_potentials=True)\n stack=replace(stack,layers=tuple(replace(x,params=replace(x.params,D_ion=0.0)) for x in stack.layers))\n result=run_jv_sweep_ss(stack,**{'N_grid': 30, 'V_max': 1.6, 'n_points': 24, 'illuminated': True, 'iface_states': False, 'stop_after_voc': True, 'allow_underresolved_grid': False, 'allow_unvalidated_driver': False})\n assert result.metrics.voc_bracketed\n assert len(result.V)==len(result.J)==len(result.point_acceptance)\n assert result.point_residual is not None and result.point_continuity_current_bound is not None\n assert result.V[-1] < 1.5\n raw=pickle.dumps(result,protocol=5)\n (out/\"Result.pkl\").write_bytes(raw)\n metadata={\"status\":\"complete_capture_unqualified\",\"elapsed_capture_s\":time.perf_counter()-started,\"result_sha256\":hashlib.sha256(raw).hexdigest(),\"measurement_observer_required\":True}\n (out/\"Capture.json\").write_text(json.dumps(metadata,indent=2)+\"\\n\")\nexcept BaseException as error:\n partial=getattr(error,\"result\",result)\n if partial is not None:\n (out/\"PartialResult.pkl\").write_bytes(pickle.dumps(partial,protocol=5))\n (out/\"Failure.json\").write_text(json.dumps({\"status\":\"failed\",\"error\":str(error),\"elapsed_s\":time.perf_counter()-started,\"traceback\":traceback.format_exc()},indent=2)+\"\\n\")\n raise\n" + ], + "command_code_sha256": "5aa3c0742dce51831a883491d60c5bac2215d3bab33593031f1b3a92a810642a", + "planned_output_directory": "/Users/bytedance/Library/Mobile Documents/com~apple~CloudDocs/projects/solarlab/results/RefactorPerformance/ScapsSteady/scaps_mirror_v2/Old/RepeatV2", + "status": "statically_checked_not_executed", + "qualification": "Capture recipe only; required independent correctness, reference/source/env qualification and complete timing observer must be satisfied before any result becomes a speed denominator", + "stdout_and_stderr": "Supervisor must retain stdout and /usr/bin/time resource stderr in this run directory; no discarded diagnostics", + "prior_validation": { + "command_code_sha256": "5aa3c0742dce51831a883491d60c5bac2215d3bab33593031f1b3a92a810642a", + "review_receipt_sha256": "5fddd08bc242cfe92e7da20d8df4f7150a6ef7aa8c7fb51811e1c7a94c0e55d0", + "reviewed_plan_sha256": "b6721abbcc7ed227bd5067d80c53763cc69078b8172600de72dc4b048564f5c6", + "scope": "previous source recipe syntax/direct arguments only; not current modified recipe or execution" + }, + "snapshot_binding": { + "required_receipt": "/Users/bytedance/Intern/SolarLab/outputs/refactor_performance/baseline_snapshot_v1/SnapshotV1.json", + "receipt_sha256": null, + "required_status": "readonly_complete_source_dependency_and_effective_input_verified_before_and_after", + "status": "unmaterialized; direct live checkout execution is not qualifying" + } + }, + { + "id": "ScapsSteady/scaps_mirror_v2/OldRepeat3", + "working_directory": "/Users/bytedance/Intern/SolarLab/outputs/refactor_performance/baseline_snapshot_v1/source/perovskite-sim", + "environment": { + "PYTHONDONTWRITEBYTECODE": "1", + "OMP_NUM_THREADS": "1", + "OPENBLAS_NUM_THREADS": "1", + "MKL_NUM_THREADS": "1", + "VECLIB_MAXIMUM_THREADS": "1", + "NUMEXPR_NUM_THREADS": "1", + "BLIS_NUM_THREADS": "1" + }, + "argv": [ + "/usr/bin/time", + "-l", + "/Users/bytedance/Intern/SolarLab/outputs/refactor_performance/baseline_snapshot_v1/environment/bin/python", + "-B", + "-c", + "from pathlib import Path\nimport json,pickle,time,traceback,hashlib\nfrom dataclasses import asdict\nout=Path('/Users/bytedance/Library/Mobile Documents/com~apple~CloudDocs/projects/solarlab/results/RefactorPerformance/ScapsSteady/scaps_mirror_v2/Old/RepeatV3')\nout.mkdir(parents=True,exist_ok=False)\nstarted=time.perf_counter()\nresult=None\ntry:\n from dataclasses import replace\n from perovskite_sim.scaps_compat import load_scaps_yaml\n from perovskite_sim.experiments.steady_state import run_jv_sweep_ss\n stack=replace(load_scaps_yaml(\"configs/scaps_mirror_v2.yaml\"),dos_band_potentials=True)\n stack=replace(stack,layers=tuple(replace(x,params=replace(x.params,D_ion=0.0)) for x in stack.layers))\n result=run_jv_sweep_ss(stack,**{'N_grid': 30, 'V_max': 1.6, 'n_points': 24, 'illuminated': True, 'iface_states': False, 'stop_after_voc': True, 'allow_underresolved_grid': False, 'allow_unvalidated_driver': False})\n assert result.metrics.voc_bracketed\n assert len(result.V)==len(result.J)==len(result.point_acceptance)\n assert result.point_residual is not None and result.point_continuity_current_bound is not None\n assert result.V[-1] < 1.5\n raw=pickle.dumps(result,protocol=5)\n (out/\"Result.pkl\").write_bytes(raw)\n metadata={\"status\":\"complete_capture_unqualified\",\"elapsed_capture_s\":time.perf_counter()-started,\"result_sha256\":hashlib.sha256(raw).hexdigest(),\"measurement_observer_required\":True}\n (out/\"Capture.json\").write_text(json.dumps(metadata,indent=2)+\"\\n\")\nexcept BaseException as error:\n partial=getattr(error,\"result\",result)\n if partial is not None:\n (out/\"PartialResult.pkl\").write_bytes(pickle.dumps(partial,protocol=5))\n (out/\"Failure.json\").write_text(json.dumps({\"status\":\"failed\",\"error\":str(error),\"elapsed_s\":time.perf_counter()-started,\"traceback\":traceback.format_exc()},indent=2)+\"\\n\")\n raise\n" + ], + "command_code_sha256": "45bd94a6384979ea8f35014c00b6d46fc3e19f44f0b96c05fd7ff6bd2fcd6ce4", + "planned_output_directory": "/Users/bytedance/Library/Mobile Documents/com~apple~CloudDocs/projects/solarlab/results/RefactorPerformance/ScapsSteady/scaps_mirror_v2/Old/RepeatV3", + "status": "statically_checked_not_executed", + "qualification": "Capture recipe only; required independent correctness, reference/source/env qualification and complete timing observer must be satisfied before any result becomes a speed denominator", + "stdout_and_stderr": "Supervisor must retain stdout and /usr/bin/time resource stderr in this run directory; no discarded diagnostics", + "prior_validation": { + "command_code_sha256": "45bd94a6384979ea8f35014c00b6d46fc3e19f44f0b96c05fd7ff6bd2fcd6ce4", + "review_receipt_sha256": "5fddd08bc242cfe92e7da20d8df4f7150a6ef7aa8c7fb51811e1c7a94c0e55d0", + "reviewed_plan_sha256": "b6721abbcc7ed227bd5067d80c53763cc69078b8172600de72dc4b048564f5c6", + "scope": "previous source recipe syntax/direct arguments only; not current modified recipe or execution" + }, + "snapshot_binding": { + "required_receipt": "/Users/bytedance/Intern/SolarLab/outputs/refactor_performance/baseline_snapshot_v1/SnapshotV1.json", + "receipt_sha256": null, + "required_status": "readonly_complete_source_dependency_and_effective_input_verified_before_and_after", + "status": "unmaterialized; direct live checkout execution is not qualifying" + } + }, + { + "id": "Spatial2DStageA/Nx4/OldRepeat1", + "working_directory": "/Users/bytedance/Intern/SolarLab/outputs/refactor_performance/baseline_snapshot_v1/source/perovskite-sim", + "environment": { + "PYTHONDONTWRITEBYTECODE": "1", + "OMP_NUM_THREADS": "1", + "OPENBLAS_NUM_THREADS": "1", + "MKL_NUM_THREADS": "1", + "VECLIB_MAXIMUM_THREADS": "1", + "NUMEXPR_NUM_THREADS": "1", + "BLIS_NUM_THREADS": "1" + }, + "argv": [ + "/usr/bin/time", + "-l", + "/Users/bytedance/Intern/SolarLab/outputs/refactor_performance/baseline_snapshot_v1/environment/bin/python", + "-B", + "-c", + "from pathlib import Path\nimport json,pickle,time,traceback,hashlib\nfrom dataclasses import asdict\nout=Path('/Users/bytedance/Library/Mobile Documents/com~apple~CloudDocs/projects/solarlab/results/RefactorPerformance/Spatial2DStageA/Nx4/Old/RepeatV1')\nout.mkdir(parents=True,exist_ok=False)\nstarted=time.perf_counter()\nresult=None\ntry:\n from dataclasses import replace\n from perovskite_sim.models.config_loader import load_device_from_yaml\n from perovskite_sim.twod.microstructure import Microstructure\n from perovskite_sim.twod.experiments.jv_sweep_2d import build_jv_2d_execution_protocol,run_jv_sweep_2d\n stack=load_device_from_yaml(\"tests/fixtures/configs/twod/nip_MAPbI3_uniform.yaml\")\n stack=replace(stack,layers=tuple(replace(x,params=replace(x.params,D_ion=0.0)) for x in stack.layers))\n args={'lateral_length': 5e-07, 'Nx': 4, 'Ny_per_layer': 10, 'V_max': 1.2, 'V_step': 0.1, 'settle_t': 0.001, 'illuminated': True, 'lateral_bc': 'periodic', 'save_snapshots': True, 'ion_dynamics': 'frozen', 'interface_srh': 'off', 'rtol': 1e-06, 'atol': 1e-08, 'initial_state_settle_s': 0.001}\n protocol=build_jv_2d_execution_protocol(stack,Microstructure(),**args)\n result=run_jv_sweep_2d(stack,Microstructure(),**args,jv_2d_protocol=protocol,protocol_mode=\"research_strict\")\n assert len(result.V)==13 and len(result.snapshots)==13\n assert result.metrics.voc_bracketed\n assert len(result.grid_x)==5 and len(result.grid_y)==31\n raw=pickle.dumps(result,protocol=5)\n (out/\"Result.pkl\").write_bytes(raw)\n metadata={\"status\":\"complete_capture_unqualified\",\"elapsed_capture_s\":time.perf_counter()-started,\"result_sha256\":hashlib.sha256(raw).hexdigest(),\"measurement_observer_required\":True}\n (out/\"Capture.json\").write_text(json.dumps(metadata,indent=2)+\"\\n\")\nexcept BaseException as error:\n partial=getattr(error,\"result\",result)\n if partial is not None:\n (out/\"PartialResult.pkl\").write_bytes(pickle.dumps(partial,protocol=5))\n (out/\"Failure.json\").write_text(json.dumps({\"status\":\"failed\",\"error\":str(error),\"elapsed_s\":time.perf_counter()-started,\"traceback\":traceback.format_exc()},indent=2)+\"\\n\")\n raise\n" + ], + "command_code_sha256": "0edc619ee34457b8d259354b098cc81795c86b1d05e0fe353f10bda8ac5399b7", + "planned_output_directory": "/Users/bytedance/Library/Mobile Documents/com~apple~CloudDocs/projects/solarlab/results/RefactorPerformance/Spatial2DStageA/Nx4/Old/RepeatV1", + "status": "statically_checked_not_executed", + "qualification": "Capture recipe only; required independent correctness, reference/source/env qualification and complete timing observer must be satisfied before any result becomes a speed denominator", + "stdout_and_stderr": "Supervisor must retain stdout and /usr/bin/time resource stderr in this run directory; no discarded diagnostics", + "prior_validation": { + "command_code_sha256": "0edc619ee34457b8d259354b098cc81795c86b1d05e0fe353f10bda8ac5399b7", + "review_receipt_sha256": "5fddd08bc242cfe92e7da20d8df4f7150a6ef7aa8c7fb51811e1c7a94c0e55d0", + "reviewed_plan_sha256": "b6721abbcc7ed227bd5067d80c53763cc69078b8172600de72dc4b048564f5c6", + "scope": "previous source recipe syntax/direct arguments only; not current modified recipe or execution" + }, + "snapshot_binding": { + "required_receipt": "/Users/bytedance/Intern/SolarLab/outputs/refactor_performance/baseline_snapshot_v1/SnapshotV1.json", + "receipt_sha256": null, + "required_status": "readonly_complete_source_dependency_and_effective_input_verified_before_and_after", + "status": "unmaterialized; direct live checkout execution is not qualifying" + } + }, + { + "id": "Spatial2DStageA/Nx4/OldRepeat2", + "working_directory": "/Users/bytedance/Intern/SolarLab/outputs/refactor_performance/baseline_snapshot_v1/source/perovskite-sim", + "environment": { + "PYTHONDONTWRITEBYTECODE": "1", + "OMP_NUM_THREADS": "1", + "OPENBLAS_NUM_THREADS": "1", + "MKL_NUM_THREADS": "1", + "VECLIB_MAXIMUM_THREADS": "1", + "NUMEXPR_NUM_THREADS": "1", + "BLIS_NUM_THREADS": "1" + }, + "argv": [ + "/usr/bin/time", + "-l", + "/Users/bytedance/Intern/SolarLab/outputs/refactor_performance/baseline_snapshot_v1/environment/bin/python", + "-B", + "-c", + "from pathlib import Path\nimport json,pickle,time,traceback,hashlib\nfrom dataclasses import asdict\nout=Path('/Users/bytedance/Library/Mobile Documents/com~apple~CloudDocs/projects/solarlab/results/RefactorPerformance/Spatial2DStageA/Nx4/Old/RepeatV2')\nout.mkdir(parents=True,exist_ok=False)\nstarted=time.perf_counter()\nresult=None\ntry:\n from dataclasses import replace\n from perovskite_sim.models.config_loader import load_device_from_yaml\n from perovskite_sim.twod.microstructure import Microstructure\n from perovskite_sim.twod.experiments.jv_sweep_2d import build_jv_2d_execution_protocol,run_jv_sweep_2d\n stack=load_device_from_yaml(\"tests/fixtures/configs/twod/nip_MAPbI3_uniform.yaml\")\n stack=replace(stack,layers=tuple(replace(x,params=replace(x.params,D_ion=0.0)) for x in stack.layers))\n args={'lateral_length': 5e-07, 'Nx': 4, 'Ny_per_layer': 10, 'V_max': 1.2, 'V_step': 0.1, 'settle_t': 0.001, 'illuminated': True, 'lateral_bc': 'periodic', 'save_snapshots': True, 'ion_dynamics': 'frozen', 'interface_srh': 'off', 'rtol': 1e-06, 'atol': 1e-08, 'initial_state_settle_s': 0.001}\n protocol=build_jv_2d_execution_protocol(stack,Microstructure(),**args)\n result=run_jv_sweep_2d(stack,Microstructure(),**args,jv_2d_protocol=protocol,protocol_mode=\"research_strict\")\n assert len(result.V)==13 and len(result.snapshots)==13\n assert result.metrics.voc_bracketed\n assert len(result.grid_x)==5 and len(result.grid_y)==31\n raw=pickle.dumps(result,protocol=5)\n (out/\"Result.pkl\").write_bytes(raw)\n metadata={\"status\":\"complete_capture_unqualified\",\"elapsed_capture_s\":time.perf_counter()-started,\"result_sha256\":hashlib.sha256(raw).hexdigest(),\"measurement_observer_required\":True}\n (out/\"Capture.json\").write_text(json.dumps(metadata,indent=2)+\"\\n\")\nexcept BaseException as error:\n partial=getattr(error,\"result\",result)\n if partial is not None:\n (out/\"PartialResult.pkl\").write_bytes(pickle.dumps(partial,protocol=5))\n (out/\"Failure.json\").write_text(json.dumps({\"status\":\"failed\",\"error\":str(error),\"elapsed_s\":time.perf_counter()-started,\"traceback\":traceback.format_exc()},indent=2)+\"\\n\")\n raise\n" + ], + "command_code_sha256": "f48e7b97dec7c4ff04a593a797f1e53204581d8f635c7b8ff2d49f68c2c3d030", + "planned_output_directory": "/Users/bytedance/Library/Mobile Documents/com~apple~CloudDocs/projects/solarlab/results/RefactorPerformance/Spatial2DStageA/Nx4/Old/RepeatV2", + "status": "statically_checked_not_executed", + "qualification": "Capture recipe only; required independent correctness, reference/source/env qualification and complete timing observer must be satisfied before any result becomes a speed denominator", + "stdout_and_stderr": "Supervisor must retain stdout and /usr/bin/time resource stderr in this run directory; no discarded diagnostics", + "prior_validation": { + "command_code_sha256": "f48e7b97dec7c4ff04a593a797f1e53204581d8f635c7b8ff2d49f68c2c3d030", + "review_receipt_sha256": "5fddd08bc242cfe92e7da20d8df4f7150a6ef7aa8c7fb51811e1c7a94c0e55d0", + "reviewed_plan_sha256": "b6721abbcc7ed227bd5067d80c53763cc69078b8172600de72dc4b048564f5c6", + "scope": "previous source recipe syntax/direct arguments only; not current modified recipe or execution" + }, + "snapshot_binding": { + "required_receipt": "/Users/bytedance/Intern/SolarLab/outputs/refactor_performance/baseline_snapshot_v1/SnapshotV1.json", + "receipt_sha256": null, + "required_status": "readonly_complete_source_dependency_and_effective_input_verified_before_and_after", + "status": "unmaterialized; direct live checkout execution is not qualifying" + } + }, + { + "id": "Spatial2DStageA/Nx4/OldRepeat3", + "working_directory": "/Users/bytedance/Intern/SolarLab/outputs/refactor_performance/baseline_snapshot_v1/source/perovskite-sim", + "environment": { + "PYTHONDONTWRITEBYTECODE": "1", + "OMP_NUM_THREADS": "1", + "OPENBLAS_NUM_THREADS": "1", + "MKL_NUM_THREADS": "1", + "VECLIB_MAXIMUM_THREADS": "1", + "NUMEXPR_NUM_THREADS": "1", + "BLIS_NUM_THREADS": "1" + }, + "argv": [ + "/usr/bin/time", + "-l", + "/Users/bytedance/Intern/SolarLab/outputs/refactor_performance/baseline_snapshot_v1/environment/bin/python", + "-B", + "-c", + "from pathlib import Path\nimport json,pickle,time,traceback,hashlib\nfrom dataclasses import asdict\nout=Path('/Users/bytedance/Library/Mobile Documents/com~apple~CloudDocs/projects/solarlab/results/RefactorPerformance/Spatial2DStageA/Nx4/Old/RepeatV3')\nout.mkdir(parents=True,exist_ok=False)\nstarted=time.perf_counter()\nresult=None\ntry:\n from dataclasses import replace\n from perovskite_sim.models.config_loader import load_device_from_yaml\n from perovskite_sim.twod.microstructure import Microstructure\n from perovskite_sim.twod.experiments.jv_sweep_2d import build_jv_2d_execution_protocol,run_jv_sweep_2d\n stack=load_device_from_yaml(\"tests/fixtures/configs/twod/nip_MAPbI3_uniform.yaml\")\n stack=replace(stack,layers=tuple(replace(x,params=replace(x.params,D_ion=0.0)) for x in stack.layers))\n args={'lateral_length': 5e-07, 'Nx': 4, 'Ny_per_layer': 10, 'V_max': 1.2, 'V_step': 0.1, 'settle_t': 0.001, 'illuminated': True, 'lateral_bc': 'periodic', 'save_snapshots': True, 'ion_dynamics': 'frozen', 'interface_srh': 'off', 'rtol': 1e-06, 'atol': 1e-08, 'initial_state_settle_s': 0.001}\n protocol=build_jv_2d_execution_protocol(stack,Microstructure(),**args)\n result=run_jv_sweep_2d(stack,Microstructure(),**args,jv_2d_protocol=protocol,protocol_mode=\"research_strict\")\n assert len(result.V)==13 and len(result.snapshots)==13\n assert result.metrics.voc_bracketed\n assert len(result.grid_x)==5 and len(result.grid_y)==31\n raw=pickle.dumps(result,protocol=5)\n (out/\"Result.pkl\").write_bytes(raw)\n metadata={\"status\":\"complete_capture_unqualified\",\"elapsed_capture_s\":time.perf_counter()-started,\"result_sha256\":hashlib.sha256(raw).hexdigest(),\"measurement_observer_required\":True}\n (out/\"Capture.json\").write_text(json.dumps(metadata,indent=2)+\"\\n\")\nexcept BaseException as error:\n partial=getattr(error,\"result\",result)\n if partial is not None:\n (out/\"PartialResult.pkl\").write_bytes(pickle.dumps(partial,protocol=5))\n (out/\"Failure.json\").write_text(json.dumps({\"status\":\"failed\",\"error\":str(error),\"elapsed_s\":time.perf_counter()-started,\"traceback\":traceback.format_exc()},indent=2)+\"\\n\")\n raise\n" + ], + "command_code_sha256": "7b6459fddd06005e0cffee9cb6fc36e1923c32ece6527724e6926402b07e0a77", + "planned_output_directory": "/Users/bytedance/Library/Mobile Documents/com~apple~CloudDocs/projects/solarlab/results/RefactorPerformance/Spatial2DStageA/Nx4/Old/RepeatV3", + "status": "statically_checked_not_executed", + "qualification": "Capture recipe only; required independent correctness, reference/source/env qualification and complete timing observer must be satisfied before any result becomes a speed denominator", + "stdout_and_stderr": "Supervisor must retain stdout and /usr/bin/time resource stderr in this run directory; no discarded diagnostics", + "prior_validation": { + "command_code_sha256": "7b6459fddd06005e0cffee9cb6fc36e1923c32ece6527724e6926402b07e0a77", + "review_receipt_sha256": "5fddd08bc242cfe92e7da20d8df4f7150a6ef7aa8c7fb51811e1c7a94c0e55d0", + "reviewed_plan_sha256": "b6721abbcc7ed227bd5067d80c53763cc69078b8172600de72dc4b048564f5c6", + "scope": "previous source recipe syntax/direct arguments only; not current modified recipe or execution" + }, + "snapshot_binding": { + "required_receipt": "/Users/bytedance/Intern/SolarLab/outputs/refactor_performance/baseline_snapshot_v1/SnapshotV1.json", + "receipt_sha256": null, + "required_status": "readonly_complete_source_dependency_and_effective_input_verified_before_and_after", + "status": "unmaterialized; direct live checkout execution is not qualifying" + } + }, + { + "id": "Spatial2DStageA/Nx8/OldRepeat1", + "working_directory": "/Users/bytedance/Intern/SolarLab/outputs/refactor_performance/baseline_snapshot_v1/source/perovskite-sim", + "environment": { + "PYTHONDONTWRITEBYTECODE": "1", + "OMP_NUM_THREADS": "1", + "OPENBLAS_NUM_THREADS": "1", + "MKL_NUM_THREADS": "1", + "VECLIB_MAXIMUM_THREADS": "1", + "NUMEXPR_NUM_THREADS": "1", + "BLIS_NUM_THREADS": "1" + }, + "argv": [ + "/usr/bin/time", + "-l", + "/Users/bytedance/Intern/SolarLab/outputs/refactor_performance/baseline_snapshot_v1/environment/bin/python", + "-B", + "-c", + "from pathlib import Path\nimport json,pickle,time,traceback,hashlib\nfrom dataclasses import asdict\nout=Path('/Users/bytedance/Library/Mobile Documents/com~apple~CloudDocs/projects/solarlab/results/RefactorPerformance/Spatial2DStageA/Nx8/Old/RepeatV1')\nout.mkdir(parents=True,exist_ok=False)\nstarted=time.perf_counter()\nresult=None\ntry:\n from dataclasses import replace\n from perovskite_sim.models.config_loader import load_device_from_yaml\n from perovskite_sim.twod.microstructure import Microstructure\n from perovskite_sim.twod.experiments.jv_sweep_2d import build_jv_2d_execution_protocol,run_jv_sweep_2d\n stack=load_device_from_yaml(\"tests/fixtures/configs/twod/nip_MAPbI3_uniform.yaml\")\n stack=replace(stack,layers=tuple(replace(x,params=replace(x.params,D_ion=0.0)) for x in stack.layers))\n args={'lateral_length': 5e-07, 'Nx': 8, 'Ny_per_layer': 10, 'V_max': 1.2, 'V_step': 0.1, 'settle_t': 0.001, 'illuminated': True, 'lateral_bc': 'periodic', 'save_snapshots': True, 'ion_dynamics': 'frozen', 'interface_srh': 'off', 'rtol': 1e-06, 'atol': 1e-08, 'initial_state_settle_s': 0.001}\n protocol=build_jv_2d_execution_protocol(stack,Microstructure(),**args)\n result=run_jv_sweep_2d(stack,Microstructure(),**args,jv_2d_protocol=protocol,protocol_mode=\"research_strict\")\n assert len(result.V)==13 and len(result.snapshots)==13\n assert result.metrics.voc_bracketed\n assert len(result.grid_x)==9 and len(result.grid_y)==31\n raw=pickle.dumps(result,protocol=5)\n (out/\"Result.pkl\").write_bytes(raw)\n metadata={\"status\":\"complete_capture_unqualified\",\"elapsed_capture_s\":time.perf_counter()-started,\"result_sha256\":hashlib.sha256(raw).hexdigest(),\"measurement_observer_required\":True}\n (out/\"Capture.json\").write_text(json.dumps(metadata,indent=2)+\"\\n\")\nexcept BaseException as error:\n partial=getattr(error,\"result\",result)\n if partial is not None:\n (out/\"PartialResult.pkl\").write_bytes(pickle.dumps(partial,protocol=5))\n (out/\"Failure.json\").write_text(json.dumps({\"status\":\"failed\",\"error\":str(error),\"elapsed_s\":time.perf_counter()-started,\"traceback\":traceback.format_exc()},indent=2)+\"\\n\")\n raise\n" + ], + "command_code_sha256": "365f7f4a6fe834a2b46990708c1eaa427d99679f2bd7ed4bf823ac0baa926a53", + "planned_output_directory": "/Users/bytedance/Library/Mobile Documents/com~apple~CloudDocs/projects/solarlab/results/RefactorPerformance/Spatial2DStageA/Nx8/Old/RepeatV1", + "status": "statically_checked_not_executed", + "qualification": "Capture recipe only; required independent correctness, reference/source/env qualification and complete timing observer must be satisfied before any result becomes a speed denominator", + "stdout_and_stderr": "Supervisor must retain stdout and /usr/bin/time resource stderr in this run directory; no discarded diagnostics", + "prior_validation": { + "command_code_sha256": "365f7f4a6fe834a2b46990708c1eaa427d99679f2bd7ed4bf823ac0baa926a53", + "review_receipt_sha256": "5fddd08bc242cfe92e7da20d8df4f7150a6ef7aa8c7fb51811e1c7a94c0e55d0", + "reviewed_plan_sha256": "b6721abbcc7ed227bd5067d80c53763cc69078b8172600de72dc4b048564f5c6", + "scope": "previous source recipe syntax/direct arguments only; not current modified recipe or execution" + }, + "snapshot_binding": { + "required_receipt": "/Users/bytedance/Intern/SolarLab/outputs/refactor_performance/baseline_snapshot_v1/SnapshotV1.json", + "receipt_sha256": null, + "required_status": "readonly_complete_source_dependency_and_effective_input_verified_before_and_after", + "status": "unmaterialized; direct live checkout execution is not qualifying" + } + }, + { + "id": "Spatial2DStageA/Nx8/OldRepeat2", + "working_directory": "/Users/bytedance/Intern/SolarLab/outputs/refactor_performance/baseline_snapshot_v1/source/perovskite-sim", + "environment": { + "PYTHONDONTWRITEBYTECODE": "1", + "OMP_NUM_THREADS": "1", + "OPENBLAS_NUM_THREADS": "1", + "MKL_NUM_THREADS": "1", + "VECLIB_MAXIMUM_THREADS": "1", + "NUMEXPR_NUM_THREADS": "1", + "BLIS_NUM_THREADS": "1" + }, + "argv": [ + "/usr/bin/time", + "-l", + "/Users/bytedance/Intern/SolarLab/outputs/refactor_performance/baseline_snapshot_v1/environment/bin/python", + "-B", + "-c", + "from pathlib import Path\nimport json,pickle,time,traceback,hashlib\nfrom dataclasses import asdict\nout=Path('/Users/bytedance/Library/Mobile Documents/com~apple~CloudDocs/projects/solarlab/results/RefactorPerformance/Spatial2DStageA/Nx8/Old/RepeatV2')\nout.mkdir(parents=True,exist_ok=False)\nstarted=time.perf_counter()\nresult=None\ntry:\n from dataclasses import replace\n from perovskite_sim.models.config_loader import load_device_from_yaml\n from perovskite_sim.twod.microstructure import Microstructure\n from perovskite_sim.twod.experiments.jv_sweep_2d import build_jv_2d_execution_protocol,run_jv_sweep_2d\n stack=load_device_from_yaml(\"tests/fixtures/configs/twod/nip_MAPbI3_uniform.yaml\")\n stack=replace(stack,layers=tuple(replace(x,params=replace(x.params,D_ion=0.0)) for x in stack.layers))\n args={'lateral_length': 5e-07, 'Nx': 8, 'Ny_per_layer': 10, 'V_max': 1.2, 'V_step': 0.1, 'settle_t': 0.001, 'illuminated': True, 'lateral_bc': 'periodic', 'save_snapshots': True, 'ion_dynamics': 'frozen', 'interface_srh': 'off', 'rtol': 1e-06, 'atol': 1e-08, 'initial_state_settle_s': 0.001}\n protocol=build_jv_2d_execution_protocol(stack,Microstructure(),**args)\n result=run_jv_sweep_2d(stack,Microstructure(),**args,jv_2d_protocol=protocol,protocol_mode=\"research_strict\")\n assert len(result.V)==13 and len(result.snapshots)==13\n assert result.metrics.voc_bracketed\n assert len(result.grid_x)==9 and len(result.grid_y)==31\n raw=pickle.dumps(result,protocol=5)\n (out/\"Result.pkl\").write_bytes(raw)\n metadata={\"status\":\"complete_capture_unqualified\",\"elapsed_capture_s\":time.perf_counter()-started,\"result_sha256\":hashlib.sha256(raw).hexdigest(),\"measurement_observer_required\":True}\n (out/\"Capture.json\").write_text(json.dumps(metadata,indent=2)+\"\\n\")\nexcept BaseException as error:\n partial=getattr(error,\"result\",result)\n if partial is not None:\n (out/\"PartialResult.pkl\").write_bytes(pickle.dumps(partial,protocol=5))\n (out/\"Failure.json\").write_text(json.dumps({\"status\":\"failed\",\"error\":str(error),\"elapsed_s\":time.perf_counter()-started,\"traceback\":traceback.format_exc()},indent=2)+\"\\n\")\n raise\n" + ], + "command_code_sha256": "43b55e5378234220aaef5491245e620628ab1ee4b2b1ef6ff563a1aa927e5510", + "planned_output_directory": "/Users/bytedance/Library/Mobile Documents/com~apple~CloudDocs/projects/solarlab/results/RefactorPerformance/Spatial2DStageA/Nx8/Old/RepeatV2", + "status": "statically_checked_not_executed", + "qualification": "Capture recipe only; required independent correctness, reference/source/env qualification and complete timing observer must be satisfied before any result becomes a speed denominator", + "stdout_and_stderr": "Supervisor must retain stdout and /usr/bin/time resource stderr in this run directory; no discarded diagnostics", + "prior_validation": { + "command_code_sha256": "43b55e5378234220aaef5491245e620628ab1ee4b2b1ef6ff563a1aa927e5510", + "review_receipt_sha256": "5fddd08bc242cfe92e7da20d8df4f7150a6ef7aa8c7fb51811e1c7a94c0e55d0", + "reviewed_plan_sha256": "b6721abbcc7ed227bd5067d80c53763cc69078b8172600de72dc4b048564f5c6", + "scope": "previous source recipe syntax/direct arguments only; not current modified recipe or execution" + }, + "snapshot_binding": { + "required_receipt": "/Users/bytedance/Intern/SolarLab/outputs/refactor_performance/baseline_snapshot_v1/SnapshotV1.json", + "receipt_sha256": null, + "required_status": "readonly_complete_source_dependency_and_effective_input_verified_before_and_after", + "status": "unmaterialized; direct live checkout execution is not qualifying" + } + }, + { + "id": "Spatial2DStageA/Nx8/OldRepeat3", + "working_directory": "/Users/bytedance/Intern/SolarLab/outputs/refactor_performance/baseline_snapshot_v1/source/perovskite-sim", + "environment": { + "PYTHONDONTWRITEBYTECODE": "1", + "OMP_NUM_THREADS": "1", + "OPENBLAS_NUM_THREADS": "1", + "MKL_NUM_THREADS": "1", + "VECLIB_MAXIMUM_THREADS": "1", + "NUMEXPR_NUM_THREADS": "1", + "BLIS_NUM_THREADS": "1" + }, + "argv": [ + "/usr/bin/time", + "-l", + "/Users/bytedance/Intern/SolarLab/outputs/refactor_performance/baseline_snapshot_v1/environment/bin/python", + "-B", + "-c", + "from pathlib import Path\nimport json,pickle,time,traceback,hashlib\nfrom dataclasses import asdict\nout=Path('/Users/bytedance/Library/Mobile Documents/com~apple~CloudDocs/projects/solarlab/results/RefactorPerformance/Spatial2DStageA/Nx8/Old/RepeatV3')\nout.mkdir(parents=True,exist_ok=False)\nstarted=time.perf_counter()\nresult=None\ntry:\n from dataclasses import replace\n from perovskite_sim.models.config_loader import load_device_from_yaml\n from perovskite_sim.twod.microstructure import Microstructure\n from perovskite_sim.twod.experiments.jv_sweep_2d import build_jv_2d_execution_protocol,run_jv_sweep_2d\n stack=load_device_from_yaml(\"tests/fixtures/configs/twod/nip_MAPbI3_uniform.yaml\")\n stack=replace(stack,layers=tuple(replace(x,params=replace(x.params,D_ion=0.0)) for x in stack.layers))\n args={'lateral_length': 5e-07, 'Nx': 8, 'Ny_per_layer': 10, 'V_max': 1.2, 'V_step': 0.1, 'settle_t': 0.001, 'illuminated': True, 'lateral_bc': 'periodic', 'save_snapshots': True, 'ion_dynamics': 'frozen', 'interface_srh': 'off', 'rtol': 1e-06, 'atol': 1e-08, 'initial_state_settle_s': 0.001}\n protocol=build_jv_2d_execution_protocol(stack,Microstructure(),**args)\n result=run_jv_sweep_2d(stack,Microstructure(),**args,jv_2d_protocol=protocol,protocol_mode=\"research_strict\")\n assert len(result.V)==13 and len(result.snapshots)==13\n assert result.metrics.voc_bracketed\n assert len(result.grid_x)==9 and len(result.grid_y)==31\n raw=pickle.dumps(result,protocol=5)\n (out/\"Result.pkl\").write_bytes(raw)\n metadata={\"status\":\"complete_capture_unqualified\",\"elapsed_capture_s\":time.perf_counter()-started,\"result_sha256\":hashlib.sha256(raw).hexdigest(),\"measurement_observer_required\":True}\n (out/\"Capture.json\").write_text(json.dumps(metadata,indent=2)+\"\\n\")\nexcept BaseException as error:\n partial=getattr(error,\"result\",result)\n if partial is not None:\n (out/\"PartialResult.pkl\").write_bytes(pickle.dumps(partial,protocol=5))\n (out/\"Failure.json\").write_text(json.dumps({\"status\":\"failed\",\"error\":str(error),\"elapsed_s\":time.perf_counter()-started,\"traceback\":traceback.format_exc()},indent=2)+\"\\n\")\n raise\n" + ], + "command_code_sha256": "0984a40190430439423034994de55f0b49158f2185c2c6cd434e96a58c26dc98", + "planned_output_directory": "/Users/bytedance/Library/Mobile Documents/com~apple~CloudDocs/projects/solarlab/results/RefactorPerformance/Spatial2DStageA/Nx8/Old/RepeatV3", + "status": "statically_checked_not_executed", + "qualification": "Capture recipe only; required independent correctness, reference/source/env qualification and complete timing observer must be satisfied before any result becomes a speed denominator", + "stdout_and_stderr": "Supervisor must retain stdout and /usr/bin/time resource stderr in this run directory; no discarded diagnostics", + "prior_validation": { + "command_code_sha256": "0984a40190430439423034994de55f0b49158f2185c2c6cd434e96a58c26dc98", + "review_receipt_sha256": "5fddd08bc242cfe92e7da20d8df4f7150a6ef7aa8c7fb51811e1c7a94c0e55d0", + "reviewed_plan_sha256": "b6721abbcc7ed227bd5067d80c53763cc69078b8172600de72dc4b048564f5c6", + "scope": "previous source recipe syntax/direct arguments only; not current modified recipe or execution" + }, + "snapshot_binding": { + "required_receipt": "/Users/bytedance/Intern/SolarLab/outputs/refactor_performance/baseline_snapshot_v1/SnapshotV1.json", + "receipt_sha256": null, + "required_status": "readonly_complete_source_dependency_and_effective_input_verified_before_and_after", + "status": "unmaterialized; direct live checkout execution is not qualifying" + } + }, + { + "id": "Spatial2DStageA/Nx16/OldRepeat1", + "working_directory": "/Users/bytedance/Intern/SolarLab/outputs/refactor_performance/baseline_snapshot_v1/source/perovskite-sim", + "environment": { + "PYTHONDONTWRITEBYTECODE": "1", + "OMP_NUM_THREADS": "1", + "OPENBLAS_NUM_THREADS": "1", + "MKL_NUM_THREADS": "1", + "VECLIB_MAXIMUM_THREADS": "1", + "NUMEXPR_NUM_THREADS": "1", + "BLIS_NUM_THREADS": "1" + }, + "argv": [ + "/usr/bin/time", + "-l", + "/Users/bytedance/Intern/SolarLab/outputs/refactor_performance/baseline_snapshot_v1/environment/bin/python", + "-B", + "-c", + "from pathlib import Path\nimport json,pickle,time,traceback,hashlib\nfrom dataclasses import asdict\nout=Path('/Users/bytedance/Library/Mobile Documents/com~apple~CloudDocs/projects/solarlab/results/RefactorPerformance/Spatial2DStageA/Nx16/Old/RepeatV1')\nout.mkdir(parents=True,exist_ok=False)\nstarted=time.perf_counter()\nresult=None\ntry:\n from dataclasses import replace\n from perovskite_sim.models.config_loader import load_device_from_yaml\n from perovskite_sim.twod.microstructure import Microstructure\n from perovskite_sim.twod.experiments.jv_sweep_2d import build_jv_2d_execution_protocol,run_jv_sweep_2d\n stack=load_device_from_yaml(\"tests/fixtures/configs/twod/nip_MAPbI3_uniform.yaml\")\n stack=replace(stack,layers=tuple(replace(x,params=replace(x.params,D_ion=0.0)) for x in stack.layers))\n args={'lateral_length': 5e-07, 'Nx': 16, 'Ny_per_layer': 10, 'V_max': 1.2, 'V_step': 0.1, 'settle_t': 0.001, 'illuminated': True, 'lateral_bc': 'periodic', 'save_snapshots': True, 'ion_dynamics': 'frozen', 'interface_srh': 'off', 'rtol': 1e-06, 'atol': 1e-08, 'initial_state_settle_s': 0.001}\n protocol=build_jv_2d_execution_protocol(stack,Microstructure(),**args)\n result=run_jv_sweep_2d(stack,Microstructure(),**args,jv_2d_protocol=protocol,protocol_mode=\"research_strict\")\n assert len(result.V)==13 and len(result.snapshots)==13\n assert result.metrics.voc_bracketed\n assert len(result.grid_x)==17 and len(result.grid_y)==31\n raw=pickle.dumps(result,protocol=5)\n (out/\"Result.pkl\").write_bytes(raw)\n metadata={\"status\":\"complete_capture_unqualified\",\"elapsed_capture_s\":time.perf_counter()-started,\"result_sha256\":hashlib.sha256(raw).hexdigest(),\"measurement_observer_required\":True}\n (out/\"Capture.json\").write_text(json.dumps(metadata,indent=2)+\"\\n\")\nexcept BaseException as error:\n partial=getattr(error,\"result\",result)\n if partial is not None:\n (out/\"PartialResult.pkl\").write_bytes(pickle.dumps(partial,protocol=5))\n (out/\"Failure.json\").write_text(json.dumps({\"status\":\"failed\",\"error\":str(error),\"elapsed_s\":time.perf_counter()-started,\"traceback\":traceback.format_exc()},indent=2)+\"\\n\")\n raise\n" + ], + "command_code_sha256": "9824b744e791c422546403fe779659dc4bf463ce4e583268f6a4390966f70553", + "planned_output_directory": "/Users/bytedance/Library/Mobile Documents/com~apple~CloudDocs/projects/solarlab/results/RefactorPerformance/Spatial2DStageA/Nx16/Old/RepeatV1", + "status": "statically_checked_not_executed", + "qualification": "Capture recipe only; required independent correctness, reference/source/env qualification and complete timing observer must be satisfied before any result becomes a speed denominator", + "stdout_and_stderr": "Supervisor must retain stdout and /usr/bin/time resource stderr in this run directory; no discarded diagnostics", + "prior_validation": { + "command_code_sha256": "9824b744e791c422546403fe779659dc4bf463ce4e583268f6a4390966f70553", + "review_receipt_sha256": "5fddd08bc242cfe92e7da20d8df4f7150a6ef7aa8c7fb51811e1c7a94c0e55d0", + "reviewed_plan_sha256": "b6721abbcc7ed227bd5067d80c53763cc69078b8172600de72dc4b048564f5c6", + "scope": "previous source recipe syntax/direct arguments only; not current modified recipe or execution" + }, + "snapshot_binding": { + "required_receipt": "/Users/bytedance/Intern/SolarLab/outputs/refactor_performance/baseline_snapshot_v1/SnapshotV1.json", + "receipt_sha256": null, + "required_status": "readonly_complete_source_dependency_and_effective_input_verified_before_and_after", + "status": "unmaterialized; direct live checkout execution is not qualifying" + } + }, + { + "id": "Spatial2DStageA/Nx16/OldRepeat2", + "working_directory": "/Users/bytedance/Intern/SolarLab/outputs/refactor_performance/baseline_snapshot_v1/source/perovskite-sim", + "environment": { + "PYTHONDONTWRITEBYTECODE": "1", + "OMP_NUM_THREADS": "1", + "OPENBLAS_NUM_THREADS": "1", + "MKL_NUM_THREADS": "1", + "VECLIB_MAXIMUM_THREADS": "1", + "NUMEXPR_NUM_THREADS": "1", + "BLIS_NUM_THREADS": "1" + }, + "argv": [ + "/usr/bin/time", + "-l", + "/Users/bytedance/Intern/SolarLab/outputs/refactor_performance/baseline_snapshot_v1/environment/bin/python", + "-B", + "-c", + "from pathlib import Path\nimport json,pickle,time,traceback,hashlib\nfrom dataclasses import asdict\nout=Path('/Users/bytedance/Library/Mobile Documents/com~apple~CloudDocs/projects/solarlab/results/RefactorPerformance/Spatial2DStageA/Nx16/Old/RepeatV2')\nout.mkdir(parents=True,exist_ok=False)\nstarted=time.perf_counter()\nresult=None\ntry:\n from dataclasses import replace\n from perovskite_sim.models.config_loader import load_device_from_yaml\n from perovskite_sim.twod.microstructure import Microstructure\n from perovskite_sim.twod.experiments.jv_sweep_2d import build_jv_2d_execution_protocol,run_jv_sweep_2d\n stack=load_device_from_yaml(\"tests/fixtures/configs/twod/nip_MAPbI3_uniform.yaml\")\n stack=replace(stack,layers=tuple(replace(x,params=replace(x.params,D_ion=0.0)) for x in stack.layers))\n args={'lateral_length': 5e-07, 'Nx': 16, 'Ny_per_layer': 10, 'V_max': 1.2, 'V_step': 0.1, 'settle_t': 0.001, 'illuminated': True, 'lateral_bc': 'periodic', 'save_snapshots': True, 'ion_dynamics': 'frozen', 'interface_srh': 'off', 'rtol': 1e-06, 'atol': 1e-08, 'initial_state_settle_s': 0.001}\n protocol=build_jv_2d_execution_protocol(stack,Microstructure(),**args)\n result=run_jv_sweep_2d(stack,Microstructure(),**args,jv_2d_protocol=protocol,protocol_mode=\"research_strict\")\n assert len(result.V)==13 and len(result.snapshots)==13\n assert result.metrics.voc_bracketed\n assert len(result.grid_x)==17 and len(result.grid_y)==31\n raw=pickle.dumps(result,protocol=5)\n (out/\"Result.pkl\").write_bytes(raw)\n metadata={\"status\":\"complete_capture_unqualified\",\"elapsed_capture_s\":time.perf_counter()-started,\"result_sha256\":hashlib.sha256(raw).hexdigest(),\"measurement_observer_required\":True}\n (out/\"Capture.json\").write_text(json.dumps(metadata,indent=2)+\"\\n\")\nexcept BaseException as error:\n partial=getattr(error,\"result\",result)\n if partial is not None:\n (out/\"PartialResult.pkl\").write_bytes(pickle.dumps(partial,protocol=5))\n (out/\"Failure.json\").write_text(json.dumps({\"status\":\"failed\",\"error\":str(error),\"elapsed_s\":time.perf_counter()-started,\"traceback\":traceback.format_exc()},indent=2)+\"\\n\")\n raise\n" + ], + "command_code_sha256": "2a1bac3dc49292dca6e5ce01e3763158313f270e772b8402c8f383db161a382c", + "planned_output_directory": "/Users/bytedance/Library/Mobile Documents/com~apple~CloudDocs/projects/solarlab/results/RefactorPerformance/Spatial2DStageA/Nx16/Old/RepeatV2", + "status": "statically_checked_not_executed", + "qualification": "Capture recipe only; required independent correctness, reference/source/env qualification and complete timing observer must be satisfied before any result becomes a speed denominator", + "stdout_and_stderr": "Supervisor must retain stdout and /usr/bin/time resource stderr in this run directory; no discarded diagnostics", + "prior_validation": { + "command_code_sha256": "2a1bac3dc49292dca6e5ce01e3763158313f270e772b8402c8f383db161a382c", + "review_receipt_sha256": "5fddd08bc242cfe92e7da20d8df4f7150a6ef7aa8c7fb51811e1c7a94c0e55d0", + "reviewed_plan_sha256": "b6721abbcc7ed227bd5067d80c53763cc69078b8172600de72dc4b048564f5c6", + "scope": "previous source recipe syntax/direct arguments only; not current modified recipe or execution" + }, + "snapshot_binding": { + "required_receipt": "/Users/bytedance/Intern/SolarLab/outputs/refactor_performance/baseline_snapshot_v1/SnapshotV1.json", + "receipt_sha256": null, + "required_status": "readonly_complete_source_dependency_and_effective_input_verified_before_and_after", + "status": "unmaterialized; direct live checkout execution is not qualifying" + } + }, + { + "id": "Spatial2DStageA/Nx16/OldRepeat3", + "working_directory": "/Users/bytedance/Intern/SolarLab/outputs/refactor_performance/baseline_snapshot_v1/source/perovskite-sim", + "environment": { + "PYTHONDONTWRITEBYTECODE": "1", + "OMP_NUM_THREADS": "1", + "OPENBLAS_NUM_THREADS": "1", + "MKL_NUM_THREADS": "1", + "VECLIB_MAXIMUM_THREADS": "1", + "NUMEXPR_NUM_THREADS": "1", + "BLIS_NUM_THREADS": "1" + }, + "argv": [ + "/usr/bin/time", + "-l", + "/Users/bytedance/Intern/SolarLab/outputs/refactor_performance/baseline_snapshot_v1/environment/bin/python", + "-B", + "-c", + "from pathlib import Path\nimport json,pickle,time,traceback,hashlib\nfrom dataclasses import asdict\nout=Path('/Users/bytedance/Library/Mobile Documents/com~apple~CloudDocs/projects/solarlab/results/RefactorPerformance/Spatial2DStageA/Nx16/Old/RepeatV3')\nout.mkdir(parents=True,exist_ok=False)\nstarted=time.perf_counter()\nresult=None\ntry:\n from dataclasses import replace\n from perovskite_sim.models.config_loader import load_device_from_yaml\n from perovskite_sim.twod.microstructure import Microstructure\n from perovskite_sim.twod.experiments.jv_sweep_2d import build_jv_2d_execution_protocol,run_jv_sweep_2d\n stack=load_device_from_yaml(\"tests/fixtures/configs/twod/nip_MAPbI3_uniform.yaml\")\n stack=replace(stack,layers=tuple(replace(x,params=replace(x.params,D_ion=0.0)) for x in stack.layers))\n args={'lateral_length': 5e-07, 'Nx': 16, 'Ny_per_layer': 10, 'V_max': 1.2, 'V_step': 0.1, 'settle_t': 0.001, 'illuminated': True, 'lateral_bc': 'periodic', 'save_snapshots': True, 'ion_dynamics': 'frozen', 'interface_srh': 'off', 'rtol': 1e-06, 'atol': 1e-08, 'initial_state_settle_s': 0.001}\n protocol=build_jv_2d_execution_protocol(stack,Microstructure(),**args)\n result=run_jv_sweep_2d(stack,Microstructure(),**args,jv_2d_protocol=protocol,protocol_mode=\"research_strict\")\n assert len(result.V)==13 and len(result.snapshots)==13\n assert result.metrics.voc_bracketed\n assert len(result.grid_x)==17 and len(result.grid_y)==31\n raw=pickle.dumps(result,protocol=5)\n (out/\"Result.pkl\").write_bytes(raw)\n metadata={\"status\":\"complete_capture_unqualified\",\"elapsed_capture_s\":time.perf_counter()-started,\"result_sha256\":hashlib.sha256(raw).hexdigest(),\"measurement_observer_required\":True}\n (out/\"Capture.json\").write_text(json.dumps(metadata,indent=2)+\"\\n\")\nexcept BaseException as error:\n partial=getattr(error,\"result\",result)\n if partial is not None:\n (out/\"PartialResult.pkl\").write_bytes(pickle.dumps(partial,protocol=5))\n (out/\"Failure.json\").write_text(json.dumps({\"status\":\"failed\",\"error\":str(error),\"elapsed_s\":time.perf_counter()-started,\"traceback\":traceback.format_exc()},indent=2)+\"\\n\")\n raise\n" + ], + "command_code_sha256": "25fffb0dd112a3a10b709ba8130093deb6c41efacd6316f91485b2386bb88ecb", + "planned_output_directory": "/Users/bytedance/Library/Mobile Documents/com~apple~CloudDocs/projects/solarlab/results/RefactorPerformance/Spatial2DStageA/Nx16/Old/RepeatV3", + "status": "statically_checked_not_executed", + "qualification": "Capture recipe only; required independent correctness, reference/source/env qualification and complete timing observer must be satisfied before any result becomes a speed denominator", + "stdout_and_stderr": "Supervisor must retain stdout and /usr/bin/time resource stderr in this run directory; no discarded diagnostics", + "prior_validation": { + "command_code_sha256": "25fffb0dd112a3a10b709ba8130093deb6c41efacd6316f91485b2386bb88ecb", + "review_receipt_sha256": "5fddd08bc242cfe92e7da20d8df4f7150a6ef7aa8c7fb51811e1c7a94c0e55d0", + "reviewed_plan_sha256": "b6721abbcc7ed227bd5067d80c53763cc69078b8172600de72dc4b048564f5c6", + "scope": "previous source recipe syntax/direct arguments only; not current modified recipe or execution" + }, + "snapshot_binding": { + "required_receipt": "/Users/bytedance/Intern/SolarLab/outputs/refactor_performance/baseline_snapshot_v1/SnapshotV1.json", + "receipt_sha256": null, + "required_status": "readonly_complete_source_dependency_and_effective_input_verified_before_and_after", + "status": "unmaterialized; direct live checkout execution is not qualifying" + } + }, + { + "id": "AC60/ReferencePacket/Preparation", + "working_directory": "/Users/bytedance/Intern/SolarLab/outputs/refactor_performance/baseline_snapshot_v1/source/perovskite-sim", + "environment": { + "PYTHONDONTWRITEBYTECODE": "1", + "OMP_NUM_THREADS": "1", + "OPENBLAS_NUM_THREADS": "1", + "MKL_NUM_THREADS": "1", + "VECLIB_MAXIMUM_THREADS": "1", + "NUMEXPR_NUM_THREADS": "1", + "BLIS_NUM_THREADS": "1" + }, + "argv": [ + "/usr/bin/time", + "-l", + "/Users/bytedance/Intern/SolarLab/outputs/refactor_performance/baseline_snapshot_v1/environment/bin/python", + "-B", + "-c", + "from pathlib import Path\nimport json,pickle,time,traceback,hashlib\nfrom dataclasses import asdict\nout=Path('/Users/bytedance/Library/Mobile Documents/com~apple~CloudDocs/projects/solarlab/results/RefactorPerformance/AC60/ReferencePacket/PreparationV1/RecordV1')\nout.mkdir(parents=True,exist_ok=False)\nstarted=time.perf_counter()\nresult=None\ntry:\n from perovskite_sim.models.config_loader import load_device_from_yaml\n from perovskite_sim.experiments.jv_sweep import build_electrical_grid\n from perovskite_sim.experiments.ion_aware_dc import build_ion_aware_dc_protocol,solve_ion_aware_dc\n from perovskite_sim.experiments.ion_aware_impedance import build_ion_aware_impedance_protocol,run_ion_aware_impedance\n import numpy as np\n stack=load_device_from_yaml(\"tests/fixtures/configs/ionmonger_benchmark.yaml\")\n x=build_electrical_grid(stack,60)\n dc=solve_ion_aware_dc(x,stack,build_ion_aware_dc_protocol(stack,V_dc=0.9,illuminated=True))\n frequencies=np.array([1e-06, 1.3141473626117555e-06, 1.726983290659436e-06, 2.2695105366946684e-06, 2.982471286216888e-06, 3.919406774847221e-06, 5.150678076168122e-06, 6.768750009458541e-06, 8.895134973108237e-06, 1.1689518164985777e-05, 1.5361749466718298e-05, 2.0187602546790388e-05, 2.6529484644318946e-05, 3.4863652276780875e-05, 4.581597669054491e-05, 6.020894493336126e-05, 7.912342618981327e-05, 0.000103979841848149, 0.00013664483492953258, 0.00017957144943716409, 0.00023598334667821938, 0.00031011689265747787, 0.0004075392965871778, 0.0005355666917706902, 0.0007038135554931555, 0.0009249147277217336, 0.0012154742500762872, 0.001597312280060254, 0.0020991037201085546, 0.002758531617629184, 0.003625117049988535, 0.004763938010401341, 0.006260516572014822, 0.008227241341700473, 0.010811807510766078, 0.014208308325339238, 0.018671810912919206, 0.024537511066398166, 0.03224590545296398, 0.04237587160604064, 0.05568813990945267, 0.07318242219076182, 0.09617248711152965, 0.1263848202934297, 0.16608827826277167, 0.21826447283974873, 0.2868316813342015, 0.37693909753883637, 0.495353520895917, 0.6509675230458177, 0.8554672535565685, 1.1242100350620863, 1.4773776525985127, 1.9414919457438817, 2.5514065200312874, 3.35292414924956, 4.406236427773573, 5.790443980602483, 7.609496685459884, 10.0],dtype=float)\n protocol=build_ion_aware_impedance_protocol(dc,frequencies,delta_V=0.01)\n fd=run_ion_aware_impedance(x,stack,protocol,dc_state=dc,require_numerical_certificate=True,require_contact_certificate=True,require_frequency_window_certificate=True)\n result={\"dc\":dc,\"frequency_reference\":fd}\n assert result[\"frequency_reference\"].certificate.certified\n raw=pickle.dumps(result,protocol=5)\n (out/\"Result.pkl\").write_bytes(raw)\n metadata={\"status\":\"complete_capture_unqualified\",\"elapsed_capture_s\":time.perf_counter()-started,\"result_sha256\":hashlib.sha256(raw).hexdigest(),\"measurement_observer_required\":True}\n (out/\"Capture.json\").write_text(json.dumps(metadata,indent=2)+\"\\n\")\nexcept BaseException as error:\n partial=getattr(error,\"result\",result)\n if partial is not None:\n (out/\"PartialResult.pkl\").write_bytes(pickle.dumps(partial,protocol=5))\n (out/\"Failure.json\").write_text(json.dumps({\"status\":\"failed\",\"error\":str(error),\"elapsed_s\":time.perf_counter()-started,\"traceback\":traceback.format_exc()},indent=2)+\"\\n\")\n raise\n" + ], + "command_code_sha256": "c74406f6b1bacb4bc066c0dfa32cdc376335fdbf39a45a4ae83961181a288ce1", + "planned_output_directory": "/Users/bytedance/Library/Mobile Documents/com~apple~CloudDocs/projects/solarlab/results/RefactorPerformance/AC60/ReferencePacket/PreparationV1/RecordV1", + "status": "statically_checked_not_executed", + "qualification": "Capture recipe only; required independent correctness, reference/source/env qualification and complete timing observer must be satisfied before any result becomes a speed denominator", + "stdout_and_stderr": "Supervisor must retain stdout and /usr/bin/time resource stderr in this run directory; no discarded diagnostics", + "prior_validation": { + "command_code_sha256": "c74406f6b1bacb4bc066c0dfa32cdc376335fdbf39a45a4ae83961181a288ce1", + "review_receipt_sha256": "5fddd08bc242cfe92e7da20d8df4f7150a6ef7aa8c7fb51811e1c7a94c0e55d0", + "reviewed_plan_sha256": "b6721abbcc7ed227bd5067d80c53763cc69078b8172600de72dc4b048564f5c6", + "scope": "previous source recipe syntax/direct arguments only; not current modified recipe or execution" + }, + "snapshot_binding": { + "required_receipt": "/Users/bytedance/Intern/SolarLab/outputs/refactor_performance/baseline_snapshot_v1/SnapshotV1.json", + "receipt_sha256": null, + "required_status": "readonly_complete_source_dependency_and_effective_input_verified_before_and_after", + "status": "unmaterialized; direct live checkout execution is not qualifying" + } + }, + { + "id": "AC60/TimeLockIn/OldRepeat1", + "working_directory": "/Users/bytedance/Intern/SolarLab/outputs/refactor_performance/baseline_snapshot_v1/source/perovskite-sim", + "environment": { + "PYTHONDONTWRITEBYTECODE": "1", + "OMP_NUM_THREADS": "1", + "OPENBLAS_NUM_THREADS": "1", + "MKL_NUM_THREADS": "1", + "VECLIB_MAXIMUM_THREADS": "1", + "NUMEXPR_NUM_THREADS": "1", + "BLIS_NUM_THREADS": "1" + }, + "argv": [ + "/usr/bin/time", + "-l", + "/Users/bytedance/Intern/SolarLab/outputs/refactor_performance/baseline_snapshot_v1/environment/bin/python", + "-B", + "-c", + "from pathlib import Path\nimport json,pickle,time,traceback,hashlib\nfrom dataclasses import asdict\nout=Path('/Users/bytedance/Library/Mobile Documents/com~apple~CloudDocs/projects/solarlab/results/RefactorPerformance/AC60/TimeLockIn/Old/RepeatV1')\nout.mkdir(parents=True,exist_ok=False)\nstarted=time.perf_counter()\nresult=None\ntry:\n from perovskite_sim.experiments.ion_aware_impedance_lockin import build_ion_aware_transient_lockin_protocol,run_ion_aware_transient_lockin_crosscheck\n packet=pickle.loads(Path('/Users/bytedance/Library/Mobile Documents/com~apple~CloudDocs/projects/solarlab/results/RefactorPerformance/AC60/ReferencePacket/PreparationV1/RecordV1/Result.pkl').read_bytes())\n dc,fd=packet[\"dc\"],packet[\"frequency_reference\"]\n protocol=build_ion_aware_transient_lockin_protocol(fd,fd.frequencies,cycles=6,extraction_cycles=2,points_per_cycle_levels=(40,80,160),solver_steps_per_sample_interval=5,rtol=1e-6,carrier_atol_fraction=1e-12,ion_atol_fraction=1e-12,interface_atol_fraction=1e-12,minimum_atol=1e-6,max_nfev_per_solve=500000)\n result=run_ion_aware_transient_lockin_crosscheck(fd,protocol,dc_state=dc,require_numerical_certificate=True,require_contact_certificate=True,require_frequency_window_certificate=True)\n assert result.certificate.certified\n assert len(result.resolution_evidence)==3\n assert all(len(x.frequency_evidence)==60 for x in result.resolution_evidence)\n import math\n finest=result.resolution_evidence[-1]\n measured=[]\n for expected,entry in zip(fd.frequencies,finest.frequency_evidence,strict=True):\n assert float(entry.frequency_Hz)==float(expected)\n z=complex(entry.impedance_ohm_m2)\n assert math.isfinite(z.real) and math.isfinite(z.imag) and z!=0\n y=1/z\n assert math.isfinite(y.real) and math.isfinite(y.imag)\n measured.append({\"frequency_Hz\":float(entry.frequency_Hz),\"Z_ohm_m2\":[z.real,z.imag],\"Y_S_m2\":[y.real,y.imag]})\n (out/\"MeasuredTimeLockIn.json\").write_text(json.dumps({\"source\":\"resolution_evidence[-1].frequency_evidence[*].impedance_ohm_m2\",\"origin\":\"full_nonlinear_MoL_time_measurement\",\"points_per_cycle\":finest.points_per_cycle,\"values\":measured,\"time_face_history_export\":\"required_hook_missing; embedded frequency_domain is oracle only\"},indent=2,allow_nan=False)+\"\\n\")\n raw=pickle.dumps(result,protocol=5)\n (out/\"Result.pkl\").write_bytes(raw)\n metadata={\"status\":\"complete_capture_unqualified\",\"elapsed_capture_s\":time.perf_counter()-started,\"result_sha256\":hashlib.sha256(raw).hexdigest(),\"measurement_observer_required\":True}\n (out/\"Capture.json\").write_text(json.dumps(metadata,indent=2)+\"\\n\")\nexcept BaseException as error:\n partial=getattr(error,\"result\",result)\n if partial is not None:\n (out/\"PartialResult.pkl\").write_bytes(pickle.dumps(partial,protocol=5))\n (out/\"Failure.json\").write_text(json.dumps({\"status\":\"failed\",\"error\":str(error),\"elapsed_s\":time.perf_counter()-started,\"traceback\":traceback.format_exc()},indent=2)+\"\\n\")\n raise\n" + ], + "command_code_sha256": "64fb9a11fa3a0776677dfee887b709c38043bc3c8945d788ed511b15a70c317b", + "planned_output_directory": "/Users/bytedance/Library/Mobile Documents/com~apple~CloudDocs/projects/solarlab/results/RefactorPerformance/AC60/TimeLockIn/Old/RepeatV1", + "status": "statically_checked_not_executed", + "qualification": "Capture recipe only; required independent correctness, reference/source/env qualification and complete timing observer must be satisfied before any result becomes a speed denominator", + "stdout_and_stderr": "Supervisor must retain stdout and /usr/bin/time resource stderr in this run directory; no discarded diagnostics", + "prior_validation": { + "command_code_sha256": "76c059475d32298c88af7a6bb91190b07b2ddb242b8e559ad0efa39d270a6f69", + "review_receipt_sha256": "5fddd08bc242cfe92e7da20d8df4f7150a6ef7aa8c7fb51811e1c7a94c0e55d0", + "reviewed_plan_sha256": "b6721abbcc7ed227bd5067d80c53763cc69078b8172600de72dc4b048564f5c6", + "scope": "previous source recipe syntax/direct arguments only; not current modified recipe or execution" + }, + "snapshot_binding": { + "required_receipt": "/Users/bytedance/Intern/SolarLab/outputs/refactor_performance/baseline_snapshot_v1/SnapshotV1.json", + "receipt_sha256": null, + "required_status": "readonly_complete_source_dependency_and_effective_input_verified_before_and_after", + "status": "unmaterialized; direct live checkout execution is not qualifying" + } + }, + { + "id": "AC60/TimeLockIn/OldRepeat2", + "working_directory": "/Users/bytedance/Intern/SolarLab/outputs/refactor_performance/baseline_snapshot_v1/source/perovskite-sim", + "environment": { + "PYTHONDONTWRITEBYTECODE": "1", + "OMP_NUM_THREADS": "1", + "OPENBLAS_NUM_THREADS": "1", + "MKL_NUM_THREADS": "1", + "VECLIB_MAXIMUM_THREADS": "1", + "NUMEXPR_NUM_THREADS": "1", + "BLIS_NUM_THREADS": "1" + }, + "argv": [ + "/usr/bin/time", + "-l", + "/Users/bytedance/Intern/SolarLab/outputs/refactor_performance/baseline_snapshot_v1/environment/bin/python", + "-B", + "-c", + "from pathlib import Path\nimport json,pickle,time,traceback,hashlib\nfrom dataclasses import asdict\nout=Path('/Users/bytedance/Library/Mobile Documents/com~apple~CloudDocs/projects/solarlab/results/RefactorPerformance/AC60/TimeLockIn/Old/RepeatV2')\nout.mkdir(parents=True,exist_ok=False)\nstarted=time.perf_counter()\nresult=None\ntry:\n from perovskite_sim.experiments.ion_aware_impedance_lockin import build_ion_aware_transient_lockin_protocol,run_ion_aware_transient_lockin_crosscheck\n packet=pickle.loads(Path('/Users/bytedance/Library/Mobile Documents/com~apple~CloudDocs/projects/solarlab/results/RefactorPerformance/AC60/ReferencePacket/PreparationV1/RecordV1/Result.pkl').read_bytes())\n dc,fd=packet[\"dc\"],packet[\"frequency_reference\"]\n protocol=build_ion_aware_transient_lockin_protocol(fd,fd.frequencies,cycles=6,extraction_cycles=2,points_per_cycle_levels=(40,80,160),solver_steps_per_sample_interval=5,rtol=1e-6,carrier_atol_fraction=1e-12,ion_atol_fraction=1e-12,interface_atol_fraction=1e-12,minimum_atol=1e-6,max_nfev_per_solve=500000)\n result=run_ion_aware_transient_lockin_crosscheck(fd,protocol,dc_state=dc,require_numerical_certificate=True,require_contact_certificate=True,require_frequency_window_certificate=True)\n assert result.certificate.certified\n assert len(result.resolution_evidence)==3\n assert all(len(x.frequency_evidence)==60 for x in result.resolution_evidence)\n import math\n finest=result.resolution_evidence[-1]\n measured=[]\n for expected,entry in zip(fd.frequencies,finest.frequency_evidence,strict=True):\n assert float(entry.frequency_Hz)==float(expected)\n z=complex(entry.impedance_ohm_m2)\n assert math.isfinite(z.real) and math.isfinite(z.imag) and z!=0\n y=1/z\n assert math.isfinite(y.real) and math.isfinite(y.imag)\n measured.append({\"frequency_Hz\":float(entry.frequency_Hz),\"Z_ohm_m2\":[z.real,z.imag],\"Y_S_m2\":[y.real,y.imag]})\n (out/\"MeasuredTimeLockIn.json\").write_text(json.dumps({\"source\":\"resolution_evidence[-1].frequency_evidence[*].impedance_ohm_m2\",\"origin\":\"full_nonlinear_MoL_time_measurement\",\"points_per_cycle\":finest.points_per_cycle,\"values\":measured,\"time_face_history_export\":\"required_hook_missing; embedded frequency_domain is oracle only\"},indent=2,allow_nan=False)+\"\\n\")\n raw=pickle.dumps(result,protocol=5)\n (out/\"Result.pkl\").write_bytes(raw)\n metadata={\"status\":\"complete_capture_unqualified\",\"elapsed_capture_s\":time.perf_counter()-started,\"result_sha256\":hashlib.sha256(raw).hexdigest(),\"measurement_observer_required\":True}\n (out/\"Capture.json\").write_text(json.dumps(metadata,indent=2)+\"\\n\")\nexcept BaseException as error:\n partial=getattr(error,\"result\",result)\n if partial is not None:\n (out/\"PartialResult.pkl\").write_bytes(pickle.dumps(partial,protocol=5))\n (out/\"Failure.json\").write_text(json.dumps({\"status\":\"failed\",\"error\":str(error),\"elapsed_s\":time.perf_counter()-started,\"traceback\":traceback.format_exc()},indent=2)+\"\\n\")\n raise\n" + ], + "command_code_sha256": "2f48c03dc5062dfc24e8e5eaa8e28fbee75c64f4b31812df8f47cfafaf0a8a32", + "planned_output_directory": "/Users/bytedance/Library/Mobile Documents/com~apple~CloudDocs/projects/solarlab/results/RefactorPerformance/AC60/TimeLockIn/Old/RepeatV2", + "status": "statically_checked_not_executed", + "qualification": "Capture recipe only; required independent correctness, reference/source/env qualification and complete timing observer must be satisfied before any result becomes a speed denominator", + "stdout_and_stderr": "Supervisor must retain stdout and /usr/bin/time resource stderr in this run directory; no discarded diagnostics", + "prior_validation": { + "command_code_sha256": "95d8fa3e7cb766b5c7448095f3632cc784b3d81f2e7b0e418b14a3c22d82ae35", + "review_receipt_sha256": "5fddd08bc242cfe92e7da20d8df4f7150a6ef7aa8c7fb51811e1c7a94c0e55d0", + "reviewed_plan_sha256": "b6721abbcc7ed227bd5067d80c53763cc69078b8172600de72dc4b048564f5c6", + "scope": "previous source recipe syntax/direct arguments only; not current modified recipe or execution" + }, + "snapshot_binding": { + "required_receipt": "/Users/bytedance/Intern/SolarLab/outputs/refactor_performance/baseline_snapshot_v1/SnapshotV1.json", + "receipt_sha256": null, + "required_status": "readonly_complete_source_dependency_and_effective_input_verified_before_and_after", + "status": "unmaterialized; direct live checkout execution is not qualifying" + } + }, + { + "id": "AC60/TimeLockIn/OldRepeat3", + "working_directory": "/Users/bytedance/Intern/SolarLab/outputs/refactor_performance/baseline_snapshot_v1/source/perovskite-sim", + "environment": { + "PYTHONDONTWRITEBYTECODE": "1", + "OMP_NUM_THREADS": "1", + "OPENBLAS_NUM_THREADS": "1", + "MKL_NUM_THREADS": "1", + "VECLIB_MAXIMUM_THREADS": "1", + "NUMEXPR_NUM_THREADS": "1", + "BLIS_NUM_THREADS": "1" + }, + "argv": [ + "/usr/bin/time", + "-l", + "/Users/bytedance/Intern/SolarLab/outputs/refactor_performance/baseline_snapshot_v1/environment/bin/python", + "-B", + "-c", + "from pathlib import Path\nimport json,pickle,time,traceback,hashlib\nfrom dataclasses import asdict\nout=Path('/Users/bytedance/Library/Mobile Documents/com~apple~CloudDocs/projects/solarlab/results/RefactorPerformance/AC60/TimeLockIn/Old/RepeatV3')\nout.mkdir(parents=True,exist_ok=False)\nstarted=time.perf_counter()\nresult=None\ntry:\n from perovskite_sim.experiments.ion_aware_impedance_lockin import build_ion_aware_transient_lockin_protocol,run_ion_aware_transient_lockin_crosscheck\n packet=pickle.loads(Path('/Users/bytedance/Library/Mobile Documents/com~apple~CloudDocs/projects/solarlab/results/RefactorPerformance/AC60/ReferencePacket/PreparationV1/RecordV1/Result.pkl').read_bytes())\n dc,fd=packet[\"dc\"],packet[\"frequency_reference\"]\n protocol=build_ion_aware_transient_lockin_protocol(fd,fd.frequencies,cycles=6,extraction_cycles=2,points_per_cycle_levels=(40,80,160),solver_steps_per_sample_interval=5,rtol=1e-6,carrier_atol_fraction=1e-12,ion_atol_fraction=1e-12,interface_atol_fraction=1e-12,minimum_atol=1e-6,max_nfev_per_solve=500000)\n result=run_ion_aware_transient_lockin_crosscheck(fd,protocol,dc_state=dc,require_numerical_certificate=True,require_contact_certificate=True,require_frequency_window_certificate=True)\n assert result.certificate.certified\n assert len(result.resolution_evidence)==3\n assert all(len(x.frequency_evidence)==60 for x in result.resolution_evidence)\n import math\n finest=result.resolution_evidence[-1]\n measured=[]\n for expected,entry in zip(fd.frequencies,finest.frequency_evidence,strict=True):\n assert float(entry.frequency_Hz)==float(expected)\n z=complex(entry.impedance_ohm_m2)\n assert math.isfinite(z.real) and math.isfinite(z.imag) and z!=0\n y=1/z\n assert math.isfinite(y.real) and math.isfinite(y.imag)\n measured.append({\"frequency_Hz\":float(entry.frequency_Hz),\"Z_ohm_m2\":[z.real,z.imag],\"Y_S_m2\":[y.real,y.imag]})\n (out/\"MeasuredTimeLockIn.json\").write_text(json.dumps({\"source\":\"resolution_evidence[-1].frequency_evidence[*].impedance_ohm_m2\",\"origin\":\"full_nonlinear_MoL_time_measurement\",\"points_per_cycle\":finest.points_per_cycle,\"values\":measured,\"time_face_history_export\":\"required_hook_missing; embedded frequency_domain is oracle only\"},indent=2,allow_nan=False)+\"\\n\")\n raw=pickle.dumps(result,protocol=5)\n (out/\"Result.pkl\").write_bytes(raw)\n metadata={\"status\":\"complete_capture_unqualified\",\"elapsed_capture_s\":time.perf_counter()-started,\"result_sha256\":hashlib.sha256(raw).hexdigest(),\"measurement_observer_required\":True}\n (out/\"Capture.json\").write_text(json.dumps(metadata,indent=2)+\"\\n\")\nexcept BaseException as error:\n partial=getattr(error,\"result\",result)\n if partial is not None:\n (out/\"PartialResult.pkl\").write_bytes(pickle.dumps(partial,protocol=5))\n (out/\"Failure.json\").write_text(json.dumps({\"status\":\"failed\",\"error\":str(error),\"elapsed_s\":time.perf_counter()-started,\"traceback\":traceback.format_exc()},indent=2)+\"\\n\")\n raise\n" + ], + "command_code_sha256": "d0b7cbafc8d522ae66c307269ec6810813d0676e50b45c8453e8b96c80e94450", + "planned_output_directory": "/Users/bytedance/Library/Mobile Documents/com~apple~CloudDocs/projects/solarlab/results/RefactorPerformance/AC60/TimeLockIn/Old/RepeatV3", + "status": "statically_checked_not_executed", + "qualification": "Capture recipe only; required independent correctness, reference/source/env qualification and complete timing observer must be satisfied before any result becomes a speed denominator", + "stdout_and_stderr": "Supervisor must retain stdout and /usr/bin/time resource stderr in this run directory; no discarded diagnostics", + "prior_validation": { + "command_code_sha256": "d9ff0e3a18e5130f0e4dd0cd718777eaa68619357ffbce47a3e924ad6a90f7af", + "review_receipt_sha256": "5fddd08bc242cfe92e7da20d8df4f7150a6ef7aa8c7fb51811e1c7a94c0e55d0", + "reviewed_plan_sha256": "b6721abbcc7ed227bd5067d80c53763cc69078b8172600de72dc4b048564f5c6", + "scope": "previous source recipe syntax/direct arguments only; not current modified recipe or execution" + }, + "snapshot_binding": { + "required_receipt": "/Users/bytedance/Intern/SolarLab/outputs/refactor_performance/baseline_snapshot_v1/SnapshotV1.json", + "receipt_sha256": null, + "required_status": "readonly_complete_source_dependency_and_effective_input_verified_before_and_after", + "status": "unmaterialized; direct live checkout execution is not qualifying" + } + } + ], + "command_use": { + "status": "source_and_input_checks_passed;not_executed;immutable_snapshot_and_observers_pending", + "baseline_python": "/Users/bytedance/Intern/SolarLab/outputs/refactor_performance/baseline_snapshot_v1/environment/bin/python", + "candidate_command": null, + "candidate_command_gap": "New engine does not yet implement these five scenario entrypoints; future invocation must bind the identical effective inputs/protocol/output schema and its own exact source/env before any acceptance run", + "required_supervisor": "Enforce each declared wall/RSS/artifact cap, preserve stdout/stderr and failures, prove required measurement counters and correctness first, then approve timing. The direct capture recipes cannot by themselves certify performance.", + "result_format": "Complete local Python result object retained by pickle5 with content digest; accept only trusted locally produced/bound artifacts; new engine may use its native full artifact format plus the same public data projection; AC MeasuredTimeLockIn.json is the independent measured projection; embedded frequency_domain data retain oracle identity and never replace time histories.", + "source_snapshot_required": true + }, + "machine_and_environment": { + "proposed_machine": { + "model": "Mac17,9", + "cpu": "Apple M5 Pro", + "physical_cores": 18, + "logical_cores": 18, + "RAM_bytes": 51539607552, + "os": "macOS26.6.2", + "os_build": "25G83", + "architecture": "arm64" + }, + "same_machine_required": true, + "baseline_executable": "/Users/bytedance/Intern/SolarLab/perovskite-sim/.venv/bin/python", + "baseline_versions": { + "python": "3.13.15 (main, Sep 1 2026, 14:05:45) [Clang 22.1.3 ]", + "numpy": "2.5.3", + "scipy": "1.18.1" + }, + "thread_environment": { + "PYTHONDONTWRITEBYTECODE": "1", + "OMP_NUM_THREADS": "1", + "OPENBLAS_NUM_THREADS": "1", + "MKL_NUM_THREADS": "1", + "VECLIB_MAXIMUM_THREADS": "1", + "NUMEXPR_NUM_THREADS": "1", + "BLIS_NUM_THREADS": "1" + }, + "actual_BLAS_threads": "not proven by an empty threadpoolctl result; verify actual Accelerate/thread behavior at baseline capture, retain backend library identity and source proof", + "active_scientific_workers": 1, + "exclusive_timing": "No concurrent tests, simulations, other performance runs or substantial background work; capture load/thermal/power/swap state", + "memory_cap_rationale": "12GiB is a proposed one-quarter of the measured48GiB host RAM; stop budget, not a promised footprint or reduced-workload permission", + "qualified_baseline_executable": "/Users/bytedance/Intern/SolarLab/outputs/refactor_performance/baseline_snapshot_v1/environment/bin/python", + "qualified_baseline_environment_sha256": null + }, + "measurement": { + "primary_metric": "For every qualified complete variant, median(Capture.json/elapsed_capture_s old)/median(Capture.json/elapsed_capture_s new); every prescribed variant must meet its target under the conservative repeat envelope.", + "ordinary_repeats": 3, + "schedule": "Deterministic paired order old/new, new/old, old/new; each invocation reloads exact input/initial state and uses a fresh process", + "required_statistics": [ + "Individual elapsed and phase times", + "median and min/max", + "failure/timeout rate with all attempts retained", + "peak RSS and swap/process resource context", + "actual physical nodes and assembled unknowns", + "nnz(J), nnz(L+U), fill ratio and factor rebuild count", + "RHS/Jacobian/linear solve counts and all mandatory numerical diagnostics", + "artifact size and output schema equality" + ], + "time_boundaries": "Use the exact primary_field for every speed ratio and 2D growth. Scientific imports are included; process wall and solver-only times are secondary and must not replace it after results.", + "missing_counter_policy": "Current public result types do not provide all LU/Jacobian counters and the original instrumentation script is unavailable. A reviewed source-bound observer is required before formal timing; absent values are missing, never inferred zeros or n-squared proxies.", + "diagnostics_policy": "Existing numerical-health/certification callbacks, snapshots and source-defined probes/fallback records stay enabled for both paths; quantify observer overhead and do not time cProfile in only one path", + "failure_policy": "Any failed/partial/incorrect/unqualified old run is excluded as a denominator and reported as unavailable; do not average only successful fragments, use timeout caps as runtime, or rescale microbenchmarks", + "long_window_policy": "These five proposals do not authorize native R1 or repeated expensive original100s windows; those retain their separate source budgets and run counts. If a proposed capture exceeds its bounded budget, stop and seek a separately reviewed plan; do not silently replace the required3 ordinary repeats with a single result or auto-add expensive retries.", + "primary_field": { + "all_five_cases": "Capture.json/elapsed_capture_s", + "clock": "time.perf_counter", + "start": "Immediately before the first scientific import, after stdlib imports, output-directory creation and pre-capture immutable-snapshot checks", + "stop": "Immediately after all mandatory result/history/observer serialization and measured-current exports, before Capture.json metadata write and post-capture immutable-snapshot checks", + "includes": [ + "Scientific imports and actual-import-origin checks", + "Actual input loading/resolution and checks", + "All preparation inside the case boundary, attempts, failures, diagnostics and complete result serialization" + ], + "excludes": [ + "Interpreter and preceding stdlib startup/output-directory setup", + "Pre/post full source/dependency snapshot digest walks", + "Final timing-metadata write" + ], + "AC_boundary": "Same shared qualified DC/reference packet; loading, each method fresh material/operator construction, complete spectrum and serialization included; one-time DC/oracle qualification excluded symmetrically", + "secondary_only": [ + "/usr/bin/time process real wall", + "solver-only phase time", + "whole preparation/workflow time" + ], + "required_observer": "The reviewed observer must flush all mandatory outputs before the stop; current recipes remain unqualified until this instrumentation exists." + }, + "uncertainty": { + "method": "Deterministic conservative envelope over all3x3 old/new repeat combinations; descriptive repeat coverage, not a statistical confidence interval", + "speed_point": "median(old)/median(new)", + "speed_interval": "[min(old)/max(new), max(old)/min(new)] over all three qualified positive finite times", + "speed_decision": "pass iff lower>=target; fail iff upper2 implies01+1+1/2+1/6=8/3>5/2 implies0=120 validation hint,\nso this is an orientation/solver regression and not a mesh-convergence\nclaim. The production-grid rung is tracked separately in the P1 matrix.", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_grading_cigs_notch.py", + "symbol": "test_dynamic_cigs_grading_matches_the_shipped_config" + }, + "test_node": "perovskite-sim/tests/regression/test_grading_cigs_notch.py::test_dynamic_cigs_grading_matches_the_shipped_config", + "scope_docstring": "The slow diagnostic must exercise the config registered in the matrix.", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + } + ], + "call_chains": [], + "original_scope_limitations": [ + "this is internal numerical and qualitative-trend validation, not an external CIGS benchmark", + "the contact-potential magnitudes are synchronized to compute_V_bi from the current material parameters, not independent work-function measurements", + "Nc300 and Nv300 are absent and the SI provenance of ni, n1, and p1 is unresolved", + "the Beer-Lambert alpha and photon flux are uniform proxies and do not grade with composition", + "the roughly 31.8 to 33.7 percent PCE values are highly idealized and must not be compared directly with experiment" + ], + "active_contract": null, + "obligations": [ + { + "id": "new-source-benchmark-ffe6aa8aa40ed1bc", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/benchmark-ffe6aa8aa40ed1bc.json", + "tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "gates": [ + "G0", + "G3", + "G9" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof", + "per-physical-observable units/norm/reference scale/zero policy and applicable original or prospectively frozen threshold; test truth values do not fill this field" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-928cfd076de614e0ddd7c0c7", + "rule-9fd364b81d5b7673421c3d1b", + "rule-eee83d3a3ee9017195c92453", + "rule-9060655a3217da43e29449f6", + "rule-be9918e65fd57d41cf958c6c", + "rule-1ce68c8fa6909f7330e2334c", + "rule-5eca65539e0fd909828412fb", + "rule-e2dce92f42a8c53f55a45f85", + "rule-14f5329ddc918df8afb1b725", + "rule-4afb617e89741fb0dea12b83", + "rule-a6d4fc489cd82d0d7c988ce2", + "rule-a985368d56e33bb535546c35", + "rule-3cb68f22c239ab40cc9f69a4", + "rule-64727c3eac9fb4e01d02cec9", + "rule-603dafd7ce04a6e4427485fe", + "rule-3910d7ca69a0516323a5f449", + "rule-632df622ba7d50bb71d38350", + "rule-e00987f78c972ac6e4944493", + "rule-c50e6307c290b0ff2eb34f94", + "rule-c4e54b15ddbe780dc1e39c69", + "rule-eac2e441301918ebd7b90010", + "rule-5566cb7cb2e99f7d8ed050bd", + "rule-9b2c41ee4d68dbad386bb4ca", + "rule-3b4175be71b5092cedb48661", + "rule-27e59f47de5997797fa58c83", + "rule-42d1506e562e909c006ba837", + "rule-e5294fad4b1c173b52a32d91", + "rule-01b53522f44653900680a2fa", + "rule-c081415be17db2465c54912c", + "rule-22e93e63d18c85a0472e383e", + "rule-2165810186e71efb0530a871", + "rule-17f8f55c0bfaf1b5268cb2ef", + "rule-0eabc5ce6bb2aa43152d1a56", + "rule-2a9f207b057ab222cb8ff2b4", + "rule-b846474c392ce388e14885f0", + "rule-4efc4c28383ef88679ccf754", + "rule-5a391b445d1a61433018ea91", + "rule-bb98221a964d7020359b8c89", + "rule-4331f2c3a73aa19c6c0114cb", + "rule-aaedc04639218e172645d3d4", + "rule-0c3980cc0a51c901a35b2022", + "rule-b05b5719dd6e33406abd7883", + "rule-6bb63137529cc2fc229c9aca", + "rule-9deed45bee0ba8eb057bf4f5", + "rule-1339950f0571a39320df9ebc", + "rule-cd249975f788c67f1bd5f66e", + "rule-1f68552e94a17ec632e274bf", + "rule-affb50d7a5af96e4918d74c7", + "rule-a0542ea4b85abc26e1db34b2", + "rule-8a4897c6e957b11a64c422c6", + "rule-11f6453cfe4c232709c7211e", + "rule-9cf16517c8643d66538fff5c", + "rule-85c07d72233c4ba7c7d77d8a", + "rule-3d7e2c9750d878e4fa3af1ae", + "rule-df04da92eb5f7a03d95dadbc", + "rule-3bd06e3c9b9281514181bf09", + "rule-860a4cbf07e378073bc12ba7", + "rule-1db937a60794381011793de8", + "rule-135c1e245889b63452bfca34" + ], + "comparison_scope_id": "scope-benchmark-ffe6aa8aa40ed1bc" + }, + { + "capability_id": "benchmark-a12ead2b6fe7e734", + "route_id": "route-f13ea1085e6c91d1", + "origin_key": "benchmark:courtier2019-ionmonger", + "target": { + "capability_id": "benchmark-a12ead2b6fe7e734", + "scope_id": "benchmark:courtier2019-ionmonger", + "kind": "original_scoped_assertions", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_assertions_bound", + "citations": [ + { + "source_id": "repository:perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "pointer": "/benchmarks/courtier2019-ionmonger", + "value_sha256": "1571b026363195874e710d6a99be99930496d37ca0aad274bd541c7ef24f5785" + }, + { + "source_id": "repository:perovskite-sim/tests/validation/test_paper_configurations.py", + "symbol": "test_ionmonger_repro_matches_paper_metrics" + } + ], + "original_evidence": [ + { + "kind": "registered_contract", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "pointer": "/benchmarks/courtier2019-ionmonger", + "value_sha256": "1571b026363195874e710d6a99be99930496d37ca0aad274bd541c7ef24f5785" + }, + "historical_source_sha256": "35165f16511bcf61a3eecec1c2391780249206aecc97fe17dd1cf30c046681be", + "scope_limitations": [ + "V_bi=0.98 V is calibrated against the reported Voc", + "the automated scan rate is about 67 times the representative 0.075 V/s paper protocol", + "the paper preconditioning protocol is not reproduced", + "no digitized source curve or extraction uncertainty is stored in the repository" + ] + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/validation/test_paper_configurations.py", + "symbol": "test_ionmonger_repro_matches_paper_metrics" + }, + "test_node": "perovskite-sim/tests/validation/test_paper_configurations.py::test_ionmonger_repro_matches_paper_metrics", + "scope_docstring": "Dedicated reproduction preset must match Courtier 2019 set (b).", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + } + ], + "call_chains": [], + "original_scope_limitations": [ + "V_bi=0.98 V is calibrated against the reported Voc", + "the automated scan rate is about 67 times the representative 0.075 V/s paper protocol", + "the paper preconditioning protocol is not reproduced", + "no digitized source curve or extraction uncertainty is stored in the repository" + ], + "active_contract": null, + "obligations": [ + { + "id": "new-source-benchmark-a12ead2b6fe7e734", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/benchmark-a12ead2b6fe7e734.json", + "tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "gates": [ + "G0", + "G3", + "G9" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof", + "per-physical-observable units/norm/reference scale/zero policy and applicable original or prospectively frozen threshold; test truth values do not fill this field" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-99346121610cfe6c87bbe373", + "rule-20533e8a524de13cc7c36914", + "rule-8df4514933f66768954d1483", + "rule-e2083f1c15eefafacab67de1" + ], + "comparison_scope_id": "scope-benchmark-a12ead2b6fe7e734" + }, + { + "capability_id": "benchmark-f050f4122cc07b66", + "route_id": "route-f13ea1085e6c91d1", + "origin_key": "benchmark:csi-grid-envelope-gap", + "target": { + "capability_id": "benchmark-f050f4122cc07b66", + "scope_id": "benchmark:csi-grid-envelope-gap", + "kind": "original_scoped_assertions", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_assertions_bound", + "citations": [ + { + "source_id": "repository:perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "pointer": "/benchmarks/csi-grid-envelope-gap", + "value_sha256": "3fbacc966ae15ec3cf097e469b371d624c29f0618286f816c9e4df319b6023af" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/backend/test_user_configs_api.py", + "symbol": "test_csi_underresolved_grid_returns_actionable_client_error" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_grid_envelope.py", + "symbol": "test_declared_csi_minimum_meets_debye_guard_and_has_finite_seed" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_grid_envelope.py", + "symbol": "test_default_jv_grid_is_outside_csi_declared_envelope" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_grid_envelope.py", + "symbol": "test_thin_film_smoke_mesh_is_not_misrepresented_as_globally_certified" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_grid_envelope.py", + "symbol": "test_underresolved_overrides_are_explicit_and_reach_both_drivers" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_grid_envelope.py", + "symbol": "test_underresolved_transient_and_ss_jv_fail_before_integration" + } + ], + "original_evidence": [ + { + "kind": "registered_contract", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "pointer": "/benchmarks/csi-grid-envelope-gap", + "value_sha256": "3fbacc966ae15ec3cf097e469b371d624c29f0618286f816c9e4df319b6023af" + }, + "historical_source_sha256": "35165f16511bcf61a3eecec1c2391780249206aecc97fe17dd1cf30c046681be", + "scope_limitations": [ + "the Debye guard is necessary but does not certify depletion-region resolution", + "closure applies only to executable grid allocation, loader parity, and pre-integration guarding", + "physical steady-state evidence is tracked separately by csi-qf-internal-validation" + ] + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/backend/test_user_configs_api.py", + "symbol": "test_csi_underresolved_grid_returns_actionable_client_error" + }, + "test_node": "perovskite-sim/tests/integration/backend/test_user_configs_api.py::test_csi_underresolved_grid_returns_actionable_client_error", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_grid_envelope.py", + "symbol": "test_declared_csi_minimum_meets_debye_guard_and_has_finite_seed" + }, + "test_node": "perovskite-sim/tests/regression/test_csi_grid_envelope.py::test_declared_csi_minimum_meets_debye_guard_and_has_finite_seed", + "scope_docstring": "The ladder passes a necessary guard; it does not certify the junction.", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_grid_envelope.py", + "symbol": "test_default_jv_grid_is_outside_csi_declared_envelope" + }, + "test_node": "perovskite-sim/tests/regression/test_csi_grid_envelope.py::test_default_jv_grid_is_outside_csi_declared_envelope", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_grid_envelope.py", + "symbol": "test_thin_film_smoke_mesh_is_not_misrepresented_as_globally_certified" + }, + "test_node": "perovskite-sim/tests/regression/test_csi_grid_envelope.py::test_thin_film_smoke_mesh_is_not_misrepresented_as_globally_certified", + "scope_docstring": "The thick-layer guard must remain scoped, not become a mesh certificate.", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_grid_envelope.py", + "symbol": "test_underresolved_overrides_are_explicit_and_reach_both_drivers" + }, + "test_node": "perovskite-sim/tests/regression/test_csi_grid_envelope.py::test_underresolved_overrides_are_explicit_and_reach_both_drivers", + "scope_docstring": null, + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_grid_envelope.py", + "symbol": "test_underresolved_transient_and_ss_jv_fail_before_integration" + }, + "test_node": "perovskite-sim/tests/regression/test_csi_grid_envelope.py::test_underresolved_transient_and_ss_jv_fail_before_integration", + "scope_docstring": null, + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + } + ], + "call_chains": [], + "original_scope_limitations": [ + "the Debye guard is necessary but does not certify depletion-region resolution", + "closure applies only to executable grid allocation, loader parity, and pre-integration guarding", + "physical steady-state evidence is tracked separately by csi-qf-internal-validation" + ], + "active_contract": null, + "obligations": [ + { + "id": "new-source-benchmark-f050f4122cc07b66", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/benchmark-f050f4122cc07b66.json", + "tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "gates": [ + "G0", + "G3", + "G9" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof", + "per-physical-observable units/norm/reference scale/zero policy and applicable original or prospectively frozen threshold; test truth values do not fill this field" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-acca007e2aded3e0a97294d2", + "rule-37e4b29ae7bdeafefeeb8187", + "rule-132176ad3619fc99179aa2e5", + "rule-aaebfb72f0060107621cbe8c", + "rule-2d2c2106ab310b00901e82a3", + "rule-473ed060e47e5fe94bac69c1", + "rule-b39af64477cb06dcb7e6ca18", + "rule-1a17ff167feddd3297b26e69", + "rule-fed094448b4e78721b92785e", + "rule-2ecd14e27e90130b8fe3e378", + "rule-07230cbb04b950066689123c", + "rule-1d3ffae293d1a65ba0c80285", + "rule-6a68794646aaebab3b8f13db", + "rule-fc0b171f5e485f36b8bd43b3", + "rule-fc46dab20b9323d3efabd28a", + "rule-7c07238b6404977829883a59", + "rule-e1907bad4174fa0a733201e7", + "rule-e728593f79afe3dff4c5a193", + "rule-67c59a6eaa2514e6a2ee525a", + "rule-142f90f160a99cd984e06faa", + "rule-09a9ebac3b0482414392762b", + "rule-1d74fb3c4e06a98baead150d", + "rule-4583bc9e2b06a22f3c690e9c" + ], + "comparison_scope_id": "scope-benchmark-f050f4122cc07b66" + }, + { + "capability_id": "benchmark-2944ea519ddd6969", + "route_id": "route-f13ea1085e6c91d1", + "origin_key": "benchmark:csi-jv-driver-capability-boundary", + "target": { + "capability_id": "benchmark-2944ea519ddd6969", + "scope_id": "benchmark:csi-jv-driver-capability-boundary", + "kind": "original_scoped_assertions", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_assertions_bound", + "citations": [ + { + "source_id": "repository:perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "pointer": "/benchmarks/csi-jv-driver-capability-boundary", + "value_sha256": "edfcc2727d0eb12a55c3884644f03bc4bf0d66f60a8c45a3054cd4c4271302ca" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_generic_state_cancellation.py", + "symbol": "test_certified_qf_state_exposes_density_sg_cancellation_boundary" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/backend/test_solver_dispatch.py", + "symbol": "test_dispatch_quasi_fermi_rejects_dark_jv" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/backend/test_solver_dispatch.py", + "symbol": "test_dispatch_quasi_fermi_returns_certificate_bearing_jvresult" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/backend/test_solver_dispatch.py", + "symbol": "test_jv_api_returns_422_for_policy_rejected_driver" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/backend/test_solver_dispatch.py", + "symbol": "test_stack_from_dict_plumbs_jv_solver_policy" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_jv_driver_capability.py", + "symbol": "test_qf_required_policy_rejects_general_drivers_before_solve" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_jv_driver_capability.py", + "symbol": "test_shipped_csi_config_enforces_grid_then_qf_driver_capability" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_jv_driver_capability.py", + "symbol": "test_unvalidated_driver_override_is_explicit_and_diagnostic_only" + } + ], + "original_evidence": [ + { + "kind": "registered_contract", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "pointer": "/benchmarks/csi-jv-driver-capability-boundary", + "value_sha256": "edfcc2727d0eb12a55c3884644f03bc4bf0d66f60a8c45a3054cd4c4271302ca" + }, + "historical_source_sha256": "35165f16511bcf61a3eecec1c2391780249206aecc97fe17dd1cf30c046681be", + "scope_limitations": [ + "fail-closed routing does not repair the transient or algebraic driver root cause", + "the same certified QF state produces an O(1) density-SG continuity defect after its split QF increments are collapsed", + "the QF solver remains limited to its audited local homojunction physics subset", + "this is a software capability contract, not an external c-Si validation" + ] + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_generic_state_cancellation.py", + "symbol": "test_certified_qf_state_exposes_density_sg_cancellation_boundary" + }, + "test_node": "perovskite-sim/tests/regression/test_csi_generic_state_cancellation.py::test_certified_qf_state_exposes_density_sg_cancellation_boundary", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/backend/test_solver_dispatch.py", + "symbol": "test_dispatch_quasi_fermi_rejects_dark_jv" + }, + "test_node": "perovskite-sim/tests/unit/backend/test_solver_dispatch.py::test_dispatch_quasi_fermi_rejects_dark_jv", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/backend/test_solver_dispatch.py", + "symbol": "test_dispatch_quasi_fermi_returns_certificate_bearing_jvresult" + }, + "test_node": "perovskite-sim/tests/unit/backend/test_solver_dispatch.py::test_dispatch_quasi_fermi_returns_certificate_bearing_jvresult", + "scope_docstring": null, + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/backend/test_solver_dispatch.py", + "symbol": "test_jv_api_returns_422_for_policy_rejected_driver" + }, + "test_node": "perovskite-sim/tests/unit/backend/test_solver_dispatch.py::test_jv_api_returns_422_for_policy_rejected_driver", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/backend/test_solver_dispatch.py", + "symbol": "test_stack_from_dict_plumbs_jv_solver_policy" + }, + "test_node": "perovskite-sim/tests/unit/backend/test_solver_dispatch.py::test_stack_from_dict_plumbs_jv_solver_policy", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_jv_driver_capability.py", + "symbol": "test_qf_required_policy_rejects_general_drivers_before_solve" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_jv_driver_capability.py::test_qf_required_policy_rejects_general_drivers_before_solve", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_jv_driver_capability.py", + "symbol": "test_shipped_csi_config_enforces_grid_then_qf_driver_capability" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_jv_driver_capability.py::test_shipped_csi_config_enforces_grid_then_qf_driver_capability", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_jv_driver_capability.py", + "symbol": "test_unvalidated_driver_override_is_explicit_and_diagnostic_only" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_jv_driver_capability.py::test_unvalidated_driver_override_is_explicit_and_diagnostic_only", + "scope_docstring": null, + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + } + ], + "call_chains": [], + "original_scope_limitations": [ + "fail-closed routing does not repair the transient or algebraic driver root cause", + "the same certified QF state produces an O(1) density-SG continuity defect after its split QF increments are collapsed", + "the QF solver remains limited to its audited local homojunction physics subset", + "this is a software capability contract, not an external c-Si validation" + ], + "active_contract": null, + "obligations": [ + { + "id": "new-source-benchmark-2944ea519ddd6969", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/benchmark-2944ea519ddd6969.json", + "tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "gates": [ + "G0", + "G3", + "G9" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof", + "per-physical-observable units/norm/reference scale/zero policy and applicable original or prospectively frozen threshold; test truth values do not fill this field" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-8af4cbe903a543ebe33b40e7", + "rule-24bf5660ac58c96736981d18", + "rule-6ee2df19e957f8f695a8fe02", + "rule-da04dd950c3bde658035c584", + "rule-5e26327c7776d4f9fcf9d509", + "rule-64a7c11e1308f5d68d711eca", + "rule-8206e086ddadba8fc5ea86cd", + "rule-4b32a061507caff39196ae72", + "rule-5ba055eaea57939a60c73da0", + "rule-7f9a4bb15bb4b7a49056e7e4", + "rule-13c3fb09acbc37a30d8c98ff", + "rule-286df71525681a8536026541", + "rule-522dada31d9eb2453c942116", + "rule-a2098a8835cb5aa2500346aa", + "rule-b0d9e7327243b067b052e7a7", + "rule-df52f4b2c5b7eb0e91c7ea8c", + "rule-ba0c1b5901ba53655228feb3", + "rule-1f9f43e434bf020649dfe9da", + "rule-92b88749a13f3d33a7a13dc4", + "rule-af5a0e0e68b7b88d058837b3", + "rule-83ed46c56cae6f60fcd723d2", + "rule-4acbcdf2e8c77eeb021a3a34", + "rule-6cb18b172a425fcf1ddd8fe7", + "rule-6e1a96804fb7820b09ebf2ab", + "rule-d04ad2f4c663e4674aa02d56", + "rule-3b79524f41a36b68e113a0ef", + "rule-3bdf7fa2ed93e2c1b814cb30", + "rule-9fd300f3ac28d8d61a7b1a7a", + "rule-4681a699ef17340423e05d94", + "rule-317eedbdf954dd1d86682d22", + "rule-87f671c8282e515f637b2775", + "rule-e2ee546d275970a4c142d097", + "rule-800a971daecb6cf724fe6c8b", + "rule-1b8fd6ce9c9cdcff5b3fe1f6", + "rule-489141761c9c79a7d7c1f320" + ], + "comparison_scope_id": "scope-benchmark-2944ea519ddd6969" + }, + { + "capability_id": "benchmark-3ece4d3a78f8823e", + "route_id": "route-f13ea1085e6c91d1", + "origin_key": "benchmark:csi-qf-frequency-domain-cv", + "target": { + "capability_id": "benchmark-3ece4d3a78f8823e", + "scope_id": "benchmark:csi-qf-frequency-domain-cv", + "kind": "original_scoped_assertions", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_assertions_bound", + "citations": [ + { + "source_id": "repository:perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "pointer": "/benchmarks/csi-qf-frequency-domain-cv", + "value_sha256": "0d1ec4cb170f70ecf4daddb7d258c028b91cf0ab4007fc84b7f627fca0b2fd5b" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/data/references/csi_pn_cv_intercept.yaml" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py", + "symbol": "test_csi_apparent_intercept_shift_matches_published_pn_range" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py", + "symbol": "test_csi_depletion_cv_curve_converges_on_registered_grid_ladder" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py", + "symbol": "test_csi_depletion_cv_has_frequency_and_all_face_plateaus" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py", + "symbol": "test_csi_frequency_domain_has_capacitance_plateau_and_current_certificate" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py", + "symbol": "test_csi_frequency_domain_is_stable_to_steps_and_nominal_amplitude" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py", + "symbol": "test_csi_frequency_domain_matches_independent_dc_carrier_inventory" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py", + "symbol": "test_csi_frequency_domain_observations_match_registry" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py", + "symbol": "test_csi_frequency_domain_recovers_depletion_not_geometric_capacitance" + } + ], + "original_evidence": [ + { + "kind": "registered_contract", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "pointer": "/benchmarks/csi-qf-frequency-domain-cv", + "value_sha256": "0d1ec4cb170f70ecf4daddb7d258c028b91cf0ab4007fc84b7f627fca0b2fd5b" + }, + "historical_source_sha256": "35165f16511bcf61a3eecec1c2391780249206aecc97fe17dd1cf30c046681be", + "scope_limitations": [ + "the frequency-domain adapter is restricted to the audited local ion-free QF model and fails closed for unsupported physics", + "this new path does not repair or validate the legacy endpoint-sampled transient impedance algorithm", + "the corrected 0.782 V apparent Mott intercept remains 0.111 V below the configured 0.892896 V contact-potential magnitude", + "this config has no geometry-compatible pointwise external curve; the separate van Nijen config is an explicitly partial geometry-mismatched comparison", + "this is internal numerical validation, not an external c-Si C-V comparison" + ] + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py", + "symbol": "test_csi_apparent_intercept_shift_matches_published_pn_range" + }, + "test_node": "perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py::test_csi_apparent_intercept_shift_matches_published_pn_range", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py", + "symbol": "test_csi_depletion_cv_curve_converges_on_registered_grid_ladder" + }, + "test_node": "perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py::test_csi_depletion_cv_curve_converges_on_registered_grid_ladder", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py", + "symbol": "test_csi_depletion_cv_has_frequency_and_all_face_plateaus" + }, + "test_node": "perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py::test_csi_depletion_cv_has_frequency_and_all_face_plateaus", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py", + "symbol": "test_csi_frequency_domain_has_capacitance_plateau_and_current_certificate" + }, + "test_node": "perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py::test_csi_frequency_domain_has_capacitance_plateau_and_current_certificate", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py", + "symbol": "test_csi_frequency_domain_is_stable_to_steps_and_nominal_amplitude" + }, + "test_node": "perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py::test_csi_frequency_domain_is_stable_to_steps_and_nominal_amplitude", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py", + "symbol": "test_csi_frequency_domain_matches_independent_dc_carrier_inventory" + }, + "test_node": "perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py::test_csi_frequency_domain_matches_independent_dc_carrier_inventory", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py", + "symbol": "test_csi_frequency_domain_observations_match_registry" + }, + "test_node": "perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py::test_csi_frequency_domain_observations_match_registry", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py", + "symbol": "test_csi_frequency_domain_recovers_depletion_not_geometric_capacitance" + }, + "test_node": "perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py::test_csi_frequency_domain_recovers_depletion_not_geometric_capacitance", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + } + ], + "call_chains": [], + "original_scope_limitations": [ + "the frequency-domain adapter is restricted to the audited local ion-free QF model and fails closed for unsupported physics", + "this new path does not repair or validate the legacy endpoint-sampled transient impedance algorithm", + "the corrected 0.782 V apparent Mott intercept remains 0.111 V below the configured 0.892896 V contact-potential magnitude", + "this config has no geometry-compatible pointwise external curve; the separate van Nijen config is an explicitly partial geometry-mismatched comparison", + "this is internal numerical validation, not an external c-Si C-V comparison" + ], + "active_contract": null, + "obligations": [ + { + "id": "new-source-benchmark-3ece4d3a78f8823e", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/benchmark-3ece4d3a78f8823e.json", + "tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "gates": [ + "G0", + "G3", + "G9" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof", + "per-physical-observable units/norm/reference scale/zero policy and applicable original or prospectively frozen threshold; test truth values do not fill this field" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-bd605af7aada54857f5d15cf", + "rule-fff3a9fef5c2c1836f078f72", + "rule-d222d076bb64c3eda7a5fee4", + "rule-1734d1360c01846c6a7f2505", + "rule-dfad8e187ef535de9640a907", + "rule-17074fc3bf31d584ef1a1a03", + "rule-d328e9ce0ef652b7c1ea4417", + "rule-ae742113894ee352d01a2fa0", + "rule-4f8a975e5efdece0b0988fa9", + "rule-690aa11f4ab8a4c91902e904", + "rule-0e9855537e3c7b4b18050ef2", + "rule-981fe50321ae971cbc88d58c", + "rule-ef660c76acf3f293152423be", + "rule-6ea01419736547bad53eb376", + "rule-22caf9dc8f305d01d8849d61", + "rule-f53af45cec0b53babfae47bf", + "rule-9c5aec3a85892a82d48282b6", + "rule-f75dee90b8242196235236d7", + "rule-9803ff9e168f35ca58c0ef8e", + "rule-08d98bb0288b3364af75d695", + "rule-d88fe190bf956e6f988d20d9", + "rule-2da17b87be3242ddda960ca6", + "rule-f5bd1e21af96209480431aa2", + "rule-9e26329db6828be0749e84c1", + "rule-d4e94da6b266d29d4db7beb5", + "rule-1abc958c69dfb686132d5cc1", + "rule-a50d172f9afad4b097278554", + "rule-c62f22251fcc812b3b1ee592", + "rule-ea7ad266bf1d8fa179e0d1d4", + "rule-31d45324970fa70c33bb312c", + "rule-cfad9143f0e709fa8aded992", + "rule-f29979784c4a4e5012be6591", + "rule-2b77aac5e77a11f6e0941079", + "rule-9555cb3f24f945213b2b6e76", + "rule-913ea72b1229cf5b48d0cafe", + "rule-51a0de79212ac06e94c29f78", + "rule-16e14fb4707a7619723f30a5", + "rule-0d00817b4906112b7a1d453e", + "rule-4cb7cb7b3d49a819de7c50f8", + "rule-e731757c5e4c9c28704f5b9c", + "rule-b07b70e51c428a6cb1ac1ec6", + "rule-0f0557b2dafe95330740dd7a", + "rule-5f18f1a8f9d90297f6e5a498", + "rule-c965474424f83010cf095cfa", + "rule-2c18c85dfd252fba666039b4", + "rule-c25b717e04c3dd92a3221665", + "rule-05b9905aa231c745c75b4992", + "rule-8cad88ded6a17c24f290c516", + "rule-a9c60e672cda2332f38dc38f", + "rule-71eb4fd9f2c5289bc0eef2e3", + "rule-872025c1ea928e2745983605" + ], + "comparison_scope_id": "scope-benchmark-3ece4d3a78f8823e" + }, + { + "capability_id": "benchmark-3ca07445f8402d7d", + "route_id": "route-f13ea1085e6c91d1", + "origin_key": "benchmark:csi-qf-internal-validation", + "target": { + "capability_id": "benchmark-3ca07445f8402d7d", + "scope_id": "benchmark:csi-qf-internal-validation", + "kind": "original_scoped_assertions", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_assertions_bound", + "citations": [ + { + "source_id": "repository:perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "pointer": "/benchmarks/csi-qf-internal-validation", + "value_sha256": "06d7c63b03aa1528d93fefd5c5ab6c70107b7e99f9ad2d8a3d440fe14b4c38ab" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py", + "symbol": "test_csi_config_and_registered_voltage_protocol" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py", + "symbol": "test_csi_full_jv_curve_and_metrics_converge" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py", + "symbol": "test_csi_jv_curves_are_physical_and_bracket_open_circuit" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py", + "symbol": "test_csi_jv_observations_match_reproducibility_registry" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py", + "symbol": "test_csi_voltage_sampling_resolves_maximum_power" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py", + "symbol": "test_every_csi_jv_point_has_independent_physics_certificate" + } + ], + "original_evidence": [ + { + "kind": "registered_contract", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "pointer": "/benchmarks/csi-qf-internal-validation", + "value_sha256": "06d7c63b03aa1528d93fefd5c5ab6c70107b7e99f9ad2d8a3d440fe14b4c38ab" + }, + "historical_source_sha256": "35165f16511bcf61a3eecec1c2391780249206aecc97fe17dd1cf30c046681be", + "scope_limitations": [ + "the QF solver is opt-in and supports only an audited local homojunction physics subset", + "this certificate does not establish convergence of the default transient or algebraic J-V drivers", + "this is an internal numerical validation, not an external c-Si device comparison", + "Beer-Lambert absorption, ideal ohmic contacts, and the simplified interface SRV limit experimental interpretation" + ] + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py", + "symbol": "test_csi_config_and_registered_voltage_protocol" + }, + "test_node": "perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py::test_csi_config_and_registered_voltage_protocol", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py", + "symbol": "test_csi_full_jv_curve_and_metrics_converge" + }, + "test_node": "perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py::test_csi_full_jv_curve_and_metrics_converge", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py", + "symbol": "test_csi_jv_curves_are_physical_and_bracket_open_circuit" + }, + "test_node": "perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py::test_csi_jv_curves_are_physical_and_bracket_open_circuit", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py", + "symbol": "test_csi_jv_observations_match_reproducibility_registry" + }, + "test_node": "perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py::test_csi_jv_observations_match_reproducibility_registry", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py", + "symbol": "test_csi_voltage_sampling_resolves_maximum_power" + }, + "test_node": "perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py::test_csi_voltage_sampling_resolves_maximum_power", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py", + "symbol": "test_every_csi_jv_point_has_independent_physics_certificate" + }, + "test_node": "perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py::test_every_csi_jv_point_has_independent_physics_certificate", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + } + ], + "call_chains": [], + "original_scope_limitations": [ + "the QF solver is opt-in and supports only an audited local homojunction physics subset", + "this certificate does not establish convergence of the default transient or algebraic J-V drivers", + "this is an internal numerical validation, not an external c-Si device comparison", + "Beer-Lambert absorption, ideal ohmic contacts, and the simplified interface SRV limit experimental interpretation" + ], + "active_contract": null, + "obligations": [ + { + "id": "new-source-benchmark-3ca07445f8402d7d", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/benchmark-3ca07445f8402d7d.json", + "tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "gates": [ + "G0", + "G3", + "G9" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof", + "per-physical-observable units/norm/reference scale/zero policy and applicable original or prospectively frozen threshold; test truth values do not fill this field" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-b5b39dd657fbe0392e8907e5", + "rule-14c6572597d99e4681157b1a", + "rule-b39b35271448f3c7db86ce9f", + "rule-3e42064bb52a539b6dbfb216", + "rule-38f7b46c702d1c469d7f2f12", + "rule-2d291d0114be1a24ee70cb6a", + "rule-bf9bdb41992d68041fce8c61", + "rule-61190044591b64280f58723f", + "rule-2c4825c43299ca084daeb7ad", + "rule-3361f9e780374dfe3ceb3d5b", + "rule-8904361e4dcbc304e84781c1", + "rule-4726169258878ce0d8e7c6a1", + "rule-4c26e90f8593b935658932af", + "rule-5778b08a790123743cceb0df", + "rule-e2cdf06e9a24523a11c27724", + "rule-a6322be4f792153eb7a44e7e", + "rule-a30b12b0ffe3b58ff92b33f2", + "rule-d24b681c3f74bd9ef7075193", + "rule-2d00548a523e35d868d01ae7", + "rule-5d868fb581ed6912adc6ac43", + "rule-fb551146163f78bb8c1506a7", + "rule-f57c4d0c37a613a6d1f6460b", + "rule-d047ca5ab0839c57765dc68f", + "rule-99830912830699bc98b2408c", + "rule-40ca69d2d1dd1b967d60edb1", + "rule-63a3096b33f98db6b3f3bfed", + "rule-72ca4608125e195c1d4ba012", + "rule-68b0f4a243a95d8c20932a20", + "rule-62f981fd840ac7736ddfc916", + "rule-2d399869d5eb13d5b647b616", + "rule-da32610d850a0a86396e4101", + "rule-5ef4a8d0e21251a14286f366", + "rule-d47370d245d8b39c27a131ec", + "rule-f20f45e86d56de01b65cf43b", + "rule-fb3caa7ac43390bd07b3d8e5", + "rule-e2b3a3377581591f51da0375", + "rule-2b99c708e2c5a5d2ce273745", + "rule-c5abfbb73535dcd6b970dbe1", + "rule-2b197ff99de9fdd98c398d01", + "rule-21b6947d3cc9045b148806f6", + "rule-874c19d90c8b66528a6e8eb7", + "rule-8c3b9e05e0939fee27485df3", + "rule-dc76ff775a0113c8fa5eef73", + "rule-084a52bc408acda9127a9b00", + "rule-db0ca8bda00946a695526481", + "rule-14a8b2d68ad4948ab4c6022f", + "rule-b761e2f1b04275dc9a8ab2a9", + "rule-b72892b2911fa4c47d0617ae", + "rule-958329188f904fe7fb465ccc", + "rule-93d7e9bc059d91578ac362b7", + "rule-38f4deda8c725ccc2c5b59c8" + ], + "comparison_scope_id": "scope-benchmark-3ca07445f8402d7d" + }, + { + "capability_id": "benchmark-9ffebfadd845315b", + "route_id": "route-f13ea1085e6c91d1", + "origin_key": "benchmark:degenerate-pn-internal-closure", + "target": { + "capability_id": "benchmark-9ffebfadd845315b", + "scope_id": "benchmark:degenerate-pn-internal-closure", + "kind": "original_scoped_assertions", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_assertions_bound", + "citations": [ + { + "source_id": "repository:perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "pointer": "/benchmarks/degenerate-pn-internal-closure", + "value_sha256": "9b93a96a406737531341746af9573f778a2ab7e5eba8f26bf19cdb318a7f8cf1" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_degenerate_transport.py", + "symbol": "test_fd_flux_vanishes_for_constant_quasi_fermi_potentials" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py", + "symbol": "test_high_doping_fd_pn_equilibrium_closes_across_grid_and_tolerance" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_degenerate_refinement.py", + "symbol": "test_registered_executor_real_cell_matches_exact_contract" + } + ], + "original_evidence": [ + { + "kind": "registered_contract", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "pointer": "/benchmarks/degenerate-pn-internal-closure", + "value_sha256": "9b93a96a406737531341746af9573f778a2ab7e5eba8f26bf19cdb318a7f8cf1" + }, + "historical_source_sha256": "35165f16511bcf61a3eecec1c2391780249206aecc97fe17dd1cf30c046681be", + "scope_limitations": [ + "the source-clean 3x3 matrix is internally certified at commit d756c76 with certificate SHA-256 968ad3bb67dc696b841a6bb8544c16eba3f9d5748b2fe737e20b8c7e30f8373f", + "the registered path is fully ionized, dark, recombination-off, homojunction-only, and not a production experiment route", + "the depletion approximation is an internal analytic oracle rather than external Sentaurus or PC1D validation" + ] + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_degenerate_transport.py", + "symbol": "test_fd_flux_vanishes_for_constant_quasi_fermi_potentials" + }, + "test_node": "perovskite-sim/tests/unit/physics/test_degenerate_transport.py::test_fd_flux_vanishes_for_constant_quasi_fermi_potentials", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py", + "symbol": "test_high_doping_fd_pn_equilibrium_closes_across_grid_and_tolerance" + }, + "test_node": "perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py::test_high_doping_fd_pn_equilibrium_closes_across_grid_and_tolerance", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_degenerate_refinement.py", + "symbol": "test_registered_executor_real_cell_matches_exact_contract" + }, + "test_node": "perovskite-sim/tests/unit/validation/test_degenerate_refinement.py::test_registered_executor_real_cell_matches_exact_contract", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + } + ], + "call_chains": [], + "original_scope_limitations": [ + "the source-clean 3x3 matrix is internally certified at commit d756c76 with certificate SHA-256 968ad3bb67dc696b841a6bb8544c16eba3f9d5748b2fe737e20b8c7e30f8373f", + "the registered path is fully ionized, dark, recombination-off, homojunction-only, and not a production experiment route", + "the depletion approximation is an internal analytic oracle rather than external Sentaurus or PC1D validation" + ], + "active_contract": null, + "obligations": [ + { + "id": "new-source-benchmark-9ffebfadd845315b", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/benchmark-9ffebfadd845315b.json", + "tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "gates": [ + "G0", + "G3", + "G9" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof", + "per-physical-observable units/norm/reference scale/zero policy and applicable original or prospectively frozen threshold; test truth values do not fill this field" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-4a853afc27a1b1f2b639b739", + "rule-f55ad38590c3a0aa553d312e", + "rule-d94add31443e88a69913975e", + "rule-b7d771fc9375af9a5d1cf161", + "rule-603357ae93f89323de02e022", + "rule-6de8698e1d409d96def5e5c3", + "rule-d0a1d0db07578ae5cc6b7db1", + "rule-e360340ddc83017d0160cca1", + "rule-fc9c37feee7bde808a11ae88", + "rule-8053ee9d516e4f01145b7d9c", + "rule-080bb2defd360a37691ecc2a", + "rule-1c06a2f730fa08027b2c3bf7", + "rule-e95e9bfc812e49c431c9b964", + "rule-6c741fd4208bbd6c36564c9d", + "rule-36e93af84857fc4fa1cd26ca", + "rule-bce97c3d9e006df6724f6419", + "rule-6ea6a9cc2f11d15e8e9006c4", + "rule-7f7e6357adb544f9950fde82", + "rule-e84dce4f704d010fb3d0cfa9", + "rule-4f43786b11561f4552508515", + "rule-ae2d86dc962a9311cdbb858c", + "rule-ac4c7fe471b32bad28d8705f", + "rule-0e160a19c9f4ac8cba2e0b1b" + ], + "comparison_scope_id": "scope-benchmark-9ffebfadd845315b" + }, + { + "capability_id": "benchmark-f55a467e6d6c9e27", + "route_id": "route-f13ea1085e6c91d1", + "origin_key": "benchmark:distributed-explicit-defect-internal-closure", + "target": { + "capability_id": "benchmark-f55a467e6d6c9e27", + "scope_id": "benchmark:distributed-explicit-defect-internal-closure", + "kind": "original_scoped_assertions", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_assertions_bound", + "citations": [ + { + "source_id": "repository:perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "pointer": "/benchmarks/distributed-explicit-defect-internal-closure", + "value_sha256": "f3b2f71eac3b45a1cb47edff6e72d3bc184b169688e593c2d2c96ac89d1abdc9" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "symbol": "test_mixed_distributed_species_close_in_illuminated_qf_jv" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_defect_distributions.py", + "symbol": "test_distributed_species_expansion_is_auditable_and_conservative" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_distributed_defect_closure.py", + "symbol": "test_source_aggregation_is_the_exact_sum_of_d2_energy_nodes" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_distributed_defect_device.py", + "symbol": "test_compiled_device_and_contact_neutrality_reuse_energy_expansions" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_distributed_defect_refinement.py", + "symbol": "test_registered_executor_real_cell_matches_exact_contract" + } + ], + "original_evidence": [ + { + "kind": "registered_contract", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "pointer": "/benchmarks/distributed-explicit-defect-internal-closure", + "value_sha256": "f3b2f71eac3b45a1cb47edff6e72d3bc184b169688e593c2d2c96ac89d1abdc9" + }, + "historical_source_sha256": "35165f16511bcf61a3eecec1c2391780249206aecc97fe17dd1cf30c046681be", + "scope_limitations": [ + "the source-clean 3x3 matrix at commit 8c1f7be997c0cb243229eda3d0c246ed45a0c340 completed 9/9 cells and 272/272 checks with certificate SHA-256 7d21a2c257c00660f6a2e9d5990820c29580c6b5c1315b00eb27eaa15c0b121f", + "the lane is restricted to uniform-layer Maxwell-Boltzmann quasi-steady QF/DC with frozen/no mobile ions", + "spatial grading, interfaces, AC, transient occupancy, tunnelling, multivalent defects, external SCAPS parity, and experimental validation remain absent" + ] + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "symbol": "test_mixed_distributed_species_close_in_illuminated_qf_jv" + }, + "test_node": "perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_mixed_distributed_species_close_in_illuminated_qf_jv", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_defect_distributions.py", + "symbol": "test_distributed_species_expansion_is_auditable_and_conservative" + }, + "test_node": "perovskite-sim/tests/unit/physics/test_defect_distributions.py::test_distributed_species_expansion_is_auditable_and_conservative", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_distributed_defect_closure.py", + "symbol": "test_source_aggregation_is_the_exact_sum_of_d2_energy_nodes" + }, + "test_node": "perovskite-sim/tests/unit/physics/test_distributed_defect_closure.py::test_source_aggregation_is_the_exact_sum_of_d2_energy_nodes", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_distributed_defect_device.py", + "symbol": "test_compiled_device_and_contact_neutrality_reuse_energy_expansions" + }, + "test_node": "perovskite-sim/tests/unit/physics/test_distributed_defect_device.py::test_compiled_device_and_contact_neutrality_reuse_energy_expansions", + "scope_docstring": null, + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_distributed_defect_refinement.py", + "symbol": "test_registered_executor_real_cell_matches_exact_contract" + }, + "test_node": "perovskite-sim/tests/unit/validation/test_distributed_defect_refinement.py::test_registered_executor_real_cell_matches_exact_contract", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + } + ], + "call_chains": [], + "original_scope_limitations": [ + "the source-clean 3x3 matrix at commit 8c1f7be997c0cb243229eda3d0c246ed45a0c340 completed 9/9 cells and 272/272 checks with certificate SHA-256 7d21a2c257c00660f6a2e9d5990820c29580c6b5c1315b00eb27eaa15c0b121f", + "the lane is restricted to uniform-layer Maxwell-Boltzmann quasi-steady QF/DC with frozen/no mobile ions", + "spatial grading, interfaces, AC, transient occupancy, tunnelling, multivalent defects, external SCAPS parity, and experimental validation remain absent" + ], + "active_contract": null, + "obligations": [ + { + "id": "new-source-benchmark-f55a467e6d6c9e27", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/benchmark-f55a467e6d6c9e27.json", + "tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "gates": [ + "G0", + "G3", + "G9" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof", + "per-physical-observable units/norm/reference scale/zero policy and applicable original or prospectively frozen threshold; test truth values do not fill this field" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-9be754e79922a10f8836400f", + "rule-214d9924db7738b2ccf7be07", + "rule-6ea161fc1e7315ea8db70e46", + "rule-ce2e04f7ec3bcd8ed0048298", + "rule-fb047f3bfc0cb99cf41abf5f", + "rule-1ff9833ed159a9e486f31e1d", + "rule-65312ff01b71735a918d056b", + "rule-192c7624e9f690624fba5649", + "rule-7e4f52f5bb8c1148e15b0bfc", + "rule-5a941c76c233a7499c39f7da", + "rule-3d5e2b3c76f62c3a346380d0", + "rule-a82cb5d83fd8874e7d20ab0d", + "rule-c7c0bbad10ab5bd04efe0b39", + "rule-26110df9c495455e4328809e", + "rule-d6544347c4f761d09f20297e", + "rule-857c2f12bf7141c1345e399a", + "rule-318777c414555cac7890c205", + "rule-79928c2c3389474929d50a0e", + "rule-1e44ef909aceb0f9a84a8d04", + "rule-d199861441e2fb3dcf9a62c6", + "rule-70121f107635a1c8328ca451", + "rule-ef022c8f3afd5c47816c6491", + "rule-1cd5b45bf24a992fd0c610d8", + "rule-881ba54c40f9d5f351b1a936", + "rule-ceb600ba6ca0ecc33117b5e9", + "rule-e496923003b5aacadde71e1c", + "rule-3b42ccc913657219bce34978", + "rule-b946adffbdd19fc79dc1359a", + "rule-9dd8cabd9b342890d7b6b2a7", + "rule-a7e3840f3f72fbde1a0cc051" + ], + "comparison_scope_id": "scope-benchmark-f55a467e6d6c9e27" + }, + { + "capability_id": "benchmark-94f2fd2efa41f878", + "route_id": "route-f13ea1085e6c91d1", + "origin_key": "benchmark:driftfusion-physical-regression", + "target": { + "capability_id": "benchmark-94f2fd2efa41f878", + "scope_id": "benchmark:driftfusion-physical-regression", + "kind": "original_scoped_assertions", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_assertions_bound", + "citations": [ + { + "source_id": "repository:perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "pointer": "/benchmarks/driftfusion-physical-regression", + "value_sha256": "24c1cfbba0cd1de9dc4e4219917af0a2d38f9b1f5e6081aa23c087c68128f931" + }, + { + "source_id": "repository:perovskite-sim/tests/validation/test_paper_configurations.py", + "symbol": "test_driftfusion_ff_in_expected_range" + }, + { + "source_id": "repository:perovskite-sim/tests/validation/test_paper_configurations.py", + "symbol": "test_driftfusion_hysteresis_increases_with_scan_rate" + }, + { + "source_id": "repository:perovskite-sim/tests/validation/test_paper_configurations.py", + "symbol": "test_driftfusion_illumination_slope_physical" + }, + { + "source_id": "repository:perovskite-sim/tests/validation/test_paper_configurations.py", + "symbol": "test_driftfusion_jsc_matches_beer_lambert" + }, + { + "source_id": "repository:perovskite-sim/tests/validation/test_paper_configurations.py", + "symbol": "test_driftfusion_paper_comparison_quantifies_low_voc_offset" + }, + { + "source_id": "repository:perovskite-sim/tests/validation/test_paper_configurations.py", + "symbol": "test_driftfusion_voc_in_expected_range" + } + ], + "original_evidence": [ + { + "kind": "registered_contract", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "pointer": "/benchmarks/driftfusion-physical-regression", + "value_sha256": "24c1cfbba0cd1de9dc4e4219917af0a2d38f9b1f5e6081aa23c087c68128f931" + }, + "historical_source_sha256": "35165f16511bcf61a3eecec1c2391780249206aecc97fe17dd1cf30c046681be", + "scope_limitations": [ + "hysteresis and illumination trends are internal qualitative guards", + "no digitized Calado transient curve is stored in the repository" + ] + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/validation/test_paper_configurations.py", + "symbol": "test_driftfusion_ff_in_expected_range" + }, + "test_node": "perovskite-sim/tests/validation/test_paper_configurations.py::test_driftfusion_ff_in_expected_range", + "scope_docstring": "FF must fall in the physically expected range.\n\nWith mu = 20 cm²/Vs (2e-3 m²/Vs) and tau = 100 ns, transport is not\nlimiting and FF should be in [0.50, 0.80].", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/validation/test_paper_configurations.py", + "symbol": "test_driftfusion_hysteresis_increases_with_scan_rate" + }, + "test_node": "perovskite-sim/tests/validation/test_paper_configurations.py::test_driftfusion_hysteresis_increases_with_scan_rate", + "scope_docstring": "HI at fast scan (10 V/s) must exceed HI at slow scan (0.1 V/s).\n\nIonic migration lags the voltage ramp at fast scan rates, producing\na wider hysteresis loop. This is a qualitative signature of mobile-ion\nphysics that any perovskite model must reproduce.", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/validation/test_paper_configurations.py", + "symbol": "test_driftfusion_illumination_slope_physical" + }, + "test_node": "perovskite-sim/tests/validation/test_paper_configurations.py::test_driftfusion_illumination_slope_physical", + "scope_docstring": "dV_oc / d(ln Phi) must be in [25, 80] mV per natural-log unit.\n\nThe ideality-factor-controlled slope should be n_id · kT/q with\nn_id ∈ [1.0, 3.1] for a device with both SRH and radiative recombination.", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/validation/test_paper_configurations.py", + "symbol": "test_driftfusion_jsc_matches_beer_lambert" + }, + "test_node": "perovskite-sim/tests/validation/test_paper_configurations.py::test_driftfusion_jsc_matches_beer_lambert", + "scope_docstring": "J_sc must be consistent with Beer-Lambert absorption.\n\nWith Phi = 1.4e21 m⁻² s⁻¹, alpha = 1.3e7 m⁻¹, L = 400 nm the theoretical\nmaximum is ≈ 220 A/m².", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/validation/test_paper_configurations.py", + "symbol": "test_driftfusion_paper_comparison_quantifies_low_voc_offset" + }, + "test_node": "perovskite-sim/tests/validation/test_paper_configurations.py::test_driftfusion_paper_comparison_quantifies_low_voc_offset", + "scope_docstring": "Quantify the known low V_oc offset against the Calado 2016 midpoint.", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/validation/test_paper_configurations.py", + "symbol": "test_driftfusion_voc_in_expected_range" + }, + "test_node": "perovskite-sim/tests/validation/test_paper_configurations.py::test_driftfusion_voc_in_expected_range", + "scope_docstring": "V_oc must fall in the physically expected range for Calado 2016.\n\nCalado 2016 reports V_oc ≈ 1.00–1.10 V for the spiro/MAPbI3/TiO2 stack\nwith tau = 100 ns, ni = 1e11 m⁻³, mu = 20 cm²/Vs. Our flat-band\nLEGACY reproduction gives V_oc ≈ 0.67 V — lower than the paper because\nour model uses different boundary-condition and recombination treatments.\nThe test window [0.55, 0.85] V validates that the flat-band device is\nfunctional and in the correct order of magnitude; it does not assert\nexact reproduction of the paper's V_oc.", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + } + ], + "call_chains": [], + "original_scope_limitations": [ + "hysteresis and illumination trends are internal qualitative guards", + "no digitized Calado transient curve is stored in the repository" + ], + "active_contract": null, + "obligations": [ + { + "id": "new-source-benchmark-94f2fd2efa41f878", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/benchmark-94f2fd2efa41f878.json", + "tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "gates": [ + "G0", + "G3", + "G9" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof", + "per-physical-observable units/norm/reference scale/zero policy and applicable original or prospectively frozen threshold; test truth values do not fill this field" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-8ec339ed466c11f5afb4a1b4", + "rule-19994f233c090d4894c0fd89", + "rule-d49815a6e63625a4f20c7577", + "rule-dba8e169c1ee80627be14f96", + "rule-12dfa956a44c058a6aa80143", + "rule-ed08cb3d296bb522313cba10", + "rule-f184774cdf83eb9e669406dd", + "rule-3c1d832d0d7e19ad9acf4415" + ], + "comparison_scope_id": "scope-benchmark-94f2fd2efa41f878" + }, + { + "capability_id": "benchmark-f2259e41f3b75254", + "route_id": "route-f13ea1085e6c91d1", + "origin_key": "benchmark:dynamic-defect-ion-impedance-production-closure", + "target": { + "capability_id": "benchmark-f2259e41f3b75254", + "scope_id": "benchmark:dynamic-defect-ion-impedance-production-closure", + "kind": "original_scoped_assertions", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_assertions_bound", + "citations": [ + { + "source_id": "repository:perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "pointer": "/benchmarks/dynamic-defect-ion-impedance-production-closure", + "value_sha256": "22a3f05b17cb01a0166c09bee98e2a323b7496503ed8d41e728077cf98982539" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_dynamic_defect_impedance.py", + "symbol": "test_public_bulk_dynamic_defect_impedance_is_protocol_bound_and_certified" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_dynamic_defect_impedance.py", + "symbol": "test_public_interface_dynamic_defect_impedance_uses_two_sided_faces" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_dynamic_defect_impedance.py", + "symbol": "test_public_triple_coupled_defect_ion_impedance_is_certified" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_dynamic_defect_impedance.py", + "symbol": "test_registered_production_executor_emits_exact_metrics_and_protocol" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_dynamic_defect_impedance_api.py", + "symbol": "test_real_dynamic_defect_impedance_api_serializes_protocol_and_evidence" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_dynamic_defect_impedance.py", + "symbol": "test_capability_classifier_routes_every_certified_combination" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_dynamic_defect_impedance.py", + "symbol": "test_effective_lifetime_only_stack_has_no_dynamic_defect_capability" + } + ], + "original_evidence": [ + { + "kind": "registered_contract", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "pointer": "/benchmarks/dynamic-defect-ion-impedance-production-closure", + "value_sha256": "22a3f05b17cb01a0166c09bee98e2a323b7496503ed8d41e728077cf98982539" + }, + "historical_source_sha256": "35165f16511bcf61a3eecec1c2391780249206aecc97fe17dd1cf30c046681be", + "scope_limitations": [ + "the source-bound 3x3 production matrix certifies grid, finite-difference, frequency-sampling, conservation, decomposition, DC-state, contact, and frequency-window gates; its current certificate identity is tracked in the explicit-defect development roadmap", + "the synthetic fixture contains one single-level acceptor plus one positive mobile-ion species; bulk-only and two-sided interface dispatch are covered by dedicated real integration tests", + "this is internal numerical evidence, not SCAPS parity, measured impedance validation, or unique defect-parameter identification" + ] + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_dynamic_defect_impedance.py", + "symbol": "test_public_bulk_dynamic_defect_impedance_is_protocol_bound_and_certified" + }, + "test_node": "perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_bulk_dynamic_defect_impedance_is_protocol_bound_and_certified", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_dynamic_defect_impedance.py", + "symbol": "test_public_interface_dynamic_defect_impedance_uses_two_sided_faces" + }, + "test_node": "perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_interface_dynamic_defect_impedance_uses_two_sided_faces", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_dynamic_defect_impedance.py", + "symbol": "test_public_triple_coupled_defect_ion_impedance_is_certified" + }, + "test_node": "perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_triple_coupled_defect_ion_impedance_is_certified", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_dynamic_defect_impedance.py", + "symbol": "test_registered_production_executor_emits_exact_metrics_and_protocol" + }, + "test_node": "perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_registered_production_executor_emits_exact_metrics_and_protocol", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_dynamic_defect_impedance_api.py", + "symbol": "test_real_dynamic_defect_impedance_api_serializes_protocol_and_evidence" + }, + "test_node": "perovskite-sim/tests/integration/test_dynamic_defect_impedance_api.py::test_real_dynamic_defect_impedance_api_serializes_protocol_and_evidence", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_dynamic_defect_impedance.py", + "symbol": "test_capability_classifier_routes_every_certified_combination" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_dynamic_defect_impedance.py::test_capability_classifier_routes_every_certified_combination", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_dynamic_defect_impedance.py", + "symbol": "test_effective_lifetime_only_stack_has_no_dynamic_defect_capability" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_dynamic_defect_impedance.py::test_effective_lifetime_only_stack_has_no_dynamic_defect_capability", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + } + ], + "call_chains": [], + "original_scope_limitations": [ + "the source-bound 3x3 production matrix certifies grid, finite-difference, frequency-sampling, conservation, decomposition, DC-state, contact, and frequency-window gates; its current certificate identity is tracked in the explicit-defect development roadmap", + "the synthetic fixture contains one single-level acceptor plus one positive mobile-ion species; bulk-only and two-sided interface dispatch are covered by dedicated real integration tests", + "this is internal numerical evidence, not SCAPS parity, measured impedance validation, or unique defect-parameter identification" + ], + "active_contract": null, + "obligations": [ + { + "id": "new-source-benchmark-f2259e41f3b75254", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/benchmark-f2259e41f3b75254.json", + "tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "gates": [ + "G0", + "G3", + "G9" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof", + "per-physical-observable units/norm/reference scale/zero policy and applicable original or prospectively frozen threshold; test truth values do not fill this field", + "the applicable gauge/CV/log-density/inventory or complex/circular-phase comparator with physical units; no generic scalar substitute" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-4a4450a717279d7a9cc77c2f", + "rule-bfce97ea1c6466983ae0e5ac", + "rule-88a9a247a7483ea993667868", + "rule-6320ae143a48ae94b5b3d2bb", + "rule-19667378b6e130d3f6034e16", + "rule-af35ebbad8b86cbb2ddfa6d4", + "rule-de6e5ec60719babee793b931", + "rule-93355d18cb3d6dc05528b9d5", + "rule-1435e79f45b24bc34ecf9337", + "rule-f4689c3810cdc076c0f3372d", + "rule-1cb532928d3d9cbfd620b4dc", + "rule-832aeb600609ef014785e343", + "rule-ddeb181fbf3810c218b4183d", + "rule-66a92058175056239e0b809c", + "rule-af29c80973cf66023570f4d2", + "rule-e9816328ee1456df11710e95", + "rule-9189d492735251bbdb17c6b9", + "rule-7444f0ca754c94c49766345f", + "rule-595b1ca097493921e6651984", + "rule-4c20a7a4bada2041bf96547b", + "rule-441b79a81068fb7d645a669f", + "rule-54e97008c58af57c1a1a95bc", + "rule-7b40bff2d74adbb3b0aafcad", + "rule-52fc77c3b31dabeb91062682", + "rule-cd5475030cfb5f1d81bf9b32", + "rule-94e914cf2e3fae220bd76f9c", + "rule-c21968072a125f9d0a5b8e07", + "rule-2aae92bbaaeadcbf99390bbf", + "rule-4600ba43fdfbf3f24c917280", + "rule-ea2147cb4b1302b36520efb9", + "rule-a4d172240d490b2fbda28745" + ], + "comparison_scope_id": "scope-benchmark-f2259e41f3b75254" + }, + { + "capability_id": "benchmark-4322a9e3b442d931", + "route_id": "route-f13ea1085e6c91d1", + "origin_key": "benchmark:dynamic-defect-ion-transient-production-closure", + "target": { + "capability_id": "benchmark-4322a9e3b442d931", + "scope_id": "benchmark:dynamic-defect-ion-transient-production-closure", + "kind": "original_scoped_assertions", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_assertions_bound", + "citations": [ + { + "source_id": "repository:perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "pointer": "/benchmarks/dynamic-defect-ion-transient-production-closure", + "value_sha256": "1bd1da42cba99535624f5af30f9fb7b133b18051c6d2e1e812c378a791e43d29" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_dynamic_defect_transient.py", + "symbol": "test_public_dynamic_defect_transient_is_protocol_bound_and_certified" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_dynamic_defect_transient_api.py", + "symbol": "test_real_dynamic_defect_transient_api_serializes_protocol_and_evidence" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/backend/test_dynamic_defect_transient_api.py", + "symbol": "test_job_rejects_invalid_contract_before_submit" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_dynamic_defect_transient.py", + "symbol": "test_protocol_round_trip_is_strict_canonical_and_content_addressed" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py", + "symbol": "test_production_executor_cell_runs_public_protocol_and_projection" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py", + "symbol": "test_production_v1_adds_only_public_wrapper_identity_gates" + } + ], + "original_evidence": [ + { + "kind": "registered_contract", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "pointer": "/benchmarks/dynamic-defect-ion-transient-production-closure", + "value_sha256": "1bd1da42cba99535624f5af30f9fb7b133b18051c6d2e1e812c378a791e43d29" + }, + "historical_source_sha256": "35165f16511bcf61a3eecec1c2391780249206aecc97fe17dd1cf30c046681be", + "scope_limitations": [ + "the source-clean v6 3x3 matrix at commit 4f13a4bebfc71275bb83394e184144965d1359a6 completed 9/9 cells without failure, missing cells, or reuse and passed 366/366 checks; run ID 464da3ec6e0bb94fbd40a82bdc9325b29eabbb6622dc8fcad699b505a4434f5f and certificate SHA-256 52c63f74e5e139487aebce1e3ebe576d4861fb566788261e40d594e8f76f703b", + "the v6 lane must execute the public wrapper independently for combined, defect-dominated, and ion-dominated cases and cannot inherit production certification from the E3c v5 internal adapter certificate", + "this is dark two-layer, one microscopic interface defect, absorber-positive-ion internal numerical evidence; it is not SCAPS transient parity, experimental validation, bulk-plus-ion or dual-ion production coverage" + ] + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_dynamic_defect_transient.py", + "symbol": "test_public_dynamic_defect_transient_is_protocol_bound_and_certified" + }, + "test_node": "perovskite-sim/tests/integration/test_dynamic_defect_transient.py::test_public_dynamic_defect_transient_is_protocol_bound_and_certified", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_dynamic_defect_transient_api.py", + "symbol": "test_real_dynamic_defect_transient_api_serializes_protocol_and_evidence" + }, + "test_node": "perovskite-sim/tests/integration/test_dynamic_defect_transient_api.py::test_real_dynamic_defect_transient_api_serializes_protocol_and_evidence", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/backend/test_dynamic_defect_transient_api.py", + "symbol": "test_job_rejects_invalid_contract_before_submit" + }, + "test_node": "perovskite-sim/tests/unit/backend/test_dynamic_defect_transient_api.py::test_job_rejects_invalid_contract_before_submit", + "scope_docstring": null, + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_dynamic_defect_transient.py", + "symbol": "test_protocol_round_trip_is_strict_canonical_and_content_addressed" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_dynamic_defect_transient.py::test_protocol_round_trip_is_strict_canonical_and_content_addressed", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py", + "symbol": "test_production_executor_cell_runs_public_protocol_and_projection" + }, + "test_node": "perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py::test_production_executor_cell_runs_public_protocol_and_projection", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py", + "symbol": "test_production_v1_adds_only_public_wrapper_identity_gates" + }, + "test_node": "perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py::test_production_v1_adds_only_public_wrapper_identity_gates", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + } + ], + "call_chains": [], + "original_scope_limitations": [ + "the source-clean v6 3x3 matrix at commit 4f13a4bebfc71275bb83394e184144965d1359a6 completed 9/9 cells without failure, missing cells, or reuse and passed 366/366 checks; run ID 464da3ec6e0bb94fbd40a82bdc9325b29eabbb6622dc8fcad699b505a4434f5f and certificate SHA-256 52c63f74e5e139487aebce1e3ebe576d4861fb566788261e40d594e8f76f703b", + "the v6 lane must execute the public wrapper independently for combined, defect-dominated, and ion-dominated cases and cannot inherit production certification from the E3c v5 internal adapter certificate", + "this is dark two-layer, one microscopic interface defect, absorber-positive-ion internal numerical evidence; it is not SCAPS transient parity, experimental validation, bulk-plus-ion or dual-ion production coverage" + ], + "active_contract": null, + "obligations": [ + { + "id": "new-source-benchmark-4322a9e3b442d931", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/benchmark-4322a9e3b442d931.json", + "tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "gates": [ + "G0", + "G3", + "G9" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof", + "per-physical-observable units/norm/reference scale/zero policy and applicable original or prospectively frozen threshold; test truth values do not fill this field" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-8b73a5996b8df46470ad3f43", + "rule-46c5af796c535952b9a7bb89", + "rule-db79fc474ca61342ea235bac", + "rule-d48b6a88dc1b9fcdb3efe492", + "rule-6c8a73e9f48c989da46c112f", + "rule-c30e53282ea9a2947a2c899c", + "rule-4489eb4a23583f6aeca400cf", + "rule-dd1666fa9876a2b78345bf87", + "rule-69857484185b02815d8a35f3", + "rule-446880dc9a70b697dd4606ac", + "rule-f1ec7303da9f399ab6e633f7", + "rule-b7c84575d4686b9c8ed85cf9", + "rule-928e4049b9787ac46f5d9387", + "rule-d95cc5be2cf7a05eb7f1a120", + "rule-c9f847b6773f5e1ee0b68d82", + "rule-9aa7a4ee3527f9ba0d0b6dfd", + "rule-b08ea99776cc210f55606c42", + "rule-39d4569e40b7ec42280c4770", + "rule-349f5f6ce87e79bebde31d29", + "rule-63fabb3134124bc21e096c9a", + "rule-b13712685b5f9d88eedb4af6", + "rule-a720ca44b0934e70b1a5395f", + "rule-eb1aeed943a8aecd02863878", + "rule-57aa2879ce905453dcca40fe", + "rule-be2cebc08fb9c61f8e9c3247", + "rule-bdb6eb8f72a8675654f21254", + "rule-b725492e88942efbbb727b96", + "rule-4f8107c11d281c35b48bb014", + "rule-1408d74856c361b14699a345", + "rule-9b04bd02c3d0f450e3780d6e", + "rule-c1c201fab6667e74a3c4fb73", + "rule-9a01c2ee4dca70721ab12192", + "rule-8e711a3ff36f84237bb89821", + "rule-27f37761ecc81b1bb7218767", + "rule-f5a2189d9582a88bc4a75e83", + "rule-491a4eea8ec785f3b4b17c9d", + "rule-671548b22cda03fd7ed7fbe0", + "rule-bb1d7d40eec47791f1348f2e", + "rule-70acbf82cfeb1829ec060ed4", + "rule-c83aebea44d6b49a84461bd4", + "rule-ae84825be5a53f99e880bd94", + "rule-e35cef3c9ff73b7368e5908a", + "rule-fd062cc57899753dadb480fc", + "rule-fe7f7f7e5f1228b68466017f", + "rule-0694964c301a3ee5a4811923", + "rule-baf982fd33574a4d2a4e0caf", + "rule-a16248a6a745a081daa324e6", + "rule-9e3fd39304943ae3c202ccce", + "rule-33fac13f734915fe826e1813", + "rule-0a2baaffb0c8e31724bc7b5d", + "rule-e01233520bd22c5ae6a16c71", + "rule-b6db8942053c39eefa206ed6", + "rule-9575e5851e162cdf2b5900b4", + "rule-33433139c43eaa30b49783a0", + "rule-5c99e34a00ffb400d2333a15", + "rule-dd74db6119eac2d8c34d1e6d", + "rule-3df1619d35855c8c9bcb6a2e", + "rule-9dae3449b19968464adabc70", + "rule-7907532dd755ff309553db55", + "rule-00ee335dab4e4a56853fd199" + ], + "comparison_scope_id": "scope-benchmark-4322a9e3b442d931" + }, + { + "capability_id": "benchmark-cc91d2d42ff5757d", + "route_id": "route-f13ea1085e6c91d1", + "origin_key": "benchmark:dynamic-defect-ion-transient-timescale-closure", + "target": { + "capability_id": "benchmark-cc91d2d42ff5757d", + "scope_id": "benchmark:dynamic-defect-ion-transient-timescale-closure", + "kind": "original_scoped_assertions", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_assertions_bound", + "citations": [ + { + "source_id": "repository:perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "pointer": "/benchmarks/dynamic-defect-ion-transient-timescale-closure", + "value_sha256": "3331988902897bc84db1830a147ccd32bffee9e49ed545bba0d3051a94ef2b49" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_interface_defect_ion_transient.py", + "symbol": "test_deep_time_refinement_retains_charge_and_all_face_current_closure" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_dynamic_storage.py", + "symbol": "test_log_density_increment_resolves_sub_ulp_relative_motion" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py", + "symbol": "test_reference_resolved_v5_changes_only_reference_and_stiffness_contract" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py", + "symbol": "test_registered_lane_freezes_three_by_three_timescale_contract" + } + ], + "original_evidence": [ + { + "kind": "registered_contract", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "pointer": "/benchmarks/dynamic-defect-ion-transient-timescale-closure", + "value_sha256": "3331988902897bc84db1830a147ccd32bffee9e49ed545bba0d3051a94ef2b49" + }, + "historical_source_sha256": "35165f16511bcf61a3eecec1c2391780249206aecc97fe17dd1cf30c046681be", + "scope_limitations": [ + "the source-clean v5 3x3 matrix at commit ba54ce2 completed 9/9 cells and 339/339 checks with certificate SHA-256 9eab2f9e251b8d4c0f7f3f07e0baeea9bb6497126ef8d8111eba1803947e5beb", + "v3 and v4 partial artifacts remain immutable evidence for absolute-DC-baseline and overly narrow stiffness-outcome failures; they are not reclassified by v5", + "the certified range is one absorber-mobile-ion, single-level two-sided-interface fixture and three registered timescale cases; the accelerated-ion probe is only a typed fail-closed stiffness boundary", + "this is internal numerical evidence, not SCAPS transient parity, experimental validation, production API certification, or unique parameter identification" + ] + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_interface_defect_ion_transient.py", + "symbol": "test_deep_time_refinement_retains_charge_and_all_face_current_closure" + }, + "test_node": "perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_deep_time_refinement_retains_charge_and_all_face_current_closure", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_dynamic_storage.py", + "symbol": "test_log_density_increment_resolves_sub_ulp_relative_motion" + }, + "test_node": "perovskite-sim/tests/unit/physics/test_dynamic_storage.py::test_log_density_increment_resolves_sub_ulp_relative_motion", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py", + "symbol": "test_reference_resolved_v5_changes_only_reference_and_stiffness_contract" + }, + "test_node": "perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py::test_reference_resolved_v5_changes_only_reference_and_stiffness_contract", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py", + "symbol": "test_registered_lane_freezes_three_by_three_timescale_contract" + }, + "test_node": "perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py::test_registered_lane_freezes_three_by_three_timescale_contract", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + } + ], + "call_chains": [], + "original_scope_limitations": [ + "the source-clean v5 3x3 matrix at commit ba54ce2 completed 9/9 cells and 339/339 checks with certificate SHA-256 9eab2f9e251b8d4c0f7f3f07e0baeea9bb6497126ef8d8111eba1803947e5beb", + "v3 and v4 partial artifacts remain immutable evidence for absolute-DC-baseline and overly narrow stiffness-outcome failures; they are not reclassified by v5", + "the certified range is one absorber-mobile-ion, single-level two-sided-interface fixture and three registered timescale cases; the accelerated-ion probe is only a typed fail-closed stiffness boundary", + "this is internal numerical evidence, not SCAPS transient parity, experimental validation, production API certification, or unique parameter identification" + ], + "active_contract": null, + "obligations": [ + { + "id": "new-source-benchmark-cc91d2d42ff5757d", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/benchmark-cc91d2d42ff5757d.json", + "tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "gates": [ + "G0", + "G3", + "G9" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof", + "per-physical-observable units/norm/reference scale/zero policy and applicable original or prospectively frozen threshold; test truth values do not fill this field" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-2cf1e95d4e3a5b4e698f7dc8", + "rule-4dd303afab01860520e8a351", + "rule-b2c0e0730392ae5c0761b46e", + "rule-4efbbbbfc1578e42850332dd", + "rule-ea751fed23dd1f729c7b27d5", + "rule-9e41a34790eb651b7d1b7f71", + "rule-7acfc0ff09b60eee4a1510f0", + "rule-6db3acd6bb1c5032b0eba588", + "rule-90f641a691e1460abc8549fa", + "rule-29934783487e6704f3363ed2", + "rule-d6f2e8c3ccec8754d2eb784b", + "rule-34a37664ccd86c9f6693eb16", + "rule-7a64349ef5a286124db81247", + "rule-679ad61dee8f5e050efd688d", + "rule-467118fd984ebaec9d6124de", + "rule-8a5d31111ca9c3fa673f076b", + "rule-c007b89572adad22e91e3e57", + "rule-1774c5c6f08a2bd1bdd32ad7", + "rule-46f366a02af3c73d6b42b9d6", + "rule-c2aac99e30d8375ff1440dad", + "rule-da1f0faa9927e378feb1e0e3", + "rule-967af32d9b8cc696d79523c6", + "rule-3345a8eb153ea695c39f6658", + "rule-a42da4cd3f4632b757da5e69", + "rule-114a0b02543ba2ed9b7a0a73", + "rule-62d40b54fe9c5b0bc91742fe", + "rule-419d37db0bd3ddd73ec6928d" + ], + "comparison_scope_id": "scope-benchmark-cc91d2d42ff5757d" + }, + { + "capability_id": "benchmark-86e2e70943004434", + "route_id": "route-f13ea1085e6c91d1", + "origin_key": "benchmark:external-series-shunt-dc-internal-closure", + "target": { + "capability_id": "benchmark-86e2e70943004434", + "scope_id": "benchmark:external-series-shunt-dc-internal-closure", + "kind": "original_scoped_assertions", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_assertions_bound", + "citations": [ + { + "source_id": "repository:perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "pointer": "/benchmarks/external-series-shunt-dc-internal-closure", + "value_sha256": "2fe5bc1b25491963cd9e576a06a04dd98f5edccfab754283d2bf74dfc38973b9" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_external_circuit_refinement.py", + "symbol": "test_real_registered_external_circuit_cell_returns_all_certificate_axes" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_external_circuit_refinement.py", + "symbol": "test_real_resolved_external_circuit_cell_covers_operating_quadrant" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_external_circuit_refinement.py", + "symbol": "test_executor_fails_closed_on_source_protocol_mismatch" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_external_circuit_refinement.py", + "symbol": "test_executor_matches_registry_and_binds_explicit_protocol" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_external_circuit_refinement.py", + "symbol": "test_resolved_executor_samples_fixed_terminal_power_quadrant" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_external_circuit_refinement.py", + "symbol": "test_study_protocol_is_identical_across_matrix_cells" + } + ], + "original_evidence": [ + { + "kind": "registered_contract", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "pointer": "/benchmarks/external-series-shunt-dc-internal-closure", + "value_sha256": "2fe5bc1b25491963cd9e576a06a04dd98f5edccfab754283d2bf74dfc38973b9" + }, + "historical_source_sha256": "35165f16511bcf61a3eecec1c2391780249206aecc97fe17dd1cf30c046681be", + "scope_limitations": [ + "the v1 full-trace matrix remains partial in its deep-forward-injection tail with certificate SHA-256 3eb975c938cd8bae2d022a37a4f6d2732a149d4dd63bb62ae7f4e0042ab5dc70", + "the source-clean v2 power-quadrant 3x3 matrix is internally certified at commit 2392ba3 with certificate SHA-256 a9f6d63a229ec613594d78d73a2ac94e6d0aea756c10e960948dc31123e1bf26", + "the area-normalized series and shunt resistance values are synthetic stress inputs, not fitted device parameters", + "this is an algebraic DC postprocess and excludes coupled circuit-device transients, heating, distributed resistance, and experimental validation" + ] + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_external_circuit_refinement.py", + "symbol": "test_real_registered_external_circuit_cell_returns_all_certificate_axes" + }, + "test_node": "perovskite-sim/tests/integration/test_external_circuit_refinement.py::test_real_registered_external_circuit_cell_returns_all_certificate_axes", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_external_circuit_refinement.py", + "symbol": "test_real_resolved_external_circuit_cell_covers_operating_quadrant" + }, + "test_node": "perovskite-sim/tests/integration/test_external_circuit_refinement.py::test_real_resolved_external_circuit_cell_covers_operating_quadrant", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_external_circuit_refinement.py", + "symbol": "test_executor_fails_closed_on_source_protocol_mismatch" + }, + "test_node": "perovskite-sim/tests/unit/validation/test_external_circuit_refinement.py::test_executor_fails_closed_on_source_protocol_mismatch", + "scope_docstring": null, + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_external_circuit_refinement.py", + "symbol": "test_executor_matches_registry_and_binds_explicit_protocol" + }, + "test_node": "perovskite-sim/tests/unit/validation/test_external_circuit_refinement.py::test_executor_matches_registry_and_binds_explicit_protocol", + "scope_docstring": null, + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_external_circuit_refinement.py", + "symbol": "test_resolved_executor_samples_fixed_terminal_power_quadrant" + }, + "test_node": "perovskite-sim/tests/unit/validation/test_external_circuit_refinement.py::test_resolved_executor_samples_fixed_terminal_power_quadrant", + "scope_docstring": null, + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_external_circuit_refinement.py", + "symbol": "test_study_protocol_is_identical_across_matrix_cells" + }, + "test_node": "perovskite-sim/tests/unit/validation/test_external_circuit_refinement.py::test_study_protocol_is_identical_across_matrix_cells", + "scope_docstring": null, + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + } + ], + "call_chains": [], + "original_scope_limitations": [ + "the v1 full-trace matrix remains partial in its deep-forward-injection tail with certificate SHA-256 3eb975c938cd8bae2d022a37a4f6d2732a149d4dd63bb62ae7f4e0042ab5dc70", + "the source-clean v2 power-quadrant 3x3 matrix is internally certified at commit 2392ba3 with certificate SHA-256 a9f6d63a229ec613594d78d73a2ac94e6d0aea756c10e960948dc31123e1bf26", + "the area-normalized series and shunt resistance values are synthetic stress inputs, not fitted device parameters", + "this is an algebraic DC postprocess and excludes coupled circuit-device transients, heating, distributed resistance, and experimental validation" + ], + "active_contract": null, + "obligations": [ + { + "id": "new-source-benchmark-86e2e70943004434", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/benchmark-86e2e70943004434.json", + "tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "gates": [ + "G0", + "G3", + "G9" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof", + "per-physical-observable units/norm/reference scale/zero policy and applicable original or prospectively frozen threshold; test truth values do not fill this field" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-186112dd9b964f27b31693ee", + "rule-f2d07c87fdb3bd78416563af", + "rule-f0b20accdc51f89b523f2ee7", + "rule-bd452457699dfa77bc471133", + "rule-fd7b2744edb277ebb5abc82a", + "rule-b505041a2b19b3ee744899ec", + "rule-0271bea07b1b6f51d25db65a", + "rule-680bf0369c45ac339f851753", + "rule-6aab3e5315c15c80af0b48c9", + "rule-bdfc1d1a4a1213ef2dcdbf18", + "rule-8a5246ed823ec087a38502e0", + "rule-6f8ce58efc61e30ad634a2b9", + "rule-e134d359a2083a90bc569502", + "rule-f090a5a160e9b18b105aa473", + "rule-1df562f78ec7a414dfee12d6", + "rule-7f2c4adb3f9c697c4c1238ef", + "rule-5ac4090642d30185501ce99b", + "rule-23f84ef51f4185350b63df2c", + "rule-edd63cc81213c7b465b368f1", + "rule-3c6cfb929016816d1edc817c", + "rule-e4ed4529b47c5827554ab2b1", + "rule-788feda7b22388194d79dda1", + "rule-1dec80ffff98dc9e4d243b70", + "rule-0489b0cbf43c54c57dbbfc60", + "rule-418b4afaaebb7ad182f3c393", + "rule-b4c5d1fefb1bb3745b422a55", + "rule-3b9c3207a4c265edc90031c3", + "rule-4ceab6afb4b1c0a41c85f643", + "rule-82a16881c9a59c63e5ab5ee4", + "rule-f4a95a8ca453863da1516964", + "rule-7075028dcce2a17d9bbd09b2", + "rule-2f884ce75cf5200fb9143e68", + "rule-aad38e6e9a1409e285914d19", + "rule-acb4863701e5c4797c6991fb", + "rule-87718558833684c50962d1af", + "rule-e4330e8ebe02b2e91bd7a6d6", + "rule-3916f757e7a6e351b4230e47", + "rule-5ec2bf1634d8897ce4fe816d", + "rule-0b9a6de9fc6e4f1dc943ffe1", + "rule-bf57a2348a523acf39c9efbf", + "rule-93e359e2e7182066fba74e20", + "rule-4b5cff2ad90a87cc7ca99e37", + "rule-b50023c9c0f24373af436db2", + "rule-708172345ad2547484916a33" + ], + "comparison_scope_id": "scope-benchmark-86e2e70943004434" + }, + { + "capability_id": "benchmark-00cbe610b0bd55b6", + "route_id": "route-f13ea1085e6c91d1", + "origin_key": "benchmark:foundation-mobile-ion-reference", + "target": { + "capability_id": "benchmark-00cbe610b0bd55b6", + "scope_id": "benchmark:foundation-mobile-ion-reference", + "kind": "original_scoped_assertions", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_assertions_bound", + "citations": [ + { + "source_id": "repository:perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "pointer": "/benchmarks/foundation-mobile-ion-reference", + "value_sha256": "6aa2a79af6ef979249cf2ae58f24adb1e5dd2b61f99e20acc84c9f418a78a528" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_foundation_mobile_refinement.py", + "symbol": "test_space_refinement_preserves_each_ion_inventory_and_profiles" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_foundation_mobile_refinement.py", + "symbol": "test_time_refinement_preserves_the_same_ramp_and_hold" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_foundation_mobile_refinement.py", + "symbol": "test_tolerance_refinement_preserves_mobile_and_electronic_states" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_accepted_trajectory.py", + "symbol": "test_capacity_excursion_is_detected_between_admissible_output_samples" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_accepted_trajectory.py", + "symbol": "test_negative_accepted_density_is_detected_between_positive_output_samples" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_accepted_trajectory.py", + "symbol": "test_observing_accepted_states_preserves_samples_steps_and_rhs_counts" + } + ], + "original_evidence": [ + { + "kind": "registered_contract", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "pointer": "/benchmarks/foundation-mobile-ion-reference", + "value_sha256": "6aa2a79af6ef979249cf2ae58f24adb1e5dd2b61f99e20acc84c9f418a78a528" + }, + "historical_source_sha256": "35165f16511bcf61a3eecec1c2391780249206aecc97fe17dd1cf30c046681be", + "scope_limitations": [ + "Prepared uniform compensated single/dual ions, fixed light step and voltage ramp/hold on the synthetic physical p-i-n input. Diffusivities are accelerated numerical inputs, not material migration coefficients.", + "The complete early-time carrier, potential, current and ionic histories must pass 176/352/704 lead-resolved spatial refinement plus independent internal time-step and tolerance refinements. Earlier unresolved meshes remain failed evidence.", + "Per-species particle numbers and physical limits are retained throughout. This is internal numerical evidence, not chemical lifetime or experimental validation. See docs/FoundationReferenceValidationContractV2.md.", + "Sampled-history convergence and the additional every-accepted-step domain audit pass in both recorded environments under docs/AcceptedTrajectoryValidationContractV1.md. The observer preserves the original returned states and solver evaluations." + ] + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_foundation_mobile_refinement.py", + "symbol": "test_space_refinement_preserves_each_ion_inventory_and_profiles" + }, + "test_node": "perovskite-sim/tests/integration/test_foundation_mobile_refinement.py::test_space_refinement_preserves_each_ion_inventory_and_profiles", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_foundation_mobile_refinement.py", + "symbol": "test_time_refinement_preserves_the_same_ramp_and_hold" + }, + "test_node": "perovskite-sim/tests/integration/test_foundation_mobile_refinement.py::test_time_refinement_preserves_the_same_ramp_and_hold", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_foundation_mobile_refinement.py", + "symbol": "test_tolerance_refinement_preserves_mobile_and_electronic_states" + }, + "test_node": "perovskite-sim/tests/integration/test_foundation_mobile_refinement.py::test_tolerance_refinement_preserves_mobile_and_electronic_states", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_accepted_trajectory.py", + "symbol": "test_capacity_excursion_is_detected_between_admissible_output_samples" + }, + "test_node": "perovskite-sim/tests/unit/validation/test_accepted_trajectory.py::test_capacity_excursion_is_detected_between_admissible_output_samples", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_accepted_trajectory.py", + "symbol": "test_negative_accepted_density_is_detected_between_positive_output_samples" + }, + "test_node": "perovskite-sim/tests/unit/validation/test_accepted_trajectory.py::test_negative_accepted_density_is_detected_between_positive_output_samples", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_accepted_trajectory.py", + "symbol": "test_observing_accepted_states_preserves_samples_steps_and_rhs_counts" + }, + "test_node": "perovskite-sim/tests/unit/validation/test_accepted_trajectory.py::test_observing_accepted_states_preserves_samples_steps_and_rhs_counts", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + } + ], + "call_chains": [], + "original_scope_limitations": [ + "Prepared uniform compensated single/dual ions, fixed light step and voltage ramp/hold on the synthetic physical p-i-n input. Diffusivities are accelerated numerical inputs, not material migration coefficients.", + "The complete early-time carrier, potential, current and ionic histories must pass 176/352/704 lead-resolved spatial refinement plus independent internal time-step and tolerance refinements. Earlier unresolved meshes remain failed evidence.", + "Per-species particle numbers and physical limits are retained throughout. This is internal numerical evidence, not chemical lifetime or experimental validation. See docs/FoundationReferenceValidationContractV2.md.", + "Sampled-history convergence and the additional every-accepted-step domain audit pass in both recorded environments under docs/AcceptedTrajectoryValidationContractV1.md. The observer preserves the original returned states and solver evaluations." + ], + "active_contract": null, + "obligations": [ + { + "id": "new-source-benchmark-00cbe610b0bd55b6", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/benchmark-00cbe610b0bd55b6.json", + "tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "gates": [ + "G0", + "G3", + "G9" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof", + "per-physical-observable units/norm/reference scale/zero policy and applicable original or prospectively frozen threshold; test truth values do not fill this field" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-ab4a80f4c9ef032954998eb0", + "rule-161b4b1deefc0232f0325278", + "rule-b19ea209b388c2fc55375066", + "rule-38623119cf083217b333111e", + "rule-74e50f750dea5f3dc1c8e841", + "rule-f02c8b91c3223975732c9915", + "rule-7aca8691924c40a1e4952635", + "rule-9247b50f2b4fcc6a861aa4e2", + "rule-799cabe43a54569adf4a4e00", + "rule-e859a624426e6a8195bd77a0", + "rule-f430934fd28fb096e44787dc", + "rule-464d9934fb97376f40746e78", + "rule-ec1dd948f2534f7bd7e6a834" + ], + "comparison_scope_id": "scope-benchmark-00cbe610b0bd55b6" + }, + { + "capability_id": "benchmark-5c45d777007899c9", + "route_id": "route-f13ea1085e6c91d1", + "origin_key": "benchmark:foundation-physical-homojunction-reference", + "target": { + "capability_id": "benchmark-5c45d777007899c9", + "scope_id": "benchmark:foundation-physical-homojunction-reference", + "kind": "original_scoped_assertions", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_assertions_bound", + "citations": [ + { + "source_id": "repository:perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "pointer": "/benchmarks/foundation-physical-homojunction-reference", + "value_sha256": "4ce3120339bd95ca188fce3fb1fed000a1251344b3d4a9fd1fb4c1fdf082c393" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_foundation_reference_refinement.py", + "symbol": "test_definition_keeps_physical_scales_and_independent_refinements" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_foundation_reference_refinement.py", + "symbol": "test_equilibrium_preserves_subunit_contact_density_and_mass_action" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_foundation_reference_refinement.py", + "symbol": "test_real_reference_cell_certifies_all_operating_points_and_optical_power" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_foundation_reference_refinement.py", + "symbol": "test_resolved_reference_keeps_all_original_physical_limits" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_foundation_reference_sampling.py", + "symbol": "test_balanced_mesh_preserves_physical_absorber_volume" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_foundation_reference_sampling.py", + "symbol": "test_subdivision_preserves_the_same_nonzero_face_current" + } + ], + "original_evidence": [ + { + "kind": "registered_contract", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "pointer": "/benchmarks/foundation-physical-homojunction-reference", + "value_sha256": "4ce3120339bd95ca188fce3fb1fed000a1251344b3d4a9fd1fb4c1fdf082c393" + }, + "historical_source_sha256": "35165f16511bcf61a3eecec1c2391780249206aecc97fe17dd1cf30c046681be", + "scope_limitations": [ + "Synthetic 300 K p-i-n homojunction with declared 2 eV monochromatic power and fixed physical normalization. The v1 uniform/log-sampling matrix remains partial; v2 passes its separate source-bound matrix under identical limits in two numerical environments. This does not complete dynamic or full foundation validation.", + "This numerical reference excludes material fitting, AM1.5G efficiency, optical emission balance, mobile ions and external validation. See docs/FoundationReferenceValidationContractV2.md." + ] + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_foundation_reference_refinement.py", + "symbol": "test_definition_keeps_physical_scales_and_independent_refinements" + }, + "test_node": "perovskite-sim/tests/unit/validation/test_foundation_reference_refinement.py::test_definition_keeps_physical_scales_and_independent_refinements", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_foundation_reference_refinement.py", + "symbol": "test_equilibrium_preserves_subunit_contact_density_and_mass_action" + }, + "test_node": "perovskite-sim/tests/unit/validation/test_foundation_reference_refinement.py::test_equilibrium_preserves_subunit_contact_density_and_mass_action", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_foundation_reference_refinement.py", + "symbol": "test_real_reference_cell_certifies_all_operating_points_and_optical_power" + }, + "test_node": "perovskite-sim/tests/unit/validation/test_foundation_reference_refinement.py::test_real_reference_cell_certifies_all_operating_points_and_optical_power", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_foundation_reference_refinement.py", + "symbol": "test_resolved_reference_keeps_all_original_physical_limits" + }, + "test_node": "perovskite-sim/tests/unit/validation/test_foundation_reference_refinement.py::test_resolved_reference_keeps_all_original_physical_limits", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_foundation_reference_sampling.py", + "symbol": "test_balanced_mesh_preserves_physical_absorber_volume" + }, + "test_node": "perovskite-sim/tests/unit/validation/test_foundation_reference_sampling.py::test_balanced_mesh_preserves_physical_absorber_volume", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_foundation_reference_sampling.py", + "symbol": "test_subdivision_preserves_the_same_nonzero_face_current" + }, + "test_node": "perovskite-sim/tests/unit/validation/test_foundation_reference_sampling.py::test_subdivision_preserves_the_same_nonzero_face_current", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + } + ], + "call_chains": [], + "original_scope_limitations": [ + "Synthetic 300 K p-i-n homojunction with declared 2 eV monochromatic power and fixed physical normalization. The v1 uniform/log-sampling matrix remains partial; v2 passes its separate source-bound matrix under identical limits in two numerical environments. This does not complete dynamic or full foundation validation.", + "This numerical reference excludes material fitting, AM1.5G efficiency, optical emission balance, mobile ions and external validation. See docs/FoundationReferenceValidationContractV2.md." + ], + "active_contract": null, + "obligations": [ + { + "id": "new-source-benchmark-5c45d777007899c9", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/benchmark-5c45d777007899c9.json", + "tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "gates": [ + "G0", + "G3", + "G9" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof", + "per-physical-observable units/norm/reference scale/zero policy and applicable original or prospectively frozen threshold; test truth values do not fill this field" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-ad4e048b15990c322c6e02b8", + "rule-b2d112215b360a25c55a495b", + "rule-af9ad5d52ddd058ac42b4849", + "rule-9df1d9cfecd480f881c4604e", + "rule-e7f7139b0eb254b4d3f89077", + "rule-7591bd3c821afeb8acfa1d35", + "rule-8b0d90adcf808bd7b459515a", + "rule-3da60e3bfe7ad85a54520ca7", + "rule-26738c93da06040d409b1eed", + "rule-2c218ce4a343bf4ab3fc7655", + "rule-224c41066f5741853ef7001a", + "rule-c743d232fd40a864f68d3e86", + "rule-6aac6e567896f9384e9bcc1a", + "rule-b93bbc2f77fe15cf21379a22", + "rule-0e5e0062fb90abf829b12a19", + "rule-c49b24dc2229e4e16c775ff9", + "rule-a8643f506867198fbf3b9b46", + "rule-f287f6d3c4400c4fd35eb7f8", + "rule-47b1e47477ca9fbebfb68161", + "rule-60ecd67ebfe6d17bb95fbbce", + "rule-5f8d455d4bc13f28a2efd40a", + "rule-f16688087981908da62bc50c", + "rule-8bde2712037c67acdcf3ac79", + "rule-a355165304a84ae9d731f793", + "rule-480f9932d8f4c69eac7e0e52", + "rule-daef4af982f98db57da1e549", + "rule-7b2e6cde3e14786dbb6741d7", + "rule-7f998b950a7b43b39fd3e837", + "rule-156b7264282c9b5c47adbf19", + "rule-78590c484753126a7c1fe86b", + "rule-fa34d4d6c4e8b9800db633dd", + "rule-6de411a39f0141afce152b97", + "rule-865eca66381c5d7a1d378193", + "rule-b58846ab122d5a273c9a7109", + "rule-1091bd49a904573078aeef89", + "rule-b04321d1502c3e749342bb8c" + ], + "comparison_scope_id": "scope-benchmark-5c45d777007899c9" + }, + { + "capability_id": "benchmark-5223cbf1b1ff2fbd", + "route_id": "route-f13ea1085e6c91d1", + "origin_key": "benchmark:foundation-tpv-frozen-ion-reference", + "target": { + "capability_id": "benchmark-5223cbf1b1ff2fbd", + "scope_id": "benchmark:foundation-tpv-frozen-ion-reference", + "kind": "original_scoped_assertions", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_assertions_bound", + "citations": [ + { + "source_id": "repository:perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "pointer": "/benchmarks/foundation-tpv-frozen-ion-reference", + "value_sha256": "60831da912b68ba5d74aaef4ebbc7496d91bac3cbb0fae6c5e4da68e6649650b" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_degradation_snapshot_refinement.py", + "symbol": "test_snapshot_metrics_are_independent_of_preparation_step_size" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_degradation_snapshot_refinement.py", + "symbol": "test_snapshot_voltage_sampling_resolves_voc_jsc_and_ff" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_foundation_tpv_spatial_refinement.py", + "symbol": "test_three_spatial_levels_resolve_the_same_physical_tpv" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_tpv_open_circuit_refinement.py", + "symbol": "test_three_time_levels_preserve_the_same_pulse_and_preparation" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_tpv_open_circuit_refinement.py", + "symbol": "test_three_tolerance_levels_resolve_the_same_waveform" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_tpv_open_circuit_refinement.py", + "symbol": "test_two_amplitude_halvings_recover_the_small_signal_limit" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_degradation_frozen_ions.py", + "symbol": "test_nonuniform_ions_have_zero_frozen_flux_and_never_move" + } + ], + "original_evidence": [ + { + "kind": "registered_contract", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "pointer": "/benchmarks/foundation-tpv-frozen-ion-reference", + "value_sha256": "60831da912b68ba5d74aaef4ebbc7496d91bac3cbb0fae6c5e4da68e6649650b" + }, + "historical_source_sha256": "35165f16511bcf61a3eecec1c2391780249206aecc97fe17dd1cf30c046681be", + "scope_limitations": [ + "Synthetic p-i-n input for internal TPV and frozen-ion numerical checks. No optical-spectrum, material-parameter or experimental calibration is claimed.", + "TPV time/tolerance/amplitude and spatial checks plus frozen-ion snapshot time/voltage checks are internally verified. Browser rendering and full foundation-stage completion are separate." + ] + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_degradation_snapshot_refinement.py", + "symbol": "test_snapshot_metrics_are_independent_of_preparation_step_size" + }, + "test_node": "perovskite-sim/tests/integration/test_degradation_snapshot_refinement.py::test_snapshot_metrics_are_independent_of_preparation_step_size", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_degradation_snapshot_refinement.py", + "symbol": "test_snapshot_voltage_sampling_resolves_voc_jsc_and_ff" + }, + "test_node": "perovskite-sim/tests/integration/test_degradation_snapshot_refinement.py::test_snapshot_voltage_sampling_resolves_voc_jsc_and_ff", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_foundation_tpv_spatial_refinement.py", + "symbol": "test_three_spatial_levels_resolve_the_same_physical_tpv" + }, + "test_node": "perovskite-sim/tests/integration/test_foundation_tpv_spatial_refinement.py::test_three_spatial_levels_resolve_the_same_physical_tpv", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_tpv_open_circuit_refinement.py", + "symbol": "test_three_time_levels_preserve_the_same_pulse_and_preparation" + }, + "test_node": "perovskite-sim/tests/integration/test_tpv_open_circuit_refinement.py::test_three_time_levels_preserve_the_same_pulse_and_preparation", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_tpv_open_circuit_refinement.py", + "symbol": "test_three_tolerance_levels_resolve_the_same_waveform" + }, + "test_node": "perovskite-sim/tests/integration/test_tpv_open_circuit_refinement.py::test_three_tolerance_levels_resolve_the_same_waveform", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_tpv_open_circuit_refinement.py", + "symbol": "test_two_amplitude_halvings_recover_the_small_signal_limit" + }, + "test_node": "perovskite-sim/tests/integration/test_tpv_open_circuit_refinement.py::test_two_amplitude_halvings_recover_the_small_signal_limit", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_degradation_frozen_ions.py", + "symbol": "test_nonuniform_ions_have_zero_frozen_flux_and_never_move" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_degradation_frozen_ions.py::test_nonuniform_ions_have_zero_frozen_flux_and_never_move", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + } + ], + "call_chains": [], + "original_scope_limitations": [ + "Synthetic p-i-n input for internal TPV and frozen-ion numerical checks. No optical-spectrum, material-parameter or experimental calibration is claimed.", + "TPV time/tolerance/amplitude and spatial checks plus frozen-ion snapshot time/voltage checks are internally verified. Browser rendering and full foundation-stage completion are separate." + ], + "active_contract": null, + "obligations": [ + { + "id": "new-source-benchmark-5223cbf1b1ff2fbd", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/benchmark-5223cbf1b1ff2fbd.json", + "tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "gates": [ + "G0", + "G3", + "G9" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof", + "per-physical-observable units/norm/reference scale/zero policy and applicable original or prospectively frozen threshold; test truth values do not fill this field" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-a6e920bf9086761598bec454", + "rule-22e7dec9917cd5f355fc77db", + "rule-bd84236f25d3dfebba8c53b4", + "rule-6732930f1f2bd464b80f26b2", + "rule-63b5eb87b6a4c35d1828e347", + "rule-42d2c073e7d29ae3bbb40b61", + "rule-c3cf5ad1be088c3bcf8c967d", + "rule-e3d03ea695e0818b5be9f2f0", + "rule-829e6f29dc358d3a34148a85", + "rule-b1373156a7202e953c3f4342", + "rule-b125ea83a7a4b43628fb0e02", + "rule-8ac736746e54fff08bc554c4", + "rule-4b8ddfe7ca36fbe5b1683690", + "rule-1e352273f3c7f432b36155ee", + "rule-6ba65fe83ae52ea630168d4d", + "rule-68bb0a68424341aa50c1c413", + "rule-6cf695e7b480742f7e25f4de" + ], + "comparison_scope_id": "scope-benchmark-5223cbf1b1ff2fbd" + }, + { + "capability_id": "benchmark-d84b2405628c3df6", + "route_id": "route-f13ea1085e6c91d1", + "origin_key": "benchmark:foundation-twod-active-transport-reference", + "target": { + "capability_id": "benchmark-d84b2405628c3df6", + "scope_id": "benchmark:foundation-twod-active-transport-reference", + "kind": "original_scoped_assertions", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_assertions_bound", + "citations": [ + { + "source_id": "repository:perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "pointer": "/benchmarks/foundation-twod-active-transport-reference", + "value_sha256": "f479102cd8c38cc9bfe4cee289a5a87b8fd932bc510434d135b1fae148c6b5ed" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_foundation_twod_axis_refinement.py", + "symbol": "test_lateral_refinement_preserves_the_uniform_state_and_currents" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_foundation_twod_axis_refinement.py", + "symbol": "test_vertical_refinement_approaches_the_same_active_transport_limit" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_twod_combined_refinement.py", + "symbol": "test_registered_twod_matrix_keeps_every_accepted_state_physical" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/twod/test_jv_sweep_2d_microstructure.py", + "symbol": "test_jv_sweep_2d_singleGB_runs_to_completion" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_accepted_trajectory.py", + "symbol": "test_observing_accepted_states_preserves_samples_steps_and_rhs_counts" + } + ], + "original_evidence": [ + { + "kind": "registered_contract", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "pointer": "/benchmarks/foundation-twod-active-transport-reference", + "value_sha256": "f479102cd8c38cc9bfe4cee289a5a87b8fd932bc510434d135b1fae148c6b5ed" + }, + "historical_source_sha256": "35165f16511bcf61a3eecec1c2391780249206aecc97fe17dd1cf30c046681be", + "scope_limitations": [ + "The independent-axis case is defined by explicit synthetic material parameters in the test, with mixed carrier contacts, active physically normalized thermionic caps and no moving ions.", + "The YAML is used only for the separate five-nanometre grain-boundary/no-boundary control. Its former unsupported 0.1 percent suppression assertion is withdrawn; causal response must exceed measured numerical uncertainty.", + "These checks do not extend the registered heterogeneous 2D mobile-ion scope or establish material-specific grain-boundary predictions. See docs/TwodTransportContract.md.", + "The accepted-step audit also covers the declared one-dimensional preparation of the heterogeneous matrix and passes in both recorded environments under docs/AcceptedTrajectoryValidationContractV1.md. Its original numerical and physical scope is unchanged." + ] + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_foundation_twod_axis_refinement.py", + "symbol": "test_lateral_refinement_preserves_the_uniform_state_and_currents" + }, + "test_node": "perovskite-sim/tests/integration/test_foundation_twod_axis_refinement.py::test_lateral_refinement_preserves_the_uniform_state_and_currents", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_foundation_twod_axis_refinement.py", + "symbol": "test_vertical_refinement_approaches_the_same_active_transport_limit" + }, + "test_node": "perovskite-sim/tests/integration/test_foundation_twod_axis_refinement.py::test_vertical_refinement_approaches_the_same_active_transport_limit", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_twod_combined_refinement.py", + "symbol": "test_registered_twod_matrix_keeps_every_accepted_state_physical" + }, + "test_node": "perovskite-sim/tests/integration/test_twod_combined_refinement.py::test_registered_twod_matrix_keeps_every_accepted_state_physical", + "scope_docstring": null, + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/twod/test_jv_sweep_2d_microstructure.py", + "symbol": "test_jv_sweep_2d_singleGB_runs_to_completion" + }, + "test_node": "perovskite-sim/tests/integration/twod/test_jv_sweep_2d_microstructure.py::test_jv_sweep_2d_singleGB_runs_to_completion", + "scope_docstring": "End-to-end Stage-B smoke test: run_jv_sweep_2d on the singleGB preset\nmust accept microstructure=None (auto-pickup from stack.microstructure),\nfinish without solver blow-up, and exhibit measurable τ heterogeneity at\nthe GB column relative to the bulk column at V=0.", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_accepted_trajectory.py", + "symbol": "test_observing_accepted_states_preserves_samples_steps_and_rhs_counts" + }, + "test_node": "perovskite-sim/tests/unit/validation/test_accepted_trajectory.py::test_observing_accepted_states_preserves_samples_steps_and_rhs_counts", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + } + ], + "call_chains": [], + "original_scope_limitations": [ + "The independent-axis case is defined by explicit synthetic material parameters in the test, with mixed carrier contacts, active physically normalized thermionic caps and no moving ions.", + "The YAML is used only for the separate five-nanometre grain-boundary/no-boundary control. Its former unsupported 0.1 percent suppression assertion is withdrawn; causal response must exceed measured numerical uncertainty.", + "These checks do not extend the registered heterogeneous 2D mobile-ion scope or establish material-specific grain-boundary predictions. See docs/TwodTransportContract.md.", + "The accepted-step audit also covers the declared one-dimensional preparation of the heterogeneous matrix and passes in both recorded environments under docs/AcceptedTrajectoryValidationContractV1.md. Its original numerical and physical scope is unchanged." + ], + "active_contract": null, + "obligations": [ + { + "id": "new-source-benchmark-d84b2405628c3df6", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/benchmark-d84b2405628c3df6.json", + "tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "gates": [ + "G0", + "G3", + "G9" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof", + "per-physical-observable units/norm/reference scale/zero policy and applicable original or prospectively frozen threshold; test truth values do not fill this field" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-49265c9f4b3f9fc0602233ef", + "rule-b46fcea38bb8adedec55a39b", + "rule-16d2850280762a48f60b946b", + "rule-39fea0d79a4dab4e5fa90d32", + "rule-3c3d3927791582e142dc3e5e", + "rule-bbdcc0425b8e984f6c4a8b62", + "rule-da924f3cd58b31d4d0305861", + "rule-50a8f231cd44d0f5dc5b47ac", + "rule-014efc89b14e3c10915165b7", + "rule-09d44f51cc332a9a9f601d71", + "rule-d7a2d65dbf0f2475d248570a", + "rule-5075de56292d25e647fce26e", + "rule-847b84fea682ca328f77625b", + "rule-e7990c7b90c4602c76af256c", + "rule-aff30ce10b52e7e117b76152", + "rule-5b059486b53c0163cf3237e1", + "rule-4f4741efd8141168bb248fff", + "rule-668a1302de81ffacd9f6bacd", + "rule-f132ad8d4982215e8c025349", + "rule-02681efe2b124de9d4ad016f", + "rule-be24015e0b77410009fc0805", + "rule-e30feb0cbc54d28146f47d64", + "rule-799cabe43a54569adf4a4e00", + "rule-e859a624426e6a8195bd77a0", + "rule-f430934fd28fb096e44787dc", + "rule-464d9934fb97376f40746e78", + "rule-ec1dd948f2534f7bd7e6a834" + ], + "comparison_scope_id": "scope-benchmark-d84b2405628c3df6" + }, + { + "capability_id": "benchmark-ae94b012055aa10b", + "route_id": "route-f13ea1085e6c91d1", + "origin_key": "benchmark:incomplete-ionization-bgn-internal-closure", + "target": { + "capability_id": "benchmark-ae94b012055aa10b", + "scope_id": "benchmark:incomplete-ionization-bgn-internal-closure", + "kind": "original_scoped_assertions", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_assertions_bound", + "citations": [ + { + "source_id": "repository:perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "pointer": "/benchmarks/incomplete-ionization-bgn-internal-closure", + "value_sha256": "71532e888e71d9feecdb5f38ad965d08b4ddc76499a8a9565168cf46082ded32" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_band_gap_narrowing.py", + "symbol": "test_slotboom_is_monotone_and_stable_below_ratio_underflow" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_contact_statistics.py", + "symbol": "test_slotboom_contact_state_uses_narrowed_band_edges" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py", + "symbol": "test_incomplete_ionization_and_bgn_equilibrium_close_together" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py", + "symbol": "test_research_material_composes_bgn_with_incomplete_ionization" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_bgn_refinement.py", + "symbol": "test_registered_executor_real_temperature_cell_matches_contract" + } + ], + "original_evidence": [ + { + "kind": "registered_contract", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "pointer": "/benchmarks/incomplete-ionization-bgn-internal-closure", + "value_sha256": "71532e888e71d9feecdb5f38ad965d08b4ddc76499a8a9565168cf46082ded32" + }, + "historical_source_sha256": "35165f16511bcf61a3eecec1c2391780249206aecc97fe17dd1cf30c046681be", + "scope_limitations": [ + "the source-clean 3x3 matrix is internally certified at commit d34ef7f with certificate SHA-256 bc1285a3ef9d42e1e6346aedad33ad3871b5597a7b409f4ea002bf029f024ce6", + "the lane is a dark, homogeneous, recombination-off research equilibrium and not a production J-V, C-V, or impedance route", + "Slotboom coefficients are an empirical silicon closure; external Sentaurus or PC1D validation and experimental validation remain absent" + ] + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_band_gap_narrowing.py", + "symbol": "test_slotboom_is_monotone_and_stable_below_ratio_underflow" + }, + "test_node": "perovskite-sim/tests/unit/physics/test_band_gap_narrowing.py::test_slotboom_is_monotone_and_stable_below_ratio_underflow", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_contact_statistics.py", + "symbol": "test_slotboom_contact_state_uses_narrowed_band_edges" + }, + "test_node": "perovskite-sim/tests/unit/physics/test_contact_statistics.py::test_slotboom_contact_state_uses_narrowed_band_edges", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py", + "symbol": "test_incomplete_ionization_and_bgn_equilibrium_close_together" + }, + "test_node": "perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py::test_incomplete_ionization_and_bgn_equilibrium_close_together", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py", + "symbol": "test_research_material_composes_bgn_with_incomplete_ionization" + }, + "test_node": "perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py::test_research_material_composes_bgn_with_incomplete_ionization", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_bgn_refinement.py", + "symbol": "test_registered_executor_real_temperature_cell_matches_contract" + }, + "test_node": "perovskite-sim/tests/unit/validation/test_bgn_refinement.py::test_registered_executor_real_temperature_cell_matches_contract", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + } + ], + "call_chains": [], + "original_scope_limitations": [ + "the source-clean 3x3 matrix is internally certified at commit d34ef7f with certificate SHA-256 bc1285a3ef9d42e1e6346aedad33ad3871b5597a7b409f4ea002bf029f024ce6", + "the lane is a dark, homogeneous, recombination-off research equilibrium and not a production J-V, C-V, or impedance route", + "Slotboom coefficients are an empirical silicon closure; external Sentaurus or PC1D validation and experimental validation remain absent" + ], + "active_contract": null, + "obligations": [ + { + "id": "new-source-benchmark-ae94b012055aa10b", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/benchmark-ae94b012055aa10b.json", + "tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "gates": [ + "G0", + "G3", + "G9" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof", + "per-physical-observable units/norm/reference scale/zero policy and applicable original or prospectively frozen threshold; test truth values do not fill this field" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-9e610f72768c0f1e74649daa", + "rule-a2d04dc8266cac8d2ccd99de", + "rule-d2695551b300e579dc458dcf", + "rule-f4348df2af980e01f2242ca6", + "rule-f24ba27f486fe24e31da399a", + "rule-bcc1e34bbeea6b451d372d1d", + "rule-e7fa9add5d76cdeb3e929a87", + "rule-43dfd26260db3c8987356ea0", + "rule-b324f09f65d91e4dd92d7d8d", + "rule-8b8cc29e000ac46b6d81cf28", + "rule-6cf7a0fb58b5fa4e57f1a547", + "rule-09ba780e639cd89e7f4268bc", + "rule-6d774c73fbff54c318954faa", + "rule-4732e0907a9b8bcd20355a83", + "rule-6b9c236b244a6032cdce536e", + "rule-956fb5819fc1e37cb243f340", + "rule-ff0014b2a24a62f698c4a3b3", + "rule-376facafa9b9300e24ed822c", + "rule-a23a7a145f7d9ebdfbfe3750", + "rule-d668f6e4ac1b5c22f6cf7820", + "rule-7ae82e48359ac96e14aa3850", + "rule-1ea911a64c18235522f2592c", + "rule-80d379c98e15f7e3ace52980", + "rule-89e2e24be9be233dc2e73b0a", + "rule-6990b09a9807a91c8761d329", + "rule-d951f76d4cc20d4e0210cf0e", + "rule-0d223bfd4f670f48b6d71461", + "rule-6d0eaf19963352bfa2b12c54", + "rule-6500f9d8d1e81fbdefadfdef", + "rule-595ba69e7161581e56967cd9", + "rule-518bc857366965ffbbd340f8", + "rule-1a51972a4a3a08851d913330", + "rule-885133a8545b7e7cccc2e57f", + "rule-308684d43b6825a77d2f7467", + "rule-3716f228d64a770b1e6ba9c0", + "rule-6048fb347780e4674c9a045c" + ], + "comparison_scope_id": "scope-benchmark-ae94b012055aa10b" + }, + { + "capability_id": "benchmark-afaed356d2fa81de", + "route_id": "route-f13ea1085e6c91d1", + "origin_key": "benchmark:incomplete-ionization-internal-closure", + "target": { + "capability_id": "benchmark-afaed356d2fa81de", + "scope_id": "benchmark:incomplete-ionization-internal-closure", + "kind": "original_scoped_assertions", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_assertions_bound", + "citations": [ + { + "source_id": "repository:perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "pointer": "/benchmarks/incomplete-ionization-internal-closure", + "value_sha256": "1034c8967115b5ea72b333b6fabfbb843604f9441dce52460461d07c3076e998" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_contact_statistics.py", + "symbol": "test_discrete_donor_contact_state_resolves_temperature_freeze_out" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_statistics.py", + "symbol": "test_discrete_donor_neutrality_closes_and_resolves_freeze_out" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py", + "symbol": "test_incomplete_ionization_equilibrium_closes_across_temperature" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py", + "symbol": "test_incomplete_ionization_poisson_derivative_matches_finite_difference" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_incomplete_ionization_refinement.py", + "symbol": "test_registered_executor_real_temperature_cell_matches_contract" + } + ], + "original_evidence": [ + { + "kind": "registered_contract", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "pointer": "/benchmarks/incomplete-ionization-internal-closure", + "value_sha256": "1034c8967115b5ea72b333b6fabfbb843604f9441dce52460461d07c3076e998" + }, + "historical_source_sha256": "35165f16511bcf61a3eecec1c2391780249206aecc97fe17dd1cf30c046681be", + "scope_limitations": [ + "the source-clean 3x3 matrix is internally certified at commit 1090354 with certificate SHA-256 902ae0f91b77cf7403349d4d54553c2d43c3c774b1f2a62530e2a27c9fbc0254", + "the discrete-level model excludes impurity bands, the Mott transition, band-gap narrowing, recombination, bias, and production experiment routes", + "the temperature curve and refinement checks are internal evidence rather than external solver or experimental validation" + ] + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_contact_statistics.py", + "symbol": "test_discrete_donor_contact_state_resolves_temperature_freeze_out" + }, + "test_node": "perovskite-sim/tests/unit/physics/test_contact_statistics.py::test_discrete_donor_contact_state_resolves_temperature_freeze_out", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_statistics.py", + "symbol": "test_discrete_donor_neutrality_closes_and_resolves_freeze_out" + }, + "test_node": "perovskite-sim/tests/unit/physics/test_statistics.py::test_discrete_donor_neutrality_closes_and_resolves_freeze_out", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py", + "symbol": "test_incomplete_ionization_equilibrium_closes_across_temperature" + }, + "test_node": "perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py::test_incomplete_ionization_equilibrium_closes_across_temperature", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py", + "symbol": "test_incomplete_ionization_poisson_derivative_matches_finite_difference" + }, + "test_node": "perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py::test_incomplete_ionization_poisson_derivative_matches_finite_difference", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_incomplete_ionization_refinement.py", + "symbol": "test_registered_executor_real_temperature_cell_matches_contract" + }, + "test_node": "perovskite-sim/tests/unit/validation/test_incomplete_ionization_refinement.py::test_registered_executor_real_temperature_cell_matches_contract", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + } + ], + "call_chains": [], + "original_scope_limitations": [ + "the source-clean 3x3 matrix is internally certified at commit 1090354 with certificate SHA-256 902ae0f91b77cf7403349d4d54553c2d43c3c774b1f2a62530e2a27c9fbc0254", + "the discrete-level model excludes impurity bands, the Mott transition, band-gap narrowing, recombination, bias, and production experiment routes", + "the temperature curve and refinement checks are internal evidence rather than external solver or experimental validation" + ], + "active_contract": null, + "obligations": [ + { + "id": "new-source-benchmark-afaed356d2fa81de", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/benchmark-afaed356d2fa81de.json", + "tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "gates": [ + "G0", + "G3", + "G9" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof", + "per-physical-observable units/norm/reference scale/zero policy and applicable original or prospectively frozen threshold; test truth values do not fill this field" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-c5ecffc744ec2f662da1da6b", + "rule-8f2691133115e08fe0a25043", + "rule-1433f1b037af04f4ae2204b2", + "rule-9c8bf50b7d5cafda9b8ed3dc", + "rule-979acad5afadc6947b32be06", + "rule-c8ec47fd204b5342c21438d6", + "rule-192551a94d2f7b655558cce8", + "rule-75b3366d83815cb92438766a", + "rule-0a1748d285589636349e1997", + "rule-b046f61db7ac56f83087e144", + "rule-e3c05e7f4be61695af7dbc25", + "rule-8f9894755833f9735a826fc1", + "rule-e7ae45e7a188666504969b25", + "rule-c955f5647483dcdd9b789a65", + "rule-b4c31d4c6a73b34bf3b5ba25", + "rule-25f3f8766cbff3f8b17d3833", + "rule-a66f5b1f9e7ecc2dd1aab99f", + "rule-dd05aca5e019cd995cc688fb", + "rule-c1c0ff8f9219225390084099", + "rule-3c1265f1970c9da592899d3b", + "rule-35279dd46316e5b6661b7675", + "rule-5ebc2b87bbc0453d28e20e2a", + "rule-e9528c6784d2756b91a7dd2a", + "rule-5cf518614fa27fbcf2e2741e", + "rule-39af2fa2a7aaf7e86271063a", + "rule-d25d385b8e658ae4403b5428", + "rule-4bbdd317aa291eb83a253a88", + "rule-44d1212d56747fbe1d8d913b", + "rule-39f042990bc3ae3442ab871a", + "rule-708b54777a4f9a20125b654c", + "rule-2da2d988f3bc130c8e747296" + ], + "comparison_scope_id": "scope-benchmark-afaed356d2fa81de" + }, + { + "capability_id": "benchmark-8d1003366b1bcb44", + "route_id": "route-f13ea1085e6c91d1", + "origin_key": "benchmark:interface-charge-device-stress", + "target": { + "capability_id": "benchmark-8d1003366b1bcb44", + "scope_id": "benchmark:interface-charge-device-stress", + "kind": "original_scoped_assertions", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_assertions_bound", + "citations": [ + { + "source_id": "repository:perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "pointer": "/benchmarks/interface-charge-device-stress", + "value_sha256": "238a38f91cbc6b8045f5dda86c4f71f5eb82718ecc4347a299f14ace24797ae7" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/sweeps/test_interface_defect_sweep.py", + "symbol": "test_interface_defect_N_t_cm2_updates_charge_capacity_and_preserves_srv_ratio" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_interface_charge_stress.py", + "symbol": "test_interface_charge_stress_executor_smoke" + } + ], + "original_evidence": [ + { + "kind": "registered_contract", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "pointer": "/benchmarks/interface-charge-device-stress", + "value_sha256": "238a38f91cbc6b8045f5dda86c4f71f5eb82718ecc4347a299f14ace24797ae7" + }, + "historical_source_sha256": "35165f16511bcf61a3eecec1c2391780249206aecc97fe17dd1cf30c046681be", + "scope_limitations": [ + "the v1 N30/N60 matrix completes all four cells but remains partial because one pointwise sheet-charge grid difference is 1.4735 percent against a fixed 1 percent gate", + "the resolved-v2 N30/N60/N90 companion is internally certified at commit a3c6b30 with certificate SHA-256 f6e214307fe73fbc9d866d5e2537658cdb563134df78a419ecb6f4f873bd0844", + "the matrix is one-factor-at-a-time and does not certify Et/CBO/Nd/Nt interactions", + "Nd=5e15 and 1e16 cm-3 fail different tight-residual grid cells, while 1e17 and 1e18 cm-3 remain outside the local-QSS basin", + "N120 at factor 0.5 fails closed for the Nd=2e15 cm-3 dark-bias target and is outside the current solver basin", + "this is internal numerical evidence with no SCAPS or experimental-validation claim" + ] + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/sweeps/test_interface_defect_sweep.py", + "symbol": "test_interface_defect_N_t_cm2_updates_charge_capacity_and_preserves_srv_ratio" + }, + "test_node": "perovskite-sim/tests/unit/sweeps/test_interface_defect_sweep.py::test_interface_defect_N_t_cm2_updates_charge_capacity_and_preserves_srv_ratio", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_interface_charge_stress.py", + "symbol": "test_interface_charge_stress_executor_smoke" + }, + "test_node": "perovskite-sim/tests/unit/validation/test_interface_charge_stress.py::test_interface_charge_stress_executor_smoke", + "scope_docstring": null, + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + } + ], + "call_chains": [], + "original_scope_limitations": [ + "the v1 N30/N60 matrix completes all four cells but remains partial because one pointwise sheet-charge grid difference is 1.4735 percent against a fixed 1 percent gate", + "the resolved-v2 N30/N60/N90 companion is internally certified at commit a3c6b30 with certificate SHA-256 f6e214307fe73fbc9d866d5e2537658cdb563134df78a419ecb6f4f873bd0844", + "the matrix is one-factor-at-a-time and does not certify Et/CBO/Nd/Nt interactions", + "Nd=5e15 and 1e16 cm-3 fail different tight-residual grid cells, while 1e17 and 1e18 cm-3 remain outside the local-QSS basin", + "N120 at factor 0.5 fails closed for the Nd=2e15 cm-3 dark-bias target and is outside the current solver basin", + "this is internal numerical evidence with no SCAPS or experimental-validation claim" + ], + "active_contract": null, + "obligations": [ + { + "id": "new-source-benchmark-8d1003366b1bcb44", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/benchmark-8d1003366b1bcb44.json", + "tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "gates": [ + "G0", + "G3", + "G9" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof", + "per-physical-observable units/norm/reference scale/zero policy and applicable original or prospectively frozen threshold; test truth values do not fill this field" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-8b006f6d257987fe0c247d81", + "rule-fa9c18eb7c4fbca8e2591961", + "rule-ea6fb5e9d607a214dcacfac9", + "rule-a45320659b0547bb6684999d", + "rule-8dc686fecf591e30f2279d38", + "rule-629603ba88dd7ac71b8bdd6a", + "rule-a235bacdf6e75879036a8b8b", + "rule-a87304598143b6036b4c7a19", + "rule-81538006d1a2be26688391fe", + "rule-6fc4f23a33adb88e7a81b9d4", + "rule-4eaa5229dc1e65da8646c639", + "rule-6d4ff702545d071bc75f6f4a", + "rule-fca004eb9ed0b8db7fdd7628", + "rule-9d08a90a71c3bf3924c69375", + "rule-3fd22be7441b177b9d9c12cb", + "rule-ea3267006797e4b088c7162e", + "rule-8d3c5c8be07b0f133b467adc", + "rule-01feeaa69ec9d71619c2b1a2" + ], + "comparison_scope_id": "scope-benchmark-8d1003366b1bcb44" + }, + { + "capability_id": "benchmark-66079d06baa87db2", + "route_id": "route-f13ea1085e6c91d1", + "origin_key": "benchmark:interface-charge-jv-api-integration", + "target": { + "capability_id": "benchmark-66079d06baa87db2", + "scope_id": "benchmark:interface-charge-jv-api-integration", + "kind": "original_scoped_assertions", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_assertions_bound", + "citations": [ + { + "source_id": "repository:perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "pointer": "/benchmarks/interface-charge-jv-api-integration", + "value_sha256": "73cb74a2568187397278be38391a1b011d3a88706f52c474370a90b121cbf758" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py", + "symbol": "test_charged_protocol_resolver_builds_the_canonical_zero_scan_contract" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py", + "symbol": "test_real_async_charged_jv_worker_preserves_protocol_and_evidence" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py", + "symbol": "test_real_sync_charged_jv_api_returns_certified_point_evidence" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py", + "symbol": "test_protocol_round_trip_and_hash_bind_every_field" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py", + "symbol": "test_real_small_grid_charged_jv_has_pointwise_evidence" + } + ], + "original_evidence": [ + { + "kind": "registered_contract", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "pointer": "/benchmarks/interface-charge-jv-api-integration", + "value_sha256": "73cb74a2568187397278be38391a1b011d3a88706f52c474370a90b121cbf758" + }, + "historical_source_sha256": "35165f16511bcf61a3eecec1c2391780249206aecc97fe17dd1cf30c046681be", + "scope_limitations": [ + "this benchmark binds the exact illuminated ion-free zero-scan-rate QF protocol and its sync/async API evidence route", + "the D4-E3c source-clean N30/N60/N90 by tolerance 1/0.5/0.25 matrix at commit 3fa71d6 completed 9/9 cells and 293/293 checks with certificate SHA-256 b08bd323e50c8efb9ee7f51428c35a480960c0c39edc65b8500831c4eee5a52d", + "the fixture is an uncalibrated synthetic numerical reference with no SCAPS, experimental, or device-performance claim" + ] + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py", + "symbol": "test_charged_protocol_resolver_builds_the_canonical_zero_scan_contract" + }, + "test_node": "perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py::test_charged_protocol_resolver_builds_the_canonical_zero_scan_contract", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py", + "symbol": "test_real_async_charged_jv_worker_preserves_protocol_and_evidence" + }, + "test_node": "perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py::test_real_async_charged_jv_worker_preserves_protocol_and_evidence", + "scope_docstring": null, + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py", + "symbol": "test_real_sync_charged_jv_api_returns_certified_point_evidence" + }, + "test_node": "perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py::test_real_sync_charged_jv_api_returns_certified_point_evidence", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py", + "symbol": "test_protocol_round_trip_and_hash_bind_every_field" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_protocol_round_trip_and_hash_bind_every_field", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py", + "symbol": "test_real_small_grid_charged_jv_has_pointwise_evidence" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_real_small_grid_charged_jv_has_pointwise_evidence", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + } + ], + "call_chains": [], + "original_scope_limitations": [ + "this benchmark binds the exact illuminated ion-free zero-scan-rate QF protocol and its sync/async API evidence route", + "the D4-E3c source-clean N30/N60/N90 by tolerance 1/0.5/0.25 matrix at commit 3fa71d6 completed 9/9 cells and 293/293 checks with certificate SHA-256 b08bd323e50c8efb9ee7f51428c35a480960c0c39edc65b8500831c4eee5a52d", + "the fixture is an uncalibrated synthetic numerical reference with no SCAPS, experimental, or device-performance claim" + ], + "active_contract": null, + "obligations": [ + { + "id": "new-source-benchmark-66079d06baa87db2", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/benchmark-66079d06baa87db2.json", + "tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "gates": [ + "G0", + "G3", + "G9" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof", + "per-physical-observable units/norm/reference scale/zero policy and applicable original or prospectively frozen threshold; test truth values do not fill this field" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-6fda4bc0ccfe4188e4839ec8", + "rule-5c00ca47501090076575ab22", + "rule-2c072ccce88b94f8f6834252", + "rule-3cd746763d0d847b57ae65f8", + "rule-68b18d052030fde941a2baec", + "rule-9b85f5a82fd9c7728480f328", + "rule-f37c2bee414a9a0c662ce94c", + "rule-21c26787c37e8ee12fad3fd5", + "rule-b7049242b1819e137535600e", + "rule-a25c8d2dcac3154406154f61", + "rule-bdbae6d7d9e75368d83c51b2", + "rule-5d1309111030080124f7a9ea", + "rule-1c8bc332d2895959e2c02e7b", + "rule-24416bbc7653d5c93e60d1f9", + "rule-c6fd9b1334c8df12a88ecc44", + "rule-5dd097fb3477a721cc873edf", + "rule-f918be791ba5a6bf8569bad6", + "rule-bcecc695de8b1c5180d023a1", + "rule-91c3c6506f96f67d1b8f8894", + "rule-2d171479aec19d7422a693b1", + "rule-d3ed217a192200ed0a859384", + "rule-425152808aa410b993c44b7d", + "rule-a87d62f7df2915b2298b8fc8", + "rule-2c70ba960651cceb3be0a46d", + "rule-37e545c4125da59eb206f227", + "rule-258b2c483aeadda0f9b35dd9", + "rule-e39c23ba4b63d0cab46b379b", + "rule-26d78449a2ae12bb8cc81342", + "rule-b43a01d029c4e6be6070bf6e", + "rule-dc390075f1af30a7919a82f1" + ], + "comparison_scope_id": "scope-benchmark-66079d06baa87db2" + }, + { + "capability_id": "benchmark-d421981a0850b957", + "route_id": "route-f13ea1085e6c91d1", + "origin_key": "benchmark:interface-charge-off-qf-reference", + "target": { + "capability_id": "benchmark-d421981a0850b957", + "scope_id": "benchmark:interface-charge-off-qf-reference", + "kind": "original_scoped_assertions", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_assertions_bound", + "citations": [ + { + "source_id": "repository:perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "pointer": "/benchmarks/interface-charge-off-qf-reference", + "value_sha256": "2d26aa90bbf6b82315b8b07db80942044c683e3a342ae8ae85c507d563caf709" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_refinement_executors.py", + "symbol": "test_interface_charge_off_executor_smoke" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_refinement_executors.py", + "symbol": "test_two_sided_interface_evidence_checks_carrier_and_state_balance" + } + ], + "original_evidence": [ + { + "kind": "registered_contract", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "pointer": "/benchmarks/interface-charge-off-qf-reference", + "value_sha256": "2d26aa90bbf6b82315b8b07db80942044c683e3a342ae8ae85c507d563caf709" + }, + "historical_source_sha256": "35165f16511bcf61a3eecec1c2391780249206aecc97fe17dd1cf30c046681be", + "scope_limitations": [ + "the content-addressed 3x3 matrix is internally certified for source commit 29c94b4 with certificate SHA-256 0a4fdebdf18eb0237eaa1a4bef599872745697d148461f6de25d10a6985a950b", + "interface electrostatic trap charge remains disabled, so this benchmark makes no charged Gauss-jump claim", + "the uncalibrated reference makes no SCAPS-parity claim" + ] + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_refinement_executors.py", + "symbol": "test_interface_charge_off_executor_smoke" + }, + "test_node": "perovskite-sim/tests/unit/validation/test_refinement_executors.py::test_interface_charge_off_executor_smoke", + "scope_docstring": null, + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_refinement_executors.py", + "symbol": "test_two_sided_interface_evidence_checks_carrier_and_state_balance" + }, + "test_node": "perovskite-sim/tests/unit/validation/test_refinement_executors.py::test_two_sided_interface_evidence_checks_carrier_and_state_balance", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + } + ], + "call_chains": [], + "original_scope_limitations": [ + "the content-addressed 3x3 matrix is internally certified for source commit 29c94b4 with certificate SHA-256 0a4fdebdf18eb0237eaa1a4bef599872745697d148461f6de25d10a6985a950b", + "interface electrostatic trap charge remains disabled, so this benchmark makes no charged Gauss-jump claim", + "the uncalibrated reference makes no SCAPS-parity claim" + ], + "active_contract": null, + "obligations": [ + { + "id": "new-source-benchmark-d421981a0850b957", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/benchmark-d421981a0850b957.json", + "tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "gates": [ + "G0", + "G3", + "G9" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof", + "per-physical-observable units/norm/reference scale/zero policy and applicable original or prospectively frozen threshold; test truth values do not fill this field" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-7ed89a9444c9cbea59da4a72", + "rule-a861e192b9dc2c3b070b38f6", + "rule-1e7fc5c8ae1f772ebaf13d99", + "rule-806fc1e2013a30e81aec216b", + "rule-cc36679ce663a45848856a00", + "rule-09228f0532bfc444cfc87b75", + "rule-57f5e4700dd6d5001cfaf6d2", + "rule-fa46c3f4d1ed2caff68147ed", + "rule-ab7dd30f5533f58e3f08ea79", + "rule-1b7d8227781dbabb5d201211", + "rule-b5a429e57ead73d9dc750042", + "rule-b06d896b151ef9a940140ca6" + ], + "comparison_scope_id": "scope-benchmark-d421981a0850b957" + }, + { + "capability_id": "benchmark-1006540a4310894f", + "route_id": "route-f13ea1085e6c91d1", + "origin_key": "benchmark:interface-charge-qf-research", + "target": { + "capability_id": "benchmark-1006540a4310894f", + "scope_id": "benchmark:interface-charge-qf-research", + "kind": "original_scoped_assertions", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_assertions_bound", + "citations": [ + { + "source_id": "repository:perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "pointer": "/benchmarks/interface-charge-qf-research", + "value_sha256": "6965398e02450f3a9818a5f9a7a9cd36a3ffc1c9bdf447fe1839ec6f22edf3ca" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py", + "symbol": "test_charged_outer_poisson_closes_and_reference_state_has_zero_charge" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py", + "symbol": "test_research_api_binds_dark_reference_and_keeps_production_gate_parked" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_refinement_executors.py", + "symbol": "test_equilibrium_referenced_interface_charge_executor_smoke" + } + ], + "original_evidence": [ + { + "kind": "registered_contract", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "pointer": "/benchmarks/interface-charge-qf-research", + "value_sha256": "6965398e02450f3a9818a5f9a7a9cd36a3ffc1c9bdf447fe1839ec6f22edf3ca" + }, + "historical_source_sha256": "35165f16511bcf61a3eecec1c2391780249206aecc97fe17dd1cf30c046681be", + "scope_limitations": [ + "dark, biased, and illuminated device solves close through the research-only QF API", + "the source-clean 3x3 matrix is internally certified at commit 23783a3 with certificate SHA-256 1691eaee87208f2494207c94a6f8c484299e34c4ac99c952b6c8df7915cf1921", + "this is an internal numerical reference with no SCAPS or experimental-validation claim" + ] + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py", + "symbol": "test_charged_outer_poisson_closes_and_reference_state_has_zero_charge" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py::test_charged_outer_poisson_closes_and_reference_state_has_zero_charge", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py", + "symbol": "test_research_api_binds_dark_reference_and_keeps_production_gate_parked" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py::test_research_api_binds_dark_reference_and_keeps_production_gate_parked", + "scope_docstring": null, + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_refinement_executors.py", + "symbol": "test_equilibrium_referenced_interface_charge_executor_smoke" + }, + "test_node": "perovskite-sim/tests/unit/validation/test_refinement_executors.py::test_equilibrium_referenced_interface_charge_executor_smoke", + "scope_docstring": null, + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + } + ], + "call_chains": [], + "original_scope_limitations": [ + "dark, biased, and illuminated device solves close through the research-only QF API", + "the source-clean 3x3 matrix is internally certified at commit 23783a3 with certificate SHA-256 1691eaee87208f2494207c94a6f8c484299e34c4ac99c952b6c8df7915cf1921", + "this is an internal numerical reference with no SCAPS or experimental-validation claim" + ], + "active_contract": null, + "obligations": [ + { + "id": "new-source-benchmark-1006540a4310894f", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/benchmark-1006540a4310894f.json", + "tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "gates": [ + "G0", + "G3", + "G9" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof", + "per-physical-observable units/norm/reference scale/zero policy and applicable original or prospectively frozen threshold; test truth values do not fill this field" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-dae297094b1b96569e63a0bd", + "rule-f96ede74fafc065ef0a8446e", + "rule-07a8be0e445b2471d71a0427", + "rule-b875082e2552f8ef20926db5", + "rule-d1f3eedf4662445df7de98cf", + "rule-cd0bbc0d72995abf809870c8", + "rule-81bb7d5b990dbac0bcc55e6f", + "rule-1c5bdfd3809940a34b1e48db", + "rule-aefc83c0a7a124a08b354da4", + "rule-93a59f6c73a18611e176c674", + "rule-1f5ec1cf7095ff0e80fa3f89", + "rule-1a400b20980e0e2da4cd87ce", + "rule-bf59f2fea306ff0639c96d8d", + "rule-b379a5df157288bf28b8268e", + "rule-63744b9121213c5bc4d9efa8", + "rule-42f4f2cc25db39295881626c", + "rule-fdfc53a580461da037cd1e47", + "rule-09fc7e13e100da105c97986f", + "rule-c8b5c38701b88f3a9e5ae1e5", + "rule-8b8f052f5d4e0f6350d4ce19", + "rule-858be21356fe6438d465bf62", + "rule-dddce4ed664dd011b9efdf7c", + "rule-dfd3ac0860f85e31189020a4", + "rule-3514e2ff6e59ecafebb1ad63", + "rule-449964d827fdbddae694c750", + "rule-d24ce8a5cb1cea8522922ffb", + "rule-6e6ae10bd14b0a8c686b7381", + "rule-1b0267c70d8d473e751be89b", + "rule-52337b0a775d83b49cc04cea" + ], + "comparison_scope_id": "scope-benchmark-1006540a4310894f" + }, + { + "capability_id": "benchmark-ccce54aef1456ee8", + "route_id": "route-f13ea1085e6c91d1", + "origin_key": "benchmark:ionmonger-mesh", + "target": { + "capability_id": "benchmark-ccce54aef1456ee8", + "scope_id": "benchmark:ionmonger-mesh", + "kind": "original_scoped_assertions", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_assertions_bound", + "citations": [ + { + "source_id": "repository:perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "pointer": "/benchmarks/ionmonger-mesh", + "value_sha256": "ef658208e981347a8b2b93c332c4882110aca774a8dfcf8fbc21b03d0114e336" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_mesh_convergence.py", + "symbol": "test_ff_converges" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_mesh_convergence.py", + "symbol": "test_generation_integral_converges" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_mesh_convergence.py", + "symbol": "test_generation_integral_respects_photon_flux_ceiling" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_mesh_convergence.py", + "symbol": "test_guard_interface_cells_actually_refine" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_mesh_convergence.py", + "symbol": "test_guard_interface_formulation_is_pinned" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_mesh_convergence.py", + "symbol": "test_guard_no_flat_band_spike_at_any_mesh_level" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_mesh_convergence.py", + "symbol": "test_guard_no_silent_dark_fallback" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_mesh_convergence.py", + "symbol": "test_guard_voc_is_bracketed" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_mesh_convergence.py", + "symbol": "test_interface_recombination_current_converges" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_mesh_convergence.py", + "symbol": "test_jsc_converges" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_mesh_convergence.py", + "symbol": "test_power_quadrant_current_converges" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_mesh_convergence.py", + "symbol": "test_short_circuit_current_converges" + } + ], + "original_evidence": [ + { + "kind": "registered_contract", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "pointer": "/benchmarks/ionmonger-mesh", + "value_sha256": "ef658208e981347a8b2b93c332c4882110aca774a8dfcf8fbc21b03d0114e336" + }, + "historical_source_sha256": "35165f16511bcf61a3eecec1c2391780249206aecc97fe17dd1cf30c046681be", + "scope_limitations": [ + "fixed-bias states use a 1 ms illuminated preconditioner, not residual steady state", + "conduction-current spread is diagnostic and is not a steady-state certificate" + ] + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_mesh_convergence.py", + "symbol": "test_ff_converges" + }, + "test_node": "perovskite-sim/tests/regression/test_mesh_convergence.py::test_ff_converges", + "scope_docstring": "FF: a TOLERANCE test on the finest pair, deliberately not a ratio test.\n\nFF's mesh signal is close to the measurement floor. Via an\nextraction-free route (Brent maximisation of V*J over fixed-bias steady\nstates) FF moves only 0.788830 -> 0.788895 between N = 31 and N = 61, an\n8e-5 relative change, comparable to the Radau rtol = 1e-4 noise floor. A\ndifference-ratio test on FF would therefore largely be measuring noise:\nrho(FF) is 0.17 at n_points = 81 but 1.31 at n_points = 41 — not a stable\nstatistic. The contraction ratio is REPORTED, not asserted. Anyone\nwanting a genuine ratio test on FF must run at rtol <= 1e-7 with a fine\nP(V) grid, at much higher cost.", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_mesh_convergence.py", + "symbol": "test_generation_integral_converges" + }, + "test_node": "perovskite-sim/tests/regression/test_mesh_convergence.py::test_generation_integral_converges", + "scope_docstring": "The absorbed-photon budget is closed-form, so this is a TRUE error test.\n\nBeer-Lambert with alpha non-zero only in the absorber gives an exact\nabsorbed-photon ceiling::\n\n J_max = q * Phi * (1 - exp(-alpha * d_abs)) = 223.0673 A/m2\n\nfor this preset (alpha = 1.3e7 1/m, d = 400 nm, Phi = 1.4e21 1/m2/s). The\nerror of the discrete integral against it must shrink monotonically along\nthe ladder and be inside the 1% J_sc bar at the finest level.", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_mesh_convergence.py", + "symbol": "test_generation_integral_respects_photon_flux_ceiling" + }, + "test_node": "perovskite-sim/tests/regression/test_mesh_convergence.py::test_generation_integral_respects_photon_flux_ceiling", + "scope_docstring": "HARD PHYSICS BOUND, not a convergence statement.\n\nThe device cannot create more electron-hole pairs per second than there\nare incident photons: ``q * integral(G dx) <= q * Phi``, for ANY mesh.\nThis is conservation, not accuracy — no tolerance is involved and no\nrefinement argument can excuse a breach.\n\n``beer_lambert_generation`` point-samples ``G = Phi*alpha*exp(-tau(x))`` at\nthe nodes and the solver integrates it with node-centred ``dx_cell``\nweights. That quadrature is not photon-conserving: on a mesh coarse\nrelative to the absorption length (1/alpha = 76.9 nm here) it over-counts\nthe sharply-peaked front-of-absorber generation. A photon-conserving\ndiscretisation would instead assign each cell the exact absorbed fraction\n``Phi * (exp(-tau_left) - exp(-tau_right))``, which telescopes to the exact\nbudget on every mesh.", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_mesh_convergence.py", + "symbol": "test_guard_interface_cells_actually_refine" + }, + "test_node": "perovskite-sim/tests/regression/test_mesh_convergence.py::test_guard_interface_cells_actually_refine", + "scope_docstring": "Review §7 #6 asks about refining the mesh NEAR THE INTERFACES.\n\nCertify that premise: the dual-cell width AT each interface node must\nshrink by more than 2.0x per N_grid doubling. The 2.0 is not a tolerance\n— the tanh map's edge spacing scales as 1/N and approaches 2x per doubling\nfrom above, so anything at or below 2.0 would mean the interface region is\nNOT being refined faster than the bulk.", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_mesh_convergence.py", + "symbol": "test_guard_interface_formulation_is_pinned" + }, + "test_node": "perovskite-sim/tests/regression/test_mesh_convergence.py::test_guard_interface_formulation_is_pinned", + "scope_docstring": "The convergence numbers describe ONE interface formulation — pin it.\n\nLegacy single-node cross-carrier SRH with the thermionic-emission cap\nactive at both heterointerfaces. If a default flips (plane projection,\nplane closure, shared occupancy, two-sided capture, interface states), this\ntest must fail loudly rather than silently measure a different quantity\nand call it \"mesh convergence\".", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_mesh_convergence.py", + "symbol": "test_guard_no_flat_band_spike_at_any_mesh_level" + }, + "test_node": "perovskite-sim/tests/regression/test_mesh_convergence.py::test_guard_no_flat_band_spike_at_any_mesh_level", + "scope_docstring": "dJ/dV <= 0 on an illuminated forward scan, to 0.5% of J_sc.\n\nNOT cosmetic. An isolated upward jump dJ at the sample nearest MPP raises\nP_mpp by ~dJ*V_mpp, i.e. moves FF by ~dJ/J_sc, so a surviving spike\ncorrupts the FF ladder directly. A 3.0%-of-J_sc spike that survives the\nshipped ``max_step = dt/20`` cap (``jv_sweep.py:539-547``, whose docstring\nsays it \"removes the spikes\") WAS observed on this preset at N_grid = 60,\nn_points = 81, V = 0.9975 V via ``quasi_static_sweep``:\nJ = 217.994 -> 224.680 -> 212.510 A/m2. It is under the 5%-of-J_sc\nthreshold of the shipped guard in ``test_jv_regression.py``, so nothing in\nthe suite currently catches it. If this trips, the verdict is \"the solver\nemitted dJ/dV > 0 on an illuminated forward scan\" — a defect to report, NOT\na tolerance to widen.", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_mesh_convergence.py", + "symbol": "test_guard_no_silent_dark_fallback" + }, + "test_node": "perovskite-sim/tests/regression/test_mesh_convergence.py::test_guard_no_silent_dark_fallback", + "scope_docstring": "Guard the physical signature of the historical dark-fallback defect.\n\nThe solver now raises when illuminated settling fails. This independent\nresult-level guard remains useful: the short-circuit current must exceed\nhalf the incident photon current, and the power-quadrant current must be\npositive.", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_mesh_convergence.py", + "symbol": "test_guard_voc_is_bracketed" + }, + "test_node": "perovskite-sim/tests/regression/test_mesh_convergence.py::test_guard_voc_is_bracketed", + "scope_docstring": "Without a J = 0 crossing, V_oc / FF / PCE are sentinel zeros.", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_mesh_convergence.py", + "symbol": "test_interface_recombination_current_converges" + }, + "test_node": "perovskite-sim/tests/regression/test_mesh_convergence.py::test_interface_recombination_current_converges", + "scope_docstring": "The quantity review §7 #6 names explicitly, at both biases.\n\nMeasured by calling the solver's own ``_apply_interface_recombination``\nsink on the finite-time endpoint and integrating the resulting node sink over\nthe dual cells — so this measures whatever interface formulation is\nactually active (pinned by the formulation guard above), not a\nre-implementation that can drift.", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_mesh_convergence.py", + "symbol": "test_jsc_converges" + }, + "test_node": "perovskite-sim/tests/regression/test_mesh_convergence.py::test_jsc_converges", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_mesh_convergence.py", + "symbol": "test_power_quadrant_current_converges" + }, + "test_node": "perovskite-sim/tests/regression/test_mesh_convergence.py::test_power_quadrant_current_converges", + "scope_docstring": "J(V=0.9) — same test inside the power quadrant, below V_bi.", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_mesh_convergence.py", + "symbol": "test_short_circuit_current_converges" + }, + "test_node": "perovskite-sim/tests/regression/test_mesh_convergence.py::test_short_circuit_current_converges", + "scope_docstring": "Finite-time terminal J(V=0), with no interpolation/extraction step.\n\nThe interior-face current spread from ``_compute_current_ss_with_spread``\nis REPORTED, never asserted — its own docstring says to report and not\ngate on it, and this test follows that. It is printed because it is an\nseparate diagnostic because it is not a residual steady-state certificate.", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + } + ], + "call_chains": [], + "original_scope_limitations": [ + "fixed-bias states use a 1 ms illuminated preconditioner, not residual steady state", + "conduction-current spread is diagnostic and is not a steady-state certificate" + ], + "active_contract": null, + "obligations": [ + { + "id": "new-source-benchmark-ccce54aef1456ee8", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/benchmark-ccce54aef1456ee8.json", + "tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "gates": [ + "G0", + "G3", + "G9" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof", + "per-physical-observable units/norm/reference scale/zero policy and applicable original or prospectively frozen threshold; test truth values do not fill this field" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-3d5a817cd92c120d9a47d03d", + "rule-f62cedb41ffefab4f30324e1", + "rule-4463e141ecc6c0b8f14fd012", + "rule-0d6b148aafa2f2d5cd49846d", + "rule-b1619149af4acffa963f48ed", + "rule-8c39f2f5704035a9c9f33753", + "rule-cbf1d6a49a369132b3690b1f", + "rule-cb1e75f9e9e72b05d8506235", + "rule-56441c97fc172f6d20647a1c", + "rule-39a1af0ffe709ef0135114b2", + "rule-60a887c473c18c5de1a00e39", + "rule-ae053ec4b8437a9f583de97e", + "rule-b9e394dae1d6e3a411c138ef", + "rule-e0b533abe15d73001abbce1a", + "rule-5c482f9ca5b1ce1cb0b4ff26", + "rule-6a167faeb047611b7879241f", + "rule-cac348ecf82201221bb1a06a", + "rule-34c4fb65361c9c28406ad2b0", + "rule-bf59b731088524f16434fe4c", + "rule-d7b862e76ec0ca42731566c2", + "rule-9e3bf19feb1541088207a6ee", + "rule-70c73d7ab3bb4e88a6e59d4e", + "rule-e8a7a4b0b0e21052e6b3837c", + "rule-a6a8ec1e1e0254694826910a", + "rule-8a07aba6bcfe423ecf18e047" + ], + "comparison_scope_id": "scope-benchmark-ccce54aef1456ee8" + }, + { + "capability_id": "benchmark-9413c6e9be031fbb", + "route_id": "route-f13ea1085e6c91d1", + "origin_key": "benchmark:ionmonger-physical-regression", + "target": { + "capability_id": "benchmark-9413c6e9be031fbb", + "scope_id": "benchmark:ionmonger-physical-regression", + "kind": "original_scoped_assertions", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_assertions_bound", + "citations": [ + { + "source_id": "repository:perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "pointer": "/benchmarks/ionmonger-physical-regression", + "value_sha256": "49462a3e9f7e4ccc21ef263fadf3a40ee1d4370c31d2adc4f41c9e6696975caa" + }, + { + "source_id": "repository:perovskite-sim/tests/validation/test_paper_configurations.py", + "symbol": "test_ionmonger_ff_in_paper_range" + }, + { + "source_id": "repository:perovskite-sim/tests/validation/test_paper_configurations.py", + "symbol": "test_ionmonger_jsc_matches_paper" + }, + { + "source_id": "repository:perovskite-sim/tests/validation/test_paper_configurations.py", + "symbol": "test_ionmonger_jsc_near_beer_lambert_limit" + }, + { + "source_id": "repository:perovskite-sim/tests/validation/test_paper_configurations.py", + "symbol": "test_ionmonger_legacy_full_voc_agree_within_tolerance" + }, + { + "source_id": "repository:perovskite-sim/tests/validation/test_paper_configurations.py", + "symbol": "test_ionmonger_paper_comparison_quantifies_known_voc_offset" + }, + { + "source_id": "repository:perovskite-sim/tests/validation/test_paper_configurations.py", + "symbol": "test_ionmonger_tmm_bounded_shift_from_bl" + }, + { + "source_id": "repository:perovskite-sim/tests/validation/test_paper_configurations.py", + "symbol": "test_ionmonger_tmm_jsc_physically_bounded" + }, + { + "source_id": "repository:perovskite-sim/tests/validation/test_paper_configurations.py", + "symbol": "test_ionmonger_voc_in_band_offset_range" + } + ], + "original_evidence": [ + { + "kind": "registered_contract", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "pointer": "/benchmarks/ionmonger-physical-regression", + "value_sha256": "49462a3e9f7e4ccc21ef263fadf3a40ee1d4370c31d2adc4f41c9e6696975caa" + }, + "historical_source_sha256": "35165f16511bcf61a3eecec1c2391780249206aecc97fe17dd1cf30c046681be", + "scope_limitations": [ + "the FULL preset has a documented Voc offset from Courtier 2019", + "paper values define broad envelopes rather than a digitized curve fit", + "the certified forward crossing is 1.192193501 V; reverse Voc depends on the high-bias state history" + ] + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/validation/test_paper_configurations.py", + "symbol": "test_ionmonger_ff_in_paper_range" + }, + "test_node": "perovskite-sim/tests/validation/test_paper_configurations.py::test_ionmonger_ff_in_paper_range", + "scope_docstring": "FF must fall in the physically expected range for set (b).\n\nCourtier 2019 set (b) is SRH-limited with asymmetric lifetimes\n(tau_n = 3 ns, tau_p = 300 ns); the paper reports FF ≈ 0.70–0.80.", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/validation/test_paper_configurations.py", + "symbol": "test_ionmonger_jsc_matches_paper" + }, + "test_node": "perovskite-sim/tests/validation/test_paper_configurations.py::test_ionmonger_jsc_matches_paper", + "scope_docstring": "J_sc must match Courtier 2019 within the Beer-Lambert envelope.\n\nCourtier 2019 reports J_sc ≈ 22 mA/cm² (220 A/m²) for this parameter set\n(Phi = 1.4e21 m⁻² s⁻¹, alpha = 1.3e7 m⁻¹, L = 400 nm).", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/validation/test_paper_configurations.py", + "symbol": "test_ionmonger_jsc_near_beer_lambert_limit" + }, + "test_node": "perovskite-sim/tests/validation/test_paper_configurations.py::test_ionmonger_jsc_near_beer_lambert_limit", + "scope_docstring": "J_sc must be close to the Beer-Lambert theoretical maximum.\n\nJ_sc_max = q · Phi · (1 − exp(−alpha · L)). Collection efficiency\nmust be ≥ 0.85; the upper bound 1.02 allows small numerical overshoot\nfrom the discrete grid integration of the Beer-Lambert profile.", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/validation/test_paper_configurations.py", + "symbol": "test_ionmonger_legacy_full_voc_agree_within_tolerance" + }, + "test_node": "perovskite-sim/tests/validation/test_paper_configurations.py::test_ionmonger_legacy_full_voc_agree_within_tolerance", + "scope_docstring": "LEGACY and FULL forward-scan V_oc must agree within 5 mV.\n\nOn the Courtier 2019 set (b) stack, interface recombination is dominated\nby the explicit surface-recombination velocities (v_n = 3e5 m/s at the\nHTL/perovskite interface), not by thermionic emission. Turning TE off\n(LEGACY) therefore leaves V_oc essentially unchanged. This test guards\nagainst regressions that would break LEGACY while leaving FULL intact\n(or vice versa). The forward branches now carry independent local crossing\ncertificates and differ by only about 0.06 mV. Reverse V_oc is deliberately\nnot used for this model-isolation assertion: it inherits each mode's full\nhigh-bias state history and differs by about 9.5 mV even though the\nindependently certified forward crossings coincide.", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/validation/test_paper_configurations.py", + "symbol": "test_ionmonger_paper_comparison_quantifies_known_voc_offset" + }, + "test_node": "perovskite-sim/tests/validation/test_paper_configurations.py::test_ionmonger_paper_comparison_quantifies_known_voc_offset", + "scope_docstring": "Quantify the known V_oc offset against Courtier 2019 set (b).", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/validation/test_paper_configurations.py", + "symbol": "test_ionmonger_tmm_bounded_shift_from_bl" + }, + "test_node": "perovskite-sim/tests/validation/test_paper_configurations.py::test_ionmonger_tmm_bounded_shift_from_bl", + "scope_docstring": "TMM V_oc must not deviate from BL by more than 0.30 V.\n\nThe TMM variant uses a lower V_bi (0.86 V vs 1.10 V, derived from\ncompute_V_bi) AND TMM optics which reshape G(x). The combined shift\nis ~0.24 V on this stack. A shift > 0.30 V would signal either a TMM\ninstability (singular transfer matrix, missing determinant guard) or\na V_bi computation regression.", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/validation/test_paper_configurations.py", + "symbol": "test_ionmonger_tmm_jsc_physically_bounded" + }, + "test_node": "perovskite-sim/tests/validation/test_paper_configurations.py::test_ionmonger_tmm_jsc_physically_bounded", + "scope_docstring": "TMM J_sc must be within a factor of 2 of the BL value.\n\nInterference can enhance or suppress absorption at the absorber, but a\nfactor-of-2 shift would exceed the physically possible range for a\nsingle-junction MAPbI3 device under standard AM1.5G.", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/validation/test_paper_configurations.py", + "symbol": "test_ionmonger_voc_in_band_offset_range" + }, + "test_node": "perovskite-sim/tests/validation/test_paper_configurations.py::test_ionmonger_voc_in_band_offset_range", + "scope_docstring": "V_oc must fall in [1.10, 1.30] V with band offsets active.\n\nCourtier 2019 reports V_oc ≈ 1.07 V for set (b). Our model includes\nelectron-affinity (chi) and band-gap (Eg) band offsets on every layer,\nwhich IonMonger does not — these offsets suppress minority-carrier\ninjection from the doped contacts into the absorber and raise V_oc by\n~0.10–0.15 V relative to the paper. The SOLVER produces V_oc ≈ 1.19 V\non this stack; the window accommodates future parameter tuning without\nallowing a collapse below the flat-band limit or an overshoot past Eg/q.", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + } + ], + "call_chains": [], + "original_scope_limitations": [ + "the FULL preset has a documented Voc offset from Courtier 2019", + "paper values define broad envelopes rather than a digitized curve fit", + "the certified forward crossing is 1.192193501 V; reverse Voc depends on the high-bias state history" + ], + "active_contract": null, + "obligations": [ + { + "id": "new-source-benchmark-9413c6e9be031fbb", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/benchmark-9413c6e9be031fbb.json", + "tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "gates": [ + "G0", + "G3", + "G9" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof", + "per-physical-observable units/norm/reference scale/zero policy and applicable original or prospectively frozen threshold; test truth values do not fill this field" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-d3854df07b6410a19acd17c9", + "rule-1b23243608b1851851e26be0", + "rule-828385d8515abce7ee451d7f", + "rule-5d16f6f37bf792fac1c50beb", + "rule-5d6644bbc284d16812cf46a1", + "rule-03e2c7532eb199b301c79c0a", + "rule-82374a3d37f75b7140d01db4", + "rule-5f8e40fe2c823acbd6a75a6a" + ], + "comparison_scope_id": "scope-benchmark-9413c6e9be031fbb" + }, + { + "capability_id": "benchmark-a9fb1ab48c74827c", + "route_id": "route-f13ea1085e6c91d1", + "origin_key": "benchmark:ionmonger-residual-ss-mesh", + "target": { + "capability_id": "benchmark-a9fb1ab48c74827c", + "scope_id": "benchmark:ionmonger-residual-ss-mesh", + "kind": "original_scoped_assertions", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_assertions_bound", + "citations": [ + { + "source_id": "repository:perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "pointer": "/benchmarks/ionmonger-residual-ss-mesh", + "value_sha256": "b6d5422a02d0bf4e8876e2719bf7b2bb07d7a895ad30b2de309affbaed3d677f" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_p1_steady_state_mesh_convergence.py", + "symbol": "test_actual_interval_ladder_and_residual_certificates" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_p1_steady_state_mesh_convergence.py", + "symbol": "test_certified_short_circuit_current_contracts" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_p1_steady_state_mesh_convergence.py", + "symbol": "test_observations_match_reproducibility_registry" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_p1_steady_state_mesh_convergence.py", + "symbol": "test_prolonged_fine_grid_current_changes_contract" + } + ], + "original_evidence": [ + { + "kind": "registered_contract", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "pointer": "/benchmarks/ionmonger-residual-ss-mesh", + "value_sha256": "b6d5422a02d0bf4e8876e2719bf7b2bb07d7a895ad30b2de309affbaed3d677f" + }, + "historical_source_sha256": "35165f16511bcf61a3eecec1c2391780249206aecc97fe17dd1cf30c046681be", + "scope_limitations": [ + "this certifies the carrier steady state at V=0 with the ion profile frozen", + "72/96 use a certified 48-interval state prolongation and relative-log coordinates", + "no spatial-profile convergence norm for n, p, or electrostatic potential is claimed", + "no full ionic-equilibrium or voltage-dependent J-V convergence claim is made" + ] + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_p1_steady_state_mesh_convergence.py", + "symbol": "test_actual_interval_ladder_and_residual_certificates" + }, + "test_node": "perovskite-sim/tests/regression/test_p1_steady_state_mesh_convergence.py::test_actual_interval_ladder_and_residual_certificates", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_p1_steady_state_mesh_convergence.py", + "symbol": "test_certified_short_circuit_current_contracts" + }, + "test_node": "perovskite-sim/tests/regression/test_p1_steady_state_mesh_convergence.py::test_certified_short_circuit_current_contracts", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_p1_steady_state_mesh_convergence.py", + "symbol": "test_observations_match_reproducibility_registry" + }, + "test_node": "perovskite-sim/tests/regression/test_p1_steady_state_mesh_convergence.py::test_observations_match_reproducibility_registry", + "scope_docstring": "Keep reported local values executable without widening physics gates.", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_p1_steady_state_mesh_convergence.py", + "symbol": "test_prolonged_fine_grid_current_changes_contract" + }, + "test_node": "perovskite-sim/tests/regression/test_p1_steady_state_mesh_convergence.py::test_prolonged_fine_grid_current_changes_contract", + "scope_docstring": "48/72/96 are non-geometric, so use their raw successive changes.", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + } + ], + "call_chains": [], + "original_scope_limitations": [ + "this certifies the carrier steady state at V=0 with the ion profile frozen", + "72/96 use a certified 48-interval state prolongation and relative-log coordinates", + "no spatial-profile convergence norm for n, p, or electrostatic potential is claimed", + "no full ionic-equilibrium or voltage-dependent J-V convergence claim is made" + ], + "active_contract": null, + "obligations": [ + { + "id": "new-source-benchmark-a9fb1ab48c74827c", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/benchmark-a9fb1ab48c74827c.json", + "tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "gates": [ + "G0", + "G3", + "G9" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof", + "per-physical-observable units/norm/reference scale/zero policy and applicable original or prospectively frozen threshold; test truth values do not fill this field" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-201b683331ae14fc4f96927c", + "rule-3afbcf318f8bd0ce7f68a0d5", + "rule-dbd43d19061711f06cd845f3", + "rule-0001d10fc6e7a1c502f870e1", + "rule-92d7d00a0a43b86f0a3dc1e9", + "rule-aaf9018c9a85e10141f85270", + "rule-dc84c8437171a496c5282894", + "rule-8c1de71f69a6218cfb000158", + "rule-5ff4561b12a6923c57417ea4", + "rule-2ebe08b846b75bb426ad0ab0", + "rule-af31c1af971122dae3596704", + "rule-5bb18d8b36555d4049926638" + ], + "comparison_scope_id": "scope-benchmark-a9fb1ab48c74827c" + }, + { + "capability_id": "benchmark-ac54a8e323f74ee0", + "route_id": "route-f13ea1085e6c91d1", + "origin_key": "benchmark:lin2019-tandem", + "target": { + "capability_id": "benchmark-ac54a8e323f74ee0", + "scope_id": "benchmark:lin2019-tandem", + "kind": "original_scoped_assertions", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_assertions_bound", + "citations": [ + { + "source_id": "repository:perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "pointer": "/benchmarks/lin2019-tandem", + "value_sha256": "f68d5db104c4e97a9737bd3445b2766255588295b7f4541581136c6b045bcb99" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_tandem_lin2019.py", + "symbol": "test_lin2019_absorber_thicknesses_follow_paper" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_tandem_lin2019.py", + "symbol": "test_lin2019_cu_optics_cover_protocol_from_native_source" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_tandem_lin2019.py", + "symbol": "test_lin2019_jsc_within_tolerance" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_tandem_lin2019.py", + "symbol": "test_lin2019_observations_match_reproducibility_registry" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_tandem_lin2019.py", + "symbol": "test_lin2019_pce_within_tolerance" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_tandem_lin2019.py", + "symbol": "test_lin2019_source_stack_and_reported_thicknesses" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_tandem_lin2019.py", + "symbol": "test_lin2019_subcell_currents_match_within_two_percent" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_tandem_lin2019.py", + "symbol": "test_lin2019_subcells_respect_their_photon_budgets" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_tandem_lin2019.py", + "symbol": "test_lin2019_voc_and_ff_within_tolerance" + } + ], + "original_evidence": [ + { + "kind": "registered_contract", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "pointer": "/benchmarks/lin2019-tandem", + "value_sha256": "f68d5db104c4e97a9737bd3445b2766255588295b7f4541581136c6b045bcb99" + }, + "historical_source_sha256": "35165f16511bcf61a3eecec1c2391780249206aecc97fe17dd1cf30c046681be", + "scope_limitations": [ + "wide-gap and SnPb optical constants are rigid-shift placeholders", + "the source layer sequence and reported thicknesses are transcribed, while unreported ITO/PTAA/PEDOT thicknesses remain explicit assumptions", + "PTAA and BCP optical data and several electrical parameters remain explicit proxies", + "all four tandem metrics pass a broad 10 percent paper window", + "both photon budgets pass and the sub-cell currents match within 0.508 percent", + "the proxy-optics budgets remain about 2.1 percent below the champion 15.6 mA/cm2 central value, so exact champion parity is not claimed" + ] + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_tandem_lin2019.py", + "symbol": "test_lin2019_absorber_thicknesses_follow_paper" + }, + "test_node": "perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_absorber_thicknesses_follow_paper", + "scope_docstring": "Keep the paper-reported ~300/800 nm thickness provenance executable.", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_tandem_lin2019.py", + "symbol": "test_lin2019_cu_optics_cover_protocol_from_native_source" + }, + "test_node": "perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_cu_optics_cover_protocol_from_native_source", + "scope_docstring": "The 300-1100 nm protocol must interpolate inside the Cu source table.", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_tandem_lin2019.py", + "symbol": "test_lin2019_jsc_within_tolerance" + }, + "test_node": "perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_jsc_within_tolerance", + "scope_docstring": "J_sc is a live gate after restoring paper-reported thicknesses.", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_tandem_lin2019.py", + "symbol": "test_lin2019_observations_match_reproducibility_registry" + }, + "test_node": "perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_observations_match_reproducibility_registry", + "scope_docstring": "Keep exact local observations live without promoting external evidence.", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_tandem_lin2019.py", + "symbol": "test_lin2019_pce_within_tolerance" + }, + "test_node": "perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_pce_within_tolerance", + "scope_docstring": "PCE is a live gate after restoring paper-reported thicknesses.", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_tandem_lin2019.py", + "symbol": "test_lin2019_source_stack_and_reported_thicknesses" + }, + "test_node": "perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_source_stack_and_reported_thicknesses", + "scope_docstring": "Keep the source sequence and every reported contact thickness live.", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_tandem_lin2019.py", + "symbol": "test_lin2019_subcell_currents_match_within_two_percent" + }, + "test_node": "perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_subcell_currents_match_within_two_percent", + "scope_docstring": "Keep the source-stack series-current match isolated and quantitative.", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_tandem_lin2019.py", + "symbol": "test_lin2019_subcells_respect_their_photon_budgets" + }, + "test_node": "perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_subcells_respect_their_photon_budgets", + "scope_docstring": "No sub-cell may collect more current than photons absorbed in it.\n\nThis is the invariant the pre-fix pipeline violated (top sub-cell at 124 %\nof its budget) and the reason the Lin 2019 agreement looked better than it\nwas. Anchored on the optics, not on the solve, so it cannot be satisfied by\na solver artifact -- the same external-anchor argument as\ntests/regression/test_physical_bounds.py.", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_tandem_lin2019.py", + "symbol": "test_lin2019_voc_and_ff_within_tolerance" + }, + "test_node": "perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_voc_and_ff_within_tolerance", + "scope_docstring": "V_oc and FF remain independent live paper-window gates.", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + } + ], + "call_chains": [], + "original_scope_limitations": [ + "wide-gap and SnPb optical constants are rigid-shift placeholders", + "the source layer sequence and reported thicknesses are transcribed, while unreported ITO/PTAA/PEDOT thicknesses remain explicit assumptions", + "PTAA and BCP optical data and several electrical parameters remain explicit proxies", + "all four tandem metrics pass a broad 10 percent paper window", + "both photon budgets pass and the sub-cell currents match within 0.508 percent", + "the proxy-optics budgets remain about 2.1 percent below the champion 15.6 mA/cm2 central value, so exact champion parity is not claimed" + ], + "active_contract": null, + "obligations": [ + { + "id": "new-source-benchmark-ac54a8e323f74ee0", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/benchmark-ac54a8e323f74ee0.json", + "tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "gates": [ + "G0", + "G3", + "G9" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof", + "per-physical-observable units/norm/reference scale/zero policy and applicable original or prospectively frozen threshold; test truth values do not fill this field" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-68663e1efd864ce55aa43c2f", + "rule-955b0b67dcd9ac809a0f8dce", + "rule-8902906c422ec281423634db", + "rule-cfcdc800d5ec7a6340a0850b", + "rule-753069b5ac469ffd9171865e", + "rule-b1a3bf7ff4b01355054114ca", + "rule-3045a6cbe737c87384231bf1", + "rule-41d2030269f5c09a5b563dee", + "rule-d1eeb74e6257306808f24af6", + "rule-3739d8f75e7d26b1e771658d", + "rule-3b30345d0b4119ea4281361c", + "rule-fadf241c22642bdad7b2ced9", + "rule-f2f28a5c990ddeab1378d3b2", + "rule-89ea1e2e1ca42af564d52e2f", + "rule-093e21b8783436fdb0c84235", + "rule-d6e90c27e853a6f7a2cb8904", + "rule-5a127cf4b4fc944b3af5905c", + "rule-0f7981cb2528a84edeacb98c", + "rule-12ecc1f6f454a1580208d34c", + "rule-207cc10794869d48641310d5", + "rule-487f680b7b72673e2075c38b", + "rule-522a8d3a7992faa32a9ca3d8", + "rule-0e961e81c7df397449177678", + "rule-8a9eb9f1069482c1be00534a", + "rule-fc090835ed6dd6e1cf469c8f", + "rule-9a6b373888d9592c0c555b5d", + "rule-90de4ab6502d7d5e9d41b150" + ], + "comparison_scope_id": "scope-benchmark-ac54a8e323f74ee0" + }, + { + "capability_id": "benchmark-5ddcacfc324796c7", + "route_id": "route-f13ea1085e6c91d1", + "origin_key": "benchmark:loader-contract", + "target": { + "capability_id": "benchmark-5ddcacfc324796c7", + "scope_id": "benchmark:loader-contract", + "kind": "original_scoped_assertions", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_assertions_bound", + "citations": [ + { + "source_id": "repository:perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "pointer": "/benchmarks/loader-contract", + "value_sha256": "9071ed5350fc8394173e2c6fdc5c4e73a6cc69209a80ca1c957332aa2f321638" + }, + { + "source_id": "repository:perovskite-sim/tests/reproducibility/test_matrix.py", + "symbol": "test_matrix_covers_and_loads_every_shipped_config" + } + ], + "original_evidence": [ + { + "kind": "registered_contract", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "pointer": "/benchmarks/loader-contract", + "value_sha256": "9071ed5350fc8394173e2c6fdc5c4e73a6cc69209a80ca1c957332aa2f321638" + }, + "historical_source_sha256": "35165f16511bcf61a3eecec1c2391780249206aecc97fe17dd1cf30c046681be", + "scope_limitations": [] + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/reproducibility/test_matrix.py", + "symbol": "test_matrix_covers_and_loads_every_shipped_config" + }, + "test_node": "perovskite-sim/tests/reproducibility/test_matrix.py::test_matrix_covers_and_loads_every_shipped_config", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + } + ], + "call_chains": [], + "original_scope_limitations": [], + "active_contract": null, + "obligations": [ + { + "id": "new-source-benchmark-5ddcacfc324796c7", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/benchmark-5ddcacfc324796c7.json", + "tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "gates": [ + "G0", + "G3", + "G9" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof", + "per-physical-observable units/norm/reference scale/zero policy and applicable original or prospectively frozen threshold; test truth values do not fill this field" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-d828cc4ef5681aa2ff849537", + "rule-b57168752d5baee19b6c3dc5", + "rule-798f898fca41c0c146139dc9" + ], + "comparison_scope_id": "scope-benchmark-5ddcacfc324796c7" + }, + { + "capability_id": "benchmark-f243dcb4f5a72c41", + "route_id": "route-f13ea1085e6c91d1", + "origin_key": "benchmark:multivalent-explicit-defect-internal-closure", + "target": { + "capability_id": "benchmark-f243dcb4f5a72c41", + "scope_id": "benchmark:multivalent-explicit-defect-internal-closure", + "kind": "original_scoped_assertions", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_assertions_bound", + "citations": [ + { + "source_id": "repository:perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "pointer": "/benchmarks/multivalent-explicit-defect-internal-closure", + "value_sha256": "595c5174359eadc726d2c808cfdc3af8429c6c89ae8f3dae2ea72f3e2f5d3d3f" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_multivalent_explicit_defects_qf.py", + "symbol": "test_single_transition_v4_device_recovers_the_monovalent_qf_dc_route" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/models/test_multivalent_defect_loader.py", + "symbol": "test_layer_parser_builds_the_canonical_v4_document" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/models/test_multivalent_defect_schema.py", + "symbol": "test_v4_document_roundtrip_hash_and_shared_density_are_stable" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_multivalent_defect_closure.py", + "symbol": "test_single_transition_unity_limit_recovers_d2_exact_local_closure" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_multivalent_defect_device.py", + "symbol": "test_full_grid_evaluation_matches_the_region_source_closure" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_multivalent_defect_refinement.py", + "symbol": "test_registered_executor_real_cell_matches_exact_contract" + } + ], + "original_evidence": [ + { + "kind": "registered_contract", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "pointer": "/benchmarks/multivalent-explicit-defect-internal-closure", + "value_sha256": "595c5174359eadc726d2c808cfdc3af8429c6c89ae8f3dae2ea72f3e2f5d3d3f" + }, + "historical_source_sha256": "35165f16511bcf61a3eecec1c2391780249206aecc97fe17dd1cf30c046681be", + "scope_limitations": [ + "the source-clean 3x3 lane is internal SolarLab grid and tolerance evidence, not SCAPS parity or experimental validation", + "multivalent defects execute only through the opt-in QF/DC path on uniform layers; graded, dynamic, AC, transient, interface, mobile-ion and structured-DAE routes remain fail-closed", + "metastable configurations are contract-only at this checkpoint and are not executed by this lane" + ] + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_multivalent_explicit_defects_qf.py", + "symbol": "test_single_transition_v4_device_recovers_the_monovalent_qf_dc_route" + }, + "test_node": "perovskite-sim/tests/integration/test_multivalent_explicit_defects_qf.py::test_single_transition_v4_device_recovers_the_monovalent_qf_dc_route", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/models/test_multivalent_defect_loader.py", + "symbol": "test_layer_parser_builds_the_canonical_v4_document" + }, + "test_node": "perovskite-sim/tests/unit/models/test_multivalent_defect_loader.py::test_layer_parser_builds_the_canonical_v4_document", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/models/test_multivalent_defect_schema.py", + "symbol": "test_v4_document_roundtrip_hash_and_shared_density_are_stable" + }, + "test_node": "perovskite-sim/tests/unit/models/test_multivalent_defect_schema.py::test_v4_document_roundtrip_hash_and_shared_density_are_stable", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_multivalent_defect_closure.py", + "symbol": "test_single_transition_unity_limit_recovers_d2_exact_local_closure" + }, + "test_node": "perovskite-sim/tests/unit/physics/test_multivalent_defect_closure.py::test_single_transition_unity_limit_recovers_d2_exact_local_closure", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_multivalent_defect_device.py", + "symbol": "test_full_grid_evaluation_matches_the_region_source_closure" + }, + "test_node": "perovskite-sim/tests/unit/physics/test_multivalent_defect_device.py::test_full_grid_evaluation_matches_the_region_source_closure", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_multivalent_defect_refinement.py", + "symbol": "test_registered_executor_real_cell_matches_exact_contract" + }, + "test_node": "perovskite-sim/tests/unit/validation/test_multivalent_defect_refinement.py::test_registered_executor_real_cell_matches_exact_contract", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + } + ], + "call_chains": [], + "original_scope_limitations": [ + "the source-clean 3x3 lane is internal SolarLab grid and tolerance evidence, not SCAPS parity or experimental validation", + "multivalent defects execute only through the opt-in QF/DC path on uniform layers; graded, dynamic, AC, transient, interface, mobile-ion and structured-DAE routes remain fail-closed", + "metastable configurations are contract-only at this checkpoint and are not executed by this lane" + ], + "active_contract": null, + "obligations": [ + { + "id": "new-source-benchmark-f243dcb4f5a72c41", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/benchmark-f243dcb4f5a72c41.json", + "tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "gates": [ + "G0", + "G3", + "G9" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof", + "per-physical-observable units/norm/reference scale/zero policy and applicable original or prospectively frozen threshold; test truth values do not fill this field" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-9d847f0db59da2eb7f2b612f", + "rule-dff30ffe3b03d55ef5843b67", + "rule-3e78b9b3d539026e4882c249", + "rule-6872d66e510a8fb199fb3bb3", + "rule-ee6ca82a50c03d2d0c3629a0", + "rule-98558d7e8cb6dfc6b8530931", + "rule-9e5ebd1eed6af90a806bfb05", + "rule-9d7fde465cedfb39c21947f2", + "rule-32e37a0d75e13d6877928f6e", + "rule-1e731c0ae01871d56a445b60", + "rule-50348fe1dc27fdad36a4fb1c", + "rule-aa215901be27393983b6b6eb", + "rule-6cd4d1b49750ed698ffcae0b", + "rule-4852edfc9a234d7a829bcf2e", + "rule-701d7e343cc0502eee00770c", + "rule-9bb57b375b4cc3a2aa206b35", + "rule-20bc2f09acaa1f6eb64ca6d2", + "rule-7263ba03e889ddbec15bae44", + "rule-f35213d4bbbc2b798769f702", + "rule-92652cd35c76c29cdd8e0c63", + "rule-d5278154c1f15ff1cec5b0a5", + "rule-43f092df6c82ad5054453f4f", + "rule-7f3f88f7d580aadb781a8a28", + "rule-749d733327299a1ff8b2de8f", + "rule-8755a425118a03f8f60680f9", + "rule-e49b4adbbdcc5858fe8fa698", + "rule-725561561d13ad017a11e6f1", + "rule-0a0d951fc3ba8cbfe7ca1fe2", + "rule-43988de71db0973e39811005", + "rule-94bfd1d899b105232ca6ac65", + "rule-5ed4c18c43afdba04781df68", + "rule-b5b818883064c7b9fadd18ff", + "rule-ff44ba98823313cfa2c82541", + "rule-5f5582e60983bab7a71ef28a", + "rule-a3250cd3b5ca78782980c89b", + "rule-836bedcd6fe346635b5ccda1", + "rule-ebf201000f598d10bb6424a9", + "rule-c781332bb5ca7a0172ddcef3", + "rule-e71f3ac7378f5b52cff340fe", + "rule-2fba8a9606eb228b7a1eb140", + "rule-f4f177b1e58cec5a114f7601", + "rule-19ac272ed99c91ab66116250", + "rule-7380daffd6b857767a8eb0c5", + "rule-55e49fdbd829985d2d824c1b", + "rule-61ec908b2466bf13aabd52d3" + ], + "comparison_scope_id": "scope-benchmark-f243dcb4f5a72c41" + }, + { + "capability_id": "benchmark-ac91c699b18d14f4", + "route_id": "route-f13ea1085e6c91d1", + "origin_key": "benchmark:phase1-refinement-contract", + "target": { + "capability_id": "benchmark-ac91c699b18d14f4", + "scope_id": "benchmark:phase1-refinement-contract", + "kind": "original_scoped_assertions", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_assertions_bound", + "citations": [ + { + "source_id": "repository:perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "pointer": "/benchmarks/phase1-refinement-contract", + "value_sha256": "3a52fdcb18a1b60bc0d218a142e83a51d04dffa2f732c733bc50c77ea4d90c65" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_tolerance_grid_refinement.py", + "symbol": "test_certificate_distinguishes_certified_partial_and_failed" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_tolerance_grid_refinement.py", + "symbol": "test_failed_cell_can_be_retried_without_deleting_prior_artifact" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_tolerance_grid_refinement.py", + "symbol": "test_plan_refinement_is_read_only" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_tolerance_grid_refinement.py", + "symbol": "test_preregistered_numerical_lanes_and_thresholds_are_immutable" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_tolerance_grid_refinement.py", + "symbol": "test_protocol_hash_is_manifested_and_inconsistency_fails_closed" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_tolerance_grid_refinement.py", + "symbol": "test_refinement_runner_rejects_historical_reference_output_root" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_tolerance_grid_refinement.py", + "symbol": "test_refinement_runner_resumes_content_addressed_cells_without_overwrite" + } + ], + "original_evidence": [ + { + "kind": "registered_contract", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "pointer": "/benchmarks/phase1-refinement-contract", + "value_sha256": "3a52fdcb18a1b60bc0d218a142e83a51d04dffa2f732c733bc50c77ea4d90c65" + }, + "historical_source_sha256": "35165f16511bcf61a3eecec1c2391780249206aecc97fe17dd1cf30c046681be", + "scope_limitations": [ + "this passing benchmark certifies the immutable schema and runner mechanics only", + "no pre-registered physical lane is promoted until its content-addressed matrix closes" + ] + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_tolerance_grid_refinement.py", + "symbol": "test_certificate_distinguishes_certified_partial_and_failed" + }, + "test_node": "perovskite-sim/tests/regression/test_tolerance_grid_refinement.py::test_certificate_distinguishes_certified_partial_and_failed", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_tolerance_grid_refinement.py", + "symbol": "test_failed_cell_can_be_retried_without_deleting_prior_artifact" + }, + "test_node": "perovskite-sim/tests/regression/test_tolerance_grid_refinement.py::test_failed_cell_can_be_retried_without_deleting_prior_artifact", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_tolerance_grid_refinement.py", + "symbol": "test_plan_refinement_is_read_only" + }, + "test_node": "perovskite-sim/tests/regression/test_tolerance_grid_refinement.py::test_plan_refinement_is_read_only", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_tolerance_grid_refinement.py", + "symbol": "test_preregistered_numerical_lanes_and_thresholds_are_immutable" + }, + "test_node": "perovskite-sim/tests/regression/test_tolerance_grid_refinement.py::test_preregistered_numerical_lanes_and_thresholds_are_immutable", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_tolerance_grid_refinement.py", + "symbol": "test_protocol_hash_is_manifested_and_inconsistency_fails_closed" + }, + "test_node": "perovskite-sim/tests/regression/test_tolerance_grid_refinement.py::test_protocol_hash_is_manifested_and_inconsistency_fails_closed", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_tolerance_grid_refinement.py", + "symbol": "test_refinement_runner_rejects_historical_reference_output_root" + }, + "test_node": "perovskite-sim/tests/regression/test_tolerance_grid_refinement.py::test_refinement_runner_rejects_historical_reference_output_root", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_tolerance_grid_refinement.py", + "symbol": "test_refinement_runner_resumes_content_addressed_cells_without_overwrite" + }, + "test_node": "perovskite-sim/tests/regression/test_tolerance_grid_refinement.py::test_refinement_runner_resumes_content_addressed_cells_without_overwrite", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + } + ], + "call_chains": [], + "original_scope_limitations": [ + "this passing benchmark certifies the immutable schema and runner mechanics only", + "no pre-registered physical lane is promoted until its content-addressed matrix closes" + ], + "active_contract": null, + "obligations": [ + { + "id": "new-source-benchmark-ac91c699b18d14f4", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/benchmark-ac91c699b18d14f4.json", + "tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "gates": [ + "G0", + "G3", + "G9" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof", + "per-physical-observable units/norm/reference scale/zero policy and applicable original or prospectively frozen threshold; test truth values do not fill this field" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-a186bca70355c52f649a7b81", + "rule-33234450bf47b63cd2115536", + "rule-43159f3e99d0a0c5acdf52a7", + "rule-1687e84c0ced1230f0556ad9", + "rule-1aa85575fccfe0f4edd08ff3", + "rule-0cac924da331dbb3ae020118", + "rule-ee1750efdfee356b0ba68494", + "rule-63c07c6cbbdae4e9b8c28102", + "rule-15f961290dc44d7c9c58b0a9", + "rule-e61109e63f9853ffaa9a395d", + "rule-f05b2f0685536f22a2e87075", + "rule-27b62f2ff81c08583af7db1b", + "rule-799782d185ed0c93df962fc1", + "rule-60464fac027b1e06073b0386", + "rule-1e41abf35ba9e7eda5893011", + "rule-cc3b549c3d871768602125b8", + "rule-59d3892c06bdebbaa20c2748", + "rule-534dc950c54953fadc123fc5", + "rule-76f4f2ea0c6a1024cc8975af", + "rule-a4f82eb60a28bd9897cd6d87", + "rule-fecd37f6ec095705a4f396c6", + "rule-2d2f81e0eb5ef8bc39dc7a2a", + "rule-7df9b5d4034014d025a4e5fc", + "rule-709a70df76d242b65c7ce99b", + "rule-974c9a295cb37a0cb9cfb53c", + "rule-62266fcda2ab22e9332a9a79", + "rule-6abdc55f6c1deed0cd9daf55", + "rule-8e94a9e3e2c519a44789395a", + "rule-a814ba708c3cce80c89e048b", + "rule-f6b6c6cae3df3d0898c09ef6", + "rule-163e0ed0c29a17953e06c1b4", + "rule-6fd36be2ffecf5178f3af59b", + "rule-c407c2be3149637581b73559", + "rule-8748741092afbe661aa38483", + "rule-aa1545d91839611630cc67cd", + "rule-9eeb7ee249c5f59f20fa9394", + "rule-e4c2987d0e6fc71452f21e1c", + "rule-0486cbb4ef408b75e7d18011", + "rule-a263268c61ca06688b044338", + "rule-e0e4564358fa2a4d77b3a332", + "rule-c9a29cdde3d8fc6bf9d25fe3", + "rule-ff731aa4a46fc2dc16ed3fd2", + "rule-c80231284af2b010d1c57a08", + "rule-40ff03bd084afd98d966563e", + "rule-6c5fb3f277c86e94de4e5a94", + "rule-e2645e3068860c60f34f2569", + "rule-558f7b9ba7ac4e352d8cae40", + "rule-012877e59710e7a1d768d061", + "rule-10574d4ca6720d7f4cd741c3", + "rule-f9e0322b487ed18c81ab30ce" + ], + "comparison_scope_id": "scope-benchmark-ac91c699b18d14f4" + }, + { + "capability_id": "benchmark-beb35201a660895f", + "route_id": "route-f13ea1085e6c91d1", + "origin_key": "benchmark:scaps-cbo-trend", + "target": { + "capability_id": "benchmark-beb35201a660895f", + "scope_id": "benchmark:scaps-cbo-trend", + "kind": "original_scoped_assertions", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_assertions_bound", + "citations": [ + { + "source_id": "repository:perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "pointer": "/benchmarks/scaps-cbo-trend", + "value_sha256": "bd94751ed3e57f6265e83fc3ecd0e2a2fdf2c5ae6edf02110f508ae59022ffa4" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_scaps_mirror_cbo_trend.py", + "symbol": "test_cbo_voc_drops_at_cliff" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_scaps_mirror_cbo_trend.py", + "symbol": "test_cbo_voc_holds_at_spike" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_scaps_mirror_cbo_trend.py", + "symbol": "test_cbo_voc_range_at_least_200mV" + } + ], + "original_evidence": [ + { + "kind": "registered_contract", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "pointer": "/benchmarks/scaps-cbo-trend", + "value_sha256": "bd94751ed3e57f6265e83fc3ecd0e2a2fdf2c5ae6edf02110f508ae59022ffa4" + }, + "historical_source_sha256": "35165f16511bcf61a3eecec1c2391780249206aecc97fe17dd1cf30c046681be", + "scope_limitations": [] + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_scaps_mirror_cbo_trend.py", + "symbol": "test_cbo_voc_drops_at_cliff" + }, + "test_node": "perovskite-sim/tests/integration/test_scaps_mirror_cbo_trend.py::test_cbo_voc_drops_at_cliff", + "scope_docstring": "SCAPS: V_oc(ΔE_C=−0.5) significantly below V_oc(ΔE_C=0).", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_scaps_mirror_cbo_trend.py", + "symbol": "test_cbo_voc_holds_at_spike" + }, + "test_node": "perovskite-sim/tests/integration/test_scaps_mirror_cbo_trend.py::test_cbo_voc_holds_at_spike", + "scope_docstring": "SCAPS shows V_oc near-plateau for moderate spike (ΔE_C=+0.3).\n\nThis test passes today on the Phase B baseline because V_oc is\nbulk-limited and roughly constant across the sweep -- the\nnear-plateau is incidentally satisfied. Kept active so a future\nPhase E1 landing must preserve the spike-side behaviour while\nbringing the cliff-side direction into alignment.", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_scaps_mirror_cbo_trend.py", + "symbol": "test_cbo_voc_range_at_least_200mV" + }, + "test_node": "perovskite-sim/tests/integration/test_scaps_mirror_cbo_trend.py::test_cbo_voc_range_at_least_200mV", + "scope_docstring": "SCAPS V_oc range across ΔE_C∈[−0.5,+0.3] is ~420 mV.", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + } + ], + "call_chains": [], + "original_scope_limitations": [], + "active_contract": null, + "obligations": [ + { + "id": "new-source-benchmark-beb35201a660895f", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/benchmark-beb35201a660895f.json", + "tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "gates": [ + "G0", + "G3", + "G9" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof", + "per-physical-observable units/norm/reference scale/zero policy and applicable original or prospectively frozen threshold; test truth values do not fill this field" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-53924af4ac546af9ae3a8d6d", + "rule-4cfb2360003cf93e856bc757", + "rule-94ccecc3784e3c00fd7e5f56" + ], + "comparison_scope_id": "scope-benchmark-beb35201a660895f" + }, + { + "capability_id": "benchmark-64d717e2afaf62b7", + "route_id": "route-f13ea1085e6c91d1", + "origin_key": "benchmark:scaps-low-doping-etl-boundary", + "target": { + "capability_id": "benchmark-64d717e2afaf62b7", + "scope_id": "benchmark:scaps-low-doping-etl-boundary", + "kind": "original_scoped_assertions", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_assertions_bound", + "citations": [ + { + "source_id": "repository:perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "pointer": "/benchmarks/scaps-low-doping-etl-boundary", + "value_sha256": "fb9f0539afb9c1ce08798f6f4ec733f8610494e7bdd4a78a3d3be26d676ea4a9" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_steady_state.py", + "symbol": "test_low_doping_etl_metal_reservoir_brackets_physical_voc" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_steady_state.py", + "symbol": "test_low_doping_etl_without_metal_reservoir_is_explicit_no_crossing" + } + ], + "original_evidence": [ + { + "kind": "registered_contract", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "pointer": "/benchmarks/scaps-low-doping-etl-boundary", + "value_sha256": "fb9f0539afb9c1ce08798f6f4ec733f8610494e7bdd4a78a3d3be26d676ea4a9" + }, + "historical_source_sha256": "35165f16511bcf61a3eecec1c2391780249206aecc97fe17dd1cf30c046681be", + "scope_limitations": [ + "the metal-reservoir contact barrier is a calibrated model parameter", + "the 60 mV SCAPS comparison window is not an independent holdout validation" + ] + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_steady_state.py", + "symbol": "test_low_doping_etl_metal_reservoir_brackets_physical_voc" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_steady_state.py::test_low_doping_etl_metal_reservoir_brackets_physical_voc", + "scope_docstring": "The shipped metal-reservoir BC closes the old no-crossing branch.\n\nThe SCAPS value is a calibrated comparison, not a holdout prediction: the\ncontact barrier in this preset is itself a model parameter. This gate\ntherefore checks finite/bracketed/sub-bandgap behaviour and retains the\nmeasured 60 mV comparison window without promoting it to external proof.", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_steady_state.py", + "symbol": "test_low_doping_etl_without_metal_reservoir_is_explicit_no_crossing" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_steady_state.py::test_low_doping_etl_without_metal_reservoir_is_explicit_no_crossing", + "scope_docstring": "The legacy contact choice remains a diagnosed model branch, not xfail.", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + } + ], + "call_chains": [], + "original_scope_limitations": [ + "the metal-reservoir contact barrier is a calibrated model parameter", + "the 60 mV SCAPS comparison window is not an independent holdout validation" + ], + "active_contract": null, + "obligations": [ + { + "id": "new-source-benchmark-64d717e2afaf62b7", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/benchmark-64d717e2afaf62b7.json", + "tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "gates": [ + "G0", + "G3", + "G9" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof", + "per-physical-observable units/norm/reference scale/zero policy and applicable original or prospectively frozen threshold; test truth values do not fill this field" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-3553b678ec50db25702397f8", + "rule-d62763ca3a9d59d447dc138c", + "rule-2f04326121a19bb663651428", + "rule-02a2d8e22e148ceadce3708f", + "rule-1c665ebd6f66b247f004eff3" + ], + "comparison_scope_id": "scope-benchmark-64d717e2afaf62b7" + }, + { + "capability_id": "benchmark-4e5dfc48e60736d0", + "route_id": "route-f13ea1085e6c91d1", + "origin_key": "benchmark:spatial-explicit-defect-internal-closure", + "target": { + "capability_id": "benchmark-4e5dfc48e60736d0", + "scope_id": "benchmark:spatial-explicit-defect-internal-closure", + "kind": "original_scoped_assertions", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_assertions_bound", + "citations": [ + { + "source_id": "repository:perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "pointer": "/benchmarks/spatial-explicit-defect-internal-closure", + "value_sha256": "dfc286c5e52c75148405ff9f9b26cf9c3813dd1b10bab1668dd9d4319c49a486" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_spatially_graded_explicit_defects_qf.py", + "symbol": "test_spatially_graded_dark_qf_state_and_small_jv_are_certified" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_distributed_defect_closure.py", + "symbol": "test_nearly_saturated_tail_mean_stays_bounded_without_clipping" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_spatial_defect_refinement.py", + "symbol": "test_registered_executor_real_cell_matches_exact_contract" + } + ], + "original_evidence": [ + { + "kind": "registered_contract", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "pointer": "/benchmarks/spatial-explicit-defect-internal-closure", + "value_sha256": "dfc286c5e52c75148405ff9f9b26cf9c3813dd1b10bab1668dd9d4319c49a486" + }, + "historical_source_sha256": "35165f16511bcf61a3eecec1c2391780249206aecc97fe17dd1cf30c046681be", + "scope_limitations": [ + "the immutable v1 source-clean matrix completed 9/9 cells and 349/350 checks but remains partial because the coarsest grid-64 solve exceeded the frozen dark-current gate", + "v2 retains every v1 grid, factor, observable, and gate while tightening only the base Newton residual tolerance from 1e-8 to 1e-9", + "the v2 source-clean matrix at commit 1c356b6 completed 9/9 cells and 350/350 checks with certificate SHA-256 a46cc7c190402225dab099ac59ed3ea555b01e337534699ca30f3263ae149bc1", + "the lane is restricted to a two-layer band-graded Maxwell-Boltzmann quasi-steady QF/DC device with frozen/no mobile ions", + "interfaces, AC, transient occupancy, tunnelling, multivalent defects, external SCAPS parity, and experimental validation remain absent" + ] + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_spatially_graded_explicit_defects_qf.py", + "symbol": "test_spatially_graded_dark_qf_state_and_small_jv_are_certified" + }, + "test_node": "perovskite-sim/tests/integration/test_spatially_graded_explicit_defects_qf.py::test_spatially_graded_dark_qf_state_and_small_jv_are_certified", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_distributed_defect_closure.py", + "symbol": "test_nearly_saturated_tail_mean_stays_bounded_without_clipping" + }, + "test_node": "perovskite-sim/tests/unit/physics/test_distributed_defect_closure.py::test_nearly_saturated_tail_mean_stays_bounded_without_clipping", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_spatial_defect_refinement.py", + "symbol": "test_registered_executor_real_cell_matches_exact_contract" + }, + "test_node": "perovskite-sim/tests/unit/validation/test_spatial_defect_refinement.py::test_registered_executor_real_cell_matches_exact_contract", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + } + ], + "call_chains": [], + "original_scope_limitations": [ + "the immutable v1 source-clean matrix completed 9/9 cells and 349/350 checks but remains partial because the coarsest grid-64 solve exceeded the frozen dark-current gate", + "v2 retains every v1 grid, factor, observable, and gate while tightening only the base Newton residual tolerance from 1e-8 to 1e-9", + "the v2 source-clean matrix at commit 1c356b6 completed 9/9 cells and 350/350 checks with certificate SHA-256 a46cc7c190402225dab099ac59ed3ea555b01e337534699ca30f3263ae149bc1", + "the lane is restricted to a two-layer band-graded Maxwell-Boltzmann quasi-steady QF/DC device with frozen/no mobile ions", + "interfaces, AC, transient occupancy, tunnelling, multivalent defects, external SCAPS parity, and experimental validation remain absent" + ], + "active_contract": null, + "obligations": [ + { + "id": "new-source-benchmark-4e5dfc48e60736d0", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/benchmark-4e5dfc48e60736d0.json", + "tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "gates": [ + "G0", + "G3", + "G9" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof", + "per-physical-observable units/norm/reference scale/zero policy and applicable original or prospectively frozen threshold; test truth values do not fill this field" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-7fba07a6a5e9765156181597", + "rule-e100a8c2da42629645d4d79b", + "rule-f3ebc00061806eabf4ae0b9b", + "rule-07c6a17310cfa55b5143e851", + "rule-45ae930669dc92a0e8670052", + "rule-0c411c46f1208d660ff52ba6", + "rule-1df4324651302876c968dc18", + "rule-909e6a59e63ff1f71b598eff", + "rule-a3bd894687788b4ccb96766b", + "rule-807117fa0ce918da7306c8e1", + "rule-fd209b45d27133da7a8728be", + "rule-2ff1dcf39fb3647537cd4ef3", + "rule-b94b29fa345ba2fae48bf631", + "rule-d1450efcf4029dd7739badfe", + "rule-23928f3c69b5e3abcaf8a1cc", + "rule-6eef31faff8794941e6bd03e", + "rule-158106a4b6197d43fbb824f2", + "rule-d9cb02001b0eb1658bcb8794", + "rule-2f1a83468c8785d3ce9ed879", + "rule-bd0ddee005c784a471d1125b", + "rule-b94db8746401a2683118c3b1", + "rule-863cbea9d1dcff6a5a86984d", + "rule-a4b536d4936b616d55145974", + "rule-0c1c0ebe9f1b234f6bb70a64" + ], + "comparison_scope_id": "scope-benchmark-4e5dfc48e60736d0" + }, + { + "capability_id": "benchmark-a8032d8160a5c7e3", + "route_id": "route-f13ea1085e6c91d1", + "origin_key": "benchmark:tmm-jsc-regression", + "target": { + "capability_id": "benchmark-a8032d8160a5c7e3", + "scope_id": "benchmark:tmm-jsc-regression", + "kind": "original_scoped_assertions", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_assertions_bound", + "citations": [ + { + "source_id": "repository:perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "pointer": "/benchmarks/tmm-jsc-regression", + "value_sha256": "5717110052d1f721dabe39c0b200ed22a4f1d31814ea952abbf064fc3b812986" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_tmm_baseline.py", + "symbol": "test_nip_tmm_baseline_jsc" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_tmm_baseline.py", + "symbol": "test_pin_tmm_baseline_jsc" + } + ], + "original_evidence": [ + { + "kind": "registered_contract", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "pointer": "/benchmarks/tmm-jsc-regression", + "value_sha256": "5717110052d1f721dabe39c0b200ed22a4f1d31814ea952abbf064fc3b812986" + }, + "historical_source_sha256": "35165f16511bcf61a3eecec1c2391780249206aecc97fe17dd1cf30c046681be", + "scope_limitations": [ + "fixtures explicitly use the historical whole-flux steric-ion protocol", + "this isolates the optical TMM pin and does not certify shipped-default ionic transport" + ] + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_tmm_baseline.py", + "symbol": "test_nip_tmm_baseline_jsc" + }, + "test_node": "perovskite-sim/tests/regression/test_tmm_baseline.py::test_nip_tmm_baseline_jsc", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_tmm_baseline.py", + "symbol": "test_pin_tmm_baseline_jsc" + }, + "test_node": "perovskite-sim/tests/regression/test_tmm_baseline.py::test_pin_tmm_baseline_jsc", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + } + ], + "call_chains": [], + "original_scope_limitations": [ + "fixtures explicitly use the historical whole-flux steric-ion protocol", + "this isolates the optical TMM pin and does not certify shipped-default ionic transport" + ], + "active_contract": null, + "obligations": [ + { + "id": "new-source-benchmark-a8032d8160a5c7e3", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/benchmark-a8032d8160a5c7e3.json", + "tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "gates": [ + "G0", + "G3", + "G9" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof", + "per-physical-observable units/norm/reference scale/zero policy and applicable original or prospectively frozen threshold; test truth values do not fill this field" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-74f8b42db9841a2cc1cfebd0", + "rule-99f83be95993e47c08fc1d8c" + ], + "comparison_scope_id": "scope-benchmark-a8032d8160a5c7e3" + }, + { + "capability_id": "benchmark-63f25334baabb168", + "route_id": "route-f13ea1085e6c91d1", + "origin_key": "benchmark:twod-combined-mobile-interface-internal-closure", + "target": { + "capability_id": "benchmark-63f25334baabb168", + "scope_id": "benchmark:twod-combined-mobile-interface-internal-closure", + "kind": "original_scoped_assertions", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_assertions_bound", + "citations": [ + { + "source_id": "repository:perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "pointer": "/benchmarks/twod-combined-mobile-interface-internal-closure", + "value_sha256": "e01f80d954eb5432d02228006e4855004014cf653d7d0c8362a8682c693fd029" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_twod_combined_refinement.py", + "symbol": "test_real_registered_combined_twod_cell_returns_all_certificate_axes" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_twod_combined_refinement.py", + "symbol": "test_combined_twod_executor_fails_closed_on_missing_point_evidence" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_twod_combined_refinement.py", + "symbol": "test_combined_twod_executor_matches_registry_and_explicit_protocol" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_twod_combined_refinement.py", + "symbol": "test_combined_twod_executor_rejects_malformed_clamp_evidence" + } + ], + "original_evidence": [ + { + "kind": "registered_contract", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "pointer": "/benchmarks/twod-combined-mobile-interface-internal-closure", + "value_sha256": "e01f80d954eb5432d02228006e4855004014cf653d7d0c8362a8682c693fd029" + }, + "historical_source_sha256": "35165f16511bcf61a3eecec1c2391780249206aecc97fe17dd1cf30c046681be", + "scope_limitations": [ + "the source-clean 3x3 matrix is internally certified at commit 0c9eb26 with certificate SHA-256 b02bc4f8b3b5d470d599f6dacde746b26c263591aafecd14cc6c890a94b677dd", + "the fast positive-ion diffusivity and all interface and grain-boundary parameters are synthetic numerical stress inputs", + "this is internal conservation and convergence evidence, not an external simulator, measured-device, or material-parameter validation" + ] + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_twod_combined_refinement.py", + "symbol": "test_real_registered_combined_twod_cell_returns_all_certificate_axes" + }, + "test_node": "perovskite-sim/tests/integration/test_twod_combined_refinement.py::test_real_registered_combined_twod_cell_returns_all_certificate_axes", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_twod_combined_refinement.py", + "symbol": "test_combined_twod_executor_fails_closed_on_missing_point_evidence" + }, + "test_node": "perovskite-sim/tests/unit/validation/test_twod_combined_refinement.py::test_combined_twod_executor_fails_closed_on_missing_point_evidence", + "scope_docstring": null, + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_twod_combined_refinement.py", + "symbol": "test_combined_twod_executor_matches_registry_and_explicit_protocol" + }, + "test_node": "perovskite-sim/tests/unit/validation/test_twod_combined_refinement.py::test_combined_twod_executor_matches_registry_and_explicit_protocol", + "scope_docstring": null, + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_twod_combined_refinement.py", + "symbol": "test_combined_twod_executor_rejects_malformed_clamp_evidence" + }, + "test_node": "perovskite-sim/tests/unit/validation/test_twod_combined_refinement.py::test_combined_twod_executor_rejects_malformed_clamp_evidence", + "scope_docstring": null, + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + } + ], + "call_chains": [], + "original_scope_limitations": [ + "the source-clean 3x3 matrix is internally certified at commit 0c9eb26 with certificate SHA-256 b02bc4f8b3b5d470d599f6dacde746b26c263591aafecd14cc6c890a94b677dd", + "the fast positive-ion diffusivity and all interface and grain-boundary parameters are synthetic numerical stress inputs", + "this is internal conservation and convergence evidence, not an external simulator, measured-device, or material-parameter validation" + ], + "active_contract": null, + "obligations": [ + { + "id": "new-source-benchmark-63f25334baabb168", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/benchmark-63f25334baabb168.json", + "tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "gates": [ + "G0", + "G3", + "G9" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof", + "per-physical-observable units/norm/reference scale/zero policy and applicable original or prospectively frozen threshold; test truth values do not fill this field" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-c81ab5782afe7a03e91c9d3c", + "rule-f077c2eaf9bcb55fb593abdc", + "rule-216f9987145f9b4a6e096c54", + "rule-6f71711f5d87311901bc818e", + "rule-19da7a11833c29eafeccb55d", + "rule-a7199aa9dc5c2347b1fbe9ee", + "rule-c1bdf6fb8119286cbee31867", + "rule-e999ed1589ee5207278f72e1", + "rule-4b47b8b1f214fc8c914d2d43", + "rule-0f95a4b4bca4532e70539764", + "rule-0cce87a00f0cac5d8239e1b5", + "rule-9fed707516b433bea66d07a2", + "rule-98eb0bddb913eb26eed37bdc", + "rule-18bc5c93d98e7652f9610426", + "rule-82e89b19f82dbe8e2a4b6be5", + "rule-1e9c0f50935a381fa0b337a5", + "rule-d65a4255a2e2056c179aa474", + "rule-208aefc75683c1df11241cd3", + "rule-d647aa93fd55fed595b50bdc", + "rule-be242b75c3b52c7dfe07eb30", + "rule-c11585b2d54ad642f5d18a03" + ], + "comparison_scope_id": "scope-benchmark-63f25334baabb168" + }, + { + "capability_id": "benchmark-979ee3060444ba30", + "route_id": "route-f13ea1085e6c91d1", + "origin_key": "benchmark:twod-radiative-reabsorption", + "target": { + "capability_id": "benchmark-979ee3060444ba30", + "scope_id": "benchmark:twod-radiative-reabsorption", + "kind": "original_scoped_assertions", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_assertions_bound", + "citations": [ + { + "source_id": "repository:perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "pointer": "/benchmarks/twod-radiative-reabsorption", + "value_sha256": "f01ccc3157f0d2dcd213b2eb4697b1eaf9e4e2c178dee5cc34fc1fb7af34a94b" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_twod_validation.py", + "symbol": "test_twod_radiative_reabsorption_voc_boost_in_literature_window" + } + ], + "original_evidence": [ + { + "kind": "registered_contract", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "pointer": "/benchmarks/twod-radiative-reabsorption", + "value_sha256": "f01ccc3157f0d2dcd213b2eb4697b1eaf9e4e2c178dee5cc34fc1fb7af34a94b" + }, + "historical_source_sha256": "35165f16511bcf61a3eecec1c2391780249206aecc97fe17dd1cf30c046681be", + "scope_limitations": [] + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_twod_validation.py", + "symbol": "test_twod_radiative_reabsorption_voc_boost_in_literature_window" + }, + "test_node": "perovskite-sim/tests/regression/test_twod_validation.py::test_twod_radiative_reabsorption_voc_boost_in_literature_window", + "scope_docstring": "Stage B(c.3) V_oc boost vs PR-off lies in [40, 100] mV on the 2D\nsolver — verifies the per-RHS reabsorption source actually delivers\nthe literature signature on 2D, not just on 1D.\n\nV_oc-only path (see test_twod_radiative_reabsorption_parity_vs_1d\ndocstring for why). Computes 2D V_oc twice on the same TMM stack:\nonce with FULL tier (PR + reabsorption ON), once with FULL tier but\nuse_photon_recycling=False AND use_radiative_reabsorption=False (and\neverything else still on). Mirrors 1D\ntest_radiative_reabsorption_preserves_voc_boost via monkeypatch on\nresolve_mode in both ``perovskite_sim.models.mode`` (where 2D\nsolver_2d picks it up via local imports) and\n``perovskite_sim.solver.mol`` (where 1D run_suns_voc binds it at\nmodule load).\n\nComparing tier-vs-tier (FULL vs LEGACY) would change far more than\njust the rr+PR flags — LEGACY also disables TMM, TE, dual ions,\ntrap profile, T-scaling — so the V_oc shift would mix several\nphysics effects and not be the literature reabsorption signature.", + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + } + ], + "call_chains": [], + "original_scope_limitations": [], + "active_contract": null, + "obligations": [ + { + "id": "new-source-benchmark-979ee3060444ba30", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/benchmark-979ee3060444ba30.json", + "tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "gates": [ + "G0", + "G3", + "G9" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof", + "per-physical-observable units/norm/reference scale/zero policy and applicable original or prospectively frozen threshold; test truth values do not fill this field" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-c300e86126808221195bf6fc" + ], + "comparison_scope_id": "scope-benchmark-979ee3060444ba30" + }, + { + "capability_id": "benchmark-7e320e9d039d49bd", + "route_id": "route-f13ea1085e6c91d1", + "origin_key": "benchmark:twod-uniform-parity", + "target": { + "capability_id": "benchmark-7e320e9d039d49bd", + "scope_id": "benchmark:twod-uniform-parity", + "kind": "original_scoped_assertions", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_assertions_bound", + "citations": [ + { + "source_id": "repository:perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "pointer": "/benchmarks/twod-uniform-parity", + "value_sha256": "5521c97ff9cbf552091f1000d4852fc54ba232dff41e3274f0369e4b4db04f04" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_twod_validation.py", + "symbol": "test_twod_uniform_matches_1d_within_tolerance" + } + ], + "original_evidence": [ + { + "kind": "registered_contract", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "pointer": "/benchmarks/twod-uniform-parity", + "value_sha256": "5521c97ff9cbf552091f1000d4852fc54ba232dff41e3274f0369e4b4db04f04" + }, + "historical_source_sha256": "35165f16511bcf61a3eecec1c2391780249206aecc97fe17dd1cf30c046681be", + "scope_limitations": [] + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_twod_validation.py", + "symbol": "test_twod_uniform_matches_1d_within_tolerance" + }, + "test_node": "perovskite-sim/tests/regression/test_twod_validation.py::test_twod_uniform_matches_1d_within_tolerance", + "scope_docstring": "Historical frozen-ion parity gate; six checks in the transport contract.", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + } + ], + "call_chains": [], + "original_scope_limitations": [], + "active_contract": null, + "obligations": [ + { + "id": "new-source-benchmark-7e320e9d039d49bd", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/benchmark-7e320e9d039d49bd.json", + "tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "gates": [ + "G0", + "G3", + "G9" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof", + "per-physical-observable units/norm/reference scale/zero policy and applicable original or prospectively frozen threshold; test truth values do not fill this field" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-475ba7e7b0a09bfd02e79693", + "rule-a233358bdf9e909e07f75842", + "rule-c1d99091dfbeba9cad28f882", + "rule-115196d587ba3311b2e57a49", + "rule-6e16a219a7d274a8f8cc5446", + "rule-6594d86721e663337ff9855c", + "rule-5a234a396f0ec85886c3829a" + ], + "comparison_scope_id": "scope-benchmark-7e320e9d039d49bd" + }, + { + "capability_id": "benchmark-a1a396a1f7b2045c", + "route_id": "route-f13ea1085e6c91d1", + "origin_key": "benchmark:vannijen2025-csi-pn-cv", + "target": { + "capability_id": "benchmark-a1a396a1f7b2045c", + "scope_id": "benchmark:vannijen2025-csi-pn-cv", + "kind": "original_scoped_assertions", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_assertions_bound", + "citations": [ + { + "source_id": "repository:perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "pointer": "/benchmarks/vannijen2025-csi-pn-cv", + "value_sha256": "0f66ac6d0cfff305f3337997d6cd731ecbf077770ee8f6542a7e89f30f920d3b" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/data/references/csi_vannijen2025_pn_cv.yaml" + }, + { + "source_id": "repository:perovskite-sim/tests/validation/test_csi_vannijen2025_cv.py", + "symbol": "test_vannijen_config_maps_published_profile_without_curve_calibration" + }, + { + "source_id": "repository:perovskite-sim/tests/validation/test_csi_vannijen2025_cv.py", + "symbol": "test_vannijen_cv_records_partial_agreement_not_pointwise_parity" + }, + { + "source_id": "repository:perovskite-sim/tests/validation/test_csi_vannijen2025_cv.py", + "symbol": "test_vannijen_local_cv_is_residual_certified_and_grid_converged" + }, + { + "source_id": "repository:perovskite-sim/tests/validation/test_csi_vannijen2025_cv.py", + "symbol": "test_vannijen_observations_match_reproducibility_registry" + }, + { + "source_id": "repository:perovskite-sim/tests/validation/test_csi_vannijen2025_cv.py", + "symbol": "test_vannijen_source_rows_reproduce_frozen_author_extraction" + } + ], + "original_evidence": [ + { + "kind": "registered_contract", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "pointer": "/benchmarks/vannijen2025-csi-pn-cv", + "value_sha256": "0f66ac6d0cfff305f3337997d6cd731ecbf077770ee8f6542a7e89f30f920d3b" + }, + "historical_source_sha256": "35165f16511bcf61a3eecec1c2391780249206aecc97fe17dd1cf30c046681be", + "scope_limitations": [ + "source and local curves are independently generated numerical results, not experiment-to-model validation", + "source geometry is 2-D with partial-width contacts while SolarLab is 1-D and full-area", + "the public dataset freezes raw output and extraction code but not the proprietary Sentaurus input deck or exact solver version", + "paper-unspecified Sentaurus transport and recombination settings cannot be made identical to SolarLab's documented c-Si assumptions", + "SolarLab truncates the Gaussian acceptor tail at 15 um where it is 1e-5 of the donor density", + "SolarLab exceeds the source capacitance by 19.7 to 35.6 percent in the registered depletion window, so pointwise parity is not claimed", + "the registered 1e-8 Newton residual gate is looser than the default 1e-10 numerical target but remains four orders below the physical continuity gate" + ] + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/validation/test_csi_vannijen2025_cv.py", + "symbol": "test_vannijen_config_maps_published_profile_without_curve_calibration" + }, + "test_node": "perovskite-sim/tests/validation/test_csi_vannijen2025_cv.py::test_vannijen_config_maps_published_profile_without_curve_calibration", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/validation/test_csi_vannijen2025_cv.py", + "symbol": "test_vannijen_cv_records_partial_agreement_not_pointwise_parity" + }, + "test_node": "perovskite-sim/tests/validation/test_csi_vannijen2025_cv.py::test_vannijen_cv_records_partial_agreement_not_pointwise_parity", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/validation/test_csi_vannijen2025_cv.py", + "symbol": "test_vannijen_local_cv_is_residual_certified_and_grid_converged" + }, + "test_node": "perovskite-sim/tests/validation/test_csi_vannijen2025_cv.py::test_vannijen_local_cv_is_residual_certified_and_grid_converged", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/validation/test_csi_vannijen2025_cv.py", + "symbol": "test_vannijen_observations_match_reproducibility_registry" + }, + "test_node": "perovskite-sim/tests/validation/test_csi_vannijen2025_cv.py::test_vannijen_observations_match_reproducibility_registry", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/validation/test_csi_vannijen2025_cv.py", + "symbol": "test_vannijen_source_rows_reproduce_frozen_author_extraction" + }, + "test_node": "perovskite-sim/tests/validation/test_csi_vannijen2025_cv.py::test_vannijen_source_rows_reproduce_frozen_author_extraction", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + } + ], + "call_chains": [], + "original_scope_limitations": [ + "source and local curves are independently generated numerical results, not experiment-to-model validation", + "source geometry is 2-D with partial-width contacts while SolarLab is 1-D and full-area", + "the public dataset freezes raw output and extraction code but not the proprietary Sentaurus input deck or exact solver version", + "paper-unspecified Sentaurus transport and recombination settings cannot be made identical to SolarLab's documented c-Si assumptions", + "SolarLab truncates the Gaussian acceptor tail at 15 um where it is 1e-5 of the donor density", + "SolarLab exceeds the source capacitance by 19.7 to 35.6 percent in the registered depletion window, so pointwise parity is not claimed", + "the registered 1e-8 Newton residual gate is looser than the default 1e-10 numerical target but remains four orders below the physical continuity gate" + ], + "active_contract": null, + "obligations": [ + { + "id": "new-source-benchmark-a1a396a1f7b2045c", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/benchmark-a1a396a1f7b2045c.json", + "tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "gates": [ + "G0", + "G3", + "G9" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof", + "per-physical-observable units/norm/reference scale/zero policy and applicable original or prospectively frozen threshold; test truth values do not fill this field" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-d5c73b262fa2af58a998aaf2", + "rule-9577ce59785f38230e3d7d6c", + "rule-f5eeba675ce68945c82df137", + "rule-7d4f5b8d1d2eb0155ef7008e", + "rule-1c802f5c694c6a9d1d581c88", + "rule-4d364630cedcdd689706b23d", + "rule-4bfbdde232dee845f08cee57", + "rule-ed127e1f563181aaef32be25", + "rule-c2b3da20b7cd0a571c471cca", + "rule-c61f1425875f1f0dc771c9a6", + "rule-de237a41adfec5681c8129d7", + "rule-74fc494356c9881b672e5ee7", + "rule-7ed64bef1154d8e405b7771c", + "rule-251776856645755edbc9dc31", + "rule-6acc61ef063b57166c09cdb8", + "rule-f8e3bf0c38225fc5564b5ee0", + "rule-44139c088916a73309201d73", + "rule-4b83d2d9e8bf05072df6df2d", + "rule-8f1590dd379fdad2fddd651e", + "rule-75b31f94034855b1cb23e17e", + "rule-0fee0521d6408e58c4870151", + "rule-d7f584afa4137e5a5a153f01", + "rule-8b290869a594896a708573de", + "rule-28ec5c4e21a4c3a138c3f40e", + "rule-f79249ea91edb08c4810eaef", + "rule-69706f6592808719868c68c5", + "rule-596f595c0ad1371426f49c89", + "rule-3ffc61eecf9b89fdffd313f4", + "rule-6d27c68f115e10addaf6238a", + "rule-0890abe62feab93cd6ae3856", + "rule-ba52eb00f6114d1e2c3ae9b8", + "rule-0137b3f3e1b296b2c89731ba", + "rule-2e27b42df739312f61fa9523", + "rule-1fe7144296e69367f7000ad9", + "rule-922d6d897b6f0ede6409b4d1", + "rule-ec08d64bf456f128148bf5bc" + ], + "comparison_scope_id": "scope-benchmark-a1a396a1f7b2045c" + }, + { + "capability_id": "benchmark-e049e24da73bc454", + "route_id": "route-f13ea1085e6c91d1", + "origin_key": "benchmark:wkb-resolved-electron-internal-closure", + "target": { + "capability_id": "benchmark-e049e24da73bc454", + "scope_id": "benchmark:wkb-resolved-electron-internal-closure", + "kind": "original_scoped_assertions", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_assertions_bound", + "citations": [ + { + "source_id": "repository:perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "pointer": "/benchmarks/wkb-resolved-electron-internal-closure", + "value_sha256": "2c581a47ca5222d98b4984619d29562deb04af4b81ff2b3174018702d71a4329" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_intraband_nonlocal_transfer.py", + "symbol": "test_equal_nonsaturated_occupations_give_exactly_zero_transfer" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_intraband_nonlocal_transfer.py", + "symbol": "test_transfer_conserves_particles_and_dissipates_the_chemical_drive" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_tunnelling_physical_levels.py", + "symbol": "test_device_supplies_physical_levels_with_dos_contrast" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_wkb_turning_point_action.py", + "symbol": "test_single_forbidden_node_is_a_finite_triangle_not_a_transparent_path" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_resolved_tunnelling_refinement.py", + "symbol": "test_real_resolved_cell_has_a_conservative_observable_electron_channel" + } + ], + "original_evidence": [ + { + "kind": "registered_contract", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "pointer": "/benchmarks/wkb-resolved-electron-internal-closure", + "value_sha256": "2c581a47ca5222d98b4984619d29562deb04af4b81ff2b3174018702d71a4329" + }, + "historical_source_sha256": "35165f16511bcf61a3eecec1c2391780249206aecc97fe17dd1cf30c046681be", + "scope_limitations": [ + "One dark, 300 K, Boltzmann intraband electron barrier with fixed unfitted supply prefactor. Numerical scope is independent of SCAPS, quantum-scattering prefactor validation and material calibration.", + "The v2 grid/tolerance matrix and its internal energy ladder have their own source-bound certificate. No result is inherited from the retracted v1 study. See docs/ResolvedIntrabandTunnellingContractV2.md for the physical and numerical scope; this does not complete the full foundation-stage validation." + ] + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_intraband_nonlocal_transfer.py", + "symbol": "test_equal_nonsaturated_occupations_give_exactly_zero_transfer" + }, + "test_node": "perovskite-sim/tests/unit/physics/test_intraband_nonlocal_transfer.py::test_equal_nonsaturated_occupations_give_exactly_zero_transfer", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_intraband_nonlocal_transfer.py", + "symbol": "test_transfer_conserves_particles_and_dissipates_the_chemical_drive" + }, + "test_node": "perovskite-sim/tests/unit/physics/test_intraband_nonlocal_transfer.py::test_transfer_conserves_particles_and_dissipates_the_chemical_drive", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_tunnelling_physical_levels.py", + "symbol": "test_device_supplies_physical_levels_with_dos_contrast" + }, + "test_node": "perovskite-sim/tests/unit/physics/test_tunnelling_physical_levels.py::test_device_supplies_physical_levels_with_dos_contrast", + "scope_docstring": null, + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_wkb_turning_point_action.py", + "symbol": "test_single_forbidden_node_is_a_finite_triangle_not_a_transparent_path" + }, + "test_node": "perovskite-sim/tests/unit/physics/test_wkb_turning_point_action.py::test_single_forbidden_node_is_a_finite_triangle_not_a_transparent_path", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_resolved_tunnelling_refinement.py", + "symbol": "test_real_resolved_cell_has_a_conservative_observable_electron_channel" + }, + "test_node": "perovskite-sim/tests/unit/validation/test_resolved_tunnelling_refinement.py::test_real_resolved_cell_has_a_conservative_observable_electron_channel", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + } + ], + "call_chains": [], + "original_scope_limitations": [ + "One dark, 300 K, Boltzmann intraband electron barrier with fixed unfitted supply prefactor. Numerical scope is independent of SCAPS, quantum-scattering prefactor validation and material calibration.", + "The v2 grid/tolerance matrix and its internal energy ladder have their own source-bound certificate. No result is inherited from the retracted v1 study. See docs/ResolvedIntrabandTunnellingContractV2.md for the physical and numerical scope; this does not complete the full foundation-stage validation." + ], + "active_contract": null, + "obligations": [ + { + "id": "new-source-benchmark-e049e24da73bc454", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/benchmark-e049e24da73bc454.json", + "tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "gates": [ + "G0", + "G3", + "G9" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof", + "per-physical-observable units/norm/reference scale/zero policy and applicable original or prospectively frozen threshold; test truth values do not fill this field" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-3fe8683841b50ac6874be271", + "rule-536d15c8b6d4f31b62bb60a6", + "rule-71d1e8a084d6c3cd8ad077bd", + "rule-0cf277771c09da5f504838ad", + "rule-cd001912f5adc2bd3bacc632", + "rule-e10ccbff5d5b9f9b516cbba8", + "rule-9f8a14803b5c9da053a0b633", + "rule-f13002f6c34d41e9cd554ee8", + "rule-db83b312bb43a9e49a5759d5", + "rule-8ecb3efbfe5b9e00dc589d87", + "rule-3797d2bfae4757b46f34954e", + "rule-99a44a8a98a470c15d9838ab", + "rule-05b22be3c1fee0dd4d25aba5", + "rule-af047545d6af462dbbfc81bc", + "rule-397b58be41c1f5f7e90560fe", + "rule-58abb3e5f293b107d224c0af", + "rule-49337baded57db816a107ba9", + "rule-b35d5be1074452acaca79015", + "rule-0bae3e87b318c839176f7f7d", + "rule-7ad00ad32f9412598fb459d4", + "rule-24c8712488536cf77ab8e2b4", + "rule-bfd4fc00b8b0537cd22a5c07", + "rule-e0e40ae9e604c14c766dde3a", + "rule-89bc7d0884dce826bebb2c77", + "rule-8f592d2c87572ddb4f1e1955", + "rule-c2c034804bf0cb7a24623867", + "rule-ab22c6c1fecea6995b8633aa", + "rule-300b2055270ebc19686bdc9d" + ], + "comparison_scope_id": "scope-benchmark-e049e24da73bc454" + }, + { + "capability_id": "benchmark-5ac658e026793692", + "route_id": "route-f13ea1085e6c91d1", + "origin_key": "benchmark:wkb-tunnelling-channel-internal-closure", + "target": { + "capability_id": "benchmark-5ac658e026793692", + "scope_id": "benchmark:wkb-tunnelling-channel-internal-closure", + "kind": "original_scoped_assertions", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_assertions_bound", + "citations": [ + { + "source_id": "repository:perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "pointer": "/benchmarks/wkb-tunnelling-channel-internal-closure", + "value_sha256": "d2b5970b4274c9571090e87d382c44252b9ecdefaa6791b66a0308b1628ca9d3" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_tunnelling_channels_device.py", + "symbol": "test_equilibrium_device_current_is_bounded_without_saturated_occupations" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_tunnelling_channels_device.py", + "symbol": "test_retracted_fixture_does_not_retain_the_old_large_flux_claim" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_tunnelling_channels_device.py", + "symbol": "test_the_channel_is_driven_by_the_local_drop_not_the_contact_split" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_tunneling_channels.py", + "symbol": "test_a_disabled_channel_refuses_rather_than_returning_zero" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_wkb_local_windows.py", + "symbol": "test_forbidden_run_isolates_the_barrier_containing_the_face" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_wkb_local_windows.py", + "symbol": "test_two_band_action_matches_the_closed_form_zener_exponent" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_wkb_tunneling.py", + "symbol": "test_equal_occupations_give_an_exactly_zero_net_flux" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_tunnelling_channel_refinement.py", + "symbol": "test_lane_declares_a_three_by_three_matrix_and_an_energy_ladder" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_tunnelling_channel_refinement.py", + "symbol": "test_the_channel_flux_is_an_observable_not_only_the_terminal_current" + } + ], + "original_evidence": [ + { + "kind": "registered_contract", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "pointer": "/benchmarks/wkb-tunnelling-channel-internal-closure", + "value_sha256": "d2b5970b4274c9571090e87d382c44252b9ecdefaa6791b66a0308b1628ca9d3" + }, + "historical_source_sha256": "35165f16511bcf61a3eecec1c2391780249206aecc97fe17dd1cf30c046681be", + "scope_limitations": [ + "The historical v1 device claims are retracted. Their original thresholds remain registered, and current v2 physics is not expected to satisfy the old single-face injection or exact device-equilibrium zero assertions.", + "Internal numerical convergence and structural identities only. No SCAPS tunnelling deck is compared and no channel magnitude is validated against any reference; the supply prefactor is an unfitted estimate.", + "The retained v1 fixture is a historical counterexample. Current device support is one resolved intraband electron material barrier; other channel families require separate conservative coupling. Illumination, AC and transient tunnelling are not covered by its replacement numerical certificate." + ] + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_tunnelling_channels_device.py", + "symbol": "test_equilibrium_device_current_is_bounded_without_saturated_occupations" + }, + "test_node": "perovskite-sim/tests/integration/test_tunnelling_channels_device.py::test_equilibrium_device_current_is_bounded_without_saturated_occupations", + "scope_docstring": "A solved equilibrium has finite residuals; its occupations must be informative.", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_tunnelling_channels_device.py", + "symbol": "test_retracted_fixture_does_not_retain_the_old_large_flux_claim" + }, + "test_node": "perovskite-sim/tests/integration/test_tunnelling_channels_device.py::test_retracted_fixture_does_not_retain_the_old_large_flux_claim", + "scope_docstring": "Correct physical occupations must not preserve the withdrawn magnitude.", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_tunnelling_channels_device.py", + "symbol": "test_the_channel_is_driven_by_the_local_drop_not_the_contact_split" + }, + "test_node": "perovskite-sim/tests/integration/test_tunnelling_channels_device.py::test_the_channel_is_driven_by_the_local_drop_not_the_contact_split", + "scope_docstring": "Changing unused contact levels cannot change an interior path.", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_tunneling_channels.py", + "symbol": "test_a_disabled_channel_refuses_rather_than_returning_zero" + }, + "test_node": "perovskite-sim/tests/unit/physics/test_tunneling_channels.py::test_a_disabled_channel_refuses_rather_than_returning_zero", + "scope_docstring": "A disabled channel must not be silently indistinguishable from a\nvanishing one; the exit condition needs per-channel switches to be real.", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_wkb_local_windows.py", + "symbol": "test_forbidden_run_isolates_the_barrier_containing_the_face" + }, + "test_node": "perovskite-sim/tests/unit/physics/test_wkb_local_windows.py::test_forbidden_run_isolates_the_barrier_containing_the_face", + "scope_docstring": "Two barriers on one grid must never be merged into one path.", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_wkb_local_windows.py", + "symbol": "test_two_band_action_matches_the_closed_form_zener_exponent" + }, + "test_node": "perovskite-sim/tests/unit/physics/test_wkb_local_windows.py::test_two_band_action_matches_the_closed_form_zener_exponent", + "scope_docstring": "The Kane prefactor is pinned by the closed form, not by a tolerance.\n\nUnder a uniform field the two-band action integrates exactly to\n``pi sqrt(2 m_r) Eg^{3/2} / (8 hbar q F)``. A single-band exponent cannot\nreproduce this at any prefactor because its turning points are wrong.", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_wkb_tunneling.py", + "symbol": "test_equal_occupations_give_an_exactly_zero_net_flux" + }, + "test_node": "perovskite-sim/tests/unit/physics/test_wkb_tunneling.py::test_equal_occupations_give_an_exactly_zero_net_flux", + "scope_docstring": "Reciprocity is structural: one transmission drives both directions.", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_tunnelling_channel_refinement.py", + "symbol": "test_lane_declares_a_three_by_three_matrix_and_an_energy_ladder" + }, + "test_node": "perovskite-sim/tests/unit/validation/test_tunnelling_channel_refinement.py::test_lane_declares_a_three_by_three_matrix_and_an_energy_ladder", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_tunnelling_channel_refinement.py", + "symbol": "test_the_channel_flux_is_an_observable_not_only_the_terminal_current" + }, + "test_node": "perovskite-sim/tests/unit/validation/test_tunnelling_channel_refinement.py::test_the_channel_flux_is_an_observable_not_only_the_terminal_current", + "scope_docstring": "A terminal-current lane would certify nothing about this channel.\n\nEnabling the channel moves the terminal current by only ~1e-5 relative,\nbecause the tunnelling path is in parallel with the drift-diffusion flux\non the same face and the rest of the device sets the operating point.\n\n(The companion \"~20 % of the terminal current\" figure that used to appear\nhere is RETRACTED — D8-E2R measured it as an artifact of a +1.4286 eV\nlevel-vs-potential offset; with the true level it is 6.2e-7. The reason\nfor observing the channel rather than the terminal current is unaffected.)", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + } + ], + "call_chains": [], + "original_scope_limitations": [ + "The historical v1 device claims are retracted. Their original thresholds remain registered, and current v2 physics is not expected to satisfy the old single-face injection or exact device-equilibrium zero assertions.", + "Internal numerical convergence and structural identities only. No SCAPS tunnelling deck is compared and no channel magnitude is validated against any reference; the supply prefactor is an unfitted estimate.", + "The retained v1 fixture is a historical counterexample. Current device support is one resolved intraband electron material barrier; other channel families require separate conservative coupling. Illumination, AC and transient tunnelling are not covered by its replacement numerical certificate." + ], + "active_contract": null, + "obligations": [ + { + "id": "new-source-benchmark-5ac658e026793692", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/benchmark-5ac658e026793692.json", + "tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "gates": [ + "G0", + "G3", + "G9" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof", + "per-physical-observable units/norm/reference scale/zero policy and applicable original or prospectively frozen threshold; test truth values do not fill this field" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-57830b5a00bf2270b8e52ea4", + "rule-872f0522c976800e25d9617d", + "rule-c9a1c0b3281621ba58009994", + "rule-fce16d164bd2dbe593b71fd2", + "rule-612abf1eeec64d43858e4e30", + "rule-236182699f478ab804efc0bb", + "rule-a9363f87d90c83efdafc842a", + "rule-9e84231637f9a9e3b198db66", + "rule-7b78014db03f6e2e3ca1a81f", + "rule-7fadddc329dea7408e3f6f99", + "rule-b4ec3ac1295c8b80ac207075", + "rule-de387ba18f050955a46c554f", + "rule-70efdb764589b4fabc082f27", + "rule-c3e968c1553beb9a79d765dc", + "rule-b6674b5b21928b5233a48520", + "rule-0487de46f519d16fe8b7e54a", + "rule-6911634f3464b69af3a679bb", + "rule-47e14a0b2cef462b1ed01552", + "rule-78b06db39d1f04cba76ceecb", + "rule-238c24f11cf312d7b655bf6a", + "rule-25099538d56d5b1241124b83", + "rule-156682f400dce6070ea29658", + "rule-06582136908892dd99c70f90", + "rule-cdd4542e58be63d4422aa848", + "rule-32974b7ffc6656454270931e", + "rule-b46d090c90a528138aa30e1d" + ], + "comparison_scope_id": "scope-benchmark-5ac658e026793692" + }, + { + "capability_id": "lane-3eb9325a1d09f96f", + "route_id": "route-1af17bb46d9794d0", + "origin_key": "lane:algebraic-interface-state-dae-transient-v1", + "target": { + "capability_id": "lane-3eb9325a1d09f96f", + "scope_id": "lane:algebraic-interface-state-dae-transient-v1", + "kind": "original_refinement_lane", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_rule_bound_pending_evidence", + "citations": [ + { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/algebraic-interface-state-dae-transient-v1", + "value_sha256": "b6d168c1dbeb3154613882de857ce49218f4e5fd5ff0e135b9479d2495188a0c" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "_observable_delta" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "evaluate_numerical_certificate" + } + ], + "original_evidence": [ + { + "kind": "registered_refinement_contract", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/algebraic-interface-state-dae-transient-v1", + "value_sha256": "b6d168c1dbeb3154613882de857ce49218f4e5fd5ff0e135b9479d2495188a0c" + }, + "historical_source_sha256": "b808fb2c7e44b282fe5e8a7d55a8f23a12101451104c6c639e2991fec34a2dff", + "scope_limitations": [ + "This lane certifies only a dark 10 mV two-layer ohmic research slice with one uncharged algebraic interface and four DOS-bounded Fermi-Richardson states.", + "InterfaceDefect, cross-node carrier sampling, dynamic interface states, interface electrostatic charge, mobile ions, selective contacts, two-sided trace geometry, field mobility, photon recycling, and clamp-active operating points remain excluded.", + "The eliminated-interface-state MoL comparison and dense-versus-structured agreement are internal numerical evidence, not external solver validation, experimental validation, SCAPS parity, or a general interface-physics certificate." + ] + } + ], + "call_chains": [], + "original_scope_limitations": [ + "This lane certifies only a dark 10 mV two-layer ohmic research slice with one uncharged algebraic interface and four DOS-bounded Fermi-Richardson states.", + "InterfaceDefect, cross-node carrier sampling, dynamic interface states, interface electrostatic charge, mobile ions, selective contacts, two-sided trace geometry, field mobility, photon recycling, and clamp-active operating points remain excluded.", + "The eliminated-interface-state MoL comparison and dense-versus-structured agreement are internal numerical evidence, not external solver validation, experimental validation, SCAPS parity, or a general interface-physics certificate." + ], + "active_contract": null, + "obligations": [ + { + "id": "new-source-lane-3eb9325a1d09f96f", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/lane-3eb9325a1d09f96f.json", + "tasks": [ + "P00-03", + "P03-06", + "P04-05", + "P04-06", + "P09-01" + ], + "gates": [ + "G0", + "G3", + "G4", + "G9" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-91ad5ba99c640c58dd7f4ed7", + "rule-63a9647106682e5e7c42a8dd", + "rule-20627e8235e4b37b82668156", + "rule-33302fa1bcc16245a80e15d4", + "rule-51eccde34c18287859f50a39", + "rule-fb702abac313346d64f6db9b", + "rule-b773dd37034ba8f1b523eee1", + "rule-25e4e063f7996f6351165e6e", + "rule-e4b4e5c4c98a46a2c07a94e0", + "rule-29c26a5e0318c6db94e1e006", + "rule-9c40349eb44bfca3bafa9a09", + "rule-5c4a2009bbf353979983b625", + "rule-245c3e13571106a43aeead88", + "rule-9078b255d578781b9d4a6ce1", + "rule-b8b126ee3a3bce7105b4a136", + "rule-2fdac91ee60a0d3d3250d492", + "rule-39211f1fb97f939d8fea691f", + "rule-502a03f8cb9eefc1bc370ec0", + "rule-71c9d523ecd416a04b2e64e9", + "rule-c339ee246f13e9b872ab6406", + "rule-2f026b0213d4f3f1b6ca5515", + "rule-ab4f46a95aea1219f7f134a4", + "rule-dcb5a154af7f2f9c0469d0e2", + "rule-2192793478338066ac3b3958", + "rule-7de345a3af8110109344ba1c", + "rule-ccaad0ba2c10db936468f43b", + "rule-36ee5da388ee0e9fd3f145f7", + "rule-f3a9c66dd58886b09b8a5077", + "rule-1455f24791a3350d42496394", + "rule-32b1f921d606f0a7e0bad003", + "rule-f6c2d52a5fa6be8266cc46ea", + "rule-dabdee2150ea3c1131544d70" + ], + "comparison_scope_id": "scope-lane-3eb9325a1d09f96f" + }, + { + "capability_id": "lane-74c8fcdda1607b00", + "route_id": "route-7ae47088bbed9ed7", + "origin_key": "lane:bulk-energy-distributed-trap-equilibrium-v1", + "target": { + "capability_id": "lane-74c8fcdda1607b00", + "scope_id": "lane:bulk-energy-distributed-trap-equilibrium-v1", + "kind": "original_refinement_lane", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_rule_bound_pending_evidence", + "citations": [ + { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/bulk-energy-distributed-trap-equilibrium-v1", + "value_sha256": "9c536f1d63c0668e1cf35b27620f4559c6a963a807b646a93296cee7eb5f9064" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "_observable_delta" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "evaluate_numerical_certificate" + } + ], + "original_evidence": [ + { + "kind": "registered_refinement_contract", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/bulk-energy-distributed-trap-equilibrium-v1", + "value_sha256": "9c536f1d63c0668e1cf35b27620f4559c6a963a807b646a93296cee7eb5f9064" + }, + "historical_source_sha256": "b808fb2c7e44b282fe5e8a7d55a8f23a12101451104c6c639e2991fec34a2dff", + "scope_limitations": [ + "This lane certifies only a dark homogeneous Maxwell-Boltzmann silicon p/n equilibrium with one spatially uniform truncated-Gaussian acceptor-like trap distribution and fully ionized dopants.", + "Recombination, occupancy, and absolute bulk-trap charge share one frozen 16/32/64 energy quadrature; legacy SCAPS gaussian metadata and lifetime-only trap profiles remain parked and are not reinterpreted.", + "Bias, illumination, transient occupancy, Fermi-Dirac trap kinetics, amphoteric or multi-charge defects, heterojunctions, ions, selective contacts, field mobility, and every production experiment route remain excluded.", + "This is internal numerical evidence against mass action, Gauss law, and refinement gates, not external TCAD validation, experimental validation, or a materials-parameter claim." + ] + } + ], + "call_chains": [], + "original_scope_limitations": [ + "This lane certifies only a dark homogeneous Maxwell-Boltzmann silicon p/n equilibrium with one spatially uniform truncated-Gaussian acceptor-like trap distribution and fully ionized dopants.", + "Recombination, occupancy, and absolute bulk-trap charge share one frozen 16/32/64 energy quadrature; legacy SCAPS gaussian metadata and lifetime-only trap profiles remain parked and are not reinterpreted.", + "Bias, illumination, transient occupancy, Fermi-Dirac trap kinetics, amphoteric or multi-charge defects, heterojunctions, ions, selective contacts, field mobility, and every production experiment route remain excluded.", + "This is internal numerical evidence against mass action, Gauss law, and refinement gates, not external TCAD validation, experimental validation, or a materials-parameter claim." + ], + "active_contract": null, + "obligations": [ + { + "id": "new-source-lane-74c8fcdda1607b00", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/lane-74c8fcdda1607b00.json", + "tasks": [ + "P00-03", + "P03-06", + "P04-10", + "P09-01" + ], + "gates": [ + "G0", + "G3", + "G4", + "G9" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-e1dc1457b6addfdb56c8d696", + "rule-4f333cb52bfab43eef60ef2d", + "rule-e1dc6491dfa0b46045077471", + "rule-d6204f4edfd559a6438bb857", + "rule-8dcf2d8c0d1749a752b66800", + "rule-0c8d5457f68a9a50c764318a", + "rule-66e56c088a1dc1e37a5c56ce", + "rule-02bd7f1c228f88622e4630ce", + "rule-362189b87bf684bc089307b2", + "rule-4f00c8245df52a58e3795f70", + "rule-4e6b45dede9ae1e831c5d735", + "rule-397ff1e06d2acb7dbf21b44d", + "rule-2fb36ce3fba543a7b9f4664f", + "rule-dfa4ce3a08384bee42079655", + "rule-17476aca6d6b4316c009bf17", + "rule-0966fa61005342cad8bf5d98", + "rule-359c38c0b461035d01927cb1", + "rule-b9013c2a044249c7d67c6fb2", + "rule-aeb44696b3c48c61d3faa639" + ], + "comparison_scope_id": "scope-lane-74c8fcdda1607b00" + }, + { + "capability_id": "lane-30c624efe3f8467f", + "route_id": "route-7ae47088bbed9ed7", + "origin_key": "lane:charged-explicit-defect-qf-dc-v1", + "target": { + "capability_id": "lane-30c624efe3f8467f", + "scope_id": "lane:charged-explicit-defect-qf-dc-v1", + "kind": "original_refinement_lane", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_rule_bound_pending_evidence", + "citations": [ + { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/charged-explicit-defect-qf-dc-v1", + "value_sha256": "4edc8d238cc260b8a55c9a3317d28fd494a2e4c4e02e8007f0662209aef87695" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "_observable_delta" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "evaluate_numerical_certificate" + } + ], + "original_evidence": [ + { + "kind": "registered_refinement_contract", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/charged-explicit-defect-qf-dc-v1", + "value_sha256": "4edc8d238cc260b8a55c9a3317d28fd494a2e4c4e02e8007f0662209aef87695" + }, + "historical_source_sha256": "b808fb2c7e44b282fe5e8a7d55a8f23a12101451104c6c639e2991fec34a2dff", + "scope_limitations": [ + "This lane certifies only the frozen S0 neutral, S1 acceptor/n-type, S2 donor/p-type single-level Maxwell-Boltzmann slabs and an internal S2-p/S1-n illuminated homojunction under the public opt-in QF/DC charged-defect closure.", + "The 3x3 matrix covers spatial and nonlinear-tolerance refinement, shared occupancy/recombination/Poisson/contact model identity, dark equilibrium, and a seven-point illuminated J-V; it excludes ions, interface defects, energy distributions, metastability, AC, transient defect occupancy, tunnelling, and Fermi-Dirac carrier statistics.", + "The S0-S2 suite manifest defines a fail-closed external SCAPS export contract, but this lane contains SolarLab internal numerical evidence only. It is not SCAPS parity, experimental validation, or a materials-parameter claim." + ] + } + ], + "call_chains": [], + "original_scope_limitations": [ + "This lane certifies only the frozen S0 neutral, S1 acceptor/n-type, S2 donor/p-type single-level Maxwell-Boltzmann slabs and an internal S2-p/S1-n illuminated homojunction under the public opt-in QF/DC charged-defect closure.", + "The 3x3 matrix covers spatial and nonlinear-tolerance refinement, shared occupancy/recombination/Poisson/contact model identity, dark equilibrium, and a seven-point illuminated J-V; it excludes ions, interface defects, energy distributions, metastability, AC, transient defect occupancy, tunnelling, and Fermi-Dirac carrier statistics.", + "The S0-S2 suite manifest defines a fail-closed external SCAPS export contract, but this lane contains SolarLab internal numerical evidence only. It is not SCAPS parity, experimental validation, or a materials-parameter claim." + ], + "active_contract": null, + "obligations": [ + { + "id": "new-source-lane-30c624efe3f8467f", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/lane-30c624efe3f8467f.json", + "tasks": [ + "P00-03", + "P03-06", + "P04-10", + "P09-01" + ], + "gates": [ + "G0", + "G3", + "G4", + "G9" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-7edfef91fb1dde3130ea0ce2", + "rule-038d208db9c34114415f8c4d", + "rule-0cfa16d843b2b5b68e819fa1", + "rule-600ee4533ad3a6adae21c2b6", + "rule-8372b4a4bd6bdcd91ce32d16", + "rule-f9415c920aba5c151c11b03d", + "rule-4200d8e93632b5aa65f62f38", + "rule-d53f0a8071f4273983a236ca", + "rule-09b5af195b8dc43aaecfcaed", + "rule-f087cd3ea6089a5df0d62a9d", + "rule-44714ed3f936fbcc73da5a17", + "rule-a533e211d4385eee41c5f640", + "rule-9217fc44679125bf44a15fe9", + "rule-d8636252e37a1b503b6d839f", + "rule-2ff61b842956a33ff1e5c96a", + "rule-fd2e341590ee10d216e9712b", + "rule-d227103273533073b07b351d", + "rule-4dd096f6e4a61e34472ffd7a", + "rule-8607af6eea92e78d67249e93", + "rule-9eaf61f64a731a2da5740412", + "rule-b0d7d4a3836116f16d27bd08", + "rule-e8bef59d18c47b994469b1a9", + "rule-787938b47aa1ec080e0d5e96", + "rule-f718fb0a298a493c1f574113", + "rule-0bedf3504e861b3c66d41cc3", + "rule-d65872fc5ec6b5b1cf835783", + "rule-0a7f74116ee65eadc741b1b6", + "rule-de9a0fb87337e8f96509ad0c", + "rule-925f44245489506d30b00ae8", + "rule-4ccd5da45818e32032ad739a", + "rule-f72fddf2757b51b1f5bf9b86", + "rule-5e869af4ba23ec523e9bd996", + "rule-09274696bb0039c32742e9c9", + "rule-89b4948400f10e53fdf240c5", + "rule-4752284e0b415f5fab1be5db" + ], + "comparison_scope_id": "scope-lane-30c624efe3f8467f" + }, + { + "capability_id": "lane-d0db2268d3d111e7", + "route_id": "route-fc717d86c09ab83e", + "origin_key": "lane:cigs-graded-optics-v1", + "target": { + "capability_id": "lane-d0db2268d3d111e7", + "scope_id": "lane:cigs-graded-optics-v1", + "kind": "original_refinement_lane", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_rule_bound_pending_evidence", + "citations": [ + { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/cigs-graded-optics-v1", + "value_sha256": "67eaec727a735d2b63f0d7cc8d91d1aa270e191ce96b2b35f8eef3db2d92676d" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "_observable_delta" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "evaluate_numerical_certificate" + } + ], + "original_evidence": [ + { + "kind": "registered_refinement_contract", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/cigs-graded-optics-v1", + "value_sha256": "67eaec727a735d2b63f0d7cc8d91d1aa270e191ce96b2b35f8eef3db2d92676d" + }, + "historical_source_sha256": "b808fb2c7e44b282fe5e8a7d55a8f23a12101451104c6c639e2991fec34a2dff", + "scope_limitations": [ + "This lane certifies only the composition-resolved CIGS absorber optics in the frozen research preset; ZnO and CdS retain nominal scalar optical fallbacks.", + "Minoura n,k and the independent Carron alpha expression are literature models, not a measurement of this synthetic device or an external SCAPS/Setfos device reproduction.", + "The lane covers build-once AM1.5G generation, optical-slice and Kramers-Kronig refinement, causality, photon budget, uniform composition, and optical/electrical endpoint consistency; it does not solve transport or certify PCE optimization." + ] + } + ], + "call_chains": [], + "original_scope_limitations": [ + "This lane certifies only the composition-resolved CIGS absorber optics in the frozen research preset; ZnO and CdS retain nominal scalar optical fallbacks.", + "Minoura n,k and the independent Carron alpha expression are literature models, not a measurement of this synthetic device or an external SCAPS/Setfos device reproduction.", + "The lane covers build-once AM1.5G generation, optical-slice and Kramers-Kronig refinement, causality, photon budget, uniform composition, and optical/electrical endpoint consistency; it does not solve transport or certify PCE optimization." + ], + "active_contract": null, + "obligations": [ + { + "id": "new-source-lane-d0db2268d3d111e7", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/lane-d0db2268d3d111e7.json", + "tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "gates": [ + "G0", + "G3", + "G4", + "G9" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-2f39967cafbf3a3135e0b03d", + "rule-ab14679e61d6dd2855197447", + "rule-97a0f5cd135f3cd29133e2b5", + "rule-c2f51f70723c905460450058", + "rule-d05243b324264b555c377058", + "rule-65b22aa45fab19a29ca63848", + "rule-842c108c8cfb389199c315ed", + "rule-deaa52aa4967c52c64e97b3c", + "rule-5cd6755a145d5abc303dc158", + "rule-adb22f23e6d4d9d0f456afb6", + "rule-efeec750424ac337f3e26e89", + "rule-96056d8bfe75de93fa4e2553", + "rule-d19b73e87b46ff98af89b82a", + "rule-1a4618ef713e468b42de5e63", + "rule-ac1fd2b09706081097f94121", + "rule-be483a43c396877330cf0778", + "rule-1dd9d9737e0b0479c75aaf42" + ], + "comparison_scope_id": "scope-lane-d0db2268d3d111e7" + }, + { + "capability_id": "lane-1c11f3ec305c3631", + "route_id": "route-1af17bb46d9794d0", + "origin_key": "lane:csi-qf-frequency-domain", + "target": { + "capability_id": "lane-1c11f3ec305c3631", + "scope_id": "lane:csi-qf-frequency-domain", + "kind": "original_refinement_lane", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_rule_bound_pending_evidence", + "citations": [ + { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/csi-qf-frequency-domain", + "value_sha256": "ba50a5902852b067bc7cdd85ed881181753e6b2724b6d69b552e48d61ebc68ed" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "_observable_delta" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "evaluate_numerical_certificate" + } + ], + "original_evidence": [ + { + "kind": "registered_refinement_contract", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/csi-qf-frequency-domain", + "value_sha256": "ba50a5902852b067bc7cdd85ed881181753e6b2724b6d69b552e48d61ebc68ed" + }, + "historical_source_sha256": "b808fb2c7e44b282fe5e8a7d55a8f23a12101451104c6c639e2991fec34a2dff", + "scope_limitations": [ + "N_grid=100 intentionally probes below the configured c-Si grid guard and remains fail-closed evidence.", + "This minimum-roadmap lane is not eligible for promotion when any cell fails; use the separately versioned resolved lane for a positive certificate.", + "This is an internal QF small-signal lane, not an external C-V comparison." + ] + } + ], + "call_chains": [], + "original_scope_limitations": [ + "N_grid=100 intentionally probes below the configured c-Si grid guard and remains fail-closed evidence.", + "This minimum-roadmap lane is not eligible for promotion when any cell fails; use the separately versioned resolved lane for a positive certificate.", + "This is an internal QF small-signal lane, not an external C-V comparison." + ], + "active_contract": null, + "obligations": [ + { + "id": "new-source-lane-1c11f3ec305c3631", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/lane-1c11f3ec305c3631.json", + "tasks": [ + "P00-03", + "P03-06", + "P04-05", + "P04-06", + "P09-01" + ], + "gates": [ + "G0", + "G3", + "G4", + "G9" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-586b7e9436478d5bfc26cb24", + "rule-c3ab2dc342ac4ce84d29c54e", + "rule-326e3370aac6ab65be92f01d", + "rule-fbc60ddef221d66e310bcdbb", + "rule-eab38c6ba67bcb6dc2b2d659", + "rule-3081dcf8b271ac33fe651a49" + ], + "comparison_scope_id": "scope-lane-1c11f3ec305c3631" + }, + { + "capability_id": "lane-1f48a67f12b83f3b", + "route_id": "route-1af17bb46d9794d0", + "origin_key": "lane:csi-qf-frequency-domain-resolved-v2", + "target": { + "capability_id": "lane-1f48a67f12b83f3b", + "scope_id": "lane:csi-qf-frequency-domain-resolved-v2", + "kind": "original_refinement_lane", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_rule_bound_pending_evidence", + "citations": [ + { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/csi-qf-frequency-domain-resolved-v2", + "value_sha256": "fd8169368debf5f04a618e0d0ef6a380d7a8815e4e3b9c2fcd4e4a410322fd16" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "_observable_delta" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "evaluate_numerical_certificate" + } + ], + "original_evidence": [ + { + "kind": "registered_refinement_contract", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/csi-qf-frequency-domain-resolved-v2", + "value_sha256": "fd8169368debf5f04a618e0d0ef6a380d7a8815e4e3b9c2fcd4e4a410322fd16" + }, + "historical_source_sha256": "b808fb2c7e44b282fe5e8a7d55a8f23a12101451104c6c639e2991fec34a2dff", + "scope_limitations": [ + "This versioned lane starts at the configured c-Si minimum grid and does not erase the N_grid=100 fail-close evidence.", + "Its certificate is internal QF small-signal convergence, not an external C-V validation or an independent contact-barrier measurement." + ] + } + ], + "call_chains": [], + "original_scope_limitations": [ + "This versioned lane starts at the configured c-Si minimum grid and does not erase the N_grid=100 fail-close evidence.", + "Its certificate is internal QF small-signal convergence, not an external C-V validation or an independent contact-barrier measurement." + ], + "active_contract": null, + "obligations": [ + { + "id": "new-source-lane-1f48a67f12b83f3b", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/lane-1f48a67f12b83f3b.json", + "tasks": [ + "P00-03", + "P03-06", + "P04-05", + "P04-06", + "P09-01" + ], + "gates": [ + "G0", + "G3", + "G4", + "G9" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-35a636452befff5c0f0fdf31", + "rule-f12c1246ce6a323cacb0183e", + "rule-490cfb3653cc2ea665e5860f", + "rule-66beed05916616caab56d92f", + "rule-93bf85353ef693617f19e575", + "rule-d8a6f879b5e3372af7918e1f" + ], + "comparison_scope_id": "scope-lane-1f48a67f12b83f3b" + }, + { + "capability_id": "lane-1dfc4e4b19df86e8", + "route_id": "route-fc717d86c09ab83e", + "origin_key": "lane:degenerate-pn-equilibrium-v1", + "target": { + "capability_id": "lane-1dfc4e4b19df86e8", + "scope_id": "lane:degenerate-pn-equilibrium-v1", + "kind": "original_refinement_lane", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_rule_bound_pending_evidence", + "citations": [ + { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/degenerate-pn-equilibrium-v1", + "value_sha256": "bdebb925d597280fee0811da925d2dd0139141d3d5e45e17b7ad67bd4c808c5f" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "_observable_delta" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "evaluate_numerical_certificate" + } + ], + "original_evidence": [ + { + "kind": "registered_refinement_contract", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/degenerate-pn-equilibrium-v1", + "value_sha256": "bdebb925d597280fee0811da925d2dd0139141d3d5e45e17b7ad67bd4c808c5f" + }, + "historical_source_sha256": "b808fb2c7e44b282fe5e8a7d55a8f23a12101451104c6c639e2991fec34a2dff", + "scope_limitations": [ + "This lane certifies only a symmetric, dark, fully-ionized, homogeneous silicon p+/n+ equilibrium with Fermi-Dirac charge and generalized Scharfetter-Gummel transport.", + "Bulk recombination is explicitly disabled because the repository's historical np-ni^2 laws are Maxwell-Boltzmann closures; illumination, bias, heterojunctions, spatial doping profiles, ions, selective contacts, field mobility, and interface states remain excluded.", + "The abrupt depletion approximation is an internal analytic quality oracle. This is not external Sentaurus or PC1D validation, experimental validation, or a production J-V/C-V/impedance certificate." + ] + } + ], + "call_chains": [], + "original_scope_limitations": [ + "This lane certifies only a symmetric, dark, fully-ionized, homogeneous silicon p+/n+ equilibrium with Fermi-Dirac charge and generalized Scharfetter-Gummel transport.", + "Bulk recombination is explicitly disabled because the repository's historical np-ni^2 laws are Maxwell-Boltzmann closures; illumination, bias, heterojunctions, spatial doping profiles, ions, selective contacts, field mobility, and interface states remain excluded.", + "The abrupt depletion approximation is an internal analytic quality oracle. This is not external Sentaurus or PC1D validation, experimental validation, or a production J-V/C-V/impedance certificate." + ], + "active_contract": null, + "obligations": [ + { + "id": "new-source-lane-1dfc4e4b19df86e8", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/lane-1dfc4e4b19df86e8.json", + "tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "gates": [ + "G0", + "G3", + "G4", + "G9" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-3d5a2380fd123c3e9382366f", + "rule-d4325f95fc502fc0e537604f", + "rule-ea50db2da005882d7b85f6f8", + "rule-87bb0402c890e4e45f822640", + "rule-ff61a5615d8ad166ae0f7d55", + "rule-7960e8fdbea18594ea8a4bb7", + "rule-b537f01dbef50a927f93bcda", + "rule-8c52c1bc447865aae77ac7f9", + "rule-e29d6ac581b5d3f0205465c6", + "rule-196d66d88094525146b47e82", + "rule-558906d7b34db38684bdf4be", + "rule-8eb1ea4bb6fe04fe56742432", + "rule-2f79e9cd8836190f59e0a15b" + ], + "comparison_scope_id": "scope-lane-1dfc4e4b19df86e8" + }, + { + "capability_id": "lane-b7e62a98398228f0", + "route_id": "route-7ae47088bbed9ed7", + "origin_key": "lane:distributed-explicit-defect-qf-dc-v1", + "target": { + "capability_id": "lane-b7e62a98398228f0", + "scope_id": "lane:distributed-explicit-defect-qf-dc-v1", + "kind": "original_refinement_lane", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_rule_bound_pending_evidence", + "citations": [ + { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/distributed-explicit-defect-qf-dc-v1", + "value_sha256": "212ceba4c95339803cb7ac51b1497cdcba39cb01d5bf05d603151bd0b2e7c05e" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "_observable_delta" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "evaluate_numerical_certificate" + } + ], + "original_evidence": [ + { + "kind": "registered_refinement_contract", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/distributed-explicit-defect-qf-dc-v1", + "value_sha256": "212ceba4c95339803cb7ac51b1497cdcba39cb01d5bf05d603151bd0b2e7c05e" + }, + "historical_source_sha256": "b808fb2c7e44b282fe5e8a7d55a8f23a12101451104c6c639e2991fec34a2dff", + "scope_limitations": [ + { + "This lane certifies a frozen uniform two-layer p/n Maxwell-Boltzmann device with four source species": "VB-tail donor, uniform neutral, Gaussian acceptor, and CB-tail neutral." + }, + "Every outer spatial-grid and nonlinear-tolerance cell executes an inner 16/32/64 energy-order ladder. Contact neutrality, built-in potential, Poisson charge, continuity recombination, analytic tangent, diagnostics, and three-point illuminated J-V share the same order in each run.", + "Mobile ions, interfaces, selective contacts, field mobility, spatial grading, dynamic occupancy, Fermi-Dirac statistics, AC, transient defects, tunnelling, and multivalent defects remain excluded.", + "This is internal SolarLab convergence evidence, not external SCAPS parity, experimental validation, or unique microscopic parameter identification." + ] + } + ], + "call_chains": [], + "original_scope_limitations": [ + { + "This lane certifies a frozen uniform two-layer p/n Maxwell-Boltzmann device with four source species": "VB-tail donor, uniform neutral, Gaussian acceptor, and CB-tail neutral." + }, + "Every outer spatial-grid and nonlinear-tolerance cell executes an inner 16/32/64 energy-order ladder. Contact neutrality, built-in potential, Poisson charge, continuity recombination, analytic tangent, diagnostics, and three-point illuminated J-V share the same order in each run.", + "Mobile ions, interfaces, selective contacts, field mobility, spatial grading, dynamic occupancy, Fermi-Dirac statistics, AC, transient defects, tunnelling, and multivalent defects remain excluded.", + "This is internal SolarLab convergence evidence, not external SCAPS parity, experimental validation, or unique microscopic parameter identification." + ], + "active_contract": null, + "obligations": [ + { + "id": "new-source-lane-b7e62a98398228f0", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/lane-b7e62a98398228f0.json", + "tasks": [ + "P00-03", + "P03-06", + "P04-10", + "P09-01" + ], + "gates": [ + "G0", + "G3", + "G4", + "G9" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-09de497008f8b5b99d03540e", + "rule-73ec0e1b9f50670b9b925d2e", + "rule-89ecc036655cbbdab210d97f", + "rule-6e0745c7f16b936de93dcf67", + "rule-8d146657f932925c9b7666ec", + "rule-becb84044e1ce0061a5b6442", + "rule-f5176e098c1b30dfe2d430ad", + "rule-a658d6721b4e7100861780eb", + "rule-75775c91f5051dfee8aa8c92", + "rule-b0059d9745848348b6410288", + "rule-574cc405ecb1be86b0c349c7", + "rule-b4a0892a326383dc7ca82ee7", + "rule-7123b8fea40d2fe7e0f26481", + "rule-69533cc92cf92487ddba897c", + "rule-0e81dae6223baed5e48f013f", + "rule-6fc4209206799b2567168b93", + "rule-e444eb407dcb745fad534088", + "rule-b12702a1d4e267a2dfb7116f", + "rule-f42ee6d3773871ba286975a1", + "rule-a7d27e826e1cad48605951a7", + "rule-d2175ce7670d4b3faf1f85e5", + "rule-13754db5e69650655f2ffd3a", + "rule-40ff2dffd731082da9386980", + "rule-a77a948713918bd38e954007", + "rule-72dd77cee6633befe4280ea1", + "rule-e1bf3fbe7a151914f5972df0", + "rule-e6a1c9ae93c121a3261e1d46", + "rule-ba8ee0d85aff875559650170", + "rule-4ec7801378f54c43ff0c7845", + "rule-f8da9c992be1f6cedd149368", + "rule-3985daf13a040529cafc112c", + "rule-0b9fa0bae6a3e9b39fc849b3", + "rule-de83a49c04cffb58b22826d5", + "rule-6797810f12d97a8e329fc6ec", + "rule-03c8dbc455d1124fd7fb22e4", + "rule-938fa5f34860473edd4052c5", + "rule-f5ed390e79602b6b95f2ec1d", + "rule-2edc40979ec352cc025733cf" + ], + "comparison_scope_id": "scope-lane-b7e62a98398228f0" + }, + { + "capability_id": "lane-6c70228c5f2817ea", + "route_id": "route-1af17bb46d9794d0", + "origin_key": "lane:dual-mobile-ion-dae-transient-v1", + "target": { + "capability_id": "lane-6c70228c5f2817ea", + "scope_id": "lane:dual-mobile-ion-dae-transient-v1", + "kind": "original_refinement_lane", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_rule_bound_pending_evidence", + "citations": [ + { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dual-mobile-ion-dae-transient-v1", + "value_sha256": "e93dac1f59ce52c3fd6f2d1571248459076fd29a5f8f99fb6f10d29fb13d0bb0" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "_observable_delta" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "evaluate_numerical_certificate" + } + ], + "original_evidence": [ + { + "kind": "registered_refinement_contract", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dual-mobile-ion-dae-transient-v1", + "value_sha256": "e93dac1f59ce52c3fd6f2d1571248459076fd29a5f8f99fb6f10d29fb13d0bb0" + }, + "historical_source_sha256": "b808fb2c7e44b282fe5e8a7d55a8f23a12101451104c6c639e2991fec34a2dff", + "scope_limitations": [ + "This lane certifies only the dark, 10 mV, single-layer ohmic, shared-site dual-mobile-ion blocking-boundary research DAE slice derived from the IonMonger absorber.", + "The negative-ion parameters are synthetic protocol inputs, not values claimed by the source IonMonger publication; the result is internal numerical equivalence rather than external solver or device validation.", + "Selective contacts, InterfaceDefect, cross-node interface sampling, algebraic interface states, experiment routes, and backend routes remain excluded." + ] + } + ], + "call_chains": [], + "original_scope_limitations": [ + "This lane certifies only the dark, 10 mV, single-layer ohmic, shared-site dual-mobile-ion blocking-boundary research DAE slice derived from the IonMonger absorber.", + "The negative-ion parameters are synthetic protocol inputs, not values claimed by the source IonMonger publication; the result is internal numerical equivalence rather than external solver or device validation.", + "Selective contacts, InterfaceDefect, cross-node interface sampling, algebraic interface states, experiment routes, and backend routes remain excluded." + ], + "active_contract": null, + "obligations": [ + { + "id": "new-source-lane-6c70228c5f2817ea", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/lane-6c70228c5f2817ea.json", + "tasks": [ + "P00-03", + "P03-06", + "P04-05", + "P04-06", + "P09-01" + ], + "gates": [ + "G0", + "G3", + "G4", + "G9" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-69058e1af6751f9f9cadb573", + "rule-b58c653c69cb0f26ddb1ff37", + "rule-b699ec3fbdb98f1f3f963899", + "rule-5ba76faea7d1643d987beaa6", + "rule-65091c0901d07799fe900bf5", + "rule-37df3fa87efc17764272caf7", + "rule-9f8afb1b2be7c3b24a3d48a6", + "rule-59a19198fdef38eb8d8d5169", + "rule-825b901d3fb10db230904394", + "rule-c0c9ad75a0d62b703933611d", + "rule-9b20f0727dea8d9a889f6fe0", + "rule-de42aeb87ef938f2e96ebbc9", + "rule-229782e864d0faafbc695523", + "rule-20255d2989cf2afb2e2b8c49", + "rule-b8f66d894b1d519533d507b9", + "rule-64029ed1e50f891808ee79c7", + "rule-3904a39de7c8c32bf629ceee", + "rule-46982d459cc32e214b3cf83d", + "rule-3222fbeeb3394ee217d2fd07", + "rule-2fefe2d44d17e81c1ae06ee2", + "rule-9562411980a4c85cae83b601", + "rule-5dd1748bc976ea592505ed41", + "rule-f171d09139dc7c15ad7d659e", + "rule-fddc2f353b9b3f93a41bdca7", + "rule-48244c82bac51d7facfe824b", + "rule-2624b0fea75216e77d7c5883", + "rule-ac7768379017209730286cf1", + "rule-a5e3afc60ba0da7109c2d569", + "rule-abba824f43ae8509078e1895", + "rule-58014199b589c0ae7d2acef9", + "rule-a8af23d4be88ca6a3d71fc3d", + "rule-1bfab4cd0a2aca0824a0a094", + "rule-bc6d9cef1bd571ac9779f624", + "rule-15766fac0f8c06cd60423fc3", + "rule-646e30935c799f6fcefac5c0", + "rule-68b1bae2b61c7339f18c2e5f", + "rule-dfe14b3802a0da764eca9bcb", + "rule-fe53144103ae14c150948068", + "rule-b9eb2d437f9d3e3c4a861974", + "rule-d569a9729a8f920087a024e4", + "rule-464d92fb761630eb1f1680b1", + "rule-e7e77f5e98b7323910776f33", + "rule-47354dca211bfe7222347fd7" + ], + "comparison_scope_id": "scope-lane-6c70228c5f2817ea" + }, + { + "capability_id": "lane-5ff1ae9d34dfa46d", + "route_id": "route-1af17bb46d9794d0", + "origin_key": "lane:dynamic-defect-ion-impedance-production-v1", + "target": { + "capability_id": "lane-5ff1ae9d34dfa46d", + "scope_id": "lane:dynamic-defect-ion-impedance-production-v1", + "kind": "original_refinement_lane", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_rule_bound_pending_evidence", + "citations": [ + { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-impedance-production-v1", + "value_sha256": "b8919a4cdab6349be31dd77d2114ef43c5868dc10209e07ad337dd4138ccd999" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "_observable_delta" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "evaluate_numerical_certificate" + } + ], + "original_evidence": [ + { + "kind": "registered_refinement_contract", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-impedance-production-v1", + "value_sha256": "b8919a4cdab6349be31dd77d2114ef43c5868dc10209e07ad337dd4138ccd999" + }, + "historical_source_sha256": "b808fb2c7e44b282fe5e8a7d55a8f23a12101451104c6c639e2991fec34a2dff", + "scope_limitations": [ + "This lane certifies the production dynamic-defect method on one synthetic single-level acceptor plus positive-ion slab; bulk-only and two-sided interface branches remain covered by their dedicated adapter and public-dispatch integration tests.", + "Each cell executes the full production certificate and also compares the retained 145-point response with its nested 73-point log-frequency sub-grid for impedance and trap-storage interpolation error; conserved ionic inventory storage is checked against an absolute SI floor instead of normalizing near-zero noise.", + "This is internal grid, finite-difference, and frequency-sampling convergence evidence, not external SCAPS parity, measured impedance validation, or unique defect-parameter identification." + ] + } + ], + "call_chains": [], + "original_scope_limitations": [ + "This lane certifies the production dynamic-defect method on one synthetic single-level acceptor plus positive-ion slab; bulk-only and two-sided interface branches remain covered by their dedicated adapter and public-dispatch integration tests.", + "Each cell executes the full production certificate and also compares the retained 145-point response with its nested 73-point log-frequency sub-grid for impedance and trap-storage interpolation error; conserved ionic inventory storage is checked against an absolute SI floor instead of normalizing near-zero noise.", + "This is internal grid, finite-difference, and frequency-sampling convergence evidence, not external SCAPS parity, measured impedance validation, or unique defect-parameter identification." + ], + "active_contract": null, + "obligations": [ + { + "id": "new-source-lane-5ff1ae9d34dfa46d", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/lane-5ff1ae9d34dfa46d.json", + "tasks": [ + "P00-03", + "P03-06", + "P04-05", + "P04-06", + "P09-01" + ], + "gates": [ + "G0", + "G3", + "G4", + "G9" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof", + "the applicable gauge/CV/log-density/inventory or complex/circular-phase comparator with physical units; no generic scalar substitute" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-8a11562fda4feee473c260a5", + "rule-ecff69194e4dafcb38103a85", + "rule-87348577b5bc6d61b7c2e17b", + "rule-24b12f44759b14771bae457a", + "rule-39c8f80f448a2ad30293678f", + "rule-d101de26519718868dd8b3bb", + "rule-62bfc032f1c1c3c38ac8e72d", + "rule-b5f8faead216a91c8e98d2dd", + "rule-c65c83b218d0af6a265ef002", + "rule-83e0a5733fdb835d9ae4b1c3", + "rule-3f2e9b330bede18dbfaf23e6", + "rule-e0e71b58aa66915e41c5679b", + "rule-02b68c4091045c552343c654", + "rule-41e7470431bcd7b19f247733", + "rule-5110a4e6932572bcc2218041", + "rule-6ae9b019b08f350666f72d1a", + "rule-fbb1c11609aaa77d3e406146", + "rule-57296dbdbc0403cb68063224", + "rule-59eccb393ae545a5b42dbad0" + ], + "comparison_scope_id": "scope-lane-5ff1ae9d34dfa46d" + }, + { + "capability_id": "lane-def3952fd4d218a3", + "route_id": "route-7ae47088bbed9ed7", + "origin_key": "lane:dynamic-defect-ion-transient-production-v1", + "target": { + "capability_id": "lane-def3952fd4d218a3", + "scope_id": "lane:dynamic-defect-ion-transient-production-v1", + "kind": "original_refinement_lane", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_rule_bound_pending_evidence", + "citations": [ + { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-production-v1", + "value_sha256": "f1541db33fa674753814fca3f3f4e0559ea9c834d1fe8b3b568c72cd63166d3c" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "_observable_delta" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "evaluate_numerical_certificate" + } + ], + "original_evidence": [ + { + "kind": "registered_refinement_contract", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-production-v1", + "value_sha256": "f1541db33fa674753814fca3f3f4e0559ea9c834d1fe8b3b568c72cd63166d3c" + }, + "historical_source_sha256": "b808fb2c7e44b282fe5e8a7d55a8f23a12101451104c6c639e2991fec34a2dff", + "scope_limitations": [ + "Version 6 is the first lane that executes the production DynamicDefectTransientProtocol and run_dynamic_defect_transient public wrapper for all three physical cases and the typed fast-ion stiffness boundary; it does not inherit production status from the v5 internal adapter certificate.", + "The public capability remains dark, exactly two electrical layers, one canonical two-sided microscopic interface defect, exactly one absorber positive-ion layer, no active negative ions, and no explicit bulk defects. Each cell binds the E3c v5 reference certificate but must independently pass runtime projection and engine gates.", + "Observables and physical thresholds intentionally match v5 reference-relative convergence evidence; three additional per-cell gates verify public protocol round-trip/content identity, public projection certification, and exact reference-certificate binding.", + "This lane is internal SolarLab production-path numerical certification, not SCAPS transient parity, experimental validation, bulk-plus-ion coverage, dual-ion coverage, distributed dynamic defects, metastability, tunnelling, or unique parameter identification." + ] + } + ], + "call_chains": [], + "original_scope_limitations": [ + "Version 6 is the first lane that executes the production DynamicDefectTransientProtocol and run_dynamic_defect_transient public wrapper for all three physical cases and the typed fast-ion stiffness boundary; it does not inherit production status from the v5 internal adapter certificate.", + "The public capability remains dark, exactly two electrical layers, one canonical two-sided microscopic interface defect, exactly one absorber positive-ion layer, no active negative ions, and no explicit bulk defects. Each cell binds the E3c v5 reference certificate but must independently pass runtime projection and engine gates.", + "Observables and physical thresholds intentionally match v5 reference-relative convergence evidence; three additional per-cell gates verify public protocol round-trip/content identity, public projection certification, and exact reference-certificate binding.", + "This lane is internal SolarLab production-path numerical certification, not SCAPS transient parity, experimental validation, bulk-plus-ion coverage, dual-ion coverage, distributed dynamic defects, metastability, tunnelling, or unique parameter identification." + ], + "active_contract": null, + "obligations": [ + { + "id": "new-source-lane-def3952fd4d218a3", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/lane-def3952fd4d218a3.json", + "tasks": [ + "P00-03", + "P03-06", + "P04-10", + "P09-01" + ], + "gates": [ + "G0", + "G3", + "G4", + "G9" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-8a12153d0a16c626a9392adc", + "rule-a515c4920e7538d7767a0aa2", + "rule-f7a2c76e29fa6b5d591dc525", + "rule-071bc05b03dc35ffc12c33a3", + "rule-cde8698398daf49205051e06", + "rule-49276d9d7c52f13f57481074", + "rule-78790ec2a8ee4ea60dae0c3b", + "rule-2add69b8c4e0b3835f39bffc", + "rule-29913c136916dd2df0b7b621", + "rule-32fd79a9efeebe24c260baf7", + "rule-cdc298669855ad994982311e", + "rule-96da65d638042caa70ccbed0", + "rule-d35f56e79a66e4a75331501c", + "rule-9893a677ebe785e37cb3edf8", + "rule-eccbe7a4b6961694240e96af", + "rule-0939be97cf3fecb1b0583c5d", + "rule-a5375be5c6b74d926a5f8f16", + "rule-e2b48abcdc9a4fee339873f2", + "rule-65598f673ba18568c0b12509", + "rule-bf1505954dec2e66fefb5e44", + "rule-ef2a67ac13be6d19f6227391", + "rule-c2b7d984854710aa282fa2d0", + "rule-a0d8c5ed112f0ece46cdbd71", + "rule-5c0b307f6ca6beeec14bcda6", + "rule-64e141831bd77997a19768cf", + "rule-7fa7bafaf8248c6285f9db20", + "rule-e6dd627e0ad4beb567d731d3", + "rule-e79f37d50dd03c6b7c4a6ae4", + "rule-83f71d7cd68bb18205480358", + "rule-7f8f90eeb5c7dd8b4fc44322", + "rule-bb944e9a9f5b63bd28908658", + "rule-a919b3386e563a21f3e0c496", + "rule-a499e23bc609f2e35da2f6ac", + "rule-719d78652182af11c8d40eac", + "rule-486b0f050e45587d4fdd31cf", + "rule-d1a153e62c8fbe0df28cc37a", + "rule-798df078793d08f7e92ed27e", + "rule-754e1ad38903be27bb1b3c0e", + "rule-2b2b830baa2490176235e033", + "rule-30b0b5b5cb6938d08bcaa08f", + "rule-0a175d55c75ef0914671be5e", + "rule-2bc05426924136fe68e0ac9c", + "rule-5c74d8b25766053be7756833", + "rule-91c7cc968dbcdaaa0e3335d4", + "rule-09272356c92e8e1471cdb704", + "rule-eeba496d76e45d141348d9b7", + "rule-f9f32c09da428e5befec7adc", + "rule-f285b65c4662b18c669d995d", + "rule-6c68d1b6e619a4fa680956d3", + "rule-de1da831eaea01d4c0330908" + ], + "comparison_scope_id": "scope-lane-def3952fd4d218a3" + }, + { + "capability_id": "lane-b61bf1fc1c5146b5", + "route_id": "route-7ae47088bbed9ed7", + "origin_key": "lane:dynamic-defect-ion-transient-timescale-absorber-resolved-v4", + "target": { + "capability_id": "lane-b61bf1fc1c5146b5", + "scope_id": "lane:dynamic-defect-ion-transient-timescale-absorber-resolved-v4", + "kind": "original_refinement_lane", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_rule_bound_pending_evidence", + "citations": [ + { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-absorber-resolved-v4", + "value_sha256": "a1c100dae0d0f89e231d3efc00beb26fc70536e3a51f01e02cd92947027b82dc" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "_observable_delta" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "evaluate_numerical_certificate" + } + ], + "original_evidence": [ + { + "kind": "registered_refinement_contract", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-absorber-resolved-v4", + "value_sha256": "a1c100dae0d0f89e231d3efc00beb26fc70536e3a51f01e02cd92947027b82dc" + }, + "historical_source_sha256": "b808fb2c7e44b282fe5e8a7d55a8f23a12101451104c6c639e2991fec34a2dff", + "scope_limitations": [ + "Version 4 keeps the v3 equations, 3x3 axes, time history, nonlinear policy, and every physical quality gate, but uses a physically scoped source fixture in which only the absorber has mobile ions and the ETL remains ion-inactive.", + "Cross-grid transient evidence compares reference-relative ion-centroid shift and integrated-charge change, not grid-dependent absolute DC baselines; every cell must still carry certified dark/operating points, component inventory, global charge, all-face/interface current, analytic sparse Jacobian, motion separation, and no clipping.", + { + "Version 3 remains immutable partial evidence": "all 9 cells executed, but absolute DC-sensitive ion-centroid and integrated-charge observables failed five terminal grid checks. Versions 1 and 2 retain their recorded execution failures." + }, + "The D_ion=1e-12 m2/s typed line-search outcome remains a stiffness boundary, not a certified fast-ion physical solution; this lane is internal SolarLab convergence evidence, not SCAPS parity, experimental validation, production API certification, or unique parameter identification." + ] + } + ], + "call_chains": [], + "original_scope_limitations": [ + "Version 4 keeps the v3 equations, 3x3 axes, time history, nonlinear policy, and every physical quality gate, but uses a physically scoped source fixture in which only the absorber has mobile ions and the ETL remains ion-inactive.", + "Cross-grid transient evidence compares reference-relative ion-centroid shift and integrated-charge change, not grid-dependent absolute DC baselines; every cell must still carry certified dark/operating points, component inventory, global charge, all-face/interface current, analytic sparse Jacobian, motion separation, and no clipping.", + { + "Version 3 remains immutable partial evidence": "all 9 cells executed, but absolute DC-sensitive ion-centroid and integrated-charge observables failed five terminal grid checks. Versions 1 and 2 retain their recorded execution failures." + }, + "The D_ion=1e-12 m2/s typed line-search outcome remains a stiffness boundary, not a certified fast-ion physical solution; this lane is internal SolarLab convergence evidence, not SCAPS parity, experimental validation, production API certification, or unique parameter identification." + ], + "active_contract": null, + "obligations": [ + { + "id": "new-source-lane-b61bf1fc1c5146b5", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/lane-b61bf1fc1c5146b5.json", + "tasks": [ + "P00-03", + "P03-06", + "P04-10", + "P09-01" + ], + "gates": [ + "G0", + "G3", + "G4", + "G9" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-b3089e78c3501797ab56bf64", + "rule-8a733fbb6fed93f4d3366516", + "rule-0cab1e74a11f1ada80ca11b9", + "rule-75952a0a84d4c5ea8854426b", + "rule-8207a82b085f21c0143146af", + "rule-6074d651c3b9809dcdc8bb67", + "rule-38341085953e6ebdb35037f7", + "rule-9c1fd89d0b0adc9081d2eeed", + "rule-5f33dc6b7a6c557bc4ed470b", + "rule-55a5537239a173feb4f8b321", + "rule-0a45a1c44f310002840c9758", + "rule-7e59df0e9b3e763c19a684b7", + "rule-a90172cea8de6f5c0774c81b", + "rule-7d4ccb6b93afe3260735cca4", + "rule-738a47b5d7b9eddc69fe7d81", + "rule-e8a7b93d9a914086f238c528", + "rule-37d1a05f64cc3689cb0c8689", + "rule-475f3c3db002168b1f6aebc1", + "rule-287972f5ed30860f4ed145bf", + "rule-307b0277dca46875a8a26012", + "rule-6338649cc0ab385f94054cb9", + "rule-a960116536ff581cdaf35dc0", + "rule-0c9dffe1bf52e8ea7c002058", + "rule-b208719cbadf17861d284d9b", + "rule-b9b1c34ed26c4e7d1cfef788", + "rule-99443271b33eaf0c0085bd67", + "rule-509eff0a56478634d65e0641", + "rule-ceb72ac2499e2554e072e3d8", + "rule-a8e490964f0299460c776a3e", + "rule-0efbb828a083efa7f7d7fbe6", + "rule-cfd5c0f75e257dd949ab8f7f", + "rule-0dafc45082f0141caae1ded6", + "rule-9c0f05e25bf2c7fc0b7fee6f", + "rule-2d5916107874e344937b732b", + "rule-ada3c2dad6e2f1e701cd4e11", + "rule-e0c7b1fc508e0e8016fea02c", + "rule-e8c33bcb94926bed95ca86f6", + "rule-70686d2c74fa2a7612115c4a", + "rule-16d56708ff70bba44bd9ed62", + "rule-4421dec318834ef82902c8e3", + "rule-f15cbdddbb1b81a2ba3148e2", + "rule-e3437626bfd6fd9481b00b19", + "rule-9c6ade9af18fbbc9f62d7529", + "rule-70fb60ec809e6ff7e96b3f45", + "rule-df6957825c6e011087268634", + "rule-d23c470b0dec16dac7a28d3b" + ], + "comparison_scope_id": "scope-lane-b61bf1fc1c5146b5" + }, + { + "capability_id": "lane-119dbf12fc26bf9b", + "route_id": "route-7ae47088bbed9ed7", + "origin_key": "lane:dynamic-defect-ion-transient-timescale-nonlinear-resolved-v3", + "target": { + "capability_id": "lane-119dbf12fc26bf9b", + "scope_id": "lane:dynamic-defect-ion-transient-timescale-nonlinear-resolved-v3", + "kind": "original_refinement_lane", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_rule_bound_pending_evidence", + "citations": [ + { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-nonlinear-resolved-v3", + "value_sha256": "69e24dac012929679522f73d9cb0c3937a98035b754919828a5db6744c892f85" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "_observable_delta" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "evaluate_numerical_certificate" + } + ], + "original_evidence": [ + { + "kind": "registered_refinement_contract", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-nonlinear-resolved-v3", + "value_sha256": "69e24dac012929679522f73d9cb0c3937a98035b754919828a5db6744c892f85" + }, + "historical_source_sha256": "b808fb2c7e44b282fe5e8a7d55a8f23a12101451104c6c639e2991fec34a2dff", + "scope_limitations": [ + "Version 3 preserves every v2 equation, mesh, 3x3 axis, observable, physical gate, time history, and case override while adding only a registered near-acceptance nonlinear globalization control.", + "A BE solve may take at most two nonmonotone full analytic-sparse Newton steps only after its scaled residual is within the original gate and charge/current closure is within twice the original gate; every use is counted and bounded per cell. High-residual fast-ion failures remain ineligible.", + "Version 1 remains the alpha=2.0 partial contract and version 2 remains the alpha=1.5 monotone-Newton partial contract; neither failure is erased or reclassified as certified evidence.", + "The D_ion=1e-12 m2/s typed line-search outcome remains a stiffness boundary, not a certified fast-ion physical solution; this lane is internal SolarLab convergence evidence, not SCAPS parity, experimental validation, or production API certification." + ] + } + ], + "call_chains": [], + "original_scope_limitations": [ + "Version 3 preserves every v2 equation, mesh, 3x3 axis, observable, physical gate, time history, and case override while adding only a registered near-acceptance nonlinear globalization control.", + "A BE solve may take at most two nonmonotone full analytic-sparse Newton steps only after its scaled residual is within the original gate and charge/current closure is within twice the original gate; every use is counted and bounded per cell. High-residual fast-ion failures remain ineligible.", + "Version 1 remains the alpha=2.0 partial contract and version 2 remains the alpha=1.5 monotone-Newton partial contract; neither failure is erased or reclassified as certified evidence.", + "The D_ion=1e-12 m2/s typed line-search outcome remains a stiffness boundary, not a certified fast-ion physical solution; this lane is internal SolarLab convergence evidence, not SCAPS parity, experimental validation, or production API certification." + ], + "active_contract": null, + "obligations": [ + { + "id": "new-source-lane-119dbf12fc26bf9b", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/lane-119dbf12fc26bf9b.json", + "tasks": [ + "P00-03", + "P03-06", + "P04-10", + "P09-01" + ], + "gates": [ + "G0", + "G3", + "G4", + "G9" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-f0451d8a65a6ab4d4682f0a5", + "rule-c0cc5cc33b833d49c95cc90a", + "rule-619d87e59a5b7f4e68a3975f", + "rule-3baa8984c419be9154171461", + "rule-0345f9f188c51373a0deb2ba", + "rule-ab2d706f371dce2888d2de72", + "rule-ee9f608a01b1a424f62edee9", + "rule-663351d779454fc716c6ac94", + "rule-ebec8d9404f63d7ab58f616f", + "rule-d32677e2806d63dca230c900", + "rule-bdd4a45ffa8cde957f2efbcc", + "rule-9cc9ab321c573e81bb438ecf", + "rule-868e97ae6f7bb356b638de58", + "rule-daafaeb38a6f507baf7da0c1", + "rule-579f538488bfe7930feb708a", + "rule-3a54dad62d0f69fe3b98f20a", + "rule-c9a533f7304816b4d047f0e0", + "rule-1cb214a55731160f9a85ef95", + "rule-1c40a019d7b3a0a28bc3f255", + "rule-7032489aabc5864809818648", + "rule-e1a35a19809f9b348eeea727", + "rule-242c5ecf56b56c177cc7a33c", + "rule-1a896d09ddf6852c6718e560", + "rule-a8d47d081b7f3bb0a5cdfb5b", + "rule-c8c1437307e45fbe8683d7db", + "rule-e2685244646ed077f99a2236", + "rule-7d662d1a3bc92667377843c6", + "rule-fe106ef9b6173cf1a410747b", + "rule-e378a2d2c12fb4c52a114bd3", + "rule-6ed84b85fd1bf7ea0996cf49", + "rule-7bdacfb7eab7b71cacedddb5", + "rule-2de574fa7534e429edddb045", + "rule-0cb4eadeef7d7ca63d16a3e1", + "rule-120b649cb27a089a9b7cb29a", + "rule-53a82a7239e817db936288a2", + "rule-aa117798b164aab07e92d241", + "rule-91cd384f071a1589073c619e", + "rule-abe05c050ecbe7b2e2fe8019", + "rule-62010f10d217c4b12681c35e", + "rule-eaf72da19e4d45cfee88a646", + "rule-7aded4a7b624e61f3c4a4b85", + "rule-7f98377940f352266ca4dce4", + "rule-ff7558f2827fc091487eaa46", + "rule-ff8eec45eae75369834e5911", + "rule-8ad31db41113aae409b6d09e", + "rule-01e6a96b673358ac260adb61" + ], + "comparison_scope_id": "scope-lane-119dbf12fc26bf9b" + }, + { + "capability_id": "lane-c2f00d60b696be35", + "route_id": "route-7ae47088bbed9ed7", + "origin_key": "lane:dynamic-defect-ion-transient-timescale-reference-resolved-v5", + "target": { + "capability_id": "lane-c2f00d60b696be35", + "scope_id": "lane:dynamic-defect-ion-transient-timescale-reference-resolved-v5", + "kind": "original_refinement_lane", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_rule_bound_pending_evidence", + "citations": [ + { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-reference-resolved-v5", + "value_sha256": "cd16dd19dd106c81d3b31abc9462abdf7a77bf9024b886ad26a65efe95936ab2" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "_observable_delta" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "evaluate_numerical_certificate" + } + ], + "original_evidence": [ + { + "kind": "registered_refinement_contract", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-reference-resolved-v5", + "value_sha256": "cd16dd19dd106c81d3b31abc9462abdf7a77bf9024b886ad26a65efe95936ab2" + }, + "historical_source_sha256": "b808fb2c7e44b282fe5e8a7d55a8f23a12101451104c6c639e2991fec34a2dff", + "scope_limitations": [ + "Version 5 preserves the v4 source fixture, equations, 3x3 axes, history, nonlinear policy, thresholds, and physical quality gates; it compares occupancy, ion-centroid, and integrated charge as changes from each cell's certified t=0 reference while retaining absolute terminal current.", + "The fast-ion stiffness boundary accepts only a typed line-search stall or typed Newton iteration limit with a machine-readable iteration and residual above the registered nonlinear acceptance threshold. Neither outcome is a certified fast-ion physical solution.", + { + "Version 4 remains immutable partial evidence": "all 9 cells executed, but absolute interface occupancy failed three terminal grid checks and two cells reached the declared Newton iteration limit rather than the narrower line-search-only outcome. Version 3 remains partial and versions 1-2 retain their recorded execution failures." + }, + "This lane is internal SolarLab numerical convergence evidence, not SCAPS parity, experimental validation, production API certification, or unique parameter identification." + ] + } + ], + "call_chains": [], + "original_scope_limitations": [ + "Version 5 preserves the v4 source fixture, equations, 3x3 axes, history, nonlinear policy, thresholds, and physical quality gates; it compares occupancy, ion-centroid, and integrated charge as changes from each cell's certified t=0 reference while retaining absolute terminal current.", + "The fast-ion stiffness boundary accepts only a typed line-search stall or typed Newton iteration limit with a machine-readable iteration and residual above the registered nonlinear acceptance threshold. Neither outcome is a certified fast-ion physical solution.", + { + "Version 4 remains immutable partial evidence": "all 9 cells executed, but absolute interface occupancy failed three terminal grid checks and two cells reached the declared Newton iteration limit rather than the narrower line-search-only outcome. Version 3 remains partial and versions 1-2 retain their recorded execution failures." + }, + "This lane is internal SolarLab numerical convergence evidence, not SCAPS parity, experimental validation, production API certification, or unique parameter identification." + ], + "active_contract": null, + "obligations": [ + { + "id": "new-source-lane-c2f00d60b696be35", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/lane-c2f00d60b696be35.json", + "tasks": [ + "P00-03", + "P03-06", + "P04-10", + "P09-01" + ], + "gates": [ + "G0", + "G3", + "G4", + "G9" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-21e200d42c007d82efff89d8", + "rule-96b4fa2ad2ac0753985cc155", + "rule-10333d632faa7f20b971327d", + "rule-629391242f1474179ad02d2b", + "rule-f07d54c346e52884cf8d211a", + "rule-b877b5e5e3f83893326b41db", + "rule-8d99c55108b627f1c46da9df", + "rule-f5db9aca1125f3c405104908", + "rule-70ba80fec89ca91581db3284", + "rule-be05e915d00ec202d4e01f62", + "rule-76d6ab5bd5f607462d86833f", + "rule-5d32b21c3505bad41d034fa5", + "rule-e8d6f9716e1a14b1f6a80e21", + "rule-4684c3619a8c5fd1862e52f5", + "rule-d99de288b1e585bb5c73565e", + "rule-7cce205ab17040a0604d696d", + "rule-80a9a24e70380b3db67a0bde", + "rule-b7325d555edc5dff29f13b2f", + "rule-9edd3cea700a28c53c9517df", + "rule-72ca6aafcba9316970b768cc", + "rule-40382c7f878ac56784f94b91", + "rule-42dd531b236c76bdefcc375b", + "rule-67b246c0fa68c43b39d4fd30", + "rule-b4670c4d9c437329ec9ec514", + "rule-c2d50ae6aa0365c8961db9db", + "rule-05ab9b70dcc5d350a77774f8", + "rule-5fe377a0ba2e5ddd8ea7e5c7", + "rule-7d31f72e4e6aa275655d9fb7", + "rule-73a0e0a1636bd82c4451b486", + "rule-3c67580b350287598ea8ca0c", + "rule-0bc53fd5a49e05fd0c54f0f6", + "rule-d9c2639990491162e2922062", + "rule-1658d71f362ced253703cbfe", + "rule-951c8181914adac8c7e92dbe", + "rule-9731309a5111b2b17f21acde", + "rule-085717513c5239e0ab6408cb", + "rule-dba2191b0d85fd32f0aa691e", + "rule-73a0e8e44d8bdb08061a76d4", + "rule-d8b9ba44ec3faeb4891d1196", + "rule-b18c4bdc999b53f481342575", + "rule-31751c858fda2a94b9169a08", + "rule-02afc7a2c4498e897df2bcfe", + "rule-7bc4ee050bcb1c9f3d3a865f", + "rule-66f626e49cb8f0b72dc76a7e", + "rule-d2994f200276eeee8cf46295", + "rule-c519324bcb463356150fe50c", + "rule-29efb1f7e7e83008ec9fbb03" + ], + "comparison_scope_id": "scope-lane-c2f00d60b696be35" + }, + { + "capability_id": "lane-2e2c396de43bcf73", + "route_id": "route-7ae47088bbed9ed7", + "origin_key": "lane:dynamic-defect-ion-transient-timescale-resolved-v2", + "target": { + "capability_id": "lane-2e2c396de43bcf73", + "scope_id": "lane:dynamic-defect-ion-transient-timescale-resolved-v2", + "kind": "original_refinement_lane", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_rule_bound_pending_evidence", + "citations": [ + { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-resolved-v2", + "value_sha256": "e44b4d2cee32b39c61553a82666f66fb353ffe49b4c7c4ba665e2945b63daa2a" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "_observable_delta" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "evaluate_numerical_certificate" + } + ], + "original_evidence": [ + { + "kind": "registered_refinement_contract", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-resolved-v2", + "value_sha256": "e44b4d2cee32b39c61553a82666f66fb353ffe49b4c7c4ba665e2945b63daa2a" + }, + "historical_source_sha256": "b808fb2c7e44b282fe5e8a7d55a8f23a12101451104c6c639e2991fec34a2dff", + "scope_limitations": [ + "This resolved lane preserves every v1 equation, 3x3 axis, trace observable, physical quality gate, time history, and case override while changing only the registered mesh clustering and nonlinear iteration budgets.", + { + "Version 1 remains the immutable partial contract": "alpha=2.0 over-clusters this smooth intrinsic fixture as the grid refines, producing grid-6/8 nonlinear failures without adding a physical screening-scale requirement. Version 2 uses alpha=1.5 and records 100/40 Newton/line-search limits explicitly." + }, + "Every matrix cell executes the same two-sided index-1 DAE for combined, defect-dominated, and ion-dominated cases and requires component inventory, global charge, all-face/interface current, analytic sparse Jacobian, motion separation, and no clipping.", + "The D_ion=1e-12 m2/s typed line-search outcome remains a stiffness boundary, not a certified fast-ion physical solution; this lane is internal SolarLab convergence evidence, not SCAPS parity, experimental validation, or production API certification." + ] + } + ], + "call_chains": [], + "original_scope_limitations": [ + "This resolved lane preserves every v1 equation, 3x3 axis, trace observable, physical quality gate, time history, and case override while changing only the registered mesh clustering and nonlinear iteration budgets.", + { + "Version 1 remains the immutable partial contract": "alpha=2.0 over-clusters this smooth intrinsic fixture as the grid refines, producing grid-6/8 nonlinear failures without adding a physical screening-scale requirement. Version 2 uses alpha=1.5 and records 100/40 Newton/line-search limits explicitly." + }, + "Every matrix cell executes the same two-sided index-1 DAE for combined, defect-dominated, and ion-dominated cases and requires component inventory, global charge, all-face/interface current, analytic sparse Jacobian, motion separation, and no clipping.", + "The D_ion=1e-12 m2/s typed line-search outcome remains a stiffness boundary, not a certified fast-ion physical solution; this lane is internal SolarLab convergence evidence, not SCAPS parity, experimental validation, or production API certification." + ], + "active_contract": null, + "obligations": [ + { + "id": "new-source-lane-2e2c396de43bcf73", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/lane-2e2c396de43bcf73.json", + "tasks": [ + "P00-03", + "P03-06", + "P04-10", + "P09-01" + ], + "gates": [ + "G0", + "G3", + "G4", + "G9" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-6c25b9b7808b8c1cb73c5285", + "rule-418db1b462ba803dd8b7c050", + "rule-0eb22394df0da4a1975bb088", + "rule-3ad37a8adcbffd2a12af5f64", + "rule-17d0b4c11c524f9a62bcf5aa", + "rule-68728100f6eb51a29c7a57c0", + "rule-c4df18baef95921681c1a643", + "rule-e306d54d7f939791f7c1c35a", + "rule-6f065e82bb80824c88ebeacc", + "rule-fbe7c1846a4d4afff5d2414a", + "rule-4f5360fb1a4cf9951be467b3", + "rule-9a3e64674766ecb8ab97dea3", + "rule-c7b187ea26bc0e5279789b91", + "rule-0666d36d9d600ea71be5ae20", + "rule-2f14c85545b459983c4ab1e6", + "rule-ac616f0512c08cdaa9177878", + "rule-e9ee5260a8bb8a65be1ea9c3", + "rule-50fa78a2ecf9e073f7baec44", + "rule-bba2a7d394d3033289184f34", + "rule-9691e5c41a3fb9823f694cc7", + "rule-d06256661de463788b6a833a", + "rule-4686fe44237d2195452731b0", + "rule-a800059dab868c4a8322b4b3", + "rule-57fc5f270fb7ad32e2fb9dce", + "rule-b5e15cd1d83ab655217b93ab", + "rule-e8a0800f576b64242b140d0a", + "rule-5061526ed3167bb2d1b4e271", + "rule-ccaebf5af78058a93a6a6d95", + "rule-d6031156a0a29a5d4bb2599f", + "rule-238577f7a9aca77e244ad7ff", + "rule-2c1673377d877d4191b4d6ad", + "rule-6d1b29f5d754c928dac9c3eb", + "rule-3c11ff28ea2f6489b0c3931d", + "rule-d291897762561e67627faf4b", + "rule-b21d0c5f6b40744efe3c68d5", + "rule-0d126d8eb30cfcf914986127", + "rule-502c1b18a29b167fbf816a76", + "rule-92de4881239db3b823a9657d", + "rule-5eb9166e60df4a5b8104f701", + "rule-351a5112cd51db880e0b98d7", + "rule-8c84b7053234679339f9b97b", + "rule-8ed1a470abec75786296e511", + "rule-f98f126cd7790f846a4c4670", + "rule-fa6eaa33cbb3971f1ed0fd8c", + "rule-e29d16a0f62dd5d815467c6a" + ], + "comparison_scope_id": "scope-lane-2e2c396de43bcf73" + }, + { + "capability_id": "lane-f63c8cad0bf211ec", + "route_id": "route-7ae47088bbed9ed7", + "origin_key": "lane:dynamic-defect-ion-transient-timescale-v1", + "target": { + "capability_id": "lane-f63c8cad0bf211ec", + "scope_id": "lane:dynamic-defect-ion-transient-timescale-v1", + "kind": "original_refinement_lane", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_rule_bound_pending_evidence", + "citations": [ + { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-v1", + "value_sha256": "ca5900bfae5032e9c0428334d97a002b56a0932207151ab92240bd8167e2185e" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "_observable_delta" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "evaluate_numerical_certificate" + } + ], + "original_evidence": [ + { + "kind": "registered_refinement_contract", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-v1", + "value_sha256": "ca5900bfae5032e9c0428334d97a002b56a0932207151ab92240bd8167e2185e" + }, + "historical_source_sha256": "b808fb2c7e44b282fe5e8a7d55a8f23a12101451104c6c639e2991fec34a2dff", + "scope_limitations": [ + "This lane certifies one frozen synthetic two-layer, one-interface, positive-ion device across combined, defect-dominated, and ion-dominated time-scale cases using the same two-sided index-1 DAE; it is not a fitted material stack.", + "Every matrix cell executes an inner nested backward-Euler ladder and requires the full interface-defect-ion transient certificate, component inventory, global charge, all-face and interface current, analytic sparse Jacobian, motion-separation, and no-clipping gates.", + "The D_ion=1e-12 m2/s case is required to fail closed with a typed line-search outcome and recorded Newton iteration; that outcome is a stiffness boundary, not a certified fast-ion physical solution.", + "This is internal SolarLab convergence evidence, not external SCAPS transient parity, experimental validation, production API certification, or unique defect/ion parameter identification." + ] + } + ], + "call_chains": [], + "original_scope_limitations": [ + "This lane certifies one frozen synthetic two-layer, one-interface, positive-ion device across combined, defect-dominated, and ion-dominated time-scale cases using the same two-sided index-1 DAE; it is not a fitted material stack.", + "Every matrix cell executes an inner nested backward-Euler ladder and requires the full interface-defect-ion transient certificate, component inventory, global charge, all-face and interface current, analytic sparse Jacobian, motion-separation, and no-clipping gates.", + "The D_ion=1e-12 m2/s case is required to fail closed with a typed line-search outcome and recorded Newton iteration; that outcome is a stiffness boundary, not a certified fast-ion physical solution.", + "This is internal SolarLab convergence evidence, not external SCAPS transient parity, experimental validation, production API certification, or unique defect/ion parameter identification." + ], + "active_contract": null, + "obligations": [ + { + "id": "new-source-lane-f63c8cad0bf211ec", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/lane-f63c8cad0bf211ec.json", + "tasks": [ + "P00-03", + "P03-06", + "P04-10", + "P09-01" + ], + "gates": [ + "G0", + "G3", + "G4", + "G9" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-1e268c6e1205d9f1c3ff211c", + "rule-cc99233d87208db1b2b2b6b4", + "rule-21c1327b17cba6322c4f7e42", + "rule-2f0e024d6bb2dd4d3e34a63d", + "rule-a7c40978c2fbf16cb90fe5a8", + "rule-20d402d682b5df15cdcdcba7", + "rule-45bb78482bdcbd04500b2832", + "rule-96e8aa181335cd01aab4d2f4", + "rule-34e081fe821bd8c54a8d818a", + "rule-19502639188e0e3a0ff730ed", + "rule-de0002d336a0cb2d74462a72", + "rule-3c9579a663409efc030e5af5", + "rule-3a93a9c4e435d1cedae918fd", + "rule-ce540c55300635cb306e1020", + "rule-24d709cdf4ce2e4834849d99", + "rule-bceda879e52c625f2b389c4d", + "rule-b7926d707d0eb000ff38b16b", + "rule-801eb4dc81d4077c9d272cf8", + "rule-1d6bf3edd308438989c3e0f7", + "rule-74ae157505942d9c5fea7a98", + "rule-05f925dbaa9fa4cc479ffcfb", + "rule-0c0fc851c9c2c4fc4e103a5a", + "rule-3f19bb01e41ea3b7b0c55dcb", + "rule-ac846e37171ed824bfdf53d4", + "rule-7a86332e31bc5e489d8620c9", + "rule-50cdc8021eb7e031ff0b1220", + "rule-3564d65468184d537ba15fa3", + "rule-8527ef385834aeb918fa7b8d", + "rule-53b296107987ceb37f7be5bf", + "rule-f94c4f89a52f02e3440624ea", + "rule-2c6690a1f7ea3cdbabf6dfbf", + "rule-080ff1912004fb0c1352f607", + "rule-1bd7891ec3049c7a42b1b4e7", + "rule-9572a37362f63f1df8eaae91", + "rule-ca33c6e24682b0bbe6eb8f68", + "rule-22873bd2be63a57552bcfe74", + "rule-8761331ee2f2e03ecb0887fb", + "rule-d44767e5f38a70833a3298cb", + "rule-9ad8e4bd1319b50188fa756e", + "rule-cde753e23d1fdcf9170ae96f", + "rule-568bc61dfe31a4d61e09264e", + "rule-0f5ed929830fb8fb076b5047", + "rule-2c833e5dfb3c88f599c4df6e", + "rule-129ab4fd0a1eaa5b74cc3065", + "rule-64c45610fce64f69d1ae5f56" + ], + "comparison_scope_id": "scope-lane-f63c8cad0bf211ec" + }, + { + "capability_id": "lane-5d1d62edf010a604", + "route_id": "route-fc717d86c09ab83e", + "origin_key": "lane:electrothermal-terminal-mpp-grid-resolved-v3", + "target": { + "capability_id": "lane-5d1d62edf010a604", + "scope_id": "lane:electrothermal-terminal-mpp-grid-resolved-v3", + "kind": "original_refinement_lane", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_rule_bound_pending_evidence", + "citations": [ + { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/electrothermal-terminal-mpp-grid-resolved-v3", + "value_sha256": "0c04c2728e4d77c4684473aea44e02607d286ed380b3aae7dadc48be44a06eed" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "_observable_delta" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "evaluate_numerical_certificate" + } + ], + "original_evidence": [ + { + "kind": "registered_refinement_contract", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/electrothermal-terminal-mpp-grid-resolved-v3", + "value_sha256": "0c04c2728e4d77c4684473aea44e02607d286ed380b3aae7dadc48be44a06eed" + }, + "historical_source_sha256": "b808fb2c7e44b282fe5e8a7d55a8f23a12101451104c6c639e2991fec34a2dff", + "scope_limitations": [ + "This grid-resolved lane raises only the spatial grid ladder to 40/60/80 after v1 and v2 completed 9/9 cells but remained partial on the 300-380 K MPP-power response; every observable, quality gate, circuit, thermal parameter, scan, and tolerance ladder is unchanged.", + "This lane certifies one fresh-state, protocol-conditioned forward-branch sampled terminal-MPP root; it does not certify voltage-sampling refinement or a continuously optimized MPP.", + "Each temperature restarts the complete transient J-V history, so the lane does not model a joint thermal-ion trajectory, thermal memory, or temperature ramp history.", + "The 800 W/m2 absorbed power, heat-transfer coefficient, emissivity, heat capacity, and series/shunt resistances are synthetic stress inputs, not measured parameters of the nip_MAPbI3 preset.", + "Passing is internal grid/tolerance, first-law, and provenance evidence; it is not external simulator validation, experimental validation, lifetime prediction, or validation of a real device temperature." + ] + } + ], + "call_chains": [], + "original_scope_limitations": [ + "This grid-resolved lane raises only the spatial grid ladder to 40/60/80 after v1 and v2 completed 9/9 cells but remained partial on the 300-380 K MPP-power response; every observable, quality gate, circuit, thermal parameter, scan, and tolerance ladder is unchanged.", + "This lane certifies one fresh-state, protocol-conditioned forward-branch sampled terminal-MPP root; it does not certify voltage-sampling refinement or a continuously optimized MPP.", + "Each temperature restarts the complete transient J-V history, so the lane does not model a joint thermal-ion trajectory, thermal memory, or temperature ramp history.", + "The 800 W/m2 absorbed power, heat-transfer coefficient, emissivity, heat capacity, and series/shunt resistances are synthetic stress inputs, not measured parameters of the nip_MAPbI3 preset.", + "Passing is internal grid/tolerance, first-law, and provenance evidence; it is not external simulator validation, experimental validation, lifetime prediction, or validation of a real device temperature." + ], + "active_contract": null, + "obligations": [ + { + "id": "new-source-lane-5d1d62edf010a604", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/lane-5d1d62edf010a604.json", + "tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "gates": [ + "G0", + "G3", + "G4", + "G9" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-384c39f07c3e2975e6e1d8bd", + "rule-ec6f415b6800ae843ceaf92a", + "rule-cd4e80f9dbdc0f109938f4d2", + "rule-ac74dc1a3ba21c63285a8afe", + "rule-41ecaba52deb3fcf4eb32ad2", + "rule-a0e91ad36018b92cd14d0cf0", + "rule-3055f49d627e1779b7aef767", + "rule-4bdc334b420b97330e261adb", + "rule-67016f103c34b82aaaaf91dc", + "rule-ea713d95f001aece0b14158c", + "rule-b465ac175beee2db9fd55efb", + "rule-0d12dc90b2f42a87234ab1ba", + "rule-445554546f9f7dc12de4f5da", + "rule-046cdfd36574fb39e58a35d8", + "rule-3b1989563b709bafb6762f56", + "rule-9226a48000d3c560b5147f67", + "rule-ce2310e8e430ce31c8d33723", + "rule-dadba4ce1aa7c2821f4ba187", + "rule-455788fcd3cba2e9caf16bcd", + "rule-e4490e01ebc265f455488d51", + "rule-a37b284482b9be35dcd4a587", + "rule-376988f8e0c313e302a7f2d8", + "rule-ee5f1293ace09ade08fa86df", + "rule-1d46ac780872dd6856cd4f1f", + "rule-4bf913faa3a99351cdb9c4af", + "rule-b5a87e4cc247e28376aa481d" + ], + "comparison_scope_id": "scope-lane-5d1d62edf010a604" + }, + { + "capability_id": "lane-b37e800920a3345f", + "route_id": "route-fc717d86c09ab83e", + "origin_key": "lane:electrothermal-terminal-mpp-resolved-v2", + "target": { + "capability_id": "lane-b37e800920a3345f", + "scope_id": "lane:electrothermal-terminal-mpp-resolved-v2", + "kind": "original_refinement_lane", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_rule_bound_pending_evidence", + "citations": [ + { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/electrothermal-terminal-mpp-resolved-v2", + "value_sha256": "643205dba11872fedb0fa47f5e4f5608dfa5e7422856e4aafc37f5a9db71dd0f" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "_observable_delta" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "evaluate_numerical_certificate" + } + ], + "original_evidence": [ + { + "kind": "registered_refinement_contract", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/electrothermal-terminal-mpp-resolved-v2", + "value_sha256": "643205dba11872fedb0fa47f5e4f5608dfa5e7422856e4aafc37f5a9db71dd0f" + }, + "historical_source_sha256": "b808fb2c7e44b282fe5e8a7d55a8f23a12101451104c6c639e2991fec34a2dff", + "scope_limitations": [ + "This resolved lane raises only the spatial grid ladder to 20/30/40 after v1 completed 9/9 cells but remained partial on the 300-380 K MPP-power response; every observable, quality gate, circuit, thermal parameter, scan, and tolerance ladder is unchanged.", + "This lane certifies one fresh-state, protocol-conditioned forward-branch sampled terminal-MPP root; it does not certify voltage-sampling refinement or a continuously optimized MPP.", + "Each temperature restarts the complete transient J-V history, so the lane does not model a joint thermal-ion trajectory, thermal memory, or temperature ramp history.", + "The 800 W/m2 absorbed power, heat-transfer coefficient, emissivity, heat capacity, and series/shunt resistances are synthetic stress inputs, not measured parameters of the nip_MAPbI3 preset.", + "Passing is internal grid/tolerance, first-law, and provenance evidence; it is not external simulator validation, experimental validation, lifetime prediction, or validation of a real device temperature." + ] + } + ], + "call_chains": [], + "original_scope_limitations": [ + "This resolved lane raises only the spatial grid ladder to 20/30/40 after v1 completed 9/9 cells but remained partial on the 300-380 K MPP-power response; every observable, quality gate, circuit, thermal parameter, scan, and tolerance ladder is unchanged.", + "This lane certifies one fresh-state, protocol-conditioned forward-branch sampled terminal-MPP root; it does not certify voltage-sampling refinement or a continuously optimized MPP.", + "Each temperature restarts the complete transient J-V history, so the lane does not model a joint thermal-ion trajectory, thermal memory, or temperature ramp history.", + "The 800 W/m2 absorbed power, heat-transfer coefficient, emissivity, heat capacity, and series/shunt resistances are synthetic stress inputs, not measured parameters of the nip_MAPbI3 preset.", + "Passing is internal grid/tolerance, first-law, and provenance evidence; it is not external simulator validation, experimental validation, lifetime prediction, or validation of a real device temperature." + ], + "active_contract": null, + "obligations": [ + { + "id": "new-source-lane-b37e800920a3345f", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/lane-b37e800920a3345f.json", + "tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "gates": [ + "G0", + "G3", + "G4", + "G9" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-7fec7536755c57a668dff5c5", + "rule-4f06a3ff92715461a0787caa", + "rule-c460247d448734871ab0ab19", + "rule-9aa25a0d7601ee6784bf7444", + "rule-32c0e5f2f4a92b96e9c46d72", + "rule-3036da1e5ced4e7486b9307a", + "rule-160fdc8e8c8c477e6b18e3d1", + "rule-e75515706fee805abd3bc21a", + "rule-973515e442cd83f4593919e3", + "rule-4071af8612566d712ed871ad", + "rule-701057132038fceb22e4a5b1", + "rule-fe3594e6344e7c4f0bcab8ec", + "rule-dbb7e3b6c93fcb024a96665e", + "rule-f26950e1fff3ecd6be590b1b", + "rule-36f98069f5e418d4be3e7b28", + "rule-811742a3d6d43a6883171b6c", + "rule-eecab93a83de492d7b92703b", + "rule-4ef804495f636010f720ddd0", + "rule-82b1ae1ca172d09e0d8ab80b", + "rule-a9934185bf9165cb8c08f666", + "rule-632c8d9018ee0c33a2a8d5ff", + "rule-3f9da1c4245f29fd36bcaae5", + "rule-955b43476c2f316f81ea9136", + "rule-60307c42eb7c2decb307c862", + "rule-456b632f82f05ed1332e8977", + "rule-43424e1dee9e5e1a270de2b4" + ], + "comparison_scope_id": "scope-lane-b37e800920a3345f" + }, + { + "capability_id": "lane-b89615cfbbfe0045", + "route_id": "route-fc717d86c09ab83e", + "origin_key": "lane:electrothermal-terminal-mpp-v1", + "target": { + "capability_id": "lane-b89615cfbbfe0045", + "scope_id": "lane:electrothermal-terminal-mpp-v1", + "kind": "original_refinement_lane", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_rule_bound_pending_evidence", + "citations": [ + { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/electrothermal-terminal-mpp-v1", + "value_sha256": "bfc102fdee0cda1bbdc97db18d3e68448484e3bdefca40c979e494a985772159" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "_observable_delta" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "evaluate_numerical_certificate" + } + ], + "original_evidence": [ + { + "kind": "registered_refinement_contract", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/electrothermal-terminal-mpp-v1", + "value_sha256": "bfc102fdee0cda1bbdc97db18d3e68448484e3bdefca40c979e494a985772159" + }, + "historical_source_sha256": "b808fb2c7e44b282fe5e8a7d55a8f23a12101451104c6c639e2991fec34a2dff", + "scope_limitations": [ + "This lane certifies one fresh-state, protocol-conditioned forward-branch sampled terminal-MPP root; it does not certify voltage-sampling refinement or a continuously optimized MPP.", + "Each temperature restarts the complete transient J-V history, so the lane does not model a joint thermal-ion trajectory, thermal memory, or temperature ramp history.", + "The 800 W/m2 absorbed power, heat-transfer coefficient, emissivity, heat capacity, and series/shunt resistances are synthetic stress inputs, not measured parameters of the nip_MAPbI3 preset.", + "The control volume is lumped and excludes a spatial heat equation, thermal contact resistance, spectral thermalization, temperature-dependent optical constants, and non-radiative heat localization.", + "Passing is internal grid/tolerance, first-law, and provenance evidence; it is not external simulator validation, experimental validation, lifetime prediction, or validation of a real device temperature." + ] + } + ], + "call_chains": [], + "original_scope_limitations": [ + "This lane certifies one fresh-state, protocol-conditioned forward-branch sampled terminal-MPP root; it does not certify voltage-sampling refinement or a continuously optimized MPP.", + "Each temperature restarts the complete transient J-V history, so the lane does not model a joint thermal-ion trajectory, thermal memory, or temperature ramp history.", + "The 800 W/m2 absorbed power, heat-transfer coefficient, emissivity, heat capacity, and series/shunt resistances are synthetic stress inputs, not measured parameters of the nip_MAPbI3 preset.", + "The control volume is lumped and excludes a spatial heat equation, thermal contact resistance, spectral thermalization, temperature-dependent optical constants, and non-radiative heat localization.", + "Passing is internal grid/tolerance, first-law, and provenance evidence; it is not external simulator validation, experimental validation, lifetime prediction, or validation of a real device temperature." + ], + "active_contract": null, + "obligations": [ + { + "id": "new-source-lane-b89615cfbbfe0045", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/lane-b89615cfbbfe0045.json", + "tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "gates": [ + "G0", + "G3", + "G4", + "G9" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-abd1bbcfc7bf310b4b123760", + "rule-17f100c13c2dfadb245fa178", + "rule-35872430c03f1e7d06ed05cc", + "rule-68d962df70b39b223321c655", + "rule-4fcc0104b85adbd577e930e2", + "rule-41036fc47617c52aa44ba7a3", + "rule-889f92abaad51ebbdf892c67", + "rule-97d7c91f466029237635e04f", + "rule-169d84a0ee06aecf4efe8e32", + "rule-59dc59e438d82b654a4a6d2f", + "rule-287205fabcedd3ef6bfe7827", + "rule-e79b75c6ca6252e10226f69d", + "rule-a5daa98dd75150808be55c37", + "rule-55b401b58d5da7fc1ba0fb08", + "rule-9d5e89bf38dc139eed000d2f", + "rule-e34a5f944e4cec71d628b6f4", + "rule-47ad8f8caeb7218528d7b3fd", + "rule-2d5a7b34c831e2ab48ddbdc0", + "rule-f0c95e39a1baba6cfac5cda4", + "rule-89322f046765f7eeefc1322a", + "rule-1fa9f03553be136918c82319", + "rule-87f089481c4f9ed60158e07b", + "rule-58d9df4e100abc4c5a65057d", + "rule-bfa48211ee48b94870ee60ab", + "rule-99b4ce8752d0bf184b462ec2", + "rule-4a6504ff53f27cef4f3d2732" + ], + "comparison_scope_id": "scope-lane-b89615cfbbfe0045" + }, + { + "capability_id": "lane-8ecc1df7d72fa132", + "route_id": "route-fc717d86c09ab83e", + "origin_key": "lane:external-series-shunt-dc-operating-quadrant-v2", + "target": { + "capability_id": "lane-8ecc1df7d72fa132", + "scope_id": "lane:external-series-shunt-dc-operating-quadrant-v2", + "kind": "original_refinement_lane", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_rule_bound_pending_evidence", + "citations": [ + { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/external-series-shunt-dc-operating-quadrant-v2", + "value_sha256": "95e0c7346c48ef60b1fe99f55e66461cf305832a47dcfbe2cdb7050e04be31c3" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "_observable_delta" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "evaluate_numerical_certificate" + } + ], + "original_evidence": [ + { + "kind": "registered_refinement_contract", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/external-series-shunt-dc-operating-quadrant-v2", + "value_sha256": "95e0c7346c48ef60b1fe99f55e66461cf305832a47dcfbe2cdb7050e04be31c3" + }, + "historical_source_sha256": "b808fb2c7e44b282fe5e8a7d55a8f23a12101451104c6c639e2991fec34a2dff", + "scope_limitations": [ + "This resolved lane compares the power-producing terminal quadrant on 21 fixed V_terminal/Voc_terminal coordinates per branch while retaining independent Voc, Jsc, FF, and PCE convergence checks.", + "The v1 full-trace lane remains partial because its deepest 1.2 V junction-bias sample reaches about 17.8 kA/m2 and a 3.55 V series drop; v2 does not claim convergence of that non-operating high-injection tail.", + "The 2e-4 ohm m2 series resistance and 0.2 ohm m2 shunt resistance are synthetic stress inputs and are not fitted or attributed to a measured MAPbI3 device.", + "The mapping remains an algebraic DC postprocess and excludes coupled circuit-device transients, capacitance, inductance, heating, and distributed resistance.", + "Passing is internal grid/tolerance, provenance, and Kirchhoff-balance evidence; it is not external simulator validation, experimental validation, SCAPS parity, or material-parameter validation." + ] + } + ], + "call_chains": [], + "original_scope_limitations": [ + "This resolved lane compares the power-producing terminal quadrant on 21 fixed V_terminal/Voc_terminal coordinates per branch while retaining independent Voc, Jsc, FF, and PCE convergence checks.", + "The v1 full-trace lane remains partial because its deepest 1.2 V junction-bias sample reaches about 17.8 kA/m2 and a 3.55 V series drop; v2 does not claim convergence of that non-operating high-injection tail.", + "The 2e-4 ohm m2 series resistance and 0.2 ohm m2 shunt resistance are synthetic stress inputs and are not fitted or attributed to a measured MAPbI3 device.", + "The mapping remains an algebraic DC postprocess and excludes coupled circuit-device transients, capacitance, inductance, heating, and distributed resistance.", + "Passing is internal grid/tolerance, provenance, and Kirchhoff-balance evidence; it is not external simulator validation, experimental validation, SCAPS parity, or material-parameter validation." + ], + "active_contract": null, + "obligations": [ + { + "id": "new-source-lane-8ecc1df7d72fa132", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/lane-8ecc1df7d72fa132.json", + "tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "gates": [ + "G0", + "G3", + "G4", + "G9" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-c6a501e0ca98cf709fa8cfad", + "rule-4d5651fa5504122cfc3eb710", + "rule-c25420c27b68217d3e75ee94", + "rule-ae9a134b5b8971fb32aec626", + "rule-5ae7f023807924ca2ea18303", + "rule-693f644e1c851138700d02fe", + "rule-b080f6e1128b27998790ff39", + "rule-f0bb28540997e657de72ee87", + "rule-a0c920b5a6acc572657b689b", + "rule-b37b859968e840ccca1a83c6", + "rule-055f2547869884709556fb13", + "rule-937e5655d12a85e9962a1bc2", + "rule-2d619d5419521d113bdcb59e", + "rule-27e6c576c9c34ea7d3bd1c67", + "rule-77fb0ffe91e8b847ed918a3b", + "rule-4c7ee869685c91877ce7cbe4", + "rule-fef2693db3c0bf6498206452", + "rule-4d9a37e0be1b9ee861aa0fc2", + "rule-48b068eb7e343977bee69633", + "rule-c3953e6e0cc345fa9ca0aa60", + "rule-84c56e7423b640325f152ff2" + ], + "comparison_scope_id": "scope-lane-8ecc1df7d72fa132" + }, + { + "capability_id": "lane-c8c8e3698ef7d8d7", + "route_id": "route-fc717d86c09ab83e", + "origin_key": "lane:external-series-shunt-dc-v1", + "target": { + "capability_id": "lane-c8c8e3698ef7d8d7", + "scope_id": "lane:external-series-shunt-dc-v1", + "kind": "original_refinement_lane", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_rule_bound_pending_evidence", + "citations": [ + { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/external-series-shunt-dc-v1", + "value_sha256": "0b78c418e3929b0c1604529ed6bbb14e06f2902d9b9af7be7425343bf15674e3" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "_observable_delta" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "evaluate_numerical_certificate" + } + ], + "original_evidence": [ + { + "kind": "registered_refinement_contract", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/external-series-shunt-dc-v1", + "value_sha256": "0b78c418e3929b0c1604529ed6bbb14e06f2902d9b9af7be7425343bf15674e3" + }, + "historical_source_sha256": "b808fb2c7e44b282fe5e8a7d55a8f23a12101451104c6c639e2991fec34a2dff", + "scope_limitations": [ + "This lane certifies an algebraic area-normalized DC mapping applied to a certified intrinsic transient J-V curve; it does not solve a terminal-voltage-driven circuit-device transient.", + "The 2e-4 ohm m2 series resistance and 0.2 ohm m2 shunt resistance are synthetic stress inputs and are not fitted or attributed to a measured MAPbI3 device.", + "The mapping excludes capacitance, inductance, lead dynamics, distributed sheet resistance, contact heating, and bias-dependent parasitic elements.", + "Passing is internal grid/tolerance, provenance, and Kirchhoff-balance evidence; it is not external simulator validation, experimental validation, SCAPS parity, or material-parameter validation." + ] + } + ], + "call_chains": [], + "original_scope_limitations": [ + "This lane certifies an algebraic area-normalized DC mapping applied to a certified intrinsic transient J-V curve; it does not solve a terminal-voltage-driven circuit-device transient.", + "The 2e-4 ohm m2 series resistance and 0.2 ohm m2 shunt resistance are synthetic stress inputs and are not fitted or attributed to a measured MAPbI3 device.", + "The mapping excludes capacitance, inductance, lead dynamics, distributed sheet resistance, contact heating, and bias-dependent parasitic elements.", + "Passing is internal grid/tolerance, provenance, and Kirchhoff-balance evidence; it is not external simulator validation, experimental validation, SCAPS parity, or material-parameter validation." + ], + "active_contract": null, + "obligations": [ + { + "id": "new-source-lane-c8c8e3698ef7d8d7", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/lane-c8c8e3698ef7d8d7.json", + "tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "gates": [ + "G0", + "G3", + "G4", + "G9" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-ecf9c8996b223f42bb1c52ce", + "rule-0cc25a2513edc2a0b6e6d3ac", + "rule-0e0113905ff3f97875b0c078", + "rule-9730f58cd4dbcc9e7904d816", + "rule-707eb815337a7d693c3ade1d", + "rule-9c402f0619c972aab8877f9b", + "rule-fe5d94d7ef1300f61832dca8", + "rule-3aaa9541b94f4d246f6117c0", + "rule-dcdc76767d440a3455cd0d34", + "rule-7b8c9e1baa93832fb122f1bb", + "rule-f6c2b808f376292a2e927fa9", + "rule-e1ab452ad2fd6b69efa5cb21", + "rule-69fb7a808bb5309d3b60adb5", + "rule-4734e6aae16c3920b26c27a6", + "rule-452b51d42f69de3d88ccb5e3", + "rule-04e49701c40bcbd34a41b613", + "rule-78ff2cbdbdb6ae9996966aa8", + "rule-a517a356dd017694965e1ca1", + "rule-04f72b8d573939e9b4dd85d1", + "rule-48692c91bbf2d3712caa9754", + "rule-f0cef4f61ed4baf8d8243b66" + ], + "comparison_scope_id": "scope-lane-c8c8e3698ef7d8d7" + }, + { + "capability_id": "lane-db3616410333cfd2", + "route_id": "route-fc717d86c09ab83e", + "origin_key": "lane:foundation-physical-homojunction-resolved-v2", + "target": { + "capability_id": "lane-db3616410333cfd2", + "scope_id": "lane:foundation-physical-homojunction-resolved-v2", + "kind": "original_refinement_lane", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_rule_bound_pending_evidence", + "citations": [ + { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/foundation-physical-homojunction-resolved-v2", + "value_sha256": "023298b51ab3b5e5a444588a440420e301122d4bdfda78dd09ba1be0ec3b1d95" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "_observable_delta" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "evaluate_numerical_certificate" + } + ], + "original_evidence": [ + { + "kind": "registered_refinement_contract", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/foundation-physical-homojunction-resolved-v2", + "value_sha256": "023298b51ab3b5e5a444588a440420e301122d4bdfda78dd09ba1be0ec3b1d95" + }, + "historical_source_sha256": "b808fb2c7e44b282fe5e8a7d55a8f23a12101451104c6c639e2991fec34a2dff", + "scope_limitations": [ + "The material input, monochromatic power, current/recombination normalization and every observable/quality limit are identical to the retained partial v1 study.", + "Per-layer tanh grids match the physical cell spacing on both sides of each interface, preserving layer boundaries and the absorber dual-cell measure while resolving abrupt doping and optical boundaries.", + "Carrier profiles use constant-face-flux Scharfetter-Gummel reconstruction; physical quasi-Fermi levels and recombination are evaluated from the reconstructed densities. Extra fixed near-boundary positions are included.", + "The v1 uniform-grid/log-interpolation results remain partial evidence. The v2 requires its own complete spatial/tolerance/voltage matrix and does not inherit certification.", + "This is an ion-free 300 K classical p-i-n numerical reference, not atomic-scale contact physics, material calibration, AM1.5G efficiency, moving-ion or external validation. See docs/FoundationReferenceValidationContractV2.md." + ] + } + ], + "call_chains": [], + "original_scope_limitations": [ + "The material input, monochromatic power, current/recombination normalization and every observable/quality limit are identical to the retained partial v1 study.", + "Per-layer tanh grids match the physical cell spacing on both sides of each interface, preserving layer boundaries and the absorber dual-cell measure while resolving abrupt doping and optical boundaries.", + "Carrier profiles use constant-face-flux Scharfetter-Gummel reconstruction; physical quasi-Fermi levels and recombination are evaluated from the reconstructed densities. Extra fixed near-boundary positions are included.", + "The v1 uniform-grid/log-interpolation results remain partial evidence. The v2 requires its own complete spatial/tolerance/voltage matrix and does not inherit certification.", + "This is an ion-free 300 K classical p-i-n numerical reference, not atomic-scale contact physics, material calibration, AM1.5G efficiency, moving-ion or external validation. See docs/FoundationReferenceValidationContractV2.md." + ], + "active_contract": null, + "obligations": [ + { + "id": "new-source-lane-db3616410333cfd2", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/lane-db3616410333cfd2.json", + "tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "gates": [ + "G0", + "G3", + "G4", + "G9" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-b237ab93ef594c523990b1a9", + "rule-5c1f6af5446c2d1b0571cf42", + "rule-c62b38ed988357199b8e3355", + "rule-62ca2a09770f42e7938c600f", + "rule-5ec2c0c257f1759daa9c8c1b", + "rule-3ce4a6bc8c86e05354f678e1", + "rule-5dcdd52f385c2acc05ff5421", + "rule-065a13580498ee35881d895d", + "rule-22bb3a549555d26c7c1a5d51", + "rule-0704af34cd57abe656b6ac70", + "rule-2176b863964509f7fad1c178", + "rule-39fa5599a76eff93d1509177", + "rule-462a0b7a47aa697807f536cf", + "rule-f0c8506ba46d99338fa3b0bb", + "rule-b1d8ab7c611e7e44cf82aeb7", + "rule-95b606eabf058556d7c6a7f4", + "rule-339426cb03e291c69c5c59e9", + "rule-29c41c1e0c5e976378c54f1b", + "rule-7cbc3aad14b20cac2c522cfc", + "rule-ed21aeb1cb6e18cbac743e1a", + "rule-34a78599f06ebfe9b9f2bd3f", + "rule-54380f8e8a7496a2baa990f2", + "rule-e3258661fd0d597746b1212b", + "rule-8c6a2250fc520a76640ee17c", + "rule-ef4c456bf611bdb7cd8bda36", + "rule-c59636af5a09844d9d41fc02", + "rule-54f571467643d7cff786e011", + "rule-7d1acfab131dc13d9b09fe30", + "rule-3567561cc7dbd09ffe57e58f", + "rule-d28f9408cac1640d7799461f", + "rule-2b9f430bd54bcf60b476a0d3", + "rule-e15bf6440b405f4f416a3cf8", + "rule-9bb0f62b8483c4669379c89c", + "rule-5d94458eaa4aa46deb3f1f9b", + "rule-5287e9dc813b6f16c264bb25", + "rule-46cb2d34f3110dfd6410f935", + "rule-a677bf072a588e714b7b37f8", + "rule-e1fd27d1bc0b5a366dee1d64", + "rule-086341bb7b9978fa46b87db3", + "rule-02c8755e6fce67e26b7ddfb0", + "rule-11b747e74b9a6fcfa05515db", + "rule-e70d38bae00cf4dc4707fe46", + "rule-5d73f05cb0469493ba890ff6", + "rule-6b54202ea5782a70bba4c44d", + "rule-a8e156be9f16c642699de4cd", + "rule-4347da77461f9e6ec35a3281", + "rule-d92eb73f5fe3ea407badc578", + "rule-6ba1ab7608a40c450c127a9a", + "rule-4f27a0e8b5f5d69b5b827e5e", + "rule-5afc8154ebb5b51eacdeb919" + ], + "comparison_scope_id": "scope-lane-db3616410333cfd2" + }, + { + "capability_id": "lane-1bbf89ccef7a7815", + "route_id": "route-fc717d86c09ab83e", + "origin_key": "lane:foundation-physical-homojunction-steady-v1", + "target": { + "capability_id": "lane-1bbf89ccef7a7815", + "scope_id": "lane:foundation-physical-homojunction-steady-v1", + "kind": "original_refinement_lane", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_rule_bound_pending_evidence", + "citations": [ + { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/foundation-physical-homojunction-steady-v1", + "value_sha256": "aeb645561f6205daae3223442b46ff0fd0ecb2e5be1ae24c9dcb99882c848672" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "_observable_delta" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "evaluate_numerical_certificate" + } + ], + "original_evidence": [ + { + "kind": "registered_refinement_contract", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/foundation-physical-homojunction-steady-v1", + "value_sha256": "aeb645561f6205daae3223442b46ff0fd0ecb2e5be1ae24c9dcb99882c848672" + }, + "historical_source_sha256": "b808fb2c7e44b282fe5e8a7d55a8f23a12101451104c6c639e2991fec34a2dff", + "scope_limitations": [ + "One synthetic 300 K Boltzmann p-i-n homojunction with SRH recombination and declared 2 eV monochromatic optical power; no material fitting or AM1.5G efficiency is claimed.", + "Uniform spacing preserves physical layer boundaries. Spatial, nonlinear/Poisson tolerance and nested voltage sampling are independent axes.", + "The fixed current and recombination scales are q*Phi and Phi/L. The positive photovoltaic current is compared at fixed voltages; complete signed curves and all operating-state profiles are retained.", + "This steady-state certificate excludes moving ions, interface barriers, optical emission balance and external validation. Dynamic and two-dimensional foundation checks are separate." + ] + } + ], + "call_chains": [], + "original_scope_limitations": [ + "One synthetic 300 K Boltzmann p-i-n homojunction with SRH recombination and declared 2 eV monochromatic optical power; no material fitting or AM1.5G efficiency is claimed.", + "Uniform spacing preserves physical layer boundaries. Spatial, nonlinear/Poisson tolerance and nested voltage sampling are independent axes.", + "The fixed current and recombination scales are q*Phi and Phi/L. The positive photovoltaic current is compared at fixed voltages; complete signed curves and all operating-state profiles are retained.", + "This steady-state certificate excludes moving ions, interface barriers, optical emission balance and external validation. Dynamic and two-dimensional foundation checks are separate." + ], + "active_contract": null, + "obligations": [ + { + "id": "new-source-lane-1bbf89ccef7a7815", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/lane-1bbf89ccef7a7815.json", + "tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "gates": [ + "G0", + "G3", + "G4", + "G9" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-b380981d738dd79405c6c319", + "rule-c65af9bd7ee9c9091a77ca47", + "rule-6a719f045554a97edfb8f03f", + "rule-e5ab068abc5a51738adce174", + "rule-4cbc3bcf5b379cbd0a588856", + "rule-1e2b48965ec3d624e02ff24b", + "rule-d3003ff96a8038d4f0bf7991", + "rule-04e865afce5f195b826132a6", + "rule-bb54a91a50dd294f20180db4", + "rule-a38da32261dda170c629d58b", + "rule-12c4f8b572d417a1b3fc835e", + "rule-12977b916fe073e4f4a17761", + "rule-3990a6f874510e8849affa03", + "rule-f04918aa84982042646a1be2", + "rule-128414ebcf1c6576e60161d7", + "rule-4762cd17ddf65884a784f385", + "rule-832e3ffa5bdcf5d9bdbd7e30", + "rule-498360bd8f0f0def82994f14", + "rule-96325eae22cac7ab5a00e883", + "rule-8b0b7ef6b4fd8519d38a762c", + "rule-f3aa9036a79edec3395b5251", + "rule-3c06603beb17986af49f3a4f", + "rule-9ec2c5bd0f5f74d365be8a1b", + "rule-0dfc3f241669d32fe19757d3", + "rule-35af8ca89f4c3620ea2eea82", + "rule-b3d4abd41416017863dde205", + "rule-73fa3c12e938df05801a8c3c", + "rule-9613109192ebdd775e9bf6c8", + "rule-8fa8bd09a2269715b15ffcc2", + "rule-56ed498870085812076c1c1f", + "rule-238fd7618c83cf6843c013a0", + "rule-1d6eec78c76bb4f35645eb85", + "rule-e87c56b14bfd6a9c79907ace", + "rule-491641188a42199aaf203f69", + "rule-458755d0b2d33e4739ee5003", + "rule-f101d98d649ba16e519d9dc2", + "rule-f7fc430b0476fe5eb15bf63a", + "rule-59d881aae4e50fafcaa37b31", + "rule-170124f154bd8fe72574b4b4", + "rule-191ccb67cb5091a9e6cfa270", + "rule-ff1f989aefe1dfc5179e2bae", + "rule-f68be4a2651567ae6a72ce89", + "rule-d39aa2af8cae6f35df7ca40e", + "rule-4740b522b7dec04aff0b1dde", + "rule-d9372ad060fd952df7b776ba", + "rule-04989810933b9c5c3407d56d", + "rule-b143a5e003a15468c53bc660", + "rule-2011718624321daf9b70dce8", + "rule-ee82add0bcf07d507886598e", + "rule-44a888741a2d03ce19c0d408" + ], + "comparison_scope_id": "scope-lane-1bbf89ccef7a7815" + }, + { + "capability_id": "lane-42bf2b940134e62c", + "route_id": "route-fc717d86c09ab83e", + "origin_key": "lane:incomplete-ionization-bgn-temperature-equilibrium-v1", + "target": { + "capability_id": "lane-42bf2b940134e62c", + "scope_id": "lane:incomplete-ionization-bgn-temperature-equilibrium-v1", + "kind": "original_refinement_lane", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_rule_bound_pending_evidence", + "citations": [ + { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/incomplete-ionization-bgn-temperature-equilibrium-v1", + "value_sha256": "3560ba66e1cebfd67a79425f787a8ed1a10a2afa3ff83eb1330b3f0bead1ce95" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "_observable_delta" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "evaluate_numerical_certificate" + } + ], + "original_evidence": [ + { + "kind": "registered_refinement_contract", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/incomplete-ionization-bgn-temperature-equilibrium-v1", + "value_sha256": "3560ba66e1cebfd67a79425f787a8ed1a10a2afa3ff83eb1330b3f0bead1ce95" + }, + "historical_source_sha256": "b808fb2c7e44b282fe5e8a7d55a8f23a12101451104c6c639e2991fec34a2dff", + "scope_limitations": [ + "This lane certifies only a dark homogeneous silicon p/n equilibrium combining independent discrete donor/acceptor levels with the frozen Slotboom chemical-doping band-gap-narrowing law over 100-300 K.", + "The model excludes impurity bands, the Mott transition, alternate BGN parameterizations, dopant capture kinetics, bulk recombination, illumination, bias, heterojunctions, ions, selective contacts, and production experiment routes.", + "The temperature and refinement curves are internal numerical evidence, not Sentaurus or PC1D validation, experimental validation, or a production device certificate." + ] + } + ], + "call_chains": [], + "original_scope_limitations": [ + "This lane certifies only a dark homogeneous silicon p/n equilibrium combining independent discrete donor/acceptor levels with the frozen Slotboom chemical-doping band-gap-narrowing law over 100-300 K.", + "The model excludes impurity bands, the Mott transition, alternate BGN parameterizations, dopant capture kinetics, bulk recombination, illumination, bias, heterojunctions, ions, selective contacts, and production experiment routes.", + "The temperature and refinement curves are internal numerical evidence, not Sentaurus or PC1D validation, experimental validation, or a production device certificate." + ], + "active_contract": null, + "obligations": [ + { + "id": "new-source-lane-42bf2b940134e62c", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/lane-42bf2b940134e62c.json", + "tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "gates": [ + "G0", + "G3", + "G4", + "G9" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-bb34b7c2ff63a4e6c1d42261", + "rule-292ed9222b34f2019f5c3035", + "rule-943372475a4e130e604fb81b", + "rule-bfa2c345692d37716b5036ea", + "rule-e499bd98985561efc61385ce", + "rule-055a0eaf849fe00b766d78cf", + "rule-ac60376ee96a00f9c99b2d6b", + "rule-f37e14ac46bbc6ff17ab775e", + "rule-a1d9c5b364d6a22b5582c9f3", + "rule-bf68ee1071c764fab30a2cf3", + "rule-78adbcd862529d2f467540f6", + "rule-bd04b01aa17a856cdd354e1e", + "rule-c56367c13122d7665c845bdf", + "rule-7a0d9306156f4b2796a03ef8", + "rule-aa5af25e66655979281bcadc", + "rule-db18b033bc9ddb23bc289c10", + "rule-9388b57f0c0349c0cd70d35f", + "rule-b4e7dd7a370ac3ae1c6c597c", + "rule-0919e71000637fe9957ba59f", + "rule-5367e5131ede5d9e782343aa", + "rule-f38b9291805362fb431405ca" + ], + "comparison_scope_id": "scope-lane-42bf2b940134e62c" + }, + { + "capability_id": "lane-b0877f36f5bf04e5", + "route_id": "route-fc717d86c09ab83e", + "origin_key": "lane:incomplete-ionization-temperature-equilibrium-v1", + "target": { + "capability_id": "lane-b0877f36f5bf04e5", + "scope_id": "lane:incomplete-ionization-temperature-equilibrium-v1", + "kind": "original_refinement_lane", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_rule_bound_pending_evidence", + "citations": [ + { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/incomplete-ionization-temperature-equilibrium-v1", + "value_sha256": "4f9a4c75beca7a50fc973a0c66a4040ce19d49019b6e6e909b20ab27eb9d8040" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "_observable_delta" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "evaluate_numerical_certificate" + } + ], + "original_evidence": [ + { + "kind": "registered_refinement_contract", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/incomplete-ionization-temperature-equilibrium-v1", + "value_sha256": "4f9a4c75beca7a50fc973a0c66a4040ce19d49019b6e6e909b20ab27eb9d8040" + }, + "historical_source_sha256": "b808fb2c7e44b282fe5e8a7d55a8f23a12101451104c6c639e2991fec34a2dff", + "scope_limitations": [ + "This lane certifies only a dark homogeneous silicon p/n equilibrium with independent discrete donor and acceptor levels over the frozen 100-300 K scan.", + "The model excludes impurity-band formation, the Mott transition, band-gap narrowing, dopant capture kinetics, recombination, illumination, bias, heterojunctions, ions, selective contacts, and production experiment routes.", + "Low-temperature depletion charge is state dependent, so the fully-ionized abrupt depletion formula is not used as a quality oracle. This is internal numerical evidence, not Sentaurus or PC1D validation or experimental validation." + ] + } + ], + "call_chains": [], + "original_scope_limitations": [ + "This lane certifies only a dark homogeneous silicon p/n equilibrium with independent discrete donor and acceptor levels over the frozen 100-300 K scan.", + "The model excludes impurity-band formation, the Mott transition, band-gap narrowing, dopant capture kinetics, recombination, illumination, bias, heterojunctions, ions, selective contacts, and production experiment routes.", + "Low-temperature depletion charge is state dependent, so the fully-ionized abrupt depletion formula is not used as a quality oracle. This is internal numerical evidence, not Sentaurus or PC1D validation or experimental validation." + ], + "active_contract": null, + "obligations": [ + { + "id": "new-source-lane-b0877f36f5bf04e5", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/lane-b0877f36f5bf04e5.json", + "tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "gates": [ + "G0", + "G3", + "G4", + "G9" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-26210e984f2cd81eb2d38b72", + "rule-722f8831b5f82f8f72d68b1d", + "rule-4733c8d207e9b0511319f76c", + "rule-65ffc6a1efd595a5b8cbf66d", + "rule-4294cccc1d5cc596b4d72ef0", + "rule-9b25f1d9a10da126d954e2c4", + "rule-8f530891eb0ef2b3578c6684", + "rule-9db939028491b4b283b3e63e", + "rule-fad81ef58a23c67791265c1e", + "rule-2de1c9dc8a604dbf2cbf7d98", + "rule-fc28af7dafbb40eb8fb565b9", + "rule-5cc009d5c7d6427d98e511e8", + "rule-0ae96bb5969f113225d79aca", + "rule-2b064348486e46fa92da190c", + "rule-89bba4b93ae56f0c46731f89", + "rule-b416b5ceb6f98d6d0328aece", + "rule-1e14d25eac5dba2682f938a0" + ], + "comparison_scope_id": "scope-lane-b0877f36f5bf04e5" + }, + { + "capability_id": "lane-f3d0d1307884e5e8", + "route_id": "route-fc717d86c09ab83e", + "origin_key": "lane:interface-charge-device-stress-resolved-v2", + "target": { + "capability_id": "lane-f3d0d1307884e5e8", + "scope_id": "lane:interface-charge-device-stress-resolved-v2", + "kind": "original_refinement_lane", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_rule_bound_pending_evidence", + "citations": [ + { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-device-stress-resolved-v2", + "value_sha256": "e6eb0d5ef6ce32378f32c9de51ef9516bb6a1850d094ea096ab213caa24410bb" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "_observable_delta" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "evaluate_numerical_certificate" + } + ], + "original_evidence": [ + { + "kind": "registered_refinement_contract", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-device-stress-resolved-v2", + "value_sha256": "e6eb0d5ef6ce32378f32c9de51ef9516bb6a1850d094ea096ab213caa24410bb" + }, + "historical_source_sha256": "b808fb2c7e44b282fe5e8a7d55a8f23a12101451104c6c639e2991fec34a2dff", + "scope_limitations": [ + "This resolved companion retains every v1 stress point and acceptance gate while adding N90 as the terminal grid.", + "The finite-difference Jacobian probe is fixed at 7e-6 across tolerance factors; residual and Poisson tolerances remain refined by the matrix factor.", + "The v1 N30/N60 matrix is partial because the Nd=2e15 illuminated sheet charge changes by 1.4735 percent; it is not overwritten by this lane.", + "N120 at tolerance factor 0.5 fails closed for the Nd=2e15 dark-bias target and remains outside the supported solver basin.", + "This one-factor-at-a-time stress matrix does not establish interaction effects between Et, CBO, Nd, and Nt.", + "Charge-barrier sign consistency is an internal electrostatic law check, not an experimental trend validation.", + "The lane remains limited to the purpose-built two-layer stack and equilibrium-referenced incremental charge.", + "Transient, impedance, 2-D, production experiment routes, absolute trap charge, and whole-device neutrality remain out of scope." + ] + } + ], + "call_chains": [], + "original_scope_limitations": [ + "This resolved companion retains every v1 stress point and acceptance gate while adding N90 as the terminal grid.", + "The finite-difference Jacobian probe is fixed at 7e-6 across tolerance factors; residual and Poisson tolerances remain refined by the matrix factor.", + "The v1 N30/N60 matrix is partial because the Nd=2e15 illuminated sheet charge changes by 1.4735 percent; it is not overwritten by this lane.", + "N120 at tolerance factor 0.5 fails closed for the Nd=2e15 dark-bias target and remains outside the supported solver basin.", + "This one-factor-at-a-time stress matrix does not establish interaction effects between Et, CBO, Nd, and Nt.", + "Charge-barrier sign consistency is an internal electrostatic law check, not an experimental trend validation.", + "The lane remains limited to the purpose-built two-layer stack and equilibrium-referenced incremental charge.", + "Transient, impedance, 2-D, production experiment routes, absolute trap charge, and whole-device neutrality remain out of scope." + ], + "active_contract": null, + "obligations": [ + { + "id": "new-source-lane-f3d0d1307884e5e8", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/lane-f3d0d1307884e5e8.json", + "tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "gates": [ + "G0", + "G3", + "G4", + "G9" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-7d7062045f5db3ddcdde1ec4", + "rule-d80d630e75e55952ccd0fc18", + "rule-fefc354c65b86c41121846e0", + "rule-449a36c74b21a2dc3d37d355", + "rule-f8790f2041c83ad309a595a4", + "rule-fa6fee4d30b6d465bff9c6a9", + "rule-7664bb937916ddbb8fb97210", + "rule-82ca5065fa42d43f46a0e31f", + "rule-5335d771c411a2d42a850908", + "rule-a93396d176c2680755348840", + "rule-f2149d8c415225baf0d2a359", + "rule-cbda6c3678dc399bc2322b8a", + "rule-be4a60e6910440e27de842c4", + "rule-f631613dde22e726c5c46ef2", + "rule-597565c087a9a715418dd121", + "rule-0d10677fb4b9463eac0cf670", + "rule-2c07110fe4ebc07cc7cfef15", + "rule-f8a577275449db9fd649fa61", + "rule-5fee7ddc4d99e5684cd902e6", + "rule-98099010a010af01b0c95b65", + "rule-82e12d69b8a5e4f01e4a6338", + "rule-1d7ef7eef711d81c63b8d9b1", + "rule-12a789e57c1b7a6aeae013be", + "rule-2f887ce99ed0fff15bee44af", + "rule-71faf84963a27cdc2dac0820", + "rule-30d3ba13de3a025a23abdb1f", + "rule-3ed9525bf67c68408981c1ed", + "rule-eb16ea3d60b0075d78e354d0", + "rule-aeef34a5bff26c90ee6ac7cc", + "rule-14c60819503e2cd9529d551c", + "rule-75b10581e969f78810a9e45c", + "rule-7f0a5978207fdb98d239d39b", + "rule-5e66064040c6b12d3d6e3c9b" + ], + "comparison_scope_id": "scope-lane-f3d0d1307884e5e8" + }, + { + "capability_id": "lane-e95ec3a450b16504", + "route_id": "route-fc717d86c09ab83e", + "origin_key": "lane:interface-charge-device-stress-v1", + "target": { + "capability_id": "lane-e95ec3a450b16504", + "scope_id": "lane:interface-charge-device-stress-v1", + "kind": "original_refinement_lane", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_rule_bound_pending_evidence", + "citations": [ + { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-device-stress-v1", + "value_sha256": "557543ab1d96c27e8cd883296423e9c243130f2a44bc4f1bb76d40f9ed693559" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "_observable_delta" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "evaluate_numerical_certificate" + } + ], + "original_evidence": [ + { + "kind": "registered_refinement_contract", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-device-stress-v1", + "value_sha256": "557543ab1d96c27e8cd883296423e9c243130f2a44bc4f1bb76d40f9ed693559" + }, + "historical_source_sha256": "b808fb2c7e44b282fe5e8a7d55a8f23a12101451104c6c639e2991fec34a2dff", + "scope_limitations": [ + "This one-factor-at-a-time stress matrix does not establish interaction effects between Et, CBO, Nd, and Nt.", + "Charge-barrier sign consistency is an internal electrostatic law check, not an experimental trend validation.", + "The lane remains limited to the purpose-built two-layer stack and equilibrium-referenced incremental charge.", + "Transient, impedance, 2-D, production experiment routes, absolute trap charge, and whole-device neutrality remain out of scope.", + "Executor v2 binds every stress variant to an uncalibrated canonical microscopic v1 document; prior certificates are inherited evidence only." + ] + } + ], + "call_chains": [], + "original_scope_limitations": [ + "This one-factor-at-a-time stress matrix does not establish interaction effects between Et, CBO, Nd, and Nt.", + "Charge-barrier sign consistency is an internal electrostatic law check, not an experimental trend validation.", + "The lane remains limited to the purpose-built two-layer stack and equilibrium-referenced incremental charge.", + "Transient, impedance, 2-D, production experiment routes, absolute trap charge, and whole-device neutrality remain out of scope.", + "Executor v2 binds every stress variant to an uncalibrated canonical microscopic v1 document; prior certificates are inherited evidence only." + ], + "active_contract": null, + "obligations": [ + { + "id": "new-source-lane-e95ec3a450b16504", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/lane-e95ec3a450b16504.json", + "tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "gates": [ + "G0", + "G3", + "G4", + "G9" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-83902bd0c38b52c4294c2f56", + "rule-608de085722fd784672cbaf1", + "rule-e9657b85d9e8acf43bf894f4", + "rule-e55921ddfc33ffaaec6ff51a", + "rule-f67f643a44df6aa33157a3e5", + "rule-d42545c5fa452db8947e7910", + "rule-3e0bd05419f066da4e366e82", + "rule-7a8de8e756818ea5bb0e0b07", + "rule-a63569adb70bfd7ee29dbfd7", + "rule-9dbb9b93157c4c2aaa59b11a", + "rule-926f0e7b3a9ab41d2b517f82", + "rule-fe47f5790cf85ab23570cd9b", + "rule-49e52b4318fd9984de954d12", + "rule-5f82befe524049d3bcb361c1", + "rule-c893d4626f958892285fe3ff", + "rule-865c8b28f7433aa1c23a02ac", + "rule-4c774a77fb761fd6654f7776", + "rule-a2f3826670b06075d543d7ff", + "rule-f5fa947912b6e32df04a864d", + "rule-9a4b453eadf270b4891e43f2", + "rule-2fd0e878a240caf7b1aa6a04", + "rule-d3af577f9ce54a6dbb29d49b", + "rule-5b9604cf515f66ca2f52f9a0", + "rule-a1b14dea8aaa9eaf9281d2d0", + "rule-c590e318f07e795637d82fc1", + "rule-0590eb4a48a27f551f757233", + "rule-27fcabe19e66e6d0f0e4b8df", + "rule-a7a26df87b0fe58e36b2d621", + "rule-b434fde68279c817b3fee46f", + "rule-3bde4ad400943d129fd8a34a", + "rule-ffba42f17d69f21be5ba26ee", + "rule-42c6a8c7a592d8f5d1068e3f", + "rule-5866e5b61eb2ab5e672750c8" + ], + "comparison_scope_id": "scope-lane-e95ec3a450b16504" + }, + { + "capability_id": "lane-5da5b7d376d6e06e", + "route_id": "route-1af17bb46d9794d0", + "origin_key": "lane:interface-charge-equilibrium-referenced-v1", + "target": { + "capability_id": "lane-5da5b7d376d6e06e", + "scope_id": "lane:interface-charge-equilibrium-referenced-v1", + "kind": "original_refinement_lane", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_rule_bound_pending_evidence", + "citations": [ + { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-equilibrium-referenced-v1", + "value_sha256": "51e23833c162a90a0205142e515f58970268079ed83c3efcb12a0533ddbe3272" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "_observable_delta" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "evaluate_numerical_certificate" + } + ], + "original_evidence": [ + { + "kind": "registered_refinement_contract", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-equilibrium-referenced-v1", + "value_sha256": "51e23833c162a90a0205142e515f58970268079ed83c3efcb12a0533ddbe3272" + }, + "historical_source_sha256": "b808fb2c7e44b282fe5e8a7d55a8f23a12101451104c6c639e2991fec34a2dff", + "scope_limitations": [ + "This lane certifies equilibrium-referenced incremental charge, not absolute trap charge, fixed countercharge, or whole-device neutrality.", + "The purpose-built two-layer stack is an internal numerical reference and makes no SCAPS or experimental-validation claim.", + "Only the QF steady-state research API is in scope; transient, impedance, 2-D, and production experiment routes remain parked.", + "Executor v2 requires one uncalibrated canonical microscopic v1 document per interface and exact sigma*v_th*N_t identity with the compatibility SRV; v1 certificates predate this contract." + ] + } + ], + "call_chains": [], + "original_scope_limitations": [ + "This lane certifies equilibrium-referenced incremental charge, not absolute trap charge, fixed countercharge, or whole-device neutrality.", + "The purpose-built two-layer stack is an internal numerical reference and makes no SCAPS or experimental-validation claim.", + "Only the QF steady-state research API is in scope; transient, impedance, 2-D, and production experiment routes remain parked.", + "Executor v2 requires one uncalibrated canonical microscopic v1 document per interface and exact sigma*v_th*N_t identity with the compatibility SRV; v1 certificates predate this contract." + ], + "active_contract": null, + "obligations": [ + { + "id": "new-source-lane-5da5b7d376d6e06e", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/lane-5da5b7d376d6e06e.json", + "tasks": [ + "P00-03", + "P03-06", + "P04-05", + "P04-06", + "P09-01" + ], + "gates": [ + "G0", + "G3", + "G4", + "G9" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-29f3a0adc5aa249aa06ce81d", + "rule-4abf37736c8aad966ec389b5", + "rule-0231e8ed993044cf0c4e9efa", + "rule-473ddb37bd88f40b8845c4eb", + "rule-3c735b654a31dc58fb152131", + "rule-8b995390ab94c0478d3ce7de", + "rule-dac5290dc65766aa8bf6f78a", + "rule-bc8e0b46daffccc8f0073586", + "rule-7b69e655dd51234f83cec2fd", + "rule-e9ed5b140c1bddf5a75e1752", + "rule-50cfb9c2537fe74f0730258b", + "rule-f4abdbe7a2df0a237f810880", + "rule-202769c65d027c59826c6b0f", + "rule-fc69698c2eff09892d26075b", + "rule-5cfe4581bd39e98f9917a297", + "rule-ee0693544f753bc9216185ee", + "rule-811ffa90449274afda59343b", + "rule-ddc4f95378e141cd77602d97", + "rule-c436b10876db2f6b581cde2b", + "rule-7aa41a218e0022eb6c2cd232", + "rule-bea553c783d4d2188a3bd38e", + "rule-2ae40ffe80d743d4f199cb7f", + "rule-a89ef2d344faf51ec26d3101", + "rule-f8c4c087f75ea876c95cd7b3", + "rule-3841048ff23c4704dcc08f90", + "rule-23cbb026c91f691f392a38fb", + "rule-029fb5011a1f0ad278706f31" + ], + "comparison_scope_id": "scope-lane-5da5b7d376d6e06e" + }, + { + "capability_id": "lane-54128f5212664526", + "route_id": "route-1af17bb46d9794d0", + "origin_key": "lane:interface-charge-qf-dc-jv-v1", + "target": { + "capability_id": "lane-54128f5212664526", + "scope_id": "lane:interface-charge-qf-dc-jv-v1", + "kind": "original_refinement_lane", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_rule_bound_pending_evidence", + "citations": [ + { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-qf-dc-jv-v1", + "value_sha256": "d06eaa8ffa242cfd8230994255e7696bd2b48408111bc3b42560e38efedf8f2a" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "_observable_delta" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "evaluate_numerical_certificate" + } + ], + "original_evidence": [ + { + "kind": "registered_refinement_contract", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-qf-dc-jv-v1", + "value_sha256": "d06eaa8ffa242cfd8230994255e7696bd2b48408111bc3b42560e38efedf8f2a" + }, + "historical_source_sha256": "b808fb2c7e44b282fe5e8a7d55a8f23a12101451104c6c639e2991fec34a2dff", + "scope_limitations": [ + "This lane recertifies the exact illuminated, ion-free, zero-scan-rate QF/DC J-V path admitted by the public charged-interface API.", + "It certifies the frozen 0.0 to 0.1 V five-point protocol on an uncalibrated synthetic two-layer reference; it does not establish device performance, SCAPS parity, external-solver validity, or experimental validity.", + "The charge law is equilibrium-referenced incremental sheet charge, not absolute trap charge, fixed countercharge, or whole-device neutrality.", + "Transient hysteresis, mobile ions, explicit bulk-defect composition, impedance, 2-D, degradation, external circuits, and electrothermal coupling remain outside this lane." + ] + } + ], + "call_chains": [], + "original_scope_limitations": [ + "This lane recertifies the exact illuminated, ion-free, zero-scan-rate QF/DC J-V path admitted by the public charged-interface API.", + "It certifies the frozen 0.0 to 0.1 V five-point protocol on an uncalibrated synthetic two-layer reference; it does not establish device performance, SCAPS parity, external-solver validity, or experimental validity.", + "The charge law is equilibrium-referenced incremental sheet charge, not absolute trap charge, fixed countercharge, or whole-device neutrality.", + "Transient hysteresis, mobile ions, explicit bulk-defect composition, impedance, 2-D, degradation, external circuits, and electrothermal coupling remain outside this lane." + ], + "active_contract": null, + "obligations": [ + { + "id": "new-source-lane-54128f5212664526", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/lane-54128f5212664526.json", + "tasks": [ + "P00-03", + "P03-06", + "P04-05", + "P04-06", + "P09-01" + ], + "gates": [ + "G0", + "G3", + "G4", + "G9" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-79f549f5c6d860853a4bf841", + "rule-f42b9394acb1f33fe50cda17", + "rule-be78d0bff677e97c9a5565aa", + "rule-e98a868fcfb8b5c959dc3ea9", + "rule-c64b520188b8f38ae7cf0275", + "rule-1c077b41fc38472b069df4e0", + "rule-62ab9533599cc4ba79eec8fe", + "rule-120f2c1a7ed66fac6408b6cd", + "rule-d679efb0947f07c030881164", + "rule-1cdf3e993e3740c7ed8cf9a9", + "rule-d2138f84007ca9044babf2f2", + "rule-394926808d7692550b066132", + "rule-2a5ed4e57cf5a4ee66e1f85d", + "rule-3591373baa59ff845eac0b2b", + "rule-70ecd1e12e2db5a9098d5537", + "rule-4828dee365cb5c186434c26d", + "rule-c370c6c1bcb45dc1b5ae7da6", + "rule-888629bc65d0ebcb563d0aa0", + "rule-7f81e8ea40e54d69c88b550e", + "rule-5058023d5e7b64f69b4b439e", + "rule-dfee95fa15d54506742fc929", + "rule-e2590d4410a79552d08843e5", + "rule-d93aa96114767d953f94aad3", + "rule-c2575b249229838e6f1b17d6", + "rule-2c963cba7ee09240ee0a5232", + "rule-e29d4aacd84baf190a9e12e8", + "rule-b27d14bbe8111bb9aed241b9", + "rule-533fbeb98ebafb0dfbeb5d3b", + "rule-9f66bff8a93b5b1fa3439cd2", + "rule-5badf2f7eb6e1043fc3951d5", + "rule-9c921563ced57d5684118f79", + "rule-c98f7a4db624726ac35e4d47", + "rule-c24b966773168c4fd74f3d88", + "rule-8ca7a6ffb1c2cc140df3696d", + "rule-789516d6d506a33046279508", + "rule-e7a0c25d5a74f220df3e76a0", + "rule-c3c27d58c0ad96f4ac51fc39", + "rule-204a0d20ebd6d1136a82028d" + ], + "comparison_scope_id": "scope-lane-54128f5212664526" + }, + { + "capability_id": "lane-ee113ad477b8697e", + "route_id": "route-1af17bb46d9794d0", + "origin_key": "lane:interface-recombination-charge-off", + "target": { + "capability_id": "lane-ee113ad477b8697e", + "scope_id": "lane:interface-recombination-charge-off", + "kind": "original_refinement_lane", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_rule_bound_pending_evidence", + "citations": [ + { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-recombination-charge-off", + "value_sha256": "b9e56bc9253852b76a05e249cede349500ac2c5ae64b44add013a7ad1f5f709c" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "_observable_delta" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "evaluate_numerical_certificate" + } + ], + "original_evidence": [ + { + "kind": "registered_refinement_contract", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-recombination-charge-off", + "value_sha256": "b9e56bc9253852b76a05e249cede349500ac2c5ae64b44add013a7ad1f5f709c" + }, + "historical_source_sha256": "b808fb2c7e44b282fe5e8a7d55a8f23a12101451104c6c639e2991fec34a2dff", + "scope_limitations": [ + "Interface electrostatic trap charge remains parked and must stay disabled in this lane.", + "This uncalibrated reference deliberately makes no SCAPS-parity claim.", + "The two-sided trace lane certifies recombination flux convergence only; it makes no charged Gauss-jump claim." + ] + } + ], + "call_chains": [], + "original_scope_limitations": [ + "Interface electrostatic trap charge remains parked and must stay disabled in this lane.", + "This uncalibrated reference deliberately makes no SCAPS-parity claim.", + "The two-sided trace lane certifies recombination flux convergence only; it makes no charged Gauss-jump claim." + ], + "active_contract": null, + "obligations": [ + { + "id": "new-source-lane-ee113ad477b8697e", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/lane-ee113ad477b8697e.json", + "tasks": [ + "P00-03", + "P03-06", + "P04-05", + "P04-06", + "P09-01" + ], + "gates": [ + "G0", + "G3", + "G4", + "G9" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-9d22e74f3615d54be4f1cb60", + "rule-3cb4698459592bf930f425ba", + "rule-46f582458d6fa70c43774f57", + "rule-70b4fa3f95842554c026dfe2", + "rule-1174d1ca661565553d0ec988", + "rule-49690e1a26d0bbe9091228da", + "rule-969e5cfb9a184858ef8fa382", + "rule-5d4aa048bb679d97aa8e8fb2", + "rule-5bbb867708ccbc84bb582962", + "rule-119f213f4cf2ed748bc3f437", + "rule-3cb616d7907f718bd91f19b4", + "rule-a9d2a611b26d305c57d68fd2", + "rule-1c36a294bf08155dceac8afe", + "rule-13ed64b41a8e61480012cebc", + "rule-72bc517758964e81bd79f8b8", + "rule-518285ce50ecda5ad00e8ae8", + "rule-a589724931a1792601cb3adb", + "rule-519f54a9e5479f63e6df88ce", + "rule-c76e415499e0b9ef1aa5801c" + ], + "comparison_scope_id": "scope-lane-ee113ad477b8697e" + }, + { + "capability_id": "lane-84ef85f524daf74b", + "route_id": "route-fc717d86c09ab83e", + "origin_key": "lane:interface-srh-identifiability-synthetic-v1", + "target": { + "capability_id": "lane-84ef85f524daf74b", + "scope_id": "lane:interface-srh-identifiability-synthetic-v1", + "kind": "original_refinement_lane", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_rule_bound_pending_evidence", + "citations": [ + { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-srh-identifiability-synthetic-v1", + "value_sha256": "6c9a2c099044335a5cef63e67b0e14580c69aac01515b8e018ac0df5b2192373" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "_observable_delta" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "evaluate_numerical_certificate" + } + ], + "original_evidence": [ + { + "kind": "registered_refinement_contract", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-srh-identifiability-synthetic-v1", + "value_sha256": "6c9a2c099044335a5cef63e67b0e14580c69aac01515b8e018ac0df5b2192373" + }, + "historical_source_sha256": "b808fb2c7e44b282fe5e8a7d55a8f23a12101451104c6c639e2991fec34a2dff", + "scope_limitations": [ + "This lane certifies only a deterministic, noise-free synthetic formula-local interface-SRH inverse problem; it does not solve a device J-V, TPV, impedance, ion, or electrostatic operating point.", + "The equilibrium-referenced sheet-charge observable is a research closure, not a production absolute interface-defect charge model, and the source YAML values are formula inputs rather than measured or material-truth claims.", + "The rank-deficient scenario must withhold a parameter claim for the exact capture-scale/calibration-factor product degeneracy; the full-rank recovery scenario fixes capture scale and estimates only trap density and calibration factor.", + "InterfaceDefect, het_recomb_despike, mobile ions, measured data, external solver validation, experimental validation, Bayesian inference, and uncertainty quantification remain excluded." + ] + } + ], + "call_chains": [], + "original_scope_limitations": [ + "This lane certifies only a deterministic, noise-free synthetic formula-local interface-SRH inverse problem; it does not solve a device J-V, TPV, impedance, ion, or electrostatic operating point.", + "The equilibrium-referenced sheet-charge observable is a research closure, not a production absolute interface-defect charge model, and the source YAML values are formula inputs rather than measured or material-truth claims.", + "The rank-deficient scenario must withhold a parameter claim for the exact capture-scale/calibration-factor product degeneracy; the full-rank recovery scenario fixes capture scale and estimates only trap density and calibration factor.", + "InterfaceDefect, het_recomb_despike, mobile ions, measured data, external solver validation, experimental validation, Bayesian inference, and uncertainty quantification remain excluded." + ], + "active_contract": null, + "obligations": [ + { + "id": "new-source-lane-84ef85f524daf74b", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/lane-84ef85f524daf74b.json", + "tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "gates": [ + "G0", + "G3", + "G4", + "G9" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-50d86dbbcfec8eaf0cdd8f96", + "rule-9df1e5a91d203bda283d8fe9", + "rule-3c22bc1a74324444f4d273e5", + "rule-fb1a2264b308f4a3ae84b7a3", + "rule-4a42e1e5e4315000dd4637ad", + "rule-4527a7a66012264164e2749e", + "rule-f58e4d7f3b14173936d0b1c3", + "rule-e1ffee2b487b2a4160a4485e", + "rule-4bf2492119d4f45eb1fc99a9", + "rule-c24af512596392315dce6a58", + "rule-1f0cd1e70f70788803cb56b5", + "rule-9aabc93dcbeb3c1659d674d5", + "rule-8eb562314a189d557601279e", + "rule-dbe92b55a1f949046023cf40", + "rule-b644666d45680e1b235ec97e", + "rule-4cdfd4ebbc827f74cc1de12f", + "rule-c626d613bee1ffcf223074eb", + "rule-8e040805cf480f60fd7a6048", + "rule-4ba2e701837dc876ec95f527", + "rule-05952dc96c0b172ae33102df", + "rule-4515053eb8faf0850594e0aa" + ], + "comparison_scope_id": "scope-lane-84ef85f524daf74b" + }, + { + "capability_id": "lane-c5f63593f6609839", + "route_id": "route-1af17bb46d9794d0", + "origin_key": "lane:ionmonger-ion-aware-dc-resolved-v2", + "target": { + "capability_id": "lane-c5f63593f6609839", + "scope_id": "lane:ionmonger-ion-aware-dc-resolved-v2", + "kind": "original_refinement_lane", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_rule_bound_pending_evidence", + "citations": [ + { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/ionmonger-ion-aware-dc-resolved-v2", + "value_sha256": "732ddc9f2aad296404f4c937bcb0c9d6f70df42a2dceb7320da7049e17ccb338" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "_observable_delta" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "evaluate_numerical_certificate" + } + ], + "original_evidence": [ + { + "kind": "registered_refinement_contract", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/ionmonger-ion-aware-dc-resolved-v2", + "value_sha256": "732ddc9f2aad296404f4c937bcb0c9d6f70df42a2dceb7320da7049e17ccb338" + }, + "historical_source_sha256": "b808fb2c7e44b282fe5e8a7d55a8f23a12101451104c6c639e2991fec34a2dff", + "scope_limitations": [ + "This resolved lane starts at N60 and does not erase the N30/N60/N90 v1 partial certificate or its 1.55 percent pointwise occupancy-grid discrepancy.", + "This lane certifies an internal fixed-bias mobile-ion numerical DC state, not the finite-rate J-V history or an external IonMonger curve.", + "The source deck lacks endpoint effective-DOS data, so contact thermodynamics remains compatible_unverified and the combined physical certificate is false.", + "Dynamic interface-state blocks remain excluded until their electrostatic charge closure is independently certified." + ] + } + ], + "call_chains": [], + "original_scope_limitations": [ + "This resolved lane starts at N60 and does not erase the N30/N60/N90 v1 partial certificate or its 1.55 percent pointwise occupancy-grid discrepancy.", + "This lane certifies an internal fixed-bias mobile-ion numerical DC state, not the finite-rate J-V history or an external IonMonger curve.", + "The source deck lacks endpoint effective-DOS data, so contact thermodynamics remains compatible_unverified and the combined physical certificate is false.", + "Dynamic interface-state blocks remain excluded until their electrostatic charge closure is independently certified." + ], + "active_contract": null, + "obligations": [ + { + "id": "new-source-lane-c5f63593f6609839", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/lane-c5f63593f6609839.json", + "tasks": [ + "P00-03", + "P03-06", + "P04-05", + "P04-06", + "P09-01" + ], + "gates": [ + "G0", + "G3", + "G4", + "G9" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-c9046cfef0b6ef0099c8231c", + "rule-cd658221dd475286814242de", + "rule-b3dd590d8bdb71f286192bb8", + "rule-2d336eaaa312694a2d8759dd", + "rule-af30afa04244972ad32a43ea", + "rule-96f1fc5abe102bf298e0b105", + "rule-72b395a53da75a8310dad7d3", + "rule-a242c5e18f83800d9e48bb2f", + "rule-659745ebc6748f50969a06ca", + "rule-4c405aff8b0f7791dec1a1b5", + "rule-43b47d2034dbad2800e8cb8e", + "rule-5c00430203eee6411ede3589", + "rule-8c17c70c97eaefddae2af41c", + "rule-d83fe5108835980b2f80ac2a", + "rule-ad3ac41edebfa1afc2bff814", + "rule-6b3103f263bd658d6ed07183" + ], + "comparison_scope_id": "scope-lane-c5f63593f6609839" + }, + { + "capability_id": "lane-500d85c643804b4b", + "route_id": "route-1af17bb46d9794d0", + "origin_key": "lane:ionmonger-ion-aware-dc-v1", + "target": { + "capability_id": "lane-500d85c643804b4b", + "scope_id": "lane:ionmonger-ion-aware-dc-v1", + "kind": "original_refinement_lane", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_rule_bound_pending_evidence", + "citations": [ + { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/ionmonger-ion-aware-dc-v1", + "value_sha256": "8f9ce2d73db8cd4d03c66f25c87da3c3aced8f573e0957fa791da0d5403fa3bc" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "_observable_delta" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "evaluate_numerical_certificate" + } + ], + "original_evidence": [ + { + "kind": "registered_refinement_contract", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/ionmonger-ion-aware-dc-v1", + "value_sha256": "8f9ce2d73db8cd4d03c66f25c87da3c3aced8f573e0957fa791da0d5403fa3bc" + }, + "historical_source_sha256": "b808fb2c7e44b282fe5e8a7d55a8f23a12101451104c6c639e2991fec34a2dff", + "scope_limitations": [ + "This lane certifies an internal fixed-bias mobile-ion numerical DC state, not the finite-rate J-V history or an external IonMonger curve.", + "The source deck lacks endpoint effective-DOS data, so contact thermodynamics remains compatible_unverified and the combined physical certificate is false.", + "Dynamic interface-state blocks remain excluded until their electrostatic charge closure is independently certified." + ] + } + ], + "call_chains": [], + "original_scope_limitations": [ + "This lane certifies an internal fixed-bias mobile-ion numerical DC state, not the finite-rate J-V history or an external IonMonger curve.", + "The source deck lacks endpoint effective-DOS data, so contact thermodynamics remains compatible_unverified and the combined physical certificate is false.", + "Dynamic interface-state blocks remain excluded until their electrostatic charge closure is independently certified." + ], + "active_contract": null, + "obligations": [ + { + "id": "new-source-lane-500d85c643804b4b", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/lane-500d85c643804b4b.json", + "tasks": [ + "P00-03", + "P03-06", + "P04-05", + "P04-06", + "P09-01" + ], + "gates": [ + "G0", + "G3", + "G4", + "G9" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-6e9e9ec09d2b1232262226f3", + "rule-be0316d30f7b2759d0622474", + "rule-0e7b821b1b3d526e05008e94", + "rule-7967e9f06ff15470418b94a0", + "rule-08d921141c923aa3da2b6620", + "rule-9cc7cab6e561dbb2aa2604e8", + "rule-cc56c3d8280aa3a35c185458", + "rule-e29dd4e9175d0ccf7241d222", + "rule-86985464430fecb772ac3c62", + "rule-937326cf6e94d0913a22d245", + "rule-d2247e1c9adea74793f6ff0e", + "rule-75ab84dcd9501ddf73c3872a", + "rule-280cfbf456cac0a649271835", + "rule-12bf50e66fba4d6718da39b0", + "rule-2db1d2a8a58df1563d720f5d", + "rule-8d62b7f9717742c37a8f0214" + ], + "comparison_scope_id": "scope-lane-500d85c643804b4b" + }, + { + "capability_id": "lane-b59b8f0f474425b0", + "route_id": "route-1af17bb46d9794d0", + "origin_key": "lane:ionmonger-ion-aware-impedance-resolved-v1", + "target": { + "capability_id": "lane-b59b8f0f474425b0", + "scope_id": "lane:ionmonger-ion-aware-impedance-resolved-v1", + "kind": "original_refinement_lane", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_rule_bound_pending_evidence", + "citations": [ + { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/ionmonger-ion-aware-impedance-resolved-v1", + "value_sha256": "f7ccc75740e735795427f59a8d7f8f34a583e8acdc17860cbd381ac1775ff245" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "_observable_delta" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "evaluate_numerical_certificate" + } + ], + "original_evidence": [ + { + "kind": "registered_refinement_contract", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/ionmonger-ion-aware-impedance-resolved-v1", + "value_sha256": "f7ccc75740e735795427f59a8d7f8f34a583e8acdc17860cbd381ac1775ff245" + }, + "historical_source_sha256": "b808fb2c7e44b282fe5e8a7d55a8f23a12101451104c6c639e2991fec34a2dff", + "scope_limitations": [ + "This lane certifies internal ion-aware frequency-domain grid and finite-difference convergence, not an external impedance spectrum.", + "The source deck lacks endpoint effective-DOS data, so contact thermodynamics remains compatible_unverified even when numerical and frequency-window axes pass.", + "Dynamic interface-state blocks and transient lock-in agreement remain separate, fail-closed deliverables." + ] + } + ], + "call_chains": [], + "original_scope_limitations": [ + "This lane certifies internal ion-aware frequency-domain grid and finite-difference convergence, not an external impedance spectrum.", + "The source deck lacks endpoint effective-DOS data, so contact thermodynamics remains compatible_unverified even when numerical and frequency-window axes pass.", + "Dynamic interface-state blocks and transient lock-in agreement remain separate, fail-closed deliverables." + ], + "active_contract": null, + "obligations": [ + { + "id": "new-source-lane-b59b8f0f474425b0", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/lane-b59b8f0f474425b0.json", + "tasks": [ + "P00-03", + "P03-06", + "P04-05", + "P04-06", + "P09-01" + ], + "gates": [ + "G0", + "G3", + "G4", + "G9" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof", + "the applicable gauge/CV/log-density/inventory or complex/circular-phase comparator with physical units; no generic scalar substitute" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-fded901ca315dfe0f9644ff5", + "rule-f6789c1a13c2d9958e6b2faa", + "rule-9933912f9abd8c9f86311f5a", + "rule-039b75af973bb561331615b0", + "rule-9e3e9a0939d488ba0c90675d", + "rule-28974f4f9810463ff7d78711", + "rule-60f9ddda397c517c658f2884", + "rule-5c34ede9a6d5bb4b4da51c15", + "rule-b6b6bb6a4abd3fe5a2327c52", + "rule-f0a2d3e4f0fe228a6a772eff", + "rule-45474de0f61faa3b940254b8", + "rule-a7c64452ac5cb835a067cfe9", + "rule-d856bee5c4f6d807d5b79716", + "rule-83ead8e0cecb69d443b82c2d", + "rule-9cab4511182045b67742f4d8" + ], + "comparison_scope_id": "scope-lane-b59b8f0f474425b0" + }, + { + "capability_id": "lane-077aabd76066b531", + "route_id": "route-1af17bb46d9794d0", + "origin_key": "lane:ionmonger-mobile-ion-transient", + "target": { + "capability_id": "lane-077aabd76066b531", + "scope_id": "lane:ionmonger-mobile-ion-transient", + "kind": "original_refinement_lane", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_rule_bound_pending_evidence", + "citations": [ + { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/ionmonger-mobile-ion-transient", + "value_sha256": "2d92f2ca1e6927441bb16d0c4c2f8f22cc16d2e923bd814806d2486a8cd5b919" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "_observable_delta" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "evaluate_numerical_certificate" + } + ], + "original_evidence": [ + { + "kind": "registered_refinement_contract", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/ionmonger-mobile-ion-transient", + "value_sha256": "2d92f2ca1e6927441bb16d0c4c2f8f22cc16d2e923bd814806d2486a8cd5b919" + }, + "historical_source_sha256": "b808fb2c7e44b282fe5e8a7d55a8f23a12101451104c6c639e2991fec34a2dff", + "scope_limitations": [ + "This lane certifies the registered local scan protocol, not the Courtier publication protocol.", + "Positive-ion inventory is available in snapshots; dual-ion inventory requires a future snapshot schema extension." + ] + } + ], + "call_chains": [], + "original_scope_limitations": [ + "This lane certifies the registered local scan protocol, not the Courtier publication protocol.", + "Positive-ion inventory is available in snapshots; dual-ion inventory requires a future snapshot schema extension." + ], + "active_contract": null, + "obligations": [ + { + "id": "new-source-lane-077aabd76066b531", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/lane-077aabd76066b531.json", + "tasks": [ + "P00-03", + "P03-06", + "P04-05", + "P04-06", + "P09-01" + ], + "gates": [ + "G0", + "G3", + "G4", + "G9" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-33caecfac95d46ba15f38e19", + "rule-65789ce62d11359973628e0e", + "rule-3f16b1f5248372dd04411577", + "rule-4e0f8ee59417f7f8e3dea876", + "rule-87de8f2f978ccfab41c17980", + "rule-a546c394bb48732665f56bc6", + "rule-f6e4a9f3c485cbf246c95d4e", + "rule-29a4bf5a3d6467aa1b72ccdd", + "rule-647147e2bde527568cd0992c", + "rule-9a8be150ec99c9c6cb9a80f2", + "rule-86cbc6acc8d53002c9ab7163", + "rule-ebab2c73853b2d0c1b0dc699", + "rule-f633642f2a2174b3777721e3", + "rule-076888baf15575cc6521a4ab" + ], + "comparison_scope_id": "scope-lane-077aabd76066b531" + }, + { + "capability_id": "lane-f7e0f3e0963801d8", + "route_id": "route-7ae47088bbed9ed7", + "origin_key": "lane:multivalent-explicit-defect-qf-dc-v1", + "target": { + "capability_id": "lane-f7e0f3e0963801d8", + "scope_id": "lane:multivalent-explicit-defect-qf-dc-v1", + "kind": "original_refinement_lane", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_rule_bound_pending_evidence", + "citations": [ + { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/multivalent-explicit-defect-qf-dc-v1", + "value_sha256": "ed40f86e160c1668cfbfdf8f2fbd587e42c8b3f7604cf75f13a5f1e6d9a08ff6" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "_observable_delta" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "evaluate_numerical_certificate" + } + ], + "original_evidence": [ + { + "kind": "registered_refinement_contract", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/multivalent-explicit-defect-qf-dc-v1", + "value_sha256": "ed40f86e160c1668cfbfdf8f2fbd587e42c8b3f7604cf75f13a5f1e6d9a08ff6" + }, + "historical_source_sha256": "b808fb2c7e44b282fe5e8a7d55a8f23a12101451104c6c639e2991fec34a2dff", + "scope_limitations": [ + "Internal numerical convergence only; no SCAPS charge-state export is compared.", + "Uniform-layer stationary multivalent bulk defects; graded, metastable, dynamic, AC and mobile-ion routes are refused by the solver rather than certified here." + ] + } + ], + "call_chains": [], + "original_scope_limitations": [ + "Internal numerical convergence only; no SCAPS charge-state export is compared.", + "Uniform-layer stationary multivalent bulk defects; graded, metastable, dynamic, AC and mobile-ion routes are refused by the solver rather than certified here." + ], + "active_contract": null, + "obligations": [ + { + "id": "new-source-lane-f7e0f3e0963801d8", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/lane-f7e0f3e0963801d8.json", + "tasks": [ + "P00-03", + "P03-06", + "P04-10", + "P09-01" + ], + "gates": [ + "G0", + "G3", + "G4", + "G9" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-a56db8f180d23a6853a5c1b9", + "rule-4da2dea1fae5cfd4dc772be8", + "rule-270620772eb8934c5072fa9c", + "rule-e4da6121a3df1eb86d1f3991", + "rule-3f045fbfe293694154a191a6", + "rule-a271173132b47826d851b729", + "rule-0c777cb7b63c12f887964bf2", + "rule-8dd7aef8593fa2f49c7bf8df", + "rule-9efc8805966fe2d3729929e8", + "rule-5fe1c3ebf1bd47ec3f1534fa", + "rule-21f7315ce88eec3562428246", + "rule-3255272cb635b9ce65de8143", + "rule-e6744b3e0c8b51f6cd272bb8", + "rule-d3df3e10c20f2d5809603463", + "rule-c16c016ae99fe74d38c3811c", + "rule-7202fcfc91aeb398e9328bef", + "rule-8f76c9024ab99cdd64b7c7f0", + "rule-8967287f0c737495b3f4b107", + "rule-d60ed0f88d6806984e1d8b48", + "rule-d5ddafc6dc12e087706f6282", + "rule-21b705431b7a38666720aca9", + "rule-b5203a745209f02e726db68c", + "rule-6a96fc1b2b3f4dc12adb9a28", + "rule-43cd886f1c9f123e2fb586f8", + "rule-cd0a380f9b277c09857250a1", + "rule-afa93c5da48c56a8cd18732d", + "rule-0cd7f6020030d05378c5d7cb", + "rule-4f89d8aabd6e37dfffa332ca", + "rule-2379503b8d7068cb00c5364e", + "rule-d7dc24afb5a887623da4c7b0", + "rule-c4b44f57668145773ffee32e", + "rule-f073ff2f30f4d64d13e12353", + "rule-c4269a32bdbb741a70fa60c8", + "rule-5c085f7a71f43a01679665c5", + "rule-6804ef2594e9430cf5d85341", + "rule-c2dabce945708704dc33c10b", + "rule-a2e46125ee0d801dc258d5e6", + "rule-4dcde47c26532a615a647e2e", + "rule-5baa310b44592a107368cf19" + ], + "comparison_scope_id": "scope-lane-f7e0f3e0963801d8" + }, + { + "capability_id": "lane-d78898d8e12e7813", + "route_id": "route-1af17bb46d9794d0", + "origin_key": "lane:no-ion-dae-transient-v1", + "target": { + "capability_id": "lane-d78898d8e12e7813", + "scope_id": "lane:no-ion-dae-transient-v1", + "kind": "original_refinement_lane", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_rule_bound_pending_evidence", + "citations": [ + { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/no-ion-dae-transient-v1", + "value_sha256": "d48169bd29b071f320aa37cfa4ede8a358176f37e2d3a54931e0dc7cd1d47d4b" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "_observable_delta" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "evaluate_numerical_certificate" + } + ], + "original_evidence": [ + { + "kind": "registered_refinement_contract", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/no-ion-dae-transient-v1", + "value_sha256": "d48169bd29b071f320aa37cfa4ede8a358176f37e2d3a54931e0dc7cd1d47d4b" + }, + "historical_source_sha256": "b808fb2c7e44b282fe5e8a7d55a8f23a12101451104c6c639e2991fec34a2dff", + "scope_limitations": [ + "This lane certifies only the illuminated single-layer ohmic no-ion/no-interface research DAE slice extracted from the c-Si configuration.", + "Dense-central and structured-analytic backward Euler are compared to the same high-accuracy eliminated-Poisson MoL trajectory; this is internal numerical equivalence, not external device validation.", + "Selective contacts, InterfaceDefect, cross-node interface sampling, mobile ions, algebraic interface states, experiment routes, and backend routes remain excluded." + ] + } + ], + "call_chains": [], + "original_scope_limitations": [ + "This lane certifies only the illuminated single-layer ohmic no-ion/no-interface research DAE slice extracted from the c-Si configuration.", + "Dense-central and structured-analytic backward Euler are compared to the same high-accuracy eliminated-Poisson MoL trajectory; this is internal numerical equivalence, not external device validation.", + "Selective contacts, InterfaceDefect, cross-node interface sampling, mobile ions, algebraic interface states, experiment routes, and backend routes remain excluded." + ], + "active_contract": null, + "obligations": [ + { + "id": "new-source-lane-d78898d8e12e7813", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/lane-d78898d8e12e7813.json", + "tasks": [ + "P00-03", + "P03-06", + "P04-05", + "P04-06", + "P09-01" + ], + "gates": [ + "G0", + "G3", + "G4", + "G9" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-942134ae9b7a9dc55b02ef49", + "rule-8e2cf45c0af855572c3e2540", + "rule-8df79f1032e31cc0e8bd095a", + "rule-06d2e1e75b91bd9e29f816a5", + "rule-3b904bc64139d933dd765761", + "rule-60d34e16ca70d57375efbfba", + "rule-0c35d80a21b2877abec56f3d", + "rule-303416e4737ba4dc41036b98", + "rule-24d4af0347e39accb952267d", + "rule-a295363c736fb80d46c24a78", + "rule-c838566a0853cdbe7c08e224", + "rule-2bcc70308a4d04c2c30419fb", + "rule-8b13d675c32a9df8aa3c0e3a", + "rule-5c9bade799f9d4e3a9bffa6b", + "rule-6ecd8b82178663e572911e33", + "rule-1f6a32fcf403d55ab8d229b0", + "rule-32611d3ee8b95143f8418e2b", + "rule-e45b304c8c4bb158988546e8", + "rule-fae697a438498b3c40768625", + "rule-0fea0cc5c742231201d98340", + "rule-24852b8b821acae2fc72b392", + "rule-82e9d631991844d2122e1690", + "rule-f82d1dda6cd69c6de4620163", + "rule-69bb183694ffb905829a19d5" + ], + "comparison_scope_id": "scope-lane-d78898d8e12e7813" + }, + { + "capability_id": "lane-5547d9e78904e730", + "route_id": "route-1af17bb46d9794d0", + "origin_key": "lane:scaps-mirror-frozen-ion-ss", + "target": { + "capability_id": "lane-5547d9e78904e730", + "scope_id": "lane:scaps-mirror-frozen-ion-ss", + "kind": "original_refinement_lane", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_rule_bound_pending_evidence", + "citations": [ + { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/scaps-mirror-frozen-ion-ss", + "value_sha256": "2ec9e046af69a6090c9015d5b215c937e68429e83b1d87e96a559f188bad3093" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "_observable_delta" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "evaluate_numerical_certificate" + } + ], + "original_evidence": [ + { + "kind": "registered_refinement_contract", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/scaps-mirror-frozen-ion-ss", + "value_sha256": "2ec9e046af69a6090c9015d5b215c937e68429e83b1d87e96a559f188bad3093" + }, + "historical_source_sha256": "b808fb2c7e44b282fe5e8a7d55a8f23a12101451104c6c639e2991fec34a2dff", + "scope_limitations": [ + "This lane certifies internal frozen-ion carrier steady states, not SCAPS parity.", + "The initial transient is a Newton seed and is not itself a steady-state certificate." + ] + } + ], + "call_chains": [], + "original_scope_limitations": [ + "This lane certifies internal frozen-ion carrier steady states, not SCAPS parity.", + "The initial transient is a Newton seed and is not itself a steady-state certificate." + ], + "active_contract": null, + "obligations": [ + { + "id": "new-source-lane-5547d9e78904e730", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/lane-5547d9e78904e730.json", + "tasks": [ + "P00-03", + "P03-06", + "P04-05", + "P04-06", + "P09-01" + ], + "gates": [ + "G0", + "G3", + "G4", + "G9" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-8e8123b7826062a8ee55f217", + "rule-0aba7323277c3fb3f1dd1732", + "rule-82d373ef2a180fc1d8512269", + "rule-f5ffde0e498815f5fa1af9f3", + "rule-dda3c703724fd33cbf32fa5c", + "rule-c92cc67a39dc52d749827d2d", + "rule-77805b408cdf8af8e5a03759", + "rule-3c01f128cd7da9883d67481d", + "rule-efa560b2ed3c1bbcc06f9f0e", + "rule-e71d78fa33b69c4deffefea8" + ], + "comparison_scope_id": "scope-lane-5547d9e78904e730" + }, + { + "capability_id": "lane-0350f1d065d6fedc", + "route_id": "route-1af17bb46d9794d0", + "origin_key": "lane:single-ion-algebraic-interface-dae-transient-resolved-v2", + "target": { + "capability_id": "lane-0350f1d065d6fedc", + "scope_id": "lane:single-ion-algebraic-interface-dae-transient-resolved-v2", + "kind": "original_refinement_lane", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_rule_bound_pending_evidence", + "citations": [ + { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/single-ion-algebraic-interface-dae-transient-resolved-v2", + "value_sha256": "876b57cfce93f0d4dd1e44eb7d10d488a0796b4baf565185764bc0d83e41685c" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "_observable_delta" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "evaluate_numerical_certificate" + } + ], + "original_evidence": [ + { + "kind": "registered_refinement_contract", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/single-ion-algebraic-interface-dae-transient-resolved-v2", + "value_sha256": "876b57cfce93f0d4dd1e44eb7d10d488a0796b4baf565185764bc0d83e41685c" + }, + "historical_source_sha256": "b808fb2c7e44b282fe5e8a7d55a8f23a12101451104c6c639e2991fec34a2dff", + "scope_limitations": [ + "This lane certifies only a dark 10 mV, two-layer ohmic research slice with one synthetic positive mobile ion, blocking ion boundaries, one uncharged algebraic interface, and four DOS-bounded Fermi-Richardson states.", + "The positive-ion diffusion, reference density, and site limit are explicit synthetic protocol inputs injected into both electrical layers; they are not material parameters attributed to the source interface-charge configuration.", + "The 5e-8 carrier residual gate accounts for the measured float64 physical-rate subtraction floor on the 33-node grid; ion, interface, and algebraic residual gates remain 2e-8.", + "InterfaceDefect, configurable cross-node sampling, dynamic or charged interface states, dual ions, selective contacts, two-sided trace geometry, field mobility, photon recycling, experiments, and backend routes remain excluded.", + "The eliminated-interface-state MoL comparison and dense-versus-structured agreement are internal numerical evidence, not external solver validation, experimental validation, SCAPS parity, or a general ion/interface physics certificate." + ] + } + ], + "call_chains": [], + "original_scope_limitations": [ + "This lane certifies only a dark 10 mV, two-layer ohmic research slice with one synthetic positive mobile ion, blocking ion boundaries, one uncharged algebraic interface, and four DOS-bounded Fermi-Richardson states.", + "The positive-ion diffusion, reference density, and site limit are explicit synthetic protocol inputs injected into both electrical layers; they are not material parameters attributed to the source interface-charge configuration.", + "The 5e-8 carrier residual gate accounts for the measured float64 physical-rate subtraction floor on the 33-node grid; ion, interface, and algebraic residual gates remain 2e-8.", + "InterfaceDefect, configurable cross-node sampling, dynamic or charged interface states, dual ions, selective contacts, two-sided trace geometry, field mobility, photon recycling, experiments, and backend routes remain excluded.", + "The eliminated-interface-state MoL comparison and dense-versus-structured agreement are internal numerical evidence, not external solver validation, experimental validation, SCAPS parity, or a general ion/interface physics certificate." + ], + "active_contract": null, + "obligations": [ + { + "id": "new-source-lane-0350f1d065d6fedc", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/lane-0350f1d065d6fedc.json", + "tasks": [ + "P00-03", + "P03-06", + "P04-05", + "P04-06", + "P09-01" + ], + "gates": [ + "G0", + "G3", + "G4", + "G9" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-12e734946179120c86ae94d6", + "rule-f6b4655c0b9f6df763e36b9b", + "rule-f65408849492d462987345b8", + "rule-b773babfe18004036ec95109", + "rule-7dcf71ba4e3faad850e749ee", + "rule-1ee0c78a0f757689b545e2e8", + "rule-acfa25d072e112a3dcf4d1d0", + "rule-f218fe2267014a6101e1a3ed", + "rule-82a9fe1187f22f07449c8e8f", + "rule-ee24fb3fd352d704870d7848", + "rule-0bebe80a12462a4337f21bbb", + "rule-b3f03207d7054ddf8d4e2b84", + "rule-029e5bc357714e0b7c8372d3", + "rule-5dae55809693fb6396d848b2", + "rule-6d56cae3abd7a9b777cf3c8f", + "rule-2ff7746385090be0b1dce791", + "rule-24465960a68364077ef5d70a", + "rule-22ade0ae89870d233fdce80a", + "rule-66433b13dc2eaf0da7b53391", + "rule-3a471ee72d60789125d1645f", + "rule-3d796fcf7d7810438daa9d5c", + "rule-5b3ac80dcba85068ae80beeb", + "rule-780b27460304ddc0878a1ec8", + "rule-ab2749a6266ad23952f8a192", + "rule-25880455bb737c02b6f3b6ef", + "rule-78637d98c1813a6bedc3fb4b", + "rule-471aa9f41b4c383bf4ad4d4c", + "rule-4ef9a7c0aaa67833d04e8606", + "rule-f7a3a823bc746c00a461b319", + "rule-616debbd3a114a7d0a32c49f", + "rule-dd7881cadd69e555bf0ea62b", + "rule-6094f6c8f5379734b7ee937e", + "rule-424ac372ac919ca7db1c760b", + "rule-233d2f59ea00f367ada628e8", + "rule-e81919bfc06eef31d843c064", + "rule-be0479e48c9c6b0fcd858b8e", + "rule-03551ad4588a9863e3874320", + "rule-e24af5bc25e8cd4c2efb2f23", + "rule-b69aed4a9488566b29a4c2e1", + "rule-6b4886ce456ecccfb78a9679", + "rule-41d61f9a5f3cc4c25c7bd8cb", + "rule-0c618d92d310883de99b92fe", + "rule-67e290b44f6f84078ad9996a" + ], + "comparison_scope_id": "scope-lane-0350f1d065d6fedc" + }, + { + "capability_id": "lane-1816209e76bb9ac0", + "route_id": "route-1af17bb46d9794d0", + "origin_key": "lane:single-ion-algebraic-interface-dae-transient-v1", + "target": { + "capability_id": "lane-1816209e76bb9ac0", + "scope_id": "lane:single-ion-algebraic-interface-dae-transient-v1", + "kind": "original_refinement_lane", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_rule_bound_pending_evidence", + "citations": [ + { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/single-ion-algebraic-interface-dae-transient-v1", + "value_sha256": "4c36ad1781466908573b4cf967e2d791d66a3eff8091989de2a8364ff641c7cb" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "_observable_delta" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "evaluate_numerical_certificate" + } + ], + "original_evidence": [ + { + "kind": "registered_refinement_contract", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/single-ion-algebraic-interface-dae-transient-v1", + "value_sha256": "4c36ad1781466908573b4cf967e2d791d66a3eff8091989de2a8364ff641c7cb" + }, + "historical_source_sha256": "b808fb2c7e44b282fe5e8a7d55a8f23a12101451104c6c639e2991fec34a2dff", + "scope_limitations": [ + "This lane certifies only a dark 10 mV, two-layer ohmic research slice with one synthetic positive mobile ion, blocking ion boundaries, one uncharged algebraic interface, and four DOS-bounded Fermi-Richardson states.", + "The positive-ion diffusion, reference density, and site limit are explicit synthetic protocol inputs injected into both electrical layers; they are not material parameters attributed to the source interface-charge configuration.", + "InterfaceDefect, configurable cross-node sampling, dynamic or charged interface states, dual ions, selective contacts, two-sided trace geometry, field mobility, photon recycling, experiments, and backend routes remain excluded.", + "The eliminated-interface-state MoL comparison and dense-versus-structured agreement are internal numerical evidence, not external solver validation, experimental validation, SCAPS parity, or a general ion/interface physics certificate." + ] + } + ], + "call_chains": [], + "original_scope_limitations": [ + "This lane certifies only a dark 10 mV, two-layer ohmic research slice with one synthetic positive mobile ion, blocking ion boundaries, one uncharged algebraic interface, and four DOS-bounded Fermi-Richardson states.", + "The positive-ion diffusion, reference density, and site limit are explicit synthetic protocol inputs injected into both electrical layers; they are not material parameters attributed to the source interface-charge configuration.", + "InterfaceDefect, configurable cross-node sampling, dynamic or charged interface states, dual ions, selective contacts, two-sided trace geometry, field mobility, photon recycling, experiments, and backend routes remain excluded.", + "The eliminated-interface-state MoL comparison and dense-versus-structured agreement are internal numerical evidence, not external solver validation, experimental validation, SCAPS parity, or a general ion/interface physics certificate." + ], + "active_contract": null, + "obligations": [ + { + "id": "new-source-lane-1816209e76bb9ac0", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/lane-1816209e76bb9ac0.json", + "tasks": [ + "P00-03", + "P03-06", + "P04-05", + "P04-06", + "P09-01" + ], + "gates": [ + "G0", + "G3", + "G4", + "G9" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-2357879a230eb20b91951d6a", + "rule-8353fdb92b54c5951f54749f", + "rule-78e59ae406939ef71afedf9d", + "rule-5a7d65cdc796924ef9940692", + "rule-72bee9995f5c463892096431", + "rule-056d242d576df0058a01e763", + "rule-0c0909ecde5c86da6b241d6c", + "rule-ee5fd74b8cdeda2da7ff48e5", + "rule-5ae1e38e279cf8c7c0eb0888", + "rule-5eb941b91de8a1936636e6bc", + "rule-fe675409476b45338224597f", + "rule-e6eed5b94528a7e12c721923", + "rule-ce05cbbf43e5e2fbd1f520dc", + "rule-b831a827e56c8ef959b1c9bf", + "rule-f8ae8064921492db89d67869", + "rule-13d7f0bcfc53c52344d4db4c", + "rule-c9752d84bb353362ff793142", + "rule-ca66e700c23f32158855cb23", + "rule-355711d1aa1cbd2238d2f767", + "rule-a4a6c2550df54d48c00b25f1", + "rule-6f78f2bde59d448479fbddbc", + "rule-ba179011e6263ad5fbec47f2", + "rule-61a1ba467dbb09e3ad39146d", + "rule-87191afb20ff39bc09315003", + "rule-f176fefef9cf266262d9c7a6", + "rule-84fb0acc60afdba722ee615f", + "rule-775969e1d70ffd235a03bb56", + "rule-3d314b7f89dbd92cc865b96c", + "rule-e0626620ba72842e9ddfec4e", + "rule-159d525e9717df485621fac6", + "rule-00c9c680eaf9b437382d79e0", + "rule-38ce219811195841f625c7d9", + "rule-07ab10388145fd168ab79742", + "rule-f45974030f31b16631b72d1d", + "rule-533c6beff6d58129ec425e82", + "rule-ffa811517820352a2e869017", + "rule-1a7934aaaf7770e0509f7dc3", + "rule-2857e44fac5584a8517819bc", + "rule-217e6d9870b5e76eb1ce0af3", + "rule-13926f3de8d684c889fc4943", + "rule-310a1077a0c5287276ecdf00", + "rule-340a01279c12d4dd131fbca2", + "rule-afcf12bdde8f6ea374bd7b69" + ], + "comparison_scope_id": "scope-lane-1816209e76bb9ac0" + }, + { + "capability_id": "lane-db596cd22f67423d", + "route_id": "route-1af17bb46d9794d0", + "origin_key": "lane:single-positive-ion-dae-transient-v1", + "target": { + "capability_id": "lane-db596cd22f67423d", + "scope_id": "lane:single-positive-ion-dae-transient-v1", + "kind": "original_refinement_lane", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_rule_bound_pending_evidence", + "citations": [ + { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/single-positive-ion-dae-transient-v1", + "value_sha256": "69c04be8c649fa042496857608f40b272b0f51be6d60ebb1ef23d4abd91ad50d" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "_observable_delta" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "evaluate_numerical_certificate" + } + ], + "original_evidence": [ + { + "kind": "registered_refinement_contract", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/single-positive-ion-dae-transient-v1", + "value_sha256": "69c04be8c649fa042496857608f40b272b0f51be6d60ebb1ef23d4abd91ad50d" + }, + "historical_source_sha256": "b808fb2c7e44b282fe5e8a7d55a8f23a12101451104c6c639e2991fec34a2dff", + "scope_limitations": [ + "This lane certifies only the dark, 10 mV, single-layer ohmic, single-positive-ion blocking-boundary research DAE slice extracted from the IonMonger configuration.", + "Dense-central and structured-analytic backward Euler are compared to the same high-accuracy eliminated-Poisson MoL trajectory; this is internal numerical equivalence, not external device validation.", + "Negative mobile ions, selective contacts, InterfaceDefect, cross-node interface sampling, algebraic interface states, experiment routes, and backend routes remain excluded." + ] + } + ], + "call_chains": [], + "original_scope_limitations": [ + "This lane certifies only the dark, 10 mV, single-layer ohmic, single-positive-ion blocking-boundary research DAE slice extracted from the IonMonger configuration.", + "Dense-central and structured-analytic backward Euler are compared to the same high-accuracy eliminated-Poisson MoL trajectory; this is internal numerical equivalence, not external device validation.", + "Negative mobile ions, selective contacts, InterfaceDefect, cross-node interface sampling, algebraic interface states, experiment routes, and backend routes remain excluded." + ], + "active_contract": null, + "obligations": [ + { + "id": "new-source-lane-db596cd22f67423d", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/lane-db596cd22f67423d.json", + "tasks": [ + "P00-03", + "P03-06", + "P04-05", + "P04-06", + "P09-01" + ], + "gates": [ + "G0", + "G3", + "G4", + "G9" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-603c5988adf8ece1b3d30201", + "rule-73d989d998b5c3d1cd26fa09", + "rule-e4f65e9afc16543a29da3a91", + "rule-e8dacc813d4d60a73c7d2b35", + "rule-e44610a2f264f9043c30a87c", + "rule-1e8592a6c6e545f628686a21", + "rule-2b4481e0b3fa2122a13f3bc8", + "rule-53c68546ecf1a8ff72780d66", + "rule-2fd11f67bbb5d09dfc2c82b5", + "rule-3c3d9305037df2d8ce065b39", + "rule-7cccd768b9cf1e9e2a3acbe3", + "rule-2aee751f7cd9173f6654047f", + "rule-2cdcc7bdc93c272f389a3dcd", + "rule-a5c80616a3351ac42e115662", + "rule-4845b46d97e92e95688da6b4", + "rule-d0252969c1c306ea717969fb", + "rule-6685df2731279f8ba8c945ea", + "rule-d29566528551522ad65239c7", + "rule-cf037877fe34e91682b3e29e", + "rule-46a8d04076b1b791320e5b01", + "rule-a7a13a0882eb3e261b982f57", + "rule-eb8e327eb5e7820cb612d56e", + "rule-0310d9fb03f7b7e96d5e2705", + "rule-ced97a4e5742851ed82d8c42", + "rule-9a116d13c56666e5975ce321", + "rule-e81adf780bffba6798ad7818", + "rule-1ac71b0fe9b8cfbbc7f376a5", + "rule-4cbac9c1f5e5c6083a2bbb2f", + "rule-a4287217fdbfc2aeaac6c4ec", + "rule-c8019933cf1c041c479620b8", + "rule-3f391f22f9f97b04a84d9c52", + "rule-c814246aea0faec7632b06da", + "rule-0a9707ddcdd8f55557afd348" + ], + "comparison_scope_id": "scope-lane-db596cd22f67423d" + }, + { + "capability_id": "lane-ea8013ec21a124fd", + "route_id": "route-7ae47088bbed9ed7", + "origin_key": "lane:spatially-graded-explicit-defect-qf-dc-v1", + "target": { + "capability_id": "lane-ea8013ec21a124fd", + "scope_id": "lane:spatially-graded-explicit-defect-qf-dc-v1", + "kind": "original_refinement_lane", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_rule_bound_pending_evidence", + "citations": [ + { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/spatially-graded-explicit-defect-qf-dc-v1", + "value_sha256": "713f69658e1f2344e2dc592f1520497e0c3a808b627b6507eae4e92fb3c28f9d" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "_observable_delta" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "evaluate_numerical_certificate" + } + ], + "original_evidence": [ + { + "kind": "registered_refinement_contract", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/spatially-graded-explicit-defect-qf-dc-v1", + "value_sha256": "713f69658e1f2344e2dc592f1520497e0c3a808b627b6507eae4e92fb3c28f9d" + }, + "historical_source_sha256": "b808fb2c7e44b282fe5e8a7d55a8f23a12101451104c6c639e2991fec34a2dff", + "scope_limitations": [ + "This lane certifies one frozen continuous V-shaped band-graded p/n device with four distributed source species, three independent conservative density profiles, and one explicitly uniform species inside v3 documents.", + "Every outer spatial-grid and nonlinear-tolerance cell executes an inner 16/32/64 energy-order ladder. Endpoint-localized contacts, local band edges, Poisson charge, continuity recombination, analytic tangent, diagnostics, and three-point illuminated J-V share the same source contract and order.", + "Mobile ions, interfaces, selective contacts, field mobility, dynamic occupancy, Fermi-Dirac statistics, AC, transient defects, tunnelling, multivalent defects, hard-zero profiles, and discontinuous profile steps remain excluded.", + "This is internal SolarLab convergence evidence, not external SCAPS parity, experimental validation, or unique microscopic parameter identification." + ] + } + ], + "call_chains": [], + "original_scope_limitations": [ + "This lane certifies one frozen continuous V-shaped band-graded p/n device with four distributed source species, three independent conservative density profiles, and one explicitly uniform species inside v3 documents.", + "Every outer spatial-grid and nonlinear-tolerance cell executes an inner 16/32/64 energy-order ladder. Endpoint-localized contacts, local band edges, Poisson charge, continuity recombination, analytic tangent, diagnostics, and three-point illuminated J-V share the same source contract and order.", + "Mobile ions, interfaces, selective contacts, field mobility, dynamic occupancy, Fermi-Dirac statistics, AC, transient defects, tunnelling, multivalent defects, hard-zero profiles, and discontinuous profile steps remain excluded.", + "This is internal SolarLab convergence evidence, not external SCAPS parity, experimental validation, or unique microscopic parameter identification." + ], + "active_contract": null, + "obligations": [ + { + "id": "new-source-lane-ea8013ec21a124fd", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/lane-ea8013ec21a124fd.json", + "tasks": [ + "P00-03", + "P03-06", + "P04-10", + "P09-01" + ], + "gates": [ + "G0", + "G3", + "G4", + "G9" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-350c26491c206657e1b239bd", + "rule-69ca32ee0c23605cdb8b2b58", + "rule-44fd33206d1d2cd032a4f89b", + "rule-1dd0a3992196264182ba1850", + "rule-ad414809cbf0c05172a40d34", + "rule-7ea22e95ac5e477fe32c9df3", + "rule-38bd9d997a804767fe4ce81a", + "rule-0b64670cda2f5f412084095f", + "rule-5d5d73aac8e26fa489bf3c87", + "rule-2db597a82f2e615f1a332bcc", + "rule-e4255e6dec5c4af3249b12f9", + "rule-e2727348fe87da0a6ca1cae7", + "rule-eaf07eacb44adc070a1f3648", + "rule-47cfee98917068227205793d", + "rule-462b303d81b95d6519eed703", + "rule-6d0fa75543d4ab4bc3c19574", + "rule-9f6e0f69cc5a8369492c89eb", + "rule-fd9974513665d1585181b9b1", + "rule-04933f7a582cd56e7869b645", + "rule-34f628efec0f41cbd485c252", + "rule-0cd5ee5a2b61292bd9abe134", + "rule-6437832f7258363102576ec1", + "rule-b50b4058d41dae8ead9c01ff", + "rule-c187c0e86f5cd0098383b4e4", + "rule-7556266eb75ab24e4f237074", + "rule-9681eb25004187c91a628421", + "rule-2e4bfdf175b5a35b987f0708", + "rule-506cb4acef893d714136aa36", + "rule-bf9a07181971a72977679088", + "rule-3e8d524080c806a7be70f6a7", + "rule-bb9a4a849577052fbf344dab", + "rule-1d60b1ce12e2201bd5a9a58e", + "rule-100c4df821cd7759ff661e6e", + "rule-60325b9deaf7f1c046849e4f", + "rule-3e9147fc8392a1e7c40842ed", + "rule-0ec4bd9b4188ae6af13d4bb8", + "rule-d0b866ce13f03b425fe03412", + "rule-2bbdcfd62c45fbdb83e10dc2", + "rule-2faf4c40e00861be5b5de30b", + "rule-ea05d1fdf588d283c8296690", + "rule-109279ed677db5cd885b0906", + "rule-caa8a2aa953f34e497713d0d", + "rule-db0765ff89f23bbc7fe017a1", + "rule-e4a50a79e96a9cda2d6105ca", + "rule-8b18fe9ab80fc07b5a661458", + "rule-e0b18802aff59674d893361e", + "rule-46db4835b42843ded35e9cd6", + "rule-dbe975b42fa157bbf2c0d909", + "rule-3da0af6c9f68dfa1348e53dd" + ], + "comparison_scope_id": "scope-lane-ea8013ec21a124fd" + }, + { + "capability_id": "lane-b6717f964e395329", + "route_id": "route-7ae47088bbed9ed7", + "origin_key": "lane:spatially-graded-explicit-defect-qf-dc-v2", + "target": { + "capability_id": "lane-b6717f964e395329", + "scope_id": "lane:spatially-graded-explicit-defect-qf-dc-v2", + "kind": "original_refinement_lane", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_rule_bound_pending_evidence", + "citations": [ + { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/spatially-graded-explicit-defect-qf-dc-v2", + "value_sha256": "8b82e94fc460cb5853af56ceeb89b7b097b3592c0381af627e02d22e354ffe2d" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "_observable_delta" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "evaluate_numerical_certificate" + } + ], + "original_evidence": [ + { + "kind": "registered_refinement_contract", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/spatially-graded-explicit-defect-qf-dc-v2", + "value_sha256": "8b82e94fc460cb5853af56ceeb89b7b097b3592c0381af627e02d22e354ffe2d" + }, + "historical_source_sha256": "b808fb2c7e44b282fe5e8a7d55a8f23a12101451104c6c639e2991fec34a2dff", + "scope_limitations": [ + "This lane certifies one frozen continuous V-shaped band-graded p/n device with four distributed source species, three independent conservative density profiles, and one explicitly uniform species inside v3 documents.", + "Every outer spatial-grid and nonlinear-tolerance cell executes an inner 16/32/64 energy-order ladder. Endpoint-localized contacts, local band edges, Poisson charge, continuity recombination, analytic tangent, diagnostics, and three-point illuminated J-V share the same source contract and order.", + "Version 2 retains every v1 grid, factor, observable, and quality gate while tightening only the base Newton residual tolerance from 1e-8 to 1e-9 after the immutable v1 matrix remained partial at the coarsest grid-64 tolerance.", + "Mobile ions, interfaces, selective contacts, field mobility, dynamic occupancy, Fermi-Dirac statistics, AC, transient defects, tunnelling, multivalent defects, hard-zero profiles, and discontinuous profile steps remain excluded.", + "This is internal SolarLab convergence evidence, not external SCAPS parity, experimental validation, or unique microscopic parameter identification." + ] + } + ], + "call_chains": [], + "original_scope_limitations": [ + "This lane certifies one frozen continuous V-shaped band-graded p/n device with four distributed source species, three independent conservative density profiles, and one explicitly uniform species inside v3 documents.", + "Every outer spatial-grid and nonlinear-tolerance cell executes an inner 16/32/64 energy-order ladder. Endpoint-localized contacts, local band edges, Poisson charge, continuity recombination, analytic tangent, diagnostics, and three-point illuminated J-V share the same source contract and order.", + "Version 2 retains every v1 grid, factor, observable, and quality gate while tightening only the base Newton residual tolerance from 1e-8 to 1e-9 after the immutable v1 matrix remained partial at the coarsest grid-64 tolerance.", + "Mobile ions, interfaces, selective contacts, field mobility, dynamic occupancy, Fermi-Dirac statistics, AC, transient defects, tunnelling, multivalent defects, hard-zero profiles, and discontinuous profile steps remain excluded.", + "This is internal SolarLab convergence evidence, not external SCAPS parity, experimental validation, or unique microscopic parameter identification." + ], + "active_contract": null, + "obligations": [ + { + "id": "new-source-lane-b6717f964e395329", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/lane-b6717f964e395329.json", + "tasks": [ + "P00-03", + "P03-06", + "P04-10", + "P09-01" + ], + "gates": [ + "G0", + "G3", + "G4", + "G9" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-599495db034980415df3ef77", + "rule-e53f6b9ff728448d3dee8742", + "rule-6057fec66438774089529ae5", + "rule-c7e76cf94de5adf9769c4abd", + "rule-ffd68c9cda8ec5e52ade759d", + "rule-3b3c761ed0654e69c889c733", + "rule-5696b4b75ccd073228d64047", + "rule-ef3195e79db7728095d5173c", + "rule-cec4cf36f53e9d5da02bd8ed", + "rule-0f5046ca24b01bdf8a20d73e", + "rule-a96e77576c295f31e186852a", + "rule-fca70b3d2e22c65ebbed0659", + "rule-a5568ac78b5a6fe794e00c71", + "rule-e966f6023c396c660acf200b", + "rule-416fdf3deb7c05bfa83d6c88", + "rule-35ab6810183866af90647a94", + "rule-b065212c31dfd26300b2b8c0", + "rule-e9052071258766df7fc894bf", + "rule-c3bfb64d788ba6354bfb6f34", + "rule-924dfd6810c8458fb14e055e", + "rule-3ca06db69953bd7de2e9fa4a", + "rule-ed080bb5333091392be55550", + "rule-b9b144ad4fbd4464c52cceb9", + "rule-2c4f1d10f724024f810c35ba", + "rule-2eb45091a5046caf3c4782a3", + "rule-e318afd02ee46487a3d56de0", + "rule-7741bd8893d226145d130e3c", + "rule-18631ad599e4913f1885586d", + "rule-a7bb37b00c7c30bd7b3d685c", + "rule-9c29e29809829601e5f8a9a3", + "rule-47df80ccf79ba4fbc91cb28f", + "rule-2376c1d60b18e56fda7d1d01", + "rule-2b3c5dd80f60e7889ddf31eb", + "rule-49fd4bc7c60bf99072ed46db", + "rule-3b82effb0b578b3978052619", + "rule-123af95150ee827ef90217b2", + "rule-076b5e6307485f9690d5f165", + "rule-489d70966723b90f38bbec35", + "rule-57811c18c6367bc0949b9024", + "rule-d4e470cffaa37b4b18de4d38", + "rule-66c2a573ee2ba4ee07661a03", + "rule-ab9cb61f75054a389c68d11f", + "rule-cb70a871dd0b254b36392b16", + "rule-5ce83a554b6a61d95659a383", + "rule-2a4d009e4c446319a693cf1e", + "rule-57ea2c4edc03c1e52a3f2a40", + "rule-6965da0953c0dd8860494484", + "rule-887886d2f300cd65222166ec", + "rule-0219217404fb81a0eda702e6" + ], + "comparison_scope_id": "scope-lane-b6717f964e395329" + }, + { + "capability_id": "lane-13c1b80fd89d147a", + "route_id": "route-1af17bb46d9794d0", + "origin_key": "lane:twod-mobile-ion-interface-srh-v1", + "target": { + "capability_id": "lane-13c1b80fd89d147a", + "scope_id": "lane:twod-mobile-ion-interface-srh-v1", + "kind": "original_refinement_lane", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_rule_bound_pending_evidence", + "citations": [ + { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/twod-mobile-ion-interface-srh-v1", + "value_sha256": "33eaa103ef17f55707e676bdab11689f7396df86cdc67e403b401395b5d2cdb8" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "_observable_delta" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "evaluate_numerical_certificate" + } + ], + "original_evidence": [ + { + "kind": "registered_refinement_contract", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/twod-mobile-ion-interface-srh-v1", + "value_sha256": "33eaa103ef17f55707e676bdab11689f7396df86cdc67e403b401395b5d2cdb8" + }, + "historical_source_sha256": "b808fb2c7e44b282fe5e8a7d55a8f23a12101451104c6c639e2991fec34a2dff", + "scope_limitations": [ + "This lane certifies one illuminated 0.0/0.05/0.10 V finite-dwell slice with one synthetic fast positive ion, one finite-width grain boundary, and one clamp-inactive two-sided cross-node interface-SRH sheet.", + "The 1e-10 m2/s ion diffusivity and short protocol are numerical stress inputs, not material parameters attributed to MAPbI3 or another measured device.", + "Interface projection, shared or dynamic interface occupancy, interface charge, dual ions, selective contacts, field mobility, and photon recycling remain outside this certificate.", + "Passing is internal grid/tolerance and conservation evidence; it is not external solver validation, experimental validation, SCAPS parity, or validation of a real grain-boundary parameter set." + ] + } + ], + "call_chains": [], + "original_scope_limitations": [ + "This lane certifies one illuminated 0.0/0.05/0.10 V finite-dwell slice with one synthetic fast positive ion, one finite-width grain boundary, and one clamp-inactive two-sided cross-node interface-SRH sheet.", + "The 1e-10 m2/s ion diffusivity and short protocol are numerical stress inputs, not material parameters attributed to MAPbI3 or another measured device.", + "Interface projection, shared or dynamic interface occupancy, interface charge, dual ions, selective contacts, field mobility, and photon recycling remain outside this certificate.", + "Passing is internal grid/tolerance and conservation evidence; it is not external solver validation, experimental validation, SCAPS parity, or validation of a real grain-boundary parameter set." + ], + "active_contract": null, + "obligations": [ + { + "id": "new-source-lane-13c1b80fd89d147a", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/lane-13c1b80fd89d147a.json", + "tasks": [ + "P00-03", + "P03-06", + "P04-05", + "P04-06", + "P09-01" + ], + "gates": [ + "G0", + "G3", + "G4", + "G9" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-4e00bd7c43a88f316645aed6", + "rule-86a671b77bb154b6ff4a05fe", + "rule-d21e16329274c8f20ec383b1", + "rule-b9981c1e4bf1ab0decfe0486", + "rule-0288b96c57c02d1909304abb", + "rule-fcae8dd5ff230bbaf5f4b408", + "rule-a39dec7b8b2ff5aa2fb7f424", + "rule-34c85324203135d657a732ab", + "rule-9129d2c415b2ae3b4d1479f5", + "rule-99d0752e0bf2b7897969ce8b", + "rule-48b4f888f16313aca0c9e348", + "rule-6a310a704a3ee8ea31c16c1e", + "rule-834cba93c1852138bca4c02f", + "rule-ba3baa596bff4ecef2e4835e", + "rule-429cf1f06685d1b72d329b6c", + "rule-89d109b9b2fa4f40f7aff53c", + "rule-26c9a90feaf283167fad66f0", + "rule-e1e74054569b60184c8cdf8b", + "rule-0b39361aab311c79b90bdd07", + "rule-04e38abdac8abec7cf57b4b5", + "rule-be37ad1e3505c362326e6855" + ], + "comparison_scope_id": "scope-lane-13c1b80fd89d147a" + }, + { + "capability_id": "lane-6dbb672b6062d764", + "route_id": "route-1af17bb46d9794d0", + "origin_key": "lane:twod-uniform-limit", + "target": { + "capability_id": "lane-6dbb672b6062d764", + "scope_id": "lane:twod-uniform-limit", + "kind": "original_refinement_lane", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_rule_bound_pending_evidence", + "citations": [ + { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/twod-uniform-limit", + "value_sha256": "996e25b86526668831c11ca4bbacffc42f3bf22fddf505474b3910e0de3c879c" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "_observable_delta" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "evaluate_numerical_certificate" + } + ], + "original_evidence": [ + { + "kind": "registered_refinement_contract", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/twod-uniform-limit", + "value_sha256": "996e25b86526668831c11ca4bbacffc42f3bf22fddf505474b3910e0de3c879c" + }, + "historical_source_sha256": "b808fb2c7e44b282fe5e8a7d55a8f23a12101451104c6c639e2991fec34a2dff", + "scope_limitations": [ + "The current 2-D model is frozen-ion and has no interface-plane physics.", + "The uniform-limit comparison uses electron-plus-hole conduction current and excludes ionic and displacement current on both sides.", + "Passing this lane certifies only the uniform 2-D to 1-D limit." + ] + } + ], + "call_chains": [], + "original_scope_limitations": [ + "The current 2-D model is frozen-ion and has no interface-plane physics.", + "The uniform-limit comparison uses electron-plus-hole conduction current and excludes ionic and displacement current on both sides.", + "Passing this lane certifies only the uniform 2-D to 1-D limit." + ], + "active_contract": null, + "obligations": [ + { + "id": "new-source-lane-6dbb672b6062d764", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/lane-6dbb672b6062d764.json", + "tasks": [ + "P00-03", + "P03-06", + "P04-05", + "P04-06", + "P09-01" + ], + "gates": [ + "G0", + "G3", + "G4", + "G9" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-b94126e23b68e74e98b42d37", + "rule-258ef21f34ab365d998633ba", + "rule-711800445728a00f95f380d8", + "rule-ecffa1d4fbab7ffc2942566f", + "rule-ff3acab3d0acdc2891ea2c32", + "rule-981e68964d17c4036e090b74", + "rule-53bbe9f814230c958818d058", + "rule-29514c0546c437777fdb9f8b", + "rule-a0a29e258b24d630607bdfd3", + "rule-8e1792fa2b8fe9eac8a5ad76" + ], + "comparison_scope_id": "scope-lane-6dbb672b6062d764" + }, + { + "capability_id": "lane-6b64d0fcde4053b6", + "route_id": "route-fc717d86c09ab83e", + "origin_key": "lane:wkb-resolved-intraband-qf-dc-v2", + "target": { + "capability_id": "lane-6b64d0fcde4053b6", + "scope_id": "lane:wkb-resolved-intraband-qf-dc-v2", + "kind": "original_refinement_lane", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_rule_bound_pending_evidence", + "citations": [ + { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/wkb-resolved-intraband-qf-dc-v2", + "value_sha256": "e4b3ca374eeb0a6f1ebbf65d97aaab0f5704149cb6969a3c682e11e0f8d1d091" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "_observable_delta" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "evaluate_numerical_certificate" + } + ], + "original_evidence": [ + { + "kind": "registered_refinement_contract", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/wkb-resolved-intraband-qf-dc-v2", + "value_sha256": "e4b3ca374eeb0a6f1ebbf65d97aaab0f5704149cb6969a3c682e11e0f8d1d091" + }, + "historical_source_sha256": "b808fb2c7e44b282fe5e8a7d55a8f23a12101451104c6c639e2991fec34a2dff", + "scope_limitations": [ + "Internal numerical evidence for one undoped 3 nm material electron barrier between two n-type semiconductor reservoirs at 300 K, in dark Boltzmann transport.", + "The 1 percent terminal-effect entry criterion is specific to this designed observable reference; it is not a physical law or a revision of the retired v1 threshold.", + "Physical per-node DOS and band energies set reservoir occupations. Open Gauss-Legendre quadrature and exact linear-band turning-point actions define the energy calculation.", + "Turning-point interpolation weights also distribute particle transfer; the same face current enters continuity and observation. No single-face injection identity is claimed.", + "The leading WKB exponent and its fixed unfitted supply prefactor are model assumptions. Small-action supply is bounded here; neither that bound nor numerical convergence constitutes external quantum-transport or SCAPS validation.", + "Hole, contact, band-to-band, defect-assisted occupancy, multiple material barriers, mobile ions, interface-plane composition, illumination and transient tunnelling are outside this certificate." + ] + } + ], + "call_chains": [], + "original_scope_limitations": [ + "Internal numerical evidence for one undoped 3 nm material electron barrier between two n-type semiconductor reservoirs at 300 K, in dark Boltzmann transport.", + "The 1 percent terminal-effect entry criterion is specific to this designed observable reference; it is not a physical law or a revision of the retired v1 threshold.", + "Physical per-node DOS and band energies set reservoir occupations. Open Gauss-Legendre quadrature and exact linear-band turning-point actions define the energy calculation.", + "Turning-point interpolation weights also distribute particle transfer; the same face current enters continuity and observation. No single-face injection identity is claimed.", + "The leading WKB exponent and its fixed unfitted supply prefactor are model assumptions. Small-action supply is bounded here; neither that bound nor numerical convergence constitutes external quantum-transport or SCAPS validation.", + "Hole, contact, band-to-band, defect-assisted occupancy, multiple material barriers, mobile ions, interface-plane composition, illumination and transient tunnelling are outside this certificate." + ], + "active_contract": null, + "obligations": [ + { + "id": "new-source-lane-6b64d0fcde4053b6", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/lane-6b64d0fcde4053b6.json", + "tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "gates": [ + "G0", + "G3", + "G4", + "G9" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-14fd4538d562c16830519503", + "rule-2e5b7c71d3d3843f65eb92aa", + "rule-3e67d45460ef08448817d5e8", + "rule-9de64bdc33050178a25dbb8d", + "rule-21c7c1b38c2077e683c56d97", + "rule-cda78af8941fbd1a089b5818", + "rule-32aebb5aa258d435060c6a0a", + "rule-ca0e309054b3a52f401ad543", + "rule-b191a8ecba43b212ab92f366", + "rule-2c95a816ff8272da23ca1f47", + "rule-de35dd7b05f2c7e3e09a8d31", + "rule-e139311dab6844d360e2c2d4", + "rule-3abbf19360b057357116d6a5", + "rule-802381e73bf88a1a201a4a33", + "rule-b2c170c66b8e73d0daeca937", + "rule-dd5fba0ab46298bfe87057d1", + "rule-a083bf8cee16d3dde1f080e9", + "rule-72372f706fbb6bf9ab76a5ed", + "rule-e4ba88e6cccf747bfdb682bb", + "rule-3d4ded7bbabad2ae0a8186e3", + "rule-3d37ec9a37f56863e2e150c0", + "rule-f95f33b36163b43e42bbe3ac", + "rule-32d80032a6117a6881af96b1", + "rule-6cd29cad2b606e18ad722035", + "rule-48804b140b9c359973761533", + "rule-d8e9d1f8c721783d4cdad9fb", + "rule-5f1deae6c032e7d02faf59e7", + "rule-a53c9de9bd5e019366d23e00", + "rule-67c95feadf2f95d4e8becef4", + "rule-374f0c8cbfcc7e0cb0da8423", + "rule-5b713589e3be50b9d1c81499", + "rule-ac15eb93227ef05b675945c3", + "rule-42a96ee4d2a668b8d233e0ff", + "rule-05abcfebe196be0183642bf4" + ], + "comparison_scope_id": "scope-lane-6b64d0fcde4053b6" + }, + { + "capability_id": "lane-16771a29387cfdae", + "route_id": "route-fc717d86c09ab83e", + "origin_key": "lane:wkb-tunnelling-channel-qf-dc-v1", + "target": { + "capability_id": "lane-16771a29387cfdae", + "scope_id": "lane:wkb-tunnelling-channel-qf-dc-v1", + "kind": "original_refinement_lane", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_rule_bound_pending_evidence", + "citations": [ + { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/wkb-tunnelling-channel-qf-dc-v1", + "value_sha256": "a3721c1913a8aa8dbb1012679c00ee28d3940001bb98a3b527eda83eff0fa1c9" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "_observable_delta" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "evaluate_numerical_certificate" + } + ], + "original_evidence": [ + { + "kind": "registered_refinement_contract", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/wkb-tunnelling-channel-qf-dc-v1", + "value_sha256": "a3721c1913a8aa8dbb1012679c00ee28d3940001bb98a3b527eda83eff0fa1c9" + }, + "historical_source_sha256": "b808fb2c7e44b282fe5e8a7d55a8f23a12101451104c6c639e2991fec34a2dff", + "scope_limitations": [ + "Internal numerical convergence only. No SCAPS tunnelling deck is compared, and the channel's absolute magnitude is not validated against anything - the supply prefactor remains an unfitted estimate.", + "One intraband electron channel on one heterointerface of one synthetic spike stack. Band-to-band, defect-assisted and contact channels, the hole branch, multi-interface stacks, illumination, mobile ions, AC and transient routes are out of scope here rather than certified.", + "The terminal current is deliberately NOT the convergence observable. Enabling the channel moves it by only ~1e-5 relative, so a terminal-current gate would pass whether or not the channel worked.", + "RETRACTED 2026-09-01 (D8-E2R). Two magnitudes this lane reports are artifacts of a level-vs-potential convention error - the QF lane hands the channel `V_T*ln(n) - (phi+chi)` = `E_Fn + V_T*ln(N_C)`, a +1.4286 eV offset. The channel flux fraction of terminal current (~0.20 here) is 6.2e-7 with the true level, and `equilibrium_net_flux_m2_s` passes its exact-zero gate by float64 Fermi-factor saturation rather than by reciprocity, so that gate cannot currently fail. Convergence orders, the injection identity and the fail-closed routes are unaffected. Correcting the level fails three gates in this lane at once and needs a v2 lane whose entry condition - a config where the corrected channel clears `ge 0.01` - does not yet exist. See docs/WkbTunnellingFamilyContract.md section \"Retraction (D8-E2R)\"." + ] + } + ], + "call_chains": [], + "original_scope_limitations": [ + "Internal numerical convergence only. No SCAPS tunnelling deck is compared, and the channel's absolute magnitude is not validated against anything - the supply prefactor remains an unfitted estimate.", + "One intraband electron channel on one heterointerface of one synthetic spike stack. Band-to-band, defect-assisted and contact channels, the hole branch, multi-interface stacks, illumination, mobile ions, AC and transient routes are out of scope here rather than certified.", + "The terminal current is deliberately NOT the convergence observable. Enabling the channel moves it by only ~1e-5 relative, so a terminal-current gate would pass whether or not the channel worked.", + "RETRACTED 2026-09-01 (D8-E2R). Two magnitudes this lane reports are artifacts of a level-vs-potential convention error - the QF lane hands the channel `V_T*ln(n) - (phi+chi)` = `E_Fn + V_T*ln(N_C)`, a +1.4286 eV offset. The channel flux fraction of terminal current (~0.20 here) is 6.2e-7 with the true level, and `equilibrium_net_flux_m2_s` passes its exact-zero gate by float64 Fermi-factor saturation rather than by reciprocity, so that gate cannot currently fail. Convergence orders, the injection identity and the fail-closed routes are unaffected. Correcting the level fails three gates in this lane at once and needs a v2 lane whose entry condition - a config where the corrected channel clears `ge 0.01` - does not yet exist. See docs/WkbTunnellingFamilyContract.md section \"Retraction (D8-E2R)\"." + ], + "active_contract": null, + "obligations": [ + { + "id": "new-source-lane-16771a29387cfdae", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/lane-16771a29387cfdae.json", + "tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "gates": [ + "G0", + "G3", + "G4", + "G9" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-e7b6594bb4da6145e413ae63", + "rule-2e40eb9821d7156040f83a79", + "rule-273c8415c3a8dc445ad283ba", + "rule-e6b8f6c13d0f5a1845045f9b", + "rule-29defc3eb14efce6a9dca43e", + "rule-e49ddcd13f180d9e1408dab7", + "rule-d7cef6a5507471866a3a96f1", + "rule-83e79c9656ae058f7ea6272f", + "rule-ccca5ed8cd936097441708ad", + "rule-0a1ea98edf3fd088662d8609", + "rule-c8ba3ab96c35803d6992d137", + "rule-be7818ef81eafe0d66cf4c50", + "rule-f3af570ca56372b92d3cf931", + "rule-628c4d42e06fd02ce4aa6de1", + "rule-463f03b9acf75278bcc55673", + "rule-abb8e139ea1a977ea7376c90", + "rule-b24f7ee4ccaca4ebc1557f68", + "rule-a98086736dcfc84e7467e253", + "rule-7e186bd02cf4fd9cacb92955", + "rule-ea0e753eadd16cd41894e7e8", + "rule-03b56b21ba8c6ff03cc0d2dd", + "rule-423242ee512ff91c3c5440fa" + ], + "comparison_scope_id": "scope-lane-16771a29387cfdae" + }, + { + "capability_id": "oracle-43431083ae91b1d5", + "route_id": "route-cbbcfcb83fcae60f", + "origin_key": "oracle:be_reference", + "target": { + "capability_id": "oracle-43431083ae91b1d5", + "scope_id": "oracle:be_reference", + "kind": "original_scoped_assertions", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_assertions_bound", + "citations": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/solver/dae_integrator.py" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_dae_integrator.py", + "symbol": "test_dark_equilibrium_remains_stationary_and_reproducible" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_dae_integrator.py", + "symbol": "test_illuminated_steps_are_residual_and_balance_certified" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_dae_integrator.py", + "symbol": "test_newton_exhaustion_reports_step_and_time" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_dae_integrator.py", + "symbol": "test_solver_control_validation_fails_closed" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_dae_integrator.py", + "symbol": "test_structured_newton_matches_dense_reference_with_less_rhs_work" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_dae_integrator.py", + "symbol": "test_time_grid_validation_fails_closed" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_dae_integrator.py", + "symbol": "test_uncertified_initial_condition_is_rejected" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_dae_jacobian.py", + "symbol": "test_boundary_carrier_columns_do_not_enter_differential_rows" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_dae_jacobian.py", + "symbol": "test_nonlocal_photon_recycling_is_rejected" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_dae_jacobian.py", + "symbol": "test_structured_state_jacobian_matches_central_reference" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_dae_jacobian.py", + "symbol": "test_zero_field_pf_cusp_is_rejected" + } + ], + "original_evidence": [ + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_dae_integrator.py", + "symbol": "test_dark_equilibrium_remains_stationary_and_reproducible" + }, + "test_node": "perovskite-sim/tests/unit/solver/test_dae_integrator.py::test_dark_equilibrium_remains_stationary_and_reproducible", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_dae_integrator.py", + "symbol": "test_illuminated_steps_are_residual_and_balance_certified" + }, + "test_node": "perovskite-sim/tests/unit/solver/test_dae_integrator.py::test_illuminated_steps_are_residual_and_balance_certified", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_dae_integrator.py", + "symbol": "test_newton_exhaustion_reports_step_and_time" + }, + "test_node": "perovskite-sim/tests/unit/solver/test_dae_integrator.py::test_newton_exhaustion_reports_step_and_time", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_dae_integrator.py", + "symbol": "test_solver_control_validation_fails_closed" + }, + "test_node": "perovskite-sim/tests/unit/solver/test_dae_integrator.py::test_solver_control_validation_fails_closed", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_dae_integrator.py", + "symbol": "test_structured_newton_matches_dense_reference_with_less_rhs_work" + }, + "test_node": "perovskite-sim/tests/unit/solver/test_dae_integrator.py::test_structured_newton_matches_dense_reference_with_less_rhs_work", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_dae_integrator.py", + "symbol": "test_time_grid_validation_fails_closed" + }, + "test_node": "perovskite-sim/tests/unit/solver/test_dae_integrator.py::test_time_grid_validation_fails_closed", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_dae_integrator.py", + "symbol": "test_uncertified_initial_condition_is_rejected" + }, + "test_node": "perovskite-sim/tests/unit/solver/test_dae_integrator.py::test_uncertified_initial_condition_is_rejected", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_dae_jacobian.py", + "symbol": "test_boundary_carrier_columns_do_not_enter_differential_rows" + }, + "test_node": "perovskite-sim/tests/unit/solver/test_dae_jacobian.py::test_boundary_carrier_columns_do_not_enter_differential_rows", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_dae_jacobian.py", + "symbol": "test_nonlocal_photon_recycling_is_rejected" + }, + "test_node": "perovskite-sim/tests/unit/solver/test_dae_jacobian.py::test_nonlocal_photon_recycling_is_rejected", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_dae_jacobian.py", + "symbol": "test_structured_state_jacobian_matches_central_reference" + }, + "test_node": "perovskite-sim/tests/unit/solver/test_dae_jacobian.py::test_structured_state_jacobian_matches_central_reference", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_dae_jacobian.py", + "symbol": "test_zero_field_pf_cusp_is_rejected" + }, + "test_node": "perovskite-sim/tests/unit/solver/test_dae_jacobian.py::test_zero_field_pf_cusp_is_rejected", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + } + ], + "call_chains": [], + "original_scope_limitations": "Restricted conservative reference stepper and finite-difference Jacobian checks; cannot silently become the IDA implementation under test", + "active_contract": null, + "obligations": [ + { + "id": "new-source-oracle-43431083ae91b1d5", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/oracle-43431083ae91b1d5.json", + "tasks": [ + "P02-03", + "P00-03", + "P09-03" + ], + "gates": [ + "G0", + "G2", + "G9" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof", + "per-physical-observable units/norm/reference scale/zero policy and applicable original or prospectively frozen threshold; test truth values do not fill this field" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-b86375f1d04b36a090829715", + "rule-eb20ea14f83a81a22a522445", + "rule-43d4bfc0696371308de64853", + "rule-a5534dbfac5c982aa25d8410", + "rule-3899d0157c722ad0a5c18eaa", + "rule-633b37f57689a74d5eda619d", + "rule-27e3daea687405add6322cd7", + "rule-3e1351c5c23666a5f374f28a", + "rule-dbf17a1a162f82264e0395ba", + "rule-646903babca7c2bbf7c17e19", + "rule-75e05031a3fea1fda3967728", + "rule-f4edb3e43f9234211c87565a", + "rule-a58700cd5a7f458673494704", + "rule-3acb4982a4a041d3d71f4f4c", + "rule-9c12f607c8845a07a144e844", + "rule-4d28b29827a7679fc7d601f5", + "rule-395c8e63efb2c4a69a307df6", + "rule-e102434e39b7a1a3c0762dba", + "rule-2367b116df896950c30ddb6f", + "rule-6fff38832de42e6ea3955f1f", + "rule-3fb6d9d05453604be3238da9", + "rule-00107f54ee5de60d951b73a5", + "rule-0138825a5f399a4313ab78fe", + "rule-dcd0b911ffebc4372f8d5404", + "rule-2214d97c414e1ba68e34c7d9", + "rule-4778b56b818c5cb6bdc90594", + "rule-593f3446d8007c512a43d370", + "rule-54ab2e5c23189b07f0054044", + "rule-2fe48f8d11ff58aaee2e2d7d", + "rule-4ad8632540dc5abf887bbfc2", + "rule-60b9260777353a2284474244", + "rule-39a4ee2d706b0996ed741c47", + "rule-efe4cac49d95409450cf0865", + "rule-1e437395a788498f2d4d6434", + "rule-8ca0ba30684b13de014efa04", + "rule-7543e2e2166d0256dc503cfe", + "rule-90747d7496eb2dbdd4ab0209", + "rule-42f1d3e6b5db073f44c7a6e8", + "rule-63ef1ffeb9c6dc757bc12cae", + "rule-63285050aee84f98a19e5312", + "rule-2c6814732f2814aab0c78128", + "rule-b34981b3bc067cc53f0798e2", + "rule-c0e8d7a6ea84c47f66de7ba8", + "rule-8aa5a49c879d77e096cf2cf4", + "rule-4d6e178b4201f8ddf5df62bf", + "rule-676106201779d4d6c315acda", + "rule-645bb73a70026e91635f9c37" + ], + "comparison_scope_id": "scope-oracle-43431083ae91b1d5" + }, + { + "capability_id": "oracle-33512d14951f648d", + "route_id": "route-c0154fcbcec24727", + "origin_key": "oracle:compat_fallback", + "target": { + "capability_id": "oracle-33512d14951f648d", + "scope_id": "oracle:compat_fallback", + "kind": "original_scoped_assertions", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_assertions_bound", + "citations": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/_compat/scipy_shim.py" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_poisson.py", + "symbol": "test_boundary_conditions_enforced" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_poisson.py", + "symbol": "test_explicit_finite_volume_factor_matches_legacy_factor" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_poisson.py", + "symbol": "test_explicit_series_capacitance_resolves_off_midpoint_interface" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_poisson.py", + "symbol": "test_positive_charge_creates_concave_potential" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_poisson.py", + "symbol": "test_zero_charge_gives_linear_potential" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/twod/test_poisson_2d.py", + "symbol": "test_poisson_2d_periodic_x_consistency" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/twod/test_poisson_2d.py", + "symbol": "test_poisson_2d_recovers_1d_parabolic_profile" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/twod/test_poisson_2d.py", + "symbol": "test_poisson_2d_solves_zero_charge_with_dirichlet_y" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/twod/test_poisson_2d.py", + "symbol": "test_two_column_periodic_poisson_preserves_zero_charge_affine_solution" + } + ], + "original_evidence": [ + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_poisson.py", + "symbol": "test_boundary_conditions_enforced" + }, + "test_node": "perovskite-sim/tests/unit/physics/test_poisson.py::test_boundary_conditions_enforced", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_poisson.py", + "symbol": "test_explicit_finite_volume_factor_matches_legacy_factor" + }, + "test_node": "perovskite-sim/tests/unit/physics/test_poisson.py::test_explicit_finite_volume_factor_matches_legacy_factor", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_poisson.py", + "symbol": "test_explicit_series_capacitance_resolves_off_midpoint_interface" + }, + "test_node": "perovskite-sim/tests/unit/physics/test_poisson.py::test_explicit_series_capacitance_resolves_off_midpoint_interface", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_poisson.py", + "symbol": "test_positive_charge_creates_concave_potential" + }, + "test_node": "perovskite-sim/tests/unit/physics/test_poisson.py::test_positive_charge_creates_concave_potential", + "scope_docstring": "Positive uniform charge → concave potential (downward curve).", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_poisson.py", + "symbol": "test_zero_charge_gives_linear_potential" + }, + "test_node": "perovskite-sim/tests/unit/physics/test_poisson.py::test_zero_charge_gives_linear_potential", + "scope_docstring": "Zero space charge → linear potential (flat field).", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/twod/test_poisson_2d.py", + "symbol": "test_poisson_2d_periodic_x_consistency" + }, + "test_node": "perovskite-sim/tests/unit/twod/test_poisson_2d.py::test_poisson_2d_periodic_x_consistency", + "scope_docstring": "With periodic x and Dirichlet y, phi at i=0 must equal phi at i=Nx-1.", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/twod/test_poisson_2d.py", + "symbol": "test_poisson_2d_recovers_1d_parabolic_profile" + }, + "test_node": "perovskite-sim/tests/unit/twod/test_poisson_2d.py::test_poisson_2d_recovers_1d_parabolic_profile", + "scope_docstring": "Uniform space charge with phi(y=0)=phi(y=Ly)=0 → parabolic profile in y,\nindependent of x. Verifies the FV stencil agrees with the 1D analytic limit.", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/twod/test_poisson_2d.py", + "symbol": "test_poisson_2d_solves_zero_charge_with_dirichlet_y" + }, + "test_node": "perovskite-sim/tests/unit/twod/test_poisson_2d.py::test_poisson_2d_solves_zero_charge_with_dirichlet_y", + "scope_docstring": "Zero charge, phi=0 at y=0 and phi=V at y=Ly → linear ramp in y.", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/twod/test_poisson_2d.py", + "symbol": "test_two_column_periodic_poisson_preserves_zero_charge_affine_solution" + }, + "test_node": "perovskite-sim/tests/unit/twod/test_poisson_2d.py::test_two_column_periodic_poisson_preserves_zero_charge_affine_solution", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + } + ], + "call_chains": [], + "original_scope_limitations": "SciPy-import fallback is an alternative numerical stack, not equivalent Radau; preserve behavior label and review consumers before retirement", + "active_contract": null, + "obligations": [ + { + "id": "new-source-oracle-33512d14951f648d", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/oracle-33512d14951f648d.json", + "tasks": [ + "P02-09", + "P00-03", + "P09-03" + ], + "gates": [ + "G0", + "G2", + "G9" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof", + "per-physical-observable units/norm/reference scale/zero policy and applicable original or prospectively frozen threshold; test truth values do not fill this field" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-adae595d5be9a03b556ac773", + "rule-f30c161ea13fc0d8bcf381f6", + "rule-47c3dae845aba0765832eab1", + "rule-5352b152c5cd874306360f88", + "rule-c0f38d7a4c8db2bccfedf397", + "rule-291d6bf8c01cf4c67f658204", + "rule-ee2bfe175c8badf9e0eadad5", + "rule-655e64927a126de9a1d6ac5d", + "rule-e3016ec8d7513d0215fd434b", + "rule-3460ddc4209ef2e91028af50" + ], + "comparison_scope_id": "scope-oracle-33512d14951f648d" + }, + { + "capability_id": "oracle-88ce0e7749381acf", + "route_id": "route-b42f1550cc73e93a", + "origin_key": "oracle:poisson", + "target": { + "capability_id": "oracle-88ce0e7749381acf", + "scope_id": "oracle:poisson", + "kind": "original_scoped_assertions", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_assertions_bound", + "citations": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/physics/poisson.py" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_poisson.py", + "symbol": "test_boundary_conditions_enforced" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_poisson.py", + "symbol": "test_explicit_finite_volume_factor_matches_legacy_factor" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_poisson.py", + "symbol": "test_explicit_series_capacitance_resolves_off_midpoint_interface" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_poisson.py", + "symbol": "test_positive_charge_creates_concave_potential" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_poisson.py", + "symbol": "test_zero_charge_gives_linear_potential" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/twod/test_poisson_2d.py", + "symbol": "test_poisson_2d_periodic_x_consistency" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/twod/test_poisson_2d.py", + "symbol": "test_poisson_2d_recovers_1d_parabolic_profile" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/twod/test_poisson_2d.py", + "symbol": "test_poisson_2d_solves_zero_charge_with_dirichlet_y" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/twod/test_poisson_2d.py", + "symbol": "test_two_column_periodic_poisson_preserves_zero_charge_affine_solution" + } + ], + "original_evidence": [ + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_poisson.py", + "symbol": "test_boundary_conditions_enforced" + }, + "test_node": "perovskite-sim/tests/unit/physics/test_poisson.py::test_boundary_conditions_enforced", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_poisson.py", + "symbol": "test_explicit_finite_volume_factor_matches_legacy_factor" + }, + "test_node": "perovskite-sim/tests/unit/physics/test_poisson.py::test_explicit_finite_volume_factor_matches_legacy_factor", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_poisson.py", + "symbol": "test_explicit_series_capacitance_resolves_off_midpoint_interface" + }, + "test_node": "perovskite-sim/tests/unit/physics/test_poisson.py::test_explicit_series_capacitance_resolves_off_midpoint_interface", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_poisson.py", + "symbol": "test_positive_charge_creates_concave_potential" + }, + "test_node": "perovskite-sim/tests/unit/physics/test_poisson.py::test_positive_charge_creates_concave_potential", + "scope_docstring": "Positive uniform charge → concave potential (downward curve).", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_poisson.py", + "symbol": "test_zero_charge_gives_linear_potential" + }, + "test_node": "perovskite-sim/tests/unit/physics/test_poisson.py::test_zero_charge_gives_linear_potential", + "scope_docstring": "Zero space charge → linear potential (flat field).", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/twod/test_poisson_2d.py", + "symbol": "test_poisson_2d_periodic_x_consistency" + }, + "test_node": "perovskite-sim/tests/unit/twod/test_poisson_2d.py::test_poisson_2d_periodic_x_consistency", + "scope_docstring": "With periodic x and Dirichlet y, phi at i=0 must equal phi at i=Nx-1.", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/twod/test_poisson_2d.py", + "symbol": "test_poisson_2d_recovers_1d_parabolic_profile" + }, + "test_node": "perovskite-sim/tests/unit/twod/test_poisson_2d.py::test_poisson_2d_recovers_1d_parabolic_profile", + "scope_docstring": "Uniform space charge with phi(y=0)=phi(y=Ly)=0 → parabolic profile in y,\nindependent of x. Verifies the FV stencil agrees with the 1D analytic limit.", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/twod/test_poisson_2d.py", + "symbol": "test_poisson_2d_solves_zero_charge_with_dirichlet_y" + }, + "test_node": "perovskite-sim/tests/unit/twod/test_poisson_2d.py::test_poisson_2d_solves_zero_charge_with_dirichlet_y", + "scope_docstring": "Zero charge, phi=0 at y=0 and phi=V at y=Ly → linear ramp in y.", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/twod/test_poisson_2d.py", + "symbol": "test_two_column_periodic_poisson_preserves_zero_charge_affine_solution" + }, + "test_node": "perovskite-sim/tests/unit/twod/test_poisson_2d.py::test_two_column_periodic_poisson_preserves_zero_charge_affine_solution", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + } + ], + "call_chains": [], + "original_scope_limitations": "Independent unfactored solve and analytic zero-charge/series-capacitance expectations; shared geometry limits physical independence", + "active_contract": null, + "obligations": [ + { + "id": "new-source-oracle-88ce0e7749381acf", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/oracle-88ce0e7749381acf.json", + "tasks": [ + "P04-01", + "P00-03", + "P09-03" + ], + "gates": [ + "G0", + "G4", + "G9" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof", + "per-physical-observable units/norm/reference scale/zero policy and applicable original or prospectively frozen threshold; test truth values do not fill this field" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-adae595d5be9a03b556ac773", + "rule-f30c161ea13fc0d8bcf381f6", + "rule-47c3dae845aba0765832eab1", + "rule-5352b152c5cd874306360f88", + "rule-c0f38d7a4c8db2bccfedf397", + "rule-291d6bf8c01cf4c67f658204", + "rule-ee2bfe175c8badf9e0eadad5", + "rule-655e64927a126de9a1d6ac5d", + "rule-e3016ec8d7513d0215fd434b", + "rule-3460ddc4209ef2e91028af50" + ], + "comparison_scope_id": "scope-oracle-88ce0e7749381acf" + }, + { + "capability_id": "oracle-2859c329278ce3e0", + "route_id": "route-9703b76f135297b8", + "origin_key": "oracle:r1_independent_observation", + "target": { + "capability_id": "oracle-2859c329278ce3e0", + "scope_id": "oracle:r1_independent_observation", + "kind": "original_scoped_assertions", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_assertions_bound", + "citations": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_independent_physics.py" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_independent_physics.py", + "symbol": "test_actual_all_nested_levels_have_independent_physical_checks" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_independent_physics.py", + "symbol": "test_actual_shared_solver_and_publisher_current_error_is_detected" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_independent_physics.py", + "symbol": "test_coarse_level_independent_rejection_vetoes_complete_trace" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_independent_physics.py", + "symbol": "test_independent_failure_is_serialized_before_protocol_rejection" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_independent_physics.py", + "symbol": "test_constitutive_current_has_analytic_field_sign_and_detects_shared_sign_error" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_independent_physics.py", + "symbol": "test_contact_control_volume_error_can_fail_with_perfect_internal_agreement" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_independent_physics.py", + "symbol": "test_coordinated_solver_and_published_constant_current_is_not_independent_evidence" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_independent_physics.py", + "symbol": "test_equilibrium_and_forbidden_solver_shortcuts" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_independent_physics.py", + "symbol": "test_geometry_is_not_taken_from_solver_widths" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_independent_physics.py", + "symbol": "test_interface_guard_can_fail_when_internal_and_contact_guards_pass" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_independent_physics.py", + "symbol": "test_internal_face_guard_is_evaluated_not_inferred_from_solver_flag" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_independent_physics.py", + "symbol": "test_inventory_is_recomputed_from_original_population_and_geometry" + }, + { + "source_id": "archive:results/OneDimensionalMechanism/R1PhysicsDevelopmentV53/LongWindowV1/BaselineV1/Root/RequestV1.json", + "pointer": "/certificate_limits", + "value_sha256": "b54673f86c029ae83e50e67f4befa79e14bcbb6d419e4445c21a77d795d7b2f5" + }, + { + "source_id": "archive:results/OneDimensionalMechanism/R1PhysicsDevelopmentV53/LongWindowV1/BaselineV1/Root/RequestV1.json", + "pointer": "/solver_limits", + "value_sha256": "a46ae3398f9f6d0ab16538b20a6149078f0aaa5e6ca146e98bb960e1942853b1" + }, + { + "source_id": "archive:results/OneDimensionalMechanism/R1PhysicsDevelopmentV53/LongWindowV1/BaselineV1/Root/RequestV1.json", + "pointer": "/case", + "value_sha256": "c6e01ca25280b67ccabd484f51f88e7114731fb2ee182615525dd4431d0c3377" + }, + { + "source_id": "archive:results/OneDimensionalMechanism/R1PhysicsDevelopmentV53/LongWindowV1/BaselineV1/Root/RequestV1.json", + "pointer": "/inputs", + "value_sha256": "6cf2bc4f328e76a56a5cba3cf04418968273f74827b4f2fe3d7cae673e28c034" + } + ], + "original_evidence": [ + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_independent_physics.py", + "symbol": "test_actual_all_nested_levels_have_independent_physical_checks" + }, + "test_node": "perovskite-sim/tests/integration/test_r1_independent_physics.py::test_actual_all_nested_levels_have_independent_physical_checks", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_independent_physics.py", + "symbol": "test_actual_shared_solver_and_publisher_current_error_is_detected" + }, + "test_node": "perovskite-sim/tests/integration/test_r1_independent_physics.py::test_actual_shared_solver_and_publisher_current_error_is_detected", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_independent_physics.py", + "symbol": "test_coarse_level_independent_rejection_vetoes_complete_trace" + }, + "test_node": "perovskite-sim/tests/integration/test_r1_independent_physics.py::test_coarse_level_independent_rejection_vetoes_complete_trace", + "scope_docstring": "Inject a failed audit witness to test propagation, not the constitutive law.", + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_independent_physics.py", + "symbol": "test_independent_failure_is_serialized_before_protocol_rejection" + }, + "test_node": "perovskite-sim/tests/integration/test_r1_independent_physics.py::test_independent_failure_is_serialized_before_protocol_rejection", + "scope_docstring": "Observe a real solver-accepted row with a deliberately failed audit.", + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_independent_physics.py", + "symbol": "test_constitutive_current_has_analytic_field_sign_and_detects_shared_sign_error" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_r1_independent_physics.py::test_constitutive_current_has_analytic_field_sign_and_detects_shared_sign_error", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_independent_physics.py", + "symbol": "test_contact_control_volume_error_can_fail_with_perfect_internal_agreement" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_r1_independent_physics.py::test_contact_control_volume_error_can_fail_with_perfect_internal_agreement", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_independent_physics.py", + "symbol": "test_coordinated_solver_and_published_constant_current_is_not_independent_evidence" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_r1_independent_physics.py::test_coordinated_solver_and_published_constant_current_is_not_independent_evidence", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_independent_physics.py", + "symbol": "test_equilibrium_and_forbidden_solver_shortcuts" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_r1_independent_physics.py::test_equilibrium_and_forbidden_solver_shortcuts", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_independent_physics.py", + "symbol": "test_geometry_is_not_taken_from_solver_widths" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_r1_independent_physics.py::test_geometry_is_not_taken_from_solver_widths", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_independent_physics.py", + "symbol": "test_interface_guard_can_fail_when_internal_and_contact_guards_pass" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_r1_independent_physics.py::test_interface_guard_can_fail_when_internal_and_contact_guards_pass", + "scope_docstring": null, + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_independent_physics.py", + "symbol": "test_internal_face_guard_is_evaluated_not_inferred_from_solver_flag" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_r1_independent_physics.py::test_internal_face_guard_is_evaluated_not_inferred_from_solver_flag", + "scope_docstring": null, + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_independent_physics.py", + "symbol": "test_inventory_is_recomputed_from_original_population_and_geometry" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_r1_independent_physics.py::test_inventory_is_recomputed_from_original_population_and_geometry", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + } + ], + "call_chains": [], + "original_scope_limitations": "Independent saved-state current/Gauss observations; shared constitutive calls must be disclosed and are not a wholly independent carrier solver", + "active_contract": null, + "obligations": [ + { + "id": "new-source-oracle-2859c329278ce3e0", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/oracle-2859c329278ce3e0.json", + "tasks": [ + "P07-05", + "P00-03", + "P09-03" + ], + "gates": [ + "G0", + "G7", + "G9" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof", + "per-physical-observable units/norm/reference scale/zero policy and applicable original or prospectively frozen threshold; test truth values do not fill this field", + "original R1 source/table/step and L1/L2/L3 prerequisites; the scalar helper is not an R1 comparator" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-c3bc3bbc2b8efc9dc5b7b7c4", + "rule-5e566333943a5cefa0a6f8e0", + "rule-ed7f08268be69aaca298d740", + "rule-125d2775063791fc502f1e16", + "rule-04733ca3cb5435fbab80a9f5", + "rule-dc26036e620814da51a7ebe6", + "rule-3c1c840b33602cdbae6fdb6e", + "rule-fa34de934a375daa947676ad", + "rule-924a34af29fa93d9a00ce067", + "rule-58d0ebad8bf3c7ba53709e84", + "rule-05da9fa9244b31d93077c50c", + "rule-7880bd4da41cdf9a53d2af64", + "rule-194b492ae6e7b5435d7dfa88", + "rule-c5f9f29dc2f3e12aec80cd9e", + "rule-661755d6704c502047d17d09", + "rule-285947e7e14064ce97a7d0bd", + "rule-f9759377acf0f79598198510", + "rule-5c89f02df85412c66662fbaa", + "rule-44a8e1ec678fb07c17388a07", + "rule-ef71c37c3116fada18f3e845", + "rule-b7e3d0cb0d32fd32e702f6cf", + "rule-cceaf00befdf9afd7eaca294", + "rule-a48f194b40d1465da05985f9", + "rule-7e7fd6f4bc914437c630ac41", + "rule-8cb334a9d8b1af78968df4bf", + "rule-6c12d15b3b1afeebb0f335fc", + "rule-2c6f9fdbff7c6fe8f8f3c488", + "rule-272c3523e77fe10b9e3792ea", + "rule-b52d8946bd576a5074b8b8bc", + "rule-d823a73348fc4438baf74a13", + "rule-35ce971b4da96b2ef294d2d5", + "rule-bda20f700131d448aa8c1600", + "rule-f4af4c125b869b8eecfc02fe", + "rule-131b50ef9b46bb8dbe668ff2", + "rule-871f4124f714124bacd5df70", + "rule-875a0d0502919f2bc5d4c389", + "rule-b265348d32944bec5b684814", + "rule-d7176d5f5bd802790bcfc1bb", + "rule-f34334be0660255f5f89577a", + "rule-a5f5d5df6de1ca12559419d0", + "rule-8aa76c3946195f048981fe52", + "rule-1d6470b7078f66b1363a0805", + "rule-60d0237787ff20e6b7a3c3f2", + "rule-e95074f0edd4fb485919e4d7", + "rule-35fedf5369e22a5db8ea56bb", + "rule-bbeac014e60cb22834017d36", + "rule-de30f732091c4c6e675bdce5", + "rule-7eda32a1d62c48d54ea9362a", + "rule-cc1375d588090f6cf17887d7", + "rule-51b09516f8caf4cfdaecd096", + "rule-3811817a2b002d443b354e80", + "rule-df0f6406a9596378fa6907a8" + ], + "comparison_scope_id": "scope-oracle-2859c329278ce3e0" + }, + { + "capability_id": "oracle-c749a00822ac300a", + "route_id": "route-14e199cb8da127e6", + "origin_key": "oracle:r1_regular_current", + "target": { + "capability_id": "oracle-c749a00822ac300a", + "scope_id": "oracle:r1_regular_current", + "kind": "original_scoped_assertions", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_assertions_bound", + "citations": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_independent_regular.py" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_independent_physics.py", + "symbol": "test_actual_all_nested_levels_have_independent_physical_checks" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_independent_physics.py", + "symbol": "test_actual_shared_solver_and_publisher_current_error_is_detected" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_independent_physics.py", + "symbol": "test_coarse_level_independent_rejection_vetoes_complete_trace" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_independent_physics.py", + "symbol": "test_independent_failure_is_serialized_before_protocol_rejection" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_c_independent_regressions_v4.py", + "symbol": "test_a_resolvable_refinement_error_still_requires_explaining_a_smaller_reviewed_budget" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_c_independent_regressions_v4.py", + "symbol": "test_prerequisites_must_bind_the_external_window_even_when_every_evidence_digest_matches" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_independent_physics.py", + "symbol": "test_constitutive_current_has_analytic_field_sign_and_detects_shared_sign_error" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_independent_physics.py", + "symbol": "test_contact_control_volume_error_can_fail_with_perfect_internal_agreement" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_independent_physics.py", + "symbol": "test_coordinated_solver_and_published_constant_current_is_not_independent_evidence" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_independent_physics.py", + "symbol": "test_equilibrium_and_forbidden_solver_shortcuts" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_independent_physics.py", + "symbol": "test_geometry_is_not_taken_from_solver_widths" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_independent_physics.py", + "symbol": "test_interface_guard_can_fail_when_internal_and_contact_guards_pass" + }, + { + "source_id": "archive:results/OneDimensionalMechanism/R1PhysicsDevelopmentV53/LongWindowV1/BaselineV1/Root/RequestV1.json", + "pointer": "/certificate_limits", + "value_sha256": "b54673f86c029ae83e50e67f4befa79e14bcbb6d419e4445c21a77d795d7b2f5" + }, + { + "source_id": "archive:results/OneDimensionalMechanism/R1PhysicsDevelopmentV53/LongWindowV1/BaselineV1/Root/RequestV1.json", + "pointer": "/solver_limits", + "value_sha256": "a46ae3398f9f6d0ab16538b20a6149078f0aaa5e6ca146e98bb960e1942853b1" + }, + { + "source_id": "archive:results/OneDimensionalMechanism/R1PhysicsDevelopmentV53/LongWindowV1/BaselineV1/Root/RequestV1.json", + "pointer": "/case", + "value_sha256": "c6e01ca25280b67ccabd484f51f88e7114731fb2ee182615525dd4431d0c3377" + }, + { + "source_id": "archive:results/OneDimensionalMechanism/R1PhysicsDevelopmentV53/LongWindowV1/BaselineV1/Root/RequestV1.json", + "pointer": "/inputs", + "value_sha256": "6cf2bc4f328e76a56a5cba3cf04418968273f74827b4f2fe3d7cae673e28c034" + } + ], + "original_evidence": [ + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_independent_physics.py", + "symbol": "test_actual_all_nested_levels_have_independent_physical_checks" + }, + "test_node": "perovskite-sim/tests/integration/test_r1_independent_physics.py::test_actual_all_nested_levels_have_independent_physical_checks", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_independent_physics.py", + "symbol": "test_actual_shared_solver_and_publisher_current_error_is_detected" + }, + "test_node": "perovskite-sim/tests/integration/test_r1_independent_physics.py::test_actual_shared_solver_and_publisher_current_error_is_detected", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_independent_physics.py", + "symbol": "test_coarse_level_independent_rejection_vetoes_complete_trace" + }, + "test_node": "perovskite-sim/tests/integration/test_r1_independent_physics.py::test_coarse_level_independent_rejection_vetoes_complete_trace", + "scope_docstring": "Inject a failed audit witness to test propagation, not the constitutive law.", + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_independent_physics.py", + "symbol": "test_independent_failure_is_serialized_before_protocol_rejection" + }, + "test_node": "perovskite-sim/tests/integration/test_r1_independent_physics.py::test_independent_failure_is_serialized_before_protocol_rejection", + "scope_docstring": "Observe a real solver-accepted row with a deliberately failed audit.", + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_c_independent_regressions_v4.py", + "symbol": "test_a_resolvable_refinement_error_still_requires_explaining_a_smaller_reviewed_budget" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_r1_c_independent_regressions_v4.py::test_a_resolvable_refinement_error_still_requires_explaining_a_smaller_reviewed_budget", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_c_independent_regressions_v4.py", + "symbol": "test_prerequisites_must_bind_the_external_window_even_when_every_evidence_digest_matches" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_r1_c_independent_regressions_v4.py::test_prerequisites_must_bind_the_external_window_even_when_every_evidence_digest_matches", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_independent_physics.py", + "symbol": "test_constitutive_current_has_analytic_field_sign_and_detects_shared_sign_error" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_r1_independent_physics.py::test_constitutive_current_has_analytic_field_sign_and_detects_shared_sign_error", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_independent_physics.py", + "symbol": "test_contact_control_volume_error_can_fail_with_perfect_internal_agreement" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_r1_independent_physics.py::test_contact_control_volume_error_can_fail_with_perfect_internal_agreement", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_independent_physics.py", + "symbol": "test_coordinated_solver_and_published_constant_current_is_not_independent_evidence" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_r1_independent_physics.py::test_coordinated_solver_and_published_constant_current_is_not_independent_evidence", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_independent_physics.py", + "symbol": "test_equilibrium_and_forbidden_solver_shortcuts" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_r1_independent_physics.py::test_equilibrium_and_forbidden_solver_shortcuts", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_independent_physics.py", + "symbol": "test_geometry_is_not_taken_from_solver_widths" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_r1_independent_physics.py::test_geometry_is_not_taken_from_solver_widths", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_independent_physics.py", + "symbol": "test_interface_guard_can_fail_when_internal_and_contact_guards_pass" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_r1_independent_physics.py::test_interface_guard_can_fail_when_internal_and_contact_guards_pass", + "scope_docstring": null, + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + } + ], + "call_chains": [], + "original_scope_limitations": "Separate regular-current observer must preserve source identity and no projected equal terminal currents", + "active_contract": null, + "obligations": [ + { + "id": "new-source-oracle-c749a00822ac300a", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/oracle-c749a00822ac300a.json", + "tasks": [ + "P07-05", + "P00-03", + "P09-03" + ], + "gates": [ + "G0", + "G7", + "G9" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof", + "per-physical-observable units/norm/reference scale/zero policy and applicable original or prospectively frozen threshold; test truth values do not fill this field", + "original R1 source/table/step and L1/L2/L3 prerequisites; the scalar helper is not an R1 comparator" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-c3bc3bbc2b8efc9dc5b7b7c4", + "rule-5e566333943a5cefa0a6f8e0", + "rule-ed7f08268be69aaca298d740", + "rule-125d2775063791fc502f1e16", + "rule-04733ca3cb5435fbab80a9f5", + "rule-dc26036e620814da51a7ebe6", + "rule-3c1c840b33602cdbae6fdb6e", + "rule-fa34de934a375daa947676ad", + "rule-924a34af29fa93d9a00ce067", + "rule-58d0ebad8bf3c7ba53709e84", + "rule-05da9fa9244b31d93077c50c", + "rule-7880bd4da41cdf9a53d2af64", + "rule-194b492ae6e7b5435d7dfa88", + "rule-c5f9f29dc2f3e12aec80cd9e", + "rule-661755d6704c502047d17d09", + "rule-285947e7e14064ce97a7d0bd", + "rule-f9759377acf0f79598198510", + "rule-5c89f02df85412c66662fbaa", + "rule-44a8e1ec678fb07c17388a07", + "rule-ef71c37c3116fada18f3e845", + "rule-b7e3d0cb0d32fd32e702f6cf", + "rule-cceaf00befdf9afd7eaca294", + "rule-a48f194b40d1465da05985f9", + "rule-7e7fd6f4bc914437c630ac41", + "rule-8cb334a9d8b1af78968df4bf", + "rule-6c12d15b3b1afeebb0f335fc", + "rule-2c6f9fdbff7c6fe8f8f3c488", + "rule-6fcd8f761c968e173803ef84", + "rule-3f2f64186d448d10381f1edd", + "rule-46ea9e05fc2ca32341476c2b", + "rule-c8a7d25731bdc4f2fd73c26b", + "rule-5161ec9d8928f8b8850dd9a5", + "rule-afba6644d0c7811e21d3fbdb", + "rule-732cc44a8f249de233f1fb47", + "rule-9970d948b638d1c078b1bd30", + "rule-82fdbfceb156c8931f0f8844", + "rule-b734d5f65974d50c1f395cfb", + "rule-d6becb370c6845ad4ada1f97", + "rule-272c3523e77fe10b9e3792ea", + "rule-b52d8946bd576a5074b8b8bc", + "rule-d823a73348fc4438baf74a13", + "rule-35ce971b4da96b2ef294d2d5", + "rule-bda20f700131d448aa8c1600", + "rule-f4af4c125b869b8eecfc02fe", + "rule-131b50ef9b46bb8dbe668ff2", + "rule-871f4124f714124bacd5df70", + "rule-875a0d0502919f2bc5d4c389", + "rule-b265348d32944bec5b684814", + "rule-d7176d5f5bd802790bcfc1bb", + "rule-f34334be0660255f5f89577a", + "rule-a5f5d5df6de1ca12559419d0", + "rule-8aa76c3946195f048981fe52", + "rule-1d6470b7078f66b1363a0805", + "rule-60d0237787ff20e6b7a3c3f2", + "rule-e95074f0edd4fb485919e4d7", + "rule-35fedf5369e22a5db8ea56bb", + "rule-bbeac014e60cb22834017d36", + "rule-de30f732091c4c6e675bdce5", + "rule-7eda32a1d62c48d54ea9362a" + ], + "comparison_scope_id": "scope-oracle-c749a00822ac300a" + }, + { + "capability_id": "oracle-c398ee1f8377a8ac", + "route_id": "route-bcde79d2bee32047", + "origin_key": "oracle:sg_scalar", + "target": { + "capability_id": "oracle-c398ee1f8377a8ac", + "scope_id": "oracle:sg_scalar", + "kind": "original_scoped_assertions", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_assertions_bound", + "citations": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/discretization/fe_operators.py" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/discretization/test_fe_operators.py", + "symbol": "test_bernoulli_at_zero" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/discretization/test_fe_operators.py", + "symbol": "test_bernoulli_derivative_has_finite_asymptotic_limits" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/discretization/test_fe_operators.py", + "symbol": "test_bernoulli_derivative_matches_centered_difference" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/discretization/test_fe_operators.py", + "symbol": "test_bernoulli_large_negative" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/discretization/test_fe_operators.py", + "symbol": "test_bernoulli_large_positive" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/discretization/test_fe_operators.py", + "symbol": "test_bernoulli_symmetry" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/discretization/test_fe_operators.py", + "symbol": "test_sg_flux_n_equilibrium" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/discretization/test_fe_operators.py", + "symbol": "test_sg_flux_p_equilibrium" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/discretization/test_fe_operators.py", + "symbol": "test_vector_sg_face_jacobian_matches_independent_finite_difference" + } + ], + "original_evidence": [ + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/discretization/test_fe_operators.py", + "symbol": "test_bernoulli_at_zero" + }, + "test_node": "perovskite-sim/tests/unit/discretization/test_fe_operators.py::test_bernoulli_at_zero", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/discretization/test_fe_operators.py", + "symbol": "test_bernoulli_derivative_has_finite_asymptotic_limits" + }, + "test_node": "perovskite-sim/tests/unit/discretization/test_fe_operators.py::test_bernoulli_derivative_has_finite_asymptotic_limits", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/discretization/test_fe_operators.py", + "symbol": "test_bernoulli_derivative_matches_centered_difference" + }, + "test_node": "perovskite-sim/tests/unit/discretization/test_fe_operators.py::test_bernoulli_derivative_matches_centered_difference", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/discretization/test_fe_operators.py", + "symbol": "test_bernoulli_large_negative" + }, + "test_node": "perovskite-sim/tests/unit/discretization/test_fe_operators.py::test_bernoulli_large_negative", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/discretization/test_fe_operators.py", + "symbol": "test_bernoulli_large_positive" + }, + "test_node": "perovskite-sim/tests/unit/discretization/test_fe_operators.py::test_bernoulli_large_positive", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/discretization/test_fe_operators.py", + "symbol": "test_bernoulli_symmetry" + }, + "test_node": "perovskite-sim/tests/unit/discretization/test_fe_operators.py::test_bernoulli_symmetry", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/discretization/test_fe_operators.py", + "symbol": "test_sg_flux_n_equilibrium" + }, + "test_node": "perovskite-sim/tests/unit/discretization/test_fe_operators.py::test_sg_flux_n_equilibrium", + "scope_docstring": "Electron current is zero at thermal equilibrium.", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/discretization/test_fe_operators.py", + "symbol": "test_sg_flux_p_equilibrium" + }, + "test_node": "perovskite-sim/tests/unit/discretization/test_fe_operators.py::test_sg_flux_p_equilibrium", + "scope_docstring": "Hole current is zero at thermal equilibrium.", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/discretization/test_fe_operators.py", + "symbol": "test_vector_sg_face_jacobian_matches_independent_finite_difference" + }, + "test_node": "perovskite-sim/tests/unit/discretization/test_fe_operators.py::test_vector_sg_face_jacobian_matches_independent_finite_difference", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + } + ], + "call_chains": [], + "original_scope_limitations": "Scalar-vs-vector algebra crosscheck shares Bernoulli; retain analytic symmetry/asymptote checks rather than claiming full independent physics", + "active_contract": null, + "obligations": [ + { + "id": "new-source-oracle-c398ee1f8377a8ac", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/oracle-c398ee1f8377a8ac.json", + "tasks": [ + "P04-01", + "P00-03", + "P09-03" + ], + "gates": [ + "G0", + "G4", + "G9" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof", + "per-physical-observable units/norm/reference scale/zero policy and applicable original or prospectively frozen threshold; test truth values do not fill this field" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-070a24117b4b090c152b36ff", + "rule-80e491187e17ac663ee8a7ef", + "rule-520a658299abd0c26afd5cf4", + "rule-d14de7421cd5f61790e1dfbc", + "rule-444d90a987eac660434d94a4", + "rule-494f61fcdb6f0a0fa605b36b", + "rule-236728b69ef72b970698b8fd", + "rule-d781eddbcd1ea2b11400cd08", + "rule-1676e5e81057eb956a6e2145", + "rule-5f5ae68faef0a367c90e9336", + "rule-f324013f6ff4245942da0b02" + ], + "comparison_scope_id": "scope-oracle-c398ee1f8377a8ac" + }, + { + "capability_id": "oracle-a34b44c50d3476cf", + "route_id": "route-067b237d97b48d83", + "origin_key": "oracle:storage_low_bits", + "target": { + "capability_id": "oracle-a34b44c50d3476cf", + "scope_id": "oracle:storage_low_bits", + "kind": "original_scoped_assertions", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_assertions_bound", + "citations": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/physics/dynamic_storage.py" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_dynamic_storage.py", + "symbol": "test_invalid_increment_inputs_fail_closed" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_dynamic_storage.py", + "symbol": "test_log_density_increment_resolves_sub_ulp_relative_motion" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_dynamic_storage.py", + "symbol": "test_log_density_update_fixed_branch_and_large_negative_input" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_dynamic_storage.py", + "symbol": "test_log_density_update_matches_frozen_independent_trace_reference" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_dynamic_storage.py", + "symbol": "test_log_density_update_rejects_invalid_or_unrepresentable_density" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_dynamic_storage.py", + "symbol": "test_log_density_update_zero_scalar_shape_and_input_ownership" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_dynamic_storage.py", + "symbol": "test_logit_increment_matches_reconstructed_occupancy_change" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_dynamic_storage.py", + "symbol": "test_zero_coordinate_increment_is_exactly_zero" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_fixed_occupancy_capture_precision.py", + "symbol": "test_both_signs_survive_a_complement_rounded_to_one" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_fixed_occupancy_capture_precision.py", + "symbol": "test_disabled_capture_at_largest_finite_density" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_fixed_occupancy_capture_precision.py", + "symbol": "test_finite_density_domain_includes_values_outside_dd_range" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_fixed_occupancy_capture_precision.py", + "symbol": "test_log_density_tangent_matches_decimal_central_differences" + } + ], + "original_evidence": [ + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_dynamic_storage.py", + "symbol": "test_invalid_increment_inputs_fail_closed" + }, + "test_node": "perovskite-sim/tests/unit/physics/test_dynamic_storage.py::test_invalid_increment_inputs_fail_closed", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_dynamic_storage.py", + "symbol": "test_log_density_increment_resolves_sub_ulp_relative_motion" + }, + "test_node": "perovskite-sim/tests/unit/physics/test_dynamic_storage.py::test_log_density_increment_resolves_sub_ulp_relative_motion", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_dynamic_storage.py", + "symbol": "test_log_density_update_fixed_branch_and_large_negative_input" + }, + "test_node": "perovskite-sim/tests/unit/physics/test_dynamic_storage.py::test_log_density_update_fixed_branch_and_large_negative_input", + "scope_docstring": null, + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_dynamic_storage.py", + "symbol": "test_log_density_update_matches_frozen_independent_trace_reference" + }, + "test_node": "perovskite-sim/tests/unit/physics/test_dynamic_storage.py::test_log_density_update_matches_frozen_independent_trace_reference", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_dynamic_storage.py", + "symbol": "test_log_density_update_rejects_invalid_or_unrepresentable_density" + }, + "test_node": "perovskite-sim/tests/unit/physics/test_dynamic_storage.py::test_log_density_update_rejects_invalid_or_unrepresentable_density", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_dynamic_storage.py", + "symbol": "test_log_density_update_zero_scalar_shape_and_input_ownership" + }, + "test_node": "perovskite-sim/tests/unit/physics/test_dynamic_storage.py::test_log_density_update_zero_scalar_shape_and_input_ownership", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_dynamic_storage.py", + "symbol": "test_logit_increment_matches_reconstructed_occupancy_change" + }, + "test_node": "perovskite-sim/tests/unit/physics/test_dynamic_storage.py::test_logit_increment_matches_reconstructed_occupancy_change", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_dynamic_storage.py", + "symbol": "test_zero_coordinate_increment_is_exactly_zero" + }, + "test_node": "perovskite-sim/tests/unit/physics/test_dynamic_storage.py::test_zero_coordinate_increment_is_exactly_zero", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_fixed_occupancy_capture_precision.py", + "symbol": "test_both_signs_survive_a_complement_rounded_to_one" + }, + "test_node": "perovskite-sim/tests/unit/physics/test_fixed_occupancy_capture_precision.py::test_both_signs_survive_a_complement_rounded_to_one", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_fixed_occupancy_capture_precision.py", + "symbol": "test_disabled_capture_at_largest_finite_density" + }, + "test_node": "perovskite-sim/tests/unit/physics/test_fixed_occupancy_capture_precision.py::test_disabled_capture_at_largest_finite_density", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_fixed_occupancy_capture_precision.py", + "symbol": "test_finite_density_domain_includes_values_outside_dd_range" + }, + "test_node": "perovskite-sim/tests/unit/physics/test_fixed_occupancy_capture_precision.py::test_finite_density_domain_includes_values_outside_dd_range", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_fixed_occupancy_capture_precision.py", + "symbol": "test_log_density_tangent_matches_decimal_central_differences" + }, + "test_node": "perovskite-sim/tests/unit/physics/test_fixed_occupancy_capture_precision.py::test_log_density_tangent_matches_decimal_central_differences", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + } + ], + "call_chains": [], + "original_scope_limitations": "Frozen independent 90-digit references and sub-ULP increments; retain exact data and evaluation path", + "active_contract": null, + "obligations": [ + { + "id": "new-source-oracle-a34b44c50d3476cf", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/oracle-a34b44c50d3476cf.json", + "tasks": [ + "P02-08", + "P00-03", + "P09-03" + ], + "gates": [ + "G0", + "G2", + "G9" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof", + "per-physical-observable units/norm/reference scale/zero policy and applicable original or prospectively frozen threshold; test truth values do not fill this field" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-882d3c67220c7101d958e19d", + "rule-9e41a34790eb651b7d1b7f71", + "rule-7acfc0ff09b60eee4a1510f0", + "rule-448c74afc1b6eebc2f1c3a4e", + "rule-aef228aa7e4f58c5f5bb373c", + "rule-7b3d8fa541f5bde07455ab63", + "rule-bff9109e61326bba3bbb9981", + "rule-201eb87971f657fd3aae6c05", + "rule-4e6674951c58c14b81904ff8", + "rule-7aaec5e7251adf29a260184b", + "rule-8df0d4e0a43f487228754afc", + "rule-57a61c7580493b566fb91357", + "rule-67a9db39c0076ac09f49b626", + "rule-5791eb9906ebee8414f05cf6", + "rule-5e5d3fd8be236249f21f70d1", + "rule-57ec912a8b27c59b7c79c115", + "rule-e3860583b6542a058854c780", + "rule-b4e425ecac698a753d4132f6", + "rule-ebc355568c471d76369f5dcf", + "rule-6267f43825a2a5d7dd20031c", + "rule-185338b53e88724e6631e45b", + "rule-a9165e43a8f0ef07f9cff256", + "rule-eeab5808684cdf4e243b8780", + "rule-bee6c15ce2b33a0084569180", + "rule-364930f72905eefd1c9275f7", + "rule-84cd3c280c68f630871c899e", + "rule-c4ab76651b130c8512580b2f" + ], + "comparison_scope_id": "scope-oracle-a34b44c50d3476cf" + }, + { + "capability_id": "oracle-23a290eced9bdb76", + "route_id": "route-c7a4b568f42d617d", + "origin_key": "oracle:time_domain_lockin", + "target": { + "capability_id": "oracle-23a290eced9bdb76", + "scope_id": "oracle:time_domain_lockin", + "kind": "original_scoped_assertions", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_assertions_bound", + "citations": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/ion_aware_impedance_lockin.py" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_impedance_lockin.py", + "symbol": "test_exact_dc_transient_lockin_matches_frequency_domain_ionic_points" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py", + "symbol": "test_lockin_crosscheck_certifies_each_numerical_axis" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py", + "symbol": "test_lockin_crosscheck_rejects_replaced_dc_state_before_transient" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py", + "symbol": "test_lockin_protocol_round_trip_binds_exact_reference" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py", + "symbol": "test_lockin_protocol_schema_and_frequency_subset_fail_closed" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py", + "symbol": "test_tighter_preregistered_agreement_gate_returns_failed_evidence" + } + ], + "original_evidence": [ + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_impedance_lockin.py", + "symbol": "test_exact_dc_transient_lockin_matches_frequency_domain_ionic_points" + }, + "test_node": "perovskite-sim/tests/integration/test_ion_aware_impedance_lockin.py::test_exact_dc_transient_lockin_matches_frequency_domain_ionic_points", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py", + "symbol": "test_lockin_crosscheck_certifies_each_numerical_axis" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py::test_lockin_crosscheck_certifies_each_numerical_axis", + "scope_docstring": null, + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py", + "symbol": "test_lockin_crosscheck_rejects_replaced_dc_state_before_transient" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py::test_lockin_crosscheck_rejects_replaced_dc_state_before_transient", + "scope_docstring": null, + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py", + "symbol": "test_lockin_protocol_round_trip_binds_exact_reference" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py::test_lockin_protocol_round_trip_binds_exact_reference", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py", + "symbol": "test_lockin_protocol_schema_and_frequency_subset_fail_closed" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py::test_lockin_protocol_schema_and_frequency_subset_fail_closed", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py", + "symbol": "test_tighter_preregistered_agreement_gate_returns_failed_evidence" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py::test_tighter_preregistered_agreement_gate_returns_failed_evidence", + "scope_docstring": null, + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + } + ], + "call_chains": [], + "original_scope_limitations": "Time-domain AC oracle vs direct frequency solve; same underlying physics, independent time/frequency discretization only", + "active_contract": null, + "obligations": [ + { + "id": "new-source-oracle-23a290eced9bdb76", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/oracle-23a290eced9bdb76.json", + "tasks": [ + "P05-03", + "P00-03", + "P09-03" + ], + "gates": [ + "G0", + "G5", + "G9" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof", + "per-physical-observable units/norm/reference scale/zero policy and applicable original or prospectively frozen threshold; test truth values do not fill this field" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-85729d498ece81cf5b78d7c2", + "rule-8095cfedb30acb45caff4cbf", + "rule-818fe89d5cf2947f1732e0ce", + "rule-4b6b34f228e63c09a52646d6", + "rule-9bb1c11d3f772629c48ebf9e", + "rule-bbeac907b852a70ac36313e0", + "rule-98a15f1a58f8051f4b60fe92", + "rule-d02d03c41bcc2360132f215a", + "rule-dd5c42d40da3c595ac051c72", + "rule-9a5c48adfd39f69a9ae5acea", + "rule-474a559975705b55312f1e0a", + "rule-49236dd662bad1ea7b815011", + "rule-2088fdd181a8cca7977c805b", + "rule-026e6e03a2991579984c81a2", + "rule-5f23d2ebc86859984003d23d", + "rule-ba63ba8138e3e32ddb392a08", + "rule-7ee998cac7293077865576b4", + "rule-e4cbb12654b64b29b5186946", + "rule-0c9c870bbc674311e11273fc", + "rule-984ba9aa291e68e38af940a9", + "rule-cd3658935b3a53dde10079b8", + "rule-37bb7ebfa7de4f12c344238d", + "rule-454d309829a28684fdb98f24", + "rule-f8fa65f00b5fdac1719ddcdb", + "rule-8a1b0617808a3911a60a701a", + "rule-80076324e4f990f38d845ebc", + "rule-b407e56eb61a3f9016802ec1", + "rule-3c459c0bfa3b043dd8366180", + "rule-2e6db00612fd2bfb23c273e9", + "rule-49f4a68eb79c4649c4484a60", + "rule-500f51cd12a764cbaecef237", + "rule-937833f603c2903b77ca6953", + "rule-4505cd2007568296b8dcbfcd", + "rule-6d94b4b51d3a1eebe3868be3", + "rule-21fc8c84d0be5abe3b92ee4f", + "rule-5b82c76817e22c952eca29c6", + "rule-46c6cd96015a9bb70d94d255", + "rule-765fcbadfbcc7dea4c7e3bec" + ], + "comparison_scope_id": "scope-oracle-23a290eced9bdb76" + }, + { + "capability_id": "oracle-798d4d77d48ec274", + "route_id": "route-4e41c98b007cfc2f", + "origin_key": "oracle:twod_uniform", + "target": { + "capability_id": "oracle-798d4d77d48ec274", + "scope_id": "oracle:twod_uniform", + "kind": "original_scoped_assertions", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_assertions_bound", + "citations": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/refinement_executors.py" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/twod/test_jv_sweep_2d_microstructure.py", + "symbol": "test_jv_sweep_2d_singleGB_runs_to_completion" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/twod/test_jv_sweep_2d_uniform.py", + "symbol": "test_jv_sweep_2d_has_nontrivial_photocurrent" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/twod/test_jv_sweep_2d_uniform.py", + "symbol": "test_jv_sweep_2d_returns_finite_result" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/twod/test_voc_grain_sweep.py", + "symbol": "test_voc_grain_sweep_monotone_in_Lg" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/twod/test_contact_boundary_semantics.py", + "symbol": "test_all_blocking_contacts_conserve_carriers_apart_from_generation_and_recombination" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/twod/test_contact_boundary_semantics.py", + "symbol": "test_every_resolved_contact_matches_one_dimension" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/twod/test_contact_boundary_semantics.py", + "symbol": "test_execution_protocol_includes_explicit_flat_band_contact_kinetics" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/twod/test_contact_boundary_semantics.py", + "symbol": "test_increasing_exchange_velocity_approaches_fixed_reservoirs" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/twod/test_contact_boundary_semantics.py", + "symbol": "test_mixed_contact_transient_approaches_the_same_one_dimensional_limit" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/twod/test_contact_boundary_semantics.py", + "symbol": "test_only_the_selected_contact_evolves" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/twod/test_contact_boundary_semantics.py", + "symbol": "test_reversing_contact_orientation_preserves_the_signed_poisson_boundary" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/twod/test_contact_boundary_semantics.py", + "symbol": "test_rhs_and_snapshot_use_fixed_reservoir_values_without_mutating_input" + } + ], + "original_evidence": [ + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/twod/test_jv_sweep_2d_microstructure.py", + "symbol": "test_jv_sweep_2d_singleGB_runs_to_completion" + }, + "test_node": "perovskite-sim/tests/integration/twod/test_jv_sweep_2d_microstructure.py::test_jv_sweep_2d_singleGB_runs_to_completion", + "scope_docstring": "End-to-end Stage-B smoke test: run_jv_sweep_2d on the singleGB preset\nmust accept microstructure=None (auto-pickup from stack.microstructure),\nfinish without solver blow-up, and exhibit measurable τ heterogeneity at\nthe GB column relative to the bulk column at V=0.", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/twod/test_jv_sweep_2d_uniform.py", + "symbol": "test_jv_sweep_2d_has_nontrivial_photocurrent" + }, + "test_node": "perovskite-sim/tests/integration/twod/test_jv_sweep_2d_uniform.py::test_jv_sweep_2d_has_nontrivial_photocurrent", + "scope_docstring": "Illuminated J(V=0) magnitude should be substantial (>10 A/m²) on a real\nperovskite preset. Sign convention is solver-dependent; we only check\nmagnitude here. Stage-A validation gate (Task 11) will pin the sign by\ncomparing to 1D.", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/twod/test_jv_sweep_2d_uniform.py", + "symbol": "test_jv_sweep_2d_returns_finite_result" + }, + "test_node": "perovskite-sim/tests/integration/twod/test_jv_sweep_2d_uniform.py::test_jv_sweep_2d_returns_finite_result", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/twod/test_voc_grain_sweep.py", + "symbol": "test_voc_grain_sweep_monotone_in_Lg" + }, + "test_node": "perovskite-sim/tests/integration/twod/test_voc_grain_sweep.py::test_voc_grain_sweep_monotone_in_Lg", + "scope_docstring": "V_oc should grow as L_g grows (more bulk-like behaviour: a single\ncentred GB takes a smaller relative fraction of the lateral domain).", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/twod/test_contact_boundary_semantics.py", + "symbol": "test_all_blocking_contacts_conserve_carriers_apart_from_generation_and_recombination" + }, + "test_node": "perovskite-sim/tests/unit/twod/test_contact_boundary_semantics.py::test_all_blocking_contacts_conserve_carriers_apart_from_generation_and_recombination", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/twod/test_contact_boundary_semantics.py", + "symbol": "test_every_resolved_contact_matches_one_dimension" + }, + "test_node": "perovskite-sim/tests/unit/twod/test_contact_boundary_semantics.py::test_every_resolved_contact_matches_one_dimension", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/twod/test_contact_boundary_semantics.py", + "symbol": "test_execution_protocol_includes_explicit_flat_band_contact_kinetics" + }, + "test_node": "perovskite-sim/tests/unit/twod/test_contact_boundary_semantics.py::test_execution_protocol_includes_explicit_flat_band_contact_kinetics", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/twod/test_contact_boundary_semantics.py", + "symbol": "test_increasing_exchange_velocity_approaches_fixed_reservoirs" + }, + "test_node": "perovskite-sim/tests/unit/twod/test_contact_boundary_semantics.py::test_increasing_exchange_velocity_approaches_fixed_reservoirs", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/twod/test_contact_boundary_semantics.py", + "symbol": "test_mixed_contact_transient_approaches_the_same_one_dimensional_limit" + }, + "test_node": "perovskite-sim/tests/unit/twod/test_contact_boundary_semantics.py::test_mixed_contact_transient_approaches_the_same_one_dimensional_limit", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/twod/test_contact_boundary_semantics.py", + "symbol": "test_only_the_selected_contact_evolves" + }, + "test_node": "perovskite-sim/tests/unit/twod/test_contact_boundary_semantics.py::test_only_the_selected_contact_evolves", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/twod/test_contact_boundary_semantics.py", + "symbol": "test_reversing_contact_orientation_preserves_the_signed_poisson_boundary" + }, + "test_node": "perovskite-sim/tests/unit/twod/test_contact_boundary_semantics.py::test_reversing_contact_orientation_preserves_the_signed_poisson_boundary", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/twod/test_contact_boundary_semantics.py", + "symbol": "test_rhs_and_snapshot_use_fixed_reservoir_values_without_mutating_input" + }, + "test_node": "perovskite-sim/tests/unit/twod/test_contact_boundary_semantics.py::test_rhs_and_snapshot_use_fixed_reservoir_values_without_mutating_input", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + } + ], + "call_chains": [], + "original_scope_limitations": "Uniform 1D-limit and analytic area/current comparisons; 1D and 2D still share material builder so additional independent refinement is required", + "active_contract": null, + "obligations": [ + { + "id": "new-source-oracle-798d4d77d48ec274", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/oracle-798d4d77d48ec274.json", + "tasks": [ + "P06-03", + "P00-03", + "P09-03" + ], + "gates": [ + "G0", + "G6", + "G9" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof", + "per-physical-observable units/norm/reference scale/zero policy and applicable original or prospectively frozen threshold; test truth values do not fill this field" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-5b059486b53c0163cf3237e1", + "rule-4f4741efd8141168bb248fff", + "rule-668a1302de81ffacd9f6bacd", + "rule-f132ad8d4982215e8c025349", + "rule-02681efe2b124de9d4ad016f", + "rule-be24015e0b77410009fc0805", + "rule-e30feb0cbc54d28146f47d64", + "rule-2aac60a36933dfb1d4859b9d", + "rule-8e29fe184069a5798defaad6", + "rule-097ad3f971c93a3165036e9c", + "rule-fb7be61c2c216c19d4a5fc41", + "rule-c3f345e30c334eeaede6fdaa", + "rule-127dc917c3189c0b1966b899", + "rule-6d8ad18cf3eb18ac169341f5", + "rule-7c43da406bf7a5ecbb17b65f", + "rule-4a5412d26652f4b99c542915", + "rule-10fc0cd3b27dbce0f4dbdb7c", + "rule-563fdf4309ea3c29c5fa6abc", + "rule-05c06641770788acc99815c2", + "rule-5cea7c16f6c5c42fe11826cd", + "rule-f77a6ef4f621af88b7e4aa84", + "rule-8de8015840afbb8838a9d894", + "rule-f21d1b9fa0cab6239689fb41", + "rule-da7f3fc6778aa7f633bfba9a", + "rule-fd57821fbb1be5b3ab029187", + "rule-18c17202542cd53f1f006b23", + "rule-53a23a977b827f5221441a80", + "rule-63568abdd9afcd8a379a5890", + "rule-cf4d54443f343839bfce9983", + "rule-80e14f99d2c59974fbcabfde", + "rule-6a16d5bc162b58859b860461", + "rule-c696878cfd4e12a336e3e144", + "rule-9637273f0e649eba421000a5", + "rule-79ab24929579c388018a8971", + "rule-5978e74974da6edd110b9a1d", + "rule-70fd7ed041a10c9483cac9b2", + "rule-2813f9dca5147e811147df40", + "rule-e55e13200aa0a62b61506997", + "rule-e559d3d90af77f207132cb28", + "rule-c5bda86a6e0f77fdf6087cb9", + "rule-11bee177a90cd6a9e6c4b158", + "rule-b6a54292ccff1f7890f4ce86", + "rule-f29196b48c9bf73fa606acc7", + "rule-3228683a2fae8fb4105d9576", + "rule-4cf91e44769198113be22d05", + "rule-b8daf4eb48ef9f3629dc7bc6", + "rule-b8e45fe851df9007afba30ed" + ], + "comparison_scope_id": "scope-oracle-798d4d77d48ec274" + }, + { + "capability_id": "experiment-0b68a79f94a0d4b1", + "route_id": "route-5ca82577dfe50181", + "origin_key": "experiment:perovskite_sim.experiments.band_diagram.compute_band_diagram", + "target": { + "capability_id": "experiment-0b68a79f94a0d4b1", + "scope_id": "experiment:perovskite_sim.experiments.band_diagram.compute_band_diagram", + "kind": "original_scoped_assertions", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_assertions_bound", + "citations": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/band_diagram.py", + "symbol": "compute_band_diagram" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_heterojunction_dark_equilibrium.py", + "symbol": "test_inline_quasi_fermi_matches_compute_band_diagram" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_band_diagram.py", + "symbol": "test_band_offsets_match_config" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_band_diagram.py", + "symbol": "test_equilibrium_fermi_level_is_flat" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_band_diagram.py", + "symbol": "test_missing_dos_data_raises" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_band_diagram.py", + "symbol": "test_quasi_fermi_splitting_equals_qV" + } + ], + "original_evidence": [ + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_heterojunction_dark_equilibrium.py", + "symbol": "test_inline_quasi_fermi_matches_compute_band_diagram" + }, + "test_node": "perovskite-sim/tests/integration/test_heterojunction_dark_equilibrium.py::test_inline_quasi_fermi_matches_compute_band_diagram", + "scope_docstring": "Pin the private-API reuse: the settle-once optimisation used by this file\nmust reproduce the shipped ``compute_band_diagram`` bit for bit.", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_band_diagram.py", + "symbol": "test_band_offsets_match_config" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_band_diagram.py::test_band_offsets_match_config", + "scope_docstring": "E_C and E_V edges reflect the configured electron affinity and bandgap.", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_band_diagram.py", + "symbol": "test_equilibrium_fermi_level_is_flat" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_band_diagram.py::test_equilibrium_fermi_level_is_flat", + "scope_docstring": "At the zero-current dark equilibrium the quasi-Fermi levels coincide into a\nsingle flat E_F (the defining thermodynamic invariant).", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_band_diagram.py", + "symbol": "test_missing_dos_data_raises" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_band_diagram.py::test_missing_dos_data_raises", + "scope_docstring": "A config without effective-DOS data cannot define quasi-Fermi levels.", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_band_diagram.py", + "symbol": "test_quasi_fermi_splitting_equals_qV" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_band_diagram.py::test_quasi_fermi_splitting_equals_qV", + "scope_docstring": "Under illumination at V, the absorber quasi-Fermi splitting E_Fn - E_Fp\nequals qV (the operating-point invariant).", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + } + ], + "call_chains": [ + { + "test": "tests.integration.test_heterojunction_dark_equilibrium.test_inline_quasi_fermi_matches_compute_band_diagram", + "edges": [ + { + "caller": "tests.integration.test_heterojunction_dark_equilibrium.test_inline_quasi_fermi_matches_compute_band_diagram", + "callee": "perovskite_sim.experiments.band_diagram.compute_band_diagram", + "line": 591, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_band_diagram.test_band_offsets_match_config", + "edges": [ + { + "caller": "tests.unit.experiments.test_band_diagram.test_band_offsets_match_config", + "callee": "perovskite_sim.experiments.band_diagram.compute_band_diagram", + "line": 89, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_band_diagram.test_equilibrium_fermi_level_is_flat", + "edges": [ + { + "caller": "tests.unit.experiments.test_band_diagram.test_equilibrium_fermi_level_is_flat", + "callee": "perovskite_sim.experiments.band_diagram.compute_band_diagram", + "line": 58, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_band_diagram.test_missing_dos_data_raises", + "edges": [ + { + "caller": "tests.unit.experiments.test_band_diagram.test_missing_dos_data_raises", + "callee": "perovskite_sim.experiments.band_diagram.compute_band_diagram", + "line": 104, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_band_diagram.test_quasi_fermi_splitting_equals_qV", + "edges": [ + { + "caller": "tests.unit.experiments.test_band_diagram.test_quasi_fermi_splitting_equals_qV", + "callee": "perovskite_sim.experiments.band_diagram.compute_band_diagram", + "line": 81, + "kind": "call" + } + ] + } + ], + "original_scope_limitations": null, + "active_contract": null, + "obligations": [ + { + "id": "new-source-experiment-0b68a79f94a0d4b1", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-0b68a79f94a0d4b1.json", + "tasks": [ + "P05-01", + "P05-05" + ], + "gates": [ + "G5" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof", + "per-physical-observable units/norm/reference scale/zero policy and applicable original or prospectively frozen threshold; test truth values do not fill this field", + "the applicable gauge/CV/log-density/inventory or complex/circular-phase comparator with physical units; no generic scalar substitute" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-597d8efd0578cd4038bd7b66", + "rule-2998c582cd5bd48f253204e0", + "rule-8fcc139affcef511e8935b2d", + "rule-6e359b20af87202297883388", + "rule-a5180fc54da08bebf2385eec", + "rule-058711be5f2ebbc6fb2040af", + "rule-f90173e41f87703eb604cc79", + "rule-28efb0a2d095f6ba4f6fbe35", + "rule-997b2c054a2d50ef9f8043e3", + "rule-501ebe43fe82e419a26871ec", + "rule-d6a0f91e8be63510105ca85b" + ], + "comparison_scope_id": "scope-experiment-0b68a79f94a0d4b1" + }, + { + "capability_id": "experiment-ad1acb5693be96d2", + "route_id": "route-6099117639558322", + "origin_key": "experiment:perovskite_sim.experiments.bulk_defect_ion_transient.run_bulk_defect_ion_device_transient", + "target": { + "capability_id": "experiment-ad1acb5693be96d2", + "scope_id": "experiment:perovskite_sim.experiments.bulk_defect_ion_transient.run_bulk_defect_ion_device_transient", + "kind": "original_scoped_assertions", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_assertions_bound", + "citations": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/bulk_defect_ion_transient.py", + "symbol": "run_bulk_defect_ion_device_transient" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_bulk_defect_ion_transient.py", + "symbol": "test_bulk_terminal_charge_uses_the_interior_face_control_volume" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_bulk_defect_ion_transient.py", + "symbol": "test_interface_defect_is_reserved_for_e3b" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_bulk_defect_ion_transient.py", + "symbol": "test_missing_explicit_bulk_defect_fails_before_integration" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_bulk_defect_ion_transient.py", + "symbol": "test_missing_mobile_ion_fails_before_integration" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_bulk_defect_ion_transient.py", + "symbol": "test_dual_and_negative_only_ion_layouts_keep_separate_inventories" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_bulk_defect_ion_transient.py", + "symbol": "test_overstrict_inventory_gate_returns_partial_or_fails_closed" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_bulk_defect_ion_transient.py", + "symbol": "test_positive_ion_and_bulk_trap_share_one_certified_sparse_dae" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_bulk_defect_ion_transient.py", + "symbol": "test_pre_clipping_site_ceiling_fails_closed" + } + ], + "original_evidence": [ + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_bulk_defect_ion_transient.py", + "symbol": "test_bulk_terminal_charge_uses_the_interior_face_control_volume" + }, + "test_node": "perovskite-sim/tests/integration/test_bulk_defect_ion_transient.py::test_bulk_terminal_charge_uses_the_interior_face_control_volume", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_bulk_defect_ion_transient.py", + "symbol": "test_interface_defect_is_reserved_for_e3b" + }, + "test_node": "perovskite-sim/tests/integration/test_bulk_defect_ion_transient.py::test_interface_defect_is_reserved_for_e3b", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_bulk_defect_ion_transient.py", + "symbol": "test_missing_explicit_bulk_defect_fails_before_integration" + }, + "test_node": "perovskite-sim/tests/integration/test_bulk_defect_ion_transient.py::test_missing_explicit_bulk_defect_fails_before_integration", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_bulk_defect_ion_transient.py", + "symbol": "test_missing_mobile_ion_fails_before_integration" + }, + "test_node": "perovskite-sim/tests/integration/test_bulk_defect_ion_transient.py::test_missing_mobile_ion_fails_before_integration", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_bulk_defect_ion_transient.py", + "symbol": "test_dual_and_negative_only_ion_layouts_keep_separate_inventories" + }, + "test_node": "perovskite-sim/tests/integration/test_bulk_defect_ion_transient.py::test_dual_and_negative_only_ion_layouts_keep_separate_inventories", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_bulk_defect_ion_transient.py", + "symbol": "test_overstrict_inventory_gate_returns_partial_or_fails_closed" + }, + "test_node": "perovskite-sim/tests/integration/test_bulk_defect_ion_transient.py::test_overstrict_inventory_gate_returns_partial_or_fails_closed", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_bulk_defect_ion_transient.py", + "symbol": "test_positive_ion_and_bulk_trap_share_one_certified_sparse_dae" + }, + "test_node": "perovskite-sim/tests/integration/test_bulk_defect_ion_transient.py::test_positive_ion_and_bulk_trap_share_one_certified_sparse_dae", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_bulk_defect_ion_transient.py", + "symbol": "test_pre_clipping_site_ceiling_fails_closed" + }, + "test_node": "perovskite-sim/tests/integration/test_bulk_defect_ion_transient.py::test_pre_clipping_site_ceiling_fails_closed", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + } + ], + "call_chains": [ + { + "test": "tests.integration.test_bulk_defect_ion_transient.test_bulk_terminal_charge_uses_the_interior_face_control_volume", + "edges": [ + { + "caller": "tests.integration.test_bulk_defect_ion_transient.test_bulk_terminal_charge_uses_the_interior_face_control_volume", + "callee": "perovskite_sim.experiments.bulk_defect_ion_transient.run_bulk_defect_ion_device_transient", + "line": 113, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_bulk_defect_ion_transient.test_interface_defect_is_reserved_for_e3b", + "edges": [ + { + "caller": "tests.integration.test_bulk_defect_ion_transient.test_interface_defect_is_reserved_for_e3b", + "callee": "perovskite_sim.experiments.bulk_defect_ion_transient.run_bulk_defect_ion_device_transient", + "line": 300, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_bulk_defect_ion_transient.test_missing_explicit_bulk_defect_fails_before_integration", + "edges": [ + { + "caller": "tests.integration.test_bulk_defect_ion_transient.test_missing_explicit_bulk_defect_fails_before_integration", + "callee": "perovskite_sim.experiments.bulk_defect_ion_transient.run_bulk_defect_ion_device_transient", + "line": 288, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_bulk_defect_ion_transient.test_missing_mobile_ion_fails_before_integration", + "edges": [ + { + "caller": "tests.integration.test_bulk_defect_ion_transient.test_missing_mobile_ion_fails_before_integration", + "callee": "perovskite_sim.experiments.bulk_defect_ion_transient.run_bulk_defect_ion_device_transient", + "line": 261, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_bulk_defect_ion_transient.test_dual_and_negative_only_ion_layouts_keep_separate_inventories", + "edges": [ + { + "caller": "tests.integration.test_bulk_defect_ion_transient.test_dual_and_negative_only_ion_layouts_keep_separate_inventories", + "callee": "tests.integration.test_bulk_defect_ion_transient._run", + "line": 181, + "kind": "call" + }, + { + "caller": "tests.integration.test_bulk_defect_ion_transient._run", + "callee": "perovskite_sim.experiments.bulk_defect_ion_transient.run_bulk_defect_ion_device_transient", + "line": 59, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_bulk_defect_ion_transient.test_overstrict_inventory_gate_returns_partial_or_fails_closed", + "edges": [ + { + "caller": "tests.integration.test_bulk_defect_ion_transient.test_overstrict_inventory_gate_returns_partial_or_fails_closed", + "callee": "tests.integration.test_bulk_defect_ion_transient._run", + "line": 228, + "kind": "call" + }, + { + "caller": "tests.integration.test_bulk_defect_ion_transient._run", + "callee": "perovskite_sim.experiments.bulk_defect_ion_transient.run_bulk_defect_ion_device_transient", + "line": 59, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_bulk_defect_ion_transient.test_positive_ion_and_bulk_trap_share_one_certified_sparse_dae", + "edges": [ + { + "caller": "tests.integration.test_bulk_defect_ion_transient.test_positive_ion_and_bulk_trap_share_one_certified_sparse_dae", + "callee": "tests.integration.test_bulk_defect_ion_transient._run", + "line": 69, + "kind": "call" + }, + { + "caller": "tests.integration.test_bulk_defect_ion_transient._run", + "callee": "perovskite_sim.experiments.bulk_defect_ion_transient.run_bulk_defect_ion_device_transient", + "line": 59, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_bulk_defect_ion_transient.test_pre_clipping_site_ceiling_fails_closed", + "edges": [ + { + "caller": "tests.integration.test_bulk_defect_ion_transient.test_pre_clipping_site_ceiling_fails_closed", + "callee": "tests.integration.test_bulk_defect_ion_transient._run", + "line": 241, + "kind": "call" + }, + { + "caller": "tests.integration.test_bulk_defect_ion_transient._run", + "callee": "perovskite_sim.experiments.bulk_defect_ion_transient.run_bulk_defect_ion_device_transient", + "line": 59, + "kind": "call" + } + ] + } + ], + "original_scope_limitations": null, + "active_contract": null, + "obligations": [ + { + "id": "new-source-experiment-ad1acb5693be96d2", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-ad1acb5693be96d2.json", + "tasks": [ + "P04-08", + "P04-10", + "P05-01", + "P05-04" + ], + "gates": [ + "G4", + "G5" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof", + "per-physical-observable units/norm/reference scale/zero policy and applicable original or prospectively frozen threshold; test truth values do not fill this field" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-9e5235f1395472e9375f6d2f", + "rule-e67a58e84b4151d039c5d5d5", + "rule-b865725c925b7f2be13b3422", + "rule-3786c94bbb0d6bc79562c525", + "rule-86f73e5e611de07486877f11", + "rule-0431918336b4ac708cd712ff", + "rule-22469e569c78d80d097fcdf1", + "rule-6d0cb6ca27d011c547b07911", + "rule-99fecaee6f1e9d1282b1fcc2", + "rule-94fde3dc0f358725c3752ecb", + "rule-90adf38246a9c3845cb4efb7", + "rule-85d9544611f6060df8778a5d", + "rule-37d391e8df7246a183b46caa", + "rule-5baee588cff61e986fadfa9d", + "rule-3c522fbbfbc8895935ae5ec8", + "rule-bec69e4bdad54d4ddf3cfd69", + "rule-b3af88ee181d85f4572085c2", + "rule-0e9826e93abfe29d89947863", + "rule-3f1ee4ca77374199c095c312", + "rule-a3204c4b466eb625a00c6db4", + "rule-809c7ca98948bdf6315dd83d", + "rule-97bb5f984bd0bbf314e23cab", + "rule-c7805d5fc4754ab543f84719", + "rule-49a5fa186ee1cde3baa2e589", + "rule-15ff70754843394a9b25cd6d", + "rule-6951f746d50f60c99ed60b23", + "rule-f1dfd1ac099014883b1b8dde", + "rule-aec951b2185150be61e1c96c", + "rule-ad90b867a62caecc3ee4de47", + "rule-8509184a402b902ba6e1c2c0", + "rule-8ca8cad87bd02298608e7505", + "rule-cea70ec6f53833a98e41293a" + ], + "comparison_scope_id": "scope-experiment-ad1acb5693be96d2" + }, + { + "capability_id": "experiment-ba216e01ceaa8b2a", + "route_id": "route-7fdd0a08afe81954", + "origin_key": "experiment:perovskite_sim.experiments.bulk_defect_transient.run_bulk_defect_device_transient", + "target": { + "capability_id": "experiment-ba216e01ceaa8b2a", + "scope_id": "experiment:perovskite_sim.experiments.bulk_defect_transient.run_bulk_defect_device_transient", + "kind": "original_scoped_assertions", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_assertions_bound", + "citations": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/bulk_defect_transient.py", + "symbol": "run_bulk_defect_device_transient" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_bulk_defect_transient.py", + "symbol": "test_device_transient_rejects_lifetime_only_material_before_integration" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_multivalent_explicit_defects_qf.py", + "symbol": "test_dynamic_ac_and_transient_lanes_fail_closed_for_multivalent" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_bulk_defect_transient.py", + "symbol": "test_device_transient_certifies_sparse_charge_current_closure" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_bulk_defect_transient.py", + "symbol": "test_fast_and_slow_capture_recover_qss_and_frozen_occupancy_limits" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_bulk_defect_transient.py", + "symbol": "test_overstrict_evidence_gate_returns_partial_or_fails_closed" + } + ], + "original_evidence": [ + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_bulk_defect_transient.py", + "symbol": "test_device_transient_rejects_lifetime_only_material_before_integration" + }, + "test_node": "perovskite-sim/tests/integration/test_bulk_defect_transient.py::test_device_transient_rejects_lifetime_only_material_before_integration", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_multivalent_explicit_defects_qf.py", + "symbol": "test_dynamic_ac_and_transient_lanes_fail_closed_for_multivalent" + }, + "test_node": "perovskite-sim/tests/integration/test_multivalent_explicit_defects_qf.py::test_dynamic_ac_and_transient_lanes_fail_closed_for_multivalent", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_bulk_defect_transient.py", + "symbol": "test_device_transient_certifies_sparse_charge_current_closure" + }, + "test_node": "perovskite-sim/tests/integration/test_bulk_defect_transient.py::test_device_transient_certifies_sparse_charge_current_closure", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_bulk_defect_transient.py", + "symbol": "test_fast_and_slow_capture_recover_qss_and_frozen_occupancy_limits" + }, + "test_node": "perovskite-sim/tests/integration/test_bulk_defect_transient.py::test_fast_and_slow_capture_recover_qss_and_frozen_occupancy_limits", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_bulk_defect_transient.py", + "symbol": "test_overstrict_evidence_gate_returns_partial_or_fails_closed" + }, + "test_node": "perovskite-sim/tests/integration/test_bulk_defect_transient.py::test_overstrict_evidence_gate_returns_partial_or_fails_closed", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + } + ], + "call_chains": [ + { + "test": "tests.integration.test_bulk_defect_transient.test_device_transient_rejects_lifetime_only_material_before_integration", + "edges": [ + { + "caller": "tests.integration.test_bulk_defect_transient.test_device_transient_rejects_lifetime_only_material_before_integration", + "callee": "perovskite_sim.experiments.bulk_defect_transient.run_bulk_defect_device_transient", + "line": 218, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_multivalent_explicit_defects_qf.test_dynamic_ac_and_transient_lanes_fail_closed_for_multivalent", + "edges": [ + { + "caller": "tests.integration.test_multivalent_explicit_defects_qf.test_dynamic_ac_and_transient_lanes_fail_closed_for_multivalent", + "callee": "perovskite_sim.experiments.bulk_defect_transient.run_bulk_defect_device_transient", + "line": 1190, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_bulk_defect_transient.test_device_transient_certifies_sparse_charge_current_closure", + "edges": [ + { + "caller": "tests.integration.test_bulk_defect_transient.test_device_transient_certifies_sparse_charge_current_closure", + "callee": "tests.integration.test_bulk_defect_transient._run", + "line": 146, + "kind": "call" + }, + { + "caller": "tests.integration.test_bulk_defect_transient._run", + "callee": "perovskite_sim.experiments.bulk_defect_transient.run_bulk_defect_device_transient", + "line": 127, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_bulk_defect_transient.test_fast_and_slow_capture_recover_qss_and_frozen_occupancy_limits", + "edges": [ + { + "caller": "tests.integration.test_bulk_defect_transient.test_fast_and_slow_capture_recover_qss_and_frozen_occupancy_limits", + "callee": "tests.integration.test_bulk_defect_transient._run", + "line": 181, + "kind": "call" + }, + { + "caller": "tests.integration.test_bulk_defect_transient._run", + "callee": "perovskite_sim.experiments.bulk_defect_transient.run_bulk_defect_device_transient", + "line": 127, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_bulk_defect_transient.test_overstrict_evidence_gate_returns_partial_or_fails_closed", + "edges": [ + { + "caller": "tests.integration.test_bulk_defect_transient.test_overstrict_evidence_gate_returns_partial_or_fails_closed", + "callee": "tests.integration.test_bulk_defect_transient._run", + "line": 205, + "kind": "call" + }, + { + "caller": "tests.integration.test_bulk_defect_transient._run", + "callee": "perovskite_sim.experiments.bulk_defect_transient.run_bulk_defect_device_transient", + "line": 127, + "kind": "call" + } + ] + } + ], + "original_scope_limitations": null, + "active_contract": null, + "obligations": [ + { + "id": "new-source-experiment-ba216e01ceaa8b2a", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-ba216e01ceaa8b2a.json", + "tasks": [ + "P04-10", + "P05-01", + "P05-04" + ], + "gates": [ + "G4", + "G5" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof", + "per-physical-observable units/norm/reference scale/zero policy and applicable original or prospectively frozen threshold; test truth values do not fill this field" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-662ece9b17306357cb6926ef", + "rule-6b41caacceab2885fa61b0b6", + "rule-2ea687029be51ffb9f97a39e", + "rule-55eb33fd940ebc56e6c9f2de", + "rule-ecf956c3e2b300348d4f7bfc", + "rule-17a05072d77641fc2437333c", + "rule-5a40744a0c64600497f82d0d", + "rule-c1294e7cbe0e5ad33b701ebd", + "rule-3c3e41cb565286fc60d19cf6", + "rule-dc32413f2b0aafbb7490f8e0", + "rule-400a5773d69b3cee3e51ffa1", + "rule-d9f169018266e6dce8ecd03a", + "rule-e4f160a0b88b53b2f4abc65d", + "rule-161ad52e98aaeb3a73edcf78", + "rule-9efce2c9a94d4937ea76eeef", + "rule-cc8d52590602892217d46af6", + "rule-50b530a252642a92f8908758", + "rule-bf61f153db44e9c7121784d3", + "rule-9b41b863376dfd650feb84ce", + "rule-65e990212d32b3c5ea5facae", + "rule-663fbb6b6eac7fc99c405d9d", + "rule-744f61b6fa458a4c7d1d9f92", + "rule-b8f3df8c3a4f40147b765d72" + ], + "comparison_scope_id": "scope-experiment-ba216e01ceaa8b2a" + }, + { + "capability_id": "experiment-310cf19000c8ed90", + "route_id": "route-ab8776e954576856", + "origin_key": "experiment:perovskite_sim.experiments.cbo_scan.solve_interface_cbo_scan", + "target": { + "capability_id": "experiment-310cf19000c8ed90", + "scope_id": "experiment:perovskite_sim.experiments.cbo_scan.solve_interface_cbo_scan", + "kind": "original_scoped_assertions", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_assertions_bound", + "citations": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/cbo_scan.py", + "symbol": "solve_interface_cbo_scan" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_cbo_scan.py", + "symbol": "test_adaptive_full_jv_refines_ff_and_pce_without_duplicate_solves" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_cbo_scan.py", + "symbol": "test_adaptive_full_jv_requires_metrics_and_rejects_unknown_names" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_cbo_scan.py", + "symbol": "test_external_certificate_rejects_sparse_unaudited_reference" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_cbo_scan.py", + "symbol": "test_external_scaps_certificate_checks_normalized_trend_and_hash" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_cbo_scan.py", + "symbol": "test_failed_cross_grid_seed_recovers_with_certified_target_cold_start" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_cbo_scan.py", + "symbol": "test_grid_certificate_rejects_mixed_despike_protocols" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_cbo_scan.py", + "symbol": "test_grid_certificate_rejects_mixed_interface_topologies" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_cbo_scan.py", + "symbol": "test_grid_certificate_rejects_mixed_mesh_protocols" + } + ], + "original_evidence": [ + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_cbo_scan.py", + "symbol": "test_adaptive_full_jv_refines_ff_and_pce_without_duplicate_solves" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_cbo_scan.py::test_adaptive_full_jv_refines_ff_and_pce_without_duplicate_solves", + "scope_docstring": null, + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_cbo_scan.py", + "symbol": "test_adaptive_full_jv_requires_metrics_and_rejects_unknown_names" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_cbo_scan.py::test_adaptive_full_jv_requires_metrics_and_rejects_unknown_names", + "scope_docstring": null, + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_cbo_scan.py", + "symbol": "test_external_certificate_rejects_sparse_unaudited_reference" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_cbo_scan.py::test_external_certificate_rejects_sparse_unaudited_reference", + "scope_docstring": null, + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_cbo_scan.py", + "symbol": "test_external_scaps_certificate_checks_normalized_trend_and_hash" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_cbo_scan.py::test_external_scaps_certificate_checks_normalized_trend_and_hash", + "scope_docstring": null, + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_cbo_scan.py", + "symbol": "test_failed_cross_grid_seed_recovers_with_certified_target_cold_start" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_cbo_scan.py::test_failed_cross_grid_seed_recovers_with_certified_target_cold_start", + "scope_docstring": null, + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_cbo_scan.py", + "symbol": "test_grid_certificate_rejects_mixed_despike_protocols" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_cbo_scan.py::test_grid_certificate_rejects_mixed_despike_protocols", + "scope_docstring": null, + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_cbo_scan.py", + "symbol": "test_grid_certificate_rejects_mixed_interface_topologies" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_cbo_scan.py::test_grid_certificate_rejects_mixed_interface_topologies", + "scope_docstring": null, + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_cbo_scan.py", + "symbol": "test_grid_certificate_rejects_mixed_mesh_protocols" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_cbo_scan.py::test_grid_certificate_rejects_mixed_mesh_protocols", + "scope_docstring": null, + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + } + ], + "call_chains": [ + { + "test": "tests.unit.experiments.test_cbo_scan.test_adaptive_full_jv_refines_ff_and_pce_without_duplicate_solves", + "edges": [ + { + "caller": "tests.unit.experiments.test_cbo_scan.test_adaptive_full_jv_refines_ff_and_pce_without_duplicate_solves", + "callee": "perovskite_sim.experiments.cbo_scan.solve_interface_cbo_scan", + "line": 122, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_cbo_scan.test_adaptive_full_jv_requires_metrics_and_rejects_unknown_names", + "edges": [ + { + "caller": "tests.unit.experiments.test_cbo_scan.test_adaptive_full_jv_requires_metrics_and_rejects_unknown_names", + "callee": "perovskite_sim.experiments.cbo_scan.solve_interface_cbo_scan", + "line": 320, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_cbo_scan.test_external_certificate_rejects_sparse_unaudited_reference", + "edges": [ + { + "caller": "tests.unit.experiments.test_cbo_scan.test_external_certificate_rejects_sparse_unaudited_reference", + "callee": "perovskite_sim.experiments.cbo_scan.solve_interface_cbo_scan", + "line": 1085, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_cbo_scan.test_external_scaps_certificate_checks_normalized_trend_and_hash", + "edges": [ + { + "caller": "tests.unit.experiments.test_cbo_scan.test_external_scaps_certificate_checks_normalized_trend_and_hash", + "callee": "perovskite_sim.experiments.cbo_scan.solve_interface_cbo_scan", + "line": 1023, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_cbo_scan.test_failed_cross_grid_seed_recovers_with_certified_target_cold_start", + "edges": [ + { + "caller": "tests.unit.experiments.test_cbo_scan.test_failed_cross_grid_seed_recovers_with_certified_target_cold_start", + "callee": "perovskite_sim.experiments.cbo_scan.solve_interface_cbo_scan", + "line": 431, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_cbo_scan.test_grid_certificate_rejects_mixed_despike_protocols", + "edges": [ + { + "caller": "tests.unit.experiments.test_cbo_scan.test_grid_certificate_rejects_mixed_despike_protocols", + "callee": "perovskite_sim.experiments.cbo_scan.solve_interface_cbo_scan", + "line": 938, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_cbo_scan.test_grid_certificate_rejects_mixed_interface_topologies", + "edges": [ + { + "caller": "tests.unit.experiments.test_cbo_scan.test_grid_certificate_rejects_mixed_interface_topologies", + "callee": "perovskite_sim.experiments.cbo_scan.solve_interface_cbo_scan", + "line": 908, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_cbo_scan.test_grid_certificate_rejects_mixed_mesh_protocols", + "edges": [ + { + "caller": "tests.unit.experiments.test_cbo_scan.test_grid_certificate_rejects_mixed_mesh_protocols", + "callee": "perovskite_sim.experiments.cbo_scan.solve_interface_cbo_scan", + "line": 848, + "kind": "call" + } + ] + } + ], + "original_scope_limitations": null, + "active_contract": null, + "obligations": [ + { + "id": "new-source-experiment-310cf19000c8ed90", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-310cf19000c8ed90.json", + "tasks": [ + "P05-01", + "P05-05", + "P07-01", + "P07-05" + ], + "gates": [ + "G5", + "G7" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof", + "per-physical-observable units/norm/reference scale/zero policy and applicable original or prospectively frozen threshold; test truth values do not fill this field" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-3686666c8dab75e03e1e1955", + "rule-543d8928cfba3db604cc91f6", + "rule-7b126fad8364b06589bf82c5", + "rule-74ae8a49608c3c629ceb283a", + "rule-cb4769c982523850c17f8615", + "rule-3b7ece7bedf84b67f2816766", + "rule-1b44e73f8279fdc6000688d9", + "rule-0a344250d9bd99f437870a7f", + "rule-a0070462a7ade37702ef21cb", + "rule-5657e395c5897a2fb1724a8d", + "rule-4f6631617f709d6dfa91ca9e", + "rule-2ea480729d8c40fead7f8c90", + "rule-253e0f9e071aa0edbe8efbb5", + "rule-611a62001b6c3c82ea242388", + "rule-1c64a3c83ee73ccce077d15f", + "rule-4f3ed2266a8be49bc89bc095", + "rule-270fedd2485f7f8c3df6402b", + "rule-9f2dbd3c162609039f320ff5", + "rule-b1c1c6629028fc9076e06ce2", + "rule-89002d905d4136d2716c3a12", + "rule-c3fef3093ac0e23f5870707d", + "rule-ab22ca78f7075aab20ed858e", + "rule-5c20a7e015878179c3b755e5", + "rule-11a75c4170d921ce5a76e2c7", + "rule-90ddeaddee15d2be91eb7b14", + "rule-1f86a59996b59b006f1fc4ec", + "rule-dce0610fef2f4b9601a19d98", + "rule-6e7e24618b9a9a3fd7a49168", + "rule-ee4cf831ab51f990ee278d6c", + "rule-d0ba81066a1b698329e1bcda", + "rule-ce9b20f113b14386eef41aad", + "rule-1c9d3e484a07f00921a8b7ba", + "rule-4d1e813b71ff9a4504acdccc", + "rule-d09404529b086ef19274ec29", + "rule-45d216a2cb74c7e915e44907", + "rule-9abc311fb60bd38ca2818a59", + "rule-0ebb41659b1ad69b5b1b27af", + "rule-5e7ae34999676f50e74e6220" + ], + "comparison_scope_id": "scope-experiment-310cf19000c8ed90" + }, + { + "capability_id": "experiment-194369582907aec9", + "route_id": "route-637f1e727f89e31a", + "origin_key": "experiment:perovskite_sim.experiments.dark_jv.run_dark_jv", + "target": { + "capability_id": "experiment-194369582907aec9", + "scope_id": "experiment:perovskite_sim.experiments.dark_jv.run_dark_jv", + "kind": "original_scoped_assertions", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_assertions_bound", + "citations": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/dark_jv.py", + "symbol": "run_dark_jv" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_dark_jv_fit.py", + "symbol": "test_run_dark_jv_fit_matches_shockley_in_window" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_dark_jv_fit.py", + "symbol": "test_run_dark_jv_ideality_in_physical_range" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_dark_jv_fit.py", + "symbol": "test_run_dark_jv_returns_populated_dataclass" + } + ], + "original_evidence": [ + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_dark_jv_fit.py", + "symbol": "test_run_dark_jv_fit_matches_shockley_in_window" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_dark_jv_fit.py::test_run_dark_jv_fit_matches_shockley_in_window", + "scope_docstring": "Predicted J from (n, J_0) must match |J| in the fit window to ~30%.", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_dark_jv_fit.py", + "symbol": "test_run_dark_jv_ideality_in_physical_range" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_dark_jv_fit.py::test_run_dark_jv_ideality_in_physical_range", + "scope_docstring": "nip_MAPbI3 is SRH-dominated; ideality should be in [1.0, 2.5].", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_dark_jv_fit.py", + "symbol": "test_run_dark_jv_returns_populated_dataclass" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_dark_jv_fit.py::test_run_dark_jv_returns_populated_dataclass", + "scope_docstring": "Smoke test: dataclass fields are populated, shapes consistent.", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + } + ], + "call_chains": [ + { + "test": "tests.unit.experiments.test_dark_jv_fit.test_run_dark_jv_fit_matches_shockley_in_window", + "edges": [ + { + "caller": "tests.unit.experiments.test_dark_jv_fit.test_run_dark_jv_fit_matches_shockley_in_window", + "callee": "perovskite_sim.experiments.dark_jv.run_dark_jv", + "line": 138, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_dark_jv_fit.test_run_dark_jv_ideality_in_physical_range", + "edges": [ + { + "caller": "tests.unit.experiments.test_dark_jv_fit.test_run_dark_jv_ideality_in_physical_range", + "callee": "perovskite_sim.experiments.dark_jv.run_dark_jv", + "line": 129, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_dark_jv_fit.test_run_dark_jv_returns_populated_dataclass", + "edges": [ + { + "caller": "tests.unit.experiments.test_dark_jv_fit.test_run_dark_jv_returns_populated_dataclass", + "callee": "perovskite_sim.experiments.dark_jv.run_dark_jv", + "line": 116, + "kind": "call" + } + ] + } + ], + "original_scope_limitations": null, + "active_contract": null, + "obligations": [ + { + "id": "new-source-experiment-194369582907aec9", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-194369582907aec9.json", + "tasks": [ + "P04-05", + "P05-01", + "P05-02" + ], + "gates": [ + "G4", + "G5" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof", + "per-physical-observable units/norm/reference scale/zero policy and applicable original or prospectively frozen threshold; test truth values do not fill this field" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-ac794a8d1d20547f815cf3ae", + "rule-36fd3ad18cf9c49fc5c29835", + "rule-5fa576d12a428d67f3d36c74", + "rule-224e115ba9e27c33ad192ede", + "rule-5cf703088cd5f3de3bb28863", + "rule-1b2a8d6d7c8797d858e20d90", + "rule-9b798c7134730ebaf706e171", + "rule-d9b2e80a1af17667373d4648", + "rule-66db989c4988956fc42384bd" + ], + "comparison_scope_id": "scope-experiment-194369582907aec9" + }, + { + "capability_id": "experiment-2424e5f405ddaf84", + "route_id": "route-2accc863cbfb1452", + "origin_key": "experiment:perovskite_sim.experiments.defect_aware_impedance.run_bulk_defect_device_impedance", + "target": { + "capability_id": "experiment-2424e5f405ddaf84", + "scope_id": "experiment:perovskite_sim.experiments.defect_aware_impedance.run_bulk_defect_device_impedance", + "kind": "original_scoped_assertions", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_assertions_bound", + "citations": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/defect_aware_impedance.py", + "symbol": "run_bulk_defect_device_impedance" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "symbol": "test_distributed_dynamic_device_ac_uses_every_energy_node" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "symbol": "test_dynamic_bulk_defect_device_ac_certifies_both_limits_and_currents" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "symbol": "test_dynamic_bulk_defect_device_ac_incomplete_window_is_partial_or_raises" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "symbol": "test_dynamic_bulk_defect_device_ac_recertifies_supplied_dc_state" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "symbol": "test_dynamic_bulk_defect_device_ac_rejects_dc_state_from_another_model" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "symbol": "test_dynamic_bulk_defect_device_ac_requires_an_explicit_defect_model" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_multivalent_explicit_defects_qf.py", + "symbol": "test_dynamic_ac_and_transient_lanes_fail_closed_for_multivalent" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_spatially_graded_explicit_defects_qf.py", + "symbol": "test_spatially_graded_distributed_defect_device_ac_is_certified" + } + ], + "original_evidence": [ + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "symbol": "test_distributed_dynamic_device_ac_uses_every_energy_node" + }, + "test_node": "perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_distributed_dynamic_device_ac_uses_every_energy_node", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "symbol": "test_dynamic_bulk_defect_device_ac_certifies_both_limits_and_currents" + }, + "test_node": "perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_dynamic_bulk_defect_device_ac_certifies_both_limits_and_currents", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "symbol": "test_dynamic_bulk_defect_device_ac_incomplete_window_is_partial_or_raises" + }, + "test_node": "perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_dynamic_bulk_defect_device_ac_incomplete_window_is_partial_or_raises", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "symbol": "test_dynamic_bulk_defect_device_ac_recertifies_supplied_dc_state" + }, + "test_node": "perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_dynamic_bulk_defect_device_ac_recertifies_supplied_dc_state", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "symbol": "test_dynamic_bulk_defect_device_ac_rejects_dc_state_from_another_model" + }, + "test_node": "perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_dynamic_bulk_defect_device_ac_rejects_dc_state_from_another_model", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "symbol": "test_dynamic_bulk_defect_device_ac_requires_an_explicit_defect_model" + }, + "test_node": "perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_dynamic_bulk_defect_device_ac_requires_an_explicit_defect_model", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_multivalent_explicit_defects_qf.py", + "symbol": "test_dynamic_ac_and_transient_lanes_fail_closed_for_multivalent" + }, + "test_node": "perovskite-sim/tests/integration/test_multivalent_explicit_defects_qf.py::test_dynamic_ac_and_transient_lanes_fail_closed_for_multivalent", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_spatially_graded_explicit_defects_qf.py", + "symbol": "test_spatially_graded_distributed_defect_device_ac_is_certified" + }, + "test_node": "perovskite-sim/tests/integration/test_spatially_graded_explicit_defects_qf.py::test_spatially_graded_distributed_defect_device_ac_is_certified", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + } + ], + "call_chains": [ + { + "test": "tests.integration.test_charged_explicit_defects_qf.test_distributed_dynamic_device_ac_uses_every_energy_node", + "edges": [ + { + "caller": "tests.integration.test_charged_explicit_defects_qf.test_distributed_dynamic_device_ac_uses_every_energy_node", + "callee": "perovskite_sim.experiments.defect_aware_impedance.run_bulk_defect_device_impedance", + "line": 1018, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_charged_explicit_defects_qf.test_dynamic_bulk_defect_device_ac_certifies_both_limits_and_currents", + "edges": [ + { + "caller": "tests.integration.test_charged_explicit_defects_qf.test_dynamic_bulk_defect_device_ac_certifies_both_limits_and_currents", + "callee": "perovskite_sim.experiments.defect_aware_impedance.run_bulk_defect_device_impedance", + "line": 880, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_charged_explicit_defects_qf.test_dynamic_bulk_defect_device_ac_incomplete_window_is_partial_or_raises", + "edges": [ + { + "caller": "tests.integration.test_charged_explicit_defects_qf.test_dynamic_bulk_defect_device_ac_incomplete_window_is_partial_or_raises", + "callee": "perovskite_sim.experiments.defect_aware_impedance.run_bulk_defect_device_impedance", + "line": 995, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_charged_explicit_defects_qf.test_dynamic_bulk_defect_device_ac_recertifies_supplied_dc_state", + "edges": [ + { + "caller": "tests.integration.test_charged_explicit_defects_qf.test_dynamic_bulk_defect_device_ac_recertifies_supplied_dc_state", + "callee": "perovskite_sim.experiments.defect_aware_impedance.run_bulk_defect_device_impedance", + "line": 982, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_charged_explicit_defects_qf.test_dynamic_bulk_defect_device_ac_rejects_dc_state_from_another_model", + "edges": [ + { + "caller": "tests.integration.test_charged_explicit_defects_qf.test_dynamic_bulk_defect_device_ac_rejects_dc_state_from_another_model", + "callee": "perovskite_sim.experiments.defect_aware_impedance.run_bulk_defect_device_impedance", + "line": 957, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_charged_explicit_defects_qf.test_dynamic_bulk_defect_device_ac_requires_an_explicit_defect_model", + "edges": [ + { + "caller": "tests.integration.test_charged_explicit_defects_qf.test_dynamic_bulk_defect_device_ac_requires_an_explicit_defect_model", + "callee": "perovskite_sim.experiments.defect_aware_impedance.run_bulk_defect_device_impedance", + "line": 938, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_multivalent_explicit_defects_qf.test_dynamic_ac_and_transient_lanes_fail_closed_for_multivalent", + "edges": [ + { + "caller": "tests.integration.test_multivalent_explicit_defects_qf.test_dynamic_ac_and_transient_lanes_fail_closed_for_multivalent", + "callee": "perovskite_sim.experiments.defect_aware_impedance.run_bulk_defect_device_impedance", + "line": 1181, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_spatially_graded_explicit_defects_qf.test_spatially_graded_distributed_defect_device_ac_is_certified", + "edges": [ + { + "caller": "tests.integration.test_spatially_graded_explicit_defects_qf.test_spatially_graded_distributed_defect_device_ac_is_certified", + "callee": "perovskite_sim.experiments.defect_aware_impedance.run_bulk_defect_device_impedance", + "line": 278, + "kind": "call" + } + ] + } + ], + "original_scope_limitations": null, + "active_contract": null, + "obligations": [ + { + "id": "new-source-experiment-2424e5f405ddaf84", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-2424e5f405ddaf84.json", + "tasks": [ + "P04-06", + "P04-10", + "P05-01", + "P05-03" + ], + "gates": [ + "G4", + "G5" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof", + "per-physical-observable units/norm/reference scale/zero policy and applicable original or prospectively frozen threshold; test truth values do not fill this field", + "the applicable gauge/CV/log-density/inventory or complex/circular-phase comparator with physical units; no generic scalar substitute" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-6279ae9c9e9ba70c93fb0ea8", + "rule-1843c909525753fe2e0aa6c9", + "rule-5a9c34df2883967c135f3cb5", + "rule-6de52d6ae41d2d602bc50e4f", + "rule-f2d2d26e552014411f30cef4", + "rule-7b3142c6f7facae96bd230c2", + "rule-a8b6622f806d4d82e4ad2087", + "rule-b6ba573c9d97895e5ef84204", + "rule-0d25e75e764bb9490bac3547", + "rule-e1ab4a0d448864ef29167b4c", + "rule-6f5ee95ed2751d2661459b22", + "rule-8a189e38ce6a316e486cb7a6", + "rule-2770162742bd642fe6713852", + "rule-504243242625ca36d311beaf", + "rule-bf7beef12cc5c82da2adca4b", + "rule-748d7dbd40b8d92589b753e3", + "rule-4ed5cd1985427c3a9c5d557c", + "rule-f72ac4b1428501b49af680f4", + "rule-159e71e686f370822314d2ca", + "rule-447da5999991d069ee52cb02", + "rule-14e4a21d9de312ab3a750891", + "rule-c689fcda756e9ea2aaaa8c68", + "rule-a5831031bebb864e1a988e60", + "rule-74cefa3b5a56a90ef217a26b", + "rule-6b41caacceab2885fa61b0b6", + "rule-2ea687029be51ffb9f97a39e", + "rule-f4cad74defa6f1c299063ec3", + "rule-91f28831502976f4a7b4cb93", + "rule-d41e8c9c5475ebfdacb999e6", + "rule-955b2c8d31ac60093f6e7ecf" + ], + "comparison_scope_id": "scope-experiment-2424e5f405ddaf84" + }, + { + "capability_id": "experiment-cd24e07da754c0f7", + "route_id": "route-7e52697666c1d1db", + "origin_key": "experiment:perovskite_sim.experiments.defect_ion_combined_impedance.run_defect_ion_combined_impedance", + "target": { + "capability_id": "experiment-cd24e07da754c0f7", + "scope_id": "experiment:perovskite_sim.experiments.defect_ion_combined_impedance.run_defect_ion_combined_impedance", + "kind": "original_scoped_assertions", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_assertions_bound", + "citations": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/defect_ion_combined_impedance.py", + "symbol": "run_defect_ion_combined_impedance" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_defect_ion_combined_impedance.py", + "symbol": "test_bulk_defect_and_positive_ion_share_one_certified_operator" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_defect_ion_combined_impedance.py", + "symbol": "test_bulk_interface_defects_and_ions_close_one_triple_coupled_system" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_defect_ion_combined_impedance.py", + "symbol": "test_combined_capability_rejects_inconsistent_contact_thermodynamics" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_defect_ion_combined_impedance.py", + "symbol": "test_combined_capability_requires_both_a_defect_and_active_ions" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_defect_ion_combined_impedance.py", + "symbol": "test_combined_frequency_window_fails_closed" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_defect_ion_combined_impedance.py", + "symbol": "test_dual_and_negative_only_ion_blocks_keep_independent_inventories" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_defect_ion_combined_impedance.py", + "symbol": "test_interface_defect_and_ions_close_sheet_charge_and_four_leg_capture" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1.py", + "symbol": "test_physical_ac_zero_inventory_and_blocking_contacts" + } + ], + "original_evidence": [ + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_defect_ion_combined_impedance.py", + "symbol": "test_bulk_defect_and_positive_ion_share_one_certified_operator" + }, + "test_node": "perovskite-sim/tests/integration/test_defect_ion_combined_impedance.py::test_bulk_defect_and_positive_ion_share_one_certified_operator", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_defect_ion_combined_impedance.py", + "symbol": "test_bulk_interface_defects_and_ions_close_one_triple_coupled_system" + }, + "test_node": "perovskite-sim/tests/integration/test_defect_ion_combined_impedance.py::test_bulk_interface_defects_and_ions_close_one_triple_coupled_system", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_defect_ion_combined_impedance.py", + "symbol": "test_combined_capability_rejects_inconsistent_contact_thermodynamics" + }, + "test_node": "perovskite-sim/tests/integration/test_defect_ion_combined_impedance.py::test_combined_capability_rejects_inconsistent_contact_thermodynamics", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_defect_ion_combined_impedance.py", + "symbol": "test_combined_capability_requires_both_a_defect_and_active_ions" + }, + "test_node": "perovskite-sim/tests/integration/test_defect_ion_combined_impedance.py::test_combined_capability_requires_both_a_defect_and_active_ions", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_defect_ion_combined_impedance.py", + "symbol": "test_combined_frequency_window_fails_closed" + }, + "test_node": "perovskite-sim/tests/integration/test_defect_ion_combined_impedance.py::test_combined_frequency_window_fails_closed", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_defect_ion_combined_impedance.py", + "symbol": "test_dual_and_negative_only_ion_blocks_keep_independent_inventories" + }, + "test_node": "perovskite-sim/tests/integration/test_defect_ion_combined_impedance.py::test_dual_and_negative_only_ion_blocks_keep_independent_inventories", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_defect_ion_combined_impedance.py", + "symbol": "test_interface_defect_and_ions_close_sheet_charge_and_four_leg_capture" + }, + "test_node": "perovskite-sim/tests/integration/test_defect_ion_combined_impedance.py::test_interface_defect_and_ions_close_sheet_charge_and_four_leg_capture", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1.py", + "symbol": "test_physical_ac_zero_inventory_and_blocking_contacts" + }, + "test_node": "perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1.py::test_physical_ac_zero_inventory_and_blocking_contacts", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + } + ], + "call_chains": [ + { + "test": "tests.integration.test_defect_ion_combined_impedance.test_bulk_defect_and_positive_ion_share_one_certified_operator", + "edges": [ + { + "caller": "tests.integration.test_defect_ion_combined_impedance.test_bulk_defect_and_positive_ion_share_one_certified_operator", + "callee": "perovskite_sim.experiments.defect_ion_combined_impedance.run_defect_ion_combined_impedance", + "line": 142, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_defect_ion_combined_impedance.test_bulk_interface_defects_and_ions_close_one_triple_coupled_system", + "edges": [ + { + "caller": "tests.integration.test_defect_ion_combined_impedance.test_bulk_interface_defects_and_ions_close_one_triple_coupled_system", + "callee": "perovskite_sim.experiments.defect_ion_combined_impedance.run_defect_ion_combined_impedance", + "line": 244, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_defect_ion_combined_impedance.test_combined_capability_rejects_inconsistent_contact_thermodynamics", + "edges": [ + { + "caller": "tests.integration.test_defect_ion_combined_impedance.test_combined_capability_rejects_inconsistent_contact_thermodynamics", + "callee": "perovskite_sim.experiments.defect_ion_combined_impedance.run_defect_ion_combined_impedance", + "line": 322, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_defect_ion_combined_impedance.test_combined_capability_requires_both_a_defect_and_active_ions", + "edges": [ + { + "caller": "tests.integration.test_defect_ion_combined_impedance.test_combined_capability_requires_both_a_defect_and_active_ions", + "callee": "perovskite_sim.experiments.defect_ion_combined_impedance.run_defect_ion_combined_impedance", + "line": 287, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_defect_ion_combined_impedance.test_combined_frequency_window_fails_closed", + "edges": [ + { + "caller": "tests.integration.test_defect_ion_combined_impedance.test_combined_frequency_window_fails_closed", + "callee": "perovskite_sim.experiments.defect_ion_combined_impedance.run_defect_ion_combined_impedance", + "line": 269, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_defect_ion_combined_impedance.test_dual_and_negative_only_ion_blocks_keep_independent_inventories", + "edges": [ + { + "caller": "tests.integration.test_defect_ion_combined_impedance.test_dual_and_negative_only_ion_blocks_keep_independent_inventories", + "callee": "perovskite_sim.experiments.defect_ion_combined_impedance.run_defect_ion_combined_impedance", + "line": 187, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_defect_ion_combined_impedance.test_interface_defect_and_ions_close_sheet_charge_and_four_leg_capture", + "edges": [ + { + "caller": "tests.integration.test_defect_ion_combined_impedance.test_interface_defect_and_ions_close_sheet_charge_and_four_leg_capture", + "callee": "perovskite_sim.experiments.defect_ion_combined_impedance.run_defect_ion_combined_impedance", + "line": 218, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_one_dimensional_mechanism_r1.test_physical_ac_zero_inventory_and_blocking_contacts", + "edges": [ + { + "caller": "tests.integration.test_one_dimensional_mechanism_r1.test_physical_ac_zero_inventory_and_blocking_contacts", + "callee": "perovskite_sim.experiments.defect_ion_combined_impedance.run_defect_ion_combined_impedance", + "line": 111, + "kind": "call" + } + ] + } + ], + "original_scope_limitations": null, + "active_contract": null, + "obligations": [ + { + "id": "new-source-experiment-cd24e07da754c0f7", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-cd24e07da754c0f7.json", + "tasks": [ + "P04-06", + "P04-08", + "P04-10", + "P05-01", + "P05-03" + ], + "gates": [ + "G4", + "G5" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof", + "per-physical-observable units/norm/reference scale/zero policy and applicable original or prospectively frozen threshold; test truth values do not fill this field", + "the applicable gauge/CV/log-density/inventory or complex/circular-phase comparator with physical units; no generic scalar substitute" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-2115e64931301c058fa0e8cf", + "rule-a4443f680c99359223ab76f3", + "rule-fe4d763b8c7c5d5b042eb7ea", + "rule-b2b8658efc6dc2ed6f95d729", + "rule-022d05c3e26c6213cd1b5ee8", + "rule-15bdb03ef42ef1ba7e45d2c9", + "rule-74ffaa6b3d43684786a413bb", + "rule-be28b5cb81eaa61e5dc47602", + "rule-d1eeaccd54b74721869fec18", + "rule-bc1292e48b7abdb082c5bd5e", + "rule-faf0da5844716a853ffbe93b", + "rule-57d5a397489027c583ce5693", + "rule-ca4841efabbe0c932d3b5dbc", + "rule-29b473dddb3f67b077c31260", + "rule-a44ce43224e5a940335c96d3", + "rule-7c1ff3538f6affc580fd7d95", + "rule-3a7b02b0e1f96552f41fe1ca", + "rule-62acdcbf8aab7eb931b966fb", + "rule-cb112e24370383c274b25d7b", + "rule-409e72f490ea23317f3a61ab", + "rule-e9f5227a4b233c2da2b5d32e", + "rule-1854361eab7e1ae28206c250", + "rule-a7c7d3973b4aaef2ff064fc3", + "rule-1b7f55072c3dd2c54a9691b2", + "rule-e436019b79449f16bb76deb7", + "rule-e3ea4bed01bc91c8e17002d9", + "rule-814c8ed7a078741b77603b20", + "rule-2de85811866dbbf3059fa498", + "rule-0750ad5e420e99618e855ec2", + "rule-eeb965972c40ec2e8a7dc966", + "rule-84577fd758e8fc0c64a76be2", + "rule-9779a63b5304188c909585dd", + "rule-e85b8c72f061a6572110a0ea", + "rule-5312fc22f7afee91aef128dd", + "rule-318eec97ff625885298d7004", + "rule-37f11a2549524db4a20a55d4", + "rule-873125ae9f0d34de9889bb23", + "rule-90853e83ae37ff4cb3f867ef", + "rule-b7107aebaadfdd6c003a874f", + "rule-d3a7f99eb2bab5459e7db93a", + "rule-5df003bfca7f86a73ab09511", + "rule-7759c471904003fbe7160e42", + "rule-defbc9d64d607eb3748554b6", + "rule-52bc2c84d63b5894fe6706f1", + "rule-6003500f42f26b01ee5cc25f", + "rule-055a03d6478316666c93d8e4", + "rule-a645ebd1e7a195b18b8c9f76", + "rule-9155845fe1b42c9debc9f560", + "rule-55ab6e25b914fff63388df28", + "rule-4fbad250f6945ff6e6512b63", + "rule-fe9aa4bcff459f41bb7aa8ef", + "rule-2197fecf842a95588e7ecf4e", + "rule-09e03717f8e485ace5c68270", + "rule-2549da4114d5cbd3bff0c4f5", + "rule-5505a8ce25e9c0deed0ad0ef", + "rule-e8878ad02bd07c0c416e783d", + "rule-30240a3601aa8b26cd62fd33", + "rule-4c2b2545e1e3b8217f32726e", + "rule-0c0b0da4e4ccf5a074dd96b0" + ], + "comparison_scope_id": "scope-experiment-cd24e07da754c0f7" + }, + { + "capability_id": "experiment-c642a1b0b63e51ee", + "route_id": "route-5f608c1296bb5da2", + "origin_key": "experiment:perovskite_sim.experiments.degradation.measure_frozen_ion_snapshot", + "target": { + "capability_id": "experiment-c642a1b0b63e51ee", + "scope_id": "experiment:perovskite_sim.experiments.degradation.measure_frozen_ion_snapshot", + "kind": "original_scoped_assertions", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_assertions_bound", + "citations": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/degradation.py", + "symbol": "measure_frozen_ion_snapshot" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_degradation_frozen_ions.py", + "symbol": "test_empty_negative_species_keeps_the_inherited_state_layout" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_degradation_frozen_ions.py", + "symbol": "test_invalid_electronic_certificate_cannot_produce_metrics" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_degradation_frozen_ions.py", + "symbol": "test_original_diffusivity_does_not_change_the_same_frozen_snapshot" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_degradation_frozen_ions.py", + "symbol": "test_snapshot_observer_uses_the_frozen_material" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_degradation_frozen_ions.py", + "symbol": "test_successful_transient_is_not_a_steady_state_certificate" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_tolerances.py", + "symbol": "test_degradation_snapshot_tightens_componentwise_policy" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_degradation.py", + "symbol": "test_degradation_metrics_decline_under_bias_stress" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_degradation.py", + "symbol": "test_degradation_rejects_negative_damage_motion_gain" + } + ], + "original_evidence": [ + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_degradation_frozen_ions.py", + "symbol": "test_empty_negative_species_keeps_the_inherited_state_layout" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_degradation_frozen_ions.py::test_empty_negative_species_keeps_the_inherited_state_layout", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_degradation_frozen_ions.py", + "symbol": "test_invalid_electronic_certificate_cannot_produce_metrics" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_degradation_frozen_ions.py::test_invalid_electronic_certificate_cannot_produce_metrics", + "scope_docstring": null, + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_degradation_frozen_ions.py", + "symbol": "test_original_diffusivity_does_not_change_the_same_frozen_snapshot" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_degradation_frozen_ions.py::test_original_diffusivity_does_not_change_the_same_frozen_snapshot", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_degradation_frozen_ions.py", + "symbol": "test_snapshot_observer_uses_the_frozen_material" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_degradation_frozen_ions.py::test_snapshot_observer_uses_the_frozen_material", + "scope_docstring": null, + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_degradation_frozen_ions.py", + "symbol": "test_successful_transient_is_not_a_steady_state_certificate" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_degradation_frozen_ions.py::test_successful_transient_is_not_a_steady_state_certificate", + "scope_docstring": null, + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_tolerances.py", + "symbol": "test_degradation_snapshot_tightens_componentwise_policy" + }, + "test_node": "perovskite-sim/tests/unit/solver/test_tolerances.py::test_degradation_snapshot_tightens_componentwise_policy", + "scope_docstring": null, + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_degradation.py", + "symbol": "test_degradation_metrics_decline_under_bias_stress" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_degradation.py::test_degradation_metrics_decline_under_bias_stress", + "scope_docstring": "Irreversible damage should overcome light-soaking and reduce performance.", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_degradation.py", + "symbol": "test_degradation_rejects_negative_damage_motion_gain" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_degradation.py::test_degradation_rejects_negative_damage_motion_gain", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + } + ], + "call_chains": [ + { + "test": "tests.unit.experiments.test_degradation_frozen_ions.test_empty_negative_species_keeps_the_inherited_state_layout", + "edges": [ + { + "caller": "tests.unit.experiments.test_degradation_frozen_ions.test_empty_negative_species_keeps_the_inherited_state_layout", + "callee": "perovskite_sim.experiments.degradation.measure_frozen_ion_snapshot", + "line": 184, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_degradation_frozen_ions.test_invalid_electronic_certificate_cannot_produce_metrics", + "edges": [ + { + "caller": "tests.unit.experiments.test_degradation_frozen_ions.test_invalid_electronic_certificate_cannot_produce_metrics", + "callee": "perovskite_sim.experiments.degradation.measure_frozen_ion_snapshot", + "line": 201, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_degradation_frozen_ions.test_original_diffusivity_does_not_change_the_same_frozen_snapshot", + "edges": [ + { + "caller": "tests.unit.experiments.test_degradation_frozen_ions.test_original_diffusivity_does_not_change_the_same_frozen_snapshot", + "callee": "perovskite_sim.experiments.degradation.measure_frozen_ion_snapshot", + "line": 163, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_degradation_frozen_ions.test_snapshot_observer_uses_the_frozen_material", + "edges": [ + { + "caller": "tests.unit.experiments.test_degradation_frozen_ions.test_snapshot_observer_uses_the_frozen_material", + "callee": "perovskite_sim.experiments.degradation._measure_snapshot_metrics", + "line": 128, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.degradation._measure_snapshot_metrics", + "callee": "perovskite_sim.experiments.degradation.measure_frozen_ion_snapshot", + "line": 199, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_degradation_frozen_ions.test_successful_transient_is_not_a_steady_state_certificate", + "edges": [ + { + "caller": "tests.unit.experiments.test_degradation_frozen_ions.test_successful_transient_is_not_a_steady_state_certificate", + "callee": "perovskite_sim.experiments.degradation._measure_snapshot_metrics", + "line": 145, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.degradation._measure_snapshot_metrics", + "callee": "perovskite_sim.experiments.degradation.measure_frozen_ion_snapshot", + "line": 199, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.solver.test_tolerances.test_degradation_snapshot_tightens_componentwise_policy", + "edges": [ + { + "caller": "tests.unit.solver.test_tolerances.test_degradation_snapshot_tightens_componentwise_policy", + "callee": "perovskite_sim.experiments.degradation._measure_snapshot_metrics", + "line": 459, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.degradation._measure_snapshot_metrics", + "callee": "perovskite_sim.experiments.degradation.measure_frozen_ion_snapshot", + "line": 199, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_degradation.test_degradation_metrics_decline_under_bias_stress", + "edges": [ + { + "caller": "tests.unit.experiments.test_degradation.test_degradation_metrics_decline_under_bias_stress", + "callee": "perovskite_sim.experiments.degradation.run_degradation", + "line": 44, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.degradation.run_degradation", + "callee": "perovskite_sim.experiments.degradation.measure_frozen_ion_snapshot", + "line": 451, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_degradation.test_degradation_rejects_negative_damage_motion_gain", + "edges": [ + { + "caller": "tests.unit.experiments.test_degradation.test_degradation_rejects_negative_damage_motion_gain", + "callee": "perovskite_sim.experiments.degradation.run_degradation", + "line": 84, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.degradation.run_degradation", + "callee": "perovskite_sim.experiments.degradation.measure_frozen_ion_snapshot", + "line": 451, + "kind": "call" + } + ] + } + ], + "original_scope_limitations": null, + "active_contract": null, + "obligations": [ + { + "id": "new-source-experiment-c642a1b0b63e51ee", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-c642a1b0b63e51ee.json", + "tasks": [ + "P05-01", + "P05-04" + ], + "gates": [ + "G5" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof", + "per-physical-observable units/norm/reference scale/zero policy and applicable original or prospectively frozen threshold; test truth values do not fill this field" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-47f2be2cbbc1f01ddd104a5f", + "rule-59268c694f95df3e6eba2f74", + "rule-69f9014600c8339bc7348992", + "rule-e143c7f64659e5e79da81692", + "rule-2b2d14d5d2c067e76b7d7f8e", + "rule-54ce0f5518a444c99d78c0ac", + "rule-b3c56c6052a43c6c40db8a55", + "rule-e86959070afa3d15007e1686", + "rule-8a0de7f138dab7a6103de2bc", + "rule-772342636bc68c9cbfa93932", + "rule-5ccb0873216d23624003e104", + "rule-3412450eb028a945fc669fa3", + "rule-0d1669b6d38ca63085b69d66", + "rule-fe6cd2975ba1df315a856d90", + "rule-36432f390bb59d4c4f4c3124", + "rule-6294b2fc06ce404842787f9b", + "rule-12e169af7712eab1b2de75df", + "rule-1414c57dc50160abea240f39", + "rule-18510f9741c7694ff8ca56de", + "rule-1bf0186423a956124ea734a4", + "rule-81c89f1db3a90309d81f9f63" + ], + "comparison_scope_id": "scope-experiment-c642a1b0b63e51ee" + }, + { + "capability_id": "experiment-1bb0f41ff6da57f3", + "route_id": "route-5f608c1296bb5da2", + "origin_key": "experiment:perovskite_sim.experiments.degradation.run_degradation", + "target": { + "capability_id": "experiment-1bb0f41ff6da57f3", + "scope_id": "experiment:perovskite_sim.experiments.degradation.run_degradation", + "kind": "original_scoped_assertions", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_assertions_bound", + "citations": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/degradation.py", + "symbol": "run_degradation" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_degradation.py", + "symbol": "test_degradation_metrics_decline_under_bias_stress" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_degradation.py", + "symbol": "test_degradation_rejects_negative_damage_motion_gain" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_degradation.py", + "symbol": "test_degradation_rejects_nonpositive_metric_settle_time" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_degradation.py", + "symbol": "test_degradation_rejects_nonpositive_t_end" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_degradation.py", + "symbol": "test_degradation_rejects_small_metric_grid" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_degradation.py", + "symbol": "test_degradation_rejects_small_n_grid" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_degradation.py", + "symbol": "test_degradation_rejects_small_n_snapshots" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_degradation.py", + "symbol": "test_dt_max_caps_internal_step" + } + ], + "original_evidence": [ + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_degradation.py", + "symbol": "test_degradation_metrics_decline_under_bias_stress" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_degradation.py::test_degradation_metrics_decline_under_bias_stress", + "scope_docstring": "Irreversible damage should overcome light-soaking and reduce performance.", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_degradation.py", + "symbol": "test_degradation_rejects_negative_damage_motion_gain" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_degradation.py::test_degradation_rejects_negative_damage_motion_gain", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_degradation.py", + "symbol": "test_degradation_rejects_nonpositive_metric_settle_time" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_degradation.py::test_degradation_rejects_nonpositive_metric_settle_time", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_degradation.py", + "symbol": "test_degradation_rejects_nonpositive_t_end" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_degradation.py::test_degradation_rejects_nonpositive_t_end", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_degradation.py", + "symbol": "test_degradation_rejects_small_metric_grid" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_degradation.py::test_degradation_rejects_small_metric_grid", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_degradation.py", + "symbol": "test_degradation_rejects_small_n_grid" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_degradation.py::test_degradation_rejects_small_n_grid", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_degradation.py", + "symbol": "test_degradation_rejects_small_n_snapshots" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_degradation.py::test_degradation_rejects_small_n_snapshots", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_degradation.py", + "symbol": "test_dt_max_caps_internal_step" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_degradation.py::test_dt_max_caps_internal_step", + "scope_docstring": "dt_max must be accepted and must bound each internal Radau/split-step\ninterval so that large snapshot gaps don't explode into O(dt/0.05) sub-steps.\nUses tiny grid (N=20) and short run (t_end=5 s, 2 snapshots) for speed.", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + } + ], + "call_chains": [ + { + "test": "tests.unit.experiments.test_degradation.test_degradation_metrics_decline_under_bias_stress", + "edges": [ + { + "caller": "tests.unit.experiments.test_degradation.test_degradation_metrics_decline_under_bias_stress", + "callee": "perovskite_sim.experiments.degradation.run_degradation", + "line": 44, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_degradation.test_degradation_rejects_negative_damage_motion_gain", + "edges": [ + { + "caller": "tests.unit.experiments.test_degradation.test_degradation_rejects_negative_damage_motion_gain", + "callee": "perovskite_sim.experiments.degradation.run_degradation", + "line": 84, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_degradation.test_degradation_rejects_nonpositive_metric_settle_time", + "edges": [ + { + "caller": "tests.unit.experiments.test_degradation.test_degradation_rejects_nonpositive_metric_settle_time", + "callee": "perovskite_sim.experiments.degradation.run_degradation", + "line": 76, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_degradation.test_degradation_rejects_nonpositive_t_end", + "edges": [ + { + "caller": "tests.unit.experiments.test_degradation.test_degradation_rejects_nonpositive_t_end", + "callee": "perovskite_sim.experiments.degradation.run_degradation", + "line": 92, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_degradation.test_degradation_rejects_small_metric_grid", + "edges": [ + { + "caller": "tests.unit.experiments.test_degradation.test_degradation_rejects_small_metric_grid", + "callee": "perovskite_sim.experiments.degradation.run_degradation", + "line": 68, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_degradation.test_degradation_rejects_small_n_grid", + "edges": [ + { + "caller": "tests.unit.experiments.test_degradation.test_degradation_rejects_small_n_grid", + "callee": "perovskite_sim.experiments.degradation.run_degradation", + "line": 100, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_degradation.test_degradation_rejects_small_n_snapshots", + "edges": [ + { + "caller": "tests.unit.experiments.test_degradation.test_degradation_rejects_small_n_snapshots", + "callee": "perovskite_sim.experiments.degradation.run_degradation", + "line": 108, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_degradation.test_dt_max_caps_internal_step", + "edges": [ + { + "caller": "tests.unit.experiments.test_degradation.test_dt_max_caps_internal_step", + "callee": "perovskite_sim.experiments.degradation.run_degradation", + "line": 118, + "kind": "call" + } + ] + } + ], + "original_scope_limitations": null, + "active_contract": null, + "obligations": [ + { + "id": "new-source-experiment-1bb0f41ff6da57f3", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-1bb0f41ff6da57f3.json", + "tasks": [ + "P05-01", + "P05-04" + ], + "gates": [ + "G5" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof", + "per-physical-observable units/norm/reference scale/zero policy and applicable original or prospectively frozen threshold; test truth values do not fill this field" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-18510f9741c7694ff8ca56de", + "rule-1bf0186423a956124ea734a4", + "rule-81c89f1db3a90309d81f9f63", + "rule-f8011ace2e4d859985c58800", + "rule-a922498e96a2f174ce864e75", + "rule-bff54dda50147a528086dc7a", + "rule-2e00bd11b79a358fb1586f16", + "rule-928229f16962952bac606d85", + "rule-52a5ca707996e41f90e39571", + "rule-607fbdf650468eea4e1dd5ad", + "rule-2ec109be560d890e7c204681", + "rule-29d27f12095adcd12f8affcc" + ], + "comparison_scope_id": "scope-experiment-1bb0f41ff6da57f3" + }, + { + "capability_id": "experiment-eed05d86c5378218", + "route_id": "route-130393a19cff03be", + "origin_key": "experiment:perovskite_sim.experiments.dynamic_defect_impedance.run_dynamic_defect_impedance", + "target": { + "capability_id": "experiment-eed05d86c5378218", + "scope_id": "experiment:perovskite_sim.experiments.dynamic_defect_impedance.run_dynamic_defect_impedance", + "kind": "original_scoped_assertions", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_assertions_bound", + "citations": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/dynamic_defect_impedance.py", + "symbol": "run_dynamic_defect_impedance" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_dynamic_defect_impedance.py", + "symbol": "test_public_bulk_dynamic_defect_impedance_is_protocol_bound_and_certified" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_dynamic_defect_impedance.py", + "symbol": "test_public_interface_dynamic_defect_impedance_uses_two_sided_faces" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_dynamic_defect_impedance.py", + "symbol": "test_public_triple_coupled_defect_ion_impedance_is_certified" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_material_cache_regression.py", + "symbol": "test_impedance_ionmonger_finite_and_capacitive" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_impedance.py", + "symbol": "test_impedance_rejects_dynamic_interface_state_blocks" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_impedance.py", + "symbol": "test_impedance_rejects_empty_frequencies" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_impedance.py", + "symbol": "test_impedance_rejects_failed_dark_dc_preconditioning" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_impedance.py", + "symbol": "test_impedance_rejects_noninteger_protocol_counts" + } + ], + "original_evidence": [ + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_dynamic_defect_impedance.py", + "symbol": "test_public_bulk_dynamic_defect_impedance_is_protocol_bound_and_certified" + }, + "test_node": "perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_bulk_dynamic_defect_impedance_is_protocol_bound_and_certified", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_dynamic_defect_impedance.py", + "symbol": "test_public_interface_dynamic_defect_impedance_uses_two_sided_faces" + }, + "test_node": "perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_interface_dynamic_defect_impedance_uses_two_sided_faces", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_dynamic_defect_impedance.py", + "symbol": "test_public_triple_coupled_defect_ion_impedance_is_certified" + }, + "test_node": "perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_triple_coupled_defect_ion_impedance_is_certified", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_material_cache_regression.py", + "symbol": "test_impedance_ionmonger_finite_and_capacitive" + }, + "test_node": "perovskite-sim/tests/integration/test_material_cache_regression.py::test_impedance_ionmonger_finite_and_capacitive", + "scope_docstring": "Ionmonger impedance sweep at V_dc = 0.9 V must be finite and\nphysically oriented (upper half plane Nyquist) after the refactor.", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_impedance.py", + "symbol": "test_impedance_rejects_dynamic_interface_state_blocks" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_impedance.py::test_impedance_rejects_dynamic_interface_state_blocks", + "scope_docstring": null, + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_impedance.py", + "symbol": "test_impedance_rejects_empty_frequencies" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_impedance.py::test_impedance_rejects_empty_frequencies", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_impedance.py", + "symbol": "test_impedance_rejects_failed_dark_dc_preconditioning" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_impedance.py::test_impedance_rejects_failed_dark_dc_preconditioning", + "scope_docstring": null, + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_impedance.py", + "symbol": "test_impedance_rejects_noninteger_protocol_counts" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_impedance.py::test_impedance_rejects_noninteger_protocol_counts", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + } + ], + "call_chains": [ + { + "test": "tests.integration.test_dynamic_defect_impedance.test_public_bulk_dynamic_defect_impedance_is_protocol_bound_and_certified", + "edges": [ + { + "caller": "tests.integration.test_dynamic_defect_impedance.test_public_bulk_dynamic_defect_impedance_is_protocol_bound_and_certified", + "callee": "perovskite_sim.experiments.impedance.run_impedance", + "line": 50, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.impedance.run_impedance", + "callee": "perovskite_sim.experiments.dynamic_defect_impedance.run_dynamic_defect_impedance", + "line": 985, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_dynamic_defect_impedance.test_public_interface_dynamic_defect_impedance_uses_two_sided_faces", + "edges": [ + { + "caller": "tests.integration.test_dynamic_defect_impedance.test_public_interface_dynamic_defect_impedance_uses_two_sided_faces", + "callee": "perovskite_sim.experiments.impedance.run_impedance", + "line": 67, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.impedance.run_impedance", + "callee": "perovskite_sim.experiments.dynamic_defect_impedance.run_dynamic_defect_impedance", + "line": 985, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_dynamic_defect_impedance.test_public_triple_coupled_defect_ion_impedance_is_certified", + "edges": [ + { + "caller": "tests.integration.test_dynamic_defect_impedance.test_public_triple_coupled_defect_ion_impedance_is_certified", + "callee": "perovskite_sim.experiments.impedance.run_impedance", + "line": 91, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.impedance.run_impedance", + "callee": "perovskite_sim.experiments.dynamic_defect_impedance.run_dynamic_defect_impedance", + "line": 985, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_material_cache_regression.test_impedance_ionmonger_finite_and_capacitive", + "edges": [ + { + "caller": "tests.integration.test_material_cache_regression.test_impedance_ionmonger_finite_and_capacitive", + "callee": "perovskite_sim.experiments.impedance.run_impedance", + "line": 55, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.impedance.run_impedance", + "callee": "perovskite_sim.experiments.dynamic_defect_impedance.run_dynamic_defect_impedance", + "line": 985, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_impedance.test_impedance_rejects_dynamic_interface_state_blocks", + "edges": [ + { + "caller": "tests.unit.experiments.test_impedance.test_impedance_rejects_dynamic_interface_state_blocks", + "callee": "perovskite_sim.experiments.impedance.run_impedance", + "line": 803, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.impedance.run_impedance", + "callee": "perovskite_sim.experiments.dynamic_defect_impedance.run_dynamic_defect_impedance", + "line": 985, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_impedance.test_impedance_rejects_empty_frequencies", + "edges": [ + { + "caller": "tests.unit.experiments.test_impedance.test_impedance_rejects_empty_frequencies", + "callee": "perovskite_sim.experiments.impedance.run_impedance", + "line": 42, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.impedance.run_impedance", + "callee": "perovskite_sim.experiments.dynamic_defect_impedance.run_dynamic_defect_impedance", + "line": 985, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_impedance.test_impedance_rejects_failed_dark_dc_preconditioning", + "edges": [ + { + "caller": "tests.unit.experiments.test_impedance.test_impedance_rejects_failed_dark_dc_preconditioning", + "callee": "perovskite_sim.experiments.impedance.run_impedance", + "line": 79, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.impedance.run_impedance", + "callee": "perovskite_sim.experiments.dynamic_defect_impedance.run_dynamic_defect_impedance", + "line": 985, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_impedance.test_impedance_rejects_noninteger_protocol_counts", + "edges": [ + { + "caller": "tests.unit.experiments.test_impedance.test_impedance_rejects_noninteger_protocol_counts", + "callee": "perovskite_sim.experiments.impedance.run_impedance", + "line": 110, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.impedance.run_impedance", + "callee": "perovskite_sim.experiments.dynamic_defect_impedance.run_dynamic_defect_impedance", + "line": 985, + "kind": "call" + } + ] + } + ], + "original_scope_limitations": null, + "active_contract": null, + "obligations": [ + { + "id": "new-source-experiment-eed05d86c5378218", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-eed05d86c5378218.json", + "tasks": [ + "P04-06", + "P04-10", + "P05-01", + "P05-03" + ], + "gates": [ + "G4", + "G5" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof", + "per-physical-observable units/norm/reference scale/zero policy and applicable original or prospectively frozen threshold; test truth values do not fill this field", + "the applicable gauge/CV/log-density/inventory or complex/circular-phase comparator with physical units; no generic scalar substitute" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-4a4450a717279d7a9cc77c2f", + "rule-bfce97ea1c6466983ae0e5ac", + "rule-88a9a247a7483ea993667868", + "rule-6320ae143a48ae94b5b3d2bb", + "rule-19667378b6e130d3f6034e16", + "rule-af35ebbad8b86cbb2ddfa6d4", + "rule-de6e5ec60719babee793b931", + "rule-93355d18cb3d6dc05528b9d5", + "rule-1435e79f45b24bc34ecf9337", + "rule-f4689c3810cdc076c0f3372d", + "rule-1cb532928d3d9cbfd620b4dc", + "rule-14e23a8a0328c8a3637ca7dc", + "rule-5fbc48af640fbdef2c2d2cd3", + "rule-e079a8ed022c96c49a464a67", + "rule-271b083c7ccaa6d47a20651c", + "rule-c2cb13677db49a2ed6d93062", + "rule-9fcb17d622af424efa4ae219", + "rule-117cac111ddab60b14037e34", + "rule-b6854a5fb3550b35c4fa0085", + "rule-bbc365e60830e5b5179c107f" + ], + "comparison_scope_id": "scope-experiment-eed05d86c5378218" + }, + { + "capability_id": "experiment-57b0e21dbe6c3130", + "route_id": "route-a56ff31ad57a1f0e", + "origin_key": "experiment:perovskite_sim.experiments.dynamic_defect_transient.run_dynamic_defect_transient", + "target": { + "capability_id": "experiment-57b0e21dbe6c3130", + "scope_id": "experiment:perovskite_sim.experiments.dynamic_defect_transient.run_dynamic_defect_transient", + "kind": "original_scoped_assertions", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_assertions_bound", + "citations": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/dynamic_defect_transient.py", + "symbol": "run_dynamic_defect_transient" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_dynamic_defect_transient.py", + "symbol": "test_public_dynamic_defect_transient_is_protocol_bound_and_certified" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py", + "symbol": "test_production_executor_cell_runs_public_protocol_and_projection" + } + ], + "original_evidence": [ + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_dynamic_defect_transient.py", + "symbol": "test_public_dynamic_defect_transient_is_protocol_bound_and_certified" + }, + "test_node": "perovskite-sim/tests/integration/test_dynamic_defect_transient.py::test_public_dynamic_defect_transient_is_protocol_bound_and_certified", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py", + "symbol": "test_production_executor_cell_runs_public_protocol_and_projection" + }, + "test_node": "perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py::test_production_executor_cell_runs_public_protocol_and_projection", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + } + ], + "call_chains": [ + { + "test": "tests.integration.test_dynamic_defect_transient.test_public_dynamic_defect_transient_is_protocol_bound_and_certified", + "edges": [ + { + "caller": "tests.integration.test_dynamic_defect_transient.test_public_dynamic_defect_transient_is_protocol_bound_and_certified", + "callee": "perovskite_sim.experiments.dynamic_defect_transient.run_dynamic_defect_transient", + "line": 36, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.validation.test_dynamic_defect_transient_refinement.test_production_executor_cell_runs_public_protocol_and_projection", + "edges": [ + { + "caller": "tests.unit.validation.test_dynamic_defect_transient_refinement.test_production_executor_cell_runs_public_protocol_and_projection", + "callee": "perovskite_sim.validation.dynamic_defect_transient_refinement.run_dynamic_defect_ion_transient_refinement", + "line": 320, + "kind": "call" + }, + { + "caller": "perovskite_sim.validation.dynamic_defect_transient_refinement.run_dynamic_defect_ion_transient_refinement", + "callee": "perovskite_sim.experiments.dynamic_defect_transient.run_dynamic_defect_transient", + "line": 661, + "kind": "call" + } + ] + } + ], + "original_scope_limitations": null, + "active_contract": null, + "obligations": [ + { + "id": "new-source-experiment-57b0e21dbe6c3130", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-57b0e21dbe6c3130.json", + "tasks": [ + "P04-10", + "P05-01", + "P05-04" + ], + "gates": [ + "G4", + "G5" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof", + "per-physical-observable units/norm/reference scale/zero policy and applicable original or prospectively frozen threshold; test truth values do not fill this field" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-8b73a5996b8df46470ad3f43", + "rule-46c5af796c535952b9a7bb89", + "rule-db79fc474ca61342ea235bac", + "rule-d48b6a88dc1b9fcdb3efe492", + "rule-6c8a73e9f48c989da46c112f", + "rule-c30e53282ea9a2947a2c899c", + "rule-4489eb4a23583f6aeca400cf", + "rule-dd1666fa9876a2b78345bf87", + "rule-69857484185b02815d8a35f3", + "rule-446880dc9a70b697dd4606ac", + "rule-f1ec7303da9f399ab6e633f7", + "rule-b7c84575d4686b9c8ed85cf9", + "rule-671548b22cda03fd7ed7fbe0", + "rule-bb1d7d40eec47791f1348f2e", + "rule-70acbf82cfeb1829ec060ed4", + "rule-c83aebea44d6b49a84461bd4", + "rule-ae84825be5a53f99e880bd94", + "rule-e35cef3c9ff73b7368e5908a", + "rule-fd062cc57899753dadb480fc", + "rule-fe7f7f7e5f1228b68466017f", + "rule-0694964c301a3ee5a4811923", + "rule-baf982fd33574a4d2a4e0caf", + "rule-a16248a6a745a081daa324e6", + "rule-9e3fd39304943ae3c202ccce" + ], + "comparison_scope_id": "scope-experiment-57b0e21dbe6c3130" + }, + { + "capability_id": "experiment-ddece0c2ae0c1f35", + "route_id": "route-e54ce44407041288", + "origin_key": "experiment:perovskite_sim.experiments.el_spectrum.run_el_spectrum", + "target": { + "capability_id": "experiment-ddece0c2ae0c1f35", + "scope_id": "experiment:perovskite_sim.experiments.el_spectrum.run_el_spectrum", + "kind": "original_scoped_assertions", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_assertions_bound", + "citations": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/el_spectrum.py", + "symbol": "run_el_spectrum" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_el_spectrum.py", + "symbol": "test_N_grid_lower_bound" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_el_spectrum.py", + "symbol": "test_V_inj_must_be_positive" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_el_spectrum.py", + "symbol": "test_increasing_V_inj_raises_J_em_rad" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_el_spectrum.py", + "symbol": "test_input_stack_not_mutated" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_el_spectrum.py", + "symbol": "test_non_tmm_stack_is_rejected" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_el_spectrum.py", + "symbol": "test_progress_callback_invoked" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_el_spectrum.py", + "symbol": "test_temperature_propagates_into_result" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_el_spectrum.py", + "symbol": "test_wavelengths_must_be_positive" + } + ], + "original_evidence": [ + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_el_spectrum.py", + "symbol": "test_N_grid_lower_bound" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_el_spectrum.py::test_N_grid_lower_bound", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_el_spectrum.py", + "symbol": "test_V_inj_must_be_positive" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_el_spectrum.py::test_V_inj_must_be_positive", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_el_spectrum.py", + "symbol": "test_increasing_V_inj_raises_J_em_rad" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_el_spectrum.py::test_increasing_V_inj_raises_J_em_rad", + "scope_docstring": "J_em_rad ∝ exp(qV/kT) — a 0.2 V bump at 300 K is a ~2000x factor.", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_el_spectrum.py", + "symbol": "test_input_stack_not_mutated" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_el_spectrum.py::test_input_stack_not_mutated", + "scope_docstring": "Frozen dataclass contract — stack fields survive the run unchanged.", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_el_spectrum.py", + "symbol": "test_non_tmm_stack_is_rejected" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_el_spectrum.py::test_non_tmm_stack_is_rejected", + "scope_docstring": "Beer-Lambert stacks have no wavelength-resolved optics → ValueError.", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_el_spectrum.py", + "symbol": "test_progress_callback_invoked" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_el_spectrum.py::test_progress_callback_invoked", + "scope_docstring": "Callback should fire a strictly-increasing current count.", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_el_spectrum.py", + "symbol": "test_temperature_propagates_into_result" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_el_spectrum.py::test_temperature_propagates_into_result", + "scope_docstring": "ELResult.T should match stack.T.", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_el_spectrum.py", + "symbol": "test_wavelengths_must_be_positive" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_el_spectrum.py::test_wavelengths_must_be_positive", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + } + ], + "call_chains": [ + { + "test": "tests.unit.experiments.test_el_spectrum.test_N_grid_lower_bound", + "edges": [ + { + "caller": "tests.unit.experiments.test_el_spectrum.test_N_grid_lower_bound", + "callee": "perovskite_sim.experiments.el_spectrum.run_el_spectrum", + "line": 62, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_el_spectrum.test_V_inj_must_be_positive", + "edges": [ + { + "caller": "tests.unit.experiments.test_el_spectrum.test_V_inj_must_be_positive", + "callee": "perovskite_sim.experiments.el_spectrum.run_el_spectrum", + "line": 55, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_el_spectrum.test_increasing_V_inj_raises_J_em_rad", + "edges": [ + { + "caller": "tests.unit.experiments.test_el_spectrum.test_increasing_V_inj_raises_J_em_rad", + "callee": "perovskite_sim.experiments.el_spectrum.run_el_spectrum", + "line": 178, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_el_spectrum.test_input_stack_not_mutated", + "edges": [ + { + "caller": "tests.unit.experiments.test_el_spectrum.test_input_stack_not_mutated", + "callee": "perovskite_sim.experiments.el_spectrum.run_el_spectrum", + "line": 191, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_el_spectrum.test_non_tmm_stack_is_rejected", + "edges": [ + { + "caller": "tests.unit.experiments.test_el_spectrum.test_non_tmm_stack_is_rejected", + "callee": "perovskite_sim.experiments.el_spectrum.run_el_spectrum", + "line": 50, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_el_spectrum.test_progress_callback_invoked", + "edges": [ + { + "caller": "tests.unit.experiments.test_el_spectrum.test_progress_callback_invoked", + "callee": "perovskite_sim.experiments.el_spectrum.run_el_spectrum", + "line": 207, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_el_spectrum.test_temperature_propagates_into_result", + "edges": [ + { + "caller": "tests.unit.experiments.test_el_spectrum.test_temperature_propagates_into_result", + "callee": "perovskite_sim.experiments.el_spectrum.run_el_spectrum", + "line": 163, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_el_spectrum.test_wavelengths_must_be_positive", + "edges": [ + { + "caller": "tests.unit.experiments.test_el_spectrum.test_wavelengths_must_be_positive", + "callee": "perovskite_sim.experiments.el_spectrum.run_el_spectrum", + "line": 76, + "kind": "call" + } + ] + } + ], + "original_scope_limitations": null, + "active_contract": null, + "obligations": [ + { + "id": "new-source-experiment-ddece0c2ae0c1f35", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-ddece0c2ae0c1f35.json", + "tasks": [ + "P04-06", + "P05-01", + "P05-03" + ], + "gates": [ + "G4", + "G5" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof", + "per-physical-observable units/norm/reference scale/zero policy and applicable original or prospectively frozen threshold; test truth values do not fill this field" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-f58c376cf705625d27687290", + "rule-cdf0c8521198203dcc44187b", + "rule-41880e868d7587e810bb3248", + "rule-dc1f30f377b7c6e82d911991", + "rule-904ce8a210b8a50d93e8b09c", + "rule-89f937b950720850083f1941", + "rule-b468edc02330008307aec3db", + "rule-0b8efd843ad730c5640e7deb", + "rule-5c990975f70297731f47a30c", + "rule-3e7bd1ea6c8821036c34ef7c", + "rule-e281039630acd106b2238d35", + "rule-a6b5fb694566e90b56c460bc" + ], + "comparison_scope_id": "scope-experiment-ddece0c2ae0c1f35" + }, + { + "capability_id": "experiment-cff445ec1e0effe0", + "route_id": "route-7db2e643362dfd6c", + "origin_key": "experiment:perovskite_sim.experiments.electrothermal.solve_electrothermal_operating_point", + "target": { + "capability_id": "experiment-cff445ec1e0effe0", + "scope_id": "experiment:perovskite_sim.experiments.electrothermal.solve_electrothermal_operating_point", + "kind": "original_scoped_assertions", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_assertions_bound", + "citations": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/electrothermal.py", + "symbol": "solve_electrothermal_operating_point" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_electrothermal_operating_point.py", + "symbol": "test_real_mobile_ion_jv_closes_lumped_electrothermal_root" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_electrothermal.py", + "symbol": "test_export_above_declared_absorption_fails_closed" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_electrothermal.py", + "symbol": "test_impossible_temperature_envelope_fails_closed" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_electrothermal.py", + "symbol": "test_invalid_electrical_source_fails_closed" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_electrothermal.py", + "symbol": "test_legacy_mode_is_rejected_before_an_electrical_solve" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_electrothermal.py", + "symbol": "test_linear_temperature_dependent_mpp_has_analytic_coupled_root" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_electrothermal.py", + "symbol": "test_result_recomputes_evaluation_and_certification_evidence" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_electrothermal.py", + "symbol": "test_series_loss_reduces_export_and_increases_temperature" + } + ], + "original_evidence": [ + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_electrothermal_operating_point.py", + "symbol": "test_real_mobile_ion_jv_closes_lumped_electrothermal_root" + }, + "test_node": "perovskite-sim/tests/integration/test_electrothermal_operating_point.py::test_real_mobile_ion_jv_closes_lumped_electrothermal_root", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_electrothermal.py", + "symbol": "test_export_above_declared_absorption_fails_closed" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_electrothermal.py::test_export_above_declared_absorption_fails_closed", + "scope_docstring": null, + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_electrothermal.py", + "symbol": "test_impossible_temperature_envelope_fails_closed" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_electrothermal.py::test_impossible_temperature_envelope_fails_closed", + "scope_docstring": null, + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_electrothermal.py", + "symbol": "test_invalid_electrical_source_fails_closed" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_electrothermal.py::test_invalid_electrical_source_fails_closed", + "scope_docstring": null, + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_electrothermal.py", + "symbol": "test_legacy_mode_is_rejected_before_an_electrical_solve" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_electrothermal.py::test_legacy_mode_is_rejected_before_an_electrical_solve", + "scope_docstring": null, + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_electrothermal.py", + "symbol": "test_linear_temperature_dependent_mpp_has_analytic_coupled_root" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_electrothermal.py::test_linear_temperature_dependent_mpp_has_analytic_coupled_root", + "scope_docstring": null, + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_electrothermal.py", + "symbol": "test_result_recomputes_evaluation_and_certification_evidence" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_electrothermal.py::test_result_recomputes_evaluation_and_certification_evidence", + "scope_docstring": null, + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_electrothermal.py", + "symbol": "test_series_loss_reduces_export_and_increases_temperature" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_electrothermal.py::test_series_loss_reduces_export_and_increases_temperature", + "scope_docstring": null, + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + } + ], + "call_chains": [ + { + "test": "tests.integration.test_electrothermal_operating_point.test_real_mobile_ion_jv_closes_lumped_electrothermal_root", + "edges": [ + { + "caller": "tests.integration.test_electrothermal_operating_point.test_real_mobile_ion_jv_closes_lumped_electrothermal_root", + "callee": "perovskite_sim.experiments.electrothermal.solve_electrothermal_operating_point", + "line": 39, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_electrothermal.test_export_above_declared_absorption_fails_closed", + "edges": [ + { + "caller": "tests.unit.experiments.test_electrothermal.test_export_above_declared_absorption_fails_closed", + "callee": "perovskite_sim.experiments.electrothermal.solve_electrothermal_operating_point", + "line": 273, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_electrothermal.test_impossible_temperature_envelope_fails_closed", + "edges": [ + { + "caller": "tests.unit.experiments.test_electrothermal.test_impossible_temperature_envelope_fails_closed", + "callee": "perovskite_sim.experiments.electrothermal.solve_electrothermal_operating_point", + "line": 258, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_electrothermal.test_invalid_electrical_source_fails_closed", + "edges": [ + { + "caller": "tests.unit.experiments.test_electrothermal.test_invalid_electrical_source_fails_closed", + "callee": "perovskite_sim.experiments.electrothermal.solve_electrothermal_operating_point", + "line": 246, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_electrothermal.test_legacy_mode_is_rejected_before_an_electrical_solve", + "edges": [ + { + "caller": "tests.unit.experiments.test_electrothermal.test_legacy_mode_is_rejected_before_an_electrical_solve", + "callee": "perovskite_sim.experiments.electrothermal.solve_electrothermal_operating_point", + "line": 217, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_electrothermal.test_linear_temperature_dependent_mpp_has_analytic_coupled_root", + "edges": [ + { + "caller": "tests.unit.experiments.test_electrothermal.test_linear_temperature_dependent_mpp_has_analytic_coupled_root", + "callee": "perovskite_sim.experiments.electrothermal.solve_electrothermal_operating_point", + "line": 149, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_electrothermal.test_result_recomputes_evaluation_and_certification_evidence", + "edges": [ + { + "caller": "tests.unit.experiments.test_electrothermal.test_result_recomputes_evaluation_and_certification_evidence", + "callee": "perovskite_sim.experiments.electrothermal.solve_electrothermal_operating_point", + "line": 284, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_electrothermal.test_series_loss_reduces_export_and_increases_temperature", + "edges": [ + { + "caller": "tests.unit.experiments.test_electrothermal.test_series_loss_reduces_export_and_increases_temperature", + "callee": "perovskite_sim.experiments.electrothermal.solve_electrothermal_operating_point", + "line": 191, + "kind": "call" + } + ] + } + ], + "original_scope_limitations": null, + "active_contract": null, + "obligations": [ + { + "id": "new-source-experiment-cff445ec1e0effe0", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-cff445ec1e0effe0.json", + "tasks": [ + "P04-13", + "P05-01", + "P05-04" + ], + "gates": [ + "G4", + "G5" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof", + "per-physical-observable units/norm/reference scale/zero policy and applicable original or prospectively frozen threshold; test truth values do not fill this field" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-b6286676da65577e8ee21cd0", + "rule-93e31bfad268c262c90abb96", + "rule-0037a02fbc32bcf365fe9809", + "rule-6129fe283b4430d394b47b06", + "rule-ecb4a61ab1bd2e2e602b1ea1", + "rule-1bb57b4546098a5c415bd3c7", + "rule-4cf0b9da171d032e21719083", + "rule-0040adf2449127daf27a7b42", + "rule-be95cd313e33174638b2c309", + "rule-26a520e798edab11fc88feaa", + "rule-19195cfd499cec974f1b117c", + "rule-cafa1668afa001e2c89c38ff", + "rule-237c82ea712a10eef8510a9d", + "rule-c630d0764e718f498a587941", + "rule-8133a5319a1a16548d7ea8b6", + "rule-ee41aeb65ede86f9ecf5ef71", + "rule-d991876d3d0ebfe5644e6b9f", + "rule-860af221c651fa65b2e6e8ff", + "rule-74f8f0ef7c32509e0b250234", + "rule-09d0f12e1dec166234ad80a2", + "rule-c75543f6efb93fc4ad240b30", + "rule-e4b57a0ea91d3ba9a05ab81f", + "rule-dd12e92e22b193b85ccd9944", + "rule-91895f98f0cbd2e4f6087a31", + "rule-fb725c829354073e15979514", + "rule-0dd1ba594c95c8c4976ff909", + "rule-83cf51236a2b3ea2e51781ea", + "rule-c9bf156f7f06a64fc3e73bf6", + "rule-bac689902ff64168260b5009" + ], + "comparison_scope_id": "scope-experiment-cff445ec1e0effe0" + }, + { + "capability_id": "experiment-d99a1dd374330649", + "route_id": "route-5a8723c98dfd6f67", + "origin_key": "experiment:perovskite_sim.experiments.eqe.compute_eqe", + "target": { + "capability_id": "experiment-d99a1dd374330649", + "scope_id": "experiment:perovskite_sim.experiments.eqe.compute_eqe", + "kind": "original_scoped_assertions", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_assertions_bound", + "citations": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/eqe.py", + "symbol": "compute_eqe" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_eqe.py", + "symbol": "test_eqe_drops_above_bandgap" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_eqe.py", + "symbol": "test_eqe_in_unit_range_on_ionic_rich_preset" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_eqe.py", + "symbol": "test_integrated_jsc_matches_full_tmm" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_eqe.py", + "symbol": "test_progress_callback_invoked" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_eqe.py", + "symbol": "test_rejects_beer_lambert_only_stack" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_eqe.py", + "symbol": "test_rejects_empty_wavelengths" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_eqe.py", + "symbol": "test_rejects_nonpositive_phi" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_eqe.py", + "symbol": "test_rejects_nonpositive_wavelength" + } + ], + "original_evidence": [ + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_eqe.py", + "symbol": "test_eqe_drops_above_bandgap" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_eqe.py::test_eqe_drops_above_bandgap", + "scope_docstring": "EQE must fall toward zero for λ > MAPbI3 band-gap wavelength (~800 nm).", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_eqe.py", + "symbol": "test_eqe_in_unit_range_on_ionic_rich_preset" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_eqe.py::test_eqe_in_unit_range_on_ionic_rich_preset", + "scope_docstring": "Regression for the ``ionmonger_benchmark_tmm`` EQE>1 artifact\n(audit 2026-05-09).\n\nWith the pre-fix defaults (``Phi_incident=1e20``, ``t_settle=1e-3 s``)\nthe residual ionic transient at V=0 swamped the small monochromatic\nphoto-signal on this preset, producing ``EQE_max ≈ 48`` — a 4881 %\nquantum yield, physically impossible. The fix bumps the defaults to\n``Phi_incident=4e21`` and ``t_settle=1e-1 s`` and subtracts the\ndark J(V=0) baseline. This test pins the fix on the worst-case preset\nso any regression resurrects ``EQE > 1`` immediately.", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_eqe.py", + "symbol": "test_integrated_jsc_matches_full_tmm" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_eqe.py::test_integrated_jsc_matches_full_tmm", + "scope_docstring": "∫ q·EQE·Φ_AM15G dλ must reproduce the full TMM J_sc to within ~25 %.\n\nBoth paths use the same TMM layer stack and the same AM1.5G file;\nthey differ only in how the wavelength integration is discretised\n(the EQE path uses 15 probe points; the full sim uses 200\ninternally). The test tolerance accommodates that grid coarseness\n— a tight match here would indicate the wavelength grid isn't\nactually being exercised independently.", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_eqe.py", + "symbol": "test_progress_callback_invoked" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_eqe.py::test_progress_callback_invoked", + "scope_docstring": "Progress callback fires once per wavelength.", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_eqe.py", + "symbol": "test_rejects_beer_lambert_only_stack" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_eqe.py::test_rejects_beer_lambert_only_stack", + "scope_docstring": "compute_eqe on a no-optical-data stack must raise, not fake a curve.", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_eqe.py", + "symbol": "test_rejects_empty_wavelengths" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_eqe.py::test_rejects_empty_wavelengths", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_eqe.py", + "symbol": "test_rejects_nonpositive_phi" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_eqe.py::test_rejects_nonpositive_phi", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_eqe.py", + "symbol": "test_rejects_nonpositive_wavelength" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_eqe.py::test_rejects_nonpositive_wavelength", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + } + ], + "call_chains": [ + { + "test": "tests.unit.experiments.test_eqe.test_eqe_drops_above_bandgap", + "edges": [ + { + "caller": "tests.unit.experiments.test_eqe.test_eqe_drops_above_bandgap", + "callee": "perovskite_sim.experiments.eqe.compute_eqe", + "line": 158, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_eqe.test_eqe_in_unit_range_on_ionic_rich_preset", + "edges": [ + { + "caller": "tests.unit.experiments.test_eqe.test_eqe_in_unit_range_on_ionic_rich_preset", + "callee": "perovskite_sim.experiments.eqe.compute_eqe", + "line": 136, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_eqe.test_integrated_jsc_matches_full_tmm", + "edges": [ + { + "caller": "tests.unit.experiments.test_eqe.test_integrated_jsc_matches_full_tmm", + "callee": "perovskite_sim.experiments.eqe.compute_eqe", + "line": 210, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_eqe.test_progress_callback_invoked", + "edges": [ + { + "caller": "tests.unit.experiments.test_eqe.test_progress_callback_invoked", + "callee": "perovskite_sim.experiments.eqe.compute_eqe", + "line": 180, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_eqe.test_rejects_beer_lambert_only_stack", + "edges": [ + { + "caller": "tests.unit.experiments.test_eqe.test_rejects_beer_lambert_only_stack", + "callee": "perovskite_sim.experiments.eqe.compute_eqe", + "line": 43, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_eqe.test_rejects_empty_wavelengths", + "edges": [ + { + "caller": "tests.unit.experiments.test_eqe.test_rejects_empty_wavelengths", + "callee": "perovskite_sim.experiments.eqe.compute_eqe", + "line": 48, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_eqe.test_rejects_nonpositive_phi", + "edges": [ + { + "caller": "tests.unit.experiments.test_eqe.test_rejects_nonpositive_phi", + "callee": "perovskite_sim.experiments.eqe.compute_eqe", + "line": 53, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_eqe.test_rejects_nonpositive_wavelength", + "edges": [ + { + "caller": "tests.unit.experiments.test_eqe.test_rejects_nonpositive_wavelength", + "callee": "perovskite_sim.experiments.eqe.compute_eqe", + "line": 62, + "kind": "call" + } + ] + } + ], + "original_scope_limitations": null, + "active_contract": null, + "obligations": [ + { + "id": "new-source-experiment-d99a1dd374330649", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-d99a1dd374330649.json", + "tasks": [ + "P04-06", + "P05-01", + "P05-03" + ], + "gates": [ + "G4", + "G5" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof", + "per-physical-observable units/norm/reference scale/zero policy and applicable original or prospectively frozen threshold; test truth values do not fill this field", + "the applicable gauge/CV/log-density/inventory or complex/circular-phase comparator with physical units; no generic scalar substitute" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-48f7c71744841dd1136c6c19", + "rule-5afb8934de697ffb1120876c", + "rule-ef7a40578636767576054db9", + "rule-878a330da7e7e3c433721159", + "rule-a3b55b317d38dc43cbc1a539", + "rule-af36820511cb90e86a205b11", + "rule-228d1ae62046407977aa9a69", + "rule-aef2a1894c01d8c987ebe9f1", + "rule-d410f8a29076f664c0d9e2e0", + "rule-0657d4287ecb44b016727641", + "rule-3852f042662ac9dfb7386b1f" + ], + "comparison_scope_id": "scope-experiment-d99a1dd374330649" + }, + { + "capability_id": "experiment-5228757a6f9c21fa", + "route_id": "route-f5899aee3f4d6b9e", + "origin_key": "experiment:perovskite_sim.experiments.external_circuit.apply_external_circuit", + "target": { + "capability_id": "experiment-5228757a6f9c21fa", + "scope_id": "experiment:perovskite_sim.experiments.external_circuit.apply_external_circuit", + "kind": "original_scoped_assertions", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_assertions_bound", + "citations": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/external_circuit.py", + "symbol": "apply_external_circuit" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_external_circuit.py", + "symbol": "test_real_transient_jv_closes_zero_and_nonzero_external_circuit" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_external_circuit.py", + "symbol": "test_apply_requires_certified_source_by_default" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_external_circuit.py", + "symbol": "test_apply_retains_source_hash_and_reports_certified_mapping" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_external_circuit.py", + "symbol": "test_default_zero_coupling_preserves_source_metrics_exactly" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_external_circuit.py", + "symbol": "test_input_shape_and_incident_power_fail_closed" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_external_circuit.py", + "symbol": "test_mapping_hash_binds_incident_power_without_changing_terminal_curve" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_external_circuit.py", + "symbol": "test_shunt_reduces_voc_and_series_resistance_reduces_fill_factor" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_external_circuit.py", + "symbol": "test_source_experiment_protocol_property_is_bound_into_result" + } + ], + "original_evidence": [ + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_external_circuit.py", + "symbol": "test_real_transient_jv_closes_zero_and_nonzero_external_circuit" + }, + "test_node": "perovskite-sim/tests/integration/test_external_circuit.py::test_real_transient_jv_closes_zero_and_nonzero_external_circuit", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_external_circuit.py", + "symbol": "test_apply_requires_certified_source_by_default" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_external_circuit.py::test_apply_requires_certified_source_by_default", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_external_circuit.py", + "symbol": "test_apply_retains_source_hash_and_reports_certified_mapping" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_external_circuit.py::test_apply_retains_source_hash_and_reports_certified_mapping", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_external_circuit.py", + "symbol": "test_default_zero_coupling_preserves_source_metrics_exactly" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_external_circuit.py::test_default_zero_coupling_preserves_source_metrics_exactly", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_external_circuit.py", + "symbol": "test_input_shape_and_incident_power_fail_closed" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_external_circuit.py::test_input_shape_and_incident_power_fail_closed", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_external_circuit.py", + "symbol": "test_mapping_hash_binds_incident_power_without_changing_terminal_curve" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_external_circuit.py::test_mapping_hash_binds_incident_power_without_changing_terminal_curve", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_external_circuit.py", + "symbol": "test_shunt_reduces_voc_and_series_resistance_reduces_fill_factor" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_external_circuit.py::test_shunt_reduces_voc_and_series_resistance_reduces_fill_factor", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_external_circuit.py", + "symbol": "test_source_experiment_protocol_property_is_bound_into_result" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_external_circuit.py::test_source_experiment_protocol_property_is_bound_into_result", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + } + ], + "call_chains": [ + { + "test": "tests.integration.test_external_circuit.test_real_transient_jv_closes_zero_and_nonzero_external_circuit", + "edges": [ + { + "caller": "tests.integration.test_external_circuit.test_real_transient_jv_closes_zero_and_nonzero_external_circuit", + "callee": "perovskite_sim.experiments.external_circuit.apply_external_circuit", + "line": 24, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_external_circuit.test_apply_requires_certified_source_by_default", + "edges": [ + { + "caller": "tests.unit.experiments.test_external_circuit.test_apply_requires_certified_source_by_default", + "callee": "perovskite_sim.experiments.external_circuit.apply_external_circuit", + "line": 152, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_external_circuit.test_apply_retains_source_hash_and_reports_certified_mapping", + "edges": [ + { + "caller": "tests.unit.experiments.test_external_circuit.test_apply_retains_source_hash_and_reports_certified_mapping", + "callee": "perovskite_sim.experiments.external_circuit.apply_external_circuit", + "line": 162, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_external_circuit.test_default_zero_coupling_preserves_source_metrics_exactly", + "edges": [ + { + "caller": "tests.unit.experiments.test_external_circuit.test_default_zero_coupling_preserves_source_metrics_exactly", + "callee": "perovskite_sim.experiments.external_circuit.apply_external_circuit", + "line": 195, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_external_circuit.test_input_shape_and_incident_power_fail_closed", + "edges": [ + { + "caller": "tests.unit.experiments.test_external_circuit.test_input_shape_and_incident_power_fail_closed", + "callee": "perovskite_sim.experiments.external_circuit.apply_external_circuit", + "line": 280, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_external_circuit.test_mapping_hash_binds_incident_power_without_changing_terminal_curve", + "edges": [ + { + "caller": "tests.unit.experiments.test_external_circuit.test_mapping_hash_binds_incident_power_without_changing_terminal_curve", + "callee": "perovskite_sim.experiments.external_circuit.apply_external_circuit", + "line": 204, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_external_circuit.test_shunt_reduces_voc_and_series_resistance_reduces_fill_factor", + "edges": [ + { + "caller": "tests.unit.experiments.test_external_circuit.test_shunt_reduces_voc_and_series_resistance_reduces_fill_factor", + "callee": "perovskite_sim.experiments.external_circuit.apply_external_circuit", + "line": 229, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_external_circuit.test_source_experiment_protocol_property_is_bound_into_result", + "edges": [ + { + "caller": "tests.unit.experiments.test_external_circuit.test_source_experiment_protocol_property_is_bound_into_result", + "callee": "perovskite_sim.experiments.external_circuit.apply_external_circuit", + "line": 184, + "kind": "call" + } + ] + } + ], + "original_scope_limitations": null, + "active_contract": null, + "obligations": [ + { + "id": "new-source-experiment-5228757a6f9c21fa", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-5228757a6f9c21fa.json", + "tasks": [ + "P04-13", + "P05-01", + "P05-04" + ], + "gates": [ + "G4", + "G5" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof", + "per-physical-observable units/norm/reference scale/zero policy and applicable original or prospectively frozen threshold; test truth values do not fill this field" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-9417b53d9474a41df5c4686f", + "rule-5cc0b2edc66b9395dac4f14b", + "rule-896a6a733283b9d2078da1ee", + "rule-063b06fabd2076a23df69a28", + "rule-3d7aaac57a1b91989e469502", + "rule-761607765e69b874182c986b", + "rule-8f6bda5eb7115d8109b10f5a", + "rule-f2624c99612f03fb7e22a235", + "rule-feb6b1b9aab5cdb3130ed487", + "rule-867874530d4e0f19e734d366", + "rule-d36327b0abaa7cfd58efd812", + "rule-75127cac6da884c360525429", + "rule-2d3579cfe1a2963bb4c253ca", + "rule-a16c48b5828d4e1bbe117ad2", + "rule-3fd6a4fc3cfa6c50bbea9aa5", + "rule-ab8fe20d836fac1d6d511134", + "rule-fa31109d4341a1d0c183948d", + "rule-1bab95ed94289682c3769985", + "rule-94fd63cb136a9449645e4bb7", + "rule-12abf3ef014f256fe1ebd2da", + "rule-1125d3cd9a15835463fc358a", + "rule-edfef631d4358e5f48fa96c7", + "rule-961689a3989ba0091fd090f0", + "rule-52d745df0e5f1778e4409827", + "rule-b967a15b38a21998225b54e2", + "rule-c950bd5be5661a33ecd2d47c", + "rule-cef76a45e5003e0e7ad1d1c4", + "rule-00f3354e9397b9d363ef25e0", + "rule-c670f7eb72d7ff7a740fb46c", + "rule-d35cdde13c03fe5bfc4b8c2b", + "rule-5995f4dd6d8d28dcbe8cd2cb", + "rule-edef41ce8352902389c73e6e", + "rule-dde5badb0bc882a0fac48edc", + "rule-20141391c6cf5412c018eb93" + ], + "comparison_scope_id": "scope-experiment-5228757a6f9c21fa" + }, + { + "capability_id": "experiment-671a7a898134a9d4", + "route_id": "route-f5899aee3f4d6b9e", + "origin_key": "experiment:perovskite_sim.experiments.external_circuit.map_external_circuit_branch", + "target": { + "capability_id": "experiment-671a7a898134a9d4", + "scope_id": "experiment:perovskite_sim.experiments.external_circuit.map_external_circuit_branch", + "kind": "original_scoped_assertions", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_assertions_bound", + "citations": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/external_circuit.py", + "symbol": "map_external_circuit_branch" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_external_circuit.py", + "symbol": "test_input_shape_and_incident_power_fail_closed" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_external_circuit.py", + "symbol": "test_nonmonotonic_source_and_folded_terminal_curve_fail_closed" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_external_circuit.py", + "symbol": "test_reverse_branch_preserves_descending_orientation" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_external_circuit.py", + "symbol": "test_series_and_junction_shunt_laws_are_exact" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_external_circuit.py", + "symbol": "test_zero_coupling_is_value_bit_identical_and_read_only" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_external_circuit.py", + "symbol": "test_real_transient_jv_closes_zero_and_nonzero_external_circuit" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_external_circuit.py", + "symbol": "test_apply_requires_certified_source_by_default" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_external_circuit.py", + "symbol": "test_apply_retains_source_hash_and_reports_certified_mapping" + } + ], + "original_evidence": [ + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_external_circuit.py", + "symbol": "test_input_shape_and_incident_power_fail_closed" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_external_circuit.py::test_input_shape_and_incident_power_fail_closed", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_external_circuit.py", + "symbol": "test_nonmonotonic_source_and_folded_terminal_curve_fail_closed" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_external_circuit.py::test_nonmonotonic_source_and_folded_terminal_curve_fail_closed", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_external_circuit.py", + "symbol": "test_reverse_branch_preserves_descending_orientation" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_external_circuit.py::test_reverse_branch_preserves_descending_orientation", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_external_circuit.py", + "symbol": "test_series_and_junction_shunt_laws_are_exact" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_external_circuit.py::test_series_and_junction_shunt_laws_are_exact", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_external_circuit.py", + "symbol": "test_zero_coupling_is_value_bit_identical_and_read_only" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_external_circuit.py::test_zero_coupling_is_value_bit_identical_and_read_only", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_external_circuit.py", + "symbol": "test_real_transient_jv_closes_zero_and_nonzero_external_circuit" + }, + "test_node": "perovskite-sim/tests/integration/test_external_circuit.py::test_real_transient_jv_closes_zero_and_nonzero_external_circuit", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_external_circuit.py", + "symbol": "test_apply_requires_certified_source_by_default" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_external_circuit.py::test_apply_requires_certified_source_by_default", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_external_circuit.py", + "symbol": "test_apply_retains_source_hash_and_reports_certified_mapping" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_external_circuit.py::test_apply_retains_source_hash_and_reports_certified_mapping", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + } + ], + "call_chains": [ + { + "test": "tests.unit.experiments.test_external_circuit.test_input_shape_and_incident_power_fail_closed", + "edges": [ + { + "caller": "tests.unit.experiments.test_external_circuit.test_input_shape_and_incident_power_fail_closed", + "callee": "perovskite_sim.experiments.external_circuit.map_external_circuit_branch", + "line": 278, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_external_circuit.test_nonmonotonic_source_and_folded_terminal_curve_fail_closed", + "edges": [ + { + "caller": "tests.unit.experiments.test_external_circuit.test_nonmonotonic_source_and_folded_terminal_curve_fail_closed", + "callee": "perovskite_sim.experiments.external_circuit.map_external_circuit_branch", + "line": 142, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_external_circuit.test_reverse_branch_preserves_descending_orientation", + "edges": [ + { + "caller": "tests.unit.experiments.test_external_circuit.test_reverse_branch_preserves_descending_orientation", + "callee": "perovskite_sim.experiments.external_circuit.map_external_circuit_branch", + "line": 130, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_external_circuit.test_series_and_junction_shunt_laws_are_exact", + "edges": [ + { + "caller": "tests.unit.experiments.test_external_circuit.test_series_and_junction_shunt_laws_are_exact", + "callee": "perovskite_sim.experiments.external_circuit.map_external_circuit_branch", + "line": 112, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_external_circuit.test_zero_coupling_is_value_bit_identical_and_read_only", + "edges": [ + { + "caller": "tests.unit.experiments.test_external_circuit.test_zero_coupling_is_value_bit_identical_and_read_only", + "callee": "perovskite_sim.experiments.external_circuit.map_external_circuit_branch", + "line": 88, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_external_circuit.test_real_transient_jv_closes_zero_and_nonzero_external_circuit", + "edges": [ + { + "caller": "tests.integration.test_external_circuit.test_real_transient_jv_closes_zero_and_nonzero_external_circuit", + "callee": "perovskite_sim.experiments.external_circuit.apply_external_circuit", + "line": 24, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.external_circuit.apply_external_circuit", + "callee": "perovskite_sim.experiments.external_circuit.map_external_circuit_branch", + "line": 455, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_external_circuit.test_apply_requires_certified_source_by_default", + "edges": [ + { + "caller": "tests.unit.experiments.test_external_circuit.test_apply_requires_certified_source_by_default", + "callee": "perovskite_sim.experiments.external_circuit.apply_external_circuit", + "line": 152, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.external_circuit.apply_external_circuit", + "callee": "perovskite_sim.experiments.external_circuit.map_external_circuit_branch", + "line": 455, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_external_circuit.test_apply_retains_source_hash_and_reports_certified_mapping", + "edges": [ + { + "caller": "tests.unit.experiments.test_external_circuit.test_apply_retains_source_hash_and_reports_certified_mapping", + "callee": "perovskite_sim.experiments.external_circuit.apply_external_circuit", + "line": 162, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.external_circuit.apply_external_circuit", + "callee": "perovskite_sim.experiments.external_circuit.map_external_circuit_branch", + "line": 455, + "kind": "call" + } + ] + } + ], + "original_scope_limitations": null, + "active_contract": null, + "obligations": [ + { + "id": "new-source-experiment-671a7a898134a9d4", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-671a7a898134a9d4.json", + "tasks": [ + "P04-13", + "P05-01", + "P05-04" + ], + "gates": [ + "G4", + "G5" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof", + "per-physical-observable units/norm/reference scale/zero policy and applicable original or prospectively frozen threshold; test truth values do not fill this field" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-52d745df0e5f1778e4409827", + "rule-b967a15b38a21998225b54e2", + "rule-1e608f5b37c3ef00ac01ec9e", + "rule-ad17082dbda3b6f9e6db702f", + "rule-2d8d2688e8de16bd0e670e28", + "rule-944b8fb7b0ecc9b63c7bc5ab", + "rule-4a83ff0011637f6d7b604a18", + "rule-4fc4a16291ac77bfda49bcdd", + "rule-eb569092917fae8aa39b9aee", + "rule-60ba5aca06b09b53c7b225c4", + "rule-3023af4ff6e443411095bd50", + "rule-326cb7c251abc4b6f108b901", + "rule-27021975e5cf246e37c32e3b", + "rule-0d310a98f00573e82ac98a85", + "rule-2f5e405ccd95a5e082830efc", + "rule-cf7e4b32ee2a4c53bcc4bc63", + "rule-868916db8e4689d9fd5741ed", + "rule-9417b53d9474a41df5c4686f", + "rule-5cc0b2edc66b9395dac4f14b", + "rule-896a6a733283b9d2078da1ee", + "rule-063b06fabd2076a23df69a28", + "rule-3d7aaac57a1b91989e469502", + "rule-761607765e69b874182c986b", + "rule-8f6bda5eb7115d8109b10f5a", + "rule-f2624c99612f03fb7e22a235", + "rule-feb6b1b9aab5cdb3130ed487", + "rule-867874530d4e0f19e734d366", + "rule-d36327b0abaa7cfd58efd812", + "rule-75127cac6da884c360525429", + "rule-2d3579cfe1a2963bb4c253ca", + "rule-a16c48b5828d4e1bbe117ad2", + "rule-3fd6a4fc3cfa6c50bbea9aa5", + "rule-ab8fe20d836fac1d6d511134", + "rule-fa31109d4341a1d0c183948d", + "rule-1bab95ed94289682c3769985", + "rule-94fd63cb136a9449645e4bb7", + "rule-12abf3ef014f256fe1ebd2da" + ], + "comparison_scope_id": "scope-experiment-671a7a898134a9d4" + }, + { + "capability_id": "experiment-ff8c4a6873bfed44", + "route_id": "route-aabd8ca4f67f1c35", + "origin_key": "experiment:perovskite_sim.experiments.identifiability.run_interface_srh_identifiability", + "target": { + "capability_id": "experiment-ff8c4a6873bfed44", + "scope_id": "experiment:perovskite_sim.experiments.identifiability.run_interface_srh_identifiability", + "kind": "original_scoped_assertions", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_assertions_bound", + "citations": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/identifiability.py", + "symbol": "run_interface_srh_identifiability" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_identifiability.py", + "symbol": "test_forward_failures_are_penalized_reported_and_invalidate" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_identifiability_refinement.py", + "symbol": "test_executor_rejects_option_schema_drift" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_identifiability_refinement.py", + "symbol": "test_registered_real_cell_matches_exact_contract_and_anchor" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_identifiability.py", + "symbol": "test_charge_observable_identifies_nt_but_not_capture_vs_calibration" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_identifiability.py", + "symbol": "test_known_capture_scale_gives_full_rank_multistart_truth_recovery" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_identifiability.py", + "symbol": "test_noisy_full_rank_recovery_fails_the_strict_truth_gate" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_identifiability.py", + "symbol": "test_profiles_are_complete_and_dimension_matched" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_identifiability.py", + "symbol": "test_recombination_only_exposes_two_dimensional_nullspace" + } + ], + "original_evidence": [ + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_identifiability.py", + "symbol": "test_forward_failures_are_penalized_reported_and_invalidate" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_identifiability.py::test_forward_failures_are_penalized_reported_and_invalidate", + "scope_docstring": null, + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_identifiability_refinement.py", + "symbol": "test_executor_rejects_option_schema_drift" + }, + "test_node": "perovskite-sim/tests/unit/validation/test_identifiability_refinement.py::test_executor_rejects_option_schema_drift", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_identifiability_refinement.py", + "symbol": "test_registered_real_cell_matches_exact_contract_and_anchor" + }, + "test_node": "perovskite-sim/tests/unit/validation/test_identifiability_refinement.py::test_registered_real_cell_matches_exact_contract_and_anchor", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_identifiability.py", + "symbol": "test_charge_observable_identifies_nt_but_not_capture_vs_calibration" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_identifiability.py::test_charge_observable_identifies_nt_but_not_capture_vs_calibration", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_identifiability.py", + "symbol": "test_known_capture_scale_gives_full_rank_multistart_truth_recovery" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_identifiability.py::test_known_capture_scale_gives_full_rank_multistart_truth_recovery", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_identifiability.py", + "symbol": "test_noisy_full_rank_recovery_fails_the_strict_truth_gate" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_identifiability.py::test_noisy_full_rank_recovery_fails_the_strict_truth_gate", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_identifiability.py", + "symbol": "test_profiles_are_complete_and_dimension_matched" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_identifiability.py::test_profiles_are_complete_and_dimension_matched", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_identifiability.py", + "symbol": "test_recombination_only_exposes_two_dimensional_nullspace" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_identifiability.py::test_recombination_only_exposes_two_dimensional_nullspace", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + } + ], + "call_chains": [ + { + "test": "tests.unit.experiments.test_identifiability.test_forward_failures_are_penalized_reported_and_invalidate", + "edges": [ + { + "caller": "tests.unit.experiments.test_identifiability.test_forward_failures_are_penalized_reported_and_invalidate", + "callee": "perovskite_sim.experiments.identifiability.run_interface_srh_identifiability", + "line": 234, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.validation.test_identifiability_refinement.test_executor_rejects_option_schema_drift", + "edges": [ + { + "caller": "tests.unit.validation.test_identifiability_refinement.test_executor_rejects_option_schema_drift", + "callee": "perovskite_sim.validation.identifiability_refinement.run_interface_srh_identifiability_refinement", + "line": 100, + "kind": "call" + }, + { + "caller": "perovskite_sim.validation.identifiability_refinement.run_interface_srh_identifiability_refinement", + "callee": "perovskite_sim.experiments.identifiability.run_interface_srh_identifiability", + "line": 258, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.validation.test_identifiability_refinement.test_registered_real_cell_matches_exact_contract_and_anchor", + "edges": [ + { + "caller": "tests.unit.validation.test_identifiability_refinement.test_registered_real_cell_matches_exact_contract_and_anchor", + "callee": "perovskite_sim.validation.identifiability_refinement.run_interface_srh_identifiability_refinement", + "line": 41, + "kind": "call" + }, + { + "caller": "perovskite_sim.validation.identifiability_refinement.run_interface_srh_identifiability_refinement", + "callee": "perovskite_sim.experiments.identifiability.run_interface_srh_identifiability", + "line": 258, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_identifiability.test_charge_observable_identifies_nt_but_not_capture_vs_calibration", + "edges": [ + { + "caller": "tests.unit.experiments.test_identifiability.test_charge_observable_identifies_nt_but_not_capture_vs_calibration", + "callee": "tests.unit.experiments.test_identifiability._run", + "line": 97, + "kind": "call" + }, + { + "caller": "tests.unit.experiments.test_identifiability._run", + "callee": "perovskite_sim.experiments.identifiability.run_interface_srh_identifiability", + "line": 30, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_identifiability.test_known_capture_scale_gives_full_rank_multistart_truth_recovery", + "edges": [ + { + "caller": "tests.unit.experiments.test_identifiability.test_known_capture_scale_gives_full_rank_multistart_truth_recovery", + "callee": "tests.unit.experiments.test_identifiability._run", + "line": 111, + "kind": "call" + }, + { + "caller": "tests.unit.experiments.test_identifiability._run", + "callee": "perovskite_sim.experiments.identifiability.run_interface_srh_identifiability", + "line": 30, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_identifiability.test_noisy_full_rank_recovery_fails_the_strict_truth_gate", + "edges": [ + { + "caller": "tests.unit.experiments.test_identifiability.test_noisy_full_rank_recovery_fails_the_strict_truth_gate", + "callee": "tests.unit.experiments.test_identifiability._run", + "line": 207, + "kind": "call" + }, + { + "caller": "tests.unit.experiments.test_identifiability._run", + "callee": "perovskite_sim.experiments.identifiability.run_interface_srh_identifiability", + "line": 30, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_identifiability.test_profiles_are_complete_and_dimension_matched", + "edges": [ + { + "caller": "tests.unit.experiments.test_identifiability.test_profiles_are_complete_and_dimension_matched", + "callee": "tests.unit.experiments.test_identifiability._run", + "line": 174, + "kind": "call" + }, + { + "caller": "tests.unit.experiments.test_identifiability._run", + "callee": "perovskite_sim.experiments.identifiability.run_interface_srh_identifiability", + "line": 30, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_identifiability.test_recombination_only_exposes_two_dimensional_nullspace", + "edges": [ + { + "caller": "tests.unit.experiments.test_identifiability.test_recombination_only_exposes_two_dimensional_nullspace", + "callee": "tests.unit.experiments.test_identifiability._run", + "line": 83, + "kind": "call" + }, + { + "caller": "tests.unit.experiments.test_identifiability._run", + "callee": "perovskite_sim.experiments.identifiability.run_interface_srh_identifiability", + "line": 30, + "kind": "call" + } + ] + } + ], + "original_scope_limitations": null, + "active_contract": null, + "obligations": [ + { + "id": "new-source-experiment-ff8c4a6873bfed44", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-ff8c4a6873bfed44.json", + "tasks": [ + "P05-01", + "P05-05" + ], + "gates": [ + "G5" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof", + "per-physical-observable units/norm/reference scale/zero policy and applicable original or prospectively frozen threshold; test truth values do not fill this field" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-6ff57b5d915c32709be46f1e", + "rule-976e6e7380c7b921656f9f05", + "rule-75498450ed8d51095cd0e263", + "rule-8ed8afe42556272c331c9933", + "rule-a7a5b33a4efe6e146d160f2e", + "rule-77fc1e8cb2edb53aad29882f", + "rule-4fb908704d0007b00716d48a", + "rule-93670a142f902cb6b1eb275f", + "rule-7e958afac4dd0d164783f78b", + "rule-9a300e436123d6c1955bed5c", + "rule-acfc5c2a28d3c19625848749", + "rule-c723316270f9d0e7d866344e", + "rule-e331ee3b77420a562c3a90bf", + "rule-28d91ebcd7a952330e344276", + "rule-5e8a632ce09b0ad49aa72005", + "rule-6f2190ee7711a017d7e4b305", + "rule-ee2d3e1ca9603266f70f22c8", + "rule-c17d31db5f64ecef23ebbe71", + "rule-d7f5c116ebc8932dc5b56c96", + "rule-99a11c971d47427459e49d60", + "rule-f6cf86f34a8f8835a2f47fad", + "rule-826c9ef923bc03324daa1727", + "rule-6cb6e20d763eea23706f9cb2", + "rule-12358f0d549ab660ff4b803d", + "rule-7fa47a5a39cd3db4721eaf6c", + "rule-a57c223807526e7d7c6b3501", + "rule-57ac40fb0f6de5f992be4786", + "rule-51f2cf4905b70005b18e9dc6", + "rule-8426d4dd729c39fd89d8beee", + "rule-380a175280ce3f3528310b62", + "rule-f2992b7d0443959885f0b4b5", + "rule-f21574dabeb5d8fce2561489", + "rule-a288e4addd8a1c5078861d41", + "rule-161ed68205429366c563f686", + "rule-11128965f3cba38f4afa70cf", + "rule-8d6739738fefb158889bd243", + "rule-8e2243d68d154eeb49c19a4c", + "rule-d0e82b4ef5fef247eba4a9ff", + "rule-b32f380d0260165a2b6893b6", + "rule-bba58f980c7f27282e488e61", + "rule-2be0bfc1070f0be2ab42e601", + "rule-6d4a655b4c39dc977d8f8c47", + "rule-792af569a5ca97d49c558b2b", + "rule-5634c48244093af249331ef5", + "rule-60361af9c01249d87ae12248", + "rule-818e0f7c555918b8b7625be9" + ], + "comparison_scope_id": "scope-experiment-ff8c4a6873bfed44" + }, + { + "capability_id": "experiment-c4cd5cd89842d858", + "route_id": "route-7476954ae0fdb534", + "origin_key": "experiment:perovskite_sim.experiments.impedance.extract_impedance", + "target": { + "capability_id": "experiment-c4cd5cd89842d858", + "scope_id": "experiment:perovskite_sim.experiments.impedance.extract_impedance", + "kind": "original_scoped_assertions", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_assertions_bound", + "citations": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/impedance.py", + "symbol": "extract_impedance" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_impedance.py", + "symbol": "test_dummy_rc_phase" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_impedance.py", + "symbol": "test_extract_impedance_high_freq_real" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_impedance.py", + "symbol": "test_extract_impedance_shape" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_impedance_sign.py", + "symbol": "test_dummy_rc_has_negative_imaginary_impedance" + } + ], + "original_evidence": [ + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_impedance.py", + "symbol": "test_dummy_rc_phase" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_impedance.py::test_dummy_rc_phase", + "scope_docstring": "Dummy RC circuit: Z must have negative imaginary part (capacitive)\nand |angle| must decrease as frequency increases.", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_impedance.py", + "symbol": "test_extract_impedance_high_freq_real" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_impedance.py::test_extract_impedance_high_freq_real", + "scope_docstring": "High-frequency Z should be real-dominated (resistive).", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_impedance.py", + "symbol": "test_extract_impedance_shape" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_impedance.py::test_extract_impedance_shape", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_impedance_sign.py", + "symbol": "test_dummy_rc_has_negative_imaginary_impedance" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_impedance_sign.py::test_dummy_rc_has_negative_imaginary_impedance", + "scope_docstring": "The dummy-mode RC reference returns Z = R + 1/(j*omega*C),\nwhich has Im(Z) < 0 at all positive frequencies.", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + } + ], + "call_chains": [ + { + "test": "tests.unit.experiments.test_impedance.test_dummy_rc_phase", + "edges": [ + { + "caller": "tests.unit.experiments.test_impedance.test_dummy_rc_phase", + "callee": "perovskite_sim.experiments.impedance.extract_impedance", + "line": 27, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_impedance.test_extract_impedance_high_freq_real", + "edges": [ + { + "caller": "tests.unit.experiments.test_impedance.test_extract_impedance_high_freq_real", + "callee": "perovskite_sim.experiments.impedance.extract_impedance", + "line": 18, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_impedance.test_extract_impedance_shape", + "edges": [ + { + "caller": "tests.unit.experiments.test_impedance.test_extract_impedance_shape", + "callee": "perovskite_sim.experiments.impedance.extract_impedance", + "line": 9, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_impedance_sign.test_dummy_rc_has_negative_imaginary_impedance", + "edges": [ + { + "caller": "tests.unit.experiments.test_impedance_sign.test_dummy_rc_has_negative_imaginary_impedance", + "callee": "perovskite_sim.experiments.impedance.extract_impedance", + "line": 22, + "kind": "call" + } + ] + } + ], + "original_scope_limitations": null, + "active_contract": null, + "obligations": [ + { + "id": "new-source-experiment-c4cd5cd89842d858", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-c4cd5cd89842d858.json", + "tasks": [ + "P04-06", + "P05-01", + "P05-03" + ], + "gates": [ + "G4", + "G5" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof", + "per-physical-observable units/norm/reference scale/zero policy and applicable original or prospectively frozen threshold; test truth values do not fill this field", + "the applicable gauge/CV/log-density/inventory or complex/circular-phase comparator with physical units; no generic scalar substitute" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-39c14f465cdd5ed92aa60d1e", + "rule-177d277eabfe5d91b6cf863d", + "rule-f36a10fe198dc070c64ab85e", + "rule-e4ffe23953eb376dc6580399", + "rule-fd193927ede8cba73ce956b9", + "rule-80376371b5b98f52a0f850d7", + "rule-62ed588b9674de0d1641c1c3", + "rule-16163834997f672a8a9ab96b", + "rule-18d3ea827d2b139f27120fd9" + ], + "comparison_scope_id": "scope-experiment-c4cd5cd89842d858" + }, + { + "capability_id": "experiment-bfd110fe2e409927", + "route_id": "route-7476954ae0fdb534", + "origin_key": "experiment:perovskite_sim.experiments.impedance.run_impedance", + "target": { + "capability_id": "experiment-bfd110fe2e409927", + "scope_id": "experiment:perovskite_sim.experiments.impedance.run_impedance", + "kind": "original_scoped_assertions", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_assertions_bound", + "citations": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/impedance.py", + "symbol": "run_impedance" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_dynamic_defect_impedance.py", + "symbol": "test_public_bulk_dynamic_defect_impedance_is_protocol_bound_and_certified" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_dynamic_defect_impedance.py", + "symbol": "test_public_interface_dynamic_defect_impedance_uses_two_sided_faces" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_dynamic_defect_impedance.py", + "symbol": "test_public_triple_coupled_defect_ion_impedance_is_certified" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_material_cache_regression.py", + "symbol": "test_impedance_ionmonger_finite_and_capacitive" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_impedance.py", + "symbol": "test_impedance_rejects_dynamic_interface_state_blocks" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_impedance.py", + "symbol": "test_impedance_rejects_empty_frequencies" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_impedance.py", + "symbol": "test_impedance_rejects_failed_dark_dc_preconditioning" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_impedance.py", + "symbol": "test_impedance_rejects_noninteger_protocol_counts" + } + ], + "original_evidence": [ + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_dynamic_defect_impedance.py", + "symbol": "test_public_bulk_dynamic_defect_impedance_is_protocol_bound_and_certified" + }, + "test_node": "perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_bulk_dynamic_defect_impedance_is_protocol_bound_and_certified", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_dynamic_defect_impedance.py", + "symbol": "test_public_interface_dynamic_defect_impedance_uses_two_sided_faces" + }, + "test_node": "perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_interface_dynamic_defect_impedance_uses_two_sided_faces", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_dynamic_defect_impedance.py", + "symbol": "test_public_triple_coupled_defect_ion_impedance_is_certified" + }, + "test_node": "perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_triple_coupled_defect_ion_impedance_is_certified", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_material_cache_regression.py", + "symbol": "test_impedance_ionmonger_finite_and_capacitive" + }, + "test_node": "perovskite-sim/tests/integration/test_material_cache_regression.py::test_impedance_ionmonger_finite_and_capacitive", + "scope_docstring": "Ionmonger impedance sweep at V_dc = 0.9 V must be finite and\nphysically oriented (upper half plane Nyquist) after the refactor.", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_impedance.py", + "symbol": "test_impedance_rejects_dynamic_interface_state_blocks" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_impedance.py::test_impedance_rejects_dynamic_interface_state_blocks", + "scope_docstring": null, + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_impedance.py", + "symbol": "test_impedance_rejects_empty_frequencies" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_impedance.py::test_impedance_rejects_empty_frequencies", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_impedance.py", + "symbol": "test_impedance_rejects_failed_dark_dc_preconditioning" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_impedance.py::test_impedance_rejects_failed_dark_dc_preconditioning", + "scope_docstring": null, + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_impedance.py", + "symbol": "test_impedance_rejects_noninteger_protocol_counts" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_impedance.py::test_impedance_rejects_noninteger_protocol_counts", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + } + ], + "call_chains": [ + { + "test": "tests.integration.test_dynamic_defect_impedance.test_public_bulk_dynamic_defect_impedance_is_protocol_bound_and_certified", + "edges": [ + { + "caller": "tests.integration.test_dynamic_defect_impedance.test_public_bulk_dynamic_defect_impedance_is_protocol_bound_and_certified", + "callee": "perovskite_sim.experiments.impedance.run_impedance", + "line": 50, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_dynamic_defect_impedance.test_public_interface_dynamic_defect_impedance_uses_two_sided_faces", + "edges": [ + { + "caller": "tests.integration.test_dynamic_defect_impedance.test_public_interface_dynamic_defect_impedance_uses_two_sided_faces", + "callee": "perovskite_sim.experiments.impedance.run_impedance", + "line": 67, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_dynamic_defect_impedance.test_public_triple_coupled_defect_ion_impedance_is_certified", + "edges": [ + { + "caller": "tests.integration.test_dynamic_defect_impedance.test_public_triple_coupled_defect_ion_impedance_is_certified", + "callee": "perovskite_sim.experiments.impedance.run_impedance", + "line": 91, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_material_cache_regression.test_impedance_ionmonger_finite_and_capacitive", + "edges": [ + { + "caller": "tests.integration.test_material_cache_regression.test_impedance_ionmonger_finite_and_capacitive", + "callee": "perovskite_sim.experiments.impedance.run_impedance", + "line": 55, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_impedance.test_impedance_rejects_dynamic_interface_state_blocks", + "edges": [ + { + "caller": "tests.unit.experiments.test_impedance.test_impedance_rejects_dynamic_interface_state_blocks", + "callee": "perovskite_sim.experiments.impedance.run_impedance", + "line": 803, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_impedance.test_impedance_rejects_empty_frequencies", + "edges": [ + { + "caller": "tests.unit.experiments.test_impedance.test_impedance_rejects_empty_frequencies", + "callee": "perovskite_sim.experiments.impedance.run_impedance", + "line": 42, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_impedance.test_impedance_rejects_failed_dark_dc_preconditioning", + "edges": [ + { + "caller": "tests.unit.experiments.test_impedance.test_impedance_rejects_failed_dark_dc_preconditioning", + "callee": "perovskite_sim.experiments.impedance.run_impedance", + "line": 79, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_impedance.test_impedance_rejects_noninteger_protocol_counts", + "edges": [ + { + "caller": "tests.unit.experiments.test_impedance.test_impedance_rejects_noninteger_protocol_counts", + "callee": "perovskite_sim.experiments.impedance.run_impedance", + "line": 110, + "kind": "call" + } + ] + } + ], + "original_scope_limitations": null, + "active_contract": null, + "obligations": [ + { + "id": "new-source-experiment-bfd110fe2e409927", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-bfd110fe2e409927.json", + "tasks": [ + "P04-06", + "P05-01", + "P05-03" + ], + "gates": [ + "G4", + "G5" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof", + "per-physical-observable units/norm/reference scale/zero policy and applicable original or prospectively frozen threshold; test truth values do not fill this field", + "the applicable gauge/CV/log-density/inventory or complex/circular-phase comparator with physical units; no generic scalar substitute" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-4a4450a717279d7a9cc77c2f", + "rule-bfce97ea1c6466983ae0e5ac", + "rule-88a9a247a7483ea993667868", + "rule-6320ae143a48ae94b5b3d2bb", + "rule-19667378b6e130d3f6034e16", + "rule-af35ebbad8b86cbb2ddfa6d4", + "rule-de6e5ec60719babee793b931", + "rule-93355d18cb3d6dc05528b9d5", + "rule-1435e79f45b24bc34ecf9337", + "rule-f4689c3810cdc076c0f3372d", + "rule-1cb532928d3d9cbfd620b4dc", + "rule-14e23a8a0328c8a3637ca7dc", + "rule-5fbc48af640fbdef2c2d2cd3", + "rule-e079a8ed022c96c49a464a67", + "rule-271b083c7ccaa6d47a20651c", + "rule-c2cb13677db49a2ed6d93062", + "rule-9fcb17d622af424efa4ae219", + "rule-117cac111ddab60b14037e34", + "rule-b6854a5fb3550b35c4fa0085", + "rule-bbc365e60830e5b5179c107f" + ], + "comparison_scope_id": "scope-experiment-bfd110fe2e409927" + }, + { + "capability_id": "experiment-997377217803970d", + "route_id": "route-5e747a794c569195", + "origin_key": "experiment:perovskite_sim.experiments.interface_charge_jv.solve_interface_charge_jv", + "target": { + "capability_id": "experiment-997377217803970d", + "scope_id": "experiment:perovskite_sim.experiments.interface_charge_jv.solve_interface_charge_jv", + "kind": "original_scoped_assertions", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_assertions_bound", + "citations": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/interface_charge_jv.py", + "symbol": "solve_interface_charge_jv" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py", + "symbol": "test_fake_sweep_reuses_charged_points_and_retains_evidence" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py", + "symbol": "test_real_small_grid_charged_jv_has_pointwise_evidence" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py", + "symbol": "test_sweep_fails_closed_on_contact_span" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py", + "symbol": "test_sweep_fails_closed_on_gauss_gate" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py", + "symbol": "test_sweep_fails_closed_when_voc_is_not_bracketed" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py", + "symbol": "test_voltage_bridge_is_audited_but_not_retained" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_refinement_executors.py", + "symbol": "test_equilibrium_referenced_interface_charge_jv_executor_smoke" + } + ], + "original_evidence": [ + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py", + "symbol": "test_fake_sweep_reuses_charged_points_and_retains_evidence" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_fake_sweep_reuses_charged_points_and_retains_evidence", + "scope_docstring": null, + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py", + "symbol": "test_real_small_grid_charged_jv_has_pointwise_evidence" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_real_small_grid_charged_jv_has_pointwise_evidence", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py", + "symbol": "test_sweep_fails_closed_on_contact_span" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_sweep_fails_closed_on_contact_span", + "scope_docstring": null, + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py", + "symbol": "test_sweep_fails_closed_on_gauss_gate" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_sweep_fails_closed_on_gauss_gate", + "scope_docstring": null, + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py", + "symbol": "test_sweep_fails_closed_when_voc_is_not_bracketed" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_sweep_fails_closed_when_voc_is_not_bracketed", + "scope_docstring": null, + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py", + "symbol": "test_voltage_bridge_is_audited_but_not_retained" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_voltage_bridge_is_audited_but_not_retained", + "scope_docstring": null, + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_refinement_executors.py", + "symbol": "test_equilibrium_referenced_interface_charge_jv_executor_smoke" + }, + "test_node": "perovskite-sim/tests/unit/validation/test_refinement_executors.py::test_equilibrium_referenced_interface_charge_jv_executor_smoke", + "scope_docstring": null, + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + } + ], + "call_chains": [ + { + "test": "tests.unit.experiments.test_interface_charge_jv.test_fake_sweep_reuses_charged_points_and_retains_evidence", + "edges": [ + { + "caller": "tests.unit.experiments.test_interface_charge_jv.test_fake_sweep_reuses_charged_points_and_retains_evidence", + "callee": "perovskite_sim.experiments.interface_charge_jv.solve_interface_charge_jv", + "line": 264, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_interface_charge_jv.test_real_small_grid_charged_jv_has_pointwise_evidence", + "edges": [ + { + "caller": "tests.unit.experiments.test_interface_charge_jv.test_real_small_grid_charged_jv_has_pointwise_evidence", + "callee": "perovskite_sim.experiments.interface_charge_jv.solve_interface_charge_jv", + "line": 475, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_interface_charge_jv.test_sweep_fails_closed_on_contact_span", + "edges": [ + { + "caller": "tests.unit.experiments.test_interface_charge_jv.test_sweep_fails_closed_on_contact_span", + "callee": "perovskite_sim.experiments.interface_charge_jv.solve_interface_charge_jv", + "line": 324, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_interface_charge_jv.test_sweep_fails_closed_on_gauss_gate", + "edges": [ + { + "caller": "tests.unit.experiments.test_interface_charge_jv.test_sweep_fails_closed_on_gauss_gate", + "callee": "perovskite_sim.experiments.interface_charge_jv.solve_interface_charge_jv", + "line": 298, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_interface_charge_jv.test_sweep_fails_closed_when_voc_is_not_bracketed", + "edges": [ + { + "caller": "tests.unit.experiments.test_interface_charge_jv.test_sweep_fails_closed_when_voc_is_not_bracketed", + "callee": "perovskite_sim.experiments.interface_charge_jv.solve_interface_charge_jv", + "line": 311, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_interface_charge_jv.test_voltage_bridge_is_audited_but_not_retained", + "edges": [ + { + "caller": "tests.unit.experiments.test_interface_charge_jv.test_voltage_bridge_is_audited_but_not_retained", + "callee": "perovskite_sim.experiments.interface_charge_jv.solve_interface_charge_jv", + "line": 361, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.validation.test_refinement_executors.test_equilibrium_referenced_interface_charge_jv_executor_smoke", + "edges": [ + { + "caller": "tests.unit.validation.test_refinement_executors.test_equilibrium_referenced_interface_charge_jv_executor_smoke", + "callee": "perovskite_sim.validation.refinement_executors.run_equilibrium_referenced_interface_charge_jv", + "line": 1434, + "kind": "call" + }, + { + "caller": "perovskite_sim.validation.refinement_executors.run_equilibrium_referenced_interface_charge_jv", + "callee": "perovskite_sim.experiments.interface_charge_jv.solve_interface_charge_jv", + "line": 3161, + "kind": "call" + } + ] + } + ], + "original_scope_limitations": null, + "active_contract": null, + "obligations": [ + { + "id": "new-source-experiment-997377217803970d", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-997377217803970d.json", + "tasks": [ + "P04-09", + "P05-01", + "P05-04" + ], + "gates": [ + "G4", + "G5" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof", + "per-physical-observable units/norm/reference scale/zero policy and applicable original or prospectively frozen threshold; test truth values do not fill this field" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-f8abc1a377c944b14317755f", + "rule-34f67c772314d6c1c0e91939", + "rule-1d7d66d8e78af7c43ffccb45", + "rule-7f1ca22471877da3498c3ae1", + "rule-4b8af33b98a8c1c50c3a17e0", + "rule-088e381c0a89d22abc358b43", + "rule-0711f6cb71f34f0408ab5ba0", + "rule-f2d90d722beb39aba0484dbc", + "rule-b0ca0b2e3844e284475dad56", + "rule-c127576cb30e7d0e560510c3", + "rule-3c8e2e14ae3b74be63d92128", + "rule-ec3bf9575bc0bbbabc39b37d", + "rule-e39c23ba4b63d0cab46b379b", + "rule-26d78449a2ae12bb8cc81342", + "rule-b43a01d029c4e6be6070bf6e", + "rule-dc390075f1af30a7919a82f1", + "rule-b713ccabb5044e1f26be5eb4", + "rule-dc5129bb06ebdea6890ae3ac", + "rule-3ea9c5481413f60e55dd0196", + "rule-374bb07f86a5e33b51502b5e", + "rule-5dc10c7c837e7ef7090411c6", + "rule-0e77ae14e1cb63a271cdb4aa", + "rule-9f4c600ebe5a5f23f5147a64", + "rule-656c9b01a2c6876411cd6669", + "rule-09d5d8f3eb788193f47326f8", + "rule-364b34bc34cc0da12073b05b", + "rule-5e103e1e89b9643c4aa9ee2d", + "rule-ca3d424af9f93a4cf35e7177", + "rule-ff9b320461e652edd3c22333", + "rule-5d7c23152adeb265dfb7d11d", + "rule-e11b100a7b8a7e0930c899a9", + "rule-1b24fa587433dc965c0b1710", + "rule-52fe46d477c80a1649ea30f8" + ], + "comparison_scope_id": "scope-experiment-997377217803970d" + }, + { + "capability_id": "experiment-f3f73781e494a4fe", + "route_id": "route-0f4037cecfd2937f", + "origin_key": "experiment:perovskite_sim.experiments.interface_defect_aware_impedance.run_interface_defect_device_impedance", + "target": { + "capability_id": "experiment-f3f73781e494a4fe", + "scope_id": "experiment:perovskite_sim.experiments.interface_defect_aware_impedance.run_interface_defect_device_impedance", + "kind": "original_scoped_assertions", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_assertions_bound", + "citations": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/interface_defect_aware_impedance.py", + "symbol": "run_interface_defect_device_impedance" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py", + "symbol": "test_interface_device_ac_frequency_window_is_fail_closed" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py", + "symbol": "test_interface_device_ac_recertifies_supplied_dc_state_on_live_operator" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py", + "symbol": "test_interface_device_ac_rejects_tampered_dark_reference_before_linearization" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py", + "symbol": "test_real_dynamic_interface_device_ac_certifies_four_capture_legs" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py", + "symbol": "test_two_physical_interfaces_have_two_independent_shared_occupancies" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_dynamic_defect_impedance.py", + "symbol": "test_public_bulk_dynamic_defect_impedance_is_protocol_bound_and_certified" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_dynamic_defect_impedance.py", + "symbol": "test_public_interface_dynamic_defect_impedance_uses_two_sided_faces" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_dynamic_defect_impedance.py", + "symbol": "test_public_triple_coupled_defect_ion_impedance_is_certified" + } + ], + "original_evidence": [ + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py", + "symbol": "test_interface_device_ac_frequency_window_is_fail_closed" + }, + "test_node": "perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_interface_device_ac_frequency_window_is_fail_closed", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py", + "symbol": "test_interface_device_ac_recertifies_supplied_dc_state_on_live_operator" + }, + "test_node": "perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_interface_device_ac_recertifies_supplied_dc_state_on_live_operator", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py", + "symbol": "test_interface_device_ac_rejects_tampered_dark_reference_before_linearization" + }, + "test_node": "perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_interface_device_ac_rejects_tampered_dark_reference_before_linearization", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py", + "symbol": "test_real_dynamic_interface_device_ac_certifies_four_capture_legs" + }, + "test_node": "perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_real_dynamic_interface_device_ac_certifies_four_capture_legs", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py", + "symbol": "test_two_physical_interfaces_have_two_independent_shared_occupancies" + }, + "test_node": "perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_two_physical_interfaces_have_two_independent_shared_occupancies", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_dynamic_defect_impedance.py", + "symbol": "test_public_bulk_dynamic_defect_impedance_is_protocol_bound_and_certified" + }, + "test_node": "perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_bulk_dynamic_defect_impedance_is_protocol_bound_and_certified", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_dynamic_defect_impedance.py", + "symbol": "test_public_interface_dynamic_defect_impedance_uses_two_sided_faces" + }, + "test_node": "perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_interface_dynamic_defect_impedance_uses_two_sided_faces", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_dynamic_defect_impedance.py", + "symbol": "test_public_triple_coupled_defect_ion_impedance_is_certified" + }, + "test_node": "perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_triple_coupled_defect_ion_impedance_is_certified", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + } + ], + "call_chains": [ + { + "test": "tests.integration.test_interface_defect_aware_impedance.test_interface_device_ac_frequency_window_is_fail_closed", + "edges": [ + { + "caller": "tests.integration.test_interface_defect_aware_impedance.test_interface_device_ac_frequency_window_is_fail_closed", + "callee": "perovskite_sim.experiments.interface_defect_aware_impedance.run_interface_defect_device_impedance", + "line": 236, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_interface_defect_aware_impedance.test_interface_device_ac_recertifies_supplied_dc_state_on_live_operator", + "edges": [ + { + "caller": "tests.integration.test_interface_defect_aware_impedance.test_interface_device_ac_recertifies_supplied_dc_state_on_live_operator", + "callee": "perovskite_sim.experiments.interface_defect_aware_impedance.run_interface_defect_device_impedance", + "line": 223, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_interface_defect_aware_impedance.test_interface_device_ac_rejects_tampered_dark_reference_before_linearization", + "edges": [ + { + "caller": "tests.integration.test_interface_defect_aware_impedance.test_interface_device_ac_rejects_tampered_dark_reference_before_linearization", + "callee": "perovskite_sim.experiments.interface_defect_aware_impedance.run_interface_defect_device_impedance", + "line": 191, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_interface_defect_aware_impedance.test_real_dynamic_interface_device_ac_certifies_four_capture_legs", + "edges": [ + { + "caller": "tests.integration.test_interface_defect_aware_impedance.test_real_dynamic_interface_device_ac_certifies_four_capture_legs", + "callee": "perovskite_sim.experiments.interface_defect_aware_impedance.run_interface_defect_device_impedance", + "line": 119, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_interface_defect_aware_impedance.test_two_physical_interfaces_have_two_independent_shared_occupancies", + "edges": [ + { + "caller": "tests.integration.test_interface_defect_aware_impedance.test_two_physical_interfaces_have_two_independent_shared_occupancies", + "callee": "perovskite_sim.experiments.interface_defect_aware_impedance.run_interface_defect_device_impedance", + "line": 160, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_dynamic_defect_impedance.test_public_bulk_dynamic_defect_impedance_is_protocol_bound_and_certified", + "edges": [ + { + "caller": "tests.integration.test_dynamic_defect_impedance.test_public_bulk_dynamic_defect_impedance_is_protocol_bound_and_certified", + "callee": "perovskite_sim.experiments.impedance.run_impedance", + "line": 50, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.impedance.run_impedance", + "callee": "perovskite_sim.experiments.dynamic_defect_impedance.run_dynamic_defect_impedance", + "line": 985, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.dynamic_defect_impedance.run_dynamic_defect_impedance", + "callee": "perovskite_sim.experiments.interface_defect_aware_impedance.run_interface_defect_device_impedance", + "line": 1092, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_dynamic_defect_impedance.test_public_interface_dynamic_defect_impedance_uses_two_sided_faces", + "edges": [ + { + "caller": "tests.integration.test_dynamic_defect_impedance.test_public_interface_dynamic_defect_impedance_uses_two_sided_faces", + "callee": "perovskite_sim.experiments.impedance.run_impedance", + "line": 67, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.impedance.run_impedance", + "callee": "perovskite_sim.experiments.dynamic_defect_impedance.run_dynamic_defect_impedance", + "line": 985, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.dynamic_defect_impedance.run_dynamic_defect_impedance", + "callee": "perovskite_sim.experiments.interface_defect_aware_impedance.run_interface_defect_device_impedance", + "line": 1092, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_dynamic_defect_impedance.test_public_triple_coupled_defect_ion_impedance_is_certified", + "edges": [ + { + "caller": "tests.integration.test_dynamic_defect_impedance.test_public_triple_coupled_defect_ion_impedance_is_certified", + "callee": "perovskite_sim.experiments.impedance.run_impedance", + "line": 91, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.impedance.run_impedance", + "callee": "perovskite_sim.experiments.dynamic_defect_impedance.run_dynamic_defect_impedance", + "line": 985, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.dynamic_defect_impedance.run_dynamic_defect_impedance", + "callee": "perovskite_sim.experiments.interface_defect_aware_impedance.run_interface_defect_device_impedance", + "line": 1092, + "kind": "call" + } + ] + } + ], + "original_scope_limitations": null, + "active_contract": null, + "obligations": [ + { + "id": "new-source-experiment-f3f73781e494a4fe", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-f3f73781e494a4fe.json", + "tasks": [ + "P04-06", + "P04-09", + "P04-10", + "P05-01", + "P05-03" + ], + "gates": [ + "G4", + "G5" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof", + "per-physical-observable units/norm/reference scale/zero policy and applicable original or prospectively frozen threshold; test truth values do not fill this field", + "the applicable gauge/CV/log-density/inventory or complex/circular-phase comparator with physical units; no generic scalar substitute" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-e8a4853714b52c4d50ee9019", + "rule-71996b900a5be662d3a39a74", + "rule-164f767d31390c11eba14f30", + "rule-6d7637014bedd0c46bf0d5d1", + "rule-8682c4080efda37c07b72425", + "rule-f0925d75fb53651a07afe567", + "rule-bd4bf7e2775b4e3f12c69234", + "rule-c7be8295de8f8c01a1ce3eff", + "rule-c0dd64247391ee70b43d98d1", + "rule-cfb31126d70397d7d020888f", + "rule-b4603e0e3ba686a385fddbde", + "rule-3288e7c8343067b78d28e8bd", + "rule-761ed223c3f0f5218f0cf034", + "rule-192a4d13962ae168726ac52e", + "rule-4c70c126a2b1cfa5dbaa2153", + "rule-c7f30eda77b24fab515cb299", + "rule-21eda39cfd1b0bdd028c9544", + "rule-5243ed7dc89b79acbd1bad83", + "rule-66206eae4fe368db97b9f662", + "rule-f8bae8076f4c3894c6405962", + "rule-677dada4fa8807b757263313", + "rule-44647ed098c8201161c75fc3", + "rule-d051c4346f0ed3708bbcc2ab", + "rule-e906fb39144e8d35a52ab807", + "rule-4a4450a717279d7a9cc77c2f", + "rule-bfce97ea1c6466983ae0e5ac", + "rule-88a9a247a7483ea993667868", + "rule-6320ae143a48ae94b5b3d2bb", + "rule-19667378b6e130d3f6034e16", + "rule-af35ebbad8b86cbb2ddfa6d4", + "rule-de6e5ec60719babee793b931", + "rule-93355d18cb3d6dc05528b9d5", + "rule-1435e79f45b24bc34ecf9337", + "rule-f4689c3810cdc076c0f3372d", + "rule-1cb532928d3d9cbfd620b4dc" + ], + "comparison_scope_id": "scope-experiment-f3f73781e494a4fe" + }, + { + "capability_id": "experiment-29a84beaf4041cba", + "route_id": "route-4a5beb0fdcf3619a", + "origin_key": "experiment:perovskite_sim.experiments.interface_defect_ion_transient.run_interface_defect_ion_device_transient", + "target": { + "capability_id": "experiment-29a84beaf4041cba", + "scope_id": "experiment:perovskite_sim.experiments.interface_defect_ion_transient.run_interface_defect_ion_device_transient", + "kind": "original_scoped_assertions", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_assertions_bound", + "citations": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/interface_defect_ion_transient.py", + "symbol": "run_interface_defect_ion_device_transient" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_combined_dc_warm_start.py", + "symbol": "test_accepted_legacy_warm_start_uses_one_attempt" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_interface_defect_ion_transient.py", + "symbol": "test_deep_time_refinement_retains_charge_and_all_face_current_closure" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_interface_defect_ion_transient.py", + "symbol": "test_missing_joint_physics_fails_before_integration" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_interface_defect_ion_transient.py", + "symbol": "test_slow_ion_limit_freezes_ions_without_freezing_interface_traps" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1.py", + "symbol": "test_physical_coupled_steps_keep_fixed_reference_and_close_charge" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1.py", + "symbol": "test_rejects_mismatched_volumes_and_unbound_research_geometry" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py", + "symbol": "test_grid8_fine_defect_case_converges_with_step_local_coordinates" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_dynamic_defect_transient.py", + "symbol": "test_public_dynamic_defect_transient_is_protocol_bound_and_certified" + } + ], + "original_evidence": [ + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_combined_dc_warm_start.py", + "symbol": "test_accepted_legacy_warm_start_uses_one_attempt" + }, + "test_node": "perovskite-sim/tests/integration/test_combined_dc_warm_start.py::test_accepted_legacy_warm_start_uses_one_attempt", + "scope_docstring": null, + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_interface_defect_ion_transient.py", + "symbol": "test_deep_time_refinement_retains_charge_and_all_face_current_closure" + }, + "test_node": "perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_deep_time_refinement_retains_charge_and_all_face_current_closure", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_interface_defect_ion_transient.py", + "symbol": "test_missing_joint_physics_fails_before_integration" + }, + "test_node": "perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_missing_joint_physics_fails_before_integration", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_interface_defect_ion_transient.py", + "symbol": "test_slow_ion_limit_freezes_ions_without_freezing_interface_traps" + }, + "test_node": "perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_slow_ion_limit_freezes_ions_without_freezing_interface_traps", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1.py", + "symbol": "test_physical_coupled_steps_keep_fixed_reference_and_close_charge" + }, + "test_node": "perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1.py::test_physical_coupled_steps_keep_fixed_reference_and_close_charge", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1.py", + "symbol": "test_rejects_mismatched_volumes_and_unbound_research_geometry" + }, + "test_node": "perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1.py::test_rejects_mismatched_volumes_and_unbound_research_geometry", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py", + "symbol": "test_grid8_fine_defect_case_converges_with_step_local_coordinates" + }, + "test_node": "perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py::test_grid8_fine_defect_case_converges_with_step_local_coordinates", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_dynamic_defect_transient.py", + "symbol": "test_public_dynamic_defect_transient_is_protocol_bound_and_certified" + }, + "test_node": "perovskite-sim/tests/integration/test_dynamic_defect_transient.py::test_public_dynamic_defect_transient_is_protocol_bound_and_certified", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + } + ], + "call_chains": [ + { + "test": "tests.integration.test_combined_dc_warm_start.test_accepted_legacy_warm_start_uses_one_attempt", + "edges": [ + { + "caller": "tests.integration.test_combined_dc_warm_start.test_accepted_legacy_warm_start_uses_one_attempt", + "callee": "perovskite_sim.experiments.interface_defect_ion_transient.run_interface_defect_ion_device_transient", + "line": 100, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_interface_defect_ion_transient.test_deep_time_refinement_retains_charge_and_all_face_current_closure", + "edges": [ + { + "caller": "tests.integration.test_interface_defect_ion_transient.test_deep_time_refinement_retains_charge_and_all_face_current_closure", + "callee": "perovskite_sim.experiments.interface_defect_ion_transient.run_interface_defect_ion_device_transient", + "line": 276, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_interface_defect_ion_transient.test_missing_joint_physics_fails_before_integration", + "edges": [ + { + "caller": "tests.integration.test_interface_defect_ion_transient.test_missing_joint_physics_fails_before_integration", + "callee": "perovskite_sim.experiments.interface_defect_ion_transient.run_interface_defect_ion_device_transient", + "line": 366, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_interface_defect_ion_transient.test_slow_ion_limit_freezes_ions_without_freezing_interface_traps", + "edges": [ + { + "caller": "tests.integration.test_interface_defect_ion_transient.test_slow_ion_limit_freezes_ions_without_freezing_interface_traps", + "callee": "perovskite_sim.experiments.interface_defect_ion_transient.run_interface_defect_ion_device_transient", + "line": 243, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_one_dimensional_mechanism_r1.test_physical_coupled_steps_keep_fixed_reference_and_close_charge", + "edges": [ + { + "caller": "tests.integration.test_one_dimensional_mechanism_r1.test_physical_coupled_steps_keep_fixed_reference_and_close_charge", + "callee": "perovskite_sim.experiments.interface_defect_ion_transient.run_interface_defect_ion_device_transient", + "line": 91, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_one_dimensional_mechanism_r1.test_rejects_mismatched_volumes_and_unbound_research_geometry", + "edges": [ + { + "caller": "tests.integration.test_one_dimensional_mechanism_r1.test_rejects_mismatched_volumes_and_unbound_research_geometry", + "callee": "perovskite_sim.experiments.interface_defect_ion_transient.run_interface_defect_ion_device_transient", + "line": 72, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.validation.test_dynamic_defect_transient_refinement.test_grid8_fine_defect_case_converges_with_step_local_coordinates", + "edges": [ + { + "caller": "tests.unit.validation.test_dynamic_defect_transient_refinement.test_grid8_fine_defect_case_converges_with_step_local_coordinates", + "callee": "perovskite_sim.experiments.interface_defect_ion_transient.run_interface_defect_ion_device_transient", + "line": 605, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_dynamic_defect_transient.test_public_dynamic_defect_transient_is_protocol_bound_and_certified", + "edges": [ + { + "caller": "tests.integration.test_dynamic_defect_transient.test_public_dynamic_defect_transient_is_protocol_bound_and_certified", + "callee": "perovskite_sim.experiments.dynamic_defect_transient.run_dynamic_defect_transient", + "line": 36, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.dynamic_defect_transient.run_dynamic_defect_transient", + "callee": "perovskite_sim.experiments.interface_defect_ion_transient.run_interface_defect_ion_device_transient", + "line": 669, + "kind": "call" + } + ] + } + ], + "original_scope_limitations": null, + "active_contract": null, + "obligations": [ + { + "id": "new-source-experiment-29a84beaf4041cba", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-29a84beaf4041cba.json", + "tasks": [ + "P04-08", + "P04-09", + "P04-10", + "P05-01", + "P05-04" + ], + "gates": [ + "G4", + "G5" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof", + "per-physical-observable units/norm/reference scale/zero policy and applicable original or prospectively frozen threshold; test truth values do not fill this field" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-82d6aeecd5cd237d0cec0836", + "rule-afdab10dcd7840d3c6641148", + "rule-1ab75edfa7db97f452f114c2", + "rule-224cf113117703718007e530", + "rule-2cf1e95d4e3a5b4e698f7dc8", + "rule-4dd303afab01860520e8a351", + "rule-b2c0e0730392ae5c0761b46e", + "rule-4efbbbbfc1578e42850332dd", + "rule-ea751fed23dd1f729c7b27d5", + "rule-9f993633631422bd310beea8", + "rule-261cc85d3c89ea65c651d5e1", + "rule-8615aa4194212eb17dd85793", + "rule-27a90a9c22e7ca1fa23e1ae4", + "rule-042008ee9a9685e5f8033630", + "rule-a32ceada324186b17198fb09", + "rule-c6dc16978bd52cd319045655", + "rule-ba5cc51df6fdd04bbf03407e", + "rule-8f04bec413e49fa264174f2a", + "rule-42d6d089f09875f36d5d5820", + "rule-41e8460df6521a63263e9c97", + "rule-7cde4d6442cfb9bec5ab04d2", + "rule-29ba930abf5ae03a2603e843", + "rule-84f31ca7675d36a3e588f5af", + "rule-7f15b828411ceea1f47f4ecc", + "rule-b061e055966a9344d86a002a", + "rule-3ebc5f0756fffce53991a712", + "rule-daad76e3597d5e3f50d1ccb4", + "rule-4fc26719bfb279bca402e9cb", + "rule-9377c7fea1368b1d36b2633e", + "rule-8a92ecc0bc1fd1d7b620df9f", + "rule-082242db9a34846793a62f52", + "rule-2d8db522f1a2a86d8303d6e8", + "rule-1cd842d229dcc6c84a502d77", + "rule-902c37f0ebee08d6ec557e2a", + "rule-1cbad71ed0f345bae9150aa9", + "rule-8b73a5996b8df46470ad3f43", + "rule-46c5af796c535952b9a7bb89", + "rule-db79fc474ca61342ea235bac", + "rule-d48b6a88dc1b9fcdb3efe492", + "rule-6c8a73e9f48c989da46c112f", + "rule-c30e53282ea9a2947a2c899c", + "rule-4489eb4a23583f6aeca400cf", + "rule-dd1666fa9876a2b78345bf87", + "rule-69857484185b02815d8a35f3", + "rule-446880dc9a70b697dd4606ac", + "rule-f1ec7303da9f399ab6e633f7", + "rule-b7c84575d4686b9c8ed85cf9" + ], + "comparison_scope_id": "scope-experiment-29a84beaf4041cba" + }, + { + "capability_id": "experiment-5dad4016f96a21d7", + "route_id": "route-9b19d2ed844a6c53", + "origin_key": "experiment:perovskite_sim.experiments.interface_defect_transient.run_interface_defect_device_transient", + "target": { + "capability_id": "experiment-5dad4016f96a21d7", + "scope_id": "experiment:perovskite_sim.experiments.interface_defect_transient.run_interface_defect_device_transient", + "kind": "original_scoped_assertions", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_assertions_bound", + "citations": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/interface_defect_transient.py", + "symbol": "run_interface_defect_device_transient" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_interface_defect_transient.py", + "symbol": "test_fast_capture_recovers_two_sided_quasi_steady_occupancy" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_interface_defect_transient.py", + "symbol": "test_overstrict_two_sided_current_gate_returns_partial_or_fails_closed" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_interface_defect_transient.py", + "symbol": "test_slow_capture_keeps_shared_occupancy_frozen_and_certified" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_interface_defect_transient.py", + "symbol": "test_unsupported_physics_fails_closed_before_transient" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_interface_defect_transient.py", + "symbol": "test_unverified_dark_reference_is_rejected_before_integration" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_interface_defect_transient.py", + "symbol": "test_real_two_sided_interface_transient_certifies_sparse_closure" + } + ], + "original_evidence": [ + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_interface_defect_transient.py", + "symbol": "test_fast_capture_recovers_two_sided_quasi_steady_occupancy" + }, + "test_node": "perovskite-sim/tests/integration/test_interface_defect_transient.py::test_fast_capture_recovers_two_sided_quasi_steady_occupancy", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_interface_defect_transient.py", + "symbol": "test_overstrict_two_sided_current_gate_returns_partial_or_fails_closed" + }, + "test_node": "perovskite-sim/tests/integration/test_interface_defect_transient.py::test_overstrict_two_sided_current_gate_returns_partial_or_fails_closed", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_interface_defect_transient.py", + "symbol": "test_slow_capture_keeps_shared_occupancy_frozen_and_certified" + }, + "test_node": "perovskite-sim/tests/integration/test_interface_defect_transient.py::test_slow_capture_keeps_shared_occupancy_frozen_and_certified", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_interface_defect_transient.py", + "symbol": "test_unsupported_physics_fails_closed_before_transient" + }, + "test_node": "perovskite-sim/tests/integration/test_interface_defect_transient.py::test_unsupported_physics_fails_closed_before_transient", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_interface_defect_transient.py", + "symbol": "test_unverified_dark_reference_is_rejected_before_integration" + }, + "test_node": "perovskite-sim/tests/integration/test_interface_defect_transient.py::test_unverified_dark_reference_is_rejected_before_integration", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_interface_defect_transient.py", + "symbol": "test_real_two_sided_interface_transient_certifies_sparse_closure" + }, + "test_node": "perovskite-sim/tests/integration/test_interface_defect_transient.py::test_real_two_sided_interface_transient_certifies_sparse_closure", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + } + ], + "call_chains": [ + { + "test": "tests.integration.test_interface_defect_transient.test_fast_capture_recovers_two_sided_quasi_steady_occupancy", + "edges": [ + { + "caller": "tests.integration.test_interface_defect_transient.test_fast_capture_recovers_two_sided_quasi_steady_occupancy", + "callee": "perovskite_sim.experiments.interface_defect_transient.run_interface_defect_device_transient", + "line": 220, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_interface_defect_transient.test_overstrict_two_sided_current_gate_returns_partial_or_fails_closed", + "edges": [ + { + "caller": "tests.integration.test_interface_defect_transient.test_overstrict_two_sided_current_gate_returns_partial_or_fails_closed", + "callee": "perovskite_sim.experiments.interface_defect_transient.run_interface_defect_device_transient", + "line": 246, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_interface_defect_transient.test_slow_capture_keeps_shared_occupancy_frozen_and_certified", + "edges": [ + { + "caller": "tests.integration.test_interface_defect_transient.test_slow_capture_keeps_shared_occupancy_frozen_and_certified", + "callee": "perovskite_sim.experiments.interface_defect_transient.run_interface_defect_device_transient", + "line": 203, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_interface_defect_transient.test_unsupported_physics_fails_closed_before_transient", + "edges": [ + { + "caller": "tests.integration.test_interface_defect_transient.test_unsupported_physics_fails_closed_before_transient", + "callee": "perovskite_sim.experiments.interface_defect_transient.run_interface_defect_device_transient", + "line": 331, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_interface_defect_transient.test_unverified_dark_reference_is_rejected_before_integration", + "edges": [ + { + "caller": "tests.integration.test_interface_defect_transient.test_unverified_dark_reference_is_rejected_before_integration", + "callee": "perovskite_sim.experiments.interface_defect_transient.run_interface_defect_device_transient", + "line": 285, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_interface_defect_transient.test_real_two_sided_interface_transient_certifies_sparse_closure", + "edges": [ + { + "caller": "tests.integration.test_interface_defect_transient.test_real_two_sided_interface_transient_certifies_sparse_closure", + "callee": "tests.integration.test_interface_defect_transient.certified_result", + "line": 120, + "kind": "pytest_fixture_argument" + }, + { + "caller": "tests.integration.test_interface_defect_transient.certified_result", + "callee": "perovskite_sim.experiments.interface_defect_transient.run_interface_defect_device_transient", + "line": 111, + "kind": "call" + } + ] + } + ], + "original_scope_limitations": null, + "active_contract": null, + "obligations": [ + { + "id": "new-source-experiment-5dad4016f96a21d7", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-5dad4016f96a21d7.json", + "tasks": [ + "P04-09", + "P04-10", + "P05-01", + "P05-04" + ], + "gates": [ + "G4", + "G5" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof", + "per-physical-observable units/norm/reference scale/zero policy and applicable original or prospectively frozen threshold; test truth values do not fill this field" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-a5c6ec0a64d46d07c4bb28ec", + "rule-a27ce95835b878e71572e4b6", + "rule-813a970eb7ea28e2037c53f7", + "rule-7f636d547cd2ba9495c98e5e", + "rule-b8dd3a49dddeb63b92328c52", + "rule-01a95ac370faa4dc7be01fce", + "rule-247abaf0f3ab919b7064bbf5", + "rule-39d526e76454aad3df249f1a", + "rule-829c225473310c15c3c1bf64", + "rule-f0cfbfdfddbfe25de9528d80", + "rule-9bd41cae135bf4f0e223dcd5", + "rule-b023e9d1a4328bff2479c30c", + "rule-1fe108c3bb329d8ff6002f30", + "rule-6e074c8ac584e0c2064fb701", + "rule-787e26357ccf5f548fc1896e", + "rule-a29b49d2379a8024ceb02f6a", + "rule-97f5281e4e354c86e71416fa", + "rule-1d49722c80aaa0e91907f3c0", + "rule-bbc5613ab93d654fe503065b", + "rule-22964454880e6e3ad7d494f9", + "rule-71428b51cb81795b9d11ac4e", + "rule-9bb607ddc63547cca3514f1c", + "rule-455ea4b04e1f4b7a1b6671b3" + ], + "comparison_scope_id": "scope-experiment-5dad4016f96a21d7" + }, + { + "capability_id": "experiment-10d2cde17eaa6e01", + "route_id": "route-2d70ff5a414a71bc", + "origin_key": "experiment:perovskite_sim.experiments.ion_aware_analytic_reaction.apply_analytic_bulk_reaction_linearization", + "target": { + "capability_id": "experiment-10d2cde17eaa6e01", + "scope_id": "experiment:perovskite_sim.experiments.ion_aware_analytic_reaction.apply_analytic_bulk_reaction_linearization", + "kind": "original_scoped_assertions", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_assertions_bound", + "citations": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/ion_aware_analytic_reaction.py", + "symbol": "apply_analytic_bulk_reaction_linearization" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py", + "symbol": "test_failed_comparison_gate_preserves_diagnostic_evidence" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py", + "symbol": "test_mismatched_hash_is_rejected_before_comparison" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py", + "symbol": "test_structured_protocol_binds_qss_environment_and_velocity" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_cross_node_interface_srh_closes_the_clamp_inactive_tangent" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_cross_node_qss_interface_srh_closes_projection_and_suppresses_mirror" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_dual_ion_structured_operator_covers_both_charge_signs" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_field_mobility_structured_operator_closes_ct_and_pf_chain_rule" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_local_qss_interface_srh_closes_the_implicit_root_tangent" + } + ], + "original_evidence": [ + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py", + "symbol": "test_failed_comparison_gate_preserves_diagnostic_evidence" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_failed_comparison_gate_preserves_diagnostic_evidence", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py", + "symbol": "test_mismatched_hash_is_rejected_before_comparison" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_mismatched_hash_is_rejected_before_comparison", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py", + "symbol": "test_structured_protocol_binds_qss_environment_and_velocity" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_structured_protocol_binds_qss_environment_and_velocity", + "scope_docstring": null, + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_cross_node_interface_srh_closes_the_clamp_inactive_tangent" + }, + "test_node": "perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py::test_cross_node_interface_srh_closes_the_clamp_inactive_tangent", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_cross_node_qss_interface_srh_closes_projection_and_suppresses_mirror" + }, + "test_node": "perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py::test_cross_node_qss_interface_srh_closes_projection_and_suppresses_mirror", + "scope_docstring": null, + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_dual_ion_structured_operator_covers_both_charge_signs" + }, + "test_node": "perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py::test_dual_ion_structured_operator_covers_both_charge_signs", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_field_mobility_structured_operator_closes_ct_and_pf_chain_rule" + }, + "test_node": "perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py::test_field_mobility_structured_operator_closes_ct_and_pf_chain_rule", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_local_qss_interface_srh_closes_the_implicit_root_tangent" + }, + "test_node": "perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py::test_local_qss_interface_srh_closes_the_implicit_root_tangent", + "scope_docstring": null, + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + } + ], + "call_chains": [ + { + "test": "tests.unit.experiments.test_ion_aware_structured_jacobian.test_failed_comparison_gate_preserves_diagnostic_evidence", + "edges": [ + { + "caller": "tests.unit.experiments.test_ion_aware_structured_jacobian.test_failed_comparison_gate_preserves_diagnostic_evidence", + "callee": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "line": 2134, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "callee": "perovskite_sim.experiments.ion_aware_analytic_reaction.apply_analytic_bulk_reaction_linearization", + "line": 1076, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_ion_aware_structured_jacobian.test_mismatched_hash_is_rejected_before_comparison", + "edges": [ + { + "caller": "tests.unit.experiments.test_ion_aware_structured_jacobian.test_mismatched_hash_is_rejected_before_comparison", + "callee": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "line": 2110, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "callee": "perovskite_sim.experiments.ion_aware_analytic_reaction.apply_analytic_bulk_reaction_linearization", + "line": 1076, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_ion_aware_structured_jacobian.test_structured_protocol_binds_qss_environment_and_velocity", + "edges": [ + { + "caller": "tests.unit.experiments.test_ion_aware_structured_jacobian.test_structured_protocol_binds_qss_environment_and_velocity", + "callee": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "line": 205, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "callee": "perovskite_sim.experiments.ion_aware_analytic_reaction.apply_analytic_bulk_reaction_linearization", + "line": 1076, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_ion_aware_structured_jacobian.test_cross_node_interface_srh_closes_the_clamp_inactive_tangent", + "edges": [ + { + "caller": "tests.integration.test_ion_aware_structured_jacobian.test_cross_node_interface_srh_closes_the_clamp_inactive_tangent", + "callee": "tests.integration.test_ion_aware_structured_jacobian._solve_comparison", + "line": 272, + "kind": "call" + }, + { + "caller": "tests.integration.test_ion_aware_structured_jacobian._solve_comparison", + "callee": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "line": 54, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "callee": "perovskite_sim.experiments.ion_aware_analytic_reaction.apply_analytic_bulk_reaction_linearization", + "line": 1076, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_ion_aware_structured_jacobian.test_cross_node_qss_interface_srh_closes_projection_and_suppresses_mirror", + "edges": [ + { + "caller": "tests.integration.test_ion_aware_structured_jacobian.test_cross_node_qss_interface_srh_closes_projection_and_suppresses_mirror", + "callee": "tests.integration.test_ion_aware_structured_jacobian._solve_comparison", + "line": 475, + "kind": "call" + }, + { + "caller": "tests.integration.test_ion_aware_structured_jacobian._solve_comparison", + "callee": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "line": 54, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "callee": "perovskite_sim.experiments.ion_aware_analytic_reaction.apply_analytic_bulk_reaction_linearization", + "line": 1076, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_ion_aware_structured_jacobian.test_dual_ion_structured_operator_covers_both_charge_signs", + "edges": [ + { + "caller": "tests.integration.test_ion_aware_structured_jacobian.test_dual_ion_structured_operator_covers_both_charge_signs", + "callee": "tests.integration.test_ion_aware_structured_jacobian._solve_comparison", + "line": 106, + "kind": "call" + }, + { + "caller": "tests.integration.test_ion_aware_structured_jacobian._solve_comparison", + "callee": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "line": 54, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "callee": "perovskite_sim.experiments.ion_aware_analytic_reaction.apply_analytic_bulk_reaction_linearization", + "line": 1076, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_ion_aware_structured_jacobian.test_field_mobility_structured_operator_closes_ct_and_pf_chain_rule", + "edges": [ + { + "caller": "tests.integration.test_ion_aware_structured_jacobian.test_field_mobility_structured_operator_closes_ct_and_pf_chain_rule", + "callee": "tests.integration.test_ion_aware_structured_jacobian._solve_comparison", + "line": 236, + "kind": "call" + }, + { + "caller": "tests.integration.test_ion_aware_structured_jacobian._solve_comparison", + "callee": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "line": 54, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "callee": "perovskite_sim.experiments.ion_aware_analytic_reaction.apply_analytic_bulk_reaction_linearization", + "line": 1076, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_ion_aware_structured_jacobian.test_local_qss_interface_srh_closes_the_implicit_root_tangent", + "edges": [ + { + "caller": "tests.integration.test_ion_aware_structured_jacobian.test_local_qss_interface_srh_closes_the_implicit_root_tangent", + "callee": "tests.integration.test_ion_aware_structured_jacobian._solve_comparison", + "line": 440, + "kind": "call" + }, + { + "caller": "tests.integration.test_ion_aware_structured_jacobian._solve_comparison", + "callee": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "line": 54, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "callee": "perovskite_sim.experiments.ion_aware_analytic_reaction.apply_analytic_bulk_reaction_linearization", + "line": 1076, + "kind": "call" + } + ] + } + ], + "original_scope_limitations": null, + "active_contract": null, + "obligations": [ + { + "id": "new-source-experiment-10d2cde17eaa6e01", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-10d2cde17eaa6e01.json", + "tasks": [ + "P04-06", + "P04-08", + "P05-01", + "P05-03" + ], + "gates": [ + "G4", + "G5" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof", + "per-physical-observable units/norm/reference scale/zero policy and applicable original or prospectively frozen threshold; test truth values do not fill this field" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-e91b51d6692cdef335f556c5", + "rule-9be09e98703dcd3f723c48f3", + "rule-93972c5b25cbae6d7e2c8968", + "rule-14b452c8220c937143d98fd3", + "rule-00f9296183c50f3043714d18", + "rule-7cd7e5a28cf9c6f97462ef42", + "rule-869694768bc0f6e2a1b23e44", + "rule-c40dc67999e6919ba41c303d", + "rule-4631e78af31c1b658d83e8b2", + "rule-2b56693fddbb5e80c3d0af4d", + "rule-88e850d6568af6ccb442d1ce", + "rule-e1f3428cdd99e856a070d1df", + "rule-a8541d57ea50539163c92968", + "rule-00ca117058871b7d537191ae", + "rule-051f5531c28b24979fa9c899", + "rule-ff9e30a38179c9ba74ab4edc", + "rule-05c44f6fa978a3b3814ca37b", + "rule-bd246649c1be7107ff801ecf", + "rule-5a5c1e6b634ae76cf3940dd5", + "rule-f37e4acd9c0f64313f10eca6", + "rule-4fbcc12cb7cd5b1c27094111", + "rule-7bf73ec1d8ffab9fa58881f2", + "rule-3ba5ba921b875584688fffca", + "rule-9959d444de351c4b277c898b", + "rule-adb0eac4f9623093eac8750a", + "rule-81bc64fb112326c184054c41", + "rule-808313bf39a4696b7ad56035", + "rule-5c9cae7fd90f28ea0d87137d", + "rule-a4f28a461175f476fef8a62f", + "rule-ce12a5c63abc981be8d2f847", + "rule-792fb4845e7da94b843cda86", + "rule-737c63d5ce39aa4b1b627aea", + "rule-2411759f2262de0b5d90c105", + "rule-fb3daa3b06dc8375cae0be2c", + "rule-187c85646450a57d183b70dd", + "rule-8cb027a50de48e46d816abbe", + "rule-5d18e96e49e503ecd9d5a762", + "rule-b723d6999e517eb22961ca31", + "rule-2ace38566f3cd67705bc93d8", + "rule-caa5867fe52462335dde8fb4", + "rule-ca61f7e51f7bbe55e8c548f4", + "rule-f88f7d926697c4a9c176cf90", + "rule-3e0520a60fd194e9085fefe1", + "rule-e08c6a9acaef72133dbd6991", + "rule-1778cd14a18798ed03b14fa2", + "rule-561adab65dcc8a192262c9fd", + "rule-36eeac8708d5c34660d22a81", + "rule-84e88d69c6044e0787f3f83a", + "rule-e80dcf245ae57c715dcefa75", + "rule-91588b86741b529e5cf07d58", + "rule-24cb2d3f81e81b79adf785c0", + "rule-d0c50332143af5ae322f2e52", + "rule-4de11c6c622a677640c9dd37", + "rule-377914338a554f8636a535de", + "rule-1b4ee0ab5a0fc9a8f98bb183", + "rule-19e9700d1efb77f5214cdcb6", + "rule-d11d546e6271ef1390f1f213", + "rule-ef94fff49503485f6e060cf9", + "rule-7966b8abb7e8ac03daac35e8", + "rule-786e22e62995b8017242237e", + "rule-ee2800d21fc2bd783638f63d", + "rule-ac11e635ccac1d6b46280872", + "rule-4a1c9984b2bda33e737a2071", + "rule-f7ffd96ad348a2ab6e2ff1cf", + "rule-88fdedb3e9e843ad2300263b" + ], + "comparison_scope_id": "scope-experiment-10d2cde17eaa6e01" + }, + { + "capability_id": "experiment-68757a97c60b3660", + "route_id": "route-2d70ff5a414a71bc", + "origin_key": "experiment:perovskite_sim.experiments.ion_aware_analytic_reaction.apply_analytic_contact_linearization", + "target": { + "capability_id": "experiment-68757a97c60b3660", + "scope_id": "experiment:perovskite_sim.experiments.ion_aware_analytic_reaction.apply_analytic_contact_linearization", + "kind": "original_scoped_assertions", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_assertions_bound", + "citations": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/ion_aware_analytic_reaction.py", + "symbol": "apply_analytic_contact_linearization" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py", + "symbol": "test_failed_comparison_gate_preserves_diagnostic_evidence" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py", + "symbol": "test_mismatched_hash_is_rejected_before_comparison" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py", + "symbol": "test_structured_protocol_binds_qss_environment_and_velocity" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_cross_node_interface_srh_closes_the_clamp_inactive_tangent" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_cross_node_qss_interface_srh_closes_projection_and_suppresses_mirror" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_dual_ion_structured_operator_covers_both_charge_signs" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_field_mobility_structured_operator_closes_ct_and_pf_chain_rule" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_local_qss_interface_srh_closes_the_implicit_root_tangent" + } + ], + "original_evidence": [ + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py", + "symbol": "test_failed_comparison_gate_preserves_diagnostic_evidence" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_failed_comparison_gate_preserves_diagnostic_evidence", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py", + "symbol": "test_mismatched_hash_is_rejected_before_comparison" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_mismatched_hash_is_rejected_before_comparison", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py", + "symbol": "test_structured_protocol_binds_qss_environment_and_velocity" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_structured_protocol_binds_qss_environment_and_velocity", + "scope_docstring": null, + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_cross_node_interface_srh_closes_the_clamp_inactive_tangent" + }, + "test_node": "perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py::test_cross_node_interface_srh_closes_the_clamp_inactive_tangent", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_cross_node_qss_interface_srh_closes_projection_and_suppresses_mirror" + }, + "test_node": "perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py::test_cross_node_qss_interface_srh_closes_projection_and_suppresses_mirror", + "scope_docstring": null, + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_dual_ion_structured_operator_covers_both_charge_signs" + }, + "test_node": "perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py::test_dual_ion_structured_operator_covers_both_charge_signs", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_field_mobility_structured_operator_closes_ct_and_pf_chain_rule" + }, + "test_node": "perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py::test_field_mobility_structured_operator_closes_ct_and_pf_chain_rule", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_local_qss_interface_srh_closes_the_implicit_root_tangent" + }, + "test_node": "perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py::test_local_qss_interface_srh_closes_the_implicit_root_tangent", + "scope_docstring": null, + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + } + ], + "call_chains": [ + { + "test": "tests.unit.experiments.test_ion_aware_structured_jacobian.test_failed_comparison_gate_preserves_diagnostic_evidence", + "edges": [ + { + "caller": "tests.unit.experiments.test_ion_aware_structured_jacobian.test_failed_comparison_gate_preserves_diagnostic_evidence", + "callee": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "line": 2134, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "callee": "perovskite_sim.experiments.ion_aware_analytic_reaction.apply_analytic_contact_linearization", + "line": 1134, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_ion_aware_structured_jacobian.test_mismatched_hash_is_rejected_before_comparison", + "edges": [ + { + "caller": "tests.unit.experiments.test_ion_aware_structured_jacobian.test_mismatched_hash_is_rejected_before_comparison", + "callee": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "line": 2110, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "callee": "perovskite_sim.experiments.ion_aware_analytic_reaction.apply_analytic_contact_linearization", + "line": 1134, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_ion_aware_structured_jacobian.test_structured_protocol_binds_qss_environment_and_velocity", + "edges": [ + { + "caller": "tests.unit.experiments.test_ion_aware_structured_jacobian.test_structured_protocol_binds_qss_environment_and_velocity", + "callee": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "line": 205, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "callee": "perovskite_sim.experiments.ion_aware_analytic_reaction.apply_analytic_contact_linearization", + "line": 1134, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_ion_aware_structured_jacobian.test_cross_node_interface_srh_closes_the_clamp_inactive_tangent", + "edges": [ + { + "caller": "tests.integration.test_ion_aware_structured_jacobian.test_cross_node_interface_srh_closes_the_clamp_inactive_tangent", + "callee": "tests.integration.test_ion_aware_structured_jacobian._solve_comparison", + "line": 272, + "kind": "call" + }, + { + "caller": "tests.integration.test_ion_aware_structured_jacobian._solve_comparison", + "callee": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "line": 54, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "callee": "perovskite_sim.experiments.ion_aware_analytic_reaction.apply_analytic_contact_linearization", + "line": 1134, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_ion_aware_structured_jacobian.test_cross_node_qss_interface_srh_closes_projection_and_suppresses_mirror", + "edges": [ + { + "caller": "tests.integration.test_ion_aware_structured_jacobian.test_cross_node_qss_interface_srh_closes_projection_and_suppresses_mirror", + "callee": "tests.integration.test_ion_aware_structured_jacobian._solve_comparison", + "line": 475, + "kind": "call" + }, + { + "caller": "tests.integration.test_ion_aware_structured_jacobian._solve_comparison", + "callee": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "line": 54, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "callee": "perovskite_sim.experiments.ion_aware_analytic_reaction.apply_analytic_contact_linearization", + "line": 1134, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_ion_aware_structured_jacobian.test_dual_ion_structured_operator_covers_both_charge_signs", + "edges": [ + { + "caller": "tests.integration.test_ion_aware_structured_jacobian.test_dual_ion_structured_operator_covers_both_charge_signs", + "callee": "tests.integration.test_ion_aware_structured_jacobian._solve_comparison", + "line": 106, + "kind": "call" + }, + { + "caller": "tests.integration.test_ion_aware_structured_jacobian._solve_comparison", + "callee": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "line": 54, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "callee": "perovskite_sim.experiments.ion_aware_analytic_reaction.apply_analytic_contact_linearization", + "line": 1134, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_ion_aware_structured_jacobian.test_field_mobility_structured_operator_closes_ct_and_pf_chain_rule", + "edges": [ + { + "caller": "tests.integration.test_ion_aware_structured_jacobian.test_field_mobility_structured_operator_closes_ct_and_pf_chain_rule", + "callee": "tests.integration.test_ion_aware_structured_jacobian._solve_comparison", + "line": 236, + "kind": "call" + }, + { + "caller": "tests.integration.test_ion_aware_structured_jacobian._solve_comparison", + "callee": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "line": 54, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "callee": "perovskite_sim.experiments.ion_aware_analytic_reaction.apply_analytic_contact_linearization", + "line": 1134, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_ion_aware_structured_jacobian.test_local_qss_interface_srh_closes_the_implicit_root_tangent", + "edges": [ + { + "caller": "tests.integration.test_ion_aware_structured_jacobian.test_local_qss_interface_srh_closes_the_implicit_root_tangent", + "callee": "tests.integration.test_ion_aware_structured_jacobian._solve_comparison", + "line": 440, + "kind": "call" + }, + { + "caller": "tests.integration.test_ion_aware_structured_jacobian._solve_comparison", + "callee": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "line": 54, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "callee": "perovskite_sim.experiments.ion_aware_analytic_reaction.apply_analytic_contact_linearization", + "line": 1134, + "kind": "call" + } + ] + } + ], + "original_scope_limitations": null, + "active_contract": null, + "obligations": [ + { + "id": "new-source-experiment-68757a97c60b3660", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-68757a97c60b3660.json", + "tasks": [ + "P04-06", + "P04-08", + "P05-01", + "P05-03" + ], + "gates": [ + "G4", + "G5" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof", + "per-physical-observable units/norm/reference scale/zero policy and applicable original or prospectively frozen threshold; test truth values do not fill this field" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-e91b51d6692cdef335f556c5", + "rule-9be09e98703dcd3f723c48f3", + "rule-93972c5b25cbae6d7e2c8968", + "rule-14b452c8220c937143d98fd3", + "rule-00f9296183c50f3043714d18", + "rule-7cd7e5a28cf9c6f97462ef42", + "rule-869694768bc0f6e2a1b23e44", + "rule-c40dc67999e6919ba41c303d", + "rule-4631e78af31c1b658d83e8b2", + "rule-2b56693fddbb5e80c3d0af4d", + "rule-88e850d6568af6ccb442d1ce", + "rule-e1f3428cdd99e856a070d1df", + "rule-a8541d57ea50539163c92968", + "rule-00ca117058871b7d537191ae", + "rule-051f5531c28b24979fa9c899", + "rule-ff9e30a38179c9ba74ab4edc", + "rule-05c44f6fa978a3b3814ca37b", + "rule-bd246649c1be7107ff801ecf", + "rule-5a5c1e6b634ae76cf3940dd5", + "rule-f37e4acd9c0f64313f10eca6", + "rule-4fbcc12cb7cd5b1c27094111", + "rule-7bf73ec1d8ffab9fa58881f2", + "rule-3ba5ba921b875584688fffca", + "rule-9959d444de351c4b277c898b", + "rule-adb0eac4f9623093eac8750a", + "rule-81bc64fb112326c184054c41", + "rule-808313bf39a4696b7ad56035", + "rule-5c9cae7fd90f28ea0d87137d", + "rule-a4f28a461175f476fef8a62f", + "rule-ce12a5c63abc981be8d2f847", + "rule-792fb4845e7da94b843cda86", + "rule-737c63d5ce39aa4b1b627aea", + "rule-2411759f2262de0b5d90c105", + "rule-fb3daa3b06dc8375cae0be2c", + "rule-187c85646450a57d183b70dd", + "rule-8cb027a50de48e46d816abbe", + "rule-5d18e96e49e503ecd9d5a762", + "rule-b723d6999e517eb22961ca31", + "rule-2ace38566f3cd67705bc93d8", + "rule-caa5867fe52462335dde8fb4", + "rule-ca61f7e51f7bbe55e8c548f4", + "rule-f88f7d926697c4a9c176cf90", + "rule-3e0520a60fd194e9085fefe1", + "rule-e08c6a9acaef72133dbd6991", + "rule-1778cd14a18798ed03b14fa2", + "rule-561adab65dcc8a192262c9fd", + "rule-36eeac8708d5c34660d22a81", + "rule-84e88d69c6044e0787f3f83a", + "rule-e80dcf245ae57c715dcefa75", + "rule-91588b86741b529e5cf07d58", + "rule-24cb2d3f81e81b79adf785c0", + "rule-d0c50332143af5ae322f2e52", + "rule-4de11c6c622a677640c9dd37", + "rule-377914338a554f8636a535de", + "rule-1b4ee0ab5a0fc9a8f98bb183", + "rule-19e9700d1efb77f5214cdcb6", + "rule-d11d546e6271ef1390f1f213", + "rule-ef94fff49503485f6e060cf9", + "rule-7966b8abb7e8ac03daac35e8", + "rule-786e22e62995b8017242237e", + "rule-ee2800d21fc2bd783638f63d", + "rule-ac11e635ccac1d6b46280872", + "rule-4a1c9984b2bda33e737a2071", + "rule-f7ffd96ad348a2ab6e2ff1cf", + "rule-88fdedb3e9e843ad2300263b" + ], + "comparison_scope_id": "scope-experiment-68757a97c60b3660" + }, + { + "capability_id": "experiment-ce4180bc09955f54", + "route_id": "route-2d70ff5a414a71bc", + "origin_key": "experiment:perovskite_sim.experiments.ion_aware_analytic_reaction.apply_analytic_interface_reaction_linearization", + "target": { + "capability_id": "experiment-ce4180bc09955f54", + "scope_id": "experiment:perovskite_sim.experiments.ion_aware_analytic_reaction.apply_analytic_interface_reaction_linearization", + "kind": "original_scoped_assertions", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_assertions_bound", + "citations": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/ion_aware_analytic_reaction.py", + "symbol": "apply_analytic_interface_reaction_linearization" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py", + "symbol": "test_failed_comparison_gate_preserves_diagnostic_evidence" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py", + "symbol": "test_mismatched_hash_is_rejected_before_comparison" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py", + "symbol": "test_structured_protocol_binds_qss_environment_and_velocity" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_cross_node_interface_srh_closes_the_clamp_inactive_tangent" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_cross_node_qss_interface_srh_closes_projection_and_suppresses_mirror" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_dual_ion_structured_operator_covers_both_charge_signs" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_field_mobility_structured_operator_closes_ct_and_pf_chain_rule" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_local_qss_interface_srh_closes_the_implicit_root_tangent" + } + ], + "original_evidence": [ + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py", + "symbol": "test_failed_comparison_gate_preserves_diagnostic_evidence" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_failed_comparison_gate_preserves_diagnostic_evidence", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py", + "symbol": "test_mismatched_hash_is_rejected_before_comparison" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_mismatched_hash_is_rejected_before_comparison", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py", + "symbol": "test_structured_protocol_binds_qss_environment_and_velocity" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_structured_protocol_binds_qss_environment_and_velocity", + "scope_docstring": null, + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_cross_node_interface_srh_closes_the_clamp_inactive_tangent" + }, + "test_node": "perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py::test_cross_node_interface_srh_closes_the_clamp_inactive_tangent", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_cross_node_qss_interface_srh_closes_projection_and_suppresses_mirror" + }, + "test_node": "perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py::test_cross_node_qss_interface_srh_closes_projection_and_suppresses_mirror", + "scope_docstring": null, + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_dual_ion_structured_operator_covers_both_charge_signs" + }, + "test_node": "perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py::test_dual_ion_structured_operator_covers_both_charge_signs", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_field_mobility_structured_operator_closes_ct_and_pf_chain_rule" + }, + "test_node": "perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py::test_field_mobility_structured_operator_closes_ct_and_pf_chain_rule", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_local_qss_interface_srh_closes_the_implicit_root_tangent" + }, + "test_node": "perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py::test_local_qss_interface_srh_closes_the_implicit_root_tangent", + "scope_docstring": null, + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + } + ], + "call_chains": [ + { + "test": "tests.unit.experiments.test_ion_aware_structured_jacobian.test_failed_comparison_gate_preserves_diagnostic_evidence", + "edges": [ + { + "caller": "tests.unit.experiments.test_ion_aware_structured_jacobian.test_failed_comparison_gate_preserves_diagnostic_evidence", + "callee": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "line": 2134, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "callee": "perovskite_sim.experiments.ion_aware_analytic_reaction.apply_analytic_interface_reaction_linearization", + "line": 1113, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_ion_aware_structured_jacobian.test_mismatched_hash_is_rejected_before_comparison", + "edges": [ + { + "caller": "tests.unit.experiments.test_ion_aware_structured_jacobian.test_mismatched_hash_is_rejected_before_comparison", + "callee": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "line": 2110, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "callee": "perovskite_sim.experiments.ion_aware_analytic_reaction.apply_analytic_interface_reaction_linearization", + "line": 1113, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_ion_aware_structured_jacobian.test_structured_protocol_binds_qss_environment_and_velocity", + "edges": [ + { + "caller": "tests.unit.experiments.test_ion_aware_structured_jacobian.test_structured_protocol_binds_qss_environment_and_velocity", + "callee": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "line": 205, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "callee": "perovskite_sim.experiments.ion_aware_analytic_reaction.apply_analytic_interface_reaction_linearization", + "line": 1113, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_ion_aware_structured_jacobian.test_cross_node_interface_srh_closes_the_clamp_inactive_tangent", + "edges": [ + { + "caller": "tests.integration.test_ion_aware_structured_jacobian.test_cross_node_interface_srh_closes_the_clamp_inactive_tangent", + "callee": "tests.integration.test_ion_aware_structured_jacobian._solve_comparison", + "line": 272, + "kind": "call" + }, + { + "caller": "tests.integration.test_ion_aware_structured_jacobian._solve_comparison", + "callee": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "line": 54, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "callee": "perovskite_sim.experiments.ion_aware_analytic_reaction.apply_analytic_interface_reaction_linearization", + "line": 1113, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_ion_aware_structured_jacobian.test_cross_node_qss_interface_srh_closes_projection_and_suppresses_mirror", + "edges": [ + { + "caller": "tests.integration.test_ion_aware_structured_jacobian.test_cross_node_qss_interface_srh_closes_projection_and_suppresses_mirror", + "callee": "tests.integration.test_ion_aware_structured_jacobian._solve_comparison", + "line": 475, + "kind": "call" + }, + { + "caller": "tests.integration.test_ion_aware_structured_jacobian._solve_comparison", + "callee": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "line": 54, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "callee": "perovskite_sim.experiments.ion_aware_analytic_reaction.apply_analytic_interface_reaction_linearization", + "line": 1113, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_ion_aware_structured_jacobian.test_dual_ion_structured_operator_covers_both_charge_signs", + "edges": [ + { + "caller": "tests.integration.test_ion_aware_structured_jacobian.test_dual_ion_structured_operator_covers_both_charge_signs", + "callee": "tests.integration.test_ion_aware_structured_jacobian._solve_comparison", + "line": 106, + "kind": "call" + }, + { + "caller": "tests.integration.test_ion_aware_structured_jacobian._solve_comparison", + "callee": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "line": 54, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "callee": "perovskite_sim.experiments.ion_aware_analytic_reaction.apply_analytic_interface_reaction_linearization", + "line": 1113, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_ion_aware_structured_jacobian.test_field_mobility_structured_operator_closes_ct_and_pf_chain_rule", + "edges": [ + { + "caller": "tests.integration.test_ion_aware_structured_jacobian.test_field_mobility_structured_operator_closes_ct_and_pf_chain_rule", + "callee": "tests.integration.test_ion_aware_structured_jacobian._solve_comparison", + "line": 236, + "kind": "call" + }, + { + "caller": "tests.integration.test_ion_aware_structured_jacobian._solve_comparison", + "callee": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "line": 54, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "callee": "perovskite_sim.experiments.ion_aware_analytic_reaction.apply_analytic_interface_reaction_linearization", + "line": 1113, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_ion_aware_structured_jacobian.test_local_qss_interface_srh_closes_the_implicit_root_tangent", + "edges": [ + { + "caller": "tests.integration.test_ion_aware_structured_jacobian.test_local_qss_interface_srh_closes_the_implicit_root_tangent", + "callee": "tests.integration.test_ion_aware_structured_jacobian._solve_comparison", + "line": 440, + "kind": "call" + }, + { + "caller": "tests.integration.test_ion_aware_structured_jacobian._solve_comparison", + "callee": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "line": 54, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "callee": "perovskite_sim.experiments.ion_aware_analytic_reaction.apply_analytic_interface_reaction_linearization", + "line": 1113, + "kind": "call" + } + ] + } + ], + "original_scope_limitations": null, + "active_contract": null, + "obligations": [ + { + "id": "new-source-experiment-ce4180bc09955f54", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-ce4180bc09955f54.json", + "tasks": [ + "P04-06", + "P04-08", + "P05-01", + "P05-03" + ], + "gates": [ + "G4", + "G5" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof", + "per-physical-observable units/norm/reference scale/zero policy and applicable original or prospectively frozen threshold; test truth values do not fill this field" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-e91b51d6692cdef335f556c5", + "rule-9be09e98703dcd3f723c48f3", + "rule-93972c5b25cbae6d7e2c8968", + "rule-14b452c8220c937143d98fd3", + "rule-00f9296183c50f3043714d18", + "rule-7cd7e5a28cf9c6f97462ef42", + "rule-869694768bc0f6e2a1b23e44", + "rule-c40dc67999e6919ba41c303d", + "rule-4631e78af31c1b658d83e8b2", + "rule-2b56693fddbb5e80c3d0af4d", + "rule-88e850d6568af6ccb442d1ce", + "rule-e1f3428cdd99e856a070d1df", + "rule-a8541d57ea50539163c92968", + "rule-00ca117058871b7d537191ae", + "rule-051f5531c28b24979fa9c899", + "rule-ff9e30a38179c9ba74ab4edc", + "rule-05c44f6fa978a3b3814ca37b", + "rule-bd246649c1be7107ff801ecf", + "rule-5a5c1e6b634ae76cf3940dd5", + "rule-f37e4acd9c0f64313f10eca6", + "rule-4fbcc12cb7cd5b1c27094111", + "rule-7bf73ec1d8ffab9fa58881f2", + "rule-3ba5ba921b875584688fffca", + "rule-9959d444de351c4b277c898b", + "rule-adb0eac4f9623093eac8750a", + "rule-81bc64fb112326c184054c41", + "rule-808313bf39a4696b7ad56035", + "rule-5c9cae7fd90f28ea0d87137d", + "rule-a4f28a461175f476fef8a62f", + "rule-ce12a5c63abc981be8d2f847", + "rule-792fb4845e7da94b843cda86", + "rule-737c63d5ce39aa4b1b627aea", + "rule-2411759f2262de0b5d90c105", + "rule-fb3daa3b06dc8375cae0be2c", + "rule-187c85646450a57d183b70dd", + "rule-8cb027a50de48e46d816abbe", + "rule-5d18e96e49e503ecd9d5a762", + "rule-b723d6999e517eb22961ca31", + "rule-2ace38566f3cd67705bc93d8", + "rule-caa5867fe52462335dde8fb4", + "rule-ca61f7e51f7bbe55e8c548f4", + "rule-f88f7d926697c4a9c176cf90", + "rule-3e0520a60fd194e9085fefe1", + "rule-e08c6a9acaef72133dbd6991", + "rule-1778cd14a18798ed03b14fa2", + "rule-561adab65dcc8a192262c9fd", + "rule-36eeac8708d5c34660d22a81", + "rule-84e88d69c6044e0787f3f83a", + "rule-e80dcf245ae57c715dcefa75", + "rule-91588b86741b529e5cf07d58", + "rule-24cb2d3f81e81b79adf785c0", + "rule-d0c50332143af5ae322f2e52", + "rule-4de11c6c622a677640c9dd37", + "rule-377914338a554f8636a535de", + "rule-1b4ee0ab5a0fc9a8f98bb183", + "rule-19e9700d1efb77f5214cdcb6", + "rule-d11d546e6271ef1390f1f213", + "rule-ef94fff49503485f6e060cf9", + "rule-7966b8abb7e8ac03daac35e8", + "rule-786e22e62995b8017242237e", + "rule-ee2800d21fc2bd783638f63d", + "rule-ac11e635ccac1d6b46280872", + "rule-4a1c9984b2bda33e737a2071", + "rule-f7ffd96ad348a2ab6e2ff1cf", + "rule-88fdedb3e9e843ad2300263b" + ], + "comparison_scope_id": "scope-experiment-ce4180bc09955f54" + }, + { + "capability_id": "experiment-00db5ef5f7a28a1c", + "route_id": "route-0b685a0a6f8ded75", + "origin_key": "experiment:perovskite_sim.experiments.ion_aware_analytic_transport.apply_analytic_transport_linearization", + "target": { + "capability_id": "experiment-00db5ef5f7a28a1c", + "scope_id": "experiment:perovskite_sim.experiments.ion_aware_analytic_transport.apply_analytic_transport_linearization", + "kind": "original_scoped_assertions", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_assertions_bound", + "citations": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/ion_aware_analytic_transport.py", + "symbol": "apply_analytic_transport_linearization" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py", + "symbol": "test_failed_comparison_gate_preserves_diagnostic_evidence" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py", + "symbol": "test_mismatched_hash_is_rejected_before_comparison" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py", + "symbol": "test_structured_protocol_binds_qss_environment_and_velocity" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_cross_node_interface_srh_closes_the_clamp_inactive_tangent" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_cross_node_qss_interface_srh_closes_projection_and_suppresses_mirror" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_dual_ion_structured_operator_covers_both_charge_signs" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_field_mobility_structured_operator_closes_ct_and_pf_chain_rule" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_local_qss_interface_srh_closes_the_implicit_root_tangent" + } + ], + "original_evidence": [ + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py", + "symbol": "test_failed_comparison_gate_preserves_diagnostic_evidence" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_failed_comparison_gate_preserves_diagnostic_evidence", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py", + "symbol": "test_mismatched_hash_is_rejected_before_comparison" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_mismatched_hash_is_rejected_before_comparison", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py", + "symbol": "test_structured_protocol_binds_qss_environment_and_velocity" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_structured_protocol_binds_qss_environment_and_velocity", + "scope_docstring": null, + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_cross_node_interface_srh_closes_the_clamp_inactive_tangent" + }, + "test_node": "perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py::test_cross_node_interface_srh_closes_the_clamp_inactive_tangent", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_cross_node_qss_interface_srh_closes_projection_and_suppresses_mirror" + }, + "test_node": "perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py::test_cross_node_qss_interface_srh_closes_projection_and_suppresses_mirror", + "scope_docstring": null, + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_dual_ion_structured_operator_covers_both_charge_signs" + }, + "test_node": "perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py::test_dual_ion_structured_operator_covers_both_charge_signs", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_field_mobility_structured_operator_closes_ct_and_pf_chain_rule" + }, + "test_node": "perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py::test_field_mobility_structured_operator_closes_ct_and_pf_chain_rule", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_local_qss_interface_srh_closes_the_implicit_root_tangent" + }, + "test_node": "perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py::test_local_qss_interface_srh_closes_the_implicit_root_tangent", + "scope_docstring": null, + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + } + ], + "call_chains": [ + { + "test": "tests.unit.experiments.test_ion_aware_structured_jacobian.test_failed_comparison_gate_preserves_diagnostic_evidence", + "edges": [ + { + "caller": "tests.unit.experiments.test_ion_aware_structured_jacobian.test_failed_comparison_gate_preserves_diagnostic_evidence", + "callee": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "line": 2134, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "callee": "perovskite_sim.experiments.ion_aware_analytic_transport.apply_analytic_transport_linearization", + "line": 1052, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_ion_aware_structured_jacobian.test_mismatched_hash_is_rejected_before_comparison", + "edges": [ + { + "caller": "tests.unit.experiments.test_ion_aware_structured_jacobian.test_mismatched_hash_is_rejected_before_comparison", + "callee": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "line": 2110, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "callee": "perovskite_sim.experiments.ion_aware_analytic_transport.apply_analytic_transport_linearization", + "line": 1052, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_ion_aware_structured_jacobian.test_structured_protocol_binds_qss_environment_and_velocity", + "edges": [ + { + "caller": "tests.unit.experiments.test_ion_aware_structured_jacobian.test_structured_protocol_binds_qss_environment_and_velocity", + "callee": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "line": 205, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "callee": "perovskite_sim.experiments.ion_aware_analytic_transport.apply_analytic_transport_linearization", + "line": 1052, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_ion_aware_structured_jacobian.test_cross_node_interface_srh_closes_the_clamp_inactive_tangent", + "edges": [ + { + "caller": "tests.integration.test_ion_aware_structured_jacobian.test_cross_node_interface_srh_closes_the_clamp_inactive_tangent", + "callee": "tests.integration.test_ion_aware_structured_jacobian._solve_comparison", + "line": 272, + "kind": "call" + }, + { + "caller": "tests.integration.test_ion_aware_structured_jacobian._solve_comparison", + "callee": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "line": 54, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "callee": "perovskite_sim.experiments.ion_aware_analytic_transport.apply_analytic_transport_linearization", + "line": 1052, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_ion_aware_structured_jacobian.test_cross_node_qss_interface_srh_closes_projection_and_suppresses_mirror", + "edges": [ + { + "caller": "tests.integration.test_ion_aware_structured_jacobian.test_cross_node_qss_interface_srh_closes_projection_and_suppresses_mirror", + "callee": "tests.integration.test_ion_aware_structured_jacobian._solve_comparison", + "line": 475, + "kind": "call" + }, + { + "caller": "tests.integration.test_ion_aware_structured_jacobian._solve_comparison", + "callee": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "line": 54, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "callee": "perovskite_sim.experiments.ion_aware_analytic_transport.apply_analytic_transport_linearization", + "line": 1052, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_ion_aware_structured_jacobian.test_dual_ion_structured_operator_covers_both_charge_signs", + "edges": [ + { + "caller": "tests.integration.test_ion_aware_structured_jacobian.test_dual_ion_structured_operator_covers_both_charge_signs", + "callee": "tests.integration.test_ion_aware_structured_jacobian._solve_comparison", + "line": 106, + "kind": "call" + }, + { + "caller": "tests.integration.test_ion_aware_structured_jacobian._solve_comparison", + "callee": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "line": 54, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "callee": "perovskite_sim.experiments.ion_aware_analytic_transport.apply_analytic_transport_linearization", + "line": 1052, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_ion_aware_structured_jacobian.test_field_mobility_structured_operator_closes_ct_and_pf_chain_rule", + "edges": [ + { + "caller": "tests.integration.test_ion_aware_structured_jacobian.test_field_mobility_structured_operator_closes_ct_and_pf_chain_rule", + "callee": "tests.integration.test_ion_aware_structured_jacobian._solve_comparison", + "line": 236, + "kind": "call" + }, + { + "caller": "tests.integration.test_ion_aware_structured_jacobian._solve_comparison", + "callee": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "line": 54, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "callee": "perovskite_sim.experiments.ion_aware_analytic_transport.apply_analytic_transport_linearization", + "line": 1052, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_ion_aware_structured_jacobian.test_local_qss_interface_srh_closes_the_implicit_root_tangent", + "edges": [ + { + "caller": "tests.integration.test_ion_aware_structured_jacobian.test_local_qss_interface_srh_closes_the_implicit_root_tangent", + "callee": "tests.integration.test_ion_aware_structured_jacobian._solve_comparison", + "line": 440, + "kind": "call" + }, + { + "caller": "tests.integration.test_ion_aware_structured_jacobian._solve_comparison", + "callee": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "line": 54, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "callee": "perovskite_sim.experiments.ion_aware_analytic_transport.apply_analytic_transport_linearization", + "line": 1052, + "kind": "call" + } + ] + } + ], + "original_scope_limitations": null, + "active_contract": null, + "obligations": [ + { + "id": "new-source-experiment-00db5ef5f7a28a1c", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-00db5ef5f7a28a1c.json", + "tasks": [ + "P04-06", + "P04-08", + "P05-01", + "P05-03" + ], + "gates": [ + "G4", + "G5" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof", + "per-physical-observable units/norm/reference scale/zero policy and applicable original or prospectively frozen threshold; test truth values do not fill this field" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-e91b51d6692cdef335f556c5", + "rule-9be09e98703dcd3f723c48f3", + "rule-93972c5b25cbae6d7e2c8968", + "rule-14b452c8220c937143d98fd3", + "rule-00f9296183c50f3043714d18", + "rule-7cd7e5a28cf9c6f97462ef42", + "rule-869694768bc0f6e2a1b23e44", + "rule-c40dc67999e6919ba41c303d", + "rule-4631e78af31c1b658d83e8b2", + "rule-2b56693fddbb5e80c3d0af4d", + "rule-88e850d6568af6ccb442d1ce", + "rule-e1f3428cdd99e856a070d1df", + "rule-a8541d57ea50539163c92968", + "rule-00ca117058871b7d537191ae", + "rule-051f5531c28b24979fa9c899", + "rule-ff9e30a38179c9ba74ab4edc", + "rule-05c44f6fa978a3b3814ca37b", + "rule-bd246649c1be7107ff801ecf", + "rule-5a5c1e6b634ae76cf3940dd5", + "rule-f37e4acd9c0f64313f10eca6", + "rule-4fbcc12cb7cd5b1c27094111", + "rule-7bf73ec1d8ffab9fa58881f2", + "rule-3ba5ba921b875584688fffca", + "rule-9959d444de351c4b277c898b", + "rule-adb0eac4f9623093eac8750a", + "rule-81bc64fb112326c184054c41", + "rule-808313bf39a4696b7ad56035", + "rule-5c9cae7fd90f28ea0d87137d", + "rule-a4f28a461175f476fef8a62f", + "rule-ce12a5c63abc981be8d2f847", + "rule-792fb4845e7da94b843cda86", + "rule-737c63d5ce39aa4b1b627aea", + "rule-2411759f2262de0b5d90c105", + "rule-fb3daa3b06dc8375cae0be2c", + "rule-187c85646450a57d183b70dd", + "rule-8cb027a50de48e46d816abbe", + "rule-5d18e96e49e503ecd9d5a762", + "rule-b723d6999e517eb22961ca31", + "rule-2ace38566f3cd67705bc93d8", + "rule-caa5867fe52462335dde8fb4", + "rule-ca61f7e51f7bbe55e8c548f4", + "rule-f88f7d926697c4a9c176cf90", + "rule-3e0520a60fd194e9085fefe1", + "rule-e08c6a9acaef72133dbd6991", + "rule-1778cd14a18798ed03b14fa2", + "rule-561adab65dcc8a192262c9fd", + "rule-36eeac8708d5c34660d22a81", + "rule-84e88d69c6044e0787f3f83a", + "rule-e80dcf245ae57c715dcefa75", + "rule-91588b86741b529e5cf07d58", + "rule-24cb2d3f81e81b79adf785c0", + "rule-d0c50332143af5ae322f2e52", + "rule-4de11c6c622a677640c9dd37", + "rule-377914338a554f8636a535de", + "rule-1b4ee0ab5a0fc9a8f98bb183", + "rule-19e9700d1efb77f5214cdcb6", + "rule-d11d546e6271ef1390f1f213", + "rule-ef94fff49503485f6e060cf9", + "rule-7966b8abb7e8ac03daac35e8", + "rule-786e22e62995b8017242237e", + "rule-ee2800d21fc2bd783638f63d", + "rule-ac11e635ccac1d6b46280872", + "rule-4a1c9984b2bda33e737a2071", + "rule-f7ffd96ad348a2ab6e2ff1cf", + "rule-88fdedb3e9e843ad2300263b" + ], + "comparison_scope_id": "scope-experiment-00db5ef5f7a28a1c" + }, + { + "capability_id": "experiment-d2c61896a1893f64", + "route_id": "route-540527431655d5fb", + "origin_key": "experiment:perovskite_sim.experiments.ion_aware_dc.solve_ion_aware_dc", + "target": { + "capability_id": "experiment-d2c61896a1893f64", + "scope_id": "experiment:perovskite_sim.experiments.ion_aware_dc.solve_ion_aware_dc", + "kind": "original_scoped_assertions", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_assertions_bound", + "citations": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/ion_aware_dc.py", + "symbol": "solve_ion_aware_dc" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_dc.py", + "symbol": "test_ionmonger_fixed_bias_reaches_two_residual_certified_endpoints" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_impedance.py", + "symbol": "test_ionmonger_certified_dc_drives_reference_frequency_operator" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_impedance.py", + "symbol": "test_symmetric_dual_ion_state_keeps_both_blocking_inventory_constraints" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_impedance_lockin.py", + "symbol": "test_exact_dc_transient_lockin_matches_frequency_domain_ionic_points" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_dc.py", + "symbol": "test_contact_gate_remains_separate_from_numerical_closure" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_dc.py", + "symbol": "test_solver_counts_only_consecutive_state_and_diagnostic_passes" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_dc.py", + "symbol": "test_solver_exhaustion_returns_evidence_on_error" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_dc.py", + "symbol": "test_solver_method_exhaustion_retains_attempt_evidence" + } + ], + "original_evidence": [ + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_dc.py", + "symbol": "test_ionmonger_fixed_bias_reaches_two_residual_certified_endpoints" + }, + "test_node": "perovskite-sim/tests/integration/test_ion_aware_dc.py::test_ionmonger_fixed_bias_reaches_two_residual_certified_endpoints", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_impedance.py", + "symbol": "test_ionmonger_certified_dc_drives_reference_frequency_operator" + }, + "test_node": "perovskite-sim/tests/integration/test_ion_aware_impedance.py::test_ionmonger_certified_dc_drives_reference_frequency_operator", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_impedance.py", + "symbol": "test_symmetric_dual_ion_state_keeps_both_blocking_inventory_constraints" + }, + "test_node": "perovskite-sim/tests/integration/test_ion_aware_impedance.py::test_symmetric_dual_ion_state_keeps_both_blocking_inventory_constraints", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_impedance_lockin.py", + "symbol": "test_exact_dc_transient_lockin_matches_frequency_domain_ionic_points" + }, + "test_node": "perovskite-sim/tests/integration/test_ion_aware_impedance_lockin.py::test_exact_dc_transient_lockin_matches_frequency_domain_ionic_points", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_dc.py", + "symbol": "test_contact_gate_remains_separate_from_numerical_closure" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_ion_aware_dc.py::test_contact_gate_remains_separate_from_numerical_closure", + "scope_docstring": null, + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_dc.py", + "symbol": "test_solver_counts_only_consecutive_state_and_diagnostic_passes" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_ion_aware_dc.py::test_solver_counts_only_consecutive_state_and_diagnostic_passes", + "scope_docstring": null, + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_dc.py", + "symbol": "test_solver_exhaustion_returns_evidence_on_error" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_ion_aware_dc.py::test_solver_exhaustion_returns_evidence_on_error", + "scope_docstring": null, + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_dc.py", + "symbol": "test_solver_method_exhaustion_retains_attempt_evidence" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_ion_aware_dc.py::test_solver_method_exhaustion_retains_attempt_evidence", + "scope_docstring": null, + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + } + ], + "call_chains": [ + { + "test": "tests.integration.test_ion_aware_dc.test_ionmonger_fixed_bias_reaches_two_residual_certified_endpoints", + "edges": [ + { + "caller": "tests.integration.test_ion_aware_dc.test_ionmonger_fixed_bias_reaches_two_residual_certified_endpoints", + "callee": "perovskite_sim.experiments.ion_aware_dc.solve_ion_aware_dc", + "line": 20, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_ion_aware_impedance.test_ionmonger_certified_dc_drives_reference_frequency_operator", + "edges": [ + { + "caller": "tests.integration.test_ion_aware_impedance.test_ionmonger_certified_dc_drives_reference_frequency_operator", + "callee": "perovskite_sim.experiments.ion_aware_dc.solve_ion_aware_dc", + "line": 27, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_ion_aware_impedance.test_symmetric_dual_ion_state_keeps_both_blocking_inventory_constraints", + "edges": [ + { + "caller": "tests.integration.test_ion_aware_impedance.test_symmetric_dual_ion_state_keeps_both_blocking_inventory_constraints", + "callee": "perovskite_sim.experiments.ion_aware_dc.solve_ion_aware_dc", + "line": 83, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_ion_aware_impedance_lockin.test_exact_dc_transient_lockin_matches_frequency_domain_ionic_points", + "edges": [ + { + "caller": "tests.integration.test_ion_aware_impedance_lockin.test_exact_dc_transient_lockin_matches_frequency_domain_ionic_points", + "callee": "perovskite_sim.experiments.ion_aware_dc.solve_ion_aware_dc", + "line": 24, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_ion_aware_dc.test_contact_gate_remains_separate_from_numerical_closure", + "edges": [ + { + "caller": "tests.unit.experiments.test_ion_aware_dc.test_contact_gate_remains_separate_from_numerical_closure", + "callee": "perovskite_sim.experiments.ion_aware_dc.solve_ion_aware_dc", + "line": 487, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_ion_aware_dc.test_solver_counts_only_consecutive_state_and_diagnostic_passes", + "edges": [ + { + "caller": "tests.unit.experiments.test_ion_aware_dc.test_solver_counts_only_consecutive_state_and_diagnostic_passes", + "callee": "perovskite_sim.experiments.ion_aware_dc.solve_ion_aware_dc", + "line": 327, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_ion_aware_dc.test_solver_exhaustion_returns_evidence_on_error", + "edges": [ + { + "caller": "tests.unit.experiments.test_ion_aware_dc.test_solver_exhaustion_returns_evidence_on_error", + "callee": "perovskite_sim.experiments.ion_aware_dc.solve_ion_aware_dc", + "line": 368, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_ion_aware_dc.test_solver_method_exhaustion_retains_attempt_evidence", + "edges": [ + { + "caller": "tests.unit.experiments.test_ion_aware_dc.test_solver_method_exhaustion_retains_attempt_evidence", + "callee": "perovskite_sim.experiments.ion_aware_dc.solve_ion_aware_dc", + "line": 447, + "kind": "call" + } + ] + } + ], + "original_scope_limitations": null, + "active_contract": null, + "obligations": [ + { + "id": "new-source-experiment-d2c61896a1893f64", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-d2c61896a1893f64.json", + "tasks": [ + "P04-04", + "P04-08", + "P05-01", + "P05-03" + ], + "gates": [ + "G4", + "G5" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof", + "per-physical-observable units/norm/reference scale/zero policy and applicable original or prospectively frozen threshold; test truth values do not fill this field" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-579368099be9d2fe6b7efcef", + "rule-3fdea22ce4b38641fb466aa4", + "rule-9e0d3a3e0eddbcd8e880d5fb", + "rule-54006673094f062b3481b8d2", + "rule-08c3cc1918af10c5613b6ed5", + "rule-5a85462776fb37fb16c746c1", + "rule-7223d4530b302ad1c838bc67", + "rule-bc2cb77eff2ea9f80b400f35", + "rule-71383ba78d0e2ebafeee354e", + "rule-d4b3e9d5d3df8490e377448e", + "rule-57d438faa072698200e48fe9", + "rule-91e650ed6a373de830b83fbe", + "rule-6fa9f81f2346ff495e6972a1", + "rule-2900d202a5701bad34bbb6f9", + "rule-3910583abce8d9d1578578f5", + "rule-2aa1d64233ac44b61c9a3331", + "rule-52aabfcf84e4e534d4751188", + "rule-646e9645326667bcd4615be6", + "rule-13cf0fb7484e2b3d57e98e8e", + "rule-eeeb4d841aa308f21c1b151a", + "rule-12d505c177186d6f1f10738d", + "rule-18a3b6c8fd14ae806b0c6c2f", + "rule-e4083e8dce586cc1d8105383", + "rule-cbf12a453a500d06dc014575", + "rule-115576f93698e957b367e57c", + "rule-ff8d00fe3b66832b3f7466b6", + "rule-5ac4694883314c1b91a2e514", + "rule-6278f9839bc86b45e47fa8d5", + "rule-269bb36afc157a48bf01eb06", + "rule-0983bf426a375da732793171", + "rule-7927fe36e406561d1f76690d", + "rule-f91e20df80f1f0e8445fd58f", + "rule-ffc3064037551e1aea19671f", + "rule-fd238b10b9e20eb2dc613838", + "rule-85729d498ece81cf5b78d7c2", + "rule-8095cfedb30acb45caff4cbf", + "rule-818fe89d5cf2947f1732e0ce", + "rule-4b6b34f228e63c09a52646d6", + "rule-9bb1c11d3f772629c48ebf9e", + "rule-bbeac907b852a70ac36313e0", + "rule-98a15f1a58f8051f4b60fe92", + "rule-d02d03c41bcc2360132f215a", + "rule-dd5c42d40da3c595ac051c72", + "rule-9a5c48adfd39f69a9ae5acea", + "rule-474a559975705b55312f1e0a", + "rule-49236dd662bad1ea7b815011", + "rule-a4e65a91a0e92004dd0135e0", + "rule-940bc7ea19cf200cd94a38e1", + "rule-1924191be5950b62541101fd", + "rule-5d47f637835536594a40c586", + "rule-c2bd163f5f32022924a1763d", + "rule-01213f0a74413b284bc37106", + "rule-87a8dbb9f558017c1c8058ef", + "rule-8e2eea92548e0134b31da0f1", + "rule-88a792081ab93188e79e7bfe", + "rule-0f19cab87b41bcc5a97a5524", + "rule-6e38d9ab5b84a26132feaae9", + "rule-79b349e23749e40ed951de8a", + "rule-239302bc8f9ceb1bd4cdb8af", + "rule-20ec19c4ea5bb30ff582fa78", + "rule-482a478cc7e6cc3665a0a3b0", + "rule-4985b44b9721fdc4e5d7ce0a", + "rule-406f441c134483a0271a2a1d", + "rule-94341ebe7942d5f8b77ca08c", + "rule-c1ee8a889400af779619dda0" + ], + "comparison_scope_id": "scope-experiment-d2c61896a1893f64" + }, + { + "capability_id": "experiment-3820972478a89255", + "route_id": "route-66a78cb7e2ee8eba", + "origin_key": "experiment:perovskite_sim.experiments.ion_aware_impedance.run_ion_aware_impedance", + "target": { + "capability_id": "experiment-3820972478a89255", + "scope_id": "experiment:perovskite_sim.experiments.ion_aware_impedance.run_ion_aware_impedance", + "kind": "original_scoped_assertions", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_assertions_bound", + "citations": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/ion_aware_impedance.py", + "symbol": "run_ion_aware_impedance" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_impedance.py", + "symbol": "test_ionmonger_certified_dc_drives_reference_frequency_operator" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_impedance.py", + "symbol": "test_symmetric_dual_ion_state_keeps_both_blocking_inventory_constraints" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_impedance_lockin.py", + "symbol": "test_exact_dc_transient_lockin_matches_frequency_domain_ionic_points" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_impedance.py", + "symbol": "test_dense_full_timescale_window_is_separately_certified" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_impedance.py", + "symbol": "test_frequency_window_strict_gate_retains_diagnostic_result" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_impedance.py", + "symbol": "test_reference_lane_keeps_contact_thermodynamics_as_a_strict_axis" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_impedance.py", + "symbol": "test_reference_lane_rejects_a_different_device_stack" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_impedance.py", + "symbol": "test_reference_lane_rejects_declared_uncertified_dc_state" + } + ], + "original_evidence": [ + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_impedance.py", + "symbol": "test_ionmonger_certified_dc_drives_reference_frequency_operator" + }, + "test_node": "perovskite-sim/tests/integration/test_ion_aware_impedance.py::test_ionmonger_certified_dc_drives_reference_frequency_operator", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_impedance.py", + "symbol": "test_symmetric_dual_ion_state_keeps_both_blocking_inventory_constraints" + }, + "test_node": "perovskite-sim/tests/integration/test_ion_aware_impedance.py::test_symmetric_dual_ion_state_keeps_both_blocking_inventory_constraints", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_impedance_lockin.py", + "symbol": "test_exact_dc_transient_lockin_matches_frequency_domain_ionic_points" + }, + "test_node": "perovskite-sim/tests/integration/test_ion_aware_impedance_lockin.py::test_exact_dc_transient_lockin_matches_frequency_domain_ionic_points", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_impedance.py", + "symbol": "test_dense_full_timescale_window_is_separately_certified" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_ion_aware_impedance.py::test_dense_full_timescale_window_is_separately_certified", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_impedance.py", + "symbol": "test_frequency_window_strict_gate_retains_diagnostic_result" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_ion_aware_impedance.py::test_frequency_window_strict_gate_retains_diagnostic_result", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_impedance.py", + "symbol": "test_reference_lane_keeps_contact_thermodynamics_as_a_strict_axis" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_ion_aware_impedance.py::test_reference_lane_keeps_contact_thermodynamics_as_a_strict_axis", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_impedance.py", + "symbol": "test_reference_lane_rejects_a_different_device_stack" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_ion_aware_impedance.py::test_reference_lane_rejects_a_different_device_stack", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_impedance.py", + "symbol": "test_reference_lane_rejects_declared_uncertified_dc_state" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_ion_aware_impedance.py::test_reference_lane_rejects_declared_uncertified_dc_state", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + } + ], + "call_chains": [ + { + "test": "tests.integration.test_ion_aware_impedance.test_ionmonger_certified_dc_drives_reference_frequency_operator", + "edges": [ + { + "caller": "tests.integration.test_ion_aware_impedance.test_ionmonger_certified_dc_drives_reference_frequency_operator", + "callee": "perovskite_sim.experiments.ion_aware_impedance.run_ion_aware_impedance", + "line": 33, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_ion_aware_impedance.test_symmetric_dual_ion_state_keeps_both_blocking_inventory_constraints", + "edges": [ + { + "caller": "tests.integration.test_ion_aware_impedance.test_symmetric_dual_ion_state_keeps_both_blocking_inventory_constraints", + "callee": "perovskite_sim.experiments.ion_aware_impedance.run_ion_aware_impedance", + "line": 97, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_ion_aware_impedance_lockin.test_exact_dc_transient_lockin_matches_frequency_domain_ionic_points", + "edges": [ + { + "caller": "tests.integration.test_ion_aware_impedance_lockin.test_exact_dc_transient_lockin_matches_frequency_domain_ionic_points", + "callee": "perovskite_sim.experiments.ion_aware_impedance.run_ion_aware_impedance", + "line": 38, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_ion_aware_impedance.test_dense_full_timescale_window_is_separately_certified", + "edges": [ + { + "caller": "tests.unit.experiments.test_ion_aware_impedance.test_dense_full_timescale_window_is_separately_certified", + "callee": "perovskite_sim.experiments.ion_aware_impedance.run_ion_aware_impedance", + "line": 249, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_ion_aware_impedance.test_frequency_window_strict_gate_retains_diagnostic_result", + "edges": [ + { + "caller": "tests.unit.experiments.test_ion_aware_impedance.test_frequency_window_strict_gate_retains_diagnostic_result", + "callee": "perovskite_sim.experiments.ion_aware_impedance.run_ion_aware_impedance", + "line": 281, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_ion_aware_impedance.test_reference_lane_keeps_contact_thermodynamics_as_a_strict_axis", + "edges": [ + { + "caller": "tests.unit.experiments.test_ion_aware_impedance.test_reference_lane_keeps_contact_thermodynamics_as_a_strict_axis", + "callee": "perovskite_sim.experiments.ion_aware_impedance.run_ion_aware_impedance", + "line": 369, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_ion_aware_impedance.test_reference_lane_rejects_a_different_device_stack", + "edges": [ + { + "caller": "tests.unit.experiments.test_ion_aware_impedance.test_reference_lane_rejects_a_different_device_stack", + "callee": "perovskite_sim.experiments.ion_aware_impedance.run_ion_aware_impedance", + "line": 328, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_ion_aware_impedance.test_reference_lane_rejects_declared_uncertified_dc_state", + "edges": [ + { + "caller": "tests.unit.experiments.test_ion_aware_impedance.test_reference_lane_rejects_declared_uncertified_dc_state", + "callee": "perovskite_sim.experiments.ion_aware_impedance.run_ion_aware_impedance", + "line": 349, + "kind": "call" + } + ] + } + ], + "original_scope_limitations": null, + "active_contract": null, + "obligations": [ + { + "id": "new-source-experiment-3820972478a89255", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-3820972478a89255.json", + "tasks": [ + "P04-06", + "P04-08", + "P05-01", + "P05-03" + ], + "gates": [ + "G4", + "G5" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof", + "per-physical-observable units/norm/reference scale/zero policy and applicable original or prospectively frozen threshold; test truth values do not fill this field", + "the applicable gauge/CV/log-density/inventory or complex/circular-phase comparator with physical units; no generic scalar substitute" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-6fa9f81f2346ff495e6972a1", + "rule-2900d202a5701bad34bbb6f9", + "rule-3910583abce8d9d1578578f5", + "rule-2aa1d64233ac44b61c9a3331", + "rule-52aabfcf84e4e534d4751188", + "rule-646e9645326667bcd4615be6", + "rule-13cf0fb7484e2b3d57e98e8e", + "rule-eeeb4d841aa308f21c1b151a", + "rule-12d505c177186d6f1f10738d", + "rule-18a3b6c8fd14ae806b0c6c2f", + "rule-e4083e8dce586cc1d8105383", + "rule-cbf12a453a500d06dc014575", + "rule-115576f93698e957b367e57c", + "rule-ff8d00fe3b66832b3f7466b6", + "rule-5ac4694883314c1b91a2e514", + "rule-6278f9839bc86b45e47fa8d5", + "rule-269bb36afc157a48bf01eb06", + "rule-0983bf426a375da732793171", + "rule-7927fe36e406561d1f76690d", + "rule-f91e20df80f1f0e8445fd58f", + "rule-ffc3064037551e1aea19671f", + "rule-fd238b10b9e20eb2dc613838", + "rule-85729d498ece81cf5b78d7c2", + "rule-8095cfedb30acb45caff4cbf", + "rule-818fe89d5cf2947f1732e0ce", + "rule-4b6b34f228e63c09a52646d6", + "rule-9bb1c11d3f772629c48ebf9e", + "rule-bbeac907b852a70ac36313e0", + "rule-98a15f1a58f8051f4b60fe92", + "rule-d02d03c41bcc2360132f215a", + "rule-dd5c42d40da3c595ac051c72", + "rule-9a5c48adfd39f69a9ae5acea", + "rule-474a559975705b55312f1e0a", + "rule-49236dd662bad1ea7b815011", + "rule-4698b32288162349b47d5823", + "rule-e2038403dcc4e928675c5468", + "rule-46cef51d15dd35e68597c0b3", + "rule-074f0f50a0d8c66e204bee90", + "rule-64d026f2ad19da8915144d17", + "rule-b70c669216f2dc42127c861a", + "rule-d3319a54bec786a341ae36a1", + "rule-0ee0ee18838bd4d842e06c0f", + "rule-aeaa2b139cd036b4b15ad88e", + "rule-31155356579cd933a7819a2c", + "rule-8d7aa9ff18f42ba1427439a0", + "rule-54823e36725060d069a0350d", + "rule-3937fae855dcba152c449223", + "rule-8012cf7021bc8fa8724ca215", + "rule-fdb150ed0a8cb7f0fbb32e62", + "rule-419893ff9f61f8fe9e8c7cbe" + ], + "comparison_scope_id": "scope-experiment-3820972478a89255" + }, + { + "capability_id": "experiment-330be0d05e1b31a9", + "route_id": "route-3ca1dfa513a1e322", + "origin_key": "experiment:perovskite_sim.experiments.ion_aware_impedance_grid.run_ion_aware_impedance_grid_ladder", + "target": { + "capability_id": "experiment-330be0d05e1b31a9", + "scope_id": "experiment:perovskite_sim.experiments.ion_aware_impedance_grid.run_ion_aware_impedance_grid_ladder", + "kind": "original_scoped_assertions", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_assertions_bound", + "citations": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/ion_aware_impedance_grid.py", + "symbol": "run_ion_aware_impedance_grid_ladder" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_impedance_grid.py", + "symbol": "test_grid_ladder_rejects_coordinate_replacement_before_ac_execution" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_impedance_grid.py", + "symbol": "test_grid_ladder_rejects_state_or_stack_replacement_before_ac_execution" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_impedance_grid.py", + "symbol": "test_resolved_ionmonger_grid_ladder_passes_each_frequency" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_impedance_grid.py", + "symbol": "test_same_results_fail_a_tighter_preregistered_grid_gate" + } + ], + "original_evidence": [ + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_impedance_grid.py", + "symbol": "test_grid_ladder_rejects_coordinate_replacement_before_ac_execution" + }, + "test_node": "perovskite-sim/tests/integration/test_ion_aware_impedance_grid.py::test_grid_ladder_rejects_coordinate_replacement_before_ac_execution", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_impedance_grid.py", + "symbol": "test_grid_ladder_rejects_state_or_stack_replacement_before_ac_execution" + }, + "test_node": "perovskite-sim/tests/integration/test_ion_aware_impedance_grid.py::test_grid_ladder_rejects_state_or_stack_replacement_before_ac_execution", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_impedance_grid.py", + "symbol": "test_resolved_ionmonger_grid_ladder_passes_each_frequency" + }, + "test_node": "perovskite-sim/tests/integration/test_ion_aware_impedance_grid.py::test_resolved_ionmonger_grid_ladder_passes_each_frequency", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_impedance_grid.py", + "symbol": "test_same_results_fail_a_tighter_preregistered_grid_gate" + }, + "test_node": "perovskite-sim/tests/integration/test_ion_aware_impedance_grid.py::test_same_results_fail_a_tighter_preregistered_grid_gate", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + } + ], + "call_chains": [ + { + "test": "tests.integration.test_ion_aware_impedance_grid.test_grid_ladder_rejects_coordinate_replacement_before_ac_execution", + "edges": [ + { + "caller": "tests.integration.test_ion_aware_impedance_grid.test_grid_ladder_rejects_coordinate_replacement_before_ac_execution", + "callee": "perovskite_sim.experiments.ion_aware_impedance_grid.run_ion_aware_impedance_grid_ladder", + "line": 99, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_ion_aware_impedance_grid.test_grid_ladder_rejects_state_or_stack_replacement_before_ac_execution", + "edges": [ + { + "caller": "tests.integration.test_ion_aware_impedance_grid.test_grid_ladder_rejects_state_or_stack_replacement_before_ac_execution", + "callee": "perovskite_sim.experiments.ion_aware_impedance_grid.run_ion_aware_impedance_grid_ladder", + "line": 121, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_ion_aware_impedance_grid.test_resolved_ionmonger_grid_ladder_passes_each_frequency", + "edges": [ + { + "caller": "tests.integration.test_ion_aware_impedance_grid.test_resolved_ionmonger_grid_ladder_passes_each_frequency", + "callee": "tests.integration.test_ion_aware_impedance_grid.resolved_grid_ladder", + "line": 45, + "kind": "pytest_fixture_argument" + }, + { + "caller": "tests.integration.test_ion_aware_impedance_grid.resolved_grid_ladder", + "callee": "perovskite_sim.experiments.ion_aware_impedance_grid.run_ion_aware_impedance_grid_ladder", + "line": 37, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_ion_aware_impedance_grid.test_same_results_fail_a_tighter_preregistered_grid_gate", + "edges": [ + { + "caller": "tests.integration.test_ion_aware_impedance_grid.test_same_results_fail_a_tighter_preregistered_grid_gate", + "callee": "tests.integration.test_ion_aware_impedance_grid.resolved_grid_ladder", + "line": 135, + "kind": "pytest_fixture_argument" + }, + { + "caller": "tests.integration.test_ion_aware_impedance_grid.resolved_grid_ladder", + "callee": "perovskite_sim.experiments.ion_aware_impedance_grid.run_ion_aware_impedance_grid_ladder", + "line": 37, + "kind": "call" + } + ] + } + ], + "original_scope_limitations": null, + "active_contract": null, + "obligations": [ + { + "id": "new-source-experiment-330be0d05e1b31a9", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-330be0d05e1b31a9.json", + "tasks": [ + "P04-06", + "P04-08", + "P05-01", + "P05-03" + ], + "gates": [ + "G4", + "G5" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof", + "per-physical-observable units/norm/reference scale/zero policy and applicable original or prospectively frozen threshold; test truth values do not fill this field", + "the applicable gauge/CV/log-density/inventory or complex/circular-phase comparator with physical units; no generic scalar substitute" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-f750720865e5fa8188db61f4", + "rule-ab55471b1bbdd99f5133162e", + "rule-8247f423fa57812cabc7c732", + "rule-485b5b7b633c0e101b6d782a", + "rule-4466173e03a8935540520eaa", + "rule-00a9eeb242f7feb92fbb2668", + "rule-c6daa76af56e25d93500e603", + "rule-3c22541d637820c9337f4b3e", + "rule-4cc64011ba0b9b62189e725d", + "rule-bf4152d5ee2f868b2b34f531", + "rule-e4fcedd8fdac87ab5e9b09f6", + "rule-0429f46298a830732ec3a2b7", + "rule-47e92770f45528566363260f", + "rule-46d0e4bf459b1f5471b98a4e", + "rule-587b28a96af9f90760df38f3", + "rule-bd6cac3b2daaa646ee3d332a", + "rule-73cc7a3b9546c7bddde60be0", + "rule-12a5d45a5cdfa48b73b1aaf7" + ], + "comparison_scope_id": "scope-experiment-330be0d05e1b31a9" + }, + { + "capability_id": "experiment-fbf41e2889c53cad", + "route_id": "route-e427668ae85b61ce", + "origin_key": "experiment:perovskite_sim.experiments.ion_aware_impedance_lockin.run_ion_aware_transient_lockin_crosscheck", + "target": { + "capability_id": "experiment-fbf41e2889c53cad", + "scope_id": "experiment:perovskite_sim.experiments.ion_aware_impedance_lockin.run_ion_aware_transient_lockin_crosscheck", + "kind": "original_scoped_assertions", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_assertions_bound", + "citations": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/ion_aware_impedance_lockin.py", + "symbol": "run_ion_aware_transient_lockin_crosscheck" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_impedance_lockin.py", + "symbol": "test_exact_dc_transient_lockin_matches_frequency_domain_ionic_points" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py", + "symbol": "test_lockin_crosscheck_certifies_each_numerical_axis" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py", + "symbol": "test_lockin_crosscheck_rejects_replaced_dc_state_before_transient" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py", + "symbol": "test_tighter_preregistered_agreement_gate_returns_failed_evidence" + } + ], + "original_evidence": [ + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_impedance_lockin.py", + "symbol": "test_exact_dc_transient_lockin_matches_frequency_domain_ionic_points" + }, + "test_node": "perovskite-sim/tests/integration/test_ion_aware_impedance_lockin.py::test_exact_dc_transient_lockin_matches_frequency_domain_ionic_points", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py", + "symbol": "test_lockin_crosscheck_certifies_each_numerical_axis" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py::test_lockin_crosscheck_certifies_each_numerical_axis", + "scope_docstring": null, + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py", + "symbol": "test_lockin_crosscheck_rejects_replaced_dc_state_before_transient" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py::test_lockin_crosscheck_rejects_replaced_dc_state_before_transient", + "scope_docstring": null, + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py", + "symbol": "test_tighter_preregistered_agreement_gate_returns_failed_evidence" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py::test_tighter_preregistered_agreement_gate_returns_failed_evidence", + "scope_docstring": null, + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + } + ], + "call_chains": [ + { + "test": "tests.integration.test_ion_aware_impedance_lockin.test_exact_dc_transient_lockin_matches_frequency_domain_ionic_points", + "edges": [ + { + "caller": "tests.integration.test_ion_aware_impedance_lockin.test_exact_dc_transient_lockin_matches_frequency_domain_ionic_points", + "callee": "perovskite_sim.experiments.ion_aware_impedance_lockin.run_ion_aware_transient_lockin_crosscheck", + "line": 53, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_ion_aware_impedance_lockin.test_lockin_crosscheck_certifies_each_numerical_axis", + "edges": [ + { + "caller": "tests.unit.experiments.test_ion_aware_impedance_lockin.test_lockin_crosscheck_certifies_each_numerical_axis", + "callee": "perovskite_sim.experiments.ion_aware_impedance_lockin.run_ion_aware_transient_lockin_crosscheck", + "line": 147, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_ion_aware_impedance_lockin.test_lockin_crosscheck_rejects_replaced_dc_state_before_transient", + "edges": [ + { + "caller": "tests.unit.experiments.test_ion_aware_impedance_lockin.test_lockin_crosscheck_rejects_replaced_dc_state_before_transient", + "callee": "perovskite_sim.experiments.ion_aware_impedance_lockin.run_ion_aware_transient_lockin_crosscheck", + "line": 200, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_ion_aware_impedance_lockin.test_tighter_preregistered_agreement_gate_returns_failed_evidence", + "edges": [ + { + "caller": "tests.unit.experiments.test_ion_aware_impedance_lockin.test_tighter_preregistered_agreement_gate_returns_failed_evidence", + "callee": "perovskite_sim.experiments.ion_aware_impedance_lockin.run_ion_aware_transient_lockin_crosscheck", + "line": 219, + "kind": "call" + } + ] + } + ], + "original_scope_limitations": null, + "active_contract": null, + "obligations": [ + { + "id": "new-source-experiment-fbf41e2889c53cad", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-fbf41e2889c53cad.json", + "tasks": [ + "P04-06", + "P04-08", + "P05-01", + "P05-03" + ], + "gates": [ + "G4", + "G5" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof", + "per-physical-observable units/norm/reference scale/zero policy and applicable original or prospectively frozen threshold; test truth values do not fill this field", + "the applicable gauge/CV/log-density/inventory or complex/circular-phase comparator with physical units; no generic scalar substitute" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-85729d498ece81cf5b78d7c2", + "rule-8095cfedb30acb45caff4cbf", + "rule-818fe89d5cf2947f1732e0ce", + "rule-4b6b34f228e63c09a52646d6", + "rule-9bb1c11d3f772629c48ebf9e", + "rule-bbeac907b852a70ac36313e0", + "rule-98a15f1a58f8051f4b60fe92", + "rule-d02d03c41bcc2360132f215a", + "rule-dd5c42d40da3c595ac051c72", + "rule-9a5c48adfd39f69a9ae5acea", + "rule-474a559975705b55312f1e0a", + "rule-49236dd662bad1ea7b815011", + "rule-2088fdd181a8cca7977c805b", + "rule-026e6e03a2991579984c81a2", + "rule-5f23d2ebc86859984003d23d", + "rule-ba63ba8138e3e32ddb392a08", + "rule-7ee998cac7293077865576b4", + "rule-e4cbb12654b64b29b5186946", + "rule-0c9c870bbc674311e11273fc", + "rule-984ba9aa291e68e38af940a9", + "rule-cd3658935b3a53dde10079b8", + "rule-37bb7ebfa7de4f12c344238d", + "rule-454d309829a28684fdb98f24", + "rule-f8fa65f00b5fdac1719ddcdb", + "rule-8a1b0617808a3911a60a701a", + "rule-21fc8c84d0be5abe3b92ee4f", + "rule-5b82c76817e22c952eca29c6", + "rule-46c6cd96015a9bb70d94d255", + "rule-765fcbadfbcc7dea4c7e3bec" + ], + "comparison_scope_id": "scope-experiment-fbf41e2889c53cad" + }, + { + "capability_id": "experiment-3bf95a0df12a0f9f", + "route_id": "route-d50045e506093dad", + "origin_key": "experiment:perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "target": { + "capability_id": "experiment-3bf95a0df12a0f9f", + "scope_id": "experiment:perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "kind": "original_scoped_assertions", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_assertions_bound", + "citations": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/ion_aware_structured_jacobian.py", + "symbol": "run_ion_aware_structured_jacobian_comparison" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py", + "symbol": "test_failed_comparison_gate_preserves_diagnostic_evidence" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py", + "symbol": "test_mismatched_hash_is_rejected_before_comparison" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py", + "symbol": "test_structured_protocol_binds_qss_environment_and_velocity" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_cross_node_interface_srh_closes_the_clamp_inactive_tangent" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_cross_node_qss_interface_srh_closes_projection_and_suppresses_mirror" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_dual_ion_structured_operator_covers_both_charge_signs" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_field_mobility_structured_operator_closes_ct_and_pf_chain_rule" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_local_qss_interface_srh_closes_the_implicit_root_tangent" + } + ], + "original_evidence": [ + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py", + "symbol": "test_failed_comparison_gate_preserves_diagnostic_evidence" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_failed_comparison_gate_preserves_diagnostic_evidence", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py", + "symbol": "test_mismatched_hash_is_rejected_before_comparison" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_mismatched_hash_is_rejected_before_comparison", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py", + "symbol": "test_structured_protocol_binds_qss_environment_and_velocity" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_structured_protocol_binds_qss_environment_and_velocity", + "scope_docstring": null, + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_cross_node_interface_srh_closes_the_clamp_inactive_tangent" + }, + "test_node": "perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py::test_cross_node_interface_srh_closes_the_clamp_inactive_tangent", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_cross_node_qss_interface_srh_closes_projection_and_suppresses_mirror" + }, + "test_node": "perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py::test_cross_node_qss_interface_srh_closes_projection_and_suppresses_mirror", + "scope_docstring": null, + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_dual_ion_structured_operator_covers_both_charge_signs" + }, + "test_node": "perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py::test_dual_ion_structured_operator_covers_both_charge_signs", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_field_mobility_structured_operator_closes_ct_and_pf_chain_rule" + }, + "test_node": "perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py::test_field_mobility_structured_operator_closes_ct_and_pf_chain_rule", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_local_qss_interface_srh_closes_the_implicit_root_tangent" + }, + "test_node": "perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py::test_local_qss_interface_srh_closes_the_implicit_root_tangent", + "scope_docstring": null, + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + } + ], + "call_chains": [ + { + "test": "tests.unit.experiments.test_ion_aware_structured_jacobian.test_failed_comparison_gate_preserves_diagnostic_evidence", + "edges": [ + { + "caller": "tests.unit.experiments.test_ion_aware_structured_jacobian.test_failed_comparison_gate_preserves_diagnostic_evidence", + "callee": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "line": 2134, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_ion_aware_structured_jacobian.test_mismatched_hash_is_rejected_before_comparison", + "edges": [ + { + "caller": "tests.unit.experiments.test_ion_aware_structured_jacobian.test_mismatched_hash_is_rejected_before_comparison", + "callee": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "line": 2110, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_ion_aware_structured_jacobian.test_structured_protocol_binds_qss_environment_and_velocity", + "edges": [ + { + "caller": "tests.unit.experiments.test_ion_aware_structured_jacobian.test_structured_protocol_binds_qss_environment_and_velocity", + "callee": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "line": 205, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_ion_aware_structured_jacobian.test_cross_node_interface_srh_closes_the_clamp_inactive_tangent", + "edges": [ + { + "caller": "tests.integration.test_ion_aware_structured_jacobian.test_cross_node_interface_srh_closes_the_clamp_inactive_tangent", + "callee": "tests.integration.test_ion_aware_structured_jacobian._solve_comparison", + "line": 272, + "kind": "call" + }, + { + "caller": "tests.integration.test_ion_aware_structured_jacobian._solve_comparison", + "callee": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "line": 54, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_ion_aware_structured_jacobian.test_cross_node_qss_interface_srh_closes_projection_and_suppresses_mirror", + "edges": [ + { + "caller": "tests.integration.test_ion_aware_structured_jacobian.test_cross_node_qss_interface_srh_closes_projection_and_suppresses_mirror", + "callee": "tests.integration.test_ion_aware_structured_jacobian._solve_comparison", + "line": 475, + "kind": "call" + }, + { + "caller": "tests.integration.test_ion_aware_structured_jacobian._solve_comparison", + "callee": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "line": 54, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_ion_aware_structured_jacobian.test_dual_ion_structured_operator_covers_both_charge_signs", + "edges": [ + { + "caller": "tests.integration.test_ion_aware_structured_jacobian.test_dual_ion_structured_operator_covers_both_charge_signs", + "callee": "tests.integration.test_ion_aware_structured_jacobian._solve_comparison", + "line": 106, + "kind": "call" + }, + { + "caller": "tests.integration.test_ion_aware_structured_jacobian._solve_comparison", + "callee": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "line": 54, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_ion_aware_structured_jacobian.test_field_mobility_structured_operator_closes_ct_and_pf_chain_rule", + "edges": [ + { + "caller": "tests.integration.test_ion_aware_structured_jacobian.test_field_mobility_structured_operator_closes_ct_and_pf_chain_rule", + "callee": "tests.integration.test_ion_aware_structured_jacobian._solve_comparison", + "line": 236, + "kind": "call" + }, + { + "caller": "tests.integration.test_ion_aware_structured_jacobian._solve_comparison", + "callee": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "line": 54, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_ion_aware_structured_jacobian.test_local_qss_interface_srh_closes_the_implicit_root_tangent", + "edges": [ + { + "caller": "tests.integration.test_ion_aware_structured_jacobian.test_local_qss_interface_srh_closes_the_implicit_root_tangent", + "callee": "tests.integration.test_ion_aware_structured_jacobian._solve_comparison", + "line": 440, + "kind": "call" + }, + { + "caller": "tests.integration.test_ion_aware_structured_jacobian._solve_comparison", + "callee": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "line": 54, + "kind": "call" + } + ] + } + ], + "original_scope_limitations": null, + "active_contract": null, + "obligations": [ + { + "id": "new-source-experiment-3bf95a0df12a0f9f", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-3bf95a0df12a0f9f.json", + "tasks": [ + "P04-06", + "P04-08", + "P05-01", + "P05-03" + ], + "gates": [ + "G4", + "G5" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof", + "per-physical-observable units/norm/reference scale/zero policy and applicable original or prospectively frozen threshold; test truth values do not fill this field" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-e91b51d6692cdef335f556c5", + "rule-9be09e98703dcd3f723c48f3", + "rule-93972c5b25cbae6d7e2c8968", + "rule-14b452c8220c937143d98fd3", + "rule-00f9296183c50f3043714d18", + "rule-7cd7e5a28cf9c6f97462ef42", + "rule-869694768bc0f6e2a1b23e44", + "rule-c40dc67999e6919ba41c303d", + "rule-4631e78af31c1b658d83e8b2", + "rule-2b56693fddbb5e80c3d0af4d", + "rule-88e850d6568af6ccb442d1ce", + "rule-e1f3428cdd99e856a070d1df", + "rule-a8541d57ea50539163c92968", + "rule-00ca117058871b7d537191ae", + "rule-051f5531c28b24979fa9c899", + "rule-ff9e30a38179c9ba74ab4edc", + "rule-05c44f6fa978a3b3814ca37b", + "rule-bd246649c1be7107ff801ecf", + "rule-5a5c1e6b634ae76cf3940dd5", + "rule-f37e4acd9c0f64313f10eca6", + "rule-4fbcc12cb7cd5b1c27094111", + "rule-7bf73ec1d8ffab9fa58881f2", + "rule-3ba5ba921b875584688fffca", + "rule-9959d444de351c4b277c898b", + "rule-adb0eac4f9623093eac8750a", + "rule-81bc64fb112326c184054c41", + "rule-808313bf39a4696b7ad56035", + "rule-5c9cae7fd90f28ea0d87137d", + "rule-a4f28a461175f476fef8a62f", + "rule-ce12a5c63abc981be8d2f847", + "rule-792fb4845e7da94b843cda86", + "rule-737c63d5ce39aa4b1b627aea", + "rule-2411759f2262de0b5d90c105", + "rule-fb3daa3b06dc8375cae0be2c", + "rule-187c85646450a57d183b70dd", + "rule-8cb027a50de48e46d816abbe", + "rule-5d18e96e49e503ecd9d5a762", + "rule-b723d6999e517eb22961ca31", + "rule-2ace38566f3cd67705bc93d8", + "rule-caa5867fe52462335dde8fb4", + "rule-ca61f7e51f7bbe55e8c548f4", + "rule-f88f7d926697c4a9c176cf90", + "rule-3e0520a60fd194e9085fefe1", + "rule-e08c6a9acaef72133dbd6991", + "rule-1778cd14a18798ed03b14fa2", + "rule-561adab65dcc8a192262c9fd", + "rule-36eeac8708d5c34660d22a81", + "rule-84e88d69c6044e0787f3f83a", + "rule-e80dcf245ae57c715dcefa75", + "rule-91588b86741b529e5cf07d58", + "rule-24cb2d3f81e81b79adf785c0", + "rule-d0c50332143af5ae322f2e52", + "rule-4de11c6c622a677640c9dd37", + "rule-377914338a554f8636a535de", + "rule-1b4ee0ab5a0fc9a8f98bb183", + "rule-19e9700d1efb77f5214cdcb6", + "rule-d11d546e6271ef1390f1f213", + "rule-ef94fff49503485f6e060cf9", + "rule-7966b8abb7e8ac03daac35e8", + "rule-786e22e62995b8017242237e", + "rule-ee2800d21fc2bd783638f63d", + "rule-ac11e635ccac1d6b46280872", + "rule-4a1c9984b2bda33e737a2071", + "rule-f7ffd96ad348a2ab6e2ff1cf", + "rule-88fdedb3e9e843ad2300263b" + ], + "comparison_scope_id": "scope-experiment-3bf95a0df12a0f9f" + }, + { + "capability_id": "experiment-d2ac87c25de5f542", + "route_id": "route-6110e3f0105bc8f1", + "origin_key": "experiment:perovskite_sim.experiments.jv_sweep.compute_current_components", + "target": { + "capability_id": "experiment-d2ac87c25de5f542", + "scope_id": "experiment:perovskite_sim.experiments.jv_sweep.compute_current_components", + "kind": "original_scoped_assertions", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_assertions_bound", + "citations": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/jv_sweep.py", + "symbol": "compute_current_components" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_heterojunction_dark_equilibrium.py", + "symbol": "test_dark_equilibrium_face_currents_vanish" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_heterojunction_dark_equilibrium.py", + "symbol": "test_dark_equilibrium_terminal_current_vanishes" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_log_density_coordinates.py", + "symbol": "test_real_device_log_coordinate_observable_is_inside_refinement_envelope" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_ss_current_conservation.py", + "symbol": "test_ion_steric_diffusion_only_conserves_terminal_current" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_ss_current_conservation.py", + "symbol": "test_shipped_displacement_api_closes_conservation" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_ss_current_conservation.py", + "symbol": "test_ss_reader_reports_zero_displacement_by_construction" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_current_decomposition.py", + "symbol": "test_all_finite" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_current_decomposition.py", + "symbol": "test_consistent_with_compute_current" + } + ], + "original_evidence": [ + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_heterojunction_dark_equilibrium.py", + "symbol": "test_dark_equilibrium_face_currents_vanish" + }, + "test_node": "perovskite-sim/tests/integration/test_heterojunction_dark_equilibrium.py::test_dark_equilibrium_face_currents_vanish", + "scope_docstring": "No face carries current at V=0 in the dark, for ANY offset / DOS ratio.", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_heterojunction_dark_equilibrium.py", + "symbol": "test_dark_equilibrium_terminal_current_vanishes" + }, + "test_node": "perovskite-sim/tests/integration/test_heterojunction_dark_equilibrium.py::test_dark_equilibrium_terminal_current_vanishes", + "scope_docstring": "Face 0 is what ``_compute_current`` reports — the V=0 anchor of every\ndark-J-V / EQE / impedance baseline, so it gets the tighter bound.", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_log_density_coordinates.py", + "symbol": "test_real_device_log_coordinate_observable_is_inside_refinement_envelope" + }, + "test_node": "perovskite-sim/tests/integration/test_log_density_coordinates.py::test_real_device_log_coordinate_observable_is_inside_refinement_envelope", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_ss_current_conservation.py", + "symbol": "test_ion_steric_diffusion_only_conserves_terminal_current" + }, + "test_node": "perovskite-sim/tests/regression/test_ss_current_conservation.py::test_ion_steric_diffusion_only_conserves_terminal_current", + "scope_docstring": "REGRESSION for a fixed source defect (2026-07 review).\n\n``compute_current_components`` used to carry its own hard-coded copy of\nthe legacy whole-flux steric ion form and never consulted\n``ion_steric_diffusion_only``, so with that flag on the solver\nintegrated the generalized-Slotboom flux while the post-processor\nreported the legacy one — the terminal current was not the current the\ndevice carried. Measured residual then: 1.9e-09 (ionmonger_benchmark)\nand 8.4e-09 (nip_MAPbI3) against a ~1.3e-16 baseline, i.e. 7 orders.\n\nFixed by routing both through ``ion_migration.ion_face_flux``, so the\nduplication that allowed the divergence no longer exists. This test\nholds the flag ON: it fails again if the two paths are ever forked.", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_ss_current_conservation.py", + "symbol": "test_shipped_displacement_api_closes_conservation" + }, + "test_node": "perovskite-sim/tests/regression/test_ss_current_conservation.py::test_shipped_displacement_api_closes_conservation", + "scope_docstring": "The ``y_prev``/``dt`` decomposition API also closes the current balance.\n\n``compute_current_components(..., y_prev=..., dt=...)`` is what J-V sweeps\nuse to fill ``JVCurrentDecomp``. It forms J_disp as a backward difference\nof E rather than from the RHS, so it closes only to the finite-difference\nerror, not to machine precision -- but it must close, and 1e-4 of the\ncomponent scale is still 4 decades below the certificate it has to\nexplain.", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_ss_current_conservation.py", + "symbol": "test_ss_reader_reports_zero_displacement_by_construction" + }, + "test_node": "perovskite-sim/tests/regression/test_ss_current_conservation.py::test_ss_reader_reports_zero_displacement_by_construction", + "scope_docstring": "``_compute_current_ss_with_spread`` certifies a conduction-only current.\n\nIt calls ``_total_current_faces`` without ``y_prev`` / ``dt``, so the\n``J_disp`` branch in ``compute_current_components`` never runs and the\narray is exactly zero. The review's \"is the displacement term computed\nconsistently at steady state, it should vanish as dE/dt -> 0\" question\ntherefore has a structural answer before any physics: in the SS reader it\nis not computed at all. Costs no solver run.", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_current_decomposition.py", + "symbol": "test_all_finite" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_current_decomposition.py::test_all_finite", + "scope_docstring": "All current components should be finite.", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_current_decomposition.py", + "symbol": "test_consistent_with_compute_current" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_current_decomposition.py::test_consistent_with_compute_current", + "scope_docstring": "J_total[0] should match _compute_current (terminal current).", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + } + ], + "call_chains": [ + { + "test": "tests.integration.test_heterojunction_dark_equilibrium.test_dark_equilibrium_face_currents_vanish", + "edges": [ + { + "caller": "tests.integration.test_heterojunction_dark_equilibrium.test_dark_equilibrium_face_currents_vanish", + "callee": "perovskite_sim.experiments.jv_sweep.compute_current_components", + "line": 328, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_heterojunction_dark_equilibrium.test_dark_equilibrium_terminal_current_vanishes", + "edges": [ + { + "caller": "tests.integration.test_heterojunction_dark_equilibrium.test_dark_equilibrium_terminal_current_vanishes", + "callee": "perovskite_sim.experiments.jv_sweep.compute_current_components", + "line": 352, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_log_density_coordinates.test_real_device_log_coordinate_observable_is_inside_refinement_envelope", + "edges": [ + { + "caller": "tests.integration.test_log_density_coordinates.test_real_device_log_coordinate_observable_is_inside_refinement_envelope", + "callee": "perovskite_sim.experiments.jv_sweep.compute_current_components", + "line": 43, + "kind": "call" + } + ] + }, + { + "test": "tests.regression.test_ss_current_conservation.test_ion_steric_diffusion_only_conserves_terminal_current", + "edges": [ + { + "caller": "tests.regression.test_ss_current_conservation.test_ion_steric_diffusion_only_conserves_terminal_current", + "callee": "perovskite_sim.experiments.jv_sweep.compute_current_components", + "line": 591, + "kind": "call" + } + ] + }, + { + "test": "tests.regression.test_ss_current_conservation.test_shipped_displacement_api_closes_conservation", + "edges": [ + { + "caller": "tests.regression.test_ss_current_conservation.test_shipped_displacement_api_closes_conservation", + "callee": "perovskite_sim.experiments.jv_sweep.compute_current_components", + "line": 515, + "kind": "call" + } + ] + }, + { + "test": "tests.regression.test_ss_current_conservation.test_ss_reader_reports_zero_displacement_by_construction", + "edges": [ + { + "caller": "tests.regression.test_ss_current_conservation.test_ss_reader_reports_zero_displacement_by_construction", + "callee": "perovskite_sim.experiments.jv_sweep.compute_current_components", + "line": 417, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_current_decomposition.test_all_finite", + "edges": [ + { + "caller": "tests.unit.experiments.test_current_decomposition.test_all_finite", + "callee": "perovskite_sim.experiments.jv_sweep.compute_current_components", + "line": 98, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_current_decomposition.test_consistent_with_compute_current", + "edges": [ + { + "caller": "tests.unit.experiments.test_current_decomposition.test_consistent_with_compute_current", + "callee": "perovskite_sim.experiments.jv_sweep.compute_current_components", + "line": 78, + "kind": "call" + } + ] + } + ], + "original_scope_limitations": null, + "active_contract": null, + "obligations": [ + { + "id": "new-source-experiment-d2ac87c25de5f542", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-d2ac87c25de5f542.json", + "tasks": [ + "P04-05", + "P05-01", + "P05-02" + ], + "gates": [ + "G4", + "G5" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof", + "per-physical-observable units/norm/reference scale/zero policy and applicable original or prospectively frozen threshold; test truth values do not fill this field" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-5b84d7a14e64047a336cc5c6", + "rule-ba8cb9cb32e98e3428e0293f", + "rule-47c2ab648033171d5ecb0929", + "rule-b3d58400598c942d3340f347", + "rule-fa9ab1f02ed5ba3e4996a546", + "rule-5bf61c4f562c21b0b6f70a3f", + "rule-ec8d64c56b0af0f969050097", + "rule-aebebdb802a2830b8ea5b283", + "rule-b552b6256fe41aa5d83a6445", + "rule-ab2c9d9e29741f5e2ace877d", + "rule-5b6fcaee69b0af79ad386bfb", + "rule-afe2cf00c66ae9c0cbd006a2", + "rule-9c009cbdc9e118c4edb19ef3", + "rule-2f1251eaa2d936da5e3a7ad1", + "rule-b145cb8b90104ced2b7e093c", + "rule-ec92eeeb4b930962e4adcb1e", + "rule-c0a19ce38d6e369257de632e", + "rule-313421634d4ed3ce345cee2f", + "rule-00235b80cf9b4c541366a89f", + "rule-de1d17b28c6956014dd8cbbe", + "rule-160bdada1ee5df7166df1231", + "rule-080be4abf76ef3b0edcdddbb", + "rule-51b95d65fd1d085c148526e4" + ], + "comparison_scope_id": "scope-experiment-d2ac87c25de5f542" + }, + { + "capability_id": "experiment-61d3af054e6a1f6d", + "route_id": "route-6110e3f0105bc8f1", + "origin_key": "experiment:perovskite_sim.experiments.jv_sweep.compute_ionic_current_components", + "target": { + "capability_id": "experiment-61d3af054e6a1f6d", + "scope_id": "experiment:perovskite_sim.experiments.jv_sweep.compute_ionic_current_components", + "kind": "original_scoped_assertions", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_assertions_bound", + "citations": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/jv_sweep.py", + "symbol": "compute_ionic_current_components" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_degradation_frozen_ions.py", + "symbol": "test_nonuniform_ions_have_zero_frozen_flux_and_never_move" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_dc.py", + "symbol": "test_ionic_current_unpack_preserves_dual_ion_with_interface_tail" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_dc.py", + "symbol": "test_assessment_uses_per_species_ionic_current_not_cancelled_net" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py", + "symbol": "test_analytic_component_base_currents_match_the_nonlinear_evaluator" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py", + "symbol": "test_analytic_field_mobility_chain_matches_local_and_current_stencils" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_dc.py", + "symbol": "test_ionmonger_fixed_bias_reaches_two_residual_certified_endpoints" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_impedance.py", + "symbol": "test_ionmonger_certified_dc_drives_reference_frequency_operator" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_impedance.py", + "symbol": "test_symmetric_dual_ion_state_keeps_both_blocking_inventory_constraints" + } + ], + "original_evidence": [ + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_degradation_frozen_ions.py", + "symbol": "test_nonuniform_ions_have_zero_frozen_flux_and_never_move" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_degradation_frozen_ions.py::test_nonuniform_ions_have_zero_frozen_flux_and_never_move", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_dc.py", + "symbol": "test_ionic_current_unpack_preserves_dual_ion_with_interface_tail" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_ion_aware_dc.py::test_ionic_current_unpack_preserves_dual_ion_with_interface_tail", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_dc.py", + "symbol": "test_assessment_uses_per_species_ionic_current_not_cancelled_net" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_ion_aware_dc.py::test_assessment_uses_per_species_ionic_current_not_cancelled_net", + "scope_docstring": null, + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py", + "symbol": "test_analytic_component_base_currents_match_the_nonlinear_evaluator" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_analytic_component_base_currents_match_the_nonlinear_evaluator", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py", + "symbol": "test_analytic_field_mobility_chain_matches_local_and_current_stencils" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_analytic_field_mobility_chain_matches_local_and_current_stencils", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_dc.py", + "symbol": "test_ionmonger_fixed_bias_reaches_two_residual_certified_endpoints" + }, + "test_node": "perovskite-sim/tests/integration/test_ion_aware_dc.py::test_ionmonger_fixed_bias_reaches_two_residual_certified_endpoints", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_impedance.py", + "symbol": "test_ionmonger_certified_dc_drives_reference_frequency_operator" + }, + "test_node": "perovskite-sim/tests/integration/test_ion_aware_impedance.py::test_ionmonger_certified_dc_drives_reference_frequency_operator", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_impedance.py", + "symbol": "test_symmetric_dual_ion_state_keeps_both_blocking_inventory_constraints" + }, + "test_node": "perovskite-sim/tests/integration/test_ion_aware_impedance.py::test_symmetric_dual_ion_state_keeps_both_blocking_inventory_constraints", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + } + ], + "call_chains": [ + { + "test": "tests.unit.experiments.test_degradation_frozen_ions.test_nonuniform_ions_have_zero_frozen_flux_and_never_move", + "edges": [ + { + "caller": "tests.unit.experiments.test_degradation_frozen_ions.test_nonuniform_ions_have_zero_frozen_flux_and_never_move", + "callee": "perovskite_sim.experiments.jv_sweep.compute_ionic_current_components", + "line": 72, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_ion_aware_dc.test_ionic_current_unpack_preserves_dual_ion_with_interface_tail", + "edges": [ + { + "caller": "tests.unit.experiments.test_ion_aware_dc.test_ionic_current_unpack_preserves_dual_ion_with_interface_tail", + "callee": "perovskite_sim.experiments.jv_sweep.compute_ionic_current_components", + "line": 229, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_ion_aware_dc.test_assessment_uses_per_species_ionic_current_not_cancelled_net", + "edges": [ + { + "caller": "tests.unit.experiments.test_ion_aware_dc.test_assessment_uses_per_species_ionic_current_not_cancelled_net", + "callee": "perovskite_sim.experiments.ion_aware_dc.assess_ion_aware_dc_state", + "line": 200, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.ion_aware_dc.assess_ion_aware_dc_state", + "callee": "perovskite_sim.experiments.jv_sweep.compute_ionic_current_components", + "line": 551, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_ion_aware_structured_jacobian.test_analytic_component_base_currents_match_the_nonlinear_evaluator", + "edges": [ + { + "caller": "tests.unit.experiments.test_ion_aware_structured_jacobian.test_analytic_component_base_currents_match_the_nonlinear_evaluator", + "callee": "perovskite_sim.experiments.ion_aware_structured_jacobian._structured_evaluator", + "line": 1421, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.ion_aware_structured_jacobian._structured_evaluator", + "callee": "perovskite_sim.experiments.jv_sweep.compute_ionic_current_components", + "line": 815, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_ion_aware_structured_jacobian.test_analytic_field_mobility_chain_matches_local_and_current_stencils", + "edges": [ + { + "caller": "tests.unit.experiments.test_ion_aware_structured_jacobian.test_analytic_field_mobility_chain_matches_local_and_current_stencils", + "callee": "perovskite_sim.experiments.ion_aware_structured_jacobian._structured_evaluator", + "line": 1519, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.ion_aware_structured_jacobian._structured_evaluator", + "callee": "perovskite_sim.experiments.jv_sweep.compute_ionic_current_components", + "line": 815, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_ion_aware_dc.test_ionmonger_fixed_bias_reaches_two_residual_certified_endpoints", + "edges": [ + { + "caller": "tests.integration.test_ion_aware_dc.test_ionmonger_fixed_bias_reaches_two_residual_certified_endpoints", + "callee": "perovskite_sim.experiments.ion_aware_dc.solve_ion_aware_dc", + "line": 20, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.ion_aware_dc.solve_ion_aware_dc", + "callee": "perovskite_sim.experiments.ion_aware_dc.assess_ion_aware_dc_state", + "line": 859, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.ion_aware_dc.assess_ion_aware_dc_state", + "callee": "perovskite_sim.experiments.jv_sweep.compute_ionic_current_components", + "line": 551, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_ion_aware_impedance.test_ionmonger_certified_dc_drives_reference_frequency_operator", + "edges": [ + { + "caller": "tests.integration.test_ion_aware_impedance.test_ionmonger_certified_dc_drives_reference_frequency_operator", + "callee": "perovskite_sim.experiments.ion_aware_dc.solve_ion_aware_dc", + "line": 27, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.ion_aware_dc.solve_ion_aware_dc", + "callee": "perovskite_sim.experiments.ion_aware_dc.assess_ion_aware_dc_state", + "line": 859, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.ion_aware_dc.assess_ion_aware_dc_state", + "callee": "perovskite_sim.experiments.jv_sweep.compute_ionic_current_components", + "line": 551, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_ion_aware_impedance.test_symmetric_dual_ion_state_keeps_both_blocking_inventory_constraints", + "edges": [ + { + "caller": "tests.integration.test_ion_aware_impedance.test_symmetric_dual_ion_state_keeps_both_blocking_inventory_constraints", + "callee": "perovskite_sim.experiments.ion_aware_dc.solve_ion_aware_dc", + "line": 83, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.ion_aware_dc.solve_ion_aware_dc", + "callee": "perovskite_sim.experiments.ion_aware_dc.assess_ion_aware_dc_state", + "line": 859, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.ion_aware_dc.assess_ion_aware_dc_state", + "callee": "perovskite_sim.experiments.jv_sweep.compute_ionic_current_components", + "line": 551, + "kind": "call" + } + ] + } + ], + "original_scope_limitations": null, + "active_contract": null, + "obligations": [ + { + "id": "new-source-experiment-61d3af054e6a1f6d", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-61d3af054e6a1f6d.json", + "tasks": [ + "P04-05", + "P05-01", + "P05-02" + ], + "gates": [ + "G4", + "G5" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof", + "per-physical-observable units/norm/reference scale/zero policy and applicable original or prospectively frozen threshold; test truth values do not fill this field" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-e3d03ea695e0818b5be9f2f0", + "rule-829e6f29dc358d3a34148a85", + "rule-b1373156a7202e953c3f4342", + "rule-b125ea83a7a4b43628fb0e02", + "rule-8ac736746e54fff08bc554c4", + "rule-4b8ddfe7ca36fbe5b1683690", + "rule-1e352273f3c7f432b36155ee", + "rule-6ba65fe83ae52ea630168d4d", + "rule-68bb0a68424341aa50c1c413", + "rule-6cf695e7b480742f7e25f4de", + "rule-b244c01b46278c37ef6507de", + "rule-6ed7b2ff7a33d9c142a4be3e", + "rule-6933a864e7a20f6b99c4ae0c", + "rule-d3602a2939cc82e8c507a2fa", + "rule-a88fb6fdb1827cc2a7982d21", + "rule-183078808eac31150feabc5d", + "rule-02cbd9c12fef1bf98def8c6b", + "rule-fb10b04f00f7762f948188b6", + "rule-0057008d986e10aa3da84b60", + "rule-f2ecebdbb2ea26fdb023c1dc", + "rule-9c2538c195abea3da2a305b8", + "rule-15053b0566b0c18d80f49eb4", + "rule-de1ac23cda4af25cde6095e8", + "rule-2d3cfdc4689f093ca2bf9ff3", + "rule-b2cd77daa07296dceda22d6c", + "rule-579368099be9d2fe6b7efcef", + "rule-3fdea22ce4b38641fb466aa4", + "rule-9e0d3a3e0eddbcd8e880d5fb", + "rule-54006673094f062b3481b8d2", + "rule-08c3cc1918af10c5613b6ed5", + "rule-5a85462776fb37fb16c746c1", + "rule-7223d4530b302ad1c838bc67", + "rule-bc2cb77eff2ea9f80b400f35", + "rule-71383ba78d0e2ebafeee354e", + "rule-d4b3e9d5d3df8490e377448e", + "rule-57d438faa072698200e48fe9", + "rule-91e650ed6a373de830b83fbe", + "rule-6fa9f81f2346ff495e6972a1", + "rule-2900d202a5701bad34bbb6f9", + "rule-3910583abce8d9d1578578f5", + "rule-2aa1d64233ac44b61c9a3331", + "rule-52aabfcf84e4e534d4751188", + "rule-646e9645326667bcd4615be6", + "rule-13cf0fb7484e2b3d57e98e8e", + "rule-eeeb4d841aa308f21c1b151a", + "rule-12d505c177186d6f1f10738d", + "rule-18a3b6c8fd14ae806b0c6c2f", + "rule-e4083e8dce586cc1d8105383", + "rule-cbf12a453a500d06dc014575", + "rule-115576f93698e957b367e57c", + "rule-ff8d00fe3b66832b3f7466b6", + "rule-5ac4694883314c1b91a2e514", + "rule-6278f9839bc86b45e47fa8d5", + "rule-269bb36afc157a48bf01eb06", + "rule-0983bf426a375da732793171", + "rule-7927fe36e406561d1f76690d", + "rule-f91e20df80f1f0e8445fd58f", + "rule-ffc3064037551e1aea19671f", + "rule-fd238b10b9e20eb2dc613838" + ], + "comparison_scope_id": "scope-experiment-61d3af054e6a1f6d" + }, + { + "capability_id": "experiment-7fed102e77dec518", + "route_id": "route-6110e3f0105bc8f1", + "origin_key": "experiment:perovskite_sim.experiments.jv_sweep.compute_metrics", + "target": { + "capability_id": "experiment-7fed102e77dec518", + "scope_id": "experiment:perovskite_sim.experiments.jv_sweep.compute_metrics", + "kind": "original_scoped_assertions", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_assertions_bound", + "citations": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/jv_sweep.py", + "symbol": "compute_metrics" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_grading_cigs_notch.py", + "symbol": "test_cigs_back_grading_raises_voc_without_jsc_collapse" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_twod_microstructure.py", + "symbol": "test_twod_singleGB_lowers_voc" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_twod_validation.py", + "symbol": "test_twod_field_mobility_parity_vs_1d" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_twod_validation.py", + "symbol": "test_twod_radiative_reabsorption_full_sweep_parity_vs_1d" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_twod_validation.py", + "symbol": "test_twod_robin_bounded_shift_vs_dirichlet" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_twod_validation.py", + "symbol": "test_twod_robin_parity_vs_1d" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_twod_validation.py", + "symbol": "test_twod_robin_parity_vs_1d_aggressive_blocking" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_twod_validation.py", + "symbol": "test_twod_uniform_matches_1d_within_tolerance" + } + ], + "original_evidence": [ + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_grading_cigs_notch.py", + "symbol": "test_cigs_back_grading_raises_voc_without_jsc_collapse" + }, + "test_node": "perovskite-sim/tests/regression/test_grading_cigs_notch.py::test_cigs_back_grading_raises_voc_without_jsc_collapse", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_twod_microstructure.py", + "symbol": "test_twod_singleGB_lowers_voc" + }, + "test_node": "perovskite-sim/tests/regression/test_twod_microstructure.py::test_twod_singleGB_lowers_voc", + "scope_docstring": "A finite-width absorber GB must lower V_oc versus the bulk baseline.", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_twod_validation.py", + "symbol": "test_twod_field_mobility_parity_vs_1d" + }, + "test_node": "perovskite-sim/tests/regression/test_twod_validation.py::test_twod_field_mobility_parity_vs_1d", + "scope_docstring": "Stage B(c.2) primary correctness gate: laterally-uniform 2D with face-normal\nμ(E) at v_sat=1e2 matches 1D Phase 3.2 within (1 mV / 5e-4 / 1e-3).\n\nIn a lateral-uniform device E_x ≈ 0, so face-normal μ(E) reduces to\n\"y-face μ(E) only\" — exactly what 1D does. Expected: bit-identical or\nsub-microvolt deltas, mirroring the B(c.1) Robin parity gates.", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_twod_validation.py", + "symbol": "test_twod_radiative_reabsorption_full_sweep_parity_vs_1d" + }, + "test_node": "perovskite-sim/tests/regression/test_twod_validation.py::test_twod_radiative_reabsorption_full_sweep_parity_vs_1d", + "scope_docstring": "Stage B(c.3) primary correctness gate: full V_max=1.2 J-V sweep on\nnip_MAPbI3_tmm.yaml with PR + reabsorption ON, lateral-uniform 2D\nmatches 1D within (5 mV V_oc / 5e-4 J_sc / 1e-3 FF). Replaces the\nV_oc-only workaround that was needed before bisection-in-time landed\nin run_jv_sweep_2d (project_stage_a_2d_tmm_newton.md → RESOLVED).\n\nUses settle_t=1e-5 — at the original 1D-mirrored settle_t=1e-3 the\nStage A 2D solver burns through the bisection budget at high forward\nbias even on legacy mode (per the resolved-memory diagnostic notes).\nsettle_t=1e-5 is well inside the carrier-relaxation window for Stage\nA (which has no ion drift), so it changes nothing physically; it just\ngives Newton a smaller per-step state change to contract on.\n\nSlow (~15 min on a single-thread BLAS box) because each voltage step\ntriggers bisection a few levels deep. The companion fast V_oc-only\nsmoke test_twod_radiative_reabsorption_parity_vs_1d (~12 s) is the\nright inner-loop check while iterating on B(c.3).", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_twod_validation.py", + "symbol": "test_twod_robin_bounded_shift_vs_dirichlet" + }, + "test_node": "perovskite-sim/tests/regression/test_twod_validation.py::test_twod_robin_bounded_shift_vs_dirichlet", + "scope_docstring": "Robin contacts with aggressive blocking S must shift V_oc by 1–150 mV\nvs Dirichlet baseline.\n\nCompares: (a) nip_MAPbI3_uniform.yaml (Dirichlet) vs\n (b) the same stack with strongly-blocking S values applied\n (S_n_left=1e-4, S_p_left=1e-3, S_n_right=1e-3, S_p_right=1e-4 —\n same envelope as 1D test_selective_contacts_integration).\nThe shipped selective_contacts_demo.yaml uses moderate matched-carrier\nS=1e3 which is effectively ohmic at this device thickness and produces no\nmeasurable shift; aggressive blocking is needed to drive the contact\nphysics into the regime where V_oc moves.\n\nThis is a secondary sanity test — the parity gate\n(test_twod_robin_parity_vs_1d) is the primary correctness criterion.", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_twod_validation.py", + "symbol": "test_twod_robin_parity_vs_1d" + }, + "test_node": "perovskite-sim/tests/regression/test_twod_validation.py::test_twod_robin_parity_vs_1d", + "scope_docstring": "Stage B(c.1) primary gate: laterally-uniform 2D with Robin contacts matches\n1D Phase 3.3 within sub-mV V_oc / 5×10⁻⁴ J_sc / 10⁻³ FF.\n\nUses tests/fixtures/configs/selective_contacts_demo.yaml (Beer-Lambert nip MAPbI3 with all\nfour S values set). Ions frozen on both sides for a clean comparison.", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_twod_validation.py", + "symbol": "test_twod_robin_parity_vs_1d_aggressive_blocking" + }, + "test_node": "perovskite-sim/tests/regression/test_twod_validation.py::test_twod_robin_parity_vs_1d_aggressive_blocking", + "scope_docstring": "Stage B(c.1) follow-up gate: 1D vs 2D Robin parity in the genuinely\nnon-ohmic regime (S << ohmic limit on both contacts).\n\nThe original parity gate (test_twod_robin_parity_vs_1d) uses\nselective_contacts_demo.yaml whose matched-carrier S=1e3 m/s is effectively\nohmic at this device thickness — the bit-identical 1D/2D agreement there\ntechnically validates only the Dirichlet limit of Robin. This test runs\nthe same parity check at the aggressive-blocking S envelope used by the\nbounded-shift sanity test, where the Robin term materially shifts V_oc\n(~36 mV vs Dirichlet) so any sign-table or half-cell-weighting error in\nthe 2D port would surface as a 1D/2D divergence here.\n\nThe math at the boundary is identical between 1D and 2D — same\nselective_contact_flux primitive, same equilibrium densities, same\nhalf-cell weighting — so we expect agreement at or very near the\ndisplayed-precision level even in the non-ohmic regime.", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_twod_validation.py", + "symbol": "test_twod_uniform_matches_1d_within_tolerance" + }, + "test_node": "perovskite-sim/tests/regression/test_twod_validation.py::test_twod_uniform_matches_1d_within_tolerance", + "scope_docstring": "Historical frozen-ion parity gate; six checks in the transport contract.", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + } + ], + "call_chains": [ + { + "test": "tests.regression.test_grading_cigs_notch.test_cigs_back_grading_raises_voc_without_jsc_collapse", + "edges": [ + { + "caller": "tests.regression.test_grading_cigs_notch.test_cigs_back_grading_raises_voc_without_jsc_collapse", + "callee": "perovskite_sim.experiments.jv_sweep.compute_metrics", + "line": 251, + "kind": "call" + } + ] + }, + { + "test": "tests.regression.test_twod_microstructure.test_twod_singleGB_lowers_voc", + "edges": [ + { + "caller": "tests.regression.test_twod_microstructure.test_twod_singleGB_lowers_voc", + "callee": "perovskite_sim.experiments.jv_sweep.compute_metrics", + "line": 50, + "kind": "call" + } + ] + }, + { + "test": "tests.regression.test_twod_validation.test_twod_field_mobility_parity_vs_1d", + "edges": [ + { + "caller": "tests.regression.test_twod_validation.test_twod_field_mobility_parity_vs_1d", + "callee": "perovskite_sim.experiments.jv_sweep.compute_metrics", + "line": 444, + "kind": "call" + } + ] + }, + { + "test": "tests.regression.test_twod_validation.test_twod_radiative_reabsorption_full_sweep_parity_vs_1d", + "edges": [ + { + "caller": "tests.regression.test_twod_validation.test_twod_radiative_reabsorption_full_sweep_parity_vs_1d", + "callee": "perovskite_sim.experiments.jv_sweep.compute_metrics", + "line": 746, + "kind": "call" + } + ] + }, + { + "test": "tests.regression.test_twod_validation.test_twod_robin_bounded_shift_vs_dirichlet", + "edges": [ + { + "caller": "tests.regression.test_twod_validation.test_twod_robin_bounded_shift_vs_dirichlet", + "callee": "perovskite_sim.experiments.jv_sweep.compute_metrics", + "line": 259, + "kind": "call" + } + ] + }, + { + "test": "tests.regression.test_twod_validation.test_twod_robin_parity_vs_1d", + "edges": [ + { + "caller": "tests.regression.test_twod_validation.test_twod_robin_parity_vs_1d", + "callee": "perovskite_sim.experiments.jv_sweep.compute_metrics", + "line": 180, + "kind": "call" + } + ] + }, + { + "test": "tests.regression.test_twod_validation.test_twod_robin_parity_vs_1d_aggressive_blocking", + "edges": [ + { + "caller": "tests.regression.test_twod_validation.test_twod_robin_parity_vs_1d_aggressive_blocking", + "callee": "perovskite_sim.experiments.jv_sweep.compute_metrics", + "line": 339, + "kind": "call" + } + ] + }, + { + "test": "tests.regression.test_twod_validation.test_twod_uniform_matches_1d_within_tolerance", + "edges": [ + { + "caller": "tests.regression.test_twod_validation.test_twod_uniform_matches_1d_within_tolerance", + "callee": "perovskite_sim.experiments.jv_sweep.compute_metrics", + "line": 65, + "kind": "call" + } + ] + } + ], + "original_scope_limitations": null, + "active_contract": null, + "obligations": [ + { + "id": "new-source-experiment-7fed102e77dec518", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-7fed102e77dec518.json", + "tasks": [ + "P04-05", + "P05-01", + "P05-02" + ], + "gates": [ + "G4", + "G5" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof", + "per-physical-observable units/norm/reference scale/zero policy and applicable original or prospectively frozen threshold; test truth values do not fill this field" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-3cb68f22c239ab40cc9f69a4", + "rule-64727c3eac9fb4e01d02cec9", + "rule-603dafd7ce04a6e4427485fe", + "rule-3910d7ca69a0516323a5f449", + "rule-632df622ba7d50bb71d38350", + "rule-e00987f78c972ac6e4944493", + "rule-c50e6307c290b0ff2eb34f94", + "rule-c4e54b15ddbe780dc1e39c69", + "rule-eac2e441301918ebd7b90010", + "rule-5566cb7cb2e99f7d8ed050bd", + "rule-db454c4246c80ac747ceb19f", + "rule-5225dcd52df180b37157e8a0", + "rule-0ccd2c32682a386dee9b7843", + "rule-27c471176ac0cd30c5e0b9b8", + "rule-bb390ff16afac1202dba0527", + "rule-68d22b977e5d97cd2020758e", + "rule-e710cad7a5f402d701f7102e", + "rule-a0e01952bb8a4c247c8dabba", + "rule-5819e99c8d717c680498a0a5", + "rule-766b94248e3b79ae4fd32ddd", + "rule-4af421f8baeace03a0433899", + "rule-d1f315768e735dbee18f60d5", + "rule-1ecd1275f8f60c9c19b795a2", + "rule-abeeb07a1577083e175cd08d", + "rule-19096a3ce41217f74d70cedd", + "rule-475ba7e7b0a09bfd02e79693", + "rule-a233358bdf9e909e07f75842", + "rule-c1d99091dfbeba9cad28f882", + "rule-115196d587ba3311b2e57a49", + "rule-6e16a219a7d274a8f8cc5446", + "rule-6594d86721e663337ff9855c", + "rule-5a234a396f0ec85886c3829a" + ], + "comparison_scope_id": "scope-experiment-7fed102e77dec518" + }, + { + "capability_id": "experiment-f390da9f265f080b", + "route_id": "route-6110e3f0105bc8f1", + "origin_key": "experiment:perovskite_sim.experiments.jv_sweep.extract_spatial_snapshot", + "target": { + "capability_id": "experiment-f390da9f265f080b", + "scope_id": "experiment:perovskite_sim.experiments.jv_sweep.extract_spatial_snapshot", + "kind": "original_scoped_assertions", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_assertions_bound", + "citations": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/jv_sweep.py", + "symbol": "extract_spatial_snapshot" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py", + "symbol": "test_discrete_poisson_implicit_sensitivity_matches_resolved_stencils" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py", + "symbol": "test_phi_frozen_current_path_is_opt_in_and_matches_default" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_spatial_profiles.py", + "symbol": "test_all_finite" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_spatial_profiles.py", + "symbol": "test_carrier_densities_nonnegative" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_spatial_profiles.py", + "symbol": "test_correct_shapes" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_spatial_profiles.py", + "symbol": "test_e_field_consistent_with_phi" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_spatial_profiles.py", + "symbol": "test_ion_density_nonnegative" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_spatial_profiles.py", + "symbol": "test_phi_boundary_conditions" + } + ], + "original_evidence": [ + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py", + "symbol": "test_discrete_poisson_implicit_sensitivity_matches_resolved_stencils" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_discrete_poisson_implicit_sensitivity_matches_resolved_stencils", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py", + "symbol": "test_phi_frozen_current_path_is_opt_in_and_matches_default" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_phi_frozen_current_path_is_opt_in_and_matches_default", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_spatial_profiles.py", + "symbol": "test_all_finite" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_spatial_profiles.py::test_all_finite", + "scope_docstring": "All spatial fields should be finite.", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_spatial_profiles.py", + "symbol": "test_carrier_densities_nonnegative" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_spatial_profiles.py::test_carrier_densities_nonnegative", + "scope_docstring": "n and p should be non-negative (may be ~0 in transport layers).", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_spatial_profiles.py", + "symbol": "test_correct_shapes" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_spatial_profiles.py::test_correct_shapes", + "scope_docstring": "Node arrays should have shape (N,) and face arrays shape (N-1,).", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_spatial_profiles.py", + "symbol": "test_e_field_consistent_with_phi" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_spatial_profiles.py::test_e_field_consistent_with_phi", + "scope_docstring": "E should be -(dphi/dx) at each face.", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_spatial_profiles.py", + "symbol": "test_ion_density_nonnegative" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_spatial_profiles.py::test_ion_density_nonnegative", + "scope_docstring": "Ion density P should be non-negative (zero in non-perovskite layers).", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_spatial_profiles.py", + "symbol": "test_phi_boundary_conditions" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_spatial_profiles.py::test_phi_boundary_conditions", + "scope_docstring": "Potential should be 0 at left contact (grounded).", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + } + ], + "call_chains": [ + { + "test": "tests.unit.experiments.test_ion_aware_structured_jacobian.test_discrete_poisson_implicit_sensitivity_matches_resolved_stencils", + "edges": [ + { + "caller": "tests.unit.experiments.test_ion_aware_structured_jacobian.test_discrete_poisson_implicit_sensitivity_matches_resolved_stencils", + "callee": "perovskite_sim.experiments.jv_sweep.extract_spatial_snapshot", + "line": 345, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_ion_aware_structured_jacobian.test_phi_frozen_current_path_is_opt_in_and_matches_default", + "edges": [ + { + "caller": "tests.unit.experiments.test_ion_aware_structured_jacobian.test_phi_frozen_current_path_is_opt_in_and_matches_default", + "callee": "perovskite_sim.experiments.jv_sweep.extract_spatial_snapshot", + "line": 396, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_spatial_profiles.test_all_finite", + "edges": [ + { + "caller": "tests.unit.experiments.test_spatial_profiles.test_all_finite", + "callee": "perovskite_sim.experiments.jv_sweep.extract_spatial_snapshot", + "line": 80, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_spatial_profiles.test_carrier_densities_nonnegative", + "edges": [ + { + "caller": "tests.unit.experiments.test_spatial_profiles.test_carrier_densities_nonnegative", + "callee": "perovskite_sim.experiments.jv_sweep.extract_spatial_snapshot", + "line": 61, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_spatial_profiles.test_correct_shapes", + "edges": [ + { + "caller": "tests.unit.experiments.test_spatial_profiles.test_correct_shapes", + "callee": "perovskite_sim.experiments.jv_sweep.extract_spatial_snapshot", + "line": 40, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_spatial_profiles.test_e_field_consistent_with_phi", + "edges": [ + { + "caller": "tests.unit.experiments.test_spatial_profiles.test_e_field_consistent_with_phi", + "callee": "perovskite_sim.experiments.jv_sweep.extract_spatial_snapshot", + "line": 100, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_spatial_profiles.test_ion_density_nonnegative", + "edges": [ + { + "caller": "tests.unit.experiments.test_spatial_profiles.test_ion_density_nonnegative", + "callee": "perovskite_sim.experiments.jv_sweep.extract_spatial_snapshot", + "line": 70, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_spatial_profiles.test_phi_boundary_conditions", + "edges": [ + { + "caller": "tests.unit.experiments.test_spatial_profiles.test_phi_boundary_conditions", + "callee": "perovskite_sim.experiments.jv_sweep.extract_spatial_snapshot", + "line": 93, + "kind": "call" + } + ] + } + ], + "original_scope_limitations": null, + "active_contract": null, + "obligations": [ + { + "id": "new-source-experiment-f390da9f265f080b", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-f390da9f265f080b.json", + "tasks": [ + "P04-05", + "P05-01", + "P05-02" + ], + "gates": [ + "G4", + "G5" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof", + "per-physical-observable units/norm/reference scale/zero policy and applicable original or prospectively frozen threshold; test truth values do not fill this field" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-ee38ec4d67343612a76e5123", + "rule-744374aa57173c3e202f18a0", + "rule-2192a66c67b9b8f77924a9ed", + "rule-3f63d303910c93900ced80e1", + "rule-0471dfe4cba9df3d309d007f", + "rule-25e013633411604076a1ef93", + "rule-24e2d62e896e6a0612c51c47", + "rule-6051b0b7058435a458841535", + "rule-ba1e3afc78bf811ce45aae86", + "rule-9421e40a4d3c59dbd444d0e0", + "rule-2a9483d9070e152aeab23bfc", + "rule-40ddb6107748c791ff7426b6", + "rule-b66b42a2f6a70e1323478544", + "rule-6e2c4444f2df26739104cb1f", + "rule-d1f8517b483e3a768c837fce", + "rule-3a5e2acc24c7a279b1305529", + "rule-10ce3ec31159ba39ac0f2977", + "rule-80086a750c9c49f2dcef916d", + "rule-f00f064c2db8e08fba29a874", + "rule-50659dfccefc0d288e5428e7", + "rule-4a783e174b0ebcfede754ac0", + "rule-343e06e22c90cd60be470f2b", + "rule-e1796f9eb84ab48b76c6c227", + "rule-9aae118b8b82c8c09c3860a1", + "rule-97fb7ff791cd46c4c56ffb7d", + "rule-777046c78fdfd3e914e7b5b8", + "rule-e7295bbc7467e58cb2392548", + "rule-4f35c93d3534ad3be32f28cc" + ], + "comparison_scope_id": "scope-experiment-f390da9f265f080b" + }, + { + "capability_id": "experiment-d1aee10f514c8af5", + "route_id": "route-6110e3f0105bc8f1", + "origin_key": "experiment:perovskite_sim.experiments.jv_sweep.run_jv_sweep", + "target": { + "capability_id": "experiment-d1aee10f514c8af5", + "scope_id": "experiment:perovskite_sim.experiments.jv_sweep.run_jv_sweep", + "kind": "original_scoped_assertions", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_assertions_bound", + "citations": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/jv_sweep.py", + "symbol": "run_jv_sweep" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_dual_ion_integration.py", + "symbol": "TestDualIonJV.test_jv_dual_species" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_dual_ion_integration.py", + "symbol": "TestDualIonJV.test_jv_dual_vs_single_similar" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_e1_5_cross_carrier_srh.py", + "symbol": "test_cross_carrier_preserves_baseline_voc" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_e1_6_calibration_factor.py", + "symbol": "test_n_t_calibration_factor_equivalence_on_scaps_mirror" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_e1_6_calibration_factor.py", + "symbol": "test_scaps_mirror_baseline_unchanged_post_e1_6_migration" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_e3_interface_plane_assemble_rhs.py", + "symbol": "test_jv_sweep_legacy_voc_when_env_unset" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_e3_interface_plane_assemble_rhs.py", + "symbol": "test_jv_sweep_voc_moves_when_env_active" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_e4_split_integration.py", + "symbol": "test_jv_sweep_voc_in_envelope_with_split" + } + ], + "original_evidence": [ + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_dual_ion_integration.py", + "symbol": "TestDualIonJV.test_jv_dual_species" + }, + "test_node": "perovskite-sim/tests/integration/test_dual_ion_integration.py::TestDualIonJV::test_jv_dual_species", + "scope_docstring": "Dual-species J-V should produce physically reasonable metrics.", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_dual_ion_integration.py", + "symbol": "TestDualIonJV.test_jv_dual_vs_single_similar" + }, + "test_node": "perovskite-sim/tests/integration/test_dual_ion_integration.py::TestDualIonJV::test_jv_dual_vs_single_similar", + "scope_docstring": "At fast scan rate, dual and single species should give similar results.", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_e1_5_cross_carrier_srh.py", + "symbol": "test_cross_carrier_preserves_baseline_voc" + }, + "test_node": "perovskite-sim/tests/integration/test_e1_5_cross_carrier_srh.py::test_cross_carrier_preserves_baseline_voc", + "scope_docstring": "At the scaps_mirror baseline chi values (chi_ETL=4.10, ~−0.16 V\npre-existing cliff) with calibrated SRV=0.01 m/s and E_t=0.6 eV, V_oc\nmust stay inside the SCAPS-mirror baseline window [1.05, 1.25] V so\nthat activating the interfaces block does NOT break\n``test_scaps_mirror_baseline.py``.", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_e1_6_calibration_factor.py", + "symbol": "test_n_t_calibration_factor_equivalence_on_scaps_mirror" + }, + "test_node": "perovskite-sim/tests/integration/test_e1_6_calibration_factor.py::test_n_t_calibration_factor_equivalence_on_scaps_mirror", + "scope_docstring": "SCAPS-mirror with N_t_cm2=1e13 + calibration_factor=1e-5 produces\nthe same V_oc as N_t_cm2=1e8 + calibration_factor=1.0 because the\nsolver multiplies v_n, v_p by the calibration factor (mathematically\nequivalent to scaling N_t). This is the key acceptance check for\nOption B-2: SCAPS direct N_t values become useable as long as the\ncalibration factor is supplied.", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_e1_6_calibration_factor.py", + "symbol": "test_scaps_mirror_baseline_unchanged_post_e1_6_migration" + }, + "test_node": "perovskite-sim/tests/integration/test_e1_6_calibration_factor.py::test_scaps_mirror_baseline_unchanged_post_e1_6_migration", + "scope_docstring": "Migrating scaps_mirror.yaml from ``N_t_cm2: 1e8`` (empirical)\nto ``N_t_cm2: 1e13 + calibration_factor: 1e-5`` (SCAPS direct +\nexplicit attenuation) must produce a V_oc inside the SCAPS window\n[1.05, 1.25] V. The two declarations are mathematically equivalent\nvia ``SRV_eff = σ · v_th · N_t · 1e-2 · cf``, so the baseline\nphysics is unchanged — only the partner-facing data model presentation.", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_e3_interface_plane_assemble_rhs.py", + "symbol": "test_jv_sweep_legacy_voc_when_env_unset" + }, + "test_node": "perovskite-sim/tests/integration/test_e3_interface_plane_assemble_rhs.py::test_jv_sweep_legacy_voc_when_env_unset", + "scope_docstring": "env unset -> V_oc bit-identical to current main 1.0694 +- 5 mV.", + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_e3_interface_plane_assemble_rhs.py", + "symbol": "test_jv_sweep_voc_moves_when_env_active" + }, + "test_node": "perovskite-sim/tests/integration/test_e3_interface_plane_assemble_rhs.py::test_jv_sweep_voc_moves_when_env_active", + "scope_docstring": "env=1 -> V_oc moves measurably from legacy (proves new path participates).", + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_e4_split_integration.py", + "symbol": "test_jv_sweep_voc_in_envelope_with_split" + }, + "test_node": "perovskite-sim/tests/integration/test_e4_split_integration.py::test_jv_sweep_voc_in_envelope_with_split", + "scope_docstring": "env=1 → V_oc within physical envelope [0.8, 1.3] V.\n\nLooser than \"V_oc moves from legacy by >X\" because split-flux can\nREVERT toward legacy when half-fluxes ≈ sum to legacy SG at dark eq.\nReal change shows up in CBO sweep — gated by full validation, not\nthis unit test.", + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + } + ], + "call_chains": [ + { + "test": "tests.integration.test_dual_ion_integration.TestDualIonJV.test_jv_dual_species", + "edges": [ + { + "caller": "tests.integration.test_dual_ion_integration.TestDualIonJV.test_jv_dual_species", + "callee": "perovskite_sim.experiments.jv_sweep.run_jv_sweep", + "line": 80, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_dual_ion_integration.TestDualIonJV.test_jv_dual_vs_single_similar", + "edges": [ + { + "caller": "tests.integration.test_dual_ion_integration.TestDualIonJV.test_jv_dual_vs_single_similar", + "callee": "perovskite_sim.experiments.jv_sweep.run_jv_sweep", + "line": 91, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_e1_5_cross_carrier_srh.test_cross_carrier_preserves_baseline_voc", + "edges": [ + { + "caller": "tests.integration.test_e1_5_cross_carrier_srh.test_cross_carrier_preserves_baseline_voc", + "callee": "perovskite_sim.experiments.jv_sweep.run_jv_sweep", + "line": 119, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_e1_6_calibration_factor.test_n_t_calibration_factor_equivalence_on_scaps_mirror", + "edges": [ + { + "caller": "tests.integration.test_e1_6_calibration_factor.test_n_t_calibration_factor_equivalence_on_scaps_mirror", + "callee": "perovskite_sim.experiments.jv_sweep.run_jv_sweep", + "line": 62, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_e1_6_calibration_factor.test_scaps_mirror_baseline_unchanged_post_e1_6_migration", + "edges": [ + { + "caller": "tests.integration.test_e1_6_calibration_factor.test_scaps_mirror_baseline_unchanged_post_e1_6_migration", + "callee": "perovskite_sim.experiments.jv_sweep.run_jv_sweep", + "line": 108, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_e3_interface_plane_assemble_rhs.test_jv_sweep_legacy_voc_when_env_unset", + "edges": [ + { + "caller": "tests.integration.test_e3_interface_plane_assemble_rhs.test_jv_sweep_legacy_voc_when_env_unset", + "callee": "perovskite_sim.experiments.jv_sweep.run_jv_sweep", + "line": 123, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_e3_interface_plane_assemble_rhs.test_jv_sweep_voc_moves_when_env_active", + "edges": [ + { + "caller": "tests.integration.test_e3_interface_plane_assemble_rhs.test_jv_sweep_voc_moves_when_env_active", + "callee": "perovskite_sim.experiments.jv_sweep.run_jv_sweep", + "line": 135, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_e4_split_integration.test_jv_sweep_voc_in_envelope_with_split", + "edges": [ + { + "caller": "tests.integration.test_e4_split_integration.test_jv_sweep_voc_in_envelope_with_split", + "callee": "perovskite_sim.experiments.jv_sweep.run_jv_sweep", + "line": 109, + "kind": "call" + } + ] + } + ], + "original_scope_limitations": null, + "active_contract": null, + "obligations": [ + { + "id": "new-source-experiment-d1aee10f514c8af5", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-d1aee10f514c8af5.json", + "tasks": [ + "P04-05", + "P05-01", + "P05-02" + ], + "gates": [ + "G4", + "G5" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof", + "per-physical-observable units/norm/reference scale/zero policy and applicable original or prospectively frozen threshold; test truth values do not fill this field" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-4d50e7a5d3d1aa3ec63231b9", + "rule-a67707ba91ffaa28a738a9bd", + "rule-b655b2c300eebb5d1f279af4", + "rule-2478f4fa2a5cd384ef2d83f5", + "rule-53012f39d80eeaab5181236f", + "rule-b50cb6bafd33975b8b1ec068", + "rule-40012073b938a30438a4dbe0", + "rule-6229c20efe319e1df78c2827", + "rule-4a937f43074e9a9c1920bcf8", + "rule-01322d98f4231637717593c9", + "rule-43ffbe25602987eaf0e03b03", + "rule-7242b2aaaece78b1107b5334", + "rule-6255132e7ae8c2cb51935ef5", + "rule-af1216a96f16eea3ab4004bc" + ], + "comparison_scope_id": "scope-experiment-d1aee10f514c8af5" + }, + { + "capability_id": "experiment-e903c8755d4a8729", + "route_id": "route-122501331d596e6c", + "origin_key": "experiment:perovskite_sim.experiments.metastable_preparation.prepare_metastable_configuration", + "target": { + "capability_id": "experiment-e903c8755d4a8729", + "scope_id": "experiment:perovskite_sim.experiments.metastable_preparation.prepare_metastable_configuration", + "kind": "original_scoped_assertions", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_assertions_bound", + "citations": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/metastable_preparation.py", + "symbol": "prepare_metastable_configuration" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_metastable_dynamic_transient.py", + "symbol": "test_analytic_step_is_the_exact_two_state_solution" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_metastable_dynamic_transient.py", + "symbol": "test_charge_transfer_identity_holds_to_machine_precision" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_metastable_dynamic_transient.py", + "symbol": "test_dynamic_state_stays_bounded_without_clipping" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_metastable_dynamic_transient.py", + "symbol": "test_fast_limit_lands_on_the_measurement_stationary_configuration" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_metastable_dynamic_transient.py", + "symbol": "test_resolved_trace_is_certified_and_relaxes_monotonically" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_metastable_dynamic_transient.py", + "symbol": "test_slow_limit_leaves_the_prepared_configuration_in_place" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_metastable_dynamic_transient.py", + "symbol": "test_transient_rejects_a_mismatched_grid_or_temperature" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_metastable_preparation_and_frozen_measurement.py", + "symbol": "test_any_protocol_change_changes_the_frozen_identity" + } + ], + "original_evidence": [ + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_metastable_dynamic_transient.py", + "symbol": "test_analytic_step_is_the_exact_two_state_solution" + }, + "test_node": "perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_analytic_step_is_the_exact_two_state_solution", + "scope_docstring": "The step is the closed-form solution, so it is exact for fixed rates.", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_metastable_dynamic_transient.py", + "symbol": "test_charge_transfer_identity_holds_to_machine_precision" + }, + "test_node": "perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_charge_transfer_identity_holds_to_machine_precision", + "scope_docstring": "Each converted defect moves exactly two elementary charges.", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_metastable_dynamic_transient.py", + "symbol": "test_dynamic_state_stays_bounded_without_clipping" + }, + "test_node": "perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_dynamic_state_stays_bounded_without_clipping", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_metastable_dynamic_transient.py", + "symbol": "test_fast_limit_lands_on_the_measurement_stationary_configuration" + }, + "test_node": "perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_fast_limit_lands_on_the_measurement_stationary_configuration", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_metastable_dynamic_transient.py", + "symbol": "test_resolved_trace_is_certified_and_relaxes_monotonically" + }, + "test_node": "perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_resolved_trace_is_certified_and_relaxes_monotonically", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_metastable_dynamic_transient.py", + "symbol": "test_slow_limit_leaves_the_prepared_configuration_in_place" + }, + "test_node": "perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_slow_limit_leaves_the_prepared_configuration_in_place", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_metastable_dynamic_transient.py", + "symbol": "test_transient_rejects_a_mismatched_grid_or_temperature" + }, + "test_node": "perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_transient_rejects_a_mismatched_grid_or_temperature", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_metastable_preparation_and_frozen_measurement.py", + "symbol": "test_any_protocol_change_changes_the_frozen_identity" + }, + "test_node": "perovskite-sim/tests/integration/test_metastable_preparation_and_frozen_measurement.py::test_any_protocol_change_changes_the_frozen_identity", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + } + ], + "call_chains": [ + { + "test": "tests.integration.test_metastable_dynamic_transient.test_analytic_step_is_the_exact_two_state_solution", + "edges": [ + { + "caller": "tests.integration.test_metastable_dynamic_transient.test_analytic_step_is_the_exact_two_state_solution", + "callee": "tests.integration.test_metastable_dynamic_transient.prepared", + "line": 194, + "kind": "pytest_fixture_argument" + }, + { + "caller": "tests.integration.test_metastable_dynamic_transient.prepared", + "callee": "perovskite_sim.experiments.metastable_preparation.prepare_metastable_configuration", + "line": 43, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_metastable_dynamic_transient.test_charge_transfer_identity_holds_to_machine_precision", + "edges": [ + { + "caller": "tests.integration.test_metastable_dynamic_transient.test_charge_transfer_identity_holds_to_machine_precision", + "callee": "tests.integration.test_metastable_dynamic_transient.prepared", + "line": 153, + "kind": "pytest_fixture_argument" + }, + { + "caller": "tests.integration.test_metastable_dynamic_transient.prepared", + "callee": "perovskite_sim.experiments.metastable_preparation.prepare_metastable_configuration", + "line": 43, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_metastable_dynamic_transient.test_dynamic_state_stays_bounded_without_clipping", + "edges": [ + { + "caller": "tests.integration.test_metastable_dynamic_transient.test_dynamic_state_stays_bounded_without_clipping", + "callee": "tests.integration.test_metastable_dynamic_transient.prepared", + "line": 173, + "kind": "pytest_fixture_argument" + }, + { + "caller": "tests.integration.test_metastable_dynamic_transient.prepared", + "callee": "perovskite_sim.experiments.metastable_preparation.prepare_metastable_configuration", + "line": 43, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_metastable_dynamic_transient.test_fast_limit_lands_on_the_measurement_stationary_configuration", + "edges": [ + { + "caller": "tests.integration.test_metastable_dynamic_transient.test_fast_limit_lands_on_the_measurement_stationary_configuration", + "callee": "tests.integration.test_metastable_dynamic_transient.prepared", + "line": 98, + "kind": "pytest_fixture_argument" + }, + { + "caller": "tests.integration.test_metastable_dynamic_transient.prepared", + "callee": "perovskite_sim.experiments.metastable_preparation.prepare_metastable_configuration", + "line": 43, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_metastable_dynamic_transient.test_resolved_trace_is_certified_and_relaxes_monotonically", + "edges": [ + { + "caller": "tests.integration.test_metastable_dynamic_transient.test_resolved_trace_is_certified_and_relaxes_monotonically", + "callee": "tests.integration.test_metastable_dynamic_transient.prepared", + "line": 128, + "kind": "pytest_fixture_argument" + }, + { + "caller": "tests.integration.test_metastable_dynamic_transient.prepared", + "callee": "perovskite_sim.experiments.metastable_preparation.prepare_metastable_configuration", + "line": 43, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_metastable_dynamic_transient.test_slow_limit_leaves_the_prepared_configuration_in_place", + "edges": [ + { + "caller": "tests.integration.test_metastable_dynamic_transient.test_slow_limit_leaves_the_prepared_configuration_in_place", + "callee": "tests.integration.test_metastable_dynamic_transient.prepared", + "line": 71, + "kind": "pytest_fixture_argument" + }, + { + "caller": "tests.integration.test_metastable_dynamic_transient.prepared", + "callee": "perovskite_sim.experiments.metastable_preparation.prepare_metastable_configuration", + "line": 43, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_metastable_dynamic_transient.test_transient_rejects_a_mismatched_grid_or_temperature", + "edges": [ + { + "caller": "tests.integration.test_metastable_dynamic_transient.test_transient_rejects_a_mismatched_grid_or_temperature", + "callee": "tests.integration.test_metastable_dynamic_transient.prepared", + "line": 267, + "kind": "pytest_fixture_argument" + }, + { + "caller": "tests.integration.test_metastable_dynamic_transient.prepared", + "callee": "perovskite_sim.experiments.metastable_preparation.prepare_metastable_configuration", + "line": 43, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_metastable_preparation_and_frozen_measurement.test_any_protocol_change_changes_the_frozen_identity", + "edges": [ + { + "caller": "tests.integration.test_metastable_preparation_and_frozen_measurement.test_any_protocol_change_changes_the_frozen_identity", + "callee": "tests.integration.test_metastable_preparation_and_frozen_measurement._prepare", + "line": 262, + "kind": "call" + }, + { + "caller": "tests.integration.test_metastable_preparation_and_frozen_measurement._prepare", + "callee": "perovskite_sim.experiments.metastable_preparation.prepare_metastable_configuration", + "line": 184, + "kind": "call" + } + ] + } + ], + "original_scope_limitations": null, + "active_contract": null, + "obligations": [ + { + "id": "new-source-experiment-e903c8755d4a8729", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-e903c8755d4a8729.json", + "tasks": [ + "P04-10", + "P05-01", + "P05-04" + ], + "gates": [ + "G4", + "G5" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof", + "per-physical-observable units/norm/reference scale/zero policy and applicable original or prospectively frozen threshold; test truth values do not fill this field" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-eef8a64a3d8e9ca9be8c5515", + "rule-9293bbb7938d901c9d42605b", + "rule-930783e082fca68fe0a7721e", + "rule-d7273448485d0bdb28c2848f", + "rule-68c7ccdebbe8ea478f21b6d2", + "rule-456da05620c2a6c4dce5e549", + "rule-c19b6f27fdd7e97b25983d8e", + "rule-3c31900c9e6d7a347e46a18f", + "rule-611c5d2798967041fdc4407d", + "rule-8ca6e718c4b47c6c0f7360ac", + "rule-67a7647c8cdaf4c31fea7a78", + "rule-446e4472882e0a7d1883816c", + "rule-0f66bb13b126e69cf03f6567", + "rule-5aff546ab22aecdb032eea65", + "rule-315b562e442f55a85f020b80", + "rule-1c70c10027e51f2a6aaa9f55", + "rule-ca5777fc6f67bfbec7525327", + "rule-98bcb0e4c5bf15d044aa7a56", + "rule-c223aeff8e2a8bb9c05cae17", + "rule-0d9c7161ed8c9d2fe3ccdc14", + "rule-74f5c672899a4f562e592af0", + "rule-4c5a1d36e49df630546b57ab", + "rule-bed3041fbfb271c4837aa603", + "rule-d8479f2399e98e030f29b9d5", + "rule-6064c71a2e8db0d08d3a78ad", + "rule-b17e605d0c3fb8f414c7aa53" + ], + "comparison_scope_id": "scope-experiment-e903c8755d4a8729" + }, + { + "capability_id": "experiment-a3f3bb449a2f34d7", + "route_id": "route-122501331d596e6c", + "origin_key": "experiment:perovskite_sim.experiments.metastable_preparation.solve_frozen_metastable_jv_sweep", + "target": { + "capability_id": "experiment-a3f3bb449a2f34d7", + "scope_id": "experiment:perovskite_sim.experiments.metastable_preparation.solve_frozen_metastable_jv_sweep", + "kind": "original_scoped_assertions", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_assertions_bound", + "citations": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/metastable_preparation.py", + "symbol": "solve_frozen_metastable_jv_sweep" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_metastable_preparation_and_frozen_measurement.py", + "symbol": "test_frozen_jv_sweep_keeps_one_configuration_across_every_point" + } + ], + "original_evidence": [ + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_metastable_preparation_and_frozen_measurement.py", + "symbol": "test_frozen_jv_sweep_keeps_one_configuration_across_every_point" + }, + "test_node": "perovskite-sim/tests/integration/test_metastable_preparation_and_frozen_measurement.py::test_frozen_jv_sweep_keeps_one_configuration_across_every_point", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + } + ], + "call_chains": [ + { + "test": "tests.integration.test_metastable_preparation_and_frozen_measurement.test_frozen_jv_sweep_keeps_one_configuration_across_every_point", + "edges": [ + { + "caller": "tests.integration.test_metastable_preparation_and_frozen_measurement.test_frozen_jv_sweep_keeps_one_configuration_across_every_point", + "callee": "perovskite_sim.experiments.metastable_preparation.solve_frozen_metastable_jv_sweep", + "line": 312, + "kind": "call" + } + ] + } + ], + "original_scope_limitations": null, + "active_contract": null, + "obligations": [ + { + "id": "new-source-experiment-a3f3bb449a2f34d7", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-a3f3bb449a2f34d7.json", + "tasks": [ + "P04-10", + "P05-01", + "P05-04" + ], + "gates": [ + "G4", + "G5" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof", + "per-physical-observable units/norm/reference scale/zero policy and applicable original or prospectively frozen threshold; test truth values do not fill this field" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-f33e5d9a79c5cf55385ec8e4", + "rule-444b64a7e469fb4b07bc1175" + ], + "comparison_scope_id": "scope-experiment-a3f3bb449a2f34d7" + }, + { + "capability_id": "experiment-a4dd600fc6d409df", + "route_id": "route-122501331d596e6c", + "origin_key": "experiment:perovskite_sim.experiments.metastable_preparation.solve_frozen_metastable_measurement", + "target": { + "capability_id": "experiment-a4dd600fc6d409df", + "scope_id": "experiment:perovskite_sim.experiments.metastable_preparation.solve_frozen_metastable_measurement", + "kind": "original_scoped_assertions", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_assertions_bound", + "citations": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/metastable_preparation.py", + "symbol": "solve_frozen_metastable_measurement" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_metastable_preparation_and_frozen_measurement.py", + "symbol": "test_frozen_configuration_does_not_update_during_a_bias_sweep" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_metastable_preparation_and_frozen_measurement.py", + "symbol": "test_measurement_rejects_a_mismatched_grid" + } + ], + "original_evidence": [ + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_metastable_preparation_and_frozen_measurement.py", + "symbol": "test_frozen_configuration_does_not_update_during_a_bias_sweep" + }, + "test_node": "perovskite-sim/tests/integration/test_metastable_preparation_and_frozen_measurement.py::test_frozen_configuration_does_not_update_during_a_bias_sweep", + "scope_docstring": "The measurement must not silently re-prepare the configuration.", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_metastable_preparation_and_frozen_measurement.py", + "symbol": "test_measurement_rejects_a_mismatched_grid" + }, + "test_node": "perovskite-sim/tests/integration/test_metastable_preparation_and_frozen_measurement.py::test_measurement_rejects_a_mismatched_grid", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + } + ], + "call_chains": [ + { + "test": "tests.integration.test_metastable_preparation_and_frozen_measurement.test_frozen_configuration_does_not_update_during_a_bias_sweep", + "edges": [ + { + "caller": "tests.integration.test_metastable_preparation_and_frozen_measurement.test_frozen_configuration_does_not_update_during_a_bias_sweep", + "callee": "perovskite_sim.experiments.metastable_preparation.solve_frozen_metastable_measurement", + "line": 285, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_metastable_preparation_and_frozen_measurement.test_measurement_rejects_a_mismatched_grid", + "edges": [ + { + "caller": "tests.integration.test_metastable_preparation_and_frozen_measurement.test_measurement_rejects_a_mismatched_grid", + "callee": "perovskite_sim.experiments.metastable_preparation.solve_frozen_metastable_measurement", + "line": 334, + "kind": "call" + } + ] + } + ], + "original_scope_limitations": null, + "active_contract": null, + "obligations": [ + { + "id": "new-source-experiment-a4dd600fc6d409df", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-a4dd600fc6d409df.json", + "tasks": [ + "P04-10", + "P05-01", + "P05-04" + ], + "gates": [ + "G4", + "G5" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof", + "per-physical-observable units/norm/reference scale/zero policy and applicable original or prospectively frozen threshold; test truth values do not fill this field" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-c99fd99edebdf1272426d681", + "rule-45f896d764086202aeeca9f1", + "rule-f7c7b89a9d8e4d19286f8a98", + "rule-f53b84fe35ed9b0009a631eb", + "rule-546dda7c70e3c1d383075b47", + "rule-1970adb506a9cbd27027ef57" + ], + "comparison_scope_id": "scope-experiment-a4dd600fc6d409df" + }, + { + "capability_id": "experiment-906f1e5fff63647f", + "route_id": "route-ef61f462b2550dc9", + "origin_key": "experiment:perovskite_sim.experiments.metastable_transient.run_metastable_configuration_transient", + "target": { + "capability_id": "experiment-906f1e5fff63647f", + "scope_id": "experiment:perovskite_sim.experiments.metastable_transient.run_metastable_configuration_transient", + "kind": "original_scoped_assertions", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_assertions_bound", + "citations": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/metastable_transient.py", + "symbol": "run_metastable_configuration_transient" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_metastable_dynamic_transient.py", + "symbol": "test_charge_transfer_identity_holds_to_machine_precision" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_metastable_dynamic_transient.py", + "symbol": "test_dynamic_state_stays_bounded_without_clipping" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_metastable_dynamic_transient.py", + "symbol": "test_fast_limit_lands_on_the_measurement_stationary_configuration" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_metastable_dynamic_transient.py", + "symbol": "test_resolved_trace_is_certified_and_relaxes_monotonically" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_metastable_dynamic_transient.py", + "symbol": "test_slow_limit_leaves_the_prepared_configuration_in_place" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_metastable_dynamic_transient.py", + "symbol": "test_transient_rejects_a_mismatched_grid_or_temperature" + } + ], + "original_evidence": [ + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_metastable_dynamic_transient.py", + "symbol": "test_charge_transfer_identity_holds_to_machine_precision" + }, + "test_node": "perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_charge_transfer_identity_holds_to_machine_precision", + "scope_docstring": "Each converted defect moves exactly two elementary charges.", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_metastable_dynamic_transient.py", + "symbol": "test_dynamic_state_stays_bounded_without_clipping" + }, + "test_node": "perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_dynamic_state_stays_bounded_without_clipping", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_metastable_dynamic_transient.py", + "symbol": "test_fast_limit_lands_on_the_measurement_stationary_configuration" + }, + "test_node": "perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_fast_limit_lands_on_the_measurement_stationary_configuration", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_metastable_dynamic_transient.py", + "symbol": "test_resolved_trace_is_certified_and_relaxes_monotonically" + }, + "test_node": "perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_resolved_trace_is_certified_and_relaxes_monotonically", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_metastable_dynamic_transient.py", + "symbol": "test_slow_limit_leaves_the_prepared_configuration_in_place" + }, + "test_node": "perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_slow_limit_leaves_the_prepared_configuration_in_place", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_metastable_dynamic_transient.py", + "symbol": "test_transient_rejects_a_mismatched_grid_or_temperature" + }, + "test_node": "perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_transient_rejects_a_mismatched_grid_or_temperature", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + } + ], + "call_chains": [ + { + "test": "tests.integration.test_metastable_dynamic_transient.test_charge_transfer_identity_holds_to_machine_precision", + "edges": [ + { + "caller": "tests.integration.test_metastable_dynamic_transient.test_charge_transfer_identity_holds_to_machine_precision", + "callee": "perovskite_sim.experiments.metastable_transient.run_metastable_configuration_transient", + "line": 159, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_metastable_dynamic_transient.test_dynamic_state_stays_bounded_without_clipping", + "edges": [ + { + "caller": "tests.integration.test_metastable_dynamic_transient.test_dynamic_state_stays_bounded_without_clipping", + "callee": "perovskite_sim.experiments.metastable_transient.run_metastable_configuration_transient", + "line": 178, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_metastable_dynamic_transient.test_fast_limit_lands_on_the_measurement_stationary_configuration", + "edges": [ + { + "caller": "tests.integration.test_metastable_dynamic_transient.test_fast_limit_lands_on_the_measurement_stationary_configuration", + "callee": "perovskite_sim.experiments.metastable_transient.run_metastable_configuration_transient", + "line": 107, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_metastable_dynamic_transient.test_resolved_trace_is_certified_and_relaxes_monotonically", + "edges": [ + { + "caller": "tests.integration.test_metastable_dynamic_transient.test_resolved_trace_is_certified_and_relaxes_monotonically", + "callee": "perovskite_sim.experiments.metastable_transient.run_metastable_configuration_transient", + "line": 134, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_metastable_dynamic_transient.test_slow_limit_leaves_the_prepared_configuration_in_place", + "edges": [ + { + "caller": "tests.integration.test_metastable_dynamic_transient.test_slow_limit_leaves_the_prepared_configuration_in_place", + "callee": "perovskite_sim.experiments.metastable_transient.run_metastable_configuration_transient", + "line": 77, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_metastable_dynamic_transient.test_transient_rejects_a_mismatched_grid_or_temperature", + "edges": [ + { + "caller": "tests.integration.test_metastable_dynamic_transient.test_transient_rejects_a_mismatched_grid_or_temperature", + "callee": "perovskite_sim.experiments.metastable_transient.run_metastable_configuration_transient", + "line": 272, + "kind": "call" + } + ] + } + ], + "original_scope_limitations": null, + "active_contract": null, + "obligations": [ + { + "id": "new-source-experiment-906f1e5fff63647f", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-906f1e5fff63647f.json", + "tasks": [ + "P04-10", + "P05-01", + "P05-04" + ], + "gates": [ + "G4", + "G5" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof", + "per-physical-observable units/norm/reference scale/zero policy and applicable original or prospectively frozen threshold; test truth values do not fill this field" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-930783e082fca68fe0a7721e", + "rule-d7273448485d0bdb28c2848f", + "rule-68c7ccdebbe8ea478f21b6d2", + "rule-456da05620c2a6c4dce5e549", + "rule-c19b6f27fdd7e97b25983d8e", + "rule-3c31900c9e6d7a347e46a18f", + "rule-611c5d2798967041fdc4407d", + "rule-8ca6e718c4b47c6c0f7360ac", + "rule-67a7647c8cdaf4c31fea7a78", + "rule-446e4472882e0a7d1883816c", + "rule-0f66bb13b126e69cf03f6567", + "rule-5aff546ab22aecdb032eea65", + "rule-315b562e442f55a85f020b80", + "rule-1c70c10027e51f2a6aaa9f55", + "rule-ca5777fc6f67bfbec7525327", + "rule-98bcb0e4c5bf15d044aa7a56", + "rule-c223aeff8e2a8bb9c05cae17", + "rule-0d9c7161ed8c9d2fe3ccdc14", + "rule-74f5c672899a4f562e592af0", + "rule-4c5a1d36e49df630546b57ab", + "rule-bed3041fbfb271c4837aa603" + ], + "comparison_scope_id": "scope-experiment-906f1e5fff63647f" + }, + { + "capability_id": "experiment-a69d51ff462cc36a", + "route_id": "route-f07791f6d464ccd9", + "origin_key": "experiment:perovskite_sim.experiments.mott_schottky.run_mott_schottky", + "target": { + "capability_id": "experiment-a69d51ff462cc36a", + "scope_id": "experiment:perovskite_sim.experiments.mott_schottky.run_mott_schottky", + "kind": "original_scoped_assertions", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_assertions_bound", + "citations": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/mott_schottky.py", + "symbol": "run_mott_schottky" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_mott_schottky.py", + "symbol": "test_csi_cv_rejects_underresolved_grid" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_mott_schottky.py", + "symbol": "test_cv_rejects_noncapacitive_admittance" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_mott_schottky.py", + "symbol": "test_cv_wrapper_recovers_analytic_capacitive_impedance" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_mott_schottky.py", + "symbol": "test_rejects_nonpositive_frequency" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_mott_schottky.py", + "symbol": "test_rejects_sparse_v_range" + } + ], + "original_evidence": [ + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_mott_schottky.py", + "symbol": "test_csi_cv_rejects_underresolved_grid" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_mott_schottky.py::test_csi_cv_rejects_underresolved_grid", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_mott_schottky.py", + "symbol": "test_cv_rejects_noncapacitive_admittance" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_mott_schottky.py::test_cv_rejects_noncapacitive_admittance", + "scope_docstring": "Do not turn inductive/numerically invalid Im(Y) into C with abs().", + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_mott_schottky.py", + "symbol": "test_cv_wrapper_recovers_analytic_capacitive_impedance" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_mott_schottky.py::test_cv_wrapper_recovers_analytic_capacitive_impedance", + "scope_docstring": "The public wrapper preserves a physical C-V curve and its fit.", + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_mott_schottky.py", + "symbol": "test_rejects_nonpositive_frequency" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_mott_schottky.py::test_rejects_nonpositive_frequency", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_mott_schottky.py", + "symbol": "test_rejects_sparse_v_range" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_mott_schottky.py::test_rejects_sparse_v_range", + "scope_docstring": "Need at least 3 V points for a meaningful fit.", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + } + ], + "call_chains": [ + { + "test": "tests.unit.experiments.test_mott_schottky.test_csi_cv_rejects_underresolved_grid", + "edges": [ + { + "caller": "tests.unit.experiments.test_mott_schottky.test_csi_cv_rejects_underresolved_grid", + "callee": "perovskite_sim.experiments.mott_schottky.run_mott_schottky", + "line": 259, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_mott_schottky.test_cv_rejects_noncapacitive_admittance", + "edges": [ + { + "caller": "tests.unit.experiments.test_mott_schottky.test_cv_rejects_noncapacitive_admittance", + "callee": "perovskite_sim.experiments.mott_schottky.run_mott_schottky", + "line": 202, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_mott_schottky.test_cv_wrapper_recovers_analytic_capacitive_impedance", + "edges": [ + { + "caller": "tests.unit.experiments.test_mott_schottky.test_cv_wrapper_recovers_analytic_capacitive_impedance", + "callee": "perovskite_sim.experiments.mott_schottky.run_mott_schottky", + "line": 237, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_mott_schottky.test_rejects_nonpositive_frequency", + "edges": [ + { + "caller": "tests.unit.experiments.test_mott_schottky.test_rejects_nonpositive_frequency", + "callee": "perovskite_sim.experiments.mott_schottky.run_mott_schottky", + "line": 279, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_mott_schottky.test_rejects_sparse_v_range", + "edges": [ + { + "caller": "tests.unit.experiments.test_mott_schottky.test_rejects_sparse_v_range", + "callee": "perovskite_sim.experiments.mott_schottky.run_mott_schottky", + "line": 272, + "kind": "call" + } + ] + } + ], + "original_scope_limitations": null, + "active_contract": null, + "obligations": [ + { + "id": "new-source-experiment-a69d51ff462cc36a", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-a69d51ff462cc36a.json", + "tasks": [ + "P04-06", + "P05-01", + "P05-03" + ], + "gates": [ + "G4", + "G5" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof", + "per-physical-observable units/norm/reference scale/zero policy and applicable original or prospectively frozen threshold; test truth values do not fill this field" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-cdda11c41e02909a3bb46f66", + "rule-d9248dfe825cc3e84a5d2143", + "rule-37894663d964f365c0dbc561", + "rule-ba502d539df597b34e4d1f6e", + "rule-321023ef67fc6294aba9513f", + "rule-8a065c6b16c1776e55b73b6b", + "rule-f3330a8d687a5819ae26559f", + "rule-7263735d6e13baea19e4d368", + "rule-cab020bc6774f527422feff8", + "rule-0c584d502a56b62a9ab160ae", + "rule-bbe4f1b92d78cf61d7d5b43d", + "rule-48c0d9238d4c2c3ed4ac3696", + "rule-9d2fa40e544b8edd870d094d", + "rule-9672480aa5194b6e0a6dc8f2", + "rule-81d84338172ce9ae818836b4" + ], + "comparison_scope_id": "scope-experiment-a69d51ff462cc36a" + }, + { + "capability_id": "experiment-4e372a3e04e0faca", + "route_id": "route-aad6beda6ef7111b", + "origin_key": "experiment:perovskite_sim.experiments.one_dimensional_mechanism_r1.prepare_reference", + "target": { + "capability_id": "experiment-4e372a3e04e0faca", + "scope_id": "experiment:perovskite_sim.experiments.one_dimensional_mechanism_r1.prepare_reference", + "kind": "original_scoped_assertions", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_assertions_bound", + "citations": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1.py", + "symbol": "prepare_reference" + }, + { + "source_id": "archive:results/OneDimensionalMechanism/R1PhysicsDevelopmentV53/LongWindowV1/BaselineV1/Root/RequestV1.json", + "pointer": "/certificate_limits", + "value_sha256": "b54673f86c029ae83e50e67f4befa79e14bcbb6d419e4445c21a77d795d7b2f5" + }, + { + "source_id": "archive:results/OneDimensionalMechanism/R1PhysicsDevelopmentV53/LongWindowV1/BaselineV1/Root/RequestV1.json", + "pointer": "/solver_limits", + "value_sha256": "a46ae3398f9f6d0ab16538b20a6149078f0aaa5e6ca146e98bb960e1942853b1" + }, + { + "source_id": "archive:results/OneDimensionalMechanism/R1PhysicsDevelopmentV53/LongWindowV1/BaselineV1/Root/RequestV1.json", + "pointer": "/case", + "value_sha256": "c6e01ca25280b67ccabd484f51f88e7114731fb2ee182615525dd4431d0c3377" + }, + { + "source_id": "archive:results/OneDimensionalMechanism/R1PhysicsDevelopmentV53/LongWindowV1/BaselineV1/Root/RequestV1.json", + "pointer": "/inputs", + "value_sha256": "6cf2bc4f328e76a56a5cba3cf04418968273f74827b4f2fe3d7cae673e28c034" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_one_dimensional_mechanism_r1_evidence.py", + "symbol": "test_real_geometry_to_preparation_cli_passes" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_one_dimensional_mechanism_r1_evidence.py", + "symbol": "run_cli" + }, + { + "source_id": "repository:perovskite-sim/scripts/run_one_dimensional_mechanism_r1.py", + "symbol": "main" + } + ], + "original_evidence": [ + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_one_dimensional_mechanism_r1_evidence.py", + "symbol": "test_real_geometry_to_preparation_cli_passes" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_one_dimensional_mechanism_r1_evidence.py::test_real_geometry_to_preparation_cli_passes", + "mocking_present": false, + "slow_test": true, + "scope": "Complete CLI preparation path under its original geometry prerequisite and512-reference assertion; no execution repeated." + } + ], + "call_chains": [ + { + "test": "tests.unit.experiments.test_one_dimensional_mechanism_r1_evidence.test_real_geometry_to_preparation_cli_passes", + "edges": [ + { + "caller": "tests.unit.experiments.test_one_dimensional_mechanism_r1_evidence.test_real_geometry_to_preparation_cli_passes", + "callee": "tests.unit.experiments.test_one_dimensional_mechanism_r1_evidence.run_cli", + "line": 217, + "kind": "call", + "literal_stage_argument": "prepare" + }, + { + "caller": "tests.unit.experiments.test_one_dimensional_mechanism_r1_evidence.run_cli", + "callee": "scripts.run_one_dimensional_mechanism_r1.main", + "line": 193, + "kind": "subprocess_script_entry" + }, + { + "caller": "scripts.run_one_dimensional_mechanism_r1.main", + "callee": "perovskite_sim.experiments.one_dimensional_mechanism_r1.prepare_reference", + "line": 288, + "kind": "guarded_stage_dispatch", + "guard": "args.stage == prepare, matching geometry evidence required" + } + ] + } + ], + "original_scope_limitations": null, + "active_contract": null, + "obligations": [ + { + "id": "new-source-experiment-4e372a3e04e0faca", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-4e372a3e04e0faca.json", + "tasks": [ + "P02-08", + "P07-01", + "P07-02", + "P07-03", + "P07-04", + "P07-05" + ], + "gates": [ + "G2", + "G7" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof", + "per-physical-observable units/norm/reference scale/zero policy and applicable original or prospectively frozen threshold; test truth values do not fill this field", + "original R1 source/table/step and L1/L2/L3 prerequisites; the scalar helper is not an R1 comparator" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-354c4cf2b3a8f902b89ae1f9", + "rule-a2aee8cb460a0732765697d6", + "rule-e54bf0f662a329583d2b8426", + "rule-86fde112efaafe22e7f70879", + "rule-a3da36a67a9c5dca20953b96" + ], + "comparison_scope_id": "scope-experiment-4e372a3e04e0faca" + }, + { + "capability_id": "experiment-35bac077cd83f54c", + "route_id": "route-aad6beda6ef7111b", + "origin_key": "experiment:perovskite_sim.experiments.one_dimensional_mechanism_r1.run_coupled", + "target": { + "capability_id": "experiment-35bac077cd83f54c", + "scope_id": "experiment:perovskite_sim.experiments.one_dimensional_mechanism_r1.run_coupled", + "kind": "original_scoped_assertions", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "blocked_prospective", + "citations": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1.py", + "symbol": "run_coupled" + }, + { + "source_id": "archive:results/OneDimensionalMechanism/R1PhysicsDevelopmentV53/LongWindowV1/BaselineV1/Root/RequestV1.json", + "pointer": "/certificate_limits", + "value_sha256": "b54673f86c029ae83e50e67f4befa79e14bcbb6d419e4445c21a77d795d7b2f5" + }, + { + "source_id": "archive:results/OneDimensionalMechanism/R1PhysicsDevelopmentV53/LongWindowV1/BaselineV1/Root/RequestV1.json", + "pointer": "/solver_limits", + "value_sha256": "a46ae3398f9f6d0ab16538b20a6149078f0aaa5e6ca146e98bb960e1942853b1" + }, + { + "source_id": "archive:results/OneDimensionalMechanism/R1PhysicsDevelopmentV53/LongWindowV1/BaselineV1/Root/RequestV1.json", + "pointer": "/case", + "value_sha256": "c6e01ca25280b67ccabd484f51f88e7114731fb2ee182615525dd4431d0c3377" + }, + { + "source_id": "archive:results/OneDimensionalMechanism/R1PhysicsDevelopmentV53/LongWindowV1/BaselineV1/Root/RequestV1.json", + "pointer": "/inputs", + "value_sha256": "6cf2bc4f328e76a56a5cba3cf04418968273f74827b4f2fe3d7cae673e28c034" + } + ], + "original_evidence": [], + "call_chains": [], + "original_scope_limitations": null, + "active_contract": null, + "obligations": [ + { + "id": "new-source-experiment-35bac077cd83f54c", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-35bac077cd83f54c.json", + "tasks": [ + "P02-08", + "P07-01", + "P07-02", + "P07-03", + "P07-04", + "P07-05" + ], + "gates": [ + "G2", + "G7" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof", + "per-physical-observable units/norm/reference scale/zero policy and applicable original or prospectively frozen threshold; test truth values do not fill this field", + "original R1 source/table/step and L1/L2/L3 prerequisites; the scalar helper is not an R1 comparator" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + }, + { + "id": "test-experiment-35bac077cd83f54c", + "prospective": true, + "artifact": "tests/refactor/test_comparison_experiment_35bac077cd83f54c.py", + "tasks": [ + "P02-08", + "P07-01", + "P07-02", + "P07-03", + "P07-04", + "P07-05" + ], + "gates": [ + "G2", + "G7" + ], + "missing": [ + "a scoped executable test/comparator through the named callable" + ], + "required_before": "replacement_of_this_callable" + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [], + "comparison_scope_id": "scope-experiment-35bac077cd83f54c" + }, + { + "capability_id": "experiment-43a0424529f1528e", + "route_id": "route-aad6beda6ef7111b", + "origin_key": "experiment:perovskite_sim.experiments.one_dimensional_mechanism_r1.solve_r1_dc", + "target": { + "capability_id": "experiment-43a0424529f1528e", + "scope_id": "experiment:perovskite_sim.experiments.one_dimensional_mechanism_r1.solve_r1_dc", + "kind": "original_scoped_assertions", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_assertions_bound", + "citations": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1.py", + "symbol": "solve_r1_dc" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_combined_dc_warm_start.py", + "symbol": "test_four_interval_public_dc_matches_independent_fresh_solve" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_physics_validation.py", + "symbol": "test_opt_in_recording_preserves_all_original_numerical_results" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_physics_validation.py", + "symbol": "test_reconstruction_failure_preserves_observed_state_and_coordinates" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_numerical_precision.py", + "symbol": "test_original_failure_representatives_complete_without_gate_changes" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_numerical_precision.py", + "symbol": "test_strict_trace_roundtrips_exact_coordinates_and_physical_equations" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_regular_independence_v4.py", + "symbol": "test_actual_coarse_step_fault_is_rejected_by_computed_physics_not_injected_flags" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_v7_precision.py", + "symbol": "test_actual_fine_initialization_short_steps_and_exact_replay" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_v8_ablation.py", + "symbol": "test_actual_short_ablation_and_replay_share_intervention" + }, + { + "source_id": "archive:results/OneDimensionalMechanism/R1PhysicsDevelopmentV53/LongWindowV1/BaselineV1/Root/RequestV1.json", + "pointer": "/certificate_limits", + "value_sha256": "b54673f86c029ae83e50e67f4befa79e14bcbb6d419e4445c21a77d795d7b2f5" + }, + { + "source_id": "archive:results/OneDimensionalMechanism/R1PhysicsDevelopmentV53/LongWindowV1/BaselineV1/Root/RequestV1.json", + "pointer": "/solver_limits", + "value_sha256": "a46ae3398f9f6d0ab16538b20a6149078f0aaa5e6ca146e98bb960e1942853b1" + }, + { + "source_id": "archive:results/OneDimensionalMechanism/R1PhysicsDevelopmentV53/LongWindowV1/BaselineV1/Root/RequestV1.json", + "pointer": "/case", + "value_sha256": "c6e01ca25280b67ccabd484f51f88e7114731fb2ee182615525dd4431d0c3377" + }, + { + "source_id": "archive:results/OneDimensionalMechanism/R1PhysicsDevelopmentV53/LongWindowV1/BaselineV1/Root/RequestV1.json", + "pointer": "/inputs", + "value_sha256": "6cf2bc4f328e76a56a5cba3cf04418968273f74827b4f2fe3d7cae673e28c034" + } + ], + "original_evidence": [ + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_combined_dc_warm_start.py", + "symbol": "test_four_interval_public_dc_matches_independent_fresh_solve" + }, + "test_node": "perovskite-sim/tests/integration/test_combined_dc_warm_start.py::test_four_interval_public_dc_matches_independent_fresh_solve", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_physics_validation.py", + "symbol": "test_opt_in_recording_preserves_all_original_numerical_results" + }, + "test_node": "perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_physics_validation.py::test_opt_in_recording_preserves_all_original_numerical_results", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_physics_validation.py", + "symbol": "test_reconstruction_failure_preserves_observed_state_and_coordinates" + }, + "test_node": "perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_physics_validation.py::test_reconstruction_failure_preserves_observed_state_and_coordinates", + "scope_docstring": null, + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_numerical_precision.py", + "symbol": "test_original_failure_representatives_complete_without_gate_changes" + }, + "test_node": "perovskite-sim/tests/integration/test_r1_numerical_precision.py::test_original_failure_representatives_complete_without_gate_changes", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_numerical_precision.py", + "symbol": "test_strict_trace_roundtrips_exact_coordinates_and_physical_equations" + }, + "test_node": "perovskite-sim/tests/integration/test_r1_numerical_precision.py::test_strict_trace_roundtrips_exact_coordinates_and_physical_equations", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_regular_independence_v4.py", + "symbol": "test_actual_coarse_step_fault_is_rejected_by_computed_physics_not_injected_flags" + }, + "test_node": "perovskite-sim/tests/integration/test_r1_regular_independence_v4.py::test_actual_coarse_step_fault_is_rejected_by_computed_physics_not_injected_flags", + "scope_docstring": "Omitting contacts from solver stopping recreates the old N64 defect.", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_v7_precision.py", + "symbol": "test_actual_fine_initialization_short_steps_and_exact_replay" + }, + "test_node": "perovskite-sim/tests/integration/test_r1_v7_precision.py::test_actual_fine_initialization_short_steps_and_exact_replay", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_v8_ablation.py", + "symbol": "test_actual_short_ablation_and_replay_share_intervention" + }, + "test_node": "perovskite-sim/tests/integration/test_r1_v8_ablation.py::test_actual_short_ablation_and_replay_share_intervention", + "scope_docstring": null, + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + } + ], + "call_chains": [ + { + "test": "tests.integration.test_combined_dc_warm_start.test_four_interval_public_dc_matches_independent_fresh_solve", + "edges": [ + { + "caller": "tests.integration.test_combined_dc_warm_start.test_four_interval_public_dc_matches_independent_fresh_solve", + "callee": "perovskite_sim.experiments.one_dimensional_mechanism_r1.solve_r1_dc", + "line": 61, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_one_dimensional_mechanism_r1_physics_validation.test_opt_in_recording_preserves_all_original_numerical_results", + "edges": [ + { + "caller": "tests.integration.test_one_dimensional_mechanism_r1_physics_validation.test_opt_in_recording_preserves_all_original_numerical_results", + "callee": "perovskite_sim.experiments.one_dimensional_mechanism_r1_state.prepare_common_state", + "line": 57, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.one_dimensional_mechanism_r1_state.prepare_common_state", + "callee": "perovskite_sim.experiments.one_dimensional_mechanism_r1.solve_r1_dc", + "line": 454, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_one_dimensional_mechanism_r1_physics_validation.test_reconstruction_failure_preserves_observed_state_and_coordinates", + "edges": [ + { + "caller": "tests.integration.test_one_dimensional_mechanism_r1_physics_validation.test_reconstruction_failure_preserves_observed_state_and_coordinates", + "callee": "perovskite_sim.experiments.one_dimensional_mechanism_r1_state.prepare_common_state", + "line": 267, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.one_dimensional_mechanism_r1_state.prepare_common_state", + "callee": "perovskite_sim.experiments.one_dimensional_mechanism_r1.solve_r1_dc", + "line": 454, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_r1_numerical_precision.test_original_failure_representatives_complete_without_gate_changes", + "edges": [ + { + "caller": "tests.integration.test_r1_numerical_precision.test_original_failure_representatives_complete_without_gate_changes", + "callee": "perovskite_sim.experiments.one_dimensional_mechanism_r1_state.prepare_common_state", + "line": 26, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.one_dimensional_mechanism_r1_state.prepare_common_state", + "callee": "perovskite_sim.experiments.one_dimensional_mechanism_r1.solve_r1_dc", + "line": 454, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_r1_numerical_precision.test_strict_trace_roundtrips_exact_coordinates_and_physical_equations", + "edges": [ + { + "caller": "tests.integration.test_r1_numerical_precision.test_strict_trace_roundtrips_exact_coordinates_and_physical_equations", + "callee": "perovskite_sim.experiments.one_dimensional_mechanism_r1_state.prepare_common_state", + "line": 43, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.one_dimensional_mechanism_r1_state.prepare_common_state", + "callee": "perovskite_sim.experiments.one_dimensional_mechanism_r1.solve_r1_dc", + "line": 454, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_r1_regular_independence_v4.test_actual_coarse_step_fault_is_rejected_by_computed_physics_not_injected_flags", + "edges": [ + { + "caller": "tests.integration.test_r1_regular_independence_v4.test_actual_coarse_step_fault_is_rejected_by_computed_physics_not_injected_flags", + "callee": "perovskite_sim.experiments.one_dimensional_mechanism_r1_state.prepare_common_state", + "line": 56, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.one_dimensional_mechanism_r1_state.prepare_common_state", + "callee": "perovskite_sim.experiments.one_dimensional_mechanism_r1.solve_r1_dc", + "line": 454, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_r1_v7_precision.test_actual_fine_initialization_short_steps_and_exact_replay", + "edges": [ + { + "caller": "tests.integration.test_r1_v7_precision.test_actual_fine_initialization_short_steps_and_exact_replay", + "callee": "perovskite_sim.experiments.one_dimensional_mechanism_r1_state.prepare_common_state", + "line": 22, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.one_dimensional_mechanism_r1_state.prepare_common_state", + "callee": "perovskite_sim.experiments.one_dimensional_mechanism_r1.solve_r1_dc", + "line": 454, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_r1_v8_ablation.test_actual_short_ablation_and_replay_share_intervention", + "edges": [ + { + "caller": "tests.integration.test_r1_v8_ablation.test_actual_short_ablation_and_replay_share_intervention", + "callee": "perovskite_sim.experiments.one_dimensional_mechanism_r1_state.prepare_common_state", + "line": 22, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.one_dimensional_mechanism_r1_state.prepare_common_state", + "callee": "perovskite_sim.experiments.one_dimensional_mechanism_r1.solve_r1_dc", + "line": 454, + "kind": "call" + } + ] + } + ], + "original_scope_limitations": null, + "active_contract": null, + "obligations": [ + { + "id": "new-source-experiment-43a0424529f1528e", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-43a0424529f1528e.json", + "tasks": [ + "P02-08", + "P07-01", + "P07-02", + "P07-03", + "P07-04", + "P07-05" + ], + "gates": [ + "G2", + "G7" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof", + "per-physical-observable units/norm/reference scale/zero policy and applicable original or prospectively frozen threshold; test truth values do not fill this field", + "original R1 source/table/step and L1/L2/L3 prerequisites; the scalar helper is not an R1 comparator" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-da50e09817d3b66a64b6b314", + "rule-32fe0af5568018bfdfb25792", + "rule-f421649329d077368c936bd9", + "rule-d9c2536b7fdde4c99aed880b", + "rule-20b9cc2de7ab895e527e4cf5", + "rule-2096771e053614efe41e4164", + "rule-196d607e142196a6bfe0b058", + "rule-ca4582e2b07a05c1e7456240", + "rule-241de967da8186aea64f94f6", + "rule-82d1260a06223a03b34de2f6", + "rule-c1d4c62f79a0ecee44754ed2", + "rule-2d64a63b2440982e0065a6e7", + "rule-923594aa5ed6adfbcea272ad", + "rule-2c9e5c76510a4b9fd5820dfa", + "rule-b8ef859045987214fc13bf2d", + "rule-21d1f23f34acb16e082f6d23", + "rule-fbb418ee568180457fb966cb", + "rule-e8f969ca1b5595ece476e28a", + "rule-3dc7664fec6d1c703abd1390", + "rule-34849f6912f0d9e4e08d0b51", + "rule-6aed9d00bb2849fd73701cf5", + "rule-ced0d3960887f0ade5478e6d", + "rule-24a2b27ec6a241c8d77ad34a", + "rule-f3cc5ffed4f66091812f8207", + "rule-d7015536c67304b0046160ee", + "rule-22b5eada3cbbc9e098c12439", + "rule-5a929c19864db50d2838bd69", + "rule-332d22d508304f523189b596", + "rule-2f7c3a0ba33d442a76adce4b", + "rule-dc13949bd51d75441c16d71e", + "rule-05d80d0f9e00c1adeeda81b4", + "rule-aeaa3ca590fc78ab842682d9", + "rule-627fca5ad6ccfb56359579d8", + "rule-c82fab629eef24c9d0f0de06", + "rule-83d9f7064fa4263f35a5cb29", + "rule-7d96422d1ce1064bb2feab8e", + "rule-2d7ea2907819eee66e3dbde2", + "rule-9a27ab40d53275f13381c998", + "rule-5d5aed8eb1be8ba22f70b15b", + "rule-971c2a1064f04ae7cfaa1858", + "rule-8b95a9ae4e240efdfa552108", + "rule-a45457d2a3bdd7c36c0b5786", + "rule-5b0ba95c424d5e278146ee53", + "rule-71119fb1214b6acd43c97102", + "rule-c250200cce56d34455b662e8", + "rule-a4134785361d4e87cde99ed9", + "rule-467b0d5c214a31686a577047", + "rule-69de7870231eaf44eb9230a7", + "rule-244d21ee86a06a5897e5ac84", + "rule-b453a0b155cb6561b340411e", + "rule-af809fad80c784b6af1e5eb2", + "rule-8854c3a2b85a039b77697888", + "rule-f19284d0f8e33f22d6702370", + "rule-859c750142619adcd09951df", + "rule-629bb11ef73d6cf51e474b55", + "rule-3a888f3b80584edbcb9e3c0b", + "rule-3b18d3ee11841a80b13fc6cb", + "rule-8eddd45f2241ee992b72f055", + "rule-fed87e9da182ca40c46a1373", + "rule-213fd4a5b6ef14c7b93ebfb5" + ], + "comparison_scope_id": "scope-experiment-43a0424529f1528e" + }, + { + "capability_id": "experiment-5dc2e7f6a62669ce", + "route_id": "route-eeccc2e764f79cbb", + "origin_key": "experiment:perovskite_sim.experiments.one_dimensional_mechanism_r1_global_reference.solve_global_ion_reference", + "target": { + "capability_id": "experiment-5dc2e7f6a62669ce", + "scope_id": "experiment:perovskite_sim.experiments.one_dimensional_mechanism_r1_global_reference.solve_global_ion_reference", + "kind": "original_scoped_assertions", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_assertions_bound", + "citations": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_global_reference.py", + "symbol": "solve_global_ion_reference" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_global_reference.py", + "symbol": "test_each_actual_fixed_low_word_reaches_global_reference" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_global_reference.py", + "symbol": "test_global_poisson_and_near_cancelling_sg_match_90_digit_laws" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_global_reference.py", + "symbol": "test_rebased_and_global_maps_agree_only_for_a_global_consistent_origin" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_global_reference.py", + "symbol": "test_baseline_adapter_keeps_actual_zero_lows_high_subtraction_and_other_channels" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_global_reference.py", + "symbol": "test_baseline_legacy_label_evaluates_old_law_at_both_actual_high_potentials" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_global_reference.py", + "symbol": "test_baseline_rounds_constraint_before_sg_and_retains_failed_full_root_diagnostic" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_global_reference.py", + "symbol": "test_pair_adapter_keeps_low_difference_v2_bindings_and_ignores_direct_sheet" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_global_reference.py", + "symbol": "test_pair_independent_potential_and_boundary_hooks_remain_effective" + }, + { + "source_id": "archive:results/OneDimensionalMechanism/R1PhysicsDevelopmentV53/LongWindowV1/BaselineV1/Root/RequestV1.json", + "pointer": "/certificate_limits", + "value_sha256": "b54673f86c029ae83e50e67f4befa79e14bcbb6d419e4445c21a77d795d7b2f5" + }, + { + "source_id": "archive:results/OneDimensionalMechanism/R1PhysicsDevelopmentV53/LongWindowV1/BaselineV1/Root/RequestV1.json", + "pointer": "/solver_limits", + "value_sha256": "a46ae3398f9f6d0ab16538b20a6149078f0aaa5e6ca146e98bb960e1942853b1" + }, + { + "source_id": "archive:results/OneDimensionalMechanism/R1PhysicsDevelopmentV53/LongWindowV1/BaselineV1/Root/RequestV1.json", + "pointer": "/case", + "value_sha256": "c6e01ca25280b67ccabd484f51f88e7114731fb2ee182615525dd4431d0c3377" + }, + { + "source_id": "archive:results/OneDimensionalMechanism/R1PhysicsDevelopmentV53/LongWindowV1/BaselineV1/Root/RequestV1.json", + "pointer": "/inputs", + "value_sha256": "6cf2bc4f328e76a56a5cba3cf04418968273f74827b4f2fe3d7cae673e28c034" + } + ], + "original_evidence": [ + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_global_reference.py", + "symbol": "test_each_actual_fixed_low_word_reaches_global_reference" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_r1_global_reference.py::test_each_actual_fixed_low_word_reaches_global_reference", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_global_reference.py", + "symbol": "test_global_poisson_and_near_cancelling_sg_match_90_digit_laws" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_r1_global_reference.py::test_global_poisson_and_near_cancelling_sg_match_90_digit_laws", + "scope_docstring": null, + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_global_reference.py", + "symbol": "test_rebased_and_global_maps_agree_only_for_a_global_consistent_origin" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_r1_global_reference.py::test_rebased_and_global_maps_agree_only_for_a_global_consistent_origin", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_global_reference.py", + "symbol": "test_baseline_adapter_keeps_actual_zero_lows_high_subtraction_and_other_channels" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_r1_global_reference.py::test_baseline_adapter_keeps_actual_zero_lows_high_subtraction_and_other_channels", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_global_reference.py", + "symbol": "test_baseline_legacy_label_evaluates_old_law_at_both_actual_high_potentials" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_r1_global_reference.py::test_baseline_legacy_label_evaluates_old_law_at_both_actual_high_potentials", + "scope_docstring": null, + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_global_reference.py", + "symbol": "test_baseline_rounds_constraint_before_sg_and_retains_failed_full_root_diagnostic" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_r1_global_reference.py::test_baseline_rounds_constraint_before_sg_and_retains_failed_full_root_diagnostic", + "scope_docstring": null, + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_global_reference.py", + "symbol": "test_pair_adapter_keeps_low_difference_v2_bindings_and_ignores_direct_sheet" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_r1_global_reference.py::test_pair_adapter_keeps_low_difference_v2_bindings_and_ignores_direct_sheet", + "scope_docstring": null, + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_global_reference.py", + "symbol": "test_pair_independent_potential_and_boundary_hooks_remain_effective" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_r1_global_reference.py::test_pair_independent_potential_and_boundary_hooks_remain_effective", + "scope_docstring": null, + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + } + ], + "call_chains": [ + { + "test": "tests.unit.experiments.test_r1_global_reference.test_each_actual_fixed_low_word_reaches_global_reference", + "edges": [ + { + "caller": "tests.unit.experiments.test_r1_global_reference.test_each_actual_fixed_low_word_reaches_global_reference", + "callee": "perovskite_sim.experiments.one_dimensional_mechanism_r1_global_reference.solve_global_ion_reference", + "line": 128, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_r1_global_reference.test_global_poisson_and_near_cancelling_sg_match_90_digit_laws", + "edges": [ + { + "caller": "tests.unit.experiments.test_r1_global_reference.test_global_poisson_and_near_cancelling_sg_match_90_digit_laws", + "callee": "perovskite_sim.experiments.one_dimensional_mechanism_r1_global_reference.solve_global_ion_reference", + "line": 104, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_r1_global_reference.test_rebased_and_global_maps_agree_only_for_a_global_consistent_origin", + "edges": [ + { + "caller": "tests.unit.experiments.test_r1_global_reference.test_rebased_and_global_maps_agree_only_for_a_global_consistent_origin", + "callee": "perovskite_sim.experiments.one_dimensional_mechanism_r1_global_reference.solve_global_ion_reference", + "line": 199, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_r1_global_reference.test_baseline_adapter_keeps_actual_zero_lows_high_subtraction_and_other_channels", + "edges": [ + { + "caller": "tests.unit.experiments.test_r1_global_reference.test_baseline_adapter_keeps_actual_zero_lows_high_subtraction_and_other_channels", + "callee": "perovskite_sim.experiments.one_dimensional_mechanism_r1_global_reference.baseline_eliminated_operator_diagnostics", + "line": 223, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.one_dimensional_mechanism_r1_global_reference.baseline_eliminated_operator_diagnostics", + "callee": "perovskite_sim.experiments.one_dimensional_mechanism_r1_global_reference.solve_global_ion_reference", + "line": 361, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_r1_global_reference.test_baseline_legacy_label_evaluates_old_law_at_both_actual_high_potentials", + "edges": [ + { + "caller": "tests.unit.experiments.test_r1_global_reference.test_baseline_legacy_label_evaluates_old_law_at_both_actual_high_potentials", + "callee": "perovskite_sim.experiments.one_dimensional_mechanism_r1_global_reference.baseline_eliminated_operator_diagnostics", + "line": 318, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.one_dimensional_mechanism_r1_global_reference.baseline_eliminated_operator_diagnostics", + "callee": "perovskite_sim.experiments.one_dimensional_mechanism_r1_global_reference.solve_global_ion_reference", + "line": 361, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_r1_global_reference.test_baseline_rounds_constraint_before_sg_and_retains_failed_full_root_diagnostic", + "edges": [ + { + "caller": "tests.unit.experiments.test_r1_global_reference.test_baseline_rounds_constraint_before_sg_and_retains_failed_full_root_diagnostic", + "callee": "perovskite_sim.experiments.one_dimensional_mechanism_r1_global_reference.baseline_eliminated_operator_diagnostics", + "line": 275, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.one_dimensional_mechanism_r1_global_reference.baseline_eliminated_operator_diagnostics", + "callee": "perovskite_sim.experiments.one_dimensional_mechanism_r1_global_reference.solve_global_ion_reference", + "line": 361, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_r1_global_reference.test_pair_adapter_keeps_low_difference_v2_bindings_and_ignores_direct_sheet", + "edges": [ + { + "caller": "tests.unit.experiments.test_r1_global_reference.test_pair_adapter_keeps_low_difference_v2_bindings_and_ignores_direct_sheet", + "callee": "tests.unit.experiments.test_r1_global_reference._pair_case", + "line": 377, + "kind": "call" + }, + { + "caller": "tests.unit.experiments.test_r1_global_reference._pair_case", + "callee": "perovskite_sim.experiments.one_dimensional_mechanism_r1_global_reference.solve_global_ion_reference", + "line": 367, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_r1_global_reference.test_pair_independent_potential_and_boundary_hooks_remain_effective", + "edges": [ + { + "caller": "tests.unit.experiments.test_r1_global_reference.test_pair_independent_potential_and_boundary_hooks_remain_effective", + "callee": "tests.unit.experiments.test_r1_global_reference._pair_case", + "line": 406, + "kind": "call" + }, + { + "caller": "tests.unit.experiments.test_r1_global_reference._pair_case", + "callee": "perovskite_sim.experiments.one_dimensional_mechanism_r1_global_reference.solve_global_ion_reference", + "line": 367, + "kind": "call" + } + ] + } + ], + "original_scope_limitations": null, + "active_contract": null, + "obligations": [ + { + "id": "new-source-experiment-5dc2e7f6a62669ce", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-5dc2e7f6a62669ce.json", + "tasks": [ + "P02-08", + "P07-01", + "P07-02", + "P07-03", + "P07-04", + "P07-05" + ], + "gates": [ + "G2", + "G7" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof", + "per-physical-observable units/norm/reference scale/zero policy and applicable original or prospectively frozen threshold; test truth values do not fill this field", + "original R1 source/table/step and L1/L2/L3 prerequisites; the scalar helper is not an R1 comparator" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-8c7532d97f8ec58249d78331", + "rule-9645eb888252f67827277ba1", + "rule-8310660ae92e2e30fca4d6be", + "rule-0292742cc034c15775c6b697", + "rule-de2700a5ba08d9dc168122ce", + "rule-903d5ca59cbf5f7a38b9cf51", + "rule-2cb4d3d39a0a45c46096c646", + "rule-e111bab9d51420b5552753b6", + "rule-ddc81d013e812341c044ab95", + "rule-1f25b21d1b187f8495ac8596", + "rule-bd5b44441433d72f44d9a289", + "rule-7026c6a6cef0006c3da3722a", + "rule-f3f35cb05da574b6a3d2f42c", + "rule-257d6051cf41a46dba96b822", + "rule-68ed38f9029f7c7431341e81", + "rule-9dc9631e3a32c3df89ca8fe1", + "rule-d4acc4b88474a8086cc8785c", + "rule-34eb4cbadf9565d7fb318634", + "rule-f2eca2de72ef9174487108aa", + "rule-b10a74b44189bb76c6a4bd54", + "rule-a38741d1bdeea3a1780490e6", + "rule-6f6f2562aec28c1224002cb1", + "rule-d7227783aeb28c96b395eeca", + "rule-dfe10222dd95efa1f9d03bda", + "rule-a54ccbfdf05c74efebe1d157", + "rule-eee3bd1bedcfab8d5e7a241b", + "rule-24f43a12d92522e1c696cce5", + "rule-cc1c8b045049012447111bcc", + "rule-f9182e0fd23c715c3e4fa9d5", + "rule-22e6f45dd562a040c2f8beb7", + "rule-64a9f7412baf179f50f450d2", + "rule-607fd9c00cbbac7773cb6c02", + "rule-614847c9cec5a47a59389209", + "rule-8d4310330beec315992cc070", + "rule-9dc3923b33fb3e71cd1ac366", + "rule-8fc212583bdc523dc6e83242", + "rule-1cab4e92d803c49d4b146856", + "rule-31fdd3cbb34e84781a8202c4", + "rule-19921d6c267512b3f89ca834", + "rule-3c410532719a971858ce6352", + "rule-2b014741323762c5285caa6f", + "rule-894be2889e450b0135678a45", + "rule-7c687f72d0ae547f6082be6a", + "rule-973cfc020ff8b0ca33c9272c", + "rule-6a7931f43f16f46454594ae2", + "rule-03456b694b43923eacfae3bc", + "rule-d56ce3d195f703f18c172526", + "rule-0fb112bc6288a06091c10e0b", + "rule-daaab52ca8adf1bd8803c18c", + "rule-f5a78829cd54b28fcddf1ca3", + "rule-ae913f596d606788627be829", + "rule-189de3c3bf19c714fcb72ba9", + "rule-9e88edcf2c0fb73cbf33d9dc", + "rule-927171c49747e0990cf14710", + "rule-42cea6798f8fa85de952c249", + "rule-e2e4b6280d53ff2e4d87b68e", + "rule-b048596a01159f6015697deb" + ], + "comparison_scope_id": "scope-experiment-5dc2e7f6a62669ce" + }, + { + "capability_id": "experiment-79d7d88479557cc0", + "route_id": "route-7e98c4ac49886b90", + "origin_key": "experiment:perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_reference.solve_rebased_ion_reference", + "target": { + "capability_id": "experiment-79d7d88479557cc0", + "scope_id": "experiment:perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_reference.solve_rebased_ion_reference", + "kind": "original_scoped_assertions", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_assertions_bound", + "citations": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift_reference.py", + "symbol": "solve_rebased_ion_reference" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_global_reference.py", + "symbol": "test_rebased_and_global_maps_agree_only_for_a_global_consistent_origin" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_input_lift_reference.py", + "symbol": "test_each_fixed_low_word_changes_the_independent_solution" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_input_lift_reference.py", + "symbol": "test_inputs_own_coefficient_origin_seed_and_fixed_copies" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_input_lift_reference.py", + "symbol": "test_integrated_comparison_preserves_floor_and_rejects_bad_direct_rate" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_input_lift_reference.py", + "symbol": "test_manufactured_absolute_root_and_near_cancelling_sg_match_decimal" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_input_lift_reference.py", + "symbol": "test_solver_requires_the_validated_dto" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_input_lift_reference.py", + "symbol": "test_trial_outputs_and_work_cache_cannot_change_reference" + }, + { + "source_id": "archive:results/OneDimensionalMechanism/R1PhysicsDevelopmentV53/LongWindowV1/BaselineV1/Root/RequestV1.json", + "pointer": "/certificate_limits", + "value_sha256": "b54673f86c029ae83e50e67f4befa79e14bcbb6d419e4445c21a77d795d7b2f5" + }, + { + "source_id": "archive:results/OneDimensionalMechanism/R1PhysicsDevelopmentV53/LongWindowV1/BaselineV1/Root/RequestV1.json", + "pointer": "/solver_limits", + "value_sha256": "a46ae3398f9f6d0ab16538b20a6149078f0aaa5e6ca146e98bb960e1942853b1" + }, + { + "source_id": "archive:results/OneDimensionalMechanism/R1PhysicsDevelopmentV53/LongWindowV1/BaselineV1/Root/RequestV1.json", + "pointer": "/case", + "value_sha256": "c6e01ca25280b67ccabd484f51f88e7114731fb2ee182615525dd4431d0c3377" + }, + { + "source_id": "archive:results/OneDimensionalMechanism/R1PhysicsDevelopmentV53/LongWindowV1/BaselineV1/Root/RequestV1.json", + "pointer": "/inputs", + "value_sha256": "6cf2bc4f328e76a56a5cba3cf04418968273f74827b4f2fe3d7cae673e28c034" + } + ], + "original_evidence": [ + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_global_reference.py", + "symbol": "test_rebased_and_global_maps_agree_only_for_a_global_consistent_origin" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_r1_global_reference.py::test_rebased_and_global_maps_agree_only_for_a_global_consistent_origin", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_input_lift_reference.py", + "symbol": "test_each_fixed_low_word_changes_the_independent_solution" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_r1_input_lift_reference.py::test_each_fixed_low_word_changes_the_independent_solution", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_input_lift_reference.py", + "symbol": "test_inputs_own_coefficient_origin_seed_and_fixed_copies" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_r1_input_lift_reference.py::test_inputs_own_coefficient_origin_seed_and_fixed_copies", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_input_lift_reference.py", + "symbol": "test_integrated_comparison_preserves_floor_and_rejects_bad_direct_rate" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_r1_input_lift_reference.py::test_integrated_comparison_preserves_floor_and_rejects_bad_direct_rate", + "scope_docstring": null, + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_input_lift_reference.py", + "symbol": "test_manufactured_absolute_root_and_near_cancelling_sg_match_decimal" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_r1_input_lift_reference.py::test_manufactured_absolute_root_and_near_cancelling_sg_match_decimal", + "scope_docstring": null, + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_input_lift_reference.py", + "symbol": "test_solver_requires_the_validated_dto" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_r1_input_lift_reference.py::test_solver_requires_the_validated_dto", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_input_lift_reference.py", + "symbol": "test_trial_outputs_and_work_cache_cannot_change_reference" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_r1_input_lift_reference.py::test_trial_outputs_and_work_cache_cannot_change_reference", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + } + ], + "call_chains": [ + { + "test": "tests.unit.experiments.test_r1_global_reference.test_rebased_and_global_maps_agree_only_for_a_global_consistent_origin", + "edges": [ + { + "caller": "tests.unit.experiments.test_r1_global_reference.test_rebased_and_global_maps_agree_only_for_a_global_consistent_origin", + "callee": "perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_reference.solve_rebased_ion_reference", + "line": 200, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_r1_input_lift_reference.test_each_fixed_low_word_changes_the_independent_solution", + "edges": [ + { + "caller": "tests.unit.experiments.test_r1_input_lift_reference.test_each_fixed_low_word_changes_the_independent_solution", + "callee": "perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_reference.solve_rebased_ion_reference", + "line": 158, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_r1_input_lift_reference.test_inputs_own_coefficient_origin_seed_and_fixed_copies", + "edges": [ + { + "caller": "tests.unit.experiments.test_r1_input_lift_reference.test_inputs_own_coefficient_origin_seed_and_fixed_copies", + "callee": "perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_reference.solve_rebased_ion_reference", + "line": 208, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_r1_input_lift_reference.test_integrated_comparison_preserves_floor_and_rejects_bad_direct_rate", + "edges": [ + { + "caller": "tests.unit.experiments.test_r1_input_lift_reference.test_integrated_comparison_preserves_floor_and_rejects_bad_direct_rate", + "callee": "perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_reference.solve_rebased_ion_reference", + "line": 297, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_r1_input_lift_reference.test_manufactured_absolute_root_and_near_cancelling_sg_match_decimal", + "edges": [ + { + "caller": "tests.unit.experiments.test_r1_input_lift_reference.test_manufactured_absolute_root_and_near_cancelling_sg_match_decimal", + "callee": "perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_reference.solve_rebased_ion_reference", + "line": 124, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_r1_input_lift_reference.test_solver_requires_the_validated_dto", + "edges": [ + { + "caller": "tests.unit.experiments.test_r1_input_lift_reference.test_solver_requires_the_validated_dto", + "callee": "perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_reference.solve_rebased_ion_reference", + "line": 290, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_r1_input_lift_reference.test_trial_outputs_and_work_cache_cannot_change_reference", + "edges": [ + { + "caller": "tests.unit.experiments.test_r1_input_lift_reference.test_trial_outputs_and_work_cache_cannot_change_reference", + "callee": "perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_reference.solve_rebased_ion_reference", + "line": 174, + "kind": "call" + } + ] + } + ], + "original_scope_limitations": null, + "active_contract": null, + "obligations": [ + { + "id": "new-source-experiment-79d7d88479557cc0", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-79d7d88479557cc0.json", + "tasks": [ + "P00-04", + "P01-01", + "P01-02", + "P01-03", + "P02-08", + "P07-01", + "P07-02", + "P07-03", + "P07-04", + "P07-05" + ], + "gates": [ + "G0", + "G1", + "G2", + "G7" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof", + "per-physical-observable units/norm/reference scale/zero policy and applicable original or prospectively frozen threshold; test truth values do not fill this field", + "original R1 source/table/step and L1/L2/L3 prerequisites; the scalar helper is not an R1 comparator" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-e111bab9d51420b5552753b6", + "rule-ddc81d013e812341c044ab95", + "rule-acc972214570c2cf8bb609b0", + "rule-fd3bfd684dd08cab6f01e5f8", + "rule-45e6a2cc892ea96d66e12739", + "rule-52e0e53eaa5557ad36d3c207", + "rule-ad0229bfaf15c8126bf70f6c", + "rule-1b5465f5dc606494878fd493", + "rule-20c56cde7d297f248a4cc5f8", + "rule-78fe3c27930ad51699466992", + "rule-3108c34c285b022410840ad0", + "rule-e587a45a678178a05656d19e", + "rule-c50a741abb354c446c566631", + "rule-91e48b57a85d17cfe1d0ba73", + "rule-f317e406e78c1de98fc1712c", + "rule-0927ce684d10638ea7b48e18", + "rule-d72473ba2b12fd2fbfc29ec9", + "rule-dcfade992bb01456185dc7e4", + "rule-50b4d85f4c2ad925aeef98a5", + "rule-27b6d25caf109809cd808698", + "rule-d4bf6ad4ee97e989ceac94a9", + "rule-762a701f907e02ef65bc4010", + "rule-3e5f3376e54246896f870eba", + "rule-3c9ddcfcc1a3fa42b1738fa2", + "rule-7f63ae7e3f9d8c1f6bcdd7ea", + "rule-43ab2da4b766b4d2cae75265" + ], + "comparison_scope_id": "scope-experiment-79d7d88479557cc0" + }, + { + "capability_id": "experiment-f13798efea3b69ba", + "route_id": "route-883887b3dfdfe620", + "origin_key": "experiment:perovskite_sim.experiments.one_dimensional_mechanism_r1_pair_codec.prepare_pair_state", + "target": { + "capability_id": "experiment-f13798efea3b69ba", + "scope_id": "experiment:perovskite_sim.experiments.one_dimensional_mechanism_r1_pair_codec.prepare_pair_state", + "kind": "original_scoped_assertions", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_assertions_bound", + "citations": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_pair_codec.py", + "symbol": "prepare_pair_state" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_v9_pair_codec.py", + "symbol": "test_failed_fine_preparation_retains_full_state_seed_and_original_gates" + }, + { + "source_id": "archive:results/OneDimensionalMechanism/R1PhysicsDevelopmentV53/LongWindowV1/BaselineV1/Root/RequestV1.json", + "pointer": "/certificate_limits", + "value_sha256": "b54673f86c029ae83e50e67f4befa79e14bcbb6d419e4445c21a77d795d7b2f5" + }, + { + "source_id": "archive:results/OneDimensionalMechanism/R1PhysicsDevelopmentV53/LongWindowV1/BaselineV1/Root/RequestV1.json", + "pointer": "/solver_limits", + "value_sha256": "a46ae3398f9f6d0ab16538b20a6149078f0aaa5e6ca146e98bb960e1942853b1" + }, + { + "source_id": "archive:results/OneDimensionalMechanism/R1PhysicsDevelopmentV53/LongWindowV1/BaselineV1/Root/RequestV1.json", + "pointer": "/case", + "value_sha256": "c6e01ca25280b67ccabd484f51f88e7114731fb2ee182615525dd4431d0c3377" + }, + { + "source_id": "archive:results/OneDimensionalMechanism/R1PhysicsDevelopmentV53/LongWindowV1/BaselineV1/Root/RequestV1.json", + "pointer": "/inputs", + "value_sha256": "6cf2bc4f328e76a56a5cba3cf04418968273f74827b4f2fe3d7cae673e28c034" + } + ], + "original_evidence": [ + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_v9_pair_codec.py", + "symbol": "test_failed_fine_preparation_retains_full_state_seed_and_original_gates" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_r1_v9_pair_codec.py::test_failed_fine_preparation_retains_full_state_seed_and_original_gates", + "scope_docstring": null, + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + } + ], + "call_chains": [ + { + "test": "tests.unit.experiments.test_r1_v9_pair_codec.test_failed_fine_preparation_retains_full_state_seed_and_original_gates", + "edges": [ + { + "caller": "tests.unit.experiments.test_r1_v9_pair_codec.test_failed_fine_preparation_retains_full_state_seed_and_original_gates", + "callee": "perovskite_sim.experiments.one_dimensional_mechanism_r1_pair_codec.prepare_pair_state", + "line": 202, + "kind": "call" + } + ] + } + ], + "original_scope_limitations": null, + "active_contract": null, + "obligations": [ + { + "id": "new-source-experiment-f13798efea3b69ba", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-f13798efea3b69ba.json", + "tasks": [ + "P02-08", + "P07-01", + "P07-02", + "P07-03", + "P07-04", + "P07-05" + ], + "gates": [ + "G2", + "G7" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof", + "per-physical-observable units/norm/reference scale/zero policy and applicable original or prospectively frozen threshold; test truth values do not fill this field", + "original R1 source/table/step and L1/L2/L3 prerequisites; the scalar helper is not an R1 comparator" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-a1c642537f7391219ef4e141", + "rule-348bcefd14d26bd3238678d1", + "rule-896f8c712da299bd4c298659", + "rule-acb523625c43d8d14b4ae190", + "rule-14315affe15319619ec7e31b" + ], + "comparison_scope_id": "scope-experiment-f13798efea3b69ba" + }, + { + "capability_id": "experiment-4f8f2c0e1fbe098f", + "route_id": "route-f05686ba301ff5b5", + "origin_key": "experiment:perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.solve_independent_poisson", + "target": { + "capability_id": "experiment-4f8f2c0e1fbe098f", + "scope_id": "experiment:perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.solve_independent_poisson", + "kind": "original_scoped_assertions", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_assertions_bound", + "citations": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_precision.py", + "symbol": "solve_independent_poisson" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_v9_backend.py", + "symbol": "test_independent_constraint_solver_cannot_read_direct_outputs" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_global_reference.py", + "symbol": "test_each_actual_fixed_low_word_reaches_global_reference" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_global_reference.py", + "symbol": "test_global_poisson_and_near_cancelling_sg_match_90_digit_laws" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_global_reference.py", + "symbol": "test_rebased_and_global_maps_agree_only_for_a_global_consistent_origin" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_one_dimensional_mechanism_r1_state.py", + "symbol": "test_forged_dc_pass_flag_does_not_replace_live_equations" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_baseline_initial.py", + "symbol": "test_make_system_preserves_import_path_and_builds_local_state_once" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_baseline_initial.py", + "symbol": "test_initial_solver_failure_has_no_second_attempt_or_old_potential_fallback" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_baseline_initial.py", + "symbol": "test_only_rounded_potential_reaches_original_binary64_population_map" + }, + { + "source_id": "archive:results/OneDimensionalMechanism/R1PhysicsDevelopmentV53/LongWindowV1/BaselineV1/Root/RequestV1.json", + "pointer": "/certificate_limits", + "value_sha256": "b54673f86c029ae83e50e67f4befa79e14bcbb6d419e4445c21a77d795d7b2f5" + }, + { + "source_id": "archive:results/OneDimensionalMechanism/R1PhysicsDevelopmentV53/LongWindowV1/BaselineV1/Root/RequestV1.json", + "pointer": "/solver_limits", + "value_sha256": "a46ae3398f9f6d0ab16538b20a6149078f0aaa5e6ca146e98bb960e1942853b1" + }, + { + "source_id": "archive:results/OneDimensionalMechanism/R1PhysicsDevelopmentV53/LongWindowV1/BaselineV1/Root/RequestV1.json", + "pointer": "/case", + "value_sha256": "c6e01ca25280b67ccabd484f51f88e7114731fb2ee182615525dd4431d0c3377" + }, + { + "source_id": "archive:results/OneDimensionalMechanism/R1PhysicsDevelopmentV53/LongWindowV1/BaselineV1/Root/RequestV1.json", + "pointer": "/inputs", + "value_sha256": "6cf2bc4f328e76a56a5cba3cf04418968273f74827b4f2fe3d7cae673e28c034" + } + ], + "original_evidence": [ + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_v9_backend.py", + "symbol": "test_independent_constraint_solver_cannot_read_direct_outputs" + }, + "test_node": "perovskite-sim/tests/integration/test_r1_v9_backend.py::test_independent_constraint_solver_cannot_read_direct_outputs", + "scope_docstring": null, + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_global_reference.py", + "symbol": "test_each_actual_fixed_low_word_reaches_global_reference" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_r1_global_reference.py::test_each_actual_fixed_low_word_reaches_global_reference", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_global_reference.py", + "symbol": "test_global_poisson_and_near_cancelling_sg_match_90_digit_laws" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_r1_global_reference.py::test_global_poisson_and_near_cancelling_sg_match_90_digit_laws", + "scope_docstring": null, + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_global_reference.py", + "symbol": "test_rebased_and_global_maps_agree_only_for_a_global_consistent_origin" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_r1_global_reference.py::test_rebased_and_global_maps_agree_only_for_a_global_consistent_origin", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_one_dimensional_mechanism_r1_state.py", + "symbol": "test_forged_dc_pass_flag_does_not_replace_live_equations" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_one_dimensional_mechanism_r1_state.py::test_forged_dc_pass_flag_does_not_replace_live_equations", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_baseline_initial.py", + "symbol": "test_make_system_preserves_import_path_and_builds_local_state_once" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_r1_baseline_initial.py::test_make_system_preserves_import_path_and_builds_local_state_once", + "scope_docstring": null, + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_baseline_initial.py", + "symbol": "test_initial_solver_failure_has_no_second_attempt_or_old_potential_fallback" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_r1_baseline_initial.py::test_initial_solver_failure_has_no_second_attempt_or_old_potential_fallback", + "scope_docstring": null, + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_baseline_initial.py", + "symbol": "test_only_rounded_potential_reaches_original_binary64_population_map" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_r1_baseline_initial.py::test_only_rounded_potential_reaches_original_binary64_population_map", + "scope_docstring": null, + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + } + ], + "call_chains": [ + { + "test": "tests.integration.test_r1_v9_backend.test_independent_constraint_solver_cannot_read_direct_outputs", + "edges": [ + { + "caller": "tests.integration.test_r1_v9_backend.test_independent_constraint_solver_cannot_read_direct_outputs", + "callee": "perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.solve_independent_poisson", + "line": 184, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_r1_global_reference.test_each_actual_fixed_low_word_reaches_global_reference", + "edges": [ + { + "caller": "tests.unit.experiments.test_r1_global_reference.test_each_actual_fixed_low_word_reaches_global_reference", + "callee": "perovskite_sim.experiments.one_dimensional_mechanism_r1_global_reference.solve_global_ion_reference", + "line": 128, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.one_dimensional_mechanism_r1_global_reference.solve_global_ion_reference", + "callee": "perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.solve_independent_poisson", + "line": 338, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_r1_global_reference.test_global_poisson_and_near_cancelling_sg_match_90_digit_laws", + "edges": [ + { + "caller": "tests.unit.experiments.test_r1_global_reference.test_global_poisson_and_near_cancelling_sg_match_90_digit_laws", + "callee": "perovskite_sim.experiments.one_dimensional_mechanism_r1_global_reference.solve_global_ion_reference", + "line": 104, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.one_dimensional_mechanism_r1_global_reference.solve_global_ion_reference", + "callee": "perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.solve_independent_poisson", + "line": 338, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_r1_global_reference.test_rebased_and_global_maps_agree_only_for_a_global_consistent_origin", + "edges": [ + { + "caller": "tests.unit.experiments.test_r1_global_reference.test_rebased_and_global_maps_agree_only_for_a_global_consistent_origin", + "callee": "perovskite_sim.experiments.one_dimensional_mechanism_r1_global_reference.solve_global_ion_reference", + "line": 199, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.one_dimensional_mechanism_r1_global_reference.solve_global_ion_reference", + "callee": "perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.solve_independent_poisson", + "line": 338, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_one_dimensional_mechanism_r1_state.test_forged_dc_pass_flag_does_not_replace_live_equations", + "edges": [ + { + "caller": "tests.unit.experiments.test_one_dimensional_mechanism_r1_state.test_forged_dc_pass_flag_does_not_replace_live_equations", + "callee": "perovskite_sim.experiments.one_dimensional_mechanism_r1_state._make_system", + "line": 409, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.one_dimensional_mechanism_r1_state._make_system", + "callee": "perovskite_sim.experiments.one_dimensional_mechanism_r1_baseline_initial.canonicalize_baseline_initial_dc", + "line": 248, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.one_dimensional_mechanism_r1_baseline_initial.canonicalize_baseline_initial_dc", + "callee": "perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.solve_independent_poisson", + "line": 90, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_r1_baseline_initial.test_make_system_preserves_import_path_and_builds_local_state_once", + "edges": [ + { + "caller": "tests.unit.experiments.test_r1_baseline_initial.test_make_system_preserves_import_path_and_builds_local_state_once", + "callee": "perovskite_sim.experiments.one_dimensional_mechanism_r1_state._make_system", + "line": 166, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.one_dimensional_mechanism_r1_state._make_system", + "callee": "perovskite_sim.experiments.one_dimensional_mechanism_r1_baseline_initial.canonicalize_baseline_initial_dc", + "line": 248, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.one_dimensional_mechanism_r1_baseline_initial.canonicalize_baseline_initial_dc", + "callee": "perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.solve_independent_poisson", + "line": 90, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_r1_baseline_initial.test_initial_solver_failure_has_no_second_attempt_or_old_potential_fallback", + "edges": [ + { + "caller": "tests.unit.experiments.test_r1_baseline_initial.test_initial_solver_failure_has_no_second_attempt_or_old_potential_fallback", + "callee": "tests.unit.experiments.test_r1_baseline_initial._canonicalize", + "line": 139, + "kind": "call" + }, + { + "caller": "tests.unit.experiments.test_r1_baseline_initial._canonicalize", + "callee": "perovskite_sim.experiments.one_dimensional_mechanism_r1_baseline_initial.canonicalize_baseline_initial_dc", + "line": 59, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.one_dimensional_mechanism_r1_baseline_initial.canonicalize_baseline_initial_dc", + "callee": "perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.solve_independent_poisson", + "line": 90, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_r1_baseline_initial.test_only_rounded_potential_reaches_original_binary64_population_map", + "edges": [ + { + "caller": "tests.unit.experiments.test_r1_baseline_initial.test_only_rounded_potential_reaches_original_binary64_population_map", + "callee": "tests.unit.experiments.test_r1_baseline_initial._canonicalize", + "line": 76, + "kind": "call" + }, + { + "caller": "tests.unit.experiments.test_r1_baseline_initial._canonicalize", + "callee": "perovskite_sim.experiments.one_dimensional_mechanism_r1_baseline_initial.canonicalize_baseline_initial_dc", + "line": 59, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.one_dimensional_mechanism_r1_baseline_initial.canonicalize_baseline_initial_dc", + "callee": "perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.solve_independent_poisson", + "line": 90, + "kind": "call" + } + ] + } + ], + "original_scope_limitations": null, + "active_contract": null, + "obligations": [ + { + "id": "new-source-experiment-4f8f2c0e1fbe098f", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-4f8f2c0e1fbe098f.json", + "tasks": [ + "P02-08", + "P07-01", + "P07-02", + "P07-03", + "P07-04", + "P07-05" + ], + "gates": [ + "G2", + "G7" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof", + "per-physical-observable units/norm/reference scale/zero policy and applicable original or prospectively frozen threshold; test truth values do not fill this field", + "original R1 source/table/step and L1/L2/L3 prerequisites; the scalar helper is not an R1 comparator" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-18035c6f24eb280c3ba52201", + "rule-962865ce7ff99640047fdd38", + "rule-dec8778fd93738a48c734b59", + "rule-f1e8277ea5c947306b543ddd", + "rule-43b81422608a57d46f3c2071", + "rule-0fb12a39ea080095926e6fc4", + "rule-5ab75f7a9d0e32b95caea5df", + "rule-51b3e6bf3cf123cf8cefb31e", + "rule-1301cccdf47ab7c539e70259", + "rule-8c7532d97f8ec58249d78331", + "rule-9645eb888252f67827277ba1", + "rule-8310660ae92e2e30fca4d6be", + "rule-0292742cc034c15775c6b697", + "rule-de2700a5ba08d9dc168122ce", + "rule-903d5ca59cbf5f7a38b9cf51", + "rule-2cb4d3d39a0a45c46096c646", + "rule-e111bab9d51420b5552753b6", + "rule-ddc81d013e812341c044ab95", + "rule-ba6f70808f31e5b2e50d140f", + "rule-fabdad100eb6299906d2af9a", + "rule-d6d8c405ea3b93a911f48540", + "rule-0aef98e11b33d25ea7e6209e", + "rule-3bb3afbd7ba5aba2badebee5", + "rule-e3aeb909c72727c4a921bd73", + "rule-48d8499e9e5274400f89cc5b", + "rule-62e996a3e89c3b47d20a4019", + "rule-2cfaea4babb6bf8740dbaeaa", + "rule-698a13b74cd9890c751a922a", + "rule-96986a19caf094a06a86bda0", + "rule-fc7a92b812c8534c2521aea9", + "rule-c02e191fa00929ef602a1612", + "rule-1ca66396190a8874bbfec03f", + "rule-0aaaea5111c809634cf5226b", + "rule-c988643e6cf5de0c3a5aed55", + "rule-7c815c861be28a18be27c365", + "rule-583e72804a0f54f9b4c6791d", + "rule-5f8db9692652f3bf21654539" + ], + "comparison_scope_id": "scope-experiment-4f8f2c0e1fbe098f" + }, + { + "capability_id": "experiment-089f551cef6acbef", + "route_id": "route-5574a77d963b18e7", + "origin_key": "experiment:perovskite_sim.experiments.one_dimensional_mechanism_r1_protocol.run_r1_step", + "target": { + "capability_id": "experiment-089f551cef6acbef", + "scope_id": "experiment:perovskite_sim.experiments.one_dimensional_mechanism_r1_protocol.run_r1_step", + "kind": "original_scoped_assertions", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_assertions_bound", + "citations": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_protocol.py", + "symbol": "run_r1_step" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_physics_validation.py", + "symbol": "test_opt_in_recording_preserves_all_original_numerical_results" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_physics_validation.py", + "symbol": "test_reconstruction_failure_preserves_observed_state_and_coordinates" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_protocol.py", + "symbol": "test_all_physical_failures_reach_observer_and_survive_persistence_error" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_protocol.py", + "symbol": "test_controlled_step_retains_common_state_and_separates_impulse" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_protocol.py", + "symbol": "test_failed_physical_step_retains_accepted_partial_evidence" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_protocol.py", + "symbol": "test_final_regular_current_nonfinite_evidence_cannot_reach_digest" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_protocol.py", + "symbol": "test_independent_time_settings_execute_each_nested_level" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_protocol.py", + "symbol": "test_initial_numeric_failure_retains_underlying_residuals" + }, + { + "source_id": "archive:results/OneDimensionalMechanism/R1PhysicsDevelopmentV53/LongWindowV1/BaselineV1/Root/RequestV1.json", + "pointer": "/certificate_limits", + "value_sha256": "b54673f86c029ae83e50e67f4befa79e14bcbb6d419e4445c21a77d795d7b2f5" + }, + { + "source_id": "archive:results/OneDimensionalMechanism/R1PhysicsDevelopmentV53/LongWindowV1/BaselineV1/Root/RequestV1.json", + "pointer": "/solver_limits", + "value_sha256": "a46ae3398f9f6d0ab16538b20a6149078f0aaa5e6ca146e98bb960e1942853b1" + }, + { + "source_id": "archive:results/OneDimensionalMechanism/R1PhysicsDevelopmentV53/LongWindowV1/BaselineV1/Root/RequestV1.json", + "pointer": "/case", + "value_sha256": "c6e01ca25280b67ccabd484f51f88e7114731fb2ee182615525dd4431d0c3377" + }, + { + "source_id": "archive:results/OneDimensionalMechanism/R1PhysicsDevelopmentV53/LongWindowV1/BaselineV1/Root/RequestV1.json", + "pointer": "/inputs", + "value_sha256": "6cf2bc4f328e76a56a5cba3cf04418968273f74827b4f2fe3d7cae673e28c034" + } + ], + "original_evidence": [ + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_physics_validation.py", + "symbol": "test_opt_in_recording_preserves_all_original_numerical_results" + }, + "test_node": "perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_physics_validation.py::test_opt_in_recording_preserves_all_original_numerical_results", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_physics_validation.py", + "symbol": "test_reconstruction_failure_preserves_observed_state_and_coordinates" + }, + "test_node": "perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_physics_validation.py::test_reconstruction_failure_preserves_observed_state_and_coordinates", + "scope_docstring": null, + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_protocol.py", + "symbol": "test_all_physical_failures_reach_observer_and_survive_persistence_error" + }, + "test_node": "perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_protocol.py::test_all_physical_failures_reach_observer_and_survive_persistence_error", + "scope_docstring": null, + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_protocol.py", + "symbol": "test_controlled_step_retains_common_state_and_separates_impulse" + }, + "test_node": "perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_protocol.py::test_controlled_step_retains_common_state_and_separates_impulse", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_protocol.py", + "symbol": "test_failed_physical_step_retains_accepted_partial_evidence" + }, + "test_node": "perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_protocol.py::test_failed_physical_step_retains_accepted_partial_evidence", + "scope_docstring": null, + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_protocol.py", + "symbol": "test_final_regular_current_nonfinite_evidence_cannot_reach_digest" + }, + "test_node": "perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_protocol.py::test_final_regular_current_nonfinite_evidence_cannot_reach_digest", + "scope_docstring": null, + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_protocol.py", + "symbol": "test_independent_time_settings_execute_each_nested_level" + }, + "test_node": "perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_protocol.py::test_independent_time_settings_execute_each_nested_level", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_protocol.py", + "symbol": "test_initial_numeric_failure_retains_underlying_residuals" + }, + "test_node": "perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_protocol.py::test_initial_numeric_failure_retains_underlying_residuals", + "scope_docstring": null, + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + } + ], + "call_chains": [ + { + "test": "tests.integration.test_one_dimensional_mechanism_r1_physics_validation.test_opt_in_recording_preserves_all_original_numerical_results", + "edges": [ + { + "caller": "tests.integration.test_one_dimensional_mechanism_r1_physics_validation.test_opt_in_recording_preserves_all_original_numerical_results", + "callee": "perovskite_sim.experiments.one_dimensional_mechanism_r1_protocol.run_r1_step", + "line": 58, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_one_dimensional_mechanism_r1_physics_validation.test_reconstruction_failure_preserves_observed_state_and_coordinates", + "edges": [ + { + "caller": "tests.integration.test_one_dimensional_mechanism_r1_physics_validation.test_reconstruction_failure_preserves_observed_state_and_coordinates", + "callee": "perovskite_sim.experiments.one_dimensional_mechanism_r1_protocol.run_r1_step", + "line": 278, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_one_dimensional_mechanism_r1_protocol.test_all_physical_failures_reach_observer_and_survive_persistence_error", + "edges": [ + { + "caller": "tests.integration.test_one_dimensional_mechanism_r1_protocol.test_all_physical_failures_reach_observer_and_survive_persistence_error", + "callee": "perovskite_sim.experiments.one_dimensional_mechanism_r1_protocol.run_r1_step", + "line": 221, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_one_dimensional_mechanism_r1_protocol.test_controlled_step_retains_common_state_and_separates_impulse", + "edges": [ + { + "caller": "tests.integration.test_one_dimensional_mechanism_r1_protocol.test_controlled_step_retains_common_state_and_separates_impulse", + "callee": "perovskite_sim.experiments.one_dimensional_mechanism_r1_protocol.run_r1_step", + "line": 30, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_one_dimensional_mechanism_r1_protocol.test_failed_physical_step_retains_accepted_partial_evidence", + "edges": [ + { + "caller": "tests.integration.test_one_dimensional_mechanism_r1_protocol.test_failed_physical_step_retains_accepted_partial_evidence", + "callee": "perovskite_sim.experiments.one_dimensional_mechanism_r1_protocol.run_r1_step", + "line": 140, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_one_dimensional_mechanism_r1_protocol.test_final_regular_current_nonfinite_evidence_cannot_reach_digest", + "edges": [ + { + "caller": "tests.integration.test_one_dimensional_mechanism_r1_protocol.test_final_regular_current_nonfinite_evidence_cannot_reach_digest", + "callee": "perovskite_sim.experiments.one_dimensional_mechanism_r1_protocol.run_r1_step", + "line": 372, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_one_dimensional_mechanism_r1_protocol.test_independent_time_settings_execute_each_nested_level", + "edges": [ + { + "caller": "tests.integration.test_one_dimensional_mechanism_r1_protocol.test_independent_time_settings_execute_each_nested_level", + "callee": "perovskite_sim.experiments.one_dimensional_mechanism_r1_protocol.run_r1_step", + "line": 114, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_one_dimensional_mechanism_r1_protocol.test_initial_numeric_failure_retains_underlying_residuals", + "edges": [ + { + "caller": "tests.integration.test_one_dimensional_mechanism_r1_protocol.test_initial_numeric_failure_retains_underlying_residuals", + "callee": "perovskite_sim.experiments.one_dimensional_mechanism_r1_protocol.run_r1_step", + "line": 449, + "kind": "call" + } + ] + } + ], + "original_scope_limitations": null, + "active_contract": null, + "obligations": [ + { + "id": "new-source-experiment-089f551cef6acbef", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-089f551cef6acbef.json", + "tasks": [ + "P01-04", + "P02-08", + "P07-01", + "P07-02", + "P07-03", + "P07-04", + "P07-05" + ], + "gates": [ + "G1", + "G2", + "G7" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof", + "per-physical-observable units/norm/reference scale/zero policy and applicable original or prospectively frozen threshold; test truth values do not fill this field", + "original R1 source/table/step and L1/L2/L3 prerequisites; the scalar helper is not an R1 comparator" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-ca4582e2b07a05c1e7456240", + "rule-241de967da8186aea64f94f6", + "rule-82d1260a06223a03b34de2f6", + "rule-c1d4c62f79a0ecee44754ed2", + "rule-2d64a63b2440982e0065a6e7", + "rule-923594aa5ed6adfbcea272ad", + "rule-2c9e5c76510a4b9fd5820dfa", + "rule-b8ef859045987214fc13bf2d", + "rule-21d1f23f34acb16e082f6d23", + "rule-fbb418ee568180457fb966cb", + "rule-e8f969ca1b5595ece476e28a", + "rule-3dc7664fec6d1c703abd1390", + "rule-0cbfe5da422e6bab27845f4a", + "rule-acaf09c30bea0d384b374fc7", + "rule-9b27fde919a54e11008c32d6", + "rule-16f031d8ce17b6859ad7217e", + "rule-8e7d49a1e2cc43c5e1fd95bc", + "rule-75552a6d5b82e64d625844ed", + "rule-db837e32ab55b19587d1ef8d", + "rule-51f489afb3275418b6595161", + "rule-1949fdb72f01c77729de97a9", + "rule-7163a19a4b4b815b0e20044f", + "rule-b8d0b815b4576768c1915b9c", + "rule-1b292a9f4eef78cb7ad3f047", + "rule-f8c209b49b22164c9b0b5eca", + "rule-ac8aacb12cdf5b9487ad6a93", + "rule-7d9f9ae9f7d9f80e3d548dd6", + "rule-7ec54a17922cb04ddc58e29f", + "rule-237ec70a56f99a6afa38653b", + "rule-aa1135d67f09d5f612c5f280", + "rule-c078c4d24d5b5838d9f6b749", + "rule-93815077956c2da6e5738c1d", + "rule-e6193e9c51658f8efb83e94e", + "rule-5c6f6e65b8a1f5c6fbef2f52", + "rule-cad141fcac47250be3ca5c98", + "rule-3ed7d67ba5b244854d8f773a", + "rule-428e45c56fa63fe50ab1e26f", + "rule-cfc7c6cd9588f42cde9e8ac5", + "rule-f65a9bd929f4a067e99798c6", + "rule-5b103704149d7e59cea6f101", + "rule-bb73f66922dd32fde493dfb7", + "rule-fb0c2e79b639c68923f1ae17", + "rule-3d09a67e267a6cfaa1994194", + "rule-02bad7033986c1e29fce437e", + "rule-71521f9d6f1b81a0a7f08e77", + "rule-387e4cf5bbf722142ec5b94a", + "rule-c0572e1e5a65e2c284c4c4cd", + "rule-e63ccf6d894e0f0f56e60b25", + "rule-7c34c414befc8c33d7fab454", + "rule-b18afc17a4f980854f315524", + "rule-cb3830642853954ee344a785", + "rule-146967a990dd2d78707ce384", + "rule-8062dd4a7dbbebd3eaa553fa", + "rule-a5dbc58a40213efd8bd9a158", + "rule-1e3ff934d117562ed82cf5ff", + "rule-857994757a47c6e2c566750f", + "rule-e9952704fb164c381ddfc0a8", + "rule-820efedb8b5403c40c1fac6b", + "rule-6059efd52fcbc11d4a4bad94", + "rule-927e07cdd6ee13f6b9048703", + "rule-9fc09ee85dc120f41857bb9b", + "rule-74d2270cf64252fda09aeb7a", + "rule-0ee3d37358d181869dfebb76", + "rule-97a063803fa9d31ace4f6824" + ], + "comparison_scope_id": "scope-experiment-089f551cef6acbef" + }, + { + "capability_id": "experiment-be0a906d081824ea", + "route_id": "route-16e41e21eea34bf8", + "origin_key": "experiment:perovskite_sim.experiments.one_dimensional_mechanism_r1_response.solve_controlled_dc", + "target": { + "capability_id": "experiment-be0a906d081824ea", + "scope_id": "experiment:perovskite_sim.experiments.one_dimensional_mechanism_r1_response.solve_controlled_dc", + "kind": "original_scoped_assertions", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_assertions_bound", + "citations": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_response.py", + "symbol": "solve_controlled_dc" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_response.py", + "symbol": "test_biased_dc_retains_frozen_species_and_inventory" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_response.py", + "symbol": "test_frozen_ac_species_stay_fixed" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_response.py", + "symbol": "test_interface_only_tail_mismatch_is_rejected" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_response.py", + "symbol": "test_tail_comparison_keeps_unknown_infinite_tail_and_checks_identity" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_one_dimensional_mechanism_r1_state.py", + "symbol": "test_saved_dc_restore_checks_physics_without_running_a_new_dc_solve" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_post_execution_request_v4.py", + "symbol": "test_derived_phase_rejects_real_preparation_and_dc_entry_points_before_solving" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_v11_response.py", + "symbol": "test_actual_controlled_dc_preserves_frozen_pair_populations" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_one_dimensional_mechanism_r1_response.py", + "symbol": "test_dc_endpoint_ladder_subtracts_baseline_without_claiming_linearity" + }, + { + "source_id": "archive:results/OneDimensionalMechanism/R1PhysicsDevelopmentV53/LongWindowV1/BaselineV1/Root/RequestV1.json", + "pointer": "/certificate_limits", + "value_sha256": "b54673f86c029ae83e50e67f4befa79e14bcbb6d419e4445c21a77d795d7b2f5" + }, + { + "source_id": "archive:results/OneDimensionalMechanism/R1PhysicsDevelopmentV53/LongWindowV1/BaselineV1/Root/RequestV1.json", + "pointer": "/solver_limits", + "value_sha256": "a46ae3398f9f6d0ab16538b20a6149078f0aaa5e6ca146e98bb960e1942853b1" + }, + { + "source_id": "archive:results/OneDimensionalMechanism/R1PhysicsDevelopmentV53/LongWindowV1/BaselineV1/Root/RequestV1.json", + "pointer": "/case", + "value_sha256": "c6e01ca25280b67ccabd484f51f88e7114731fb2ee182615525dd4431d0c3377" + }, + { + "source_id": "archive:results/OneDimensionalMechanism/R1PhysicsDevelopmentV53/LongWindowV1/BaselineV1/Root/RequestV1.json", + "pointer": "/inputs", + "value_sha256": "6cf2bc4f328e76a56a5cba3cf04418968273f74827b4f2fe3d7cae673e28c034" + } + ], + "original_evidence": [ + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_response.py", + "symbol": "test_biased_dc_retains_frozen_species_and_inventory" + }, + "test_node": "perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_response.py::test_biased_dc_retains_frozen_species_and_inventory", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_response.py", + "symbol": "test_frozen_ac_species_stay_fixed" + }, + "test_node": "perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_response.py::test_frozen_ac_species_stay_fixed", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_response.py", + "symbol": "test_interface_only_tail_mismatch_is_rejected" + }, + "test_node": "perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_response.py::test_interface_only_tail_mismatch_is_rejected", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_response.py", + "symbol": "test_tail_comparison_keeps_unknown_infinite_tail_and_checks_identity" + }, + "test_node": "perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_response.py::test_tail_comparison_keeps_unknown_infinite_tail_and_checks_identity", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_one_dimensional_mechanism_r1_state.py", + "symbol": "test_saved_dc_restore_checks_physics_without_running_a_new_dc_solve" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_one_dimensional_mechanism_r1_state.py::test_saved_dc_restore_checks_physics_without_running_a_new_dc_solve", + "scope_docstring": null, + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_post_execution_request_v4.py", + "symbol": "test_derived_phase_rejects_real_preparation_and_dc_entry_points_before_solving" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_r1_post_execution_request_v4.py::test_derived_phase_rejects_real_preparation_and_dc_entry_points_before_solving", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_v11_response.py", + "symbol": "test_actual_controlled_dc_preserves_frozen_pair_populations" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_r1_v11_response.py::test_actual_controlled_dc_preserves_frozen_pair_populations", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_one_dimensional_mechanism_r1_response.py", + "symbol": "test_dc_endpoint_ladder_subtracts_baseline_without_claiming_linearity" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_one_dimensional_mechanism_r1_response.py::test_dc_endpoint_ladder_subtracts_baseline_without_claiming_linearity", + "scope_docstring": null, + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + } + ], + "call_chains": [ + { + "test": "tests.integration.test_one_dimensional_mechanism_r1_response.test_biased_dc_retains_frozen_species_and_inventory", + "edges": [ + { + "caller": "tests.integration.test_one_dimensional_mechanism_r1_response.test_biased_dc_retains_frozen_species_and_inventory", + "callee": "perovskite_sim.experiments.one_dimensional_mechanism_r1_response.solve_controlled_dc", + "line": 27, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_one_dimensional_mechanism_r1_response.test_frozen_ac_species_stay_fixed", + "edges": [ + { + "caller": "tests.integration.test_one_dimensional_mechanism_r1_response.test_frozen_ac_species_stay_fixed", + "callee": "perovskite_sim.experiments.one_dimensional_mechanism_r1_response.solve_controlled_dc", + "line": 84, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_one_dimensional_mechanism_r1_response.test_interface_only_tail_mismatch_is_rejected", + "edges": [ + { + "caller": "tests.integration.test_one_dimensional_mechanism_r1_response.test_interface_only_tail_mismatch_is_rejected", + "callee": "perovskite_sim.experiments.one_dimensional_mechanism_r1_response.solve_controlled_dc", + "line": 114, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_one_dimensional_mechanism_r1_response.test_tail_comparison_keeps_unknown_infinite_tail_and_checks_identity", + "edges": [ + { + "caller": "tests.integration.test_one_dimensional_mechanism_r1_response.test_tail_comparison_keeps_unknown_infinite_tail_and_checks_identity", + "callee": "perovskite_sim.experiments.one_dimensional_mechanism_r1_response.solve_controlled_dc", + "line": 94, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_one_dimensional_mechanism_r1_state.test_saved_dc_restore_checks_physics_without_running_a_new_dc_solve", + "edges": [ + { + "caller": "tests.unit.experiments.test_one_dimensional_mechanism_r1_state.test_saved_dc_restore_checks_physics_without_running_a_new_dc_solve", + "callee": "perovskite_sim.experiments.one_dimensional_mechanism_r1_response.solve_controlled_dc", + "line": 73, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_r1_post_execution_request_v4.test_derived_phase_rejects_real_preparation_and_dc_entry_points_before_solving", + "edges": [ + { + "caller": "tests.unit.experiments.test_r1_post_execution_request_v4.test_derived_phase_rejects_real_preparation_and_dc_entry_points_before_solving", + "callee": "perovskite_sim.experiments.one_dimensional_mechanism_r1_response.solve_controlled_dc", + "line": 54, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_r1_v11_response.test_actual_controlled_dc_preserves_frozen_pair_populations", + "edges": [ + { + "caller": "tests.unit.experiments.test_r1_v11_response.test_actual_controlled_dc_preserves_frozen_pair_populations", + "callee": "perovskite_sim.experiments.one_dimensional_mechanism_r1_response.solve_controlled_dc", + "line": 113, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_one_dimensional_mechanism_r1_response.test_dc_endpoint_ladder_subtracts_baseline_without_claiming_linearity", + "edges": [ + { + "caller": "tests.unit.experiments.test_one_dimensional_mechanism_r1_response.test_dc_endpoint_ladder_subtracts_baseline_without_claiming_linearity", + "callee": "perovskite_sim.experiments.one_dimensional_mechanism_r1_response.dc_amplitude_endpoint_study", + "line": 308, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.one_dimensional_mechanism_r1_response.dc_amplitude_endpoint_study", + "callee": "perovskite_sim.experiments.one_dimensional_mechanism_r1_response.solve_controlled_dc", + "line": 483, + "kind": "call" + } + ] + } + ], + "original_scope_limitations": null, + "active_contract": null, + "obligations": [ + { + "id": "new-source-experiment-be0a906d081824ea", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-be0a906d081824ea.json", + "tasks": [ + "P02-08", + "P07-01", + "P07-02", + "P07-03", + "P07-04", + "P07-05" + ], + "gates": [ + "G2", + "G7" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof", + "per-physical-observable units/norm/reference scale/zero policy and applicable original or prospectively frozen threshold; test truth values do not fill this field", + "original R1 source/table/step and L1/L2/L3 prerequisites; the scalar helper is not an R1 comparator" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-952c0a40543cc4447c1ad0cb", + "rule-72e99f945b7a7d0f0c6ec571", + "rule-a05cda30e8a46a568b3ff775", + "rule-cfe44cae86edd79a1c0073b9", + "rule-fee1c234deda1dd13dbbc424", + "rule-9525796c9e5692de9b4240a7", + "rule-2076669475eb4aa9cf8e3588", + "rule-4d66452f6405d344ad52f5bb", + "rule-19d9f7e7c0da472b7ce62879", + "rule-98ccb325cc4d888ed675060a", + "rule-53cda7be6ece666fca96928c", + "rule-0c7e4ad2744151b05e4d81b1", + "rule-07e3528c2c76bb6c0013cadf", + "rule-11caf7838e01e00f10dfaa91", + "rule-9d608710ff39fb5c0d71db2d", + "rule-f7fafe82d7c4ec18b9f99687", + "rule-d979933156cc2134714a3ae3", + "rule-295d15eaf12072266ca62784", + "rule-9fa464f09cd0ac28fc4f1f4b", + "rule-a2d7463672cc64a94be48cc6", + "rule-7a1a5fbed7f7e4b0c2337600", + "rule-763c0b609f704fe627ecdf7e", + "rule-e91ede9c1b0629b923c00c83", + "rule-357fa8bb6297a7ea251e178d", + "rule-a291c00da08c47c0b5b72c24", + "rule-04a85ee22d83073a4df6ceb0", + "rule-75472dba2c6d9308e998f058", + "rule-517a4f993258ae391c8a0c22", + "rule-358cd0a39fa7b0712be69113", + "rule-3356336fb0b49c8f6430540b", + "rule-0b83306b79e40725b2919d64", + "rule-fce0e943a33959f00f1bea83", + "rule-e8aa3da2865b7e8ef0917fbc", + "rule-c8c21b879efcd76e9d5ec42a", + "rule-61a55c161b2c7e7fb3768689", + "rule-a5a8d3970c89c50ac5cbe7ff", + "rule-06a2e997736c2deccab4bc61" + ], + "comparison_scope_id": "scope-experiment-be0a906d081824ea" + }, + { + "capability_id": "experiment-c363c4d6b2f1e7a9", + "route_id": "route-3437e4b3d969b4d5", + "origin_key": "experiment:perovskite_sim.experiments.one_dimensional_mechanism_r1_state.prepare_common_state", + "target": { + "capability_id": "experiment-c363c4d6b2f1e7a9", + "scope_id": "experiment:perovskite_sim.experiments.one_dimensional_mechanism_r1_state.prepare_common_state", + "kind": "original_scoped_assertions", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_assertions_bound", + "citations": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_state.py", + "symbol": "prepare_common_state" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_physics_validation.py", + "symbol": "test_opt_in_recording_preserves_all_original_numerical_results" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_physics_validation.py", + "symbol": "test_reconstruction_failure_preserves_observed_state_and_coordinates" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_numerical_precision.py", + "symbol": "test_original_failure_representatives_complete_without_gate_changes" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_numerical_precision.py", + "symbol": "test_strict_trace_roundtrips_exact_coordinates_and_physical_equations" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_regular_independence_v4.py", + "symbol": "test_actual_coarse_step_fault_is_rejected_by_computed_physics_not_injected_flags" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_v7_precision.py", + "symbol": "test_actual_fine_initialization_short_steps_and_exact_replay" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_v8_ablation.py", + "symbol": "test_actual_short_ablation_and_replay_share_intervention" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_v8_precision_evidence.py", + "symbol": "test_actual_short_run_has_both_sides_initial_construction_and_regular_updates" + }, + { + "source_id": "archive:results/OneDimensionalMechanism/R1PhysicsDevelopmentV53/LongWindowV1/BaselineV1/Root/RequestV1.json", + "pointer": "/certificate_limits", + "value_sha256": "b54673f86c029ae83e50e67f4befa79e14bcbb6d419e4445c21a77d795d7b2f5" + }, + { + "source_id": "archive:results/OneDimensionalMechanism/R1PhysicsDevelopmentV53/LongWindowV1/BaselineV1/Root/RequestV1.json", + "pointer": "/solver_limits", + "value_sha256": "a46ae3398f9f6d0ab16538b20a6149078f0aaa5e6ca146e98bb960e1942853b1" + }, + { + "source_id": "archive:results/OneDimensionalMechanism/R1PhysicsDevelopmentV53/LongWindowV1/BaselineV1/Root/RequestV1.json", + "pointer": "/case", + "value_sha256": "c6e01ca25280b67ccabd484f51f88e7114731fb2ee182615525dd4431d0c3377" + }, + { + "source_id": "archive:results/OneDimensionalMechanism/R1PhysicsDevelopmentV53/LongWindowV1/BaselineV1/Root/RequestV1.json", + "pointer": "/inputs", + "value_sha256": "6cf2bc4f328e76a56a5cba3cf04418968273f74827b4f2fe3d7cae673e28c034" + } + ], + "original_evidence": [ + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_physics_validation.py", + "symbol": "test_opt_in_recording_preserves_all_original_numerical_results" + }, + "test_node": "perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_physics_validation.py::test_opt_in_recording_preserves_all_original_numerical_results", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_physics_validation.py", + "symbol": "test_reconstruction_failure_preserves_observed_state_and_coordinates" + }, + "test_node": "perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_physics_validation.py::test_reconstruction_failure_preserves_observed_state_and_coordinates", + "scope_docstring": null, + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_numerical_precision.py", + "symbol": "test_original_failure_representatives_complete_without_gate_changes" + }, + "test_node": "perovskite-sim/tests/integration/test_r1_numerical_precision.py::test_original_failure_representatives_complete_without_gate_changes", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_numerical_precision.py", + "symbol": "test_strict_trace_roundtrips_exact_coordinates_and_physical_equations" + }, + "test_node": "perovskite-sim/tests/integration/test_r1_numerical_precision.py::test_strict_trace_roundtrips_exact_coordinates_and_physical_equations", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_regular_independence_v4.py", + "symbol": "test_actual_coarse_step_fault_is_rejected_by_computed_physics_not_injected_flags" + }, + "test_node": "perovskite-sim/tests/integration/test_r1_regular_independence_v4.py::test_actual_coarse_step_fault_is_rejected_by_computed_physics_not_injected_flags", + "scope_docstring": "Omitting contacts from solver stopping recreates the old N64 defect.", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_v7_precision.py", + "symbol": "test_actual_fine_initialization_short_steps_and_exact_replay" + }, + "test_node": "perovskite-sim/tests/integration/test_r1_v7_precision.py::test_actual_fine_initialization_short_steps_and_exact_replay", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_v8_ablation.py", + "symbol": "test_actual_short_ablation_and_replay_share_intervention" + }, + "test_node": "perovskite-sim/tests/integration/test_r1_v8_ablation.py::test_actual_short_ablation_and_replay_share_intervention", + "scope_docstring": null, + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_v8_precision_evidence.py", + "symbol": "test_actual_short_run_has_both_sides_initial_construction_and_regular_updates" + }, + "test_node": "perovskite-sim/tests/integration/test_r1_v8_precision_evidence.py::test_actual_short_run_has_both_sides_initial_construction_and_regular_updates", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + } + ], + "call_chains": [ + { + "test": "tests.integration.test_one_dimensional_mechanism_r1_physics_validation.test_opt_in_recording_preserves_all_original_numerical_results", + "edges": [ + { + "caller": "tests.integration.test_one_dimensional_mechanism_r1_physics_validation.test_opt_in_recording_preserves_all_original_numerical_results", + "callee": "perovskite_sim.experiments.one_dimensional_mechanism_r1_state.prepare_common_state", + "line": 57, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_one_dimensional_mechanism_r1_physics_validation.test_reconstruction_failure_preserves_observed_state_and_coordinates", + "edges": [ + { + "caller": "tests.integration.test_one_dimensional_mechanism_r1_physics_validation.test_reconstruction_failure_preserves_observed_state_and_coordinates", + "callee": "perovskite_sim.experiments.one_dimensional_mechanism_r1_state.prepare_common_state", + "line": 267, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_r1_numerical_precision.test_original_failure_representatives_complete_without_gate_changes", + "edges": [ + { + "caller": "tests.integration.test_r1_numerical_precision.test_original_failure_representatives_complete_without_gate_changes", + "callee": "perovskite_sim.experiments.one_dimensional_mechanism_r1_state.prepare_common_state", + "line": 26, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_r1_numerical_precision.test_strict_trace_roundtrips_exact_coordinates_and_physical_equations", + "edges": [ + { + "caller": "tests.integration.test_r1_numerical_precision.test_strict_trace_roundtrips_exact_coordinates_and_physical_equations", + "callee": "perovskite_sim.experiments.one_dimensional_mechanism_r1_state.prepare_common_state", + "line": 43, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_r1_regular_independence_v4.test_actual_coarse_step_fault_is_rejected_by_computed_physics_not_injected_flags", + "edges": [ + { + "caller": "tests.integration.test_r1_regular_independence_v4.test_actual_coarse_step_fault_is_rejected_by_computed_physics_not_injected_flags", + "callee": "perovskite_sim.experiments.one_dimensional_mechanism_r1_state.prepare_common_state", + "line": 56, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_r1_v7_precision.test_actual_fine_initialization_short_steps_and_exact_replay", + "edges": [ + { + "caller": "tests.integration.test_r1_v7_precision.test_actual_fine_initialization_short_steps_and_exact_replay", + "callee": "perovskite_sim.experiments.one_dimensional_mechanism_r1_state.prepare_common_state", + "line": 22, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_r1_v8_ablation.test_actual_short_ablation_and_replay_share_intervention", + "edges": [ + { + "caller": "tests.integration.test_r1_v8_ablation.test_actual_short_ablation_and_replay_share_intervention", + "callee": "perovskite_sim.experiments.one_dimensional_mechanism_r1_state.prepare_common_state", + "line": 22, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_r1_v8_precision_evidence.test_actual_short_run_has_both_sides_initial_construction_and_regular_updates", + "edges": [ + { + "caller": "tests.integration.test_r1_v8_precision_evidence.test_actual_short_run_has_both_sides_initial_construction_and_regular_updates", + "callee": "perovskite_sim.experiments.one_dimensional_mechanism_r1_state.prepare_common_state", + "line": 25, + "kind": "call" + } + ] + } + ], + "original_scope_limitations": null, + "active_contract": null, + "obligations": [ + { + "id": "new-source-experiment-c363c4d6b2f1e7a9", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-c363c4d6b2f1e7a9.json", + "tasks": [ + "P02-08", + "P07-01", + "P07-02", + "P07-03", + "P07-04", + "P07-05" + ], + "gates": [ + "G2", + "G7" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof", + "per-physical-observable units/norm/reference scale/zero policy and applicable original or prospectively frozen threshold; test truth values do not fill this field", + "original R1 source/table/step and L1/L2/L3 prerequisites; the scalar helper is not an R1 comparator" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-ca4582e2b07a05c1e7456240", + "rule-241de967da8186aea64f94f6", + "rule-82d1260a06223a03b34de2f6", + "rule-c1d4c62f79a0ecee44754ed2", + "rule-2d64a63b2440982e0065a6e7", + "rule-923594aa5ed6adfbcea272ad", + "rule-2c9e5c76510a4b9fd5820dfa", + "rule-b8ef859045987214fc13bf2d", + "rule-21d1f23f34acb16e082f6d23", + "rule-fbb418ee568180457fb966cb", + "rule-e8f969ca1b5595ece476e28a", + "rule-3dc7664fec6d1c703abd1390", + "rule-34849f6912f0d9e4e08d0b51", + "rule-6aed9d00bb2849fd73701cf5", + "rule-ced0d3960887f0ade5478e6d", + "rule-24a2b27ec6a241c8d77ad34a", + "rule-f3cc5ffed4f66091812f8207", + "rule-d7015536c67304b0046160ee", + "rule-22b5eada3cbbc9e098c12439", + "rule-5a929c19864db50d2838bd69", + "rule-332d22d508304f523189b596", + "rule-2f7c3a0ba33d442a76adce4b", + "rule-dc13949bd51d75441c16d71e", + "rule-05d80d0f9e00c1adeeda81b4", + "rule-aeaa3ca590fc78ab842682d9", + "rule-627fca5ad6ccfb56359579d8", + "rule-c82fab629eef24c9d0f0de06", + "rule-83d9f7064fa4263f35a5cb29", + "rule-7d96422d1ce1064bb2feab8e", + "rule-2d7ea2907819eee66e3dbde2", + "rule-9a27ab40d53275f13381c998", + "rule-5d5aed8eb1be8ba22f70b15b", + "rule-971c2a1064f04ae7cfaa1858", + "rule-8b95a9ae4e240efdfa552108", + "rule-a45457d2a3bdd7c36c0b5786", + "rule-5b0ba95c424d5e278146ee53", + "rule-71119fb1214b6acd43c97102", + "rule-c250200cce56d34455b662e8", + "rule-a4134785361d4e87cde99ed9", + "rule-467b0d5c214a31686a577047", + "rule-69de7870231eaf44eb9230a7", + "rule-244d21ee86a06a5897e5ac84", + "rule-b453a0b155cb6561b340411e", + "rule-af809fad80c784b6af1e5eb2", + "rule-8854c3a2b85a039b77697888", + "rule-f19284d0f8e33f22d6702370", + "rule-859c750142619adcd09951df", + "rule-629bb11ef73d6cf51e474b55", + "rule-3a888f3b80584edbcb9e3c0b", + "rule-3b18d3ee11841a80b13fc6cb", + "rule-8eddd45f2241ee992b72f055", + "rule-fed87e9da182ca40c46a1373", + "rule-213fd4a5b6ef14c7b93ebfb5", + "rule-01b4a8606654d0c936503653", + "rule-6fd02678f78487771e08c7d6", + "rule-fbebb781dddf589d757c5c72", + "rule-6ef532f1dd5aa0de98e7637d", + "rule-202fdc5fe6183dd4a8be1368", + "rule-77649d5bc087253def462057", + "rule-6606183069ac70e091b17a35", + "rule-b0fce5610ec1de3bfc0660a1" + ], + "comparison_scope_id": "scope-experiment-c363c4d6b2f1e7a9" + }, + { + "capability_id": "experiment-dc4f01b0782f66c3", + "route_id": "route-3431bf7169601fdb", + "origin_key": "experiment:perovskite_sim.experiments.open_circuit.integrate_open_circuit", + "target": { + "capability_id": "experiment-dc4f01b0782f66c3", + "scope_id": "experiment:perovskite_sim.experiments.open_circuit.integrate_open_circuit", + "kind": "original_scoped_assertions", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_assertions_bound", + "citations": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/open_circuit.py", + "symbol": "integrate_open_circuit" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_open_circuit.py", + "symbol": "test_failed_integrator_never_reuses_the_initial_state" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_open_circuit.py", + "symbol": "test_known_capacitance_and_conductance_decay" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_open_circuit.py", + "symbol": "test_output_sampling_does_not_change_voltage_evolution" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_open_circuit.py", + "symbol": "test_wrong_displacement_in_the_integral_is_detected" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_foundation_tpv_spatial_refinement.py", + "symbol": "test_three_spatial_levels_resolve_the_same_physical_tpv" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_protocol.py", + "symbol": "test_public_experiments_reject_implicit_history_before_solving" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_tpv.py", + "symbol": "test_rejects_invalid_delta_G_frac" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_tpv.py", + "symbol": "test_rejects_nonpositive_t_pulse" + } + ], + "original_evidence": [ + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_open_circuit.py", + "symbol": "test_failed_integrator_never_reuses_the_initial_state" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_open_circuit.py::test_failed_integrator_never_reuses_the_initial_state", + "scope_docstring": null, + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_open_circuit.py", + "symbol": "test_known_capacitance_and_conductance_decay" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_open_circuit.py::test_known_capacitance_and_conductance_decay", + "scope_docstring": null, + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_open_circuit.py", + "symbol": "test_output_sampling_does_not_change_voltage_evolution" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_open_circuit.py::test_output_sampling_does_not_change_voltage_evolution", + "scope_docstring": null, + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_open_circuit.py", + "symbol": "test_wrong_displacement_in_the_integral_is_detected" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_open_circuit.py::test_wrong_displacement_in_the_integral_is_detected", + "scope_docstring": null, + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_foundation_tpv_spatial_refinement.py", + "symbol": "test_three_spatial_levels_resolve_the_same_physical_tpv" + }, + "test_node": "perovskite-sim/tests/integration/test_foundation_tpv_spatial_refinement.py::test_three_spatial_levels_resolve_the_same_physical_tpv", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_protocol.py", + "symbol": "test_public_experiments_reject_implicit_history_before_solving" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_protocol.py::test_public_experiments_reject_implicit_history_before_solving", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_tpv.py", + "symbol": "test_rejects_invalid_delta_G_frac" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_tpv.py::test_rejects_invalid_delta_G_frac", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_tpv.py", + "symbol": "test_rejects_nonpositive_t_pulse" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_tpv.py::test_rejects_nonpositive_t_pulse", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + } + ], + "call_chains": [ + { + "test": "tests.unit.experiments.test_open_circuit.test_failed_integrator_never_reuses_the_initial_state", + "edges": [ + { + "caller": "tests.unit.experiments.test_open_circuit.test_failed_integrator_never_reuses_the_initial_state", + "callee": "perovskite_sim.experiments.open_circuit.integrate_open_circuit", + "line": 109, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_open_circuit.test_known_capacitance_and_conductance_decay", + "edges": [ + { + "caller": "tests.unit.experiments.test_open_circuit.test_known_capacitance_and_conductance_decay", + "callee": "perovskite_sim.experiments.open_circuit.integrate_open_circuit", + "line": 78, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_open_circuit.test_output_sampling_does_not_change_voltage_evolution", + "edges": [ + { + "caller": "tests.unit.experiments.test_open_circuit.test_output_sampling_does_not_change_voltage_evolution", + "callee": "perovskite_sim.experiments.open_circuit.integrate_open_circuit", + "line": 96, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_open_circuit.test_wrong_displacement_in_the_integral_is_detected", + "edges": [ + { + "caller": "tests.unit.experiments.test_open_circuit.test_wrong_displacement_in_the_integral_is_detected", + "callee": "perovskite_sim.experiments.open_circuit.integrate_open_circuit", + "line": 121, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_foundation_tpv_spatial_refinement.test_three_spatial_levels_resolve_the_same_physical_tpv", + "edges": [ + { + "caller": "tests.integration.test_foundation_tpv_spatial_refinement.test_three_spatial_levels_resolve_the_same_physical_tpv", + "callee": "perovskite_sim.experiments.tpv.run_tpv", + "line": 81, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.tpv.run_tpv", + "callee": "perovskite_sim.experiments.open_circuit.integrate_open_circuit", + "line": 387, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_protocol.test_public_experiments_reject_implicit_history_before_solving", + "edges": [ + { + "caller": "tests.unit.experiments.test_protocol.test_public_experiments_reject_implicit_history_before_solving", + "callee": "perovskite_sim.experiments.tpv.run_tpv", + "line": 344, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.tpv.run_tpv", + "callee": "perovskite_sim.experiments.open_circuit.integrate_open_circuit", + "line": 387, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_tpv.test_rejects_invalid_delta_G_frac", + "edges": [ + { + "caller": "tests.unit.experiments.test_tpv.test_rejects_invalid_delta_G_frac", + "callee": "perovskite_sim.experiments.tpv.run_tpv", + "line": 26, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.tpv.run_tpv", + "callee": "perovskite_sim.experiments.open_circuit.integrate_open_circuit", + "line": 387, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_tpv.test_rejects_nonpositive_t_pulse", + "edges": [ + { + "caller": "tests.unit.experiments.test_tpv.test_rejects_nonpositive_t_pulse", + "callee": "perovskite_sim.experiments.tpv.run_tpv", + "line": 33, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.tpv.run_tpv", + "callee": "perovskite_sim.experiments.open_circuit.integrate_open_circuit", + "line": 387, + "kind": "call" + } + ] + } + ], + "original_scope_limitations": null, + "active_contract": null, + "obligations": [ + { + "id": "new-source-experiment-dc4f01b0782f66c3", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-dc4f01b0782f66c3.json", + "tasks": [ + "P02-06", + "P05-01", + "P05-04" + ], + "gates": [ + "G2", + "G5" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof", + "per-physical-observable units/norm/reference scale/zero policy and applicable original or prospectively frozen threshold; test truth values do not fill this field" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-d490cf21644ed18af673fc95", + "rule-37356dc24a4af358c1e2aecc", + "rule-20f37e21f4b0f9c28b818fbd", + "rule-0094e761b0a45c7f3a699a2d", + "rule-3f5ffb3960f4a9b18b2a08d9", + "rule-f0cc121d6b87c3a93a1843c2", + "rule-8ba409a97deb18b7facdb2d2", + "rule-c7422c3e86230925ab13625b", + "rule-22e7dec9917cd5f355fc77db", + "rule-85ae63d648f263162b846ce5", + "rule-96f2e6452bb4c35a1d1dd81b", + "rule-519b5904c14226f0800a874f", + "rule-c35cd219d9c3936f6df67853" + ], + "comparison_scope_id": "scope-experiment-dc4f01b0782f66c3" + }, + { + "capability_id": "experiment-7a4e421429ce76e9", + "route_id": "route-e8ca7a89ef09d514", + "origin_key": "experiment:perovskite_sim.experiments.quasi_fermi_impedance.run_quasi_fermi_impedance", + "target": { + "capability_id": "experiment-7a4e421429ce76e9", + "scope_id": "experiment:perovskite_sim.experiments.quasi_fermi_impedance.run_quasi_fermi_impedance", + "kind": "original_scoped_assertions", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_assertions_bound", + "citations": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/quasi_fermi_impedance.py", + "symbol": "run_quasi_fermi_impedance" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_multivalent_explicit_defects_qf.py", + "symbol": "test_quasi_fermi_impedance_fails_closed_for_multivalent" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py", + "symbol": "test_csi_frequency_domain_is_stable_to_steps_and_nominal_amplitude" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_dynamic_defect_impedance.py", + "symbol": "test_public_bulk_dynamic_defect_impedance_is_protocol_bound_and_certified" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_dynamic_defect_impedance.py", + "symbol": "test_public_interface_dynamic_defect_impedance_uses_two_sided_faces" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_dynamic_defect_impedance.py", + "symbol": "test_public_triple_coupled_defect_ion_impedance_is_certified" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_material_cache_regression.py", + "symbol": "test_impedance_ionmonger_finite_and_capacitive" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_impedance.py", + "symbol": "test_impedance_rejects_dynamic_interface_state_blocks" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_impedance.py", + "symbol": "test_impedance_rejects_empty_frequencies" + } + ], + "original_evidence": [ + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_multivalent_explicit_defects_qf.py", + "symbol": "test_quasi_fermi_impedance_fails_closed_for_multivalent" + }, + "test_node": "perovskite-sim/tests/integration/test_multivalent_explicit_defects_qf.py::test_quasi_fermi_impedance_fails_closed_for_multivalent", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py", + "symbol": "test_csi_frequency_domain_is_stable_to_steps_and_nominal_amplitude" + }, + "test_node": "perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py::test_csi_frequency_domain_is_stable_to_steps_and_nominal_amplitude", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_dynamic_defect_impedance.py", + "symbol": "test_public_bulk_dynamic_defect_impedance_is_protocol_bound_and_certified" + }, + "test_node": "perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_bulk_dynamic_defect_impedance_is_protocol_bound_and_certified", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_dynamic_defect_impedance.py", + "symbol": "test_public_interface_dynamic_defect_impedance_uses_two_sided_faces" + }, + "test_node": "perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_interface_dynamic_defect_impedance_uses_two_sided_faces", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_dynamic_defect_impedance.py", + "symbol": "test_public_triple_coupled_defect_ion_impedance_is_certified" + }, + "test_node": "perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_triple_coupled_defect_ion_impedance_is_certified", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_material_cache_regression.py", + "symbol": "test_impedance_ionmonger_finite_and_capacitive" + }, + "test_node": "perovskite-sim/tests/integration/test_material_cache_regression.py::test_impedance_ionmonger_finite_and_capacitive", + "scope_docstring": "Ionmonger impedance sweep at V_dc = 0.9 V must be finite and\nphysically oriented (upper half plane Nyquist) after the refactor.", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_impedance.py", + "symbol": "test_impedance_rejects_dynamic_interface_state_blocks" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_impedance.py::test_impedance_rejects_dynamic_interface_state_blocks", + "scope_docstring": null, + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_impedance.py", + "symbol": "test_impedance_rejects_empty_frequencies" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_impedance.py::test_impedance_rejects_empty_frequencies", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + } + ], + "call_chains": [ + { + "test": "tests.integration.test_multivalent_explicit_defects_qf.test_quasi_fermi_impedance_fails_closed_for_multivalent", + "edges": [ + { + "caller": "tests.integration.test_multivalent_explicit_defects_qf.test_quasi_fermi_impedance_fails_closed_for_multivalent", + "callee": "perovskite_sim.experiments.quasi_fermi_impedance.run_quasi_fermi_impedance", + "line": 961, + "kind": "call" + } + ] + }, + { + "test": "tests.regression.test_csi_frequency_domain_impedance.test_csi_frequency_domain_is_stable_to_steps_and_nominal_amplitude", + "edges": [ + { + "caller": "tests.regression.test_csi_frequency_domain_impedance.test_csi_frequency_domain_is_stable_to_steps_and_nominal_amplitude", + "callee": "perovskite_sim.experiments.quasi_fermi_impedance.run_quasi_fermi_impedance", + "line": 173, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_dynamic_defect_impedance.test_public_bulk_dynamic_defect_impedance_is_protocol_bound_and_certified", + "edges": [ + { + "caller": "tests.integration.test_dynamic_defect_impedance.test_public_bulk_dynamic_defect_impedance_is_protocol_bound_and_certified", + "callee": "perovskite_sim.experiments.impedance.run_impedance", + "line": 50, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.impedance.run_impedance", + "callee": "perovskite_sim.experiments.quasi_fermi_impedance.run_quasi_fermi_impedance", + "line": 1235, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_dynamic_defect_impedance.test_public_interface_dynamic_defect_impedance_uses_two_sided_faces", + "edges": [ + { + "caller": "tests.integration.test_dynamic_defect_impedance.test_public_interface_dynamic_defect_impedance_uses_two_sided_faces", + "callee": "perovskite_sim.experiments.impedance.run_impedance", + "line": 67, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.impedance.run_impedance", + "callee": "perovskite_sim.experiments.quasi_fermi_impedance.run_quasi_fermi_impedance", + "line": 1235, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_dynamic_defect_impedance.test_public_triple_coupled_defect_ion_impedance_is_certified", + "edges": [ + { + "caller": "tests.integration.test_dynamic_defect_impedance.test_public_triple_coupled_defect_ion_impedance_is_certified", + "callee": "perovskite_sim.experiments.impedance.run_impedance", + "line": 91, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.impedance.run_impedance", + "callee": "perovskite_sim.experiments.quasi_fermi_impedance.run_quasi_fermi_impedance", + "line": 1235, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_material_cache_regression.test_impedance_ionmonger_finite_and_capacitive", + "edges": [ + { + "caller": "tests.integration.test_material_cache_regression.test_impedance_ionmonger_finite_and_capacitive", + "callee": "perovskite_sim.experiments.impedance.run_impedance", + "line": 55, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.impedance.run_impedance", + "callee": "perovskite_sim.experiments.quasi_fermi_impedance.run_quasi_fermi_impedance", + "line": 1235, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_impedance.test_impedance_rejects_dynamic_interface_state_blocks", + "edges": [ + { + "caller": "tests.unit.experiments.test_impedance.test_impedance_rejects_dynamic_interface_state_blocks", + "callee": "perovskite_sim.experiments.impedance.run_impedance", + "line": 803, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.impedance.run_impedance", + "callee": "perovskite_sim.experiments.quasi_fermi_impedance.run_quasi_fermi_impedance", + "line": 1235, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_impedance.test_impedance_rejects_empty_frequencies", + "edges": [ + { + "caller": "tests.unit.experiments.test_impedance.test_impedance_rejects_empty_frequencies", + "callee": "perovskite_sim.experiments.impedance.run_impedance", + "line": 42, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.impedance.run_impedance", + "callee": "perovskite_sim.experiments.quasi_fermi_impedance.run_quasi_fermi_impedance", + "line": 1235, + "kind": "call" + } + ] + } + ], + "original_scope_limitations": null, + "active_contract": null, + "obligations": [ + { + "id": "new-source-experiment-7a4e421429ce76e9", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-7a4e421429ce76e9.json", + "tasks": [ + "P04-06", + "P05-01", + "P05-03" + ], + "gates": [ + "G4", + "G5" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof", + "per-physical-observable units/norm/reference scale/zero policy and applicable original or prospectively frozen threshold; test truth values do not fill this field", + "the applicable gauge/CV/log-density/inventory or complex/circular-phase comparator with physical units; no generic scalar substitute" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-d0c9efef19cab13b5fb251b8", + "rule-f29979784c4a4e5012be6591", + "rule-2b77aac5e77a11f6e0941079", + "rule-4a4450a717279d7a9cc77c2f", + "rule-bfce97ea1c6466983ae0e5ac", + "rule-88a9a247a7483ea993667868", + "rule-6320ae143a48ae94b5b3d2bb", + "rule-19667378b6e130d3f6034e16", + "rule-af35ebbad8b86cbb2ddfa6d4", + "rule-de6e5ec60719babee793b931", + "rule-93355d18cb3d6dc05528b9d5", + "rule-1435e79f45b24bc34ecf9337", + "rule-f4689c3810cdc076c0f3372d", + "rule-1cb532928d3d9cbfd620b4dc", + "rule-14e23a8a0328c8a3637ca7dc", + "rule-5fbc48af640fbdef2c2d2cd3", + "rule-e079a8ed022c96c49a464a67", + "rule-271b083c7ccaa6d47a20651c", + "rule-c2cb13677db49a2ed6d93062", + "rule-9fcb17d622af424efa4ae219", + "rule-117cac111ddab60b14037e34" + ], + "comparison_scope_id": "scope-experiment-7a4e421429ce76e9" + }, + { + "capability_id": "experiment-e5baf86a6d60f39c", + "route_id": "route-1c35c1275d46d863", + "origin_key": "experiment:perovskite_sim.experiments.quasi_fermi_steady_state.solve_equilibrium_referenced_interface_charge_steady_state", + "target": { + "capability_id": "experiment-e5baf86a6d60f39c", + "scope_id": "experiment:perovskite_sim.experiments.quasi_fermi_steady_state.solve_equilibrium_referenced_interface_charge_steady_state", + "kind": "original_scoped_assertions", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_assertions_bound", + "citations": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/quasi_fermi_steady_state.py", + "symbol": "solve_equilibrium_referenced_interface_charge_steady_state" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py", + "symbol": "test_interface_device_ac_recertifies_supplied_dc_state_on_live_operator" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py", + "symbol": "test_contact_opt_in_is_bit_identical_and_seed_tampering_fails_closed" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py", + "symbol": "test_research_api_binds_dark_reference_and_keeps_production_gate_parked" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py", + "symbol": "test_research_api_rejects_reference_from_a_different_stack" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py", + "symbol": "test_research_api_rejects_tampered_dark_reference_state_hash" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py", + "symbol": "test_research_api_rejects_tampered_microscopic_dark_reference" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py", + "symbol": "test_fake_sweep_reuses_charged_points_and_retains_evidence" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py", + "symbol": "test_real_small_grid_charged_jv_has_pointwise_evidence" + } + ], + "original_evidence": [ + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py", + "symbol": "test_interface_device_ac_recertifies_supplied_dc_state_on_live_operator" + }, + "test_node": "perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_interface_device_ac_recertifies_supplied_dc_state_on_live_operator", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py", + "symbol": "test_contact_opt_in_is_bit_identical_and_seed_tampering_fails_closed" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_contact_opt_in_is_bit_identical_and_seed_tampering_fails_closed", + "scope_docstring": null, + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py", + "symbol": "test_research_api_binds_dark_reference_and_keeps_production_gate_parked" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py::test_research_api_binds_dark_reference_and_keeps_production_gate_parked", + "scope_docstring": null, + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py", + "symbol": "test_research_api_rejects_reference_from_a_different_stack" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py::test_research_api_rejects_reference_from_a_different_stack", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py", + "symbol": "test_research_api_rejects_tampered_dark_reference_state_hash" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py::test_research_api_rejects_tampered_dark_reference_state_hash", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py", + "symbol": "test_research_api_rejects_tampered_microscopic_dark_reference" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py::test_research_api_rejects_tampered_microscopic_dark_reference", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py", + "symbol": "test_fake_sweep_reuses_charged_points_and_retains_evidence" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_fake_sweep_reuses_charged_points_and_retains_evidence", + "scope_docstring": null, + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py", + "symbol": "test_real_small_grid_charged_jv_has_pointwise_evidence" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_real_small_grid_charged_jv_has_pointwise_evidence", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + } + ], + "call_chains": [ + { + "test": "tests.integration.test_interface_defect_aware_impedance.test_interface_device_ac_recertifies_supplied_dc_state_on_live_operator", + "edges": [ + { + "caller": "tests.integration.test_interface_defect_aware_impedance.test_interface_device_ac_recertifies_supplied_dc_state_on_live_operator", + "callee": "perovskite_sim.experiments.quasi_fermi_steady_state.solve_equilibrium_referenced_interface_charge_steady_state", + "line": 205, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_interface_charge_jv.test_contact_opt_in_is_bit_identical_and_seed_tampering_fails_closed", + "edges": [ + { + "caller": "tests.unit.experiments.test_interface_charge_jv.test_contact_opt_in_is_bit_identical_and_seed_tampering_fails_closed", + "callee": "perovskite_sim.experiments.quasi_fermi_steady_state.solve_equilibrium_referenced_interface_charge_steady_state", + "line": 404, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_quasi_fermi_steady_state.test_research_api_binds_dark_reference_and_keeps_production_gate_parked", + "edges": [ + { + "caller": "tests.unit.experiments.test_quasi_fermi_steady_state.test_research_api_binds_dark_reference_and_keeps_production_gate_parked", + "callee": "perovskite_sim.experiments.quasi_fermi_steady_state.solve_equilibrium_referenced_interface_charge_steady_state", + "line": 1122, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_quasi_fermi_steady_state.test_research_api_rejects_reference_from_a_different_stack", + "edges": [ + { + "caller": "tests.unit.experiments.test_quasi_fermi_steady_state.test_research_api_rejects_reference_from_a_different_stack", + "callee": "perovskite_sim.experiments.quasi_fermi_steady_state.solve_equilibrium_referenced_interface_charge_steady_state", + "line": 1199, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_quasi_fermi_steady_state.test_research_api_rejects_tampered_dark_reference_state_hash", + "edges": [ + { + "caller": "tests.unit.experiments.test_quasi_fermi_steady_state.test_research_api_rejects_tampered_dark_reference_state_hash", + "callee": "perovskite_sim.experiments.quasi_fermi_steady_state.solve_equilibrium_referenced_interface_charge_steady_state", + "line": 1244, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_quasi_fermi_steady_state.test_research_api_rejects_tampered_microscopic_dark_reference", + "edges": [ + { + "caller": "tests.unit.experiments.test_quasi_fermi_steady_state.test_research_api_rejects_tampered_microscopic_dark_reference", + "callee": "perovskite_sim.experiments.quasi_fermi_steady_state.solve_equilibrium_referenced_interface_charge_steady_state", + "line": 1284, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_interface_charge_jv.test_fake_sweep_reuses_charged_points_and_retains_evidence", + "edges": [ + { + "caller": "tests.unit.experiments.test_interface_charge_jv.test_fake_sweep_reuses_charged_points_and_retains_evidence", + "callee": "perovskite_sim.experiments.interface_charge_jv.solve_interface_charge_jv", + "line": 264, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.interface_charge_jv.solve_interface_charge_jv", + "callee": "perovskite_sim.experiments.quasi_fermi_steady_state.solve_equilibrium_referenced_interface_charge_steady_state", + "line": 804, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_interface_charge_jv.test_real_small_grid_charged_jv_has_pointwise_evidence", + "edges": [ + { + "caller": "tests.unit.experiments.test_interface_charge_jv.test_real_small_grid_charged_jv_has_pointwise_evidence", + "callee": "perovskite_sim.experiments.interface_charge_jv.solve_interface_charge_jv", + "line": 475, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.interface_charge_jv.solve_interface_charge_jv", + "callee": "perovskite_sim.experiments.quasi_fermi_steady_state.solve_equilibrium_referenced_interface_charge_steady_state", + "line": 804, + "kind": "call" + } + ] + } + ], + "original_scope_limitations": null, + "active_contract": null, + "obligations": [ + { + "id": "new-source-experiment-e5baf86a6d60f39c", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-e5baf86a6d60f39c.json", + "tasks": [ + "P04-04", + "P05-01", + "P05-02" + ], + "gates": [ + "G4", + "G5" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof", + "per-physical-observable units/norm/reference scale/zero policy and applicable original or prospectively frozen threshold; test truth values do not fill this field" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-f0925d75fb53651a07afe567", + "rule-ead5ee27e027f7b4b62f9e1b", + "rule-e8c6c569db88e08127b77f1f", + "rule-0ce47613c202408ebe4bf335", + "rule-55033681998948f994bee963", + "rule-073f57e533764b28cb946a4d", + "rule-bb9c8ef9a62ba3baafb6c2b7", + "rule-5c223a82d04dd3f39a82b9e2", + "rule-bee4f719f1d5e2ed33c8b463", + "rule-ec731e62e54b6f86e3b62e49", + "rule-81bb7d5b990dbac0bcc55e6f", + "rule-1c5bdfd3809940a34b1e48db", + "rule-aefc83c0a7a124a08b354da4", + "rule-93a59f6c73a18611e176c674", + "rule-1f5ec1cf7095ff0e80fa3f89", + "rule-1a400b20980e0e2da4cd87ce", + "rule-bf59f2fea306ff0639c96d8d", + "rule-b379a5df157288bf28b8268e", + "rule-63744b9121213c5bc4d9efa8", + "rule-42f4f2cc25db39295881626c", + "rule-fdfc53a580461da037cd1e47", + "rule-09fc7e13e100da105c97986f", + "rule-ced71cfa7d6e282b3acdaeb2", + "rule-5992fd62bc62c4d991de0037", + "rule-cb3f2e48c2fd3f8b0b9e3ea9", + "rule-f8abc1a377c944b14317755f", + "rule-34f67c772314d6c1c0e91939", + "rule-1d7d66d8e78af7c43ffccb45", + "rule-7f1ca22471877da3498c3ae1", + "rule-4b8af33b98a8c1c50c3a17e0", + "rule-088e381c0a89d22abc358b43", + "rule-0711f6cb71f34f0408ab5ba0", + "rule-f2d90d722beb39aba0484dbc", + "rule-b0ca0b2e3844e284475dad56", + "rule-c127576cb30e7d0e560510c3", + "rule-3c8e2e14ae3b74be63d92128", + "rule-ec3bf9575bc0bbbabc39b37d", + "rule-e39c23ba4b63d0cab46b379b", + "rule-26d78449a2ae12bb8cc81342", + "rule-b43a01d029c4e6be6070bf6e", + "rule-dc390075f1af30a7919a82f1" + ], + "comparison_scope_id": "scope-experiment-e5baf86a6d60f39c" + }, + { + "capability_id": "experiment-2013b85fee4526d6", + "route_id": "route-1c35c1275d46d863", + "origin_key": "experiment:perovskite_sim.experiments.quasi_fermi_steady_state.solve_quasi_fermi_jv_sweep", + "target": { + "capability_id": "experiment-2013b85fee4526d6", + "scope_id": "experiment:perovskite_sim.experiments.quasi_fermi_steady_state.solve_quasi_fermi_jv_sweep", + "kind": "original_scoped_assertions", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_assertions_bound", + "citations": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/quasi_fermi_steady_state.py", + "symbol": "solve_quasi_fermi_jv_sweep" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "symbol": "test_mixed_distributed_species_close_in_illuminated_qf_jv" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "symbol": "test_public_qf_jv_sweep_retains_charged_defect_certificates" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_multivalent_explicit_defects_qf.py", + "symbol": "test_multi_species_v4_layer_is_certified_through_the_qf_lane" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_multivalent_explicit_defects_qf.py", + "symbol": "test_public_qf_jv_sweep_retains_multivalent_certificates" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_spatially_graded_explicit_defects_qf.py", + "symbol": "test_spatially_graded_dark_qf_state_and_small_jv_are_certified" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_jv_driver_capability.py", + "symbol": "test_qf_stop_after_voc_advances_to_next_nested_coarse_point" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_jv_driver_capability.py", + "symbol": "test_qf_stop_after_voc_retains_the_certified_bracket" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py", + "symbol": "test_certified_short_circuit_seed_is_recertified_directly_at_one_sun" + } + ], + "original_evidence": [ + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "symbol": "test_mixed_distributed_species_close_in_illuminated_qf_jv" + }, + "test_node": "perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_mixed_distributed_species_close_in_illuminated_qf_jv", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "symbol": "test_public_qf_jv_sweep_retains_charged_defect_certificates" + }, + "test_node": "perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_public_qf_jv_sweep_retains_charged_defect_certificates", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_multivalent_explicit_defects_qf.py", + "symbol": "test_multi_species_v4_layer_is_certified_through_the_qf_lane" + }, + "test_node": "perovskite-sim/tests/integration/test_multivalent_explicit_defects_qf.py::test_multi_species_v4_layer_is_certified_through_the_qf_lane", + "scope_docstring": "Two physical multivalent defects in one layer share the device lane.", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_multivalent_explicit_defects_qf.py", + "symbol": "test_public_qf_jv_sweep_retains_multivalent_certificates" + }, + "test_node": "perovskite-sim/tests/integration/test_multivalent_explicit_defects_qf.py::test_public_qf_jv_sweep_retains_multivalent_certificates", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_spatially_graded_explicit_defects_qf.py", + "symbol": "test_spatially_graded_dark_qf_state_and_small_jv_are_certified" + }, + "test_node": "perovskite-sim/tests/integration/test_spatially_graded_explicit_defects_qf.py::test_spatially_graded_dark_qf_state_and_small_jv_are_certified", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_jv_driver_capability.py", + "symbol": "test_qf_stop_after_voc_advances_to_next_nested_coarse_point" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_jv_driver_capability.py::test_qf_stop_after_voc_advances_to_next_nested_coarse_point", + "scope_docstring": null, + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_jv_driver_capability.py", + "symbol": "test_qf_stop_after_voc_retains_the_certified_bracket" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_jv_driver_capability.py::test_qf_stop_after_voc_retains_the_certified_bracket", + "scope_docstring": null, + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py", + "symbol": "test_certified_short_circuit_seed_is_recertified_directly_at_one_sun" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py::test_certified_short_circuit_seed_is_recertified_directly_at_one_sun", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + } + ], + "call_chains": [ + { + "test": "tests.integration.test_charged_explicit_defects_qf.test_mixed_distributed_species_close_in_illuminated_qf_jv", + "edges": [ + { + "caller": "tests.integration.test_charged_explicit_defects_qf.test_mixed_distributed_species_close_in_illuminated_qf_jv", + "callee": "perovskite_sim.experiments.quasi_fermi_steady_state.solve_quasi_fermi_jv_sweep", + "line": 738, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_charged_explicit_defects_qf.test_public_qf_jv_sweep_retains_charged_defect_certificates", + "edges": [ + { + "caller": "tests.integration.test_charged_explicit_defects_qf.test_public_qf_jv_sweep_retains_charged_defect_certificates", + "callee": "perovskite_sim.experiments.quasi_fermi_steady_state.solve_quasi_fermi_jv_sweep", + "line": 695, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_multivalent_explicit_defects_qf.test_multi_species_v4_layer_is_certified_through_the_qf_lane", + "edges": [ + { + "caller": "tests.integration.test_multivalent_explicit_defects_qf.test_multi_species_v4_layer_is_certified_through_the_qf_lane", + "callee": "perovskite_sim.experiments.quasi_fermi_steady_state.solve_quasi_fermi_jv_sweep", + "line": 577, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_multivalent_explicit_defects_qf.test_public_qf_jv_sweep_retains_multivalent_certificates", + "edges": [ + { + "caller": "tests.integration.test_multivalent_explicit_defects_qf.test_public_qf_jv_sweep_retains_multivalent_certificates", + "callee": "perovskite_sim.experiments.quasi_fermi_steady_state.solve_quasi_fermi_jv_sweep", + "line": 994, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_spatially_graded_explicit_defects_qf.test_spatially_graded_dark_qf_state_and_small_jv_are_certified", + "edges": [ + { + "caller": "tests.integration.test_spatially_graded_explicit_defects_qf.test_spatially_graded_dark_qf_state_and_small_jv_are_certified", + "callee": "perovskite_sim.experiments.quasi_fermi_steady_state.solve_quasi_fermi_jv_sweep", + "line": 252, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_jv_driver_capability.test_qf_stop_after_voc_advances_to_next_nested_coarse_point", + "edges": [ + { + "caller": "tests.unit.experiments.test_jv_driver_capability.test_qf_stop_after_voc_advances_to_next_nested_coarse_point", + "callee": "perovskite_sim.experiments.quasi_fermi_steady_state.solve_quasi_fermi_jv_sweep", + "line": 180, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_jv_driver_capability.test_qf_stop_after_voc_retains_the_certified_bracket", + "edges": [ + { + "caller": "tests.unit.experiments.test_jv_driver_capability.test_qf_stop_after_voc_retains_the_certified_bracket", + "callee": "perovskite_sim.experiments.quasi_fermi_steady_state.solve_quasi_fermi_jv_sweep", + "line": 154, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_quasi_fermi_steady_state.test_certified_short_circuit_seed_is_recertified_directly_at_one_sun", + "edges": [ + { + "caller": "tests.unit.experiments.test_quasi_fermi_steady_state.test_certified_short_circuit_seed_is_recertified_directly_at_one_sun", + "callee": "perovskite_sim.experiments.quasi_fermi_steady_state.solve_quasi_fermi_jv_sweep", + "line": 306, + "kind": "call" + } + ] + } + ], + "original_scope_limitations": null, + "active_contract": null, + "obligations": [ + { + "id": "new-source-experiment-2013b85fee4526d6", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-2013b85fee4526d6.json", + "tasks": [ + "P04-04", + "P05-01", + "P05-02" + ], + "gates": [ + "G4", + "G5" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof", + "per-physical-observable units/norm/reference scale/zero policy and applicable original or prospectively frozen threshold; test truth values do not fill this field" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-9be754e79922a10f8836400f", + "rule-214d9924db7738b2ccf7be07", + "rule-6ea161fc1e7315ea8db70e46", + "rule-ce2e04f7ec3bcd8ed0048298", + "rule-fb047f3bfc0cb99cf41abf5f", + "rule-1ff9833ed159a9e486f31e1d", + "rule-65312ff01b71735a918d056b", + "rule-916f904df4ec5c8bdff50281", + "rule-5124e346ed18994dcc08d450", + "rule-c08b5ce129bf84bb6169553f", + "rule-529d696bc6a717bef12fb3c8", + "rule-077e23767dc835c986662fe4", + "rule-f07f85f37c398ec3ea01c806", + "rule-e9613fe29a6aa4d4858290ab", + "rule-f92c93bfff049d2f7b9ff98b", + "rule-0535b5c6f9527a96442c133f", + "rule-21b530f6b95adf8382c28707", + "rule-50ec80b5f48faf5d08b281e2", + "rule-0b44b3cd2ae0ab53db2f02d0", + "rule-67fbca59dc1c3262c84f4214", + "rule-f27ba068b0b5fd5c8454ad54", + "rule-eea791ff772af5d3b17f21c9", + "rule-158d945f762287340493eaf5", + "rule-688fed8c4e04dbf56a31992f", + "rule-49bc0d0e12284514e28be8e8", + "rule-e6045f24ef387b1c8911ad67", + "rule-8472e0c58d78a3337d41ddc2", + "rule-7fba07a6a5e9765156181597", + "rule-e100a8c2da42629645d4d79b", + "rule-f3ebc00061806eabf4ae0b9b", + "rule-07c6a17310cfa55b5143e851", + "rule-45ae930669dc92a0e8670052", + "rule-0c411c46f1208d660ff52ba6", + "rule-1df4324651302876c968dc18", + "rule-909e6a59e63ff1f71b598eff", + "rule-a3bd894687788b4ccb96766b", + "rule-76cda7384a908bca34a56255", + "rule-caf2819b1073aaa6814f37b3", + "rule-a4d7912d89d1999ef2391c5c", + "rule-85ddefac0ad83d9372f98476", + "rule-6f986b5dda3bffe999038151", + "rule-26d071162d8e387efa88cfa8", + "rule-e82e96cd5723b491de880d9b", + "rule-d3dba7b745f286a1e31f34b5", + "rule-2299581574619015dfb57493", + "rule-77df755a2936bed2e0d9f864" + ], + "comparison_scope_id": "scope-experiment-2013b85fee4526d6" + }, + { + "capability_id": "experiment-06f3862814316e87", + "route_id": "route-1c35c1275d46d863", + "origin_key": "experiment:perovskite_sim.experiments.quasi_fermi_steady_state.solve_quasi_fermi_steady_state", + "target": { + "capability_id": "experiment-06f3862814316e87", + "scope_id": "experiment:perovskite_sim.experiments.quasi_fermi_steady_state.solve_quasi_fermi_steady_state", + "kind": "original_scoped_assertions", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_assertions_bound", + "citations": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/quasi_fermi_steady_state.py", + "symbol": "solve_quasi_fermi_steady_state" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "symbol": "test_charged_dark_equilibrium_is_qf_residual_certified" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "symbol": "test_charged_defect_and_heterojunction_close_in_one_qf_dc_residual" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "symbol": "test_charged_illuminated_biased_state_is_qf_residual_certified" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "symbol": "test_distributed_dark_equilibrium_is_qf_residual_certified" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "symbol": "test_distributed_energy_order_is_bound_into_material_and_public_result" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "symbol": "test_distributed_qf_scope_rejects_mobile_ions_fd_and_spatial_grading" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "symbol": "test_dynamic_bulk_defect_device_ac_recertifies_supplied_dc_state" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "symbol": "test_dynamic_bulk_defect_device_ac_rejects_dc_state_from_another_model" + } + ], + "original_evidence": [ + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "symbol": "test_charged_dark_equilibrium_is_qf_residual_certified" + }, + "test_node": "perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_charged_dark_equilibrium_is_qf_residual_certified", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "symbol": "test_charged_defect_and_heterojunction_close_in_one_qf_dc_residual" + }, + "test_node": "perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_charged_defect_and_heterojunction_close_in_one_qf_dc_residual", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "symbol": "test_charged_illuminated_biased_state_is_qf_residual_certified" + }, + "test_node": "perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_charged_illuminated_biased_state_is_qf_residual_certified", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "symbol": "test_distributed_dark_equilibrium_is_qf_residual_certified" + }, + "test_node": "perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_distributed_dark_equilibrium_is_qf_residual_certified", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "symbol": "test_distributed_energy_order_is_bound_into_material_and_public_result" + }, + "test_node": "perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_distributed_energy_order_is_bound_into_material_and_public_result", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "symbol": "test_distributed_qf_scope_rejects_mobile_ions_fd_and_spatial_grading" + }, + "test_node": "perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_distributed_qf_scope_rejects_mobile_ions_fd_and_spatial_grading", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "symbol": "test_dynamic_bulk_defect_device_ac_recertifies_supplied_dc_state" + }, + "test_node": "perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_dynamic_bulk_defect_device_ac_recertifies_supplied_dc_state", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "symbol": "test_dynamic_bulk_defect_device_ac_rejects_dc_state_from_another_model" + }, + "test_node": "perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_dynamic_bulk_defect_device_ac_rejects_dc_state_from_another_model", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + } + ], + "call_chains": [ + { + "test": "tests.integration.test_charged_explicit_defects_qf.test_charged_dark_equilibrium_is_qf_residual_certified", + "edges": [ + { + "caller": "tests.integration.test_charged_explicit_defects_qf.test_charged_dark_equilibrium_is_qf_residual_certified", + "callee": "perovskite_sim.experiments.quasi_fermi_steady_state.solve_quasi_fermi_steady_state", + "line": 604, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_charged_explicit_defects_qf.test_charged_defect_and_heterojunction_close_in_one_qf_dc_residual", + "edges": [ + { + "caller": "tests.integration.test_charged_explicit_defects_qf.test_charged_defect_and_heterojunction_close_in_one_qf_dc_residual", + "callee": "perovskite_sim.experiments.quasi_fermi_steady_state.solve_quasi_fermi_steady_state", + "line": 653, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_charged_explicit_defects_qf.test_charged_illuminated_biased_state_is_qf_residual_certified", + "edges": [ + { + "caller": "tests.integration.test_charged_explicit_defects_qf.test_charged_illuminated_biased_state_is_qf_residual_certified", + "callee": "perovskite_sim.experiments.quasi_fermi_steady_state.solve_quasi_fermi_steady_state", + "line": 631, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_charged_explicit_defects_qf.test_distributed_dark_equilibrium_is_qf_residual_certified", + "edges": [ + { + "caller": "tests.integration.test_charged_explicit_defects_qf.test_distributed_dark_equilibrium_is_qf_residual_certified", + "callee": "perovskite_sim.experiments.quasi_fermi_steady_state.solve_quasi_fermi_steady_state", + "line": 446, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_charged_explicit_defects_qf.test_distributed_energy_order_is_bound_into_material_and_public_result", + "edges": [ + { + "caller": "tests.integration.test_charged_explicit_defects_qf.test_distributed_energy_order_is_bound_into_material_and_public_result", + "callee": "perovskite_sim.experiments.quasi_fermi_steady_state.solve_quasi_fermi_steady_state", + "line": 512, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_charged_explicit_defects_qf.test_distributed_qf_scope_rejects_mobile_ions_fd_and_spatial_grading", + "edges": [ + { + "caller": "tests.integration.test_charged_explicit_defects_qf.test_distributed_qf_scope_rejects_mobile_ions_fd_and_spatial_grading", + "callee": "perovskite_sim.experiments.quasi_fermi_steady_state.solve_quasi_fermi_steady_state", + "line": 781, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_charged_explicit_defects_qf.test_dynamic_bulk_defect_device_ac_recertifies_supplied_dc_state", + "edges": [ + { + "caller": "tests.integration.test_charged_explicit_defects_qf.test_dynamic_bulk_defect_device_ac_recertifies_supplied_dc_state", + "callee": "perovskite_sim.experiments.quasi_fermi_steady_state.solve_quasi_fermi_steady_state", + "line": 969, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_charged_explicit_defects_qf.test_dynamic_bulk_defect_device_ac_rejects_dc_state_from_another_model", + "edges": [ + { + "caller": "tests.integration.test_charged_explicit_defects_qf.test_dynamic_bulk_defect_device_ac_rejects_dc_state_from_another_model", + "callee": "perovskite_sim.experiments.quasi_fermi_steady_state.solve_quasi_fermi_steady_state", + "line": 950, + "kind": "call" + } + ] + } + ], + "original_scope_limitations": null, + "active_contract": null, + "obligations": [ + { + "id": "new-source-experiment-06f3862814316e87", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-06f3862814316e87.json", + "tasks": [ + "P04-04", + "P05-01", + "P05-02" + ], + "gates": [ + "G4", + "G5" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof", + "per-physical-observable units/norm/reference scale/zero policy and applicable original or prospectively frozen threshold; test truth values do not fill this field" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-29c5db6f3703082b1bdb3cd0", + "rule-f90b9d3df42f483917723084", + "rule-3dbbfc35bbfbdae88c96ddf3", + "rule-7f82be697bbf540d94cdd815", + "rule-3b2fd11b9c491521f922fcbb", + "rule-cf9581295ddd53a3782495a7", + "rule-97a49289a406b9edbc0f2b59", + "rule-71530268c41c628ee115d26e", + "rule-1d173a7e27e0af6e74e7e207", + "rule-edc483cf316439ff39f0ef28", + "rule-5d40cbd23bedc5969d8e4391", + "rule-85ecd79d2ad280a583211bd1", + "rule-4288ab85b7d17f9be6ea4bfc", + "rule-60472a7db956bdab1ee45b73", + "rule-ab71dca9f6bef82090b4a351", + "rule-dfa719c8f13793b08e9373d6", + "rule-20d6d93d28bb34d5b14d1dc4", + "rule-b8b8424057569dee034acb9f", + "rule-d816fd4891245f68e66821e7", + "rule-32e0f6c5f5b6195df88db3ca", + "rule-a8f0ff3c7c439de1dc7cb9c6", + "rule-14c859709b5f6e4181c51ed0", + "rule-c20ba11daf52b1452e315552", + "rule-b950937c4b3a2ee934f33e2f", + "rule-5e6f870a9e36305392dca8ae", + "rule-24830abf127e9d02df1fb4b8", + "rule-a0ea3fb451ce2f530100166f", + "rule-8462aabddd5c99c15876ac4a", + "rule-b215f69ca39282bc4464cfde", + "rule-17f8c616c83d27a36f77da67", + "rule-778550557d4b5ff1de960684", + "rule-35ee73f9b4bf99f1cc47bc5f", + "rule-869cc99018e78850e2f1d112", + "rule-7d7f9e1b034d54b0df788ec0", + "rule-c2b912e46b32ad21cb35e70f", + "rule-4eb94b5a173482e7e7209609", + "rule-8643234f3430e0dcf8b3fd3e", + "rule-e9919f003f969ed75c4d0731", + "rule-b2875c0f774b716cdb828332", + "rule-d12e2c16b16e4883b10bda91", + "rule-7794f22ed8ae715ed9ef0558", + "rule-6745cd61c886f8422028b125", + "rule-75f786d756e2fd5a0b246261", + "rule-ef2ed18f3aa18e54e910707c", + "rule-751325da264bfa636f54435c", + "rule-348857adb1d70cb29541269d", + "rule-e5b8e7fcdcef4d2812c816bf", + "rule-2154c957674abe237b00a71c", + "rule-c871170ee6e3def7d689180a", + "rule-e66640f04f9f2e147f8a6a39", + "rule-14e4a21d9de312ab3a750891", + "rule-c689fcda756e9ea2aaaa8c68" + ], + "comparison_scope_id": "scope-experiment-06f3862814316e87" + }, + { + "capability_id": "experiment-950330e143988071", + "route_id": "route-e968e8702b679dff", + "origin_key": "experiment:perovskite_sim.experiments.steady_state.run_jv_sweep_ss", + "target": { + "capability_id": "experiment-950330e143988071", + "scope_id": "experiment:perovskite_sim.experiments.steady_state.run_jv_sweep_ss", + "kind": "original_scoped_assertions", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_assertions_bound", + "citations": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/steady_state.py", + "symbol": "run_jv_sweep_ss" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_grid_envelope.py", + "symbol": "test_underresolved_overrides_are_explicit_and_reach_both_drivers" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_grid_envelope.py", + "symbol": "test_underresolved_transient_and_ss_jv_fail_before_integration" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_jv_driver_capability.py", + "symbol": "test_qf_required_policy_rejects_general_drivers_before_solve" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_steady_state.py", + "symbol": "test_direct_voc_consistent_with_jv" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_steady_state.py", + "symbol": "test_ss_jv_matches_frozen_ion_transient" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_steady_state.py", + "symbol": "test_ss_sweep_reports_point_level_acceptance" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_steady_state.py", + "symbol": "test_stop_after_voc_default_off_reaches_vmax" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_steady_state.py", + "symbol": "test_stop_after_voc_truncates_and_avoids_deep_injection" + } + ], + "original_evidence": [ + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_grid_envelope.py", + "symbol": "test_underresolved_overrides_are_explicit_and_reach_both_drivers" + }, + "test_node": "perovskite-sim/tests/regression/test_csi_grid_envelope.py::test_underresolved_overrides_are_explicit_and_reach_both_drivers", + "scope_docstring": null, + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_grid_envelope.py", + "symbol": "test_underresolved_transient_and_ss_jv_fail_before_integration" + }, + "test_node": "perovskite-sim/tests/regression/test_csi_grid_envelope.py::test_underresolved_transient_and_ss_jv_fail_before_integration", + "scope_docstring": null, + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_jv_driver_capability.py", + "symbol": "test_qf_required_policy_rejects_general_drivers_before_solve" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_jv_driver_capability.py::test_qf_required_policy_rejects_general_drivers_before_solve", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_steady_state.py", + "symbol": "test_direct_voc_consistent_with_jv" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_steady_state.py::test_direct_voc_consistent_with_jv", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_steady_state.py", + "symbol": "test_ss_jv_matches_frozen_ion_transient" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_steady_state.py::test_ss_jv_matches_frozen_ion_transient", + "scope_docstring": "Parity gate: same physics, two drivers, frozen ions both.", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_steady_state.py", + "symbol": "test_ss_sweep_reports_point_level_acceptance" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_steady_state.py::test_ss_sweep_reports_point_level_acceptance", + "scope_docstring": null, + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_steady_state.py", + "symbol": "test_stop_after_voc_default_off_reaches_vmax" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_steady_state.py::test_stop_after_voc_default_off_reaches_vmax", + "scope_docstring": "Default (False) is the legacy full-range sweep (bit-identical path).", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_steady_state.py", + "symbol": "test_stop_after_voc_truncates_and_avoids_deep_injection" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_steady_state.py::test_stop_after_voc_truncates_and_avoids_deep_injection", + "scope_docstring": "``stop_after_voc`` halts the continuation once J crosses zero, so a\nhigh ``V_max`` no longer drags the sweep into the deep-forward-injection\npoints (V >> V_oc) whose certified fallback grinds for minutes. The 0->V_oc\narc fully determines the metrics, so V_oc is unchanged.", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + } + ], + "call_chains": [ + { + "test": "tests.regression.test_csi_grid_envelope.test_underresolved_overrides_are_explicit_and_reach_both_drivers", + "edges": [ + { + "caller": "tests.regression.test_csi_grid_envelope.test_underresolved_overrides_are_explicit_and_reach_both_drivers", + "callee": "perovskite_sim.experiments.steady_state.run_jv_sweep_ss", + "line": 119, + "kind": "call" + } + ] + }, + { + "test": "tests.regression.test_csi_grid_envelope.test_underresolved_transient_and_ss_jv_fail_before_integration", + "edges": [ + { + "caller": "tests.regression.test_csi_grid_envelope.test_underresolved_transient_and_ss_jv_fail_before_integration", + "callee": "perovskite_sim.experiments.steady_state.run_jv_sweep_ss", + "line": 89, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_jv_driver_capability.test_qf_required_policy_rejects_general_drivers_before_solve", + "edges": [ + { + "caller": "tests.unit.experiments.test_jv_driver_capability.test_qf_required_policy_rejects_general_drivers_before_solve", + "callee": "perovskite_sim.experiments.steady_state.run_jv_sweep_ss", + "line": 97, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_steady_state.test_direct_voc_consistent_with_jv", + "edges": [ + { + "caller": "tests.unit.experiments.test_steady_state.test_direct_voc_consistent_with_jv", + "callee": "perovskite_sim.experiments.steady_state.run_jv_sweep_ss", + "line": 103, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_steady_state.test_ss_jv_matches_frozen_ion_transient", + "edges": [ + { + "caller": "tests.unit.experiments.test_steady_state.test_ss_jv_matches_frozen_ion_transient", + "callee": "perovskite_sim.experiments.steady_state.run_jv_sweep_ss", + "line": 92, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_steady_state.test_ss_sweep_reports_point_level_acceptance", + "edges": [ + { + "caller": "tests.unit.experiments.test_steady_state.test_ss_sweep_reports_point_level_acceptance", + "callee": "perovskite_sim.experiments.steady_state.run_jv_sweep_ss", + "line": 310, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_steady_state.test_stop_after_voc_default_off_reaches_vmax", + "edges": [ + { + "caller": "tests.unit.experiments.test_steady_state.test_stop_after_voc_default_off_reaches_vmax", + "callee": "perovskite_sim.experiments.steady_state.run_jv_sweep_ss", + "line": 131, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_steady_state.test_stop_after_voc_truncates_and_avoids_deep_injection", + "edges": [ + { + "caller": "tests.unit.experiments.test_steady_state.test_stop_after_voc_truncates_and_avoids_deep_injection", + "callee": "perovskite_sim.experiments.steady_state.run_jv_sweep_ss", + "line": 117, + "kind": "call" + } + ] + } + ], + "original_scope_limitations": null, + "active_contract": null, + "obligations": [ + { + "id": "new-source-experiment-950330e143988071", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-950330e143988071.json", + "tasks": [ + "P04-04", + "P05-01", + "P05-02" + ], + "gates": [ + "G4", + "G5" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof", + "per-physical-observable units/norm/reference scale/zero policy and applicable original or prospectively frozen threshold; test truth values do not fill this field" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-7c07238b6404977829883a59", + "rule-e1907bad4174fa0a733201e7", + "rule-e728593f79afe3dff4c5a193", + "rule-67c59a6eaa2514e6a2ee525a", + "rule-142f90f160a99cd984e06faa", + "rule-09a9ebac3b0482414392762b", + "rule-1d74fb3c4e06a98baead150d", + "rule-4583bc9e2b06a22f3c690e9c", + "rule-9fd300f3ac28d8d61a7b1a7a", + "rule-4681a699ef17340423e05d94", + "rule-317eedbdf954dd1d86682d22", + "rule-02d69392d479e75cae1dc843", + "rule-487af23f6285e765bebcd0b4", + "rule-fcb41ff56204caac996b9796", + "rule-120e8e64b1b477ee4a11c3b6", + "rule-8a41ca4a5abe9f36bea2a615", + "rule-9b76a9887986bcaf6b574631", + "rule-9b2d06ae3c290f44411367c6", + "rule-9609bc8bd98c7b09428e70be", + "rule-6d592e0fc0df37b6b4b8d821", + "rule-6a7b6e6035498f89d4bbaa00", + "rule-03785660f2fa6f14c64cc16e", + "rule-9449c7bab431ce0513e076f0", + "rule-665768419af762bc0f63891d" + ], + "comparison_scope_id": "scope-experiment-950330e143988071" + }, + { + "capability_id": "experiment-8c6cbf43a9370396", + "route_id": "route-e968e8702b679dff", + "origin_key": "experiment:perovskite_sim.experiments.steady_state.solve_steady_state", + "target": { + "capability_id": "experiment-8c6cbf43a9370396", + "scope_id": "experiment:perovskite_sim.experiments.steady_state.solve_steady_state", + "kind": "original_scoped_assertions", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_assertions_bound", + "citations": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/steady_state.py", + "symbol": "solve_steady_state" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_steady_state.py", + "symbol": "test_continuity_current_error_bound_must_be_finite_and_positive" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_steady_state.py", + "symbol": "test_dark_equilibrium_converges_with_small_residual" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_steady_state.py", + "symbol": "test_illuminated_jsc_physical" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_steady_state.py", + "symbol": "test_initial_residual_gate_reports_strict_convergence" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_steady_state.py", + "symbol": "test_nonconvergence_raises" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_steady_state.py", + "symbol": "test_qfl_relax_identity_at_converged_state" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_steady_state.py", + "symbol": "test_qfl_relax_preserves_negative_overshoots" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_steady_state.py", + "symbol": "test_stall_acceptance_is_current_scaled_for_thick_high_density_device" + } + ], + "original_evidence": [ + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_steady_state.py", + "symbol": "test_continuity_current_error_bound_must_be_finite_and_positive" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_steady_state.py::test_continuity_current_error_bound_must_be_finite_and_positive", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_steady_state.py", + "symbol": "test_dark_equilibrium_converges_with_small_residual" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_steady_state.py::test_dark_equilibrium_converges_with_small_residual", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_steady_state.py", + "symbol": "test_illuminated_jsc_physical" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_steady_state.py::test_illuminated_jsc_physical", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_steady_state.py", + "symbol": "test_initial_residual_gate_reports_strict_convergence" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_steady_state.py::test_initial_residual_gate_reports_strict_convergence", + "scope_docstring": null, + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_steady_state.py", + "symbol": "test_nonconvergence_raises" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_steady_state.py::test_nonconvergence_raises", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_steady_state.py", + "symbol": "test_qfl_relax_identity_at_converged_state" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_steady_state.py::test_qfl_relax_identity_at_converged_state", + "scope_docstring": "The phi-step is an identity at a Poisson-consistent converged state\n(quasi-Fermi levels preserved, delta-phi ~ 0).", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_steady_state.py", + "symbol": "test_qfl_relax_preserves_negative_overshoots" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_steady_state.py::test_qfl_relax_preserves_negative_overshoots", + "scope_docstring": "A transient-overshoot negative density passes through untouched —\nflooring it to hard zero made the RHS evaluate catastrophically\n(measured res 2e-3 -> 5.5e+02 at the V=0.8625 fallback).", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_steady_state.py", + "symbol": "test_stall_acceptance_is_current_scaled_for_thick_high_density_device" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_steady_state.py::test_stall_acceptance_is_current_scaled_for_thick_high_density_device", + "scope_docstring": "The same rate residual cannot certify thin PVK and thick c-Si alike.", + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + } + ], + "call_chains": [ + { + "test": "tests.unit.experiments.test_steady_state.test_continuity_current_error_bound_must_be_finite_and_positive", + "edges": [ + { + "caller": "tests.unit.experiments.test_steady_state.test_continuity_current_error_bound_must_be_finite_and_positive", + "callee": "perovskite_sim.experiments.steady_state.solve_steady_state", + "line": 427, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_steady_state.test_dark_equilibrium_converges_with_small_residual", + "edges": [ + { + "caller": "tests.unit.experiments.test_steady_state.test_dark_equilibrium_converges_with_small_residual", + "callee": "perovskite_sim.experiments.steady_state.solve_steady_state", + "line": 67, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_steady_state.test_illuminated_jsc_physical", + "edges": [ + { + "caller": "tests.unit.experiments.test_steady_state.test_illuminated_jsc_physical", + "callee": "perovskite_sim.experiments.steady_state.solve_steady_state", + "line": 81, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_steady_state.test_initial_residual_gate_reports_strict_convergence", + "edges": [ + { + "caller": "tests.unit.experiments.test_steady_state.test_initial_residual_gate_reports_strict_convergence", + "callee": "perovskite_sim.experiments.steady_state.solve_steady_state", + "line": 255, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_steady_state.test_nonconvergence_raises", + "edges": [ + { + "caller": "tests.unit.experiments.test_steady_state.test_nonconvergence_raises", + "callee": "perovskite_sim.experiments.steady_state.solve_steady_state", + "line": 180, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_steady_state.test_qfl_relax_identity_at_converged_state", + "edges": [ + { + "caller": "tests.unit.experiments.test_steady_state.test_qfl_relax_identity_at_converged_state", + "callee": "perovskite_sim.experiments.steady_state.solve_steady_state", + "line": 481, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_steady_state.test_qfl_relax_preserves_negative_overshoots", + "edges": [ + { + "caller": "tests.unit.experiments.test_steady_state.test_qfl_relax_preserves_negative_overshoots", + "callee": "perovskite_sim.experiments.steady_state.solve_steady_state", + "line": 498, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_steady_state.test_stall_acceptance_is_current_scaled_for_thick_high_density_device", + "edges": [ + { + "caller": "tests.unit.experiments.test_steady_state.test_stall_acceptance_is_current_scaled_for_thick_high_density_device", + "callee": "perovskite_sim.experiments.steady_state.solve_steady_state", + "line": 414, + "kind": "call" + } + ] + } + ], + "original_scope_limitations": null, + "active_contract": null, + "obligations": [ + { + "id": "new-source-experiment-8c6cbf43a9370396", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-8c6cbf43a9370396.json", + "tasks": [ + "P04-04", + "P05-01", + "P05-02" + ], + "gates": [ + "G4", + "G5" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof", + "per-physical-observable units/norm/reference scale/zero policy and applicable original or prospectively frozen threshold; test truth values do not fill this field" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-6a14ac7ce180d9945cc2026d", + "rule-0f9e40309cd95a3d905588aa", + "rule-f89333b5daa78bb46ca40333", + "rule-edcb47d93dddda23169d96f1", + "rule-602c88e404c2d1fdadda7e95", + "rule-3d399002f68d2f5d7968015c", + "rule-e062b2357e4bcfea6182bc51", + "rule-65b5c77340b4065f80c9053e", + "rule-506564453ec1aa6b575ef99c", + "rule-a2b075ef40ba594935a1dce2", + "rule-6bdba3fa320fbe81c771922c", + "rule-f5f840299f5fc9fd876592b6", + "rule-860354c314a2652c67b51799" + ], + "comparison_scope_id": "scope-experiment-8c6cbf43a9370396" + }, + { + "capability_id": "experiment-ded0cdfd37fe1002", + "route_id": "route-e968e8702b679dff", + "origin_key": "experiment:perovskite_sim.experiments.steady_state.solve_voc_ss", + "target": { + "capability_id": "experiment-ded0cdfd37fe1002", + "scope_id": "experiment:perovskite_sim.experiments.steady_state.solve_voc_ss", + "kind": "original_scoped_assertions", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_assertions_bound", + "citations": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/steady_state.py", + "symbol": "solve_voc_ss" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_grid_envelope.py", + "symbol": "test_underresolved_transient_and_ss_jv_fail_before_integration" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_jv_driver_capability.py", + "symbol": "test_qf_required_policy_rejects_general_drivers_before_solve" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_steady_state.py", + "symbol": "test_direct_voc_consistent_with_jv" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_steady_state.py", + "symbol": "test_low_doping_etl_metal_reservoir_brackets_physical_voc" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_steady_state.py", + "symbol": "test_low_doping_etl_without_metal_reservoir_is_explicit_no_crossing" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_steady_state.py", + "symbol": "test_stop_after_voc_truncates_and_avoids_deep_injection" + } + ], + "original_evidence": [ + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_grid_envelope.py", + "symbol": "test_underresolved_transient_and_ss_jv_fail_before_integration" + }, + "test_node": "perovskite-sim/tests/regression/test_csi_grid_envelope.py::test_underresolved_transient_and_ss_jv_fail_before_integration", + "scope_docstring": null, + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_jv_driver_capability.py", + "symbol": "test_qf_required_policy_rejects_general_drivers_before_solve" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_jv_driver_capability.py::test_qf_required_policy_rejects_general_drivers_before_solve", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_steady_state.py", + "symbol": "test_direct_voc_consistent_with_jv" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_steady_state.py::test_direct_voc_consistent_with_jv", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_steady_state.py", + "symbol": "test_low_doping_etl_metal_reservoir_brackets_physical_voc" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_steady_state.py::test_low_doping_etl_metal_reservoir_brackets_physical_voc", + "scope_docstring": "The shipped metal-reservoir BC closes the old no-crossing branch.\n\nThe SCAPS value is a calibrated comparison, not a holdout prediction: the\ncontact barrier in this preset is itself a model parameter. This gate\ntherefore checks finite/bracketed/sub-bandgap behaviour and retains the\nmeasured 60 mV comparison window without promoting it to external proof.", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_steady_state.py", + "symbol": "test_low_doping_etl_without_metal_reservoir_is_explicit_no_crossing" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_steady_state.py::test_low_doping_etl_without_metal_reservoir_is_explicit_no_crossing", + "scope_docstring": "The legacy contact choice remains a diagnosed model branch, not xfail.", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_steady_state.py", + "symbol": "test_stop_after_voc_truncates_and_avoids_deep_injection" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_steady_state.py::test_stop_after_voc_truncates_and_avoids_deep_injection", + "scope_docstring": "``stop_after_voc`` halts the continuation once J crosses zero, so a\nhigh ``V_max`` no longer drags the sweep into the deep-forward-injection\npoints (V >> V_oc) whose certified fallback grinds for minutes. The 0->V_oc\narc fully determines the metrics, so V_oc is unchanged.", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + } + ], + "call_chains": [ + { + "test": "tests.regression.test_csi_grid_envelope.test_underresolved_transient_and_ss_jv_fail_before_integration", + "edges": [ + { + "caller": "tests.regression.test_csi_grid_envelope.test_underresolved_transient_and_ss_jv_fail_before_integration", + "callee": "perovskite_sim.experiments.steady_state.solve_voc_ss", + "line": 91, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_jv_driver_capability.test_qf_required_policy_rejects_general_drivers_before_solve", + "edges": [ + { + "caller": "tests.unit.experiments.test_jv_driver_capability.test_qf_required_policy_rejects_general_drivers_before_solve", + "callee": "perovskite_sim.experiments.steady_state.solve_voc_ss", + "line": 105, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_steady_state.test_direct_voc_consistent_with_jv", + "edges": [ + { + "caller": "tests.unit.experiments.test_steady_state.test_direct_voc_consistent_with_jv", + "callee": "perovskite_sim.experiments.steady_state.solve_voc_ss", + "line": 104, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_steady_state.test_low_doping_etl_metal_reservoir_brackets_physical_voc", + "edges": [ + { + "caller": "tests.unit.experiments.test_steady_state.test_low_doping_etl_metal_reservoir_brackets_physical_voc", + "callee": "perovskite_sim.experiments.steady_state.solve_voc_ss", + "line": 160, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_steady_state.test_low_doping_etl_without_metal_reservoir_is_explicit_no_crossing", + "edges": [ + { + "caller": "tests.unit.experiments.test_steady_state.test_low_doping_etl_without_metal_reservoir_is_explicit_no_crossing", + "callee": "perovskite_sim.experiments.steady_state.solve_voc_ss", + "line": 173, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_steady_state.test_stop_after_voc_truncates_and_avoids_deep_injection", + "edges": [ + { + "caller": "tests.unit.experiments.test_steady_state.test_stop_after_voc_truncates_and_avoids_deep_injection", + "callee": "perovskite_sim.experiments.steady_state.solve_voc_ss", + "line": 120, + "kind": "call" + } + ] + } + ], + "original_scope_limitations": null, + "active_contract": null, + "obligations": [ + { + "id": "new-source-experiment-ded0cdfd37fe1002", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-ded0cdfd37fe1002.json", + "tasks": [ + "P04-04", + "P05-01", + "P05-02" + ], + "gates": [ + "G4", + "G5" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof", + "per-physical-observable units/norm/reference scale/zero policy and applicable original or prospectively frozen threshold; test truth values do not fill this field" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-e728593f79afe3dff4c5a193", + "rule-67c59a6eaa2514e6a2ee525a", + "rule-142f90f160a99cd984e06faa", + "rule-09a9ebac3b0482414392762b", + "rule-1d74fb3c4e06a98baead150d", + "rule-4583bc9e2b06a22f3c690e9c", + "rule-9fd300f3ac28d8d61a7b1a7a", + "rule-4681a699ef17340423e05d94", + "rule-317eedbdf954dd1d86682d22", + "rule-02d69392d479e75cae1dc843", + "rule-3553b678ec50db25702397f8", + "rule-d62763ca3a9d59d447dc138c", + "rule-2f04326121a19bb663651428", + "rule-02a2d8e22e148ceadce3708f", + "rule-1c665ebd6f66b247f004eff3", + "rule-6a7b6e6035498f89d4bbaa00", + "rule-03785660f2fa6f14c64cc16e", + "rule-9449c7bab431ce0513e076f0", + "rule-665768419af762bc0f63891d" + ], + "comparison_scope_id": "scope-experiment-ded0cdfd37fe1002" + }, + { + "capability_id": "experiment-db0ae95bf832243f", + "route_id": "route-dad900bc285405c9", + "origin_key": "experiment:perovskite_sim.experiments.suns_voc.run_suns_voc", + "target": { + "capability_id": "experiment-db0ae95bf832243f", + "scope_id": "experiment:perovskite_sim.experiments.suns_voc.run_suns_voc", + "kind": "original_scoped_assertions", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_assertions_bound", + "citations": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/suns_voc.py", + "symbol": "run_suns_voc" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_photon_recycling_voc.py", + "symbol": "test_photon_recycling_voc_below_sq_ceiling" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_photon_recycling_voc.py", + "symbol": "test_photon_recycling_voc_boost_in_window" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_radiative_reabsorption.py", + "symbol": "test_radiative_reabsorption_matches_phase_3_1_at_voc" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_radiative_reabsorption.py", + "symbol": "test_radiative_reabsorption_preserves_voc_boost" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_protocol.py", + "symbol": "test_public_experiments_reject_implicit_history_before_solving" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_suns_voc.py", + "symbol": "test_progress_callback_invoked" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_suns_voc.py", + "symbol": "test_pseudo_jv_anchors_at_one_sun_voc" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_suns_voc.py", + "symbol": "test_run_suns_voc_rejects_empty_levels" + } + ], + "original_evidence": [ + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_photon_recycling_voc.py", + "symbol": "test_photon_recycling_voc_below_sq_ceiling" + }, + "test_node": "perovskite-sim/tests/regression/test_photon_recycling_voc.py::test_photon_recycling_voc_below_sq_ceiling", + "scope_docstring": "V_oc with PR on is between 1.0 V and the Shockley-Queisser bound.\n\nA rough SQ ceiling for MAPbI3 at 1 sun and T=300 K is ~1.33 V (Eg=1.6,\nfull black-body reciprocity). The radiative-limit preset with PR on\nshould sit above 1.0 V (the measured MAPbI3 V_oc) but strictly below\nthe SQ bound. With B_rad at detailed-balance scale and Auger/SRH off\nthe diode can exceed ``V_bi = 0.79 V`` — carriers accumulate in the\ndegenerate regime — which is physically correct for the rad-limit.", + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_photon_recycling_voc.py", + "symbol": "test_photon_recycling_voc_boost_in_window" + }, + "test_node": "perovskite-sim/tests/regression/test_photon_recycling_voc.py::test_photon_recycling_voc_boost_in_window", + "scope_docstring": "ΔV_oc(PR on vs PR off) in MAPbI3 radiative-limit preset ∈ [40, 100] mV.", + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_radiative_reabsorption.py", + "symbol": "test_radiative_reabsorption_matches_phase_3_1_at_voc" + }, + "test_node": "perovskite-sim/tests/regression/test_radiative_reabsorption.py::test_radiative_reabsorption_matches_phase_3_1_at_voc", + "scope_docstring": "At open circuit, Phase 3.1b and Phase 3.1 produce the same V_oc\nwithin ~5 mV because the absorber n·p is quasi-uniform and the two\nPR formulations are equivalent in that limit.", + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_radiative_reabsorption.py", + "symbol": "test_radiative_reabsorption_preserves_voc_boost" + }, + "test_node": "perovskite-sim/tests/regression/test_radiative_reabsorption.py::test_radiative_reabsorption_preserves_voc_boost", + "scope_docstring": "Phase 3.1b still delivers the literature V_oc boost (40–100 mV)\nversus a no-PR baseline. This guarantees the per-RHS source really\nis suppressing net radiative loss, not silently doing nothing.", + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_protocol.py", + "symbol": "test_public_experiments_reject_implicit_history_before_solving" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_protocol.py::test_public_experiments_reject_implicit_history_before_solving", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_suns_voc.py", + "symbol": "test_progress_callback_invoked" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_suns_voc.py::test_progress_callback_invoked", + "scope_docstring": "Progress callback fires exactly once per suns level.", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_suns_voc.py", + "symbol": "test_pseudo_jv_anchors_at_one_sun_voc" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_suns_voc.py::test_pseudo_jv_anchors_at_one_sun_voc", + "scope_docstring": "At X=1, pseudo-JV anchors at (V_oc_1sun, 0).\n\nStandard Sinton convention: J_pseudo(V_oc(X)) = J_sc_ref − J_sc(X),\nso the 1-sun point sits exactly on the V-axis at V = V_oc_1sun.\nPoints with X < 1 lift into the power quadrant; X > 1 drops below.", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_suns_voc.py", + "symbol": "test_run_suns_voc_rejects_empty_levels" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_suns_voc.py::test_run_suns_voc_rejects_empty_levels", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + } + ], + "call_chains": [ + { + "test": "tests.regression.test_photon_recycling_voc.test_photon_recycling_voc_below_sq_ceiling", + "edges": [ + { + "caller": "tests.regression.test_photon_recycling_voc.test_photon_recycling_voc_below_sq_ceiling", + "callee": "perovskite_sim.experiments.suns_voc.run_suns_voc", + "line": 94, + "kind": "call" + } + ] + }, + { + "test": "tests.regression.test_photon_recycling_voc.test_photon_recycling_voc_boost_in_window", + "edges": [ + { + "caller": "tests.regression.test_photon_recycling_voc.test_photon_recycling_voc_boost_in_window", + "callee": "perovskite_sim.experiments.suns_voc.run_suns_voc", + "line": 58, + "kind": "call" + } + ] + }, + { + "test": "tests.regression.test_radiative_reabsorption.test_radiative_reabsorption_matches_phase_3_1_at_voc", + "edges": [ + { + "caller": "tests.regression.test_radiative_reabsorption.test_radiative_reabsorption_matches_phase_3_1_at_voc", + "callee": "perovskite_sim.experiments.suns_voc.run_suns_voc", + "line": 129, + "kind": "call" + } + ] + }, + { + "test": "tests.regression.test_radiative_reabsorption.test_radiative_reabsorption_preserves_voc_boost", + "edges": [ + { + "caller": "tests.regression.test_radiative_reabsorption.test_radiative_reabsorption_preserves_voc_boost", + "callee": "perovskite_sim.experiments.suns_voc.run_suns_voc", + "line": 174, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_protocol.test_public_experiments_reject_implicit_history_before_solving", + "edges": [ + { + "caller": "tests.unit.experiments.test_protocol.test_public_experiments_reject_implicit_history_before_solving", + "callee": "perovskite_sim.experiments.suns_voc.run_suns_voc", + "line": 353, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_suns_voc.test_progress_callback_invoked", + "edges": [ + { + "caller": "tests.unit.experiments.test_suns_voc.test_progress_callback_invoked", + "callee": "perovskite_sim.experiments.suns_voc.run_suns_voc", + "line": 235, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_suns_voc.test_pseudo_jv_anchors_at_one_sun_voc", + "edges": [ + { + "caller": "tests.unit.experiments.test_suns_voc.test_pseudo_jv_anchors_at_one_sun_voc", + "callee": "perovskite_sim.experiments.suns_voc.run_suns_voc", + "line": 207, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_suns_voc.test_run_suns_voc_rejects_empty_levels", + "edges": [ + { + "caller": "tests.unit.experiments.test_suns_voc.test_run_suns_voc_rejects_empty_levels", + "callee": "perovskite_sim.experiments.suns_voc.run_suns_voc", + "line": 75, + "kind": "call" + } + ] + } + ], + "original_scope_limitations": null, + "active_contract": null, + "obligations": [ + { + "id": "new-source-experiment-db0ae95bf832243f", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-db0ae95bf832243f.json", + "tasks": [ + "P04-05", + "P05-01", + "P05-02" + ], + "gates": [ + "G4", + "G5" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof", + "per-physical-observable units/norm/reference scale/zero policy and applicable original or prospectively frozen threshold; test truth values do not fill this field" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-67ef7f665912934975a69a9f", + "rule-520fba3abd8ce264de3bf5a9", + "rule-697fff44f4c210f900801d01", + "rule-efe57371d8127f9c4da3fd44", + "rule-b60efab2c36172f0ac4bb617", + "rule-bedf01757126e8e21c0783ba", + "rule-f1e4db97e2aac010ba22577c", + "rule-85ae63d648f263162b846ce5", + "rule-c815bfa4c6276b2fb349f99f", + "rule-a6933a46014b24eb2488b436", + "rule-610b13a07df4e5ea237fc360", + "rule-bf169c3f03b1e88a49ba198a", + "rule-0062dfbca37c25723ad9ca64", + "rule-5438a2515b847d795b0aaa39", + "rule-71c4d258d1626d3d9741d3bf", + "rule-8a98026726bf0ea6a8496e59", + "rule-a42447da13bf0304ce2b1f57", + "rule-eb44d50a75c773b3f6fcc631", + "rule-df142d10f9204ad57e7db88f" + ], + "comparison_scope_id": "scope-experiment-db0ae95bf832243f" + }, + { + "capability_id": "experiment-25bf35be6cfb7cb9", + "route_id": "route-c0ff0a667c4cc9dd", + "origin_key": "experiment:perovskite_sim.experiments.tandem_jv.run_tandem_jv", + "target": { + "capability_id": "experiment-25bf35be6cfb7cb9", + "scope_id": "experiment:perovskite_sim.experiments.tandem_jv.run_tandem_jv", + "kind": "original_scoped_assertions", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_assertions_bound", + "citations": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/tandem_jv.py", + "symbol": "run_tandem_jv" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_tandem_jv.py", + "symbol": "test_run_tandem_jv_smoke" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_tandem_lin2019.py", + "symbol": "test_lin2019_jsc_within_tolerance" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_tandem_lin2019.py", + "symbol": "test_lin2019_observations_match_reproducibility_registry" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_tandem_lin2019.py", + "symbol": "test_lin2019_pce_within_tolerance" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_tandem_lin2019.py", + "symbol": "test_lin2019_subcell_currents_match_within_two_percent" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_tandem_lin2019.py", + "symbol": "test_lin2019_subcells_respect_their_photon_budgets" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_tandem_lin2019.py", + "symbol": "test_lin2019_voc_and_ff_within_tolerance" + } + ], + "original_evidence": [ + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_tandem_jv.py", + "symbol": "test_run_tandem_jv_smoke" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_tandem_jv.py::test_run_tandem_jv_smoke", + "scope_docstring": "Smoke test: two identical sub-cells, mocked n,k data.\n\nUses a very coarse grid (N_grid=30, n_points=12) so the two sub-cell\nsweeps complete in a few seconds. The absorber optical material is\nmonkeypatched to a constant n/k so load_nk doesn't need the CSV file.\n\nAssertions:\n- Returns a TandemJVResult.\n- metrics has the expected fields with physically plausible values.\n- V_tandem length == J_common length.\n- Tandem V_oc ≈ top.V_oc + bot.V_oc (series addition).", + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_tandem_lin2019.py", + "symbol": "test_lin2019_jsc_within_tolerance" + }, + "test_node": "perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_jsc_within_tolerance", + "scope_docstring": "J_sc is a live gate after restoring paper-reported thicknesses.", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_tandem_lin2019.py", + "symbol": "test_lin2019_observations_match_reproducibility_registry" + }, + "test_node": "perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_observations_match_reproducibility_registry", + "scope_docstring": "Keep exact local observations live without promoting external evidence.", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_tandem_lin2019.py", + "symbol": "test_lin2019_pce_within_tolerance" + }, + "test_node": "perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_pce_within_tolerance", + "scope_docstring": "PCE is a live gate after restoring paper-reported thicknesses.", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_tandem_lin2019.py", + "symbol": "test_lin2019_subcell_currents_match_within_two_percent" + }, + "test_node": "perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_subcell_currents_match_within_two_percent", + "scope_docstring": "Keep the source-stack series-current match isolated and quantitative.", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_tandem_lin2019.py", + "symbol": "test_lin2019_subcells_respect_their_photon_budgets" + }, + "test_node": "perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_subcells_respect_their_photon_budgets", + "scope_docstring": "No sub-cell may collect more current than photons absorbed in it.\n\nThis is the invariant the pre-fix pipeline violated (top sub-cell at 124 %\nof its budget) and the reason the Lin 2019 agreement looked better than it\nwas. Anchored on the optics, not on the solve, so it cannot be satisfied by\na solver artifact -- the same external-anchor argument as\ntests/regression/test_physical_bounds.py.", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_tandem_lin2019.py", + "symbol": "test_lin2019_voc_and_ff_within_tolerance" + }, + "test_node": "perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_voc_and_ff_within_tolerance", + "scope_docstring": "V_oc and FF remain independent live paper-window gates.", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + } + ], + "call_chains": [ + { + "test": "tests.unit.experiments.test_tandem_jv.test_run_tandem_jv_smoke", + "edges": [ + { + "caller": "tests.unit.experiments.test_tandem_jv.test_run_tandem_jv_smoke", + "callee": "perovskite_sim.experiments.tandem_jv.run_tandem_jv", + "line": 119, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_tandem_lin2019.test_lin2019_jsc_within_tolerance", + "edges": [ + { + "caller": "tests.integration.test_tandem_lin2019.test_lin2019_jsc_within_tolerance", + "callee": "tests.integration.test_tandem_lin2019.lin2019", + "line": 218, + "kind": "pytest_fixture_argument" + }, + { + "caller": "tests.integration.test_tandem_lin2019.lin2019", + "callee": "perovskite_sim.experiments.tandem_jv.run_tandem_jv", + "line": 78, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_tandem_lin2019.test_lin2019_observations_match_reproducibility_registry", + "edges": [ + { + "caller": "tests.integration.test_tandem_lin2019.test_lin2019_observations_match_reproducibility_registry", + "callee": "tests.integration.test_tandem_lin2019.lin2019", + "line": 271, + "kind": "pytest_fixture_argument" + }, + { + "caller": "tests.integration.test_tandem_lin2019.lin2019", + "callee": "perovskite_sim.experiments.tandem_jv.run_tandem_jv", + "line": 78, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_tandem_lin2019.test_lin2019_pce_within_tolerance", + "edges": [ + { + "caller": "tests.integration.test_tandem_lin2019.test_lin2019_pce_within_tolerance", + "callee": "tests.integration.test_tandem_lin2019.lin2019", + "line": 205, + "kind": "pytest_fixture_argument" + }, + { + "caller": "tests.integration.test_tandem_lin2019.lin2019", + "callee": "perovskite_sim.experiments.tandem_jv.run_tandem_jv", + "line": 78, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_tandem_lin2019.test_lin2019_subcell_currents_match_within_two_percent", + "edges": [ + { + "caller": "tests.integration.test_tandem_lin2019.test_lin2019_subcell_currents_match_within_two_percent", + "callee": "tests.integration.test_tandem_lin2019.lin2019", + "line": 292, + "kind": "pytest_fixture_argument" + }, + { + "caller": "tests.integration.test_tandem_lin2019.lin2019", + "callee": "perovskite_sim.experiments.tandem_jv.run_tandem_jv", + "line": 78, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_tandem_lin2019.test_lin2019_subcells_respect_their_photon_budgets", + "edges": [ + { + "caller": "tests.integration.test_tandem_lin2019.test_lin2019_subcells_respect_their_photon_budgets", + "callee": "tests.integration.test_tandem_lin2019.lin2019", + "line": 230, + "kind": "pytest_fixture_argument" + }, + { + "caller": "tests.integration.test_tandem_lin2019.lin2019", + "callee": "perovskite_sim.experiments.tandem_jv.run_tandem_jv", + "line": 78, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_tandem_lin2019.test_lin2019_voc_and_ff_within_tolerance", + "edges": [ + { + "caller": "tests.integration.test_tandem_lin2019.test_lin2019_voc_and_ff_within_tolerance", + "callee": "tests.integration.test_tandem_lin2019.lin2019", + "line": 181, + "kind": "pytest_fixture_argument" + }, + { + "caller": "tests.integration.test_tandem_lin2019.lin2019", + "callee": "perovskite_sim.experiments.tandem_jv.run_tandem_jv", + "line": 78, + "kind": "call" + } + ] + } + ], + "original_scope_limitations": null, + "active_contract": null, + "obligations": [ + { + "id": "new-source-experiment-25bf35be6cfb7cb9", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-25bf35be6cfb7cb9.json", + "tasks": [ + "P04-13", + "P05-01", + "P05-04" + ], + "gates": [ + "G4", + "G5" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof", + "per-physical-observable units/norm/reference scale/zero policy and applicable original or prospectively frozen threshold; test truth values do not fill this field" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-6d6444330419275ce601572c", + "rule-7ea2fa4933402ff8ffb45778", + "rule-8050bac6cd371c28e7f83c72", + "rule-ebca8c2e0ba312ba06e18a06", + "rule-7d6f95d066a91c739d62cad3", + "rule-c98aec1a946f1d85e76f1041", + "rule-ba9959e911224db47204f883", + "rule-860dd049ad47bfc21c6d8a82", + "rule-9b693e30b2020c4892a1484e", + "rule-b6699e186249f01287f8b51f", + "rule-a98ebac3fa7bae31cc760473", + "rule-41d2030269f5c09a5b563dee", + "rule-d1eeb74e6257306808f24af6", + "rule-3739d8f75e7d26b1e771658d", + "rule-3b30345d0b4119ea4281361c", + "rule-0e961e81c7df397449177678", + "rule-8a9eb9f1069482c1be00534a", + "rule-fc090835ed6dd6e1cf469c8f", + "rule-9a6b373888d9592c0c555b5d", + "rule-90de4ab6502d7d5e9d41b150" + ], + "comparison_scope_id": "scope-experiment-25bf35be6cfb7cb9" + }, + { + "capability_id": "experiment-06dfc808cd746b55", + "route_id": "route-f1a859a308a3d395", + "origin_key": "experiment:perovskite_sim.experiments.thermal_balance.run_lumped_thermal_transient", + "target": { + "capability_id": "experiment-06dfc808cd746b55", + "scope_id": "experiment:perovskite_sim.experiments.thermal_balance.run_lumped_thermal_transient", + "kind": "original_scoped_assertions", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_assertions_bound", + "citations": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/thermal_balance.py", + "symbol": "run_lumped_thermal_transient" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_thermal_balance.py", + "symbol": "test_linear_transient_matches_closed_form_and_energy_ledger" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_thermal_balance.py", + "symbol": "test_radiative_transient_approaches_registered_steady_state" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_thermal_balance.py", + "symbol": "test_transient_rejects_initial_or_evolved_temperature_above_envelope" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_thermal_balance.py", + "symbol": "test_transient_zero_heat_at_ambient_is_exact_and_hashes_bind_inputs" + } + ], + "original_evidence": [ + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_thermal_balance.py", + "symbol": "test_linear_transient_matches_closed_form_and_energy_ledger" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_thermal_balance.py::test_linear_transient_matches_closed_form_and_energy_ledger", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_thermal_balance.py", + "symbol": "test_radiative_transient_approaches_registered_steady_state" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_thermal_balance.py::test_radiative_transient_approaches_registered_steady_state", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_thermal_balance.py", + "symbol": "test_transient_rejects_initial_or_evolved_temperature_above_envelope" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_thermal_balance.py::test_transient_rejects_initial_or_evolved_temperature_above_envelope", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_thermal_balance.py", + "symbol": "test_transient_zero_heat_at_ambient_is_exact_and_hashes_bind_inputs" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_thermal_balance.py::test_transient_zero_heat_at_ambient_is_exact_and_hashes_bind_inputs", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + } + ], + "call_chains": [ + { + "test": "tests.unit.experiments.test_thermal_balance.test_linear_transient_matches_closed_form_and_energy_ledger", + "edges": [ + { + "caller": "tests.unit.experiments.test_thermal_balance.test_linear_transient_matches_closed_form_and_energy_ledger", + "callee": "perovskite_sim.experiments.thermal_balance.run_lumped_thermal_transient", + "line": 184, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_thermal_balance.test_radiative_transient_approaches_registered_steady_state", + "edges": [ + { + "caller": "tests.unit.experiments.test_thermal_balance.test_radiative_transient_approaches_registered_steady_state", + "callee": "perovskite_sim.experiments.thermal_balance.run_lumped_thermal_transient", + "line": 241, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_thermal_balance.test_transient_rejects_initial_or_evolved_temperature_above_envelope", + "edges": [ + { + "caller": "tests.unit.experiments.test_thermal_balance.test_transient_rejects_initial_or_evolved_temperature_above_envelope", + "callee": "perovskite_sim.experiments.thermal_balance.run_lumped_thermal_transient", + "line": 257, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_thermal_balance.test_transient_zero_heat_at_ambient_is_exact_and_hashes_bind_inputs", + "edges": [ + { + "caller": "tests.unit.experiments.test_thermal_balance.test_transient_zero_heat_at_ambient_is_exact_and_hashes_bind_inputs", + "callee": "perovskite_sim.experiments.thermal_balance.run_lumped_thermal_transient", + "line": 214, + "kind": "call" + } + ] + } + ], + "original_scope_limitations": null, + "active_contract": null, + "obligations": [ + { + "id": "new-source-experiment-06dfc808cd746b55", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-06dfc808cd746b55.json", + "tasks": [ + "P04-13", + "P05-01", + "P05-04" + ], + "gates": [ + "G4", + "G5" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof", + "per-physical-observable units/norm/reference scale/zero policy and applicable original or prospectively frozen threshold; test truth values do not fill this field" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-0cbee6efe0358eac241e0653", + "rule-fc0da879cbf9a4f024c709d8", + "rule-17cfde69283bd9b8d509eafc", + "rule-3e8cd1c67db60c0af44042c0", + "rule-78aecf9c69eb92b269182b0d", + "rule-33e2971e8081b8119a7a31bc", + "rule-c91c14cd4be98aa51ca3929a", + "rule-c8e0d6b4d4be3716800f5cd0", + "rule-17d48ccfb94f73fcdf397374", + "rule-fe05db392ae9a87d9aa9204a", + "rule-a85b719fc8b1b42fa3757146", + "rule-6bdefdfd4bffa4dd08458947", + "rule-e5df3d118bdbb641c9941a2e", + "rule-527ff1ffcb2eccf80c6bd0c2", + "rule-dd0fad27fb6c2c2ebde8308d" + ], + "comparison_scope_id": "scope-experiment-06dfc808cd746b55" + }, + { + "capability_id": "experiment-facd10fc2e2e1c6d", + "route_id": "route-f1a859a308a3d395", + "origin_key": "experiment:perovskite_sim.experiments.thermal_balance.solve_lumped_thermal_steady_state", + "target": { + "capability_id": "experiment-facd10fc2e2e1c6d", + "scope_id": "experiment:perovskite_sim.experiments.thermal_balance.solve_lumped_thermal_steady_state", + "kind": "original_scoped_assertions", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_assertions_bound", + "citations": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/thermal_balance.py", + "symbol": "solve_lumped_thermal_steady_state" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_thermal_balance.py", + "symbol": "test_radiation_reduces_temperature_and_closes_first_law" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_thermal_balance.py", + "symbol": "test_radiative_transient_approaches_registered_steady_state" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_thermal_balance.py", + "symbol": "test_steady_linear_heat_rejection_matches_analytic_solution" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_thermal_balance.py", + "symbol": "test_steady_solver_fails_closed_on_impossible_source_or_envelope" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_thermal_balance.py", + "symbol": "test_steady_zero_heat_is_exactly_ambient" + } + ], + "original_evidence": [ + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_thermal_balance.py", + "symbol": "test_radiation_reduces_temperature_and_closes_first_law" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_thermal_balance.py::test_radiation_reduces_temperature_and_closes_first_law", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_thermal_balance.py", + "symbol": "test_radiative_transient_approaches_registered_steady_state" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_thermal_balance.py::test_radiative_transient_approaches_registered_steady_state", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_thermal_balance.py", + "symbol": "test_steady_linear_heat_rejection_matches_analytic_solution" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_thermal_balance.py::test_steady_linear_heat_rejection_matches_analytic_solution", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_thermal_balance.py", + "symbol": "test_steady_solver_fails_closed_on_impossible_source_or_envelope" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_thermal_balance.py::test_steady_solver_fails_closed_on_impossible_source_or_envelope", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_thermal_balance.py", + "symbol": "test_steady_zero_heat_is_exactly_ambient" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_thermal_balance.py::test_steady_zero_heat_is_exactly_ambient", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + } + ], + "call_chains": [ + { + "test": "tests.unit.experiments.test_thermal_balance.test_radiation_reduces_temperature_and_closes_first_law", + "edges": [ + { + "caller": "tests.unit.experiments.test_thermal_balance.test_radiation_reduces_temperature_and_closes_first_law", + "callee": "perovskite_sim.experiments.thermal_balance.solve_lumped_thermal_steady_state", + "line": 134, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_thermal_balance.test_radiative_transient_approaches_registered_steady_state", + "edges": [ + { + "caller": "tests.unit.experiments.test_thermal_balance.test_radiative_transient_approaches_registered_steady_state", + "callee": "perovskite_sim.experiments.thermal_balance.solve_lumped_thermal_steady_state", + "line": 237, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_thermal_balance.test_steady_linear_heat_rejection_matches_analytic_solution", + "edges": [ + { + "caller": "tests.unit.experiments.test_thermal_balance.test_steady_linear_heat_rejection_matches_analytic_solution", + "callee": "perovskite_sim.experiments.thermal_balance.solve_lumped_thermal_steady_state", + "line": 122, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_thermal_balance.test_steady_solver_fails_closed_on_impossible_source_or_envelope", + "edges": [ + { + "caller": "tests.unit.experiments.test_thermal_balance.test_steady_solver_fails_closed_on_impossible_source_or_envelope", + "callee": "perovskite_sim.experiments.thermal_balance.solve_lumped_thermal_steady_state", + "line": 151, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_thermal_balance.test_steady_zero_heat_is_exactly_ambient", + "edges": [ + { + "caller": "tests.unit.experiments.test_thermal_balance.test_steady_zero_heat_is_exactly_ambient", + "callee": "perovskite_sim.experiments.thermal_balance.solve_lumped_thermal_steady_state", + "line": 110, + "kind": "call" + } + ] + } + ], + "original_scope_limitations": null, + "active_contract": null, + "obligations": [ + { + "id": "new-source-experiment-facd10fc2e2e1c6d", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-facd10fc2e2e1c6d.json", + "tasks": [ + "P04-13", + "P05-01", + "P05-04" + ], + "gates": [ + "G4", + "G5" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof", + "per-physical-observable units/norm/reference scale/zero policy and applicable original or prospectively frozen threshold; test truth values do not fill this field" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-25037a47ecdf2d5a7fd418a8", + "rule-3d48ef50a00d095d171f6ea2", + "rule-64c611076dfcf61c057a1fd5", + "rule-c91c14cd4be98aa51ca3929a", + "rule-c8e0d6b4d4be3716800f5cd0", + "rule-26b4b091fd8c3c76f87baffb", + "rule-99134d7c34ce004df55f3203", + "rule-1e9efb3bc99cdf6e16abad9d", + "rule-4e90fcdd51a07baddbeccd28", + "rule-2d66abb21d7e57216950be95", + "rule-bfa0dc8cdf58f80f6fc69426", + "rule-cdaa2e9839cc0657824b618f", + "rule-5e67266a56200cc3312474f4", + "rule-d3dfd374b0f7a4daa31e125f", + "rule-6f957250ecf35b78f4c91fd5", + "rule-c5e0386f0474253e3690ef21", + "rule-ff1ac0a27510edb86de72a68" + ], + "comparison_scope_id": "scope-experiment-facd10fc2e2e1c6d" + }, + { + "capability_id": "experiment-dc01ed047a39ee7c", + "route_id": "route-a09f453482a461e1", + "origin_key": "experiment:perovskite_sim.experiments.tpv.run_tpv", + "target": { + "capability_id": "experiment-dc01ed047a39ee7c", + "scope_id": "experiment:perovskite_sim.experiments.tpv.run_tpv", + "kind": "original_scoped_assertions", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_assertions_bound", + "citations": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/tpv.py", + "symbol": "run_tpv" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_foundation_tpv_spatial_refinement.py", + "symbol": "test_three_spatial_levels_resolve_the_same_physical_tpv" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_protocol.py", + "symbol": "test_public_experiments_reject_implicit_history_before_solving" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_tpv.py", + "symbol": "test_rejects_invalid_delta_G_frac" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_tpv.py", + "symbol": "test_rejects_nonpositive_t_pulse" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_tpv.py", + "symbol": "test_rejects_small_n_grid" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_tpv.py", + "symbol": "test_rejects_t_decay_le_t_pulse" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_tpv.py", + "symbol": "test_tpv_all_finite" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_tpv.py", + "symbol": "test_tpv_progress_callback" + } + ], + "original_evidence": [ + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_foundation_tpv_spatial_refinement.py", + "symbol": "test_three_spatial_levels_resolve_the_same_physical_tpv" + }, + "test_node": "perovskite-sim/tests/integration/test_foundation_tpv_spatial_refinement.py::test_three_spatial_levels_resolve_the_same_physical_tpv", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_protocol.py", + "symbol": "test_public_experiments_reject_implicit_history_before_solving" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_protocol.py::test_public_experiments_reject_implicit_history_before_solving", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_tpv.py", + "symbol": "test_rejects_invalid_delta_G_frac" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_tpv.py::test_rejects_invalid_delta_G_frac", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_tpv.py", + "symbol": "test_rejects_nonpositive_t_pulse" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_tpv.py::test_rejects_nonpositive_t_pulse", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_tpv.py", + "symbol": "test_rejects_small_n_grid" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_tpv.py::test_rejects_small_n_grid", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_tpv.py", + "symbol": "test_rejects_t_decay_le_t_pulse" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_tpv.py::test_rejects_t_decay_le_t_pulse", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_tpv.py", + "symbol": "test_tpv_all_finite" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_tpv.py::test_tpv_all_finite", + "scope_docstring": "All arrays in the result should be finite.", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_tpv.py", + "symbol": "test_tpv_progress_callback" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_tpv.py::test_tpv_progress_callback", + "scope_docstring": "Progress callback should be called during TPV.", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + } + ], + "call_chains": [ + { + "test": "tests.integration.test_foundation_tpv_spatial_refinement.test_three_spatial_levels_resolve_the_same_physical_tpv", + "edges": [ + { + "caller": "tests.integration.test_foundation_tpv_spatial_refinement.test_three_spatial_levels_resolve_the_same_physical_tpv", + "callee": "perovskite_sim.experiments.tpv.run_tpv", + "line": 81, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_protocol.test_public_experiments_reject_implicit_history_before_solving", + "edges": [ + { + "caller": "tests.unit.experiments.test_protocol.test_public_experiments_reject_implicit_history_before_solving", + "callee": "perovskite_sim.experiments.tpv.run_tpv", + "line": 344, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_tpv.test_rejects_invalid_delta_G_frac", + "edges": [ + { + "caller": "tests.unit.experiments.test_tpv.test_rejects_invalid_delta_G_frac", + "callee": "perovskite_sim.experiments.tpv.run_tpv", + "line": 26, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_tpv.test_rejects_nonpositive_t_pulse", + "edges": [ + { + "caller": "tests.unit.experiments.test_tpv.test_rejects_nonpositive_t_pulse", + "callee": "perovskite_sim.experiments.tpv.run_tpv", + "line": 33, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_tpv.test_rejects_small_n_grid", + "edges": [ + { + "caller": "tests.unit.experiments.test_tpv.test_rejects_small_n_grid", + "callee": "perovskite_sim.experiments.tpv.run_tpv", + "line": 21, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_tpv.test_rejects_t_decay_le_t_pulse", + "edges": [ + { + "caller": "tests.unit.experiments.test_tpv.test_rejects_t_decay_le_t_pulse", + "callee": "perovskite_sim.experiments.tpv.run_tpv", + "line": 38, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_tpv.test_tpv_all_finite", + "edges": [ + { + "caller": "tests.unit.experiments.test_tpv.test_tpv_all_finite", + "callee": "perovskite_sim.experiments.tpv.run_tpv", + "line": 82, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_tpv.test_tpv_progress_callback", + "edges": [ + { + "caller": "tests.unit.experiments.test_tpv.test_tpv_progress_callback", + "callee": "perovskite_sim.experiments.tpv.run_tpv", + "line": 116, + "kind": "call" + } + ] + } + ], + "original_scope_limitations": null, + "active_contract": null, + "obligations": [ + { + "id": "new-source-experiment-dc01ed047a39ee7c", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-dc01ed047a39ee7c.json", + "tasks": [ + "P02-06", + "P05-01", + "P05-04" + ], + "gates": [ + "G2", + "G5" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof", + "per-physical-observable units/norm/reference scale/zero policy and applicable original or prospectively frozen threshold; test truth values do not fill this field" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-22e7dec9917cd5f355fc77db", + "rule-85ae63d648f263162b846ce5", + "rule-96f2e6452bb4c35a1d1dd81b", + "rule-519b5904c14226f0800a874f", + "rule-c35cd219d9c3936f6df67853", + "rule-5d0e891641116ce929cc8fa6", + "rule-953a567ec246ac3a03a0de82", + "rule-5efacb2d8027867f5dfcab52", + "rule-adb511aa184f7869a6498373", + "rule-a80b1da83f0d32c39077fc83", + "rule-073cc2afcf4d3c1a9a7f3fc2", + "rule-3b3986d6fd8bcf4cb23eb959", + "rule-4182fd23f2dc797ab35ce2ce", + "rule-a0e287916dbeeea2852711a8", + "rule-e0309149b5e51cf45b5e68f9" + ], + "comparison_scope_id": "scope-experiment-dc01ed047a39ee7c" + }, + { + "capability_id": "experiment-472f6c8eae927acf", + "route_id": "route-a2dac88b7495c3ed", + "origin_key": "experiment:perovskite_sim.experiments.trap_small_signal.run_local_trap_small_signal", + "target": { + "capability_id": "experiment-472f6c8eae927acf", + "scope_id": "experiment:perovskite_sim.experiments.trap_small_signal.run_local_trap_small_signal", + "kind": "original_scoped_assertions", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_assertions_bound", + "citations": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/trap_small_signal.py", + "symbol": "run_local_trap_small_signal" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_trap_small_signal.py", + "symbol": "test_incomplete_frequency_window_returns_partial_or_raises_as_requested" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_trap_small_signal.py", + "symbol": "test_local_protocol_certifies_debye_limits_and_frequency_window" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_trap_small_signal.py", + "symbol": "test_nonzero_reservoir_perturbation_with_zero_net_trap_forcing_is_rejected" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_trap_small_signal.py", + "symbol": "test_run_rejects_protocol_identity_changes_before_computation" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_trap_small_signal.py", + "symbol": "test_uncertified_dc_occupancy_cannot_enter_frequency_response" + } + ], + "original_evidence": [ + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_trap_small_signal.py", + "symbol": "test_incomplete_frequency_window_returns_partial_or_raises_as_requested" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_trap_small_signal.py::test_incomplete_frequency_window_returns_partial_or_raises_as_requested", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_trap_small_signal.py", + "symbol": "test_local_protocol_certifies_debye_limits_and_frequency_window" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_trap_small_signal.py::test_local_protocol_certifies_debye_limits_and_frequency_window", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_trap_small_signal.py", + "symbol": "test_nonzero_reservoir_perturbation_with_zero_net_trap_forcing_is_rejected" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_trap_small_signal.py::test_nonzero_reservoir_perturbation_with_zero_net_trap_forcing_is_rejected", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_trap_small_signal.py", + "symbol": "test_run_rejects_protocol_identity_changes_before_computation" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_trap_small_signal.py::test_run_rejects_protocol_identity_changes_before_computation", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_trap_small_signal.py", + "symbol": "test_uncertified_dc_occupancy_cannot_enter_frequency_response" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_trap_small_signal.py::test_uncertified_dc_occupancy_cannot_enter_frequency_response", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + } + ], + "call_chains": [ + { + "test": "tests.unit.experiments.test_trap_small_signal.test_incomplete_frequency_window_returns_partial_or_raises_as_requested", + "edges": [ + { + "caller": "tests.unit.experiments.test_trap_small_signal.test_incomplete_frequency_window_returns_partial_or_raises_as_requested", + "callee": "perovskite_sim.experiments.trap_small_signal.run_local_trap_small_signal", + "line": 195, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_trap_small_signal.test_local_protocol_certifies_debye_limits_and_frequency_window", + "edges": [ + { + "caller": "tests.unit.experiments.test_trap_small_signal.test_local_protocol_certifies_debye_limits_and_frequency_window", + "callee": "perovskite_sim.experiments.trap_small_signal.run_local_trap_small_signal", + "line": 144, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_trap_small_signal.test_nonzero_reservoir_perturbation_with_zero_net_trap_forcing_is_rejected", + "edges": [ + { + "caller": "tests.unit.experiments.test_trap_small_signal.test_nonzero_reservoir_perturbation_with_zero_net_trap_forcing_is_rejected", + "callee": "perovskite_sim.experiments.trap_small_signal.run_local_trap_small_signal", + "line": 272, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_trap_small_signal.test_run_rejects_protocol_identity_changes_before_computation", + "edges": [ + { + "caller": "tests.unit.experiments.test_trap_small_signal.test_run_rejects_protocol_identity_changes_before_computation", + "callee": "perovskite_sim.experiments.trap_small_signal.run_local_trap_small_signal", + "line": 221, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_trap_small_signal.test_uncertified_dc_occupancy_cannot_enter_frequency_response", + "edges": [ + { + "caller": "tests.unit.experiments.test_trap_small_signal.test_uncertified_dc_occupancy_cannot_enter_frequency_response", + "callee": "perovskite_sim.experiments.trap_small_signal.run_local_trap_small_signal", + "line": 243, + "kind": "call" + } + ] + } + ], + "original_scope_limitations": null, + "active_contract": null, + "obligations": [ + { + "id": "new-source-experiment-472f6c8eae927acf", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-472f6c8eae927acf.json", + "tasks": [ + "P04-06", + "P04-10", + "P05-01", + "P05-03" + ], + "gates": [ + "G4", + "G5" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof", + "per-physical-observable units/norm/reference scale/zero policy and applicable original or prospectively frozen threshold; test truth values do not fill this field" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-f3977eb904d9d2f2d4b5f843", + "rule-25b2154bec8059315fbf3102", + "rule-c27357574de9e947e58bf547", + "rule-3d1e561be8ff8707f3f14556", + "rule-5a34bed6fe664f777eacce24", + "rule-6118835720dad0f157f842a5", + "rule-5e0c0cafcbfd3fa5780e6607", + "rule-77d797e23566f9390e9a9169", + "rule-2be4be8dc30ad416ec797966", + "rule-75e92448d6b2c002b2f538c4", + "rule-2aceee6bce068ceb3871423c", + "rule-60a0c06aab8362cc650a6b8e", + "rule-46ecb8f8835fce2cbaf878b2", + "rule-66f3737da61ce65789e28bd8", + "rule-ccc6f704125e421edb2ee247", + "rule-e47dd4a94ee6bb516840f716", + "rule-08b0453092e0970ab4252a8b", + "rule-939d7a6c74501d9ea9542b7c", + "rule-33575482b8359f03a171eb4c", + "rule-038e57ec03f6557a648b791c" + ], + "comparison_scope_id": "scope-experiment-472f6c8eae927acf" + }, + { + "capability_id": "experiment-9a960d36087c2646", + "route_id": "route-e0172633acf9b737", + "origin_key": "experiment:perovskite_sim.experiments.voc_t.run_voc_t", + "target": { + "capability_id": "experiment-9a960d36087c2646", + "scope_id": "experiment:perovskite_sim.experiments.voc_t.run_voc_t", + "kind": "original_scoped_assertions", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_assertions_bound", + "citations": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/voc_t.py", + "symbol": "run_voc_t" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_voc_t.py", + "symbol": "test_clean_sweep_recovers_the_true_slope" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_voc_t.py", + "symbol": "test_raises_when_fewer_than_two_temperatures_bracket" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_voc_t.py", + "symbol": "test_rejects_T_max_le_T_min" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_voc_t.py", + "symbol": "test_rejects_nonpositive_T_min" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_voc_t.py", + "symbol": "test_rejects_small_N_grid" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_voc_t.py", + "symbol": "test_rejects_small_n_points" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_voc_t.py", + "symbol": "test_unbracketed_point_is_excluded_and_slope_stays_negative" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_voc_t.py", + "symbol": "test_voc_t_activation_energy_below_bandgap" + } + ], + "original_evidence": [ + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_voc_t.py", + "symbol": "test_clean_sweep_recovers_the_true_slope" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_voc_t.py::test_clean_sweep_recovers_the_true_slope", + "scope_docstring": null, + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_voc_t.py", + "symbol": "test_raises_when_fewer_than_two_temperatures_bracket" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_voc_t.py::test_raises_when_fewer_than_two_temperatures_bracket", + "scope_docstring": null, + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_voc_t.py", + "symbol": "test_rejects_T_max_le_T_min" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_voc_t.py::test_rejects_T_max_le_T_min", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_voc_t.py", + "symbol": "test_rejects_nonpositive_T_min" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_voc_t.py::test_rejects_nonpositive_T_min", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_voc_t.py", + "symbol": "test_rejects_small_N_grid" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_voc_t.py::test_rejects_small_N_grid", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_voc_t.py", + "symbol": "test_rejects_small_n_points" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_voc_t.py::test_rejects_small_n_points", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_voc_t.py", + "symbol": "test_unbracketed_point_is_excluded_and_slope_stays_negative" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_voc_t.py::test_unbracketed_point_is_excluded_and_slope_stays_negative", + "scope_docstring": null, + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_voc_t.py", + "symbol": "test_voc_t_activation_energy_below_bandgap" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_voc_t.py::test_voc_t_activation_energy_below_bandgap", + "scope_docstring": "The extrapolated T=0 intercept (proxy for E_A) should not exceed\nthe absorber bandgap by more than a small margin — recombination can\nnever pump V_oc above Eg/q. MAPbI3 Eg ≈ 1.55 eV.", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + } + ], + "call_chains": [ + { + "test": "tests.unit.experiments.test_voc_t.test_clean_sweep_recovers_the_true_slope", + "edges": [ + { + "caller": "tests.unit.experiments.test_voc_t.test_clean_sweep_recovers_the_true_slope", + "callee": "perovskite_sim.experiments.voc_t.run_voc_t", + "line": 219, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_voc_t.test_raises_when_fewer_than_two_temperatures_bracket", + "edges": [ + { + "caller": "tests.unit.experiments.test_voc_t.test_raises_when_fewer_than_two_temperatures_bracket", + "callee": "perovskite_sim.experiments.voc_t.run_voc_t", + "line": 268, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_voc_t.test_rejects_T_max_le_T_min", + "edges": [ + { + "caller": "tests.unit.experiments.test_voc_t.test_rejects_T_max_le_T_min", + "callee": "perovskite_sim.experiments.voc_t.run_voc_t", + "line": 31, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_voc_t.test_rejects_nonpositive_T_min", + "edges": [ + { + "caller": "tests.unit.experiments.test_voc_t.test_rejects_nonpositive_T_min", + "callee": "perovskite_sim.experiments.voc_t.run_voc_t", + "line": 26, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_voc_t.test_rejects_small_N_grid", + "edges": [ + { + "caller": "tests.unit.experiments.test_voc_t.test_rejects_small_N_grid", + "callee": "perovskite_sim.experiments.voc_t.run_voc_t", + "line": 36, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_voc_t.test_rejects_small_n_points", + "edges": [ + { + "caller": "tests.unit.experiments.test_voc_t.test_rejects_small_n_points", + "callee": "perovskite_sim.experiments.voc_t.run_voc_t", + "line": 21, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_voc_t.test_unbracketed_point_is_excluded_and_slope_stays_negative", + "edges": [ + { + "caller": "tests.unit.experiments.test_voc_t.test_unbracketed_point_is_excluded_and_slope_stays_negative", + "callee": "perovskite_sim.experiments.voc_t.run_voc_t", + "line": 230, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_voc_t.test_voc_t_activation_energy_below_bandgap", + "edges": [ + { + "caller": "tests.unit.experiments.test_voc_t.test_voc_t_activation_energy_below_bandgap", + "callee": "perovskite_sim.experiments.voc_t.run_voc_t", + "line": 88, + "kind": "call" + } + ] + } + ], + "original_scope_limitations": null, + "active_contract": null, + "obligations": [ + { + "id": "new-source-experiment-9a960d36087c2646", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-9a960d36087c2646.json", + "tasks": [ + "P04-05", + "P05-01", + "P05-02" + ], + "gates": [ + "G4", + "G5" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof", + "per-physical-observable units/norm/reference scale/zero policy and applicable original or prospectively frozen threshold; test truth values do not fill this field" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-8eb9d07e09c5bf11c56e6a66", + "rule-7688295300ed0bbe71ee33d4", + "rule-be6174f565638fa15037a69b", + "rule-34cc02a7c570802096f7499a", + "rule-c1544fba27ddcd23deb86262", + "rule-6da91f36788d8cdb25789212", + "rule-2640cf2a3df02183113ebcf0", + "rule-d518065bf5d45e350f8e139c", + "rule-a40a6b9de2a04b59daa3c5f8", + "rule-02b9c4dcaba57f6cbe7a1223", + "rule-dedada217295630152aa610b", + "rule-6ba5c3d899e468d357cf9297", + "rule-23813d2eb65c7d499671c707", + "rule-3896c651219dcf5ca040ffd8", + "rule-5b0a77d277fcae36fc31a8ce", + "rule-7c9982d501533d9a7f2e943d" + ], + "comparison_scope_id": "scope-experiment-9a960d36087c2646" + }, + { + "capability_id": "experiment-eb6d533237d11167", + "route_id": "route-00e5ec97ad8c8b8a", + "origin_key": "experiment:perovskite_sim.experiments.waveform_jv.run_waveform_jv", + "target": { + "capability_id": "experiment-eb6d533237d11167", + "scope_id": "experiment:perovskite_sim.experiments.waveform_jv.run_waveform_jv", + "kind": "original_scoped_assertions", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_assertions_bound", + "citations": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/waveform_jv.py", + "symbol": "run_waveform_jv" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_waveform_jacobian.py", + "symbol": "test_dual_ion_waveform_preserves_physics_and_reports_finite_difference" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_waveform_jv.py", + "symbol": "test_driver_keeps_declared_state_chain_and_physical_parameters" + } + ], + "original_evidence": [ + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_waveform_jacobian.py", + "symbol": "test_dual_ion_waveform_preserves_physics_and_reports_finite_difference" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_waveform_jacobian.py::test_dual_ion_waveform_preserves_physics_and_reports_finite_difference", + "scope_docstring": null, + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_waveform_jv.py", + "symbol": "test_driver_keeps_declared_state_chain_and_physical_parameters" + }, + "test_node": "perovskite-sim/tests/unit/experiments/test_waveform_jv.py::test_driver_keeps_declared_state_chain_and_physical_parameters", + "scope_docstring": null, + "mocking_present": true, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + } + ], + "call_chains": [ + { + "test": "tests.unit.experiments.test_waveform_jacobian.test_dual_ion_waveform_preserves_physics_and_reports_finite_difference", + "edges": [ + { + "caller": "tests.unit.experiments.test_waveform_jacobian.test_dual_ion_waveform_preserves_physics_and_reports_finite_difference", + "callee": "perovskite_sim.experiments.waveform_jv.run_waveform_jv", + "line": 163, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_waveform_jv.test_driver_keeps_declared_state_chain_and_physical_parameters", + "edges": [ + { + "caller": "tests.unit.experiments.test_waveform_jv.test_driver_keeps_declared_state_chain_and_physical_parameters", + "callee": "perovskite_sim.experiments.waveform_jv.run_waveform_jv", + "line": 76, + "kind": "call" + } + ] + } + ], + "original_scope_limitations": null, + "active_contract": null, + "obligations": [ + { + "id": "new-source-experiment-eb6d533237d11167", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-eb6d533237d11167.json", + "tasks": [ + "P04-05", + "P05-01", + "P05-02" + ], + "gates": [ + "G4", + "G5" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof", + "per-physical-observable units/norm/reference scale/zero policy and applicable original or prospectively frozen threshold; test truth values do not fill this field" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-6617ba954d85503b0095195b", + "rule-95f5e10ab30314c0fac98c72", + "rule-dfb4e8a99d756557697ca13f", + "rule-28213d1d5def19bfeb9208d0", + "rule-0ec93b58d8ac434eab20bb99", + "rule-cd60f576075160c3a73ff768", + "rule-9d9124457b97406edc0dcd83", + "rule-f7d9a4d529af7db835b3ba47", + "rule-84a72a72dc73d6210d43f54f", + "rule-9be0dcf07f38faa99187f3a8", + "rule-ca8adb86fe3f3b5446c1b792", + "rule-eb195e651576530f25c325a9", + "rule-721f3069303943e672d4b379", + "rule-2834debecaa1d2bef0badadb", + "rule-5360b34161967214d8c2af36", + "rule-ed6e26f7262cd3fe8d889259", + "rule-1dbf233ec76fdb09a92f9c57", + "rule-1e202b7ff6e60e8006436014" + ], + "comparison_scope_id": "scope-experiment-eb6d533237d11167" + }, + { + "capability_id": "experiment-25b0a1305c41dcb4", + "route_id": "route-3b814b18cfea71be", + "origin_key": "experiment:perovskite_sim.twod.experiments.jv_sweep_2d.run_jv_sweep_2d", + "target": { + "capability_id": "experiment-25b0a1305c41dcb4", + "scope_id": "experiment:perovskite_sim.twod.experiments.jv_sweep_2d.run_jv_sweep_2d", + "kind": "original_scoped_assertions", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_assertions_bound", + "citations": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/twod/experiments/jv_sweep_2d.py", + "symbol": "run_jv_sweep_2d" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/backend/test_numerical_job_lifecycle.py", + "symbol": "test_real_numerical_jobs_finish_and_match_direct_execution" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_twod_mobile_ion_jv.py", + "symbol": "test_real_combined_gb_interface_mobile_jv_returns_each_evidence_axis" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_twod_mobile_ion_jv.py", + "symbol": "test_real_strict_mobile_ion_jv_returns_complete_point_evidence" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/twod/test_jv_sweep_2d_microstructure.py", + "symbol": "test_jv_sweep_2d_singleGB_runs_to_completion" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/twod/test_jv_sweep_2d_uniform.py", + "symbol": "test_jv_sweep_2d_has_nontrivial_photocurrent" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/twod/test_jv_sweep_2d_uniform.py", + "symbol": "test_jv_sweep_2d_returns_finite_result" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_twod_microstructure.py", + "symbol": "test_twod_singleGB_lowers_voc" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_twod_validation.py", + "symbol": "test_twod_field_mobility_bounded_shift" + } + ], + "original_evidence": [ + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/backend/test_numerical_job_lifecycle.py", + "symbol": "test_real_numerical_jobs_finish_and_match_direct_execution" + }, + "test_node": "perovskite-sim/tests/integration/backend/test_numerical_job_lifecycle.py::test_real_numerical_jobs_finish_and_match_direct_execution", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_twod_mobile_ion_jv.py", + "symbol": "test_real_combined_gb_interface_mobile_jv_returns_each_evidence_axis" + }, + "test_node": "perovskite-sim/tests/integration/test_twod_mobile_ion_jv.py::test_real_combined_gb_interface_mobile_jv_returns_each_evidence_axis", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_twod_mobile_ion_jv.py", + "symbol": "test_real_strict_mobile_ion_jv_returns_complete_point_evidence" + }, + "test_node": "perovskite-sim/tests/integration/test_twod_mobile_ion_jv.py::test_real_strict_mobile_ion_jv_returns_complete_point_evidence", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/twod/test_jv_sweep_2d_microstructure.py", + "symbol": "test_jv_sweep_2d_singleGB_runs_to_completion" + }, + "test_node": "perovskite-sim/tests/integration/twod/test_jv_sweep_2d_microstructure.py::test_jv_sweep_2d_singleGB_runs_to_completion", + "scope_docstring": "End-to-end Stage-B smoke test: run_jv_sweep_2d on the singleGB preset\nmust accept microstructure=None (auto-pickup from stack.microstructure),\nfinish without solver blow-up, and exhibit measurable τ heterogeneity at\nthe GB column relative to the bulk column at V=0.", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/twod/test_jv_sweep_2d_uniform.py", + "symbol": "test_jv_sweep_2d_has_nontrivial_photocurrent" + }, + "test_node": "perovskite-sim/tests/integration/twod/test_jv_sweep_2d_uniform.py::test_jv_sweep_2d_has_nontrivial_photocurrent", + "scope_docstring": "Illuminated J(V=0) magnitude should be substantial (>10 A/m²) on a real\nperovskite preset. Sign convention is solver-dependent; we only check\nmagnitude here. Stage-A validation gate (Task 11) will pin the sign by\ncomparing to 1D.", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/twod/test_jv_sweep_2d_uniform.py", + "symbol": "test_jv_sweep_2d_returns_finite_result" + }, + "test_node": "perovskite-sim/tests/integration/twod/test_jv_sweep_2d_uniform.py::test_jv_sweep_2d_returns_finite_result", + "scope_docstring": null, + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_twod_microstructure.py", + "symbol": "test_twod_singleGB_lowers_voc" + }, + "test_node": "perovskite-sim/tests/regression/test_twod_microstructure.py::test_twod_singleGB_lowers_voc", + "scope_docstring": "A finite-width absorber GB must lower V_oc versus the bulk baseline.", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + }, + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_twod_validation.py", + "symbol": "test_twod_field_mobility_bounded_shift" + }, + "test_node": "perovskite-sim/tests/regression/test_twod_validation.py::test_twod_field_mobility_bounded_shift", + "scope_docstring": "v_sat=1e2 in 2D shifts J(V) measurably vs v_sat=0 baseline.\n\nConfirms the μ(E) hook is materially active rather than silently bypassed.\nAsserts max(|J_on - J_off| / |J_off|) > 1e-6 — same threshold as the 1D\nanalog `test_field_mobility_changes_jv_curve`.\n\nA larger threshold (e.g. 1e-3) is not appropriate here because at v_sat=1e2\non the Beer-Lambert MAPbI3 nip stack the field-mobility correction is\nphysical but modest: empirically the relative J shift peaks at ~7e-4 across\nthe sweep (CT-driven μ reduction in the absorber where E_y is largest, but\nflat-band regions near contacts contribute very little). The 1e-6 floor\ncatches the \"hook completely bypassed\" case (shift = 0 to floating-point\nprecision) without false-positiving on the genuine ~mid-1e-4 physical\nsignal at this preset.", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + } + ], + "call_chains": [ + { + "test": "tests.integration.backend.test_numerical_job_lifecycle.test_real_numerical_jobs_finish_and_match_direct_execution", + "edges": [ + { + "caller": "tests.integration.backend.test_numerical_job_lifecycle.test_real_numerical_jobs_finish_and_match_direct_execution", + "callee": "perovskite_sim.twod.experiments.jv_sweep_2d.run_jv_sweep_2d", + "line": 16, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_twod_mobile_ion_jv.test_real_combined_gb_interface_mobile_jv_returns_each_evidence_axis", + "edges": [ + { + "caller": "tests.integration.test_twod_mobile_ion_jv.test_real_combined_gb_interface_mobile_jv_returns_each_evidence_axis", + "callee": "perovskite_sim.twod.experiments.jv_sweep_2d.run_jv_sweep_2d", + "line": 137, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_twod_mobile_ion_jv.test_real_strict_mobile_ion_jv_returns_complete_point_evidence", + "edges": [ + { + "caller": "tests.integration.test_twod_mobile_ion_jv.test_real_strict_mobile_ion_jv_returns_complete_point_evidence", + "callee": "perovskite_sim.twod.experiments.jv_sweep_2d.run_jv_sweep_2d", + "line": 81, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.twod.test_jv_sweep_2d_microstructure.test_jv_sweep_2d_singleGB_runs_to_completion", + "edges": [ + { + "caller": "tests.integration.twod.test_jv_sweep_2d_microstructure.test_jv_sweep_2d_singleGB_runs_to_completion", + "callee": "perovskite_sim.twod.experiments.jv_sweep_2d.run_jv_sweep_2d", + "line": 21, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.twod.test_jv_sweep_2d_uniform.test_jv_sweep_2d_has_nontrivial_photocurrent", + "edges": [ + { + "caller": "tests.integration.twod.test_jv_sweep_2d_uniform.test_jv_sweep_2d_has_nontrivial_photocurrent", + "callee": "perovskite_sim.twod.experiments.jv_sweep_2d.run_jv_sweep_2d", + "line": 49, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.twod.test_jv_sweep_2d_uniform.test_jv_sweep_2d_returns_finite_result", + "edges": [ + { + "caller": "tests.integration.twod.test_jv_sweep_2d_uniform.test_jv_sweep_2d_returns_finite_result", + "callee": "perovskite_sim.twod.experiments.jv_sweep_2d.run_jv_sweep_2d", + "line": 16, + "kind": "call" + } + ] + }, + { + "test": "tests.regression.test_twod_microstructure.test_twod_singleGB_lowers_voc", + "edges": [ + { + "caller": "tests.regression.test_twod_microstructure.test_twod_singleGB_lowers_voc", + "callee": "perovskite_sim.twod.experiments.jv_sweep_2d.run_jv_sweep_2d", + "line": 43, + "kind": "call" + } + ] + }, + { + "test": "tests.regression.test_twod_validation.test_twod_field_mobility_bounded_shift", + "edges": [ + { + "caller": "tests.regression.test_twod_validation.test_twod_field_mobility_bounded_shift", + "callee": "perovskite_sim.twod.experiments.jv_sweep_2d.run_jv_sweep_2d", + "line": 515, + "kind": "call" + } + ] + } + ], + "original_scope_limitations": null, + "active_contract": null, + "obligations": [ + { + "id": "new-source-experiment-25b0a1305c41dcb4", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-25b0a1305c41dcb4.json", + "tasks": [ + "P06-01", + "P06-02", + "P06-03" + ], + "gates": [ + "G6" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof", + "per-physical-observable units/norm/reference scale/zero policy and applicable original or prospectively frozen threshold; test truth values do not fill this field" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-0c05264697188ebee6454b04", + "rule-c6875e50c6b6cc45a3a995eb", + "rule-be3dc57049e6859de3753954", + "rule-a2eb25be7adb178e385dce54", + "rule-3e9d4a4432666fa4788411d2", + "rule-a35b107f88a0903447c300b8", + "rule-aebdf75940451e9ef48acc7f", + "rule-a29e201f34c68d76a62e407d", + "rule-f432487f5cb0f2ac5ba93c73", + "rule-67bda7ad0db9355c3ee539d5", + "rule-44c3030d2ecd1ccf5e91173c", + "rule-305e367c50854051e86edb8e", + "rule-5be972a2b570d8bcaccfaa5a", + "rule-d4bf84df4e809ba854152388", + "rule-9eca5d42879110b8adea685d", + "rule-c00f8026c0b5423cbc0d80d4", + "rule-56076de938fec57d9ce0aac2", + "rule-68ac66c1304711e59b8378dc", + "rule-f775b5177220c9640678edad", + "rule-ca4defaa603d0c765d38cb3a", + "rule-5b059486b53c0163cf3237e1", + "rule-4f4741efd8141168bb248fff", + "rule-668a1302de81ffacd9f6bacd", + "rule-f132ad8d4982215e8c025349", + "rule-02681efe2b124de9d4ad016f", + "rule-be24015e0b77410009fc0805", + "rule-e30feb0cbc54d28146f47d64", + "rule-2aac60a36933dfb1d4859b9d", + "rule-8e29fe184069a5798defaad6", + "rule-097ad3f971c93a3165036e9c", + "rule-fb7be61c2c216c19d4a5fc41", + "rule-c3f345e30c334eeaede6fdaa", + "rule-127dc917c3189c0b1966b899", + "rule-6d8ad18cf3eb18ac169341f5", + "rule-7c43da406bf7a5ecbb17b65f", + "rule-4a5412d26652f4b99c542915", + "rule-10fc0cd3b27dbce0f4dbdb7c", + "rule-db454c4246c80ac747ceb19f", + "rule-5225dcd52df180b37157e8a0", + "rule-1025f63a6fbc253041b67d05" + ], + "comparison_scope_id": "scope-experiment-25b0a1305c41dcb4" + }, + { + "capability_id": "experiment-5939aecfa4284195", + "route_id": "route-b425dc190363a785", + "origin_key": "experiment:perovskite_sim.twod.experiments.voc_grain_sweep.run_voc_grain_sweep", + "target": { + "capability_id": "experiment-5939aecfa4284195", + "scope_id": "experiment:perovskite_sim.twod.experiments.voc_grain_sweep.run_voc_grain_sweep", + "kind": "original_scoped_assertions", + "meaning": "Only the original named test/lane and its bound inputs; not a new-implementation or continuum certificate." + }, + "state": "original_assertions_bound", + "citations": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/twod/experiments/voc_grain_sweep.py", + "symbol": "run_voc_grain_sweep" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/twod/test_voc_grain_sweep.py", + "symbol": "test_voc_grain_sweep_monotone_in_Lg" + } + ], + "original_evidence": [ + { + "kind": "existing_test", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/twod/test_voc_grain_sweep.py", + "symbol": "test_voc_grain_sweep_monotone_in_Lg" + }, + "test_node": "perovskite-sim/tests/integration/twod/test_voc_grain_sweep.py::test_voc_grain_sweep_monotone_in_Lg", + "scope_docstring": "V_oc should grow as L_g grows (more bulk-like behaviour: a single\ncentred GB takes a smaller relative fraction of the lateral domain).", + "mocking_present": false, + "scope": "This original test fixture/assertion only; mocked and negative tests are not native trajectories." + } + ], + "call_chains": [ + { + "test": "tests.integration.twod.test_voc_grain_sweep.test_voc_grain_sweep_monotone_in_Lg", + "edges": [ + { + "caller": "tests.integration.twod.test_voc_grain_sweep.test_voc_grain_sweep_monotone_in_Lg", + "callee": "perovskite_sim.twod.experiments.voc_grain_sweep.run_voc_grain_sweep", + "line": 25, + "kind": "call" + } + ] + } + ], + "original_scope_limitations": null, + "active_contract": null, + "obligations": [ + { + "id": "new-source-experiment-5939aecfa4284195", + "prospective": true, + "artifact": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-5939aecfa4284195.json", + "tasks": [ + "P06-01", + "P06-02", + "P06-03" + ], + "gates": [ + "G6" + ], + "required_before": "qualified_reference_use_or_new_implementation_acceptance_or_capability_switch", + "missing": [ + "independently approved exact fixed-discrete or continuum target for the proposed N change", + "full effective source/driver/input/initial-state/environment binding", + "actual independent reference-error and observable/zero-signal proof", + "per-physical-observable units/norm/reference scale/zero policy and applicable original or prospectively frozen threshold; test truth values do not fill this field" + ], + "invariant": "M alone permits word equality with explicit metadata exceptions; unknown errors are never zero." + } + ], + "new_source_qualified": false, + "planning_resolution_is_not_threshold_qualification": true, + "rule_ids": [ + "rule-563fdf4309ea3c29c5fa6abc", + "rule-05c06641770788acc99815c2", + "rule-5cea7c16f6c5c42fe11826cd" + ], + "comparison_scope_id": "scope-experiment-5939aecfa4284195" + } + ], + "engineering_routes": { + "route-310acb5aa128b161": { + "tasks": [ + "P03-03", + "P03-04", + "P03-06", + "P03-07", + "P09-02" + ], + "gates": [ + "G3", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-310acb5aa128b161.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-7472798ebe5d8f74": { + "tasks": [ + "P03-03", + "P03-04", + "P03-06", + "P03-07", + "P09-02" + ], + "gates": [ + "G3", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-7472798ebe5d8f74.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-84c80fa1daa339dc": { + "tasks": [ + "P03-03", + "P03-04", + "P03-06", + "P03-07", + "P09-02" + ], + "gates": [ + "G3", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-84c80fa1daa339dc.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-3e363a019e4cd064": { + "tasks": [ + "P00-03", + "P03-03", + "P03-04", + "P03-06", + "P03-07", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G3", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-3e363a019e4cd064.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-21b0ff9630f8ae85": { + "tasks": [ + "P00-03", + "P03-03", + "P03-04", + "P03-06", + "P03-07", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G3", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-21b0ff9630f8ae85.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-5c1b3eb8a6a7f4e5": { + "tasks": [ + "P00-03", + "P03-03", + "P03-04", + "P03-06", + "P03-07", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G3", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-5c1b3eb8a6a7f4e5.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-8db8765abf5ee9f3": { + "tasks": [ + "P00-03", + "P03-03", + "P03-04", + "P03-06", + "P03-07", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G3", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-8db8765abf5ee9f3.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-398332ff07802635": { + "tasks": [ + "P00-03", + "P03-03", + "P03-04", + "P03-06", + "P03-07", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G3", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-398332ff07802635.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-43fc090c275cc388": { + "tasks": [ + "P00-03", + "P03-03", + "P03-04", + "P03-06", + "P03-07", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G3", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-43fc090c275cc388.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-968f594d810f3811": { + "tasks": [ + "P00-03", + "P03-03", + "P03-04", + "P03-06", + "P03-07", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G3", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-968f594d810f3811.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-90082a7daf0a2578": { + "tasks": [ + "P00-03", + "P03-03", + "P03-04", + "P03-06", + "P03-07", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G3", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-90082a7daf0a2578.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-ff10c28994924966": { + "tasks": [ + "P00-03", + "P03-03", + "P03-04", + "P03-06", + "P03-07", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G3", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-ff10c28994924966.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-275402423fc4ed4a": { + "tasks": [ + "P00-03", + "P03-03", + "P03-04", + "P03-06", + "P03-07", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G3", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-275402423fc4ed4a.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-1d3f212b77a58f9a": { + "tasks": [ + "P00-03", + "P03-03", + "P03-04", + "P03-06", + "P03-07", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G3", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-1d3f212b77a58f9a.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-595f9562ae90c9fe": { + "tasks": [ + "P00-03", + "P03-03", + "P03-04", + "P03-06", + "P03-07", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G3", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-595f9562ae90c9fe.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-b34243d07735be0d": { + "tasks": [ + "P00-03", + "P03-03", + "P03-04", + "P03-06", + "P03-07", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G3", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-b34243d07735be0d.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-736016fc1f5558d5": { + "tasks": [ + "P00-03", + "P03-03", + "P03-04", + "P03-06", + "P03-07", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G3", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-736016fc1f5558d5.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-727f4ae5fdd34401": { + "tasks": [ + "P00-03", + "P03-03", + "P03-04", + "P03-06", + "P03-07", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G3", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-727f4ae5fdd34401.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-3f680b4d468d392e": { + "tasks": [ + "P00-03", + "P03-03", + "P03-04", + "P03-06", + "P03-07", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G3", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-3f680b4d468d392e.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-17ff65132973919e": { + "tasks": [ + "P00-03", + "P03-03", + "P03-04", + "P03-06", + "P03-07", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G3", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-17ff65132973919e.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-8d671203a585efbd": { + "tasks": [ + "P00-03", + "P03-03", + "P03-04", + "P03-06", + "P03-07", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G3", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-8d671203a585efbd.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-4e1f3e1d9d7c6ed7": { + "tasks": [ + "P00-03", + "P03-03", + "P03-04", + "P03-06", + "P03-07", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G3", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-4e1f3e1d9d7c6ed7.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-44d027c82b22f9a8": { + "tasks": [ + "P00-03", + "P03-03", + "P03-04", + "P03-06", + "P03-07", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G3", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-44d027c82b22f9a8.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-fae3349541eab079": { + "tasks": [ + "P00-03", + "P03-03", + "P03-04", + "P03-06", + "P03-07", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G3", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-fae3349541eab079.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-877e27af07c80468": { + "tasks": [ + "P00-03", + "P03-03", + "P03-04", + "P03-06", + "P03-07", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G3", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-877e27af07c80468.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-fae13ebaaed38b2b": { + "tasks": [ + "P00-03", + "P03-03", + "P03-04", + "P03-06", + "P03-07", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G3", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-fae13ebaaed38b2b.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-f4e061a46dc18892": { + "tasks": [ + "P00-03", + "P03-03", + "P03-04", + "P03-06", + "P03-07", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G3", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-f4e061a46dc18892.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-c5b44f4943119d00": { + "tasks": [ + "P00-03", + "P03-03", + "P03-04", + "P03-06", + "P03-07", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G3", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-c5b44f4943119d00.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-351a1ce390c723f3": { + "tasks": [ + "P00-03", + "P03-03", + "P03-04", + "P03-06", + "P03-07", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G3", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-351a1ce390c723f3.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-443038a9aa9ef61c": { + "tasks": [ + "P00-03", + "P03-03", + "P03-04", + "P03-06", + "P03-07", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G3", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-443038a9aa9ef61c.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-9e91854154c2cf55": { + "tasks": [ + "P00-03", + "P03-03", + "P03-04", + "P03-06", + "P03-07", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G3", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-9e91854154c2cf55.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-eeacceecfd412947": { + "tasks": [ + "P00-03", + "P03-03", + "P03-04", + "P03-06", + "P03-07", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G3", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-eeacceecfd412947.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-a9fa5a66ef94271a": { + "tasks": [ + "P00-03", + "P03-03", + "P03-04", + "P03-06", + "P03-07", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G3", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-a9fa5a66ef94271a.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-43b26b3f638d0233": { + "tasks": [ + "P00-03", + "P03-03", + "P03-04", + "P03-06", + "P03-07", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G3", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-43b26b3f638d0233.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-278fff8d9b35f558": { + "tasks": [ + "P00-03", + "P03-03", + "P03-04", + "P03-06", + "P03-07", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G3", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-278fff8d9b35f558.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-006e644ce28423fd": { + "tasks": [ + "P00-03", + "P03-03", + "P03-04", + "P03-06", + "P03-07", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G3", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-006e644ce28423fd.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-0a670bf420b4ad62": { + "tasks": [ + "P00-03", + "P03-03", + "P03-04", + "P03-06", + "P03-07", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G3", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-0a670bf420b4ad62.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-783b79bd8f3bd947": { + "tasks": [ + "P00-03", + "P03-03", + "P03-04", + "P03-06", + "P03-07", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G3", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-783b79bd8f3bd947.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-aea6f17977e39b09": { + "tasks": [ + "P00-03", + "P03-03", + "P03-04", + "P03-06", + "P03-07", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G3", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-aea6f17977e39b09.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-41d7d13562bdf598": { + "tasks": [ + "P00-03", + "P03-03", + "P03-04", + "P03-06", + "P03-07", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G3", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-41d7d13562bdf598.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-ae8257edc86bca50": { + "tasks": [ + "P00-03", + "P03-03", + "P03-04", + "P03-06", + "P03-07", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G3", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-ae8257edc86bca50.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-ecb2e87965bc4547": { + "tasks": [ + "P00-03", + "P03-03", + "P03-04", + "P03-06", + "P03-07", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G3", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-ecb2e87965bc4547.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-d8015572b208014c": { + "tasks": [ + "P00-03", + "P03-03", + "P03-04", + "P03-06", + "P03-07", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G3", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-d8015572b208014c.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-aa9ed5cb98d6041f": { + "tasks": [ + "P00-03", + "P03-03", + "P03-04", + "P03-06", + "P03-07", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G3", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-aa9ed5cb98d6041f.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-f4eb0551c177833b": { + "tasks": [ + "P00-03", + "P03-03", + "P03-04", + "P03-06", + "P03-07", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G3", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-f4eb0551c177833b.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-b332df9065bee09f": { + "tasks": [ + "P00-03", + "P03-03", + "P03-04", + "P03-06", + "P03-07", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G3", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-b332df9065bee09f.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-1c8c57768cf4792e": { + "tasks": [ + "P00-03", + "P03-03", + "P03-04", + "P03-06", + "P03-07", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G3", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-1c8c57768cf4792e.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-a36008fc21021674": { + "tasks": [ + "P00-03", + "P03-03", + "P03-04", + "P03-06", + "P03-07", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G3", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-a36008fc21021674.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-5c4bf98784988f45": { + "tasks": [ + "P00-03", + "P03-03", + "P03-04", + "P03-06", + "P03-07", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G3", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-5c4bf98784988f45.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-b3b3d7b3f65ef2c0": { + "tasks": [ + "P00-03", + "P03-03", + "P03-04", + "P03-06", + "P03-07", + "P06-01", + "P06-02", + "P06-03", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G3", + "G6", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-b3b3d7b3f65ef2c0.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-b51b9c3d1eb778a5": { + "tasks": [ + "P00-03", + "P03-03", + "P03-04", + "P03-06", + "P03-07", + "P06-01", + "P06-02", + "P06-03", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G3", + "G6", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-b51b9c3d1eb778a5.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-e223eafff765f7f4": { + "tasks": [ + "P00-03", + "P03-03", + "P03-04", + "P03-06", + "P03-07", + "P06-01", + "P06-02", + "P06-03", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G3", + "G6", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-e223eafff765f7f4.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-7d9b96be3bfbfda0": { + "tasks": [ + "P00-03", + "P03-03", + "P03-04", + "P03-06", + "P03-07", + "P06-01", + "P06-02", + "P06-03", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G3", + "G6", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-7d9b96be3bfbfda0.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-a5a37f88e084cf73": { + "tasks": [ + "P00-03", + "P03-03", + "P03-04", + "P03-06", + "P03-07", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G3", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-a5a37f88e084cf73.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-0ddbd675c3036e83": { + "tasks": [ + "P00-03", + "P03-03", + "P03-04", + "P03-06", + "P03-07", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G3", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-0ddbd675c3036e83.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-8b705c7e01d821a0": { + "tasks": [ + "P03-07", + "P06-04", + "P06-05", + "P06-06", + "P06-08" + ], + "gates": [ + "G3", + "G6" + ], + "disposition": "retain", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-8b705c7e01d821a0.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-7c9291c36e038114": { + "tasks": [ + "P03-07", + "P06-04", + "P06-05", + "P06-06", + "P06-08" + ], + "gates": [ + "G3", + "G6" + ], + "disposition": "replace", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-7c9291c36e038114.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-3edbcca23dc45d5b": { + "tasks": [ + "P02-01", + "P02-09", + "P04-01", + "P04-05", + "P09-03" + ], + "gates": [ + "G2", + "G4", + "G9" + ], + "disposition": "retain", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-3edbcca23dc45d5b.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-6099117639558322": { + "tasks": [ + "P04-08", + "P04-10", + "P05-01", + "P05-04" + ], + "gates": [ + "G4", + "G5" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-6099117639558322.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-7fdd0a08afe81954": { + "tasks": [ + "P04-10", + "P05-01", + "P05-04" + ], + "gates": [ + "G4", + "G5" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-7fdd0a08afe81954.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-ab8776e954576856": { + "tasks": [ + "P05-01", + "P05-05", + "P07-01", + "P07-05" + ], + "gates": [ + "G5", + "G7" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-ab8776e954576856.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-637f1e727f89e31a": { + "tasks": [ + "P04-05", + "P05-01", + "P05-02" + ], + "gates": [ + "G4", + "G5" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-637f1e727f89e31a.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-2accc863cbfb1452": { + "tasks": [ + "P04-06", + "P04-10", + "P05-01", + "P05-03" + ], + "gates": [ + "G4", + "G5" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-2accc863cbfb1452.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-7e52697666c1d1db": { + "tasks": [ + "P04-06", + "P04-08", + "P04-10", + "P05-01", + "P05-03" + ], + "gates": [ + "G4", + "G5" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-7e52697666c1d1db.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-5f608c1296bb5da2": { + "tasks": [ + "P05-01", + "P05-04" + ], + "gates": [ + "G5" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-5f608c1296bb5da2.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-130393a19cff03be": { + "tasks": [ + "P04-06", + "P04-10", + "P05-01", + "P05-03" + ], + "gates": [ + "G4", + "G5" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-130393a19cff03be.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-a56ff31ad57a1f0e": { + "tasks": [ + "P04-10", + "P05-01", + "P05-04" + ], + "gates": [ + "G4", + "G5" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-a56ff31ad57a1f0e.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-7db2e643362dfd6c": { + "tasks": [ + "P04-13", + "P05-01", + "P05-04" + ], + "gates": [ + "G4", + "G5" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-7db2e643362dfd6c.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-5a8723c98dfd6f67": { + "tasks": [ + "P04-06", + "P05-01", + "P05-03" + ], + "gates": [ + "G4", + "G5" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-5a8723c98dfd6f67.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-f5899aee3f4d6b9e": { + "tasks": [ + "P04-13", + "P05-01", + "P05-04" + ], + "gates": [ + "G4", + "G5" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-f5899aee3f4d6b9e.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-aabd8ca4f67f1c35": { + "tasks": [ + "P05-01", + "P05-05" + ], + "gates": [ + "G5" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-aabd8ca4f67f1c35.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-7476954ae0fdb534": { + "tasks": [ + "P04-06", + "P05-01", + "P05-03" + ], + "gates": [ + "G4", + "G5" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-7476954ae0fdb534.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-5e747a794c569195": { + "tasks": [ + "P04-09", + "P05-01", + "P05-04" + ], + "gates": [ + "G4", + "G5" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-5e747a794c569195.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-0f4037cecfd2937f": { + "tasks": [ + "P04-06", + "P04-09", + "P04-10", + "P05-01", + "P05-03" + ], + "gates": [ + "G4", + "G5" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-0f4037cecfd2937f.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-4a5beb0fdcf3619a": { + "tasks": [ + "P04-08", + "P04-09", + "P04-10", + "P05-01", + "P05-04" + ], + "gates": [ + "G4", + "G5" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-4a5beb0fdcf3619a.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-9b19d2ed844a6c53": { + "tasks": [ + "P04-09", + "P04-10", + "P05-01", + "P05-04" + ], + "gates": [ + "G4", + "G5" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-9b19d2ed844a6c53.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-540527431655d5fb": { + "tasks": [ + "P04-04", + "P04-08", + "P05-01", + "P05-03" + ], + "gates": [ + "G4", + "G5" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-540527431655d5fb.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-66a78cb7e2ee8eba": { + "tasks": [ + "P04-06", + "P04-08", + "P05-01", + "P05-03" + ], + "gates": [ + "G4", + "G5" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-66a78cb7e2ee8eba.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-3ca1dfa513a1e322": { + "tasks": [ + "P04-06", + "P04-08", + "P05-01", + "P05-03" + ], + "gates": [ + "G4", + "G5" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-3ca1dfa513a1e322.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-e427668ae85b61ce": { + "tasks": [ + "P04-06", + "P04-08", + "P05-01", + "P05-03" + ], + "gates": [ + "G4", + "G5" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-e427668ae85b61ce.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-d50045e506093dad": { + "tasks": [ + "P04-06", + "P04-08", + "P05-01", + "P05-03" + ], + "gates": [ + "G4", + "G5" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-d50045e506093dad.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-6110e3f0105bc8f1": { + "tasks": [ + "P04-05", + "P05-01", + "P05-02" + ], + "gates": [ + "G4", + "G5" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-6110e3f0105bc8f1.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-122501331d596e6c": { + "tasks": [ + "P04-10", + "P05-01", + "P05-04" + ], + "gates": [ + "G4", + "G5" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-122501331d596e6c.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-ef61f462b2550dc9": { + "tasks": [ + "P04-10", + "P05-01", + "P05-04" + ], + "gates": [ + "G4", + "G5" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-ef61f462b2550dc9.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-f07791f6d464ccd9": { + "tasks": [ + "P04-06", + "P05-01", + "P05-03" + ], + "gates": [ + "G4", + "G5" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-f07791f6d464ccd9.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-755640e005444d99": { + "tasks": [ + "P02-08", + "P07-01", + "P07-02", + "P07-03", + "P07-04", + "P07-05" + ], + "gates": [ + "G2", + "G7" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-755640e005444d99.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-575c23ed996d11ae": { + "tasks": [ + "P02-08", + "P07-01", + "P07-02", + "P07-03", + "P07-04", + "P07-05" + ], + "gates": [ + "G2", + "G7" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-575c23ed996d11ae.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-eeccc2e764f79cbb": { + "tasks": [ + "P02-08", + "P07-01", + "P07-02", + "P07-03", + "P07-04", + "P07-05" + ], + "gates": [ + "G2", + "G7" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-eeccc2e764f79cbb.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-ceb58bb22e2c813d": { + "tasks": [ + "P00-04", + "P01-01", + "P01-02", + "P01-03", + "P02-08", + "P07-01", + "P07-02", + "P07-03", + "P07-04", + "P07-05" + ], + "gates": [ + "G0", + "G1", + "G2", + "G7" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-ceb58bb22e2c813d.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-94c08e51c92c8c08": { + "tasks": [ + "P00-04", + "P01-01", + "P01-02", + "P01-03", + "P02-08", + "P07-01", + "P07-02", + "P07-03", + "P07-04", + "P07-05" + ], + "gates": [ + "G0", + "G1", + "G2", + "G7" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-94c08e51c92c8c08.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-7e98c4ac49886b90": { + "tasks": [ + "P00-04", + "P01-01", + "P01-02", + "P01-03", + "P02-08", + "P07-01", + "P07-02", + "P07-03", + "P07-04", + "P07-05" + ], + "gates": [ + "G0", + "G1", + "G2", + "G7" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-7e98c4ac49886b90.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-fe7edc51ffa8a34f": { + "tasks": [ + "P00-04", + "P01-01", + "P01-02", + "P01-03", + "P02-08", + "P07-01", + "P07-02", + "P07-03", + "P07-04", + "P07-05" + ], + "gates": [ + "G0", + "G1", + "G2", + "G7" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-fe7edc51ffa8a34f.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-f05686ba301ff5b5": { + "tasks": [ + "P02-08", + "P07-01", + "P07-02", + "P07-03", + "P07-04", + "P07-05" + ], + "gates": [ + "G2", + "G7" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-f05686ba301ff5b5.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-16e41e21eea34bf8": { + "tasks": [ + "P02-08", + "P07-01", + "P07-02", + "P07-03", + "P07-04", + "P07-05" + ], + "gates": [ + "G2", + "G7" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-16e41e21eea34bf8.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-5db8498b026fe96d": { + "tasks": [ + "P02-08", + "P07-01", + "P07-02", + "P07-03", + "P07-04", + "P07-05" + ], + "gates": [ + "G2", + "G7" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-5db8498b026fe96d.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-3437e4b3d969b4d5": { + "tasks": [ + "P02-08", + "P07-01", + "P07-02", + "P07-03", + "P07-04", + "P07-05" + ], + "gates": [ + "G2", + "G7" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-3437e4b3d969b4d5.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-fe9f2c86a6fb4b9f": { + "tasks": [ + "P00-04", + "P01-01", + "P01-02", + "P01-03", + "P02-08", + "P07-01", + "P07-02", + "P07-03", + "P07-04", + "P07-05" + ], + "gates": [ + "G0", + "G1", + "G2", + "G7" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-fe9f2c86a6fb4b9f.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-ca59b5ef4a3f6fa3": { + "tasks": [ + "P02-04", + "P02-06", + "P03-05", + "P05-01" + ], + "gates": [ + "G2", + "G3", + "G5" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-ca59b5ef4a3f6fa3.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-e8ca7a89ef09d514": { + "tasks": [ + "P04-06", + "P05-01", + "P05-03" + ], + "gates": [ + "G4", + "G5" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-e8ca7a89ef09d514.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-1c35c1275d46d863": { + "tasks": [ + "P04-04", + "P05-01", + "P05-02" + ], + "gates": [ + "G4", + "G5" + ], + "disposition": "replace", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-1c35c1275d46d863.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-e968e8702b679dff": { + "tasks": [ + "P04-04", + "P05-01", + "P05-02" + ], + "gates": [ + "G4", + "G5" + ], + "disposition": "replace", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-e968e8702b679dff.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-dad900bc285405c9": { + "tasks": [ + "P04-05", + "P05-01", + "P05-02" + ], + "gates": [ + "G4", + "G5" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-dad900bc285405c9.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-c0ff0a667c4cc9dd": { + "tasks": [ + "P04-13", + "P05-01", + "P05-04" + ], + "gates": [ + "G4", + "G5" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-c0ff0a667c4cc9dd.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-f1a859a308a3d395": { + "tasks": [ + "P04-13", + "P05-01", + "P05-04" + ], + "gates": [ + "G4", + "G5" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-f1a859a308a3d395.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-a2dac88b7495c3ed": { + "tasks": [ + "P04-06", + "P04-10", + "P05-01", + "P05-03" + ], + "gates": [ + "G4", + "G5" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-a2dac88b7495c3ed.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-00e5ec97ad8c8b8a": { + "tasks": [ + "P04-05", + "P05-01", + "P05-02" + ], + "gates": [ + "G4", + "G5" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-00e5ec97ad8c8b8a.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-6ae8e3c7ef27223f": { + "tasks": [ + "P03-07", + "P05-01", + "P06-07" + ], + "gates": [ + "G3", + "G5", + "G6" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-6ae8e3c7ef27223f.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-b800342e538ea2d1": { + "tasks": [ + "P03-03", + "P03-04", + "P03-07" + ], + "gates": [ + "G3" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-b800342e538ea2d1.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-7e81c448796358a6": { + "tasks": [ + "P03-03", + "P03-04", + "P03-07" + ], + "gates": [ + "G3" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-7e81c448796358a6.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-ec4497e18dbf69e3": { + "tasks": [ + "P03-07", + "P05-01", + "P06-07" + ], + "gates": [ + "G3", + "G5", + "G6" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-ec4497e18dbf69e3.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-47275d8cae52d1c6": { + "tasks": [ + "P03-03", + "P03-04", + "P03-07" + ], + "gates": [ + "G3" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-47275d8cae52d1c6.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-b981852fd14f7111": { + "tasks": [ + "P03-02", + "P03-03", + "P03-04", + "P03-07" + ], + "gates": [ + "G3" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-b981852fd14f7111.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-f2fb3894a767ab0b": { + "tasks": [ + "P03-03", + "P03-04", + "P03-07" + ], + "gates": [ + "G3" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-f2fb3894a767ab0b.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-874e0fb545d7dfb2": { + "tasks": [ + "P03-03", + "P03-04", + "P03-07" + ], + "gates": [ + "G3" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-874e0fb545d7dfb2.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-dd6d44a89b46f80d": { + "tasks": [ + "P03-07", + "P05-01", + "P06-07" + ], + "gates": [ + "G3", + "G5", + "G6" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-dd6d44a89b46f80d.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-a49b47e146a02ef2": { + "tasks": [ + "P03-03", + "P03-04", + "P03-07" + ], + "gates": [ + "G3" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-a49b47e146a02ef2.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-17806e03bd172ef3": { + "tasks": [ + "P03-07", + "P05-01", + "P06-07" + ], + "gates": [ + "G3", + "G5", + "G6" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-17806e03bd172ef3.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-e98430e35cbc35f0": { + "tasks": [ + "P03-03", + "P03-04", + "P03-07" + ], + "gates": [ + "G3" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-e98430e35cbc35f0.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-ddb81b9050da9068": { + "tasks": [ + "P03-07", + "P05-01", + "P06-07" + ], + "gates": [ + "G3", + "G5", + "G6" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-ddb81b9050da9068.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-5b8181491d7bb5dc": { + "tasks": [ + "P03-02", + "P04-11" + ], + "gates": [ + "G3", + "G4" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-5b8181491d7bb5dc.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-2a52f6493776c10e": { + "tasks": [ + "P03-02", + "P04-07" + ], + "gates": [ + "G3", + "G4" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-2a52f6493776c10e.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-cb684c2791a2eadb": { + "tasks": [ + "P03-02", + "P04-07" + ], + "gates": [ + "G3", + "G4" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-cb684c2791a2eadb.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-4ee875fb4c7eec91": { + "tasks": [ + "P03-02", + "P04-03", + "P08-01", + "P08-03", + "P08-05" + ], + "gates": [ + "G3", + "G4", + "G8" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-4ee875fb4c7eec91.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-108317e3109dd879": { + "tasks": [ + "P03-02", + "P04-10" + ], + "gates": [ + "G3", + "G4" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-108317e3109dd879.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-69cbc8c249cae851": { + "tasks": [ + "P03-02", + "P04-10" + ], + "gates": [ + "G3", + "G4" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-69cbc8c249cae851.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-716aea63eb4178e4": { + "tasks": [ + "P03-02", + "P04-10" + ], + "gates": [ + "G3", + "G4" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-716aea63eb4178e4.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-637e7d01ee93a7e2": { + "tasks": [ + "P03-02", + "P04-09" + ], + "gates": [ + "G3", + "G4" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-637e7d01ee93a7e2.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-d2fb47f08b8af2ba": { + "tasks": [ + "P03-02", + "P04-10" + ], + "gates": [ + "G3", + "G4" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-d2fb47f08b8af2ba.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-0345e88ff9597357": { + "tasks": [ + "P03-02", + "P04-10" + ], + "gates": [ + "G3", + "G4" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-0345e88ff9597357.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-8dbbd61dabd00c1f": { + "tasks": [ + "P03-02", + "P04-10" + ], + "gates": [ + "G3", + "G4" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-8dbbd61dabd00c1f.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-d398307860e5c0dd": { + "tasks": [ + "P03-02", + "P04-07" + ], + "gates": [ + "G3", + "G4" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-d398307860e5c0dd.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-35e97a37efe8ee31": { + "tasks": [ + "P03-02", + "P04-03" + ], + "gates": [ + "G3", + "G4" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-35e97a37efe8ee31.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-960df0ca64e33313": { + "tasks": [ + "P03-02", + "P04-10" + ], + "gates": [ + "G3", + "G4" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-960df0ca64e33313.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-46c0d51d5bd93915": { + "tasks": [ + "P03-02", + "P04-10" + ], + "gates": [ + "G3", + "G4" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-46c0d51d5bd93915.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-ebfb46505dfae15d": { + "tasks": [ + "P03-02", + "P04-09", + "P08-01", + "P08-02", + "P08-05" + ], + "gates": [ + "G3", + "G4", + "G8" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-ebfb46505dfae15d.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-654ffdaede509b77": { + "tasks": [ + "P03-04", + "P05-05", + "P06-05" + ], + "gates": [ + "G3", + "G5", + "G6" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-654ffdaede509b77.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-1129c9e5b90696a0": { + "tasks": [ + "P02-04", + "P04-03", + "P04-04", + "P05-01", + "P06-01" + ], + "gates": [ + "G2", + "G4", + "G5", + "G6" + ], + "disposition": "replace", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-1129c9e5b90696a0.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-fb0723324262c843": { + "tasks": [ + "P02-02", + "P02-03", + "P02-05", + "P02-09", + "P04-02", + "P04-05", + "P04-08" + ], + "gates": [ + "G2", + "G4" + ], + "disposition": "replace", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-fb0723324262c843.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-902dc4ac38f019c9": { + "tasks": [ + "P02-02", + "P02-03", + "P02-05", + "P02-09", + "P04-02", + "P04-05" + ], + "gates": [ + "G2", + "G4" + ], + "disposition": "replace", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-902dc4ac38f019c9.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-d19a044988a2dbd6": { + "tasks": [ + "P02-02", + "P02-03", + "P02-05", + "P02-09", + "P04-02", + "P04-05", + "P04-09" + ], + "gates": [ + "G2", + "G4" + ], + "disposition": "replace", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-d19a044988a2dbd6.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-5ae54ca672a8ba3c": { + "tasks": [ + "P02-02", + "P02-03", + "P02-05", + "P02-09", + "P04-02", + "P04-05", + "P04-08", + "P04-09" + ], + "gates": [ + "G2", + "G4" + ], + "disposition": "replace", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-5ae54ca672a8ba3c.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-9108e77d43729c39": { + "tasks": [ + "P02-02", + "P02-03", + "P02-05", + "P02-09", + "P04-02", + "P04-05", + "P04-08" + ], + "gates": [ + "G2", + "G4" + ], + "disposition": "replace", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-9108e77d43729c39.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-8b07744af698a677": { + "tasks": [ + "P02-02", + "P02-03", + "P02-05", + "P02-09", + "P04-02", + "P04-05" + ], + "gates": [ + "G2", + "G4" + ], + "disposition": "replace", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-8b07744af698a677.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-0064c8f5583b5846": { + "tasks": [ + "P02-04", + "P04-03", + "P04-04", + "P05-01", + "P06-01" + ], + "gates": [ + "G2", + "G4", + "G5", + "G6" + ], + "disposition": "replace", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-0064c8f5583b5846.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-4e8545961ec9f79c": { + "tasks": [ + "P02-02", + "P02-03", + "P02-05", + "P02-07", + "P04-02", + "P04-05", + "P06-01", + "P07-01" + ], + "gates": [ + "G2", + "G4", + "G6", + "G7" + ], + "disposition": "replace", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-4e8545961ec9f79c.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-c393f0eb296301f6": { + "tasks": [ + "P02-05", + "P04-02", + "P04-05" + ], + "gates": [ + "G2", + "G4" + ], + "disposition": "replace", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-c393f0eb296301f6.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-43b4d856f72236b2": { + "tasks": [ + "P02-05", + "P02-06", + "P04-06", + "P05-03" + ], + "gates": [ + "G2", + "G4", + "G5" + ], + "disposition": "replace", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-43b4d856f72236b2.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-eca4a978bb80bc1e": { + "tasks": [ + "P04-05", + "P04-10" + ], + "gates": [ + "G4" + ], + "disposition": "replace", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-eca4a978bb80bc1e.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-f9fdf98fcf51218e": { + "tasks": [ + "P06-01", + "P06-02", + "P06-03" + ], + "gates": [ + "G6" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-f9fdf98fcf51218e.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-3b814b18cfea71be": { + "tasks": [ + "P06-01", + "P06-02", + "P06-03" + ], + "gates": [ + "G6" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-3b814b18cfea71be.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-b425dc190363a785": { + "tasks": [ + "P06-01", + "P06-02", + "P06-03" + ], + "gates": [ + "G6" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-b425dc190363a785.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-d08845022ad48916": { + "tasks": [ + "P06-01", + "P06-02", + "P06-03" + ], + "gates": [ + "G6" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-d08845022ad48916.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-270572b713ec6865": { + "tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "gates": [ + "G0", + "G3", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-270572b713ec6865.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-3921f4bbba2b3750": { + "tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "gates": [ + "G0", + "G3", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-3921f4bbba2b3750.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-e5a4af9dc081e1e4": { + "tasks": [ + "P00-03", + "P03-06", + "P04-05", + "P04-06", + "P09-01" + ], + "gates": [ + "G0", + "G3", + "G4", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-e5a4af9dc081e1e4.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-29ff125b420a5abf": { + "tasks": [ + "P00-03", + "P03-06", + "P04-10", + "P09-01" + ], + "gates": [ + "G0", + "G3", + "G4", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-29ff125b420a5abf.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-beb4cf386a7f5c02": { + "tasks": [ + "P05-05", + "P09-01", + "P09-04" + ], + "gates": [ + "G5", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-beb4cf386a7f5c02.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-45dccf3352277655": { + "tasks": [ + "P05-05", + "P09-01", + "P09-04" + ], + "gates": [ + "G5", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-45dccf3352277655.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-d7705533e8467092": { + "tasks": [ + "P02-08", + "P07-01", + "P07-02", + "P07-03", + "P07-04", + "P07-05" + ], + "gates": [ + "G2", + "G7" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-d7705533e8467092.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-713848b2efca9ebf": { + "tasks": [ + "P00-03", + "P03-06", + "P06-04", + "P06-05", + "P09-01" + ], + "gates": [ + "G0", + "G3", + "G6", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-713848b2efca9ebf.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-22ba77a4483724a0": { + "tasks": [ + "P00-04", + "P01-01", + "P01-02", + "P07-01", + "P07-05" + ], + "gates": [ + "G0", + "G1", + "G7" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-22ba77a4483724a0.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-f60540dff4a5bd5d": { + "tasks": [ + "P00-04", + "P01-01", + "P01-02", + "P07-01", + "P07-05" + ], + "gates": [ + "G0", + "G1", + "G7" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-f60540dff4a5bd5d.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-8a5c1300ec2f4ddc": { + "tasks": [ + "P00-04", + "P01-01", + "P01-02", + "P07-01", + "P07-05" + ], + "gates": [ + "G0", + "G1", + "G7" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-8a5c1300ec2f4ddc.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-2db75d95400c1c0c": { + "tasks": [ + "P00-04", + "P01-01", + "P01-02", + "P07-01", + "P07-05" + ], + "gates": [ + "G0", + "G1", + "G7" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-2db75d95400c1c0c.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-cc53d77ee1c6abe3": { + "tasks": [ + "P00-03", + "P00-04", + "P01-01", + "P07-02", + "P07-04", + "P07-05", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G1", + "G7", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-cc53d77ee1c6abe3.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-9b9989e09fc8bc3c": { + "tasks": [ + "P00-03", + "P05-01", + "P05-02", + "P05-03", + "P05-04", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G5", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-9b9989e09fc8bc3c.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-05ab29e2a5705c35": { + "tasks": [ + "P00-03", + "P05-01", + "P05-02", + "P05-03", + "P05-04", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G5", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-05ab29e2a5705c35.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-4e5d81ea927e27b6": { + "tasks": [ + "P00-03", + "P00-04", + "P01-01", + "P07-02", + "P07-04", + "P07-05", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G1", + "G7", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-4e5d81ea927e27b6.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-97eb85a41f20e5c8": { + "tasks": [ + "P00-03", + "P00-04", + "P01-01", + "P07-02", + "P07-04", + "P07-05", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G1", + "G7", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-97eb85a41f20e5c8.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-46970daabcca4458": { + "tasks": [ + "P00-03", + "P00-04", + "P01-01", + "P07-02", + "P07-04", + "P07-05", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G1", + "G7", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-46970daabcca4458.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-63808dfa0ded0ec3": { + "tasks": [ + "P00-03", + "P00-04", + "P01-01", + "P07-02", + "P07-04", + "P07-05", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G1", + "G7", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-63808dfa0ded0ec3.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-3f87bf5ac3f90a8e": { + "tasks": [ + "P00-03", + "P05-01", + "P05-02", + "P05-03", + "P05-04", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G5", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-3f87bf5ac3f90a8e.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-a90735d8a542f98e": { + "tasks": [ + "P00-03", + "P05-01", + "P05-02", + "P05-03", + "P05-04", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G5", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-a90735d8a542f98e.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-ded76a1543b48a3c": { + "tasks": [ + "P00-03", + "P05-01", + "P05-02", + "P05-03", + "P05-04", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G5", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-ded76a1543b48a3c.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-585052475e0e0c6c": { + "tasks": [ + "P00-03", + "P05-01", + "P05-02", + "P05-03", + "P05-04", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G5", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-585052475e0e0c6c.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-43a70d06d37fd981": { + "tasks": [ + "P00-03", + "P00-04", + "P01-01", + "P07-02", + "P07-04", + "P07-05", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G1", + "G7", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-43a70d06d37fd981.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-2db125a60db75463": { + "tasks": [ + "P00-03", + "P00-04", + "P01-01", + "P07-02", + "P07-04", + "P07-05", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G1", + "G7", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-2db125a60db75463.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-49bd02134c8eb889": { + "tasks": [ + "P00-03", + "P00-04", + "P01-01", + "P07-02", + "P07-04", + "P07-05", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G1", + "G7", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-49bd02134c8eb889.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-b2ae669562018348": { + "tasks": [ + "P00-03", + "P00-04", + "P01-01", + "P07-02", + "P07-04", + "P07-05", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G1", + "G7", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-b2ae669562018348.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-c74ad5796c8c2c67": { + "tasks": [ + "P00-03", + "P00-04", + "P01-01", + "P07-02", + "P07-04", + "P07-05", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G1", + "G7", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-c74ad5796c8c2c67.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-0ec651ea946326c2": { + "tasks": [ + "P00-03", + "P00-04", + "P01-01", + "P07-02", + "P07-04", + "P07-05", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G1", + "G7", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-0ec651ea946326c2.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-8066ca7eb5dd963a": { + "tasks": [ + "P00-03", + "P00-04", + "P01-01", + "P07-02", + "P07-04", + "P07-05", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G1", + "G7", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-8066ca7eb5dd963a.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-b971cfdba797f5ca": { + "tasks": [ + "P00-03", + "P00-04", + "P01-01", + "P07-02", + "P07-04", + "P07-05", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G1", + "G7", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-b971cfdba797f5ca.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-d9a70619b9fed429": { + "tasks": [ + "P00-03", + "P00-04", + "P01-01", + "P07-02", + "P07-04", + "P07-05", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G1", + "G7", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-d9a70619b9fed429.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-d22ef4e7817b8927": { + "tasks": [ + "P00-03", + "P00-04", + "P01-01", + "P07-02", + "P07-04", + "P07-05", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G1", + "G7", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-d22ef4e7817b8927.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-cf45306c6a024d37": { + "tasks": [ + "P00-03", + "P00-04", + "P01-01", + "P07-02", + "P07-04", + "P07-05", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G1", + "G7", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-cf45306c6a024d37.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-b9f8796da5f6d80e": { + "tasks": [ + "P00-03", + "P00-04", + "P01-01", + "P07-02", + "P07-04", + "P07-05", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G1", + "G7", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-b9f8796da5f6d80e.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-e0355b86d41d6620": { + "tasks": [ + "P00-03", + "P05-01", + "P05-02", + "P05-03", + "P05-04", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G5", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-e0355b86d41d6620.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-ed0cef05b7deddb7": { + "tasks": [ + "P00-03", + "P05-01", + "P05-02", + "P05-03", + "P05-04", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G5", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-ed0cef05b7deddb7.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-776e4c0e4ee1937c": { + "tasks": [ + "P00-03", + "P05-01", + "P05-02", + "P05-03", + "P05-04", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G5", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-776e4c0e4ee1937c.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-3abd0eb4d68aabe0": { + "tasks": [ + "P00-03", + "P05-01", + "P05-02", + "P05-03", + "P05-04", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G5", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-3abd0eb4d68aabe0.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-c30b41d08fd69cae": { + "tasks": [ + "P00-03", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-c30b41d08fd69cae.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-b328a7af01f4305f": { + "tasks": [ + "P00-03", + "P06-01", + "P06-02", + "P06-03", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G6", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-b328a7af01f4305f.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-0104588b49b88f9b": { + "tasks": [ + "P00-03", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-0104588b49b88f9b.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-ea9e842e5124c927": { + "tasks": [ + "P00-03", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-ea9e842e5124c927.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-398628efb166a6f0": { + "tasks": [ + "P00-03", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-398628efb166a6f0.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-57092aaac366ce0c": { + "tasks": [ + "P00-03", + "P03-04", + "P03-05", + "P03-07" + ], + "gates": [ + "G0", + "G3" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-57092aaac366ce0c.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-9e7c4634cac4c7b4": { + "tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "gates": [ + "G0", + "G3", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-9e7c4634cac4c7b4.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-6ffa0cc3ba17a777": { + "tasks": [ + "P00-03", + "P03-06", + "P04-10", + "P09-01" + ], + "gates": [ + "G0", + "G3", + "G4", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-6ffa0cc3ba17a777.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-a9b4d7e51e16d73e": { + "tasks": [ + "P00-03", + "P03-06", + "P04-10", + "P09-01" + ], + "gates": [ + "G0", + "G3", + "G4", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-a9b4d7e51e16d73e.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-c81fb8dbd7f6b348": { + "tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "gates": [ + "G0", + "G3", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-c81fb8dbd7f6b348.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-27dbc43d17be6d47": { + "tasks": [ + "P00-03", + "P03-06", + "P04-05", + "P04-06", + "P09-01" + ], + "gates": [ + "G0", + "G3", + "G4", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-27dbc43d17be6d47.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-cf51d5ffeb5b1ab3": { + "tasks": [ + "P00-03", + "P03-06", + "P04-05", + "P04-06", + "P09-01" + ], + "gates": [ + "G0", + "G3", + "G4", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-cf51d5ffeb5b1ab3.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-cd1c256e6f6fda47": { + "tasks": [ + "P00-03", + "P03-06", + "P04-05", + "P04-06", + "P09-01" + ], + "gates": [ + "G0", + "G3", + "G4", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-cd1c256e6f6fda47.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-3ce8678d93f128dc": { + "tasks": [ + "P00-03", + "P03-06", + "P04-05", + "P04-06", + "P09-01" + ], + "gates": [ + "G0", + "G3", + "G4", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-3ce8678d93f128dc.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-ee6663ebc8f2dc49": { + "tasks": [ + "P00-03", + "P03-06", + "P04-05", + "P04-06", + "P09-01" + ], + "gates": [ + "G0", + "G3", + "G4", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-ee6663ebc8f2dc49.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-8ffd14c45b3812ea": { + "tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "gates": [ + "G0", + "G3", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-8ffd14c45b3812ea.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-eac8eff18fe0b852": { + "tasks": [ + "P00-03", + "P03-06", + "P04-10", + "P09-01" + ], + "gates": [ + "G0", + "G3", + "G4", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-eac8eff18fe0b852.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-aa22d20d2d639fc7": { + "tasks": [ + "P00-03", + "P03-06", + "P04-10", + "P09-01" + ], + "gates": [ + "G0", + "G3", + "G4", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-aa22d20d2d639fc7.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-361c6018edd7103a": { + "tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "gates": [ + "G0", + "G3", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-361c6018edd7103a.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-95fa4d2e24de5a3e": { + "tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "gates": [ + "G0", + "G3", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-95fa4d2e24de5a3e.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-487d71b1fb2a772d": { + "tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "gates": [ + "G0", + "G3", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-487d71b1fb2a772d.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-70f2bc49c9d6f491": { + "tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "gates": [ + "G0", + "G3", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-70f2bc49c9d6f491.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-e69f26a656e90120": { + "tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "gates": [ + "G0", + "G3", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-e69f26a656e90120.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-7b7398177c5163db": { + "tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "gates": [ + "G0", + "G3", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-7b7398177c5163db.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-e8b25e6d8730e1e7": { + "tasks": [ + "P00-03", + "P03-06", + "P04-10", + "P09-01" + ], + "gates": [ + "G0", + "G3", + "G4", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-e8b25e6d8730e1e7.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-611c81a4822db706": { + "tasks": [ + "P00-03", + "P03-06", + "P04-05", + "P04-06", + "P09-01" + ], + "gates": [ + "G0", + "G3", + "G4", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-611c81a4822db706.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-8f9aa816f1c87e00": { + "tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "gates": [ + "G0", + "G3", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-8f9aa816f1c87e00.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-c69e6e9da1421924": { + "tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "gates": [ + "G0", + "G3", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-c69e6e9da1421924.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-13365bb015203d2c": { + "tasks": [ + "P05-01", + "P05-04" + ], + "gates": [ + "G5" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-13365bb015203d2c.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-45c70ebb1a68590b": { + "tasks": [ + "P04-06", + "P05-01", + "P05-03" + ], + "gates": [ + "G4", + "G5" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-45c70ebb1a68590b.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-2d70ff5a414a71bc": { + "tasks": [ + "P04-06", + "P04-08", + "P05-01", + "P05-03" + ], + "gates": [ + "G4", + "G5" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-2d70ff5a414a71bc.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-0b685a0a6f8ded75": { + "tasks": [ + "P04-06", + "P04-08", + "P05-01", + "P05-03" + ], + "gates": [ + "G4", + "G5" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-0b685a0a6f8ded75.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-522d180395ae3094": { + "tasks": [ + "P02-08", + "P07-01", + "P07-02", + "P07-03", + "P07-04", + "P07-05" + ], + "gates": [ + "G2", + "G7" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-522d180395ae3094.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-af422dae26465537": { + "tasks": [ + "P02-08", + "P07-01", + "P07-02", + "P07-03", + "P07-04", + "P07-05" + ], + "gates": [ + "G2", + "G7" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-af422dae26465537.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-67f4fa91e8d361c2": { + "tasks": [ + "P00-04", + "P01-01", + "P01-02", + "P01-03", + "P02-08", + "P07-01", + "P07-02", + "P07-03", + "P07-04", + "P07-05" + ], + "gates": [ + "G0", + "G1", + "G2", + "G7" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-67f4fa91e8d361c2.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-479bfc89ba54017b": { + "tasks": [ + "P02-08", + "P07-01", + "P07-02", + "P07-03", + "P07-04", + "P07-05" + ], + "gates": [ + "G2", + "G7" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-479bfc89ba54017b.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-5574a77d963b18e7": { + "tasks": [ + "P01-04", + "P02-08", + "P07-01", + "P07-02", + "P07-03", + "P07-04", + "P07-05" + ], + "gates": [ + "G1", + "G2", + "G7" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-5574a77d963b18e7.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-0ecc7ee40a381355": { + "tasks": [ + "P01-04", + "P02-08", + "P07-01", + "P07-02", + "P07-03", + "P07-04", + "P07-05" + ], + "gates": [ + "G1", + "G2", + "G7" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-0ecc7ee40a381355.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-dd89a27c87e2e3b2": { + "tasks": [ + "P02-08", + "P07-01", + "P07-02", + "P07-03", + "P07-04", + "P07-05" + ], + "gates": [ + "G2", + "G7" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-dd89a27c87e2e3b2.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-1c4ca2bc1a62b894": { + "tasks": [ + "P01-04", + "P02-08", + "P07-01", + "P07-02", + "P07-03", + "P07-04", + "P07-05" + ], + "gates": [ + "G1", + "G2", + "G7" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-1c4ca2bc1a62b894.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-18b9fe1e2bc369d2": { + "tasks": [ + "P02-08", + "P07-01", + "P07-02" + ], + "gates": [ + "G2", + "G7" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-18b9fe1e2bc369d2.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-f7e8418017ccd1d1": { + "tasks": [ + "P03-02", + "P04-03" + ], + "gates": [ + "G3", + "G4" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-f7e8418017ccd1d1.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-a1ddb1d3142ac66a": { + "tasks": [ + "P03-02", + "P04-10" + ], + "gates": [ + "G3", + "G4" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-a1ddb1d3142ac66a.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-4a1ca1265630e4b8": { + "tasks": [ + "P02-03", + "P02-08", + "P04-02", + "P04-05", + "P07-01" + ], + "gates": [ + "G2", + "G4", + "G7" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-4a1ca1265630e4b8.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-1309d096349404ba": { + "tasks": [ + "P03-02", + "P04-03" + ], + "gates": [ + "G3", + "G4" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-1309d096349404ba.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-f9d68986ba5bff64": { + "tasks": [ + "P03-02", + "P04-11" + ], + "gates": [ + "G3", + "G4" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-f9d68986ba5bff64.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-24d1f2b4bd711399": { + "tasks": [ + "P03-02", + "P04-10" + ], + "gates": [ + "G3", + "G4" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-24d1f2b4bd711399.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-fa598cd61b2ea6b7": { + "tasks": [ + "P03-02", + "P04-10" + ], + "gates": [ + "G3", + "G4" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-fa598cd61b2ea6b7.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-857ba4df243610e0": { + "tasks": [ + "P03-02", + "P04-12" + ], + "gates": [ + "G3", + "G4" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-857ba4df243610e0.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-8e7abe0da216054d": { + "tasks": [ + "P02-05", + "P04-04", + "P04-06" + ], + "gates": [ + "G2", + "G4" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-8e7abe0da216054d.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-8e06ca2231769bf9": { + "tasks": [ + "P03-02", + "P04-09", + "P08-01", + "P08-03", + "P08-05" + ], + "gates": [ + "G3", + "G4", + "G8" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-8e06ca2231769bf9.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-c8e8f31424354d46": { + "tasks": [ + "P03-02", + "P04-10" + ], + "gates": [ + "G3", + "G4" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-c8e8f31424354d46.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-90540c4c93c6e925": { + "tasks": [ + "P03-02", + "P04-12" + ], + "gates": [ + "G3", + "G4" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-90540c4c93c6e925.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-5e56613ad2fca2db": { + "tasks": [ + "P03-02", + "P04-12" + ], + "gates": [ + "G3", + "G4" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-5e56613ad2fca2db.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-681472f26b407b41": { + "tasks": [ + "P02-08", + "P07-01", + "P07-02" + ], + "gates": [ + "G2", + "G7" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-681472f26b407b41.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-6bb3ba52a914c157": { + "tasks": [ + "P03-02", + "P04-12" + ], + "gates": [ + "G3", + "G4" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-6bb3ba52a914c157.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-d37babac643ca975": { + "tasks": [ + "P03-03", + "P03-04", + "P03-06" + ], + "gates": [ + "G3" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-d37babac643ca975.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-2cbeb7481b7e8b7a": { + "tasks": [ + "P03-03", + "P03-04", + "P03-06" + ], + "gates": [ + "G3" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-2cbeb7481b7e8b7a.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-71a8068fa5148b1d": { + "tasks": [ + "P03-04", + "P05-05", + "P06-05" + ], + "gates": [ + "G3", + "G5", + "G6" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-71a8068fa5148b1d.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-10298ac60ba2589c": { + "tasks": [ + "P02-02", + "P02-03", + "P02-05", + "P02-09", + "P04-02", + "P04-05", + "P04-09" + ], + "gates": [ + "G2", + "G4" + ], + "disposition": "replace", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-10298ac60ba2589c.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-bfba9a9733e990b2": { + "tasks": [ + "P02-02", + "P02-03", + "P02-05", + "P02-09", + "P04-02", + "P04-05", + "P04-08", + "P04-09" + ], + "gates": [ + "G2", + "G4" + ], + "disposition": "replace", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-bfba9a9733e990b2.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-9d5644fa33ae640a": { + "tasks": [ + "P03-05", + "P05-05", + "P06-05" + ], + "gates": [ + "G3", + "G5", + "G6" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-9d5644fa33ae640a.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-3c9af4aa95a90ec1": { + "tasks": [ + "P06-01", + "P06-02", + "P06-03" + ], + "gates": [ + "G6" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-3c9af4aa95a90ec1.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-77076e703f3ff9b4": { + "tasks": [ + "P04-08", + "P04-09", + "P06-01", + "P06-02", + "P06-03" + ], + "gates": [ + "G4", + "G6" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-77076e703f3ff9b4.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-c13168d4a449764d": { + "tasks": [ + "P04-08", + "P06-01", + "P06-02", + "P06-03" + ], + "gates": [ + "G4", + "G6" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-c13168d4a449764d.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-c6bb59ad824f3043": { + "tasks": [ + "P06-01", + "P06-02", + "P06-03" + ], + "gates": [ + "G6" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-c6bb59ad824f3043.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-30a3fd6bc1163877": { + "tasks": [ + "P04-08", + "P06-01", + "P06-02", + "P06-03" + ], + "gates": [ + "G4", + "G6" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-30a3fd6bc1163877.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-f9281ec0a9ef818c": { + "tasks": [ + "P04-08", + "P04-12", + "P06-01", + "P06-02", + "P06-03" + ], + "gates": [ + "G4", + "G6" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-f9281ec0a9ef818c.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-ae2ab66fa7e4ce16": { + "tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "gates": [ + "G0", + "G3", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-ae2ab66fa7e4ce16.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-c829dfda2d1dc419": { + "tasks": [ + "P00-03", + "P03-06", + "P04-10", + "P09-01" + ], + "gates": [ + "G0", + "G3", + "G4", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-c829dfda2d1dc419.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-5ca82577dfe50181": { + "tasks": [ + "P05-01", + "P05-05" + ], + "gates": [ + "G5" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-5ca82577dfe50181.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-e54ce44407041288": { + "tasks": [ + "P04-06", + "P05-01", + "P05-03" + ], + "gates": [ + "G4", + "G5" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-e54ce44407041288.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-f9764d60842a3b96": { + "tasks": [ + "P02-08", + "P07-01", + "P07-02", + "P07-03", + "P07-04", + "P07-05" + ], + "gates": [ + "G2", + "G7" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-f9764d60842a3b96.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-5c466e672224acb1": { + "tasks": [ + "P00-04", + "P01-01", + "P01-02", + "P01-03", + "P02-08", + "P07-01", + "P07-02", + "P07-03", + "P07-04", + "P07-05" + ], + "gates": [ + "G0", + "G1", + "G2", + "G7" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-5c466e672224acb1.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-e2be6886e84bde25": { + "tasks": [ + "P00-04", + "P01-01", + "P01-02", + "P01-03", + "P02-08", + "P07-01", + "P07-02", + "P07-03", + "P07-04", + "P07-05" + ], + "gates": [ + "G0", + "G1", + "G2", + "G7" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-e2be6886e84bde25.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-a836659cba2bae29": { + "tasks": [ + "P02-08", + "P07-01", + "P07-02", + "P07-03", + "P07-04", + "P07-05" + ], + "gates": [ + "G2", + "G7" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-a836659cba2bae29.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-256b9374ce35458e": { + "tasks": [ + "P01-04", + "P02-08", + "P07-01", + "P07-02", + "P07-03", + "P07-04", + "P07-05" + ], + "gates": [ + "G1", + "G2", + "G7" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-256b9374ce35458e.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-173ea680ef0651a4": { + "tasks": [ + "P00-04", + "P01-01", + "P01-02", + "P01-03", + "P02-08", + "P07-01", + "P07-02", + "P07-03", + "P07-04", + "P07-05" + ], + "gates": [ + "G0", + "G1", + "G2", + "G7" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-173ea680ef0651a4.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-a2e0063d98be8d87": { + "tasks": [ + "P00-04", + "P01-01", + "P01-02", + "P01-03", + "P02-08", + "P07-01", + "P07-02", + "P07-03", + "P07-04", + "P07-05" + ], + "gates": [ + "G0", + "G1", + "G2", + "G7" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-a2e0063d98be8d87.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-27c91396fc0bdb8a": { + "tasks": [ + "P00-04", + "P01-01", + "P01-02", + "P01-03", + "P02-08", + "P07-01", + "P07-02", + "P07-03", + "P07-04", + "P07-05" + ], + "gates": [ + "G0", + "G1", + "G2", + "G7" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-27c91396fc0bdb8a.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-957776860bca25b0": { + "tasks": [ + "P02-08", + "P07-01", + "P07-02", + "P07-03", + "P07-04", + "P07-05" + ], + "gates": [ + "G2", + "G7" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-957776860bca25b0.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-6e34c8d8fbbe3985": { + "tasks": [ + "P02-08", + "P07-01", + "P07-02", + "P07-03", + "P07-04", + "P07-05" + ], + "gates": [ + "G2", + "G7" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-6e34c8d8fbbe3985.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-be90e1983fe18133": { + "tasks": [ + "P02-08", + "P07-01", + "P07-02", + "P07-03", + "P07-04", + "P07-05" + ], + "gates": [ + "G2", + "G7" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-be90e1983fe18133.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-883887b3dfdfe620": { + "tasks": [ + "P02-08", + "P07-01", + "P07-02", + "P07-03", + "P07-04", + "P07-05" + ], + "gates": [ + "G2", + "G7" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-883887b3dfdfe620.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-5b3fb4c2e7faa4fd": { + "tasks": [ + "P02-08", + "P07-01", + "P07-02", + "P07-03", + "P07-04", + "P07-05" + ], + "gates": [ + "G2", + "G7" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-5b3fb4c2e7faa4fd.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-b7d154025070f63e": { + "tasks": [ + "P02-08", + "P07-01", + "P07-02", + "P07-03", + "P07-04", + "P07-05" + ], + "gates": [ + "G2", + "G7" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-b7d154025070f63e.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-3b69a8e5eba379fd": { + "tasks": [ + "P02-08", + "P07-01", + "P07-02", + "P07-03", + "P07-04", + "P07-05" + ], + "gates": [ + "G2", + "G7" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-3b69a8e5eba379fd.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-758f0230399db64d": { + "tasks": [ + "P02-08", + "P07-01", + "P07-02", + "P07-03", + "P07-04", + "P07-05" + ], + "gates": [ + "G2", + "G7" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-758f0230399db64d.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-5360935065a2e2ec": { + "tasks": [ + "P01-04", + "P02-08", + "P07-01", + "P07-02", + "P07-03", + "P07-04", + "P07-05" + ], + "gates": [ + "G1", + "G2", + "G7" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-5360935065a2e2ec.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-032b079dc83b0429": { + "tasks": [ + "P02-08", + "P07-01", + "P07-02", + "P07-03", + "P07-04", + "P07-05" + ], + "gates": [ + "G2", + "G7" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-032b079dc83b0429.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-d5586ec2f94adf38": { + "tasks": [ + "P02-08", + "P07-01", + "P07-02", + "P07-03", + "P07-04", + "P07-05" + ], + "gates": [ + "G2", + "G7" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-d5586ec2f94adf38.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-d0a73f45c47411ab": { + "tasks": [ + "P02-08", + "P07-01", + "P07-02", + "P07-03", + "P07-04", + "P07-05" + ], + "gates": [ + "G2", + "G7" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-d0a73f45c47411ab.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-3431bf7169601fdb": { + "tasks": [ + "P02-06", + "P05-01", + "P05-04" + ], + "gates": [ + "G2", + "G5" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-3431bf7169601fdb.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-a09f453482a461e1": { + "tasks": [ + "P02-06", + "P05-01", + "P05-04" + ], + "gates": [ + "G2", + "G5" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-a09f453482a461e1.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-565d1407a29fab5a": { + "tasks": [ + "P04-06", + "P05-01", + "P05-03" + ], + "gates": [ + "G4", + "G5" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-565d1407a29fab5a.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-5c68cb43cf0f80a0": { + "tasks": [ + "P03-02", + "P03-03", + "P03-04", + "P03-07" + ], + "gates": [ + "G3" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-5c68cb43cf0f80a0.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-6ea3c3d324eaee4c": { + "tasks": [ + "P03-02", + "P04-03" + ], + "gates": [ + "G3", + "G4" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-6ea3c3d324eaee4c.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-159eb00a9b62800b": { + "tasks": [ + "P03-02", + "P04-11" + ], + "gates": [ + "G3", + "G4" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-159eb00a9b62800b.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-de685fc47e12df5e": { + "tasks": [ + "P03-02", + "P04-07", + "P08-01", + "P08-04", + "P08-05" + ], + "gates": [ + "G3", + "G4", + "G8" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-de685fc47e12df5e.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-5dbec4a76395b5fc": { + "tasks": [ + "P03-04", + "P05-05", + "P06-05" + ], + "gates": [ + "G3", + "G5", + "G6" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-5dbec4a76395b5fc.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-28f189e6bd16ef71": { + "tasks": [ + "P04-01", + "P04-02", + "P06-01", + "P06-02", + "P06-03" + ], + "gates": [ + "G4", + "G6" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-28f189e6bd16ef71.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-21c31233450fa0fe": { + "tasks": [ + "P05-05", + "P03-02", + "P06-05", + "P06-06", + "P06-07", + "P06-08" + ], + "gates": [ + "G3", + "G5", + "G6" + ], + "disposition": "replace", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-21c31233450fa0fe.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-dfdc9b3cbd01507a": { + "tasks": [ + "P05-02", + "P03-02", + "P06-05", + "P06-06", + "P06-07", + "P06-08" + ], + "gates": [ + "G3", + "G5", + "G6" + ], + "disposition": "replace", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-dfdc9b3cbd01507a.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-5cacfd0b17816d38": { + "tasks": [ + "P05-04", + "P03-02", + "P06-05", + "P06-06", + "P06-07", + "P06-08" + ], + "gates": [ + "G3", + "G5", + "G6" + ], + "disposition": "replace", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-5cacfd0b17816d38.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-afe24ce5dc3d8ca5": { + "tasks": [ + "P05-03", + "P03-02", + "P06-05", + "P06-06", + "P06-07", + "P06-08" + ], + "gates": [ + "G3", + "G5", + "G6" + ], + "disposition": "replace", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-afe24ce5dc3d8ca5.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-d7ff5aa868c9ae70": { + "tasks": [ + "P06-02", + "P03-02", + "P06-05", + "P06-06", + "P06-07", + "P06-08" + ], + "gates": [ + "G3", + "G5", + "G6" + ], + "disposition": "replace", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-d7ff5aa868c9ae70.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-10a93c77eb891674": { + "tasks": [ + "P03-05", + "P05-05", + "P06-05" + ], + "gates": [ + "G3", + "G5", + "G6" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-10a93c77eb891674.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-e165470d3885491a": { + "tasks": [ + "P04-11" + ], + "gates": [ + "G3", + "G4" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-e165470d3885491a.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-d9c856c156710764": { + "tasks": [ + "P03-03", + "P04-10" + ], + "gates": [ + "G3" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-d9c856c156710764.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-8325215ed6470da3": { + "tasks": [ + "P04-07", + "P04-10" + ], + "gates": [ + "G3", + "G4" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-8325215ed6470da3.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-82db92644ae84174": { + "tasks": [ + "P03-04", + "P04-03", + "P08-03" + ], + "gates": [ + "G3", + "G4", + "G8" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-82db92644ae84174.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-adafe12b780cb075": { + "tasks": [ + "P04-08" + ], + "gates": [ + "G2", + "G4" + ], + "disposition": "replace", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-adafe12b780cb075.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-46768de238c10b26": { + "tasks": [ + "P04-06", + "P04-10", + "P05-03" + ], + "gates": [ + "G4", + "G5" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-46768de238c10b26.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-a710012d4957cff3": { + "tasks": [ + "P04-10", + "P05-04" + ], + "gates": [ + "G4", + "G5" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-a710012d4957cff3.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-d62e86f66bbfc4a7": { + "tasks": [ + "P04-01", + "P04-02", + "P06-01", + "P08-02" + ], + "gates": [ + "G3", + "G4", + "G8" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-d62e86f66bbfc4a7.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-1a753e47cd31526e": { + "tasks": [ + "P04-11", + "P04-13", + "P05-04" + ], + "gates": [ + "G4", + "G5" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-1a753e47cd31526e.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-8fa82108990208d6": { + "tasks": [ + "P04-09", + "P04-10", + "P05-02" + ], + "gates": [ + "G4", + "G5" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-8fa82108990208d6.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-3c9fbb8d992a2504": { + "tasks": [ + "P04-13", + "P05-04" + ], + "gates": [ + "G4", + "G5" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-3c9fbb8d992a2504.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-9f659d6ab05ae517": { + "tasks": [ + "P04-03", + "P04-06" + ], + "gates": [ + "G3", + "G4" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-9f659d6ab05ae517.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-319cedcb93036ea4": { + "tasks": [ + "P04-07", + "P04-11" + ], + "gates": [ + "G3", + "G4" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-319cedcb93036ea4.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-0028b51c44273f6e": { + "tasks": [ + "P04-09", + "P06-02" + ], + "gates": [ + "G3", + "G4" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-0028b51c44273f6e.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-5d1c26da2dda74b7": { + "tasks": [ + "P04-03", + "P04-09" + ], + "gates": [ + "G3", + "G4" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-5d1c26da2dda74b7.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-495b76e93b3577ce": { + "tasks": [ + "P04-10", + "P05-04" + ], + "gates": [ + "G4", + "G5" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-495b76e93b3577ce.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-8da2b10cdabff825": { + "tasks": [ + "P03-03", + "P04-10" + ], + "gates": [ + "G3" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-8da2b10cdabff825.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-3ca5aadbccd95430": { + "tasks": [ + "P02-07", + "P04-12", + "P06-02" + ], + "gates": [ + "G3", + "G4" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-3ca5aadbccd95430.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-7f630a1e3f93d84f": { + "tasks": [ + "P04-08", + "P06-02" + ], + "gates": [ + "G3", + "G4" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-7f630a1e3f93d84f.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-bab67146773d252f": { + "tasks": [ + "P02-08", + "P07-01", + "P07-02", + "P07-03", + "P07-04" + ], + "gates": [ + "G2", + "G7" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-bab67146773d252f.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-2284c44f7547afc8": { + "tasks": [ + "P04-07", + "P08-04" + ], + "gates": [ + "G3", + "G4", + "G8" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-2284c44f7547afc8.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-3b0ea2bce48cedc0": { + "tasks": [ + "P04-13", + "P05-04" + ], + "gates": [ + "G4", + "G5" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-3b0ea2bce48cedc0.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-1d5406b5270c83c8": { + "tasks": [ + "P04-11", + "P04-13", + "P06-02" + ], + "gates": [ + "G3", + "G4" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-1d5406b5270c83c8.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-10514450877a74c6": { + "tasks": [ + "P04-07", + "P04-13" + ], + "gates": [ + "G3", + "G4", + "G8" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-10514450877a74c6.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-37e2128a898867ec": { + "tasks": [ + "P04-12" + ], + "gates": [ + "G3", + "G4" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-37e2128a898867ec.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-ad39f1ba37895ec2": { + "tasks": [ + "P06-01", + "P06-02", + "P06-03" + ], + "gates": [ + "G4", + "G6" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-ad39f1ba37895ec2.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-05954cb31108b609": { + "tasks": [ + "P04-01", + "P04-09", + "P08-03" + ], + "gates": [ + "G3", + "G4", + "G8" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-05954cb31108b609.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-ed2463e7dc9ab7d3": { + "tasks": [ + "P03-07", + "P06-04", + "P06-05", + "P06-06", + "P06-08" + ], + "gates": [ + "G3", + "G6" + ], + "disposition": "retain", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-ed2463e7dc9ab7d3.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-3a78de72720cb482": { + "tasks": [ + "P03-07", + "P06-04", + "P06-05", + "P06-06", + "P06-08" + ], + "gates": [ + "G3", + "G6" + ], + "disposition": "replace", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-3a78de72720cb482.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-0f115e12b65bb761": { + "tasks": [ + "P03-07", + "P06-04", + "P06-05", + "P06-06", + "P06-08" + ], + "gates": [ + "G3", + "G6" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-0f115e12b65bb761.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-be01cae2a69ff3c8": { + "tasks": [ + "P05-05", + "P06-08", + "P07-05", + "P09-04" + ], + "gates": [ + "G5", + "G6", + "G7", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-be01cae2a69ff3c8.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-254d9d38890af92a": { + "tasks": [ + "P05-05", + "P06-08", + "P07-05", + "P09-04" + ], + "gates": [ + "G5", + "G6", + "G7", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-254d9d38890af92a.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-b60fff3c38c1ca76": { + "tasks": [ + "P05-05", + "P06-08", + "P07-05", + "P09-04" + ], + "gates": [ + "G5", + "G6", + "G7", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-b60fff3c38c1ca76.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-1099ec0833036140": { + "tasks": [ + "P02-01", + "P02-09", + "P04-01", + "P04-05", + "P09-03" + ], + "gates": [ + "G2", + "G4", + "G9" + ], + "disposition": "retain", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-1099ec0833036140.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-c4ebf2c9549ec81b": { + "tasks": [ + "P03-01", + "P03-05", + "P03-06", + "P04-07", + "P09-04" + ], + "gates": [ + "G3", + "G4", + "G9" + ], + "disposition": "retain", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-c4ebf2c9549ec81b.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-bc24ba6e5b566e2e": { + "tasks": [ + "P02-07", + "P04-01", + "P06-01" + ], + "gates": [ + "G2", + "G4", + "G6" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-bc24ba6e5b566e2e.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-8aeaca6e3aa45fbb": { + "tasks": [ + "P02-07", + "P04-01", + "P06-01" + ], + "gates": [ + "G2", + "G4", + "G6" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-8aeaca6e3aa45fbb.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-aad6beda6ef7111b": { + "tasks": [ + "P02-08", + "P07-01", + "P07-02", + "P07-03", + "P07-04", + "P07-05" + ], + "gates": [ + "G2", + "G7" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-aad6beda6ef7111b.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-2c7423ecd5b7cfb3": { + "tasks": [ + "P02-08", + "P07-01", + "P07-02", + "P07-03", + "P07-04", + "P07-05" + ], + "gates": [ + "G2", + "G7" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-2c7423ecd5b7cfb3.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-718e16bc1bd22606": { + "tasks": [ + "P02-08", + "P07-01", + "P07-02", + "P07-03", + "P07-04", + "P07-05" + ], + "gates": [ + "G2", + "G7" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-718e16bc1bd22606.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-36d6f9d50bdbdde5": { + "tasks": [ + "P02-08", + "P07-01", + "P07-02", + "P07-03", + "P07-04", + "P07-05" + ], + "gates": [ + "G2", + "G7" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-36d6f9d50bdbdde5.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-0795c1cf0fb254d6": { + "tasks": [ + "P02-08", + "P07-01", + "P07-02", + "P07-03", + "P07-04", + "P07-05" + ], + "gates": [ + "G2", + "G7" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-0795c1cf0fb254d6.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-e0172633acf9b737": { + "tasks": [ + "P04-05", + "P05-01", + "P05-02" + ], + "gates": [ + "G4", + "G5" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-e0172633acf9b737.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-127e79f3664fb2f8": { + "tasks": [ + "P03-02", + "P04-07", + "P08-01", + "P08-04", + "P08-05" + ], + "gates": [ + "G3", + "G4", + "G8" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-127e79f3664fb2f8.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-f6ecf92ffc73d293": { + "tasks": [ + "P03-02", + "P04-11" + ], + "gates": [ + "G3", + "G4" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-f6ecf92ffc73d293.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-7f42234b0878607e": { + "tasks": [ + "P03-02", + "P04-08" + ], + "gates": [ + "G3", + "G4" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-7f42234b0878607e.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-a8520f5ebebb99a6": { + "tasks": [ + "P03-02", + "P04-07", + "P08-01", + "P08-04", + "P08-05" + ], + "gates": [ + "G3", + "G4", + "G8" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-a8520f5ebebb99a6.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-14fc913b79be59b1": { + "tasks": [ + "P03-02", + "P04-01", + "P08-01", + "P08-02", + "P08-05" + ], + "gates": [ + "G3", + "G4", + "G8" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-14fc913b79be59b1.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-7058094fb55440e5": { + "tasks": [ + "P03-02", + "P04-01", + "P08-01", + "P08-02", + "P08-05" + ], + "gates": [ + "G3", + "G4", + "G8" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-7058094fb55440e5.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-773079f3fd7c7161": { + "tasks": [ + "P04-07", + "P04-13" + ], + "gates": [ + "G4" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-773079f3fd7c7161.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-aac7c5a444668673": { + "tasks": [ + "P03-02", + "P04-11" + ], + "gates": [ + "G3", + "G4" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-aac7c5a444668673.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-6882b9e2febf7e69": { + "tasks": [ + "P03-02", + "P04-09", + "P08-01", + "P08-03", + "P08-05" + ], + "gates": [ + "G3", + "G4", + "G8" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-6882b9e2febf7e69.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-d818782ce582c5dd": { + "tasks": [ + "P03-02", + "P04-07" + ], + "gates": [ + "G3", + "G4" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-d818782ce582c5dd.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-b88673dddab4e477": { + "tasks": [ + "P03-02", + "P04-12" + ], + "gates": [ + "G3", + "G4" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-b88673dddab4e477.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-ffde87533d2c6d5c": { + "tasks": [ + "P00-01", + "P00-03", + "P03-05", + "P03-06", + "P07-01", + "P09-04" + ], + "gates": [ + "G0", + "G3", + "G7", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-ffde87533d2c6d5c.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-5eaec7d1ce392f48": { + "tasks": [ + "P03-03", + "P03-04", + "P03-06" + ], + "gates": [ + "G3" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-5eaec7d1ce392f48.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-9204a3ecd16c559e": { + "tasks": [ + "P03-03", + "P03-04", + "P03-06" + ], + "gates": [ + "G3" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-9204a3ecd16c559e.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-74d80b701f095802": { + "tasks": [ + "P03-03", + "P03-04", + "P03-06" + ], + "gates": [ + "G3" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-74d80b701f095802.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-9e0083b6bc509a08": { + "tasks": [ + "P02-04", + "P04-03", + "P04-04", + "P05-01", + "P06-01" + ], + "gates": [ + "G2", + "G4", + "G5", + "G6" + ], + "disposition": "replace", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-9e0083b6bc509a08.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-7c6a610f78c23573": { + "tasks": [ + "P02-02", + "P02-03", + "P02-05", + "P02-07", + "P04-02", + "P04-05", + "P06-01", + "P07-01" + ], + "gates": [ + "G2", + "G4", + "G6", + "G7" + ], + "disposition": "replace", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-7c6a610f78c23573.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-39b5928c928017c8": { + "tasks": [ + "P02-02", + "P02-03", + "P02-05", + "P02-07", + "P04-02", + "P04-05", + "P06-01", + "P07-01" + ], + "gates": [ + "G2", + "G4", + "G6", + "G7" + ], + "disposition": "replace", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-39b5928c928017c8.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-d8730a918e25946e": { + "tasks": [ + "P02-02", + "P02-03", + "P02-05", + "P02-07", + "P04-02", + "P04-05", + "P06-01", + "P07-01" + ], + "gates": [ + "G2", + "G4", + "G6", + "G7" + ], + "disposition": "replace", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-d8730a918e25946e.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-e09714387d2b8bd8": { + "tasks": [ + "P02-04", + "P04-03", + "P04-04", + "P05-01", + "P06-01" + ], + "gates": [ + "G2", + "G4", + "G5", + "G6" + ], + "disposition": "replace", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-e09714387d2b8bd8.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-71d172f439a80d3c": { + "tasks": [ + "P02-05", + "P04-02", + "P04-05" + ], + "gates": [ + "G2", + "G4" + ], + "disposition": "replace", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-71d172f439a80d3c.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-844c1e34b65a763f": { + "tasks": [ + "P04-01", + "P04-02", + "P06-01", + "P06-02", + "P06-03" + ], + "gates": [ + "G4", + "G6" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-844c1e34b65a763f.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-efcdc5733981d9ea": { + "tasks": [ + "P04-01", + "P04-02", + "P06-01", + "P06-02", + "P06-03" + ], + "gates": [ + "G4", + "G6" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-efcdc5733981d9ea.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-f1926abcdb56e6c5": { + "tasks": [ + "P04-01", + "P04-02", + "P06-01", + "P06-02", + "P06-03" + ], + "gates": [ + "G4", + "G6" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-f1926abcdb56e6c5.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-966f30a6d3b0d99a": { + "tasks": [ + "P04-01", + "P04-02", + "P06-01", + "P06-02", + "P06-03" + ], + "gates": [ + "G4", + "G6" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-966f30a6d3b0d99a.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-3fd97637f22d6330": { + "tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "gates": [ + "G0", + "G3", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-3fd97637f22d6330.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-c21b39ba175ec933": { + "tasks": [ + "P00-04", + "P01-01", + "P01-02", + "P07-01", + "P07-05" + ], + "gates": [ + "G0", + "G1", + "G7" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-c21b39ba175ec933.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-df3c9c7665f365bc": { + "tasks": [ + "P00-04", + "P01-01", + "P01-02", + "P07-01", + "P07-05" + ], + "gates": [ + "G0", + "G1", + "G7" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-df3c9c7665f365bc.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-e522fe481f8b1b10": { + "tasks": [ + "P00-04", + "P01-01", + "P01-02", + "P07-01", + "P07-05" + ], + "gates": [ + "G0", + "G1", + "G7" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-e522fe481f8b1b10.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-a62767efdd912181": { + "tasks": [ + "P00-04", + "P01-01", + "P01-02", + "P07-01", + "P07-05" + ], + "gates": [ + "G0", + "G1", + "G7" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-a62767efdd912181.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-1f12568fcd3c3c90": { + "tasks": [ + "P00-04", + "P01-01", + "P01-02", + "P07-01", + "P07-05" + ], + "gates": [ + "G0", + "G1", + "G7" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-1f12568fcd3c3c90.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-2ac26a31ae812295": { + "tasks": [ + "P00-04", + "P01-01", + "P01-02", + "P07-01", + "P07-05" + ], + "gates": [ + "G0", + "G1", + "G7" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-2ac26a31ae812295.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-676175075072bc8e": { + "tasks": [ + "P00-04", + "P01-01", + "P01-02", + "P07-01", + "P07-05" + ], + "gates": [ + "G0", + "G1", + "G7" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-676175075072bc8e.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-0365977731097a3d": { + "tasks": [ + "P00-04", + "P01-01", + "P01-02", + "P07-01", + "P07-05" + ], + "gates": [ + "G0", + "G1", + "G7" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-0365977731097a3d.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-ab4b6afc02bb4c08": { + "tasks": [ + "P00-04", + "P01-01", + "P01-02", + "P07-01", + "P07-05" + ], + "gates": [ + "G0", + "G1", + "G7" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-ab4b6afc02bb4c08.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-aef91e23a529a42c": { + "tasks": [ + "P00-02", + "P03-06", + "P09-03", + "P09-04" + ], + "gates": [ + "G0", + "G3", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-aef91e23a529a42c.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-1545d82a68679f8f": { + "tasks": [ + "P05-05", + "P09-01", + "P09-04" + ], + "gates": [ + "G5", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-1545d82a68679f8f.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-4506b688c7de3899": { + "tasks": [ + "P00-04", + "P01-01", + "P01-02", + "P07-01", + "P07-05" + ], + "gates": [ + "G0", + "G1", + "G7" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-4506b688c7de3899.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-4c295e2a4966aeed": { + "tasks": [ + "P00-04", + "P01-01", + "P01-02", + "P07-01", + "P07-05" + ], + "gates": [ + "G0", + "G1", + "G7" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-4c295e2a4966aeed.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-7e2d0a7de14630d1": { + "tasks": [ + "P00-04", + "P01-01", + "P01-02", + "P07-01", + "P07-05" + ], + "gates": [ + "G0", + "G1", + "G7" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-7e2d0a7de14630d1.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-21bf7df06b84a569": { + "tasks": [ + "P00-04", + "P01-01", + "P01-02", + "P07-01", + "P07-05" + ], + "gates": [ + "G0", + "G1", + "G7" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-21bf7df06b84a569.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-9a1366cd09422499": { + "tasks": [ + "P00-04", + "P01-01", + "P01-02", + "P07-01", + "P07-05" + ], + "gates": [ + "G0", + "G1", + "G7" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-9a1366cd09422499.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-aee4e32dd86ca61e": { + "tasks": [ + "P00-04", + "P01-01", + "P01-02", + "P07-01", + "P07-05" + ], + "gates": [ + "G0", + "G1", + "G7" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-aee4e32dd86ca61e.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-037a6103c9d8e141": { + "tasks": [ + "P00-04", + "P01-01", + "P01-02", + "P07-01", + "P07-05" + ], + "gates": [ + "G0", + "G1", + "G7" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-037a6103c9d8e141.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-34303dab8522f6a4": { + "tasks": [ + "P00-04", + "P01-01", + "P01-02", + "P07-01", + "P07-05" + ], + "gates": [ + "G0", + "G1", + "G7" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-34303dab8522f6a4.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-411e3957a2ac2a5c": { + "tasks": [ + "P05-05", + "P09-01", + "P09-04" + ], + "gates": [ + "G5", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-411e3957a2ac2a5c.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-274279a19efe24a5": { + "tasks": [ + "P00-04", + "P01-01", + "P01-02", + "P07-01", + "P07-05" + ], + "gates": [ + "G0", + "G1", + "G7" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-274279a19efe24a5.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-8ede9f63edc41bb0": { + "tasks": [ + "P00-04", + "P01-01", + "P01-02", + "P07-01", + "P07-05" + ], + "gates": [ + "G0", + "G1", + "G7" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-8ede9f63edc41bb0.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-601c17aaf78ba011": { + "tasks": [ + "P00-04", + "P01-01", + "P01-02", + "P07-01", + "P07-05" + ], + "gates": [ + "G0", + "G1", + "G7" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-601c17aaf78ba011.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-69ace6871eb4e4b5": { + "tasks": [ + "P00-04", + "P01-01", + "P01-02", + "P07-01", + "P07-05" + ], + "gates": [ + "G0", + "G1", + "G7" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-69ace6871eb4e4b5.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-16b114c4f71c32cf": { + "tasks": [ + "P00-04", + "P01-01", + "P01-02", + "P07-01", + "P07-05" + ], + "gates": [ + "G0", + "G1", + "G7" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-16b114c4f71c32cf.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-0938d829987e012a": { + "tasks": [ + "P05-05", + "P09-01", + "P09-04" + ], + "gates": [ + "G5", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-0938d829987e012a.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-13ab3bac96b3505e": { + "tasks": [ + "P05-05", + "P09-01", + "P09-04" + ], + "gates": [ + "G5", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-13ab3bac96b3505e.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-d6dd912a0096f071": { + "tasks": [ + "P05-05", + "P09-01", + "P09-04" + ], + "gates": [ + "G5", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-d6dd912a0096f071.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-482bdcdcf8ba5490": { + "tasks": [ + "P05-05", + "P09-01", + "P09-04" + ], + "gates": [ + "G5", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-482bdcdcf8ba5490.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-866e3e98e4d69516": { + "tasks": [ + "P05-05", + "P09-01", + "P09-04" + ], + "gates": [ + "G5", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-866e3e98e4d69516.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-c443bc6cf8127da3": { + "tasks": [ + "P05-05", + "P09-01", + "P09-04" + ], + "gates": [ + "G5", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-c443bc6cf8127da3.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-322eeeb695a998e9": { + "tasks": [ + "P05-05", + "P09-01", + "P09-04" + ], + "gates": [ + "G5", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-322eeeb695a998e9.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-7f53fc2e77e462db": { + "tasks": [ + "P00-04", + "P01-01", + "P01-02", + "P07-01", + "P07-05" + ], + "gates": [ + "G0", + "G1", + "G7" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-7f53fc2e77e462db.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-927032e054544e22": { + "tasks": [ + "P05-05", + "P09-01", + "P09-04" + ], + "gates": [ + "G5", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-927032e054544e22.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-e6386ee5190bb5a5": { + "tasks": [ + "P05-05", + "P09-01", + "P09-04" + ], + "gates": [ + "G5", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-e6386ee5190bb5a5.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-3fe4f501df41c6f9": { + "tasks": [ + "P05-05", + "P09-01", + "P09-04" + ], + "gates": [ + "G5", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-3fe4f501df41c6f9.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-03c5010f991cc545": { + "tasks": [ + "P05-05", + "P09-01", + "P09-04" + ], + "gates": [ + "G5", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-03c5010f991cc545.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-20aac14e51841adf": { + "tasks": [ + "P05-05", + "P09-01", + "P09-04" + ], + "gates": [ + "G5", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-20aac14e51841adf.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-ab4fa2be7e60cd23": { + "tasks": [ + "P05-05", + "P09-01", + "P09-04" + ], + "gates": [ + "G5", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-ab4fa2be7e60cd23.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-48affd446b830065": { + "tasks": [ + "P05-05", + "P09-01", + "P09-04" + ], + "gates": [ + "G5", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-48affd446b830065.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-42dc52e290b9b1bb": { + "tasks": [ + "P05-05", + "P09-01", + "P09-04" + ], + "gates": [ + "G5", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-42dc52e290b9b1bb.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-d6ecf2b642365b19": { + "tasks": [ + "P05-05", + "P09-01", + "P09-04" + ], + "gates": [ + "G5", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-d6ecf2b642365b19.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-73d22757b0b4f2e4": { + "tasks": [ + "P05-05", + "P09-01", + "P09-04" + ], + "gates": [ + "G5", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-73d22757b0b4f2e4.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-a916e8292c03f9ce": { + "tasks": [ + "P00-04", + "P01-01", + "P01-02", + "P07-01", + "P07-05" + ], + "gates": [ + "G0", + "G1", + "G7" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-a916e8292c03f9ce.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-106777c0879f5df2": { + "tasks": [ + "P05-05", + "P09-01", + "P09-04" + ], + "gates": [ + "G5", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-106777c0879f5df2.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-1b1d959678330bb1": { + "tasks": [ + "P05-05", + "P09-01", + "P09-04" + ], + "gates": [ + "G5", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-1b1d959678330bb1.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-e4f38ab7eccb3747": { + "tasks": [ + "P05-05", + "P09-01", + "P09-04" + ], + "gates": [ + "G5", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-e4f38ab7eccb3747.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-532dd1f544aec5f7": { + "tasks": [ + "P00-04", + "P01-01", + "P01-02", + "P07-01", + "P07-05" + ], + "gates": [ + "G0", + "G1", + "G7" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-532dd1f544aec5f7.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-923fdeeb584e04c5": { + "tasks": [ + "P00-04", + "P01-01", + "P01-02", + "P07-01", + "P07-05" + ], + "gates": [ + "G0", + "G1", + "G7" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-923fdeeb584e04c5.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-2381c5278e777ba2": { + "tasks": [ + "P05-05", + "P09-01", + "P09-04" + ], + "gates": [ + "G5", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-2381c5278e777ba2.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-9c5223914eabeb49": { + "tasks": [ + "P05-05", + "P09-01", + "P09-04" + ], + "gates": [ + "G5", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-9c5223914eabeb49.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-2a6f795395a7504b": { + "tasks": [ + "P05-05", + "P09-01", + "P09-04" + ], + "gates": [ + "G5", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-2a6f795395a7504b.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-0e00c468b73c2c8d": { + "tasks": [ + "P05-05", + "P09-01", + "P09-04" + ], + "gates": [ + "G5", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-0e00c468b73c2c8d.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-33ef1e6becf2ae17": { + "tasks": [ + "P05-05", + "P09-01", + "P09-04" + ], + "gates": [ + "G5", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-33ef1e6becf2ae17.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-226c4f7fd73682e2": { + "tasks": [ + "P05-05", + "P09-01", + "P09-04" + ], + "gates": [ + "G5", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-226c4f7fd73682e2.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-ae5a577f9d8e4a1d": { + "tasks": [ + "P05-05", + "P09-01", + "P09-04" + ], + "gates": [ + "G5", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-ae5a577f9d8e4a1d.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-67b05068ca903114": { + "tasks": [ + "P05-05", + "P09-01", + "P09-04" + ], + "gates": [ + "G5", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-67b05068ca903114.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-93a8e8cf78490301": { + "tasks": [ + "P00-04", + "P01-01", + "P01-02", + "P07-01", + "P07-05" + ], + "gates": [ + "G0", + "G1", + "G7" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-93a8e8cf78490301.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-6409421438dd6b7f": { + "tasks": [ + "P05-05", + "P09-01", + "P09-04" + ], + "gates": [ + "G5", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-6409421438dd6b7f.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-ea68872eabc8ba03": { + "tasks": [ + "P00-04", + "P01-01", + "P01-02", + "P07-01", + "P07-05" + ], + "gates": [ + "G0", + "G1", + "G7" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-ea68872eabc8ba03.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-97ef29ec41e0fdb0": { + "tasks": [ + "P00-04", + "P01-01", + "P01-02", + "P07-01", + "P07-05" + ], + "gates": [ + "G0", + "G1", + "G7" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-97ef29ec41e0fdb0.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-de55bb93e1e5f309": { + "tasks": [ + "P00-04", + "P01-01", + "P01-02", + "P07-01", + "P07-05" + ], + "gates": [ + "G0", + "G1", + "G7" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-de55bb93e1e5f309.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-a63b22ed6fed8f47": { + "tasks": [ + "P00-04", + "P01-01", + "P01-02", + "P07-01", + "P07-05" + ], + "gates": [ + "G0", + "G1", + "G7" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-a63b22ed6fed8f47.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-06fb328019336b29": { + "tasks": [ + "P00-04", + "P01-01", + "P01-02", + "P07-01", + "P07-05" + ], + "gates": [ + "G0", + "G1", + "G7" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-06fb328019336b29.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-fe052cc26c54d840": { + "tasks": [ + "P00-04", + "P01-01", + "P01-02", + "P07-01", + "P07-05" + ], + "gates": [ + "G0", + "G1", + "G7" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-fe052cc26c54d840.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-e994c10181a0048e": { + "tasks": [ + "P05-05", + "P09-01", + "P09-04" + ], + "gates": [ + "G5", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-e994c10181a0048e.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-98f7fa9e6acfe674": { + "tasks": [ + "P05-05", + "P09-01", + "P09-04" + ], + "gates": [ + "G5", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-98f7fa9e6acfe674.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-9db9efed751ed8d9": { + "tasks": [ + "P05-05", + "P09-01", + "P09-04" + ], + "gates": [ + "G5", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-9db9efed751ed8d9.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-21df8dc419578bbc": { + "tasks": [ + "P05-05", + "P09-01", + "P09-04" + ], + "gates": [ + "G5", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-21df8dc419578bbc.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-5e935a22a77d489e": { + "tasks": [ + "P05-05", + "P09-01", + "P09-04" + ], + "gates": [ + "G5", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-5e935a22a77d489e.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-f79ec38813753afa": { + "tasks": [ + "P05-05", + "P09-01", + "P09-04" + ], + "gates": [ + "G5", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-f79ec38813753afa.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-857fb23146aed13c": { + "tasks": [ + "P05-05", + "P09-01", + "P09-04" + ], + "gates": [ + "G5", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-857fb23146aed13c.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-84a688f131b85833": { + "tasks": [ + "P00-04", + "P01-01", + "P01-02", + "P07-01", + "P07-05" + ], + "gates": [ + "G0", + "G1", + "G7" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-84a688f131b85833.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-bfc8896670411219": { + "tasks": [ + "P00-04", + "P01-01", + "P01-02", + "P07-01", + "P07-05" + ], + "gates": [ + "G0", + "G1", + "G7" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-bfc8896670411219.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-5f7d3d3ecf3328f1": { + "tasks": [ + "P00-04", + "P01-01", + "P01-02", + "P07-01", + "P07-05" + ], + "gates": [ + "G0", + "G1", + "G7" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-5f7d3d3ecf3328f1.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-dda09d034ca380b4": { + "tasks": [ + "P00-04", + "P01-01", + "P01-02", + "P07-01", + "P07-05" + ], + "gates": [ + "G0", + "G1", + "G7" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-dda09d034ca380b4.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-9d294781b1c47384": { + "tasks": [ + "P00-04", + "P01-01", + "P01-02", + "P07-01", + "P07-05" + ], + "gates": [ + "G0", + "G1", + "G7" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-9d294781b1c47384.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-84b836f3b8e313c4": { + "tasks": [ + "P00-04", + "P01-01", + "P01-02", + "P07-01", + "P07-05" + ], + "gates": [ + "G0", + "G1", + "G7" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-84b836f3b8e313c4.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-aaa0c5171f15bb37": { + "tasks": [ + "P00-04", + "P01-01", + "P01-02", + "P07-01", + "P07-05" + ], + "gates": [ + "G0", + "G1", + "G7" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-aaa0c5171f15bb37.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-cfb8ebbb6139042f": { + "tasks": [ + "P00-04", + "P01-01", + "P01-02", + "P07-01", + "P07-05" + ], + "gates": [ + "G0", + "G1", + "G7" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-cfb8ebbb6139042f.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-f53773639fed1b44": { + "tasks": [ + "P00-04", + "P01-01", + "P01-02", + "P07-01", + "P07-05" + ], + "gates": [ + "G0", + "G1", + "G7" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-f53773639fed1b44.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-c38d173e7d94a30c": { + "tasks": [ + "P00-04", + "P01-01", + "P01-02", + "P07-01", + "P07-05" + ], + "gates": [ + "G0", + "G1", + "G7" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-c38d173e7d94a30c.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-b63242cdca55c44a": { + "tasks": [ + "P00-04", + "P01-01", + "P01-02", + "P07-01", + "P07-05" + ], + "gates": [ + "G0", + "G1", + "G7" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-b63242cdca55c44a.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-685e6833fbc35d6c": { + "tasks": [ + "P00-04", + "P01-01", + "P01-02", + "P07-01", + "P07-05" + ], + "gates": [ + "G0", + "G1", + "G7" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-685e6833fbc35d6c.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-5487ec38a33e7d2f": { + "tasks": [ + "P05-05", + "P09-01", + "P09-04" + ], + "gates": [ + "G5", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-5487ec38a33e7d2f.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-70083637365da619": { + "tasks": [ + "P05-05", + "P09-01", + "P09-04" + ], + "gates": [ + "G5", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-70083637365da619.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-ef99f0d79906429b": { + "tasks": [ + "P05-05", + "P09-01", + "P09-04" + ], + "gates": [ + "G5", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-ef99f0d79906429b.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-2c7e7d553470797c": { + "tasks": [ + "P05-05", + "P09-01", + "P09-04" + ], + "gates": [ + "G5", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-2c7e7d553470797c.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-9cd56efcdb05e166": { + "tasks": [ + "P05-05", + "P09-01", + "P09-04" + ], + "gates": [ + "G5", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-9cd56efcdb05e166.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-9e73563a753e9a5e": { + "tasks": [ + "P05-05", + "P09-01", + "P09-04" + ], + "gates": [ + "G5", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-9e73563a753e9a5e.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-a2d42e5c973a854f": { + "tasks": [ + "P00-04", + "P01-01", + "P01-02", + "P07-01", + "P07-05" + ], + "gates": [ + "G0", + "G1", + "G7" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-a2d42e5c973a854f.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-a48e6461253013d3": { + "tasks": [ + "P00-04", + "P01-01", + "P01-02", + "P07-01", + "P07-05" + ], + "gates": [ + "G0", + "G1", + "G7" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-a48e6461253013d3.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-f900147eb6d0d205": { + "tasks": [ + "P00-04", + "P01-01", + "P01-02", + "P07-01", + "P07-05" + ], + "gates": [ + "G0", + "G1", + "G7" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-f900147eb6d0d205.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-d8727c3da104d882": { + "tasks": [ + "P00-04", + "P01-01", + "P01-02", + "P07-01", + "P07-05" + ], + "gates": [ + "G0", + "G1", + "G7" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-d8727c3da104d882.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-09fdd2fe1e6061d4": { + "tasks": [ + "P00-02", + "P03-06", + "P09-03", + "P09-04" + ], + "gates": [ + "G0", + "G3", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-09fdd2fe1e6061d4.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-b63c99741b391fa6": { + "tasks": [ + "P03-01", + "P03-05", + "P03-06", + "P04-07", + "P09-04" + ], + "gates": [ + "G3", + "G4", + "G9" + ], + "disposition": "retain", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-b63c99741b391fa6.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-3888862d5670589f": { + "tasks": [ + "P03-01", + "P03-05", + "P03-06", + "P04-07", + "P09-04" + ], + "gates": [ + "G3", + "G4", + "G9" + ], + "disposition": "retain", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-3888862d5670589f.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-e755bd13d9c4a442": { + "tasks": [ + "P03-01", + "P03-05", + "P03-06", + "P04-07", + "P09-04" + ], + "gates": [ + "G3", + "G4", + "G9" + ], + "disposition": "retain", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-e755bd13d9c4a442.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-71a05a55d5491409": { + "tasks": [ + "P03-01", + "P03-05", + "P03-06", + "P04-07", + "P09-04" + ], + "gates": [ + "G3", + "G4", + "G9" + ], + "disposition": "retain", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-71a05a55d5491409.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-bec743f78135c736": { + "tasks": [ + "P03-01", + "P03-05", + "P03-06", + "P04-07", + "P09-04" + ], + "gates": [ + "G3", + "G4", + "G9" + ], + "disposition": "retain", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-bec743f78135c736.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-d587d66b58526f43": { + "tasks": [ + "P03-01", + "P03-05", + "P03-06", + "P04-07", + "P09-04" + ], + "gates": [ + "G3", + "G4", + "G9" + ], + "disposition": "retain", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-d587d66b58526f43.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-790eb532ed603b4a": { + "tasks": [ + "P03-01", + "P03-05", + "P03-06", + "P04-07", + "P09-04" + ], + "gates": [ + "G3", + "G4", + "G9" + ], + "disposition": "retain", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-790eb532ed603b4a.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-c967c225572391c9": { + "tasks": [ + "P03-01", + "P03-05", + "P03-06", + "P04-07", + "P09-04" + ], + "gates": [ + "G3", + "G4", + "G9" + ], + "disposition": "retain", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-c967c225572391c9.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-e0e06212cf5c0b5b": { + "tasks": [ + "P03-01", + "P03-05", + "P03-06", + "P04-07", + "P09-04" + ], + "gates": [ + "G3", + "G4", + "G9" + ], + "disposition": "retain", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-e0e06212cf5c0b5b.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-9fea75c6e2e5a994": { + "tasks": [ + "P03-01", + "P03-05", + "P03-06", + "P04-07", + "P09-04" + ], + "gates": [ + "G3", + "G4", + "G9" + ], + "disposition": "retain", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-9fea75c6e2e5a994.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-3ab50cee89ba4fd5": { + "tasks": [ + "P03-01", + "P03-05", + "P03-06", + "P04-07", + "P09-04" + ], + "gates": [ + "G3", + "G4", + "G9" + ], + "disposition": "retain", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-3ab50cee89ba4fd5.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-1947ebbe94feae55": { + "tasks": [ + "P03-01", + "P03-05", + "P03-06", + "P04-07", + "P09-04" + ], + "gates": [ + "G3", + "G4", + "G9" + ], + "disposition": "retain", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-1947ebbe94feae55.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-8001b82ca83e9ebb": { + "tasks": [ + "P03-01", + "P03-05", + "P03-06", + "P04-07", + "P09-04" + ], + "gates": [ + "G3", + "G4", + "G9" + ], + "disposition": "retain", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-8001b82ca83e9ebb.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-59f4c6ae4520e730": { + "tasks": [ + "P03-01", + "P03-05", + "P03-06", + "P04-07", + "P09-04" + ], + "gates": [ + "G3", + "G4", + "G9" + ], + "disposition": "retain", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-59f4c6ae4520e730.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-0ce731ae30aa26d1": { + "tasks": [ + "P03-01", + "P03-05", + "P03-06", + "P04-07", + "P09-04" + ], + "gates": [ + "G3", + "G4", + "G9" + ], + "disposition": "retain", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-0ce731ae30aa26d1.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-8ff135567013105a": { + "tasks": [ + "P03-01", + "P03-05", + "P03-06", + "P04-07", + "P09-04" + ], + "gates": [ + "G3", + "G4", + "G9" + ], + "disposition": "retain", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-8ff135567013105a.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-3772d9ddfb637a59": { + "tasks": [ + "P03-01", + "P03-05", + "P03-06", + "P04-07", + "P09-04" + ], + "gates": [ + "G3", + "G4", + "G9" + ], + "disposition": "retain", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-3772d9ddfb637a59.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-d074d2f27bcdd4b7": { + "tasks": [ + "P03-01", + "P03-05", + "P03-06", + "P04-07", + "P09-04" + ], + "gates": [ + "G3", + "G4", + "G9" + ], + "disposition": "retain", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-d074d2f27bcdd4b7.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-4a0f6f10869296c3": { + "tasks": [ + "P03-01", + "P03-05", + "P03-06", + "P04-07", + "P09-04" + ], + "gates": [ + "G3", + "G4", + "G9" + ], + "disposition": "retain", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-4a0f6f10869296c3.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-2f7926ec845746ce": { + "tasks": [ + "P03-01", + "P03-05", + "P03-06", + "P04-07", + "P09-04" + ], + "gates": [ + "G3", + "G4", + "G9" + ], + "disposition": "retain", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-2f7926ec845746ce.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-8d34172f85a01638": { + "tasks": [ + "P03-01", + "P03-05", + "P03-06", + "P04-07", + "P09-04" + ], + "gates": [ + "G3", + "G4", + "G9" + ], + "disposition": "retain", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-8d34172f85a01638.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-8e5c3557b65e10ad": { + "tasks": [ + "P03-02", + "P03-03", + "P03-04", + "P03-07", + "P06-07" + ], + "gates": [ + "G3", + "G6" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-8e5c3557b65e10ad.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-3a91e5a492db3520": { + "tasks": [ + "P00-03", + "P06-04", + "P06-05", + "P06-06", + "P06-08", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G6", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-3a91e5a492db3520.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-b806b563615b069b": { + "tasks": [ + "P00-03", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-b806b563615b069b.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-fcafc4a7718c3edb": { + "tasks": [ + "P00-03", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-fcafc4a7718c3edb.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-8180e6a42c8cc31e": { + "tasks": [ + "P00-03", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-8180e6a42c8cc31e.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-b1447a4fec5c0b30": { + "tasks": [ + "P00-03", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-b1447a4fec5c0b30.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-5092c30773a52c7f": { + "tasks": [ + "P00-03", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-5092c30773a52c7f.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-988e460287fd9346": { + "tasks": [ + "P00-03", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-988e460287fd9346.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-6f8d4f5d4e5cb364": { + "tasks": [ + "P00-03", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-6f8d4f5d4e5cb364.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-c649a12407ab45c9": { + "tasks": [ + "P00-03", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-c649a12407ab45c9.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-e50cccf095e95962": { + "tasks": [ + "P00-03", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-e50cccf095e95962.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-a09065616cd4ffe7": { + "tasks": [ + "P00-03", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-a09065616cd4ffe7.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-c9e542353aa3dfe7": { + "tasks": [ + "P00-03", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-c9e542353aa3dfe7.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-d7e5d70def0ab980": { + "tasks": [ + "P00-03", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-d7e5d70def0ab980.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-f3704acc92eb4df8": { + "tasks": [ + "P00-03", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-f3704acc92eb4df8.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-3af1b70058a60bb2": { + "tasks": [ + "P00-03", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-3af1b70058a60bb2.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-7c9018435c0cda2c": { + "tasks": [ + "P00-03", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-7c9018435c0cda2c.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-a174f9fa1758f45c": { + "tasks": [ + "P00-03", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-a174f9fa1758f45c.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-7ab03f31d5b1ed86": { + "tasks": [ + "P00-03", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-7ab03f31d5b1ed86.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-494eef5ee9e21e7d": { + "tasks": [ + "P00-03", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-494eef5ee9e21e7d.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-a4f83b68a7a648b3": { + "tasks": [ + "P00-03", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-a4f83b68a7a648b3.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-c9579d64266782a1": { + "tasks": [ + "P00-03", + "P06-01", + "P06-02", + "P06-03", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G6", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-c9579d64266782a1.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-dbb0aa115a1d4a9c": { + "tasks": [ + "P00-03", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-dbb0aa115a1d4a9c.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-14d178f38457e0fb": { + "tasks": [ + "P00-03", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-14d178f38457e0fb.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-8ac3157f4f457483": { + "tasks": [ + "P00-03", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-8ac3157f4f457483.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-5f30ea99440df61c": { + "tasks": [ + "P00-03", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-5f30ea99440df61c.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-8680740070b5338b": { + "tasks": [ + "P00-03", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-8680740070b5338b.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-029e5b8b0f40fcb9": { + "tasks": [ + "P00-03", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-029e5b8b0f40fcb9.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-7d06c5aa1467192b": { + "tasks": [ + "P00-03", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-7d06c5aa1467192b.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-72ce1cb2cad2c1b6": { + "tasks": [ + "P00-03", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-72ce1cb2cad2c1b6.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-0ced7d59e4531b29": { + "tasks": [ + "P00-03", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-0ced7d59e4531b29.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-e11dbb007279157c": { + "tasks": [ + "P00-03", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-e11dbb007279157c.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-37061a3f3e85e9e9": { + "tasks": [ + "P00-03", + "P03-03", + "P03-04", + "P03-06", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G3", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-37061a3f3e85e9e9.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-ae2d3995d135a011": { + "tasks": [ + "P00-03", + "P06-04", + "P06-05", + "P06-06", + "P06-08", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G6", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-ae2d3995d135a011.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-76803f4bc08b09bc": { + "tasks": [ + "P00-03", + "P06-04", + "P06-05", + "P06-06", + "P06-08", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G6", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-76803f4bc08b09bc.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-9521ef6731a5b9af": { + "tasks": [ + "P00-03", + "P06-04", + "P06-05", + "P06-06", + "P06-08", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G6", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-9521ef6731a5b9af.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-6a14c98e1f097127": { + "tasks": [ + "P00-03", + "P05-01", + "P05-02", + "P05-03", + "P05-04", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G5", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-6a14c98e1f097127.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-bd7280435384f514": { + "tasks": [ + "P00-03", + "P05-01", + "P05-02", + "P05-03", + "P05-04", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G5", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-bd7280435384f514.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-2cca08f36106a7c3": { + "tasks": [ + "P00-03", + "P05-01", + "P05-02", + "P05-03", + "P05-04", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G5", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-2cca08f36106a7c3.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-9375ac408e069055": { + "tasks": [ + "P00-03", + "P05-01", + "P05-02", + "P05-03", + "P05-04", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G5", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-9375ac408e069055.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-e80cf2912dbb511c": { + "tasks": [ + "P00-03", + "P05-01", + "P05-02", + "P05-03", + "P05-04", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G5", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-e80cf2912dbb511c.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-91b8bb746585f554": { + "tasks": [ + "P00-03", + "P05-01", + "P05-02", + "P05-03", + "P05-04", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G5", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-91b8bb746585f554.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-3f3425cee9fae9dd": { + "tasks": [ + "P00-03", + "P05-01", + "P05-02", + "P05-03", + "P05-04", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G5", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-3f3425cee9fae9dd.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-6ab6765e69066eea": { + "tasks": [ + "P00-03", + "P03-03", + "P03-04", + "P03-06", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G3", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-6ab6765e69066eea.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-b8de3750831132bf": { + "tasks": [ + "P00-03", + "P03-03", + "P03-04", + "P03-06", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G3", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-b8de3750831132bf.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-5cd5c6f2e8aef072": { + "tasks": [ + "P00-03", + "P03-03", + "P03-04", + "P03-06", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G3", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-5cd5c6f2e8aef072.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-b6f0631586d98fdb": { + "tasks": [ + "P00-03", + "P03-03", + "P03-04", + "P03-06", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G3", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-b6f0631586d98fdb.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-dec3e9c669acfaea": { + "tasks": [ + "P00-03", + "P04-01", + "P04-02", + "P04-03", + "P04-05", + "P04-06", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G4", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-dec3e9c669acfaea.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-5e20968aaa8293ec": { + "tasks": [ + "P00-03", + "P04-01", + "P04-02", + "P04-03", + "P04-05", + "P04-06", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G4", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-5e20968aaa8293ec.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-08388d5ce6054b7e": { + "tasks": [ + "P00-03", + "P04-01", + "P04-02", + "P04-03", + "P04-05", + "P04-06", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G4", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-08388d5ce6054b7e.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-6efb119d75705d3b": { + "tasks": [ + "P00-03", + "P04-01", + "P04-02", + "P04-03", + "P04-05", + "P04-06", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G4", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-6efb119d75705d3b.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-646e10995ce5d015": { + "tasks": [ + "P00-03", + "P04-01", + "P04-02", + "P04-03", + "P04-05", + "P04-06", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G4", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-646e10995ce5d015.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-08ce1f24c4c21352": { + "tasks": [ + "P00-03", + "P04-01", + "P04-02", + "P04-03", + "P04-05", + "P04-06", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G4", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-08ce1f24c4c21352.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-4e62e85b41af2f4e": { + "tasks": [ + "P00-03", + "P04-01", + "P04-02", + "P04-03", + "P04-05", + "P04-06", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G4", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-4e62e85b41af2f4e.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-19209a30d5e964e3": { + "tasks": [ + "P00-03", + "P04-01", + "P04-02", + "P04-03", + "P04-05", + "P04-06", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G4", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-19209a30d5e964e3.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-303c66f9bbddb0fd": { + "tasks": [ + "P00-03", + "P04-01", + "P04-02", + "P04-03", + "P04-05", + "P04-06", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G4", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-303c66f9bbddb0fd.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-b3f7f560e302d790": { + "tasks": [ + "P00-03", + "P04-01", + "P04-02", + "P04-03", + "P04-05", + "P04-06", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G4", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-b3f7f560e302d790.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-a7427329864623b5": { + "tasks": [ + "P00-03", + "P04-01", + "P04-02", + "P04-03", + "P04-05", + "P04-06", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G4", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-a7427329864623b5.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-e18cac36a5c3bb62": { + "tasks": [ + "P00-03", + "P04-01", + "P04-02", + "P04-03", + "P04-05", + "P04-06", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G4", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-e18cac36a5c3bb62.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-5cc232479c13eb2f": { + "tasks": [ + "P00-03", + "P04-01", + "P04-02", + "P04-03", + "P04-05", + "P04-06", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G4", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-5cc232479c13eb2f.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-afda7243d5547184": { + "tasks": [ + "P00-03", + "P04-01", + "P04-02", + "P04-03", + "P04-05", + "P04-06", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G4", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-afda7243d5547184.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-8dd1af8cdb80ef64": { + "tasks": [ + "P00-03", + "P04-01", + "P04-02", + "P04-03", + "P04-05", + "P04-06", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G4", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-8dd1af8cdb80ef64.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-616d8b4cbb2d3074": { + "tasks": [ + "P00-03", + "P04-01", + "P04-02", + "P04-03", + "P04-05", + "P04-06", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G4", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-616d8b4cbb2d3074.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-979cfe7ef3df9d27": { + "tasks": [ + "P00-03", + "P04-01", + "P04-02", + "P04-03", + "P04-05", + "P04-06", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G4", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-979cfe7ef3df9d27.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-97608f6a1a1df2e9": { + "tasks": [ + "P00-03", + "P04-01", + "P04-02", + "P04-03", + "P04-05", + "P04-06", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G4", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-97608f6a1a1df2e9.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-f597f9e988504c6d": { + "tasks": [ + "P00-03", + "P04-01", + "P04-02", + "P04-03", + "P04-05", + "P04-06", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G4", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-f597f9e988504c6d.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-590cbd2f74a63ba1": { + "tasks": [ + "P00-03", + "P04-01", + "P04-02", + "P04-03", + "P04-05", + "P04-06", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G4", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-590cbd2f74a63ba1.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-74be308e859c2fe0": { + "tasks": [ + "P00-03", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-74be308e859c2fe0.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-be6008fe21482721": { + "tasks": [ + "P00-03", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-be6008fe21482721.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-526b660f36929d2c": { + "tasks": [ + "P00-03", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-526b660f36929d2c.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-006d8e96c7c1a08e": { + "tasks": [ + "P00-03", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-006d8e96c7c1a08e.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-f8a69037f1b73c07": { + "tasks": [ + "P00-03", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-f8a69037f1b73c07.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-9a5e6c59a7d96ad1": { + "tasks": [ + "P00-03", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-9a5e6c59a7d96ad1.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-307dbf7ba359e774": { + "tasks": [ + "P00-03", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-307dbf7ba359e774.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-7d9043b233e15280": { + "tasks": [ + "P00-03", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-7d9043b233e15280.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-58c3b6b1d279e02c": { + "tasks": [ + "P00-03", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-58c3b6b1d279e02c.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-3a9981201fd875af": { + "tasks": [ + "P00-03", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-3a9981201fd875af.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-99e9f4e9a864f5b4": { + "tasks": [ + "P00-03", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-99e9f4e9a864f5b4.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-b311e4efe8523e7d": { + "tasks": [ + "P00-03", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-b311e4efe8523e7d.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-48a779def1adea38": { + "tasks": [ + "P00-03", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-48a779def1adea38.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-15d3fb17a577a78a": { + "tasks": [ + "P00-03", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-15d3fb17a577a78a.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-a4df2873c86f552b": { + "tasks": [ + "P00-03", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-a4df2873c86f552b.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-1fc03cea8e292893": { + "tasks": [ + "P00-03", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-1fc03cea8e292893.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-f2bbdfc3313080a5": { + "tasks": [ + "P00-03", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-f2bbdfc3313080a5.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-eb6a265f66d286ce": { + "tasks": [ + "P00-03", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-eb6a265f66d286ce.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-7b656802468076c8": { + "tasks": [ + "P00-03", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-7b656802468076c8.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-052455e87172b648": { + "tasks": [ + "P00-03", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-052455e87172b648.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-dd72355af5e37942": { + "tasks": [ + "P00-03", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-dd72355af5e37942.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-d982a585da9c5623": { + "tasks": [ + "P00-03", + "P09-01", + "P09-03" + ], + "gates": [ + "G0", + "G9" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-d982a585da9c5623.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-5461e8f004c9de41": { + "tasks": [ + "P03-07", + "P06-07", + "P06-08" + ], + "gates": [ + "G3", + "G6" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-5461e8f004c9de41.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-f757d9ac00e9efd7": { + "tasks": [ + "P03-07", + "P06-07", + "P06-08" + ], + "gates": [ + "G3", + "G6" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-f757d9ac00e9efd7.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-cbe99b453d5d89e8": { + "tasks": [ + "P03-07", + "P06-07", + "P06-08" + ], + "gates": [ + "G3", + "G6" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-cbe99b453d5d89e8.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-b7eaf8697db983ff": { + "tasks": [ + "P03-07", + "P06-07", + "P06-08" + ], + "gates": [ + "G3", + "G6" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-b7eaf8697db983ff.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-94eeb44968452d54": { + "tasks": [ + "P03-07", + "P06-07", + "P06-08" + ], + "gates": [ + "G3", + "G6" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-94eeb44968452d54.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-632db8749e2d8b2a": { + "tasks": [ + "P03-07", + "P06-07", + "P06-08" + ], + "gates": [ + "G3", + "G6" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-632db8749e2d8b2a.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-350fae4387b8ab65": { + "tasks": [ + "P03-07", + "P06-07", + "P06-08" + ], + "gates": [ + "G3", + "G6" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-350fae4387b8ab65.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-babbe57249616e52": { + "tasks": [ + "P03-07", + "P06-07", + "P06-08" + ], + "gates": [ + "G3", + "G6" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-babbe57249616e52.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-8448fd8971926afb": { + "tasks": [ + "P03-07", + "P06-07", + "P06-08" + ], + "gates": [ + "G3", + "G6" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-8448fd8971926afb.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-47adb7a14ff1c660": { + "tasks": [ + "P03-07", + "P06-07", + "P06-08" + ], + "gates": [ + "G3", + "G6" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-47adb7a14ff1c660.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-a55598579f364362": { + "tasks": [ + "P03-07", + "P06-07", + "P06-08" + ], + "gates": [ + "G3", + "G6" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-a55598579f364362.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-eac9d81293965315": { + "tasks": [ + "P03-07", + "P06-07", + "P06-08" + ], + "gates": [ + "G3", + "G6" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-eac9d81293965315.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-653e2eed26ead27d": { + "tasks": [ + "P03-07", + "P06-07", + "P06-08" + ], + "gates": [ + "G3", + "G6" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-653e2eed26ead27d.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-d22336f969ea99be": { + "tasks": [ + "P03-07", + "P06-07", + "P06-08" + ], + "gates": [ + "G3", + "G6" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-d22336f969ea99be.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-1ac9c53320f5ec47": { + "tasks": [ + "P03-07", + "P06-07", + "P06-08" + ], + "gates": [ + "G3", + "G6" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-1ac9c53320f5ec47.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-a7deeee117b3f51a": { + "tasks": [ + "P03-07", + "P06-07", + "P06-08" + ], + "gates": [ + "G3", + "G6" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-a7deeee117b3f51a.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-003af88342060b3f": { + "tasks": [ + "P03-07", + "P06-07", + "P06-08" + ], + "gates": [ + "G3", + "G6" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-003af88342060b3f.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-7ef81c52668a0ecc": { + "tasks": [ + "P03-07", + "P06-07", + "P06-08" + ], + "gates": [ + "G3", + "G6" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-7ef81c52668a0ecc.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-8bcf67e514ab4920": { + "tasks": [ + "P03-07", + "P06-07", + "P06-08" + ], + "gates": [ + "G3", + "G6" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-8bcf67e514ab4920.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-e3f780201d5ec12b": { + "tasks": [ + "P03-07", + "P06-07", + "P06-08" + ], + "gates": [ + "G3", + "G6" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-e3f780201d5ec12b.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-6e974a0a5ebc5295": { + "tasks": [ + "P03-07", + "P06-07", + "P06-08" + ], + "gates": [ + "G3", + "G6" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-6e974a0a5ebc5295.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-91ed380301bdd595": { + "tasks": [ + "P03-07", + "P06-07", + "P06-08" + ], + "gates": [ + "G3", + "G6" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-91ed380301bdd595.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-c98dd57da20c4d6a": { + "tasks": [ + "P03-07", + "P06-07", + "P06-08" + ], + "gates": [ + "G3", + "G6" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-c98dd57da20c4d6a.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-946ec501a9d0087d": { + "tasks": [ + "P03-07", + "P06-07", + "P06-08" + ], + "gates": [ + "G3", + "G6" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-946ec501a9d0087d.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-6339f819bedb3590": { + "tasks": [ + "P03-07", + "P06-07", + "P06-08" + ], + "gates": [ + "G3", + "G6" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-6339f819bedb3590.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-0cef01505fd6c412": { + "tasks": [ + "P03-07", + "P06-07", + "P06-08" + ], + "gates": [ + "G3", + "G6" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-0cef01505fd6c412.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-bd9966aa031e9571": { + "tasks": [ + "P03-07", + "P06-07", + "P06-08" + ], + "gates": [ + "G3", + "G6" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-bd9966aa031e9571.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-db731fb3c86dff54": { + "tasks": [ + "P03-07", + "P06-07", + "P06-08" + ], + "gates": [ + "G3", + "G6" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-db731fb3c86dff54.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-10fb5a121c5313b3": { + "tasks": [ + "P03-07", + "P06-07", + "P06-08" + ], + "gates": [ + "G3", + "G6" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-10fb5a121c5313b3.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-55ef33b451a04a83": { + "tasks": [ + "P03-07", + "P06-07", + "P06-08" + ], + "gates": [ + "G3", + "G6" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-55ef33b451a04a83.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-22c4007e8dd725a9": { + "tasks": [ + "P03-07", + "P06-07", + "P06-08" + ], + "gates": [ + "G3", + "G6" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-22c4007e8dd725a9.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-d1965a383ba9309d": { + "tasks": [ + "P03-07", + "P06-07", + "P06-08" + ], + "gates": [ + "G3", + "G6" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-d1965a383ba9309d.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-3d092eb5004b0f59": { + "tasks": [ + "P03-07", + "P06-07", + "P06-08" + ], + "gates": [ + "G3", + "G6" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-3d092eb5004b0f59.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-fa5dde7cc753e4f9": { + "tasks": [ + "P03-07", + "P06-07", + "P06-08" + ], + "gates": [ + "G3", + "G6" + ], + "disposition": "replace", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-fa5dde7cc753e4f9.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-982b838ddf57d643": { + "tasks": [ + "P03-07", + "P06-07", + "P06-08" + ], + "gates": [ + "G3", + "G6" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-982b838ddf57d643.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-d0feaeef97ab1c5e": { + "tasks": [ + "P03-07", + "P06-07", + "P06-08" + ], + "gates": [ + "G3", + "G6" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-d0feaeef97ab1c5e.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-71620fb4500ed0d3": { + "tasks": [ + "P03-07", + "P06-07", + "P06-08" + ], + "gates": [ + "G3", + "G6" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-71620fb4500ed0d3.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-127d4f1f887306f0": { + "tasks": [ + "P03-07", + "P06-07", + "P06-08" + ], + "gates": [ + "G3", + "G6" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-127d4f1f887306f0.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-e93a0138adf37900": { + "tasks": [ + "P03-07", + "P06-07", + "P06-08" + ], + "gates": [ + "G3", + "G6" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-e93a0138adf37900.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-e0a5c9b5e771c97a": { + "tasks": [ + "P03-07", + "P06-07", + "P06-08" + ], + "gates": [ + "G3", + "G6" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-e0a5c9b5e771c97a.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-09e19db25407b09c": { + "tasks": [ + "P03-07", + "P06-07", + "P06-08" + ], + "gates": [ + "G3", + "G6" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-09e19db25407b09c.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-bc3b3ca66ee08252": { + "tasks": [ + "P03-07", + "P06-07", + "P06-08" + ], + "gates": [ + "G3", + "G6" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-bc3b3ca66ee08252.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-573d321f190405f3": { + "tasks": [ + "P03-07", + "P06-07", + "P06-08" + ], + "gates": [ + "G3", + "G6" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-573d321f190405f3.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-bfd8cf2d812afc3a": { + "tasks": [ + "P03-07", + "P06-07", + "P06-08" + ], + "gates": [ + "G3", + "G6" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-bfd8cf2d812afc3a.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-79114fe5ecc3818f": { + "tasks": [ + "P03-07", + "P06-07", + "P06-08" + ], + "gates": [ + "G3", + "G6" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-79114fe5ecc3818f.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-4c3e8ab98b46f6f0": { + "tasks": [ + "P03-07", + "P06-07", + "P06-08" + ], + "gates": [ + "G3", + "G6" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-4c3e8ab98b46f6f0.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-e261cb351f78ba6b": { + "tasks": [ + "P03-07", + "P06-07", + "P06-08" + ], + "gates": [ + "G3", + "G6" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-e261cb351f78ba6b.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-dbc65d65da6caf91": { + "tasks": [ + "P03-07", + "P06-07", + "P06-08" + ], + "gates": [ + "G3", + "G6" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-dbc65d65da6caf91.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-0f6c145883357692": { + "tasks": [ + "P03-07", + "P06-07", + "P06-08" + ], + "gates": [ + "G3", + "G6" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-0f6c145883357692.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-a13a25dd661a76e7": { + "tasks": [ + "P03-07", + "P06-07", + "P06-08" + ], + "gates": [ + "G3", + "G6" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-a13a25dd661a76e7.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-6f5e2d5e37797703": { + "tasks": [ + "P03-07", + "P06-07", + "P06-08" + ], + "gates": [ + "G3", + "G6" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-6f5e2d5e37797703.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-0581bdd3b9617fd7": { + "tasks": [ + "P03-07", + "P06-07", + "P06-08" + ], + "gates": [ + "G3", + "G6" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-0581bdd3b9617fd7.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-3774b9c2e1a64a01": { + "tasks": [ + "P03-07", + "P06-07", + "P06-08" + ], + "gates": [ + "G3", + "G6" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-3774b9c2e1a64a01.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-b31ba249974097be": { + "tasks": [ + "P03-07", + "P06-07", + "P06-08" + ], + "gates": [ + "G3", + "G6" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-b31ba249974097be.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-e9392bef5a9a5084": { + "tasks": [ + "P03-07", + "P06-07", + "P06-08" + ], + "gates": [ + "G3", + "G6" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-e9392bef5a9a5084.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-2454fac1f685d922": { + "tasks": [ + "P03-07", + "P06-07", + "P06-08" + ], + "gates": [ + "G3", + "G6" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-2454fac1f685d922.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-4b6c8cf954aa6566": { + "tasks": [ + "P03-07", + "P06-07", + "P06-08" + ], + "gates": [ + "G3", + "G6" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-4b6c8cf954aa6566.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-65e4196be9e005c9": { + "tasks": [ + "P03-07", + "P06-07", + "P06-08" + ], + "gates": [ + "G3", + "G6" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-65e4196be9e005c9.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-b135a466cd30a840": { + "tasks": [ + "P03-07", + "P06-07", + "P06-08" + ], + "gates": [ + "G3", + "G6" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-b135a466cd30a840.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-798231762f49ac49": { + "tasks": [ + "P03-07", + "P06-07", + "P06-08" + ], + "gates": [ + "G3", + "G6" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-798231762f49ac49.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-01a9547791743ea4": { + "tasks": [ + "P03-07", + "P06-07", + "P06-08" + ], + "gates": [ + "G3", + "G6" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-01a9547791743ea4.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-9086396511c0d3f1": { + "tasks": [ + "P03-07", + "P06-07", + "P06-08" + ], + "gates": [ + "G3", + "G6" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-9086396511c0d3f1.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-755705afa4c1dc44": { + "tasks": [ + "P03-07", + "P06-07", + "P06-08" + ], + "gates": [ + "G3", + "G6" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-755705afa4c1dc44.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + }, + "route-74e27c5215c2f23c": { + "tasks": [ + "P03-07", + "P06-06", + "P06-07" + ], + "gates": [ + "G3", + "G6" + ], + "disposition": "migrate", + "physics_qualification": false, + "prospective_artifact": "test/ArchitectureRefactor/EngineeringRouteChecksV1/route-74e27c5215c2f23c.json", + "obligation": "Verify the retained route/export/schema/rejection/serialization/consumer behavior before this route switches or retires; do not turn each helper into a physics certificate." + } + }, + "test_link_audit": [ + { + "capability_id": "experiment-eed05d86c5378218", + "callable": "perovskite_sim.experiments.dynamic_defect_impedance.run_dynamic_defect_impedance", + "chains": [ + { + "test": "tests.integration.test_dynamic_defect_impedance.test_public_bulk_dynamic_defect_impedance_is_protocol_bound_and_certified", + "edges": [ + { + "caller": "tests.integration.test_dynamic_defect_impedance.test_public_bulk_dynamic_defect_impedance_is_protocol_bound_and_certified", + "callee": "perovskite_sim.experiments.impedance.run_impedance", + "line": 50, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.impedance.run_impedance", + "callee": "perovskite_sim.experiments.dynamic_defect_impedance.run_dynamic_defect_impedance", + "line": 985, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_dynamic_defect_impedance.test_public_interface_dynamic_defect_impedance_uses_two_sided_faces", + "edges": [ + { + "caller": "tests.integration.test_dynamic_defect_impedance.test_public_interface_dynamic_defect_impedance_uses_two_sided_faces", + "callee": "perovskite_sim.experiments.impedance.run_impedance", + "line": 67, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.impedance.run_impedance", + "callee": "perovskite_sim.experiments.dynamic_defect_impedance.run_dynamic_defect_impedance", + "line": 985, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_dynamic_defect_impedance.test_public_triple_coupled_defect_ion_impedance_is_certified", + "edges": [ + { + "caller": "tests.integration.test_dynamic_defect_impedance.test_public_triple_coupled_defect_ion_impedance_is_certified", + "callee": "perovskite_sim.experiments.impedance.run_impedance", + "line": 91, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.impedance.run_impedance", + "callee": "perovskite_sim.experiments.dynamic_defect_impedance.run_dynamic_defect_impedance", + "line": 985, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_material_cache_regression.test_impedance_ionmonger_finite_and_capacitive", + "edges": [ + { + "caller": "tests.integration.test_material_cache_regression.test_impedance_ionmonger_finite_and_capacitive", + "callee": "perovskite_sim.experiments.impedance.run_impedance", + "line": 55, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.impedance.run_impedance", + "callee": "perovskite_sim.experiments.dynamic_defect_impedance.run_dynamic_defect_impedance", + "line": 985, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_impedance.test_impedance_rejects_dynamic_interface_state_blocks", + "edges": [ + { + "caller": "tests.unit.experiments.test_impedance.test_impedance_rejects_dynamic_interface_state_blocks", + "callee": "perovskite_sim.experiments.impedance.run_impedance", + "line": 803, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.impedance.run_impedance", + "callee": "perovskite_sim.experiments.dynamic_defect_impedance.run_dynamic_defect_impedance", + "line": 985, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_impedance.test_impedance_rejects_empty_frequencies", + "edges": [ + { + "caller": "tests.unit.experiments.test_impedance.test_impedance_rejects_empty_frequencies", + "callee": "perovskite_sim.experiments.impedance.run_impedance", + "line": 42, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.impedance.run_impedance", + "callee": "perovskite_sim.experiments.dynamic_defect_impedance.run_dynamic_defect_impedance", + "line": 985, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_impedance.test_impedance_rejects_failed_dark_dc_preconditioning", + "edges": [ + { + "caller": "tests.unit.experiments.test_impedance.test_impedance_rejects_failed_dark_dc_preconditioning", + "callee": "perovskite_sim.experiments.impedance.run_impedance", + "line": 79, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.impedance.run_impedance", + "callee": "perovskite_sim.experiments.dynamic_defect_impedance.run_dynamic_defect_impedance", + "line": 985, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_impedance.test_impedance_rejects_noninteger_protocol_counts", + "edges": [ + { + "caller": "tests.unit.experiments.test_impedance.test_impedance_rejects_noninteger_protocol_counts", + "callee": "perovskite_sim.experiments.impedance.run_impedance", + "line": 110, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.impedance.run_impedance", + "callee": "perovskite_sim.experiments.dynamic_defect_impedance.run_dynamic_defect_impedance", + "line": 985, + "kind": "call" + } + ] + } + ], + "citations": [ + { + "source_id": "repository:perovskite-sim/tests/integration/test_dynamic_defect_impedance.py", + "symbol": "test_public_bulk_dynamic_defect_impedance_is_protocol_bound_and_certified" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/impedance.py", + "symbol": "run_impedance" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/dynamic_defect_impedance.py", + "symbol": "run_dynamic_defect_impedance" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_dynamic_defect_impedance.py", + "symbol": "test_public_interface_dynamic_defect_impedance_uses_two_sided_faces" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_dynamic_defect_impedance.py", + "symbol": "test_public_triple_coupled_defect_ion_impedance_is_certified" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_material_cache_regression.py", + "symbol": "test_impedance_ionmonger_finite_and_capacitive" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_impedance.py", + "symbol": "test_impedance_rejects_dynamic_interface_state_blocks" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_impedance.py", + "symbol": "test_impedance_rejects_empty_frequencies" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_impedance.py", + "symbol": "test_impedance_rejects_failed_dark_dc_preconditioning" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_impedance.py", + "symbol": "test_impedance_rejects_noninteger_protocol_counts" + } + ], + "limitation": "Static alias/module/call/fixture chains only; branch execution and independent physics are not inferred.", + "missing_test_artifact": null + }, + { + "capability_id": "experiment-997377217803970d", + "callable": "perovskite_sim.experiments.interface_charge_jv.solve_interface_charge_jv", + "chains": [ + { + "test": "tests.unit.experiments.test_interface_charge_jv.test_fake_sweep_reuses_charged_points_and_retains_evidence", + "edges": [ + { + "caller": "tests.unit.experiments.test_interface_charge_jv.test_fake_sweep_reuses_charged_points_and_retains_evidence", + "callee": "perovskite_sim.experiments.interface_charge_jv.solve_interface_charge_jv", + "line": 264, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_interface_charge_jv.test_real_small_grid_charged_jv_has_pointwise_evidence", + "edges": [ + { + "caller": "tests.unit.experiments.test_interface_charge_jv.test_real_small_grid_charged_jv_has_pointwise_evidence", + "callee": "perovskite_sim.experiments.interface_charge_jv.solve_interface_charge_jv", + "line": 475, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_interface_charge_jv.test_sweep_fails_closed_on_contact_span", + "edges": [ + { + "caller": "tests.unit.experiments.test_interface_charge_jv.test_sweep_fails_closed_on_contact_span", + "callee": "perovskite_sim.experiments.interface_charge_jv.solve_interface_charge_jv", + "line": 324, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_interface_charge_jv.test_sweep_fails_closed_on_gauss_gate", + "edges": [ + { + "caller": "tests.unit.experiments.test_interface_charge_jv.test_sweep_fails_closed_on_gauss_gate", + "callee": "perovskite_sim.experiments.interface_charge_jv.solve_interface_charge_jv", + "line": 298, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_interface_charge_jv.test_sweep_fails_closed_when_voc_is_not_bracketed", + "edges": [ + { + "caller": "tests.unit.experiments.test_interface_charge_jv.test_sweep_fails_closed_when_voc_is_not_bracketed", + "callee": "perovskite_sim.experiments.interface_charge_jv.solve_interface_charge_jv", + "line": 311, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_interface_charge_jv.test_voltage_bridge_is_audited_but_not_retained", + "edges": [ + { + "caller": "tests.unit.experiments.test_interface_charge_jv.test_voltage_bridge_is_audited_but_not_retained", + "callee": "perovskite_sim.experiments.interface_charge_jv.solve_interface_charge_jv", + "line": 361, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.validation.test_refinement_executors.test_equilibrium_referenced_interface_charge_jv_executor_smoke", + "edges": [ + { + "caller": "tests.unit.validation.test_refinement_executors.test_equilibrium_referenced_interface_charge_jv_executor_smoke", + "callee": "perovskite_sim.validation.refinement_executors.run_equilibrium_referenced_interface_charge_jv", + "line": 1434, + "kind": "call" + }, + { + "caller": "perovskite_sim.validation.refinement_executors.run_equilibrium_referenced_interface_charge_jv", + "callee": "perovskite_sim.experiments.interface_charge_jv.solve_interface_charge_jv", + "line": 3161, + "kind": "call" + } + ] + } + ], + "citations": [ + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py", + "symbol": "test_fake_sweep_reuses_charged_points_and_retains_evidence" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/interface_charge_jv.py", + "symbol": "solve_interface_charge_jv" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py", + "symbol": "test_real_small_grid_charged_jv_has_pointwise_evidence" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py", + "symbol": "test_sweep_fails_closed_on_contact_span" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py", + "symbol": "test_sweep_fails_closed_on_gauss_gate" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py", + "symbol": "test_sweep_fails_closed_when_voc_is_not_bracketed" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py", + "symbol": "test_voltage_bridge_is_audited_but_not_retained" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_refinement_executors.py", + "symbol": "test_equilibrium_referenced_interface_charge_jv_executor_smoke" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/refinement_executors.py", + "symbol": "run_equilibrium_referenced_interface_charge_jv" + } + ], + "limitation": "Static alias/module/call/fixture chains only; branch execution and independent physics are not inferred.", + "missing_test_artifact": null + }, + { + "capability_id": "experiment-10d2cde17eaa6e01", + "callable": "perovskite_sim.experiments.ion_aware_analytic_reaction.apply_analytic_bulk_reaction_linearization", + "chains": [ + { + "test": "tests.unit.experiments.test_ion_aware_structured_jacobian.test_failed_comparison_gate_preserves_diagnostic_evidence", + "edges": [ + { + "caller": "tests.unit.experiments.test_ion_aware_structured_jacobian.test_failed_comparison_gate_preserves_diagnostic_evidence", + "callee": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "line": 2134, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "callee": "perovskite_sim.experiments.ion_aware_analytic_reaction.apply_analytic_bulk_reaction_linearization", + "line": 1076, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_ion_aware_structured_jacobian.test_mismatched_hash_is_rejected_before_comparison", + "edges": [ + { + "caller": "tests.unit.experiments.test_ion_aware_structured_jacobian.test_mismatched_hash_is_rejected_before_comparison", + "callee": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "line": 2110, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "callee": "perovskite_sim.experiments.ion_aware_analytic_reaction.apply_analytic_bulk_reaction_linearization", + "line": 1076, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_ion_aware_structured_jacobian.test_structured_protocol_binds_qss_environment_and_velocity", + "edges": [ + { + "caller": "tests.unit.experiments.test_ion_aware_structured_jacobian.test_structured_protocol_binds_qss_environment_and_velocity", + "callee": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "line": 205, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "callee": "perovskite_sim.experiments.ion_aware_analytic_reaction.apply_analytic_bulk_reaction_linearization", + "line": 1076, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_ion_aware_structured_jacobian.test_cross_node_interface_srh_closes_the_clamp_inactive_tangent", + "edges": [ + { + "caller": "tests.integration.test_ion_aware_structured_jacobian.test_cross_node_interface_srh_closes_the_clamp_inactive_tangent", + "callee": "tests.integration.test_ion_aware_structured_jacobian._solve_comparison", + "line": 272, + "kind": "call" + }, + { + "caller": "tests.integration.test_ion_aware_structured_jacobian._solve_comparison", + "callee": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "line": 54, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "callee": "perovskite_sim.experiments.ion_aware_analytic_reaction.apply_analytic_bulk_reaction_linearization", + "line": 1076, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_ion_aware_structured_jacobian.test_cross_node_qss_interface_srh_closes_projection_and_suppresses_mirror", + "edges": [ + { + "caller": "tests.integration.test_ion_aware_structured_jacobian.test_cross_node_qss_interface_srh_closes_projection_and_suppresses_mirror", + "callee": "tests.integration.test_ion_aware_structured_jacobian._solve_comparison", + "line": 475, + "kind": "call" + }, + { + "caller": "tests.integration.test_ion_aware_structured_jacobian._solve_comparison", + "callee": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "line": 54, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "callee": "perovskite_sim.experiments.ion_aware_analytic_reaction.apply_analytic_bulk_reaction_linearization", + "line": 1076, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_ion_aware_structured_jacobian.test_dual_ion_structured_operator_covers_both_charge_signs", + "edges": [ + { + "caller": "tests.integration.test_ion_aware_structured_jacobian.test_dual_ion_structured_operator_covers_both_charge_signs", + "callee": "tests.integration.test_ion_aware_structured_jacobian._solve_comparison", + "line": 106, + "kind": "call" + }, + { + "caller": "tests.integration.test_ion_aware_structured_jacobian._solve_comparison", + "callee": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "line": 54, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "callee": "perovskite_sim.experiments.ion_aware_analytic_reaction.apply_analytic_bulk_reaction_linearization", + "line": 1076, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_ion_aware_structured_jacobian.test_field_mobility_structured_operator_closes_ct_and_pf_chain_rule", + "edges": [ + { + "caller": "tests.integration.test_ion_aware_structured_jacobian.test_field_mobility_structured_operator_closes_ct_and_pf_chain_rule", + "callee": "tests.integration.test_ion_aware_structured_jacobian._solve_comparison", + "line": 236, + "kind": "call" + }, + { + "caller": "tests.integration.test_ion_aware_structured_jacobian._solve_comparison", + "callee": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "line": 54, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "callee": "perovskite_sim.experiments.ion_aware_analytic_reaction.apply_analytic_bulk_reaction_linearization", + "line": 1076, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_ion_aware_structured_jacobian.test_local_qss_interface_srh_closes_the_implicit_root_tangent", + "edges": [ + { + "caller": "tests.integration.test_ion_aware_structured_jacobian.test_local_qss_interface_srh_closes_the_implicit_root_tangent", + "callee": "tests.integration.test_ion_aware_structured_jacobian._solve_comparison", + "line": 440, + "kind": "call" + }, + { + "caller": "tests.integration.test_ion_aware_structured_jacobian._solve_comparison", + "callee": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "line": 54, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "callee": "perovskite_sim.experiments.ion_aware_analytic_reaction.apply_analytic_bulk_reaction_linearization", + "line": 1076, + "kind": "call" + } + ] + } + ], + "citations": [ + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py", + "symbol": "test_failed_comparison_gate_preserves_diagnostic_evidence" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/ion_aware_structured_jacobian.py", + "symbol": "run_ion_aware_structured_jacobian_comparison" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/ion_aware_analytic_reaction.py", + "symbol": "apply_analytic_bulk_reaction_linearization" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py", + "symbol": "test_mismatched_hash_is_rejected_before_comparison" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py", + "symbol": "test_structured_protocol_binds_qss_environment_and_velocity" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_cross_node_interface_srh_closes_the_clamp_inactive_tangent" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "_solve_comparison" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_cross_node_qss_interface_srh_closes_projection_and_suppresses_mirror" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_dual_ion_structured_operator_covers_both_charge_signs" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_field_mobility_structured_operator_closes_ct_and_pf_chain_rule" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_local_qss_interface_srh_closes_the_implicit_root_tangent" + } + ], + "limitation": "Static alias/module/call/fixture chains only; branch execution and independent physics are not inferred.", + "missing_test_artifact": null + }, + { + "capability_id": "experiment-68757a97c60b3660", + "callable": "perovskite_sim.experiments.ion_aware_analytic_reaction.apply_analytic_contact_linearization", + "chains": [ + { + "test": "tests.unit.experiments.test_ion_aware_structured_jacobian.test_failed_comparison_gate_preserves_diagnostic_evidence", + "edges": [ + { + "caller": "tests.unit.experiments.test_ion_aware_structured_jacobian.test_failed_comparison_gate_preserves_diagnostic_evidence", + "callee": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "line": 2134, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "callee": "perovskite_sim.experiments.ion_aware_analytic_reaction.apply_analytic_contact_linearization", + "line": 1134, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_ion_aware_structured_jacobian.test_mismatched_hash_is_rejected_before_comparison", + "edges": [ + { + "caller": "tests.unit.experiments.test_ion_aware_structured_jacobian.test_mismatched_hash_is_rejected_before_comparison", + "callee": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "line": 2110, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "callee": "perovskite_sim.experiments.ion_aware_analytic_reaction.apply_analytic_contact_linearization", + "line": 1134, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_ion_aware_structured_jacobian.test_structured_protocol_binds_qss_environment_and_velocity", + "edges": [ + { + "caller": "tests.unit.experiments.test_ion_aware_structured_jacobian.test_structured_protocol_binds_qss_environment_and_velocity", + "callee": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "line": 205, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "callee": "perovskite_sim.experiments.ion_aware_analytic_reaction.apply_analytic_contact_linearization", + "line": 1134, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_ion_aware_structured_jacobian.test_cross_node_interface_srh_closes_the_clamp_inactive_tangent", + "edges": [ + { + "caller": "tests.integration.test_ion_aware_structured_jacobian.test_cross_node_interface_srh_closes_the_clamp_inactive_tangent", + "callee": "tests.integration.test_ion_aware_structured_jacobian._solve_comparison", + "line": 272, + "kind": "call" + }, + { + "caller": "tests.integration.test_ion_aware_structured_jacobian._solve_comparison", + "callee": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "line": 54, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "callee": "perovskite_sim.experiments.ion_aware_analytic_reaction.apply_analytic_contact_linearization", + "line": 1134, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_ion_aware_structured_jacobian.test_cross_node_qss_interface_srh_closes_projection_and_suppresses_mirror", + "edges": [ + { + "caller": "tests.integration.test_ion_aware_structured_jacobian.test_cross_node_qss_interface_srh_closes_projection_and_suppresses_mirror", + "callee": "tests.integration.test_ion_aware_structured_jacobian._solve_comparison", + "line": 475, + "kind": "call" + }, + { + "caller": "tests.integration.test_ion_aware_structured_jacobian._solve_comparison", + "callee": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "line": 54, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "callee": "perovskite_sim.experiments.ion_aware_analytic_reaction.apply_analytic_contact_linearization", + "line": 1134, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_ion_aware_structured_jacobian.test_dual_ion_structured_operator_covers_both_charge_signs", + "edges": [ + { + "caller": "tests.integration.test_ion_aware_structured_jacobian.test_dual_ion_structured_operator_covers_both_charge_signs", + "callee": "tests.integration.test_ion_aware_structured_jacobian._solve_comparison", + "line": 106, + "kind": "call" + }, + { + "caller": "tests.integration.test_ion_aware_structured_jacobian._solve_comparison", + "callee": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "line": 54, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "callee": "perovskite_sim.experiments.ion_aware_analytic_reaction.apply_analytic_contact_linearization", + "line": 1134, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_ion_aware_structured_jacobian.test_field_mobility_structured_operator_closes_ct_and_pf_chain_rule", + "edges": [ + { + "caller": "tests.integration.test_ion_aware_structured_jacobian.test_field_mobility_structured_operator_closes_ct_and_pf_chain_rule", + "callee": "tests.integration.test_ion_aware_structured_jacobian._solve_comparison", + "line": 236, + "kind": "call" + }, + { + "caller": "tests.integration.test_ion_aware_structured_jacobian._solve_comparison", + "callee": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "line": 54, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "callee": "perovskite_sim.experiments.ion_aware_analytic_reaction.apply_analytic_contact_linearization", + "line": 1134, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_ion_aware_structured_jacobian.test_local_qss_interface_srh_closes_the_implicit_root_tangent", + "edges": [ + { + "caller": "tests.integration.test_ion_aware_structured_jacobian.test_local_qss_interface_srh_closes_the_implicit_root_tangent", + "callee": "tests.integration.test_ion_aware_structured_jacobian._solve_comparison", + "line": 440, + "kind": "call" + }, + { + "caller": "tests.integration.test_ion_aware_structured_jacobian._solve_comparison", + "callee": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "line": 54, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "callee": "perovskite_sim.experiments.ion_aware_analytic_reaction.apply_analytic_contact_linearization", + "line": 1134, + "kind": "call" + } + ] + } + ], + "citations": [ + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py", + "symbol": "test_failed_comparison_gate_preserves_diagnostic_evidence" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/ion_aware_structured_jacobian.py", + "symbol": "run_ion_aware_structured_jacobian_comparison" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/ion_aware_analytic_reaction.py", + "symbol": "apply_analytic_contact_linearization" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py", + "symbol": "test_mismatched_hash_is_rejected_before_comparison" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py", + "symbol": "test_structured_protocol_binds_qss_environment_and_velocity" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_cross_node_interface_srh_closes_the_clamp_inactive_tangent" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "_solve_comparison" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_cross_node_qss_interface_srh_closes_projection_and_suppresses_mirror" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_dual_ion_structured_operator_covers_both_charge_signs" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_field_mobility_structured_operator_closes_ct_and_pf_chain_rule" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_local_qss_interface_srh_closes_the_implicit_root_tangent" + } + ], + "limitation": "Static alias/module/call/fixture chains only; branch execution and independent physics are not inferred.", + "missing_test_artifact": null + }, + { + "capability_id": "experiment-ce4180bc09955f54", + "callable": "perovskite_sim.experiments.ion_aware_analytic_reaction.apply_analytic_interface_reaction_linearization", + "chains": [ + { + "test": "tests.unit.experiments.test_ion_aware_structured_jacobian.test_failed_comparison_gate_preserves_diagnostic_evidence", + "edges": [ + { + "caller": "tests.unit.experiments.test_ion_aware_structured_jacobian.test_failed_comparison_gate_preserves_diagnostic_evidence", + "callee": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "line": 2134, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "callee": "perovskite_sim.experiments.ion_aware_analytic_reaction.apply_analytic_interface_reaction_linearization", + "line": 1113, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_ion_aware_structured_jacobian.test_mismatched_hash_is_rejected_before_comparison", + "edges": [ + { + "caller": "tests.unit.experiments.test_ion_aware_structured_jacobian.test_mismatched_hash_is_rejected_before_comparison", + "callee": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "line": 2110, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "callee": "perovskite_sim.experiments.ion_aware_analytic_reaction.apply_analytic_interface_reaction_linearization", + "line": 1113, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_ion_aware_structured_jacobian.test_structured_protocol_binds_qss_environment_and_velocity", + "edges": [ + { + "caller": "tests.unit.experiments.test_ion_aware_structured_jacobian.test_structured_protocol_binds_qss_environment_and_velocity", + "callee": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "line": 205, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "callee": "perovskite_sim.experiments.ion_aware_analytic_reaction.apply_analytic_interface_reaction_linearization", + "line": 1113, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_ion_aware_structured_jacobian.test_cross_node_interface_srh_closes_the_clamp_inactive_tangent", + "edges": [ + { + "caller": "tests.integration.test_ion_aware_structured_jacobian.test_cross_node_interface_srh_closes_the_clamp_inactive_tangent", + "callee": "tests.integration.test_ion_aware_structured_jacobian._solve_comparison", + "line": 272, + "kind": "call" + }, + { + "caller": "tests.integration.test_ion_aware_structured_jacobian._solve_comparison", + "callee": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "line": 54, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "callee": "perovskite_sim.experiments.ion_aware_analytic_reaction.apply_analytic_interface_reaction_linearization", + "line": 1113, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_ion_aware_structured_jacobian.test_cross_node_qss_interface_srh_closes_projection_and_suppresses_mirror", + "edges": [ + { + "caller": "tests.integration.test_ion_aware_structured_jacobian.test_cross_node_qss_interface_srh_closes_projection_and_suppresses_mirror", + "callee": "tests.integration.test_ion_aware_structured_jacobian._solve_comparison", + "line": 475, + "kind": "call" + }, + { + "caller": "tests.integration.test_ion_aware_structured_jacobian._solve_comparison", + "callee": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "line": 54, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "callee": "perovskite_sim.experiments.ion_aware_analytic_reaction.apply_analytic_interface_reaction_linearization", + "line": 1113, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_ion_aware_structured_jacobian.test_dual_ion_structured_operator_covers_both_charge_signs", + "edges": [ + { + "caller": "tests.integration.test_ion_aware_structured_jacobian.test_dual_ion_structured_operator_covers_both_charge_signs", + "callee": "tests.integration.test_ion_aware_structured_jacobian._solve_comparison", + "line": 106, + "kind": "call" + }, + { + "caller": "tests.integration.test_ion_aware_structured_jacobian._solve_comparison", + "callee": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "line": 54, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "callee": "perovskite_sim.experiments.ion_aware_analytic_reaction.apply_analytic_interface_reaction_linearization", + "line": 1113, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_ion_aware_structured_jacobian.test_field_mobility_structured_operator_closes_ct_and_pf_chain_rule", + "edges": [ + { + "caller": "tests.integration.test_ion_aware_structured_jacobian.test_field_mobility_structured_operator_closes_ct_and_pf_chain_rule", + "callee": "tests.integration.test_ion_aware_structured_jacobian._solve_comparison", + "line": 236, + "kind": "call" + }, + { + "caller": "tests.integration.test_ion_aware_structured_jacobian._solve_comparison", + "callee": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "line": 54, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "callee": "perovskite_sim.experiments.ion_aware_analytic_reaction.apply_analytic_interface_reaction_linearization", + "line": 1113, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_ion_aware_structured_jacobian.test_local_qss_interface_srh_closes_the_implicit_root_tangent", + "edges": [ + { + "caller": "tests.integration.test_ion_aware_structured_jacobian.test_local_qss_interface_srh_closes_the_implicit_root_tangent", + "callee": "tests.integration.test_ion_aware_structured_jacobian._solve_comparison", + "line": 440, + "kind": "call" + }, + { + "caller": "tests.integration.test_ion_aware_structured_jacobian._solve_comparison", + "callee": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "line": 54, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "callee": "perovskite_sim.experiments.ion_aware_analytic_reaction.apply_analytic_interface_reaction_linearization", + "line": 1113, + "kind": "call" + } + ] + } + ], + "citations": [ + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py", + "symbol": "test_failed_comparison_gate_preserves_diagnostic_evidence" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/ion_aware_structured_jacobian.py", + "symbol": "run_ion_aware_structured_jacobian_comparison" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/ion_aware_analytic_reaction.py", + "symbol": "apply_analytic_interface_reaction_linearization" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py", + "symbol": "test_mismatched_hash_is_rejected_before_comparison" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py", + "symbol": "test_structured_protocol_binds_qss_environment_and_velocity" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_cross_node_interface_srh_closes_the_clamp_inactive_tangent" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "_solve_comparison" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_cross_node_qss_interface_srh_closes_projection_and_suppresses_mirror" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_dual_ion_structured_operator_covers_both_charge_signs" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_field_mobility_structured_operator_closes_ct_and_pf_chain_rule" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_local_qss_interface_srh_closes_the_implicit_root_tangent" + } + ], + "limitation": "Static alias/module/call/fixture chains only; branch execution and independent physics are not inferred.", + "missing_test_artifact": null + }, + { + "capability_id": "experiment-00db5ef5f7a28a1c", + "callable": "perovskite_sim.experiments.ion_aware_analytic_transport.apply_analytic_transport_linearization", + "chains": [ + { + "test": "tests.unit.experiments.test_ion_aware_structured_jacobian.test_failed_comparison_gate_preserves_diagnostic_evidence", + "edges": [ + { + "caller": "tests.unit.experiments.test_ion_aware_structured_jacobian.test_failed_comparison_gate_preserves_diagnostic_evidence", + "callee": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "line": 2134, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "callee": "perovskite_sim.experiments.ion_aware_analytic_transport.apply_analytic_transport_linearization", + "line": 1052, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_ion_aware_structured_jacobian.test_mismatched_hash_is_rejected_before_comparison", + "edges": [ + { + "caller": "tests.unit.experiments.test_ion_aware_structured_jacobian.test_mismatched_hash_is_rejected_before_comparison", + "callee": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "line": 2110, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "callee": "perovskite_sim.experiments.ion_aware_analytic_transport.apply_analytic_transport_linearization", + "line": 1052, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_ion_aware_structured_jacobian.test_structured_protocol_binds_qss_environment_and_velocity", + "edges": [ + { + "caller": "tests.unit.experiments.test_ion_aware_structured_jacobian.test_structured_protocol_binds_qss_environment_and_velocity", + "callee": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "line": 205, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "callee": "perovskite_sim.experiments.ion_aware_analytic_transport.apply_analytic_transport_linearization", + "line": 1052, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_ion_aware_structured_jacobian.test_cross_node_interface_srh_closes_the_clamp_inactive_tangent", + "edges": [ + { + "caller": "tests.integration.test_ion_aware_structured_jacobian.test_cross_node_interface_srh_closes_the_clamp_inactive_tangent", + "callee": "tests.integration.test_ion_aware_structured_jacobian._solve_comparison", + "line": 272, + "kind": "call" + }, + { + "caller": "tests.integration.test_ion_aware_structured_jacobian._solve_comparison", + "callee": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "line": 54, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "callee": "perovskite_sim.experiments.ion_aware_analytic_transport.apply_analytic_transport_linearization", + "line": 1052, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_ion_aware_structured_jacobian.test_cross_node_qss_interface_srh_closes_projection_and_suppresses_mirror", + "edges": [ + { + "caller": "tests.integration.test_ion_aware_structured_jacobian.test_cross_node_qss_interface_srh_closes_projection_and_suppresses_mirror", + "callee": "tests.integration.test_ion_aware_structured_jacobian._solve_comparison", + "line": 475, + "kind": "call" + }, + { + "caller": "tests.integration.test_ion_aware_structured_jacobian._solve_comparison", + "callee": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "line": 54, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "callee": "perovskite_sim.experiments.ion_aware_analytic_transport.apply_analytic_transport_linearization", + "line": 1052, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_ion_aware_structured_jacobian.test_dual_ion_structured_operator_covers_both_charge_signs", + "edges": [ + { + "caller": "tests.integration.test_ion_aware_structured_jacobian.test_dual_ion_structured_operator_covers_both_charge_signs", + "callee": "tests.integration.test_ion_aware_structured_jacobian._solve_comparison", + "line": 106, + "kind": "call" + }, + { + "caller": "tests.integration.test_ion_aware_structured_jacobian._solve_comparison", + "callee": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "line": 54, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "callee": "perovskite_sim.experiments.ion_aware_analytic_transport.apply_analytic_transport_linearization", + "line": 1052, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_ion_aware_structured_jacobian.test_field_mobility_structured_operator_closes_ct_and_pf_chain_rule", + "edges": [ + { + "caller": "tests.integration.test_ion_aware_structured_jacobian.test_field_mobility_structured_operator_closes_ct_and_pf_chain_rule", + "callee": "tests.integration.test_ion_aware_structured_jacobian._solve_comparison", + "line": 236, + "kind": "call" + }, + { + "caller": "tests.integration.test_ion_aware_structured_jacobian._solve_comparison", + "callee": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "line": 54, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "callee": "perovskite_sim.experiments.ion_aware_analytic_transport.apply_analytic_transport_linearization", + "line": 1052, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_ion_aware_structured_jacobian.test_local_qss_interface_srh_closes_the_implicit_root_tangent", + "edges": [ + { + "caller": "tests.integration.test_ion_aware_structured_jacobian.test_local_qss_interface_srh_closes_the_implicit_root_tangent", + "callee": "tests.integration.test_ion_aware_structured_jacobian._solve_comparison", + "line": 440, + "kind": "call" + }, + { + "caller": "tests.integration.test_ion_aware_structured_jacobian._solve_comparison", + "callee": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "line": 54, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "callee": "perovskite_sim.experiments.ion_aware_analytic_transport.apply_analytic_transport_linearization", + "line": 1052, + "kind": "call" + } + ] + } + ], + "citations": [ + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py", + "symbol": "test_failed_comparison_gate_preserves_diagnostic_evidence" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/ion_aware_structured_jacobian.py", + "symbol": "run_ion_aware_structured_jacobian_comparison" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/ion_aware_analytic_transport.py", + "symbol": "apply_analytic_transport_linearization" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py", + "symbol": "test_mismatched_hash_is_rejected_before_comparison" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py", + "symbol": "test_structured_protocol_binds_qss_environment_and_velocity" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_cross_node_interface_srh_closes_the_clamp_inactive_tangent" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "_solve_comparison" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_cross_node_qss_interface_srh_closes_projection_and_suppresses_mirror" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_dual_ion_structured_operator_covers_both_charge_signs" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_field_mobility_structured_operator_closes_ct_and_pf_chain_rule" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_local_qss_interface_srh_closes_the_implicit_root_tangent" + } + ], + "limitation": "Static alias/module/call/fixture chains only; branch execution and independent physics are not inferred.", + "missing_test_artifact": null + }, + { + "capability_id": "experiment-330be0d05e1b31a9", + "callable": "perovskite_sim.experiments.ion_aware_impedance_grid.run_ion_aware_impedance_grid_ladder", + "chains": [ + { + "test": "tests.integration.test_ion_aware_impedance_grid.test_grid_ladder_rejects_coordinate_replacement_before_ac_execution", + "edges": [ + { + "caller": "tests.integration.test_ion_aware_impedance_grid.test_grid_ladder_rejects_coordinate_replacement_before_ac_execution", + "callee": "perovskite_sim.experiments.ion_aware_impedance_grid.run_ion_aware_impedance_grid_ladder", + "line": 99, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_ion_aware_impedance_grid.test_grid_ladder_rejects_state_or_stack_replacement_before_ac_execution", + "edges": [ + { + "caller": "tests.integration.test_ion_aware_impedance_grid.test_grid_ladder_rejects_state_or_stack_replacement_before_ac_execution", + "callee": "perovskite_sim.experiments.ion_aware_impedance_grid.run_ion_aware_impedance_grid_ladder", + "line": 121, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_ion_aware_impedance_grid.test_resolved_ionmonger_grid_ladder_passes_each_frequency", + "edges": [ + { + "caller": "tests.integration.test_ion_aware_impedance_grid.test_resolved_ionmonger_grid_ladder_passes_each_frequency", + "callee": "tests.integration.test_ion_aware_impedance_grid.resolved_grid_ladder", + "line": 45, + "kind": "pytest_fixture_argument" + }, + { + "caller": "tests.integration.test_ion_aware_impedance_grid.resolved_grid_ladder", + "callee": "perovskite_sim.experiments.ion_aware_impedance_grid.run_ion_aware_impedance_grid_ladder", + "line": 37, + "kind": "call" + } + ] + }, + { + "test": "tests.integration.test_ion_aware_impedance_grid.test_same_results_fail_a_tighter_preregistered_grid_gate", + "edges": [ + { + "caller": "tests.integration.test_ion_aware_impedance_grid.test_same_results_fail_a_tighter_preregistered_grid_gate", + "callee": "tests.integration.test_ion_aware_impedance_grid.resolved_grid_ladder", + "line": 135, + "kind": "pytest_fixture_argument" + }, + { + "caller": "tests.integration.test_ion_aware_impedance_grid.resolved_grid_ladder", + "callee": "perovskite_sim.experiments.ion_aware_impedance_grid.run_ion_aware_impedance_grid_ladder", + "line": 37, + "kind": "call" + } + ] + } + ], + "citations": [ + { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_impedance_grid.py", + "symbol": "test_grid_ladder_rejects_coordinate_replacement_before_ac_execution" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/ion_aware_impedance_grid.py", + "symbol": "run_ion_aware_impedance_grid_ladder" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_impedance_grid.py", + "symbol": "test_grid_ladder_rejects_state_or_stack_replacement_before_ac_execution" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_impedance_grid.py", + "symbol": "test_resolved_ionmonger_grid_ladder_passes_each_frequency" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_impedance_grid.py", + "symbol": "resolved_grid_ladder" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_impedance_grid.py", + "symbol": "test_same_results_fail_a_tighter_preregistered_grid_gate" + } + ], + "limitation": "Static alias/module/call/fixture chains only; branch execution and independent physics are not inferred.", + "missing_test_artifact": null + }, + { + "capability_id": "experiment-4e372a3e04e0faca", + "callable": "perovskite_sim.experiments.one_dimensional_mechanism_r1.prepare_reference", + "chains": [ + { + "test": "tests.unit.experiments.test_one_dimensional_mechanism_r1_evidence.test_real_geometry_to_preparation_cli_passes", + "edges": [ + { + "caller": "tests.unit.experiments.test_one_dimensional_mechanism_r1_evidence.test_real_geometry_to_preparation_cli_passes", + "callee": "tests.unit.experiments.test_one_dimensional_mechanism_r1_evidence.run_cli", + "line": 217, + "kind": "call", + "literal_stage_argument": "prepare" + }, + { + "caller": "tests.unit.experiments.test_one_dimensional_mechanism_r1_evidence.run_cli", + "callee": "scripts.run_one_dimensional_mechanism_r1.main", + "line": 193, + "kind": "subprocess_script_entry" + }, + { + "caller": "scripts.run_one_dimensional_mechanism_r1.main", + "callee": "perovskite_sim.experiments.one_dimensional_mechanism_r1.prepare_reference", + "line": 288, + "kind": "guarded_stage_dispatch", + "guard": "args.stage == prepare, matching geometry evidence required" + } + ] + } + ], + "citations": [ + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_one_dimensional_mechanism_r1_evidence.py", + "symbol": "test_real_geometry_to_preparation_cli_passes" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_one_dimensional_mechanism_r1_evidence.py", + "symbol": "run_cli" + }, + { + "source_id": "repository:perovskite-sim/scripts/run_one_dimensional_mechanism_r1.py", + "symbol": "main" + } + ], + "limitation": "Static subprocess/argparse branch verified from exact code; original slow test not rerun and does not grant new-source qualification.", + "missing_test_artifact": null + }, + { + "capability_id": "experiment-35bac077cd83f54c", + "callable": "perovskite_sim.experiments.one_dimensional_mechanism_r1.run_coupled", + "chains": [], + "citations": [], + "limitation": "Static alias/module/call/fixture chains only; branch execution and independent physics are not inferred.", + "missing_test_artifact": "tests/refactor/test_comparison_experiment_35bac077cd83f54c.py" + }, + { + "capability_id": "experiment-5dc2e7f6a62669ce", + "callable": "perovskite_sim.experiments.one_dimensional_mechanism_r1_global_reference.solve_global_ion_reference", + "chains": [ + { + "test": "tests.unit.experiments.test_r1_global_reference.test_each_actual_fixed_low_word_reaches_global_reference", + "edges": [ + { + "caller": "tests.unit.experiments.test_r1_global_reference.test_each_actual_fixed_low_word_reaches_global_reference", + "callee": "perovskite_sim.experiments.one_dimensional_mechanism_r1_global_reference.solve_global_ion_reference", + "line": 128, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_r1_global_reference.test_global_poisson_and_near_cancelling_sg_match_90_digit_laws", + "edges": [ + { + "caller": "tests.unit.experiments.test_r1_global_reference.test_global_poisson_and_near_cancelling_sg_match_90_digit_laws", + "callee": "perovskite_sim.experiments.one_dimensional_mechanism_r1_global_reference.solve_global_ion_reference", + "line": 104, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_r1_global_reference.test_rebased_and_global_maps_agree_only_for_a_global_consistent_origin", + "edges": [ + { + "caller": "tests.unit.experiments.test_r1_global_reference.test_rebased_and_global_maps_agree_only_for_a_global_consistent_origin", + "callee": "perovskite_sim.experiments.one_dimensional_mechanism_r1_global_reference.solve_global_ion_reference", + "line": 199, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_r1_global_reference.test_baseline_adapter_keeps_actual_zero_lows_high_subtraction_and_other_channels", + "edges": [ + { + "caller": "tests.unit.experiments.test_r1_global_reference.test_baseline_adapter_keeps_actual_zero_lows_high_subtraction_and_other_channels", + "callee": "perovskite_sim.experiments.one_dimensional_mechanism_r1_global_reference.baseline_eliminated_operator_diagnostics", + "line": 223, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.one_dimensional_mechanism_r1_global_reference.baseline_eliminated_operator_diagnostics", + "callee": "perovskite_sim.experiments.one_dimensional_mechanism_r1_global_reference.solve_global_ion_reference", + "line": 361, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_r1_global_reference.test_baseline_legacy_label_evaluates_old_law_at_both_actual_high_potentials", + "edges": [ + { + "caller": "tests.unit.experiments.test_r1_global_reference.test_baseline_legacy_label_evaluates_old_law_at_both_actual_high_potentials", + "callee": "perovskite_sim.experiments.one_dimensional_mechanism_r1_global_reference.baseline_eliminated_operator_diagnostics", + "line": 318, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.one_dimensional_mechanism_r1_global_reference.baseline_eliminated_operator_diagnostics", + "callee": "perovskite_sim.experiments.one_dimensional_mechanism_r1_global_reference.solve_global_ion_reference", + "line": 361, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_r1_global_reference.test_baseline_rounds_constraint_before_sg_and_retains_failed_full_root_diagnostic", + "edges": [ + { + "caller": "tests.unit.experiments.test_r1_global_reference.test_baseline_rounds_constraint_before_sg_and_retains_failed_full_root_diagnostic", + "callee": "perovskite_sim.experiments.one_dimensional_mechanism_r1_global_reference.baseline_eliminated_operator_diagnostics", + "line": 275, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.one_dimensional_mechanism_r1_global_reference.baseline_eliminated_operator_diagnostics", + "callee": "perovskite_sim.experiments.one_dimensional_mechanism_r1_global_reference.solve_global_ion_reference", + "line": 361, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_r1_global_reference.test_pair_adapter_keeps_low_difference_v2_bindings_and_ignores_direct_sheet", + "edges": [ + { + "caller": "tests.unit.experiments.test_r1_global_reference.test_pair_adapter_keeps_low_difference_v2_bindings_and_ignores_direct_sheet", + "callee": "tests.unit.experiments.test_r1_global_reference._pair_case", + "line": 377, + "kind": "call" + }, + { + "caller": "tests.unit.experiments.test_r1_global_reference._pair_case", + "callee": "perovskite_sim.experiments.one_dimensional_mechanism_r1_global_reference.solve_global_ion_reference", + "line": 367, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_r1_global_reference.test_pair_independent_potential_and_boundary_hooks_remain_effective", + "edges": [ + { + "caller": "tests.unit.experiments.test_r1_global_reference.test_pair_independent_potential_and_boundary_hooks_remain_effective", + "callee": "tests.unit.experiments.test_r1_global_reference._pair_case", + "line": 406, + "kind": "call" + }, + { + "caller": "tests.unit.experiments.test_r1_global_reference._pair_case", + "callee": "perovskite_sim.experiments.one_dimensional_mechanism_r1_global_reference.solve_global_ion_reference", + "line": 367, + "kind": "call" + } + ] + } + ], + "citations": [ + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_global_reference.py", + "symbol": "test_each_actual_fixed_low_word_reaches_global_reference" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_global_reference.py", + "symbol": "solve_global_ion_reference" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_global_reference.py", + "symbol": "test_global_poisson_and_near_cancelling_sg_match_90_digit_laws" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_global_reference.py", + "symbol": "test_rebased_and_global_maps_agree_only_for_a_global_consistent_origin" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_global_reference.py", + "symbol": "test_baseline_adapter_keeps_actual_zero_lows_high_subtraction_and_other_channels" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_global_reference.py", + "symbol": "baseline_eliminated_operator_diagnostics" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_global_reference.py", + "symbol": "test_baseline_legacy_label_evaluates_old_law_at_both_actual_high_potentials" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_global_reference.py", + "symbol": "test_baseline_rounds_constraint_before_sg_and_retains_failed_full_root_diagnostic" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_global_reference.py", + "symbol": "test_pair_adapter_keeps_low_difference_v2_bindings_and_ignores_direct_sheet" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_global_reference.py", + "symbol": "_pair_case" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_global_reference.py", + "symbol": "test_pair_independent_potential_and_boundary_hooks_remain_effective" + } + ], + "limitation": "Static alias/module/call/fixture chains only; branch execution and independent physics are not inferred.", + "missing_test_artifact": null + }, + { + "capability_id": "experiment-79d7d88479557cc0", + "callable": "perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_reference.solve_rebased_ion_reference", + "chains": [ + { + "test": "tests.unit.experiments.test_r1_global_reference.test_rebased_and_global_maps_agree_only_for_a_global_consistent_origin", + "edges": [ + { + "caller": "tests.unit.experiments.test_r1_global_reference.test_rebased_and_global_maps_agree_only_for_a_global_consistent_origin", + "callee": "perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_reference.solve_rebased_ion_reference", + "line": 200, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_r1_input_lift_reference.test_each_fixed_low_word_changes_the_independent_solution", + "edges": [ + { + "caller": "tests.unit.experiments.test_r1_input_lift_reference.test_each_fixed_low_word_changes_the_independent_solution", + "callee": "perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_reference.solve_rebased_ion_reference", + "line": 158, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_r1_input_lift_reference.test_inputs_own_coefficient_origin_seed_and_fixed_copies", + "edges": [ + { + "caller": "tests.unit.experiments.test_r1_input_lift_reference.test_inputs_own_coefficient_origin_seed_and_fixed_copies", + "callee": "perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_reference.solve_rebased_ion_reference", + "line": 208, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_r1_input_lift_reference.test_integrated_comparison_preserves_floor_and_rejects_bad_direct_rate", + "edges": [ + { + "caller": "tests.unit.experiments.test_r1_input_lift_reference.test_integrated_comparison_preserves_floor_and_rejects_bad_direct_rate", + "callee": "perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_reference.solve_rebased_ion_reference", + "line": 297, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_r1_input_lift_reference.test_manufactured_absolute_root_and_near_cancelling_sg_match_decimal", + "edges": [ + { + "caller": "tests.unit.experiments.test_r1_input_lift_reference.test_manufactured_absolute_root_and_near_cancelling_sg_match_decimal", + "callee": "perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_reference.solve_rebased_ion_reference", + "line": 124, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_r1_input_lift_reference.test_solver_requires_the_validated_dto", + "edges": [ + { + "caller": "tests.unit.experiments.test_r1_input_lift_reference.test_solver_requires_the_validated_dto", + "callee": "perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_reference.solve_rebased_ion_reference", + "line": 290, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_r1_input_lift_reference.test_trial_outputs_and_work_cache_cannot_change_reference", + "edges": [ + { + "caller": "tests.unit.experiments.test_r1_input_lift_reference.test_trial_outputs_and_work_cache_cannot_change_reference", + "callee": "perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_reference.solve_rebased_ion_reference", + "line": 174, + "kind": "call" + } + ] + } + ], + "citations": [ + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_global_reference.py", + "symbol": "test_rebased_and_global_maps_agree_only_for_a_global_consistent_origin" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift_reference.py", + "symbol": "solve_rebased_ion_reference" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_input_lift_reference.py", + "symbol": "test_each_fixed_low_word_changes_the_independent_solution" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_input_lift_reference.py", + "symbol": "test_inputs_own_coefficient_origin_seed_and_fixed_copies" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_input_lift_reference.py", + "symbol": "test_integrated_comparison_preserves_floor_and_rejects_bad_direct_rate" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_input_lift_reference.py", + "symbol": "test_manufactured_absolute_root_and_near_cancelling_sg_match_decimal" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_input_lift_reference.py", + "symbol": "test_solver_requires_the_validated_dto" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_input_lift_reference.py", + "symbol": "test_trial_outputs_and_work_cache_cannot_change_reference" + } + ], + "limitation": "Static alias/module/call/fixture chains only; branch execution and independent physics are not inferred.", + "missing_test_artifact": null + }, + { + "capability_id": "experiment-f13798efea3b69ba", + "callable": "perovskite_sim.experiments.one_dimensional_mechanism_r1_pair_codec.prepare_pair_state", + "chains": [ + { + "test": "tests.unit.experiments.test_r1_v9_pair_codec.test_failed_fine_preparation_retains_full_state_seed_and_original_gates", + "edges": [ + { + "caller": "tests.unit.experiments.test_r1_v9_pair_codec.test_failed_fine_preparation_retains_full_state_seed_and_original_gates", + "callee": "perovskite_sim.experiments.one_dimensional_mechanism_r1_pair_codec.prepare_pair_state", + "line": 202, + "kind": "call" + } + ] + } + ], + "citations": [ + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_v9_pair_codec.py", + "symbol": "test_failed_fine_preparation_retains_full_state_seed_and_original_gates" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_pair_codec.py", + "symbol": "prepare_pair_state" + } + ], + "limitation": "Static alias/module/call/fixture chains only; branch execution and independent physics are not inferred.", + "missing_test_artifact": null + }, + { + "capability_id": "experiment-4f8f2c0e1fbe098f", + "callable": "perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.solve_independent_poisson", + "chains": [ + { + "test": "tests.integration.test_r1_v9_backend.test_independent_constraint_solver_cannot_read_direct_outputs", + "edges": [ + { + "caller": "tests.integration.test_r1_v9_backend.test_independent_constraint_solver_cannot_read_direct_outputs", + "callee": "perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.solve_independent_poisson", + "line": 184, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_r1_global_reference.test_each_actual_fixed_low_word_reaches_global_reference", + "edges": [ + { + "caller": "tests.unit.experiments.test_r1_global_reference.test_each_actual_fixed_low_word_reaches_global_reference", + "callee": "perovskite_sim.experiments.one_dimensional_mechanism_r1_global_reference.solve_global_ion_reference", + "line": 128, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.one_dimensional_mechanism_r1_global_reference.solve_global_ion_reference", + "callee": "perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.solve_independent_poisson", + "line": 338, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_r1_global_reference.test_global_poisson_and_near_cancelling_sg_match_90_digit_laws", + "edges": [ + { + "caller": "tests.unit.experiments.test_r1_global_reference.test_global_poisson_and_near_cancelling_sg_match_90_digit_laws", + "callee": "perovskite_sim.experiments.one_dimensional_mechanism_r1_global_reference.solve_global_ion_reference", + "line": 104, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.one_dimensional_mechanism_r1_global_reference.solve_global_ion_reference", + "callee": "perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.solve_independent_poisson", + "line": 338, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_r1_global_reference.test_rebased_and_global_maps_agree_only_for_a_global_consistent_origin", + "edges": [ + { + "caller": "tests.unit.experiments.test_r1_global_reference.test_rebased_and_global_maps_agree_only_for_a_global_consistent_origin", + "callee": "perovskite_sim.experiments.one_dimensional_mechanism_r1_global_reference.solve_global_ion_reference", + "line": 199, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.one_dimensional_mechanism_r1_global_reference.solve_global_ion_reference", + "callee": "perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.solve_independent_poisson", + "line": 338, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_one_dimensional_mechanism_r1_state.test_forged_dc_pass_flag_does_not_replace_live_equations", + "edges": [ + { + "caller": "tests.unit.experiments.test_one_dimensional_mechanism_r1_state.test_forged_dc_pass_flag_does_not_replace_live_equations", + "callee": "perovskite_sim.experiments.one_dimensional_mechanism_r1_state._make_system", + "line": 409, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.one_dimensional_mechanism_r1_state._make_system", + "callee": "perovskite_sim.experiments.one_dimensional_mechanism_r1_baseline_initial.canonicalize_baseline_initial_dc", + "line": 248, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.one_dimensional_mechanism_r1_baseline_initial.canonicalize_baseline_initial_dc", + "callee": "perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.solve_independent_poisson", + "line": 90, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_r1_baseline_initial.test_make_system_preserves_import_path_and_builds_local_state_once", + "edges": [ + { + "caller": "tests.unit.experiments.test_r1_baseline_initial.test_make_system_preserves_import_path_and_builds_local_state_once", + "callee": "perovskite_sim.experiments.one_dimensional_mechanism_r1_state._make_system", + "line": 166, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.one_dimensional_mechanism_r1_state._make_system", + "callee": "perovskite_sim.experiments.one_dimensional_mechanism_r1_baseline_initial.canonicalize_baseline_initial_dc", + "line": 248, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.one_dimensional_mechanism_r1_baseline_initial.canonicalize_baseline_initial_dc", + "callee": "perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.solve_independent_poisson", + "line": 90, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_r1_baseline_initial.test_initial_solver_failure_has_no_second_attempt_or_old_potential_fallback", + "edges": [ + { + "caller": "tests.unit.experiments.test_r1_baseline_initial.test_initial_solver_failure_has_no_second_attempt_or_old_potential_fallback", + "callee": "tests.unit.experiments.test_r1_baseline_initial._canonicalize", + "line": 139, + "kind": "call" + }, + { + "caller": "tests.unit.experiments.test_r1_baseline_initial._canonicalize", + "callee": "perovskite_sim.experiments.one_dimensional_mechanism_r1_baseline_initial.canonicalize_baseline_initial_dc", + "line": 59, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.one_dimensional_mechanism_r1_baseline_initial.canonicalize_baseline_initial_dc", + "callee": "perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.solve_independent_poisson", + "line": 90, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_r1_baseline_initial.test_only_rounded_potential_reaches_original_binary64_population_map", + "edges": [ + { + "caller": "tests.unit.experiments.test_r1_baseline_initial.test_only_rounded_potential_reaches_original_binary64_population_map", + "callee": "tests.unit.experiments.test_r1_baseline_initial._canonicalize", + "line": 76, + "kind": "call" + }, + { + "caller": "tests.unit.experiments.test_r1_baseline_initial._canonicalize", + "callee": "perovskite_sim.experiments.one_dimensional_mechanism_r1_baseline_initial.canonicalize_baseline_initial_dc", + "line": 59, + "kind": "call" + }, + { + "caller": "perovskite_sim.experiments.one_dimensional_mechanism_r1_baseline_initial.canonicalize_baseline_initial_dc", + "callee": "perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.solve_independent_poisson", + "line": 90, + "kind": "call" + } + ] + } + ], + "citations": [ + { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_v9_backend.py", + "symbol": "test_independent_constraint_solver_cannot_read_direct_outputs" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_precision.py", + "symbol": "solve_independent_poisson" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_global_reference.py", + "symbol": "test_each_actual_fixed_low_word_reaches_global_reference" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_global_reference.py", + "symbol": "solve_global_ion_reference" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_global_reference.py", + "symbol": "test_global_poisson_and_near_cancelling_sg_match_90_digit_laws" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_global_reference.py", + "symbol": "test_rebased_and_global_maps_agree_only_for_a_global_consistent_origin" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_one_dimensional_mechanism_r1_state.py", + "symbol": "test_forged_dc_pass_flag_does_not_replace_live_equations" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_state.py", + "symbol": "_make_system" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_baseline_initial.py", + "symbol": "canonicalize_baseline_initial_dc" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_baseline_initial.py", + "symbol": "test_make_system_preserves_import_path_and_builds_local_state_once" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_baseline_initial.py", + "symbol": "test_initial_solver_failure_has_no_second_attempt_or_old_potential_fallback" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_baseline_initial.py", + "symbol": "_canonicalize" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_baseline_initial.py", + "symbol": "test_only_rounded_potential_reaches_original_binary64_population_map" + } + ], + "limitation": "Static alias/module/call/fixture chains only; branch execution and independent physics are not inferred.", + "missing_test_artifact": null + }, + { + "capability_id": "experiment-eb6d533237d11167", + "callable": "perovskite_sim.experiments.waveform_jv.run_waveform_jv", + "chains": [ + { + "test": "tests.unit.experiments.test_waveform_jacobian.test_dual_ion_waveform_preserves_physics_and_reports_finite_difference", + "edges": [ + { + "caller": "tests.unit.experiments.test_waveform_jacobian.test_dual_ion_waveform_preserves_physics_and_reports_finite_difference", + "callee": "perovskite_sim.experiments.waveform_jv.run_waveform_jv", + "line": 163, + "kind": "call" + } + ] + }, + { + "test": "tests.unit.experiments.test_waveform_jv.test_driver_keeps_declared_state_chain_and_physical_parameters", + "edges": [ + { + "caller": "tests.unit.experiments.test_waveform_jv.test_driver_keeps_declared_state_chain_and_physical_parameters", + "callee": "perovskite_sim.experiments.waveform_jv.run_waveform_jv", + "line": 76, + "kind": "call" + } + ] + } + ], + "citations": [ + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_waveform_jacobian.py", + "symbol": "test_dual_ion_waveform_preserves_physics_and_reports_finite_difference" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/waveform_jv.py", + "symbol": "run_waveform_jv" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_waveform_jv.py", + "symbol": "test_driver_keeps_declared_state_chain_and_physical_parameters" + } + ], + "limitation": "Static alias/module/call/fixture chains only; branch execution and independent physics are not inferred.", + "missing_test_artifact": null + } + ], + "eligibility_policy": "No row presently activates a new-implementation comparison. Original rules/assertions remain source-bound; each missing new target/threshold/reference/IC/environment/error item has a named artifact and dependent route gate. A future active contract must pass reference_map.check_comparison and the actual bound comparator.", + "resource_policy": "Generic P00 mapping only; no HI costs, starts, limits or science qualifications are reset.", + "rule_catalog": { + "rule-c93983c6b245d7ef619c0cd7": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/models/test_bulk_trap_schema.py", + "symbol": "test_default_material_and_mol_paths_fail_closed", + "lines": [ + 92, + 95 + ], + "text_sha256": "241105e909b37e1e0282156a71dcb39431a0b76fdaef351f6af142e28844d7a3" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(\n BulkTrapChargeCapabilityError,\n match=\"not enabled on the default solver path\",\n ):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-4c76fc61282947738f3b0bfa": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/models/test_bulk_trap_schema.py", + "symbol": "test_default_material_and_mol_paths_fail_closed", + "lines": [ + 108, + 111 + ], + "text_sha256": "8722087eaa5e08d2a4c3277f32ae84cd96a03a3fe2bbdb49c1a45f577b15a485" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(\n BulkTrapChargeCapabilityError,\n match=\"production MoL does not include\",\n ):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-f838484536c87b35d8bb9e9e": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_bulk_traps.py", + "symbol": "test_gaussian_delta_limit_recovers_the_single_level_model", + "lines": [ + 151, + 154 + ], + "text_sha256": "387b67587855054531ad9f952c188ad7c5ef0ca6cdd7e60810186fe611c43a91" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert narrow_state.occupancy.item() == pytest.approx(\n single_state.occupancy.item(),\n rel=2.0e-9,\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-333f2517e4c8a22eaf8adf40": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_bulk_traps.py", + "symbol": "test_gaussian_delta_limit_recovers_the_single_level_model", + "lines": [ + 155, + 158 + ], + "text_sha256": "fce25207193fc3e936a081d4840dc96bf3c236270644f4d09101a4e9889d3a1d" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert narrow_state.recombination_rate_m3_s.item() == pytest.approx(\n single_state.recombination_rate_m3_s.item(),\n rel=2.0e-9,\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-0ee74e3710fc011355385cd1": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_bulk_traps.py", + "symbol": "test_gaussian_delta_limit_recovers_the_single_level_model", + "lines": [ + 159, + 162 + ], + "text_sha256": "fbd43299e766021d12cb8da384e24b52d8423f8e7967021712143dfe1c972030" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert narrow_state.charge_density_C_m3.item() == pytest.approx(\n single_state.charge_density_C_m3.item(),\n rel=2.0e-9,\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-ef46bfcc70d1e1f974adddbd": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_bulk_traps.py", + "symbol": "test_recombination_and_charge_tangents_match_centered_differences", + "lines": [ + 184, + 187 + ], + "text_sha256": "6b8ed594fccda785a5335f7ab3c95ba7a526ee1f9710bf60a035ea8794f6e9be" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert state.recombination_derivative_n_s.item() == pytest.approx(\n rate_derivative_n,\n rel=2.0e-8,\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-3e7b950eed58ff1611807c9c": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_bulk_traps.py", + "symbol": "test_recombination_and_charge_tangents_match_centered_differences", + "lines": [ + 188, + 191 + ], + "text_sha256": "e2645857f98abc95d5726175d0a12029f8c5956ad94f52181988b85c48e3ccc0" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert state.recombination_derivative_p_s.item() == pytest.approx(\n rate_derivative_p,\n rel=2.0e-8,\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-e47c7fabcaf8c4ef7082fbef": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_bulk_traps.py", + "symbol": "test_recombination_and_charge_tangents_match_centered_differences", + "lines": [ + 210, + 213 + ], + "text_sha256": "b0ef6f037aab0974435783a0294bfce3573a8a75b6043e67f47bdad008a0c3ef" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert state.charge_number_derivative_potential_m3_V.item() == pytest.approx(\n charge_derivative,\n rel=2.0e-8,\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-0ec4ad044f701b0a94ceb665": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_bulk_trap_equilibrium.py", + "symbol": "test_real_equilibrium_closes_poisson_transport_traps_and_gauss_law", + "lines": [ + 49, + 49 + ], + "text_sha256": "6a9c8c97802fc9dca949a780102841fe493ceb7a86dfb6deab232f09a1a4b1ed" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.newton_iterations <= 20", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-17f710eabe6f0e2e3a3a9e22": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_bulk_trap_equilibrium.py", + "symbol": "test_real_equilibrium_closes_poisson_transport_traps_and_gauss_law", + "lines": [ + 50, + 50 + ], + "text_sha256": "3f75c4c14559e32e08fb27a83399c2cfe2d4f44a0e96a5897e39163b46b6137c" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.maximum_normalized_poisson_residual <= 1.0e-8", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-0ceb7a78d74ec8c2b29da8c6": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_bulk_trap_equilibrium.py", + "symbol": "test_real_equilibrium_closes_poisson_transport_traps_and_gauss_law", + "lines": [ + 51, + 51 + ], + "text_sha256": "bc8c88340a458b9a015c52ce9b1ce0654f5f459d96d5b7fad49b6bb3e13a0795" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.maximum_relative_face_current < 1.0e-12", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-1dd9cb29b9326a1f1ee41a8d": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_bulk_trap_equilibrium.py", + "symbol": "test_real_equilibrium_closes_poisson_transport_traps_and_gauss_law", + "lines": [ + 52, + 52 + ], + "text_sha256": "fbe2c097c21b91f92d790960ddecdd8d6d145b5addb71a7204aa53c045dc44b1" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.maximum_mass_action_relative_error < 1.0e-12", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-113c6009789bee1773f6301e": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_bulk_trap_equilibrium.py", + "symbol": "test_real_equilibrium_closes_poisson_transport_traps_and_gauss_law", + "lines": [ + 53, + 53 + ], + "text_sha256": "9a299a3bb9b837255b2f16f2d8c564fae02c1c1d698af3a7c79b49d986d9e395" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.gauss_law_relative_error < 5.0e-8", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-fa11413b619c28ef6e98b57e": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_bulk_trap_equilibrium.py", + "symbol": "test_real_equilibrium_closes_poisson_transport_traps_and_gauss_law", + "lines": [ + 54, + 54 + ], + "text_sha256": "ba2424a584daffe5c499560db489605eab8e5ed7851e14daad5f674895521ebb" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert 0.0 <= result.minimum_trap_occupancy", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-6375f508e2fa3342006997fa": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_bulk_trap_equilibrium.py", + "symbol": "test_real_equilibrium_closes_poisson_transport_traps_and_gauss_law", + "lines": [ + 55, + 55 + ], + "text_sha256": "ac05bbe1c571807e7abae237de6ea012364089e72b7d9bfcddb06c3c8d64e7d2" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.maximum_trap_occupancy <= 1.0", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-cfb4e926aadf0b5d04ae01a8": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_bulk_trap_equilibrium.py", + "symbol": "test_real_equilibrium_closes_poisson_transport_traps_and_gauss_law", + "lines": [ + 56, + 56 + ], + "text_sha256": "abec3b434e443209f42aefca4f09f40676e026693b9cacc8444d8489cad472ca" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.integrated_bulk_trap_charge_C_m2 < 0.0", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-acb6948cfe1be6b6cac790e6": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_bulk_trap_equilibrium.py", + "symbol": "test_real_equilibrium_closes_poisson_transport_traps_and_gauss_law", + "lines": [ + 57, + 57 + ], + "text_sha256": "58e69395159014348cd3025cde02ffa0861c4e33d9c3434a373213668d44c694" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.left_contact.bulk_trap_state is not None", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-9ed8692c7bf0552b7c99f4fc": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_bulk_trap_equilibrium.py", + "symbol": "test_real_equilibrium_closes_poisson_transport_traps_and_gauss_law", + "lines": [ + 58, + 58 + ], + "text_sha256": "ca304a75b4fb6fd4c1c73e7dee9886c3387b5eef98dea985772077e416778bb6" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.right_contact.bulk_trap_state is not None", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-b5913ba522d56170377caf44": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_bulk_trap_refinement.py", + "symbol": "test_registered_executor_real_cell_matches_exact_contract", + "lines": [ + 105, + 105 + ], + "text_sha256": "ef02fc452ce04ff5830a4016b318364459edcbe72a8cbd815847d4536de1020b" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert set(observables) == {gate.metric for gate in lane.observables}", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-e57eea3fa1f16aa81e6d540a": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_bulk_trap_refinement.py", + "symbol": "test_registered_executor_real_cell_matches_exact_contract", + "lines": [ + 106, + 106 + ], + "text_sha256": "edfdc872fc8ca86fd1a8cd138ae47898d23ee5650b8e5fb0a0049ee2e91c66aa" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert set(quality) == {gate.metric for gate in lane.quality_gates}", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-649af767f732ee330b97e072": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_bulk_trap_refinement.py", + "symbol": "test_registered_executor_real_cell_matches_exact_contract", + "lines": [ + 107, + 110 + ], + "text_sha256": "4ff497070934f9333b021bf325bfa5836b338ab63fbe38478dcf4fd325cfe7bc" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert all(\n observables[gate.metric].units == gate.units\n for gate in lane.observables\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-02a9ddee72c8cea82788817c": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_bulk_trap_refinement.py", + "symbol": "test_registered_executor_real_cell_matches_exact_contract", + "lines": [ + 111, + 114 + ], + "text_sha256": "b029437014c8d7ef09bec65314add8d440acd749d0dfce7308b10dbc2e4fc328" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert all(\n quality[gate.metric].units == gate.units\n for gate in lane.quality_gates\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-993196af157e27dfbb881c45": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_bulk_trap_refinement.py", + "symbol": "test_registered_executor_real_cell_matches_exact_contract", + "lines": [ + 115, + 115 + ], + "text_sha256": "61d7318557d7c34788abf2bb6e35a74e081e9459c6d8f575d64838caa8ecc53f" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert quality[\"bulk_trap_topology_verified\"].values == (1.0,)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-918385497355255dfac969ca": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_bulk_trap_refinement.py", + "symbol": "test_registered_executor_real_cell_matches_exact_contract", + "lines": [ + 116, + 116 + ], + "text_sha256": "b0eaad894d16570fe42e3bf945b395b14116ad406b81cba56e6cb3e74477ca57" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert quality[\"contact_thermodynamics_certified\"].values == (1.0,)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-314ff6154c7ac1a9918dcf06": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_bulk_trap_refinement.py", + "symbol": "test_registered_executor_real_cell_matches_exact_contract", + "lines": [ + 117, + 117 + ], + "text_sha256": "7d26a57a9cb808699ac00efc7e63dd902b03120703910cfafe7185b242aa399a" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert quality[\"default_production_path_rejected\"].values == (1.0,)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-4cf767dd9a3a6f4177c71b30": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_bulk_trap_refinement.py", + "symbol": "test_registered_executor_real_cell_matches_exact_contract", + "lines": [ + 118, + 118 + ], + "text_sha256": "0f821c3076f66ee1e28506cc899dfae0eb5df042141c307c672b8ac28834f125" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert quality[\"max_energy_charge_relative_change\"].values[0] < 0.005", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-a37a4bd82c72402dd86ad290": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_bulk_trap_refinement.py", + "symbol": "test_registered_executor_real_cell_matches_exact_contract", + "lines": [ + 119, + 119 + ], + "text_sha256": "43a62b67a46b6770159103a18e330caffaa61bf0c2efdaf272dd1fb8c7893c1b" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert quality[\"max_energy_recombination_relative_change\"].values[0] < 0.005", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-de84436923d472b02395d3d4": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_bulk_trap_refinement.py", + "symbol": "test_registered_executor_real_cell_matches_exact_contract", + "lines": [ + 120, + 120 + ], + "text_sha256": "c9c136845c8559f84fefc0c2e70c86e438ee2259c40396013ae0da1c3c258f5f" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert quality[\"max_gauss_law_relative_error\"].values[0] < 1.0e-7", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-3746b743a7e1386bd7b84977": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_bulk_trap_refinement.py", + "symbol": "test_registered_executor_real_cell_matches_exact_contract", + "lines": [ + 123, + 123 + ], + "text_sha256": "8e650370e456a643189461c4a059a6cf24d49935db5873089226457d898f276c" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert metadata[\"protocol\"][\"schema_version\"] == metadata[\"protocol_schema\"]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-52fe9511afc886df127f5fef": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_bulk_trap_refinement.py", + "symbol": "test_registered_executor_real_cell_matches_exact_contract", + "lines": [ + 124, + 124 + ], + "text_sha256": "a144662dcf6eff22542a5eaeb88bfd1d13caff7877942f7aac1d715e2d3ba2eb" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert content_sha256(metadata[\"protocol\"]) == metadata[\"protocol_hash\"]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-396a4cb61bad61de9f2aa4f8": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/validation/test_paper_configurations.py", + "symbol": "test_driftfusion_repro_matches_paper_metrics", + "lines": [ + 383, + 386 + ], + "text_sha256": "784279a057d4917731c2e790e21face5c024cb9d5b24f10696d6bac37603ff2e" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert DRIFTFUSION_PAPER.V_oc_min <= metrics.V_oc <= DRIFTFUSION_PAPER.V_oc_max, (\n f\"Driftfusion repro V_oc = {metrics.V_oc:.4f} V outside \"\n f\"[{DRIFTFUSION_PAPER.V_oc_min}, {DRIFTFUSION_PAPER.V_oc_max}]\"\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-bae2ec1dcddc2fcd51e5241b": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/validation/test_paper_configurations.py", + "symbol": "test_driftfusion_repro_matches_paper_metrics", + "lines": [ + 387, + 389 + ], + "text_sha256": "3592b7583098c08d4248de6ccfb46181b3f33e630adb1a4f5aca597d575b6b3a" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert 200.0 <= metrics.J_sc <= 240.0, (\n f\"Driftfusion repro J_sc = {metrics.J_sc:.1f} A/m² outside [200, 240]\"\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-a9fc9eae45911019c52da928": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/validation/test_paper_configurations.py", + "symbol": "test_driftfusion_repro_matches_paper_metrics", + "lines": [ + 390, + 392 + ], + "text_sha256": "626965e346473387a55e11de148cbc2f79e1331868774da3e30f7a9f72f15fe4" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert 0.50 <= metrics.FF <= 0.80, (\n f\"Driftfusion repro FF = {metrics.FF:.4f} outside [0.50, 0.80]\"\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-c0080a626521977b435ed7f0": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/validation/test_paper_configurations.py", + "symbol": "test_driftfusion_repro_matches_paper_metrics", + "lines": [ + 393, + 397 + ], + "text_sha256": "2d9dd8aea0b98518231b88cefd0a7aa1b1504a02b40e6d3c135df21e62876209" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " _assert_registered_reproduction(\n \"calado2016-driftfusion\",\n driftfusion_repro_result,\n load_device_from_yaml(\"tests/fixtures/configs/driftfusion_calado2016_repro.yaml\"),\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-916f904df4ec5c8bdff50281": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "symbol": "test_public_qf_jv_sweep_retains_charged_defect_certificates", + "lines": [ + 704, + 704 + ], + "text_sha256": "aac9be6b68c7fabb23ab79d7d2c49cc157fa79786ee168142b9676cecfd24a32" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert sweep.certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-5124e346ed18994dcc08d450": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "symbol": "test_public_qf_jv_sweep_retains_charged_defect_certificates", + "lines": [ + 705, + 705 + ], + "text_sha256": "2c9787c5f9656186ed4cb54c4a63bb8efa6e56d42f0774317426ee101c00d0e3" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert sweep.voltages_V.tolist() == [0.0, 0.005, 0.01]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-c08b5ce129bf84bb6169553f": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "symbol": "test_public_qf_jv_sweep_retains_charged_defect_certificates", + "lines": [ + 706, + 706 + ], + "text_sha256": "683ae06b8dffba185416c90c40ce5584e7c705b89d2ce5fb9c9467d087ebf823" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert len(sweep.points) == 3", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-529d696bc6a717bef12fb3c8": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "symbol": "test_public_qf_jv_sweep_retains_charged_defect_certificates", + "lines": [ + 707, + 707 + ], + "text_sha256": "6cff674eafa43bcf6dd7e213a46e3218e2c3fe19b0483e24e9db8c70b594f625" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert all(point.bulk_defect_diagnostics is not None for point in sweep.points)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-077e23767dc835c986662fe4": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "symbol": "test_public_qf_jv_sweep_retains_charged_defect_certificates", + "lines": [ + 708, + 710 + ], + "text_sha256": "2143860117c58dc5849b392c214050ac2359521b0159a09668f0e6a4ba0154a9" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert all(\n point.contact_thermodynamic_status == \"certified\" for point in sweep.points\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-083383274d5696ef09b9975a": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/models/test_explicit_defect_schema.py", + "symbol": "test_canonical_document_roundtrip_and_hash_are_stable", + "lines": [ + 107, + 107 + ], + "text_sha256": "988ce8444cb21ca610141ccf49bb763b65aa9283899eeddd2c5c1fa87f0b5743" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert restored == document", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-1dcad04a34437cb19c58e0e1": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/models/test_explicit_defect_schema.py", + "symbol": "test_canonical_document_roundtrip_and_hash_are_stable", + "lines": [ + 108, + 108 + ], + "text_sha256": "1cc53df7ae4fb1c59956f918c40cc356fa1614bfa3c0421a50c75b23081e83aa" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert restored.canonical_json() == document.canonical_json()", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-483915aaa58c6881b58743c0": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/models/test_explicit_defect_schema.py", + "symbol": "test_canonical_document_roundtrip_and_hash_are_stable", + "lines": [ + 109, + 109 + ], + "text_sha256": "10feb6e2ff466dddeabc66c5675dc08c5fe18121eba5c55460aeba92d7c33041" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert restored.sha256 == document.sha256", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-a03eba8dbe85707690b74400": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/models/test_explicit_defect_schema.py", + "symbol": "test_canonical_document_roundtrip_and_hash_are_stable", + "lines": [ + 110, + 110 + ], + "text_sha256": "b76dd62b91956c023cf54e6219358303a57062354e8ad394e714ce19207db590" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert len(document.sha256) == 64", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-c0a9ef510089a4c87eb53a38": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/models/test_explicit_defect_schema.py", + "symbol": "test_canonical_document_roundtrip_and_hash_are_stable", + "lines": [ + 111, + 122 + ], + "text_sha256": "df01640533f680fba1eda05d04b2bd9567b6b2f8e10dc0848d6c5f28849f1d91" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert document.sha256 != replace(\n document,\n bulk_defects=(\n replace(\n _species(),\n distribution=replace(\n _species().distribution,\n total_density_m3=2.0e22,\n ),\n ),\n ),\n ).sha256", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-2732efe23af2884c2218bd55": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_monovalent_defect_closure.py", + "symbol": "test_donor_and_acceptor_share_occupancy_but_use_distinct_charge_reference", + "lines": [ + 153, + 153 + ], + "text_sha256": "a1b16168f71796624022830013700c6aec3b45a515262d8fbf22f481fae7755c" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.occupancy[0].item() == pytest.approx(result.occupancy[1].item())", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-cd2ecd0a9f5c04b9f191ce67": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_monovalent_defect_closure.py", + "symbol": "test_donor_and_acceptor_share_occupancy_but_use_distinct_charge_reference", + "lines": [ + 154, + 157 + ], + "text_sha256": "56437ff9178b520f1ad6818171907ed3ad5594a2caeeb6f3f1e2b4593d0eba8b" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert (\n result.signed_charge_number_density_m3[1].item()\n - result.signed_charge_number_density_m3[0].item()\n ) == pytest.approx(acceptor.distribution.total_density_m3)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-e74678d448c9ed97e6f906cd": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_monovalent_defect_closure.py", + "symbol": "test_donor_and_acceptor_share_occupancy_but_use_distinct_charge_reference", + "lines": [ + 158, + 161 + ], + "text_sha256": "aa4a13b5f87cd4628d9e17a65f0b6277796dd3d473ac946e1c20858d37934e54" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_array_equal(\n result.charge_derivative_n_C[0],\n result.charge_derivative_n_C[1],\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-432f653ce0e5d1c85282ad79": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_monovalent_defect_closure.py", + "symbol": "test_donor_and_acceptor_share_occupancy_but_use_distinct_charge_reference", + "lines": [ + 162, + 165 + ], + "text_sha256": "8c7ff5e34d4bcf57737adc32a2ce180297b401b4aa2ba920fa217ddf842ab456" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_array_equal(\n result.charge_derivative_p_C[0],\n result.charge_derivative_p_C[1],\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-2654d92f46ac1c58fb647adc": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_charged_defect_refinement.py", + "symbol": "test_registered_executor_real_cell_matches_exact_contract", + "lines": [ + 163, + 163 + ], + "text_sha256": "ef02fc452ce04ff5830a4016b318364459edcbe72a8cbd815847d4536de1020b" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert set(observables) == {gate.metric for gate in lane.observables}", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-edbfa4f1724a940ec6cdf310": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_charged_defect_refinement.py", + "symbol": "test_registered_executor_real_cell_matches_exact_contract", + "lines": [ + 164, + 164 + ], + "text_sha256": "edfdc872fc8ca86fd1a8cd138ae47898d23ee5650b8e5fb0a0049ee2e91c66aa" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert set(quality) == {gate.metric for gate in lane.quality_gates}", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-3e84bb9b85b81113721af773": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_charged_defect_refinement.py", + "symbol": "test_registered_executor_real_cell_matches_exact_contract", + "lines": [ + 165, + 167 + ], + "text_sha256": "e4bcee08e22875152747aa9b9f22f28c6e25e3b44b4aa665ab49d18891068e3d" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert all(\n observables[gate.metric].units == gate.units for gate in lane.observables\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-108cda0c2e49451ffe8144b7": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_charged_defect_refinement.py", + "symbol": "test_registered_executor_real_cell_matches_exact_contract", + "lines": [ + 168, + 170 + ], + "text_sha256": "c4a6de085f7c1fde5cd925f05203236272b28fbb91d4d78cea36b2daff125b6f" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert all(\n quality[gate.metric].units == gate.units for gate in lane.quality_gates\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-5bae276682994d4572e37e4d": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_charged_defect_refinement.py", + "symbol": "test_registered_executor_real_cell_matches_exact_contract", + "lines": [ + 171, + 171 + ], + "text_sha256": "fea4ef954e6bc429e4ed69366632357adbecd3c7015a75a712a22d49759188aa" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert quality[\"all_states_certified\"].values == (1.0,)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-2a24fdb2663ac0afc7d79ddb": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_charged_defect_refinement.py", + "symbol": "test_registered_executor_real_cell_matches_exact_contract", + "lines": [ + 172, + 172 + ], + "text_sha256": "8920c0334f976fafae4f1e79f1f93f84eaa5024a3aedc493bb869ec177c4eac7" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert quality[\"charged_model_hashes_verified\"].values == (1.0,)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-53b3b8f21f5dbe6e3015aea4": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_charged_defect_refinement.py", + "symbol": "test_registered_executor_real_cell_matches_exact_contract", + "lines": [ + 173, + 173 + ], + "text_sha256": "a0ba493ab0df31e522127d8363f35a2e141eea1a365b0142d111c8129c6ed014" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert quality[\"charge_signs_verified\"].values == (1.0,)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-325f0f1bd234037a8ebcf6e2": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_charged_defect_refinement.py", + "symbol": "test_registered_executor_real_cell_matches_exact_contract", + "lines": [ + 174, + 174 + ], + "text_sha256": "b0eaad894d16570fe42e3bf945b395b14116ad406b81cba56e6cb3e74477ca57" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert quality[\"contact_thermodynamics_certified\"].values == (1.0,)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-56eb834f56a37fd9973fcbbd": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_charged_defect_refinement.py", + "symbol": "test_registered_executor_real_cell_matches_exact_contract", + "lines": [ + 175, + 175 + ], + "text_sha256": "357d6c476166489c6a56162afa4aa0b5a91037fcdf9b523eda821a3ac9ae726b" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert quality[\"default_charged_path_rejected\"].values == (1.0,)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-c1f797628a2e6439a1013c4c": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_charged_defect_refinement.py", + "symbol": "test_registered_executor_real_cell_matches_exact_contract", + "lines": [ + 176, + 176 + ], + "text_sha256": "2f47bfdac230e957951d1552d15e9a0e2898425f09f820c8a8558efa021c9fe0" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert quality[\"monovalent_topology_verified\"].values == (1.0,)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-6284c78b89d1c597b79a3477": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_charged_defect_refinement.py", + "symbol": "test_registered_executor_real_cell_matches_exact_contract", + "lines": [ + 177, + 177 + ], + "text_sha256": "8d8350a81e4729fe163d2f54384d311853ef5dd8ca1784160565a6a7e1edc6cd" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert quality[\"neutral_lifetime_bit_identical\"].values == (1.0,)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-944ac492e1aa6db2fce3d62a": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_charged_defect_refinement.py", + "symbol": "test_registered_executor_real_cell_matches_exact_contract", + "lines": [ + 178, + 178 + ], + "text_sha256": "a1a3d0c89591dc43cd441b1ce8cc2f2a79c11e047ab09a9860a7ab8e12729051" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert quality[\"occupancy_bounded_without_clipping\"].values == (1.0,)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-ec42aafbb307a0b40455978c": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_import_scaps_defect_reference.py", + "symbol": "test_importer_hashes_all_raw_exports_decks_manifest_and_suite", + "lines": [ + 158, + 158 + ], + "text_sha256": "21f24b5af381054624907b4666443010e96ab687a55d5775f7465b4a853102f5" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert module.main(arguments) == 0", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-04dd57cb72d1712385ddb16b": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_import_scaps_defect_reference.py", + "symbol": "test_importer_hashes_all_raw_exports_decks_manifest_and_suite", + "lines": [ + 161, + 161 + ], + "text_sha256": "0fef34395455a5b93db50c72cb4adb9149bff67ac6848d74a599c3ca7518cca9" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert payload[\"schema\"] == \"solarlab.scaps_explicit_defect_reference\"", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-3feee716bf4a0bd6153348f2": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_import_scaps_defect_reference.py", + "symbol": "test_importer_hashes_all_raw_exports_decks_manifest_and_suite", + "lines": [ + 162, + 166 + ], + "text_sha256": "065beee1af066973209b333f45191a37ce95f505b084aebd114f505002862694" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert payload[\"attestation\"] == {\n \"direct_unmodified_rows\": True,\n \"independent_scaps_export\": True,\n \"operator\": \"independent-scaps-operator\",\n }", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-2e4d9b5d984f1e4dbc69c564": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_import_scaps_defect_reference.py", + "symbol": "test_importer_hashes_all_raw_exports_decks_manifest_and_suite", + "lines": [ + 169, + 169 + ], + "text_sha256": "176ec924dfc0bcc974a723aa18b5c6a50f3467caab5638ecebe0b8911cf3f396" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert digest == module._content_sha256(unsigned)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-f64994cabdaeb0d49577ea77": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_import_scaps_defect_reference.py", + "symbol": "test_importer_hashes_all_raw_exports_decks_manifest_and_suite", + "lines": [ + 170, + 172 + ], + "text_sha256": "ed87bb6d45b914747341876b4d1ddab17bad80dbc000249c1ebbaef71c78ef43" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert payload[\"suite\"][\"sha256\"] == hashlib.sha256(\n (ROOT / \"reproducibility/ScapsDefectS0S2Suite.json\").read_bytes()\n ).hexdigest()", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-b1b0ed2bdbddbce7e2539701": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_import_scaps_defect_reference.py", + "symbol": "test_importer_hashes_all_raw_exports_decks_manifest_and_suite", + "lines": [ + 175, + 175 + ], + "text_sha256": "9c9e3a53b14050f8888f08f415fceadcf9e5adced08d12bebe7af1544e08a00c" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert scenario[\"row_count\"] == 3", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-38b799a9f173eba3f020cf0c": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_import_scaps_defect_reference.py", + "symbol": "test_importer_hashes_all_raw_exports_decks_manifest_and_suite", + "lines": [ + 176, + 176 + ], + "text_sha256": "3efbb2726db364d901dc30cab6a16f678f4c1ce98019ad1447247e4617b53c5c" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert scenario[\"profile\"][\"position_um\"] == [0.0, 0.15, 0.3]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-c225ca73f009ddab8a9ae0dd": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_import_scaps_defect_reference.py", + "symbol": "test_importer_hashes_all_raw_exports_decks_manifest_and_suite", + "lines": [ + 177, + 179 + ], + "text_sha256": "3161d2a3537d66d7209e4d5e7313a2ede6965673d7d09601c37920f82d2705d8" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert scenario[\"source_export\"][\"sha256\"] == hashlib.sha256(\n files[f\"{identifier}_csv\"].read_bytes()\n ).hexdigest()", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-94d52870440505f27c8dd411": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_import_scaps_defect_reference.py", + "symbol": "test_importer_hashes_all_raw_exports_decks_manifest_and_suite", + "lines": [ + 180, + 182 + ], + "text_sha256": "0dd52f019aafdccae99d879f86eca04f5d654d73685e5df188a0def075386576" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert scenario[\"source_deck\"][\"sha256\"] == hashlib.sha256(\n files[f\"{identifier}_deck\"].read_bytes()\n ).hexdigest()", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-5d860fdbe9200b4f7991f7f0": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_cigs_graded_optics.py", + "symbol": "test_minoura_high_energy_absorption_agrees_with_independent_carron_model", + "lines": [ + 174, + 174 + ], + "text_sha256": "16aca62ebe56f0d3a75324bd5c2338c55408c60cd0dad224fe3306dade0a0d3c" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.min(ratio) > 0.75", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-d73124a799fb31edd43a5c30": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_cigs_graded_optics.py", + "symbol": "test_minoura_high_energy_absorption_agrees_with_independent_carron_model", + "lines": [ + 175, + 175 + ], + "text_sha256": "301ce4fe4d452064fe0a15fa53ef569df4b0837283142be9fc48741db92dde2c" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.max(ratio) < 1.15", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-28949906cd09b1455c2fd467": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_cigs_graded_optics.py", + "symbol": "test_minoura_high_energy_absorption_agrees_with_independent_carron_model", + "lines": [ + 176, + 176 + ], + "text_sha256": "8b97e52af7d496c29c5601936ac01e1873536f1e47075c72bd3e7919d47bea2c" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.median(np.abs(ratio - 1.0)) < 0.05", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-7464932d2e8193652c142df7": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_cigs_graded_optics.py", + "symbol": "test_shipped_research_config_builds_finite_photon_bounded_generation", + "lines": [ + 53, + 53 + ], + "text_sha256": "06202aefd758bd7cd754dcab2ffe5529f343a6ddd9a0a712cdb3a3c43aa517e8" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert stack.band_grading", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-d9f4dff3413e1cfc326dd918": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_cigs_graded_optics.py", + "symbol": "test_shipped_research_config_builds_finite_photon_bounded_generation", + "lines": [ + 54, + 54 + ], + "text_sha256": "1cda053cc3ec0026887dd13e94474ec643619d2e71837e8ae3402e7e5e3e6257" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert stack.graded_optics", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-55037d74eeda6f0ccd2df087": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_cigs_graded_optics.py", + "symbol": "test_shipped_research_config_builds_finite_photon_bounded_generation", + "lines": [ + 56, + 56 + ], + "text_sha256": "8f326cf08f9273110362969a8260c54dd47e0e9d7b1517b30ea8d6336506a850" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert absorber.params.cigs_graded_optics.slices == 25", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-105dca70699e9c8236c139d4": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_cigs_graded_optics.py", + "symbol": "test_shipped_research_config_builds_finite_photon_bounded_generation", + "lines": [ + 57, + 57 + ], + "text_sha256": "44fb5ec066561faaad506eebf3bcfd960a27fb9be9ff900715f2500f3c09be88" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert absorber.params.cigs_graded_optics.kk_quadrature_order == 192", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-6bee914817772993e4a83780": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_cigs_graded_optics.py", + "symbol": "test_shipped_research_config_builds_finite_photon_bounded_generation", + "lines": [ + 61, + 61 + ], + "text_sha256": "f3e74f68c5990854eddb777a2c17a3be6ae2e0ee871f1d89de1b96b7d54cbe12" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert material.G_optical is not None", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-c7fb16ee5f1a0e5fb32709b1": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_cigs_graded_optics.py", + "symbol": "test_shipped_research_config_builds_finite_photon_bounded_generation", + "lines": [ + 62, + 62 + ], + "text_sha256": "6bcb7bb26ef30a5265b57826f0a8937a027353f4459d37fcc3a866b592b6234b" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.all(np.isfinite(material.G_optical))", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-a921ff2d384b7b8feaab0453": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_cigs_graded_optics.py", + "symbol": "test_shipped_research_config_builds_finite_photon_bounded_generation", + "lines": [ + 63, + 63 + ], + "text_sha256": "5fe0a58fcc5b635efe76e8a37af25f4bb8a4205b71c019cce39477faa841d8aa" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.all(material.G_optical >= 0.0)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-ea70a8835430c147eb543c18": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_cigs_graded_optics.py", + "symbol": "test_shipped_research_config_builds_finite_photon_bounded_generation", + "lines": [ + 73, + 73 + ], + "text_sha256": "f27551e89d1fca099eb2ff4f118cf5b3bdb2eb42f2155fff9a772a71f9c4e9ea" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert 0.0 < absorbed_flux <= incident_flux * (1.0 + 2e-12)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-09c325758d97188ea3e6ca46": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_cigs_graded_optics.py", + "symbol": "test_uniform_composition_slice_limit_matches_one_homogeneous_layer", + "lines": [ + 154, + 159 + ], + "text_sha256": "08d538d2a168928afe9e5cb6b39fb8b5c245d6c1a343885a4374efc2081d592d" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_allclose(\n tmm_reflectance(one.layers, wavelengths_m),\n tmm_reflectance(many.layers, wavelengths_m),\n rtol=2e-11,\n atol=2e-12,\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-527a5fab9c8dd7e9d094a643": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_cigs_optics_refinement.py", + "symbol": "test_registered_executor_real_cell_matches_exact_contract", + "lines": [ + 116, + 116 + ], + "text_sha256": "ef02fc452ce04ff5830a4016b318364459edcbe72a8cbd815847d4536de1020b" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert set(observables) == {gate.metric for gate in lane.observables}", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-56d4878e47b58f15d187c213": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_cigs_optics_refinement.py", + "symbol": "test_registered_executor_real_cell_matches_exact_contract", + "lines": [ + 117, + 117 + ], + "text_sha256": "edfdc872fc8ca86fd1a8cd138ae47898d23ee5650b8e5fb0a0049ee2e91c66aa" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert set(quality) == {gate.metric for gate in lane.quality_gates}", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-605669802fc6d8699a75d528": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_cigs_optics_refinement.py", + "symbol": "test_registered_executor_real_cell_matches_exact_contract", + "lines": [ + 118, + 121 + ], + "text_sha256": "4ff497070934f9333b021bf325bfa5836b338ab63fbe38478dcf4fd325cfe7bc" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert all(\n observables[gate.metric].units == gate.units\n for gate in lane.observables\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-59efc41475a701a15d9a9cbc": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_cigs_optics_refinement.py", + "symbol": "test_registered_executor_real_cell_matches_exact_contract", + "lines": [ + 122, + 125 + ], + "text_sha256": "b029437014c8d7ef09bec65314add8d440acd749d0dfce7308b10dbc2e4fc328" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert all(\n quality[gate.metric].units == gate.units\n for gate in lane.quality_gates\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-25a6828f47333c9fc1abea8b": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_cigs_optics_refinement.py", + "symbol": "test_registered_executor_real_cell_matches_exact_contract", + "lines": [ + 126, + 126 + ], + "text_sha256": "cd20158cb8fd15d99ea68c8c8093cb01804bfefc3efa4f68b63a06f37b34f563" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert quality[\"causal_nk_verified\"].values == (1.0,)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-6657a2c3f98ee2dafaa098d3": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_cigs_optics_refinement.py", + "symbol": "test_registered_executor_real_cell_matches_exact_contract", + "lines": [ + 127, + 127 + ], + "text_sha256": "042108ee827ad1222407bc5262e58e9f94608f405a14e6d3b77606ffa9cb66b2" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert quality[\"cigs_optical_topology_verified\"].values == (1.0,)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-9b18f7cd8a5caa42b576f944": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_cigs_optics_refinement.py", + "symbol": "test_registered_executor_real_cell_matches_exact_contract", + "lines": [ + 128, + 128 + ], + "text_sha256": "de9ab900fc8cca9e6d38895cbbf5df1704beafe25f0b92a26362f5cde0044937" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert quality[\"default_gate_off_inert\"].values == (1.0,)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-b731be49aa904d974a1876ea": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_cigs_optics_refinement.py", + "symbol": "test_registered_executor_real_cell_matches_exact_contract", + "lines": [ + 129, + 131 + ], + "text_sha256": "dd2815d40194ba189bb15a5729ee444b0eb08471bae6acc1b226619bc3b7ff16" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert quality[\"independent_carron_energy_points_completed\"].values == (\n 453.0,\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-42cd4c7fb93022a32f6cd82d": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_cigs_optics_refinement.py", + "symbol": "test_registered_executor_real_cell_matches_exact_contract", + "lines": [ + 132, + 132 + ], + "text_sha256": "44078944e3ef359294c406926116b09be3b88e15c6168db1e42c2b39e1e9151b" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert quality[\"max_photon_budget_excess_fraction\"].values == (0.0,)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-2876916d8ce6c5bb14cd36b4": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_cigs_optics_refinement.py", + "symbol": "test_registered_executor_real_cell_matches_exact_contract", + "lines": [ + 133, + 135 + ], + "text_sha256": "c1dc825865320953a738435968e560e001f553639524ce2d592d60c366f9ec0e" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert quality[\"max_uniform_composition_reflectance_difference\"].values[0] < (\n 1.0e-12\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-10d7925f9bf5fb3f294db07f": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_cigs_optics_refinement.py", + "symbol": "test_registered_executor_real_cell_matches_exact_contract", + "lines": [ + 138, + 138 + ], + "text_sha256": "8e650370e456a643189461c4a059a6cf24d49935db5873089226457d898f276c" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert metadata[\"protocol\"][\"schema_version\"] == metadata[\"protocol_schema\"]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-15d7f499fb7256e0f1903b99": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_cigs_optics_refinement.py", + "symbol": "test_registered_executor_real_cell_matches_exact_contract", + "lines": [ + 139, + 139 + ], + "text_sha256": "a144662dcf6eff22542a5eaeb88bfd1d13caff7877942f7aac1d715e2d3ba2eb" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert content_sha256(metadata[\"protocol\"]) == metadata[\"protocol_hash\"]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-928cfd076de614e0ddd7c0c7": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_grading_cigs_notch.py", + "symbol": "test_cigs_back_grading_certifies_at_production_grid", + "lines": [ + 279, + 279 + ], + "text_sha256": "ccac18b684872003f2129b98a60d96f1d27a9190687bbdb70b9b2b311094e47b" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert len(build_electrical_grid(base, 120)) - 1 == 120", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-9fd364b81d5b7673421c3d1b": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_grading_cigs_notch.py", + "symbol": "test_cigs_back_grading_certifies_at_production_grid", + "lines": [ + 280, + 280 + ], + "text_sha256": "f42d2e6fbd776dff139a9761b85c44c4be532e529895fc308840e9fbcf47c54a" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert len(build_electrical_grid(graded, 120)) - 1 == 160", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-eee83d3a3ee9017195c92453": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_grading_cigs_notch.py", + "symbol": "test_cigs_back_grading_certifies_at_production_grid", + "lines": [ + 281, + 281 + ], + "text_sha256": "350b5e23a1635028376ec0fa9f84b429ff04b79f809164989ffcd944a900401f" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert res_off.certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-9060655a3217da43e29449f6": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_grading_cigs_notch.py", + "symbol": "test_cigs_back_grading_certifies_at_production_grid", + "lines": [ + 282, + 282 + ], + "text_sha256": "b305b0b0cf84bd7e3329c9126687c2053f1821fd04b2437ded265da64f8a8c76" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert res_on.certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-be9918e65fd57d41cf958c6c": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_grading_cigs_notch.py", + "symbol": "test_cigs_back_grading_certifies_at_production_grid", + "lines": [ + 283, + 283 + ], + "text_sha256": "19ec10726722c176fbae5a0fe7d5ad79b315a3284dee01742a8d9916cf101a72" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert abs(res_off.hysteresis_index) < 1.0e-3", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-1ce68c8fa6909f7330e2334c": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_grading_cigs_notch.py", + "symbol": "test_cigs_back_grading_certifies_at_production_grid", + "lines": [ + 284, + 284 + ], + "text_sha256": "d3df8e3573f43384364c127bdc0376c91ac08f416094096a18647cca80d3bc33" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert abs(res_on.hysteresis_index) < 1.0e-3", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-5eca65539e0fd909828412fb": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_grading_cigs_notch.py", + "symbol": "test_cigs_back_grading_certifies_at_production_grid", + "lines": [ + 285, + 287 + ], + "text_sha256": "3205dfd365756a1daef810a671679d7e001074bb111afe06f819595130cfd32c" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert res_on.metrics_fwd.J_sc == pytest.approx(\n res_off.metrics_fwd.J_sc, rel=0.10,\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-e2dce92f42a8c53f55a45f85": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_grading_cigs_notch.py", + "symbol": "test_cigs_back_grading_certifies_at_production_grid", + "lines": [ + 288, + 288 + ], + "text_sha256": "e4f7cbb683832718bdd683568f89d87f9431491219de2967f8b8f5d2abe18590" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert res_on.metrics_fwd.V_oc >= res_off.metrics_fwd.V_oc + 1.0e-3", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-14f5329ddc918df8afb1b725": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_grading_cigs_notch.py", + "symbol": "test_cigs_back_grading_certifies_at_production_grid", + "lines": [ + 296, + 296 + ], + "text_sha256": "840063047c59232bfe8d6be117ff7a2753c062a253411fe3a846f79f31c882a8" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert abs(result.metrics_fwd.V_oc - result.metrics_rev.V_oc) < 1.0e-4", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-4afb617e89741fb0dea12b83": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_grading_cigs_notch.py", + "symbol": "test_cigs_back_grading_certifies_at_production_grid", + "lines": [ + 291, + 291 + ], + "text_sha256": "b07d9020e7a6a075332f4dd1530a70fbe1e0763d9da0edce7a98a584231d773f" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert metrics.voc_bracketed", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-a6d4fc489cd82d0d7c988ce2": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_grading_cigs_notch.py", + "symbol": "test_cigs_back_grading_certifies_at_production_grid", + "lines": [ + 292, + 292 + ], + "text_sha256": "ac1342e5eb58127481979f6bcfd6829f4c539ed1b327499e2a459bd9d49b324c" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert 0.0 < metrics.J_sc <= Q * stack.Phi * (1.0 + 1.0e-6)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-a985368d56e33bb535546c35": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_grading_cigs_notch.py", + "symbol": "test_cigs_back_grading_certifies_at_production_grid", + "lines": [ + 293, + 293 + ], + "text_sha256": "5c0fee6119c53c409b24132ff269ff0b59fb3abaecc440d2b950387e9ce5aaaf" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert 0.0 < metrics.V_oc < 1.05", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-3cb68f22c239ab40cc9f69a4": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_grading_cigs_notch.py", + "symbol": "test_cigs_back_grading_raises_voc_without_jsc_collapse", + "lines": [ + 248, + 248 + ], + "text_sha256": "9cadc9662d7679bd2b0c6ae01f7eddaa92526b88ae7c14cbf31a216ed8b12c0c" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.all(np.isfinite(J_on)), \"graded sweep produced non-finite J\"", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-64727c3eac9fb4e01d02cec9": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_grading_cigs_notch.py", + "symbol": "test_cigs_back_grading_raises_voc_without_jsc_collapse", + "lines": [ + 249, + 249 + ], + "text_sha256": "3f31119a6aa08354b4d358d9a35d7d1c1bfea83eaf260456a8cc89d80dbdb326" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.all(np.isfinite(J_off))", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-603dafd7ce04a6e4427485fe": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_grading_cigs_notch.py", + "symbol": "test_cigs_back_grading_raises_voc_without_jsc_collapse", + "lines": [ + 256, + 258 + ], + "text_sha256": "766ce23a6f0364944001d2e6ba0471176050831c32a5a3cac298caabb437f92e" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert m_on.J_sc == pytest.approx(m_off.J_sc, rel=0.10), (\n f\"J_sc collapsed: {m_off.J_sc:.1f} -> {m_on.J_sc:.1f}\"\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-3910d7ca69a0516323a5f449": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_grading_cigs_notch.py", + "symbol": "test_cigs_back_grading_raises_voc_without_jsc_collapse", + "lines": [ + 261, + 261 + ], + "text_sha256": "30312bf98b14d28c31cbb0be553f2065c92734f3932b6f4d409eaf150d4d9ac3" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert m_off.voc_bracketed, \"ungraded CIGS curve did not bracket V_oc\"", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-632df622ba7d50bb71d38350": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_grading_cigs_notch.py", + "symbol": "test_cigs_back_grading_raises_voc_without_jsc_collapse", + "lines": [ + 262, + 262 + ], + "text_sha256": "3b4d41f0bdfa03dd1a4c1b48ae14e99f3b8d9e839019177a0fa0b8a6755a771e" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert m_on.voc_bracketed, \"graded CIGS curve did not bracket V_oc\"", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-e00987f78c972ac6e4944493": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_grading_cigs_notch.py", + "symbol": "test_cigs_back_grading_raises_voc_without_jsc_collapse", + "lines": [ + 263, + 265 + ], + "text_sha256": "ec1945b7cdbd0f407bf7049e0a5b3a638c16db1f6f2deed9428b59d7c3a4a492" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert m_on.V_oc >= m_off.V_oc - 1e-3, (\n f\"back-surface field did not help V_oc: {m_off.V_oc:.4f} -> {m_on.V_oc:.4f}\"\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-c50e6307c290b0ff2eb34f94": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_grading_cigs_notch.py", + "symbol": "test_cigs_back_grading_raises_voc_without_jsc_collapse", + "lines": [ + 267, + 267 + ], + "text_sha256": "987811c2b9adacc95f0fa807c18e6c1a598f6ddd1306aa790e50eeec59eca263" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-c4e54b15ddbe780dc1e39c69": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_grading_cigs_notch.py", + "symbol": "test_cigs_back_grading_raises_voc_without_jsc_collapse", + "lines": [ + 268, + 268 + ], + "text_sha256": "5175a12fc86b234883f6424681b4db1c0accf4bbe8a0fb9dbe24a6b49f2a3ab2" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert abs(result.hysteresis_index) < 1.0e-3", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-eac2e441301918ebd7b90010": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_grading_cigs_notch.py", + "symbol": "test_cigs_back_grading_raises_voc_without_jsc_collapse", + "lines": [ + 270, + 270 + ], + "text_sha256": "6e231cbe5865f64239e3bb737b734234016643330f4f55de03f2f6233a2c7145" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert 0.0 < metrics.FF <= 1.0", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-5566cb7cb2e99f7d8ed050bd": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_grading_cigs_notch.py", + "symbol": "test_cigs_back_grading_raises_voc_without_jsc_collapse", + "lines": [ + 271, + 271 + ], + "text_sha256": "33a2594a48de751f4b138171b902331f02ed85194d03d62b3f61c4e4c63ce6bb" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert 0.0 < metrics.PCE <= 1.0", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-9b2c41ee4d68dbad386bb4ca": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_grading_cigs_notch.py", + "symbol": "test_cigs_n_left_voltage_conventions_are_explicit", + "lines": [ + 197, + 197 + ], + "text_sha256": "ec1ded2cac8e3abf331ddddd4e9fffd615233ba88bb2bd81d78c825dfc82e32f" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert base.compute_V_bi() < 0.0", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-3b4175be71b5092cedb48661": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_grading_cigs_notch.py", + "symbol": "test_cigs_n_left_voltage_conventions_are_explicit", + "lines": [ + 198, + 198 + ], + "text_sha256": "604ca2f41f1000a18f76ebcac7c946a57cad825c4208b12050f756036e8a414d" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert base.V_bi > 0.0", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-27e59f47de5997797fa58c83": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_grading_cigs_notch.py", + "symbol": "test_cigs_n_left_voltage_conventions_are_explicit", + "lines": [ + 199, + 199 + ], + "text_sha256": "7cca1945d06a7a8d8167e26ea36132efe646bf8b680c508be202b9714c10b1d1" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert base.V_bi == pytest.approx(abs(base.compute_V_bi()))", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-42d1506e562e909c006ba837": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_grading_cigs_notch.py", + "symbol": "test_cigs_n_left_voltage_conventions_are_explicit", + "lines": [ + 200, + 200 + ], + "text_sha256": "5133f627f7001db2dfce2a94096753ef22487ea8eb30010ea7861240d0926cf9" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert mat.junction_polarity == -1.0", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-e5294fad4b1c173b52a32d91": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_grading_cigs_notch.py", + "symbol": "test_cigs_n_left_voltage_conventions_are_explicit", + "lines": [ + 201, + 201 + ], + "text_sha256": "740921cd74101969707df4ee699c50d961f3892b53ba20d0f7ae46675918fafc" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert mat.V_bi_bc == pytest.approx(-base.V_bi)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-01b53522f44653900680a2fa": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_grading_cigs_notch.py", + "symbol": "test_cigs_n_left_voltage_conventions_are_explicit", + "lines": [ + 202, + 202 + ], + "text_sha256": "e059646fcc9eb9b1f733d33c3fb16d3bc3c8445f7fd9facc9408854f96cbc46d" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert poisson_right_boundary(mat, 0.0) == pytest.approx(-base.V_bi)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-c081415be17db2465c54912c": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_grading_cigs_notch.py", + "symbol": "test_cigs_n_left_voltage_conventions_are_explicit", + "lines": [ + 203, + 203 + ], + "text_sha256": "4a19c5ac596800d13223d5589276dd4414f2803fda0aa542529eec1d34428d71" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert poisson_right_boundary(mat, 0.4) == pytest.approx(-base.V_bi + 0.4)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-22e93e63d18c85a0472e383e": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_grading_cigs_notch.py", + "symbol": "test_cigs_observations_match_reproducibility_registry", + "lines": [ + 374, + 374 + ], + "text_sha256": "f200d59899d9317fea5e64ed18c6b8c622ccdfd0f78e3be4fadbb5b612055ef6" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert set(observed_grid) == set(grid_results)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-2165810186e71efb0530a871": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_grading_cigs_notch.py", + "symbol": "test_cigs_observations_match_reproducibility_registry", + "lines": [ + 356, + 358 + ], + "text_sha256": "fa917833096f1bdb87b4e4f5210d0a617fc466198278ce7da18de91f4f6e5c41" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert metrics.V_oc == pytest.approx(\n observed[\"Voc_V\"], abs=tolerance[\"Voc_V\"],\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-17f8f55c0bfaf1b5268cb2ef": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_grading_cigs_notch.py", + "symbol": "test_cigs_observations_match_reproducibility_registry", + "lines": [ + 359, + 361 + ], + "text_sha256": "58bf82ff3ccef71a215fad2094bff17dc5e5aead1ac338bbbc34aaf61eb9a607" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert metrics.J_sc == pytest.approx(\n observed[\"Jsc_A_m2\"], abs=tolerance[\"Jsc_A_m2\"],\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-0eabc5ce6bb2aa43152d1a56": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_grading_cigs_notch.py", + "symbol": "test_cigs_observations_match_reproducibility_registry", + "lines": [ + 362, + 364 + ], + "text_sha256": "2ebb7a4db4bf7829e6a9f62975296b6adeb5ef985c7db2028b89566460d3f74f" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert metrics.FF == pytest.approx(\n observed[\"FF\"], abs=tolerance[\"FF\"],\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-2a9f207b057ab222cb8ff2b4": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_grading_cigs_notch.py", + "symbol": "test_cigs_observations_match_reproducibility_registry", + "lines": [ + 365, + 367 + ], + "text_sha256": "1ca04713404e97d007a72116b9826631b5c74d3fab01456be179d2b658485df0" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert 100.0 * metrics.PCE == pytest.approx(\n observed[\"PCE_percent\"], abs=tolerance[\"PCE_percent\"],\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-b846474c392ce388e14885f0": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_grading_cigs_notch.py", + "symbol": "test_cigs_observations_match_reproducibility_registry", + "lines": [ + 380, + 382 + ], + "text_sha256": "e14cf6bd1efcc4a792c3332ef90f3f299adf5fd9342a10e360b2aa3eada05067" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " _assert_metrics(\n ungraded.metrics_fwd, observed_grading[\"ungraded_robin\"],\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-4efc4c28383ef88679ccf754": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_grading_cigs_notch.py", + "symbol": "test_cigs_observations_match_reproducibility_registry", + "lines": [ + 383, + 385 + ], + "text_sha256": "45588d4c9676e30eb54d5a509ae14141502f719ce9c2a3408b6fb96be2d59602" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " _assert_metrics(\n graded.metrics_fwd, observed_grading[\"graded_robin\"],\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-5a391b445d1a61433018ea91": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_grading_cigs_notch.py", + "symbol": "test_cigs_observations_match_reproducibility_registry", + "lines": [ + 376, + 376 + ], + "text_sha256": "0ae136853fec5a93f1ca0e47934fb8d5853dff61b0b05ef0e66093c5a45c4d45" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " _assert_metrics(result.metrics_fwd, observed_grid[n_grid])", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-bb98221a964d7020359b8c89": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_grading_cigs_notch.py", + "symbol": "test_cigs_ungraded_production_grid_ladder_is_physical", + "lines": [ + 308, + 308 + ], + "text_sha256": "caaa6c9ee432183543cfa72a41598608a1d7937aa6a909e798a25c9c2afff021" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert actual_intervals == (39, 78, 120)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-4331f2c3a73aa19c6c0114cb": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_grading_cigs_notch.py", + "symbol": "test_cigs_ungraded_production_grid_ladder_is_physical", + "lines": [ + 311, + 311 + ], + "text_sha256": "987811c2b9adacc95f0fa807c18e6c1a598f6ddd1306aa790e50eeec59eca263" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-aaedc04639218e172645d3d4": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_grading_cigs_notch.py", + "symbol": "test_cigs_ungraded_production_grid_ladder_is_physical", + "lines": [ + 312, + 312 + ], + "text_sha256": "5175a12fc86b234883f6424681b4db1c0accf4bbe8a0fb9dbe24a6b49f2a3ab2" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert abs(result.hysteresis_index) < 1.0e-3", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-0c3980cc0a51c901a35b2022": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_grading_cigs_notch.py", + "symbol": "test_cigs_ungraded_production_grid_ladder_is_physical", + "lines": [ + 319, + 319 + ], + "text_sha256": "840063047c59232bfe8d6be117ff7a2753c062a253411fe3a846f79f31c882a8" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert abs(result.metrics_fwd.V_oc - result.metrics_rev.V_oc) < 1.0e-4", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-b05b5719dd6e33406abd7883": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_grading_cigs_notch.py", + "symbol": "test_cigs_ungraded_production_grid_ladder_is_physical", + "lines": [ + 314, + 314 + ], + "text_sha256": "b07d9020e7a6a075332f4dd1530a70fbe1e0763d9da0edce7a98a584231d773f" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert metrics.voc_bracketed", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-6bb63137529cc2fc229c9aca": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_grading_cigs_notch.py", + "symbol": "test_cigs_ungraded_production_grid_ladder_is_physical", + "lines": [ + 315, + 315 + ], + "text_sha256": "b853da5f7fdc6de9494a1a90e9e01c94e6356be9a6dd6d20ef0a53a6ab2a9130" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert 0.0 < metrics.J_sc <= photon_ceiling * (1.0 + 1.0e-6)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-9deed45bee0ba8eb057bf4f5": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_grading_cigs_notch.py", + "symbol": "test_cigs_ungraded_production_grid_ladder_is_physical", + "lines": [ + 316, + 316 + ], + "text_sha256": "5c0fee6119c53c409b24132ff269ff0b59fb3abaecc440d2b950387e9ce5aaaf" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert 0.0 < metrics.V_oc < 1.05", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-1339950f0571a39320df9ebc": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_grading_cigs_notch.py", + "symbol": "test_cigs_ungraded_production_grid_ladder_is_physical", + "lines": [ + 317, + 317 + ], + "text_sha256": "6e231cbe5865f64239e3bb737b734234016643330f4f55de03f2f6233a2c7145" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert 0.0 < metrics.FF <= 1.0", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-cd249975f788c67f1bd5f66e": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_grading_cigs_notch.py", + "symbol": "test_cigs_ungraded_production_grid_ladder_is_physical", + "lines": [ + 318, + 318 + ], + "text_sha256": "33a2594a48de751f4b138171b902331f02ed85194d03d62b3f61c4e4c63ce6bb" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert 0.0 < metrics.PCE <= 1.0", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-1f68552e94a17ec632e274bf": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_grading_cigs_notch.py", + "symbol": "test_cigs_ungraded_production_grid_ladder_is_physical", + "lines": [ + 323, + 323 + ], + "text_sha256": "a083ffc75e6281975906481fcc14c7605c22af46eb8f41bf56f34cd47009598f" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert abs(fwd - rev) / abs(fwd) < 1.0e-4", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-affb50d7a5af96e4918d74c7": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_grading_cigs_notch.py", + "symbol": "test_cigs_ungraded_production_grid_metrics_converge", + "lines": [ + 336, + 338 + ], + "text_sha256": "8f9ef8de4abdc8119ccad1d92ef8598fc51178985a7eb985e05ce9e49ef4aacb" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert fine_gap < coarse_gap, (\n f\"{field} grid error did not contract: {values}\"\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-a0542ea4b85abc26e1db34b2": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_grading_cigs_notch.py", + "symbol": "test_cigs_ungraded_production_grid_metrics_converge", + "lines": [ + 339, + 341 + ], + "text_sha256": "99bf47056ed57840ae8cce1d42ef1ec23cad4569f630403cff4ec9a470667185" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert fine_gap / max(abs(values[2]), 1.0e-30) < 0.01, (\n f\"{field} finest-pair change exceeds 1%: {values}\"\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-8a4897c6e957b11a64c422c6": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_grading_cigs_notch.py", + "symbol": "test_cigs_ungraded_thickness_continuation_certifies", + "lines": [ + 224, + 224 + ], + "text_sha256": "8ac0011bcd524ee6da86109082b98bace38aeaa508cce45ff5d56fbfc3a085c4" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-11f6453cfe4c232709c7211e": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_grading_cigs_notch.py", + "symbol": "test_cigs_ungraded_thickness_continuation_certifies", + "lines": [ + 225, + 225 + ], + "text_sha256": "4cee781d2ad5cefd22892c42d8209942a9ad8e35fa731efefe11028c6bc00e61" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.metrics_fwd.voc_bracketed", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-9cf16517c8643d66538fff5c": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_grading_cigs_notch.py", + "symbol": "test_cigs_ungraded_thickness_continuation_certifies", + "lines": [ + 226, + 226 + ], + "text_sha256": "ae38d775a95c3cd32ebcbcf75520b21d6ad3fa13f7777b208c35d3b596712db2" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.metrics_rev.voc_bracketed", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-85c07d72233c4ba7c7d77d8a": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_grading_cigs_notch.py", + "symbol": "test_cigs_ungraded_thickness_continuation_certifies", + "lines": [ + 227, + 227 + ], + "text_sha256": "25b99675133b0ddd6c2b29f8e029e7767788560475356e9487d70a7b1eea6ef3" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.all(np.isfinite(result.J_fwd))", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-3d7e2c9750d878e4fa3af1ae": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_grading_cigs_notch.py", + "symbol": "test_cigs_ungraded_thickness_continuation_certifies", + "lines": [ + 228, + 228 + ], + "text_sha256": "cbb4764c20f7876582ecdc4b03a4a7ef722822a307b007c141e122265ea2826c" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.all(np.isfinite(result.J_rev))", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-df04da92eb5f7a03d95dadbc": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_grading_cigs_notch.py", + "symbol": "test_cigs_ungraded_thickness_continuation_certifies", + "lines": [ + 231, + 231 + ], + "text_sha256": "8dce0eb0b1411be026ee15e866a22b2ee17e4870f767e49372ad67011e9df919" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert 0.0 < metrics.J_sc <= photon_ceiling * (1.0 + 1.0e-6)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-3bd06e3c9b9281514181bf09": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_grading_cigs_notch.py", + "symbol": "test_cigs_ungraded_thickness_continuation_certifies", + "lines": [ + 232, + 232 + ], + "text_sha256": "97c980defadcb4aa5012d02251023873754a0b6b1b37f787a8e0a20b64f18833" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert 0.0 < metrics.V_oc < 0.975", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-860a4cbf07e378073bc12ba7": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_grading_cigs_notch.py", + "symbol": "test_cigs_ungraded_thickness_continuation_certifies", + "lines": [ + 233, + 233 + ], + "text_sha256": "93bbe5e921b37c68452d3ac4e8576ed7e5e17e9f4509ca5872baf3c64ed38e73" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert 0.0 < metrics.FF <= 1.0", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-1db937a60794381011793de8": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_grading_cigs_notch.py", + "symbol": "test_cigs_ungraded_thickness_continuation_certifies", + "lines": [ + 234, + 234 + ], + "text_sha256": "e349a67fa9ed4c7570806612037b98f6a772e732308fef9c6ce6d576bfe9fb86" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert 0.0 < metrics.PCE <= 1.0", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-135c1e245889b63452bfca34": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_grading_cigs_notch.py", + "symbol": "test_dynamic_cigs_grading_matches_the_shipped_config", + "lines": [ + 189, + 189 + ], + "text_sha256": "2042377c18f2ea2371c7586e68ecbb70b2ed94cd5ef6627976a3242914d9c9f9" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert dynamic_graded == shipped", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-99346121610cfe6c87bbe373": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/validation/test_paper_configurations.py", + "symbol": "test_ionmonger_repro_matches_paper_metrics", + "lines": [ + 230, + 232 + ], + "text_sha256": "22995a20b3d8a0bf1cf8af8ccf804f61859b0f25955674e01146e3c4f2cb19e8" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert 1.03 <= metrics.V_oc <= 1.10, (\n f\"IonMonger repro V_oc = {metrics.V_oc:.4f} V outside [1.03, 1.10]\"\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-20533e8a524de13cc7c36914": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/validation/test_paper_configurations.py", + "symbol": "test_ionmonger_repro_matches_paper_metrics", + "lines": [ + 233, + 235 + ], + "text_sha256": "7fee221f0be43fbb0958eb1dd1765138cd4abeefebb3ba30307c90e75b7b28ba" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert 200.0 <= metrics.J_sc <= 240.0, (\n f\"IonMonger repro J_sc = {metrics.J_sc:.1f} A/m² outside [200, 240]\"\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-8df4514933f66768954d1483": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/validation/test_paper_configurations.py", + "symbol": "test_ionmonger_repro_matches_paper_metrics", + "lines": [ + 236, + 239 + ], + "text_sha256": "1db9f9bc29760c88e57bf90b4f539630aaac1f7cefaccc6afc19f12b4edca2ea" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert IONMONGER_PAPER.FF_min <= metrics.FF <= IONMONGER_PAPER.FF_max, (\n f\"IonMonger repro FF = {metrics.FF:.4f} outside \"\n f\"[{IONMONGER_PAPER.FF_min}, {IONMONGER_PAPER.FF_max}]\"\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-e2083f1c15eefafacab67de1": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/validation/test_paper_configurations.py", + "symbol": "test_ionmonger_repro_matches_paper_metrics", + "lines": [ + 240, + 244 + ], + "text_sha256": "4f6ed88ae22c3b11390ac2a382b6deb414a744833e25e712200061a1b32ca35f" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " _assert_registered_reproduction(\n \"courtier2019-ionmonger\",\n ionmonger_repro_result,\n load_device_from_yaml(\"tests/fixtures/configs/ionmonger_courtier2019_repro.yaml\"),\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-acca007e2aded3e0a97294d2": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/backend/test_user_configs_api.py", + "symbol": "test_csi_underresolved_grid_returns_actionable_client_error", + "lines": [ + 203, + 203 + ], + "text_sha256": "fc0f11ac2ec2129740f679269e3cf14bb89150f24c4ede23123d0040c91e391c" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert r.status_code == 422", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-37e4b29ae7bdeafefeeb8187": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/backend/test_user_configs_api.py", + "symbol": "test_csi_underresolved_grid_returns_actionable_client_error", + "lines": [ + 205, + 205 + ], + "text_sha256": "efacb9488cc772bfda933c5846d48859abfa326663aae30f836ddbfa4530eadf" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert \"under-resolved electrical grid\" in detail", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-132176ad3619fc99179aa2e5": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/backend/test_user_configs_api.py", + "symbol": "test_csi_underresolved_grid_returns_actionable_client_error", + "lines": [ + 206, + 206 + ], + "text_sha256": "266d82cf39618fcd2a83be8232dae83e5e6f182ea14de0996351e041a7ae37e9" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert \"Increase N_grid\" in detail", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-aaebfb72f0060107621cbe8c": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_grid_envelope.py", + "symbol": "test_declared_csi_minimum_meets_debye_guard_and_has_finite_seed", + "lines": [ + 133, + 133 + ], + "text_sha256": "f217e422cfaed6b27c775c488a32f2313ce1d75b58d23d3cd98b4a32dab54558" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert LADDER[0] == declared_min", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-2d2c2106ab310b00901e82a3": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_grid_envelope.py", + "symbol": "test_declared_csi_minimum_meets_debye_guard_and_has_finite_seed", + "lines": [ + 148, + 150 + ], + "text_sha256": "fc81fd7edd8c1a04a156a18649109011af4bc832cff83046f6bcdb33c79c1a1a" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert ratios == pytest.approx(\n (0.8497957859, 0.5594569352, 0.4169728857), rel=1.0e-9\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-473ed060e47e5fe94bac69c1": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_grid_envelope.py", + "symbol": "test_declared_csi_minimum_meets_debye_guard_and_has_finite_seed", + "lines": [ + 151, + 151 + ], + "text_sha256": "93b29d91322198f55795d42794702cf34bec2bd120db0e87d3abab025764e17e" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert ratios[0] > ratios[1] > ratios[2]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-b39af64477cb06dcb7e6ca18": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_grid_envelope.py", + "symbol": "test_declared_csi_minimum_meets_debye_guard_and_has_finite_seed", + "lines": [ + 152, + 152 + ], + "text_sha256": "fafdc11b5327ff43fb7d22c3d1b8d504bf371b30394bdf541e04436fb967af27" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert widths[0] > widths[1] > widths[2]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-1a17ff167feddd3297b26e69": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_grid_envelope.py", + "symbol": "test_declared_csi_minimum_meets_debye_guard_and_has_finite_seed", + "lines": [ + 139, + 139 + ], + "text_sha256": "f0eb7981d36019c90f2250eebacb8e421be309aca232a8f2dd17facb170f2a5a" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert first_base_dx == pytest.approx(diagnostic.cell_width, rel=1.0e-12)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-fed094448b4e78721b92785e": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_grid_envelope.py", + "symbol": "test_declared_csi_minimum_meets_debye_guard_and_has_finite_seed", + "lines": [ + 140, + 140 + ], + "text_sha256": "ed85aa7c35befe833ad51b80aba926ba459074bd7150667ad9047a43d977883a" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert diagnostic.cell_debye_ratio <= MAX_INTERFACE_CELL_DEBYE_RATIO", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-2ecd14e27e90130b8fe3e378": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_grid_envelope.py", + "symbol": "test_declared_csi_minimum_meets_debye_guard_and_has_finite_seed", + "lines": [ + 143, + 143 + ], + "text_sha256": "7bdcae4d8f53529c88572306e7cc843b04a1a1b07066dd608d2e2ec87ea6a619" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.all(np.isfinite(seed))", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-07230cbb04b950066689123c": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_grid_envelope.py", + "symbol": "test_default_jv_grid_is_outside_csi_declared_envelope", + "lines": [ + 68, + 68 + ], + "text_sha256": "3e2f3a1196282bb7ae0d5e16724c153021c6976e208c5bc1a5bb505852b344e7" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert default_n == 100", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-1d3ffae293d1a65ba0c80285": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_grid_envelope.py", + "symbol": "test_default_jv_grid_is_outside_csi_declared_envelope", + "lines": [ + 69, + 69 + ], + "text_sha256": "18c5b645abdff9c951fd29b0c540d4ae1e7f35f094caca439d8381bb11f83b4b" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert default_n < declared_min", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-6a68794646aaebab3b8f13db": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_grid_envelope.py", + "symbol": "test_default_jv_grid_is_outside_csi_declared_envelope", + "lines": [ + 70, + 70 + ], + "text_sha256": "07b15a63046a13aff77ba304547824324f0b8006cf345e07468a26c334d64ad5" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert diagnostic.cell_debye_ratio > MAX_INTERFACE_CELL_DEBYE_RATIO", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-fc0b171f5e485f36b8bd43b3": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_grid_envelope.py", + "symbol": "test_thin_film_smoke_mesh_is_not_misrepresented_as_globally_certified", + "lines": [ + 161, + 161 + ], + "text_sha256": "3228d585873fc275083ff2a148e244fdc83453c708affa373e5f85d6788c1b8f" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert max(item.cell_debye_ratio for item in diagnostics) > 1.5", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-fc46dab20b9323d3efabd28a": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_grid_envelope.py", + "symbol": "test_thin_film_smoke_mesh_is_not_misrepresented_as_globally_certified", + "lines": [ + 162, + 162 + ], + "text_sha256": "e466f460e74bfe58b913eac684a23eaa6777dc73ed35507d08b1a18bcdd901a1" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert max(item.layer_debye_span for item in diagnostics) < 1.0e3", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-7c07238b6404977829883a59": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_grid_envelope.py", + "symbol": "test_underresolved_overrides_are_explicit_and_reach_both_drivers", + "lines": [ + 105, + 105 + ], + "text_sha256": "717130bcb9374d732cfe65cc8a030387e9ad0df636bf30d28e134120c4314d6b" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(IntegrationReached):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-e1907bad4174fa0a733201e7": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_grid_envelope.py", + "symbol": "test_underresolved_overrides_are_explicit_and_reach_both_drivers", + "lines": [ + 118, + 118 + ], + "text_sha256": "717130bcb9374d732cfe65cc8a030387e9ad0df636bf30d28e134120c4314d6b" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(IntegrationReached):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-e728593f79afe3dff4c5a193": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_grid_envelope.py", + "symbol": "test_underresolved_transient_and_ss_jv_fail_before_integration", + "lines": [ + 82, + 82 + ], + "text_sha256": "1d1c145f0c6b23f5df490b8a14ae547e310862568ef7601e11555c3930dfbfe4" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert transient.value.N_grid == 100", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-67c59a6eaa2514e6a2ee525a": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_grid_envelope.py", + "symbol": "test_underresolved_transient_and_ss_jv_fail_before_integration", + "lines": [ + 83, + 83 + ], + "text_sha256": "e1ea78f305a0f7683007e96fff455ad304c369ce807a1b9db82e59285237ea49" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert transient.value.diagnostic.layer_name == \"p_base\"", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-142f90f160a99cd984e06faa": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_grid_envelope.py", + "symbol": "test_underresolved_transient_and_ss_jv_fail_before_integration", + "lines": [ + 84, + 86 + ], + "text_sha256": "1e37d7e4179e331451946022ed4851db7dd46835b50c8e498f12acbeb80e7685" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert transient.value.diagnostic.cell_debye_ratio == pytest.approx(\n 1.7654108069, rel=1.0e-9\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-09a9ebac3b0482414392762b": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_grid_envelope.py", + "symbol": "test_underresolved_transient_and_ss_jv_fail_before_integration", + "lines": [ + 80, + 80 + ], + "text_sha256": "72c73d77c3279994e82ae1fc28f0b252c7526e8d69d435221676ebb871992333" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(GridResolutionError, match=\"before integration\") as transient:", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-1d74fb3c4e06a98baead150d": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_grid_envelope.py", + "symbol": "test_underresolved_transient_and_ss_jv_fail_before_integration", + "lines": [ + 88, + 88 + ], + "text_sha256": "9911e625c6b3e8e7708b9ef393b297dca1e6fb9247429b919aa674ca7d33f8e1" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(GridResolutionError, match=\"before integration\"):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-4583bc9e2b06a22f3c690e9c": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_grid_envelope.py", + "symbol": "test_underresolved_transient_and_ss_jv_fail_before_integration", + "lines": [ + 90, + 90 + ], + "text_sha256": "9911e625c6b3e8e7708b9ef393b297dca1e6fb9247429b919aa674ca7d33f8e1" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(GridResolutionError, match=\"before integration\"):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-8af4cbe903a543ebe33b40e7": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_generic_state_cancellation.py", + "symbol": "test_certified_qf_state_exposes_density_sg_cancellation_boundary", + "lines": [ + 44, + 44 + ], + "text_sha256": "9ca1d1f6855378ec8138c22508773c4f1e70d1a1fac4e0f851a454b3bad9283b" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert qf.max_normalized_cell_residual < 1.0e-10", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-24bf5660ac58c96736981d18": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_generic_state_cancellation.py", + "symbol": "test_certified_qf_state_exposes_density_sg_cancellation_boundary", + "lines": [ + 45, + 45 + ], + "text_sha256": "b971904c4a082cfbfe2b0391401b5b99d8a3b8080e5bd78d75d14aa5f79317ab" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert qf.electron_continuity_bound_A_m2 < 1.0e-6", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-6ee2df19e957f8f695a8fe02": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_generic_state_cancellation.py", + "symbol": "test_certified_qf_state_exposes_density_sg_cancellation_boundary", + "lines": [ + 46, + 46 + ], + "text_sha256": "cae2d18b26ab310cf0344b84974c145372e3b92bb6d8160f8e714150af5f9425" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert qf.hole_continuity_bound_A_m2 < 1.0e-6", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-da04dd950c3bde658035c584": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_generic_state_cancellation.py", + "symbol": "test_certified_qf_state_exposes_density_sg_cancellation_boundary", + "lines": [ + 47, + 47 + ], + "text_sha256": "fc0fc62d335ccc723cb1b7e77deb4f8dbacc8afe1abbd02f906da9ce9fba0e37" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert qf.face_current_spread_A_m2 < 1.0e-6", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-5e26327c7776d4f9fcf9d509": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_generic_state_cancellation.py", + "symbol": "test_certified_qf_state_exposes_density_sg_cancellation_boundary", + "lines": [ + 85, + 85 + ], + "text_sha256": "f1a78f010baa44c04cb1c93a9f51154e06ff3b5e34308fde9f10241da0240a3c" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert max_peak_scaled_residual > 10.0", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-64a7c11e1308f5d68d711eca": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_generic_state_cancellation.py", + "symbol": "test_certified_qf_state_exposes_density_sg_cancellation_boundary", + "lines": [ + 86, + 86 + ], + "text_sha256": "5ce56f5ae00786d571f2507073fb5b069d7e0f19d254ec41ea2de27e1d7c3d87" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert electron_bound > 1.0", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-8206e086ddadba8fc5ea86cd": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_generic_state_cancellation.py", + "symbol": "test_certified_qf_state_exposes_density_sg_cancellation_boundary", + "lines": [ + 87, + 87 + ], + "text_sha256": "b344fc8cde989698057b37b0bf3f2482ab76155f6caca12bb4c81468d1f8a952" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert hole_bound > 1.0e-4", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-4b32a061507caff39196ae72": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_generic_state_cancellation.py", + "symbol": "test_certified_qf_state_exposes_density_sg_cancellation_boundary", + "lines": [ + 88, + 88 + ], + "text_sha256": "e7ccc8269e8f1d1a07d152ea4b9f74778ef2680e2bdf762af433f08fc600dbc0" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert electron_bound > 1.0e8 * qf.electron_continuity_bound_A_m2", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-5ba055eaea57939a60c73da0": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_generic_state_cancellation.py", + "symbol": "test_certified_qf_state_exposes_density_sg_cancellation_boundary", + "lines": [ + 89, + 89 + ], + "text_sha256": "04911588e1c28a924274dd458a127e94c41cad15f41e0c750fd4b126e737cbc4" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert hole_bound > 1.0e4 * qf.hole_continuity_bound_A_m2", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-7f9a4bb15bb4b7a49056e7e4": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/backend/test_solver_dispatch.py", + "symbol": "test_dispatch_quasi_fermi_rejects_dark_jv", + "lines": [ + 558, + 558 + ], + "text_sha256": "021c934895f3433ccd0bc56cc07a0cafe70220209b1394b8d86bcc456d449515" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(ValueError, match=\"illuminated J-V only\"):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-13c3fb09acbc37a30d8c98ff": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/backend/test_solver_dispatch.py", + "symbol": "test_dispatch_quasi_fermi_returns_certificate_bearing_jvresult", + "lines": [ + 410, + 410 + ], + "text_sha256": "c6ea913f1e7681e4887e60e12e895237ae051459954d1c63024392dceae8ec52" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert captured[\"node_count\"] > 0", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-286df71525681a8536026541": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/backend/test_solver_dispatch.py", + "symbol": "test_dispatch_quasi_fermi_returns_certificate_bearing_jvresult", + "lines": [ + 411, + 411 + ], + "text_sha256": "2d3012b40194f566ddb8bc95eb0de61dbdf9749f2c5a564d5b377d2e6d5f2166" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert captured[\"voltages\"] == pytest.approx(np.linspace(0.0, 0.7, 8))", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-522dada31d9eb2453c942116": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/backend/test_solver_dispatch.py", + "symbol": "test_dispatch_quasi_fermi_returns_certificate_bearing_jvresult", + "lines": [ + 412, + 412 + ], + "text_sha256": "b87c7435d9b9966b7d8f180087c1a3187a579a020610c0d90d0bd8fc01e4c9f1" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert captured[\"stop_after_voc\"] is True", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-a2098a8835cb5aa2500346aa": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/backend/test_solver_dispatch.py", + "symbol": "test_dispatch_quasi_fermi_returns_certificate_bearing_jvresult", + "lines": [ + 413, + 413 + ], + "text_sha256": "f7933cbd3de66dac3fc03072654932de95bb9c8c82f237b2ffee9ad7e270e399" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert captured[\"interface_boundary\"] is True", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-b0d9e7327243b067b052e7a7": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/backend/test_solver_dispatch.py", + "symbol": "test_dispatch_quasi_fermi_returns_certificate_bearing_jvresult", + "lines": [ + 414, + 414 + ], + "text_sha256": "679afb9b0b5d779f6a68049afcff2b7d037edadd16b2000a400c2ff192d6f192" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert captured[\"interface_transport_model\"] == \"scaps_thermionic\"", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-df52f4b2c5b7eb0e91c7ea8c": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/backend/test_solver_dispatch.py", + "symbol": "test_dispatch_quasi_fermi_returns_certificate_bearing_jvresult", + "lines": [ + 415, + 415 + ], + "text_sha256": "8ac0011bcd524ee6da86109082b98bace38aeaa508cce45ff5d56fbfc3a085c4" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-ba0c1b5901ba53655228feb3": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/backend/test_solver_dispatch.py", + "symbol": "test_dispatch_quasi_fermi_returns_certificate_bearing_jvresult", + "lines": [ + 416, + 416 + ], + "text_sha256": "d1298ae0c9fc5d5621925b855bacc523867bb6ecac907d9befe5b5df66ff0bf6" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.hysteresis_index == 0.0", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-1f9f43e434bf020649dfe9da": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/backend/test_solver_dispatch.py", + "symbol": "test_dispatch_quasi_fermi_returns_certificate_bearing_jvresult", + "lines": [ + 417, + 417 + ], + "text_sha256": "df13d96c15e5526b4633ba280b4df6696a9a7cafe35c7f77d0f36f6d9b5fe815" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.metrics_fwd == result.metrics_rev == \"MET\"", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-92b88749a13f3d33a7a13dc4": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/backend/test_solver_dispatch.py", + "symbol": "test_dispatch_quasi_fermi_returns_certificate_bearing_jvresult", + "lines": [ + 418, + 418 + ], + "text_sha256": "2d46fbe560f4a616799b1c741211c6c433fe54bbdc40d3a9ff825a3997951c29" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert all(s.solver == \"quasi_fermi\" for s in result.status_fwd)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-af5a0e0e68b7b88d058837b3": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/backend/test_solver_dispatch.py", + "symbol": "test_dispatch_quasi_fermi_returns_certificate_bearing_jvresult", + "lines": [ + 419, + 419 + ], + "text_sha256": "2ab0c0efce655205445491e3df70a13fd51069fb9ca13fef80ccc99b55710e8f" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.status_fwd[-1].face_current_spread_A_m2 == 4.0e-8", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-83ed46c56cae6f60fcd723d2": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/backend/test_solver_dispatch.py", + "symbol": "test_dispatch_quasi_fermi_returns_certificate_bearing_jvresult", + "lines": [ + 420, + 420 + ], + "text_sha256": "80761bf0087185f12888bab9a24c70289ec46ce57a101f57a2c53d6dde44bb86" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.status_fwd[-1].poisson_residual == 5.0e-12", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-4acbcdf2e8c77eeb021a3a34": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/backend/test_solver_dispatch.py", + "symbol": "test_dispatch_quasi_fermi_returns_certificate_bearing_jvresult", + "lines": [ + 421, + 421 + ], + "text_sha256": "2211e83a60ee3d655c6a6b83550b75410dcaabcd1d4897ad0d35077506b82d68" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.bulk_defect_evidence is None", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-6cb18b172a425fcf1ddd8fe7": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/backend/test_solver_dispatch.py", + "symbol": "test_jv_api_returns_422_for_policy_rejected_driver", + "lines": [ + 611, + 611 + ], + "text_sha256": "bac889338c17e9c52b2c2e99c5c4fb96072381691c72ce6c15d70d3e03fd1e80" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert exc_info.value.status_code == 422", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-6e1a96804fb7820b09ebf2ab": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/backend/test_solver_dispatch.py", + "symbol": "test_jv_api_returns_422_for_policy_rejected_driver", + "lines": [ + 612, + 612 + ], + "text_sha256": "3a5f752723375875f18be87ae66b373310597dc5f4110fb934aeeda4f90899a9" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert \"solver='quasi_fermi'\" in str(exc_info.value.detail)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-d04ad2f4c663e4674aa02d56": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/backend/test_solver_dispatch.py", + "symbol": "test_jv_api_returns_422_for_policy_rejected_driver", + "lines": [ + 609, + 609 + ], + "text_sha256": "56c4b3f7838eb8de50762e2227adf6478dd9ad7493eb566e9462e6104a83ca9e" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(bm.HTTPException) as exc_info:", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-3b79524f41a36b68e113a0ef": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/backend/test_solver_dispatch.py", + "symbol": "test_stack_from_dict_plumbs_jv_solver_policy", + "lines": [ + 75, + 75 + ], + "text_sha256": "8014018551b9af8771482723c7e06ff7c6b958d2fa04460213782df9f399cfd5" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert stack.jv_solver_policy == \"cancellation_safe_qf_required\"", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-3bdf7fa2ed93e2c1b814cb30": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/backend/test_solver_dispatch.py", + "symbol": "test_stack_from_dict_plumbs_jv_solver_policy", + "lines": [ + 76, + 79 + ], + "text_sha256": "59708ef361ec1e06da3054070e73c789ad6e457b706c3dca5b5b3558fc0d78a6" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert (\n bm._stack_to_config_dict(stack)[\"device\"][\"jv_solver_policy\"]\n == \"cancellation_safe_qf_required\"\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-9fd300f3ac28d8d61a7b1a7a": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_jv_driver_capability.py", + "symbol": "test_qf_required_policy_rejects_general_drivers_before_solve", + "lines": [ + 116, + 116 + ], + "text_sha256": "a57c1671bb3a63cee815448ba5f6eee3d4a13c3f61bef077280bc79ba88426ec" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert exc_info.value.requested_driver == requested_driver", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-4681a699ef17340423e05d94": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_jv_driver_capability.py", + "symbol": "test_qf_required_policy_rejects_general_drivers_before_solve", + "lines": [ + 117, + 117 + ], + "text_sha256": "96866befb0aaefcf9ab4fe375a52294055808d44a2ae340336cff161c036b020" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert \"solver='quasi_fermi'\" in str(exc_info.value)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-317eedbdf954dd1d86682d22": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_jv_driver_capability.py", + "symbol": "test_qf_required_policy_rejects_general_drivers_before_solve", + "lines": [ + 114, + 114 + ], + "text_sha256": "5ef36ae1647385c9e886236bf8062ca3ef871ca9aa884f7e42ab81a6d6cb5ad2" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(jv_sweep.JVDriverCapabilityError) as exc_info:", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-87f671c8282e515f637b2775": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_jv_driver_capability.py", + "symbol": "test_shipped_csi_config_enforces_grid_then_qf_driver_capability", + "lines": [ + 64, + 64 + ], + "text_sha256": "8014018551b9af8771482723c7e06ff7c6b958d2fa04460213782df9f399cfd5" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert stack.jv_solver_policy == \"cancellation_safe_qf_required\"", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-e2ee546d275970a4c142d097": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_jv_driver_capability.py", + "symbol": "test_shipped_csi_config_enforces_grid_then_qf_driver_capability", + "lines": [ + 80, + 80 + ], + "text_sha256": "84ac6115ffc902fa540a8f5a6bf056283c76accbc281a36059d8b60578ec200e" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert exc_info.value.requested_driver == \"transient\"", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-800a971daecb6cf724fe6c8b": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_jv_driver_capability.py", + "symbol": "test_shipped_csi_config_enforces_grid_then_qf_driver_capability", + "lines": [ + 66, + 66 + ], + "text_sha256": "4b680dcbf64d91836870187b1c866d9fe604f37a3fff8a8c0cba39759ee2d52e" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(GridResolutionError):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-1b8fd6ce9c9cdcff5b3fe1f6": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_jv_driver_capability.py", + "symbol": "test_shipped_csi_config_enforces_grid_then_qf_driver_capability", + "lines": [ + 73, + 73 + ], + "text_sha256": "5ef36ae1647385c9e886236bf8062ca3ef871ca9aa884f7e42ab81a6d6cb5ad2" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(jv_sweep.JVDriverCapabilityError) as exc_info:", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-489141761c9c79a7d7c1f320": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_jv_driver_capability.py", + "symbol": "test_unvalidated_driver_override_is_explicit_and_diagnostic_only", + "lines": [ + 131, + 131 + ], + "text_sha256": "305a42adff4e10f6a6ceae0a28bd1a0e1c0f649325a7b4d80280c9f637332428" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(ReachedUnvalidatedSolve):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-bd605af7aada54857f5d15cf": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py", + "symbol": "test_csi_apparent_intercept_shift_matches_published_pn_range", + "lines": [ + 290, + 290 + ], + "text_sha256": "abecdadcc5017021bc6f7971d4d16048beb5d3665443ea6ac0f7d4e6f54dce67" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert published[\"pn_depletion_thermal_correction\"] == \"2kT_over_q\"", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-fff3a9fef5c2c1836f078f72": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py", + "symbol": "test_csi_apparent_intercept_shift_matches_published_pn_range", + "lines": [ + 291, + 291 + ], + "text_sha256": "eb147e18f27237b6fc31b1caf8f77df8a4ea1ea0d5a30f90b66db33f2eb6ac42" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert lower <= shift <= upper", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-d222d076bb64c3eda7a5fee4": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py", + "symbol": "test_csi_apparent_intercept_shift_matches_published_pn_range", + "lines": [ + 292, + 295 + ], + "text_sha256": "ac93855139eff7f042c2a943f5c1db88a01c21c152fb35972b9851c149b3e8f5" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert shift == pytest.approx(\n BENCHMARK[\"observed\"][\"apparent_intercept_gap_V\"],\n abs=TOLERANCE[\"mott_intercept_V\"],\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-1734d1360c01846c6a7f2505": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py", + "symbol": "test_csi_depletion_cv_curve_converges_on_registered_grid_ladder", + "lines": [ + 269, + 269 + ], + "text_sha256": "ef025c07b7c8c5350bd62aecd511db9eafae06cdf8611ba7df6248ebba0a3260" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert changes[1] < changes[0]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-dfad8e187ef535de9640a907": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py", + "symbol": "test_csi_depletion_cv_curve_converges_on_registered_grid_ladder", + "lines": [ + 270, + 270 + ], + "text_sha256": "915ff9519f1a92f72fcecee6bbc3b14daa0c1be280437b48405a1cf806ece74c" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert changes[1] < 5.0e-3", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-17074fc3bf31d584ef1a1a03": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py", + "symbol": "test_csi_depletion_cv_curve_converges_on_registered_grid_ladder", + "lines": [ + 274, + 274 + ], + "text_sha256": "c083198df689db10f59e4d69bee219dcd907dea63a4d2699e3f2475704e50583" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert abs(fine_fit[0] - middle_fit[0]) < 2.0e-3", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-d328e9ce0ef652b7c1ea4417": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py", + "symbol": "test_csi_depletion_cv_curve_converges_on_registered_grid_ladder", + "lines": [ + 275, + 275 + ], + "text_sha256": "33697646ba6b1b7c8261d1431014382bb7e67000c601f8278c6b262be3d3010e" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert abs(fine_fit[1] - middle_fit[1]) / fine_fit[1] < 1.0e-2", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-ae742113894ee352d01a2fa0": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py", + "symbol": "test_csi_depletion_cv_curve_converges_on_registered_grid_ladder", + "lines": [ + 276, + 276 + ], + "text_sha256": "b5dc89012e0e30fbfa5e78c852da55fb6eacc6d70f6d01d518ac877ba80181ef" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert fine_fit[1] == pytest.approx(1.0e22, rel=0.1)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-4f8a975e5efdece0b0988fa9": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py", + "symbol": "test_csi_depletion_cv_curve_converges_on_registered_grid_ladder", + "lines": [ + 279, + 279 + ], + "text_sha256": "1258958a8b19253988b13bb889754862f38d92bd6577120474ebb768197625ea" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert 0.75 < fine_fit[0] < 0.85", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-690aa11f4ab8a4c91902e904": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py", + "symbol": "test_csi_depletion_cv_curve_converges_on_registered_grid_ladder", + "lines": [ + 265, + 265 + ], + "text_sha256": "e2a3e96bcccb0a00484c9bbb6f77119baedb2da1d6c890ec89baa5b7963d2d69" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.all(np.isfinite(curve))", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-0e9855537e3c7b4b18050ef2": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py", + "symbol": "test_csi_depletion_cv_curve_converges_on_registered_grid_ladder", + "lines": [ + 266, + 266 + ], + "text_sha256": "fe0a833129027b30be61c33bf816bc3e38b16323d934c030e81c1e32c8cc51f5" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.all(curve > 0.0)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-981fe50321ae971cbc88d58c": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py", + "symbol": "test_csi_depletion_cv_curve_converges_on_registered_grid_ladder", + "lines": [ + 267, + 267 + ], + "text_sha256": "ca985858cd2ec34c49f15847fe39b143b88f730b5ef223969a720385ee0adf67" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.all(np.diff(curve) > 0.0)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-ef660c76acf3f293152423be": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py", + "symbol": "test_csi_depletion_cv_curve_converges_on_registered_grid_ladder", + "lines": [ + 268, + 268 + ], + "text_sha256": "f9ac1c43e4b7ee7c8e839fffaf8d81f0d381e9270e11beb047f1580ab7e4a4b9" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.all(np.diff(1.0 / (curve * curve)) < 0.0)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-6ea01419736547bad53eb376": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py", + "symbol": "test_csi_depletion_cv_has_frequency_and_all_face_plateaus", + "lines": [ + 307, + 307 + ], + "text_sha256": "1da01b3dffb92adba1fcf8456f0ee4c5a0e9608227c6ae97b6f5a6293fefa683" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert frequency_change < 1.0e-3", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-22caf9dc8f305d01d8849d61": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py", + "symbol": "test_csi_depletion_cv_has_frequency_and_all_face_plateaus", + "lines": [ + 308, + 308 + ], + "text_sha256": "791ebf6aca91fb31a7275de728004814f6a2b234b676c7c66454c6147b044ec8" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.ptp(vbi) / vbi[1] < 1.0e-3", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-f53af45cec0b53babfae47bf": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py", + "symbol": "test_csi_depletion_cv_has_frequency_and_all_face_plateaus", + "lines": [ + 309, + 309 + ], + "text_sha256": "32ea5d8d0744be44d6390a815f5a6fafb7c45a7a868e90560bda214322e2cd78" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.ptp(doping) / doping[1] < 1.0e-3", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-9c5aec3a85892a82d48282b6": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py", + "symbol": "test_csi_depletion_cv_has_frequency_and_all_face_plateaus", + "lines": [ + 313, + 315 + ], + "text_sha256": "8598e16f33911cbc55539b1ce4f6415499e7c46b217d30800e030c8c1e063bfe" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert max(float(np.max(row[1])) for row in rows) < (\n certificates[\"max_relative_all_face_admittance_spread\"]\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-f75dee90b8242196235236d7": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py", + "symbol": "test_csi_depletion_cv_has_frequency_and_all_face_plateaus", + "lines": [ + 316, + 316 + ], + "text_sha256": "ba39c56cd95769e25e4554e018f1171f94393f1206f3cb37bc4a2b93bddd710b" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert min(float(np.min(row[2])) for row in rows) > 0.0", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-9803ff9e168f35ca58c0ef8e": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py", + "symbol": "test_csi_depletion_cv_has_frequency_and_all_face_plateaus", + "lines": [ + 317, + 319 + ], + "text_sha256": "5923f2884482ef444ee0bcc7d6082921dc44d0c94d070d4ad053dfa00d4df624" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert max(float(np.max(row[3])) for row in rows) < (\n certificates[\"max_linear_solve_backward_error\"]\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-08d98bb0288b3364af75d695": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py", + "symbol": "test_csi_frequency_domain_has_capacitance_plateau_and_current_certificate", + "lines": [ + 101, + 101 + ], + "text_sha256": "dd2fb0344ec074ccb6904d87dd120e47ab13161d6d49b548dbef5fd48489c620" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.all(np.isfinite(response.Z))", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-d88fe190bf956e6f988d20d9": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py", + "symbol": "test_csi_frequency_domain_has_capacitance_plateau_and_current_certificate", + "lines": [ + 102, + 102 + ], + "text_sha256": "51b449085112f4299979a80f1ff3dfb6bff9bf75126f9935f683770f44424e07" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.all(response.Z.imag < 0.0)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-2da17b87be3242ddda960ca6": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py", + "symbol": "test_csi_frequency_domain_has_capacitance_plateau_and_current_certificate", + "lines": [ + 103, + 103 + ], + "text_sha256": "23d2487de335f5a060ac72800593fb10ee55e1ad3451bf0e667782f1def388aa" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.all(admittance.imag > 0.0)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-f5bd1e21af96209480431aa2": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py", + "symbol": "test_csi_frequency_domain_has_capacitance_plateau_and_current_certificate", + "lines": [ + 104, + 104 + ], + "text_sha256": "128a9cf1a2fe52c7d14d88ba8d30dc39addf7f058e1e1f8406e20b64be70e71e" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.ptp(capacitance) / capacitance[1] < 1.0e-4", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-9e26329db6828be0749e84c1": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py", + "symbol": "test_csi_frequency_domain_has_capacitance_plateau_and_current_certificate", + "lines": [ + 105, + 105 + ], + "text_sha256": "83be6682e7022aa89aa00992c075365eeb45df4a9d5a36a0aac756e850f650c7" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.max(response.max_relative_face_spread) < 5.0e-4", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-d4e94da6b266d29d4db7beb5": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py", + "symbol": "test_csi_frequency_domain_has_capacitance_plateau_and_current_certificate", + "lines": [ + 106, + 106 + ], + "text_sha256": "589e92f2f7c4d5285d4148b719f871cb8c9822b7438d2b3d508d1a34aaaebb70" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert response.max_relative_face_spread[1] < 1.0e-4", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-1abc958c69dfb686132d5cc1": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py", + "symbol": "test_csi_frequency_domain_has_capacitance_plateau_and_current_certificate", + "lines": [ + 107, + 107 + ], + "text_sha256": "d2e65a5d36873c709a17a5d10d43e2af521ecb2aa92405be034c586bbff04762" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.all(response.reciprocal_condition > 0.0)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-a50d172f9afad4b097278554": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py", + "symbol": "test_csi_frequency_domain_has_capacitance_plateau_and_current_certificate", + "lines": [ + 108, + 108 + ], + "text_sha256": "c291b14be608aa54e2b89fa2cab0f06aca5fa13198858b8a6f6a9fff5057ef68" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.max(response.backward_error) < 1.0e-10", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-c62f22251fcc812b3b1ee592": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py", + "symbol": "test_csi_frequency_domain_has_capacitance_plateau_and_current_certificate", + "lines": [ + 109, + 109 + ], + "text_sha256": "f021703ecc5341215f4da4bdd88e88d15228d9139c6418a4c4dff4108545acbf" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert 0.0 <= admittance[1].real / admittance[1].imag < 1.0e-3", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-ea7ad266bf1d8fa179e0d1d4": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py", + "symbol": "test_csi_frequency_domain_has_capacitance_plateau_and_current_certificate", + "lines": [ + 114, + 114 + ], + "text_sha256": "9030cdcb0b574e0a59a7e24535509538a893a553a263845455a0d69f27928230" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.max(np.abs(electron_storage.imag) / capacitance) < 5.0e-3", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-31d45324970fa70c33bb312c": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py", + "symbol": "test_csi_frequency_domain_has_capacitance_plateau_and_current_certificate", + "lines": [ + 115, + 115 + ], + "text_sha256": "f2862d79f0cfe4d751574c936440865f46ec5f546afb749fba081b4a9a017afe" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.max(np.abs(hole_storage.imag) / capacitance) < 5.0e-3", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-cfad9143f0e709fa8aded992": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py", + "symbol": "test_csi_frequency_domain_has_capacitance_plateau_and_current_certificate", + "lines": [ + 112, + 112 + ], + "text_sha256": "12cc79decf9e65fc73f49ded38ec5d240448804af0c8f29f35360e898cb3c54e" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_allclose(electron_storage.real, capacitance, rtol=5.0e-6)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-f29979784c4a4e5012be6591": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py", + "symbol": "test_csi_frequency_domain_is_stable_to_steps_and_nominal_amplitude", + "lines": [ + 196, + 196 + ], + "text_sha256": "aa7045627ea352addddfafa144165a24149eb448a3d82bc8eca7e1eb280d8903" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert amplitude.Z[0] == pytest.approx(baseline.Z[1], rel=1.0e-12)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-2b77aac5e77a11f6e0941079": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py", + "symbol": "test_csi_frequency_domain_is_stable_to_steps_and_nominal_amplitude", + "lines": [ + 199, + 199 + ], + "text_sha256": "f54348f7e8be0be1477664ef0f65c1507d7585a247b64ca7f1b59c2ceaa60bdb" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert refined_c == pytest.approx(baseline_c, rel=1.0e-4)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-9555cb3f24f945213b2b6e76": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py", + "symbol": "test_csi_frequency_domain_matches_independent_dc_carrier_inventory", + "lines": [ + 149, + 151 + ], + "text_sha256": "32a82adc6102a3bd4758fab048331e49ff6211bb1e37f4229bf5fead0e8aec4c" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert electron_capacitance == pytest.approx(\n frequency_capacitance, rel=2.0e-5\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-913ea72b1229cf5b48d0cafe": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py", + "symbol": "test_csi_frequency_domain_matches_independent_dc_carrier_inventory", + "lines": [ + 152, + 154 + ], + "text_sha256": "c8e26d652b446885ae8497b11816b5a71133962bad3aeb18932978467d7988d9" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert hole_capacitance == pytest.approx(\n frequency_capacitance, rel=2.0e-5\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-51a0de79212ac06e94c29f78": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py", + "symbol": "test_csi_frequency_domain_matches_independent_dc_carrier_inventory", + "lines": [ + 155, + 160 + ], + "text_sha256": "002b7d3c5fd4acb5f9bf8148c6ecd5378c6e1de8c53b2cdfde72ada3b349decf" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert electron_capacitance == pytest.approx(\n BENCHMARK[\"observed\"][\"charge_identity_200\"][\n \"electron_inventory_capacitance_F_m2\"\n ],\n rel=TOLERANCE[\"charge_identity_relative\"],\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-16e14fb4707a7619723f30a5": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py", + "symbol": "test_csi_frequency_domain_matches_independent_dc_carrier_inventory", + "lines": [ + 161, + 166 + ], + "text_sha256": "cae1be0aae55c3fcdbb644f08a7a8346cf43bf5d8eb88034d3ff2e848e7480ab" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert hole_capacitance == pytest.approx(\n BENCHMARK[\"observed\"][\"charge_identity_200\"][\n \"hole_inventory_capacitance_F_m2\"\n ],\n rel=TOLERANCE[\"charge_identity_relative\"],\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-0d00817b4906112b7a1d453e": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py", + "symbol": "test_csi_frequency_domain_observations_match_registry", + "lines": [ + 349, + 352 + ], + "text_sha256": "4d043a224de18a9267e77c9c16929b14d2250d12db0319271e33a19895f4e436" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert actual_changes == pytest.approx(\n OBSERVED[\"adjacent_max_capacitance_changes\"],\n rel=TOLERANCE[\"convergence_metric_relative\"],\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-4cb7cb7b3d49a819de7c50f8": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py", + "symbol": "test_csi_frequency_domain_observations_match_registry", + "lines": [ + 354, + 359 + ], + "text_sha256": "ba3712a04ddffcecc81758ab01c0bb88e7c20bdd41c8ae179c7d38950c52a8f3" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.max(\n np.ptp(fine_capacitance, axis=0) / fine_capacitance[1]\n ) == pytest.approx(\n OBSERVED[\"finest_max_frequency_change\"],\n rel=TOLERANCE[\"convergence_metric_relative\"],\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-e731757c5e4c9c28704f5b9c": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py", + "symbol": "test_csi_frequency_domain_observations_match_registry", + "lines": [ + 360, + 363 + ], + "text_sha256": "18dbdf0978ea6958ea4d1e7b987f4a3aa5c6822a64dd3f343efbafd63d268ee2" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert [fit[0] for fit in fine_fits] == pytest.approx(\n OBSERVED[\"finest_mott_intercepts_V\"],\n abs=TOLERANCE[\"mott_intercept_V\"],\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-b07b70e51c428a6cb1ac1ec6": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py", + "symbol": "test_csi_frequency_domain_observations_match_registry", + "lines": [ + 364, + 367 + ], + "text_sha256": "ace88b481963b98db92f175d68911d8567261190f937c3651a677063aca2e0a2" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert [fit[1] for fit in fine_fits] == pytest.approx(\n OBSERVED[\"finest_effective_doping_m3\"],\n rel=TOLERANCE[\"effective_doping_relative\"],\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-0f0557b2dafe95330740dd7a": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py", + "symbol": "test_csi_frequency_domain_observations_match_registry", + "lines": [ + 330, + 330 + ], + "text_sha256": "7e403d8cc58e5e8fb4b0de5cc69e99ddabc5bc3aa6495cdafd18e29f96dfb5db" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert int(registered[\"N_grid\"]) == requested", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-5f18f1a8f9d90297f6e5a498": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py", + "symbol": "test_csi_frequency_domain_observations_match_registry", + "lines": [ + 331, + 334 + ], + "text_sha256": "759170a84b74414b9ec783a6c70611a182ccaee9e7f677e094bf481c85bfeb92" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert capacitance[1] == pytest.approx(\n registered[\"capacitance_100k_F_m2\"],\n rel=TOLERANCE[\"capacitance_relative\"],\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-c965474424f83010cf095cfa": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py", + "symbol": "test_csi_frequency_domain_observations_match_registry", + "lines": [ + 335, + 338 + ], + "text_sha256": "a201eb360808089c0c14592a0f41623757394448c26ed41adf196e15d2c76d45" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert fits[1][0] == pytest.approx(\n registered[\"mott_intercept_100k_V\"],\n abs=TOLERANCE[\"mott_intercept_V\"],\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-2c18c85dfd252fba666039b4": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py", + "symbol": "test_csi_frequency_domain_observations_match_registry", + "lines": [ + 339, + 342 + ], + "text_sha256": "3db4f17f4dda1f497a238e45b061ebeec19beefa95154824e16e439067ce7d7a" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert fits[1][1] == pytest.approx(\n registered[\"effective_doping_100k_m3\"],\n rel=TOLERANCE[\"effective_doping_relative\"],\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-c25b717e04c3dd92a3221665": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py", + "symbol": "test_csi_frequency_domain_recovers_depletion_not_geometric_capacitance", + "lines": [ + 86, + 86 + ], + "text_sha256": "b8a4691955116a27ba36c1a22c41142c5c27c8d0b7b11405d68ac710c0b8f8f9" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert response.dc_state.certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-05b9905aa231c745c75b4992": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py", + "symbol": "test_csi_frequency_domain_recovers_depletion_not_geometric_capacitance", + "lines": [ + 87, + 87 + ], + "text_sha256": "4de523ffc46506889284c473846fa4a669281dd5188983f8fedd0e654a949564" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert response.dc_state.V_app == pytest.approx(-0.2, abs=1.0e-14)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-8cad88ded6a17c24f290c516": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py", + "symbol": "test_csi_frequency_domain_recovers_depletion_not_geometric_capacitance", + "lines": [ + 88, + 88 + ], + "text_sha256": "ab21230d6ef607c259c74cf9c1a37b4f724cf7d85313ba1b36052aec93c25e42" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert not response.dc_state.illuminated", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-a9c60e672cda2332f38dc38f": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py", + "symbol": "test_csi_frequency_domain_recovers_depletion_not_geometric_capacitance", + "lines": [ + 89, + 89 + ], + "text_sha256": "36b0a2617be5dfd4f68f5218b3f3fdf1a471e356d49e1fff58eb77453b712080" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert central == pytest.approx(2.886e-4, rel=5.0e-3)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-71eb4fd9f2c5289bc0eef2e3": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py", + "symbol": "test_csi_frequency_domain_recovers_depletion_not_geometric_capacitance", + "lines": [ + 90, + 90 + ], + "text_sha256": "362cfa9c3d8ba72ffc84a0d98f8c5092cb4dbb3e8c49c69ca2bf191ed715299e" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert central == pytest.approx(analytic, rel=0.1)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-872025c1ea928e2745983605": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py", + "symbol": "test_csi_frequency_domain_recovers_depletion_not_geometric_capacitance", + "lines": [ + 91, + 91 + ], + "text_sha256": "cc4c628d5374f42d1d16517ee1c47c4dd90b86e3dc78c360a5bdc872ae4297fe" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert central > 400.0 * geometric", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-b5b39dd657fbe0392e8907e5": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py", + "symbol": "test_csi_config_and_registered_voltage_protocol", + "lines": [ + 110, + 110 + ], + "text_sha256": "d484f7d917bbe9cff9953679e9a088b728f7f4fd0202fd2f363ff37667f9d137" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert stack.V_bi == pytest.approx(abs(stack.compute_V_bi()), abs=1.0e-14)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-14c6572597d99e4681157b1a": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py", + "symbol": "test_csi_config_and_registered_voltage_protocol", + "lines": [ + 111, + 111 + ], + "text_sha256": "5ee62e2ba25bc1f0300927edbed7f61fea6863c77db53ed43d7d2632afceb4f8" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert stack.grid_interval_weights == (1.0, 4.0)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-b39b35271448f3c7db86ce9f": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py", + "symbol": "test_csi_config_and_registered_voltage_protocol", + "lines": [ + 112, + 112 + ], + "text_sha256": "7e0eb9aa541cb2aadccf02c9a553152e0f378f3fb4f779367c97b017e1c827ff" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert stack.grid_alphas == (2.0, 3.0)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-3e42064bb52a539b6dbfb216": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py", + "symbol": "test_csi_config_and_registered_voltage_protocol", + "lines": [ + 113, + 113 + ], + "text_sha256": "153cce6641bd8a917bda40bb496d1e83ec4acbbcb6677a7a1d22ace9c6accc56" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert VOLTAGES_V[0] == 0.0", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-38f7b46c702d1c469d7f2f12": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py", + "symbol": "test_csi_config_and_registered_voltage_protocol", + "lines": [ + 114, + 114 + ], + "text_sha256": "b8d3b73ff50f779d55da3ea2bed2b6d82a35d8d6170e8272e6f5f2f83c3ba96a" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert VOLTAGES_V[-1] == 0.6", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-2d291d0114be1a24ee70cb6a": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py", + "symbol": "test_csi_config_and_registered_voltage_protocol", + "lines": [ + 115, + 115 + ], + "text_sha256": "30dd4393296eb02c93d5e31bbc52e72c85198c030037ce3643b86eebcdf0f569" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.all(np.diff(VOLTAGES_V) > 0.0)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-bf9bdb41992d68041fce8c61": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py", + "symbol": "test_csi_config_and_registered_voltage_protocol", + "lines": [ + 117, + 119 + ], + "text_sha256": "cfc13c75afe4dff87329e43dcce89ef3132de73a83b5e926b7a0c1bd12018d38" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert hashlib.sha256(canonical.encode(\"ascii\")).hexdigest() == (\n PROTOCOL[\"voltage_grid_canonical_sha256\"]\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-61190044591b64280f58723f": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py", + "symbol": "test_csi_config_and_registered_voltage_protocol", + "lines": [ + 124, + 124 + ], + "text_sha256": "8376d89a481f6460032ca31f605fceaf755281c00521fac5b5ad81bf276a9cb5" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert len(x) - 1 == requested", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-2c4825c43299ca084daeb7ad": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py", + "symbol": "test_csi_config_and_registered_voltage_protocol", + "lines": [ + 126, + 126 + ], + "text_sha256": "9b65f692b0cd35c972cbe44f5686dd48cba873613c3a8fa068b1dcd7f0655156" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert x[interface_index] == pytest.approx(interface, abs=1.0e-18)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-3361f9e780374dfe3ceb3d5b": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py", + "symbol": "test_csi_config_and_registered_voltage_protocol", + "lines": [ + 127, + 129 + ], + "text_sha256": "1d455c695ae874ebb6b3065e5914404172b60d3b5c1d455c664b96cd95101743" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert [interface_index, requested - interface_index] == (\n observation[\"layer_intervals\"]\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-8904361e4dcbc304e84781c1": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py", + "symbol": "test_csi_config_and_registered_voltage_protocol", + "lines": [ + 130, + 130 + ], + "text_sha256": "9e2db7d3f6525bf5f07466ca5cc20e1401f6d255aa1dc51b37655725eb950982" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert sweep.voltages_V == pytest.approx(VOLTAGES_V)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-4726169258878ce0d8e7c6a1": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py", + "symbol": "test_csi_full_jv_curve_and_metrics_converge", + "lines": [ + 218, + 218 + ], + "text_sha256": "dea616c9bdd7e413fa391b8aa3168c2c92d6b39378430fedd0f82fd299b006dd" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert curve_changes[1] < curve_changes[0]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-4c26e90f8593b935658932af": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py", + "symbol": "test_csi_full_jv_curve_and_metrics_converge", + "lines": [ + 219, + 219 + ], + "text_sha256": "cd1d0975ee43e226aa106b207fcc8036a6f552bccb250875d17212cb3fd121d4" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert curve_changes[1] / abs(sweeps[-1].metrics.J_sc) < 1.0e-2", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-5778b08a790123743cceb0df": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py", + "symbol": "test_csi_full_jv_curve_and_metrics_converge", + "lines": [ + 227, + 227 + ], + "text_sha256": "04c9dd5382ceb9481f4fdf9f42ff91e621066a6d07e36ca2b3dd35bcc6d53372" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert abs(fine.metrics.J_sc - coarse.metrics.J_sc) / fine.metrics.J_sc < 0.01", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-e2cdf06e9a24523a11c27724": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py", + "symbol": "test_csi_full_jv_curve_and_metrics_converge", + "lines": [ + 228, + 228 + ], + "text_sha256": "cf27f6cd0f2f656dd9c9262bef141a1ae5a9c5f71cc60caa58c2a3c947030a42" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert abs(fine.metrics.V_oc - coarse.metrics.V_oc) < 1.0e-3", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-a6322be4f792153eb7a44e7e": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py", + "symbol": "test_csi_full_jv_curve_and_metrics_converge", + "lines": [ + 229, + 229 + ], + "text_sha256": "66c6d6a9a947b7d8b2b95bcb9292306d1e61758c9d25e595741e55d8fc3f0cc9" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert abs(fine.metrics.FF - coarse.metrics.FF) / fine.metrics.FF < 5.0e-3", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-a30b12b0ffe3b58ff92b33f2": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py", + "symbol": "test_csi_full_jv_curve_and_metrics_converge", + "lines": [ + 230, + 230 + ], + "text_sha256": "714624b17afab3e783a32b0159828479eaf79d2054d8b107bbd294adc2926aec" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert abs(fine.metrics.PCE - coarse.metrics.PCE) / fine.metrics.PCE < 0.01", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-d24b681c3f74bd9ef7075193": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py", + "symbol": "test_csi_full_jv_curve_and_metrics_converge", + "lines": [ + 249, + 249 + ], + "text_sha256": "3c3dfc9f0bc4734cc2ecbed44719f30db0f2c3fba61092dc0adeaca925877a6f" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert actual == pytest.approx(registered, rel=1.0e-8, abs=1.0e-12)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-2d00548a523e35d868d01ae7": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py", + "symbol": "test_csi_full_jv_curve_and_metrics_converge", + "lines": [ + 224, + 224 + ], + "text_sha256": "0b1341ef575683fcb714597276c1c720f49566b1c793b3307d6cad9514064a0a" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert abs(values[2] - values[1]) < abs(values[1] - values[0]), field", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-5d868fb581ed6912adc6ac43": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py", + "symbol": "test_csi_jv_curves_are_physical_and_bracket_open_circuit", + "lines": [ + 193, + 193 + ], + "text_sha256": "486a44763617d09b1af507d6e8c1c6d1082f06eb8008fa3fc63230c235ad2299" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.all(np.diff(sweep.currents_A_m2) < 0.0), requested", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-fb551146163f78bb8c1506a7": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py", + "symbol": "test_csi_jv_curves_are_physical_and_bracket_open_circuit", + "lines": [ + 194, + 194 + ], + "text_sha256": "37b7c8752a1c0cc4eb6c43f0ed39771725d3375c102a43af180c12f707b33c34" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert 0.0 < sweep.metrics.J_sc <= photon_budget, requested", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-f57c4d0c37a613a6d1f6460b": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py", + "symbol": "test_csi_jv_curves_are_physical_and_bracket_open_circuit", + "lines": [ + 195, + 195 + ], + "text_sha256": "d679dfecaae1963e221a18fc99c8080ae59ff078743ada123de810c81b16a5c0" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert sweep.currents_A_m2[-1] < 0.0, requested", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-d047ca5ab0839c57765dc68f": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py", + "symbol": "test_csi_jv_curves_are_physical_and_bracket_open_circuit", + "lines": [ + 196, + 196 + ], + "text_sha256": "57f2f658705b771a041f62f4c344616253ed0aaf5214680763367aed62f55b85" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert 0.0 < sweep.metrics.FF < 1.0, requested", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-99830912830699bc98b2408c": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py", + "symbol": "test_csi_jv_curves_are_physical_and_bracket_open_circuit", + "lines": [ + 197, + 197 + ], + "text_sha256": "8c229c5ba27e891c77ed50ed23f64b0f36febc7b990aa19c61b60ebe28383cea" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert 0.0 < sweep.metrics.PCE < 1.0, requested", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-40ca69d2d1dd1b967d60edb1": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py", + "symbol": "test_csi_jv_curves_are_physical_and_bracket_open_circuit", + "lines": [ + 199, + 199 + ], + "text_sha256": "714de5dde915a17177b0932e7138b0f0cf47ce7b846130ffdc235494994f7096" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert sweep.voltages_V[crossing] < root < sweep.voltages_V[crossing + 1]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-63a3096b33f98db6b3f3bfed": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py", + "symbol": "test_csi_jv_observations_match_reproducibility_registry", + "lines": [ + 261, + 263 + ], + "text_sha256": "d67f8b10ae25432973512abaab4e8112d4e432f6fd18774391a9fa98f935af53" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert sweep.metrics.J_sc == pytest.approx(\n observation[\"Jsc_A_m2\"], abs=TOLERANCE[\"Jsc_A_m2\"]\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-72ca4608125e195c1d4ba012": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py", + "symbol": "test_csi_jv_observations_match_reproducibility_registry", + "lines": [ + 264, + 266 + ], + "text_sha256": "9db6d919e20a0ca0f7c893e7af2f02a6ee0dba3001f397cf403ebcfe0c26c268" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert sweep.metrics.V_oc == pytest.approx(\n observation[\"Voc_V\"], abs=TOLERANCE[\"Voc_V\"]\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-68b0f4a243a95d8c20932a20": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py", + "symbol": "test_csi_jv_observations_match_reproducibility_registry", + "lines": [ + 267, + 270 + ], + "text_sha256": "43fc8ff377a990892e527c54051d3042cd0b9c6e0798164be39e274b57a32a4f" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert sign_root == pytest.approx(\n observation[\"sign_change_Voc_V\"],\n abs=TOLERANCE[\"sign_change_Voc_V\"],\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-62f981fd840ac7736ddfc916": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py", + "symbol": "test_csi_jv_observations_match_reproducibility_registry", + "lines": [ + 271, + 273 + ], + "text_sha256": "5ba5d99d7e5187afd66ceef94f6f0ea6020f777668a3cd6eadbb9cdcc779b613" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert sweep.voltages_V[crossing : crossing + 2] == pytest.approx(\n observation[\"sign_bracket_V\"]\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-2d399869d5eb13d5b647b616": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py", + "symbol": "test_csi_jv_observations_match_reproducibility_registry", + "lines": [ + 274, + 276 + ], + "text_sha256": "4a3474009f6b8f567f43d4a11e2f7df75788e0b1949e35b4dcbd0e7e1c8ec10d" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert sweep.metrics.FF == pytest.approx(\n observation[\"FF\"], abs=TOLERANCE[\"FF\"]\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-da32610d850a0a86396e4101": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py", + "symbol": "test_csi_jv_observations_match_reproducibility_registry", + "lines": [ + 277, + 279 + ], + "text_sha256": "114d24359dfb067c0bb42351c2d757b42d8daf0a4b9cbe5ce1ce460b86bc7b53" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert 100.0 * sweep.metrics.PCE == pytest.approx(\n observation[\"PCE_percent\"], abs=TOLERANCE[\"PCE_percent\"]\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-5ef4a8d0e21251a14286f366": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py", + "symbol": "test_csi_jv_observations_match_reproducibility_registry", + "lines": [ + 280, + 283 + ], + "text_sha256": "2046792e5ea085bd2cf021cf0eed199204f1e82d667276b5dd53d6e33194e0c9" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert 100.0 * coarse.PCE == pytest.approx(\n observation[\"nested_10mV_PCE_percent\"],\n abs=TOLERANCE[\"PCE_percent\"],\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-d47370d245d8b39c27a131ec": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py", + "symbol": "test_csi_jv_observations_match_reproducibility_registry", + "lines": [ + 284, + 293 + ], + "text_sha256": "ff68c3ef389ebfa014769b3701c0878bcd30971f7850f3232a530e7fab2875e5" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert max(\n max(\n point.electron_continuity_bound_A_m2,\n point.hole_continuity_bound_A_m2,\n )\n for point in sweep.points\n ) == pytest.approx(\n observation[\"max_continuity_bound_A_m2\"],\n abs=TOLERANCE[\"diagnostic_A_m2\"],\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-f20f45e86d56de01b65cf43b": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py", + "symbol": "test_csi_jv_observations_match_reproducibility_registry", + "lines": [ + 294, + 299 + ], + "text_sha256": "040fa68bec40e23f088dea8c987fbcb1a6b1828db4cd4a05199e23b22179dac4" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert max(\n point.face_current_spread_A_m2 for point in sweep.points\n ) == pytest.approx(\n observation[\"max_all_face_current_spread_A_m2\"],\n abs=TOLERANCE[\"diagnostic_A_m2\"],\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-fb3caa7ac43390bd07b3d8e5": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py", + "symbol": "test_csi_jv_observations_match_reproducibility_registry", + "lines": [ + 300, + 303 + ], + "text_sha256": "3eaea4391504aad5d78a4e4bdcc4daae5673483ccb459b006dc4d148f554b9eb" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert max(point.poisson_residual for point in sweep.points) == pytest.approx(\n observation[\"max_normalized_poisson_residual\"],\n abs=1.0e-9,\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-e2b3a3377581591f51da0375": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py", + "symbol": "test_csi_jv_observations_match_reproducibility_registry", + "lines": [ + 317, + 320 + ], + "text_sha256": "6e478fd659fd2c8940c8a87fcfa8717cbe958e243da4d382a60fbe9e8579fce5" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert actual[0] == pytest.approx(\n observation[\"max_abs_current_A_m2\"],\n abs=TOLERANCE[\"diagnostic_A_m2\"],\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-2b99c708e2c5a5d2ce273745": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py", + "symbol": "test_csi_jv_observations_match_reproducibility_registry", + "lines": [ + 321, + 324 + ], + "text_sha256": "234f1566306086b003f150cf38ecfffac641ea35f5283fb4e5a89ae8da9848e8" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert actual[1] == pytest.approx(\n observation[\"rms_current_A_m2\"],\n abs=TOLERANCE[\"diagnostic_A_m2\"],\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-c5abfbb73535dcd6b970dbe1": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py", + "symbol": "test_csi_voltage_sampling_resolves_maximum_power", + "lines": [ + 207, + 207 + ], + "text_sha256": "8f8204228f402cf51bb28e1a09681e6f9f07ef98c1cd8fade6c7ff5b5816c9cf" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert relative_change < 1.0e-3, requested", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-2b197ff99de9fdd98c398d01": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py", + "symbol": "test_csi_voltage_sampling_resolves_maximum_power", + "lines": [ + 208, + 208 + ], + "text_sha256": "64109d07cc2d98a4a32d7d5b5b7cc931367052d23b33ff993929ca10a5fe1955" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert sweep.metrics.PCE >= coarse.PCE, requested", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-21b6947d3cc9045b148806f6": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py", + "symbol": "test_every_csi_jv_point_has_independent_physics_certificate", + "lines": [ + 139, + 139 + ], + "text_sha256": "b15ce99ba6b27c5db45b020940552ae7a39342d4ba375322236c15ceaf1cb993" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert sweep.certified, requested", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-874c19d90c8b66528a6e8eb7": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py", + "symbol": "test_every_csi_jv_point_has_independent_physics_certificate", + "lines": [ + 140, + 140 + ], + "text_sha256": "f34093e2432002fad6cd49c011ea4c4065fa874c4b80e9dded11c3979e9bb213" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert sweep.metrics_certified, requested", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-8c3b9e05e0939fee27485df3": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py", + "symbol": "test_every_csi_jv_point_has_independent_physics_certificate", + "lines": [ + 142, + 144 + ], + "text_sha256": "00a43890d782cb3fcf8663667b24218807ed9d29906ae0602758d29d134cbd58" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert point.max_normalized_cell_residual < (\n gates[\"normalized_cell_residual\"]\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-dc76ff775a0113c8fa5eef73": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py", + "symbol": "test_every_csi_jv_point_has_independent_physics_certificate", + "lines": [ + 145, + 147 + ], + "text_sha256": "def77786c02bef3ab02bec53c3d4c063fe4b2317c013359060b5dbdf418b73e8" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert point.electron_continuity_bound_A_m2 < (\n gates[\"continuity_bound_A_m2\"]\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-084a52bc408acda9127a9b00": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py", + "symbol": "test_every_csi_jv_point_has_independent_physics_certificate", + "lines": [ + 148, + 150 + ], + "text_sha256": "d727853657d64b0c8eb80b07acdfaf07b9f00363b993b41be14a71c05c0897df" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert point.hole_continuity_bound_A_m2 < (\n gates[\"continuity_bound_A_m2\"]\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-db0ca8bda00946a695526481": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py", + "symbol": "test_every_csi_jv_point_has_independent_physics_certificate", + "lines": [ + 151, + 153 + ], + "text_sha256": "bc92d136b2abdc8eb9d9ac91978d57e973a19cb9c08e19c1d2bfcb6ad61d82a0" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert point.face_current_spread_A_m2 < (\n gates[\"all_face_current_spread_A_m2\"]\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-14a8b2d68ad4948ab4c6022f": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py", + "symbol": "test_every_csi_jv_point_has_independent_physics_certificate", + "lines": [ + 154, + 154 + ], + "text_sha256": "683a7bd04399aed232eece4ea6520e28c7d1f159890d79824dcb75dafd0588dd" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert point.poisson_residual < gates[\"normalized_poisson_residual\"]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-b761e2f1b04275dc9a8ab2a9": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py", + "symbol": "test_every_csi_jv_point_has_independent_physics_certificate", + "lines": [ + 155, + 158 + ], + "text_sha256": "3a417ff0bfb8c8cef9890816259b234aa8104db93299e4e862543541304b20ca" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert point.face_current_spread_A_m2 == pytest.approx(\n np.ptp(point.total_face_current_A_m2),\n abs=1.0e-15,\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-b72892b2911fa4c47d0617ae": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py", + "symbol": "test_every_csi_jv_point_has_independent_physics_certificate", + "lines": [ + 159, + 159 + ], + "text_sha256": "e5ba8a08ebc4890fd0ff55fb16677e7d772dae565e8de0d8fd0d6a9c356c1871" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert point.current_A_m2 == point.total_face_current_A_m2[0]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-958329188f904fe7fb465ccc": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py", + "symbol": "test_every_csi_jv_point_has_independent_physics_certificate", + "lines": [ + 166, + 166 + ], + "text_sha256": "78a69a8070c499329b3bf17563a4847bd92331a8f137f315c21a7bc766ba5f0f" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert actual == pytest.approx(expected, abs=1.0e-9)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-93d7e9bc059d91578ac362b7": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py", + "symbol": "test_every_csi_jv_point_has_independent_physics_certificate", + "lines": [ + 178, + 181 + ], + "text_sha256": "f83b0bdb3570f4b1d89d8c6c9e2bb9ff5fdf76b113c4280381247bf64ad62db7" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.log(point.y[:node_count]) == pytest.approx(\n log_n,\n abs=1.0e-11,\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-38f4deda8c725ccc2c5b59c8": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py", + "symbol": "test_every_csi_jv_point_has_independent_physics_certificate", + "lines": [ + 182, + 185 + ], + "text_sha256": "ba7092ef0c580fc09ab77a635169a9c7611b18aefaf96f3393d6962887ee6ed1" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.log(point.y[node_count : 2 * node_count]) == pytest.approx(\n log_p,\n abs=1.0e-11,\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-4a853afc27a1b1f2b639b739": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_degenerate_transport.py", + "symbol": "test_fd_flux_vanishes_for_constant_quasi_fermi_potentials", + "lines": [ + 147, + 147 + ], + "text_sha256": "b00ba92078f629dc9f03f9c736b5689c37168057d9788fedab78df2890b44d1b" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.max(np.abs(current_n)) / current_scale_n < 2.0e-13", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-f55ad38590c3a0aa553d312e": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_degenerate_transport.py", + "symbol": "test_fd_flux_vanishes_for_constant_quasi_fermi_potentials", + "lines": [ + 148, + 148 + ], + "text_sha256": "4bd0505b31eb0c548f5c522b7bf8b8f871e81905b7ccb417369115eb93e4d3c9" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.max(np.abs(current_p)) / current_scale_p < 2.0e-13", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-d94add31443e88a69913975e": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py", + "symbol": "test_high_doping_fd_pn_equilibrium_closes_across_grid_and_tolerance", + "lines": [ + 437, + 437 + ], + "text_sha256": "18baf9bf87369b262e7c80fd4b181d937ad83a49124d901cdfd2122e48872447" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert results[-1].charge_balance_relative_error < 0.005", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-b7d771fc9375af9a5d1cf161": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py", + "symbol": "test_high_doping_fd_pn_equilibrium_closes_across_grid_and_tolerance", + "lines": [ + 438, + 441 + ], + "text_sha256": "3996e3246fb15e692da9e55d9b7cad8d1b36c7a8dcc6889018c2687990f948e9" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert (\n results[-1].charge_balance_relative_error\n < results[0].charge_balance_relative_error\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-603357ae93f89323de02e022": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py", + "symbol": "test_high_doping_fd_pn_equilibrium_closes_across_grid_and_tolerance", + "lines": [ + 442, + 444 + ], + "text_sha256": "e020f15254ea3b1e164d9b7341ba5637f27cbbe3c269078c827c0e32fd661fb9" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert abs(\n results[-1].depletion_width_m - results[-2].depletion_width_m\n ) / results[-1].depletion_width_m < 0.002", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-6de8698e1d409d96def5e5c3": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py", + "symbol": "test_high_doping_fd_pn_equilibrium_closes_across_grid_and_tolerance", + "lines": [ + 428, + 428 + ], + "text_sha256": "594015fdc3c4aa7dae4eae422b1aed06168ad8a619518b70faf6f8619f7b4251" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.all(np.isfinite(result.state))", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-d0a1d0db07578ae5cc6b7db1": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py", + "symbol": "test_high_doping_fd_pn_equilibrium_closes_across_grid_and_tolerance", + "lines": [ + 429, + 429 + ], + "text_sha256": "8b2e34b3fa5b7b2e043fc38cd9d2da12cf9c8d98b983b4aa2d4b2d3ab757d890" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.all(result.electron_density_m3 > 0.0)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-e360340ddc83017d0160cca1": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py", + "symbol": "test_high_doping_fd_pn_equilibrium_closes_across_grid_and_tolerance", + "lines": [ + 430, + 430 + ], + "text_sha256": "6d29fbdb135fdda13dd89dc5458324ba8eb0a18947bb72b28d7b28387dce2161" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.all(result.hole_density_m3 > 0.0)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-fc9c37feee7bde808a11ae88": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py", + "symbol": "test_high_doping_fd_pn_equilibrium_closes_across_grid_and_tolerance", + "lines": [ + 431, + 431 + ], + "text_sha256": "661ce7a27eb94790954ffbf27d60d12ee6fd128aef94304c817d888fd2b5c799" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.maximum_normalized_poisson_residual <= poisson_tolerance", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-8053ee9d516e4f01145b7d9c": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py", + "symbol": "test_high_doping_fd_pn_equilibrium_closes_across_grid_and_tolerance", + "lines": [ + 432, + 432 + ], + "text_sha256": "68b593e1b39f767e15a7c590c546c4814fc261ab0e40c5f25124aef5e5faa9dd" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.maximum_relative_face_current < 1.0e-12", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-080bb2defd360a37691ecc2a": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py", + "symbol": "test_high_doping_fd_pn_equilibrium_closes_across_grid_and_tolerance", + "lines": [ + 433, + 433 + ], + "text_sha256": "35cb353dad3e46bd6aede4fe388d42fc716ab42cdf3c5c67c602b459f2d4ddf4" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.maximum_normalized_carrier_rate < 1.0e-12", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-1c06a2f730fa08027b2c3bf7": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py", + "symbol": "test_high_doping_fd_pn_equilibrium_closes_across_grid_and_tolerance", + "lines": [ + 434, + 434 + ], + "text_sha256": "77109afb7493560855c1aad3b1682b0cafeb1854b7b9adc7531b943d1c996983" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.depletion_width_relative_error < 0.05", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-e95e9bfc812e49c431c9b964": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py", + "symbol": "test_high_doping_fd_pn_equilibrium_closes_across_grid_and_tolerance", + "lines": [ + 435, + 435 + ], + "text_sha256": "d7e63cd0c55c131720cc2ef6060a8c74efcd87b38f26c466c6bb0eb943dd85ab" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.peak_field_relative_error < 0.05", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-6c741fd4208bbd6c36564c9d": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_degenerate_refinement.py", + "symbol": "test_registered_executor_real_cell_matches_exact_contract", + "lines": [ + 69, + 69 + ], + "text_sha256": "ef02fc452ce04ff5830a4016b318364459edcbe72a8cbd815847d4536de1020b" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert set(observables) == {gate.metric for gate in lane.observables}", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-36e93af84857fc4fa1cd26ca": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_degenerate_refinement.py", + "symbol": "test_registered_executor_real_cell_matches_exact_contract", + "lines": [ + 70, + 70 + ], + "text_sha256": "edfdc872fc8ca86fd1a8cd138ae47898d23ee5650b8e5fb0a0049ee2e91c66aa" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert set(quality) == {gate.metric for gate in lane.quality_gates}", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-bce97c3d9e006df6724f6419": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_degenerate_refinement.py", + "symbol": "test_registered_executor_real_cell_matches_exact_contract", + "lines": [ + 71, + 74 + ], + "text_sha256": "4ff497070934f9333b021bf325bfa5836b338ab63fbe38478dcf4fd325cfe7bc" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert all(\n observables[gate.metric].units == gate.units\n for gate in lane.observables\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-6ea6a9cc2f11d15e8e9006c4": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_degenerate_refinement.py", + "symbol": "test_registered_executor_real_cell_matches_exact_contract", + "lines": [ + 75, + 78 + ], + "text_sha256": "b029437014c8d7ef09bec65314add8d440acd749d0dfce7308b10dbc2e4fc328" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert all(\n quality[gate.metric].units == gate.units\n for gate in lane.quality_gates\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-7f7e6357adb544f9950fde82": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_degenerate_refinement.py", + "symbol": "test_registered_executor_real_cell_matches_exact_contract", + "lines": [ + 79, + 79 + ], + "text_sha256": "b0eaad894d16570fe42e3bf945b395b14116ad406b81cba56e6cb3e74477ca57" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert quality[\"contact_thermodynamics_certified\"].values == (1.0,)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-e84dce4f704d010fb3d0cfa9": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_degenerate_refinement.py", + "symbol": "test_registered_executor_real_cell_matches_exact_contract", + "lines": [ + 80, + 80 + ], + "text_sha256": "3068c5b48f85ef1115fcfd1da2f9efd93e0a78f93effcec15708e2c811d0618e" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert quality[\"fd_recombination_off_topology_verified\"].values == (1.0,)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-4f43786b11561f4552508515": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_degenerate_refinement.py", + "symbol": "test_registered_executor_real_cell_matches_exact_contract", + "lines": [ + 81, + 81 + ], + "text_sha256": "e01b9adc64b8cfafec9dce78d26b67786a01079920462ceb6c37b0191baa9ff4" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert quality[\"max_relative_face_current\"].values[0] < 1.0e-12", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-ae2d86dc962a9311cdbb858c": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_degenerate_refinement.py", + "symbol": "test_registered_executor_real_cell_matches_exact_contract", + "lines": [ + 84, + 84 + ], + "text_sha256": "8e650370e456a643189461c4a059a6cf24d49935db5873089226457d898f276c" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert metadata[\"protocol\"][\"schema_version\"] == metadata[\"protocol_schema\"]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-ac4c7fe471b32bad28d8705f": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_degenerate_refinement.py", + "symbol": "test_registered_executor_real_cell_matches_exact_contract", + "lines": [ + 85, + 85 + ], + "text_sha256": "a144662dcf6eff22542a5eaeb88bfd1d13caff7877942f7aac1d715e2d3ba2eb" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert content_sha256(metadata[\"protocol\"]) == metadata[\"protocol_hash\"]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-0e160a19c9f4ac8cba2e0b1b": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_degenerate_refinement.py", + "symbol": "test_registered_executor_real_cell_matches_exact_contract", + "lines": [ + 86, + 86 + ], + "text_sha256": "2beaa28fa2c74e955a1e2b4d7287108b2c76dfb8831a327c12b39f62718ba7a5" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert metadata[\"actual\"][\"grid_nodes\"] == 81", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-9be754e79922a10f8836400f": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "symbol": "test_mixed_distributed_species_close_in_illuminated_qf_jv", + "lines": [ + 716, + 716 + ], + "text_sha256": "fe8b7e6ebccb05037d464e1e33447dc78f397e1a8846fc73319a7ea9d5be5710" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert params is not None", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-214d9924db7738b2ccf7be07": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "symbol": "test_mixed_distributed_species_close_in_illuminated_qf_jv", + "lines": [ + 748, + 748 + ], + "text_sha256": "aac9be6b68c7fabb23ab79d7d2c49cc157fa79786ee168142b9676cecfd24a32" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert sweep.certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-6ea161fc1e7315ea8db70e46": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "symbol": "test_mixed_distributed_species_close_in_illuminated_qf_jv", + "lines": [ + 749, + 749 + ], + "text_sha256": "c7b2e94e44c542ece9137f42a826c43a1b613782fb07e4a772ea1ae78cf3535c" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert sweep.defect_energy_quadrature_order == 16", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-ce2e04f7ec3bcd8ed0048298": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "symbol": "test_mixed_distributed_species_close_in_illuminated_qf_jv", + "lines": [ + 750, + 753 + ], + "text_sha256": "b44cdc454d36626f99b2ea5bba870e8617042e9391174f0dd9684078fca40580" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert sweep.defect_distribution_kinds == (\n GAUSSIAN,\n CONDUCTION_BAND_TAIL,\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-fb047f3bfc0cb99cf41abf5f": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "symbol": "test_mixed_distributed_species_close_in_illuminated_qf_jv", + "lines": [ + 754, + 754 + ], + "text_sha256": "c7546e12a59cc0acb1c9cc1e99712d8b4c5618ea2aa1c7e558ecdc55e8312543" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert all(point.defect_energy_quadrature_order == 16 for point in sweep.points)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-1ff9833ed159a9e486f31e1d": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "symbol": "test_mixed_distributed_species_close_in_illuminated_qf_jv", + "lines": [ + 755, + 758 + ], + "text_sha256": "af23a06c133fd05bc5e879f08db03b20707eae4e6663017206fa1daaa701a089" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert all(\n point.defect_distribution_kinds == (GAUSSIAN, CONDUCTION_BAND_TAIL)\n for point in sweep.points\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-65312ff01b71735a918d056b": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "symbol": "test_mixed_distributed_species_close_in_illuminated_qf_jv", + "lines": [ + 759, + 759 + ], + "text_sha256": "6cff674eafa43bcf6dd7e213a46e3218e2c3fe19b0483e24e9db8c70b594f625" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert all(point.bulk_defect_diagnostics is not None for point in sweep.points)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-192c7624e9f690624fba5649": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_defect_distributions.py", + "symbol": "test_distributed_species_expansion_is_auditable_and_conservative", + "lines": [ + 201, + 201 + ], + "text_sha256": "efe5a3351af90e86d2bb66fa21f7d976f4e692c904734fbbdeca05265036760d" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert len(expansion.node_species) == 12", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-7e4f52f5bb8c1148e15b0bfc": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_defect_distributions.py", + "symbol": "test_distributed_species_expansion_is_auditable_and_conservative", + "lines": [ + 202, + 204 + ], + "text_sha256": "5431ed70948e65d8350ccff75f1ef13568eed85518ddc7d4eb098087da88cbd7" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert [item.name for item in expansion.node_species] == [\n f\"acceptor_distribution::energy[{index:03d}]\" for index in range(12)\n ]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-5a941c76c233a7499c39f7da": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_defect_distributions.py", + "symbol": "test_distributed_species_expansion_is_auditable_and_conservative", + "lines": [ + 205, + 210 + ], + "text_sha256": "fcc606fb8bb3994c2e1e6965668047a30b5aa2680579e6e4dbc83591e1453ff1" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert all(\n item.distribution.kind == SINGLE_LEVEL\n and item.kinetics is species.kinetics\n and item.charge_transition == species.charge_transition\n for item in expansion.node_species\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-3d5e2b3c76f62c3a346380d0": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_defect_distributions.py", + "symbol": "test_distributed_species_expansion_is_auditable_and_conservative", + "lines": [ + 211, + 214 + ], + "text_sha256": "8fd868efc53d5ce82afe625a68b784899ed25cf86e9224dabe6cbf2c0c21da50" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert math.fsum(\n item.distribution.total_density_m3\n for item in expansion.node_species\n ) == pytest.approx(TOTAL_DENSITY_M3, rel=8.0e-16)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-a82cb5d83fd8874e7d20ab0d": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_distributed_defect_closure.py", + "symbol": "test_source_aggregation_is_the_exact_sum_of_d2_energy_nodes", + "lines": [ + 209, + 211 + ], + "text_sha256": "9d8ef84f47368bfaedd290e65672b3e6669ebd0af7e011fd7b92ee7370187a35" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert source.node_closure.closure_identity_sha256 == (\n nodes.closure_identity_sha256\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-c7c0bbad10ab5bd04efe0b39": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_distributed_defect_closure.py", + "symbol": "test_source_aggregation_is_the_exact_sum_of_d2_energy_nodes", + "lines": [ + 212, + 212 + ], + "text_sha256": "8af2cc7e6c34e8ef9445bad9fe3da163a1a1112798242e5b5fd031978c4d0d5a" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert source.quadrature.to_dict() == expansion.quadrature.to_dict()", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-26110df9c495455e4328809e": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_distributed_defect_closure.py", + "symbol": "test_source_aggregation_is_the_exact_sum_of_d2_energy_nodes", + "lines": [ + 213, + 216 + ], + "text_sha256": "06d59bef9219d94c9b42c0a7e20d8db98f8245e3e24eaa82fb18f45f1f61491d" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_array_equal(\n source.recombination_rate_m3_s,\n np.sum(nodes.recombination_rate_m3_s, axis=0),\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-d6544347c4f761d09f20297e": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_distributed_defect_closure.py", + "symbol": "test_source_aggregation_is_the_exact_sum_of_d2_energy_nodes", + "lines": [ + 217, + 220 + ], + "text_sha256": "1f90087166c5ef13f419cb4d994829752f82d85e5d5670831514b0e5d5362e48" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_array_equal(\n source.charge_density_C_m3,\n np.sum(nodes.charge_density_C_m3, axis=0),\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-857c2f12bf7141c1345e399a": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_distributed_defect_closure.py", + "symbol": "test_source_aggregation_is_the_exact_sum_of_d2_energy_nodes", + "lines": [ + 221, + 228 + ], + "text_sha256": "2aa9b4636ccaa70cd2f96cdc31fe5c7359f8483cd5bf021cc5949f013c50ec43" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_array_equal(\n source.mean_occupancy,\n density_weighted_mean_occupancy(\n nodes.occupancy,\n expansion.quadrature.density_weights_m3,\n TOTAL_DENSITY_M3,\n ),\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-318777c414555cac7890c205": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_distributed_defect_device.py", + "symbol": "test_compiled_device_and_contact_neutrality_reuse_energy_expansions", + "lines": [ + 403, + 403 + ], + "text_sha256": "b3e88b67be0d78b4e34786f17f7a905ca49d166c4a1af4cf26da1fea17c08e8e" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.all(np.isfinite(evaluated.total_charge_density_C_m3))", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-79928c2c3389474929d50a0e": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_distributed_defect_device.py", + "symbol": "test_compiled_device_and_contact_neutrality_reuse_energy_expansions", + "lines": [ + 404, + 404 + ], + "text_sha256": "26cd28379c028db733144e8fb3058c011a2a639ddc9cacf32bc54508e5a37853" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert neutrality.neutrality.normalized_charge_residual <= 1.0e-12", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-1e44ef909aceb0f9a84a8d04": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_distributed_defect_refinement.py", + "symbol": "test_registered_executor_real_cell_matches_exact_contract", + "lines": [ + 138, + 138 + ], + "text_sha256": "ef02fc452ce04ff5830a4016b318364459edcbe72a8cbd815847d4536de1020b" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert set(observables) == {gate.metric for gate in lane.observables}", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-d199861441e2fb3dcf9a62c6": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_distributed_defect_refinement.py", + "symbol": "test_registered_executor_real_cell_matches_exact_contract", + "lines": [ + 139, + 139 + ], + "text_sha256": "edfdc872fc8ca86fd1a8cd138ae47898d23ee5650b8e5fb0a0049ee2e91c66aa" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert set(quality) == {gate.metric for gate in lane.quality_gates}", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-70121f107635a1c8328ca451": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_distributed_defect_refinement.py", + "symbol": "test_registered_executor_real_cell_matches_exact_contract", + "lines": [ + 140, + 142 + ], + "text_sha256": "e4bcee08e22875152747aa9b9f22f28c6e25e3b44b4aa665ab49d18891068e3d" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert all(\n observables[gate.metric].units == gate.units for gate in lane.observables\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-ef022c8f3afd5c47816c6491": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_distributed_defect_refinement.py", + "symbol": "test_registered_executor_real_cell_matches_exact_contract", + "lines": [ + 143, + 145 + ], + "text_sha256": "c4a6de085f7c1fde5cd925f05203236272b28fbb91d4d78cea36b2daff125b6f" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert all(\n quality[gate.metric].units == gate.units for gate in lane.quality_gates\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-1cd5b45bf24a992fd0c610d8": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_distributed_defect_refinement.py", + "symbol": "test_registered_executor_real_cell_matches_exact_contract", + "lines": [ + 146, + 149 + ], + "text_sha256": "8c691a7c91dedcac45d1762f28a2039f695d25694d755ae564c902c29bbe9cca" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert all(\n gate.passes(quality[gate.metric].values[0])\n for gate in lane.quality_gates\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-881ba54c40f9d5f351b1a936": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_distributed_defect_refinement.py", + "symbol": "test_registered_executor_real_cell_matches_exact_contract", + "lines": [ + 150, + 150 + ], + "text_sha256": "221d73c0b00becdef59c53ae5fbc86c33c9a34fac86b8e798f3f0979f2a394d3" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert quality[\"energy_orders_completed\"].values == (3.0,)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-ceb600ba6ca0ecc33117b5e9": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_distributed_defect_refinement.py", + "symbol": "test_registered_executor_real_cell_matches_exact_contract", + "lines": [ + 151, + 151 + ], + "text_sha256": "2fb5f44c9c7bc14912683cc931e3d7258cdc6dc62b2a9fae6cc0929ff61bec0d" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert quality[\"source_species_count\"].values == (4.0,)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-e496923003b5aacadde71e1c": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_distributed_defect_refinement.py", + "symbol": "test_registered_executor_real_cell_matches_exact_contract", + "lines": [ + 152, + 152 + ], + "text_sha256": "2dbf8071ca66c74dd1733975c2e43b537b3bec70f8f904c3ae4d070553ee431d" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert quality[\"distributed_energy_metadata_verified\"].values == (1.0,)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-3b42ccc913657219bce34978": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_distributed_defect_refinement.py", + "symbol": "test_registered_executor_real_cell_matches_exact_contract", + "lines": [ + 153, + 153 + ], + "text_sha256": "34d52ff68f65480a3acc4d42fbfd0a1899c962d1968feec69247d1abe33e81d7" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert quality[\"default_distributed_path_rejected\"].values == (1.0,)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-b946adffbdd19fc79dc1359a": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_distributed_defect_refinement.py", + "symbol": "test_registered_executor_real_cell_matches_exact_contract", + "lines": [ + 156, + 158 + ], + "text_sha256": "ab6cf15b0395ae378bb97ae47f5ca2fe56185fe9f9b00fee84a4ceba51794684" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert metadata[\"protocol_schema\"] == (\n DISTRIBUTED_DEFECT_DEVICE_REFINEMENT_VERSION\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-9dd8cabd9b342890d7b6b2a7": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_distributed_defect_refinement.py", + "symbol": "test_registered_executor_real_cell_matches_exact_contract", + "lines": [ + 159, + 159 + ], + "text_sha256": "a144662dcf6eff22542a5eaeb88bfd1d13caff7877942f7aac1d715e2d3ba2eb" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert content_sha256(metadata[\"protocol\"]) == metadata[\"protocol_hash\"]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-a7e3840f3f72fbde1a0cc051": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_distributed_defect_refinement.py", + "symbol": "test_registered_executor_real_cell_matches_exact_contract", + "lines": [ + 160, + 160 + ], + "text_sha256": "4a1c96a379a044f0b772b05ac71911fefc3beaf57645d4724ae21139b1f06145" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert metadata[\"actual\"][\"energy_orders\"] == [16, 32, 64]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-8ec339ed466c11f5afb4a1b4": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/validation/test_paper_configurations.py", + "symbol": "test_driftfusion_ff_in_expected_range", + "lines": [ + 429, + 429 + ], + "text_sha256": "bedab98ac22f4186d1c49e578b256362abcffe717289ed86307f5681588cca8d" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert 0.50 <= FF <= 0.80, f\"Driftfusion FF = {FF:.4f} outside [0.50, 0.80]\"", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-19994f233c090d4894c0fd89": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/validation/test_paper_configurations.py", + "symbol": "test_driftfusion_hysteresis_increases_with_scan_rate", + "lines": [ + 481, + 485 + ], + "text_sha256": "4012af072371bfbed48abb67b1bbdfcdf1aebc95716e4323ec4fce969a3ee7fc" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert abs(hi_fast) > abs(hi_slow), (\n f\"|HI| at 10 V/s ({abs(hi_fast):.4f}) must exceed |HI| at 0.1 V/s \"\n f\"({abs(hi_slow):.4f}) — ion migration should increase hysteresis \"\n \"at faster scan rates\"\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-d49815a6e63625a4f20c7577": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/validation/test_paper_configurations.py", + "symbol": "test_driftfusion_illumination_slope_physical", + "lines": [ + 450, + 450 + ], + "text_sha256": "59b2654ab0d54501f482a540af5f5576c2b961274a251caa77fab78f816bdb14" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert r_value > 0.95, f\"V_oc vs ln(Phi) correlation r = {r_value:.3f} — too weak\"", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-dba8e169c1ee80627be14f96": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/validation/test_paper_configurations.py", + "symbol": "test_driftfusion_illumination_slope_physical", + "lines": [ + 451, + 454 + ], + "text_sha256": "7b6b6d95b0e192428d239266cd37d62f44e4371e3dae1068c176932a2c897016" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert 25.0 <= slope_mv <= 80.0, (\n f\"dV_oc / d(ln Phi) = {slope_mv:.1f} mV/ln-unit outside [25, 80] — \"\n f\"n_id ≈ {slope_mv / 25.85:.1f}\"\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-12dfa956a44c058a6aa80143": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/validation/test_paper_configurations.py", + "symbol": "test_driftfusion_jsc_matches_beer_lambert", + "lines": [ + 409, + 412 + ], + "text_sha256": "3c4145b2b4155b708bf2fa649c69c424c22dc6aa67bc03216e909f0e4dc777df" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert 180.0 <= J_sc <= 260.0, (\n f\"Driftfusion J_sc = {J_sc:.1f} A/m² outside [180, 260] — \"\n f\"expected ~220 A/m² for this Beer-Lambert stack\"\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-ed08cb3d296bb522313cba10": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/validation/test_paper_configurations.py", + "symbol": "test_driftfusion_jsc_matches_beer_lambert", + "lines": [ + 414, + 417 + ], + "text_sha256": "8232f1ae13072e3f2cab360f04ba952dcbe03303d620bf68cf857260fbcf4e82" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert abs(J_sc) <= budget, (\n f\"Driftfusion J_sc = {abs(J_sc):.3f} A/m² exceeds its absorbed-\"\n f\"photon budget {budget:.3f} A/m²\"\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-f184774cdf83eb9e669406dd": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/validation/test_paper_configurations.py", + "symbol": "test_driftfusion_paper_comparison_quantifies_low_voc_offset", + "lines": [ + 371, + 375 + ], + "text_sha256": "405b8fb755c7eea7481c51eb2dc150192a23080679df78cda1f398ac3b0b2d01" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert -0.50 <= delta_voc <= -0.25, (\n f\"Driftfusion V_oc offset vs {DRIFTFUSION_PAPER.source} midpoint is \"\n f\"{delta_voc:.4f} V outside [-0.50, -0.25] — \"\n f\"ours = {V_oc:.4f} V, paper midpoint = {paper_midpoint:.4f} V\"\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-3c1d832d0d7e19ad9acf4415": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/validation/test_paper_configurations.py", + "symbol": "test_driftfusion_voc_in_expected_range", + "lines": [ + 358, + 361 + ], + "text_sha256": "8cf35c767200442563d7788db3246a189940c6f78202c1796ead1bf9d60c711b" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert 0.55 <= V_oc <= 0.85, (\n f\"Driftfusion flat-band V_oc = {V_oc:.4f} V outside [0.55, 0.85] — \"\n f\"Calado 2016 reports ~1.00–1.10 V; our flat-band model gives ~0.67 V\"\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-4a4450a717279d7a9cc77c2f": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_dynamic_defect_impedance.py", + "symbol": "test_public_bulk_dynamic_defect_impedance_is_protocol_bound_and_certified", + "lines": [ + 60, + 60 + ], + "text_sha256": "68061c937a8cc36d7b2fd11458e4f5b11bf75c116b30ce2a2c703d237e03462f" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.diagnostics.bulk_trap_charge_storage_response_F_m2 is not None", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-bfce97ea1c6466983ae0e5ac": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_dynamic_defect_impedance.py", + "symbol": "test_public_bulk_dynamic_defect_impedance_is_protocol_bound_and_certified", + "lines": [ + 61, + 61 + ], + "text_sha256": "0425db263e1049824859f627f63fd631ea298af47621c7e15075b5166e982e41" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.diagnostics.interface_sheet_charge_storage_response_F_m2 is None", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-88a9a247a7483ea993667868": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_dynamic_defect_impedance.py", + "symbol": "test_public_bulk_dynamic_defect_impedance_is_protocol_bound_and_certified", + "lines": [ + 59, + 59 + ], + "text_sha256": "97b2c862d3551f445c50339e7652add3b523ef9ed4482ad28d8e49588f0a2401" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " _assert_public_dynamic_result(result, \"bulk_dynamic_defect\", frequencies.size)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-6320ae143a48ae94b5b3d2bb": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_dynamic_defect_impedance.py", + "symbol": "test_public_interface_dynamic_defect_impedance_uses_two_sided_faces", + "lines": [ + 81, + 81 + ], + "text_sha256": "1708de791549f6bfe15dd3bc7ee5bee4a59547a7c417a36ef579c8dfcba331b0" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.dynamic_defect_evidence is not None", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-19667378b6e130d3f6034e16": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_dynamic_defect_impedance.py", + "symbol": "test_public_interface_dynamic_defect_impedance_uses_two_sided_faces", + "lines": [ + 82, + 84 + ], + "text_sha256": "64ef9d0fe859d971dbd3a6f91e8c7d54b8194c22b0fddde8cb6000b52681a6ab" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.dynamic_defect_evidence.interface_current_observation == (\n \"symmetric_adjacent_physical_faces\"\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-af35ebbad8b86cbb2ddfa6d4": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_dynamic_defect_impedance.py", + "symbol": "test_public_interface_dynamic_defect_impedance_uses_two_sided_faces", + "lines": [ + 85, + 85 + ], + "text_sha256": "f9b934d47d260f1fde4104826fb82c8724025f37b3cdc08c7c4283f76a83efc3" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.diagnostics.interface_sheet_charge_storage_response_F_m2 is not None", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-de6e5ec60719babee793b931": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_dynamic_defect_impedance.py", + "symbol": "test_public_interface_dynamic_defect_impedance_uses_two_sided_faces", + "lines": [ + 76, + 80 + ], + "text_sha256": "ceeb52c5144f038731d53f994e64257c0354f21dc3e285c01eb24ede37761745" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " _assert_public_dynamic_result(\n result,\n \"interface_dynamic_defect\",\n frequencies.size,\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-93355d18cb3d6dc05528b9d5": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_dynamic_defect_impedance.py", + "symbol": "test_public_triple_coupled_defect_ion_impedance_is_certified", + "lines": [ + 105, + 105 + ], + "text_sha256": "68061c937a8cc36d7b2fd11458e4f5b11bf75c116b30ce2a2c703d237e03462f" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.diagnostics.bulk_trap_charge_storage_response_F_m2 is not None", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-1435e79f45b24bc34ecf9337": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_dynamic_defect_impedance.py", + "symbol": "test_public_triple_coupled_defect_ion_impedance_is_certified", + "lines": [ + 106, + 106 + ], + "text_sha256": "f9b934d47d260f1fde4104826fb82c8724025f37b3cdc08c7c4283f76a83efc3" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.diagnostics.interface_sheet_charge_storage_response_F_m2 is not None", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-f4689c3810cdc076c0f3372d": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_dynamic_defect_impedance.py", + "symbol": "test_public_triple_coupled_defect_ion_impedance_is_certified", + "lines": [ + 107, + 107 + ], + "text_sha256": "97ecae39302e7f5140d2ed79138b1abc35bbbbd0fc46facf93846d3cda2e629d" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.diagnostics.positive_ion_storage_response_F_m2 is not None", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-1cb532928d3d9cbfd620b4dc": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_dynamic_defect_impedance.py", + "symbol": "test_public_triple_coupled_defect_ion_impedance_is_certified", + "lines": [ + 100, + 104 + ], + "text_sha256": "cb57dbbffe132a98c02b3989213743606b7f105da83084e065df60dd8f3eb21a" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " _assert_public_dynamic_result(\n result,\n \"bulk_interface_defect_plus_ions\",\n frequencies.size,\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-832aeb600609ef014785e343": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_dynamic_defect_impedance.py", + "symbol": "test_registered_production_executor_emits_exact_metrics_and_protocol", + "lines": [ + 123, + 125 + ], + "text_sha256": "efc473479b57e2e75724aedd95b714ed761a5dc3952fec3db3ccab39b5f8022f" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert {item.name for item in measurement.observables} == {\n gate.metric for gate in lane.observables\n }", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-ddeb181fbf3810c218b4183d": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_dynamic_defect_impedance.py", + "symbol": "test_registered_production_executor_emits_exact_metrics_and_protocol", + "lines": [ + 126, + 128 + ], + "text_sha256": "2ce9755b797dafec00c0540b63569e214be23ba94010cdd7ecd1f9a0d2375b40" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert {item.name for item in measurement.quality} == {\n gate.metric for gate in lane.quality_gates\n }", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-66a92058175056239e0b809c": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_dynamic_defect_impedance.py", + "symbol": "test_registered_production_executor_emits_exact_metrics_and_protocol", + "lines": [ + 130, + 132 + ], + "text_sha256": "52fef10d0bfdb6594d4313df82575aebfd5ee91dbff5c947e627aa95859f9c49" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert metadata[\"protocol\"][\"schema_version\"] == (\n \"dynamic-defect-impedance-refinement-execution-protocol-v1\"\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-af29c80973cf66023570f4d2": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_dynamic_defect_impedance.py", + "symbol": "test_registered_production_executor_emits_exact_metrics_and_protocol", + "lines": [ + 133, + 133 + ], + "text_sha256": "308737b199eecac9cc778edfb9cb9456502613d7a1e52f712ee8133242c0cc36" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert metadata[\"protocol\"][\"frequency_sampling\"][\"fine_count\"] == 145", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-e9816328ee1456df11710e95": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_dynamic_defect_impedance.py", + "symbol": "test_registered_production_executor_emits_exact_metrics_and_protocol", + "lines": [ + 134, + 134 + ], + "text_sha256": "b33ed673d48b0595b3cc8733ba1528ea220d3ba2b23f823f83ef0b5785ea7dcd" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert metadata[\"dynamic_defect_evidence\"][\"certified\"] is True", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-9189d492735251bbdb17c6b9": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_dynamic_defect_impedance_api.py", + "symbol": "test_real_dynamic_defect_impedance_api_serializes_protocol_and_evidence", + "lines": [ + 34, + 34 + ], + "text_sha256": "72287d9a7bd1be2b893b99ae669fd9bd2942b37cea73ab85971c6625c25601f3" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert response.status_code == 200", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-7444f0ca754c94c49766345f": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_dynamic_defect_impedance_api.py", + "symbol": "test_real_dynamic_defect_impedance_api_serializes_protocol_and_evidence", + "lines": [ + 36, + 36 + ], + "text_sha256": "6bea7e347028e0852168a22e80a196fa9c63f4fc9623b4c2e8213afd54d04f97" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert len(result[\"Z_real\"]) == 19", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-595b1ca097493921e6651984": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_dynamic_defect_impedance_api.py", + "symbol": "test_real_dynamic_defect_impedance_api_serializes_protocol_and_evidence", + "lines": [ + 37, + 37 + ], + "text_sha256": "b619d7cb7cc9661638c7550495ba246c6cbae009fa573ef4eeede00f7e5c6bba" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert len(result[\"Z_imag\"]) == 19", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-4c20a7a4bada2041bf96547b": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_dynamic_defect_impedance_api.py", + "symbol": "test_real_dynamic_defect_impedance_api_serializes_protocol_and_evidence", + "lines": [ + 38, + 40 + ], + "text_sha256": "9a29a2f69e9394c5e34ddf265163174ee45c4cf2a512b465b429a649c88ea9b4" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result[\"protocol\"][\"method\"] == (\n \"dynamic_defect_frequency_certified\"\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-441b79a81068fb7d645a669f": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_dynamic_defect_impedance_api.py", + "symbol": "test_real_dynamic_defect_impedance_api_serializes_protocol_and_evidence", + "lines": [ + 42, + 42 + ], + "text_sha256": "6cb2ee04d5eb687c3df0ef384e6960c99bccdaf3f894b0f56e73877292cbc698" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert evidence[\"capability\"] == \"bulk_defect_plus_ions\"", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-54e97008c58af57c1a1a95bc": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_dynamic_defect_impedance_api.py", + "symbol": "test_real_dynamic_defect_impedance_api_serializes_protocol_and_evidence", + "lines": [ + 43, + 43 + ], + "text_sha256": "af1d56c438d1e606694cfca1770422856192127f6320425abb68e382de0c2466" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert evidence[\"certified\"] is True", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-7b40bff2d74adbb3b0aafcad": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_dynamic_defect_impedance_api.py", + "symbol": "test_real_dynamic_defect_impedance_api_serializes_protocol_and_evidence", + "lines": [ + 44, + 46 + ], + "text_sha256": "5b8c0300b974b3658691758a7e096923a7187722f839350b872d93434477f975" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert evidence[\"protocol\"] == (\n result[\"protocol\"][\"dynamic_defect_protocol\"]\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-52fc77c3b31dabeb91062682": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_dynamic_defect_impedance_api.py", + "symbol": "test_real_dynamic_defect_impedance_api_serializes_protocol_and_evidence", + "lines": [ + 47, + 47 + ], + "text_sha256": "76d42dbca2771011b05c5ef19305b374246e41501e223f20fd139bc401b9fb35" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert len(evidence[\"protocol_sha256\"]) == 64", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-cd5475030cfb5f1d81bf9b32": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_dynamic_defect_impedance.py", + "symbol": "test_capability_classifier_routes_every_certified_combination", + "lines": [ + 97, + 97 + ], + "text_sha256": "28b0ee75865ba40d602fdf439c10955e5eb78b78684d7086e4972e60a5a14792" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert classify_dynamic_defect_capability(bulk) == \"bulk_dynamic_defect\"", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-94e914cf2e3fae220bd76f9c": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_dynamic_defect_impedance.py", + "symbol": "test_capability_classifier_routes_every_certified_combination", + "lines": [ + 98, + 100 + ], + "text_sha256": "d9c72fa76ffb893fba346fbab5b28a66ba5d346b879886e0e92ca4d5c01daf02" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert classify_dynamic_defect_capability(interface) == (\n \"interface_dynamic_defect\"\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-c21968072a125f9d0a5b8e07": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_dynamic_defect_impedance.py", + "symbol": "test_capability_classifier_routes_every_certified_combination", + "lines": [ + 101, + 103 + ], + "text_sha256": "408d3da5d0dfb91c859aecd8b1c86e1099fb20d8574fb81c5e7523b73cdd5b2e" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert classify_dynamic_defect_capability(_with_mobile_ions(bulk)) == (\n \"bulk_defect_plus_ions\"\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-2aae92bbaaeadcbf99390bbf": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_dynamic_defect_impedance.py", + "symbol": "test_capability_classifier_routes_every_certified_combination", + "lines": [ + 104, + 106 + ], + "text_sha256": "a13b111a0ffa643f205a5457917cc633428f6cfe9cd97ff07c9a74d522061182" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert classify_dynamic_defect_capability(_with_mobile_ions(interface)) == (\n \"interface_defect_plus_ions\"\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-4600ba43fdfbf3f24c917280": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_dynamic_defect_impedance.py", + "symbol": "test_capability_classifier_routes_every_certified_combination", + "lines": [ + 107, + 109 + ], + "text_sha256": "a418feeb3bba0c1f771ae74ba0595877946ad530d4cbad86644ef8a1fc7d157f" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert classify_dynamic_defect_capability(_bulk_interface_ion_stack()) == (\n \"bulk_interface_defect_plus_ions\"\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-ea2147cb4b1302b36520efb9": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_dynamic_defect_impedance.py", + "symbol": "test_effective_lifetime_only_stack_has_no_dynamic_defect_capability", + "lines": [ + 140, + 140 + ], + "text_sha256": "fe8b7e6ebccb05037d464e1e33447dc78f397e1a8846fc73319a7ea9d5be5710" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert params is not None", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-a4d172240d490b2fbda28745": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_dynamic_defect_impedance.py", + "symbol": "test_effective_lifetime_only_stack_has_no_dynamic_defect_capability", + "lines": [ + 156, + 159 + ], + "text_sha256": "2333b5d92cca0ab304c3b59cc593440de50359a495559c1fc7e488b93fc77e8a" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(\n DynamicDefectImpedanceCapabilityError,\n match=\"requires an explicit bulk or canonical interface defect\",\n ):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-8b73a5996b8df46470ad3f43": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_dynamic_defect_transient.py", + "symbol": "test_public_dynamic_defect_transient_is_protocol_bound_and_certified", + "lines": [ + 38, + 38 + ], + "text_sha256": "a0c6632001ffba8d621c9bb4ae88298ce060b1b4f96ce1ac955143da4bbf07d4" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.evidence.certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-46c5af796c535952b9a7bb89": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_dynamic_defect_transient.py", + "symbol": "test_public_dynamic_defect_transient_is_protocol_bound_and_certified", + "lines": [ + 39, + 39 + ], + "text_sha256": "108951eed10dc8f0e0486efa913a44a45c55f4ed6969b9c1ae5ed5e61d9ecc62" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.evidence.reasons == ()", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-db79fc474ca61342ea235bac": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_dynamic_defect_transient.py", + "symbol": "test_public_dynamic_defect_transient_is_protocol_bound_and_certified", + "lines": [ + 40, + 40 + ], + "text_sha256": "9b4671cd0a00445432ee80dd09c5ccd1d53ea5039b95667af490d98c70f633fd" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.evidence.protocol == protocol", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-d48b6a88dc1b9fcdb3efe492": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_dynamic_defect_transient.py", + "symbol": "test_public_dynamic_defect_transient_is_protocol_bound_and_certified", + "lines": [ + 41, + 41 + ], + "text_sha256": "ed2e8fbbbabb44aad1bcc030bdcb8fd03ae0ad4fa7f297dfcd82e149bbff0ee9" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.evidence.protocol_sha256 == protocol.protocol_hash", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-6c8a73e9f48c989da46c112f": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_dynamic_defect_transient.py", + "symbol": "test_public_dynamic_defect_transient_is_protocol_bound_and_certified", + "lines": [ + 42, + 42 + ], + "text_sha256": "fb6d21804e560dda9de0e956892f6760191f1dd1cf2c5f3e852f851beeba4270" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.evidence.engine_certificate.certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-c30e53282ea9a2947a2c899c": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_dynamic_defect_transient.py", + "symbol": "test_public_dynamic_defect_transient_is_protocol_bound_and_certified", + "lines": [ + 43, + 43 + ], + "text_sha256": "2f62571414a9e4a7937fafba37533030b47f5b026c2eba579662841d995fa0f5" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.evidence.dc_operating_point_certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-4489eb4a23583f6aeca400cf": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_dynamic_defect_transient.py", + "symbol": "test_public_dynamic_defect_transient_is_protocol_bound_and_certified", + "lines": [ + 44, + 44 + ], + "text_sha256": "1da4f66fd19258fbd767cf0fef702675117d24ad07da82fe39a242d96386508f" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.evidence.dark_reference_certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-dd1666fa9876a2b78345bf87": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_dynamic_defect_transient.py", + "symbol": "test_public_dynamic_defect_transient_is_protocol_bound_and_certified", + "lines": [ + 45, + 45 + ], + "text_sha256": "77a464b77998c95ab6e30a687d267ad00b723381636711f8c31e6ddce4d47bb0" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.evidence.microscopic_binding_certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-69857484185b02815d8a35f3": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_dynamic_defect_transient.py", + "symbol": "test_public_dynamic_defect_transient_is_protocol_bound_and_certified", + "lines": [ + 46, + 46 + ], + "text_sha256": "d816daa88cfbc5a1b631ea9a2f74c8c297fe1b11810fd71597e0a60f7b3e3f66" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.evidence.public_projection_certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-446880dc9a70b697dd4606ac": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_dynamic_defect_transient.py", + "symbol": "test_public_dynamic_defect_transient_is_protocol_bound_and_certified", + "lines": [ + 47, + 47 + ], + "text_sha256": "dd8b8d12ad304a5cf755aa69d4b373f83cc7aaac128a3274ac863b8f1916f063" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.terminal_total_current_A_m2.shape == (4,)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-f1ec7303da9f399ab6e633f7": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_dynamic_defect_transient.py", + "symbol": "test_public_dynamic_defect_transient_is_protocol_bound_and_certified", + "lines": [ + 48, + 48 + ], + "text_sha256": "be227201e97daec300a722d057bf2d7441d8bea2e60078760a503ca9a05cd0aa" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.total_current_faces_A_m2.shape[0] == 4", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-b7c84575d4686b9c8ed85cf9": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_dynamic_defect_transient.py", + "symbol": "test_public_dynamic_defect_transient_is_protocol_bound_and_certified", + "lines": [ + 49, + 49 + ], + "text_sha256": "0ee2d4f1fac29dbbdb46bee38db20cfd541677f73a5723eb1101a48c3d7cf47e" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.interface_occupancy.shape == (4, 1)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-928e4049b9787ac46f5d9387": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_dynamic_defect_transient_api.py", + "symbol": "test_real_dynamic_defect_transient_api_serializes_protocol_and_evidence", + "lines": [ + 33, + 33 + ], + "text_sha256": "6ee210b3e5517dfe8ce079edd9d5093a5022b1814f5f0e44fa630a50b45893d1" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert response.status_code == 200, response.text", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-d95cc5be2cf7a05eb7f1a120": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_dynamic_defect_transient_api.py", + "symbol": "test_real_dynamic_defect_transient_api_serializes_protocol_and_evidence", + "lines": [ + 35, + 35 + ], + "text_sha256": "34b438a0a21b9a646a9d870541a36bc67a658024817473d15aee1701b1870651" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result[\"protocol\"][\"method\"] == \"dynamic_defect_transient_certified\"", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-c9f847b6773f5e1ee0b68d82": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_dynamic_defect_transient_api.py", + "symbol": "test_real_dynamic_defect_transient_api_serializes_protocol_and_evidence", + "lines": [ + 36, + 36 + ], + "text_sha256": "fdf46774948446eaaedd07d8c72b5e8f3f51050c875c196dd19f74b63c102168" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result[\"protocol\"][\"capability\"] == (\"interface_defect_plus_positive_ions\")", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-9aa7a4ee3527f9ba0d0b6dfd": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_dynamic_defect_transient_api.py", + "symbol": "test_real_dynamic_defect_transient_api_serializes_protocol_and_evidence", + "lines": [ + 37, + 37 + ], + "text_sha256": "c60b3fb6c1e79325d48cd5e3a5e95b26c2a895a68edb2c95319887e905ad5928" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result[\"protocol\"][\"time_step_refinement_factor\"] == 1.0", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-b08ea99776cc210f55606c42": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_dynamic_defect_transient_api.py", + "symbol": "test_real_dynamic_defect_transient_api_serializes_protocol_and_evidence", + "lines": [ + 38, + 38 + ], + "text_sha256": "82147be0bb126eff32815f68b9323d79428a32bfce8d114d81cbed66050a9ff8" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result[\"protocol\"][\"solver_policy\"][\"refinement_substeps\"] == [1, 2, 4]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-39d4569e40b7ec42280c4770": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_dynamic_defect_transient_api.py", + "symbol": "test_real_dynamic_defect_transient_api_serializes_protocol_and_evidence", + "lines": [ + 39, + 39 + ], + "text_sha256": "d547b93025dbf4a18e5e216abb103bb618969227b31bf84b68ae2650d3e56af8" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result[\"evidence\"][\"certified\"] is True", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-349f5f6ce87e79bebde31d29": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_dynamic_defect_transient_api.py", + "symbol": "test_real_dynamic_defect_transient_api_serializes_protocol_and_evidence", + "lines": [ + 40, + 40 + ], + "text_sha256": "6e86ef086dc96daa32408cc55a024cf115e2501bfddd4f46a7271beaefc862a4" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result[\"evidence\"][\"reasons\"] == []", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-63fabb3134124bc21e096c9a": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_dynamic_defect_transient_api.py", + "symbol": "test_real_dynamic_defect_transient_api_serializes_protocol_and_evidence", + "lines": [ + 41, + 41 + ], + "text_sha256": "d4058edcf82a5275f742bdad977b9eca29d39157c889a8aac634b3fb65ee1668" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result[\"evidence\"][\"protocol\"] == result[\"protocol\"]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-b13712685b5f9d88eedb4af6": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_dynamic_defect_transient_api.py", + "symbol": "test_real_dynamic_defect_transient_api_serializes_protocol_and_evidence", + "lines": [ + 42, + 42 + ], + "text_sha256": "2eb8ba585f9856922012ba6c5742132809a1a63b6246f5297a7ccfdba5dbcef9" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert len(result[\"evidence\"][\"protocol_sha256\"]) == 64", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-a720ca44b0934e70b1a5395f": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_dynamic_defect_transient_api.py", + "symbol": "test_real_dynamic_defect_transient_api_serializes_protocol_and_evidence", + "lines": [ + 43, + 43 + ], + "text_sha256": "f872706a906be8b140956ffeac08295375717236410e340d547f3607317e94b6" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert len(result[\"terminal_total_current_A_m2\"]) == 4", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-eb1aeed943a8aecd02863878": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_dynamic_defect_transient_api.py", + "symbol": "test_real_dynamic_defect_transient_api_serializes_protocol_and_evidence", + "lines": [ + 44, + 44 + ], + "text_sha256": "121e8d591f9c43d57924eaf9da19ce4d89ad4c2b7ff79614173166dca8d71f2d" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert len(result[\"interface_occupancy\"]) == 4", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-57aa2879ce905453dcca40fe": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_dynamic_defect_transient_api.py", + "symbol": "test_real_dynamic_defect_transient_api_serializes_protocol_and_evidence", + "lines": [ + 45, + 45 + ], + "text_sha256": "4ff687dae31594ee20e164bef7d4d3842c954973f229bf8548bd449be421e2c6" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert len(result[\"positive_ion_centroid_shift_m\"]) == 4", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-be2cebc08fb9c61f8e9c3247": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/backend/test_dynamic_defect_transient_api.py", + "symbol": "test_job_rejects_invalid_contract_before_submit", + "lines": [ + 211, + 211 + ], + "text_sha256": "bac889338c17e9c52b2c2e99c5c4fb96072381691c72ce6c15d70d3e03fd1e80" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert exc_info.value.status_code == 422", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-bdb6eb8f72a8675654f21254": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/backend/test_dynamic_defect_transient_api.py", + "symbol": "test_job_rejects_invalid_contract_before_submit", + "lines": [ + 212, + 212 + ], + "text_sha256": "db09c05625ef437873d0e513afa8450113dcd87096daa67da9db363552b4f27b" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert message in str(exc_info.value.detail)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-b725492e88942efbbb727b96": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/backend/test_dynamic_defect_transient_api.py", + "symbol": "test_job_rejects_invalid_contract_before_submit", + "lines": [ + 202, + 202 + ], + "text_sha256": "a61890a3b8e54cafeba2c497974c8b4024e0ff8eb618b4621c23854cda6b98d2" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(backend.HTTPException) as exc_info:", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-4f8107c11d281c35b48bb014": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_dynamic_defect_transient.py", + "symbol": "test_protocol_round_trip_is_strict_canonical_and_content_addressed", + "lines": [ + 61, + 61 + ], + "text_sha256": "c8c375848a5fe8de36c3d9fe45a67962f1042fd105f177b03b9a75d04da08545" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert rebuilt == protocol", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-1408d74856c361b14699a345": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_dynamic_defect_transient.py", + "symbol": "test_protocol_round_trip_is_strict_canonical_and_content_addressed", + "lines": [ + 62, + 62 + ], + "text_sha256": "412b3eea6e2d0bd249cbdcd53a1b3f1017f9d643aa4e17a330e715b6743b9b29" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert rebuilt.protocol_hash == protocol.protocol_hash", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-9b04bd02c3d0f450e3780d6e": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_dynamic_defect_transient.py", + "symbol": "test_protocol_round_trip_is_strict_canonical_and_content_addressed", + "lines": [ + 63, + 63 + ], + "text_sha256": "486ff9d97d950e3916b706d9770ac70883adef2936f2ea0febb1347b2cceb257" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert rebuilt.to_dict() == json.loads(protocol.canonical_json())", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-c1c201fab6667e74a3c4fb73": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_dynamic_defect_transient.py", + "symbol": "test_protocol_round_trip_is_strict_canonical_and_content_addressed", + "lines": [ + 64, + 67 + ], + "text_sha256": "8661ecc5c5d8428d181df06898d175e50f674c073c21b195eb63cf04ffced05b" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert (\n rebuilt.reference_certificate_sha256\n == DYNAMIC_DEFECT_TRANSIENT_REFERENCE_CERTIFICATE_SHA256\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-9a01c2ee4dca70721ab12192": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_dynamic_defect_transient.py", + "symbol": "test_protocol_round_trip_is_strict_canonical_and_content_addressed", + "lines": [ + 68, + 68 + ], + "text_sha256": "a33aa2f632d8658a70e2171fe74a4ba74ea64a9a38322ad2c31bae3f95a3e2e2" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert rebuilt.solver_policy.maximum_newton_iterations == 100", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-8e711a3ff36f84237bb89821": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_dynamic_defect_transient.py", + "symbol": "test_protocol_round_trip_is_strict_canonical_and_content_addressed", + "lines": [ + 69, + 69 + ], + "text_sha256": "cf5270d51e635e901e494ba164dc8d2b151b650b7f97ef90b7cc1b20b90cd70d" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert rebuilt.solver_policy.maximum_line_search_steps == 40", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-27f37761ecc81b1bb7218767": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_dynamic_defect_transient.py", + "symbol": "test_protocol_round_trip_is_strict_canonical_and_content_addressed", + "lines": [ + 70, + 70 + ], + "text_sha256": "6248159e6157b33289d10195bf8e1491b58631c26e84ebe2ad4d88e64ff2d136" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert rebuilt.solver_policy.maximum_near_acceptance_nonmonotone_steps == 2", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-f5a2189d9582a88bc4a75e83": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_dynamic_defect_transient.py", + "symbol": "test_protocol_round_trip_is_strict_canonical_and_content_addressed", + "lines": [ + 71, + 71 + ], + "text_sha256": "3e955d85f18fdedb5c2729f93e68ec65fdd38367e2c1466038147cb20f3fcb94" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert rebuilt.time_step_refinement_factor == 1.0", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-491a4eea8ec785f3b4b17c9d": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_dynamic_defect_transient.py", + "symbol": "test_protocol_round_trip_is_strict_canonical_and_content_addressed", + "lines": [ + 72, + 72 + ], + "text_sha256": "f64108ede39313bbb53eefc67053c7c3fc85d7fed4513de5b9be44ddeb7a77ee" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert rebuilt.solver_policy.refinement_substeps == (1, 2, 4)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-671548b22cda03fd7ed7fbe0": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py", + "symbol": "test_production_executor_cell_runs_public_protocol_and_projection", + "lines": [ + 329, + 331 + ], + "text_sha256": "0265bd0de0c6f11f1c98d4485a4fd5170deb4826a4ead6fbc667bc7adfa8c837" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert {metric.name for metric in measurement.observables} == {\n gate.metric for gate in lane.observables\n }", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-bb1d7d40eec47791f1348f2e": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py", + "symbol": "test_production_executor_cell_runs_public_protocol_and_projection", + "lines": [ + 332, + 334 + ], + "text_sha256": "656f9a8432c23f635cbab7d84a58162eb556237afb248071fd926b9feacf1706" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert {metric.name: metric.units for metric in measurement.observables} == {\n gate.metric: gate.units for gate in lane.observables\n }", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-70acbf82cfeb1829ec060ed4": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py", + "symbol": "test_production_executor_cell_runs_public_protocol_and_projection", + "lines": [ + 335, + 335 + ], + "text_sha256": "edfdc872fc8ca86fd1a8cd138ae47898d23ee5650b8e5fb0a0049ee2e91c66aa" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert set(quality) == {gate.metric for gate in lane.quality_gates}", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-c83aebea44d6b49a84461bd4": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py", + "symbol": "test_production_executor_cell_runs_public_protocol_and_projection", + "lines": [ + 343, + 343 + ], + "text_sha256": "232bbd314f37feddf49e97fc17594eeda1f8339c1639cfe5a2e3d0359bc2e94d" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert quality[\"public_protocol_identity_verified\"] == 1.0", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-ae84825be5a53f99e880bd94": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py", + "symbol": "test_production_executor_cell_runs_public_protocol_and_projection", + "lines": [ + 344, + 344 + ], + "text_sha256": "0b6fcb72d67b0c3d83154304f4fa74d42878199f3d79c45091e59e6db5d2c29d" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert quality[\"public_projection_certified\"] == 1.0", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-e35cef3c9ff73b7368e5908a": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py", + "symbol": "test_production_executor_cell_runs_public_protocol_and_projection", + "lines": [ + 345, + 345 + ], + "text_sha256": "d7b1fa064e67db34beb085eef35d9f2cfe6000002d48088305d20e5ca6a6f87a" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert quality[\"reference_certificate_bound\"] == 1.0", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-fd062cc57899753dadb480fc": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py", + "symbol": "test_production_executor_cell_runs_public_protocol_and_projection", + "lines": [ + 346, + 350 + ], + "text_sha256": "08dc9c0a991cdc787dcb5e8beda30dfebe38b8489abcc598d1ef545ca9550330" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert set(metadata[\"public_protocols\"]) == {\n \"combined\",\n \"defect_dominated\",\n \"ion_dominated\",\n }", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-fe7f7f7e5f1228b68466017f": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py", + "symbol": "test_production_executor_cell_runs_public_protocol_and_projection", + "lines": [ + 351, + 351 + ], + "text_sha256": "6714ff0ac95d42fb06ca2f1b26844fc3160a5d6cc4341d7d6c6e67d7640ee554" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert set(metadata[\"public_evidence\"]) == set(metadata[\"public_protocols\"])", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-0694964c301a3ee5a4811923": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py", + "symbol": "test_production_executor_cell_runs_public_protocol_and_projection", + "lines": [ + 352, + 356 + ], + "text_sha256": "ac13851d4ad011868643f6740eb2f2aea79dc79017c3f5ac6e7c4161b2be1156" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert all(\n item[\"method\"] == DYNAMIC_DEFECT_TRANSIENT_METHOD\n and item[\"time_step_refinement_factor\"] == 1.0\n for item in metadata[\"public_protocols\"].values()\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-baf982fd33574a4d2a4e0caf": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py", + "symbol": "test_production_executor_cell_runs_public_protocol_and_projection", + "lines": [ + 357, + 359 + ], + "text_sha256": "35c2c4b14755c55a85c45cb038d720992ab3ce4aadd8027e38cbd3d10311b462" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert metadata[\"fast_ion_stiffness_boundary\"][\"error_type\"] == (\n \"DynamicDefectTransientCertificationError\"\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-a16248a6a745a081daa324e6": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py", + "symbol": "test_production_executor_cell_runs_public_protocol_and_projection", + "lines": [ + 338, + 338 + ], + "text_sha256": "a72814a04557eb1d38c09061a65b5966fbfd739fa900701ee37e4f73350056e9" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert quality[gate.metric] == gate.limit", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-9e3fd39304943ae3c202ccce": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py", + "symbol": "test_production_executor_cell_runs_public_protocol_and_projection", + "lines": [ + 340, + 340 + ], + "text_sha256": "5fd3b9376f4f7385eddf8ea6f04b3b5a4b3bd80105976be31f08cc035a2628ad" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert quality[gate.metric] <= gate.limit", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-33fac13f734915fe826e1813": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py", + "symbol": "test_production_v1_adds_only_public_wrapper_identity_gates", + "lines": [ + 248, + 248 + ], + "text_sha256": "8d8e0086d51256d78956550657c48eb2353f68bac7e7832310f66fbe33b3b60b" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert active.executor_version == \"v6\"", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-0a2baaffb0c8e31724bc7b5d": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py", + "symbol": "test_production_v1_adds_only_public_wrapper_identity_gates", + "lines": [ + 249, + 249 + ], + "text_sha256": "3326ee9e5b79294f45582f7d596f6cce132341da207f7ce065404f84841cf190" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert active.config_path == previous.config_path", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-e01233520bd22c5ae6a16c71": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py", + "symbol": "test_production_v1_adds_only_public_wrapper_identity_gates", + "lines": [ + 250, + 250 + ], + "text_sha256": "8320eb0826b0156141c144be723557e17f03ea81c58469c6c06ad5a6e34e933c" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert active.config_sha256 == previous.config_sha256", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-b6db8942053c39eefa206ed6": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py", + "symbol": "test_production_v1_adds_only_public_wrapper_identity_gates", + "lines": [ + 251, + 251 + ], + "text_sha256": "28cdbb438826db9b9556e5cb0b8aab0bf710747f885c76f9318a6561a943930c" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert active.executor == previous.executor", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-9575e5851e162cdf2b5900b4": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py", + "symbol": "test_production_v1_adds_only_public_wrapper_identity_gates", + "lines": [ + 252, + 252 + ], + "text_sha256": "dc8fe3418ee8e0d16440adf3dd5b11a0dcfc9bc7cb405d6da80f85821c870098" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert active.grid_parameter == previous.grid_parameter", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-33433139c43eaa30b49783a0": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py", + "symbol": "test_production_v1_adds_only_public_wrapper_identity_gates", + "lines": [ + 253, + 253 + ], + "text_sha256": "27422ebe9ba12546e230e2585e6aac5395c8fa9bf4e7d68c6608e5f9a49c2d59" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert active.grid_values == previous.grid_values", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-5c99e34a00ffb400d2333a15": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py", + "symbol": "test_production_v1_adds_only_public_wrapper_identity_gates", + "lines": [ + 254, + 254 + ], + "text_sha256": "3343f63170fdab3d59ff1a438c843542f5d8d0ba84940edc9d9b8b5a7d1c5132" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert active.tolerance_parameter == previous.tolerance_parameter", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-dd74db6119eac2d8c34d1e6d": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py", + "symbol": "test_production_v1_adds_only_public_wrapper_identity_gates", + "lines": [ + 255, + 255 + ], + "text_sha256": "7e9913dc7385eef8fe162cf80bb40c352f9a72723b3d65ac4f9297f9ae2c0803" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert active.tolerance_factors == previous.tolerance_factors", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-3df1619d35855c8c9bcb6a2e": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py", + "symbol": "test_production_v1_adds_only_public_wrapper_identity_gates", + "lines": [ + 256, + 256 + ], + "text_sha256": "fdf7cd69ae57c9861c5c7b8f6518676e8c91bbc6c2b549879f424ef568b499d7" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert active.observables == previous.observables", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-9dae3449b19968464adabc70": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py", + "symbol": "test_production_v1_adds_only_public_wrapper_identity_gates", + "lines": [ + 258, + 258 + ], + "text_sha256": "a9852649634d043ece50a0c471e52483c358f875d1150c73def3da3ee03ba38a" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert active_options.pop(\"production_method\") == DYNAMIC_DEFECT_TRANSIENT_METHOD", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-7907532dd755ff309553db55": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py", + "symbol": "test_production_v1_adds_only_public_wrapper_identity_gates", + "lines": [ + 259, + 259 + ], + "text_sha256": "a822437e3124b02f06f8b0efaeff926a7599b01badac13981b0e2980268d2cb3" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert active_options == previous.options", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-00ee335dab4e4a56853fd199": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py", + "symbol": "test_production_v1_adds_only_public_wrapper_identity_gates", + "lines": [ + 271, + 271 + ], + "text_sha256": "dee222f57423489674ad57c6f2bec28c9de94617935ec94392034817803ae58b" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert active_quality == previous_quality", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-2cf1e95d4e3a5b4e698f7dc8": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_interface_defect_ion_transient.py", + "symbol": "test_deep_time_refinement_retains_charge_and_all_face_current_closure", + "lines": [ + 284, + 284 + ], + "text_sha256": "0b697bc41f6149161e998bb0e2816a4f99e426edffb438b67cf31f29cef909d8" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.certificate.certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-4dd303afab01860520e8a351": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_interface_defect_ion_transient.py", + "symbol": "test_deep_time_refinement_retains_charge_and_all_face_current_closure", + "lines": [ + 285, + 285 + ], + "text_sha256": "6c8a087093e31d8fc285befdcd533ba5a8aca89f0956e34012cf94b4cb4f8ce8" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.certificate.maximum_charge_balance_relative_error < 1.0e-10", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-b2c0e0730392ae5c0761b46e": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_interface_defect_ion_transient.py", + "symbol": "test_deep_time_refinement_retains_charge_and_all_face_current_closure", + "lines": [ + 286, + 286 + ], + "text_sha256": "fc99cc12d6f82ae096e2811e876383b8943a4ab6989d543e91c62ec647b4098b" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.certificate.maximum_all_face_current_spread_relative < 2.0e-6", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-4efbbbbfc1578e42850332dd": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_interface_defect_ion_transient.py", + "symbol": "test_deep_time_refinement_retains_charge_and_all_face_current_closure", + "lines": [ + 287, + 287 + ], + "text_sha256": "dc6b2792626a8ddf456d0ad7b6aa85c34ccb1744342aea8f0ea4a38aefc2eec5" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.certificate.maximum_refinement_state_change < 2.0e-5", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-ea751fed23dd1f729c7b27d5": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_interface_defect_ion_transient.py", + "symbol": "test_deep_time_refinement_retains_charge_and_all_face_current_closure", + "lines": [ + 288, + 288 + ], + "text_sha256": "1dcba85d592ab6821b263a63a44cc8f4fecc799c2d52992bb879dbb7f5194a6e" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.certificate.maximum_refinement_current_relative_change < 1.0e-7", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-9e41a34790eb651b7d1b7f71": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_dynamic_storage.py", + "symbol": "test_log_density_increment_resolves_sub_ulp_relative_motion", + "lines": [ + 21, + 21 + ], + "text_sha256": "35900735b82f86cc50685c3272fe8867c55404274f39c0d2e5c903d9ac405c2f" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert direct[0] == 0.0", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-7acfc0ff09b60eee4a1510f0": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_dynamic_storage.py", + "symbol": "test_log_density_increment_resolves_sub_ulp_relative_motion", + "lines": [ + 22, + 22 + ], + "text_sha256": "19503af333e305ec0fd06624863865a6be8aa8adc5cc616a41ad9935dc4975f1" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert stable[0] == pytest.approx(1.0e6, rel=2.0e-16)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-6db3acd6bb1c5032b0eba588": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py", + "symbol": "test_reference_resolved_v5_changes_only_reference_and_stiffness_contract", + "lines": [ + 215, + 215 + ], + "text_sha256": "3326ee9e5b79294f45582f7d596f6cce132341da207f7ce065404f84841cf190" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert active.config_path == previous.config_path", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-90f641a691e1460abc8549fa": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py", + "symbol": "test_reference_resolved_v5_changes_only_reference_and_stiffness_contract", + "lines": [ + 216, + 216 + ], + "text_sha256": "8320eb0826b0156141c144be723557e17f03ea81c58469c6c06ad5a6e34e933c" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert active.config_sha256 == previous.config_sha256", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-29934783487e6704f3363ed2": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py", + "symbol": "test_reference_resolved_v5_changes_only_reference_and_stiffness_contract", + "lines": [ + 217, + 217 + ], + "text_sha256": "28cdbb438826db9b9556e5cb0b8aab0bf710747f885c76f9318a6561a943930c" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert active.executor == previous.executor", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-d6f2e8c3ccec8754d2eb784b": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py", + "symbol": "test_reference_resolved_v5_changes_only_reference_and_stiffness_contract", + "lines": [ + 218, + 218 + ], + "text_sha256": "dc8fe3418ee8e0d16440adf3dd5b11a0dcfc9bc7cb405d6da80f85821c870098" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert active.grid_parameter == previous.grid_parameter", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-34a37664ccd86c9f6693eb16": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py", + "symbol": "test_reference_resolved_v5_changes_only_reference_and_stiffness_contract", + "lines": [ + 219, + 219 + ], + "text_sha256": "27422ebe9ba12546e230e2585e6aac5395c8fa9bf4e7d68c6608e5f9a49c2d59" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert active.grid_values == previous.grid_values", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-7a64349ef5a286124db81247": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py", + "symbol": "test_reference_resolved_v5_changes_only_reference_and_stiffness_contract", + "lines": [ + 220, + 220 + ], + "text_sha256": "3343f63170fdab3d59ff1a438c843542f5d8d0ba84940edc9d9b8b5a7d1c5132" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert active.tolerance_parameter == previous.tolerance_parameter", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-679ad61dee8f5e050efd688d": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py", + "symbol": "test_reference_resolved_v5_changes_only_reference_and_stiffness_contract", + "lines": [ + 221, + 221 + ], + "text_sha256": "7e9913dc7385eef8fe162cf80bb40c352f9a72723b3d65ac4f9297f9ae2c0803" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert active.tolerance_factors == previous.tolerance_factors", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-467118fd984ebaec9d6124de": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py", + "symbol": "test_reference_resolved_v5_changes_only_reference_and_stiffness_contract", + "lines": [ + 222, + 222 + ], + "text_sha256": "cf2cbbdcf7f07c31b5a28a71687c23983170df7ec8989b4047c44114d6573e7f" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert active.options == previous.options", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-8a5d31111ca9c3fa673f076b": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py", + "symbol": "test_reference_resolved_v5_changes_only_reference_and_stiffness_contract", + "lines": [ + 232, + 232 + ], + "text_sha256": "4d6285939d86015f091cf78420895587c4dd83fd3fd3666b0e835d910076aeb4" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert active_observables == previous_observables", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-c007b89572adad22e91e3e57": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py", + "symbol": "test_reference_resolved_v5_changes_only_reference_and_stiffness_contract", + "lines": [ + 239, + 239 + ], + "text_sha256": "372fba6c2e068d7422e4fe867bcf1380c7c2e3ed224fb4415472d5663bca5fa7" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert declared.operator == \"eq\" and declared.limit == 1.0", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-1774c5c6f08a2bd1bdd32ad7": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py", + "symbol": "test_reference_resolved_v5_changes_only_reference_and_stiffness_contract", + "lines": [ + 240, + 240 + ], + "text_sha256": "54d211934dc189aa16df2602d188962b77b0f11c863252d2d1e33acd894f6c25" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert residual.operator == \"eq\" and residual.limit == 1.0", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-46f366a02af3c73d6b42b9d6": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py", + "symbol": "test_reference_resolved_v5_changes_only_reference_and_stiffness_contract", + "lines": [ + 241, + 241 + ], + "text_sha256": "dee222f57423489674ad57c6f2bec28c9de94617935ec94392034817803ae58b" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert active_quality == previous_quality", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-c2aac99e30d8375ff1440dad": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py", + "symbol": "test_registered_lane_freezes_three_by_three_timescale_contract", + "lines": [ + 83, + 83 + ], + "text_sha256": "37fb48a83896540040a511a75af57269eab20f619ecab22392c4a9a8bee66a60" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert lane.grid_parameter == \"intervals_per_layer\"", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-da1f0faa9927e378feb1e0e3": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py", + "symbol": "test_registered_lane_freezes_three_by_three_timescale_contract", + "lines": [ + 84, + 84 + ], + "text_sha256": "b171c11cd333b272f80b84f4a461e826986a72fe4d5475556d331961c8db5673" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert lane.grid_values == (4, 6, 8)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-967af32d9b8cc696d79523c6": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py", + "symbol": "test_registered_lane_freezes_three_by_three_timescale_contract", + "lines": [ + 85, + 85 + ], + "text_sha256": "515090c0e90c5fb736afb2fd890f6507f38dae89537ac1e0267e311b795f32a7" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert lane.tolerance_parameter == \"backward_euler_time_step_factor\"", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-3345a8eb153ea695c39f6658": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py", + "symbol": "test_registered_lane_freezes_three_by_three_timescale_contract", + "lines": [ + 86, + 86 + ], + "text_sha256": "63e37cc59b2ea515fab34e7a66034e9eefd688cd8c54a5780c68a09a85075316" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert lane.tolerance_factors == (1.0, 0.5, 0.25)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-a42da4cd3f4632b757da5e69": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py", + "symbol": "test_registered_lane_freezes_three_by_three_timescale_contract", + "lines": [ + 87, + 87 + ], + "text_sha256": "c367a072b9e875032cd8216443ea1d69910674e6ad9799529101455f882a85e4" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert lane.executor_version == \"v5\"", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-114a0b02543ba2ed9b7a0a73": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py", + "symbol": "test_registered_lane_freezes_three_by_three_timescale_contract", + "lines": [ + 88, + 88 + ], + "text_sha256": "598d86e43f3439ccb9adf49eacd7a014b0f6943d2f84656b7ec9408a9de79b52" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert len(lane.matrix_points) == 9", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-62d40b54fe9c5b0bc91742fe": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py", + "symbol": "test_registered_lane_freezes_three_by_three_timescale_contract", + "lines": [ + 89, + 89 + ], + "text_sha256": "31817d577073b22df0c9555d5e0479d3955aba0d92de8ad3f6d341a5855882b6" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert len(lane.observables) == 12", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-419d37db0bd3ddd73ec6928d": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py", + "symbol": "test_registered_lane_freezes_three_by_three_timescale_contract", + "lines": [ + 90, + 103 + ], + "text_sha256": "3a2152e3b235f7d2ba1eaa9e7ceeb36c6dc135745e0ef89447dc8a771bc201dd" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert lane.options == {\n \"base_nested_substeps\": [1, 2, 4],\n \"config_loader\": \"standard\",\n \"fast_ion_diffusivity_m2_s\": 1.0e-12,\n \"grid_alpha\": 1.5,\n \"maximum_line_search_steps\": 40,\n \"maximum_near_acceptance_nonmonotone_steps\": 2,\n \"maximum_newton_iterations\": 100,\n \"require_protocol\": True,\n \"slow_capture_scale\": 1.0e-12,\n \"slow_ion_diffusivity_m2_s\": 1.0e-20,\n \"times_s\": [0.0, 1.0e-8, 1.0e-6, 1.0e-4],\n \"voltage_V\": [0.0, 0.05, 0.05, 0.05],\n }", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-186112dd9b964f27b31693ee": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_external_circuit_refinement.py", + "symbol": "test_real_registered_external_circuit_cell_returns_all_certificate_axes", + "lines": [ + 33, + 33 + ], + "text_sha256": "ef02fc452ce04ff5830a4016b318364459edcbe72a8cbd815847d4536de1020b" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert set(observables) == {gate.metric for gate in lane.observables}", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-f2d07c87fdb3bd78416563af": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_external_circuit_refinement.py", + "symbol": "test_real_registered_external_circuit_cell_returns_all_certificate_axes", + "lines": [ + 34, + 34 + ], + "text_sha256": "edfdc872fc8ca86fd1a8cd138ae47898d23ee5650b8e5fb0a0049ee2e91c66aa" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert set(quality) == {gate.metric for gate in lane.quality_gates}", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-f0b20accdc51f89b523f2ee7": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_external_circuit_refinement.py", + "symbol": "test_real_registered_external_circuit_cell_returns_all_certificate_axes", + "lines": [ + 35, + 35 + ], + "text_sha256": "f43d1c65e1784d40e40a503625ddd6038c15eb6d31eaa092ffea3d6727531af9" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert quality[\"intrinsic_jv_certified\"] == 1.0", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-bd452457699dfa77bc471133": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_external_circuit_refinement.py", + "symbol": "test_real_registered_external_circuit_cell_returns_all_certificate_axes", + "lines": [ + 36, + 36 + ], + "text_sha256": "39850beba2d0dfa387c86ed295e0185682a8b1a73baf720be60cbc8db737abf0" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert quality[\"external_circuit_certified\"] == 1.0", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-fd7b2744edb277ebb5abc82a": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_external_circuit_refinement.py", + "symbol": "test_real_registered_external_circuit_cell_returns_all_certificate_axes", + "lines": [ + 37, + 37 + ], + "text_sha256": "728b2fa9ab99dadae1b4b3af7258ede665b8904bbb0d6c361574bb57dbe15dc4" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert quality[\"zero_coupling_exact\"] == 1.0", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-b505041a2b19b3ee744899ec": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_external_circuit_refinement.py", + "symbol": "test_real_registered_external_circuit_cell_returns_all_certificate_axes", + "lines": [ + 38, + 38 + ], + "text_sha256": "515a85cdfaec4864ce00db2b139af0d37ada4612fdada869b42432c757a635b4" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert quality[\"min_pce_loss_fraction\"] >= 0.01", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-0271bea07b1b6f51d25db65a": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_external_circuit_refinement.py", + "symbol": "test_real_registered_external_circuit_cell_returns_all_certificate_axes", + "lines": [ + 39, + 39 + ], + "text_sha256": "b0c7afe4cab51dbe2229b3883aa9a21f30fb9005240ab196d01bec9a39993e50" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert quality[\"max_pce_loss_fraction\"] <= 0.5", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-680bf0369c45ac339f851753": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_external_circuit_refinement.py", + "symbol": "test_real_registered_external_circuit_cell_returns_all_certificate_axes", + "lines": [ + 41, + 43 + ], + "text_sha256": "454bf7e700c0138a37eb26ed6461a57175bea8febd58f2a64dcec248bdc4938f" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert metadata[\"protocol\"][\"schema_version\"] == (\n \"external-series-shunt-dc-refinement-protocol-v1\"\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-6aab3e5315c15c80af0b48c9": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_external_circuit_refinement.py", + "symbol": "test_real_registered_external_circuit_cell_returns_all_certificate_axes", + "lines": [ + 44, + 44 + ], + "text_sha256": "04f7eb73c6500a9bdd91c063a8dda4c87798427925f262fa009c39ffbba01be7" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert metadata[\"actual\"][\"grid\"] == 20", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-bdfc1d1a4a1213ef2dcdbf18": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_external_circuit_refinement.py", + "symbol": "test_real_registered_external_circuit_cell_returns_all_certificate_axes", + "lines": [ + 45, + 45 + ], + "text_sha256": "cbdd0254f5074b572511e694da752882a83df148c0afded11876fdd5478c4205" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert metadata[\"actual\"][\"tolerance_factor\"] == 1.0", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-8a5246ed823ec087a38502e0": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_external_circuit_refinement.py", + "symbol": "test_real_resolved_external_circuit_cell_covers_operating_quadrant", + "lines": [ + 62, + 62 + ], + "text_sha256": "ef02fc452ce04ff5830a4016b318364459edcbe72a8cbd815847d4536de1020b" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert set(observables) == {gate.metric for gate in lane.observables}", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-6f8ce58efc61e30ad634a2b9": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_external_circuit_refinement.py", + "symbol": "test_real_resolved_external_circuit_cell_covers_operating_quadrant", + "lines": [ + 63, + 63 + ], + "text_sha256": "edfdc872fc8ca86fd1a8cd138ae47898d23ee5650b8e5fb0a0049ee2e91c66aa" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert set(quality) == {gate.metric for gate in lane.quality_gates}", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-e134d359a2083a90bc569502": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_external_circuit_refinement.py", + "symbol": "test_real_resolved_external_circuit_cell_covers_operating_quadrant", + "lines": [ + 64, + 64 + ], + "text_sha256": "ea6d7bcbc623b54f497d2be77642db6eaad565ae782f0e51a86285ea57537a9d" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert observables[\"terminal_power_quadrant_normalized_trace\"].shape == (42,)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-f090a5a160e9b18b105aa473": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_external_circuit_refinement.py", + "symbol": "test_real_resolved_external_circuit_cell_covers_operating_quadrant", + "lines": [ + 65, + 65 + ], + "text_sha256": "e6774259bba052f849d89880a1d6f18806317dfe629340db0e0a7b89016c45da" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert quality[\"power_quadrant_interpolation_verified\"] == 1.0", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-1df562f78ec7a414dfee12d6": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_external_circuit_refinement.py", + "symbol": "test_real_resolved_external_circuit_cell_covers_operating_quadrant", + "lines": [ + 66, + 66 + ], + "text_sha256": "6b694d78566ef93b345ab92163ffdfbdcab7caa1d410652ffb3c238cfc5caad9" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert quality[\"terminal_quadrant_points_completed\"] == 42.0", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-7f2c4adb3f9c697c4c1238ef": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_external_circuit_refinement.py", + "symbol": "test_real_resolved_external_circuit_cell_covers_operating_quadrant", + "lines": [ + 67, + 67 + ], + "text_sha256": "f43d1c65e1784d40e40a503625ddd6038c15eb6d31eaa092ffea3d6727531af9" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert quality[\"intrinsic_jv_certified\"] == 1.0", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-5ac4090642d30185501ce99b": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_external_circuit_refinement.py", + "symbol": "test_real_resolved_external_circuit_cell_covers_operating_quadrant", + "lines": [ + 68, + 68 + ], + "text_sha256": "39850beba2d0dfa387c86ed295e0185682a8b1a73baf720be60cbc8db737abf0" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert quality[\"external_circuit_certified\"] == 1.0", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-23f84ef51f4185350b63df2c": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_external_circuit_refinement.py", + "symbol": "test_executor_fails_closed_on_source_protocol_mismatch", + "lines": [ + 194, + 194 + ], + "text_sha256": "52201ebb48b35999f2d59dcc464f60553faa5038b11eb4453cd978e3bf4d6b84" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(RuntimeError, match=\"different experiment protocol\"):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-edd63cc81213c7b465b368f1": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_external_circuit_refinement.py", + "symbol": "test_executor_matches_registry_and_binds_explicit_protocol", + "lines": [ + 81, + 81 + ], + "text_sha256": "ef02fc452ce04ff5830a4016b318364459edcbe72a8cbd815847d4536de1020b" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert set(observables) == {gate.metric for gate in lane.observables}", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-3c6cfb929016816d1edc817c": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_external_circuit_refinement.py", + "symbol": "test_executor_matches_registry_and_binds_explicit_protocol", + "lines": [ + 82, + 82 + ], + "text_sha256": "edfdc872fc8ca86fd1a8cd138ae47898d23ee5650b8e5fb0a0049ee2e91c66aa" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert set(quality) == {gate.metric for gate in lane.quality_gates}", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-e4ed4529b47c5827554ab2b1": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_external_circuit_refinement.py", + "symbol": "test_executor_matches_registry_and_binds_explicit_protocol", + "lines": [ + 83, + 85 + ], + "text_sha256": "e4bcee08e22875152747aa9b9f22f28c6e25e3b44b4aa665ab49d18891068e3d" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert all(\n observables[gate.metric].units == gate.units for gate in lane.observables\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-788feda7b22388194d79dda1": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_external_circuit_refinement.py", + "symbol": "test_executor_matches_registry_and_binds_explicit_protocol", + "lines": [ + 86, + 86 + ], + "text_sha256": "7cefed9cf452f499e6fec8e9f6c83214a2cf2332a46617ee914af4dbe8cdea92" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert all(quality[gate.metric].units == gate.units for gate in lane.quality_gates)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-1dec80ffff98dc9e4d243b70": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_external_circuit_refinement.py", + "symbol": "test_executor_matches_registry_and_binds_explicit_protocol", + "lines": [ + 87, + 87 + ], + "text_sha256": "c83aa3d66ec966f2ef10e431ae34edf0645960b105b9134106deea9f543e2799" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert captured[\"N_grid\"] == 30", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-0489b0cbf43c54c57dbbfc60": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_external_circuit_refinement.py", + "symbol": "test_executor_matches_registry_and_binds_explicit_protocol", + "lines": [ + 88, + 88 + ], + "text_sha256": "a4c5424c631469c231cdc80c4df3a5a9d4acdf87180bfd4fc8b0f407275a00de" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert captured[\"atol\"].refinement_factor == pytest.approx(0.1)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-418b4afaaebb7ad182f3c393": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_external_circuit_refinement.py", + "symbol": "test_executor_matches_registry_and_binds_explicit_protocol", + "lines": [ + 89, + 89 + ], + "text_sha256": "84ee53667a43d936ae54c18132d2ddae07bc9b397999100847c06fed3114bdad" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert captured[\"certification_mode\"] == \"strict\"", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-b4c5d1fefb1bb3745b422a55": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_external_circuit_refinement.py", + "symbol": "test_executor_matches_registry_and_binds_explicit_protocol", + "lines": [ + 90, + 90 + ], + "text_sha256": "dc3effd4d7161677259d198261541680e7bf9177cd83732aa2d9994e32e5ae6f" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert captured[\"protocol_mode\"] == \"research_strict\"", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-3b9c3207a4c265edc90031c3": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_external_circuit_refinement.py", + "symbol": "test_executor_matches_registry_and_binds_explicit_protocol", + "lines": [ + 91, + 91 + ], + "text_sha256": "edde374b7b6db874fc9d72767f10b2dad9c81af74633d9569372ec593623a3f4" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert captured[\"collect_numerical_diagnostics\"] is True", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-4ceab6afb4b1c0a41c85f643": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_external_circuit_refinement.py", + "symbol": "test_executor_matches_registry_and_binds_explicit_protocol", + "lines": [ + 92, + 92 + ], + "text_sha256": "dd5814bf46bc7b0eecaf111f030910da4e658198645466535ce5e638e06b534b" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert quality[\"intrinsic_jv_certified\"].values == (1.0,)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-82a16881c9a59c63e5ab5ee4": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_external_circuit_refinement.py", + "symbol": "test_executor_matches_registry_and_binds_explicit_protocol", + "lines": [ + 93, + 93 + ], + "text_sha256": "186ece04f29e33958ce62902f069b800b796daa0e297a3ea76977976aa0d540f" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert quality[\"external_circuit_certified\"].values == (1.0,)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-f4a95a8ca453863da1516964": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_external_circuit_refinement.py", + "symbol": "test_executor_matches_registry_and_binds_explicit_protocol", + "lines": [ + 94, + 94 + ], + "text_sha256": "f26bea26e54952586aba30bd41b6ea7ce34d78304d21204afef1baff4647605a" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert quality[\"zero_coupling_exact\"].values == (1.0,)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-7075028dcce2a17d9bbd09b2": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_external_circuit_refinement.py", + "symbol": "test_resolved_executor_samples_fixed_terminal_power_quadrant", + "lines": [ + 155, + 155 + ], + "text_sha256": "ef02fc452ce04ff5830a4016b318364459edcbe72a8cbd815847d4536de1020b" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert set(observables) == {gate.metric for gate in lane.observables}", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-2f884ce75cf5200fb9143e68": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_external_circuit_refinement.py", + "symbol": "test_resolved_executor_samples_fixed_terminal_power_quadrant", + "lines": [ + 156, + 156 + ], + "text_sha256": "edfdc872fc8ca86fd1a8cd138ae47898d23ee5650b8e5fb0a0049ee2e91c66aa" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert set(quality) == {gate.metric for gate in lane.quality_gates}", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-aad38e6e9a1409e285914d19": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_external_circuit_refinement.py", + "symbol": "test_resolved_executor_samples_fixed_terminal_power_quadrant", + "lines": [ + 158, + 158 + ], + "text_sha256": "beff2d3d9d4ef5af2d10f6217868b57d52287361502706c79be4e8a7f1242103" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert trace.shape == (42,)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-acb4863701e5c4797c6991fb": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_external_circuit_refinement.py", + "symbol": "test_resolved_executor_samples_fixed_terminal_power_quadrant", + "lines": [ + 159, + 159 + ], + "text_sha256": "e32d0d057efc7759664343d2ad354c59cd26c2782d87c056e1a7540d31e0a256" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.all(np.isfinite(trace.values))", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-87718558833684c50962d1af": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_external_circuit_refinement.py", + "symbol": "test_resolved_executor_samples_fixed_terminal_power_quadrant", + "lines": [ + 160, + 160 + ], + "text_sha256": "5efb4169795544b6622266003c72897289b929f3452ceaea318a5946c143e724" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert trace.values[0] == pytest.approx(1.0)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-e4330e8ebe02b2e91bd7a6d6": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_external_circuit_refinement.py", + "symbol": "test_resolved_executor_samples_fixed_terminal_power_quadrant", + "lines": [ + 161, + 161 + ], + "text_sha256": "74216e0fa7d3f457371d5cd5f2d2655fe58ef808585f916bbbce1bac57e90aad" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert trace.values[21] == pytest.approx(1.0)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-3916f757e7a6e351b4230e47": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_external_circuit_refinement.py", + "symbol": "test_resolved_executor_samples_fixed_terminal_power_quadrant", + "lines": [ + 162, + 162 + ], + "text_sha256": "fb78fca2a8fc0b7fb979246343af859874344c3e18c4d6740fb3d3a977704bbc" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert quality[\"power_quadrant_interpolation_verified\"].values == (1.0,)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-5ec2bf1634d8897ce4fe816d": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_external_circuit_refinement.py", + "symbol": "test_resolved_executor_samples_fixed_terminal_power_quadrant", + "lines": [ + 163, + 163 + ], + "text_sha256": "d8a73f145013f41968ca9861423695d9b8e5c5b5cd7fb98c80b95c2563a012a9" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert quality[\"terminal_quadrant_points_completed\"].values == (42.0,)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-0b9a6de9fc6e4f1dc943ffe1": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_external_circuit_refinement.py", + "symbol": "test_resolved_executor_samples_fixed_terminal_power_quadrant", + "lines": [ + 165, + 167 + ], + "text_sha256": "50da6008c66ee04f263bc39b9d18a841a89783cec8323a6865d5e1a5d214fdb4" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert metadata[\"protocol_schema\"] == (\n \"external-series-shunt-dc-operating-quadrant-refinement-protocol-v2\"\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-bf57a2348a523acf39c9efbf": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_external_circuit_refinement.py", + "symbol": "test_resolved_executor_samples_fixed_terminal_power_quadrant", + "lines": [ + 168, + 170 + ], + "text_sha256": "7483d9e0bbafe9255d543281ea4188aabbf9bf24f18a83dc4b3b7cbb02e08adc" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert metadata[\"protocol\"][\"observable_sampling\"][\"scope\"] == (\n \"terminal_power_producing_quadrant\"\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-93e359e2e7182066fba74e20": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_external_circuit_refinement.py", + "symbol": "test_resolved_executor_samples_fixed_terminal_power_quadrant", + "lines": [ + 171, + 174 + ], + "text_sha256": "adae5678a21c90bcc152743ef767a8a92b539c77c8eb65e9fdc2ca6bf40e5745" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert (\n len(metadata[\"protocol\"][\"observable_sampling\"][\"voltage_fraction_points\"])\n == 21\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-4b5cff2ad90a87cc7ca99e37": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_external_circuit_refinement.py", + "symbol": "test_study_protocol_is_identical_across_matrix_cells", + "lines": [ + 132, + 132 + ], + "text_sha256": "431c12bec7e5d02b7f227451ec3d3c7ef4ae0c73ba85524235b3a7092ca76aeb" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert first_metadata[\"protocol_hash\"] == second_metadata[\"protocol_hash\"]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-b50023c9c0f24373af436db2": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_external_circuit_refinement.py", + "symbol": "test_study_protocol_is_identical_across_matrix_cells", + "lines": [ + 133, + 133 + ], + "text_sha256": "1ce4390637573759f0db45e03e241541f478b28f68c72f3aa48d5557cd7bcdcb" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert first_metadata[\"protocol\"] == second_metadata[\"protocol\"]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-708172345ad2547484916a33": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_external_circuit_refinement.py", + "symbol": "test_study_protocol_is_identical_across_matrix_cells", + "lines": [ + 134, + 134 + ], + "text_sha256": "89dbeb39dca0c1dc49a25ac6da916de2646fd28db51e6af2adbc14d7cd1f46e1" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert first_metadata[\"actual\"] != second_metadata[\"actual\"]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-ab4a80f4c9ef032954998eb0": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_accepted_trajectory.py", + "symbol": "test_capacity_excursion_is_detected_between_admissible_output_samples", + "lines": [ + 50, + 50 + ], + "text_sha256": "f008b0b6d9af341efcedc96979f78b02a95fae668ad60ac899bdfd2beffa70fb" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.success and np.all((result.y[2] > 0.0) & (result.y[2] < 1.0))", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-161b4b1deefc0232f0325278": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_accepted_trajectory.py", + "symbol": "test_capacity_excursion_is_detected_between_admissible_output_samples", + "lines": [ + 52, + 52 + ], + "text_sha256": "6a56a62b9013497b7c4c0c75b0f7dcd4e71f1938add73adcea7ce988f60d4aaa" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert not report[\"passed\"]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-b19ea209b388c2fc55375066": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_accepted_trajectory.py", + "symbol": "test_capacity_excursion_is_detected_between_admissible_output_samples", + "lines": [ + 53, + 53 + ], + "text_sha256": "0a3c2d40ea4810cf4f18383de6cbda6324526a472c8ec371eecb50ae1e04c92e" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert \"ion_0_capacity\" in report[\"violations\"]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-38623119cf083217b333111e": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_accepted_trajectory.py", + "symbol": "test_capacity_excursion_is_detected_between_admissible_output_samples", + "lines": [ + 54, + 54 + ], + "text_sha256": "40c4b26760d6a30c76b2a73f9a6657ecf23104cadd3dc1c7f5d9955296cdd1c2" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert report[\"maximum_ion_site_fraction\"][0] > 2.0", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-74e50f750dea5f3dc1c8e841": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_accepted_trajectory.py", + "symbol": "test_negative_accepted_density_is_detected_between_positive_output_samples", + "lines": [ + 26, + 26 + ], + "text_sha256": "6c0041edae2cd608cf01f21daa7a27dee17ae7a5f9dd3abdbe1ed33275f7fb40" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.success and np.all(result.y > 0.0)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-f02c8b91c3223975732c9915": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_accepted_trajectory.py", + "symbol": "test_negative_accepted_density_is_detected_between_positive_output_samples", + "lines": [ + 28, + 28 + ], + "text_sha256": "6a56a62b9013497b7c4c0c75b0f7dcd4e71f1938add73adcea7ce988f60d4aaa" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert not report[\"passed\"]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-7aca8691924c40a1e4952635": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_accepted_trajectory.py", + "symbol": "test_negative_accepted_density_is_detected_between_positive_output_samples", + "lines": [ + 29, + 29 + ], + "text_sha256": "e1f7435f76513d71a095ae8fd4572add975ddc9f4a03ef943b635ca0e61f55f4" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert \"electron_nonpositive\" in report[\"violations\"]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-9247b50f2b4fcc6a861aa4e2": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_accepted_trajectory.py", + "symbol": "test_negative_accepted_density_is_detected_between_positive_output_samples", + "lines": [ + 30, + 30 + ], + "text_sha256": "5391d8193146fc62ee665f403097c26abb126b6c760ea2e16855eda4ffb23848" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert report[\"minimum_density_m3\"][0] < -0.99", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-799cabe43a54569adf4a4e00": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_accepted_trajectory.py", + "symbol": "test_observing_accepted_states_preserves_samples_steps_and_rhs_counts", + "lines": [ + 77, + 81 + ], + "text_sha256": "79a2e01a3b0640f9273e584c4732dfba67b19ae3d09119137a35977bb2ad4907" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert (observed.nfev, observed.njev, observed.nlu) == (\n plain.nfev,\n plain.njev,\n plain.nlu,\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-e859a624426e6a8195bd77a0": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_accepted_trajectory.py", + "symbol": "test_observing_accepted_states_preserves_samples_steps_and_rhs_counts", + "lines": [ + 82, + 82 + ], + "text_sha256": "2e1b3ab3647de6e6172ebf09318a7501680ce161536eb90e6089cbcab9f0f3c0" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert monitor.report()[\"accepted_step_count\"] > observed.t.size", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-f430934fd28fb096e44787dc": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_accepted_trajectory.py", + "symbol": "test_observing_accepted_states_preserves_samples_steps_and_rhs_counts", + "lines": [ + 74, + 74 + ], + "text_sha256": "a0863a434699a628c0a506a4fd32704fa7c6e0503621de689f97805980a78c03" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " monitor.assert_valid()", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-464d9934fb97376f40746e78": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_accepted_trajectory.py", + "symbol": "test_observing_accepted_states_preserves_samples_steps_and_rhs_counts", + "lines": [ + 75, + 75 + ], + "text_sha256": "ecbdcc325f77cad5a3192dcecb6a7f37808b7dfe40555e9bf8c53ac77441fe63" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_array_equal(observed.t, plain.t)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-ec1dd948f2534f7bd7e6a834": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_accepted_trajectory.py", + "symbol": "test_observing_accepted_states_preserves_samples_steps_and_rhs_counts", + "lines": [ + 76, + 76 + ], + "text_sha256": "4bf79c5fa35f07a6e8b9f619a66ff9a1cba75ce94228c4738a50bf3c0cc93676" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_array_equal(observed.y, plain.y)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-ad4e048b15990c322c6e02b8": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_foundation_reference_refinement.py", + "symbol": "test_definition_keeps_physical_scales_and_independent_refinements", + "lines": [ + 49, + 49 + ], + "text_sha256": "dec1f43c2ef5c87f25c4675418d35df82cfa703307098c4203401f63b504c7b8" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert lane.grid_values == (44, 88, 176)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-b2d112215b360a25c55a495b": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_foundation_reference_refinement.py", + "symbol": "test_definition_keeps_physical_scales_and_independent_refinements", + "lines": [ + 50, + 50 + ], + "text_sha256": "a893c4cb9253a585462e02e54036879845caae1b23eeedcb2f5d8114a99e29b1" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert lane.tolerance_factors == (1.0, 0.1, 0.01)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-af9ad5d52ddd058ac42b4849": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_foundation_reference_refinement.py", + "symbol": "test_definition_keeps_physical_scales_and_independent_refinements", + "lines": [ + 51, + 51 + ], + "text_sha256": "7b53993bc1f0920e08a28b08bfdcc1dfa8ef9378df2bf60c659688f4ff75fa73" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert protocol[\"voltage_steps_V\"] == [0.02, 0.01, 0.005]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-9df1d9cfecd480f881c4604e": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_foundation_reference_refinement.py", + "symbol": "test_definition_keeps_physical_scales_and_independent_refinements", + "lines": [ + 52, + 52 + ], + "text_sha256": "32febe2289f60f7c1c6d6d18169680a59ec8998a230e6b48214d1a7415f0d928" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert protocol[\"photon_energy_eV\"] == 2.0", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-e7f7139b0eb254b4d3f89077": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_foundation_reference_refinement.py", + "symbol": "test_definition_keeps_physical_scales_and_independent_refinements", + "lines": [ + 53, + 53 + ], + "text_sha256": "cd452e73b89c389a316b0817851c73b4d2af43a1260394a0e315a7230a4f4c00" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert protocol[\"current_normalization\"] == \"incident_photon_charge_flux\"", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-7591bd3c821afeb8acfa1d35": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_foundation_reference_refinement.py", + "symbol": "test_definition_keeps_physical_scales_and_independent_refinements", + "lines": [ + 54, + 54 + ], + "text_sha256": "5c78995b041ac301a468fe66578d0ae4af7ee44ebca851917039dbc28dece7a2" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert \"tolerance_factor\" not in protocol", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-8b0d90adcf808bd7b459515a": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_foundation_reference_refinement.py", + "symbol": "test_definition_keeps_physical_scales_and_independent_refinements", + "lines": [ + 56, + 56 + ], + "text_sha256": "a24f21c77bd589d2e8c5e8d3ad6ed3b93b282086791b536eee8c4755ae6f4b97" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert gates[\"voc_V\"] == 0.001", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-3da60e3bfe7ad85a54520ca7": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_foundation_reference_refinement.py", + "symbol": "test_definition_keeps_physical_scales_and_independent_refinements", + "lines": [ + 57, + 57 + ], + "text_sha256": "ba22d265b09a525bfa3321991ac3c82cf4d6368ee6b5657e5ced36f7de1259ca" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert gates[\"jsc_A_m2\"] == 0.002", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-26738c93da06040d409b1eed": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_foundation_reference_refinement.py", + "symbol": "test_definition_keeps_physical_scales_and_independent_refinements", + "lines": [ + 58, + 58 + ], + "text_sha256": "e81c38f3ff9472ef5326e162b1beab35a2d3d4fd3ce3126c396c953ebdafa3fa" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert gates[\"fill_factor\"] == 0.005", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-2c218ce4a343bf4ab3fc7655": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_foundation_reference_refinement.py", + "symbol": "test_definition_keeps_physical_scales_and_independent_refinements", + "lines": [ + 59, + 59 + ], + "text_sha256": "3b678e2c5828cc5bd46568b492243304834adfda2d27a1c94c752fb9a786b173" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert gates[\"open_circuit_electron_log_density\"] == pytest.approx(np.log(1.01))", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-224c41066f5741853ef7001a": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_foundation_reference_refinement.py", + "symbol": "test_equilibrium_preserves_subunit_contact_density_and_mass_action", + "lines": [ + 75, + 75 + ], + "text_sha256": "c82f8989111debfa6fc6ef454062fa5849a873e79844822bdb20a7cf0b72b1b7" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert 0.0 < material.n_L < 1.0 and 0.0 < material.p_R < 1.0", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-c743d232fd40a864f68d3e86": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_foundation_reference_refinement.py", + "symbol": "test_equilibrium_preserves_subunit_contact_density_and_mass_action", + "lines": [ + 76, + 81 + ], + "text_sha256": "327f018520b52ad9b16934ddf3bcf94fa2baf6fa1eee721ab230b6c7c040fa43" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_allclose(\n state.y[[0, 44, 45, 89]],\n [material.n_L, material.n_R, material.p_L, material.p_R],\n rtol=1e-12,\n atol=0.0,\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-6aac6e567896f9384e9bcc1a": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_foundation_reference_refinement.py", + "symbol": "test_equilibrium_preserves_subunit_contact_density_and_mass_action", + "lines": [ + 82, + 84 + ], + "text_sha256": "9965de023295d732e63445479753a7a897f4c848ca60e452a19d3690b8fc738c" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_allclose(\n state.y[:45] * state.y[45:90], material.ni_sq, rtol=1e-10, atol=0.0\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-b93bbc2f77fe15cf21379a22": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_foundation_reference_refinement.py", + "symbol": "test_real_reference_cell_certifies_all_operating_points_and_optical_power", + "lines": [ + 134, + 134 + ], + "text_sha256": "edfdc872fc8ca86fd1a8cd138ae47898d23ee5650b8e5fb0a0049ee2e91c66aa" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert set(quality) == {gate.metric for gate in lane.quality_gates}", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-0e5e0062fb90abf829b12a19": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_foundation_reference_refinement.py", + "symbol": "test_real_reference_cell_certifies_all_operating_points_and_optical_power", + "lines": [ + 135, + 137 + ], + "text_sha256": "c3326ebdb0fbb619b0854bad5174f8c154c9886b60ecd0f64583337a2259f811" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert {item.name for item in result.observables} == {\n gate.metric for gate in lane.observables\n }", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-c49b24dc2229e4e16c775ff9": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_foundation_reference_refinement.py", + "symbol": "test_real_reference_cell_certifies_all_operating_points_and_optical_power", + "lines": [ + 147, + 147 + ], + "text_sha256": "f93f0ac09a33cde2f0b04578ab875c738a7d70200cb297ec67e28b0a8481788e" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert actual[\"incident_power_W_m2\"] == pytest.approx(2.0 * Q * 1e21)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-a8643f506867198fbf3b9b46": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_foundation_reference_refinement.py", + "symbol": "test_real_reference_cell_certifies_all_operating_points_and_optical_power", + "lines": [ + 148, + 148 + ], + "text_sha256": "bc59cef68e21310ef0e38252384ee341a9d5444e1b24bfa235d124b84d4598b7" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert actual[\"intervals\"] == 44", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-f287f6d3c4400c4fd35eb7f8": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_foundation_reference_refinement.py", + "symbol": "test_real_reference_cell_certifies_all_operating_points_and_optical_power", + "lines": [ + 149, + 149 + ], + "text_sha256": "dc3e3505593111fd229a1e477799494657b1c73c89a23976f9df11fc07a2701e" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert actual[\"density_basin_initializations\"] == 1", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-47b1e47477ca9fbebfb68161": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_foundation_reference_refinement.py", + "symbol": "test_real_reference_cell_certifies_all_operating_points_and_optical_power", + "lines": [ + 151, + 156 + ], + "text_sha256": "7dae823164ef2312e317cfe6f05c4af50ccb9ce16e38f0a64bee748fd177694c" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert set(raw[\"operating_states\"]) == {\n \"equilibrium\",\n \"short_circuit\",\n \"open_circuit\",\n \"maximum_power\",\n }", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-60ecd67ebfe6d17bb95fbbce": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_foundation_reference_refinement.py", + "symbol": "test_real_reference_cell_certifies_all_operating_points_and_optical_power", + "lines": [ + 157, + 157 + ], + "text_sha256": "8c4615cd8a4a0ca1b995d723421bc7eb46a8c21bb6f6479173699b4776b8c0ed" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert len(raw[\"voltage_metrics\"]) == 3", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-5f8d455d4bc13f28a2efd40a": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_foundation_reference_refinement.py", + "symbol": "test_real_reference_cell_certifies_all_operating_points_and_optical_power", + "lines": [ + 158, + 158 + ], + "text_sha256": "b77fb041f4143b8bf89faf77bab459528df26e7e635df4e3ea796233cfa70c67" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert 0.0 < raw[\"voltage_metrics\"][-1][\"PCE\"] < 1.0", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-f16688087981908da62bc50c": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_foundation_reference_refinement.py", + "symbol": "test_real_reference_cell_certifies_all_operating_points_and_optical_power", + "lines": [ + 141, + 141 + ], + "text_sha256": "b26e4d318dfa4b51014e65c6f03fcb506cd85c61f81e96cddc39ee3153d20d51" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert value == gate.limit, gate.metric", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-8bde2712037c67acdcf3ac79": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_foundation_reference_refinement.py", + "symbol": "test_real_reference_cell_certifies_all_operating_points_and_optical_power", + "lines": [ + 143, + 143 + ], + "text_sha256": "88a14dc238b53871810cd433b4b0d2c660757ba5b079c697a6b6912737a9a8b4" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert value <= gate.limit, gate.metric", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-a355165304a84ae9d731f793": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_foundation_reference_refinement.py", + "symbol": "test_real_reference_cell_certifies_all_operating_points_and_optical_power", + "lines": [ + 145, + 145 + ], + "text_sha256": "a4db764cfe3cfa7923a31da1bf74a22443e3e912c8235e5008c25927a8a27955" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert value >= gate.limit, gate.metric", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-480f9932d8f4c69eac7e0e52": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_foundation_reference_refinement.py", + "symbol": "test_resolved_reference_keeps_all_original_physical_limits", + "lines": [ + 37, + 37 + ], + "text_sha256": "e79418d8c677dc543239700eda76085e79a88204b2dabf2f53e060ca97107b98" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert resolved.config_sha256 == original.config_sha256", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-daef4af982f98db57da1e549": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_foundation_reference_refinement.py", + "symbol": "test_resolved_reference_keeps_all_original_physical_limits", + "lines": [ + 38, + 38 + ], + "text_sha256": "6f0b1b42c36c118982ef6002a4e2fc5220a60751431f697274656236d00e4240" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert resolved.observables == original.observables", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-7b2e6cde3e14786dbb6741d7": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_foundation_reference_refinement.py", + "symbol": "test_resolved_reference_keeps_all_original_physical_limits", + "lines": [ + 39, + 39 + ], + "text_sha256": "ce1d0a42052f2bbd4f8583c802f4952f470206fbba9603ccb5dff9f051cd4fc9" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert resolved.quality_gates == original.quality_gates", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-7f998b950a7b43b39fd3e837": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_foundation_reference_refinement.py", + "symbol": "test_resolved_reference_keeps_all_original_physical_limits", + "lines": [ + 40, + 40 + ], + "text_sha256": "2fa9a8f43be6c28a35f464c91c6962e2e80a993513a0ab65f55752d650f2cb09" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert resolved.grid_values == (88, 176, 352)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-156b7264282c9b5c47adbf19": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_foundation_reference_refinement.py", + "symbol": "test_resolved_reference_keeps_all_original_physical_limits", + "lines": [ + 42, + 42 + ], + "text_sha256": "f97b938b079098b7313fe0163fea18a3168f3626f5886fb9c5dd35507e85b41c" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert protocol[\"profile_interpolation\"] == \"scharfetter_gummel_constant_face_flux\"", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-78590c484753126a7c1fe86b": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_foundation_reference_refinement.py", + "symbol": "test_resolved_reference_keeps_all_original_physical_limits", + "lines": [ + 43, + 43 + ], + "text_sha256": "426d91db1568f601c40aa56c327333550254e1051d5861915fd7c9f28fb79770" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert protocol[\"profile_points_per_layer\"] == 33", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-fa34d4d6c4e8b9800db633dd": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_foundation_reference_sampling.py", + "symbol": "test_balanced_mesh_preserves_physical_absorber_volume", + "lines": [ + 23, + 23 + ], + "text_sha256": "e4aa1bf89d0825aaa58ca56e0d8dd18bcc1bc7385e1e121dec96594ae02036e1" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert len(grid) == total + 1", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-6de411a39f0141afce152b97": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_foundation_reference_sampling.py", + "symbol": "test_balanced_mesh_preserves_physical_absorber_volume", + "lines": [ + 24, + 24 + ], + "text_sha256": "b824654b8fcba1ad5445a260d0cf381ddf9dde9c4a0710ffedc644301681f234" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert min(alphas) > 0.0", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-865eca66381c5d7a1d378193": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_foundation_reference_sampling.py", + "symbol": "test_balanced_mesh_preserves_physical_absorber_volume", + "lines": [ + 30, + 30 + ], + "text_sha256": "80f8d0923652859109352c8b05ab09984adddd74754ea2a6181200e5d6c4dabf" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert measure == pytest.approx(stack.layers[1].thickness, rel=1e-12)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-b58846ab122d5a273c9a7109": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_foundation_reference_sampling.py", + "symbol": "test_balanced_mesh_preserves_physical_absorber_volume", + "lines": [ + 26, + 28 + ], + "text_sha256": "6f32bbba55b3d7f0014c1bba8ce5a646e4b138d962e445827f9a480bf0942d76" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert grid[boundary] - grid[boundary - 1] == pytest.approx(\n grid[boundary + 1] - grid[boundary], rel=1e-9\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-1091bd49a904573078aeef89": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_foundation_reference_sampling.py", + "symbol": "test_subdivision_preserves_the_same_nonzero_face_current", + "lines": [ + 71, + 71 + ], + "text_sha256": "7e0928f320b6f0bf98c4030af6e20b090a91b5dff92199bd667b36c4601c7ddd" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert expected != 0.0", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-b04321d1502c3e749342bb8c": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_foundation_reference_sampling.py", + "symbol": "test_subdivision_preserves_the_same_nonzero_face_current", + "lines": [ + 72, + 72 + ], + "text_sha256": "efabb3de484cc7ae41bc62b9e9fdcfd5bec67c3623d9f57d10120ce878a14f08" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_allclose(actual, expected, rtol=1e-12, atol=0.0)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-a6e920bf9086761598bec454": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_degradation_snapshot_refinement.py", + "symbol": "test_snapshot_metrics_are_independent_of_preparation_step_size", + "lines": [ + 113, + 113 + ], + "text_sha256": "3a7852e1ea0a9ca4eafdb2c949d374a09b83d54d48cf149de78a5df08b810571" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_allclose(results[-2].J, results[-1].J, rtol=0.0, atol=0.01)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-22e7dec9917cd5f355fc77db": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_foundation_tpv_spatial_refinement.py", + "symbol": "test_three_spatial_levels_resolve_the_same_physical_tpv", + "lines": [ + 93, + 93 + ], + "text_sha256": "2862797cb4b359d30fdbab5f9e5520e9f032d3b299a7990cc1f84ba0f829e05e" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert len({result.protocol.protocol_hash for result in results}) == 1", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-bd84236f25d3dfebba8c53b4": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_tpv_open_circuit_refinement.py", + "symbol": "test_three_time_levels_preserve_the_same_pulse_and_preparation", + "lines": [ + 64, + 64 + ], + "text_sha256": "a3c3497479f10af96d32f24092cdd17ad64caa9af91f735471a8fc13c3f7aa12" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert len({result.protocol.protocol_hash for result in levels}) == 1", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-6732930f1f2bd464b80f26b2": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_tpv_open_circuit_refinement.py", + "symbol": "test_three_tolerance_levels_resolve_the_same_waveform", + "lines": [ + 70, + 70 + ], + "text_sha256": "a3c3497479f10af96d32f24092cdd17ad64caa9af91f735471a8fc13c3f7aa12" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert len({result.protocol.protocol_hash for result in levels}) == 1", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-63b5eb87b6a4c35d1828e347": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_tpv_open_circuit_refinement.py", + "symbol": "test_two_amplitude_halvings_recover_the_small_signal_limit", + "lines": [ + 82, + 82 + ], + "text_sha256": "df4468c119f3e6da2d0d1a418f1ebf58bc9d806b66d5d98911dba3eabf759e0b" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert error_fine < error_coarse", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-42d2c073e7d29ae3bbb40b61": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_tpv_open_circuit_refinement.py", + "symbol": "test_two_amplitude_halvings_recover_the_small_signal_limit", + "lines": [ + 83, + 83 + ], + "text_sha256": "6b198111c13689d44ddcef8c7157a22de8d00dc6ef29aae2ce312e5763d016b0" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert error_fine < 0.01 * np.max(np.abs(normalized[-1]))", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-c3cf5ad1be088c3bcf8c967d": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_tpv_open_circuit_refinement.py", + "symbol": "test_two_amplitude_halvings_recover_the_small_signal_limit", + "lines": [ + 78, + 78 + ], + "text_sha256": "29088045e1470e144cc67a288f8d8b57986b1f73c49d424fea8f12e5e00b4cdf" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.protocol.illumination_history[2].duration_s == 1e-6", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-e3d03ea695e0818b5be9f2f0": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_degradation_frozen_ions.py", + "symbol": "test_nonuniform_ions_have_zero_frozen_flux_and_never_move", + "lines": [ + 79, + 79 + ], + "text_sha256": "91b0eb24ef7b8be6ec67afe5dd15a123f804b8c74198d6dbfece6fbb83c6e9b8" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert frozen_mat.has_dual_ions == mat.has_dual_ions", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-829e6f29dc358d3a34148a85": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_degradation_frozen_ions.py", + "symbol": "test_nonuniform_ions_have_zero_frozen_flux_and_never_move", + "lines": [ + 87, + 87 + ], + "text_sha256": "b721f873e19b3adcc37ce931af030d6068292c8bd9a39b3f523fde1d60e412ed" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert sol.success, sol.message", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-b1373156a7202e953c3f4342": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_degradation_frozen_ions.py", + "symbol": "test_nonuniform_ions_have_zero_frozen_flux_and_never_move", + "lines": [ + 88, + 88 + ], + "text_sha256": "550c6a751fa97c8671b0ec1e3affc430c1c7032754a006fb8e8f07dec527915e" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.all(np.isfinite(sol.y))", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-b125ea83a7a4b43628fb0e02": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_degradation_frozen_ions.py", + "symbol": "test_nonuniform_ions_have_zero_frozen_flux_and_never_move", + "lines": [ + 74, + 74 + ], + "text_sha256": "ceeeab9f67f6526316c358e0cf940b4cf5c3537a55bc8b80546bb7be1fb851f3" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.max(np.abs(original_current.J_positive)) > 1e-10", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-8ac736746e54fff08bc554c4": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_degradation_frozen_ions.py", + "symbol": "test_nonuniform_ions_have_zero_frozen_flux_and_never_move", + "lines": [ + 76, + 76 + ], + "text_sha256": "3dcf714ff2e2dda587119792a6b56f8b184fbbde328f3f8a1a8c6279dd734364" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.max(np.abs(original_current.J_negative)) > 1e-10", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-4b8ddfe7ca36fbe5b1683690": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_degradation_frozen_ions.py", + "symbol": "test_nonuniform_ions_have_zero_frozen_flux_and_never_move", + "lines": [ + 80, + 80 + ], + "text_sha256": "a16530071e4f3b97d62ba02c5347897030fd09917e86cbaff9b422fbc8a8914a" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_array_equal(frozen_mat.P_ion0, mat.P_ion0)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-1e352273f3c7f432b36155ee": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_degradation_frozen_ions.py", + "symbol": "test_nonuniform_ions_have_zero_frozen_flux_and_never_move", + "lines": [ + 82, + 82 + ], + "text_sha256": "6e6a8f92531f9a63d3c35490bf46e53c09888abe9374c129c297ac2e255b7a36" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_array_equal(frozen_mat.P_ion0_neg, mat.P_ion0_neg)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-6ba65fe83ae52ea630168d4d": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_degradation_frozen_ions.py", + "symbol": "test_nonuniform_ions_have_zero_frozen_flux_and_never_move", + "lines": [ + 90, + 90 + ], + "text_sha256": "c07ac66bc4f2a866a23e5240db6b05c2ca7206971b7a782438dd12c91363d376" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_array_equal(accepted[2 * x.size:], state[2 * x.size:])", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-68bb0a68424341aa50c1c413": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_degradation_frozen_ions.py", + "symbol": "test_nonuniform_ions_have_zero_frozen_flux_and_never_move", + "lines": [ + 92, + 92 + ], + "text_sha256": "3e60d0013b7513dd5360d5b7aefda1117309e38309b437c914f4e041a1589e25" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_array_equal(current.J_positive, 0.0)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-6cf695e7b480742f7e25f4de": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_degradation_frozen_ions.py", + "symbol": "test_nonuniform_ions_have_zero_frozen_flux_and_never_move", + "lines": [ + 94, + 94 + ], + "text_sha256": "53116d026a1b0deb852fb72e14e0d62ee9ccbaa90055d3f752d92917acbfbfee" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_array_equal(current.J_negative, 0.0)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-49265c9f4b3f9fc0602233ef": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_foundation_twod_axis_refinement.py", + "symbol": "test_lateral_refinement_preserves_the_uniform_state_and_currents", + "lines": [ + 246, + 251 + ], + "text_sha256": "ed8014191a00d074204245974052f93aa5681095236d798a861df2882b0ad185" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_allclose(\n level[\"state_2d_m3\"][:, :, 0],\n levels[-1][\"state_2d_m3\"][:, :, 0],\n rtol=1e-8,\n atol=0.0,\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-b46fcea38bb8adedec55a39b": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_foundation_twod_axis_refinement.py", + "symbol": "test_lateral_refinement_preserves_the_uniform_state_and_currents", + "lines": [ + 252, + 257 + ], + "text_sha256": "5e05c5f611e884a9ff70349495f9bd6833ebe508b5e38b8ee22610d26af03172" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_allclose(\n level[\"current_2d_A_m2\"],\n levels[-1][\"current_2d_A_m2\"],\n rtol=1e-7,\n atol=1e-8,\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-16d2850280762a48f60b946b": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_foundation_twod_axis_refinement.py", + "symbol": "test_vertical_refinement_approaches_the_same_active_transport_limit", + "lines": [ + 239, + 239 + ], + "text_sha256": "b01c277f96829ec7a34c92c329a97facd9984cd3586e14bb84d968a2dc11d004" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.all(values[-1] < values[-2]) and np.all(values[-2] < values[-3])", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-39fea0d79a4dab4e5fa90d32": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_foundation_twod_axis_refinement.py", + "symbol": "test_vertical_refinement_approaches_the_same_active_transport_limit", + "lines": [ + 240, + 240 + ], + "text_sha256": "06313bb638b2ee3d8b79df56c7509aca64355cea23a1395966d49bc7dbff674f" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.max(values[-1]) < 0.005", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-3c3d3927791582e142dc3e5e": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_twod_combined_refinement.py", + "symbol": "test_registered_twod_matrix_keeps_every_accepted_state_physical", + "lines": [ + 196, + 196 + ], + "text_sha256": "b877658c2a26c2a2847bd32567e4a2c29799a9bc5e0b6f7c3c9068bf549a1462" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert record[\"runs\"]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-bbdcc0425b8e984f6c4a8b62": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_twod_combined_refinement.py", + "symbol": "test_registered_twod_matrix_keeps_every_accepted_state_physical", + "lines": [ + 197, + 197 + ], + "text_sha256": "2de2cd20a8ad7776b842435e123a31c2d9df9bb8c519146c77893db48d4a6b13" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert record[\"preparation\"]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-da924f3cd58b31d4d0305861": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_twod_combined_refinement.py", + "symbol": "test_registered_twod_matrix_keeps_every_accepted_state_physical", + "lines": [ + 198, + 198 + ], + "text_sha256": "00394c3e9e422dfd4e80d09af0ee57fb80b8b689885d1357f20d8309fc26f664" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert all(item[\"trajectory\"][\"passed\"] for item in record[\"preparation\"])", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-50a8f231cd44d0f5dc5b47ac": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_twod_combined_refinement.py", + "symbol": "test_registered_twod_matrix_keeps_every_accepted_state_physical", + "lines": [ + 199, + 199 + ], + "text_sha256": "74b3f4cfac9ad27d3f6ecc6fde8b4b65aa0b9246b4d0717bf863918f325df483" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert {0.0, 0.05, 0.1}.issubset({run[\"voltage_V\"] for run in record[\"runs\"]})", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-014efc89b14e3c10915165b7": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_twod_combined_refinement.py", + "symbol": "test_registered_twod_matrix_keeps_every_accepted_state_physical", + "lines": [ + 200, + 204 + ], + "text_sha256": "1401747f556d81b632a2d4efa597b70257e4681861ae72a9f5d129cb9dc1400f" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert all(\n run[\"trajectory\"][\"passed\"]\n for run in record[\"runs\"]\n if run[\"solver_returned_successfully\"]\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-09d44f51cc332a9a9f601d71": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_twod_combined_refinement.py", + "symbol": "test_registered_twod_matrix_keeps_every_accepted_state_physical", + "lines": [ + 120, + 120 + ], + "text_sha256": "70d75a61d286ba03647f4ae44bc6b9755ad114c4b571799a9711250badb2c7a5" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert not material.has_dual_ions and material.N_iface_state == 0", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-d7a2d65dbf0f2475d248570a": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_twod_combined_refinement.py", + "symbol": "test_registered_twod_matrix_keeps_every_accepted_state_physical", + "lines": [ + 192, + 195 + ], + "text_sha256": "e4fe20cc2c206bb29eda9a8ebef9ab429750910e3ea08cc462503f9c762c4327" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert comparisons[gate.operator](quality[gate.metric], gate.limit), (\n gate,\n quality[gate.metric],\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-5075de56292d25e647fce26e": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_twod_combined_refinement.py", + "symbol": "test_registered_twod_matrix_keeps_every_accepted_state_physical", + "lines": [ + 132, + 132 + ], + "text_sha256": "759bd619d1a738a6f1b7d6bb86000cf6bbc4a762c06be78783e053f5f7798bf4" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.success, result.message", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-847b84fea682ca328f77625b": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_twod_combined_refinement.py", + "symbol": "test_registered_twod_matrix_keeps_every_accepted_state_physical", + "lines": [ + 133, + 133 + ], + "text_sha256": "d4ab9cb21d9a6da14f23ecfe2de377915549748ef79a5b56c80fbd5d9851eb17" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " monitor.assert_valid()", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-e7990c7b90c4602c76af256c": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_twod_combined_refinement.py", + "symbol": "test_registered_twod_matrix_keeps_every_accepted_state_physical", + "lines": [ + 148, + 148 + ], + "text_sha256": "98064a886c96c67e3c4e1544eb194d8583a13874c18ce966b0cf4fccfa0259a4" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert initial_ions_1d is not None", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-aff30ce10b52e7e117b76152": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_twod_combined_refinement.py", + "symbol": "test_registered_twod_matrix_keeps_every_accepted_state_physical", + "lines": [ + 174, + 174 + ], + "text_sha256": "d4ab9cb21d9a6da14f23ecfe2de377915549748ef79a5b56c80fbd5d9851eb17" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " monitor.assert_valid()", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-5b059486b53c0163cf3237e1": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/twod/test_jv_sweep_2d_microstructure.py", + "symbol": "test_jv_sweep_2d_singleGB_runs_to_completion", + "lines": [ + 32, + 32 + ], + "text_sha256": "a9e405ed714e08117896255ca1489250fafebcab7e3cbd614ba8e12702ea3a76" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert res.V.shape == (4,)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-4f4741efd8141168bb248fff": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/twod/test_jv_sweep_2d_microstructure.py", + "symbol": "test_jv_sweep_2d_singleGB_runs_to_completion", + "lines": [ + 33, + 33 + ], + "text_sha256": "a920820bf2a1ca8660ef181f47a696e3d289efe3e01ff4e36a7a1d8bca4afb06" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert res.J.shape == (4,)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-668a1302de81ffacd9f6bacd": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/twod/test_jv_sweep_2d_microstructure.py", + "symbol": "test_jv_sweep_2d_singleGB_runs_to_completion", + "lines": [ + 34, + 34 + ], + "text_sha256": "ebcb08343df25ef62c9eb87960c05687d9b2d1cf563871d1024622dc161d17c9" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.all(np.isfinite(res.J))", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-f132ad8d4982215e8c025349": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/twod/test_jv_sweep_2d_microstructure.py", + "symbol": "test_jv_sweep_2d_singleGB_runs_to_completion", + "lines": [ + 63, + 63 + ], + "text_sha256": "9e5fbcbf00aeeddf367fe8e7dac87cd25f6e40345e74cfc3033c620edb2f2eb9" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert interior.sum() >= 3, f\"too few non-pinned interior nodes: {interior.sum()}\"", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-02681efe2b124de9d4ad016f": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/twod/test_jv_sweep_2d_microstructure.py", + "symbol": "test_jv_sweep_2d_singleGB_runs_to_completion", + "lines": [ + 76, + 79 + ], + "text_sha256": "7f04deac0f45491c94f714be8d781f9e73e9db065c7d4eb4559dd6bffda98a31" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert suppression > 10 * uncertainty, (\n f\"grain-boundary effect {suppression:g} is not resolved above \"\n f\"the tolerance/roundoff scale {uncertainty:g}\"\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-be24015e0b77410009fc0805": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/twod/test_jv_sweep_2d_microstructure.py", + "symbol": "test_jv_sweep_2d_singleGB_runs_to_completion", + "lines": [ + 53, + 53 + ], + "text_sha256": "81f325cafb1ea52c4761f7e7820590068dfb457870d46d8981dd023667d1ce8f" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_allclose(res.J, explicit.J, rtol=1e-6, atol=1e-8)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-e30feb0cbc54d28146f47d64": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/twod/test_jv_sweep_2d_microstructure.py", + "symbol": "test_jv_sweep_2d_singleGB_runs_to_completion", + "lines": [ + 67, + 67 + ], + "text_sha256": "aad136bf8c72746db645e88e1808c269fbd633ade4f257aef6abc7a78700f14b" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_allclose(normal, fine, rtol=1e-6, atol=0.0)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-9e610f72768c0f1e74649daa": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_band_gap_narrowing.py", + "symbol": "test_slotboom_is_monotone_and_stable_below_ratio_underflow", + "lines": [ + 28, + 28 + ], + "text_sha256": "6c160e62e8ac085246cd7bf704dea3d577256d209f55f67f6b7d5ce9932c42f1" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert all(math.isfinite(value) and value > 0.0 for value in narrowing)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-a2d04dc8266cac8d2ccd99de": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_band_gap_narrowing.py", + "symbol": "test_slotboom_is_monotone_and_stable_below_ratio_underflow", + "lines": [ + 29, + 29 + ], + "text_sha256": "ce46e060c20a9ad151fe8d48c7178081dbd2e507560df5c12a40523ff7a0763c" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert narrowing == sorted(narrowing)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-d2695551b300e579dc458dcf": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_band_gap_narrowing.py", + "symbol": "test_slotboom_is_monotone_and_stable_below_ratio_underflow", + "lines": [ + 32, + 32 + ], + "text_sha256": "8e0b5fd153761ba3065758f8e94e6b2f2f18f56548e0eea6aa8f61dfb23b7445" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert narrowing[-1] == pytest.approx(expected, rel=2.0e-15)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-f4348df2af980e01f2242ca6": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_contact_statistics.py", + "symbol": "test_slotboom_contact_state_uses_narrowed_band_edges", + "lines": [ + 340, + 340 + ], + "text_sha256": "75cd6dc0c4d9d2f4d0f1e6742fb5063edc47f530eb912607925ad1fe0a7b2046" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert narrowed.band_gap_narrowing_eV > 0.0", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-f24ba27f486fe24e31da399a": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_contact_statistics.py", + "symbol": "test_slotboom_contact_state_uses_narrowed_band_edges", + "lines": [ + 341, + 343 + ], + "text_sha256": "eb3fe4c749d4301f964c68feb79ae090b199377a0b4519152e8b16c53c04d106" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert narrowed.band_gap_eV == pytest.approx(\n baseline.Eg - narrowed.band_gap_narrowing_eV\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-bcc1e34bbeea6b451d372d1d": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_contact_statistics.py", + "symbol": "test_slotboom_contact_state_uses_narrowed_band_edges", + "lines": [ + 344, + 346 + ], + "text_sha256": "4aa374e0487472422e730e24e550aa2f6501d8746c4336c75bebf4c2657489d0" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert narrowed.electron_affinity_eV == pytest.approx(\n baseline.chi + 0.4 * narrowed.band_gap_narrowing_eV\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-e7fa9add5d76cdeb3e929a87": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_contact_statistics.py", + "symbol": "test_slotboom_contact_state_uses_narrowed_band_edges", + "lines": [ + 347, + 349 + ], + "text_sha256": "e2c96a04e9dd28165d5ad3634a78c2a1ae50b273a34549ca71f1d2b23599e1d5" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert narrowed.conduction_band_shift_eV == pytest.approx(\n 0.4 * narrowed.band_gap_narrowing_eV\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-43dfd26260db3c8987356ea0": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_contact_statistics.py", + "symbol": "test_slotboom_contact_state_uses_narrowed_band_edges", + "lines": [ + 350, + 352 + ], + "text_sha256": "3041f11891ec1d4a412d213c6c576fc7f014de6c3099afecd1a119a1bfc7688e" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert narrowed.valence_band_shift_eV == pytest.approx(\n 0.6 * narrowed.band_gap_narrowing_eV\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-b324f09f65d91e4dd92d7d8d": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_contact_statistics.py", + "symbol": "test_slotboom_contact_state_uses_narrowed_band_edges", + "lines": [ + 353, + 353 + ], + "text_sha256": "f24e15c76477c34905519eef710c028dfbabc266b62144068adbb0337f44af61" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert narrowed.neutrality.normalized_charge_residual < 2.0e-13", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-8b8cc29e000ac46b6d81cf28": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_contact_statistics.py", + "symbol": "test_slotboom_contact_state_uses_narrowed_band_edges", + "lines": [ + 354, + 354 + ], + "text_sha256": "497cd7497f7e152b026d4a5eb13b74daa81685bca9a6eb85d76298de0beefdb2" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert narrowed.work_function_eV != pytest.approx(reference.work_function_eV)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-6cf7a0fb58b5fa4e57f1a547": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py", + "symbol": "test_incomplete_ionization_and_bgn_equilibrium_close_together", + "lines": [ + 404, + 404 + ], + "text_sha256": "a43b33f7b2d70e06aa2620746b3a957207a0e652a303e621b19ff51d9f538ae5" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.all(result.band_gap_narrowing_eV > 0.02)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-09ba780e639cd89e7f4268bc": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py", + "symbol": "test_incomplete_ionization_and_bgn_equilibrium_close_together", + "lines": [ + 405, + 405 + ], + "text_sha256": "13a518020e967fd417b6b1cf48a77b0be9fd0fd3bb952144c447cb11dfaf7feb" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.maximum_normalized_poisson_residual < 1.0e-8", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-6d774c73fbff54c318954faa": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py", + "symbol": "test_incomplete_ionization_and_bgn_equilibrium_close_together", + "lines": [ + 406, + 406 + ], + "text_sha256": "68b593e1b39f767e15a7c590c546c4814fc261ab0e40c5f25124aef5e5faa9dd" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.maximum_relative_face_current < 1.0e-12", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-4732e0907a9b8bcd20355a83": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py", + "symbol": "test_incomplete_ionization_and_bgn_equilibrium_close_together", + "lines": [ + 407, + 407 + ], + "text_sha256": "35cb353dad3e46bd6aede4fe388d42fc716ab42cdf3c5c67c602b459f2d4ddf4" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.maximum_normalized_carrier_rate < 1.0e-12", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-6b9c236b244a6032cdce536e": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py", + "symbol": "test_incomplete_ionization_and_bgn_equilibrium_close_together", + "lines": [ + 408, + 408 + ], + "text_sha256": "12fc8537c54a719c433c20c4d63f32a6904caa3523e5b18ef47159ce441a6440" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.charge_balance_relative_error < 0.015", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-956fb5819fc1e37cb243f340": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py", + "symbol": "test_incomplete_ionization_and_bgn_equilibrium_close_together", + "lines": [ + 409, + 409 + ], + "text_sha256": "8b2e34b3fa5b7b2e043fc38cd9d2da12cf9c8d98b983b4aa2d4b2d3ab757d890" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.all(result.electron_density_m3 > 0.0)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-ff0014b2a24a62f698c4a3b3": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py", + "symbol": "test_incomplete_ionization_and_bgn_equilibrium_close_together", + "lines": [ + 410, + 410 + ], + "text_sha256": "6d29fbdb135fdda13dd89dc5458324ba8eb0a18947bb72b28d7b28387dce2161" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.all(result.hole_density_m3 > 0.0)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-376facafa9b9300e24ed822c": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py", + "symbol": "test_research_material_composes_bgn_with_incomplete_ionization", + "lines": [ + 198, + 198 + ], + "text_sha256": "b03a1df92c301ec6754c46659b70299ed7e9c13523e908144ca18153b7366009" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert material.band_gap_narrowing_model == \"slotboom\"", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-a23a7a145f7d9ebdfbfe3750": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py", + "symbol": "test_research_material_composes_bgn_with_incomplete_ionization", + "lines": [ + 199, + 199 + ], + "text_sha256": "1f0b9d7ae6a7eff813de1b882a7ae0d1b6192cf4c352b300ec2b344c132b5f62" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert material.band_gap_narrowing_eV is not None", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-d668f6e4ac1b5c22f6cf7820": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py", + "symbol": "test_research_material_composes_bgn_with_incomplete_ionization", + "lines": [ + 200, + 200 + ], + "text_sha256": "5d5d2d86f0065441c1494c2cf0701fe9f065244660eeff22518bde4091964cf4" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.all(material.band_gap_narrowing_eV > 0.0)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-7ae82e48359ac96e14aa3850": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py", + "symbol": "test_research_material_composes_bgn_with_incomplete_ionization", + "lines": [ + 201, + 206 + ], + "text_sha256": "15b85dcd598c7b0df80ba3c34faa58f5bd328f3e317a8eff58802158052498da" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_allclose(\n reference.Eg_phys - material.Eg_phys,\n material.band_gap_narrowing_eV,\n rtol=2.0e-14,\n atol=0.0,\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-1ea911a64c18235522f2592c": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py", + "symbol": "test_research_material_composes_bgn_with_incomplete_ionization", + "lines": [ + 207, + 212 + ], + "text_sha256": "954ae783bb65f17f2a4cc9b50832f9fc46ebd85967250d1de757a40824a845c0" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_allclose(\n material.ni_sq / reference.ni_sq,\n np.exp(material.band_gap_narrowing_eV / material.V_T_device),\n rtol=2.0e-14,\n atol=0.0,\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-80d379c98e15f7e3ace52980": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py", + "symbol": "test_research_material_composes_bgn_with_incomplete_ionization", + "lines": [ + 216, + 221 + ], + "text_sha256": "7ba40b8f155066483c77ef7c2e5835d63b89ef9c396b77aabd2856532406fef7" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_allclose(\n material.n1 / reference.n1,\n reference_scale,\n rtol=2.0e-14,\n atol=0.0,\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-89e2e24be9be233dc2e73b0a": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py", + "symbol": "test_research_material_composes_bgn_with_incomplete_ionization", + "lines": [ + 222, + 227 + ], + "text_sha256": "215e65d87b045499baa182b23c956c078655d76f197fc3dc4b70929415e536b5" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_allclose(\n material.p1 / reference.p1,\n reference_scale,\n rtol=2.0e-14,\n atol=0.0,\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-6990b09a9807a91c8761d329": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_bgn_refinement.py", + "symbol": "test_registered_executor_real_temperature_cell_matches_contract", + "lines": [ + 109, + 109 + ], + "text_sha256": "ef02fc452ce04ff5830a4016b318364459edcbe72a8cbd815847d4536de1020b" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert set(observables) == {gate.metric for gate in lane.observables}", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-d951f76d4cc20d4e0210cf0e": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_bgn_refinement.py", + "symbol": "test_registered_executor_real_temperature_cell_matches_contract", + "lines": [ + 110, + 110 + ], + "text_sha256": "edfdc872fc8ca86fd1a8cd138ae47898d23ee5650b8e5fb0a0049ee2e91c66aa" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert set(quality) == {gate.metric for gate in lane.quality_gates}", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-0d223bfd4f670f48b6d71461": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_bgn_refinement.py", + "symbol": "test_registered_executor_real_temperature_cell_matches_contract", + "lines": [ + 111, + 113 + ], + "text_sha256": "e4bcee08e22875152747aa9b9f22f28c6e25e3b44b4aa665ab49d18891068e3d" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert all(\n observables[gate.metric].units == gate.units for gate in lane.observables\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-6d0eaf19963352bfa2b12c54": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_bgn_refinement.py", + "symbol": "test_registered_executor_real_temperature_cell_matches_contract", + "lines": [ + 114, + 114 + ], + "text_sha256": "7cefed9cf452f499e6fec8e9f6c83214a2cf2332a46617ee914af4dbe8cdea92" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert all(quality[gate.metric].units == gate.units for gate in lane.quality_gates)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-6500f9d8d1e81fbdefadfdef": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_bgn_refinement.py", + "symbol": "test_registered_executor_real_temperature_cell_matches_contract", + "lines": [ + 119, + 119 + ], + "text_sha256": "371e7bea0fd919e970b2f7a2471109b1a08a416107b57e4f74c4cdd8e81f9614" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert donor_curve == tuple(sorted(donor_curve))", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-595ba69e7161581e56967cd9": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_bgn_refinement.py", + "symbol": "test_registered_executor_real_temperature_cell_matches_contract", + "lines": [ + 120, + 120 + ], + "text_sha256": "a47de0f57a7584eab6c6a254fb6860bc4ea9e14ff33f3340f11fa5fb1e8c559a" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert acceptor_curve == tuple(sorted(acceptor_curve))", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-518bc857366965ffbbd340f8": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_bgn_refinement.py", + "symbol": "test_registered_executor_real_temperature_cell_matches_contract", + "lines": [ + 121, + 121 + ], + "text_sha256": "0ba8435aa49330789b885841375040346ddc845717210aa48a3a9554d786bc14" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert len(set(narrowing_curve)) == 1", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-1a51972a4a3a08851d913330": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_bgn_refinement.py", + "symbol": "test_registered_executor_real_temperature_cell_matches_contract", + "lines": [ + 122, + 122 + ], + "text_sha256": "267eb3d2b92d64d9d5c63f59d564806a2961dd43edd235546279274214a78832" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert narrowing_curve[0] > 0.02", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-885133a8545b7e7cccc2e57f": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_bgn_refinement.py", + "symbol": "test_registered_executor_real_temperature_cell_matches_contract", + "lines": [ + 123, + 123 + ], + "text_sha256": "200afb01db6a4eab51d07bf166b81c9010e750bfd69a4e1e023e2c0b4b091f60" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert effective_gap_curve == tuple(sorted(effective_gap_curve, reverse=True))", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-308684d43b6825a77d2f7467": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_bgn_refinement.py", + "symbol": "test_registered_executor_real_temperature_cell_matches_contract", + "lines": [ + 124, + 124 + ], + "text_sha256": "acdf5012c19c23618fabfdd1394516bc07cd02296283cb4db312fce8b0970f9c" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert quality[\"bgn_chemical_doping_law_verified\"].values == (1.0,)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-3716f228d64a770b1e6ba9c0": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_bgn_refinement.py", + "symbol": "test_registered_executor_real_temperature_cell_matches_contract", + "lines": [ + 125, + 125 + ], + "text_sha256": "afae72dcad91d6026a0175590d5d184924c86c42593e5806181397a09ec74672" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert quality[\"combined_topology_verified\"].values == (1.0,)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-6048fb347780e4674c9a045c": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_bgn_refinement.py", + "symbol": "test_registered_executor_real_temperature_cell_matches_contract", + "lines": [ + 126, + 126 + ], + "text_sha256": "b0eaad894d16570fe42e3bf945b395b14116ad406b81cba56e6cb3e74477ca57" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert quality[\"contact_thermodynamics_certified\"].values == (1.0,)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-c5ecffc744ec2f662da1da6b": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_contact_statistics.py", + "symbol": "test_discrete_donor_contact_state_resolves_temperature_freeze_out", + "lines": [ + 273, + 273 + ], + "text_sha256": "ef1d703e9705546c0fce2ade9ecdc64fccee36f2868d1db929651177a884bba6" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert cold.neutrality.dopant_ionization_model == DISCRETE_LEVEL", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-8f2691133115e08fe0a25043": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_contact_statistics.py", + "symbol": "test_discrete_donor_contact_state_resolves_temperature_freeze_out", + "lines": [ + 274, + 274 + ], + "text_sha256": "acc92907e1938782028016caaaa4a02fba95e7923623e7db41779d63163c3374" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert cold.neutrality.normalized_charge_residual < 2.0e-13", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-1433f1b037af04f4ae2204b2": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_contact_statistics.py", + "symbol": "test_discrete_donor_contact_state_resolves_temperature_freeze_out", + "lines": [ + 275, + 275 + ], + "text_sha256": "c7538ce1d394eb1dd3b67ce8f34014f38127fe6642d137657a00f5e37f70bb98" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert warm.neutrality.normalized_charge_residual < 2.0e-13", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-9c8bf50b7d5cafda9b8ed3dc": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_contact_statistics.py", + "symbol": "test_discrete_donor_contact_state_resolves_temperature_freeze_out", + "lines": [ + 276, + 281 + ], + "text_sha256": "3a45daa091beaedeec61b9891a6a43854442217117ec721e98a382ec8336afd0" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert (\n 0.0\n < cold.neutrality.donor_ionized_fraction\n < warm.neutrality.donor_ionized_fraction\n < 1.0\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-979acad5afadc6947b32be06": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_contact_statistics.py", + "symbol": "test_discrete_donor_contact_state_resolves_temperature_freeze_out", + "lines": [ + 282, + 282 + ], + "text_sha256": "0d89cae338dfa73771a2836f25d8a6e5ccf0f5e6da3b1196fe540cee2f600b79" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert cold.work_function_eV < warm.work_function_eV", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-c8ec47fd204b5342c21438d6": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_statistics.py", + "symbol": "test_discrete_donor_neutrality_closes_and_resolves_freeze_out", + "lines": [ + 265, + 265 + ], + "text_sha256": "f2b8d83f42f6243dd6ada26a46b07e5d822ccd31c49e6cb1d10c57201c7a83b5" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert cold.dopant_ionization_model == DISCRETE_LEVEL", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-192551a94d2f7b655558cce8": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_statistics.py", + "symbol": "test_discrete_donor_neutrality_closes_and_resolves_freeze_out", + "lines": [ + 266, + 266 + ], + "text_sha256": "aa196abff0d6068b443895bf02a734245098389fb06a5851c87d9222227f1f17" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert cold.normalized_charge_residual < 2.0e-13", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-75b3366d83815cb92438766a": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_statistics.py", + "symbol": "test_discrete_donor_neutrality_closes_and_resolves_freeze_out", + "lines": [ + 267, + 267 + ], + "text_sha256": "f4d012459b319ac21e78128021a2dc416e31ba722147164a7321474d7cfe7541" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert warm.normalized_charge_residual < 2.0e-13", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-0a1748d285589636349e1997": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_statistics.py", + "symbol": "test_discrete_donor_neutrality_closes_and_resolves_freeze_out", + "lines": [ + 268, + 268 + ], + "text_sha256": "42cd57f773a651a05f6b14f4dd0a54547909b4e30180d071b30f973f8d5e5d2c" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert 0.0 < cold.donor_ionized_fraction < warm.donor_ionized_fraction < 1.0", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-b046f61db7ac56f83087e144": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_statistics.py", + "symbol": "test_discrete_donor_neutrality_closes_and_resolves_freeze_out", + "lines": [ + 269, + 272 + ], + "text_sha256": "c58898aaa6904a946a649c8912932a7dece99be667fef411eb40523c4f8f7a5a" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert cold.electron_density_m3 == pytest.approx(\n cold.ionized_donor_density_m3,\n rel=2.0e-12,\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-e3c05e7f4be61695af7dbc25": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py", + "symbol": "test_incomplete_ionization_equilibrium_closes_across_temperature", + "lines": [ + 383, + 383 + ], + "text_sha256": "aa5ad4518d0553c06a495fe42b1f24ed9407a60b99df9531960358c5da3167d2" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert donor_fractions == sorted(donor_fractions)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-8f9894755833f9735a826fc1": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py", + "symbol": "test_incomplete_ionization_equilibrium_closes_across_temperature", + "lines": [ + 384, + 384 + ], + "text_sha256": "872b48f22775e85169d743f302f97025bfaa08a417e82fdee9311759e0ba7e20" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert acceptor_fractions == sorted(acceptor_fractions)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-e7ae45e7a188666504969b25": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py", + "symbol": "test_incomplete_ionization_equilibrium_closes_across_temperature", + "lines": [ + 386, + 386 + ], + "text_sha256": "13a518020e967fd417b6b1cf48a77b0be9fd0fd3bb952144c447cb11dfaf7feb" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.maximum_normalized_poisson_residual < 1.0e-8", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-c955f5647483dcdd9b789a65": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py", + "symbol": "test_incomplete_ionization_equilibrium_closes_across_temperature", + "lines": [ + 387, + 387 + ], + "text_sha256": "68b593e1b39f767e15a7c590c546c4814fc261ab0e40c5f25124aef5e5faa9dd" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.maximum_relative_face_current < 1.0e-12", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-b4c31d4c6a73b34bf3b5ba25": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py", + "symbol": "test_incomplete_ionization_equilibrium_closes_across_temperature", + "lines": [ + 388, + 388 + ], + "text_sha256": "35cb353dad3e46bd6aede4fe388d42fc716ab42cdf3c5c67c602b459f2d4ddf4" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.maximum_normalized_carrier_rate < 1.0e-12", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-25f3f8766cbff3f8b17d3833": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py", + "symbol": "test_incomplete_ionization_equilibrium_closes_across_temperature", + "lines": [ + 389, + 389 + ], + "text_sha256": "dce2f3ffb3f6ce713b1c60dc5489f0d3786703b2e2ca0e1a859d00a1832589c2" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.charge_balance_relative_error < 0.01", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-a66f5b1f9e7ecc2dd1aab99f": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py", + "symbol": "test_incomplete_ionization_equilibrium_closes_across_temperature", + "lines": [ + 390, + 390 + ], + "text_sha256": "e7d99953aa2bddd78e5f32c5b593e5d1d47c0af411a0650637a7d5b26def3175" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.all(result.ionized_donor_density_m3 >= 0.0)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-dd05aca5e019cd995cc688fb": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py", + "symbol": "test_incomplete_ionization_equilibrium_closes_across_temperature", + "lines": [ + 391, + 391 + ], + "text_sha256": "ee18915bf94de32c6eb078833e058a3c2127e72cfc8b262799653962d6477716" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.all(result.ionized_acceptor_density_m3 >= 0.0)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-c1c0ff8f9219225390084099": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py", + "symbol": "test_incomplete_ionization_poisson_derivative_matches_finite_difference", + "lines": [ + 361, + 366 + ], + "text_sha256": "3f8b5bd0aa862cf9bc719ec25afce020dd14d4a58d43abe5c57d22ffaca1b258" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_allclose(\n state.charge_derivative_potential_C_m3_V(material.V_T_device),\n finite_difference,\n rtol=2.0e-7,\n atol=5.0e-5,\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-3c1265f1970c9da592899d3b": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_incomplete_ionization_refinement.py", + "symbol": "test_registered_executor_real_temperature_cell_matches_contract", + "lines": [ + 77, + 77 + ], + "text_sha256": "ef02fc452ce04ff5830a4016b318364459edcbe72a8cbd815847d4536de1020b" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert set(observables) == {gate.metric for gate in lane.observables}", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-35279dd46316e5b6661b7675": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_incomplete_ionization_refinement.py", + "symbol": "test_registered_executor_real_temperature_cell_matches_contract", + "lines": [ + 78, + 78 + ], + "text_sha256": "edfdc872fc8ca86fd1a8cd138ae47898d23ee5650b8e5fb0a0049ee2e91c66aa" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert set(quality) == {gate.metric for gate in lane.quality_gates}", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-5ebc2b87bbc0453d28e20e2a": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_incomplete_ionization_refinement.py", + "symbol": "test_registered_executor_real_temperature_cell_matches_contract", + "lines": [ + 79, + 81 + ], + "text_sha256": "e4bcee08e22875152747aa9b9f22f28c6e25e3b44b4aa665ab49d18891068e3d" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert all(\n observables[gate.metric].units == gate.units for gate in lane.observables\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-e9528c6784d2756b91a7dd2a": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_incomplete_ionization_refinement.py", + "symbol": "test_registered_executor_real_temperature_cell_matches_contract", + "lines": [ + 82, + 82 + ], + "text_sha256": "7cefed9cf452f499e6fec8e9f6c83214a2cf2332a46617ee914af4dbe8cdea92" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert all(quality[gate.metric].units == gate.units for gate in lane.quality_gates)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-5cf518614fa27fbcf2e2741e": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_incomplete_ionization_refinement.py", + "symbol": "test_registered_executor_real_temperature_cell_matches_contract", + "lines": [ + 89, + 89 + ], + "text_sha256": "eb12ffa169bb724f13f496b785b23bf5b1aff14858436ac6c835e118689bf012" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert len(donor_curve) == 5", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-39af2fa2a7aaf7e86271063a": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_incomplete_ionization_refinement.py", + "symbol": "test_registered_executor_real_temperature_cell_matches_contract", + "lines": [ + 90, + 90 + ], + "text_sha256": "e94ea693f33baf487d4f887db99456ccbadcda212dbe35d46faed6b1720c9725" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert len(acceptor_curve) == 5", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-d25d385b8e658ae4403b5428": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_incomplete_ionization_refinement.py", + "symbol": "test_registered_executor_real_temperature_cell_matches_contract", + "lines": [ + 91, + 91 + ], + "text_sha256": "371e7bea0fd919e970b2f7a2471109b1a08a416107b57e4f74c4cdd8e81f9614" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert donor_curve == tuple(sorted(donor_curve))", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-4bbdd317aa291eb83a253a88": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_incomplete_ionization_refinement.py", + "symbol": "test_registered_executor_real_temperature_cell_matches_contract", + "lines": [ + 92, + 92 + ], + "text_sha256": "a47de0f57a7584eab6c6a254fb6860bc4ea9e14ff33f3340f11fa5fb1e8c559a" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert acceptor_curve == tuple(sorted(acceptor_curve))", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-44d1212d56747fbe1d8d913b": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_incomplete_ionization_refinement.py", + "symbol": "test_registered_executor_real_temperature_cell_matches_contract", + "lines": [ + 93, + 93 + ], + "text_sha256": "b0eaad894d16570fe42e3bf945b395b14116ad406b81cba56e6cb3e74477ca57" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert quality[\"contact_thermodynamics_certified\"].values == (1.0,)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-39f042990bc3ae3442ab871a": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_incomplete_ionization_refinement.py", + "symbol": "test_registered_executor_real_temperature_cell_matches_contract", + "lines": [ + 94, + 94 + ], + "text_sha256": "73cb83047fd7ed36f0243090fda8a5b80d51bcee6ae4cda54d4c326244a67a9b" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert quality[\"incomplete_ionization_topology_verified\"].values == (1.0,)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-708b54777a4f9a20125b654c": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_incomplete_ionization_refinement.py", + "symbol": "test_registered_executor_real_temperature_cell_matches_contract", + "lines": [ + 95, + 95 + ], + "text_sha256": "7018a1597f6b40e5f4a39b021cb1a3cd879843adc404f4fd97d2950794fade55" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert quality[\"minimum_freeze_out_fraction_change\"].values[0] > 0.5", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-2da2d988f3bc130c8e747296": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_incomplete_ionization_refinement.py", + "symbol": "test_registered_executor_real_temperature_cell_matches_contract", + "lines": [ + 98, + 98 + ], + "text_sha256": "8e650370e456a643189461c4a059a6cf24d49935db5873089226457d898f276c" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert metadata[\"protocol\"][\"schema_version\"] == metadata[\"protocol_schema\"]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-8b006f6d257987fe0c247d81": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/sweeps/test_interface_defect_sweep.py", + "symbol": "test_interface_defect_N_t_cm2_updates_charge_capacity_and_preserves_srv_ratio", + "lines": [ + 84, + 84 + ], + "text_sha256": "1be37608cc38358938e8740e092673d75a729491be895ffb0cdf3e786cfba1ed" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert swept.interface_defects[-1].N_t_cm2 == pytest.approx(target_density)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-fa9c18eb7c4fbca8e2591961": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/sweeps/test_interface_defect_sweep.py", + "symbol": "test_interface_defect_N_t_cm2_updates_charge_capacity_and_preserves_srv_ratio", + "lines": [ + 85, + 87 + ], + "text_sha256": "a617acdd2076c316d14aaac9887bc8d72c753381c2950fe9aa0a7aa1591a8c77" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert swept.interface_defects[-1].microscopic_document.total_density_m2 == (\n pytest.approx(target_density * 1.0e4)\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-ea6fb5e9d607a214dcacfac9": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/sweeps/test_interface_defect_sweep.py", + "symbol": "test_interface_defect_N_t_cm2_updates_charge_capacity_and_preserves_srv_ratio", + "lines": [ + 88, + 90 + ], + "text_sha256": "9df6947e17086d56c858bd325543d1e56d210887528315c16f1d0e2c1bcee5b5" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert swept.interface_defects[-1].microscopic_capture_velocities_m_s == (\n pytest.approx(swept.interfaces[-1])\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-a45320659b0547bb6684999d": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/sweeps/test_interface_defect_sweep.py", + "symbol": "test_interface_defect_N_t_cm2_updates_charge_capacity_and_preserves_srv_ratio", + "lines": [ + 91, + 91 + ], + "text_sha256": "a450ac9f98d616fc026e15a46fbfd92dd8c0237b6ae6d9907b3e40280d24019d" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert swept.interfaces[-1][0] == pytest.approx(base_pair[0] * 2.5)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-8dc686fecf591e30f2279d38": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/sweeps/test_interface_defect_sweep.py", + "symbol": "test_interface_defect_N_t_cm2_updates_charge_capacity_and_preserves_srv_ratio", + "lines": [ + 92, + 92 + ], + "text_sha256": "2b0f8a792510b0cf1cd641207898994bb8daf26cc3068b035c1c941625e07b5c" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert swept.interfaces[-1][1] == pytest.approx(base_pair[1] * 2.5)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-629603ba88dd7ac71b8bdd6a": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/sweeps/test_interface_defect_sweep.py", + "symbol": "test_interface_defect_N_t_cm2_updates_charge_capacity_and_preserves_srv_ratio", + "lines": [ + 93, + 95 + ], + "text_sha256": "6919e2211080d96c409a26d273df4ef22d180e768b8eb6e7624a0bf067afabed" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert swept.interfaces[-1][1] / swept.interfaces[-1][0] == pytest.approx(\n base_pair[1] / base_pair[0]\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-a235bacdf6e75879036a8b8b": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_interface_charge_stress.py", + "symbol": "test_interface_charge_stress_executor_smoke", + "lines": [ + 239, + 239 + ], + "text_sha256": "ef02fc452ce04ff5830a4016b318364459edcbe72a8cbd815847d4536de1020b" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert set(observables) == {gate.metric for gate in lane.observables}", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-a87304598143b6036b4c7a19": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_interface_charge_stress.py", + "symbol": "test_interface_charge_stress_executor_smoke", + "lines": [ + 240, + 240 + ], + "text_sha256": "edfdc872fc8ca86fd1a8cd138ae47898d23ee5650b8e5fb0a0049ee2e91c66aa" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert set(quality) == {gate.metric for gate in lane.quality_gates}", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-81538006d1a2be26688391fe": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_interface_charge_stress.py", + "symbol": "test_interface_charge_stress_executor_smoke", + "lines": [ + 241, + 241 + ], + "text_sha256": "b1376f297ad02304e25debb417593e1d225f9277d4e9f24957ee0d564d864125" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert observables[\"stress_current_density_A_m2\"].shape == (9, 2)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-6fc4f23a33adb88e7a81b9d4": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_interface_charge_stress.py", + "symbol": "test_interface_charge_stress_executor_smoke", + "lines": [ + 242, + 242 + ], + "text_sha256": "f8308b5d57bf210c1d15422e7453a82435ac24bfbaf6b3184f8384ed26ea932e" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert observables[\"stress_interface_occupancy\"].shape == (9, 2, 1)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-4eaa5229dc1e65da8646c639": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_interface_charge_stress.py", + "symbol": "test_interface_charge_stress_executor_smoke", + "lines": [ + 243, + 243 + ], + "text_sha256": "b46b23cfa59f461859beb65120a3c6f7f6884ed8683d8013470abd2001fcc94c" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert observables[\"stress_trace_potential_shift_V\"].shape == (9, 2, 1, 2)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-6d4ff702545d071bc75f6f4a": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_interface_charge_stress.py", + "symbol": "test_interface_charge_stress_executor_smoke", + "lines": [ + 244, + 250 + ], + "text_sha256": "c077ec2835534d072f5fcb8ceadf0ea789898d83fe098c78df78d8f7145aa44e" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert all(item.values == (1.0,) for name, item in quality.items() if name in {\n \"all_points_certified\",\n \"barrier_shift_charge_sign_consistent\",\n \"charge_law_consistent\",\n \"parameter_values_applied\",\n \"variant_stack_identities_unique\",\n })", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-fca004eb9ed0b8db7fdd7628": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_interface_charge_stress.py", + "symbol": "test_interface_charge_stress_executor_smoke", + "lines": [ + 251, + 251 + ], + "text_sha256": "0f8f63024069e395b8beaf0447154731fb226f442d2f43d46fb6a0b9c76302dc" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert quality[\"stress_point_count\"].values == (9.0,)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-9d08a90a71c3bf3924c69375": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_interface_charge_stress.py", + "symbol": "test_interface_charge_stress_executor_smoke", + "lines": [ + 252, + 252 + ], + "text_sha256": "0a4c3204f5954d364d6c8ee9c188caaeae63752153301d94367b60fd7462c0f0" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert calls == {\"references\": 9, \"targets\": 27}", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-3fd22be7441b177b9d9c12cb": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_interface_charge_stress.py", + "symbol": "test_interface_charge_stress_executor_smoke", + "lines": [ + 257, + 257 + ], + "text_sha256": "8d38eb171e4d74dd17d5f322c9aefacce2ad9b0b556f0fcd19394f729276c6e6" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert abs(charge[7, 0, 0] / charge[0, 0, 0]) == pytest.approx(1.0e-5)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-ea3267006797e4b088c7162e": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_interface_charge_stress.py", + "symbol": "test_interface_charge_stress_executor_smoke", + "lines": [ + 258, + 258 + ], + "text_sha256": "41af49c74750f30b972dd4b0b61f729d7964889f8493fd51caa7e642029a72e7" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert abs(charge[8, 0, 0] / charge[0, 0, 0]) == pytest.approx(1.0e-3)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-8d3c5c8be07b0f133b467adc": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_interface_charge_stress.py", + "symbol": "test_interface_charge_stress_executor_smoke", + "lines": [ + 260, + 260 + ], + "text_sha256": "a144662dcf6eff22542a5eaeb88bfd1d13caff7877942f7aac1d715e2d3ba2eb" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert content_sha256(metadata[\"protocol\"]) == metadata[\"protocol_hash\"]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-01feeaa69ec9d71619c2b1a2": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_interface_charge_stress.py", + "symbol": "test_interface_charge_stress_executor_smoke", + "lines": [ + 261, + 263 + ], + "text_sha256": "fda9479f56188f89395ae259b7ba234f6d0eb88ddf2f2083bb75934a0927a8be" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert metadata[\"protocol_schema\"] == (\n \"interface-charge-device-stress-protocol-v2\"\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-6fda4bc0ccfe4188e4839ec8": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py", + "symbol": "test_charged_protocol_resolver_builds_the_canonical_zero_scan_contract", + "lines": [ + 77, + 77 + ], + "text_sha256": "ac64644322191ff089ea33376b40bcc5d1ba8425905e92b26b1c42be7980e483" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert isinstance(protocol, charged_jv.InterfaceChargeJVProtocol)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-5c00ca47501090076575ab22": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py", + "symbol": "test_charged_protocol_resolver_builds_the_canonical_zero_scan_contract", + "lines": [ + 78, + 78 + ], + "text_sha256": "c646e666552e410fcce8385a20e6c1c4d46104b38c6435b7d967cf6a08077c2e" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert protocol.voltages_V == pytest.approx((0.0, 0.025, 0.05, 0.075, 0.1))", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-2c072ccce88b94f8f6834252": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py", + "symbol": "test_charged_protocol_resolver_builds_the_canonical_zero_scan_contract", + "lines": [ + 79, + 79 + ], + "text_sha256": "5c41ed55f84a2c055cbaeb611f8ec12975c7ce594f217f813e397d77f1f33e74" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert protocol.temperature_K == pytest.approx(stack.T)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-3cd746763d0d847b57ae65f8": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py", + "symbol": "test_charged_protocol_resolver_builds_the_canonical_zero_scan_contract", + "lines": [ + 80, + 80 + ], + "text_sha256": "46301f9cb04e8ada3a2e66e0cd132af221aece9f96905669ea9fa75e2c06458f" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert protocol.branch_semantics == \"ascending_zero_scan_rate\"", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-68b18d052030fde941a2baec": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py", + "symbol": "test_charged_protocol_resolver_builds_the_canonical_zero_scan_contract", + "lines": [ + 81, + 81 + ], + "text_sha256": "c7bbe0b75a4a70ca6ccd71bd85868e04614724f93ec5401ec44798849d977d09" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert protocol.interface_transport_model == \"fermi_dirac_richardson\"", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-9b85f5a82fd9c7728480f328": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py", + "symbol": "test_charged_protocol_resolver_builds_the_canonical_zero_scan_contract", + "lines": [ + 82, + 82 + ], + "text_sha256": "354f54d2a7a6b9d20c7be7eb1e861ae6a0406d5e23a379816ce18c18817a6848" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert len(protocol.protocol_sha256) == 64", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-f37c2bee414a9a0c662ce94c": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py", + "symbol": "test_real_async_charged_jv_worker_preserves_protocol_and_evidence", + "lines": [ + 425, + 425 + ], + "text_sha256": "eccfb3bc3141168f6de758c468719ad3f1dd7a5bc4956fca17ae8fceb3450ef4" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert response == {\"status\": \"ok\", \"job_id\": \"charged-jv-job\"}", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-21c26787c37e8ee12fad3fd5": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py", + "symbol": "test_real_async_charged_jv_worker_preserves_protocol_and_evidence", + "lines": [ + 426, + 426 + ], + "text_sha256": "ce95a231fcac9d4fff48922730edeeb68c67cf60be9de5d56b6843fa10f40d2a" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert registry.fn is not None", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-b7049242b1819e137535600e": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py", + "symbol": "test_real_async_charged_jv_worker_preserves_protocol_and_evidence", + "lines": [ + 429, + 429 + ], + "text_sha256": "cf67549a616d16b54606a099b26b77a3fa27fb10813e31c2a2fa899d9d7490a0" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert evidence[\"protocol\"][\"voltages_V\"] == [0.0, 0.1]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-a25c8d2dcac3154406154f61": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py", + "symbol": "test_real_async_charged_jv_worker_preserves_protocol_and_evidence", + "lines": [ + 430, + 430 + ], + "text_sha256": "b0166a4469331b212570fd9440a7cf843d61a3fdef13e86fa0e8042cf69fe3a9" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert evidence[\"protocol_sha256\"]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-bdbae6d7d9e75368d83c51b2": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py", + "symbol": "test_real_async_charged_jv_worker_preserves_protocol_and_evidence", + "lines": [ + 431, + 431 + ], + "text_sha256": "11784da3e9a9e1832eb229c13e01feef1289c5581d5f6831b5c7839fb5b7849d" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert evidence[\"continuation_bridge_count\"] >= 0", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-5d1309111030080124f7a9ea": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py", + "symbol": "test_real_async_charged_jv_worker_preserves_protocol_and_evidence", + "lines": [ + 432, + 434 + ], + "text_sha256": "2da8224224b2d7189055f9185d88b7854ec69129bbbf4bff32d0cccf06030eb2" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result[\"active_physics\"].endswith(\n \"equilibrium-referenced interface charge\"\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-1c8bc332d2895959e2c02e7b": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py", + "symbol": "test_real_sync_charged_jv_api_returns_certified_point_evidence", + "lines": [ + 400, + 400 + ], + "text_sha256": "6ee210b3e5517dfe8ce079edd9d5093a5022b1814f5f0e44fa630a50b45893d1" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert response.status_code == 200, response.text", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-24416bbc7653d5c93e60d1f9": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py", + "symbol": "test_real_sync_charged_jv_api_returns_certified_point_evidence", + "lines": [ + 403, + 403 + ], + "text_sha256": "ca7f7d05b8d5043e7158e065facc9134b28a05497033d37a4d18280af9823d91" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result[\"V_fwd\"] == result[\"V_rev\"]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-c6fd9b1334c8df12a88ecc44": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py", + "symbol": "test_real_sync_charged_jv_api_returns_certified_point_evidence", + "lines": [ + 404, + 404 + ], + "text_sha256": "dc1b8e732e0793ef19bf713206b16b306e68996b571994033f86581c69c56d43" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result[\"J_fwd\"] == result[\"J_rev\"]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-5dd097fb3477a721cc873edf": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py", + "symbol": "test_real_sync_charged_jv_api_returns_certified_point_evidence", + "lines": [ + 405, + 405 + ], + "text_sha256": "faf0706b66eb6dadfdb3486bef773d37672c75751e27dfa8262507ddf872887b" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result[\"hysteresis_index\"] == 0.0", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-f918be791ba5a6bf8569bad6": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py", + "symbol": "test_real_sync_charged_jv_api_returns_certified_point_evidence", + "lines": [ + 406, + 406 + ], + "text_sha256": "ab252e4aac81b2f205a4063921d726ca17df67296d3ab2f3deda4826510a6014" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result[\"metrics_fwd\"][\"voc_bracketed\"] is True", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-bcecc695de8b1c5180d023a1": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py", + "symbol": "test_real_sync_charged_jv_api_returns_certified_point_evidence", + "lines": [ + 407, + 407 + ], + "text_sha256": "1d3eca6e5df7d87abafcdb1e2a2a43350b07e763a96459b5778cbac608ee1938" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert evidence[\"model\"] == \"interface-charge-jv-evidence-v1\"", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-91c3c6506f96f67d1b8f8894": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py", + "symbol": "test_real_sync_charged_jv_api_returns_certified_point_evidence", + "lines": [ + 408, + 408 + ], + "text_sha256": "3edbe8214223a719ea51ad6123088f2c43e6eeaa0ce370657aa0888ebbbe2f48" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert evidence[\"dark_charge_off_bit_identity_verified\"] is True", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-2d171479aec19d7422a693b1": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py", + "symbol": "test_real_sync_charged_jv_api_returns_certified_point_evidence", + "lines": [ + 409, + 409 + ], + "text_sha256": "157d7c109f257ea962aefe4812cbd160ad379af91f8436173eebf3f59b130a5f" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert len(evidence[\"points\"]) == len(result[\"V_fwd\"])", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-d3ed217a192200ed0a859384": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py", + "symbol": "test_real_sync_charged_jv_api_returns_certified_point_evidence", + "lines": [ + 410, + 410 + ], + "text_sha256": "d0279f6ce8c2feb01f0b33d9aec7974b8517974ed4ec797e7c47578808754191" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert all(point[\"certified\"] for point in evidence[\"points\"])", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-425152808aa410b993c44b7d": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py", + "symbol": "test_protocol_round_trip_and_hash_bind_every_field", + "lines": [ + 211, + 211 + ], + "text_sha256": "054d54f28c9d4a45ce47da0593d02bb53f267f24b69e1bbd1f1b32302d685b15" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert restored == protocol", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-a87d62f7df2915b2298b8fc8": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py", + "symbol": "test_protocol_round_trip_and_hash_bind_every_field", + "lines": [ + 212, + 212 + ], + "text_sha256": "a7f061a453dfb541621f9f033aeeb4da5a5f1e2a0f468dc1bc4a2a2ac88d29d4" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert restored.protocol_sha256 == protocol.protocol_sha256", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-2c70ba960651cceb3be0a46d": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py", + "symbol": "test_protocol_round_trip_and_hash_bind_every_field", + "lines": [ + 213, + 213 + ], + "text_sha256": "93cc99a2e745b929f3170d04ed228b3d1ffa97071e3ee8dc97567357507d428a" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert \"rate_V_s\" not in protocol.canonical_json()", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-37e545c4125da59eb206f227": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py", + "symbol": "test_protocol_round_trip_and_hash_bind_every_field", + "lines": [ + 214, + 216 + ], + "text_sha256": "be14a844717952adb5466a3f087f38ae93a230a7fff98295a3149a327caedf20" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert replace(protocol, voltages_V=(0.0, 0.5, 1.0)).protocol_sha256 != (\n protocol.protocol_sha256\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-258b2c483aeadda0f9b35dd9": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py", + "symbol": "test_protocol_round_trip_and_hash_bind_every_field", + "lines": [ + 217, + 219 + ], + "text_sha256": "ba33f420737133d0c6677d9978ae94a3f24820e712d1c63370ebbd99e5ec7fba" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert replace(protocol, P_in_W_m2=900.0).protocol_sha256 != (\n protocol.protocol_sha256\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-e39c23ba4b63d0cab46b379b": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py", + "symbol": "test_real_small_grid_charged_jv_has_pointwise_evidence", + "lines": [ + 477, + 477 + ], + "text_sha256": "9dd8ae928591d56ff5e364d15364c66bf052b812eb5537bbc2ae9cc2aa67e739" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert execution.sweep.certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-26d78449a2ae12bb8cc81342": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py", + "symbol": "test_real_small_grid_charged_jv_has_pointwise_evidence", + "lines": [ + 478, + 478 + ], + "text_sha256": "082256e5c565628f64118eb6825067fc2c719844538bcc0dfd973b51fea78e35" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert execution.sweep.metrics.voc_bracketed", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-b43a01d029c4e6be6070bf6e": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py", + "symbol": "test_real_small_grid_charged_jv_has_pointwise_evidence", + "lines": [ + 479, + 479 + ], + "text_sha256": "bfc2d7b9749718786768f97af61656f809720462b2f1869e0d02ada5160b5fa2" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert len(execution.evidence.points) == len(execution.sweep.voltages_V)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-dc390075f1af30a7919a82f1": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py", + "symbol": "test_real_small_grid_charged_jv_has_pointwise_evidence", + "lines": [ + 480, + 482 + ], + "text_sha256": "6db9a1f1c9c97511ff3e276229e233adb478e62fbc9df4d5abc4b2888b2178c9" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert execution.evidence.maximum_normalized_gauss_residual <= (\n protocol.acceptance.max_normalized_gauss_residual\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-7ed89a9444c9cbea59da4a72": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_refinement_executors.py", + "symbol": "test_interface_charge_off_executor_smoke", + "lines": [ + 991, + 991 + ], + "text_sha256": "1a8f4d102ed1d3ab78f7d9897726fa8bf367bffa31b99f7d2a05b7b5e38d29be" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert _metric_dict(measurement)[\"voc_V\"].values == (0.5,)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-a861e192b9dc2c3b070b38f6": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_refinement_executors.py", + "symbol": "test_interface_charge_off_executor_smoke", + "lines": [ + 992, + 992 + ], + "text_sha256": "f8774216b4863ee6e6198a8039312081452863d55404e40e0e806b19e14f6e59" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert _metric_dict(measurement)[\"interface_flux_A_m2\"].shape == (3,)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-1e7fc5c8ae1f772ebaf13d99": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_refinement_executors.py", + "symbol": "test_interface_charge_off_executor_smoke", + "lines": [ + 993, + 995 + ], + "text_sha256": "6454e7be34e9ea9c62995dc3f9134e069163cdd5218c2830531299cb7094df67" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert _metric_dict(measurement, quality=True)[\n \"trap_electrostatic_charge_enabled\"\n ].values == (0.0,)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-806fc1e2013a30e81aec216b": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_refinement_executors.py", + "symbol": "test_interface_charge_off_executor_smoke", + "lines": [ + 996, + 998 + ], + "text_sha256": "a4ebd2be278e1e392309165fcf3f3f6bb767dfee412603d28a23a708b239117b" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert _metric_dict(measurement, quality=True)[\n \"max_interface_state_residual_A_m2\"\n ].values == (0.0,)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-cc36679ce663a45848856a00": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_refinement_executors.py", + "symbol": "test_interface_charge_off_executor_smoke", + "lines": [ + 1000, + 1006 + ], + "text_sha256": "e8157396c168ece1d397af988339875f485096a61e2d42c1103c5515ccfbd07d" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert protocol[\"interface\"] == {\n \"charge_closure\": \"off\",\n \"cross_transmission\": 1.0,\n \"rebaseline_acknowledged\": True,\n \"topology\": executors.TWO_SIDED_TRACE,\n \"transport_model\": executors.FERMI_DIRAC_RICHARDSON,\n }", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-09228f0532bfc444cfc87b75": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_refinement_executors.py", + "symbol": "test_interface_charge_off_executor_smoke", + "lines": [ + 1007, + 1007 + ], + "text_sha256": "5e1298190cb3c9a8c14e9f58d643a81cd1a2bf976de0fc5c6515048be0ae5f05" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert protocol[\"solver\"][\"base_newton_residual_tolerance\"] == pytest.approx(4.0e-7)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-57f5e4700dd6d5001cfaf6d2": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_refinement_executors.py", + "symbol": "test_interface_charge_off_executor_smoke", + "lines": [ + 986, + 986 + ], + "text_sha256": "c1e074fc2f81f0b4eb66f4c2819f9a09b76cf14517d183f84a20264b73d43e04" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " _assert_protocol(measurement)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-fa46c3f4d1ed2caff68147ed": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_refinement_executors.py", + "symbol": "test_interface_charge_off_executor_smoke", + "lines": [ + 987, + 990 + ], + "text_sha256": "8961ac291c6576c67cedec8fe956a99788e5e56ece04a2bfc8f1ac321f548c1c" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " _assert_registry_contract(\n measurement,\n \"interface-recombination-charge-off\",\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-ab7dd30f5533f58e3f08ea79": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_refinement_executors.py", + "symbol": "test_two_sided_interface_evidence_checks_carrier_and_state_balance", + "lines": [ + 1214, + 1214 + ], + "text_sha256": "99f10e667615e567f942cda221e1285fc99dc9830d7ee1969a388869aff8afb6" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert flux == pytest.approx([5.0 * executors.Q])", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-1b7d8227781dbabb5d201211": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_refinement_executors.py", + "symbol": "test_two_sided_interface_evidence_checks_carrier_and_state_balance", + "lines": [ + 1215, + 1215 + ], + "text_sha256": "2b5870dde7ff490acb6e992147d0e9a0206be7a3085436a679c17e7db1dda3d7" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert carrier_balance == pytest.approx(0.0)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-b5a429e57ead73d9dc750042": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_refinement_executors.py", + "symbol": "test_two_sided_interface_evidence_checks_carrier_and_state_balance", + "lines": [ + 1216, + 1216 + ], + "text_sha256": "ca16d12e88dd00bc2c21a15f793eb909f26ebb341f83dd4121239a81fb38d9bf" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert state_residual == pytest.approx(4.0 * executors.Q)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-b06d896b151ef9a940140ca6": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_refinement_executors.py", + "symbol": "test_two_sided_interface_evidence_checks_carrier_and_state_balance", + "lines": [ + 1217, + 1217 + ], + "text_sha256": "5c7a3966d2c3ce665ef80bce70b072a43038e9a98d561d6c911be62a866db3fd" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert occupancy == pytest.approx([0.25])", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-dae297094b1b96569e63a0bd": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py", + "symbol": "test_charged_outer_poisson_closes_and_reference_state_has_zero_charge", + "lines": [ + 903, + 903 + ], + "text_sha256": "2b202e4f47b2e1bef2487dc4f1e115a47835574bd89445d8ea560020fc649c5e" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert poisson_residual < 1.0e-8", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-f96ede74fafc065ef0a8446e": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py", + "symbol": "test_charged_outer_poisson_closes_and_reference_state_has_zero_charge", + "lines": [ + 904, + 904 + ], + "text_sha256": "c62d1bdb69604de47dd66a356413defab3bad8acfa67c0e3865f471741b63c70" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert abs(reference.incremental_sheet_charge_C_m2[0]) < 1.0e-18", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-07a8be0e445b2471d71a0427": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py", + "symbol": "test_charged_outer_poisson_closes_and_reference_state_has_zero_charge", + "lines": [ + 911, + 911 + ], + "text_sha256": "2b202e4f47b2e1bef2487dc4f1e115a47835574bd89445d8ea560020fc649c5e" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert poisson_residual < 1.0e-8", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-b875082e2552f8ef20926db5": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py", + "symbol": "test_charged_outer_poisson_closes_and_reference_state_has_zero_charge", + "lines": [ + 912, + 912 + ], + "text_sha256": "b72b8fd47329ca36c273d2c7ead2421e8ea44a649318cd26d3df1ea5bd871a41" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert abs(biased.incremental_sheet_charge_C_m2[0]) > 1.0e-12", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-d1f3eedf4662445df7de98cf": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py", + "symbol": "test_charged_outer_poisson_closes_and_reference_state_has_zero_charge", + "lines": [ + 913, + 913 + ], + "text_sha256": "af34e6b5307737bef8b806130370bf156b2ca3719947f13f8989aad5e21bfedf" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert abs(biased.incremental_sheet_charge_C_m2[0]) <= Q * 5.0e14", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-cd0bbc0d72995abf809870c8": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py", + "symbol": "test_charged_outer_poisson_closes_and_reference_state_has_zero_charge", + "lines": [ + 914, + 914 + ], + "text_sha256": "c6caf5f7c400dbe81c3fd546f66b9a16dd2f79c0edd2dc823adf074521519679" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.max(biased.normalized_gauss_residual) < 1.0e-7", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-81bb7d5b990dbac0bcc55e6f": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py", + "symbol": "test_research_api_binds_dark_reference_and_keeps_production_gate_parked", + "lines": [ + 1130, + 1130 + ], + "text_sha256": "174bd49eb4efa4c04ee4e6764d1f1cf1370478979d028a48b5529e7ea01ec8ba" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert reference.dark_state.certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-1c5bdfd3809940a34b1e48db": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py", + "symbol": "test_research_api_binds_dark_reference_and_keeps_production_gate_parked", + "lines": [ + 1131, + 1131 + ], + "text_sha256": "a466da4cab78a729a41ec9cd85149b9564a37d14e2225fdfc019e68a56e6e256" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert len(reference.grid_sha256) == 64", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-aefc83c0a7a124a08b354da4": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py", + "symbol": "test_research_api_binds_dark_reference_and_keeps_production_gate_parked", + "lines": [ + 1132, + 1132 + ], + "text_sha256": "96b8b285165033b4874185c0afde1ee99ad5ed529c197952f73ec4e16d6c740e" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert len(reference.stack_sha256) == 64", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-93a59f6c73a18611e176c674": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py", + "symbol": "test_research_api_binds_dark_reference_and_keeps_production_gate_parked", + "lines": [ + 1133, + 1133 + ], + "text_sha256": "95b74c474031015862406a94bc628ef9403d61767fc90af0e77fbdc42ac17d81" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert len(reference.dark_state_sha256) == 64", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-1f5ec1cf7095ff0e80fa3f89": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py", + "symbol": "test_research_api_binds_dark_reference_and_keeps_production_gate_parked", + "lines": [ + 1134, + 1136 + ], + "text_sha256": "fc515ca90920995390035134277930fd83707f4ad28e2d5674466427c0541455" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert reference.interface_defect_document_sha256 == (\n stack.interface_defects[0].microscopic_document.sha256,\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-1a400b20980e0e2da4cd87ce": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py", + "symbol": "test_research_api_binds_dark_reference_and_keeps_production_gate_parked", + "lines": [ + 1137, + 1137 + ], + "text_sha256": "a981ae853ce943b68f40110c535b3ad876432f3aff5d07e5fa29da9b86cbe641" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert reference.capture_velocities_m_s[0] == pytest.approx((0.03, 0.05))", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-bf59f2fea306ff0639c96d8d": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py", + "symbol": "test_research_api_binds_dark_reference_and_keeps_production_gate_parked", + "lines": [ + 1138, + 1138 + ], + "text_sha256": "ad1c90a785456b8d57f1e6dd8aaff5ff7b11fb39527f1888bc71dee0f1aed0e7" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert reference.trap_density_m2 == pytest.approx((5.0e14,))", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-b379a5df157288bf28b8268e": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py", + "symbol": "test_research_api_binds_dark_reference_and_keeps_production_gate_parked", + "lines": [ + 1141, + 1141 + ], + "text_sha256": "ce5c0ee5a134ad61da578866b822ef7d047cd30653dca7f023d75e4c0875b534" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert dark.interface_charge_closure == \"equilibrium_referenced\"", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-63744b9121213c5bc4d9efa8": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py", + "symbol": "test_research_api_binds_dark_reference_and_keeps_production_gate_parked", + "lines": [ + 1142, + 1142 + ], + "text_sha256": "fd4e8183ed283091b25c708aa3de09d5b624fe0261f387a5fdbb66009fb3012f" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert dark.interface_incremental_sheet_charge_C_m2 == (0.0,)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-42f4f2cc25db39295881626c": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py", + "symbol": "test_research_api_binds_dark_reference_and_keeps_production_gate_parked", + "lines": [ + 1143, + 1143 + ], + "text_sha256": "f03dc4e76dc24b3959ce2d01e186132d2d3026fd90450cde87750b36608e0590" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert dark.interface_occupancy == dark.interface_equilibrium_occupancy", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-fdfc53a580461da037cd1e47": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py", + "symbol": "test_research_api_binds_dark_reference_and_keeps_production_gate_parked", + "lines": [ + 1152, + 1152 + ], + "text_sha256": "10ad555bfe21fd7951e17144860eb432d6ec50e45a66c7bf13fdf8d1124ba36f" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert biased.certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-09fc7e13e100da105c97986f": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py", + "symbol": "test_research_api_binds_dark_reference_and_keeps_production_gate_parked", + "lines": [ + 1153, + 1153 + ], + "text_sha256": "2cf0e56b0b090769a31895178c3b1902d2312e3dde408f576cd96417dd5e776e" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert biased.interface_charge_closure == \"equilibrium_referenced\"", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-c8b5c38701b88f3a9e5ae1e5": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_refinement_executors.py", + "symbol": "test_equilibrium_referenced_interface_charge_executor_smoke", + "lines": [ + 1186, + 1186 + ], + "text_sha256": "be5a2857e476951fa50ca8f5de5726a0b5921b5b680cfa1f8e590ce42d68f14b" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert observables[\"interface_sheet_charge_C_m2\"].shape == (2,)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-8b8f052f5d4e0f6350d4ce19": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_refinement_executors.py", + "symbol": "test_equilibrium_referenced_interface_charge_executor_smoke", + "lines": [ + 1187, + 1187 + ], + "text_sha256": "be440c483a8db2fa1e4763d38e41efba2d47da8d85c48a986a3a62ea36bfe576" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert observables[\"interface_trace_potential_shift_V\"].shape == (4,)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-858be21356fe6438d465bf62": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_refinement_executors.py", + "symbol": "test_equilibrium_referenced_interface_charge_executor_smoke", + "lines": [ + 1188, + 1188 + ], + "text_sha256": "ec9d9a0ffea5df7c773fcb1ab3bac218be5522a46114c79d063cefe82436d5e2" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert quality[\"dark_charge_off_bit_identical\"].values == (1.0,)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-dddce4ed664dd011b9efdf7c": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_refinement_executors.py", + "symbol": "test_equilibrium_referenced_interface_charge_executor_smoke", + "lines": [ + 1189, + 1189 + ], + "text_sha256": "1e7df49552cd3259550367a2d3ca8e04aca11085bba75d4c7be2fd78f753f387" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert quality[\"charge_law_consistent\"].values == (1.0,)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-dfd3ac0860f85e31189020a4": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_refinement_executors.py", + "symbol": "test_equilibrium_referenced_interface_charge_executor_smoke", + "lines": [ + 1191, + 1191 + ], + "text_sha256": "3b8b14fc3f74f064fbb37e1e5a7290b73568c1573d5ba8f4338fb4ffb44e0ddd" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert metadata[\"dark_reference\"][\"dark_state_sha256\"] == \"3\" * 64", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-3514e2ff6e59ecafebb1ad63": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_refinement_executors.py", + "symbol": "test_equilibrium_referenced_interface_charge_executor_smoke", + "lines": [ + 1192, + 1194 + ], + "text_sha256": "9ed32f2a2514951932b7d3fb9c1ca18cda2f30112f83e37d7c1551a48117cf24" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert metadata[\"dark_reference\"][\"interface_defect_document_sha256\"] == [\n document.sha256\n ]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-449964d827fdbddae694c750": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_refinement_executors.py", + "symbol": "test_equilibrium_referenced_interface_charge_executor_smoke", + "lines": [ + 1195, + 1195 + ], + "text_sha256": "61bd63f7d15a17bac11068b6e90b888f51f747c39b094ee0ba8867bb56dc1d5f" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert quality[\"microscopic_defect_contract_verified\"].values == (1.0,)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-d24ce8a5cb1cea8522922ffb": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_refinement_executors.py", + "symbol": "test_equilibrium_referenced_interface_charge_executor_smoke", + "lines": [ + 1196, + 1199 + ], + "text_sha256": "4de244bb78ed5b97a8ecad58f1cf19bc78b6908f36723ad89ebbcaf2b12f9214" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert [item[\"target\"] for item in metadata[\"target_evidence\"]] == [\n \"dark_bias\",\n \"illuminated_operating_point\",\n ]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-6e6ae10bd14b0a8c686b7381": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_refinement_executors.py", + "symbol": "test_equilibrium_referenced_interface_charge_executor_smoke", + "lines": [ + 1200, + 1200 + ], + "text_sha256": "32cdfa983e099021262ca267188e810ccd621abc3756c161221f0a70b3102c1c" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert metadata[\"protocol\"][\"interface\"][\"charge_law\"] == \"-q*N_t*(f-f_eq)\"", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-1b0267c70d8d473e751be89b": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_refinement_executors.py", + "symbol": "test_equilibrium_referenced_interface_charge_executor_smoke", + "lines": [ + 1179, + 1179 + ], + "text_sha256": "c1e074fc2f81f0b4eb66f4c2819f9a09b76cf14517d183f84a20264b73d43e04" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " _assert_protocol(measurement)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-52337b0a775d83b49cc04cea": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_refinement_executors.py", + "symbol": "test_equilibrium_referenced_interface_charge_executor_smoke", + "lines": [ + 1180, + 1183 + ], + "text_sha256": "8402632f899b7ac3ca38d3604e9dfabbfe0ddceffe089f26d718c973bc2d1e17" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " _assert_registry_contract(\n measurement,\n \"interface-charge-equilibrium-referenced-v1\",\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-3d5a817cd92c120d9a47d03d": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_mesh_convergence.py", + "symbol": "test_ff_converges", + "lines": [ + 553, + 556 + ], + "text_sha256": "dd90de3c4134d52ddba52152a770eaabc40386b86efcadb69259875f4f541623" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert rel < TOL_FF_REL, (\n f\"FF finest-pair relative change {100*rel:.4f}% exceeds the 0.5% bar \"\n f\"propagated from the V_oc (0.42%) and J_sc (1%) bars.\\n {line}\"\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-f62cedb41ffefab4f30324e1": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_mesh_convergence.py", + "symbol": "test_generation_integral_converges", + "lines": [ + 610, + 613 + ], + "text_sha256": "3ffb16552693ef444c0fc150887296b197de1fd0b70803a42af576b46d1b64e5" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert errs[1] < errs[0] and errs[2] < errs[1], (\n f\"discrete generation integral does not converge to the closed-form \"\n f\"absorbed-photon budget.\\n {line}\"\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-4463e141ecc6c0b8f14fd012": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_mesh_convergence.py", + "symbol": "test_generation_integral_converges", + "lines": [ + 614, + 616 + ], + "text_sha256": "a2f2bbef0f3b8b6b145557fddbd8b755af0fbca211893e6cd64bfe7e7d30a5ca" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert errs[2] < TOL_J_REL * J_max, (\n f\"generation-integral error at the finest level exceeds 1%.\\n {line}\"\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-0d6b148aafa2f2d5cd49846d": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_mesh_convergence.py", + "symbol": "test_generation_integral_respects_photon_flux_ceiling", + "lines": [ + 645, + 658 + ], + "text_sha256": "010863da1d3dcd6e005f088b68591839e3bf13a4b784e24e416dd499da405427" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert not over, (\n \"discrete optical generation EXCEEDS the incident photon flux — the \"\n \"solver creates carriers that have no photons to come from:\\n\"\n + \"\\n\".join(lines)\n + \"\\n\\nThis is a conservation violation in the Beer-Lambert quadrature \"\n \"(perovskite_sim/physics/generation.py:24 point-sampling + \"\n \"perovskite_sim/solver/mol.py:1929 node-centred dx_cell weights), not \"\n \"a mesh-accuracy question. It is NOT confined to unrealistically \"\n \"coarse grids: measured +5.881% at N_grid=30, +1.111% at N_grid=60 \"\n \"(the resolution tests/regression/test_jv_regression.py runs at) and \"\n \"+0.064% at N_grid=100 (the run_jv_sweep default). Fix by integrating \"\n \"the absorbed fraction per cell, Phi*(exp(-tau_L)-exp(-tau_R)), \"\n \"instead of point-sampling G and multiplying by dx_cell.\"\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-b1619149af4acffa963f48ed": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_mesh_convergence.py", + "symbol": "test_guard_interface_cells_actually_refine", + "lines": [ + 375, + 379 + ], + "text_sha256": "afebd0cbc175927d8d8e98b001fefbd8e89d77305aaeb2fe8c366185ce808d6a" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert r1 > MIN_IFACE_REFINE and r2 > MIN_IFACE_REFINE, (\n \"interface cell did not refine faster than 2x per N_grid \"\n \"doubling — the premise of review item 7#6 is not met:\\n\"\n + \"\\n\".join(lines)\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-8c39f2f5704035a9c9f33753": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_mesh_convergence.py", + "symbol": "test_guard_interface_formulation_is_pinned", + "lines": [ + 339, + 339 + ], + "text_sha256": "e98bebbc0ccb1c6ae71348697e376fba4553ab7289a60c89a20ffcd1869f6340" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert mat.iface_plane_projection is False, N_grid", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-cbf1d6a49a369132b3690b1f": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_mesh_convergence.py", + "symbol": "test_guard_interface_formulation_is_pinned", + "lines": [ + 340, + 340 + ], + "text_sha256": "4ff05534780a80bccb7f4c4cd5335d7a72daba79f67a7cce2d008f79ac9f86eb" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert mat.iface_plane_closure is False, N_grid", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-cb1e75f9e9e72b05d8506235": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_mesh_convergence.py", + "symbol": "test_guard_interface_formulation_is_pinned", + "lines": [ + 341, + 341 + ], + "text_sha256": "f5528cc76c310f2efc7c2a6973fcc7572dc661ed2121e120604d0366a1c100d9" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert mat.iface_shared_occ is False, N_grid", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-56441c97fc172f6d20647a1c": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_mesh_convergence.py", + "symbol": "test_guard_interface_formulation_is_pinned", + "lines": [ + 342, + 342 + ], + "text_sha256": "8717fda2ddb827e1d97007bac0e1f1c075bf446f8e4b246c427e9a41c357ccb2" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert mat.iface_two_sided is False, N_grid", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-39a1af0ffe709ef0135114b2": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_mesh_convergence.py", + "symbol": "test_guard_interface_formulation_is_pinned", + "lines": [ + 343, + 343 + ], + "text_sha256": "34bc569ede7ea4f2be8abfed02328290d7f0ae76363ccaac21c97a267ef3acb6" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert mat.N_iface_state == 0, N_grid", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-60a887c473c18c5de1a00e39": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_mesh_convergence.py", + "symbol": "test_guard_interface_formulation_is_pinned", + "lines": [ + 345, + 345 + ], + "text_sha256": "bba2afacaee4afd360ef9b6d675981197897969a783a3d7531cba7783d22973d" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert tuple(mat.interface_eval_node_n) == tuple(mat.interface_nodes), N_grid", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-ae053ec4b8437a9f583de97e": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_mesh_convergence.py", + "symbol": "test_guard_interface_formulation_is_pinned", + "lines": [ + 346, + 346 + ], + "text_sha256": "084eaedbacf4113dbda152229620c8ccafb245cd699f68704b3459795f1fc838" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert tuple(mat.interface_eval_node_p) == tuple(mat.interface_nodes), N_grid", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-b9e394dae1d6e3a411c138ef": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_mesh_convergence.py", + "symbol": "test_guard_interface_formulation_is_pinned", + "lines": [ + 348, + 351 + ], + "text_sha256": "05481ac3f027613f33c356d3c71058441f265ed2aaf816fa8d8139887a223e24" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert len(mat.interface_faces) == 2, (\n f\"N_grid={N_grid}: expected the TE flux cap to be active at both \"\n f\"heterointerfaces, got interface_faces={mat.interface_faces}\"\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-e0b533abe15d73001abbce1a": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_mesh_convergence.py", + "symbol": "test_guard_no_flat_band_spike_at_any_mesh_level", + "lines": [ + 431, + 436 + ], + "text_sha256": "7dd4822fb69e9a770bfeffe45164155fd2166621c96c5db012d92ee9781039b1" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert spike < TOL_SPIKE_REL_JSC * J_sc, (\n f\"N_grid={N_grid}: forward sweep has a positive J jump of \"\n f\"{spike:.4f} A/m2 ({100*spike/J_sc:.2f}% of J_sc={J_sc:.2f}) at \"\n f\"V={res.V_fwd[int(np.argmax(d)) + 1]:.4f} V — non-physical \"\n \"dJ/dV > 0 near flat band; FF at this level is not trustworthy.\"\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-5c482f9ca5b1ce1cb0b4ff26": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_mesh_convergence.py", + "symbol": "test_guard_no_silent_dark_fallback", + "lines": [ + 393, + 397 + ], + "text_sha256": "7256424d755dd36f8a565aca508781b00ede8101f23073e9da15b9bebb3ce116" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert J0 > 0.5 * q_phi, (\n f\"N_grid={N_grid}: J(V=0) = {J0:.4f} A/m2 is below half the \"\n f\"incident photon current ({0.5*q_phi:.2f}) — solve_illuminated_ss \"\n \"probably fell back to dark equilibrium.\"\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-6a167faeb047611b7879241f": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_mesh_convergence.py", + "symbol": "test_guard_no_silent_dark_fallback", + "lines": [ + 398, + 398 + ], + "text_sha256": "ec0a14e2d5c96c1f8ea6e5651d366d535bd81dfa8353221d873f71b22f8e5319" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert J09 > 0.0, f\"N_grid={N_grid}: J(V={V_POWER}) = {J09:.4f} <= 0\"", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-cac348ecf82201221bb1a06a": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_mesh_convergence.py", + "symbol": "test_guard_voc_is_bracketed", + "lines": [ + 404, + 408 + ], + "text_sha256": "7414620cd54fc89d77424fb798971d95f179849d749edab739d8a9105f3bfa1a" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert res.metrics_fwd.voc_bracketed, (\n f\"N_grid={N_grid}: forward sweep never crossed J = 0 at \"\n f\"V_max={V_MAX} — V_oc/FF/PCE are sentinel zeros and every \"\n \"comparison below is meaningless.\"\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-34c4fb65361c9c28406ad2b0": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_mesh_convergence.py", + "symbol": "test_interface_recombination_current_converges", + "lines": [ + 500, + 504 + ], + "text_sha256": "8f82f36d0076945ff8c3cc96a38d16e8642ee502239e77a2848c8c7732273125" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert abs(d32) < TOL_JIFACE_REL_JSC * J_sc_fine, (\n f\"{label} finest-pair change {abs(d32):.5g} A/m2 = \"\n f\"{100*abs(d32)/J_sc_fine:.4f}% of J_sc exceeds the 0.1%-of-J_sc \"\n f\"bar.\\n {line}\"\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-bf59b731088524f16434fe4c": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_mesh_convergence.py", + "symbol": "test_interface_recombination_current_converges", + "lines": [ + 498, + 498 + ], + "text_sha256": "c4a9d995dba4fb0340a8ba18b43bffdc9ccf892c983a8d99f0b2bdab2860ea93" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " _assert_contracting(label, vals, \"A/m2\")", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-d7b862e76ec0ca42731566c2": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_mesh_convergence.py", + "symbol": "test_jsc_converges", + "lines": [ + 531, + 533 + ], + "text_sha256": "27b1ef2b96edebb25d7cc6252e63096c06e9f559ab9c956f47cf64a8fe6dc5a8" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert res < TOL_J_REL * abs(vals[-1]), (\n f\"residual discretisation error in J_sc exceeds 1%.\\n {line}\"\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-9e3bf19feb1541088207a6ee": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_mesh_convergence.py", + "symbol": "test_jsc_converges", + "lines": [ + 529, + 529 + ], + "text_sha256": "6cfb9ddbc317c05f5ab29e4f2600c059d7ca5f302e3b50459d7ae7ab9f70f3e3" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " _assert_contracting(\"J_sc\", vals, \"A/m2\")", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-70c73d7ab3bb4e88a6e59d4e": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_mesh_convergence.py", + "symbol": "test_power_quadrant_current_converges", + "lines": [ + 478, + 480 + ], + "text_sha256": "c3013a964fc2e63cd31bc62db76e3d1e37f08a1b04235d61dfba69940fdcab76" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert res < TOL_J_REL * abs(vals[-1]), (\n f\"residual discretisation error in J(V={V_POWER}) exceeds 1%.\\n {line}\"\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-e8a7a4b0b0e21052e6b3837c": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_mesh_convergence.py", + "symbol": "test_power_quadrant_current_converges", + "lines": [ + 476, + 476 + ], + "text_sha256": "b78650abfdb9b4dc144dfb35708167af19eb699d6c9591389494fb949ae91345" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " _assert_contracting(f\"J(V={V_POWER})\", vals, \"A/m2\")", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-a6a8ec1e1e0254694826910a": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_mesh_convergence.py", + "symbol": "test_short_circuit_current_converges", + "lines": [ + 461, + 464 + ], + "text_sha256": "8a217e91df5c7402ef8b4d8d154c2fba1587d6d381e41bb5779672643afc3d32" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert res < TOL_J_REL * abs(vals[-1]), (\n f\"residual discretisation error in J(V=0) exceeds the 1% bar this \"\n f\"repo states J_sc at.\\n {line}\"\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-8a07aba6bcfe423ecf18e047": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_mesh_convergence.py", + "symbol": "test_short_circuit_current_converges", + "lines": [ + 459, + 459 + ], + "text_sha256": "9f669c58cec6dbee0f87ba87fcc4614ffb5e229500e1819bcec07c25b5d6c27e" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " _assert_contracting(\"J(V=0)\", vals, \"A/m2\")", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-d3854df07b6410a19acd17c9": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/validation/test_paper_configurations.py", + "symbol": "test_ionmonger_ff_in_paper_range", + "lines": [ + 207, + 209 + ], + "text_sha256": "0f0611949e73ed6d10f9969533852b18a6add2eaffd9f3029f7e3cba4cc7f74a" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert 0.60 <= FF <= 0.85, (\n f\"IonMonger FF = {FF:.4f} outside [0.60, 0.85] — \" f\"paper reports ~0.70–0.80\"\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-1b23243608b1851851e26be0": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/validation/test_paper_configurations.py", + "symbol": "test_ionmonger_jsc_matches_paper", + "lines": [ + 192, + 195 + ], + "text_sha256": "c47ec84af882c02b463df611e2fcc80ecc6a9cbc04c0f56bac733ae1da4d345c" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert 200.0 <= J_sc <= 260.0, (\n f\"IonMonger J_sc = {J_sc:.1f} A/m² outside [200, 260] — \"\n f\"paper reports ~220 A/m²\"\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-828385d8515abce7ee451d7f": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/validation/test_paper_configurations.py", + "symbol": "test_ionmonger_jsc_near_beer_lambert_limit", + "lines": [ + 292, + 295 + ], + "text_sha256": "442172265e6aa6b8f9bc534040f94379b71afbeb760822961c85ec96ead72c5a" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert 0.85 <= eta_coll <= 1.02, (\n f\"Collection efficiency J_sc / J_sc_max = {eta_coll:.4f} — \"\n f\"expected ∈ [0.85, 1.02]. J_sc = {J_sc:.1f}, J_sc_max = {J_sc_max:.1f} A/m²\"\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-5d16f6f37bf792fac1c50beb": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/validation/test_paper_configurations.py", + "symbol": "test_ionmonger_legacy_full_voc_agree_within_tolerance", + "lines": [ + 267, + 270 + ], + "text_sha256": "365badf61e6e8ade128abb2d424e8d046bbec65ccf2212f3bba30fd296433a76" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert delta < 0.005, (\n f\"|V_oc_FULL − V_oc_LEGACY| = {delta * 1e3:.1f} mV ≥ 5 mV — \"\n f\"FULL = {V_oc_full:.4f} V, LEGACY = {V_oc_legacy:.4f} V.\"\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-5d6644bbc284d16812cf46a1": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/validation/test_paper_configurations.py", + "symbol": "test_ionmonger_paper_comparison_quantifies_known_voc_offset", + "lines": [ + 218, + 222 + ], + "text_sha256": "2e3fe6378efb98130b3cdcb987622584ba06a4c2c28dcb255e712237151b4be6" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert 0.08 <= delta_voc <= 0.18, (\n f\"IonMonger V_oc offset vs {IONMONGER_PAPER.source} is \"\n f\"{delta_voc:.4f} V outside [0.08, 0.18] — \"\n f\"ours = {V_oc:.4f} V, paper = {IONMONGER_PAPER.V_oc:.4f} V\"\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-03e2c7532eb199b301c79c0a": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/validation/test_paper_configurations.py", + "symbol": "test_ionmonger_tmm_bounded_shift_from_bl", + "lines": [ + 521, + 525 + ], + "text_sha256": "63fc9df1ebc037061a6c996507238c7c581864c5405655b1d883c620a0c6d56a" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert delta <= 0.30, (\n f\"|V_oc_tmm − V_oc_bl| = {delta:.4f} V > 0.30 — \"\n f\"BL V_oc = {V_oc_bl:.4f} V, TMM V_oc = {V_oc_tmm:.4f} V. \"\n \"Expected ~0.24 V shift from V_bi change + TMM optics.\"\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-82374a3d37f75b7140d01db4": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/validation/test_paper_configurations.py", + "symbol": "test_ionmonger_tmm_jsc_physically_bounded", + "lines": [ + 541, + 544 + ], + "text_sha256": "4ff9756d7fd31744e536c3c4bcb1c728d7f4131c450b7c70f976be128582fa6d" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert 0.5 <= ratio <= 2.0, (\n f\"J_sc_tmm / J_sc_bl = {ratio:.3f} outside [0.5, 2.0] — \"\n f\"BL = {J_sc_bl:.1f}, TMM = {J_sc_tmm:.1f} A/m²\"\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-5f8e40fe2c823acbd6a75a6a": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/validation/test_paper_configurations.py", + "symbol": "test_ionmonger_voc_in_band_offset_range", + "lines": [ + 177, + 180 + ], + "text_sha256": "97188922d6bbb6422ab84ebdb47daa84aed6ed533ba08b3a558cec1269c241dd" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert 1.10 <= V_oc <= 1.30, (\n f\"IonMonger V_oc = {V_oc:.4f} V outside [1.10, 1.30] — \"\n f\"band-offset model expects ~1.19 V (paper: ~1.07 V without offsets)\"\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-201b683331ae14fc4f96927c": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_p1_steady_state_mesh_convergence.py", + "symbol": "test_actual_interval_ladder_and_residual_certificates", + "lines": [ + 75, + 75 + ], + "text_sha256": "352b80725b2fb23e5e8232d6288c376e035d5b4e6845c81a45200a1107c641ea" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert tuple(row[0] for row in certified_ladder) == (12, 24, 48, 72, 96)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-3afbcf318f8bd0ce7f68a0d5": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_p1_steady_state_mesh_convergence.py", + "symbol": "test_actual_interval_ladder_and_residual_certificates", + "lines": [ + 77, + 77 + ], + "text_sha256": "ce5bae0fd13b1952ae6e225102ac6ccb00efc340f94d0a975b2e3778a5a867d9" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.converged, intervals", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-dbd43d19061711f06cd845f3": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_p1_steady_state_mesh_convergence.py", + "symbol": "test_actual_interval_ladder_and_residual_certificates", + "lines": [ + 78, + 78 + ], + "text_sha256": "c4f47854e45a540f64d56df709b7bb5139498f28b2a4925ec657fadd8c460413" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.residual <= MAX_RESIDUAL_PER_S, intervals", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-0001d10fc6e7a1c502f870e1": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_p1_steady_state_mesh_convergence.py", + "symbol": "test_actual_interval_ladder_and_residual_certificates", + "lines": [ + 79, + 81 + ], + "text_sha256": "a51255f8421e47a94b8704ddccb754c24b55fcd1cba09a3c01bbc923903957e4" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert (\n result.continuity_current_bound <= MAX_CONTINUITY_CURRENT_A_M2\n ), intervals", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-92d7d00a0a43b86f0a3dc1e9": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_p1_steady_state_mesh_convergence.py", + "symbol": "test_actual_interval_ladder_and_residual_certificates", + "lines": [ + 82, + 82 + ], + "text_sha256": "399c9a9b3e9a4308d82ac1912d24e6635939efd2f1aef9bfa1c32bc96f348544" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert spread <= MAX_CURRENT_SPREAD_A_M2, intervals", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-aaf9018c9a85e10141f85270": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_p1_steady_state_mesh_convergence.py", + "symbol": "test_certified_short_circuit_current_contracts", + "lines": [ + 91, + 91 + ], + "text_sha256": "5003a22b83ab7d846b1f232b82ecfe89381fbda5d0281115c84ca698dceb7c9f" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert series.contracts", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-dc84c8437171a496c5282894": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_p1_steady_state_mesh_convergence.py", + "symbol": "test_certified_short_circuit_current_contracts", + "lines": [ + 92, + 92 + ], + "text_sha256": "59bd88d1fc4ae490b3d8a62d173562fc3f37a9831d841e56c591915c252f64be" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert series.richardson_residual < 0.01 * abs(series.values[-1])", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-8c1de71f69a6218cfb000158": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_p1_steady_state_mesh_convergence.py", + "symbol": "test_observations_match_reproducibility_registry", + "lines": [ + 115, + 117 + ], + "text_sha256": "290f4afa5ea7bcfbb81a48c7cc49baf1c8a1bfae8bfa64b4094c6682f5f2bf25" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert [row[0] for row in certified_ladder] == [\n row[\"intervals\"] for row in expected_rows\n ]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-5ff4561b12a6923c57417ea4": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_p1_steady_state_mesh_convergence.py", + "symbol": "test_observations_match_reproducibility_registry", + "lines": [ + 150, + 152 + ], + "text_sha256": "ec7dbdeebe52cf8c6d60eff93831d1f4ec542212151f675de5d75125407f34fe" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert value == pytest.approx(\n fine_expected[metric], abs=float(fine_tolerance[metric])\n ), metric", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-2ebe08b846b75bb426ad0ab0": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_p1_steady_state_mesh_convergence.py", + "symbol": "test_observations_match_reproducibility_registry", + "lines": [ + 127, + 129 + ], + "text_sha256": "1686588e4def51486c532ea94f686771d10d0c2eb4c1dee3083578db75aeed84" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert value == pytest.approx(\n expected[metric], abs=float(tolerance[metric])\n ), (expected[\"intervals\"], metric)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-af31c1af971122dae3596704": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_p1_steady_state_mesh_convergence.py", + "symbol": "test_prolonged_fine_grid_current_changes_contract", + "lines": [ + 100, + 100 + ], + "text_sha256": "e01db7bf1955a5816c5d9db7eb2e8d11e8f2220d958243c7e2439c36c03bde60" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert fine_change < coarse_change", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-5bb18d8b36555d4049926638": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_p1_steady_state_mesh_convergence.py", + "symbol": "test_prolonged_fine_grid_current_changes_contract", + "lines": [ + 101, + 101 + ], + "text_sha256": "7a5bb32e85f6cd1d3f794b4e6093ca8dc498037b57db85c4a6474c8fe2aa37e3" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert fine_change < 0.01 * abs(values[-1])", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-68663e1efd864ce55aa43c2f": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_tandem_lin2019.py", + "symbol": "test_lin2019_absorber_thicknesses_follow_paper", + "lines": [ + 94, + 94 + ], + "text_sha256": "de7b56e0e6b1e5042297f7c07121ec6a3d08dde507858416eef63019afe747b1" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert top_abs.thickness == pytest.approx(300e-9)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-955b0b67dcd9ac809a0f8dce": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_tandem_lin2019.py", + "symbol": "test_lin2019_absorber_thicknesses_follow_paper", + "lines": [ + 95, + 95 + ], + "text_sha256": "fe79ed7feb9a6fe7cff27477230942b470c472b0c58082f65949d81bfd7a63ac" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert bot_abs.thickness == pytest.approx(800e-9)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-8902906c422ec281423634db": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_tandem_lin2019.py", + "symbol": "test_lin2019_cu_optics_cover_protocol_from_native_source", + "lines": [ + 137, + 137 + ], + "text_sha256": "4cae6aef483300061880b6c42f44a565e16f5cd7ce8f2b00dc5ac0a5f9b15608" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert wavelengths == pytest.approx(requested)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-cfcdc800d5ec7a6340a0850b": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_tandem_lin2019.py", + "symbol": "test_lin2019_cu_optics_cover_protocol_from_native_source", + "lines": [ + 138, + 138 + ], + "text_sha256": "5c11a884b9121b864ca32cb033f84717dfabdff98b1f569c6db3f82c7d9e3106" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.all(np.isfinite(n_cu))", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-753069b5ac469ffd9171865e": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_tandem_lin2019.py", + "symbol": "test_lin2019_cu_optics_cover_protocol_from_native_source", + "lines": [ + 139, + 139 + ], + "text_sha256": "6ccab05be9a109faae57db957565da3a138ab29edb13ec57eb3fc127f22329af" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.all(np.isfinite(k_cu))", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-b1a3bf7ff4b01355054114ca": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_tandem_lin2019.py", + "symbol": "test_lin2019_cu_optics_cover_protocol_from_native_source", + "lines": [ + 140, + 140 + ], + "text_sha256": "b20e7e99305661cb73a9fd2521af734b91e83a3834f6ef324d3180fcf24830cf" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.all(n_cu > 0.0)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-3045a6cbe737c87384231bf1": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_tandem_lin2019.py", + "symbol": "test_lin2019_cu_optics_cover_protocol_from_native_source", + "lines": [ + 141, + 141 + ], + "text_sha256": "2bc49f33834a0d12818fe4d1a15ed7d3b4b885ac4b480d06b25fd01cd50e4f42" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.all(k_cu > 0.0)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-41d2030269f5c09a5b563dee": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_tandem_lin2019.py", + "symbol": "test_lin2019_jsc_within_tolerance", + "lines": [ + 224, + 226 + ], + "text_sha256": "44508f3d8899f1f9782bba70fc0e8a3d200427480157b5a1dfc6828b3de6c347" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert abs(m.J_sc) == pytest.approx(target_jsc, rel=tol), (\n f\"|J_sc| {abs(m.J_sc):.2f} A/m² outside tolerance of {target_jsc:.2f}\"\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-d1eeb74e6257306808f24af6": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_tandem_lin2019.py", + "symbol": "test_lin2019_observations_match_reproducibility_registry", + "lines": [ + 284, + 284 + ], + "text_sha256": "138be2500831af49909015faf30343ef5d4bc61ef79db63c898689f8826fd49e" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert set(actual) == set(observed) == set(tolerance)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-3739d8f75e7d26b1e771658d": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_tandem_lin2019.py", + "symbol": "test_lin2019_observations_match_reproducibility_registry", + "lines": [ + 286, + 288 + ], + "text_sha256": "332dce5943b92469f80f7337176bb6c245d3f5795212ff66d179d0407f740ee2" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert actual[metric] == pytest.approx(\n expected, abs=float(tolerance[metric])\n ), metric", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-3b30345d0b4119ea4281361c": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_tandem_lin2019.py", + "symbol": "test_lin2019_pce_within_tolerance", + "lines": [ + 211, + 214 + ], + "text_sha256": "a789861448fb2ed3fefb974b415f4ff4150b1d41cddf2e2435c40bf2cc8e3922" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert m.PCE == pytest.approx(target_pce, rel=tol), (\n f\"PCE {m.PCE * 100:.2f}% outside ±{tol * 100:.0f}% of target \"\n f\"{target_pce * 100:.2f}%\"\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-fadf241c22642bdad7b2ced9": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_tandem_lin2019.py", + "symbol": "test_lin2019_source_stack_and_reported_thicknesses", + "lines": [ + 102, + 108 + ], + "text_sha256": "edea99e562fcb53851c3b2e5c6a74489a3264c1f7e5e510929631b2882453cee" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert [layer.name for layer in cfg.top_cell.layers] == [\n \"glass\",\n \"ITO\",\n \"PTAA\",\n \"FA_Cs_1p77\",\n \"C60\",\n ]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-f2f28a5c990ddeab1378d3b2": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_tandem_lin2019.py", + "symbol": "test_lin2019_source_stack_and_reported_thicknesses", + "lines": [ + 109, + 112 + ], + "text_sha256": "e5c1e213b74194cfa5901af256a86cbfe3b6461a3c993eb28d614ba4209f3a69" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert [layer.name for layer in cfg.junction_stack] == [\n \"ALD_SnO2\",\n \"Au_nanoparticles\",\n ]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-89ea1e2e1ca42af564d52e2f": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_tandem_lin2019.py", + "symbol": "test_lin2019_source_stack_and_reported_thicknesses", + "lines": [ + 113, + 118 + ], + "text_sha256": "0f6bb04c58ef5bc026086612971eb8d6169c982a8cf78843810bdbbc2d643249" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert [layer.name for layer in cfg.bottom_cell.layers] == [\n \"PEDOT_PSS\",\n \"SnPb_1p22\",\n \"C60\",\n \"BCP\",\n ]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-093e21b8783436fdb0c84235": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_tandem_lin2019.py", + "symbol": "test_lin2019_source_stack_and_reported_thicknesses", + "lines": [ + 119, + 119 + ], + "text_sha256": "9d7f0eb6b59f60b5efc234da02c763466ccdaf4ed784542d402c116ade93c518" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert cfg.back_reflector is not None", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-d6e90c27e853a6f7a2cb8904": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_tandem_lin2019.py", + "symbol": "test_lin2019_source_stack_and_reported_thicknesses", + "lines": [ + 120, + 120 + ], + "text_sha256": "673264ee40897973827fb9d1dd19b643c16fdd408a5dffdf89ac3ef4af8841b4" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert cfg.back_reflector.name == \"Cu_back_contact\"", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-5a127cf4b4fc944b3af5905c": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_tandem_lin2019.py", + "symbol": "test_lin2019_source_stack_and_reported_thicknesses", + "lines": [ + 125, + 125 + ], + "text_sha256": "06c91adbe98e5b35304947af8facaca4af6c303694fcd3b4413a5922ccd6f168" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert top_c60.thickness == pytest.approx(20e-9)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-0f7981cb2528a84edeacb98c": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_tandem_lin2019.py", + "symbol": "test_lin2019_source_stack_and_reported_thicknesses", + "lines": [ + 126, + 126 + ], + "text_sha256": "01233a6f9c6719764cebfc8095ae557bb40118762019fc2ac156d66aa2fa7c63" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert cfg.junction_stack[0].thickness == pytest.approx(20e-9)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-12ecc1f6f454a1580208d34c": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_tandem_lin2019.py", + "symbol": "test_lin2019_source_stack_and_reported_thicknesses", + "lines": [ + 127, + 127 + ], + "text_sha256": "1850957305c09256e5dee3892df6495948abed9a19f54632231e710281efe95a" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert cfg.junction_stack[1].thickness == pytest.approx(1e-9)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-207cc10794869d48641310d5": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_tandem_lin2019.py", + "symbol": "test_lin2019_source_stack_and_reported_thicknesses", + "lines": [ + 128, + 128 + ], + "text_sha256": "7cdca88459876cf54ef21c6fc5b1003a77f7d785326c4f7540b2662045e69952" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert bottom_c60.thickness == pytest.approx(20e-9)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-487f680b7b72673e2075c38b": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_tandem_lin2019.py", + "symbol": "test_lin2019_source_stack_and_reported_thicknesses", + "lines": [ + 129, + 129 + ], + "text_sha256": "a637ef7ad4cc75ddf264636bb81390f8b84d8dd95555b3d15b9fd89550adc6d5" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert bcp.thickness == pytest.approx(7e-9)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-522a8d3a7992faa32a9ca3d8": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_tandem_lin2019.py", + "symbol": "test_lin2019_source_stack_and_reported_thicknesses", + "lines": [ + 130, + 130 + ], + "text_sha256": "be897813df2b93b590bd0f4231fc67052f859b330cf466cb8e3e3f3cbcb1116a" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert cfg.back_reflector.thickness == pytest.approx(100e-9)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-0e961e81c7df397449177678": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_tandem_lin2019.py", + "symbol": "test_lin2019_subcell_currents_match_within_two_percent", + "lines": [ + 298, + 301 + ], + "text_sha256": "532492b2aa5a441abfd1d0b7a268256d5aba12c6f7499fac95f35bcf329d55c3" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert mismatch <= 0.02, (\n f\"sub-cell J_sc mismatch is {100.0 * mismatch:.2f}%: \"\n f\"top={top_jsc:.3f}, bottom={bot_jsc:.3f} A/m²\"\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-8a9eb9f1069482c1be00534a": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_tandem_lin2019.py", + "symbol": "test_lin2019_subcells_respect_their_photon_budgets", + "lines": [ + 257, + 261 + ], + "text_sha256": "e6c990a16474ee002befdc2ed71b85e46a21dfe50866c1a30b164b386c8788df" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert budget >= accepted_jsc_floor, (\n f\"{label} absorbed-photon budget {budget:.3f} A/m² cannot support \"\n f\"the lower edge {accepted_jsc_floor:.3f} A/m² of the declared \"\n f\"±{100.0 * tolerance:.0f}% paper window\"\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-fc090835ed6dd6e1cf469c8f": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_tandem_lin2019.py", + "symbol": "test_lin2019_subcells_respect_their_photon_budgets", + "lines": [ + 262, + 267 + ], + "text_sha256": "16bb8edab3d6d3686bfb6f2c86221e7f6402d8d6644e6566b5916ee28bddd161" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert j_sc <= budget, (\n f\"{label} sub-cell collected {j_sc:.3f} A/m² against an absorbed-\"\n f\"photon budget of {budget:.3f} A/m² ({100.0 * j_sc / budget:.1f} % \"\n \"of it). A sub-cell cannot collect more carriers than photons \"\n \"absorbed to make them.\"\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-9a6b373888d9592c0c555b5d": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_tandem_lin2019.py", + "symbol": "test_lin2019_voc_and_ff_within_tolerance", + "lines": [ + 187, + 190 + ], + "text_sha256": "1bc6bbe92a6fa916f8aa861944b0e20a68cfc932b46ac7392a2a1bea1686b4a7" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert m.V_oc == pytest.approx(float(cfg.benchmark[\"target_voc_v\"]), rel=tol), (\n f\"V_oc {m.V_oc:.3f} V outside tolerance of \"\n f\"{float(cfg.benchmark['target_voc_v']):.3f}\"\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-90de4ab6502d7d5e9d41b150": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_tandem_lin2019.py", + "symbol": "test_lin2019_voc_and_ff_within_tolerance", + "lines": [ + 191, + 193 + ], + "text_sha256": "db6654127ec8a8d8be93fab05d750dd7171c2e965f83cd3ad65b6de9c252b5b2" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert m.FF == pytest.approx(float(cfg.benchmark[\"target_ff\"]), rel=tol), (\n f\"FF {m.FF:.3f} outside tolerance of {float(cfg.benchmark['target_ff']):.3f}\"\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-d828cc4ef5681aa2ff849537": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/reproducibility/test_matrix.py", + "symbol": "test_matrix_covers_and_loads_every_shipped_config", + "lines": [ + 31, + 31 + ], + "text_sha256": "1ec87f6c70ae9e85028fbde6e1d97556d80e539c747938ab2faf38067768c304" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert report[\"configs\"] == 55", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-b57168752d5baee19b6c3dc5": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/reproducibility/test_matrix.py", + "symbol": "test_matrix_covers_and_loads_every_shipped_config", + "lines": [ + 32, + 32 + ], + "text_sha256": "b765f9c65c44a6ddf9e2185a6c5e3c6b3ae5f50b92ccf84c4830600213b997d9" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert report[\"resources\"] == 21", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-798f898fca41c0c146139dc9": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/reproducibility/test_matrix.py", + "symbol": "test_matrix_covers_and_loads_every_shipped_config", + "lines": [ + 33, + 37 + ], + "text_sha256": "1c5884c9e8b81cfaaf91848d9e29279d7599fb33f8950ffa4a7357fb9f5440f8" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert report[\"schemas\"] == {\n \"standard-device-v1\": 49,\n \"scaps-device-v1\": 5,\n \"tandem-v1\": 1,\n }", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-9d847f0db59da2eb7f2b612f": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_multivalent_explicit_defects_qf.py", + "symbol": "test_single_transition_v4_device_recovers_the_monovalent_qf_dc_route", + "lines": [ + 439, + 439 + ], + "text_sha256": "0bdb595e519563be7e9189641b6eff5bfc9db173274f648680ccd82dc6c5795c" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert multivalent.certified and monovalent.certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-dff30ffe3b03d55ef5843b67": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_multivalent_explicit_defects_qf.py", + "symbol": "test_single_transition_v4_device_recovers_the_monovalent_qf_dc_route", + "lines": [ + 440, + 443 + ], + "text_sha256": "e45f6be5eef3506879913794f8bc7eabb76a6260838dc16535d37a63b033c57b" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert multivalent.current_A_m2 == pytest.approx(\n monovalent.current_A_m2,\n rel=1.0e-10,\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-3e78b9b3d539026e4882c249": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_multivalent_explicit_defects_qf.py", + "symbol": "test_single_transition_v4_device_recovers_the_monovalent_qf_dc_route", + "lines": [ + 444, + 449 + ], + "text_sha256": "92257f68fc9780897fb20a6a8a274e9d7134f0fca8845f1899ca8d0f93fa6aa9" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_allclose(\n multivalent.y,\n monovalent.y,\n rtol=1.0e-10,\n atol=0.0,\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-6872d66e510a8fb199fb3bb3": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_multivalent_explicit_defects_qf.py", + "symbol": "test_single_transition_v4_device_recovers_the_monovalent_qf_dc_route", + "lines": [ + 450, + 455 + ], + "text_sha256": "8bd3003f87e2c03078291bda85e2f042ae38802f2e998abb093fc33bd7f31bde" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_allclose(\n multivalent.phi,\n monovalent.phi,\n rtol=0.0,\n atol=1.0e-13,\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-ee6ca82a50c03d2d0c3629a0": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/models/test_multivalent_defect_loader.py", + "symbol": "test_layer_parser_builds_the_canonical_v4_document", + "lines": [ + 102, + 102 + ], + "text_sha256": "39357a0c86b7ffe932e6dbe490b0179fb9e8abfc8b09103e58f7aa1cee50d1c5" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert params.defect_schema_version == MULTIVALENT_DEFECT_SCHEMA_VERSION", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-98558d7e8cb6dfc6b8530931": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/models/test_multivalent_defect_loader.py", + "symbol": "test_layer_parser_builds_the_canonical_v4_document", + "lines": [ + 103, + 103 + ], + "text_sha256": "e6aa34c1a66e98c1d51e48e4df8f89f3ac9d37260172895728b7e4c81d44b4d5" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert params.defect_model == EXPLICIT_QUASI_STEADY", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-9e5ebd1eed6af90a806bfb05": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/models/test_multivalent_defect_loader.py", + "symbol": "test_layer_parser_builds_the_canonical_v4_document", + "lines": [ + 104, + 104 + ], + "text_sha256": "0d226748572d4465035ac90d0a20ce5fa78454450a17454bfc886ffb226da066" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert len(params.bulk_defects) == 1", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-9d7fde465cedfb39c21947f2": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/models/test_multivalent_defect_loader.py", + "symbol": "test_layer_parser_builds_the_canonical_v4_document", + "lines": [ + 105, + 105 + ], + "text_sha256": "5c44f5bdb44234ed6d58154e71abd228ecefbaa6c638491812d1be4291da319c" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert isinstance(params.bulk_defects[0], MultivalentBulkDefectSpecies)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-32e37a0d75e13d6877928f6e": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/models/test_multivalent_defect_loader.py", + "symbol": "test_layer_parser_builds_the_canonical_v4_document", + "lines": [ + 107, + 107 + ], + "text_sha256": "d0f1baa64f8eef30b3432d8ace954ead3adda6c3ff04faa6a6412d920884f524" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert isinstance(document, MultivalentBulkDefectDocument)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-1e731c0ae01871d56a445b60": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/models/test_multivalent_defect_loader.py", + "symbol": "test_layer_parser_builds_the_canonical_v4_document", + "lines": [ + 108, + 117 + ], + "text_sha256": "b6c07f137a9555418e2abae8ed5a649ee95597b29627b378379fc52596e71cbb" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert (\n document.sha256\n == MultivalentBulkDefectDocument.from_dict(\n {\n \"schema_version\": MULTIVALENT_DEFECT_SCHEMA_VERSION,\n \"defect_model\": EXPLICIT_QUASI_STEADY,\n \"bulk_defects\": [_species_dict()],\n }\n ).sha256\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-50348fe1dc27fdad36a4fb1c": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/models/test_multivalent_defect_schema.py", + "symbol": "test_v4_document_roundtrip_hash_and_shared_density_are_stable", + "lines": [ + 240, + 240 + ], + "text_sha256": "988ce8444cb21ca610141ccf49bb763b65aa9283899eeddd2c5c1fa87f0b5743" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert restored == document", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-aa215901be27393983b6b6eb": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/models/test_multivalent_defect_schema.py", + "symbol": "test_v4_document_roundtrip_hash_and_shared_density_are_stable", + "lines": [ + 241, + 241 + ], + "text_sha256": "1cc53df7ae4fb1c59956f918c40cc356fa1614bfa3c0421a50c75b23081e83aa" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert restored.canonical_json() == document.canonical_json()", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-6cd4d1b49750ed698ffcae0b": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/models/test_multivalent_defect_schema.py", + "symbol": "test_v4_document_roundtrip_hash_and_shared_density_are_stable", + "lines": [ + 242, + 242 + ], + "text_sha256": "10feb6e2ff466dddeabc66c5675dc08c5fe18121eba5c55460aeba92d7c33041" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert restored.sha256 == document.sha256", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-4852edfc9a234d7a829bcf2e": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/models/test_multivalent_defect_schema.py", + "symbol": "test_v4_document_roundtrip_hash_and_shared_density_are_stable", + "lines": [ + 243, + 245 + ], + "text_sha256": "d4677d7ad842142e2d5ab64cf4f9e8781d92a1384b0b25978cffe0110f56ba92" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert document.sha256 == (\n \"3f29bf380c710b03834b9ef50ad4b95d403352e743345046f55922e6283f7e81\"\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-701d7e343cc0502eee00770c": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/models/test_multivalent_defect_schema.py", + "symbol": "test_v4_document_roundtrip_hash_and_shared_density_are_stable", + "lines": [ + 246, + 252 + ], + "text_sha256": "96aedb8b248e129dfd1e65f4f0b4bed6bbd678bc0ffbd6ba07070e25111d8058" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert (\n document.sha256\n != replace(\n document,\n bulk_defects=(replace(_species(), total_density_m3=2.0e21),),\n ).sha256\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-9bb57b375b4cc3a2aa206b35": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/models/test_multivalent_defect_schema.py", + "symbol": "test_v4_document_roundtrip_hash_and_shared_density_are_stable", + "lines": [ + 253, + 253 + ], + "text_sha256": "44429c7ee09ae13bdbb0c1b645a123449fa797edc024836d227011303b33ba01" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert document.to_dict()[\"bulk_defects\"][0][\"total_density_m3\"] == 1.0e21", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-20bc2f09acaa1f6eb64ca6d2": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_multivalent_defect_closure.py", + "symbol": "test_single_transition_unity_limit_recovers_d2_exact_local_closure", + "lines": [ + 208, + 210 + ], + "text_sha256": "be621edf000d1da7a91add67dd03f89259f9b17365ce4f36936149d43fd7256c" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_allclose(\n actual.state_probability[1], expected.occupancy[0], rtol=3.0e-12\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-7263ba03e889ddbec15bae44": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_multivalent_defect_closure.py", + "symbol": "test_single_transition_unity_limit_recovers_d2_exact_local_closure", + "lines": [ + 211, + 215 + ], + "text_sha256": "b2d45c59e168038f3dbff0be8f259b89fe1d301a0d36c652702700d72ce30fe4" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_allclose(\n actual.charge_density_C_m3,\n expected.charge_density_C_m3[0],\n rtol=3.0e-12,\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-f35213d4bbbc2b798769f702": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_multivalent_defect_closure.py", + "symbol": "test_single_transition_unity_limit_recovers_d2_exact_local_closure", + "lines": [ + 216, + 220 + ], + "text_sha256": "abccce4e3bf16bdd96df61db98f72e0a345bad8dd4957ca2d02041b5dad6b940" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_allclose(\n actual.total_recombination_rate_m3_s,\n expected.recombination_rate_m3_s[0],\n rtol=3.0e-12,\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-92652cd35c76c29cdd8e0c63": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_multivalent_defect_closure.py", + "symbol": "test_single_transition_unity_limit_recovers_d2_exact_local_closure", + "lines": [ + 221, + 225 + ], + "text_sha256": "696609e2039330941ed5a567d977c92402f4c459d1e20236f731bdbdc9bef780" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_allclose(\n actual.total_recombination_derivative_n_s1,\n expected.recombination_derivative_n_s1[0],\n rtol=3.0e-12,\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-d5278154c1f15ff1cec5b0a5": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_multivalent_defect_closure.py", + "symbol": "test_single_transition_unity_limit_recovers_d2_exact_local_closure", + "lines": [ + 226, + 230 + ], + "text_sha256": "54c4deabbc077cbf148e6184e739d378ef9af1dab9fbb1e03142cd235c2edb5e" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_allclose(\n actual.total_recombination_derivative_p_s1,\n expected.recombination_derivative_p_s1[0],\n rtol=3.0e-12,\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-43f092df6c82ad5054453f4f": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_multivalent_defect_closure.py", + "symbol": "test_single_transition_unity_limit_recovers_d2_exact_local_closure", + "lines": [ + 231, + 235 + ], + "text_sha256": "c21e98fb178689b5da7535e24137a52589deddba104d2e3f454fff348e5c1982" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_allclose(\n actual.charge_derivative_n_C,\n expected.charge_derivative_n_C[0],\n rtol=3.0e-12,\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-7f3f88f7d580aadb781a8a28": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_multivalent_defect_closure.py", + "symbol": "test_single_transition_unity_limit_recovers_d2_exact_local_closure", + "lines": [ + 236, + 240 + ], + "text_sha256": "54ed769c927ea050a056fd928cacc7a5212d6030e276019f1aa0bf516ec67fc9" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_allclose(\n actual.charge_derivative_p_C,\n expected.charge_derivative_p_C[0],\n rtol=3.0e-12,\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-749d733327299a1ff8b2de8f": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_multivalent_defect_device.py", + "symbol": "test_full_grid_evaluation_matches_the_region_source_closure", + "lines": [ + 218, + 218 + ], + "text_sha256": "63cc7b2469c0d909c0a2083ce2852dedc89168eb1e41ec86ece5c2e515a21fb5" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert evaluation.model_identity_sha256 == model.identity_sha256", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-8755a425118a03f8f60680f9": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_multivalent_defect_device.py", + "symbol": "test_full_grid_evaluation_matches_the_region_source_closure", + "lines": [ + 219, + 219 + ], + "text_sha256": "7db13474fdb13ff1a21fb82a5795a25d39fedf141df08ced529ec6302d7bdb17" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert evaluation.state_counts == (3, 3)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-e49b4adbbdcc5858fe8fa698": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_multivalent_defect_device.py", + "symbol": "test_full_grid_evaluation_matches_the_region_source_closure", + "lines": [ + 220, + 223 + ], + "text_sha256": "26040260b36031aa6772fc75a77f73ec447287987bee5b09795f6a7c57ed7116" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_array_equal(\n evaluation.total_charge_density_C_m3[mask],\n local.total_charge_density_C_m3,\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-725561561d13ad017a11e6f1": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_multivalent_defect_device.py", + "symbol": "test_full_grid_evaluation_matches_the_region_source_closure", + "lines": [ + 224, + 227 + ], + "text_sha256": "15a861541912735a3a858e005c5224c68b611b8b64ed2bf66d6aaa4375e30801" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_array_equal(\n evaluation.total_recombination_rate_m3_s[mask],\n local.total_recombination_rate_m3_s,\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-0a0d951fc3ba8cbfe7ca1fe2": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_multivalent_defect_device.py", + "symbol": "test_full_grid_evaluation_matches_the_region_source_closure", + "lines": [ + 228, + 231 + ], + "text_sha256": "19cac5bbe2992c705a2ca278ae8cec5f5b9b767676fc6b4bc55dd03b1c2febe2" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_array_equal(\n evaluation.total_charge_density_C_m3[~mask],\n np.zeros(int(np.sum(~mask))),\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-43988de71db0973e39811005": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_multivalent_defect_device.py", + "symbol": "test_full_grid_evaluation_matches_the_region_source_closure", + "lines": [ + 241, + 241 + ], + "text_sha256": "8ce37da24030b02a14db27c29d4a666ab185ff34260a920358b61ce96052fd52" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.all(np.isnan(probabilities[:, ~mask]))", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-94bfd1d899b105232ca6ac65": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_multivalent_defect_device.py", + "symbol": "test_full_grid_evaluation_matches_the_region_source_closure", + "lines": [ + 233, + 238 + ], + "text_sha256": "a7d0fb48eff93456b53b3454c2f3a2d21cab1a180ffb1234f4b2f33335652a10" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_allclose(\n np.sum(probabilities[:, mask], axis=0),\n 1.0,\n rtol=0.0,\n atol=1.0e-12,\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-5ed4c18c43afdba04781df68": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_multivalent_defect_device.py", + "symbol": "test_full_grid_evaluation_matches_the_region_source_closure", + "lines": [ + 242, + 242 + ], + "text_sha256": "5234c8164ef4b608a1ac1c4bdea097a1abf3a3bd68610279cdae34487c5ba330" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(ValueError, match=\"match the compiled grid\"):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-b5b818883064c7b9fadd18ff": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_multivalent_defect_device.py", + "symbol": "test_full_grid_evaluation_matches_the_region_source_closure", + "lines": [ + 244, + 244 + ], + "text_sha256": "2f4b925bbd22a95c78e6c4822c4ef46500dd83b33d1a684d2518056698f0c62e" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(ValueError, match=\"finite and positive\"):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-ff44ba98823313cfa2c82541": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_multivalent_defect_device.py", + "symbol": "test_full_grid_evaluation_matches_the_region_source_closure", + "lines": [ + 246, + 246 + ], + "text_sha256": "ae809ec8c7e1bac2b2ea9188b65699598cdcdd61031da0a016f6d4ed7a3ab119" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(TypeError, match=\"MultivalentBulkDefectModel\"):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-5f5582e60983bab7a71ef28a": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_multivalent_defect_refinement.py", + "symbol": "test_registered_executor_real_cell_matches_exact_contract", + "lines": [ + 234, + 234 + ], + "text_sha256": "ef02fc452ce04ff5830a4016b318364459edcbe72a8cbd815847d4536de1020b" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert set(observables) == {gate.metric for gate in lane.observables}", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-a3250cd3b5ca78782980c89b": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_multivalent_defect_refinement.py", + "symbol": "test_registered_executor_real_cell_matches_exact_contract", + "lines": [ + 235, + 235 + ], + "text_sha256": "42a936f0b59a29629de6c8006d389eaa0bddd6c93fa95369878439b5f12eb510" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert {gate.metric for gate in lane.quality_gates} == set(quality)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-836bedcd6fe346635b5ccda1": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_multivalent_defect_refinement.py", + "symbol": "test_registered_executor_real_cell_matches_exact_contract", + "lines": [ + 236, + 238 + ], + "text_sha256": "e4bcee08e22875152747aa9b9f22f28c6e25e3b44b4aa665ab49d18891068e3d" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert all(\n observables[gate.metric].units == gate.units for gate in lane.observables\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-ebf201000f598d10bb6424a9": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_multivalent_defect_refinement.py", + "symbol": "test_registered_executor_real_cell_matches_exact_contract", + "lines": [ + 239, + 239 + ], + "text_sha256": "7cefed9cf452f499e6fec8e9f6c83214a2cf2332a46617ee914af4dbe8cdea92" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert all(quality[gate.metric].units == gate.units for gate in lane.quality_gates)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-c781332bb5ca7a0172ddcef3": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_multivalent_defect_refinement.py", + "symbol": "test_registered_executor_real_cell_matches_exact_contract", + "lines": [ + 252, + 252 + ], + "text_sha256": "0621d5874e741f4088cbdc837351e7f27f9312614cbd1eee3897164199ad36ee" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert quality[\"scenario_count\"].values == (3.0,)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-e71f3ac7378f5b52cff340fe": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_multivalent_defect_refinement.py", + "symbol": "test_registered_executor_real_cell_matches_exact_contract", + "lines": [ + 253, + 253 + ], + "text_sha256": "7d632a393497f68d9c885771f4de9da12f246ef39cd6812901f440edeef7e590" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert quality[\"voltage_points_completed\"].values == (7.0,)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-2fba8a9606eb228b7a1eb140": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_multivalent_defect_refinement.py", + "symbol": "test_registered_executor_real_cell_matches_exact_contract", + "lines": [ + 256, + 256 + ], + "text_sha256": "ac74b68fbbe9ac4c17802fd7b4811c110899978b2a9c5f90ff994eef277adb52" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert quality[\"single_transition_d2_state_relative_error\"].values[0] <= 1.0e-8", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-f4f177b1e58cec5a114f7601": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_multivalent_defect_refinement.py", + "symbol": "test_registered_executor_real_cell_matches_exact_contract", + "lines": [ + 257, + 257 + ], + "text_sha256": "4321970be66129a1ec4c664ae1f90a9aea4eff21960cca5caa39068eecef8a28" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert quality[\"single_transition_d2_potential_error_V\"].values[0] <= 1.0e-9", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-19ac272ed99c91ab66116250": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_multivalent_defect_refinement.py", + "symbol": "test_registered_executor_real_cell_matches_exact_contract", + "lines": [ + 258, + 258 + ], + "text_sha256": "a73551f522ab36f2f49dcafbebb7ef291ad486e67bfe3fdad28ca42a5e87a298" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert quality[\"max_owned_probability_sum_error\"].values[0] <= 1.0e-12", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-7380daffd6b857767a8eb0c5": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_multivalent_defect_refinement.py", + "symbol": "test_registered_executor_real_cell_matches_exact_contract", + "lines": [ + 259, + 259 + ], + "text_sha256": "a22bcdd1334c5d0f2695c729932bb442f4ec732d8f33faa2b57049a6b5db2472" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert quality[\"min_transition_rate_s1\"].values[0] > 0.0", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-55e49fdbd829985d2d824c1b": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_multivalent_defect_refinement.py", + "symbol": "test_registered_executor_real_cell_matches_exact_contract", + "lines": [ + 262, + 262 + ], + "text_sha256": "8e650370e456a643189461c4a059a6cf24d49935db5873089226457d898f276c" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert metadata[\"protocol\"][\"schema_version\"] == metadata[\"protocol_schema\"]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-61ec908b2466bf13aabd52d3": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_multivalent_defect_refinement.py", + "symbol": "test_registered_executor_real_cell_matches_exact_contract", + "lines": [ + 263, + 263 + ], + "text_sha256": "a144662dcf6eff22542a5eaeb88bfd1d13caff7877942f7aac1d715e2d3ba2eb" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert content_sha256(metadata[\"protocol\"]) == metadata[\"protocol_hash\"]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-a186bca70355c52f649a7b81": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_tolerance_grid_refinement.py", + "symbol": "test_certificate_distinguishes_certified_partial_and_failed", + "lines": [ + 609, + 609 + ], + "text_sha256": "fcccfc03d12f217b85783d72ba9b0edf38a1178f33169a8ebcaa0190223fe906" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert certified.status == \"certified\"", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-33234450bf47b63cd2115536": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_tolerance_grid_refinement.py", + "symbol": "test_certificate_distinguishes_certified_partial_and_failed", + "lines": [ + 610, + 610 + ], + "text_sha256": "08088128eeaaa950771ac018b6afe8b37bbf0626d2077432991bf5f0685ad305" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert certified.unconverged_dimensions == ()", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-43159f3e99d0a0c5acdf52a7": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_tolerance_grid_refinement.py", + "symbol": "test_certificate_distinguishes_certified_partial_and_failed", + "lines": [ + 611, + 611 + ], + "text_sha256": "36bd26c764d17516f2d766b5b314bfd16cf30ae02070a78f4969960b2a1ff66e" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert len(certified.checks) == 6", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-1687e84c0ced1230f0556ad9": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_tolerance_grid_refinement.py", + "symbol": "test_certificate_distinguishes_certified_partial_and_failed", + "lines": [ + 612, + 612 + ], + "text_sha256": "8316cab0612e59a2653e0a55b8285425dfdfe4879298ef7e44c18dcbd374d70b" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert NumericalCertificate.from_dict(certified.to_dict()) == certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-1aa85575fccfe0f4edd08ff3": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_tolerance_grid_refinement.py", + "symbol": "test_certificate_distinguishes_certified_partial_and_failed", + "lines": [ + 616, + 616 + ], + "text_sha256": "92bfac1bc7a0ed19a3a88d2d1fb812643a38d532f3772ab0c1ff58e8e4870583" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert partial.status == \"partial\"", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-0cac924da331dbb3ae020118": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_tolerance_grid_refinement.py", + "symbol": "test_certificate_distinguishes_certified_partial_and_failed", + "lines": [ + 617, + 620 + ], + "text_sha256": "e18fc71f8aff754fabb6eb14286ec4c2f25ee5d2fa0d831de4c5d345f0eebe57" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert set(partial.unconverged_dimensions) == {\n \"grid:response\",\n \"tolerance:response\",\n }", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-ee1750efdfee356b0ba68494": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_tolerance_grid_refinement.py", + "symbol": "test_certificate_distinguishes_certified_partial_and_failed", + "lines": [ + 623, + 623 + ], + "text_sha256": "04b4b0770ca2970dc255af29bad09683da64a7c72566226ab5b05d9bf4197b1b" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert failed.status == \"failed\"", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-63c07c6cbbdae4e9b8c28102": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_tolerance_grid_refinement.py", + "symbol": "test_certificate_distinguishes_certified_partial_and_failed", + "lines": [ + 624, + 624 + ], + "text_sha256": "f7457ee39cb4dcc9479861dde70ecfa8f2ddbb6b80016a4f19e945c328e56efd" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert failed.missing_cells == (points[-1].key,)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-15f961290dc44d7c9c58b0a9": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_tolerance_grid_refinement.py", + "symbol": "test_certificate_distinguishes_certified_partial_and_failed", + "lines": [ + 625, + 625 + ], + "text_sha256": "ec9771de2dd1820f10baab28506624963733c035b3d5500a37799df601f91ed0" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert failed.unconverged_dimensions == (f\"matrix:{points[-1].key}\",)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-e61109e63f9853ffaa9a395d": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_tolerance_grid_refinement.py", + "symbol": "test_certificate_distinguishes_certified_partial_and_failed", + "lines": [ + 629, + 629 + ], + "text_sha256": "587563519d2ec3f4924afd1556e1897f3e812fc0411a177c8f1bf8f07972edbc" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert malformed.status == \"failed\"", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-f05b2f0685536f22a2e87075": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_tolerance_grid_refinement.py", + "symbol": "test_certificate_distinguishes_certified_partial_and_failed", + "lines": [ + 630, + 634 + ], + "text_sha256": "3bf3c6b594407ea6bdb65765dc88247ae7c2711a3898a2e568a829820d17c9b4" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert set(malformed.unconverged_dimensions) == {\n \"grid:response:shape\",\n \"observable:response:shape_across_matrix\",\n \"tolerance:response:shape\",\n }", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-27b62f2ff81c08583af7db1b": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_tolerance_grid_refinement.py", + "symbol": "test_failed_cell_can_be_retried_without_deleting_prior_artifact", + "lines": [ + 722, + 722 + ], + "text_sha256": "e1b79e606615a2e9b1b2908854a84a91d2dace17506d146606cacb033608d634" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert first.certificate.status == \"failed\"", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-799782d185ed0c93df962fc1": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_tolerance_grid_refinement.py", + "symbol": "test_failed_cell_can_be_retried_without_deleting_prior_artifact", + "lines": [ + 723, + 723 + ], + "text_sha256": "5843cf35d9dce6767f167389130c27ec94ed7e64ded9c81f12aec1e50149ae70" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert first.certificate.failed_cells == (lane.matrix_points[1].key,)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-60464fac027b1e06073b0386": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_tolerance_grid_refinement.py", + "symbol": "test_failed_cell_can_be_retried_without_deleting_prior_artifact", + "lines": [ + 724, + 724 + ], + "text_sha256": "712ae72f846842ba4da2bd45cff91e885e7ad1df07f3cfe7c00fea3a82012e47" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert len(tuple((first.run_directory / \"cells\").glob(\"*.json\"))) == 4", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-1e41abf35ba9e7eda5893011": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_tolerance_grid_refinement.py", + "symbol": "test_failed_cell_can_be_retried_without_deleting_prior_artifact", + "lines": [ + 735, + 735 + ], + "text_sha256": "d0cddd8449fcb47132e851054e5c28b70d3a3ce8b64022a81c001be6b8266ac5" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert retried.executed_cells == 1", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-cc3b549c3d871768602125b8": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_tolerance_grid_refinement.py", + "symbol": "test_failed_cell_can_be_retried_without_deleting_prior_artifact", + "lines": [ + 736, + 736 + ], + "text_sha256": "0e0163f4ed11e08662c280b68b34c6e3ea4b23af76bd9f5ddad3befd222a1ac9" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert retried.reused_cells == 3", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-59d3892c06bdebbaa20c2748": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_tolerance_grid_refinement.py", + "symbol": "test_failed_cell_can_be_retried_without_deleting_prior_artifact", + "lines": [ + 737, + 737 + ], + "text_sha256": "3d3ebda7170efda7fcaa31e23ff3e7880f5e2c913e3a4bebf6e2b8fbc5f85eb3" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert retried.certificate.status == \"certified\"", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-534dc950c54953fadc123fc5": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_tolerance_grid_refinement.py", + "symbol": "test_failed_cell_can_be_retried_without_deleting_prior_artifact", + "lines": [ + 738, + 738 + ], + "text_sha256": "c8c616b37538062fd4a53bd099bcf289f4cc4581e646d994737aa31021c37e12" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert len(tuple((retried.run_directory / \"cells\").glob(\"*.json\"))) == 5", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-76f4f2ea0c6a1024cc8975af": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_tolerance_grid_refinement.py", + "symbol": "test_plan_refinement_is_read_only", + "lines": [ + 828, + 828 + ], + "text_sha256": "75daa3c837c797d604c4e56cc9475f6015e718831c8d1a23c9f54265eba05e62" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert plan.to_dict()[\"matrix_cells\"] == 4", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-a4f82eb60a28bd9897cd6d87": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_tolerance_grid_refinement.py", + "symbol": "test_plan_refinement_is_read_only", + "lines": [ + 829, + 829 + ], + "text_sha256": "cf566dee387de5d8228927b38997f5f7a3484564847a29964d0c59644dca90a9" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert not destination.exists()", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-fecd37f6ec095705a4f396c6": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_tolerance_grid_refinement.py", + "symbol": "test_preregistered_numerical_lanes_and_thresholds_are_immutable", + "lines": [ + 102, + 102 + ], + "text_sha256": "b2a930b08ee00c55632ae581760c4c395ac389647232e6ee753028283708567f" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert registry.schema_version == REGISTRY_SCHEMA", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-2d2f81e0eb5ef8bc39dc7a2a": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_tolerance_grid_refinement.py", + "symbol": "test_preregistered_numerical_lanes_and_thresholds_are_immutable", + "lines": [ + 103, + 103 + ], + "text_sha256": "1b10f149c3f55712fe14e885c91b68a6b8de7c7b02ea0f533af5885483fb575d" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert registry.certificate_schema == CERTIFICATE_SCHEMA", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-7df9b5d4034014d025a4e5fc": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_tolerance_grid_refinement.py", + "symbol": "test_preregistered_numerical_lanes_and_thresholds_are_immutable", + "lines": [ + 104, + 152 + ], + "text_sha256": "eea6812729cf16323e773b2c2e8b891705572d61348e6ac811a5498bd5a012cf" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert {lane.lane_id for lane in registry.lanes} == {\n \"scaps-mirror-frozen-ion-ss\",\n \"ionmonger-mobile-ion-transient\",\n \"ionmonger-ion-aware-dc-v1\",\n \"ionmonger-ion-aware-dc-resolved-v2\",\n \"ionmonger-ion-aware-impedance-resolved-v1\",\n \"dynamic-defect-ion-impedance-production-v1\",\n \"dynamic-defect-ion-transient-timescale-v1\",\n \"dynamic-defect-ion-transient-timescale-resolved-v2\",\n \"dynamic-defect-ion-transient-timescale-nonlinear-resolved-v3\",\n \"dynamic-defect-ion-transient-timescale-absorber-resolved-v4\",\n \"dynamic-defect-ion-transient-timescale-reference-resolved-v5\",\n \"dynamic-defect-ion-transient-production-v1\",\n \"csi-qf-frequency-domain\",\n \"csi-qf-frequency-domain-resolved-v2\",\n \"twod-uniform-limit\",\n \"twod-mobile-ion-interface-srh-v1\",\n \"external-series-shunt-dc-v1\",\n \"external-series-shunt-dc-operating-quadrant-v2\",\n \"electrothermal-terminal-mpp-v1\",\n \"electrothermal-terminal-mpp-resolved-v2\",\n \"electrothermal-terminal-mpp-grid-resolved-v3\",\n \"interface-recombination-charge-off\",\n \"interface-charge-equilibrium-referenced-v1\",\n \"interface-charge-device-stress-v1\",\n \"interface-charge-device-stress-resolved-v2\",\n \"interface-charge-qf-dc-jv-v1\",\n \"no-ion-dae-transient-v1\",\n \"single-positive-ion-dae-transient-v1\",\n \"dual-mobile-ion-dae-transient-v1\",\n \"algebraic-interface-state-dae-transient-v1\",\n \"single-ion-algebraic-interface-dae-transient-v1\",\n \"single-ion-algebraic-interface-dae-transient-resolved-v2\",\n \"degenerate-pn-equilibrium-v1\",\n \"incomplete-ionization-temperature-equilibrium-v1\",\n \"incomplete-ionization-bgn-temperature-equilibrium-v1\",\n \"bulk-energy-distributed-trap-equilibrium-v1\",\n \"charged-explicit-defect-qf-dc-v1\",\n \"distributed-explicit-defect-qf-dc-v1\",\n \"spatially-graded-explicit-defect-qf-dc-v1\",\n \"spatially-graded-explicit-defect-qf-dc-v2\",\n \"multivalent-explicit-defect-qf-dc-v1\",\n \"cigs-graded-optics-v1\",\n \"interface-srh-identifiability-synthetic-v1\",\n \"wkb-tunnelling-channel-qf-dc-v1\",\n \"wkb-resolved-intraband-qf-dc-v2\",\n \"foundation-physical-homojunction-steady-v1\",\n \"foundation-physical-homojunction-resolved-v2\",\n }", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-709a70df76d242b65c7ce99b": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_tolerance_grid_refinement.py", + "symbol": "test_preregistered_numerical_lanes_and_thresholds_are_immutable", + "lines": [ + 153, + 161 + ], + "text_sha256": "6296f56c77a32ffbb7cac9d5479794f4e5468cfe86e24123013572066fc9aa08" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert all(\n len(lane.matrix_points) == 9\n for lane in registry.lanes\n if lane.lane_id\n not in {\n \"interface-charge-device-stress-v1\",\n \"interface-charge-device-stress-resolved-v2\",\n }\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-974c9a295cb37a0cb9cfb53c": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_tolerance_grid_refinement.py", + "symbol": "test_preregistered_numerical_lanes_and_thresholds_are_immutable", + "lines": [ + 162, + 162 + ], + "text_sha256": "9696957ed62ee898c6e5e8fdf84b1786f8b9946b3d674b5734838635f8c3be1a" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert all(lane.definition_sha256 for lane in registry.lanes)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-62266fcda2ab22e9332a9a79": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_tolerance_grid_refinement.py", + "symbol": "test_preregistered_numerical_lanes_and_thresholds_are_immutable", + "lines": [ + 163, + 163 + ], + "text_sha256": "5f7d83034319b3e3277534e6fdeb268d5ac032c5a056432989f54a05a0338bd1" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert all(lane.observables for lane in registry.lanes)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-6abdc55f6c1deed0cd9daf55": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_tolerance_grid_refinement.py", + "symbol": "test_preregistered_numerical_lanes_and_thresholds_are_immutable", + "lines": [ + 164, + 164 + ], + "text_sha256": "5ef89561e2227c38c5652b34f1e5ea45aa769b9f127a68c6543d706ce47e99ae" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert all(lane.quality_gates for lane in registry.lanes)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-8e94a9e3e2c519a44789395a": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_tolerance_grid_refinement.py", + "symbol": "test_preregistered_numerical_lanes_and_thresholds_are_immutable", + "lines": [ + 165, + 165 + ], + "text_sha256": "26e7b7bc226ec05684203733cc69a28c152efec1ea46ba4521a4fc5f1e9b8195" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert all(lane.executor is not None for lane in registry.lanes)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-a814ba708c3cce80c89e048b": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_tolerance_grid_refinement.py", + "symbol": "test_preregistered_numerical_lanes_and_thresholds_are_immutable", + "lines": [ + 166, + 166 + ], + "text_sha256": "323cd1d81253bd64bc15d28b91b65bf3af04a7a719447a6dcc2622a04b12ed37" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert all(lane.options[\"require_protocol\"] for lane in registry.lanes)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-f6b6c6cae3df3d0898c09ef6": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_tolerance_grid_refinement.py", + "symbol": "test_preregistered_numerical_lanes_and_thresholds_are_immutable", + "lines": [ + 167, + 167 + ], + "text_sha256": "79556b2d8ca2946768f66e90264ae336e9a7f872c217bbb971145993f3c97840" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert all(load_executor(lane.executor) for lane in registry.lanes)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-163e0ed0c29a17953e06c1b4": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_tolerance_grid_refinement.py", + "symbol": "test_preregistered_numerical_lanes_and_thresholds_are_immutable", + "lines": [ + 169, + 169 + ], + "text_sha256": "c153b3ebb6195e805232ad1fd4c5b9d07e0738049a2d1b00bdb551da4a9ec301" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert tunnelling.grid_values == (24, 48, 96)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-6fd36be2ffecf5178f3af59b": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_tolerance_grid_refinement.py", + "symbol": "test_preregistered_numerical_lanes_and_thresholds_are_immutable", + "lines": [ + 170, + 170 + ], + "text_sha256": "fa2ec8d2c1b9b2391d0931bf0ddaa79143b2c7fb5ecf098d24e77ee32b0e538f" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert tunnelling.tolerance_factors == (1.0, 0.1, 0.01)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-c407c2be3149637581b73559": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_tolerance_grid_refinement.py", + "symbol": "test_protocol_hash_is_manifested_and_inconsistency_fails_closed", + "lines": [ + 798, + 798 + ], + "text_sha256": "34ad8c03095457d5709dfc6038a7e49446edaf8b044b2c5b2c45f5ba6b4e49d8" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert outcome.certificate.status == \"failed\"", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-8748741092afbe661aa38483": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_tolerance_grid_refinement.py", + "symbol": "test_protocol_hash_is_manifested_and_inconsistency_fails_closed", + "lines": [ + 799, + 799 + ], + "text_sha256": "06d7dd3011a771985e5129c6470820c7a32dffd23b7f69408f8329e9b41c5cf1" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert outcome.certificate.protocol_sha256 is None", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-aa1545d91839611630cc67cd": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_tolerance_grid_refinement.py", + "symbol": "test_protocol_hash_is_manifested_and_inconsistency_fails_closed", + "lines": [ + 800, + 802 + ], + "text_sha256": "44ae048dcdab7557d39978e9e1e5bfe6936e73d65a090ba6141a0bd536266c16" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert \"protocol:inconsistent_across_matrix\" in (\n outcome.certificate.unconverged_dimensions\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-9eeb7ee249c5f59f20fa9394": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_tolerance_grid_refinement.py", + "symbol": "test_protocol_hash_is_manifested_and_inconsistency_fails_closed", + "lines": [ + 804, + 804 + ], + "text_sha256": "b3d4b7aafc2f8c7f7b77242f74ee07a0bfc3d94e4f7c0cfaefa2bd778389d593" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert len(manifest[\"protocols\"]) == 2", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-e4c2987d0e6fc71452f21e1c": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_tolerance_grid_refinement.py", + "symbol": "test_refinement_runner_rejects_historical_reference_output_root", + "lines": [ + 766, + 766 + ], + "text_sha256": "ebf961b5b4c341ba16cc7afda5f9a69e9c25c537a7a75d0a5211de7d48b25705" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert calls == 0", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-0486cbb4ef408b75e7d18011": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_tolerance_grid_refinement.py", + "symbol": "test_refinement_runner_rejects_historical_reference_output_root", + "lines": [ + 758, + 758 + ], + "text_sha256": "a2a274a40825808c1f78e7978dd2668df14ec5d691757e971c4c5bd9d9c68f25" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(RefinementRunnerError, match=\"historical reference\"):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-a263268c61ca06688b044338": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_tolerance_grid_refinement.py", + "symbol": "test_refinement_runner_resumes_content_addressed_cells_without_overwrite", + "lines": [ + 663, + 663 + ], + "text_sha256": "5625d0c355081a4fbef2230b2f006b81332e120a86f62e1aa5b5caf4e6e8060e" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert first.executed_cells == 2", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-e0e4564358fa2a4d77b3a332": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_tolerance_grid_refinement.py", + "symbol": "test_refinement_runner_resumes_content_addressed_cells_without_overwrite", + "lines": [ + 664, + 664 + ], + "text_sha256": "e1b79e606615a2e9b1b2908854a84a91d2dace17506d146606cacb033608d634" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert first.certificate.status == \"failed\"", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-c9a29cdde3d8fc6bf9d25fe3": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_tolerance_grid_refinement.py", + "symbol": "test_refinement_runner_resumes_content_addressed_cells_without_overwrite", + "lines": [ + 665, + 665 + ], + "text_sha256": "6f414268837af397c5856f632e2c8fbded8136713d0eb9b2ea8e0570395278cd" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert len(first.certificate.missing_cells) == 2", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-ff731aa4a46fc2dc16ed3fd2": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_tolerance_grid_refinement.py", + "symbol": "test_refinement_runner_resumes_content_addressed_cells_without_overwrite", + "lines": [ + 674, + 674 + ], + "text_sha256": "11ab94fbe83b478d8a9435458e79acea27db01f579adb032617dc592630a7690" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert resumed.run_directory == first.run_directory", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-c80231284af2b010d1c57a08": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_tolerance_grid_refinement.py", + "symbol": "test_refinement_runner_resumes_content_addressed_cells_without_overwrite", + "lines": [ + 675, + 675 + ], + "text_sha256": "6473c032ba0b3821e9c6a19365dcf450470a4c2a5f6659c46a06d4e0863d291e" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert resumed.executed_cells == 2", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-40ff03bd084afd98d966563e": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_tolerance_grid_refinement.py", + "symbol": "test_refinement_runner_resumes_content_addressed_cells_without_overwrite", + "lines": [ + 676, + 676 + ], + "text_sha256": "3af70293ad69a9c04bde7418710adf86ce508e57c676f6334e4720acbd871703" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert resumed.reused_cells == 2", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-6c5fb3f277c86e94de4e5a94": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_tolerance_grid_refinement.py", + "symbol": "test_refinement_runner_resumes_content_addressed_cells_without_overwrite", + "lines": [ + 677, + 677 + ], + "text_sha256": "c1dd472c655c9b40f6d876892047515518ee33405ef1aa1edc3f210484cf1667" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert resumed.certificate.status == \"certified\"", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-e2645e3068860c60f34f2569": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_tolerance_grid_refinement.py", + "symbol": "test_refinement_runner_resumes_content_addressed_cells_without_overwrite", + "lines": [ + 678, + 678 + ], + "text_sha256": "284c31bbf418dc6b5903b62db232e34c57f95be2010edd54c979d694fc3655e5" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert len(calls) == 4", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-558f7b9ba7ac4e352d8cae40": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_tolerance_grid_refinement.py", + "symbol": "test_refinement_runner_resumes_content_addressed_cells_without_overwrite", + "lines": [ + 679, + 679 + ], + "text_sha256": "5d6b5b39932ee2075a980aebe85406901951962d814f6a49429cea92bdb8dc31" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert len(tuple((resumed.run_directory / \"cells\").glob(\"*.json\"))) == 4", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-012877e59710e7a1d768d061": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_tolerance_grid_refinement.py", + "symbol": "test_refinement_runner_resumes_content_addressed_cells_without_overwrite", + "lines": [ + 688, + 688 + ], + "text_sha256": "c636a7af92dd78cddff96a6ffaadfbcb9edcbce4a3a46bb92967a04018ef83b7" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert repeated.executed_cells == 0", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-10574d4ca6720d7f4cd741c3": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_tolerance_grid_refinement.py", + "symbol": "test_refinement_runner_resumes_content_addressed_cells_without_overwrite", + "lines": [ + 689, + 689 + ], + "text_sha256": "7b1a7db0768304e892a4ebb121d2932eee04504e1d5dd1a42e01e4e6dada15fd" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert repeated.reused_cells == 4", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-f9e0322b487ed18c81ab30ce": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_tolerance_grid_refinement.py", + "symbol": "test_refinement_runner_resumes_content_addressed_cells_without_overwrite", + "lines": [ + 690, + 692 + ], + "text_sha256": "0081767bd8ceb004fde2223cc63be19c7b3e1564240989b2861b6a31d7671bc8" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert repeated.certificate.certificate_sha256 == (\n resumed.certificate.certificate_sha256\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-53924af4ac546af9ae3a8d6d": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_scaps_mirror_cbo_trend.py", + "symbol": "test_cbo_voc_drops_at_cliff", + "lines": [ + 38, + 41 + ], + "text_sha256": "e56c98aec5edb89e31ff0dbf0beef2179ba08ae70a52c18e9b32b42ae9b33d6a" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert voc_by_delta_ec[-0.5] < voc_by_delta_ec[0.0] - 0.10, (\n f\"V_oc(-0.5)={voc_by_delta_ec[-0.5]:.3f} V not >100 mV below \"\n f\"V_oc(0.0)={voc_by_delta_ec[0.0]:.3f} V\"\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-4cfb2360003cf93e856bc757": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_scaps_mirror_cbo_trend.py", + "symbol": "test_cbo_voc_holds_at_spike", + "lines": [ + 61, + 64 + ], + "text_sha256": "cfbad8ecc3c17cd32054dd8aded0541452e98ef093642c04a620e2493dcbe9e7" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert voc_by_delta_ec[0.3] >= voc_by_delta_ec[0.0] - 0.05, (\n f\"V_oc(+0.3)={voc_by_delta_ec[0.3]:.3f} V dropped >50 mV from \"\n f\"V_oc(0.0)={voc_by_delta_ec[0.0]:.3f} V\"\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-94ccecc3784e3c00fd7e5f56": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_scaps_mirror_cbo_trend.py", + "symbol": "test_cbo_voc_range_at_least_200mV", + "lines": [ + 48, + 48 + ], + "text_sha256": "c068bbb4633cf8b8ef8eab4dc119004390012f496e14bfc69d35355114429d38" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert rng >= 0.20, f\"V_oc range {rng*1000:.0f} mV below 200 mV threshold\"", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-3553b678ec50db25702397f8": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_steady_state.py", + "symbol": "test_low_doping_etl_metal_reservoir_brackets_physical_voc", + "lines": [ + 161, + 161 + ], + "text_sha256": "040dd1ae9c426513920f64be7d9771e4f5a4eb1975361623fc58811b551d717f" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.isfinite(voc)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-d62763ca3a9d59d447dc138c": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_steady_state.py", + "symbol": "test_low_doping_etl_metal_reservoir_brackets_physical_voc", + "lines": [ + 163, + 163 + ], + "text_sha256": "b5c2526a9a5886cadf5bfd42a54e37c41f7fdf10d6d53caebfe83d63a2f97a2f" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert ceiling is not None", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-2f04326121a19bb663651428": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_steady_state.py", + "symbol": "test_low_doping_etl_metal_reservoir_brackets_physical_voc", + "lines": [ + 164, + 164 + ], + "text_sha256": "d356b801f31a60de4cb5c431a9b3ed808409a01b30fa383e6a0a519f976c8bcb" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert 0.5 < voc < ceiling", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-02a2d8e22e148ceadce3708f": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_steady_state.py", + "symbol": "test_low_doping_etl_metal_reservoir_brackets_physical_voc", + "lines": [ + 165, + 165 + ], + "text_sha256": "a8787d6618b6943eb2715a857e6c18566c09ad8734e68a6108d5533b29eee53e" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert voc == pytest.approx(1.100196, abs=0.060)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-1c665ebd6f66b247f004eff3": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_steady_state.py", + "symbol": "test_low_doping_etl_without_metal_reservoir_is_explicit_no_crossing", + "lines": [ + 172, + 172 + ], + "text_sha256": "e01de924e649e3c3d1e858b583f7fc3fed463e5d5f6aabce3339f0c63361cf6b" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(SteadyStateError, match=\"does not cross zero\"):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-7fba07a6a5e9765156181597": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_spatially_graded_explicit_defects_qf.py", + "symbol": "test_spatially_graded_dark_qf_state_and_small_jv_are_certified", + "lines": [ + 247, + 247 + ], + "text_sha256": "7226f91148166cb2a9d22804c9b7d8180ea4a58aacefd297cbe1aa5869a70a32" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert dark.certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-e100a8c2da42629645d4d79b": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_spatially_graded_explicit_defects_qf.py", + "symbol": "test_spatially_graded_dark_qf_state_and_small_jv_are_certified", + "lines": [ + 248, + 248 + ], + "text_sha256": "7fce8b20568768a48075d1a1a15a3761e7a22973010546e7038de3116300daa7" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert dark.bulk_defect_diagnostics is not None", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-f3ebc00061806eabf4ae0b9b": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_spatially_graded_explicit_defects_qf.py", + "symbol": "test_spatially_graded_dark_qf_state_and_small_jv_are_certified", + "lines": [ + 249, + 249 + ], + "text_sha256": "22604070000f17bc1a5c8af4cb1a95492b4df2de81a19f5765f95c01db04a9b7" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert dark.bulk_defect_diagnostics.spatial_profile_sha256s[0] is not None", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-07c6a17310cfa55b5143e851": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_spatially_graded_explicit_defects_qf.py", + "symbol": "test_spatially_graded_dark_qf_state_and_small_jv_are_certified", + "lines": [ + 250, + 250 + ], + "text_sha256": "2c6cb767325d7324497140ff905aeb6ca1ef2c81843c89556ffa25fcca17c2ec" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert dark.contact_thermodynamic_status == \"certified\"", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-45ae930669dc92a0e8670052": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_spatially_graded_explicit_defects_qf.py", + "symbol": "test_spatially_graded_dark_qf_state_and_small_jv_are_certified", + "lines": [ + 261, + 261 + ], + "text_sha256": "aac9be6b68c7fabb23ab79d7d2c49cc157fa79786ee168142b9676cecfd24a32" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert sweep.certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-0c411c46f1208d660ff52ba6": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_spatially_graded_explicit_defects_qf.py", + "symbol": "test_spatially_graded_dark_qf_state_and_small_jv_are_certified", + "lines": [ + 262, + 262 + ], + "text_sha256": "d94eba8876c2017d3e051a0e9b3afe2c3506d559547fe9bd2cd617ca87158abb" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert sweep.defect_energy_quadrature_order == 12", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-1df4324651302876c968dc18": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_spatially_graded_explicit_defects_qf.py", + "symbol": "test_spatially_graded_dark_qf_state_and_small_jv_are_certified", + "lines": [ + 263, + 265 + ], + "text_sha256": "74fc2258b9526d60a7a73abf399e91d8d142363e0ac667c95797e4d13a951186" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert sweep.defect_spatial_profile_sha256s == (\n stack.layers[0].params.bulk_defects[0].spatial_profile.sha256,\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-909e6a59e63ff1f71b598eff": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_spatially_graded_explicit_defects_qf.py", + "symbol": "test_spatially_graded_dark_qf_state_and_small_jv_are_certified", + "lines": [ + 266, + 266 + ], + "text_sha256": "8d509cb97ab9343caabc418187c33e729d7d33f1bbc715582cae7418fb85332d" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert sweep.defect_density_multiplier_bounds == ((0.5, 1.5),)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-a3bd894687788b4ccb96766b": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_spatially_graded_explicit_defects_qf.py", + "symbol": "test_spatially_graded_dark_qf_state_and_small_jv_are_certified", + "lines": [ + 267, + 271 + ], + "text_sha256": "484f3af8faa886b4bee0527942a4f1d0eda7d7c53107f9a899a07edefa4f34fb" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert all(\n point.bulk_defect_diagnostics is not None\n and point.bulk_defect_diagnostics.spatial_profile_sha256s[0] is not None\n for point in sweep.points\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-807117fa0ce918da7306c8e1": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_distributed_defect_closure.py", + "symbol": "test_nearly_saturated_tail_mean_stays_bounded_without_clipping", + "lines": [ + 240, + 240 + ], + "text_sha256": "14bd05b0a0102b2816e6368fb2138ba0e3de5a241b9639850dd0e2affb7296fd" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.all(source.node_closure.occupancy <= 1.0)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-fd209b45d27133da7a8728be": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_distributed_defect_closure.py", + "symbol": "test_nearly_saturated_tail_mean_stays_bounded_without_clipping", + "lines": [ + 241, + 241 + ], + "text_sha256": "76fe456adecd259523bf2c51faee20523f18f9416cb45d0407890fa2383dcd75" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.all(source.mean_occupancy <= 1.0)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-2ff1dcf39fb3647537cd4ef3": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_distributed_defect_closure.py", + "symbol": "test_nearly_saturated_tail_mean_stays_bounded_without_clipping", + "lines": [ + 242, + 249 + ], + "text_sha256": "4ab0d53a4e3b3b61c22296532df96fb99613d6c6aee0dab2a4dc7fcd043113c5" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_array_equal(\n source.mean_occupancy,\n density_weighted_mean_occupancy(\n source.node_closure.occupancy,\n source.quadrature.density_weights_m3,\n TOTAL_DENSITY_M3,\n ),\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-b94b29fa345ba2fae48bf631": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_spatial_defect_refinement.py", + "symbol": "test_registered_executor_real_cell_matches_exact_contract", + "lines": [ + 198, + 198 + ], + "text_sha256": "ef02fc452ce04ff5830a4016b318364459edcbe72a8cbd815847d4536de1020b" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert set(observables) == {gate.metric for gate in lane.observables}", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-d1450efcf4029dd7739badfe": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_spatial_defect_refinement.py", + "symbol": "test_registered_executor_real_cell_matches_exact_contract", + "lines": [ + 199, + 199 + ], + "text_sha256": "edfdc872fc8ca86fd1a8cd138ae47898d23ee5650b8e5fb0a0049ee2e91c66aa" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert set(quality) == {gate.metric for gate in lane.quality_gates}", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-23928f3c69b5e3abcaf8a1cc": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_spatial_defect_refinement.py", + "symbol": "test_registered_executor_real_cell_matches_exact_contract", + "lines": [ + 200, + 202 + ], + "text_sha256": "e4bcee08e22875152747aa9b9f22f28c6e25e3b44b4aa665ab49d18891068e3d" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert all(\n observables[gate.metric].units == gate.units for gate in lane.observables\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-6eef31faff8794941e6bd03e": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_spatial_defect_refinement.py", + "symbol": "test_registered_executor_real_cell_matches_exact_contract", + "lines": [ + 203, + 205 + ], + "text_sha256": "c4a6de085f7c1fde5cd925f05203236272b28fbb91d4d78cea36b2daff125b6f" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert all(\n quality[gate.metric].units == gate.units for gate in lane.quality_gates\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-158106a4b6197d43fbb824f2": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_spatial_defect_refinement.py", + "symbol": "test_registered_executor_real_cell_matches_exact_contract", + "lines": [ + 206, + 209 + ], + "text_sha256": "8c691a7c91dedcac45d1762f28a2039f695d25694d755ae564c902c29bbe9cca" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert all(\n gate.passes(quality[gate.metric].values[0])\n for gate in lane.quality_gates\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-d9cb02001b0eb1658bcb8794": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_spatial_defect_refinement.py", + "symbol": "test_registered_executor_real_cell_matches_exact_contract", + "lines": [ + 223, + 223 + ], + "text_sha256": "221d73c0b00becdef59c53ae5fbc86c33c9a34fac86b8e798f3f0979f2a394d3" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert quality[\"energy_orders_completed\"].values == (3.0,)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-2f1a83468c8785d3ce9ed879": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_spatial_defect_refinement.py", + "symbol": "test_registered_executor_real_cell_matches_exact_contract", + "lines": [ + 224, + 224 + ], + "text_sha256": "c43e324f4efbca47bfe36d14c7945e1f22da390171bc9040793791d3a6295c92" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert quality[\"profiled_species_count\"].values == (3.0,)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-bd0ddee005c784a471d1125b": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_spatial_defect_refinement.py", + "symbol": "test_registered_executor_real_cell_matches_exact_contract", + "lines": [ + 225, + 225 + ], + "text_sha256": "2fb5f44c9c7bc14912683cc931e3d7258cdc6dc62b2a9fae6cc0929ff61bec0d" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert quality[\"source_species_count\"].values == (4.0,)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-b94db8746401a2683118c3b1": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_spatial_defect_refinement.py", + "symbol": "test_registered_executor_real_cell_matches_exact_contract", + "lines": [ + 226, + 226 + ], + "text_sha256": "e9dcabf250c14db73629c822a39d789aa41a6e3e88a35238fa70fe8209234391" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert quality[\"voltage_points_completed\"].values == (3.0,)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-863cbea9d1dcff6a5a86984d": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_spatial_defect_refinement.py", + "symbol": "test_registered_executor_real_cell_matches_exact_contract", + "lines": [ + 229, + 231 + ], + "text_sha256": "289136f7bb0495ff9396334cc03e471197c96c55307ee8b172f65ef849d56648" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert metadata[\"protocol_schema\"] == (\n SPATIAL_DEFECT_DEVICE_REFINEMENT_VERSION\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-a4b536d4936b616d55145974": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_spatial_defect_refinement.py", + "symbol": "test_registered_executor_real_cell_matches_exact_contract", + "lines": [ + 232, + 232 + ], + "text_sha256": "a144662dcf6eff22542a5eaeb88bfd1d13caff7877942f7aac1d715e2d3ba2eb" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert content_sha256(metadata[\"protocol\"]) == metadata[\"protocol_hash\"]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-0c1c0ebe9f1b234f6bb70a64": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_spatial_defect_refinement.py", + "symbol": "test_registered_executor_real_cell_matches_exact_contract", + "lines": [ + 233, + 233 + ], + "text_sha256": "4a1c96a379a044f0b772b05ac71911fefc3beaf57645d4724ae21139b1f06145" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert metadata[\"actual\"][\"energy_orders\"] == [16, 32, 64]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-74f8b42db9841a2cc1cfebd0": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_tmm_baseline.py", + "symbol": "test_nip_tmm_baseline_jsc", + "lines": [ + 77, + 81 + ], + "text_sha256": "99545daa15289ce3a255c6acf2449e1dd9c617e4a0b722cc2d5605fd1a0e8283" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert abs(delta) < TOLERANCE, (\n f\"nip_MAPbI3_tmm J_sc drifted: measured {j_sc:.2f}, \"\n f\"pinned {NIP_TMM_JSC_PINNED:.2f}, delta {delta:+.2f} A/m² \"\n f\"(tolerance ±{TOLERANCE})\"\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-99f83be95993e47c08fc1d8c": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_tmm_baseline.py", + "symbol": "test_pin_tmm_baseline_jsc", + "lines": [ + 87, + 91 + ], + "text_sha256": "03521dd2a4977189e76d24aac29218c4f56b3555b7a8303cd89c6a96777b8faf" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert abs(delta) < TOLERANCE, (\n f\"pin_MAPbI3_tmm J_sc drifted: measured {j_sc:.2f}, \"\n f\"pinned {PIN_TMM_JSC_PINNED:.2f}, delta {delta:+.2f} A/m² \"\n f\"(tolerance ±{TOLERANCE})\"\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-c81ab5782afe7a03e91c9d3c": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_twod_combined_refinement.py", + "symbol": "test_real_registered_combined_twod_cell_returns_all_certificate_axes", + "lines": [ + 79, + 79 + ], + "text_sha256": "ef02fc452ce04ff5830a4016b318364459edcbe72a8cbd815847d4536de1020b" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert set(observables) == {gate.metric for gate in lane.observables}", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-f077c2eaf9bcb55fb593abdc": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_twod_combined_refinement.py", + "symbol": "test_real_registered_combined_twod_cell_returns_all_certificate_axes", + "lines": [ + 80, + 80 + ], + "text_sha256": "edfdc872fc8ca86fd1a8cd138ae47898d23ee5650b8e5fb0a0049ee2e91c66aa" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert set(quality) == {gate.metric for gate in lane.quality_gates}", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-216f9987145f9b4a6e096c54": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_twod_combined_refinement.py", + "symbol": "test_real_registered_combined_twod_cell_returns_all_certificate_axes", + "lines": [ + 81, + 81 + ], + "text_sha256": "dc0ddc020531b8d77efa1da1985bf05dabc355b402298f375067e3721d9c06ea" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert quality[\"combined_gb_ion_interface_topology_verified\"] == 1.0", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-6f71711f5d87311901bc818e": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_twod_combined_refinement.py", + "symbol": "test_real_registered_combined_twod_cell_returns_all_certificate_axes", + "lines": [ + 82, + 82 + ], + "text_sha256": "7e6abbccbf7a94aaefd10968d3d292659c255b883aeebd7f0125ac16dbc513be" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert quality[\"clamp_inactive_slice_verified\"] == 1.0", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-19da7a11833c29eafeccb55d": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_twod_combined_refinement.py", + "symbol": "test_real_registered_combined_twod_cell_returns_all_certificate_axes", + "lines": [ + 83, + 83 + ], + "text_sha256": "b026c49b5e3b7ea1c4ea1352548bd1128bf550b76e329321bdaa54f9d1543d23" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert quality[\"minimum_mobile_ion_relative_redistribution\"] > 1.0e-4", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-a7199aa9dc5c2347b1fbe9ee": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_twod_combined_refinement.py", + "symbol": "test_real_registered_combined_twod_cell_returns_all_certificate_axes", + "lines": [ + 84, + 84 + ], + "text_sha256": "402f5ba51197e8868f45ae93f9bd73c62de66c60353bb09fb70b279e207f84e0" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert quality[\"minimum_lateral_carrier_variation_relative\"] > 1.0e-4", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-c1bdf6fb8119286cbee31867": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_twod_combined_refinement.py", + "symbol": "test_real_registered_combined_twod_cell_returns_all_certificate_axes", + "lines": [ + 86, + 86 + ], + "text_sha256": "4995b142841699e308d6d00c769422880574f2fcaabae1715f04d5c0aa95dc7a" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert metadata[\"execution_protocol\"][\"implicit_legacy_protocol\"] is False", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-e999ed1589ee5207278f72e1": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_twod_combined_refinement.py", + "symbol": "test_real_registered_combined_twod_cell_returns_all_certificate_axes", + "lines": [ + 87, + 89 + ], + "text_sha256": "07ae06df2dfa053e88ada281c96834593a79917b417cab174f4d786eb6b240b1" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert metadata[\"execution_protocol\"][\"current_composition\"] == (\n \"electron_hole_positive_ion_displacement\"\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-4b47b8b1f214fc8c914d2d43": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_twod_combined_refinement.py", + "symbol": "test_combined_twod_executor_fails_closed_on_missing_point_evidence", + "lines": [ + 210, + 210 + ], + "text_sha256": "08f0cf2e36f64441a64e4792770ddef4edca87eebc4a901030a4e56aa9a0e78f" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(RuntimeError, match=\"evidence count mismatch\"):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-0f95a4b4bca4532e70539764": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_twod_combined_refinement.py", + "symbol": "test_combined_twod_executor_matches_registry_and_explicit_protocol", + "lines": [ + 178, + 178 + ], + "text_sha256": "ef02fc452ce04ff5830a4016b318364459edcbe72a8cbd815847d4536de1020b" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert set(observables) == {gate.metric for gate in lane.observables}", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-0cce87a00f0cac5d8239e1b5": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_twod_combined_refinement.py", + "symbol": "test_combined_twod_executor_matches_registry_and_explicit_protocol", + "lines": [ + 179, + 179 + ], + "text_sha256": "edfdc872fc8ca86fd1a8cd138ae47898d23ee5650b8e5fb0a0049ee2e91c66aa" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert set(quality) == {gate.metric for gate in lane.quality_gates}", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-9fed707516b433bea66d07a2": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_twod_combined_refinement.py", + "symbol": "test_combined_twod_executor_matches_registry_and_explicit_protocol", + "lines": [ + 180, + 180 + ], + "text_sha256": "deee6cc58df6e7520f8104c5f8edbd0b2e8b036d1f67f16c44bc9c720493d53b" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert captured[\"build\"][\"Nx\"] == 6", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-98eb0bddb913eb26eed37bdc": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_twod_combined_refinement.py", + "symbol": "test_combined_twod_executor_matches_registry_and_explicit_protocol", + "lines": [ + 181, + 181 + ], + "text_sha256": "d7c3b46320ec406d6c8e67f63eb31a4fce66e646fe71459da650d2ee5bd1e7f4" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert captured[\"build\"][\"Ny_per_layer\"] == 6", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-18bc5c93d98e7652f9610426": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_twod_combined_refinement.py", + "symbol": "test_combined_twod_executor_matches_registry_and_explicit_protocol", + "lines": [ + 182, + 182 + ], + "text_sha256": "45af88cd77383aae49db5d9805a3dca2757fa3e2fdbe34cc15831aa995f9ca60" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert captured[\"build\"][\"atol\"].refinement_factor == pytest.approx(0.1)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-82e89b19f82dbe8e2a4b6be5": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_twod_combined_refinement.py", + "symbol": "test_combined_twod_executor_matches_registry_and_explicit_protocol", + "lines": [ + 183, + 183 + ], + "text_sha256": "2437529bf98e35c1fde8612d9f43e0131a2401ab53f9e3d62853b43d83f9c397" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert captured[\"run\"][\"protocol_mode\"] == \"research_strict\"", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-1e9c0f50935a381fa0b337a5": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_twod_combined_refinement.py", + "symbol": "test_combined_twod_executor_matches_registry_and_explicit_protocol", + "lines": [ + 184, + 184 + ], + "text_sha256": "2b5e686abcaf7ef191955f368426d8f8981b19c9ee39a3f4d2898e978563f0a1" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert quality[\"clamp_inactive_slice_verified\"].values == (1.0,)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-d65a4255a2e2056c179aa474": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_twod_combined_refinement.py", + "symbol": "test_combined_twod_executor_matches_registry_and_explicit_protocol", + "lines": [ + 185, + 185 + ], + "text_sha256": "7520521d18ea5fccd559365416fac15e409309ecda41399293a18ca4d196fa24" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert quality[\"minimum_mobile_ion_relative_redistribution\"].values[0] > 0.0", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-208aefc75683c1df11241cd3": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_twod_combined_refinement.py", + "symbol": "test_combined_twod_executor_matches_registry_and_explicit_protocol", + "lines": [ + 187, + 187 + ], + "text_sha256": "bb75fbeb4f24cc2f2d6f7faeb6376dfcd62e6fd2dd17b32d4ee218418b418597" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert metadata[\"execution_protocol_hash\"] == \"a\" * 64", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-d647aa93fd55fed595b50bdc": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_twod_combined_refinement.py", + "symbol": "test_combined_twod_executor_matches_registry_and_explicit_protocol", + "lines": [ + 188, + 188 + ], + "text_sha256": "8e650370e456a643189461c4a059a6cf24d49935db5873089226457d898f276c" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert metadata[\"protocol\"][\"schema_version\"] == metadata[\"protocol_schema\"]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-be242b75c3b52c7dfe07eb30": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_twod_combined_refinement.py", + "symbol": "test_combined_twod_executor_matches_registry_and_explicit_protocol", + "lines": [ + 189, + 189 + ], + "text_sha256": "a144662dcf6eff22542a5eaeb88bfd1d13caff7877942f7aac1d715e2d3ba2eb" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert content_sha256(metadata[\"protocol\"]) == metadata[\"protocol_hash\"]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-c11585b2d54ad642f5d18a03": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_twod_combined_refinement.py", + "symbol": "test_combined_twod_executor_rejects_malformed_clamp_evidence", + "lines": [ + 235, + 235 + ], + "text_sha256": "94a166f6b58c9de4c4d6c377aed6e6c5a16921970d581025197a7b92f815c5c8" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(RuntimeError, match=\"malformed clamp masks\"):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-c300e86126808221195bf6fc": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_twod_validation.py", + "symbol": "test_twod_radiative_reabsorption_voc_boost_in_literature_window", + "lines": [ + 840, + 843 + ], + "text_sha256": "e8362dd86abd3b98873bb9e88659fe75f17c0ed7b2df903fb32fa7013d6b7647" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert 40.0 <= boost_mV <= 100.0, (\n f\"V_oc boost = {boost_mV:.2f} mV outside literature window [40, 100] mV \"\n f\"(2D ON: {voc_2d_on*1e3:.2f} mV, 2D OFF: {voc_2d_off*1e3:.2f} mV)\"\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-475ba7e7b0a09bfd02e79693": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_twod_validation.py", + "symbol": "test_twod_uniform_matches_1d_within_tolerance", + "lines": [ + 96, + 99 + ], + "text_sha256": "5b16d725be041fbab80b8508a5681dc23eb641786b2eae7d25b0eb294400d071" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert abs(m2.V_oc - m1.V_oc) <= 1e-4, (\n f\"V_oc(2D)={m2.V_oc:.6f} V vs V_oc(1D)={m1.V_oc:.6f} V \"\n f\"(diff {(m2.V_oc - m1.V_oc) * 1e3:.3f} mV)\"\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-a233358bdf9e909e07f75842": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_twod_validation.py", + "symbol": "test_twod_uniform_matches_1d_within_tolerance", + "lines": [ + 103, + 106 + ], + "text_sha256": "c78c89f613a4c34dd7b29f199c5d636cdf757956d9150daafe0babe26ee791fb" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert rel_jsc <= 5e-4, (\n f\"J_sc relative diff {rel_jsc:.2e} > 5e-4 \"\n f\"(2D={m2.J_sc:.4f}, 1D={m1.J_sc:.4f} A/m²)\"\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-c1d99091dfbeba9cad28f882": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_twod_validation.py", + "symbol": "test_twod_uniform_matches_1d_within_tolerance", + "lines": [ + 109, + 111 + ], + "text_sha256": "13b6e0038c5ab28cf18e1d71b56fd1e298de7d7c3243698738771f5fd12f3a4c" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert abs(m2.FF - m1.FF) <= 1e-3, (\n f\"FF(2D)={m2.FF:.6f} vs FF(1D)={m1.FF:.6f}\"\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-115196d587ba3311b2e57a49": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_twod_validation.py", + "symbol": "test_twod_uniform_matches_1d_within_tolerance", + "lines": [ + 118, + 120 + ], + "text_sha256": "1baad086eab615f979dd600dfdede525b7586c43bb49836230029abb750aec89" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert n_lat_var <= 1e-9, (\n f\"n lateral variation {n_lat_var:.2e} exceeds 1e-9\"\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-6e16a219a7d274a8f8cc5446": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_twod_validation.py", + "symbol": "test_twod_uniform_matches_1d_within_tolerance", + "lines": [ + 144, + 146 + ], + "text_sha256": "c9a2b64b2c252b5f4df388310bbfac3dd4162d63327ef658229083f571ad27fb" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.max(np.abs(div_J)) <= tol_div, (\n f\"max|∇·J|={np.max(np.abs(div_J)):.3e} exceeds tolerance {tol_div:.3e}\"\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-6594d86721e663337ff9855c": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_twod_validation.py", + "symbol": "test_twod_uniform_matches_1d_within_tolerance", + "lines": [ + 151, + 153 + ], + "text_sha256": "3724ff09af681cd2d272a728d81dabe7d003c533393d995359cfda20bb351396" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.allclose(snap.phi[0, :], 0.0, atol=1e-10), (\n \"Bottom-contact phi != 0 (Dirichlet BC violated)\"\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-5a234a396f0ec85886c3829a": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_twod_validation.py", + "symbol": "test_twod_uniform_matches_1d_within_tolerance", + "lines": [ + 156, + 159 + ], + "text_sha256": "d737101fac589b9384bee3dd26120a312c3c6c503008a822531d353699eb9f3b" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.allclose(snap.phi[-1, :], expected_top, atol=1e-6), (\n f\"Top-contact phi[{snap.phi[-1,0]:.4f}] != V_bi - V_app[\"\n f\"{expected_top:.4f}] at V_app={V_app_snap:.3f} V\"\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-d5c73b262fa2af58a998aaf2": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/validation/test_csi_vannijen2025_cv.py", + "symbol": "test_vannijen_config_maps_published_profile_without_curve_calibration", + "lines": [ + 139, + 139 + ], + "text_sha256": "20d5712e86228353be794586e7997343d1d8eb1348ca66ef9b9007ebe7d3fc9e" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert BENCHMARK[\"claim_level\"] == \"partial_external_comparison\"", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-9577ce59785f38230e3d7d6c": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/validation/test_csi_vannijen2025_cv.py", + "symbol": "test_vannijen_config_maps_published_profile_without_curve_calibration", + "lines": [ + 140, + 140 + ], + "text_sha256": "4c5f88847e182a0ec85650281e89e8715043fdeb3ebb3d7ff99e2c6a85a27044" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert BENCHMARK[\"calibration\"][\"parameters\"] == []", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-f5eeba675ce68945c82df137": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/validation/test_csi_vannijen2025_cv.py", + "symbol": "test_vannijen_config_maps_published_profile_without_curve_calibration", + "lines": [ + 141, + 141 + ], + "text_sha256": "97fc5b4691a4fac9887d948bc2280c57703dca74c86d62d344149b68e9cba8eb" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert stack.total_thickness == pytest.approx(source[\"device_thickness_m\"])", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-7d4f5b8d1d2eb0155ef7008e": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/validation/test_csi_vannijen2025_cv.py", + "symbol": "test_vannijen_config_maps_published_profile_without_curve_calibration", + "lines": [ + 142, + 142 + ], + "text_sha256": "57cc8083bfd8dd0b6153f94c48655a431158beeadc968460e6ae35599e105a6e" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert stack.T == pytest.approx(source[\"temperature_K\"])", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-1c802f5c694c6a9d1d581c88": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/validation/test_csi_vannijen2025_cv.py", + "symbol": "test_vannijen_config_maps_published_profile_without_curve_calibration", + "lines": [ + 143, + 143 + ], + "text_sha256": "b860c0f539bd29b15b9d02f3554da0682db28661f5de2bd0a2307b04316f31ea" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert base.params.N_D == pytest.approx(source[\"bulk_donor_density_m3\"])", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-4d364630cedcdd689706b23d": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/validation/test_csi_vannijen2025_cv.py", + "symbol": "test_vannijen_config_maps_published_profile_without_curve_calibration", + "lines": [ + 144, + 146 + ], + "text_sha256": "6e7ad7af48d8d7ee28a8b13d368cbfa113cd3fbf7c31d9c89e384cb29971d6b1" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert emitter.params.N_A == pytest.approx(\n source[\"emitter_peak_acceptor_density_m3\"]\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-4bfbdde232dee845f08cee57": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/validation/test_csi_vannijen2025_cv.py", + "symbol": "test_vannijen_config_maps_published_profile_without_curve_calibration", + "lines": [ + 147, + 147 + ], + "text_sha256": "58cec7e05a3e391f7e0d0f7e2ad7068b5a6a19ddb1c870a92a216fabe4c665e5" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert stack.compute_V_bi() == pytest.approx(stack.V_bi, abs=1.0e-14)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-ed127e1f563181aaef32be25": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/validation/test_csi_vannijen2025_cv.py", + "symbol": "test_vannijen_config_maps_published_profile_without_curve_calibration", + "lines": [ + 156, + 156 + ], + "text_sha256": "544e1b29bae339a14d3ef48eddee043848f8e7ad79bbc86f0618fc4a5c27a7f1" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert N_A_front == pytest.approx(1.0e25)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-c2b3da20b7cd0a571c471cca": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/validation/test_csi_vannijen2025_cv.py", + "symbol": "test_vannijen_config_maps_published_profile_without_curve_calibration", + "lines": [ + 157, + 157 + ], + "text_sha256": "51edfdd296500c5f212488924ba54d46f8f86ac11e385ed7c02612a9fb29ce26" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert N_D_front == pytest.approx(1.0e21)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-c61f1425875f1f0dc771c9a6": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/validation/test_csi_vannijen2025_cv.py", + "symbol": "test_vannijen_config_maps_published_profile_without_curve_calibration", + "lines": [ + 158, + 158 + ], + "text_sha256": "9e0f83e0db14d73e72db3c028c6ef10e31701fd414f806ad58fcb3b5c9591fc4" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert N_A_junction == pytest.approx(N_D_junction, rel=2.0e-14)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-de237a41adfec5681c8129d7": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/validation/test_csi_vannijen2025_cv.py", + "symbol": "test_vannijen_cv_records_partial_agreement_not_pointwise_parity", + "lines": [ + 209, + 209 + ], + "text_sha256": "392dca5ff6cf6d5e7520e425c403c5f9e5ee3cd69ea4f08beaab6c9181aa8f89" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert BENCHMARK[\"status\"] == \"partial\"", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-74fc494356c9881b672e5ee7": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/validation/test_csi_vannijen2025_cv.py", + "symbol": "test_vannijen_cv_records_partial_agreement_not_pointwise_parity", + "lines": [ + 210, + 210 + ], + "text_sha256": "a05b12886dfa0dcdaa39f3c6043bddc9c4a2ef2eb8082cc96ff701052184e8b9" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.all(finest > SOURCE_CAPACITANCE)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-7ed64bef1154d8e405b7771c": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/validation/test_csi_vannijen2025_cv.py", + "symbol": "test_vannijen_cv_records_partial_agreement_not_pointwise_parity", + "lines": [ + 213, + 215 + ], + "text_sha256": "0020ab3079631be03e63fe7e7cf4c2ddb2f930a8b8c351df529bb94f41be036d" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.max(relative_error) > PROTOCOL[\"local\"][\n \"pointwise_parity_relative_error\"\n ]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-251776856645755edbc9dc31": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/validation/test_csi_vannijen2025_cv.py", + "symbol": "test_vannijen_local_cv_is_residual_certified_and_grid_converged", + "lines": [ + 198, + 198 + ], + "text_sha256": "ef025c07b7c8c5350bd62aecd511db9eafae06cdf8611ba7df6248ebba0a3260" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert changes[1] < changes[0]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-6acc61ef063b57166c09cdb8": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/validation/test_csi_vannijen2025_cv.py", + "symbol": "test_vannijen_local_cv_is_residual_certified_and_grid_converged", + "lines": [ + 199, + 199 + ], + "text_sha256": "39ff871128f8775f1c00577309530465585eff49d87dd855bd73de830bf9a9ec" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert changes[1] < certificates[\"max_finest_grid_curve_change\"]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-f8e3bf0c38225fc5564b5ee0": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/validation/test_csi_vannijen2025_cv.py", + "symbol": "test_vannijen_local_cv_is_residual_certified_and_grid_converged", + "lines": [ + 173, + 173 + ], + "text_sha256": "e2a3e96bcccb0a00484c9bbb6f77119baedb2da1d6c890ec89baa5b7963d2d69" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.all(np.isfinite(curve))", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-44139c088916a73309201d73": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/validation/test_csi_vannijen2025_cv.py", + "symbol": "test_vannijen_local_cv_is_residual_certified_and_grid_converged", + "lines": [ + 174, + 174 + ], + "text_sha256": "fe0a833129027b30be61c33bf816bc3e38b16323d934c030e81c1e32c8cc51f5" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.all(curve > 0.0)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-4b83d2d9e8bf05072df6df2d": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/validation/test_csi_vannijen2025_cv.py", + "symbol": "test_vannijen_local_cv_is_residual_certified_and_grid_converged", + "lines": [ + 175, + 175 + ], + "text_sha256": "ca985858cd2ec34c49f15847fe39b143b88f730b5ef223969a720385ee0adf67" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.all(np.diff(curve) > 0.0)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-8f1590dd379fdad2fddd651e": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/validation/test_csi_vannijen2025_cv.py", + "symbol": "test_vannijen_local_cv_is_residual_certified_and_grid_converged", + "lines": [ + 177, + 177 + ], + "text_sha256": "3bc9722c20282b5f94eb5546c838437fad90e9bc122dcc6748d4a8a7440b23e2" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert dc_state.certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-75b31f94034855b1cb23e17e": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/validation/test_csi_vannijen2025_cv.py", + "symbol": "test_vannijen_local_cv_is_residual_certified_and_grid_converged", + "lines": [ + 178, + 180 + ], + "text_sha256": "52afbdd3810b5e8ab881f943dfacdc4139b1e939309311a7719a50b4d95c5fb0" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert dc_state.max_normalized_cell_residual < (\n certificates[\"max_dc_normalized_cell_residual\"]\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-0fee0521d6408e58c4870151": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/validation/test_csi_vannijen2025_cv.py", + "symbol": "test_vannijen_local_cv_is_residual_certified_and_grid_converged", + "lines": [ + 181, + 184 + ], + "text_sha256": "69b651489b78a5c3c78175e09a5fafad124ae0f7991f3969873ed98b1c798579" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert max(\n dc_state.electron_continuity_bound_A_m2,\n dc_state.hole_continuity_bound_A_m2,\n ) < certificates[\"max_continuity_bound_A_m2\"]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-d7f584afa4137e5a5a153f01": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/validation/test_csi_vannijen2025_cv.py", + "symbol": "test_vannijen_local_cv_is_residual_certified_and_grid_converged", + "lines": [ + 185, + 187 + ], + "text_sha256": "817dfe9ce1348712ab92d97b12141d9fab2213960c9765b6d97845acba9e5c36" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert dc_state.face_current_spread_A_m2 < (\n certificates[\"max_dc_face_current_spread_A_m2\"]\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-8b290869a594896a708573de": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/validation/test_csi_vannijen2025_cv.py", + "symbol": "test_vannijen_local_cv_is_residual_certified_and_grid_converged", + "lines": [ + 188, + 188 + ], + "text_sha256": "05b52a557a0ccc9ceb8152e0fdb937c048841aa3b3f06a78a09b9a7961a41169" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert response.Z[0].imag < 0.0", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-28ec5c4e21a4c3a138c3f40e": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/validation/test_csi_vannijen2025_cv.py", + "symbol": "test_vannijen_local_cv_is_residual_certified_and_grid_converged", + "lines": [ + 189, + 189 + ], + "text_sha256": "8f76b6fd25ace68a6eca1d6e670807c18d2bfbb5da9c21829f0320a8ce3c29e5" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert (1.0 / response.Z[0]).imag > 0.0", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-f79249ea91edb08c4810eaef": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/validation/test_csi_vannijen2025_cv.py", + "symbol": "test_vannijen_local_cv_is_residual_certified_and_grid_converged", + "lines": [ + 190, + 192 + ], + "text_sha256": "6a44b3d95703217833bd7292d9e0d882b31f33285823ac53f0e61876e32a9b96" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert response.max_relative_face_spread[0] < (\n certificates[\"max_ac_relative_face_spread\"]\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-69706f6592808719868c68c5": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/validation/test_csi_vannijen2025_cv.py", + "symbol": "test_vannijen_observations_match_reproducibility_registry", + "lines": [ + 245, + 248 + ], + "text_sha256": "d8fdd6e23b685c6bf88465539aa0966841364b2afbfe4a7f4c4dcd975abdc3ae" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert float(np.max(relative_error)) == pytest.approx(\n OBSERVED[\"max_pointwise_relative_error\"],\n rel=TOLERANCE[\"max_pointwise_relative_error\"],\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-596f595c0ad1371426f49c89": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/validation/test_csi_vannijen2025_cv.py", + "symbol": "test_vannijen_observations_match_reproducibility_registry", + "lines": [ + 249, + 252 + ], + "text_sha256": "b765f20e89e8079b7cf3720141f7daa9676a9f37dc3b5f8db47957ad78c833d5" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert float(np.sqrt(np.mean(relative_error**2))) == pytest.approx(\n OBSERVED[\"rms_pointwise_relative_error\"],\n rel=TOLERANCE[\"rms_pointwise_relative_error\"],\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-3ffc61eecf9b89fdffd313f4": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/validation/test_csi_vannijen2025_cv.py", + "symbol": "test_vannijen_observations_match_reproducibility_registry", + "lines": [ + 253, + 256 + ], + "text_sha256": "09be8e353712745088973693ddbd28da3fdc2ef24a7f2efb37fb1b57ae594c14" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert changes == pytest.approx(\n OBSERVED[\"adjacent_max_local_curve_changes\"],\n rel=TOLERANCE[\"adjacent_max_local_curve_changes\"],\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-6d27c68f115e10addaf6238a": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/validation/test_csi_vannijen2025_cv.py", + "symbol": "test_vannijen_observations_match_reproducibility_registry", + "lines": [ + 229, + 233 + ], + "text_sha256": "18ccad541aa3dd03e5f543090bc85e67b5e101e472904cdf8a2c30b37942ee24" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_allclose(\n SOURCE_CAPACITANCE,\n OBSERVED[\"source_capacitance_F_m2\"],\n rtol=TOLERANCE[\"source_capacitance_F_m2\"],\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-0890abe62feab93cd6ae3856": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/validation/test_csi_vannijen2025_cv.py", + "symbol": "test_vannijen_observations_match_reproducibility_registry", + "lines": [ + 240, + 244 + ], + "text_sha256": "e11ac470d041aa0f4194d23d6dca5ba6e9ce070925b133e10dd97d7e8d0577f5" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_allclose(\n relative_error,\n OBSERVED[\"pointwise_relative_error_N800\"],\n rtol=TOLERANCE[\"pointwise_relative_error_N800\"],\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-ba52eb00f6114d1e2c3ae9b8": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/validation/test_csi_vannijen2025_cv.py", + "symbol": "test_vannijen_observations_match_reproducibility_registry", + "lines": [ + 235, + 239 + ], + "text_sha256": "312a65fd4be824a5ae86c07a7884bb86d7510bfd37159cbeddafdd1696afaee9" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_allclose(\n curve,\n OBSERVED[\"local_capacitance_F_m2\"][str(requested)],\n rtol=TOLERANCE[\"local_capacitance_F_m2\"],\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-0137b3f3e1b296b2c89731ba": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/validation/test_csi_vannijen2025_cv.py", + "symbol": "test_vannijen_source_rows_reproduce_frozen_author_extraction", + "lines": [ + 117, + 117 + ], + "text_sha256": "5269798be722a5a40a68d890e473b39d43b10c1f39fa8ba45005b4105d988bed" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert [row[\"bias_V\"] for row in SOURCE_ROWS] == pytest.approx(BIASES_V)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-2e27b42df739312f61fa9523": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/validation/test_csi_vannijen2025_cv.py", + "symbol": "test_vannijen_source_rows_reproduce_frozen_author_extraction", + "lines": [ + 118, + 118 + ], + "text_sha256": "45117f07f0324a483df8d907edd7f7b6d4bf5c76c1e43441a905b028ac28b34f" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert all(row[\"frequency_Hz\"] == FREQUENCY_HZ for row in ALL_SOURCE_ROWS)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-1fe7144296e69367f7000ad9": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/validation/test_csi_vannijen2025_cv.py", + "symbol": "test_vannijen_source_rows_reproduce_frozen_author_extraction", + "lines": [ + 119, + 123 + ], + "text_sha256": "178413dadb90abf54b70d94c24933d1c608f17306fc8468915660121bd80b9e3" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert all(\n len(row[\"source_file_sha256\"]) == 64\n and set(row[\"source_file_sha256\"]) <= set(\"0123456789abcdef\")\n for row in ALL_SOURCE_ROWS\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-922d6d897b6f0ede6409b4d1": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/validation/test_csi_vannijen2025_cv.py", + "symbol": "test_vannijen_source_rows_reproduce_frozen_author_extraction", + "lines": [ + 131, + 131 + ], + "text_sha256": "740806f31c110cf15b9eef8f7742631728104f1ca1e0930bd71100b431742960" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert REFERENCE[\"extraction\"][\"calibration_parameters\"] == []", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-ec08d64bf456f128148bf5bc": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/validation/test_csi_vannijen2025_cv.py", + "symbol": "test_vannijen_source_rows_reproduce_frozen_author_extraction", + "lines": [ + 130, + 130 + ], + "text_sha256": "ce816534a40fafd078e435e5dfb23069dfd7b21b946aad1b74c7c647f4cd299e" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_allclose(extracted, frozen, rtol=2.0e-15)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-3fe8683841b50ac6874be271": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_intraband_nonlocal_transfer.py", + "symbol": "test_equal_nonsaturated_occupations_give_exactly_zero_transfer", + "lines": [ + 80, + 80 + ], + "text_sha256": "8196f69ba9526cc834c8924e92cc9f41322ce335fa29f1000e2593436618d95c" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.all((path.flux.left_occupation > 0.0) & (path.flux.left_occupation < 0.001))", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-536d15c8b6d4f31b62bb60a6": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_intraband_nonlocal_transfer.py", + "symbol": "test_equal_nonsaturated_occupations_give_exactly_zero_transfer", + "lines": [ + 81, + 81 + ], + "text_sha256": "2c95eac7cdc0cf4a9af0a18f8e6b04511ec4758de47339a6470643e1f18e941d" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert path.flux.forward_flux_m2_s > 0.0", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-71d1e8a084d6c3cd8ad077bd": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_intraband_nonlocal_transfer.py", + "symbol": "test_equal_nonsaturated_occupations_give_exactly_zero_transfer", + "lines": [ + 82, + 82 + ], + "text_sha256": "24f14556b4bf794439f63b42d8c92df7ac565fc3c7eb1a6f5c84a88fd2ccc3e3" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert path.flux.forward_flux_m2_s == path.flux.reverse_flux_m2_s", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-0cf277771c09da5f504838ad": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_intraband_nonlocal_transfer.py", + "symbol": "test_equal_nonsaturated_occupations_give_exactly_zero_transfer", + "lines": [ + 83, + 83 + ], + "text_sha256": "228f6cf63d489e59fa560baf606dbcbcb16e2fdb0be181740c81da56d90ea44c" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert path.flux.net_flux_m2_s == 0.0", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-cd001912f5adc2bd3bacc632": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_intraband_nonlocal_transfer.py", + "symbol": "test_equal_nonsaturated_occupations_give_exactly_zero_transfer", + "lines": [ + 84, + 84 + ], + "text_sha256": "2cf0878e47cf11095e0590f08d9d3502b8e62c642048e3fdf41c87cb7136f68b" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_array_equal(path.particle_face_flux_m2_s, 0.0)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-e10ccbff5d5b9f9b516cbba8": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_intraband_nonlocal_transfer.py", + "symbol": "test_transfer_conserves_particles_and_dissipates_the_chemical_drive", + "lines": [ + 68, + 68 + ], + "text_sha256": "a2936c38a2fc5be4135b2976c249051b70c91360249eea2560b9a22f4d6734d3" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.any(transfer < 0.0) and np.any(transfer > 0.0)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-9f8a14803b5c9da053a0b633": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_intraband_nonlocal_transfer.py", + "symbol": "test_transfer_conserves_particles_and_dissipates_the_chemical_drive", + "lines": [ + 69, + 69 + ], + "text_sha256": "a3bb80350126d31ce5f054cb4f11cee63ebe8fe152432f6fb9fda1a7f9f88e83" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert abs(np.sum(transfer)) < 1e-13 * np.sum(np.abs(transfer))", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-f13002f6c34d41e9cd554ee8": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_intraband_nonlocal_transfer.py", + "symbol": "test_transfer_conserves_particles_and_dissipates_the_chemical_drive", + "lines": [ + 70, + 70 + ], + "text_sha256": "ac474d38954a44f35e339767de009cecfcaa388dd807874974a011abb8af0eda" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.dot(levels, transfer) < 0.0", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-db83b312bb43a9e49a5759d5": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_intraband_nonlocal_transfer.py", + "symbol": "test_transfer_conserves_particles_and_dissipates_the_chemical_drive", + "lines": [ + 73, + 73 + ], + "text_sha256": "85ebffa1d99187ed3618d319b31557941fe5077703fedd3e92356bff3cec6911" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.all(path.turning_points_m[:, 0] < path.turning_points_m[:, 1])", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-8ecb3efbfe5b9e00dc589d87": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_intraband_nonlocal_transfer.py", + "symbol": "test_transfer_conserves_particles_and_dissipates_the_chemical_drive", + "lines": [ + 74, + 74 + ], + "text_sha256": "7b33717bfaa34eb693a9a1db0f5f25aa46ea6d669720096fe10dd013aa741102" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.all(path.actions > 0.0)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-3797d2bfae4757b46f34954e": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_intraband_nonlocal_transfer.py", + "symbol": "test_transfer_conserves_particles_and_dissipates_the_chemical_drive", + "lines": [ + 71, + 71 + ], + "text_sha256": "2a2b8652ad56ec5163dba1ed8a8cfc5c354961578c06525cf3f91715fce3a498" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_array_equal(path.particle_face_flux_m2_s[:region.core_start_node - 1], 0.0)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-99a44a8a98a470c15d9838ab": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_intraband_nonlocal_transfer.py", + "symbol": "test_transfer_conserves_particles_and_dissipates_the_chemical_drive", + "lines": [ + 72, + 72 + ], + "text_sha256": "753ea260f566d53c7e4479a1cd5c0a9b426eef5075d8414047f4b69e39ffe91f" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_array_equal(path.particle_face_flux_m2_s[region.core_stop_node:], 0.0)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-05b22be3c1fee0dd4d25aba5": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_tunnelling_physical_levels.py", + "symbol": "test_device_supplies_physical_levels_with_dos_contrast", + "lines": [ + 35, + 35 + ], + "text_sha256": "a8fc13d97024da7e1f546a3df582b9aa009fe8ae49e1cbb623888978c94fd059" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert not np.array_equal(material.chi, material.chi_phys)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-af047545d6af462dbbfc81bc": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_tunnelling_physical_levels.py", + "symbol": "test_device_supplies_physical_levels_with_dos_contrast", + "lines": [ + 36, + 36 + ], + "text_sha256": "081380c591ba84fe1254d1ac6ea37c51ce7c17de968baf3e99476341a72515d5" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert material.V_T_device == pytest.approx(K_B * temperature / Q)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-397b58be41c1f5f7e90560fe": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_tunnelling_physical_levels.py", + "symbol": "test_device_supplies_physical_levels_with_dos_contrast", + "lines": [ + 47, + 47 + ], + "text_sha256": "8ac0011bcd524ee6da86109082b98bace38aeaa508cce45ff5d56fbfc3a085c4" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-58abb3e5f293b107d224c0af": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_tunnelling_physical_levels.py", + "symbol": "test_device_supplies_physical_levels_with_dos_contrast", + "lines": [ + 57, + 57 + ], + "text_sha256": "5d5f7714e53a7bf938bfc2443ba0e7ce646b3a973716065df9cca1baa995e593" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_allclose(captured[\"electron_quasi_fermi_eV\"], expected_n, rtol=0.0, atol=1e-12)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-49337baded57db816a107ba9": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_tunnelling_physical_levels.py", + "symbol": "test_device_supplies_physical_levels_with_dos_contrast", + "lines": [ + 58, + 58 + ], + "text_sha256": "b2b2d25fea1cb10a1f6678c061ab53637e66a65e04477ae5a12701e2ffb8fbe0" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_allclose(captured[\"hole_quasi_fermi_eV\"], expected_p, rtol=0.0, atol=1e-12)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-b35d5be1074452acaca79015": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_wkb_turning_point_action.py", + "symbol": "test_single_forbidden_node_is_a_finite_triangle_not_a_transparent_path", + "lines": [ + 25, + 25 + ], + "text_sha256": "dcad30ed29d954df75159857cedd2ed47d02f461edb9fa1a5ac6be3767705846" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert actual > 0.0", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-0bae3e87b318c839176f7f7d": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_wkb_turning_point_action.py", + "symbol": "test_single_forbidden_node_is_a_finite_triangle_not_a_transparent_path", + "lines": [ + 26, + 26 + ], + "text_sha256": "7da3d85d442487b89984e1d5f2b0ac139064e737cee8317f5460ed0ecb83699e" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert actual == pytest.approx(expected, rel=2e-14)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-7ad00ad32f9412598fb459d4": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_resolved_tunnelling_refinement.py", + "symbol": "test_real_resolved_cell_has_a_conservative_observable_electron_channel", + "lines": [ + 58, + 58 + ], + "text_sha256": "8eabc47c5465b731ddd19216e6821610485b1ed97c657162f7d0602c1469f813" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert quality[\"all_states_certified\"] == 1.0", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-24c8712488536cf77ab8e2b4": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_resolved_tunnelling_refinement.py", + "symbol": "test_real_resolved_cell_has_a_conservative_observable_electron_channel", + "lines": [ + 59, + 59 + ], + "text_sha256": "f7abb241ba2236ddecec12a40b0874d761b5efc0179aaa1b2f5fd8ef80377ca0" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert quality[\"contact_thermodynamics_consistent\"] == 1.0", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-bfd4fc00b8b0537cd22a5c07": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_resolved_tunnelling_refinement.py", + "symbol": "test_real_resolved_cell_has_a_conservative_observable_electron_channel", + "lines": [ + 60, + 60 + ], + "text_sha256": "a7fe7918cfafd5f6f9019ef82ab6eb71f759be0da12102a4093621f2bcb73e2a" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert quality[\"terminal_effect_fraction\"] > 0.01", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-e0e40ae9e604c14c766dde3a": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_resolved_tunnelling_refinement.py", + "symbol": "test_real_resolved_cell_has_a_conservative_observable_electron_channel", + "lines": [ + 61, + 61 + ], + "text_sha256": "41acec90bfc9acfd2fa4516ac29b8fd763385cf3aabb1cd48f8961faf5c55afb" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert quality[\"particle_balance_relative_error\"] < 1e-12", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-89bc7d0884dce826bebb2c77": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_resolved_tunnelling_refinement.py", + "symbol": "test_real_resolved_cell_has_a_conservative_observable_electron_channel", + "lines": [ + 62, + 62 + ], + "text_sha256": "949284819c2c03eb25eeafc328240d2251d4c48f2be5c0c00e802726f6a44a6f" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert quality[\"path_current_relative_error\"] < 1e-12", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-8f592d2c87572ddb4f1e1955": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_resolved_tunnelling_refinement.py", + "symbol": "test_real_resolved_cell_has_a_conservative_observable_electron_channel", + "lines": [ + 63, + 63 + ], + "text_sha256": "bf0d9497ba738a54943e98c5f58274cb5f1fee46f2609fec67fe47362dc3e06a" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert quality[\"injected_face_count\"] > 3", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-c2c034804bf0cb7a24623867": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_resolved_tunnelling_refinement.py", + "symbol": "test_real_resolved_cell_has_a_conservative_observable_electron_channel", + "lines": [ + 64, + 64 + ], + "text_sha256": "556c64054a44fd84ca05c4c2b23a63c70d4610badfb600278209f5b3558ecca0" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert quality[\"maximum_reservoir_occupation\"] < 0.05", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-ab22c6c1fecea6995b8633aa": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_resolved_tunnelling_refinement.py", + "symbol": "test_real_resolved_cell_has_a_conservative_observable_electron_channel", + "lines": [ + 65, + 65 + ], + "text_sha256": "9ee8dbbb07eb9d423a191a9f1f094d9039689a7aa660530e9560b23cadd08592" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert quality[\"minimum_reservoir_occupation\"] > 1e-12", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-300b2055270ebc19686bdc9d": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_resolved_tunnelling_refinement.py", + "symbol": "test_real_resolved_cell_has_a_conservative_observable_electron_channel", + "lines": [ + 66, + 66 + ], + "text_sha256": "d6c47b911211a5760d29c88468ec98c99752761a01fbc0b02a549b683848efaa" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert quality[\"disabled_bit_identical\"] == 1.0", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-57830b5a00bf2270b8e52ea4": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_tunnelling_channels_device.py", + "symbol": "test_equilibrium_device_current_is_bounded_without_saturated_occupations", + "lines": [ + 243, + 243 + ], + "text_sha256": "712ea62af905e83997cedd736c4e182287d2ea8408cbce492e61a60018992a94" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert abs(Q * diagnostics.channel_net_flux_m2_s[0]) < 1e-8", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-872f0522c976800e25d9617d": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_tunnelling_channels_device.py", + "symbol": "test_equilibrium_device_current_is_bounded_without_saturated_occupations", + "lines": [ + 244, + 244 + ], + "text_sha256": "699a8965764d02a1008117cd93922b789fa6d7c08ade09d22b316f03b8f41fcf" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.max(np.abs(diagnostics.electron_face_current_A_m2)) < 1e-8", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-c9a1c0b3281621ba58009994": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_tunnelling_channels_device.py", + "symbol": "test_equilibrium_device_current_is_bounded_without_saturated_occupations", + "lines": [ + 247, + 247 + ], + "text_sha256": "cb6f5dcd9d2dda4ead7f3d47b8b4209598e3901f13a5548be7ef45a3e0526a43" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.all((occupation > 0.0) & (occupation < 1e-3))", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-fce16d164bd2dbe593b71fd2": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_tunnelling_channels_device.py", + "symbol": "test_retracted_fixture_does_not_retain_the_old_large_flux_claim", + "lines": [ + 217, + 217 + ], + "text_sha256": "f5d6e95fbe180344bb432f6217e375eca3e88f89829caf22d094858a86f69ceb" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert with_channel.certified is True", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-612abf1eeec64d43858e4e30": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_tunnelling_channels_device.py", + "symbol": "test_retracted_fixture_does_not_retain_the_old_large_flux_claim", + "lines": [ + 218, + 218 + ], + "text_sha256": "3dfe0cadc19d031b04250f0e952e50b0e1b555bdd337eb69f6285984c2642ff7" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert diagnostics is not None", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-236182699f478ab804efc0bb": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_tunnelling_channels_device.py", + "symbol": "test_retracted_fixture_does_not_retain_the_old_large_flux_claim", + "lines": [ + 219, + 219 + ], + "text_sha256": "768397f695d7474e102b9e17eedf7139748fee9366dd9c44ed6b8cc11d2ba936" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert diagnostics.channel_names == (\"intraband_electron\",)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-a9363f87d90c83efdafc842a": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_tunnelling_channels_device.py", + "symbol": "test_retracted_fixture_does_not_retain_the_old_large_flux_claim", + "lines": [ + 221, + 221 + ], + "text_sha256": "d6cf7a57f44f7bdf1189a25542a7181d1b226522a10208f587675421e1ed9c53" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert net != 0.0", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-9e84231637f9a9e3b198db66": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_tunnelling_channels_device.py", + "symbol": "test_retracted_fixture_does_not_retain_the_old_large_flux_claim", + "lines": [ + 222, + 222 + ], + "text_sha256": "df9b92de7a02790d0f17cdc719522158119642017da80141cac68a1f94fac347" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert abs(Q * net) < 0.01 * abs(without.current_A_m2)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-7b78014db03f6e2e3ca1a81f": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_tunnelling_channels_device.py", + "symbol": "test_the_channel_is_driven_by_the_local_drop_not_the_contact_split", + "lines": [ + 276, + 276 + ], + "text_sha256": "0f6cb26b41ae378c39fe421986069766822bfc468959be635106614f01f7c87a" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_array_equal(altered.electron_face_current_A_m2, original.electron_face_current_A_m2)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-7fadddc329dea7408e3f6f99": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_tunneling_channels.py", + "symbol": "test_a_disabled_channel_refuses_rather_than_returning_zero", + "lines": [ + 212, + 212 + ], + "text_sha256": "3cacc88f46a242bea865218ad406efdfd1c6129b7716521fa24a3ea8d8c217e0" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(TunnellingChannelError, match=\"disabled\"):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-b4ec3ac1295c8b80ac207075": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_wkb_local_windows.py", + "symbol": "test_forbidden_run_isolates_the_barrier_containing_the_face", + "lines": [ + 51, + 51 + ], + "text_sha256": "ecba1851fe55937d94ece820e36470f318061d958cde4beb2e5d1cac8055853d" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert high_a < low_b, \"the two runs must not overlap\"", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-de387ba18f050955a46c554f": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_wkb_local_windows.py", + "symbol": "test_forbidden_run_isolates_the_barrier_containing_the_face", + "lines": [ + 52, + 52 + ], + "text_sha256": "9f432e446965c087ce827711b5412a9b1366f56b0a2fdf06a68c4b76d129c0e7" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert low_a <= first_face <= high_a", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-70efdb764589b4fabc082f27": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_wkb_local_windows.py", + "symbol": "test_forbidden_run_isolates_the_barrier_containing_the_face", + "lines": [ + 53, + 53 + ], + "text_sha256": "44327dadc1b2c50cfcc21248743211f0cbe67160d9fdcef08e3fd20b59851c91" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert low_b <= second_face <= high_b", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-c3e968c1553beb9a79d765dc": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_wkb_local_windows.py", + "symbol": "test_forbidden_run_isolates_the_barrier_containing_the_face", + "lines": [ + 59, + 59 + ], + "text_sha256": "148eaf147c72fb46b9f76df8697478a302f8287658bb11f6d38b9b769438d033" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert part_a < whole and part_b < whole", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-b6674b5b21928b5233a48520": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_wkb_local_windows.py", + "symbol": "test_forbidden_run_isolates_the_barrier_containing_the_face", + "lines": [ + 60, + 60 + ], + "text_sha256": "bb1a37284f7cdd4c57c30c4e9fdd56e4a1444ef2d99cc0777f486fb1f3655816" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert part_a + part_b == pytest.approx(whole, rel=1e-13)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-0487de46f519d16fe8b7e54a": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_wkb_local_windows.py", + "symbol": "test_two_band_action_matches_the_closed_form_zener_exponent", + "lines": [ + 145, + 145 + ], + "text_sha256": "0155fcd64f21175c26137a363b42d439c16b9084b3d96132702a02e1a5f478dc" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert action == pytest.approx(exact, rel=1.0e-5)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-6911634f3464b69af3a679bb": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_wkb_tunneling.py", + "symbol": "test_equal_occupations_give_an_exactly_zero_net_flux", + "lines": [ + 159, + 159 + ], + "text_sha256": "c4d967fe84397ef8696684767cae6f5355788ce3c7ab67c1c0cd806f14ff99ef" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert flux.net_flux_m2_s == 0.0", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-47e14a0b2cef462b1ed01552": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_wkb_tunneling.py", + "symbol": "test_equal_occupations_give_an_exactly_zero_net_flux", + "lines": [ + 160, + 160 + ], + "text_sha256": "eea92b1095b345aeee3bfc3b628391e68aed613f009fca9e03015f226e9ce834" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert flux.forward_flux_m2_s == flux.reverse_flux_m2_s", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-78b06db39d1f04cba76ceecb": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_wkb_tunneling.py", + "symbol": "test_equal_occupations_give_an_exactly_zero_net_flux", + "lines": [ + 161, + 161 + ], + "text_sha256": "53b5ed6aed666d73f18a7070ebeba33608b490d81092f124302e0f22e41bec41" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert flux.forward_flux_m2_s > 0.0", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-238c24f11cf312d7b655bf6a": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_tunnelling_channel_refinement.py", + "symbol": "test_lane_declares_a_three_by_three_matrix_and_an_energy_ladder", + "lines": [ + 52, + 52 + ], + "text_sha256": "598d86e43f3439ccb9adf49eacd7a014b0f6943d2f84656b7ec9408a9de79b52" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert len(lane.matrix_points) == 9", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-25099538d56d5b1241124b83": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_tunnelling_channel_refinement.py", + "symbol": "test_lane_declares_a_three_by_three_matrix_and_an_energy_ladder", + "lines": [ + 53, + 53 + ], + "text_sha256": "f74737e733c973c910fc212bc83aa8b511de451aa1dab43a99cff4a962e8fbad" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert lane.grid_values == (24, 48, 96)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-156682f400dce6070ea29658": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_tunnelling_channel_refinement.py", + "symbol": "test_lane_declares_a_three_by_three_matrix_and_an_energy_ladder", + "lines": [ + 54, + 54 + ], + "text_sha256": "a893c4cb9253a585462e02e54036879845caae1b23eeedcb2f5d8114a99e29b1" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert lane.tolerance_factors == (1.0, 0.1, 0.01)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-06582136908892dd99c70f90": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_tunnelling_channel_refinement.py", + "symbol": "test_lane_declares_a_three_by_three_matrix_and_an_energy_ladder", + "lines": [ + 59, + 59 + ], + "text_sha256": "51f3db7bb3b71a3b3d2a61d36c299b7aeb97ecaa154a2dc614556e06d654d2e5" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert lane.options[\"energy_quadrature_orders\"] == [96, 192, 384]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-cdd4542e58be63d4422aa848": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_tunnelling_channel_refinement.py", + "symbol": "test_the_channel_flux_is_an_observable_not_only_the_terminal_current", + "lines": [ + 76, + 76 + ], + "text_sha256": "d790f617c59211d83126d1fd306c5894d57b39955e77424c79c7e979d04353b4" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert \"intraband_electron_net_flux_m2_s\" in metrics", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-32974b7ffc6656454270931e": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_tunnelling_channel_refinement.py", + "symbol": "test_the_channel_flux_is_an_observable_not_only_the_terminal_current", + "lines": [ + 80, + 80 + ], + "text_sha256": "796a76245b07d21d2e4e0be803126e0ad9e9bd2ff7a2d28b5fce69d0811a0670" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert \"intraband_electron_maximum_action\" in metrics", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-b46d090c90a528138aa30e1d": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_tunnelling_channel_refinement.py", + "symbol": "test_the_channel_flux_is_an_observable_not_only_the_terminal_current", + "lines": [ + 81, + 81 + ], + "text_sha256": "cff55fb984f09b5b8a90d40874c31bba5c373f85107bda7ce05e86da4cedd938" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert \"intraband_electron_minimum_transmission\" not in metrics", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-91ad5ba99c640c58dd7f4ed7": { + "quantity": "structured_dense_terminal_interface_state_relative_difference", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/algebraic-interface-state-dae-transient-v1/observables/structured_dense_terminal_interface_state_relative_difference", + "value_sha256": "b18b8572a6a7d2a47135da3442aa89c32d3ed01048fd8f29d954630c19f7a56e" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 1e-10, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-63a9647106682e5e7c42a8dd": { + "quantity": "structured_dense_terminal_log_density_difference", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/algebraic-interface-state-dae-transient-v1/observables/structured_dense_terminal_log_density_difference", + "value_sha256": "b18b8572a6a7d2a47135da3442aa89c32d3ed01048fd8f29d954630c19f7a56e" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 1e-10, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-20627e8235e4b37b82668156": { + "quantity": "structured_dense_terminal_potential_difference_V", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/algebraic-interface-state-dae-transient-v1/observables/structured_dense_terminal_potential_difference_V", + "value_sha256": "b0bb8279d27a7857370ea1dfcb337aa31866d2473b2e6810a75e27ad529fb158" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 1e-12, + "units": "V" + }, + "unit": "V", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-33302fa1bcc16245a80e15d4": { + "quantity": "terminal_interface_state_relative_error", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/algebraic-interface-state-dae-transient-v1/observables/terminal_interface_state_relative_error", + "value_sha256": "68b955a644651e1212f6480566bf7da333170203c3ea2c963f8f2b605667b9cd" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.004, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-51eccde34c18287859f50a39": { + "quantity": "terminal_interface_occupation", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/algebraic-interface-state-dae-transient-v1/observables/terminal_interface_occupation", + "value_sha256": "4aca14290e3320cff2ac15364b208a2b524ec4cb039e6d11e97c29d6bfde6668" + }, + "gate_value": { + "comparison": "pointwise_relative_linf", + "limit": 0.02, + "units": "1" + }, + "unit": "1", + "norm": "pointwise_relative_linf", + "scale": { + "kind": "original_symmetric_pair_scale", + "relative_floor": 1e-30 + }, + "zero_policy": { + "kind": "original_relative_floor", + "value": 1e-30 + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-fb702abac313346d64f6db9b": { + "quantity": "terminal_log_density_error", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/algebraic-interface-state-dae-transient-v1/observables/terminal_log_density_error", + "value_sha256": "68b955a644651e1212f6480566bf7da333170203c3ea2c963f8f2b605667b9cd" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.004, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-b773dd37034ba8f1b523eee1": { + "quantity": "terminal_potential_error_V", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/algebraic-interface-state-dae-transient-v1/observables/terminal_potential_error_V", + "value_sha256": "0b239137066c1a56bb4e31fbc5759c773c0eef0b61c0739ff3784c941d8ffa6b" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 5e-13, + "units": "V" + }, + "unit": "V", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-25e4e063f7996f6351165e6e": { + "quantity": "algebraic_interface_topology_verified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/algebraic-interface-state-dae-transient-v1/quality_gates/algebraic_interface_topology_verified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-e4b4e5c4c98a46a2c07a94e0": { + "quantity": "bulk_srh_denominator_positive", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/algebraic-interface-state-dae-transient-v1/quality_gates/bulk_srh_denominator_positive", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-29c26a5e0318c6db94e1e006": { + "quantity": "clamp_inactive_slice_verified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/algebraic-interface-state-dae-transient-v1/quality_gates/clamp_inactive_slice_verified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-9c40349eb44bfca3bafa9a09": { + "quantity": "consistent_initial_condition_certified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/algebraic-interface-state-dae-transient-v1/quality_gates/consistent_initial_condition_certified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-5c4a2009bbf353979983b625": { + "quantity": "dense_reference_success", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/algebraic-interface-state-dae-transient-v1/quality_gates/dense_reference_success", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-245c3e13571106a43aeead88": { + "quantity": "max_electron_balance_defect_A_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/algebraic-interface-state-dae-transient-v1/quality_gates/max_electron_balance_defect_A_m2", + "value_sha256": "d877fd06d5c5e98c735ca473e1bed81d3235f1b1e11bc0a7074f7f76f0430d5f" + }, + "gate_value": { + "operator": "le", + "limit": 2e-08, + "units": "A m-2" + }, + "unit": "A m-2", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-9078b255d578781b9d4a6ce1": { + "quantity": "max_hole_balance_defect_A_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/algebraic-interface-state-dae-transient-v1/quality_gates/max_hole_balance_defect_A_m2", + "value_sha256": "d877fd06d5c5e98c735ca473e1bed81d3235f1b1e11bc0a7074f7f76f0430d5f" + }, + "gate_value": { + "operator": "le", + "limit": 2e-08, + "units": "A m-2" + }, + "unit": "A m-2", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-b8b126ee3a3bce7105b4a136": { + "quantity": "max_interface_state_balance_A_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/algebraic-interface-state-dae-transient-v1/quality_gates/max_interface_state_balance_A_m2", + "value_sha256": "d877fd06d5c5e98c735ca473e1bed81d3235f1b1e11bc0a7074f7f76f0430d5f" + }, + "gate_value": { + "operator": "le", + "limit": 2e-08, + "units": "A m-2" + }, + "unit": "A m-2", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-2fdac91ee60a0d3d3250d492": { + "quantity": "max_normalized_algebraic_residual", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/algebraic-interface-state-dae-transient-v1/quality_gates/max_normalized_algebraic_residual", + "value_sha256": "4170b0e30bcaa5acefa62c46b3ac441b4da0a5cdcf850b965fe3426fd5b7f69f" + }, + "gate_value": { + "operator": "le", + "limit": 1e-08, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-39211f1fb97f939d8fea691f": { + "quantity": "max_normalized_carrier_residual", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/algebraic-interface-state-dae-transient-v1/quality_gates/max_normalized_carrier_residual", + "value_sha256": "ab051a38d8541f0302525dd8e763efc0493df492e2dddc3470d7033d8dd54c2a" + }, + "gate_value": { + "operator": "le", + "limit": 5e-08, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-502a03f8cb9eefc1bc370ec0": { + "quantity": "max_normalized_interface_residual", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/algebraic-interface-state-dae-transient-v1/quality_gates/max_normalized_interface_residual", + "value_sha256": "4170b0e30bcaa5acefa62c46b3ac441b4da0a5cdcf850b965fe3426fd5b7f69f" + }, + "gate_value": { + "operator": "le", + "limit": 1e-08, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-71c9d523ecd416a04b2e64e9": { + "quantity": "max_structured_dense_interface_state_relative_difference", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/algebraic-interface-state-dae-transient-v1/quality_gates/max_structured_dense_interface_state_relative_difference", + "value_sha256": "d05931d5e401d506375c19c8b7c15d33b614369a54c1d98ca2f90ea1b9fa50a0" + }, + "gate_value": { + "operator": "le", + "limit": 1e-10, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-c339ee246f13e9b872ab6406": { + "quantity": "max_structured_dense_log_density_difference", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/algebraic-interface-state-dae-transient-v1/quality_gates/max_structured_dense_log_density_difference", + "value_sha256": "d05931d5e401d506375c19c8b7c15d33b614369a54c1d98ca2f90ea1b9fa50a0" + }, + "gate_value": { + "operator": "le", + "limit": 1e-10, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-2f026b0213d4f3f1b6ca5515": { + "quantity": "max_structured_dense_potential_difference_V", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/algebraic-interface-state-dae-transient-v1/quality_gates/max_structured_dense_potential_difference_V", + "value_sha256": "0f99613322054185c71a84566af0812022165af8a633d15c6d25661862c751c3" + }, + "gate_value": { + "operator": "le", + "limit": 1e-12, + "units": "V" + }, + "unit": "V", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-ab4f46a95aea1219f7f134a4": { + "quantity": "max_terminal_interface_state_relative_error", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/algebraic-interface-state-dae-transient-v1/quality_gates/max_terminal_interface_state_relative_error", + "value_sha256": "9f1d9f717a3ae05d68fa3a1a041701e163907a904c87d6a56a5fda97b7b59dfa" + }, + "gate_value": { + "operator": "le", + "limit": 0.005, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-dcb5a154af7f2f9c0469d0e2": { + "quantity": "max_terminal_log_density_error", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/algebraic-interface-state-dae-transient-v1/quality_gates/max_terminal_log_density_error", + "value_sha256": "9f1d9f717a3ae05d68fa3a1a041701e163907a904c87d6a56a5fda97b7b59dfa" + }, + "gate_value": { + "operator": "le", + "limit": 0.005, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-2192793478338066ac3b3958": { + "quantity": "max_terminal_potential_error_V", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/algebraic-interface-state-dae-transient-v1/quality_gates/max_terminal_potential_error_V", + "value_sha256": "25fb0eb5e46c4b98b027609e1d553d6f5f34307283bf4cca0db217e74e81e6e9" + }, + "gate_value": { + "operator": "le", + "limit": 1e-10, + "units": "V" + }, + "unit": "V", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-7de345a3af8110109344ba1c": { + "quantity": "mol_numerical_health_passed", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/algebraic-interface-state-dae-transient-v1/quality_gates/mol_numerical_health_passed", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-ccaad0ba2c10db936468f43b": { + "quantity": "mol_reference_success", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/algebraic-interface-state-dae-transient-v1/quality_gates/mol_reference_success", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-36ee5da388ee0e9fd3f145f7": { + "quantity": "structured_analytic_success", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/algebraic-interface-state-dae-transient-v1/quality_gates/structured_analytic_success", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-f3a9c66dd58886b09b8a5077": { + "quantity": "structured_csr_nonzeros_per_node", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/algebraic-interface-state-dae-transient-v1/quality_gates/structured_csr_nonzeros_per_node", + "value_sha256": "8e1373342e91c2d66945cbead80ff3484338b14d86cabcd9286029efb9a887b6" + }, + "gate_value": { + "operator": "le", + "limit": 20.0, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-1455f24791a3350d42496394": { + "quantity": "structured_jacobian_condition_finite", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/algebraic-interface-state-dae-transient-v1/quality_gates/structured_jacobian_condition_finite", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-32b1f921d606f0a7e0bad003": { + "quantity": "structured_rhs_work_fraction", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/algebraic-interface-state-dae-transient-v1/quality_gates/structured_rhs_work_fraction", + "value_sha256": "a3a1d01b85980d58d2e680fc64ca0a5086cddcdddba4522aee8cf50dc897b6e8" + }, + "gate_value": { + "operator": "le", + "limit": 0.1, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-f6c2d52a5fa6be8266cc46ea": { + "quantity": "terminal_densities_positive", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/algebraic-interface-state-dae-transient-v1/quality_gates/terminal_densities_positive", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-dabdee2150ea3c1131544d70": { + "quantity": "terminal_interface_states_bounded", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/algebraic-interface-state-dae-transient-v1/quality_gates/terminal_interface_states_bounded", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-e1dc1457b6addfdb56c8d696": { + "quantity": "left_contact_trap_occupancy", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/bulk-energy-distributed-trap-equilibrium-v1/observables/left_contact_trap_occupancy", + "value_sha256": "9ef432633eced5828d07e99472cfe3e3351d752c4d73cda25e7769f254d00ef0" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 1e-12, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-4f333cb52bfab43eef60ef2d": { + "quantity": "normalized_integrated_bulk_trap_charge", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/bulk-energy-distributed-trap-equilibrium-v1/observables/normalized_integrated_bulk_trap_charge", + "value_sha256": "6304e9b7889128b4178bd5dd8397b419e1d33129ff2321ee8f9781cfce01fb31" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.0005, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-e1dc6491dfa0b46045077471": { + "quantity": "peak_field_to_average_built_in_ratio", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/bulk-energy-distributed-trap-equilibrium-v1/observables/peak_field_to_average_built_in_ratio", + "value_sha256": "03d98f34abe417ff7173e064bdb14049818a1024f62882fb7ff714a5fe033e8c" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.05, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-d6204f4edfd559a6438bb857": { + "quantity": "right_contact_trap_occupancy", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/bulk-energy-distributed-trap-equilibrium-v1/observables/right_contact_trap_occupancy", + "value_sha256": "9ef432633eced5828d07e99472cfe3e3351d752c4d73cda25e7769f254d00ef0" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 1e-12, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-8dcf2d8c0d1749a752b66800": { + "quantity": "bulk_trap_topology_verified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/bulk-energy-distributed-trap-equilibrium-v1/quality_gates/bulk_trap_topology_verified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-0c8d5457f68a9a50c764318a": { + "quantity": "contact_thermodynamics_certified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/bulk-energy-distributed-trap-equilibrium-v1/quality_gates/contact_thermodynamics_certified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-66e56c088a1dc1e37a5c56ce": { + "quantity": "default_production_path_rejected", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/bulk-energy-distributed-trap-equilibrium-v1/quality_gates/default_production_path_rejected", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-02bd7f1c228f88622e4630ce": { + "quantity": "energy_quadrature_orders_completed", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/bulk-energy-distributed-trap-equilibrium-v1/quality_gates/energy_quadrature_orders_completed", + "value_sha256": "a3f3f3d70d757b8c2431256d103927dd281998ff60471b38c1707a4604aab672" + }, + "gate_value": { + "operator": "eq", + "limit": 3.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-362189b87bf684bc089307b2": { + "quantity": "max_energy_charge_relative_change", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/bulk-energy-distributed-trap-equilibrium-v1/quality_gates/max_energy_charge_relative_change", + "value_sha256": "9f1d9f717a3ae05d68fa3a1a041701e163907a904c87d6a56a5fda97b7b59dfa" + }, + "gate_value": { + "operator": "le", + "limit": 0.005, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-4f00c8245df52a58e3795f70": { + "quantity": "max_energy_occupancy_relative_change", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/bulk-energy-distributed-trap-equilibrium-v1/quality_gates/max_energy_occupancy_relative_change", + "value_sha256": "9f1d9f717a3ae05d68fa3a1a041701e163907a904c87d6a56a5fda97b7b59dfa" + }, + "gate_value": { + "operator": "le", + "limit": 0.005, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-4e6b45dede9ae1e831c5d735": { + "quantity": "max_energy_recombination_relative_change", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/bulk-energy-distributed-trap-equilibrium-v1/quality_gates/max_energy_recombination_relative_change", + "value_sha256": "9f1d9f717a3ae05d68fa3a1a041701e163907a904c87d6a56a5fda97b7b59dfa" + }, + "gate_value": { + "operator": "le", + "limit": 0.005, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-397ff1e06d2acb7dbf21b44d": { + "quantity": "max_gauss_law_relative_error", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/bulk-energy-distributed-trap-equilibrium-v1/quality_gates/max_gauss_law_relative_error", + "value_sha256": "65704c467ce53fcb4b17f009a4b97242f7d1bdef4a3687b2a784d800842196c7" + }, + "gate_value": { + "operator": "le", + "limit": 1e-07, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-2fb36ce3fba543a7b9f4664f": { + "quantity": "max_mass_action_relative_error", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/bulk-energy-distributed-trap-equilibrium-v1/quality_gates/max_mass_action_relative_error", + "value_sha256": "39e4e66bbb6e4817b64fa08c183b4288e6f1103f9264d26c0e87f05a52d9b1d7" + }, + "gate_value": { + "operator": "le", + "limit": 1e-12, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-dfa4ce3a08384bee42079655": { + "quantity": "max_normalized_poisson_residual", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/bulk-energy-distributed-trap-equilibrium-v1/quality_gates/max_normalized_poisson_residual", + "value_sha256": "4170b0e30bcaa5acefa62c46b3ac441b4da0a5cdcf850b965fe3426fd5b7f69f" + }, + "gate_value": { + "operator": "le", + "limit": 1e-08, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-17476aca6d6b4316c009bf17": { + "quantity": "max_relative_face_current", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/bulk-energy-distributed-trap-equilibrium-v1/quality_gates/max_relative_face_current", + "value_sha256": "39e4e66bbb6e4817b64fa08c183b4288e6f1103f9264d26c0e87f05a52d9b1d7" + }, + "gate_value": { + "operator": "le", + "limit": 1e-12, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-0966fa61005342cad8bf5d98": { + "quantity": "maximum_newton_iterations", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/bulk-energy-distributed-trap-equilibrium-v1/quality_gates/maximum_newton_iterations", + "value_sha256": "25aaa2dd6313a593cc8ca24e49e4550f95e51b6b7de6429ab942bda825de9370" + }, + "gate_value": { + "operator": "le", + "limit": 25.0, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-359c38c0b461035d01927cb1": { + "quantity": "minimum_absolute_integrated_bulk_trap_charge_C_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/bulk-energy-distributed-trap-equilibrium-v1/quality_gates/minimum_absolute_integrated_bulk_trap_charge_C_m2", + "value_sha256": "8df9f6cef257eeaac4d844ad0829f337bc68d2d5f7576673a835fa475e1395a5" + }, + "gate_value": { + "operator": "ge", + "limit": 0.001, + "units": "C/m2" + }, + "unit": "C/m2", + "norm": "ge", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-b9013c2a044249c7d67c6fb2": { + "quantity": "terminal_densities_positive", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/bulk-energy-distributed-trap-equilibrium-v1/quality_gates/terminal_densities_positive", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-aeb44696b3c48c61d3faa639": { + "quantity": "trap_occupancy_bounded", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/bulk-energy-distributed-trap-equilibrium-v1/quality_gates/trap_occupancy_bounded", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-7edfef91fb1dde3130ea0ce2": { + "quantity": "acceptor_normalized_charge_profile", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/charged-explicit-defect-qf-dc-v1/observables/acceptor_normalized_charge_profile", + "value_sha256": "6304e9b7889128b4178bd5dd8397b419e1d33129ff2321ee8f9781cfce01fb31" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.0005, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-038d208db9c34114415f8c4d": { + "quantity": "acceptor_occupancy_profile", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/charged-explicit-defect-qf-dc-v1/observables/acceptor_occupancy_profile", + "value_sha256": "6304e9b7889128b4178bd5dd8397b419e1d33129ff2321ee8f9781cfce01fb31" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.0005, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-0cfa16d843b2b5b68e819fa1": { + "quantity": "donor_normalized_charge_profile", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/charged-explicit-defect-qf-dc-v1/observables/donor_normalized_charge_profile", + "value_sha256": "6304e9b7889128b4178bd5dd8397b419e1d33129ff2321ee8f9781cfce01fb31" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.0005, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-600ee4533ad3a6adae21c2b6": { + "quantity": "donor_occupancy_profile", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/charged-explicit-defect-qf-dc-v1/observables/donor_occupancy_profile", + "value_sha256": "6304e9b7889128b4178bd5dd8397b419e1d33129ff2321ee8f9781cfce01fb31" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.0005, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-8372b4a4bd6bdcd91ce32d16": { + "quantity": "pn_dark_electron_log10_profile", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/charged-explicit-defect-qf-dc-v1/observables/pn_dark_electron_log10_profile", + "value_sha256": "cb5e0f36e26dbdac2e0980cb9b77f2c40417239f9e4bbfe1484b54ff768f258f" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.005, + "units": "log10(m-3)" + }, + "unit": "log10(m-3)", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-f9415c920aba5c151c11b03d": { + "quantity": "pn_dark_hole_log10_profile", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/charged-explicit-defect-qf-dc-v1/observables/pn_dark_hole_log10_profile", + "value_sha256": "cb5e0f36e26dbdac2e0980cb9b77f2c40417239f9e4bbfe1484b54ff768f258f" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.005, + "units": "log10(m-3)" + }, + "unit": "log10(m-3)", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-4200d8e93632b5aa65f62f38": { + "quantity": "pn_dark_potential_V", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/charged-explicit-defect-qf-dc-v1/observables/pn_dark_potential_V", + "value_sha256": "ec5dc88fa6879fb176ca70df75d2a44a6b753559e12be822c8a40456fb217092" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.0005, + "units": "V" + }, + "unit": "V", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-d53f0a8071f4273983a236ca": { + "quantity": "pn_ff", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/charged-explicit-defect-qf-dc-v1/observables/pn_ff", + "value_sha256": "53ceb623c76035b2d3a89d5f154db2c93efd95547b58c05d6c82f1f9bcd45ce0" + }, + "gate_value": { + "comparison": "relative_linf", + "limit": 0.005, + "units": "1" + }, + "unit": "1", + "norm": "relative_linf", + "scale": { + "kind": "original_symmetric_pair_scale", + "relative_floor": 1e-30 + }, + "zero_policy": { + "kind": "original_relative_floor", + "value": 1e-30 + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-09b5af195b8dc43aaecfcaed": { + "quantity": "pn_jsc_A_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/charged-explicit-defect-qf-dc-v1/observables/pn_jsc_A_m2", + "value_sha256": "32ab8b7207f5095d8fa04ce6cfbdd73ae895e6d320cd839283d076a2bb30cce3" + }, + "gate_value": { + "comparison": "relative_linf", + "limit": 0.002, + "units": "A m-2" + }, + "unit": "A m-2", + "norm": "relative_linf", + "scale": { + "kind": "original_symmetric_pair_scale", + "relative_floor": 1e-30 + }, + "zero_policy": { + "kind": "original_relative_floor", + "value": 1e-30 + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-f087cd3ea6089a5df0d62a9d": { + "quantity": "pn_jv_current_A_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/charged-explicit-defect-qf-dc-v1/observables/pn_jv_current_A_m2", + "value_sha256": "6ea9e22aa20a56d549468bc2aec0e90e9f9dbb5695c57f46a9d003f3166d2d65" + }, + "gate_value": { + "comparison": "relative_linf", + "limit": 0.005, + "units": "A m-2" + }, + "unit": "A m-2", + "norm": "relative_linf", + "scale": { + "kind": "original_symmetric_pair_scale", + "relative_floor": 1e-30 + }, + "zero_policy": { + "kind": "original_relative_floor", + "value": 1e-30 + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-44714ed3f936fbcc73da5a17": { + "quantity": "pn_voc_V", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/charged-explicit-defect-qf-dc-v1/observables/pn_voc_V", + "value_sha256": "5c50fedcb008e35d34c6b96d54e9f1fac71a39749267c7732e193163a248aa5a" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.001, + "units": "V" + }, + "unit": "V", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-a533e211d4385eee41c5f640": { + "quantity": "s1_integrated_defect_charge_C_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/charged-explicit-defect-qf-dc-v1/observables/s1_integrated_defect_charge_C_m2", + "value_sha256": "d21778475133bf658c6686a1e02b1e3e42a2245125c65425fb1fa031c81f852c" + }, + "gate_value": { + "comparison": "relative_linf", + "limit": 0.001, + "units": "C m-2" + }, + "unit": "C m-2", + "norm": "relative_linf", + "scale": { + "kind": "original_symmetric_pair_scale", + "relative_floor": 1e-30 + }, + "zero_policy": { + "kind": "original_relative_floor", + "value": 1e-30 + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-9217fc44679125bf44a15fe9": { + "quantity": "s2_integrated_defect_charge_C_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/charged-explicit-defect-qf-dc-v1/observables/s2_integrated_defect_charge_C_m2", + "value_sha256": "d21778475133bf658c6686a1e02b1e3e42a2245125c65425fb1fa031c81f852c" + }, + "gate_value": { + "comparison": "relative_linf", + "limit": 0.001, + "units": "C m-2" + }, + "unit": "C m-2", + "norm": "relative_linf", + "scale": { + "kind": "original_symmetric_pair_scale", + "relative_floor": 1e-30 + }, + "zero_policy": { + "kind": "original_relative_floor", + "value": 1e-30 + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-d8636252e37a1b503b6d839f": { + "quantity": "all_states_certified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/charged-explicit-defect-qf-dc-v1/quality_gates/all_states_certified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-2ff61b842956a33ff1e5c96a": { + "quantity": "charged_model_hashes_verified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/charged-explicit-defect-qf-dc-v1/quality_gates/charged_model_hashes_verified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-fd2e341590ee10d216e9712b": { + "quantity": "charge_signs_verified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/charged-explicit-defect-qf-dc-v1/quality_gates/charge_signs_verified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-d227103273533073b07b351d": { + "quantity": "contact_thermodynamics_certified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/charged-explicit-defect-qf-dc-v1/quality_gates/contact_thermodynamics_certified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-4dd096f6e4a61e34472ffd7a": { + "quantity": "default_charged_path_rejected", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/charged-explicit-defect-qf-dc-v1/quality_gates/default_charged_path_rejected", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-8607af6eea92e78d67249e93": { + "quantity": "max_continuity_bound_A_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/charged-explicit-defect-qf-dc-v1/quality_gates/max_continuity_bound_A_m2", + "value_sha256": "eb4674202b2c3b3ba6d2ac0ad186fd18278e847425259470433b2548a853fd15" + }, + "gate_value": { + "operator": "le", + "limit": 0.0002, + "units": "A m-2" + }, + "unit": "A m-2", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-9eaf61f64a731a2da5740412": { + "quantity": "max_current_spread_A_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/charged-explicit-defect-qf-dc-v1/quality_gates/max_current_spread_A_m2", + "value_sha256": "eb4674202b2c3b3ba6d2ac0ad186fd18278e847425259470433b2548a853fd15" + }, + "gate_value": { + "operator": "le", + "limit": 0.0002, + "units": "A m-2" + }, + "unit": "A m-2", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-b0d7d4a3836116f16d27bd08": { + "quantity": "max_dark_current_A_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/charged-explicit-defect-qf-dc-v1/quality_gates/max_dark_current_A_m2", + "value_sha256": "f48b3ad5bcd8d136080c6ee89c7badef8cc80c467ca1ca51a77a98007331ecb3" + }, + "gate_value": { + "operator": "le", + "limit": 1e-08, + "units": "A m-2" + }, + "unit": "A m-2", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-e8bef59d18c47b994469b1a9": { + "quantity": "max_dark_qf_span_V", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/charged-explicit-defect-qf-dc-v1/quality_gates/max_dark_qf_span_V", + "value_sha256": "25fb0eb5e46c4b98b027609e1d553d6f5f34307283bf4cca0db217e74e81e6e9" + }, + "gate_value": { + "operator": "le", + "limit": 1e-10, + "units": "V" + }, + "unit": "V", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-787938b47aa1ec080e0d5e96": { + "quantity": "max_mass_action_relative_error", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/charged-explicit-defect-qf-dc-v1/quality_gates/max_mass_action_relative_error", + "value_sha256": "d05931d5e401d506375c19c8b7c15d33b614369a54c1d98ca2f90ea1b9fa50a0" + }, + "gate_value": { + "operator": "le", + "limit": 1e-10, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-f718fb0a298a493c1f574113": { + "quantity": "max_normalized_cell_residual", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/charged-explicit-defect-qf-dc-v1/quality_gates/max_normalized_cell_residual", + "value_sha256": "65704c467ce53fcb4b17f009a4b97242f7d1bdef4a3687b2a784d800842196c7" + }, + "gate_value": { + "operator": "le", + "limit": 1e-07, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-0bedf3504e861b3c66d41cc3": { + "quantity": "max_poisson_residual", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/charged-explicit-defect-qf-dc-v1/quality_gates/max_poisson_residual", + "value_sha256": "4170b0e30bcaa5acefa62c46b3ac441b4da0a5cdcf850b965fe3426fd5b7f69f" + }, + "gate_value": { + "operator": "le", + "limit": 1e-08, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-d65872fc5ec6b5b1cf835783": { + "quantity": "minimum_absolute_defect_charge_C_m3", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/charged-explicit-defect-qf-dc-v1/quality_gates/minimum_absolute_defect_charge_C_m3", + "value_sha256": "958e891d847175bcda30afa56045fee3f886d0bbeef481a7b1ec7cc9891ffa99" + }, + "gate_value": { + "operator": "ge", + "limit": 100.0, + "units": "C m-3" + }, + "unit": "C m-3", + "norm": "ge", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-0a7f74116ee65eadc741b1b6": { + "quantity": "minimum_kinetic_denominator_s1", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/charged-explicit-defect-qf-dc-v1/quality_gates/minimum_kinetic_denominator_s1", + "value_sha256": "70702b31176d18c51d87420c0809a663fab16c8a5db2ffccffea8d02210d68d8" + }, + "gate_value": { + "operator": "ge", + "limit": 1.0, + "units": "s-1" + }, + "unit": "s-1", + "norm": "ge", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-de9a0fb87337e8f96509ad0c": { + "quantity": "minimum_short_circuit_current_A_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/charged-explicit-defect-qf-dc-v1/quality_gates/minimum_short_circuit_current_A_m2", + "value_sha256": "5c799458e298b01895bfd562f9ea87475d35cf1b92067ccf09a119fc5e63c783" + }, + "gate_value": { + "operator": "ge", + "limit": 1.0, + "units": "A m-2" + }, + "unit": "A m-2", + "norm": "ge", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-925f44245489506d30b00ae8": { + "quantity": "monovalent_topology_verified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/charged-explicit-defect-qf-dc-v1/quality_gates/monovalent_topology_verified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-4ccd5da45818e32032ad739a": { + "quantity": "neutral_lifetime_bit_identical", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/charged-explicit-defect-qf-dc-v1/quality_gates/neutral_lifetime_bit_identical", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-f72fddf2757b51b1f5bf9b86": { + "quantity": "occupancy_bounded_without_clipping", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/charged-explicit-defect-qf-dc-v1/quality_gates/occupancy_bounded_without_clipping", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-5e869af4ba23ec523e9bd996": { + "quantity": "scenario_count", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/charged-explicit-defect-qf-dc-v1/quality_gates/scenario_count", + "value_sha256": "a3f3f3d70d757b8c2431256d103927dd281998ff60471b38c1707a4604aab672" + }, + "gate_value": { + "operator": "eq", + "limit": 3.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-09274696bb0039c32742e9c9": { + "quantity": "terminal_densities_positive", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/charged-explicit-defect-qf-dc-v1/quality_gates/terminal_densities_positive", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-89b4948400f10e53fdf240c5": { + "quantity": "voc_bracketed", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/charged-explicit-defect-qf-dc-v1/quality_gates/voc_bracketed", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-4752284e0b415f5fab1be5db": { + "quantity": "voltage_points_completed", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/charged-explicit-defect-qf-dc-v1/quality_gates/voltage_points_completed", + "value_sha256": "8a26d514afdd900fe46a0bb0b48259033de4136d8e75b4383c267498a70d794e" + }, + "gate_value": { + "operator": "eq", + "limit": 7.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-2f39967cafbf3a3135e0b03d": { + "quantity": "absorbed_photon_flux_m2_s", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/cigs-graded-optics-v1/observables/absorbed_photon_flux_m2_s", + "value_sha256": "eb28cd7aa1c702c0d996c25aef983d40c7ec00eb4915d4d153ad0d8be911df21" + }, + "gate_value": { + "comparison": "relative_linf", + "limit": 0.001, + "units": "m-2 s-1" + }, + "unit": "m-2 s-1", + "norm": "relative_linf", + "scale": { + "kind": "original_symmetric_pair_scale", + "relative_floor": 1e-30 + }, + "zero_policy": { + "kind": "original_relative_floor", + "value": 1e-30 + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-ab14679e61d6dd2855197447": { + "quantity": "generation_centroid_fraction", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/cigs-graded-optics-v1/observables/generation_centroid_fraction", + "value_sha256": "243ff00265fb1085827290aa7b1dba08e9b9d8bd7d8ffaf06a14b721ea278866" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.001, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-97a0f5cd135f3cd29133e2b5": { + "quantity": "mean_spectral_reflectance", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/cigs-graded-optics-v1/observables/mean_spectral_reflectance", + "value_sha256": "243ff00265fb1085827290aa7b1dba08e9b9d8bd7d8ffaf06a14b721ea278866" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.001, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-c2f51f70723c905460450058": { + "quantity": "normalized_generation_profile", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/cigs-graded-optics-v1/observables/normalized_generation_profile", + "value_sha256": "21c88fa6fe8abb8703e3781940725ca336c1b2afe0a5d439622e2095feb2512a" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.005, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-d05243b324264b555c377058": { + "quantity": "causal_nk_verified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/cigs-graded-optics-v1/quality_gates/causal_nk_verified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-65b22aa45fab19a29ca63848": { + "quantity": "cigs_optical_topology_verified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/cigs-graded-optics-v1/quality_gates/cigs_optical_topology_verified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-842c108c8cfb389199c315ed": { + "quantity": "default_gate_off_inert", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/cigs-graded-optics-v1/quality_gates/default_gate_off_inert", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-deaa52aa4967c52c64e97b3c": { + "quantity": "independent_carron_energy_points_completed", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/cigs-graded-optics-v1/quality_gates/independent_carron_energy_points_completed", + "value_sha256": "77759bf20111e63cf364f5d2c929e2d098d898e3c22c8671da9d331d42655ee6" + }, + "gate_value": { + "operator": "eq", + "limit": 453.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-5cd6755a145d5abc303dc158": { + "quantity": "max_carron_composition_median_relative_error", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/cigs-graded-optics-v1/quality_gates/max_carron_composition_median_relative_error", + "value_sha256": "beb29d5dc036a9da7a28e0b8c35ea72109ef738222e8fcdfafbcedcac4b96101" + }, + "gate_value": { + "operator": "le", + "limit": 0.08, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-adb22f23e6d4d9d0f456afb6": { + "quantity": "max_minoura_to_carron_ratio", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/cigs-graded-optics-v1/quality_gates/max_minoura_to_carron_ratio", + "value_sha256": "d477eea3540b8b84a245c2f0647d880ecdb1cd2cb0cb9c5460f0b414db216831" + }, + "gate_value": { + "operator": "le", + "limit": 1.15, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-efeec750424ac337f3e26e89": { + "quantity": "max_electrical_optical_gap_mismatch_eV", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/cigs-graded-optics-v1/quality_gates/max_electrical_optical_gap_mismatch_eV", + "value_sha256": "261630051f95b5308be9e99a73fad0efb4535a5edc35c290629c815572f215a9" + }, + "gate_value": { + "operator": "le", + "limit": 0.01, + "units": "eV" + }, + "unit": "eV", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-96056d8bfe75de93fa4e2553": { + "quantity": "max_photon_budget_excess_fraction", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/cigs-graded-optics-v1/quality_gates/max_photon_budget_excess_fraction", + "value_sha256": "39e4e66bbb6e4817b64fa08c183b4288e6f1103f9264d26c0e87f05a52d9b1d7" + }, + "gate_value": { + "operator": "le", + "limit": 1e-12, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-d19b73e87b46ff98af89b82a": { + "quantity": "max_reflectance_bound_violation", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/cigs-graded-optics-v1/quality_gates/max_reflectance_bound_violation", + "value_sha256": "39e4e66bbb6e4817b64fa08c183b4288e6f1103f9264d26c0e87f05a52d9b1d7" + }, + "gate_value": { + "operator": "le", + "limit": 1e-12, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-1a4618ef713e468b42de5e63": { + "quantity": "max_uniform_composition_reflectance_difference", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/cigs-graded-optics-v1/quality_gates/max_uniform_composition_reflectance_difference", + "value_sha256": "39e4e66bbb6e4817b64fa08c183b4288e6f1103f9264d26c0e87f05a52d9b1d7" + }, + "gate_value": { + "operator": "le", + "limit": 1e-12, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-ac1fd2b09706081097f94121": { + "quantity": "min_minoura_to_carron_ratio", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/cigs-graded-optics-v1/quality_gates/min_minoura_to_carron_ratio", + "value_sha256": "dc2b463eb3df935ea8a360c87251e32dc02078d64127dfc1a26ca0f4bfaf7d70" + }, + "gate_value": { + "operator": "ge", + "limit": 0.6, + "units": "1" + }, + "unit": "1", + "norm": "ge", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-be483a43c396877330cf0778": { + "quantity": "positive_absorbed_photon_flux", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/cigs-graded-optics-v1/quality_gates/positive_absorbed_photon_flux", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-1dd9d9737e0b0479c75aaf42": { + "quantity": "shared_composition_coordinate_verified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/cigs-graded-optics-v1/quality_gates/shared_composition_coordinate_verified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-586b7e9436478d5bfc26cb24": { + "quantity": "cv_curve_F_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/csi-qf-frequency-domain/observables/cv_curve_F_m2", + "value_sha256": "4c9fd8d51bddc68a6e0672ab4077737ccb4922c04294763a84fa1578c2d4b526" + }, + "gate_value": { + "comparison": "relative_linf", + "limit": 0.005, + "units": "F m-2" + }, + "unit": "F m-2", + "norm": "relative_linf", + "scale": { + "kind": "original_symmetric_pair_scale", + "relative_floor": 1e-30 + }, + "zero_policy": { + "kind": "original_relative_floor", + "value": 1e-30 + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-c3ab2dc342ac4ce84d29c54e": { + "quantity": "mott_intercept_V", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/csi-qf-frequency-domain/observables/mott_intercept_V", + "value_sha256": "76ccda59cd5167b03a172c9566a08ec0a081101c60b6a56f8daa6fc835c696b7" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.002, + "units": "V" + }, + "unit": "V", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-326e3370aac6ab65be92f01d": { + "quantity": "effective_doping_m3", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/csi-qf-frequency-domain/observables/effective_doping_m3", + "value_sha256": "797a9a040268a817902bf93443b7fc99e469cc42e86bbc19ef15c3afc74723bd" + }, + "gate_value": { + "comparison": "relative_linf", + "limit": 0.01, + "units": "m-3" + }, + "unit": "m-3", + "norm": "relative_linf", + "scale": { + "kind": "original_symmetric_pair_scale", + "relative_floor": 1e-30 + }, + "zero_policy": { + "kind": "original_relative_floor", + "value": 1e-30 + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-fbc60ddef221d66e310bcdbb": { + "quantity": "max_relative_face_spread", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/csi-qf-frequency-domain/quality_gates/max_relative_face_spread", + "value_sha256": "cb2d7f04f91feea565df9d0d421d74d9b6ec78ad5cdb0311546f188ec91a582a" + }, + "gate_value": { + "operator": "le", + "limit": 0.0005, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-eab38c6ba67bcb6dc2b2d659": { + "quantity": "max_backward_error", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/csi-qf-frequency-domain/quality_gates/max_backward_error", + "value_sha256": "d05931d5e401d506375c19c8b7c15d33b614369a54c1d98ca2f90ea1b9fa50a0" + }, + "gate_value": { + "operator": "le", + "limit": 1e-10, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-3081dcf8b271ac33fe651a49": { + "quantity": "dc_residual_certified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/csi-qf-frequency-domain/quality_gates/dc_residual_certified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-35a636452befff5c0f0fdf31": { + "quantity": "cv_curve_F_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/csi-qf-frequency-domain-resolved-v2/observables/cv_curve_F_m2", + "value_sha256": "4c9fd8d51bddc68a6e0672ab4077737ccb4922c04294763a84fa1578c2d4b526" + }, + "gate_value": { + "comparison": "relative_linf", + "limit": 0.005, + "units": "F m-2" + }, + "unit": "F m-2", + "norm": "relative_linf", + "scale": { + "kind": "original_symmetric_pair_scale", + "relative_floor": 1e-30 + }, + "zero_policy": { + "kind": "original_relative_floor", + "value": 1e-30 + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-f12c1246ce6a323cacb0183e": { + "quantity": "mott_intercept_V", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/csi-qf-frequency-domain-resolved-v2/observables/mott_intercept_V", + "value_sha256": "76ccda59cd5167b03a172c9566a08ec0a081101c60b6a56f8daa6fc835c696b7" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.002, + "units": "V" + }, + "unit": "V", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-490cfb3653cc2ea665e5860f": { + "quantity": "effective_doping_m3", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/csi-qf-frequency-domain-resolved-v2/observables/effective_doping_m3", + "value_sha256": "797a9a040268a817902bf93443b7fc99e469cc42e86bbc19ef15c3afc74723bd" + }, + "gate_value": { + "comparison": "relative_linf", + "limit": 0.01, + "units": "m-3" + }, + "unit": "m-3", + "norm": "relative_linf", + "scale": { + "kind": "original_symmetric_pair_scale", + "relative_floor": 1e-30 + }, + "zero_policy": { + "kind": "original_relative_floor", + "value": 1e-30 + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-66beed05916616caab56d92f": { + "quantity": "max_relative_face_spread", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/csi-qf-frequency-domain-resolved-v2/quality_gates/max_relative_face_spread", + "value_sha256": "cb2d7f04f91feea565df9d0d421d74d9b6ec78ad5cdb0311546f188ec91a582a" + }, + "gate_value": { + "operator": "le", + "limit": 0.0005, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-93bf85353ef693617f19e575": { + "quantity": "max_backward_error", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/csi-qf-frequency-domain-resolved-v2/quality_gates/max_backward_error", + "value_sha256": "d05931d5e401d506375c19c8b7c15d33b614369a54c1d98ca2f90ea1b9fa50a0" + }, + "gate_value": { + "operator": "le", + "limit": 1e-10, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-d8a6f879b5e3372af7918e1f": { + "quantity": "dc_residual_certified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/csi-qf-frequency-domain-resolved-v2/quality_gates/dc_residual_certified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-3d5a2380fd123c3e9382366f": { + "quantity": "depletion_width_to_analytic_ratio", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/degenerate-pn-equilibrium-v1/observables/depletion_width_to_analytic_ratio", + "value_sha256": "c05d7161eec396365608fe9eacec79c23f823fa1b77d2a8e4cbb43aa77d40e2b" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.002, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-d4325f95fc502fc0e537604f": { + "quantity": "peak_field_to_analytic_ratio", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/degenerate-pn-equilibrium-v1/observables/peak_field_to_analytic_ratio", + "value_sha256": "68b955a644651e1212f6480566bf7da333170203c3ea2c963f8f2b605667b9cd" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.004, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-ea50db2da005882d7b85f6f8": { + "quantity": "space_charge_balance_relative_error", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/degenerate-pn-equilibrium-v1/observables/space_charge_balance_relative_error", + "value_sha256": "7615fe895406e0ff5423675e899e91e615d4c26e5a3b6d508dfe72ce40dbf55d" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.01, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-87bb0402c890e4e45f822640": { + "quantity": "contact_thermodynamics_certified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/degenerate-pn-equilibrium-v1/quality_gates/contact_thermodynamics_certified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-ff61a5615d8ad166ae0f7d55": { + "quantity": "fd_recombination_off_topology_verified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/degenerate-pn-equilibrium-v1/quality_gates/fd_recombination_off_topology_verified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-7960e8fdbea18594ea8a4bb7": { + "quantity": "max_depletion_approximation_relative_error", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/degenerate-pn-equilibrium-v1/quality_gates/max_depletion_approximation_relative_error", + "value_sha256": "c3830405630646faf1f6a15fe04d34bebf43ded7dbea5b7249088cf65fdc1cf7" + }, + "gate_value": { + "operator": "le", + "limit": 0.05, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-b537f01dbef50a927f93bcda": { + "quantity": "max_normalized_carrier_rate", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/degenerate-pn-equilibrium-v1/quality_gates/max_normalized_carrier_rate", + "value_sha256": "39e4e66bbb6e4817b64fa08c183b4288e6f1103f9264d26c0e87f05a52d9b1d7" + }, + "gate_value": { + "operator": "le", + "limit": 1e-12, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-8c52c1bc447865aae77ac7f9": { + "quantity": "max_normalized_poisson_residual", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/degenerate-pn-equilibrium-v1/quality_gates/max_normalized_poisson_residual", + "value_sha256": "4170b0e30bcaa5acefa62c46b3ac441b4da0a5cdcf850b965fe3426fd5b7f69f" + }, + "gate_value": { + "operator": "le", + "limit": 1e-08, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-e29d6ac581b5d3f0205465c6": { + "quantity": "max_peak_field_approximation_relative_error", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/degenerate-pn-equilibrium-v1/quality_gates/max_peak_field_approximation_relative_error", + "value_sha256": "c3830405630646faf1f6a15fe04d34bebf43ded7dbea5b7249088cf65fdc1cf7" + }, + "gate_value": { + "operator": "le", + "limit": 0.05, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-196d66d88094525146b47e82": { + "quantity": "max_relative_face_current", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/degenerate-pn-equilibrium-v1/quality_gates/max_relative_face_current", + "value_sha256": "39e4e66bbb6e4817b64fa08c183b4288e6f1103f9264d26c0e87f05a52d9b1d7" + }, + "gate_value": { + "operator": "le", + "limit": 1e-12, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-558906d7b34db38684bdf4be": { + "quantity": "max_space_charge_balance_relative_error", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/degenerate-pn-equilibrium-v1/quality_gates/max_space_charge_balance_relative_error", + "value_sha256": "980e7a78594046b79bf4581eb60403c49e84f00cbbc2c757f6aabc49ac9207e9" + }, + "gate_value": { + "operator": "le", + "limit": 0.02, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-8eb1ea4bb6fe04fe56742432": { + "quantity": "newton_iterations", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/degenerate-pn-equilibrium-v1/quality_gates/newton_iterations", + "value_sha256": "8e1373342e91c2d66945cbead80ff3484338b14d86cabcd9286029efb9a887b6" + }, + "gate_value": { + "operator": "le", + "limit": 20.0, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-2f79e9cd8836190f59e0a15b": { + "quantity": "terminal_densities_positive", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/degenerate-pn-equilibrium-v1/quality_gates/terminal_densities_positive", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-09de497008f8b5b99d03540e": { + "quantity": "built_in_potential_V", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/distributed-explicit-defect-qf-dc-v1/observables/built_in_potential_V", + "value_sha256": "e9fdde81a647a15a086f5e1e48292bdc1cc7336882b754f915e41a3f4533c164" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.0001, + "units": "V" + }, + "unit": "V", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-73ec0e1b9f50670b9b925d2e": { + "quantity": "contact_reservoir_log10_m3", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/distributed-explicit-defect-qf-dc-v1/observables/contact_reservoir_log10_m3", + "value_sha256": "cb5e0f36e26dbdac2e0980cb9b77f2c40417239f9e4bbfe1484b54ff768f258f" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.005, + "units": "log10(m-3)" + }, + "unit": "log10(m-3)", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-89ecc036655cbbdab210d97f": { + "quantity": "dark_electron_log10_profile", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/distributed-explicit-defect-qf-dc-v1/observables/dark_electron_log10_profile", + "value_sha256": "773de7f3198c4086a38e0befaca6e378d5873899fe2cafb84798947a81a06a92" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.01, + "units": "log10(m-3)" + }, + "unit": "log10(m-3)", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-6e0745c7f16b936de93dcf67": { + "quantity": "dark_hole_log10_profile", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/distributed-explicit-defect-qf-dc-v1/observables/dark_hole_log10_profile", + "value_sha256": "773de7f3198c4086a38e0befaca6e378d5873899fe2cafb84798947a81a06a92" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.01, + "units": "log10(m-3)" + }, + "unit": "log10(m-3)", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-8d146657f932925c9b7666ec": { + "quantity": "dark_potential_V", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/distributed-explicit-defect-qf-dc-v1/observables/dark_potential_V", + "value_sha256": "ec5dc88fa6879fb176ca70df75d2a44a6b753559e12be822c8a40456fb217092" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.0005, + "units": "V" + }, + "unit": "V", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-becb84044e1ce0061a5b6442": { + "quantity": "dark_source_normalized_charge_profile", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/distributed-explicit-defect-qf-dc-v1/observables/dark_source_normalized_charge_profile", + "value_sha256": "21c88fa6fe8abb8703e3781940725ca336c1b2afe0a5d439622e2095feb2512a" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.005, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-f5176e098c1b30dfe2d430ad": { + "quantity": "dark_source_occupancy_profile", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/distributed-explicit-defect-qf-dc-v1/observables/dark_source_occupancy_profile", + "value_sha256": "21c88fa6fe8abb8703e3781940725ca336c1b2afe0a5d439622e2095feb2512a" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.005, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-a658d6721b4e7100861780eb": { + "quantity": "integrated_source_charge_C_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/distributed-explicit-defect-qf-dc-v1/observables/integrated_source_charge_C_m2", + "value_sha256": "2071f26873890afdb48cd7c7c1be49e3bdb724ecec6b9429d039f9dc8138e9da" + }, + "gate_value": { + "comparison": "relative_linf", + "limit": 0.005, + "units": "C m-2" + }, + "unit": "C m-2", + "norm": "relative_linf", + "scale": { + "kind": "original_symmetric_pair_scale", + "relative_floor": 1e-30 + }, + "zero_policy": { + "kind": "original_relative_floor", + "value": 1e-30 + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-75775c91f5051dfee8aa8c92": { + "quantity": "jv_current_A_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/distributed-explicit-defect-qf-dc-v1/observables/jv_current_A_m2", + "value_sha256": "32ab8b7207f5095d8fa04ce6cfbdd73ae895e6d320cd839283d076a2bb30cce3" + }, + "gate_value": { + "comparison": "relative_linf", + "limit": 0.002, + "units": "A m-2" + }, + "unit": "A m-2", + "norm": "relative_linf", + "scale": { + "kind": "original_symmetric_pair_scale", + "relative_floor": 1e-30 + }, + "zero_policy": { + "kind": "original_relative_floor", + "value": 1e-30 + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-b0059d9745848348b6410288": { + "quantity": "short_circuit_current_A_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/distributed-explicit-defect-qf-dc-v1/observables/short_circuit_current_A_m2", + "value_sha256": "32ab8b7207f5095d8fa04ce6cfbdd73ae895e6d320cd839283d076a2bb30cce3" + }, + "gate_value": { + "comparison": "relative_linf", + "limit": 0.002, + "units": "A m-2" + }, + "unit": "A m-2", + "norm": "relative_linf", + "scale": { + "kind": "original_symmetric_pair_scale", + "relative_floor": 1e-30 + }, + "zero_policy": { + "kind": "original_relative_floor", + "value": 1e-30 + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-574cc405ecb1be86b0c349c7": { + "quantity": "all_states_certified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/distributed-explicit-defect-qf-dc-v1/quality_gates/all_states_certified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-b4a0892a326383dc7ca82ee7": { + "quantity": "contact_thermodynamics_certified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/distributed-explicit-defect-qf-dc-v1/quality_gates/contact_thermodynamics_certified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-7123b8fea40d2fe7e0f26481": { + "quantity": "default_distributed_path_rejected", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/distributed-explicit-defect-qf-dc-v1/quality_gates/default_distributed_path_rejected", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-69533cc92cf92487ddba897c": { + "quantity": "distributed_energy_metadata_verified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/distributed-explicit-defect-qf-dc-v1/quality_gates/distributed_energy_metadata_verified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-0e81dae6223baed5e48f013f": { + "quantity": "distributed_model_hashes_verified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/distributed-explicit-defect-qf-dc-v1/quality_gates/distributed_model_hashes_verified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-6fc4209206799b2567168b93": { + "quantity": "distributed_topology_verified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/distributed-explicit-defect-qf-dc-v1/quality_gates/distributed_topology_verified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-e444eb407dcb745fad534088": { + "quantity": "energy_orders_completed", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/distributed-explicit-defect-qf-dc-v1/quality_gates/energy_orders_completed", + "value_sha256": "a3f3f3d70d757b8c2431256d103927dd281998ff60471b38c1707a4604aab672" + }, + "gate_value": { + "operator": "eq", + "limit": 3.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-b12702a1d4e267a2dfb7116f": { + "quantity": "max_contact_fermi_level_span_eV", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/distributed-explicit-defect-qf-dc-v1/quality_gates/max_contact_fermi_level_span_eV", + "value_sha256": "aea787a5bcd9497a7ac2e11cce730461635f93203f3958848d7b1fed982ae6ed" + }, + "gate_value": { + "operator": "le", + "limit": 1e-10, + "units": "eV" + }, + "unit": "eV", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-f42ee6d3773871ba286975a1": { + "quantity": "max_continuity_bound_A_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/distributed-explicit-defect-qf-dc-v1/quality_gates/max_continuity_bound_A_m2", + "value_sha256": "eb4674202b2c3b3ba6d2ac0ad186fd18278e847425259470433b2548a853fd15" + }, + "gate_value": { + "operator": "le", + "limit": 0.0002, + "units": "A m-2" + }, + "unit": "A m-2", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-a7d27e826e1cad48605951a7": { + "quantity": "max_current_spread_A_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/distributed-explicit-defect-qf-dc-v1/quality_gates/max_current_spread_A_m2", + "value_sha256": "eb4674202b2c3b3ba6d2ac0ad186fd18278e847425259470433b2548a853fd15" + }, + "gate_value": { + "operator": "le", + "limit": 0.0002, + "units": "A m-2" + }, + "unit": "A m-2", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-d2175ce7670d4b3faf1f85e5": { + "quantity": "max_dark_current_A_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/distributed-explicit-defect-qf-dc-v1/quality_gates/max_dark_current_A_m2", + "value_sha256": "41d2a9851dde20afdaff497627d5d3047ad3e199a5fb3541f04ef0b4ff3dcf50" + }, + "gate_value": { + "operator": "le", + "limit": 1e-06, + "units": "A m-2" + }, + "unit": "A m-2", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-13754db5e69650655f2ffd3a": { + "quantity": "max_dark_qf_span_V", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/distributed-explicit-defect-qf-dc-v1/quality_gates/max_dark_qf_span_V", + "value_sha256": "25fb0eb5e46c4b98b027609e1d553d6f5f34307283bf4cca0db217e74e81e6e9" + }, + "gate_value": { + "operator": "le", + "limit": 1e-10, + "units": "V" + }, + "unit": "V", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-40ff2dffd731082da9386980": { + "quantity": "max_dark_recombination_rate_m3_s", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/distributed-explicit-defect-qf-dc-v1/quality_gates/max_dark_recombination_rate_m3_s", + "value_sha256": "b59f6750facb8cbf9914757855d46c6e837417ea61ba09bad04f9e2dcd432b4a" + }, + "gate_value": { + "operator": "le", + "limit": "1.0e12", + "units": "m-3 s-1" + }, + "unit": "m-3 s-1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-a77a948713918bd38e954007": { + "quantity": "max_energy_contact_log10_change", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/distributed-explicit-defect-qf-dc-v1/quality_gates/max_energy_contact_log10_change", + "value_sha256": "aead4e79e33097e44b957fdc4e33195e9e372c49eff7b8a169e97bc72400029d" + }, + "gate_value": { + "operator": "le", + "limit": 0.005, + "units": "log10(m-3)" + }, + "unit": "log10(m-3)", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-72dd77cee6633befe4280ea1": { + "quantity": "max_energy_current_relative_change", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/distributed-explicit-defect-qf-dc-v1/quality_gates/max_energy_current_relative_change", + "value_sha256": "9f1d9f717a3ae05d68fa3a1a041701e163907a904c87d6a56a5fda97b7b59dfa" + }, + "gate_value": { + "operator": "le", + "limit": 0.005, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-e1bf3fbe7a151914f5972df0": { + "quantity": "max_energy_normalized_charge_change", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/distributed-explicit-defect-qf-dc-v1/quality_gates/max_energy_normalized_charge_change", + "value_sha256": "9f1d9f717a3ae05d68fa3a1a041701e163907a904c87d6a56a5fda97b7b59dfa" + }, + "gate_value": { + "operator": "le", + "limit": 0.005, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-e6a1c9ae93c121a3261e1d46": { + "quantity": "max_energy_occupancy_absolute_change", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/distributed-explicit-defect-qf-dc-v1/quality_gates/max_energy_occupancy_absolute_change", + "value_sha256": "9f1d9f717a3ae05d68fa3a1a041701e163907a904c87d6a56a5fda97b7b59dfa" + }, + "gate_value": { + "operator": "le", + "limit": 0.005, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-ba8ee0d85aff875559650170": { + "quantity": "max_energy_potential_change_V", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/distributed-explicit-defect-qf-dc-v1/quality_gates/max_energy_potential_change_V", + "value_sha256": "7e9deea9c0b1d6b0e8810e647f5d09ed89120b7945117bd99f65f8b41f86ecf5" + }, + "gate_value": { + "operator": "le", + "limit": 0.0005, + "units": "V" + }, + "unit": "V", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-4ec7801378f54c43ff0c7845": { + "quantity": "max_energy_recombination_relative_change", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/distributed-explicit-defect-qf-dc-v1/quality_gates/max_energy_recombination_relative_change", + "value_sha256": "9f1d9f717a3ae05d68fa3a1a041701e163907a904c87d6a56a5fda97b7b59dfa" + }, + "gate_value": { + "operator": "le", + "limit": 0.005, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-f8da9c992be1f6cedd149368": { + "quantity": "max_energy_tangent_relative_change", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/distributed-explicit-defect-qf-dc-v1/quality_gates/max_energy_tangent_relative_change", + "value_sha256": "9f1d9f717a3ae05d68fa3a1a041701e163907a904c87d6a56a5fda97b7b59dfa" + }, + "gate_value": { + "operator": "le", + "limit": 0.005, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-3985daf13a040529cafc112c": { + "quantity": "max_mass_action_relative_error", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/distributed-explicit-defect-qf-dc-v1/quality_gates/max_mass_action_relative_error", + "value_sha256": "d05931d5e401d506375c19c8b7c15d33b614369a54c1d98ca2f90ea1b9fa50a0" + }, + "gate_value": { + "operator": "le", + "limit": 1e-10, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-0b9fa0bae6a3e9b39fc849b3": { + "quantity": "max_normalized_cell_residual", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/distributed-explicit-defect-qf-dc-v1/quality_gates/max_normalized_cell_residual", + "value_sha256": "65704c467ce53fcb4b17f009a4b97242f7d1bdef4a3687b2a784d800842196c7" + }, + "gate_value": { + "operator": "le", + "limit": 1e-07, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-de83a49c04cffb58b22826d5": { + "quantity": "max_poisson_residual", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/distributed-explicit-defect-qf-dc-v1/quality_gates/max_poisson_residual", + "value_sha256": "4170b0e30bcaa5acefa62c46b3ac441b4da0a5cdcf850b965fe3426fd5b7f69f" + }, + "gate_value": { + "operator": "le", + "limit": 1e-08, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-6797810f12d97a8e329fc6ec": { + "quantity": "minimum_kinetic_denominator_s1", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/distributed-explicit-defect-qf-dc-v1/quality_gates/minimum_kinetic_denominator_s1", + "value_sha256": "70702b31176d18c51d87420c0809a663fab16c8a5db2ffccffea8d02210d68d8" + }, + "gate_value": { + "operator": "ge", + "limit": 1.0, + "units": "s-1" + }, + "unit": "s-1", + "norm": "ge", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-03c8dbc455d1124fd7fb22e4": { + "quantity": "occupancy_bounded_without_clipping", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/distributed-explicit-defect-qf-dc-v1/quality_gates/occupancy_bounded_without_clipping", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-938fa5f34860473edd4052c5": { + "quantity": "source_species_count", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/distributed-explicit-defect-qf-dc-v1/quality_gates/source_species_count", + "value_sha256": "7db3c91ced94b01ca329bcc52e88d232f155a173215b9280053562c4fea62eb8" + }, + "gate_value": { + "operator": "eq", + "limit": 4.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-f5ed390e79602b6b95f2ec1d": { + "quantity": "terminal_densities_positive", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/distributed-explicit-defect-qf-dc-v1/quality_gates/terminal_densities_positive", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-2edc40979ec352cc025733cf": { + "quantity": "voltage_points_completed", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/distributed-explicit-defect-qf-dc-v1/quality_gates/voltage_points_completed", + "value_sha256": "a3f3f3d70d757b8c2431256d103927dd281998ff60471b38c1707a4604aab672" + }, + "gate_value": { + "operator": "eq", + "limit": 3.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-69058e1af6751f9f9cadb573": { + "quantity": "structured_dense_terminal_log_density_difference", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dual-mobile-ion-dae-transient-v1/observables/structured_dense_terminal_log_density_difference", + "value_sha256": "b18b8572a6a7d2a47135da3442aa89c32d3ed01048fd8f29d954630c19f7a56e" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 1e-10, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-b58c653c69cb0f26ddb1ff37": { + "quantity": "structured_dense_terminal_positive_ion_relative_difference", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dual-mobile-ion-dae-transient-v1/observables/structured_dense_terminal_positive_ion_relative_difference", + "value_sha256": "9ef432633eced5828d07e99472cfe3e3351d752c4d73cda25e7769f254d00ef0" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 1e-12, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-b699ec3fbdb98f1f3f963899": { + "quantity": "structured_dense_terminal_negative_ion_relative_difference", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dual-mobile-ion-dae-transient-v1/observables/structured_dense_terminal_negative_ion_relative_difference", + "value_sha256": "9ef432633eced5828d07e99472cfe3e3351d752c4d73cda25e7769f254d00ef0" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 1e-12, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-5ba76faea7d1643d987beaa6": { + "quantity": "structured_dense_terminal_potential_difference_V", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dual-mobile-ion-dae-transient-v1/observables/structured_dense_terminal_potential_difference_V", + "value_sha256": "b0bb8279d27a7857370ea1dfcb337aa31866d2473b2e6810a75e27ad529fb158" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 1e-12, + "units": "V" + }, + "unit": "V", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-65091c0901d07799fe900bf5": { + "quantity": "terminal_log_density_error", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dual-mobile-ion-dae-transient-v1/observables/terminal_log_density_error", + "value_sha256": "4f7f5ed1ff3f23cf8f77c5f7d570c9106259a1989ad13eab891ff64a01fa5934" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 1e-08, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-37df3fa87efc17764272caf7": { + "quantity": "terminal_positive_ion_relative_error", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dual-mobile-ion-dae-transient-v1/observables/terminal_positive_ion_relative_error", + "value_sha256": "96a0cc7c9de18842c712af805afd59d1ae1f383333436f9135f606b87390979d" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 1.2e-10, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-9f8afb1b2be7c3b24a3d48a6": { + "quantity": "terminal_negative_ion_relative_error", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dual-mobile-ion-dae-transient-v1/observables/terminal_negative_ion_relative_error", + "value_sha256": "96a0cc7c9de18842c712af805afd59d1ae1f383333436f9135f606b87390979d" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 1.2e-10, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-59a19198fdef38eb8d8d5169": { + "quantity": "terminal_potential_error_V", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dual-mobile-ion-dae-transient-v1/observables/terminal_potential_error_V", + "value_sha256": "26ef2a629140af09bec0db17d43770098db0e999250893fedd72447afa014f6b" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 5e-10, + "units": "V" + }, + "unit": "V", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-825b901d3fb10db230904394": { + "quantity": "bulk_srh_denominator_positive", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dual-mobile-ion-dae-transient-v1/quality_gates/bulk_srh_denominator_positive", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-c0c9ad75a0d62b703933611d": { + "quantity": "consistent_initial_condition_certified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dual-mobile-ion-dae-transient-v1/quality_gates/consistent_initial_condition_certified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-9b20f0727dea8d9a889f6fe0": { + "quantity": "dense_reference_success", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dual-mobile-ion-dae-transient-v1/quality_gates/dense_reference_success", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-de42aeb87ef938f2e96ebbc9": { + "quantity": "dual_ion_topology_verified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dual-mobile-ion-dae-transient-v1/quality_gates/dual_ion_topology_verified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-229782e864d0faafbc695523": { + "quantity": "max_electron_balance_defect_A_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dual-mobile-ion-dae-transient-v1/quality_gates/max_electron_balance_defect_A_m2", + "value_sha256": "d877fd06d5c5e98c735ca473e1bed81d3235f1b1e11bc0a7074f7f76f0430d5f" + }, + "gate_value": { + "operator": "le", + "limit": 2e-08, + "units": "A m-2" + }, + "unit": "A m-2", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-20255d2989cf2afb2e2b8c49": { + "quantity": "max_hole_balance_defect_A_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dual-mobile-ion-dae-transient-v1/quality_gates/max_hole_balance_defect_A_m2", + "value_sha256": "d877fd06d5c5e98c735ca473e1bed81d3235f1b1e11bc0a7074f7f76f0430d5f" + }, + "gate_value": { + "operator": "le", + "limit": 2e-08, + "units": "A m-2" + }, + "unit": "A m-2", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-b8f66d894b1d519533d507b9": { + "quantity": "max_negative_ion_balance_relative", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dual-mobile-ion-dae-transient-v1/quality_gates/max_negative_ion_balance_relative", + "value_sha256": "39e4e66bbb6e4817b64fa08c183b4288e6f1103f9264d26c0e87f05a52d9b1d7" + }, + "gate_value": { + "operator": "le", + "limit": 1e-12, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-64029ed1e50f891808ee79c7": { + "quantity": "max_negative_ion_inventory_relative_drift", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dual-mobile-ion-dae-transient-v1/quality_gates/max_negative_ion_inventory_relative_drift", + "value_sha256": "39e4e66bbb6e4817b64fa08c183b4288e6f1103f9264d26c0e87f05a52d9b1d7" + }, + "gate_value": { + "operator": "le", + "limit": 1e-12, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-3904a39de7c8c32bf629ceee": { + "quantity": "max_negative_ion_rhs_inventory_relative", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dual-mobile-ion-dae-transient-v1/quality_gates/max_negative_ion_rhs_inventory_relative", + "value_sha256": "39e4e66bbb6e4817b64fa08c183b4288e6f1103f9264d26c0e87f05a52d9b1d7" + }, + "gate_value": { + "operator": "le", + "limit": 1e-12, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-46982d459cc32e214b3cf83d": { + "quantity": "max_normalized_algebraic_residual", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dual-mobile-ion-dae-transient-v1/quality_gates/max_normalized_algebraic_residual", + "value_sha256": "3a640d73a3706289c46bc018d861d6926fc002e81495e015b5ec80d9a776e197" + }, + "gate_value": { + "operator": "le", + "limit": 1e-09, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-3222fbeeb3394ee217d2fd07": { + "quantity": "max_normalized_carrier_residual", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dual-mobile-ion-dae-transient-v1/quality_gates/max_normalized_carrier_residual", + "value_sha256": "3a640d73a3706289c46bc018d861d6926fc002e81495e015b5ec80d9a776e197" + }, + "gate_value": { + "operator": "le", + "limit": 1e-09, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-2fefe2d44d17e81c1ae06ee2": { + "quantity": "max_normalized_negative_ion_residual", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dual-mobile-ion-dae-transient-v1/quality_gates/max_normalized_negative_ion_residual", + "value_sha256": "3a640d73a3706289c46bc018d861d6926fc002e81495e015b5ec80d9a776e197" + }, + "gate_value": { + "operator": "le", + "limit": 1e-09, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-9562411980a4c85cae83b601": { + "quantity": "max_normalized_positive_ion_residual", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dual-mobile-ion-dae-transient-v1/quality_gates/max_normalized_positive_ion_residual", + "value_sha256": "3a640d73a3706289c46bc018d861d6926fc002e81495e015b5ec80d9a776e197" + }, + "gate_value": { + "operator": "le", + "limit": 1e-09, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-5dd1748bc976ea592505ed41": { + "quantity": "max_positive_ion_balance_relative", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dual-mobile-ion-dae-transient-v1/quality_gates/max_positive_ion_balance_relative", + "value_sha256": "39e4e66bbb6e4817b64fa08c183b4288e6f1103f9264d26c0e87f05a52d9b1d7" + }, + "gate_value": { + "operator": "le", + "limit": 1e-12, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-f171d09139dc7c15ad7d659e": { + "quantity": "max_positive_ion_inventory_relative_drift", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dual-mobile-ion-dae-transient-v1/quality_gates/max_positive_ion_inventory_relative_drift", + "value_sha256": "39e4e66bbb6e4817b64fa08c183b4288e6f1103f9264d26c0e87f05a52d9b1d7" + }, + "gate_value": { + "operator": "le", + "limit": 1e-12, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-fddc2f353b9b3f93a41bdca7": { + "quantity": "max_positive_ion_rhs_inventory_relative", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dual-mobile-ion-dae-transient-v1/quality_gates/max_positive_ion_rhs_inventory_relative", + "value_sha256": "39e4e66bbb6e4817b64fa08c183b4288e6f1103f9264d26c0e87f05a52d9b1d7" + }, + "gate_value": { + "operator": "le", + "limit": 1e-12, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-48244c82bac51d7facfe824b": { + "quantity": "max_structured_dense_log_density_difference", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dual-mobile-ion-dae-transient-v1/quality_gates/max_structured_dense_log_density_difference", + "value_sha256": "d05931d5e401d506375c19c8b7c15d33b614369a54c1d98ca2f90ea1b9fa50a0" + }, + "gate_value": { + "operator": "le", + "limit": 1e-10, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-2624b0fea75216e77d7c5883": { + "quantity": "max_structured_dense_negative_ion_relative_difference", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dual-mobile-ion-dae-transient-v1/quality_gates/max_structured_dense_negative_ion_relative_difference", + "value_sha256": "39e4e66bbb6e4817b64fa08c183b4288e6f1103f9264d26c0e87f05a52d9b1d7" + }, + "gate_value": { + "operator": "le", + "limit": 1e-12, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-ac7768379017209730286cf1": { + "quantity": "max_structured_dense_positive_ion_relative_difference", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dual-mobile-ion-dae-transient-v1/quality_gates/max_structured_dense_positive_ion_relative_difference", + "value_sha256": "39e4e66bbb6e4817b64fa08c183b4288e6f1103f9264d26c0e87f05a52d9b1d7" + }, + "gate_value": { + "operator": "le", + "limit": 1e-12, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-a5e3afc60ba0da7109c2d569": { + "quantity": "max_structured_dense_potential_difference_V", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dual-mobile-ion-dae-transient-v1/quality_gates/max_structured_dense_potential_difference_V", + "value_sha256": "0f99613322054185c71a84566af0812022165af8a633d15c6d25661862c751c3" + }, + "gate_value": { + "operator": "le", + "limit": 1e-12, + "units": "V" + }, + "unit": "V", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-abba824f43ae8509078e1895": { + "quantity": "max_terminal_log_density_error", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dual-mobile-ion-dae-transient-v1/quality_gates/max_terminal_log_density_error", + "value_sha256": "8c627492514f9a1f2c40acd1aacf0617c8afc747f6ed949bab02b0a0c53bfd1f" + }, + "gate_value": { + "operator": "le", + "limit": 6e-08, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-58014199b589c0ae7d2acef9": { + "quantity": "max_terminal_negative_ion_relative_error", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dual-mobile-ion-dae-transient-v1/quality_gates/max_terminal_negative_ion_relative_error", + "value_sha256": "2ce987c5d2fba6f041decba6330b11930f3789cc19176feb7b659432ca849212" + }, + "gate_value": { + "operator": "le", + "limit": 3e-10, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-a8af23d4be88ca6a3d71fc3d": { + "quantity": "max_terminal_positive_ion_relative_error", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dual-mobile-ion-dae-transient-v1/quality_gates/max_terminal_positive_ion_relative_error", + "value_sha256": "a517ba7155f5113f17db5322d6a16eadd5870918d959819d80d0d8d1be24ef75" + }, + "gate_value": { + "operator": "le", + "limit": 6e-10, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-1bfab4cd0a2aca0824a0a094": { + "quantity": "max_terminal_potential_error_V", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dual-mobile-ion-dae-transient-v1/quality_gates/max_terminal_potential_error_V", + "value_sha256": "e1db643a553732379c168e4c5652a591ab0fa5a568fb81e297237ec4e9df87d9" + }, + "gate_value": { + "operator": "le", + "limit": 1e-09, + "units": "V" + }, + "unit": "V", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-bc6d9cef1bd571ac9779f624": { + "quantity": "minimum_negative_ion_relative_motion", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dual-mobile-ion-dae-transient-v1/quality_gates/minimum_negative_ion_relative_motion", + "value_sha256": "e1769df748de1a5ccad69ac9e43d54fce22e0984a0f5960c3ff33be6bcf03015" + }, + "gate_value": { + "operator": "ge", + "limit": 1e-07, + "units": "1" + }, + "unit": "1", + "norm": "ge", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-15766fac0f8c06cd60423fc3": { + "quantity": "minimum_positive_ion_relative_motion", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dual-mobile-ion-dae-transient-v1/quality_gates/minimum_positive_ion_relative_motion", + "value_sha256": "93b592fb2368bf8d5c735b9165f2c851b251ab2c7a0ffd19909d1fa22538115e" + }, + "gate_value": { + "operator": "ge", + "limit": 1e-06, + "units": "1" + }, + "unit": "1", + "norm": "ge", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-646e30935c799f6fcefac5c0": { + "quantity": "minimum_shared_site_vacancy_fraction", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dual-mobile-ion-dae-transient-v1/quality_gates/minimum_shared_site_vacancy_fraction", + "value_sha256": "e7df012380ba934cf372a7dce6fad2b6b4e1149daf7348f9d37e397624719b97" + }, + "gate_value": { + "operator": "ge", + "limit": 0.95, + "units": "1" + }, + "unit": "1", + "norm": "ge", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-68b1bae2b61c7339f18c2e5f": { + "quantity": "mol_numerical_health_passed", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dual-mobile-ion-dae-transient-v1/quality_gates/mol_numerical_health_passed", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-dfe14b3802a0da764eca9bcb": { + "quantity": "mol_reference_success", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dual-mobile-ion-dae-transient-v1/quality_gates/mol_reference_success", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-fe53144103ae14c150948068": { + "quantity": "site_occupancy_admissible", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dual-mobile-ion-dae-transient-v1/quality_gates/site_occupancy_admissible", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-b9eb2d437f9d3e3c4a861974": { + "quantity": "structured_analytic_success", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dual-mobile-ion-dae-transient-v1/quality_gates/structured_analytic_success", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-d569a9729a8f920087a024e4": { + "quantity": "structured_csr_nonzeros_per_node", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dual-mobile-ion-dae-transient-v1/quality_gates/structured_csr_nonzeros_per_node", + "value_sha256": "18ac0e24fbfa8b52a3267eace4a0de2260e23526365c7353b35a49271834a17b" + }, + "gate_value": { + "operator": "le", + "limit": 40.0, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-464d92fb761630eb1f1680b1": { + "quantity": "structured_jacobian_condition_finite", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dual-mobile-ion-dae-transient-v1/quality_gates/structured_jacobian_condition_finite", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-e7e77f5e98b7323910776f33": { + "quantity": "structured_rhs_work_fraction", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dual-mobile-ion-dae-transient-v1/quality_gates/structured_rhs_work_fraction", + "value_sha256": "a3a1d01b85980d58d2e680fc64ca0a5086cddcdddba4522aee8cf50dc897b6e8" + }, + "gate_value": { + "operator": "le", + "limit": 0.1, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-47354dca211bfe7222347fd7": { + "quantity": "terminal_densities_positive", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dual-mobile-ion-dae-transient-v1/quality_gates/terminal_densities_positive", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-8a11562fda4feee473c260a5": { + "quantity": "impedance_magnitude_ohm_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-impedance-production-v1/observables/impedance_magnitude_ohm_m2", + "value_sha256": "0dcf2a7bdc32a83fae9c76eb3a6d15c0e7de7a5cb6a5f94f5ad6d36243580734" + }, + "gate_value": { + "comparison": "pointwise_relative_linf", + "limit": 0.02, + "units": "ohm m2" + }, + "unit": "ohm m2", + "norm": "pointwise_relative_linf", + "scale": { + "kind": "original_symmetric_pair_scale", + "relative_floor": 1e-30 + }, + "zero_policy": { + "kind": "original_relative_floor", + "value": 1e-30 + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-ecff69194e4dafcb38103a85": { + "quantity": "impedance_phase_deg", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-impedance-production-v1/observables/impedance_phase_deg", + "value_sha256": "5c4a1a6b52e9a1a112cc4ee17e1779301181e4603b8f19fd35efd0be5c00c390" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 1.0, + "units": "deg" + }, + "unit": "deg", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-87348577b5bc6d61b7c2e17b": { + "quantity": "normalized_bulk_trap_storage", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-impedance-production-v1/observables/normalized_bulk_trap_storage", + "value_sha256": "23bcab6640170c2eba64314bbb3bca9e94fd07b4985ef80c7d7b39cb65e7a035" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.02, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-24b12f44759b14771bae457a": { + "quantity": "positive_ion_inventory_storage_F_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-impedance-production-v1/observables/positive_ion_inventory_storage_F_m2", + "value_sha256": "a96916cff6e5277efe8a6d44bfa65f798c47b3f747a31479fce07779a25dc1c2" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 1e-12, + "units": "F m-2" + }, + "unit": "F m-2", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-39c8f80f448a2ad30293678f": { + "quantity": "contact_thermodynamics_certified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-impedance-production-v1/quality_gates/contact_thermodynamics_certified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-d101de26519718868dd8b3bb": { + "quantity": "dc_operating_point_certified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-impedance-production-v1/quality_gates/dc_operating_point_certified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-62bfc032f1c1c3c38ac8e72d": { + "quantity": "dynamic_defect_certificate_verified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-impedance-production-v1/quality_gates/dynamic_defect_certificate_verified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-b5f8faead216a91c8e98d2dd": { + "quantity": "frequency_window_certified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-impedance-production-v1/quality_gates/frequency_window_certified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-c65c83b218d0af6a265ef002": { + "quantity": "max_all_face_admittance_spread", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-impedance-production-v1/quality_gates/max_all_face_admittance_spread", + "value_sha256": "cb2d7f04f91feea565df9d0d421d74d9b6ec78ad5cdb0311546f188ec91a582a" + }, + "gate_value": { + "operator": "le", + "limit": 0.0005, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-83e0a5733fdb835d9ae4b1c3": { + "quantity": "max_bulk_trap_balance_relative_error", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-impedance-production-v1/quality_gates/max_bulk_trap_balance_relative_error", + "value_sha256": "64238456794f9d715f3157773ea1b5445aae890708608a3014acbf9488e77d90" + }, + "gate_value": { + "operator": "le", + "limit": 0.001, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-3f2e9b330bede18dbfaf23e6": { + "quantity": "max_current_decomposition_relative_error", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-impedance-production-v1/quality_gates/max_current_decomposition_relative_error", + "value_sha256": "65704c467ce53fcb4b17f009a4b97242f7d1bdef4a3687b2a784d800842196c7" + }, + "gate_value": { + "operator": "le", + "limit": 1e-07, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-e0e71b58aa66915e41c5679b": { + "quantity": "max_frequency_interpolation_relative_error", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-impedance-production-v1/quality_gates/max_frequency_interpolation_relative_error", + "value_sha256": "a6903954ceabfc9dffddd8b4b88c8a7e954bbccccb2f821ce6e9110cb0fdce70" + }, + "gate_value": { + "operator": "le", + "limit": 0.01, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-02b68c4091045c552343c654": { + "quantity": "max_ion_inventory_response_relative", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-impedance-production-v1/quality_gates/max_ion_inventory_response_relative", + "value_sha256": "4170b0e30bcaa5acefa62c46b3ac441b4da0a5cdcf850b965fe3426fd5b7f69f" + }, + "gate_value": { + "operator": "le", + "limit": 1e-08, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-41e7470431bcd7b19f247733": { + "quantity": "max_limit_relative_error", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-impedance-production-v1/quality_gates/max_limit_relative_error", + "value_sha256": "89e1c1ac680e432f6408656485f0b950d83a7c41c379edb05690908204cd4bca" + }, + "gate_value": { + "operator": "le", + "limit": 0.03, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-5110a4e6932572bcc2218041": { + "quantity": "max_linear_solve_backward_error", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-impedance-production-v1/quality_gates/max_linear_solve_backward_error", + "value_sha256": "d05931d5e401d506375c19c8b7c15d33b614369a54c1d98ca2f90ea1b9fa50a0" + }, + "gate_value": { + "operator": "le", + "limit": 1e-10, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-6ae9b019b08f350666f72d1a": { + "quantity": "max_qss_embedding_error", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-impedance-production-v1/quality_gates/max_qss_embedding_error", + "value_sha256": "4170b0e30bcaa5acefa62c46b3ac441b4da0a5cdcf850b965fe3426fd5b7f69f" + }, + "gate_value": { + "operator": "le", + "limit": 1e-08, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-fbb1c11609aaa77d3e406146": { + "quantity": "max_refinement_relative_change", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-impedance-production-v1/quality_gates/max_refinement_relative_change", + "value_sha256": "40383e633cb9b12aef5cc072edd81b0c3d89c488d3ff1ec5b5fb6edf4a28e871" + }, + "gate_value": { + "operator": "le", + "limit": 0.002, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-57296dbdbc0403cb68063224": { + "quantity": "numerically_certified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-impedance-production-v1/quality_gates/numerically_certified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-59eccb393ae545a5b42dbad0": { + "quantity": "protocol_identity_verified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-impedance-production-v1/quality_gates/protocol_identity_verified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-8a12153d0a16c626a9392adc": { + "quantity": "combined_interface_occupancy_change", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-production-v1/observables/combined_interface_occupancy_change", + "value_sha256": "4f7f5ed1ff3f23cf8f77c5f7d570c9106259a1989ad13eab891ff64a01fa5934" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 1e-08, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-a515c4920e7538d7767a0aa2": { + "quantity": "combined_positive_ion_centroid_shift_m", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-production-v1/observables/combined_positive_ion_centroid_shift_m", + "value_sha256": "58da184889003d21d6904198caad9b212dfeb03ef91b65e2083cf67a81b7f2c4" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 5e-11, + "units": "m" + }, + "unit": "m", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-f7a2c76e29fa6b5d591dc525": { + "quantity": "combined_left_terminal_current_A_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-production-v1/observables/combined_left_terminal_current_A_m2", + "value_sha256": "82a20c95f34fe561a11fac6e6183f5620e10cd40d691f340be090d1d3b59b88e" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 1e-05, + "units": "A m-2" + }, + "unit": "A m-2", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-071bc05b03dc35ffc12c33a3": { + "quantity": "combined_integrated_charge_change_C_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-production-v1/observables/combined_integrated_charge_change_C_m2", + "value_sha256": "c298ae297a3b3e0f0d4faf1971691765ecc65228cd7d02851c2ea788e1456b56" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 1e-09, + "units": "C m-2" + }, + "unit": "C m-2", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-cde8698398daf49205051e06": { + "quantity": "defect_dominated_interface_occupancy_change", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-production-v1/observables/defect_dominated_interface_occupancy_change", + "value_sha256": "4f7f5ed1ff3f23cf8f77c5f7d570c9106259a1989ad13eab891ff64a01fa5934" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 1e-08, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-49276d9d7c52f13f57481074": { + "quantity": "defect_dominated_positive_ion_centroid_shift_m", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-production-v1/observables/defect_dominated_positive_ion_centroid_shift_m", + "value_sha256": "58da184889003d21d6904198caad9b212dfeb03ef91b65e2083cf67a81b7f2c4" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 5e-11, + "units": "m" + }, + "unit": "m", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-78790ec2a8ee4ea60dae0c3b": { + "quantity": "defect_dominated_left_terminal_current_A_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-production-v1/observables/defect_dominated_left_terminal_current_A_m2", + "value_sha256": "82a20c95f34fe561a11fac6e6183f5620e10cd40d691f340be090d1d3b59b88e" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 1e-05, + "units": "A m-2" + }, + "unit": "A m-2", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-2add69b8c4e0b3835f39bffc": { + "quantity": "defect_dominated_integrated_charge_change_C_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-production-v1/observables/defect_dominated_integrated_charge_change_C_m2", + "value_sha256": "c298ae297a3b3e0f0d4faf1971691765ecc65228cd7d02851c2ea788e1456b56" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 1e-09, + "units": "C m-2" + }, + "unit": "C m-2", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-29913c136916dd2df0b7b621": { + "quantity": "ion_dominated_interface_occupancy_change", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-production-v1/observables/ion_dominated_interface_occupancy_change", + "value_sha256": "4f7f5ed1ff3f23cf8f77c5f7d570c9106259a1989ad13eab891ff64a01fa5934" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 1e-08, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-32fd79a9efeebe24c260baf7": { + "quantity": "ion_dominated_positive_ion_centroid_shift_m", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-production-v1/observables/ion_dominated_positive_ion_centroid_shift_m", + "value_sha256": "58da184889003d21d6904198caad9b212dfeb03ef91b65e2083cf67a81b7f2c4" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 5e-11, + "units": "m" + }, + "unit": "m", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-cdc298669855ad994982311e": { + "quantity": "ion_dominated_left_terminal_current_A_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-production-v1/observables/ion_dominated_left_terminal_current_A_m2", + "value_sha256": "82a20c95f34fe561a11fac6e6183f5620e10cd40d691f340be090d1d3b59b88e" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 1e-05, + "units": "A m-2" + }, + "unit": "A m-2", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-96da65d638042caa70ccbed0": { + "quantity": "ion_dominated_integrated_charge_change_C_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-production-v1/observables/ion_dominated_integrated_charge_change_C_m2", + "value_sha256": "c298ae297a3b3e0f0d4faf1971691765ecc65228cd7d02851c2ea788e1456b56" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 1e-09, + "units": "C m-2" + }, + "unit": "C m-2", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-d35f56e79a66e4a75331501c": { + "quantity": "all_cases_certified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-production-v1/quality_gates/all_cases_certified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-9893a677ebe785e37cb3edf8": { + "quantity": "analytic_sparse_jacobian_verified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-production-v1/quality_gates/analytic_sparse_jacobian_verified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-eccbe7a4b6961694240e96af": { + "quantity": "case_count", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-production-v1/quality_gates/case_count", + "value_sha256": "a3f3f3d70d757b8c2431256d103927dd281998ff60471b38c1707a4604aab672" + }, + "gate_value": { + "operator": "eq", + "limit": 3.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-0939be97cf3fecb1b0583c5d": { + "quantity": "clipping_used", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-production-v1/quality_gates/clipping_used", + "value_sha256": "40b4f8ecff0918e39cad36ae3f1a43cedd2bc93909d0a743430f93ab1c1bbb96" + }, + "gate_value": { + "operator": "eq", + "limit": 0.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-a5375be5c6b74d926a5f8f16": { + "quantity": "combined_interface_occupancy_motion", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-production-v1/quality_gates/combined_interface_occupancy_motion", + "value_sha256": "f2f42dbfb00891e77001d2d8f6bdd23f204d9647a1a62e1cf9ae992b528cc5fe" + }, + "gate_value": { + "operator": "ge", + "limit": 1e-09, + "units": "1" + }, + "unit": "1", + "norm": "ge", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-e2b48abcdc9a4fee339873f2": { + "quantity": "combined_positive_ion_motion", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-production-v1/quality_gates/combined_positive_ion_motion", + "value_sha256": "d706982bbf8fd839000ae78fcd0dbb98029e471111c5c888fc7b94f8a4fec633" + }, + "gate_value": { + "operator": "ge", + "limit": 1e-05, + "units": "1" + }, + "unit": "1", + "norm": "ge", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-65598f673ba18568c0b12509": { + "quantity": "defect_dominated_interface_occupancy_motion", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-production-v1/quality_gates/defect_dominated_interface_occupancy_motion", + "value_sha256": "f2f42dbfb00891e77001d2d8f6bdd23f204d9647a1a62e1cf9ae992b528cc5fe" + }, + "gate_value": { + "operator": "ge", + "limit": 1e-09, + "units": "1" + }, + "unit": "1", + "norm": "ge", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-bf1505954dec2e66fefb5e44": { + "quantity": "defect_dominated_positive_ion_motion", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-production-v1/quality_gates/defect_dominated_positive_ion_motion", + "value_sha256": "65704c467ce53fcb4b17f009a4b97242f7d1bdef4a3687b2a784d800842196c7" + }, + "gate_value": { + "operator": "le", + "limit": 1e-07, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-ef2a67ac13be6d19f6227391": { + "quantity": "fast_ion_failure_is_declared_nonlinear_stall", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-production-v1/quality_gates/fast_ion_failure_is_declared_nonlinear_stall", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-c2b7d984854710aa282fa2d0": { + "quantity": "fast_ion_failure_iteration_reported", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-production-v1/quality_gates/fast_ion_failure_iteration_reported", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-a0d8c5ed112f0ece46cdbd71": { + "quantity": "fast_ion_failure_iteration_within_policy", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-production-v1/quality_gates/fast_ion_failure_iteration_within_policy", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-5c0b307f6ca6beeec14bcda6": { + "quantity": "fast_ion_failure_residual_above_acceptance", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-production-v1/quality_gates/fast_ion_failure_residual_above_acceptance", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-64e141831bd77997a19768cf": { + "quantity": "fast_ion_stiffness_failed_closed", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-production-v1/quality_gates/fast_ion_stiffness_failed_closed", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-7fa7bafaf8248c6285f9db20": { + "quantity": "fast_ion_stiffness_failure_typed", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-production-v1/quality_gates/fast_ion_stiffness_failure_typed", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-e6dd627e0ad4beb567d731d3": { + "quantity": "ion_dominated_interface_occupancy_motion", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-production-v1/quality_gates/ion_dominated_interface_occupancy_motion", + "value_sha256": "39e4e66bbb6e4817b64fa08c183b4288e6f1103f9264d26c0e87f05a52d9b1d7" + }, + "gate_value": { + "operator": "le", + "limit": 1e-12, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-e79f37d50dd03c6b7c4a6ae4": { + "quantity": "ion_dominated_positive_ion_motion", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-production-v1/quality_gates/ion_dominated_positive_ion_motion", + "value_sha256": "d706982bbf8fd839000ae78fcd0dbb98029e471111c5c888fc7b94f8a4fec633" + }, + "gate_value": { + "operator": "ge", + "limit": 1e-05, + "units": "1" + }, + "unit": "1", + "norm": "ge", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-83f71d7cd68bb18205480358": { + "quantity": "max_all_face_current_spread_relative", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-production-v1/quality_gates/max_all_face_current_spread_relative", + "value_sha256": "9589b9bfde3e3ae741db33e7ff8d6e037b481c78b45a57977b2778af00fa9369" + }, + "gate_value": { + "operator": "le", + "limit": 2e-06, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-7f8f90eeb5c7dd8b4fc44322": { + "quantity": "max_analytic_jacobian_column_relative_error", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-production-v1/quality_gates/max_analytic_jacobian_column_relative_error", + "value_sha256": "18e7b8085f9e07416d00c3cefbfa364e8e919ee1a10b8e7e4607c038713ca29f" + }, + "gate_value": { + "operator": "le", + "limit": 0.0003, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-bb944e9a9f5b63bd28908658": { + "quantity": "max_charge_balance_relative_error", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-production-v1/quality_gates/max_charge_balance_relative_error", + "value_sha256": "d05931d5e401d506375c19c8b7c15d33b614369a54c1d98ca2f90ea1b9fa50a0" + }, + "gate_value": { + "operator": "le", + "limit": 1e-10, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-a919b3386e563a21f3e0c496": { + "quantity": "max_current_decomposition_relative_error", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-production-v1/quality_gates/max_current_decomposition_relative_error", + "value_sha256": "5defdee843c196ac0041f74ea0612464035269f158c4faa293f95f421c0be646" + }, + "gate_value": { + "operator": "le", + "limit": 1e-14, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-a499e23bc609f2e35da2f6ac": { + "quantity": "max_eliminated_operator_relative_error", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-production-v1/quality_gates/max_eliminated_operator_relative_error", + "value_sha256": "e64c71c4a33aea28b4b37bd35efcebc3372fffac64ef65639db94f57ff62a79f" + }, + "gate_value": { + "operator": "le", + "limit": 1e-06, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-719d78652182af11c8d40eac": { + "quantity": "max_interface_total_current_relative_error", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-production-v1/quality_gates/max_interface_total_current_relative_error", + "value_sha256": "9589b9bfde3e3ae741db33e7ff8d6e037b481c78b45a57977b2778af00fa9369" + }, + "gate_value": { + "operator": "le", + "limit": 2e-06, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-486b0f050e45587d4fdd31cf": { + "quantity": "max_ion_inventory_relative_drift", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-production-v1/quality_gates/max_ion_inventory_relative_drift", + "value_sha256": "3a640d73a3706289c46bc018d861d6926fc002e81495e015b5ec80d9a776e197" + }, + "gate_value": { + "operator": "le", + "limit": 1e-09, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-d1a153e62c8fbe0df28cc37a": { + "quantity": "max_local_carrier_normalized_residual", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-production-v1/quality_gates/max_local_carrier_normalized_residual", + "value_sha256": "65704c467ce53fcb4b17f009a4b97242f7d1bdef4a3687b2a784d800842196c7" + }, + "gate_value": { + "operator": "le", + "limit": 1e-07, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-798df078793d08f7e92ed27e": { + "quantity": "max_local_gauss_normalized_residual", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-production-v1/quality_gates/max_local_gauss_normalized_residual", + "value_sha256": "65704c467ce53fcb4b17f009a4b97242f7d1bdef4a3687b2a784d800842196c7" + }, + "gate_value": { + "operator": "le", + "limit": 1e-07, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-754e1ad38903be27bb1b3c0e": { + "quantity": "max_near_acceptance_nonmonotone_step_count", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-production-v1/quality_gates/max_near_acceptance_nonmonotone_step_count", + "value_sha256": "c8f33d0e8f00e338cd591a4b642d32a31a7ff872a2891950197b1b65571006fb" + }, + "gate_value": { + "operator": "le", + "limit": 12.0, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-2b2b830baa2490176235e033": { + "quantity": "max_poisson_residual_C_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-production-v1/quality_gates/max_poisson_residual_C_m2", + "value_sha256": "5e34691636664a5399a347df1a9d4bb3ca29105ca032ac6c9018bf4e5a719b7b" + }, + "gate_value": { + "operator": "le", + "limit": 1e-08, + "units": "C m-2" + }, + "unit": "C m-2", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-30b0b5b5cb6938d08bcaa08f": { + "quantity": "max_refinement_current_relative_change", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-production-v1/quality_gates/max_refinement_current_relative_change", + "value_sha256": "c3830405630646faf1f6a15fe04d34bebf43ded7dbea5b7249088cf65fdc1cf7" + }, + "gate_value": { + "operator": "le", + "limit": 0.05, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-0a175d55c75ef0914671be5e": { + "quantity": "max_refinement_state_change", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-production-v1/quality_gates/max_refinement_state_change", + "value_sha256": "980e7a78594046b79bf4581eb60403c49e84f00cbbc2c757f6aabc49ac9207e9" + }, + "gate_value": { + "operator": "le", + "limit": 0.02, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-2bc05426924136fe68e0ac9c": { + "quantity": "max_scaled_nonlinear_residual", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-production-v1/quality_gates/max_scaled_nonlinear_residual", + "value_sha256": "c3830405630646faf1f6a15fe04d34bebf43ded7dbea5b7249088cf65fdc1cf7" + }, + "gate_value": { + "operator": "le", + "limit": 0.05, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-5c74d8b25766053be7756833": { + "quantity": "max_site_occupancy_fraction", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-production-v1/quality_gates/max_site_occupancy_fraction", + "value_sha256": "90da99f6ed74d7d053d8a61ee34588d7803784070577c93d2e16235d8d9d0730" + }, + "gate_value": { + "operator": "le", + "limit": 0.999, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-91c7cc968dbcdaaa0e3335d4": { + "quantity": "microscopic_binding_certified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-production-v1/quality_gates/microscopic_binding_certified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-09272356c92e8e1471cdb704": { + "quantity": "operating_points_certified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-production-v1/quality_gates/operating_points_certified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-eeba496d76e45d141348d9b7": { + "quantity": "protocol_identity_verified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-production-v1/quality_gates/protocol_identity_verified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-f9f32c09da428e5befec7adc": { + "quantity": "public_projection_certified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-production-v1/quality_gates/public_projection_certified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-f285b65c4662b18c669d995d": { + "quantity": "public_protocol_identity_verified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-production-v1/quality_gates/public_protocol_identity_verified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-6c68d1b6e619a4fa680956d3": { + "quantity": "reference_certificate_bound", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-production-v1/quality_gates/reference_certificate_bound", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-de1da831eaea01d4c0330908": { + "quantity": "source_case_identity_verified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-production-v1/quality_gates/source_case_identity_verified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-b3089e78c3501797ab56bf64": { + "quantity": "combined_interface_occupancy", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-absorber-resolved-v4/observables/combined_interface_occupancy", + "value_sha256": "4f7f5ed1ff3f23cf8f77c5f7d570c9106259a1989ad13eab891ff64a01fa5934" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 1e-08, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-8a733fbb6fed93f4d3366516": { + "quantity": "combined_positive_ion_centroid_shift_m", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-absorber-resolved-v4/observables/combined_positive_ion_centroid_shift_m", + "value_sha256": "58da184889003d21d6904198caad9b212dfeb03ef91b65e2083cf67a81b7f2c4" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 5e-11, + "units": "m" + }, + "unit": "m", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-0cab1e74a11f1ada80ca11b9": { + "quantity": "combined_left_terminal_current_A_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-absorber-resolved-v4/observables/combined_left_terminal_current_A_m2", + "value_sha256": "82a20c95f34fe561a11fac6e6183f5620e10cd40d691f340be090d1d3b59b88e" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 1e-05, + "units": "A m-2" + }, + "unit": "A m-2", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-75952a0a84d4c5ea8854426b": { + "quantity": "combined_integrated_charge_change_C_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-absorber-resolved-v4/observables/combined_integrated_charge_change_C_m2", + "value_sha256": "c298ae297a3b3e0f0d4faf1971691765ecc65228cd7d02851c2ea788e1456b56" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 1e-09, + "units": "C m-2" + }, + "unit": "C m-2", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-8207a82b085f21c0143146af": { + "quantity": "defect_dominated_interface_occupancy", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-absorber-resolved-v4/observables/defect_dominated_interface_occupancy", + "value_sha256": "4f7f5ed1ff3f23cf8f77c5f7d570c9106259a1989ad13eab891ff64a01fa5934" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 1e-08, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-6074d651c3b9809dcdc8bb67": { + "quantity": "defect_dominated_positive_ion_centroid_shift_m", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-absorber-resolved-v4/observables/defect_dominated_positive_ion_centroid_shift_m", + "value_sha256": "58da184889003d21d6904198caad9b212dfeb03ef91b65e2083cf67a81b7f2c4" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 5e-11, + "units": "m" + }, + "unit": "m", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-38341085953e6ebdb35037f7": { + "quantity": "defect_dominated_left_terminal_current_A_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-absorber-resolved-v4/observables/defect_dominated_left_terminal_current_A_m2", + "value_sha256": "82a20c95f34fe561a11fac6e6183f5620e10cd40d691f340be090d1d3b59b88e" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 1e-05, + "units": "A m-2" + }, + "unit": "A m-2", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-9c1fd89d0b0adc9081d2eeed": { + "quantity": "defect_dominated_integrated_charge_change_C_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-absorber-resolved-v4/observables/defect_dominated_integrated_charge_change_C_m2", + "value_sha256": "c298ae297a3b3e0f0d4faf1971691765ecc65228cd7d02851c2ea788e1456b56" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 1e-09, + "units": "C m-2" + }, + "unit": "C m-2", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-5f33dc6b7a6c557bc4ed470b": { + "quantity": "ion_dominated_interface_occupancy", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-absorber-resolved-v4/observables/ion_dominated_interface_occupancy", + "value_sha256": "4f7f5ed1ff3f23cf8f77c5f7d570c9106259a1989ad13eab891ff64a01fa5934" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 1e-08, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-55a5537239a173feb4f8b321": { + "quantity": "ion_dominated_positive_ion_centroid_shift_m", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-absorber-resolved-v4/observables/ion_dominated_positive_ion_centroid_shift_m", + "value_sha256": "58da184889003d21d6904198caad9b212dfeb03ef91b65e2083cf67a81b7f2c4" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 5e-11, + "units": "m" + }, + "unit": "m", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-0a45a1c44f310002840c9758": { + "quantity": "ion_dominated_left_terminal_current_A_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-absorber-resolved-v4/observables/ion_dominated_left_terminal_current_A_m2", + "value_sha256": "82a20c95f34fe561a11fac6e6183f5620e10cd40d691f340be090d1d3b59b88e" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 1e-05, + "units": "A m-2" + }, + "unit": "A m-2", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-7e59df0e9b3e763c19a684b7": { + "quantity": "ion_dominated_integrated_charge_change_C_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-absorber-resolved-v4/observables/ion_dominated_integrated_charge_change_C_m2", + "value_sha256": "c298ae297a3b3e0f0d4faf1971691765ecc65228cd7d02851c2ea788e1456b56" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 1e-09, + "units": "C m-2" + }, + "unit": "C m-2", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-a90172cea8de6f5c0774c81b": { + "quantity": "all_cases_certified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-absorber-resolved-v4/quality_gates/all_cases_certified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-7d4ccb6b93afe3260735cca4": { + "quantity": "analytic_sparse_jacobian_verified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-absorber-resolved-v4/quality_gates/analytic_sparse_jacobian_verified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-738a47b5d7b9eddc69fe7d81": { + "quantity": "case_count", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-absorber-resolved-v4/quality_gates/case_count", + "value_sha256": "a3f3f3d70d757b8c2431256d103927dd281998ff60471b38c1707a4604aab672" + }, + "gate_value": { + "operator": "eq", + "limit": 3.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-e8a7b93d9a914086f238c528": { + "quantity": "clipping_used", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-absorber-resolved-v4/quality_gates/clipping_used", + "value_sha256": "40b4f8ecff0918e39cad36ae3f1a43cedd2bc93909d0a743430f93ab1c1bbb96" + }, + "gate_value": { + "operator": "eq", + "limit": 0.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-37d1a05f64cc3689cb0c8689": { + "quantity": "combined_interface_occupancy_motion", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-absorber-resolved-v4/quality_gates/combined_interface_occupancy_motion", + "value_sha256": "f2f42dbfb00891e77001d2d8f6bdd23f204d9647a1a62e1cf9ae992b528cc5fe" + }, + "gate_value": { + "operator": "ge", + "limit": 1e-09, + "units": "1" + }, + "unit": "1", + "norm": "ge", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-475f3c3db002168b1f6aebc1": { + "quantity": "combined_positive_ion_motion", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-absorber-resolved-v4/quality_gates/combined_positive_ion_motion", + "value_sha256": "d706982bbf8fd839000ae78fcd0dbb98029e471111c5c888fc7b94f8a4fec633" + }, + "gate_value": { + "operator": "ge", + "limit": 1e-05, + "units": "1" + }, + "unit": "1", + "norm": "ge", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-287972f5ed30860f4ed145bf": { + "quantity": "defect_dominated_interface_occupancy_motion", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-absorber-resolved-v4/quality_gates/defect_dominated_interface_occupancy_motion", + "value_sha256": "f2f42dbfb00891e77001d2d8f6bdd23f204d9647a1a62e1cf9ae992b528cc5fe" + }, + "gate_value": { + "operator": "ge", + "limit": 1e-09, + "units": "1" + }, + "unit": "1", + "norm": "ge", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-307b0277dca46875a8a26012": { + "quantity": "defect_dominated_positive_ion_motion", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-absorber-resolved-v4/quality_gates/defect_dominated_positive_ion_motion", + "value_sha256": "65704c467ce53fcb4b17f009a4b97242f7d1bdef4a3687b2a784d800842196c7" + }, + "gate_value": { + "operator": "le", + "limit": 1e-07, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-6338649cc0ab385f94054cb9": { + "quantity": "fast_ion_failure_is_line_search_stall", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-absorber-resolved-v4/quality_gates/fast_ion_failure_is_line_search_stall", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-a960116536ff581cdaf35dc0": { + "quantity": "fast_ion_failure_iteration_reported", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-absorber-resolved-v4/quality_gates/fast_ion_failure_iteration_reported", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-0c9dffe1bf52e8ea7c002058": { + "quantity": "fast_ion_failure_iteration_within_policy", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-absorber-resolved-v4/quality_gates/fast_ion_failure_iteration_within_policy", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-b208719cbadf17861d284d9b": { + "quantity": "fast_ion_stiffness_failed_closed", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-absorber-resolved-v4/quality_gates/fast_ion_stiffness_failed_closed", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-b9b1c34ed26c4e7d1cfef788": { + "quantity": "fast_ion_stiffness_failure_typed", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-absorber-resolved-v4/quality_gates/fast_ion_stiffness_failure_typed", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-99443271b33eaf0c0085bd67": { + "quantity": "ion_dominated_interface_occupancy_motion", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-absorber-resolved-v4/quality_gates/ion_dominated_interface_occupancy_motion", + "value_sha256": "39e4e66bbb6e4817b64fa08c183b4288e6f1103f9264d26c0e87f05a52d9b1d7" + }, + "gate_value": { + "operator": "le", + "limit": 1e-12, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-509eff0a56478634d65e0641": { + "quantity": "ion_dominated_positive_ion_motion", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-absorber-resolved-v4/quality_gates/ion_dominated_positive_ion_motion", + "value_sha256": "d706982bbf8fd839000ae78fcd0dbb98029e471111c5c888fc7b94f8a4fec633" + }, + "gate_value": { + "operator": "ge", + "limit": 1e-05, + "units": "1" + }, + "unit": "1", + "norm": "ge", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-ceb72ac2499e2554e072e3d8": { + "quantity": "max_all_face_current_spread_relative", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-absorber-resolved-v4/quality_gates/max_all_face_current_spread_relative", + "value_sha256": "9589b9bfde3e3ae741db33e7ff8d6e037b481c78b45a57977b2778af00fa9369" + }, + "gate_value": { + "operator": "le", + "limit": 2e-06, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-a8e490964f0299460c776a3e": { + "quantity": "max_analytic_jacobian_column_relative_error", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-absorber-resolved-v4/quality_gates/max_analytic_jacobian_column_relative_error", + "value_sha256": "18e7b8085f9e07416d00c3cefbfa364e8e919ee1a10b8e7e4607c038713ca29f" + }, + "gate_value": { + "operator": "le", + "limit": 0.0003, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-0efbb828a083efa7f7d7fbe6": { + "quantity": "max_charge_balance_relative_error", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-absorber-resolved-v4/quality_gates/max_charge_balance_relative_error", + "value_sha256": "d05931d5e401d506375c19c8b7c15d33b614369a54c1d98ca2f90ea1b9fa50a0" + }, + "gate_value": { + "operator": "le", + "limit": 1e-10, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-cfd5c0f75e257dd949ab8f7f": { + "quantity": "max_current_decomposition_relative_error", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-absorber-resolved-v4/quality_gates/max_current_decomposition_relative_error", + "value_sha256": "5defdee843c196ac0041f74ea0612464035269f158c4faa293f95f421c0be646" + }, + "gate_value": { + "operator": "le", + "limit": 1e-14, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-0dafc45082f0141caae1ded6": { + "quantity": "max_eliminated_operator_relative_error", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-absorber-resolved-v4/quality_gates/max_eliminated_operator_relative_error", + "value_sha256": "e64c71c4a33aea28b4b37bd35efcebc3372fffac64ef65639db94f57ff62a79f" + }, + "gate_value": { + "operator": "le", + "limit": 1e-06, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-9c0f05e25bf2c7fc0b7fee6f": { + "quantity": "max_interface_total_current_relative_error", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-absorber-resolved-v4/quality_gates/max_interface_total_current_relative_error", + "value_sha256": "9589b9bfde3e3ae741db33e7ff8d6e037b481c78b45a57977b2778af00fa9369" + }, + "gate_value": { + "operator": "le", + "limit": 2e-06, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-2d5916107874e344937b732b": { + "quantity": "max_ion_inventory_relative_drift", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-absorber-resolved-v4/quality_gates/max_ion_inventory_relative_drift", + "value_sha256": "3a640d73a3706289c46bc018d861d6926fc002e81495e015b5ec80d9a776e197" + }, + "gate_value": { + "operator": "le", + "limit": 1e-09, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-ada3c2dad6e2f1e701cd4e11": { + "quantity": "max_local_carrier_normalized_residual", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-absorber-resolved-v4/quality_gates/max_local_carrier_normalized_residual", + "value_sha256": "65704c467ce53fcb4b17f009a4b97242f7d1bdef4a3687b2a784d800842196c7" + }, + "gate_value": { + "operator": "le", + "limit": 1e-07, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-e0c7b1fc508e0e8016fea02c": { + "quantity": "max_local_gauss_normalized_residual", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-absorber-resolved-v4/quality_gates/max_local_gauss_normalized_residual", + "value_sha256": "65704c467ce53fcb4b17f009a4b97242f7d1bdef4a3687b2a784d800842196c7" + }, + "gate_value": { + "operator": "le", + "limit": 1e-07, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-e8c33bcb94926bed95ca86f6": { + "quantity": "max_near_acceptance_nonmonotone_step_count", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-absorber-resolved-v4/quality_gates/max_near_acceptance_nonmonotone_step_count", + "value_sha256": "c8f33d0e8f00e338cd591a4b642d32a31a7ff872a2891950197b1b65571006fb" + }, + "gate_value": { + "operator": "le", + "limit": 12.0, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-70686d2c74fa2a7612115c4a": { + "quantity": "max_poisson_residual_C_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-absorber-resolved-v4/quality_gates/max_poisson_residual_C_m2", + "value_sha256": "5e34691636664a5399a347df1a9d4bb3ca29105ca032ac6c9018bf4e5a719b7b" + }, + "gate_value": { + "operator": "le", + "limit": 1e-08, + "units": "C m-2" + }, + "unit": "C m-2", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-16d56708ff70bba44bd9ed62": { + "quantity": "max_refinement_current_relative_change", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-absorber-resolved-v4/quality_gates/max_refinement_current_relative_change", + "value_sha256": "c3830405630646faf1f6a15fe04d34bebf43ded7dbea5b7249088cf65fdc1cf7" + }, + "gate_value": { + "operator": "le", + "limit": 0.05, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-4421dec318834ef82902c8e3": { + "quantity": "max_refinement_state_change", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-absorber-resolved-v4/quality_gates/max_refinement_state_change", + "value_sha256": "980e7a78594046b79bf4581eb60403c49e84f00cbbc2c757f6aabc49ac9207e9" + }, + "gate_value": { + "operator": "le", + "limit": 0.02, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-f15cbdddbb1b81a2ba3148e2": { + "quantity": "max_scaled_nonlinear_residual", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-absorber-resolved-v4/quality_gates/max_scaled_nonlinear_residual", + "value_sha256": "c3830405630646faf1f6a15fe04d34bebf43ded7dbea5b7249088cf65fdc1cf7" + }, + "gate_value": { + "operator": "le", + "limit": 0.05, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-e3437626bfd6fd9481b00b19": { + "quantity": "max_site_occupancy_fraction", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-absorber-resolved-v4/quality_gates/max_site_occupancy_fraction", + "value_sha256": "90da99f6ed74d7d053d8a61ee34588d7803784070577c93d2e16235d8d9d0730" + }, + "gate_value": { + "operator": "le", + "limit": 0.999, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-9c6ade9af18fbbc9f62d7529": { + "quantity": "microscopic_binding_certified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-absorber-resolved-v4/quality_gates/microscopic_binding_certified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-70fb60ec809e6ff7e96b3f45": { + "quantity": "operating_points_certified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-absorber-resolved-v4/quality_gates/operating_points_certified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-df6957825c6e011087268634": { + "quantity": "protocol_identity_verified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-absorber-resolved-v4/quality_gates/protocol_identity_verified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-d23c470b0dec16dac7a28d3b": { + "quantity": "source_case_identity_verified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-absorber-resolved-v4/quality_gates/source_case_identity_verified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-f0451d8a65a6ab4d4682f0a5": { + "quantity": "combined_interface_occupancy", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-nonlinear-resolved-v3/observables/combined_interface_occupancy", + "value_sha256": "4f7f5ed1ff3f23cf8f77c5f7d570c9106259a1989ad13eab891ff64a01fa5934" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 1e-08, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-c0cc5cc33b833d49c95cc90a": { + "quantity": "combined_positive_ion_centroid_m", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-nonlinear-resolved-v3/observables/combined_positive_ion_centroid_m", + "value_sha256": "58da184889003d21d6904198caad9b212dfeb03ef91b65e2083cf67a81b7f2c4" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 5e-11, + "units": "m" + }, + "unit": "m", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-619d87e59a5b7f4e68a3975f": { + "quantity": "combined_left_terminal_current_A_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-nonlinear-resolved-v3/observables/combined_left_terminal_current_A_m2", + "value_sha256": "82a20c95f34fe561a11fac6e6183f5620e10cd40d691f340be090d1d3b59b88e" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 1e-05, + "units": "A m-2" + }, + "unit": "A m-2", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-3baa8984c419be9154171461": { + "quantity": "combined_integrated_charge_C_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-nonlinear-resolved-v3/observables/combined_integrated_charge_C_m2", + "value_sha256": "c298ae297a3b3e0f0d4faf1971691765ecc65228cd7d02851c2ea788e1456b56" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 1e-09, + "units": "C m-2" + }, + "unit": "C m-2", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-0345f9f188c51373a0deb2ba": { + "quantity": "defect_dominated_interface_occupancy", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-nonlinear-resolved-v3/observables/defect_dominated_interface_occupancy", + "value_sha256": "4f7f5ed1ff3f23cf8f77c5f7d570c9106259a1989ad13eab891ff64a01fa5934" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 1e-08, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-ab2d706f371dce2888d2de72": { + "quantity": "defect_dominated_positive_ion_centroid_m", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-nonlinear-resolved-v3/observables/defect_dominated_positive_ion_centroid_m", + "value_sha256": "58da184889003d21d6904198caad9b212dfeb03ef91b65e2083cf67a81b7f2c4" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 5e-11, + "units": "m" + }, + "unit": "m", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-ee9f608a01b1a424f62edee9": { + "quantity": "defect_dominated_left_terminal_current_A_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-nonlinear-resolved-v3/observables/defect_dominated_left_terminal_current_A_m2", + "value_sha256": "82a20c95f34fe561a11fac6e6183f5620e10cd40d691f340be090d1d3b59b88e" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 1e-05, + "units": "A m-2" + }, + "unit": "A m-2", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-663351d779454fc716c6ac94": { + "quantity": "defect_dominated_integrated_charge_C_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-nonlinear-resolved-v3/observables/defect_dominated_integrated_charge_C_m2", + "value_sha256": "c298ae297a3b3e0f0d4faf1971691765ecc65228cd7d02851c2ea788e1456b56" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 1e-09, + "units": "C m-2" + }, + "unit": "C m-2", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-ebec8d9404f63d7ab58f616f": { + "quantity": "ion_dominated_interface_occupancy", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-nonlinear-resolved-v3/observables/ion_dominated_interface_occupancy", + "value_sha256": "4f7f5ed1ff3f23cf8f77c5f7d570c9106259a1989ad13eab891ff64a01fa5934" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 1e-08, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-d32677e2806d63dca230c900": { + "quantity": "ion_dominated_positive_ion_centroid_m", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-nonlinear-resolved-v3/observables/ion_dominated_positive_ion_centroid_m", + "value_sha256": "58da184889003d21d6904198caad9b212dfeb03ef91b65e2083cf67a81b7f2c4" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 5e-11, + "units": "m" + }, + "unit": "m", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-bdd4a45ffa8cde957f2efbcc": { + "quantity": "ion_dominated_left_terminal_current_A_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-nonlinear-resolved-v3/observables/ion_dominated_left_terminal_current_A_m2", + "value_sha256": "82a20c95f34fe561a11fac6e6183f5620e10cd40d691f340be090d1d3b59b88e" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 1e-05, + "units": "A m-2" + }, + "unit": "A m-2", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-9cc9ab321c573e81bb438ecf": { + "quantity": "ion_dominated_integrated_charge_C_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-nonlinear-resolved-v3/observables/ion_dominated_integrated_charge_C_m2", + "value_sha256": "c298ae297a3b3e0f0d4faf1971691765ecc65228cd7d02851c2ea788e1456b56" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 1e-09, + "units": "C m-2" + }, + "unit": "C m-2", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-868e97ae6f7bb356b638de58": { + "quantity": "all_cases_certified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-nonlinear-resolved-v3/quality_gates/all_cases_certified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-daafaeb38a6f507baf7da0c1": { + "quantity": "analytic_sparse_jacobian_verified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-nonlinear-resolved-v3/quality_gates/analytic_sparse_jacobian_verified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-579f538488bfe7930feb708a": { + "quantity": "case_count", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-nonlinear-resolved-v3/quality_gates/case_count", + "value_sha256": "a3f3f3d70d757b8c2431256d103927dd281998ff60471b38c1707a4604aab672" + }, + "gate_value": { + "operator": "eq", + "limit": 3.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-3a54dad62d0f69fe3b98f20a": { + "quantity": "clipping_used", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-nonlinear-resolved-v3/quality_gates/clipping_used", + "value_sha256": "40b4f8ecff0918e39cad36ae3f1a43cedd2bc93909d0a743430f93ab1c1bbb96" + }, + "gate_value": { + "operator": "eq", + "limit": 0.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-c9a533f7304816b4d047f0e0": { + "quantity": "combined_interface_occupancy_motion", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-nonlinear-resolved-v3/quality_gates/combined_interface_occupancy_motion", + "value_sha256": "f2f42dbfb00891e77001d2d8f6bdd23f204d9647a1a62e1cf9ae992b528cc5fe" + }, + "gate_value": { + "operator": "ge", + "limit": 1e-09, + "units": "1" + }, + "unit": "1", + "norm": "ge", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-1cb214a55731160f9a85ef95": { + "quantity": "combined_positive_ion_motion", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-nonlinear-resolved-v3/quality_gates/combined_positive_ion_motion", + "value_sha256": "d706982bbf8fd839000ae78fcd0dbb98029e471111c5c888fc7b94f8a4fec633" + }, + "gate_value": { + "operator": "ge", + "limit": 1e-05, + "units": "1" + }, + "unit": "1", + "norm": "ge", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-1c40a019d7b3a0a28bc3f255": { + "quantity": "defect_dominated_interface_occupancy_motion", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-nonlinear-resolved-v3/quality_gates/defect_dominated_interface_occupancy_motion", + "value_sha256": "f2f42dbfb00891e77001d2d8f6bdd23f204d9647a1a62e1cf9ae992b528cc5fe" + }, + "gate_value": { + "operator": "ge", + "limit": 1e-09, + "units": "1" + }, + "unit": "1", + "norm": "ge", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-7032489aabc5864809818648": { + "quantity": "defect_dominated_positive_ion_motion", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-nonlinear-resolved-v3/quality_gates/defect_dominated_positive_ion_motion", + "value_sha256": "65704c467ce53fcb4b17f009a4b97242f7d1bdef4a3687b2a784d800842196c7" + }, + "gate_value": { + "operator": "le", + "limit": 1e-07, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-e1a35a19809f9b348eeea727": { + "quantity": "fast_ion_failure_is_line_search_stall", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-nonlinear-resolved-v3/quality_gates/fast_ion_failure_is_line_search_stall", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-242c5ecf56b56c177cc7a33c": { + "quantity": "fast_ion_failure_iteration_reported", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-nonlinear-resolved-v3/quality_gates/fast_ion_failure_iteration_reported", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-1a896d09ddf6852c6718e560": { + "quantity": "fast_ion_failure_iteration_within_policy", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-nonlinear-resolved-v3/quality_gates/fast_ion_failure_iteration_within_policy", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-a8d47d081b7f3bb0a5cdfb5b": { + "quantity": "fast_ion_stiffness_failed_closed", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-nonlinear-resolved-v3/quality_gates/fast_ion_stiffness_failed_closed", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-c8c1437307e45fbe8683d7db": { + "quantity": "fast_ion_stiffness_failure_typed", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-nonlinear-resolved-v3/quality_gates/fast_ion_stiffness_failure_typed", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-e2685244646ed077f99a2236": { + "quantity": "ion_dominated_interface_occupancy_motion", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-nonlinear-resolved-v3/quality_gates/ion_dominated_interface_occupancy_motion", + "value_sha256": "39e4e66bbb6e4817b64fa08c183b4288e6f1103f9264d26c0e87f05a52d9b1d7" + }, + "gate_value": { + "operator": "le", + "limit": 1e-12, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-7d662d1a3bc92667377843c6": { + "quantity": "ion_dominated_positive_ion_motion", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-nonlinear-resolved-v3/quality_gates/ion_dominated_positive_ion_motion", + "value_sha256": "d706982bbf8fd839000ae78fcd0dbb98029e471111c5c888fc7b94f8a4fec633" + }, + "gate_value": { + "operator": "ge", + "limit": 1e-05, + "units": "1" + }, + "unit": "1", + "norm": "ge", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-fe106ef9b6173cf1a410747b": { + "quantity": "max_all_face_current_spread_relative", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-nonlinear-resolved-v3/quality_gates/max_all_face_current_spread_relative", + "value_sha256": "9589b9bfde3e3ae741db33e7ff8d6e037b481c78b45a57977b2778af00fa9369" + }, + "gate_value": { + "operator": "le", + "limit": 2e-06, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-e378a2d2c12fb4c52a114bd3": { + "quantity": "max_analytic_jacobian_column_relative_error", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-nonlinear-resolved-v3/quality_gates/max_analytic_jacobian_column_relative_error", + "value_sha256": "18e7b8085f9e07416d00c3cefbfa364e8e919ee1a10b8e7e4607c038713ca29f" + }, + "gate_value": { + "operator": "le", + "limit": 0.0003, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-6ed84b85fd1bf7ea0996cf49": { + "quantity": "max_charge_balance_relative_error", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-nonlinear-resolved-v3/quality_gates/max_charge_balance_relative_error", + "value_sha256": "d05931d5e401d506375c19c8b7c15d33b614369a54c1d98ca2f90ea1b9fa50a0" + }, + "gate_value": { + "operator": "le", + "limit": 1e-10, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-7bdacfb7eab7b71cacedddb5": { + "quantity": "max_current_decomposition_relative_error", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-nonlinear-resolved-v3/quality_gates/max_current_decomposition_relative_error", + "value_sha256": "5defdee843c196ac0041f74ea0612464035269f158c4faa293f95f421c0be646" + }, + "gate_value": { + "operator": "le", + "limit": 1e-14, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-2de574fa7534e429edddb045": { + "quantity": "max_eliminated_operator_relative_error", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-nonlinear-resolved-v3/quality_gates/max_eliminated_operator_relative_error", + "value_sha256": "e64c71c4a33aea28b4b37bd35efcebc3372fffac64ef65639db94f57ff62a79f" + }, + "gate_value": { + "operator": "le", + "limit": 1e-06, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-0cb4eadeef7d7ca63d16a3e1": { + "quantity": "max_interface_total_current_relative_error", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-nonlinear-resolved-v3/quality_gates/max_interface_total_current_relative_error", + "value_sha256": "9589b9bfde3e3ae741db33e7ff8d6e037b481c78b45a57977b2778af00fa9369" + }, + "gate_value": { + "operator": "le", + "limit": 2e-06, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-120b649cb27a089a9b7cb29a": { + "quantity": "max_ion_inventory_relative_drift", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-nonlinear-resolved-v3/quality_gates/max_ion_inventory_relative_drift", + "value_sha256": "3a640d73a3706289c46bc018d861d6926fc002e81495e015b5ec80d9a776e197" + }, + "gate_value": { + "operator": "le", + "limit": 1e-09, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-53a82a7239e817db936288a2": { + "quantity": "max_local_carrier_normalized_residual", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-nonlinear-resolved-v3/quality_gates/max_local_carrier_normalized_residual", + "value_sha256": "65704c467ce53fcb4b17f009a4b97242f7d1bdef4a3687b2a784d800842196c7" + }, + "gate_value": { + "operator": "le", + "limit": 1e-07, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-aa117798b164aab07e92d241": { + "quantity": "max_local_gauss_normalized_residual", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-nonlinear-resolved-v3/quality_gates/max_local_gauss_normalized_residual", + "value_sha256": "65704c467ce53fcb4b17f009a4b97242f7d1bdef4a3687b2a784d800842196c7" + }, + "gate_value": { + "operator": "le", + "limit": 1e-07, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-91cd384f071a1589073c619e": { + "quantity": "max_near_acceptance_nonmonotone_step_count", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-nonlinear-resolved-v3/quality_gates/max_near_acceptance_nonmonotone_step_count", + "value_sha256": "c8f33d0e8f00e338cd591a4b642d32a31a7ff872a2891950197b1b65571006fb" + }, + "gate_value": { + "operator": "le", + "limit": 12.0, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-abe05c050ecbe7b2e2fe8019": { + "quantity": "max_poisson_residual_C_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-nonlinear-resolved-v3/quality_gates/max_poisson_residual_C_m2", + "value_sha256": "5e34691636664a5399a347df1a9d4bb3ca29105ca032ac6c9018bf4e5a719b7b" + }, + "gate_value": { + "operator": "le", + "limit": 1e-08, + "units": "C m-2" + }, + "unit": "C m-2", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-62010f10d217c4b12681c35e": { + "quantity": "max_refinement_current_relative_change", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-nonlinear-resolved-v3/quality_gates/max_refinement_current_relative_change", + "value_sha256": "c3830405630646faf1f6a15fe04d34bebf43ded7dbea5b7249088cf65fdc1cf7" + }, + "gate_value": { + "operator": "le", + "limit": 0.05, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-eaf72da19e4d45cfee88a646": { + "quantity": "max_refinement_state_change", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-nonlinear-resolved-v3/quality_gates/max_refinement_state_change", + "value_sha256": "980e7a78594046b79bf4581eb60403c49e84f00cbbc2c757f6aabc49ac9207e9" + }, + "gate_value": { + "operator": "le", + "limit": 0.02, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-7aded4a7b624e61f3c4a4b85": { + "quantity": "max_scaled_nonlinear_residual", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-nonlinear-resolved-v3/quality_gates/max_scaled_nonlinear_residual", + "value_sha256": "c3830405630646faf1f6a15fe04d34bebf43ded7dbea5b7249088cf65fdc1cf7" + }, + "gate_value": { + "operator": "le", + "limit": 0.05, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-7f98377940f352266ca4dce4": { + "quantity": "max_site_occupancy_fraction", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-nonlinear-resolved-v3/quality_gates/max_site_occupancy_fraction", + "value_sha256": "90da99f6ed74d7d053d8a61ee34588d7803784070577c93d2e16235d8d9d0730" + }, + "gate_value": { + "operator": "le", + "limit": 0.999, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-ff7558f2827fc091487eaa46": { + "quantity": "microscopic_binding_certified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-nonlinear-resolved-v3/quality_gates/microscopic_binding_certified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-ff8eec45eae75369834e5911": { + "quantity": "operating_points_certified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-nonlinear-resolved-v3/quality_gates/operating_points_certified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-8ad31db41113aae409b6d09e": { + "quantity": "protocol_identity_verified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-nonlinear-resolved-v3/quality_gates/protocol_identity_verified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-01e6a96b673358ac260adb61": { + "quantity": "source_case_identity_verified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-nonlinear-resolved-v3/quality_gates/source_case_identity_verified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-21e200d42c007d82efff89d8": { + "quantity": "combined_interface_occupancy_change", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-reference-resolved-v5/observables/combined_interface_occupancy_change", + "value_sha256": "4f7f5ed1ff3f23cf8f77c5f7d570c9106259a1989ad13eab891ff64a01fa5934" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 1e-08, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-96b4fa2ad2ac0753985cc155": { + "quantity": "combined_positive_ion_centroid_shift_m", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-reference-resolved-v5/observables/combined_positive_ion_centroid_shift_m", + "value_sha256": "58da184889003d21d6904198caad9b212dfeb03ef91b65e2083cf67a81b7f2c4" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 5e-11, + "units": "m" + }, + "unit": "m", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-10333d632faa7f20b971327d": { + "quantity": "combined_left_terminal_current_A_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-reference-resolved-v5/observables/combined_left_terminal_current_A_m2", + "value_sha256": "82a20c95f34fe561a11fac6e6183f5620e10cd40d691f340be090d1d3b59b88e" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 1e-05, + "units": "A m-2" + }, + "unit": "A m-2", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-629391242f1474179ad02d2b": { + "quantity": "combined_integrated_charge_change_C_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-reference-resolved-v5/observables/combined_integrated_charge_change_C_m2", + "value_sha256": "c298ae297a3b3e0f0d4faf1971691765ecc65228cd7d02851c2ea788e1456b56" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 1e-09, + "units": "C m-2" + }, + "unit": "C m-2", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-f07d54c346e52884cf8d211a": { + "quantity": "defect_dominated_interface_occupancy_change", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-reference-resolved-v5/observables/defect_dominated_interface_occupancy_change", + "value_sha256": "4f7f5ed1ff3f23cf8f77c5f7d570c9106259a1989ad13eab891ff64a01fa5934" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 1e-08, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-b877b5e5e3f83893326b41db": { + "quantity": "defect_dominated_positive_ion_centroid_shift_m", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-reference-resolved-v5/observables/defect_dominated_positive_ion_centroid_shift_m", + "value_sha256": "58da184889003d21d6904198caad9b212dfeb03ef91b65e2083cf67a81b7f2c4" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 5e-11, + "units": "m" + }, + "unit": "m", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-8d99c55108b627f1c46da9df": { + "quantity": "defect_dominated_left_terminal_current_A_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-reference-resolved-v5/observables/defect_dominated_left_terminal_current_A_m2", + "value_sha256": "82a20c95f34fe561a11fac6e6183f5620e10cd40d691f340be090d1d3b59b88e" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 1e-05, + "units": "A m-2" + }, + "unit": "A m-2", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-f5db9aca1125f3c405104908": { + "quantity": "defect_dominated_integrated_charge_change_C_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-reference-resolved-v5/observables/defect_dominated_integrated_charge_change_C_m2", + "value_sha256": "c298ae297a3b3e0f0d4faf1971691765ecc65228cd7d02851c2ea788e1456b56" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 1e-09, + "units": "C m-2" + }, + "unit": "C m-2", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-70ba80fec89ca91581db3284": { + "quantity": "ion_dominated_interface_occupancy_change", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-reference-resolved-v5/observables/ion_dominated_interface_occupancy_change", + "value_sha256": "4f7f5ed1ff3f23cf8f77c5f7d570c9106259a1989ad13eab891ff64a01fa5934" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 1e-08, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-be05e915d00ec202d4e01f62": { + "quantity": "ion_dominated_positive_ion_centroid_shift_m", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-reference-resolved-v5/observables/ion_dominated_positive_ion_centroid_shift_m", + "value_sha256": "58da184889003d21d6904198caad9b212dfeb03ef91b65e2083cf67a81b7f2c4" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 5e-11, + "units": "m" + }, + "unit": "m", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-76d6ab5bd5f607462d86833f": { + "quantity": "ion_dominated_left_terminal_current_A_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-reference-resolved-v5/observables/ion_dominated_left_terminal_current_A_m2", + "value_sha256": "82a20c95f34fe561a11fac6e6183f5620e10cd40d691f340be090d1d3b59b88e" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 1e-05, + "units": "A m-2" + }, + "unit": "A m-2", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-5d32b21c3505bad41d034fa5": { + "quantity": "ion_dominated_integrated_charge_change_C_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-reference-resolved-v5/observables/ion_dominated_integrated_charge_change_C_m2", + "value_sha256": "c298ae297a3b3e0f0d4faf1971691765ecc65228cd7d02851c2ea788e1456b56" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 1e-09, + "units": "C m-2" + }, + "unit": "C m-2", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-e8d6f9716e1a14b1f6a80e21": { + "quantity": "all_cases_certified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-reference-resolved-v5/quality_gates/all_cases_certified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-4684c3619a8c5fd1862e52f5": { + "quantity": "analytic_sparse_jacobian_verified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-reference-resolved-v5/quality_gates/analytic_sparse_jacobian_verified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-d99de288b1e585bb5c73565e": { + "quantity": "case_count", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-reference-resolved-v5/quality_gates/case_count", + "value_sha256": "a3f3f3d70d757b8c2431256d103927dd281998ff60471b38c1707a4604aab672" + }, + "gate_value": { + "operator": "eq", + "limit": 3.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-7cce205ab17040a0604d696d": { + "quantity": "clipping_used", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-reference-resolved-v5/quality_gates/clipping_used", + "value_sha256": "40b4f8ecff0918e39cad36ae3f1a43cedd2bc93909d0a743430f93ab1c1bbb96" + }, + "gate_value": { + "operator": "eq", + "limit": 0.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-80a9a24e70380b3db67a0bde": { + "quantity": "combined_interface_occupancy_motion", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-reference-resolved-v5/quality_gates/combined_interface_occupancy_motion", + "value_sha256": "f2f42dbfb00891e77001d2d8f6bdd23f204d9647a1a62e1cf9ae992b528cc5fe" + }, + "gate_value": { + "operator": "ge", + "limit": 1e-09, + "units": "1" + }, + "unit": "1", + "norm": "ge", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-b7325d555edc5dff29f13b2f": { + "quantity": "combined_positive_ion_motion", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-reference-resolved-v5/quality_gates/combined_positive_ion_motion", + "value_sha256": "d706982bbf8fd839000ae78fcd0dbb98029e471111c5c888fc7b94f8a4fec633" + }, + "gate_value": { + "operator": "ge", + "limit": 1e-05, + "units": "1" + }, + "unit": "1", + "norm": "ge", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-9edd3cea700a28c53c9517df": { + "quantity": "defect_dominated_interface_occupancy_motion", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-reference-resolved-v5/quality_gates/defect_dominated_interface_occupancy_motion", + "value_sha256": "f2f42dbfb00891e77001d2d8f6bdd23f204d9647a1a62e1cf9ae992b528cc5fe" + }, + "gate_value": { + "operator": "ge", + "limit": 1e-09, + "units": "1" + }, + "unit": "1", + "norm": "ge", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-72ca6aafcba9316970b768cc": { + "quantity": "defect_dominated_positive_ion_motion", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-reference-resolved-v5/quality_gates/defect_dominated_positive_ion_motion", + "value_sha256": "65704c467ce53fcb4b17f009a4b97242f7d1bdef4a3687b2a784d800842196c7" + }, + "gate_value": { + "operator": "le", + "limit": 1e-07, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-40382c7f878ac56784f94b91": { + "quantity": "fast_ion_failure_is_declared_nonlinear_stall", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-reference-resolved-v5/quality_gates/fast_ion_failure_is_declared_nonlinear_stall", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-42dd531b236c76bdefcc375b": { + "quantity": "fast_ion_failure_iteration_reported", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-reference-resolved-v5/quality_gates/fast_ion_failure_iteration_reported", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-67b246c0fa68c43b39d4fd30": { + "quantity": "fast_ion_failure_iteration_within_policy", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-reference-resolved-v5/quality_gates/fast_ion_failure_iteration_within_policy", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-b4670c4d9c437329ec9ec514": { + "quantity": "fast_ion_failure_residual_above_acceptance", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-reference-resolved-v5/quality_gates/fast_ion_failure_residual_above_acceptance", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-c2d50ae6aa0365c8961db9db": { + "quantity": "fast_ion_stiffness_failed_closed", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-reference-resolved-v5/quality_gates/fast_ion_stiffness_failed_closed", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-05ab9b70dcc5d350a77774f8": { + "quantity": "fast_ion_stiffness_failure_typed", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-reference-resolved-v5/quality_gates/fast_ion_stiffness_failure_typed", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-5fe377a0ba2e5ddd8ea7e5c7": { + "quantity": "ion_dominated_interface_occupancy_motion", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-reference-resolved-v5/quality_gates/ion_dominated_interface_occupancy_motion", + "value_sha256": "39e4e66bbb6e4817b64fa08c183b4288e6f1103f9264d26c0e87f05a52d9b1d7" + }, + "gate_value": { + "operator": "le", + "limit": 1e-12, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-7d31f72e4e6aa275655d9fb7": { + "quantity": "ion_dominated_positive_ion_motion", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-reference-resolved-v5/quality_gates/ion_dominated_positive_ion_motion", + "value_sha256": "d706982bbf8fd839000ae78fcd0dbb98029e471111c5c888fc7b94f8a4fec633" + }, + "gate_value": { + "operator": "ge", + "limit": 1e-05, + "units": "1" + }, + "unit": "1", + "norm": "ge", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-73a0e0a1636bd82c4451b486": { + "quantity": "max_all_face_current_spread_relative", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-reference-resolved-v5/quality_gates/max_all_face_current_spread_relative", + "value_sha256": "9589b9bfde3e3ae741db33e7ff8d6e037b481c78b45a57977b2778af00fa9369" + }, + "gate_value": { + "operator": "le", + "limit": 2e-06, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-3c67580b350287598ea8ca0c": { + "quantity": "max_analytic_jacobian_column_relative_error", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-reference-resolved-v5/quality_gates/max_analytic_jacobian_column_relative_error", + "value_sha256": "18e7b8085f9e07416d00c3cefbfa364e8e919ee1a10b8e7e4607c038713ca29f" + }, + "gate_value": { + "operator": "le", + "limit": 0.0003, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-0bc53fd5a49e05fd0c54f0f6": { + "quantity": "max_charge_balance_relative_error", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-reference-resolved-v5/quality_gates/max_charge_balance_relative_error", + "value_sha256": "d05931d5e401d506375c19c8b7c15d33b614369a54c1d98ca2f90ea1b9fa50a0" + }, + "gate_value": { + "operator": "le", + "limit": 1e-10, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-d9c2639990491162e2922062": { + "quantity": "max_current_decomposition_relative_error", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-reference-resolved-v5/quality_gates/max_current_decomposition_relative_error", + "value_sha256": "5defdee843c196ac0041f74ea0612464035269f158c4faa293f95f421c0be646" + }, + "gate_value": { + "operator": "le", + "limit": 1e-14, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-1658d71f362ced253703cbfe": { + "quantity": "max_eliminated_operator_relative_error", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-reference-resolved-v5/quality_gates/max_eliminated_operator_relative_error", + "value_sha256": "e64c71c4a33aea28b4b37bd35efcebc3372fffac64ef65639db94f57ff62a79f" + }, + "gate_value": { + "operator": "le", + "limit": 1e-06, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-951c8181914adac8c7e92dbe": { + "quantity": "max_interface_total_current_relative_error", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-reference-resolved-v5/quality_gates/max_interface_total_current_relative_error", + "value_sha256": "9589b9bfde3e3ae741db33e7ff8d6e037b481c78b45a57977b2778af00fa9369" + }, + "gate_value": { + "operator": "le", + "limit": 2e-06, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-9731309a5111b2b17f21acde": { + "quantity": "max_ion_inventory_relative_drift", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-reference-resolved-v5/quality_gates/max_ion_inventory_relative_drift", + "value_sha256": "3a640d73a3706289c46bc018d861d6926fc002e81495e015b5ec80d9a776e197" + }, + "gate_value": { + "operator": "le", + "limit": 1e-09, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-085717513c5239e0ab6408cb": { + "quantity": "max_local_carrier_normalized_residual", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-reference-resolved-v5/quality_gates/max_local_carrier_normalized_residual", + "value_sha256": "65704c467ce53fcb4b17f009a4b97242f7d1bdef4a3687b2a784d800842196c7" + }, + "gate_value": { + "operator": "le", + "limit": 1e-07, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-dba2191b0d85fd32f0aa691e": { + "quantity": "max_local_gauss_normalized_residual", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-reference-resolved-v5/quality_gates/max_local_gauss_normalized_residual", + "value_sha256": "65704c467ce53fcb4b17f009a4b97242f7d1bdef4a3687b2a784d800842196c7" + }, + "gate_value": { + "operator": "le", + "limit": 1e-07, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-73a0e8e44d8bdb08061a76d4": { + "quantity": "max_near_acceptance_nonmonotone_step_count", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-reference-resolved-v5/quality_gates/max_near_acceptance_nonmonotone_step_count", + "value_sha256": "c8f33d0e8f00e338cd591a4b642d32a31a7ff872a2891950197b1b65571006fb" + }, + "gate_value": { + "operator": "le", + "limit": 12.0, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-d8b9ba44ec3faeb4891d1196": { + "quantity": "max_poisson_residual_C_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-reference-resolved-v5/quality_gates/max_poisson_residual_C_m2", + "value_sha256": "5e34691636664a5399a347df1a9d4bb3ca29105ca032ac6c9018bf4e5a719b7b" + }, + "gate_value": { + "operator": "le", + "limit": 1e-08, + "units": "C m-2" + }, + "unit": "C m-2", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-b18c4bdc999b53f481342575": { + "quantity": "max_refinement_current_relative_change", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-reference-resolved-v5/quality_gates/max_refinement_current_relative_change", + "value_sha256": "c3830405630646faf1f6a15fe04d34bebf43ded7dbea5b7249088cf65fdc1cf7" + }, + "gate_value": { + "operator": "le", + "limit": 0.05, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-31751c858fda2a94b9169a08": { + "quantity": "max_refinement_state_change", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-reference-resolved-v5/quality_gates/max_refinement_state_change", + "value_sha256": "980e7a78594046b79bf4581eb60403c49e84f00cbbc2c757f6aabc49ac9207e9" + }, + "gate_value": { + "operator": "le", + "limit": 0.02, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-02afc7a2c4498e897df2bcfe": { + "quantity": "max_scaled_nonlinear_residual", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-reference-resolved-v5/quality_gates/max_scaled_nonlinear_residual", + "value_sha256": "c3830405630646faf1f6a15fe04d34bebf43ded7dbea5b7249088cf65fdc1cf7" + }, + "gate_value": { + "operator": "le", + "limit": 0.05, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-7bc4ee050bcb1c9f3d3a865f": { + "quantity": "max_site_occupancy_fraction", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-reference-resolved-v5/quality_gates/max_site_occupancy_fraction", + "value_sha256": "90da99f6ed74d7d053d8a61ee34588d7803784070577c93d2e16235d8d9d0730" + }, + "gate_value": { + "operator": "le", + "limit": 0.999, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-66f626e49cb8f0b72dc76a7e": { + "quantity": "microscopic_binding_certified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-reference-resolved-v5/quality_gates/microscopic_binding_certified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-d2994f200276eeee8cf46295": { + "quantity": "operating_points_certified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-reference-resolved-v5/quality_gates/operating_points_certified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-c519324bcb463356150fe50c": { + "quantity": "protocol_identity_verified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-reference-resolved-v5/quality_gates/protocol_identity_verified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-29efb1f7e7e83008ec9fbb03": { + "quantity": "source_case_identity_verified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-reference-resolved-v5/quality_gates/source_case_identity_verified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-6c25b9b7808b8c1cb73c5285": { + "quantity": "combined_interface_occupancy", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-resolved-v2/observables/combined_interface_occupancy", + "value_sha256": "4f7f5ed1ff3f23cf8f77c5f7d570c9106259a1989ad13eab891ff64a01fa5934" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 1e-08, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-418db1b462ba803dd8b7c050": { + "quantity": "combined_positive_ion_centroid_m", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-resolved-v2/observables/combined_positive_ion_centroid_m", + "value_sha256": "58da184889003d21d6904198caad9b212dfeb03ef91b65e2083cf67a81b7f2c4" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 5e-11, + "units": "m" + }, + "unit": "m", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-0eb22394df0da4a1975bb088": { + "quantity": "combined_left_terminal_current_A_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-resolved-v2/observables/combined_left_terminal_current_A_m2", + "value_sha256": "82a20c95f34fe561a11fac6e6183f5620e10cd40d691f340be090d1d3b59b88e" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 1e-05, + "units": "A m-2" + }, + "unit": "A m-2", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-3ad37a8adcbffd2a12af5f64": { + "quantity": "combined_integrated_charge_C_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-resolved-v2/observables/combined_integrated_charge_C_m2", + "value_sha256": "c298ae297a3b3e0f0d4faf1971691765ecc65228cd7d02851c2ea788e1456b56" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 1e-09, + "units": "C m-2" + }, + "unit": "C m-2", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-17d0b4c11c524f9a62bcf5aa": { + "quantity": "defect_dominated_interface_occupancy", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-resolved-v2/observables/defect_dominated_interface_occupancy", + "value_sha256": "4f7f5ed1ff3f23cf8f77c5f7d570c9106259a1989ad13eab891ff64a01fa5934" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 1e-08, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-68728100f6eb51a29c7a57c0": { + "quantity": "defect_dominated_positive_ion_centroid_m", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-resolved-v2/observables/defect_dominated_positive_ion_centroid_m", + "value_sha256": "58da184889003d21d6904198caad9b212dfeb03ef91b65e2083cf67a81b7f2c4" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 5e-11, + "units": "m" + }, + "unit": "m", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-c4df18baef95921681c1a643": { + "quantity": "defect_dominated_left_terminal_current_A_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-resolved-v2/observables/defect_dominated_left_terminal_current_A_m2", + "value_sha256": "82a20c95f34fe561a11fac6e6183f5620e10cd40d691f340be090d1d3b59b88e" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 1e-05, + "units": "A m-2" + }, + "unit": "A m-2", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-e306d54d7f939791f7c1c35a": { + "quantity": "defect_dominated_integrated_charge_C_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-resolved-v2/observables/defect_dominated_integrated_charge_C_m2", + "value_sha256": "c298ae297a3b3e0f0d4faf1971691765ecc65228cd7d02851c2ea788e1456b56" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 1e-09, + "units": "C m-2" + }, + "unit": "C m-2", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-6f065e82bb80824c88ebeacc": { + "quantity": "ion_dominated_interface_occupancy", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-resolved-v2/observables/ion_dominated_interface_occupancy", + "value_sha256": "4f7f5ed1ff3f23cf8f77c5f7d570c9106259a1989ad13eab891ff64a01fa5934" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 1e-08, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-fbe7c1846a4d4afff5d2414a": { + "quantity": "ion_dominated_positive_ion_centroid_m", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-resolved-v2/observables/ion_dominated_positive_ion_centroid_m", + "value_sha256": "58da184889003d21d6904198caad9b212dfeb03ef91b65e2083cf67a81b7f2c4" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 5e-11, + "units": "m" + }, + "unit": "m", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-4f5360fb1a4cf9951be467b3": { + "quantity": "ion_dominated_left_terminal_current_A_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-resolved-v2/observables/ion_dominated_left_terminal_current_A_m2", + "value_sha256": "82a20c95f34fe561a11fac6e6183f5620e10cd40d691f340be090d1d3b59b88e" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 1e-05, + "units": "A m-2" + }, + "unit": "A m-2", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-9a3e64674766ecb8ab97dea3": { + "quantity": "ion_dominated_integrated_charge_C_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-resolved-v2/observables/ion_dominated_integrated_charge_C_m2", + "value_sha256": "c298ae297a3b3e0f0d4faf1971691765ecc65228cd7d02851c2ea788e1456b56" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 1e-09, + "units": "C m-2" + }, + "unit": "C m-2", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-c7b187ea26bc0e5279789b91": { + "quantity": "all_cases_certified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-resolved-v2/quality_gates/all_cases_certified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-0666d36d9d600ea71be5ae20": { + "quantity": "analytic_sparse_jacobian_verified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-resolved-v2/quality_gates/analytic_sparse_jacobian_verified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-2f14c85545b459983c4ab1e6": { + "quantity": "case_count", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-resolved-v2/quality_gates/case_count", + "value_sha256": "a3f3f3d70d757b8c2431256d103927dd281998ff60471b38c1707a4604aab672" + }, + "gate_value": { + "operator": "eq", + "limit": 3.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-ac616f0512c08cdaa9177878": { + "quantity": "clipping_used", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-resolved-v2/quality_gates/clipping_used", + "value_sha256": "40b4f8ecff0918e39cad36ae3f1a43cedd2bc93909d0a743430f93ab1c1bbb96" + }, + "gate_value": { + "operator": "eq", + "limit": 0.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-e9ee5260a8bb8a65be1ea9c3": { + "quantity": "combined_interface_occupancy_motion", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-resolved-v2/quality_gates/combined_interface_occupancy_motion", + "value_sha256": "f2f42dbfb00891e77001d2d8f6bdd23f204d9647a1a62e1cf9ae992b528cc5fe" + }, + "gate_value": { + "operator": "ge", + "limit": 1e-09, + "units": "1" + }, + "unit": "1", + "norm": "ge", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-50fa78a2ecf9e073f7baec44": { + "quantity": "combined_positive_ion_motion", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-resolved-v2/quality_gates/combined_positive_ion_motion", + "value_sha256": "d706982bbf8fd839000ae78fcd0dbb98029e471111c5c888fc7b94f8a4fec633" + }, + "gate_value": { + "operator": "ge", + "limit": 1e-05, + "units": "1" + }, + "unit": "1", + "norm": "ge", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-bba2a7d394d3033289184f34": { + "quantity": "defect_dominated_interface_occupancy_motion", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-resolved-v2/quality_gates/defect_dominated_interface_occupancy_motion", + "value_sha256": "f2f42dbfb00891e77001d2d8f6bdd23f204d9647a1a62e1cf9ae992b528cc5fe" + }, + "gate_value": { + "operator": "ge", + "limit": 1e-09, + "units": "1" + }, + "unit": "1", + "norm": "ge", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-9691e5c41a3fb9823f694cc7": { + "quantity": "defect_dominated_positive_ion_motion", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-resolved-v2/quality_gates/defect_dominated_positive_ion_motion", + "value_sha256": "65704c467ce53fcb4b17f009a4b97242f7d1bdef4a3687b2a784d800842196c7" + }, + "gate_value": { + "operator": "le", + "limit": 1e-07, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-d06256661de463788b6a833a": { + "quantity": "fast_ion_failure_is_line_search_stall", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-resolved-v2/quality_gates/fast_ion_failure_is_line_search_stall", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-4686fe44237d2195452731b0": { + "quantity": "fast_ion_failure_iteration_reported", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-resolved-v2/quality_gates/fast_ion_failure_iteration_reported", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-a800059dab868c4a8322b4b3": { + "quantity": "fast_ion_failure_iteration_within_policy", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-resolved-v2/quality_gates/fast_ion_failure_iteration_within_policy", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-57fc5f270fb7ad32e2fb9dce": { + "quantity": "fast_ion_stiffness_failed_closed", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-resolved-v2/quality_gates/fast_ion_stiffness_failed_closed", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-b5e15cd1d83ab655217b93ab": { + "quantity": "fast_ion_stiffness_failure_typed", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-resolved-v2/quality_gates/fast_ion_stiffness_failure_typed", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-e8a0800f576b64242b140d0a": { + "quantity": "ion_dominated_interface_occupancy_motion", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-resolved-v2/quality_gates/ion_dominated_interface_occupancy_motion", + "value_sha256": "39e4e66bbb6e4817b64fa08c183b4288e6f1103f9264d26c0e87f05a52d9b1d7" + }, + "gate_value": { + "operator": "le", + "limit": 1e-12, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-5061526ed3167bb2d1b4e271": { + "quantity": "ion_dominated_positive_ion_motion", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-resolved-v2/quality_gates/ion_dominated_positive_ion_motion", + "value_sha256": "d706982bbf8fd839000ae78fcd0dbb98029e471111c5c888fc7b94f8a4fec633" + }, + "gate_value": { + "operator": "ge", + "limit": 1e-05, + "units": "1" + }, + "unit": "1", + "norm": "ge", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-ccaebf5af78058a93a6a6d95": { + "quantity": "max_all_face_current_spread_relative", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-resolved-v2/quality_gates/max_all_face_current_spread_relative", + "value_sha256": "9589b9bfde3e3ae741db33e7ff8d6e037b481c78b45a57977b2778af00fa9369" + }, + "gate_value": { + "operator": "le", + "limit": 2e-06, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-d6031156a0a29a5d4bb2599f": { + "quantity": "max_analytic_jacobian_column_relative_error", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-resolved-v2/quality_gates/max_analytic_jacobian_column_relative_error", + "value_sha256": "18e7b8085f9e07416d00c3cefbfa364e8e919ee1a10b8e7e4607c038713ca29f" + }, + "gate_value": { + "operator": "le", + "limit": 0.0003, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-238577f7a9aca77e244ad7ff": { + "quantity": "max_charge_balance_relative_error", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-resolved-v2/quality_gates/max_charge_balance_relative_error", + "value_sha256": "d05931d5e401d506375c19c8b7c15d33b614369a54c1d98ca2f90ea1b9fa50a0" + }, + "gate_value": { + "operator": "le", + "limit": 1e-10, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-2c1673377d877d4191b4d6ad": { + "quantity": "max_current_decomposition_relative_error", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-resolved-v2/quality_gates/max_current_decomposition_relative_error", + "value_sha256": "5defdee843c196ac0041f74ea0612464035269f158c4faa293f95f421c0be646" + }, + "gate_value": { + "operator": "le", + "limit": 1e-14, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-6d1b29f5d754c928dac9c3eb": { + "quantity": "max_eliminated_operator_relative_error", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-resolved-v2/quality_gates/max_eliminated_operator_relative_error", + "value_sha256": "e64c71c4a33aea28b4b37bd35efcebc3372fffac64ef65639db94f57ff62a79f" + }, + "gate_value": { + "operator": "le", + "limit": 1e-06, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-3c11ff28ea2f6489b0c3931d": { + "quantity": "max_interface_total_current_relative_error", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-resolved-v2/quality_gates/max_interface_total_current_relative_error", + "value_sha256": "9589b9bfde3e3ae741db33e7ff8d6e037b481c78b45a57977b2778af00fa9369" + }, + "gate_value": { + "operator": "le", + "limit": 2e-06, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-d291897762561e67627faf4b": { + "quantity": "max_ion_inventory_relative_drift", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-resolved-v2/quality_gates/max_ion_inventory_relative_drift", + "value_sha256": "3a640d73a3706289c46bc018d861d6926fc002e81495e015b5ec80d9a776e197" + }, + "gate_value": { + "operator": "le", + "limit": 1e-09, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-b21d0c5f6b40744efe3c68d5": { + "quantity": "max_local_carrier_normalized_residual", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-resolved-v2/quality_gates/max_local_carrier_normalized_residual", + "value_sha256": "65704c467ce53fcb4b17f009a4b97242f7d1bdef4a3687b2a784d800842196c7" + }, + "gate_value": { + "operator": "le", + "limit": 1e-07, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-0d126d8eb30cfcf914986127": { + "quantity": "max_local_gauss_normalized_residual", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-resolved-v2/quality_gates/max_local_gauss_normalized_residual", + "value_sha256": "65704c467ce53fcb4b17f009a4b97242f7d1bdef4a3687b2a784d800842196c7" + }, + "gate_value": { + "operator": "le", + "limit": 1e-07, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-502c1b18a29b167fbf816a76": { + "quantity": "max_poisson_residual_C_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-resolved-v2/quality_gates/max_poisson_residual_C_m2", + "value_sha256": "5e34691636664a5399a347df1a9d4bb3ca29105ca032ac6c9018bf4e5a719b7b" + }, + "gate_value": { + "operator": "le", + "limit": 1e-08, + "units": "C m-2" + }, + "unit": "C m-2", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-92de4881239db3b823a9657d": { + "quantity": "max_refinement_current_relative_change", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-resolved-v2/quality_gates/max_refinement_current_relative_change", + "value_sha256": "c3830405630646faf1f6a15fe04d34bebf43ded7dbea5b7249088cf65fdc1cf7" + }, + "gate_value": { + "operator": "le", + "limit": 0.05, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-5eb9166e60df4a5b8104f701": { + "quantity": "max_refinement_state_change", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-resolved-v2/quality_gates/max_refinement_state_change", + "value_sha256": "980e7a78594046b79bf4581eb60403c49e84f00cbbc2c757f6aabc49ac9207e9" + }, + "gate_value": { + "operator": "le", + "limit": 0.02, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-351a5112cd51db880e0b98d7": { + "quantity": "max_scaled_nonlinear_residual", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-resolved-v2/quality_gates/max_scaled_nonlinear_residual", + "value_sha256": "c3830405630646faf1f6a15fe04d34bebf43ded7dbea5b7249088cf65fdc1cf7" + }, + "gate_value": { + "operator": "le", + "limit": 0.05, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-8c84b7053234679339f9b97b": { + "quantity": "max_site_occupancy_fraction", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-resolved-v2/quality_gates/max_site_occupancy_fraction", + "value_sha256": "90da99f6ed74d7d053d8a61ee34588d7803784070577c93d2e16235d8d9d0730" + }, + "gate_value": { + "operator": "le", + "limit": 0.999, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-8ed1a470abec75786296e511": { + "quantity": "microscopic_binding_certified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-resolved-v2/quality_gates/microscopic_binding_certified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-f98f126cd7790f846a4c4670": { + "quantity": "operating_points_certified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-resolved-v2/quality_gates/operating_points_certified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-fa6eaa33cbb3971f1ed0fd8c": { + "quantity": "protocol_identity_verified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-resolved-v2/quality_gates/protocol_identity_verified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-e29d16a0f62dd5d815467c6a": { + "quantity": "source_case_identity_verified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-resolved-v2/quality_gates/source_case_identity_verified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-1e268c6e1205d9f1c3ff211c": { + "quantity": "combined_interface_occupancy", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-v1/observables/combined_interface_occupancy", + "value_sha256": "4f7f5ed1ff3f23cf8f77c5f7d570c9106259a1989ad13eab891ff64a01fa5934" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 1e-08, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-cc99233d87208db1b2b2b6b4": { + "quantity": "combined_positive_ion_centroid_m", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-v1/observables/combined_positive_ion_centroid_m", + "value_sha256": "58da184889003d21d6904198caad9b212dfeb03ef91b65e2083cf67a81b7f2c4" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 5e-11, + "units": "m" + }, + "unit": "m", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-21c1327b17cba6322c4f7e42": { + "quantity": "combined_left_terminal_current_A_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-v1/observables/combined_left_terminal_current_A_m2", + "value_sha256": "82a20c95f34fe561a11fac6e6183f5620e10cd40d691f340be090d1d3b59b88e" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 1e-05, + "units": "A m-2" + }, + "unit": "A m-2", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-2f0e024d6bb2dd4d3e34a63d": { + "quantity": "combined_integrated_charge_C_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-v1/observables/combined_integrated_charge_C_m2", + "value_sha256": "c298ae297a3b3e0f0d4faf1971691765ecc65228cd7d02851c2ea788e1456b56" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 1e-09, + "units": "C m-2" + }, + "unit": "C m-2", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-a7c40978c2fbf16cb90fe5a8": { + "quantity": "defect_dominated_interface_occupancy", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-v1/observables/defect_dominated_interface_occupancy", + "value_sha256": "4f7f5ed1ff3f23cf8f77c5f7d570c9106259a1989ad13eab891ff64a01fa5934" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 1e-08, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-20d402d682b5df15cdcdcba7": { + "quantity": "defect_dominated_positive_ion_centroid_m", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-v1/observables/defect_dominated_positive_ion_centroid_m", + "value_sha256": "58da184889003d21d6904198caad9b212dfeb03ef91b65e2083cf67a81b7f2c4" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 5e-11, + "units": "m" + }, + "unit": "m", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-45bb78482bdcbd04500b2832": { + "quantity": "defect_dominated_left_terminal_current_A_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-v1/observables/defect_dominated_left_terminal_current_A_m2", + "value_sha256": "82a20c95f34fe561a11fac6e6183f5620e10cd40d691f340be090d1d3b59b88e" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 1e-05, + "units": "A m-2" + }, + "unit": "A m-2", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-96e8aa181335cd01aab4d2f4": { + "quantity": "defect_dominated_integrated_charge_C_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-v1/observables/defect_dominated_integrated_charge_C_m2", + "value_sha256": "c298ae297a3b3e0f0d4faf1971691765ecc65228cd7d02851c2ea788e1456b56" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 1e-09, + "units": "C m-2" + }, + "unit": "C m-2", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-34e081fe821bd8c54a8d818a": { + "quantity": "ion_dominated_interface_occupancy", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-v1/observables/ion_dominated_interface_occupancy", + "value_sha256": "4f7f5ed1ff3f23cf8f77c5f7d570c9106259a1989ad13eab891ff64a01fa5934" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 1e-08, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-19502639188e0e3a0ff730ed": { + "quantity": "ion_dominated_positive_ion_centroid_m", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-v1/observables/ion_dominated_positive_ion_centroid_m", + "value_sha256": "58da184889003d21d6904198caad9b212dfeb03ef91b65e2083cf67a81b7f2c4" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 5e-11, + "units": "m" + }, + "unit": "m", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-de0002d336a0cb2d74462a72": { + "quantity": "ion_dominated_left_terminal_current_A_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-v1/observables/ion_dominated_left_terminal_current_A_m2", + "value_sha256": "82a20c95f34fe561a11fac6e6183f5620e10cd40d691f340be090d1d3b59b88e" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 1e-05, + "units": "A m-2" + }, + "unit": "A m-2", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-3c9579a663409efc030e5af5": { + "quantity": "ion_dominated_integrated_charge_C_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-v1/observables/ion_dominated_integrated_charge_C_m2", + "value_sha256": "c298ae297a3b3e0f0d4faf1971691765ecc65228cd7d02851c2ea788e1456b56" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 1e-09, + "units": "C m-2" + }, + "unit": "C m-2", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-3a93a9c4e435d1cedae918fd": { + "quantity": "all_cases_certified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-v1/quality_gates/all_cases_certified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-ce540c55300635cb306e1020": { + "quantity": "analytic_sparse_jacobian_verified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-v1/quality_gates/analytic_sparse_jacobian_verified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-24d709cdf4ce2e4834849d99": { + "quantity": "case_count", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-v1/quality_gates/case_count", + "value_sha256": "a3f3f3d70d757b8c2431256d103927dd281998ff60471b38c1707a4604aab672" + }, + "gate_value": { + "operator": "eq", + "limit": 3.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-bceda879e52c625f2b389c4d": { + "quantity": "clipping_used", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-v1/quality_gates/clipping_used", + "value_sha256": "40b4f8ecff0918e39cad36ae3f1a43cedd2bc93909d0a743430f93ab1c1bbb96" + }, + "gate_value": { + "operator": "eq", + "limit": 0.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-b7926d707d0eb000ff38b16b": { + "quantity": "combined_interface_occupancy_motion", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-v1/quality_gates/combined_interface_occupancy_motion", + "value_sha256": "f2f42dbfb00891e77001d2d8f6bdd23f204d9647a1a62e1cf9ae992b528cc5fe" + }, + "gate_value": { + "operator": "ge", + "limit": 1e-09, + "units": "1" + }, + "unit": "1", + "norm": "ge", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-801eb4dc81d4077c9d272cf8": { + "quantity": "combined_positive_ion_motion", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-v1/quality_gates/combined_positive_ion_motion", + "value_sha256": "d706982bbf8fd839000ae78fcd0dbb98029e471111c5c888fc7b94f8a4fec633" + }, + "gate_value": { + "operator": "ge", + "limit": 1e-05, + "units": "1" + }, + "unit": "1", + "norm": "ge", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-1d6bf3edd308438989c3e0f7": { + "quantity": "defect_dominated_interface_occupancy_motion", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-v1/quality_gates/defect_dominated_interface_occupancy_motion", + "value_sha256": "f2f42dbfb00891e77001d2d8f6bdd23f204d9647a1a62e1cf9ae992b528cc5fe" + }, + "gate_value": { + "operator": "ge", + "limit": 1e-09, + "units": "1" + }, + "unit": "1", + "norm": "ge", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-74ae157505942d9c5fea7a98": { + "quantity": "defect_dominated_positive_ion_motion", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-v1/quality_gates/defect_dominated_positive_ion_motion", + "value_sha256": "65704c467ce53fcb4b17f009a4b97242f7d1bdef4a3687b2a784d800842196c7" + }, + "gate_value": { + "operator": "le", + "limit": 1e-07, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-05f925dbaa9fa4cc479ffcfb": { + "quantity": "fast_ion_failure_is_line_search_stall", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-v1/quality_gates/fast_ion_failure_is_line_search_stall", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-0c0fc851c9c2c4fc4e103a5a": { + "quantity": "fast_ion_failure_iteration_reported", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-v1/quality_gates/fast_ion_failure_iteration_reported", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-3f19bb01e41ea3b7b0c55dcb": { + "quantity": "fast_ion_failure_iteration_within_policy", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-v1/quality_gates/fast_ion_failure_iteration_within_policy", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-ac846e37171ed824bfdf53d4": { + "quantity": "fast_ion_stiffness_failed_closed", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-v1/quality_gates/fast_ion_stiffness_failed_closed", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-7a86332e31bc5e489d8620c9": { + "quantity": "fast_ion_stiffness_failure_typed", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-v1/quality_gates/fast_ion_stiffness_failure_typed", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-50cdc8021eb7e031ff0b1220": { + "quantity": "ion_dominated_interface_occupancy_motion", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-v1/quality_gates/ion_dominated_interface_occupancy_motion", + "value_sha256": "39e4e66bbb6e4817b64fa08c183b4288e6f1103f9264d26c0e87f05a52d9b1d7" + }, + "gate_value": { + "operator": "le", + "limit": 1e-12, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-3564d65468184d537ba15fa3": { + "quantity": "ion_dominated_positive_ion_motion", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-v1/quality_gates/ion_dominated_positive_ion_motion", + "value_sha256": "d706982bbf8fd839000ae78fcd0dbb98029e471111c5c888fc7b94f8a4fec633" + }, + "gate_value": { + "operator": "ge", + "limit": 1e-05, + "units": "1" + }, + "unit": "1", + "norm": "ge", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-8527ef385834aeb918fa7b8d": { + "quantity": "max_all_face_current_spread_relative", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-v1/quality_gates/max_all_face_current_spread_relative", + "value_sha256": "9589b9bfde3e3ae741db33e7ff8d6e037b481c78b45a57977b2778af00fa9369" + }, + "gate_value": { + "operator": "le", + "limit": 2e-06, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-53b296107987ceb37f7be5bf": { + "quantity": "max_analytic_jacobian_column_relative_error", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-v1/quality_gates/max_analytic_jacobian_column_relative_error", + "value_sha256": "18e7b8085f9e07416d00c3cefbfa364e8e919ee1a10b8e7e4607c038713ca29f" + }, + "gate_value": { + "operator": "le", + "limit": 0.0003, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-f94c4f89a52f02e3440624ea": { + "quantity": "max_charge_balance_relative_error", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-v1/quality_gates/max_charge_balance_relative_error", + "value_sha256": "d05931d5e401d506375c19c8b7c15d33b614369a54c1d98ca2f90ea1b9fa50a0" + }, + "gate_value": { + "operator": "le", + "limit": 1e-10, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-2c6690a1f7ea3cdbabf6dfbf": { + "quantity": "max_current_decomposition_relative_error", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-v1/quality_gates/max_current_decomposition_relative_error", + "value_sha256": "5defdee843c196ac0041f74ea0612464035269f158c4faa293f95f421c0be646" + }, + "gate_value": { + "operator": "le", + "limit": 1e-14, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-080ff1912004fb0c1352f607": { + "quantity": "max_eliminated_operator_relative_error", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-v1/quality_gates/max_eliminated_operator_relative_error", + "value_sha256": "e64c71c4a33aea28b4b37bd35efcebc3372fffac64ef65639db94f57ff62a79f" + }, + "gate_value": { + "operator": "le", + "limit": 1e-06, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-1bd7891ec3049c7a42b1b4e7": { + "quantity": "max_interface_total_current_relative_error", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-v1/quality_gates/max_interface_total_current_relative_error", + "value_sha256": "9589b9bfde3e3ae741db33e7ff8d6e037b481c78b45a57977b2778af00fa9369" + }, + "gate_value": { + "operator": "le", + "limit": 2e-06, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-9572a37362f63f1df8eaae91": { + "quantity": "max_ion_inventory_relative_drift", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-v1/quality_gates/max_ion_inventory_relative_drift", + "value_sha256": "3a640d73a3706289c46bc018d861d6926fc002e81495e015b5ec80d9a776e197" + }, + "gate_value": { + "operator": "le", + "limit": 1e-09, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-ca33c6e24682b0bbe6eb8f68": { + "quantity": "max_local_carrier_normalized_residual", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-v1/quality_gates/max_local_carrier_normalized_residual", + "value_sha256": "65704c467ce53fcb4b17f009a4b97242f7d1bdef4a3687b2a784d800842196c7" + }, + "gate_value": { + "operator": "le", + "limit": 1e-07, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-22873bd2be63a57552bcfe74": { + "quantity": "max_local_gauss_normalized_residual", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-v1/quality_gates/max_local_gauss_normalized_residual", + "value_sha256": "65704c467ce53fcb4b17f009a4b97242f7d1bdef4a3687b2a784d800842196c7" + }, + "gate_value": { + "operator": "le", + "limit": 1e-07, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-8761331ee2f2e03ecb0887fb": { + "quantity": "max_poisson_residual_C_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-v1/quality_gates/max_poisson_residual_C_m2", + "value_sha256": "5e34691636664a5399a347df1a9d4bb3ca29105ca032ac6c9018bf4e5a719b7b" + }, + "gate_value": { + "operator": "le", + "limit": 1e-08, + "units": "C m-2" + }, + "unit": "C m-2", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-d44767e5f38a70833a3298cb": { + "quantity": "max_refinement_current_relative_change", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-v1/quality_gates/max_refinement_current_relative_change", + "value_sha256": "c3830405630646faf1f6a15fe04d34bebf43ded7dbea5b7249088cf65fdc1cf7" + }, + "gate_value": { + "operator": "le", + "limit": 0.05, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-9ad8e4bd1319b50188fa756e": { + "quantity": "max_refinement_state_change", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-v1/quality_gates/max_refinement_state_change", + "value_sha256": "980e7a78594046b79bf4581eb60403c49e84f00cbbc2c757f6aabc49ac9207e9" + }, + "gate_value": { + "operator": "le", + "limit": 0.02, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-cde753e23d1fdcf9170ae96f": { + "quantity": "max_scaled_nonlinear_residual", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-v1/quality_gates/max_scaled_nonlinear_residual", + "value_sha256": "c3830405630646faf1f6a15fe04d34bebf43ded7dbea5b7249088cf65fdc1cf7" + }, + "gate_value": { + "operator": "le", + "limit": 0.05, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-568bc61dfe31a4d61e09264e": { + "quantity": "max_site_occupancy_fraction", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-v1/quality_gates/max_site_occupancy_fraction", + "value_sha256": "90da99f6ed74d7d053d8a61ee34588d7803784070577c93d2e16235d8d9d0730" + }, + "gate_value": { + "operator": "le", + "limit": 0.999, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-0f5ed929830fb8fb076b5047": { + "quantity": "microscopic_binding_certified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-v1/quality_gates/microscopic_binding_certified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-2c833e5dfb3c88f599c4df6e": { + "quantity": "operating_points_certified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-v1/quality_gates/operating_points_certified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-129ab4fd0a1eaa5b74cc3065": { + "quantity": "protocol_identity_verified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-v1/quality_gates/protocol_identity_verified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-64c45610fce64f69d1ae5f56": { + "quantity": "source_case_identity_verified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-v1/quality_gates/source_case_identity_verified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-384c39f07c3e2975e6e1d8bd": { + "quantity": "ambient_to_maximum_mpp_power_change_W_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/electrothermal-terminal-mpp-grid-resolved-v3/observables/ambient_to_maximum_mpp_power_change_W_m2", + "value_sha256": "40502c92d5a2cf03ab3c8d47767dbd9f42e96caa8890402a85003cafc85f88f0" + }, + "gate_value": { + "comparison": "relative_linf", + "limit": 0.02, + "units": "W m-2" + }, + "unit": "W m-2", + "norm": "relative_linf", + "scale": { + "kind": "original_symmetric_pair_scale", + "relative_floor": 1e-30 + }, + "zero_policy": { + "kind": "original_relative_floor", + "value": 1e-30 + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-ec6f415b6800ae843ceaf92a": { + "quantity": "operating_temperature_K", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/electrothermal-terminal-mpp-grid-resolved-v3/observables/operating_temperature_K", + "value_sha256": "3569421db9ad7855e8f790cfdc1eafc94f1e1043e27563f217c65831b10dcf66" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.5, + "units": "K" + }, + "unit": "K", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-cd4e80f9dbdc0f109938f4d2": { + "quantity": "temperature_rise_K", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/electrothermal-terminal-mpp-grid-resolved-v3/observables/temperature_rise_K", + "value_sha256": "3569421db9ad7855e8f790cfdc1eafc94f1e1043e27563f217c65831b10dcf66" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.5, + "units": "K" + }, + "unit": "K", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-ac74dc1a3ba21c63285a8afe": { + "quantity": "terminal_mpp_current_A_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/electrothermal-terminal-mpp-grid-resolved-v3/observables/terminal_mpp_current_A_m2", + "value_sha256": "9ea126882024788a759cb6513c373d259842e0cc8dfab3660a7461dccdbd6a86" + }, + "gate_value": { + "comparison": "relative_linf", + "limit": 0.02, + "units": "A m-2" + }, + "unit": "A m-2", + "norm": "relative_linf", + "scale": { + "kind": "original_symmetric_pair_scale", + "relative_floor": 1e-30 + }, + "zero_policy": { + "kind": "original_relative_floor", + "value": 1e-30 + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-41ecaba52deb3fcf4eb32ad2": { + "quantity": "terminal_mpp_power_W_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/electrothermal-terminal-mpp-grid-resolved-v3/observables/terminal_mpp_power_W_m2", + "value_sha256": "40502c92d5a2cf03ab3c8d47767dbd9f42e96caa8890402a85003cafc85f88f0" + }, + "gate_value": { + "comparison": "relative_linf", + "limit": 0.02, + "units": "W m-2" + }, + "unit": "W m-2", + "norm": "relative_linf", + "scale": { + "kind": "original_symmetric_pair_scale", + "relative_floor": 1e-30 + }, + "zero_policy": { + "kind": "original_relative_floor", + "value": 1e-30 + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-a0e91ad36018b92cd14d0cf0": { + "quantity": "terminal_mpp_voltage_V", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/electrothermal-terminal-mpp-grid-resolved-v3/observables/terminal_mpp_voltage_V", + "value_sha256": "52b5f705ee7527b523dc4a06935aa105c80c896060e7a5ead17f5f0d9265851e" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.05, + "units": "V" + }, + "unit": "V", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-3055f49d627e1779b7aef767": { + "quantity": "all_temperature_evaluations_certified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/electrothermal-terminal-mpp-grid-resolved-v3/quality_gates/all_temperature_evaluations_certified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-4bdc334b420b97330e261adb": { + "quantity": "ambient_residual_positive", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/electrothermal-terminal-mpp-grid-resolved-v3/quality_gates/ambient_residual_positive", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-67016f103c34b82aaaaf91dc": { + "quantity": "base_stack_immutable", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/electrothermal-terminal-mpp-grid-resolved-v3/quality_gates/base_stack_immutable", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-ea713d95f001aece0b14158c": { + "quantity": "circuit_protocol_hash_verified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/electrothermal-terminal-mpp-grid-resolved-v3/quality_gates/circuit_protocol_hash_verified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-b465ac175beee2db9fd55efb": { + "quantity": "electrical_protocol_hash_verified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/electrothermal-terminal-mpp-grid-resolved-v3/quality_gates/electrical_protocol_hash_verified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-0d12dc90b2f42a87234ab1ba": { + "quantity": "electrothermal_certified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/electrothermal-terminal-mpp-grid-resolved-v3/quality_gates/electrothermal_certified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-445554546f9f7dc12de4f5da": { + "quantity": "final_external_mapping_verified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/electrothermal-terminal-mpp-grid-resolved-v3/quality_gates/final_external_mapping_verified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-046cdfd36574fb39e58a35d8": { + "quantity": "first_law_reconstruction_error_W_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/electrothermal-terminal-mpp-grid-resolved-v3/quality_gates/first_law_reconstruction_error_W_m2", + "value_sha256": "ce78252f2381b0bf19338be496350d2e67072e4a9acb308330c805cfc7a31d72" + }, + "gate_value": { + "operator": "le", + "limit": 1e-12, + "units": "W m-2" + }, + "unit": "W m-2", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-3b1989563b709bafb6762f56": { + "quantity": "maximum_residual_negative", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/electrothermal-terminal-mpp-grid-resolved-v3/quality_gates/maximum_residual_negative", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-9226a48000d3c560b5147f67": { + "quantity": "mpp_series_voltage_drop_V", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/electrothermal-terminal-mpp-grid-resolved-v3/quality_gates/mpp_series_voltage_drop_V", + "value_sha256": "51acaf50be92f8aca9f87509353dec5b5c82e2bad46a98078b4cd401f6a097b3" + }, + "gate_value": { + "operator": "ge", + "limit": 0.005, + "units": "V" + }, + "unit": "V", + "norm": "ge", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-ce2310e8e430ce31c8d33723": { + "quantity": "mpp_shunt_current_A_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/electrothermal-terminal-mpp-grid-resolved-v3/quality_gates/mpp_shunt_current_A_m2", + "value_sha256": "5c799458e298b01895bfd562f9ea87475d35cf1b92067ccf09a119fc5e63c783" + }, + "gate_value": { + "operator": "ge", + "limit": 1.0, + "units": "A m-2" + }, + "unit": "A m-2", + "norm": "ge", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-dadba4ce1aa7c2821f4ba187": { + "quantity": "operating_protocol_hash_verified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/electrothermal-terminal-mpp-grid-resolved-v3/quality_gates/operating_protocol_hash_verified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-455788fcd3cba2e9caf16bcd": { + "quantity": "power_balance_residual_W_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/electrothermal-terminal-mpp-grid-resolved-v3/quality_gates/power_balance_residual_W_m2", + "value_sha256": "3a57035f83c68fe474db8277374741e8cfbffcd17af84351d64c1fbe777543f2" + }, + "gate_value": { + "operator": "le", + "limit": 0.2, + "units": "W m-2" + }, + "unit": "W m-2", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-e4490e01ebc265f455488d51": { + "quantity": "root_iterations", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/electrothermal-terminal-mpp-grid-resolved-v3/quality_gates/root_iterations", + "value_sha256": "e7b356e405933b1f5bd93f4fc9c361fe4ae296299da57f6f41a812889e46a93f" + }, + "gate_value": { + "operator": "le", + "limit": 30.0, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-a37b284482b9be35dcd4a587": { + "quantity": "temperature_evaluations", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/electrothermal-terminal-mpp-grid-resolved-v3/quality_gates/temperature_evaluations", + "value_sha256": "c8f33d0e8f00e338cd591a4b642d32a31a7ff872a2891950197b1b65571006fb" + }, + "gate_value": { + "operator": "le", + "limit": 12.0, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-376988f8e0c313e302a7f2d8": { + "quantity": "temperature_evaluations_within_envelope", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/electrothermal-terminal-mpp-grid-resolved-v3/quality_gates/temperature_evaluations_within_envelope", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-ee5f1293ace09ade08fa86df": { + "quantity": "temperature_protocols_aligned", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/electrothermal-terminal-mpp-grid-resolved-v3/quality_gates/temperature_protocols_aligned", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-1d46ac780872dd6856cd4f1f": { + "quantity": "temperature_response_active_W_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/electrothermal-terminal-mpp-grid-resolved-v3/quality_gates/temperature_response_active_W_m2", + "value_sha256": "2f40bdefc4f6898a94f83a8c4ab93b4b868a2bbc439017ac43abd488e610a2ec" + }, + "gate_value": { + "operator": "ge", + "limit": 1.0, + "units": "W m-2" + }, + "unit": "W m-2", + "norm": "ge", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-4bf913faa3a99351cdb9c4af": { + "quantity": "terminal_power_below_absorption", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/electrothermal-terminal-mpp-grid-resolved-v3/quality_gates/terminal_power_below_absorption", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-b5a87e4cc247e28376aa481d": { + "quantity": "thermal_protocol_hash_verified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/electrothermal-terminal-mpp-grid-resolved-v3/quality_gates/thermal_protocol_hash_verified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-7fec7536755c57a668dff5c5": { + "quantity": "ambient_to_maximum_mpp_power_change_W_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/electrothermal-terminal-mpp-resolved-v2/observables/ambient_to_maximum_mpp_power_change_W_m2", + "value_sha256": "40502c92d5a2cf03ab3c8d47767dbd9f42e96caa8890402a85003cafc85f88f0" + }, + "gate_value": { + "comparison": "relative_linf", + "limit": 0.02, + "units": "W m-2" + }, + "unit": "W m-2", + "norm": "relative_linf", + "scale": { + "kind": "original_symmetric_pair_scale", + "relative_floor": 1e-30 + }, + "zero_policy": { + "kind": "original_relative_floor", + "value": 1e-30 + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-4f06a3ff92715461a0787caa": { + "quantity": "operating_temperature_K", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/electrothermal-terminal-mpp-resolved-v2/observables/operating_temperature_K", + "value_sha256": "3569421db9ad7855e8f790cfdc1eafc94f1e1043e27563f217c65831b10dcf66" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.5, + "units": "K" + }, + "unit": "K", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-c460247d448734871ab0ab19": { + "quantity": "temperature_rise_K", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/electrothermal-terminal-mpp-resolved-v2/observables/temperature_rise_K", + "value_sha256": "3569421db9ad7855e8f790cfdc1eafc94f1e1043e27563f217c65831b10dcf66" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.5, + "units": "K" + }, + "unit": "K", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-9aa25a0d7601ee6784bf7444": { + "quantity": "terminal_mpp_current_A_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/electrothermal-terminal-mpp-resolved-v2/observables/terminal_mpp_current_A_m2", + "value_sha256": "9ea126882024788a759cb6513c373d259842e0cc8dfab3660a7461dccdbd6a86" + }, + "gate_value": { + "comparison": "relative_linf", + "limit": 0.02, + "units": "A m-2" + }, + "unit": "A m-2", + "norm": "relative_linf", + "scale": { + "kind": "original_symmetric_pair_scale", + "relative_floor": 1e-30 + }, + "zero_policy": { + "kind": "original_relative_floor", + "value": 1e-30 + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-32c0e5f2f4a92b96e9c46d72": { + "quantity": "terminal_mpp_power_W_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/electrothermal-terminal-mpp-resolved-v2/observables/terminal_mpp_power_W_m2", + "value_sha256": "40502c92d5a2cf03ab3c8d47767dbd9f42e96caa8890402a85003cafc85f88f0" + }, + "gate_value": { + "comparison": "relative_linf", + "limit": 0.02, + "units": "W m-2" + }, + "unit": "W m-2", + "norm": "relative_linf", + "scale": { + "kind": "original_symmetric_pair_scale", + "relative_floor": 1e-30 + }, + "zero_policy": { + "kind": "original_relative_floor", + "value": 1e-30 + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-3036da1e5ced4e7486b9307a": { + "quantity": "terminal_mpp_voltage_V", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/electrothermal-terminal-mpp-resolved-v2/observables/terminal_mpp_voltage_V", + "value_sha256": "52b5f705ee7527b523dc4a06935aa105c80c896060e7a5ead17f5f0d9265851e" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.05, + "units": "V" + }, + "unit": "V", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-160fdc8e8c8c477e6b18e3d1": { + "quantity": "all_temperature_evaluations_certified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/electrothermal-terminal-mpp-resolved-v2/quality_gates/all_temperature_evaluations_certified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-e75515706fee805abd3bc21a": { + "quantity": "ambient_residual_positive", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/electrothermal-terminal-mpp-resolved-v2/quality_gates/ambient_residual_positive", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-973515e442cd83f4593919e3": { + "quantity": "base_stack_immutable", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/electrothermal-terminal-mpp-resolved-v2/quality_gates/base_stack_immutable", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-4071af8612566d712ed871ad": { + "quantity": "circuit_protocol_hash_verified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/electrothermal-terminal-mpp-resolved-v2/quality_gates/circuit_protocol_hash_verified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-701057132038fceb22e4a5b1": { + "quantity": "electrical_protocol_hash_verified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/electrothermal-terminal-mpp-resolved-v2/quality_gates/electrical_protocol_hash_verified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-fe3594e6344e7c4f0bcab8ec": { + "quantity": "electrothermal_certified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/electrothermal-terminal-mpp-resolved-v2/quality_gates/electrothermal_certified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-dbb7e3b6c93fcb024a96665e": { + "quantity": "final_external_mapping_verified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/electrothermal-terminal-mpp-resolved-v2/quality_gates/final_external_mapping_verified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-f26950e1fff3ecd6be590b1b": { + "quantity": "first_law_reconstruction_error_W_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/electrothermal-terminal-mpp-resolved-v2/quality_gates/first_law_reconstruction_error_W_m2", + "value_sha256": "ce78252f2381b0bf19338be496350d2e67072e4a9acb308330c805cfc7a31d72" + }, + "gate_value": { + "operator": "le", + "limit": 1e-12, + "units": "W m-2" + }, + "unit": "W m-2", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-36f98069f5e418d4be3e7b28": { + "quantity": "maximum_residual_negative", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/electrothermal-terminal-mpp-resolved-v2/quality_gates/maximum_residual_negative", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-811742a3d6d43a6883171b6c": { + "quantity": "mpp_series_voltage_drop_V", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/electrothermal-terminal-mpp-resolved-v2/quality_gates/mpp_series_voltage_drop_V", + "value_sha256": "51acaf50be92f8aca9f87509353dec5b5c82e2bad46a98078b4cd401f6a097b3" + }, + "gate_value": { + "operator": "ge", + "limit": 0.005, + "units": "V" + }, + "unit": "V", + "norm": "ge", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-eecab93a83de492d7b92703b": { + "quantity": "mpp_shunt_current_A_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/electrothermal-terminal-mpp-resolved-v2/quality_gates/mpp_shunt_current_A_m2", + "value_sha256": "5c799458e298b01895bfd562f9ea87475d35cf1b92067ccf09a119fc5e63c783" + }, + "gate_value": { + "operator": "ge", + "limit": 1.0, + "units": "A m-2" + }, + "unit": "A m-2", + "norm": "ge", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-4ef804495f636010f720ddd0": { + "quantity": "operating_protocol_hash_verified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/electrothermal-terminal-mpp-resolved-v2/quality_gates/operating_protocol_hash_verified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-82b1ae1ca172d09e0d8ab80b": { + "quantity": "power_balance_residual_W_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/electrothermal-terminal-mpp-resolved-v2/quality_gates/power_balance_residual_W_m2", + "value_sha256": "3a57035f83c68fe474db8277374741e8cfbffcd17af84351d64c1fbe777543f2" + }, + "gate_value": { + "operator": "le", + "limit": 0.2, + "units": "W m-2" + }, + "unit": "W m-2", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-a9934185bf9165cb8c08f666": { + "quantity": "root_iterations", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/electrothermal-terminal-mpp-resolved-v2/quality_gates/root_iterations", + "value_sha256": "e7b356e405933b1f5bd93f4fc9c361fe4ae296299da57f6f41a812889e46a93f" + }, + "gate_value": { + "operator": "le", + "limit": 30.0, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-632c8d9018ee0c33a2a8d5ff": { + "quantity": "temperature_evaluations", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/electrothermal-terminal-mpp-resolved-v2/quality_gates/temperature_evaluations", + "value_sha256": "c8f33d0e8f00e338cd591a4b642d32a31a7ff872a2891950197b1b65571006fb" + }, + "gate_value": { + "operator": "le", + "limit": 12.0, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-3f9da1c4245f29fd36bcaae5": { + "quantity": "temperature_evaluations_within_envelope", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/electrothermal-terminal-mpp-resolved-v2/quality_gates/temperature_evaluations_within_envelope", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-955b43476c2f316f81ea9136": { + "quantity": "temperature_protocols_aligned", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/electrothermal-terminal-mpp-resolved-v2/quality_gates/temperature_protocols_aligned", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-60307c42eb7c2decb307c862": { + "quantity": "temperature_response_active_W_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/electrothermal-terminal-mpp-resolved-v2/quality_gates/temperature_response_active_W_m2", + "value_sha256": "2f40bdefc4f6898a94f83a8c4ab93b4b868a2bbc439017ac43abd488e610a2ec" + }, + "gate_value": { + "operator": "ge", + "limit": 1.0, + "units": "W m-2" + }, + "unit": "W m-2", + "norm": "ge", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-456b632f82f05ed1332e8977": { + "quantity": "terminal_power_below_absorption", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/electrothermal-terminal-mpp-resolved-v2/quality_gates/terminal_power_below_absorption", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-43424e1dee9e5e1a270de2b4": { + "quantity": "thermal_protocol_hash_verified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/electrothermal-terminal-mpp-resolved-v2/quality_gates/thermal_protocol_hash_verified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-abd1bbcfc7bf310b4b123760": { + "quantity": "ambient_to_maximum_mpp_power_change_W_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/electrothermal-terminal-mpp-v1/observables/ambient_to_maximum_mpp_power_change_W_m2", + "value_sha256": "40502c92d5a2cf03ab3c8d47767dbd9f42e96caa8890402a85003cafc85f88f0" + }, + "gate_value": { + "comparison": "relative_linf", + "limit": 0.02, + "units": "W m-2" + }, + "unit": "W m-2", + "norm": "relative_linf", + "scale": { + "kind": "original_symmetric_pair_scale", + "relative_floor": 1e-30 + }, + "zero_policy": { + "kind": "original_relative_floor", + "value": 1e-30 + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-17f100c13c2dfadb245fa178": { + "quantity": "operating_temperature_K", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/electrothermal-terminal-mpp-v1/observables/operating_temperature_K", + "value_sha256": "3569421db9ad7855e8f790cfdc1eafc94f1e1043e27563f217c65831b10dcf66" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.5, + "units": "K" + }, + "unit": "K", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-35872430c03f1e7d06ed05cc": { + "quantity": "temperature_rise_K", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/electrothermal-terminal-mpp-v1/observables/temperature_rise_K", + "value_sha256": "3569421db9ad7855e8f790cfdc1eafc94f1e1043e27563f217c65831b10dcf66" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.5, + "units": "K" + }, + "unit": "K", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-68d962df70b39b223321c655": { + "quantity": "terminal_mpp_current_A_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/electrothermal-terminal-mpp-v1/observables/terminal_mpp_current_A_m2", + "value_sha256": "9ea126882024788a759cb6513c373d259842e0cc8dfab3660a7461dccdbd6a86" + }, + "gate_value": { + "comparison": "relative_linf", + "limit": 0.02, + "units": "A m-2" + }, + "unit": "A m-2", + "norm": "relative_linf", + "scale": { + "kind": "original_symmetric_pair_scale", + "relative_floor": 1e-30 + }, + "zero_policy": { + "kind": "original_relative_floor", + "value": 1e-30 + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-4fcc0104b85adbd577e930e2": { + "quantity": "terminal_mpp_power_W_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/electrothermal-terminal-mpp-v1/observables/terminal_mpp_power_W_m2", + "value_sha256": "40502c92d5a2cf03ab3c8d47767dbd9f42e96caa8890402a85003cafc85f88f0" + }, + "gate_value": { + "comparison": "relative_linf", + "limit": 0.02, + "units": "W m-2" + }, + "unit": "W m-2", + "norm": "relative_linf", + "scale": { + "kind": "original_symmetric_pair_scale", + "relative_floor": 1e-30 + }, + "zero_policy": { + "kind": "original_relative_floor", + "value": 1e-30 + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-41036fc47617c52aa44ba7a3": { + "quantity": "terminal_mpp_voltage_V", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/electrothermal-terminal-mpp-v1/observables/terminal_mpp_voltage_V", + "value_sha256": "52b5f705ee7527b523dc4a06935aa105c80c896060e7a5ead17f5f0d9265851e" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.05, + "units": "V" + }, + "unit": "V", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-889f92abaad51ebbdf892c67": { + "quantity": "all_temperature_evaluations_certified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/electrothermal-terminal-mpp-v1/quality_gates/all_temperature_evaluations_certified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-97d7c91f466029237635e04f": { + "quantity": "ambient_residual_positive", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/electrothermal-terminal-mpp-v1/quality_gates/ambient_residual_positive", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-169d84a0ee06aecf4efe8e32": { + "quantity": "base_stack_immutable", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/electrothermal-terminal-mpp-v1/quality_gates/base_stack_immutable", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-59dc59e438d82b654a4a6d2f": { + "quantity": "circuit_protocol_hash_verified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/electrothermal-terminal-mpp-v1/quality_gates/circuit_protocol_hash_verified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-287205fabcedd3ef6bfe7827": { + "quantity": "electrical_protocol_hash_verified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/electrothermal-terminal-mpp-v1/quality_gates/electrical_protocol_hash_verified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-e79b75c6ca6252e10226f69d": { + "quantity": "electrothermal_certified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/electrothermal-terminal-mpp-v1/quality_gates/electrothermal_certified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-a5daa98dd75150808be55c37": { + "quantity": "final_external_mapping_verified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/electrothermal-terminal-mpp-v1/quality_gates/final_external_mapping_verified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-55b401b58d5da7fc1ba0fb08": { + "quantity": "first_law_reconstruction_error_W_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/electrothermal-terminal-mpp-v1/quality_gates/first_law_reconstruction_error_W_m2", + "value_sha256": "ce78252f2381b0bf19338be496350d2e67072e4a9acb308330c805cfc7a31d72" + }, + "gate_value": { + "operator": "le", + "limit": 1e-12, + "units": "W m-2" + }, + "unit": "W m-2", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-9d5e89bf38dc139eed000d2f": { + "quantity": "maximum_residual_negative", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/electrothermal-terminal-mpp-v1/quality_gates/maximum_residual_negative", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-e34a5f944e4cec71d628b6f4": { + "quantity": "mpp_series_voltage_drop_V", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/electrothermal-terminal-mpp-v1/quality_gates/mpp_series_voltage_drop_V", + "value_sha256": "51acaf50be92f8aca9f87509353dec5b5c82e2bad46a98078b4cd401f6a097b3" + }, + "gate_value": { + "operator": "ge", + "limit": 0.005, + "units": "V" + }, + "unit": "V", + "norm": "ge", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-47ad8f8caeb7218528d7b3fd": { + "quantity": "mpp_shunt_current_A_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/electrothermal-terminal-mpp-v1/quality_gates/mpp_shunt_current_A_m2", + "value_sha256": "5c799458e298b01895bfd562f9ea87475d35cf1b92067ccf09a119fc5e63c783" + }, + "gate_value": { + "operator": "ge", + "limit": 1.0, + "units": "A m-2" + }, + "unit": "A m-2", + "norm": "ge", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-2d5a7b34c831e2ab48ddbdc0": { + "quantity": "operating_protocol_hash_verified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/electrothermal-terminal-mpp-v1/quality_gates/operating_protocol_hash_verified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-f0c95e39a1baba6cfac5cda4": { + "quantity": "power_balance_residual_W_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/electrothermal-terminal-mpp-v1/quality_gates/power_balance_residual_W_m2", + "value_sha256": "3a57035f83c68fe474db8277374741e8cfbffcd17af84351d64c1fbe777543f2" + }, + "gate_value": { + "operator": "le", + "limit": 0.2, + "units": "W m-2" + }, + "unit": "W m-2", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-89322f046765f7eeefc1322a": { + "quantity": "root_iterations", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/electrothermal-terminal-mpp-v1/quality_gates/root_iterations", + "value_sha256": "e7b356e405933b1f5bd93f4fc9c361fe4ae296299da57f6f41a812889e46a93f" + }, + "gate_value": { + "operator": "le", + "limit": 30.0, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-1fa9f03553be136918c82319": { + "quantity": "temperature_evaluations", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/electrothermal-terminal-mpp-v1/quality_gates/temperature_evaluations", + "value_sha256": "c8f33d0e8f00e338cd591a4b642d32a31a7ff872a2891950197b1b65571006fb" + }, + "gate_value": { + "operator": "le", + "limit": 12.0, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-87f089481c4f9ed60158e07b": { + "quantity": "temperature_evaluations_within_envelope", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/electrothermal-terminal-mpp-v1/quality_gates/temperature_evaluations_within_envelope", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-58d9df4e100abc4c5a65057d": { + "quantity": "temperature_protocols_aligned", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/electrothermal-terminal-mpp-v1/quality_gates/temperature_protocols_aligned", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-bfa48211ee48b94870ee60ab": { + "quantity": "temperature_response_active_W_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/electrothermal-terminal-mpp-v1/quality_gates/temperature_response_active_W_m2", + "value_sha256": "2f40bdefc4f6898a94f83a8c4ab93b4b868a2bbc439017ac43abd488e610a2ec" + }, + "gate_value": { + "operator": "ge", + "limit": 1.0, + "units": "W m-2" + }, + "unit": "W m-2", + "norm": "ge", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-99b4ce8752d0bf184b462ec2": { + "quantity": "terminal_power_below_absorption", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/electrothermal-terminal-mpp-v1/quality_gates/terminal_power_below_absorption", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-4a6504ff53f27cef4f3d2732": { + "quantity": "thermal_protocol_hash_verified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/electrothermal-terminal-mpp-v1/quality_gates/thermal_protocol_hash_verified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-c6a501e0ca98cf709fa8cfad": { + "quantity": "terminal_ff", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/external-series-shunt-dc-operating-quadrant-v2/observables/terminal_ff", + "value_sha256": "7615fe895406e0ff5423675e899e91e615d4c26e5a3b6d508dfe72ce40dbf55d" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.01, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-4d5651fa5504122cfc3eb710": { + "quantity": "terminal_jsc_A_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/external-series-shunt-dc-operating-quadrant-v2/observables/terminal_jsc_A_m2", + "value_sha256": "0264977486beb2cb71082de1ef0681c90af17438d5adbde02f6c27c5214c8416" + }, + "gate_value": { + "comparison": "relative_linf", + "limit": 0.01, + "units": "A m-2" + }, + "unit": "A m-2", + "norm": "relative_linf", + "scale": { + "kind": "original_symmetric_pair_scale", + "relative_floor": 1e-30 + }, + "zero_policy": { + "kind": "original_relative_floor", + "value": 1e-30 + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-c25420c27b68217d3e75ee94": { + "quantity": "terminal_pce_percent", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/external-series-shunt-dc-operating-quadrant-v2/observables/terminal_pce_percent", + "value_sha256": "7ad16864c7625901c807a62ef897562afbd4be356ce9ebc556c4191b98e3da7b" + }, + "gate_value": { + "comparison": "relative_linf", + "limit": 0.02, + "units": "%" + }, + "unit": "%", + "norm": "relative_linf", + "scale": { + "kind": "original_symmetric_pair_scale", + "relative_floor": 1e-30 + }, + "zero_policy": { + "kind": "original_relative_floor", + "value": 1e-30 + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-ae9a134b5b8971fb32aec626": { + "quantity": "terminal_power_quadrant_normalized_trace", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/external-series-shunt-dc-operating-quadrant-v2/observables/terminal_power_quadrant_normalized_trace", + "value_sha256": "21c88fa6fe8abb8703e3781940725ca336c1b2afe0a5d439622e2095feb2512a" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.005, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-5ae7f023807924ca2ea18303": { + "quantity": "terminal_voc_V", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/external-series-shunt-dc-operating-quadrant-v2/observables/terminal_voc_V", + "value_sha256": "5108fee72c4bda12de324d6c7a5b307dfeb2684621e43799dda9ab4553b7e1bb" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.005, + "units": "V" + }, + "unit": "V", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-693f644e1c851138700d02fe": { + "quantity": "circuit_protocol_hash_verified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/external-series-shunt-dc-operating-quadrant-v2/quality_gates/circuit_protocol_hash_verified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-b080f6e1128b27998790ff39": { + "quantity": "external_circuit_certified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/external-series-shunt-dc-operating-quadrant-v2/quality_gates/external_circuit_certified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-f0bb28540997e657de72ee87": { + "quantity": "intrinsic_jv_certified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/external-series-shunt-dc-operating-quadrant-v2/quality_gates/intrinsic_jv_certified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-a0c920b5a6acc572657b689b": { + "quantity": "max_current_balance_error_A_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/external-series-shunt-dc-operating-quadrant-v2/quality_gates/max_current_balance_error_A_m2", + "value_sha256": "05c130154afc9077fe6352b325ee9f322c9b660c1c4143db23b9979e29fde9f2" + }, + "gate_value": { + "operator": "eq", + "limit": 0.0, + "units": "A m-2" + }, + "unit": "A m-2", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-b37b859968e840ccca1a83c6": { + "quantity": "max_pce_loss_fraction", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/external-series-shunt-dc-operating-quadrant-v2/quality_gates/max_pce_loss_fraction", + "value_sha256": "63ab584e8bcffb4c3a08dacc1af272a5b95c4613c91fc6afb84d87972cf116a2" + }, + "gate_value": { + "operator": "le", + "limit": 0.5, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-055f2547869884709556fb13": { + "quantity": "max_voltage_balance_error_V", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/external-series-shunt-dc-operating-quadrant-v2/quality_gates/max_voltage_balance_error_V", + "value_sha256": "71aebad7768d64834bd6523d9154e04483b36298629960179cd7d5cb6a003f30" + }, + "gate_value": { + "operator": "eq", + "limit": 0.0, + "units": "V" + }, + "unit": "V", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-937e5655d12a85e9962a1bc2": { + "quantity": "min_pce_loss_fraction", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/external-series-shunt-dc-operating-quadrant-v2/quality_gates/min_pce_loss_fraction", + "value_sha256": "d52d3884ca27e8e29292fe71004c8aa8b2caf7a30dd56639bbe52b874e5943b6" + }, + "gate_value": { + "operator": "ge", + "limit": 0.01, + "units": "1" + }, + "unit": "1", + "norm": "ge", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-2d619d5419521d113bdcb59e": { + "quantity": "peak_series_voltage_drop_V", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/external-series-shunt-dc-operating-quadrant-v2/quality_gates/peak_series_voltage_drop_V", + "value_sha256": "d46cab203721d176e34f48aaccd27f75588ede646879d92148116683bb5dc293" + }, + "gate_value": { + "operator": "ge", + "limit": 0.01, + "units": "V" + }, + "unit": "V", + "norm": "ge", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-27e6c576c9c34ea7d3bd1c67": { + "quantity": "peak_shunt_current_A_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/external-series-shunt-dc-operating-quadrant-v2/quality_gates/peak_shunt_current_A_m2", + "value_sha256": "5c799458e298b01895bfd562f9ea87475d35cf1b92067ccf09a119fc5e63c783" + }, + "gate_value": { + "operator": "ge", + "limit": 1.0, + "units": "A m-2" + }, + "unit": "A m-2", + "norm": "ge", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-77fb0ffe91e8b847ed918a3b": { + "quantity": "power_quadrant_interpolation_verified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/external-series-shunt-dc-operating-quadrant-v2/quality_gates/power_quadrant_interpolation_verified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-4c7ee869685c91877ce7cbe4": { + "quantity": "source_experiment_protocol_verified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/external-series-shunt-dc-operating-quadrant-v2/quality_gates/source_experiment_protocol_verified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-fef2693db3c0bf6498206452": { + "quantity": "terminal_branches_monotonic", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/external-series-shunt-dc-operating-quadrant-v2/quality_gates/terminal_branches_monotonic", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-4d9a37e0be1b9ee861aa0fc2": { + "quantity": "terminal_quadrant_points_completed", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/external-series-shunt-dc-operating-quadrant-v2/quality_gates/terminal_quadrant_points_completed", + "value_sha256": "7b298e08dca1a58baf70e3cef7912e1fe7990e83bfd416a8de10bd1080010a5a" + }, + "gate_value": { + "operator": "eq", + "limit": 42.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-48b068eb7e343977bee69633": { + "quantity": "terminal_voc_bracketed", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/external-series-shunt-dc-operating-quadrant-v2/quality_gates/terminal_voc_bracketed", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-c3953e6e0cc345fa9ca0aa60": { + "quantity": "voltage_points_per_branch_completed", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/external-series-shunt-dc-operating-quadrant-v2/quality_gates/voltage_points_per_branch_completed", + "value_sha256": "8c331aec5c6c7e74980e541f78158eb657a637fc1e347fc6920365c72e0158d7" + }, + "gate_value": { + "operator": "eq", + "limit": 12.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-84c56e7423b640325f152ff2": { + "quantity": "zero_coupling_exact", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/external-series-shunt-dc-operating-quadrant-v2/quality_gates/zero_coupling_exact", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-ecf9c8996b223f42bb1c52ce": { + "quantity": "series_voltage_drop_V", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/external-series-shunt-dc-v1/observables/series_voltage_drop_V", + "value_sha256": "76ccda59cd5167b03a172c9566a08ec0a081101c60b6a56f8daa6fc835c696b7" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.002, + "units": "V" + }, + "unit": "V", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-0cc25a2513edc2a0b6e6d3ac": { + "quantity": "terminal_current_normalized_trace", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/external-series-shunt-dc-v1/observables/terminal_current_normalized_trace", + "value_sha256": "7615fe895406e0ff5423675e899e91e615d4c26e5a3b6d508dfe72ce40dbf55d" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.01, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-0e0113905ff3f97875b0c078": { + "quantity": "terminal_ff", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/external-series-shunt-dc-v1/observables/terminal_ff", + "value_sha256": "7615fe895406e0ff5423675e899e91e615d4c26e5a3b6d508dfe72ce40dbf55d" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.01, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-9730f58cd4dbcc9e7904d816": { + "quantity": "terminal_jsc_A_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/external-series-shunt-dc-v1/observables/terminal_jsc_A_m2", + "value_sha256": "0264977486beb2cb71082de1ef0681c90af17438d5adbde02f6c27c5214c8416" + }, + "gate_value": { + "comparison": "relative_linf", + "limit": 0.01, + "units": "A m-2" + }, + "unit": "A m-2", + "norm": "relative_linf", + "scale": { + "kind": "original_symmetric_pair_scale", + "relative_floor": 1e-30 + }, + "zero_policy": { + "kind": "original_relative_floor", + "value": 1e-30 + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-707eb815337a7d693c3ade1d": { + "quantity": "terminal_pce_percent", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/external-series-shunt-dc-v1/observables/terminal_pce_percent", + "value_sha256": "7ad16864c7625901c807a62ef897562afbd4be356ce9ebc556c4191b98e3da7b" + }, + "gate_value": { + "comparison": "relative_linf", + "limit": 0.02, + "units": "%" + }, + "unit": "%", + "norm": "relative_linf", + "scale": { + "kind": "original_symmetric_pair_scale", + "relative_floor": 1e-30 + }, + "zero_policy": { + "kind": "original_relative_floor", + "value": 1e-30 + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-9c402f0619c972aab8877f9b": { + "quantity": "terminal_voc_V", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/external-series-shunt-dc-v1/observables/terminal_voc_V", + "value_sha256": "5108fee72c4bda12de324d6c7a5b307dfeb2684621e43799dda9ab4553b7e1bb" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.005, + "units": "V" + }, + "unit": "V", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-fe5d94d7ef1300f61832dca8": { + "quantity": "terminal_voltage_trace_V", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/external-series-shunt-dc-v1/observables/terminal_voltage_trace_V", + "value_sha256": "06b6deae090d3ddde479b352c73d21ef3a4953981583c430578d12821cf227fc" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.01, + "units": "V" + }, + "unit": "V", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-3aaa9541b94f4d246f6117c0": { + "quantity": "circuit_protocol_hash_verified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/external-series-shunt-dc-v1/quality_gates/circuit_protocol_hash_verified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-dcdc76767d440a3455cd0d34": { + "quantity": "external_circuit_certified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/external-series-shunt-dc-v1/quality_gates/external_circuit_certified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-7b8c9e1baa93832fb122f1bb": { + "quantity": "intrinsic_jv_certified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/external-series-shunt-dc-v1/quality_gates/intrinsic_jv_certified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-f6c2b808f376292a2e927fa9": { + "quantity": "max_current_balance_error_A_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/external-series-shunt-dc-v1/quality_gates/max_current_balance_error_A_m2", + "value_sha256": "05c130154afc9077fe6352b325ee9f322c9b660c1c4143db23b9979e29fde9f2" + }, + "gate_value": { + "operator": "eq", + "limit": 0.0, + "units": "A m-2" + }, + "unit": "A m-2", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-e1ab452ad2fd6b69efa5cb21": { + "quantity": "max_pce_loss_fraction", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/external-series-shunt-dc-v1/quality_gates/max_pce_loss_fraction", + "value_sha256": "63ab584e8bcffb4c3a08dacc1af272a5b95c4613c91fc6afb84d87972cf116a2" + }, + "gate_value": { + "operator": "le", + "limit": 0.5, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-69fb7a808bb5309d3b60adb5": { + "quantity": "max_voltage_balance_error_V", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/external-series-shunt-dc-v1/quality_gates/max_voltage_balance_error_V", + "value_sha256": "71aebad7768d64834bd6523d9154e04483b36298629960179cd7d5cb6a003f30" + }, + "gate_value": { + "operator": "eq", + "limit": 0.0, + "units": "V" + }, + "unit": "V", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-4734e6aae16c3920b26c27a6": { + "quantity": "min_pce_loss_fraction", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/external-series-shunt-dc-v1/quality_gates/min_pce_loss_fraction", + "value_sha256": "d52d3884ca27e8e29292fe71004c8aa8b2caf7a30dd56639bbe52b874e5943b6" + }, + "gate_value": { + "operator": "ge", + "limit": 0.01, + "units": "1" + }, + "unit": "1", + "norm": "ge", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-452b51d42f69de3d88ccb5e3": { + "quantity": "peak_series_voltage_drop_V", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/external-series-shunt-dc-v1/quality_gates/peak_series_voltage_drop_V", + "value_sha256": "d46cab203721d176e34f48aaccd27f75588ede646879d92148116683bb5dc293" + }, + "gate_value": { + "operator": "ge", + "limit": 0.01, + "units": "V" + }, + "unit": "V", + "norm": "ge", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-04e49701c40bcbd34a41b613": { + "quantity": "peak_shunt_current_A_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/external-series-shunt-dc-v1/quality_gates/peak_shunt_current_A_m2", + "value_sha256": "5c799458e298b01895bfd562f9ea87475d35cf1b92067ccf09a119fc5e63c783" + }, + "gate_value": { + "operator": "ge", + "limit": 1.0, + "units": "A m-2" + }, + "unit": "A m-2", + "norm": "ge", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-78ff2cbdbdb6ae9996966aa8": { + "quantity": "source_experiment_protocol_verified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/external-series-shunt-dc-v1/quality_gates/source_experiment_protocol_verified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-a517a356dd017694965e1ca1": { + "quantity": "terminal_branches_monotonic", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/external-series-shunt-dc-v1/quality_gates/terminal_branches_monotonic", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-04f72b8d573939e9b4dd85d1": { + "quantity": "terminal_voc_bracketed", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/external-series-shunt-dc-v1/quality_gates/terminal_voc_bracketed", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-48692c91bbf2d3712caa9754": { + "quantity": "voltage_points_per_branch_completed", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/external-series-shunt-dc-v1/quality_gates/voltage_points_per_branch_completed", + "value_sha256": "8c331aec5c6c7e74980e541f78158eb657a637fc1e347fc6920365c72e0158d7" + }, + "gate_value": { + "operator": "eq", + "limit": 12.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-f0cef4f61ed4baf8d8243b66": { + "quantity": "zero_coupling_exact", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/external-series-shunt-dc-v1/quality_gates/zero_coupling_exact", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-b237ab93ef594c523990b1a9": { + "quantity": "voc_V", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/foundation-physical-homojunction-resolved-v2/observables/voc_V", + "value_sha256": "5c50fedcb008e35d34c6b96d54e9f1fac71a39749267c7732e193163a248aa5a" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.001, + "units": "V" + }, + "unit": "V", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-5c1f6af5446c2d1b0571cf42": { + "quantity": "jsc_A_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/foundation-physical-homojunction-resolved-v2/observables/jsc_A_m2", + "value_sha256": "32ab8b7207f5095d8fa04ce6cfbdd73ae895e6d320cd839283d076a2bb30cce3" + }, + "gate_value": { + "comparison": "relative_linf", + "limit": 0.002, + "units": "A m-2" + }, + "unit": "A m-2", + "norm": "relative_linf", + "scale": { + "kind": "original_symmetric_pair_scale", + "relative_floor": 1e-30 + }, + "zero_policy": { + "kind": "original_relative_floor", + "value": 1e-30 + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-c62b38ed988357199b8e3355": { + "quantity": "fill_factor", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/foundation-physical-homojunction-resolved-v2/observables/fill_factor", + "value_sha256": "53ceb623c76035b2d3a89d5f154db2c93efd95547b58c05d6c82f1f9bcd45ce0" + }, + "gate_value": { + "comparison": "relative_linf", + "limit": 0.005, + "units": "1" + }, + "unit": "1", + "norm": "relative_linf", + "scale": { + "kind": "original_symmetric_pair_scale", + "relative_floor": 1e-30 + }, + "zero_policy": { + "kind": "original_relative_floor", + "value": 1e-30 + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-62ca2a09770f42e7938c600f": { + "quantity": "power_conversion_fraction", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/foundation-physical-homojunction-resolved-v2/observables/power_conversion_fraction", + "value_sha256": "53ceb623c76035b2d3a89d5f154db2c93efd95547b58c05d6c82f1f9bcd45ce0" + }, + "gate_value": { + "comparison": "relative_linf", + "limit": 0.005, + "units": "1" + }, + "unit": "1", + "norm": "relative_linf", + "scale": { + "kind": "original_symmetric_pair_scale", + "relative_floor": 1e-30 + }, + "zero_policy": { + "kind": "original_relative_floor", + "value": 1e-30 + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-5ec2c0c257f1759daa9c8c1b": { + "quantity": "open_circuit_root_V", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/foundation-physical-homojunction-resolved-v2/observables/open_circuit_root_V", + "value_sha256": "5c50fedcb008e35d34c6b96d54e9f1fac71a39749267c7732e193163a248aa5a" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.001, + "units": "V" + }, + "unit": "V", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-3ce4a6bc8c86e05354f678e1": { + "quantity": "maximum_power_voltage_V", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/foundation-physical-homojunction-resolved-v2/observables/maximum_power_voltage_V", + "value_sha256": "5c50fedcb008e35d34c6b96d54e9f1fac71a39749267c7732e193163a248aa5a" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.001, + "units": "V" + }, + "unit": "V", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-5dcdd52f385c2acc05ff5421": { + "quantity": "photovoltaic_current_normalized_trace", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/foundation-physical-homojunction-resolved-v2/observables/photovoltaic_current_normalized_trace", + "value_sha256": "21c88fa6fe8abb8703e3781940725ca336c1b2afe0a5d439622e2095feb2512a" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.005, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-065a13580498ee35881d895d": { + "quantity": "equilibrium_potential_V", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/foundation-physical-homojunction-resolved-v2/observables/equilibrium_potential_V", + "value_sha256": "5c50fedcb008e35d34c6b96d54e9f1fac71a39749267c7732e193163a248aa5a" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.001, + "units": "V" + }, + "unit": "V", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-22bb3a549555d26c7c1a5d51": { + "quantity": "equilibrium_electron_log_density", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/foundation-physical-homojunction-resolved-v2/observables/equilibrium_electron_log_density", + "value_sha256": "242cfee044ef3fd7f0245ac63ff90d101d25d7dff11b321f985f14146bbc5947" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.009950330853168092, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-0704af34cd57abe656b6ac70": { + "quantity": "equilibrium_hole_log_density", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/foundation-physical-homojunction-resolved-v2/observables/equilibrium_hole_log_density", + "value_sha256": "242cfee044ef3fd7f0245ac63ff90d101d25d7dff11b321f985f14146bbc5947" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.009950330853168092, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-2176b863964509f7fad1c178": { + "quantity": "equilibrium_electron_fermi_eV", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/foundation-physical-homojunction-resolved-v2/observables/equilibrium_electron_fermi_eV", + "value_sha256": "10ba4d4d43aedb47b7c60b7cd11615b5d12167dd996afea1a9082aade7dcf388" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.001, + "units": "eV" + }, + "unit": "eV", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-39fa5599a76eff93d1509177": { + "quantity": "equilibrium_hole_fermi_eV", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/foundation-physical-homojunction-resolved-v2/observables/equilibrium_hole_fermi_eV", + "value_sha256": "10ba4d4d43aedb47b7c60b7cd11615b5d12167dd996afea1a9082aade7dcf388" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.001, + "units": "eV" + }, + "unit": "eV", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-462a0b7a47aa697807f536cf": { + "quantity": "equilibrium_recombination_normalized", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/foundation-physical-homojunction-resolved-v2/observables/equilibrium_recombination_normalized", + "value_sha256": "7615fe895406e0ff5423675e899e91e615d4c26e5a3b6d508dfe72ce40dbf55d" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.01, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-f0c8506ba46d99338fa3b0bb": { + "quantity": "short_circuit_potential_V", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/foundation-physical-homojunction-resolved-v2/observables/short_circuit_potential_V", + "value_sha256": "5c50fedcb008e35d34c6b96d54e9f1fac71a39749267c7732e193163a248aa5a" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.001, + "units": "V" + }, + "unit": "V", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-b1d8ab7c611e7e44cf82aeb7": { + "quantity": "short_circuit_electron_log_density", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/foundation-physical-homojunction-resolved-v2/observables/short_circuit_electron_log_density", + "value_sha256": "242cfee044ef3fd7f0245ac63ff90d101d25d7dff11b321f985f14146bbc5947" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.009950330853168092, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-95b606eabf058556d7c6a7f4": { + "quantity": "short_circuit_hole_log_density", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/foundation-physical-homojunction-resolved-v2/observables/short_circuit_hole_log_density", + "value_sha256": "242cfee044ef3fd7f0245ac63ff90d101d25d7dff11b321f985f14146bbc5947" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.009950330853168092, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-339426cb03e291c69c5c59e9": { + "quantity": "short_circuit_electron_fermi_eV", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/foundation-physical-homojunction-resolved-v2/observables/short_circuit_electron_fermi_eV", + "value_sha256": "10ba4d4d43aedb47b7c60b7cd11615b5d12167dd996afea1a9082aade7dcf388" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.001, + "units": "eV" + }, + "unit": "eV", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-29c41c1e0c5e976378c54f1b": { + "quantity": "short_circuit_hole_fermi_eV", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/foundation-physical-homojunction-resolved-v2/observables/short_circuit_hole_fermi_eV", + "value_sha256": "10ba4d4d43aedb47b7c60b7cd11615b5d12167dd996afea1a9082aade7dcf388" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.001, + "units": "eV" + }, + "unit": "eV", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-7cbc3aad14b20cac2c522cfc": { + "quantity": "short_circuit_recombination_normalized", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/foundation-physical-homojunction-resolved-v2/observables/short_circuit_recombination_normalized", + "value_sha256": "7615fe895406e0ff5423675e899e91e615d4c26e5a3b6d508dfe72ce40dbf55d" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.01, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-ed21aeb1cb6e18cbac743e1a": { + "quantity": "open_circuit_potential_V", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/foundation-physical-homojunction-resolved-v2/observables/open_circuit_potential_V", + "value_sha256": "5c50fedcb008e35d34c6b96d54e9f1fac71a39749267c7732e193163a248aa5a" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.001, + "units": "V" + }, + "unit": "V", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-34a78599f06ebfe9b9f2bd3f": { + "quantity": "open_circuit_electron_log_density", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/foundation-physical-homojunction-resolved-v2/observables/open_circuit_electron_log_density", + "value_sha256": "242cfee044ef3fd7f0245ac63ff90d101d25d7dff11b321f985f14146bbc5947" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.009950330853168092, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-54380f8e8a7496a2baa990f2": { + "quantity": "open_circuit_hole_log_density", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/foundation-physical-homojunction-resolved-v2/observables/open_circuit_hole_log_density", + "value_sha256": "242cfee044ef3fd7f0245ac63ff90d101d25d7dff11b321f985f14146bbc5947" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.009950330853168092, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-e3258661fd0d597746b1212b": { + "quantity": "open_circuit_electron_fermi_eV", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/foundation-physical-homojunction-resolved-v2/observables/open_circuit_electron_fermi_eV", + "value_sha256": "10ba4d4d43aedb47b7c60b7cd11615b5d12167dd996afea1a9082aade7dcf388" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.001, + "units": "eV" + }, + "unit": "eV", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-8c6a2250fc520a76640ee17c": { + "quantity": "open_circuit_hole_fermi_eV", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/foundation-physical-homojunction-resolved-v2/observables/open_circuit_hole_fermi_eV", + "value_sha256": "10ba4d4d43aedb47b7c60b7cd11615b5d12167dd996afea1a9082aade7dcf388" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.001, + "units": "eV" + }, + "unit": "eV", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-ef4c456bf611bdb7cd8bda36": { + "quantity": "open_circuit_recombination_normalized", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/foundation-physical-homojunction-resolved-v2/observables/open_circuit_recombination_normalized", + "value_sha256": "7615fe895406e0ff5423675e899e91e615d4c26e5a3b6d508dfe72ce40dbf55d" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.01, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-c59636af5a09844d9d41fc02": { + "quantity": "maximum_power_potential_V", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/foundation-physical-homojunction-resolved-v2/observables/maximum_power_potential_V", + "value_sha256": "5c50fedcb008e35d34c6b96d54e9f1fac71a39749267c7732e193163a248aa5a" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.001, + "units": "V" + }, + "unit": "V", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-54f571467643d7cff786e011": { + "quantity": "maximum_power_electron_log_density", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/foundation-physical-homojunction-resolved-v2/observables/maximum_power_electron_log_density", + "value_sha256": "242cfee044ef3fd7f0245ac63ff90d101d25d7dff11b321f985f14146bbc5947" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.009950330853168092, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-7d1acfab131dc13d9b09fe30": { + "quantity": "maximum_power_hole_log_density", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/foundation-physical-homojunction-resolved-v2/observables/maximum_power_hole_log_density", + "value_sha256": "242cfee044ef3fd7f0245ac63ff90d101d25d7dff11b321f985f14146bbc5947" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.009950330853168092, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-3567561cc7dbd09ffe57e58f": { + "quantity": "maximum_power_electron_fermi_eV", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/foundation-physical-homojunction-resolved-v2/observables/maximum_power_electron_fermi_eV", + "value_sha256": "10ba4d4d43aedb47b7c60b7cd11615b5d12167dd996afea1a9082aade7dcf388" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.001, + "units": "eV" + }, + "unit": "eV", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-d28f9408cac1640d7799461f": { + "quantity": "maximum_power_hole_fermi_eV", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/foundation-physical-homojunction-resolved-v2/observables/maximum_power_hole_fermi_eV", + "value_sha256": "10ba4d4d43aedb47b7c60b7cd11615b5d12167dd996afea1a9082aade7dcf388" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.001, + "units": "eV" + }, + "unit": "eV", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-2b9f430bd54bcf60b476a0d3": { + "quantity": "maximum_power_recombination_normalized", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/foundation-physical-homojunction-resolved-v2/observables/maximum_power_recombination_normalized", + "value_sha256": "7615fe895406e0ff5423675e899e91e615d4c26e5a3b6d508dfe72ce40dbf55d" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.01, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-e15bf6440b405f4f416a3cf8": { + "quantity": "all_states_certified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/foundation-physical-homojunction-resolved-v2/quality_gates/all_states_certified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-9bb0f62b8483c4669379c89c": { + "quantity": "contacts_thermodynamically_consistent", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/foundation-physical-homojunction-resolved-v2/quality_gates/contacts_thermodynamically_consistent", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-5d94458eaa4aa46deb3f1f9b": { + "quantity": "maximum_continuity_bound_A_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/foundation-physical-homojunction-resolved-v2/quality_gates/maximum_continuity_bound_A_m2", + "value_sha256": "76de35d7d014279169cb5824bf5a6fcddddab0c729d2c61073afad59c73774d2" + }, + "gate_value": { + "operator": "le", + "limit": 0.0001, + "units": "A m-2" + }, + "unit": "A m-2", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-5287e9dc813b6f16c264bb25": { + "quantity": "maximum_face_current_spread_A_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/foundation-physical-homojunction-resolved-v2/quality_gates/maximum_face_current_spread_A_m2", + "value_sha256": "76de35d7d014279169cb5824bf5a6fcddddab0c729d2c61073afad59c73774d2" + }, + "gate_value": { + "operator": "le", + "limit": 0.0001, + "units": "A m-2" + }, + "unit": "A m-2", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-46cb2d34f3110dfd6410f935": { + "quantity": "maximum_poisson_residual_C_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/foundation-physical-homojunction-resolved-v2/quality_gates/maximum_poisson_residual_C_m2", + "value_sha256": "9746256b206693e4d40cc5de166b49dfe34c43446a602384b8f043e651a0471c" + }, + "gate_value": { + "operator": "le", + "limit": 1e-12, + "units": "C m-2" + }, + "unit": "C m-2", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-a677bf072a588e714b7b37f8": { + "quantity": "maximum_residual_over_limit", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/foundation-physical-homojunction-resolved-v2/quality_gates/maximum_residual_over_limit", + "value_sha256": "8215610fe56f18664ce2c2e81c7e48e6bbd71f7e58513c011554f1149d520c9f" + }, + "gate_value": { + "operator": "le", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-e1fd27d1bc0b5a366dee1d64": { + "quantity": "equilibrium_current_A_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/foundation-physical-homojunction-resolved-v2/quality_gates/equilibrium_current_A_m2", + "value_sha256": "76de35d7d014279169cb5824bf5a6fcddddab0c729d2c61073afad59c73774d2" + }, + "gate_value": { + "operator": "le", + "limit": 0.0001, + "units": "A m-2" + }, + "unit": "A m-2", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-086341bb7b9978fa46b87db3": { + "quantity": "equilibrium_fermi_span_eV", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/foundation-physical-homojunction-resolved-v2/quality_gates/equilibrium_fermi_span_eV", + "value_sha256": "8271ce832f047167c6677994c391af7dc646fb102ee623835215a9858a45301c" + }, + "gate_value": { + "operator": "le", + "limit": 1e-08, + "units": "eV" + }, + "unit": "eV", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-02c8755e6fce67e26b7ddfb0": { + "quantity": "open_circuit_current_A_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/foundation-physical-homojunction-resolved-v2/quality_gates/open_circuit_current_A_m2", + "value_sha256": "76de35d7d014279169cb5824bf5a6fcddddab0c729d2c61073afad59c73774d2" + }, + "gate_value": { + "operator": "le", + "limit": 0.0001, + "units": "A m-2" + }, + "unit": "A m-2", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-11b747e74b9a6fcfa05515db": { + "quantity": "maximum_density_over_dos", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/foundation-physical-homojunction-resolved-v2/quality_gates/maximum_density_over_dos", + "value_sha256": "c3830405630646faf1f6a15fe04d34bebf43ded7dbea5b7249088cf65fdc1cf7" + }, + "gate_value": { + "operator": "le", + "limit": 0.05, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-e70d38bae00cf4dc4707fe46": { + "quantity": "carrier_densities_positive", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/foundation-physical-homojunction-resolved-v2/quality_gates/carrier_densities_positive", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-5d73f05cb0469493ba890ff6": { + "quantity": "absorbed_photon_fraction", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/foundation-physical-homojunction-resolved-v2/quality_gates/absorbed_photon_fraction", + "value_sha256": "8215610fe56f18664ce2c2e81c7e48e6bbd71f7e58513c011554f1149d520c9f" + }, + "gate_value": { + "operator": "le", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-6b54202ea5782a70bba4c44d": { + "quantity": "maximum_power_conversion_fraction", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/foundation-physical-homojunction-resolved-v2/quality_gates/maximum_power_conversion_fraction", + "value_sha256": "8215610fe56f18664ce2c2e81c7e48e6bbd71f7e58513c011554f1149d520c9f" + }, + "gate_value": { + "operator": "le", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-a8e156be9f16c642699de4cd": { + "quantity": "voltage_voc_absolute_change_V", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/foundation-physical-homojunction-resolved-v2/quality_gates/voltage_voc_absolute_change_V", + "value_sha256": "2f208b4874e198c87e2477270aac3d14a8ed6e9790ec680d926dbc8ed4b6dcc6" + }, + "gate_value": { + "operator": "le", + "limit": 0.001, + "units": "V" + }, + "unit": "V", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-4347da77461f9e6ec35a3281": { + "quantity": "voltage_jsc_relative_change", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/foundation-physical-homojunction-resolved-v2/quality_gates/voltage_jsc_relative_change", + "value_sha256": "40383e633cb9b12aef5cc072edd81b0c3d89c488d3ff1ec5b5fb6edf4a28e871" + }, + "gate_value": { + "operator": "le", + "limit": 0.002, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-d92eb73f5fe3ea407badc578": { + "quantity": "voltage_ff_relative_change", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/foundation-physical-homojunction-resolved-v2/quality_gates/voltage_ff_relative_change", + "value_sha256": "9f1d9f717a3ae05d68fa3a1a041701e163907a904c87d6a56a5fda97b7b59dfa" + }, + "gate_value": { + "operator": "le", + "limit": 0.005, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-6ba1ab7608a40c450c127a9a": { + "quantity": "voltage_pce_relative_change", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/foundation-physical-homojunction-resolved-v2/quality_gates/voltage_pce_relative_change", + "value_sha256": "9f1d9f717a3ae05d68fa3a1a041701e163907a904c87d6a56a5fda97b7b59dfa" + }, + "gate_value": { + "operator": "le", + "limit": 0.005, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-4f27a0e8b5f5d69b5b827e5e": { + "quantity": "sampled_voc_root_error_V", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/foundation-physical-homojunction-resolved-v2/quality_gates/sampled_voc_root_error_V", + "value_sha256": "2f208b4874e198c87e2477270aac3d14a8ed6e9790ec680d926dbc8ed4b6dcc6" + }, + "gate_value": { + "operator": "le", + "limit": 0.001, + "units": "V" + }, + "unit": "V", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-5afc8154ebb5b51eacdeb919": { + "quantity": "sampled_power_relative_error", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/foundation-physical-homojunction-resolved-v2/quality_gates/sampled_power_relative_error", + "value_sha256": "9f1d9f717a3ae05d68fa3a1a041701e163907a904c87d6a56a5fda97b7b59dfa" + }, + "gate_value": { + "operator": "le", + "limit": 0.005, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-b380981d738dd79405c6c319": { + "quantity": "voc_V", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/foundation-physical-homojunction-steady-v1/observables/voc_V", + "value_sha256": "5c50fedcb008e35d34c6b96d54e9f1fac71a39749267c7732e193163a248aa5a" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.001, + "units": "V" + }, + "unit": "V", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-c65af9bd7ee9c9091a77ca47": { + "quantity": "jsc_A_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/foundation-physical-homojunction-steady-v1/observables/jsc_A_m2", + "value_sha256": "32ab8b7207f5095d8fa04ce6cfbdd73ae895e6d320cd839283d076a2bb30cce3" + }, + "gate_value": { + "comparison": "relative_linf", + "limit": 0.002, + "units": "A m-2" + }, + "unit": "A m-2", + "norm": "relative_linf", + "scale": { + "kind": "original_symmetric_pair_scale", + "relative_floor": 1e-30 + }, + "zero_policy": { + "kind": "original_relative_floor", + "value": 1e-30 + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-6a719f045554a97edfb8f03f": { + "quantity": "fill_factor", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/foundation-physical-homojunction-steady-v1/observables/fill_factor", + "value_sha256": "53ceb623c76035b2d3a89d5f154db2c93efd95547b58c05d6c82f1f9bcd45ce0" + }, + "gate_value": { + "comparison": "relative_linf", + "limit": 0.005, + "units": "1" + }, + "unit": "1", + "norm": "relative_linf", + "scale": { + "kind": "original_symmetric_pair_scale", + "relative_floor": 1e-30 + }, + "zero_policy": { + "kind": "original_relative_floor", + "value": 1e-30 + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-e5ab068abc5a51738adce174": { + "quantity": "power_conversion_fraction", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/foundation-physical-homojunction-steady-v1/observables/power_conversion_fraction", + "value_sha256": "53ceb623c76035b2d3a89d5f154db2c93efd95547b58c05d6c82f1f9bcd45ce0" + }, + "gate_value": { + "comparison": "relative_linf", + "limit": 0.005, + "units": "1" + }, + "unit": "1", + "norm": "relative_linf", + "scale": { + "kind": "original_symmetric_pair_scale", + "relative_floor": 1e-30 + }, + "zero_policy": { + "kind": "original_relative_floor", + "value": 1e-30 + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-4cbc3bcf5b379cbd0a588856": { + "quantity": "open_circuit_root_V", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/foundation-physical-homojunction-steady-v1/observables/open_circuit_root_V", + "value_sha256": "5c50fedcb008e35d34c6b96d54e9f1fac71a39749267c7732e193163a248aa5a" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.001, + "units": "V" + }, + "unit": "V", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-1e2b48965ec3d624e02ff24b": { + "quantity": "maximum_power_voltage_V", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/foundation-physical-homojunction-steady-v1/observables/maximum_power_voltage_V", + "value_sha256": "5c50fedcb008e35d34c6b96d54e9f1fac71a39749267c7732e193163a248aa5a" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.001, + "units": "V" + }, + "unit": "V", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-d3003ff96a8038d4f0bf7991": { + "quantity": "photovoltaic_current_normalized_trace", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/foundation-physical-homojunction-steady-v1/observables/photovoltaic_current_normalized_trace", + "value_sha256": "21c88fa6fe8abb8703e3781940725ca336c1b2afe0a5d439622e2095feb2512a" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.005, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-04e865afce5f195b826132a6": { + "quantity": "equilibrium_potential_V", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/foundation-physical-homojunction-steady-v1/observables/equilibrium_potential_V", + "value_sha256": "5c50fedcb008e35d34c6b96d54e9f1fac71a39749267c7732e193163a248aa5a" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.001, + "units": "V" + }, + "unit": "V", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-bb54a91a50dd294f20180db4": { + "quantity": "equilibrium_electron_log_density", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/foundation-physical-homojunction-steady-v1/observables/equilibrium_electron_log_density", + "value_sha256": "242cfee044ef3fd7f0245ac63ff90d101d25d7dff11b321f985f14146bbc5947" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.009950330853168092, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-a38da32261dda170c629d58b": { + "quantity": "equilibrium_hole_log_density", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/foundation-physical-homojunction-steady-v1/observables/equilibrium_hole_log_density", + "value_sha256": "242cfee044ef3fd7f0245ac63ff90d101d25d7dff11b321f985f14146bbc5947" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.009950330853168092, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-12c4f8b572d417a1b3fc835e": { + "quantity": "equilibrium_electron_fermi_eV", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/foundation-physical-homojunction-steady-v1/observables/equilibrium_electron_fermi_eV", + "value_sha256": "10ba4d4d43aedb47b7c60b7cd11615b5d12167dd996afea1a9082aade7dcf388" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.001, + "units": "eV" + }, + "unit": "eV", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-12977b916fe073e4f4a17761": { + "quantity": "equilibrium_hole_fermi_eV", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/foundation-physical-homojunction-steady-v1/observables/equilibrium_hole_fermi_eV", + "value_sha256": "10ba4d4d43aedb47b7c60b7cd11615b5d12167dd996afea1a9082aade7dcf388" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.001, + "units": "eV" + }, + "unit": "eV", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-3990a6f874510e8849affa03": { + "quantity": "equilibrium_recombination_normalized", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/foundation-physical-homojunction-steady-v1/observables/equilibrium_recombination_normalized", + "value_sha256": "7615fe895406e0ff5423675e899e91e615d4c26e5a3b6d508dfe72ce40dbf55d" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.01, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-f04918aa84982042646a1be2": { + "quantity": "short_circuit_potential_V", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/foundation-physical-homojunction-steady-v1/observables/short_circuit_potential_V", + "value_sha256": "5c50fedcb008e35d34c6b96d54e9f1fac71a39749267c7732e193163a248aa5a" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.001, + "units": "V" + }, + "unit": "V", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-128414ebcf1c6576e60161d7": { + "quantity": "short_circuit_electron_log_density", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/foundation-physical-homojunction-steady-v1/observables/short_circuit_electron_log_density", + "value_sha256": "242cfee044ef3fd7f0245ac63ff90d101d25d7dff11b321f985f14146bbc5947" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.009950330853168092, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-4762cd17ddf65884a784f385": { + "quantity": "short_circuit_hole_log_density", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/foundation-physical-homojunction-steady-v1/observables/short_circuit_hole_log_density", + "value_sha256": "242cfee044ef3fd7f0245ac63ff90d101d25d7dff11b321f985f14146bbc5947" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.009950330853168092, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-832e3ffa5bdcf5d9bdbd7e30": { + "quantity": "short_circuit_electron_fermi_eV", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/foundation-physical-homojunction-steady-v1/observables/short_circuit_electron_fermi_eV", + "value_sha256": "10ba4d4d43aedb47b7c60b7cd11615b5d12167dd996afea1a9082aade7dcf388" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.001, + "units": "eV" + }, + "unit": "eV", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-498360bd8f0f0def82994f14": { + "quantity": "short_circuit_hole_fermi_eV", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/foundation-physical-homojunction-steady-v1/observables/short_circuit_hole_fermi_eV", + "value_sha256": "10ba4d4d43aedb47b7c60b7cd11615b5d12167dd996afea1a9082aade7dcf388" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.001, + "units": "eV" + }, + "unit": "eV", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-96325eae22cac7ab5a00e883": { + "quantity": "short_circuit_recombination_normalized", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/foundation-physical-homojunction-steady-v1/observables/short_circuit_recombination_normalized", + "value_sha256": "7615fe895406e0ff5423675e899e91e615d4c26e5a3b6d508dfe72ce40dbf55d" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.01, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-8b0b7ef6b4fd8519d38a762c": { + "quantity": "open_circuit_potential_V", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/foundation-physical-homojunction-steady-v1/observables/open_circuit_potential_V", + "value_sha256": "5c50fedcb008e35d34c6b96d54e9f1fac71a39749267c7732e193163a248aa5a" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.001, + "units": "V" + }, + "unit": "V", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-f3aa9036a79edec3395b5251": { + "quantity": "open_circuit_electron_log_density", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/foundation-physical-homojunction-steady-v1/observables/open_circuit_electron_log_density", + "value_sha256": "242cfee044ef3fd7f0245ac63ff90d101d25d7dff11b321f985f14146bbc5947" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.009950330853168092, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-3c06603beb17986af49f3a4f": { + "quantity": "open_circuit_hole_log_density", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/foundation-physical-homojunction-steady-v1/observables/open_circuit_hole_log_density", + "value_sha256": "242cfee044ef3fd7f0245ac63ff90d101d25d7dff11b321f985f14146bbc5947" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.009950330853168092, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-9ec2c5bd0f5f74d365be8a1b": { + "quantity": "open_circuit_electron_fermi_eV", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/foundation-physical-homojunction-steady-v1/observables/open_circuit_electron_fermi_eV", + "value_sha256": "10ba4d4d43aedb47b7c60b7cd11615b5d12167dd996afea1a9082aade7dcf388" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.001, + "units": "eV" + }, + "unit": "eV", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-0dfc3f241669d32fe19757d3": { + "quantity": "open_circuit_hole_fermi_eV", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/foundation-physical-homojunction-steady-v1/observables/open_circuit_hole_fermi_eV", + "value_sha256": "10ba4d4d43aedb47b7c60b7cd11615b5d12167dd996afea1a9082aade7dcf388" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.001, + "units": "eV" + }, + "unit": "eV", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-35af8ca89f4c3620ea2eea82": { + "quantity": "open_circuit_recombination_normalized", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/foundation-physical-homojunction-steady-v1/observables/open_circuit_recombination_normalized", + "value_sha256": "7615fe895406e0ff5423675e899e91e615d4c26e5a3b6d508dfe72ce40dbf55d" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.01, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-b3d4abd41416017863dde205": { + "quantity": "maximum_power_potential_V", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/foundation-physical-homojunction-steady-v1/observables/maximum_power_potential_V", + "value_sha256": "5c50fedcb008e35d34c6b96d54e9f1fac71a39749267c7732e193163a248aa5a" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.001, + "units": "V" + }, + "unit": "V", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-73fa3c12e938df05801a8c3c": { + "quantity": "maximum_power_electron_log_density", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/foundation-physical-homojunction-steady-v1/observables/maximum_power_electron_log_density", + "value_sha256": "242cfee044ef3fd7f0245ac63ff90d101d25d7dff11b321f985f14146bbc5947" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.009950330853168092, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-9613109192ebdd775e9bf6c8": { + "quantity": "maximum_power_hole_log_density", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/foundation-physical-homojunction-steady-v1/observables/maximum_power_hole_log_density", + "value_sha256": "242cfee044ef3fd7f0245ac63ff90d101d25d7dff11b321f985f14146bbc5947" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.009950330853168092, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-8fa8bd09a2269715b15ffcc2": { + "quantity": "maximum_power_electron_fermi_eV", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/foundation-physical-homojunction-steady-v1/observables/maximum_power_electron_fermi_eV", + "value_sha256": "10ba4d4d43aedb47b7c60b7cd11615b5d12167dd996afea1a9082aade7dcf388" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.001, + "units": "eV" + }, + "unit": "eV", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-56ed498870085812076c1c1f": { + "quantity": "maximum_power_hole_fermi_eV", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/foundation-physical-homojunction-steady-v1/observables/maximum_power_hole_fermi_eV", + "value_sha256": "10ba4d4d43aedb47b7c60b7cd11615b5d12167dd996afea1a9082aade7dcf388" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.001, + "units": "eV" + }, + "unit": "eV", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-238fd7618c83cf6843c013a0": { + "quantity": "maximum_power_recombination_normalized", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/foundation-physical-homojunction-steady-v1/observables/maximum_power_recombination_normalized", + "value_sha256": "7615fe895406e0ff5423675e899e91e615d4c26e5a3b6d508dfe72ce40dbf55d" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.01, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-1d6eec78c76bb4f35645eb85": { + "quantity": "all_states_certified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/foundation-physical-homojunction-steady-v1/quality_gates/all_states_certified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-e87c56b14bfd6a9c79907ace": { + "quantity": "contacts_thermodynamically_consistent", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/foundation-physical-homojunction-steady-v1/quality_gates/contacts_thermodynamically_consistent", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-491641188a42199aaf203f69": { + "quantity": "maximum_continuity_bound_A_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/foundation-physical-homojunction-steady-v1/quality_gates/maximum_continuity_bound_A_m2", + "value_sha256": "76de35d7d014279169cb5824bf5a6fcddddab0c729d2c61073afad59c73774d2" + }, + "gate_value": { + "operator": "le", + "limit": 0.0001, + "units": "A m-2" + }, + "unit": "A m-2", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-458755d0b2d33e4739ee5003": { + "quantity": "maximum_face_current_spread_A_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/foundation-physical-homojunction-steady-v1/quality_gates/maximum_face_current_spread_A_m2", + "value_sha256": "76de35d7d014279169cb5824bf5a6fcddddab0c729d2c61073afad59c73774d2" + }, + "gate_value": { + "operator": "le", + "limit": 0.0001, + "units": "A m-2" + }, + "unit": "A m-2", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-f101d98d649ba16e519d9dc2": { + "quantity": "maximum_poisson_residual_C_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/foundation-physical-homojunction-steady-v1/quality_gates/maximum_poisson_residual_C_m2", + "value_sha256": "9746256b206693e4d40cc5de166b49dfe34c43446a602384b8f043e651a0471c" + }, + "gate_value": { + "operator": "le", + "limit": 1e-12, + "units": "C m-2" + }, + "unit": "C m-2", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-f7fc430b0476fe5eb15bf63a": { + "quantity": "maximum_residual_over_limit", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/foundation-physical-homojunction-steady-v1/quality_gates/maximum_residual_over_limit", + "value_sha256": "8215610fe56f18664ce2c2e81c7e48e6bbd71f7e58513c011554f1149d520c9f" + }, + "gate_value": { + "operator": "le", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-59d881aae4e50fafcaa37b31": { + "quantity": "equilibrium_current_A_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/foundation-physical-homojunction-steady-v1/quality_gates/equilibrium_current_A_m2", + "value_sha256": "76de35d7d014279169cb5824bf5a6fcddddab0c729d2c61073afad59c73774d2" + }, + "gate_value": { + "operator": "le", + "limit": 0.0001, + "units": "A m-2" + }, + "unit": "A m-2", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-170124f154bd8fe72574b4b4": { + "quantity": "equilibrium_fermi_span_eV", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/foundation-physical-homojunction-steady-v1/quality_gates/equilibrium_fermi_span_eV", + "value_sha256": "8271ce832f047167c6677994c391af7dc646fb102ee623835215a9858a45301c" + }, + "gate_value": { + "operator": "le", + "limit": 1e-08, + "units": "eV" + }, + "unit": "eV", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-191ccb67cb5091a9e6cfa270": { + "quantity": "open_circuit_current_A_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/foundation-physical-homojunction-steady-v1/quality_gates/open_circuit_current_A_m2", + "value_sha256": "76de35d7d014279169cb5824bf5a6fcddddab0c729d2c61073afad59c73774d2" + }, + "gate_value": { + "operator": "le", + "limit": 0.0001, + "units": "A m-2" + }, + "unit": "A m-2", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-ff1f989aefe1dfc5179e2bae": { + "quantity": "maximum_density_over_dos", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/foundation-physical-homojunction-steady-v1/quality_gates/maximum_density_over_dos", + "value_sha256": "c3830405630646faf1f6a15fe04d34bebf43ded7dbea5b7249088cf65fdc1cf7" + }, + "gate_value": { + "operator": "le", + "limit": 0.05, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-f68be4a2651567ae6a72ce89": { + "quantity": "carrier_densities_positive", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/foundation-physical-homojunction-steady-v1/quality_gates/carrier_densities_positive", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-d39aa2af8cae6f35df7ca40e": { + "quantity": "absorbed_photon_fraction", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/foundation-physical-homojunction-steady-v1/quality_gates/absorbed_photon_fraction", + "value_sha256": "8215610fe56f18664ce2c2e81c7e48e6bbd71f7e58513c011554f1149d520c9f" + }, + "gate_value": { + "operator": "le", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-4740b522b7dec04aff0b1dde": { + "quantity": "maximum_power_conversion_fraction", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/foundation-physical-homojunction-steady-v1/quality_gates/maximum_power_conversion_fraction", + "value_sha256": "8215610fe56f18664ce2c2e81c7e48e6bbd71f7e58513c011554f1149d520c9f" + }, + "gate_value": { + "operator": "le", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-d9372ad060fd952df7b776ba": { + "quantity": "voltage_voc_absolute_change_V", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/foundation-physical-homojunction-steady-v1/quality_gates/voltage_voc_absolute_change_V", + "value_sha256": "2f208b4874e198c87e2477270aac3d14a8ed6e9790ec680d926dbc8ed4b6dcc6" + }, + "gate_value": { + "operator": "le", + "limit": 0.001, + "units": "V" + }, + "unit": "V", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-04989810933b9c5c3407d56d": { + "quantity": "voltage_jsc_relative_change", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/foundation-physical-homojunction-steady-v1/quality_gates/voltage_jsc_relative_change", + "value_sha256": "40383e633cb9b12aef5cc072edd81b0c3d89c488d3ff1ec5b5fb6edf4a28e871" + }, + "gate_value": { + "operator": "le", + "limit": 0.002, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-b143a5e003a15468c53bc660": { + "quantity": "voltage_ff_relative_change", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/foundation-physical-homojunction-steady-v1/quality_gates/voltage_ff_relative_change", + "value_sha256": "9f1d9f717a3ae05d68fa3a1a041701e163907a904c87d6a56a5fda97b7b59dfa" + }, + "gate_value": { + "operator": "le", + "limit": 0.005, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-2011718624321daf9b70dce8": { + "quantity": "voltage_pce_relative_change", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/foundation-physical-homojunction-steady-v1/quality_gates/voltage_pce_relative_change", + "value_sha256": "9f1d9f717a3ae05d68fa3a1a041701e163907a904c87d6a56a5fda97b7b59dfa" + }, + "gate_value": { + "operator": "le", + "limit": 0.005, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-ee82add0bcf07d507886598e": { + "quantity": "sampled_voc_root_error_V", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/foundation-physical-homojunction-steady-v1/quality_gates/sampled_voc_root_error_V", + "value_sha256": "2f208b4874e198c87e2477270aac3d14a8ed6e9790ec680d926dbc8ed4b6dcc6" + }, + "gate_value": { + "operator": "le", + "limit": 0.001, + "units": "V" + }, + "unit": "V", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-44a888741a2d03ce19c0d408": { + "quantity": "sampled_power_relative_error", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/foundation-physical-homojunction-steady-v1/quality_gates/sampled_power_relative_error", + "value_sha256": "9f1d9f717a3ae05d68fa3a1a041701e163907a904c87d6a56a5fda97b7b59dfa" + }, + "gate_value": { + "operator": "le", + "limit": 0.005, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-bb34b7c2ff63a4e6c1d42261": { + "quantity": "acceptor_ionized_fraction_temperature_curve", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/incomplete-ionization-bgn-temperature-equilibrium-v1/observables/acceptor_ionized_fraction_temperature_curve", + "value_sha256": "9ef432633eced5828d07e99472cfe3e3351d752c4d73cda25e7769f254d00ef0" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 1e-12, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-292ed9222b34f2019f5c3035": { + "quantity": "band_gap_narrowing_temperature_curve_eV", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/incomplete-ionization-bgn-temperature-equilibrium-v1/observables/band_gap_narrowing_temperature_curve_eV", + "value_sha256": "83f53b749ad91bba4a2b36f516449fac6cf07b85801a593fd9c917b8b961ce59" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 1e-12, + "units": "eV" + }, + "unit": "eV", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-943372475a4e130e604fb81b": { + "quantity": "donor_ionized_fraction_temperature_curve", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/incomplete-ionization-bgn-temperature-equilibrium-v1/observables/donor_ionized_fraction_temperature_curve", + "value_sha256": "9ef432633eced5828d07e99472cfe3e3351d752c4d73cda25e7769f254d00ef0" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 1e-12, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-bfa2c345692d37716b5036ea": { + "quantity": "effective_band_gap_temperature_curve_eV", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/incomplete-ionization-bgn-temperature-equilibrium-v1/observables/effective_band_gap_temperature_curve_eV", + "value_sha256": "83f53b749ad91bba4a2b36f516449fac6cf07b85801a593fd9c917b8b961ce59" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 1e-12, + "units": "eV" + }, + "unit": "eV", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-e499bd98985561efc61385ce": { + "quantity": "normalized_integrated_charge_width_temperature_curve", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/incomplete-ionization-bgn-temperature-equilibrium-v1/observables/normalized_integrated_charge_width_temperature_curve", + "value_sha256": "6304e9b7889128b4178bd5dd8397b419e1d33129ff2321ee8f9781cfce01fb31" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.0005, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-055a0eaf849fe00b766d78cf": { + "quantity": "normalized_peak_field_temperature_curve", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/incomplete-ionization-bgn-temperature-equilibrium-v1/observables/normalized_peak_field_temperature_curve", + "value_sha256": "c05d7161eec396365608fe9eacec79c23f823fa1b77d2a8e4cbb43aa77d40e2b" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.002, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-ac60376ee96a00f9c99b2d6b": { + "quantity": "space_charge_balance_temperature_curve", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/incomplete-ionization-bgn-temperature-equilibrium-v1/observables/space_charge_balance_temperature_curve", + "value_sha256": "243ff00265fb1085827290aa7b1dba08e9b9d8bd7d8ffaf06a14b721ea278866" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.001, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-f37e14ac46bbc6ff17ab775e": { + "quantity": "bgn_chemical_doping_law_verified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/incomplete-ionization-bgn-temperature-equilibrium-v1/quality_gates/bgn_chemical_doping_law_verified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-a1d9c5b364d6a22b5582c9f3": { + "quantity": "combined_topology_verified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/incomplete-ionization-bgn-temperature-equilibrium-v1/quality_gates/combined_topology_verified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-bf68ee1071c764fab30a2cf3": { + "quantity": "contact_thermodynamics_certified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/incomplete-ionization-bgn-temperature-equilibrium-v1/quality_gates/contact_thermodynamics_certified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-78adbcd862529d2f467540f6": { + "quantity": "freeze_out_monotone_with_temperature", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/incomplete-ionization-bgn-temperature-equilibrium-v1/quality_gates/freeze_out_monotone_with_temperature", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-bd04b01aa17a856cdd354e1e": { + "quantity": "ionized_fractions_bounded", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/incomplete-ionization-bgn-temperature-equilibrium-v1/quality_gates/ionized_fractions_bounded", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-c56367c13122d7665c845bdf": { + "quantity": "max_normalized_carrier_rate", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/incomplete-ionization-bgn-temperature-equilibrium-v1/quality_gates/max_normalized_carrier_rate", + "value_sha256": "39e4e66bbb6e4817b64fa08c183b4288e6f1103f9264d26c0e87f05a52d9b1d7" + }, + "gate_value": { + "operator": "le", + "limit": 1e-12, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-7a0d9306156f4b2796a03ef8": { + "quantity": "max_normalized_poisson_residual", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/incomplete-ionization-bgn-temperature-equilibrium-v1/quality_gates/max_normalized_poisson_residual", + "value_sha256": "4170b0e30bcaa5acefa62c46b3ac441b4da0a5cdcf850b965fe3426fd5b7f69f" + }, + "gate_value": { + "operator": "le", + "limit": 1e-08, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-aa5af25e66655979281bcadc": { + "quantity": "max_relative_face_current", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/incomplete-ionization-bgn-temperature-equilibrium-v1/quality_gates/max_relative_face_current", + "value_sha256": "39e4e66bbb6e4817b64fa08c183b4288e6f1103f9264d26c0e87f05a52d9b1d7" + }, + "gate_value": { + "operator": "le", + "limit": 1e-12, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-db18b033bc9ddb23bc289c10": { + "quantity": "max_space_charge_balance_relative_error", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/incomplete-ionization-bgn-temperature-equilibrium-v1/quality_gates/max_space_charge_balance_relative_error", + "value_sha256": "980e7a78594046b79bf4581eb60403c49e84f00cbbc2c757f6aabc49ac9207e9" + }, + "gate_value": { + "operator": "le", + "limit": 0.02, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-9388b57f0c0349c0cd70d35f": { + "quantity": "maximum_newton_iterations", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/incomplete-ionization-bgn-temperature-equilibrium-v1/quality_gates/maximum_newton_iterations", + "value_sha256": "25aaa2dd6313a593cc8ca24e49e4550f95e51b6b7de6429ab942bda825de9370" + }, + "gate_value": { + "operator": "le", + "limit": 25.0, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-b4e7dd7a370ac3ae1c6c597c": { + "quantity": "minimum_band_gap_narrowing_eV", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/incomplete-ionization-bgn-temperature-equilibrium-v1/quality_gates/minimum_band_gap_narrowing_eV", + "value_sha256": "41e39e00f0aa6ba0fd92ff0510344adf033f2ec0dc1858a817e6eef1d40eec85" + }, + "gate_value": { + "operator": "ge", + "limit": 0.02, + "units": "eV" + }, + "unit": "eV", + "norm": "ge", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-0919e71000637fe9957ba59f": { + "quantity": "minimum_freeze_out_fraction_change", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/incomplete-ionization-bgn-temperature-equilibrium-v1/quality_gates/minimum_freeze_out_fraction_change", + "value_sha256": "90484b95a934d42b207ebc68ddf9343a381c95da2d5ff9e62b952745ddc27d5c" + }, + "gate_value": { + "operator": "ge", + "limit": 0.5, + "units": "1" + }, + "unit": "1", + "norm": "ge", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-5367e5131ede5d9e782343aa": { + "quantity": "temperature_points_completed", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/incomplete-ionization-bgn-temperature-equilibrium-v1/quality_gates/temperature_points_completed", + "value_sha256": "a8e05faf41c6717b03e3c57b8fe33eecf9076c0cd0af003e9b579d3b3b2cb58b" + }, + "gate_value": { + "operator": "eq", + "limit": 5.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-f38b9291805362fb431405ca": { + "quantity": "terminal_densities_positive", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/incomplete-ionization-bgn-temperature-equilibrium-v1/quality_gates/terminal_densities_positive", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-26210e984f2cd81eb2d38b72": { + "quantity": "acceptor_ionized_fraction_temperature_curve", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/incomplete-ionization-temperature-equilibrium-v1/observables/acceptor_ionized_fraction_temperature_curve", + "value_sha256": "9ef432633eced5828d07e99472cfe3e3351d752c4d73cda25e7769f254d00ef0" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 1e-12, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-722f8831b5f82f8f72d68b1d": { + "quantity": "donor_ionized_fraction_temperature_curve", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/incomplete-ionization-temperature-equilibrium-v1/observables/donor_ionized_fraction_temperature_curve", + "value_sha256": "9ef432633eced5828d07e99472cfe3e3351d752c4d73cda25e7769f254d00ef0" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 1e-12, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-4733c8d207e9b0511319f76c": { + "quantity": "normalized_integrated_charge_width_temperature_curve", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/incomplete-ionization-temperature-equilibrium-v1/observables/normalized_integrated_charge_width_temperature_curve", + "value_sha256": "6304e9b7889128b4178bd5dd8397b419e1d33129ff2321ee8f9781cfce01fb31" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.0005, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-65ffc6a1efd595a5b8cbf66d": { + "quantity": "normalized_peak_field_temperature_curve", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/incomplete-ionization-temperature-equilibrium-v1/observables/normalized_peak_field_temperature_curve", + "value_sha256": "c05d7161eec396365608fe9eacec79c23f823fa1b77d2a8e4cbb43aa77d40e2b" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.002, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-4294cccc1d5cc596b4d72ef0": { + "quantity": "space_charge_balance_temperature_curve", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/incomplete-ionization-temperature-equilibrium-v1/observables/space_charge_balance_temperature_curve", + "value_sha256": "243ff00265fb1085827290aa7b1dba08e9b9d8bd7d8ffaf06a14b721ea278866" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.001, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-9b25f1d9a10da126d954e2c4": { + "quantity": "contact_thermodynamics_certified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/incomplete-ionization-temperature-equilibrium-v1/quality_gates/contact_thermodynamics_certified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-8f530891eb0ef2b3578c6684": { + "quantity": "freeze_out_monotone_with_temperature", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/incomplete-ionization-temperature-equilibrium-v1/quality_gates/freeze_out_monotone_with_temperature", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-9db939028491b4b283b3e63e": { + "quantity": "incomplete_ionization_topology_verified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/incomplete-ionization-temperature-equilibrium-v1/quality_gates/incomplete_ionization_topology_verified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-fad81ef58a23c67791265c1e": { + "quantity": "ionized_fractions_bounded", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/incomplete-ionization-temperature-equilibrium-v1/quality_gates/ionized_fractions_bounded", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-2de1c9dc8a604dbf2cbf7d98": { + "quantity": "max_normalized_carrier_rate", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/incomplete-ionization-temperature-equilibrium-v1/quality_gates/max_normalized_carrier_rate", + "value_sha256": "39e4e66bbb6e4817b64fa08c183b4288e6f1103f9264d26c0e87f05a52d9b1d7" + }, + "gate_value": { + "operator": "le", + "limit": 1e-12, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-fc28af7dafbb40eb8fb565b9": { + "quantity": "max_normalized_poisson_residual", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/incomplete-ionization-temperature-equilibrium-v1/quality_gates/max_normalized_poisson_residual", + "value_sha256": "4170b0e30bcaa5acefa62c46b3ac441b4da0a5cdcf850b965fe3426fd5b7f69f" + }, + "gate_value": { + "operator": "le", + "limit": 1e-08, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-5cc009d5c7d6427d98e511e8": { + "quantity": "max_relative_face_current", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/incomplete-ionization-temperature-equilibrium-v1/quality_gates/max_relative_face_current", + "value_sha256": "39e4e66bbb6e4817b64fa08c183b4288e6f1103f9264d26c0e87f05a52d9b1d7" + }, + "gate_value": { + "operator": "le", + "limit": 1e-12, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-0ae96bb5969f113225d79aca": { + "quantity": "max_space_charge_balance_relative_error", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/incomplete-ionization-temperature-equilibrium-v1/quality_gates/max_space_charge_balance_relative_error", + "value_sha256": "980e7a78594046b79bf4581eb60403c49e84f00cbbc2c757f6aabc49ac9207e9" + }, + "gate_value": { + "operator": "le", + "limit": 0.02, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-2b064348486e46fa92da190c": { + "quantity": "maximum_newton_iterations", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/incomplete-ionization-temperature-equilibrium-v1/quality_gates/maximum_newton_iterations", + "value_sha256": "25aaa2dd6313a593cc8ca24e49e4550f95e51b6b7de6429ab942bda825de9370" + }, + "gate_value": { + "operator": "le", + "limit": 25.0, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-89bba4b93ae56f0c46731f89": { + "quantity": "minimum_freeze_out_fraction_change", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/incomplete-ionization-temperature-equilibrium-v1/quality_gates/minimum_freeze_out_fraction_change", + "value_sha256": "90484b95a934d42b207ebc68ddf9343a381c95da2d5ff9e62b952745ddc27d5c" + }, + "gate_value": { + "operator": "ge", + "limit": 0.5, + "units": "1" + }, + "unit": "1", + "norm": "ge", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-b416b5ceb6f98d6d0328aece": { + "quantity": "temperature_points_completed", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/incomplete-ionization-temperature-equilibrium-v1/quality_gates/temperature_points_completed", + "value_sha256": "a8e05faf41c6717b03e3c57b8fe33eecf9076c0cd0af003e9b579d3b3b2cb58b" + }, + "gate_value": { + "operator": "eq", + "limit": 5.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-1e14d25eac5dba2682f938a0": { + "quantity": "terminal_densities_positive", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/incomplete-ionization-temperature-equilibrium-v1/quality_gates/terminal_densities_positive", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-7d7062045f5db3ddcdde1ec4": { + "quantity": "stress_current_density_A_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-device-stress-resolved-v2/observables/stress_current_density_A_m2", + "value_sha256": "0264977486beb2cb71082de1ef0681c90af17438d5adbde02f6c27c5214c8416" + }, + "gate_value": { + "comparison": "relative_linf", + "limit": 0.01, + "units": "A m-2" + }, + "unit": "A m-2", + "norm": "relative_linf", + "scale": { + "kind": "original_symmetric_pair_scale", + "relative_floor": 1e-30 + }, + "zero_policy": { + "kind": "original_relative_floor", + "value": 1e-30 + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-d80d630e75e55952ccd0fc18": { + "quantity": "stress_equilibrium_occupancy", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-device-stress-resolved-v2/observables/stress_equilibrium_occupancy", + "value_sha256": "ac81b37f634520330240036ae535c2298987979ca4f1d01b72c117536c009706" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.0002, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-fefc354c65b86c41121846e0": { + "quantity": "stress_interface_occupancy", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-device-stress-resolved-v2/observables/stress_interface_occupancy", + "value_sha256": "ac81b37f634520330240036ae535c2298987979ca4f1d01b72c117536c009706" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.0002, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-449a36c74b21a2dc3d37d355": { + "quantity": "stress_sheet_charge_C_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-device-stress-resolved-v2/observables/stress_sheet_charge_C_m2", + "value_sha256": "9b91a7354532debcc7f2d9cff0ca15c45b69f366d857b2c5c8f3acbb6a11122f" + }, + "gate_value": { + "comparison": "pointwise_relative_linf", + "limit": 0.01, + "units": "C m-2" + }, + "unit": "C m-2", + "norm": "pointwise_relative_linf", + "scale": { + "kind": "original_symmetric_pair_scale", + "relative_floor": 1e-30 + }, + "zero_policy": { + "kind": "original_relative_floor", + "value": 1e-30 + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-f8790f2041c83ad309a595a4": { + "quantity": "stress_trace_potential_shift_V", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-device-stress-resolved-v2/observables/stress_trace_potential_shift_V", + "value_sha256": "5c50fedcb008e35d34c6b96d54e9f1fac71a39749267c7732e193163a248aa5a" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.001, + "units": "V" + }, + "unit": "V", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-fa6fee4d30b6d465bff9c6a9": { + "quantity": "all_points_certified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-device-stress-resolved-v2/quality_gates/all_points_certified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-7664bb937916ddbb8fb97210": { + "quantity": "barrier_shift_charge_sign_consistent", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-device-stress-resolved-v2/quality_gates/barrier_shift_charge_sign_consistent", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-82ca5065fa42d43f46a0e31f": { + "quantity": "calibration_factors_unity", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-device-stress-resolved-v2/quality_gates/calibration_factors_unity", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-5335d771c411a2d42a850908": { + "quantity": "charge_law_consistent", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-device-stress-resolved-v2/quality_gates/charge_law_consistent", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-a93396d176c2680755348840": { + "quantity": "contact_thermodynamics_certified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-device-stress-resolved-v2/quality_gates/contact_thermodynamics_certified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-f2149d8c415225baf0d2a359": { + "quantity": "dark_charge_off_bit_identical", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-device-stress-resolved-v2/quality_gates/dark_charge_off_bit_identical", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-cbda6c3678dc399bc2322b8a": { + "quantity": "dark_incremental_charge_zero_C_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-device-stress-resolved-v2/quality_gates/dark_incremental_charge_zero_C_m2", + "value_sha256": "52a2015066ca522195836a30e9e85365b9c87ff36151ef819e829d0c04f00ecc" + }, + "gate_value": { + "operator": "le", + "limit": 0.0, + "units": "C m-2" + }, + "unit": "C m-2", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-be4a60e6910440e27de842c4": { + "quantity": "dark_reference_certified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-device-stress-resolved-v2/quality_gates/dark_reference_certified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-f631613dde22e726c5c46ef2": { + "quantity": "dark_reference_hash_verified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-device-stress-resolved-v2/quality_gates/dark_reference_hash_verified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-597565c087a9a715418dd121": { + "quantity": "dark_trace_shift_zero_V", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-device-stress-resolved-v2/quality_gates/dark_trace_shift_zero_V", + "value_sha256": "5380accce824788548c01afe7f45e20ca075f5734c2690773e2dbfedad31dc8a" + }, + "gate_value": { + "operator": "le", + "limit": 0.0, + "units": "V" + }, + "unit": "V", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-0d10677fb4b9463eac0cf670": { + "quantity": "grid_geometry_aligned", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-device-stress-resolved-v2/quality_gates/grid_geometry_aligned", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-2c07110fe4ebc07cc7cfef15": { + "quantity": "interface_evidence_aligned", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-device-stress-resolved-v2/quality_gates/interface_evidence_aligned", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-f8a577275449db9fd649fa61": { + "quantity": "microscopic_defect_contract_verified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-device-stress-resolved-v2/quality_gates/microscopic_defect_contract_verified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-5fee7ddc4d99e5684cd902e6": { + "quantity": "max_charge_fraction_of_one_electron", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-device-stress-resolved-v2/quality_gates/max_charge_fraction_of_one_electron", + "value_sha256": "8215610fe56f18664ce2c2e81c7e48e6bbd71f7e58513c011554f1149d520c9f" + }, + "gate_value": { + "operator": "le", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-98099010a010af01b0c95b65": { + "quantity": "max_continuity_bound_A_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-device-stress-resolved-v2/quality_gates/max_continuity_bound_A_m2", + "value_sha256": "76de35d7d014279169cb5824bf5a6fcddddab0c729d2c61073afad59c73774d2" + }, + "gate_value": { + "operator": "le", + "limit": 0.0001, + "units": "A m-2" + }, + "unit": "A m-2", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-82e12d69b8a5e4f01e4a6338": { + "quantity": "max_current_spread_A_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-device-stress-resolved-v2/quality_gates/max_current_spread_A_m2", + "value_sha256": "76de35d7d014279169cb5824bf5a6fcddddab0c729d2c61073afad59c73774d2" + }, + "gate_value": { + "operator": "le", + "limit": 0.0001, + "units": "A m-2" + }, + "unit": "A m-2", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-1d7ef7eef711d81c63b8d9b1": { + "quantity": "max_interface_local_residual", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-device-stress-resolved-v2/quality_gates/max_interface_local_residual", + "value_sha256": "65704c467ce53fcb4b17f009a4b97242f7d1bdef4a3687b2a784d800842196c7" + }, + "gate_value": { + "operator": "le", + "limit": 1e-07, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-12a789e57c1b7a6aeae013be": { + "quantity": "max_normalized_cell_residual", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-device-stress-resolved-v2/quality_gates/max_normalized_cell_residual", + "value_sha256": "e6f528a203184dbba4c2053f8748541d7ac8137383d8b085396ec59fd529b14e" + }, + "gate_value": { + "operator": "le", + "limit": 4e-07, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-2f887ce99ed0fff15bee44af": { + "quantity": "max_normalized_gauss_residual", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-device-stress-resolved-v2/quality_gates/max_normalized_gauss_residual", + "value_sha256": "d05931d5e401d506375c19c8b7c15d33b614369a54c1d98ca2f90ea1b9fa50a0" + }, + "gate_value": { + "operator": "le", + "limit": 1e-10, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-71faf84963a27cdc2dac0820": { + "quantity": "max_poisson_residual", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-device-stress-resolved-v2/quality_gates/max_poisson_residual", + "value_sha256": "4170b0e30bcaa5acefa62c46b3ac441b4da0a5cdcf850b965fe3426fd5b7f69f" + }, + "gate_value": { + "operator": "le", + "limit": 1e-08, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-30d3ba13de3a025a23abdb1f": { + "quantity": "max_scaled_local_jacobian_condition", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-device-stress-resolved-v2/quality_gates/max_scaled_local_jacobian_condition", + "value_sha256": "b0a3c6dc7e04d534229c96ad089fdac5f5480fa81a96baec24f765c5887469e5" + }, + "gate_value": { + "operator": "le", + "limit": "1.0e8", + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-3ed9525bf67c68408981c1ed": { + "quantity": "occupancy_bounded", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-device-stress-resolved-v2/quality_gates/occupancy_bounded", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-eb16ea3d60b0075d78e354d0": { + "quantity": "parameter_values_applied", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-device-stress-resolved-v2/quality_gates/parameter_values_applied", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-aeef34a5bff26c90ee6ac7cc": { + "quantity": "rebaseline_acknowledged", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-device-stress-resolved-v2/quality_gates/rebaseline_acknowledged", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-14c60819503e2cd9529d551c": { + "quantity": "research_charge_closure_active", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-device-stress-resolved-v2/quality_gates/research_charge_closure_active", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-75b10581e969f78810a9e45c": { + "quantity": "stress_point_count", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-device-stress-resolved-v2/quality_gates/stress_point_count", + "value_sha256": "0d788a6c1c9febe0e069d14017b1892407577c0681f7a65048b8aeb9787006b9" + }, + "gate_value": { + "operator": "eq", + "limit": 9.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-7f0a5978207fdb98d239d39b": { + "quantity": "two_sided_topology_active", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-device-stress-resolved-v2/quality_gates/two_sided_topology_active", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-5e66064040c6b12d3d6e3c9b": { + "quantity": "variant_stack_identities_unique", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-device-stress-resolved-v2/quality_gates/variant_stack_identities_unique", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-83902bd0c38b52c4294c2f56": { + "quantity": "stress_current_density_A_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-device-stress-v1/observables/stress_current_density_A_m2", + "value_sha256": "0264977486beb2cb71082de1ef0681c90af17438d5adbde02f6c27c5214c8416" + }, + "gate_value": { + "comparison": "relative_linf", + "limit": 0.01, + "units": "A m-2" + }, + "unit": "A m-2", + "norm": "relative_linf", + "scale": { + "kind": "original_symmetric_pair_scale", + "relative_floor": 1e-30 + }, + "zero_policy": { + "kind": "original_relative_floor", + "value": 1e-30 + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-608de085722fd784672cbaf1": { + "quantity": "stress_equilibrium_occupancy", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-device-stress-v1/observables/stress_equilibrium_occupancy", + "value_sha256": "ac81b37f634520330240036ae535c2298987979ca4f1d01b72c117536c009706" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.0002, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-e9657b85d9e8acf43bf894f4": { + "quantity": "stress_interface_occupancy", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-device-stress-v1/observables/stress_interface_occupancy", + "value_sha256": "ac81b37f634520330240036ae535c2298987979ca4f1d01b72c117536c009706" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.0002, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-e55921ddfc33ffaaec6ff51a": { + "quantity": "stress_sheet_charge_C_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-device-stress-v1/observables/stress_sheet_charge_C_m2", + "value_sha256": "9b91a7354532debcc7f2d9cff0ca15c45b69f366d857b2c5c8f3acbb6a11122f" + }, + "gate_value": { + "comparison": "pointwise_relative_linf", + "limit": 0.01, + "units": "C m-2" + }, + "unit": "C m-2", + "norm": "pointwise_relative_linf", + "scale": { + "kind": "original_symmetric_pair_scale", + "relative_floor": 1e-30 + }, + "zero_policy": { + "kind": "original_relative_floor", + "value": 1e-30 + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-f67f643a44df6aa33157a3e5": { + "quantity": "stress_trace_potential_shift_V", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-device-stress-v1/observables/stress_trace_potential_shift_V", + "value_sha256": "5c50fedcb008e35d34c6b96d54e9f1fac71a39749267c7732e193163a248aa5a" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.001, + "units": "V" + }, + "unit": "V", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-d42545c5fa452db8947e7910": { + "quantity": "all_points_certified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-device-stress-v1/quality_gates/all_points_certified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-3e0bd05419f066da4e366e82": { + "quantity": "barrier_shift_charge_sign_consistent", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-device-stress-v1/quality_gates/barrier_shift_charge_sign_consistent", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-7a8de8e756818ea5bb0e0b07": { + "quantity": "calibration_factors_unity", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-device-stress-v1/quality_gates/calibration_factors_unity", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-a63569adb70bfd7ee29dbfd7": { + "quantity": "charge_law_consistent", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-device-stress-v1/quality_gates/charge_law_consistent", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-9dbb9b93157c4c2aaa59b11a": { + "quantity": "contact_thermodynamics_certified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-device-stress-v1/quality_gates/contact_thermodynamics_certified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-926f0e7b3a9ab41d2b517f82": { + "quantity": "dark_charge_off_bit_identical", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-device-stress-v1/quality_gates/dark_charge_off_bit_identical", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-fe47f5790cf85ab23570cd9b": { + "quantity": "dark_incremental_charge_zero_C_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-device-stress-v1/quality_gates/dark_incremental_charge_zero_C_m2", + "value_sha256": "52a2015066ca522195836a30e9e85365b9c87ff36151ef819e829d0c04f00ecc" + }, + "gate_value": { + "operator": "le", + "limit": 0.0, + "units": "C m-2" + }, + "unit": "C m-2", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-49e52b4318fd9984de954d12": { + "quantity": "dark_reference_certified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-device-stress-v1/quality_gates/dark_reference_certified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-5f82befe524049d3bcb361c1": { + "quantity": "dark_reference_hash_verified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-device-stress-v1/quality_gates/dark_reference_hash_verified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-c893d4626f958892285fe3ff": { + "quantity": "dark_trace_shift_zero_V", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-device-stress-v1/quality_gates/dark_trace_shift_zero_V", + "value_sha256": "5380accce824788548c01afe7f45e20ca075f5734c2690773e2dbfedad31dc8a" + }, + "gate_value": { + "operator": "le", + "limit": 0.0, + "units": "V" + }, + "unit": "V", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-865c8b28f7433aa1c23a02ac": { + "quantity": "grid_geometry_aligned", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-device-stress-v1/quality_gates/grid_geometry_aligned", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-4c774a77fb761fd6654f7776": { + "quantity": "interface_evidence_aligned", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-device-stress-v1/quality_gates/interface_evidence_aligned", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-a2f3826670b06075d543d7ff": { + "quantity": "microscopic_defect_contract_verified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-device-stress-v1/quality_gates/microscopic_defect_contract_verified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-f5fa947912b6e32df04a864d": { + "quantity": "max_charge_fraction_of_one_electron", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-device-stress-v1/quality_gates/max_charge_fraction_of_one_electron", + "value_sha256": "8215610fe56f18664ce2c2e81c7e48e6bbd71f7e58513c011554f1149d520c9f" + }, + "gate_value": { + "operator": "le", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-9a4b453eadf270b4891e43f2": { + "quantity": "max_continuity_bound_A_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-device-stress-v1/quality_gates/max_continuity_bound_A_m2", + "value_sha256": "76de35d7d014279169cb5824bf5a6fcddddab0c729d2c61073afad59c73774d2" + }, + "gate_value": { + "operator": "le", + "limit": 0.0001, + "units": "A m-2" + }, + "unit": "A m-2", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-2fd0e878a240caf7b1aa6a04": { + "quantity": "max_current_spread_A_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-device-stress-v1/quality_gates/max_current_spread_A_m2", + "value_sha256": "76de35d7d014279169cb5824bf5a6fcddddab0c729d2c61073afad59c73774d2" + }, + "gate_value": { + "operator": "le", + "limit": 0.0001, + "units": "A m-2" + }, + "unit": "A m-2", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-d3af577f9ce54a6dbb29d49b": { + "quantity": "max_interface_local_residual", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-device-stress-v1/quality_gates/max_interface_local_residual", + "value_sha256": "65704c467ce53fcb4b17f009a4b97242f7d1bdef4a3687b2a784d800842196c7" + }, + "gate_value": { + "operator": "le", + "limit": 1e-07, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-5b9604cf515f66ca2f52f9a0": { + "quantity": "max_normalized_cell_residual", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-device-stress-v1/quality_gates/max_normalized_cell_residual", + "value_sha256": "e6f528a203184dbba4c2053f8748541d7ac8137383d8b085396ec59fd529b14e" + }, + "gate_value": { + "operator": "le", + "limit": 4e-07, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-a1b14dea8aaa9eaf9281d2d0": { + "quantity": "max_normalized_gauss_residual", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-device-stress-v1/quality_gates/max_normalized_gauss_residual", + "value_sha256": "d05931d5e401d506375c19c8b7c15d33b614369a54c1d98ca2f90ea1b9fa50a0" + }, + "gate_value": { + "operator": "le", + "limit": 1e-10, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-c590e318f07e795637d82fc1": { + "quantity": "max_poisson_residual", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-device-stress-v1/quality_gates/max_poisson_residual", + "value_sha256": "4170b0e30bcaa5acefa62c46b3ac441b4da0a5cdcf850b965fe3426fd5b7f69f" + }, + "gate_value": { + "operator": "le", + "limit": 1e-08, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-0590eb4a48a27f551f757233": { + "quantity": "max_scaled_local_jacobian_condition", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-device-stress-v1/quality_gates/max_scaled_local_jacobian_condition", + "value_sha256": "b0a3c6dc7e04d534229c96ad089fdac5f5480fa81a96baec24f765c5887469e5" + }, + "gate_value": { + "operator": "le", + "limit": "1.0e8", + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-27fcabe19e66e6d0f0e4b8df": { + "quantity": "occupancy_bounded", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-device-stress-v1/quality_gates/occupancy_bounded", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-a7a26df87b0fe58e36b2d621": { + "quantity": "parameter_values_applied", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-device-stress-v1/quality_gates/parameter_values_applied", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-b434fde68279c817b3fee46f": { + "quantity": "rebaseline_acknowledged", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-device-stress-v1/quality_gates/rebaseline_acknowledged", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-3bde4ad400943d129fd8a34a": { + "quantity": "research_charge_closure_active", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-device-stress-v1/quality_gates/research_charge_closure_active", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-ffba42f17d69f21be5ba26ee": { + "quantity": "stress_point_count", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-device-stress-v1/quality_gates/stress_point_count", + "value_sha256": "0d788a6c1c9febe0e069d14017b1892407577c0681f7a65048b8aeb9787006b9" + }, + "gate_value": { + "operator": "eq", + "limit": 9.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-42c6a8c7a592d8f5d1068e3f": { + "quantity": "two_sided_topology_active", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-device-stress-v1/quality_gates/two_sided_topology_active", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-5866e5b61eb2ab5e672750c8": { + "quantity": "variant_stack_identities_unique", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-device-stress-v1/quality_gates/variant_stack_identities_unique", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-29f3a0adc5aa249aa06ce81d": { + "quantity": "charged_current_density_A_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-equilibrium-referenced-v1/observables/charged_current_density_A_m2", + "value_sha256": "6ea9e22aa20a56d549468bc2aec0e90e9f9dbb5695c57f46a9d003f3166d2d65" + }, + "gate_value": { + "comparison": "relative_linf", + "limit": 0.005, + "units": "A m-2" + }, + "unit": "A m-2", + "norm": "relative_linf", + "scale": { + "kind": "original_symmetric_pair_scale", + "relative_floor": 1e-30 + }, + "zero_policy": { + "kind": "original_relative_floor", + "value": 1e-30 + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-4abf37736c8aad966ec389b5": { + "quantity": "interface_occupancy", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-equilibrium-referenced-v1/observables/interface_occupancy", + "value_sha256": "6b538016309cb2b05cc3a93124e3a01d2b67e6ae51dce5d5f5fc00c4678d706e" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.0001, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-0231e8ed993044cf0c4e9efa": { + "quantity": "interface_sheet_charge_C_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-equilibrium-referenced-v1/observables/interface_sheet_charge_C_m2", + "value_sha256": "d7e92781c2b6635fbc442302ef5bebc7e90dbe35e07a92887149dc12677911f8" + }, + "gate_value": { + "comparison": "pointwise_relative_linf", + "limit": 0.005, + "units": "C m-2" + }, + "unit": "C m-2", + "norm": "pointwise_relative_linf", + "scale": { + "kind": "original_symmetric_pair_scale", + "relative_floor": 1e-30 + }, + "zero_policy": { + "kind": "original_relative_floor", + "value": 1e-30 + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-473ddb37bd88f40b8845c4eb": { + "quantity": "interface_trace_potential_shift_V", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-equilibrium-referenced-v1/observables/interface_trace_potential_shift_V", + "value_sha256": "5c50fedcb008e35d34c6b96d54e9f1fac71a39749267c7732e193163a248aa5a" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.001, + "units": "V" + }, + "unit": "V", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-3c735b654a31dc58fb152131": { + "quantity": "all_points_certified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-equilibrium-referenced-v1/quality_gates/all_points_certified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-8b995390ab94c0478d3ce7de": { + "quantity": "calibration_factors_unity", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-equilibrium-referenced-v1/quality_gates/calibration_factors_unity", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-dac5290dc65766aa8bf6f78a": { + "quantity": "charge_law_consistent", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-equilibrium-referenced-v1/quality_gates/charge_law_consistent", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-bc8e0b46daffccc8f0073586": { + "quantity": "contact_thermodynamics_certified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-equilibrium-referenced-v1/quality_gates/contact_thermodynamics_certified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-7b69e655dd51234f83cec2fd": { + "quantity": "dark_charge_off_bit_identical", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-equilibrium-referenced-v1/quality_gates/dark_charge_off_bit_identical", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-e9ed5b140c1bddf5a75e1752": { + "quantity": "dark_incremental_charge_zero_C_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-equilibrium-referenced-v1/quality_gates/dark_incremental_charge_zero_C_m2", + "value_sha256": "52a2015066ca522195836a30e9e85365b9c87ff36151ef819e829d0c04f00ecc" + }, + "gate_value": { + "operator": "le", + "limit": 0.0, + "units": "C m-2" + }, + "unit": "C m-2", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-50cfb9c2537fe74f0730258b": { + "quantity": "dark_reference_certified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-equilibrium-referenced-v1/quality_gates/dark_reference_certified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-f4abdbe7a2df0a237f810880": { + "quantity": "dark_reference_hash_verified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-equilibrium-referenced-v1/quality_gates/dark_reference_hash_verified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-202769c65d027c59826c6b0f": { + "quantity": "dark_trace_shift_zero_V", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-equilibrium-referenced-v1/quality_gates/dark_trace_shift_zero_V", + "value_sha256": "5380accce824788548c01afe7f45e20ca075f5734c2690773e2dbfedad31dc8a" + }, + "gate_value": { + "operator": "le", + "limit": 0.0, + "units": "V" + }, + "unit": "V", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-fc69698c2eff09892d26075b": { + "quantity": "interface_evidence_aligned", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-equilibrium-referenced-v1/quality_gates/interface_evidence_aligned", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-5cfe4581bd39e98f9917a297": { + "quantity": "microscopic_defect_contract_verified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-equilibrium-referenced-v1/quality_gates/microscopic_defect_contract_verified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-ee0693544f753bc9216185ee": { + "quantity": "max_charge_fraction_of_one_electron", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-equilibrium-referenced-v1/quality_gates/max_charge_fraction_of_one_electron", + "value_sha256": "8215610fe56f18664ce2c2e81c7e48e6bbd71f7e58513c011554f1149d520c9f" + }, + "gate_value": { + "operator": "le", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-811ffa90449274afda59343b": { + "quantity": "max_continuity_bound_A_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-equilibrium-referenced-v1/quality_gates/max_continuity_bound_A_m2", + "value_sha256": "76de35d7d014279169cb5824bf5a6fcddddab0c729d2c61073afad59c73774d2" + }, + "gate_value": { + "operator": "le", + "limit": 0.0001, + "units": "A m-2" + }, + "unit": "A m-2", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-ddc4f95378e141cd77602d97": { + "quantity": "max_current_spread_A_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-equilibrium-referenced-v1/quality_gates/max_current_spread_A_m2", + "value_sha256": "76de35d7d014279169cb5824bf5a6fcddddab0c729d2c61073afad59c73774d2" + }, + "gate_value": { + "operator": "le", + "limit": 0.0001, + "units": "A m-2" + }, + "unit": "A m-2", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-c436b10876db2f6b581cde2b": { + "quantity": "max_interface_local_residual", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-equilibrium-referenced-v1/quality_gates/max_interface_local_residual", + "value_sha256": "65704c467ce53fcb4b17f009a4b97242f7d1bdef4a3687b2a784d800842196c7" + }, + "gate_value": { + "operator": "le", + "limit": 1e-07, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-7aa41a218e0022eb6c2cd232": { + "quantity": "max_normalized_cell_residual", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-equilibrium-referenced-v1/quality_gates/max_normalized_cell_residual", + "value_sha256": "e6f528a203184dbba4c2053f8748541d7ac8137383d8b085396ec59fd529b14e" + }, + "gate_value": { + "operator": "le", + "limit": 4e-07, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-bea553c783d4d2188a3bd38e": { + "quantity": "max_normalized_gauss_residual", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-equilibrium-referenced-v1/quality_gates/max_normalized_gauss_residual", + "value_sha256": "d05931d5e401d506375c19c8b7c15d33b614369a54c1d98ca2f90ea1b9fa50a0" + }, + "gate_value": { + "operator": "le", + "limit": 1e-10, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-2ae40ffe80d743d4f199cb7f": { + "quantity": "max_poisson_residual", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-equilibrium-referenced-v1/quality_gates/max_poisson_residual", + "value_sha256": "4170b0e30bcaa5acefa62c46b3ac441b4da0a5cdcf850b965fe3426fd5b7f69f" + }, + "gate_value": { + "operator": "le", + "limit": 1e-08, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-a89ef2d344faf51ec26d3101": { + "quantity": "max_scaled_local_jacobian_condition", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-equilibrium-referenced-v1/quality_gates/max_scaled_local_jacobian_condition", + "value_sha256": "b0a3c6dc7e04d534229c96ad089fdac5f5480fa81a96baec24f765c5887469e5" + }, + "gate_value": { + "operator": "le", + "limit": "1.0e8", + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-f8c4c087f75ea876c95cd7b3": { + "quantity": "occupancy_bounded", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-equilibrium-referenced-v1/quality_gates/occupancy_bounded", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-3841048ff23c4704dcc08f90": { + "quantity": "rebaseline_acknowledged", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-equilibrium-referenced-v1/quality_gates/rebaseline_acknowledged", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-23cbb026c91f691f392a38fb": { + "quantity": "research_charge_closure_active", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-equilibrium-referenced-v1/quality_gates/research_charge_closure_active", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-029fb5011a1f0ad278706f31": { + "quantity": "two_sided_topology_active", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-equilibrium-referenced-v1/quality_gates/two_sided_topology_active", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-79f549f5c6d860853a4bf841": { + "quantity": "ff", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-qf-dc-jv-v1/observables/ff", + "value_sha256": "21c88fa6fe8abb8703e3781940725ca336c1b2afe0a5d439622e2095feb2512a" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.005, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-f42b9394acb1f33fe50cda17": { + "quantity": "interface_occupancy", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-qf-dc-jv-v1/observables/interface_occupancy", + "value_sha256": "6b538016309cb2b05cc3a93124e3a01d2b67e6ae51dce5d5f5fc00c4678d706e" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.0001, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-be78d0bff677e97c9a5565aa": { + "quantity": "interface_sheet_charge_C_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-qf-dc-jv-v1/observables/interface_sheet_charge_C_m2", + "value_sha256": "d7e92781c2b6635fbc442302ef5bebc7e90dbe35e07a92887149dc12677911f8" + }, + "gate_value": { + "comparison": "pointwise_relative_linf", + "limit": 0.005, + "units": "C m-2" + }, + "unit": "C m-2", + "norm": "pointwise_relative_linf", + "scale": { + "kind": "original_symmetric_pair_scale", + "relative_floor": 1e-30 + }, + "zero_policy": { + "kind": "original_relative_floor", + "value": 1e-30 + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-e98a868fcfb8b5c959dc3ea9": { + "quantity": "interface_trace_potential_shift_V", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-qf-dc-jv-v1/observables/interface_trace_potential_shift_V", + "value_sha256": "5c50fedcb008e35d34c6b96d54e9f1fac71a39749267c7732e193163a248aa5a" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.001, + "units": "V" + }, + "unit": "V", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-c64b520188b8f38ae7cf0275": { + "quantity": "jsc_A_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-qf-dc-jv-v1/observables/jsc_A_m2", + "value_sha256": "6ea9e22aa20a56d549468bc2aec0e90e9f9dbb5695c57f46a9d003f3166d2d65" + }, + "gate_value": { + "comparison": "relative_linf", + "limit": 0.005, + "units": "A m-2" + }, + "unit": "A m-2", + "norm": "relative_linf", + "scale": { + "kind": "original_symmetric_pair_scale", + "relative_floor": 1e-30 + }, + "zero_policy": { + "kind": "original_relative_floor", + "value": 1e-30 + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-1c077b41fc38472b069df4e0": { + "quantity": "jv_normalized", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-qf-dc-jv-v1/observables/jv_normalized", + "value_sha256": "21c88fa6fe8abb8703e3781940725ca336c1b2afe0a5d439622e2095feb2512a" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.005, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-62ab9533599cc4ba79eec8fe": { + "quantity": "voc_V", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-qf-dc-jv-v1/observables/voc_V", + "value_sha256": "5c50fedcb008e35d34c6b96d54e9f1fac71a39749267c7732e193163a248aa5a" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.001, + "units": "V" + }, + "unit": "V", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-120f2c1a7ed66fac6408b6cd": { + "quantity": "all_points_certified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-qf-dc-jv-v1/quality_gates/all_points_certified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-d679efb0947f07c030881164": { + "quantity": "calibration_factors_unity", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-qf-dc-jv-v1/quality_gates/calibration_factors_unity", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-1cdf3e993e3740c7ed8cf9a9": { + "quantity": "charge_law_consistent", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-qf-dc-jv-v1/quality_gates/charge_law_consistent", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-d2138f84007ca9044babf2f2": { + "quantity": "contact_thermodynamics_certified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-qf-dc-jv-v1/quality_gates/contact_thermodynamics_certified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-394926808d7692550b066132": { + "quantity": "continuation_bridge_count", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-qf-dc-jv-v1/quality_gates/continuation_bridge_count", + "value_sha256": "1ca0e8123bd41ddbaae019ff116c59f9dbbb97177701f6f18dd051f48a95d0bc" + }, + "gate_value": { + "operator": "le", + "limit": 8.0, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-2a5ed4e57cf5a4ee66e1f85d": { + "quantity": "dark_charge_off_bit_identical", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-qf-dc-jv-v1/quality_gates/dark_charge_off_bit_identical", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-3591373baa59ff845eac0b2b": { + "quantity": "dark_incremental_charge_zero_C_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-qf-dc-jv-v1/quality_gates/dark_incremental_charge_zero_C_m2", + "value_sha256": "52a2015066ca522195836a30e9e85365b9c87ff36151ef819e829d0c04f00ecc" + }, + "gate_value": { + "operator": "le", + "limit": 0.0, + "units": "C m-2" + }, + "unit": "C m-2", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-70ecd1e12e2db5a9098d5537": { + "quantity": "dark_reference_certified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-qf-dc-jv-v1/quality_gates/dark_reference_certified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-4828dee365cb5c186434c26d": { + "quantity": "dark_reference_hash_verified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-qf-dc-jv-v1/quality_gates/dark_reference_hash_verified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-c370c6c1bcb45dc1b5ae7da6": { + "quantity": "dark_trace_shift_zero_V", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-qf-dc-jv-v1/quality_gates/dark_trace_shift_zero_V", + "value_sha256": "5380accce824788548c01afe7f45e20ca075f5734c2690773e2dbfedad31dc8a" + }, + "gate_value": { + "operator": "le", + "limit": 0.0, + "units": "V" + }, + "unit": "V", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-888629bc65d0ebcb563d0aa0": { + "quantity": "grid_identity_verified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-qf-dc-jv-v1/quality_gates/grid_identity_verified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-7f81e8ea40e54d69c88b550e": { + "quantity": "interface_evidence_aligned", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-qf-dc-jv-v1/quality_gates/interface_evidence_aligned", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-5058023d5e7b64f69b4b439e": { + "quantity": "max_charge_fraction_of_one_electron", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-qf-dc-jv-v1/quality_gates/max_charge_fraction_of_one_electron", + "value_sha256": "8215610fe56f18664ce2c2e81c7e48e6bbd71f7e58513c011554f1149d520c9f" + }, + "gate_value": { + "operator": "le", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-dfee95fa15d54506742fc929": { + "quantity": "max_contact_fermi_level_span_eV", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-qf-dc-jv-v1/quality_gates/max_contact_fermi_level_span_eV", + "value_sha256": "b6e2473256d201f9d5e724fad55247e9d59430115ffe9c9de5d79f47568f9f32" + }, + "gate_value": { + "operator": "le", + "limit": 0.005, + "units": "eV" + }, + "unit": "eV", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-e2590d4410a79552d08843e5": { + "quantity": "max_continuity_bound_A_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-qf-dc-jv-v1/quality_gates/max_continuity_bound_A_m2", + "value_sha256": "76de35d7d014279169cb5824bf5a6fcddddab0c729d2c61073afad59c73774d2" + }, + "gate_value": { + "operator": "le", + "limit": 0.0001, + "units": "A m-2" + }, + "unit": "A m-2", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-d93aa96114767d953f94aad3": { + "quantity": "max_current_spread_A_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-qf-dc-jv-v1/quality_gates/max_current_spread_A_m2", + "value_sha256": "76de35d7d014279169cb5824bf5a6fcddddab0c729d2c61073afad59c73774d2" + }, + "gate_value": { + "operator": "le", + "limit": 0.0001, + "units": "A m-2" + }, + "unit": "A m-2", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-c2575b249229838e6f1b17d6": { + "quantity": "max_interface_local_residual", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-qf-dc-jv-v1/quality_gates/max_interface_local_residual", + "value_sha256": "65704c467ce53fcb4b17f009a4b97242f7d1bdef4a3687b2a784d800842196c7" + }, + "gate_value": { + "operator": "le", + "limit": 1e-07, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-2c963cba7ee09240ee0a5232": { + "quantity": "max_normalized_cell_residual", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-qf-dc-jv-v1/quality_gates/max_normalized_cell_residual", + "value_sha256": "e6f528a203184dbba4c2053f8748541d7ac8137383d8b085396ec59fd529b14e" + }, + "gate_value": { + "operator": "le", + "limit": 4e-07, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-e29d4aacd84baf190a9e12e8": { + "quantity": "max_normalized_gauss_residual", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-qf-dc-jv-v1/quality_gates/max_normalized_gauss_residual", + "value_sha256": "d05931d5e401d506375c19c8b7c15d33b614369a54c1d98ca2f90ea1b9fa50a0" + }, + "gate_value": { + "operator": "le", + "limit": 1e-10, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-b27d14bbe8111bb9aed241b9": { + "quantity": "max_poisson_residual", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-qf-dc-jv-v1/quality_gates/max_poisson_residual", + "value_sha256": "4170b0e30bcaa5acefa62c46b3ac441b4da0a5cdcf850b965fe3426fd5b7f69f" + }, + "gate_value": { + "operator": "le", + "limit": 1e-08, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-533fbeb98ebafb0dfbeb5d3b": { + "quantity": "max_scaled_local_jacobian_condition", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-qf-dc-jv-v1/quality_gates/max_scaled_local_jacobian_condition", + "value_sha256": "b0a3c6dc7e04d534229c96ad089fdac5f5480fa81a96baec24f765c5887469e5" + }, + "gate_value": { + "operator": "le", + "limit": "1.0e8", + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-9f66bff8a93b5b1fa3439cd2": { + "quantity": "microscopic_defect_contract_verified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-qf-dc-jv-v1/quality_gates/microscopic_defect_contract_verified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-5badf2f7eb6e1043fc3951d5": { + "quantity": "occupancy_bounded", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-qf-dc-jv-v1/quality_gates/occupancy_bounded", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-9c921563ced57d5684118f79": { + "quantity": "protocol_identity_verified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-qf-dc-jv-v1/quality_gates/protocol_identity_verified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-c98f7a4db624726ac35e4d47": { + "quantity": "rebaseline_acknowledged", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-qf-dc-jv-v1/quality_gates/rebaseline_acknowledged", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-c24b966773168c4fd74f3d88": { + "quantity": "reported_point_count", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-qf-dc-jv-v1/quality_gates/reported_point_count", + "value_sha256": "a8e05faf41c6717b03e3c57b8fe33eecf9076c0cd0af003e9b579d3b3b2cb58b" + }, + "gate_value": { + "operator": "eq", + "limit": 5.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-8ca7a6ffb1c2cc140df3696d": { + "quantity": "research_charge_closure_active", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-qf-dc-jv-v1/quality_gates/research_charge_closure_active", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-789516d6d506a33046279508": { + "quantity": "stack_identity_verified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-qf-dc-jv-v1/quality_gates/stack_identity_verified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-e7a0c25d5a74f220df3e76a0": { + "quantity": "two_sided_topology_active", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-qf-dc-jv-v1/quality_gates/two_sided_topology_active", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-c3c27d58c0ad96f4ac51fc39": { + "quantity": "voc_bracketed", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-qf-dc-jv-v1/quality_gates/voc_bracketed", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-204a0d20ebd6d1136a82028d": { + "quantity": "voltage_sampling_aligned", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-qf-dc-jv-v1/quality_gates/voltage_sampling_aligned", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-9d22e74f3615d54be4f1cb60": { + "quantity": "interface_flux_A_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-recombination-charge-off/observables/interface_flux_A_m2", + "value_sha256": "d5b0d1177aeceae941d7ec2a501b30bfae1d962a26e1c3649e9dad5a00dfc7da" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 1.0, + "units": "A m-2" + }, + "unit": "A m-2", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-3cb4698459592bf930f425ba": { + "quantity": "jv_normalized", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-recombination-charge-off/observables/jv_normalized", + "value_sha256": "21c88fa6fe8abb8703e3781940725ca336c1b2afe0a5d439622e2095feb2512a" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.005, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-46f582458d6fa70c43774f57": { + "quantity": "voc_V", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-recombination-charge-off/observables/voc_V", + "value_sha256": "5c50fedcb008e35d34c6b96d54e9f1fac71a39749267c7732e193163a248aa5a" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.001, + "units": "V" + }, + "unit": "V", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-70b4fa3f95842554c026dfe2": { + "quantity": "all_points_certified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-recombination-charge-off/quality_gates/all_points_certified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-1174d1ca661565553d0ec988": { + "quantity": "calibration_factors_unity", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-recombination-charge-off/quality_gates/calibration_factors_unity", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-49690e1a26d0bbe9091228da": { + "quantity": "contact_thermodynamics_certified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-recombination-charge-off/quality_gates/contact_thermodynamics_certified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-969e5cfb9a184858ef8fa382": { + "quantity": "dark_reference_certified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-recombination-charge-off/quality_gates/dark_reference_certified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-5d4aa048bb679d97aa8e8fb2": { + "quantity": "max_continuity_bound_A_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-recombination-charge-off/quality_gates/max_continuity_bound_A_m2", + "value_sha256": "76de35d7d014279169cb5824bf5a6fcddddab0c729d2c61073afad59c73774d2" + }, + "gate_value": { + "operator": "le", + "limit": 0.0001, + "units": "A m-2" + }, + "unit": "A m-2", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-5bbb867708ccbc84bb582962": { + "quantity": "max_current_spread_A_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-recombination-charge-off/quality_gates/max_current_spread_A_m2", + "value_sha256": "76de35d7d014279169cb5824bf5a6fcddddab0c729d2c61073afad59c73774d2" + }, + "gate_value": { + "operator": "le", + "limit": 0.0001, + "units": "A m-2" + }, + "unit": "A m-2", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-119f213f4cf2ed748bc3f437": { + "quantity": "max_interface_carrier_balance_A_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-recombination-charge-off/quality_gates/max_interface_carrier_balance_A_m2", + "value_sha256": "f48b3ad5bcd8d136080c6ee89c7badef8cc80c467ca1ca51a77a98007331ecb3" + }, + "gate_value": { + "operator": "le", + "limit": 1e-08, + "units": "A m-2" + }, + "unit": "A m-2", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-3cb616d7907f718bd91f19b4": { + "quantity": "max_interface_local_residual", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-recombination-charge-off/quality_gates/max_interface_local_residual", + "value_sha256": "65704c467ce53fcb4b17f009a4b97242f7d1bdef4a3687b2a784d800842196c7" + }, + "gate_value": { + "operator": "le", + "limit": 1e-07, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-a9d2a611b26d305c57d68fd2": { + "quantity": "max_interface_state_residual_A_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-recombination-charge-off/quality_gates/max_interface_state_residual_A_m2", + "value_sha256": "76de35d7d014279169cb5824bf5a6fcddddab0c729d2c61073afad59c73774d2" + }, + "gate_value": { + "operator": "le", + "limit": 0.0001, + "units": "A m-2" + }, + "unit": "A m-2", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-1c36a294bf08155dceac8afe": { + "quantity": "max_normalized_cell_residual", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-recombination-charge-off/quality_gates/max_normalized_cell_residual", + "value_sha256": "e6f528a203184dbba4c2053f8748541d7ac8137383d8b085396ec59fd529b14e" + }, + "gate_value": { + "operator": "le", + "limit": 4e-07, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-13ed64b41a8e61480012cebc": { + "quantity": "max_poisson_residual", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-recombination-charge-off/quality_gates/max_poisson_residual", + "value_sha256": "4170b0e30bcaa5acefa62c46b3ac441b4da0a5cdcf850b965fe3426fd5b7f69f" + }, + "gate_value": { + "operator": "le", + "limit": 1e-08, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-72bc517758964e81bd79f8b8": { + "quantity": "occupancy_bounded", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-recombination-charge-off/quality_gates/occupancy_bounded", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-518285ce50ecda5ad00e8ae8": { + "quantity": "rebaseline_acknowledged", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-recombination-charge-off/quality_gates/rebaseline_acknowledged", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-a589724931a1792601cb3adb": { + "quantity": "trap_electrostatic_charge_enabled", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-recombination-charge-off/quality_gates/trap_electrostatic_charge_enabled", + "value_sha256": "40b4f8ecff0918e39cad36ae3f1a43cedd2bc93909d0a743430f93ab1c1bbb96" + }, + "gate_value": { + "operator": "eq", + "limit": 0.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-519f54a9e5479f63e6df88ce": { + "quantity": "two_sided_topology_active", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-recombination-charge-off/quality_gates/two_sided_topology_active", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-c76e415499e0b9ef1aa5801c": { + "quantity": "voc_bracketed", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-recombination-charge-off/quality_gates/voc_bracketed", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-50d86dbbcfec8eaf0cdd8f96": { + "quantity": "full_rank_best_fit_log10", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-srh-identifiability-synthetic-v1/observables/full_rank_best_fit_log10", + "value_sha256": "0630894a0465674211cb1689c8a324b34b020c9f57a4520cc15a56a76bc0b373" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.0001, + "units": "log10" + }, + "unit": "log10", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-9df1e5a91d203bda283d8fe9": { + "quantity": "full_rank_condition_number", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-srh-identifiability-synthetic-v1/observables/full_rank_condition_number", + "value_sha256": "cff6dbdd5cdd1a154839f4c119e4b833069cad78cf825d42585149b6e709d726" + }, + "gate_value": { + "comparison": "relative_linf", + "limit": 0.02, + "units": "1" + }, + "unit": "1", + "norm": "relative_linf", + "scale": { + "kind": "original_symmetric_pair_scale", + "relative_floor": 1e-30 + }, + "zero_policy": { + "kind": "original_relative_floor", + "value": 1e-30 + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-3c22bc1a74324444f4d273e5": { + "quantity": "full_rank_normalized_singular_values", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-srh-identifiability-synthetic-v1/observables/full_rank_normalized_singular_values", + "value_sha256": "cff6dbdd5cdd1a154839f4c119e4b833069cad78cf825d42585149b6e709d726" + }, + "gate_value": { + "comparison": "relative_linf", + "limit": 0.02, + "units": "1" + }, + "unit": "1", + "norm": "relative_linf", + "scale": { + "kind": "original_symmetric_pair_scale", + "relative_floor": 1e-30 + }, + "zero_policy": { + "kind": "original_relative_floor", + "value": 1e-30 + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-fb1a2264b308f4a3ae84b7a3": { + "quantity": "rank_deficient_absolute_nullspace_vector", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-srh-identifiability-synthetic-v1/observables/rank_deficient_absolute_nullspace_vector", + "value_sha256": "6b538016309cb2b05cc3a93124e3a01d2b67e6ae51dce5d5f5fc00c4678d706e" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.0001, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-4a42e1e5e4315000dd4637ad": { + "quantity": "rank_deficient_normalized_nonzero_singular_values", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-srh-identifiability-synthetic-v1/observables/rank_deficient_normalized_nonzero_singular_values", + "value_sha256": "8bacdf78a0869e953e67e6d1e32d0e1a0c76ddfd10bd7c7fa59e285c3f8d1eb6" + }, + "gate_value": { + "comparison": "relative_linf", + "limit": 0.025, + "units": "1" + }, + "unit": "1", + "norm": "relative_linf", + "scale": { + "kind": "original_symmetric_pair_scale", + "relative_floor": 1e-30 + }, + "zero_policy": { + "kind": "original_relative_floor", + "value": 1e-30 + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-4527a7a66012264164e2749e": { + "quantity": "all_multistarts_converged", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-srh-identifiability-synthetic-v1/quality_gates/all_multistarts_converged", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-f58e4d7f3b14173936d0b1c3": { + "quantity": "all_profiles_completed", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-srh-identifiability-synthetic-v1/quality_gates/all_profiles_completed", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-e1ffee2b487b2a4160a4485e": { + "quantity": "config_anchor_verified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-srh-identifiability-synthetic-v1/quality_gates/config_anchor_verified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-4bf2492119d4f45eb1fc99a9": { + "quantity": "forward_failure_count", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-srh-identifiability-synthetic-v1/quality_gates/forward_failure_count", + "value_sha256": "40b4f8ecff0918e39cad36ae3f1a43cedd2bc93909d0a743430f93ab1c1bbb96" + }, + "gate_value": { + "operator": "eq", + "limit": 0.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-c24af512596392315dce6a58": { + "quantity": "full_rank_analysis_certified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-srh-identifiability-synthetic-v1/quality_gates/full_rank_analysis_certified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-1f0cd1e70f70788803cb56b5": { + "quantity": "full_rank_condition_number", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-srh-identifiability-synthetic-v1/quality_gates/full_rank_condition_number", + "value_sha256": "6aa4ed8ff2b12451eaaffda9b37bca9135997348332c9a5b66ee27f9a6428681" + }, + "gate_value": { + "operator": "le", + "limit": 10.0, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-9aabc93dcbeb3c1659d674d5": { + "quantity": "full_rank_expected_rank", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-srh-identifiability-synthetic-v1/quality_gates/full_rank_expected_rank", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-8eb562314a189d557601279e": { + "quantity": "full_rank_parameters_identifiable", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-srh-identifiability-synthetic-v1/quality_gates/full_rank_parameters_identifiable", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-dbe92b55a1f949046023cf40": { + "quantity": "full_rank_truth_error_log10", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-srh-identifiability-synthetic-v1/quality_gates/full_rank_truth_error_log10", + "value_sha256": "0485c3eb6ad4d3e978dadb7740cd3b180a99891250b6a42483e63da69bda394f" + }, + "gate_value": { + "operator": "le", + "limit": 0.0001, + "units": "log10" + }, + "unit": "log10", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-b644666d45680e1b235ec97e": { + "quantity": "full_rank_truth_recovered", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-srh-identifiability-synthetic-v1/quality_gates/full_rank_truth_recovered", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-4cdfd4ebbc827f74cc1de12f": { + "quantity": "rank_deficient_analysis_certified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-srh-identifiability-synthetic-v1/quality_gates/rank_deficient_analysis_certified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-c626d613bee1ffcf223074eb": { + "quantity": "rank_deficient_capture_calibration_null_sum", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-srh-identifiability-synthetic-v1/quality_gates/rank_deficient_capture_calibration_null_sum", + "value_sha256": "4170b0e30bcaa5acefa62c46b3ac441b4da0a5cdcf850b965fe3426fd5b7f69f" + }, + "gate_value": { + "operator": "le", + "limit": 1e-08, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-8e040805cf480f60fd7a6048": { + "quantity": "rank_deficient_expected_rank", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-srh-identifiability-synthetic-v1/quality_gates/rank_deficient_expected_rank", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-4ba2e701837dc876ec95f527": { + "quantity": "rank_deficient_parameter_claim_absent", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-srh-identifiability-synthetic-v1/quality_gates/rank_deficient_parameter_claim_absent", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-05952dc96c0b172ae33102df": { + "quantity": "rank_deficient_smallest_to_largest_singular_ratio", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-srh-identifiability-synthetic-v1/quality_gates/rank_deficient_smallest_to_largest_singular_ratio", + "value_sha256": "65704c467ce53fcb4b17f009a4b97242f7d1bdef4a3687b2a784d800842196c7" + }, + "gate_value": { + "operator": "le", + "limit": 1e-07, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-4515053eb8faf0850594e0aa": { + "quantity": "rank_deficient_trap_null_component", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-srh-identifiability-synthetic-v1/quality_gates/rank_deficient_trap_null_component", + "value_sha256": "4170b0e30bcaa5acefa62c46b3ac441b4da0a5cdcf850b965fe3426fd5b7f69f" + }, + "gate_value": { + "operator": "le", + "limit": 1e-08, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-c9046cfef0b6ef0099c8231c": { + "quantity": "dc_current_density_A_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/ionmonger-ion-aware-dc-resolved-v2/observables/dc_current_density_A_m2", + "value_sha256": "6ea9e22aa20a56d549468bc2aec0e90e9f9dbb5695c57f46a9d003f3166d2d65" + }, + "gate_value": { + "comparison": "relative_linf", + "limit": 0.005, + "units": "A m-2" + }, + "unit": "A m-2", + "norm": "relative_linf", + "scale": { + "kind": "original_symmetric_pair_scale", + "relative_floor": 1e-30 + }, + "zero_policy": { + "kind": "original_relative_floor", + "value": 1e-30 + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-cd658221dd475286814242de": { + "quantity": "maximum_site_occupancy_fraction", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/ionmonger-ion-aware-dc-resolved-v2/observables/maximum_site_occupancy_fraction", + "value_sha256": "7fa5f4ef19b6ecf5d4de05362d6c2cd21f11e11b3133b639aee43b0b16bd5bd7" + }, + "gate_value": { + "comparison": "relative_linf", + "limit": 0.01, + "units": "1" + }, + "unit": "1", + "norm": "relative_linf", + "scale": { + "kind": "original_symmetric_pair_scale", + "relative_floor": 1e-30 + }, + "zero_policy": { + "kind": "original_relative_floor", + "value": 1e-30 + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-b3dd590d8bdb71f286192bb8": { + "quantity": "positive_ion_centroid_fraction", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/ionmonger-ion-aware-dc-resolved-v2/observables/positive_ion_centroid_fraction", + "value_sha256": "c05d7161eec396365608fe9eacec79c23f823fa1b77d2a8e4cbb43aa77d40e2b" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.002, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-2d336eaaa312694a2d8759dd": { + "quantity": "candidate_diagnostics_pass", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/ionmonger-ion-aware-dc-resolved-v2/quality_gates/candidate_diagnostics_pass", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-af30afa04244972ad32a43ea": { + "quantity": "contact_not_inconsistent", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/ionmonger-ion-aware-dc-resolved-v2/quality_gates/contact_not_inconsistent", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-96f1fc5abe102bf298e0b105": { + "quantity": "diagnostics_complete", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/ionmonger-ion-aware-dc-resolved-v2/quality_gates/diagnostics_complete", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-72b395a53da75a8310dad7d3": { + "quantity": "max_carrier_area_rate_A_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/ionmonger-ion-aware-dc-resolved-v2/quality_gates/max_carrier_area_rate_A_m2", + "value_sha256": "3682925da5c1be78fde7e1291cdd9fa3e96e3225656a556458c0bb18db89ea44" + }, + "gate_value": { + "operator": "le", + "limit": 0.1, + "units": "A m-2" + }, + "unit": "A m-2", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-a242c5e18f83800d9e48bb2f": { + "quantity": "max_dc_face_current_spread_A_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/ionmonger-ion-aware-dc-resolved-v2/quality_gates/max_dc_face_current_spread_A_m2", + "value_sha256": "3682925da5c1be78fde7e1291cdd9fa3e96e3225656a556458c0bb18db89ea44" + }, + "gate_value": { + "operator": "le", + "limit": 0.1, + "units": "A m-2" + }, + "unit": "A m-2", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-659745ebc6748f50969a06ca": { + "quantity": "max_ion_area_rate_A_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/ionmonger-ion-aware-dc-resolved-v2/quality_gates/max_ion_area_rate_A_m2", + "value_sha256": "41d2a9851dde20afdaff497627d5d3047ad3e199a5fb3541f04ef0b4ff3dcf50" + }, + "gate_value": { + "operator": "le", + "limit": 1e-06, + "units": "A m-2" + }, + "unit": "A m-2", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-4c405aff8b0f7791dec1a1b5": { + "quantity": "max_ion_inventory_relative_drift", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/ionmonger-ion-aware-dc-resolved-v2/quality_gates/max_ion_inventory_relative_drift", + "value_sha256": "d05931d5e401d506375c19c8b7c15d33b614369a54c1d98ca2f90ea1b9fa50a0" + }, + "gate_value": { + "operator": "le", + "limit": 1e-10, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-43b47d2034dbad2800e8cb8e": { + "quantity": "max_ionic_face_current_A_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/ionmonger-ion-aware-dc-resolved-v2/quality_gates/max_ionic_face_current_A_m2", + "value_sha256": "41d2a9851dde20afdaff497627d5d3047ad3e199a5fb3541f04ef0b4ff3dcf50" + }, + "gate_value": { + "operator": "le", + "limit": 1e-06, + "units": "A m-2" + }, + "unit": "A m-2", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-5c00430203eee6411ede3589": { + "quantity": "nonfinite_rhs_evaluations", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/ionmonger-ion-aware-dc-resolved-v2/quality_gates/nonfinite_rhs_evaluations", + "value_sha256": "40b4f8ecff0918e39cad36ae3f1a43cedd2bc93909d0a743430f93ab1c1bbb96" + }, + "gate_value": { + "operator": "eq", + "limit": 0.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-8c17c70c97eaefddae2af41c": { + "quantity": "nonfinite_trial_evaluations", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/ionmonger-ion-aware-dc-resolved-v2/quality_gates/nonfinite_trial_evaluations", + "value_sha256": "40b4f8ecff0918e39cad36ae3f1a43cedd2bc93909d0a743430f93ab1c1bbb96" + }, + "gate_value": { + "operator": "eq", + "limit": 0.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-d83fe5108835980b2f80ac2a": { + "quantity": "required_consecutive_passes_met", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/ionmonger-ion-aware-dc-resolved-v2/quality_gates/required_consecutive_passes_met", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-ad3ac41edebfa1afc2bff814": { + "quantity": "site_occupancy_admissible", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/ionmonger-ion-aware-dc-resolved-v2/quality_gates/site_occupancy_admissible", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-6b3103f263bd658d6ed07183": { + "quantity": "terminal_densities_positive", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/ionmonger-ion-aware-dc-resolved-v2/quality_gates/terminal_densities_positive", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-6e9e9ec09d2b1232262226f3": { + "quantity": "dc_current_density_A_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/ionmonger-ion-aware-dc-v1/observables/dc_current_density_A_m2", + "value_sha256": "6ea9e22aa20a56d549468bc2aec0e90e9f9dbb5695c57f46a9d003f3166d2d65" + }, + "gate_value": { + "comparison": "relative_linf", + "limit": 0.005, + "units": "A m-2" + }, + "unit": "A m-2", + "norm": "relative_linf", + "scale": { + "kind": "original_symmetric_pair_scale", + "relative_floor": 1e-30 + }, + "zero_policy": { + "kind": "original_relative_floor", + "value": 1e-30 + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-be0316d30f7b2759d0622474": { + "quantity": "maximum_site_occupancy_fraction", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/ionmonger-ion-aware-dc-v1/observables/maximum_site_occupancy_fraction", + "value_sha256": "7fa5f4ef19b6ecf5d4de05362d6c2cd21f11e11b3133b639aee43b0b16bd5bd7" + }, + "gate_value": { + "comparison": "relative_linf", + "limit": 0.01, + "units": "1" + }, + "unit": "1", + "norm": "relative_linf", + "scale": { + "kind": "original_symmetric_pair_scale", + "relative_floor": 1e-30 + }, + "zero_policy": { + "kind": "original_relative_floor", + "value": 1e-30 + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-0e7b821b1b3d526e05008e94": { + "quantity": "positive_ion_centroid_fraction", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/ionmonger-ion-aware-dc-v1/observables/positive_ion_centroid_fraction", + "value_sha256": "c05d7161eec396365608fe9eacec79c23f823fa1b77d2a8e4cbb43aa77d40e2b" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.002, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-7967e9f06ff15470418b94a0": { + "quantity": "candidate_diagnostics_pass", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/ionmonger-ion-aware-dc-v1/quality_gates/candidate_diagnostics_pass", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-08d921141c923aa3da2b6620": { + "quantity": "contact_not_inconsistent", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/ionmonger-ion-aware-dc-v1/quality_gates/contact_not_inconsistent", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-9cc7cab6e561dbb2aa2604e8": { + "quantity": "diagnostics_complete", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/ionmonger-ion-aware-dc-v1/quality_gates/diagnostics_complete", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-cc56c3d8280aa3a35c185458": { + "quantity": "max_carrier_area_rate_A_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/ionmonger-ion-aware-dc-v1/quality_gates/max_carrier_area_rate_A_m2", + "value_sha256": "3682925da5c1be78fde7e1291cdd9fa3e96e3225656a556458c0bb18db89ea44" + }, + "gate_value": { + "operator": "le", + "limit": 0.1, + "units": "A m-2" + }, + "unit": "A m-2", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-e29dd4e9175d0ccf7241d222": { + "quantity": "max_dc_face_current_spread_A_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/ionmonger-ion-aware-dc-v1/quality_gates/max_dc_face_current_spread_A_m2", + "value_sha256": "3682925da5c1be78fde7e1291cdd9fa3e96e3225656a556458c0bb18db89ea44" + }, + "gate_value": { + "operator": "le", + "limit": 0.1, + "units": "A m-2" + }, + "unit": "A m-2", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-86985464430fecb772ac3c62": { + "quantity": "max_ion_area_rate_A_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/ionmonger-ion-aware-dc-v1/quality_gates/max_ion_area_rate_A_m2", + "value_sha256": "41d2a9851dde20afdaff497627d5d3047ad3e199a5fb3541f04ef0b4ff3dcf50" + }, + "gate_value": { + "operator": "le", + "limit": 1e-06, + "units": "A m-2" + }, + "unit": "A m-2", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-937326cf6e94d0913a22d245": { + "quantity": "max_ion_inventory_relative_drift", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/ionmonger-ion-aware-dc-v1/quality_gates/max_ion_inventory_relative_drift", + "value_sha256": "d05931d5e401d506375c19c8b7c15d33b614369a54c1d98ca2f90ea1b9fa50a0" + }, + "gate_value": { + "operator": "le", + "limit": 1e-10, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-d2247e1c9adea74793f6ff0e": { + "quantity": "max_ionic_face_current_A_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/ionmonger-ion-aware-dc-v1/quality_gates/max_ionic_face_current_A_m2", + "value_sha256": "41d2a9851dde20afdaff497627d5d3047ad3e199a5fb3541f04ef0b4ff3dcf50" + }, + "gate_value": { + "operator": "le", + "limit": 1e-06, + "units": "A m-2" + }, + "unit": "A m-2", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-75ab84dcd9501ddf73c3872a": { + "quantity": "nonfinite_rhs_evaluations", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/ionmonger-ion-aware-dc-v1/quality_gates/nonfinite_rhs_evaluations", + "value_sha256": "40b4f8ecff0918e39cad36ae3f1a43cedd2bc93909d0a743430f93ab1c1bbb96" + }, + "gate_value": { + "operator": "eq", + "limit": 0.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-280cfbf456cac0a649271835": { + "quantity": "nonfinite_trial_evaluations", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/ionmonger-ion-aware-dc-v1/quality_gates/nonfinite_trial_evaluations", + "value_sha256": "40b4f8ecff0918e39cad36ae3f1a43cedd2bc93909d0a743430f93ab1c1bbb96" + }, + "gate_value": { + "operator": "eq", + "limit": 0.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-12bf50e66fba4d6718da39b0": { + "quantity": "required_consecutive_passes_met", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/ionmonger-ion-aware-dc-v1/quality_gates/required_consecutive_passes_met", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-2db1d2a8a58df1563d720f5d": { + "quantity": "site_occupancy_admissible", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/ionmonger-ion-aware-dc-v1/quality_gates/site_occupancy_admissible", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-8d62b7f9717742c37a8f0214": { + "quantity": "terminal_densities_positive", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/ionmonger-ion-aware-dc-v1/quality_gates/terminal_densities_positive", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-fded901ca315dfe0f9644ff5": { + "quantity": "impedance_magnitude_ohm_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/ionmonger-ion-aware-impedance-resolved-v1/observables/impedance_magnitude_ohm_m2", + "value_sha256": "0dcf2a7bdc32a83fae9c76eb3a6d15c0e7de7a5cb6a5f94f5ad6d36243580734" + }, + "gate_value": { + "comparison": "pointwise_relative_linf", + "limit": 0.02, + "units": "ohm m2" + }, + "unit": "ohm m2", + "norm": "pointwise_relative_linf", + "scale": { + "kind": "original_symmetric_pair_scale", + "relative_floor": 1e-30 + }, + "zero_policy": { + "kind": "original_relative_floor", + "value": 1e-30 + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-f6789c1a13c2d9958e6b2faa": { + "quantity": "impedance_phase_deg", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/ionmonger-ion-aware-impedance-resolved-v1/observables/impedance_phase_deg", + "value_sha256": "5c4a1a6b52e9a1a112cc4ee17e1779301181e4603b8f19fd35efd0be5c00c390" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 1.0, + "units": "deg" + }, + "unit": "deg", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-9933912f9abd8c9f86311f5a": { + "quantity": "all_frequency_points_certified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/ionmonger-ion-aware-impedance-resolved-v1/quality_gates/all_frequency_points_certified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-039b75af973bb561331615b0": { + "quantity": "contact_not_inconsistent", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/ionmonger-ion-aware-impedance-resolved-v1/quality_gates/contact_not_inconsistent", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-9e3e9a0939d488ba0c90675d": { + "quantity": "dc_numerically_certified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/ionmonger-ion-aware-impedance-resolved-v1/quality_gates/dc_numerically_certified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-28974f4f9810463ff7d78711": { + "quantity": "frequency_window_certified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/ionmonger-ion-aware-impedance-resolved-v1/quality_gates/frequency_window_certified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-60f9ddda397c517c658f2884": { + "quantity": "impedance_numerically_certified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/ionmonger-ion-aware-impedance-resolved-v1/quality_gates/impedance_numerically_certified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-5c34ede9a6d5bb4b4da51c15": { + "quantity": "max_backward_error", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/ionmonger-ion-aware-impedance-resolved-v1/quality_gates/max_backward_error", + "value_sha256": "d05931d5e401d506375c19c8b7c15d33b614369a54c1d98ca2f90ea1b9fa50a0" + }, + "gate_value": { + "operator": "le", + "limit": 1e-10, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-b6b6bb6a4abd3fe5a2327c52": { + "quantity": "max_current_decomposition_relative_error", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/ionmonger-ion-aware-impedance-resolved-v1/quality_gates/max_current_decomposition_relative_error", + "value_sha256": "65704c467ce53fcb4b17f009a4b97242f7d1bdef4a3687b2a784d800842196c7" + }, + "gate_value": { + "operator": "le", + "limit": 1e-07, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-f0a2d3e4f0fe228a6a772eff": { + "quantity": "max_dc_ion_inventory_relative_drift", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/ionmonger-ion-aware-impedance-resolved-v1/quality_gates/max_dc_ion_inventory_relative_drift", + "value_sha256": "d05931d5e401d506375c19c8b7c15d33b614369a54c1d98ca2f90ea1b9fa50a0" + }, + "gate_value": { + "operator": "le", + "limit": 1e-10, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-45474de0f61faa3b940254b8": { + "quantity": "max_frequency_sampling_gap_decades", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/ionmonger-ion-aware-impedance-resolved-v1/quality_gates/max_frequency_sampling_gap_decades", + "value_sha256": "63ab584e8bcffb4c3a08dacc1af272a5b95c4613c91fc6afb84d87972cf116a2" + }, + "gate_value": { + "operator": "le", + "limit": 0.5, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-a7c64452ac5cb835a067cfe9": { + "quantity": "max_ion_inventory_response_relative", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/ionmonger-ion-aware-impedance-resolved-v1/quality_gates/max_ion_inventory_response_relative", + "value_sha256": "4170b0e30bcaa5acefa62c46b3ac441b4da0a5cdcf850b965fe3426fd5b7f69f" + }, + "gate_value": { + "operator": "le", + "limit": 1e-08, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-d856bee5c4f6d807d5b79716": { + "quantity": "max_mass_matrix_relative_error", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/ionmonger-ion-aware-impedance-resolved-v1/quality_gates/max_mass_matrix_relative_error", + "value_sha256": "4170b0e30bcaa5acefa62c46b3ac441b4da0a5cdcf850b965fe3426fd5b7f69f" + }, + "gate_value": { + "operator": "le", + "limit": 1e-08, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-83ead8e0cecb69d443b82c2d": { + "quantity": "max_relative_face_spread", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/ionmonger-ion-aware-impedance-resolved-v1/quality_gates/max_relative_face_spread", + "value_sha256": "cb2d7f04f91feea565df9d0d421d74d9b6ec78ad5cdb0311546f188ec91a582a" + }, + "gate_value": { + "operator": "le", + "limit": 0.0005, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-9cab4511182045b67742f4d8": { + "quantity": "site_occupancy_admissible", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/ionmonger-ion-aware-impedance-resolved-v1/quality_gates/site_occupancy_admissible", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-33caecfac95d46ba15f38e19": { + "quantity": "voc_reverse_V", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/ionmonger-mobile-ion-transient/observables/voc_reverse_V", + "value_sha256": "5c50fedcb008e35d34c6b96d54e9f1fac71a39749267c7732e193163a248aa5a" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.001, + "units": "V" + }, + "unit": "V", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-65789ce62d11359973628e0e": { + "quantity": "hysteresis_index", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/ionmonger-mobile-ion-transient/observables/hysteresis_index", + "value_sha256": "21c88fa6fe8abb8703e3781940725ca336c1b2afe0a5d439622e2095feb2512a" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.005, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-3f16b1f5248372dd04411577": { + "quantity": "terminal_current_normalized_trace", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/ionmonger-mobile-ion-transient/observables/terminal_current_normalized_trace", + "value_sha256": "21c88fa6fe8abb8703e3781940725ca336c1b2afe0a5d439622e2095feb2512a" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.005, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-4e0f8ee59417f7f8e3dea876": { + "quantity": "positive_ion_inventory_relative_trace", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/ionmonger-mobile-ion-transient/observables/positive_ion_inventory_relative_trace", + "value_sha256": "b18b8572a6a7d2a47135da3442aa89c32d3ed01048fd8f29d954630c19f7a56e" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 1e-10, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-87de8f2f978ccfab41c17980": { + "quantity": "bulk_srh_denominator_positive", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/ionmonger-mobile-ion-transient/quality_gates/bulk_srh_denominator_positive", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-a546c394bb48732665f56bc6": { + "quantity": "diagnostics_complete", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/ionmonger-mobile-ion-transient/quality_gates/diagnostics_complete", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-f6e4a9f3c485cbf246c95d4e": { + "quantity": "interface_srh_denominator_positive", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/ionmonger-mobile-ion-transient/quality_gates/interface_srh_denominator_positive", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-29a4bf5a3d6467aa1b72ccdd": { + "quantity": "jv_certified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/ionmonger-mobile-ion-transient/quality_gates/jv_certified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-647147e2bde527568cd0992c": { + "quantity": "voc_bracketed", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/ionmonger-mobile-ion-transient/quality_gates/voc_bracketed", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-9a8be150ec99c9c6cb9a80f2": { + "quantity": "max_positive_ion_inventory_relative_drift", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/ionmonger-mobile-ion-transient/quality_gates/max_positive_ion_inventory_relative_drift", + "value_sha256": "d05931d5e401d506375c19c8b7c15d33b614369a54c1d98ca2f90ea1b9fa50a0" + }, + "gate_value": { + "operator": "le", + "limit": 1e-10, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-86cbc6acc8d53002c9ab7163": { + "quantity": "nonfinite_rhs_evaluations", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/ionmonger-mobile-ion-transient/quality_gates/nonfinite_rhs_evaluations", + "value_sha256": "40b4f8ecff0918e39cad36ae3f1a43cedd2bc93909d0a743430f93ab1c1bbb96" + }, + "gate_value": { + "operator": "eq", + "limit": 0.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-ebab2c73853b2d0c1b0dc699": { + "quantity": "nonfinite_trial_evaluations", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/ionmonger-mobile-ion-transient/quality_gates/nonfinite_trial_evaluations", + "value_sha256": "40b4f8ecff0918e39cad36ae3f1a43cedd2bc93909d0a743430f93ab1c1bbb96" + }, + "gate_value": { + "operator": "eq", + "limit": 0.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-f633642f2a2174b3777721e3": { + "quantity": "terminal_densities_positive", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/ionmonger-mobile-ion-transient/quality_gates/terminal_densities_positive", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-076888baf15575cc6521a4ab": { + "quantity": "zero_floor_diagnostics_pass", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/ionmonger-mobile-ion-transient/quality_gates/zero_floor_diagnostics_pass", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-a56db8f180d23a6853a5c1b9": { + "quantity": "m1_integrated_defect_charge_C_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/multivalent-explicit-defect-qf-dc-v1/observables/m1_integrated_defect_charge_C_m2", + "value_sha256": "d21778475133bf658c6686a1e02b1e3e42a2245125c65425fb1fa031c81f852c" + }, + "gate_value": { + "comparison": "relative_linf", + "limit": 0.001, + "units": "C m-2" + }, + "unit": "C m-2", + "norm": "relative_linf", + "scale": { + "kind": "original_symmetric_pair_scale", + "relative_floor": 1e-30 + }, + "zero_policy": { + "kind": "original_relative_floor", + "value": 1e-30 + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-4da2dea1fae5cfd4dc772be8": { + "quantity": "m1_neutral_state_probability_profile", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/multivalent-explicit-defect-qf-dc-v1/observables/m1_neutral_state_probability_profile", + "value_sha256": "6304e9b7889128b4178bd5dd8397b419e1d33129ff2321ee8f9781cfce01fb31" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.0005, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-270620772eb8934c5072fa9c": { + "quantity": "m1_normalized_charge_profile", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/multivalent-explicit-defect-qf-dc-v1/observables/m1_normalized_charge_profile", + "value_sha256": "6304e9b7889128b4178bd5dd8397b419e1d33129ff2321ee8f9781cfce01fb31" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.0005, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-e4da6121a3df1eb86d1f3991": { + "quantity": "m2_integrated_defect_charge_C_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/multivalent-explicit-defect-qf-dc-v1/observables/m2_integrated_defect_charge_C_m2", + "value_sha256": "d21778475133bf658c6686a1e02b1e3e42a2245125c65425fb1fa031c81f852c" + }, + "gate_value": { + "comparison": "relative_linf", + "limit": 0.001, + "units": "C m-2" + }, + "unit": "C m-2", + "norm": "relative_linf", + "scale": { + "kind": "original_symmetric_pair_scale", + "relative_floor": 1e-30 + }, + "zero_policy": { + "kind": "original_relative_floor", + "value": 1e-30 + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-3f045fbfe293694154a191a6": { + "quantity": "m2_neutral_state_probability_profile", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/multivalent-explicit-defect-qf-dc-v1/observables/m2_neutral_state_probability_profile", + "value_sha256": "6304e9b7889128b4178bd5dd8397b419e1d33129ff2321ee8f9781cfce01fb31" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.0005, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-a271173132b47826d851b729": { + "quantity": "m2_normalized_charge_profile", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/multivalent-explicit-defect-qf-dc-v1/observables/m2_normalized_charge_profile", + "value_sha256": "6304e9b7889128b4178bd5dd8397b419e1d33129ff2321ee8f9781cfce01fb31" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.0005, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-0c777cb7b63c12f887964bf2": { + "quantity": "m3_integrated_defect_charge_C_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/multivalent-explicit-defect-qf-dc-v1/observables/m3_integrated_defect_charge_C_m2", + "value_sha256": "2071f26873890afdb48cd7c7c1be49e3bdb724ecec6b9429d039f9dc8138e9da" + }, + "gate_value": { + "comparison": "relative_linf", + "limit": 0.005, + "units": "C m-2" + }, + "unit": "C m-2", + "norm": "relative_linf", + "scale": { + "kind": "original_symmetric_pair_scale", + "relative_floor": 1e-30 + }, + "zero_policy": { + "kind": "original_relative_floor", + "value": 1e-30 + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-8dd7aef8593fa2f49c7bf8df": { + "quantity": "m3_neutral_state_probability_profile", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/multivalent-explicit-defect-qf-dc-v1/observables/m3_neutral_state_probability_profile", + "value_sha256": "6304e9b7889128b4178bd5dd8397b419e1d33129ff2321ee8f9781cfce01fb31" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.0005, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-9efc8805966fe2d3729929e8": { + "quantity": "m3_normalized_charge_profile", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/multivalent-explicit-defect-qf-dc-v1/observables/m3_normalized_charge_profile", + "value_sha256": "6304e9b7889128b4178bd5dd8397b419e1d33129ff2321ee8f9781cfce01fb31" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.0005, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-5fe1c3ebf1bd47ec3f1534fa": { + "quantity": "pn_dark_electron_log10_profile", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/multivalent-explicit-defect-qf-dc-v1/observables/pn_dark_electron_log10_profile", + "value_sha256": "cb5e0f36e26dbdac2e0980cb9b77f2c40417239f9e4bbfe1484b54ff768f258f" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.005, + "units": "log10(m-3)" + }, + "unit": "log10(m-3)", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-21f7315ce88eec3562428246": { + "quantity": "pn_dark_hole_log10_profile", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/multivalent-explicit-defect-qf-dc-v1/observables/pn_dark_hole_log10_profile", + "value_sha256": "cb5e0f36e26dbdac2e0980cb9b77f2c40417239f9e4bbfe1484b54ff768f258f" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.005, + "units": "log10(m-3)" + }, + "unit": "log10(m-3)", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-3255272cb635b9ce65de8143": { + "quantity": "pn_dark_potential_V", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/multivalent-explicit-defect-qf-dc-v1/observables/pn_dark_potential_V", + "value_sha256": "ec5dc88fa6879fb176ca70df75d2a44a6b753559e12be822c8a40456fb217092" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.0005, + "units": "V" + }, + "unit": "V", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-e6744b3e0c8b51f6cd272bb8": { + "quantity": "pn_ff", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/multivalent-explicit-defect-qf-dc-v1/observables/pn_ff", + "value_sha256": "53ceb623c76035b2d3a89d5f154db2c93efd95547b58c05d6c82f1f9bcd45ce0" + }, + "gate_value": { + "comparison": "relative_linf", + "limit": 0.005, + "units": "1" + }, + "unit": "1", + "norm": "relative_linf", + "scale": { + "kind": "original_symmetric_pair_scale", + "relative_floor": 1e-30 + }, + "zero_policy": { + "kind": "original_relative_floor", + "value": 1e-30 + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-d3df3e10c20f2d5809603463": { + "quantity": "pn_jsc_A_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/multivalent-explicit-defect-qf-dc-v1/observables/pn_jsc_A_m2", + "value_sha256": "32ab8b7207f5095d8fa04ce6cfbdd73ae895e6d320cd839283d076a2bb30cce3" + }, + "gate_value": { + "comparison": "relative_linf", + "limit": 0.002, + "units": "A m-2" + }, + "unit": "A m-2", + "norm": "relative_linf", + "scale": { + "kind": "original_symmetric_pair_scale", + "relative_floor": 1e-30 + }, + "zero_policy": { + "kind": "original_relative_floor", + "value": 1e-30 + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-c16c016ae99fe74d38c3811c": { + "quantity": "pn_jv_current_A_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/multivalent-explicit-defect-qf-dc-v1/observables/pn_jv_current_A_m2", + "value_sha256": "6ea9e22aa20a56d549468bc2aec0e90e9f9dbb5695c57f46a9d003f3166d2d65" + }, + "gate_value": { + "comparison": "relative_linf", + "limit": 0.005, + "units": "A m-2" + }, + "unit": "A m-2", + "norm": "relative_linf", + "scale": { + "kind": "original_symmetric_pair_scale", + "relative_floor": 1e-30 + }, + "zero_policy": { + "kind": "original_relative_floor", + "value": 1e-30 + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-7202fcfc91aeb398e9328bef": { + "quantity": "pn_voc_V", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/multivalent-explicit-defect-qf-dc-v1/observables/pn_voc_V", + "value_sha256": "5c50fedcb008e35d34c6b96d54e9f1fac71a39749267c7732e193163a248aa5a" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.001, + "units": "V" + }, + "unit": "V", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-8f76c9024ab99cdd64b7c7f0": { + "quantity": "all_states_certified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/multivalent-explicit-defect-qf-dc-v1/quality_gates/all_states_certified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-8967287f0c737495b3f4b107": { + "quantity": "charge_signs_verified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/multivalent-explicit-defect-qf-dc-v1/quality_gates/charge_signs_verified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-d60ed0f88d6806984e1d8b48": { + "quantity": "contact_thermodynamics_certified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/multivalent-explicit-defect-qf-dc-v1/quality_gates/contact_thermodynamics_certified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-d5ddafc6dc12e087706f6282": { + "quantity": "default_multivalent_path_rejected", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/multivalent-explicit-defect-qf-dc-v1/quality_gates/default_multivalent_path_rejected", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-21b705431b7a38666720aca9": { + "quantity": "max_continuity_bound_A_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/multivalent-explicit-defect-qf-dc-v1/quality_gates/max_continuity_bound_A_m2", + "value_sha256": "eb4674202b2c3b3ba6d2ac0ad186fd18278e847425259470433b2548a853fd15" + }, + "gate_value": { + "operator": "le", + "limit": 0.0002, + "units": "A m-2" + }, + "unit": "A m-2", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-b5203a745209f02e726db68c": { + "quantity": "max_current_spread_A_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/multivalent-explicit-defect-qf-dc-v1/quality_gates/max_current_spread_A_m2", + "value_sha256": "eb4674202b2c3b3ba6d2ac0ad186fd18278e847425259470433b2548a853fd15" + }, + "gate_value": { + "operator": "le", + "limit": 0.0002, + "units": "A m-2" + }, + "unit": "A m-2", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-6a96fc1b2b3f4dc12adb9a28": { + "quantity": "max_dark_current_A_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/multivalent-explicit-defect-qf-dc-v1/quality_gates/max_dark_current_A_m2", + "value_sha256": "f48b3ad5bcd8d136080c6ee89c7badef8cc80c467ca1ca51a77a98007331ecb3" + }, + "gate_value": { + "operator": "le", + "limit": 1e-08, + "units": "A m-2" + }, + "unit": "A m-2", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-43cd886f1c9f123e2fb586f8": { + "quantity": "max_dark_qf_span_V", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/multivalent-explicit-defect-qf-dc-v1/quality_gates/max_dark_qf_span_V", + "value_sha256": "25fb0eb5e46c4b98b027609e1d553d6f5f34307283bf4cca0db217e74e81e6e9" + }, + "gate_value": { + "operator": "le", + "limit": 1e-10, + "units": "V" + }, + "unit": "V", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-cd0a380f9b277c09857250a1": { + "quantity": "max_mass_action_relative_error", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/multivalent-explicit-defect-qf-dc-v1/quality_gates/max_mass_action_relative_error", + "value_sha256": "d05931d5e401d506375c19c8b7c15d33b614369a54c1d98ca2f90ea1b9fa50a0" + }, + "gate_value": { + "operator": "le", + "limit": 1e-10, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-afa93c5da48c56a8cd18732d": { + "quantity": "max_master_equation_residual_s1", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/multivalent-explicit-defect-qf-dc-v1/quality_gates/max_master_equation_residual_s1", + "value_sha256": "7920175deb04ce5427d4d7e53d39bb5208c1dd1b5ed490511c0bdfacbe4bca4c" + }, + "gate_value": { + "operator": "le", + "limit": 1e-06, + "units": "s-1" + }, + "unit": "s-1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-0cd7f6020030d05378c5d7cb": { + "quantity": "max_normalized_cell_residual", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/multivalent-explicit-defect-qf-dc-v1/quality_gates/max_normalized_cell_residual", + "value_sha256": "65704c467ce53fcb4b17f009a4b97242f7d1bdef4a3687b2a784d800842196c7" + }, + "gate_value": { + "operator": "le", + "limit": 1e-07, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-4f89d8aabd6e37dfffa332ca": { + "quantity": "max_owned_probability_sum_error", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/multivalent-explicit-defect-qf-dc-v1/quality_gates/max_owned_probability_sum_error", + "value_sha256": "39e4e66bbb6e4817b64fa08c183b4288e6f1103f9264d26c0e87f05a52d9b1d7" + }, + "gate_value": { + "operator": "le", + "limit": 1e-12, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-2379503b8d7068cb00c5364e": { + "quantity": "max_poisson_residual", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/multivalent-explicit-defect-qf-dc-v1/quality_gates/max_poisson_residual", + "value_sha256": "4170b0e30bcaa5acefa62c46b3ac441b4da0a5cdcf850b965fe3426fd5b7f69f" + }, + "gate_value": { + "operator": "le", + "limit": 1e-08, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-d7dc24afb5a887623da4c7b0": { + "quantity": "min_transition_rate_s1", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/multivalent-explicit-defect-qf-dc-v1/quality_gates/min_transition_rate_s1", + "value_sha256": "6b44733a7610801f439bb66289010b9222da1ab95e44cf03d42084a8979a7a45" + }, + "gate_value": { + "operator": "ge", + "limit": 0.0, + "units": "s-1" + }, + "unit": "s-1", + "norm": "ge", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-c4b44f57668145773ffee32e": { + "quantity": "multivalent_model_hashes_verified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/multivalent-explicit-defect-qf-dc-v1/quality_gates/multivalent_model_hashes_verified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-f073ff2f30f4d64d13e12353": { + "quantity": "multivalent_topology_verified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/multivalent-explicit-defect-qf-dc-v1/quality_gates/multivalent_topology_verified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-c4269a32bdbb741a70fa60c8": { + "quantity": "probability_bounded_without_clipping", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/multivalent-explicit-defect-qf-dc-v1/quality_gates/probability_bounded_without_clipping", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-5c085f7a71f43a01679665c5": { + "quantity": "scenario_count", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/multivalent-explicit-defect-qf-dc-v1/quality_gates/scenario_count", + "value_sha256": "a3f3f3d70d757b8c2431256d103927dd281998ff60471b38c1707a4604aab672" + }, + "gate_value": { + "operator": "eq", + "limit": 3.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-6804ef2594e9430cf5d85341": { + "quantity": "single_transition_d2_potential_error_V", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/multivalent-explicit-defect-qf-dc-v1/quality_gates/single_transition_d2_potential_error_V", + "value_sha256": "e1db643a553732379c168e4c5652a591ab0fa5a568fb81e297237ec4e9df87d9" + }, + "gate_value": { + "operator": "le", + "limit": 1e-09, + "units": "V" + }, + "unit": "V", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-c2dabce945708704dc33c10b": { + "quantity": "single_transition_d2_state_relative_error", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/multivalent-explicit-defect-qf-dc-v1/quality_gates/single_transition_d2_state_relative_error", + "value_sha256": "4170b0e30bcaa5acefa62c46b3ac441b4da0a5cdcf850b965fe3426fd5b7f69f" + }, + "gate_value": { + "operator": "le", + "limit": 1e-08, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-a2e46125ee0d801dc258d5e6": { + "quantity": "terminal_densities_positive", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/multivalent-explicit-defect-qf-dc-v1/quality_gates/terminal_densities_positive", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-4dcde47c26532a615a647e2e": { + "quantity": "voc_bracketed", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/multivalent-explicit-defect-qf-dc-v1/quality_gates/voc_bracketed", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-5baa310b44592a107368cf19": { + "quantity": "voltage_points_completed", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/multivalent-explicit-defect-qf-dc-v1/quality_gates/voltage_points_completed", + "value_sha256": "8a26d514afdd900fe46a0bb0b48259033de4136d8e75b4383c267498a70d794e" + }, + "gate_value": { + "operator": "eq", + "limit": 7.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-942134ae9b7a9dc55b02ef49": { + "quantity": "terminal_carrier_inventory_response", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/no-ion-dae-transient-v1/observables/terminal_carrier_inventory_response", + "value_sha256": "e7be2e8cbfdfa6c807b046fbc0a451753ba0734b76584c69ac6d398622859a54" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.04, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-8e2cf45c0af855572c3e2540": { + "quantity": "terminal_log_density_error", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/no-ion-dae-transient-v1/observables/terminal_log_density_error", + "value_sha256": "fb09a1be3cbca60cafe47791fc234776fe40fcf7f3f8e3f476b6cd5784253236" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.00011, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-8df79f1032e31cc0e8bd095a": { + "quantity": "terminal_potential_error_V", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/no-ion-dae-transient-v1/observables/terminal_potential_error_V", + "value_sha256": "0b239137066c1a56bb4e31fbc5759c773c0eef0b61c0739ff3784c941d8ffa6b" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 5e-13, + "units": "V" + }, + "unit": "V", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-06d2e1e75b91bd9e29f816a5": { + "quantity": "structured_dense_terminal_log_density_difference", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/no-ion-dae-transient-v1/observables/structured_dense_terminal_log_density_difference", + "value_sha256": "b18b8572a6a7d2a47135da3442aa89c32d3ed01048fd8f29d954630c19f7a56e" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 1e-10, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-3b904bc64139d933dd765761": { + "quantity": "structured_dense_terminal_potential_difference_V", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/no-ion-dae-transient-v1/observables/structured_dense_terminal_potential_difference_V", + "value_sha256": "b0bb8279d27a7857370ea1dfcb337aa31866d2473b2e6810a75e27ad529fb158" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 1e-12, + "units": "V" + }, + "unit": "V", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-60d34e16ca70d57375efbfba": { + "quantity": "bulk_srh_denominator_positive", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/no-ion-dae-transient-v1/quality_gates/bulk_srh_denominator_positive", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-0c35d80a21b2877abec56f3d": { + "quantity": "consistent_initial_condition_certified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/no-ion-dae-transient-v1/quality_gates/consistent_initial_condition_certified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-303416e4737ba4dc41036b98": { + "quantity": "dense_reference_success", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/no-ion-dae-transient-v1/quality_gates/dense_reference_success", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-24d4af0347e39accb952267d": { + "quantity": "first_slice_topology_verified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/no-ion-dae-transient-v1/quality_gates/first_slice_topology_verified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-a295363c736fb80d46c24a78": { + "quantity": "max_electron_balance_defect_A_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/no-ion-dae-transient-v1/quality_gates/max_electron_balance_defect_A_m2", + "value_sha256": "d877fd06d5c5e98c735ca473e1bed81d3235f1b1e11bc0a7074f7f76f0430d5f" + }, + "gate_value": { + "operator": "le", + "limit": 2e-08, + "units": "A m-2" + }, + "unit": "A m-2", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-c838566a0853cdbe7c08e224": { + "quantity": "max_hole_balance_defect_A_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/no-ion-dae-transient-v1/quality_gates/max_hole_balance_defect_A_m2", + "value_sha256": "d877fd06d5c5e98c735ca473e1bed81d3235f1b1e11bc0a7074f7f76f0430d5f" + }, + "gate_value": { + "operator": "le", + "limit": 2e-08, + "units": "A m-2" + }, + "unit": "A m-2", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-2bcc70308a4d04c2c30419fb": { + "quantity": "max_normalized_algebraic_residual", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/no-ion-dae-transient-v1/quality_gates/max_normalized_algebraic_residual", + "value_sha256": "3a640d73a3706289c46bc018d861d6926fc002e81495e015b5ec80d9a776e197" + }, + "gate_value": { + "operator": "le", + "limit": 1e-09, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-8b13d675c32a9df8aa3c0e3a": { + "quantity": "max_normalized_differential_residual", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/no-ion-dae-transient-v1/quality_gates/max_normalized_differential_residual", + "value_sha256": "3a640d73a3706289c46bc018d861d6926fc002e81495e015b5ec80d9a776e197" + }, + "gate_value": { + "operator": "le", + "limit": 1e-09, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-5c9bade799f9d4e3a9bffa6b": { + "quantity": "max_structured_dense_log_density_difference", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/no-ion-dae-transient-v1/quality_gates/max_structured_dense_log_density_difference", + "value_sha256": "d05931d5e401d506375c19c8b7c15d33b614369a54c1d98ca2f90ea1b9fa50a0" + }, + "gate_value": { + "operator": "le", + "limit": 1e-10, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-6ecd8b82178663e572911e33": { + "quantity": "max_structured_dense_potential_difference_V", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/no-ion-dae-transient-v1/quality_gates/max_structured_dense_potential_difference_V", + "value_sha256": "0f99613322054185c71a84566af0812022165af8a633d15c6d25661862c751c3" + }, + "gate_value": { + "operator": "le", + "limit": 1e-12, + "units": "V" + }, + "unit": "V", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-1f6a32fcf403d55ab8d229b0": { + "quantity": "max_terminal_log_density_error", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/no-ion-dae-transient-v1/quality_gates/max_terminal_log_density_error", + "value_sha256": "cb2d7f04f91feea565df9d0d421d74d9b6ec78ad5cdb0311546f188ec91a582a" + }, + "gate_value": { + "operator": "le", + "limit": 0.0005, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-32611d3ee8b95143f8418e2b": { + "quantity": "max_terminal_potential_error_V", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/no-ion-dae-transient-v1/quality_gates/max_terminal_potential_error_V", + "value_sha256": "25fb0eb5e46c4b98b027609e1d553d6f5f34307283bf4cca0db217e74e81e6e9" + }, + "gate_value": { + "operator": "le", + "limit": 1e-10, + "units": "V" + }, + "unit": "V", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-e45b304c8c4bb158988546e8": { + "quantity": "mol_numerical_health_passed", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/no-ion-dae-transient-v1/quality_gates/mol_numerical_health_passed", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-fae697a438498b3c40768625": { + "quantity": "mol_reference_success", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/no-ion-dae-transient-v1/quality_gates/mol_reference_success", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-0fea0cc5c742231201d98340": { + "quantity": "structured_analytic_success", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/no-ion-dae-transient-v1/quality_gates/structured_analytic_success", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-24852b8b821acae2fc72b392": { + "quantity": "structured_csr_nonzeros_per_node", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/no-ion-dae-transient-v1/quality_gates/structured_csr_nonzeros_per_node", + "value_sha256": "8e1373342e91c2d66945cbead80ff3484338b14d86cabcd9286029efb9a887b6" + }, + "gate_value": { + "operator": "le", + "limit": 20.0, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-82e9d631991844d2122e1690": { + "quantity": "structured_jacobian_condition_finite", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/no-ion-dae-transient-v1/quality_gates/structured_jacobian_condition_finite", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-f82d1dda6cd69c6de4620163": { + "quantity": "structured_rhs_work_fraction", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/no-ion-dae-transient-v1/quality_gates/structured_rhs_work_fraction", + "value_sha256": "a3a1d01b85980d58d2e680fc64ca0a5086cddcdddba4522aee8cf50dc897b6e8" + }, + "gate_value": { + "operator": "le", + "limit": 0.1, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-69bb183694ffb905829a19d5": { + "quantity": "terminal_densities_positive", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/no-ion-dae-transient-v1/quality_gates/terminal_densities_positive", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-8e8123b7826062a8ee55f217": { + "quantity": "voc_V", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/scaps-mirror-frozen-ion-ss/observables/voc_V", + "value_sha256": "5c50fedcb008e35d34c6b96d54e9f1fac71a39749267c7732e193163a248aa5a" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.001, + "units": "V" + }, + "unit": "V", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-0aba7323277c3fb3f1dd1732": { + "quantity": "jsc_A_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/scaps-mirror-frozen-ion-ss/observables/jsc_A_m2", + "value_sha256": "32ab8b7207f5095d8fa04ce6cfbdd73ae895e6d320cd839283d076a2bb30cce3" + }, + "gate_value": { + "comparison": "relative_linf", + "limit": 0.002, + "units": "A m-2" + }, + "unit": "A m-2", + "norm": "relative_linf", + "scale": { + "kind": "original_symmetric_pair_scale", + "relative_floor": 1e-30 + }, + "zero_policy": { + "kind": "original_relative_floor", + "value": 1e-30 + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-82d373ef2a180fc1d8512269": { + "quantity": "ff", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/scaps-mirror-frozen-ion-ss/observables/ff", + "value_sha256": "53ceb623c76035b2d3a89d5f154db2c93efd95547b58c05d6c82f1f9bcd45ce0" + }, + "gate_value": { + "comparison": "relative_linf", + "limit": 0.005, + "units": "1" + }, + "unit": "1", + "norm": "relative_linf", + "scale": { + "kind": "original_symmetric_pair_scale", + "relative_floor": 1e-30 + }, + "zero_policy": { + "kind": "original_relative_floor", + "value": 1e-30 + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-f5ffde0e498815f5fa1af9f3": { + "quantity": "pce_percent", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/scaps-mirror-frozen-ion-ss/observables/pce_percent", + "value_sha256": "10a963080adfcd9575ec2804ba4a04433d2e8131e61e0ae89de0c034e41840e8" + }, + "gate_value": { + "comparison": "relative_linf", + "limit": 0.005, + "units": "%" + }, + "unit": "%", + "norm": "relative_linf", + "scale": { + "kind": "original_symmetric_pair_scale", + "relative_floor": 1e-30 + }, + "zero_policy": { + "kind": "original_relative_floor", + "value": 1e-30 + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-dda3c703724fd33cbf32fa5c": { + "quantity": "jv_normalized", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/scaps-mirror-frozen-ion-ss/observables/jv_normalized", + "value_sha256": "21c88fa6fe8abb8703e3781940725ca336c1b2afe0a5d439622e2095feb2512a" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.005, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-c92cc67a39dc52d749827d2d": { + "quantity": "all_points_residual_converged", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/scaps-mirror-frozen-ion-ss/quality_gates/all_points_residual_converged", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-77805b408cdf8af8e5a03759": { + "quantity": "max_residual_per_s", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/scaps-mirror-frozen-ion-ss/quality_gates/max_residual_per_s", + "value_sha256": "fc98fda9c0b186444e4c81e53882d48ba2fa81c5609e1fafc2f45c47157bcbc6" + }, + "gate_value": { + "operator": "le", + "limit": 0.5, + "units": "s-1" + }, + "unit": "s-1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-3c01f128cd7da9883d67481d": { + "quantity": "max_continuity_bound_A_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/scaps-mirror-frozen-ion-ss/quality_gates/max_continuity_bound_A_m2", + "value_sha256": "3682925da5c1be78fde7e1291cdd9fa3e96e3225656a556458c0bb18db89ea44" + }, + "gate_value": { + "operator": "le", + "limit": 0.1, + "units": "A m-2" + }, + "unit": "A m-2", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-efa560b2ed3c1bbcc06f9f0e": { + "quantity": "max_current_spread_A_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/scaps-mirror-frozen-ion-ss/quality_gates/max_current_spread_A_m2", + "value_sha256": "042a45eeac2fdf07f9842779ad47bddd0ea0f51149b31406793cb1eb35bc26be" + }, + "gate_value": { + "operator": "le", + "limit": 0.01, + "units": "A m-2" + }, + "unit": "A m-2", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-e71d78fa33b69c4deffefea8": { + "quantity": "voc_bracketed", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/scaps-mirror-frozen-ion-ss/quality_gates/voc_bracketed", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-12e734946179120c86ae94d6": { + "quantity": "structured_dense_terminal_interface_state_relative_difference", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/single-ion-algebraic-interface-dae-transient-resolved-v2/observables/structured_dense_terminal_interface_state_relative_difference", + "value_sha256": "5dfcf6542870ed5b5bf54a1374d19865d28c3c8af26c27cf314158204725adfa" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 1e-09, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-f6b4655c0b9f6df763e36b9b": { + "quantity": "structured_dense_terminal_log_density_difference", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/single-ion-algebraic-interface-dae-transient-resolved-v2/observables/structured_dense_terminal_log_density_difference", + "value_sha256": "5dfcf6542870ed5b5bf54a1374d19865d28c3c8af26c27cf314158204725adfa" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 1e-09, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-f65408849492d462987345b8": { + "quantity": "structured_dense_terminal_positive_ion_relative_difference", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/single-ion-algebraic-interface-dae-transient-resolved-v2/observables/structured_dense_terminal_positive_ion_relative_difference", + "value_sha256": "b18b8572a6a7d2a47135da3442aa89c32d3ed01048fd8f29d954630c19f7a56e" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 1e-10, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-b773babfe18004036ec95109": { + "quantity": "structured_dense_terminal_potential_difference_V", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/single-ion-algebraic-interface-dae-transient-resolved-v2/observables/structured_dense_terminal_potential_difference_V", + "value_sha256": "5b2fe59dda8485a53b2fd2b75c7ce79f3cd88dd4caab3e61c2566fa4e62fd941" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 1e-11, + "units": "V" + }, + "unit": "V", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-7dcf71ba4e3faad850e749ee": { + "quantity": "terminal_interface_state_relative_error", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/single-ion-algebraic-interface-dae-transient-resolved-v2/observables/terminal_interface_state_relative_error", + "value_sha256": "6187833fe3c7747e19ba0ce97f971739521675356d1ee8680b953c68c9d41a8f" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 5e-07, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-1ee0c78a0f757689b545e2e8": { + "quantity": "terminal_interface_occupation", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/single-ion-algebraic-interface-dae-transient-resolved-v2/observables/terminal_interface_occupation", + "value_sha256": "36af1dc5f6c475ea9a59cd6c096a07b9ec336ed42a3fdb3e0ebca312f531ee5d" + }, + "gate_value": { + "comparison": "pointwise_relative_linf", + "limit": 0.03, + "units": "1" + }, + "unit": "1", + "norm": "pointwise_relative_linf", + "scale": { + "kind": "original_symmetric_pair_scale", + "relative_floor": 1e-30 + }, + "zero_policy": { + "kind": "original_relative_floor", + "value": 1e-30 + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-acfa25d072e112a3dcf4d1d0": { + "quantity": "terminal_log_density_error", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/single-ion-algebraic-interface-dae-transient-resolved-v2/observables/terminal_log_density_error", + "value_sha256": "6187833fe3c7747e19ba0ce97f971739521675356d1ee8680b953c68c9d41a8f" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 5e-07, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-f218fe2267014a6101e1a3ed": { + "quantity": "terminal_positive_ion_relative_error", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/single-ion-algebraic-interface-dae-transient-resolved-v2/observables/terminal_positive_ion_relative_error", + "value_sha256": "d1dbacd5a1b4dfd893f365c11fcf59c02253a299a8d53bb1641db54220eb3e41" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 3e-06, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-82a9fe1187f22f07449c8e8f": { + "quantity": "terminal_potential_error_V", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/single-ion-algebraic-interface-dae-transient-resolved-v2/observables/terminal_potential_error_V", + "value_sha256": "232f5df64e2db193d3aa959787c7713a511eaf557eeeceba2e17a758c45e2c1a" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 5e-09, + "units": "V" + }, + "unit": "V", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-ee24fb3fd352d704870d7848": { + "quantity": "bulk_srh_denominator_positive", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/single-ion-algebraic-interface-dae-transient-resolved-v2/quality_gates/bulk_srh_denominator_positive", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-0bebe80a12462a4337f21bbb": { + "quantity": "clamp_inactive_slice_verified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/single-ion-algebraic-interface-dae-transient-resolved-v2/quality_gates/clamp_inactive_slice_verified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-b3f03207d7054ddf8d4e2b84": { + "quantity": "combined_ion_interface_topology_verified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/single-ion-algebraic-interface-dae-transient-resolved-v2/quality_gates/combined_ion_interface_topology_verified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-029e5bc357714e0b7c8372d3": { + "quantity": "consistent_initial_condition_certified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/single-ion-algebraic-interface-dae-transient-resolved-v2/quality_gates/consistent_initial_condition_certified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-5dae55809693fb6396d848b2": { + "quantity": "dense_reference_success", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/single-ion-algebraic-interface-dae-transient-resolved-v2/quality_gates/dense_reference_success", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-6d56cae3abd7a9b777cf3c8f": { + "quantity": "max_electron_balance_defect_A_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/single-ion-algebraic-interface-dae-transient-resolved-v2/quality_gates/max_electron_balance_defect_A_m2", + "value_sha256": "d877fd06d5c5e98c735ca473e1bed81d3235f1b1e11bc0a7074f7f76f0430d5f" + }, + "gate_value": { + "operator": "le", + "limit": 2e-08, + "units": "A m-2" + }, + "unit": "A m-2", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-2ff7746385090be0b1dce791": { + "quantity": "max_hole_balance_defect_A_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/single-ion-algebraic-interface-dae-transient-resolved-v2/quality_gates/max_hole_balance_defect_A_m2", + "value_sha256": "d877fd06d5c5e98c735ca473e1bed81d3235f1b1e11bc0a7074f7f76f0430d5f" + }, + "gate_value": { + "operator": "le", + "limit": 2e-08, + "units": "A m-2" + }, + "unit": "A m-2", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-24465960a68364077ef5d70a": { + "quantity": "max_interface_state_balance_A_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/single-ion-algebraic-interface-dae-transient-resolved-v2/quality_gates/max_interface_state_balance_A_m2", + "value_sha256": "d877fd06d5c5e98c735ca473e1bed81d3235f1b1e11bc0a7074f7f76f0430d5f" + }, + "gate_value": { + "operator": "le", + "limit": 2e-08, + "units": "A m-2" + }, + "unit": "A m-2", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-22ade0ae89870d233fdce80a": { + "quantity": "max_normalized_algebraic_residual", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/single-ion-algebraic-interface-dae-transient-resolved-v2/quality_gates/max_normalized_algebraic_residual", + "value_sha256": "4d77b02dbc2de64471c6d3c54aa19864871f94f348994666cf9d296046096c28" + }, + "gate_value": { + "operator": "le", + "limit": 2e-08, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-66433b13dc2eaf0da7b53391": { + "quantity": "max_normalized_carrier_residual", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/single-ion-algebraic-interface-dae-transient-resolved-v2/quality_gates/max_normalized_carrier_residual", + "value_sha256": "ab051a38d8541f0302525dd8e763efc0493df492e2dddc3470d7033d8dd54c2a" + }, + "gate_value": { + "operator": "le", + "limit": 5e-08, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-3a471ee72d60789125d1645f": { + "quantity": "max_normalized_interface_residual", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/single-ion-algebraic-interface-dae-transient-resolved-v2/quality_gates/max_normalized_interface_residual", + "value_sha256": "4d77b02dbc2de64471c6d3c54aa19864871f94f348994666cf9d296046096c28" + }, + "gate_value": { + "operator": "le", + "limit": 2e-08, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-3d796fcf7d7810438daa9d5c": { + "quantity": "max_normalized_positive_ion_residual", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/single-ion-algebraic-interface-dae-transient-resolved-v2/quality_gates/max_normalized_positive_ion_residual", + "value_sha256": "4d77b02dbc2de64471c6d3c54aa19864871f94f348994666cf9d296046096c28" + }, + "gate_value": { + "operator": "le", + "limit": 2e-08, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-5b3ac80dcba85068ae80beeb": { + "quantity": "max_positive_ion_balance_relative", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/single-ion-algebraic-interface-dae-transient-resolved-v2/quality_gates/max_positive_ion_balance_relative", + "value_sha256": "39e4e66bbb6e4817b64fa08c183b4288e6f1103f9264d26c0e87f05a52d9b1d7" + }, + "gate_value": { + "operator": "le", + "limit": 1e-12, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-780b27460304ddc0878a1ec8": { + "quantity": "max_positive_ion_inventory_relative_drift", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/single-ion-algebraic-interface-dae-transient-resolved-v2/quality_gates/max_positive_ion_inventory_relative_drift", + "value_sha256": "39e4e66bbb6e4817b64fa08c183b4288e6f1103f9264d26c0e87f05a52d9b1d7" + }, + "gate_value": { + "operator": "le", + "limit": 1e-12, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-ab2749a6266ad23952f8a192": { + "quantity": "max_positive_ion_rhs_inventory_relative", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/single-ion-algebraic-interface-dae-transient-resolved-v2/quality_gates/max_positive_ion_rhs_inventory_relative", + "value_sha256": "39e4e66bbb6e4817b64fa08c183b4288e6f1103f9264d26c0e87f05a52d9b1d7" + }, + "gate_value": { + "operator": "le", + "limit": 1e-12, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-25880455bb737c02b6f3b6ef": { + "quantity": "max_structured_dense_interface_state_relative_difference", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/single-ion-algebraic-interface-dae-transient-resolved-v2/quality_gates/max_structured_dense_interface_state_relative_difference", + "value_sha256": "3a640d73a3706289c46bc018d861d6926fc002e81495e015b5ec80d9a776e197" + }, + "gate_value": { + "operator": "le", + "limit": 1e-09, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-78637d98c1813a6bedc3fb4b": { + "quantity": "max_structured_dense_log_density_difference", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/single-ion-algebraic-interface-dae-transient-resolved-v2/quality_gates/max_structured_dense_log_density_difference", + "value_sha256": "3a640d73a3706289c46bc018d861d6926fc002e81495e015b5ec80d9a776e197" + }, + "gate_value": { + "operator": "le", + "limit": 1e-09, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-471aa9f41b4c383bf4ad4d4c": { + "quantity": "max_structured_dense_positive_ion_relative_difference", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/single-ion-algebraic-interface-dae-transient-resolved-v2/quality_gates/max_structured_dense_positive_ion_relative_difference", + "value_sha256": "d05931d5e401d506375c19c8b7c15d33b614369a54c1d98ca2f90ea1b9fa50a0" + }, + "gate_value": { + "operator": "le", + "limit": 1e-10, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-4ef9a7c0aaa67833d04e8606": { + "quantity": "max_structured_dense_potential_difference_V", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/single-ion-algebraic-interface-dae-transient-resolved-v2/quality_gates/max_structured_dense_potential_difference_V", + "value_sha256": "44b1a0d43538f2551ab936e850ea62dd9b66b91152ed063f13fc01987775e464" + }, + "gate_value": { + "operator": "le", + "limit": 1e-11, + "units": "V" + }, + "unit": "V", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-f7a3a823bc746c00a461b319": { + "quantity": "max_terminal_interface_state_relative_error", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/single-ion-algebraic-interface-dae-transient-resolved-v2/quality_gates/max_terminal_interface_state_relative_error", + "value_sha256": "a900a4e31fb9ca5234471c70aad4f8320212e0e29b426beb71bb0b4bf413996f" + }, + "gate_value": { + "operator": "le", + "limit": 5e-07, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-616debbd3a114a7d0a32c49f": { + "quantity": "max_terminal_log_density_error", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/single-ion-algebraic-interface-dae-transient-resolved-v2/quality_gates/max_terminal_log_density_error", + "value_sha256": "a900a4e31fb9ca5234471c70aad4f8320212e0e29b426beb71bb0b4bf413996f" + }, + "gate_value": { + "operator": "le", + "limit": 5e-07, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-dd7881cadd69e555bf0ea62b": { + "quantity": "max_terminal_positive_ion_relative_error", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/single-ion-algebraic-interface-dae-transient-resolved-v2/quality_gates/max_terminal_positive_ion_relative_error", + "value_sha256": "e76b298b2a3b73046fed8ae8ed633a721212252081e695c41d11fb599177338f" + }, + "gate_value": { + "operator": "le", + "limit": 1e-05, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-6094f6c8f5379734b7ee937e": { + "quantity": "max_terminal_potential_error_V", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/single-ion-algebraic-interface-dae-transient-resolved-v2/quality_gates/max_terminal_potential_error_V", + "value_sha256": "447bc23de9e971e3a362425880c1d469161765e3677eafb7a8a8707391113de0" + }, + "gate_value": { + "operator": "le", + "limit": 5e-09, + "units": "V" + }, + "unit": "V", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-424ac372ac919ca7db1c760b": { + "quantity": "minimum_interface_state_relative_motion", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/single-ion-algebraic-interface-dae-transient-resolved-v2/quality_gates/minimum_interface_state_relative_motion", + "value_sha256": "851bdea92a151a76d4bc32631cff4c0eae8a4e65eba3b7a7bc03ba85b0106e07" + }, + "gate_value": { + "operator": "ge", + "limit": 0.001, + "units": "1" + }, + "unit": "1", + "norm": "ge", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-233d2f59ea00f367ada628e8": { + "quantity": "minimum_positive_ion_relative_motion", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/single-ion-algebraic-interface-dae-transient-resolved-v2/quality_gates/minimum_positive_ion_relative_motion", + "value_sha256": "93b592fb2368bf8d5c735b9165f2c851b251ab2c7a0ffd19909d1fa22538115e" + }, + "gate_value": { + "operator": "ge", + "limit": 1e-06, + "units": "1" + }, + "unit": "1", + "norm": "ge", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-e81919bfc06eef31d843c064": { + "quantity": "mol_numerical_health_passed", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/single-ion-algebraic-interface-dae-transient-resolved-v2/quality_gates/mol_numerical_health_passed", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-be0479e48c9c6b0fcd858b8e": { + "quantity": "mol_reference_success", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/single-ion-algebraic-interface-dae-transient-resolved-v2/quality_gates/mol_reference_success", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-03551ad4588a9863e3874320": { + "quantity": "site_occupancy_admissible", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/single-ion-algebraic-interface-dae-transient-resolved-v2/quality_gates/site_occupancy_admissible", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-e24af5bc25e8cd4c2efb2f23": { + "quantity": "structured_analytic_success", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/single-ion-algebraic-interface-dae-transient-resolved-v2/quality_gates/structured_analytic_success", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-b69aed4a9488566b29a4c2e1": { + "quantity": "structured_csr_nonzeros_per_node", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/single-ion-algebraic-interface-dae-transient-resolved-v2/quality_gates/structured_csr_nonzeros_per_node", + "value_sha256": "4d1774c0482ae25489d71ff2e9b5c9fdf546da648c0cce06b658281697fe63e4" + }, + "gate_value": { + "operator": "le", + "limit": 27.0, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-6b4886ce456ecccfb78a9679": { + "quantity": "structured_jacobian_condition_finite", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/single-ion-algebraic-interface-dae-transient-resolved-v2/quality_gates/structured_jacobian_condition_finite", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-41d61f9a5f3cc4c25c7bd8cb": { + "quantity": "structured_rhs_work_fraction", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/single-ion-algebraic-interface-dae-transient-resolved-v2/quality_gates/structured_rhs_work_fraction", + "value_sha256": "a3a1d01b85980d58d2e680fc64ca0a5086cddcdddba4522aee8cf50dc897b6e8" + }, + "gate_value": { + "operator": "le", + "limit": 0.1, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-0c618d92d310883de99b92fe": { + "quantity": "terminal_densities_positive", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/single-ion-algebraic-interface-dae-transient-resolved-v2/quality_gates/terminal_densities_positive", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-67e290b44f6f84078ad9996a": { + "quantity": "terminal_interface_states_bounded", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/single-ion-algebraic-interface-dae-transient-resolved-v2/quality_gates/terminal_interface_states_bounded", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-2357879a230eb20b91951d6a": { + "quantity": "structured_dense_terminal_interface_state_relative_difference", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/single-ion-algebraic-interface-dae-transient-v1/observables/structured_dense_terminal_interface_state_relative_difference", + "value_sha256": "5dfcf6542870ed5b5bf54a1374d19865d28c3c8af26c27cf314158204725adfa" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 1e-09, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-8353fdb92b54c5951f54749f": { + "quantity": "structured_dense_terminal_log_density_difference", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/single-ion-algebraic-interface-dae-transient-v1/observables/structured_dense_terminal_log_density_difference", + "value_sha256": "5dfcf6542870ed5b5bf54a1374d19865d28c3c8af26c27cf314158204725adfa" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 1e-09, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-78e59ae406939ef71afedf9d": { + "quantity": "structured_dense_terminal_positive_ion_relative_difference", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/single-ion-algebraic-interface-dae-transient-v1/observables/structured_dense_terminal_positive_ion_relative_difference", + "value_sha256": "b18b8572a6a7d2a47135da3442aa89c32d3ed01048fd8f29d954630c19f7a56e" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 1e-10, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-5a7d65cdc796924ef9940692": { + "quantity": "structured_dense_terminal_potential_difference_V", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/single-ion-algebraic-interface-dae-transient-v1/observables/structured_dense_terminal_potential_difference_V", + "value_sha256": "5b2fe59dda8485a53b2fd2b75c7ce79f3cd88dd4caab3e61c2566fa4e62fd941" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 1e-11, + "units": "V" + }, + "unit": "V", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-72bee9995f5c463892096431": { + "quantity": "terminal_interface_state_relative_error", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/single-ion-algebraic-interface-dae-transient-v1/observables/terminal_interface_state_relative_error", + "value_sha256": "6187833fe3c7747e19ba0ce97f971739521675356d1ee8680b953c68c9d41a8f" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 5e-07, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-056d242d576df0058a01e763": { + "quantity": "terminal_interface_occupation", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/single-ion-algebraic-interface-dae-transient-v1/observables/terminal_interface_occupation", + "value_sha256": "36af1dc5f6c475ea9a59cd6c096a07b9ec336ed42a3fdb3e0ebca312f531ee5d" + }, + "gate_value": { + "comparison": "pointwise_relative_linf", + "limit": 0.03, + "units": "1" + }, + "unit": "1", + "norm": "pointwise_relative_linf", + "scale": { + "kind": "original_symmetric_pair_scale", + "relative_floor": 1e-30 + }, + "zero_policy": { + "kind": "original_relative_floor", + "value": 1e-30 + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-0c0909ecde5c86da6b241d6c": { + "quantity": "terminal_log_density_error", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/single-ion-algebraic-interface-dae-transient-v1/observables/terminal_log_density_error", + "value_sha256": "6187833fe3c7747e19ba0ce97f971739521675356d1ee8680b953c68c9d41a8f" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 5e-07, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-ee5fd74b8cdeda2da7ff48e5": { + "quantity": "terminal_positive_ion_relative_error", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/single-ion-algebraic-interface-dae-transient-v1/observables/terminal_positive_ion_relative_error", + "value_sha256": "da68fcfa3fbc85011cde381f999d8d05fc6a2c059523edb1149873e537c4b936" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 1e-06, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-5ae1e38e279cf8c7c0eb0888": { + "quantity": "terminal_potential_error_V", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/single-ion-algebraic-interface-dae-transient-v1/observables/terminal_potential_error_V", + "value_sha256": "232f5df64e2db193d3aa959787c7713a511eaf557eeeceba2e17a758c45e2c1a" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 5e-09, + "units": "V" + }, + "unit": "V", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-5eb941b91de8a1936636e6bc": { + "quantity": "bulk_srh_denominator_positive", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/single-ion-algebraic-interface-dae-transient-v1/quality_gates/bulk_srh_denominator_positive", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-fe675409476b45338224597f": { + "quantity": "clamp_inactive_slice_verified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/single-ion-algebraic-interface-dae-transient-v1/quality_gates/clamp_inactive_slice_verified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-e6eed5b94528a7e12c721923": { + "quantity": "combined_ion_interface_topology_verified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/single-ion-algebraic-interface-dae-transient-v1/quality_gates/combined_ion_interface_topology_verified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-ce05cbbf43e5e2fbd1f520dc": { + "quantity": "consistent_initial_condition_certified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/single-ion-algebraic-interface-dae-transient-v1/quality_gates/consistent_initial_condition_certified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-b831a827e56c8ef959b1c9bf": { + "quantity": "dense_reference_success", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/single-ion-algebraic-interface-dae-transient-v1/quality_gates/dense_reference_success", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-f8ae8064921492db89d67869": { + "quantity": "max_electron_balance_defect_A_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/single-ion-algebraic-interface-dae-transient-v1/quality_gates/max_electron_balance_defect_A_m2", + "value_sha256": "d877fd06d5c5e98c735ca473e1bed81d3235f1b1e11bc0a7074f7f76f0430d5f" + }, + "gate_value": { + "operator": "le", + "limit": 2e-08, + "units": "A m-2" + }, + "unit": "A m-2", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-13d7f0bcfc53c52344d4db4c": { + "quantity": "max_hole_balance_defect_A_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/single-ion-algebraic-interface-dae-transient-v1/quality_gates/max_hole_balance_defect_A_m2", + "value_sha256": "d877fd06d5c5e98c735ca473e1bed81d3235f1b1e11bc0a7074f7f76f0430d5f" + }, + "gate_value": { + "operator": "le", + "limit": 2e-08, + "units": "A m-2" + }, + "unit": "A m-2", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-c9752d84bb353362ff793142": { + "quantity": "max_interface_state_balance_A_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/single-ion-algebraic-interface-dae-transient-v1/quality_gates/max_interface_state_balance_A_m2", + "value_sha256": "d877fd06d5c5e98c735ca473e1bed81d3235f1b1e11bc0a7074f7f76f0430d5f" + }, + "gate_value": { + "operator": "le", + "limit": 2e-08, + "units": "A m-2" + }, + "unit": "A m-2", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-ca66e700c23f32158855cb23": { + "quantity": "max_normalized_algebraic_residual", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/single-ion-algebraic-interface-dae-transient-v1/quality_gates/max_normalized_algebraic_residual", + "value_sha256": "4d77b02dbc2de64471c6d3c54aa19864871f94f348994666cf9d296046096c28" + }, + "gate_value": { + "operator": "le", + "limit": 2e-08, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-355711d1aa1cbd2238d2f767": { + "quantity": "max_normalized_carrier_residual", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/single-ion-algebraic-interface-dae-transient-v1/quality_gates/max_normalized_carrier_residual", + "value_sha256": "4d77b02dbc2de64471c6d3c54aa19864871f94f348994666cf9d296046096c28" + }, + "gate_value": { + "operator": "le", + "limit": 2e-08, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-a4a6c2550df54d48c00b25f1": { + "quantity": "max_normalized_interface_residual", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/single-ion-algebraic-interface-dae-transient-v1/quality_gates/max_normalized_interface_residual", + "value_sha256": "4d77b02dbc2de64471c6d3c54aa19864871f94f348994666cf9d296046096c28" + }, + "gate_value": { + "operator": "le", + "limit": 2e-08, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-6f78f2bde59d448479fbddbc": { + "quantity": "max_normalized_positive_ion_residual", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/single-ion-algebraic-interface-dae-transient-v1/quality_gates/max_normalized_positive_ion_residual", + "value_sha256": "4d77b02dbc2de64471c6d3c54aa19864871f94f348994666cf9d296046096c28" + }, + "gate_value": { + "operator": "le", + "limit": 2e-08, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-ba179011e6263ad5fbec47f2": { + "quantity": "max_positive_ion_balance_relative", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/single-ion-algebraic-interface-dae-transient-v1/quality_gates/max_positive_ion_balance_relative", + "value_sha256": "39e4e66bbb6e4817b64fa08c183b4288e6f1103f9264d26c0e87f05a52d9b1d7" + }, + "gate_value": { + "operator": "le", + "limit": 1e-12, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-61a1ba467dbb09e3ad39146d": { + "quantity": "max_positive_ion_inventory_relative_drift", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/single-ion-algebraic-interface-dae-transient-v1/quality_gates/max_positive_ion_inventory_relative_drift", + "value_sha256": "39e4e66bbb6e4817b64fa08c183b4288e6f1103f9264d26c0e87f05a52d9b1d7" + }, + "gate_value": { + "operator": "le", + "limit": 1e-12, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-87191afb20ff39bc09315003": { + "quantity": "max_positive_ion_rhs_inventory_relative", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/single-ion-algebraic-interface-dae-transient-v1/quality_gates/max_positive_ion_rhs_inventory_relative", + "value_sha256": "39e4e66bbb6e4817b64fa08c183b4288e6f1103f9264d26c0e87f05a52d9b1d7" + }, + "gate_value": { + "operator": "le", + "limit": 1e-12, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-f176fefef9cf266262d9c7a6": { + "quantity": "max_structured_dense_interface_state_relative_difference", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/single-ion-algebraic-interface-dae-transient-v1/quality_gates/max_structured_dense_interface_state_relative_difference", + "value_sha256": "3a640d73a3706289c46bc018d861d6926fc002e81495e015b5ec80d9a776e197" + }, + "gate_value": { + "operator": "le", + "limit": 1e-09, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-84fb0acc60afdba722ee615f": { + "quantity": "max_structured_dense_log_density_difference", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/single-ion-algebraic-interface-dae-transient-v1/quality_gates/max_structured_dense_log_density_difference", + "value_sha256": "3a640d73a3706289c46bc018d861d6926fc002e81495e015b5ec80d9a776e197" + }, + "gate_value": { + "operator": "le", + "limit": 1e-09, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-775969e1d70ffd235a03bb56": { + "quantity": "max_structured_dense_positive_ion_relative_difference", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/single-ion-algebraic-interface-dae-transient-v1/quality_gates/max_structured_dense_positive_ion_relative_difference", + "value_sha256": "d05931d5e401d506375c19c8b7c15d33b614369a54c1d98ca2f90ea1b9fa50a0" + }, + "gate_value": { + "operator": "le", + "limit": 1e-10, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-3d314b7f89dbd92cc865b96c": { + "quantity": "max_structured_dense_potential_difference_V", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/single-ion-algebraic-interface-dae-transient-v1/quality_gates/max_structured_dense_potential_difference_V", + "value_sha256": "44b1a0d43538f2551ab936e850ea62dd9b66b91152ed063f13fc01987775e464" + }, + "gate_value": { + "operator": "le", + "limit": 1e-11, + "units": "V" + }, + "unit": "V", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-e0626620ba72842e9ddfec4e": { + "quantity": "max_terminal_interface_state_relative_error", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/single-ion-algebraic-interface-dae-transient-v1/quality_gates/max_terminal_interface_state_relative_error", + "value_sha256": "a900a4e31fb9ca5234471c70aad4f8320212e0e29b426beb71bb0b4bf413996f" + }, + "gate_value": { + "operator": "le", + "limit": 5e-07, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-159d525e9717df485621fac6": { + "quantity": "max_terminal_log_density_error", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/single-ion-algebraic-interface-dae-transient-v1/quality_gates/max_terminal_log_density_error", + "value_sha256": "a900a4e31fb9ca5234471c70aad4f8320212e0e29b426beb71bb0b4bf413996f" + }, + "gate_value": { + "operator": "le", + "limit": 5e-07, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-00c9c680eaf9b437382d79e0": { + "quantity": "max_terminal_positive_ion_relative_error", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/single-ion-algebraic-interface-dae-transient-v1/quality_gates/max_terminal_positive_ion_relative_error", + "value_sha256": "e64c71c4a33aea28b4b37bd35efcebc3372fffac64ef65639db94f57ff62a79f" + }, + "gate_value": { + "operator": "le", + "limit": 1e-06, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-38ce219811195841f625c7d9": { + "quantity": "max_terminal_potential_error_V", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/single-ion-algebraic-interface-dae-transient-v1/quality_gates/max_terminal_potential_error_V", + "value_sha256": "447bc23de9e971e3a362425880c1d469161765e3677eafb7a8a8707391113de0" + }, + "gate_value": { + "operator": "le", + "limit": 5e-09, + "units": "V" + }, + "unit": "V", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-07ab10388145fd168ab79742": { + "quantity": "minimum_interface_state_relative_motion", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/single-ion-algebraic-interface-dae-transient-v1/quality_gates/minimum_interface_state_relative_motion", + "value_sha256": "851bdea92a151a76d4bc32631cff4c0eae8a4e65eba3b7a7bc03ba85b0106e07" + }, + "gate_value": { + "operator": "ge", + "limit": 0.001, + "units": "1" + }, + "unit": "1", + "norm": "ge", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-f45974030f31b16631b72d1d": { + "quantity": "minimum_positive_ion_relative_motion", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/single-ion-algebraic-interface-dae-transient-v1/quality_gates/minimum_positive_ion_relative_motion", + "value_sha256": "93b592fb2368bf8d5c735b9165f2c851b251ab2c7a0ffd19909d1fa22538115e" + }, + "gate_value": { + "operator": "ge", + "limit": 1e-06, + "units": "1" + }, + "unit": "1", + "norm": "ge", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-533c6beff6d58129ec425e82": { + "quantity": "mol_numerical_health_passed", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/single-ion-algebraic-interface-dae-transient-v1/quality_gates/mol_numerical_health_passed", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-ffa811517820352a2e869017": { + "quantity": "mol_reference_success", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/single-ion-algebraic-interface-dae-transient-v1/quality_gates/mol_reference_success", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-1a7934aaaf7770e0509f7dc3": { + "quantity": "site_occupancy_admissible", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/single-ion-algebraic-interface-dae-transient-v1/quality_gates/site_occupancy_admissible", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-2857e44fac5584a8517819bc": { + "quantity": "structured_analytic_success", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/single-ion-algebraic-interface-dae-transient-v1/quality_gates/structured_analytic_success", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-217e6d9870b5e76eb1ce0af3": { + "quantity": "structured_csr_nonzeros_per_node", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/single-ion-algebraic-interface-dae-transient-v1/quality_gates/structured_csr_nonzeros_per_node", + "value_sha256": "4d1774c0482ae25489d71ff2e9b5c9fdf546da648c0cce06b658281697fe63e4" + }, + "gate_value": { + "operator": "le", + "limit": 27.0, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-13926f3de8d684c889fc4943": { + "quantity": "structured_jacobian_condition_finite", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/single-ion-algebraic-interface-dae-transient-v1/quality_gates/structured_jacobian_condition_finite", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-310a1077a0c5287276ecdf00": { + "quantity": "structured_rhs_work_fraction", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/single-ion-algebraic-interface-dae-transient-v1/quality_gates/structured_rhs_work_fraction", + "value_sha256": "a3a1d01b85980d58d2e680fc64ca0a5086cddcdddba4522aee8cf50dc897b6e8" + }, + "gate_value": { + "operator": "le", + "limit": 0.1, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-340a01279c12d4dd131fbca2": { + "quantity": "terminal_densities_positive", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/single-ion-algebraic-interface-dae-transient-v1/quality_gates/terminal_densities_positive", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-afcf12bdde8f6ea374bd7b69": { + "quantity": "terminal_interface_states_bounded", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/single-ion-algebraic-interface-dae-transient-v1/quality_gates/terminal_interface_states_bounded", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-603c5988adf8ece1b3d30201": { + "quantity": "structured_dense_terminal_log_density_difference", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/single-positive-ion-dae-transient-v1/observables/structured_dense_terminal_log_density_difference", + "value_sha256": "b18b8572a6a7d2a47135da3442aa89c32d3ed01048fd8f29d954630c19f7a56e" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 1e-10, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-73d989d998b5c3d1cd26fa09": { + "quantity": "structured_dense_terminal_positive_ion_relative_difference", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/single-positive-ion-dae-transient-v1/observables/structured_dense_terminal_positive_ion_relative_difference", + "value_sha256": "9ef432633eced5828d07e99472cfe3e3351d752c4d73cda25e7769f254d00ef0" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 1e-12, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-e4f65e9afc16543a29da3a91": { + "quantity": "structured_dense_terminal_potential_difference_V", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/single-positive-ion-dae-transient-v1/observables/structured_dense_terminal_potential_difference_V", + "value_sha256": "b0bb8279d27a7857370ea1dfcb337aa31866d2473b2e6810a75e27ad529fb158" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 1e-12, + "units": "V" + }, + "unit": "V", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-e8dacc813d4d60a73c7d2b35": { + "quantity": "terminal_log_density_error", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/single-positive-ion-dae-transient-v1/observables/terminal_log_density_error", + "value_sha256": "4f7f5ed1ff3f23cf8f77c5f7d570c9106259a1989ad13eab891ff64a01fa5934" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 1e-08, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-e44610a2f264f9043c30a87c": { + "quantity": "terminal_positive_ion_relative_error", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/single-positive-ion-dae-transient-v1/observables/terminal_positive_ion_relative_error", + "value_sha256": "8870cdf467e2743fb96fa74a57514b2fbf9b41927fcfb9dcf62c016f06b4e173" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 1.1e-10, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-1e8592a6c6e545f628686a21": { + "quantity": "terminal_potential_error_V", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/single-positive-ion-dae-transient-v1/observables/terminal_potential_error_V", + "value_sha256": "26ef2a629140af09bec0db17d43770098db0e999250893fedd72447afa014f6b" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 5e-10, + "units": "V" + }, + "unit": "V", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-2b4481e0b3fa2122a13f3bc8": { + "quantity": "bulk_srh_denominator_positive", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/single-positive-ion-dae-transient-v1/quality_gates/bulk_srh_denominator_positive", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-53c68546ecf1a8ff72780d66": { + "quantity": "consistent_initial_condition_certified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/single-positive-ion-dae-transient-v1/quality_gates/consistent_initial_condition_certified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-2fd11f67bbb5d09dfc2c82b5": { + "quantity": "dense_reference_success", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/single-positive-ion-dae-transient-v1/quality_gates/dense_reference_success", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-3c3d9305037df2d8ce065b39": { + "quantity": "max_electron_balance_defect_A_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/single-positive-ion-dae-transient-v1/quality_gates/max_electron_balance_defect_A_m2", + "value_sha256": "d877fd06d5c5e98c735ca473e1bed81d3235f1b1e11bc0a7074f7f76f0430d5f" + }, + "gate_value": { + "operator": "le", + "limit": 2e-08, + "units": "A m-2" + }, + "unit": "A m-2", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-7cccd768b9cf1e9e2a3acbe3": { + "quantity": "max_hole_balance_defect_A_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/single-positive-ion-dae-transient-v1/quality_gates/max_hole_balance_defect_A_m2", + "value_sha256": "d877fd06d5c5e98c735ca473e1bed81d3235f1b1e11bc0a7074f7f76f0430d5f" + }, + "gate_value": { + "operator": "le", + "limit": 2e-08, + "units": "A m-2" + }, + "unit": "A m-2", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-2aee751f7cd9173f6654047f": { + "quantity": "max_normalized_algebraic_residual", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/single-positive-ion-dae-transient-v1/quality_gates/max_normalized_algebraic_residual", + "value_sha256": "3a640d73a3706289c46bc018d861d6926fc002e81495e015b5ec80d9a776e197" + }, + "gate_value": { + "operator": "le", + "limit": 1e-09, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-2cdcc7bdc93c272f389a3dcd": { + "quantity": "max_normalized_carrier_residual", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/single-positive-ion-dae-transient-v1/quality_gates/max_normalized_carrier_residual", + "value_sha256": "3a640d73a3706289c46bc018d861d6926fc002e81495e015b5ec80d9a776e197" + }, + "gate_value": { + "operator": "le", + "limit": 1e-09, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-a5c80616a3351ac42e115662": { + "quantity": "max_normalized_positive_ion_residual", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/single-positive-ion-dae-transient-v1/quality_gates/max_normalized_positive_ion_residual", + "value_sha256": "3a640d73a3706289c46bc018d861d6926fc002e81495e015b5ec80d9a776e197" + }, + "gate_value": { + "operator": "le", + "limit": 1e-09, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-4845b46d97e92e95688da6b4": { + "quantity": "max_positive_ion_balance_relative", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/single-positive-ion-dae-transient-v1/quality_gates/max_positive_ion_balance_relative", + "value_sha256": "39e4e66bbb6e4817b64fa08c183b4288e6f1103f9264d26c0e87f05a52d9b1d7" + }, + "gate_value": { + "operator": "le", + "limit": 1e-12, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-d0252969c1c306ea717969fb": { + "quantity": "max_positive_ion_inventory_relative_drift", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/single-positive-ion-dae-transient-v1/quality_gates/max_positive_ion_inventory_relative_drift", + "value_sha256": "39e4e66bbb6e4817b64fa08c183b4288e6f1103f9264d26c0e87f05a52d9b1d7" + }, + "gate_value": { + "operator": "le", + "limit": 1e-12, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-6685df2731279f8ba8c945ea": { + "quantity": "max_positive_ion_rhs_inventory_relative", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/single-positive-ion-dae-transient-v1/quality_gates/max_positive_ion_rhs_inventory_relative", + "value_sha256": "39e4e66bbb6e4817b64fa08c183b4288e6f1103f9264d26c0e87f05a52d9b1d7" + }, + "gate_value": { + "operator": "le", + "limit": 1e-12, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-d29566528551522ad65239c7": { + "quantity": "max_structured_dense_log_density_difference", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/single-positive-ion-dae-transient-v1/quality_gates/max_structured_dense_log_density_difference", + "value_sha256": "d05931d5e401d506375c19c8b7c15d33b614369a54c1d98ca2f90ea1b9fa50a0" + }, + "gate_value": { + "operator": "le", + "limit": 1e-10, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-cf037877fe34e91682b3e29e": { + "quantity": "max_structured_dense_positive_ion_relative_difference", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/single-positive-ion-dae-transient-v1/quality_gates/max_structured_dense_positive_ion_relative_difference", + "value_sha256": "39e4e66bbb6e4817b64fa08c183b4288e6f1103f9264d26c0e87f05a52d9b1d7" + }, + "gate_value": { + "operator": "le", + "limit": 1e-12, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-46a8d04076b1b791320e5b01": { + "quantity": "max_structured_dense_potential_difference_V", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/single-positive-ion-dae-transient-v1/quality_gates/max_structured_dense_potential_difference_V", + "value_sha256": "0f99613322054185c71a84566af0812022165af8a633d15c6d25661862c751c3" + }, + "gate_value": { + "operator": "le", + "limit": 1e-12, + "units": "V" + }, + "unit": "V", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-a7a13a0882eb3e261b982f57": { + "quantity": "max_terminal_log_density_error", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/single-positive-ion-dae-transient-v1/quality_gates/max_terminal_log_density_error", + "value_sha256": "ab051a38d8541f0302525dd8e763efc0493df492e2dddc3470d7033d8dd54c2a" + }, + "gate_value": { + "operator": "le", + "limit": 5e-08, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-eb8e327eb5e7820cb612d56e": { + "quantity": "max_terminal_positive_ion_relative_error", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/single-positive-ion-dae-transient-v1/quality_gates/max_terminal_positive_ion_relative_error", + "value_sha256": "5bad671fe3eafc265e71419c3010910d632cd3a77dc37f8700b0c3ede5fb0123" + }, + "gate_value": { + "operator": "le", + "limit": 5e-10, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-0310d9fb03f7b7e96d5e2705": { + "quantity": "max_terminal_potential_error_V", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/single-positive-ion-dae-transient-v1/quality_gates/max_terminal_potential_error_V", + "value_sha256": "e1db643a553732379c168e4c5652a591ab0fa5a568fb81e297237ec4e9df87d9" + }, + "gate_value": { + "operator": "le", + "limit": 1e-09, + "units": "V" + }, + "unit": "V", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-ced97a4e5742851ed82d8c42": { + "quantity": "minimum_positive_ion_relative_motion", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/single-positive-ion-dae-transient-v1/quality_gates/minimum_positive_ion_relative_motion", + "value_sha256": "93b592fb2368bf8d5c735b9165f2c851b251ab2c7a0ffd19909d1fa22538115e" + }, + "gate_value": { + "operator": "ge", + "limit": 1e-06, + "units": "1" + }, + "unit": "1", + "norm": "ge", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-9a116d13c56666e5975ce321": { + "quantity": "mol_numerical_health_passed", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/single-positive-ion-dae-transient-v1/quality_gates/mol_numerical_health_passed", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-e81adf780bffba6798ad7818": { + "quantity": "mol_reference_success", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/single-positive-ion-dae-transient-v1/quality_gates/mol_reference_success", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-1ac71b0fe9b8cfbbc7f376a5": { + "quantity": "single_ion_topology_verified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/single-positive-ion-dae-transient-v1/quality_gates/single_ion_topology_verified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-4cbac9c1f5e5c6083a2bbb2f": { + "quantity": "site_occupancy_admissible", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/single-positive-ion-dae-transient-v1/quality_gates/site_occupancy_admissible", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-a4287217fdbfc2aeaac6c4ec": { + "quantity": "structured_analytic_success", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/single-positive-ion-dae-transient-v1/quality_gates/structured_analytic_success", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-c8019933cf1c041c479620b8": { + "quantity": "structured_csr_nonzeros_per_node", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/single-positive-ion-dae-transient-v1/quality_gates/structured_csr_nonzeros_per_node", + "value_sha256": "4d1774c0482ae25489d71ff2e9b5c9fdf546da648c0cce06b658281697fe63e4" + }, + "gate_value": { + "operator": "le", + "limit": 27.0, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-3f391f22f9f97b04a84d9c52": { + "quantity": "structured_jacobian_condition_finite", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/single-positive-ion-dae-transient-v1/quality_gates/structured_jacobian_condition_finite", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-c814246aea0faec7632b06da": { + "quantity": "structured_rhs_work_fraction", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/single-positive-ion-dae-transient-v1/quality_gates/structured_rhs_work_fraction", + "value_sha256": "a3a1d01b85980d58d2e680fc64ca0a5086cddcdddba4522aee8cf50dc897b6e8" + }, + "gate_value": { + "operator": "le", + "limit": 0.1, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-0a9707ddcdd8f55557afd348": { + "quantity": "terminal_densities_positive", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/single-positive-ion-dae-transient-v1/quality_gates/terminal_densities_positive", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-350c26491c206657e1b239bd": { + "quantity": "built_in_potential_V", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/spatially-graded-explicit-defect-qf-dc-v1/observables/built_in_potential_V", + "value_sha256": "e9fdde81a647a15a086f5e1e48292bdc1cc7336882b754f915e41a3f4533c164" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.0001, + "units": "V" + }, + "unit": "V", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-69ca32ee0c23605cdb8b2b58": { + "quantity": "contact_reservoir_log10_m3", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/spatially-graded-explicit-defect-qf-dc-v1/observables/contact_reservoir_log10_m3", + "value_sha256": "cb5e0f36e26dbdac2e0980cb9b77f2c40417239f9e4bbfe1484b54ff768f258f" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.005, + "units": "log10(m-3)" + }, + "unit": "log10(m-3)", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-44fd33206d1d2cd032a4f89b": { + "quantity": "dark_band_gap_eV_profile", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/spatially-graded-explicit-defect-qf-dc-v1/observables/dark_band_gap_eV_profile", + "value_sha256": "83f53b749ad91bba4a2b36f516449fac6cf07b85801a593fd9c917b8b961ce59" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 1e-12, + "units": "eV" + }, + "unit": "eV", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-1dd0a3992196264182ba1850": { + "quantity": "dark_electron_affinity_eV_profile", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/spatially-graded-explicit-defect-qf-dc-v1/observables/dark_electron_affinity_eV_profile", + "value_sha256": "83f53b749ad91bba4a2b36f516449fac6cf07b85801a593fd9c917b8b961ce59" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 1e-12, + "units": "eV" + }, + "unit": "eV", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-ad414809cbf0c05172a40d34": { + "quantity": "dark_electron_log10_profile", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/spatially-graded-explicit-defect-qf-dc-v1/observables/dark_electron_log10_profile", + "value_sha256": "773de7f3198c4086a38e0befaca6e378d5873899fe2cafb84798947a81a06a92" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.01, + "units": "log10(m-3)" + }, + "unit": "log10(m-3)", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-7ea22e95ac5e477fe32c9df3": { + "quantity": "dark_hole_log10_profile", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/spatially-graded-explicit-defect-qf-dc-v1/observables/dark_hole_log10_profile", + "value_sha256": "773de7f3198c4086a38e0befaca6e378d5873899fe2cafb84798947a81a06a92" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.01, + "units": "log10(m-3)" + }, + "unit": "log10(m-3)", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-38bd9d997a804767fe4ce81a": { + "quantity": "dark_potential_V", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/spatially-graded-explicit-defect-qf-dc-v1/observables/dark_potential_V", + "value_sha256": "ec5dc88fa6879fb176ca70df75d2a44a6b753559e12be822c8a40456fb217092" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.0005, + "units": "V" + }, + "unit": "V", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-0b64670cda2f5f412084095f": { + "quantity": "dark_source_density_multiplier_profile", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/spatially-graded-explicit-defect-qf-dc-v1/observables/dark_source_density_multiplier_profile", + "value_sha256": "9ef432633eced5828d07e99472cfe3e3351d752c4d73cda25e7769f254d00ef0" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 1e-12, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-5d5d73aac8e26fa489bf3c87": { + "quantity": "dark_source_normalized_charge_profile", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/spatially-graded-explicit-defect-qf-dc-v1/observables/dark_source_normalized_charge_profile", + "value_sha256": "21c88fa6fe8abb8703e3781940725ca336c1b2afe0a5d439622e2095feb2512a" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.005, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-2db597a82f2e615f1a332bcc": { + "quantity": "dark_source_occupancy_profile", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/spatially-graded-explicit-defect-qf-dc-v1/observables/dark_source_occupancy_profile", + "value_sha256": "21c88fa6fe8abb8703e3781940725ca336c1b2afe0a5d439622e2095feb2512a" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.005, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-e4255e6dec5c4af3249b12f9": { + "quantity": "integrated_source_charge_C_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/spatially-graded-explicit-defect-qf-dc-v1/observables/integrated_source_charge_C_m2", + "value_sha256": "2071f26873890afdb48cd7c7c1be49e3bdb724ecec6b9429d039f9dc8138e9da" + }, + "gate_value": { + "comparison": "relative_linf", + "limit": 0.005, + "units": "C m-2" + }, + "unit": "C m-2", + "norm": "relative_linf", + "scale": { + "kind": "original_symmetric_pair_scale", + "relative_floor": 1e-30 + }, + "zero_policy": { + "kind": "original_relative_floor", + "value": 1e-30 + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-e2727348fe87da0a6ca1cae7": { + "quantity": "jv_current_A_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/spatially-graded-explicit-defect-qf-dc-v1/observables/jv_current_A_m2", + "value_sha256": "32ab8b7207f5095d8fa04ce6cfbdd73ae895e6d320cd839283d076a2bb30cce3" + }, + "gate_value": { + "comparison": "relative_linf", + "limit": 0.002, + "units": "A m-2" + }, + "unit": "A m-2", + "norm": "relative_linf", + "scale": { + "kind": "original_symmetric_pair_scale", + "relative_floor": 1e-30 + }, + "zero_policy": { + "kind": "original_relative_floor", + "value": 1e-30 + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-eaf07eacb44adc070a1f3648": { + "quantity": "short_circuit_current_A_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/spatially-graded-explicit-defect-qf-dc-v1/observables/short_circuit_current_A_m2", + "value_sha256": "32ab8b7207f5095d8fa04ce6cfbdd73ae895e6d320cd839283d076a2bb30cce3" + }, + "gate_value": { + "comparison": "relative_linf", + "limit": 0.002, + "units": "A m-2" + }, + "unit": "A m-2", + "norm": "relative_linf", + "scale": { + "kind": "original_symmetric_pair_scale", + "relative_floor": 1e-30 + }, + "zero_policy": { + "kind": "original_relative_floor", + "value": 1e-30 + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-47cfee98917068227205793d": { + "quantity": "all_states_certified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/spatially-graded-explicit-defect-qf-dc-v1/quality_gates/all_states_certified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-462b303d81b95d6519eed703": { + "quantity": "contact_endpoints_verified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/spatially-graded-explicit-defect-qf-dc-v1/quality_gates/contact_endpoints_verified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-6d0fa75543d4ab4bc3c19574": { + "quantity": "contact_thermodynamics_certified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/spatially-graded-explicit-defect-qf-dc-v1/quality_gates/contact_thermodynamics_certified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-9f6e0f69cc5a8369492c89eb": { + "quantity": "default_spatial_path_rejected", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/spatially-graded-explicit-defect-qf-dc-v1/quality_gates/default_spatial_path_rejected", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-fd9974513665d1585181b9b1": { + "quantity": "energy_orders_completed", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/spatially-graded-explicit-defect-qf-dc-v1/quality_gates/energy_orders_completed", + "value_sha256": "a3f3f3d70d757b8c2431256d103927dd281998ff60471b38c1707a4604aab672" + }, + "gate_value": { + "operator": "eq", + "limit": 3.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-04933f7a582cd56e7869b645": { + "quantity": "graded_energy_metadata_verified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/spatially-graded-explicit-defect-qf-dc-v1/quality_gates/graded_energy_metadata_verified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-34f628efec0f41cbd485c252": { + "quantity": "graded_model_hashes_verified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/spatially-graded-explicit-defect-qf-dc-v1/quality_gates/graded_model_hashes_verified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-0cd5ee5a2b61292bd9abe134": { + "quantity": "graded_profiles_compiled_verified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/spatially-graded-explicit-defect-qf-dc-v1/quality_gates/graded_profiles_compiled_verified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-6437832f7258363102576ec1": { + "quantity": "graded_topology_verified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/spatially-graded-explicit-defect-qf-dc-v1/quality_gates/graded_topology_verified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-b50b4058d41dae8ead9c01ff": { + "quantity": "max_contact_fermi_level_span_eV", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/spatially-graded-explicit-defect-qf-dc-v1/quality_gates/max_contact_fermi_level_span_eV", + "value_sha256": "aea787a5bcd9497a7ac2e11cce730461635f93203f3958848d7b1fed982ae6ed" + }, + "gate_value": { + "operator": "le", + "limit": 1e-10, + "units": "eV" + }, + "unit": "eV", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-c187c0e86f5cd0098383b4e4": { + "quantity": "max_continuity_bound_A_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/spatially-graded-explicit-defect-qf-dc-v1/quality_gates/max_continuity_bound_A_m2", + "value_sha256": "eb4674202b2c3b3ba6d2ac0ad186fd18278e847425259470433b2548a853fd15" + }, + "gate_value": { + "operator": "le", + "limit": 0.0002, + "units": "A m-2" + }, + "unit": "A m-2", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-7556266eb75ab24e4f237074": { + "quantity": "max_continuous_density_normalization_error", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/spatially-graded-explicit-defect-qf-dc-v1/quality_gates/max_continuous_density_normalization_error", + "value_sha256": "39e4e66bbb6e4817b64fa08c183b4288e6f1103f9264d26c0e87f05a52d9b1d7" + }, + "gate_value": { + "operator": "le", + "limit": 1e-12, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-9681eb25004187c91a628421": { + "quantity": "max_current_spread_A_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/spatially-graded-explicit-defect-qf-dc-v1/quality_gates/max_current_spread_A_m2", + "value_sha256": "eb4674202b2c3b3ba6d2ac0ad186fd18278e847425259470433b2548a853fd15" + }, + "gate_value": { + "operator": "le", + "limit": 0.0002, + "units": "A m-2" + }, + "unit": "A m-2", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-2e4bfdf175b5a35b987f0708": { + "quantity": "max_dark_current_A_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/spatially-graded-explicit-defect-qf-dc-v1/quality_gates/max_dark_current_A_m2", + "value_sha256": "41d2a9851dde20afdaff497627d5d3047ad3e199a5fb3541f04ef0b4ff3dcf50" + }, + "gate_value": { + "operator": "le", + "limit": 1e-06, + "units": "A m-2" + }, + "unit": "A m-2", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-506cb4acef893d714136aa36": { + "quantity": "max_dark_qf_span_V", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/spatially-graded-explicit-defect-qf-dc-v1/quality_gates/max_dark_qf_span_V", + "value_sha256": "25fb0eb5e46c4b98b027609e1d553d6f5f34307283bf4cca0db217e74e81e6e9" + }, + "gate_value": { + "operator": "le", + "limit": 1e-10, + "units": "V" + }, + "unit": "V", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-bf9a07181971a72977679088": { + "quantity": "max_dark_recombination_rate_m3_s", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/spatially-graded-explicit-defect-qf-dc-v1/quality_gates/max_dark_recombination_rate_m3_s", + "value_sha256": "b59f6750facb8cbf9914757855d46c6e837417ea61ba09bad04f9e2dcd432b4a" + }, + "gate_value": { + "operator": "le", + "limit": "1.0e12", + "units": "m-3 s-1" + }, + "unit": "m-3 s-1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-3e8d524080c806a7be70f6a7": { + "quantity": "max_energy_contact_log10_change", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/spatially-graded-explicit-defect-qf-dc-v1/quality_gates/max_energy_contact_log10_change", + "value_sha256": "aead4e79e33097e44b957fdc4e33195e9e372c49eff7b8a169e97bc72400029d" + }, + "gate_value": { + "operator": "le", + "limit": 0.005, + "units": "log10(m-3)" + }, + "unit": "log10(m-3)", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-bb9a4a849577052fbf344dab": { + "quantity": "max_energy_current_relative_change", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/spatially-graded-explicit-defect-qf-dc-v1/quality_gates/max_energy_current_relative_change", + "value_sha256": "9f1d9f717a3ae05d68fa3a1a041701e163907a904c87d6a56a5fda97b7b59dfa" + }, + "gate_value": { + "operator": "le", + "limit": 0.005, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-1d60b1ce12e2201bd5a9a58e": { + "quantity": "max_energy_normalized_charge_change", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/spatially-graded-explicit-defect-qf-dc-v1/quality_gates/max_energy_normalized_charge_change", + "value_sha256": "9f1d9f717a3ae05d68fa3a1a041701e163907a904c87d6a56a5fda97b7b59dfa" + }, + "gate_value": { + "operator": "le", + "limit": 0.005, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-100c4df821cd7759ff661e6e": { + "quantity": "max_energy_occupancy_absolute_change", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/spatially-graded-explicit-defect-qf-dc-v1/quality_gates/max_energy_occupancy_absolute_change", + "value_sha256": "9f1d9f717a3ae05d68fa3a1a041701e163907a904c87d6a56a5fda97b7b59dfa" + }, + "gate_value": { + "operator": "le", + "limit": 0.005, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-60325b9deaf7f1c046849e4f": { + "quantity": "max_energy_potential_change_V", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/spatially-graded-explicit-defect-qf-dc-v1/quality_gates/max_energy_potential_change_V", + "value_sha256": "7e9deea9c0b1d6b0e8810e647f5d09ed89120b7945117bd99f65f8b41f86ecf5" + }, + "gate_value": { + "operator": "le", + "limit": 0.0005, + "units": "V" + }, + "unit": "V", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-3e9147fc8392a1e7c40842ed": { + "quantity": "max_energy_recombination_relative_change", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/spatially-graded-explicit-defect-qf-dc-v1/quality_gates/max_energy_recombination_relative_change", + "value_sha256": "9f1d9f717a3ae05d68fa3a1a041701e163907a904c87d6a56a5fda97b7b59dfa" + }, + "gate_value": { + "operator": "le", + "limit": 0.005, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-0ec4bd9b4188ae6af13d4bb8": { + "quantity": "max_energy_tangent_relative_change", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/spatially-graded-explicit-defect-qf-dc-v1/quality_gates/max_energy_tangent_relative_change", + "value_sha256": "9f1d9f717a3ae05d68fa3a1a041701e163907a904c87d6a56a5fda97b7b59dfa" + }, + "gate_value": { + "operator": "le", + "limit": 0.005, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-d0b866ce13f03b425fe03412": { + "quantity": "max_interface_band_discontinuity_eV", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/spatially-graded-explicit-defect-qf-dc-v1/quality_gates/max_interface_band_discontinuity_eV", + "value_sha256": "bccc167f9d4483b1db84f19285e86059de1042c06c381f3d2f684ca23e51f79b" + }, + "gate_value": { + "operator": "le", + "limit": 1e-12, + "units": "eV" + }, + "unit": "eV", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-2bbdcfd62c45fbdb83e10dc2": { + "quantity": "max_mass_action_relative_error", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/spatially-graded-explicit-defect-qf-dc-v1/quality_gates/max_mass_action_relative_error", + "value_sha256": "d05931d5e401d506375c19c8b7c15d33b614369a54c1d98ca2f90ea1b9fa50a0" + }, + "gate_value": { + "operator": "le", + "limit": 1e-10, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-2faf4c40e00861be5b5de30b": { + "quantity": "max_normalized_cell_residual", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/spatially-graded-explicit-defect-qf-dc-v1/quality_gates/max_normalized_cell_residual", + "value_sha256": "65704c467ce53fcb4b17f009a4b97242f7d1bdef4a3687b2a784d800842196c7" + }, + "gate_value": { + "operator": "le", + "limit": 1e-07, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-ea05d1fdf588d283c8296690": { + "quantity": "max_poisson_residual", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/spatially-graded-explicit-defect-qf-dc-v1/quality_gates/max_poisson_residual", + "value_sha256": "4170b0e30bcaa5acefa62c46b3ac441b4da0a5cdcf850b965fe3426fd5b7f69f" + }, + "gate_value": { + "operator": "le", + "limit": 1e-08, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-109279ed677db5cd885b0906": { + "quantity": "minimum_band_gap_span_eV", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/spatially-graded-explicit-defect-qf-dc-v1/quality_gates/minimum_band_gap_span_eV", + "value_sha256": "2c4f68e80efa14197d52bf16588a0915a6859c456636ddd202d2b977e1969ecd" + }, + "gate_value": { + "operator": "ge", + "limit": 0.03, + "units": "eV" + }, + "unit": "eV", + "norm": "ge", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-caa8a2aa953f34e497713d0d": { + "quantity": "minimum_density_multiplier", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/spatially-graded-explicit-defect-qf-dc-v1/quality_gates/minimum_density_multiplier", + "value_sha256": "90484b95a934d42b207ebc68ddf9343a381c95da2d5ff9e62b952745ddc27d5c" + }, + "gate_value": { + "operator": "ge", + "limit": 0.5, + "units": "1" + }, + "unit": "1", + "norm": "ge", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-db0765ff89f23bbc7fe017a1": { + "quantity": "minimum_kinetic_denominator_s1", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/spatially-graded-explicit-defect-qf-dc-v1/quality_gates/minimum_kinetic_denominator_s1", + "value_sha256": "70702b31176d18c51d87420c0809a663fab16c8a5db2ffccffea8d02210d68d8" + }, + "gate_value": { + "operator": "ge", + "limit": 1.0, + "units": "s-1" + }, + "unit": "s-1", + "norm": "ge", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-e4a50a79e96a9cda2d6105ca": { + "quantity": "minimum_support_margin_eV", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/spatially-graded-explicit-defect-qf-dc-v1/quality_gates/minimum_support_margin_eV", + "value_sha256": "0dca7a23eed83e8907b6f50894f21c865397db1fc18f0905735f26bb0847d32d" + }, + "gate_value": { + "operator": "ge", + "limit": 0.04, + "units": "eV" + }, + "unit": "eV", + "norm": "ge", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-8b18fe9ab80fc07b5a661458": { + "quantity": "occupancy_bounded_without_clipping", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/spatially-graded-explicit-defect-qf-dc-v1/quality_gates/occupancy_bounded_without_clipping", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-e0b18802aff59674d893361e": { + "quantity": "profiled_species_count", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/spatially-graded-explicit-defect-qf-dc-v1/quality_gates/profiled_species_count", + "value_sha256": "a3f3f3d70d757b8c2431256d103927dd281998ff60471b38c1707a4604aab672" + }, + "gate_value": { + "operator": "eq", + "limit": 3.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-46db4835b42843ded35e9cd6": { + "quantity": "source_species_count", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/spatially-graded-explicit-defect-qf-dc-v1/quality_gates/source_species_count", + "value_sha256": "7db3c91ced94b01ca329bcc52e88d232f155a173215b9280053562c4fea62eb8" + }, + "gate_value": { + "operator": "eq", + "limit": 4.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-dbe975b42fa157bbf2c0d909": { + "quantity": "terminal_densities_positive", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/spatially-graded-explicit-defect-qf-dc-v1/quality_gates/terminal_densities_positive", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-3da0af6c9f68dfa1348e53dd": { + "quantity": "voltage_points_completed", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/spatially-graded-explicit-defect-qf-dc-v1/quality_gates/voltage_points_completed", + "value_sha256": "a3f3f3d70d757b8c2431256d103927dd281998ff60471b38c1707a4604aab672" + }, + "gate_value": { + "operator": "eq", + "limit": 3.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-599495db034980415df3ef77": { + "quantity": "built_in_potential_V", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/spatially-graded-explicit-defect-qf-dc-v2/observables/built_in_potential_V", + "value_sha256": "e9fdde81a647a15a086f5e1e48292bdc1cc7336882b754f915e41a3f4533c164" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.0001, + "units": "V" + }, + "unit": "V", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-e53f6b9ff728448d3dee8742": { + "quantity": "contact_reservoir_log10_m3", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/spatially-graded-explicit-defect-qf-dc-v2/observables/contact_reservoir_log10_m3", + "value_sha256": "cb5e0f36e26dbdac2e0980cb9b77f2c40417239f9e4bbfe1484b54ff768f258f" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.005, + "units": "log10(m-3)" + }, + "unit": "log10(m-3)", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-6057fec66438774089529ae5": { + "quantity": "dark_band_gap_eV_profile", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/spatially-graded-explicit-defect-qf-dc-v2/observables/dark_band_gap_eV_profile", + "value_sha256": "83f53b749ad91bba4a2b36f516449fac6cf07b85801a593fd9c917b8b961ce59" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 1e-12, + "units": "eV" + }, + "unit": "eV", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-c7e76cf94de5adf9769c4abd": { + "quantity": "dark_electron_affinity_eV_profile", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/spatially-graded-explicit-defect-qf-dc-v2/observables/dark_electron_affinity_eV_profile", + "value_sha256": "83f53b749ad91bba4a2b36f516449fac6cf07b85801a593fd9c917b8b961ce59" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 1e-12, + "units": "eV" + }, + "unit": "eV", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-ffd68c9cda8ec5e52ade759d": { + "quantity": "dark_electron_log10_profile", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/spatially-graded-explicit-defect-qf-dc-v2/observables/dark_electron_log10_profile", + "value_sha256": "773de7f3198c4086a38e0befaca6e378d5873899fe2cafb84798947a81a06a92" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.01, + "units": "log10(m-3)" + }, + "unit": "log10(m-3)", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-3b3c761ed0654e69c889c733": { + "quantity": "dark_hole_log10_profile", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/spatially-graded-explicit-defect-qf-dc-v2/observables/dark_hole_log10_profile", + "value_sha256": "773de7f3198c4086a38e0befaca6e378d5873899fe2cafb84798947a81a06a92" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.01, + "units": "log10(m-3)" + }, + "unit": "log10(m-3)", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-5696b4b75ccd073228d64047": { + "quantity": "dark_potential_V", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/spatially-graded-explicit-defect-qf-dc-v2/observables/dark_potential_V", + "value_sha256": "ec5dc88fa6879fb176ca70df75d2a44a6b753559e12be822c8a40456fb217092" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.0005, + "units": "V" + }, + "unit": "V", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-ef3195e79db7728095d5173c": { + "quantity": "dark_source_density_multiplier_profile", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/spatially-graded-explicit-defect-qf-dc-v2/observables/dark_source_density_multiplier_profile", + "value_sha256": "9ef432633eced5828d07e99472cfe3e3351d752c4d73cda25e7769f254d00ef0" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 1e-12, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-cec4cf36f53e9d5da02bd8ed": { + "quantity": "dark_source_normalized_charge_profile", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/spatially-graded-explicit-defect-qf-dc-v2/observables/dark_source_normalized_charge_profile", + "value_sha256": "21c88fa6fe8abb8703e3781940725ca336c1b2afe0a5d439622e2095feb2512a" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.005, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-0f5046ca24b01bdf8a20d73e": { + "quantity": "dark_source_occupancy_profile", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/spatially-graded-explicit-defect-qf-dc-v2/observables/dark_source_occupancy_profile", + "value_sha256": "21c88fa6fe8abb8703e3781940725ca336c1b2afe0a5d439622e2095feb2512a" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.005, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-a96e77576c295f31e186852a": { + "quantity": "integrated_source_charge_C_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/spatially-graded-explicit-defect-qf-dc-v2/observables/integrated_source_charge_C_m2", + "value_sha256": "2071f26873890afdb48cd7c7c1be49e3bdb724ecec6b9429d039f9dc8138e9da" + }, + "gate_value": { + "comparison": "relative_linf", + "limit": 0.005, + "units": "C m-2" + }, + "unit": "C m-2", + "norm": "relative_linf", + "scale": { + "kind": "original_symmetric_pair_scale", + "relative_floor": 1e-30 + }, + "zero_policy": { + "kind": "original_relative_floor", + "value": 1e-30 + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-fca70b3d2e22c65ebbed0659": { + "quantity": "jv_current_A_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/spatially-graded-explicit-defect-qf-dc-v2/observables/jv_current_A_m2", + "value_sha256": "32ab8b7207f5095d8fa04ce6cfbdd73ae895e6d320cd839283d076a2bb30cce3" + }, + "gate_value": { + "comparison": "relative_linf", + "limit": 0.002, + "units": "A m-2" + }, + "unit": "A m-2", + "norm": "relative_linf", + "scale": { + "kind": "original_symmetric_pair_scale", + "relative_floor": 1e-30 + }, + "zero_policy": { + "kind": "original_relative_floor", + "value": 1e-30 + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-a5568ac78b5a6fe794e00c71": { + "quantity": "short_circuit_current_A_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/spatially-graded-explicit-defect-qf-dc-v2/observables/short_circuit_current_A_m2", + "value_sha256": "32ab8b7207f5095d8fa04ce6cfbdd73ae895e6d320cd839283d076a2bb30cce3" + }, + "gate_value": { + "comparison": "relative_linf", + "limit": 0.002, + "units": "A m-2" + }, + "unit": "A m-2", + "norm": "relative_linf", + "scale": { + "kind": "original_symmetric_pair_scale", + "relative_floor": 1e-30 + }, + "zero_policy": { + "kind": "original_relative_floor", + "value": 1e-30 + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-e966f6023c396c660acf200b": { + "quantity": "all_states_certified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/spatially-graded-explicit-defect-qf-dc-v2/quality_gates/all_states_certified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-416fdf3deb7c05bfa83d6c88": { + "quantity": "contact_endpoints_verified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/spatially-graded-explicit-defect-qf-dc-v2/quality_gates/contact_endpoints_verified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-35ab6810183866af90647a94": { + "quantity": "contact_thermodynamics_certified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/spatially-graded-explicit-defect-qf-dc-v2/quality_gates/contact_thermodynamics_certified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-b065212c31dfd26300b2b8c0": { + "quantity": "default_spatial_path_rejected", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/spatially-graded-explicit-defect-qf-dc-v2/quality_gates/default_spatial_path_rejected", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-e9052071258766df7fc894bf": { + "quantity": "energy_orders_completed", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/spatially-graded-explicit-defect-qf-dc-v2/quality_gates/energy_orders_completed", + "value_sha256": "a3f3f3d70d757b8c2431256d103927dd281998ff60471b38c1707a4604aab672" + }, + "gate_value": { + "operator": "eq", + "limit": 3.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-c3bfb64d788ba6354bfb6f34": { + "quantity": "graded_energy_metadata_verified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/spatially-graded-explicit-defect-qf-dc-v2/quality_gates/graded_energy_metadata_verified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-924dfd6810c8458fb14e055e": { + "quantity": "graded_model_hashes_verified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/spatially-graded-explicit-defect-qf-dc-v2/quality_gates/graded_model_hashes_verified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-3ca06db69953bd7de2e9fa4a": { + "quantity": "graded_profiles_compiled_verified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/spatially-graded-explicit-defect-qf-dc-v2/quality_gates/graded_profiles_compiled_verified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-ed080bb5333091392be55550": { + "quantity": "graded_topology_verified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/spatially-graded-explicit-defect-qf-dc-v2/quality_gates/graded_topology_verified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-b9b144ad4fbd4464c52cceb9": { + "quantity": "max_contact_fermi_level_span_eV", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/spatially-graded-explicit-defect-qf-dc-v2/quality_gates/max_contact_fermi_level_span_eV", + "value_sha256": "aea787a5bcd9497a7ac2e11cce730461635f93203f3958848d7b1fed982ae6ed" + }, + "gate_value": { + "operator": "le", + "limit": 1e-10, + "units": "eV" + }, + "unit": "eV", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-2c4f1d10f724024f810c35ba": { + "quantity": "max_continuity_bound_A_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/spatially-graded-explicit-defect-qf-dc-v2/quality_gates/max_continuity_bound_A_m2", + "value_sha256": "eb4674202b2c3b3ba6d2ac0ad186fd18278e847425259470433b2548a853fd15" + }, + "gate_value": { + "operator": "le", + "limit": 0.0002, + "units": "A m-2" + }, + "unit": "A m-2", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-2eb45091a5046caf3c4782a3": { + "quantity": "max_continuous_density_normalization_error", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/spatially-graded-explicit-defect-qf-dc-v2/quality_gates/max_continuous_density_normalization_error", + "value_sha256": "39e4e66bbb6e4817b64fa08c183b4288e6f1103f9264d26c0e87f05a52d9b1d7" + }, + "gate_value": { + "operator": "le", + "limit": 1e-12, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-e318afd02ee46487a3d56de0": { + "quantity": "max_current_spread_A_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/spatially-graded-explicit-defect-qf-dc-v2/quality_gates/max_current_spread_A_m2", + "value_sha256": "eb4674202b2c3b3ba6d2ac0ad186fd18278e847425259470433b2548a853fd15" + }, + "gate_value": { + "operator": "le", + "limit": 0.0002, + "units": "A m-2" + }, + "unit": "A m-2", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-7741bd8893d226145d130e3c": { + "quantity": "max_dark_current_A_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/spatially-graded-explicit-defect-qf-dc-v2/quality_gates/max_dark_current_A_m2", + "value_sha256": "41d2a9851dde20afdaff497627d5d3047ad3e199a5fb3541f04ef0b4ff3dcf50" + }, + "gate_value": { + "operator": "le", + "limit": 1e-06, + "units": "A m-2" + }, + "unit": "A m-2", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-18631ad599e4913f1885586d": { + "quantity": "max_dark_qf_span_V", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/spatially-graded-explicit-defect-qf-dc-v2/quality_gates/max_dark_qf_span_V", + "value_sha256": "25fb0eb5e46c4b98b027609e1d553d6f5f34307283bf4cca0db217e74e81e6e9" + }, + "gate_value": { + "operator": "le", + "limit": 1e-10, + "units": "V" + }, + "unit": "V", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-a7bb37b00c7c30bd7b3d685c": { + "quantity": "max_dark_recombination_rate_m3_s", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/spatially-graded-explicit-defect-qf-dc-v2/quality_gates/max_dark_recombination_rate_m3_s", + "value_sha256": "b59f6750facb8cbf9914757855d46c6e837417ea61ba09bad04f9e2dcd432b4a" + }, + "gate_value": { + "operator": "le", + "limit": "1.0e12", + "units": "m-3 s-1" + }, + "unit": "m-3 s-1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-9c29e29809829601e5f8a9a3": { + "quantity": "max_energy_contact_log10_change", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/spatially-graded-explicit-defect-qf-dc-v2/quality_gates/max_energy_contact_log10_change", + "value_sha256": "aead4e79e33097e44b957fdc4e33195e9e372c49eff7b8a169e97bc72400029d" + }, + "gate_value": { + "operator": "le", + "limit": 0.005, + "units": "log10(m-3)" + }, + "unit": "log10(m-3)", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-47df80ccf79ba4fbc91cb28f": { + "quantity": "max_energy_current_relative_change", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/spatially-graded-explicit-defect-qf-dc-v2/quality_gates/max_energy_current_relative_change", + "value_sha256": "9f1d9f717a3ae05d68fa3a1a041701e163907a904c87d6a56a5fda97b7b59dfa" + }, + "gate_value": { + "operator": "le", + "limit": 0.005, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-2376c1d60b18e56fda7d1d01": { + "quantity": "max_energy_normalized_charge_change", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/spatially-graded-explicit-defect-qf-dc-v2/quality_gates/max_energy_normalized_charge_change", + "value_sha256": "9f1d9f717a3ae05d68fa3a1a041701e163907a904c87d6a56a5fda97b7b59dfa" + }, + "gate_value": { + "operator": "le", + "limit": 0.005, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-2b3c5dd80f60e7889ddf31eb": { + "quantity": "max_energy_occupancy_absolute_change", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/spatially-graded-explicit-defect-qf-dc-v2/quality_gates/max_energy_occupancy_absolute_change", + "value_sha256": "9f1d9f717a3ae05d68fa3a1a041701e163907a904c87d6a56a5fda97b7b59dfa" + }, + "gate_value": { + "operator": "le", + "limit": 0.005, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-49fd4bc7c60bf99072ed46db": { + "quantity": "max_energy_potential_change_V", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/spatially-graded-explicit-defect-qf-dc-v2/quality_gates/max_energy_potential_change_V", + "value_sha256": "7e9deea9c0b1d6b0e8810e647f5d09ed89120b7945117bd99f65f8b41f86ecf5" + }, + "gate_value": { + "operator": "le", + "limit": 0.0005, + "units": "V" + }, + "unit": "V", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-3b82effb0b578b3978052619": { + "quantity": "max_energy_recombination_relative_change", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/spatially-graded-explicit-defect-qf-dc-v2/quality_gates/max_energy_recombination_relative_change", + "value_sha256": "9f1d9f717a3ae05d68fa3a1a041701e163907a904c87d6a56a5fda97b7b59dfa" + }, + "gate_value": { + "operator": "le", + "limit": 0.005, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-123af95150ee827ef90217b2": { + "quantity": "max_energy_tangent_relative_change", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/spatially-graded-explicit-defect-qf-dc-v2/quality_gates/max_energy_tangent_relative_change", + "value_sha256": "9f1d9f717a3ae05d68fa3a1a041701e163907a904c87d6a56a5fda97b7b59dfa" + }, + "gate_value": { + "operator": "le", + "limit": 0.005, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-076b5e6307485f9690d5f165": { + "quantity": "max_interface_band_discontinuity_eV", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/spatially-graded-explicit-defect-qf-dc-v2/quality_gates/max_interface_band_discontinuity_eV", + "value_sha256": "bccc167f9d4483b1db84f19285e86059de1042c06c381f3d2f684ca23e51f79b" + }, + "gate_value": { + "operator": "le", + "limit": 1e-12, + "units": "eV" + }, + "unit": "eV", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-489d70966723b90f38bbec35": { + "quantity": "max_mass_action_relative_error", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/spatially-graded-explicit-defect-qf-dc-v2/quality_gates/max_mass_action_relative_error", + "value_sha256": "d05931d5e401d506375c19c8b7c15d33b614369a54c1d98ca2f90ea1b9fa50a0" + }, + "gate_value": { + "operator": "le", + "limit": 1e-10, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-57811c18c6367bc0949b9024": { + "quantity": "max_normalized_cell_residual", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/spatially-graded-explicit-defect-qf-dc-v2/quality_gates/max_normalized_cell_residual", + "value_sha256": "65704c467ce53fcb4b17f009a4b97242f7d1bdef4a3687b2a784d800842196c7" + }, + "gate_value": { + "operator": "le", + "limit": 1e-07, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-d4e470cffaa37b4b18de4d38": { + "quantity": "max_poisson_residual", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/spatially-graded-explicit-defect-qf-dc-v2/quality_gates/max_poisson_residual", + "value_sha256": "4170b0e30bcaa5acefa62c46b3ac441b4da0a5cdcf850b965fe3426fd5b7f69f" + }, + "gate_value": { + "operator": "le", + "limit": 1e-08, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-66c2a573ee2ba4ee07661a03": { + "quantity": "minimum_band_gap_span_eV", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/spatially-graded-explicit-defect-qf-dc-v2/quality_gates/minimum_band_gap_span_eV", + "value_sha256": "2c4f68e80efa14197d52bf16588a0915a6859c456636ddd202d2b977e1969ecd" + }, + "gate_value": { + "operator": "ge", + "limit": 0.03, + "units": "eV" + }, + "unit": "eV", + "norm": "ge", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-ab9cb61f75054a389c68d11f": { + "quantity": "minimum_density_multiplier", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/spatially-graded-explicit-defect-qf-dc-v2/quality_gates/minimum_density_multiplier", + "value_sha256": "90484b95a934d42b207ebc68ddf9343a381c95da2d5ff9e62b952745ddc27d5c" + }, + "gate_value": { + "operator": "ge", + "limit": 0.5, + "units": "1" + }, + "unit": "1", + "norm": "ge", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-cb70a871dd0b254b36392b16": { + "quantity": "minimum_kinetic_denominator_s1", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/spatially-graded-explicit-defect-qf-dc-v2/quality_gates/minimum_kinetic_denominator_s1", + "value_sha256": "70702b31176d18c51d87420c0809a663fab16c8a5db2ffccffea8d02210d68d8" + }, + "gate_value": { + "operator": "ge", + "limit": 1.0, + "units": "s-1" + }, + "unit": "s-1", + "norm": "ge", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-5ce83a554b6a61d95659a383": { + "quantity": "minimum_support_margin_eV", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/spatially-graded-explicit-defect-qf-dc-v2/quality_gates/minimum_support_margin_eV", + "value_sha256": "0dca7a23eed83e8907b6f50894f21c865397db1fc18f0905735f26bb0847d32d" + }, + "gate_value": { + "operator": "ge", + "limit": 0.04, + "units": "eV" + }, + "unit": "eV", + "norm": "ge", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-2a4d009e4c446319a693cf1e": { + "quantity": "occupancy_bounded_without_clipping", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/spatially-graded-explicit-defect-qf-dc-v2/quality_gates/occupancy_bounded_without_clipping", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-57ea2c4edc03c1e52a3f2a40": { + "quantity": "profiled_species_count", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/spatially-graded-explicit-defect-qf-dc-v2/quality_gates/profiled_species_count", + "value_sha256": "a3f3f3d70d757b8c2431256d103927dd281998ff60471b38c1707a4604aab672" + }, + "gate_value": { + "operator": "eq", + "limit": 3.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-6965da0953c0dd8860494484": { + "quantity": "source_species_count", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/spatially-graded-explicit-defect-qf-dc-v2/quality_gates/source_species_count", + "value_sha256": "7db3c91ced94b01ca329bcc52e88d232f155a173215b9280053562c4fea62eb8" + }, + "gate_value": { + "operator": "eq", + "limit": 4.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-887886d2f300cd65222166ec": { + "quantity": "terminal_densities_positive", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/spatially-graded-explicit-defect-qf-dc-v2/quality_gates/terminal_densities_positive", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-0219217404fb81a0eda702e6": { + "quantity": "voltage_points_completed", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/spatially-graded-explicit-defect-qf-dc-v2/quality_gates/voltage_points_completed", + "value_sha256": "a3f3f3d70d757b8c2431256d103927dd281998ff60471b38c1707a4604aab672" + }, + "gate_value": { + "operator": "eq", + "limit": 3.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-4e00bd7c43a88f316645aed6": { + "quantity": "complete_terminal_current_A_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/twod-mobile-ion-interface-srh-v1/observables/complete_terminal_current_A_m2", + "value_sha256": "65411d53c8a4a05e29d0e07aaadcb6e20a84eff6960f17dffa10b86a8a8c4357" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.0075, + "units": "A m-2" + }, + "unit": "A m-2", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-86a671b77bb154b6ff4a05fe": { + "quantity": "interface_recombination_current_A_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/twod-mobile-ion-interface-srh-v1/observables/interface_recombination_current_A_m2", + "value_sha256": "872768925c1b6e21b57f725285acc40b734f8cf40a8dd19725af0ac329db4884" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 5e-09, + "units": "A m-2" + }, + "unit": "A m-2", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-d21e16329274c8f20ec383b1": { + "quantity": "lateral_carrier_variation_relative", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/twod-mobile-ion-interface-srh-v1/observables/lateral_carrier_variation_relative", + "value_sha256": "6304e9b7889128b4178bd5dd8397b419e1d33129ff2321ee8f9781cfce01fb31" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.0005, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-b9981c1e4bf1ab0decfe0486": { + "quantity": "max_mobile_ion_site_fraction", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/twod-mobile-ion-interface-srh-v1/observables/max_mobile_ion_site_fraction", + "value_sha256": "6b538016309cb2b05cc3a93124e3a01d2b67e6ae51dce5d5f5fc00c4678d706e" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.0001, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-0288b96c57c02d1909304abb": { + "quantity": "mobile_ion_relative_redistribution", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/twod-mobile-ion-interface-srh-v1/observables/mobile_ion_relative_redistribution", + "value_sha256": "6304e9b7889128b4178bd5dd8397b419e1d33129ff2321ee8f9781cfce01fb31" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.0005, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-fcae8dd5ff230bbaf5f4b408": { + "quantity": "active_ion_density_positive", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/twod-mobile-ion-interface-srh-v1/quality_gates/active_ion_density_positive", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-a39dec7b8b2ff5aa2fb7f424": { + "quantity": "clamp_inactive_slice_verified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/twod-mobile-ion-interface-srh-v1/quality_gates/clamp_inactive_slice_verified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-34c85324203135d657a732ab": { + "quantity": "combined_gb_ion_interface_topology_verified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/twod-mobile-ion-interface-srh-v1/quality_gates/combined_gb_ion_interface_topology_verified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-9129d2c415b2ae3b4d1479f5": { + "quantity": "explicit_execution_protocol_verified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/twod-mobile-ion-interface-srh-v1/quality_gates/explicit_execution_protocol_verified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-99d0752e0bf2b7897969ce8b": { + "quantity": "ion_diagnostics_passed", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/twod-mobile-ion-interface-srh-v1/quality_gates/ion_diagnostics_passed", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-48b4f888f16313aca0c9e348": { + "quantity": "interface_rates_finite", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/twod-mobile-ion-interface-srh-v1/quality_gates/interface_rates_finite", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-6a310a704a3ee8ea31c16c1e": { + "quantity": "interface_rates_positive", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/twod-mobile-ion-interface-srh-v1/quality_gates/interface_rates_positive", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-834cba93c1852138bca4c02f": { + "quantity": "max_complete_current_face_spread_A_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/twod-mobile-ion-interface-srh-v1/quality_gates/max_complete_current_face_spread_A_m2", + "value_sha256": "03745461df7858a269f42f9fc133d44a4d028f3ca8438e6d9251a65701ea5934" + }, + "gate_value": { + "operator": "le", + "limit": 1e-10, + "units": "A m-2" + }, + "unit": "A m-2", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-ba3baa596bff4ecef2e4835e": { + "quantity": "max_current_decomposition_relative_error", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/twod-mobile-ion-interface-srh-v1/quality_gates/max_current_decomposition_relative_error", + "value_sha256": "39e4e66bbb6e4817b64fa08c183b4288e6f1103f9264d26c0e87f05a52d9b1d7" + }, + "gate_value": { + "operator": "le", + "limit": 1e-12, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-429cf1f06685d1b72d329b6c": { + "quantity": "max_grain_boundary_width_relative_error", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/twod-mobile-ion-interface-srh-v1/quality_gates/max_grain_boundary_width_relative_error", + "value_sha256": "39e4e66bbb6e4817b64fa08c183b4288e6f1103f9264d26c0e87f05a52d9b1d7" + }, + "gate_value": { + "operator": "le", + "limit": 1e-12, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-89d109b9b2fa4f40f7aff53c": { + "quantity": "max_ion_inventory_relative_drift", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/twod-mobile-ion-interface-srh-v1/quality_gates/max_ion_inventory_relative_drift", + "value_sha256": "3a640d73a3706289c46bc018d861d6926fc002e81495e015b5ec80d9a776e197" + }, + "gate_value": { + "operator": "le", + "limit": 1e-09, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-26c9a90feaf283167fad66f0": { + "quantity": "minimum_lateral_carrier_variation_relative", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/twod-mobile-ion-interface-srh-v1/quality_gates/minimum_lateral_carrier_variation_relative", + "value_sha256": "2ec9a0fdb4e325d81571d3cfe64239d400c5d92b28a3a2a086117dfa9956d70b" + }, + "gate_value": { + "operator": "ge", + "limit": 0.0001, + "units": "1" + }, + "unit": "1", + "norm": "ge", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-e1e74054569b60184c8cdf8b": { + "quantity": "minimum_mobile_ion_relative_redistribution", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/twod-mobile-ion-interface-srh-v1/quality_gates/minimum_mobile_ion_relative_redistribution", + "value_sha256": "2ec9a0fdb4e325d81571d3cfe64239d400c5d92b28a3a2a086117dfa9956d70b" + }, + "gate_value": { + "operator": "ge", + "limit": 0.0001, + "units": "1" + }, + "unit": "1", + "norm": "ge", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-0b39361aab311c79b90bdd07": { + "quantity": "site_occupancy_admissible", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/twod-mobile-ion-interface-srh-v1/quality_gates/site_occupancy_admissible", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-04e38abdac8abec7cf57b4b5": { + "quantity": "terminal_carrier_densities_positive", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/twod-mobile-ion-interface-srh-v1/quality_gates/terminal_carrier_densities_positive", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-be37ad1e3505c362326e6855": { + "quantity": "voltage_points_completed", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/twod-mobile-ion-interface-srh-v1/quality_gates/voltage_points_completed", + "value_sha256": "a3f3f3d70d757b8c2431256d103927dd281998ff60471b38c1707a4604aab672" + }, + "gate_value": { + "operator": "eq", + "limit": 3.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-b94126e23b68e74e98b42d37": { + "quantity": "jv_2d_to_1d_normalized_difference", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/twod-uniform-limit/observables/jv_2d_to_1d_normalized_difference", + "value_sha256": "21c88fa6fe8abb8703e3781940725ca336c1b2afe0a5d439622e2095feb2512a" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.005, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-258ef21f34ab365d998633ba": { + "quantity": "voc_2d_V", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/twod-uniform-limit/observables/voc_2d_V", + "value_sha256": "5c50fedcb008e35d34c6b96d54e9f1fac71a39749267c7732e193163a248aa5a" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.001, + "units": "V" + }, + "unit": "V", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-711800445728a00f95f380d8": { + "quantity": "jsc_2d_A_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/twod-uniform-limit/observables/jsc_2d_A_m2", + "value_sha256": "32ab8b7207f5095d8fa04ce6cfbdd73ae895e6d320cd839283d076a2bb30cce3" + }, + "gate_value": { + "comparison": "relative_linf", + "limit": 0.002, + "units": "A m-2" + }, + "unit": "A m-2", + "norm": "relative_linf", + "scale": { + "kind": "original_symmetric_pair_scale", + "relative_floor": 1e-30 + }, + "zero_policy": { + "kind": "original_relative_floor", + "value": 1e-30 + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-ecffa1d4fbab7ffc2942566f": { + "quantity": "max_abs_2d_to_1d_normalized_difference", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/twod-uniform-limit/quality_gates/max_abs_2d_to_1d_normalized_difference", + "value_sha256": "9f1d9f717a3ae05d68fa3a1a041701e163907a904c87d6a56a5fda97b7b59dfa" + }, + "gate_value": { + "operator": "le", + "limit": 0.005, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-ff3acab3d0acdc2891ea2c32": { + "quantity": "max_charge_residual_relative", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/twod-uniform-limit/quality_gates/max_charge_residual_relative", + "value_sha256": "e64c71c4a33aea28b4b37bd35efcebc3372fffac64ef65639db94f57ff62a79f" + }, + "gate_value": { + "operator": "le", + "limit": 1e-06, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-981e68964d17c4036e090b74": { + "quantity": "max_current_conservation_relative", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/twod-uniform-limit/quality_gates/max_current_conservation_relative", + "value_sha256": "9f1d9f717a3ae05d68fa3a1a041701e163907a904c87d6a56a5fda97b7b59dfa" + }, + "gate_value": { + "operator": "le", + "limit": 0.005, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-53bbe9f814230c958818d058": { + "quantity": "max_lateral_carrier_variation_relative", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/twod-uniform-limit/quality_gates/max_lateral_carrier_variation_relative", + "value_sha256": "4170b0e30bcaa5acefa62c46b3ac441b4da0a5cdcf850b965fe3426fd5b7f69f" + }, + "gate_value": { + "operator": "le", + "limit": 1e-08, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-29514c0546c437777fdb9f8b": { + "quantity": "frozen_ion_scope_declared", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/twod-uniform-limit/quality_gates/frozen_ion_scope_declared", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-a0a29e258b24d630607bdfd3": { + "quantity": "one_d_jv_certified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/twod-uniform-limit/quality_gates/one_d_jv_certified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-8e1792fa2b8fe9eac8a5ad76": { + "quantity": "voc_bracketed", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/twod-uniform-limit/quality_gates/voc_bracketed", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-14fd4538d562c16830519503": { + "quantity": "dark_terminal_current_A_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/wkb-resolved-intraband-qf-dc-v2/observables/dark_terminal_current_A_m2", + "value_sha256": "40ed8546ec0f3200d348d311e314ed264a72dbf9ac3b947511fa90e57106c675" + }, + "gate_value": { + "comparison": "relative_linf", + "limit": 0.001, + "units": "A m-2" + }, + "unit": "A m-2", + "norm": "relative_linf", + "scale": { + "kind": "original_symmetric_pair_scale", + "relative_floor": 1e-30 + }, + "zero_policy": { + "kind": "original_relative_floor", + "value": 1e-30 + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-2e5b7c71d3d3843f65eb92aa": { + "quantity": "disabled_terminal_current_A_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/wkb-resolved-intraband-qf-dc-v2/observables/disabled_terminal_current_A_m2", + "value_sha256": "40ed8546ec0f3200d348d311e314ed264a72dbf9ac3b947511fa90e57106c675" + }, + "gate_value": { + "comparison": "relative_linf", + "limit": 0.001, + "units": "A m-2" + }, + "unit": "A m-2", + "norm": "relative_linf", + "scale": { + "kind": "original_symmetric_pair_scale", + "relative_floor": 1e-30 + }, + "zero_policy": { + "kind": "original_relative_floor", + "value": 1e-30 + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-3e67d45460ef08448817d5e8": { + "quantity": "terminal_tunnelling_effect_A_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/wkb-resolved-intraband-qf-dc-v2/observables/terminal_tunnelling_effect_A_m2", + "value_sha256": "0264977486beb2cb71082de1ef0681c90af17438d5adbde02f6c27c5214c8416" + }, + "gate_value": { + "comparison": "relative_linf", + "limit": 0.01, + "units": "A m-2" + }, + "unit": "A m-2", + "norm": "relative_linf", + "scale": { + "kind": "original_symmetric_pair_scale", + "relative_floor": 1e-30 + }, + "zero_policy": { + "kind": "original_relative_floor", + "value": 1e-30 + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-9de64bdc33050178a25dbb8d": { + "quantity": "intraband_event_flux_m2_s", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/wkb-resolved-intraband-qf-dc-v2/observables/intraband_event_flux_m2_s", + "value_sha256": "6b5af76390aa7d87c105d276bb03f2df3796405401bf5c2c52026d790f655a7f" + }, + "gate_value": { + "comparison": "relative_linf", + "limit": 0.01, + "units": "m-2 s-1" + }, + "unit": "m-2 s-1", + "norm": "relative_linf", + "scale": { + "kind": "original_symmetric_pair_scale", + "relative_floor": 1e-30 + }, + "zero_policy": { + "kind": "original_relative_floor", + "value": 1e-30 + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-21c7c1b38c2077e683c56d97": { + "quantity": "maximum_local_tunnelling_current_A_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/wkb-resolved-intraband-qf-dc-v2/observables/maximum_local_tunnelling_current_A_m2", + "value_sha256": "0264977486beb2cb71082de1ef0681c90af17438d5adbde02f6c27c5214c8416" + }, + "gate_value": { + "comparison": "relative_linf", + "limit": 0.01, + "units": "A m-2" + }, + "unit": "A m-2", + "norm": "relative_linf", + "scale": { + "kind": "original_symmetric_pair_scale", + "relative_floor": 1e-30 + }, + "zero_policy": { + "kind": "original_relative_floor", + "value": 1e-30 + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-cda78af8941fbd1a089b5818": { + "quantity": "barrier_base_eV", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/wkb-resolved-intraband-qf-dc-v2/observables/barrier_base_eV", + "value_sha256": "e6fd3d2c3c7ac246c4e1baad1754af0424b91d4abb69b02eec560a792a6bc3de" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.0001, + "units": "eV" + }, + "unit": "eV", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-32aebb5aa258d435060c6a0a": { + "quantity": "barrier_peak_eV", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/wkb-resolved-intraband-qf-dc-v2/observables/barrier_peak_eV", + "value_sha256": "e6fd3d2c3c7ac246c4e1baad1754af0424b91d4abb69b02eec560a792a6bc3de" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.0001, + "units": "eV" + }, + "unit": "eV", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-ca0e309054b3a52f401ad543": { + "quantity": "action_at_energy_fractions", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/wkb-resolved-intraband-qf-dc-v2/observables/action_at_energy_fractions", + "value_sha256": "53ceb623c76035b2d3a89d5f154db2c93efd95547b58c05d6c82f1f9bcd45ce0" + }, + "gate_value": { + "comparison": "relative_linf", + "limit": 0.005, + "units": "1" + }, + "unit": "1", + "norm": "relative_linf", + "scale": { + "kind": "original_symmetric_pair_scale", + "relative_floor": 1e-30 + }, + "zero_policy": { + "kind": "original_relative_floor", + "value": 1e-30 + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-b191a8ecba43b212ab92f366": { + "quantity": "potential_profile_V", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/wkb-resolved-intraband-qf-dc-v2/observables/potential_profile_V", + "value_sha256": "e9fdde81a647a15a086f5e1e48292bdc1cc7336882b754f915e41a3f4533c164" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.0001, + "units": "V" + }, + "unit": "V", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-2c95a816ff8272da23ca1f47": { + "quantity": "electron_log_density_profile", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/wkb-resolved-intraband-qf-dc-v2/observables/electron_log_density_profile", + "value_sha256": "7615fe895406e0ff5423675e899e91e615d4c26e5a3b6d508dfe72ce40dbf55d" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.01, + "units": "1" + }, + "unit": "1", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-de35dd7b05f2c7e3e09a8d31": { + "quantity": "physical_electron_fermi_profile_eV", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/wkb-resolved-intraband-qf-dc-v2/observables/physical_electron_fermi_profile_eV", + "value_sha256": "e6fd3d2c3c7ac246c4e1baad1754af0424b91d4abb69b02eec560a792a6bc3de" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.0001, + "units": "eV" + }, + "unit": "eV", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-e139311dab6844d360e2c2d4": { + "quantity": "all_states_certified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/wkb-resolved-intraband-qf-dc-v2/quality_gates/all_states_certified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-3abbf19360b057357116d6a5": { + "quantity": "contact_thermodynamics_consistent", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/wkb-resolved-intraband-qf-dc-v2/quality_gates/contact_thermodynamics_consistent", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-802381e73bf88a1a201a4a33": { + "quantity": "energy_orders_completed", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/wkb-resolved-intraband-qf-dc-v2/quality_gates/energy_orders_completed", + "value_sha256": "a3f3f3d70d757b8c2431256d103927dd281998ff60471b38c1707a4604aab672" + }, + "gate_value": { + "operator": "eq", + "limit": 3.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-b2c170c66b8e73d0daeca937": { + "quantity": "max_energy_event_flux_relative_change", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/wkb-resolved-intraband-qf-dc-v2/quality_gates/max_energy_event_flux_relative_change", + "value_sha256": "9f1d9f717a3ae05d68fa3a1a041701e163907a904c87d6a56a5fda97b7b59dfa" + }, + "gate_value": { + "operator": "le", + "limit": 0.005, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-dd5fba0ab46298bfe87057d1": { + "quantity": "max_energy_terminal_effect_relative_change", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/wkb-resolved-intraband-qf-dc-v2/quality_gates/max_energy_terminal_effect_relative_change", + "value_sha256": "9f1d9f717a3ae05d68fa3a1a041701e163907a904c87d6a56a5fda97b7b59dfa" + }, + "gate_value": { + "operator": "le", + "limit": 0.005, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-a083bf8cee16d3dde1f080e9": { + "quantity": "terminal_effect_fraction", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/wkb-resolved-intraband-qf-dc-v2/quality_gates/terminal_effect_fraction", + "value_sha256": "d52d3884ca27e8e29292fe71004c8aa8b2caf7a30dd56639bbe52b874e5943b6" + }, + "gate_value": { + "operator": "ge", + "limit": 0.01, + "units": "1" + }, + "unit": "1", + "norm": "ge", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-72372f706fbb6bf9ab76a5ed": { + "quantity": "equilibrium_terminal_current_A_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/wkb-resolved-intraband-qf-dc-v2/quality_gates/equilibrium_terminal_current_A_m2", + "value_sha256": "76de35d7d014279169cb5824bf5a6fcddddab0c729d2c61073afad59c73774d2" + }, + "gate_value": { + "operator": "le", + "limit": 0.0001, + "units": "A m-2" + }, + "unit": "A m-2", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-e4ba88e6cccf747bfdb682bb": { + "quantity": "equilibrium_tunnelling_current_A_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/wkb-resolved-intraband-qf-dc-v2/quality_gates/equilibrium_tunnelling_current_A_m2", + "value_sha256": "f48b3ad5bcd8d136080c6ee89c7badef8cc80c467ca1ca51a77a98007331ecb3" + }, + "gate_value": { + "operator": "le", + "limit": 1e-08, + "units": "A m-2" + }, + "unit": "A m-2", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-3d4ded7bbabad2ae0a8186e3": { + "quantity": "particle_balance_relative_error", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/wkb-resolved-intraband-qf-dc-v2/quality_gates/particle_balance_relative_error", + "value_sha256": "39e4e66bbb6e4817b64fa08c183b4288e6f1103f9264d26c0e87f05a52d9b1d7" + }, + "gate_value": { + "operator": "le", + "limit": 1e-12, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-3d37ec9a37f56863e2e150c0": { + "quantity": "path_current_relative_error", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/wkb-resolved-intraband-qf-dc-v2/quality_gates/path_current_relative_error", + "value_sha256": "39e4e66bbb6e4817b64fa08c183b4288e6f1103f9264d26c0e87f05a52d9b1d7" + }, + "gate_value": { + "operator": "le", + "limit": 1e-12, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-f95f33b36163b43e42bbe3ac": { + "quantity": "external_tunnelling_face_current_A_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/wkb-resolved-intraband-qf-dc-v2/quality_gates/external_tunnelling_face_current_A_m2", + "value_sha256": "e7fa60cd98813d026684354e7d5b1835e2d33a6be4f4ddd37f9a9cdc60deee06" + }, + "gate_value": { + "operator": "le", + "limit": 0.0, + "units": "A m-2" + }, + "unit": "A m-2", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-32d80032a6117a6881af96b1": { + "quantity": "dissipative_transfer", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/wkb-resolved-intraband-qf-dc-v2/quality_gates/dissipative_transfer", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-6cd29cad2b606e18ad722035": { + "quantity": "dark_electrical_power_consumption", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/wkb-resolved-intraband-qf-dc-v2/quality_gates/dark_electrical_power_consumption", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-48804b140b9c359973761533": { + "quantity": "injected_face_count", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/wkb-resolved-intraband-qf-dc-v2/quality_gates/injected_face_count", + "value_sha256": "1c86128b4fecb1d35491d3adbbe72a2651abb184503b8e61425e7273af1a3513" + }, + "gate_value": { + "operator": "ge", + "limit": 3.0, + "units": "1" + }, + "unit": "1", + "norm": "ge", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-d8e9d1f8c721783d4cdad9fb": { + "quantity": "disabled_bit_identical", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/wkb-resolved-intraband-qf-dc-v2/quality_gates/disabled_bit_identical", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-5f1deae6c032e7d02faf59e7": { + "quantity": "maximum_reservoir_occupation", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/wkb-resolved-intraband-qf-dc-v2/quality_gates/maximum_reservoir_occupation", + "value_sha256": "c3830405630646faf1f6a15fe04d34bebf43ded7dbea5b7249088cf65fdc1cf7" + }, + "gate_value": { + "operator": "le", + "limit": 0.05, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-a53c9de9bd5e019366d23e00": { + "quantity": "minimum_reservoir_occupation", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/wkb-resolved-intraband-qf-dc-v2/quality_gates/minimum_reservoir_occupation", + "value_sha256": "569d9017fb366a7eff416382327525805866520b4a9d7efdfa11e6b9c97482af" + }, + "gate_value": { + "operator": "ge", + "limit": 1e-12, + "units": "1" + }, + "unit": "1", + "norm": "ge", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-67c95feadf2f95d4e8becef4": { + "quantity": "low_action_supply_fraction", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/wkb-resolved-intraband-qf-dc-v2/quality_gates/low_action_supply_fraction", + "value_sha256": "a6903954ceabfc9dffddd8b4b88c8a7e954bbccccb2f821ce6e9110cb0fdce70" + }, + "gate_value": { + "operator": "le", + "limit": 0.01, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-374f0c8cbfcc7e0cb0da8423": { + "quantity": "maximum_electron_density_over_dos", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/wkb-resolved-intraband-qf-dc-v2/quality_gates/maximum_electron_density_over_dos", + "value_sha256": "c3830405630646faf1f6a15fe04d34bebf43ded7dbea5b7249088cf65fdc1cf7" + }, + "gate_value": { + "operator": "le", + "limit": 0.05, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-5b713589e3be50b9d1c81499": { + "quantity": "maximum_carrier_continuity_bound_A_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/wkb-resolved-intraband-qf-dc-v2/quality_gates/maximum_carrier_continuity_bound_A_m2", + "value_sha256": "76de35d7d014279169cb5824bf5a6fcddddab0c729d2c61073afad59c73774d2" + }, + "gate_value": { + "operator": "le", + "limit": 0.0001, + "units": "A m-2" + }, + "unit": "A m-2", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-ac15eb93227ef05b675945c3": { + "quantity": "maximum_current_spread_A_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/wkb-resolved-intraband-qf-dc-v2/quality_gates/maximum_current_spread_A_m2", + "value_sha256": "76de35d7d014279169cb5824bf5a6fcddddab0c729d2c61073afad59c73774d2" + }, + "gate_value": { + "operator": "le", + "limit": 0.0001, + "units": "A m-2" + }, + "unit": "A m-2", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-42a96ee4d2a668b8d233e0ff": { + "quantity": "maximum_poisson_residual_C_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/wkb-resolved-intraband-qf-dc-v2/quality_gates/maximum_poisson_residual_C_m2", + "value_sha256": "9746256b206693e4d40cc5de166b49dfe34c43446a602384b8f043e651a0471c" + }, + "gate_value": { + "operator": "le", + "limit": 1e-12, + "units": "C m-2" + }, + "unit": "C m-2", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-05abcfebe196be0183642bf4": { + "quantity": "residual_over_solver_limit", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/wkb-resolved-intraband-qf-dc-v2/quality_gates/residual_over_solver_limit", + "value_sha256": "8215610fe56f18664ce2c2e81c7e48e6bbd71f7e58513c011554f1149d520c9f" + }, + "gate_value": { + "operator": "le", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-e7b6594bb4da6145e413ae63": { + "quantity": "dark_electron_quasi_fermi_V", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/wkb-tunnelling-channel-qf-dc-v1/observables/dark_electron_quasi_fermi_V", + "value_sha256": "76ccda59cd5167b03a172c9566a08ec0a081101c60b6a56f8daa6fc835c696b7" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.002, + "units": "V" + }, + "unit": "V", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-2e40eb9821d7156040f83a79": { + "quantity": "dark_potential_V", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/wkb-tunnelling-channel-qf-dc-v1/observables/dark_potential_V", + "value_sha256": "76ccda59cd5167b03a172c9566a08ec0a081101c60b6a56f8daa6fc835c696b7" + }, + "gate_value": { + "comparison": "absolute_linf", + "limit": 0.002, + "units": "V" + }, + "unit": "V", + "norm": "absolute_linf", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-273c8415c3a8dc445ad283ba": { + "quantity": "dark_terminal_current_A_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/wkb-tunnelling-channel-qf-dc-v1/observables/dark_terminal_current_A_m2", + "value_sha256": "9ea126882024788a759cb6513c373d259842e0cc8dfab3660a7461dccdbd6a86" + }, + "gate_value": { + "comparison": "relative_linf", + "limit": 0.02, + "units": "A m-2" + }, + "unit": "A m-2", + "norm": "relative_linf", + "scale": { + "kind": "original_symmetric_pair_scale", + "relative_floor": 1e-30 + }, + "zero_policy": { + "kind": "original_relative_floor", + "value": 1e-30 + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-e6b8f6c13d0f5a1845045f9b": { + "quantity": "intraband_electron_face_current_A_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/wkb-tunnelling-channel-qf-dc-v1/observables/intraband_electron_face_current_A_m2", + "value_sha256": "b2bd93006d893ecc0e1e95a762022c1feacad043cd8f555010e5ebca50e3bd76" + }, + "gate_value": { + "comparison": "relative_linf", + "limit": 0.1, + "units": "A m-2" + }, + "unit": "A m-2", + "norm": "relative_linf", + "scale": { + "kind": "original_symmetric_pair_scale", + "relative_floor": 1e-30 + }, + "zero_policy": { + "kind": "original_relative_floor", + "value": 1e-30 + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-29defc3eb14efce6a9dca43e": { + "quantity": "intraband_electron_maximum_action", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/wkb-tunnelling-channel-qf-dc-v1/observables/intraband_electron_maximum_action", + "value_sha256": "1d175d4d3bf17ca7027f7788f4d356101d51da62fc47897b861c41f7f7fb12bf" + }, + "gate_value": { + "comparison": "relative_linf", + "limit": 0.05, + "units": "1" + }, + "unit": "1", + "norm": "relative_linf", + "scale": { + "kind": "original_symmetric_pair_scale", + "relative_floor": 1e-30 + }, + "zero_policy": { + "kind": "original_relative_floor", + "value": 1e-30 + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-e49ddcd13f180d9e1408dab7": { + "quantity": "intraband_electron_net_flux_m2_s", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/wkb-tunnelling-channel-qf-dc-v1/observables/intraband_electron_net_flux_m2_s", + "value_sha256": "c7448b150fb103b258ad51885a42c531d875562ab1f95a03e69f9d8c8689a4ed" + }, + "gate_value": { + "comparison": "relative_linf", + "limit": 0.1, + "units": "m-2 s-1" + }, + "unit": "m-2 s-1", + "norm": "relative_linf", + "scale": { + "kind": "original_symmetric_pair_scale", + "relative_floor": 1e-30 + }, + "zero_policy": { + "kind": "original_relative_floor", + "value": 1e-30 + }, + "method": "_observable_delta", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-d7cef6a5507471866a3a96f1": { + "quantity": "certified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/wkb-tunnelling-channel-qf-dc-v1/quality_gates/certified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-83e79c9656ae058f7ea6272f": { + "quantity": "channel_flux_fraction_of_terminal_current", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/wkb-tunnelling-channel-qf-dc-v1/quality_gates/channel_flux_fraction_of_terminal_current", + "value_sha256": "d52d3884ca27e8e29292fe71004c8aa8b2caf7a30dd56639bbe52b874e5943b6" + }, + "gate_value": { + "operator": "ge", + "limit": 0.01, + "units": "1" + }, + "unit": "1", + "norm": "ge", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-ccca5ed8cd936097441708ad": { + "quantity": "disabled_family_reports_nothing", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/wkb-tunnelling-channel-qf-dc-v1/quality_gates/disabled_family_reports_nothing", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-0a1ea98edf3fd088662d8609": { + "quantity": "energy_quadrature_orders_completed", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/wkb-tunnelling-channel-qf-dc-v1/quality_gates/energy_quadrature_orders_completed", + "value_sha256": "a3f3f3d70d757b8c2431256d103927dd281998ff60471b38c1707a4604aab672" + }, + "gate_value": { + "operator": "eq", + "limit": 3.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-c8ba3ab96c35803d6992d137": { + "quantity": "equilibrium_certified", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/wkb-tunnelling-channel-qf-dc-v1/quality_gates/equilibrium_certified", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-be7818ef81eafe0d66cf4c50": { + "quantity": "equilibrium_face_current_A_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/wkb-tunnelling-channel-qf-dc-v1/quality_gates/equilibrium_face_current_A_m2", + "value_sha256": "e7fa60cd98813d026684354e7d5b1835e2d33a6be4f4ddd37f9a9cdc60deee06" + }, + "gate_value": { + "operator": "le", + "limit": 0.0, + "units": "A m-2" + }, + "unit": "A m-2", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-f3af570ca56372b92d3cf931": { + "quantity": "equilibrium_net_flux_m2_s", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/wkb-tunnelling-channel-qf-dc-v1/quality_gates/equilibrium_net_flux_m2_s", + "value_sha256": "9de899c946b4a90dc8cd17f64f22f8ef416531acc293c8636fd41482b3f1dc23" + }, + "gate_value": { + "operator": "le", + "limit": 0.0, + "units": "m-2 s-1" + }, + "unit": "m-2 s-1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-628c4d42e06fd02ce4aa6de1": { + "quantity": "face_current_injection_relative_error", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/wkb-tunnelling-channel-qf-dc-v1/quality_gates/face_current_injection_relative_error", + "value_sha256": "39e4e66bbb6e4817b64fa08c183b4288e6f1103f9264d26c0e87f05a52d9b1d7" + }, + "gate_value": { + "operator": "le", + "limit": 1e-12, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-463f03b9acf75278bcc55673": { + "quantity": "face_current_spread_A_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/wkb-tunnelling-channel-qf-dc-v1/quality_gates/face_current_spread_A_m2", + "value_sha256": "eb4674202b2c3b3ba6d2ac0ad186fd18278e847425259470433b2548a853fd15" + }, + "gate_value": { + "operator": "le", + "limit": 0.0002, + "units": "A m-2" + }, + "unit": "A m-2", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-abb8e139ea1a977ea7376c90": { + "quantity": "injected_face_count", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/wkb-tunnelling-channel-qf-dc-v1/quality_gates/injected_face_count", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-b24f7ee4ccaca4ebc1557f68": { + "quantity": "max_energy_flux_relative_change", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/wkb-tunnelling-channel-qf-dc-v1/quality_gates/max_energy_flux_relative_change", + "value_sha256": "c3830405630646faf1f6a15fe04d34bebf43ded7dbea5b7249088cf65fdc1cf7" + }, + "gate_value": { + "operator": "le", + "limit": 0.05, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-a98086736dcfc84e7467e253": { + "quantity": "max_normalized_cell_residual", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/wkb-tunnelling-channel-qf-dc-v1/quality_gates/max_normalized_cell_residual", + "value_sha256": "65704c467ce53fcb4b17f009a4b97242f7d1bdef4a3687b2a784d800842196c7" + }, + "gate_value": { + "operator": "le", + "limit": 1e-07, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-7e186bd02cf4fd9cacb92955": { + "quantity": "minimum_transmission_below_unity", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/wkb-tunnelling-channel-qf-dc-v1/quality_gates/minimum_transmission_below_unity", + "value_sha256": "869500daf00b06c5f5d5c4cca60e23828afc609d646913dc3e767f5faafb345b" + }, + "gate_value": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "eq", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-ea0e753eadd16cd41894e7e8": { + "quantity": "newton_iterations", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/wkb-tunnelling-channel-qf-dc-v1/quality_gates/newton_iterations", + "value_sha256": "e7b356e405933b1f5bd93f4fc9c361fe4ae296299da57f6f41a812889e46a93f" + }, + "gate_value": { + "operator": "le", + "limit": 30.0, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-03b56b21ba8c6ff03cc0d2dd": { + "quantity": "poisson_residual_C_m2", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/wkb-tunnelling-channel-qf-dc-v1/quality_gates/poisson_residual_C_m2", + "value_sha256": "9746256b206693e4d40cc5de166b49dfe34c43446a602384b8f043e651a0471c" + }, + "gate_value": { + "operator": "le", + "limit": 1e-12, + "units": "C m-2" + }, + "unit": "C m-2", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-423242ee512ff91c3c5440fa": { + "quantity": "residual_over_solver_limit", + "binding": { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/wkb-tunnelling-channel-qf-dc-v1/quality_gates/residual_over_solver_limit", + "value_sha256": "8215610fe56f18664ce2c2e81c7e48e6bbd71f7e58513c011554f1149d520c9f" + }, + "gate_value": { + "operator": "le", + "limit": 1.0, + "units": "1" + }, + "unit": "1", + "norm": "le", + "scale": { + "kind": "absolute_original_units" + }, + "zero_policy": { + "kind": "absolute_comparison_no_division" + }, + "method": "evaluate_numerical_certificate", + "limit_policy": "Original gate object is source-bound, not transcribed into a new migration allowance." + }, + "rule-b86375f1d04b36a090829715": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_dae_integrator.py", + "symbol": "test_dark_equilibrium_remains_stationary_and_reproducible", + "lines": [ + 61, + 61 + ], + "text_sha256": "0a80934ec3921424366a72ae67f344bb91b930d229aee291c9a56fa502f2b9ab" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert first.success", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-eb20ea14f83a81a22a522445": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_dae_integrator.py", + "symbol": "test_dark_equilibrium_remains_stationary_and_reproducible", + "lines": [ + 62, + 62 + ], + "text_sha256": "044b00fd158dbe1a8100363e4e153d922f1e86e002328d872f8a0855c8f59fda" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert first.trajectory_sha256 == second.trajectory_sha256", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-43d4bfc0696371308de64853": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_dae_integrator.py", + "symbol": "test_dark_equilibrium_remains_stationary_and_reproducible", + "lines": [ + 72, + 72 + ], + "text_sha256": "48849a40a078ce74aa8029648aebb0408b34a9db1ccb349af23a292fc3146dbe" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert not first.time_s.flags.writeable", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-a5534dbfac5c982aa25d8410": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_dae_integrator.py", + "symbol": "test_dark_equilibrium_remains_stationary_and_reproducible", + "lines": [ + 73, + 73 + ], + "text_sha256": "4602e1bae249fd61e0b583405e5c599a99cd0c9fc1f49c9d47047c6d2ebba306" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert not first.coordinates.flags.writeable", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-3899d0157c722ad0a5c18eaa": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_dae_integrator.py", + "symbol": "test_dark_equilibrium_remains_stationary_and_reproducible", + "lines": [ + 74, + 74 + ], + "text_sha256": "50c9bccae05f02f76b68c7c1938a3d038b055967a0dda32e08036c7b7e99baca" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert not first.physical_states.flags.writeable", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-633b37f57689a74d5eda619d": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_dae_integrator.py", + "symbol": "test_dark_equilibrium_remains_stationary_and_reproducible", + "lines": [ + 75, + 75 + ], + "text_sha256": "696b19e9343c7a6c4bde901b3aea5d3ae291fbe844f393448939ca6d5587ff02" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert not first.potentials_V.flags.writeable", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-27e3daea687405add6322cd7": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_dae_integrator.py", + "symbol": "test_dark_equilibrium_remains_stationary_and_reproducible", + "lines": [ + 63, + 63 + ], + "text_sha256": "4402752f662a258e6617037ccfcb8011b037bc9e9c6eaeaebcea1b9337a0d3d5" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_array_equal(first.coordinates, second.coordinates)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-3e1351c5c23666a5f374f28a": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_dae_integrator.py", + "symbol": "test_dark_equilibrium_remains_stationary_and_reproducible", + "lines": [ + 64, + 64 + ], + "text_sha256": "a523b41358e4a9d1a6b5e0509cd671eda002bd984066ee421e7b5118c96f3e02" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_array_equal(first.physical_states, second.physical_states)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-dbf17a1a162f82264e0395ba": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_dae_integrator.py", + "symbol": "test_dark_equilibrium_remains_stationary_and_reproducible", + "lines": [ + 65, + 65 + ], + "text_sha256": "26aec170f87694ffe0c177644370994643a8f3bfe5bffc459c0dc607129c700a" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_array_equal(first.potentials_V, second.potentials_V)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-646903babca7c2bbf7c17e19": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_dae_integrator.py", + "symbol": "test_dark_equilibrium_remains_stationary_and_reproducible", + "lines": [ + 66, + 71 + ], + "text_sha256": "fb01714f212aa950d095f189607500d24bd158196ae9d045631c7f9818231e2a" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_allclose(\n first.physical_states,\n np.broadcast_to(first.physical_states[0], first.physical_states.shape),\n rtol=2.0e-14,\n atol=0.0,\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-75e05031a3fea1fda3967728": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_dae_integrator.py", + "symbol": "test_illuminated_steps_are_residual_and_balance_certified", + "lines": [ + 88, + 88 + ], + "text_sha256": "7dd59dc583014705d0b311b06a424ee05932a272d72fd6783b3f851d66f1e2cf" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.success", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-f4edb3e43f9234211c87565a": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_dae_integrator.py", + "symbol": "test_illuminated_steps_are_residual_and_balance_certified", + "lines": [ + 89, + 89 + ], + "text_sha256": "5fae98958d245c054627652ca6e4da857509b131ea4abd24016eb775c5ed1e50" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert len(result.step_reports) == 4", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-a58700cd5a7f458673494704": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_dae_integrator.py", + "symbol": "test_illuminated_steps_are_residual_and_balance_certified", + "lines": [ + 90, + 90 + ], + "text_sha256": "889ae050cd9762b7926dca3d39dcb9da77d9b5ef4dce954782b0789559b52a50" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.total_nonlinear_iterations > 0", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-3acb4982a4a041d3d71f4f4c": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_dae_integrator.py", + "symbol": "test_illuminated_steps_are_residual_and_balance_certified", + "lines": [ + 91, + 91 + ], + "text_sha256": "640edf0dbdae0b0047b9aafd2925e8a0846be34ab025baf21e92728ccdc1efd9" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.total_jacobian_evaluations > 0", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-9c12f607c8845a07a144e844": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_dae_integrator.py", + "symbol": "test_illuminated_steps_are_residual_and_balance_certified", + "lines": [ + 92, + 92 + ], + "text_sha256": "fd3928fdedfedf7e39f0e8a441759cc131678acc1500297322575f53b845db90" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.total_residual_evaluations > result.total_jacobian_evaluations", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-4d28b29827a7679fc7d601f5": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_dae_integrator.py", + "symbol": "test_illuminated_steps_are_residual_and_balance_certified", + "lines": [ + 93, + 93 + ], + "text_sha256": "acf620d1fc3e1851e65a364ce9297e071119c55cb1169008182e09a520637cf9" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.max_normalized_differential_residual <= 1.0e-11", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-395c8e63efb2c4a69a307df6": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_dae_integrator.py", + "symbol": "test_illuminated_steps_are_residual_and_balance_certified", + "lines": [ + 94, + 94 + ], + "text_sha256": "e639c5584a9fc0a414a06fa1feeabb67c4c5a424576aa874f450b89f3b685ccc" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.max_normalized_algebraic_residual <= 1.0e-11", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-e102434e39b7a1a3c0762dba": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_dae_integrator.py", + "symbol": "test_illuminated_steps_are_residual_and_balance_certified", + "lines": [ + 98, + 98 + ], + "text_sha256": "63e8c39b92e28d3d9bad0d0e78dffdca4f00eeb388151cd95b79e7069cd5bda8" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.max_electron_balance_defect_A_m2 < 1.0e-8", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-2367b116df896950c30ddb6f": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_dae_integrator.py", + "symbol": "test_illuminated_steps_are_residual_and_balance_certified", + "lines": [ + 99, + 99 + ], + "text_sha256": "ed8feac09643822f17ab3f5d6e3c7a8435572e7fff300ab8853067485cee02ec" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.max_hole_balance_defect_A_m2 < 1.0e-8", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-6fff38832de42e6ea3955f1f": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_dae_integrator.py", + "symbol": "test_illuminated_steps_are_residual_and_balance_certified", + "lines": [ + 100, + 100 + ], + "text_sha256": "bd5c03e716c7987d77a58bca03e258b11d37ad28a90f2d7e20f7d23014fe09fd" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert all(report.dt_s == pytest.approx(2.5e-10) for report in result.step_reports)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-3fb6d9d05453604be3238da9": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_dae_integrator.py", + "symbol": "test_illuminated_steps_are_residual_and_balance_certified", + "lines": [ + 101, + 104 + ], + "text_sha256": "1bb45c7fc7b39e3e5215d63cab9f990c4c88a22a2a4fa1091af561c895a73cbe" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert all(\n np.isfinite(report.max_scaled_jacobian_condition)\n for report in result.step_reports\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-00107f54ee5de60d951b73a5": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_dae_integrator.py", + "symbol": "test_illuminated_steps_are_residual_and_balance_certified", + "lines": [ + 106, + 106 + ], + "text_sha256": "858951a980b05e59c49b6089582b6cbf4bedbf0c13b10e6a94e9affa2dc0163f" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.all(result.physical_states[:, : 2 * count] > 0.0)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-0138825a5f399a4313ab78fe": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_dae_integrator.py", + "symbol": "test_newton_exhaustion_reports_step_and_time", + "lines": [ + 216, + 216 + ], + "text_sha256": "be138e91f41fd5632741b05b271d7f72aeadebccf161bb6f24d7f4193dc9aa84" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert caught.value.step_index == 1", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-dcd0b911ffebc4372f8d5404": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_dae_integrator.py", + "symbol": "test_newton_exhaustion_reports_step_and_time", + "lines": [ + 217, + 217 + ], + "text_sha256": "5e8e426228cc9433b1cea3e9d535793771f7e31ee59b1e9711f0692dd5c9e8cc" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert caught.value.time_s == pytest.approx(1.0e-6)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-2214d97c414e1ba68e34c7d9": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_dae_integrator.py", + "symbol": "test_newton_exhaustion_reports_step_and_time", + "lines": [ + 218, + 218 + ], + "text_sha256": "cc7b4630a982ac95c2b8e51cb724570af34ba375b8b5b90b2efdd16d9d8a5cb2" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.isfinite(caught.value.residual_norm)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-4778b56b818c5cb6bdc90594": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_dae_integrator.py", + "symbol": "test_newton_exhaustion_reports_step_and_time", + "lines": [ + 207, + 207 + ], + "text_sha256": "bc1f1b8574c94d5518a2188cd7f98388cacf777a48cd65670886abc0c34106c9" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(DAEIntegrationError) as caught:", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-593f3446d8007c512a43d370": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_dae_integrator.py", + "symbol": "test_solver_control_validation_fails_closed", + "lines": [ + 183, + 183 + ], + "text_sha256": "51a0ef43f83b869e7ae4e092b1a6296005f6bfb9b895e32ea2d4dc4b87e319e4" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(ValueError, match=match):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-54ab2e5c23189b07f0054044": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_dae_integrator.py", + "symbol": "test_structured_newton_matches_dense_reference_with_less_rhs_work", + "lines": [ + 121, + 121 + ], + "text_sha256": "89bbb7f3084fa17e9f2c48458ab34ff998737399d4ce7f888f689d36b75b3f32" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert dense.jacobian_mode == \"dense_central\"", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-2fe48f8d11ff58aaee2e2d7d": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_dae_integrator.py", + "symbol": "test_structured_newton_matches_dense_reference_with_less_rhs_work", + "lines": [ + 122, + 122 + ], + "text_sha256": "76272ca81d827bc74cdce86bcb5f0fc190f5888fcbabf5239dfad13260b261e6" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert structured.jacobian_mode == \"structured_analytic\"", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-4ad8632540dc5abf887bbfc2": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_dae_integrator.py", + "symbol": "test_structured_newton_matches_dense_reference_with_less_rhs_work", + "lines": [ + 123, + 123 + ], + "text_sha256": "41d72b14f0bc7e86cbb300728cdaddb4e72dd5c00a91af8431ed3ec3aa82d071" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert \"sparse-analytic\" in structured.method", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-60b9260777353a2284474244": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_dae_integrator.py", + "symbol": "test_structured_newton_matches_dense_reference_with_less_rhs_work", + "lines": [ + 145, + 145 + ], + "text_sha256": "0ef271a53bcf6dbc9235d8c6231548b610f9af5dc6ac3544ae1f6bfa54cd48cb" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.max(bound) < 1.0e-9", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-39a4ee2d706b0996ed741c47": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_dae_integrator.py", + "symbol": "test_structured_newton_matches_dense_reference_with_less_rhs_work", + "lines": [ + 146, + 146 + ], + "text_sha256": "3486f00ec59adc686502d0692c2f327765d25045754e586460238da3f6dfbafd" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.all(np.abs(structured.potentials_V - dense.potentials_V) <= bound)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-efe4cac49d95409450cf0865": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_dae_integrator.py", + "symbol": "test_structured_newton_matches_dense_reference_with_less_rhs_work", + "lines": [ + 147, + 147 + ], + "text_sha256": "730e0d174fe5b583dcf6234feb1213fa9329bcac18d07bf8025b349406c602a9" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert dense.max_normalized_algebraic_residual < 1.0e-11", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-1e437395a788498f2d4d6434": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_dae_integrator.py", + "symbol": "test_structured_newton_matches_dense_reference_with_less_rhs_work", + "lines": [ + 148, + 148 + ], + "text_sha256": "3fb994527b94832f0027e041a27540420cc283d5c6474f3937fd4d48e5151ed3" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert structured.max_normalized_algebraic_residual < 1.0e-11", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-8ca0ba30684b13de014efa04": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_dae_integrator.py", + "symbol": "test_structured_newton_matches_dense_reference_with_less_rhs_work", + "lines": [ + 149, + 151 + ], + "text_sha256": "2136a909475fd23ee422bbeeaca2caa8b2fd403feb79fec8c4915beec0b9169d" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert structured.total_residual_evaluations < (\n dense.total_residual_evaluations / 20\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-7543e2e2166d0256dc503cfe": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_dae_integrator.py", + "symbol": "test_structured_newton_matches_dense_reference_with_less_rhs_work", + "lines": [ + 124, + 129 + ], + "text_sha256": "16918db3c4365047a9ecfb725449dcbf389e21926bb25df9ffcc8c413937d57b" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_allclose(\n structured.physical_states,\n dense.physical_states,\n rtol=2.0e-11,\n atol=0.0,\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-90747d7496eb2dbdd4ab0209": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_dae_integrator.py", + "symbol": "test_time_grid_validation_fails_closed", + "lines": [ + 166, + 166 + ], + "text_sha256": "54a0287c7e4f8a4bbcd0b48069adb0fb69ba2df0a8486a1a7a0cdbc9b613f156" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(ValueError, match=\"time_s\"):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-42f1d3e6b5db073f44c7a6e8": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_dae_integrator.py", + "symbol": "test_uncertified_initial_condition_is_rejected", + "lines": [ + 196, + 196 + ], + "text_sha256": "33d8be9084bf2e7b5616a304e997e2197cc7d6fecb68b9a2c354093e057896d7" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(ValueError, match=\"not certified\"):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-63ef1ffeb9c6dc757bc12cae": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_dae_jacobian.py", + "symbol": "test_boundary_carrier_columns_do_not_enter_differential_rows", + "lines": [ + 103, + 103 + ], + "text_sha256": "f4e64313134cb21f0e33a36ec8a2dc005b99c7c2ec47e0885c6352bdaffef42e" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_array_equal(matrix[rows, column], np.zeros(rows.size))", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-63285050aee84f98a19e5312": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_dae_jacobian.py", + "symbol": "test_nonlocal_photon_recycling_is_rejected", + "lines": [ + 111, + 114 + ], + "text_sha256": "57eb938310455d4c5921e4c4a17a3b35628d57faddf6a8196753461e047cf1da" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(\n DAEStructuredJacobianCapabilityError,\n match=\"radiative reabsorption\",\n ):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-2c6814732f2814aab0c78128": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_dae_jacobian.py", + "symbol": "test_structured_state_jacobian_matches_central_reference", + "lines": [ + 84, + 84 + ], + "text_sha256": "f36197f1fe2c0b215c7c80f91d02f939ece9ae4352ae2bb874a3d981f51faf64" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert structured.field_mobility_active is field_mobility", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-b34981b3bc067cc53f0798e2": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_dae_jacobian.py", + "symbol": "test_structured_state_jacobian_matches_central_reference", + "lines": [ + 85, + 85 + ], + "text_sha256": "740eb20d834c7dd81ee6696988a75c451f39c6b2e1427d69a8ed313cffcabaa3" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert structured.nonzero_count < 16 * model.layout.node_count", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-c0e8d7a6ea84c47f66de7ba8": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_dae_jacobian.py", + "symbol": "test_structured_state_jacobian_matches_central_reference", + "lines": [ + 86, + 86 + ], + "text_sha256": "c4ff820760487368b76f980df52a56a0fa9b8c536b956ac61c617eb12c8f9950" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert structured.minimum_bulk_srh_denominator_s_m3 > 0.0", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-8aa5a49c879d77e096cf2cf4": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_dae_jacobian.py", + "symbol": "test_structured_state_jacobian_matches_central_reference", + "lines": [ + 87, + 87 + ], + "text_sha256": "7e7114c85be6856f053f522358f63ae6146384d842223d75f186b1cab8e57fa4" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert float(np.max(normalized)) < 1.2e-5", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-4d6e178b4201f8ddf5df62bf": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_dae_jacobian.py", + "symbol": "test_structured_state_jacobian_matches_central_reference", + "lines": [ + 88, + 88 + ], + "text_sha256": "4587b1099c7066da6f161788a5308773f20023f86f04ff28e6c4d19e245ce0d2" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_allclose(analytic, central, rtol=2.0e-5, atol=2.0e-8)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-676106201779d4d6c315acda": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_dae_jacobian.py", + "symbol": "test_zero_field_pf_cusp_is_rejected", + "lines": [ + 125, + 125 + ], + "text_sha256": "d3b8f0bbd7c5d7f537fde6d665c71546020f4e905799b4726486d7e9b4416bad" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert source_layer.params is not None", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-645bb73a70026e91635f9c37": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_dae_jacobian.py", + "symbol": "test_zero_field_pf_cusp_is_rejected", + "lines": [ + 145, + 148 + ], + "text_sha256": "7b38e2583b166147ea24ba43d42757f0f845187b1ff5a77e86f5d8581c63b8e8" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(\n DAEStructuredJacobianCapabilityError,\n match=\"non-differentiable\",\n ):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-adae595d5be9a03b556ac773": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_poisson.py", + "symbol": "test_boundary_conditions_enforced", + "lines": [ + 40, + 40 + ], + "text_sha256": "a5f0fee596812ae677858e207aa75a7511a04635bc558b673d28152ed30484e2" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert phi[0] == pytest.approx(0.3)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-f30c161ea13fc0d8bcf381f6": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_poisson.py", + "symbol": "test_boundary_conditions_enforced", + "lines": [ + 41, + 41 + ], + "text_sha256": "65bb4d294feb2e44a9559248632c2ee92f79ae61fe096031719d0ff7d7328474" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert phi[-1] == pytest.approx(0.7)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-47c3dae845aba0765832eab1": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_poisson.py", + "symbol": "test_explicit_finite_volume_factor_matches_legacy_factor", + "lines": [ + 51, + 56 + ], + "text_sha256": "4df6adb54d8ae14346c3341f4dfc24cc3c553307181aa059fcf69702869c4b94" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_allclose(\n solve_poisson_prefactored(legacy, rho, 0.0, 0.4),\n solve_poisson_prefactored(explicit, rho, 0.0, 0.4),\n rtol=0.0,\n atol=0.0,\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-5352b152c5cd874306360f88": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_poisson.py", + "symbol": "test_explicit_series_capacitance_resolves_off_midpoint_interface", + "lines": [ + 79, + 79 + ], + "text_sha256": "513ff7f64e0580d6012d86ced49592efcb53d274f877394d604d789449741f98" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert phi[1] == pytest.approx(expected_middle, rel=1.0e-14)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-c0f38d7a4c8db2bccfedf397": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_poisson.py", + "symbol": "test_positive_charge_creates_concave_potential", + "lines": [ + 32, + 32 + ], + "text_sha256": "b8ed12bd9879ba9e2104fe56b737524bf36a6ec6b522fdbb8ad9ecd50c22ea7e" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.argmax(phi) == 50", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-291d6bf8c01cf4c67f658204": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_poisson.py", + "symbol": "test_zero_charge_gives_linear_potential", + "lines": [ + 21, + 21 + ], + "text_sha256": "0ffbf77eb87854393cf82932c6b66a2345dc22eadd883e77d918d2e7626b97f7" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_allclose(phi, phi_expected, atol=1e-8)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-ee2bfe175c8badf9e0eadad5": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/twod/test_poisson_2d.py", + "symbol": "test_poisson_2d_periodic_x_consistency", + "lines": [ + 41, + 41 + ], + "text_sha256": "1c1f16c72ec17925759f3e2f8f851e723e075a4a7cb9cbf6b13502a877ab3ed9" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_allclose(phi[:, 0], phi[:, -1], atol=1e-10)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-655e64927a126de9a1d6ac5d": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/twod/test_poisson_2d.py", + "symbol": "test_poisson_2d_recovers_1d_parabolic_profile", + "lines": [ + 57, + 57 + ], + "text_sha256": "6982af0266fe4ec89fbcfc1b21a943a42c2e55adabd3e4d4d45605aa8e1c162c" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_allclose(phi[j, :], analytic[j], rtol=1e-3, atol=1e-6)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-e3016ec8d7513d0215fd434b": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/twod/test_poisson_2d.py", + "symbol": "test_poisson_2d_solves_zero_charge_with_dirichlet_y", + "lines": [ + 33, + 33 + ], + "text_sha256": "0ce43d4d8f64628727125ae8f4f4168bd4e5dde9b1637a53535fb580f5c101d9" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_allclose(phi[j, :], ramp[j], atol=1e-10)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-3460ddc4209ef2e91028af50": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/twod/test_poisson_2d.py", + "symbol": "test_two_column_periodic_poisson_preserves_zero_charge_affine_solution", + "lines": [ + 68, + 68 + ], + "text_sha256": "472b0175c790c55fb5b55800f7d07f18ef1b2267bc559b18859df941f1396f52" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_allclose(potential, expected, rtol=1e-13, atol=1e-14)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-c3bc3bbc2b8efc9dc5b7b7c4": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_independent_physics.py", + "symbol": "test_actual_all_nested_levels_have_independent_physical_checks", + "lines": [ + 36, + 36 + ], + "text_sha256": "ff510b4c7fe2f4667d42183bb7ef6f8a2524238568e41a301609f44fbbb2db8c" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert {row[\"substeps\"] for row in rows}=={1,2,4}", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-5e566333943a5cefa0a6f8e0": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_independent_physics.py", + "symbol": "test_actual_all_nested_levels_have_independent_physical_checks", + "lines": [ + 37, + 37 + ], + "text_sha256": "c4460ba7173b81c8896eda82655b91debf837f4cb485133c80b538f74ea749c0" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert all(row[\"physics_reconstruction\"][\"independent_physics\"][\"passed\"] for row in rows)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-ed7f08268be69aaca298d740": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_independent_physics.py", + "symbol": "test_actual_all_nested_levels_have_independent_physical_checks", + "lines": [ + 39, + 39 + ], + "text_sha256": "c84fc7d509079be6ff5fe08f849d7fdd7fbed2275daf2801c0ca18ef5d5cea07" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert audit[\"independent_physics_passed\"] is True", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-125d2775063791fc502f1e16": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_independent_physics.py", + "symbol": "test_actual_all_nested_levels_have_independent_physical_checks", + "lines": [ + 40, + 40 + ], + "text_sha256": "0fc6c7a64051b47014ed7520ac0bb50b4ae442b29223cc1e58be76c6339f5c26" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert audit[\"checked_row_count\"]==31", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-04733ca3cb5435fbab80a9f5": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_independent_physics.py", + "symbol": "test_actual_shared_solver_and_publisher_current_error_is_detected", + "lines": [ + 52, + 52 + ], + "text_sha256": "f4dc96f759356cf396d95b957b421e486105166a5bcaaede01eae9ef4c76b5d8" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert honest[\"passed\"]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-dc26036e620814da51a7ebe6": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_independent_physics.py", + "symbol": "test_actual_shared_solver_and_publisher_current_error_is_detected", + "lines": [ + 58, + 58 + ], + "text_sha256": "9d5e9c84ca6a5609d36b40cbabdbc1be46c2e9ebd32411fbcf82432f43890c66" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert checked[\"checks\"][\"electron_current_A_m2_state_content_matches\"][\"passed\"] is False", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-3c1c840b33602cdbae6fdb6e": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_independent_physics.py", + "symbol": "test_actual_shared_solver_and_publisher_current_error_is_detected", + "lines": [ + 59, + 59 + ], + "text_sha256": "2e4a3a3984c4da04b0ea79cb5b74e4f302e1d59d540c29024d7cf0bac06d4dd9" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert checked[\"checks\"][\"electron_current_A_m2_reported_content_matches\"][\"passed\"] is False", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-fa34de934a375daa947676ad": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_independent_physics.py", + "symbol": "test_actual_shared_solver_and_publisher_current_error_is_detected", + "lines": [ + 60, + 60 + ], + "text_sha256": "07cc80c27f7b4c30b0e47291d84ea870e4e0ebcdeb809138c8b70ce07168943a" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert checked[\"passed\"] is False", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-924a34af29fa93d9a00ce067": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_independent_physics.py", + "symbol": "test_coarse_level_independent_rejection_vetoes_complete_trace", + "lines": [ + 87, + 87 + ], + "text_sha256": "d096d5e8ea141535e1a6c2a65779a91003167e5a18dbed653db888aaadb933c3" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert checks[\"reasons\"]==[\"independent_physics_failed\"]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-58d0ebad8bf3c7ba53709e84": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_independent_physics.py", + "symbol": "test_coarse_level_independent_rejection_vetoes_complete_trace", + "lines": [ + 90, + 90 + ], + "text_sha256": "e0635e8de0c246ecf5ec754d8c9effbd46ded417d071b8b69de1ccaeabe9ec1c" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert failed_row[\"substeps\"]==1", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-05da9fa9244b31d93077c50c": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_independent_physics.py", + "symbol": "test_coarse_level_independent_rejection_vetoes_complete_trace", + "lines": [ + 93, + 93 + ], + "text_sha256": "0fc6c7a64051b47014ed7520ac0bb50b4ae442b29223cc1e58be76c6339f5c26" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert audit[\"checked_row_count\"]==31", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-7880bd4da41cdf9a53d2af64": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_independent_physics.py", + "symbol": "test_coarse_level_independent_rejection_vetoes_complete_trace", + "lines": [ + 94, + 94 + ], + "text_sha256": "9520955bd4268f4e4b366be78c2605211e9e258325e01003b51553b775c8c2ff" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert not audit[\"independent_physics_passed\"]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-194b492ae6e7b5435d7dfa88": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_independent_physics.py", + "symbol": "test_coarse_level_independent_rejection_vetoes_complete_trace", + "lines": [ + 95, + 95 + ], + "text_sha256": "dd471485be6086cc6df14930f4a6be65242120b2d5000158efcae2d475cc04b3" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert not audit[\"physical_limits_satisfied\"]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-c5f9f29dc2f3e12aec80cd9e": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_independent_physics.py", + "symbol": "test_coarse_level_independent_rejection_vetoes_complete_trace", + "lines": [ + 96, + 96 + ], + "text_sha256": "6265d4af83e3fa5dc1849b899845e1c607d9900900ae5374b9135df75134ff1e" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert not audit[\"certified\"]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-661755d6704c502047d17d09": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_independent_physics.py", + "symbol": "test_coarse_level_independent_rejection_vetoes_complete_trace", + "lines": [ + 97, + 98 + ], + "text_sha256": "755fd3e331d5d8a6881c29600b024a8ca161f35ce4fd3ed2586aca5589e4e71b" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert any(item.get(\"row\")==1 and item.get(\"substeps\")==1\n for item in audit[\"physical_limit_violations\"])", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-285947e7e14064ce97a7d0bd": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_independent_physics.py", + "symbol": "test_independent_failure_is_serialized_before_protocol_rejection", + "lines": [ + 129, + 129 + ], + "text_sha256": "d1ce09a8c8a7ed170ab9fa8964f0899bef6b198e8bbdbf7e295b1a4a8eafa81e" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert len(rows)==len(partial[\"accepted_steps\"])==2", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-f9759377acf0f79598198510": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_independent_physics.py", + "symbol": "test_independent_failure_is_serialized_before_protocol_rejection", + "lines": [ + 131, + 131 + ], + "text_sha256": "9bba534bad6b4800c49bd6ab2715dc04c720ada0776220e611ac69e9b2299b19" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert failed[\"substeps\"]==1 and failed[\"solver_accepted\"]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-5c89f02df85412c66662fbaa": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_independent_physics.py", + "symbol": "test_independent_failure_is_serialized_before_protocol_rejection", + "lines": [ + 132, + 132 + ], + "text_sha256": "a67d36729aa2a47a09e79b960085d6befe89f45db31c96bd52b1a5c7f0ba47d4" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert failed[\"physical_checks_passed\"] is False", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-44a8e1ec678fb07c17388a07": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_independent_physics.py", + "symbol": "test_independent_failure_is_serialized_before_protocol_rejection", + "lines": [ + 133, + 133 + ], + "text_sha256": "746163781decf68ba1b54e4d9ee98804d29ee89f1bf4e111beb5b2075cce2887" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert failed[\"physical_failure_reasons\"]==[\"independent_physics_failed\"]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-ef71c37c3116fada18f3e845": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_independent_physics.py", + "symbol": "test_independent_failure_is_serialized_before_protocol_rejection", + "lines": [ + 134, + 134 + ], + "text_sha256": "7de8572a4406ee7e20c82b0e46b8f13e6b5c9f657809f8ac440b8ea56913c00d" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert failed[\"physical_checks\"][\"checks\"][\"independent_physics\"][\"passed\"] is False", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-b7e3d0cb0d32fd32e702f6cf": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_independent_physics.py", + "symbol": "test_independent_failure_is_serialized_before_protocol_rejection", + "lines": [ + 135, + 135 + ], + "text_sha256": "11da27e131d51293151330cb192033c3470e4d479ed40e1d3555380742d355cf" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert partial[\"certificate\"][\"certified\"] is False", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-cceaf00befdf9afd7eaca294": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_independent_physics.py", + "symbol": "test_independent_failure_is_serialized_before_protocol_rejection", + "lines": [ + 136, + 136 + ], + "text_sha256": "1f539f1ca3b904a5923a4fc51fd65dcb8a475373ba385027675b9b59f4cd15d1" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert partial[\"certificate\"][\"reasons\"]==[\"independent_physics_failed\"]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-a48f194b40d1465da05985f9": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_independent_physics.py", + "symbol": "test_independent_failure_is_serialized_before_protocol_rejection", + "lines": [ + 137, + 137 + ], + "text_sha256": "127dae5c2cded3e0b802ae064b42025c1eb43b3e1c8ee6e3aef9b3a6c60ad469" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert partial[\"failure\"][\"type\"]==\"PhysicalCheckFailure\"", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-7e7fd6f4bc914437c630ac41": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_independent_physics.py", + "symbol": "test_independent_failure_is_serialized_before_protocol_rejection", + "lines": [ + 147, + 147 + ], + "text_sha256": "3b1b597d383df8dc75a95fc552bdfb9aee2823e68081207ff7464c98d7dc01f4" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert canonical(rows)==canonical(expected)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-8cb334a9d8b1af78968df4bf": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_independent_physics.py", + "symbol": "test_independent_failure_is_serialized_before_protocol_rejection", + "lines": [ + 141, + 141 + ], + "text_sha256": "7fb0f8ca741df5f76e7120231b02a37c7452271043354f030e5e15a66a70dfd3" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert persistence==partial[\"persistence_failure\"]==partial[\"failure\"][\"persistence_failure\"]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-6c12d15b3b1afeebb0f335fc": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_independent_physics.py", + "symbol": "test_independent_failure_is_serialized_before_protocol_rejection", + "lines": [ + 142, + 142 + ], + "text_sha256": "c7ecfb706bb6878f9c468adc234b60c8201a7ec6045c98d4ccb6d87ac871d295" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert persistence[\"record_index\"]==1", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-2c6f9fdbff7c6fe8f8f3c488": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_independent_physics.py", + "symbol": "test_independent_failure_is_serialized_before_protocol_rejection", + "lines": [ + 143, + 143 + ], + "text_sha256": "70ae3cc31cf4dab9a7368171abbe18c01e6628b814cd8fc1b55ecb6dac8ca4e0" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert partial[\"certificate\"][\"secondary_reasons\"]==[\"accepted_step_persistence_failed\"]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-272c3523e77fe10b9e3792ea": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_independent_physics.py", + "symbol": "test_constitutive_current_has_analytic_field_sign_and_detects_shared_sign_error", + "lines": [ + 61, + 61 + ], + "text_sha256": "f9d270122ba7312d53e9d4ff9e86327b2b86576257520b9ebdb17a7f488cb615" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert not report[\"checks\"][\"electron_current_A_m2_state_content_matches\"][\"passed\"]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-b52d8946bd576a5074b8b8bc": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_independent_physics.py", + "symbol": "test_constitutive_current_has_analytic_field_sign_and_detects_shared_sign_error", + "lines": [ + 62, + 62 + ], + "text_sha256": "68473f8ac7957d9c1961b01477d98b61f2062a8883cde3f8381337418b24ee76" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert not report[\"checks\"][\"electron_current_A_m2_reported_content_matches\"][\"passed\"]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-d823a73348fc4438baf74a13": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_independent_physics.py", + "symbol": "test_constitutive_current_has_analytic_field_sign_and_detects_shared_sign_error", + "lines": [ + 63, + 63 + ], + "text_sha256": "6a56a62b9013497b7c4c0c75b0f7dcd4e71f1938add73adcea7ce988f60d4aaa" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert not report[\"passed\"]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-35ce971b4da96b2ef294d2d5": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_independent_physics.py", + "symbol": "test_constitutive_current_has_analytic_field_sign_and_detects_shared_sign_error", + "lines": [ + 55, + 55 + ], + "text_sha256": "1befe8ca5f21b7c8f58eb7c4de1991e4d3fb2e371df802e891873f817ffe3b46" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_allclose(n,-Q*gradient,rtol=5e-15,atol=0.)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-bda20f700131d448aa8c1600": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_independent_physics.py", + "symbol": "test_constitutive_current_has_analytic_field_sign_and_detects_shared_sign_error", + "lines": [ + 56, + 56 + ], + "text_sha256": "fea9246c4312473299c1e1250ecd2e9d4782f2c8dbc423fd4c8c42173bd48707" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_allclose(p,-Q*gradient,rtol=5e-15,atol=0.)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-f4af4c125b869b8eecfc02fe": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_independent_physics.py", + "symbol": "test_contact_control_volume_error_can_fail_with_perfect_internal_agreement", + "lines": [ + 85, + 85 + ], + "text_sha256": "77ee9831ddc19a4b8f6bc29d919296dde6e38cbe680394172323eb78f99a995c" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert report[\"checks\"][\"internal_face_current_spread_relative\"][\"passed\"]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-131b50ef9b46bb8dbe668ff2": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_independent_physics.py", + "symbol": "test_contact_control_volume_error_can_fail_with_perfect_internal_agreement", + "lines": [ + 86, + 86 + ], + "text_sha256": "215831b11eedff2bb99b54f0ac105ad128eb52b35ee1d7d54f287f2fdfc1c685" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert report[\"checks\"][\"contact_internal_current_spread_relative\"][\"passed\"] is False", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-871f4124f714124bacd5df70": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_independent_physics.py", + "symbol": "test_contact_control_volume_error_can_fail_with_perfect_internal_agreement", + "lines": [ + 87, + 87 + ], + "text_sha256": "5472c79877071408fea4a15991deba6426667e7fcc7e329c3e2a9fc7b0493934" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert report[\"checks\"][\"charge_balance_normalized\"][\"passed\"] is False", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-875a0d0502919f2bc5d4c389": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_independent_physics.py", + "symbol": "test_coordinated_solver_and_published_constant_current_is_not_independent_evidence", + "lines": [ + 72, + 72 + ], + "text_sha256": "ee67b5339873f2b58cf13da6f9ef3797604ae783f9603112f6aa29326d86c888" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert report[\"metrics\"][\"internal_face_current_spread_relative\"]==0.", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-b265348d32944bec5b684814": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_independent_physics.py", + "symbol": "test_coordinated_solver_and_published_constant_current_is_not_independent_evidence", + "lines": [ + 73, + 73 + ], + "text_sha256": "38fa303230546a0084bc290c0ee78874612253e620b4fc3a51172bc4b1fb37df" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert report[\"checks\"][\"electron_current_A_m2_reported_content_matches\"][\"passed\"] is False", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-d7176d5f5bd802790bcfc1bb": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_independent_physics.py", + "symbol": "test_coordinated_solver_and_published_constant_current_is_not_independent_evidence", + "lines": [ + 74, + 74 + ], + "text_sha256": "a77b2e200053aa90fd100618ca4d664762865563b66d11bb4158c288818c3a06" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert report[\"passed\"] is False", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-f34334be0660255f5f89577a": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_independent_physics.py", + "symbol": "test_equilibrium_and_forbidden_solver_shortcuts", + "lines": [ + 41, + 41 + ], + "text_sha256": "2f99774fa3f22514110cdec36f083dc55269216d9058efd1f552100f15675fe7" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert report[\"passed\"]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-a5f5d5df6de1ca12559419d0": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_independent_physics.py", + "symbol": "test_equilibrium_and_forbidden_solver_shortcuts", + "lines": [ + 42, + 42 + ], + "text_sha256": "a4513e56487a5dba5ab8b9a8a7a7c59f1cdac4d256297b3c46780f4978401a34" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert set(report)==independent.ROW_FIELDS", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-8aa76c3946195f048981fe52": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_independent_physics.py", + "symbol": "test_equilibrium_and_forbidden_solver_shortcuts", + "lines": [ + 43, + 43 + ], + "text_sha256": "ed125ac631cc8be01f6cad62b346a5931fd65a06b88953ca19a787c0577ac088" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert set(report[\"metrics\"])==set(independent.METRIC_LIMITS)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-1d6470b7078f66b1363a0805": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_independent_physics.py", + "symbol": "test_equilibrium_and_forbidden_solver_shortcuts", + "lines": [ + 44, + 44 + ], + "text_sha256": "8bd00f6819b91e5beaa1f1d3468c57dbbd6e60ca292c64930161a232b6e43518" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert report[\"metrics\"]==dict.fromkeys(independent.METRIC_LIMITS,0.)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-60d0237787ff20e6b7a3c3f2": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_independent_physics.py", + "symbol": "test_geometry_is_not_taken_from_solver_widths", + "lines": [ + 103, + 103 + ], + "text_sha256": "19e899579f776127f646e8a030ea7c8cd013e5b9746d668fa08dadc15303a2da" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert report[\"checks\"][\"physical_geometry_matches\"][\"passed\"] is False", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-e95074f0edd4fb485919e4d7": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_independent_physics.py", + "symbol": "test_geometry_is_not_taken_from_solver_widths", + "lines": [ + 104, + 104 + ], + "text_sha256": "4a359dd698eda01593d69a66b4ca269edea8280ebbee977781afe62525f6a17a" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert report[\"arrays\"][\"positive_inventory_m2\"]==[3.]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-35fedf5369e22a5db8ea56bb": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_independent_physics.py", + "symbol": "test_interface_guard_can_fail_when_internal_and_contact_guards_pass", + "lines": [ + 120, + 120 + ], + "text_sha256": "77ee9831ddc19a4b8f6bc29d919296dde6e38cbe680394172323eb78f99a995c" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert report[\"checks\"][\"internal_face_current_spread_relative\"][\"passed\"]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-bbeac014e60cb22834017d36": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_independent_physics.py", + "symbol": "test_interface_guard_can_fail_when_internal_and_contact_guards_pass", + "lines": [ + 121, + 121 + ], + "text_sha256": "de0f15a57b39aa4478637ebc7df6f6665447ccfa1b1c7d84af843666018f0762" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert report[\"checks\"][\"contact_internal_current_spread_relative\"][\"passed\"]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-de30f732091c4c6e675bdce5": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_independent_physics.py", + "symbol": "test_interface_guard_can_fail_when_internal_and_contact_guards_pass", + "lines": [ + 122, + 122 + ], + "text_sha256": "07abec29592fedd814436a5c130b428d308c43fde94bcae737a6ab886559dec8" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert report[\"checks\"][\"interface_current_spread_relative\"][\"passed\"] is False", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-7eda32a1d62c48d54ea9362a": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_independent_physics.py", + "symbol": "test_interface_guard_can_fail_when_internal_and_contact_guards_pass", + "lines": [ + 123, + 123 + ], + "text_sha256": "f62cb2a810628ee6b363ebec63adb2800c15fecb08b923da7ff3366f374d5289" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert report[\"reasons\"]==[\"interface_current_spread_relative\"]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-cc1375d588090f6cf17887d7": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_independent_physics.py", + "symbol": "test_internal_face_guard_is_evaluated_not_inferred_from_solver_flag", + "lines": [ + 131, + 131 + ], + "text_sha256": "09f3da33720613bb5cd0a009419378bc0955c10d8f16cb8a3e0164fc69de9a39" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert report[\"checks\"][\"internal_face_current_spread_relative\"][\"passed\"] is False", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-51b09516f8caf4cfdaecd096": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_independent_physics.py", + "symbol": "test_internal_face_guard_is_evaluated_not_inferred_from_solver_flag", + "lines": [ + 132, + 132 + ], + "text_sha256": "5a424035af148554c140acf07a3ed3dcb0fa44dd2a3de3af3e4b5f2c6427bbe6" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert report[\"checks\"][\"interface_current_spread_relative\"][\"passed\"]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-3811817a2b002d443b354e80": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_independent_physics.py", + "symbol": "test_inventory_is_recomputed_from_original_population_and_geometry", + "lines": [ + 95, + 95 + ], + "text_sha256": "e4ef5d2811c539a7b0581dc85f995af2178e30ff41ba80e05fd3256d81ace6d4" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert report[\"checks\"][\"inventory_relative_drift\"][\"passed\"] is False", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-df0f6406a9596378fa6907a8": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_independent_physics.py", + "symbol": "test_inventory_is_recomputed_from_original_population_and_geometry", + "lines": [ + 96, + 96 + ], + "text_sha256": "cfa1083fd3dd2397c892ea5eec39bad4565811aed3f078378cab4c910aa4468f" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert report[\"arrays\"][\"initial_positive_inventory_m2\"]==[3.]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-6fcd8f761c968e173803ef84": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_c_independent_regressions_v4.py", + "symbol": "test_a_resolvable_refinement_error_still_requires_explaining_a_smaller_reviewed_budget", + "lines": [ + 44, + 44 + ], + "text_sha256": "000b822539b89b011f690cfb0794f13652df2a16285af73eaac5cf7625caa7ba" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert assess_transient_linearity(*records, **kwargs)[\"device_qualified\"]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-3f2f64186d448d10381f1edd": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_c_independent_regressions_v4.py", + "symbol": "test_a_resolvable_refinement_error_still_requires_explaining_a_smaller_reviewed_budget", + "lines": [ + 52, + 52 + ], + "text_sha256": "90b2b8991d668f7e333723ca72acd18ced9e63eb25876fc7a83e2e3211f7a75c" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result[\"coarse_budget\"][\"qualified\"] and result[\"fine_budget\"][\"qualified\"]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-46ea9e05fc2ca32341476c2b": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_c_independent_regressions_v4.py", + "symbol": "test_a_resolvable_refinement_error_still_requires_explaining_a_smaller_reviewed_budget", + "lines": [ + 53, + 53 + ], + "text_sha256": "a5de89a2c0a71cf98f9aaa2e5ff7d13ae6944504089fdd8e1691fd8942b64481" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result[\"comparison\"][\"passed\"]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-c8a7d25731bdc4f2fd73c26b": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_c_independent_regressions_v4.py", + "symbol": "test_a_resolvable_refinement_error_still_requires_explaining_a_smaller_reviewed_budget", + "lines": [ + 55, + 55 + ], + "text_sha256": "94b557fbb419e93e6980a09c8138d767955fde93ba6d814c720fd2a2256678c0" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert consistency[\"comparison\"][\"passed\"]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-5161ec9d8928f8b8850dd9a5": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_c_independent_regressions_v4.py", + "symbol": "test_a_resolvable_refinement_error_still_requires_explaining_a_smaller_reviewed_budget", + "lines": [ + 56, + 56 + ], + "text_sha256": "afa5c9bf65257fabcf63d4e4cf89b82eac1b242a5b36ea685c67c2d42acb815e" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert consistency[\"concerns\"] == [\"coarse_declared_uncertainty_smaller_than_refinement_estimate\"]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-afba6644d0c7811e21d3fbdb": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_c_independent_regressions_v4.py", + "symbol": "test_a_resolvable_refinement_error_still_requires_explaining_a_smaller_reviewed_budget", + "lines": [ + 57, + 57 + ], + "text_sha256": "0b035a7e62327726d266d24ac4a65e6d6ed8c08bdaadd8da53af200a1fe9f59c" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert not result[\"qualified\"] and not result[\"device_qualified\"]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-732cc44a8f249de233f1fb47": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_c_independent_regressions_v4.py", + "symbol": "test_a_resolvable_refinement_error_still_requires_explaining_a_smaller_reviewed_budget", + "lines": [ + 58, + 58 + ], + "text_sha256": "dfc60c75a0e18e213c76b6639ab986b8569b0e9cb69ecd5e6d439d9e268d1257" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert consistency[\"status\"] == \"unresolved_numerical_evidence_conflict\"", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-9970d948b638d1c078b1bd30": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_c_independent_regressions_v4.py", + "symbol": "test_prerequisites_must_bind_the_external_window_even_when_every_evidence_digest_matches", + "lines": [ + 25, + 25 + ], + "text_sha256": "2241b1b9045935c84f38ec50dc61644af48efe9fd65afeab99fc7b6260ae2b40" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert control[\"qualified\"] and control[\"device_qualified\"]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-82fdbfceb156c8931f0f8844": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_c_independent_regressions_v4.py", + "symbol": "test_prerequisites_must_bind_the_external_window_even_when_every_evidence_digest_matches", + "lines": [ + 37, + 37 + ], + "text_sha256": "0b035a7e62327726d266d24ac4a65e6d6ed8c08bdaadd8da53af200a1fe9f59c" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert not result[\"qualified\"] and not result[\"device_qualified\"]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-b734d5f65974d50c1f395cfb": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_c_independent_regressions_v4.py", + "symbol": "test_prerequisites_must_bind_the_external_window_even_when_every_evidence_digest_matches", + "lines": [ + 38, + 38 + ], + "text_sha256": "7a76897cde575c0171831cc75cbae4b138bdc81f6d23853bb54cd7e77361a7b4" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert not any(result[\"eligible_frequency_points\"])", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-d6becb370c6845ad4ada1f97": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_c_independent_regressions_v4.py", + "symbol": "test_prerequisites_must_bind_the_external_window_even_when_every_evidence_digest_matches", + "lines": [ + 39, + 39 + ], + "text_sha256": "5d1ce36022f03c849dc0b23505e0884f5ce2beac617b76a71293bc9cb08330b8" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result[\"invalid_prerequisites\"]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-070a24117b4b090c152b36ff": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/discretization/test_fe_operators.py", + "symbol": "test_bernoulli_at_zero", + "lines": [ + 16, + 16 + ], + "text_sha256": "e6b1dcf69f716aaa3fc7e3f11de05fa85760d50eb9a6633ae9dde4a9befb9597" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert bernoulli(np.array([0.0]))[0] == pytest.approx(1.0)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-80e491187e17ac663ee8a7ef": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/discretization/test_fe_operators.py", + "symbol": "test_bernoulli_derivative_has_finite_asymptotic_limits", + "lines": [ + 56, + 56 + ], + "text_sha256": "69d4715007f6411d6c7aed2e387ecba71ee161cf2f40a1c490564b4ab8c5d31d" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_array_equal(derivative, np.array([-1.0, 0.0]))", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-520a658299abd0c26afd5cf4": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/discretization/test_fe_operators.py", + "symbol": "test_bernoulli_derivative_matches_centered_difference", + "lines": [ + 46, + 50 + ], + "text_sha256": "8e9ad9777e1f246f5332abeafcbc5f4086127a7f60678e50ebd85d4a37306cb0" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert bernoulli_derivative(np.array([value]))[0] == pytest.approx(\n finite_difference,\n rel=2.0e-7,\n abs=2.0e-10,\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-d14de7421cd5f61790e1dfbc": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/discretization/test_fe_operators.py", + "symbol": "test_bernoulli_large_negative", + "lines": [ + 27, + 27 + ], + "text_sha256": "884f9071265b282c4d39b7fd5c9b06b7f7d7a712f766ee71fefbee142dc58866" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert bernoulli(x)[0] == pytest.approx(20.0, rel=1e-6)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-444d90a987eac660434d94a4": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/discretization/test_fe_operators.py", + "symbol": "test_bernoulli_large_positive", + "lines": [ + 21, + 21 + ], + "text_sha256": "8648140abd5bd8106303270045ab9c5d40bbdd348347d919c5f8166bc83137c6" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert bernoulli(np.array([50.0]))[0] == pytest.approx(0.0, abs=1e-10)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-494f61fcdb6f0a0fa605b36b": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/discretization/test_fe_operators.py", + "symbol": "test_bernoulli_symmetry", + "lines": [ + 33, + 33 + ], + "text_sha256": "71ea4a9d96a0c984ef59cf5fceb981f0033385ea054dbf0918dbfa9ed266b316" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert (bernoulli(x) * np.exp(x))[0] == pytest.approx(bernoulli(-x)[0], rel=1e-10)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-236728b69ef72b970698b8fd": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/discretization/test_fe_operators.py", + "symbol": "test_sg_flux_n_equilibrium", + "lines": [ + 173, + 173 + ], + "text_sha256": "75f640f2aeeb7d871a3028317d9bfca7d439722b067a25f650f224f0136a20b5" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert abs(J) < 1e-10 * abs(n_eq[0])", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-d781eddbcd1ea2b11400cd08": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/discretization/test_fe_operators.py", + "symbol": "test_sg_flux_p_equilibrium", + "lines": [ + 184, + 184 + ], + "text_sha256": "4475e6b34ca1d268b21ac363e8c176a07fcb8d85d7eb9c7862c0982e77c867f7" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert abs(J) < 1e-10 * abs(p_eq[0])", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-1676e5e81057eb956a6e2145": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/discretization/test_fe_operators.py", + "symbol": "test_vector_sg_face_jacobian_matches_independent_finite_difference", + "lines": [ + 144, + 149 + ], + "text_sha256": "a11add268ecc203f3bc7893df419d048ace87e89b9c323b0511e15e0a15dca8b" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_allclose(\n local.flux,\n flux_function(phi, density, dx, diffusion, thermal_voltage),\n rtol=0.0,\n atol=0.0,\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-5f5ae68faef0a367c90e9336": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/discretization/test_fe_operators.py", + "symbol": "test_vector_sg_face_jacobian_matches_independent_finite_difference", + "lines": [ + 150, + 155 + ], + "text_sha256": "d46adcad2fdecabcc28d2c9f4c41a768b0540206aaf599d3e3f8a433639b7c60" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_allclose(\n density_difference,\n expected_density,\n rtol=3.0e-7,\n atol=float(np.max(np.abs(expected_density))) * 1.0e-9,\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-f324013f6ff4245942da0b02": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/discretization/test_fe_operators.py", + "symbol": "test_vector_sg_face_jacobian_matches_independent_finite_difference", + "lines": [ + 156, + 161 + ], + "text_sha256": "576eae405688a2a32e5d5f1ef1a886a8e7390daeae37f293eff9174417009fd4" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_allclose(\n potential_difference,\n expected_potential,\n rtol=3.0e-7,\n atol=float(np.max(np.abs(expected_potential))) * 1.0e-9,\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-882d3c67220c7101d958e19d": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_dynamic_storage.py", + "symbol": "test_invalid_increment_inputs_fail_closed", + "lines": [ + 61, + 61 + ], + "text_sha256": "bd512bdec3c3c8f5d3f63962fb209a74d4b8467ab13fe8c8ec53dd08c54b5a0d" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(DynamicStorageIncrementError):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-448c74afc1b6eebc2f1c3a4e": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_dynamic_storage.py", + "symbol": "test_log_density_update_fixed_branch_and_large_negative_input", + "lines": [ + 113, + 113 + ], + "text_sha256": "a3fade7e7b9598fab802ab3021a1f05a83ad2c90ea5daf7972fc1716a4cbc8b0" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert mapped[0] > 0.", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-aef228aa7e4f58c5f5bb373c": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_dynamic_storage.py", + "symbol": "test_log_density_update_fixed_branch_and_large_negative_input", + "lines": [ + 109, + 109 + ], + "text_sha256": "7f19d813c64cbf221a56cd326dc407d8d419122aba30bc0f1644c5b4bbc829a0" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_array_equal(calls[\"exp\"][0][0], z)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-7b3d8fa541f5bde07455ab63": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_dynamic_storage.py", + "symbol": "test_log_density_update_fixed_branch_and_large_negative_input", + "lines": [ + 110, + 110 + ], + "text_sha256": "3d8e00c57ece8bc669bac9b7c94c7f0d50314d509fffa03bb2874f15072b5805" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_array_equal(calls[\"expm1\"][0][0], z)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-bff9109e61326bba3bbb9981": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_dynamic_storage.py", + "symbol": "test_log_density_update_fixed_branch_and_large_negative_input", + "lines": [ + 111, + 111 + ], + "text_sha256": "bcccb41da0513644f89b4f2add91abda5dfacbea1f04f3102a8b939864d54b17" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_array_equal(calls[\"exp\"][0][1], [True, True, False, False, False, False, True, True])", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-201eb87971f657fd3aae6c05": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_dynamic_storage.py", + "symbol": "test_log_density_update_fixed_branch_and_large_negative_input", + "lines": [ + 112, + 112 + ], + "text_sha256": "4c5a73a5ab249bbecc2113de786a780b06803051d4b25b3bdf9ccb59a1497ea3" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_array_equal(calls[\"expm1\"][0][1], [False, False, True, True, True, True, False, False])", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-4e6674951c58c14b81904ff8": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_dynamic_storage.py", + "symbol": "test_log_density_update_fixed_branch_and_large_negative_input", + "lines": [ + 114, + 114 + ], + "text_sha256": "3510358541b11230b21551a6aecf1d49475ded76bf136cbb3856b68cb85232f5" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_allclose(mapped, exp(z), rtol=3e-16, atol=0.)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-7aaec5e7251adf29a260184b": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_dynamic_storage.py", + "symbol": "test_log_density_update_matches_frozen_independent_trace_reference", + "lines": [ + 77, + 77 + ], + "text_sha256": "080ea2525fc6d68c3e214d5d6d9d04dda19919a521a9d33982812fd522b885b9" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_array_equal(log_density_update(anchor, coordinate), expected)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-8df0d4e0a43f487228754afc": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_dynamic_storage.py", + "symbol": "test_log_density_update_rejects_invalid_or_unrepresentable_density", + "lines": [ + 123, + 123 + ], + "text_sha256": "bd512bdec3c3c8f5d3f63962fb209a74d4b8467ab13fe8c8ec53dd08c54b5a0d" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(DynamicStorageIncrementError):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-57a61c7580493b566fb91357": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_dynamic_storage.py", + "symbol": "test_log_density_update_zero_scalar_shape_and_input_ownership", + "lines": [ + 85, + 85 + ], + "text_sha256": "be262a97c13d218a633d9ca0bd5d13ffaef00a045823a93166631b2c024bee89" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.dtype == np.float64 and result.shape == anchor.shape", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-67a9db39c0076ac09f49b626": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_dynamic_storage.py", + "symbol": "test_log_density_update_zero_scalar_shape_and_input_ownership", + "lines": [ + 89, + 89 + ], + "text_sha256": "3a1b6e1483e1727548611faa9284b6b6cee03eed6d42c1271e497d683aaa7409" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert scalar.shape == () and scalar == 7.", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-5791eb9906ebee8414f05cf6": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_dynamic_storage.py", + "symbol": "test_log_density_update_zero_scalar_shape_and_input_ownership", + "lines": [ + 84, + 84 + ], + "text_sha256": "85442cfcd83b1cc4d23123a896e4471fe81732a2ce6d0b24d3d7f2af57ce1874" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_array_equal(result, before)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-5e5d3fd8be236249f21f70d1": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_dynamic_storage.py", + "symbol": "test_log_density_update_zero_scalar_shape_and_input_ownership", + "lines": [ + 87, + 87 + ], + "text_sha256": "461c8fb741a6888dec949dacc3fe6125c099b7bc9dfabba9f3d6e4b0dcdc0c2d" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_array_equal(anchor, before)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-57ec912a8b27c59b7c79c115": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_dynamic_storage.py", + "symbol": "test_logit_increment_matches_reconstructed_occupancy_change", + "lines": [ + 31, + 36 + ], + "text_sha256": "f16a1255cd1ed2e6d2e59ba9b9461b413a71e64926cf1f613143c909fa0e46ab" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_allclose(\n logit_occupancy_increment(previous, coordinate_increment),\n reconstructed - previous,\n rtol=2.0e-9,\n atol=1.0e-17,\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-e3860583b6542a058854c780": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_dynamic_storage.py", + "symbol": "test_zero_coordinate_increment_is_exactly_zero", + "lines": [ + 40, + 43 + ], + "text_sha256": "907d78e813cb32c67af23f9c5549d8dfd80c45682779417fa10d65d4ce847da1" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_array_equal(\n log_density_increment(np.array([1.0, 1.0e30]), np.zeros(2)),\n np.zeros(2),\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-b4e425ecac698a753d4132f6": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_dynamic_storage.py", + "symbol": "test_zero_coordinate_increment_is_exactly_zero", + "lines": [ + 44, + 47 + ], + "text_sha256": "d2d54cf47870ff51a1579bf70d788ff9bc061ff88d4433ceb5d98c0697e48b26" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_array_equal(\n logit_occupancy_increment(np.array([0.1, 0.9]), np.zeros(2)),\n np.zeros(2),\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-ebc355568c471d76369f5dcf": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_fixed_occupancy_capture_precision.py", + "symbol": "test_both_signs_survive_a_complement_rounded_to_one", + "lines": [ + 122, + 122 + ], + "text_sha256": "4e7037673d8e60f562217cd0fa1fe3019b4779bea8582392f48d0d34d2bc9770" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert 1.0-occupancy == 1.0", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-6267f43825a2a5d7dd20031c": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_fixed_occupancy_capture_precision.py", + "symbol": "test_both_signs_survive_a_complement_rounded_to_one", + "lines": [ + 134, + 134 + ], + "text_sha256": "87c533d907b2dcf6bbaa4c7b6f31b7dd87fc5dfaab77d9bad6ae30ebd589c4a6" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " _assert_ulp_close(capture, expected_capture)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-185338b53e88724e6631e45b": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_fixed_occupancy_capture_precision.py", + "symbol": "test_both_signs_survive_a_complement_rounded_to_one", + "lines": [ + 135, + 135 + ], + "text_sha256": "0842cf2a6b08574fb237212642ae2b93165540eb9014d51418f1ac65636409cf" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " _assert_ulp_close(tangent, expected_tangent)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-a9165e43a8f0ef07f9cff256": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_fixed_occupancy_capture_precision.py", + "symbol": "test_both_signs_survive_a_complement_rounded_to_one", + "lines": [ + 136, + 136 + ], + "text_sha256": "89704d831ba372f38038c4db8ec04e1c82e18f1e1f5c11e8d4f1354364574595" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_array_equal(np.sign(capture), [-1, 1, 1, -1])", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-eeab5808684cdf4e243b8780": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_fixed_occupancy_capture_precision.py", + "symbol": "test_disabled_capture_at_largest_finite_density", + "lines": [ + 183, + 183 + ], + "text_sha256": "77aaa9c819c974bd09b7d77d30f9c4d033bdc3216f65e86ac1445b6216696a7e" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_array_equal(capture, np.zeros(4))", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-bee6c15ce2b33a0084569180": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_fixed_occupancy_capture_precision.py", + "symbol": "test_disabled_capture_at_largest_finite_density", + "lines": [ + 184, + 184 + ], + "text_sha256": "5b8f5564b2ca52a8ce949298f117ac3535129cc259131b9123654e3e777b33ee" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_array_equal(tangent, np.zeros((4, 4)))", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-364930f72905eefd1c9275f7": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_fixed_occupancy_capture_precision.py", + "symbol": "test_finite_density_domain_includes_values_outside_dd_range", + "lines": [ + 170, + 170 + ], + "text_sha256": "87c533d907b2dcf6bbaa4c7b6f31b7dd87fc5dfaab77d9bad6ae30ebd589c4a6" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " _assert_ulp_close(capture, expected_capture)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-84cd3c280c68f630871c899e": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_fixed_occupancy_capture_precision.py", + "symbol": "test_finite_density_domain_includes_values_outside_dd_range", + "lines": [ + 171, + 171 + ], + "text_sha256": "0842cf2a6b08574fb237212642ae2b93165540eb9014d51418f1ac65636409cf" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " _assert_ulp_close(tangent, expected_tangent)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-c4ab76651b130c8512580b2f": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_fixed_occupancy_capture_precision.py", + "symbol": "test_log_density_tangent_matches_decimal_central_differences", + "lines": [ + 222, + 222 + ], + "text_sha256": "81472be21baafaad5a76a27efb69311a234c6652614eeb8a8b1a7e9f76249beb" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " _assert_ulp_close(tangent, numerical)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-85729d498ece81cf5b78d7c2": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_impedance_lockin.py", + "symbol": "test_exact_dc_transient_lockin_matches_frequency_domain_ionic_points", + "lines": [ + 60, + 60 + ], + "text_sha256": "596c05463e3fd91737a18a5b5fcaecd38fc55256e95136a56a9fab54a8f9588d" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert certificate.numerically_certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-8095cfedb30acb45caff4cbf": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_impedance_lockin.py", + "symbol": "test_exact_dc_transient_lockin_matches_frequency_domain_ionic_points", + "lines": [ + 61, + 61 + ], + "text_sha256": "a38e5e5b5d3d6fec56cb0caabb5acc6a4d8ce2c44f665f7f7e85516e0073ce4e" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert certificate.frequency_domain_agreement_certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-818fe89d5cf2947f1732e0ce": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_impedance_lockin.py", + "symbol": "test_exact_dc_transient_lockin_matches_frequency_domain_ionic_points", + "lines": [ + 62, + 62 + ], + "text_sha256": "c526774276f161da03d5cd813b8bb1c03345041126f46e403b0cc36666df5bfb" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert certificate.time_resolution_certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-4b6b34f228e63c09a52646d6": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_impedance_lockin.py", + "symbol": "test_exact_dc_transient_lockin_matches_frequency_domain_ionic_points", + "lines": [ + 63, + 63 + ], + "text_sha256": "204bb2a7e8e2e25ec4a1674bfb2de951d09f667fc5cab4f7947f8fb94d0af9ce" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert certificate.periodicity_certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-9bb1c11d3f772629c48ebf9e": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_impedance_lockin.py", + "symbol": "test_exact_dc_transient_lockin_matches_frequency_domain_ionic_points", + "lines": [ + 64, + 64 + ], + "text_sha256": "ce43942fe5cfbccc8b161aaba073b7ac703509783e015ba1d7611fd41adfa55f" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert certificate.inventory_certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-bbeac907b852a70ac36313e0": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_impedance_lockin.py", + "symbol": "test_exact_dc_transient_lockin_matches_frequency_domain_ionic_points", + "lines": [ + 65, + 65 + ], + "text_sha256": "02b97639bfb15bcdf02d44cc1c7584a49f17254b162f02f8f2d784b8a85c0337" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert certificate.frequency_window_certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-98a15f1a58f8051f4b60fe92": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_impedance_lockin.py", + "symbol": "test_exact_dc_transient_lockin_matches_frequency_domain_ionic_points", + "lines": [ + 66, + 66 + ], + "text_sha256": "79abe53f8992cf3289a25507817fee1ed43d021132cbdd0744a79ebf55e7d1ad" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert not certificate.thermodynamically_certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-d02d03c41bcc2360132f215a": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_impedance_lockin.py", + "symbol": "test_exact_dc_transient_lockin_matches_frequency_domain_ionic_points", + "lines": [ + 67, + 67 + ], + "text_sha256": "7e9cfd909e62807480f30e7babc55e0214e8b08cbce63c6fac9eaf21d0a40e0e" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert not certificate.certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-dd5c42d40da3c595ac051c72": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_impedance_lockin.py", + "symbol": "test_exact_dc_transient_lockin_matches_frequency_domain_ionic_points", + "lines": [ + 68, + 68 + ], + "text_sha256": "20188873774e67a1b99c039966e1f7138f24c700219160c7386ee167956a7758" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert certificate.numerical_reasons == ()", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-9a5c48adfd39f69a9ae5acea": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_impedance_lockin.py", + "symbol": "test_exact_dc_transient_lockin_matches_frequency_domain_ionic_points", + "lines": [ + 69, + 69 + ], + "text_sha256": "87e937f8a3732af80d8d6488f9f4071498857d3f7354617a250143a090f02e45" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert certificate.reasons == (\"contact_thermodynamics_not_certified\",)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-474a559975705b55312f1e0a": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_impedance_lockin.py", + "symbol": "test_exact_dc_transient_lockin_matches_frequency_domain_ionic_points", + "lines": [ + 70, + 70 + ], + "text_sha256": "f5e9071fddb36fcfa9a4e87627f01fd53d3ea9bc6a791d7a9ecec0b9b93f306f" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert certificate.max_frequency_domain_magnitude_relative_difference < 0.01", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-49236dd662bad1ea7b815011": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_impedance_lockin.py", + "symbol": "test_exact_dc_transient_lockin_matches_frequency_domain_ionic_points", + "lines": [ + 71, + 71 + ], + "text_sha256": "9e2b87c6972449a608aea1e8067f6b3145c694e0783d279ce2eba2694bb3fd9e" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert certificate.max_frequency_domain_phase_difference_deg < 0.01", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-2088fdd181a8cca7977c805b": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py", + "symbol": "test_lockin_crosscheck_certifies_each_numerical_axis", + "lines": [ + 153, + 157 + ], + "text_sha256": "4fbe7f25e4ee8eab631c5e97c6e3e1796dca7195581d9bf522a8bb764d056554" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert calls == [\n (float(frequency), points_per_cycle)\n for points_per_cycle in (40, 80, 160)\n for frequency in frequency_domain.frequencies\n ]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-026e6e03a2991579984c81a2": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py", + "symbol": "test_lockin_crosscheck_certifies_each_numerical_axis", + "lines": [ + 159, + 159 + ], + "text_sha256": "596c05463e3fd91737a18a5b5fcaecd38fc55256e95136a56a9fab54a8f9588d" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert certificate.numerically_certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-5f23d2ebc86859984003d23d": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py", + "symbol": "test_lockin_crosscheck_certifies_each_numerical_axis", + "lines": [ + 160, + 160 + ], + "text_sha256": "a38e5e5b5d3d6fec56cb0caabb5acc6a4d8ce2c44f665f7f7e85516e0073ce4e" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert certificate.frequency_domain_agreement_certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-ba63ba8138e3e32ddb392a08": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py", + "symbol": "test_lockin_crosscheck_certifies_each_numerical_axis", + "lines": [ + 161, + 161 + ], + "text_sha256": "c526774276f161da03d5cd813b8bb1c03345041126f46e403b0cc36666df5bfb" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert certificate.time_resolution_certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-7ee998cac7293077865576b4": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py", + "symbol": "test_lockin_crosscheck_certifies_each_numerical_axis", + "lines": [ + 162, + 162 + ], + "text_sha256": "204bb2a7e8e2e25ec4a1674bfb2de951d09f667fc5cab4f7947f8fb94d0af9ce" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert certificate.periodicity_certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-e4cbb12654b64b29b5186946": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py", + "symbol": "test_lockin_crosscheck_certifies_each_numerical_axis", + "lines": [ + 163, + 163 + ], + "text_sha256": "ce43942fe5cfbccc8b161aaba073b7ac703509783e015ba1d7611fd41adfa55f" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert certificate.inventory_certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-0c9c870bbc674311e11273fc": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py", + "symbol": "test_lockin_crosscheck_certifies_each_numerical_axis", + "lines": [ + 164, + 164 + ], + "text_sha256": "79abe53f8992cf3289a25507817fee1ed43d021132cbdd0744a79ebf55e7d1ad" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert not certificate.thermodynamically_certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-984ba9aa291e68e38af940a9": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py", + "symbol": "test_lockin_crosscheck_certifies_each_numerical_axis", + "lines": [ + 165, + 165 + ], + "text_sha256": "c6e5e40c7d1daefbeb41efcd6a177cb85bcf1c2b456eb12b6ed09ef7bfad3a99" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert not certificate.frequency_window_certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-cd3658935b3a53dde10079b8": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py", + "symbol": "test_lockin_crosscheck_certifies_each_numerical_axis", + "lines": [ + 166, + 166 + ], + "text_sha256": "7e9cfd909e62807480f30e7babc55e0214e8b08cbce63c6fac9eaf21d0a40e0e" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert not certificate.certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-37bb7ebfa7de4f12c344238d": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py", + "symbol": "test_lockin_crosscheck_certifies_each_numerical_axis", + "lines": [ + 167, + 167 + ], + "text_sha256": "20188873774e67a1b99c039966e1f7138f24c700219160c7386ee167956a7758" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert certificate.numerical_reasons == ()", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-454d309829a28684fdb98f24": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py", + "symbol": "test_lockin_crosscheck_certifies_each_numerical_axis", + "lines": [ + 168, + 171 + ], + "text_sha256": "1d13e09accbed9e2cebcbf4cd670538a7a29812006985ec33c4aa8d456ad6eaa" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert certificate.reasons == (\n \"contact_thermodynamics_not_certified\",\n \"frequency_window_not_certified\",\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-f8fa65f00b5fdac1719ddcdb": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py", + "symbol": "test_lockin_crosscheck_certifies_each_numerical_axis", + "lines": [ + 172, + 175 + ], + "text_sha256": "0ca3e2984e0455449916cee893ca1c37778de7b6ece1b7cbd85f013ca68fffe7" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert all(\n item.numerically_certified\n for item in certificate.frequency_certificates\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-8a1b0617808a3911a60a701a": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py", + "symbol": "test_lockin_crosscheck_rejects_replaced_dc_state_before_transient", + "lines": [ + 196, + 199 + ], + "text_sha256": "fec001ed625dbe68b6b4787faebf8f79fb233cf714b4cecd800e433dbb844579" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(\n lockin.IonAwareTransientLockInCapabilityError,\n match=\"DC state does not match\",\n ):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-80076324e4f990f38d845ebc": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py", + "symbol": "test_lockin_protocol_round_trip_binds_exact_reference", + "lines": [ + 60, + 60 + ], + "text_sha256": "c8c375848a5fe8de36c3d9fe45a67962f1042fd105f177b03b9a75d04da08545" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert rebuilt == protocol", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-b407e56eb61a3f9016802ec1": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py", + "symbol": "test_lockin_protocol_round_trip_binds_exact_reference", + "lines": [ + 61, + 61 + ], + "text_sha256": "412b3eea6e2d0bd249cbdcd53a1b3f1017f9d643aa4e17a330e715b6743b9b29" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert rebuilt.protocol_hash == protocol.protocol_hash", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-3c459c0bfa3b043dd8366180": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py", + "symbol": "test_lockin_protocol_round_trip_binds_exact_reference", + "lines": [ + 62, + 64 + ], + "text_sha256": "7168461881b445d5f984d38de0be8488d75398a6579ee5dac332f08fc56cf3d0" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert rebuilt.frequency_domain_protocol_sha256 == (\n frequency_domain.protocol_hash\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-2e6db00612fd2bfb23c273e9": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py", + "symbol": "test_lockin_protocol_round_trip_binds_exact_reference", + "lines": [ + 65, + 65 + ], + "text_sha256": "96e65ac0c7146eb4a5bee764cb1eb2279819c99901bc0396fb4f06098e91d150" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert rebuilt.dc_state_sha256 == frequency_domain.protocol.dc_state_sha256", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-49f4a68eb79c4649c4484a60": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py", + "symbol": "test_lockin_protocol_round_trip_binds_exact_reference", + "lines": [ + 66, + 66 + ], + "text_sha256": "05d2fdd54734fd26aae50c41d4bfcbac97edf9396f13b053e404b667ed8bc2be" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert replace(rebuilt, cycles=7).protocol_hash != rebuilt.protocol_hash", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-500f51cd12a764cbaecef237": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py", + "symbol": "test_lockin_protocol_schema_and_frequency_subset_fail_closed", + "lines": [ + 79, + 79 + ], + "text_sha256": "9a9b0d051f7233b692fc241980e95af65314f8dbffa4e1d4420ddf8b7c63cc57" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(ValueError, match=\"extra\"):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-937833f603c2903b77ca6953": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py", + "symbol": "test_lockin_protocol_schema_and_frequency_subset_fail_closed", + "lines": [ + 84, + 84 + ], + "text_sha256": "1a8509783fcbd211930ff8868c5092d26fc738597cef944d8034b4063a259121" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(ValueError, match=\"missing\"):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-4505cd2007568296b8dcbfcd": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py", + "symbol": "test_lockin_protocol_schema_and_frequency_subset_fail_closed", + "lines": [ + 86, + 86 + ], + "text_sha256": "da1a56da475d518f6664feb9b2e7644d8a96373e534541fd4230375f42eab640" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(lockin.IonAwareTransientLockInCapabilityError):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-6d94b4b51d3a1eebe3868be3": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py", + "symbol": "test_lockin_protocol_schema_and_frequency_subset_fail_closed", + "lines": [ + 91, + 91 + ], + "text_sha256": "56b0f4378646bc1557e19bcad71806671efbdc7b64368a3a41545ff8f04d6073" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(ValueError, match=\"20 mV\"):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-21fc8c84d0be5abe3b92ee4f": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py", + "symbol": "test_tighter_preregistered_agreement_gate_returns_failed_evidence", + "lines": [ + 226, + 226 + ], + "text_sha256": "bfd2594d1839ae782ea50a1f6baf3650220efca3c7a38d03924e40f93b027153" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert not result.certificate.numerically_certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-5b82c76817e22c952eca29c6": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py", + "symbol": "test_tighter_preregistered_agreement_gate_returns_failed_evidence", + "lines": [ + 227, + 227 + ], + "text_sha256": "b9ad333b113e3c21a9faece27ddb4b49874acb37eb6a503ce0ebe1aa37df438b" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert not result.certificate.frequency_domain_agreement_certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-46c6cd96015a9bb70d94d255": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py", + "symbol": "test_tighter_preregistered_agreement_gate_returns_failed_evidence", + "lines": [ + 228, + 230 + ], + "text_sha256": "1c96281b04fa889dccedd2310ec7c1749472454e11d8bd354c38ee1fd2667eef" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.certificate.numerical_reasons == (\n \"frequency_domain_agreement_failed\",\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-765fcbadfbcc7dea4c7e3bec": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py", + "symbol": "test_tighter_preregistered_agreement_gate_returns_failed_evidence", + "lines": [ + 231, + 234 + ], + "text_sha256": "92ad03f114647960a6019395484df4988a61c23443b26200b2a867352e98949a" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(\n lockin.IonAwareTransientLockInCertificationError,\n match=\"frequency_domain_agreement_failed\",\n ):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-2aac60a36933dfb1d4859b9d": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/twod/test_jv_sweep_2d_uniform.py", + "symbol": "test_jv_sweep_2d_has_nontrivial_photocurrent", + "lines": [ + 60, + 60 + ], + "text_sha256": "caac0a42bfb1cbc0e29a087f9608cc038409a06f2b31c5b0256905b876a8b25f" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert j_at_zero > 10.0, f\"|J(0)| = {j_at_zero:.3e} A/m² is too small for illuminated\"", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-8e29fe184069a5798defaad6": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/twod/test_jv_sweep_2d_uniform.py", + "symbol": "test_jv_sweep_2d_returns_finite_result", + "lines": [ + 26, + 26 + ], + "text_sha256": "d279de93266d1f6ec73216d969ca0a9eb2f1b98d302aa1525ae9e23540fc94dc" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert isinstance(result, JV2DResult)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-097ad3f971c93a3165036e9c": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/twod/test_jv_sweep_2d_uniform.py", + "symbol": "test_jv_sweep_2d_returns_finite_result", + "lines": [ + 27, + 27 + ], + "text_sha256": "02ee76d3fdd8215d1d13fdd24ada8f35d52dac8129f44a04b631ff9d13e8fcc4" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.all(np.isfinite(result.V))", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-fb7be61c2c216c19d4a5fc41": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/twod/test_jv_sweep_2d_uniform.py", + "symbol": "test_jv_sweep_2d_returns_finite_result", + "lines": [ + 28, + 28 + ], + "text_sha256": "2845456feec0a207af09ccc2984d92666ac393edf3533624b5ade7804ec16905" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.all(np.isfinite(result.J))", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-c3f345e30c334eeaede6fdaa": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/twod/test_jv_sweep_2d_uniform.py", + "symbol": "test_jv_sweep_2d_returns_finite_result", + "lines": [ + 29, + 29 + ], + "text_sha256": "901b350b58c670b0f816d064cde4e4ac74b6821e8e5cc4e78129d00fbb157d55" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert len(result.V) == len(result.J)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-127dc917c3189c0b1966b899": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/twod/test_jv_sweep_2d_uniform.py", + "symbol": "test_jv_sweep_2d_returns_finite_result", + "lines": [ + 35, + 35 + ], + "text_sha256": "a95604e72f8d62e63e58cddb8698f6bea3767047ec57c564f470129574ec178e" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert m.voc_bracketed is True", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-6d8ad18cf3eb18ac169341f5": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/twod/test_jv_sweep_2d_uniform.py", + "symbol": "test_jv_sweep_2d_returns_finite_result", + "lines": [ + 36, + 36 + ], + "text_sha256": "92e559d7b4f1e27c4d56b4ff05a4b96fa89fd21504df10755b949a3d77408896" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert m.J_sc > 0.0", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-7c43da406bf7a5ecbb17b65f": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/twod/test_jv_sweep_2d_uniform.py", + "symbol": "test_jv_sweep_2d_returns_finite_result", + "lines": [ + 37, + 37 + ], + "text_sha256": "f3b4567c26ca95ba551c10efb27733f11f13a9f4c32fb250f29be8d9786bf3be" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert 0.0 < m.V_oc <= 1.0", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-4a5412d26652f4b99c542915": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/twod/test_jv_sweep_2d_uniform.py", + "symbol": "test_jv_sweep_2d_returns_finite_result", + "lines": [ + 38, + 38 + ], + "text_sha256": "081399b4983b5b99592be089f57fc5c75486f567bbf8f3816478d91d542151e7" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert 0.0 < m.FF < 1.0", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-10fc0cd3b27dbce0f4dbdb7c": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/twod/test_jv_sweep_2d_uniform.py", + "symbol": "test_jv_sweep_2d_returns_finite_result", + "lines": [ + 39, + 39 + ], + "text_sha256": "e4a7a5fc6abe33cc75399693367e5112c1209888197187ab556a760b3dd44150" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.isfinite(m.PCE)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-563fdf4309ea3c29c5fa6abc": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/twod/test_voc_grain_sweep.py", + "symbol": "test_voc_grain_sweep_monotone_in_Lg", + "lines": [ + 32, + 32 + ], + "text_sha256": "e5071a9775f8664a80df12ee688c703ef38d1fe13b9bc2396ea4546a18faa0a1" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert res.V_oc_V.shape == (3,)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-05c06641770788acc99815c2": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/twod/test_voc_grain_sweep.py", + "symbol": "test_voc_grain_sweep_monotone_in_Lg", + "lines": [ + 35, + 36 + ], + "text_sha256": "8767dc1ea0ff085dc32ad28736fa802488712d2a1f543e5e7430592a0b0116ce" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.all(np.diff(res.V_oc_V) >= -5e-3), \\\n f\"V_oc not monotone in L_g: V_oc={res.V_oc_V}\"", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-5cea7c16f6c5c42fe11826cd": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/twod/test_voc_grain_sweep.py", + "symbol": "test_voc_grain_sweep_monotone_in_Lg", + "lines": [ + 39, + 39 + ], + "text_sha256": "12ad32d65c7c1b1406a01176271703826804a334803605b533f66ecbc7822ab4" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert (res.V_oc_V[-1] - res.V_oc_V[0]) * 1e3 > 5.0", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-f77a6ef4f621af88b7e4aa84": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/twod/test_contact_boundary_semantics.py", + "symbol": "test_all_blocking_contacts_conserve_carriers_apart_from_generation_and_recombination", + "lines": [ + 111, + 111 + ], + "text_sha256": "fd8c84570c3a5241c2509417d7bf9995838f4510f89a49384bccd47a1efb285e" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert abs(residual) < 1e-12 * scale", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-8de8015840afbb8838a9d894": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/twod/test_contact_boundary_semantics.py", + "symbol": "test_every_resolved_contact_matches_one_dimension", + "lines": [ + 51, + 51 + ], + "text_sha256": "884829a406e0c2e4c01b1290f85802be70a17d820b248fb00eeb75a75fcfc4aa" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert two.has_selective_contacts == one.has_selective_contacts", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-f21d1b9fa0cab6239689fb41": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/twod/test_contact_boundary_semantics.py", + "symbol": "test_every_resolved_contact_matches_one_dimension", + "lines": [ + 53, + 53 + ], + "text_sha256": "798089bf1fad3030932da60869110bd0a8dcf56f0c765bbf4e6202c4bf70ce7d" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert getattr(two, two_name) == getattr(one, one_name)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-da7f3fc6778aa7f633bfba9a": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/twod/test_contact_boundary_semantics.py", + "symbol": "test_execution_protocol_includes_explicit_flat_band_contact_kinetics", + "lines": [ + 130, + 130 + ], + "text_sha256": "25446815cc892fea2874057f1f1e8cc0099de67e59f13ffc8592a9656a0d3fee" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert protocol.carrier_boundary_condition == \"selective_robin\"", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-fd57821fbb1be5b3ab029187": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/twod/test_contact_boundary_semantics.py", + "symbol": "test_increasing_exchange_velocity_approaches_fixed_reservoirs", + "lines": [ + 221, + 221 + ], + "text_sha256": "f9f0ba8407fda61b207973d352227744cf83afe05f800ed8645aad14b8d6e7f2" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert differences[2] < differences[1] < differences[0]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-18c17202542cd53f1f006b23": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/twod/test_contact_boundary_semantics.py", + "symbol": "test_increasing_exchange_velocity_approaches_fixed_reservoirs", + "lines": [ + 222, + 222 + ], + "text_sha256": "36cfcd54c9e05f8cf4adc04b3fc16d44460c20099ce55e39aa901fbe16ac59a1" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert differences[2] < 1e-3", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-53a23a977b827f5221441a80": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/twod/test_contact_boundary_semantics.py", + "symbol": "test_mixed_contact_transient_approaches_the_same_one_dimensional_limit", + "lines": [ + 280, + 280 + ], + "text_sha256": "9b25891695208b92daa39f5c2a8f833c1b317a46cef781ec4cca5cd454f00094" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert errors[2] < errors[1] < errors[0]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-63568abdd9afcd8a379a5890": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/twod/test_contact_boundary_semantics.py", + "symbol": "test_mixed_contact_transient_approaches_the_same_one_dimensional_limit", + "lines": [ + 281, + 281 + ], + "text_sha256": "3fe694097fd4831f4f3a01780025f5aaeeb01e3293e4e39cf8dfe32168c2f8f4" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert errors[2] < 5e-3", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-cf4d54443f343839bfce9983": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/twod/test_contact_boundary_semantics.py", + "symbol": "test_mixed_contact_transient_approaches_the_same_one_dimensional_limit", + "lines": [ + 258, + 258 + ], + "text_sha256": "43d81522272611e7b47a5f90e7c901861fdd044f89e660dcffa0bfb6cd3bbcaf" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert solved.success", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-80e14f99d2c59974fbcabfde": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/twod/test_contact_boundary_semantics.py", + "symbol": "test_mixed_contact_transient_approaches_the_same_one_dimensional_limit", + "lines": [ + 276, + 276 + ], + "text_sha256": "228c4f05cd36207d148307f712761c3488be6a8518ec78935e8b457a9e099dc8" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.max(np.abs(result[0, 0] - density[0])) > 1e12", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-6a16d5bc162b58859b860461": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/twod/test_contact_boundary_semantics.py", + "symbol": "test_mixed_contact_transient_approaches_the_same_one_dimensional_limit", + "lines": [ + 274, + 274 + ], + "text_sha256": "070cb1fc242699abc98f8991278ed5cffa89a4ca8848ad3d3f41a21c3bc02da7" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_array_equal(result[0, -1], two.n_eq_right)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-c696878cfd4e12a336e3e144": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/twod/test_contact_boundary_semantics.py", + "symbol": "test_mixed_contact_transient_approaches_the_same_one_dimensional_limit", + "lines": [ + 275, + 275 + ], + "text_sha256": "977a3b857fb0d585d5835f782844f839a877214680c4f85b48afbc324aa2f658" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_array_equal(result[1, 0], two.p_eq_left)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-9637273f0e649eba421000a5": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/twod/test_contact_boundary_semantics.py", + "symbol": "test_mixed_contact_transient_approaches_the_same_one_dimensional_limit", + "lines": [ + 277, + 279 + ], + "text_sha256": "213c0d1193f78874ce9123e81bc7c0315cb5b3d91e39ccd2069ec03960098cc7" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_allclose(\n result, np.broadcast_to(result[:, :, :1], result.shape), rtol=1e-9\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-79ab24929579c388018a8971": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/twod/test_contact_boundary_semantics.py", + "symbol": "test_only_the_selected_contact_evolves", + "lines": [ + 74, + 74 + ], + "text_sha256": "d2993f6dc2b4aac2f6e52e262a00de28074fa7ae51b274a71dafca6425e2ae37" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.any(rate[block, row] != 0.0)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-5978e74974da6edd110b9a1d": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/twod/test_contact_boundary_semantics.py", + "symbol": "test_only_the_selected_contact_evolves", + "lines": [ + 75, + 75 + ], + "text_sha256": "50f3d537d54118b0f4baaba5ea013e4675107a33c8921838c8e78727b3a81c51" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert getattr(material, two_name) == 0.0", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-70fd7ed041a10c9483cac9b2": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/twod/test_contact_boundary_semantics.py", + "symbol": "test_only_the_selected_contact_evolves", + "lines": [ + 73, + 73 + ], + "text_sha256": "52b8f968ee042badef70bf43732ec2afd7cf74f7db02c571d5f85bae0f72c84f" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_array_equal(rate[current_block, current_row], 0.0)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-2813f9dca5147e811147df40": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/twod/test_contact_boundary_semantics.py", + "symbol": "test_reversing_contact_orientation_preserves_the_signed_poisson_boundary", + "lines": [ + 156, + 156 + ], + "text_sha256": "59d4c86f33564c7d3a83e9e5816e8e7811749a40de87a956219e8af977433c87" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert material.junction_polarity == one.junction_polarity == -1.0", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-e55e13200aa0a62b61506997": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/twod/test_contact_boundary_semantics.py", + "symbol": "test_reversing_contact_orientation_preserves_the_signed_poisson_boundary", + "lines": [ + 160, + 160 + ], + "text_sha256": "2a7f8954b92224c42034c19ab3ba1c1f3459ff3a1d346e008afa6e346e725826" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert material.S_p_top == material.S_n_bot == 0.0", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-e559d3d90af77f207132cb28": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/twod/test_contact_boundary_semantics.py", + "symbol": "test_reversing_contact_orientation_preserves_the_signed_poisson_boundary", + "lines": [ + 161, + 161 + ], + "text_sha256": "2d829ecfc6fb56a1ce70b163d4cf00a848f3a29d2cebbae8b5d3dc7941f396fe" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert material.S_n_top is material.S_p_bot is None", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-c5bda86a6e0f77fdf6087cb9": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/twod/test_contact_boundary_semantics.py", + "symbol": "test_reversing_contact_orientation_preserves_the_signed_poisson_boundary", + "lines": [ + 158, + 158 + ], + "text_sha256": "656f6fba21434040e6eb68bc32462e100e60119cf192c97eea50eadf1b8225b0" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_array_equal(snapshot.phi[0], 0.0)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-11bee177a90cd6a9e6c4b158": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/twod/test_contact_boundary_semantics.py", + "symbol": "test_reversing_contact_orientation_preserves_the_signed_poisson_boundary", + "lines": [ + 159, + 159 + ], + "text_sha256": "e75c7833bcd428f54005bb6f245fb3be3cd0b99492198293fe3f07aa6dc851cd" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_allclose(snapshot.phi[-1], one.V_bi_bc + 0.1, atol=1e-14)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-b6a54292ccff1f7890f4ce86": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/twod/test_contact_boundary_semantics.py", + "symbol": "test_rhs_and_snapshot_use_fixed_reservoir_values_without_mutating_input", + "lines": [ + 93, + 93 + ], + "text_sha256": "0dfbced3d94326fa589067b83768c3627698ffb12974a41f571adfe3e0b380ab" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.any(snapshot.Jy_p[0] != 0.0)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-f29196b48c9bf73fa606acc7": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/twod/test_contact_boundary_semantics.py", + "symbol": "test_rhs_and_snapshot_use_fixed_reservoir_values_without_mutating_input", + "lines": [ + 94, + 94 + ], + "text_sha256": "fa6d0ad14f57e7636687f524f96055b19fdd053cfb50827cf0e9c3bd6e3f4cce" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.any(snapshot.Jy_n[-1] != 0.0)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-3228683a2fae8fb4105d9576": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/twod/test_contact_boundary_semantics.py", + "symbol": "test_rhs_and_snapshot_use_fixed_reservoir_values_without_mutating_input", + "lines": [ + 88, + 88 + ], + "text_sha256": "d532f709e20000758544a90f4b12cb799fa1c374d929dc6cdfc4c8c769d6d651" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_array_equal(actual, expected)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-4cf91e44769198113be22d05": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/twod/test_contact_boundary_semantics.py", + "symbol": "test_rhs_and_snapshot_use_fixed_reservoir_values_without_mutating_input", + "lines": [ + 89, + 89 + ], + "text_sha256": "1cdf06b40cb39963d719fe345a479e162c23cb5fd28cecdd3339771f1f8c0c11" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_array_equal(altered, before)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-b8daf4eb48ef9f3629dc7bc6": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/twod/test_contact_boundary_semantics.py", + "symbol": "test_rhs_and_snapshot_use_fixed_reservoir_values_without_mutating_input", + "lines": [ + 91, + 91 + ], + "text_sha256": "ea7eb5034b97a6437e7cfc6764e8f7a670c2c288b6f01113013fe4af269b9867" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_array_equal(snapshot.n[-1], material.n_eq_right)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-b8e45fe851df9007afba30ed": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/twod/test_contact_boundary_semantics.py", + "symbol": "test_rhs_and_snapshot_use_fixed_reservoir_values_without_mutating_input", + "lines": [ + 92, + 92 + ], + "text_sha256": "e585b7757a95a68ad40ab2813ce5120b351e4e6c0cad0b9a736f1874854d94f3" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_array_equal(snapshot.p[0], material.p_eq_left)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-597d8efd0578cd4038bd7b66": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_heterojunction_dark_equilibrium.py", + "symbol": "test_inline_quasi_fermi_matches_compute_band_diagram", + "lines": [ + 595, + 595 + ], + "text_sha256": "47127d51b1f095bef87ffa63a46685473a128e395d20e5c7f427b741ea695322" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.nanmax(np.abs(bd.E_Fn - E_Fn)) < 1.0e-12", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-2998c582cd5bd48f253204e0": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_heterojunction_dark_equilibrium.py", + "symbol": "test_inline_quasi_fermi_matches_compute_band_diagram", + "lines": [ + 596, + 596 + ], + "text_sha256": "9640a745047c6889ff5e6aa43fdf2b7c02810849278193d1db700f30631f1390" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.nanmax(np.abs(bd.E_Fp - E_Fp)) < 1.0e-12", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-8fcc139affcef511e8935b2d": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_heterojunction_dark_equilibrium.py", + "symbol": "test_inline_quasi_fermi_matches_compute_band_diagram", + "lines": [ + 587, + 587 + ], + "text_sha256": "f60a02634964fe29f56aca9cccb33f65766950833f53222648e1d79ce7e29017" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert sol.success", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-6e359b20af87202297883388": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_heterojunction_dark_equilibrium.py", + "symbol": "test_inline_quasi_fermi_matches_compute_band_diagram", + "lines": [ + 592, + 592 + ], + "text_sha256": "d93cabde626ebc626051587e10781c8c9b2efa47777111879bc2981cbaf29550" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_array_equal(bd.x, x)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-a5180fc54da08bebf2385eec": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_heterojunction_dark_equilibrium.py", + "symbol": "test_inline_quasi_fermi_matches_compute_band_diagram", + "lines": [ + 593, + 593 + ], + "text_sha256": "356d7ee6cdc337d49031a732ffeabc2396e03f0919e0b7bf06faefaca2e92b0e" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_array_equal(np.isnan(bd.E_Fn), np.isnan(E_Fn))", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-058711be5f2ebbc6fb2040af": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_heterojunction_dark_equilibrium.py", + "symbol": "test_inline_quasi_fermi_matches_compute_band_diagram", + "lines": [ + 594, + 594 + ], + "text_sha256": "18dc5c417692b6ab878d375d6b01ba3b425285f1cb4c4e0e848591840e89ac26" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_array_equal(np.isnan(bd.E_Fp), np.isnan(E_Fp))", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-f90173e41f87703eb604cc79": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_band_diagram.py", + "symbol": "test_band_offsets_match_config", + "lines": [ + 92, + 92 + ], + "text_sha256": "1f1adf740ebb5d4cb638cd8195452ffefeea04d6afa8bdba41884390cd37e67f" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.all(gap > 0.5) and np.all(gap < 4.0)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-28efb0a2d095f6ba4f6fbe35": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_band_diagram.py", + "symbol": "test_equilibrium_fermi_level_is_flat", + "lines": [ + 62, + 62 + ], + "text_sha256": "02cbde61ca34f4bc50dd4b6d2e6382c2f667a5554a517b25d9010c3e71c876c7" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert E_F.size > 0", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-997b2c054a2d50ef9f8043e3": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_band_diagram.py", + "symbol": "test_equilibrium_fermi_level_is_flat", + "lines": [ + 65, + 72 + ], + "text_sha256": "53657ae12e91759e1a45e0f8d667b701085aa68acd0b625bff565150a9448185" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert span < FLAT_TOL, (\n f\"E_F is NOT flat at dark equilibrium: max-min = {span * 1e3:.3f} meV \"\n f\"over {E_F.size} nodes (bound {FLAT_TOL * 1e3:.3f} meV = kT/q at \"\n f\"300 K). Of that, {abs(bc_tilt) * 1e3:.3f} meV is the config's own \"\n f\"contact-BC offset (YAML V_bi {stack.V_bi:.6f} vs compute_V_bi \"\n f\"{stack.compute_V_bi():.6f}); the remainder is a heterojunction \"\n f\"transport or detailed-balance defect.\"\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-501ebe43fe82e419a26871ec": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_band_diagram.py", + "symbol": "test_missing_dos_data_raises", + "lines": [ + 103, + 103 + ], + "text_sha256": "b6f83084de18ef9c45557ef7bc8b8b8126380084363c4739182bf91079e9dce3" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(ValueError, match=\"Nc300\"):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-d6a0f91e8be63510105ca85b": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_band_diagram.py", + "symbol": "test_quasi_fermi_splitting_equals_qV", + "lines": [ + 83, + 83 + ], + "text_sha256": "4d19ca4b51c8677e92d24b0f347ebcdc93c467f67191e132878e8a1dbe3cad6e" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert split == pytest.approx(V, abs=0.12)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-9e5235f1395472e9375f6d2f": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_bulk_defect_ion_transient.py", + "symbol": "test_bulk_terminal_charge_uses_the_interior_face_control_volume", + "lines": [ + 163, + 170 + ], + "text_sha256": "d3bdba815bb9fe15c2b47ec1f04eabdd632fba507784bcf20f47103cb626e5c1" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_allclose(\n measured_increment,\n bulk_increment + ion_increment,\n rtol=2.0e-8,\n # Public density arrays have already rounded away sub-ULP coordinate\n # motion; the certified charge trace retains it through stable increments.\n atol=physical_array_roundoff,\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-e67a58e84b4151d039c5d5d5": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_bulk_defect_ion_transient.py", + "symbol": "test_interface_defect_is_reserved_for_e3b", + "lines": [ + 299, + 299 + ], + "text_sha256": "4e9f57c80cf7a3606bdb1da3571ec70e0279ebc8f3e6038547fe02349bffff8c" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(BulkDefectIonTransientError, match=\"E3b\"):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-b865725c925b7f2be13b3422": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_bulk_defect_ion_transient.py", + "symbol": "test_missing_explicit_bulk_defect_fails_before_integration", + "lines": [ + 287, + 287 + ], + "text_sha256": "dacbaed9bc81f5378563c06f3267a3f2cbaaa2b081019cf5c9f82c70a95577a5" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(BulkDefectIonTransientError, match=\"explicit bulk defect\"):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-3786c94bbb0d6bc79562c525": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_bulk_defect_ion_transient.py", + "symbol": "test_missing_mobile_ion_fails_before_integration", + "lines": [ + 260, + 260 + ], + "text_sha256": "c1fc8bf8e50618dac052e37855df100aefcb566dae2c377943c3fb0d82b5f262" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(BulkDefectIonTransientError, match=\"mobile-ion species\"):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-86f73e5e611de07486877f11": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_bulk_defect_ion_transient.py", + "symbol": "test_dual_and_negative_only_ion_layouts_keep_separate_inventories", + "lines": [ + 183, + 183 + ], + "text_sha256": "0b697bc41f6149161e998bb0e2816a4f99e426edffb438b67cf31f29cef909d8" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.certificate.certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-0431918336b4ac708cd712ff": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_bulk_defect_ion_transient.py", + "symbol": "test_dual_and_negative_only_ion_layouts_keep_separate_inventories", + "lines": [ + 184, + 184 + ], + "text_sha256": "15f6ba366cd77dff2d36ae2b59b950e31e13f4cc6b0fe7da8b04a71cce8445b2" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert bool(result.ion_layout.positive_nodes) is positive", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-22469e569c78d80d097fcdf1": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_bulk_defect_ion_transient.py", + "symbol": "test_dual_and_negative_only_ion_layouts_keep_separate_inventories", + "lines": [ + 185, + 185 + ], + "text_sha256": "332d88c2c290836b1285d012ac720ad71004152c8eb09dd8a19823e054aa9bf2" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert bool(result.ion_layout.negative_nodes) is negative", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-6d0cb6ca27d011c547b07911": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_bulk_defect_ion_transient.py", + "symbol": "test_dual_and_negative_only_ion_layouts_keep_separate_inventories", + "lines": [ + 186, + 186 + ], + "text_sha256": "820c33f391e2baf22574fb9d49147c28ea33380785ec25b9f8ea20081863dd8c" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.negative_ion_density_m3 is not None", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-99fecaee6f1e9d1282b1fcc2": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_bulk_defect_ion_transient.py", + "symbol": "test_dual_and_negative_only_ion_layouts_keep_separate_inventories", + "lines": [ + 187, + 187 + ], + "text_sha256": "0a99acb2b771659cea7396f83bbdc5013e7707b442d84afd12a2c06aee2eaba5" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.negative_ion_current_faces_A_m2 is not None", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-94fde3dc0f358725c3752ecb": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_bulk_defect_ion_transient.py", + "symbol": "test_dual_and_negative_only_ion_layouts_keep_separate_inventories", + "lines": [ + 188, + 188 + ], + "text_sha256": "456dc3061fb84784838e7fcb0f68c0f4e5822d9eec1fa51039e9ece0d65d1da1" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.negative_ion_component_inventory_m2 is not None", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-90adf38246a9c3845cb4efb7": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_bulk_defect_ion_transient.py", + "symbol": "test_dual_and_negative_only_ion_layouts_keep_separate_inventories", + "lines": [ + 189, + 189 + ], + "text_sha256": "74cbb8e8fb926b3aec573a112d1ae5310c0ecc168d1d5e61dd9f4c2d7d37b94b" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.certificate.maximum_positive_ion_inventory_relative_drift < 1.0e-12", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-85d9544611f6060df8778a5d": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_bulk_defect_ion_transient.py", + "symbol": "test_dual_and_negative_only_ion_layouts_keep_separate_inventories", + "lines": [ + 190, + 190 + ], + "text_sha256": "cdca97aa6f29acd20384e668461c37599a58b79ba7544069a4b3c8d83c93aec4" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.certificate.maximum_negative_ion_inventory_relative_drift < 1.0e-12", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-37d391e8df7246a183b46caa": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_bulk_defect_ion_transient.py", + "symbol": "test_dual_and_negative_only_ion_layouts_keep_separate_inventories", + "lines": [ + 196, + 196 + ], + "text_sha256": "2af771d790de3c5e586699f8d2e8bd91124eb0b3d6f09729e4977830ca053061" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_array_equal(result.conduction_current_faces_A_m2, expected)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-5baee588cff61e986fadfa9d": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_bulk_defect_ion_transient.py", + "symbol": "test_dual_and_negative_only_ion_layouts_keep_separate_inventories", + "lines": [ + 202, + 202 + ], + "text_sha256": "d7587ac5fd7a2ba2ba9caafea62dc0591ef67fdd77470627f096df556995c7ee" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.positive_ion_component_inventory_m2.shape[1] == 0", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-3c522fbbfbc8895935ae5ec8": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_bulk_defect_ion_transient.py", + "symbol": "test_dual_and_negative_only_ion_layouts_keep_separate_inventories", + "lines": [ + 198, + 201 + ], + "text_sha256": "50ce2a35148cd0b709fb7981f9c41f2ad8fa36179e745d10b132364031e77e27" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_array_equal(\n result.positive_ion_current_faces_A_m2,\n np.zeros_like(result.positive_ion_current_faces_A_m2),\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-bec69e4bdad54d4ddf3cfd69": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_bulk_defect_ion_transient.py", + "symbol": "test_overstrict_inventory_gate_returns_partial_or_fails_closed", + "lines": [ + 230, + 230 + ], + "text_sha256": "2426e828ea662ccba1f15bdeebc15f3e9950906a4f86ed7899af06b50243c29a" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert not partial.certificate.certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-b3af88ee181d85f4572085c2": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_bulk_defect_ion_transient.py", + "symbol": "test_overstrict_inventory_gate_returns_partial_or_fails_closed", + "lines": [ + 231, + 231 + ], + "text_sha256": "8c710d545528f645368b58aa7ffd704839c2b2dccea858d7e1fb372217976546" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert partial.certificate.reasons == (\"ion_inventory_drift_exceeds_limit\",)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-0e9826e93abfe29d89947863": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_bulk_defect_ion_transient.py", + "symbol": "test_overstrict_inventory_gate_returns_partial_or_fails_closed", + "lines": [ + 234, + 234 + ], + "text_sha256": "9dd523cbf911decdaec706151d09f4c1a76599e400bbd72e55f81b2266eefa6a" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert exc_info.value.result.certificate.reasons == partial.certificate.reasons", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-3f1ee4ca77374199c095c312": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_bulk_defect_ion_transient.py", + "symbol": "test_overstrict_inventory_gate_returns_partial_or_fails_closed", + "lines": [ + 232, + 232 + ], + "text_sha256": "c51a24e339d71f1900ad6e1c4473cb6e048121a9a097a83e32b61d2906e0a566" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(BulkDefectIonTransientCertificationError) as exc_info:", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-a3204c4b466eb625a00c6db4": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_bulk_defect_ion_transient.py", + "symbol": "test_positive_ion_and_bulk_trap_share_one_certified_sparse_dae", + "lines": [ + 72, + 72 + ], + "text_sha256": "890aa9b81783cb21b2855532b6965818205f3d6985d3001b77605edfa50c0045" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.scope == BULK_DEFECT_ION_TRANSIENT_SCOPE", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-809c7ca98948bdf6315dd83d": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_bulk_defect_ion_transient.py", + "symbol": "test_positive_ion_and_bulk_trap_share_one_certified_sparse_dae", + "lines": [ + 73, + 73 + ], + "text_sha256": "e3d9cc57a9b25a4512408b79dd3ce78582ee820f4b6d3e1221f83da6372cc7ec" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert certificate.certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-97bb5f984bd0bbf314e23cab": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_bulk_defect_ion_transient.py", + "symbol": "test_positive_ion_and_bulk_trap_share_one_certified_sparse_dae", + "lines": [ + 74, + 74 + ], + "text_sha256": "cfe0ba4e19570d98fd46bf504f8a9354fec7c5be99c99123eb43f0465bd16d19" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert certificate.reasons == ()", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-c7805d5fc4754ab543f84719": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_bulk_defect_ion_transient.py", + "symbol": "test_positive_ion_and_bulk_trap_share_one_certified_sparse_dae", + "lines": [ + 75, + 75 + ], + "text_sha256": "8ea4841c5a82630295a2eff306295265b5f06276912e672e9e8da1e08613d60b" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert certificate.dc_operating_point_certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-49a5fa186ee1cde3baa2e589": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_bulk_defect_ion_transient.py", + "symbol": "test_positive_ion_and_bulk_trap_share_one_certified_sparse_dae", + "lines": [ + 76, + 76 + ], + "text_sha256": "3a06131bede74daefef9e9f34562ac48e0fa8c1b2499fff91a90bc9176baaf95" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert certificate.sparse_linear_solver_used", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-15ff70754843394a9b25cd6d": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_bulk_defect_ion_transient.py", + "symbol": "test_positive_ion_and_bulk_trap_share_one_certified_sparse_dae", + "lines": [ + 77, + 77 + ], + "text_sha256": "622866719b6243c884a944c9e1dae51b81a419b8871691375c365e315d78d855" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert not certificate.clipping_used", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-6951f746d50f60c99ed60b23": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_bulk_defect_ion_transient.py", + "symbol": "test_positive_ion_and_bulk_trap_share_one_certified_sparse_dae", + "lines": [ + 78, + 78 + ], + "text_sha256": "b3e8fa6e1fa2649050be5300a6ae05da7407f4eae6b21c16aeb9117e295851fc" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert certificate.analytic_jacobian_nnz < certificate.dense_jacobian_entries", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-f1dfd1ac099014883b1b8dde": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_bulk_defect_ion_transient.py", + "symbol": "test_positive_ion_and_bulk_trap_share_one_certified_sparse_dae", + "lines": [ + 79, + 79 + ], + "text_sha256": "e61fb535fa5a8fa41e038f8174b50fcc278b8f57d29219c5cca455f5c936a168" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert certificate.maximum_analytic_jacobian_column_relative_error < 1.0e-6", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-aec951b2185150be61e1c96c": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_bulk_defect_ion_transient.py", + "symbol": "test_positive_ion_and_bulk_trap_share_one_certified_sparse_dae", + "lines": [ + 80, + 80 + ], + "text_sha256": "dd91b6d217b021c992a27cd3ca1986fe8f0cf791ef9178f7ea9148d70889c053" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert certificate.maximum_ion_inventory_relative_drift < 1.0e-12", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-ad90b867a62caecc3ee4de47": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_bulk_defect_ion_transient.py", + "symbol": "test_positive_ion_and_bulk_trap_share_one_certified_sparse_dae", + "lines": [ + 81, + 81 + ], + "text_sha256": "8114855108df3762f5f99a3a328e16520ce2bbb30fa77c92e0c8d6971c93ee25" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert certificate.maximum_charge_balance_relative_error < 1.0e-10", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-8509184a402b902ba6e1c2c0": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_bulk_defect_ion_transient.py", + "symbol": "test_positive_ion_and_bulk_trap_share_one_certified_sparse_dae", + "lines": [ + 82, + 82 + ], + "text_sha256": "ba8c6d09bfe2344da46f8d4aac87b5aba8c13412663dabc521a3c67956ae5eb5" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert certificate.maximum_all_face_current_spread_relative < 1.0e-9", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-8ca8cad87bd02298608e7505": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_bulk_defect_ion_transient.py", + "symbol": "test_positive_ion_and_bulk_trap_share_one_certified_sparse_dae", + "lines": [ + 83, + 83 + ], + "text_sha256": "2a7aa60af06e2151de13a3f1b1760761b2011e8f2cb99102d3062614b643560e" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert certificate.maximum_current_decomposition_relative_error == 0.0", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-cea70ec6f53833a98e41293a": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_bulk_defect_ion_transient.py", + "symbol": "test_pre_clipping_site_ceiling_fails_closed", + "lines": [ + 240, + 240 + ], + "text_sha256": "b55548bb95ac3452491437d39be3c9acfcc46f668e53e24594f55ca30740a40e" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(BulkDefectIonTransientError, match=\"site ceiling\"):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-662ece9b17306357cb6926ef": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_bulk_defect_transient.py", + "symbol": "test_device_transient_rejects_lifetime_only_material_before_integration", + "lines": [ + 217, + 217 + ], + "text_sha256": "e600a9eb70c3bc336333e2b4c7967c63881443687c6235ff78105a4431d07d64" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(BulkDefectTransientError, match=\"explicit-defect model\"):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-6b41caacceab2885fa61b0b6": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_multivalent_explicit_defects_qf.py", + "symbol": "test_dynamic_ac_and_transient_lanes_fail_closed_for_multivalent", + "lines": [ + 1180, + 1180 + ], + "text_sha256": "8d6088abad6db6ad7d14b71f80f11acd9f9552373fdd898a2ab197109cb1a42d" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(BulkDefectDeviceACError, match=\"multivalent\"):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-2ea687029be51ffb9f97a39e": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_multivalent_explicit_defects_qf.py", + "symbol": "test_dynamic_ac_and_transient_lanes_fail_closed_for_multivalent", + "lines": [ + 1189, + 1189 + ], + "text_sha256": "8242bd715d9bab8eef07c42493dade1b3deb92e548dead6b198f370614b64a2f" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(BulkDefectTransientError, match=\"multivalent\"):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-55eb33fd940ebc56e6c9f2de": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_bulk_defect_transient.py", + "symbol": "test_device_transient_certifies_sparse_charge_current_closure", + "lines": [ + 149, + 149 + ], + "text_sha256": "e3d9cc57a9b25a4512408b79dd3ce78582ee820f4b6d3e1221f83da6372cc7ec" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert certificate.certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-ecf956c3e2b300348d4f7bfc": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_bulk_defect_transient.py", + "symbol": "test_device_transient_certifies_sparse_charge_current_closure", + "lines": [ + 150, + 150 + ], + "text_sha256": "cfe0ba4e19570d98fd46bf504f8a9354fec7c5be99c99123eb43f0465bd16d19" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert certificate.reasons == ()", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-17a05072d77641fc2437333c": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_bulk_defect_transient.py", + "symbol": "test_device_transient_certifies_sparse_charge_current_closure", + "lines": [ + 151, + 151 + ], + "text_sha256": "acb4d9d1d37a8f44cdd04fbcf063711fef29031e63c070f8e746c60a527b2101" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert certificate.scope == BULK_DEFECT_TRANSIENT_SCOPE", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-5a40744a0c64600497f82d0d": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_bulk_defect_transient.py", + "symbol": "test_device_transient_certifies_sparse_charge_current_closure", + "lines": [ + 152, + 152 + ], + "text_sha256": "3a06131bede74daefef9e9f34562ac48e0fa8c1b2499fff91a90bc9176baaf95" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert certificate.sparse_linear_solver_used", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-c1294e7cbe0e5ad33b701ebd": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_bulk_defect_transient.py", + "symbol": "test_device_transient_certifies_sparse_charge_current_closure", + "lines": [ + 153, + 153 + ], + "text_sha256": "622866719b6243c884a944c9e1dae51b81a419b8871691375c365e315d78d855" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert not certificate.clipping_used", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-3c3e41cb565286fc60d19cf6": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_bulk_defect_transient.py", + "symbol": "test_device_transient_certifies_sparse_charge_current_closure", + "lines": [ + 154, + 154 + ], + "text_sha256": "b3e8fa6e1fa2649050be5300a6ae05da7407f4eae6b21c16aeb9117e295851fc" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert certificate.analytic_jacobian_nnz < certificate.dense_jacobian_entries", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-dc32413f2b0aafbb7490f8e0": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_bulk_defect_transient.py", + "symbol": "test_device_transient_certifies_sparse_charge_current_closure", + "lines": [ + 155, + 155 + ], + "text_sha256": "fce94609000bcc4f636c831917eb4618b59a377fa142f48350180f07ff046bbb" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert certificate.maximum_analytic_jacobian_column_relative_error < 2.0e-7", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-400a5773d69b3cee3e51ffa1": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_bulk_defect_transient.py", + "symbol": "test_device_transient_certifies_sparse_charge_current_closure", + "lines": [ + 156, + 156 + ], + "text_sha256": "747794c3c1985f556b4c7e2ec16b1301014eb8a4b73e2711d54ab75bff4cef1c" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert certificate.maximum_all_face_current_spread_relative < 1.0e-10", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-d9f169018266e6dce8ecd03a": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_bulk_defect_transient.py", + "symbol": "test_device_transient_certifies_sparse_charge_current_closure", + "lines": [ + 157, + 157 + ], + "text_sha256": "8114855108df3762f5f99a3a328e16520ce2bbb30fa77c92e0c8d6971c93ee25" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert certificate.maximum_charge_balance_relative_error < 1.0e-10", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-e4f160a0b88b53b2f4abc65d": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_bulk_defect_transient.py", + "symbol": "test_device_transient_certifies_sparse_charge_current_closure", + "lines": [ + 158, + 158 + ], + "text_sha256": "648ca712335ba6563da3b37dfd1b901073176ca20676b7e544812d4586212e7d" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert certificate.maximum_eliminated_operator_relative_error < 1.0e-10", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-161ad52e98aaeb3a73edcf78": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_bulk_defect_transient.py", + "symbol": "test_device_transient_certifies_sparse_charge_current_closure", + "lines": [ + 159, + 159 + ], + "text_sha256": "5b3975e2d1ae0cd9dc90b60298d7e801daf2cfb78b70e09a53f8fbd5820cd5c3" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert certificate.maximum_refinement_state_change < 2.0e-2", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-9efce2c9a94d4937ea76eeef": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_bulk_defect_transient.py", + "symbol": "test_device_transient_certifies_sparse_charge_current_closure", + "lines": [ + 160, + 160 + ], + "text_sha256": "7e4e73d35a60a9b058bfa51de56fd1c97d863fd7d098b8f4efe3e8165006b2af" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert certificate.maximum_refinement_current_relative_change < 5.0e-2", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-cc8d52590602892217d46af6": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_bulk_defect_transient.py", + "symbol": "test_fast_and_slow_capture_recover_qss_and_frozen_occupancy_limits", + "lines": [ + 185, + 185 + ], + "text_sha256": "f7cc17a5ce99a3029778230cca29f11c4bb7eaf3daf7e224f713d86a32008776" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert slow_motion < 1.0e-6", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-50b530a252642a92f8908758": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_bulk_defect_transient.py", + "symbol": "test_fast_and_slow_capture_recover_qss_and_frozen_occupancy_limits", + "lines": [ + 197, + 197 + ], + "text_sha256": "eef5e86cc98e1d51bab67aecbb4f158d8677e19f95c69327339c1fc9d7ae5d52" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert slow.certificate.certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-bf61f153db44e9c7121784d3": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_bulk_defect_transient.py", + "symbol": "test_fast_and_slow_capture_recover_qss_and_frozen_occupancy_limits", + "lines": [ + 198, + 198 + ], + "text_sha256": "c7f64bbb6de2bd3f3d2f7d20da3ba526687e44cbf86d556f6a9558eee9776775" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert fast.certificate.certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-9b41b863376dfd650feb84ce": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_bulk_defect_transient.py", + "symbol": "test_fast_and_slow_capture_recover_qss_and_frozen_occupancy_limits", + "lines": [ + 191, + 196 + ], + "text_sha256": "6e761c582e80f525fc0b9c300f5836dcd17660d695fe590a77f2a4b51e18b11e" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_allclose(\n fast.trap_occupancy[-1],\n fast_qss,\n rtol=0.0,\n atol=1.0e-12,\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-65e990212d32b3c5ea5facae": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_bulk_defect_transient.py", + "symbol": "test_overstrict_evidence_gate_returns_partial_or_fails_closed", + "lines": [ + 206, + 206 + ], + "text_sha256": "2426e828ea662ccba1f15bdeebc15f3e9950906a4f86ed7899af06b50243c29a" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert not partial.certificate.certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-663fbb6b6eac7fc99c405d9d": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_bulk_defect_transient.py", + "symbol": "test_overstrict_evidence_gate_returns_partial_or_fails_closed", + "lines": [ + 207, + 207 + ], + "text_sha256": "e6b6caeb71ef5a3aacca0994427d65d85b03a9be1b459d7a9f659594d27a2ecf" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert partial.certificate.reasons == (\"carrier_trap_charge_balance_failed\",)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-744f61b6fa458a4c7d1d9f92": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_bulk_defect_transient.py", + "symbol": "test_overstrict_evidence_gate_returns_partial_or_fails_closed", + "lines": [ + 210, + 212 + ], + "text_sha256": "2fd34accade923efaa42c586e17b7f5b2ab23b159bfa41441b47a4793b02cf06" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert exc_info.value.result.certificate.reasons == (\n \"carrier_trap_charge_balance_failed\",\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-b8f3df8c3a4f40147b765d72": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_bulk_defect_transient.py", + "symbol": "test_overstrict_evidence_gate_returns_partial_or_fails_closed", + "lines": [ + 208, + 208 + ], + "text_sha256": "d89991584a2ae3f082a097f9c5cbead0a4874d6ba9a406a060f53021736cecb5" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(BulkDefectTransientCertificationError) as exc_info:", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-3686666c8dab75e03e1e1955": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_cbo_scan.py", + "symbol": "test_adaptive_full_jv_refines_ff_and_pce_without_duplicate_solves", + "lines": [ + 131, + 131 + ], + "text_sha256": "3cda5cecdd0141052e971c843fea3ba704d35fb07063edd9d818f75e131055cc" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.complete", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-543d8928cfba3db604cc91f6": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_cbo_scan.py", + "symbol": "test_adaptive_full_jv_refines_ff_and_pce_without_duplicate_solves", + "lines": [ + 132, + 132 + ], + "text_sha256": "8ac0011bcd524ee6da86109082b98bace38aeaa508cce45ff5d56fbfc3a085c4" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-7b126fad8364b06589bf82c5": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_cbo_scan.py", + "symbol": "test_adaptive_full_jv_refines_ff_and_pce_without_duplicate_solves", + "lines": [ + 133, + 133 + ], + "text_sha256": "c858601c76ae5287d62ed3266e9d410097c20d1f2269603cdd9e407330421e23" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.adaptive_jv_metrics == (\"FF\", \"PCE\")", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-74ae8a49608c3c629ceb283a": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_cbo_scan.py", + "symbol": "test_adaptive_full_jv_refines_ff_and_pce_without_duplicate_solves", + "lines": [ + 134, + 134 + ], + "text_sha256": "01a08578bb431ae6364c7281aac362b4ce2147771d1a493757b83438cb14280d" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert len(result.points) > len(result.requested_delta_ec_eV)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-cb4769c982523850c17f8615": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_cbo_scan.py", + "symbol": "test_adaptive_full_jv_refines_ff_and_pce_without_duplicate_solves", + "lines": [ + 135, + 135 + ], + "text_sha256": "62e3aa0d9fdcc8dfdb82d5ffcffb3b828f2ba26d312c9316db4c1fe92bfe9286" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert sum(point.requested for point in result.points) == 2", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-3b7ece7bedf84b67f2816766": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_cbo_scan.py", + "symbol": "test_adaptive_full_jv_refines_ff_and_pce_without_duplicate_solves", + "lines": [ + 136, + 136 + ], + "text_sha256": "8940c059d3e088128d8b6a6fa1d41cb694e28ab1268f42816333cae2b43b454d" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert len(jv_calls) == len(result.points)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-1b44e73f8279fdc6000688d9": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_cbo_scan.py", + "symbol": "test_adaptive_full_jv_refines_ff_and_pce_without_duplicate_solves", + "lines": [ + 137, + 137 + ], + "text_sha256": "6f2faa0f66773241e62d4351cc2468a1af2ce4e473339c64f5e91c85aaeab044" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert len(set(jv_calls)) == len(jv_calls)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-0a344250d9bd99f437870a7f": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_cbo_scan.py", + "symbol": "test_adaptive_full_jv_refines_ff_and_pce_without_duplicate_solves", + "lines": [ + 145, + 145 + ], + "text_sha256": "8bfd1fdf5da4e9cd8f4a02f5ac8c3d97a55e38523c9f78c6b0fdd6e0438cab66" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.metric_refinement_trace", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-a0070462a7ade37702ef21cb": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_cbo_scan.py", + "symbol": "test_adaptive_full_jv_refines_ff_and_pce_without_duplicate_solves", + "lines": [ + 146, + 149 + ], + "text_sha256": "2a9012c174143c80784a48133f2f100a32b1f71563bd4d6ff5e88e260d8ca8bf" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert all(\n step.metric in result.adaptive_jv_metrics\n for step in result.metric_refinement_trace\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-5657e395c5897a2fb1724a8d": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_cbo_scan.py", + "symbol": "test_adaptive_full_jv_refines_ff_and_pce_without_duplicate_solves", + "lines": [ + 160, + 164 + ], + "text_sha256": "0b5f679baa6c8e8ea2cd54308aa7db6a24be895a3af868d061c44c34bbf8c607" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert cbo.certify_cbo_grid_convergence(\n ladder,\n metric=\"FF\",\n maximum_envelope_width_eV=3.0e-2,\n ).certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-4f6631617f709d6dfa91ca9e": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_cbo_scan.py", + "symbol": "test_adaptive_full_jv_refines_ff_and_pce_without_duplicate_solves", + "lines": [ + 165, + 169 + ], + "text_sha256": "9b3b3c99fde04d1c669ef1d50d9e1fc97fa5e2dba5cbcdcb30a046d4a9436ff7" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert cbo.certify_cbo_grid_convergence(\n ladder,\n metric=\"PCE\",\n maximum_envelope_width_eV=3.0e-2,\n ).certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-2ea480729d8c40fead7f8c90": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_cbo_scan.py", + "symbol": "test_adaptive_full_jv_refines_ff_and_pce_without_duplicate_solves", + "lines": [ + 140, + 140 + ], + "text_sha256": "de1f12f4014f974b71f217dea526eb72c55d057d1b28a145945c9b289c637234" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert interval.resolved", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-253e0f9e071aa0edbe8efbb5": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_cbo_scan.py", + "symbol": "test_adaptive_full_jv_requires_metrics_and_rejects_unknown_names", + "lines": [ + 319, + 319 + ], + "text_sha256": "c83672540a2993894245de1f67797363e19b8bd323f588d3db44abd80c5504b6" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(ValueError, match=\"calculate_jv_metrics=True\"):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-611a62001b6c3c82ea242388": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_cbo_scan.py", + "symbol": "test_adaptive_full_jv_requires_metrics_and_rejects_unknown_names", + "lines": [ + 326, + 326 + ], + "text_sha256": "5d39b739fa6b50b73a374a924972d431c9ede492cfa1dc39270b62a6e3078a9e" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(ValueError, match=\"must contain only\"):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-1c64a3c83ee73ccce077d15f": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_cbo_scan.py", + "symbol": "test_external_certificate_rejects_sparse_unaudited_reference", + "lines": [ + 1107, + 1107 + ], + "text_sha256": "655508be56f58489e86c7d42497c946d0b13cf3f2ac2b0803320ae9b8013679b" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert not validation.certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-4f3ed2266a8be49bc89bc095": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_cbo_scan.py", + "symbol": "test_external_certificate_rejects_sparse_unaudited_reference", + "lines": [ + 1108, + 1108 + ], + "text_sha256": "6ea3f73e6da554bf45b83989e5b6f94d43d1398d93f0798aca9472610e58754e" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert not validation.reference_audit.certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-270fedd2485f7f8c3df6402b": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_cbo_scan.py", + "symbol": "test_external_certificate_rejects_sparse_unaudited_reference", + "lines": [ + 1109, + 1111 + ], + "text_sha256": "41a856a048648241eb3304124be0e832870448f633b5a64e4c81d6f56d273b40" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert \"lacks cbo_validation\" in \" \".join(\n validation.reference_audit.reasons\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-9f2dbd3c162609039f320ff5": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_cbo_scan.py", + "symbol": "test_external_certificate_rejects_sparse_unaudited_reference", + "lines": [ + 1113, + 1113 + ], + "text_sha256": "7e9cfd909e62807480f30e7babc55e0214e8b08cbce63c6fac9eaf21d0a40e0e" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert not certificate.certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-b1c1c6629028fc9076e06ce2": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_cbo_scan.py", + "symbol": "test_external_certificate_rejects_sparse_unaudited_reference", + "lines": [ + 1114, + 1116 + ], + "text_sha256": "debb49d56cfc3956643109264d866026ada9b3cc70a18adb762784bdba6e47b1" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert certificate.reference_critical_interval_width_eV == pytest.approx(\n 0.1\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-89002d905d4136d2716c3a12": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_cbo_scan.py", + "symbol": "test_external_certificate_rejects_sparse_unaudited_reference", + "lines": [ + 1117, + 1117 + ], + "text_sha256": "267936975010bff8c4b293dbc26ba77ba0361ec331a8198dd786fa803434e714" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert \"critical-interval width\" in \" \".join(certificate.reasons)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-c3fef3093ac0e23f5870707d": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_cbo_scan.py", + "symbol": "test_external_scaps_certificate_checks_normalized_trend_and_hash", + "lines": [ + 1065, + 1065 + ], + "text_sha256": "83ec536da4ad34747543494db7e49f5089aef6c2229d34c874f2e7ffa891d10f" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert validation.certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-ab22ca78f7075aab20ed858e": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_cbo_scan.py", + "symbol": "test_external_scaps_certificate_checks_normalized_trend_and_hash", + "lines": [ + 1066, + 1066 + ], + "text_sha256": "b3821d82adcaa9f74f7520410855cc37040b7e90e56d5f1dbc1489fecf2401d6" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert validation.reference_audit.certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-5c20a7e015878179c3b755e5": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_cbo_scan.py", + "symbol": "test_external_scaps_certificate_checks_normalized_trend_and_hash", + "lines": [ + 1067, + 1067 + ], + "text_sha256": "ab4be4aabba59e43b66cabd97b9736568fd71d352def40d9b80e3e7122551bbd" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert len(validation.reference_sha256) == 64", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-11a75c4170d921ce5a76e2c7": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_cbo_scan.py", + "symbol": "test_external_scaps_certificate_checks_normalized_trend_and_hash", + "lines": [ + 1069, + 1069 + ], + "text_sha256": "1fa5e67e804951ee506f770613adc8a1967ad2f855554a0ee06dd2304ebf5080" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert certificate.max_normalized_error == pytest.approx(0.0)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-90ddeaddee15d2be91eb7b14": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_cbo_scan.py", + "symbol": "test_external_scaps_certificate_checks_normalized_trend_and_hash", + "lines": [ + 1070, + 1070 + ], + "text_sha256": "5cd4063301072f76eb39296428deca59c17bc7d2d488cf528f5b769b80a837f2" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert certificate.critical_interval_distance_eV == 0.0", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-1f86a59996b59b006f1fc4ec": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_cbo_scan.py", + "symbol": "test_external_scaps_certificate_checks_normalized_trend_and_hash", + "lines": [ + 1071, + 1073 + ], + "text_sha256": "c40cd2671d5d3a9cb7f17f765a17c74fe0be2230cfc98b1a49e37230508f5ea2" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert certificate.reference_critical_interval_width_eV == pytest.approx(\n 0.01\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-dce0610fef2f4b9601a19d98": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_cbo_scan.py", + "symbol": "test_failed_cross_grid_seed_recovers_with_certified_target_cold_start", + "lines": [ + 439, + 439 + ], + "text_sha256": "8ac0011bcd524ee6da86109082b98bace38aeaa508cce45ff5d56fbfc3a085c4" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-6e7e24618b9a9a3fd7a49168": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_cbo_scan.py", + "symbol": "test_failed_cross_grid_seed_recovers_with_certified_target_cold_start", + "lines": [ + 440, + 440 + ], + "text_sha256": "64eb7b32c67fdb1eb454e175180824a0ecc236672dc6b26906c1d867727545ad" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.reference_grid_warm_starts == 0", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-ee4cf831ab51f990ee278d6c": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_cbo_scan.py", + "symbol": "test_failed_cross_grid_seed_recovers_with_certified_target_cold_start", + "lines": [ + 441, + 441 + ], + "text_sha256": "922fcfe9f5d532e5744fd6fcd85c59a1f9f9fb6ed20ddad6c0f40b7a815e7383" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.reference_grid_warm_start_failures == 1", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-d0ba81066a1b698329e1bcda": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_cbo_scan.py", + "symbol": "test_failed_cross_grid_seed_recovers_with_certified_target_cold_start", + "lines": [ + 442, + 442 + ], + "text_sha256": "a127e60f1f6a835e6a40eaf46b63f976b7df5fd7397bc9b0d2ed199c8fe321d5" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.reference_grid_cold_recoveries == 1", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-ce9b20f113b14386eef41aad": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_cbo_scan.py", + "symbol": "test_failed_cross_grid_seed_recovers_with_certified_target_cold_start", + "lines": [ + 443, + 443 + ], + "text_sha256": "2b2e28b27978cae8dd7db85af9b7d48585cb99bd6aaef853c0ae0afd9e99b77d" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.reference_grid_predictor_recoveries == 0", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-1c9d3e484a07f00921a8b7ba": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_cbo_scan.py", + "symbol": "test_failed_cross_grid_seed_recovers_with_certified_target_cold_start", + "lines": [ + 444, + 444 + ], + "text_sha256": "9c8f51317af87656b12e7a1279078374c44f1793c1dff5e7e8dc09b858ffce8f" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert calls[:2] == [seed, None]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-4d1e813b71ff9a4504acdccc": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_cbo_scan.py", + "symbol": "test_grid_certificate_rejects_mixed_despike_protocols", + "lines": [ + 956, + 956 + ], + "text_sha256": "7e9cfd909e62807480f30e7babc55e0214e8b08cbce63c6fac9eaf21d0a40e0e" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert not certificate.certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-d09404529b086ef19274ec29": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_cbo_scan.py", + "symbol": "test_grid_certificate_rejects_mixed_despike_protocols", + "lines": [ + 957, + 959 + ], + "text_sha256": "e4cad9177191266bff10daccb9ffd8f8ee7630d768285b19c5ea857ab9c00260" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert \"do not share one physical protocol\" in \" \".join(\n certificate.reasons\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-45d216a2cb74c7e915e44907": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_cbo_scan.py", + "symbol": "test_grid_certificate_rejects_mixed_interface_topologies", + "lines": [ + 926, + 926 + ], + "text_sha256": "7e9cfd909e62807480f30e7babc55e0214e8b08cbce63c6fac9eaf21d0a40e0e" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert not certificate.certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-9abc311fb60bd38ca2818a59": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_cbo_scan.py", + "symbol": "test_grid_certificate_rejects_mixed_interface_topologies", + "lines": [ + 927, + 929 + ], + "text_sha256": "e4cad9177191266bff10daccb9ffd8f8ee7630d768285b19c5ea857ab9c00260" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert \"do not share one physical protocol\" in \" \".join(\n certificate.reasons\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-0ebb41659b1ad69b5b1b27af": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_cbo_scan.py", + "symbol": "test_grid_certificate_rejects_mixed_mesh_protocols", + "lines": [ + 866, + 866 + ], + "text_sha256": "7e9cfd909e62807480f30e7babc55e0214e8b08cbce63c6fac9eaf21d0a40e0e" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert not certificate.certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-5e7ae34999676f50e74e6220": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_cbo_scan.py", + "symbol": "test_grid_certificate_rejects_mixed_mesh_protocols", + "lines": [ + 867, + 869 + ], + "text_sha256": "e4cad9177191266bff10daccb9ffd8f8ee7630d768285b19c5ea857ab9c00260" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert \"do not share one physical protocol\" in \" \".join(\n certificate.reasons\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-ac794a8d1d20547f815cf3ae": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_dark_jv_fit.py", + "symbol": "test_run_dark_jv_fit_matches_shockley_in_window", + "lines": [ + 148, + 151 + ], + "text_sha256": "128ac9de85937b604fb9779637403969723068785be6a6193c34560599b55afc" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert float(np.mean(rel_err)) < 0.3, (\n f\"dark fit does not track |J| in the diode window: mean log-resid=\"\n f\"{np.mean(rel_err):.3f}\"\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-36fd3ad18cf9c49fc5c29835": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_dark_jv_fit.py", + "symbol": "test_run_dark_jv_ideality_in_physical_range", + "lines": [ + 130, + 132 + ], + "text_sha256": "a874c47521a3931ffa6b1e8c93f38f4f39d872964f36cb063647ba732b48a53e" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert 1.0 <= r.n_ideality <= 2.5, (\n f\"nip_MAPbI3 dark ideality {r.n_ideality:.3f} outside physical [1.0, 2.5]\"\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-5fa576d12a428d67f3d36c74": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_dark_jv_fit.py", + "symbol": "test_run_dark_jv_returns_populated_dataclass", + "lines": [ + 117, + 117 + ], + "text_sha256": "d1e00bc99cde6affb423315c45c5f897e8e79458ac53ccbe9fa11dd370ff77ef" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert isinstance(r, DarkJVResult)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-224e115ba9e27c33ad192ede": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_dark_jv_fit.py", + "symbol": "test_run_dark_jv_returns_populated_dataclass", + "lines": [ + 118, + 118 + ], + "text_sha256": "1b75a6dd40afa1cf453c32062b082b0ca346f685da8796de78082338a3e486f9" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert r.V.shape == r.J.shape == (20,)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-5cf703088cd5f3de3bb28863": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_dark_jv_fit.py", + "symbol": "test_run_dark_jv_returns_populated_dataclass", + "lines": [ + 119, + 119 + ], + "text_sha256": "e34664f340b4704cf3a54dffc49d13cd29bfbd0b7b38eb10483e0a17bc87d719" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.all(np.isfinite(r.V))", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-1b2a8d6d7c8797d858e20d90": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_dark_jv_fit.py", + "symbol": "test_run_dark_jv_returns_populated_dataclass", + "lines": [ + 120, + 120 + ], + "text_sha256": "9f90d4e75d11fd809a5a6c688314bf41c42401c4e030c2e5ed24605fc434d01e" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.all(np.isfinite(r.J))", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-9b798c7134730ebaf706e171": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_dark_jv_fit.py", + "symbol": "test_run_dark_jv_returns_populated_dataclass", + "lines": [ + 121, + 121 + ], + "text_sha256": "f054573b60f5500413a1d47bbe0a784e8006ddbd1c84b324bdd1537681a64eb6" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.isfinite(r.n_ideality) and r.n_ideality > 0.0", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-d9b2e80a1af17667373d4648": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_dark_jv_fit.py", + "symbol": "test_run_dark_jv_returns_populated_dataclass", + "lines": [ + 122, + 122 + ], + "text_sha256": "e5c21f2178bed073223a2de3977b1b4d7254cb97b5db4c0bbfb085e8c7413fc1" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.isfinite(r.J_0) and r.J_0 > 0.0", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-66db989c4988956fc42384bd": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_dark_jv_fit.py", + "symbol": "test_run_dark_jv_returns_populated_dataclass", + "lines": [ + 123, + 123 + ], + "text_sha256": "e2d9a2c8328402882b14347196e9932560a997dad7df12dcf7ac90212faaeec2" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert 0.0 <= r.V_fit_lo < r.V_fit_hi <= 1.0", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-6279ae9c9e9ba70c93fb0ea8": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "symbol": "test_distributed_dynamic_device_ac_uses_every_energy_node", + "lines": [ + 1026, + 1026 + ], + "text_sha256": "0b697bc41f6149161e998bb0e2816a4f99e426edffb438b67cf31f29cef909d8" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.certificate.certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-1843c909525753fe2e0aa6c9": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "symbol": "test_distributed_dynamic_device_ac_uses_every_energy_node", + "lines": [ + 1027, + 1027 + ], + "text_sha256": "51d451f3bc19cd75fb51d5f82472de217fc2447fec83a5e15eb3d29ff1d77ab3" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.layout.size == (grid.size - 2) * order", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-5a9c34df2883967c135f3cb5": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "symbol": "test_distributed_dynamic_device_ac_uses_every_energy_node", + "lines": [ + 1028, + 1028 + ], + "text_sha256": "614868f1f12d33eafadf63848197f60dbba1c3fdbc4b96696a0597cc3b7beef5" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert set(result.layout.energy_indices) == set(range(order))", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-6de52d6ae41d2d602bc50e4f": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "symbol": "test_distributed_dynamic_device_ac_uses_every_energy_node", + "lines": [ + 1029, + 1032 + ], + "text_sha256": "81302e8ec216d8f81048c84c64f33e5f08a074c382681799b62e150a8b3f58c1" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.trap_occupancy_response_per_V.shape == (\n result.frequencies_Hz.size,\n result.layout.size,\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-f2d2d26e552014411f30cef4": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "symbol": "test_dynamic_bulk_defect_device_ac_certifies_both_limits_and_currents", + "lines": [ + 888, + 888 + ], + "text_sha256": "e3d9cc57a9b25a4512408b79dd3ce78582ee820f4b6d3e1221f83da6372cc7ec" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert certificate.certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-7b3142c6f7facae96bd230c2": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "symbol": "test_dynamic_bulk_defect_device_ac_certifies_both_limits_and_currents", + "lines": [ + 889, + 889 + ], + "text_sha256": "cfe0ba4e19570d98fd46bf504f8a9354fec7c5be99c99123eb43f0465bd16d19" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert certificate.reasons == ()", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-a8b6622f806d4d82e4ad2087": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "symbol": "test_dynamic_bulk_defect_device_ac_certifies_both_limits_and_currents", + "lines": [ + 890, + 890 + ], + "text_sha256": "cac7c1bd9d554d086c3f458717839c9a49fb5f3ce60fb2646802e79973adf624" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert certificate.scope == BULK_DEFECT_DEVICE_AC_SCOPE", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-b6ba573c9d97895e5ef84204": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "symbol": "test_dynamic_bulk_defect_device_ac_certifies_both_limits_and_currents", + "lines": [ + 891, + 891 + ], + "text_sha256": "f0119bfc507944842f1c5b41a022caacec85dc84d7c704c9efcea589a38d1896" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert certificate.frequency_window.certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-0d25e75e764bb9490bac3547": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "symbol": "test_dynamic_bulk_defect_device_ac_certifies_both_limits_and_currents", + "lines": [ + 892, + 892 + ], + "text_sha256": "313a8b79a27adf42b513ea773b52d4a8dcffbf2e0d010d58cabf63e39d717ca1" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert certificate.dc_maximum_normalized_residual < 1.0e-10", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-e1ab4a0d448864ef29167b4c": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "symbol": "test_dynamic_bulk_defect_device_ac_certifies_both_limits_and_currents", + "lines": [ + 893, + 893 + ], + "text_sha256": "d157aeeef709be2c41492eed7288db069b9aa26ae95b5c1e1a0b21133da19808" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert certificate.dc_electron_continuity_bound_A_m2 < 1.0e-4", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-6f5ee95ed2751d2661459b22": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "symbol": "test_dynamic_bulk_defect_device_ac_certifies_both_limits_and_currents", + "lines": [ + 894, + 894 + ], + "text_sha256": "e60004c072974d00cb1a81208a27e55c73e160c5c01f29679d99f18aca175e33" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert certificate.dc_hole_continuity_bound_A_m2 < 1.0e-4", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-8a189e38ce6a316e486cb7a6": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "symbol": "test_dynamic_bulk_defect_device_ac_certifies_both_limits_and_currents", + "lines": [ + 895, + 895 + ], + "text_sha256": "e35be84212a34c2137c339a7f1582f1e26f3f6c9ca29de7f61b55f042cdb1479" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert certificate.dc_face_current_spread_A_m2 < 1.0e-4", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-2770162742bd642fe6713852": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "symbol": "test_dynamic_bulk_defect_device_ac_certifies_both_limits_and_currents", + "lines": [ + 896, + 896 + ], + "text_sha256": "fc26ab3223f82e7be4d5cfbbf7d1fb369ed98d59f8a97b7e771c92e6db00a60f" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert certificate.dc_poisson_residual < 1.0e-8", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-504243242625ca36d311beaf": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "symbol": "test_dynamic_bulk_defect_device_ac_certifies_both_limits_and_currents", + "lines": [ + 897, + 897 + ], + "text_sha256": "9905a67f7a1bd5e7d8454e115d39eac22297449de5b4d40c820f56258de4718e" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert certificate.qss_embedding_normalized_error < 1.0e-18", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-bf7beef12cc5c82da2adca4b": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "symbol": "test_dynamic_bulk_defect_device_ac_certifies_both_limits_and_currents", + "lines": [ + 898, + 898 + ], + "text_sha256": "2fe3faa341e1fcc19a252c5586fd18132779fe132fbbe73b265c144d5f1648e6" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert certificate.maximum_local_trap_balance_relative_error < 1.0e-4", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-748d7dbd40b8d92589b753e3": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "symbol": "test_dynamic_bulk_defect_device_ac_certifies_both_limits_and_currents", + "lines": [ + 899, + 899 + ], + "text_sha256": "c5afe1ee252c6f23811d96aed970391acbd86fa60f9d53f5321c49822b6079b7" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert certificate.maximum_all_face_admittance_spread < 1.0e-8", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-4ed5cd1985427c3a9c5d557c": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "symbol": "test_dynamic_bulk_defect_device_ac_incomplete_window_is_partial_or_raises", + "lines": [ + 1002, + 1002 + ], + "text_sha256": "2426e828ea662ccba1f15bdeebc15f3e9950906a4f86ed7899af06b50243c29a" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert not partial.certificate.certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-f72ac4b1428501b49af680f4": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "symbol": "test_dynamic_bulk_defect_device_ac_incomplete_window_is_partial_or_raises", + "lines": [ + 1003, + 1003 + ], + "text_sha256": "b3598dad22234a7567fe456d95d40d1b447fcb7efc140da06d84d058f9393f2a" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert \"trap_frequency_window_incomplete\" in partial.certificate.reasons", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-159e71e686f370822314d2ca": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "symbol": "test_dynamic_bulk_defect_device_ac_incomplete_window_is_partial_or_raises", + "lines": [ + 1011, + 1011 + ], + "text_sha256": "9dd523cbf911decdaec706151d09f4c1a76599e400bbd72e55f81b2266eefa6a" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert exc_info.value.result.certificate.reasons == partial.certificate.reasons", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-447da5999991d069ee52cb02": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "symbol": "test_dynamic_bulk_defect_device_ac_incomplete_window_is_partial_or_raises", + "lines": [ + 1004, + 1004 + ], + "text_sha256": "e2c887d957e10b8fcccdb79828fdc0b2109a14945a087fce3920093e3adbc958" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(BulkDefectDeviceACCertificationError) as exc_info:", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-14e4a21d9de312ab3a750891": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "symbol": "test_dynamic_bulk_defect_device_ac_recertifies_supplied_dc_state", + "lines": [ + 981, + 981 + ], + "text_sha256": "d31ca456580116be57ea4a27da3e22acd6efc8f5d615520638d74342e6b5a972" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(BulkDefectDeviceACError, match=\"not certified\"):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-c689fcda756e9ea2aaaa8c68": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "symbol": "test_dynamic_bulk_defect_device_ac_rejects_dc_state_from_another_model", + "lines": [ + 956, + 956 + ], + "text_sha256": "62cd5ddd9d50a335023a432239cfb4e4884cc5ca1794a1a1b4c6d5d0d2269a58" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(BulkDefectDeviceACError, match=\"model identity\"):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-a5831031bebb864e1a988e60": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "symbol": "test_dynamic_bulk_defect_device_ac_requires_an_explicit_defect_model", + "lines": [ + 921, + 921 + ], + "text_sha256": "fe8b7e6ebccb05037d464e1e33447dc78f397e1a8846fc73319a7ea9d5be5710" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert params is not None", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-74cefa3b5a56a90ef217a26b": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "symbol": "test_dynamic_bulk_defect_device_ac_requires_an_explicit_defect_model", + "lines": [ + 937, + 937 + ], + "text_sha256": "a1d3db359af913d084b397da2aa2ea7225502c85fe35885856e9e03736c24bac" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(BulkDefectDeviceACError, match=\"explicit-defect model\"):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-f4cad74defa6f1c299063ec3": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_spatially_graded_explicit_defects_qf.py", + "symbol": "test_spatially_graded_distributed_defect_device_ac_is_certified", + "lines": [ + 286, + 286 + ], + "text_sha256": "0b697bc41f6149161e998bb0e2816a4f99e426edffb438b67cf31f29cef909d8" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.certificate.certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-91f28831502976f4a7b4cb93": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_spatially_graded_explicit_defects_qf.py", + "symbol": "test_spatially_graded_distributed_defect_device_ac_is_certified", + "lines": [ + 287, + 287 + ], + "text_sha256": "51d451f3bc19cd75fb51d5f82472de217fc2447fec83a5e15eb3d29ff1d77ab3" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.layout.size == (grid.size - 2) * order", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-d41e8c9c5475ebfdacb999e6": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_spatially_graded_explicit_defects_qf.py", + "symbol": "test_spatially_graded_distributed_defect_device_ac_is_certified", + "lines": [ + 288, + 288 + ], + "text_sha256": "ad1e2ce4d2336950392bdd44bf7a71b17e89967df63fc4f0720ab16bda636686" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.ptp(result.layout.population_density_m3) > 0.0", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-955b2c8d31ac60093f6e7ecf": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_spatially_graded_explicit_defects_qf.py", + "symbol": "test_spatially_graded_distributed_defect_device_ac_is_certified", + "lines": [ + 289, + 289 + ], + "text_sha256": "614868f1f12d33eafadf63848197f60dbba1c3fdbc4b96696a0597cc3b7beef5" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert set(result.layout.energy_indices) == set(range(order))", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-2115e64931301c058fa0e8cf": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_defect_ion_combined_impedance.py", + "symbol": "test_bulk_defect_and_positive_ion_share_one_certified_operator", + "lines": [ + 148, + 148 + ], + "text_sha256": "ad8b9349733474299ed990954c849f88b8e116c621c8799b5d3e60364d50f574" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.scope == DEFECT_ION_COMBINED_SCOPE", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-a4443f680c99359223ab76f3": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_defect_ion_combined_impedance.py", + "symbol": "test_bulk_defect_and_positive_ion_share_one_certified_operator", + "lines": [ + 149, + 149 + ], + "text_sha256": "0b697bc41f6149161e998bb0e2816a4f99e426edffb438b67cf31f29cef909d8" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.certificate.certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-fe4d763b8c7c5d5b042eb7ea": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_defect_ion_combined_impedance.py", + "symbol": "test_bulk_defect_and_positive_ion_share_one_certified_operator", + "lines": [ + 150, + 150 + ], + "text_sha256": "477345690db78b9cd50643d7079eb745ccaeb4ffd90dca6fc7cc7148331b28dd" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.certificate.reasons == ()", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-b2b8658efc6dc2ed6f95d729": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_defect_ion_combined_impedance.py", + "symbol": "test_bulk_defect_and_positive_ion_share_one_certified_operator", + "lines": [ + 151, + 151 + ], + "text_sha256": "8ed70028a5840c002700ee071d9c96ce233ff6bff412b7aebea7560f50cd52b0" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.certificate.capability == \"bulk_defect_plus_ions\"", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-022d05c3e26c6213cd1b5ee8": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_defect_ion_combined_impedance.py", + "symbol": "test_bulk_defect_and_positive_ion_share_one_certified_operator", + "lines": [ + 152, + 152 + ], + "text_sha256": "f44806bf1ce27acac6d01d8740b7335b309d0a7b3e3a2fb06c196219f8ae4697" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.certificate.frequency_window.certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-15bdb03ef42ef1ba7e45d2c9": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_defect_ion_combined_impedance.py", + "symbol": "test_bulk_defect_and_positive_ion_share_one_certified_operator", + "lines": [ + 153, + 153 + ], + "text_sha256": "b889edca039375d3b6ee3dc5851cc4e39e04ef9c84fb2263def157a0d91a4b3b" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.dc_state.certificate.certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-74ffaa6b3d43684786a413bb": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_defect_ion_combined_impedance.py", + "symbol": "test_bulk_defect_and_positive_ion_share_one_certified_operator", + "lines": [ + 154, + 154 + ], + "text_sha256": "353933335a870f97cb2db01878b7f443a62ca77673d26796baf0d1463f76e3ac" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.dc_state.certificate.contact_thermodynamics.certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-be28b5cb81eaa61e5dc47602": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_defect_ion_combined_impedance.py", + "symbol": "test_bulk_defect_and_positive_ion_share_one_certified_operator", + "lines": [ + 155, + 155 + ], + "text_sha256": "cc8fc107e4ffa338ba3b870233891d0f58ad4abd6b7915d3e152f32a491581e0" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.layout.bulk_trap_layout is not None", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-d1eeaccd54b74721869fec18": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_defect_ion_combined_impedance.py", + "symbol": "test_bulk_defect_and_positive_ion_share_one_certified_operator", + "lines": [ + 156, + 156 + ], + "text_sha256": "62afa1fe7386efbea7084375675cc76de221c805f75f82e25c48bb175b5fb591" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.layout.interface_count == 0", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-bc1292e48b7abdb082c5bd5e": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_defect_ion_combined_impedance.py", + "symbol": "test_bulk_defect_and_positive_ion_share_one_certified_operator", + "lines": [ + 157, + 157 + ], + "text_sha256": "f42f5ff9386de58797355da75ae7b0c7b1668ddb35b7ffbd180b560bb3a7baf7" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.interface_current_observation == \"ordinary_finite_volume_faces\"", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-faf0da5844716a853ffbe93b": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_defect_ion_combined_impedance.py", + "symbol": "test_bulk_defect_and_positive_ion_share_one_certified_operator", + "lines": [ + 158, + 158 + ], + "text_sha256": "3008d4ff65e43134f1e0b3d4e116eda36e1fab7b9e56681e3836ff803e40d0f0" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.bulk_trap_charge_storage_response_F_m2 is not None", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-57d5a397489027c583ce5693": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_defect_ion_combined_impedance.py", + "symbol": "test_bulk_defect_and_positive_ion_share_one_certified_operator", + "lines": [ + 159, + 159 + ], + "text_sha256": "fa6d7ec8df35f1add59f752bc4abccf222783ccb2d0238b882d9329cf294f4c3" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.interface_sheet_charge_storage_response_F_m2 is None", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-ca4841efabbe0c932d3b5dbc": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_defect_ion_combined_impedance.py", + "symbol": "test_bulk_interface_defects_and_ions_close_one_triple_coupled_system", + "lines": [ + 250, + 250 + ], + "text_sha256": "0b697bc41f6149161e998bb0e2816a4f99e426edffb438b67cf31f29cef909d8" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.certificate.certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-29b473dddb3f67b077c31260": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_defect_ion_combined_impedance.py", + "symbol": "test_bulk_interface_defects_and_ions_close_one_triple_coupled_system", + "lines": [ + 251, + 251 + ], + "text_sha256": "f5681f41b89e39c324800ba71ba7e12d25b3b0349b3d6e52847c369d4a82934f" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.certificate.capability == \"bulk_interface_defect_plus_ions\"", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-a44ce43224e5a940335c96d3": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_defect_ion_combined_impedance.py", + "symbol": "test_bulk_interface_defects_and_ions_close_one_triple_coupled_system", + "lines": [ + 252, + 252 + ], + "text_sha256": "cc8fc107e4ffa338ba3b870233891d0f58ad4abd6b7915d3e152f32a491581e0" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.layout.bulk_trap_layout is not None", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-7c1ff3538f6affc580fd7d95": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_defect_ion_combined_impedance.py", + "symbol": "test_bulk_interface_defects_and_ions_close_one_triple_coupled_system", + "lines": [ + 253, + 253 + ], + "text_sha256": "13ff9c16c965d543d0d5ab6d8f49f3d88b180396c18ca5c4d74c0c16ca893db1" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.layout.interface_count == 1", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-3a7b02b0e1f96552f41fe1ca": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_defect_ion_combined_impedance.py", + "symbol": "test_bulk_interface_defects_and_ions_close_one_triple_coupled_system", + "lines": [ + 254, + 254 + ], + "text_sha256": "9b671f65335792d7907e64369612c599908a9a08170575b9de2e2ce9fa92423d" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.interface_current_observation == (\"symmetric_adjacent_physical_faces\")", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-62acdcbf8aab7eb931b966fb": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_defect_ion_combined_impedance.py", + "symbol": "test_bulk_interface_defects_and_ions_close_one_triple_coupled_system", + "lines": [ + 255, + 255 + ], + "text_sha256": "3008d4ff65e43134f1e0b3d4e116eda36e1fab7b9e56681e3836ff803e40d0f0" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.bulk_trap_charge_storage_response_F_m2 is not None", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-cb112e24370383c274b25d7b": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_defect_ion_combined_impedance.py", + "symbol": "test_bulk_interface_defects_and_ions_close_one_triple_coupled_system", + "lines": [ + 256, + 256 + ], + "text_sha256": "3a320a851d5e448b5707993a2372addee4b238ee711bd27624f163af2ea5e29c" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.interface_sheet_charge_storage_response_F_m2 is not None", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-409e72f490ea23317f3a61ab": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_defect_ion_combined_impedance.py", + "symbol": "test_bulk_interface_defects_and_ions_close_one_triple_coupled_system", + "lines": [ + 257, + 257 + ], + "text_sha256": "6538417cfb7f2e7abf1c55309ee7b4d8b3a6e1c70d3de5634a5807ccf7c8a983" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.certificate.qss_embedding_relative_error < 1.0e-8", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-e9f5227a4b233c2da2b5d32e": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_defect_ion_combined_impedance.py", + "symbol": "test_bulk_interface_defects_and_ions_close_one_triple_coupled_system", + "lines": [ + 258, + 258 + ], + "text_sha256": "dc3418df5639f02e42db96c39552478ad7d9a9101d456b8b475585cdf90f63f8" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.certificate.maximum_all_face_admittance_spread < 5.0e-4", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-1854361eab7e1ae28206c250": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_defect_ion_combined_impedance.py", + "symbol": "test_bulk_interface_defects_and_ions_close_one_triple_coupled_system", + "lines": [ + 259, + 259 + ], + "text_sha256": "97db788c364a2993e657fad62da9d565c77f88c7264db099e83e8f704320bf25" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.certificate.maximum_bulk_trap_balance_relative_error < 1.0e-3", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-a7c7d3973b4aaef2ff064fc3": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_defect_ion_combined_impedance.py", + "symbol": "test_bulk_interface_defects_and_ions_close_one_triple_coupled_system", + "lines": [ + 260, + 260 + ], + "text_sha256": "4a8aad6264b2e4d2de621abef81f7eff6b146f9c4dc5014aa4f2f75c2fb77459" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.certificate.maximum_interface_trap_balance_relative_error < 1.0e-3", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-1b7f55072c3dd2c54a9691b2": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_defect_ion_combined_impedance.py", + "symbol": "test_bulk_interface_defects_and_ions_close_one_triple_coupled_system", + "lines": [ + 261, + 261 + ], + "text_sha256": "19affe58dc6e205cdd60af289cd5510178b213f691be21ad83a292b960e5fe67" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " _assert_current_decomposition(result)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-e436019b79449f16bb76deb7": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_defect_ion_combined_impedance.py", + "symbol": "test_combined_capability_rejects_inconsistent_contact_thermodynamics", + "lines": [ + 321, + 321 + ], + "text_sha256": "fd5a3ce5bd0bec99bcc0473d7337992be7a95865dd79680156c2ae28c1d1f879" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(DefectIonCombinedError, match=\"contact thermodynamic\"):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-e3ea4bed01bc91c8e17002d9": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_defect_ion_combined_impedance.py", + "symbol": "test_combined_capability_requires_both_a_defect_and_active_ions", + "lines": [ + 295, + 295 + ], + "text_sha256": "fe8b7e6ebccb05037d464e1e33447dc78f397e1a8846fc73319a7ea9d5be5710" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert params is not None", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-814c8ed7a078741b77603b20": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_defect_ion_combined_impedance.py", + "symbol": "test_combined_capability_requires_both_a_defect_and_active_ions", + "lines": [ + 286, + 286 + ], + "text_sha256": "fbb10b01edb02e98ad5574c9e0e9cedf6e6042b372feaa58dd5e42378053f7ac" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(DefectIonCombinedError, match=\"active mobile-ion species\"):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-2de85811866dbbf3059fa498": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_defect_ion_combined_impedance.py", + "symbol": "test_combined_capability_requires_both_a_defect_and_active_ions", + "lines": [ + 310, + 310 + ], + "text_sha256": "df0769975e5eb3a83f9a16dfd8f09c198ed5fd458fdd821fef2288201362e96e" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(DefectIonCombinedError, match=\"explicit bulk or interface\"):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-0750ad5e420e99618e855ec2": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_defect_ion_combined_impedance.py", + "symbol": "test_combined_frequency_window_fails_closed", + "lines": [ + 276, + 276 + ], + "text_sha256": "2426e828ea662ccba1f15bdeebc15f3e9950906a4f86ed7899af06b50243c29a" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert not partial.certificate.certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-eeb965972c40ec2e8a7dc966": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_defect_ion_combined_impedance.py", + "symbol": "test_combined_frequency_window_fails_closed", + "lines": [ + 277, + 277 + ], + "text_sha256": "7264f8673cd5f71cf6eec96c99ad13b416afad970e57c5a762e3b9de1d976610" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert not partial.certificate.frequency_window.certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-84577fd758e8fc0c64a76be2": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_defect_ion_combined_impedance.py", + "symbol": "test_combined_frequency_window_fails_closed", + "lines": [ + 278, + 278 + ], + "text_sha256": "03d6f73d2dd2e8d4d2f13c2d9e5334ce78c60cffd1340c3acfce2db06dba3ab4" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert \"combined_frequency_window_not_covered\" in partial.certificate.reasons", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-9779a63b5304188c909585dd": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_defect_ion_combined_impedance.py", + "symbol": "test_combined_frequency_window_fails_closed", + "lines": [ + 281, + 281 + ], + "text_sha256": "9dd523cbf911decdaec706151d09f4c1a76599e400bbd72e55f81b2266eefa6a" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert exc_info.value.result.certificate.reasons == partial.certificate.reasons", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-e85b8c72f061a6572110a0ea": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_defect_ion_combined_impedance.py", + "symbol": "test_combined_frequency_window_fails_closed", + "lines": [ + 279, + 279 + ], + "text_sha256": "6e79e8f069fbc64121a1792ad47c31cc0925b76dbac7e1f8d142db330b3243aa" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(DefectIonCombinedCertificationError) as exc_info:", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-5312fc22f7afee91aef128dd": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_defect_ion_combined_impedance.py", + "symbol": "test_dual_and_negative_only_ion_blocks_keep_independent_inventories", + "lines": [ + 193, + 193 + ], + "text_sha256": "0b697bc41f6149161e998bb0e2816a4f99e426edffb438b67cf31f29cef909d8" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.certificate.certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-318eec97ff625885298d7004": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_defect_ion_combined_impedance.py", + "symbol": "test_dual_and_negative_only_ion_blocks_keep_independent_inventories", + "lines": [ + 194, + 194 + ], + "text_sha256": "eac787ffe5b568ff07f3382e2c21624e8614e583271130ade1625954cfcdfda5" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.negative_ion_admittance_faces_S_m2 is not None", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-37f11a2549524db4a20a55d4": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_defect_ion_combined_impedance.py", + "symbol": "test_dual_and_negative_only_ion_blocks_keep_independent_inventories", + "lines": [ + 195, + 195 + ], + "text_sha256": "b999be12de967ff23dc400fc5ae04280fcbe40a489b72ef4e99d5e75dadb2190" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.negative_ion_storage_response_F_m2 is not None", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-873125ae9f0d34de9889bb23": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_defect_ion_combined_impedance.py", + "symbol": "test_dual_and_negative_only_ion_blocks_keep_independent_inventories", + "lines": [ + 196, + 196 + ], + "text_sha256": "9ee90a273960c5c3cb586e3d3a1a6a83a10b6a9dc38fa469394a33bd748d886d" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert bool(result.layout.ion_layout.positive_nodes) is positive", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-90853e83ae37ff4cb3f867ef": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_defect_ion_combined_impedance.py", + "symbol": "test_dual_and_negative_only_ion_blocks_keep_independent_inventories", + "lines": [ + 197, + 197 + ], + "text_sha256": "51584d886b797a407de686d68bec033d51d6191820c4135e8f88b8384cafc720" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.layout.ion_layout.negative_nodes", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-b7107aebaadfdd6c003a874f": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_defect_ion_combined_impedance.py", + "symbol": "test_dual_and_negative_only_ion_blocks_keep_independent_inventories", + "lines": [ + 198, + 201 + ], + "text_sha256": "5bbc064f86389c2b182893aecd535900ff09a7ec065fe053064e173fa3a8c7df" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert {\n item.species\n for item in result.certificate.frequency_window.ionic.ionic_timescales\n } == expected_species", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-d3a7f99eb2bab5459e7db93a": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_defect_ion_combined_impedance.py", + "symbol": "test_dual_and_negative_only_ion_blocks_keep_independent_inventories", + "lines": [ + 202, + 202 + ], + "text_sha256": "c05fd8cf0a0d392d817c41f9cf95b06b2102792113d5e6b5321a2e38f55448ea" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.certificate.maximum_ion_inventory_response_relative < 1.0e-8", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-5df003bfca7f86a73ab09511": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_defect_ion_combined_impedance.py", + "symbol": "test_dual_and_negative_only_ion_blocks_keep_independent_inventories", + "lines": [ + 204, + 206 + ], + "text_sha256": "14c98daad249bc37cdc5ef91984e5306636a0e3c12fe097b22c6bbb49c2741b2" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.layout.positive_ion_slice.start == (\n result.layout.positive_ion_slice.stop\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-7759c471904003fbe7160e42": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_defect_ion_combined_impedance.py", + "symbol": "test_dual_and_negative_only_ion_blocks_keep_independent_inventories", + "lines": [ + 211, + 211 + ], + "text_sha256": "19affe58dc6e205cdd60af289cd5510178b213f691be21ad83a292b960e5fe67" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " _assert_current_decomposition(result)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-defbc9d64d607eb3748554b6": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_defect_ion_combined_impedance.py", + "symbol": "test_dual_and_negative_only_ion_blocks_keep_independent_inventories", + "lines": [ + 207, + 210 + ], + "text_sha256": "08cd727d79347b39ed709f85cc412fa12968d8ea087472d2cba22569754be33a" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_array_equal(\n result.positive_ion_admittance_faces_S_m2,\n np.zeros_like(result.positive_ion_admittance_faces_S_m2),\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-52bc2c84d63b5894fe6706f1": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_defect_ion_combined_impedance.py", + "symbol": "test_interface_defect_and_ions_close_sheet_charge_and_four_leg_capture", + "lines": [ + 224, + 224 + ], + "text_sha256": "0b697bc41f6149161e998bb0e2816a4f99e426edffb438b67cf31f29cef909d8" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.certificate.certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-6003500f42f26b01ee5cc25f": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_defect_ion_combined_impedance.py", + "symbol": "test_interface_defect_and_ions_close_sheet_charge_and_four_leg_capture", + "lines": [ + 225, + 225 + ], + "text_sha256": "bcc4d87b91a4823cd2b8fc41dd674a0a688f94ede4c4e06ac509a4bde152bbae" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.certificate.capability == \"interface_defect_plus_ions\"", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-055a03d6478316666c93d8e4": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_defect_ion_combined_impedance.py", + "symbol": "test_interface_defect_and_ions_close_sheet_charge_and_four_leg_capture", + "lines": [ + 226, + 226 + ], + "text_sha256": "349daf976ccb78778c20c8f233080a785d7a4a409ae4fafa421d31e78260ea35" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.layout.bulk_trap_layout is None", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-a645ebd1e7a195b18b8c9f76": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_defect_ion_combined_impedance.py", + "symbol": "test_interface_defect_and_ions_close_sheet_charge_and_four_leg_capture", + "lines": [ + 227, + 227 + ], + "text_sha256": "13ff9c16c965d543d0d5ab6d8f49f3d88b180396c18ca5c4d74c0c16ca893db1" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.layout.interface_count == 1", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-9155845fe1b42c9debc9f560": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_defect_ion_combined_impedance.py", + "symbol": "test_interface_defect_and_ions_close_sheet_charge_and_four_leg_capture", + "lines": [ + 228, + 228 + ], + "text_sha256": "9b671f65335792d7907e64369612c599908a9a08170575b9de2e2ce9fa92423d" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.interface_current_observation == (\"symmetric_adjacent_physical_faces\")", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-55ab6e25b914fff63388df28": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_defect_ion_combined_impedance.py", + "symbol": "test_interface_defect_and_ions_close_sheet_charge_and_four_leg_capture", + "lines": [ + 229, + 229 + ], + "text_sha256": "3a320a851d5e448b5707993a2372addee4b238ee711bd27624f163af2ea5e29c" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.interface_sheet_charge_storage_response_F_m2 is not None", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-4fbad250f6945ff6e6512b63": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_defect_ion_combined_impedance.py", + "symbol": "test_interface_defect_and_ions_close_sheet_charge_and_four_leg_capture", + "lines": [ + 230, + 230 + ], + "text_sha256": "1fb1accbf7f95d0bfbec364434a51a6dddb98335b40c6aa8180b62988b4af978" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.interface_occupancy_response_per_V is not None", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-fe9aa4bcff459f41bb7aa8ef": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_defect_ion_combined_impedance.py", + "symbol": "test_interface_defect_and_ions_close_sheet_charge_and_four_leg_capture", + "lines": [ + 231, + 231 + ], + "text_sha256": "b935ded6ffec6647e0c567a64c43062e5cc72fd0e7689a8fd86ead37f04dc638" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.bulk_trap_charge_storage_response_F_m2 is None", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-2197fecf842a95588e7ecf4e": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_defect_ion_combined_impedance.py", + "symbol": "test_interface_defect_and_ions_close_sheet_charge_and_four_leg_capture", + "lines": [ + 232, + 232 + ], + "text_sha256": "c467e2ae955fe782c65c58a66051cc0c4fc61b651c6dffb05ab196dfd40d18d0" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.max(np.abs(result.interface_occupancy_response_per_V)) > 0.0", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-09e03717f8e485ace5c68270": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_defect_ion_combined_impedance.py", + "symbol": "test_interface_defect_and_ions_close_sheet_charge_and_four_leg_capture", + "lines": [ + 233, + 233 + ], + "text_sha256": "fd94ae1bb00a86ab906ee24e188f7fd8eb8789cd994db6fa493ca5d2d7231808" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.dc_state.certificate.maximum_interface_residual < 1.0e-7", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-2549da4114d5cbd3bff0c4f5": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_defect_ion_combined_impedance.py", + "symbol": "test_interface_defect_and_ions_close_sheet_charge_and_four_leg_capture", + "lines": [ + 234, + 234 + ], + "text_sha256": "6244973aedae405c8fd9c0b01f999e7825f0d33c63d15b07ebc92cc1c0b3f94b" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.dc_state.certificate.maximum_interface_gauss_residual < 1.0e-7", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-5505a8ce25e9c0deed0ad0ef": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_defect_ion_combined_impedance.py", + "symbol": "test_interface_defect_and_ions_close_sheet_charge_and_four_leg_capture", + "lines": [ + 235, + 235 + ], + "text_sha256": "4a8aad6264b2e4d2de621abef81f7eff6b146f9c4dc5014aa4f2f75c2fb77459" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.certificate.maximum_interface_trap_balance_relative_error < 1.0e-3", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-e8878ad02bd07c0c416e783d": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1.py", + "symbol": "test_physical_ac_zero_inventory_and_blocking_contacts", + "lines": [ + 114, + 114 + ], + "text_sha256": "0b697bc41f6149161e998bb0e2816a4f99e426edffb438b67cf31f29cef909d8" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.certificate.certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-30240a3601aa8b26cd62fd33": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1.py", + "symbol": "test_physical_ac_zero_inventory_and_blocking_contacts", + "lines": [ + 115, + 115 + ], + "text_sha256": "2754675acf984517393575a3f70410a9583fb3f3a4a5fbe4b534e21c24c6a041" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.admittance_faces_S_m2.shape == (45, x.size+2)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-4c2b2545e1e3b8217f32726e": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1.py", + "symbol": "test_physical_ac_zero_inventory_and_blocking_contacts", + "lines": [ + 116, + 116 + ], + "text_sha256": "d12c68881191f9e60b568ab824b9f7ee283d63f5ee397cd942739f1f43a2facd" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert max(mat.V_T_device*abs(result.positive_ion_storage_response_F_m2/Q)/1e15) <= 1e-10", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-0c0b0da4e4ccf5a074dd96b0": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1.py", + "symbol": "test_physical_ac_zero_inventory_and_blocking_contacts", + "lines": [ + 117, + 117 + ], + "text_sha256": "374abecfd4f4b6b690c65d8a9d1d3515867bf5bd4ed1c417d6641961d24bc0b1" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_array_equal(result.positive_ion_admittance_faces_S_m2[:, [0, -1]], 0)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-47f2be2cbbc1f01ddd104a5f": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_degradation_frozen_ions.py", + "symbol": "test_empty_negative_species_keeps_the_inherited_state_layout", + "lines": [ + 183, + 183 + ], + "text_sha256": "26b3b49a04802fcaaf42abf4c72b6020415707bd01f02c7a299e3ed2e0f252be" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert state.size == 4 * x.size", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-59268c694f95df3e6eba2f74": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_degradation_frozen_ions.py", + "symbol": "test_empty_negative_species_keeps_the_inherited_state_layout", + "lines": [ + 187, + 187 + ], + "text_sha256": "1a4782f551ccacfc472671152383b940cda6bc3781fa0ee7d3d00b783cb719cd" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.states.shape == (3, state.size)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-69f9014600c8339bc7348992": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_degradation_frozen_ions.py", + "symbol": "test_empty_negative_species_keeps_the_inherited_state_layout", + "lines": [ + 188, + 188 + ], + "text_sha256": "d02e699ecf78ed5f7a4e09b6b20a1383156505acbb8797f79077880f73b5a592" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_array_equal(result.states[:, 3 * x.size:], 0.0)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-e143c7f64659e5e79da81692": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_degradation_frozen_ions.py", + "symbol": "test_invalid_electronic_certificate_cannot_produce_metrics", + "lines": [ + 200, + 200 + ], + "text_sha256": "28c2d92e9e6d9fa3dc32c5dd4bf73b7c1944d9aeffab222b56a9cda3dcb34111" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(RuntimeError, match=\"steady-state certificate\"):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-2b2d14d5d2c067e76b7d7f8e": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_degradation_frozen_ions.py", + "symbol": "test_original_diffusivity_does_not_change_the_same_frozen_snapshot", + "lines": [ + 166, + 166 + ], + "text_sha256": "df8638d8b50378c04fbd9f01ae7de6c41118a4a19dad531838bed1566907e943" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_array_equal(state, original_state)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-54ce0f5518a444c99d78c0ac": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_degradation_frozen_ions.py", + "symbol": "test_original_diffusivity_does_not_change_the_same_frozen_snapshot", + "lines": [ + 167, + 167 + ], + "text_sha256": "6a81c09266d27890544a01d7e761c10e339ef5b5389d66e4b25ebb2be7f0d6fc" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_array_equal(results[0].J, results[1].J)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-b3c56c6052a43c6c40db8a55": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_degradation_frozen_ions.py", + "symbol": "test_original_diffusivity_does_not_change_the_same_frozen_snapshot", + "lines": [ + 168, + 168 + ], + "text_sha256": "716f0dab8667d022bb71d33cbd7d3a89958d68941a796d07e87994f6a49ee362" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_array_equal(results[0].states, results[1].states)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-e86959070afa3d15007e1686": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_degradation_frozen_ions.py", + "symbol": "test_original_diffusivity_does_not_change_the_same_frozen_snapshot", + "lines": [ + 170, + 170 + ], + "text_sha256": "e294af8cdec7ad31085794969e4992a126a72f6435b8e6697a011528d9da0def" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.max(result.carrier_current_bound_A_m2) <= 0.05", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-8a0de7f138dab7a6103de2bc": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_degradation_frozen_ions.py", + "symbol": "test_original_diffusivity_does_not_change_the_same_frozen_snapshot", + "lines": [ + 171, + 171 + ], + "text_sha256": "e04c5adea78a32d9cadd019ab6340696cc04d6829b7e1a366a6b99b46fe71567" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.max(result.current_spread_A_m2) <= 0.05", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-772342636bc68c9cbfa93932": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_degradation_frozen_ions.py", + "symbol": "test_original_diffusivity_does_not_change_the_same_frozen_snapshot", + "lines": [ + 173, + 173 + ], + "text_sha256": "d2c4ec3fd0f82b15d2dc9c4165bc4f1cf67a7f9c8484d1187149a5aaa6e8c1b4" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_array_equal(accepted[2 * x.size:], state[2 * x.size:])", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-5ccb0873216d23624003e104": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_degradation_frozen_ions.py", + "symbol": "test_snapshot_observer_uses_the_frozen_material", + "lines": [ + 131, + 131 + ], + "text_sha256": "7ab0849bddffdfdf28fee2cd3d52a10627d440b6629ec84734ddaa445ed2ec6e" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert seen", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-3412450eb028a945fc669fa3": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_degradation_frozen_ions.py", + "symbol": "test_snapshot_observer_uses_the_frozen_material", + "lines": [ + 115, + 116 + ], + "text_sha256": "1ee61a470cae150e7f053a8df80086f56f4a5915a68204b1f8cc378c81901679" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert all(layer.params.D_ion == layer.params.D_ion_neg == 0.0\n for layer in electrical_layers(measured_stack))", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-0d1669b6d38ca63085b69d66": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_degradation_frozen_ions.py", + "symbol": "test_snapshot_observer_uses_the_frozen_material", + "lines": [ + 117, + 117 + ], + "text_sha256": "c0f4252fb9485ad0c9cdaf407605ac0dc7c0aebaa91fab6c39c82c162061a78e" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_array_equal(mat.D_ion_face, 0.0)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-fe6cd2975ba1df315a856d90": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_degradation_frozen_ions.py", + "symbol": "test_snapshot_observer_uses_the_frozen_material", + "lines": [ + 118, + 118 + ], + "text_sha256": "0894500e4f4f535f15581c480fe12ac406c524d3ffc1c201c26af2db1fa8a051" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_array_equal(mat.D_ion_neg_face, 0.0)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-36432f390bb59d4c4f4c3124": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_degradation_frozen_ions.py", + "symbol": "test_successful_transient_is_not_a_steady_state_certificate", + "lines": [ + 144, + 144 + ], + "text_sha256": "530323b4df153870f788b7588a1e5c3156b0504241621b22d0a498814688a70b" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(RuntimeError, match=\"still evolving\"):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-6294b2fc06ce404842787f9b": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_tolerances.py", + "symbol": "test_degradation_snapshot_tightens_componentwise_policy", + "lines": [ + 469, + 469 + ], + "text_sha256": "6629b93f21d7824b22f24b0e6fa0d25405ebec91d703ebed586dd619289b93d2" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert len(captured) == 1", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-12e169af7712eab1b2de75df": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_tolerances.py", + "symbol": "test_degradation_snapshot_tightens_componentwise_policy", + "lines": [ + 470, + 470 + ], + "text_sha256": "38d9e74d9cc0fc3ad7e7260240b2db38eba9386fa53f05d9c904d745818df000" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert isinstance(captured[0], ComponentwiseAtol)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-1414c57dc50160abea240f39": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_tolerances.py", + "symbol": "test_degradation_snapshot_tightens_componentwise_policy", + "lines": [ + 471, + 471 + ], + "text_sha256": "3f09f115ef4f0c7e4327d06667d6b62136f949c81ef221e31ae272d87f58205d" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert captured[0].refinement_factor == pytest.approx(0.01)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-18510f9741c7694ff8ca56de": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_degradation.py", + "symbol": "test_degradation_metrics_decline_under_bias_stress", + "lines": [ + 55, + 57 + ], + "text_sha256": "0b8ddfad88f26b97fdbaae547b3cc85423d698c5aae4ad5162060da2fc95c6c4" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.PCE[-1] < result.PCE[0], (\n f\"PCE should decline under sustained bias stress: {result.PCE}\"\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-1bf0186423a956124ea734a4": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_degradation.py", + "symbol": "test_degradation_metrics_decline_under_bias_stress", + "lines": [ + 58, + 60 + ], + "text_sha256": "9a9336ce9f4524a39c07d79c2e03f0f347272fa4bb85630a62648b1513bf3589" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.V_oc[-1] < result.V_oc[0], (\n f\"V_oc should decline under sustained bias stress: {result.V_oc}\"\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-81c89f1db3a90309d81f9f63": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_degradation.py", + "symbol": "test_degradation_rejects_negative_damage_motion_gain", + "lines": [ + 83, + 83 + ], + "text_sha256": "a981e6f822df1b3bcb69f3e85896218c050e0c7fae2c331fa6b89eb1c21590ed" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(ValueError, match=\"damage_motion_gain\"):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-f8011ace2e4d859985c58800": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_degradation.py", + "symbol": "test_degradation_rejects_nonpositive_metric_settle_time", + "lines": [ + 75, + 75 + ], + "text_sha256": "688c01350e6cfd14cff2984e56eac76332f3935000526de734e940f4eebd0807" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(ValueError, match=\"metric_settle_time\"):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-a922498e96a2f174ce864e75": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_degradation.py", + "symbol": "test_degradation_rejects_nonpositive_t_end", + "lines": [ + 91, + 91 + ], + "text_sha256": "72376b4b5ceec639734239e479027c21300e86bbde37630e3ee0d102bcf1aeba" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(ValueError, match=\"t_end\"):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-bff54dda50147a528086dc7a": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_degradation.py", + "symbol": "test_degradation_rejects_small_metric_grid", + "lines": [ + 67, + 67 + ], + "text_sha256": "1ea94b81fda3ef0025939a83e74d31a2a44d15108c7e5a4122cbeaf0938caf74" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(ValueError, match=\"metric_n_points\"):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-2e00bd11b79a358fb1586f16": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_degradation.py", + "symbol": "test_degradation_rejects_small_n_grid", + "lines": [ + 99, + 99 + ], + "text_sha256": "7c5f1651c668a343517611b48321d6069e6cd6ac97ce8b9ead7f99dc600d34fe" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(ValueError, match=\"N_grid\"):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-928229f16962952bac606d85": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_degradation.py", + "symbol": "test_degradation_rejects_small_n_snapshots", + "lines": [ + 107, + 107 + ], + "text_sha256": "d0d5e8b3bfa859c04712c199e67f875f505835a7e8554a642bc5f7f0f7c5a197" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(ValueError, match=\"n_snapshots\"):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-52a5ca707996e41f90e39571": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_degradation.py", + "symbol": "test_dt_max_caps_internal_step", + "lines": [ + 121, + 121 + ], + "text_sha256": "622c6e5349428c8a52ee9ada5403aa3ad7aa34f8ba3024c98660b8024bd78d05" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.PCE.shape == (2,)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-607fbdf650468eea4e1dd5ad": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_degradation.py", + "symbol": "test_dt_max_caps_internal_step", + "lines": [ + 122, + 122 + ], + "text_sha256": "c07223e239044222225918c7ce7d01629723a1c58d86cd41da4cce236a431dc8" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.all(np.isfinite(result.PCE))", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-2ec109be560d890e7c204681": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_degradation.py", + "symbol": "test_dt_max_caps_internal_step", + "lines": [ + 123, + 123 + ], + "text_sha256": "84b01d6b2b90136709fe25ba82ff7d7844c2509327c6c19ac2d5c45a7c088ac0" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.all(np.isfinite(result.V_oc))", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-29d27f12095adcd12f8affcc": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_degradation.py", + "symbol": "test_dt_max_caps_internal_step", + "lines": [ + 124, + 124 + ], + "text_sha256": "5d0bedc15449236cc8f92d8e4875b52423e36ba0dd65773310a04c65f25b49e1" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.all(np.isfinite(result.J_sc))", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-14e23a8a0328c8a3637ca7dc": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_material_cache_regression.py", + "symbol": "test_impedance_ionmonger_finite_and_capacitive", + "lines": [ + 58, + 58 + ], + "text_sha256": "1360ba5dd808469196f6f568ea5c1006ebf028306d280c2ad36a5c8c53414803" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert r.Z.shape == freqs.shape", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-5fbc48af640fbdef2c2d2cd3": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_material_cache_regression.py", + "symbol": "test_impedance_ionmonger_finite_and_capacitive", + "lines": [ + 59, + 59 + ], + "text_sha256": "922dcb76e933f62e0c1dacead3c9d6a036e61397705e1fd063f333dd3fe195f0" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.all(np.isfinite(r.Z.real))", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-e079a8ed022c96c49a464a67": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_material_cache_regression.py", + "symbol": "test_impedance_ionmonger_finite_and_capacitive", + "lines": [ + 60, + 60 + ], + "text_sha256": "4062d5f70215e02f15a5c7b3f9437c641f5d205952c71e8bf517ef53127402a0" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.all(np.isfinite(r.Z.imag))", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-271b083c7ccaa6d47a20651c": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_material_cache_regression.py", + "symbol": "test_impedance_ionmonger_finite_and_capacitive", + "lines": [ + 61, + 61 + ], + "text_sha256": "1a81991ea6c1d25882408227750d466364e218beb7f39bd9aef49185ac5e715d" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.all(r.Z.imag < 0.0), f\"Im(Z) sign drift: {r.Z.imag}\"", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-c2cb13677db49a2ed6d93062": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_material_cache_regression.py", + "symbol": "test_impedance_ionmonger_finite_and_capacitive", + "lines": [ + 62, + 62 + ], + "text_sha256": "2076b4d6f3463dc92d08ec36c7e2f94599e4a1d41b73cf2758735068c7f97e38" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.all(r.Z.real > 0.0), f\"Re(Z) sign drift: {r.Z.real}\"", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-9fcb17d622af424efa4ae219": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_impedance.py", + "symbol": "test_impedance_rejects_dynamic_interface_state_blocks", + "lines": [ + 799, + 802 + ], + "text_sha256": "532c49f38d19da5e43cb300bffbee9189d658d392e16c2c2d8f8cc7fa187352f" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(\n impedance_module.ImpedanceCapabilityError,\n match=\"interface-state\",\n ):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-117cac111ddab60b14037e34": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_impedance.py", + "symbol": "test_impedance_rejects_empty_frequencies", + "lines": [ + 41, + 41 + ], + "text_sha256": "de4d0c5c8c8cfd24ed2cf1920a54638bf66ea247417a57840b786ab017f0dda3" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(ValueError, match=\"frequenc\"):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-b6854a5fb3550b35c4fa0085": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_impedance.py", + "symbol": "test_impedance_rejects_failed_dark_dc_preconditioning", + "lines": [ + 78, + 78 + ], + "text_sha256": "1c4abe4fdb6b5266b817fc22131581ba1f7e2f45c04f9bae464afaf54ee16955" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(RuntimeError, match=\"dark DC preconditioning failed\"):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-bbc365e60830e5b5179c107f": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_impedance.py", + "symbol": "test_impedance_rejects_noninteger_protocol_counts", + "lines": [ + 109, + 109 + ], + "text_sha256": "c311e221b4ae27b4ef7d8f3708e32746330aef2c08c8f332620a3f755a5d7d15" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(ValueError, match=field):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-f58c376cf705625d27687290": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_el_spectrum.py", + "symbol": "test_N_grid_lower_bound", + "lines": [ + 61, + 61 + ], + "text_sha256": "7c5f1651c668a343517611b48321d6069e6cd6ac97ce8b9ead7f99dc600d34fe" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(ValueError, match=\"N_grid\"):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-cdf0c8521198203dcc44187b": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_el_spectrum.py", + "symbol": "test_V_inj_must_be_positive", + "lines": [ + 54, + 54 + ], + "text_sha256": "62d06c8745fbfd63daa8830e24693961afa122e2bc47665b28dcf38dc860f6b0" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(ValueError, match=\"V_inj\"):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-41880e868d7587e810bb3248": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_el_spectrum.py", + "symbol": "test_V_inj_must_be_positive", + "lines": [ + 56, + 56 + ], + "text_sha256": "62d06c8745fbfd63daa8830e24693961afa122e2bc47665b28dcf38dc860f6b0" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(ValueError, match=\"V_inj\"):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-dc1f30f377b7c6e82d911991": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_el_spectrum.py", + "symbol": "test_increasing_V_inj_raises_J_em_rad", + "lines": [ + 184, + 184 + ], + "text_sha256": "024ed226650f5b4bd1d82649ef4fc6a6d7c5066d181049ebbec9d2f06a5dae89" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert ratio > 500.0", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-904ce8a210b8a50d93e8b09c": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_el_spectrum.py", + "symbol": "test_input_stack_not_mutated", + "lines": [ + 196, + 196 + ], + "text_sha256": "60dc5a2e138c906b24ffb73deb7ff7c323a7076ef749357ddec45ad155f255c4" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert tmm_stack.T == T_before", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-89f937b950720850083f1941": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_el_spectrum.py", + "symbol": "test_input_stack_not_mutated", + "lines": [ + 197, + 197 + ], + "text_sha256": "2c5fb177068b22edd0b30a3a25c2163f0a5b4cca6cd25c238a983ea5726149fa" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert tmm_stack.V_bi == V_bi_before", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-b468edc02330008307aec3db": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_el_spectrum.py", + "symbol": "test_non_tmm_stack_is_rejected", + "lines": [ + 49, + 49 + ], + "text_sha256": "eaa15663f892a17573210894e26da84d98ae335033aa5ca283a761c03ffd5ed8" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(ValueError, match=\"optical_material\"):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-0b8efd843ad730c5640e7deb": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_el_spectrum.py", + "symbol": "test_progress_callback_invoked", + "lines": [ + 213, + 213 + ], + "text_sha256": "83714b9ade93bf5655f1a41eea1cbb02056707df27884e9ed35f960caae6b5e6" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert len(calls) >= 3", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-5c990975f70297731f47a30c": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_el_spectrum.py", + "symbol": "test_progress_callback_invoked", + "lines": [ + 214, + 214 + ], + "text_sha256": "a5bc67797a3806409faab323d91bb5c182cf3e9744851606499ee24653e0b685" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert all(stage == \"el\" for stage, _, _, _ in calls)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-3e7bd1ea6c8821036c34ef7c": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_el_spectrum.py", + "symbol": "test_progress_callback_invoked", + "lines": [ + 216, + 216 + ], + "text_sha256": "a7a7fe4e0d24d1d67d528a1b7e7c11fa54dddac3ba19ccfe5cbe44ec3acf3afa" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert counts == sorted(counts)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-e281039630acd106b2238d35": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_el_spectrum.py", + "symbol": "test_temperature_propagates_into_result", + "lines": [ + 168, + 168 + ], + "text_sha256": "54a7ddc06a14544b4b532cd5a9a3300f8f0431f4907df62a47221cbf69bce863" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert res.T == pytest.approx(tmm_stack.T, rel=1e-12)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-a6b5fb694566e90b56c460bc": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_el_spectrum.py", + "symbol": "test_wavelengths_must_be_positive", + "lines": [ + 75, + 75 + ], + "text_sha256": "1c98792e217f34502cbf39a701dbfe9884f55b83b3c90cc80057458bf54b4de8" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(ValueError, match=\"positive\"):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-b6286676da65577e8ee21cd0": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_electrothermal_operating_point.py", + "symbol": "test_real_mobile_ion_jv_closes_lumped_electrothermal_root", + "lines": [ + 47, + 47 + ], + "text_sha256": "8ac0011bcd524ee6da86109082b98bace38aeaa508cce45ff5d56fbfc3a085c4" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-93e31bfad268c262c90abb96": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_electrothermal_operating_point.py", + "symbol": "test_real_mobile_ion_jv_closes_lumped_electrothermal_root", + "lines": [ + 48, + 48 + ], + "text_sha256": "530e238150d50232ca4692d3cf5ea941ee0aaa27508f279a42a9f3766da58853" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert 315.0 < result.operating_temperature_K < 335.0", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-0037a02fbc32bcf365fe9809": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_electrothermal_operating_point.py", + "symbol": "test_real_mobile_ion_jv_closes_lumped_electrothermal_root", + "lines": [ + 49, + 49 + ], + "text_sha256": "173ae08f335e0d93d8245154fc9291aa9a5ec51c2ba185a53e476c0264a8bcba" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert 150.0 < result.terminal_power_W_m2 < thermal.absorbed_optical_power_W_m2", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-6129fe283b4430d394b47b06": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_electrothermal_operating_point.py", + "symbol": "test_real_mobile_ion_jv_closes_lumped_electrothermal_root", + "lines": [ + 50, + 52 + ], + "text_sha256": "55682a082a2158cdba92141c2390e4c02e96590c267e4e528832d217a24ecdb5" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert abs(result.power_balance_residual_W_m2) <= (\n thermal.steady_power_residual_tolerance_W_m2\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-ecb4a61ab1bd2e2e602b1ea1": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_electrothermal_operating_point.py", + "symbol": "test_real_mobile_ion_jv_closes_lumped_electrothermal_root", + "lines": [ + 53, + 53 + ], + "text_sha256": "755c78604b242cf21ce6da1cff103d382a8ee35880a7822cece800709259ee38" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.electrical_evaluations >= 3", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-1bb57b4546098a5c415bd3c7": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_electrothermal_operating_point.py", + "symbol": "test_real_mobile_ion_jv_closes_lumped_electrothermal_root", + "lines": [ + 54, + 58 + ], + "text_sha256": "fe83c181ab46ea8d87a5857734e3949ef53cd0e263ca1a909224c74380cc0a51" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert all(\n evaluation.source_certified\n and evaluation.external_circuit_certified\n for evaluation in result.temperature_evaluations\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-4cf0b9da171d032e21719083": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_electrothermal_operating_point.py", + "symbol": "test_real_mobile_ion_jv_closes_lumped_electrothermal_root", + "lines": [ + 59, + 65 + ], + "text_sha256": "5188ad155a2ce1a6f0680f552c54983626da734b236eb16287b8aaf33042f720" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.final_external_result.source_experiment_protocol_sha256 == (\n next(\n evaluation.source_experiment_protocol_sha256\n for evaluation in result.temperature_evaluations\n if evaluation.temperature_K == result.operating_temperature_K\n )\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-0040adf2449127daf27a7b42": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_electrothermal.py", + "symbol": "test_export_above_declared_absorption_fails_closed", + "lines": [ + 272, + 272 + ], + "text_sha256": "cf00871e8cb432753490424ec122f7c699f5d00768f142f9a4be68a6048a2a33" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(ThermalEnergySourceError, match=\"exceeds\"):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-be95cd313e33174638b2c309": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_electrothermal.py", + "symbol": "test_impossible_temperature_envelope_fails_closed", + "lines": [ + 257, + 257 + ], + "text_sha256": "de7ce88ab032d6fa9e058fd3e3b643ca1d7cc6c4be29505673b585072600e642" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(ElectrothermalConvergenceError, match=\"no electrothermal root\"):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-26a520e798edab11fc88feaa": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_electrothermal.py", + "symbol": "test_invalid_electrical_source_fails_closed", + "lines": [ + 245, + 245 + ], + "text_sha256": "2f2eb3620b5142f23b0c9392b62b830ed17be757141ad8ec556736014b533846" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(ElectrothermalSourceError, match=message):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-19195cfd499cec974f1b117c": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_electrothermal.py", + "symbol": "test_legacy_mode_is_rejected_before_an_electrical_solve", + "lines": [ + 224, + 224 + ], + "text_sha256": "e31a6e0529f13b254e981131ce1059e90ff31703fb68825358aa715c187581b1" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert calls == []", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-cafa1668afa001e2c89c38ff": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_electrothermal.py", + "symbol": "test_legacy_mode_is_rejected_before_an_electrical_solve", + "lines": [ + 216, + 216 + ], + "text_sha256": "dc507193b87bafe25eb2e76d936b66f5f0f8d17e71d394c94c486f21939ab399" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(ElectrothermalCapabilityError, match=\"temperature-scaling\"):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-237c82ea712a10eef8510a9d": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_electrothermal.py", + "symbol": "test_linear_temperature_dependent_mpp_has_analytic_coupled_root", + "lines": [ + 160, + 160 + ], + "text_sha256": "8ac0011bcd524ee6da86109082b98bace38aeaa508cce45ff5d56fbfc3a085c4" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-c630d0764e718f498a587941": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_electrothermal.py", + "symbol": "test_linear_temperature_dependent_mpp_has_analytic_coupled_root", + "lines": [ + 161, + 164 + ], + "text_sha256": "c7818c1c867de5903c1c3c8ee39adb267a6aadb36b8c089d0dd191b24ea18798" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.operating_temperature_K == pytest.approx(\n 300.0 + expected_rise,\n abs=1.0e-9,\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-8133a5319a1a16548d7ea8b6": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_electrothermal.py", + "symbol": "test_linear_temperature_dependent_mpp_has_analytic_coupled_root", + "lines": [ + 165, + 168 + ], + "text_sha256": "298d4a5e40a3434d5d7f5a62e8dc5d99c3098a1858b48aac4e5bd4c3d19c845c" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.terminal_power_W_m2 == pytest.approx(\n 200.0 - 0.5 * expected_rise,\n abs=1.0e-9,\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-ee41aeb65ede86f9ecf5ef71": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_electrothermal.py", + "symbol": "test_linear_temperature_dependent_mpp_has_analytic_coupled_root", + "lines": [ + 169, + 169 + ], + "text_sha256": "0934d10474501bb08d55bbff6c96463203a8a594cbbcee075f74bc96428baba0" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert abs(result.power_balance_residual_W_m2) <= 1.0e-7", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-d991876d3d0ebfe5644e6b9f": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_electrothermal.py", + "symbol": "test_linear_temperature_dependent_mpp_has_analytic_coupled_root", + "lines": [ + 170, + 170 + ], + "text_sha256": "252d6fc478defeb55f1f9cc5d0c6f1efe932a898d4d2dd0f883267d537241a89" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.electrical_evaluations == len(calls)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-860af221c651fa65b2e6e8ff": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_electrothermal.py", + "symbol": "test_linear_temperature_dependent_mpp_has_analytic_coupled_root", + "lines": [ + 171, + 171 + ], + "text_sha256": "b5889ce8290701ebd5b2d8f39584f34739fa04198f97bd0b1cfbe18a207efed1" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.electrical_evaluations == len(result.temperature_evaluations)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-74f8f0ef7c32509e0b250234": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_electrothermal.py", + "symbol": "test_linear_temperature_dependent_mpp_has_analytic_coupled_root", + "lines": [ + 172, + 172 + ], + "text_sha256": "d09b64de812a9d4ce8688467edcd3bb73e7f7c1ffd6224a216ee2ebaca3d1750" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert all(call_stack is not stack for call_stack, _kwargs in calls)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-09d0f12e1dec166234ad80a2": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_electrothermal.py", + "symbol": "test_linear_temperature_dependent_mpp_has_analytic_coupled_root", + "lines": [ + 173, + 173 + ], + "text_sha256": "8b29c2dd23da7bd29c7daca25c3b23e6b50a20365ded79a3c9dd71f11959eeb4" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert all(call_stack.T == evaluation.temperature_K for (call_stack, _), evaluation in zip(calls, result.temperature_evaluations))", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-c75543f6efb93fc4ad240b30": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_electrothermal.py", + "symbol": "test_linear_temperature_dependent_mpp_has_analytic_coupled_root", + "lines": [ + 174, + 174 + ], + "text_sha256": "24b429238fd68b7dd5d6f0ac7a19e7970de466a446cbbf3593b05bf22af41abc" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert all(kwargs[\"protocol_mode\"] == \"research_strict\" for _, kwargs in calls)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-e4b57a0ea91d3ba9a05ab81f": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_electrothermal.py", + "symbol": "test_linear_temperature_dependent_mpp_has_analytic_coupled_root", + "lines": [ + 175, + 175 + ], + "text_sha256": "886384b679423a0832f66891b1a95b0baa9a40b897b944bb092ee97bc7c5fb68" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert all(kwargs[\"collect_numerical_diagnostics\"] for _, kwargs in calls)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-dd12e92e22b193b85ccd9944": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_electrothermal.py", + "symbol": "test_linear_temperature_dependent_mpp_has_analytic_coupled_root", + "lines": [ + 176, + 176 + ], + "text_sha256": "17f36e41eb329a207555ece360fc2cca038fc943c03102a36b825841ca1b1b6f" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert stack.T == 300.0", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-91895f98f0cbd2e4f6087a31": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_electrothermal.py", + "symbol": "test_linear_temperature_dependent_mpp_has_analytic_coupled_root", + "lines": [ + 177, + 177 + ], + "text_sha256": "3765fa95a74e323581e5dae50712ce0988834982d078b4f701119182442c2ad4" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert len(result.mapping_sha256) == 64", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-fb725c829354073e15979514": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_electrothermal.py", + "symbol": "test_result_recomputes_evaluation_and_certification_evidence", + "lines": [ + 300, + 300 + ], + "text_sha256": "395eca65845af6867661c2b4a53d89d644de3b9b751a99bb14423ceb7d68d378" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(ValueError, match=\"residual\"):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-0dd1ba594c95c8c4976ff909": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_electrothermal.py", + "symbol": "test_result_recomputes_evaluation_and_certification_evidence", + "lines": [ + 308, + 308 + ], + "text_sha256": "38fa470b640e6206dc69d899fe6bd4ea411bf32d61a27ca932abcc142d4c7a71" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(ValueError, match=\"certified flag\"):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-83cf51236a2b3ea2e51781ea": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_electrothermal.py", + "symbol": "test_series_loss_reduces_export_and_increases_temperature", + "lines": [ + 204, + 204 + ], + "text_sha256": "0cdb47adb91ddea6d495b1dbd80be19cd86931cb94ec7e9ecebfe237bf4a7cca" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert lossy.terminal_power_W_m2 < ideal.terminal_power_W_m2", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-c9bf156f7f06a64fc3e73bf6": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_electrothermal.py", + "symbol": "test_series_loss_reduces_export_and_increases_temperature", + "lines": [ + 205, + 205 + ], + "text_sha256": "9f50c06ed1488ac5b3888da82479be591c38548ddef45f0994470b516495ebc5" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert lossy.operating_temperature_K > ideal.operating_temperature_K", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-bac689902ff64168260b5009": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_electrothermal.py", + "symbol": "test_series_loss_reduces_export_and_increases_temperature", + "lines": [ + 206, + 206 + ], + "text_sha256": "e30231bc80bcda3c98426b1e53acb776169a9f1458d8911c169838b98ddc0f5c" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert lossy.thermal_ledger.net_heating_W_m2 == pytest.approx(0.0, abs=1.0e-7)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-48f7c71744841dd1136c6c19": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_eqe.py", + "symbol": "test_eqe_drops_above_bandgap", + "lines": [ + 166, + 169 + ], + "text_sha256": "cc317bb26018bab8f3b7e3a37bed2b410b7deb6a295fbd62ca5731d6bbee1103" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert r.EQE[1] < 0.5 * r.EQE[0], (\n f\"EQE(900nm)={r.EQE[1]:.3f} not suppressed relative to \"\n f\"EQE(500nm)={r.EQE[0]:.3f} — MAPbI3 band-gap filter broken\"\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-5afb8934de697ffb1120876c": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_eqe.py", + "symbol": "test_eqe_in_unit_range_on_ionic_rich_preset", + "lines": [ + 144, + 144 + ], + "text_sha256": "fe8abe9d01ef36b5786d9da97005f7508000546f9518a94ce333a1e6b78fe07c" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.all(r.EQE >= 0.0), f\"negative EQE found: {r.EQE}\"", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-ef7a40578636767576054db9": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_eqe.py", + "symbol": "test_eqe_in_unit_range_on_ionic_rich_preset", + "lines": [ + 148, + 152 + ], + "text_sha256": "e6b514740777c3450eb04170811366189745b22840b04cb7f898c238f88023d3" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.all(r.EQE <= 1.10), (\n f\"EQE > 1.10 found on ionmonger_benchmark_tmm: {r.EQE}; the \"\n \"ionic-transient fix in compute_eqe (default t_settle=1e-1 s, \"\n \"Phi_incident=4e21, dark-J subtraction) may have regressed.\"\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-878a330da7e7e3c433721159": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_eqe.py", + "symbol": "test_integrated_jsc_matches_full_tmm", + "lines": [ + 224, + 228 + ], + "text_sha256": "e3b72fcea0570f3b88774a023562164292ffa19fc2cb2bf511b0e8303d93e04b" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert rel_err < 0.25, (\n f\"integrated EQE J_sc={J_sc_eqe:.2f} A/m² diverges from \"\n f\"full-TMM J_sc={J_sc_full:.2f} A/m² by {100 * rel_err:.1f}% — \"\n \"wavelength integration or TMM path likely broken\"\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-a3b55b317d38dc43cbc1a539": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_eqe.py", + "symbol": "test_progress_callback_invoked", + "lines": [ + 184, + 184 + ], + "text_sha256": "7d53395439083ce4ddda903564a3eaa036db804828d678c9813af85809427088" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert len(events) == len(wavelengths)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-af36820511cb90e86a205b11": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_eqe.py", + "symbol": "test_progress_callback_invoked", + "lines": [ + 185, + 185 + ], + "text_sha256": "dda9a8e3dbe57c635b9d00160d620fdce179d878f5bff6ec03a8647993c8ee94" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert all(ev[0] == \"eqe\" for ev in events)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-228d1ae62046407977aa9a69": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_eqe.py", + "symbol": "test_progress_callback_invoked", + "lines": [ + 186, + 186 + ], + "text_sha256": "743ede4debc311533944604127d147f268059b2857c478ade2b771bdda845f77" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert [ev[1] for ev in events] == [1, 2, 3]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-aef2a1894c01d8c987ebe9f1": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_eqe.py", + "symbol": "test_rejects_beer_lambert_only_stack", + "lines": [ + 42, + 42 + ], + "text_sha256": "eaa15663f892a17573210894e26da84d98ae335033aa5ca283a761c03ffd5ed8" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(ValueError, match=\"optical_material\"):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-d410f8a29076f664c0d9e2e0": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_eqe.py", + "symbol": "test_rejects_empty_wavelengths", + "lines": [ + 47, + 47 + ], + "text_sha256": "5ff8bfd3595e032c706ab5d1dbd83d7720dbf431a365e2f06d96cc64dd7dd31a" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(ValueError, match=\"non-empty\"):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-0657d4287ecb44b016727641": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_eqe.py", + "symbol": "test_rejects_nonpositive_phi", + "lines": [ + 52, + 52 + ], + "text_sha256": "bc7b88d515e119ca66ad343e8a8d5ef3a17464e33eb16ac089c0b151b7d48cc7" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(ValueError, match=\"Phi_incident\"):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-3852f042662ac9dfb7386b1f": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_eqe.py", + "symbol": "test_rejects_nonpositive_wavelength", + "lines": [ + 61, + 61 + ], + "text_sha256": "1c98792e217f34502cbf39a701dbfe9884f55b83b3c90cc80057458bf54b4de8" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(ValueError, match=\"positive\"):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-9417b53d9474a41df5c4686f": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_external_circuit.py", + "symbol": "test_real_transient_jv_closes_zero_and_nonzero_external_circuit", + "lines": [ + 22, + 22 + ], + "text_sha256": "e74b50da4d786521c38939e164f359038bef78d472e936fc80cbd500f93dae49" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert intrinsic.certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-5cc0b2edc66b9395dac4f14b": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_external_circuit.py", + "symbol": "test_real_transient_jv_closes_zero_and_nonzero_external_circuit", + "lines": [ + 25, + 25 + ], + "text_sha256": "308fe3c9dadcdf800f8374bb428209318a53d069b039208008391c505b9d59bd" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert zero.certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-896a6a733283b9d2078da1ee": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_external_circuit.py", + "symbol": "test_real_transient_jv_closes_zero_and_nonzero_external_circuit", + "lines": [ + 26, + 26 + ], + "text_sha256": "05e873e28e4871b5f764aceb763f7138eb2fe9891eb8b129e2ac767bab9fc012" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.array_equal(zero.forward.terminal_voltage_V, intrinsic.V_fwd)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-063b06fabd2076a23df69a28": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_external_circuit.py", + "symbol": "test_real_transient_jv_closes_zero_and_nonzero_external_circuit", + "lines": [ + 27, + 27 + ], + "text_sha256": "3fb490e94f9ba4a79894d2f16fea449ac2c68330f01c2d92f75743be73c47454" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.array_equal(zero.forward.terminal_current_A_m2, intrinsic.J_fwd)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-3d7aaac57a1b91989e469502": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_external_circuit.py", + "symbol": "test_real_transient_jv_closes_zero_and_nonzero_external_circuit", + "lines": [ + 28, + 28 + ], + "text_sha256": "8ff4eaf3bace9fd53e889d85f80f378ebbc6d4290232ee92107fa15b93d2048d" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert zero.metrics_fwd == intrinsic.metrics_fwd", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-761607765e69b874182c986b": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_external_circuit.py", + "symbol": "test_real_transient_jv_closes_zero_and_nonzero_external_circuit", + "lines": [ + 37, + 37 + ], + "text_sha256": "21014aba02aa2972fc712c5fa55796585d4f4eff69bd699ce3693214817e70ba" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert parasitic.certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-8f6bda5eb7115d8109b10f5a": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_external_circuit.py", + "symbol": "test_real_transient_jv_closes_zero_and_nonzero_external_circuit", + "lines": [ + 38, + 38 + ], + "text_sha256": "d609f3aad92021f5954868f4c5d2ac9ba869eddbf9b1189a5dfea701d2b3fd75" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert parasitic.forward.max_current_balance_error_A_m2 == 0.0", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-f2624c99612f03fb7e22a235": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_external_circuit.py", + "symbol": "test_real_transient_jv_closes_zero_and_nonzero_external_circuit", + "lines": [ + 39, + 39 + ], + "text_sha256": "09dba25bef4bab06431b44276b0b53b1488dabb25bf22b123dd1dee393fc9c65" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert parasitic.forward.max_voltage_balance_error_V == 0.0", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-feb6b1b9aab5cdb3130ed487": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_external_circuit.py", + "symbol": "test_real_transient_jv_closes_zero_and_nonzero_external_circuit", + "lines": [ + 40, + 40 + ], + "text_sha256": "2c6fb670809edcaeea18661a1d85425dea94ef0864c0d4a90372f66f73aaae96" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert parasitic.metrics_fwd.FF < intrinsic.metrics_fwd.FF", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-867874530d4e0f19e734d366": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_external_circuit.py", + "symbol": "test_real_transient_jv_closes_zero_and_nonzero_external_circuit", + "lines": [ + 41, + 41 + ], + "text_sha256": "c90ccfde0c3d2b94d814251aa954bf186232c840231794eaeab1a552fabd3fcf" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert parasitic.metrics_fwd.PCE < intrinsic.metrics_fwd.PCE", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-d36327b0abaa7cfd58efd812": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_external_circuit.py", + "symbol": "test_real_transient_jv_closes_zero_and_nonzero_external_circuit", + "lines": [ + 42, + 42 + ], + "text_sha256": "8f2a582f60394cfdd887fdbb234d55987e8c48db24ce749a136cdde4c61bdaca" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert parasitic.source_experiment_protocol_sha256 == intrinsic.protocol.sha256", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-75127cac6da884c360525429": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_external_circuit.py", + "symbol": "test_apply_requires_certified_source_by_default", + "lines": [ + 151, + 151 + ], + "text_sha256": "6443aa918cecae8d2d922492738c55ca3805356d801d04eb07f657ea743dc4ad" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(ExternalCircuitSourceError, match=\"certified\"):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-2d3579cfe1a2963bb4c253ca": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_external_circuit.py", + "symbol": "test_apply_retains_source_hash_and_reports_certified_mapping", + "lines": [ + 165, + 165 + ], + "text_sha256": "de1d9ce19d2146d418cfd9f453e1749027c41132f6b319d39597e33ebec282c5" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert mapped.source_certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-a16c48b5828d4e1bbe117ad2": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_external_circuit.py", + "symbol": "test_apply_retains_source_hash_and_reports_certified_mapping", + "lines": [ + 166, + 166 + ], + "text_sha256": "61cf9b90da5480b556fa914de11f357f2f0cabf143ba2ba6740f79cf7b236633" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert mapped.mapping_certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-3fd6a4fc3cfa6c50bbea9aa5": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_external_circuit.py", + "symbol": "test_apply_retains_source_hash_and_reports_certified_mapping", + "lines": [ + 167, + 167 + ], + "text_sha256": "5da65f3988cae3041f6325a9e8b6e125fb559eba09d05d507cc8f28fac91618d" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert mapped.certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-ab8fe20d836fac1d6d511134": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_external_circuit.py", + "symbol": "test_apply_retains_source_hash_and_reports_certified_mapping", + "lines": [ + 168, + 168 + ], + "text_sha256": "56908017f75f634920ef0135e4ec057700414ce8e49c54cc32a6c16754fff49d" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert mapped.circuit_protocol_sha256 == circuit.sha256", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-fa31109d4341a1d0c183948d": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_external_circuit.py", + "symbol": "test_apply_retains_source_hash_and_reports_certified_mapping", + "lines": [ + 169, + 169 + ], + "text_sha256": "a02558ec8ab230336aa70adcda72949f8422e968a4b5b9e83f7d1ef8407e522a" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert mapped.source_result_sha256 == repeated.source_result_sha256", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-1bab95ed94289682c3769985": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_external_circuit.py", + "symbol": "test_apply_retains_source_hash_and_reports_certified_mapping", + "lines": [ + 170, + 170 + ], + "text_sha256": "9378166b2d9b5956049267d2ecac5e01888f3c40c59fa58fb479aead77c7fc5d" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert len(mapped.source_result_sha256) == 64", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-94fd63cb136a9449645e4bb7": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_external_circuit.py", + "symbol": "test_apply_retains_source_hash_and_reports_certified_mapping", + "lines": [ + 171, + 171 + ], + "text_sha256": "2418f451d29f8b15854099df866bdace3071fb737be9d268255f19e8f7ecf1c3" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert mapped.forward.orientation == \"ascending\"", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-12abf3ef014f256fe1ebd2da": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_external_circuit.py", + "symbol": "test_apply_retains_source_hash_and_reports_certified_mapping", + "lines": [ + 172, + 172 + ], + "text_sha256": "255056b9231c038ce2cc3060177a2a2bb950e3850e827f0aba993e56ff764532" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert mapped.reverse.orientation == \"descending\"", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-1125d3cd9a15835463fc358a": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_external_circuit.py", + "symbol": "test_default_zero_coupling_preserves_source_metrics_exactly", + "lines": [ + 197, + 197 + ], + "text_sha256": "b8dd61d7c149a3152e3455a77e9cf4d49c50af58ed69cd53c427b6ae1b19bf3b" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert mapped.metrics_fwd is result.metrics_fwd", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-edfef631d4358e5f48fa96c7": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_external_circuit.py", + "symbol": "test_default_zero_coupling_preserves_source_metrics_exactly", + "lines": [ + 198, + 198 + ], + "text_sha256": "b27e7f69a3eadad45273ded4333c0d4a23a12fe30de02c35d514aa04d1426212" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert mapped.metrics_rev is result.metrics_rev", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-961689a3989ba0091fd090f0": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_external_circuit.py", + "symbol": "test_default_zero_coupling_preserves_source_metrics_exactly", + "lines": [ + 199, + 199 + ], + "text_sha256": "e3f3fe4465c8f4567d0dd472481208f21b222606de0454aef6ac0829090288fd" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert mapped.hysteresis_index == result.hysteresis_index", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-52d745df0e5f1778e4409827": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_external_circuit.py", + "symbol": "test_input_shape_and_incident_power_fail_closed", + "lines": [ + 277, + 277 + ], + "text_sha256": "caa56564bc68b3fca926879fa780b4e68aa2068b5bd36ddf5da5d6c6faacac4c" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(ExternalCircuitSourceError, match=\"same shape\"):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-b967a15b38a21998225b54e2": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_external_circuit.py", + "symbol": "test_input_shape_and_incident_power_fail_closed", + "lines": [ + 279, + 279 + ], + "text_sha256": "1c98792e217f34502cbf39a701dbfe9884f55b83b3c90cc80057458bf54b4de8" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(ValueError, match=\"positive\"):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-c950bd5be5661a33ecd2d47c": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_external_circuit.py", + "symbol": "test_mapping_hash_binds_incident_power_without_changing_terminal_curve", + "lines": [ + 215, + 218 + ], + "text_sha256": "5d9f3b2cf4b01c49618752ea373dee333e82fa86198d220e8df2565059ea615c" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.array_equal(\n first.forward.terminal_voltage_V,\n second.forward.terminal_voltage_V,\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-cef76a45e5003e0e7ad1d1c4": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_external_circuit.py", + "symbol": "test_mapping_hash_binds_incident_power_without_changing_terminal_curve", + "lines": [ + 219, + 222 + ], + "text_sha256": "e11586111121ebf7f3a2fd206435c9013ac7e589771575c377f22cbdf9c2c44c" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.array_equal(\n first.forward.terminal_current_A_m2,\n second.forward.terminal_current_A_m2,\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-00f3354e9397b9d363ef25e0": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_external_circuit.py", + "symbol": "test_mapping_hash_binds_incident_power_without_changing_terminal_curve", + "lines": [ + 223, + 223 + ], + "text_sha256": "cdbd77dc7c1efb761075c705451d9b8d8332ae18d705f7e6556a31d31c57e3b8" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert first.metrics_fwd.PCE * 2.0 == pytest.approx(second.metrics_fwd.PCE)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-c670f7eb72d7ff7a740fb46c": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_external_circuit.py", + "symbol": "test_mapping_hash_binds_incident_power_without_changing_terminal_curve", + "lines": [ + 224, + 224 + ], + "text_sha256": "e05d09ddd028ea740525cafa3c177df9ed51cf41578e3ca0b8a2a2e828ba4cc3" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert first.mapping_sha256 != second.mapping_sha256", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-d35cdde13c03fe5bfc4b8c2b": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_external_circuit.py", + "symbol": "test_shunt_reduces_voc_and_series_resistance_reduces_fill_factor", + "lines": [ + 239, + 239 + ], + "text_sha256": "38d1384fcf0f076d2b6aaa89812a3f87f5d14df171da9e65d5f67ba457d5fa18" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert shunted.metrics_fwd.V_oc < ideal.metrics_fwd.V_oc", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-5995f4dd6d8d28dcbe8cd2cb": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_external_circuit.py", + "symbol": "test_shunt_reduces_voc_and_series_resistance_reduces_fill_factor", + "lines": [ + 240, + 240 + ], + "text_sha256": "5df863628a6bb4dd8e6f2ff2e2fd106520d72c8b7036d2f4b8cbb2c694ed1188" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert series.metrics_fwd.FF < ideal.metrics_fwd.FF", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-edef41ce8352902389c73e6e": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_external_circuit.py", + "symbol": "test_shunt_reduces_voc_and_series_resistance_reduces_fill_factor", + "lines": [ + 241, + 241 + ], + "text_sha256": "cca3643a2cd5824aca2e327c3f70382d0bae9122274fbce9af777f01a8e1b863" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert series.metrics_fwd.PCE < ideal.metrics_fwd.PCE", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-dde5badb0bc882a0fac48edc": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_external_circuit.py", + "symbol": "test_source_experiment_protocol_property_is_bound_into_result", + "lines": [ + 186, + 186 + ], + "text_sha256": "9bf302b0f728f1eb7b45707251c2beb6bd438d1ddd996f8cda08976f2c872c8a" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert mapped.source_experiment_protocol_sha256 == source_protocol.sha256", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-20141391c6cf5412c018eb93": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_external_circuit.py", + "symbol": "test_source_experiment_protocol_property_is_bound_into_result", + "lines": [ + 187, + 190 + ], + "text_sha256": "66c82c4a9e5f90b2cfcdfc0e6a12692a525fac5d8895a4941593fa7863a01ddd" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert mapped.source_result_sha256 != apply_external_circuit(\n dataclasses.replace(result, protocol=None),\n ExternalCircuitProtocol(),\n ).source_result_sha256", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-1e608f5b37c3ef00ac01ec9e": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_external_circuit.py", + "symbol": "test_nonmonotonic_source_and_folded_terminal_curve_fail_closed", + "lines": [ + 141, + 141 + ], + "text_sha256": "abac15350213dfeddec26e954ccc2b15c7c741852b3092ce75ef25014307f337" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(ExternalCircuitTopologyError, match=\"strictly monotonic\"):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-ad17082dbda3b6f9e6db702f": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_external_circuit.py", + "symbol": "test_nonmonotonic_source_and_folded_terminal_curve_fail_closed", + "lines": [ + 145, + 145 + ], + "text_sha256": "abac15350213dfeddec26e954ccc2b15c7c741852b3092ce75ef25014307f337" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(ExternalCircuitTopologyError, match=\"strictly monotonic\"):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-2d8d2688e8de16bd0e670e28": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_external_circuit.py", + "symbol": "test_reverse_branch_preserves_descending_orientation", + "lines": [ + 135, + 135 + ], + "text_sha256": "73360cd25a71c18cdb6ea6cab892bf338ff8651a91857c6ee6cb99ab72a3523e" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert branch.orientation == \"descending\"", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-944b8fb7b0ecc9b63c7bc5ab": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_external_circuit.py", + "symbol": "test_reverse_branch_preserves_descending_orientation", + "lines": [ + 136, + 136 + ], + "text_sha256": "d582e57498294e37e1fbf0c472b19b8c5a7af202358a64f2f5c9b10240342de4" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.all(np.diff(branch.terminal_voltage_V) < 0.0)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-4a83ff0011637f6d7b604a18": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_external_circuit.py", + "symbol": "test_series_and_junction_shunt_laws_are_exact", + "lines": [ + 117, + 117 + ], + "text_sha256": "8c0712e2a332a75891bcdd9fc5487b85360c58c1251cd98cdd3f009425165015" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.array_equal(branch.shunt_current_A_m2, expected_shunt)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-4fc4a16291ac77bfda49bcdd": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_external_circuit.py", + "symbol": "test_series_and_junction_shunt_laws_are_exact", + "lines": [ + 118, + 121 + ], + "text_sha256": "978203f7d4021cb5ba7989fdd4465ed8c986044428d1b640a513f85ab8c72ebc" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.array_equal(\n branch.terminal_current_A_m2,\n expected_terminal_current,\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-eb569092917fae8aa39b9aee": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_external_circuit.py", + "symbol": "test_series_and_junction_shunt_laws_are_exact", + "lines": [ + 122, + 122 + ], + "text_sha256": "c3eaccc65831d889f210bb909b96a07cf98e72e6653c67f4bb26b43d5f7c8e88" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.array_equal(branch.terminal_voltage_V, expected_terminal_voltage)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-60ba5aca06b09b53c7b225c4": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_external_circuit.py", + "symbol": "test_series_and_junction_shunt_laws_are_exact", + "lines": [ + 123, + 126 + ], + "text_sha256": "4798a26c0fd577cdfe55c449c337b6237f3c36b623422a37bb91a399fa261739" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.array_equal(\n branch.terminal_power_W_m2,\n expected_terminal_voltage * expected_terminal_current,\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-3023af4ff6e443411095bd50": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_external_circuit.py", + "symbol": "test_zero_coupling_is_value_bit_identical_and_read_only", + "lines": [ + 94, + 94 + ], + "text_sha256": "39c778f16aafc68961b7803fd9e1ad5afc76d1e3f899e14de340aba4485fc016" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.array_equal(branch.terminal_voltage_V, voltage)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-326cb7c251abc4b6f108b901": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_external_circuit.py", + "symbol": "test_zero_coupling_is_value_bit_identical_and_read_only", + "lines": [ + 95, + 95 + ], + "text_sha256": "56581af422efd5ce38054fc2a3779163d5c86e68241c738e756f5c66660cd6a1" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.array_equal(branch.terminal_current_A_m2, current)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-27021975e5cf246e37c32e3b": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_external_circuit.py", + "symbol": "test_zero_coupling_is_value_bit_identical_and_read_only", + "lines": [ + 96, + 96 + ], + "text_sha256": "02349b25dc4775b84f9ead5dcbb9cd31667790fe43e627c21d63736e5d84a751" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.array_equal(branch.shunt_current_A_m2, np.zeros_like(voltage))", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-0d310a98f00573e82ac98a85": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_external_circuit.py", + "symbol": "test_zero_coupling_is_value_bit_identical_and_read_only", + "lines": [ + 97, + 97 + ], + "text_sha256": "35ccd73d0e664ae0651db3ed177b8f572d2889a479cfb6767a07628f59804b38" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.array_equal(branch.series_voltage_drop_V, np.zeros_like(voltage))", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-2f5e405ccd95a5e082830efc": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_external_circuit.py", + "symbol": "test_zero_coupling_is_value_bit_identical_and_read_only", + "lines": [ + 98, + 98 + ], + "text_sha256": "5156111b4356bce8477ccaa39e00aeedd05f8cd0e2925d75d89862baaea888c2" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert branch.max_current_balance_error_A_m2 == 0.0", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-cf7e4b32ee2a4c53bcc4bc63": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_external_circuit.py", + "symbol": "test_zero_coupling_is_value_bit_identical_and_read_only", + "lines": [ + 99, + 99 + ], + "text_sha256": "53ecb9e1b6f0e49d88fad06d80efef927c5fd27e6c41065f030511c2fb3c004c" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert branch.max_voltage_balance_error_V == 0.0", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-868916db8e4689d9fd5741ed": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_external_circuit.py", + "symbol": "test_zero_coupling_is_value_bit_identical_and_read_only", + "lines": [ + 100, + 100 + ], + "text_sha256": "40f1626c4fbed93e6d04084252c8db9a7dbf6b723f8474d95ee0840a17229bd1" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(ValueError, match=\"read-only\"):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-6ff57b5d915c32709be46f1e": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_identifiability.py", + "symbol": "test_forward_failures_are_penalized_reported_and_invalidate", + "lines": [ + 236, + 236 + ], + "text_sha256": "4b7460a8b17fb9b504c278aa84e7255c7f218aeb7cc9d70902e242d236065ab9" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.forward_failure_count > 0", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-976e6e7380c7b921656f9f05": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_identifiability.py", + "symbol": "test_forward_failures_are_penalized_reported_and_invalidate", + "lines": [ + 237, + 237 + ], + "text_sha256": "4ecb3313cc323f636a1dfbfb4085c058fb11c73bb0abe58c656496cd0b6f98b3" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert not result.analysis_certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-75498450ed8d51095cd0e263": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_identifiability_refinement.py", + "symbol": "test_executor_rejects_option_schema_drift", + "lines": [ + 99, + 99 + ], + "text_sha256": "f423154f10adb86dbd7d862e3698d4d361c4c9b091db54f9fb53552b3a58b752" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(ValueError, match=\"options do not match\"):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-8ed8afe42556272c331c9933": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_identifiability_refinement.py", + "symbol": "test_registered_real_cell_matches_exact_contract_and_anchor", + "lines": [ + 49, + 49 + ], + "text_sha256": "ef02fc452ce04ff5830a4016b318364459edcbe72a8cbd815847d4536de1020b" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert set(observables) == {gate.metric for gate in lane.observables}", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-a7a5b33a4efe6e146d160f2e": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_identifiability_refinement.py", + "symbol": "test_registered_real_cell_matches_exact_contract_and_anchor", + "lines": [ + 50, + 50 + ], + "text_sha256": "edfdc872fc8ca86fd1a8cd138ae47898d23ee5650b8e5fb0a0049ee2e91c66aa" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert set(quality) == {gate.metric for gate in lane.quality_gates}", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-77fc1e8cb2edb53aad29882f": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_identifiability_refinement.py", + "symbol": "test_registered_real_cell_matches_exact_contract_and_anchor", + "lines": [ + 51, + 54 + ], + "text_sha256": "4ff497070934f9333b021bf325bfa5836b338ab63fbe38478dcf4fd325cfe7bc" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert all(\n observables[gate.metric].units == gate.units\n for gate in lane.observables\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-4fb908704d0007b00716d48a": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_identifiability_refinement.py", + "symbol": "test_registered_real_cell_matches_exact_contract_and_anchor", + "lines": [ + 55, + 58 + ], + "text_sha256": "b029437014c8d7ef09bec65314add8d440acd749d0dfce7308b10dbc2e4fc328" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert all(\n quality[gate.metric].units == gate.units\n for gate in lane.quality_gates\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-93670a142f902cb6b1eb275f": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_identifiability_refinement.py", + "symbol": "test_registered_real_cell_matches_exact_contract_and_anchor", + "lines": [ + 59, + 59 + ], + "text_sha256": "4b653a200ab41f93bf4c0536d52711c8fe316e42b2665862491dcae972eb5923" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert observables[\"full_rank_best_fit_log10\"].shape == (2,)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-7e958afac4dd0d164783f78b": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_identifiability_refinement.py", + "symbol": "test_registered_real_cell_matches_exact_contract_and_anchor", + "lines": [ + 60, + 60 + ], + "text_sha256": "d92751def4742aba71b85a509388a4ba1af365868b0ffba74abedbe4c5916dc8" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert observables[\"rank_deficient_absolute_nullspace_vector\"].shape == (3,)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-9a300e436123d6c1955bed5c": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_identifiability_refinement.py", + "symbol": "test_registered_real_cell_matches_exact_contract_and_anchor", + "lines": [ + 61, + 61 + ], + "text_sha256": "e21c342a02fd082689233dde84cc231c36dfcbecafd9c706d22daa57e0602472" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert quality[\"rank_deficient_parameter_claim_absent\"].values == (1.0,)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-acfc5c2a28d3c19625848749": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_identifiability_refinement.py", + "symbol": "test_registered_real_cell_matches_exact_contract_and_anchor", + "lines": [ + 62, + 62 + ], + "text_sha256": "39b87bfd94fabea7556dd1858667293316990afabd16ba278857b566021af627" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert quality[\"full_rank_parameters_identifiable\"].values == (1.0,)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-c723316270f9d0e7d866344e": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_identifiability_refinement.py", + "symbol": "test_registered_real_cell_matches_exact_contract_and_anchor", + "lines": [ + 63, + 63 + ], + "text_sha256": "a210adc8db5ef78170907860d71c6569ff4601a1b7cd05d44ff501bb9bd85110" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert quality[\"full_rank_truth_recovered\"].values == (1.0,)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-e331ee3b77420a562c3a90bf": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_identifiability_refinement.py", + "symbol": "test_registered_real_cell_matches_exact_contract_and_anchor", + "lines": [ + 66, + 68 + ], + "text_sha256": "99e4f7b13643b48f31428a2738e774fab2c563a96f99da721fe87a08f6a2858c" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert metadata[\"protocol_schema\"] == (\n \"interface-srh-identifiability-refinement-protocol-v1\"\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-28d91ebcd7a952330e344276": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_identifiability_refinement.py", + "symbol": "test_registered_real_cell_matches_exact_contract_and_anchor", + "lines": [ + 69, + 69 + ], + "text_sha256": "a144662dcf6eff22542a5eaeb88bfd1d13caff7877942f7aac1d715e2d3ba2eb" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert content_sha256(metadata[\"protocol\"]) == metadata[\"protocol_hash\"]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-5e8a632ce09b0ad49aa72005": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_identifiability_refinement.py", + "symbol": "test_registered_real_cell_matches_exact_contract_and_anchor", + "lines": [ + 70, + 80 + ], + "text_sha256": "512631807673b84f9045ba3b67ac5879a6baf02a5d39598b6ab35c84da27227f" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert metadata[\"protocol\"][\"anchor\"] == {\n \"calibration_factor\": 0.1,\n \"calibration_field\": \"iface_state_calibration_factor\",\n \"config_path\": \"configs/scaps_mirror_v2.yaml\",\n \"role\": \"formula_input_anchor_not_material_truth\",\n \"sigma_n_cm2\": 1.0e-19,\n \"sigma_p_cm2\": 1.0e-19,\n \"target\": \"PVK/ETL\",\n \"thermal_velocity_cm_s\": 1.0e7,\n \"trap_density_cm2\": 1.0e12,\n }", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-6f2190ee7711a017d7e4b305": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_identifiability.py", + "symbol": "test_charge_observable_identifies_nt_but_not_capture_vs_calibration", + "lines": [ + 99, + 99 + ], + "text_sha256": "6097e64b80c482c53b2dc644acd83f5b2b147053435c14619848e0befa5051a2" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.analysis_certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-ee2d3e1ca9603266f70f22c8": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_identifiability.py", + "symbol": "test_charge_observable_identifies_nt_but_not_capture_vs_calibration", + "lines": [ + 100, + 100 + ], + "text_sha256": "e4362b3589725c96b7d84ccd02190746dcb5aea6da54fcc23b5202592ad11bff" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.numerical_rank == protocol.expected_rank == 2", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-c17d31db5f64ecef23ebbe71": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_identifiability.py", + "symbol": "test_charge_observable_identifies_nt_but_not_capture_vs_calibration", + "lines": [ + 101, + 101 + ], + "text_sha256": "0fae718cbd1a7054e3d7318babd9fd0a3e93511c0aac2c726b96b954f4f248de" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert not result.parameters_identifiable", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-d7f5c116ebc8932dc5b56c96": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_identifiability.py", + "symbol": "test_charge_observable_identifies_nt_but_not_capture_vs_calibration", + "lines": [ + 102, + 102 + ], + "text_sha256": "209a2b7d91b55c048f65d4c8f31ace12909e2845040c6e5637b5f7e0cc09c525" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert len(result.nullspace_vectors) == 1", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-99a11c971d47427459e49d60": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_identifiability.py", + "symbol": "test_charge_observable_identifies_nt_but_not_capture_vs_calibration", + "lines": [ + 104, + 104 + ], + "text_sha256": "9d4aa298eef722b296750ba30a895dea8c916d0d380ee02562f0711f97b94938" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert abs(trap) < 1.0e-10", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-f6cf86f34a8f8835a2f47fad": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_identifiability.py", + "symbol": "test_charge_observable_identifies_nt_but_not_capture_vs_calibration", + "lines": [ + 105, + 105 + ], + "text_sha256": "f1fea73ce56dc6ae5e20f5612ecb57c493cb323f43674814f09310b12364e8ec" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert capture == pytest.approx(-calibration, rel=1.0e-10, abs=1.0e-10)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-826c9ef923bc03324daa1727": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_identifiability.py", + "symbol": "test_charge_observable_identifies_nt_but_not_capture_vs_calibration", + "lines": [ + 106, + 106 + ], + "text_sha256": "4649896fe3d3d6add02dad5ce73c23fea64627be4562a0a53b58ac229bb27e95" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert abs(capture) == pytest.approx(2.0**-0.5, rel=1.0e-10)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-6cb6e20d763eea23706f9cb2": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_identifiability.py", + "symbol": "test_known_capture_scale_gives_full_rank_multistart_truth_recovery", + "lines": [ + 116, + 116 + ], + "text_sha256": "6097e64b80c482c53b2dc644acd83f5b2b147053435c14619848e0befa5051a2" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.analysis_certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-12358f0d549ab660ff4b803d": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_identifiability.py", + "symbol": "test_known_capture_scale_gives_full_rank_multistart_truth_recovery", + "lines": [ + 117, + 117 + ], + "text_sha256": "af034f91f57e39ee354918ec04f032a3b50cdd2fc7d0f8b9380f38d92d71e824" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.parameters_identifiable", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-7fa47a5a39cd3db4721eaf6c": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_identifiability.py", + "symbol": "test_known_capture_scale_gives_full_rank_multistart_truth_recovery", + "lines": [ + 118, + 118 + ], + "text_sha256": "d73d54430966382d8fbbcaed90ca4a989cc551386bfbff8a6d758a776fd74b72" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.truth_recovered", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-a57c223807526e7d7c6b3501": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_identifiability.py", + "symbol": "test_known_capture_scale_gives_full_rank_multistart_truth_recovery", + "lines": [ + 119, + 119 + ], + "text_sha256": "e4362b3589725c96b7d84ccd02190746dcb5aea6da54fcc23b5202592ad11bff" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.numerical_rank == protocol.expected_rank == 2", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-57ac40fb0f6de5f992be4786": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_identifiability.py", + "symbol": "test_known_capture_scale_gives_full_rank_multistart_truth_recovery", + "lines": [ + 120, + 120 + ], + "text_sha256": "23de28fde69f084878b769f7c6dd1531570d4227c99e56ceb368b353bcc07341" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.condition_number == pytest.approx(2.61803398875, rel=2.0e-6)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-51f2cf4905b70005b18e9dc6": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_identifiability.py", + "symbol": "test_known_capture_scale_gives_full_rank_multistart_truth_recovery", + "lines": [ + 121, + 121 + ], + "text_sha256": "0e4cd4a9d2d14ef2194a04d3825af5081abd634f652e4bace537f1958f87f225" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.nullspace_vectors == ()", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-8426d4dd729c39fd89d8beee": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_identifiability.py", + "symbol": "test_known_capture_scale_gives_full_rank_multistart_truth_recovery", + "lines": [ + 125, + 125 + ], + "text_sha256": "292d810133379e42bc6be788d9476ce2774d2b771318234a9e47094bbee566c5" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.best_fit_log10 == pytest.approx(expected_log, abs=1.0e-10)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-380a175280ce3f3528310b62": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_identifiability.py", + "symbol": "test_known_capture_scale_gives_full_rank_multistart_truth_recovery", + "lines": [ + 126, + 126 + ], + "text_sha256": "303282a40755be63cdb91715efe019b98b2acb2efba9de144a18464e5621d058" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert all(attempt.success for attempt in result.fit_attempts)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-f2992b7d0443959885f0b4b5": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_identifiability.py", + "symbol": "test_noisy_full_rank_recovery_fails_the_strict_truth_gate", + "lines": [ + 214, + 214 + ], + "text_sha256": "b7d04589fbea902b3544a4fe00b1d6881008e230ed199da95eea3d7e512ea56e" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.numerical_rank == protocol.expected_rank", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-f21574dabeb5d8fce2561489": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_identifiability.py", + "symbol": "test_noisy_full_rank_recovery_fails_the_strict_truth_gate", + "lines": [ + 215, + 215 + ], + "text_sha256": "af034f91f57e39ee354918ec04f032a3b50cdd2fc7d0f8b9380f38d92d71e824" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.parameters_identifiable", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-a288e4addd8a1c5078861d41": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_identifiability.py", + "symbol": "test_noisy_full_rank_recovery_fails_the_strict_truth_gate", + "lines": [ + 216, + 216 + ], + "text_sha256": "0afcbb1ec02a7b5380ae5e7714aa75c57677f8e9abcfc025e61abedef525dd33" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert not result.truth_recovered", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-161ed68205429366c563f686": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_identifiability.py", + "symbol": "test_noisy_full_rank_recovery_fails_the_strict_truth_gate", + "lines": [ + 217, + 217 + ], + "text_sha256": "4ecb3313cc323f636a1dfbfb4085c058fb11c73bb0abe58c656496cd0b6f98b3" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert not result.analysis_certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-11128965f3cba38f4afa70cf": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_identifiability.py", + "symbol": "test_profiles_are_complete_and_dimension_matched", + "lines": [ + 176, + 176 + ], + "text_sha256": "7e83215c65b282d21d8f651e1a9f97f866579aa5a7e45e17c9b1b5364ba036b3" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.profiles_completed", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-8d6739738fefb158889bd243": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_identifiability.py", + "symbol": "test_profiles_are_complete_and_dimension_matched", + "lines": [ + 177, + 179 + ], + "text_sha256": "8cbcbabd3f0e4187aaef58e8b3f958f9ece4d1a3caae2cdce1fd1700f74edc83" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert tuple(profile.parameter_name for profile in result.profiles) == tuple(\n parameter.name for parameter in protocol.estimated_parameters\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-8e2243d68d154eeb49c19a4c": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_identifiability.py", + "symbol": "test_profiles_are_complete_and_dimension_matched", + "lines": [ + 180, + 185 + ], + "text_sha256": "b98c8769c8766f88c96446699321aca7a55c7ff8fd9ed172de0eac49e7b67474" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert all(\n len(profile.parameter_values_log10) == protocol.profile_grid_count\n and len(profile.chi_square) == protocol.profile_grid_count\n and all(profile.successful)\n for profile in result.profiles\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-d0e82b4ef5fef247eba4a9ff": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_identifiability.py", + "symbol": "test_recombination_only_exposes_two_dimensional_nullspace", + "lines": [ + 85, + 85 + ], + "text_sha256": "6097e64b80c482c53b2dc644acd83f5b2b147053435c14619848e0befa5051a2" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.analysis_certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-b32f380d0260165a2b6893b6": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_identifiability.py", + "symbol": "test_recombination_only_exposes_two_dimensional_nullspace", + "lines": [ + 86, + 86 + ], + "text_sha256": "a60bec949cd5820da125d71fec52b7dd259f1edcaa1b1e33ce522f78aeb80029" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.rank_expectation_met", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-bba58f980c7f27282e488e61": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_identifiability.py", + "symbol": "test_recombination_only_exposes_two_dimensional_nullspace", + "lines": [ + 87, + 87 + ], + "text_sha256": "6dd01da402c02ad83857db4e2cd1e4fe87c01d5f2ca7cd76a5cd305722b24827" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.numerical_rank == protocol.expected_rank == 1", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-2be0bfc1070f0be2ab42e601": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_identifiability.py", + "symbol": "test_recombination_only_exposes_two_dimensional_nullspace", + "lines": [ + 88, + 88 + ], + "text_sha256": "0fae718cbd1a7054e3d7318babd9fd0a3e93511c0aac2c726b96b954f4f248de" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert not result.parameters_identifiable", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-6d4a655b4c39dc977d8f8c47": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_identifiability.py", + "symbol": "test_recombination_only_exposes_two_dimensional_nullspace", + "lines": [ + 89, + 89 + ], + "text_sha256": "0afcbb1ec02a7b5380ae5e7714aa75c57677f8e9abcfc025e61abedef525dd33" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert not result.truth_recovered", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-792af569a5ca97d49c558b2b": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_identifiability.py", + "symbol": "test_recombination_only_exposes_two_dimensional_nullspace", + "lines": [ + 90, + 90 + ], + "text_sha256": "41587149ebc467e0b960b9beae5c185f8aa94562070f4a48f617ab043d719706" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.condition_number is None", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-5634c48244093af249331ef5": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_identifiability.py", + "symbol": "test_recombination_only_exposes_two_dimensional_nullspace", + "lines": [ + 91, + 91 + ], + "text_sha256": "8ea620e57f535ec5abeab5fffde4f77a8e23a8b491583e4a0c116d54f75369c3" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert len(result.nullspace_vectors) == 2", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-60361af9c01249d87ae12248": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_identifiability.py", + "symbol": "test_recombination_only_exposes_two_dimensional_nullspace", + "lines": [ + 92, + 92 + ], + "text_sha256": "e1e695a8163d6c36934f11264797af90df7b6cd5b97b1f0488ecdf4a9a68fbea" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.forward_failure_count == 0", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-818e0f7c555918b8b7625be9": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_identifiability.py", + "symbol": "test_recombination_only_exposes_two_dimensional_nullspace", + "lines": [ + 93, + 93 + ], + "text_sha256": "a1903187cfd815da8341165de218ea5ea8e4e6486c6b4b14b150f1da391d64fa" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.best_chi_square == pytest.approx(0.0, abs=1.0e-20)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-39c14f465cdd5ed92aa60d1e": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_impedance.py", + "symbol": "test_dummy_rc_phase", + "lines": [ + 29, + 29 + ], + "text_sha256": "4aa8752d86dfd842c484e678ef3bb455405a000282bb49b4632ef6b7106f46ca" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.all(Z.imag < 0), f\"Expected negative Im(Z), got {Z.imag}\"", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-177d277eabfe5d91b6cf863d": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_impedance.py", + "symbol": "test_dummy_rc_phase", + "lines": [ + 32, + 34 + ], + "text_sha256": "f2e9b1c8633bfdc64102fb99f676b8b7b9d08e5e4c1268802f0baf4c3a6e1f67" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert angles[0] > angles[1] > angles[2], (\n f\"Phase angle should decrease with frequency: {angles}\"\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-f36a10fe198dc070c64ab85e": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_impedance.py", + "symbol": "test_extract_impedance_high_freq_real", + "lines": [ + 20, + 20 + ], + "text_sha256": "9ee6d5d4f8f11628bcd972e6ccb0ef461b421898bbd6042759aeda5116b26dc5" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert abs(Z[0].real) > 0", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-e4ffe23953eb376dc6580399": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_impedance.py", + "symbol": "test_extract_impedance_shape", + "lines": [ + 11, + 11 + ], + "text_sha256": "34b2ffe256241d192983333355cf7e4b356101fec0174f7da75a61f2da7d9e58" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert Z.shape == (len(freqs),)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-fd193927ede8cba73ce956b9": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_impedance.py", + "symbol": "test_extract_impedance_shape", + "lines": [ + 12, + 12 + ], + "text_sha256": "a4fb1e5986f2924c46e75af6cde095030ade15feedcde8f6a692c63feec383d7" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.iscomplexobj(Z)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-80376371b5b98f52a0f850d7": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_impedance_sign.py", + "symbol": "test_dummy_rc_has_negative_imaginary_impedance", + "lines": [ + 23, + 23 + ], + "text_sha256": "aaf29f500767be1e39f0f556cd6f13de5f4a0e1e83a002a98f81a350cee3b6ce" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.all(np.isfinite(Z.real))", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-62ed588b9674de0d1641c1c3": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_impedance_sign.py", + "symbol": "test_dummy_rc_has_negative_imaginary_impedance", + "lines": [ + 24, + 24 + ], + "text_sha256": "a3dc3aff556426b51d145cddcb0571861542a92a59452cfa03788902270a3511" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.all(np.isfinite(Z.imag))", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-16163834997f672a8a9ab96b": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_impedance_sign.py", + "symbol": "test_dummy_rc_has_negative_imaginary_impedance", + "lines": [ + 25, + 25 + ], + "text_sha256": "b27b83f10fa8453425e3a17a1d6d91b198cb88f7add5eebf9935c345bc0066c7" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.all(Z.imag < 0.0), f\"dummy RC should have Im(Z) < 0, got {Z.imag}\"", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-18d3ea827d2b139f27120fd9": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_impedance_sign.py", + "symbol": "test_dummy_rc_has_negative_imaginary_impedance", + "lines": [ + 26, + 26 + ], + "text_sha256": "3ab50ee20f5fdc8cb879e6f74d95657fa62403908f666fee6f5262666316d5ac" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.all(Z.real > 0.0), f\"dummy RC should have Re(Z) > 0, got {Z.real}\"", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-f8abc1a377c944b14317755f": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py", + "symbol": "test_fake_sweep_reuses_charged_points_and_retains_evidence", + "lines": [ + 271, + 271 + ], + "text_sha256": "3f1648d5b2ca8fd03060ac0909a18b96ac0a754c030e35bd9333102e3ab07956" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert execution.dark_reference is reference", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-34f67c772314d6c1c0e91939": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py", + "symbol": "test_fake_sweep_reuses_charged_points_and_retains_evidence", + "lines": [ + 272, + 272 + ], + "text_sha256": "9dd8ae928591d56ff5e364d15364c66bf052b812eb5537bbc2ae9cc2aa67e739" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert execution.sweep.certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-1d7d66d8e78af7c43ffccb45": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py", + "symbol": "test_fake_sweep_reuses_charged_points_and_retains_evidence", + "lines": [ + 273, + 273 + ], + "text_sha256": "082256e5c565628f64118eb6825067fc2c719844538bcc0dfd973b51fea78e35" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert execution.sweep.metrics.voc_bracketed", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-7f1ca22471877da3498c3ae1": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py", + "symbol": "test_fake_sweep_reuses_charged_points_and_retains_evidence", + "lines": [ + 274, + 274 + ], + "text_sha256": "bf1775d363ef1d4003fd72d7793679b2dabc8c67e5865f18179fe34a322a2813" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert execution.sweep.voltages_V.tolist() == [0.0, 0.6]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-4b8af33b98a8c1c50c3a17e0": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py", + "symbol": "test_fake_sweep_reuses_charged_points_and_retains_evidence", + "lines": [ + 275, + 275 + ], + "text_sha256": "609f8f547f7f728147a1914cf66f167fb5c2d26d1e53f9a76fff1fb4b451d057" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert seeds[0] is None", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-088e381c0a89d22abc358b43": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py", + "symbol": "test_fake_sweep_reuses_charged_points_and_retains_evidence", + "lines": [ + 276, + 276 + ], + "text_sha256": "5da2d62ededfe10a956bb952d99b3d80a6eac52f637d00c868fad5ec76b31664" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert seeds[1] is execution.sweep.points[0]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-0711f6cb71f34f0408ab5ba0": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py", + "symbol": "test_fake_sweep_reuses_charged_points_and_retains_evidence", + "lines": [ + 277, + 277 + ], + "text_sha256": "8f40a799b4554f1e24e242cbe4836bc8a001b4dc1a955f98327ee754240b4690" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert contact_requirements == [True, True, True, True]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-f2d90d722beb39aba0484dbc": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py", + "symbol": "test_fake_sweep_reuses_charged_points_and_retains_evidence", + "lines": [ + 278, + 278 + ], + "text_sha256": "b5a3efaaf8323367bcdb299a9e33c4f1f4ee00eab20e5b069280ef4dc0ebd1fe" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert len(progress) == 2", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-b0ca0b2e3844e284475dad56": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py", + "symbol": "test_fake_sweep_reuses_charged_points_and_retains_evidence", + "lines": [ + 280, + 280 + ], + "text_sha256": "7be89ed4d889575597bb50e00a2738097f1c851f8b9690632e1b7cd34ed580d8" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert evidence.protocol_sha256 == execution.protocol.protocol_sha256", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-c127576cb30e7d0e560510c3": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py", + "symbol": "test_fake_sweep_reuses_charged_points_and_retains_evidence", + "lines": [ + 281, + 281 + ], + "text_sha256": "172bd7adb02bd21f237da60df5b8ddcb766f01e3b6214d14348eeaeda420e07f" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert evidence.dark_charge_off_bit_identity_verified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-3c8e2e14ae3b74be63d92128": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py", + "symbol": "test_fake_sweep_reuses_charged_points_and_retains_evidence", + "lines": [ + 282, + 282 + ], + "text_sha256": "1d7a4a2980c177de6885804fbb033f629480ebe0f22839bec8466265024e69f3" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert evidence.interface_defect_document_sha256 == (\"a\" * 64,)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-ec3bf9575bc0bbbabc39b37d": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py", + "symbol": "test_fake_sweep_reuses_charged_points_and_retains_evidence", + "lines": [ + 283, + 283 + ], + "text_sha256": "70f45a5eb65c49799d55dcca826e94321f7963c0508240ba9c54febcc791e8c7" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert evidence.maximum_normalized_gauss_residual == pytest.approx(1.0e-12)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-b713ccabb5044e1f26be5eb4": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py", + "symbol": "test_sweep_fails_closed_on_contact_span", + "lines": [ + 320, + 323 + ], + "text_sha256": "07be33c94efedb3f1db0c077e02483c730974433a37b8412e4e4f7bf158b6309" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(\n charged_jv.InterfaceChargeJVCertificationError,\n match=\"contact certification\",\n ):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-dc5129bb06ebdea6890ae3ac": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py", + "symbol": "test_sweep_fails_closed_on_gauss_gate", + "lines": [ + 294, + 297 + ], + "text_sha256": "655da476556bb0d4719b16c647eff9f9125ffa3bbad774b4f40afff3aa5feefe" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(\n charged_jv.InterfaceChargeJVCertificationError,\n match=\"Gauss residual\",\n ):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-3ea9c5481413f60e55dd0196": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py", + "symbol": "test_sweep_fails_closed_when_voc_is_not_bracketed", + "lines": [ + 307, + 310 + ], + "text_sha256": "45ac791cf2dff44ebf78de6a21bbe2839c64a3f526fb44aadceb83fb6fc7acfe" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(\n charged_jv.InterfaceChargeJVCertificationError,\n match=\"did not bracket open circuit\",\n ):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-374bb07f86a5e33b51502b5e": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py", + "symbol": "test_voltage_bridge_is_audited_but_not_retained", + "lines": [ + 367, + 367 + ], + "text_sha256": "fca885485f53a34af730697b3b681833663c47425a85a735317339dea9f2ae43" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert attempted[:4] == [0.0, 0.6, 0.3, 0.6]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-5dc10c7c837e7ef7090411c6": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py", + "symbol": "test_voltage_bridge_is_audited_but_not_retained", + "lines": [ + 368, + 368 + ], + "text_sha256": "bf1775d363ef1d4003fd72d7793679b2dabc8c67e5865f18179fe34a322a2813" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert execution.sweep.voltages_V.tolist() == [0.0, 0.6]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-0e77ae14e1cb63a271cdb4aa": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py", + "symbol": "test_voltage_bridge_is_audited_but_not_retained", + "lines": [ + 369, + 369 + ], + "text_sha256": "5b5113bcc8e173dc4503f03a3455b2c948888b865ddd28804b6f2a0bb0e54ab3" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert execution.sweep.continuation_bridge_count == 1", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-9f4c600ebe5a5f23f5147a64": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py", + "symbol": "test_voltage_bridge_is_audited_but_not_retained", + "lines": [ + 370, + 370 + ], + "text_sha256": "e4e593218e014a24a9d765eecac6a6e65bc6d09e923ed5699e9d59d7397452e1" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert execution.evidence.continuation_bridge_count == 1", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-656c9b01a2c6876411cd6669": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py", + "symbol": "test_voltage_bridge_is_audited_but_not_retained", + "lines": [ + 371, + 373 + ], + "text_sha256": "42e48d2355a97e17d2c68da57f50d3334d5e6a6ed600067406cdca780c3a83ea" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert [point.voltage_V for point in execution.evidence.continuation_bridges] == [\n 0.3\n ]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-09d5d8f3eb788193f47326f8": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_refinement_executors.py", + "symbol": "test_equilibrium_referenced_interface_charge_jv_executor_smoke", + "lines": [ + 1444, + 1444 + ], + "text_sha256": "17c738dc8ab73984b0bbc480a5e736d8f6db3758e68834045dd080f9dade9fa3" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert observables[\"jv_normalized\"].shape == (5,)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-364b34bc34cc0da12073b05b": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_refinement_executors.py", + "symbol": "test_equilibrium_referenced_interface_charge_jv_executor_smoke", + "lines": [ + 1445, + 1445 + ], + "text_sha256": "0fda6f93550a9184d448fd4bb6a91c8f1d6741f0e4f3224d9292874f7d211748" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert observables[\"interface_trace_potential_shift_V\"].shape == (10,)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-5e103e1e89b9643c4aa9ee2d": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_refinement_executors.py", + "symbol": "test_equilibrium_referenced_interface_charge_jv_executor_smoke", + "lines": [ + 1446, + 1446 + ], + "text_sha256": "2323403648990d9e80bf9fc9c6c1a3ffee053fbfc876f08de15adc6ddce02a2e" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert quality[\"reported_point_count\"].values == (5.0,)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-ca3d424af9f93a4cf35e7177": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_refinement_executors.py", + "symbol": "test_equilibrium_referenced_interface_charge_jv_executor_smoke", + "lines": [ + 1447, + 1447 + ], + "text_sha256": "746388f7c62b21950dbd4c4b08bc9b83ebea7f5360b18703cdd8f3acae8dc184" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert quality[\"protocol_identity_verified\"].values == (1.0,)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-ff9b320461e652edd3c22333": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_refinement_executors.py", + "symbol": "test_equilibrium_referenced_interface_charge_jv_executor_smoke", + "lines": [ + 1448, + 1448 + ], + "text_sha256": "0880e8e886c433df48fa30a0280185fa924b96c68287de57af55e14441ceac21" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert captured[\"tolerance_factor\"] == pytest.approx(0.5)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-5d7c23152adeb265dfb7d11d": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_refinement_executors.py", + "symbol": "test_equilibrium_referenced_interface_charge_jv_executor_smoke", + "lines": [ + 1449, + 1451 + ], + "text_sha256": "29668181335611a89daf20ec94df15426444a00716d4a7bc9012a516f336f232" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert captured[\"protocol\"].protocol_sha256 == json.loads(\n measurement.metadata_json\n )[\"protocol_hash\"]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-e11b100a7b8a7e0930c899a9": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_refinement_executors.py", + "symbol": "test_equilibrium_referenced_interface_charge_jv_executor_smoke", + "lines": [ + 1452, + 1455 + ], + "text_sha256": "717d99b779a65f3920d1af23d21cd35b4dffb4dcb262828a70403bf0896a5c8b" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert resolution_calls[0][1] == {\n \"N_grid\": 30,\n \"allow_underresolved_grid\": False,\n }", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-1b24fa587433dc965c0b1710": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_refinement_executors.py", + "symbol": "test_equilibrium_referenced_interface_charge_jv_executor_smoke", + "lines": [ + 1440, + 1440 + ], + "text_sha256": "c1e074fc2f81f0b4eb66f4c2819f9a09b76cf14517d183f84a20264b73d43e04" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " _assert_protocol(measurement)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-52fe46d477c80a1649ea30f8": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_refinement_executors.py", + "symbol": "test_equilibrium_referenced_interface_charge_jv_executor_smoke", + "lines": [ + 1441, + 1441 + ], + "text_sha256": "66d0c261a73760314dffe3cdd34bd674884289726d8a329a34335e18d7886909" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " _assert_registry_contract(measurement, \"interface-charge-qf-dc-jv-v1\")", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-e8a4853714b52c4d50ee9019": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py", + "symbol": "test_interface_device_ac_frequency_window_is_fail_closed", + "lines": [ + 243, + 243 + ], + "text_sha256": "2426e828ea662ccba1f15bdeebc15f3e9950906a4f86ed7899af06b50243c29a" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert not partial.certificate.certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-71996b900a5be662d3a39a74": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py", + "symbol": "test_interface_device_ac_frequency_window_is_fail_closed", + "lines": [ + 244, + 244 + ], + "text_sha256": "7264f8673cd5f71cf6eec96c99ad13b416afad970e57c5a762e3b9de1d976610" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert not partial.certificate.frequency_window.certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-164f767d31390c11eba14f30": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py", + "symbol": "test_interface_device_ac_frequency_window_is_fail_closed", + "lines": [ + 245, + 245 + ], + "text_sha256": "b3598dad22234a7567fe456d95d40d1b447fcb7efc140da06d84d058f9393f2a" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert \"trap_frequency_window_incomplete\" in partial.certificate.reasons", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-6d7637014bedd0c46bf0d5d1": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py", + "symbol": "test_interface_device_ac_frequency_window_is_fail_closed", + "lines": [ + 252, + 252 + ], + "text_sha256": "56beec11b007137f38550a7fa120f7dbb3d74dece185e03a8760a083a325a24f" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert not exc_info.value.result.certificate.certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-8682c4080efda37c07b72425": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py", + "symbol": "test_interface_device_ac_frequency_window_is_fail_closed", + "lines": [ + 246, + 246 + ], + "text_sha256": "3c8f8a19ace43185dede865c95ad9aadb60bdca5922eb230c10745a5e75df30e" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(InterfaceDefectDeviceACCertificationError) as exc_info:", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-f0925d75fb53651a07afe567": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py", + "symbol": "test_interface_device_ac_recertifies_supplied_dc_state_on_live_operator", + "lines": [ + 222, + 222 + ], + "text_sha256": "fe82aa03b40d5ec60a6aa87a4c9048975cd94273471ca7cbccb6334dc9b7fd6a" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(InterfaceDefectDeviceACError, match=\"DC state is not certified\"):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-bd4bf7e2775b4e3f12c69234": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py", + "symbol": "test_interface_device_ac_rejects_tampered_dark_reference_before_linearization", + "lines": [ + 190, + 190 + ], + "text_sha256": "424f5d3760280328e5bbf43064ad500978cc54fdd4c680ab914242014f62cf1c" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(InterfaceDefectDeviceACError, match=\"provenance\"):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-c7be8295de8f8c01a1ce3eff": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py", + "symbol": "test_real_dynamic_interface_device_ac_certifies_four_capture_legs", + "lines": [ + 126, + 126 + ], + "text_sha256": "d3c461f9c4727efb63339da9d0af6b6605a2ac4670de0877851720ee5a808d1a" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.scope == INTERFACE_DEFECT_DEVICE_AC_SCOPE", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-c0dd64247391ee70b43d98d1": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py", + "symbol": "test_real_dynamic_interface_device_ac_certifies_four_capture_legs", + "lines": [ + 127, + 127 + ], + "text_sha256": "0b697bc41f6149161e998bb0e2816a4f99e426edffb438b67cf31f29cef909d8" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.certificate.certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-cfb31126d70397d7d020888f": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py", + "symbol": "test_real_dynamic_interface_device_ac_certifies_four_capture_legs", + "lines": [ + 128, + 128 + ], + "text_sha256": "f44806bf1ce27acac6d01d8740b7335b309d0a7b3e3a2fb06c196219f8ae4697" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.certificate.frequency_window.certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-b4603e0e3ba686a385fddbde": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py", + "symbol": "test_real_dynamic_interface_device_ac_certifies_four_capture_legs", + "lines": [ + 129, + 129 + ], + "text_sha256": "eeb8df6a7c8da9e9ee824d77a5811f28b0a4ff3a6e7edebca037cc648f6f7412" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.admittance_faces_S_m2.shape == (frequencies.size, grid.size - 1)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-3288e7c8343067b78d28e8bd": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py", + "symbol": "test_real_dynamic_interface_device_ac_certifies_four_capture_legs", + "lines": [ + 130, + 134 + ], + "text_sha256": "6fe1fff00e91a8412ef83ce1cb4ced1df46b7fa02d4d5f4cac01669180d80e14" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.interface_trace_state_response_m3_V.shape == (\n frequencies.size,\n 1,\n 4,\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-761ed223c3f0f5218f0cf034": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py", + "symbol": "test_real_dynamic_interface_device_ac_certifies_four_capture_legs", + "lines": [ + 135, + 139 + ], + "text_sha256": "acc611fb85ed9bb5b54cca1a25ce4eb2caf3817fb98102795dd0d93dc9aa6ba0" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.electron_capture_response_m2_s_V.shape == (\n frequencies.size,\n 1,\n 2,\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-192a4d13962ae168726ac52e": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py", + "symbol": "test_real_dynamic_interface_device_ac_certifies_four_capture_legs", + "lines": [ + 140, + 144 + ], + "text_sha256": "9834ade9698695c81324250f292d559b9b05646cb8a2e65c785220602848db98" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.hole_capture_response_m2_s_V.shape == (\n frequencies.size,\n 1,\n 2,\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-4c70c126a2b1cfa5dbaa2153": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py", + "symbol": "test_real_dynamic_interface_device_ac_certifies_four_capture_legs", + "lines": [ + 151, + 151 + ], + "text_sha256": "c467e2ae955fe782c65c58a66051cc0c4fc61b651c6dffb05ab196dfd40d18d0" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.max(np.abs(result.interface_occupancy_response_per_V)) > 0.0", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-c7f30eda77b24fab515cb299": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py", + "symbol": "test_real_dynamic_interface_device_ac_certifies_four_capture_legs", + "lines": [ + 152, + 152 + ], + "text_sha256": "57cd6de193486d2b10f9bcf38b0fcf3dcf74448eb9b3eadefd8d27fccf8054e3" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.certificate.maximum_local_trap_balance_relative_error < 1.0e-4", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-21eda39cfd1b0bdd028c9544": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py", + "symbol": "test_real_dynamic_interface_device_ac_certifies_four_capture_legs", + "lines": [ + 153, + 153 + ], + "text_sha256": "dc3418df5639f02e42db96c39552478ad7d9a9101d456b8b475585cdf90f63f8" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.certificate.maximum_all_face_admittance_spread < 5.0e-4", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-5243ed7dc89b79acbd1bad83": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py", + "symbol": "test_real_dynamic_interface_device_ac_certifies_four_capture_legs", + "lines": [ + 145, + 150 + ], + "text_sha256": "6e6fee813ef2460b8efd5418ad1e353cb4f77dee1a4ad806b6d668190a562bd8" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_allclose(\n result.interface_sheet_charge_storage_response_F_m2,\n -Q * result.interface_occupied_population_response_m2_V,\n rtol=0.0,\n atol=0.0,\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-66206eae4fe368db97b9f662": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py", + "symbol": "test_two_physical_interfaces_have_two_independent_shared_occupancies", + "lines": [ + 162, + 162 + ], + "text_sha256": "0b697bc41f6149161e998bb0e2816a4f99e426edffb438b67cf31f29cef909d8" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.certificate.certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-f8bae8076f4c3894c6405962": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py", + "symbol": "test_two_physical_interfaces_have_two_independent_shared_occupancies", + "lines": [ + 163, + 163 + ], + "text_sha256": "e6454277f5844e47990525ed8774aed42c4f65c625c5f3a20152a10fb8f82bb9" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.interface_occupancy_response_per_V.shape == (frequencies.size, 2)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-677dada4fa8807b757263313": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py", + "symbol": "test_two_physical_interfaces_have_two_independent_shared_occupancies", + "lines": [ + 164, + 168 + ], + "text_sha256": "937f63139faf0fcfe95d5ebf3245dd942909baac10f04dc31fffea8fc41ff1a7" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.interface_trace_state_response_m3_V.shape == (\n frequencies.size,\n 2,\n 4,\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-44647ed098c8201161c75fc3": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py", + "symbol": "test_two_physical_interfaces_have_two_independent_shared_occupancies", + "lines": [ + 169, + 173 + ], + "text_sha256": "5dcef7f40ec9e2b6f9c701fc6d07f309aa164c1c36dfdc3aa9235bd6e9e9f1be" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.electron_capture_response_m2_s_V.shape == (\n frequencies.size,\n 2,\n 2,\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-d051c4346f0ed3708bbcc2ab": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py", + "symbol": "test_two_physical_interfaces_have_two_independent_shared_occupancies", + "lines": [ + 174, + 178 + ], + "text_sha256": "e81aae2d43f4a1a5eb87300b11d316d06d9a879398e21b5a0c6b168090e90954" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.hole_capture_response_m2_s_V.shape == (\n frequencies.size,\n 2,\n 2,\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-e906fb39144e8d35a52ab807": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py", + "symbol": "test_two_physical_interfaces_have_two_independent_shared_occupancies", + "lines": [ + 179, + 179 + ], + "text_sha256": "57cd6de193486d2b10f9bcf38b0fcf3dcf74448eb9b3eadefd8d27fccf8054e3" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.certificate.maximum_local_trap_balance_relative_error < 1.0e-4", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-82d6aeecd5cd237d0cec0836": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_combined_dc_warm_start.py", + "symbol": "test_accepted_legacy_warm_start_uses_one_attempt", + "lines": [ + 104, + 104 + ], + "text_sha256": "0b697bc41f6149161e998bb0e2816a4f99e426edffb438b67cf31f29cef909d8" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.certificate.certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-afdab10dcd7840d3c6641148": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_combined_dc_warm_start.py", + "symbol": "test_accepted_legacy_warm_start_uses_one_attempt", + "lines": [ + 106, + 106 + ], + "text_sha256": "3f07357964def0a64639b7b539733e2048217ae6558419444cc014845116c9f5" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert len(calls) == 2", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-1ab75edfa7db97f452f114c2": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_combined_dc_warm_start.py", + "symbol": "test_accepted_legacy_warm_start_uses_one_attempt", + "lines": [ + 107, + 107 + ], + "text_sha256": "adcd242aedfc57a1b26fee4c5dcad833a8ce69282e43338b5cd4cf185e583746" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.dark_reference.dc_state.certificate.optimizer_nfev == calls[0].nfev", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-224cf113117703718007e530": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_combined_dc_warm_start.py", + "symbol": "test_accepted_legacy_warm_start_uses_one_attempt", + "lines": [ + 108, + 108 + ], + "text_sha256": "0cdf922c8c10f6f95ed680b3d87c597ab91da28621c5a85f89bb81b0f332f9db" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.dc_state.certificate.optimizer_nfev == calls[1].nfev", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-9f993633631422bd310beea8": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_interface_defect_ion_transient.py", + "symbol": "test_missing_joint_physics_fails_before_integration", + "lines": [ + 365, + 365 + ], + "text_sha256": "05953cc5806454ab0d45369435f4e43aa6846abf25019db57fb6bf760c2aa714" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(InterfaceDefectIonTransientError, match=message):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-261cc85d3c89ea65c651d5e1": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_interface_defect_ion_transient.py", + "symbol": "test_slow_ion_limit_freezes_ions_without_freezing_interface_traps", + "lines": [ + 259, + 259 + ], + "text_sha256": "eef5e86cc98e1d51bab67aecbb4f158d8677e19f95c69327339c1fc9d7ae5d52" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert slow.certificate.certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-8615aa4194212eb17dd85793": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_interface_defect_ion_transient.py", + "symbol": "test_slow_ion_limit_freezes_ions_without_freezing_interface_traps", + "lines": [ + 260, + 260 + ], + "text_sha256": "560594e2eb2969eb504b64ecf6dac62e2e5161693fcdc7ed611bda676d80ebba" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert reference.certificate.certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-27a90a9c22e7ca1fa23e1ae4": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_interface_defect_ion_transient.py", + "symbol": "test_slow_ion_limit_freezes_ions_without_freezing_interface_traps", + "lines": [ + 261, + 261 + ], + "text_sha256": "38cde7b280e04032262506c29fe611f6fc16d02a268460500fc198371fb95ebb" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert slow_motion < 1.0e-8", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-042008ee9a9685e5f8033630": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_interface_defect_ion_transient.py", + "symbol": "test_slow_ion_limit_freezes_ions_without_freezing_interface_traps", + "lines": [ + 262, + 262 + ], + "text_sha256": "65d5083add4047f9c751b62547936c1119fa1ccd63c6f52a6f8379cf1b9544ae" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert reference_motion > 1.0e-4", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-a32ceada324186b17198fb09": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_interface_defect_ion_transient.py", + "symbol": "test_slow_ion_limit_freezes_ions_without_freezing_interface_traps", + "lines": [ + 263, + 266 + ], + "text_sha256": "d3d22b89fecfff5f642c5e6ad8dd2c9b7dd11099a3e73597ee451dea423974e4" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert (\n np.max(np.abs(slow.interface_occupancy[-1] - slow.interface_occupancy[0]))\n > 1.0e-9\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-c6dc16978bd52cd319045655": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1.py", + "symbol": "test_physical_coupled_steps_keep_fixed_reference_and_close_charge", + "lines": [ + 96, + 96 + ], + "text_sha256": "81484cc41c1b4af7ea393bb09a15c74a7b8903078c43ff87216119880da843d7" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert len(records) == 3 + 3*(1+2+4)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-ba5cc51df6fdd04bbf03407e": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1.py", + "symbol": "test_physical_coupled_steps_keep_fixed_reference_and_close_charge", + "lines": [ + 97, + 97 + ], + "text_sha256": "0b697bc41f6149161e998bb0e2816a4f99e426edffb438b67cf31f29cef909d8" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.certificate.certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-8f04bec413e49fa264174f2a": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1.py", + "symbol": "test_physical_coupled_steps_keep_fixed_reference_and_close_charge", + "lines": [ + 98, + 98 + ], + "text_sha256": "e8e5b60be53db631205ab594008b1bce89b3d8728db74a73f285a02a413b7883" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.version == \"r1-0-physical-volumes-v1\"", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-42d6d089f09875f36d5d5820": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1.py", + "symbol": "test_physical_coupled_steps_keep_fixed_reference_and_close_charge", + "lines": [ + 99, + 99 + ], + "text_sha256": "04461e8319bce36c176d1ae6fdd6c92defeb6e91ebad7327cb79f3b33dd82cca" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.interface_sheet_charge_C_m2[0, 0] != 0", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-41e8460df6521a63263e9c97": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1.py", + "symbol": "test_physical_coupled_steps_keep_fixed_reference_and_close_charge", + "lines": [ + 85, + 85 + ], + "text_sha256": "9b5e9112c5f60357bcd4aecc8873af6f343d9c6419a281385ee601639eb3037e" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert r[\"gauss_normalized\"] <= 1e-10", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-7cde4d6442cfb9bec5ab04d2": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1.py", + "symbol": "test_physical_coupled_steps_keep_fixed_reference_and_close_charge", + "lines": [ + 86, + 86 + ], + "text_sha256": "97e91eb138233e4850b1535128457622121d3639bb95e1e0fbca93b0676b589e" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert r[\"inventory_relative_drift\"] <= 1e-10", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-29ba930abf5ae03a2603e843": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1.py", + "symbol": "test_physical_coupled_steps_keep_fixed_reference_and_close_charge", + "lines": [ + 100, + 100 + ], + "text_sha256": "55c1ebe65fd3e93431d8468b7cf0e23c8b0a15934963d8cabd503306440dbfc9" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_array_equal(result.dark_reference.equilibrium_occupancy, reference[\"f_ref\"])", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-84f31ca7675d36a3e588f5af": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1.py", + "symbol": "test_physical_coupled_steps_keep_fixed_reference_and_close_charge", + "lines": [ + 101, + 101 + ], + "text_sha256": "38cb17676cede59f966bc70804f440f7470f8f1d667346b5af49ae175c7ca1c9" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_array_equal(result.positive_ion_density_m3[:, x > 1e-7], 1e22)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-7f15b828411ceea1f47f4ecc": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1.py", + "symbol": "test_physical_coupled_steps_keep_fixed_reference_and_close_charge", + "lines": [ + 88, + 88 + ], + "text_sha256": "b5bb8fbd42437a27b7d1c4cbe1c065de490bb53e37fefc341aaa68e3ed7691a6" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert r[\"charge_balance_normalized\"] <= 1e-10", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-b061e055966a9344d86a002a": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1.py", + "symbol": "test_physical_coupled_steps_keep_fixed_reference_and_close_charge", + "lines": [ + 89, + 89 + ], + "text_sha256": "424643ecea153507257234e8ec36068e359aad3147ddfe5734efc89fb610f9e3" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert r[\"contact_internal_current_spread_relative\"] <= 2e-6", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-3ebc5f0756fffce53991a712": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1.py", + "symbol": "test_rejects_mismatched_volumes_and_unbound_research_geometry", + "lines": [ + 69, + 69 + ], + "text_sha256": "aad57794fd9aa6e8f9afc78ec1ca62e77e3f10d6c5c6a42bdc9c256a2e6dd2e5" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(ValueError):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-daad76e3597d5e3f50d1ccb4": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1.py", + "symbol": "test_rejects_mismatched_volumes_and_unbound_research_geometry", + "lines": [ + 71, + 71 + ], + "text_sha256": "2be3b96763eca0c3bbd4b920ed3032b7d070505f239ac9a451c585851423ff3e" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(RuntimeError, match=\"fixed reference\"):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-4fc26719bfb279bca402e9cb": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py", + "symbol": "test_grid8_fine_defect_case_converges_with_step_local_coordinates", + "lines": [ + 602, + 602 + ], + "text_sha256": "6c473a0ee2e1c4411bd92d6a793cc430ff6b6433623b9a3ac91cbc00d93b9933" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert monotone_policy.maximum_near_acceptance_nonmonotone_steps == 0", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-9377c7fea1368b1d36b2633e": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py", + "symbol": "test_grid8_fine_defect_case_converges_with_step_local_coordinates", + "lines": [ + 624, + 624 + ], + "text_sha256": "bf5ab29f65b5d0801f33e355c2ea119c08972dca05e6d727d65d930dc84cf400" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert monotone.certificate.certified and resolved.certificate.certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-8a92ecc0bc1fd1d7b620df9f": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py", + "symbol": "test_grid8_fine_defect_case_converges_with_step_local_coordinates", + "lines": [ + 625, + 625 + ], + "text_sha256": "73606ec91dcd1acaa77ef5fb6d11d3d6604d715d3886047ca3626d82c9f25e91" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert monotone.certificate.near_acceptance_nonmonotone_step_count == 0", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-082242db9a34846793a62f52": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py", + "symbol": "test_grid8_fine_defect_case_converges_with_step_local_coordinates", + "lines": [ + 626, + 626 + ], + "text_sha256": "04a76fe61cf163a112799601a84072170b4142090de186d2443d33ceca9087ae" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert resolved.certificate.near_acceptance_nonmonotone_step_count == 0", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-2d8db522f1a2a86d8303d6e8": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py", + "symbol": "test_grid8_fine_defect_case_converges_with_step_local_coordinates", + "lines": [ + 629, + 629 + ], + "text_sha256": "aed5f24a0879a9fe2e9d2fcd7ac5779e6bd2c2254d1034d56e1243eb1c9235bf" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert resolved.certificate.maximum_all_face_current_spread_relative < 2.0e-6", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-1cd842d229dcc6c84a502d77": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py", + "symbol": "test_grid8_fine_defect_case_converges_with_step_local_coordinates", + "lines": [ + 630, + 633 + ], + "text_sha256": "11073245f44e6fbd0a60c6cd01359cd9157fc49b22584bf533a9c67be30b4c9b" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert (\n resolved.certificate.maximum_two_sided_interface_total_current_relative_error\n < 2.0e-6\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-902c37f0ebee08d6ec557e2a": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py", + "symbol": "test_grid8_fine_defect_case_converges_with_step_local_coordinates", + "lines": [ + 627, + 627 + ], + "text_sha256": "3537f1db61e5977fdd06e9413b596b60a38eb3c46b4815864640c3af0c04d6a9" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_array_equal(monotone.electron_density_m3, resolved.electron_density_m3)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-1cbad71ed0f345bae9150aa9": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py", + "symbol": "test_grid8_fine_defect_case_converges_with_step_local_coordinates", + "lines": [ + 628, + 628 + ], + "text_sha256": "af350748534be431cc45dcd21bba8794d1ff80cec8e3c09697ae65a8b1f731f9" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_array_equal(monotone.total_current_faces_A_m2, resolved.total_current_faces_A_m2)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-a5c6ec0a64d46d07c4bb28ec": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_interface_defect_transient.py", + "symbol": "test_fast_capture_recovers_two_sided_quasi_steady_occupancy", + "lines": [ + 228, + 228 + ], + "text_sha256": "0b697bc41f6149161e998bb0e2816a4f99e426edffb438b67cf31f29cef909d8" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.certificate.certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-a27ce95835b878e71572e4b6": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_interface_defect_transient.py", + "symbol": "test_fast_capture_recovers_two_sided_quasi_steady_occupancy", + "lines": [ + 229, + 232 + ], + "text_sha256": "16dbdd8c8b093cae00fb9c7152f63a8b9b167633b0755839e62aaebe62906787" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert (\n abs(result.interface_occupancy[-1, 0] - result.interface_occupancy[0, 0])\n > 5.0e-5\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-813a970eb7ea28e2037c53f7": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_interface_defect_transient.py", + "symbol": "test_fast_capture_recovers_two_sided_quasi_steady_occupancy", + "lines": [ + 233, + 238 + ], + "text_sha256": "62937242b80cf4a490b52d920faa8c563684340a19d7accbd1c7758b1ad23e5f" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_allclose(\n result.interface_occupancy[-1],\n result.interface_quasi_steady_occupancy[-1],\n rtol=0.0,\n atol=1.0e-9,\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-7f636d547cd2ba9495c98e5e": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_interface_defect_transient.py", + "symbol": "test_overstrict_two_sided_current_gate_returns_partial_or_fails_closed", + "lines": [ + 254, + 254 + ], + "text_sha256": "2426e828ea662ccba1f15bdeebc15f3e9950906a4f86ed7899af06b50243c29a" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert not partial.certificate.certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-b8dd3a49dddeb63b92328c52": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_interface_defect_transient.py", + "symbol": "test_overstrict_two_sided_current_gate_returns_partial_or_fails_closed", + "lines": [ + 255, + 257 + ], + "text_sha256": "fe860cd8291ea1bcfbb1db51f46659db8776013fec0dfdd37d845224cde10fe5" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert partial.certificate.reasons == (\n \"two_sided_interface_total_current_closure_failed\",\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-01a95ac370faa4dc7be01fce": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_interface_defect_transient.py", + "symbol": "test_overstrict_two_sided_current_gate_returns_partial_or_fails_closed", + "lines": [ + 266, + 266 + ], + "text_sha256": "9dd523cbf911decdaec706151d09f4c1a76599e400bbd72e55f81b2266eefa6a" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert exc_info.value.result.certificate.reasons == partial.certificate.reasons", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-247abaf0f3ab919b7064bbf5": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_interface_defect_transient.py", + "symbol": "test_overstrict_two_sided_current_gate_returns_partial_or_fails_closed", + "lines": [ + 258, + 258 + ], + "text_sha256": "e91d5cdf40c88e8bdf2387f977650e7574b27011e77f85bba445834154fc4241" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(InterfaceDefectTransientCertificationError) as exc_info:", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-39d526e76454aad3df249f1a": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_interface_defect_transient.py", + "symbol": "test_slow_capture_keeps_shared_occupancy_frozen_and_certified", + "lines": [ + 211, + 211 + ], + "text_sha256": "0b697bc41f6149161e998bb0e2816a4f99e426edffb438b67cf31f29cef909d8" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.certificate.certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-829c225473310c15c3c1bf64": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_interface_defect_transient.py", + "symbol": "test_slow_capture_keeps_shared_occupancy_frozen_and_certified", + "lines": [ + 212, + 215 + ], + "text_sha256": "cf10a8665719955ac3c350cd8e9f0cf866c28286500988d14572b567168145bb" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert (\n np.max(np.abs(result.interface_occupancy[-1] - result.interface_occupancy[0]))\n < 1.0e-12\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-f0cfbfdfddbfe25de9528d80": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_interface_defect_transient.py", + "symbol": "test_unsupported_physics_fails_closed_before_transient", + "lines": [ + 330, + 330 + ], + "text_sha256": "cf3abbf63196be252e9ca75819872542b14b6b6eb1d1021de380f622a16a5ae8" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(InterfaceDefectTransientError, match=message):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-9bd41cae135bf4f0e223dcd5": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_interface_defect_transient.py", + "symbol": "test_unverified_dark_reference_is_rejected_before_integration", + "lines": [ + 282, + 284 + ], + "text_sha256": "aa297aa0f3dcdcc7b0e4b2b7641a224d44e0937b82c4f946ea61299ba9ed400c" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(\n InterfaceDefectTransientError, match=\"dark-reference provenance\"\n ):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-b023e9d1a4328bff2479c30c": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_interface_defect_transient.py", + "symbol": "test_real_two_sided_interface_transient_certifies_sparse_closure", + "lines": [ + 126, + 126 + ], + "text_sha256": "76e6c9cf4461595a1f9756624e062c538eec31af033f9447170b01638e1fd303" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.scope == INTERFACE_DEFECT_TRANSIENT_SCOPE", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-1fe108c3bb329d8ff6002f30": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_interface_defect_transient.py", + "symbol": "test_real_two_sided_interface_transient_certifies_sparse_closure", + "lines": [ + 127, + 127 + ], + "text_sha256": "e3d9cc57a9b25a4512408b79dd3ce78582ee820f4b6d3e1221f83da6372cc7ec" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert certificate.certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-6e074c8ac584e0c2064fb701": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_interface_defect_transient.py", + "symbol": "test_real_two_sided_interface_transient_certifies_sparse_closure", + "lines": [ + 128, + 128 + ], + "text_sha256": "cfe0ba4e19570d98fd46bf504f8a9354fec7c5be99c99123eb43f0465bd16d19" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert certificate.reasons == ()", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-787e26357ccf5f548fc1896e": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_interface_defect_transient.py", + "symbol": "test_real_two_sided_interface_transient_certifies_sparse_closure", + "lines": [ + 129, + 129 + ], + "text_sha256": "3a06131bede74daefef9e9f34562ac48e0fa8c1b2499fff91a90bc9176baaf95" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert certificate.sparse_linear_solver_used", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-a29b49d2379a8024ceb02f6a": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_interface_defect_transient.py", + "symbol": "test_real_two_sided_interface_transient_certifies_sparse_closure", + "lines": [ + 130, + 130 + ], + "text_sha256": "622866719b6243c884a944c9e1dae51b81a419b8871691375c365e315d78d855" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert not certificate.clipping_used", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-97f5281e4e354c86e71416fa": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_interface_defect_transient.py", + "symbol": "test_real_two_sided_interface_transient_certifies_sparse_closure", + "lines": [ + 131, + 131 + ], + "text_sha256": "b3e8fa6e1fa2649050be5300a6ae05da7407f4eae6b21c16aeb9117e295851fc" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert certificate.analytic_jacobian_nnz < certificate.dense_jacobian_entries", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-1d49722c80aaa0e91907f3c0": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_interface_defect_transient.py", + "symbol": "test_real_two_sided_interface_transient_certifies_sparse_closure", + "lines": [ + 132, + 132 + ], + "text_sha256": "e61fb535fa5a8fa41e038f8174b50fcc278b8f57d29219c5cca455f5c936a168" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert certificate.maximum_analytic_jacobian_column_relative_error < 1.0e-6", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-bbc5613ab93d654fe503065b": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_interface_defect_transient.py", + "symbol": "test_real_two_sided_interface_transient_certifies_sparse_closure", + "lines": [ + 133, + 133 + ], + "text_sha256": "8114855108df3762f5f99a3a328e16520ce2bbb30fa77c92e0c8d6971c93ee25" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert certificate.maximum_charge_balance_relative_error < 1.0e-10", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-22964454880e6e3ad7d494f9": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_interface_defect_transient.py", + "symbol": "test_real_two_sided_interface_transient_certifies_sparse_closure", + "lines": [ + 134, + 134 + ], + "text_sha256": "a76f4c4a1bae385a427d26e90cdf713870cfe0b56864be10fb7ffbbe9b1120a0" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert certificate.maximum_all_face_current_spread_relative < 1.0e-6", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-71428b51cb81795b9d11ac4e": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_interface_defect_transient.py", + "symbol": "test_real_two_sided_interface_transient_certifies_sparse_closure", + "lines": [ + 135, + 135 + ], + "text_sha256": "e2ca5486b806d14bd68f1125e2c51685e2a73bd1ea35f63adf8f60621f7a33c0" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert certificate.maximum_two_sided_interface_total_current_relative_error < 1.0e-6", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-9bb607ddc63547cca3514f1c": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_interface_defect_transient.py", + "symbol": "test_real_two_sided_interface_transient_certifies_sparse_closure", + "lines": [ + 136, + 136 + ], + "text_sha256": "1e22d2d8dab0784dc35198365f820bae06bec7f7a9351df4339ac36fe96c159a" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert certificate.maximum_eliminated_operator_relative_error < 3.0e-7", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-455ea4b04e1f4b7a1b6671b3": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_interface_defect_transient.py", + "symbol": "test_real_two_sided_interface_transient_certifies_sparse_closure", + "lines": [ + 137, + 137 + ], + "text_sha256": "5b3975e2d1ae0cd9dc90b60298d7e801daf2cfb78b70e09a53f8fbd5820cd5c3" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert certificate.maximum_refinement_state_change < 2.0e-2", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-e91b51d6692cdef335f556c5": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py", + "symbol": "test_failed_comparison_gate_preserves_diagnostic_evidence", + "lines": [ + 2142, + 2142 + ], + "text_sha256": "bf2e96f94ecf7d9a31dd505a112088c985c93e99bb4f37745a9d19749b235a73" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert not captured.value.result.certificate.numerically_certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-9be09e98703dcd3f723c48f3": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py", + "symbol": "test_failed_comparison_gate_preserves_diagnostic_evidence", + "lines": [ + 2153, + 2153 + ], + "text_sha256": "7753e0e802a9aa6c679a76a0762cabcc8f3437b4b463a16190379e10fd3b2291" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert \"mass_matrix_exceeds_limit\" in diagnostic.certificate.reasons", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-93972c5b25cbae6d7e2c8968": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py", + "symbol": "test_failed_comparison_gate_preserves_diagnostic_evidence", + "lines": [ + 2130, + 2133 + ], + "text_sha256": "5e692eeff4c1513ca202e1f61ad63f115d548417acd6955754f2ac16c874842a" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(\n structured.IonAwareStructuredJacobianCertificationError,\n match=\"mass_matrix_exceeds_limit\",\n ) as captured:", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-14b452c8220c937143d98fd3": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py", + "symbol": "test_mismatched_hash_is_rejected_before_comparison", + "lines": [ + 2106, + 2109 + ], + "text_sha256": "fa538cc8daebd8309f16c5ced33fa6d2004ac4c1283be6ebac35cf8d36b4f392" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(\n structured.IonAwareStructuredJacobianCapabilityError,\n match=\"protocol hash\",\n ):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-00f9296183c50f3043714d18": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py", + "symbol": "test_structured_protocol_binds_qss_environment_and_velocity", + "lines": [ + 201, + 204 + ], + "text_sha256": "221fd887927e09d4f11b88ba5b3f69b91b80bcc4df3f2b117065555da55796cc" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(\n structured.IonAwareStructuredJacobianCapabilityError,\n match=\"QSS interface mode\",\n ):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-7cd7e5a28cf9c6f97462ef42": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py", + "symbol": "test_structured_protocol_binds_qss_environment_and_velocity", + "lines": [ + 215, + 218 + ], + "text_sha256": "fc0212c1132406977ef328a628ff9624de93e887b1263e93a7b3606dd0824a54" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(\n structured.IonAwareStructuredJacobianCapabilityError,\n match=\"QSS transport velocity\",\n ):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-869694768bc0f6e2a1b23e44": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_cross_node_interface_srh_closes_the_clamp_inactive_tangent", + "lines": [ + 279, + 279 + ], + "text_sha256": "596c05463e3fd91737a18a5b5fcaecd38fc55256e95136a56a9fab54a8f9588d" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert certificate.numerically_certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-c40dc67999e6919ba41c303d": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_cross_node_interface_srh_closes_the_clamp_inactive_tangent", + "lines": [ + 280, + 280 + ], + "text_sha256": "a152fe55f8a6380f814d3f8d9986b594dfdd55926d8cc08f3e59cfe54be3d30e" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert reaction.cross_node_interface_indices == (interface_index,)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-4631e78af31c1b658d83e8b2": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_cross_node_interface_srh_closes_the_clamp_inactive_tangent", + "lines": [ + 281, + 284 + ], + "text_sha256": "44d6c2199e122ce4dbd8251e757578954d929eb8cae265deed672f7e1bd1154a" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert (\n reaction.electron_evaluation_nodes[interface_index]\n == reaction.interface_nodes[interface_index] + 1\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-2b56693fddbb5e80c3d0af4d": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_cross_node_interface_srh_closes_the_clamp_inactive_tangent", + "lines": [ + 285, + 288 + ], + "text_sha256": "f0dc6e14de05e965e8b2a05a7b5f1000b4b6b5afe806c8705951b648df25a414" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert (\n reaction.hole_evaluation_nodes[interface_index]\n == reaction.interface_nodes[interface_index] - 1\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-88e850d6568af6ccb442d1ce": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_cross_node_interface_srh_closes_the_clamp_inactive_tangent", + "lines": [ + 289, + 289 + ], + "text_sha256": "391374b1236f8e84e84457df48c0cbe40b46f6de55d4249ed16e0ebe74cf1c41" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert reaction.minimum_cross_node_clamp_margin_m2_s > 0.0", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-e1f3428cdd99e856a070d1df": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_cross_node_interface_srh_closes_the_clamp_inactive_tangent", + "lines": [ + 290, + 290 + ], + "text_sha256": "32e8d217fea0426942c308379c05631102239e77dd305f40467fae2e690b7ba0" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert certificate.analytic_interface_reaction_rate_jacobian.passed", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-a8541d57ea50539163c92968": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_cross_node_interface_srh_closes_the_clamp_inactive_tangent", + "lines": [ + 291, + 293 + ], + "text_sha256": "cb2d33e3a1c62c5de6a890fd5566b01582414a6117084fae4b1488fe3f4a5feb" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert not (\n certificate.analytic_interface_reaction_rate_jacobian.failed_columns\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-00ca117058871b7d537191ae": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_cross_node_interface_srh_closes_the_clamp_inactive_tangent", + "lines": [ + 294, + 298 + ], + "text_sha256": "3fce3cab534b09344f8450e2f3c22c39bde1092f923da75902a02ef0a23a2bd8" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert (\n certificate.analytic_interface_reaction_rate_jacobian\n .max_group_normalized_error\n < 1.0e-6\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-051f5531c28b24979fa9c899": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_cross_node_interface_srh_closes_the_clamp_inactive_tangent", + "lines": [ + 299, + 299 + ], + "text_sha256": "57e24238199ebb3b8caa1bb562a5449e1cb958964eb1042c7e882a777110449a" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert certificate.rate_jacobian.passed", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-ff9e30a38179c9ba74ab4edc": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_cross_node_interface_srh_closes_the_clamp_inactive_tangent", + "lines": [ + 300, + 300 + ], + "text_sha256": "f9ca9229be07572600668b1508a0a1ea748aef02a3d717db2c32743b714bf785" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert certificate.max_impedance_magnitude_relative_error < 1.0e-6", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-05c44f6fa978a3b3814ca37b": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_cross_node_interface_srh_closes_the_clamp_inactive_tangent", + "lines": [ + 301, + 301 + ], + "text_sha256": "0d51cca8f788648bdf24cded69f17623d516740ce34939b8c44f4dacd528ce2c" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert certificate.max_impedance_phase_error_deg < 1.0e-5", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-bd246649c1be7107ff801ecf": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_cross_node_qss_interface_srh_closes_projection_and_suppresses_mirror", + "lines": [ + 486, + 486 + ], + "text_sha256": "596c05463e3fd91737a18a5b5fcaecd38fc55256e95136a56a9fab54a8f9588d" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert certificate.numerically_certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-5a5c1e6b634ae76cf3940dd5": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_cross_node_qss_interface_srh_closes_projection_and_suppresses_mirror", + "lines": [ + 487, + 489 + ], + "text_sha256": "d034da345eb2f244b08bc71870032cdee2a02a86ce15260b74427d0b7ac1403c" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert reaction.qss_interface_indices == tuple(\n range(len(reaction.interface_nodes))\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-f37e4acd9c0f64313f10eca6": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_cross_node_qss_interface_srh_closes_projection_and_suppresses_mirror", + "lines": [ + 490, + 490 + ], + "text_sha256": "eaac372ba2424e70677b5090b4abf2af6fc0edaaa8c5b095a95149203b1e7f00" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert reaction.projected_interface_indices == (interface_index,)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-4fbcc12cb7cd5b1c27094111": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_cross_node_qss_interface_srh_closes_projection_and_suppresses_mirror", + "lines": [ + 491, + 491 + ], + "text_sha256": "023c1ec5ac27ef16ead818949223c65ef256c7908cb2ad9d979bcb56fdb8c943" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert not reaction.two_sided_interface_indices", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-7bf73ec1d8ffab9fa58881f2": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_cross_node_qss_interface_srh_closes_projection_and_suppresses_mirror", + "lines": [ + 492, + 492 + ], + "text_sha256": "e9fd58e2523e02ba0486cbacdd226ccac7a6ba3a018d4a0114ff2f8cb4b9bda1" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert reaction.minimum_cross_node_clamp_margin_m2_s is None", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-3ba5ba921b875584688fffca": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_cross_node_qss_interface_srh_closes_projection_and_suppresses_mirror", + "lines": [ + 493, + 493 + ], + "text_sha256": "36f0f4289c83bdbb4753c97dff39f4a0b42fb2a0469d3f5ace268267b5366e58" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert reaction.minimum_qss_supply_rate_margin_m2_s > 0.0", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-9959d444de351c4b277c898b": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_cross_node_qss_interface_srh_closes_projection_and_suppresses_mirror", + "lines": [ + 494, + 494 + ], + "text_sha256": "54e5baa5e6fc71a6880825124bb3e13ec40617a1fb5f63b728fc4c7d53d6ef97" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert reaction.minimum_qss_root_headroom_m3 > 0.0", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-adb0eac4f9623093eac8750a": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_cross_node_qss_interface_srh_closes_projection_and_suppresses_mirror", + "lines": [ + 495, + 495 + ], + "text_sha256": "dd7bf53eb87651a09ee1984ec5679ed880cbd8b047d46be3e811c344ea295f09" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert reaction.maximum_qss_root_relative_residual < 1.0e-12", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-81bc64fb112326c184054c41": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_cross_node_qss_interface_srh_closes_projection_and_suppresses_mirror", + "lines": [ + 496, + 496 + ], + "text_sha256": "32e8d217fea0426942c308379c05631102239e77dd305f40467fae2e690b7ba0" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert certificate.analytic_interface_reaction_rate_jacobian.passed", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-808313bf39a4696b7ad56035": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_cross_node_qss_interface_srh_closes_projection_and_suppresses_mirror", + "lines": [ + 497, + 499 + ], + "text_sha256": "153568583d325b52440f8ea489d6e8ad800f6196f8da5151cff6ceb31052792a" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert (\n certificate.analytic_interface_reaction_rate_voltage_derivative.passed\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-5c9cae7fd90f28ea0d87137d": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_cross_node_qss_interface_srh_closes_projection_and_suppresses_mirror", + "lines": [ + 500, + 500 + ], + "text_sha256": "57e24238199ebb3b8caa1bb562a5449e1cb958964eb1042c7e882a777110449a" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert certificate.rate_jacobian.passed", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-a4f28a461175f476fef8a62f": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_cross_node_qss_interface_srh_closes_projection_and_suppresses_mirror", + "lines": [ + 501, + 501 + ], + "text_sha256": "b713f528aa754abe8797e70ee32f4b4087d60a67bbceb2e29cb5f04b3d273b0a" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert certificate.rate_voltage_derivative.passed", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-ce12a5c63abc981be8d2f847": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_dual_ion_structured_operator_covers_both_charge_signs", + "lines": [ + 110, + 110 + ], + "text_sha256": "596c05463e3fd91737a18a5b5fcaecd38fc55256e95136a56a9fab54a8f9588d" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert certificate.numerically_certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-792fb4845e7da94b843cda86": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_dual_ion_structured_operator_covers_both_charge_signs", + "lines": [ + 111, + 111 + ], + "text_sha256": "c016d46d6a8b9a13eb000a34e740e842d10c2cc8b1199104709817f39d4bdef0" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert \"positive_ion\" in components", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-737c63d5ce39aa4b1b627aea": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_dual_ion_structured_operator_covers_both_charge_signs", + "lines": [ + 112, + 112 + ], + "text_sha256": "0cdb26bcd1288b82907ef20a9338d60f87a18dbc38540443f9ba0a9fda63f85a" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert \"negative_ion\" in components", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-2411759f2262de0b5d90c105": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_dual_ion_structured_operator_covers_both_charge_signs", + "lines": [ + 113, + 113 + ], + "text_sha256": "08c90a9d2617c6046df408a8742f438dceb7ee512dded86aaf6aa60d68415fb3" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert components[\"positive_ion\"].jacobian.passed", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-fb3daa3b06dc8375cae0be2c": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_dual_ion_structured_operator_covers_both_charge_signs", + "lines": [ + 114, + 114 + ], + "text_sha256": "ed21463debe80af5a5069bdc946b0b53de1498223e479ec8cf7affae2c2725aa" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert components[\"negative_ion\"].jacobian.passed", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-187c85646450a57d183b70dd": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_dual_ion_structured_operator_covers_both_charge_signs", + "lines": [ + 115, + 118 + ], + "text_sha256": "63702b10bf48abb1a762618c2bd86385a2b17c12e02950af063dcce040cd2169" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert all(\n item.jacobian.passed\n for item in certificate.analytic_transport_components\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-8cb027a50de48e46d816abbe": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_dual_ion_structured_operator_covers_both_charge_signs", + "lines": [ + 119, + 119 + ], + "text_sha256": "51e2c7b63154a000288562c747c4eadcb58e1a8a39d82036bde4a63344979f8a" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert certificate.analytic_bulk_reaction_rate_jacobian.passed", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-5d18e96e49e503ecd9d5a762": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_dual_ion_structured_operator_covers_both_charge_signs", + "lines": [ + 120, + 120 + ], + "text_sha256": "32e8d217fea0426942c308379c05631102239e77dd305f40467fae2e690b7ba0" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert certificate.analytic_interface_reaction_rate_jacobian.passed", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-b723d6999e517eb22961ca31": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_dual_ion_structured_operator_covers_both_charge_signs", + "lines": [ + 121, + 121 + ], + "text_sha256": "bd882ca328cb45ba4a25e43266d9c15731a5390ca213d9534ed559160b2c8ce6" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert certificate.analytic_contact_rate_jacobian.passed", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-2ace38566f3cd67705bc93d8": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_dual_ion_structured_operator_covers_both_charge_signs", + "lines": [ + 122, + 122 + ], + "text_sha256": "dbeecb43af440bf59d932ecc4f3d1d4d872abb33c73eaca46fdc0517f4b1b6ff" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.reference.coordinate_layout.negative_ion_state_indices", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-caa5867fe52462335dde8fb4": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_dual_ion_structured_operator_covers_both_charge_signs", + "lines": [ + 123, + 123 + ], + "text_sha256": "a091a944ecf7ac31d4fd9209fe0441cf60f335d8b6e07d705699769f8546faf1" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.structured.current_components[-1].name == \"negative_ion\"", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-ca61f7e51f7bbe55e8c548f4": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_dual_ion_structured_operator_covers_both_charge_signs", + "lines": [ + 124, + 124 + ], + "text_sha256": "18e09710b056eb93ba403e809bc3b9fffcdfdbab72a05f1f0cd58850090ffe3d" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert certificate.rate_jacobian.max_relative_error < 5.0e-6", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-f88f7d926697c4a9c176cf90": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_field_mobility_structured_operator_closes_ct_and_pf_chain_rule", + "lines": [ + 244, + 244 + ], + "text_sha256": "596c05463e3fd91737a18a5b5fcaecd38fc55256e95136a56a9fab54a8f9588d" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert certificate.numerically_certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-3e0520a60fd194e9085fefe1": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_field_mobility_structured_operator_closes_ct_and_pf_chain_rule", + "lines": [ + 245, + 245 + ], + "text_sha256": "767e4c1e244d2bee30848160eeabb149cd9a1a01d3c9bc61580422e17c9aefd9" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert mobility.active", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-e08c6a9acaef72133dbd6991": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_field_mobility_structured_operator_closes_ct_and_pf_chain_rule", + "lines": [ + 246, + 246 + ], + "text_sha256": "187206d1fc92d03116f8dc3d2386f139642cbc8a836236399a769e985ef66fc3" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.any(mobility.electron_field_derivative_m3_V2_s != 0.0)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-1778cd14a18798ed03b14fa2": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_field_mobility_structured_operator_closes_ct_and_pf_chain_rule", + "lines": [ + 247, + 247 + ], + "text_sha256": "7a4d07444ef089cb926ca7a3bb38ceece6d1426b636369ffe685120b8886370f" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.any(mobility.hole_field_derivative_m3_V2_s != 0.0)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-561adab65dcc8a192262c9fd": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_field_mobility_structured_operator_closes_ct_and_pf_chain_rule", + "lines": [ + 248, + 248 + ], + "text_sha256": "2f1d8598d4632707d902e392e8fcc3d882244fa3712276a7f80c8be4bed1bd52" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert certificate.analytic_electron_field_mobility_derivative.passed", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-36eeac8708d5c34660d22a81": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_field_mobility_structured_operator_closes_ct_and_pf_chain_rule", + "lines": [ + 249, + 249 + ], + "text_sha256": "6cac28c49fca5a1b7df17df2cb10c1836a000e1768ea183ca2d5115f3dd0d89c" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert certificate.analytic_hole_field_mobility_derivative.passed", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-84e88d69c6044e0787f3f83a": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_field_mobility_structured_operator_closes_ct_and_pf_chain_rule", + "lines": [ + 250, + 250 + ], + "text_sha256": "18e4e62a2fcc58a3e750c87bb8d94f35c948ab7131ba5004237b4f0b1c5a2853" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert certificate.analytic_transport_conduction_jacobian.passed", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-e80dcf245ae57c715dcefa75": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_field_mobility_structured_operator_closes_ct_and_pf_chain_rule", + "lines": [ + 251, + 254 + ], + "text_sha256": "ca0f2cca5abf213f0cbfcdd4e593a3a6729da1048cd8047c4ef73c495284f4fc" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert (\n result.poisson_sensitivity.max_nonsmooth_state_field_stencil_fraction\n <= result.protocol.max_nonsmooth_field_stencil_fraction\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-91588b86741b529e5cf07d58": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_field_mobility_structured_operator_closes_ct_and_pf_chain_rule", + "lines": [ + 255, + 258 + ], + "text_sha256": "6ef0e16db714839d4ba1de23db32cca668d015ae0d8a072e4166b48398459965" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert (\n result.poisson_sensitivity.max_nonsmooth_voltage_field_stencil_fraction\n <= result.protocol.max_nonsmooth_field_stencil_fraction\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-24cb2d3f81e81b79adf785c0": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_field_mobility_structured_operator_closes_ct_and_pf_chain_rule", + "lines": [ + 259, + 259 + ], + "text_sha256": "57e24238199ebb3b8caa1bb562a5449e1cb958964eb1042c7e882a777110449a" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert certificate.rate_jacobian.passed", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-d0c50332143af5ae322f2e52": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_field_mobility_structured_operator_closes_ct_and_pf_chain_rule", + "lines": [ + 260, + 260 + ], + "text_sha256": "f9ca9229be07572600668b1508a0a1ea748aef02a3d717db2c32743b714bf785" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert certificate.max_impedance_magnitude_relative_error < 1.0e-6", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-4de11c6c622a677640c9dd37": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_field_mobility_structured_operator_closes_ct_and_pf_chain_rule", + "lines": [ + 261, + 261 + ], + "text_sha256": "0d51cca8f788648bdf24cded69f17623d516740ce34939b8c44f4dacd528ce2c" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert certificate.max_impedance_phase_error_deg < 1.0e-5", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-377914338a554f8636a535de": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_local_qss_interface_srh_closes_the_implicit_root_tangent", + "lines": [ + 446, + 446 + ], + "text_sha256": "596c05463e3fd91737a18a5b5fcaecd38fc55256e95136a56a9fab54a8f9588d" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert certificate.numerically_certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-1b4ee0ab5a0fc9a8f98bb183": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_local_qss_interface_srh_closes_the_implicit_root_tangent", + "lines": [ + 447, + 447 + ], + "text_sha256": "eb406ee6c6bd342e4d36b86f52dfa651b462cd25448b007fbfdaf1f31ad3964e" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.protocol.qss_interface_enabled", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-19e9700d1efb77f5214cdcb6": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_local_qss_interface_srh_closes_the_implicit_root_tangent", + "lines": [ + 448, + 450 + ], + "text_sha256": "d034da345eb2f244b08bc71870032cdee2a02a86ce15260b74427d0b7ac1403c" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert reaction.qss_interface_indices == tuple(\n range(len(reaction.interface_nodes))\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-d11d546e6271ef1390f1f213": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_local_qss_interface_srh_closes_the_implicit_root_tangent", + "lines": [ + 451, + 451 + ], + "text_sha256": "9874583478f4d63dd11c1bbe50eaf41e75e04c6d52b6768f6d3b34b0c68cab8c" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert not reaction.projected_interface_indices", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-ef94fff49503485f6e060cf9": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_local_qss_interface_srh_closes_the_implicit_root_tangent", + "lines": [ + 452, + 452 + ], + "text_sha256": "36f0f4289c83bdbb4753c97dff39f4a0b42fb2a0469d3f5ace268267b5366e58" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert reaction.minimum_qss_supply_rate_margin_m2_s > 0.0", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-7966b8abb7e8ac03daac35e8": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_local_qss_interface_srh_closes_the_implicit_root_tangent", + "lines": [ + 453, + 453 + ], + "text_sha256": "54e5baa5e6fc71a6880825124bb3e13ec40617a1fb5f63b728fc4c7d53d6ef97" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert reaction.minimum_qss_root_headroom_m3 > 0.0", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-786e22e62995b8017242237e": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_local_qss_interface_srh_closes_the_implicit_root_tangent", + "lines": [ + 454, + 454 + ], + "text_sha256": "dd7bf53eb87651a09ee1984ec5679ed880cbd8b047d46be3e811c344ea295f09" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert reaction.maximum_qss_root_relative_residual < 1.0e-12", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-ee2800d21fc2bd783638f63d": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_local_qss_interface_srh_closes_the_implicit_root_tangent", + "lines": [ + 455, + 455 + ], + "text_sha256": "32e8d217fea0426942c308379c05631102239e77dd305f40467fae2e690b7ba0" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert certificate.analytic_interface_reaction_rate_jacobian.passed", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-ac11e635ccac1d6b46280872": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_local_qss_interface_srh_closes_the_implicit_root_tangent", + "lines": [ + 456, + 458 + ], + "text_sha256": "153568583d325b52440f8ea489d6e8ad800f6196f8da5151cff6ceb31052792a" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert (\n certificate.analytic_interface_reaction_rate_voltage_derivative.passed\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-4a1c9984b2bda33e737a2071": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_local_qss_interface_srh_closes_the_implicit_root_tangent", + "lines": [ + 459, + 459 + ], + "text_sha256": "57e24238199ebb3b8caa1bb562a5449e1cb958964eb1042c7e882a777110449a" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert certificate.rate_jacobian.passed", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-f7ffd96ad348a2ab6e2ff1cf": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_local_qss_interface_srh_closes_the_implicit_root_tangent", + "lines": [ + 460, + 460 + ], + "text_sha256": "f9ca9229be07572600668b1508a0a1ea748aef02a3d717db2c32743b714bf785" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert certificate.max_impedance_magnitude_relative_error < 1.0e-6", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-88fdedb3e9e843ad2300263b": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_local_qss_interface_srh_closes_the_implicit_root_tangent", + "lines": [ + 461, + 461 + ], + "text_sha256": "0d51cca8f788648bdf24cded69f17623d516740ce34939b8c44f4dacd528ce2c" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert certificate.max_impedance_phase_error_deg < 1.0e-5", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-579368099be9d2fe6b7efcef": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_dc.py", + "symbol": "test_ionmonger_fixed_bias_reaches_two_residual_certified_endpoints", + "lines": [ + 23, + 23 + ], + "text_sha256": "b56e3fc2f0b5aaf19689122857b8bd7244b8838c4703ec92a6e4614c3cf184c2" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.numerically_certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-3fdea22ce4b38641fb466aa4": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_dc.py", + "symbol": "test_ionmonger_fixed_bias_reaches_two_residual_certified_endpoints", + "lines": [ + 24, + 24 + ], + "text_sha256": "b17881b066526434d0a6cf463226f897062aeb740799ac4b336e3a8f3861265c" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.consecutive_certified_steps >= 2", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-9e0d3a3e0eddbcd8e880d5fb": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_dc.py", + "symbol": "test_ionmonger_fixed_bias_reaches_two_residual_certified_endpoints", + "lines": [ + 25, + 25 + ], + "text_sha256": "22f4e0b84dddae6c8f3ffc6d7b3df75931e4e8b1e49fe3a7b6da399c77cb7db8" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.steps[-2].accepted_for_closure", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-54006673094f062b3481b8d2": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_dc.py", + "symbol": "test_ionmonger_fixed_bias_reaches_two_residual_certified_endpoints", + "lines": [ + 26, + 26 + ], + "text_sha256": "7bd147f280dfdf128574410321b2fc7cf804cffa4cf2315fc366d1f299f606fb" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.steps[-1].accepted_for_closure", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-08c3cc1918af10c5613b6ed5": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_dc.py", + "symbol": "test_ionmonger_fixed_bias_reaches_two_residual_certified_endpoints", + "lines": [ + 27, + 27 + ], + "text_sha256": "cf0fe453fffa64c07da9756e850687966e1ef67cdc9dd57541c9031d9dc26f8e" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.total_settle_time_s in protocol.settle_end_times_s", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-5a85462776fb37fb16c746c1": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_dc.py", + "symbol": "test_ionmonger_fixed_bias_reaches_two_residual_certified_endpoints", + "lines": [ + 28, + 28 + ], + "text_sha256": "9ec7c331fba19c172e9ed8fb7c6d1be6177b51d55ccc8ff8cd8289d074b2518f" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.total_settle_time_s <= protocol.settle_end_times_s[-1]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-7223d4530b302ad1c838bc67": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_dc.py", + "symbol": "test_ionmonger_fixed_bias_reaches_two_residual_certified_endpoints", + "lines": [ + 29, + 31 + ], + "text_sha256": "c8c4c8ee54ac488f8cf6eede8b839a5f171d801286aa8c947732ecf98d422567" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert certificate.carrier_area_rate_A_m2 <= (\n protocol.max_carrier_area_rate_A_m2\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-bc2cb77eff2ea9f80b400f35": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_dc.py", + "symbol": "test_ionmonger_fixed_bias_reaches_two_residual_certified_endpoints", + "lines": [ + 32, + 32 + ], + "text_sha256": "7e4a09121228e3e9a1033a2bff963a7dcd81840fd85898240410e781eff3cf75" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert certificate.ion_area_rate_A_m2 <= protocol.max_ion_area_rate_A_m2", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-71383ba78d0e2ebafeee354e": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_dc.py", + "symbol": "test_ionmonger_fixed_bias_reaches_two_residual_certified_endpoints", + "lines": [ + 33, + 35 + ], + "text_sha256": "323dd2ad6d545b111106e56ea25ea752ae66e4ca22d1831d395e2a29c872fbf9" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert certificate.max_ionic_face_current_A_m2 <= (\n protocol.max_ionic_face_current_A_m2\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-d4b3e9d5d3df8490e377448e": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_dc.py", + "symbol": "test_ionmonger_fixed_bias_reaches_two_residual_certified_endpoints", + "lines": [ + 36, + 38 + ], + "text_sha256": "e21ca245daf7a247cf20297954ac353130b810a2b231b4cd5aba9afb688f84f3" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert certificate.dc_face_current_spread_A_m2 <= (\n protocol.max_dc_face_current_spread_A_m2\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-57d438faa072698200e48fe9": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_dc.py", + "symbol": "test_ionmonger_fixed_bias_reaches_two_residual_certified_endpoints", + "lines": [ + 39, + 41 + ], + "text_sha256": "896465eec444fc47e49fa6cf399ee737b041f20c51b346d7ed35a4a7003a959f" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert certificate.max_ion_inventory_relative_drift <= (\n protocol.max_ion_inventory_relative_drift\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-91e650ed6a373de830b83fbe": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_dc.py", + "symbol": "test_ionmonger_fixed_bias_reaches_two_residual_certified_endpoints", + "lines": [ + 42, + 42 + ], + "text_sha256": "4c2af8101c7dd68f7ee32120a558eb4ffed9a2b297ba6f5a9570e4fbb9dc3f49" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert 0.0 < certificate.maximum_site_occupancy_fraction < 1.0", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-6fa9f81f2346ff495e6972a1": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_impedance.py", + "symbol": "test_ionmonger_certified_dc_drives_reference_frequency_operator", + "lines": [ + 41, + 41 + ], + "text_sha256": "d14ddccdbe8d3cc38906fd02dacf1292677e589767a9cc3a42b002f125c9f822" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert dc_state.numerically_certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-2900d202a5701bad34bbb6f9": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_impedance.py", + "symbol": "test_ionmonger_certified_dc_drives_reference_frequency_operator", + "lines": [ + 42, + 42 + ], + "text_sha256": "596c05463e3fd91737a18a5b5fcaecd38fc55256e95136a56a9fab54a8f9588d" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert certificate.numerically_certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-3910583abce8d9d1578578f5": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_impedance.py", + "symbol": "test_ionmonger_certified_dc_drives_reference_frequency_operator", + "lines": [ + 43, + 43 + ], + "text_sha256": "79abe53f8992cf3289a25507817fee1ed43d021132cbdd0744a79ebf55e7d1ad" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert not certificate.thermodynamically_certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-2aa1d64233ac44b61c9a3331": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_impedance.py", + "symbol": "test_ionmonger_certified_dc_drives_reference_frequency_operator", + "lines": [ + 44, + 44 + ], + "text_sha256": "7e9cfd909e62807480f30e7babc55e0214e8b08cbce63c6fac9eaf21d0a40e0e" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert not certificate.certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-52aabfcf84e4e534d4751188": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_impedance.py", + "symbol": "test_ionmonger_certified_dc_drives_reference_frequency_operator", + "lines": [ + 45, + 45 + ], + "text_sha256": "c6e5e40c7d1daefbeb41efcd6a177cb85bcf1c2b456eb12b6ed09ef7bfad3a99" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert not certificate.frequency_window_certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-646e9645326667bcd4615be6": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_impedance.py", + "symbol": "test_ionmonger_certified_dc_drives_reference_frequency_operator", + "lines": [ + 46, + 46 + ], + "text_sha256": "bec281fb5d471b02a8747e8f5b55afa339b2b4d78abf97394299b74b6dfbdca3" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert not certificate.reasons", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-13cf0fb7484e2b3d57e98e8e": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_impedance.py", + "symbol": "test_ionmonger_certified_dc_drives_reference_frequency_operator", + "lines": [ + 47, + 47 + ], + "text_sha256": "1aebf0372354fd714fa1cb46dc2d224d97cbc79ff881bf814e0c5ecbdc88cdd7" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.frequency_window.characteristic_frequency_bracketed", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-eeeb4d841aa308f21c1b151a": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_impedance.py", + "symbol": "test_ionmonger_certified_dc_drives_reference_frequency_operator", + "lines": [ + 48, + 48 + ], + "text_sha256": "ecba7545cddc235c4f7b2c1286f33e698b9899ee5dfba3747c2a4af9a08806ce" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert not result.frequency_window.full_timescale_envelope_bracketed", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-12d505c177186d6f1f10738d": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_impedance.py", + "symbol": "test_ionmonger_certified_dc_drives_reference_frequency_operator", + "lines": [ + 49, + 49 + ], + "text_sha256": "d2c3dc443c5fa274dde367ff59ad95a793d3ffa1866c4f7e264cc5405941cd91" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert not result.frequency_window.ionic_branch_covered", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-18a3b6c8fd14ae806b0c6c2f": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_impedance.py", + "symbol": "test_ionmonger_certified_dc_drives_reference_frequency_operator", + "lines": [ + 50, + 52 + ], + "text_sha256": "6c2c60166f959f3cff0e02870a41e5a38d889f031188d5e322987234c5e2b59b" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert \"ionic_timescale_envelope_not_bracketed\" in (\n result.frequency_window.warnings[0]\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-e4083e8dce586cc1d8105383": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_impedance.py", + "symbol": "test_ionmonger_certified_dc_drives_reference_frequency_operator", + "lines": [ + 53, + 53 + ], + "text_sha256": "d06484fd9fdb635f3ad0b311316422206af1b1d638cb9322f9e8b0e82af21b35" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert certificate.max_relative_face_spread < protocol.max_relative_face_spread", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-cbf12a453a500d06dc014575": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_impedance.py", + "symbol": "test_ionmonger_certified_dc_drives_reference_frequency_operator", + "lines": [ + 54, + 54 + ], + "text_sha256": "5a4624468599f4ed95bf5deb2eba10b2de4e0f161f02440d3ffeba027dfa82ba" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert certificate.max_backward_error < protocol.max_backward_error", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-115576f93698e957b367e57c": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_impedance.py", + "symbol": "test_symmetric_dual_ion_state_keeps_both_blocking_inventory_constraints", + "lines": [ + 104, + 104 + ], + "text_sha256": "7751fb93e8dd553e414a081e81c18bd86cbc97f7d1516eb8a5114942e73a7b24" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.certificate.numerically_certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-ff8d00fe3b66832b3f7466b6": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_impedance.py", + "symbol": "test_symmetric_dual_ion_state_keeps_both_blocking_inventory_constraints", + "lines": [ + 105, + 105 + ], + "text_sha256": "eac787ffe5b568ff07f3382e2c21624e8614e583271130ade1625954cfcdfda5" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.negative_ion_admittance_faces_S_m2 is not None", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-5ac4694883314c1b91a2e514": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_impedance.py", + "symbol": "test_symmetric_dual_ion_state_keeps_both_blocking_inventory_constraints", + "lines": [ + 106, + 106 + ], + "text_sha256": "b999be12de967ff23dc400fc5ae04280fcbe40a489b72ef4e99d5e75dadb2190" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.negative_ion_storage_response_F_m2 is not None", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-6278f9839bc86b45e47fa8d5": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_impedance.py", + "symbol": "test_symmetric_dual_ion_state_keeps_both_blocking_inventory_constraints", + "lines": [ + 107, + 107 + ], + "text_sha256": "1510b1b387ae01fcacc81960538c65ad1d2d56bb6c937002d3184120921c8469" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.coordinate_layout.negative_ion_state_indices", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-269bb36afc157a48bf01eb06": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_impedance.py", + "symbol": "test_symmetric_dual_ion_state_keeps_both_blocking_inventory_constraints", + "lines": [ + 108, + 108 + ], + "text_sha256": "0deca9692eaa59d00bc4882355a19c544fbcd4e0cc7b8288614083c5502c7ad7" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert len(result.frequency_window.ionic_timescales) == 2", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-0983bf426a375da732793171": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_impedance.py", + "symbol": "test_symmetric_dual_ion_state_keeps_both_blocking_inventory_constraints", + "lines": [ + 109, + 111 + ], + "text_sha256": "1062f96b2396900663788d18dcbed2f29ecae71949e06efba9458a58646bb04a" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert {\n item.species for item in result.frequency_window.ionic_timescales\n } == {\"positive\", \"negative\"}", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-7927fe36e406561d1f76690d": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_impedance.py", + "symbol": "test_symmetric_dual_ion_state_keeps_both_blocking_inventory_constraints", + "lines": [ + 112, + 112 + ], + "text_sha256": "573be0398a7d8bb247eae71a4cec3abccc60a9e52aeaaaabbd1dd7d894b11d84" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert not result.certificate.frequency_window_certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-f91e20df80f1f0e8445fd58f": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_impedance.py", + "symbol": "test_symmetric_dual_ion_state_keeps_both_blocking_inventory_constraints", + "lines": [ + 113, + 115 + ], + "text_sha256": "023718a69a46298ea8d7f0f5d79149271f29929c2d885029f3a2714e2439148b" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.certificate.max_ion_inventory_response_relative < (\n protocol.max_ion_inventory_response_relative\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-ffc3064037551e1aea19671f": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_impedance.py", + "symbol": "test_symmetric_dual_ion_state_keeps_both_blocking_inventory_constraints", + "lines": [ + 116, + 116 + ], + "text_sha256": "34fa3e166becfc979b256df322f310ed58013c55787d76e59ae28ac8fb6eb385" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.max(np.abs(result.positive_ion_admittance_faces_S_m2)) > 0.0", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-fd238b10b9e20eb2dc613838": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_impedance.py", + "symbol": "test_symmetric_dual_ion_state_keeps_both_blocking_inventory_constraints", + "lines": [ + 117, + 117 + ], + "text_sha256": "5b2c38b5f8fee66d876e08396ad53f536c42406f3e383895bd693528d37128ec" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.max(np.abs(result.negative_ion_admittance_faces_S_m2)) > 0.0", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-a4e65a91a0e92004dd0135e0": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_dc.py", + "symbol": "test_contact_gate_remains_separate_from_numerical_closure", + "lines": [ + 490, + 490 + ], + "text_sha256": "b56e3fc2f0b5aaf19689122857b8bd7244b8838c4703ec92a6e4614c3cf184c2" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.numerically_certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-940bc7ea19cf200cd94a38e1": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_dc.py", + "symbol": "test_contact_gate_remains_separate_from_numerical_closure", + "lines": [ + 491, + 491 + ], + "text_sha256": "97ade20c1a5c0ab2a7edb804ffd148b1405c5eaf5a3654456c1be11e6afd45a5" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert not result.certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-1924191be5950b62541101fd": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_dc.py", + "symbol": "test_contact_gate_remains_separate_from_numerical_closure", + "lines": [ + 493, + 493 + ], + "text_sha256": "823867b0f757ee17173f7028446df6e7016c5d625d32d5b1edc6490ef6386d06" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(dc.IonAwareDCCertificationError, match=\"contact\"):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-5d47f637835536594a40c586": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_dc.py", + "symbol": "test_solver_counts_only_consecutive_state_and_diagnostic_passes", + "lines": [ + 329, + 329 + ], + "text_sha256": "d5fd2653cca7621450f615866cc178599c422ad27c1e3c0b2d11f45e4674d329" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert durations == pytest.approx([1.0, 1.0, 2.0])", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-c2bd163f5f32022924a1763d": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_dc.py", + "symbol": "test_solver_counts_only_consecutive_state_and_diagnostic_passes", + "lines": [ + 330, + 330 + ], + "text_sha256": "ce1c21c0cd5a96d736a0dc43c6773e25c24e9e456738ed9f25e09f42c90d019b" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert [step.accepted_for_closure for step in result.steps] == [False, True, True]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-01213f0a74413b284bc37106": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_dc.py", + "symbol": "test_solver_counts_only_consecutive_state_and_diagnostic_passes", + "lines": [ + 331, + 331 + ], + "text_sha256": "09d193415740c80092a83b44ca3a484a677d7a8014565fbb625e93910b927947" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.consecutive_certified_steps == 2", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-87a8dbb9f558017c1c8058ef": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_dc.py", + "symbol": "test_solver_counts_only_consecutive_state_and_diagnostic_passes", + "lines": [ + 332, + 332 + ], + "text_sha256": "b56e3fc2f0b5aaf19689122857b8bd7244b8838c4703ec92a6e4614c3cf184c2" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.numerically_certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-8e2eea92548e0134b31da0f1": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_dc.py", + "symbol": "test_solver_counts_only_consecutive_state_and_diagnostic_passes", + "lines": [ + 333, + 333 + ], + "text_sha256": "97ade20c1a5c0ab2a7edb804ffd148b1405c5eaf5a3654456c1be11e6afd45a5" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert not result.certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-88a792081ab93188e79e7bfe": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_dc.py", + "symbol": "test_solver_counts_only_consecutive_state_and_diagnostic_passes", + "lines": [ + 334, + 334 + ], + "text_sha256": "1b566ad322e1941a1eb3b8c8360aad68a342ad2b5c4b28bd0fce79909067193c" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.total_settle_time_s == pytest.approx(4.0)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-0f19cab87b41bcc5a97a5524": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_dc.py", + "symbol": "test_solver_counts_only_consecutive_state_and_diagnostic_passes", + "lines": [ + 335, + 335 + ], + "text_sha256": "74f03ec5c972c90803b0c923770e026edb6961861f04e6f263047c1afb208107" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.steps[-1].nfev == 7", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-6e38d9ab5b84a26132feaae9": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_dc.py", + "symbol": "test_solver_counts_only_consecutive_state_and_diagnostic_passes", + "lines": [ + 307, + 307 + ], + "text_sha256": "d41a1850d6f7d6776a59a8bcb02f4dcfd2639183dd5640f5f7886658f32dcd70" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert t_eval[0] == pytest.approx(durations[-1])", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-79b349e23749e40ed951de8a": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_dc.py", + "symbol": "test_solver_exhaustion_returns_evidence_on_error", + "lines": [ + 370, + 370 + ], + "text_sha256": "189ee2edbef84411e13fe62df8238eddafb7f82e6e9ad0101619bcbb64167678" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert len(caught.value.result.steps) == 2", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-239302bc8f9ceb1bd4cdb8af": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_dc.py", + "symbol": "test_solver_exhaustion_returns_evidence_on_error", + "lines": [ + 371, + 371 + ], + "text_sha256": "bc66d6fcb27a372c61cbf0edb7477f814f9fb503c6dab30eaaa65e06923eb70b" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert not caught.value.result.numerically_certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-20ec19c4ea5bb30ff582fa78": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_dc.py", + "symbol": "test_solver_exhaustion_returns_evidence_on_error", + "lines": [ + 367, + 367 + ], + "text_sha256": "2d53d453e7d33363cffc44f6250afd85a2dff157b4a04927c6de0c1a36eae532" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(dc.IonAwareDCCertificationError) as caught:", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-482a478cc7e6cc3665a0a3b0": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_dc.py", + "symbol": "test_solver_method_exhaustion_retains_attempt_evidence", + "lines": [ + 449, + 449 + ], + "text_sha256": "b6e008f7de2202ec836bb8567883e975a7c7378af06b5d568451bcaabc7efe39" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert caught.value.target_time_s == pytest.approx(1.0)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-4985b44b9721fdc4e5d7ce0a": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_dc.py", + "symbol": "test_solver_method_exhaustion_retains_attempt_evidence", + "lines": [ + 450, + 453 + ], + "text_sha256": "9d29d481eb29e26cf399bf51f74d7dcd0b0e37f7cc4a31553d61f031a3fa9cf5" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert [attempt.method for attempt in caught.value.attempts] == [\n \"Radau\",\n \"BDF\",\n ]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-406f441c134483a0271a2a1d": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_dc.py", + "symbol": "test_solver_method_exhaustion_retains_attempt_evidence", + "lines": [ + 454, + 454 + ], + "text_sha256": "470ee80e612367b21b147f394a910e06973000271554499c13c9ee8f5733f846" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert all(attempt.nfev == 11 for attempt in caught.value.attempts)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-94341ebe7942d5f8b77ca08c": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_dc.py", + "symbol": "test_solver_method_exhaustion_retains_attempt_evidence", + "lines": [ + 455, + 455 + ], + "text_sha256": "36ebcbc8a41644fad426cfa1c1947a0b9a4109041798ae4f4f76d2c1f3c9aef0" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert all(attempt.numerical_diagnostics is not None for attempt in caught.value.attempts)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-c1ee8a889400af779619dda0": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_dc.py", + "symbol": "test_solver_method_exhaustion_retains_attempt_evidence", + "lines": [ + 446, + 446 + ], + "text_sha256": "31c77e1b64f5879180e83560a2883d640b6acdd29f044d7c857262ef58c96169" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(dc.IonAwareDCSolverError) as caught:", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-4698b32288162349b47d5823": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_impedance.py", + "symbol": "test_dense_full_timescale_window_is_separately_certified", + "lines": [ + 237, + 237 + ], + "text_sha256": "6a0c2e10da617b183efcb32378fb5fc3bfaeaafd266888491394f8719a173334" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert low is not None and high is not None", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-e2038403dcc4e928675c5468": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_impedance.py", + "symbol": "test_dense_full_timescale_window_is_separately_certified", + "lines": [ + 257, + 257 + ], + "text_sha256": "7751fb93e8dd553e414a081e81c18bd86cbc97f7d1516eb8a5114942e73a7b24" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.certificate.numerically_certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-46cef51d15dd35e68597c0b3": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_impedance.py", + "symbol": "test_dense_full_timescale_window_is_separately_certified", + "lines": [ + 258, + 258 + ], + "text_sha256": "2cbce2b4d12c352b39ac33e3da6a0b336165d951e0c1acf9b5461bea28a6b844" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.certificate.frequency_window_certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-074f0f50a0d8c66e204bee90": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_impedance.py", + "symbol": "test_dense_full_timescale_window_is_separately_certified", + "lines": [ + 259, + 259 + ], + "text_sha256": "e52583e8fbb7210dbb345e3a3ec8af032ecf3822e26f391c871fbbc6fd9786cb" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert not result.certificate.thermodynamically_certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-64d026f2ad19da8915144d17": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_impedance.py", + "symbol": "test_dense_full_timescale_window_is_separately_certified", + "lines": [ + 260, + 260 + ], + "text_sha256": "2235d8a8513cbebbf08055a920247b9cb4039412325631263b5a3819a67883e4" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert not result.certificate.certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-b70c669216f2dc42127c861a": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_impedance.py", + "symbol": "test_dense_full_timescale_window_is_separately_certified", + "lines": [ + 261, + 261 + ], + "text_sha256": "1aebf0372354fd714fa1cb46dc2d224d97cbc79ff881bf814e0c5ecbdc88cdd7" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.frequency_window.characteristic_frequency_bracketed", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-d3319a54bec786a341ae36a1": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_impedance.py", + "symbol": "test_dense_full_timescale_window_is_separately_certified", + "lines": [ + 262, + 262 + ], + "text_sha256": "9d86df22ee67282562bfe047d6c416ecdc6377991463a4c8cbe0adc86e3ea8db" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.frequency_window.full_timescale_envelope_bracketed", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-0ee0ee18838bd4d842e06c0f": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_impedance.py", + "symbol": "test_dense_full_timescale_window_is_separately_certified", + "lines": [ + 263, + 263 + ], + "text_sha256": "ce0fd4f7c4fb02ea2e6a60963f5c1f3f0416c763aa20bfdccc09cb6351780089" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.frequency_window.ionic_branch_covered", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-aeaa2b139cd036b4b15ad88e": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_impedance.py", + "symbol": "test_dense_full_timescale_window_is_separately_certified", + "lines": [ + 264, + 264 + ], + "text_sha256": "9e993652a2d5b998fe0ab7937aa06ab65936c36534ebcc725746a1d9456ae021" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.frequency_window.warnings == ()", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-31155356579cd933a7819a2c": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_impedance.py", + "symbol": "test_dense_full_timescale_window_is_separately_certified", + "lines": [ + 265, + 267 + ], + "text_sha256": "6be7e6030f6dfde368a8b20f46e96819a6a9b51bba54a8a5c13026bfc04b4533" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.frequency_window.max_observed_sampling_gap_decades <= (\n protocol.max_frequency_sampling_gap_decades\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-8d7aa9ff18f42ba1427439a0": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_impedance.py", + "symbol": "test_frequency_window_strict_gate_retains_diagnostic_result", + "lines": [ + 290, + 290 + ], + "text_sha256": "0e9b8a756db7f69502f1f7c59a0e6491b7ddc411ab61a86023d1bfb360aae99e" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert captured.value.result.certificate.numerically_certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-54823e36725060d069a0350d": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_impedance.py", + "symbol": "test_frequency_window_strict_gate_retains_diagnostic_result", + "lines": [ + 291, + 291 + ], + "text_sha256": "612371c82a37adba044c5d8682725a42b1b71c05000a2bba860aecc3b7af8495" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert not captured.value.result.certificate.frequency_window_certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-3937fae855dcba152c449223": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_impedance.py", + "symbol": "test_frequency_window_strict_gate_retains_diagnostic_result", + "lines": [ + 277, + 280 + ], + "text_sha256": "aa47340c4da640eba9cd3ddb4bf5722c8ab48c27e511f4428db5873679f1c819" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(\n impedance.IonAwareImpedanceCertificationError,\n match=\"frequency-window certificate failed\",\n ) as captured:", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-8012cf7021bc8fa8724ca215": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_impedance.py", + "symbol": "test_reference_lane_keeps_contact_thermodynamics_as_a_strict_axis", + "lines": [ + 365, + 368 + ], + "text_sha256": "7a309db61190f833ef1a1f3742ea1a0b0723e6b687db59a15298dabc41b28524" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(\n impedance.IonAwareImpedanceCapabilityError,\n match=\"contact thermodynamics\",\n ):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-fdb150ed0a8cb7f0fbb32e62": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_impedance.py", + "symbol": "test_reference_lane_rejects_a_different_device_stack", + "lines": [ + 324, + 327 + ], + "text_sha256": "70e720bcb6adf3b3f471ebfbc926008004379f9f934f2277cf604ef252749ff7" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(\n impedance.IonAwareImpedanceCapabilityError,\n match=\"stack does not match\",\n ):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-419893ff9f61f8fe9e8c7cbe": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_impedance.py", + "symbol": "test_reference_lane_rejects_declared_uncertified_dc_state", + "lines": [ + 345, + 348 + ], + "text_sha256": "d53ca9dc7d470f938021f8cbba405419cef01240b57e78f73cf1b5e43e71dfd5" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(\n impedance.IonAwareImpedanceCapabilityError,\n match=\"numerical DC certificate\",\n ):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-f750720865e5fa8188db61f4": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_impedance_grid.py", + "symbol": "test_grid_ladder_rejects_coordinate_replacement_before_ac_execution", + "lines": [ + 95, + 98 + ], + "text_sha256": "b76c8d57bb56705f20d132eefd098974d7e2635e5dc47067f5be45064286b04f" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(\n grid_module.IonAwareImpedanceGridCapabilityError,\n match=\"coordinates do not match\",\n ):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-ab55471b1bbdd99f5133162e": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_impedance_grid.py", + "symbol": "test_grid_ladder_rejects_state_or_stack_replacement_before_ac_execution", + "lines": [ + 117, + 120 + ], + "text_sha256": "cf18015f7ede4ec146a4f68d47af1d60ce048d34d3847430d2e2a99bd0ff233e" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(\n grid_module.IonAwareImpedanceGridCapabilityError,\n match=\"bound impedance protocol\",\n ):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-8247f423fa57812cabc7c732": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_impedance_grid.py", + "symbol": "test_grid_ladder_rejects_state_or_stack_replacement_before_ac_execution", + "lines": [ + 125, + 128 + ], + "text_sha256": "30fd63924051255195011b9967201c44ec6038fc219fc516bd692a49667332e0" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(\n grid_module.IonAwareImpedanceGridCapabilityError,\n match=\"same device stack\",\n ):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-485b5b7b633c0e101b6d782a": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_impedance_grid.py", + "symbol": "test_resolved_ionmonger_grid_ladder_passes_each_frequency", + "lines": [ + 51, + 51 + ], + "text_sha256": "eeebf5045eb3756ef5d75232eaf640d80c24ee3f0e675208e45a110aa59ac2fd" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert protocol.grid_node_counts == (61, 91, 121)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-4466173e03a8935540520eaa": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_impedance_grid.py", + "symbol": "test_resolved_ionmonger_grid_ladder_passes_each_frequency", + "lines": [ + 52, + 52 + ], + "text_sha256": "a22524e97c51db703221ed579993c7de04172381e8eacaba170d260f72eacbd1" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert len(set(protocol.grid_sha256s)) == 3", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-00a9eeb242f7feb92fbb2668": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_impedance_grid.py", + "symbol": "test_resolved_ionmonger_grid_ladder_passes_each_frequency", + "lines": [ + 53, + 53 + ], + "text_sha256": "f24dcea627b0ac116d9a344a6262e29d79632952212bf52129e51fbd0cf7d8bb" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert len(set(item.protocol_hash for item in protocol.impedance_protocols)) == 3", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-c6daa76af56e25d93500e603": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_impedance_grid.py", + "symbol": "test_resolved_ionmonger_grid_ladder_passes_each_frequency", + "lines": [ + 54, + 54 + ], + "text_sha256": "4579a2527f00058664adf9eb3680dd006df6d54e209abb577ea049a168d53141" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert all(state.numerically_certified for state in states)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-3c22541d637820c9337f4b3e": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_impedance_grid.py", + "symbol": "test_resolved_ionmonger_grid_ladder_passes_each_frequency", + "lines": [ + 55, + 55 + ], + "text_sha256": "596c05463e3fd91737a18a5b5fcaecd38fc55256e95136a56a9fab54a8f9588d" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert certificate.numerically_certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-4cc64011ba0b9b62189e725d": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_impedance_grid.py", + "symbol": "test_resolved_ionmonger_grid_ladder_passes_each_frequency", + "lines": [ + 56, + 56 + ], + "text_sha256": "79abe53f8992cf3289a25507817fee1ed43d021132cbdd0744a79ebf55e7d1ad" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert not certificate.thermodynamically_certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-bf4152d5ee2f868b2b34f531": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_impedance_grid.py", + "symbol": "test_resolved_ionmonger_grid_ladder_passes_each_frequency", + "lines": [ + 57, + 57 + ], + "text_sha256": "02b97639bfb15bcdf02d44cc1c7584a49f17254b162f02f8f2d784b8a85c0337" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert certificate.frequency_window_certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-e4fcedd8fdac87ab5e9b09f6": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_impedance_grid.py", + "symbol": "test_resolved_ionmonger_grid_ladder_passes_each_frequency", + "lines": [ + 58, + 58 + ], + "text_sha256": "7e9cfd909e62807480f30e7babc55e0214e8b08cbce63c6fac9eaf21d0a40e0e" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert not certificate.certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-0429f46298a830732ec3a2b7": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_impedance_grid.py", + "symbol": "test_resolved_ionmonger_grid_ladder_passes_each_frequency", + "lines": [ + 59, + 59 + ], + "text_sha256": "20188873774e67a1b99c039966e1f7138f24c700219160c7386ee167956a7758" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert certificate.numerical_reasons == ()", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-47e92770f45528566363260f": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_impedance_grid.py", + "symbol": "test_resolved_ionmonger_grid_ladder_passes_each_frequency", + "lines": [ + 60, + 60 + ], + "text_sha256": "87e937f8a3732af80d8d6488f9f4071498857d3f7354617a250143a090f02e45" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert certificate.reasons == (\"contact_thermodynamics_not_certified\",)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-46d0e4bf459b1f5471b98a4e": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_impedance_grid.py", + "symbol": "test_resolved_ionmonger_grid_ladder_passes_each_frequency", + "lines": [ + 61, + 64 + ], + "text_sha256": "e5563db8db7c16f71a6504ef74c3bfc2fff7b34a2fe211e7f3f754bfd7ed5c92" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert (\n certificate.finest_pair_max_impedance_magnitude_relative_change\n < protocol.max_grid_impedance_magnitude_relative_change\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-587b28a96af9f90760df38f3": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_impedance_grid.py", + "symbol": "test_resolved_ionmonger_grid_ladder_passes_each_frequency", + "lines": [ + 65, + 68 + ], + "text_sha256": "e6cfc3b3970ab5364f9f77c347e64068982a376f7ea6543ea2efd13ed68189f6" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert (\n certificate.finest_pair_max_impedance_phase_change_deg\n < protocol.max_grid_impedance_phase_change_deg\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-bd6cac3b2daaa646ee3d332a": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_impedance_grid.py", + "symbol": "test_same_results_fail_a_tighter_preregistered_grid_gate", + "lines": [ + 150, + 150 + ], + "text_sha256": "f5d284d3d69d79f0482b2bd05ada3539d7683b377d66861224f9329293d06fa9" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert not certificate.numerically_certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-73cc7a3b9546c7bddde60be0": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_impedance_grid.py", + "symbol": "test_same_results_fail_a_tighter_preregistered_grid_gate", + "lines": [ + 151, + 151 + ], + "text_sha256": "3bbd5381b6bb8bbb0d2632a04edc29a6851f1a95804ff1e720b0c2f7ffb8dec6" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert certificate.numerical_reasons == (\"grid_refinement_not_converged\",)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-12a5d45a5cdfa48b73b1aaf7": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_impedance_grid.py", + "symbol": "test_same_results_fail_a_tighter_preregistered_grid_gate", + "lines": [ + 152, + 155 + ], + "text_sha256": "f5c80b12891e65095bf792bb043ecbc3948a3a19254d40a274d0d798ec225d25" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert any(\n not item.numerically_certified\n for item in certificate.frequency_point_certificates\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-5b84d7a14e64047a336cc5c6": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_heterojunction_dark_equilibrium.py", + "symbol": "test_dark_equilibrium_face_currents_vanish", + "lines": [ + 332, + 332 + ], + "text_sha256": "11d30d69f4db22d3b44db4c3bfd988843b0a3d96733b0f74c47cf601cfe81107" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.all(cc.J_ion == 0.0), f\"[{key}] J_ion not identically zero\"", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-ba8cb9cb32e98e3428e0293f": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_heterojunction_dark_equilibrium.py", + "symbol": "test_dark_equilibrium_face_currents_vanish", + "lines": [ + 339, + 344 + ], + "text_sha256": "560d80d3d36b3209b40b2bda9a7a6d6c942cd0e7bb10d80b51ebe1ada7cc91f4" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert abs(J[i]) < J_FACE_TOL, (\n f\"[{key}] {name} does not vanish at dark equilibrium: worst face \"\n f\"{i}/{J.size - 1}, |{name}| = {abs(J[i]):.6e} A/m^2 \"\n f\"(bound {J_FACE_TOL:g} = 1% of J_REF={J_REF:g}); \"\n f\"SG leg at that face = {leg[i]:.3e} A/m^2, |J|/leg = {rel:.3e}\"\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-47c2ab648033171d5ecb0929": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_heterojunction_dark_equilibrium.py", + "symbol": "test_dark_equilibrium_terminal_current_vanishes", + "lines": [ + 353, + 356 + ], + "text_sha256": "f63feec176ee26d1402ace94dfc2ba502dd7de6e7643dc67c3442593df4c872c" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert abs(cc.J_total[0]) < J_TERMINAL_TOL, (\n f\"[{key}] terminal J_total[0] = {cc.J_total[0]:.6e} A/m^2 at dark \"\n f\"equilibrium (bound {J_TERMINAL_TOL:g} = 0.1% of J_REF={J_REF:g})\"\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-b3d58400598c942d3340f347": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_log_density_coordinates.py", + "symbol": "test_real_device_log_coordinate_observable_is_inside_refinement_envelope", + "lines": [ + 60, + 62 + ], + "text_sha256": "c5e5b941ba91b18318d371bc1ae7cdb33998be95e650c799686c3fa5e05496da" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert abs(density_fine[1] - log_fine[1]) <= (\n refinement_envelope + roundoff_floor\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-fa9ab1f02ed5ba3e4996a546": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_log_density_coordinates.py", + "symbol": "test_real_device_log_coordinate_observable_is_inside_refinement_envelope", + "lines": [ + 66, + 66 + ], + "text_sha256": "af17acaf376143595cc39938dea7cf1cf243112de38c5f2974300afc933f1f3c" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.all(unpacked.n > 0.0)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-5bf61c4f562c21b0b6f70a3f": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_log_density_coordinates.py", + "symbol": "test_real_device_log_coordinate_observable_is_inside_refinement_envelope", + "lines": [ + 67, + 67 + ], + "text_sha256": "3b817626d52b8ba16c7d4639e677b293af2cde96058645eef233e54b676eb3d7" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.all(unpacked.p > 0.0)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-ec8d64c56b0af0f969050097": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_log_density_coordinates.py", + "symbol": "test_real_device_log_coordinate_observable_is_inside_refinement_envelope", + "lines": [ + 69, + 69 + ], + "text_sha256": "ce9bd57162d6139a7aeb8822e5c10ef17fbae0d2997fa64e729fcf52b5babf23" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.all(unpacked.P[active_ions] > 0.0)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-aebebdb802a2830b8ea5b283": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_log_density_coordinates.py", + "symbol": "test_real_device_log_coordinate_observable_is_inside_refinement_envelope", + "lines": [ + 71, + 71 + ], + "text_sha256": "595d468dee073ab6ed77963d6d5a3888390be274aaca2e7a75f5f85ab43b0b07" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert log_fine[2].nfev <= 2 * density_fine[2].nfev", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-b552b6256fe41aa5d83a6445": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_log_density_coordinates.py", + "symbol": "test_real_device_log_coordinate_observable_is_inside_refinement_envelope", + "lines": [ + 70, + 70 + ], + "text_sha256": "2d88f064987aa4805b19a64ae9ef36bc065e315a476377af46b6e4d2e8390e12" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_array_equal(unpacked.P[~active_ions], 0.0)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-ab2c9d9e29741f5e2ace877d": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_log_density_coordinates.py", + "symbol": "test_real_device_log_coordinate_observable_is_inside_refinement_envelope", + "lines": [ + 41, + 41 + ], + "text_sha256": "b85304321b31706663f414917e0a3bb5e0aa25efd6aba7f1934bb69976a00f68" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert solution.success", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-5b6fcaee69b0af79ad386bfb": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_log_density_coordinates.py", + "symbol": "test_real_device_log_coordinate_observable_is_inside_refinement_envelope", + "lines": [ + 46, + 46 + ], + "text_sha256": "e3794c09afa16af7c639a6ea3038a2ad7b6b4b23ebc5878d446f854cf157411d" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.isfinite(current)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-afe2cf00c66ae9c0cbd006a2": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_ss_current_conservation.py", + "symbol": "test_ion_steric_diffusion_only_conserves_terminal_current", + "lines": [ + 589, + 589 + ], + "text_sha256": "b721f873e19b3adcc37ce931af030d6068292c8bd9a39b3f523fde1d60e412ed" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert sol.success, sol.message", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-9c009cbdc9e118c4edb19ef3": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_ss_current_conservation.py", + "symbol": "test_ion_steric_diffusion_only_conserves_terminal_current", + "lines": [ + 596, + 599 + ], + "text_sha256": "288ce58a67a8bfbb7bb04726ec501efd76a582a97c5a11194cdaf50c4cc8cead" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert r < _AMPERE_RTOL, (\n f\"ion_steric_diffusion_only: residual r = {r:.4e} vs gate \"\n f\"{_AMPERE_RTOL:.1e}\"\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-2f1251eaa2d936da5e3a7ad1": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_ss_current_conservation.py", + "symbol": "test_shipped_displacement_api_closes_conservation", + "lines": [ + 522, + 522 + ], + "text_sha256": "4e0a34794c6f86f09a401c8435df9dc4aad34905199e24b9811104a1093500ba" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.count_nonzero(cc.J_disp) > 0, \"J_disp branch did not run\"", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-b145cb8b90104ced2b7e093c": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_ss_current_conservation.py", + "symbol": "test_shipped_displacement_api_closes_conservation", + "lines": [ + 523, + 528 + ], + "text_sha256": "1b9666ecb59ba5600a32b0797de4a526883282884726dcecfff7e6eb58a97722" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert r < _API_DISP_RTOL, (\n \"the shipped J_disp does not close the terminal current balance.\\n\"\n f\" {s.key}: spread(J_total) = {_spread(cc.J_total):.4e} A/m2, \"\n f\"component scale = {scale:.4e}, r = {r:.4e}, gate = \"\n f\"{_API_DISP_RTOL:.1e}, dt = {_DT_PROBE:.0e} s\"\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-ec92eeeb4b930962e4adcb1e": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_ss_current_conservation.py", + "symbol": "test_ss_reader_reports_zero_displacement_by_construction", + "lines": [ + 418, + 422 + ], + "text_sha256": "6e5819cbd347d6bc74b87172d3ae5588f44bb25f5e7748e79b3ae4e0bcbc7b82" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.count_nonzero(cc.J_disp) == 0, (\n \"J_disp is no longer identically zero without y_prev/dt; the \"\n \"certificate's meaning changed and this module's accounting test \"\n \"needs re-deriving\"\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-c0a19ce38d6e369257de632e": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_ss_current_conservation.py", + "symbol": "test_ss_reader_reports_zero_displacement_by_construction", + "lines": [ + 423, + 423 + ], + "text_sha256": "bd8ac8b29d09ea81ea2c56f8601f72374810e3f156d74d53bbde78914f47aaf7" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert cc.J_disp.shape == cc.J_total.shape", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-313421634d4ed3ce345cee2f": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_current_decomposition.py", + "symbol": "test_all_finite", + "lines": [ + 99, + 99 + ], + "text_sha256": "44519eb30b0fa2d358a03fc89d2406052fc4353b62ec7b616089d13af699001f" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.all(np.isfinite(cc.J_n))", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-00235b80cf9b4c541366a89f": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_current_decomposition.py", + "symbol": "test_all_finite", + "lines": [ + 100, + 100 + ], + "text_sha256": "65dc5e970fc423202f85ac3ff3910a50741b53241a23251273c4efc4410fff6a" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.all(np.isfinite(cc.J_p))", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-de1d17b28c6956014dd8cbbe": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_current_decomposition.py", + "symbol": "test_all_finite", + "lines": [ + 101, + 101 + ], + "text_sha256": "080f15c775f738cbb68ed94e0ce8c569ff48e7d91a8c3e8bdcb1f8140a46df20" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.all(np.isfinite(cc.J_ion))", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-160bdada1ee5df7166df1231": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_current_decomposition.py", + "symbol": "test_all_finite", + "lines": [ + 102, + 102 + ], + "text_sha256": "068f53a1d213ccd68a98a782ff38ceae62f460fe7827aafadd3d10136ac29c3f" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.all(np.isfinite(cc.J_disp))", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-080be4abf76ef3b0edcdddbb": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_current_decomposition.py", + "symbol": "test_all_finite", + "lines": [ + 103, + 103 + ], + "text_sha256": "e71f48343a51957fee125bbe3e09bd3e2c64738ca72877491bdbaf138398a908" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.all(np.isfinite(cc.J_total))", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-51b95d65fd1d085c148526e4": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_current_decomposition.py", + "symbol": "test_consistent_with_compute_current", + "lines": [ + 80, + 80 + ], + "text_sha256": "a098ecef32801a500dc1c971047d8a2584652cb39a66b4e665e1e222838acaee" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_allclose(cc.J_total[0], J_terminal, rtol=1e-10)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-b244c01b46278c37ef6507de": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_dc.py", + "symbol": "test_ionic_current_unpack_preserves_dual_ion_with_interface_tail", + "lines": [ + 224, + 224 + ], + "text_sha256": "4e306834d3074eca786f8797d603e871e615e822b7497ecbc3b88000871d062a" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert material.has_dual_ions", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-6ed7b2ff7a33d9c142a4be3e": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_dc.py", + "symbol": "test_ionic_current_unpack_preserves_dual_ion_with_interface_tail", + "lines": [ + 237, + 237 + ], + "text_sha256": "d9557f1d1bbee43e2315da155facdfef30df74dd04d3f8568c7b33731caf9bab" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert current.J_negative is not None", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-6933a864e7a20f6b99c4ae0c": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_dc.py", + "symbol": "test_ionic_current_unpack_preserves_dual_ion_with_interface_tail", + "lines": [ + 238, + 238 + ], + "text_sha256": "7f68b169dbcc41f946f220d90873c4f68f1fdc5bcdf1cc980e7132185424a3be" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert current.J_negative.shape == (len(x) - 1,)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-d3602a2939cc82e8c507a2fa": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_dc.py", + "symbol": "test_assessment_uses_per_species_ionic_current_not_cancelled_net", + "lines": [ + 204, + 204 + ], + "text_sha256": "4c9b4808a9338992ca114ee949436c7fccdb5fee1ae83338e176dce8219ec98b" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert certificate.max_ionic_face_current_A_m2 == pytest.approx(1.0)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-a88fb6fdb1827cc2a7982d21": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_dc.py", + "symbol": "test_assessment_uses_per_species_ionic_current_not_cancelled_net", + "lines": [ + 205, + 205 + ], + "text_sha256": "b2e60c1d0613ced747418171fe5429274c678400937e845d36da0fdf34fdd605" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert \"ionic_face_current_exceeds_limit\" in certificate.numerical_reasons", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-183078808eac31150feabc5d": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_dc.py", + "symbol": "test_assessment_uses_per_species_ionic_current_not_cancelled_net", + "lines": [ + 206, + 206 + ], + "text_sha256": "f5d284d3d69d79f0482b2bd05ada3539d7683b377d66861224f9329293d06fa9" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert not certificate.numerically_certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-02cbd9c12fef1bf98def8c6b": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py", + "symbol": "test_analytic_component_base_currents_match_the_nonlinear_evaluator", + "lines": [ + 1439, + 1441 + ], + "text_sha256": "ce56eb71c9b25e3e543513928b386ceee3dc798adfd026d44c00642f128edf4d" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert set(expected) == {\n component.name for component in result.analytic_transport.current_components\n }", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-fb10b04f00f7762f948188b6": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py", + "symbol": "test_analytic_component_base_currents_match_the_nonlinear_evaluator", + "lines": [ + 1443, + 1449 + ], + "text_sha256": "3a5ef80d8ce87595873c299e43a4ac9893369b172228c51923e60e2b7b30a0c0" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_allclose(\n component.current_faces,\n expected[component.name],\n rtol=2.0e-14,\n atol=max(float(np.max(np.abs(expected[component.name]))), 1.0)\n * 2.0e-14,\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-0057008d986e10aa3da84b60": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py", + "symbol": "test_analytic_field_mobility_chain_matches_local_and_current_stencils", + "lines": [ + 1501, + 1501 + ], + "text_sha256": "767e4c1e244d2bee30848160eeabb149cd9a1a01d3c9bc61580422e17c9aefd9" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert mobility.active", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-f2ecebdbb2ea26fdb023c1dc": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py", + "symbol": "test_analytic_field_mobility_chain_matches_local_and_current_stencils", + "lines": [ + 1502, + 1502 + ], + "text_sha256": "fb11957ce0600228cb723c188620c511e48b077ec9ab923b694ee61765ffe033" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert mobility.electron_mobility_m2_V_s[4] == 0.0", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-9c2538c195abea3da2a305b8": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py", + "symbol": "test_analytic_field_mobility_chain_matches_local_and_current_stencils", + "lines": [ + 1503, + 1503 + ], + "text_sha256": "36fd2574d7d359469c89b17bc7bc940e18858214f28abb237436780f3a39c84d" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert mobility.electron_field_derivative_m3_V2_s[4] == 0.0", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-15053b0566b0c18d80f49eb4": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py", + "symbol": "test_analytic_field_mobility_chain_matches_local_and_current_stencils", + "lines": [ + 1504, + 1504 + ], + "text_sha256": "187206d1fc92d03116f8dc3d2386f139642cbc8a836236399a769e985ef66fc3" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.any(mobility.electron_field_derivative_m3_V2_s != 0.0)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-de1ac23cda4af25cde6095e8": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py", + "symbol": "test_analytic_field_mobility_chain_matches_local_and_current_stencils", + "lines": [ + 1505, + 1505 + ], + "text_sha256": "7a4d07444ef089cb926ca7a3bb38ceece6d1426b636369ffe685120b8886370f" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.any(mobility.hole_field_derivative_m3_V2_s != 0.0)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-2d3cfdc4689f093ca2bf9ff3": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py", + "symbol": "test_analytic_field_mobility_chain_matches_local_and_current_stencils", + "lines": [ + 1517, + 1517 + ], + "text_sha256": "50481e72d8b04eba26c1a946faa3d11ca9281538bfec2cbb8326fff68a3ea380" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert float(np.max(np.abs(actual - expected)) / scale) < 5.0e-6", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-b2cd77daa07296dceda22d6c": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py", + "symbol": "test_analytic_field_mobility_chain_matches_local_and_current_stencils", + "lines": [ + 1537, + 1546 + ], + "text_sha256": "5cc60323620388fd19b12b32cbbb266e187e97651428001cc12aa6a31ad04d3e" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_allclose(\n component.current_faces,\n expected_currents[component.name],\n rtol=2.0e-14,\n atol=max(\n float(np.max(np.abs(expected_currents[component.name]))),\n 1.0,\n )\n * 2.0e-14,\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-db454c4246c80ac747ceb19f": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_twod_microstructure.py", + "symbol": "test_twod_singleGB_lowers_voc", + "lines": [ + 56, + 56 + ], + "text_sha256": "3544a85f0b3b2aa2c04498292cedcc1b4ee7645c410c627e322b91545a343c9e" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert drop_mV > 0.0, f\"GB did not lower V_oc: drop={drop_mV:.6f} mV\"", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-5225dcd52df180b37157e8a0": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_twod_microstructure.py", + "symbol": "test_twod_singleGB_lowers_voc", + "lines": [ + 59, + 60 + ], + "text_sha256": "1320ef57a0910fc23d3adb1487a688d69bc04ad3e67cf3db7a8bfc5f389cc5e6" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert rel_jsc <= 0.10, \\\n f\"GB J_sc rel drift {rel_jsc:.3f} exceeded 10%\"", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-0ccd2c32682a386dee9b7843": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_twod_validation.py", + "symbol": "test_twod_field_mobility_parity_vs_1d", + "lines": [ + 468, + 471 + ], + "text_sha256": "9c14caffe8fff799e62c4806012a28f1cd6d338c06ac142d23d675100d4a5125" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert abs(m2.V_oc - m1.V_oc) <= 1e-3, (\n f\"μ(E) V_oc(2D)={m2.V_oc:.6f} V vs V_oc(1D)={m1.V_oc:.6f} V \"\n f\"(diff {(m2.V_oc - m1.V_oc)*1e3:.3f} mV, limit 1 mV)\"\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-27c471176ac0cd30c5e0b9b8": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_twod_validation.py", + "symbol": "test_twod_field_mobility_parity_vs_1d", + "lines": [ + 473, + 476 + ], + "text_sha256": "e7cadb632f751c867e31d425c7a9f74e3fc83522ed53f871b94e0f745eca3e18" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert rel_jsc <= 5e-4, (\n f\"μ(E) J_sc rel diff {rel_jsc:.2e} > 5e-4 \"\n f\"(2D={m2.J_sc:.4f}, 1D={m1.J_sc:.4f} A/m²)\"\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-bb390ff16afac1202dba0527": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_twod_validation.py", + "symbol": "test_twod_field_mobility_parity_vs_1d", + "lines": [ + 477, + 480 + ], + "text_sha256": "f2221b5abe8c5f538e750dbed1831c2ac1a4ae5c7d47b0ee1743057cda0797c5" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert abs(m2.FF - m1.FF) <= 1e-3, (\n f\"μ(E) FF(2D)={m2.FF:.6f} vs FF(1D)={m1.FF:.6f} \"\n f\"(diff {abs(m2.FF - m1.FF):.4f}, limit 1e-3)\"\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-68d22b977e5d97cd2020758e": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_twod_validation.py", + "symbol": "test_twod_radiative_reabsorption_full_sweep_parity_vs_1d", + "lines": [ + 770, + 773 + ], + "text_sha256": "c47926ca3a545bc5edebd0f268baf5302c60ef36d57e67b741b920787d0d8244" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert abs(m2.V_oc - m1.V_oc) <= 5e-3, (\n f\"rr full V_oc(2D)={m2.V_oc:.6f} V vs V_oc(1D)={m1.V_oc:.6f} V \"\n f\"(diff {(m2.V_oc - m1.V_oc)*1e3:.3f} mV, limit 5 mV)\"\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-e710cad7a5f402d701f7102e": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_twod_validation.py", + "symbol": "test_twod_radiative_reabsorption_full_sweep_parity_vs_1d", + "lines": [ + 775, + 778 + ], + "text_sha256": "6fffd9409a0a1b0063902e8bff83b598ac5bd9647c18f4674f9faf99faf82242" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert rel_jsc <= 5e-4, (\n f\"rr full J_sc rel diff {rel_jsc:.2e} > 5e-4 \"\n f\"(2D={m2.J_sc:.4f}, 1D={m1.J_sc:.4f} A/m²)\"\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-a0e01952bb8a4c247c8dabba": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_twod_validation.py", + "symbol": "test_twod_radiative_reabsorption_full_sweep_parity_vs_1d", + "lines": [ + 779, + 782 + ], + "text_sha256": "b1fdecbeac7a0e59b5037df49c03846fd03c029c3f83e03033c476122e319b67" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert abs(m2.FF - m1.FF) <= 1e-3, (\n f\"rr full FF(2D)={m2.FF:.6f} vs FF(1D)={m1.FF:.6f} \"\n f\"(diff {abs(m2.FF - m1.FF):.4e}, limit 1e-3)\"\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-5819e99c8d717c680498a0a5": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_twod_validation.py", + "symbol": "test_twod_robin_bounded_shift_vs_dirichlet", + "lines": [ + 268, + 271 + ], + "text_sha256": "307664bf4ff3323388b031fba6306e257520dd4f5b648a4f5fd078ad7d88912b" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert 1.0 <= shift_mV <= 150.0, (\n f\"|ΔV_oc| = {shift_mV:.1f} mV is outside [1, 150] mV \"\n f\"(Robin hook inactive or unphysical)\"\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-766b94248e3b79ae4fd32ddd": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_twod_validation.py", + "symbol": "test_twod_robin_parity_vs_1d", + "lines": [ + 204, + 207 + ], + "text_sha256": "998352880b03dba9e9a584487c6a93aa4d5cf83b8ea39398708d32f89dc32dad" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert abs(m2.V_oc - m1.V_oc) <= 1e-3, (\n f\"Robin V_oc(2D)={m2.V_oc:.6f} V vs V_oc(1D)={m1.V_oc:.6f} V \"\n f\"(diff {(m2.V_oc - m1.V_oc)*1e3:.3f} mV, limit 1 mV)\"\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-4af421f8baeace03a0433899": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_twod_validation.py", + "symbol": "test_twod_robin_parity_vs_1d", + "lines": [ + 209, + 212 + ], + "text_sha256": "6570a224cd461a21485418f5ec07e374727893ddc4172030274f4f129abd5d84" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert rel_jsc <= 5e-4, (\n f\"Robin J_sc rel diff {rel_jsc:.2e} > 5e-4 \"\n f\"(2D={m2.J_sc:.4f}, 1D={m1.J_sc:.4f} A/m²)\"\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-d1f315768e735dbee18f60d5": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_twod_validation.py", + "symbol": "test_twod_robin_parity_vs_1d", + "lines": [ + 213, + 216 + ], + "text_sha256": "2a33c574102c68b0a1343e21c8c910ac1fa34e72bc5fd874ec68e8bc6280bd7f" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert abs(m2.FF - m1.FF) <= 1e-3, (\n f\"Robin FF(2D)={m2.FF:.6f} vs FF(1D)={m1.FF:.6f} \"\n f\"(diff {abs(m2.FF - m1.FF):.4f}, limit 1e-3)\"\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-1ecd1275f8f60c9c19b795a2": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_twod_validation.py", + "symbol": "test_twod_robin_parity_vs_1d_aggressive_blocking", + "lines": [ + 365, + 368 + ], + "text_sha256": "eb77d23502ab37a454b1c39c6c572ebf99ba2ab8ed978dac2a67827f5d5289b0" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert abs(m2.V_oc - m1.V_oc) <= 1e-3, (\n f\"Aggressive-Robin V_oc(2D)={m2.V_oc:.6f} V vs V_oc(1D)={m1.V_oc:.6f} V \"\n f\"(diff {(m2.V_oc - m1.V_oc)*1e3:.3f} mV, limit 1 mV)\"\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-abeeb07a1577083e175cd08d": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_twod_validation.py", + "symbol": "test_twod_robin_parity_vs_1d_aggressive_blocking", + "lines": [ + 370, + 373 + ], + "text_sha256": "f26318268199aaf024e4b7ed8fba37a4065090928a2eb5c6097ef8d98dbf284f" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert rel_jsc <= 5e-4, (\n f\"Aggressive-Robin J_sc rel diff {rel_jsc:.2e} > 5e-4 \"\n f\"(2D={m2.J_sc:.4f}, 1D={m1.J_sc:.4f} A/m²)\"\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-19096a3ce41217f74d70cedd": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_twod_validation.py", + "symbol": "test_twod_robin_parity_vs_1d_aggressive_blocking", + "lines": [ + 374, + 377 + ], + "text_sha256": "8d02ebd72e955b5a0367e51a8ed2e1414d70bae6d3092ff76827e339e875bcc4" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert abs(m2.FF - m1.FF) <= 1e-3, (\n f\"Aggressive-Robin FF(2D)={m2.FF:.6f} vs FF(1D)={m1.FF:.6f} \"\n f\"(diff {abs(m2.FF - m1.FF):.4f}, limit 1e-3)\"\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-ee38ec4d67343612a76e5123": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py", + "symbol": "test_discrete_poisson_implicit_sensitivity_matches_resolved_stencils", + "lines": [ + 363, + 363 + ], + "text_sha256": "a1694431c60cf989083522dce4477c734afbbb2a76ae83cbb0d0f272188d8e97" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert float(np.max(np.abs(finite_difference - exact)) / scale) < 1.0e-7", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-744374aa57173c3e202f18a0": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py", + "symbol": "test_discrete_poisson_implicit_sensitivity_matches_resolved_stencils", + "lines": [ + 364, + 364 + ], + "text_sha256": "bab8c6a8583c5253ccad65fed2ba9441cdcf2adc98709d2100c725212f2b0040" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert exact[0] == 0.0", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-2192a66c67b9b8f77924a9ed": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py", + "symbol": "test_discrete_poisson_implicit_sensitivity_matches_resolved_stencils", + "lines": [ + 365, + 365 + ], + "text_sha256": "f66248dcb499a4f2e85f3ff6d8bf64e266aa2ffe6911df334af4a35cf8395798" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert exact[-1] == 0.0", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-3f63d303910c93900ced80e1": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py", + "symbol": "test_discrete_poisson_implicit_sensitivity_matches_resolved_stencils", + "lines": [ + 366, + 366 + ], + "text_sha256": "fb12fee11dcacf7d0746ec0d8078d2d3f573519a14e100b60e1df6b3ab8fe18a" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.poisson_sensitivity.max_componentwise_backward_error < 1.0e-12", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-0471dfe4cba9df3d309d007f": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py", + "symbol": "test_discrete_poisson_implicit_sensitivity_matches_resolved_stencils", + "lines": [ + 384, + 389 + ], + "text_sha256": "4bc83898f6f27e45cb6ed4c0deeec908aa5d25863369c42e5419aa569072945c" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_allclose(\n result.poisson_sensitivity.potential_voltage_derivative,\n voltage_fd,\n rtol=2.0e-10,\n atol=2.0e-11,\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-25e013633411604076a1ef93": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py", + "symbol": "test_phi_frozen_current_path_is_opt_in_and_matches_default", + "lines": [ + 427, + 427 + ], + "text_sha256": "3e74ada6246d9e865b4e1afbe8b8523d56899633213a8d87b215e8a8e93e9356" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_array_equal(frozen_snapshot.phi, default_snapshot.phi)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-24e2d62e896e6a0612c51c47": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py", + "symbol": "test_phi_frozen_current_path_is_opt_in_and_matches_default", + "lines": [ + 428, + 428 + ], + "text_sha256": "50583779f51db99b0c34da0f66be2d3485b1086bdc24ecb3772b94ee222a900c" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_allclose(frozen_current.J_total, default_current.J_total)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-6051b0b7058435a458841535": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py", + "symbol": "test_phi_frozen_current_path_is_opt_in_and_matches_default", + "lines": [ + 429, + 429 + ], + "text_sha256": "9e0f84d4623f12271b0e36200a3a9b44759822231b6c5485cb5429a55c75bb4c" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(ValueError, match=\"match the spatial grid\"):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-ba1e3afc78bf811ce45aae86": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_spatial_profiles.py", + "symbol": "test_all_finite", + "lines": [ + 81, + 81 + ], + "text_sha256": "ca3e6e27aa65ab96b380d702431427609a2a26558a25c335bd10f36f3b55620f" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.all(np.isfinite(snap.x))", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-9421e40a4d3c59dbd444d0e0": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_spatial_profiles.py", + "symbol": "test_all_finite", + "lines": [ + 82, + 82 + ], + "text_sha256": "92408dc187da99fb15096414ad0e6fb3040855e45b1c9c59806c90bc5097dfd9" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.all(np.isfinite(snap.phi))", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-2a9483d9070e152aeab23bfc": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_spatial_profiles.py", + "symbol": "test_all_finite", + "lines": [ + 83, + 83 + ], + "text_sha256": "85e83508794bc2d2c93172d5abaddecdc277ee0df2bb238fff6659aa903d9f94" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.all(np.isfinite(snap.E))", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-40ddb6107748c791ff7426b6": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_spatial_profiles.py", + "symbol": "test_all_finite", + "lines": [ + 84, + 84 + ], + "text_sha256": "5f7d65263124e3c84769013c128a25e2e7c8da11ef5229150332dc6ea66a1a8b" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.all(np.isfinite(snap.n))", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-b66b42a2f6a70e1323478544": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_spatial_profiles.py", + "symbol": "test_all_finite", + "lines": [ + 85, + 85 + ], + "text_sha256": "d3cc945733770c9f827e1ac5e53e8e9d815f20d164b851592b7ca0f455def22d" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.all(np.isfinite(snap.p))", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-6e2c4444f2df26739104cb1f": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_spatial_profiles.py", + "symbol": "test_all_finite", + "lines": [ + 86, + 86 + ], + "text_sha256": "593ecf4d77e19079b9b329f1f680f47a64f89eed35b12475b852ac02683c054b" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.all(np.isfinite(snap.P))", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-d1f8517b483e3a768c837fce": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_spatial_profiles.py", + "symbol": "test_all_finite", + "lines": [ + 87, + 87 + ], + "text_sha256": "deeeb46fdbe680c723a202e848d3f7841b57e4cc34d2bdaca19b0f61a327238b" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.all(np.isfinite(snap.rho))", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-3a5e2acc24c7a279b1305529": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_spatial_profiles.py", + "symbol": "test_carrier_densities_nonnegative", + "lines": [ + 63, + 63 + ], + "text_sha256": "5fa6ef9f3dd87cb7fc4df7c19bb46cc4508cb574c9e5e07deb04df49cc20f6c4" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.all(snap.n >= -1e-18), \"Electron density should be non-negative\"", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-10ce3ec31159ba39ac0f2977": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_spatial_profiles.py", + "symbol": "test_carrier_densities_nonnegative", + "lines": [ + 64, + 64 + ], + "text_sha256": "24a099c6e0702732714bde0460dd0b039660bbb69af4ab207df214ce3abadd05" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.all(snap.p >= -1e-18), \"Hole density should be non-negative\"", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-80086a750c9c49f2dcef916d": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_spatial_profiles.py", + "symbol": "test_correct_shapes", + "lines": [ + 42, + 42 + ], + "text_sha256": "cf84fa6b4024f29aeab62710534c31aa3c3ffa32c92cb3b01f5f6b12ec3cf400" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert snap.x.shape == (N,)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-f00f064c2db8e08fba29a874": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_spatial_profiles.py", + "symbol": "test_correct_shapes", + "lines": [ + 43, + 43 + ], + "text_sha256": "94f33bf07a15082343795ef0a2e1a8a6dab4893caeac50d3a3d00c282f1f0511" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert snap.phi.shape == (N,)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-50659dfccefc0d288e5428e7": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_spatial_profiles.py", + "symbol": "test_correct_shapes", + "lines": [ + 44, + 44 + ], + "text_sha256": "3d30d3849338298b51d5720f0a92c94040c8020b3da51f7bbebf20d2c82eb3c2" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert snap.n.shape == (N,)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-4a783e174b0ebcfede754ac0": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_spatial_profiles.py", + "symbol": "test_correct_shapes", + "lines": [ + 45, + 45 + ], + "text_sha256": "e64b74dc95a49c10999a2556a7e20a5b19bc7936094f4ebeee03e52992bc1dde" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert snap.p.shape == (N,)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-343e06e22c90cd60be470f2b": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_spatial_profiles.py", + "symbol": "test_correct_shapes", + "lines": [ + 46, + 46 + ], + "text_sha256": "efd20e3fad245c987e54b70f10e28f10c5c11f91a60924d3076e011279990862" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert snap.P.shape == (N,)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-e1796f9eb84ab48b76c6c227": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_spatial_profiles.py", + "symbol": "test_correct_shapes", + "lines": [ + 47, + 47 + ], + "text_sha256": "5981e12d911b22d427fb97a8f22dd696c1b3f4442c038be306a31b48396dc618" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert snap.rho.shape == (N,)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-9aae118b8b82c8c09c3860a1": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_spatial_profiles.py", + "symbol": "test_correct_shapes", + "lines": [ + 48, + 48 + ], + "text_sha256": "e9bf66daeb7bc7f33c4e3e3c1c9ad0db2ac28a9f5dd99e92b7c8f91a515b6ae7" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert snap.E.shape == (N - 1,)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-97fb7ff791cd46c4c56ffb7d": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_spatial_profiles.py", + "symbol": "test_e_field_consistent_with_phi", + "lines": [ + 103, + 103 + ], + "text_sha256": "374dc6cd197ac86c379a28c25f5698c2aab36acf48141c74cb4f2d983c82fd96" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_allclose(snap.E, E_expected, rtol=1e-10)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-777046c78fdfd3e914e7b5b8": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_spatial_profiles.py", + "symbol": "test_ion_density_nonnegative", + "lines": [ + 72, + 72 + ], + "text_sha256": "29a75bf067ba86c933667c07854c7c149d3d9bd1481253ed6738d78a268ba57b" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.all(snap.P >= 0), \"Ion density should be non-negative\"", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-e7295bbc7467e58cb2392548": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_spatial_profiles.py", + "symbol": "test_ion_density_nonnegative", + "lines": [ + 74, + 74 + ], + "text_sha256": "183c019f1401d512b6eab87d834132b8bab31d543e5c73953c80ce842673cda7" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.any(snap.P > 0), \"Expected non-zero ion density in perovskite\"", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-4f35c93d3534ad3be32f28cc": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_spatial_profiles.py", + "symbol": "test_phi_boundary_conditions", + "lines": [ + 94, + 94 + ], + "text_sha256": "eb5c1fbc2d53a56fd1b3490b9ec2b562b1cff2419871631389718aab150dd607" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert abs(snap.phi[0]) < 1e-10, f\"phi(0) = {snap.phi[0]}, expected 0\"", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-4d50e7a5d3d1aa3ec63231b9": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_dual_ion_integration.py", + "symbol": "TestDualIonJV.test_jv_dual_species", + "lines": [ + 83, + 83 + ], + "text_sha256": "a272c6559925a02ffd968de5bf628af69647c2512b393773fd15ab2b37121350" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert 0.8 < V_oc < 1.3, f\"V_oc={V_oc:.3f} out of range\"", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-a67707ba91ffaa28a738a9bd": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_dual_ion_integration.py", + "symbol": "TestDualIonJV.test_jv_dual_species", + "lines": [ + 84, + 84 + ], + "text_sha256": "33a409b43a7a7a9321fe8ecaa8fc64f462dcf3f0c721b5d157ab0157fb9f3f1b" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert 100 < J_sc < 400, f\"J_sc={J_sc:.1f} out of range\"", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-b655b2c300eebb5d1f279af4": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_dual_ion_integration.py", + "symbol": "TestDualIonJV.test_jv_dual_vs_single_similar", + "lines": [ + 95, + 95 + ], + "text_sha256": "83cee023fe1d6aebff7f89d52be8d2237daf653e60ef5a5c4f35772eff8d20dc" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert 0.8 < ratio < 1.2, f\"J_sc ratio={ratio:.2f}\"", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-2478f4fa2a5cd384ef2d83f5": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_e1_5_cross_carrier_srh.py", + "symbol": "test_cross_carrier_preserves_baseline_voc", + "lines": [ + 120, + 123 + ], + "text_sha256": "9d8ed484748c6b7043d9b5d260f0e3897486667689f6ca66d733fb3aadfa40c4" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert 1.05 <= r.metrics_fwd.V_oc <= 1.25, (\n f\"baseline V_oc={r.metrics_fwd.V_oc:.4f} V outside SCAPS window \"\n \"[1.05, 1.25] — recalibrate SRV or update window\"\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-53012f39d80eeaab5181236f": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_e1_6_calibration_factor.py", + "symbol": "test_n_t_calibration_factor_equivalence_on_scaps_mirror", + "lines": [ + 89, + 92 + ], + "text_sha256": "1c1aeac060bc7b77f93d30e9f58e04a829a0b68b6e9cb5a1cc7c3b5121942375" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert voc_equiv == pytest.approx(voc_baseline, abs=1.0e-3), (\n f\"V_oc mismatch: baseline={voc_baseline:.4f} V, \"\n f\"equiv={voc_equiv:.4f} V (expected within 1 mV — same effective SRV)\"\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-b50cb6bafd33975b8b1ec068": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_e1_6_calibration_factor.py", + "symbol": "test_scaps_mirror_baseline_unchanged_post_e1_6_migration", + "lines": [ + 107, + 107 + ], + "text_sha256": "6f96f901c95f364455ab8e398802de47fa51dcdad95fe28c27b30d8d08b50b25" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert stack.interface_defects[-1].calibration_factor == pytest.approx(1.0e-4)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-40012073b938a30438a4dbe0": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_e1_6_calibration_factor.py", + "symbol": "test_scaps_mirror_baseline_unchanged_post_e1_6_migration", + "lines": [ + 110, + 110 + ], + "text_sha256": "27836a8ae5b308377bb679549200c858da79b4e9ef4cde9100b9ca26385d4e75" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert 1.05 <= r.metrics_fwd.V_oc <= 1.25", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-6229c20efe319e1df78c2827": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_e3_interface_plane_assemble_rhs.py", + "symbol": "test_jv_sweep_legacy_voc_when_env_unset", + "lines": [ + 124, + 124 + ], + "text_sha256": "ff5bb85b45aa24d2db41068434d8421a69a665700e21f6245b3b1dd5648bd3ed" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert r.metrics_fwd.voc_bracketed", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-4a937f43074e9a9c1920bcf8": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_e3_interface_plane_assemble_rhs.py", + "symbol": "test_jv_sweep_legacy_voc_when_env_unset", + "lines": [ + 125, + 125 + ], + "text_sha256": "7f580993a785002bd19982ee926f42072c25e94ef555a1b781203e607c902b8d" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert r.metrics_fwd.V_oc == pytest.approx(_LEGACY_V_OC, abs=5.0e-3)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-01322d98f4231637717593c9": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_e3_interface_plane_assemble_rhs.py", + "symbol": "test_jv_sweep_voc_moves_when_env_active", + "lines": [ + 136, + 136 + ], + "text_sha256": "ff5bb85b45aa24d2db41068434d8421a69a665700e21f6245b3b1dd5648bd3ed" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert r.metrics_fwd.voc_bracketed", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-43ffbe25602987eaf0e03b03": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_e3_interface_plane_assemble_rhs.py", + "symbol": "test_jv_sweep_voc_moves_when_env_active", + "lines": [ + 138, + 138 + ], + "text_sha256": "50737d428d4731a65e9758c0d7dfce80738b5943ef8c7722a0208a393cfcc9a8" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert 0.8 <= voc <= 1.3, f\"V_oc {voc} outside physical envelope\"", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-7242b2aaaece78b1107b5334": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_e3_interface_plane_assemble_rhs.py", + "symbol": "test_jv_sweep_voc_moves_when_env_active", + "lines": [ + 141, + 144 + ], + "text_sha256": "d6d72072a9fdfa515f7843e4e3d47351aae7b70a5eac69aaf3aaced99ffb8392" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert abs(voc - _LEGACY_V_OC) >= 5.0e-4, (\n f\"V_oc {voc} did not move from legacy {_LEGACY_V_OC}; \"\n f\"interface-plane state may be silently bypassed\"\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-6255132e7ae8c2cb51935ef5": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_e4_split_integration.py", + "symbol": "test_jv_sweep_voc_in_envelope_with_split", + "lines": [ + 110, + 110 + ], + "text_sha256": "ff5bb85b45aa24d2db41068434d8421a69a665700e21f6245b3b1dd5648bd3ed" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert r.metrics_fwd.voc_bracketed", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-af1216a96f16eea3ab4004bc": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_e4_split_integration.py", + "symbol": "test_jv_sweep_voc_in_envelope_with_split", + "lines": [ + 112, + 112 + ], + "text_sha256": "50737d428d4731a65e9758c0d7dfce80738b5943ef8c7722a0208a393cfcc9a8" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert 0.8 <= voc <= 1.3, f\"V_oc {voc} outside physical envelope\"", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-eef8a64a3d8e9ca9be8c5515": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_metastable_dynamic_transient.py", + "symbol": "test_analytic_step_is_the_exact_two_state_solution", + "lines": [ + 219, + 224 + ], + "text_sha256": "8f02a1dc1181f29913c22ca623fe033a60e2215a329add1cf76e9f691367bacd" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_allclose(\n step.donor_fraction,\n expected,\n rtol=0.0,\n atol=1.0e-16,\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-9293bbb7938d901c9d42605b": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_metastable_dynamic_transient.py", + "symbol": "test_analytic_step_is_the_exact_two_state_solution", + "lines": [ + 248, + 253 + ], + "text_sha256": "9f71c23232dbbfdd5683e46537ae59106324d1b4584dfc9e84a63bbcb4cbf493" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_allclose(\n whole.donor_fraction,\n step.donor_fraction,\n rtol=1.0e-14,\n atol=0.0,\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-930783e082fca68fe0a7721e": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_metastable_dynamic_transient.py", + "symbol": "test_charge_transfer_identity_holds_to_machine_precision", + "lines": [ + 168, + 168 + ], + "text_sha256": "2152492f93e090a652d5bd6482337eedcde7fac8590f26d668aa8c33636f1fd8" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.certificate.maximum_charge_transfer_relative_error < 1.0e-12", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-d7273448485d0bdb28c2848f": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_metastable_dynamic_transient.py", + "symbol": "test_charge_transfer_identity_holds_to_machine_precision", + "lines": [ + 169, + 169 + ], + "text_sha256": "aaa98f9138cb1c0bae815cbe7ce2f32eb9842834c8e8f9dccdfa1cb7ce351707" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.configuration_charge_transfer_C_m2.size == times.size - 1", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-68c7ccdebbe8ea478f21b6d2": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_metastable_dynamic_transient.py", + "symbol": "test_charge_transfer_identity_holds_to_machine_precision", + "lines": [ + 170, + 170 + ], + "text_sha256": "fd634a3da30decc845d777788bb9ca21ea8a526ed790c573d2eee36385507c75" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.all(np.isfinite(result.configuration_charge_transfer_C_m2))", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-456da05620c2a6c4dce5e549": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_metastable_dynamic_transient.py", + "symbol": "test_dynamic_state_stays_bounded_without_clipping", + "lines": [ + 188, + 188 + ], + "text_sha256": "8cc4c50cff701e44fbfb7ca0d22c2023948eb7171baeb57fdc33fc878579adb1" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.certificate.clipping_used is False", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-c19b6f27fdd7e97b25983d8e": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_metastable_dynamic_transient.py", + "symbol": "test_dynamic_state_stays_bounded_without_clipping", + "lines": [ + 189, + 189 + ], + "text_sha256": "9e8c47421265358c28c5e263ae449e2999285dca8ebaed0efbfde0a6b5b35434" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.certificate.minimum_fraction > 0.0", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-3c31900c9e6d7a347e46a18f": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_metastable_dynamic_transient.py", + "symbol": "test_dynamic_state_stays_bounded_without_clipping", + "lines": [ + 190, + 190 + ], + "text_sha256": "185cce60285629e851de6a97724a721f4fa5241ca2bb4497a1632ed5789d4542" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.certificate.maximum_fraction < 1.0", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-611c5d2798967041fdc4407d": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_metastable_dynamic_transient.py", + "symbol": "test_dynamic_state_stays_bounded_without_clipping", + "lines": [ + 191, + 191 + ], + "text_sha256": "713fb46a06af3dd2b32356300dc0d822ee3600c7de71885e4e3950398da6cc9e" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.all(np.isfinite(result.donor_fraction))", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-8ca6e718c4b47c6c0f7360ac": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_metastable_dynamic_transient.py", + "symbol": "test_fast_limit_lands_on_the_measurement_stationary_configuration", + "lines": [ + 117, + 117 + ], + "text_sha256": "4b93c4bc6c69c1b91d193570e489a76ab9793888dfa0b1ff1f7e6ee65102c8f1" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.certificate.maximum_step_over_relaxation_time > 10.0", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-67a7647c8cdaf4c31fea7a78": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_metastable_dynamic_transient.py", + "symbol": "test_fast_limit_lands_on_the_measurement_stationary_configuration", + "lines": [ + 118, + 118 + ], + "text_sha256": "b579ac2c48764e5111c0ee74b1915497b81596c94e96cc7de28c46023d90b07e" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.certificate.reasons == (\"operator_splitting_not_resolved\",)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-446e4472882e0a7d1883816c": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_metastable_dynamic_transient.py", + "symbol": "test_fast_limit_lands_on_the_measurement_stationary_configuration", + "lines": [ + 125, + 125 + ], + "text_sha256": "5703295a6a8055643bf8f126c4b24384b8545ff4e5f964a909c39b07b905276d" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.max(np.abs(result.donor_fraction[-1] - result.donor_fraction[0])) > 1.0e-3", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-0f66bb13b126e69cf03f6567": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_metastable_dynamic_transient.py", + "symbol": "test_fast_limit_lands_on_the_measurement_stationary_configuration", + "lines": [ + 119, + 124 + ], + "text_sha256": "f931a44d4d8090ef28b182a8c6c739edf96136c51f0231e9225fcfed8264838e" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_allclose(\n result.donor_fraction[-1],\n result.stationary_fraction[-1],\n rtol=0.0,\n atol=1.0e-15,\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-5aff546ab22aecdb032eea65": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_metastable_dynamic_transient.py", + "symbol": "test_resolved_trace_is_certified_and_relaxes_monotonically", + "lines": [ + 143, + 143 + ], + "text_sha256": "0b697bc41f6149161e998bb0e2816a4f99e426edffb438b67cf31f29cef909d8" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.certificate.certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-315b562e442f55a85f020b80": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_metastable_dynamic_transient.py", + "symbol": "test_resolved_trace_is_certified_and_relaxes_monotonically", + "lines": [ + 144, + 144 + ], + "text_sha256": "84a30ce0a0afd7e676ff4c7f806ecdd562f18a2d7ecc641bde872faa82b711fc" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.certificate.step_count == times.size", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-1c70c10027e51f2a6aaa9f55": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_metastable_dynamic_transient.py", + "symbol": "test_resolved_trace_is_certified_and_relaxes_monotonically", + "lines": [ + 150, + 150 + ], + "text_sha256": "30c51df3ebfc6add6cd5be869ef852f8d05c0dca7baa2bfc3a5f204bcdf684cb" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.all(np.diff(distance) < 0.0)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-ca5777fc6f67bfbec7525327": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_metastable_dynamic_transient.py", + "symbol": "test_slow_limit_leaves_the_prepared_configuration_in_place", + "lines": [ + 86, + 86 + ], + "text_sha256": "0b697bc41f6149161e998bb0e2816a4f99e426edffb438b67cf31f29cef909d8" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.certificate.certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-98bcb0e4c5bf15d044aa7a56": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_metastable_dynamic_transient.py", + "symbol": "test_slow_limit_leaves_the_prepared_configuration_in_place", + "lines": [ + 87, + 87 + ], + "text_sha256": "477345690db78b9cd50643d7079eb745ccaeb4ffd90dca6fc7cc7148331b28dd" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.certificate.reasons == ()", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-c223aeff8e2a8bb9c05cae17": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_metastable_dynamic_transient.py", + "symbol": "test_slow_limit_leaves_the_prepared_configuration_in_place", + "lines": [ + 88, + 88 + ], + "text_sha256": "b1a2de9098b27a09127923e790180cd5c8405511b02116fc635e389b9c3f2895" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.certificate.maximum_step_over_relaxation_time < 1.0e-3", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-0d9c7161ed8c9d2fe3ccdc14": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_metastable_dynamic_transient.py", + "symbol": "test_slow_limit_leaves_the_prepared_configuration_in_place", + "lines": [ + 90, + 90 + ], + "text_sha256": "52d9e32e4080b660eeb43548f2d093bc5e673d8456817879fe76f2c815f7c609" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert moved < 1.0e-3", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-74f5c672899a4f562e592af0": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_metastable_dynamic_transient.py", + "symbol": "test_slow_limit_leaves_the_prepared_configuration_in_place", + "lines": [ + 92, + 95 + ], + "text_sha256": "1009dc285617590d3ae7b5b9875f32ee908fdc01384e7085cef4705aa290e3dc" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert (\n np.max(np.abs(result.donor_fraction[-1] - result.stationary_fraction[-1]))\n > 1.0e-3\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-4c5a1d36e49df630546b57ab": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_metastable_dynamic_transient.py", + "symbol": "test_transient_rejects_a_mismatched_grid_or_temperature", + "lines": [ + 271, + 271 + ], + "text_sha256": "44e2bbb2c4d564b4fade6c969715a0c2d76537e7412b2c85f4f78c7d420c4408" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(MetastablePreparationError, match=\"grid does not match\"):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-bed3041fbfb271c4837aa603": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_metastable_dynamic_transient.py", + "symbol": "test_transient_rejects_a_mismatched_grid_or_temperature", + "lines": [ + 280, + 280 + ], + "text_sha256": "9d2f170bfa9ee5acdfacc0727d963891e22ed8326d1163a96ea402f5a32bd5e5" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(MetastableTransientError, match=\"LEGACY tier\"):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-d8479f2399e98e030f29b9d5": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_metastable_preparation_and_frozen_measurement.py", + "symbol": "test_any_protocol_change_changes_the_frozen_identity", + "lines": [ + 265, + 265 + ], + "text_sha256": "7c510bfa65498638677a78e9d76ef11a694e530a8fe5f4bc0add0b5f338a9daa" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert changed.protocol_sha256 != baseline.protocol_sha256", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-6064c71a2e8db0d08d3a78ad": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_metastable_preparation_and_frozen_measurement.py", + "symbol": "test_any_protocol_change_changes_the_frozen_identity", + "lines": [ + 266, + 266 + ], + "text_sha256": "0c19e888bb4e470c58c2511a35541efb6bae95f8b5dec991ebfc04863efc669a" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert changed.model.identity_sha256 != baseline.model.identity_sha256", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-b17e605d0c3fb8f414c7aa53": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_metastable_preparation_and_frozen_measurement.py", + "symbol": "test_any_protocol_change_changes_the_frozen_identity", + "lines": [ + 270, + 275 + ], + "text_sha256": "c825eb2c7426baf146724c003dea40881225d6465bfb6da283e306897411e3eb" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert not np.allclose(\n changed.donor_fraction,\n baseline.donor_fraction,\n rtol=1.0e-6,\n atol=0.0,\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-f33e5d9a79c5cf55385ec8e4": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_metastable_preparation_and_frozen_measurement.py", + "symbol": "test_frozen_jv_sweep_keeps_one_configuration_across_every_point", + "lines": [ + 322, + 322 + ], + "text_sha256": "aac9be6b68c7fabb23ab79d7d2c49cc157fa79786ee168142b9676cecfd24a32" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert sweep.certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-444b64a7e469fb4b07bc1175": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_metastable_preparation_and_frozen_measurement.py", + "symbol": "test_frozen_jv_sweep_keeps_one_configuration_across_every_point", + "lines": [ + 327, + 327 + ], + "text_sha256": "c9aae275681c2c66395b6b20c5b12c8a3658b792f14ecfb523d4ba722546d8e9" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert identities == {frozen.model.identity_sha256}", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-c99fd99edebdf1272426d681": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_metastable_preparation_and_frozen_measurement.py", + "symbol": "test_frozen_configuration_does_not_update_during_a_bias_sweep", + "lines": [ + 307, + 307 + ], + "text_sha256": "ca07160033ae9c43b140b160d625169b768f39a34706baafa09f7985130c3c7b" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert not np.allclose(states[0].y, states[-1].y, rtol=1.0e-9, atol=0.0)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-45f896d764086202aeeca9f1": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_metastable_preparation_and_frozen_measurement.py", + "symbol": "test_frozen_configuration_does_not_update_during_a_bias_sweep", + "lines": [ + 296, + 296 + ], + "text_sha256": "057b9281de27613443971763dbd34cee9a983afa4f913946d5954795507eb14f" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert state.certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-f7c7b89a9d8e4d19286f8a98": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_metastable_preparation_and_frozen_measurement.py", + "symbol": "test_frozen_configuration_does_not_update_during_a_bias_sweep", + "lines": [ + 298, + 298 + ], + "text_sha256": "9cafd50e0fe2f9d1cc5b4e4139a91a36a67402ee2dc835d791eec2663566c6c6" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert diagnostics is not None", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-f53b84fe35ed9b0009a631eb": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_metastable_preparation_and_frozen_measurement.py", + "symbol": "test_frozen_configuration_does_not_update_during_a_bias_sweep", + "lines": [ + 304, + 304 + ], + "text_sha256": "c4d0d964cda5d4a8dc73b86a5747aaba1e13f4f6e4b763818e501bc01fa2491d" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert diagnostics.model_identity_sha256 == frozen.model.identity_sha256", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-546dda7c70e3c1d383075b47": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_metastable_preparation_and_frozen_measurement.py", + "symbol": "test_frozen_configuration_does_not_update_during_a_bias_sweep", + "lines": [ + 300, + 303 + ], + "text_sha256": "5f4304d9a8965adca02db63420494096b1185a444f11fd2c5680418a9649eff2" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_array_equal(\n np.asarray(diagnostics.donor_fraction, dtype=float)[owned],\n frozen.donor_fraction,\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-1970adb506a9cbd27027ef57": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_metastable_preparation_and_frozen_measurement.py", + "symbol": "test_measurement_rejects_a_mismatched_grid", + "lines": [ + 333, + 333 + ], + "text_sha256": "44e2bbb2c4d564b4fade6c969715a0c2d76537e7412b2c85f4f78c7d420c4408" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(MetastablePreparationError, match=\"grid does not match\"):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-cdda11c41e02909a3bb46f66": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_mott_schottky.py", + "symbol": "test_csi_cv_rejects_underresolved_grid", + "lines": [ + 258, + 258 + ], + "text_sha256": "160fbc3fcec4b51e29d0bbd35a3c6c60d1337aed368c17a08456d05ecb620744" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(GridResolutionError, match=\"under-resolved\"):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-d9248dfe825cc3e84a5d2143": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_mott_schottky.py", + "symbol": "test_cv_rejects_noncapacitive_admittance", + "lines": [ + 201, + 201 + ], + "text_sha256": "e245e33216c73a6d66df8a1d1e056246f77938a6853e3f9437c87961198cae60" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(RuntimeError, match=\"positive capacitive susceptance\"):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-37894663d964f365c0dbc561": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_mott_schottky.py", + "symbol": "test_cv_wrapper_recovers_analytic_capacitive_impedance", + "lines": [ + 244, + 244 + ], + "text_sha256": "0684db1cc646a94ac1790d0029b0554cb0e61d8ffe6baa9133e3489c3988ac43" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert isinstance(r, MottSchottkyResult)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-ba502d539df597b34e4d1f6e": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_mott_schottky.py", + "symbol": "test_cv_wrapper_recovers_analytic_capacitive_impedance", + "lines": [ + 245, + 245 + ], + "text_sha256": "4e4ff886206a90bad9e9734798a23e44cc7fd3a9ca90bb438e8cabbfd9e5cf52" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert r.V.shape == r.C.shape == r.one_over_C2.shape", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-321023ef67fc6294aba9513f": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_mott_schottky.py", + "symbol": "test_cv_wrapper_recovers_analytic_capacitive_impedance", + "lines": [ + 247, + 247 + ], + "text_sha256": "03b918588eaea65118d7fade8c03405e57ee11f184d1ba640034a4432b8d65f1" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.all(np.isfinite(r.one_over_C2))", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-8a065c6b16c1776e55b73b6b": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_mott_schottky.py", + "symbol": "test_cv_wrapper_recovers_analytic_capacitive_impedance", + "lines": [ + 248, + 248 + ], + "text_sha256": "77896d3e321d7173dedcc1b77d05b7bc08a9cbb6902f1fd56f221a2e04956b40" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert r.frequency == pytest.approx(frequency)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-f3330a8d687a5819ae26559f": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_mott_schottky.py", + "symbol": "test_cv_wrapper_recovers_analytic_capacitive_impedance", + "lines": [ + 250, + 250 + ], + "text_sha256": "9d5f3e823f29cec2092e4f4fd576573d685e737989d9e22e5a8739f191d698c5" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert r.V_bi_fit == pytest.approx(V_bi_true, abs=0.01)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-7263735d6e13baea19e4d368": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_mott_schottky.py", + "symbol": "test_cv_wrapper_recovers_analytic_capacitive_impedance", + "lines": [ + 251, + 251 + ], + "text_sha256": "f2b72bc8b1268c3a485a305c802802f86ac4e54614ce1523ab5b5b186fab16c0" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.log10(r.N_eff_fit) == pytest.approx(np.log10(N_true), abs=0.02)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-cab020bc6774f527422feff8": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_mott_schottky.py", + "symbol": "test_cv_wrapper_recovers_analytic_capacitive_impedance", + "lines": [ + 252, + 252 + ], + "text_sha256": "6cf08ea6f903d6eadcbd36fd7dbb36b91ffa16cc5123b82c673eaaced91f6d29" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert r.V_fit_lo <= r.V_fit_hi", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-0c584d502a56b62a9ab160ae": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_mott_schottky.py", + "symbol": "test_cv_wrapper_recovers_analytic_capacitive_impedance", + "lines": [ + 253, + 253 + ], + "text_sha256": "bc74ef5eaf6de7827a09880fdb83cd12d3e50181ebe3cdf0bfd22e3bc1ea25b8" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert r.V[0] - 1e-9 <= r.V_fit_lo <= r.V_fit_hi <= r.V[-1] + 1e-9", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-bbe4f1b92d78cf61d7d5b43d": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_mott_schottky.py", + "symbol": "test_cv_wrapper_recovers_analytic_capacitive_impedance", + "lines": [ + 254, + 254 + ], + "text_sha256": "0e7d1ddfbd43d5ada7a99150262686d806089b4d0c3a50e0815bb19ca531059d" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert methods == [\"quasi_fermi_frequency\"] * V.size", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-48c0d9238d4c2c3ed4ac3696": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_mott_schottky.py", + "symbol": "test_cv_wrapper_recovers_analytic_capacitive_impedance", + "lines": [ + 246, + 246 + ], + "text_sha256": "957f0c0fc83ebdc402c64180f214030a68c348e2682bd015deee8e95201d8b78" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_allclose(r.C, C_expected, rtol=1e-12)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-9d2fa40e544b8edd870d094d": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_mott_schottky.py", + "symbol": "test_cv_wrapper_recovers_analytic_capacitive_impedance", + "lines": [ + 249, + 249 + ], + "text_sha256": "a234f7c114beabadc865e206218e6307b484f53a8cf78817664100f16efe2683" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_allclose(r.one_over_C2, 1.0 / (r.C * r.C), rtol=1e-12)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-9672480aa5194b6e0a6dc8f2": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_mott_schottky.py", + "symbol": "test_rejects_nonpositive_frequency", + "lines": [ + 278, + 278 + ], + "text_sha256": "00c21451789a20b6544512b7f34f625d390c1ad7ab49c9169732e0a57c375b09" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(ValueError, match=\"frequency\"):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-81d84338172ce9ae818836b4": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_mott_schottky.py", + "symbol": "test_rejects_sparse_v_range", + "lines": [ + 271, + 271 + ], + "text_sha256": "f6b3b71a4440e2a44a6577a5b77b51af50292f53d9e6b034ae209272c44a5359" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(ValueError, match=\"at least 3\"):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-da50e09817d3b66a64b6b314": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_combined_dc_warm_start.py", + "symbol": "test_four_interval_public_dc_matches_independent_fresh_solve", + "lines": [ + 65, + 65 + ], + "text_sha256": "0b697bc41f6149161e998bb0e2816a4f99e426edffb438b67cf31f29cef909d8" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.certificate.certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-32fe0af5568018bfdfb25792": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_combined_dc_warm_start.py", + "symbol": "test_four_interval_public_dc_matches_independent_fresh_solve", + "lines": [ + 66, + 66 + ], + "text_sha256": "b889edca039375d3b6ee3dc5851cc4e39e04ef9c84fb2263def157a0d91a4b3b" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.dc_state.certificate.certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-f421649329d077368c936bd9": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_combined_dc_warm_start.py", + "symbol": "test_four_interval_public_dc_matches_independent_fresh_solve", + "lines": [ + 67, + 67 + ], + "text_sha256": "626c9e7846c320ba1cdc073f83c13a8f5b744a98dcf4f4e514afaa6220eaa47c" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert fresh.certificate.certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-d9c2536b7fdde4c99aed880b": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_combined_dc_warm_start.py", + "symbol": "test_four_interval_public_dc_matches_independent_fresh_solve", + "lines": [ + 68, + 68 + ], + "text_sha256": "46bdb52f541ddd90dcc76bb318507b94e3e1f2478e54945672ee397026fcb66c" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.dc_state.certificate.maximum_normalized_residual <= 1.0e-8", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-20b9cc2de7ab895e527e4cf5": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_combined_dc_warm_start.py", + "symbol": "test_four_interval_public_dc_matches_independent_fresh_solve", + "lines": [ + 69, + 71 + ], + "text_sha256": "3320b3e6c77d567b39fbebbac3b1e2b93f19466c51975a281d4409fc7481633f" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_array_equal(\n result.dark_reference.equilibrium_occupancy, reference[\"f_ref\"]\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-2096771e053614efe41e4164": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_combined_dc_warm_start.py", + "symbol": "test_four_interval_public_dc_matches_independent_fresh_solve", + "lines": [ + 84, + 86 + ], + "text_sha256": "4f203f94afcc1281bb63daaa4fd5476778f897211d353b4beda704c75e3e3bec" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_allclose(\n result.dc_state.potential_V, fresh.potential_V, rtol=0.0, atol=1.0e-11\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-196d607e142196a6bfe0b058": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_combined_dc_warm_start.py", + "symbol": "test_four_interval_public_dc_matches_independent_fresh_solve", + "lines": [ + 78, + 83 + ], + "text_sha256": "77f9adb3c8b576bbbc995dbcc118878d289cdb18f4507c40bcca4d6d780e8475" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_allclose(\n getattr(result.dc_state, field),\n getattr(fresh, field),\n rtol=1.0e-9,\n atol=0.0,\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-ca4582e2b07a05c1e7456240": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_physics_validation.py", + "symbol": "test_opt_in_recording_preserves_all_original_numerical_results", + "lines": [ + 66, + 66 + ], + "text_sha256": "311f62119da93e82a774bdf5761a45ac25c52b7fb9ce83bd50fe359bea984c54" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert enhanced[\"certificate\"] == legacy[\"certificate\"]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-241de967da8186aea64f94f6": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_physics_validation.py", + "symbol": "test_opt_in_recording_preserves_all_original_numerical_results", + "lines": [ + 67, + 67 + ], + "text_sha256": "e2401c3a1412e13434dd695ede5ca13ac6367b4b3143c93c408b1a55880cec9c" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert enhanced[\"charge_integral\"] == legacy[\"charge_integral\"]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-82d1260a06223a03b34de2f6": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_physics_validation.py", + "symbol": "test_opt_in_recording_preserves_all_original_numerical_results", + "lines": [ + 68, + 68 + ], + "text_sha256": "4d7806fcfbf55f332559693426973dac754628c97d7f720b2daac64c739e9782" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert enhanced[\"regular_currents\"] == legacy[\"regular_currents\"]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-c1d4c62f79a0ecee44754ed2": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_physics_validation.py", + "symbol": "test_opt_in_recording_preserves_all_original_numerical_results", + "lines": [ + 63, + 63 + ], + "text_sha256": "d0c8690641c32549e6a6676fadb980addda5287014290d31bf8cce748ce9a198" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert enhanced[collection][name] == value", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-2d64a63b2440982e0065a6e7": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_physics_validation.py", + "symbol": "test_opt_in_recording_preserves_all_original_numerical_results", + "lines": [ + 65, + 65 + ], + "text_sha256": "835c9caddf6634fcab2dd0cc6f721e4636a0da697525dab7a43a09a91559303a" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_array_equal(enhanced[collection][name], value)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-923594aa5ed6adfbcea272ad": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_physics_validation.py", + "symbol": "test_reconstruction_failure_preserves_observed_state_and_coordinates", + "lines": [ + 282, + 282 + ], + "text_sha256": "939e1b8b74c6357bf57b63c21ba58f88734435399ef91b9d706b1ca8c5eb380a" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert len(result[\"accepted_steps\"]) == len(observed) == 2", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-2c9e5c76510a4b9fd5820dfa": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_physics_validation.py", + "symbol": "test_reconstruction_failure_preserves_observed_state_and_coordinates", + "lines": [ + 284, + 284 + ], + "text_sha256": "08c73a4d8cc2d9e33d6070a64c1161e2f88548b7a8f759a4cf680260385ad321" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert last[\"solver_accepted\"] and not last[\"physical_checks_passed\"]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-b8ef859045987214fc13bf2d": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_physics_validation.py", + "symbol": "test_reconstruction_failure_preserves_observed_state_and_coordinates", + "lines": [ + 285, + 285 + ], + "text_sha256": "e578a7f7ec7834c00d9f381690d9919531c440d2eb952da460a3da869eae9b2e" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert last[\"physics_reconstruction\"][\"available\"] is False", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-21d1f23f34acb16e082f6d23": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_physics_validation.py", + "symbol": "test_reconstruction_failure_preserves_observed_state_and_coordinates", + "lines": [ + 286, + 286 + ], + "text_sha256": "cb6d9446b225f314bd1b1ecfdd71acdba1d89159103df22e08d8d4f2ac643594" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.all(np.isfinite(last[\"physics_reconstruction\"][\"coordinate\"]))", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-fbb418ee568180457fb966cb": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_physics_validation.py", + "symbol": "test_reconstruction_failure_preserves_observed_state_and_coordinates", + "lines": [ + 287, + 287 + ], + "text_sha256": "61d80bfa1463ea061e7d38dea8ee9206a7823b58e06d32f2259ece475e9921a1" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert last[\"state\"][\"n_m3\"]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-e8f969ca1b5595ece476e28a": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_physics_validation.py", + "symbol": "test_reconstruction_failure_preserves_observed_state_and_coordinates", + "lines": [ + 288, + 290 + ], + "text_sha256": "93aff29cba5865a49600a4a07b407295486641c576c8d8e1ccb99ccfccb07776" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert sorted(result[\"certificate\"][\"reasons\"]) == [\n \"independent_physics_failed\", \"physics_reconstruction_failed\",\n ]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-3dc7664fec6d1c703abd1390": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_physics_validation.py", + "symbol": "test_reconstruction_failure_preserves_observed_state_and_coordinates", + "lines": [ + 277, + 277 + ], + "text_sha256": "20ef0b04268921d9aaf1a365554a1e97f507a75c1c7c7b5235db233077a00091" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(protocol.R1RunError) as caught:", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-34849f6912f0d9e4e08d0b51": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_numerical_precision.py", + "symbol": "test_original_failure_representatives_complete_without_gate_changes", + "lines": [ + 29, + 29 + ], + "text_sha256": "46cdf6fbb1ac8ecde286db7d7589c4778299a5c72b65e651c0fd50767fdbd3a2" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result[\"certificate\"][\"certified\"]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-6aed9d00bb2849fd73701cf5": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_numerical_precision.py", + "symbol": "test_original_failure_representatives_complete_without_gate_changes", + "lines": [ + 30, + 30 + ], + "text_sha256": "bccb88c4a3c309813c50d6912fc5b57f648f0f405c0ad0425425b8781f2e444b" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert len(result[\"accepted_steps\"]) == 31", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-ced0d3960887f0ade5478e6d": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_numerical_precision.py", + "symbol": "test_original_failure_representatives_complete_without_gate_changes", + "lines": [ + 31, + 31 + ], + "text_sha256": "59990e73411f63a1e6207df967883645b8e809e86a733200a9d744ca7e95bf1c" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert all(row[\"physical_checks_passed\"] for row in result[\"accepted_steps\"])", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-24a2b27ec6a241c8d77ad34a": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_numerical_precision.py", + "symbol": "test_original_failure_representatives_complete_without_gate_changes", + "lines": [ + 32, + 32 + ], + "text_sha256": "3a03d366c638336186864d15e7f54a41c9d7c1402bf8c5f3631f9429b583f504" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result[\"certificate\"][\"metrics\"][\"nonlinear_residual\"] <= .05", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-f3cc5ffed4f66091812f8207": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_numerical_precision.py", + "symbol": "test_original_failure_representatives_complete_without_gate_changes", + "lines": [ + 33, + 33 + ], + "text_sha256": "19745f0d4ac8f948124a0f5eb48da00a600dc44272168141ee35283b20041642" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert policy.maximum_all_face_current_spread_relative == 2e-6", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-d7015536c67304b0046160ee": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_numerical_precision.py", + "symbol": "test_original_failure_representatives_complete_without_gate_changes", + "lines": [ + 34, + 34 + ], + "text_sha256": "faba91d9bc87922d04a4e4a2f38598094cd30425c7f8fd73734370d94c293cf4" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert policy.maximum_charge_balance_relative_error == 1e-10", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-22b5eada3cbbc9e098c12439": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_numerical_precision.py", + "symbol": "test_original_failure_representatives_complete_without_gate_changes", + "lines": [ + 35, + 36 + ], + "text_sha256": "cc32d169b337fd13932442a9cc97ea17cbc0c0b446f351ae21b80a623e8b489a" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert (policy.maximum_newton_iterations, policy.maximum_line_search_steps,\n policy.maximum_near_acceptance_nonmonotone_steps) == (100, 40, 2)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-5a929c19864db50d2838bd69": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_numerical_precision.py", + "symbol": "test_strict_trace_roundtrips_exact_coordinates_and_physical_equations", + "lines": [ + 47, + 47 + ], + "text_sha256": "d6a564ead5c7d1540eabf543b4dedab3ea68ec136052934f101369a43d3ddc01" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert checked[\"certified\"] and checked[\"evidence_matches_equations\"]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-332d22d508304f523189b596": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_numerical_precision.py", + "symbol": "test_strict_trace_roundtrips_exact_coordinates_and_physical_equations", + "lines": [ + 48, + 48 + ], + "text_sha256": "a800ac5fddcc875cf429300eb0e4230d9cbccf7a299a70bf4f46f3da04579c1e" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert checked[\"checked_row_count\"] == checked[\"expected_row_count\"] == 31", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-2f7c3a0ba33d442a76adce4b": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_numerical_precision.py", + "symbol": "test_strict_trace_roundtrips_exact_coordinates_and_physical_equations", + "lines": [ + 49, + 49 + ], + "text_sha256": "f00b92c9d6824f4dd1642fc92fdc1cab8541c46ac501a4844ce474f35c232a38" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert checked[\"metrics\"] == result[\"certificate\"][\"metrics\"]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-dc13949bd51d75441c16d71e": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_regular_independence_v4.py", + "symbol": "test_actual_coarse_step_fault_is_rejected_by_computed_physics_not_injected_flags", + "lines": [ + 67, + 67 + ], + "text_sha256": "d0c47c4737d98f4f98c16411810ba6f801a08c44d451ec19390d20bbb4b132e9" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert row[\"substeps\"] == 4 and row[\"solver_accepted\"] is True", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-05d80d0f9e00c1adeeda81b4": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_regular_independence_v4.py", + "symbol": "test_actual_coarse_step_fault_is_rejected_by_computed_physics_not_injected_flags", + "lines": [ + 68, + 68 + ], + "text_sha256": "11e96c79463ae47a618b85fb532ff396ecefd89c84e5ab19c98cba97b7049438" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert row[\"substeps\"] < max(failed[\"policy\"][\"refinement_substeps\"])", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-aeaa3ca590fc78ab842682d9": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_regular_independence_v4.py", + "symbol": "test_actual_coarse_step_fault_is_rejected_by_computed_physics_not_injected_flags", + "lines": [ + 69, + 69 + ], + "text_sha256": "25f591846a9555de3c43c969db78ed9127854ad85e0ad23653b3187708b9bba7" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert independent[\"metrics\"][\"internal_face_current_spread_relative\"] < 2e-6", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-627fca5ad6ccfb56359579d8": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_regular_independence_v4.py", + "symbol": "test_actual_coarse_step_fault_is_rejected_by_computed_physics_not_injected_flags", + "lines": [ + 70, + 70 + ], + "text_sha256": "9dee916ae85f634c9be6a628d918f1b42a1f3424b8787753c066b18f9eaef79d" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert independent[\"metrics\"][\"contact_internal_current_spread_relative\"] > 2e-6", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-c82fab629eef24c9d0f0de06": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_regular_independence_v4.py", + "symbol": "test_actual_coarse_step_fault_is_rejected_by_computed_physics_not_injected_flags", + "lines": [ + 71, + 71 + ], + "text_sha256": "466232825e3642a78fb6a7d16777e14a3e4187e506fa4a8712e8ed343069a52c" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert independent[\"checks\"][\"contact_internal_current_spread_relative\"][\"passed\"] is False", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-83d9f7064fa4263f35a5cb29": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_regular_independence_v4.py", + "symbol": "test_actual_coarse_step_fault_is_rejected_by_computed_physics_not_injected_flags", + "lines": [ + 72, + 72 + ], + "text_sha256": "bdd638a25eeab6b7c724577b27e78e2d068f7ffe0a1ddb1ab564ec3a740a5f48" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert independent[\"assessment\"][\"content_consistent\"] is True", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-7d96422d1ce1064bb2feab8e": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_regular_independence_v4.py", + "symbol": "test_actual_coarse_step_fault_is_rejected_by_computed_physics_not_injected_flags", + "lines": [ + 73, + 73 + ], + "text_sha256": "aeae0f5b0cef0f0502e9267b31ca958d45ac8857d86d3dc7daa935d7213615bd" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert independent[\"assessment\"][\"conservation_compliant\"] is False", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-2d7ea2907819eee66e3dbde2": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_regular_independence_v4.py", + "symbol": "test_actual_coarse_step_fault_is_rejected_by_computed_physics_not_injected_flags", + "lines": [ + 74, + 74 + ], + "text_sha256": "1c86f06daac1e04c58fef5583ef97a982acef9b55d7ceca2d5e11adab9748905" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert observed[-1][\"physical_checks_passed\"] is False", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-9a27ab40d53275f13381c998": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_regular_independence_v4.py", + "symbol": "test_actual_coarse_step_fault_is_rejected_by_computed_physics_not_injected_flags", + "lines": [ + 76, + 76 + ], + "text_sha256": "910e8d5e40cc77e0ae3d74a54d613c122b1df1b018abd2c05df84f7c1ce17739" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert audit[\"independent_physics_passed\"] is False", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-5d5aed8eb1be8ba22f70b15b": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_regular_independence_v4.py", + "symbol": "test_actual_coarse_step_fault_is_rejected_by_computed_physics_not_injected_flags", + "lines": [ + 77, + 77 + ], + "text_sha256": "b06f2df7f04cab639d9ad3a377153f81e929263278b59ddbe5d257a1928899ab" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert audit[\"physical_limits_satisfied\"] is False", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-971c2a1064f04ae7cfaa1858": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_regular_independence_v4.py", + "symbol": "test_actual_coarse_step_fault_is_rejected_by_computed_physics_not_injected_flags", + "lines": [ + 61, + 61 + ], + "text_sha256": "329885280702b132b48d16364147ed6ceda9dd79c797594415aba41f29a7b1e2" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(R1RunError, match=\"contact_internal_current_spread_relative_exceeds_limit\") as error:", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-8b95a9ae4e240efdfa552108": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_v7_precision.py", + "symbol": "test_actual_fine_initialization_short_steps_and_exact_replay", + "lines": [ + 33, + 33 + ], + "text_sha256": "6e1bb24b7048514a8c306b1caa50a79dc3952de15e309e9d7931e1b8d48481ad" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert states.prepare_common_state is prepare_before", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-a45457d2a3bdd7c36c0b5786": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_v7_precision.py", + "symbol": "test_actual_fine_initialization_short_steps_and_exact_replay", + "lines": [ + 34, + 34 + ], + "text_sha256": "de8b6cce7dc4cff6d52b786959f4840001d9a9d735395e69d8ab9b78e5bb4a52" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert states.snapshot is snapshot_before", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-5b0ba95c424d5e278146ee53": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_v7_precision.py", + "symbol": "test_actual_fine_initialization_short_steps_and_exact_replay", + "lines": [ + 23, + 23 + ], + "text_sha256": "f38f81abe9c0e36d535244b1c8022b3df8b4e350bfcc0bcc87faaafc8c090719" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert prepared.to_dict()[\"schema\"]==\"R1CommonStatePairV1\"", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-71119fb1214b6acd43c97102": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_v7_precision.py", + "symbol": "test_actual_fine_initialization_short_steps_and_exact_replay", + "lines": [ + 25, + 25 + ], + "text_sha256": "ff3d2781155bb9ea6fff4167af84a757fca459ce4f092d8be024b7556c179c96" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.max(np.abs(initial.poisson_residual))<1e-30", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-c250200cce56d34455b662e8": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_v7_precision.py", + "symbol": "test_actual_fine_initialization_short_steps_and_exact_replay", + "lines": [ + 26, + 26 + ], + "text_sha256": "347b6889e1a5cca6000b4d91d186aea779f3fa5c06c4e3c2c83c70041fdc644d" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.any(initial.fine[\"phi_V\"].lo!=0)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-a4134785361d4e87cde99ed9": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_v7_precision.py", + "symbol": "test_actual_fine_initialization_short_steps_and_exact_replay", + "lines": [ + 29, + 29 + ], + "text_sha256": "a0b1d24284c7844a31c4f535c6716dc4f68ad1877d096d793926e95285ea5410" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result[\"certificate\"][\"certified\"]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-467b0d5c214a31686a577047": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_v7_precision.py", + "symbol": "test_actual_fine_initialization_short_steps_and_exact_replay", + "lines": [ + 30, + 30 + ], + "text_sha256": "c73aa64e6b1cfcf0ba5517790e70b667ad12327f937be4a5fc63f2f478a38d94" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert len(result[\"accepted_steps\"])==10 # 2+3+5 across all three levels.", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-69de7870231eaf44eb9230a7": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_v7_precision.py", + "symbol": "test_actual_fine_initialization_short_steps_and_exact_replay", + "lines": [ + 32, + 32 + ], + "text_sha256": "fbe942cf91f21f8636f474ceeca4abab1694e2abaea02c1b5f4d65b11535bc7a" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert verified[\"certified\"]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-244d21ee86a06a5897e5ac84": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_v8_ablation.py", + "symbol": "test_actual_short_ablation_and_replay_share_intervention", + "lines": [ + 24, + 24 + ], + "text_sha256": "0a8ff0a2c5cc0a625d1370c43d796e9b93e7249f4ea311d23676572c9dcc8f11" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result[\"expected_rows\"] == 5", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-b453a0b155cb6561b340411e": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_v8_ablation.py", + "symbol": "test_actual_short_ablation_and_replay_share_intervention", + "lines": [ + 25, + 25 + ], + "text_sha256": "76af3af1995be8a983867531a13eb866e0f7b13a50cce5c968cedd87de81dd47" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result[\"observed_rows\"] >= 3, result.get(\"failure\")", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-af809fad80c784b6af1e5eb2": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_v8_ablation.py", + "symbol": "test_actual_short_ablation_and_replay_share_intervention", + "lines": [ + 27, + 27 + ], + "text_sha256": "9b1ff5d17fda83a1216f2ec2ddd71bda6162c76bb252fea7f3c1def8524094f8" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert \"reference_quantization\" not in rows[0][\"physics_reconstruction\"]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-8854c3a2b85a039b77697888": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_v8_ablation.py", + "symbol": "test_actual_short_ablation_and_replay_share_intervention", + "lines": [ + 28, + 28 + ], + "text_sha256": "3ab35c23af6af27c41f463e951460c610557000ff4f43126a7c91e28121180b2" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert \"reference_quantization\" not in rows[1][\"physics_reconstruction\"]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-f19284d0f8e33f22d6702370": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_v8_ablation.py", + "symbol": "test_actual_short_ablation_and_replay_share_intervention", + "lines": [ + 29, + 29 + ], + "text_sha256": "3675f5e1df7443fbaa0cdc64401d5a895b7030536cafd697e75a60b8283d118b" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert \"reference_quantization\" in rows[2][\"physics_reconstruction\"]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-859c750142619adcd09951df": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_v8_ablation.py", + "symbol": "test_actual_short_ablation_and_replay_share_intervention", + "lines": [ + 31, + 31 + ], + "text_sha256": "4bad52000e760cca501b8c1f16af4f3dae21bff43c293a8bc7eb5de895b80bbb" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert intervention[\"physical_previous_unchanged\"]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-629bb11ef73d6cf51e474b55": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_v8_ablation.py", + "symbol": "test_actual_short_ablation_and_replay_share_intervention", + "lines": [ + 32, + 32 + ], + "text_sha256": "f2a7c2cf59683dbd3ac800f2acfcf8806f138a98efc02cc4f2615d07b7731709" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert intervention[\"reference_before_identity\"] == intervention[\"physical_previous_identity\"]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-3a888f3b80584edbcb9e3c0b": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_v8_ablation.py", + "symbol": "test_actual_short_ablation_and_replay_share_intervention", + "lines": [ + 36, + 36 + ], + "text_sha256": "ff74bfe48823b30a87ecdf9f42d872b02d3150b25904abdfd8f11cf053683f0d" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result[\"intervention_rows\"] >= 1", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-3b18d3ee11841a80b13fc6cb": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_v8_ablation.py", + "symbol": "test_actual_short_ablation_and_replay_share_intervention", + "lines": [ + 37, + 37 + ], + "text_sha256": "2cd5e0dedbd2ed54c0bd090aa5f2cefd14b7ca394eb5c9f118fe0acf5abd5015" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert not result[\"refinement_evidence\"][\"available\"]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-8eddd45f2241ee992b72f055": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_v8_ablation.py", + "symbol": "test_actual_short_ablation_and_replay_share_intervention", + "lines": [ + 40, + 40 + ], + "text_sha256": "b25158188fff861dcfe4cb69817d3233565eb254bd2fea5f41a007a626506ec1" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert metric_names == set(LIMITS) - {\"refinement_state_change\", \"refinement_current_change\"}", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-fed87e9da182ca40c46a1373": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_v8_ablation.py", + "symbol": "test_actual_short_ablation_and_replay_share_intervention", + "lines": [ + 42, + 42 + ], + "text_sha256": "c80cd06bd8f8c4b4369fee5e4ae8df18087dc94915bab0d8fd1526a8a3fd8863" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert replay[\"evidence_exact\"]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-213fd4a5b6ef14c7b93ebfb5": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_v8_ablation.py", + "symbol": "test_actual_short_ablation_and_replay_share_intervention", + "lines": [ + 43, + 43 + ], + "text_sha256": "4cc84cbf8f8db18020b54886cd6b64fe18a6e681fc3039ff0d2e19ba1adccd7c" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert replay[\"external_time_array_bound\"]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-8c7532d97f8ec58249d78331": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_global_reference.py", + "symbol": "test_each_actual_fixed_low_word_reaches_global_reference", + "lines": [ + 130, + 130 + ], + "text_sha256": "ec715010db2476c7ef5a67848299f94b750454b7a6a32c55ae22827f7ebee3f0" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.any((before[\"phi_V\"]-after[\"phi_V\"]).to_float() != 0)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-9645eb888252f67827277ba1": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_global_reference.py", + "symbol": "test_each_actual_fixed_low_word_reaches_global_reference", + "lines": [ + 127, + 127 + ], + "text_sha256": "6cd2534b3543f9e9059ba168e82e4e67bef1d8001ff7525afdd053d42cfb42fb" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_array_equal(changed[name].hi, fixed[name].hi)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-8310660ae92e2e30fca4d6be": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_global_reference.py", + "symbol": "test_global_poisson_and_near_cancelling_sg_match_90_digit_laws", + "lines": [ + 105, + 105 + ], + "text_sha256": "73082aad74e6e1913b303ae111702a51a34daa0dbc75fa412abfbf079cf50724" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert receipt[\"poisson\"][\"converged\"]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-0292742cc034c15775c6b697": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_global_reference.py", + "symbol": "test_global_poisson_and_near_cancelling_sg_match_90_digit_laws", + "lines": [ + 106, + 106 + ], + "text_sha256": "645af1f5743707d620b4cc8e8e3ebdab46c39d4ea115047e22d185b674b3a54d" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert receipt[\"carrier_mapping\"] == \"original_global_phi0_log_n0_log_p0\"", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-de2700a5ba08d9dc168122ce": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_global_reference.py", + "symbol": "test_global_poisson_and_near_cancelling_sg_match_90_digit_laws", + "lines": [ + 110, + 110 + ], + "text_sha256": "d1be18ef0bc02a3a28546fd01487f3f4339baaac99f678e56a74b81c181adb59" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert max(map(abs, truth[\"positive_flux_m2_s\"])) > Decimal(\"1e-19\")", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-903d5ca59cbf5f7a38b9cf51": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_global_reference.py", + "symbol": "test_global_poisson_and_near_cancelling_sg_match_90_digit_laws", + "lines": [ + 111, + 111 + ], + "text_sha256": "8941d54fff4409d2977de6cc191fc9134ee377d98752b64453af3a160d5047a2" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert max(map(abs, truth[\"poisson_residual_C_m2\"])) < Decimal(\"1e-48\")", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-2cb4d3d39a0a45c46096c646": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_global_reference.py", + "symbol": "test_global_poisson_and_near_cancelling_sg_match_90_digit_laws", + "lines": [ + 116, + 116 + ], + "text_sha256": "7a83e9e060ee12671adecaf071aa87fc4cae991be677098cddee17c51d76da1b" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert abs(_represented(actual)-wanted) < limit", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-e111bab9d51420b5552753b6": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_global_reference.py", + "symbol": "test_rebased_and_global_maps_agree_only_for_a_global_consistent_origin", + "lines": [ + 204, + 204 + ], + "text_sha256": "8bb18b8e679624a1ab3b01db380ddfbb48e2833dd34585e61b7ee9a56a82ae8e" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert float(np.max(np.abs((global_fields[\"phi_V\"]-inconsistent[\"phi_V\"]).to_float()))) > 1e-6", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-ddc81d013e812341c044ab95": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_global_reference.py", + "symbol": "test_rebased_and_global_maps_agree_only_for_a_global_consistent_origin", + "lines": [ + 203, + 203 + ], + "text_sha256": "4560ff3ce92725f0eca2146f5ef3b7a407be2dbc103ba2585c7f22a736c792d7" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert float(np.max(np.abs((global_fields[key]-consistent[key]).to_float()))) < 1e-29", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-1f25b21d1b187f8495ac8596": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_global_reference.py", + "symbol": "test_baseline_adapter_keeps_actual_zero_lows_high_subtraction_and_other_channels", + "lines": [ + 224, + 224 + ], + "text_sha256": "7cb6e164694b32f6673c457af0a58a505d852492a5061a99f93f67f2d73a427e" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result[\"unrelated\"] is legacy[\"unrelated\"]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-bd5b44441433d72f44d9a289": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_global_reference.py", + "symbol": "test_baseline_adapter_keeps_actual_zero_lows_high_subtraction_and_other_channels", + "lines": [ + 225, + 225 + ], + "text_sha256": "e53a7b27caf37781aa17c58fc7cfeb113cf0b6ea45d3287498f608d4fee52203" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result[\"potential\"] is legacy[\"potential\"]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-7026c6a6cef0006c3da3722a": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_global_reference.py", + "symbol": "test_baseline_adapter_keeps_actual_zero_lows_high_subtraction_and_other_channels", + "lines": [ + 226, + 226 + ], + "text_sha256": "8e83588fa09bafdbe56f06f083c9f4505338190bb3342d85efa70a9ff99f8978" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert not hasattr(state, \"fine\") and not hasattr(state, \"input_lift\")", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-f3f35cb05da574b6a3d2f42c": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_global_reference.py", + "symbol": "test_baseline_adapter_keeps_actual_zero_lows_high_subtraction_and_other_channels", + "lines": [ + 233, + 233 + ], + "text_sha256": "2e63599b9a6aa753189b5394518981880865d8c0550c1cdc5bc1ad59422417df" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result[\"positive_ion_rate\"][\"relative_error\"] > 1e-6 # A bad direct state still fails.", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-257d6051cf41a46dba96b822": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_global_reference.py", + "symbol": "test_baseline_adapter_keeps_actual_zero_lows_high_subtraction_and_other_channels", + "lines": [ + 229, + 229 + ], + "text_sha256": "be967a1042b2a88624469e5acbb26ac5faed8d119672eed3a00e9916b0481345" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert row[\"legacy_binary64\"] is not legacy[name]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-68ed38f9029f7c7431341e81": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_global_reference.py", + "symbol": "test_baseline_adapter_keeps_actual_zero_lows_high_subtraction_and_other_channels", + "lines": [ + 230, + 230 + ], + "text_sha256": "c888c40523ed53a6ae9f1c4bb945e0e72a437c1dc8b2b23b5f8da18f4d8146fc" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert row[\"normalization_floor\"] == legacy[name][\"normalization_floor\"]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-9dc9631e3a32c3df89ca8fe1": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_global_reference.py", + "symbol": "test_baseline_adapter_keeps_actual_zero_lows_high_subtraction_and_other_channels", + "lines": [ + 232, + 232 + ], + "text_sha256": "e56aaa331fbf1fcab3d74c6cf22b1632075fa17ef58487c92b17da8b4ae5b579" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert row[\"relative_error\"] == np.max(np.abs(row[\"difference\"]))/row[\"normalization_scale\"]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-d4acc4b88474a8086cc8785c": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_global_reference.py", + "symbol": "test_baseline_adapter_keeps_actual_zero_lows_high_subtraction_and_other_channels", + "lines": [ + 231, + 231 + ], + "text_sha256": "cfaa3783dadc636d8cbc873f729dc2f98c0b699bd72e68a92898186d69f1acd3" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_array_equal(row[\"difference\"], row[\"direct\"]-row[\"eliminated\"])", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-34eb4cbadf9565d7fb318634": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_global_reference.py", + "symbol": "test_baseline_adapter_keeps_actual_zero_lows_high_subtraction_and_other_channels", + "lines": [ + 236, + 236 + ], + "text_sha256": "33775f145056d6b27e133cea7377d999865a87881f6d3233fb8d22921d8d672c" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_array_equal(saved_fixed[name][\"lo\"], 0.)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-f2eca2de72ef9174487108aa": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_global_reference.py", + "symbol": "test_baseline_adapter_keeps_actual_zero_lows_high_subtraction_and_other_channels", + "lines": [ + 238, + 238 + ], + "text_sha256": "ec28063def46a5322638663a7e37a16b70fe9ebc96d5c910ea41c8d1d59f8f8d" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(TypeError, match=\"binary64\"):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-b10a74b44189bb76c6a4bd54": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_global_reference.py", + "symbol": "test_baseline_legacy_label_evaluates_old_law_at_both_actual_high_potentials", + "lines": [ + 323, + 323 + ], + "text_sha256": "8fd3ba633ae2206e2dd03bb82c6e4fa44b0211a08d9a342c27a9bb94be73c9d0" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert rate[\"normalization_floor\"] == 2.", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-a38741d1bdeea3a1780490e6": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_global_reference.py", + "symbol": "test_baseline_legacy_label_evaluates_old_law_at_both_actual_high_potentials", + "lines": [ + 324, + 324 + ], + "text_sha256": "85fed23564c96467d5d777586387dd02c293c71983ed3c0f6646cf4e3f5d78a7" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert rate[\"relative_error\"] == 1/3", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-6f6f2562aec28c1224002cb1": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_global_reference.py", + "symbol": "test_baseline_legacy_label_evaluates_old_law_at_both_actual_high_potentials", + "lines": [ + 325, + 325 + ], + "text_sha256": "bd2594d67024a85f63522b1b4589abbd1f9239fbf2d96799167d547daabebb4d" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result[\"positive_ion_rate\"][\"direct\"].tolist() == [888.]*4", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-d7227783aeb28c96b395eeca": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_global_reference.py", + "symbol": "test_baseline_legacy_label_evaluates_old_law_at_both_actual_high_potentials", + "lines": [ + 328, + 328 + ], + "text_sha256": "3f07357964def0a64639b7b539733e2048217ae6558419444cc014845116c9f5" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert len(calls) == 2", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-dfe10222dd95efa1f9d03bda": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_global_reference.py", + "symbol": "test_baseline_legacy_label_evaluates_old_law_at_both_actual_high_potentials", + "lines": [ + 313, + 313 + ], + "text_sha256": "2447668f609775e1fe65317983a2b406940a12dc1ed7e9110091772bd7cdffb8" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert owner is system and positive is state.positive and negative is None", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-a54ccbfdf05c74efebe1d157": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_global_reference.py", + "symbol": "test_baseline_legacy_label_evaluates_old_law_at_both_actual_high_potentials", + "lines": [ + 319, + 319 + ], + "text_sha256": "4ff7104e9d079e30799833b4fc07c31d4be045b77667dd0ed0bb00784b583892" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_array_equal(calls, [state.phi, values[\"potential\"][\"eliminated\"]])", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-eee3bd1bedcfab8d5e7a241b": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_global_reference.py", + "symbol": "test_baseline_legacy_label_evaluates_old_law_at_both_actual_high_potentials", + "lines": [ + 321, + 321 + ], + "text_sha256": "1b77b4edffdd5348a09848ced95cf45913b1dfb2ac21b399bac4e2a2752e0d22" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_array_equal(rate[\"direct\"], 2.)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-24f43a12d92522e1c696cce5": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_global_reference.py", + "symbol": "test_baseline_legacy_label_evaluates_old_law_at_both_actual_high_potentials", + "lines": [ + 322, + 322 + ], + "text_sha256": "06cfaa71710935c27e5e0b502f7dd52072290a30ca022768f804bd0505b5023f" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_array_equal(rate[\"eliminated\"], 3.)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-cc1c8b045049012447111bcc": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_global_reference.py", + "symbol": "test_baseline_legacy_label_evaluates_old_law_at_both_actual_high_potentials", + "lines": [ + 333, + 333 + ], + "text_sha256": "a0662e1b655891bfc0ea19a45cac355671efd40bce5d5db58aefe8848ae5f9a8" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert legacy[\"relative_error\"] == 0.", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-f9182e0fd23c715c3e4fa9d5": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_global_reference.py", + "symbol": "test_baseline_legacy_label_evaluates_old_law_at_both_actual_high_potentials", + "lines": [ + 331, + 331 + ], + "text_sha256": "345c56a54131d678888c3790374402618585e0a8d916e2ca53eb459053584c55" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_array_equal(legacy[\"direct\"], 0.)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-22e6f45dd562a040c2f8beb7": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_global_reference.py", + "symbol": "test_baseline_legacy_label_evaluates_old_law_at_both_actual_high_potentials", + "lines": [ + 332, + 332 + ], + "text_sha256": "fa042f5f5223dca41063f4f79b1fc81d2883280b0834b195bb97868ec1f1aceb" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_array_equal(legacy[\"eliminated\"], 0.)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-64a9f7412baf179f50f450d2": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_global_reference.py", + "symbol": "test_baseline_rounds_constraint_before_sg_and_retains_failed_full_root_diagnostic", + "lines": [ + 276, + 276 + ], + "text_sha256": "9ce664ab8412c29d2ef052ae0e6670a700034d479024beccf74c097b8a6d56c5" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert set(result) == set(values) # No new qualification channels.", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-607fd9c00cbbac7773cb6c02": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_global_reference.py", + "symbol": "test_baseline_rounds_constraint_before_sg_and_retains_failed_full_root_diagnostic", + "lines": [ + 282, + 282 + ], + "text_sha256": "9ab057713a320c0c7b58dda6798de117c3bb9475ceb91c7e8220883614bd4c20" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert boundary[\"constraint_phi_V\"] == _words(constraint)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-614847c9cec5a47a59389209": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_global_reference.py", + "symbol": "test_baseline_rounds_constraint_before_sg_and_retains_failed_full_root_diagnostic", + "lines": [ + 283, + 283 + ], + "text_sha256": "a74f376d6ffd266e8e31af2077c6a00bcba223545715ba20613b64779d1e8204" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert boundary[\"constitutive_phi_V\"] == _words(DD(phi))", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-8d4310330beec315992cc070": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_global_reference.py", + "symbol": "test_baseline_rounds_constraint_before_sg_and_retains_failed_full_root_diagnostic", + "lines": [ + 284, + 284 + ], + "text_sha256": "29a1e26f78b9e11bd536d7e7bd4ad3d10c2325ee3ce7326f743b9e567695890c" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert boundary[\"constitutive_minus_constraint_phi_V\"] == _words(DD(phi)-constraint)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-9dc3923b33fb3e71cd1ac366": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_global_reference.py", + "symbol": "test_baseline_rounds_constraint_before_sg_and_retains_failed_full_root_diagnostic", + "lines": [ + 285, + 286 + ], + "text_sha256": "a72298264813814c832f622d4c85b9d6140a67b8a6ce07885bb292dc1c053438" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.any(np.asarray(boundary[\"constitutive_minus_constraint_phi_V\"][\"lo\"]) != 0.) or np.any(\n np.asarray(boundary[\"constitutive_minus_constraint_phi_V\"][\"hi\"]) != 0.)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-8fc212583bdc523dc6e83242": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_global_reference.py", + "symbol": "test_baseline_rounds_constraint_before_sg_and_retains_failed_full_root_diagnostic", + "lines": [ + 295, + 295 + ], + "text_sha256": "477d369f95a2dbaa0d72979464952855153ba52777700e85d978f5b540db502b" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert observed_inputs[0] == observed_inputs[1]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-1cab4e92d803c49d4b146856": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_global_reference.py", + "symbol": "test_baseline_rounds_constraint_before_sg_and_retains_failed_full_root_diagnostic", + "lines": [ + 297, + 297 + ], + "text_sha256": "bbe3e48ce68c5322834d072246058fe874980771e853a46271a5ec028ca4e6de" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert changed_boundary[\"constitutive_phi_V\"] == boundary[\"constitutive_phi_V\"]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-31fdd3cbb34e84781a8202c4": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_global_reference.py", + "symbol": "test_baseline_rounds_constraint_before_sg_and_retains_failed_full_root_diagnostic", + "lines": [ + 298, + 298 + ], + "text_sha256": "8ab388b895c61e9cab690f0b4775da11b79f260e7197ca0c31fb0142854e8b2c" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert changed_boundary[\"same_word_transport\"] == boundary[\"same_word_transport\"]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-19921d6c267512b3f89ca834": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_global_reference.py", + "symbol": "test_baseline_rounds_constraint_before_sg_and_retains_failed_full_root_diagnostic", + "lines": [ + 299, + 299 + ], + "text_sha256": "f8f8245d2d79af03fbdf78357962ff5df75813cb5876b3cf34144424d5e1fc5a" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert changed[\"positive_ion_flux\"][\"relative_error\"] > 1e-6", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-3c410532719a971858ce6352": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_global_reference.py", + "symbol": "test_baseline_rounds_constraint_before_sg_and_retains_failed_full_root_diagnostic", + "lines": [ + 278, + 278 + ], + "text_sha256": "e5a73d283b503369ba2b63a86d28fce08e135b015eba084ac66c74b9733366b5" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result[name][\"relative_error\"] == 0.", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-2b014741323762c5285caa6f": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_global_reference.py", + "symbol": "test_baseline_rounds_constraint_before_sg_and_retains_failed_full_root_diagnostic", + "lines": [ + 279, + 279 + ], + "text_sha256": "8c4f66788c60462c4d56b71e1ccbff777f8a24163e0573971c0d700a5fc3e1d6" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result[name][\"normalization_floor\"] == values[name][\"normalization_floor\"]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-894be2889e450b0135678a45": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_global_reference.py", + "symbol": "test_baseline_rounds_constraint_before_sg_and_retains_failed_full_root_diagnostic", + "lines": [ + 289, + 289 + ], + "text_sha256": "f49e7b92c89aebbacc00c27c1fb0e37cead40e17216e28f90bd999672db09ab7" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert diagnostic[\"relative_error\"] > diagnostic[\"diagnostic_original_limit\"] == 1e-6", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-7c687f72d0ae547f6082be6a": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_global_reference.py", + "symbol": "test_pair_adapter_keeps_low_difference_v2_bindings_and_ignores_direct_sheet", + "lines": [ + 383, + 383 + ], + "text_sha256": "b948991930d607e965946a212ba9908d5ab6c539b4ef2c86e6eba14410aca423" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert evidence[\"schema\"] == \"R1EliminatedPrecisionV2\"", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-973cfc020ff8b0ca33c9272c": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_global_reference.py", + "symbol": "test_pair_adapter_keeps_low_difference_v2_bindings_and_ignores_direct_sheet", + "lines": [ + 385, + 385 + ], + "text_sha256": "77cd1650ae3ab7bb9f5f9a8091c773c67b87138f8c564b833de66d5c9578f7e0" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert evidence[\"solve\"][\"fixed_input_digest\"] == digest(shared)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-6a7931f43f16f46454594ae2": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_global_reference.py", + "symbol": "test_pair_adapter_keeps_low_difference_v2_bindings_and_ignores_direct_sheet", + "lines": [ + 386, + 386 + ], + "text_sha256": "2678f5d7d959c5d316b4f797f92a97d6da866e006e7eefef89e7ae0d8aa55738" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert evidence[\"solve_inputs\"][\"fixed_inputs\"] == shared", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-03456b694b43923eacfae3bc": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_global_reference.py", + "symbol": "test_pair_adapter_keeps_low_difference_v2_bindings_and_ignores_direct_sheet", + "lines": [ + 387, + 387 + ], + "text_sha256": "b3010cd730f20ecc455cb10b8e9d47f3540d9c686e0232494c2c70da9a316e99" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert evidence[\"solve\"][\"solve_inputs_digest\"] == digest(evidence[\"solve_inputs\"])", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-d56ce3d195f703f18c172526": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_global_reference.py", + "symbol": "test_pair_adapter_keeps_low_difference_v2_bindings_and_ignores_direct_sheet", + "lines": [ + 388, + 388 + ], + "text_sha256": "91f6e23822014e2bbf8552e359b1af1835d43faa763d4ae9f25bad9ca74b1191" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert evidence[\"solve\"][\"ion_input_digest\"] == digest(evidence[\"ion_inputs\"])", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-0fb112bc6288a06091c10e0b": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_global_reference.py", + "symbol": "test_pair_adapter_keeps_low_difference_v2_bindings_and_ignores_direct_sheet", + "lines": [ + 392, + 392 + ], + "text_sha256": "af186971b1825661258cd5d6678400f239283a3e454f6e4dac8a12012955643b" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert poisoned.precision_evidence[\"solve_inputs\"] == evidence[\"solve_inputs\"]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-daaab52ca8adf1bd8803c18c": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_global_reference.py", + "symbol": "test_pair_adapter_keeps_low_difference_v2_bindings_and_ignores_direct_sheet", + "lines": [ + 399, + 399 + ], + "text_sha256": "578e8364a79dab859d7afc18ec929e900802ef8b89ab4c8d773b7ad14d877a14" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.all(changed[\"positive_ion_flux\"][\"difference\"] != 0.)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-f5a78829cd54b28fcddf1ca3": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_global_reference.py", + "symbol": "test_pair_adapter_keeps_low_difference_v2_bindings_and_ignores_direct_sheet", + "lines": [ + 401, + 401 + ], + "text_sha256": "a78fd89039e3c4cbcfff14bd61a7f47901ed817de0236a2acedaa0d8dad4020d" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert owner.eliminated_operator_diagnostics(state, 0.)[\"positive_ion_flux\"][\"relative_error\"] > 1e-6", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-ae913f596d606788627be829": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_global_reference.py", + "symbol": "test_pair_adapter_keeps_low_difference_v2_bindings_and_ignores_direct_sheet", + "lines": [ + 396, + 396 + ], + "text_sha256": "f19e82a719e1a6d0c8d168311015d3c0811e15f0258931a0c453d11be0b97176" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_array_equal(state.fine[\"positive_flux_m2_s\"].to_float(), other.to_float())", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-189de3c3bf19c714fcb72ba9": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_global_reference.py", + "symbol": "test_pair_adapter_keeps_low_difference_v2_bindings_and_ignores_direct_sheet", + "lines": [ + 397, + 398 + ], + "text_sha256": "3076914b4a8a717fbcb4b2b9e72ae456e106e3f12c92b05d3ed0847aac64304f" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_array_equal(changed[\"positive_ion_flux\"][\"difference\"],\n (state.fine[\"positive_flux_m2_s\"]-other).to_float())", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-9e88edcf2c0fb73cbf33d9dc": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_global_reference.py", + "symbol": "test_pair_independent_potential_and_boundary_hooks_remain_effective", + "lines": [ + 412, + 412 + ], + "text_sha256": "b9edf80527717ce1fd1446bc2d51c0053672dc7b22a90c853727e53e4f45f2de" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert shifted.precision_evidence[\"fields\"][\"constraint_phi_V\"] == before.precision_evidence[\"fields\"][\"constraint_phi_V\"]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-927171c49747e0990cf14710": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_global_reference.py", + "symbol": "test_pair_independent_potential_and_boundary_hooks_remain_effective", + "lines": [ + 413, + 413 + ], + "text_sha256": "32e030d50665bad1d3630bc76163979d0b3d018222d5a6c9143f1c0927275afe" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert shifted.precision_evidence[\"fields\"][\"phi_V\"] != before.precision_evidence[\"fields\"][\"phi_V\"]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-42cea6798f8fa85de952c249": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_global_reference.py", + "symbol": "test_pair_independent_potential_and_boundary_hooks_remain_effective", + "lines": [ + 414, + 414 + ], + "text_sha256": "28dd27b587458d66413376b4026ca6468531fa668a66f78f0d2f282e9fd524b6" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert shifted[\"positive_ion_flux\"][\"relative_error\"] > 1e-6", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-e2e4b6280d53ff2e4d87b68e": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_global_reference.py", + "symbol": "test_pair_independent_potential_and_boundary_hooks_remain_effective", + "lines": [ + 418, + 418 + ], + "text_sha256": "e749cc8b4988e5f1efba115cf7068ea7954aa0920af3b5d4eda726dc2ba29186" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert leaking.precision_evidence[\"ion_inputs\"][\"boundary_flux_m2_s\"] == _words(DD([2., -3.]))", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-b048596a01159f6015697deb": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_global_reference.py", + "symbol": "test_pair_independent_potential_and_boundary_hooks_remain_effective", + "lines": [ + 419, + 420 + ], + "text_sha256": "77f874943e7bd3722c58cd7c28925bc1ce2c7e5e47135dd438eb0647578343a6" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_allclose(leaking[\"positive_ion_rate\"][\"eliminated\"]\n - before[\"positive_ion_rate\"][\"eliminated\"], [4., 0., 0., 6.])", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-acc972214570c2cf8bb609b0": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_input_lift_reference.py", + "symbol": "test_each_fixed_low_word_changes_the_independent_solution", + "lines": [ + 157, + 157 + ], + "text_sha256": "904f3442940a6b8f63c0e0bb33b4278b8dc2138c288cf673db34e5a893fc02a4" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_array_equal(changed[name].hi, fixed[name].hi)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-fd3bfd684dd08cab6f01e5f8": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_input_lift_reference.py", + "symbol": "test_each_fixed_low_word_changes_the_independent_solution", + "lines": [ + 164, + 164 + ], + "text_sha256": "59425fb1146ae29520aa143e53508384657ec989b6c238e129ac638e026430bf" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert max(map(abs, difference)) > Decimal(\"1e-22\")", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-45e6a2cc892ea96d66e12739": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_input_lift_reference.py", + "symbol": "test_each_fixed_low_word_changes_the_independent_solution", + "lines": [ + 167, + 167 + ], + "text_sha256": "1fa434fdabbfbb3a19dc02ba713d6becb3df13689c8e59bc1a4b0fd9e8f4e527" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert abs(expected) < Decimal(\"1e-46\")", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-52e0e53eaa5557ad36d3c207": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_input_lift_reference.py", + "symbol": "test_each_fixed_low_word_changes_the_independent_solution", + "lines": [ + 168, + 168 + ], + "text_sha256": "7d4833891733c3107fb02f42f34121bfe92ebf74e18414d9c336f987a5271a76" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert abs(_represented(actual) - expected) < Decimal(\"1e-46\")", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-ad0229bfaf15c8126bf70f6c": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_input_lift_reference.py", + "symbol": "test_inputs_own_coefficient_origin_seed_and_fixed_copies", + "lines": [ + 221, + 221 + ], + "text_sha256": "ea3eead87f38aa06000fc1c62ae238691a682f83c4657c1f8f829bb3c1d40d4b" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert inputs.to_dict() == frozen", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-1b5465f5dc606494878fd493": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_input_lift_reference.py", + "symbol": "test_inputs_own_coefficient_origin_seed_and_fixed_copies", + "lines": [ + 223, + 223 + ], + "text_sha256": "7ac68e21028fa37222555c4625bcbfb2e1aa191a932b361b10e7e12b6751f924" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert _words(actual) == _words(expected)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-20c56cde7d297f248a4cc5f8": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_input_lift_reference.py", + "symbol": "test_integrated_comparison_preserves_floor_and_rejects_bad_direct_rate", + "lines": [ + 319, + 319 + ], + "text_sha256": "45533daf0ca0765c5a497287ecb2da41000f33677f6afcf8e87ffd8b97318801" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert correct[\"potential\"] is unchanged", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-78fe3c27930ad51699466992": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_input_lift_reference.py", + "symbol": "test_integrated_comparison_preserves_floor_and_rejects_bad_direct_rate", + "lines": [ + 320, + 320 + ], + "text_sha256": "0a64756e98cae4226bcdef59992011f15c12e66c0b9c48868f7011cd29acc4f6" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert correct[\"positive_ion_rate\"][\"relative_error\"] < 1e-6", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-3108c34c285b022410840ad0": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_input_lift_reference.py", + "symbol": "test_integrated_comparison_preserves_floor_and_rejects_bad_direct_rate", + "lines": [ + 321, + 321 + ], + "text_sha256": "2f0883fe1ac9d673852707dae149830c4c89a38116314ed3c90851e1ce420acc" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert correct[\"positive_ion_rate\"][\"legacy_binary64\"] is legacy_channels[\"positive_ion_rate\"]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-e587a45a678178a05656d19e": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_input_lift_reference.py", + "symbol": "test_integrated_comparison_preserves_floor_and_rejects_bad_direct_rate", + "lines": [ + 325, + 325 + ], + "text_sha256": "16ff5a868ddcb22827dc8277073b4e92b20b503ecfe6d8ffc2186a025d1a0967" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert failed[\"normalization_floor\"] == failed[\"normalization_scale\"] == 1.", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-c50a741abb354c446c566631": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_input_lift_reference.py", + "symbol": "test_integrated_comparison_preserves_floor_and_rejects_bad_direct_rate", + "lines": [ + 326, + 326 + ], + "text_sha256": "2bbf927ef562c235f67558132ac20127bff17249675a4b3ad9043865b7a7194f" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert failed[\"relative_error\"] > 1e-6", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-91e48b57a85d17cfe1d0ba73": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_input_lift_reference.py", + "symbol": "test_integrated_comparison_preserves_floor_and_rejects_bad_direct_rate", + "lines": [ + 327, + 327 + ], + "text_sha256": "e2ff96f8572736eb00027e57237df801bc0535388e50d8d17dc48dc6a74c8e7c" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert failed[\"independent_reference\"][\"fields\"] == correct[\"positive_ion_rate\"][\"independent_reference\"][\"fields\"]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-f317e406e78c1de98fc1712c": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_input_lift_reference.py", + "symbol": "test_manufactured_absolute_root_and_near_cancelling_sg_match_decimal", + "lines": [ + 125, + 125 + ], + "text_sha256": "1f20b6655c7600530c462baeba7a10203e3fdbd33e457a97b645287f7df93ef4" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert isinstance(inputs, reference.RebasedIonReferenceInputs)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-0927ce684d10638ea7b48e18": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_input_lift_reference.py", + "symbol": "test_manufactured_absolute_root_and_near_cancelling_sg_match_decimal", + "lines": [ + 126, + 126 + ], + "text_sha256": "d5d858ef8dea5c79ee35c00e18a7e5bc6130ebca80e9ac06929a72425fd16040" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert receipt[\"converged\"] is True", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-d72473ba2b12fd2fbfc29ec9": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_input_lift_reference.py", + "symbol": "test_manufactured_absolute_root_and_near_cancelling_sg_match_decimal", + "lines": [ + 139, + 139 + ], + "text_sha256": "55bf022f643bfd2312673002bad8cbe5ff22335be5ea3c97feac8e910df1aef7" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert max(map(abs, flux)) > Decimal(\"1e-19\")", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-dcfade992bb01456185dc7e4": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_input_lift_reference.py", + "symbol": "test_manufactured_absolute_root_and_near_cancelling_sg_match_decimal", + "lines": [ + 140, + 140 + ], + "text_sha256": "33f39f82de96dcf1e0487b33d85505c34980f1085713961201d9cab90ee36cde" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert max(map(abs, rate)) > Decimal(\"1e-19\")", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-50b4d85f4c2ad925aeef98a5": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_input_lift_reference.py", + "symbol": "test_manufactured_absolute_root_and_near_cancelling_sg_match_decimal", + "lines": [ + 130, + 130 + ], + "text_sha256": "9906334955bffda896280d32d6e82733d866b4fcd23dff5ac88a75af995f0fc8" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert abs(_represented(value)) < Decimal(\"1e-30\")", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-27b6d25caf109809cd808698": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_input_lift_reference.py", + "symbol": "test_manufactured_absolute_root_and_near_cancelling_sg_match_decimal", + "lines": [ + 136, + 136 + ], + "text_sha256": "3c998ce881213776a07e417cb7d0968a8ab84dff6d9c3deadb9942b0a2bf04a8" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert abs(expected) < Decimal(\"1e-48\")", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-d4bf6ad4ee97e989ceac94a9": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_input_lift_reference.py", + "symbol": "test_manufactured_absolute_root_and_near_cancelling_sg_match_decimal", + "lines": [ + 137, + 137 + ], + "text_sha256": "a2e4ef5a7821c6b8f6bbc886f3698e6c1a9430bef9546f5399d8b59e6c058d33" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert abs(_represented(actual) - expected) < Decimal(\"1e-48\")", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-762a701f907e02ef65bc4010": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_input_lift_reference.py", + "symbol": "test_manufactured_absolute_root_and_near_cancelling_sg_match_decimal", + "lines": [ + 133, + 133 + ], + "text_sha256": "75428c9a331d5bb08e526b828211205d81f7fbcaa5616007ef31455d19c3c9c1" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert abs(_represented(actual) - _represented(expected)) < Decimal(\"1e-30\")", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-3e5f3376e54246896f870eba": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_input_lift_reference.py", + "symbol": "test_manufactured_absolute_root_and_near_cancelling_sg_match_decimal", + "lines": [ + 144, + 144 + ], + "text_sha256": "61a88543a2dc529d76073f88598c495f14a02a929e996e0461cab22c6e4a9e92" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert abs(_represented(actual) - truth) < scale * Decimal(\"1e-12\")", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-3c9ddcfcc1a3fa42b1738fa2": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_input_lift_reference.py", + "symbol": "test_solver_requires_the_validated_dto", + "lines": [ + 289, + 289 + ], + "text_sha256": "15bd37747d8e6f2fe2730b7ae05af338c286a52970cea355c6bd29038e6cb6d8" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(TypeError):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-7f63ae7e3f9d8c1f6bcdd7ea": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_input_lift_reference.py", + "symbol": "test_trial_outputs_and_work_cache_cannot_change_reference", + "lines": [ + 185, + 185 + ], + "text_sha256": "a0582f1419fde599ad4c8c07790f325d24981566171c000d455e5b89cf0f2183" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert again.to_dict() == inputs.to_dict()", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-43ab2da4b766b4d2cae75265": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_input_lift_reference.py", + "symbol": "test_trial_outputs_and_work_cache_cannot_change_reference", + "lines": [ + 187, + 187 + ], + "text_sha256": "3a3087b1da369567dc932b6ac08a5d5b972c5bcd87726036f01fc8af1045700e" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert _words(actual) == _words(correct)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-a1c642537f7391219ef4e141": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_v9_pair_codec.py", + "symbol": "test_failed_fine_preparation_retains_full_state_seed_and_original_gates", + "lines": [ + 206, + 206 + ], + "text_sha256": "70bb4f45a3104c8769fd4bcaff899e16a53f4f143ff1e1f12e9e05194892eb2d" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert payload[\"schema\"] == codec.FAILED_PREPARATION_SCHEMA", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-348bcefd14d26bd3238678d1": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_v9_pair_codec.py", + "symbol": "test_failed_fine_preparation_retains_full_state_seed_and_original_gates", + "lines": [ + 207, + 207 + ], + "text_sha256": "33647214b775d05ba4f0940358850fc1b66b98aaee4161e7c2472e373d1fdfec" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert payload[\"certified\"] is False", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-896f8c712da299bd4c298659": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_v9_pair_codec.py", + "symbol": "test_failed_fine_preparation_retains_full_state_seed_and_original_gates", + "lines": [ + 208, + 208 + ], + "text_sha256": "147bc33ede130ee98d69eec73defb92e3842299096e292403f500c9270db03f8" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert payload[\"raw_preparation\"][\"preparation_checks\"] == checks", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-acb523625c43d8d14b4ae190": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_v9_pair_codec.py", + "symbol": "test_failed_fine_preparation_retains_full_state_seed_and_original_gates", + "lines": [ + 209, + 209 + ], + "text_sha256": "15d8284539392dee5e80dc1eb35745b4c2af34ced69998de288c71cb9898db58" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert payload[\"raw_preparation\"][\"seed_preparation\"] == seed_record", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-14315affe15319619ec7e31b": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_v9_pair_codec.py", + "symbol": "test_failed_fine_preparation_retains_full_state_seed_and_original_gates", + "lines": [ + 201, + 201 + ], + "text_sha256": "02ca3661a5f46f91223eab594ea84917efe94b3d32464840a80002fc390ab73b" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(R1StateError) as error:", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-18035c6f24eb280c3ba52201": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_v9_backend.py", + "symbol": "test_independent_constraint_solver_cannot_read_direct_outputs", + "lines": [ + 205, + 205 + ], + "text_sha256": "d5d1180cb40c15122153139402d030da92a981d8451d6437ca78196893165abc" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert second == evidence", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-962865ce7ff99640047fdd38": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_v9_backend.py", + "symbol": "test_independent_constraint_solver_cannot_read_direct_outputs", + "lines": [ + 208, + 208 + ], + "text_sha256": "6785412048809a6e963f6bb7c53cedb27e5e7c5150a5776256f8d909ab3b8019" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert second[\"last_correction_max_abs_V\"] < 1e-28", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-dec8778fd93738a48c734b59": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_v9_backend.py", + "symbol": "test_independent_constraint_solver_cannot_read_direct_outputs", + "lines": [ + 209, + 209 + ], + "text_sha256": "71e53819486f27b59756f4c383deb853b4162a13cabf7c0748da2cd8199e188c" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert second[\"iterations\"] <= 12", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-f1e8277ea5c947306b543ddd": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_v9_backend.py", + "symbol": "test_independent_constraint_solver_cannot_read_direct_outputs", + "lines": [ + 210, + 210 + ], + "text_sha256": "c689bcaa0fa6f5f807774ad71ef7ee2b99fe98433180183b358d563242f8c844" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert set(inputs.to_dict()[\"fixed_inputs\"]) == set(precision._INDEPENDENT_FIXED_FIELDS)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-43b81422608a57d46f3c2071": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_v9_backend.py", + "symbol": "test_independent_constraint_solver_cannot_read_direct_outputs", + "lines": [ + 203, + 203 + ], + "text_sha256": "f5ce80f97a4f315c199bc328df78d0987feca3e9f8abd43a75d832ff7ad267a7" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert second_inputs == inputs", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-0fb12a39ea080095926e6fc4": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_v9_backend.py", + "symbol": "test_independent_constraint_solver_cannot_read_direct_outputs", + "lines": [ + 207, + 207 + ], + "text_sha256": "b220bae755dd1c569bbee42428cad708e3c44306343c492eda9b4776f480aff9" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert precision.pair_words(again[key]) == precision.pair_words(actual[key])", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-5ab75f7a9d0e32b95caea5df": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_v9_backend.py", + "symbol": "test_independent_constraint_solver_cannot_read_direct_outputs", + "lines": [ + 211, + 211 + ], + "text_sha256": "15bd37747d8e6f2fe2730b7ae05af338c286a52970cea355c6bd29038e6cb6d8" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(TypeError):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-51b3e6bf3cf123cf8cefb31e": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_v9_backend.py", + "symbol": "test_independent_constraint_solver_cannot_read_direct_outputs", + "lines": [ + 185, + 185 + ], + "text_sha256": "9952ce80eb7b478efe921704387a77f2bd1a4cac2342c2af18886c6282fb16d0" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(FrozenInstanceError):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-1301cccdf47ab7c539e70259": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_v9_backend.py", + "symbol": "test_independent_constraint_solver_cannot_read_direct_outputs", + "lines": [ + 187, + 187 + ], + "text_sha256": "1a72ef8b5caa1c11a6bb8c0393e06c6463391ece954e7e9e7fedd6215e5db18d" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(ValueError, match=\"rejects direct outputs\"):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-ba6f70808f31e5b2e50d140f": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_one_dimensional_mechanism_r1_state.py", + "symbol": "test_forged_dc_pass_flag_does_not_replace_live_equations", + "lines": [ + 414, + 414 + ], + "text_sha256": "f38e8f6c83a2e28a779ad15301643057484d3ff4a824010455edd28727ba26ea" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(common.R1StateError, match=\"live D equations\"):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-fabdad100eb6299906d2af9a": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_baseline_initial.py", + "symbol": "test_make_system_preserves_import_path_and_builds_local_state_once", + "lines": [ + 170, + 170 + ], + "text_sha256": "fb7eb43dc0c02589742ae4eefbad83b47264c40d03d13f536e03f40d0aec02f3" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert len(init_calls) == int(canonicalize)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-d6d8c405ea3b93a911f48540": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_baseline_initial.py", + "symbol": "test_make_system_preserves_import_path_and_builds_local_state_once", + "lines": [ + 171, + 171 + ], + "text_sha256": "cc3cd23da1c4a71580e4a16786287ea941f36fa392861d5529c1566dbfd8c146" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert len(constructor_calls) == 1", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-0aef98e11b33d25ea7e6209e": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_baseline_initial.py", + "symbol": "test_make_system_preserves_import_path_and_builds_local_state_once", + "lines": [ + 173, + 173 + ], + "text_sha256": "b6b78c4fefaa3c23809ae31a9e2cd2c6da09822f074e88b7a3376b7d93487c1d" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert args[3] is selected", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-3bb3afbd7ba5aba2badebee5": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_baseline_initial.py", + "symbol": "test_make_system_preserves_import_path_and_builds_local_state_once", + "lines": [ + 174, + 174 + ], + "text_sha256": "acdb0fdbe1ddd2731e0ad50d90badf3ad1549432f1d2719b3f758d542dd2cbf1" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert args[5].dc is selected", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-e3aeb909c72727c4a921bd73": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_baseline_initial.py", + "symbol": "test_make_system_preserves_import_path_and_builds_local_state_once", + "lines": [ + 175, + 175 + ], + "text_sha256": "6e05c560fe8de66ea4c13a948e2ec4cfda2b1b1fc993f340cfee2e7db20f991b" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert args[6] is selected.interface_occupancy", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-48d8499e9e5274400f89cc5b": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_baseline_initial.py", + "symbol": "test_make_system_preserves_import_path_and_builds_local_state_once", + "lines": [ + 177, + 177 + ], + "text_sha256": "244f16cbfcc56063419f58c9f768789b74b9f62f24d22807cee9e26f34e49fe7" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert args[7].phi is selected.potential_V", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-62e996a3e89c3b47d20a4019": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_baseline_initial.py", + "symbol": "test_make_system_preserves_import_path_and_builds_local_state_once", + "lines": [ + 178, + 178 + ], + "text_sha256": "b2307b4862a782b7ee1b5849aeb1ed92ccb42a2e5454764d764617c4a100edab" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert args[7].interface_charge_dynamic is case.dynamic.interface_charge_dynamic", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-2cfaea4babb6bf8740dbaeaa": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_baseline_initial.py", + "symbol": "test_make_system_preserves_import_path_and_builds_local_state_once", + "lines": [ + 179, + 179 + ], + "text_sha256": "c7c6baf72e5d4e42ee91165f64d5ba67612fef4c6a0cb1bd826a46dd5caf2cf4" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.common_dc_state is selected", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-698a13b74cd9890c751a922a": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_baseline_initial.py", + "symbol": "test_make_system_preserves_import_path_and_builds_local_state_once", + "lines": [ + 176, + 176 + ], + "text_sha256": "a30ecbe913fc9bfe86a2f132beea157dea50d99e00488b0dc581632f6e27eea0" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_array_equal(args[7].y, np.r_[selected.electron_density_m3, selected.hole_density_m3])", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-96986a19caf094a06a86bda0": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_baseline_initial.py", + "symbol": "test_initial_solver_failure_has_no_second_attempt_or_old_potential_fallback", + "lines": [ + 140, + 140 + ], + "text_sha256": "5d3c71e5b24b01207a5ddf08b80b16ae47934d2763bac05ceb26d1df20ad11b9" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert len(calls) == 1", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-fc7a92b812c8534c2521aea9": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_baseline_initial.py", + "symbol": "test_initial_solver_failure_has_no_second_attempt_or_old_potential_fallback", + "lines": [ + 138, + 138 + ], + "text_sha256": "400fe1402e7513bccc30ba93e8f2f3e2214638d267824934fe32ae952e417dda" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(RuntimeError, match=\"bounded fixed-QF solver failed\"):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-c02e191fa00929ef602a1612": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_baseline_initial.py", + "symbol": "test_only_rounded_potential_reaches_original_binary64_population_map", + "lines": [ + 83, + 83 + ], + "text_sha256": "5d3c71e5b24b01207a5ddf08b80b16ae47934d2763bac05ceb26d1df20ad11b9" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert len(calls) == 1", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-1ca66396190a8874bbfec03f": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_baseline_initial.py", + "symbol": "test_only_rounded_potential_reaches_original_binary64_population_map", + "lines": [ + 95, + 95 + ], + "text_sha256": "c630458b2852c7300a57beb9a40212e8e0f928b6ced6ada4f3626d93a376eeb1" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert not np.shares_memory(result.potential_V, root.hi)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-0aaaea5111c809634cf5226b": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_baseline_initial.py", + "symbol": "test_only_rounded_potential_reaches_original_binary64_population_map", + "lines": [ + 96, + 96 + ], + "text_sha256": "862019d099a2ae276430b74a3b787014d4b48cdfd5f3b1d95af7de825f4e1975" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert not np.shares_memory(result.potential_V, root.lo)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-c988643e6cf5de0c3a5aed55": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_baseline_initial.py", + "symbol": "test_only_rounded_potential_reaches_original_binary64_population_map", + "lines": [ + 90, + 90 + ], + "text_sha256": "cf980b4a0966841a9fa7bd3e3b01354e715cc02e505b8c2fdb00972464a63448" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert actual.dtype == np.float64", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-7c815c861be28a18be27c365": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_baseline_initial.py", + "symbol": "test_only_rounded_potential_reaches_original_binary64_population_map", + "lines": [ + 91, + 91 + ], + "text_sha256": "d6e7ba3d735fec34d862d986cb016d3a89f215cbb07e48deb7c1fc1f52f5f79a" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert not np.shares_memory(actual, old)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-583e72804a0f54f9b4c6791d": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_baseline_initial.py", + "symbol": "test_only_rounded_potential_reaches_original_binary64_population_map", + "lines": [ + 94, + 94 + ], + "text_sha256": "b7f1ad4183a7e1bb080618f18e1e38631b9cb4316805a5af48cc000f16391a3d" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert getattr(result, field) is getattr(case.dc, field)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-5f8db9692652f3bf21654539": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_baseline_initial.py", + "symbol": "test_only_rounded_potential_reaches_original_binary64_population_map", + "lines": [ + 89, + 89 + ], + "text_sha256": "c156dba689cc7ee99f03b19bd621ee1abd6f3a2cba232e14a4d2cdc032837f19" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_array_equal(actual, expected)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-0cbfe5da422e6bab27845f4a": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_protocol.py", + "symbol": "test_all_physical_failures_reach_observer_and_survive_persistence_error", + "lines": [ + 226, + 226 + ], + "text_sha256": "a3b81c061641a47db8a8a75d1a7a1b21dc83af24dc6170a4a01138b3488d73e6" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert partial[\"certificate\"][\"reasons\"] == expected", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-acaf09c30bea0d384b374fc7": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_protocol.py", + "symbol": "test_all_physical_failures_reach_observer_and_survive_persistence_error", + "lines": [ + 227, + 227 + ], + "text_sha256": "24e1efc3e9ddea0361bb11ff1ead274e923f9884e8ca2613c67d430e5541cd6f" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert partial[\"failure\"][\"reasons\"] == expected", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-9b27fde919a54e11008c32d6": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_protocol.py", + "symbol": "test_all_physical_failures_reach_observer_and_survive_persistence_error", + "lines": [ + 229, + 229 + ], + "text_sha256": "9e34de99ab5eb246f5539ed47a2a2eee5fd9aaaaefea87d6bfbcc7a79033d5e9" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert len(observed) == 2 and observed[-1] is failed", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-16f031d8ce17b6859ad7217e": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_protocol.py", + "symbol": "test_all_physical_failures_reach_observer_and_survive_persistence_error", + "lines": [ + 230, + 230 + ], + "text_sha256": "b4b67738db93b1096b5f6b9317bc0a3308ad53d427d0e9f5b4735592a4f41683" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert failed[\"solver_accepted\"] and not failed[\"physical_checks_passed\"]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-8e7d49a1e2cc43c5e1fd95bc": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_protocol.py", + "symbol": "test_all_physical_failures_reach_observer_and_survive_persistence_error", + "lines": [ + 231, + 231 + ], + "text_sha256": "c9bbeceba78fdb30c2f04316dccfcc830a028cf284bc658da31248994b41af26" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert failed[\"physical_failure_reasons\"] == expected", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-75552a6d5b82e64d625844ed": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_protocol.py", + "symbol": "test_all_physical_failures_reach_observer_and_survive_persistence_error", + "lines": [ + 232, + 232 + ], + "text_sha256": "83071d108ea5801797eca022c5c08b6aca2f13d10bf43ef96fb39a13f393cc3f" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert failed[\"physical_checks\"][\"reasons\"] == expected", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-db837e32ab55b19587d1ef8d": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_protocol.py", + "symbol": "test_all_physical_failures_reach_observer_and_survive_persistence_error", + "lines": [ + 234, + 234 + ], + "text_sha256": "bb854a83c71b2169cfd959951fe4a650b2cd3fe2f9fa9dba5b0aaed8f5a3bbae" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert partial[\"certificate\"][\"secondary_reasons\"] == [\"accepted_step_persistence_failed\"]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-51f489afb3275418b6595161": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_protocol.py", + "symbol": "test_all_physical_failures_reach_observer_and_survive_persistence_error", + "lines": [ + 235, + 235 + ], + "text_sha256": "369a1878df0140ed80c046aeea46ead44080ec2aff5528dac86b2e5b2fbf82b7" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert partial[\"persistence_failure\"][\"type\"] == \"OSError\"", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-1949fdb72f01c77729de97a9": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_protocol.py", + "symbol": "test_all_physical_failures_reach_observer_and_survive_persistence_error", + "lines": [ + 236, + 236 + ], + "text_sha256": "0d6840f9640ca97d38818755d97c570250f3196a591865fc7290a41ea5bcce8b" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert partial[\"persistence_failure\"][\"message\"] == \"injected accepted-step write failure\"", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-7163a19a4b4b815b0e20044f": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_protocol.py", + "symbol": "test_all_physical_failures_reach_observer_and_survive_persistence_error", + "lines": [ + 237, + 237 + ], + "text_sha256": "71d3fa5754e1511e7a4d97a0f6bf2fa7c92e2fffaf0465bb6026fc1104936e74" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert partial[\"failure\"][\"type\"] == \"PhysicalCheckFailure\"", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-b8d0b815b4576768c1915b9c": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_protocol.py", + "symbol": "test_all_physical_failures_reach_observer_and_survive_persistence_error", + "lines": [ + 239, + 239 + ], + "text_sha256": "0c504e2d00d50cde745b8b90dadff8aa10a5e99aa7294d8d0b9291f8761b38df" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert \"persistence_failure\" not in partial", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-1b292a9f4eef78cb7ad3f047": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_protocol.py", + "symbol": "test_all_physical_failures_reach_observer_and_survive_persistence_error", + "lines": [ + 220, + 220 + ], + "text_sha256": "28df49f54174545a97ccd0b2a78b6ee411d4f6ddac912e2f242b0f676b4aa73f" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(protocol.R1RunError, match=\"physical gates\") as error:", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-f8c209b49b22164c9b0b5eca": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_protocol.py", + "symbol": "test_controlled_step_retains_common_state_and_separates_impulse", + "lines": [ + 33, + 33 + ], + "text_sha256": "46cdf6fbb1ac8ecde286db7d7589c4778299a5c72b65e651c0fd50767fdbd3a2" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result[\"certificate\"][\"certified\"]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-ac8aacb12cdf5b9487ad6a93": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_protocol.py", + "symbol": "test_controlled_step_retains_common_state_and_separates_impulse", + "lines": [ + 34, + 34 + ], + "text_sha256": "a570b9e8fdb662c949cd1b432ee695dfa1e1f2aec9f427b1173099599a04baca" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert not result[\"certificate\"][\"zero_plus_is_equilibrium\"]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-7d9f9ae9f7d9f80e3d548dd6": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_protocol.py", + "symbol": "test_controlled_step_retains_common_state_and_separates_impulse", + "lines": [ + 35, + 35 + ], + "text_sha256": "d3e9a21d8e7d0b86c89a53b2d6e1e48e4e8ec0e9519d92785881282ea2ca1d66" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result[\"prepared_sha256\"] == prepared.sha256", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-7ec54a17922cb04ddc58e29f": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_protocol.py", + "symbol": "test_controlled_step_retains_common_state_and_separates_impulse", + "lines": [ + 36, + 36 + ], + "text_sha256": "5dc2570e552fb26dae64951fdd004fccd864dec9038a2787093fa2b5ced3127f" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result[\"reference_sha256\"] == reference[\"sha256\"]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-237ec70a56f99a6afa38653b": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_protocol.py", + "symbol": "test_controlled_step_retains_common_state_and_separates_impulse", + "lines": [ + 37, + 37 + ], + "text_sha256": "97c491d149a7195b7a975863c20f2fb70bb69db4ea6bb5e6ccda2e338f340165" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert len(observed) == len(result[\"accepted_steps\"]) == 31", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-aa1135d67f09d5f612c5f280": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_protocol.py", + "symbol": "test_controlled_step_retains_common_state_and_separates_impulse", + "lines": [ + 44, + 44 + ], + "text_sha256": "666c6a9bb750def3e1c4cb13c854c36b7d5725a4851feb1b39d5abedf1fe2918" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.count_nonzero(original[\"sheet_charge_C_m2\"])", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-c078c4d24d5b5838d9f6b749": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_protocol.py", + "symbol": "test_controlled_step_retains_common_state_and_separates_impulse", + "lines": [ + 46, + 46 + ], + "text_sha256": "f14fd5f6fafbe568d33f25cecfc3b56eaaa399822ae1dd87b3186ae6fa761171" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert initial[\"impulse_charge_C_m2\"] == pytest.approx(expected_impulse, rel=2e-15)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-93815077956c2da6e5738c1d": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_protocol.py", + "symbol": "test_controlled_step_retains_common_state_and_separates_impulse", + "lines": [ + 53, + 53 + ], + "text_sha256": "d3002c08d46d943fe8f8efa5a9bc31630744764b96e28c64c4a37c9d6ca5d719" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert all(result[\"certificate\"][\"exact_freeze_checks\"].values())", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-e6193e9c51658f8efb83e94e": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_protocol.py", + "symbol": "test_controlled_step_retains_common_state_and_separates_impulse", + "lines": [ + 61, + 61 + ], + "text_sha256": "2e71b8917d9d90927804b68d850f96fa3ce3dd12e44e81dc329089436f9540f3" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result[\"accepted_state_arrays\"][\"positive_m3\"].shape[0] == len(observed)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-5c6f6e65b8a1f5c6fbef2f52": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_protocol.py", + "symbol": "test_controlled_step_retains_common_state_and_separates_impulse", + "lines": [ + 62, + 62 + ], + "text_sha256": "2170b02c0807e10d8458ab923022c5e879f1a59dc7ebd367c63f1a6d9e9b17a2" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result[\"version\"] == \"r1-1-controls-and-initial-charge-v5-independent-physics\"", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-cad141fcac47250be3ca5c98": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_protocol.py", + "symbol": "test_controlled_step_retains_common_state_and_separates_impulse", + "lines": [ + 64, + 64 + ], + "text_sha256": "8b557675c594236fa318aa643b1e9352aaba86cff3d898a2f2d0cc3c77e4c7d7" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert trap_summary[\"checked_finite_step_count\"] == 28", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-3ed7d67ba5b244854d8f773a": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_protocol.py", + "symbol": "test_controlled_step_retains_common_state_and_separates_impulse", + "lines": [ + 65, + 65 + ], + "text_sha256": "ddba678a8848f8c8340a80436dfa15c9e39ca93dba139a6ffde468a3f86633e3" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert sum(trap_summary[\"branch_counts\"][\"all\"].values()) == 28", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-428e45c56fa63fe50ab1e26f": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_protocol.py", + "symbol": "test_failed_physical_step_retains_accepted_partial_evidence", + "lines": [ + 142, + 142 + ], + "text_sha256": "b67698f569d0b938ef32ebd8be96b5b66c205a7e36ac5a782ff6561ef645dbf9" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert not partial[\"certificate\"][\"certified\"]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-cfc7c6cd9588f42cde9e8ac5": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_protocol.py", + "symbol": "test_failed_physical_step_retains_accepted_partial_evidence", + "lines": [ + 143, + 143 + ], + "text_sha256": "b3d505c697df6742c862a3ba41077d8eec56982dd58a1962b15856603f7d0a5f" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert partial[\"prepared_sha256\"] == prepared.sha256", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-f65a9bd929f4a067e99798c6": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_protocol.py", + "symbol": "test_failed_physical_step_retains_accepted_partial_evidence", + "lines": [ + 144, + 144 + ], + "text_sha256": "21a2ac9868372e219b22ea1775d928c006634a0bb052df58a8d67047c8bc2bac" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert partial[\"initial_event\"][\"certified\"]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-5b103704149d7e59cea6f101": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_protocol.py", + "symbol": "test_failed_physical_step_retains_accepted_partial_evidence", + "lines": [ + 145, + 145 + ], + "text_sha256": "7d6f8c9e3a9031ca9ce0cfc65dceec988bc72120ea4f79787e30da465e315196" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert partial[\"accepted_steps\"][-1][\"physical\"][\"gauss_normalized\"] == 1e-6", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-bb73f66922dd32fde493dfb7": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_protocol.py", + "symbol": "test_failed_physical_step_retains_accepted_partial_evidence", + "lines": [ + 146, + 146 + ], + "text_sha256": "b3c9bbfd9bc3d544297b24bead76d9705bf1eeabdb0fc1d88483cba4a033cea4" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert partial[\"certificate\"][\"reasons\"] == [\"gauss_normalized_exceeds_limit\"]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-fb0c2e79b639c68923f1ae17": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_protocol.py", + "symbol": "test_failed_physical_step_retains_accepted_partial_evidence", + "lines": [ + 139, + 139 + ], + "text_sha256": "89d664f026139774326b1e2b8c21af5bc1784b28246426ae6d357e7eeb492a1a" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(protocol.R1RunError, match=\"gauss_normalized_exceeds_limit\") as error:", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-3d09a67e267a6cfaa1994194": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_protocol.py", + "symbol": "test_final_regular_current_nonfinite_evidence_cannot_reach_digest", + "lines": [ + 375, + 375 + ], + "text_sha256": "3e7c26d38f0a5900bcf344aba9a428900ec24c5f23a0adc74d96a4f89e0d7a97" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert len(observed) == 31 and all(row[\"physical_checks_passed\"] for row in observed)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-02bad7033986c1e29fce437e": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_protocol.py", + "symbol": "test_final_regular_current_nonfinite_evidence_cannot_reach_digest", + "lines": [ + 376, + 376 + ], + "text_sha256": "d634635c728872f0dfd6d2481206938865551c6c682c49a6fb9b3d0edd6d4ea2" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert partial[\"certificate\"][\"reasons\"] == [\"nonfinite_numeric_evidence\"]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-71521f9d6f1b81a0a7f08e77": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_protocol.py", + "symbol": "test_final_regular_current_nonfinite_evidence_cannot_reach_digest", + "lines": [ + 377, + 377 + ], + "text_sha256": "00d5fc4f96c78fd2bd7751e5934cbada55c29d6ad0153208b359d09d21e9e234" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert partial[\"certificate\"][\"nonfinite_numeric_paths\"] == expected", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-387e4cf5bbf722142ec5b94a": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_protocol.py", + "symbol": "test_final_regular_current_nonfinite_evidence_cannot_reach_digest", + "lines": [ + 378, + 378 + ], + "text_sha256": "b67698f569d0b938ef32ebd8be96b5b66c205a7e36ac5a782ff6561ef645dbf9" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert not partial[\"certificate\"][\"certified\"]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-c0572e1e5a65e2c284c4c4cd": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_protocol.py", + "symbol": "test_final_regular_current_nonfinite_evidence_cannot_reach_digest", + "lines": [ + 379, + 379 + ], + "text_sha256": "99c86c84b2d05a30e7111dea2efc117c461ee32502d89abc49642e25d141020f" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert not partial[\"certificate\"][\"finite_numeric_evidence\"][\"passed\"]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-e63ccf6d894e0f0f56e60b25": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_protocol.py", + "symbol": "test_final_regular_current_nonfinite_evidence_cannot_reach_digest", + "lines": [ + 380, + 380 + ], + "text_sha256": "652a305f3cc7ea4c8c592fd50678a48aabc08c6868942da1ced95eff6f853e3d" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert partial[\"failure\"][\"type\"] == \"PhysicalCheckFailure\"", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-7c34c414befc8c33d7fab454": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_protocol.py", + "symbol": "test_final_regular_current_nonfinite_evidence_cannot_reach_digest", + "lines": [ + 381, + 381 + ], + "text_sha256": "814ae57de3589741de415a21823618db115b97b8d360a54ec1df7d5510536f28" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert partial[\"failure\"][\"scope\"] == \"completed_result\"", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-b18afc17a4f980854f315524": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_protocol.py", + "symbol": "test_final_regular_current_nonfinite_evidence_cannot_reach_digest", + "lines": [ + 382, + 382 + ], + "text_sha256": "8b347322cda3a40e84ec67647b894694b146923fa0a59920f866af368d366b8c" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.isinf(partial[\"regular_currents\"][0][\"extra_vector\"][0].imag)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-cb3830642853954ee344a785": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_protocol.py", + "symbol": "test_final_regular_current_nonfinite_evidence_cannot_reach_digest", + "lines": [ + 383, + 383 + ], + "text_sha256": "209050822b76cf82d35309d3ea10d4452319dd590bfaa6f54848394ae5a4fb42" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert \"sha256\" not in partial", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-146967a990dd2d78707ce384": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_protocol.py", + "symbol": "test_final_regular_current_nonfinite_evidence_cannot_reach_digest", + "lines": [ + 371, + 371 + ], + "text_sha256": "79a3047dce6e74a6c0a5b4cc75d72dbd1edc76549ef0186c79a565683731f4e3" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(protocol.R1RunError, match=\"nonfinite_numeric_evidence\") as error:", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-8062dd4a7dbbebd3eaa553fa": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_protocol.py", + "symbol": "test_independent_time_settings_execute_each_nested_level", + "lines": [ + 116, + 116 + ], + "text_sha256": "46cdf6fbb1ac8ecde286db7d7589c4778299a5c72b65e651c0fd50767fdbd3a2" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result[\"certificate\"][\"certified\"]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-a5dbc58a40213efd8bd9a158": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_protocol.py", + "symbol": "test_independent_time_settings_execute_each_nested_level", + "lines": [ + 117, + 117 + ], + "text_sha256": "d3e9a21d8e7d0b86c89a53b2d6e1e48e4e8ec0e9519d92785881282ea2ca1d66" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result[\"prepared_sha256\"] == prepared.sha256", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-1e3ff934d117562ed82cf5ff": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_protocol.py", + "symbol": "test_independent_time_settings_execute_each_nested_level", + "lines": [ + 118, + 118 + ], + "text_sha256": "9a329075cef89301cbf1ba1035ea4fef49a3ba87a7f8f94af6b8ac5b338652e0" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result[\"execution_axes\"] == {\"intervals\": 16, \"time_substeps\": list(substeps)}", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-857994757a47c6e2c566750f": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_protocol.py", + "symbol": "test_independent_time_settings_execute_each_nested_level", + "lines": [ + 125, + 125 + ], + "text_sha256": "68cbf19fa5f65261d001a10ee08e339c6fe1375a2c3e414f7a6d44681f9cb8b0" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert \"no full-window or three-axis convergence claim\" in result[\"scope_note\"]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-e9952704fb164c381ddfc0a8": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_protocol.py", + "symbol": "test_independent_time_settings_execute_each_nested_level", + "lines": [ + 121, + 121 + ], + "text_sha256": "d144dfdd3ff929eb7bd9bdffb56c433500baead4b489519c7cfefa7497dc6964" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert len(rows) == count + 1", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-820efedb8b5403c40c1fac6b": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_protocol.py", + "symbol": "test_independent_time_settings_execute_each_nested_level", + "lines": [ + 122, + 122 + ], + "text_sha256": "942bf3f91f0f160fac5948df2bacffbcd27edcb9fe52daa903ef525dce28ca40" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert rows[0][\"phase\"] == \"0+\" and rows[-1][\"time_s\"] == 1e-9", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-6059efd52fcbc11d4a4bad94": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_protocol.py", + "symbol": "test_independent_time_settings_execute_each_nested_level", + "lines": [ + 123, + 123 + ], + "text_sha256": "b734ab0942a38c219397da1f65485e24b28f859cb484328879f1b373acbdf86f" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert sum(row[\"dt_s\"] for row in rows) == pytest.approx(1e-9)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-927e07cdd6ee13f6b9048703": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_protocol.py", + "symbol": "test_independent_time_settings_execute_each_nested_level", + "lines": [ + 124, + 124 + ], + "text_sha256": "f8a36fca6e3ebfa5c312acde72deade687898526efeaf53d9fdef3d14b903b50" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert all(row[\"physical_checks_passed\"] for row in rows)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-9fc09ee85dc120f41857bb9b": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_protocol.py", + "symbol": "test_initial_numeric_failure_retains_underlying_residuals", + "lines": [ + 451, + 451 + ], + "text_sha256": "b67698f569d0b938ef32ebd8be96b5b66c205a7e36ac5a782ff6561ef645dbf9" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert not partial[\"certificate\"][\"certified\"]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-74d2270cf64252fda09aeb7a": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_protocol.py", + "symbol": "test_initial_numeric_failure_retains_underlying_residuals", + "lines": [ + 452, + 452 + ], + "text_sha256": "3983875721979877d1f3e02b52c27d47dbefb15827ec41d8aa517e861ea52aad" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert partial[\"failure\"][\"type\"] == \"InterfaceDefectIonTransientError\"", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-0ee3d37358d181869dfebb76": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_protocol.py", + "symbol": "test_initial_numeric_failure_retains_underlying_residuals", + "lines": [ + 453, + 453 + ], + "text_sha256": "4d13b53ebc010be5a5fc976dc599e1ab55e3e0dabfc86f788f0827d500f46cd1" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_array_equal(partial[\"failure\"][\"numerical_evidence\"][\"poisson_residual_C_m2\"], [2e-7])", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-97a063803fa9d31ace4f6824": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_protocol.py", + "symbol": "test_initial_numeric_failure_retains_underlying_residuals", + "lines": [ + 448, + 448 + ], + "text_sha256": "ab3082861b5b074168829184f35607846c6ab1aea2b09383c2e376a583f916c2" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(protocol.R1RunError) as error:", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-952c0a40543cc4447c1ad0cb": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_response.py", + "symbol": "test_biased_dc_retains_frozen_species_and_inventory", + "lines": [ + 28, + 28 + ], + "text_sha256": "ae00162e0fa1ec642a55c8a238f662fbf825e7e4dbd57abd40054ab90033ac49" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.evidence[\"certified\"]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-72e99f945b7a7d0f0c6ec571": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_response.py", + "symbol": "test_biased_dc_retains_frozen_species_and_inventory", + "lines": [ + 29, + 29 + ], + "text_sha256": "cc7e4a85dadeaf354b876ececc53628bc21564ebf858314ae1c3499e92028716" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.evidence[\"checks\"][\"metrics\"][\"inventory_relative_error\"] <= 1e-10", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-a05cda30e8a46a568b3ff775": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_response.py", + "symbol": "test_biased_dc_retains_frozen_species_and_inventory", + "lines": [ + 35, + 35 + ], + "text_sha256": "5a14e4756323aa3c66658fecf7671605b7d27ed4e1ff994890c22c874dd51df5" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.evidence[\"terminal_current_A_m2\"]*voltage > 0.", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-cfe44cae86edd79a1c0073b9": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_response.py", + "symbol": "test_biased_dc_retains_frozen_species_and_inventory", + "lines": [ + 36, + 36 + ], + "text_sha256": "548315e18182f61c3d7259c994cf3e12778c1a026abaea1acc7b6b8b0eba222d" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert len(result.evidence[\"history\"]) <= 101", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-fee1c234deda1dd13dbbc424": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_response.py", + "symbol": "test_biased_dc_retains_frozen_species_and_inventory", + "lines": [ + 37, + 37 + ], + "text_sha256": "8670b58a0634090e91f163ec5c881ffd670374381ff0301a3521d70c60e7162b" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert \"left_contact\" in result.evidence[\"physical_face_labels\"]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-9525796c9e5692de9b4240a7": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_response.py", + "symbol": "test_biased_dc_retains_frozen_species_and_inventory", + "lines": [ + 38, + 38 + ], + "text_sha256": "b35863423ae2a4b7ccf6862b09e17114bb961ed2cc988d719588676d8fef58fb" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert \"interface_0_left\" in result.evidence[\"physical_face_labels\"]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-2076669475eb4aa9cf8e3588": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_response.py", + "symbol": "test_biased_dc_retains_frozen_species_and_inventory", + "lines": [ + 39, + 39 + ], + "text_sha256": "ac00909247c80a251cd96a9116296a5d7fcc4bba410e491440ec872db387d30d" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert \"interface_0_right\" in result.evidence[\"physical_face_labels\"]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-4d66452f6405d344ad52f5bb": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_response.py", + "symbol": "test_biased_dc_retains_frozen_species_and_inventory", + "lines": [ + 40, + 40 + ], + "text_sha256": "089874c792d01eeda804115f27a0a68e9f2418e68e0b69a79072edb337833f63" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert \"right_contact\" in result.evidence[\"physical_face_labels\"]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-19d9f7e7c0da472b7ce62879": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_response.py", + "symbol": "test_biased_dc_retains_frozen_species_and_inventory", + "lines": [ + 32, + 32 + ], + "text_sha256": "daa91dbe6304ab84f7a0172717bf8793e1027d62bc6578d8f1c1b2e85e24fd9f" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_array_equal(result.state.positive, common[\"positive_m3\"])", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-98ccb325cc4d888ed675060a": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_response.py", + "symbol": "test_biased_dc_retains_frozen_species_and_inventory", + "lines": [ + 34, + 34 + ], + "text_sha256": "14aa222cb398aa5eec7baa507c8611685930f9be2a220fb96c0fcf8a009c620a" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_array_equal(result.state.occupancy, common[\"occupancy\"])", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-53cda7be6ece666fca96928c": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_response.py", + "symbol": "test_frozen_ac_species_stay_fixed", + "lines": [ + 89, + 89 + ], + "text_sha256": "3b10eb5c24bb5518962fecc23cc387d0d68f14c06279baea69ac25e3c5d08cc5" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert all(np.all(value) for value in ac[\"checks\"].values())", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-0c7e4ad2744151b05e4d81b1": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_response.py", + "symbol": "test_frozen_ac_species_stay_fixed", + "lines": [ + 87, + 87 + ], + "text_sha256": "56da601067573c9e45a67fc1a3c2101067a8b58d5a59f0ced131e2185fead565" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_array_equal(level[\"positive_density_response_m3_per_V\"], 0.)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-07e3528c2c76bb6c0013cadf": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_response.py", + "symbol": "test_frozen_ac_species_stay_fixed", + "lines": [ + 88, + 88 + ], + "text_sha256": "11c7f16462fa5e2b0d336e8291361079482e17905a9da143362e5f4665ea4678" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_array_equal(level[\"occupancy_response_per_V\"], 0.)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-11caf7838e01e00f10dfaa91": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_response.py", + "symbol": "test_interface_only_tail_mismatch_is_rejected", + "lines": [ + 121, + 121 + ], + "text_sha256": "18638d0c1f0a6b355f717cb16308925a95cd11a86d80c8833a21bd9137bcfc1f" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert not result[\"all_observables_agree\"]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-9d608710ff39fb5c0d71db2d": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_response.py", + "symbol": "test_interface_only_tail_mismatch_is_rejected", + "lines": [ + 122, + 122 + ], + "text_sha256": "1d439de919903b32fb57bb5659237306932bf5430c2c21d418ff0f4b6f5a7f21" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert not result[\"comparisons\"][field][\"agrees\"]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-f7fafe82d7c4ec18b9f99687": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_response.py", + "symbol": "test_interface_only_tail_mismatch_is_rejected", + "lines": [ + 123, + 123 + ], + "text_sha256": "bb979f6c4342ece75fbc963c321aee414c155d2eadeca33dc9c69dfad088ed7e" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result[\"comparisons\"][\"current_A_m2\"][\"agrees\"]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-d979933156cc2134714a3ae3": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_response.py", + "symbol": "test_tail_comparison_keeps_unknown_infinite_tail_and_checks_identity", + "lines": [ + 100, + 100 + ], + "text_sha256": "d7b16f87bd167c2f369aaba048cb28423e59fc5ecf80cfa5a59f76669b33c494" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result[\"all_observables_agree\"]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-295d15eaf12072266ca62784": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_response.py", + "symbol": "test_tail_comparison_keeps_unknown_infinite_tail_and_checks_identity", + "lines": [ + 101, + 101 + ], + "text_sha256": "288897dbb97340ce3f66038ca862832bfee40f886e44d92d1a516f4d6edc89ef" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result[\"infinite_tail_integral_bound_F_m2\"] is None", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-9fa464f09cd0ac28fc4f1f4b": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_response.py", + "symbol": "test_tail_comparison_keeps_unknown_infinite_tail_and_checks_identity", + "lines": [ + 103, + 105 + ], + "text_sha256": "c23673912738e5628230920ee8da5c9aa5c3a0b1c0083b4036dc365220584c6a" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert not compare_transient_tail(dc, initial_state=initial, tail_state=changed,\n tail_regular_current_A_m2=dc.evidence[\"terminal_current_A_m2\"],\n time_s=1.)[\"all_observables_agree\"]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-a2d7463672cc64a94be48cc6": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_response.py", + "symbol": "test_tail_comparison_keeps_unknown_infinite_tail_and_checks_identity", + "lines": [ + 106, + 106 + ], + "text_sha256": "0fbdaaf94c889eff88dbe12fc46601dfc27131c97e8d2b8fe9da956491fb8b9d" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(ValueError, match=\"identity\"):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-7a1a5fbed7f7e4b0c2337600": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_one_dimensional_mechanism_r1_state.py", + "symbol": "test_saved_dc_restore_checks_physics_without_running_a_new_dc_solve", + "lines": [ + 77, + 77 + ], + "text_sha256": "a8ae4c825606ba34ae7d3f30897ee6960eaaf5f03b3b9dfb215bea4aaf2c3680" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.array_equal(restored.state.coordinate, dc.state.coordinate)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-763c0b609f704fe627ecdf7e": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_one_dimensional_mechanism_r1_state.py", + "symbol": "test_saved_dc_restore_checks_physics_without_running_a_new_dc_solve", + "lines": [ + 80, + 80 + ], + "text_sha256": "1243cef27cabcc52f68156203d550f09fb6867013cbbb0da3825c4c87fe63c15" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(ValueError, match=\"content mismatch\"):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-e91ede9c1b0629b923c00c83": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_post_execution_request_v4.py", + "symbol": "test_derived_phase_rejects_real_preparation_and_dc_entry_points_before_solving", + "lines": [ + 55, + 55 + ], + "text_sha256": "d19eb31e84ab52e609f1766c61a56629e6522c4ac623b6206f07f7fdc9b9ad9a" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert attempts == [\"prepare_common_state\", \"solve_controlled_dc\"]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-357fa8bb6297a7ea251e178d": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_post_execution_request_v4.py", + "symbol": "test_derived_phase_rejects_real_preparation_and_dc_entry_points_before_solving", + "lines": [ + 51, + 51 + ], + "text_sha256": "57f1064365e43c2877a2bf87f84ec2861078e7a3b49c1503c1ce6a7ed3d69991" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(RuntimeError, match=\"prepare_common_state\"):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-a291c00da08c47c0b5b72c24": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_post_execution_request_v4.py", + "symbol": "test_derived_phase_rejects_real_preparation_and_dc_entry_points_before_solving", + "lines": [ + 53, + 53 + ], + "text_sha256": "075eca95515f0a6d94b1265a6855ca4a2b89a38b79a8eec6c009849326caf3ff" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(RuntimeError, match=\"solve_controlled_dc\"):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-04a85ee22d83073a4df6ceb0": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_v11_response.py", + "symbol": "test_actual_controlled_dc_preserves_frozen_pair_populations", + "lines": [ + 115, + 115 + ], + "text_sha256": "54934faaa4bab90b638bf359365d4f350c1245b264795a1e3329e72b13122c0a" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert dc.evidence[\"control\"] == control and dc.evidence[\"certified\"]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-75472dba2c6d9308e998f058": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_v11_response.py", + "symbol": "test_actual_controlled_dc_preserves_frozen_pair_populations", + "lines": [ + 120, + 120 + ], + "text_sha256": "c30328545f5a5ae6f32df915840c450d63652a077b47d57b09863a746180ce5e" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_array_equal(getattr(dc.state.fine[field], word), reference[\"precision_\"+field+\"_\"+word])", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-517a4f993258ae391c8a0c22": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_one_dimensional_mechanism_r1_response.py", + "symbol": "test_dc_endpoint_ladder_subtracts_baseline_without_claiming_linearity", + "lines": [ + 310, + 310 + ], + "text_sha256": "ced0e16a65be161766b31bb7307976e87fff8feb4265509a16bdbcce7e1e9bea" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert [call[0] for call in calls] == [0., *AMPLITUDES_V]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-358cd0a39fa7b0712be69113": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_one_dimensional_mechanism_r1_response.py", + "symbol": "test_dc_endpoint_ladder_subtracts_baseline_without_claiming_linearity", + "lines": [ + 311, + 311 + ], + "text_sha256": "13d4bce623f9c8a3228d008f52c3f57e1e7d667dba30980696f2d3bdae35ed98" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert all(call[1] == \"external-preparation\" for call in calls)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-3356336fb0b49c8f6430540b": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_one_dimensional_mechanism_r1_response.py", + "symbol": "test_dc_endpoint_ladder_subtracts_baseline_without_claiming_linearity", + "lines": [ + 313, + 313 + ], + "text_sha256": "c41e0cc6f628410a5f79239d58c6959c9ae02fed476adeea93c5ff2254a06f60" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert len(result[\"adjacent_halving_diagnostics\"]) == 6", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-0b83306b79e40725b2919d64": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_one_dimensional_mechanism_r1_response.py", + "symbol": "test_dc_endpoint_ladder_subtracts_baseline_without_claiming_linearity", + "lines": [ + 314, + 314 + ], + "text_sha256": "1ad00975fb191163cdb5f327bcf7be63f71f03157f423f62f453660de87a9990" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result[\"dc_states_certified\"]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-fce0e943a33959f00f1bea83": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_one_dimensional_mechanism_r1_response.py", + "symbol": "test_dc_endpoint_ladder_subtracts_baseline_without_claiming_linearity", + "lines": [ + 315, + 315 + ], + "text_sha256": "c79bccf6172f281e1507c1ba816c3e7a559777ca43b84777a711a0e2345b82c2" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert not result[\"linearity_certified\"] and not result[\"full_transient_linearity_certified\"]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-e8aa3da2865b7e8ef0917fbc": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_one_dimensional_mechanism_r1_response.py", + "symbol": "test_dc_endpoint_ladder_subtracts_baseline_without_claiming_linearity", + "lines": [ + 316, + 316 + ], + "text_sha256": "3a7ac37f8d5e0cabe92303dc3307aaec26e8f4c8e4759c5e49c984ad1c9d2888" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result[\"absolute_current_error_bounds_A_m2\"] is None", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-c8c21b879efcd76e9d5ec42a": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_one_dimensional_mechanism_r1_response.py", + "symbol": "test_dc_endpoint_ladder_subtracts_baseline_without_claiming_linearity", + "lines": [ + 312, + 312 + ], + "text_sha256": "6aefa9ea1f3085f5424ddb97976d5f77e088378078a501bdcc422a1bfaea3a1d" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_allclose(result[\"normalized_endpoint_response_S_m2\"], 2+3*np.array(AMPLITUDES_V), atol=2e-13)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-61a55c161b2c7e7fb3768689": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_one_dimensional_mechanism_r1_response.py", + "symbol": "test_dc_endpoint_ladder_subtracts_baseline_without_claiming_linearity", + "lines": [ + 318, + 318 + ], + "text_sha256": "e3368f6fc79784b086cb2142025e7484081d7bf607bf1d73e4f96d30ec91b1e9" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert row[\"absolute_numerical_error_budget_S_m2\"] is None", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-a5a8d3970c89c50ac5cbe7ff": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_one_dimensional_mechanism_r1_response.py", + "symbol": "test_dc_endpoint_ladder_subtracts_baseline_without_claiming_linearity", + "lines": [ + 319, + 319 + ], + "text_sha256": "a6a1e46d3ee764df09360f1f9ba3cbf599dc8ec88453aa3979f5c5d748866dc6" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert not row[\"linearity_certified\"]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-06a2e997736c2deccab4bc61": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_one_dimensional_mechanism_r1_response.py", + "symbol": "test_dc_endpoint_ladder_subtracts_baseline_without_claiming_linearity", + "lines": [ + 320, + 320 + ], + "text_sha256": "c567b049bdb138a406f34929fb887f4e04d0d314fd5fc3aaed7ba87d9f3b6d8f" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(ValueError, match=\"complete declared amplitude\"):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-01b4a8606654d0c936503653": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_v8_precision_evidence.py", + "symbol": "test_actual_short_run_has_both_sides_initial_construction_and_regular_updates", + "lines": [ + 28, + 28 + ], + "text_sha256": "46cdf6fbb1ac8ecde286db7d7589c4778299a5c72b65e651c0fd50767fdbd3a2" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result[\"certificate\"][\"certified\"]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-6fd02678f78487771e08c7d6": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_v8_precision_evidence.py", + "symbol": "test_actual_short_run_has_both_sides_initial_construction_and_regular_updates", + "lines": [ + 29, + 29 + ], + "text_sha256": "bc7fc439f0d2b0eaa862521d64cd760377eb10d5c10425289ec29ed21c2c4437" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert len(result[\"accepted_steps\"]) == 10", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-fbebb781dddf589d757c5c72": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_v8_precision_evidence.py", + "symbol": "test_actual_short_run_has_both_sides_initial_construction_and_regular_updates", + "lines": [ + 31, + 31 + ], + "text_sha256": "2218c12c5747a67248fb58b8c60544641c672e9f017ac1204a1528496788fd39" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert initial[\"qualified\"], initial", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-6ef532f1dd5aa0de98e7637d": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_v8_precision_evidence.py", + "symbol": "test_actual_short_run_has_both_sides_initial_construction_and_regular_updates", + "lines": [ + 49, + 49 + ], + "text_sha256": "3ac0ca1119c0cd473a043625032b9f9d1c4e3cc3808c1de99b13bb58f92fa21d" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert (anchors, regular) == (3, 7)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-202fdc5fe6183dd4a8be1368": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_v8_precision_evidence.py", + "symbol": "test_actual_short_run_has_both_sides_initial_construction_and_regular_updates", + "lines": [ + 39, + 39 + ], + "text_sha256": "cae89c7504f6e48e06c0a519eb40a32effac33c7c3d0665c60bc8d7f768f9881" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert sides[\"qualified\"], sides", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-77649d5bc087253def462057": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_v8_precision_evidence.py", + "symbol": "test_actual_short_run_has_both_sides_initial_construction_and_regular_updates", + "lines": [ + 40, + 40 + ], + "text_sha256": "dac8eae34339c647de8eb0dc6b621cbe3234999d17926bdfb7df495dd4725a5c" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert sides[\"upstream_construction\"] is not None", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-6606183069ac70e091b17a35": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_v8_precision_evidence.py", + "symbol": "test_actual_short_run_has_both_sides_initial_construction_and_regular_updates", + "lines": [ + 43, + 43 + ], + "text_sha256": "7b476f71637cbd3543e0adcbed7801a36f87a3b0cd33f7f35133df2833d07ef7" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert canonical(precision_fields(row[\"state\"])) == canonical(initial[\"zero_plus_fields\"])", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-b0fce5610ec1de3bfc0660a1": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_v8_precision_evidence.py", + "symbol": "test_actual_short_run_has_both_sides_initial_construction_and_regular_updates", + "lines": [ + 47, + 47 + ], + "text_sha256": "6f341e23b19299da0d5f8756b8f63a351d6808acda76b948a83ee30b029ae8e0" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert arithmetic[\"passed\"], arithmetic", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-d490cf21644ed18af673fc95": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_open_circuit.py", + "symbol": "test_failed_integrator_never_reuses_the_initial_state", + "lines": [ + 108, + 108 + ], + "text_sha256": "d589441b2074b7456a3e5224ec82742835e706c259981a691f49b1f018ea011f" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(OpenCircuitError, match=\"injected failure\"):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-37356dc24a4af358c1e2aecc": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_open_circuit.py", + "symbol": "test_known_capacitance_and_conductance_decay", + "lines": [ + 84, + 84 + ], + "text_sha256": "f0f20c5a0b93d9c0038fdafcca2cd25943c1e8f4c2710ecddb9aa03cb39ed4a0" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.max(result.max_face_current_A_m2) < 1e-12", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-20f37e21f4b0f9c28b818fbd": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_open_circuit.py", + "symbol": "test_known_capacitance_and_conductance_decay", + "lines": [ + 85, + 85 + ], + "text_sha256": "dfd3aef03c0d2c09d54362442c1582506f86f4c176202dfc6ba6210394a1a887" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.charge_voltage_error_V[-1] < 1e-9", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-0094e761b0a45c7f3a699a2d": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_open_circuit.py", + "symbol": "test_known_capacitance_and_conductance_decay", + "lines": [ + 86, + 86 + ], + "text_sha256": "5f3374dc164d3ab86b310e1e2ace23aa0fd150abc03c5675a64888a498ca8dca" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.all(result.valid)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-3f5ffb3960f4a9b18b2a08d9": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_open_circuit.py", + "symbol": "test_known_capacitance_and_conductance_decay", + "lines": [ + 83, + 83 + ], + "text_sha256": "f216f992e72fa4b6baf7fda6e3af80e04350076fca252ad26d8db19b9e386367" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_allclose(result.V, expected, rtol=0.0, atol=1e-8)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-f0cc121d6b87c3a93a1843c2": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_open_circuit.py", + "symbol": "test_output_sampling_does_not_change_voltage_evolution", + "lines": [ + 99, + 99 + ], + "text_sha256": "df17383b368eadd4d1e75b153fef27e30b1b5b1b94b54363be80359173b62ef6" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert coarse.nfev == fine.nfev", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-8ba409a97deb18b7facdb2d2": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_open_circuit.py", + "symbol": "test_output_sampling_does_not_change_voltage_evolution", + "lines": [ + 98, + 98 + ], + "text_sha256": "33d825ebe4e04715d0bae42d239f69f90ad421875be6668b6659b59f2ce66f39" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_array_equal(coarse.V, fine.V[::4])", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-c7422c3e86230925ab13625b": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_open_circuit.py", + "symbol": "test_wrong_displacement_in_the_integral_is_detected", + "lines": [ + 120, + 120 + ], + "text_sha256": "34fd3b146537d1fa9508a7430b9e603a8273dcb9970f628f3457d172ddb14708" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(OpenCircuitError, match=\"integrated Maxwell current\"):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-85ae63d648f263162b846ce5": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_protocol.py", + "symbol": "test_public_experiments_reject_implicit_history_before_solving", + "lines": [ + 367, + 367 + ], + "text_sha256": "3299704ec495c6a0fb041fcc4ed81aa2cfe7476e0ba80001cd0fef45e719f084" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(ImplicitProtocolError):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-96f2e6452bb4c35a1d1dd81b": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_tpv.py", + "symbol": "test_rejects_invalid_delta_G_frac", + "lines": [ + 25, + 25 + ], + "text_sha256": "145f73a920b07f862063a1cb299b98c143d1aa2be65a2ee0720a0f377c72a934" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(ValueError, match=\"delta_G_frac\"):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-519b5904c14226f0800a874f": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_tpv.py", + "symbol": "test_rejects_invalid_delta_G_frac", + "lines": [ + 27, + 27 + ], + "text_sha256": "145f73a920b07f862063a1cb299b98c143d1aa2be65a2ee0720a0f377c72a934" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(ValueError, match=\"delta_G_frac\"):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-c35cd219d9c3936f6df67853": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_tpv.py", + "symbol": "test_rejects_nonpositive_t_pulse", + "lines": [ + 32, + 32 + ], + "text_sha256": "235930bec62e0cd49f15f0d5ed32435f33403030223f0e0a1cbf53d54732eb3f" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(ValueError, match=\"t_pulse\"):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-d0c9efef19cab13b5fb251b8": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_multivalent_explicit_defects_qf.py", + "symbol": "test_quasi_fermi_impedance_fails_closed_for_multivalent", + "lines": [ + 957, + 960 + ], + "text_sha256": "b6e26c398c5d3829d24e7eee67630f49449137c176464977de24220751a35c85" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(\n (QuasiFermiSteadyStateError, ExplicitDefectCapabilityError),\n match=\"multivalent\",\n ):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-ead5ee27e027f7b4b62f9e1b": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py", + "symbol": "test_contact_opt_in_is_bit_identical_and_seed_tampering_fails_closed", + "lines": [ + 392, + 392 + ], + "text_sha256": "991a28c0646b2b2e3affe2151ee983a07bf452d417c615a749a4566cb43ef69d" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert default_reference.dark_state.contact_thermodynamic_status is None", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-e8c6c569db88e08127b77f1f": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py", + "symbol": "test_contact_opt_in_is_bit_identical_and_seed_tampering_fails_closed", + "lines": [ + 393, + 393 + ], + "text_sha256": "d4d8b629ae72f1d423c2618cecbdaaa7a357466acaafcf6c893fecfd899112c0" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert required_reference.dark_state.contact_thermodynamic_status == \"certified\"", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-0ce47613c202408ebe4bf335": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py", + "symbol": "test_contact_opt_in_is_bit_identical_and_seed_tampering_fails_closed", + "lines": [ + 402, + 402 + ], + "text_sha256": "1980868b3776dbfe72bb2e213524b4e819822ead7dec7a12cf7249c2326bd4ae" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert default_reference.dark_state_sha256 == required_reference.dark_state_sha256", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-55033681998948f994bee963": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py", + "symbol": "test_contact_opt_in_is_bit_identical_and_seed_tampering_fails_closed", + "lines": [ + 412, + 414 + ], + "text_sha256": "d7b3d89289ef947581dc05c4ad3d24670e92093b0e0bb107d783086b068dd3e3" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert seed.interface_charge_reference_grid_sha256 == (\n required_reference.grid_sha256\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-073f57e533764b28cb946a4d": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py", + "symbol": "test_contact_opt_in_is_bit_identical_and_seed_tampering_fails_closed", + "lines": [ + 415, + 417 + ], + "text_sha256": "e03ba1e8546cc68535bee1898bdee1c7148abe584a0f3a05471eee822eefe7e6" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert seed.interface_charge_reference_stack_sha256 == (\n required_reference.stack_sha256\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-bb9c8ef9a62ba3baafb6c2b7": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py", + "symbol": "test_contact_opt_in_is_bit_identical_and_seed_tampering_fails_closed", + "lines": [ + 418, + 420 + ], + "text_sha256": "13029d37b03fe2bf8f4d3d60b3235f25a84180becf70ff394b71e726ed4fb9b5" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert seed.interface_charge_reference_dark_state_sha256 == (\n required_reference.dark_state_sha256\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-5c223a82d04dd3f39a82b9e2": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py", + "symbol": "test_contact_opt_in_is_bit_identical_and_seed_tampering_fails_closed", + "lines": [ + 394, + 397 + ], + "text_sha256": "b420bab251f6bf0d8870be7c8707840dcb4ab454a7dda0db7561b0c2ae3b264e" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_array_equal(\n default_reference.dark_state.y,\n required_reference.dark_state.y,\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-bee4f719f1d5e2ed33c8b463": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py", + "symbol": "test_contact_opt_in_is_bit_identical_and_seed_tampering_fails_closed", + "lines": [ + 398, + 401 + ], + "text_sha256": "169c37cbf21e4b867209315d30eac135c3e69e63cf70052a89a27f1764ac48f5" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_array_equal(\n default_reference.dark_state.phi,\n required_reference.dark_state.phi,\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-ec731e62e54b6f86e3b62e49": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py", + "symbol": "test_contact_opt_in_is_bit_identical_and_seed_tampering_fails_closed", + "lines": [ + 453, + 453 + ], + "text_sha256": "9315940aba27b3ceba380edf7d22cbd4fbc3f9de6c96b91c89015b320e4fba3d" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(ValueError, match=message):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-ced71cfa7d6e282b3acdaeb2": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py", + "symbol": "test_research_api_rejects_reference_from_a_different_stack", + "lines": [ + 1198, + 1198 + ], + "text_sha256": "0b149dae0918c833da6ac4fe19cbc5a0cb44fe1403afa641d73ee483ea9b1df1" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(ValueError, match=\"stack does not match\"):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-5992fd62bc62c4d991de0037": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py", + "symbol": "test_research_api_rejects_tampered_dark_reference_state_hash", + "lines": [ + 1243, + 1243 + ], + "text_sha256": "1c1147e4eba9a3a1c0568518685144c8296a25352edb52d399835604c98b9553" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(ValueError, match=\"state content hash\"):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-cb3f2e48c2fd3f8b0b9e3ea9": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py", + "symbol": "test_research_api_rejects_tampered_microscopic_dark_reference", + "lines": [ + 1283, + 1283 + ], + "text_sha256": "cc6a71fd48bd89d3a649ebbfd655bc59b598cbb260001901f9613c3518a9bf70" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(ValueError, match=message):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-f07f85f37c398ec3ea01c806": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_multivalent_explicit_defects_qf.py", + "symbol": "test_multi_species_v4_layer_is_certified_through_the_qf_lane", + "lines": [ + 552, + 552 + ], + "text_sha256": "1ddea441a91d4d80469d57315b79f0a227910ef9aa6499c4aa1327f53360c25b" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert material.multivalent_bulk_defects is not None", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-e9613fe29a6aa4d4858290ab": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_multivalent_explicit_defects_qf.py", + "symbol": "test_multi_species_v4_layer_is_certified_through_the_qf_lane", + "lines": [ + 553, + 553 + ], + "text_sha256": "03a8d4dc4fc6e11b7a6101adebadc50f48db402c5675de671860dcc84b992963" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert material.multivalent_bulk_defects.state_counts == (3, 3)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-f92c93bfff049d2f7b9ff98b": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_multivalent_explicit_defects_qf.py", + "symbol": "test_multi_species_v4_layer_is_certified_through_the_qf_lane", + "lines": [ + 585, + 585 + ], + "text_sha256": "aac9be6b68c7fabb23ab79d7d2c49cc157fa79786ee168142b9676cecfd24a32" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert sweep.certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-0535b5c6f9527a96442c133f": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_multivalent_explicit_defects_qf.py", + "symbol": "test_multi_species_v4_layer_is_certified_through_the_qf_lane", + "lines": [ + 586, + 589 + ], + "text_sha256": "dc12947c3fd4ffa2806c7fa99c31d765486bd76e84321de936001ebd7f7bcb5a" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert sweep.multivalent_species_identifiers == (\n \"layer[0]/defective/donor_defect\",\n \"layer[0]/defective/acceptor_defect\",\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-21b530f6b95adf8382c28707": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_multivalent_explicit_defects_qf.py", + "symbol": "test_multi_species_v4_layer_is_certified_through_the_qf_lane", + "lines": [ + 590, + 590 + ], + "text_sha256": "2acfefe0f872dccfd0a5cb14699c3bec8851e1ff9d68a5d23a69f49becc14b9e" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert sweep.multivalent_state_counts == (3, 3)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-50ec80b5f48faf5d08b281e2": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_multivalent_explicit_defects_qf.py", + "symbol": "test_multi_species_v4_layer_is_certified_through_the_qf_lane", + "lines": [ + 592, + 592 + ], + "text_sha256": "3dfe0cadc19d031b04250f0e952e50b0e1b555bdd337eb69f6285984c2642ff7" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert diagnostics is not None", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-0b44b3cd2ae0ab53db2f02d0": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_multivalent_explicit_defects_qf.py", + "symbol": "test_multi_species_v4_layer_is_certified_through_the_qf_lane", + "lines": [ + 593, + 593 + ], + "text_sha256": "54ea7466a27d4c28bf4c8648038ee3efbaea4c6d629075fbfe2b8bea5cd89f88" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert diagnostics.charge_density_C_m3.shape == (2, grid.size)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-67fbca59dc1c3262c84f4214": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_multivalent_explicit_defects_qf.py", + "symbol": "test_multi_species_v4_layer_is_certified_through_the_qf_lane", + "lines": [ + 570, + 575 + ], + "text_sha256": "42ad085f205452a6153451993ff6fa99cac91ab338532b69ec5f8f7644f3a7b9" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_allclose(\n tangent,\n (rho_plus - rho_minus) / (2.0 * step),\n rtol=3.0e-8,\n atol=1.0e-10,\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-f27ba068b0b5fd5c8454ad54": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_multivalent_explicit_defects_qf.py", + "symbol": "test_multi_species_v4_layer_is_certified_through_the_qf_lane", + "lines": [ + 594, + 599 + ], + "text_sha256": "c18ad3db82efbac60522260f67a48708ece958e2a40bb3c59f3026fdf8aac9a0" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_allclose(\n diagnostics.total_charge_density_C_m3,\n np.sum(diagnostics.charge_density_C_m3, axis=0),\n rtol=0.0,\n atol=0.0,\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-eea791ff772af5d3b17f21c9": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_multivalent_explicit_defects_qf.py", + "symbol": "test_public_qf_jv_sweep_retains_multivalent_certificates", + "lines": [ + 1003, + 1003 + ], + "text_sha256": "aac9be6b68c7fabb23ab79d7d2c49cc157fa79786ee168142b9676cecfd24a32" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert sweep.certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-158d945f762287340493eaf5": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_multivalent_explicit_defects_qf.py", + "symbol": "test_public_qf_jv_sweep_retains_multivalent_certificates", + "lines": [ + 1004, + 1004 + ], + "text_sha256": "2c9787c5f9656186ed4cb54c4a63bb8efa6e56d42f0774317426ee101c00d0e3" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert sweep.voltages_V.tolist() == [0.0, 0.005, 0.01]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-688fed8c4e04dbf56a31992f": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_multivalent_explicit_defects_qf.py", + "symbol": "test_public_qf_jv_sweep_retains_multivalent_certificates", + "lines": [ + 1005, + 1007 + ], + "text_sha256": "0853e6ff4356ec839544a47ff419f13c7f0ec74ff5cc0511e8442726d9c33a19" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert sweep.multivalent_species_identifiers == (\n \"layer[0]/defective/double_donor_bulk\",\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-49bc0d0e12284514e28be8e8": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_multivalent_explicit_defects_qf.py", + "symbol": "test_public_qf_jv_sweep_retains_multivalent_certificates", + "lines": [ + 1008, + 1008 + ], + "text_sha256": "8003c039872b5812452dc2d57c88583ac59a3dd69b5921f99f936c2de2529528" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert sweep.multivalent_state_counts == (3,)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-e6045f24ef387b1c8911ad67": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_multivalent_explicit_defects_qf.py", + "symbol": "test_public_qf_jv_sweep_retains_multivalent_certificates", + "lines": [ + 1009, + 1011 + ], + "text_sha256": "7bf4d8523452db227cd83751c2206804a9a8a2c55a8d72d0052fe75201282069" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert all(\n point.multivalent_bulk_defect_diagnostics is not None for point in sweep.points\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-8472e0c58d78a3337d41ddc2": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_multivalent_explicit_defects_qf.py", + "symbol": "test_public_qf_jv_sweep_retains_multivalent_certificates", + "lines": [ + 1012, + 1014 + ], + "text_sha256": "2143860117c58dc5849b392c214050ac2359521b0159a09668f0e6a4ba0154a9" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert all(\n point.contact_thermodynamic_status == \"certified\" for point in sweep.points\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-76cda7384a908bca34a56255": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_jv_driver_capability.py", + "symbol": "test_qf_stop_after_voc_advances_to_next_nested_coarse_point", + "lines": [ + 188, + 188 + ], + "text_sha256": "4154d9b833b3620257e83815a0e46db3a2f7b705c06ece4dd22495519ebe686f" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert sweep.voltages_V == pytest.approx([0.0, 0.05, 0.1, 0.15, 0.2])", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-caf2819b1073aaa6814f37b3": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_jv_driver_capability.py", + "symbol": "test_qf_stop_after_voc_advances_to_next_nested_coarse_point", + "lines": [ + 189, + 189 + ], + "text_sha256": "68af8421721fb5f8a584d57d57d4a9f5fae088cb5131d1719d72a5cec12677ad" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert sweep.currents_A_m2 == pytest.approx([2.0, 1.0, 0.5, -0.25, -1.0])", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-a4d7912d89d1999ef2391c5c": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_jv_driver_capability.py", + "symbol": "test_qf_stop_after_voc_advances_to_next_nested_coarse_point", + "lines": [ + 190, + 190 + ], + "text_sha256": "08294189cf0d4e274fb2e0b45699e24a4bfe8beee460fc86c461f2f6898b48c0" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert sweep.metrics.voc_bracketed", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-85ddefac0ad83d9372f98476": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_jv_driver_capability.py", + "symbol": "test_qf_stop_after_voc_retains_the_certified_bracket", + "lines": [ + 161, + 161 + ], + "text_sha256": "1d8de025a65b46c2fae86c027d4fe2f80aa7c70c732677005a16f207bfc5e029" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert sweep.voltages_V == pytest.approx([0.0, 0.1, 0.2])", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-6f986b5dda3bffe999038151": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_jv_driver_capability.py", + "symbol": "test_qf_stop_after_voc_retains_the_certified_bracket", + "lines": [ + 162, + 162 + ], + "text_sha256": "5638b659a56c5f9b1a800947f161575d1b74b779152287bc03e57a3f2f2d6ca1" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert sweep.currents_A_m2 == pytest.approx([2.0, 1.0, -1.0])", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-26d071162d8e387efa88cfa8": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_jv_driver_capability.py", + "symbol": "test_qf_stop_after_voc_retains_the_certified_bracket", + "lines": [ + 163, + 163 + ], + "text_sha256": "683ae06b8dffba185416c90c40ce5584e7c705b89d2ce5fb9c9467d087ebf823" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert len(sweep.points) == 3", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-e82e96cd5723b491de880d9b": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_jv_driver_capability.py", + "symbol": "test_qf_stop_after_voc_retains_the_certified_bracket", + "lines": [ + 164, + 164 + ], + "text_sha256": "08294189cf0d4e274fb2e0b45699e24a4bfe8beee460fc86c461f2f6898b48c0" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert sweep.metrics.voc_bracketed", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-d3dba7b745f286a1e31f34b5": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py", + "symbol": "test_certified_short_circuit_seed_is_recertified_directly_at_one_sun", + "lines": [ + 313, + 313 + ], + "text_sha256": "60f36e0aac295fd556a23b16c36afd4bd6ea62edea3adcb4516ae835b8492647" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert sweep.points[0].certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-2299581574619015dfb57493": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py", + "symbol": "test_certified_short_circuit_seed_is_recertified_directly_at_one_sun", + "lines": [ + 314, + 314 + ], + "text_sha256": "fc6f7b26484c0420ec0085bb21f51a024d4331d33226b7a96475cbdf17510810" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert sweep.points[0].illumination_steps == (1.0,)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-77df755a2936bed2e0d9f864": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py", + "symbol": "test_certified_short_circuit_seed_is_recertified_directly_at_one_sun", + "lines": [ + 315, + 318 + ], + "text_sha256": "ffd4153e65d698557e5c70c07f860d7995e30f14e8900423c4cf68326e1febf3" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert sweep.points[0].current_A_m2 == pytest.approx(\n short_circuit.current_A_m2,\n abs=1.0e-10,\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-29c5db6f3703082b1bdb3cd0": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "symbol": "test_charged_dark_equilibrium_is_qf_residual_certified", + "lines": [ + 611, + 611 + ], + "text_sha256": "8ac0011bcd524ee6da86109082b98bace38aeaa508cce45ff5d56fbfc3a085c4" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-f90b9d3df42f483917723084": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "symbol": "test_charged_dark_equilibrium_is_qf_residual_certified", + "lines": [ + 612, + 612 + ], + "text_sha256": "a29a0528e4dad6f68333407453f2570a78fa91b0b488b45b34cd100072c622f6" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.contact_thermodynamic_status == \"certified\"", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-3dbbfc35bbfbdae88c96ddf3": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "symbol": "test_charged_dark_equilibrium_is_qf_residual_certified", + "lines": [ + 613, + 613 + ], + "text_sha256": "eb859b90f6fd13c78336fabae88104a7133b75921ea92498fe0f99a8fa5c8f2d" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.contact_fermi_level_span_eV is not None", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-7f82be697bbf540d94cdd815": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "symbol": "test_charged_dark_equilibrium_is_qf_residual_certified", + "lines": [ + 614, + 614 + ], + "text_sha256": "644b2d75865c6bfea1c1f17050b3557991e2c34a5d6e4647897e76367583ca87" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.contact_fermi_level_span_eV < 1.0e-12", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-3b2fd11b9c491521f922fcbb": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "symbol": "test_charged_dark_equilibrium_is_qf_residual_certified", + "lines": [ + 615, + 615 + ], + "text_sha256": "55e7632a53f47f0e7f2165b954ef97a88d60fcd5f2194fcbd2b03505bcd3a01a" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.max_normalized_cell_residual < 1.0e-10", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-cf9581295ddd53a3782495a7": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "symbol": "test_charged_dark_equilibrium_is_qf_residual_certified", + "lines": [ + 616, + 616 + ], + "text_sha256": "597ba8ef8d79819030d9ba73ad743e760ad145d86e3766271f8fb5cb1a404fba" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.poisson_residual < 1.0e-10", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-97a49289a406b9edbc0f2b59": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "symbol": "test_charged_dark_equilibrium_is_qf_residual_certified", + "lines": [ + 617, + 617 + ], + "text_sha256": "c7e73dd5390e12d59df81addf7cf7ce7b20a85ebf765d254a76ee32b7766e1d9" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.face_current_spread_A_m2 < 1.0e-9", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-71530268c41c628ee115d26e": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "symbol": "test_charged_dark_equilibrium_is_qf_residual_certified", + "lines": [ + 619, + 619 + ], + "text_sha256": "3dfe0cadc19d031b04250f0e952e50b0e1b555bdd337eb69f6285984c2642ff7" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert diagnostics is not None", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-1d173a7e27e0af6e74e7e207": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "symbol": "test_charged_dark_equilibrium_is_qf_residual_certified", + "lines": [ + 620, + 620 + ], + "text_sha256": "926ad5ab9fcdc7930413c870a5f137d7e04d31de06654984b7396605c0b9e35f" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert diagnostics.charge_transitions == (transition,)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-edc483cf316439ff39f0ef28": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "symbol": "test_charged_dark_equilibrium_is_qf_residual_certified", + "lines": [ + 621, + 621 + ], + "text_sha256": "7bde346ef91bb2fdce546d36ce037921b5016b6d7c4e615841f15fcb1460eb6d" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert 0.0 < diagnostics.minimum_occupancy", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-5d40cbd23bedc5969d8e4391": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "symbol": "test_charged_dark_equilibrium_is_qf_residual_certified", + "lines": [ + 622, + 622 + ], + "text_sha256": "5e27ed828409c477e72dd3f90eaec976a9f0c8fedea7d2d7eff1b7694d53997b" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert diagnostics.maximum_occupancy < 1.0", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-85ecd79d2ad280a583211bd1": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "symbol": "test_charged_dark_equilibrium_is_qf_residual_certified", + "lines": [ + 623, + 623 + ], + "text_sha256": "b16be11bda5ba3f6f7a152f83e5e5b14ffb52dbe6747c287f4cd625e22e98f78" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert diagnostics.minimum_kinetic_denominator_s1 > 0.0", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-4288ab85b7d17f9be6ea4bfc": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "symbol": "test_charged_defect_and_heterojunction_close_in_one_qf_dc_residual", + "lines": [ + 661, + 661 + ], + "text_sha256": "7226f91148166cb2a9d22804c9b7d8180ea4a58aacefd297cbe1aa5869a70a32" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert dark.certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-60472a7db956bdab1ee45b73": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "symbol": "test_charged_defect_and_heterojunction_close_in_one_qf_dc_residual", + "lines": [ + 662, + 662 + ], + "text_sha256": "55a97dde10d4835e37ccbdd49fa4e5a0ed9fb93714c4bdc78873f3f8dd08ca2f" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert dark.interface_boundary", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-ab71dca9f6bef82090b4a351": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "symbol": "test_charged_defect_and_heterojunction_close_in_one_qf_dc_residual", + "lines": [ + 663, + 663 + ], + "text_sha256": "d784799f8407fb72c8401289ff806877b47c9451cefb06f255a24f1d93703b0e" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert dark.interface_faces", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-dfa719c8f13793b08e9373d6": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "symbol": "test_charged_defect_and_heterojunction_close_in_one_qf_dc_residual", + "lines": [ + 664, + 664 + ], + "text_sha256": "7fce8b20568768a48075d1a1a15a3761e7a22973010546e7038de3116300daa7" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert dark.bulk_defect_diagnostics is not None", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-20d6d93d28bb34d5b14d1dc4": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "symbol": "test_charged_defect_and_heterojunction_close_in_one_qf_dc_residual", + "lines": [ + 665, + 665 + ], + "text_sha256": "2c6cb767325d7324497140ff905aeb6ca1ef2c81843c89556ffa25fcca17c2ec" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert dark.contact_thermodynamic_status == \"certified\"", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-b8b8424057569dee034acb9f": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "symbol": "test_charged_defect_and_heterojunction_close_in_one_qf_dc_residual", + "lines": [ + 666, + 666 + ], + "text_sha256": "ccaf4f14fd35759500f921f89f4ee5c884ba6553fd87469d688efaed3b0e87cf" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert dark.contact_fermi_level_span_eV is not None", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-d816fd4891245f68e66821e7": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "symbol": "test_charged_defect_and_heterojunction_close_in_one_qf_dc_residual", + "lines": [ + 667, + 667 + ], + "text_sha256": "44b9bde1ce54f1cf099acedb7d614c7e4ddaface642aa4f617d0b23453562932" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert dark.contact_fermi_level_span_eV < 1.0e-12", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-32e0f6c5f5b6195df88db3ca": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "symbol": "test_charged_defect_and_heterojunction_close_in_one_qf_dc_residual", + "lines": [ + 668, + 668 + ], + "text_sha256": "3f1aad3125dbef79bad4d5254a3b06d06ac50b7cb81b132f9dedd5385011f952" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert dark.max_normalized_cell_residual < dark.numerical_residual_limit", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-a8f0ff3c7c439de1dc7cb9c6": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "symbol": "test_charged_defect_and_heterojunction_close_in_one_qf_dc_residual", + "lines": [ + 669, + 669 + ], + "text_sha256": "0bb40fe6cb342830f047a89a8666e448203813f68e3b784bceca27c37a236261" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert dark.poisson_residual < 1.0e-8", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-14c859709b5f6e4181c51ed0": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "symbol": "test_charged_defect_and_heterojunction_close_in_one_qf_dc_residual", + "lines": [ + 683, + 683 + ], + "text_sha256": "44d0d3b49486ee4352fb433a4bfa9e5d2bc4a1f5f2b3c94c7440ce00c51e18de" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert illuminated.certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-c20ba11daf52b1452e315552": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "symbol": "test_charged_defect_and_heterojunction_close_in_one_qf_dc_residual", + "lines": [ + 684, + 684 + ], + "text_sha256": "cf629f3ec864b2102a10cd3cc4443e3c5a866643592d4cf4bedb98ba538faa4f" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert illuminated.bulk_defect_diagnostics is not None", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-b950937c4b3a2ee934f33e2f": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "symbol": "test_charged_defect_and_heterojunction_close_in_one_qf_dc_residual", + "lines": [ + 685, + 685 + ], + "text_sha256": "a892b7f0d282e2f710631efa8de8d3e91bee8ea87b997852f4f501db12383ba1" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert illuminated.interface_basin_initializations == 0", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-5e6f870a9e36305392dca8ae": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "symbol": "test_charged_illuminated_biased_state_is_qf_residual_certified", + "lines": [ + 641, + 641 + ], + "text_sha256": "8ac0011bcd524ee6da86109082b98bace38aeaa508cce45ff5d56fbfc3a085c4" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-24830abf127e9d02df1fb4b8": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "symbol": "test_charged_illuminated_biased_state_is_qf_residual_certified", + "lines": [ + 642, + 642 + ], + "text_sha256": "34799b823482f4d0b70e089df7581be4f6c1a16bef0b49ce7a16f4276867f031" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.bulk_defect_diagnostics is not None", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-a0ea3fb451ce2f530100166f": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "symbol": "test_charged_illuminated_biased_state_is_qf_residual_certified", + "lines": [ + 643, + 643 + ], + "text_sha256": "a29a0528e4dad6f68333407453f2570a78fa91b0b488b45b34cd100072c622f6" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.contact_thermodynamic_status == \"certified\"", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-8462aabddd5c99c15876ac4a": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "symbol": "test_charged_illuminated_biased_state_is_qf_residual_certified", + "lines": [ + 644, + 644 + ], + "text_sha256": "b6de191623a88eb959c34d4868b55a733f3eb24849cbd247bdef150b2ffa5964" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert abs(result.current_A_m2) > 0.0", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-b215f69ca39282bc4464cfde": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "symbol": "test_charged_illuminated_biased_state_is_qf_residual_certified", + "lines": [ + 645, + 645 + ], + "text_sha256": "55e7632a53f47f0e7f2165b954ef97a88d60fcd5f2194fcbd2b03505bcd3a01a" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.max_normalized_cell_residual < 1.0e-10", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-17f8c616c83d27a36f77da67": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "symbol": "test_charged_illuminated_biased_state_is_qf_residual_certified", + "lines": [ + 646, + 646 + ], + "text_sha256": "c38dcff1b2faab1a042aa7bcf211577948150197dba9f964a7a9bea9dae392d7" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.poisson_residual < 1.0e-8", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-778550557d4b5ff1de960684": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "symbol": "test_distributed_dark_equilibrium_is_qf_residual_certified", + "lines": [ + 454, + 454 + ], + "text_sha256": "8ac0011bcd524ee6da86109082b98bace38aeaa508cce45ff5d56fbfc3a085c4" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-35ee73f9b4bf99f1cc47bc5f": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "symbol": "test_distributed_dark_equilibrium_is_qf_residual_certified", + "lines": [ + 455, + 455 + ], + "text_sha256": "a29a0528e4dad6f68333407453f2570a78fa91b0b488b45b34cd100072c622f6" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.contact_thermodynamic_status == \"certified\"", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-869cc99018e78850e2f1d112": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "symbol": "test_distributed_dark_equilibrium_is_qf_residual_certified", + "lines": [ + 456, + 456 + ], + "text_sha256": "eb859b90f6fd13c78336fabae88104a7133b75921ea92498fe0f99a8fa5c8f2d" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.contact_fermi_level_span_eV is not None", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-7d7f9e1b034d54b0df788ec0": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "symbol": "test_distributed_dark_equilibrium_is_qf_residual_certified", + "lines": [ + 457, + 457 + ], + "text_sha256": "644b2d75865c6bfea1c1f17050b3557991e2c34a5d6e4647897e76367583ca87" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.contact_fermi_level_span_eV < 1.0e-12", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-c2b912e46b32ad21cb35e70f": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "symbol": "test_distributed_dark_equilibrium_is_qf_residual_certified", + "lines": [ + 458, + 458 + ], + "text_sha256": "b4b603c975403023c8b1ac66360e47b89b5f4f2c309f0352129e8845bf18f5d3" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.defect_energy_quadrature_order == 20", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-4eb94b5a173482e7e7209609": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "symbol": "test_distributed_dark_equilibrium_is_qf_residual_certified", + "lines": [ + 459, + 459 + ], + "text_sha256": "9f7aa05b871f01b6c1e001faf7938c0dcdf07d14fabf2abb1e8d3cacfa9ad31c" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.defect_distribution_kinds == (kind,)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-8643234f3430e0dcf8b3fd3e": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "symbol": "test_distributed_dark_equilibrium_is_qf_residual_certified", + "lines": [ + 461, + 461 + ], + "text_sha256": "3dfe0cadc19d031b04250f0e952e50b0e1b555bdd337eb69f6285984c2642ff7" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert diagnostics is not None", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-e9919f003f969ed75c4d0731": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "symbol": "test_distributed_dark_equilibrium_is_qf_residual_certified", + "lines": [ + 462, + 462 + ], + "text_sha256": "77a2195f17899febdaf9f4ed1f3b444ee9d8647c6eb927f0d3d8875311781533" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert diagnostics.distribution_kinds == (kind,)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-b2875c0f774b716cdb828332": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "symbol": "test_distributed_dark_equilibrium_is_qf_residual_certified", + "lines": [ + 463, + 463 + ], + "text_sha256": "b9b018d73acde13bd3651c8f7555cf01d81a907d6e34a1895630fe288718088c" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert diagnostics.source_energy_orders == (20,)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-d12e2c16b16e4883b10bda91": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "symbol": "test_distributed_dark_equilibrium_is_qf_residual_certified", + "lines": [ + 464, + 464 + ], + "text_sha256": "0676d9f8853fd185c34273041cc796907f9648da20b2d5cfc94fa46c2818617d" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert len(diagnostics.source_node_identifiers[0]) == 20", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-7794f22ed8ae715ed9ef0558": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "symbol": "test_distributed_dark_equilibrium_is_qf_residual_certified", + "lines": [ + 465, + 465 + ], + "text_sha256": "b16be11bda5ba3f6f7a152f83e5e5b14ffb52dbe6747c287f4cd625e22e98f78" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert diagnostics.minimum_kinetic_denominator_s1 > 0.0", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-6745cd61c886f8422028b125": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "symbol": "test_distributed_dark_equilibrium_is_qf_residual_certified", + "lines": [ + 466, + 466 + ], + "text_sha256": "1cd318b1c92bab28ae8bcbef8fe2697f7c1e728501a29edc240d442ece02865d" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.max(np.abs(diagnostics.total_recombination_rate_m3_s)) < 1.0e12", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-75f786d756e2fd5a0b246261": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "symbol": "test_distributed_energy_order_is_bound_into_material_and_public_result", + "lines": [ + 505, + 505 + ], + "text_sha256": "712b23889e8373462bdfcfc94beb61e40731addbbb7b35faba8423bcd53b87a0" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert material_12.monovalent_bulk_defects is not None", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-ef2ed18f3aa18e54e910707c": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "symbol": "test_distributed_energy_order_is_bound_into_material_and_public_result", + "lines": [ + 506, + 506 + ], + "text_sha256": "fd01299b73850d798b5cc8a47d7be5452595d1543d5720a1b35b2dd5034ac4fb" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert material_24.monovalent_bulk_defects is not None", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-751325da264bfa636f54435c": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "symbol": "test_distributed_energy_order_is_bound_into_material_and_public_result", + "lines": [ + 507, + 510 + ], + "text_sha256": "cbdeff3839400d37e43362aa4a2e15b6f63c5034b4d2557a74d806414ce54709" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert (\n material_12.monovalent_bulk_defects.identity_sha256\n != material_24.monovalent_bulk_defects.identity_sha256\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-348857adb1d70cb29541269d": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "symbol": "test_distributed_energy_order_is_bound_into_material_and_public_result", + "lines": [ + 511, + 511 + ], + "text_sha256": "f4426a35fd37d4976c5695c11c43161ae7460aec12dbde71cddd77f5d29fb2ce" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(QuasiFermiSteadyStateError, match=\"quadrature order\"):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-e5b8e7fcdcef4d2812c816bf": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "symbol": "test_distributed_qf_scope_rejects_mobile_ions_fd_and_spatial_grading", + "lines": [ + 765, + 765 + ], + "text_sha256": "fe8b7e6ebccb05037d464e1e33447dc78f397e1a8846fc73319a7ea9d5be5710" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert params is not None", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-2154c957674abe237b00a71c": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "symbol": "test_distributed_qf_scope_rejects_mobile_ions_fd_and_spatial_grading", + "lines": [ + 780, + 780 + ], + "text_sha256": "9eea2f9305f915afd4ac5c7cf3bc226f9b8328191f238bf6b7baeade9f7bf771" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(QuasiFermiSteadyStateError, match=\"mobile ions\"):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-c871170ee6e3def7d689180a": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "symbol": "test_distributed_qf_scope_rejects_mobile_ions_fd_and_spatial_grading", + "lines": [ + 787, + 790 + ], + "text_sha256": "460485337b3833fe6b21ffa2881017fbcf5be7c80ee79112036c140943e59ee4" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(\n ValueError,\n match=\"explicit_quasi_steady requires.*maxwell_boltzmann\",\n ):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-e66640f04f9f2e147f8a6a39": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "symbol": "test_distributed_qf_scope_rejects_mobile_ions_fd_and_spatial_grading", + "lines": [ + 808, + 808 + ], + "text_sha256": "b5a84881590ed51dc1eeefbb74ec2f8fb08b0bb7675c332cfee77310c7bb2f2b" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(ExplicitDefectCapabilityError, match=\"spatial grading\"):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-02d69392d479e75cae1dc843": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_steady_state.py", + "symbol": "test_direct_voc_consistent_with_jv", + "lines": [ + 105, + 105 + ], + "text_sha256": "6b97cbd01da4cea96318fe5d16677a3905204ccdd6fc4ec32b4e91ec9fe436e4" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert voc == pytest.approx(ss.metrics.V_oc, abs=2e-3)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-487af23f6285e765bebcd0b4": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_steady_state.py", + "symbol": "test_ss_jv_matches_frozen_ion_transient", + "lines": [ + 95, + 95 + ], + "text_sha256": "2ce3b8b27737e3f4d76bcd7a051d2c7c72c5b83683f77ed263078b646424740f" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert ss.metrics.voc_bracketed and tr.metrics_fwd.voc_bracketed", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-fcb41ff56204caac996b9796": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_steady_state.py", + "symbol": "test_ss_jv_matches_frozen_ion_transient", + "lines": [ + 96, + 96 + ], + "text_sha256": "2022205b1e90c3499c0287b56fb49ffd5cc4d308d7bde2ee8daf2d8987701243" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert ss.metrics.V_oc == pytest.approx(tr.metrics_fwd.V_oc, abs=5e-3)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-120e8e64b1b477ee4a11c3b6": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_steady_state.py", + "symbol": "test_ss_jv_matches_frozen_ion_transient", + "lines": [ + 97, + 97 + ], + "text_sha256": "bc6286182094b923030af18d7b0aacb408069ea7b8c245b53d45f6a362263e23" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert ss.metrics.J_sc == pytest.approx(tr.metrics_fwd.J_sc, rel=0.01)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-8a41ca4a5abe9f36bea2a615": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_steady_state.py", + "symbol": "test_ss_sweep_reports_point_level_acceptance", + "lines": [ + 315, + 318 + ], + "text_sha256": "8a99396b1df373bd84962b1daabc8d1911b4c341f7984853e8dc34ac9641a466" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.point_acceptance == (\n \"residual_converged\",\n \"transient_assisted\",\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-9b76a9887986bcaf6b574631": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_steady_state.py", + "symbol": "test_ss_sweep_reports_point_level_acceptance", + "lines": [ + 320, + 320 + ], + "text_sha256": "5d26da42bfd93dbdd664386f9c17c46efa4392ad5dbcb39f9dcb6544e17f8fc5" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.isfinite(result.point_continuity_current_bound[0])", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-9b2d06ae3c290f44411367c6": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_steady_state.py", + "symbol": "test_ss_sweep_reports_point_level_acceptance", + "lines": [ + 321, + 321 + ], + "text_sha256": "836efce11c60cfadc4e3cfa18d13b6db9512e169a6fd772567f85cb1b0b76a0a" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.isnan(result.point_continuity_current_bound[1])", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-9609bc8bd98c7b09428e70be": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_steady_state.py", + "symbol": "test_ss_sweep_reports_point_level_acceptance", + "lines": [ + 319, + 319 + ], + "text_sha256": "410708fb0579df4404e1786baf054622a1ad4adb0256e3a3b3a5ac79fe77fb4f" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_allclose(result.point_residual, [1.0e-8, 0.25])", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-6d592e0fc0df37b6b4b8d821": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_steady_state.py", + "symbol": "test_stop_after_voc_default_off_reaches_vmax", + "lines": [ + 132, + 132 + ], + "text_sha256": "a1fae21a2a74f03e3ed4d90ca8dac8896340adca9c6f6ea2001278ac881ad7f1" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert ss.V[-1] == pytest.approx(1.25, abs=1e-9)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-6a7b6e6035498f89d4bbaa00": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_steady_state.py", + "symbol": "test_stop_after_voc_truncates_and_avoids_deep_injection", + "lines": [ + 119, + 119 + ], + "text_sha256": "698ca9458e3b5664c59d83ab3bdc5368c4afedcc3907df60b462330a16f2c5ea" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert ss.metrics.voc_bracketed", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-03785660f2fa6f14c64cc16e": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_steady_state.py", + "symbol": "test_stop_after_voc_truncates_and_avoids_deep_injection", + "lines": [ + 121, + 121 + ], + "text_sha256": "2b2127c5d8937c81ef090decfe4da12f0fef9072916fb135043e74d2d406da92" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert ss.metrics.V_oc == pytest.approx(voc, abs=1e-2)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-9449c7bab431ce0513e076f0": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_steady_state.py", + "symbol": "test_stop_after_voc_truncates_and_avoids_deep_injection", + "lines": [ + 123, + 123 + ], + "text_sha256": "abdde4d7b1706ba21971f65fc8148973bb07f3ff85414e3207e112820b1e02f8" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert ss.V[-1] < voc + 0.1", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-665768419af762bc0f63891d": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_steady_state.py", + "symbol": "test_stop_after_voc_truncates_and_avoids_deep_injection", + "lines": [ + 124, + 124 + ], + "text_sha256": "af28bf98322962e6943322004049474464bb906e807eccf56fa3e88ee81bc44c" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert ss.V[-1] < 1.5", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-6a14ac7ce180d9945cc2026d": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_steady_state.py", + "symbol": "test_continuity_current_error_bound_must_be_finite_and_positive", + "lines": [ + 426, + 426 + ], + "text_sha256": "4d678118ef7a4efc0129ca79e5a16fbda497df5c947ecb031f533ddf8d00b881" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(ValueError, match=\"must be finite and positive\"):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-0f9e40309cd95a3d905588aa": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_steady_state.py", + "symbol": "test_dark_equilibrium_converges_with_small_residual", + "lines": [ + 68, + 68 + ], + "text_sha256": "bf5d22a8ea5501936a24b1b6fdbcb2d39096d84ef47dc0496423b43c93ec9fd5" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert res.converged", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-f89333b5daa78bb46ca40333": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_steady_state.py", + "symbol": "test_dark_equilibrium_converges_with_small_residual", + "lines": [ + 69, + 72 + ], + "text_sha256": "c6bdbbd5b1cb0ea77fb44466c6c20fa85f4b134dbf0510989e3de91827f3f446" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert res.acceptance in {\n \"residual_converged\",\n \"current_bounded_stall\",\n }", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-edcb47d93dddda23169d96f1": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_steady_state.py", + "symbol": "test_dark_equilibrium_converges_with_small_residual", + "lines": [ + 75, + 75 + ], + "text_sha256": "77aacb5d9a4a8a410a8492549ad52a60f23287dec178595bcd9dfbb64827eb72" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert abs(J) < 1.0 # A/m^2 — dark short-circuit current ~ 0", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-602c88e404c2d1fdadda7e95": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_steady_state.py", + "symbol": "test_illuminated_jsc_physical", + "lines": [ + 82, + 82 + ], + "text_sha256": "bf5d22a8ea5501936a24b1b6fdbcb2d39096d84ef47dc0496423b43c93ec9fd5" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert res.converged", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-3d399002f68d2f5d7968015c": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_steady_state.py", + "symbol": "test_illuminated_jsc_physical", + "lines": [ + 85, + 85 + ], + "text_sha256": "4e6f91fbf1a790b61af21186d6acd645a45b13dbd74eb67a299a5dc41df2b08a" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert 230.0 < J < 280.0 # ~25.7 mA/cm^2 = 257 A/m^2", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-e062b2357e4bcfea6182bc51": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_steady_state.py", + "symbol": "test_initial_residual_gate_reports_strict_convergence", + "lines": [ + 261, + 261 + ], + "text_sha256": "5d434e5dbef9af32661ddc86fa77cf03a388e327a9363abbbb7f22a4fc11aeea" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.converged", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-65b5c77340b4065f80c9053e": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_steady_state.py", + "symbol": "test_initial_residual_gate_reports_strict_convergence", + "lines": [ + 262, + 262 + ], + "text_sha256": "00bd1d39d72ca04190c02d02f1a2d1628c109574a5bbc3600eead93974dde534" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.residual_converged", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-506564453ec1aa6b575ef99c": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_steady_state.py", + "symbol": "test_initial_residual_gate_reports_strict_convergence", + "lines": [ + 263, + 263 + ], + "text_sha256": "11a76d87d04eb3b5e192225bd10ced25e578c6c7b5d339ad77a188dd161924f4" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.acceptance == \"residual_converged\"", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-a2b075ef40ba594935a1dce2": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_steady_state.py", + "symbol": "test_nonconvergence_raises", + "lines": [ + 179, + 179 + ], + "text_sha256": "6a51ef0de57dc012894c25da0865e7ccd11852f1b2cd1eea66919a0c285ec71b" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(SteadyStateError):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-6bdba3fa320fbe81c771922c": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_steady_state.py", + "symbol": "test_qfl_relax_identity_at_converged_state", + "lines": [ + 484, + 484 + ], + "text_sha256": "7134e52b2e0001f0d4726be580cf95c3d6ac2bb60b43f2547aa05cc261544a09" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_allclose(y2[: 2 * N], r.y[: 2 * N], rtol=1e-9)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-f5f840299f5fc9fd876592b6": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_steady_state.py", + "symbol": "test_qfl_relax_preserves_negative_overshoots", + "lines": [ + 502, + 502 + ], + "text_sha256": "0ee2055a15a3d775525452258e809fa30352bcdd4030d9182e7d2d4fcb31eb96" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert y2[5] == y[5]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-860354c314a2652c67b51799": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_steady_state.py", + "symbol": "test_stall_acceptance_is_current_scaled_for_thick_high_density_device", + "lines": [ + 413, + 413 + ], + "text_sha256": "558acdb5c2cac7ac9523c3cdc30610af662fbbe68c06db1412a8d733a20533ca" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(SteadyStateError, match=\"Newton step stalled\"):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-67ef7f665912934975a69a9f": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_photon_recycling_voc.py", + "symbol": "test_photon_recycling_voc_below_sq_ceiling", + "lines": [ + 100, + 100 + ], + "text_sha256": "fc26f9c89920f2bb42dd37d57fd00799d6694bc8b65d52b53caf884c33788694" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert voc >= 1.0, f\"radiative-limit V_oc too low: {voc:.4f} V\"", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-520fba3abd8ce264de3bf5a9": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_photon_recycling_voc.py", + "symbol": "test_photon_recycling_voc_below_sq_ceiling", + "lines": [ + 105, + 108 + ], + "text_sha256": "e4a8c3e12298f3fbe27b7d1e01a6b8fcebf2dedb8d969c12bd40330b7842053e" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert voc <= sq_ceiling + 5 * V_T, (\n f\"radiative-limit V_oc exceeds SQ ceiling: {voc:.4f} V > \"\n f\"{sq_ceiling + 5 * V_T:.4f} V\"\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-697fff44f4c210f900801d01": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_photon_recycling_voc.py", + "symbol": "test_photon_recycling_voc_boost_in_window", + "lines": [ + 68, + 70 + ], + "text_sha256": "cf9dccd0aac7b76133c4b7fec1c9e27ad6c21546beb80d596be53403476bea04" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert voc_on > voc_off, (\n f\"photon recycling lowered V_oc: on={voc_on:.4f} V, off={voc_off:.4f} V\"\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-efe57371d8127f9c4da3fd44": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_photon_recycling_voc.py", + "symbol": "test_photon_recycling_voc_boost_in_window", + "lines": [ + 72, + 75 + ], + "text_sha256": "ff065772e2891434f8eb6b070e65e21c4348c864365e26942b7e02a47e6f041b" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert 40.0 <= delta_mV <= 100.0, (\n f\"ΔV_oc = {delta_mV:.1f} mV outside literature window [40, 100]. \"\n f\"voc_off={voc_off:.4f} V, voc_on={voc_on:.4f} V\"\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-b60efab2c36172f0ac4bb617": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_radiative_reabsorption.py", + "symbol": "test_radiative_reabsorption_matches_phase_3_1_at_voc", + "lines": [ + 142, + 145 + ], + "text_sha256": "80865d8d4696807a8d863039b29da3ed7cecaa61b2f672629a243cf35590bccd" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert abs(delta_mV) <= 5.0, (\n f\"Phase 3.1b V_oc drift vs Phase 3.1: |Δ| = {abs(delta_mV):.2f} mV \"\n f\"(31b={voc_31b:.4f} V, 31={voc_31:.4f} V)\"\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-bedf01757126e8e21c0783ba": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_radiative_reabsorption.py", + "symbol": "test_radiative_reabsorption_preserves_voc_boost", + "lines": [ + 183, + 185 + ], + "text_sha256": "7040f42c7121abfc1accaac6e56e5a9512fc3065a186a47df93f18dff625c0df" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert voc_31b > voc_off, (\n f\"Phase 3.1b did not raise V_oc: on={voc_31b:.4f} V, off={voc_off:.4f} V\"\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-f1e4db97e2aac010ba22577c": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_radiative_reabsorption.py", + "symbol": "test_radiative_reabsorption_preserves_voc_boost", + "lines": [ + 186, + 189 + ], + "text_sha256": "5e5a89364e0ce54b1747b6444a12c9e0f5a6dba406240858e2a79b618d027b55" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert 40.0 <= delta_mV <= 100.0, (\n f\"Phase 3.1b V_oc boost {delta_mV:.1f} mV outside literature window \"\n f\"[40, 100]. voc_off={voc_off:.4f} V, voc_on={voc_31b:.4f} V\"\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-c815bfa4c6276b2fb349f99f": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_suns_voc.py", + "symbol": "test_progress_callback_invoked", + "lines": [ + 239, + 239 + ], + "text_sha256": "f7e27ec53e4c9235b19ea39b776e56f1796ce3364b37d8145919029c6cfa134b" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert len(events) == len(levels)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-a6933a46014b24eb2488b436": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_suns_voc.py", + "symbol": "test_progress_callback_invoked", + "lines": [ + 240, + 240 + ], + "text_sha256": "e8673130f288e30dbce5300fef5a1ce9a7db0c41113f3bfb856b8e5329679dae" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert all(ev[0] == \"suns_voc\" for ev in events)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-610b13a07df4e5ea237fc360": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_suns_voc.py", + "symbol": "test_progress_callback_invoked", + "lines": [ + 241, + 241 + ], + "text_sha256": "743ede4debc311533944604127d147f268059b2857c478ade2b771bdda845f77" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert [ev[1] for ev in events] == [1, 2, 3]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-bf169c3f03b1e88a49ba198a": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_suns_voc.py", + "symbol": "test_progress_callback_invoked", + "lines": [ + 242, + 242 + ], + "text_sha256": "37348d68fe033acf8b9451a70737cba00216422d83b042c486d7b9c5273e7de1" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert all(ev[2] == 3 for ev in events)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-0062dfbca37c25723ad9ca64": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_suns_voc.py", + "symbol": "test_pseudo_jv_anchors_at_one_sun_voc", + "lines": [ + 214, + 214 + ], + "text_sha256": "5e51b1152fcee9477debd7a56eaa261f7503cb7979ba2444d118b3a6e47f3de7" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert r.J_pseudo_V[idx1] == pytest.approx(r.V_oc[idx1])", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-5438a2515b847d795b0aaa39": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_suns_voc.py", + "symbol": "test_pseudo_jv_anchors_at_one_sun_voc", + "lines": [ + 215, + 215 + ], + "text_sha256": "4e859b4b65ec097957cdd3bae53eaf0e05872a23f72dcc396dc6b19f4c47649a" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert r.J_pseudo_J[idx1] == pytest.approx(0.0, abs=1e-9)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-71c4d258d1626d3d9741d3bf": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_suns_voc.py", + "symbol": "test_pseudo_jv_anchors_at_one_sun_voc", + "lines": [ + 218, + 218 + ], + "text_sha256": "804dee89cdb25f87a1a74af1e756b12844e934db22a8065d4e0c44c378e03472" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert r.J_pseudo_J[idx_low] > 0.0", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-8a98026726bf0ea6a8496e59": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_suns_voc.py", + "symbol": "test_pseudo_jv_anchors_at_one_sun_voc", + "lines": [ + 219, + 219 + ], + "text_sha256": "5e7c05800b9e61c9392cc7da408e148a3e1e4754bb696942deadc0768c0cf396" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert r.J_pseudo_V[idx_low] < r.V_oc[idx1]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-a42447da13bf0304ce2b1f57": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_suns_voc.py", + "symbol": "test_pseudo_jv_anchors_at_one_sun_voc", + "lines": [ + 222, + 222 + ], + "text_sha256": "f72e8404a4838c67f1724e37afb03eaedb861985df8568afe27b57bdc686f837" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert r.J_pseudo_J[idx_high] < 0.0", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-eb44d50a75c773b3f6fcc631": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_suns_voc.py", + "symbol": "test_pseudo_jv_anchors_at_one_sun_voc", + "lines": [ + 223, + 223 + ], + "text_sha256": "0398018660bc7af48b744a32e25ee2d2a74c9fdbeeca4252d63884e8e5b4a1ac" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert r.J_pseudo_V[idx_high] > r.V_oc[idx1]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-df142d10f9204ad57e7db88f": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_suns_voc.py", + "symbol": "test_run_suns_voc_rejects_empty_levels", + "lines": [ + 74, + 74 + ], + "text_sha256": "5ff8bfd3595e032c706ab5d1dbd83d7720dbf431a365e2f06d96cc64dd7dd31a" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(ValueError, match=\"non-empty\"):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-6d6444330419275ce601572c": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_tandem_jv.py", + "symbol": "test_run_tandem_jv_smoke", + "lines": [ + 129, + 129 + ], + "text_sha256": "7ec8c671d3830207161d20439627fc3901593b5dbf8ef5f701cb4c908d11563c" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert isinstance(result, TandemJVResult)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-7ea2fa4933402ff8ffb45778": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_tandem_jv.py", + "symbol": "test_run_tandem_jv_smoke", + "lines": [ + 132, + 132 + ], + "text_sha256": "901b350b58c670b0f816d064cde4e4ac74b6821e8e5cc4e78129d00fbb157d55" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert len(result.V) == len(result.J)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-8050bac6cd371c28e7f83c72": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_tandem_jv.py", + "symbol": "test_run_tandem_jv_smoke", + "lines": [ + 133, + 133 + ], + "text_sha256": "83be31f3a0653a1075577e3772dfedc4ca82a889b8d614ebce1394a493305c4e" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert len(result.V_top) == len(result.J)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-ebca8c2e0ba312ba06e18a06": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_tandem_jv.py", + "symbol": "test_run_tandem_jv_smoke", + "lines": [ + 134, + 134 + ], + "text_sha256": "2b776022e3e08cd0bf886599b4af0f88ab20928563821edccf8cfbe2d51c4e27" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert len(result.V_bot) == len(result.J)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-7d6f95d066a91c739d62cad3": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_tandem_jv.py", + "symbol": "test_run_tandem_jv_smoke", + "lines": [ + 138, + 138 + ], + "text_sha256": "7ecc762cd9ac445f6cd32383a4f0e348a60e4def73763fccfc3be81276987d56" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert hasattr(m, \"V_oc\")", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-c98aec1a946f1d85e76f1041": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_tandem_jv.py", + "symbol": "test_run_tandem_jv_smoke", + "lines": [ + 139, + 139 + ], + "text_sha256": "be17c93df08e292e6e54710a5ccd3e787c3c3d1ae7929e73d6fe25d2f3f0e338" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert hasattr(m, \"J_sc\")", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-ba9959e911224db47204f883": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_tandem_jv.py", + "symbol": "test_run_tandem_jv_smoke", + "lines": [ + 140, + 140 + ], + "text_sha256": "97961194d6ed7644ac514e84e1571e14139c6e2131fa63ab33e1ab8aae999e68" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert hasattr(m, \"FF\")", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-860dd049ad47bfc21c6d8a82": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_tandem_jv.py", + "symbol": "test_run_tandem_jv_smoke", + "lines": [ + 141, + 141 + ], + "text_sha256": "c4d42e3b57e98b4212e16b2b2befc9f700c810f851fee50039688be340774ced" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert hasattr(m, \"PCE\")", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-9b693e30b2020c4892a1484e": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_tandem_jv.py", + "symbol": "test_run_tandem_jv_smoke", + "lines": [ + 142, + 142 + ], + "text_sha256": "791b733962632f4c32d667af89383333f36b99fe1818f7e648e94b69f827b6a2" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert m.V_oc >= 0.0", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-b6699e186249f01287f8b51f": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_tandem_jv.py", + "symbol": "test_run_tandem_jv_smoke", + "lines": [ + 147, + 147 + ], + "text_sha256": "3feb11726c44cd47b9cb020d883420c9607d49bf1405d7ac409fdd78a14f7f4d" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert m.J_sc >= -1e-2", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-a98ebac3fa7bae31cc760473": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_tandem_jv.py", + "symbol": "test_run_tandem_jv_smoke", + "lines": [ + 161, + 161 + ], + "text_sha256": "16fc63d708b111f3def8ac0b913cae696e43053d2fd12adb3a886700168155cc" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert m.V_oc == pytest.approx(expected_voc, rel=0.3)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-0cbee6efe0358eac241e0653": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_thermal_balance.py", + "symbol": "test_linear_transient_matches_closed_form_and_energy_ledger", + "lines": [ + 195, + 195 + ], + "text_sha256": "8ac0011bcd524ee6da86109082b98bace38aeaa508cce45ff5d56fbfc3a085c4" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-fc0da879cbf9a4f024c709d8": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_thermal_balance.py", + "symbol": "test_linear_transient_matches_closed_form_and_energy_ledger", + "lines": [ + 196, + 196 + ], + "text_sha256": "fdd1f1787065e410fa5ec866c40e0ea565d9731de379d978f01f8b52ad1292d8" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.max_abs_energy_balance_residual_J_m2 <= 1.0e-7", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-17cfde69283bd9b8d509eafc": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_thermal_balance.py", + "symbol": "test_linear_transient_matches_closed_form_and_energy_ledger", + "lines": [ + 197, + 197 + ], + "text_sha256": "6b59412ba1bd9e3e52471fb99ecbabbbcc40f9a7ed35a0ca17d1e0309a4b653a" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.temperature_K.flags.writeable is False", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-3e8cd1c67db60c0af44042c0": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_thermal_balance.py", + "symbol": "test_linear_transient_matches_closed_form_and_energy_ledger", + "lines": [ + 198, + 198 + ], + "text_sha256": "cdbe4a3f089e42aeda9ce2ebc7e1ffe2d4ea6f0a3dbd6d6f27490f71ba8343f4" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.energy_balance_residual_J_m2.flags.writeable is False", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-78aecf9c69eb92b269182b0d": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_thermal_balance.py", + "symbol": "test_linear_transient_matches_closed_form_and_energy_ledger", + "lines": [ + 194, + 194 + ], + "text_sha256": "0313e91784db2fe00290854b104a174d8a7adf43d046176b6f822bca37aed612" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_allclose(result.temperature_K, expected, atol=1.0e-9)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-33e2971e8081b8119a7a31bc": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_thermal_balance.py", + "symbol": "test_linear_transient_matches_closed_form_and_energy_ledger", + "lines": [ + 199, + 199 + ], + "text_sha256": "42859bea23e7c7e0c5fff79cf46052274cace931231cbeebdc9c8db61e872a57" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(ValueError, match=\"residual trace\"):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-c91c14cd4be98aa51ca3929a": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_thermal_balance.py", + "symbol": "test_radiative_transient_approaches_registered_steady_state", + "lines": [ + 247, + 250 + ], + "text_sha256": "8552a72d4a3edd30af7e600c81d018fa5a8431ac6a37ab9870bf9e373569e6ab" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert transient.temperature_K[-1] == pytest.approx(\n steady.temperature_K,\n abs=1.0e-6,\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-c8e0d6b4d4be3716800f5cd0": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_thermal_balance.py", + "symbol": "test_radiative_transient_approaches_registered_steady_state", + "lines": [ + 251, + 251 + ], + "text_sha256": "fc78e612d06179ddd44c36ed8d23cd44a10a95ff622d0cf923553108747ebb8e" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert transient.max_abs_energy_balance_residual_J_m2 <= 1.0e-7", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-17d48ccfb94f73fcdf397374": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_thermal_balance.py", + "symbol": "test_transient_rejects_initial_or_evolved_temperature_above_envelope", + "lines": [ + 256, + 256 + ], + "text_sha256": "de501c187f78e417ae22a72788f48eaebd6c21c620ab02ef0aebbed03c52e6f2" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(ThermalTransientError, match=\"initial temperature\"):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-fe05db392ae9a87d9aa9204a": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_thermal_balance.py", + "symbol": "test_transient_rejects_initial_or_evolved_temperature_above_envelope", + "lines": [ + 262, + 262 + ], + "text_sha256": "0bceca972810550f915ae3dc34e1688594151ca18e8c286cd02bf99e7c3cec33" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(ThermalTransientError, match=\"temperature envelope\"):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-a85b719fc8b1b42fa3757146": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_thermal_balance.py", + "symbol": "test_transient_zero_heat_at_ambient_is_exact_and_hashes_bind_inputs", + "lines": [ + 225, + 225 + ], + "text_sha256": "79535cc432d9668abc48b7e4ec9ddb3d62e62ee14be437b0bd21c840c5ba9f6a" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.array_equal(first.temperature_K, np.full(41, 300.0))", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-6bdefdfd4bffa4dd08458947": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_thermal_balance.py", + "symbol": "test_transient_zero_heat_at_ambient_is_exact_and_hashes_bind_inputs", + "lines": [ + 226, + 226 + ], + "text_sha256": "6c7e314e705fda151806d1fa2a42e3922194c0efc8a4677f7b101ae99c5469c1" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.array_equal(first.net_heating_W_m2, np.zeros(41))", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-e5df3d118bdbb641c9941a2e": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_thermal_balance.py", + "symbol": "test_transient_zero_heat_at_ambient_is_exact_and_hashes_bind_inputs", + "lines": [ + 227, + 227 + ], + "text_sha256": "e05d09ddd028ea740525cafa3c177df9ed51cf41578e3ca0b8a2a2e828ba4cc3" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert first.mapping_sha256 != second.mapping_sha256", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-527ff1ffcb2eccf80c6bd0c2": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_thermal_balance.py", + "symbol": "test_transient_zero_heat_at_ambient_is_exact_and_hashes_bind_inputs", + "lines": [ + 228, + 228 + ], + "text_sha256": "8fd937090b83db13f3cb758c3956c647cf86e422088c7081d77eb52ffec712ca" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert first.thermal_protocol_sha256 == thermal.sha256", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-dd0fad27fb6c2c2ebde8308d": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_thermal_balance.py", + "symbol": "test_transient_zero_heat_at_ambient_is_exact_and_hashes_bind_inputs", + "lines": [ + 229, + 229 + ], + "text_sha256": "d2f0fe94a093a89100a1c57e2d6a9329af73f33d85bd2205c7fd2bbb87e7e6e0" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert first.integration_protocol_sha256 == integration.sha256", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-25037a47ecdf2d5a7fd418a8": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_thermal_balance.py", + "symbol": "test_radiation_reduces_temperature_and_closes_first_law", + "lines": [ + 143, + 143 + ], + "text_sha256": "82f30ae6f2e726812d0db1db453cc73a162c255306404a0f304f40900db2de44" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert 300.0 < radiative.temperature_K < linear.temperature_K", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-3d48ef50a00d095d171f6ea2": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_thermal_balance.py", + "symbol": "test_radiation_reduces_temperature_and_closes_first_law", + "lines": [ + 144, + 144 + ], + "text_sha256": "b901db3b450f2487bf039c6429f91be38e424503b777d35811af11120470bc16" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert radiative.ledger.radiative_heat_rejection_W_m2 > 0.0", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-64c611076dfcf61c057a1fd5": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_thermal_balance.py", + "symbol": "test_radiation_reduces_temperature_and_closes_first_law", + "lines": [ + 145, + 145 + ], + "text_sha256": "e1e10237ac9e24a22212bd54b10f5ebac5374f4cce82a064dfb929aaf5a620e5" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert abs(radiative.ledger.net_heating_W_m2) <= 1.0e-8", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-26b4b091fd8c3c76f87baffb": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_thermal_balance.py", + "symbol": "test_steady_linear_heat_rejection_matches_analytic_solution", + "lines": [ + 127, + 127 + ], + "text_sha256": "8ac0011bcd524ee6da86109082b98bace38aeaa508cce45ff5d56fbfc3a085c4" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-99134d7c34ce004df55f3203": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_thermal_balance.py", + "symbol": "test_steady_linear_heat_rejection_matches_analytic_solution", + "lines": [ + 128, + 128 + ], + "text_sha256": "9042782abdae32cce8e2d9dc35ab02d96a0655dfd01c5536fdd6a133379e551f" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.temperature_K == pytest.approx(330.0, abs=1.0e-10)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-1e9efb3bc99cdf6e16abad9d": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_thermal_balance.py", + "symbol": "test_steady_linear_heat_rejection_matches_analytic_solution", + "lines": [ + 129, + 129 + ], + "text_sha256": "9ff670d5ed0547c1e93a9163a26ccfce3766ea0b6017c7b4674151479cb09ff9" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.ledger.linear_heat_rejection_W_m2 == pytest.approx(600.0)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-4e90fcdd51a07baddbeccd28": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_thermal_balance.py", + "symbol": "test_steady_linear_heat_rejection_matches_analytic_solution", + "lines": [ + 130, + 130 + ], + "text_sha256": "0ace0c1be72d2863f02d0203c02c7ee6eacb12f7055f1673527045daf08599ac" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert abs(result.ledger.net_heating_W_m2) <= 1.0e-8", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-2d66abb21d7e57216950be95": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_thermal_balance.py", + "symbol": "test_steady_solver_fails_closed_on_impossible_source_or_envelope", + "lines": [ + 150, + 150 + ], + "text_sha256": "cf00871e8cb432753490424ec122f7c699f5d00768f142f9a4be68a6048a2a33" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(ThermalEnergySourceError, match=\"exceeds\"):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-bfa0dc8cdf58f80f6fc69426": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_thermal_balance.py", + "symbol": "test_steady_solver_fails_closed_on_impossible_source_or_envelope", + "lines": [ + 155, + 155 + ], + "text_sha256": "cf00871e8cb432753490424ec122f7c699f5d00768f142f9a4be68a6048a2a33" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(ThermalEnergySourceError, match=\"exceeds\"):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-cdaa2e9839cc0657824b618f": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_thermal_balance.py", + "symbol": "test_steady_solver_fails_closed_on_impossible_source_or_envelope", + "lines": [ + 163, + 163 + ], + "text_sha256": "594d369a43a3eeffe19220ad784d1879905bcbad121bbaa14950df503023aabb" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(ThermalSteadyStateError, match=\"no declared rejection\"):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-5e67266a56200cc3312474f4": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_thermal_balance.py", + "symbol": "test_steady_solver_fails_closed_on_impossible_source_or_envelope", + "lines": [ + 171, + 171 + ], + "text_sha256": "8c9b5ecef4ddb8c6ebaa30f6c9e023491bd239251f208a31cf4961eedeea22f3" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(ThermalSteadyStateError, match=\"below maximum\"):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-d3dfd374b0f7a4daa31e125f": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_thermal_balance.py", + "symbol": "test_steady_zero_heat_is_exactly_ambient", + "lines": [ + 115, + 115 + ], + "text_sha256": "8ac0011bcd524ee6da86109082b98bace38aeaa508cce45ff5d56fbfc3a085c4" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-6f957250ecf35b78f4c91fd5": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_thermal_balance.py", + "symbol": "test_steady_zero_heat_is_exactly_ambient", + "lines": [ + 116, + 116 + ], + "text_sha256": "8a597b12f203411095856fbb9caa4f77cbc0b12411c1c73a6830829eb9caf31d" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.temperature_K == 300.0", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-c5e0386f0474253e3690ef21": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_thermal_balance.py", + "symbol": "test_steady_zero_heat_is_exactly_ambient", + "lines": [ + 117, + 117 + ], + "text_sha256": "951f286c56440318a194476ec2e36449714bb0cc516693f404441c6965f42bb4" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.temperature_rise_K == 0.0", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-ff1ac0a27510edb86de72a68": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_thermal_balance.py", + "symbol": "test_steady_zero_heat_is_exactly_ambient", + "lines": [ + 118, + 118 + ], + "text_sha256": "138ced7f39ab2bf37181d8d55215ba35c89f5f924b4670c86d5dc7c1914849eb" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.ledger.net_heating_W_m2 == 0.0", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-5d0e891641116ce929cc8fa6": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_tpv.py", + "symbol": "test_rejects_small_n_grid", + "lines": [ + 20, + 20 + ], + "text_sha256": "7c5f1651c668a343517611b48321d6069e6cd6ac97ce8b9ead7f99dc600d34fe" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(ValueError, match=\"N_grid\"):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-953a567ec246ac3a03a0de82": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_tpv.py", + "symbol": "test_rejects_t_decay_le_t_pulse", + "lines": [ + 37, + 37 + ], + "text_sha256": "df7c836a38e6b2533a470fd7c48b99401bb1686ec3b0405866ede11341a2673e" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(ValueError, match=\"t_decay\"):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-5efacb2d8027867f5dfcab52": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_tpv.py", + "symbol": "test_tpv_all_finite", + "lines": [ + 84, + 84 + ], + "text_sha256": "6a9c13a3b623aeacb7693d57ddbeac4140c50b12e4355ea94cb946a07c050fa1" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.all(np.isfinite(result.t))", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-adb511aa184f7869a6498373": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_tpv.py", + "symbol": "test_tpv_all_finite", + "lines": [ + 85, + 85 + ], + "text_sha256": "02ee76d3fdd8215d1d13fdd24ada8f35d52dac8129f44a04b631ff9d13e8fcc4" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.all(np.isfinite(result.V))", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-a80b1da83f0d32c39077fc83": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_tpv.py", + "symbol": "test_tpv_all_finite", + "lines": [ + 86, + 86 + ], + "text_sha256": "2845456feec0a207af09ccc2984d92666ac393edf3533624b5ade7804ec16905" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.all(np.isfinite(result.J))", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-073cc2afcf4d3c1a9a7f3fc2": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_tpv.py", + "symbol": "test_tpv_all_finite", + "lines": [ + 87, + 87 + ], + "text_sha256": "94a572aae0320512e3a29c06be31314e36db05246b848a6cb0fe4e6fc7a8f36a" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.isfinite(result.V_oc)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-3b3986d6fd8bcf4cb23eb959": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_tpv.py", + "symbol": "test_tpv_all_finite", + "lines": [ + 88, + 88 + ], + "text_sha256": "fe40514d2043dce706cf0f7afec6a0e11d01705ad09f3f13546fcc830125c1d4" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.isfinite(result.tau)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-4182fd23f2dc797ab35ce2ce": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_tpv.py", + "symbol": "test_tpv_all_finite", + "lines": [ + 89, + 89 + ], + "text_sha256": "f8c9299d5deb5755d4c42521c185e71e7342bd367b483818d120aa68c2943182" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.isfinite(result.delta_V0)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-a0e287916dbeeea2852711a8": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_tpv.py", + "symbol": "test_tpv_progress_callback", + "lines": [ + 118, + 118 + ], + "text_sha256": "23ce6e6302eaeab3744126d2be31ea3809cfdea7ee20843e5a80f865e8511346" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert len(calls) > 0", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-e0309149b5e51cf45b5e68f9": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_tpv.py", + "symbol": "test_tpv_progress_callback", + "lines": [ + 119, + 119 + ], + "text_sha256": "745a0bd229f8b0024ae641f0765e0c67635bc7c7b1a5d77e33b03ccfd8cf499f" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert all(c[0] == \"tpv\" for c in calls)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-f3977eb904d9d2f2d4b5f843": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_trap_small_signal.py", + "symbol": "test_incomplete_frequency_window_returns_partial_or_raises_as_requested", + "lines": [ + 203, + 203 + ], + "text_sha256": "8e714df3a14032142e346639483e607f55eb9ef981df65c885f5cc4ec0d7bc93" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert not diagnostic.certificate.certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-25b2154bec8059315fbf3102": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_trap_small_signal.py", + "symbol": "test_incomplete_frequency_window_returns_partial_or_raises_as_requested", + "lines": [ + 204, + 204 + ], + "text_sha256": "59be7c2b701eee78d07cba508cd043c6250db4938cbc5376046982fcda75be05" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert \"low_frequency_limit_not_covered\" in diagnostic.certificate.reasons", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-c27357574de9e947e58bf547": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_trap_small_signal.py", + "symbol": "test_incomplete_frequency_window_returns_partial_or_raises_as_requested", + "lines": [ + 205, + 205 + ], + "text_sha256": "5de4ab2dc1245f8d248f7753dc7cf801ae4aecf137ec6e5c358b77b851793183" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert \"trap_relaxation_not_bracketed\" in diagnostic.certificate.reasons", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-3d1e561be8ff8707f3f14556": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_trap_small_signal.py", + "symbol": "test_incomplete_frequency_window_returns_partial_or_raises_as_requested", + "lines": [ + 214, + 214 + ], + "text_sha256": "79057105f612d6f9496ed735b67f6e832f83c528c552b3778f443ac7a9411f4d" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert exc_info.value.result.certificate == diagnostic.certificate", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-5a34bed6fe664f777eacce24": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_trap_small_signal.py", + "symbol": "test_incomplete_frequency_window_returns_partial_or_raises_as_requested", + "lines": [ + 206, + 206 + ], + "text_sha256": "df1fdeb5ff2efb463918334967328e9939c21d2bb15b8f5025a721df0a48b092" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(TrapSmallSignalCertificationError) as exc_info:", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-6118835720dad0f157f842a5": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_trap_small_signal.py", + "symbol": "test_local_protocol_certifies_debye_limits_and_frequency_window", + "lines": [ + 152, + 152 + ], + "text_sha256": "e3d9cc57a9b25a4512408b79dd3ce78582ee820f4b6d3e1221f83da6372cc7ec" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert certificate.certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-5e0c0cafcbfd3fa5780e6607": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_trap_small_signal.py", + "symbol": "test_local_protocol_certifies_debye_limits_and_frequency_window", + "lines": [ + 153, + 153 + ], + "text_sha256": "4d3155c68ed12b5d29d365a700df49ad9fd6918a23decfa6a2a3d350bae940e1" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert certificate.operating_point_certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-77d797e23566f9390e9a9169": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_trap_small_signal.py", + "symbol": "test_local_protocol_certifies_debye_limits_and_frequency_window", + "lines": [ + 154, + 154 + ], + "text_sha256": "7e134eb04c38e16d1aa846832fbca6f8b57636eb8b241e430ade91da51dfd5c5" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert certificate.numerical_response_certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-2be4be8dc30ad416ec797966": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_trap_small_signal.py", + "symbol": "test_local_protocol_certifies_debye_limits_and_frequency_window", + "lines": [ + 155, + 155 + ], + "text_sha256": "22d518d42cdb3615fa19d9e0ef35ba5a2e8d0812810357acadfd362a00932252" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert certificate.low_frequency_limit_certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-75e92448d6b2c002b2f538c4": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_trap_small_signal.py", + "symbol": "test_local_protocol_certifies_debye_limits_and_frequency_window", + "lines": [ + 156, + 156 + ], + "text_sha256": "1723c7fb064d3a511c6e9fbf15299e40411f85ea2842e8b0454d3305900c2b33" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert certificate.high_frequency_limit_certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-2aceee6bce068ceb3871423c": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_trap_small_signal.py", + "symbol": "test_local_protocol_certifies_debye_limits_and_frequency_window", + "lines": [ + 157, + 157 + ], + "text_sha256": "02b97639bfb15bcdf02d44cc1c7584a49f17254b162f02f8f2d784b8a85c0337" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert certificate.frequency_window_certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-60a0c06aab8362cc650a6b8e": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_trap_small_signal.py", + "symbol": "test_local_protocol_certifies_debye_limits_and_frequency_window", + "lines": [ + 158, + 158 + ], + "text_sha256": "1067b77ca0355b2d2114bded8eb9b75c092ef4fa13adbe4b2c527953b391e801" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert certificate.low_frequency_relative_error < 1.01e-2", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-46ecb8f8835fce2cbaf878b2": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_trap_small_signal.py", + "symbol": "test_local_protocol_certifies_debye_limits_and_frequency_window", + "lines": [ + 159, + 159 + ], + "text_sha256": "ca859b44c12ab65a963a92c57fb7515c7350f3732eb3cfdb3ce884dfc1acaab9" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert certificate.high_frequency_frozen_ratio < 1.01e-2", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-66f3737da61ce65789e28bd8": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_trap_small_signal.py", + "symbol": "test_local_protocol_certifies_debye_limits_and_frequency_window", + "lines": [ + 160, + 160 + ], + "text_sha256": "636ee161194cca8860466fd020c2cdb8c34877aca52fe8030852410c23991208" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert certificate.max_linear_solve_backward_error < 1.0e-15", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-ccc6f704125e421edb2ee247": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_trap_small_signal.py", + "symbol": "test_local_protocol_certifies_debye_limits_and_frequency_window", + "lines": [ + 161, + 161 + ], + "text_sha256": "d1a143e925b4d1526a0c7404c4365c29a9ebebaf2e59ba8d9a63ffb0e9cdc420" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert certificate.max_local_charge_conservation_relative_error < 1.0e-15", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-e47dd4a94ee6bb516840f716": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_trap_small_signal.py", + "symbol": "test_local_protocol_certifies_debye_limits_and_frequency_window", + "lines": [ + 162, + 162 + ], + "text_sha256": "ce57a33fefc03440700258c6141788396aca1650fb562ff79859fb7764b16f20" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert certificate.max_conjugate_symmetry_relative_error == 0.0", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-08b0453092e0970ab4252a8b": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_trap_small_signal.py", + "symbol": "test_local_protocol_certifies_debye_limits_and_frequency_window", + "lines": [ + 163, + 163 + ], + "text_sha256": "cfe0ba4e19570d98fd46bf504f8a9354fec7c5be99c99123eb43f0465bd16d19" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert certificate.reasons == ()", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-939d7a6c74501d9ea9542b7c": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_trap_small_signal.py", + "symbol": "test_nonzero_reservoir_perturbation_with_zero_net_trap_forcing_is_rejected", + "lines": [ + 271, + 271 + ], + "text_sha256": "f8c86f3f37fa418b478a0b940bc47efad1dea9c4ed9bf80d8bd86a437609728a" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(TrapSmallSignalProtocolError, match=\"zero net\"):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-33575482b8359f03a171eb4c": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_trap_small_signal.py", + "symbol": "test_run_rejects_protocol_identity_changes_before_computation", + "lines": [ + 220, + 220 + ], + "text_sha256": "080e6db70f3906305bb2ba5d856aac3e2ca63e9db3c08bb666014bac0d543cf5" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(TrapSmallSignalProtocolError, match=\"perturbation\"):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-038e57ec03f6557a648b791c": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_trap_small_signal.py", + "symbol": "test_uncertified_dc_occupancy_cannot_enter_frequency_response", + "lines": [ + 242, + 242 + ], + "text_sha256": "98f5a109efd68a90d2d00ee01e1d512cb4ed79c1118de49ada565a089d92da1b" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(TrapKineticsCertificationError, match=\"certified\"):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-8eb9d07e09c5bf11c56e6a66": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_voc_t.py", + "symbol": "test_clean_sweep_recovers_the_true_slope", + "lines": [ + 220, + 220 + ], + "text_sha256": "757d5d73eb607ccfc019281a4ea9f151ddac813afd4275031476934e5cb54a87" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert r.slope == pytest.approx(-2.20e-3, rel=1e-6)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-7688295300ed0bbe71ee33d4": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_voc_t.py", + "symbol": "test_clean_sweep_recovers_the_true_slope", + "lines": [ + 221, + 221 + ], + "text_sha256": "df02b1a234fec643d34b47138610fb890a6756612bef9258bdc588c39499d98f" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.all(r.voc_bracketed_arr)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-be6174f565638fa15037a69b": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_voc_t.py", + "symbol": "test_clean_sweep_recovers_the_true_slope", + "lines": [ + 222, + 222 + ], + "text_sha256": "98879400ab01ed033eff0f4cc4d0b8ba6f222068c708ca1eeb6e99310547906c" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.all(np.isfinite(r.V_oc_arr))", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-34cc02a7c570802096f7499a": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_voc_t.py", + "symbol": "test_raises_when_fewer_than_two_temperatures_bracket", + "lines": [ + 267, + 267 + ], + "text_sha256": "b011b9a2b15ba9bfc9c1ee832626aabcbaf6580f450825914344423859df4313" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(ValueError, match=\"at least 2 temperatures\"):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-c1544fba27ddcd23deb86262": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_voc_t.py", + "symbol": "test_rejects_T_max_le_T_min", + "lines": [ + 30, + 30 + ], + "text_sha256": "bc715bc19ea97226cd5a8c4e2c81b5b6c1c0a784e154aceaaa2209ad90400769" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(ValueError, match=\"T_max\"):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-6da91f36788d8cdb25789212": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_voc_t.py", + "symbol": "test_rejects_nonpositive_T_min", + "lines": [ + 25, + 25 + ], + "text_sha256": "01355d4fe7e25612a6df920ae37817ca20693a58a2388daa31f991e8c0f67d57" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(ValueError, match=\"T_min\"):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-2640cf2a3df02183113ebcf0": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_voc_t.py", + "symbol": "test_rejects_small_N_grid", + "lines": [ + 35, + 35 + ], + "text_sha256": "7c5f1651c668a343517611b48321d6069e6cd6ac97ce8b9ead7f99dc600d34fe" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(ValueError, match=\"N_grid\"):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-d518065bf5d45e350f8e139c": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_voc_t.py", + "symbol": "test_rejects_small_n_points", + "lines": [ + 20, + 20 + ], + "text_sha256": "3119f2969e528593a475d6f878bf7bfc04ac66f190201d1249623f41239142d2" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " with pytest.raises(ValueError, match=\"n_points\"):", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-a40a6b9de2a04b59daa3c5f8": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_voc_t.py", + "symbol": "test_unbracketed_point_is_excluded_and_slope_stays_negative", + "lines": [ + 233, + 233 + ], + "text_sha256": "757d5d73eb607ccfc019281a4ea9f151ddac813afd4275031476934e5cb54a87" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert r.slope == pytest.approx(-2.20e-3, rel=1e-6)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-02b9c4dcaba57f6cbe7a1223": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_voc_t.py", + "symbol": "test_unbracketed_point_is_excluded_and_slope_stays_negative", + "lines": [ + 235, + 235 + ], + "text_sha256": "c6ae5d27217061b1ed5f28a8f2227ba149fd3de90c702f986abc500cbfdd8290" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert r.slope < 0.0", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-dedada217295630152aa610b": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_voc_t.py", + "symbol": "test_unbracketed_point_is_excluded_and_slope_stays_negative", + "lines": [ + 237, + 237 + ], + "text_sha256": "3a6489cbc9b756bcb9c799a5d3e48f6aa0d868d2907d9cfa369be1abe077df7f" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.isnan(r.V_oc_arr[0])", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-6ba5c3d899e468d357cf9297": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_voc_t.py", + "symbol": "test_unbracketed_point_is_excluded_and_slope_stays_negative", + "lines": [ + 238, + 238 + ], + "text_sha256": "e924482885e8f8a4266044e0747a730fd943e55d69b48988ce136020a0040190" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert r.V_oc_arr[0] != 0.0", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-23813d2eb65c7d499671c707": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_voc_t.py", + "symbol": "test_unbracketed_point_is_excluded_and_slope_stays_negative", + "lines": [ + 239, + 239 + ], + "text_sha256": "a7ddf903201be71c0917e493a3d18185e9ba016aee579116623a1f9a62f470cb" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert not r.voc_bracketed_arr[0]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-3896c651219dcf5ca040ffd8": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_voc_t.py", + "symbol": "test_unbracketed_point_is_excluded_and_slope_stays_negative", + "lines": [ + 240, + 240 + ], + "text_sha256": "83b79d3145694210b525b1d1ba57028d2283a33d953bb58d2feb9d2b62d233b4" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.all(r.voc_bracketed_arr[1:])", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-5b0a77d277fcae36fc31a8ce": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_voc_t.py", + "symbol": "test_voc_t_activation_energy_below_bandgap", + "lines": [ + 90, + 90 + ], + "text_sha256": "074407dce53b18cd91b02fc3ef4930c9197e1337853f7e1209926c78525cd352" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.E_A_eV < 2.0, f\"E_A = {result.E_A_eV:.3f} eV\"", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-7c9982d501533d9a7f2e943d": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_voc_t.py", + "symbol": "test_voc_t_activation_energy_below_bandgap", + "lines": [ + 91, + 91 + ], + "text_sha256": "19839d7146f14f637a2ac9332f231da98229b08e1cd29d42545df08be7fd0baa" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.E_A_eV > 0.5, f\"E_A = {result.E_A_eV:.3f} eV\"", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-6617ba954d85503b0095195b": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_waveform_jacobian.py", + "symbol": "test_dual_ion_waveform_preserves_physics_and_reports_finite_difference", + "lines": [ + 164, + 164 + ], + "text_sha256": "cde9a5dbb6a7c72bb5baabb07a1489cc70d53e65c85e1fd35c71ef4955bd26b1" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.jacobian_evaluator == \"finite_difference\"", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-95f5e10ab30314c0fac98c72": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_waveform_jacobian.py", + "symbol": "test_dual_ion_waveform_preserves_physics_and_reports_finite_difference", + "lines": [ + 165, + 165 + ], + "text_sha256": "8f8a38508668c60038d3ddb3c78d7e905a9850e789ff34ca9bcd869fd4ef08b0" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert \"dual ions\" in result.jacobian_fallback_reason", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-dfb4e8a99d756557697ca13f": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_waveform_jacobian.py", + "symbol": "test_dual_ion_waveform_preserves_physics_and_reports_finite_difference", + "lines": [ + 166, + 166 + ], + "text_sha256": "c82b694adffac13b08c6dd714b4f47512640e8938d8779e0f902b38b8226b79b" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert asdict(stack) == before", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-28213d1d5def19bfeb9208d0": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_waveform_jacobian.py", + "symbol": "test_dual_ion_waveform_preserves_physics_and_reports_finite_difference", + "lines": [ + 167, + 167 + ], + "text_sha256": "e4b415ae5a56b94cdd0b97bc4d74d5242877d087f8c8a6281c547ee730d9111c" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert len(result.inventory_relative_drift) == 2", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-0ec93b58d8ac434eab20bb99": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_waveform_jacobian.py", + "symbol": "test_dual_ion_waveform_preserves_physics_and_reports_finite_difference", + "lines": [ + 154, + 154 + ], + "text_sha256": "ad433094c4d567b62bd88be40773e96d1390cf03c29984cfa4b22b548679adc0" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert \"jacobian\" not in kwargs", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-cd60f576075160c3a73ff768": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_waveform_jacobian.py", + "symbol": "test_dual_ion_waveform_preserves_physics_and_reports_finite_difference", + "lines": [ + 158, + 158 + ], + "text_sha256": "ad433094c4d567b62bd88be40773e96d1390cf03c29984cfa4b22b548679adc0" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert \"jacobian\" not in kwargs", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-9d9124457b97406edc0dcd83": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_waveform_jv.py", + "symbol": "test_driver_keeps_declared_state_chain_and_physical_parameters", + "lines": [ + 77, + 81 + ], + "text_sha256": "bf076c2e5724c786df65d6267ffab15347d3a259869e985820d637ff5139fad9" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert [(a, b, t, light) for a, b, t, light, _ in calls] == [\n (0, 0, 2, False), (-1, -1, 3, False), (-1, -1, 0.1, True),\n (-1, 0, 1, True), (0, 1, 1, True), (1, 1, 4, False),\n (1, 1, 0.1, True), (1, 0, 1, True), (0, -1, 1, True),\n ]", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-f7d9a4d529af7db835b3ba47": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_waveform_jv.py", + "symbol": "test_driver_keeps_declared_state_chain_and_physical_parameters", + "lines": [ + 82, + 82 + ], + "text_sha256": "c82b694adffac13b08c6dd714b4f47512640e8938d8779e0f902b38b8226b79b" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert asdict(stack) == before", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-84a72a72dc73d6210d43f54f": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_waveform_jv.py", + "symbol": "test_driver_keeps_declared_state_chain_and_physical_parameters", + "lines": [ + 83, + 83 + ], + "text_sha256": "4d3a6868b01cebe8947384aaa61bd705d4a480ec1d9893840b875596124c7cc2" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert all(np.count_nonzero(population) == 0 for *_, population in calls)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-9be0dcf07f38faa99187f3a8": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_waveform_jv.py", + "symbol": "test_driver_keeps_declared_state_chain_and_physical_parameters", + "lines": [ + 84, + 84 + ], + "text_sha256": "d4404aba68a27fdbcfe998fb35463f76058298c021deb783b52e0c6ee993b67c" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.numerical_scope == \"finite_time_diagnostic\"", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-ca8adb86fe3f3b5446c1b792": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_waveform_jv.py", + "symbol": "test_driver_keeps_declared_state_chain_and_physical_parameters", + "lines": [ + 85, + 85 + ], + "text_sha256": "4469e3d809e812117a44d6aa495dce0ba464e47f75e815902b2728edb5f1235e" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.jacobian_evaluator == \"analytic_single_ion_density\"", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-eb195e651576530f25c325a9": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_waveform_jv.py", + "symbol": "test_driver_keeps_declared_state_chain_and_physical_parameters", + "lines": [ + 86, + 86 + ], + "text_sha256": "19cb3dc5c53c537dd20445f354c142e37f3e9a8f0f0b59cdedf65581bf54ef6c" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.jacobian_fallback_reason is None", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-721f3069303943e672d4b379": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_waveform_jv.py", + "symbol": "test_driver_keeps_declared_state_chain_and_physical_parameters", + "lines": [ + 87, + 87 + ], + "text_sha256": "ce827d1486f0a4764bf5ea50a02d5d54210cb674364189a538e76c306eeec8b8" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.numerical_controls[\"rtol\"] == 1e-4", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-2834debecaa1d2bef0badadb": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_waveform_jv.py", + "symbol": "test_driver_keeps_declared_state_chain_and_physical_parameters", + "lines": [ + 88, + 88 + ], + "text_sha256": "bc2a756a322f8e846f40e1eb791465148dce8f07cd349718d3e537642c1ef05e" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.numerical_controls[\"atol_m3\"] == 100.0", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-5360b34161967214d8c2af36": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_waveform_jv.py", + "symbol": "test_driver_keeps_declared_state_chain_and_physical_parameters", + "lines": [ + 89, + 89 + ], + "text_sha256": "97ade20c1a5c0ab2a7edb804ffd148b1405c5eaf5a3654456c1be11e6afd45a5" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert not result.certified", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-ed6e26f7262cd3fe8d889259": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_waveform_jv.py", + "symbol": "test_driver_keeps_declared_state_chain_and_physical_parameters", + "lines": [ + 90, + 90 + ], + "text_sha256": "ec5f88202c6ae808c4952ece817d4c13a1f0624e3530765f19af6d1dc51d142b" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.protocol.implicit_legacy_protocol is False", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-1dbf233ec76fdb09a92f9c57": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_waveform_jv.py", + "symbol": "test_driver_keeps_declared_state_chain_and_physical_parameters", + "lines": [ + 91, + 91 + ], + "text_sha256": "e3dd4dabb1d5371693fda492fe9cd6485e56cf8c2bcd4a1c5558d754ff81d5b2" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.waveform_protocol_sha256 == result.protocol.protocol_hash", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-1e202b7ff6e60e8006436014": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_waveform_jv.py", + "symbol": "test_driver_keeps_declared_state_chain_and_physical_parameters", + "lines": [ + 60, + 60 + ], + "text_sha256": "71fd498611f6f9ea8c03b1895c77bbb7fad85cc0dd6b453f767557b8e79685ae" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert atol == wf.DEFAULT_DENSITY_ATOL_M3 == 100.0", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-0c05264697188ebee6454b04": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/backend/test_numerical_job_lifecycle.py", + "symbol": "test_real_numerical_jobs_finish_and_match_direct_execution", + "lines": [ + 33, + 33 + ], + "text_sha256": "8274888c49e8ba540e5ced2b21fc69a0b324a74d1fe904b6335883a4b655da32" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert status == JobStatus.DONE, error", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-c6875e50c6b6cc45a3a995eb": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/backend/test_numerical_job_lifecycle.py", + "symbol": "test_real_numerical_jobs_finish_and_match_direct_execution", + "lines": [ + 50, + 50 + ], + "text_sha256": "fea621d85d44bc47905f7e1173970cfe4a1095558ca6ff6be7b568b67a9ef5f4" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert all(not job.thread.is_alive() for job in registry._jobs.values())", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-be3dc57049e6859de3753954": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/backend/test_numerical_job_lifecycle.py", + "symbol": "test_real_numerical_jobs_finish_and_match_direct_execution", + "lines": [ + 45, + 45 + ], + "text_sha256": "938c98a9f1f5686b833772c7440657769bbe62bd773ecb550a34415d6a2fb6a0" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert status == JobStatus.DONE, error", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-a2eb25be7adb178e385dce54": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/backend/test_numerical_job_lifecycle.py", + "symbol": "test_real_numerical_jobs_finish_and_match_direct_execution", + "lines": [ + 48, + 48 + ], + "text_sha256": "e05fc3e3dafce62029c26e2aaee70477e65188956ad24a01a6600b3d1b1b95a0" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_array_equal(result[\"V\"], direct[\"V\"])", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-3e9d4a4432666fa4788411d2": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/backend/test_numerical_job_lifecycle.py", + "symbol": "test_real_numerical_jobs_finish_and_match_direct_execution", + "lines": [ + 49, + 49 + ], + "text_sha256": "e1df6c47c66f703475f7c3702319ebe65bed6edb51beaac72adc1a3f8005d20a" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_allclose(result[\"J\"], direct[\"J\"], rtol=1e-8, atol=1e-8)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-a35b107f88a0903447c300b8": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_twod_mobile_ion_jv.py", + "symbol": "test_real_combined_gb_interface_mobile_jv_returns_each_evidence_axis", + "lines": [ + 145, + 145 + ], + "text_sha256": "a34e09e3a82254c2f3b773ea4185cbec11dea43aaca8c04fa798a1c167e70afa" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert len(result.current_components) == 2", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-aebdf75940451e9ef48acc7f": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_twod_mobile_ion_jv.py", + "symbol": "test_real_combined_gb_interface_mobile_jv_returns_each_evidence_axis", + "lines": [ + 146, + 146 + ], + "text_sha256": "43f75a9bc6fc8e4a991ed988bfbdbd845743bf175379c632ec3fa54c5826f279" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert len(result.ion_diagnostics) == 2", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-a29e201f34c68d76a62e407d": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_twod_mobile_ion_jv.py", + "symbol": "test_real_combined_gb_interface_mobile_jv_returns_each_evidence_axis", + "lines": [ + 147, + 147 + ], + "text_sha256": "ab9a82e892bbdc2adf4bfaf1f06d3a642a9a286e17f32d6e0093354ba1a73c20" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert len(result.interface_srh_diagnostics) == 2", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-f432487f5cb0f2ac5ba93c73": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_twod_mobile_ion_jv.py", + "symbol": "test_real_combined_gb_interface_mobile_jv_returns_each_evidence_axis", + "lines": [ + 148, + 148 + ], + "text_sha256": "a6f3570db9bcf066496915c7279f2146e4716e7fc378e4747fe91b2406344d56" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert len(result.protocol.grain_boundaries) == 1", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-67bda7ad0db9355c3ee539d5": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_twod_mobile_ion_jv.py", + "symbol": "test_real_combined_gb_interface_mobile_jv_returns_each_evidence_axis", + "lines": [ + 149, + 149 + ], + "text_sha256": "f4c722bbfd06dd408532df70db199a78d3196c7c6cc1a28c296f4e9a1dd23004" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.protocol.interface_srh == \"two_sided_cross_node\"", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-44c3030d2ecd1ccf5e91173c": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_twod_mobile_ion_jv.py", + "symbol": "test_real_combined_gb_interface_mobile_jv_returns_each_evidence_axis", + "lines": [ + 150, + 153 + ], + "text_sha256": "1ac7fe1ba30c1ec97b76f4a60b417bad1201cf7adc474d29697ba6ce622524e4" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert all(\n np.all(np.isfinite(report.total_surface_rate_m2_s))\n for report in result.interface_srh_diagnostics\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-305e367c50854051e86edb8e": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_twod_mobile_ion_jv.py", + "symbol": "test_real_strict_mobile_ion_jv_returns_complete_point_evidence", + "lines": [ + 90, + 90 + ], + "text_sha256": "2845456feec0a207af09ccc2984d92666ac393edf3533624b5ade7804ec16905" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert np.all(np.isfinite(result.J))", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-5be972a2b570d8bcaccfaa5a": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_twod_mobile_ion_jv.py", + "symbol": "test_real_strict_mobile_ion_jv_returns_complete_point_evidence", + "lines": [ + 91, + 91 + ], + "text_sha256": "6a6f1ed2e19bf3e544334f5a8f19451b774750ef5e2e9c258a9b4e8b39e74229" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert len(result.snapshots) == 2", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-d4bf84df4e809ba854152388": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_twod_mobile_ion_jv.py", + "symbol": "test_real_strict_mobile_ion_jv_returns_complete_point_evidence", + "lines": [ + 92, + 92 + ], + "text_sha256": "a34e09e3a82254c2f3b773ea4185cbec11dea43aaca8c04fa798a1c167e70afa" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert len(result.current_components) == 2", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-9eca5d42879110b8adea685d": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_twod_mobile_ion_jv.py", + "symbol": "test_real_strict_mobile_ion_jv_returns_complete_point_evidence", + "lines": [ + 93, + 93 + ], + "text_sha256": "43f75a9bc6fc8e4a991ed988bfbdbd845743bf175379c632ec3fa54c5826f279" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert len(result.ion_diagnostics) == 2", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-c00f8026c0b5423cbc0d80d4": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_twod_mobile_ion_jv.py", + "symbol": "test_real_strict_mobile_ion_jv_returns_complete_point_evidence", + "lines": [ + 94, + 94 + ], + "text_sha256": "86bf70ca7d0ee29e41f4f4d6e770158cdc340aef775011addc958b98e3a1b830" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert all(snapshot.P_ion is not None for snapshot in result.snapshots)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-56076de938fec57d9ce0aac2": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_twod_mobile_ion_jv.py", + "symbol": "test_real_strict_mobile_ion_jv_returns_complete_point_evidence", + "lines": [ + 95, + 95 + ], + "text_sha256": "400849730b09c712133608f50c14dfccc1de6651822b902d3561d84ced1fc151" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert all(report.passed for report in result.ion_diagnostics)", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-68ac66c1304711e59b8378dc": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_twod_mobile_ion_jv.py", + "symbol": "test_real_strict_mobile_ion_jv_returns_complete_point_evidence", + "lines": [ + 96, + 98 + ], + "text_sha256": "637a6a5a88d7d559e4f69cfb69423a8feb3962acae5e5504800d5090e00585cc" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert max(\n report.max_relative_face_spread for report in result.current_components\n ) < 1.0e-10", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-f775b5177220c9640678edad": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_twod_mobile_ion_jv.py", + "symbol": "test_real_strict_mobile_ion_jv_returns_complete_point_evidence", + "lines": [ + 99, + 99 + ], + "text_sha256": "04892f4de96845d4a1babf5bfdd4b19ac4a6cc354cf8a5f2539116c91b8f9ede" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert result.protocol == protocol", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-ca4defaa603d0c765d38cb3a": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/integration/test_twod_mobile_ion_jv.py", + "symbol": "test_real_strict_mobile_ion_jv_returns_complete_point_evidence", + "lines": [ + 89, + 89 + ], + "text_sha256": "dfc4b61d7021caec031d8b42a509172a7543ee90f1a0a212807a6d52aeec4706" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " np.testing.assert_array_equal(result.V, [0.0, 0.01])", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-1025f63a6fbc253041b67d05": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/regression/test_twod_validation.py", + "symbol": "test_twod_field_mobility_bounded_shift", + "lines": [ + 521, + 523 + ], + "text_sha256": "e1254fd78d40718d81f7d933aae510d7c470fc237c46df8e4b1c3be2651f9c30" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert rel > 1e-6, (\n f\"μ(E) shift max(|ΔJ|/|J|) = {rel:.3e} below 1e-6 — hook may be inactive\"\n )", + "scope": "Frozen original assertion semantics only; per-observable N metadata remains a separate obligation." + }, + "rule-354c4cf2b3a8f902b89ae1f9": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_one_dimensional_mechanism_r1_evidence.py", + "symbol": "test_real_geometry_to_preparation_cli_passes", + "lines": [ + 216, + 216 + ], + "text_sha256": "de3543f13f1645e1da480ca22b078314dd3d385f781419e4d051169a29de4231" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert completed.returncode == 0, completed.stdout + completed.stderr", + "scope": "Original slow geometry-to-preparation CLI test; not run here, not an R1-2 or new-source certificate." + }, + "rule-a2aee8cb460a0732765697d6": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_one_dimensional_mechanism_r1_evidence.py", + "symbol": "test_real_geometry_to_preparation_cli_passes", + "lines": [ + 218, + 218 + ], + "text_sha256": "de3543f13f1645e1da480ca22b078314dd3d385f781419e4d051169a29de4231" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert completed.returncode == 0, completed.stdout + completed.stderr", + "scope": "Original slow geometry-to-preparation CLI test; not run here, not an R1-2 or new-source certificate." + }, + "rule-e54bf0f662a329583d2b8426": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_one_dimensional_mechanism_r1_evidence.py", + "symbol": "test_real_geometry_to_preparation_cli_passes", + "lines": [ + 220, + 220 + ], + "text_sha256": "805de2c9d3c1a02da0cad21accc5d925b0fdc1e64b18db276996fc352387d582" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert record[\"stage\"] == \"geometry\"", + "scope": "Original slow geometry-to-preparation CLI test; not run here, not an R1-2 or new-source certificate." + }, + "rule-86fde112efaafe22e7f70879": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_one_dimensional_mechanism_r1_evidence.py", + "symbol": "test_real_geometry_to_preparation_cli_passes", + "lines": [ + 222, + 222 + ], + "text_sha256": "f08a8ff30212e602c87d8090e228ad50b6f86b651b2408cea797cba3c667e328" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert binding[\"reference_intervals\"] == 512", + "scope": "Original slow geometry-to-preparation CLI test; not run here, not an R1-2 or new-source certificate." + }, + "rule-a3da36a67a9c5dca20953b96": { + "quantity": "original_test_predicate", + "binding": { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_one_dimensional_mechanism_r1_evidence.py", + "symbol": "test_real_geometry_to_preparation_cli_passes", + "lines": [ + 223, + 223 + ], + "text_sha256": "b1c38ce385f23832d06fd0fa5866556b4cebc484782801d960d1644f52c7a9ce" + }, + "unit": "1 (truth value of the cited assertion, not the physical variable)", + "norm": "original_assertion_expression", + "scale": { + "kind": "as_written_in_source" + }, + "zero_policy": { + "kind": "as_written_not_a_new_physical_floor" + }, + "expression": " assert binding[\"rungs\"][-1][\"difference\"] <= 1e-8", + "scope": "Original slow geometry-to-preparation CLI test; not run here, not an R1-2 or new-source certificate." + } + }, + "consumer_scientific_links": [ + { + "capability_id": "config-04ee3c1aeccf72d6", + "route_id": "route-aea6f17977e39b09", + "kind": "configured_model_combination", + "scientific_record_ids": [ + "benchmark-5ddcacfc324796c7", + "benchmark-83c17bf82672772f" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "config-0fbf40720bb34682", + "route_id": "route-736016fc1f5558d5", + "kind": "configured_model_combination", + "scientific_record_ids": [ + "benchmark-5ddcacfc324796c7" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "config-120d654b9286cff7", + "route_id": "route-310acb5aa128b161", + "kind": "configured_model_combination", + "scientific_record_ids": [ + "benchmark-5ddcacfc324796c7" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "config-1b8adfa16822fda1", + "route_id": "route-3e363a019e4cd064", + "kind": "configured_model_combination", + "scientific_record_ids": [ + "benchmark-2944ea519ddd6969", + "benchmark-3ca07445f8402d7d", + "benchmark-3ece4d3a78f8823e", + "benchmark-5ddcacfc324796c7", + "benchmark-ac91c699b18d14f4", + "benchmark-f050f4122cc07b66", + "lane-1c11f3ec305c3631", + "lane-1f48a67f12b83f3b" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "config-1c6faf4572f42367", + "route_id": "route-21b0ff9630f8ae85", + "kind": "configured_model_combination", + "scientific_record_ids": [ + "benchmark-5ddcacfc324796c7", + "benchmark-ffe6aa8aa40ed1bc" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "config-1d26249f4ca03c0e", + "route_id": "route-9e91854154c2cf55", + "kind": "configured_model_combination", + "scientific_record_ids": [ + "benchmark-5ddcacfc324796c7", + "benchmark-ac54a8e323f74ee0" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "config-328227f22f1d2314", + "route_id": "route-f4e061a46dc18892", + "kind": "configured_model_combination", + "scientific_record_ids": [ + "benchmark-5ddcacfc324796c7", + "benchmark-9413c6e9be031fbb" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "config-32c90fdcf0446d6c", + "route_id": "route-ae8257edc86bca50", + "kind": "configured_model_combination", + "scientific_record_ids": [ + "benchmark-5ddcacfc324796c7", + "benchmark-83c17bf82672772f" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "config-33b6e06d53bb754a", + "route_id": "route-c5b44f4943119d00", + "kind": "configured_model_combination", + "scientific_record_ids": [ + "benchmark-5ddcacfc324796c7", + "benchmark-a12ead2b6fe7e734" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "config-345114448b5dc42c", + "route_id": "route-a5a37f88e084cf73", + "kind": "configured_model_combination", + "scientific_record_ids": [ + "benchmark-5ddcacfc324796c7", + "benchmark-ac91c699b18d14f4", + "benchmark-e049e24da73bc454", + "lane-6b64d0fcde4053b6" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "config-3cc522bdc594b20e", + "route_id": "route-877e27af07c80468", + "kind": "configured_model_combination", + "scientific_record_ids": [ + "benchmark-1006540a4310894f", + "benchmark-5ddcacfc324796c7", + "benchmark-8d1003366b1bcb44", + "benchmark-ac91c699b18d14f4", + "lane-0350f1d065d6fedc", + "lane-1816209e76bb9ac0", + "lane-3eb9325a1d09f96f", + "lane-5da5b7d376d6e06e", + "lane-e95ec3a450b16504", + "lane-f3d0d1307884e5e8" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "config-480c4d067ef71e0b", + "route_id": "route-b51b9c3d1eb778a5", + "kind": "configured_model_combination", + "scientific_record_ids": [ + "benchmark-5ddcacfc324796c7", + "benchmark-63f25334baabb168", + "benchmark-ac91c699b18d14f4", + "lane-13c1b80fd89d147a" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "config-49ed4d175e93db68", + "route_id": "route-7472798ebe5d8f74", + "kind": "configured_model_combination", + "scientific_record_ids": [ + "benchmark-5ddcacfc324796c7" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "config-4b69131d5feb6c7a", + "route_id": "route-b3b3d7b3f65ef2c0", + "kind": "configured_model_combination", + "scientific_record_ids": [ + "benchmark-5ddcacfc324796c7" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "config-506f7705b1a266e1", + "route_id": "route-968f594d810f3811", + "kind": "configured_model_combination", + "scientific_record_ids": [ + "benchmark-5ddcacfc324796c7", + "benchmark-ac91c699b18d14f4", + "benchmark-ae94b012055aa10b", + "lane-42bf2b940134e62c" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "config-571921490103a339", + "route_id": "route-278fff8d9b35f558", + "kind": "configured_model_combination", + "scientific_record_ids": [ + "benchmark-5ddcacfc324796c7", + "benchmark-979ee3060444ba30" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "config-5bf43a4f988ae256", + "route_id": "route-eeacceecfd412947", + "kind": "configured_model_combination", + "scientific_record_ids": [ + "benchmark-5ddcacfc324796c7", + "benchmark-ac54a8e323f74ee0" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "config-65ce361ce300c2ac", + "route_id": "route-aa9ed5cb98d6041f", + "kind": "configured_model_combination", + "scientific_record_ids": [ + "benchmark-5ddcacfc324796c7" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "config-6a5cafb2f67eb805", + "route_id": "route-17ff65132973919e", + "kind": "configured_model_combination", + "scientific_record_ids": [ + "benchmark-4322a9e3b442d931", + "benchmark-5ddcacfc324796c7", + "benchmark-ac91c699b18d14f4", + "benchmark-cc91d2d42ff5757d", + "lane-b61bf1fc1c5146b5", + "lane-c2f00d60b696be35", + "lane-def3952fd4d218a3" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "config-75337222ce16f757", + "route_id": "route-3f680b4d468d392e", + "kind": "configured_model_combination", + "scientific_record_ids": [ + "benchmark-5ddcacfc324796c7", + "benchmark-ac91c699b18d14f4", + "benchmark-cc91d2d42ff5757d", + "lane-119dbf12fc26bf9b", + "lane-2e2c396de43bcf73", + "lane-f63c8cad0bf211ec" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "config-764c3f33e226386e", + "route_id": "route-351a1ce390c723f3", + "kind": "configured_model_combination", + "scientific_record_ids": [ + "benchmark-5ddcacfc324796c7", + "benchmark-86e2e70943004434", + "benchmark-ac91c699b18d14f4", + "lane-5d1d62edf010a604", + "lane-8ecc1df7d72fa132", + "lane-b37e800920a3345f", + "lane-b89615cfbbfe0045", + "lane-c8c8e3698ef7d8d7" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "config-792778a0df251438", + "route_id": "route-1c8c57768cf4792e", + "kind": "configured_model_combination", + "scientific_record_ids": [ + "benchmark-5ddcacfc324796c7" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "config-7933e51a101f4a15", + "route_id": "route-443038a9aa9ef61c", + "kind": "configured_model_combination", + "scientific_record_ids": [ + "benchmark-5ddcacfc324796c7", + "benchmark-a8032d8160a5c7e3" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "config-7ea97d91129f8071", + "route_id": "route-783b79bd8f3bd947", + "kind": "configured_model_combination", + "scientific_record_ids": [ + "benchmark-5ddcacfc324796c7", + "benchmark-f243dcb4f5a72c41" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "config-7eb77602abeb4485", + "route_id": "route-90082a7daf0a2578", + "kind": "configured_model_combination", + "scientific_record_ids": [ + "benchmark-5ddcacfc324796c7", + "benchmark-ac91c699b18d14f4", + "benchmark-afaed356d2fa81de", + "lane-b0877f36f5bf04e5" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "config-859da6c860403b26", + "route_id": "route-fae13ebaaed38b2b", + "kind": "configured_model_combination", + "scientific_record_ids": [ + "benchmark-5ddcacfc324796c7", + "benchmark-9413c6e9be031fbb", + "benchmark-a9fb1ab48c74827c", + "benchmark-ac91c699b18d14f4", + "benchmark-ccce54aef1456ee8", + "lane-077aabd76066b531", + "lane-500d85c643804b4b", + "lane-6c70228c5f2817ea", + "lane-b59b8f0f474425b0", + "lane-c5f63593f6609839", + "lane-db596cd22f67423d" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "config-877a0fa11e2c2506", + "route_id": "route-84c80fa1daa339dc", + "kind": "configured_model_combination", + "scientific_record_ids": [ + "benchmark-5ddcacfc324796c7", + "benchmark-64d717e2afaf62b7", + "benchmark-ac91c699b18d14f4", + "lane-84ef85f524daf74b" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "config-89864c46531b604e", + "route_id": "route-0ddbd675c3036e83", + "kind": "configured_model_combination", + "scientific_record_ids": [ + "benchmark-5ac658e026793692", + "benchmark-5ddcacfc324796c7", + "benchmark-ac91c699b18d14f4", + "lane-16771a29387cfdae" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "config-8cb68dc12f6a5ab6", + "route_id": "route-5c4bf98784988f45", + "kind": "configured_model_combination", + "scientific_record_ids": [ + "benchmark-00cbe610b0bd55b6", + "benchmark-5223cbf1b1ff2fbd", + "benchmark-5c45d777007899c9", + "benchmark-5ddcacfc324796c7", + "benchmark-ac91c699b18d14f4", + "lane-1bbf89ccef7a7815", + "lane-db3616410333cfd2" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "config-8cdce5d5383e09ba", + "route_id": "route-4e1f3e1d9d7c6ed7", + "kind": "configured_model_combination", + "scientific_record_ids": [ + "benchmark-4e5dfc48e60736d0", + "benchmark-5ddcacfc324796c7", + "benchmark-ac91c699b18d14f4", + "lane-b6717f964e395329", + "lane-ea8013ec21a124fd" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "config-9ac625cb534a71ea", + "route_id": "route-f4eb0551c177833b", + "kind": "configured_model_combination", + "scientific_record_ids": [ + "benchmark-5ddcacfc324796c7" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "config-a0a2d66216edf81e", + "route_id": "route-006e644ce28423fd", + "kind": "configured_model_combination", + "scientific_record_ids": [ + "benchmark-5ddcacfc324796c7", + "benchmark-ac91c699b18d14f4", + "benchmark-f243dcb4f5a72c41", + "lane-f7e0f3e0963801d8" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "config-a169223267f9bbf5", + "route_id": "route-43fc090c275cc388", + "kind": "configured_model_combination", + "scientific_record_ids": [ + "benchmark-4105876c56341ee0", + "benchmark-5ddcacfc324796c7", + "benchmark-ac91c699b18d14f4", + "lane-74c8fcdda1607b00" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "config-a29901829ba97604", + "route_id": "route-d8015572b208014c", + "kind": "configured_model_combination", + "scientific_record_ids": [ + "benchmark-5ddcacfc324796c7" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "config-a70e9dce4d20e4a2", + "route_id": "route-398332ff07802635", + "kind": "configured_model_combination", + "scientific_record_ids": [ + "benchmark-5ddcacfc324796c7", + "benchmark-9ffebfadd845315b", + "benchmark-ac91c699b18d14f4", + "lane-1dfc4e4b19df86e8" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "config-b20df488cea4c952", + "route_id": "route-8db8765abf5ee9f3", + "kind": "configured_model_combination", + "scientific_record_ids": [ + "benchmark-5ddcacfc324796c7", + "benchmark-ac91c699b18d14f4", + "benchmark-ee312eb2fea8c21f", + "lane-d0db2268d3d111e7" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "config-b79cea46ac78266f", + "route_id": "route-1d3f212b77a58f9a", + "kind": "configured_model_combination", + "scientific_record_ids": [ + "benchmark-5ddcacfc324796c7", + "benchmark-94f2fd2efa41f878" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "config-bdb6aad729910703", + "route_id": "route-595f9562ae90c9fe", + "kind": "configured_model_combination", + "scientific_record_ids": [ + "benchmark-5ddcacfc324796c7" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "config-be2fba72dc1e3066", + "route_id": "route-44d027c82b22f9a8", + "kind": "configured_model_combination", + "scientific_record_ids": [ + "benchmark-5ddcacfc324796c7", + "benchmark-66079d06baa87db2", + "benchmark-ac91c699b18d14f4", + "lane-54128f5212664526" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "config-c150e415b66351b3", + "route_id": "route-b332df9065bee09f", + "kind": "configured_model_combination", + "scientific_record_ids": [ + "benchmark-5ddcacfc324796c7" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "config-c24c09a2b147da3f", + "route_id": "route-a9fa5a66ef94271a", + "kind": "configured_model_combination", + "scientific_record_ids": [ + "benchmark-5ddcacfc324796c7" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "config-c38046f5a7e5f288", + "route_id": "route-8d671203a585efbd", + "kind": "configured_model_combination", + "scientific_record_ids": [ + "benchmark-5ddcacfc324796c7" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "config-c4dd466c9c38d82e", + "route_id": "route-e223eafff765f7f4", + "kind": "configured_model_combination", + "scientific_record_ids": [ + "benchmark-5ddcacfc324796c7", + "benchmark-d84b2405628c3df6" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "config-cad7c517167453b3", + "route_id": "route-ff10c28994924966", + "kind": "configured_model_combination", + "scientific_record_ids": [ + "benchmark-5ddcacfc324796c7", + "benchmark-a1a396a1f7b2045c", + "benchmark-ac91c699b18d14f4", + "lane-d78898d8e12e7813" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "config-d136c87a883af5dc", + "route_id": "route-b34243d07735be0d", + "kind": "configured_model_combination", + "scientific_record_ids": [ + "benchmark-5ddcacfc324796c7", + "benchmark-f2d15ebbf5e588cf" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "config-d84c8112dd429b78", + "route_id": "route-fae3349541eab079", + "kind": "configured_model_combination", + "scientific_record_ids": [ + "benchmark-5ddcacfc324796c7", + "benchmark-ac91c699b18d14f4", + "benchmark-d421981a0850b957", + "lane-ee113ad477b8697e" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "config-dd4b5d5806c4d7e1", + "route_id": "route-0a670bf420b4ad62", + "kind": "configured_model_combination", + "scientific_record_ids": [ + "benchmark-5ddcacfc324796c7", + "benchmark-f243dcb4f5a72c41" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "config-e067749541584fae", + "route_id": "route-727f4ae5fdd34401", + "kind": "configured_model_combination", + "scientific_record_ids": [ + "benchmark-5ddcacfc324796c7", + "benchmark-ac91c699b18d14f4", + "benchmark-f2259e41f3b75254", + "lane-5ff1ae9d34dfa46d" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "config-e235368b9aa60c3e", + "route_id": "route-a36008fc21021674", + "kind": "configured_model_combination", + "scientific_record_ids": [ + "benchmark-5ddcacfc324796c7", + "benchmark-ac54a8e323f74ee0" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "config-e8fa66183b4163b4", + "route_id": "route-7d9b96be3bfbfda0", + "kind": "configured_model_combination", + "scientific_record_ids": [ + "benchmark-5ddcacfc324796c7", + "benchmark-7e320e9d039d49bd", + "benchmark-ac91c699b18d14f4", + "lane-6dbb672b6062d764" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "config-ec72e45346ce382c", + "route_id": "route-41d7d13562bdf598", + "kind": "configured_model_combination", + "scientific_record_ids": [ + "benchmark-5ddcacfc324796c7", + "benchmark-83c17bf82672772f", + "benchmark-ac91c699b18d14f4", + "lane-30c624efe3f8467f" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "config-f6eea890796f5eb0", + "route_id": "route-ecb2e87965bc4547", + "kind": "configured_model_combination", + "scientific_record_ids": [ + "benchmark-5ddcacfc324796c7", + "benchmark-ac91c699b18d14f4", + "benchmark-beb35201a660895f", + "lane-5547d9e78904e730" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "config-f797930f7afd3a9f", + "route_id": "route-275402423fc4ed4a", + "kind": "configured_model_combination", + "scientific_record_ids": [ + "benchmark-5ddcacfc324796c7", + "benchmark-ac91c699b18d14f4", + "benchmark-f55a467e6d6c9e27", + "lane-b7e62a98398228f0" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "config-ff41e51db6b0c7aa", + "route_id": "route-43b26b3f638d0233", + "kind": "configured_model_combination", + "scientific_record_ids": [ + "benchmark-5ddcacfc324796c7", + "benchmark-a8032d8160a5c7e3" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "config-fff6408a931f97d8", + "route_id": "route-5c1b3eb8a6a7f4e5", + "kind": "configured_model_combination", + "scientific_record_ids": [ + "benchmark-5ddcacfc324796c7", + "benchmark-ffe6aa8aa40ed1bc" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "executor-04d382b2476a9e0d", + "route_id": "route-3ce8678d93f128dc", + "kind": "certificate_executor", + "scientific_record_ids": [ + "lane-db596cd22f67423d" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "executor-10baa23e892b145e", + "route_id": "route-7b7398177c5163db", + "kind": "certificate_executor", + "scientific_record_ids": [ + "lane-e95ec3a450b16504", + "lane-f3d0d1307884e5e8" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "executor-13431ab6bfabe2a7", + "route_id": "route-ee6663ebc8f2dc49", + "kind": "certificate_executor", + "scientific_record_ids": [ + "lane-d78898d8e12e7813" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "executor-27a50b681dce8474", + "route_id": "route-95fa4d2e24de5a3e", + "kind": "certificate_executor", + "scientific_record_ids": [ + "lane-8ecc1df7d72fa132" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "executor-2b8910c5d9a3d2a2", + "route_id": "route-611c81a4822db706", + "kind": "certificate_executor", + "scientific_record_ids": [ + "lane-5da5b7d376d6e06e" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "executor-2daf567fb4cbef33", + "route_id": "route-8ffd14c45b3812ea", + "kind": "certificate_executor", + "scientific_record_ids": [ + "lane-1dfc4e4b19df86e8" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "executor-3020a7be7b3302cf", + "route_id": "route-cf51d5ffeb5b1ab3", + "kind": "certificate_executor", + "scientific_record_ids": [ + "lane-3eb9325a1d09f96f" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "executor-335693d399528f26", + "route_id": "route-611c81a4822db706", + "kind": "certificate_executor", + "scientific_record_ids": [ + "lane-500d85c643804b4b", + "lane-c5f63593f6609839" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "executor-3ee6181236bb5a2d", + "route_id": "route-70f2bc49c9d6f491", + "kind": "certificate_executor", + "scientific_record_ids": [ + "lane-84ef85f524daf74b" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "executor-42fd06adb4f502af", + "route_id": "route-a9b4d7e51e16d73e", + "kind": "certificate_executor", + "scientific_record_ids": [ + "lane-30c624efe3f8467f" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "executor-489eba518576c628", + "route_id": "route-cd1c256e6f6fda47", + "kind": "certificate_executor", + "scientific_record_ids": [ + "lane-0350f1d065d6fedc", + "lane-1816209e76bb9ac0" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "executor-4bc0c0235c83e955", + "route_id": "route-29ff125b420a5abf", + "kind": "certificate_executor", + "scientific_record_ids": [ + "lane-b6717f964e395329", + "lane-ea8013ec21a124fd" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "executor-5082ef6e08643764", + "route_id": "route-aa22d20d2d639fc7", + "kind": "certificate_executor", + "scientific_record_ids": [ + "lane-119dbf12fc26bf9b", + "lane-2e2c396de43bcf73", + "lane-b61bf1fc1c5146b5", + "lane-c2f00d60b696be35", + "lane-def3952fd4d218a3", + "lane-f63c8cad0bf211ec" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "executor-61ef7758ea9b3427", + "route_id": "route-611c81a4822db706", + "kind": "certificate_executor", + "scientific_record_ids": [ + "lane-6dbb672b6062d764" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "executor-620fa531cf26caf4", + "route_id": "route-8f9aa816f1c87e00", + "kind": "certificate_executor", + "scientific_record_ids": [ + "lane-6b64d0fcde4053b6" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "executor-6a64ad98ab180d90", + "route_id": "route-27dbc43d17be6d47", + "kind": "certificate_executor", + "scientific_record_ids": [ + "lane-6c70228c5f2817ea" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "executor-6bc5e1f292e6f011", + "route_id": "route-361c6018edd7103a", + "kind": "certificate_executor", + "scientific_record_ids": [ + "lane-5d1d62edf010a604", + "lane-b37e800920a3345f", + "lane-b89615cfbbfe0045" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "executor-6d4411ff1e1f5e70", + "route_id": "route-611c81a4822db706", + "kind": "certificate_executor", + "scientific_record_ids": [ + "lane-13c1b80fd89d147a" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "executor-7b828a158ee65d45", + "route_id": "route-611c81a4822db706", + "kind": "certificate_executor", + "scientific_record_ids": [ + "lane-5ff1ae9d34dfa46d" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "executor-8a07421a6eadde05", + "route_id": "route-6ffa0cc3ba17a777", + "kind": "certificate_executor", + "scientific_record_ids": [ + "lane-74c8fcdda1607b00" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "executor-8a2224a08c58825a", + "route_id": "route-611c81a4822db706", + "kind": "certificate_executor", + "scientific_record_ids": [ + "lane-b59b8f0f474425b0" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "executor-8e75d63c57fce000", + "route_id": "route-487d71b1fb2a772d", + "kind": "certificate_executor", + "scientific_record_ids": [ + "lane-1bbf89ccef7a7815", + "lane-db3616410333cfd2" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "executor-a16d164eb8c3f07e", + "route_id": "route-eac8eff18fe0b852", + "kind": "certificate_executor", + "scientific_record_ids": [ + "lane-b7e62a98398228f0" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "executor-a4459265c3ea8a60", + "route_id": "route-9e7c4634cac4c7b4", + "kind": "certificate_executor", + "scientific_record_ids": [ + "lane-42bf2b940134e62c" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "executor-b35165b53b3bd8b6", + "route_id": "route-95fa4d2e24de5a3e", + "kind": "certificate_executor", + "scientific_record_ids": [ + "lane-c8c8e3698ef7d8d7" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "executor-b708406c0c69eac5", + "route_id": "route-611c81a4822db706", + "kind": "certificate_executor", + "scientific_record_ids": [ + "lane-077aabd76066b531" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "executor-b9be739a8a141120", + "route_id": "route-611c81a4822db706", + "kind": "certificate_executor", + "scientific_record_ids": [ + "lane-1c11f3ec305c3631", + "lane-1f48a67f12b83f3b" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "executor-ba3263b888fb943a", + "route_id": "route-c69e6e9da1421924", + "kind": "certificate_executor", + "scientific_record_ids": [ + "lane-16771a29387cfdae" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "executor-c898e6d7a21c6561", + "route_id": "route-c81fb8dbd7f6b348", + "kind": "certificate_executor", + "scientific_record_ids": [ + "lane-d0db2268d3d111e7" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "executor-cd5daa7fb87af0af", + "route_id": "route-611c81a4822db706", + "kind": "certificate_executor", + "scientific_record_ids": [ + "lane-ee113ad477b8697e" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "executor-df2a34699217fddc", + "route_id": "route-611c81a4822db706", + "kind": "certificate_executor", + "scientific_record_ids": [ + "lane-54128f5212664526" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "executor-f42ad925133ecfff", + "route_id": "route-611c81a4822db706", + "kind": "certificate_executor", + "scientific_record_ids": [ + "lane-5547d9e78904e730" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "executor-ff5e68ab4e98d13e", + "route_id": "route-e69f26a656e90120", + "kind": "certificate_executor", + "scientific_record_ids": [ + "lane-b0877f36f5bf04e5" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "executor-ff99a2bf3e80c9a9", + "route_id": "route-e8b25e6d8730e1e7", + "kind": "certificate_executor", + "scientific_record_ids": [ + "lane-f7e0f3e0963801d8" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "model-09525bcfc07e67a0", + "route_id": "route-82db92644ae84174", + "kind": "reviewed_model_or_combination_boundary", + "scientific_record_ids": [], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements.", + "original_support_boundary": "Historical scaps_mirror_v2 remains inconsistent; known 6.024958093 meV tilt is not a new <=5 meV certificate", + "original_coverage_test_ids": [ + "file-0bdf6de291837723", + "file-35fdc9a725a914d9", + "file-cd3e44da01ec60ff", + "file-8e07ac6e2ef2e3e1", + "file-eb13e4ae5d91674e" + ], + "prospective_artifact": "test/ArchitectureRefactor/ComparisonScopesV1/model-09525bcfc07e67a0.json", + "required_before": "model or combination replacement; original reviewed support boundary must not broaden", + "tasks": [ + "P03-04", + "P04-03", + "P08-03" + ] + }, + { + "capability_id": "model-12498987410f19e3", + "route_id": "route-8325215ed6470da3", + "kind": "reviewed_model_or_combination_boundary", + "scientific_record_ids": [], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements.", + "original_support_boundary": "Keep enabled model and derivative conventions; dynamic trap storage is a separate capability", + "original_coverage_test_ids": [ + "file-1c1644396a22c96f", + "file-8e659ef570f49656" + ], + "prospective_artifact": "test/ArchitectureRefactor/ComparisonScopesV1/model-12498987410f19e3.json", + "required_before": "model or combination replacement; original reviewed support boundary must not broaden", + "tasks": [ + "P04-07", + "P04-10" + ] + }, + { + "capability_id": "model-14419ba8316d787b", + "route_id": "route-46768de238c10b26", + "kind": "reviewed_model_or_combination_boundary", + "scientific_record_ids": [], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements.", + "original_support_boundary": "bulk_dynamic_defect; interface_dynamic_defect; bulk_defect_plus_ions; interface_defect_plus_ions; bulk_interface_defect_plus_ions; bulk+interface without ions rejects", + "original_coverage_test_ids": [ + "file-873182e6540b10a6", + "file-d40e8bf673dc8630", + "file-ad724b59b1213707" + ], + "prospective_artifact": "test/ArchitectureRefactor/ComparisonScopesV1/model-14419ba8316d787b.json", + "required_before": "model or combination replacement; original reviewed support boundary must not broaden", + "tasks": [ + "P04-06", + "P04-10", + "P05-03" + ] + }, + { + "capability_id": "model-2349ef0825324d5d", + "route_id": "route-10a93c77eb891674", + "kind": "reviewed_model_or_combination_boundary", + "scientific_record_ids": [], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements.", + "original_support_boundary": "Preserve cold compilation vs parameter rebinding, provenance and stopped/failed point status", + "original_coverage_test_ids": [ + "file-5a9fc68347dbbeaa", + "file-1c67a3e462828b10", + "file-dbaebe4e177d4b0a", + "file-3b9f5364b7c8b271", + "file-37223589fd34d622", + "file-d1c3344ad119290e", + "file-d296684f02672dec", + "file-f9d8c736910f7798", + "file-692d56df87451179", + "file-d5238fe8b6542b4c", + "file-2235215923728ac8", + "file-d1a4239e5256f1fa", + "file-f54b969153f33906", + "file-82691c6ee1f967df", + "file-9900e40c750a3bc5", + "file-6472690023d4fb4e", + "file-7ea410970770fe78", + "file-76fc82e6d32bb080", + "file-0f0fa8d7faadb95e", + "file-d12f4fa91e12621e", + "file-5752a83d075ea7ec" + ], + "prospective_artifact": "test/ArchitectureRefactor/ComparisonScopesV1/model-2349ef0825324d5d.json", + "required_before": "model or combination replacement; original reviewed support boundary must not broaden", + "tasks": [ + "P03-05", + "P05-05", + "P06-05" + ] + }, + { + "capability_id": "model-2f6733546b06bf73", + "route_id": "route-0028b51c44273f6e", + "kind": "reviewed_model_or_combination_boundary", + "scientific_record_ids": [], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements.", + "original_support_boundary": "Do not merge unequal sampling, generation clamps, calibration and occupancy semantics", + "original_coverage_test_ids": [ + "file-efdc30440c7b5ad9", + "file-8d7dda7adbf7a50a" + ], + "prospective_artifact": "test/ArchitectureRefactor/ComparisonScopesV1/model-2f6733546b06bf73.json", + "required_before": "model or combination replacement; original reviewed support boundary must not broaden", + "tasks": [ + "P04-09", + "P06-02" + ] + }, + { + "capability_id": "model-2fd923e3c36da07c", + "route_id": "route-37e2128a898867ec", + "kind": "reviewed_model_or_combination_boundary", + "scientific_record_ids": [], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements.", + "original_support_boundary": "Channel declaration is not execution support; unsupported band-to-band/contact/defect-assisted combinations retain rejection guards", + "original_coverage_test_ids": [ + "file-bf265a36275f9302", + "file-b21eee3b3bcc5c86", + "file-0b6740570ed6c913", + "file-2fb15e43646f6269", + "file-89bd7bee2cd707e0", + "file-1f947cc3b1a55050", + "file-e73603fefdd60414", + "file-0b66fb96755a23d9", + "file-3a6724652bd41545", + "file-a3605298ddb2f265", + "file-4edd3f02b791098b" + ], + "prospective_artifact": "test/ArchitectureRefactor/ComparisonScopesV1/model-2fd923e3c36da07c.json", + "required_before": "model or combination replacement; original reviewed support boundary must not broaden", + "tasks": [ + "P04-12" + ] + }, + { + "capability_id": "model-35d1a24b8b4f94da", + "route_id": "route-d9c856c156710764", + "kind": "reviewed_model_or_combination_boundary", + "scientific_record_ids": [], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements.", + "original_support_boundary": "Schema versions/units, populations and certified dimensional/driver support remain separate", + "original_coverage_test_ids": [ + "file-18628861e2cafea1", + "file-75a79849cbcbcf26", + "file-be763e8e37bd8f45", + "file-5a08c224dae743fb", + "file-67081ef124251b85", + "file-a744c7f79c26d155", + "file-5e8bc48bc9007f08", + "file-eb7d9403259c987c", + "file-c0f5478555a1c817" + ], + "prospective_artifact": "test/ArchitectureRefactor/ComparisonScopesV1/model-35d1a24b8b4f94da.json", + "required_before": "model or combination replacement; original reviewed support boundary must not broaden", + "tasks": [ + "P03-03", + "P04-10" + ] + }, + { + "capability_id": "model-3d61805d6505f665", + "route_id": "route-1a753e47cd31526e", + "kind": "reviewed_model_or_combination_boundary", + "scientific_record_ids": [], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements.", + "original_support_boundary": "Not a new simultaneous dynamic electrothermal PDE", + "original_coverage_test_ids": [ + "file-2e2f4181e04a2a26", + "file-ce4f2563aea17e05", + "file-f60acd73e81e5846", + "file-78c3fb2cc0593d17", + "file-7e899c973301c22b" + ], + "prospective_artifact": "test/ArchitectureRefactor/ComparisonScopesV1/model-3d61805d6505f665.json", + "required_before": "model or combination replacement; original reviewed support boundary must not broaden", + "tasks": [ + "P04-11", + "P04-13", + "P05-04" + ] + }, + { + "capability_id": "model-4121df989e253bee", + "route_id": "route-8fa82108990208d6", + "kind": "reviewed_model_or_combination_boundary", + "scientific_record_ids": [], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements.", + "original_support_boundary": "Acknowledgement, unit calibration, thermodynamic reference and QF driver gates remain", + "original_coverage_test_ids": [ + "file-84cd4d1f05a0e4e6", + "file-811f3ea5871aee27", + "file-e90f855bd902a4d9", + "file-4cee3d2b7b615bb0", + "file-5fd8d0a1fff64137", + "file-2f33cd4e88efab77", + "file-d4652e19403d1520", + "file-6736a5cb5e395230" + ], + "prospective_artifact": "test/ArchitectureRefactor/ComparisonScopesV1/model-4121df989e253bee.json", + "required_before": "model or combination replacement; original reviewed support boundary must not broaden", + "tasks": [ + "P04-09", + "P04-10", + "P05-02" + ] + }, + { + "capability_id": "model-414d415fcc29e031", + "route_id": "route-3b0ea2bce48cedc0", + "kind": "reviewed_model_or_combination_boundary", + "scientific_record_ids": [], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements.", + "original_support_boundary": "Preserve ideal-series/detailed optical semantics; no new tunnel-junction carrier model", + "original_coverage_test_ids": [ + "file-07e9e5808596f127", + "file-bf574d42a27551a2", + "file-8c46dba5b85f5f93", + "file-a8be71f41320f2b1", + "file-a465de872d80b1b2", + "file-396f6ccdf039764c", + "file-1c9994183cf591ea", + "file-665991bde969677f" + ], + "prospective_artifact": "test/ArchitectureRefactor/ComparisonScopesV1/model-414d415fcc29e031.json", + "required_before": "model or combination replacement; original reviewed support boundary must not broaden", + "tasks": [ + "P04-13", + "P05-04" + ] + }, + { + "capability_id": "model-4d19ee3cf724dee6", + "route_id": "route-10514450877a74c6", + "kind": "reviewed_model_or_combination_boundary", + "scientific_record_ids": [], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements.", + "original_support_boundary": "TMM requires supplied optical data and tier ceiling; loader success is not optical certification", + "original_coverage_test_ids": [ + "file-c8b43090eb10a630", + "file-cf19d811fa2d8172" + ], + "prospective_artifact": "test/ArchitectureRefactor/ComparisonScopesV1/model-4d19ee3cf724dee6.json", + "required_before": "model or combination replacement; original reviewed support boundary must not broaden", + "tasks": [ + "P04-07", + "P04-13" + ] + }, + { + "capability_id": "model-4d79d5da1503d07c", + "route_id": "route-3ca5aadbccd95430", + "kind": "reviewed_model_or_combination_boundary", + "scientific_record_ids": [], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements.", + "original_support_boundary": "Nonlocal sparsity and 2D vertical-column approximation must remain explicit", + "original_coverage_test_ids": [ + "file-835e2a0a6f24fbef", + "file-c8e92427a8381f1b", + "file-8adac4a2ed91dd7c", + "file-f86d34ea07b22ece" + ], + "prospective_artifact": "test/ArchitectureRefactor/ComparisonScopesV1/model-4d79d5da1503d07c.json", + "required_before": "model or combination replacement; original reviewed support boundary must not broaden", + "tasks": [ + "P02-07", + "P04-12", + "P06-02" + ] + }, + { + "capability_id": "model-6869c69e7b6ea663", + "route_id": "route-2284c44f7547afc8", + "kind": "reviewed_model_or_combination_boundary", + "scientific_record_ids": [], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements.", + "original_support_boundary": "No observed current spectral Beer-Lambert or profile-file entry; historical/new scope needs explicit binding", + "original_coverage_test_ids": [ + "file-c83b07984525dc3e" + ], + "prospective_artifact": "test/ArchitectureRefactor/ComparisonScopesV1/model-6869c69e7b6ea663.json", + "required_before": "model or combination replacement; original reviewed support boundary must not broaden", + "tasks": [ + "P04-07", + "P08-04" + ] + }, + { + "capability_id": "model-764c896a23aae6da", + "route_id": "route-ad39f1ba37895ec2", + "kind": "reviewed_model_or_combination_boundary", + "scientific_record_ids": [], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements.", + "original_support_boundary": "Mobile ions and interface-SRH require Neumann-x and explicit research protocol; complete-current adapter differs from legacy conduction-only helper", + "original_coverage_test_ids": [ + "file-c32750789eed145b", + "file-e0b27620acaf9552", + "file-45fac48b0d4ea44e", + "file-b60e117bfe3d6589", + "file-469c9b2176ee0f8c", + "file-3b9f5364b7c8b271", + "file-37223589fd34d622", + "file-d1c3344ad119290e", + "file-0dd2e10e6a96766b", + "file-ed5fb9c84d1fa404", + "file-9dd0e314a2bd919f", + "file-e7fb6948a054eddb", + "file-d961d7cb0cb02ea0", + "file-8d7dda7adbf7a50a", + "file-f10b5ffdb8ca74e4", + "file-11fdb857dd8a1e4b", + "file-01c16a3830a43d14", + "file-28009e3f71a73b10", + "file-48d8a762c88a1b8c", + "file-f86d34ea07b22ece", + "file-3756153029a3ff65", + "file-c2b66990b8fd566b" + ], + "prospective_artifact": "test/ArchitectureRefactor/ComparisonScopesV1/model-764c896a23aae6da.json", + "required_before": "model or combination replacement; original reviewed support boundary must not broaden", + "tasks": [ + "P06-01", + "P06-02", + "P06-03" + ] + }, + { + "capability_id": "model-7efe0d79d585f48c", + "route_id": "route-319cedcb93036ea4", + "kind": "reviewed_model_or_combination_boundary", + "scientific_record_ids": [], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements.", + "original_support_boundary": "Existing absorber composition domain and external-data provenance limits remain", + "original_coverage_test_ids": [ + "file-2d4c2c1958a51e1d", + "file-d7ed9cd70fe14d2e", + "file-91f021f9fb861cc7", + "file-c936c35b1206e4a8", + "file-ed69fa6cba2b0174" + ], + "prospective_artifact": "test/ArchitectureRefactor/ComparisonScopesV1/model-7efe0d79d585f48c.json", + "required_before": "model or combination replacement; original reviewed support boundary must not broaden", + "tasks": [ + "P04-07", + "P04-11" + ] + }, + { + "capability_id": "model-808805f5747b246b", + "route_id": "route-05954cb31108b609", + "kind": "reviewed_model_or_combination_boundary", + "scientific_record_ids": [], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements.", + "original_support_boundary": "Finite transport permits QF jump; raw band offsets and DOS-normalized transport have separate roles", + "original_coverage_test_ids": [ + "file-b1c094f60f81bd70", + "file-31d59e1de34c144f" + ], + "prospective_artifact": "test/ArchitectureRefactor/ComparisonScopesV1/model-808805f5747b246b.json", + "required_before": "model or combination replacement; original reviewed support boundary must not broaden", + "tasks": [ + "P04-01", + "P04-09", + "P08-03" + ] + }, + { + "capability_id": "model-a23eeb784abe318e", + "route_id": "route-5d1c26da2dda74b7", + "kind": "reviewed_model_or_combination_boundary", + "scientific_record_ids": [], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements.", + "original_support_boundary": "LEGACY forces DOS fold off; non-legacy fold needs DOS data", + "original_coverage_test_ids": [ + "file-3457c314cd6bd1f8", + "file-6e9ab1673d3644ea" + ], + "prospective_artifact": "test/ArchitectureRefactor/ComparisonScopesV1/model-a23eeb784abe318e.json", + "required_before": "model or combination replacement; original reviewed support boundary must not broaden", + "tasks": [ + "P04-03", + "P04-09" + ] + }, + { + "capability_id": "model-a99890236b16dac4", + "route_id": "route-1d5406b5270c83c8", + "kind": "reviewed_model_or_combination_boundary", + "scientific_record_ids": [], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements.", + "original_support_boundary": "Fresh temperature rebinding; 2D normal-field approximation is not isotropic field magnitude", + "original_coverage_test_ids": [ + "file-091e6e28cf32ab9b", + "file-b044fe2d465aae4d", + "file-c6e383dce361ac12", + "file-b5ad4ea754b28b44", + "file-3f020b8d32420679", + "file-6449acdbbd777fd6", + "file-01a667c6530f48ef", + "file-9dd0e314a2bd919f" + ], + "prospective_artifact": "test/ArchitectureRefactor/ComparisonScopesV1/model-a99890236b16dac4.json", + "required_before": "model or combination replacement; original reviewed support boundary must not broaden", + "tasks": [ + "P04-11", + "P04-13", + "P06-02" + ] + }, + { + "capability_id": "model-a9c27f1e9a32d50b", + "route_id": "route-8da2b10cdabff825", + "kind": "reviewed_model_or_combination_boundary", + "scientific_record_ids": [], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements.", + "original_support_boundary": "No transient simplex support inferred from stationary schema alone", + "original_coverage_test_ids": [ + "file-4a076d9bcf6fbfd0", + "file-0a84f3ae80deb633", + "file-c89a7859242338d0", + "file-2f55adfcd5fda411", + "file-d04da2e267a232a7", + "file-49a0b67eb6b9f101", + "file-586c44e62a34d59c" + ], + "prospective_artifact": "test/ArchitectureRefactor/ComparisonScopesV1/model-a9c27f1e9a32d50b.json", + "required_before": "model or combination replacement; original reviewed support boundary must not broaden", + "tasks": [ + "P03-03", + "P04-10" + ] + }, + { + "capability_id": "model-bf1eccb456572cbb", + "route_id": "route-a710012d4957cff3", + "kind": "reviewed_model_or_combination_boundary", + "scientific_record_ids": [], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements.", + "original_support_boundary": "One active absorber positive-ion layer and unit microscopic interface calibration; illumination/negative ions/additional active layers reject", + "original_coverage_test_ids": [ + "file-cec5c0dc91a03900", + "file-8126bacb4bbcbf72", + "file-d73239ac2ab47bbe", + "file-51a9ecad5af91bb1", + "file-dff1ed3fc2fce6f6" + ], + "prospective_artifact": "test/ArchitectureRefactor/ComparisonScopesV1/model-bf1eccb456572cbb.json", + "required_before": "model or combination replacement; original reviewed support boundary must not broaden", + "tasks": [ + "P04-10", + "P05-04" + ] + }, + { + "capability_id": "model-c2f3be21ffc4db07", + "route_id": "route-d62e86f66bbfc4a7", + "kind": "reviewed_model_or_combination_boundary", + "scientific_record_ids": [], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements.", + "original_support_boundary": "1D and tensor 2D; endpoint and interface geometry remain explicit; no unstructured or 3D claim", + "original_coverage_test_ids": [ + "file-7be268258c3e2d28", + "file-48d8a762c88a1b8c" + ], + "prospective_artifact": "test/ArchitectureRefactor/ComparisonScopesV1/model-c2f3be21ffc4db07.json", + "required_before": "model or combination replacement; original reviewed support boundary must not broaden", + "tasks": [ + "P04-01", + "P04-02", + "P06-01", + "P08-02" + ] + }, + { + "capability_id": "model-cdca4a76a85e89ed", + "route_id": "route-7f630a1e3f93d84f", + "kind": "reviewed_model_or_combination_boundary", + "scientific_record_ids": [], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements.", + "original_support_boundary": "Per connected-domain inventory and finite site capacity; frozen charge and dynamic P block are distinct", + "original_coverage_test_ids": [ + "file-72268c3f72b5bb58", + "file-06bbdb5d19953f93", + "file-0dc2c4e576c467a8", + "file-f10b5ffdb8ca74e4", + "file-28009e3f71a73b10" + ], + "prospective_artifact": "test/ArchitectureRefactor/ComparisonScopesV1/model-cdca4a76a85e89ed.json", + "required_before": "model or combination replacement; original reviewed support boundary must not broaden", + "tasks": [ + "P04-08", + "P06-02" + ] + }, + { + "capability_id": "model-d9a82159b8b0c451", + "route_id": "route-3c9fbb8d992a2504", + "kind": "reviewed_model_or_combination_boundary", + "scientific_record_ids": [], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements.", + "original_support_boundary": "Preserve current sign, power accounting and negative-differential topology rejection", + "original_coverage_test_ids": [ + "file-5a2c83ce29eab357", + "file-29bbe4e5d4a4f0d3", + "file-831c167580f3ccb2", + "file-b20293e3b3c0ff3f", + "file-300026b7896f446f" + ], + "prospective_artifact": "test/ArchitectureRefactor/ComparisonScopesV1/model-d9a82159b8b0c451.json", + "required_before": "model or combination replacement; original reviewed support boundary must not broaden", + "tasks": [ + "P04-13", + "P05-04" + ] + }, + { + "capability_id": "model-e0d4d8544e52d1f6", + "route_id": "route-adafe12b780cb075", + "kind": "reviewed_model_or_combination_boundary", + "scientific_record_ids": [], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements.", + "original_support_boundary": "Shared capacity is not independent clipping; current 2D mobile topology rejects dual ions", + "original_coverage_test_ids": [ + "file-6e3744447bfd8653", + "file-f671f906acb61fb5", + "file-5d8da9bb4feeb3bf", + "file-1058e138801095ce", + "file-6d3f286be370f808", + "file-d239d164a00e3135", + "file-8ab9f28b607b4e66", + "file-9983b19e3c8a58fc", + "file-a1e325162cd52f9e" + ], + "prospective_artifact": "test/ArchitectureRefactor/ComparisonScopesV1/model-e0d4d8544e52d1f6.json", + "required_before": "model or combination replacement; original reviewed support boundary must not broaden", + "tasks": [ + "P04-08" + ] + }, + { + "capability_id": "model-e30545539a73788a", + "route_id": "route-e165470d3885491a", + "kind": "reviewed_model_or_combination_boundary", + "scientific_record_ids": [], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements.", + "original_support_boundary": "Keep frozen model versions, composition/spatial support and electrostatic charge derivatives", + "original_coverage_test_ids": [ + "file-127446cbe73dcee3", + "file-777f9433382b8528", + "file-52fd6f111dc276be", + "file-03251f34b406c009", + "file-ea13c63d75f9fcab", + "file-7c1de333528cb367", + "file-0ef758978e891e8e", + "file-969bdab5df1bd5b1", + "file-48b79f01256e2dc7" + ], + "prospective_artifact": "test/ArchitectureRefactor/ComparisonScopesV1/model-e30545539a73788a.json", + "required_before": "model or combination replacement; original reviewed support boundary must not broaden", + "tasks": [ + "P04-11" + ] + }, + { + "capability_id": "model-ee04323676cd31ae", + "route_id": "route-bab67146773d252f", + "kind": "reviewed_model_or_combination_boundary", + "scientific_record_ids": [], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements.", + "original_support_boundary": "Public codec/increment extension; no private subclassing or core->research callback after migration; L1/L2/L3 remain separate", + "original_coverage_test_ids": [ + "file-ebdb10d5fd849277", + "file-99090c16c99642f9", + "file-858ac00f21d84aeb", + "file-4213fd48c1d6c35a", + "file-fd6e9231a32f3510", + "file-33e4dc11fc49a82c", + "file-206d6c2e7c27a636", + "file-bec78e1d92034a8a", + "file-dd628ee21455c23b", + "file-b3e2e89e236a5860" + ], + "prospective_artifact": "test/ArchitectureRefactor/ComparisonScopesV1/model-ee04323676cd31ae.json", + "required_before": "model or combination replacement; original reviewed support boundary must not broaden", + "tasks": [ + "P02-08", + "P07-01", + "P07-02", + "P07-03", + "P07-04" + ] + }, + { + "capability_id": "model-efbb0ef5776a7ec3", + "route_id": "route-9f659d6ab05ae517", + "kind": "reviewed_model_or_combination_boundary", + "scientific_record_ids": [], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements.", + "original_support_boundary": "Thermal-equilibrium/QF and declared adapters only; no blanket FD support across drivers", + "original_coverage_test_ids": [ + "file-c66504dc2f8a452a", + "file-0243df31cb52380b", + "file-57621643230ed27f", + "file-3b238e23df5e6c4d", + "file-8c65505ec52f8f60" + ], + "prospective_artifact": "test/ArchitectureRefactor/ComparisonScopesV1/model-efbb0ef5776a7ec3.json", + "required_before": "model or combination replacement; original reviewed support boundary must not broaden", + "tasks": [ + "P04-03", + "P04-06" + ] + }, + { + "capability_id": "model-f415f85948826e3d", + "route_id": "route-495b76e93b3577ce", + "kind": "reviewed_model_or_combination_boundary", + "scientific_record_ids": [], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements.", + "original_support_boundary": "Preparation history cannot be replaced with a fresh equilibrium solve at each measurement", + "original_coverage_test_ids": [ + "file-197585768eb0655e", + "file-f9a450f7a331a913", + "file-4337bce2761f9057" + ], + "prospective_artifact": "test/ArchitectureRefactor/ComparisonScopesV1/model-f415f85948826e3d.json", + "required_before": "model or combination replacement; original reviewed support boundary must not broaden", + "tasks": [ + "P04-10", + "P05-04" + ] + }, + { + "capability_id": "test-0096022cc5e5dfaf", + "route_id": "route-ae2d3995d135a011", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-4322a9e3b442d931" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-01d38566fcea91d0", + "route_id": "route-9375ac408e069055", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-66079d06baa87db2" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-03c7f68122391a1f", + "route_id": "route-a7427329864623b5", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-f243dcb4f5a72c41" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-03fed0a28f081a18", + "route_id": "route-fcafc4a7718c3edb", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-ee312eb2fea8c21f" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-04994ff7ad70511e", + "route_id": "route-3af1b70058a60bb2", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-beb35201a660895f" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-05ca1530e5b77103", + "route_id": "route-c9e542353aa3dfe7", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-d84b2405628c3df6" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-05da3d62869dd717", + "route_id": "route-c9e542353aa3dfe7", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-d84b2405628c3df6" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-0703e3fd8ebec9ae", + "route_id": "route-f8a69037f1b73c07", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-83c17bf82672772f" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-09ceca74aa5fa208", + "route_id": "route-dbb0aa115a1d4a9c", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-3ece4d3a78f8823e" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-0df678c273d21304", + "route_id": "route-e50cccf095e95962", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-00cbe610b0bd55b6" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-0e123b1fd44a7884", + "route_id": "route-a4df2873c86f552b", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-f243dcb4f5a72c41" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-0e334a72823d9f7f", + "route_id": "route-7c9018435c0cda2c", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-4e5dfc48e60736d0" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-0e83a3dcfd89dde0", + "route_id": "route-d982a585da9c5623", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-a12ead2b6fe7e734" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-0e9226a2e11b054b", + "route_id": "route-029e5b8b0f40fcb9", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-ccce54aef1456ee8" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-0f73e6238996eec6", + "route_id": "route-d982a585da9c5623", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-94f2fd2efa41f878" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-101a3119fa8ae8cf", + "route_id": "route-0ced7d59e4531b29", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-ac91c699b18d14f4" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-125e67ace1168a75", + "route_id": "route-76803f4bc08b09bc", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-66079d06baa87db2" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-12ae29e0d4e4199a", + "route_id": "route-c9579d64266782a1", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-d84b2405628c3df6" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-136e6416c60b68e9", + "route_id": "route-1fc03cea8e292893", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-1006540a4310894f" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-13ea5bbdb630c806", + "route_id": "route-e50cccf095e95962", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-00cbe610b0bd55b6" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-18140084831578e4", + "route_id": "route-a174f9fa1758f45c", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-ac54a8e323f74ee0" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-18c933b9c116fd90", + "route_id": "route-0ced7d59e4531b29", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-ac91c699b18d14f4" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-191fb19892ce9a5b", + "route_id": "route-616d8b4cbb2d3074", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-5ac658e026793692" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-19f117b7f3c7e466", + "route_id": "route-58c3b6b1d279e02c", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-4322a9e3b442d931" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-19f78ec23fa3a2cb", + "route_id": "route-029e5b8b0f40fcb9", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-ccce54aef1456ee8" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-1a104400cc5e0284", + "route_id": "route-8680740070b5338b", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-ffe6aa8aa40ed1bc" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-1ab9f4e2a80da7de", + "route_id": "route-8ac3157f4f457483", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-f050f4122cc07b66" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-1b5f7c8515814c35", + "route_id": "route-7ab03f31d5b1ed86", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-5223cbf1b1ff2fbd" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-1dcb441559410f3c", + "route_id": "route-8680740070b5338b", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-ffe6aa8aa40ed1bc" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-1f64cf6e4a4764e3", + "route_id": "route-08388d5ce6054b7e", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-afaed356d2fa81de" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-219a38c6e8b35660", + "route_id": "route-eb6a265f66d286ce", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-4e5dfc48e60736d0" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-241665d222e61d06", + "route_id": "route-8680740070b5338b", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-ffe6aa8aa40ed1bc" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-2498209dd01fa0e5", + "route_id": "route-5cd5c6f2e8aef072", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-f243dcb4f5a72c41" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-251960f41591839e", + "route_id": "route-08ce1f24c4c21352", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-4e5dfc48e60736d0" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-25756f05d1d78ca8", + "route_id": "route-029e5b8b0f40fcb9", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-ccce54aef1456ee8" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-27268d6eb219f174", + "route_id": "route-0ced7d59e4531b29", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-ac91c699b18d14f4" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-2753c891a0cf1e03", + "route_id": "route-9375ac408e069055", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-66079d06baa87db2" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-281ed1035a42c6a4", + "route_id": "route-7d9043b233e15280", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-f55a467e6d6c9e27" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-28ee723a96a5283e", + "route_id": "route-08ce1f24c4c21352", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-f55a467e6d6c9e27" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-2b0ba646aeba8c85", + "route_id": "route-307dbf7ba359e774", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-9ffebfadd845315b" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-2b404245ec1d7374", + "route_id": "route-029e5b8b0f40fcb9", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-ccce54aef1456ee8" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-2c199db715c37e77", + "route_id": "route-dbb0aa115a1d4a9c", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-3ece4d3a78f8823e" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-2c7f9ad9f17fe2c5", + "route_id": "route-b311e4efe8523e7d", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-5c45d777007899c9" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-2d179f10d80fbe84", + "route_id": "route-7d06c5aa1467192b", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-a9fb1ab48c74827c" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-2da1175ed0af190e", + "route_id": "route-9521ef6731a5b9af", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-2944ea519ddd6969" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-2dc34d63483b5839", + "route_id": "route-afda7243d5547184", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-5ac658e026793692" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-2e3cb8f383715552", + "route_id": "route-590cbd2f74a63ba1", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-9ffebfadd845315b" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-2ecff5da6dc212a0", + "route_id": "route-6ab6765e69066eea", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-4105876c56341ee0" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-3055e3986c75d0d3", + "route_id": "route-fcafc4a7718c3edb", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-ee312eb2fea8c21f" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-306302da8a54b3a1", + "route_id": "route-3a9981201fd875af", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-86e2e70943004434" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-30b2463f2e65a945", + "route_id": "route-d982a585da9c5623", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-9413c6e9be031fbb" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-31c40f1f59ae8824", + "route_id": "route-c649a12407ab45c9", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-86e2e70943004434" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-321eb1726e5e6672", + "route_id": "route-e80cf2912dbb511c", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-2944ea519ddd6969" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-34a0c94200709776", + "route_id": "route-029e5b8b0f40fcb9", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-ccce54aef1456ee8" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-34bc87acbb9b3084", + "route_id": "route-b311e4efe8523e7d", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-5c45d777007899c9" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-34ca08eb4c0b986e", + "route_id": "route-14d178f38457e0fb", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-2944ea519ddd6969" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-3599c21ddb9b8f57", + "route_id": "route-8ac3157f4f457483", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-f050f4122cc07b66" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-3643cfd95da137a2", + "route_id": "route-d982a585da9c5623", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-9413c6e9be031fbb" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-3801c23e9f68f657", + "route_id": "route-0ced7d59e4531b29", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-ac91c699b18d14f4" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-3896c0e046725431", + "route_id": "route-b6f0631586d98fdb", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-f243dcb4f5a72c41" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-38c2402525df7cd8", + "route_id": "route-be6008fe21482721", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-00cbe610b0bd55b6", + "benchmark-d84b2405628c3df6" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-3b1d4ca1d50d64cf", + "route_id": "route-526b660f36929d2c", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-ae94b012055aa10b" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-3d2dac257c36a80a", + "route_id": "route-dbb0aa115a1d4a9c", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-3ece4d3a78f8823e" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-3ddfcf1614473314", + "route_id": "route-a174f9fa1758f45c", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-ac54a8e323f74ee0" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-3e7ac696b5fb9cee", + "route_id": "route-dbb0aa115a1d4a9c", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-3ece4d3a78f8823e" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-3f238fb641ef8d3d", + "route_id": "route-d982a585da9c5623", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-94f2fd2efa41f878" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-3fb40181fa7529da", + "route_id": "route-a09065616cd4ffe7", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-5223cbf1b1ff2fbd" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-40d459ace312e426", + "route_id": "route-a4f83b68a7a648b3", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-d84b2405628c3df6" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-4157991ac72b8d59", + "route_id": "route-d982a585da9c5623", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-9413c6e9be031fbb" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-416c24227fdcf67f", + "route_id": "route-029e5b8b0f40fcb9", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-ccce54aef1456ee8" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-4227aee7634adb01", + "route_id": "route-72ce1cb2cad2c1b6", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-a8032d8160a5c7e3" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-467572eeb8fe5014", + "route_id": "route-3a9981201fd875af", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-86e2e70943004434" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-47b1d0b40ff926aa", + "route_id": "route-a174f9fa1758f45c", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-ac54a8e323f74ee0" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-4ad819acd4a567d9", + "route_id": "route-7b656802468076c8", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-5ac658e026793692" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-4c9b1d78bbdfcd66", + "route_id": "route-dd72355af5e37942", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-a1a396a1f7b2045c" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-4ec9637341e22aeb", + "route_id": "route-0ced7d59e4531b29", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-ac91c699b18d14f4" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-4f312ab067016d9c", + "route_id": "route-3a91e5a492db3520", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-f050f4122cc07b66" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-5022410942c288c2", + "route_id": "route-b1447a4fec5c0b30", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-f2259e41f3b75254" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-509fd38f00ff5582", + "route_id": "route-5e20968aaa8293ec", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-4105876c56341ee0" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-50cb6d1e8c40d1b3", + "route_id": "route-ea9e842e5124c927", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-83c17bf82672772f" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-54bfba2285db2397", + "route_id": "route-a4f83b68a7a648b3", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-63f25334baabb168" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-57dec28a7bb95fad", + "route_id": "route-029e5b8b0f40fcb9", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-ccce54aef1456ee8" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-580b89cac50abc81", + "route_id": "route-7d06c5aa1467192b", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-a9fb1ab48c74827c" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-59d0bc76c13aee96", + "route_id": "route-006d8e96c7c1a08e", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-4105876c56341ee0" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-5ace3e207fb6ebf1", + "route_id": "route-dbb0aa115a1d4a9c", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-3ece4d3a78f8823e" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-5c21bc07beff21f5", + "route_id": "route-029e5b8b0f40fcb9", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-ccce54aef1456ee8" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-5c5e3af97f6172a1", + "route_id": "route-3a9981201fd875af", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-86e2e70943004434" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-5dac0f92416fc11b", + "route_id": "route-646e10995ce5d015", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-9ffebfadd845315b" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-5e901f40a179e52b", + "route_id": "route-1fc03cea8e292893", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-d421981a0850b957" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-5eedbe4d911ee074", + "route_id": "route-be6008fe21482721", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-00cbe610b0bd55b6" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-5f73e4a920474139", + "route_id": "route-fcafc4a7718c3edb", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-ee312eb2fea8c21f" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-604ba80c70fb9dfa", + "route_id": "route-7ab03f31d5b1ed86", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-5223cbf1b1ff2fbd" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-62cadf90010683f7", + "route_id": "route-99e9f4e9a864f5b4", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-5c45d777007899c9" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-62caf3ff0c34f5cd", + "route_id": "route-6a14c98e1f097127", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-5223cbf1b1ff2fbd" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-63ff29b3d21a55d5", + "route_id": "route-b806b563615b069b", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-83c17bf82672772f" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-641484e062ebff1a", + "route_id": "route-029e5b8b0f40fcb9", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-ccce54aef1456ee8" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-6a9ce24f4979c14f", + "route_id": "route-8680740070b5338b", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-ffe6aa8aa40ed1bc" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-6b0be3873366e933", + "route_id": "route-7d06c5aa1467192b", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-a9fb1ab48c74827c" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-6ba18e56866bf745", + "route_id": "route-9521ef6731a5b9af", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-2944ea519ddd6969" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-6bc4461cf644e882", + "route_id": "route-494eef5ee9e21e7d", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-5ac658e026793692" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-6e6e9535fde4336f", + "route_id": "route-8ac3157f4f457483", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-f050f4122cc07b66" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-700d0989e03ec470", + "route_id": "route-e11dbb007279157c", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-7e320e9d039d49bd" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-70f44f0fda90c98e", + "route_id": "route-5f30ea99440df61c", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-3ca07445f8402d7d" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-7467aed3c4843bbe", + "route_id": "route-d982a585da9c5623", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-9413c6e9be031fbb" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-764854a355426d9a", + "route_id": "route-a174f9fa1758f45c", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-ac54a8e323f74ee0" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-7a04d8b14d20a025", + "route_id": "route-029e5b8b0f40fcb9", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-ccce54aef1456ee8" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-7abd2273c4a7c2e5", + "route_id": "route-0ced7d59e4531b29", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-ac91c699b18d14f4" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-7c3a65c4824b57be", + "route_id": "route-b806b563615b069b", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-f55a467e6d6c9e27" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-7e222f6602ca6f76", + "route_id": "route-979cfe7ef3df9d27", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-5ac658e026793692" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-838e934bbce98c16", + "route_id": "route-d982a585da9c5623", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-94f2fd2efa41f878" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-83ae51f2f0ea3a2d", + "route_id": "route-e80cf2912dbb511c", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-2944ea519ddd6969" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-86307db968070b8b", + "route_id": "route-f2bbdfc3313080a5", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-e049e24da73bc454" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-86453863ed237b32", + "route_id": "route-d7e5d70def0ab980", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-cc91d2d42ff5757d" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-8753e8db16e42746", + "route_id": "route-99e9f4e9a864f5b4", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-5c45d777007899c9" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-877dbbff3291ea5c", + "route_id": "route-a174f9fa1758f45c", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-ac54a8e323f74ee0" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-882c522004448454", + "route_id": "route-a174f9fa1758f45c", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-ac54a8e323f74ee0" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-885f0cca69f15da0", + "route_id": "route-99e9f4e9a864f5b4", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-5c45d777007899c9" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-8a140de5f686130c", + "route_id": "route-303c66f9bbddb0fd", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-e049e24da73bc454" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-8e551ed96134ab29", + "route_id": "route-a174f9fa1758f45c", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-ac54a8e323f74ee0" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-90b969ea51243a64", + "route_id": "route-0ced7d59e4531b29", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-ac91c699b18d14f4" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-91198eb2b6fc5a37", + "route_id": "route-5f30ea99440df61c", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-3ca07445f8402d7d" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-917793d6c1152d4a", + "route_id": "route-8180e6a42c8cc31e", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-5223cbf1b1ff2fbd" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-9250a63a993b2c94", + "route_id": "route-8180e6a42c8cc31e", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-5223cbf1b1ff2fbd" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-93ba21a37217ae64", + "route_id": "route-5092c30773a52c7f", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-f2259e41f3b75254" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-94568656628db5aa", + "route_id": "route-4e62e85b41af2f4e", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-f55a467e6d6c9e27" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-94c4b5bc91e669ec", + "route_id": "route-bd7280435384f514", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-f2259e41f3b75254" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-95631c3fb0b691b0", + "route_id": "route-052455e87172b648", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-63f25334baabb168" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-95d151c48b468791", + "route_id": "route-d982a585da9c5623", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-9413c6e9be031fbb" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-997c80005794fc4d", + "route_id": "route-76803f4bc08b09bc", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-66079d06baa87db2" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-99eccb58b23031e9", + "route_id": "route-bd7280435384f514", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-f2259e41f3b75254" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-99f8f205f9fdde54", + "route_id": "route-dbb0aa115a1d4a9c", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-3ece4d3a78f8823e" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-9b55cec4d24a1ce9", + "route_id": "route-5e20968aaa8293ec", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-4105876c56341ee0" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-9b7d945e5f3d560b", + "route_id": "route-d982a585da9c5623", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-9413c6e9be031fbb" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-9b88349c86e4c172", + "route_id": "route-c649a12407ab45c9", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-86e2e70943004434" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-9d6c9dec9c5d82d4", + "route_id": "route-5f30ea99440df61c", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-3ca07445f8402d7d" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-a075116e8ea6424c", + "route_id": "route-052455e87172b648", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-63f25334baabb168" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-a21b25e26ce8aca9", + "route_id": "route-7d06c5aa1467192b", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-a9fb1ab48c74827c" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-a2263556cc482513", + "route_id": "route-e18cac36a5c3bb62", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-f243dcb4f5a72c41" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-a52c0049825d29c5", + "route_id": "route-029e5b8b0f40fcb9", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-ccce54aef1456ee8" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-aa38aa44614c6a39", + "route_id": "route-b1447a4fec5c0b30", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-f2259e41f3b75254" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-ab105fd5266255e1", + "route_id": "route-76803f4bc08b09bc", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-66079d06baa87db2" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-ac70cea85fdf3449", + "route_id": "route-8ac3157f4f457483", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-f050f4122cc07b66" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-ae1c2c77a5fccb17", + "route_id": "route-590cbd2f74a63ba1", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-ae94b012055aa10b" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-ae61cabf4328c95f", + "route_id": "route-5f30ea99440df61c", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-3ca07445f8402d7d" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-af4ae210d4d5e9fa", + "route_id": "route-9521ef6731a5b9af", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-2944ea519ddd6969" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-afa5dd66798c55a0", + "route_id": "route-37061a3f3e85e9e9", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-5ddcacfc324796c7" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-afc4550957d51480", + "route_id": "route-dd72355af5e37942", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-a1a396a1f7b2045c" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-b0b6fdce5445d43b", + "route_id": "route-48a779def1adea38", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-afaed356d2fa81de" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-b0d18f9eb71fb934", + "route_id": "route-58c3b6b1d279e02c", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-cc91d2d42ff5757d" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-b232797bd57e412f", + "route_id": "route-9521ef6731a5b9af", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-2944ea519ddd6969" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-b280244ce63845b5", + "route_id": "route-d982a585da9c5623", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-94f2fd2efa41f878" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-b376e13d9be4964a", + "route_id": "route-be6008fe21482721", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-00cbe610b0bd55b6" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-b4f2e2bf2b4a4665", + "route_id": "route-8680740070b5338b", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-ffe6aa8aa40ed1bc" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-b5ec18719455aef3", + "route_id": "route-9a5e6c59a7d96ad1", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-ee312eb2fea8c21f" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-b62f526de14eadca", + "route_id": "route-988e460287fd9346", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-4322a9e3b442d931" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-b668e476a2d68221", + "route_id": "route-58c3b6b1d279e02c", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-cc91d2d42ff5757d" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-b98594b5738e2c7b", + "route_id": "route-590cbd2f74a63ba1", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-ae94b012055aa10b" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-bd55b3e8663216be", + "route_id": "route-dbb0aa115a1d4a9c", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-3ece4d3a78f8823e" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-bd5675ca85376b09", + "route_id": "route-dec3e9c669acfaea", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-ae94b012055aa10b" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-bd7607f3f0c6203f", + "route_id": "route-74be308e859c2fe0", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-8d1003366b1bcb44" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-bdf9b8f65e01b1eb", + "route_id": "route-a174f9fa1758f45c", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-ac54a8e323f74ee0" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-c05eb905eb899cd1", + "route_id": "route-6f8d4f5d4e5cb364", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-4322a9e3b442d931" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-c15bb839196212cd", + "route_id": "route-616d8b4cbb2d3074", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-5ac658e026793692" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-c266ef46a5d09e19", + "route_id": "route-b1447a4fec5c0b30", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-f2259e41f3b75254" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-c2e0a6d9ae79f33d", + "route_id": "route-97608f6a1a1df2e9", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-e049e24da73bc454" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-c451a4d9535617b3", + "route_id": "route-b8de3750831132bf", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-83c17bf82672772f" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-c909ed06e0a53ec3", + "route_id": "route-91b8bb746585f554", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-1006540a4310894f" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-c9121d965ed064b3", + "route_id": "route-d982a585da9c5623", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-9413c6e9be031fbb" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-c9bb60730ec34a60", + "route_id": "route-029e5b8b0f40fcb9", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-ccce54aef1456ee8" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-c9c63663fcd6120d", + "route_id": "route-8680740070b5338b", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-ffe6aa8aa40ed1bc" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-c9dfe6dac85324d6", + "route_id": "route-3f3425cee9fae9dd", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-64d717e2afaf62b7" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-ca05903ef4e1d89f", + "route_id": "route-15d3fb17a577a78a", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-8d1003366b1bcb44" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-cac5e095f697ae2e", + "route_id": "route-303c66f9bbddb0fd", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-e049e24da73bc454" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-cbbfe8d50275e2e0", + "route_id": "route-a174f9fa1758f45c", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-ac54a8e323f74ee0" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-cd3b425f62097cc6", + "route_id": "route-d982a585da9c5623", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-94f2fd2efa41f878" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-cd4db0fd3db4ed5a", + "route_id": "route-d982a585da9c5623", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-9413c6e9be031fbb" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-cd6f5a9ef3ae4325", + "route_id": "route-029e5b8b0f40fcb9", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-ccce54aef1456ee8" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-cda5260c8eb57a0b", + "route_id": "route-1fc03cea8e292893", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-d421981a0850b957" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-d2596d66add6ccfc", + "route_id": "route-3af1b70058a60bb2", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-beb35201a660895f" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-d29d0fb4d837f616", + "route_id": "route-052455e87172b648", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-63f25334baabb168" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-d34199abd275c40a", + "route_id": "route-590cbd2f74a63ba1", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-afaed356d2fa81de" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-d40fbf340c5becaa", + "route_id": "route-3af1b70058a60bb2", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-beb35201a660895f" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-d6cc7ae906ba281f", + "route_id": "route-dd72355af5e37942", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-a1a396a1f7b2045c" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-d744ff5f768c6f14", + "route_id": "route-8dd1af8cdb80ef64", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-e049e24da73bc454" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-d85fbeff2dca4ed7", + "route_id": "route-dbb0aa115a1d4a9c", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-3ece4d3a78f8823e" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-d8903cb8e3fb1bfc", + "route_id": "route-6efb119d75705d3b", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-f55a467e6d6c9e27" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-d979d6733e0a52f4", + "route_id": "route-7ab03f31d5b1ed86", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-5223cbf1b1ff2fbd" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-dcb38ee897e3b8df", + "route_id": "route-dd72355af5e37942", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-a1a396a1f7b2045c" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-dd388d011a271d9c", + "route_id": "route-d982a585da9c5623", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-f2d15ebbf5e588cf" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-dd3faa491f91527b", + "route_id": "route-72ce1cb2cad2c1b6", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-a8032d8160a5c7e3" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-dd647da643bee392", + "route_id": "route-3f3425cee9fae9dd", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-64d717e2afaf62b7" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-e04687ed076e43f8", + "route_id": "route-5cc232479c13eb2f", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-afaed356d2fa81de" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-e09f27e839246b3c", + "route_id": "route-91b8bb746585f554", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-1006540a4310894f" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-e0ae2ffbeba74e64", + "route_id": "route-7b656802468076c8", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-5ac658e026793692" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-e16a2dc6810328e6", + "route_id": "route-8680740070b5338b", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-ffe6aa8aa40ed1bc" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-e18b2e6356dd93d4", + "route_id": "route-58c3b6b1d279e02c", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-4322a9e3b442d931" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-e311ebc9e3b21d0a", + "route_id": "route-f597f9e988504c6d", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-4105876c56341ee0" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-e38d99a5ef51e5ec", + "route_id": "route-dd72355af5e37942", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-a1a396a1f7b2045c" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-e5df28d00bd12f63", + "route_id": "route-e80cf2912dbb511c", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-2944ea519ddd6969" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-e908ab2695dec96c", + "route_id": "route-99e9f4e9a864f5b4", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-5c45d777007899c9" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-ee15076452680647", + "route_id": "route-08388d5ce6054b7e", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-ae94b012055aa10b" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-f12f9c2eadf1762d", + "route_id": "route-5f30ea99440df61c", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-3ca07445f8402d7d" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-f1a88da895bca499", + "route_id": "route-590cbd2f74a63ba1", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-afaed356d2fa81de" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-f24da9bccf254e3e", + "route_id": "route-494eef5ee9e21e7d", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-5ac658e026793692" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-f2b3dfc77ecf7fb8", + "route_id": "route-8ac3157f4f457483", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-f050f4122cc07b66" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-f346fcabe697689f", + "route_id": "route-494eef5ee9e21e7d", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-5ac658e026793692" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-f48111c63c540291", + "route_id": "route-19209a30d5e964e3", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-cc91d2d42ff5757d" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-f4bc485cda41b40e", + "route_id": "route-3a9981201fd875af", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-86e2e70943004434" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-f519cd4f3242052d", + "route_id": "route-d982a585da9c5623", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-94f2fd2efa41f878" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-f5841910848da259", + "route_id": "route-b3f7f560e302d790", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-83c17bf82672772f" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-f697167932acd8d5", + "route_id": "route-f3704acc92eb4df8", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-f243dcb4f5a72c41" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-f6edf5c78619bdbf", + "route_id": "route-8680740070b5338b", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-ffe6aa8aa40ed1bc" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-f7ce48a243699b53", + "route_id": "route-e50cccf095e95962", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-00cbe610b0bd55b6" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-f889af2a2265063a", + "route_id": "route-2cca08f36106a7c3", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-4322a9e3b442d931" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-fa3de159acdbcfa3", + "route_id": "route-e11dbb007279157c", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-979ee3060444ba30" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-fea61e2a199b12b9", + "route_id": "route-b1447a4fec5c0b30", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-f2259e41f3b75254" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + }, + { + "capability_id": "test-fffd4f0eeba151b8", + "route_id": "route-5f30ea99440df61c", + "kind": "registered_test_node", + "scientific_record_ids": [ + "benchmark-3ca07445f8402d7d" + ], + "scientific_qualification_granted": false, + "meaning": "Engineering route checks are additional obligations; these linked original scientific gates retain their independent scope and qualification requirements." + } + ], + "remaining_consumer_semantics": "The7698 remaining consumers have engineering-route checks; this does not classify their physics as non-scientific or replace configuration/test/executor/model parent qualification links.", + "comparison_scopes": { + "path": "reproducibility/RefactorComparisonScopesV1.json", + "sha256": "ffd37b76e4322a9dbed0bd9233b78958fb1eb93eb69086a49218ef7d39953e9f", + "scope": "prospective physical rules and explicit unresolved input obligations; not scientific qualification" + } +} diff --git a/reproducibility/RefactorComparisonScopesV1.json b/reproducibility/RefactorComparisonScopesV1.json new file mode 100644 index 00000000..b982305d --- /dev/null +++ b/reproducibility/RefactorComparisonScopesV1.json @@ -0,0 +1,42696 @@ +{ + "schema": "solarlab.refactor_comparison_scopes.v1", + "source_HEAD": "461b35317dd224220043022bbc510234cce4b184", + "frozen_at": "2026-10-06T00:25:12.821041+00:00", + "sources": { + "physical": { + "root": "repository", + "path": "tests/refactor/physical_comparison.py", + "sha256": "4fbed909ed8680ca0e4699c694b054e4d97b3480a58de662dfa68c6a6e81f622" + }, + "scalar": { + "root": "repository", + "path": "tests/refactor/reference_comparison.py", + "sha256": "4f023a2dd24c4853e5f3414000861b9e40558e35980d849a3808b1ef833a91d3" + }, + "validator": { + "root": "repository", + "path": "scripts/benchmarks/reference_map.py", + "sha256": "d80a4241df0bfb3280f40a047397c1beb5fc1979199271dcdec8fdf31f5be6d9" + }, + "formal": { + "root": "archive", + "path": "plans/Impl/ArchitectureRefactorExecutionV1.md", + "sha256": "f23f96552b11f6a1000fab4f91c1be940156f21e802ef74570cdb0d688ea6a9f" + }, + "lane_evaluator": { + "root": "repository", + "path": "perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "sha256": "8adf88571ab94fde3135eb817eb3dc93b8d5d932c02d62ec5338e021df1fb413" + }, + "poisson_test": { + "root": "repository", + "path": "perovskite-sim/tests/unit/physics/test_poisson.py", + "sha256": "ed45fc65d78d4917f58e0dcec80b66188d3ed1b8504ac694d7e6782068d7a593" + }, + "sg_test": { + "root": "repository", + "path": "perovskite-sim/tests/unit/discretization/test_fe_operators.py", + "sha256": "c86e9d222595ccad990e4a2a4b7cd2365d6ffb986b1d4a05dbf92ecbdb4b484c" + }, + "thermal_test": { + "root": "repository", + "path": "perovskite-sim/tests/unit/experiments/test_thermal_balance.py", + "sha256": "d0bd2233328381302176b26f7c273478c44d406eed05642b88c7642f5fe7be53" + }, + "loader_test": { + "root": "repository", + "path": "perovskite-sim/tests/reproducibility/test_matrix.py", + "sha256": "8fdf0c4a63a8cd28be91002090a8357c49ed0b483f3dad1ecfe0c4dd07ae2498" + }, + "runner_test": { + "root": "repository", + "path": "perovskite-sim/tests/regression/test_tolerance_grid_refinement.py", + "sha256": "1315df4db5dc09beebe293629e042406ff56c701491ef9ec567229a35c223995" + }, + "r1_short": { + "root": "repository", + "path": "perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1.py", + "sha256": "637bc790dc09ec0632b733bc72e3fdcacf20dc017efc88a8fafed7dd927fb116" + }, + "r1_cli": { + "root": "repository", + "path": "perovskite-sim/scripts/run_one_dimensional_mechanism_r1.py", + "sha256": "5bf3b679b168fca9c3cf3f676f130f378d9782826d087f49fc5ac2e5f5c08e82" + }, + "r1_convergence": { + "root": "repository", + "path": "perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_convergence.py", + "sha256": "a8e2b9738d551a5b5132cc3d99b57e534a0c5b5d4f7ab94e24f4c464406f1ca8" + }, + "analytic_parameters": { + "root": "repository", + "path": "reproducibility/RefactorAnalyticReferencesV1.json", + "sha256": "f707d3a22a706f7c6880163e8edc8849aaa6786e7cc5c2f1431ae62c4fd3d330" + }, + "foundation_contract_v1": { + "root": "repository", + "path": "perovskite-sim/docs/FoundationReferenceValidationContractV1.md", + "sha256": "473aaa7475783eeb55b6c3a873fa117d2e3aafeefc22f4c68d0db04a0f66d949" + }, + "foundation_contract_v2": { + "root": "repository", + "path": "perovskite-sim/docs/FoundationReferenceValidationContractV2.md", + "sha256": "20800370c11788271797cafa7f236b16ed233c5ec05bb9ff1feaa49089cceb9b" + }, + "foundation_driver": { + "root": "repository", + "path": "perovskite-sim/perovskite_sim/validation/foundation_reference_refinement.py", + "sha256": "aa478f90f055d3dd27e9382c2c7b55d61029f0135672b7d1f2f3358436ee8aa7" + }, + "foundation_input": { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/tpv_physical_reference.yaml", + "sha256": "2e470b672f2b0ee6970ff169deedf7ce09ed0a45beb8ab9c55b48ab8da487c10" + }, + "mobile_test": { + "root": "repository", + "path": "perovskite-sim/tests/integration/test_foundation_mobile_refinement.py", + "sha256": "7bfe34a63a4b831409f5aab5f4b7016a2d3d287920f7a8cb8f4bc91c4dbf37a8" + }, + "constants": { + "root": "repository", + "path": "perovskite-sim/perovskite_sim/constants.py", + "sha256": "9ae428b44bbe5f475b638d9c3339e69930249e2b1c39ba0acbfd0764fcaade76" + }, + "storage_test": { + "root": "repository", + "path": "perovskite-sim/tests/unit/physics/test_dynamic_storage.py", + "sha256": "c64d413721ca87074eaa3a4524b504026c262356e5a2ced0834c5ae106c62df1" + }, + "sg_source": { + "root": "repository", + "path": "perovskite-sim/perovskite_sim/discretization/fe_operators.py", + "sha256": "b3ab0cf0054d5aa1ec7e5fcd27b93d2ed09b137d043080a0310a219d3ff1154f" + }, + "tmm_test": { + "root": "repository", + "path": "perovskite-sim/tests/regression/test_tmm_baseline.py", + "sha256": "70d6dc28667ff97ad787327a8800d954bdb0c4de56d9f8d40e45910f3cf9fe46" + }, + "lockin_test": { + "root": "repository", + "path": "perovskite-sim/tests/integration/test_ion_aware_impedance_lockin.py", + "sha256": "aabfef24725fb18f5d1890eb2069cd6d4dc2b1e32a2b8a6145e837786a801efa" + }, + "lockin_source": { + "root": "repository", + "path": "perovskite-sim/perovskite_sim/experiments/ion_aware_impedance_lockin.py", + "sha256": "8796d2885e7ae3114a6e82afab5edb2f41e78d87345fb3ff282605b88a70053b" + }, + "eqe_test": { + "root": "repository", + "path": "perovskite-sim/tests/unit/experiments/test_eqe.py", + "sha256": "61c744b6a93f0b7d2f6513ee6b4bae7bfe9646dae1913d8dbd322b86a9411cb8" + }, + "eqe_source": { + "root": "repository", + "path": "perovskite-sim/perovskite_sim/experiments/eqe.py", + "sha256": "dfcfc051af754ccb58c126728ee80b3bcde86c2c1637ccd0eae3e92d5caf7f99" + }, + "el_test": { + "root": "repository", + "path": "perovskite-sim/tests/unit/experiments/test_el_spectrum.py", + "sha256": "03a8427d429352d499b6a1135a47dc013a1f0474877fc3ff5ab9e80a39b7a7d2" + }, + "el_source": { + "root": "repository", + "path": "perovskite-sim/perovskite_sim/experiments/el_spectrum.py", + "sha256": "ed1244ae4b0247522a9a0e0b1a97a80f27fc7bf588e46d51fd8cc5571439520c" + }, + "twod_test": { + "root": "repository", + "path": "perovskite-sim/tests/integration/test_foundation_twod_axis_refinement.py", + "sha256": "90fbe9ebb86ccb23f1f946f1374ff78a9d529339bce16e3468a8cc4378163497" + }, + "tpv_test": { + "root": "repository", + "path": "perovskite-sim/tests/unit/experiments/test_tpv.py", + "sha256": "1b72503914888354cd96c5719c357c045779cfecf7dc23d885bfc121a5733a2d" + }, + "legacy_dual_measure": { + "root": "repository", + "path": "perovskite-sim/perovskite_sim/physics/generation.py", + "sha256": "862c097f31bb5bab0e7585a4c361e0e7116010f652d7b6345a9a0de80caeac65" + }, + "legacy_material_geometry": { + "root": "repository", + "path": "perovskite-sim/perovskite_sim/solver/mol.py", + "sha256": "1c02ff41356cfaf75245e3e9e3a0101064d43a766e9e416053ea1e75ef54b61a" + }, + "original_lane_registry": { + "root": "repository", + "path": "perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "sha256": "b808fb2c7e44b282fe5e8a7d55a8f23a12101451104c6c639e2991fec34a2dff" + }, + "original_tpv_refinement": { + "root": "repository", + "path": "perovskite-sim/tests/integration/test_tpv_open_circuit_refinement.py", + "sha256": "ef6f29fc7d51ac6e3d036c869744ee81a837798164d3388cbfb0e31e118ebbc3" + }, + "original_tpv_spatial": { + "root": "repository", + "path": "perovskite-sim/tests/integration/test_foundation_tpv_spatial_refinement.py", + "sha256": "2f4215c817c2ab1a412fef97923bfad87ab55e0a9774ff6b0b99f6d430ca9a08" + }, + "legacy_el_result": { + "root": "repository", + "path": "perovskite-sim/perovskite_sim/models/el.py", + "sha256": "b239391d045dff27ad44ecbe022dbaab337e6d4584600430dc1a454a1fce5f2d" + }, + "original_external_circuit": { + "root": "repository", + "path": "perovskite-sim/perovskite_sim/validation/external_circuit_refinement.py", + "sha256": "cb8453da1c93bc1c47ecbd61a70ecffe0d4eba50a8bd42a0c2e162da085143a7" + }, + "original_electrothermal": { + "root": "repository", + "path": "perovskite-sim/perovskite_sim/validation/electrothermal_refinement.py", + "sha256": "07010dc8c5ff08fa75a88fbff0d8210c8e878c25253bfb4ad942db5ad68477c3" + }, + "thermal_channel_decision": { + "root": "archive", + "path": "test/ArchitectureRefactor/Stage00/ThermalChannelDecisionV1.json", + "sha256": "ccf3e3ecd780d188522833c4df367ecd7ce12f8cbfcdc750ea2ebe56d1d9b0d0" + }, + "thermal_channel_review": { + "root": "archive", + "path": "test/ArchitectureRefactor/Stage00/ThermalChannelReviewV1.json", + "sha256": "dbcfb31687676f1f97a0c8927f7b62b0bd15d23e51b75b3cf935a06267aeda3f" + }, + "thermal_channel_freeze": { + "root": "archive", + "path": "test/ArchitectureRefactor/Stage00/ThermalChannelFreezeV1.json", + "sha256": "427019bb6a568a5ccc47627b059dc48df6155ea76ec4aad6c5a19b92ba6382d8" + }, + "sg_action_fixture": { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/sg_action_reference_v1.json", + "sha256": "b875d10d86736e6d88ebc460a895e36608b4e3de6b6a2204ff40b5a17bcfd0e2" + }, + "sg_action_review": { + "root": "archive", + "path": "test/ArchitectureRefactor/Stage00/SGActionReferenceV1/Review.json", + "sha256": "aed1eeff40845207fc6bb6792488d7cfa98d8b380535842490c10efb7fd3ef4d" + }, + "four_case_proposal": { + "root": "archive", + "path": "test/ArchitectureRefactor/Stage00/DefinitionClosureV1/DefinitionProposal.json", + "sha256": "fc345c2da20f3446e51bb04824e4c800270744870619c852fa74797151979dd5" + }, + "four_case_amendments": { + "root": "archive", + "path": "test/ArchitectureRefactor/Stage00/DefinitionClosureV1/Amendments.json", + "sha256": "bda37bd2512b60f393f8307e2280dbad0e494b9966e449a59c07c15ed551dae2" + }, + "four_case_amendment_review": { + "root": "archive", + "path": "test/ArchitectureRefactor/Stage00/DefinitionClosureV1/Science/AmendmentReview.json", + "sha256": "b984beca1d94d41289803b8bfb999a15c9c6e082a776b491d75acab82208058c" + }, + "four_case_arithmetic": { + "root": "archive", + "path": "test/ArchitectureRefactor/Stage00/DefinitionClosureV1/ArithmeticChecks.json", + "sha256": "10557e78477a6f6df4ba1ffd01ebba0e5d17d8e778b5655cfca56232aca0f5f3" + }, + "four_case_comparator": { + "root": "repository", + "path": "tests/refactor/case_comparison.py", + "sha256": "c30d53888c7512ee4620f5d845aa65bc5329b693572f7e3dc5079ea5ffb1e808" + } + }, + "rules": { + "M_payload": { + "id": "M_payload", + "status": "numeric_parameters_frozen", + "quantity": "complete original numeric/semantic payload", + "unit": "typed payload", + "norm": "exact_structure_and_words", + "scale": 0, + "threshold": 0, + "zero_policy": "Signed zeros, integer types and all value words are retained; only listed nonphysical import metadata may differ.", + "scope_boundary": "M-only structure/import/codec migration. This does not qualify the physical accuracy of any positive output.", + "parameter_justification": "Formal19.12 item2 requires numeric word identity for M; no physical tolerance is inferred from a boolean.", + "citations": [ + { + "source_id": "formal" + } + ], + "comparator": { + "source_id": "physical", + "symbol": "compare_physical" + }, + "active": false, + "reference_error": null, + "reference_qualification": "not inferred from the rule", + "instantiation": "A separate exact source/input/driver/grid/gauge/support packet, independent review and qualified error evidence are mandatory before any candidate acceptance output.", + "comparator_arguments": { + "kind": "semantic", + "norm": "exact_structure_and_words", + "change_kind": "M", + "zero_policy": "exact_words", + "thresholds": { + "mismatch": { + "atol": 0, + "rtol": 0, + "scale": 0, + "unit": "1" + } + } + } + }, + "Voc_absolute": { + "id": "Voc_absolute", + "status": "numeric_parameters_frozen", + "quantity": "bracketed open-circuit voltage", + "unit": "V", + "norm": "absolute_linf", + "scale": 0, + "threshold": { + "atol": 0.0001, + "rtol": 0 + }, + "zero_policy": "A zero or weak current still requires the separate bracket/slope/error-propagation checks.", + "scope_boundary": "Voltage subgate only; never a complete Voc qualification without the named slope/current obligations.", + "parameter_justification": "Formal14.3 explicitly retains1e-4V; absolute-only gate does not need a candidate-derived scale.", + "citations": [ + { + "source_id": "formal" + } + ], + "comparator": { + "source_id": "scalar", + "symbol": "compare" + }, + "active": false, + "reference_error": null, + "reference_qualification": "not inferred from the rule", + "instantiation": "A separate exact source/input/driver/grid/gauge/support packet, independent review and qualified error evidence are mandatory before any candidate acceptance output.", + "comparator_arguments": { + "kind": "scalar", + "rule": "sum", + "atol": 0.0001, + "rtol": 0, + "scale": 0, + "unit": "V", + "zero_policy": "absolute_limit" + }, + "joint_rule_required": "JV_metric_packet" + }, + "positive_density_log": { + "id": "positive_density_log", + "status": "numeric_parameters_frozen", + "quantity": "positive n/p/ion profile log(new/ref)", + "unit": "1", + "norm": "CV_RMS_and_Linf_log_ratio", + "scale": 1, + "threshold": { + "log_rms": 9.999990000009998e-07, + "log_max": 9.999990000009998e-07 + }, + "zero_policy": "Only strictly positive declared cells; zero species and inventories have separate mandatory gates.", + "scope_boundary": "Positive-profile subgate, not the full profile/inventory/zero-species contract.", + "parameter_justification": "Formal14.3 profile precision1e-6 is retained conservatively: r/(1+r)<=log(1+r), r=1e-6. The fixed scale1 is the dimensionless log-ratio identity, not a density floor.", + "citations": [ + { + "source_id": "formal" + } + ], + "comparator": { + "source_id": "physical", + "symbol": "compare_physical" + }, + "active": false, + "reference_error": null, + "reference_qualification": "not inferred from the rule", + "instantiation": "A separate exact source/input/driver/grid/gauge/support packet, independent review and qualified error evidence are mandatory before any candidate acceptance output.", + "comparator_arguments": { + "kind": "density", + "norm": "log_cv_rms_linf_component_inventory", + "unit": "m-3", + "zero_policy": "explicit_zero_cells_no_floor", + "thresholds": { + "log_rms": { + "atol": 9.999990000009998e-07, + "rtol": 0, + "scale": 1, + "unit": "1" + }, + "log_max": { + "atol": 9.999990000009998e-07, + "rtol": 0, + "scale": 1, + "unit": "1" + } + } + }, + "joint_rule_required": "density_inventory_packet" + }, + "poisson_affine_51": { + "id": "poisson_affine_51", + "status": "numeric_parameters_frozen", + "quantity": "charge-free affine potential on the original51-node interval", + "unit": "V", + "norm": "gauge_CV_RMS_and_Linf", + "scale": 1, + "threshold": { + "rms_abs_V": 1e-08, + "max_abs_V": 1e-08 + }, + "zero_policy": "Fixed Dirichlet0V/1V; no norm(phi) denominator.", + "scope_boundary": "Only test_zero_charge_gives_linear_potential: length400nm,51nodes,epsilon_r24.1,rho0. It does not qualify other Poisson/device cases.", + "parameter_justification": "Source test explicitly has1e-8V absolute allowance; using that alone is a stricter subset of its numpy mixed gate.1V is the declared boundary swing. Actual CV weights and reference representation/error still must be bound.", + "citations": [ + { + "source_id": "poisson_test", + "symbol": "test_zero_charge_gives_linear_potential" + }, + { + "source_id": "formal" + } + ], + "comparator": { + "source_id": "physical", + "symbol": "compare_physical" + }, + "active": false, + "reference_error": null, + "reference_qualification": "not inferred from the rule", + "instantiation": "A separate exact source/input/driver/grid/gauge/support packet, independent review and qualified error evidence are mandatory before any candidate acceptance output.", + "comparator_arguments": { + "kind": "potential", + "norm": "gauge_cv_rms_linf", + "unit": "V", + "zero_policy": "fixed_physical_scale", + "gauge": { + "kind": "fixed_contact", + "index": 0, + "value_V": 0, + "absolute_limit_V": 0 + }, + "thresholds": { + "rms": { + "atol": 1e-08, + "rtol": 0, + "scale": 1, + "unit": "V" + }, + "max": { + "atol": 1e-08, + "rtol": 0, + "scale": 1, + "unit": "V" + } + } + } + }, + "bernoulli_zero": { + "id": "bernoulli_zero", + "status": "numeric_parameters_frozen", + "quantity": "B(0)", + "unit": "1", + "norm": "absolute", + "scale": 1, + "threshold": { + "atol": 0, + "rtol": 0 + }, + "zero_policy": "Removable zero gives exactly1, not zero.", + "scope_boundary": "Dimensionless Bernoulli value at exactly0 only; not SG dimensional flux or a full transport gate.", + "parameter_justification": "Analytic removable-singularity identity B(0)=1; source test identifies this exact input. Numeric equality is not a bitwise N contract.", + "citations": [ + { + "source_id": "sg_test", + "symbol": "test_bernoulli_at_zero" + } + ], + "comparator": { + "source_id": "scalar", + "symbol": "compare" + }, + "active": false, + "reference_error": null, + "reference_qualification": "not inferred from the rule", + "instantiation": "A separate exact source/input/driver/grid/gauge/support packet, independent review and qualified error evidence are mandatory before any candidate acceptance output.", + "comparator_arguments": { + "kind": "scalar", + "rule": "sum", + "unit": "1", + "atol": 0, + "rtol": 0, + "scale": 1, + "zero_policy": "absolute_limit" + }, + "reference_value": 1 + }, + "bernoulli_50": { + "id": "bernoulli_50", + "status": "numeric_parameters_frozen", + "quantity": "B(50) compared with the bounded weak reference0", + "unit": "1", + "norm": "absolute", + "scale": 0, + "threshold": { + "atol": 1e-10, + "rtol": 0 + }, + "zero_policy": "Reference0 is an approximation with a nonzero analytic bound; B(50) is not a structural zero.", + "scope_boundary": "Only the source x=50 asymptotic scalar test.", + "parameter_justification": "Original absolute1e-10. Since e>2,05/2 gives an explicit upper bound, not zero error.", + "citations": [ + { + "source_id": "sg_test", + "symbol": "test_bernoulli_large_negative" + } + ], + "comparator": { + "source_id": "scalar", + "symbol": "compare" + }, + "active": false, + "reference_error": null, + "reference_qualification": "not inferred from the rule", + "instantiation": "A separate exact source/input/driver/grid/gauge/support packet, independent review and qualified error evidence are mandatory before any candidate acceptance output.", + "analytic_error_formula": { + "numerator": 20971520, + "denominator": 95367430592049 + }, + "comparator_arguments": { + "kind": "scalar", + "rule": "sum", + "unit": "1", + "atol": 0, + "rtol": 1e-06, + "scale": 20, + "zero_policy": "absolute_limit" + }, + "reference_value": 20 + }, + "thermal_steady_linear": { + "id": "thermal_steady_linear", + "status": "numeric_parameters_frozen", + "quantity": "linear-heat-rejection steady temperature", + "unit": "K", + "norm": "absolute", + "scale": 330, + "threshold": { + "atol_K": 1e-10, + "rtol": 0 + }, + "zero_policy": "Zero heat is a separately exact ambient branch.", + "scope_boundary": "Only test_steady_linear_heat_rejection_matches_analytic_solution at its declared protocol and200W/m2 electrical export.", + "parameter_justification": "The existing source fixes330K and an absolute1e-10 allowance; dropping its implicit pytest relative allowance is stricter, not a relaxation.", + "citations": [ + { + "source_id": "thermal_test", + "symbol": "test_steady_linear_heat_rejection_matches_analytic_solution" + } + ], + "comparator": { + "source_id": "scalar", + "symbol": "compare" + }, + "active": false, + "reference_error": null, + "reference_qualification": "not inferred from the rule", + "instantiation": "A separate exact source/input/driver/grid/gauge/support packet, independent review and qualified error evidence are mandatory before any candidate acceptance output.", + "comparator_arguments": { + "kind": "scalar", + "rule": "sum", + "unit": "K", + "atol": 1e-10, + "rtol": 0, + "scale": 330, + "zero_policy": "absolute_limit" + }, + "reference_value": 330 + }, + "thermal_exact_ambient": { + "id": "thermal_exact_ambient", + "status": "numeric_parameters_frozen", + "quantity": "zero-net-heat ambient temperature", + "unit": "K", + "norm": "exact_numeric_identity", + "scale": 300, + "threshold": { + "atol": 0, + "rtol": 0 + }, + "zero_policy": "Equal200W/m2 absorption/export and exactly300K ambient from the source fixture.", + "scope_boundary": "Only the declared zero-heat steady fixture; not arbitrary thermal states or a physical measurement.", + "parameter_justification": "Both source assertions are exact numbers under the explicit fixture; no observed test boolean becomes a tolerance.", + "citations": [ + { + "source_id": "thermal_test", + "symbol": "test_steady_zero_heat_is_exactly_ambient" + } + ], + "comparator": { + "source_id": "scalar", + "symbol": "compare" + }, + "active": false, + "reference_error": null, + "reference_qualification": "not inferred from the rule", + "instantiation": "A separate exact source/input/driver/grid/gauge/support packet, independent review and qualified error evidence are mandatory before any candidate acceptance output.", + "comparator_arguments": { + "kind": "scalar", + "rule": "sum", + "unit": "K", + "atol": 0, + "rtol": 0, + "scale": 300, + "zero_policy": "absolute_limit" + }, + "reference_value": 300 + }, + "thermal_exact_net_heat": { + "id": "thermal_exact_net_heat", + "status": "numeric_parameters_frozen", + "quantity": "zero-net-heat ledger", + "unit": "W m-2", + "norm": "exact_numeric_identity", + "scale": 0, + "threshold": { + "atol": 0, + "rtol": 0 + }, + "zero_policy": "Equal declared absorption and export have exactly zero net heat.", + "scope_boundary": "Only the source200W/m2 in/out fixture.", + "parameter_justification": "The existing fixture asserts net_heating_W_m2==0 explicitly.", + "citations": [ + { + "source_id": "thermal_test", + "symbol": "test_steady_zero_heat_is_exactly_ambient" + } + ], + "comparator": { + "source_id": "scalar", + "symbol": "compare" + }, + "active": false, + "reference_error": null, + "reference_qualification": "not inferred from the rule", + "instantiation": "A separate exact source/input/driver/grid/gauge/support packet, independent review and qualified error evidence are mandatory before any candidate acceptance output.", + "comparator_arguments": { + "kind": "scalar", + "rule": "sum", + "unit": "W m-2", + "atol": 0, + "rtol": 0, + "scale": 0, + "zero_policy": "absolute_limit" + }, + "reference_value": 0 + }, + "thermal_linear_waveform": { + "id": "thermal_linear_waveform", + "status": "numeric_parameters_frozen", + "quantity": "linear thermal transient temperature", + "unit": "K", + "norm": "pointwise_waveform", + "scale": 330, + "threshold": { + "atol": 1e-09, + "rtol": 0 + }, + "zero_policy": "Exact initial/zero-heat limits remain distinct.", + "scope_boundary": "Only the original thermal protocol, fixed time coordinates and330-30exp(-t/tau) analytic waveform; not a fitted tau-only check.", + "parameter_justification": "Source test lines181-196 freezes these explicit absolute allowances; no implicit relative allowance is added.", + "citations": [ + { + "source_id": "thermal_test", + "symbol": "test_linear_transient_matches_closed_form_and_energy_ledger" + } + ], + "comparator": { + "source_id": "scalar", + "symbol": "compare" + }, + "active": false, + "reference_error": null, + "reference_qualification": "not inferred from the rule", + "instantiation": "A separate exact source/input/driver/grid/gauge/support packet, independent review and qualified error evidence are mandatory before any candidate acceptance output.", + "comparator_arguments": { + "kind": "curve", + "rule": "sum", + "unit": "K", + "atol": 1e-09, + "rtol": 0, + "scale": 330, + "zero_policy": "absolute_limit", + "axes": [ + { + "name": "time", + "unit": "s" + } + ], + "expected_coordinates": [ + [ + 0 + ], + [ + 5 + ], + [ + 10 + ], + [ + 15 + ], + [ + 20 + ], + [ + 25 + ], + [ + 30 + ], + [ + 35 + ], + [ + 40 + ], + [ + 45 + ], + [ + 50 + ], + [ + 55 + ], + [ + 60 + ], + [ + 65 + ], + [ + 70 + ], + [ + 75 + ], + [ + 80 + ], + [ + 85 + ], + [ + 90 + ], + [ + 95 + ], + [ + 100 + ], + [ + 105 + ], + [ + 110 + ], + [ + 115 + ], + [ + 120 + ], + [ + 125 + ], + [ + 130 + ], + [ + 135 + ], + [ + 140 + ], + [ + 145 + ], + [ + 150 + ], + [ + 155 + ], + [ + 160 + ], + [ + 165 + ], + [ + 170 + ], + [ + 175 + ], + [ + 180 + ], + [ + 185 + ], + [ + 190 + ], + [ + 195 + ], + [ + 200 + ] + ] + }, + "reference_expression": "330-30*exp(-time_s/100); this is an analytic expression, not generated candidate output", + "joint_rule_required": "thermal_linear_energy_residual" + }, + "thermal_linear_energy_residual": { + "id": "thermal_linear_energy_residual", + "status": "numeric_parameters_frozen", + "quantity": "linear thermal energy balance residual", + "unit": "J m-2", + "norm": "absolute_linf", + "scale": 0, + "threshold": { + "atol": 1e-07, + "rtol": 0 + }, + "zero_policy": "The ideal signed energy residual is zero; every sampled residual must meet the gate.", + "scope_boundary": "Only the original200s/41-sample linear heat fixture; temperature and energy gates are both required.", + "parameter_justification": "The original source explicitly checks max_abs_energy_balance_residual_J_m2<=1e-7.", + "citations": [ + { + "source_id": "thermal_test", + "symbol": "test_linear_transient_matches_closed_form_and_energy_ledger" + } + ], + "comparator": { + "source_id": "scalar", + "symbol": "compare" + }, + "active": false, + "reference_error": null, + "reference_qualification": "not inferred from the rule", + "instantiation": "A separate exact source/input/driver/grid/gauge/support packet, independent review and qualified error evidence are mandatory before any candidate acceptance output.", + "comparator_arguments": { + "kind": "scalar", + "rule": "sum", + "unit": "J m-2", + "atol": 1e-07, + "rtol": 0, + "scale": 0, + "zero_policy": "absolute_limit" + }, + "reference_value": 0 + }, + "potential_packet": { + "id": "potential_packet", + "status": "missing_parameters", + "quantity": "physical potential profiles", + "active": false, + "missing_fields": [ + "numeric fixed thermal/physical voltage scale in V from the exact reference temperature or declared boundary parameters", + "actual reference CV weights/support and physical gauge/contact values; allowed mask", + "independent source/grid/time/mapping error in V and its qualified reference identity" + ], + "scope_boundary": "Formal14.3 gauge-fixed CV RMS/max; profile precision1e-6 is not divided by norm(phi).", + "comparator": { + "source_id": "physical", + "symbol": "compare_physical" + }, + "citations": [ + { + "source_id": "formal" + } + ] + }, + "density_inventory_packet": { + "id": "density_inventory_packet", + "status": "missing_parameters", + "quantity": "density and species inventory", + "active": false, + "missing_fields": [ + "per-species/per-connected-domain positive reference inventory numeric scale and unit (1 or m-2, according to actual CV measure)", + "zero-species/zero-cell identity and numeric dimensional absolute gate from model absence or reference error evidence", + "actual volumes, component labels and independent log/inventory uncertainty" + ], + "scope_boundary": "The linked positive_density_log subrule alone does not qualify profiles or conserve disconnected inventories.", + "comparator": { + "source_id": "physical", + "symbol": "compare_physical" + }, + "citations": [ + { + "source_id": "formal" + } + ] + }, + "current_packet": { + "id": "current_packet", + "status": "missing_parameters", + "quantity": "pointwise carrier/ion/displacement/terminal current components", + "active": false, + "missing_fields": [ + "numeric reference current scale and absolute weak/zero current allowance, in the actual A or A m-2 output unit", + "each component/sign/port/support, observation times and both event sides", + "pointwise current uncertainty and a pointwise comparison limit; integrated charge is not a substitute" + ], + "scope_boundary": "Formal14.3 fixed-reference mixed rule; actual original driver/port contract is retained. No candidate maximum and no1e-30 floor.", + "comparator": { + "source_id": "scalar", + "symbol": "compare" + }, + "citations": [ + { + "source_id": "formal" + } + ] + }, + "JV_metric_packet": { + "id": "JV_metric_packet", + "status": "missing_parameters", + "quantity": "Jsc/FF/PCE/MPP and Voc conditioning", + "active": false, + "missing_fields": [ + "fixed numeric Jsc/FF/PCE reference values/scales with the actual output units and conversion identity", + "dimensional dark/weak Jsc and zero-power absolute limits with error evidence", + "Voc bracket, dJ/dV and current-error propagation bound; MPP sampling and full branch coordinates" + ], + "scope_boundary": "Formal14.3 retains relative1e-4 for Jsc/FF/PCE and the linked1e-4V Voc subgate; frozen SCAPS/HI standards remain additional obligations.", + "comparator": { + "source_id": "scalar", + "symbol": "compare" + }, + "citations": [ + { + "source_id": "formal" + } + ] + }, + "complex_packet": { + "id": "complex_packet", + "status": "missing_parameters", + "quantity": "complex admittance/impedance on frozen frequencies", + "active": false, + "missing_fields": [ + "fixed numeric reference scales and real/imaginary/complex absolute bounds in S m-2 or ohm m2 as actually emitted", + "numeric absolute phase limit in radians and per-driver/frequency resolvability floor with independent uncertainty/physical-resolution evidence", + "explicit exact-zero frequencies, coordinate identity and independent component/phase errors" + ], + "scope_boundary": "Formal14.3 circular angle(new*conj(ref)) only when both amplitudes exceed the frozen floor. Old1degree straight subtraction is retained only in its original lanes, never silently promoted.", + "comparator": { + "source_id": "physical", + "symbol": "compare_physical" + }, + "citations": [ + { + "source_id": "formal" + } + ] + }, + "projection_packet": { + "id": "projection_packet", + "status": "missing_parameters", + "quantity": "different-grid physical CV fields and interface traces", + "active": false, + "missing_fields": [ + "source/target geometry and a verified conservative CV intersection/projection artifact or explicit1D cell averages", + "fixed numeric integral/inventory/left-trace/right-trace scales and limits in their physical units", + "projection error, component topology and every interface-side identity" + ], + "scope_boundary": "The comparator supports1D exact overlap or a source-bound reviewed multidimensional overlap table; conservation sums alone do not prove geometric overlap.", + "comparator": { + "source_id": "physical", + "symbol": "compare_physical" + }, + "citations": [ + { + "source_id": "formal" + } + ] + }, + "spectrum_packet": { + "id": "spectrum_packet", + "status": "missing_parameters", + "quantity": "EQE/EL/optical spectra and integrated photocurrent", + "active": false, + "missing_fields": [ + "actual source output quantity/unit and fixed spectral/photon/electrical normalization for each field", + "fixed numeric per-channel scales, weak/zero absolute bounds and independent error", + "exact wavelength/energy coordinates, integration weights and photon/energy budget" + ], + "scope_boundary": "Formal14.3 preserves EQE relative1e-4 where meaningful; EL, TMM and optical-power contracts keep their own definitions. No reused boolean or arbitrary spectrum floor.", + "comparator": { + "source_id": "scalar", + "symbol": "compare" + }, + "citations": [ + { + "source_id": "formal" + } + ] + }, + "transient_packet": { + "id": "transient_packet", + "status": "missing_parameters", + "quantity": "full waveform/integral/fit observations", + "active": false, + "missing_fields": [ + "actual complete state history, time coordinates, event sides and original integral/fit-window identity", + "numeric separate waveform, integrated-charge and fit residual/derived-parameter scales/limits from the original channel", + "nonresetting interval/prefix uncertainty and accepted-history reference errors" + ], + "scope_boundary": "Formal14.3 TPV/fit and interval/inventory clauses; matching tau alone or one sampled current is not enough.", + "comparator": { + "source_id": "scalar", + "symbol": "compare" + }, + "citations": [ + { + "source_id": "formal" + } + ] + }, + "operator_packet": { + "id": "operator_packet", + "status": "missing_parameters", + "quantity": "physical residual/Jacobian/storage/constitutive actions", + "active": false, + "missing_fields": [ + "actual row and column physical units, support and fixed per-block/state/input scales", + "numeric independent derivative/action/weak-increment thresholds from the original applicable contract", + "full nonlocal/input chain, inactive/zero branch and independent reference/cancellation error" + ], + "scope_boundary": "Derivative, storage and constitutive oracles retain their original tight precision/R1 sources; a generic scalar tolerance cannot replace their contracts.", + "comparator": { + "source_id": "scalar", + "symbol": "compare" + }, + "citations": [ + { + "source_id": "formal" + } + ] + }, + "thermal_packet": { + "id": "thermal_packet", + "status": "missing_parameters", + "quantity": "general electrothermal temperature and heat/energy ledgers", + "active": false, + "missing_fields": [ + "actual thermal protocol, material temperature feedback and fixed heat/energy reference scales", + "numeric source-specific temperature/heat/energy limits outside the three narrow analytic fixtures", + "coupled electrical/optical/thermal independent error and accepted-time history" + ], + "scope_boundary": "Exact linear/zero-heat fixtures do not qualify nonlinear radiation, electrothermal feedback or physical measurements.", + "comparator": { + "source_id": "scalar", + "symbol": "compare" + }, + "citations": [ + { + "source_id": "formal" + } + ] + }, + "R1_short_original": { + "id": "R1_short_original", + "status": "original_contract_only", + "quantity": "R1-0 short-coupled source-defined normalized maxima", + "comparator": { + "source_id": "r1_short", + "symbol": "run_coupled" + }, + "citations": [ + { + "source_id": "r1_short", + "symbol": "run_coupled" + }, + { + "source_id": "r1_cli" + } + ], + "source_limits": { + "gauss_normalized": 1e-10, + "charge_balance_normalized": 1e-10, + "inventory_relative_drift": 1e-10, + "contact_internal_current_spread_relative": 2e-06 + }, + "unit": "1 (source-defined normalized metrics)", + "times_s": [ + 0, + 1e-08, + 1e-06, + 0.0001 + ], + "voltage_V": [ + 0, + 0.005, + 0.005, + 0.005 + ], + "scope_boundary": "Actual R1-0 short coupled geometry wrapper only; original code reads its own limits. Not R1-1, full100s, L1/L2/L3 or a generic scalar replacement.", + "existing_test_for_wrapper": null, + "new_metadata_test": "tests/refactor/test_reference_map.py::ComparisonScopeTests::test_actual_short_R1_source_is_bound_without_inventing_a_test", + "prospective_execution_artifact": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-35bac077cd83f54c/BoundR10WrapperEvidence.json", + "active": false + }, + "R1_original_convergence": { + "id": "R1_original_convergence", + "status": "original_contract_only", + "comparator": { + "source_id": "r1_convergence", + "symbol": "compare_responses" + }, + "citations": [ + { + "source_id": "r1_convergence", + "symbol": "compare_responses" + }, + { + "source_id": "r1_convergence", + "symbol": "compare_step_current_charge" + }, + { + "source_id": "r1_convergence", + "symbol": "compare_pair_step_current_charge" + }, + { + "source_id": "r1_convergence", + "symbol": "compare_amplitude_halving" + }, + { + "source_id": "formal" + } + ], + "scope_boundary": "Use the applicable actual R1 source/version/Request/convergence physical standard and external window. Full100s and all original precision axes remain mandatory for full-protocol claims, not for unrelated codec bookkeeping;14.4 constants are not copied into a generic gate.", + "active": false + }, + "original-lane-3eb9325a1d09f96f": { + "id": "original-lane-3eb9325a1d09f96f", + "status": "original_contract_only", + "comparator": { + "source_id": "lane_evaluator", + "symbol": "_observable_delta" + }, + "citations": [ + { + "source_id": "lane_evaluator", + "symbol": "_observable_delta" + } + ], + "original_rule_ids": [ + "rule-91ad5ba99c640c58dd7f4ed7", + "rule-63a9647106682e5e7c42a8dd", + "rule-20627e8235e4b37b82668156", + "rule-33302fa1bcc16245a80e15d4", + "rule-51eccde34c18287859f50a39", + "rule-fb702abac313346d64f6db9b", + "rule-b773dd37034ba8f1b523eee1", + "rule-25e4e063f7996f6351165e6e", + "rule-e4b4e5c4c98a46a2c07a94e0", + "rule-29c26a5e0318c6db94e1e006", + "rule-9c40349eb44bfca3bafa9a09", + "rule-5c4a2009bbf353979983b625", + "rule-245c3e13571106a43aeead88", + "rule-9078b255d578781b9d4a6ce1", + "rule-b8b126ee3a3bce7105b4a136", + "rule-2fdac91ee60a0d3d3250d492", + "rule-39211f1fb97f939d8fea691f", + "rule-502a03f8cb9eefc1bc370ec0", + "rule-71c9d523ecd416a04b2e64e9", + "rule-c339ee246f13e9b872ab6406", + "rule-2f026b0213d4f3f1b6ca5515", + "rule-ab4f46a95aea1219f7f134a4", + "rule-dcb5a154af7f2f9c0469d0e2", + "rule-2192793478338066ac3b3958", + "rule-7de345a3af8110109344ba1c", + "rule-ccaad0ba2c10db936468f43b", + "rule-36ee5da388ee0e9fd3f145f7", + "rule-f3a9c66dd58886b09b8a5077", + "rule-1455f24791a3350d42496394", + "rule-32b1f921d606f0a7e0bad003", + "rule-f6c2d52a5fa6be8266cc46ea", + "rule-dabdee2150ea3c1131544d70" + ], + "original_rules_sha256": "80e208bbbbfe4a17ae254234333264b77cccd8672ce909bb571cd82a77ef0272", + "scope_boundary": "Only lane:algebraic-interface-state-dae-transient-v1 and its exact original observable/physics predicates. Scalar admissibility operators and pairwise norms keep their original meanings.", + "not_direct_fixed_reference_N_reuse_rule_ids": [ + "rule-51eccde34c18287859f50a39" + ], + "active": false + }, + "original-lane-74c8fcdda1607b00": { + "id": "original-lane-74c8fcdda1607b00", + "status": "original_contract_only", + "comparator": { + "source_id": "lane_evaluator", + "symbol": "_observable_delta" + }, + "citations": [ + { + "source_id": "lane_evaluator", + "symbol": "_observable_delta" + } + ], + "original_rule_ids": [ + "rule-e1dc1457b6addfdb56c8d696", + "rule-4f333cb52bfab43eef60ef2d", + "rule-e1dc6491dfa0b46045077471", + "rule-d6204f4edfd559a6438bb857", + "rule-8dcf2d8c0d1749a752b66800", + "rule-0c8d5457f68a9a50c764318a", + "rule-66e56c088a1dc1e37a5c56ce", + "rule-02bd7f1c228f88622e4630ce", + "rule-362189b87bf684bc089307b2", + "rule-4f00c8245df52a58e3795f70", + "rule-4e6b45dede9ae1e831c5d735", + "rule-397ff1e06d2acb7dbf21b44d", + "rule-2fb36ce3fba543a7b9f4664f", + "rule-dfa4ce3a08384bee42079655", + "rule-17476aca6d6b4316c009bf17", + "rule-0966fa61005342cad8bf5d98", + "rule-359c38c0b461035d01927cb1", + "rule-b9013c2a044249c7d67c6fb2", + "rule-aeb44696b3c48c61d3faa639" + ], + "original_rules_sha256": "3549001f713ae67a8a11266d9959ab0cb4be006d42e240f48749434b8867706d", + "scope_boundary": "Only lane:bulk-energy-distributed-trap-equilibrium-v1 and its exact original observable/physics predicates. Scalar admissibility operators and pairwise norms keep their original meanings.", + "not_direct_fixed_reference_N_reuse_rule_ids": [], + "active": false + }, + "original-lane-30c624efe3f8467f": { + "id": "original-lane-30c624efe3f8467f", + "status": "original_contract_only", + "comparator": { + "source_id": "lane_evaluator", + "symbol": "_observable_delta" + }, + "citations": [ + { + "source_id": "lane_evaluator", + "symbol": "_observable_delta" + } + ], + "original_rule_ids": [ + "rule-7edfef91fb1dde3130ea0ce2", + "rule-038d208db9c34114415f8c4d", + "rule-0cfa16d843b2b5b68e819fa1", + "rule-600ee4533ad3a6adae21c2b6", + "rule-8372b4a4bd6bdcd91ce32d16", + "rule-f9415c920aba5c151c11b03d", + "rule-4200d8e93632b5aa65f62f38", + "rule-d53f0a8071f4273983a236ca", + "rule-09b5af195b8dc43aaecfcaed", + "rule-f087cd3ea6089a5df0d62a9d", + "rule-44714ed3f936fbcc73da5a17", + "rule-a533e211d4385eee41c5f640", + "rule-9217fc44679125bf44a15fe9", + "rule-d8636252e37a1b503b6d839f", + "rule-2ff61b842956a33ff1e5c96a", + "rule-fd2e341590ee10d216e9712b", + "rule-d227103273533073b07b351d", + "rule-4dd096f6e4a61e34472ffd7a", + "rule-8607af6eea92e78d67249e93", + "rule-9eaf61f64a731a2da5740412", + "rule-b0d7d4a3836116f16d27bd08", + "rule-e8bef59d18c47b994469b1a9", + "rule-787938b47aa1ec080e0d5e96", + "rule-f718fb0a298a493c1f574113", + "rule-0bedf3504e861b3c66d41cc3", + "rule-d65872fc5ec6b5b1cf835783", + "rule-0a7f74116ee65eadc741b1b6", + "rule-de9a0fb87337e8f96509ad0c", + "rule-925f44245489506d30b00ae8", + "rule-4ccd5da45818e32032ad739a", + "rule-f72fddf2757b51b1f5bf9b86", + "rule-5e869af4ba23ec523e9bd996", + "rule-09274696bb0039c32742e9c9", + "rule-89b4948400f10e53fdf240c5", + "rule-4752284e0b415f5fab1be5db" + ], + "original_rules_sha256": "eb3289c1bde907644035580c8840c3253eecea7f573bd1e0bc7c9fd205159df9", + "scope_boundary": "Only lane:charged-explicit-defect-qf-dc-v1 and its exact original observable/physics predicates. Scalar admissibility operators and pairwise norms keep their original meanings.", + "not_direct_fixed_reference_N_reuse_rule_ids": [ + "rule-d53f0a8071f4273983a236ca", + "rule-09b5af195b8dc43aaecfcaed", + "rule-f087cd3ea6089a5df0d62a9d", + "rule-a533e211d4385eee41c5f640", + "rule-9217fc44679125bf44a15fe9" + ], + "active": false + }, + "original-lane-d0db2268d3d111e7": { + "id": "original-lane-d0db2268d3d111e7", + "status": "original_contract_only", + "comparator": { + "source_id": "lane_evaluator", + "symbol": "_observable_delta" + }, + "citations": [ + { + "source_id": "lane_evaluator", + "symbol": "_observable_delta" + } + ], + "original_rule_ids": [ + "rule-2f39967cafbf3a3135e0b03d", + "rule-ab14679e61d6dd2855197447", + "rule-97a0f5cd135f3cd29133e2b5", + "rule-c2f51f70723c905460450058", + "rule-d05243b324264b555c377058", + "rule-65b22aa45fab19a29ca63848", + "rule-842c108c8cfb389199c315ed", + "rule-deaa52aa4967c52c64e97b3c", + "rule-5cd6755a145d5abc303dc158", + "rule-adb22f23e6d4d9d0f456afb6", + "rule-efeec750424ac337f3e26e89", + "rule-96056d8bfe75de93fa4e2553", + "rule-d19b73e87b46ff98af89b82a", + "rule-1a4618ef713e468b42de5e63", + "rule-ac1fd2b09706081097f94121", + "rule-be483a43c396877330cf0778", + "rule-1dd9d9737e0b0479c75aaf42" + ], + "original_rules_sha256": "f42a2a27f22a062371b969d3a8e25f320bc176c8c9e2e433257385c08a402c80", + "scope_boundary": "Only lane:cigs-graded-optics-v1 and its exact original observable/physics predicates. Scalar admissibility operators and pairwise norms keep their original meanings.", + "not_direct_fixed_reference_N_reuse_rule_ids": [ + "rule-2f39967cafbf3a3135e0b03d" + ], + "active": false + }, + "original-lane-1c11f3ec305c3631": { + "id": "original-lane-1c11f3ec305c3631", + "status": "original_contract_only", + "comparator": { + "source_id": "lane_evaluator", + "symbol": "_observable_delta" + }, + "citations": [ + { + "source_id": "lane_evaluator", + "symbol": "_observable_delta" + } + ], + "original_rule_ids": [ + "rule-586b7e9436478d5bfc26cb24", + "rule-c3ab2dc342ac4ce84d29c54e", + "rule-326e3370aac6ab65be92f01d", + "rule-fbc60ddef221d66e310bcdbb", + "rule-eab38c6ba67bcb6dc2b2d659", + "rule-3081dcf8b271ac33fe651a49" + ], + "original_rules_sha256": "de73bbf5e3e0cbad2efa82a5ff38dc92d944238e78a340945954b2c9d84bb3cd", + "scope_boundary": "Only lane:csi-qf-frequency-domain and its exact original observable/physics predicates. Scalar admissibility operators and pairwise norms keep their original meanings.", + "not_direct_fixed_reference_N_reuse_rule_ids": [ + "rule-586b7e9436478d5bfc26cb24", + "rule-326e3370aac6ab65be92f01d" + ], + "active": false + }, + "original-lane-1f48a67f12b83f3b": { + "id": "original-lane-1f48a67f12b83f3b", + "status": "original_contract_only", + "comparator": { + "source_id": "lane_evaluator", + "symbol": "_observable_delta" + }, + "citations": [ + { + "source_id": "lane_evaluator", + "symbol": "_observable_delta" + } + ], + "original_rule_ids": [ + "rule-35a636452befff5c0f0fdf31", + "rule-f12c1246ce6a323cacb0183e", + "rule-490cfb3653cc2ea665e5860f", + "rule-66beed05916616caab56d92f", + "rule-93bf85353ef693617f19e575", + "rule-d8a6f879b5e3372af7918e1f" + ], + "original_rules_sha256": "563d9335259e338eb3a8365a3145acc226eeaf3cb69b083ba253433fcdaa317a", + "scope_boundary": "Only lane:csi-qf-frequency-domain-resolved-v2 and its exact original observable/physics predicates. Scalar admissibility operators and pairwise norms keep their original meanings.", + "not_direct_fixed_reference_N_reuse_rule_ids": [ + "rule-35a636452befff5c0f0fdf31", + "rule-490cfb3653cc2ea665e5860f" + ], + "active": false + }, + "original-lane-1dfc4e4b19df86e8": { + "id": "original-lane-1dfc4e4b19df86e8", + "status": "original_contract_only", + "comparator": { + "source_id": "lane_evaluator", + "symbol": "_observable_delta" + }, + "citations": [ + { + "source_id": "lane_evaluator", + "symbol": "_observable_delta" + } + ], + "original_rule_ids": [ + "rule-3d5a2380fd123c3e9382366f", + "rule-d4325f95fc502fc0e537604f", + "rule-ea50db2da005882d7b85f6f8", + "rule-87bb0402c890e4e45f822640", + "rule-ff61a5615d8ad166ae0f7d55", + "rule-7960e8fdbea18594ea8a4bb7", + "rule-b537f01dbef50a927f93bcda", + "rule-8c52c1bc447865aae77ac7f9", + "rule-e29d6ac581b5d3f0205465c6", + "rule-196d66d88094525146b47e82", + "rule-558906d7b34db38684bdf4be", + "rule-8eb1ea4bb6fe04fe56742432", + "rule-2f79e9cd8836190f59e0a15b" + ], + "original_rules_sha256": "f6398502d41e9d675f56296c0e98bf5a2ebc536790881e83274d86d6508af9c8", + "scope_boundary": "Only lane:degenerate-pn-equilibrium-v1 and its exact original observable/physics predicates. Scalar admissibility operators and pairwise norms keep their original meanings.", + "not_direct_fixed_reference_N_reuse_rule_ids": [], + "active": false + }, + "original-lane-b7e62a98398228f0": { + "id": "original-lane-b7e62a98398228f0", + "status": "original_contract_only", + "comparator": { + "source_id": "lane_evaluator", + "symbol": "_observable_delta" + }, + "citations": [ + { + "source_id": "lane_evaluator", + "symbol": "_observable_delta" + } + ], + "original_rule_ids": [ + "rule-09de497008f8b5b99d03540e", + "rule-73ec0e1b9f50670b9b925d2e", + "rule-89ecc036655cbbdab210d97f", + "rule-6e0745c7f16b936de93dcf67", + "rule-8d146657f932925c9b7666ec", + "rule-becb84044e1ce0061a5b6442", + "rule-f5176e098c1b30dfe2d430ad", + "rule-a658d6721b4e7100861780eb", + "rule-75775c91f5051dfee8aa8c92", + "rule-b0059d9745848348b6410288", + "rule-574cc405ecb1be86b0c349c7", + "rule-b4a0892a326383dc7ca82ee7", + "rule-7123b8fea40d2fe7e0f26481", + "rule-69533cc92cf92487ddba897c", + "rule-0e81dae6223baed5e48f013f", + "rule-6fc4209206799b2567168b93", + "rule-e444eb407dcb745fad534088", + "rule-b12702a1d4e267a2dfb7116f", + "rule-f42ee6d3773871ba286975a1", + "rule-a7d27e826e1cad48605951a7", + "rule-d2175ce7670d4b3faf1f85e5", + "rule-13754db5e69650655f2ffd3a", + "rule-40ff2dffd731082da9386980", + "rule-a77a948713918bd38e954007", + "rule-72dd77cee6633befe4280ea1", + "rule-e1bf3fbe7a151914f5972df0", + "rule-e6a1c9ae93c121a3261e1d46", + "rule-ba8ee0d85aff875559650170", + "rule-4ec7801378f54c43ff0c7845", + "rule-f8da9c992be1f6cedd149368", + "rule-3985daf13a040529cafc112c", + "rule-0b9fa0bae6a3e9b39fc849b3", + "rule-de83a49c04cffb58b22826d5", + "rule-6797810f12d97a8e329fc6ec", + "rule-03c8dbc455d1124fd7fb22e4", + "rule-938fa5f34860473edd4052c5", + "rule-f5ed390e79602b6b95f2ec1d", + "rule-2edc40979ec352cc025733cf" + ], + "original_rules_sha256": "e1ea2db4d4eac6c20b547148e4cd7a1fc3614e3ea92866441583209d06eef81d", + "scope_boundary": "Only lane:distributed-explicit-defect-qf-dc-v1 and its exact original observable/physics predicates. Scalar admissibility operators and pairwise norms keep their original meanings.", + "not_direct_fixed_reference_N_reuse_rule_ids": [ + "rule-a658d6721b4e7100861780eb", + "rule-75775c91f5051dfee8aa8c92", + "rule-b0059d9745848348b6410288" + ], + "active": false + }, + "original-lane-6c70228c5f2817ea": { + "id": "original-lane-6c70228c5f2817ea", + "status": "original_contract_only", + "comparator": { + "source_id": "lane_evaluator", + "symbol": "_observable_delta" + }, + "citations": [ + { + "source_id": "lane_evaluator", + "symbol": "_observable_delta" + } + ], + "original_rule_ids": [ + "rule-69058e1af6751f9f9cadb573", + "rule-b58c653c69cb0f26ddb1ff37", + "rule-b699ec3fbdb98f1f3f963899", + "rule-5ba76faea7d1643d987beaa6", + "rule-65091c0901d07799fe900bf5", + "rule-37df3fa87efc17764272caf7", + "rule-9f8afb1b2be7c3b24a3d48a6", + "rule-59a19198fdef38eb8d8d5169", + "rule-825b901d3fb10db230904394", + "rule-c0c9ad75a0d62b703933611d", + "rule-9b20f0727dea8d9a889f6fe0", + "rule-de42aeb87ef938f2e96ebbc9", + "rule-229782e864d0faafbc695523", + "rule-20255d2989cf2afb2e2b8c49", + "rule-b8f66d894b1d519533d507b9", + "rule-64029ed1e50f891808ee79c7", + "rule-3904a39de7c8c32bf629ceee", + "rule-46982d459cc32e214b3cf83d", + "rule-3222fbeeb3394ee217d2fd07", + "rule-2fefe2d44d17e81c1ae06ee2", + "rule-9562411980a4c85cae83b601", + "rule-5dd1748bc976ea592505ed41", + "rule-f171d09139dc7c15ad7d659e", + "rule-fddc2f353b9b3f93a41bdca7", + "rule-48244c82bac51d7facfe824b", + "rule-2624b0fea75216e77d7c5883", + "rule-ac7768379017209730286cf1", + "rule-a5e3afc60ba0da7109c2d569", + "rule-abba824f43ae8509078e1895", + "rule-58014199b589c0ae7d2acef9", + "rule-a8af23d4be88ca6a3d71fc3d", + "rule-1bfab4cd0a2aca0824a0a094", + "rule-bc6d9cef1bd571ac9779f624", + "rule-15766fac0f8c06cd60423fc3", + "rule-646e30935c799f6fcefac5c0", + "rule-68b1bae2b61c7339f18c2e5f", + "rule-dfe14b3802a0da764eca9bcb", + "rule-fe53144103ae14c150948068", + "rule-b9eb2d437f9d3e3c4a861974", + "rule-d569a9729a8f920087a024e4", + "rule-464d92fb761630eb1f1680b1", + "rule-e7e77f5e98b7323910776f33", + "rule-47354dca211bfe7222347fd7" + ], + "original_rules_sha256": "1a51928dc1b501d649f47fc86625fc74ee704ecaf72e594e5f43db4302e101f6", + "scope_boundary": "Only lane:dual-mobile-ion-dae-transient-v1 and its exact original observable/physics predicates. Scalar admissibility operators and pairwise norms keep their original meanings.", + "not_direct_fixed_reference_N_reuse_rule_ids": [], + "active": false + }, + "original-lane-5ff1ae9d34dfa46d": { + "id": "original-lane-5ff1ae9d34dfa46d", + "status": "original_contract_only", + "comparator": { + "source_id": "lane_evaluator", + "symbol": "_observable_delta" + }, + "citations": [ + { + "source_id": "lane_evaluator", + "symbol": "_observable_delta" + } + ], + "original_rule_ids": [ + "rule-8a11562fda4feee473c260a5", + "rule-ecff69194e4dafcb38103a85", + "rule-87348577b5bc6d61b7c2e17b", + "rule-24b12f44759b14771bae457a", + "rule-39c8f80f448a2ad30293678f", + "rule-d101de26519718868dd8b3bb", + "rule-62bfc032f1c1c3c38ac8e72d", + "rule-b5f8faead216a91c8e98d2dd", + "rule-c65c83b218d0af6a265ef002", + "rule-83e0a5733fdb835d9ae4b1c3", + "rule-3f2e9b330bede18dbfaf23e6", + "rule-e0e71b58aa66915e41c5679b", + "rule-02b68c4091045c552343c654", + "rule-41e7470431bcd7b19f247733", + "rule-5110a4e6932572bcc2218041", + "rule-6ae9b019b08f350666f72d1a", + "rule-fbb1c11609aaa77d3e406146", + "rule-57296dbdbc0403cb68063224", + "rule-59eccb393ae545a5b42dbad0" + ], + "original_rules_sha256": "9cb5a5f9fadabe4b1f1ee30833f4c034af9830aa6711b3452599a93edb1b15c2", + "scope_boundary": "Only lane:dynamic-defect-ion-impedance-production-v1 and its exact original observable/physics predicates. Scalar admissibility operators and pairwise norms keep their original meanings.", + "not_direct_fixed_reference_N_reuse_rule_ids": [ + "rule-8a11562fda4feee473c260a5", + "rule-ecff69194e4dafcb38103a85" + ], + "active": false + }, + "original-lane-def3952fd4d218a3": { + "id": "original-lane-def3952fd4d218a3", + "status": "original_contract_only", + "comparator": { + "source_id": "lane_evaluator", + "symbol": "_observable_delta" + }, + "citations": [ + { + "source_id": "lane_evaluator", + "symbol": "_observable_delta" + } + ], + "original_rule_ids": [ + "rule-8a12153d0a16c626a9392adc", + "rule-a515c4920e7538d7767a0aa2", + "rule-f7a2c76e29fa6b5d591dc525", + "rule-071bc05b03dc35ffc12c33a3", + "rule-cde8698398daf49205051e06", + "rule-49276d9d7c52f13f57481074", + "rule-78790ec2a8ee4ea60dae0c3b", + "rule-2add69b8c4e0b3835f39bffc", + "rule-29913c136916dd2df0b7b621", + "rule-32fd79a9efeebe24c260baf7", + "rule-cdc298669855ad994982311e", + "rule-96da65d638042caa70ccbed0", + "rule-d35f56e79a66e4a75331501c", + "rule-9893a677ebe785e37cb3edf8", + "rule-eccbe7a4b6961694240e96af", + "rule-0939be97cf3fecb1b0583c5d", + "rule-a5375be5c6b74d926a5f8f16", + "rule-e2b48abcdc9a4fee339873f2", + "rule-65598f673ba18568c0b12509", + "rule-bf1505954dec2e66fefb5e44", + "rule-ef2a67ac13be6d19f6227391", + "rule-c2b7d984854710aa282fa2d0", + "rule-a0d8c5ed112f0ece46cdbd71", + "rule-5c0b307f6ca6beeec14bcda6", + "rule-64e141831bd77997a19768cf", + "rule-7fa7bafaf8248c6285f9db20", + "rule-e6dd627e0ad4beb567d731d3", + "rule-e79f37d50dd03c6b7c4a6ae4", + "rule-83f71d7cd68bb18205480358", + "rule-7f8f90eeb5c7dd8b4fc44322", + "rule-bb944e9a9f5b63bd28908658", + "rule-a919b3386e563a21f3e0c496", + "rule-a499e23bc609f2e35da2f6ac", + "rule-719d78652182af11c8d40eac", + "rule-486b0f050e45587d4fdd31cf", + "rule-d1a153e62c8fbe0df28cc37a", + "rule-798df078793d08f7e92ed27e", + "rule-754e1ad38903be27bb1b3c0e", + "rule-2b2b830baa2490176235e033", + "rule-30b0b5b5cb6938d08bcaa08f", + "rule-0a175d55c75ef0914671be5e", + "rule-2bc05426924136fe68e0ac9c", + "rule-5c74d8b25766053be7756833", + "rule-91c7cc968dbcdaaa0e3335d4", + "rule-09272356c92e8e1471cdb704", + "rule-eeba496d76e45d141348d9b7", + "rule-f9f32c09da428e5befec7adc", + "rule-f285b65c4662b18c669d995d", + "rule-6c68d1b6e619a4fa680956d3", + "rule-de1da831eaea01d4c0330908" + ], + "original_rules_sha256": "3e0aaaebc2a124779f97404c089a2152ead145b2837fe7458aac73327a9e47e6", + "scope_boundary": "Only lane:dynamic-defect-ion-transient-production-v1 and its exact original observable/physics predicates. Scalar admissibility operators and pairwise norms keep their original meanings.", + "not_direct_fixed_reference_N_reuse_rule_ids": [], + "active": false + }, + "original-lane-b61bf1fc1c5146b5": { + "id": "original-lane-b61bf1fc1c5146b5", + "status": "original_contract_only", + "comparator": { + "source_id": "lane_evaluator", + "symbol": "_observable_delta" + }, + "citations": [ + { + "source_id": "lane_evaluator", + "symbol": "_observable_delta" + } + ], + "original_rule_ids": [ + "rule-b3089e78c3501797ab56bf64", + "rule-8a733fbb6fed93f4d3366516", + "rule-0cab1e74a11f1ada80ca11b9", + "rule-75952a0a84d4c5ea8854426b", + "rule-8207a82b085f21c0143146af", + "rule-6074d651c3b9809dcdc8bb67", + "rule-38341085953e6ebdb35037f7", + "rule-9c1fd89d0b0adc9081d2eeed", + "rule-5f33dc6b7a6c557bc4ed470b", + "rule-55a5537239a173feb4f8b321", + "rule-0a45a1c44f310002840c9758", + "rule-7e59df0e9b3e763c19a684b7", + "rule-a90172cea8de6f5c0774c81b", + "rule-7d4ccb6b93afe3260735cca4", + "rule-738a47b5d7b9eddc69fe7d81", + "rule-e8a7b93d9a914086f238c528", + "rule-37d1a05f64cc3689cb0c8689", + "rule-475f3c3db002168b1f6aebc1", + "rule-287972f5ed30860f4ed145bf", + "rule-307b0277dca46875a8a26012", + "rule-6338649cc0ab385f94054cb9", + "rule-a960116536ff581cdaf35dc0", + "rule-0c9dffe1bf52e8ea7c002058", + "rule-b208719cbadf17861d284d9b", + "rule-b9b1c34ed26c4e7d1cfef788", + "rule-99443271b33eaf0c0085bd67", + "rule-509eff0a56478634d65e0641", + "rule-ceb72ac2499e2554e072e3d8", + "rule-a8e490964f0299460c776a3e", + "rule-0efbb828a083efa7f7d7fbe6", + "rule-cfd5c0f75e257dd949ab8f7f", + "rule-0dafc45082f0141caae1ded6", + "rule-9c0f05e25bf2c7fc0b7fee6f", + "rule-2d5916107874e344937b732b", + "rule-ada3c2dad6e2f1e701cd4e11", + "rule-e0c7b1fc508e0e8016fea02c", + "rule-e8c33bcb94926bed95ca86f6", + "rule-70686d2c74fa2a7612115c4a", + "rule-16d56708ff70bba44bd9ed62", + "rule-4421dec318834ef82902c8e3", + "rule-f15cbdddbb1b81a2ba3148e2", + "rule-e3437626bfd6fd9481b00b19", + "rule-9c6ade9af18fbbc9f62d7529", + "rule-70fb60ec809e6ff7e96b3f45", + "rule-df6957825c6e011087268634", + "rule-d23c470b0dec16dac7a28d3b" + ], + "original_rules_sha256": "e078236b97f2252cdda1e906d0c1c7a99ad0bd974e3a2a37f31a2124627dc428", + "scope_boundary": "Only lane:dynamic-defect-ion-transient-timescale-absorber-resolved-v4 and its exact original observable/physics predicates. Scalar admissibility operators and pairwise norms keep their original meanings.", + "not_direct_fixed_reference_N_reuse_rule_ids": [], + "active": false + }, + "original-lane-119dbf12fc26bf9b": { + "id": "original-lane-119dbf12fc26bf9b", + "status": "original_contract_only", + "comparator": { + "source_id": "lane_evaluator", + "symbol": "_observable_delta" + }, + "citations": [ + { + "source_id": "lane_evaluator", + "symbol": "_observable_delta" + } + ], + "original_rule_ids": [ + "rule-f0451d8a65a6ab4d4682f0a5", + "rule-c0cc5cc33b833d49c95cc90a", + "rule-619d87e59a5b7f4e68a3975f", + "rule-3baa8984c419be9154171461", + "rule-0345f9f188c51373a0deb2ba", + "rule-ab2d706f371dce2888d2de72", + "rule-ee9f608a01b1a424f62edee9", + "rule-663351d779454fc716c6ac94", + "rule-ebec8d9404f63d7ab58f616f", + "rule-d32677e2806d63dca230c900", + "rule-bdd4a45ffa8cde957f2efbcc", + "rule-9cc9ab321c573e81bb438ecf", + "rule-868e97ae6f7bb356b638de58", + "rule-daafaeb38a6f507baf7da0c1", + "rule-579f538488bfe7930feb708a", + "rule-3a54dad62d0f69fe3b98f20a", + "rule-c9a533f7304816b4d047f0e0", + "rule-1cb214a55731160f9a85ef95", + "rule-1c40a019d7b3a0a28bc3f255", + "rule-7032489aabc5864809818648", + "rule-e1a35a19809f9b348eeea727", + "rule-242c5ecf56b56c177cc7a33c", + "rule-1a896d09ddf6852c6718e560", + "rule-a8d47d081b7f3bb0a5cdfb5b", + "rule-c8c1437307e45fbe8683d7db", + "rule-e2685244646ed077f99a2236", + "rule-7d662d1a3bc92667377843c6", + "rule-fe106ef9b6173cf1a410747b", + "rule-e378a2d2c12fb4c52a114bd3", + "rule-6ed84b85fd1bf7ea0996cf49", + "rule-7bdacfb7eab7b71cacedddb5", + "rule-2de574fa7534e429edddb045", + "rule-0cb4eadeef7d7ca63d16a3e1", + "rule-120b649cb27a089a9b7cb29a", + "rule-53a82a7239e817db936288a2", + "rule-aa117798b164aab07e92d241", + "rule-91cd384f071a1589073c619e", + "rule-abe05c050ecbe7b2e2fe8019", + "rule-62010f10d217c4b12681c35e", + "rule-eaf72da19e4d45cfee88a646", + "rule-7aded4a7b624e61f3c4a4b85", + "rule-7f98377940f352266ca4dce4", + "rule-ff7558f2827fc091487eaa46", + "rule-ff8eec45eae75369834e5911", + "rule-8ad31db41113aae409b6d09e", + "rule-01e6a96b673358ac260adb61" + ], + "original_rules_sha256": "c8dfbe017cbbd79f27956498fef12f310b7b4833de70e48d0f6c379f7db03020", + "scope_boundary": "Only lane:dynamic-defect-ion-transient-timescale-nonlinear-resolved-v3 and its exact original observable/physics predicates. Scalar admissibility operators and pairwise norms keep their original meanings.", + "not_direct_fixed_reference_N_reuse_rule_ids": [], + "active": false + }, + "original-lane-c2f00d60b696be35": { + "id": "original-lane-c2f00d60b696be35", + "status": "original_contract_only", + "comparator": { + "source_id": "lane_evaluator", + "symbol": "_observable_delta" + }, + "citations": [ + { + "source_id": "lane_evaluator", + "symbol": "_observable_delta" + } + ], + "original_rule_ids": [ + "rule-21e200d42c007d82efff89d8", + "rule-96b4fa2ad2ac0753985cc155", + "rule-10333d632faa7f20b971327d", + "rule-629391242f1474179ad02d2b", + "rule-f07d54c346e52884cf8d211a", + "rule-b877b5e5e3f83893326b41db", + "rule-8d99c55108b627f1c46da9df", + "rule-f5db9aca1125f3c405104908", + "rule-70ba80fec89ca91581db3284", + "rule-be05e915d00ec202d4e01f62", + "rule-76d6ab5bd5f607462d86833f", + "rule-5d32b21c3505bad41d034fa5", + "rule-e8d6f9716e1a14b1f6a80e21", + "rule-4684c3619a8c5fd1862e52f5", + "rule-d99de288b1e585bb5c73565e", + "rule-7cce205ab17040a0604d696d", + "rule-80a9a24e70380b3db67a0bde", + "rule-b7325d555edc5dff29f13b2f", + "rule-9edd3cea700a28c53c9517df", + "rule-72ca6aafcba9316970b768cc", + "rule-40382c7f878ac56784f94b91", + "rule-42dd531b236c76bdefcc375b", + "rule-67b246c0fa68c43b39d4fd30", + "rule-b4670c4d9c437329ec9ec514", + "rule-c2d50ae6aa0365c8961db9db", + "rule-05ab9b70dcc5d350a77774f8", + "rule-5fe377a0ba2e5ddd8ea7e5c7", + "rule-7d31f72e4e6aa275655d9fb7", + "rule-73a0e0a1636bd82c4451b486", + "rule-3c67580b350287598ea8ca0c", + "rule-0bc53fd5a49e05fd0c54f0f6", + "rule-d9c2639990491162e2922062", + "rule-1658d71f362ced253703cbfe", + "rule-951c8181914adac8c7e92dbe", + "rule-9731309a5111b2b17f21acde", + "rule-085717513c5239e0ab6408cb", + "rule-dba2191b0d85fd32f0aa691e", + "rule-73a0e8e44d8bdb08061a76d4", + "rule-d8b9ba44ec3faeb4891d1196", + "rule-b18c4bdc999b53f481342575", + "rule-31751c858fda2a94b9169a08", + "rule-02afc7a2c4498e897df2bcfe", + "rule-7bc4ee050bcb1c9f3d3a865f", + "rule-66f626e49cb8f0b72dc76a7e", + "rule-d2994f200276eeee8cf46295", + "rule-c519324bcb463356150fe50c", + "rule-29efb1f7e7e83008ec9fbb03" + ], + "original_rules_sha256": "a1295c656c072e067d702be109a1d0008d3a437599be985e218b9be2089b69ab", + "scope_boundary": "Only lane:dynamic-defect-ion-transient-timescale-reference-resolved-v5 and its exact original observable/physics predicates. Scalar admissibility operators and pairwise norms keep their original meanings.", + "not_direct_fixed_reference_N_reuse_rule_ids": [], + "active": false + }, + "original-lane-2e2c396de43bcf73": { + "id": "original-lane-2e2c396de43bcf73", + "status": "original_contract_only", + "comparator": { + "source_id": "lane_evaluator", + "symbol": "_observable_delta" + }, + "citations": [ + { + "source_id": "lane_evaluator", + "symbol": "_observable_delta" + } + ], + "original_rule_ids": [ + "rule-6c25b9b7808b8c1cb73c5285", + "rule-418db1b462ba803dd8b7c050", + "rule-0eb22394df0da4a1975bb088", + "rule-3ad37a8adcbffd2a12af5f64", + "rule-17d0b4c11c524f9a62bcf5aa", + "rule-68728100f6eb51a29c7a57c0", + "rule-c4df18baef95921681c1a643", + "rule-e306d54d7f939791f7c1c35a", + "rule-6f065e82bb80824c88ebeacc", + "rule-fbe7c1846a4d4afff5d2414a", + "rule-4f5360fb1a4cf9951be467b3", + "rule-9a3e64674766ecb8ab97dea3", + "rule-c7b187ea26bc0e5279789b91", + "rule-0666d36d9d600ea71be5ae20", + "rule-2f14c85545b459983c4ab1e6", + "rule-ac616f0512c08cdaa9177878", + "rule-e9ee5260a8bb8a65be1ea9c3", + "rule-50fa78a2ecf9e073f7baec44", + "rule-bba2a7d394d3033289184f34", + "rule-9691e5c41a3fb9823f694cc7", + "rule-d06256661de463788b6a833a", + "rule-4686fe44237d2195452731b0", + "rule-a800059dab868c4a8322b4b3", + "rule-57fc5f270fb7ad32e2fb9dce", + "rule-b5e15cd1d83ab655217b93ab", + "rule-e8a0800f576b64242b140d0a", + "rule-5061526ed3167bb2d1b4e271", + "rule-ccaebf5af78058a93a6a6d95", + "rule-d6031156a0a29a5d4bb2599f", + "rule-238577f7a9aca77e244ad7ff", + "rule-2c1673377d877d4191b4d6ad", + "rule-6d1b29f5d754c928dac9c3eb", + "rule-3c11ff28ea2f6489b0c3931d", + "rule-d291897762561e67627faf4b", + "rule-b21d0c5f6b40744efe3c68d5", + "rule-0d126d8eb30cfcf914986127", + "rule-502c1b18a29b167fbf816a76", + "rule-92de4881239db3b823a9657d", + "rule-5eb9166e60df4a5b8104f701", + "rule-351a5112cd51db880e0b98d7", + "rule-8c84b7053234679339f9b97b", + "rule-8ed1a470abec75786296e511", + "rule-f98f126cd7790f846a4c4670", + "rule-fa6eaa33cbb3971f1ed0fd8c", + "rule-e29d16a0f62dd5d815467c6a" + ], + "original_rules_sha256": "a4ca2446413a5526191afbbb2160ecbc2ac267c8d5bbdc6d203fe0b468dd8459", + "scope_boundary": "Only lane:dynamic-defect-ion-transient-timescale-resolved-v2 and its exact original observable/physics predicates. Scalar admissibility operators and pairwise norms keep their original meanings.", + "not_direct_fixed_reference_N_reuse_rule_ids": [], + "active": false + }, + "original-lane-f63c8cad0bf211ec": { + "id": "original-lane-f63c8cad0bf211ec", + "status": "original_contract_only", + "comparator": { + "source_id": "lane_evaluator", + "symbol": "_observable_delta" + }, + "citations": [ + { + "source_id": "lane_evaluator", + "symbol": "_observable_delta" + } + ], + "original_rule_ids": [ + "rule-1e268c6e1205d9f1c3ff211c", + "rule-cc99233d87208db1b2b2b6b4", + "rule-21c1327b17cba6322c4f7e42", + "rule-2f0e024d6bb2dd4d3e34a63d", + "rule-a7c40978c2fbf16cb90fe5a8", + "rule-20d402d682b5df15cdcdcba7", + "rule-45bb78482bdcbd04500b2832", + "rule-96e8aa181335cd01aab4d2f4", + "rule-34e081fe821bd8c54a8d818a", + "rule-19502639188e0e3a0ff730ed", + "rule-de0002d336a0cb2d74462a72", + "rule-3c9579a663409efc030e5af5", + "rule-3a93a9c4e435d1cedae918fd", + "rule-ce540c55300635cb306e1020", + "rule-24d709cdf4ce2e4834849d99", + "rule-bceda879e52c625f2b389c4d", + "rule-b7926d707d0eb000ff38b16b", + "rule-801eb4dc81d4077c9d272cf8", + "rule-1d6bf3edd308438989c3e0f7", + "rule-74ae157505942d9c5fea7a98", + "rule-05f925dbaa9fa4cc479ffcfb", + "rule-0c0fc851c9c2c4fc4e103a5a", + "rule-3f19bb01e41ea3b7b0c55dcb", + "rule-ac846e37171ed824bfdf53d4", + "rule-7a86332e31bc5e489d8620c9", + "rule-50cdc8021eb7e031ff0b1220", + "rule-3564d65468184d537ba15fa3", + "rule-8527ef385834aeb918fa7b8d", + "rule-53b296107987ceb37f7be5bf", + "rule-f94c4f89a52f02e3440624ea", + "rule-2c6690a1f7ea3cdbabf6dfbf", + "rule-080ff1912004fb0c1352f607", + "rule-1bd7891ec3049c7a42b1b4e7", + "rule-9572a37362f63f1df8eaae91", + "rule-ca33c6e24682b0bbe6eb8f68", + "rule-22873bd2be63a57552bcfe74", + "rule-8761331ee2f2e03ecb0887fb", + "rule-d44767e5f38a70833a3298cb", + "rule-9ad8e4bd1319b50188fa756e", + "rule-cde753e23d1fdcf9170ae96f", + "rule-568bc61dfe31a4d61e09264e", + "rule-0f5ed929830fb8fb076b5047", + "rule-2c833e5dfb3c88f599c4df6e", + "rule-129ab4fd0a1eaa5b74cc3065", + "rule-64c45610fce64f69d1ae5f56" + ], + "original_rules_sha256": "f9cc0dfd6018390bddb1a48db7f3d00df5c94155abfc6b58bb4e4382bfa6a7ff", + "scope_boundary": "Only lane:dynamic-defect-ion-transient-timescale-v1 and its exact original observable/physics predicates. Scalar admissibility operators and pairwise norms keep their original meanings.", + "not_direct_fixed_reference_N_reuse_rule_ids": [], + "active": false + }, + "original-lane-5d1d62edf010a604": { + "id": "original-lane-5d1d62edf010a604", + "status": "original_contract_only", + "comparator": { + "source_id": "lane_evaluator", + "symbol": "_observable_delta" + }, + "citations": [ + { + "source_id": "lane_evaluator", + "symbol": "_observable_delta" + } + ], + "original_rule_ids": [ + "rule-384c39f07c3e2975e6e1d8bd", + "rule-ec6f415b6800ae843ceaf92a", + "rule-cd4e80f9dbdc0f109938f4d2", + "rule-ac74dc1a3ba21c63285a8afe", + "rule-41ecaba52deb3fcf4eb32ad2", + "rule-a0e91ad36018b92cd14d0cf0", + "rule-3055f49d627e1779b7aef767", + "rule-4bdc334b420b97330e261adb", + "rule-67016f103c34b82aaaaf91dc", + "rule-ea713d95f001aece0b14158c", + "rule-b465ac175beee2db9fd55efb", + "rule-0d12dc90b2f42a87234ab1ba", + "rule-445554546f9f7dc12de4f5da", + "rule-046cdfd36574fb39e58a35d8", + "rule-3b1989563b709bafb6762f56", + "rule-9226a48000d3c560b5147f67", + "rule-ce2310e8e430ce31c8d33723", + "rule-dadba4ce1aa7c2821f4ba187", + "rule-455788fcd3cba2e9caf16bcd", + "rule-e4490e01ebc265f455488d51", + "rule-a37b284482b9be35dcd4a587", + "rule-376988f8e0c313e302a7f2d8", + "rule-ee5f1293ace09ade08fa86df", + "rule-1d46ac780872dd6856cd4f1f", + "rule-4bf913faa3a99351cdb9c4af", + "rule-b5a87e4cc247e28376aa481d" + ], + "original_rules_sha256": "fa149e835a486a55addcec27de00558e56050f7112b33959951ed0147bb1f8b2", + "scope_boundary": "Only lane:electrothermal-terminal-mpp-grid-resolved-v3 and its exact original observable/physics predicates. Scalar admissibility operators and pairwise norms keep their original meanings.", + "not_direct_fixed_reference_N_reuse_rule_ids": [ + "rule-384c39f07c3e2975e6e1d8bd", + "rule-ac74dc1a3ba21c63285a8afe", + "rule-41ecaba52deb3fcf4eb32ad2" + ], + "active": false + }, + "original-lane-b37e800920a3345f": { + "id": "original-lane-b37e800920a3345f", + "status": "original_contract_only", + "comparator": { + "source_id": "lane_evaluator", + "symbol": "_observable_delta" + }, + "citations": [ + { + "source_id": "lane_evaluator", + "symbol": "_observable_delta" + } + ], + "original_rule_ids": [ + "rule-7fec7536755c57a668dff5c5", + "rule-4f06a3ff92715461a0787caa", + "rule-c460247d448734871ab0ab19", + "rule-9aa25a0d7601ee6784bf7444", + "rule-32c0e5f2f4a92b96e9c46d72", + "rule-3036da1e5ced4e7486b9307a", + "rule-160fdc8e8c8c477e6b18e3d1", + "rule-e75515706fee805abd3bc21a", + "rule-973515e442cd83f4593919e3", + "rule-4071af8612566d712ed871ad", + "rule-701057132038fceb22e4a5b1", + "rule-fe3594e6344e7c4f0bcab8ec", + "rule-dbb7e3b6c93fcb024a96665e", + "rule-f26950e1fff3ecd6be590b1b", + "rule-36f98069f5e418d4be3e7b28", + "rule-811742a3d6d43a6883171b6c", + "rule-eecab93a83de492d7b92703b", + "rule-4ef804495f636010f720ddd0", + "rule-82b1ae1ca172d09e0d8ab80b", + "rule-a9934185bf9165cb8c08f666", + "rule-632c8d9018ee0c33a2a8d5ff", + "rule-3f9da1c4245f29fd36bcaae5", + "rule-955b43476c2f316f81ea9136", + "rule-60307c42eb7c2decb307c862", + "rule-456b632f82f05ed1332e8977", + "rule-43424e1dee9e5e1a270de2b4" + ], + "original_rules_sha256": "ee8d755ba67d4a5bb1d00c6773207f41edf666c72f96990db80ab21974e86a98", + "scope_boundary": "Only lane:electrothermal-terminal-mpp-resolved-v2 and its exact original observable/physics predicates. Scalar admissibility operators and pairwise norms keep their original meanings.", + "not_direct_fixed_reference_N_reuse_rule_ids": [ + "rule-7fec7536755c57a668dff5c5", + "rule-9aa25a0d7601ee6784bf7444", + "rule-32c0e5f2f4a92b96e9c46d72" + ], + "active": false + }, + "original-lane-b89615cfbbfe0045": { + "id": "original-lane-b89615cfbbfe0045", + "status": "original_contract_only", + "comparator": { + "source_id": "lane_evaluator", + "symbol": "_observable_delta" + }, + "citations": [ + { + "source_id": "lane_evaluator", + "symbol": "_observable_delta" + } + ], + "original_rule_ids": [ + "rule-abd1bbcfc7bf310b4b123760", + "rule-17f100c13c2dfadb245fa178", + "rule-35872430c03f1e7d06ed05cc", + "rule-68d962df70b39b223321c655", + "rule-4fcc0104b85adbd577e930e2", + "rule-41036fc47617c52aa44ba7a3", + "rule-889f92abaad51ebbdf892c67", + "rule-97d7c91f466029237635e04f", + "rule-169d84a0ee06aecf4efe8e32", + "rule-59dc59e438d82b654a4a6d2f", + "rule-287205fabcedd3ef6bfe7827", + "rule-e79b75c6ca6252e10226f69d", + "rule-a5daa98dd75150808be55c37", + "rule-55b401b58d5da7fc1ba0fb08", + "rule-9d5e89bf38dc139eed000d2f", + "rule-e34a5f944e4cec71d628b6f4", + "rule-47ad8f8caeb7218528d7b3fd", + "rule-2d5a7b34c831e2ab48ddbdc0", + "rule-f0c95e39a1baba6cfac5cda4", + "rule-89322f046765f7eeefc1322a", + "rule-1fa9f03553be136918c82319", + "rule-87f089481c4f9ed60158e07b", + "rule-58d9df4e100abc4c5a65057d", + "rule-bfa48211ee48b94870ee60ab", + "rule-99b4ce8752d0bf184b462ec2", + "rule-4a6504ff53f27cef4f3d2732" + ], + "original_rules_sha256": "af500d35d0ac0c07e5a325f805a35f723a5ffa190a8974cb9ef33af0af332a16", + "scope_boundary": "Only lane:electrothermal-terminal-mpp-v1 and its exact original observable/physics predicates. Scalar admissibility operators and pairwise norms keep their original meanings.", + "not_direct_fixed_reference_N_reuse_rule_ids": [ + "rule-abd1bbcfc7bf310b4b123760", + "rule-68d962df70b39b223321c655", + "rule-4fcc0104b85adbd577e930e2" + ], + "active": false + }, + "original-lane-8ecc1df7d72fa132": { + "id": "original-lane-8ecc1df7d72fa132", + "status": "original_contract_only", + "comparator": { + "source_id": "lane_evaluator", + "symbol": "_observable_delta" + }, + "citations": [ + { + "source_id": "lane_evaluator", + "symbol": "_observable_delta" + } + ], + "original_rule_ids": [ + "rule-c6a501e0ca98cf709fa8cfad", + "rule-4d5651fa5504122cfc3eb710", + "rule-c25420c27b68217d3e75ee94", + "rule-ae9a134b5b8971fb32aec626", + "rule-5ae7f023807924ca2ea18303", + "rule-693f644e1c851138700d02fe", + "rule-b080f6e1128b27998790ff39", + "rule-f0bb28540997e657de72ee87", + "rule-a0c920b5a6acc572657b689b", + "rule-b37b859968e840ccca1a83c6", + "rule-055f2547869884709556fb13", + "rule-937e5655d12a85e9962a1bc2", + "rule-2d619d5419521d113bdcb59e", + "rule-27e6c576c9c34ea7d3bd1c67", + "rule-77fb0ffe91e8b847ed918a3b", + "rule-4c7ee869685c91877ce7cbe4", + "rule-fef2693db3c0bf6498206452", + "rule-4d9a37e0be1b9ee861aa0fc2", + "rule-48b068eb7e343977bee69633", + "rule-c3953e6e0cc345fa9ca0aa60", + "rule-84c56e7423b640325f152ff2" + ], + "original_rules_sha256": "2e3ef0486614e3be55e8e90a1f3d69587c9e011c97ad62d6946c51edfd2f0050", + "scope_boundary": "Only lane:external-series-shunt-dc-operating-quadrant-v2 and its exact original observable/physics predicates. Scalar admissibility operators and pairwise norms keep their original meanings.", + "not_direct_fixed_reference_N_reuse_rule_ids": [ + "rule-4d5651fa5504122cfc3eb710", + "rule-c25420c27b68217d3e75ee94" + ], + "active": false + }, + "original-lane-c8c8e3698ef7d8d7": { + "id": "original-lane-c8c8e3698ef7d8d7", + "status": "original_contract_only", + "comparator": { + "source_id": "lane_evaluator", + "symbol": "_observable_delta" + }, + "citations": [ + { + "source_id": "lane_evaluator", + "symbol": "_observable_delta" + } + ], + "original_rule_ids": [ + "rule-ecf9c8996b223f42bb1c52ce", + "rule-0cc25a2513edc2a0b6e6d3ac", + "rule-0e0113905ff3f97875b0c078", + "rule-9730f58cd4dbcc9e7904d816", + "rule-707eb815337a7d693c3ade1d", + "rule-9c402f0619c972aab8877f9b", + "rule-fe5d94d7ef1300f61832dca8", + "rule-3aaa9541b94f4d246f6117c0", + "rule-dcdc76767d440a3455cd0d34", + "rule-7b8c9e1baa93832fb122f1bb", + "rule-f6c2b808f376292a2e927fa9", + "rule-e1ab452ad2fd6b69efa5cb21", + "rule-69fb7a808bb5309d3b60adb5", + "rule-4734e6aae16c3920b26c27a6", + "rule-452b51d42f69de3d88ccb5e3", + "rule-04e49701c40bcbd34a41b613", + "rule-78ff2cbdbdb6ae9996966aa8", + "rule-a517a356dd017694965e1ca1", + "rule-04f72b8d573939e9b4dd85d1", + "rule-48692c91bbf2d3712caa9754", + "rule-f0cef4f61ed4baf8d8243b66" + ], + "original_rules_sha256": "e19072cf2b01a5669af021565e11cc075df69bfdfd506ebe5355a6cbc8331cc1", + "scope_boundary": "Only lane:external-series-shunt-dc-v1 and its exact original observable/physics predicates. Scalar admissibility operators and pairwise norms keep their original meanings.", + "not_direct_fixed_reference_N_reuse_rule_ids": [ + "rule-9730f58cd4dbcc9e7904d816", + "rule-707eb815337a7d693c3ade1d" + ], + "active": false + }, + "original-lane-db3616410333cfd2": { + "id": "original-lane-db3616410333cfd2", + "status": "original_contract_only", + "comparator": { + "source_id": "lane_evaluator", + "symbol": "_observable_delta" + }, + "citations": [ + { + "source_id": "lane_evaluator", + "symbol": "_observable_delta" + } + ], + "original_rule_ids": [ + "rule-b237ab93ef594c523990b1a9", + "rule-5c1f6af5446c2d1b0571cf42", + "rule-c62b38ed988357199b8e3355", + "rule-62ca2a09770f42e7938c600f", + "rule-5ec2c0c257f1759daa9c8c1b", + "rule-3ce4a6bc8c86e05354f678e1", + "rule-5dcdd52f385c2acc05ff5421", + "rule-065a13580498ee35881d895d", + "rule-22bb3a549555d26c7c1a5d51", + "rule-0704af34cd57abe656b6ac70", + "rule-2176b863964509f7fad1c178", + "rule-39fa5599a76eff93d1509177", + "rule-462a0b7a47aa697807f536cf", + "rule-f0c8506ba46d99338fa3b0bb", + "rule-b1d8ab7c611e7e44cf82aeb7", + "rule-95b606eabf058556d7c6a7f4", + "rule-339426cb03e291c69c5c59e9", + "rule-29c41c1e0c5e976378c54f1b", + "rule-7cbc3aad14b20cac2c522cfc", + "rule-ed21aeb1cb6e18cbac743e1a", + "rule-34a78599f06ebfe9b9f2bd3f", + "rule-54380f8e8a7496a2baa990f2", + "rule-e3258661fd0d597746b1212b", + "rule-8c6a2250fc520a76640ee17c", + "rule-ef4c456bf611bdb7cd8bda36", + "rule-c59636af5a09844d9d41fc02", + "rule-54f571467643d7cff786e011", + "rule-7d1acfab131dc13d9b09fe30", + "rule-3567561cc7dbd09ffe57e58f", + "rule-d28f9408cac1640d7799461f", + "rule-2b9f430bd54bcf60b476a0d3", + "rule-e15bf6440b405f4f416a3cf8", + "rule-9bb0f62b8483c4669379c89c", + "rule-5d94458eaa4aa46deb3f1f9b", + "rule-5287e9dc813b6f16c264bb25", + "rule-46cb2d34f3110dfd6410f935", + "rule-a677bf072a588e714b7b37f8", + "rule-e1fd27d1bc0b5a366dee1d64", + "rule-086341bb7b9978fa46b87db3", + "rule-02c8755e6fce67e26b7ddfb0", + "rule-11b747e74b9a6fcfa05515db", + "rule-e70d38bae00cf4dc4707fe46", + "rule-5d73f05cb0469493ba890ff6", + "rule-6b54202ea5782a70bba4c44d", + "rule-a8e156be9f16c642699de4cd", + "rule-4347da77461f9e6ec35a3281", + "rule-d92eb73f5fe3ea407badc578", + "rule-6ba1ab7608a40c450c127a9a", + "rule-4f27a0e8b5f5d69b5b827e5e", + "rule-5afc8154ebb5b51eacdeb919" + ], + "original_rules_sha256": "7b74c8d02058ff5969b0c7a88f0539ec73df002d0413bf201030422aaebd7398", + "scope_boundary": "Only lane:foundation-physical-homojunction-resolved-v2 and its exact original observable/physics predicates. Scalar admissibility operators and pairwise norms keep their original meanings.", + "not_direct_fixed_reference_N_reuse_rule_ids": [ + "rule-5c1f6af5446c2d1b0571cf42", + "rule-c62b38ed988357199b8e3355", + "rule-62ca2a09770f42e7938c600f" + ], + "active": false + }, + "original-lane-1bbf89ccef7a7815": { + "id": "original-lane-1bbf89ccef7a7815", + "status": "original_contract_only", + "comparator": { + "source_id": "lane_evaluator", + "symbol": "_observable_delta" + }, + "citations": [ + { + "source_id": "lane_evaluator", + "symbol": "_observable_delta" + } + ], + "original_rule_ids": [ + "rule-b380981d738dd79405c6c319", + "rule-c65af9bd7ee9c9091a77ca47", + "rule-6a719f045554a97edfb8f03f", + "rule-e5ab068abc5a51738adce174", + "rule-4cbc3bcf5b379cbd0a588856", + "rule-1e2b48965ec3d624e02ff24b", + "rule-d3003ff96a8038d4f0bf7991", + "rule-04e865afce5f195b826132a6", + "rule-bb54a91a50dd294f20180db4", + "rule-a38da32261dda170c629d58b", + "rule-12c4f8b572d417a1b3fc835e", + "rule-12977b916fe073e4f4a17761", + "rule-3990a6f874510e8849affa03", + "rule-f04918aa84982042646a1be2", + "rule-128414ebcf1c6576e60161d7", + "rule-4762cd17ddf65884a784f385", + "rule-832e3ffa5bdcf5d9bdbd7e30", + "rule-498360bd8f0f0def82994f14", + "rule-96325eae22cac7ab5a00e883", + "rule-8b0b7ef6b4fd8519d38a762c", + "rule-f3aa9036a79edec3395b5251", + "rule-3c06603beb17986af49f3a4f", + "rule-9ec2c5bd0f5f74d365be8a1b", + "rule-0dfc3f241669d32fe19757d3", + "rule-35af8ca89f4c3620ea2eea82", + "rule-b3d4abd41416017863dde205", + "rule-73fa3c12e938df05801a8c3c", + "rule-9613109192ebdd775e9bf6c8", + "rule-8fa8bd09a2269715b15ffcc2", + "rule-56ed498870085812076c1c1f", + "rule-238fd7618c83cf6843c013a0", + "rule-1d6eec78c76bb4f35645eb85", + "rule-e87c56b14bfd6a9c79907ace", + "rule-491641188a42199aaf203f69", + "rule-458755d0b2d33e4739ee5003", + "rule-f101d98d649ba16e519d9dc2", + "rule-f7fc430b0476fe5eb15bf63a", + "rule-59d881aae4e50fafcaa37b31", + "rule-170124f154bd8fe72574b4b4", + "rule-191ccb67cb5091a9e6cfa270", + "rule-ff1f989aefe1dfc5179e2bae", + "rule-f68be4a2651567ae6a72ce89", + "rule-d39aa2af8cae6f35df7ca40e", + "rule-4740b522b7dec04aff0b1dde", + "rule-d9372ad060fd952df7b776ba", + "rule-04989810933b9c5c3407d56d", + "rule-b143a5e003a15468c53bc660", + "rule-2011718624321daf9b70dce8", + "rule-ee82add0bcf07d507886598e", + "rule-44a888741a2d03ce19c0d408" + ], + "original_rules_sha256": "304e9f67596faeed454be105712fbbbaaeda4c9adb5c78cc945272b99047f682", + "scope_boundary": "Only lane:foundation-physical-homojunction-steady-v1 and its exact original observable/physics predicates. Scalar admissibility operators and pairwise norms keep their original meanings.", + "not_direct_fixed_reference_N_reuse_rule_ids": [ + "rule-c65af9bd7ee9c9091a77ca47", + "rule-6a719f045554a97edfb8f03f", + "rule-e5ab068abc5a51738adce174" + ], + "active": false + }, + "original-lane-42bf2b940134e62c": { + "id": "original-lane-42bf2b940134e62c", + "status": "original_contract_only", + "comparator": { + "source_id": "lane_evaluator", + "symbol": "_observable_delta" + }, + "citations": [ + { + "source_id": "lane_evaluator", + "symbol": "_observable_delta" + } + ], + "original_rule_ids": [ + "rule-bb34b7c2ff63a4e6c1d42261", + "rule-292ed9222b34f2019f5c3035", + "rule-943372475a4e130e604fb81b", + "rule-bfa2c345692d37716b5036ea", + "rule-e499bd98985561efc61385ce", + "rule-055a0eaf849fe00b766d78cf", + "rule-ac60376ee96a00f9c99b2d6b", + "rule-f37e14ac46bbc6ff17ab775e", + "rule-a1d9c5b364d6a22b5582c9f3", + "rule-bf68ee1071c764fab30a2cf3", + "rule-78adbcd862529d2f467540f6", + "rule-bd04b01aa17a856cdd354e1e", + "rule-c56367c13122d7665c845bdf", + "rule-7a0d9306156f4b2796a03ef8", + "rule-aa5af25e66655979281bcadc", + "rule-db18b033bc9ddb23bc289c10", + "rule-9388b57f0c0349c0cd70d35f", + "rule-b4e7dd7a370ac3ae1c6c597c", + "rule-0919e71000637fe9957ba59f", + "rule-5367e5131ede5d9e782343aa", + "rule-f38b9291805362fb431405ca" + ], + "original_rules_sha256": "56e5985129294e0ec2d2d51158a5e2e3b643b227aa50a3ccb7b71501a0a3223b", + "scope_boundary": "Only lane:incomplete-ionization-bgn-temperature-equilibrium-v1 and its exact original observable/physics predicates. Scalar admissibility operators and pairwise norms keep their original meanings.", + "not_direct_fixed_reference_N_reuse_rule_ids": [], + "active": false + }, + "original-lane-b0877f36f5bf04e5": { + "id": "original-lane-b0877f36f5bf04e5", + "status": "original_contract_only", + "comparator": { + "source_id": "lane_evaluator", + "symbol": "_observable_delta" + }, + "citations": [ + { + "source_id": "lane_evaluator", + "symbol": "_observable_delta" + } + ], + "original_rule_ids": [ + "rule-26210e984f2cd81eb2d38b72", + "rule-722f8831b5f82f8f72d68b1d", + "rule-4733c8d207e9b0511319f76c", + "rule-65ffc6a1efd595a5b8cbf66d", + "rule-4294cccc1d5cc596b4d72ef0", + "rule-9b25f1d9a10da126d954e2c4", + "rule-8f530891eb0ef2b3578c6684", + "rule-9db939028491b4b283b3e63e", + "rule-fad81ef58a23c67791265c1e", + "rule-2de1c9dc8a604dbf2cbf7d98", + "rule-fc28af7dafbb40eb8fb565b9", + "rule-5cc009d5c7d6427d98e511e8", + "rule-0ae96bb5969f113225d79aca", + "rule-2b064348486e46fa92da190c", + "rule-89bba4b93ae56f0c46731f89", + "rule-b416b5ceb6f98d6d0328aece", + "rule-1e14d25eac5dba2682f938a0" + ], + "original_rules_sha256": "62c0c7e35d56c8973ba851ac7177b63eedb542b1e5c499f7505fe993595a2f3e", + "scope_boundary": "Only lane:incomplete-ionization-temperature-equilibrium-v1 and its exact original observable/physics predicates. Scalar admissibility operators and pairwise norms keep their original meanings.", + "not_direct_fixed_reference_N_reuse_rule_ids": [], + "active": false + }, + "original-lane-f3d0d1307884e5e8": { + "id": "original-lane-f3d0d1307884e5e8", + "status": "original_contract_only", + "comparator": { + "source_id": "lane_evaluator", + "symbol": "_observable_delta" + }, + "citations": [ + { + "source_id": "lane_evaluator", + "symbol": "_observable_delta" + } + ], + "original_rule_ids": [ + "rule-7d7062045f5db3ddcdde1ec4", + "rule-d80d630e75e55952ccd0fc18", + "rule-fefc354c65b86c41121846e0", + "rule-449a36c74b21a2dc3d37d355", + "rule-f8790f2041c83ad309a595a4", + "rule-fa6fee4d30b6d465bff9c6a9", + "rule-7664bb937916ddbb8fb97210", + "rule-82ca5065fa42d43f46a0e31f", + "rule-5335d771c411a2d42a850908", + "rule-a93396d176c2680755348840", + "rule-f2149d8c415225baf0d2a359", + "rule-cbda6c3678dc399bc2322b8a", + "rule-be4a60e6910440e27de842c4", + "rule-f631613dde22e726c5c46ef2", + "rule-597565c087a9a715418dd121", + "rule-0d10677fb4b9463eac0cf670", + "rule-2c07110fe4ebc07cc7cfef15", + "rule-f8a577275449db9fd649fa61", + "rule-5fee7ddc4d99e5684cd902e6", + "rule-98099010a010af01b0c95b65", + "rule-82e12d69b8a5e4f01e4a6338", + "rule-1d7ef7eef711d81c63b8d9b1", + "rule-12a789e57c1b7a6aeae013be", + "rule-2f887ce99ed0fff15bee44af", + "rule-71faf84963a27cdc2dac0820", + "rule-30d3ba13de3a025a23abdb1f", + "rule-3ed9525bf67c68408981c1ed", + "rule-eb16ea3d60b0075d78e354d0", + "rule-aeef34a5bff26c90ee6ac7cc", + "rule-14c60819503e2cd9529d551c", + "rule-75b10581e969f78810a9e45c", + "rule-7f0a5978207fdb98d239d39b", + "rule-5e66064040c6b12d3d6e3c9b" + ], + "original_rules_sha256": "a29fc34c1ec975d419ac9d0f49c18bd22710c109a3fbf02298977d105dea5853", + "scope_boundary": "Only lane:interface-charge-device-stress-resolved-v2 and its exact original observable/physics predicates. Scalar admissibility operators and pairwise norms keep their original meanings.", + "not_direct_fixed_reference_N_reuse_rule_ids": [ + "rule-7d7062045f5db3ddcdde1ec4", + "rule-449a36c74b21a2dc3d37d355" + ], + "active": false + }, + "original-lane-e95ec3a450b16504": { + "id": "original-lane-e95ec3a450b16504", + "status": "original_contract_only", + "comparator": { + "source_id": "lane_evaluator", + "symbol": "_observable_delta" + }, + "citations": [ + { + "source_id": "lane_evaluator", + "symbol": "_observable_delta" + } + ], + "original_rule_ids": [ + "rule-83902bd0c38b52c4294c2f56", + "rule-608de085722fd784672cbaf1", + "rule-e9657b85d9e8acf43bf894f4", + "rule-e55921ddfc33ffaaec6ff51a", + "rule-f67f643a44df6aa33157a3e5", + "rule-d42545c5fa452db8947e7910", + "rule-3e0bd05419f066da4e366e82", + "rule-7a8de8e756818ea5bb0e0b07", + "rule-a63569adb70bfd7ee29dbfd7", + "rule-9dbb9b93157c4c2aaa59b11a", + "rule-926f0e7b3a9ab41d2b517f82", + "rule-fe47f5790cf85ab23570cd9b", + "rule-49e52b4318fd9984de954d12", + "rule-5f82befe524049d3bcb361c1", + "rule-c893d4626f958892285fe3ff", + "rule-865c8b28f7433aa1c23a02ac", + "rule-4c774a77fb761fd6654f7776", + "rule-a2f3826670b06075d543d7ff", + "rule-f5fa947912b6e32df04a864d", + "rule-9a4b453eadf270b4891e43f2", + "rule-2fd0e878a240caf7b1aa6a04", + "rule-d3af577f9ce54a6dbb29d49b", + "rule-5b9604cf515f66ca2f52f9a0", + "rule-a1b14dea8aaa9eaf9281d2d0", + "rule-c590e318f07e795637d82fc1", + "rule-0590eb4a48a27f551f757233", + "rule-27fcabe19e66e6d0f0e4b8df", + "rule-a7a26df87b0fe58e36b2d621", + "rule-b434fde68279c817b3fee46f", + "rule-3bde4ad400943d129fd8a34a", + "rule-ffba42f17d69f21be5ba26ee", + "rule-42c6a8c7a592d8f5d1068e3f", + "rule-5866e5b61eb2ab5e672750c8" + ], + "original_rules_sha256": "9bc3a7d2ba832259b96ee2ce4db3290fab10f173a9cc38006ce1b95cce2fd415", + "scope_boundary": "Only lane:interface-charge-device-stress-v1 and its exact original observable/physics predicates. Scalar admissibility operators and pairwise norms keep their original meanings.", + "not_direct_fixed_reference_N_reuse_rule_ids": [ + "rule-83902bd0c38b52c4294c2f56", + "rule-e55921ddfc33ffaaec6ff51a" + ], + "active": false + }, + "original-lane-5da5b7d376d6e06e": { + "id": "original-lane-5da5b7d376d6e06e", + "status": "original_contract_only", + "comparator": { + "source_id": "lane_evaluator", + "symbol": "_observable_delta" + }, + "citations": [ + { + "source_id": "lane_evaluator", + "symbol": "_observable_delta" + } + ], + "original_rule_ids": [ + "rule-29f3a0adc5aa249aa06ce81d", + "rule-4abf37736c8aad966ec389b5", + "rule-0231e8ed993044cf0c4e9efa", + "rule-473ddb37bd88f40b8845c4eb", + "rule-3c735b654a31dc58fb152131", + "rule-8b995390ab94c0478d3ce7de", + "rule-dac5290dc65766aa8bf6f78a", + "rule-bc8e0b46daffccc8f0073586", + "rule-7b69e655dd51234f83cec2fd", + "rule-e9ed5b140c1bddf5a75e1752", + "rule-50cfb9c2537fe74f0730258b", + "rule-f4abdbe7a2df0a237f810880", + "rule-202769c65d027c59826c6b0f", + "rule-fc69698c2eff09892d26075b", + "rule-5cfe4581bd39e98f9917a297", + "rule-ee0693544f753bc9216185ee", + "rule-811ffa90449274afda59343b", + "rule-ddc4f95378e141cd77602d97", + "rule-c436b10876db2f6b581cde2b", + "rule-7aa41a218e0022eb6c2cd232", + "rule-bea553c783d4d2188a3bd38e", + "rule-2ae40ffe80d743d4f199cb7f", + "rule-a89ef2d344faf51ec26d3101", + "rule-f8c4c087f75ea876c95cd7b3", + "rule-3841048ff23c4704dcc08f90", + "rule-23cbb026c91f691f392a38fb", + "rule-029fb5011a1f0ad278706f31" + ], + "original_rules_sha256": "ae1284e61e258f2c303bb79d609b36d8af4f748111648590fd16e3ccd300e28f", + "scope_boundary": "Only lane:interface-charge-equilibrium-referenced-v1 and its exact original observable/physics predicates. Scalar admissibility operators and pairwise norms keep their original meanings.", + "not_direct_fixed_reference_N_reuse_rule_ids": [ + "rule-29f3a0adc5aa249aa06ce81d", + "rule-0231e8ed993044cf0c4e9efa" + ], + "active": false + }, + "original-lane-54128f5212664526": { + "id": "original-lane-54128f5212664526", + "status": "original_contract_only", + "comparator": { + "source_id": "lane_evaluator", + "symbol": "_observable_delta" + }, + "citations": [ + { + "source_id": "lane_evaluator", + "symbol": "_observable_delta" + } + ], + "original_rule_ids": [ + "rule-79f549f5c6d860853a4bf841", + "rule-f42b9394acb1f33fe50cda17", + "rule-be78d0bff677e97c9a5565aa", + "rule-e98a868fcfb8b5c959dc3ea9", + "rule-c64b520188b8f38ae7cf0275", + "rule-1c077b41fc38472b069df4e0", + "rule-62ab9533599cc4ba79eec8fe", + "rule-120f2c1a7ed66fac6408b6cd", + "rule-d679efb0947f07c030881164", + "rule-1cdf3e993e3740c7ed8cf9a9", + "rule-d2138f84007ca9044babf2f2", + "rule-394926808d7692550b066132", + "rule-2a5ed4e57cf5a4ee66e1f85d", + "rule-3591373baa59ff845eac0b2b", + "rule-70ecd1e12e2db5a9098d5537", + "rule-4828dee365cb5c186434c26d", + "rule-c370c6c1bcb45dc1b5ae7da6", + "rule-888629bc65d0ebcb563d0aa0", + "rule-7f81e8ea40e54d69c88b550e", + "rule-5058023d5e7b64f69b4b439e", + "rule-dfee95fa15d54506742fc929", + "rule-e2590d4410a79552d08843e5", + "rule-d93aa96114767d953f94aad3", + "rule-c2575b249229838e6f1b17d6", + "rule-2c963cba7ee09240ee0a5232", + "rule-e29d4aacd84baf190a9e12e8", + "rule-b27d14bbe8111bb9aed241b9", + "rule-533fbeb98ebafb0dfbeb5d3b", + "rule-9f66bff8a93b5b1fa3439cd2", + "rule-5badf2f7eb6e1043fc3951d5", + "rule-9c921563ced57d5684118f79", + "rule-c98f7a4db624726ac35e4d47", + "rule-c24b966773168c4fd74f3d88", + "rule-8ca7a6ffb1c2cc140df3696d", + "rule-789516d6d506a33046279508", + "rule-e7a0c25d5a74f220df3e76a0", + "rule-c3c27d58c0ad96f4ac51fc39", + "rule-204a0d20ebd6d1136a82028d" + ], + "original_rules_sha256": "fe7515c193ceb6426e40684ea7fcddb3cb50647623fc087eefc4cbeb8d6d9f13", + "scope_boundary": "Only lane:interface-charge-qf-dc-jv-v1 and its exact original observable/physics predicates. Scalar admissibility operators and pairwise norms keep their original meanings.", + "not_direct_fixed_reference_N_reuse_rule_ids": [ + "rule-be78d0bff677e97c9a5565aa", + "rule-c64b520188b8f38ae7cf0275" + ], + "active": false + }, + "original-lane-ee113ad477b8697e": { + "id": "original-lane-ee113ad477b8697e", + "status": "original_contract_only", + "comparator": { + "source_id": "lane_evaluator", + "symbol": "_observable_delta" + }, + "citations": [ + { + "source_id": "lane_evaluator", + "symbol": "_observable_delta" + } + ], + "original_rule_ids": [ + "rule-9d22e74f3615d54be4f1cb60", + "rule-3cb4698459592bf930f425ba", + "rule-46f582458d6fa70c43774f57", + "rule-70b4fa3f95842554c026dfe2", + "rule-1174d1ca661565553d0ec988", + "rule-49690e1a26d0bbe9091228da", + "rule-969e5cfb9a184858ef8fa382", + "rule-5d4aa048bb679d97aa8e8fb2", + "rule-5bbb867708ccbc84bb582962", + "rule-119f213f4cf2ed748bc3f437", + "rule-3cb616d7907f718bd91f19b4", + "rule-a9d2a611b26d305c57d68fd2", + "rule-1c36a294bf08155dceac8afe", + "rule-13ed64b41a8e61480012cebc", + "rule-72bc517758964e81bd79f8b8", + "rule-518285ce50ecda5ad00e8ae8", + "rule-a589724931a1792601cb3adb", + "rule-519f54a9e5479f63e6df88ce", + "rule-c76e415499e0b9ef1aa5801c" + ], + "original_rules_sha256": "9767c453416bda930698e44543d4a4943b03ef67571e767f9ea398daf2fbe002", + "scope_boundary": "Only lane:interface-recombination-charge-off and its exact original observable/physics predicates. Scalar admissibility operators and pairwise norms keep their original meanings.", + "not_direct_fixed_reference_N_reuse_rule_ids": [], + "active": false + }, + "original-lane-84ef85f524daf74b": { + "id": "original-lane-84ef85f524daf74b", + "status": "original_contract_only", + "comparator": { + "source_id": "lane_evaluator", + "symbol": "_observable_delta" + }, + "citations": [ + { + "source_id": "lane_evaluator", + "symbol": "_observable_delta" + } + ], + "original_rule_ids": [ + "rule-50d86dbbcfec8eaf0cdd8f96", + "rule-9df1e5a91d203bda283d8fe9", + "rule-3c22bc1a74324444f4d273e5", + "rule-fb1a2264b308f4a3ae84b7a3", + "rule-4a42e1e5e4315000dd4637ad", + "rule-4527a7a66012264164e2749e", + "rule-f58e4d7f3b14173936d0b1c3", + "rule-e1ffee2b487b2a4160a4485e", + "rule-4bf2492119d4f45eb1fc99a9", + "rule-c24af512596392315dce6a58", + "rule-1f0cd1e70f70788803cb56b5", + "rule-9aabc93dcbeb3c1659d674d5", + "rule-8eb562314a189d557601279e", + "rule-dbe92b55a1f949046023cf40", + "rule-b644666d45680e1b235ec97e", + "rule-4cdfd4ebbc827f74cc1de12f", + "rule-c626d613bee1ffcf223074eb", + "rule-8e040805cf480f60fd7a6048", + "rule-4ba2e701837dc876ec95f527", + "rule-05952dc96c0b172ae33102df", + "rule-4515053eb8faf0850594e0aa" + ], + "original_rules_sha256": "bb3f54d9d20f825918c0520a90547528f44be84c784b0b6e0f7cc00698a38aa6", + "scope_boundary": "Only lane:interface-srh-identifiability-synthetic-v1 and its exact original observable/physics predicates. Scalar admissibility operators and pairwise norms keep their original meanings.", + "not_direct_fixed_reference_N_reuse_rule_ids": [ + "rule-9df1e5a91d203bda283d8fe9", + "rule-3c22bc1a74324444f4d273e5", + "rule-4a42e1e5e4315000dd4637ad" + ], + "active": false + }, + "original-lane-c5f63593f6609839": { + "id": "original-lane-c5f63593f6609839", + "status": "original_contract_only", + "comparator": { + "source_id": "lane_evaluator", + "symbol": "_observable_delta" + }, + "citations": [ + { + "source_id": "lane_evaluator", + "symbol": "_observable_delta" + } + ], + "original_rule_ids": [ + "rule-c9046cfef0b6ef0099c8231c", + "rule-cd658221dd475286814242de", + "rule-b3dd590d8bdb71f286192bb8", + "rule-2d336eaaa312694a2d8759dd", + "rule-af30afa04244972ad32a43ea", + "rule-96f1fc5abe102bf298e0b105", + "rule-72b395a53da75a8310dad7d3", + "rule-a242c5e18f83800d9e48bb2f", + "rule-659745ebc6748f50969a06ca", + "rule-4c405aff8b0f7791dec1a1b5", + "rule-43b47d2034dbad2800e8cb8e", + "rule-5c00430203eee6411ede3589", + "rule-8c17c70c97eaefddae2af41c", + "rule-d83fe5108835980b2f80ac2a", + "rule-ad3ac41edebfa1afc2bff814", + "rule-6b3103f263bd658d6ed07183" + ], + "original_rules_sha256": "017abd2da1bc7ec861f7c04660ea5bb54efaceab3d29a130111cf4da3e75a5f1", + "scope_boundary": "Only lane:ionmonger-ion-aware-dc-resolved-v2 and its exact original observable/physics predicates. Scalar admissibility operators and pairwise norms keep their original meanings.", + "not_direct_fixed_reference_N_reuse_rule_ids": [ + "rule-c9046cfef0b6ef0099c8231c", + "rule-cd658221dd475286814242de" + ], + "active": false + }, + "original-lane-500d85c643804b4b": { + "id": "original-lane-500d85c643804b4b", + "status": "original_contract_only", + "comparator": { + "source_id": "lane_evaluator", + "symbol": "_observable_delta" + }, + "citations": [ + { + "source_id": "lane_evaluator", + "symbol": "_observable_delta" + } + ], + "original_rule_ids": [ + "rule-6e9e9ec09d2b1232262226f3", + "rule-be0316d30f7b2759d0622474", + "rule-0e7b821b1b3d526e05008e94", + "rule-7967e9f06ff15470418b94a0", + "rule-08d921141c923aa3da2b6620", + "rule-9cc7cab6e561dbb2aa2604e8", + "rule-cc56c3d8280aa3a35c185458", + "rule-e29dd4e9175d0ccf7241d222", + "rule-86985464430fecb772ac3c62", + "rule-937326cf6e94d0913a22d245", + "rule-d2247e1c9adea74793f6ff0e", + "rule-75ab84dcd9501ddf73c3872a", + "rule-280cfbf456cac0a649271835", + "rule-12bf50e66fba4d6718da39b0", + "rule-2db1d2a8a58df1563d720f5d", + "rule-8d62b7f9717742c37a8f0214" + ], + "original_rules_sha256": "66ec59fc6c75151872ca1017c6e2523d57502f66b4b98cb99626ca494d924ab7", + "scope_boundary": "Only lane:ionmonger-ion-aware-dc-v1 and its exact original observable/physics predicates. Scalar admissibility operators and pairwise norms keep their original meanings.", + "not_direct_fixed_reference_N_reuse_rule_ids": [ + "rule-6e9e9ec09d2b1232262226f3", + "rule-be0316d30f7b2759d0622474" + ], + "active": false + }, + "original-lane-b59b8f0f474425b0": { + "id": "original-lane-b59b8f0f474425b0", + "status": "original_contract_only", + "comparator": { + "source_id": "lane_evaluator", + "symbol": "_observable_delta" + }, + "citations": [ + { + "source_id": "lane_evaluator", + "symbol": "_observable_delta" + } + ], + "original_rule_ids": [ + "rule-fded901ca315dfe0f9644ff5", + "rule-f6789c1a13c2d9958e6b2faa", + "rule-9933912f9abd8c9f86311f5a", + "rule-039b75af973bb561331615b0", + "rule-9e3e9a0939d488ba0c90675d", + "rule-28974f4f9810463ff7d78711", + "rule-60f9ddda397c517c658f2884", + "rule-5c34ede9a6d5bb4b4da51c15", + "rule-b6b6bb6a4abd3fe5a2327c52", + "rule-f0a2d3e4f0fe228a6a772eff", + "rule-45474de0f61faa3b940254b8", + "rule-a7c64452ac5cb835a067cfe9", + "rule-d856bee5c4f6d807d5b79716", + "rule-83ead8e0cecb69d443b82c2d", + "rule-9cab4511182045b67742f4d8" + ], + "original_rules_sha256": "12e17b1ef249fef544cc46ace884a6f32aa98287f72f71ccdff89fc675494588", + "scope_boundary": "Only lane:ionmonger-ion-aware-impedance-resolved-v1 and its exact original observable/physics predicates. Scalar admissibility operators and pairwise norms keep their original meanings.", + "not_direct_fixed_reference_N_reuse_rule_ids": [ + "rule-fded901ca315dfe0f9644ff5", + "rule-f6789c1a13c2d9958e6b2faa" + ], + "active": false + }, + "original-lane-077aabd76066b531": { + "id": "original-lane-077aabd76066b531", + "status": "original_contract_only", + "comparator": { + "source_id": "lane_evaluator", + "symbol": "_observable_delta" + }, + "citations": [ + { + "source_id": "lane_evaluator", + "symbol": "_observable_delta" + } + ], + "original_rule_ids": [ + "rule-33caecfac95d46ba15f38e19", + "rule-65789ce62d11359973628e0e", + "rule-3f16b1f5248372dd04411577", + "rule-4e0f8ee59417f7f8e3dea876", + "rule-87de8f2f978ccfab41c17980", + "rule-a546c394bb48732665f56bc6", + "rule-f6e4a9f3c485cbf246c95d4e", + "rule-29a4bf5a3d6467aa1b72ccdd", + "rule-647147e2bde527568cd0992c", + "rule-9a8be150ec99c9c6cb9a80f2", + "rule-86cbc6acc8d53002c9ab7163", + "rule-ebab2c73853b2d0c1b0dc699", + "rule-f633642f2a2174b3777721e3", + "rule-076888baf15575cc6521a4ab" + ], + "original_rules_sha256": "203455b54368680f6cb9eabfe74d29589553ea9114a3590bc18b07b8ae154a80", + "scope_boundary": "Only lane:ionmonger-mobile-ion-transient and its exact original observable/physics predicates. Scalar admissibility operators and pairwise norms keep their original meanings.", + "not_direct_fixed_reference_N_reuse_rule_ids": [], + "active": false + }, + "original-lane-f7e0f3e0963801d8": { + "id": "original-lane-f7e0f3e0963801d8", + "status": "original_contract_only", + "comparator": { + "source_id": "lane_evaluator", + "symbol": "_observable_delta" + }, + "citations": [ + { + "source_id": "lane_evaluator", + "symbol": "_observable_delta" + } + ], + "original_rule_ids": [ + "rule-a56db8f180d23a6853a5c1b9", + "rule-4da2dea1fae5cfd4dc772be8", + "rule-270620772eb8934c5072fa9c", + "rule-e4da6121a3df1eb86d1f3991", + "rule-3f045fbfe293694154a191a6", + "rule-a271173132b47826d851b729", + "rule-0c777cb7b63c12f887964bf2", + "rule-8dd7aef8593fa2f49c7bf8df", + "rule-9efc8805966fe2d3729929e8", + "rule-5fe1c3ebf1bd47ec3f1534fa", + "rule-21f7315ce88eec3562428246", + "rule-3255272cb635b9ce65de8143", + "rule-e6744b3e0c8b51f6cd272bb8", + "rule-d3df3e10c20f2d5809603463", + "rule-c16c016ae99fe74d38c3811c", + "rule-7202fcfc91aeb398e9328bef", + "rule-8f76c9024ab99cdd64b7c7f0", + "rule-8967287f0c737495b3f4b107", + "rule-d60ed0f88d6806984e1d8b48", + "rule-d5ddafc6dc12e087706f6282", + "rule-21b705431b7a38666720aca9", + "rule-b5203a745209f02e726db68c", + "rule-6a96fc1b2b3f4dc12adb9a28", + "rule-43cd886f1c9f123e2fb586f8", + "rule-cd0a380f9b277c09857250a1", + "rule-afa93c5da48c56a8cd18732d", + "rule-0cd7f6020030d05378c5d7cb", + "rule-4f89d8aabd6e37dfffa332ca", + "rule-2379503b8d7068cb00c5364e", + "rule-d7dc24afb5a887623da4c7b0", + "rule-c4b44f57668145773ffee32e", + "rule-f073ff2f30f4d64d13e12353", + "rule-c4269a32bdbb741a70fa60c8", + "rule-5c085f7a71f43a01679665c5", + "rule-6804ef2594e9430cf5d85341", + "rule-c2dabce945708704dc33c10b", + "rule-a2e46125ee0d801dc258d5e6", + "rule-4dcde47c26532a615a647e2e", + "rule-5baa310b44592a107368cf19" + ], + "original_rules_sha256": "6868268c1980a79238156a7553f3cfa19e75f9974f7836c8a822f878345cac4c", + "scope_boundary": "Only lane:multivalent-explicit-defect-qf-dc-v1 and its exact original observable/physics predicates. Scalar admissibility operators and pairwise norms keep their original meanings.", + "not_direct_fixed_reference_N_reuse_rule_ids": [ + "rule-a56db8f180d23a6853a5c1b9", + "rule-e4da6121a3df1eb86d1f3991", + "rule-0c777cb7b63c12f887964bf2", + "rule-e6744b3e0c8b51f6cd272bb8", + "rule-d3df3e10c20f2d5809603463", + "rule-c16c016ae99fe74d38c3811c" + ], + "active": false + }, + "original-lane-d78898d8e12e7813": { + "id": "original-lane-d78898d8e12e7813", + "status": "original_contract_only", + "comparator": { + "source_id": "lane_evaluator", + "symbol": "_observable_delta" + }, + "citations": [ + { + "source_id": "lane_evaluator", + "symbol": "_observable_delta" + } + ], + "original_rule_ids": [ + "rule-942134ae9b7a9dc55b02ef49", + "rule-8e2cf45c0af855572c3e2540", + "rule-8df79f1032e31cc0e8bd095a", + "rule-06d2e1e75b91bd9e29f816a5", + "rule-3b904bc64139d933dd765761", + "rule-60d34e16ca70d57375efbfba", + "rule-0c35d80a21b2877abec56f3d", + "rule-303416e4737ba4dc41036b98", + "rule-24d4af0347e39accb952267d", + "rule-a295363c736fb80d46c24a78", + "rule-c838566a0853cdbe7c08e224", + "rule-2bcc70308a4d04c2c30419fb", + "rule-8b13d675c32a9df8aa3c0e3a", + "rule-5c9bade799f9d4e3a9bffa6b", + "rule-6ecd8b82178663e572911e33", + "rule-1f6a32fcf403d55ab8d229b0", + "rule-32611d3ee8b95143f8418e2b", + "rule-e45b304c8c4bb158988546e8", + "rule-fae697a438498b3c40768625", + "rule-0fea0cc5c742231201d98340", + "rule-24852b8b821acae2fc72b392", + "rule-82e9d631991844d2122e1690", + "rule-f82d1dda6cd69c6de4620163", + "rule-69bb183694ffb905829a19d5" + ], + "original_rules_sha256": "67de4f05cfcbd04322374ac49b9b7108d91aca1ca0145e09e13c332d24e43151", + "scope_boundary": "Only lane:no-ion-dae-transient-v1 and its exact original observable/physics predicates. Scalar admissibility operators and pairwise norms keep their original meanings.", + "not_direct_fixed_reference_N_reuse_rule_ids": [], + "active": false + }, + "original-lane-5547d9e78904e730": { + "id": "original-lane-5547d9e78904e730", + "status": "original_contract_only", + "comparator": { + "source_id": "lane_evaluator", + "symbol": "_observable_delta" + }, + "citations": [ + { + "source_id": "lane_evaluator", + "symbol": "_observable_delta" + } + ], + "original_rule_ids": [ + "rule-8e8123b7826062a8ee55f217", + "rule-0aba7323277c3fb3f1dd1732", + "rule-82d373ef2a180fc1d8512269", + "rule-f5ffde0e498815f5fa1af9f3", + "rule-dda3c703724fd33cbf32fa5c", + "rule-c92cc67a39dc52d749827d2d", + "rule-77805b408cdf8af8e5a03759", + "rule-3c01f128cd7da9883d67481d", + "rule-efa560b2ed3c1bbcc06f9f0e", + "rule-e71d78fa33b69c4deffefea8" + ], + "original_rules_sha256": "82f2996c7acd4dc8f667d19c8ca1a6eca20cb8f60d57c680bab49f7ec0262a1b", + "scope_boundary": "Only lane:scaps-mirror-frozen-ion-ss and its exact original observable/physics predicates. Scalar admissibility operators and pairwise norms keep their original meanings.", + "not_direct_fixed_reference_N_reuse_rule_ids": [ + "rule-0aba7323277c3fb3f1dd1732", + "rule-82d373ef2a180fc1d8512269", + "rule-f5ffde0e498815f5fa1af9f3" + ], + "active": false + }, + "original-lane-0350f1d065d6fedc": { + "id": "original-lane-0350f1d065d6fedc", + "status": "original_contract_only", + "comparator": { + "source_id": "lane_evaluator", + "symbol": "_observable_delta" + }, + "citations": [ + { + "source_id": "lane_evaluator", + "symbol": "_observable_delta" + } + ], + "original_rule_ids": [ + "rule-12e734946179120c86ae94d6", + "rule-f6b4655c0b9f6df763e36b9b", + "rule-f65408849492d462987345b8", + "rule-b773babfe18004036ec95109", + "rule-7dcf71ba4e3faad850e749ee", + "rule-1ee0c78a0f757689b545e2e8", + "rule-acfa25d072e112a3dcf4d1d0", + "rule-f218fe2267014a6101e1a3ed", + "rule-82a9fe1187f22f07449c8e8f", + "rule-ee24fb3fd352d704870d7848", + "rule-0bebe80a12462a4337f21bbb", + "rule-b3f03207d7054ddf8d4e2b84", + "rule-029e5bc357714e0b7c8372d3", + "rule-5dae55809693fb6396d848b2", + "rule-6d56cae3abd7a9b777cf3c8f", + "rule-2ff7746385090be0b1dce791", + "rule-24465960a68364077ef5d70a", + "rule-22ade0ae89870d233fdce80a", + "rule-66433b13dc2eaf0da7b53391", + "rule-3a471ee72d60789125d1645f", + "rule-3d796fcf7d7810438daa9d5c", + "rule-5b3ac80dcba85068ae80beeb", + "rule-780b27460304ddc0878a1ec8", + "rule-ab2749a6266ad23952f8a192", + "rule-25880455bb737c02b6f3b6ef", + "rule-78637d98c1813a6bedc3fb4b", + "rule-471aa9f41b4c383bf4ad4d4c", + "rule-4ef9a7c0aaa67833d04e8606", + "rule-f7a3a823bc746c00a461b319", + "rule-616debbd3a114a7d0a32c49f", + "rule-dd7881cadd69e555bf0ea62b", + "rule-6094f6c8f5379734b7ee937e", + "rule-424ac372ac919ca7db1c760b", + "rule-233d2f59ea00f367ada628e8", + "rule-e81919bfc06eef31d843c064", + "rule-be0479e48c9c6b0fcd858b8e", + "rule-03551ad4588a9863e3874320", + "rule-e24af5bc25e8cd4c2efb2f23", + "rule-b69aed4a9488566b29a4c2e1", + "rule-6b4886ce456ecccfb78a9679", + "rule-41d61f9a5f3cc4c25c7bd8cb", + "rule-0c618d92d310883de99b92fe", + "rule-67e290b44f6f84078ad9996a" + ], + "original_rules_sha256": "539dec25c83e89cb02a5f618adec2792bb5ed5cd3418a3cde6c7603b68914c8f", + "scope_boundary": "Only lane:single-ion-algebraic-interface-dae-transient-resolved-v2 and its exact original observable/physics predicates. Scalar admissibility operators and pairwise norms keep their original meanings.", + "not_direct_fixed_reference_N_reuse_rule_ids": [ + "rule-1ee0c78a0f757689b545e2e8" + ], + "active": false + }, + "original-lane-1816209e76bb9ac0": { + "id": "original-lane-1816209e76bb9ac0", + "status": "original_contract_only", + "comparator": { + "source_id": "lane_evaluator", + "symbol": "_observable_delta" + }, + "citations": [ + { + "source_id": "lane_evaluator", + "symbol": "_observable_delta" + } + ], + "original_rule_ids": [ + "rule-2357879a230eb20b91951d6a", + "rule-8353fdb92b54c5951f54749f", + "rule-78e59ae406939ef71afedf9d", + "rule-5a7d65cdc796924ef9940692", + "rule-72bee9995f5c463892096431", + "rule-056d242d576df0058a01e763", + "rule-0c0909ecde5c86da6b241d6c", + "rule-ee5fd74b8cdeda2da7ff48e5", + "rule-5ae1e38e279cf8c7c0eb0888", + "rule-5eb941b91de8a1936636e6bc", + "rule-fe675409476b45338224597f", + "rule-e6eed5b94528a7e12c721923", + "rule-ce05cbbf43e5e2fbd1f520dc", + "rule-b831a827e56c8ef959b1c9bf", + "rule-f8ae8064921492db89d67869", + "rule-13d7f0bcfc53c52344d4db4c", + "rule-c9752d84bb353362ff793142", + "rule-ca66e700c23f32158855cb23", + "rule-355711d1aa1cbd2238d2f767", + "rule-a4a6c2550df54d48c00b25f1", + "rule-6f78f2bde59d448479fbddbc", + "rule-ba179011e6263ad5fbec47f2", + "rule-61a1ba467dbb09e3ad39146d", + "rule-87191afb20ff39bc09315003", + "rule-f176fefef9cf266262d9c7a6", + "rule-84fb0acc60afdba722ee615f", + "rule-775969e1d70ffd235a03bb56", + "rule-3d314b7f89dbd92cc865b96c", + "rule-e0626620ba72842e9ddfec4e", + "rule-159d525e9717df485621fac6", + "rule-00c9c680eaf9b437382d79e0", + "rule-38ce219811195841f625c7d9", + "rule-07ab10388145fd168ab79742", + "rule-f45974030f31b16631b72d1d", + "rule-533c6beff6d58129ec425e82", + "rule-ffa811517820352a2e869017", + "rule-1a7934aaaf7770e0509f7dc3", + "rule-2857e44fac5584a8517819bc", + "rule-217e6d9870b5e76eb1ce0af3", + "rule-13926f3de8d684c889fc4943", + "rule-310a1077a0c5287276ecdf00", + "rule-340a01279c12d4dd131fbca2", + "rule-afcf12bdde8f6ea374bd7b69" + ], + "original_rules_sha256": "121778bfd160388562931600e991159c4ec9cf828986a59378ba6a201d5c0de6", + "scope_boundary": "Only lane:single-ion-algebraic-interface-dae-transient-v1 and its exact original observable/physics predicates. Scalar admissibility operators and pairwise norms keep their original meanings.", + "not_direct_fixed_reference_N_reuse_rule_ids": [ + "rule-056d242d576df0058a01e763" + ], + "active": false + }, + "original-lane-db596cd22f67423d": { + "id": "original-lane-db596cd22f67423d", + "status": "original_contract_only", + "comparator": { + "source_id": "lane_evaluator", + "symbol": "_observable_delta" + }, + "citations": [ + { + "source_id": "lane_evaluator", + "symbol": "_observable_delta" + } + ], + "original_rule_ids": [ + "rule-603c5988adf8ece1b3d30201", + "rule-73d989d998b5c3d1cd26fa09", + "rule-e4f65e9afc16543a29da3a91", + "rule-e8dacc813d4d60a73c7d2b35", + "rule-e44610a2f264f9043c30a87c", + "rule-1e8592a6c6e545f628686a21", + "rule-2b4481e0b3fa2122a13f3bc8", + "rule-53c68546ecf1a8ff72780d66", + "rule-2fd11f67bbb5d09dfc2c82b5", + "rule-3c3d9305037df2d8ce065b39", + "rule-7cccd768b9cf1e9e2a3acbe3", + "rule-2aee751f7cd9173f6654047f", + "rule-2cdcc7bdc93c272f389a3dcd", + "rule-a5c80616a3351ac42e115662", + "rule-4845b46d97e92e95688da6b4", + "rule-d0252969c1c306ea717969fb", + "rule-6685df2731279f8ba8c945ea", + "rule-d29566528551522ad65239c7", + "rule-cf037877fe34e91682b3e29e", + "rule-46a8d04076b1b791320e5b01", + "rule-a7a13a0882eb3e261b982f57", + "rule-eb8e327eb5e7820cb612d56e", + "rule-0310d9fb03f7b7e96d5e2705", + "rule-ced97a4e5742851ed82d8c42", + "rule-9a116d13c56666e5975ce321", + "rule-e81adf780bffba6798ad7818", + "rule-1ac71b0fe9b8cfbbc7f376a5", + "rule-4cbac9c1f5e5c6083a2bbb2f", + "rule-a4287217fdbfc2aeaac6c4ec", + "rule-c8019933cf1c041c479620b8", + "rule-3f391f22f9f97b04a84d9c52", + "rule-c814246aea0faec7632b06da", + "rule-0a9707ddcdd8f55557afd348" + ], + "original_rules_sha256": "d79d6df269fe4eac1a2187d136edad3c0711f220a82eccb84254b0b1a2cec070", + "scope_boundary": "Only lane:single-positive-ion-dae-transient-v1 and its exact original observable/physics predicates. Scalar admissibility operators and pairwise norms keep their original meanings.", + "not_direct_fixed_reference_N_reuse_rule_ids": [], + "active": false + }, + "original-lane-ea8013ec21a124fd": { + "id": "original-lane-ea8013ec21a124fd", + "status": "original_contract_only", + "comparator": { + "source_id": "lane_evaluator", + "symbol": "_observable_delta" + }, + "citations": [ + { + "source_id": "lane_evaluator", + "symbol": "_observable_delta" + } + ], + "original_rule_ids": [ + "rule-350c26491c206657e1b239bd", + "rule-69ca32ee0c23605cdb8b2b58", + "rule-44fd33206d1d2cd032a4f89b", + "rule-1dd0a3992196264182ba1850", + "rule-ad414809cbf0c05172a40d34", + "rule-7ea22e95ac5e477fe32c9df3", + "rule-38bd9d997a804767fe4ce81a", + "rule-0b64670cda2f5f412084095f", + "rule-5d5d73aac8e26fa489bf3c87", + "rule-2db597a82f2e615f1a332bcc", + "rule-e4255e6dec5c4af3249b12f9", + "rule-e2727348fe87da0a6ca1cae7", + "rule-eaf07eacb44adc070a1f3648", + "rule-47cfee98917068227205793d", + "rule-462b303d81b95d6519eed703", + "rule-6d0fa75543d4ab4bc3c19574", + "rule-9f6e0f69cc5a8369492c89eb", + "rule-fd9974513665d1585181b9b1", + "rule-04933f7a582cd56e7869b645", + "rule-34f628efec0f41cbd485c252", + "rule-0cd5ee5a2b61292bd9abe134", + "rule-6437832f7258363102576ec1", + "rule-b50b4058d41dae8ead9c01ff", + "rule-c187c0e86f5cd0098383b4e4", + "rule-7556266eb75ab24e4f237074", + "rule-9681eb25004187c91a628421", + "rule-2e4bfdf175b5a35b987f0708", + "rule-506cb4acef893d714136aa36", + "rule-bf9a07181971a72977679088", + "rule-3e8d524080c806a7be70f6a7", + "rule-bb9a4a849577052fbf344dab", + "rule-1d60b1ce12e2201bd5a9a58e", + "rule-100c4df821cd7759ff661e6e", + "rule-60325b9deaf7f1c046849e4f", + "rule-3e9147fc8392a1e7c40842ed", + "rule-0ec4bd9b4188ae6af13d4bb8", + "rule-d0b866ce13f03b425fe03412", + "rule-2bbdcfd62c45fbdb83e10dc2", + "rule-2faf4c40e00861be5b5de30b", + "rule-ea05d1fdf588d283c8296690", + "rule-109279ed677db5cd885b0906", + "rule-caa8a2aa953f34e497713d0d", + "rule-db0765ff89f23bbc7fe017a1", + "rule-e4a50a79e96a9cda2d6105ca", + "rule-8b18fe9ab80fc07b5a661458", + "rule-e0b18802aff59674d893361e", + "rule-46db4835b42843ded35e9cd6", + "rule-dbe975b42fa157bbf2c0d909", + "rule-3da0af6c9f68dfa1348e53dd" + ], + "original_rules_sha256": "c04b126aa0cf4fcfe002d1a0e60b488fd658f3611333387b35dad61daf1c2178", + "scope_boundary": "Only lane:spatially-graded-explicit-defect-qf-dc-v1 and its exact original observable/physics predicates. Scalar admissibility operators and pairwise norms keep their original meanings.", + "not_direct_fixed_reference_N_reuse_rule_ids": [ + "rule-e4255e6dec5c4af3249b12f9", + "rule-e2727348fe87da0a6ca1cae7", + "rule-eaf07eacb44adc070a1f3648" + ], + "active": false + }, + "original-lane-b6717f964e395329": { + "id": "original-lane-b6717f964e395329", + "status": "original_contract_only", + "comparator": { + "source_id": "lane_evaluator", + "symbol": "_observable_delta" + }, + "citations": [ + { + "source_id": "lane_evaluator", + "symbol": "_observable_delta" + } + ], + "original_rule_ids": [ + "rule-599495db034980415df3ef77", + "rule-e53f6b9ff728448d3dee8742", + "rule-6057fec66438774089529ae5", + "rule-c7e76cf94de5adf9769c4abd", + "rule-ffd68c9cda8ec5e52ade759d", + "rule-3b3c761ed0654e69c889c733", + "rule-5696b4b75ccd073228d64047", + "rule-ef3195e79db7728095d5173c", + "rule-cec4cf36f53e9d5da02bd8ed", + "rule-0f5046ca24b01bdf8a20d73e", + "rule-a96e77576c295f31e186852a", + "rule-fca70b3d2e22c65ebbed0659", + "rule-a5568ac78b5a6fe794e00c71", + "rule-e966f6023c396c660acf200b", + "rule-416fdf3deb7c05bfa83d6c88", + "rule-35ab6810183866af90647a94", + "rule-b065212c31dfd26300b2b8c0", + "rule-e9052071258766df7fc894bf", + "rule-c3bfb64d788ba6354bfb6f34", + "rule-924dfd6810c8458fb14e055e", + "rule-3ca06db69953bd7de2e9fa4a", + "rule-ed080bb5333091392be55550", + "rule-b9b144ad4fbd4464c52cceb9", + "rule-2c4f1d10f724024f810c35ba", + "rule-2eb45091a5046caf3c4782a3", + "rule-e318afd02ee46487a3d56de0", + "rule-7741bd8893d226145d130e3c", + "rule-18631ad599e4913f1885586d", + "rule-a7bb37b00c7c30bd7b3d685c", + "rule-9c29e29809829601e5f8a9a3", + "rule-47df80ccf79ba4fbc91cb28f", + "rule-2376c1d60b18e56fda7d1d01", + "rule-2b3c5dd80f60e7889ddf31eb", + "rule-49fd4bc7c60bf99072ed46db", + "rule-3b82effb0b578b3978052619", + "rule-123af95150ee827ef90217b2", + "rule-076b5e6307485f9690d5f165", + "rule-489d70966723b90f38bbec35", + "rule-57811c18c6367bc0949b9024", + "rule-d4e470cffaa37b4b18de4d38", + "rule-66c2a573ee2ba4ee07661a03", + "rule-ab9cb61f75054a389c68d11f", + "rule-cb70a871dd0b254b36392b16", + "rule-5ce83a554b6a61d95659a383", + "rule-2a4d009e4c446319a693cf1e", + "rule-57ea2c4edc03c1e52a3f2a40", + "rule-6965da0953c0dd8860494484", + "rule-887886d2f300cd65222166ec", + "rule-0219217404fb81a0eda702e6" + ], + "original_rules_sha256": "660beced14a37837fdb08a4f44fc1b9e18afa65727cc5d9ef81ddcaf045abbcb", + "scope_boundary": "Only lane:spatially-graded-explicit-defect-qf-dc-v2 and its exact original observable/physics predicates. Scalar admissibility operators and pairwise norms keep their original meanings.", + "not_direct_fixed_reference_N_reuse_rule_ids": [ + "rule-a96e77576c295f31e186852a", + "rule-fca70b3d2e22c65ebbed0659", + "rule-a5568ac78b5a6fe794e00c71" + ], + "active": false + }, + "original-lane-13c1b80fd89d147a": { + "id": "original-lane-13c1b80fd89d147a", + "status": "original_contract_only", + "comparator": { + "source_id": "lane_evaluator", + "symbol": "_observable_delta" + }, + "citations": [ + { + "source_id": "lane_evaluator", + "symbol": "_observable_delta" + } + ], + "original_rule_ids": [ + "rule-4e00bd7c43a88f316645aed6", + "rule-86a671b77bb154b6ff4a05fe", + "rule-d21e16329274c8f20ec383b1", + "rule-b9981c1e4bf1ab0decfe0486", + "rule-0288b96c57c02d1909304abb", + "rule-fcae8dd5ff230bbaf5f4b408", + "rule-a39dec7b8b2ff5aa2fb7f424", + "rule-34c85324203135d657a732ab", + "rule-9129d2c415b2ae3b4d1479f5", + "rule-99d0752e0bf2b7897969ce8b", + "rule-48b4f888f16313aca0c9e348", + "rule-6a310a704a3ee8ea31c16c1e", + "rule-834cba93c1852138bca4c02f", + "rule-ba3baa596bff4ecef2e4835e", + "rule-429cf1f06685d1b72d329b6c", + "rule-89d109b9b2fa4f40f7aff53c", + "rule-26c9a90feaf283167fad66f0", + "rule-e1e74054569b60184c8cdf8b", + "rule-0b39361aab311c79b90bdd07", + "rule-04e38abdac8abec7cf57b4b5", + "rule-be37ad1e3505c362326e6855" + ], + "original_rules_sha256": "82d93b271419abf6e7c36c427e40ca488e7d4406dd5a3aad2a9cf2750241b12b", + "scope_boundary": "Only lane:twod-mobile-ion-interface-srh-v1 and its exact original observable/physics predicates. Scalar admissibility operators and pairwise norms keep their original meanings.", + "not_direct_fixed_reference_N_reuse_rule_ids": [], + "active": false + }, + "original-lane-6dbb672b6062d764": { + "id": "original-lane-6dbb672b6062d764", + "status": "original_contract_only", + "comparator": { + "source_id": "lane_evaluator", + "symbol": "_observable_delta" + }, + "citations": [ + { + "source_id": "lane_evaluator", + "symbol": "_observable_delta" + } + ], + "original_rule_ids": [ + "rule-b94126e23b68e74e98b42d37", + "rule-258ef21f34ab365d998633ba", + "rule-711800445728a00f95f380d8", + "rule-ecffa1d4fbab7ffc2942566f", + "rule-ff3acab3d0acdc2891ea2c32", + "rule-981e68964d17c4036e090b74", + "rule-53bbe9f814230c958818d058", + "rule-29514c0546c437777fdb9f8b", + "rule-a0a29e258b24d630607bdfd3", + "rule-8e1792fa2b8fe9eac8a5ad76" + ], + "original_rules_sha256": "ceb7d8ebc5e4aab1f7c28634b043ab55d0e61db7342c89eb024c060f0f9e86d0", + "scope_boundary": "Only lane:twod-uniform-limit and its exact original observable/physics predicates. Scalar admissibility operators and pairwise norms keep their original meanings.", + "not_direct_fixed_reference_N_reuse_rule_ids": [ + "rule-711800445728a00f95f380d8" + ], + "active": false + }, + "original-lane-6b64d0fcde4053b6": { + "id": "original-lane-6b64d0fcde4053b6", + "status": "original_contract_only", + "comparator": { + "source_id": "lane_evaluator", + "symbol": "_observable_delta" + }, + "citations": [ + { + "source_id": "lane_evaluator", + "symbol": "_observable_delta" + } + ], + "original_rule_ids": [ + "rule-14fd4538d562c16830519503", + "rule-2e5b7c71d3d3843f65eb92aa", + "rule-3e67d45460ef08448817d5e8", + "rule-9de64bdc33050178a25dbb8d", + "rule-21c7c1b38c2077e683c56d97", + "rule-cda78af8941fbd1a089b5818", + "rule-32aebb5aa258d435060c6a0a", + "rule-ca0e309054b3a52f401ad543", + "rule-b191a8ecba43b212ab92f366", + "rule-2c95a816ff8272da23ca1f47", + "rule-de35dd7b05f2c7e3e09a8d31", + "rule-e139311dab6844d360e2c2d4", + "rule-3abbf19360b057357116d6a5", + "rule-802381e73bf88a1a201a4a33", + "rule-b2c170c66b8e73d0daeca937", + "rule-dd5fba0ab46298bfe87057d1", + "rule-a083bf8cee16d3dde1f080e9", + "rule-72372f706fbb6bf9ab76a5ed", + "rule-e4ba88e6cccf747bfdb682bb", + "rule-3d4ded7bbabad2ae0a8186e3", + "rule-3d37ec9a37f56863e2e150c0", + "rule-f95f33b36163b43e42bbe3ac", + "rule-32d80032a6117a6881af96b1", + "rule-6cd29cad2b606e18ad722035", + "rule-48804b140b9c359973761533", + "rule-d8e9d1f8c721783d4cdad9fb", + "rule-5f1deae6c032e7d02faf59e7", + "rule-a53c9de9bd5e019366d23e00", + "rule-67c95feadf2f95d4e8becef4", + "rule-374f0c8cbfcc7e0cb0da8423", + "rule-5b713589e3be50b9d1c81499", + "rule-ac15eb93227ef05b675945c3", + "rule-42a96ee4d2a668b8d233e0ff", + "rule-05abcfebe196be0183642bf4" + ], + "original_rules_sha256": "dfd4725a55e4925b905192b85acada9ec2a23c7b11441694189ae2a0fe0ab7ac", + "scope_boundary": "Only lane:wkb-resolved-intraband-qf-dc-v2 and its exact original observable/physics predicates. Scalar admissibility operators and pairwise norms keep their original meanings.", + "not_direct_fixed_reference_N_reuse_rule_ids": [ + "rule-14fd4538d562c16830519503", + "rule-2e5b7c71d3d3843f65eb92aa", + "rule-3e67d45460ef08448817d5e8", + "rule-9de64bdc33050178a25dbb8d", + "rule-21c7c1b38c2077e683c56d97", + "rule-ca0e309054b3a52f401ad543" + ], + "active": false + }, + "original-lane-16771a29387cfdae": { + "id": "original-lane-16771a29387cfdae", + "status": "original_contract_only", + "comparator": { + "source_id": "lane_evaluator", + "symbol": "_observable_delta" + }, + "citations": [ + { + "source_id": "lane_evaluator", + "symbol": "_observable_delta" + } + ], + "original_rule_ids": [ + "rule-e7b6594bb4da6145e413ae63", + "rule-2e40eb9821d7156040f83a79", + "rule-273c8415c3a8dc445ad283ba", + "rule-e6b8f6c13d0f5a1845045f9b", + "rule-29defc3eb14efce6a9dca43e", + "rule-e49ddcd13f180d9e1408dab7", + "rule-d7cef6a5507471866a3a96f1", + "rule-83e79c9656ae058f7ea6272f", + "rule-ccca5ed8cd936097441708ad", + "rule-0a1ea98edf3fd088662d8609", + "rule-c8ba3ab96c35803d6992d137", + "rule-be7818ef81eafe0d66cf4c50", + "rule-f3af570ca56372b92d3cf931", + "rule-628c4d42e06fd02ce4aa6de1", + "rule-463f03b9acf75278bcc55673", + "rule-abb8e139ea1a977ea7376c90", + "rule-b24f7ee4ccaca4ebc1557f68", + "rule-a98086736dcfc84e7467e253", + "rule-7e186bd02cf4fd9cacb92955", + "rule-ea0e753eadd16cd41894e7e8", + "rule-03b56b21ba8c6ff03cc0d2dd", + "rule-423242ee512ff91c3c5440fa" + ], + "original_rules_sha256": "b9092d47150272a47c49405cd756ccb39247545fe6ae2dbf1ce3155873fb1248", + "scope_boundary": "Only lane:wkb-tunnelling-channel-qf-dc-v1 and its exact original observable/physics predicates. Scalar admissibility operators and pairwise norms keep their original meanings.", + "not_direct_fixed_reference_N_reuse_rule_ids": [ + "rule-273c8415c3a8dc445ad283ba", + "rule-e6b8f6c13d0f5a1845045f9b", + "rule-29defc3eb14efce6a9dca43e", + "rule-e49ddcd13f180d9e1408dab7" + ], + "active": false + } + }, + "records": [ + { + "id": "scope-benchmark-4105876c56341ee0", + "capability_id": "benchmark-4105876c56341ee0", + "route_id": "route-f13ea1085e6c91d1", + "origin_key": "benchmark:bulk-trap-energy-distribution-internal-closure", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "physical_profiles_or_stored_state_history" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "pointer": "/benchmarks/bulk-trap-energy-distribution-internal-closure", + "value_sha256": "6848a9bb8bf6548d598de5bc54f8be8825fc83d5038788a1d79b3c5c32ef7846" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/models/test_bulk_trap_schema.py", + "symbol": "test_default_material_and_mol_paths_fail_closed" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_bulk_traps.py", + "symbol": "test_gaussian_delta_limit_recovers_the_single_level_model" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_bulk_traps.py", + "symbol": "test_recombination_and_charge_tangents_match_centered_differences" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_bulk_trap_equilibrium.py", + "symbol": "test_real_equilibrium_closes_poisson_transport_traps_and_gauss_law" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_bulk_trap_refinement.py", + "symbol": "test_registered_executor_real_cell_matches_exact_contract" + } + ], + "negative_only_descriptor_rule_ids": [ + "rule-c93983c6b245d7ef619c0cd7", + "rule-4c76fc61282947738f3b0bfa" + ], + "source_quantitative_assertion_ids_for_scope_audit": [ + "rule-f838484536c87b35d8bb9e9e", + "rule-333f2517e4c8a22eaf8adf40", + "rule-0ee74e3710fc011355385cd1", + "rule-ef46bfcc70d1e1f974adddbd", + "rule-3e7b950eed58ff1611807c9c", + "rule-e47c7fabcaf8c4ef7082fbef", + "rule-0ec4ad044f701b0a94ceb665", + "rule-17f710eabe6f0e2e3a3a9e22", + "rule-0ceb7a78d74ec8c2b29da8c6", + "rule-1dd9cb29b9326a1f1ee41a8d", + "rule-113c6009789bee1773f6301e", + "rule-fa11413b619c28ef6e98b57e", + "rule-6375f508e2fa3342006997fa", + "rule-cfb4e926aadf0b5d04ae01a8", + "rule-4cf767dd9a3a6f4177c71b30", + "rule-a37a4bd82c72402dd86ad290", + "rule-de84436923d472b02395d3d4" + ], + "rule_ids": [ + "M_payload", + "potential_packet", + "positive_density_log", + "density_inventory_packet" + ], + "citations": [], + "remaining_inputs": [ + { + "field": "numeric fixed thermal/physical voltage scale in V from the exact reference temperature or declared boundary parameters", + "needed_from": "benchmark-4105876c56341ee0 exact original driver/reference observation packet; perovskite-sim/tests/unit/models/test_bulk_trap_schema.py::test_default_material_and_mol_paths_fail_closed, perovskite-sim/tests/unit/physics/test_bulk_traps.py::test_gaussian_delta_limit_recovers_the_single_level_model, perovskite-sim/tests/unit/physics/test_bulk_traps.py::test_recombination_and_charge_tangents_match_centered_differences, perovskite-sim/tests/unit/solver/test_bulk_trap_equilibrium.py::test_real_equilibrium_closes_poisson_transport_traps_and_gauss_law, perovskite-sim/tests/unit/validation/test_bulk_trap_refinement.py::test_registered_executor_real_cell_matches_exact_contract", + "blocked_use": "new N acceptance / qualified reference use for benchmark:bulk-trap-energy-distribution-internal-closure" + }, + { + "field": "actual reference CV weights/support and physical gauge/contact values; allowed mask", + "needed_from": "benchmark-4105876c56341ee0 exact original driver/reference observation packet; perovskite-sim/tests/unit/models/test_bulk_trap_schema.py::test_default_material_and_mol_paths_fail_closed, perovskite-sim/tests/unit/physics/test_bulk_traps.py::test_gaussian_delta_limit_recovers_the_single_level_model, perovskite-sim/tests/unit/physics/test_bulk_traps.py::test_recombination_and_charge_tangents_match_centered_differences, perovskite-sim/tests/unit/solver/test_bulk_trap_equilibrium.py::test_real_equilibrium_closes_poisson_transport_traps_and_gauss_law, perovskite-sim/tests/unit/validation/test_bulk_trap_refinement.py::test_registered_executor_real_cell_matches_exact_contract", + "blocked_use": "new N acceptance / qualified reference use for benchmark:bulk-trap-energy-distribution-internal-closure" + }, + { + "field": "independent source/grid/time/mapping error in V and its qualified reference identity", + "needed_from": "benchmark-4105876c56341ee0 exact original driver/reference observation packet; perovskite-sim/tests/unit/models/test_bulk_trap_schema.py::test_default_material_and_mol_paths_fail_closed, perovskite-sim/tests/unit/physics/test_bulk_traps.py::test_gaussian_delta_limit_recovers_the_single_level_model, perovskite-sim/tests/unit/physics/test_bulk_traps.py::test_recombination_and_charge_tangents_match_centered_differences, perovskite-sim/tests/unit/solver/test_bulk_trap_equilibrium.py::test_real_equilibrium_closes_poisson_transport_traps_and_gauss_law, perovskite-sim/tests/unit/validation/test_bulk_trap_refinement.py::test_registered_executor_real_cell_matches_exact_contract", + "blocked_use": "new N acceptance / qualified reference use for benchmark:bulk-trap-energy-distribution-internal-closure" + }, + { + "field": "per-species/per-connected-domain positive reference inventory numeric scale and unit (1 or m-2, according to actual CV measure)", + "needed_from": "benchmark-4105876c56341ee0 exact original driver/reference observation packet; perovskite-sim/tests/unit/models/test_bulk_trap_schema.py::test_default_material_and_mol_paths_fail_closed, perovskite-sim/tests/unit/physics/test_bulk_traps.py::test_gaussian_delta_limit_recovers_the_single_level_model, perovskite-sim/tests/unit/physics/test_bulk_traps.py::test_recombination_and_charge_tangents_match_centered_differences, perovskite-sim/tests/unit/solver/test_bulk_trap_equilibrium.py::test_real_equilibrium_closes_poisson_transport_traps_and_gauss_law, perovskite-sim/tests/unit/validation/test_bulk_trap_refinement.py::test_registered_executor_real_cell_matches_exact_contract", + "blocked_use": "new N acceptance / qualified reference use for benchmark:bulk-trap-energy-distribution-internal-closure" + }, + { + "field": "zero-species/zero-cell identity and numeric dimensional absolute gate from model absence or reference error evidence", + "needed_from": "benchmark-4105876c56341ee0 exact original driver/reference observation packet; perovskite-sim/tests/unit/models/test_bulk_trap_schema.py::test_default_material_and_mol_paths_fail_closed, perovskite-sim/tests/unit/physics/test_bulk_traps.py::test_gaussian_delta_limit_recovers_the_single_level_model, perovskite-sim/tests/unit/physics/test_bulk_traps.py::test_recombination_and_charge_tangents_match_centered_differences, perovskite-sim/tests/unit/solver/test_bulk_trap_equilibrium.py::test_real_equilibrium_closes_poisson_transport_traps_and_gauss_law, perovskite-sim/tests/unit/validation/test_bulk_trap_refinement.py::test_registered_executor_real_cell_matches_exact_contract", + "blocked_use": "new N acceptance / qualified reference use for benchmark:bulk-trap-energy-distribution-internal-closure" + }, + { + "field": "actual volumes, component labels and independent log/inventory uncertainty", + "needed_from": "benchmark-4105876c56341ee0 exact original driver/reference observation packet; perovskite-sim/tests/unit/models/test_bulk_trap_schema.py::test_default_material_and_mol_paths_fail_closed, perovskite-sim/tests/unit/physics/test_bulk_traps.py::test_gaussian_delta_limit_recovers_the_single_level_model, perovskite-sim/tests/unit/physics/test_bulk_traps.py::test_recombination_and_charge_tangents_match_centered_differences, perovskite-sim/tests/unit/solver/test_bulk_trap_equilibrium.py::test_real_equilibrium_closes_poisson_transport_traps_and_gauss_law, perovskite-sim/tests/unit/validation/test_bulk_trap_refinement.py::test_registered_executor_real_cell_matches_exact_contract", + "blocked_use": "new N acceptance / qualified reference use for benchmark:bulk-trap-energy-distribution-internal-closure" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/benchmark-4105876c56341ee0/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + } + ], + "downstream_tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-benchmark-4105876c56341ee0" + }, + "scope_specific_prior_gaps": [ + { + "field": "numeric fixed thermal/physical voltage scale in V from the exact reference temperature or declared boundary parameters", + "needed_from": "benchmark-4105876c56341ee0 exact original driver/reference observation packet; perovskite-sim/tests/unit/models/test_bulk_trap_schema.py::test_default_material_and_mol_paths_fail_closed, perovskite-sim/tests/unit/physics/test_bulk_traps.py::test_gaussian_delta_limit_recovers_the_single_level_model, perovskite-sim/tests/unit/physics/test_bulk_traps.py::test_recombination_and_charge_tangents_match_centered_differences, perovskite-sim/tests/unit/solver/test_bulk_trap_equilibrium.py::test_real_equilibrium_closes_poisson_transport_traps_and_gauss_law, perovskite-sim/tests/unit/validation/test_bulk_trap_refinement.py::test_registered_executor_real_cell_matches_exact_contract", + "blocked_use": "new N acceptance / qualified reference use for benchmark:bulk-trap-energy-distribution-internal-closure", + "categories": [ + "source_configuration" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual reference CV weights/support and physical gauge/contact values; allowed mask", + "needed_from": "benchmark-4105876c56341ee0 exact original driver/reference observation packet; perovskite-sim/tests/unit/models/test_bulk_trap_schema.py::test_default_material_and_mol_paths_fail_closed, perovskite-sim/tests/unit/physics/test_bulk_traps.py::test_gaussian_delta_limit_recovers_the_single_level_model, perovskite-sim/tests/unit/physics/test_bulk_traps.py::test_recombination_and_charge_tangents_match_centered_differences, perovskite-sim/tests/unit/solver/test_bulk_trap_equilibrium.py::test_real_equilibrium_closes_poisson_transport_traps_and_gauss_law, perovskite-sim/tests/unit/validation/test_bulk_trap_refinement.py::test_registered_executor_real_cell_matches_exact_contract", + "blocked_use": "new N acceptance / qualified reference use for benchmark:bulk-trap-energy-distribution-internal-closure", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "independent source/grid/time/mapping error in V and its qualified reference identity", + "needed_from": "benchmark-4105876c56341ee0 exact original driver/reference observation packet; perovskite-sim/tests/unit/models/test_bulk_trap_schema.py::test_default_material_and_mol_paths_fail_closed, perovskite-sim/tests/unit/physics/test_bulk_traps.py::test_gaussian_delta_limit_recovers_the_single_level_model, perovskite-sim/tests/unit/physics/test_bulk_traps.py::test_recombination_and_charge_tangents_match_centered_differences, perovskite-sim/tests/unit/solver/test_bulk_trap_equilibrium.py::test_real_equilibrium_closes_poisson_transport_traps_and_gauss_law, perovskite-sim/tests/unit/validation/test_bulk_trap_refinement.py::test_registered_executor_real_cell_matches_exact_contract", + "blocked_use": "new N acceptance / qualified reference use for benchmark:bulk-trap-energy-distribution-internal-closure", + "categories": [ + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "per-species/per-connected-domain positive reference inventory numeric scale and unit (1 or m-2, according to actual CV measure)", + "needed_from": "benchmark-4105876c56341ee0 exact original driver/reference observation packet; perovskite-sim/tests/unit/models/test_bulk_trap_schema.py::test_default_material_and_mol_paths_fail_closed, perovskite-sim/tests/unit/physics/test_bulk_traps.py::test_gaussian_delta_limit_recovers_the_single_level_model, perovskite-sim/tests/unit/physics/test_bulk_traps.py::test_recombination_and_charge_tangents_match_centered_differences, perovskite-sim/tests/unit/solver/test_bulk_trap_equilibrium.py::test_real_equilibrium_closes_poisson_transport_traps_and_gauss_law, perovskite-sim/tests/unit/validation/test_bulk_trap_refinement.py::test_registered_executor_real_cell_matches_exact_contract", + "blocked_use": "new N acceptance / qualified reference use for benchmark:bulk-trap-energy-distribution-internal-closure", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "zero-species/zero-cell identity and numeric dimensional absolute gate from model absence or reference error evidence", + "needed_from": "benchmark-4105876c56341ee0 exact original driver/reference observation packet; perovskite-sim/tests/unit/models/test_bulk_trap_schema.py::test_default_material_and_mol_paths_fail_closed, perovskite-sim/tests/unit/physics/test_bulk_traps.py::test_gaussian_delta_limit_recovers_the_single_level_model, perovskite-sim/tests/unit/physics/test_bulk_traps.py::test_recombination_and_charge_tangents_match_centered_differences, perovskite-sim/tests/unit/solver/test_bulk_trap_equilibrium.py::test_real_equilibrium_closes_poisson_transport_traps_and_gauss_law, perovskite-sim/tests/unit/validation/test_bulk_trap_refinement.py::test_registered_executor_real_cell_matches_exact_contract", + "blocked_use": "new N acceptance / qualified reference use for benchmark:bulk-trap-energy-distribution-internal-closure", + "categories": [ + "source_configuration", + "tolerance_decision" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual volumes, component labels and independent log/inventory uncertainty", + "needed_from": "benchmark-4105876c56341ee0 exact original driver/reference observation packet; perovskite-sim/tests/unit/models/test_bulk_trap_schema.py::test_default_material_and_mol_paths_fail_closed, perovskite-sim/tests/unit/physics/test_bulk_traps.py::test_gaussian_delta_limit_recovers_the_single_level_model, perovskite-sim/tests/unit/physics/test_bulk_traps.py::test_recombination_and_charge_tangents_match_centered_differences, perovskite-sim/tests/unit/solver/test_bulk_trap_equilibrium.py::test_real_equilibrium_closes_poisson_transport_traps_and_gauss_law, perovskite-sim/tests/unit/validation/test_bulk_trap_refinement.py::test_registered_executor_real_cell_matches_exact_contract", + "blocked_use": "new N acceptance / qualified reference use for benchmark:bulk-trap-energy-distribution-internal-closure", + "categories": [ + "measurement_data", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/benchmark-4105876c56341ee0/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [], + "current_numeric_status": "prior_exact_scope_gaps_retained_and_classified" + } + }, + { + "id": "scope-benchmark-f2d15ebbf5e588cf", + "capability_id": "benchmark-f2d15ebbf5e588cf", + "route_id": "route-f13ea1085e6c91d1", + "origin_key": "benchmark:calado2016-driftfusion", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "JV_metrics_and_full_branch" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "pointer": "/benchmarks/calado2016-driftfusion", + "value_sha256": "399912451de40fd2eeef6975696c43499a35da67f97a36107aeac812d8080ee1" + }, + { + "source_id": "repository:perovskite-sim/tests/validation/test_paper_configurations.py", + "symbol": "test_driftfusion_repro_matches_paper_metrics" + } + ], + "negative_only_descriptor_rule_ids": [], + "source_quantitative_assertion_ids_for_scope_audit": [ + "rule-396a4cb61bad61de9f2aa4f8", + "rule-bae2ec1dcddc2fcd51e5241b", + "rule-a9fc9eae45911019c52da928" + ], + "rule_ids": [ + "M_payload", + "Voc_absolute", + "JV_metric_packet" + ], + "citations": [], + "remaining_inputs": [ + { + "field": "fixed numeric Jsc/FF/PCE reference values/scales with the actual output units and conversion identity", + "needed_from": "benchmark-f2d15ebbf5e588cf exact original driver/reference observation packet; perovskite-sim/tests/validation/test_paper_configurations.py::test_driftfusion_repro_matches_paper_metrics", + "blocked_use": "new N acceptance / qualified reference use for benchmark:calado2016-driftfusion" + }, + { + "field": "dimensional dark/weak Jsc and zero-power absolute limits with error evidence", + "needed_from": "benchmark-f2d15ebbf5e588cf exact original driver/reference observation packet; perovskite-sim/tests/validation/test_paper_configurations.py::test_driftfusion_repro_matches_paper_metrics", + "blocked_use": "new N acceptance / qualified reference use for benchmark:calado2016-driftfusion" + }, + { + "field": "Voc bracket, dJ/dV and current-error propagation bound; MPP sampling and full branch coordinates", + "needed_from": "benchmark-f2d15ebbf5e588cf exact original driver/reference observation packet; perovskite-sim/tests/validation/test_paper_configurations.py::test_driftfusion_repro_matches_paper_metrics", + "blocked_use": "new N acceptance / qualified reference use for benchmark:calado2016-driftfusion" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/benchmark-f2d15ebbf5e588cf/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + } + ], + "downstream_tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-benchmark-f2d15ebbf5e588cf" + }, + "scope_specific_prior_gaps": [ + { + "field": "fixed numeric Jsc/FF/PCE reference values/scales with the actual output units and conversion identity", + "needed_from": "benchmark-f2d15ebbf5e588cf exact original driver/reference observation packet; perovskite-sim/tests/validation/test_paper_configurations.py::test_driftfusion_repro_matches_paper_metrics", + "blocked_use": "new N acceptance / qualified reference use for benchmark:calado2016-driftfusion", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "dimensional dark/weak Jsc and zero-power absolute limits with error evidence", + "needed_from": "benchmark-f2d15ebbf5e588cf exact original driver/reference observation packet; perovskite-sim/tests/validation/test_paper_configurations.py::test_driftfusion_repro_matches_paper_metrics", + "blocked_use": "new N acceptance / qualified reference use for benchmark:calado2016-driftfusion", + "categories": [ + "tolerance_decision", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "Voc bracket, dJ/dV and current-error propagation bound; MPP sampling and full branch coordinates", + "needed_from": "benchmark-f2d15ebbf5e588cf exact original driver/reference observation packet; perovskite-sim/tests/validation/test_paper_configurations.py::test_driftfusion_repro_matches_paper_metrics", + "blocked_use": "new N acceptance / qualified reference use for benchmark:calado2016-driftfusion", + "categories": [ + "measurement_data", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/benchmark-f2d15ebbf5e588cf/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [], + "current_numeric_status": "prior_exact_scope_gaps_retained_and_classified" + } + }, + { + "id": "scope-benchmark-83c17bf82672772f", + "capability_id": "benchmark-83c17bf82672772f", + "route_id": "route-f13ea1085e6c91d1", + "origin_key": "benchmark:charged-explicit-defect-internal-closure", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "physical_profiles_or_stored_state_history", + "source_specific_operator_or_constitutive_action" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "pointer": "/benchmarks/charged-explicit-defect-internal-closure", + "value_sha256": "e0d710ffbba24ca4d950061abcdcf0d7da7bfc52dad73a0e36608e8b871aa1b4" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "symbol": "test_public_qf_jv_sweep_retains_charged_defect_certificates" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/models/test_explicit_defect_schema.py", + "symbol": "test_canonical_document_roundtrip_and_hash_are_stable" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_monovalent_defect_closure.py", + "symbol": "test_donor_and_acceptor_share_occupancy_but_use_distinct_charge_reference" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_charged_defect_refinement.py", + "symbol": "test_registered_executor_real_cell_matches_exact_contract" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_import_scaps_defect_reference.py", + "symbol": "test_importer_hashes_all_raw_exports_decks_manifest_and_suite" + } + ], + "negative_only_descriptor_rule_ids": [], + "source_quantitative_assertion_ids_for_scope_audit": [ + "rule-2732efe23af2884c2218bd55", + "rule-cd2ecd0a9f5c04b9f191ce67", + "rule-e74678d448c9ed97e6f906cd", + "rule-432f653ce0e5d1c85282ad79" + ], + "rule_ids": [ + "M_payload", + "potential_packet", + "positive_density_log", + "density_inventory_packet", + "operator_packet" + ], + "citations": [], + "remaining_inputs": [ + { + "field": "numeric fixed thermal/physical voltage scale in V from the exact reference temperature or declared boundary parameters", + "needed_from": "benchmark-83c17bf82672772f exact original driver/reference observation packet; perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_public_qf_jv_sweep_retains_charged_defect_certificates, perovskite-sim/tests/unit/models/test_explicit_defect_schema.py::test_canonical_document_roundtrip_and_hash_are_stable, perovskite-sim/tests/unit/physics/test_monovalent_defect_closure.py::test_donor_and_acceptor_share_occupancy_but_use_distinct_charge_reference, perovskite-sim/tests/unit/validation/test_charged_defect_refinement.py::test_registered_executor_real_cell_matches_exact_contract, perovskite-sim/tests/unit/validation/test_import_scaps_defect_reference.py::test_importer_hashes_all_raw_exports_decks_manifest_and_suite", + "blocked_use": "new N acceptance / qualified reference use for benchmark:charged-explicit-defect-internal-closure" + }, + { + "field": "actual reference CV weights/support and physical gauge/contact values; allowed mask", + "needed_from": "benchmark-83c17bf82672772f exact original driver/reference observation packet; perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_public_qf_jv_sweep_retains_charged_defect_certificates, perovskite-sim/tests/unit/models/test_explicit_defect_schema.py::test_canonical_document_roundtrip_and_hash_are_stable, perovskite-sim/tests/unit/physics/test_monovalent_defect_closure.py::test_donor_and_acceptor_share_occupancy_but_use_distinct_charge_reference, perovskite-sim/tests/unit/validation/test_charged_defect_refinement.py::test_registered_executor_real_cell_matches_exact_contract, perovskite-sim/tests/unit/validation/test_import_scaps_defect_reference.py::test_importer_hashes_all_raw_exports_decks_manifest_and_suite", + "blocked_use": "new N acceptance / qualified reference use for benchmark:charged-explicit-defect-internal-closure" + }, + { + "field": "independent source/grid/time/mapping error in V and its qualified reference identity", + "needed_from": "benchmark-83c17bf82672772f exact original driver/reference observation packet; perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_public_qf_jv_sweep_retains_charged_defect_certificates, perovskite-sim/tests/unit/models/test_explicit_defect_schema.py::test_canonical_document_roundtrip_and_hash_are_stable, perovskite-sim/tests/unit/physics/test_monovalent_defect_closure.py::test_donor_and_acceptor_share_occupancy_but_use_distinct_charge_reference, perovskite-sim/tests/unit/validation/test_charged_defect_refinement.py::test_registered_executor_real_cell_matches_exact_contract, perovskite-sim/tests/unit/validation/test_import_scaps_defect_reference.py::test_importer_hashes_all_raw_exports_decks_manifest_and_suite", + "blocked_use": "new N acceptance / qualified reference use for benchmark:charged-explicit-defect-internal-closure" + }, + { + "field": "per-species/per-connected-domain positive reference inventory numeric scale and unit (1 or m-2, according to actual CV measure)", + "needed_from": "benchmark-83c17bf82672772f exact original driver/reference observation packet; perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_public_qf_jv_sweep_retains_charged_defect_certificates, perovskite-sim/tests/unit/models/test_explicit_defect_schema.py::test_canonical_document_roundtrip_and_hash_are_stable, perovskite-sim/tests/unit/physics/test_monovalent_defect_closure.py::test_donor_and_acceptor_share_occupancy_but_use_distinct_charge_reference, perovskite-sim/tests/unit/validation/test_charged_defect_refinement.py::test_registered_executor_real_cell_matches_exact_contract, perovskite-sim/tests/unit/validation/test_import_scaps_defect_reference.py::test_importer_hashes_all_raw_exports_decks_manifest_and_suite", + "blocked_use": "new N acceptance / qualified reference use for benchmark:charged-explicit-defect-internal-closure" + }, + { + "field": "zero-species/zero-cell identity and numeric dimensional absolute gate from model absence or reference error evidence", + "needed_from": "benchmark-83c17bf82672772f exact original driver/reference observation packet; perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_public_qf_jv_sweep_retains_charged_defect_certificates, perovskite-sim/tests/unit/models/test_explicit_defect_schema.py::test_canonical_document_roundtrip_and_hash_are_stable, perovskite-sim/tests/unit/physics/test_monovalent_defect_closure.py::test_donor_and_acceptor_share_occupancy_but_use_distinct_charge_reference, perovskite-sim/tests/unit/validation/test_charged_defect_refinement.py::test_registered_executor_real_cell_matches_exact_contract, perovskite-sim/tests/unit/validation/test_import_scaps_defect_reference.py::test_importer_hashes_all_raw_exports_decks_manifest_and_suite", + "blocked_use": "new N acceptance / qualified reference use for benchmark:charged-explicit-defect-internal-closure" + }, + { + "field": "actual volumes, component labels and independent log/inventory uncertainty", + "needed_from": "benchmark-83c17bf82672772f exact original driver/reference observation packet; perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_public_qf_jv_sweep_retains_charged_defect_certificates, perovskite-sim/tests/unit/models/test_explicit_defect_schema.py::test_canonical_document_roundtrip_and_hash_are_stable, perovskite-sim/tests/unit/physics/test_monovalent_defect_closure.py::test_donor_and_acceptor_share_occupancy_but_use_distinct_charge_reference, perovskite-sim/tests/unit/validation/test_charged_defect_refinement.py::test_registered_executor_real_cell_matches_exact_contract, perovskite-sim/tests/unit/validation/test_import_scaps_defect_reference.py::test_importer_hashes_all_raw_exports_decks_manifest_and_suite", + "blocked_use": "new N acceptance / qualified reference use for benchmark:charged-explicit-defect-internal-closure" + }, + { + "field": "actual row and column physical units, support and fixed per-block/state/input scales", + "needed_from": "benchmark-83c17bf82672772f exact original driver/reference observation packet; perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_public_qf_jv_sweep_retains_charged_defect_certificates, perovskite-sim/tests/unit/models/test_explicit_defect_schema.py::test_canonical_document_roundtrip_and_hash_are_stable, perovskite-sim/tests/unit/physics/test_monovalent_defect_closure.py::test_donor_and_acceptor_share_occupancy_but_use_distinct_charge_reference, perovskite-sim/tests/unit/validation/test_charged_defect_refinement.py::test_registered_executor_real_cell_matches_exact_contract, perovskite-sim/tests/unit/validation/test_import_scaps_defect_reference.py::test_importer_hashes_all_raw_exports_decks_manifest_and_suite", + "blocked_use": "new N acceptance / qualified reference use for benchmark:charged-explicit-defect-internal-closure" + }, + { + "field": "numeric independent derivative/action/weak-increment thresholds from the original applicable contract", + "needed_from": "benchmark-83c17bf82672772f exact original driver/reference observation packet; perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_public_qf_jv_sweep_retains_charged_defect_certificates, perovskite-sim/tests/unit/models/test_explicit_defect_schema.py::test_canonical_document_roundtrip_and_hash_are_stable, perovskite-sim/tests/unit/physics/test_monovalent_defect_closure.py::test_donor_and_acceptor_share_occupancy_but_use_distinct_charge_reference, perovskite-sim/tests/unit/validation/test_charged_defect_refinement.py::test_registered_executor_real_cell_matches_exact_contract, perovskite-sim/tests/unit/validation/test_import_scaps_defect_reference.py::test_importer_hashes_all_raw_exports_decks_manifest_and_suite", + "blocked_use": "new N acceptance / qualified reference use for benchmark:charged-explicit-defect-internal-closure" + }, + { + "field": "full nonlocal/input chain, inactive/zero branch and independent reference/cancellation error", + "needed_from": "benchmark-83c17bf82672772f exact original driver/reference observation packet; perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_public_qf_jv_sweep_retains_charged_defect_certificates, perovskite-sim/tests/unit/models/test_explicit_defect_schema.py::test_canonical_document_roundtrip_and_hash_are_stable, perovskite-sim/tests/unit/physics/test_monovalent_defect_closure.py::test_donor_and_acceptor_share_occupancy_but_use_distinct_charge_reference, perovskite-sim/tests/unit/validation/test_charged_defect_refinement.py::test_registered_executor_real_cell_matches_exact_contract, perovskite-sim/tests/unit/validation/test_import_scaps_defect_reference.py::test_importer_hashes_all_raw_exports_decks_manifest_and_suite", + "blocked_use": "new N acceptance / qualified reference use for benchmark:charged-explicit-defect-internal-closure" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/benchmark-83c17bf82672772f/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + } + ], + "downstream_tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-benchmark-83c17bf82672772f" + }, + "scope_specific_prior_gaps": [ + { + "field": "numeric fixed thermal/physical voltage scale in V from the exact reference temperature or declared boundary parameters", + "needed_from": "benchmark-83c17bf82672772f exact original driver/reference observation packet; perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_public_qf_jv_sweep_retains_charged_defect_certificates, perovskite-sim/tests/unit/models/test_explicit_defect_schema.py::test_canonical_document_roundtrip_and_hash_are_stable, perovskite-sim/tests/unit/physics/test_monovalent_defect_closure.py::test_donor_and_acceptor_share_occupancy_but_use_distinct_charge_reference, perovskite-sim/tests/unit/validation/test_charged_defect_refinement.py::test_registered_executor_real_cell_matches_exact_contract, perovskite-sim/tests/unit/validation/test_import_scaps_defect_reference.py::test_importer_hashes_all_raw_exports_decks_manifest_and_suite", + "blocked_use": "new N acceptance / qualified reference use for benchmark:charged-explicit-defect-internal-closure", + "categories": [ + "source_configuration" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual reference CV weights/support and physical gauge/contact values; allowed mask", + "needed_from": "benchmark-83c17bf82672772f exact original driver/reference observation packet; perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_public_qf_jv_sweep_retains_charged_defect_certificates, perovskite-sim/tests/unit/models/test_explicit_defect_schema.py::test_canonical_document_roundtrip_and_hash_are_stable, perovskite-sim/tests/unit/physics/test_monovalent_defect_closure.py::test_donor_and_acceptor_share_occupancy_but_use_distinct_charge_reference, perovskite-sim/tests/unit/validation/test_charged_defect_refinement.py::test_registered_executor_real_cell_matches_exact_contract, perovskite-sim/tests/unit/validation/test_import_scaps_defect_reference.py::test_importer_hashes_all_raw_exports_decks_manifest_and_suite", + "blocked_use": "new N acceptance / qualified reference use for benchmark:charged-explicit-defect-internal-closure", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "independent source/grid/time/mapping error in V and its qualified reference identity", + "needed_from": "benchmark-83c17bf82672772f exact original driver/reference observation packet; perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_public_qf_jv_sweep_retains_charged_defect_certificates, perovskite-sim/tests/unit/models/test_explicit_defect_schema.py::test_canonical_document_roundtrip_and_hash_are_stable, perovskite-sim/tests/unit/physics/test_monovalent_defect_closure.py::test_donor_and_acceptor_share_occupancy_but_use_distinct_charge_reference, perovskite-sim/tests/unit/validation/test_charged_defect_refinement.py::test_registered_executor_real_cell_matches_exact_contract, perovskite-sim/tests/unit/validation/test_import_scaps_defect_reference.py::test_importer_hashes_all_raw_exports_decks_manifest_and_suite", + "blocked_use": "new N acceptance / qualified reference use for benchmark:charged-explicit-defect-internal-closure", + "categories": [ + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "per-species/per-connected-domain positive reference inventory numeric scale and unit (1 or m-2, according to actual CV measure)", + "needed_from": "benchmark-83c17bf82672772f exact original driver/reference observation packet; perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_public_qf_jv_sweep_retains_charged_defect_certificates, perovskite-sim/tests/unit/models/test_explicit_defect_schema.py::test_canonical_document_roundtrip_and_hash_are_stable, perovskite-sim/tests/unit/physics/test_monovalent_defect_closure.py::test_donor_and_acceptor_share_occupancy_but_use_distinct_charge_reference, perovskite-sim/tests/unit/validation/test_charged_defect_refinement.py::test_registered_executor_real_cell_matches_exact_contract, perovskite-sim/tests/unit/validation/test_import_scaps_defect_reference.py::test_importer_hashes_all_raw_exports_decks_manifest_and_suite", + "blocked_use": "new N acceptance / qualified reference use for benchmark:charged-explicit-defect-internal-closure", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "zero-species/zero-cell identity and numeric dimensional absolute gate from model absence or reference error evidence", + "needed_from": "benchmark-83c17bf82672772f exact original driver/reference observation packet; perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_public_qf_jv_sweep_retains_charged_defect_certificates, perovskite-sim/tests/unit/models/test_explicit_defect_schema.py::test_canonical_document_roundtrip_and_hash_are_stable, perovskite-sim/tests/unit/physics/test_monovalent_defect_closure.py::test_donor_and_acceptor_share_occupancy_but_use_distinct_charge_reference, perovskite-sim/tests/unit/validation/test_charged_defect_refinement.py::test_registered_executor_real_cell_matches_exact_contract, perovskite-sim/tests/unit/validation/test_import_scaps_defect_reference.py::test_importer_hashes_all_raw_exports_decks_manifest_and_suite", + "blocked_use": "new N acceptance / qualified reference use for benchmark:charged-explicit-defect-internal-closure", + "categories": [ + "source_configuration", + "tolerance_decision" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual volumes, component labels and independent log/inventory uncertainty", + "needed_from": "benchmark-83c17bf82672772f exact original driver/reference observation packet; perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_public_qf_jv_sweep_retains_charged_defect_certificates, perovskite-sim/tests/unit/models/test_explicit_defect_schema.py::test_canonical_document_roundtrip_and_hash_are_stable, perovskite-sim/tests/unit/physics/test_monovalent_defect_closure.py::test_donor_and_acceptor_share_occupancy_but_use_distinct_charge_reference, perovskite-sim/tests/unit/validation/test_charged_defect_refinement.py::test_registered_executor_real_cell_matches_exact_contract, perovskite-sim/tests/unit/validation/test_import_scaps_defect_reference.py::test_importer_hashes_all_raw_exports_decks_manifest_and_suite", + "blocked_use": "new N acceptance / qualified reference use for benchmark:charged-explicit-defect-internal-closure", + "categories": [ + "measurement_data", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual row and column physical units, support and fixed per-block/state/input scales", + "needed_from": "benchmark-83c17bf82672772f exact original driver/reference observation packet; perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_public_qf_jv_sweep_retains_charged_defect_certificates, perovskite-sim/tests/unit/models/test_explicit_defect_schema.py::test_canonical_document_roundtrip_and_hash_are_stable, perovskite-sim/tests/unit/physics/test_monovalent_defect_closure.py::test_donor_and_acceptor_share_occupancy_but_use_distinct_charge_reference, perovskite-sim/tests/unit/validation/test_charged_defect_refinement.py::test_registered_executor_real_cell_matches_exact_contract, perovskite-sim/tests/unit/validation/test_import_scaps_defect_reference.py::test_importer_hashes_all_raw_exports_decks_manifest_and_suite", + "blocked_use": "new N acceptance / qualified reference use for benchmark:charged-explicit-defect-internal-closure", + "categories": [ + "source_configuration" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "numeric independent derivative/action/weak-increment thresholds from the original applicable contract", + "needed_from": "benchmark-83c17bf82672772f exact original driver/reference observation packet; perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_public_qf_jv_sweep_retains_charged_defect_certificates, perovskite-sim/tests/unit/models/test_explicit_defect_schema.py::test_canonical_document_roundtrip_and_hash_are_stable, perovskite-sim/tests/unit/physics/test_monovalent_defect_closure.py::test_donor_and_acceptor_share_occupancy_but_use_distinct_charge_reference, perovskite-sim/tests/unit/validation/test_charged_defect_refinement.py::test_registered_executor_real_cell_matches_exact_contract, perovskite-sim/tests/unit/validation/test_import_scaps_defect_reference.py::test_importer_hashes_all_raw_exports_decks_manifest_and_suite", + "blocked_use": "new N acceptance / qualified reference use for benchmark:charged-explicit-defect-internal-closure", + "categories": [ + "tolerance_decision" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "full nonlocal/input chain, inactive/zero branch and independent reference/cancellation error", + "needed_from": "benchmark-83c17bf82672772f exact original driver/reference observation packet; perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_public_qf_jv_sweep_retains_charged_defect_certificates, perovskite-sim/tests/unit/models/test_explicit_defect_schema.py::test_canonical_document_roundtrip_and_hash_are_stable, perovskite-sim/tests/unit/physics/test_monovalent_defect_closure.py::test_donor_and_acceptor_share_occupancy_but_use_distinct_charge_reference, perovskite-sim/tests/unit/validation/test_charged_defect_refinement.py::test_registered_executor_real_cell_matches_exact_contract, perovskite-sim/tests/unit/validation/test_import_scaps_defect_reference.py::test_importer_hashes_all_raw_exports_decks_manifest_and_suite", + "blocked_use": "new N acceptance / qualified reference use for benchmark:charged-explicit-defect-internal-closure", + "categories": [ + "source_configuration", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/benchmark-83c17bf82672772f/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [], + "current_numeric_status": "prior_exact_scope_gaps_retained_and_classified" + } + }, + { + "id": "scope-benchmark-ee312eb2fea8c21f", + "capability_id": "benchmark-ee312eb2fea8c21f", + "route_id": "route-f13ea1085e6c91d1", + "origin_key": "benchmark:cigs-graded-optics-internal-closure", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "optical_or_spectral_observations" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "pointer": "/benchmarks/cigs-graded-optics-internal-closure", + "value_sha256": "23509e064c75fdc88ca8cae84ebdd613ae3cc2b22036132be64a3ee82538bf2c" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_cigs_graded_optics.py", + "symbol": "test_minoura_high_energy_absorption_agrees_with_independent_carron_model" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_cigs_graded_optics.py", + "symbol": "test_shipped_research_config_builds_finite_photon_bounded_generation" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_cigs_graded_optics.py", + "symbol": "test_uniform_composition_slice_limit_matches_one_homogeneous_layer" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_cigs_optics_refinement.py", + "symbol": "test_registered_executor_real_cell_matches_exact_contract" + } + ], + "negative_only_descriptor_rule_ids": [], + "source_quantitative_assertion_ids_for_scope_audit": [ + "rule-5d860fdbe9200b4f7991f7f0", + "rule-d73124a799fb31edd43a5c30", + "rule-28949906cd09b1455c2fd467", + "rule-a921ff2d384b7b8feaab0453", + "rule-ea70a8835430c147eb543c18", + "rule-09c325758d97188ea3e6ca46", + "rule-2876916d8ce6c5bb14cd36b4" + ], + "rule_ids": [ + "M_payload", + "spectrum_packet" + ], + "citations": [], + "remaining_inputs": [ + { + "field": "actual source output quantity/unit and fixed spectral/photon/electrical normalization for each field", + "needed_from": "benchmark-ee312eb2fea8c21f exact original driver/reference observation packet; perovskite-sim/tests/integration/test_cigs_graded_optics.py::test_minoura_high_energy_absorption_agrees_with_independent_carron_model, perovskite-sim/tests/integration/test_cigs_graded_optics.py::test_shipped_research_config_builds_finite_photon_bounded_generation, perovskite-sim/tests/integration/test_cigs_graded_optics.py::test_uniform_composition_slice_limit_matches_one_homogeneous_layer, perovskite-sim/tests/unit/validation/test_cigs_optics_refinement.py::test_registered_executor_real_cell_matches_exact_contract", + "blocked_use": "new N acceptance / qualified reference use for benchmark:cigs-graded-optics-internal-closure" + }, + { + "field": "fixed numeric per-channel scales, weak/zero absolute bounds and independent error", + "needed_from": "benchmark-ee312eb2fea8c21f exact original driver/reference observation packet; perovskite-sim/tests/integration/test_cigs_graded_optics.py::test_minoura_high_energy_absorption_agrees_with_independent_carron_model, perovskite-sim/tests/integration/test_cigs_graded_optics.py::test_shipped_research_config_builds_finite_photon_bounded_generation, perovskite-sim/tests/integration/test_cigs_graded_optics.py::test_uniform_composition_slice_limit_matches_one_homogeneous_layer, perovskite-sim/tests/unit/validation/test_cigs_optics_refinement.py::test_registered_executor_real_cell_matches_exact_contract", + "blocked_use": "new N acceptance / qualified reference use for benchmark:cigs-graded-optics-internal-closure" + }, + { + "field": "exact wavelength/energy coordinates, integration weights and photon/energy budget", + "needed_from": "benchmark-ee312eb2fea8c21f exact original driver/reference observation packet; perovskite-sim/tests/integration/test_cigs_graded_optics.py::test_minoura_high_energy_absorption_agrees_with_independent_carron_model, perovskite-sim/tests/integration/test_cigs_graded_optics.py::test_shipped_research_config_builds_finite_photon_bounded_generation, perovskite-sim/tests/integration/test_cigs_graded_optics.py::test_uniform_composition_slice_limit_matches_one_homogeneous_layer, perovskite-sim/tests/unit/validation/test_cigs_optics_refinement.py::test_registered_executor_real_cell_matches_exact_contract", + "blocked_use": "new N acceptance / qualified reference use for benchmark:cigs-graded-optics-internal-closure" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/benchmark-ee312eb2fea8c21f/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + } + ], + "downstream_tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-benchmark-ee312eb2fea8c21f" + }, + "scope_specific_prior_gaps": [ + { + "field": "actual source output quantity/unit and fixed spectral/photon/electrical normalization for each field", + "needed_from": "benchmark-ee312eb2fea8c21f exact original driver/reference observation packet; perovskite-sim/tests/integration/test_cigs_graded_optics.py::test_minoura_high_energy_absorption_agrees_with_independent_carron_model, perovskite-sim/tests/integration/test_cigs_graded_optics.py::test_shipped_research_config_builds_finite_photon_bounded_generation, perovskite-sim/tests/integration/test_cigs_graded_optics.py::test_uniform_composition_slice_limit_matches_one_homogeneous_layer, perovskite-sim/tests/unit/validation/test_cigs_optics_refinement.py::test_registered_executor_real_cell_matches_exact_contract", + "blocked_use": "new N acceptance / qualified reference use for benchmark:cigs-graded-optics-internal-closure", + "categories": [ + "source_configuration" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "fixed numeric per-channel scales, weak/zero absolute bounds and independent error", + "needed_from": "benchmark-ee312eb2fea8c21f exact original driver/reference observation packet; perovskite-sim/tests/integration/test_cigs_graded_optics.py::test_minoura_high_energy_absorption_agrees_with_independent_carron_model, perovskite-sim/tests/integration/test_cigs_graded_optics.py::test_shipped_research_config_builds_finite_photon_bounded_generation, perovskite-sim/tests/integration/test_cigs_graded_optics.py::test_uniform_composition_slice_limit_matches_one_homogeneous_layer, perovskite-sim/tests/unit/validation/test_cigs_optics_refinement.py::test_registered_executor_real_cell_matches_exact_contract", + "blocked_use": "new N acceptance / qualified reference use for benchmark:cigs-graded-optics-internal-closure", + "categories": [ + "tolerance_decision", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "exact wavelength/energy coordinates, integration weights and photon/energy budget", + "needed_from": "benchmark-ee312eb2fea8c21f exact original driver/reference observation packet; perovskite-sim/tests/integration/test_cigs_graded_optics.py::test_minoura_high_energy_absorption_agrees_with_independent_carron_model, perovskite-sim/tests/integration/test_cigs_graded_optics.py::test_shipped_research_config_builds_finite_photon_bounded_generation, perovskite-sim/tests/integration/test_cigs_graded_optics.py::test_uniform_composition_slice_limit_matches_one_homogeneous_layer, perovskite-sim/tests/unit/validation/test_cigs_optics_refinement.py::test_registered_executor_real_cell_matches_exact_contract", + "blocked_use": "new N acceptance / qualified reference use for benchmark:cigs-graded-optics-internal-closure", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/benchmark-ee312eb2fea8c21f/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [], + "current_numeric_status": "prior_exact_scope_gaps_retained_and_classified" + } + }, + { + "id": "scope-benchmark-ffe6aa8aa40ed1bc", + "capability_id": "benchmark-ffe6aa8aa40ed1bc", + "route_id": "route-f13ea1085e6c91d1", + "origin_key": "benchmark:cigs-internal-validation", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "JV_metrics_and_full_branch" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "pointer": "/benchmarks/cigs-internal-validation", + "value_sha256": "315a787d29423f2ef648424d8e64c1c08cdd596baadff8d43245b920bc931229" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_grading_cigs_notch.py", + "symbol": "test_cigs_back_grading_certifies_at_production_grid" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_grading_cigs_notch.py", + "symbol": "test_cigs_back_grading_raises_voc_without_jsc_collapse" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_grading_cigs_notch.py", + "symbol": "test_cigs_n_left_voltage_conventions_are_explicit" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_grading_cigs_notch.py", + "symbol": "test_cigs_observations_match_reproducibility_registry" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_grading_cigs_notch.py", + "symbol": "test_cigs_ungraded_production_grid_ladder_is_physical" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_grading_cigs_notch.py", + "symbol": "test_cigs_ungraded_production_grid_metrics_converge" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_grading_cigs_notch.py", + "symbol": "test_cigs_ungraded_thickness_continuation_certifies" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_grading_cigs_notch.py", + "symbol": "test_dynamic_cigs_grading_matches_the_shipped_config" + } + ], + "negative_only_descriptor_rule_ids": [], + "source_quantitative_assertion_ids_for_scope_audit": [ + "rule-be9918e65fd57d41cf958c6c", + "rule-1ce68c8fa6909f7330e2334c", + "rule-5eca65539e0fd909828412fb", + "rule-e2dce92f42a8c53f55a45f85", + "rule-14f5329ddc918df8afb1b725", + "rule-a6d4fc489cd82d0d7c988ce2", + "rule-a985368d56e33bb535546c35", + "rule-603dafd7ce04a6e4427485fe", + "rule-e00987f78c972ac6e4944493", + "rule-c4e54b15ddbe780dc1e39c69", + "rule-eac2e441301918ebd7b90010", + "rule-5566cb7cb2e99f7d8ed050bd", + "rule-9b2c41ee4d68dbad386bb4ca", + "rule-3b4175be71b5092cedb48661", + "rule-27e59f47de5997797fa58c83", + "rule-e5294fad4b1c173b52a32d91", + "rule-01b53522f44653900680a2fa", + "rule-c081415be17db2465c54912c", + "rule-2165810186e71efb0530a871", + "rule-17f8f55c0bfaf1b5268cb2ef", + "rule-0eabc5ce6bb2aa43152d1a56", + "rule-2a9f207b057ab222cb8ff2b4", + "rule-aaedc04639218e172645d3d4", + "rule-0c3980cc0a51c901a35b2022", + "rule-6bb63137529cc2fc229c9aca", + "rule-9deed45bee0ba8eb057bf4f5", + "rule-1339950f0571a39320df9ebc", + "rule-cd249975f788c67f1bd5f66e", + "rule-1f68552e94a17ec632e274bf", + "rule-affb50d7a5af96e4918d74c7", + "rule-a0542ea4b85abc26e1db34b2", + "rule-df04da92eb5f7a03d95dadbc", + "rule-3bd06e3c9b9281514181bf09", + "rule-860a4cbf07e378073bc12ba7", + "rule-1db937a60794381011793de8" + ], + "rule_ids": [ + "M_payload", + "Voc_absolute", + "JV_metric_packet" + ], + "citations": [], + "remaining_inputs": [ + { + "field": "fixed numeric Jsc/FF/PCE reference values/scales with the actual output units and conversion identity", + "needed_from": "benchmark-ffe6aa8aa40ed1bc exact original driver/reference observation packet; perovskite-sim/tests/regression/test_grading_cigs_notch.py::test_cigs_back_grading_certifies_at_production_grid, perovskite-sim/tests/regression/test_grading_cigs_notch.py::test_cigs_back_grading_raises_voc_without_jsc_collapse, perovskite-sim/tests/regression/test_grading_cigs_notch.py::test_cigs_n_left_voltage_conventions_are_explicit, perovskite-sim/tests/regression/test_grading_cigs_notch.py::test_cigs_observations_match_reproducibility_registry, perovskite-sim/tests/regression/test_grading_cigs_notch.py::test_cigs_ungraded_production_grid_ladder_is_physical, perovskite-sim/tests/regression/test_grading_cigs_notch.py::test_cigs_ungraded_production_grid_metrics_converge, perovskite-sim/te", + "blocked_use": "new N acceptance / qualified reference use for benchmark:cigs-internal-validation" + }, + { + "field": "dimensional dark/weak Jsc and zero-power absolute limits with error evidence", + "needed_from": "benchmark-ffe6aa8aa40ed1bc exact original driver/reference observation packet; perovskite-sim/tests/regression/test_grading_cigs_notch.py::test_cigs_back_grading_certifies_at_production_grid, perovskite-sim/tests/regression/test_grading_cigs_notch.py::test_cigs_back_grading_raises_voc_without_jsc_collapse, perovskite-sim/tests/regression/test_grading_cigs_notch.py::test_cigs_n_left_voltage_conventions_are_explicit, perovskite-sim/tests/regression/test_grading_cigs_notch.py::test_cigs_observations_match_reproducibility_registry, perovskite-sim/tests/regression/test_grading_cigs_notch.py::test_cigs_ungraded_production_grid_ladder_is_physical, perovskite-sim/tests/regression/test_grading_cigs_notch.py::test_cigs_ungraded_production_grid_metrics_converge, perovskite-sim/te", + "blocked_use": "new N acceptance / qualified reference use for benchmark:cigs-internal-validation" + }, + { + "field": "Voc bracket, dJ/dV and current-error propagation bound; MPP sampling and full branch coordinates", + "needed_from": "benchmark-ffe6aa8aa40ed1bc exact original driver/reference observation packet; perovskite-sim/tests/regression/test_grading_cigs_notch.py::test_cigs_back_grading_certifies_at_production_grid, perovskite-sim/tests/regression/test_grading_cigs_notch.py::test_cigs_back_grading_raises_voc_without_jsc_collapse, perovskite-sim/tests/regression/test_grading_cigs_notch.py::test_cigs_n_left_voltage_conventions_are_explicit, perovskite-sim/tests/regression/test_grading_cigs_notch.py::test_cigs_observations_match_reproducibility_registry, perovskite-sim/tests/regression/test_grading_cigs_notch.py::test_cigs_ungraded_production_grid_ladder_is_physical, perovskite-sim/tests/regression/test_grading_cigs_notch.py::test_cigs_ungraded_production_grid_metrics_converge, perovskite-sim/te", + "blocked_use": "new N acceptance / qualified reference use for benchmark:cigs-internal-validation" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/benchmark-ffe6aa8aa40ed1bc/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + } + ], + "downstream_tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-benchmark-ffe6aa8aa40ed1bc" + }, + "scope_specific_prior_gaps": [ + { + "field": "fixed numeric Jsc/FF/PCE reference values/scales with the actual output units and conversion identity", + "needed_from": "benchmark-ffe6aa8aa40ed1bc exact original driver/reference observation packet; perovskite-sim/tests/regression/test_grading_cigs_notch.py::test_cigs_back_grading_certifies_at_production_grid, perovskite-sim/tests/regression/test_grading_cigs_notch.py::test_cigs_back_grading_raises_voc_without_jsc_collapse, perovskite-sim/tests/regression/test_grading_cigs_notch.py::test_cigs_n_left_voltage_conventions_are_explicit, perovskite-sim/tests/regression/test_grading_cigs_notch.py::test_cigs_observations_match_reproducibility_registry, perovskite-sim/tests/regression/test_grading_cigs_notch.py::test_cigs_ungraded_production_grid_ladder_is_physical, perovskite-sim/tests/regression/test_grading_cigs_notch.py::test_cigs_ungraded_production_grid_metrics_converge, perovskite-sim/te", + "blocked_use": "new N acceptance / qualified reference use for benchmark:cigs-internal-validation", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "dimensional dark/weak Jsc and zero-power absolute limits with error evidence", + "needed_from": "benchmark-ffe6aa8aa40ed1bc exact original driver/reference observation packet; perovskite-sim/tests/regression/test_grading_cigs_notch.py::test_cigs_back_grading_certifies_at_production_grid, perovskite-sim/tests/regression/test_grading_cigs_notch.py::test_cigs_back_grading_raises_voc_without_jsc_collapse, perovskite-sim/tests/regression/test_grading_cigs_notch.py::test_cigs_n_left_voltage_conventions_are_explicit, perovskite-sim/tests/regression/test_grading_cigs_notch.py::test_cigs_observations_match_reproducibility_registry, perovskite-sim/tests/regression/test_grading_cigs_notch.py::test_cigs_ungraded_production_grid_ladder_is_physical, perovskite-sim/tests/regression/test_grading_cigs_notch.py::test_cigs_ungraded_production_grid_metrics_converge, perovskite-sim/te", + "blocked_use": "new N acceptance / qualified reference use for benchmark:cigs-internal-validation", + "categories": [ + "tolerance_decision", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "Voc bracket, dJ/dV and current-error propagation bound; MPP sampling and full branch coordinates", + "needed_from": "benchmark-ffe6aa8aa40ed1bc exact original driver/reference observation packet; perovskite-sim/tests/regression/test_grading_cigs_notch.py::test_cigs_back_grading_certifies_at_production_grid, perovskite-sim/tests/regression/test_grading_cigs_notch.py::test_cigs_back_grading_raises_voc_without_jsc_collapse, perovskite-sim/tests/regression/test_grading_cigs_notch.py::test_cigs_n_left_voltage_conventions_are_explicit, perovskite-sim/tests/regression/test_grading_cigs_notch.py::test_cigs_observations_match_reproducibility_registry, perovskite-sim/tests/regression/test_grading_cigs_notch.py::test_cigs_ungraded_production_grid_ladder_is_physical, perovskite-sim/tests/regression/test_grading_cigs_notch.py::test_cigs_ungraded_production_grid_metrics_converge, perovskite-sim/te", + "blocked_use": "new N acceptance / qualified reference use for benchmark:cigs-internal-validation", + "categories": [ + "measurement_data", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/benchmark-ffe6aa8aa40ed1bc/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [], + "current_numeric_status": "prior_exact_scope_gaps_retained_and_classified" + } + }, + { + "id": "scope-benchmark-a12ead2b6fe7e734", + "capability_id": "benchmark-a12ead2b6fe7e734", + "route_id": "route-f13ea1085e6c91d1", + "origin_key": "benchmark:courtier2019-ionmonger", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "source_specific_positive_observable_requires_declared_metric_selection" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "pointer": "/benchmarks/courtier2019-ionmonger", + "value_sha256": "1571b026363195874e710d6a99be99930496d37ca0aad274bd541c7ef24f5785" + }, + { + "source_id": "repository:perovskite-sim/tests/validation/test_paper_configurations.py", + "symbol": "test_ionmonger_repro_matches_paper_metrics" + } + ], + "negative_only_descriptor_rule_ids": [], + "source_quantitative_assertion_ids_for_scope_audit": [ + "rule-99346121610cfe6c87bbe373", + "rule-20533e8a524de13cc7c36914", + "rule-8df4514933f66768954d1483" + ], + "rule_ids": [ + "M_payload", + "operator_packet" + ], + "citations": [], + "remaining_inputs": [ + { + "field": "actual row and column physical units, support and fixed per-block/state/input scales", + "needed_from": "benchmark-a12ead2b6fe7e734 exact original driver/reference observation packet; perovskite-sim/tests/validation/test_paper_configurations.py::test_ionmonger_repro_matches_paper_metrics", + "blocked_use": "new N acceptance / qualified reference use for benchmark:courtier2019-ionmonger" + }, + { + "field": "numeric independent derivative/action/weak-increment thresholds from the original applicable contract", + "needed_from": "benchmark-a12ead2b6fe7e734 exact original driver/reference observation packet; perovskite-sim/tests/validation/test_paper_configurations.py::test_ionmonger_repro_matches_paper_metrics", + "blocked_use": "new N acceptance / qualified reference use for benchmark:courtier2019-ionmonger" + }, + { + "field": "full nonlocal/input chain, inactive/zero branch and independent reference/cancellation error", + "needed_from": "benchmark-a12ead2b6fe7e734 exact original driver/reference observation packet; perovskite-sim/tests/validation/test_paper_configurations.py::test_ionmonger_repro_matches_paper_metrics", + "blocked_use": "new N acceptance / qualified reference use for benchmark:courtier2019-ionmonger" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/benchmark-a12ead2b6fe7e734/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + } + ], + "downstream_tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-benchmark-a12ead2b6fe7e734" + }, + "scope_specific_prior_gaps": [ + { + "field": "actual row and column physical units, support and fixed per-block/state/input scales", + "needed_from": "benchmark-a12ead2b6fe7e734 exact original driver/reference observation packet; perovskite-sim/tests/validation/test_paper_configurations.py::test_ionmonger_repro_matches_paper_metrics", + "blocked_use": "new N acceptance / qualified reference use for benchmark:courtier2019-ionmonger", + "categories": [ + "source_configuration" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "numeric independent derivative/action/weak-increment thresholds from the original applicable contract", + "needed_from": "benchmark-a12ead2b6fe7e734 exact original driver/reference observation packet; perovskite-sim/tests/validation/test_paper_configurations.py::test_ionmonger_repro_matches_paper_metrics", + "blocked_use": "new N acceptance / qualified reference use for benchmark:courtier2019-ionmonger", + "categories": [ + "tolerance_decision" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "full nonlocal/input chain, inactive/zero branch and independent reference/cancellation error", + "needed_from": "benchmark-a12ead2b6fe7e734 exact original driver/reference observation packet; perovskite-sim/tests/validation/test_paper_configurations.py::test_ionmonger_repro_matches_paper_metrics", + "blocked_use": "new N acceptance / qualified reference use for benchmark:courtier2019-ionmonger", + "categories": [ + "source_configuration", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/benchmark-a12ead2b6fe7e734/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [], + "current_numeric_status": "prior_exact_scope_gaps_retained_and_classified" + } + }, + { + "id": "scope-benchmark-f050f4122cc07b66", + "capability_id": "benchmark-f050f4122cc07b66", + "route_id": "route-f13ea1085e6c91d1", + "origin_key": "benchmark:csi-grid-envelope-gap", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "CV_geometry_and_interface_sides" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "pointer": "/benchmarks/csi-grid-envelope-gap", + "value_sha256": "3fbacc966ae15ec3cf097e469b371d624c29f0618286f816c9e4df319b6023af" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/backend/test_user_configs_api.py", + "symbol": "test_csi_underresolved_grid_returns_actionable_client_error" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_grid_envelope.py", + "symbol": "test_declared_csi_minimum_meets_debye_guard_and_has_finite_seed" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_grid_envelope.py", + "symbol": "test_default_jv_grid_is_outside_csi_declared_envelope" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_grid_envelope.py", + "symbol": "test_thin_film_smoke_mesh_is_not_misrepresented_as_globally_certified" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_grid_envelope.py", + "symbol": "test_underresolved_overrides_are_explicit_and_reach_both_drivers" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_grid_envelope.py", + "symbol": "test_underresolved_transient_and_ss_jv_fail_before_integration" + } + ], + "negative_only_descriptor_rule_ids": [ + "rule-7c07238b6404977829883a59", + "rule-e1907bad4174fa0a733201e7", + "rule-09a9ebac3b0482414392762b", + "rule-1d74fb3c4e06a98baead150d", + "rule-4583bc9e2b06a22f3c690e9c" + ], + "source_quantitative_assertion_ids_for_scope_audit": [ + "rule-2d2c2106ab310b00901e82a3", + "rule-473ed060e47e5fe94bac69c1", + "rule-b39af64477cb06dcb7e6ca18", + "rule-1a17ff167feddd3297b26e69", + "rule-fed094448b4e78721b92785e", + "rule-1d3ffae293d1a65ba0c80285", + "rule-6a68794646aaebab3b8f13db", + "rule-fc0b171f5e485f36b8bd43b3", + "rule-fc46dab20b9323d3efabd28a", + "rule-142f90f160a99cd984e06faa" + ], + "rule_ids": [ + "M_payload", + "projection_packet" + ], + "citations": [], + "remaining_inputs": [ + { + "field": "source/target geometry and a verified conservative CV intersection/projection artifact or explicit1D cell averages", + "needed_from": "benchmark-f050f4122cc07b66 exact original driver/reference observation packet; perovskite-sim/tests/integration/backend/test_user_configs_api.py::test_csi_underresolved_grid_returns_actionable_client_error, perovskite-sim/tests/regression/test_csi_grid_envelope.py::test_declared_csi_minimum_meets_debye_guard_and_has_finite_seed, perovskite-sim/tests/regression/test_csi_grid_envelope.py::test_default_jv_grid_is_outside_csi_declared_envelope, perovskite-sim/tests/regression/test_csi_grid_envelope.py::test_thin_film_smoke_mesh_is_not_misrepresented_as_globally_certified, perovskite-sim/tests/regression/test_csi_grid_envelope.py::test_underresolved_overrides_are_explicit_and_reach_both_drivers, perovskite-sim/tests/regression/test_csi_grid_envelope.py::test_underresolved_t", + "blocked_use": "new N acceptance / qualified reference use for benchmark:csi-grid-envelope-gap" + }, + { + "field": "fixed numeric integral/inventory/left-trace/right-trace scales and limits in their physical units", + "needed_from": "benchmark-f050f4122cc07b66 exact original driver/reference observation packet; perovskite-sim/tests/integration/backend/test_user_configs_api.py::test_csi_underresolved_grid_returns_actionable_client_error, perovskite-sim/tests/regression/test_csi_grid_envelope.py::test_declared_csi_minimum_meets_debye_guard_and_has_finite_seed, perovskite-sim/tests/regression/test_csi_grid_envelope.py::test_default_jv_grid_is_outside_csi_declared_envelope, perovskite-sim/tests/regression/test_csi_grid_envelope.py::test_thin_film_smoke_mesh_is_not_misrepresented_as_globally_certified, perovskite-sim/tests/regression/test_csi_grid_envelope.py::test_underresolved_overrides_are_explicit_and_reach_both_drivers, perovskite-sim/tests/regression/test_csi_grid_envelope.py::test_underresolved_t", + "blocked_use": "new N acceptance / qualified reference use for benchmark:csi-grid-envelope-gap" + }, + { + "field": "projection error, component topology and every interface-side identity", + "needed_from": "benchmark-f050f4122cc07b66 exact original driver/reference observation packet; perovskite-sim/tests/integration/backend/test_user_configs_api.py::test_csi_underresolved_grid_returns_actionable_client_error, perovskite-sim/tests/regression/test_csi_grid_envelope.py::test_declared_csi_minimum_meets_debye_guard_and_has_finite_seed, perovskite-sim/tests/regression/test_csi_grid_envelope.py::test_default_jv_grid_is_outside_csi_declared_envelope, perovskite-sim/tests/regression/test_csi_grid_envelope.py::test_thin_film_smoke_mesh_is_not_misrepresented_as_globally_certified, perovskite-sim/tests/regression/test_csi_grid_envelope.py::test_underresolved_overrides_are_explicit_and_reach_both_drivers, perovskite-sim/tests/regression/test_csi_grid_envelope.py::test_underresolved_t", + "blocked_use": "new N acceptance / qualified reference use for benchmark:csi-grid-envelope-gap" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/benchmark-f050f4122cc07b66/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + } + ], + "downstream_tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-benchmark-f050f4122cc07b66" + }, + "scope_specific_prior_gaps": [ + { + "field": "source/target geometry and a verified conservative CV intersection/projection artifact or explicit1D cell averages", + "needed_from": "benchmark-f050f4122cc07b66 exact original driver/reference observation packet; perovskite-sim/tests/integration/backend/test_user_configs_api.py::test_csi_underresolved_grid_returns_actionable_client_error, perovskite-sim/tests/regression/test_csi_grid_envelope.py::test_declared_csi_minimum_meets_debye_guard_and_has_finite_seed, perovskite-sim/tests/regression/test_csi_grid_envelope.py::test_default_jv_grid_is_outside_csi_declared_envelope, perovskite-sim/tests/regression/test_csi_grid_envelope.py::test_thin_film_smoke_mesh_is_not_misrepresented_as_globally_certified, perovskite-sim/tests/regression/test_csi_grid_envelope.py::test_underresolved_overrides_are_explicit_and_reach_both_drivers, perovskite-sim/tests/regression/test_csi_grid_envelope.py::test_underresolved_t", + "blocked_use": "new N acceptance / qualified reference use for benchmark:csi-grid-envelope-gap", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "fixed numeric integral/inventory/left-trace/right-trace scales and limits in their physical units", + "needed_from": "benchmark-f050f4122cc07b66 exact original driver/reference observation packet; perovskite-sim/tests/integration/backend/test_user_configs_api.py::test_csi_underresolved_grid_returns_actionable_client_error, perovskite-sim/tests/regression/test_csi_grid_envelope.py::test_declared_csi_minimum_meets_debye_guard_and_has_finite_seed, perovskite-sim/tests/regression/test_csi_grid_envelope.py::test_default_jv_grid_is_outside_csi_declared_envelope, perovskite-sim/tests/regression/test_csi_grid_envelope.py::test_thin_film_smoke_mesh_is_not_misrepresented_as_globally_certified, perovskite-sim/tests/regression/test_csi_grid_envelope.py::test_underresolved_overrides_are_explicit_and_reach_both_drivers, perovskite-sim/tests/regression/test_csi_grid_envelope.py::test_underresolved_t", + "blocked_use": "new N acceptance / qualified reference use for benchmark:csi-grid-envelope-gap", + "categories": [ + "source_configuration", + "tolerance_decision" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "projection error, component topology and every interface-side identity", + "needed_from": "benchmark-f050f4122cc07b66 exact original driver/reference observation packet; perovskite-sim/tests/integration/backend/test_user_configs_api.py::test_csi_underresolved_grid_returns_actionable_client_error, perovskite-sim/tests/regression/test_csi_grid_envelope.py::test_declared_csi_minimum_meets_debye_guard_and_has_finite_seed, perovskite-sim/tests/regression/test_csi_grid_envelope.py::test_default_jv_grid_is_outside_csi_declared_envelope, perovskite-sim/tests/regression/test_csi_grid_envelope.py::test_thin_film_smoke_mesh_is_not_misrepresented_as_globally_certified, perovskite-sim/tests/regression/test_csi_grid_envelope.py::test_underresolved_overrides_are_explicit_and_reach_both_drivers, perovskite-sim/tests/regression/test_csi_grid_envelope.py::test_underresolved_t", + "blocked_use": "new N acceptance / qualified reference use for benchmark:csi-grid-envelope-gap", + "categories": [ + "source_configuration", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/benchmark-f050f4122cc07b66/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [], + "current_numeric_status": "prior_exact_scope_gaps_retained_and_classified" + } + }, + { + "id": "scope-benchmark-2944ea519ddd6969", + "capability_id": "benchmark-2944ea519ddd6969", + "route_id": "route-f13ea1085e6c91d1", + "origin_key": "benchmark:csi-jv-driver-capability-boundary", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "JV_metrics_and_full_branch", + "current_observation_or_current_input" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "pointer": "/benchmarks/csi-jv-driver-capability-boundary", + "value_sha256": "edfcc2727d0eb12a55c3884644f03bc4bf0d66f60a8c45a3054cd4c4271302ca" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_generic_state_cancellation.py", + "symbol": "test_certified_qf_state_exposes_density_sg_cancellation_boundary" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/backend/test_solver_dispatch.py", + "symbol": "test_dispatch_quasi_fermi_rejects_dark_jv" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/backend/test_solver_dispatch.py", + "symbol": "test_dispatch_quasi_fermi_returns_certificate_bearing_jvresult" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/backend/test_solver_dispatch.py", + "symbol": "test_jv_api_returns_422_for_policy_rejected_driver" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/backend/test_solver_dispatch.py", + "symbol": "test_stack_from_dict_plumbs_jv_solver_policy" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_jv_driver_capability.py", + "symbol": "test_qf_required_policy_rejects_general_drivers_before_solve" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_jv_driver_capability.py", + "symbol": "test_shipped_csi_config_enforces_grid_then_qf_driver_capability" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_jv_driver_capability.py", + "symbol": "test_unvalidated_driver_override_is_explicit_and_diagnostic_only" + } + ], + "negative_only_descriptor_rule_ids": [ + "rule-7f9a4bb15bb4b7a49056e7e4", + "rule-d04ad2f4c663e4674aa02d56", + "rule-317eedbdf954dd1d86682d22", + "rule-800a971daecb6cf724fe6c8b", + "rule-1b8fd6ce9c9cdcff5b3fe1f6", + "rule-489141761c9c79a7d7c1f320" + ], + "source_quantitative_assertion_ids_for_scope_audit": [ + "rule-8af4cbe903a543ebe33b40e7", + "rule-24bf5660ac58c96736981d18", + "rule-6ee2df19e957f8f695a8fe02", + "rule-da04dd950c3bde658035c584", + "rule-5e26327c7776d4f9fcf9d509", + "rule-64a7c11e1308f5d68d711eca", + "rule-8206e086ddadba8fc5ea86cd", + "rule-4b32a061507caff39196ae72", + "rule-5ba055eaea57939a60c73da0", + "rule-13c3fb09acbc37a30d8c98ff", + "rule-286df71525681a8536026541" + ], + "rule_ids": [ + "M_payload", + "Voc_absolute", + "JV_metric_packet", + "current_packet" + ], + "citations": [], + "remaining_inputs": [ + { + "field": "fixed numeric Jsc/FF/PCE reference values/scales with the actual output units and conversion identity", + "needed_from": "benchmark-2944ea519ddd6969 exact original driver/reference observation packet; perovskite-sim/tests/regression/test_csi_generic_state_cancellation.py::test_certified_qf_state_exposes_density_sg_cancellation_boundary, perovskite-sim/tests/unit/backend/test_solver_dispatch.py::test_dispatch_quasi_fermi_rejects_dark_jv, perovskite-sim/tests/unit/backend/test_solver_dispatch.py::test_dispatch_quasi_fermi_returns_certificate_bearing_jvresult, perovskite-sim/tests/unit/backend/test_solver_dispatch.py::test_jv_api_returns_422_for_policy_rejected_driver, perovskite-sim/tests/unit/backend/test_solver_dispatch.py::test_stack_from_dict_plumbs_jv_solver_policy, perovskite-sim/tests/unit/experiments/test_jv_driver_capability.py::test_qf_required_policy_rejects_general_drivers_befor", + "blocked_use": "new N acceptance / qualified reference use for benchmark:csi-jv-driver-capability-boundary" + }, + { + "field": "dimensional dark/weak Jsc and zero-power absolute limits with error evidence", + "needed_from": "benchmark-2944ea519ddd6969 exact original driver/reference observation packet; perovskite-sim/tests/regression/test_csi_generic_state_cancellation.py::test_certified_qf_state_exposes_density_sg_cancellation_boundary, perovskite-sim/tests/unit/backend/test_solver_dispatch.py::test_dispatch_quasi_fermi_rejects_dark_jv, perovskite-sim/tests/unit/backend/test_solver_dispatch.py::test_dispatch_quasi_fermi_returns_certificate_bearing_jvresult, perovskite-sim/tests/unit/backend/test_solver_dispatch.py::test_jv_api_returns_422_for_policy_rejected_driver, perovskite-sim/tests/unit/backend/test_solver_dispatch.py::test_stack_from_dict_plumbs_jv_solver_policy, perovskite-sim/tests/unit/experiments/test_jv_driver_capability.py::test_qf_required_policy_rejects_general_drivers_befor", + "blocked_use": "new N acceptance / qualified reference use for benchmark:csi-jv-driver-capability-boundary" + }, + { + "field": "Voc bracket, dJ/dV and current-error propagation bound; MPP sampling and full branch coordinates", + "needed_from": "benchmark-2944ea519ddd6969 exact original driver/reference observation packet; perovskite-sim/tests/regression/test_csi_generic_state_cancellation.py::test_certified_qf_state_exposes_density_sg_cancellation_boundary, perovskite-sim/tests/unit/backend/test_solver_dispatch.py::test_dispatch_quasi_fermi_rejects_dark_jv, perovskite-sim/tests/unit/backend/test_solver_dispatch.py::test_dispatch_quasi_fermi_returns_certificate_bearing_jvresult, perovskite-sim/tests/unit/backend/test_solver_dispatch.py::test_jv_api_returns_422_for_policy_rejected_driver, perovskite-sim/tests/unit/backend/test_solver_dispatch.py::test_stack_from_dict_plumbs_jv_solver_policy, perovskite-sim/tests/unit/experiments/test_jv_driver_capability.py::test_qf_required_policy_rejects_general_drivers_befor", + "blocked_use": "new N acceptance / qualified reference use for benchmark:csi-jv-driver-capability-boundary" + }, + { + "field": "numeric reference current scale and absolute weak/zero current allowance, in the actual A or A m-2 output unit", + "needed_from": "benchmark-2944ea519ddd6969 exact original driver/reference observation packet; perovskite-sim/tests/regression/test_csi_generic_state_cancellation.py::test_certified_qf_state_exposes_density_sg_cancellation_boundary, perovskite-sim/tests/unit/backend/test_solver_dispatch.py::test_dispatch_quasi_fermi_rejects_dark_jv, perovskite-sim/tests/unit/backend/test_solver_dispatch.py::test_dispatch_quasi_fermi_returns_certificate_bearing_jvresult, perovskite-sim/tests/unit/backend/test_solver_dispatch.py::test_jv_api_returns_422_for_policy_rejected_driver, perovskite-sim/tests/unit/backend/test_solver_dispatch.py::test_stack_from_dict_plumbs_jv_solver_policy, perovskite-sim/tests/unit/experiments/test_jv_driver_capability.py::test_qf_required_policy_rejects_general_drivers_befor", + "blocked_use": "new N acceptance / qualified reference use for benchmark:csi-jv-driver-capability-boundary" + }, + { + "field": "each component/sign/port/support, observation times and both event sides", + "needed_from": "benchmark-2944ea519ddd6969 exact original driver/reference observation packet; perovskite-sim/tests/regression/test_csi_generic_state_cancellation.py::test_certified_qf_state_exposes_density_sg_cancellation_boundary, perovskite-sim/tests/unit/backend/test_solver_dispatch.py::test_dispatch_quasi_fermi_rejects_dark_jv, perovskite-sim/tests/unit/backend/test_solver_dispatch.py::test_dispatch_quasi_fermi_returns_certificate_bearing_jvresult, perovskite-sim/tests/unit/backend/test_solver_dispatch.py::test_jv_api_returns_422_for_policy_rejected_driver, perovskite-sim/tests/unit/backend/test_solver_dispatch.py::test_stack_from_dict_plumbs_jv_solver_policy, perovskite-sim/tests/unit/experiments/test_jv_driver_capability.py::test_qf_required_policy_rejects_general_drivers_befor", + "blocked_use": "new N acceptance / qualified reference use for benchmark:csi-jv-driver-capability-boundary" + }, + { + "field": "pointwise current uncertainty and a pointwise comparison limit; integrated charge is not a substitute", + "needed_from": "benchmark-2944ea519ddd6969 exact original driver/reference observation packet; perovskite-sim/tests/regression/test_csi_generic_state_cancellation.py::test_certified_qf_state_exposes_density_sg_cancellation_boundary, perovskite-sim/tests/unit/backend/test_solver_dispatch.py::test_dispatch_quasi_fermi_rejects_dark_jv, perovskite-sim/tests/unit/backend/test_solver_dispatch.py::test_dispatch_quasi_fermi_returns_certificate_bearing_jvresult, perovskite-sim/tests/unit/backend/test_solver_dispatch.py::test_jv_api_returns_422_for_policy_rejected_driver, perovskite-sim/tests/unit/backend/test_solver_dispatch.py::test_stack_from_dict_plumbs_jv_solver_policy, perovskite-sim/tests/unit/experiments/test_jv_driver_capability.py::test_qf_required_policy_rejects_general_drivers_befor", + "blocked_use": "new N acceptance / qualified reference use for benchmark:csi-jv-driver-capability-boundary" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/benchmark-2944ea519ddd6969/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + } + ], + "downstream_tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-benchmark-2944ea519ddd6969" + }, + "scope_specific_prior_gaps": [ + { + "field": "fixed numeric Jsc/FF/PCE reference values/scales with the actual output units and conversion identity", + "needed_from": "benchmark-2944ea519ddd6969 exact original driver/reference observation packet; perovskite-sim/tests/regression/test_csi_generic_state_cancellation.py::test_certified_qf_state_exposes_density_sg_cancellation_boundary, perovskite-sim/tests/unit/backend/test_solver_dispatch.py::test_dispatch_quasi_fermi_rejects_dark_jv, perovskite-sim/tests/unit/backend/test_solver_dispatch.py::test_dispatch_quasi_fermi_returns_certificate_bearing_jvresult, perovskite-sim/tests/unit/backend/test_solver_dispatch.py::test_jv_api_returns_422_for_policy_rejected_driver, perovskite-sim/tests/unit/backend/test_solver_dispatch.py::test_stack_from_dict_plumbs_jv_solver_policy, perovskite-sim/tests/unit/experiments/test_jv_driver_capability.py::test_qf_required_policy_rejects_general_drivers_befor", + "blocked_use": "new N acceptance / qualified reference use for benchmark:csi-jv-driver-capability-boundary", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "dimensional dark/weak Jsc and zero-power absolute limits with error evidence", + "needed_from": "benchmark-2944ea519ddd6969 exact original driver/reference observation packet; perovskite-sim/tests/regression/test_csi_generic_state_cancellation.py::test_certified_qf_state_exposes_density_sg_cancellation_boundary, perovskite-sim/tests/unit/backend/test_solver_dispatch.py::test_dispatch_quasi_fermi_rejects_dark_jv, perovskite-sim/tests/unit/backend/test_solver_dispatch.py::test_dispatch_quasi_fermi_returns_certificate_bearing_jvresult, perovskite-sim/tests/unit/backend/test_solver_dispatch.py::test_jv_api_returns_422_for_policy_rejected_driver, perovskite-sim/tests/unit/backend/test_solver_dispatch.py::test_stack_from_dict_plumbs_jv_solver_policy, perovskite-sim/tests/unit/experiments/test_jv_driver_capability.py::test_qf_required_policy_rejects_general_drivers_befor", + "blocked_use": "new N acceptance / qualified reference use for benchmark:csi-jv-driver-capability-boundary", + "categories": [ + "tolerance_decision", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "Voc bracket, dJ/dV and current-error propagation bound; MPP sampling and full branch coordinates", + "needed_from": "benchmark-2944ea519ddd6969 exact original driver/reference observation packet; perovskite-sim/tests/regression/test_csi_generic_state_cancellation.py::test_certified_qf_state_exposes_density_sg_cancellation_boundary, perovskite-sim/tests/unit/backend/test_solver_dispatch.py::test_dispatch_quasi_fermi_rejects_dark_jv, perovskite-sim/tests/unit/backend/test_solver_dispatch.py::test_dispatch_quasi_fermi_returns_certificate_bearing_jvresult, perovskite-sim/tests/unit/backend/test_solver_dispatch.py::test_jv_api_returns_422_for_policy_rejected_driver, perovskite-sim/tests/unit/backend/test_solver_dispatch.py::test_stack_from_dict_plumbs_jv_solver_policy, perovskite-sim/tests/unit/experiments/test_jv_driver_capability.py::test_qf_required_policy_rejects_general_drivers_befor", + "blocked_use": "new N acceptance / qualified reference use for benchmark:csi-jv-driver-capability-boundary", + "categories": [ + "measurement_data", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "numeric reference current scale and absolute weak/zero current allowance, in the actual A or A m-2 output unit", + "needed_from": "benchmark-2944ea519ddd6969 exact original driver/reference observation packet; perovskite-sim/tests/regression/test_csi_generic_state_cancellation.py::test_certified_qf_state_exposes_density_sg_cancellation_boundary, perovskite-sim/tests/unit/backend/test_solver_dispatch.py::test_dispatch_quasi_fermi_rejects_dark_jv, perovskite-sim/tests/unit/backend/test_solver_dispatch.py::test_dispatch_quasi_fermi_returns_certificate_bearing_jvresult, perovskite-sim/tests/unit/backend/test_solver_dispatch.py::test_jv_api_returns_422_for_policy_rejected_driver, perovskite-sim/tests/unit/backend/test_solver_dispatch.py::test_stack_from_dict_plumbs_jv_solver_policy, perovskite-sim/tests/unit/experiments/test_jv_driver_capability.py::test_qf_required_policy_rejects_general_drivers_befor", + "blocked_use": "new N acceptance / qualified reference use for benchmark:csi-jv-driver-capability-boundary", + "categories": [ + "source_configuration", + "tolerance_decision" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "each component/sign/port/support, observation times and both event sides", + "needed_from": "benchmark-2944ea519ddd6969 exact original driver/reference observation packet; perovskite-sim/tests/regression/test_csi_generic_state_cancellation.py::test_certified_qf_state_exposes_density_sg_cancellation_boundary, perovskite-sim/tests/unit/backend/test_solver_dispatch.py::test_dispatch_quasi_fermi_rejects_dark_jv, perovskite-sim/tests/unit/backend/test_solver_dispatch.py::test_dispatch_quasi_fermi_returns_certificate_bearing_jvresult, perovskite-sim/tests/unit/backend/test_solver_dispatch.py::test_jv_api_returns_422_for_policy_rejected_driver, perovskite-sim/tests/unit/backend/test_solver_dispatch.py::test_stack_from_dict_plumbs_jv_solver_policy, perovskite-sim/tests/unit/experiments/test_jv_driver_capability.py::test_qf_required_policy_rejects_general_drivers_befor", + "blocked_use": "new N acceptance / qualified reference use for benchmark:csi-jv-driver-capability-boundary", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "pointwise current uncertainty and a pointwise comparison limit; integrated charge is not a substitute", + "needed_from": "benchmark-2944ea519ddd6969 exact original driver/reference observation packet; perovskite-sim/tests/regression/test_csi_generic_state_cancellation.py::test_certified_qf_state_exposes_density_sg_cancellation_boundary, perovskite-sim/tests/unit/backend/test_solver_dispatch.py::test_dispatch_quasi_fermi_rejects_dark_jv, perovskite-sim/tests/unit/backend/test_solver_dispatch.py::test_dispatch_quasi_fermi_returns_certificate_bearing_jvresult, perovskite-sim/tests/unit/backend/test_solver_dispatch.py::test_jv_api_returns_422_for_policy_rejected_driver, perovskite-sim/tests/unit/backend/test_solver_dispatch.py::test_stack_from_dict_plumbs_jv_solver_policy, perovskite-sim/tests/unit/experiments/test_jv_driver_capability.py::test_qf_required_policy_rejects_general_drivers_befor", + "blocked_use": "new N acceptance / qualified reference use for benchmark:csi-jv-driver-capability-boundary", + "categories": [ + "tolerance_decision", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/benchmark-2944ea519ddd6969/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [], + "current_numeric_status": "prior_exact_scope_gaps_retained_and_classified" + } + }, + { + "id": "scope-benchmark-3ece4d3a78f8823e", + "capability_id": "benchmark-3ece4d3a78f8823e", + "route_id": "route-f13ea1085e6c91d1", + "origin_key": "benchmark:csi-qf-frequency-domain-cv", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "complex_frequency_response" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "pointer": "/benchmarks/csi-qf-frequency-domain-cv", + "value_sha256": "0d1ec4cb170f70ecf4daddb7d258c028b91cf0ab4007fc84b7f627fca0b2fd5b" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/data/references/csi_pn_cv_intercept.yaml" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py", + "symbol": "test_csi_apparent_intercept_shift_matches_published_pn_range" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py", + "symbol": "test_csi_depletion_cv_curve_converges_on_registered_grid_ladder" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py", + "symbol": "test_csi_depletion_cv_has_frequency_and_all_face_plateaus" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py", + "symbol": "test_csi_frequency_domain_has_capacitance_plateau_and_current_certificate" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py", + "symbol": "test_csi_frequency_domain_is_stable_to_steps_and_nominal_amplitude" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py", + "symbol": "test_csi_frequency_domain_matches_independent_dc_carrier_inventory" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py", + "symbol": "test_csi_frequency_domain_observations_match_registry" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py", + "symbol": "test_csi_frequency_domain_recovers_depletion_not_geometric_capacitance" + } + ], + "negative_only_descriptor_rule_ids": [], + "source_quantitative_assertion_ids_for_scope_audit": [ + "rule-fff3a9fef5c2c1836f078f72", + "rule-d222d076bb64c3eda7a5fee4", + "rule-1734d1360c01846c6a7f2505", + "rule-dfad8e187ef535de9640a907", + "rule-17074fc3bf31d584ef1a1a03", + "rule-d328e9ce0ef652b7c1ea4417", + "rule-ae742113894ee352d01a2fa0", + "rule-4f8a975e5efdece0b0988fa9", + "rule-0e9855537e3c7b4b18050ef2", + "rule-981fe50321ae971cbc88d58c", + "rule-ef660c76acf3f293152423be", + "rule-6ea01419736547bad53eb376", + "rule-22caf9dc8f305d01d8849d61", + "rule-f53af45cec0b53babfae47bf", + "rule-9c5aec3a85892a82d48282b6", + "rule-f75dee90b8242196235236d7", + "rule-9803ff9e168f35ca58c0ef8e", + "rule-d88fe190bf956e6f988d20d9", + "rule-2da17b87be3242ddda960ca6", + "rule-f5bd1e21af96209480431aa2", + "rule-9e26329db6828be0749e84c1", + "rule-d4e94da6b266d29d4db7beb5", + "rule-1abc958c69dfb686132d5cc1", + "rule-a50d172f9afad4b097278554", + "rule-c62f22251fcc812b3b1ee592", + "rule-ea7ad266bf1d8fa179e0d1d4", + "rule-31d45324970fa70c33bb312c", + "rule-cfad9143f0e709fa8aded992", + "rule-f29979784c4a4e5012be6591", + "rule-2b77aac5e77a11f6e0941079", + "rule-9555cb3f24f945213b2b6e76", + "rule-913ea72b1229cf5b48d0cafe", + "rule-51a0de79212ac06e94c29f78", + "rule-16e14fb4707a7619723f30a5", + "rule-0d00817b4906112b7a1d453e", + "rule-4cb7cb7b3d49a819de7c50f8", + "rule-e731757c5e4c9c28704f5b9c", + "rule-b07b70e51c428a6cb1ac1ec6", + "rule-5f18f1a8f9d90297f6e5a498", + "rule-c965474424f83010cf095cfa", + "rule-2c18c85dfd252fba666039b4", + "rule-05b9905aa231c745c75b4992", + "rule-a9c60e672cda2332f38dc38f", + "rule-71eb4fd9f2c5289bc0eef2e3", + "rule-872025c1ea928e2745983605" + ], + "rule_ids": [ + "M_payload", + "complex_packet" + ], + "citations": [], + "remaining_inputs": [ + { + "field": "fixed numeric reference scales and real/imaginary/complex absolute bounds in S m-2 or ohm m2 as actually emitted", + "needed_from": "benchmark-3ece4d3a78f8823e exact original driver/reference observation packet; perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py::test_csi_apparent_intercept_shift_matches_published_pn_range, perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py::test_csi_depletion_cv_curve_converges_on_registered_grid_ladder, perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py::test_csi_depletion_cv_has_frequency_and_all_face_plateaus, perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py::test_csi_frequency_domain_has_capacitance_plateau_and_current_certificate, perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py::test_csi_frequency_domain_is_stable_to_steps_and_nominal_amplitude, perovskite-", + "blocked_use": "new N acceptance / qualified reference use for benchmark:csi-qf-frequency-domain-cv" + }, + { + "field": "numeric absolute phase limit in radians and per-driver/frequency resolvability floor with independent uncertainty/physical-resolution evidence", + "needed_from": "benchmark-3ece4d3a78f8823e exact original driver/reference observation packet; perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py::test_csi_apparent_intercept_shift_matches_published_pn_range, perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py::test_csi_depletion_cv_curve_converges_on_registered_grid_ladder, perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py::test_csi_depletion_cv_has_frequency_and_all_face_plateaus, perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py::test_csi_frequency_domain_has_capacitance_plateau_and_current_certificate, perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py::test_csi_frequency_domain_is_stable_to_steps_and_nominal_amplitude, perovskite-", + "blocked_use": "new N acceptance / qualified reference use for benchmark:csi-qf-frequency-domain-cv" + }, + { + "field": "explicit exact-zero frequencies, coordinate identity and independent component/phase errors", + "needed_from": "benchmark-3ece4d3a78f8823e exact original driver/reference observation packet; perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py::test_csi_apparent_intercept_shift_matches_published_pn_range, perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py::test_csi_depletion_cv_curve_converges_on_registered_grid_ladder, perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py::test_csi_depletion_cv_has_frequency_and_all_face_plateaus, perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py::test_csi_frequency_domain_has_capacitance_plateau_and_current_certificate, perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py::test_csi_frequency_domain_is_stable_to_steps_and_nominal_amplitude, perovskite-", + "blocked_use": "new N acceptance / qualified reference use for benchmark:csi-qf-frequency-domain-cv" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/benchmark-3ece4d3a78f8823e/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + } + ], + "downstream_tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-benchmark-3ece4d3a78f8823e" + }, + "scope_specific_prior_gaps": [ + { + "field": "fixed numeric reference scales and real/imaginary/complex absolute bounds in S m-2 or ohm m2 as actually emitted", + "needed_from": "benchmark-3ece4d3a78f8823e exact original driver/reference observation packet; perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py::test_csi_apparent_intercept_shift_matches_published_pn_range, perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py::test_csi_depletion_cv_curve_converges_on_registered_grid_ladder, perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py::test_csi_depletion_cv_has_frequency_and_all_face_plateaus, perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py::test_csi_frequency_domain_has_capacitance_plateau_and_current_certificate, perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py::test_csi_frequency_domain_is_stable_to_steps_and_nominal_amplitude, perovskite-", + "blocked_use": "new N acceptance / qualified reference use for benchmark:csi-qf-frequency-domain-cv", + "categories": [ + "source_configuration", + "tolerance_decision" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "numeric absolute phase limit in radians and per-driver/frequency resolvability floor with independent uncertainty/physical-resolution evidence", + "needed_from": "benchmark-3ece4d3a78f8823e exact original driver/reference observation packet; perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py::test_csi_apparent_intercept_shift_matches_published_pn_range, perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py::test_csi_depletion_cv_curve_converges_on_registered_grid_ladder, perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py::test_csi_depletion_cv_has_frequency_and_all_face_plateaus, perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py::test_csi_frequency_domain_has_capacitance_plateau_and_current_certificate, perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py::test_csi_frequency_domain_is_stable_to_steps_and_nominal_amplitude, perovskite-", + "blocked_use": "new N acceptance / qualified reference use for benchmark:csi-qf-frequency-domain-cv", + "categories": [ + "tolerance_decision", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "explicit exact-zero frequencies, coordinate identity and independent component/phase errors", + "needed_from": "benchmark-3ece4d3a78f8823e exact original driver/reference observation packet; perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py::test_csi_apparent_intercept_shift_matches_published_pn_range, perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py::test_csi_depletion_cv_curve_converges_on_registered_grid_ladder, perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py::test_csi_depletion_cv_has_frequency_and_all_face_plateaus, perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py::test_csi_frequency_domain_has_capacitance_plateau_and_current_certificate, perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py::test_csi_frequency_domain_is_stable_to_steps_and_nominal_amplitude, perovskite-", + "blocked_use": "new N acceptance / qualified reference use for benchmark:csi-qf-frequency-domain-cv", + "categories": [ + "measurement_data", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/benchmark-3ece4d3a78f8823e/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [], + "current_numeric_status": "prior_exact_scope_gaps_retained_and_classified" + } + }, + { + "id": "scope-benchmark-3ca07445f8402d7d", + "capability_id": "benchmark-3ca07445f8402d7d", + "route_id": "route-f13ea1085e6c91d1", + "origin_key": "benchmark:csi-qf-internal-validation", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "source_specific_positive_observable_requires_declared_metric_selection" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "pointer": "/benchmarks/csi-qf-internal-validation", + "value_sha256": "06d7c63b03aa1528d93fefd5c5ab6c70107b7e99f9ad2d8a3d440fe14b4c38ab" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py", + "symbol": "test_csi_config_and_registered_voltage_protocol" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py", + "symbol": "test_csi_full_jv_curve_and_metrics_converge" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py", + "symbol": "test_csi_jv_curves_are_physical_and_bracket_open_circuit" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py", + "symbol": "test_csi_jv_observations_match_reproducibility_registry" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py", + "symbol": "test_csi_voltage_sampling_resolves_maximum_power" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py", + "symbol": "test_every_csi_jv_point_has_independent_physics_certificate" + } + ], + "negative_only_descriptor_rule_ids": [], + "source_quantitative_assertion_ids_for_scope_audit": [ + "rule-b5b39dd657fbe0392e8907e5", + "rule-2d291d0114be1a24ee70cb6a", + "rule-2c4825c43299ca084daeb7ad", + "rule-8904361e4dcbc304e84781c1", + "rule-4726169258878ce0d8e7c6a1", + "rule-4c26e90f8593b935658932af", + "rule-5778b08a790123743cceb0df", + "rule-e2cdf06e9a24523a11c27724", + "rule-a6322be4f792153eb7a44e7e", + "rule-a30b12b0ffe3b58ff92b33f2", + "rule-d24b681c3f74bd9ef7075193", + "rule-2d00548a523e35d868d01ae7", + "rule-5d868fb581ed6912adc6ac43", + "rule-fb551146163f78bb8c1506a7", + "rule-f57c4d0c37a613a6d1f6460b", + "rule-d047ca5ab0839c57765dc68f", + "rule-99830912830699bc98b2408c", + "rule-40ca69d2d1dd1b967d60edb1", + "rule-63a3096b33f98db6b3f3bfed", + "rule-72ca4608125e195c1d4ba012", + "rule-68b0f4a243a95d8c20932a20", + "rule-62f981fd840ac7736ddfc916", + "rule-2d399869d5eb13d5b647b616", + "rule-da32610d850a0a86396e4101", + "rule-5ef4a8d0e21251a14286f366", + "rule-d47370d245d8b39c27a131ec", + "rule-f20f45e86d56de01b65cf43b", + "rule-fb3caa7ac43390bd07b3d8e5", + "rule-e2b3a3377581591f51da0375", + "rule-2b99c708e2c5a5d2ce273745", + "rule-c5abfbb73535dcd6b970dbe1", + "rule-2b197ff99de9fdd98c398d01", + "rule-8c3b9e05e0939fee27485df3", + "rule-dc76ff775a0113c8fa5eef73", + "rule-084a52bc408acda9127a9b00", + "rule-db0ca8bda00946a695526481", + "rule-14a8b2d68ad4948ab4c6022f", + "rule-b761e2f1b04275dc9a8ab2a9", + "rule-958329188f904fe7fb465ccc", + "rule-93d7e9bc059d91578ac362b7", + "rule-38f4deda8c725ccc2c5b59c8" + ], + "rule_ids": [ + "M_payload", + "operator_packet" + ], + "citations": [], + "remaining_inputs": [ + { + "field": "actual row and column physical units, support and fixed per-block/state/input scales", + "needed_from": "benchmark-3ca07445f8402d7d exact original driver/reference observation packet; perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py::test_csi_config_and_registered_voltage_protocol, perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py::test_csi_full_jv_curve_and_metrics_converge, perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py::test_csi_jv_curves_are_physical_and_bracket_open_circuit, perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py::test_csi_jv_observations_match_reproducibility_registry, perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py::test_csi_voltage_sampling_resolves_maximum_power, perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py::test_every_csi_jv_point_has", + "blocked_use": "new N acceptance / qualified reference use for benchmark:csi-qf-internal-validation" + }, + { + "field": "numeric independent derivative/action/weak-increment thresholds from the original applicable contract", + "needed_from": "benchmark-3ca07445f8402d7d exact original driver/reference observation packet; perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py::test_csi_config_and_registered_voltage_protocol, perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py::test_csi_full_jv_curve_and_metrics_converge, perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py::test_csi_jv_curves_are_physical_and_bracket_open_circuit, perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py::test_csi_jv_observations_match_reproducibility_registry, perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py::test_csi_voltage_sampling_resolves_maximum_power, perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py::test_every_csi_jv_point_has", + "blocked_use": "new N acceptance / qualified reference use for benchmark:csi-qf-internal-validation" + }, + { + "field": "full nonlocal/input chain, inactive/zero branch and independent reference/cancellation error", + "needed_from": "benchmark-3ca07445f8402d7d exact original driver/reference observation packet; perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py::test_csi_config_and_registered_voltage_protocol, perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py::test_csi_full_jv_curve_and_metrics_converge, perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py::test_csi_jv_curves_are_physical_and_bracket_open_circuit, perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py::test_csi_jv_observations_match_reproducibility_registry, perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py::test_csi_voltage_sampling_resolves_maximum_power, perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py::test_every_csi_jv_point_has", + "blocked_use": "new N acceptance / qualified reference use for benchmark:csi-qf-internal-validation" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/benchmark-3ca07445f8402d7d/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + } + ], + "downstream_tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-benchmark-3ca07445f8402d7d" + }, + "scope_specific_prior_gaps": [ + { + "field": "actual row and column physical units, support and fixed per-block/state/input scales", + "needed_from": "benchmark-3ca07445f8402d7d exact original driver/reference observation packet; perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py::test_csi_config_and_registered_voltage_protocol, perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py::test_csi_full_jv_curve_and_metrics_converge, perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py::test_csi_jv_curves_are_physical_and_bracket_open_circuit, perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py::test_csi_jv_observations_match_reproducibility_registry, perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py::test_csi_voltage_sampling_resolves_maximum_power, perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py::test_every_csi_jv_point_has", + "blocked_use": "new N acceptance / qualified reference use for benchmark:csi-qf-internal-validation", + "categories": [ + "source_configuration" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "numeric independent derivative/action/weak-increment thresholds from the original applicable contract", + "needed_from": "benchmark-3ca07445f8402d7d exact original driver/reference observation packet; perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py::test_csi_config_and_registered_voltage_protocol, perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py::test_csi_full_jv_curve_and_metrics_converge, perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py::test_csi_jv_curves_are_physical_and_bracket_open_circuit, perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py::test_csi_jv_observations_match_reproducibility_registry, perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py::test_csi_voltage_sampling_resolves_maximum_power, perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py::test_every_csi_jv_point_has", + "blocked_use": "new N acceptance / qualified reference use for benchmark:csi-qf-internal-validation", + "categories": [ + "tolerance_decision" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "full nonlocal/input chain, inactive/zero branch and independent reference/cancellation error", + "needed_from": "benchmark-3ca07445f8402d7d exact original driver/reference observation packet; perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py::test_csi_config_and_registered_voltage_protocol, perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py::test_csi_full_jv_curve_and_metrics_converge, perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py::test_csi_jv_curves_are_physical_and_bracket_open_circuit, perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py::test_csi_jv_observations_match_reproducibility_registry, perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py::test_csi_voltage_sampling_resolves_maximum_power, perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py::test_every_csi_jv_point_has", + "blocked_use": "new N acceptance / qualified reference use for benchmark:csi-qf-internal-validation", + "categories": [ + "source_configuration", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/benchmark-3ca07445f8402d7d/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [], + "current_numeric_status": "prior_exact_scope_gaps_retained_and_classified" + } + }, + { + "id": "scope-benchmark-9ffebfadd845315b", + "capability_id": "benchmark-9ffebfadd845315b", + "route_id": "route-f13ea1085e6c91d1", + "origin_key": "benchmark:degenerate-pn-internal-closure", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "physical_profiles_or_stored_state_history" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "pointer": "/benchmarks/degenerate-pn-internal-closure", + "value_sha256": "9b93a96a406737531341746af9573f778a2ab7e5eba8f26bf19cdb318a7f8cf1" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_degenerate_transport.py", + "symbol": "test_fd_flux_vanishes_for_constant_quasi_fermi_potentials" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py", + "symbol": "test_high_doping_fd_pn_equilibrium_closes_across_grid_and_tolerance" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_degenerate_refinement.py", + "symbol": "test_registered_executor_real_cell_matches_exact_contract" + } + ], + "negative_only_descriptor_rule_ids": [], + "source_quantitative_assertion_ids_for_scope_audit": [ + "rule-4a853afc27a1b1f2b639b739", + "rule-f55ad38590c3a0aa553d312e", + "rule-d94add31443e88a69913975e", + "rule-b7d771fc9375af9a5d1cf161", + "rule-603357ae93f89323de02e022", + "rule-d0a1d0db07578ae5cc6b7db1", + "rule-e360340ddc83017d0160cca1", + "rule-fc9c37feee7bde808a11ae88", + "rule-8053ee9d516e4f01145b7d9c", + "rule-080bb2defd360a37691ecc2a", + "rule-1c06a2f730fa08027b2c3bf7", + "rule-e95e9bfc812e49c431c9b964", + "rule-4f43786b11561f4552508515" + ], + "rule_ids": [ + "M_payload", + "potential_packet", + "positive_density_log", + "density_inventory_packet" + ], + "citations": [], + "remaining_inputs": [ + { + "field": "numeric fixed thermal/physical voltage scale in V from the exact reference temperature or declared boundary parameters", + "needed_from": "benchmark-9ffebfadd845315b exact original driver/reference observation packet; perovskite-sim/tests/unit/physics/test_degenerate_transport.py::test_fd_flux_vanishes_for_constant_quasi_fermi_potentials, perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py::test_high_doping_fd_pn_equilibrium_closes_across_grid_and_tolerance, perovskite-sim/tests/unit/validation/test_degenerate_refinement.py::test_registered_executor_real_cell_matches_exact_contract", + "blocked_use": "new N acceptance / qualified reference use for benchmark:degenerate-pn-internal-closure" + }, + { + "field": "actual reference CV weights/support and physical gauge/contact values; allowed mask", + "needed_from": "benchmark-9ffebfadd845315b exact original driver/reference observation packet; perovskite-sim/tests/unit/physics/test_degenerate_transport.py::test_fd_flux_vanishes_for_constant_quasi_fermi_potentials, perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py::test_high_doping_fd_pn_equilibrium_closes_across_grid_and_tolerance, perovskite-sim/tests/unit/validation/test_degenerate_refinement.py::test_registered_executor_real_cell_matches_exact_contract", + "blocked_use": "new N acceptance / qualified reference use for benchmark:degenerate-pn-internal-closure" + }, + { + "field": "independent source/grid/time/mapping error in V and its qualified reference identity", + "needed_from": "benchmark-9ffebfadd845315b exact original driver/reference observation packet; perovskite-sim/tests/unit/physics/test_degenerate_transport.py::test_fd_flux_vanishes_for_constant_quasi_fermi_potentials, perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py::test_high_doping_fd_pn_equilibrium_closes_across_grid_and_tolerance, perovskite-sim/tests/unit/validation/test_degenerate_refinement.py::test_registered_executor_real_cell_matches_exact_contract", + "blocked_use": "new N acceptance / qualified reference use for benchmark:degenerate-pn-internal-closure" + }, + { + "field": "per-species/per-connected-domain positive reference inventory numeric scale and unit (1 or m-2, according to actual CV measure)", + "needed_from": "benchmark-9ffebfadd845315b exact original driver/reference observation packet; perovskite-sim/tests/unit/physics/test_degenerate_transport.py::test_fd_flux_vanishes_for_constant_quasi_fermi_potentials, perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py::test_high_doping_fd_pn_equilibrium_closes_across_grid_and_tolerance, perovskite-sim/tests/unit/validation/test_degenerate_refinement.py::test_registered_executor_real_cell_matches_exact_contract", + "blocked_use": "new N acceptance / qualified reference use for benchmark:degenerate-pn-internal-closure" + }, + { + "field": "zero-species/zero-cell identity and numeric dimensional absolute gate from model absence or reference error evidence", + "needed_from": "benchmark-9ffebfadd845315b exact original driver/reference observation packet; perovskite-sim/tests/unit/physics/test_degenerate_transport.py::test_fd_flux_vanishes_for_constant_quasi_fermi_potentials, perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py::test_high_doping_fd_pn_equilibrium_closes_across_grid_and_tolerance, perovskite-sim/tests/unit/validation/test_degenerate_refinement.py::test_registered_executor_real_cell_matches_exact_contract", + "blocked_use": "new N acceptance / qualified reference use for benchmark:degenerate-pn-internal-closure" + }, + { + "field": "actual volumes, component labels and independent log/inventory uncertainty", + "needed_from": "benchmark-9ffebfadd845315b exact original driver/reference observation packet; perovskite-sim/tests/unit/physics/test_degenerate_transport.py::test_fd_flux_vanishes_for_constant_quasi_fermi_potentials, perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py::test_high_doping_fd_pn_equilibrium_closes_across_grid_and_tolerance, perovskite-sim/tests/unit/validation/test_degenerate_refinement.py::test_registered_executor_real_cell_matches_exact_contract", + "blocked_use": "new N acceptance / qualified reference use for benchmark:degenerate-pn-internal-closure" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/benchmark-9ffebfadd845315b/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + } + ], + "downstream_tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-benchmark-9ffebfadd845315b" + }, + "scope_specific_prior_gaps": [ + { + "field": "numeric fixed thermal/physical voltage scale in V from the exact reference temperature or declared boundary parameters", + "needed_from": "benchmark-9ffebfadd845315b exact original driver/reference observation packet; perovskite-sim/tests/unit/physics/test_degenerate_transport.py::test_fd_flux_vanishes_for_constant_quasi_fermi_potentials, perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py::test_high_doping_fd_pn_equilibrium_closes_across_grid_and_tolerance, perovskite-sim/tests/unit/validation/test_degenerate_refinement.py::test_registered_executor_real_cell_matches_exact_contract", + "blocked_use": "new N acceptance / qualified reference use for benchmark:degenerate-pn-internal-closure", + "categories": [ + "source_configuration" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual reference CV weights/support and physical gauge/contact values; allowed mask", + "needed_from": "benchmark-9ffebfadd845315b exact original driver/reference observation packet; perovskite-sim/tests/unit/physics/test_degenerate_transport.py::test_fd_flux_vanishes_for_constant_quasi_fermi_potentials, perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py::test_high_doping_fd_pn_equilibrium_closes_across_grid_and_tolerance, perovskite-sim/tests/unit/validation/test_degenerate_refinement.py::test_registered_executor_real_cell_matches_exact_contract", + "blocked_use": "new N acceptance / qualified reference use for benchmark:degenerate-pn-internal-closure", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "independent source/grid/time/mapping error in V and its qualified reference identity", + "needed_from": "benchmark-9ffebfadd845315b exact original driver/reference observation packet; perovskite-sim/tests/unit/physics/test_degenerate_transport.py::test_fd_flux_vanishes_for_constant_quasi_fermi_potentials, perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py::test_high_doping_fd_pn_equilibrium_closes_across_grid_and_tolerance, perovskite-sim/tests/unit/validation/test_degenerate_refinement.py::test_registered_executor_real_cell_matches_exact_contract", + "blocked_use": "new N acceptance / qualified reference use for benchmark:degenerate-pn-internal-closure", + "categories": [ + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "per-species/per-connected-domain positive reference inventory numeric scale and unit (1 or m-2, according to actual CV measure)", + "needed_from": "benchmark-9ffebfadd845315b exact original driver/reference observation packet; perovskite-sim/tests/unit/physics/test_degenerate_transport.py::test_fd_flux_vanishes_for_constant_quasi_fermi_potentials, perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py::test_high_doping_fd_pn_equilibrium_closes_across_grid_and_tolerance, perovskite-sim/tests/unit/validation/test_degenerate_refinement.py::test_registered_executor_real_cell_matches_exact_contract", + "blocked_use": "new N acceptance / qualified reference use for benchmark:degenerate-pn-internal-closure", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "zero-species/zero-cell identity and numeric dimensional absolute gate from model absence or reference error evidence", + "needed_from": "benchmark-9ffebfadd845315b exact original driver/reference observation packet; perovskite-sim/tests/unit/physics/test_degenerate_transport.py::test_fd_flux_vanishes_for_constant_quasi_fermi_potentials, perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py::test_high_doping_fd_pn_equilibrium_closes_across_grid_and_tolerance, perovskite-sim/tests/unit/validation/test_degenerate_refinement.py::test_registered_executor_real_cell_matches_exact_contract", + "blocked_use": "new N acceptance / qualified reference use for benchmark:degenerate-pn-internal-closure", + "categories": [ + "source_configuration", + "tolerance_decision" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual volumes, component labels and independent log/inventory uncertainty", + "needed_from": "benchmark-9ffebfadd845315b exact original driver/reference observation packet; perovskite-sim/tests/unit/physics/test_degenerate_transport.py::test_fd_flux_vanishes_for_constant_quasi_fermi_potentials, perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py::test_high_doping_fd_pn_equilibrium_closes_across_grid_and_tolerance, perovskite-sim/tests/unit/validation/test_degenerate_refinement.py::test_registered_executor_real_cell_matches_exact_contract", + "blocked_use": "new N acceptance / qualified reference use for benchmark:degenerate-pn-internal-closure", + "categories": [ + "measurement_data", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/benchmark-9ffebfadd845315b/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [], + "current_numeric_status": "prior_exact_scope_gaps_retained_and_classified" + } + }, + { + "id": "scope-benchmark-f55a467e6d6c9e27", + "capability_id": "benchmark-f55a467e6d6c9e27", + "route_id": "route-f13ea1085e6c91d1", + "origin_key": "benchmark:distributed-explicit-defect-internal-closure", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "physical_profiles_or_stored_state_history", + "source_specific_operator_or_constitutive_action" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "pointer": "/benchmarks/distributed-explicit-defect-internal-closure", + "value_sha256": "f3b2f71eac3b45a1cb47edff6e72d3bc184b169688e593c2d2c96ac89d1abdc9" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "symbol": "test_mixed_distributed_species_close_in_illuminated_qf_jv" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_defect_distributions.py", + "symbol": "test_distributed_species_expansion_is_auditable_and_conservative" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_distributed_defect_closure.py", + "symbol": "test_source_aggregation_is_the_exact_sum_of_d2_energy_nodes" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_distributed_defect_device.py", + "symbol": "test_compiled_device_and_contact_neutrality_reuse_energy_expansions" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_distributed_defect_refinement.py", + "symbol": "test_registered_executor_real_cell_matches_exact_contract" + } + ], + "negative_only_descriptor_rule_ids": [], + "source_quantitative_assertion_ids_for_scope_audit": [ + "rule-3d5e2b3c76f62c3a346380d0", + "rule-26110df9c495455e4328809e", + "rule-d6544347c4f761d09f20297e", + "rule-857c2f12bf7141c1345e399a", + "rule-79928c2c3389474929d50a0e" + ], + "rule_ids": [ + "M_payload", + "potential_packet", + "positive_density_log", + "density_inventory_packet", + "operator_packet" + ], + "citations": [], + "remaining_inputs": [ + { + "field": "numeric fixed thermal/physical voltage scale in V from the exact reference temperature or declared boundary parameters", + "needed_from": "benchmark-f55a467e6d6c9e27 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_mixed_distributed_species_close_in_illuminated_qf_jv, perovskite-sim/tests/unit/physics/test_defect_distributions.py::test_distributed_species_expansion_is_auditable_and_conservative, perovskite-sim/tests/unit/physics/test_distributed_defect_closure.py::test_source_aggregation_is_the_exact_sum_of_d2_energy_nodes, perovskite-sim/tests/unit/physics/test_distributed_defect_device.py::test_compiled_device_and_contact_neutrality_reuse_energy_expansions, perovskite-sim/tests/unit/validation/test_distributed_defect_refinement.py::test_registered_executor_real_cell_matches_exact_contract", + "blocked_use": "new N acceptance / qualified reference use for benchmark:distributed-explicit-defect-internal-closure" + }, + { + "field": "actual reference CV weights/support and physical gauge/contact values; allowed mask", + "needed_from": "benchmark-f55a467e6d6c9e27 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_mixed_distributed_species_close_in_illuminated_qf_jv, perovskite-sim/tests/unit/physics/test_defect_distributions.py::test_distributed_species_expansion_is_auditable_and_conservative, perovskite-sim/tests/unit/physics/test_distributed_defect_closure.py::test_source_aggregation_is_the_exact_sum_of_d2_energy_nodes, perovskite-sim/tests/unit/physics/test_distributed_defect_device.py::test_compiled_device_and_contact_neutrality_reuse_energy_expansions, perovskite-sim/tests/unit/validation/test_distributed_defect_refinement.py::test_registered_executor_real_cell_matches_exact_contract", + "blocked_use": "new N acceptance / qualified reference use for benchmark:distributed-explicit-defect-internal-closure" + }, + { + "field": "independent source/grid/time/mapping error in V and its qualified reference identity", + "needed_from": "benchmark-f55a467e6d6c9e27 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_mixed_distributed_species_close_in_illuminated_qf_jv, perovskite-sim/tests/unit/physics/test_defect_distributions.py::test_distributed_species_expansion_is_auditable_and_conservative, perovskite-sim/tests/unit/physics/test_distributed_defect_closure.py::test_source_aggregation_is_the_exact_sum_of_d2_energy_nodes, perovskite-sim/tests/unit/physics/test_distributed_defect_device.py::test_compiled_device_and_contact_neutrality_reuse_energy_expansions, perovskite-sim/tests/unit/validation/test_distributed_defect_refinement.py::test_registered_executor_real_cell_matches_exact_contract", + "blocked_use": "new N acceptance / qualified reference use for benchmark:distributed-explicit-defect-internal-closure" + }, + { + "field": "per-species/per-connected-domain positive reference inventory numeric scale and unit (1 or m-2, according to actual CV measure)", + "needed_from": "benchmark-f55a467e6d6c9e27 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_mixed_distributed_species_close_in_illuminated_qf_jv, perovskite-sim/tests/unit/physics/test_defect_distributions.py::test_distributed_species_expansion_is_auditable_and_conservative, perovskite-sim/tests/unit/physics/test_distributed_defect_closure.py::test_source_aggregation_is_the_exact_sum_of_d2_energy_nodes, perovskite-sim/tests/unit/physics/test_distributed_defect_device.py::test_compiled_device_and_contact_neutrality_reuse_energy_expansions, perovskite-sim/tests/unit/validation/test_distributed_defect_refinement.py::test_registered_executor_real_cell_matches_exact_contract", + "blocked_use": "new N acceptance / qualified reference use for benchmark:distributed-explicit-defect-internal-closure" + }, + { + "field": "zero-species/zero-cell identity and numeric dimensional absolute gate from model absence or reference error evidence", + "needed_from": "benchmark-f55a467e6d6c9e27 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_mixed_distributed_species_close_in_illuminated_qf_jv, perovskite-sim/tests/unit/physics/test_defect_distributions.py::test_distributed_species_expansion_is_auditable_and_conservative, perovskite-sim/tests/unit/physics/test_distributed_defect_closure.py::test_source_aggregation_is_the_exact_sum_of_d2_energy_nodes, perovskite-sim/tests/unit/physics/test_distributed_defect_device.py::test_compiled_device_and_contact_neutrality_reuse_energy_expansions, perovskite-sim/tests/unit/validation/test_distributed_defect_refinement.py::test_registered_executor_real_cell_matches_exact_contract", + "blocked_use": "new N acceptance / qualified reference use for benchmark:distributed-explicit-defect-internal-closure" + }, + { + "field": "actual volumes, component labels and independent log/inventory uncertainty", + "needed_from": "benchmark-f55a467e6d6c9e27 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_mixed_distributed_species_close_in_illuminated_qf_jv, perovskite-sim/tests/unit/physics/test_defect_distributions.py::test_distributed_species_expansion_is_auditable_and_conservative, perovskite-sim/tests/unit/physics/test_distributed_defect_closure.py::test_source_aggregation_is_the_exact_sum_of_d2_energy_nodes, perovskite-sim/tests/unit/physics/test_distributed_defect_device.py::test_compiled_device_and_contact_neutrality_reuse_energy_expansions, perovskite-sim/tests/unit/validation/test_distributed_defect_refinement.py::test_registered_executor_real_cell_matches_exact_contract", + "blocked_use": "new N acceptance / qualified reference use for benchmark:distributed-explicit-defect-internal-closure" + }, + { + "field": "actual row and column physical units, support and fixed per-block/state/input scales", + "needed_from": "benchmark-f55a467e6d6c9e27 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_mixed_distributed_species_close_in_illuminated_qf_jv, perovskite-sim/tests/unit/physics/test_defect_distributions.py::test_distributed_species_expansion_is_auditable_and_conservative, perovskite-sim/tests/unit/physics/test_distributed_defect_closure.py::test_source_aggregation_is_the_exact_sum_of_d2_energy_nodes, perovskite-sim/tests/unit/physics/test_distributed_defect_device.py::test_compiled_device_and_contact_neutrality_reuse_energy_expansions, perovskite-sim/tests/unit/validation/test_distributed_defect_refinement.py::test_registered_executor_real_cell_matches_exact_contract", + "blocked_use": "new N acceptance / qualified reference use for benchmark:distributed-explicit-defect-internal-closure" + }, + { + "field": "numeric independent derivative/action/weak-increment thresholds from the original applicable contract", + "needed_from": "benchmark-f55a467e6d6c9e27 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_mixed_distributed_species_close_in_illuminated_qf_jv, perovskite-sim/tests/unit/physics/test_defect_distributions.py::test_distributed_species_expansion_is_auditable_and_conservative, perovskite-sim/tests/unit/physics/test_distributed_defect_closure.py::test_source_aggregation_is_the_exact_sum_of_d2_energy_nodes, perovskite-sim/tests/unit/physics/test_distributed_defect_device.py::test_compiled_device_and_contact_neutrality_reuse_energy_expansions, perovskite-sim/tests/unit/validation/test_distributed_defect_refinement.py::test_registered_executor_real_cell_matches_exact_contract", + "blocked_use": "new N acceptance / qualified reference use for benchmark:distributed-explicit-defect-internal-closure" + }, + { + "field": "full nonlocal/input chain, inactive/zero branch and independent reference/cancellation error", + "needed_from": "benchmark-f55a467e6d6c9e27 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_mixed_distributed_species_close_in_illuminated_qf_jv, perovskite-sim/tests/unit/physics/test_defect_distributions.py::test_distributed_species_expansion_is_auditable_and_conservative, perovskite-sim/tests/unit/physics/test_distributed_defect_closure.py::test_source_aggregation_is_the_exact_sum_of_d2_energy_nodes, perovskite-sim/tests/unit/physics/test_distributed_defect_device.py::test_compiled_device_and_contact_neutrality_reuse_energy_expansions, perovskite-sim/tests/unit/validation/test_distributed_defect_refinement.py::test_registered_executor_real_cell_matches_exact_contract", + "blocked_use": "new N acceptance / qualified reference use for benchmark:distributed-explicit-defect-internal-closure" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/benchmark-f55a467e6d6c9e27/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + } + ], + "downstream_tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-benchmark-f55a467e6d6c9e27" + }, + "scope_specific_prior_gaps": [ + { + "field": "numeric fixed thermal/physical voltage scale in V from the exact reference temperature or declared boundary parameters", + "needed_from": "benchmark-f55a467e6d6c9e27 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_mixed_distributed_species_close_in_illuminated_qf_jv, perovskite-sim/tests/unit/physics/test_defect_distributions.py::test_distributed_species_expansion_is_auditable_and_conservative, perovskite-sim/tests/unit/physics/test_distributed_defect_closure.py::test_source_aggregation_is_the_exact_sum_of_d2_energy_nodes, perovskite-sim/tests/unit/physics/test_distributed_defect_device.py::test_compiled_device_and_contact_neutrality_reuse_energy_expansions, perovskite-sim/tests/unit/validation/test_distributed_defect_refinement.py::test_registered_executor_real_cell_matches_exact_contract", + "blocked_use": "new N acceptance / qualified reference use for benchmark:distributed-explicit-defect-internal-closure", + "categories": [ + "source_configuration" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual reference CV weights/support and physical gauge/contact values; allowed mask", + "needed_from": "benchmark-f55a467e6d6c9e27 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_mixed_distributed_species_close_in_illuminated_qf_jv, perovskite-sim/tests/unit/physics/test_defect_distributions.py::test_distributed_species_expansion_is_auditable_and_conservative, perovskite-sim/tests/unit/physics/test_distributed_defect_closure.py::test_source_aggregation_is_the_exact_sum_of_d2_energy_nodes, perovskite-sim/tests/unit/physics/test_distributed_defect_device.py::test_compiled_device_and_contact_neutrality_reuse_energy_expansions, perovskite-sim/tests/unit/validation/test_distributed_defect_refinement.py::test_registered_executor_real_cell_matches_exact_contract", + "blocked_use": "new N acceptance / qualified reference use for benchmark:distributed-explicit-defect-internal-closure", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "independent source/grid/time/mapping error in V and its qualified reference identity", + "needed_from": "benchmark-f55a467e6d6c9e27 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_mixed_distributed_species_close_in_illuminated_qf_jv, perovskite-sim/tests/unit/physics/test_defect_distributions.py::test_distributed_species_expansion_is_auditable_and_conservative, perovskite-sim/tests/unit/physics/test_distributed_defect_closure.py::test_source_aggregation_is_the_exact_sum_of_d2_energy_nodes, perovskite-sim/tests/unit/physics/test_distributed_defect_device.py::test_compiled_device_and_contact_neutrality_reuse_energy_expansions, perovskite-sim/tests/unit/validation/test_distributed_defect_refinement.py::test_registered_executor_real_cell_matches_exact_contract", + "blocked_use": "new N acceptance / qualified reference use for benchmark:distributed-explicit-defect-internal-closure", + "categories": [ + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "per-species/per-connected-domain positive reference inventory numeric scale and unit (1 or m-2, according to actual CV measure)", + "needed_from": "benchmark-f55a467e6d6c9e27 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_mixed_distributed_species_close_in_illuminated_qf_jv, perovskite-sim/tests/unit/physics/test_defect_distributions.py::test_distributed_species_expansion_is_auditable_and_conservative, perovskite-sim/tests/unit/physics/test_distributed_defect_closure.py::test_source_aggregation_is_the_exact_sum_of_d2_energy_nodes, perovskite-sim/tests/unit/physics/test_distributed_defect_device.py::test_compiled_device_and_contact_neutrality_reuse_energy_expansions, perovskite-sim/tests/unit/validation/test_distributed_defect_refinement.py::test_registered_executor_real_cell_matches_exact_contract", + "blocked_use": "new N acceptance / qualified reference use for benchmark:distributed-explicit-defect-internal-closure", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "zero-species/zero-cell identity and numeric dimensional absolute gate from model absence or reference error evidence", + "needed_from": "benchmark-f55a467e6d6c9e27 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_mixed_distributed_species_close_in_illuminated_qf_jv, perovskite-sim/tests/unit/physics/test_defect_distributions.py::test_distributed_species_expansion_is_auditable_and_conservative, perovskite-sim/tests/unit/physics/test_distributed_defect_closure.py::test_source_aggregation_is_the_exact_sum_of_d2_energy_nodes, perovskite-sim/tests/unit/physics/test_distributed_defect_device.py::test_compiled_device_and_contact_neutrality_reuse_energy_expansions, perovskite-sim/tests/unit/validation/test_distributed_defect_refinement.py::test_registered_executor_real_cell_matches_exact_contract", + "blocked_use": "new N acceptance / qualified reference use for benchmark:distributed-explicit-defect-internal-closure", + "categories": [ + "source_configuration", + "tolerance_decision" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual volumes, component labels and independent log/inventory uncertainty", + "needed_from": "benchmark-f55a467e6d6c9e27 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_mixed_distributed_species_close_in_illuminated_qf_jv, perovskite-sim/tests/unit/physics/test_defect_distributions.py::test_distributed_species_expansion_is_auditable_and_conservative, perovskite-sim/tests/unit/physics/test_distributed_defect_closure.py::test_source_aggregation_is_the_exact_sum_of_d2_energy_nodes, perovskite-sim/tests/unit/physics/test_distributed_defect_device.py::test_compiled_device_and_contact_neutrality_reuse_energy_expansions, perovskite-sim/tests/unit/validation/test_distributed_defect_refinement.py::test_registered_executor_real_cell_matches_exact_contract", + "blocked_use": "new N acceptance / qualified reference use for benchmark:distributed-explicit-defect-internal-closure", + "categories": [ + "measurement_data", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual row and column physical units, support and fixed per-block/state/input scales", + "needed_from": "benchmark-f55a467e6d6c9e27 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_mixed_distributed_species_close_in_illuminated_qf_jv, perovskite-sim/tests/unit/physics/test_defect_distributions.py::test_distributed_species_expansion_is_auditable_and_conservative, perovskite-sim/tests/unit/physics/test_distributed_defect_closure.py::test_source_aggregation_is_the_exact_sum_of_d2_energy_nodes, perovskite-sim/tests/unit/physics/test_distributed_defect_device.py::test_compiled_device_and_contact_neutrality_reuse_energy_expansions, perovskite-sim/tests/unit/validation/test_distributed_defect_refinement.py::test_registered_executor_real_cell_matches_exact_contract", + "blocked_use": "new N acceptance / qualified reference use for benchmark:distributed-explicit-defect-internal-closure", + "categories": [ + "source_configuration" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "numeric independent derivative/action/weak-increment thresholds from the original applicable contract", + "needed_from": "benchmark-f55a467e6d6c9e27 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_mixed_distributed_species_close_in_illuminated_qf_jv, perovskite-sim/tests/unit/physics/test_defect_distributions.py::test_distributed_species_expansion_is_auditable_and_conservative, perovskite-sim/tests/unit/physics/test_distributed_defect_closure.py::test_source_aggregation_is_the_exact_sum_of_d2_energy_nodes, perovskite-sim/tests/unit/physics/test_distributed_defect_device.py::test_compiled_device_and_contact_neutrality_reuse_energy_expansions, perovskite-sim/tests/unit/validation/test_distributed_defect_refinement.py::test_registered_executor_real_cell_matches_exact_contract", + "blocked_use": "new N acceptance / qualified reference use for benchmark:distributed-explicit-defect-internal-closure", + "categories": [ + "tolerance_decision" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "full nonlocal/input chain, inactive/zero branch and independent reference/cancellation error", + "needed_from": "benchmark-f55a467e6d6c9e27 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_mixed_distributed_species_close_in_illuminated_qf_jv, perovskite-sim/tests/unit/physics/test_defect_distributions.py::test_distributed_species_expansion_is_auditable_and_conservative, perovskite-sim/tests/unit/physics/test_distributed_defect_closure.py::test_source_aggregation_is_the_exact_sum_of_d2_energy_nodes, perovskite-sim/tests/unit/physics/test_distributed_defect_device.py::test_compiled_device_and_contact_neutrality_reuse_energy_expansions, perovskite-sim/tests/unit/validation/test_distributed_defect_refinement.py::test_registered_executor_real_cell_matches_exact_contract", + "blocked_use": "new N acceptance / qualified reference use for benchmark:distributed-explicit-defect-internal-closure", + "categories": [ + "source_configuration", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/benchmark-f55a467e6d6c9e27/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [], + "current_numeric_status": "prior_exact_scope_gaps_retained_and_classified" + } + }, + { + "id": "scope-benchmark-94f2fd2efa41f878", + "capability_id": "benchmark-94f2fd2efa41f878", + "route_id": "route-f13ea1085e6c91d1", + "origin_key": "benchmark:driftfusion-physical-regression", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "JV_metrics_and_full_branch" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "pointer": "/benchmarks/driftfusion-physical-regression", + "value_sha256": "24c1cfbba0cd1de9dc4e4219917af0a2d38f9b1f5e6081aa23c087c68128f931" + }, + { + "source_id": "repository:perovskite-sim/tests/validation/test_paper_configurations.py", + "symbol": "test_driftfusion_ff_in_expected_range" + }, + { + "source_id": "repository:perovskite-sim/tests/validation/test_paper_configurations.py", + "symbol": "test_driftfusion_hysteresis_increases_with_scan_rate" + }, + { + "source_id": "repository:perovskite-sim/tests/validation/test_paper_configurations.py", + "symbol": "test_driftfusion_illumination_slope_physical" + }, + { + "source_id": "repository:perovskite-sim/tests/validation/test_paper_configurations.py", + "symbol": "test_driftfusion_jsc_matches_beer_lambert" + }, + { + "source_id": "repository:perovskite-sim/tests/validation/test_paper_configurations.py", + "symbol": "test_driftfusion_paper_comparison_quantifies_low_voc_offset" + }, + { + "source_id": "repository:perovskite-sim/tests/validation/test_paper_configurations.py", + "symbol": "test_driftfusion_voc_in_expected_range" + } + ], + "negative_only_descriptor_rule_ids": [], + "source_quantitative_assertion_ids_for_scope_audit": [ + "rule-8ec339ed466c11f5afb4a1b4", + "rule-19994f233c090d4894c0fd89", + "rule-d49815a6e63625a4f20c7577", + "rule-dba8e169c1ee80627be14f96", + "rule-12dfa956a44c058a6aa80143", + "rule-ed08cb3d296bb522313cba10", + "rule-f184774cdf83eb9e669406dd", + "rule-3c1d832d0d7e19ad9acf4415" + ], + "rule_ids": [ + "M_payload", + "Voc_absolute", + "JV_metric_packet" + ], + "citations": [], + "remaining_inputs": [ + { + "field": "fixed numeric Jsc/FF/PCE reference values/scales with the actual output units and conversion identity", + "needed_from": "benchmark-94f2fd2efa41f878 exact original driver/reference observation packet; perovskite-sim/tests/validation/test_paper_configurations.py::test_driftfusion_ff_in_expected_range, perovskite-sim/tests/validation/test_paper_configurations.py::test_driftfusion_hysteresis_increases_with_scan_rate, perovskite-sim/tests/validation/test_paper_configurations.py::test_driftfusion_illumination_slope_physical, perovskite-sim/tests/validation/test_paper_configurations.py::test_driftfusion_jsc_matches_beer_lambert, perovskite-sim/tests/validation/test_paper_configurations.py::test_driftfusion_paper_comparison_quantifies_low_voc_offset, perovskite-sim/tests/validation/test_paper_configurations.py::test_driftfusion_voc_in_expected_range", + "blocked_use": "new N acceptance / qualified reference use for benchmark:driftfusion-physical-regression" + }, + { + "field": "dimensional dark/weak Jsc and zero-power absolute limits with error evidence", + "needed_from": "benchmark-94f2fd2efa41f878 exact original driver/reference observation packet; perovskite-sim/tests/validation/test_paper_configurations.py::test_driftfusion_ff_in_expected_range, perovskite-sim/tests/validation/test_paper_configurations.py::test_driftfusion_hysteresis_increases_with_scan_rate, perovskite-sim/tests/validation/test_paper_configurations.py::test_driftfusion_illumination_slope_physical, perovskite-sim/tests/validation/test_paper_configurations.py::test_driftfusion_jsc_matches_beer_lambert, perovskite-sim/tests/validation/test_paper_configurations.py::test_driftfusion_paper_comparison_quantifies_low_voc_offset, perovskite-sim/tests/validation/test_paper_configurations.py::test_driftfusion_voc_in_expected_range", + "blocked_use": "new N acceptance / qualified reference use for benchmark:driftfusion-physical-regression" + }, + { + "field": "Voc bracket, dJ/dV and current-error propagation bound; MPP sampling and full branch coordinates", + "needed_from": "benchmark-94f2fd2efa41f878 exact original driver/reference observation packet; perovskite-sim/tests/validation/test_paper_configurations.py::test_driftfusion_ff_in_expected_range, perovskite-sim/tests/validation/test_paper_configurations.py::test_driftfusion_hysteresis_increases_with_scan_rate, perovskite-sim/tests/validation/test_paper_configurations.py::test_driftfusion_illumination_slope_physical, perovskite-sim/tests/validation/test_paper_configurations.py::test_driftfusion_jsc_matches_beer_lambert, perovskite-sim/tests/validation/test_paper_configurations.py::test_driftfusion_paper_comparison_quantifies_low_voc_offset, perovskite-sim/tests/validation/test_paper_configurations.py::test_driftfusion_voc_in_expected_range", + "blocked_use": "new N acceptance / qualified reference use for benchmark:driftfusion-physical-regression" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/benchmark-94f2fd2efa41f878/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + } + ], + "downstream_tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-benchmark-94f2fd2efa41f878" + }, + "scope_specific_prior_gaps": [ + { + "field": "fixed numeric Jsc/FF/PCE reference values/scales with the actual output units and conversion identity", + "needed_from": "benchmark-94f2fd2efa41f878 exact original driver/reference observation packet; perovskite-sim/tests/validation/test_paper_configurations.py::test_driftfusion_ff_in_expected_range, perovskite-sim/tests/validation/test_paper_configurations.py::test_driftfusion_hysteresis_increases_with_scan_rate, perovskite-sim/tests/validation/test_paper_configurations.py::test_driftfusion_illumination_slope_physical, perovskite-sim/tests/validation/test_paper_configurations.py::test_driftfusion_jsc_matches_beer_lambert, perovskite-sim/tests/validation/test_paper_configurations.py::test_driftfusion_paper_comparison_quantifies_low_voc_offset, perovskite-sim/tests/validation/test_paper_configurations.py::test_driftfusion_voc_in_expected_range", + "blocked_use": "new N acceptance / qualified reference use for benchmark:driftfusion-physical-regression", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "dimensional dark/weak Jsc and zero-power absolute limits with error evidence", + "needed_from": "benchmark-94f2fd2efa41f878 exact original driver/reference observation packet; perovskite-sim/tests/validation/test_paper_configurations.py::test_driftfusion_ff_in_expected_range, perovskite-sim/tests/validation/test_paper_configurations.py::test_driftfusion_hysteresis_increases_with_scan_rate, perovskite-sim/tests/validation/test_paper_configurations.py::test_driftfusion_illumination_slope_physical, perovskite-sim/tests/validation/test_paper_configurations.py::test_driftfusion_jsc_matches_beer_lambert, perovskite-sim/tests/validation/test_paper_configurations.py::test_driftfusion_paper_comparison_quantifies_low_voc_offset, perovskite-sim/tests/validation/test_paper_configurations.py::test_driftfusion_voc_in_expected_range", + "blocked_use": "new N acceptance / qualified reference use for benchmark:driftfusion-physical-regression", + "categories": [ + "tolerance_decision", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "Voc bracket, dJ/dV and current-error propagation bound; MPP sampling and full branch coordinates", + "needed_from": "benchmark-94f2fd2efa41f878 exact original driver/reference observation packet; perovskite-sim/tests/validation/test_paper_configurations.py::test_driftfusion_ff_in_expected_range, perovskite-sim/tests/validation/test_paper_configurations.py::test_driftfusion_hysteresis_increases_with_scan_rate, perovskite-sim/tests/validation/test_paper_configurations.py::test_driftfusion_illumination_slope_physical, perovskite-sim/tests/validation/test_paper_configurations.py::test_driftfusion_jsc_matches_beer_lambert, perovskite-sim/tests/validation/test_paper_configurations.py::test_driftfusion_paper_comparison_quantifies_low_voc_offset, perovskite-sim/tests/validation/test_paper_configurations.py::test_driftfusion_voc_in_expected_range", + "blocked_use": "new N acceptance / qualified reference use for benchmark:driftfusion-physical-regression", + "categories": [ + "measurement_data", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/benchmark-94f2fd2efa41f878/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [], + "current_numeric_status": "prior_exact_scope_gaps_retained_and_classified" + } + }, + { + "id": "scope-benchmark-f2259e41f3b75254", + "capability_id": "benchmark-f2259e41f3b75254", + "route_id": "route-f13ea1085e6c91d1", + "origin_key": "benchmark:dynamic-defect-ion-impedance-production-closure", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "current_observation_or_current_input", + "complex_frequency_response", + "source_specific_operator_or_constitutive_action" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "pointer": "/benchmarks/dynamic-defect-ion-impedance-production-closure", + "value_sha256": "22a3f05b17cb01a0166c09bee98e2a323b7496503ed8d41e728077cf98982539" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_dynamic_defect_impedance.py", + "symbol": "test_public_bulk_dynamic_defect_impedance_is_protocol_bound_and_certified" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_dynamic_defect_impedance.py", + "symbol": "test_public_interface_dynamic_defect_impedance_uses_two_sided_faces" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_dynamic_defect_impedance.py", + "symbol": "test_public_triple_coupled_defect_ion_impedance_is_certified" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_dynamic_defect_impedance.py", + "symbol": "test_registered_production_executor_emits_exact_metrics_and_protocol" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_dynamic_defect_impedance_api.py", + "symbol": "test_real_dynamic_defect_impedance_api_serializes_protocol_and_evidence" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_dynamic_defect_impedance.py", + "symbol": "test_capability_classifier_routes_every_certified_combination" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_dynamic_defect_impedance.py", + "symbol": "test_effective_lifetime_only_stack_has_no_dynamic_defect_capability" + } + ], + "negative_only_descriptor_rule_ids": [ + "rule-a4d172240d490b2fbda28745" + ], + "source_quantitative_assertion_ids_for_scope_audit": [], + "rule_ids": [ + "M_payload", + "current_packet", + "complex_packet", + "operator_packet" + ], + "citations": [], + "remaining_inputs": [ + { + "field": "numeric reference current scale and absolute weak/zero current allowance, in the actual A or A m-2 output unit", + "needed_from": "benchmark-f2259e41f3b75254 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_bulk_dynamic_defect_impedance_is_protocol_bound_and_certified, perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_interface_dynamic_defect_impedance_uses_two_sided_faces, perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_triple_coupled_defect_ion_impedance_is_certified, perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_registered_production_executor_emits_exact_metrics_and_protocol, perovskite-sim/tests/integration/test_dynamic_defect_impedance_api.py::test_real_dynamic_defect_impedance_api_serializes_protocol_and_evidence, perovskite-s", + "blocked_use": "new N acceptance / qualified reference use for benchmark:dynamic-defect-ion-impedance-production-closure" + }, + { + "field": "each component/sign/port/support, observation times and both event sides", + "needed_from": "benchmark-f2259e41f3b75254 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_bulk_dynamic_defect_impedance_is_protocol_bound_and_certified, perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_interface_dynamic_defect_impedance_uses_two_sided_faces, perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_triple_coupled_defect_ion_impedance_is_certified, perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_registered_production_executor_emits_exact_metrics_and_protocol, perovskite-sim/tests/integration/test_dynamic_defect_impedance_api.py::test_real_dynamic_defect_impedance_api_serializes_protocol_and_evidence, perovskite-s", + "blocked_use": "new N acceptance / qualified reference use for benchmark:dynamic-defect-ion-impedance-production-closure" + }, + { + "field": "pointwise current uncertainty and a pointwise comparison limit; integrated charge is not a substitute", + "needed_from": "benchmark-f2259e41f3b75254 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_bulk_dynamic_defect_impedance_is_protocol_bound_and_certified, perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_interface_dynamic_defect_impedance_uses_two_sided_faces, perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_triple_coupled_defect_ion_impedance_is_certified, perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_registered_production_executor_emits_exact_metrics_and_protocol, perovskite-sim/tests/integration/test_dynamic_defect_impedance_api.py::test_real_dynamic_defect_impedance_api_serializes_protocol_and_evidence, perovskite-s", + "blocked_use": "new N acceptance / qualified reference use for benchmark:dynamic-defect-ion-impedance-production-closure" + }, + { + "field": "fixed numeric reference scales and real/imaginary/complex absolute bounds in S m-2 or ohm m2 as actually emitted", + "needed_from": "benchmark-f2259e41f3b75254 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_bulk_dynamic_defect_impedance_is_protocol_bound_and_certified, perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_interface_dynamic_defect_impedance_uses_two_sided_faces, perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_triple_coupled_defect_ion_impedance_is_certified, perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_registered_production_executor_emits_exact_metrics_and_protocol, perovskite-sim/tests/integration/test_dynamic_defect_impedance_api.py::test_real_dynamic_defect_impedance_api_serializes_protocol_and_evidence, perovskite-s", + "blocked_use": "new N acceptance / qualified reference use for benchmark:dynamic-defect-ion-impedance-production-closure" + }, + { + "field": "numeric absolute phase limit in radians and per-driver/frequency resolvability floor with independent uncertainty/physical-resolution evidence", + "needed_from": "benchmark-f2259e41f3b75254 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_bulk_dynamic_defect_impedance_is_protocol_bound_and_certified, perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_interface_dynamic_defect_impedance_uses_two_sided_faces, perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_triple_coupled_defect_ion_impedance_is_certified, perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_registered_production_executor_emits_exact_metrics_and_protocol, perovskite-sim/tests/integration/test_dynamic_defect_impedance_api.py::test_real_dynamic_defect_impedance_api_serializes_protocol_and_evidence, perovskite-s", + "blocked_use": "new N acceptance / qualified reference use for benchmark:dynamic-defect-ion-impedance-production-closure" + }, + { + "field": "explicit exact-zero frequencies, coordinate identity and independent component/phase errors", + "needed_from": "benchmark-f2259e41f3b75254 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_bulk_dynamic_defect_impedance_is_protocol_bound_and_certified, perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_interface_dynamic_defect_impedance_uses_two_sided_faces, perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_triple_coupled_defect_ion_impedance_is_certified, perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_registered_production_executor_emits_exact_metrics_and_protocol, perovskite-sim/tests/integration/test_dynamic_defect_impedance_api.py::test_real_dynamic_defect_impedance_api_serializes_protocol_and_evidence, perovskite-s", + "blocked_use": "new N acceptance / qualified reference use for benchmark:dynamic-defect-ion-impedance-production-closure" + }, + { + "field": "actual row and column physical units, support and fixed per-block/state/input scales", + "needed_from": "benchmark-f2259e41f3b75254 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_bulk_dynamic_defect_impedance_is_protocol_bound_and_certified, perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_interface_dynamic_defect_impedance_uses_two_sided_faces, perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_triple_coupled_defect_ion_impedance_is_certified, perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_registered_production_executor_emits_exact_metrics_and_protocol, perovskite-sim/tests/integration/test_dynamic_defect_impedance_api.py::test_real_dynamic_defect_impedance_api_serializes_protocol_and_evidence, perovskite-s", + "blocked_use": "new N acceptance / qualified reference use for benchmark:dynamic-defect-ion-impedance-production-closure" + }, + { + "field": "numeric independent derivative/action/weak-increment thresholds from the original applicable contract", + "needed_from": "benchmark-f2259e41f3b75254 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_bulk_dynamic_defect_impedance_is_protocol_bound_and_certified, perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_interface_dynamic_defect_impedance_uses_two_sided_faces, perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_triple_coupled_defect_ion_impedance_is_certified, perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_registered_production_executor_emits_exact_metrics_and_protocol, perovskite-sim/tests/integration/test_dynamic_defect_impedance_api.py::test_real_dynamic_defect_impedance_api_serializes_protocol_and_evidence, perovskite-s", + "blocked_use": "new N acceptance / qualified reference use for benchmark:dynamic-defect-ion-impedance-production-closure" + }, + { + "field": "full nonlocal/input chain, inactive/zero branch and independent reference/cancellation error", + "needed_from": "benchmark-f2259e41f3b75254 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_bulk_dynamic_defect_impedance_is_protocol_bound_and_certified, perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_interface_dynamic_defect_impedance_uses_two_sided_faces, perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_triple_coupled_defect_ion_impedance_is_certified, perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_registered_production_executor_emits_exact_metrics_and_protocol, perovskite-sim/tests/integration/test_dynamic_defect_impedance_api.py::test_real_dynamic_defect_impedance_api_serializes_protocol_and_evidence, perovskite-s", + "blocked_use": "new N acceptance / qualified reference use for benchmark:dynamic-defect-ion-impedance-production-closure" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/benchmark-f2259e41f3b75254/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + } + ], + "downstream_tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-benchmark-f2259e41f3b75254" + }, + "scope_specific_prior_gaps": [ + { + "field": "numeric reference current scale and absolute weak/zero current allowance, in the actual A or A m-2 output unit", + "needed_from": "benchmark-f2259e41f3b75254 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_bulk_dynamic_defect_impedance_is_protocol_bound_and_certified, perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_interface_dynamic_defect_impedance_uses_two_sided_faces, perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_triple_coupled_defect_ion_impedance_is_certified, perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_registered_production_executor_emits_exact_metrics_and_protocol, perovskite-sim/tests/integration/test_dynamic_defect_impedance_api.py::test_real_dynamic_defect_impedance_api_serializes_protocol_and_evidence, perovskite-s", + "blocked_use": "new N acceptance / qualified reference use for benchmark:dynamic-defect-ion-impedance-production-closure", + "categories": [ + "source_configuration", + "tolerance_decision" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "each component/sign/port/support, observation times and both event sides", + "needed_from": "benchmark-f2259e41f3b75254 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_bulk_dynamic_defect_impedance_is_protocol_bound_and_certified, perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_interface_dynamic_defect_impedance_uses_two_sided_faces, perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_triple_coupled_defect_ion_impedance_is_certified, perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_registered_production_executor_emits_exact_metrics_and_protocol, perovskite-sim/tests/integration/test_dynamic_defect_impedance_api.py::test_real_dynamic_defect_impedance_api_serializes_protocol_and_evidence, perovskite-s", + "blocked_use": "new N acceptance / qualified reference use for benchmark:dynamic-defect-ion-impedance-production-closure", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "pointwise current uncertainty and a pointwise comparison limit; integrated charge is not a substitute", + "needed_from": "benchmark-f2259e41f3b75254 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_bulk_dynamic_defect_impedance_is_protocol_bound_and_certified, perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_interface_dynamic_defect_impedance_uses_two_sided_faces, perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_triple_coupled_defect_ion_impedance_is_certified, perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_registered_production_executor_emits_exact_metrics_and_protocol, perovskite-sim/tests/integration/test_dynamic_defect_impedance_api.py::test_real_dynamic_defect_impedance_api_serializes_protocol_and_evidence, perovskite-s", + "blocked_use": "new N acceptance / qualified reference use for benchmark:dynamic-defect-ion-impedance-production-closure", + "categories": [ + "tolerance_decision", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "fixed numeric reference scales and real/imaginary/complex absolute bounds in S m-2 or ohm m2 as actually emitted", + "needed_from": "benchmark-f2259e41f3b75254 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_bulk_dynamic_defect_impedance_is_protocol_bound_and_certified, perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_interface_dynamic_defect_impedance_uses_two_sided_faces, perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_triple_coupled_defect_ion_impedance_is_certified, perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_registered_production_executor_emits_exact_metrics_and_protocol, perovskite-sim/tests/integration/test_dynamic_defect_impedance_api.py::test_real_dynamic_defect_impedance_api_serializes_protocol_and_evidence, perovskite-s", + "blocked_use": "new N acceptance / qualified reference use for benchmark:dynamic-defect-ion-impedance-production-closure", + "categories": [ + "source_configuration", + "tolerance_decision" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "numeric absolute phase limit in radians and per-driver/frequency resolvability floor with independent uncertainty/physical-resolution evidence", + "needed_from": "benchmark-f2259e41f3b75254 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_bulk_dynamic_defect_impedance_is_protocol_bound_and_certified, perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_interface_dynamic_defect_impedance_uses_two_sided_faces, perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_triple_coupled_defect_ion_impedance_is_certified, perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_registered_production_executor_emits_exact_metrics_and_protocol, perovskite-sim/tests/integration/test_dynamic_defect_impedance_api.py::test_real_dynamic_defect_impedance_api_serializes_protocol_and_evidence, perovskite-s", + "blocked_use": "new N acceptance / qualified reference use for benchmark:dynamic-defect-ion-impedance-production-closure", + "categories": [ + "tolerance_decision", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "explicit exact-zero frequencies, coordinate identity and independent component/phase errors", + "needed_from": "benchmark-f2259e41f3b75254 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_bulk_dynamic_defect_impedance_is_protocol_bound_and_certified, perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_interface_dynamic_defect_impedance_uses_two_sided_faces, perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_triple_coupled_defect_ion_impedance_is_certified, perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_registered_production_executor_emits_exact_metrics_and_protocol, perovskite-sim/tests/integration/test_dynamic_defect_impedance_api.py::test_real_dynamic_defect_impedance_api_serializes_protocol_and_evidence, perovskite-s", + "blocked_use": "new N acceptance / qualified reference use for benchmark:dynamic-defect-ion-impedance-production-closure", + "categories": [ + "measurement_data", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual row and column physical units, support and fixed per-block/state/input scales", + "needed_from": "benchmark-f2259e41f3b75254 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_bulk_dynamic_defect_impedance_is_protocol_bound_and_certified, perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_interface_dynamic_defect_impedance_uses_two_sided_faces, perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_triple_coupled_defect_ion_impedance_is_certified, perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_registered_production_executor_emits_exact_metrics_and_protocol, perovskite-sim/tests/integration/test_dynamic_defect_impedance_api.py::test_real_dynamic_defect_impedance_api_serializes_protocol_and_evidence, perovskite-s", + "blocked_use": "new N acceptance / qualified reference use for benchmark:dynamic-defect-ion-impedance-production-closure", + "categories": [ + "source_configuration" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "numeric independent derivative/action/weak-increment thresholds from the original applicable contract", + "needed_from": "benchmark-f2259e41f3b75254 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_bulk_dynamic_defect_impedance_is_protocol_bound_and_certified, perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_interface_dynamic_defect_impedance_uses_two_sided_faces, perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_triple_coupled_defect_ion_impedance_is_certified, perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_registered_production_executor_emits_exact_metrics_and_protocol, perovskite-sim/tests/integration/test_dynamic_defect_impedance_api.py::test_real_dynamic_defect_impedance_api_serializes_protocol_and_evidence, perovskite-s", + "blocked_use": "new N acceptance / qualified reference use for benchmark:dynamic-defect-ion-impedance-production-closure", + "categories": [ + "tolerance_decision" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "full nonlocal/input chain, inactive/zero branch and independent reference/cancellation error", + "needed_from": "benchmark-f2259e41f3b75254 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_bulk_dynamic_defect_impedance_is_protocol_bound_and_certified, perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_interface_dynamic_defect_impedance_uses_two_sided_faces, perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_triple_coupled_defect_ion_impedance_is_certified, perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_registered_production_executor_emits_exact_metrics_and_protocol, perovskite-sim/tests/integration/test_dynamic_defect_impedance_api.py::test_real_dynamic_defect_impedance_api_serializes_protocol_and_evidence, perovskite-s", + "blocked_use": "new N acceptance / qualified reference use for benchmark:dynamic-defect-ion-impedance-production-closure", + "categories": [ + "source_configuration", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/benchmark-f2259e41f3b75254/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [], + "current_numeric_status": "prior_exact_scope_gaps_retained_and_classified" + } + }, + { + "id": "scope-benchmark-4322a9e3b442d931", + "capability_id": "benchmark-4322a9e3b442d931", + "route_id": "route-f13ea1085e6c91d1", + "origin_key": "benchmark:dynamic-defect-ion-transient-production-closure", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "physical_profiles_or_stored_state_history", + "current_observation_or_current_input", + "waveform_integral_history", + "source_specific_operator_or_constitutive_action" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "pointer": "/benchmarks/dynamic-defect-ion-transient-production-closure", + "value_sha256": "1bd1da42cba99535624f5af30f9fb7b133b18051c6d2e1e812c378a791e43d29" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_dynamic_defect_transient.py", + "symbol": "test_public_dynamic_defect_transient_is_protocol_bound_and_certified" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_dynamic_defect_transient_api.py", + "symbol": "test_real_dynamic_defect_transient_api_serializes_protocol_and_evidence" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/backend/test_dynamic_defect_transient_api.py", + "symbol": "test_job_rejects_invalid_contract_before_submit" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_dynamic_defect_transient.py", + "symbol": "test_protocol_round_trip_is_strict_canonical_and_content_addressed" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py", + "symbol": "test_production_executor_cell_runs_public_protocol_and_projection" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py", + "symbol": "test_production_v1_adds_only_public_wrapper_identity_gates" + } + ], + "negative_only_descriptor_rule_ids": [ + "rule-b725492e88942efbbb727b96" + ], + "source_quantitative_assertion_ids_for_scope_audit": [ + "rule-9e3fd39304943ae3c202ccce" + ], + "rule_ids": [ + "M_payload", + "potential_packet", + "positive_density_log", + "density_inventory_packet", + "current_packet", + "transient_packet", + "operator_packet" + ], + "citations": [], + "remaining_inputs": [ + { + "field": "numeric fixed thermal/physical voltage scale in V from the exact reference temperature or declared boundary parameters", + "needed_from": "benchmark-4322a9e3b442d931 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_dynamic_defect_transient.py::test_public_dynamic_defect_transient_is_protocol_bound_and_certified, perovskite-sim/tests/integration/test_dynamic_defect_transient_api.py::test_real_dynamic_defect_transient_api_serializes_protocol_and_evidence, perovskite-sim/tests/unit/backend/test_dynamic_defect_transient_api.py::test_job_rejects_invalid_contract_before_submit, perovskite-sim/tests/unit/experiments/test_dynamic_defect_transient.py::test_protocol_round_trip_is_strict_canonical_and_content_addressed, perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py::test_production_executor_cell_runs_public_protocol_and_projection, perovskit", + "blocked_use": "new N acceptance / qualified reference use for benchmark:dynamic-defect-ion-transient-production-closure" + }, + { + "field": "actual reference CV weights/support and physical gauge/contact values; allowed mask", + "needed_from": "benchmark-4322a9e3b442d931 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_dynamic_defect_transient.py::test_public_dynamic_defect_transient_is_protocol_bound_and_certified, perovskite-sim/tests/integration/test_dynamic_defect_transient_api.py::test_real_dynamic_defect_transient_api_serializes_protocol_and_evidence, perovskite-sim/tests/unit/backend/test_dynamic_defect_transient_api.py::test_job_rejects_invalid_contract_before_submit, perovskite-sim/tests/unit/experiments/test_dynamic_defect_transient.py::test_protocol_round_trip_is_strict_canonical_and_content_addressed, perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py::test_production_executor_cell_runs_public_protocol_and_projection, perovskit", + "blocked_use": "new N acceptance / qualified reference use for benchmark:dynamic-defect-ion-transient-production-closure" + }, + { + "field": "independent source/grid/time/mapping error in V and its qualified reference identity", + "needed_from": "benchmark-4322a9e3b442d931 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_dynamic_defect_transient.py::test_public_dynamic_defect_transient_is_protocol_bound_and_certified, perovskite-sim/tests/integration/test_dynamic_defect_transient_api.py::test_real_dynamic_defect_transient_api_serializes_protocol_and_evidence, perovskite-sim/tests/unit/backend/test_dynamic_defect_transient_api.py::test_job_rejects_invalid_contract_before_submit, perovskite-sim/tests/unit/experiments/test_dynamic_defect_transient.py::test_protocol_round_trip_is_strict_canonical_and_content_addressed, perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py::test_production_executor_cell_runs_public_protocol_and_projection, perovskit", + "blocked_use": "new N acceptance / qualified reference use for benchmark:dynamic-defect-ion-transient-production-closure" + }, + { + "field": "per-species/per-connected-domain positive reference inventory numeric scale and unit (1 or m-2, according to actual CV measure)", + "needed_from": "benchmark-4322a9e3b442d931 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_dynamic_defect_transient.py::test_public_dynamic_defect_transient_is_protocol_bound_and_certified, perovskite-sim/tests/integration/test_dynamic_defect_transient_api.py::test_real_dynamic_defect_transient_api_serializes_protocol_and_evidence, perovskite-sim/tests/unit/backend/test_dynamic_defect_transient_api.py::test_job_rejects_invalid_contract_before_submit, perovskite-sim/tests/unit/experiments/test_dynamic_defect_transient.py::test_protocol_round_trip_is_strict_canonical_and_content_addressed, perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py::test_production_executor_cell_runs_public_protocol_and_projection, perovskit", + "blocked_use": "new N acceptance / qualified reference use for benchmark:dynamic-defect-ion-transient-production-closure" + }, + { + "field": "zero-species/zero-cell identity and numeric dimensional absolute gate from model absence or reference error evidence", + "needed_from": "benchmark-4322a9e3b442d931 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_dynamic_defect_transient.py::test_public_dynamic_defect_transient_is_protocol_bound_and_certified, perovskite-sim/tests/integration/test_dynamic_defect_transient_api.py::test_real_dynamic_defect_transient_api_serializes_protocol_and_evidence, perovskite-sim/tests/unit/backend/test_dynamic_defect_transient_api.py::test_job_rejects_invalid_contract_before_submit, perovskite-sim/tests/unit/experiments/test_dynamic_defect_transient.py::test_protocol_round_trip_is_strict_canonical_and_content_addressed, perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py::test_production_executor_cell_runs_public_protocol_and_projection, perovskit", + "blocked_use": "new N acceptance / qualified reference use for benchmark:dynamic-defect-ion-transient-production-closure" + }, + { + "field": "actual volumes, component labels and independent log/inventory uncertainty", + "needed_from": "benchmark-4322a9e3b442d931 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_dynamic_defect_transient.py::test_public_dynamic_defect_transient_is_protocol_bound_and_certified, perovskite-sim/tests/integration/test_dynamic_defect_transient_api.py::test_real_dynamic_defect_transient_api_serializes_protocol_and_evidence, perovskite-sim/tests/unit/backend/test_dynamic_defect_transient_api.py::test_job_rejects_invalid_contract_before_submit, perovskite-sim/tests/unit/experiments/test_dynamic_defect_transient.py::test_protocol_round_trip_is_strict_canonical_and_content_addressed, perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py::test_production_executor_cell_runs_public_protocol_and_projection, perovskit", + "blocked_use": "new N acceptance / qualified reference use for benchmark:dynamic-defect-ion-transient-production-closure" + }, + { + "field": "numeric reference current scale and absolute weak/zero current allowance, in the actual A or A m-2 output unit", + "needed_from": "benchmark-4322a9e3b442d931 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_dynamic_defect_transient.py::test_public_dynamic_defect_transient_is_protocol_bound_and_certified, perovskite-sim/tests/integration/test_dynamic_defect_transient_api.py::test_real_dynamic_defect_transient_api_serializes_protocol_and_evidence, perovskite-sim/tests/unit/backend/test_dynamic_defect_transient_api.py::test_job_rejects_invalid_contract_before_submit, perovskite-sim/tests/unit/experiments/test_dynamic_defect_transient.py::test_protocol_round_trip_is_strict_canonical_and_content_addressed, perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py::test_production_executor_cell_runs_public_protocol_and_projection, perovskit", + "blocked_use": "new N acceptance / qualified reference use for benchmark:dynamic-defect-ion-transient-production-closure" + }, + { + "field": "each component/sign/port/support, observation times and both event sides", + "needed_from": "benchmark-4322a9e3b442d931 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_dynamic_defect_transient.py::test_public_dynamic_defect_transient_is_protocol_bound_and_certified, perovskite-sim/tests/integration/test_dynamic_defect_transient_api.py::test_real_dynamic_defect_transient_api_serializes_protocol_and_evidence, perovskite-sim/tests/unit/backend/test_dynamic_defect_transient_api.py::test_job_rejects_invalid_contract_before_submit, perovskite-sim/tests/unit/experiments/test_dynamic_defect_transient.py::test_protocol_round_trip_is_strict_canonical_and_content_addressed, perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py::test_production_executor_cell_runs_public_protocol_and_projection, perovskit", + "blocked_use": "new N acceptance / qualified reference use for benchmark:dynamic-defect-ion-transient-production-closure" + }, + { + "field": "pointwise current uncertainty and a pointwise comparison limit; integrated charge is not a substitute", + "needed_from": "benchmark-4322a9e3b442d931 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_dynamic_defect_transient.py::test_public_dynamic_defect_transient_is_protocol_bound_and_certified, perovskite-sim/tests/integration/test_dynamic_defect_transient_api.py::test_real_dynamic_defect_transient_api_serializes_protocol_and_evidence, perovskite-sim/tests/unit/backend/test_dynamic_defect_transient_api.py::test_job_rejects_invalid_contract_before_submit, perovskite-sim/tests/unit/experiments/test_dynamic_defect_transient.py::test_protocol_round_trip_is_strict_canonical_and_content_addressed, perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py::test_production_executor_cell_runs_public_protocol_and_projection, perovskit", + "blocked_use": "new N acceptance / qualified reference use for benchmark:dynamic-defect-ion-transient-production-closure" + }, + { + "field": "actual complete state history, time coordinates, event sides and original integral/fit-window identity", + "needed_from": "benchmark-4322a9e3b442d931 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_dynamic_defect_transient.py::test_public_dynamic_defect_transient_is_protocol_bound_and_certified, perovskite-sim/tests/integration/test_dynamic_defect_transient_api.py::test_real_dynamic_defect_transient_api_serializes_protocol_and_evidence, perovskite-sim/tests/unit/backend/test_dynamic_defect_transient_api.py::test_job_rejects_invalid_contract_before_submit, perovskite-sim/tests/unit/experiments/test_dynamic_defect_transient.py::test_protocol_round_trip_is_strict_canonical_and_content_addressed, perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py::test_production_executor_cell_runs_public_protocol_and_projection, perovskit", + "blocked_use": "new N acceptance / qualified reference use for benchmark:dynamic-defect-ion-transient-production-closure" + }, + { + "field": "numeric separate waveform, integrated-charge and fit residual/derived-parameter scales/limits from the original channel", + "needed_from": "benchmark-4322a9e3b442d931 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_dynamic_defect_transient.py::test_public_dynamic_defect_transient_is_protocol_bound_and_certified, perovskite-sim/tests/integration/test_dynamic_defect_transient_api.py::test_real_dynamic_defect_transient_api_serializes_protocol_and_evidence, perovskite-sim/tests/unit/backend/test_dynamic_defect_transient_api.py::test_job_rejects_invalid_contract_before_submit, perovskite-sim/tests/unit/experiments/test_dynamic_defect_transient.py::test_protocol_round_trip_is_strict_canonical_and_content_addressed, perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py::test_production_executor_cell_runs_public_protocol_and_projection, perovskit", + "blocked_use": "new N acceptance / qualified reference use for benchmark:dynamic-defect-ion-transient-production-closure" + }, + { + "field": "nonresetting interval/prefix uncertainty and accepted-history reference errors", + "needed_from": "benchmark-4322a9e3b442d931 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_dynamic_defect_transient.py::test_public_dynamic_defect_transient_is_protocol_bound_and_certified, perovskite-sim/tests/integration/test_dynamic_defect_transient_api.py::test_real_dynamic_defect_transient_api_serializes_protocol_and_evidence, perovskite-sim/tests/unit/backend/test_dynamic_defect_transient_api.py::test_job_rejects_invalid_contract_before_submit, perovskite-sim/tests/unit/experiments/test_dynamic_defect_transient.py::test_protocol_round_trip_is_strict_canonical_and_content_addressed, perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py::test_production_executor_cell_runs_public_protocol_and_projection, perovskit", + "blocked_use": "new N acceptance / qualified reference use for benchmark:dynamic-defect-ion-transient-production-closure" + }, + { + "field": "actual row and column physical units, support and fixed per-block/state/input scales", + "needed_from": "benchmark-4322a9e3b442d931 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_dynamic_defect_transient.py::test_public_dynamic_defect_transient_is_protocol_bound_and_certified, perovskite-sim/tests/integration/test_dynamic_defect_transient_api.py::test_real_dynamic_defect_transient_api_serializes_protocol_and_evidence, perovskite-sim/tests/unit/backend/test_dynamic_defect_transient_api.py::test_job_rejects_invalid_contract_before_submit, perovskite-sim/tests/unit/experiments/test_dynamic_defect_transient.py::test_protocol_round_trip_is_strict_canonical_and_content_addressed, perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py::test_production_executor_cell_runs_public_protocol_and_projection, perovskit", + "blocked_use": "new N acceptance / qualified reference use for benchmark:dynamic-defect-ion-transient-production-closure" + }, + { + "field": "numeric independent derivative/action/weak-increment thresholds from the original applicable contract", + "needed_from": "benchmark-4322a9e3b442d931 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_dynamic_defect_transient.py::test_public_dynamic_defect_transient_is_protocol_bound_and_certified, perovskite-sim/tests/integration/test_dynamic_defect_transient_api.py::test_real_dynamic_defect_transient_api_serializes_protocol_and_evidence, perovskite-sim/tests/unit/backend/test_dynamic_defect_transient_api.py::test_job_rejects_invalid_contract_before_submit, perovskite-sim/tests/unit/experiments/test_dynamic_defect_transient.py::test_protocol_round_trip_is_strict_canonical_and_content_addressed, perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py::test_production_executor_cell_runs_public_protocol_and_projection, perovskit", + "blocked_use": "new N acceptance / qualified reference use for benchmark:dynamic-defect-ion-transient-production-closure" + }, + { + "field": "full nonlocal/input chain, inactive/zero branch and independent reference/cancellation error", + "needed_from": "benchmark-4322a9e3b442d931 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_dynamic_defect_transient.py::test_public_dynamic_defect_transient_is_protocol_bound_and_certified, perovskite-sim/tests/integration/test_dynamic_defect_transient_api.py::test_real_dynamic_defect_transient_api_serializes_protocol_and_evidence, perovskite-sim/tests/unit/backend/test_dynamic_defect_transient_api.py::test_job_rejects_invalid_contract_before_submit, perovskite-sim/tests/unit/experiments/test_dynamic_defect_transient.py::test_protocol_round_trip_is_strict_canonical_and_content_addressed, perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py::test_production_executor_cell_runs_public_protocol_and_projection, perovskit", + "blocked_use": "new N acceptance / qualified reference use for benchmark:dynamic-defect-ion-transient-production-closure" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/benchmark-4322a9e3b442d931/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + } + ], + "downstream_tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-benchmark-4322a9e3b442d931" + }, + "scope_specific_prior_gaps": [ + { + "field": "numeric fixed thermal/physical voltage scale in V from the exact reference temperature or declared boundary parameters", + "needed_from": "benchmark-4322a9e3b442d931 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_dynamic_defect_transient.py::test_public_dynamic_defect_transient_is_protocol_bound_and_certified, perovskite-sim/tests/integration/test_dynamic_defect_transient_api.py::test_real_dynamic_defect_transient_api_serializes_protocol_and_evidence, perovskite-sim/tests/unit/backend/test_dynamic_defect_transient_api.py::test_job_rejects_invalid_contract_before_submit, perovskite-sim/tests/unit/experiments/test_dynamic_defect_transient.py::test_protocol_round_trip_is_strict_canonical_and_content_addressed, perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py::test_production_executor_cell_runs_public_protocol_and_projection, perovskit", + "blocked_use": "new N acceptance / qualified reference use for benchmark:dynamic-defect-ion-transient-production-closure", + "categories": [ + "source_configuration" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual reference CV weights/support and physical gauge/contact values; allowed mask", + "needed_from": "benchmark-4322a9e3b442d931 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_dynamic_defect_transient.py::test_public_dynamic_defect_transient_is_protocol_bound_and_certified, perovskite-sim/tests/integration/test_dynamic_defect_transient_api.py::test_real_dynamic_defect_transient_api_serializes_protocol_and_evidence, perovskite-sim/tests/unit/backend/test_dynamic_defect_transient_api.py::test_job_rejects_invalid_contract_before_submit, perovskite-sim/tests/unit/experiments/test_dynamic_defect_transient.py::test_protocol_round_trip_is_strict_canonical_and_content_addressed, perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py::test_production_executor_cell_runs_public_protocol_and_projection, perovskit", + "blocked_use": "new N acceptance / qualified reference use for benchmark:dynamic-defect-ion-transient-production-closure", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "independent source/grid/time/mapping error in V and its qualified reference identity", + "needed_from": "benchmark-4322a9e3b442d931 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_dynamic_defect_transient.py::test_public_dynamic_defect_transient_is_protocol_bound_and_certified, perovskite-sim/tests/integration/test_dynamic_defect_transient_api.py::test_real_dynamic_defect_transient_api_serializes_protocol_and_evidence, perovskite-sim/tests/unit/backend/test_dynamic_defect_transient_api.py::test_job_rejects_invalid_contract_before_submit, perovskite-sim/tests/unit/experiments/test_dynamic_defect_transient.py::test_protocol_round_trip_is_strict_canonical_and_content_addressed, perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py::test_production_executor_cell_runs_public_protocol_and_projection, perovskit", + "blocked_use": "new N acceptance / qualified reference use for benchmark:dynamic-defect-ion-transient-production-closure", + "categories": [ + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "per-species/per-connected-domain positive reference inventory numeric scale and unit (1 or m-2, according to actual CV measure)", + "needed_from": "benchmark-4322a9e3b442d931 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_dynamic_defect_transient.py::test_public_dynamic_defect_transient_is_protocol_bound_and_certified, perovskite-sim/tests/integration/test_dynamic_defect_transient_api.py::test_real_dynamic_defect_transient_api_serializes_protocol_and_evidence, perovskite-sim/tests/unit/backend/test_dynamic_defect_transient_api.py::test_job_rejects_invalid_contract_before_submit, perovskite-sim/tests/unit/experiments/test_dynamic_defect_transient.py::test_protocol_round_trip_is_strict_canonical_and_content_addressed, perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py::test_production_executor_cell_runs_public_protocol_and_projection, perovskit", + "blocked_use": "new N acceptance / qualified reference use for benchmark:dynamic-defect-ion-transient-production-closure", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "zero-species/zero-cell identity and numeric dimensional absolute gate from model absence or reference error evidence", + "needed_from": "benchmark-4322a9e3b442d931 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_dynamic_defect_transient.py::test_public_dynamic_defect_transient_is_protocol_bound_and_certified, perovskite-sim/tests/integration/test_dynamic_defect_transient_api.py::test_real_dynamic_defect_transient_api_serializes_protocol_and_evidence, perovskite-sim/tests/unit/backend/test_dynamic_defect_transient_api.py::test_job_rejects_invalid_contract_before_submit, perovskite-sim/tests/unit/experiments/test_dynamic_defect_transient.py::test_protocol_round_trip_is_strict_canonical_and_content_addressed, perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py::test_production_executor_cell_runs_public_protocol_and_projection, perovskit", + "blocked_use": "new N acceptance / qualified reference use for benchmark:dynamic-defect-ion-transient-production-closure", + "categories": [ + "source_configuration", + "tolerance_decision" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual volumes, component labels and independent log/inventory uncertainty", + "needed_from": "benchmark-4322a9e3b442d931 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_dynamic_defect_transient.py::test_public_dynamic_defect_transient_is_protocol_bound_and_certified, perovskite-sim/tests/integration/test_dynamic_defect_transient_api.py::test_real_dynamic_defect_transient_api_serializes_protocol_and_evidence, perovskite-sim/tests/unit/backend/test_dynamic_defect_transient_api.py::test_job_rejects_invalid_contract_before_submit, perovskite-sim/tests/unit/experiments/test_dynamic_defect_transient.py::test_protocol_round_trip_is_strict_canonical_and_content_addressed, perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py::test_production_executor_cell_runs_public_protocol_and_projection, perovskit", + "blocked_use": "new N acceptance / qualified reference use for benchmark:dynamic-defect-ion-transient-production-closure", + "categories": [ + "measurement_data", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "numeric reference current scale and absolute weak/zero current allowance, in the actual A or A m-2 output unit", + "needed_from": "benchmark-4322a9e3b442d931 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_dynamic_defect_transient.py::test_public_dynamic_defect_transient_is_protocol_bound_and_certified, perovskite-sim/tests/integration/test_dynamic_defect_transient_api.py::test_real_dynamic_defect_transient_api_serializes_protocol_and_evidence, perovskite-sim/tests/unit/backend/test_dynamic_defect_transient_api.py::test_job_rejects_invalid_contract_before_submit, perovskite-sim/tests/unit/experiments/test_dynamic_defect_transient.py::test_protocol_round_trip_is_strict_canonical_and_content_addressed, perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py::test_production_executor_cell_runs_public_protocol_and_projection, perovskit", + "blocked_use": "new N acceptance / qualified reference use for benchmark:dynamic-defect-ion-transient-production-closure", + "categories": [ + "source_configuration", + "tolerance_decision" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "each component/sign/port/support, observation times and both event sides", + "needed_from": "benchmark-4322a9e3b442d931 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_dynamic_defect_transient.py::test_public_dynamic_defect_transient_is_protocol_bound_and_certified, perovskite-sim/tests/integration/test_dynamic_defect_transient_api.py::test_real_dynamic_defect_transient_api_serializes_protocol_and_evidence, perovskite-sim/tests/unit/backend/test_dynamic_defect_transient_api.py::test_job_rejects_invalid_contract_before_submit, perovskite-sim/tests/unit/experiments/test_dynamic_defect_transient.py::test_protocol_round_trip_is_strict_canonical_and_content_addressed, perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py::test_production_executor_cell_runs_public_protocol_and_projection, perovskit", + "blocked_use": "new N acceptance / qualified reference use for benchmark:dynamic-defect-ion-transient-production-closure", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "pointwise current uncertainty and a pointwise comparison limit; integrated charge is not a substitute", + "needed_from": "benchmark-4322a9e3b442d931 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_dynamic_defect_transient.py::test_public_dynamic_defect_transient_is_protocol_bound_and_certified, perovskite-sim/tests/integration/test_dynamic_defect_transient_api.py::test_real_dynamic_defect_transient_api_serializes_protocol_and_evidence, perovskite-sim/tests/unit/backend/test_dynamic_defect_transient_api.py::test_job_rejects_invalid_contract_before_submit, perovskite-sim/tests/unit/experiments/test_dynamic_defect_transient.py::test_protocol_round_trip_is_strict_canonical_and_content_addressed, perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py::test_production_executor_cell_runs_public_protocol_and_projection, perovskit", + "blocked_use": "new N acceptance / qualified reference use for benchmark:dynamic-defect-ion-transient-production-closure", + "categories": [ + "tolerance_decision", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual complete state history, time coordinates, event sides and original integral/fit-window identity", + "needed_from": "benchmark-4322a9e3b442d931 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_dynamic_defect_transient.py::test_public_dynamic_defect_transient_is_protocol_bound_and_certified, perovskite-sim/tests/integration/test_dynamic_defect_transient_api.py::test_real_dynamic_defect_transient_api_serializes_protocol_and_evidence, perovskite-sim/tests/unit/backend/test_dynamic_defect_transient_api.py::test_job_rejects_invalid_contract_before_submit, perovskite-sim/tests/unit/experiments/test_dynamic_defect_transient.py::test_protocol_round_trip_is_strict_canonical_and_content_addressed, perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py::test_production_executor_cell_runs_public_protocol_and_projection, perovskit", + "blocked_use": "new N acceptance / qualified reference use for benchmark:dynamic-defect-ion-transient-production-closure", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "numeric separate waveform, integrated-charge and fit residual/derived-parameter scales/limits from the original channel", + "needed_from": "benchmark-4322a9e3b442d931 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_dynamic_defect_transient.py::test_public_dynamic_defect_transient_is_protocol_bound_and_certified, perovskite-sim/tests/integration/test_dynamic_defect_transient_api.py::test_real_dynamic_defect_transient_api_serializes_protocol_and_evidence, perovskite-sim/tests/unit/backend/test_dynamic_defect_transient_api.py::test_job_rejects_invalid_contract_before_submit, perovskite-sim/tests/unit/experiments/test_dynamic_defect_transient.py::test_protocol_round_trip_is_strict_canonical_and_content_addressed, perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py::test_production_executor_cell_runs_public_protocol_and_projection, perovskit", + "blocked_use": "new N acceptance / qualified reference use for benchmark:dynamic-defect-ion-transient-production-closure", + "categories": [ + "tolerance_decision" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "nonresetting interval/prefix uncertainty and accepted-history reference errors", + "needed_from": "benchmark-4322a9e3b442d931 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_dynamic_defect_transient.py::test_public_dynamic_defect_transient_is_protocol_bound_and_certified, perovskite-sim/tests/integration/test_dynamic_defect_transient_api.py::test_real_dynamic_defect_transient_api_serializes_protocol_and_evidence, perovskite-sim/tests/unit/backend/test_dynamic_defect_transient_api.py::test_job_rejects_invalid_contract_before_submit, perovskite-sim/tests/unit/experiments/test_dynamic_defect_transient.py::test_protocol_round_trip_is_strict_canonical_and_content_addressed, perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py::test_production_executor_cell_runs_public_protocol_and_projection, perovskit", + "blocked_use": "new N acceptance / qualified reference use for benchmark:dynamic-defect-ion-transient-production-closure", + "categories": [ + "measurement_data", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual row and column physical units, support and fixed per-block/state/input scales", + "needed_from": "benchmark-4322a9e3b442d931 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_dynamic_defect_transient.py::test_public_dynamic_defect_transient_is_protocol_bound_and_certified, perovskite-sim/tests/integration/test_dynamic_defect_transient_api.py::test_real_dynamic_defect_transient_api_serializes_protocol_and_evidence, perovskite-sim/tests/unit/backend/test_dynamic_defect_transient_api.py::test_job_rejects_invalid_contract_before_submit, perovskite-sim/tests/unit/experiments/test_dynamic_defect_transient.py::test_protocol_round_trip_is_strict_canonical_and_content_addressed, perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py::test_production_executor_cell_runs_public_protocol_and_projection, perovskit", + "blocked_use": "new N acceptance / qualified reference use for benchmark:dynamic-defect-ion-transient-production-closure", + "categories": [ + "source_configuration" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "numeric independent derivative/action/weak-increment thresholds from the original applicable contract", + "needed_from": "benchmark-4322a9e3b442d931 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_dynamic_defect_transient.py::test_public_dynamic_defect_transient_is_protocol_bound_and_certified, perovskite-sim/tests/integration/test_dynamic_defect_transient_api.py::test_real_dynamic_defect_transient_api_serializes_protocol_and_evidence, perovskite-sim/tests/unit/backend/test_dynamic_defect_transient_api.py::test_job_rejects_invalid_contract_before_submit, perovskite-sim/tests/unit/experiments/test_dynamic_defect_transient.py::test_protocol_round_trip_is_strict_canonical_and_content_addressed, perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py::test_production_executor_cell_runs_public_protocol_and_projection, perovskit", + "blocked_use": "new N acceptance / qualified reference use for benchmark:dynamic-defect-ion-transient-production-closure", + "categories": [ + "tolerance_decision" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "full nonlocal/input chain, inactive/zero branch and independent reference/cancellation error", + "needed_from": "benchmark-4322a9e3b442d931 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_dynamic_defect_transient.py::test_public_dynamic_defect_transient_is_protocol_bound_and_certified, perovskite-sim/tests/integration/test_dynamic_defect_transient_api.py::test_real_dynamic_defect_transient_api_serializes_protocol_and_evidence, perovskite-sim/tests/unit/backend/test_dynamic_defect_transient_api.py::test_job_rejects_invalid_contract_before_submit, perovskite-sim/tests/unit/experiments/test_dynamic_defect_transient.py::test_protocol_round_trip_is_strict_canonical_and_content_addressed, perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py::test_production_executor_cell_runs_public_protocol_and_projection, perovskit", + "blocked_use": "new N acceptance / qualified reference use for benchmark:dynamic-defect-ion-transient-production-closure", + "categories": [ + "source_configuration", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/benchmark-4322a9e3b442d931/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [], + "current_numeric_status": "prior_exact_scope_gaps_retained_and_classified" + } + }, + { + "id": "scope-benchmark-cc91d2d42ff5757d", + "capability_id": "benchmark-cc91d2d42ff5757d", + "route_id": "route-f13ea1085e6c91d1", + "origin_key": "benchmark:dynamic-defect-ion-transient-timescale-closure", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "physical_profiles_or_stored_state_history", + "current_observation_or_current_input", + "waveform_integral_history", + "source_specific_operator_or_constitutive_action" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "pointer": "/benchmarks/dynamic-defect-ion-transient-timescale-closure", + "value_sha256": "3331988902897bc84db1830a147ccd32bffee9e49ed545bba0d3051a94ef2b49" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_interface_defect_ion_transient.py", + "symbol": "test_deep_time_refinement_retains_charge_and_all_face_current_closure" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_dynamic_storage.py", + "symbol": "test_log_density_increment_resolves_sub_ulp_relative_motion" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py", + "symbol": "test_reference_resolved_v5_changes_only_reference_and_stiffness_contract" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py", + "symbol": "test_registered_lane_freezes_three_by_three_timescale_contract" + } + ], + "negative_only_descriptor_rule_ids": [], + "source_quantitative_assertion_ids_for_scope_audit": [ + "rule-4dd303afab01860520e8a351", + "rule-b2c0e0730392ae5c0761b46e", + "rule-4efbbbbfc1578e42850332dd", + "rule-ea751fed23dd1f729c7b27d5", + "rule-7acfc0ff09b60eee4a1510f0" + ], + "rule_ids": [ + "M_payload", + "potential_packet", + "positive_density_log", + "density_inventory_packet", + "current_packet", + "transient_packet", + "operator_packet" + ], + "citations": [], + "remaining_inputs": [ + { + "field": "numeric fixed thermal/physical voltage scale in V from the exact reference temperature or declared boundary parameters", + "needed_from": "benchmark-cc91d2d42ff5757d exact original driver/reference observation packet; perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_deep_time_refinement_retains_charge_and_all_face_current_closure, perovskite-sim/tests/unit/physics/test_dynamic_storage.py::test_log_density_increment_resolves_sub_ulp_relative_motion, perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py::test_reference_resolved_v5_changes_only_reference_and_stiffness_contract, perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py::test_registered_lane_freezes_three_by_three_timescale_contract", + "blocked_use": "new N acceptance / qualified reference use for benchmark:dynamic-defect-ion-transient-timescale-closure" + }, + { + "field": "actual reference CV weights/support and physical gauge/contact values; allowed mask", + "needed_from": "benchmark-cc91d2d42ff5757d exact original driver/reference observation packet; perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_deep_time_refinement_retains_charge_and_all_face_current_closure, perovskite-sim/tests/unit/physics/test_dynamic_storage.py::test_log_density_increment_resolves_sub_ulp_relative_motion, perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py::test_reference_resolved_v5_changes_only_reference_and_stiffness_contract, perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py::test_registered_lane_freezes_three_by_three_timescale_contract", + "blocked_use": "new N acceptance / qualified reference use for benchmark:dynamic-defect-ion-transient-timescale-closure" + }, + { + "field": "independent source/grid/time/mapping error in V and its qualified reference identity", + "needed_from": "benchmark-cc91d2d42ff5757d exact original driver/reference observation packet; perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_deep_time_refinement_retains_charge_and_all_face_current_closure, perovskite-sim/tests/unit/physics/test_dynamic_storage.py::test_log_density_increment_resolves_sub_ulp_relative_motion, perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py::test_reference_resolved_v5_changes_only_reference_and_stiffness_contract, perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py::test_registered_lane_freezes_three_by_three_timescale_contract", + "blocked_use": "new N acceptance / qualified reference use for benchmark:dynamic-defect-ion-transient-timescale-closure" + }, + { + "field": "per-species/per-connected-domain positive reference inventory numeric scale and unit (1 or m-2, according to actual CV measure)", + "needed_from": "benchmark-cc91d2d42ff5757d exact original driver/reference observation packet; perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_deep_time_refinement_retains_charge_and_all_face_current_closure, perovskite-sim/tests/unit/physics/test_dynamic_storage.py::test_log_density_increment_resolves_sub_ulp_relative_motion, perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py::test_reference_resolved_v5_changes_only_reference_and_stiffness_contract, perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py::test_registered_lane_freezes_three_by_three_timescale_contract", + "blocked_use": "new N acceptance / qualified reference use for benchmark:dynamic-defect-ion-transient-timescale-closure" + }, + { + "field": "zero-species/zero-cell identity and numeric dimensional absolute gate from model absence or reference error evidence", + "needed_from": "benchmark-cc91d2d42ff5757d exact original driver/reference observation packet; perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_deep_time_refinement_retains_charge_and_all_face_current_closure, perovskite-sim/tests/unit/physics/test_dynamic_storage.py::test_log_density_increment_resolves_sub_ulp_relative_motion, perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py::test_reference_resolved_v5_changes_only_reference_and_stiffness_contract, perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py::test_registered_lane_freezes_three_by_three_timescale_contract", + "blocked_use": "new N acceptance / qualified reference use for benchmark:dynamic-defect-ion-transient-timescale-closure" + }, + { + "field": "actual volumes, component labels and independent log/inventory uncertainty", + "needed_from": "benchmark-cc91d2d42ff5757d exact original driver/reference observation packet; perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_deep_time_refinement_retains_charge_and_all_face_current_closure, perovskite-sim/tests/unit/physics/test_dynamic_storage.py::test_log_density_increment_resolves_sub_ulp_relative_motion, perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py::test_reference_resolved_v5_changes_only_reference_and_stiffness_contract, perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py::test_registered_lane_freezes_three_by_three_timescale_contract", + "blocked_use": "new N acceptance / qualified reference use for benchmark:dynamic-defect-ion-transient-timescale-closure" + }, + { + "field": "numeric reference current scale and absolute weak/zero current allowance, in the actual A or A m-2 output unit", + "needed_from": "benchmark-cc91d2d42ff5757d exact original driver/reference observation packet; perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_deep_time_refinement_retains_charge_and_all_face_current_closure, perovskite-sim/tests/unit/physics/test_dynamic_storage.py::test_log_density_increment_resolves_sub_ulp_relative_motion, perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py::test_reference_resolved_v5_changes_only_reference_and_stiffness_contract, perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py::test_registered_lane_freezes_three_by_three_timescale_contract", + "blocked_use": "new N acceptance / qualified reference use for benchmark:dynamic-defect-ion-transient-timescale-closure" + }, + { + "field": "each component/sign/port/support, observation times and both event sides", + "needed_from": "benchmark-cc91d2d42ff5757d exact original driver/reference observation packet; perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_deep_time_refinement_retains_charge_and_all_face_current_closure, perovskite-sim/tests/unit/physics/test_dynamic_storage.py::test_log_density_increment_resolves_sub_ulp_relative_motion, perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py::test_reference_resolved_v5_changes_only_reference_and_stiffness_contract, perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py::test_registered_lane_freezes_three_by_three_timescale_contract", + "blocked_use": "new N acceptance / qualified reference use for benchmark:dynamic-defect-ion-transient-timescale-closure" + }, + { + "field": "pointwise current uncertainty and a pointwise comparison limit; integrated charge is not a substitute", + "needed_from": "benchmark-cc91d2d42ff5757d exact original driver/reference observation packet; perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_deep_time_refinement_retains_charge_and_all_face_current_closure, perovskite-sim/tests/unit/physics/test_dynamic_storage.py::test_log_density_increment_resolves_sub_ulp_relative_motion, perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py::test_reference_resolved_v5_changes_only_reference_and_stiffness_contract, perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py::test_registered_lane_freezes_three_by_three_timescale_contract", + "blocked_use": "new N acceptance / qualified reference use for benchmark:dynamic-defect-ion-transient-timescale-closure" + }, + { + "field": "actual complete state history, time coordinates, event sides and original integral/fit-window identity", + "needed_from": "benchmark-cc91d2d42ff5757d exact original driver/reference observation packet; perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_deep_time_refinement_retains_charge_and_all_face_current_closure, perovskite-sim/tests/unit/physics/test_dynamic_storage.py::test_log_density_increment_resolves_sub_ulp_relative_motion, perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py::test_reference_resolved_v5_changes_only_reference_and_stiffness_contract, perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py::test_registered_lane_freezes_three_by_three_timescale_contract", + "blocked_use": "new N acceptance / qualified reference use for benchmark:dynamic-defect-ion-transient-timescale-closure" + }, + { + "field": "numeric separate waveform, integrated-charge and fit residual/derived-parameter scales/limits from the original channel", + "needed_from": "benchmark-cc91d2d42ff5757d exact original driver/reference observation packet; perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_deep_time_refinement_retains_charge_and_all_face_current_closure, perovskite-sim/tests/unit/physics/test_dynamic_storage.py::test_log_density_increment_resolves_sub_ulp_relative_motion, perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py::test_reference_resolved_v5_changes_only_reference_and_stiffness_contract, perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py::test_registered_lane_freezes_three_by_three_timescale_contract", + "blocked_use": "new N acceptance / qualified reference use for benchmark:dynamic-defect-ion-transient-timescale-closure" + }, + { + "field": "nonresetting interval/prefix uncertainty and accepted-history reference errors", + "needed_from": "benchmark-cc91d2d42ff5757d exact original driver/reference observation packet; perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_deep_time_refinement_retains_charge_and_all_face_current_closure, perovskite-sim/tests/unit/physics/test_dynamic_storage.py::test_log_density_increment_resolves_sub_ulp_relative_motion, perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py::test_reference_resolved_v5_changes_only_reference_and_stiffness_contract, perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py::test_registered_lane_freezes_three_by_three_timescale_contract", + "blocked_use": "new N acceptance / qualified reference use for benchmark:dynamic-defect-ion-transient-timescale-closure" + }, + { + "field": "actual row and column physical units, support and fixed per-block/state/input scales", + "needed_from": "benchmark-cc91d2d42ff5757d exact original driver/reference observation packet; perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_deep_time_refinement_retains_charge_and_all_face_current_closure, perovskite-sim/tests/unit/physics/test_dynamic_storage.py::test_log_density_increment_resolves_sub_ulp_relative_motion, perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py::test_reference_resolved_v5_changes_only_reference_and_stiffness_contract, perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py::test_registered_lane_freezes_three_by_three_timescale_contract", + "blocked_use": "new N acceptance / qualified reference use for benchmark:dynamic-defect-ion-transient-timescale-closure" + }, + { + "field": "numeric independent derivative/action/weak-increment thresholds from the original applicable contract", + "needed_from": "benchmark-cc91d2d42ff5757d exact original driver/reference observation packet; perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_deep_time_refinement_retains_charge_and_all_face_current_closure, perovskite-sim/tests/unit/physics/test_dynamic_storage.py::test_log_density_increment_resolves_sub_ulp_relative_motion, perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py::test_reference_resolved_v5_changes_only_reference_and_stiffness_contract, perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py::test_registered_lane_freezes_three_by_three_timescale_contract", + "blocked_use": "new N acceptance / qualified reference use for benchmark:dynamic-defect-ion-transient-timescale-closure" + }, + { + "field": "full nonlocal/input chain, inactive/zero branch and independent reference/cancellation error", + "needed_from": "benchmark-cc91d2d42ff5757d exact original driver/reference observation packet; perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_deep_time_refinement_retains_charge_and_all_face_current_closure, perovskite-sim/tests/unit/physics/test_dynamic_storage.py::test_log_density_increment_resolves_sub_ulp_relative_motion, perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py::test_reference_resolved_v5_changes_only_reference_and_stiffness_contract, perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py::test_registered_lane_freezes_three_by_three_timescale_contract", + "blocked_use": "new N acceptance / qualified reference use for benchmark:dynamic-defect-ion-transient-timescale-closure" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/benchmark-cc91d2d42ff5757d/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + } + ], + "downstream_tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-benchmark-cc91d2d42ff5757d" + }, + "scope_specific_prior_gaps": [ + { + "field": "numeric fixed thermal/physical voltage scale in V from the exact reference temperature or declared boundary parameters", + "needed_from": "benchmark-cc91d2d42ff5757d exact original driver/reference observation packet; perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_deep_time_refinement_retains_charge_and_all_face_current_closure, perovskite-sim/tests/unit/physics/test_dynamic_storage.py::test_log_density_increment_resolves_sub_ulp_relative_motion, perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py::test_reference_resolved_v5_changes_only_reference_and_stiffness_contract, perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py::test_registered_lane_freezes_three_by_three_timescale_contract", + "blocked_use": "new N acceptance / qualified reference use for benchmark:dynamic-defect-ion-transient-timescale-closure", + "categories": [ + "source_configuration" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual reference CV weights/support and physical gauge/contact values; allowed mask", + "needed_from": "benchmark-cc91d2d42ff5757d exact original driver/reference observation packet; perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_deep_time_refinement_retains_charge_and_all_face_current_closure, perovskite-sim/tests/unit/physics/test_dynamic_storage.py::test_log_density_increment_resolves_sub_ulp_relative_motion, perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py::test_reference_resolved_v5_changes_only_reference_and_stiffness_contract, perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py::test_registered_lane_freezes_three_by_three_timescale_contract", + "blocked_use": "new N acceptance / qualified reference use for benchmark:dynamic-defect-ion-transient-timescale-closure", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "independent source/grid/time/mapping error in V and its qualified reference identity", + "needed_from": "benchmark-cc91d2d42ff5757d exact original driver/reference observation packet; perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_deep_time_refinement_retains_charge_and_all_face_current_closure, perovskite-sim/tests/unit/physics/test_dynamic_storage.py::test_log_density_increment_resolves_sub_ulp_relative_motion, perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py::test_reference_resolved_v5_changes_only_reference_and_stiffness_contract, perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py::test_registered_lane_freezes_three_by_three_timescale_contract", + "blocked_use": "new N acceptance / qualified reference use for benchmark:dynamic-defect-ion-transient-timescale-closure", + "categories": [ + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "per-species/per-connected-domain positive reference inventory numeric scale and unit (1 or m-2, according to actual CV measure)", + "needed_from": "benchmark-cc91d2d42ff5757d exact original driver/reference observation packet; perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_deep_time_refinement_retains_charge_and_all_face_current_closure, perovskite-sim/tests/unit/physics/test_dynamic_storage.py::test_log_density_increment_resolves_sub_ulp_relative_motion, perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py::test_reference_resolved_v5_changes_only_reference_and_stiffness_contract, perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py::test_registered_lane_freezes_three_by_three_timescale_contract", + "blocked_use": "new N acceptance / qualified reference use for benchmark:dynamic-defect-ion-transient-timescale-closure", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "zero-species/zero-cell identity and numeric dimensional absolute gate from model absence or reference error evidence", + "needed_from": "benchmark-cc91d2d42ff5757d exact original driver/reference observation packet; perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_deep_time_refinement_retains_charge_and_all_face_current_closure, perovskite-sim/tests/unit/physics/test_dynamic_storage.py::test_log_density_increment_resolves_sub_ulp_relative_motion, perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py::test_reference_resolved_v5_changes_only_reference_and_stiffness_contract, perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py::test_registered_lane_freezes_three_by_three_timescale_contract", + "blocked_use": "new N acceptance / qualified reference use for benchmark:dynamic-defect-ion-transient-timescale-closure", + "categories": [ + "source_configuration", + "tolerance_decision" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual volumes, component labels and independent log/inventory uncertainty", + "needed_from": "benchmark-cc91d2d42ff5757d exact original driver/reference observation packet; perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_deep_time_refinement_retains_charge_and_all_face_current_closure, perovskite-sim/tests/unit/physics/test_dynamic_storage.py::test_log_density_increment_resolves_sub_ulp_relative_motion, perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py::test_reference_resolved_v5_changes_only_reference_and_stiffness_contract, perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py::test_registered_lane_freezes_three_by_three_timescale_contract", + "blocked_use": "new N acceptance / qualified reference use for benchmark:dynamic-defect-ion-transient-timescale-closure", + "categories": [ + "measurement_data", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "numeric reference current scale and absolute weak/zero current allowance, in the actual A or A m-2 output unit", + "needed_from": "benchmark-cc91d2d42ff5757d exact original driver/reference observation packet; perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_deep_time_refinement_retains_charge_and_all_face_current_closure, perovskite-sim/tests/unit/physics/test_dynamic_storage.py::test_log_density_increment_resolves_sub_ulp_relative_motion, perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py::test_reference_resolved_v5_changes_only_reference_and_stiffness_contract, perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py::test_registered_lane_freezes_three_by_three_timescale_contract", + "blocked_use": "new N acceptance / qualified reference use for benchmark:dynamic-defect-ion-transient-timescale-closure", + "categories": [ + "source_configuration", + "tolerance_decision" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "each component/sign/port/support, observation times and both event sides", + "needed_from": "benchmark-cc91d2d42ff5757d exact original driver/reference observation packet; perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_deep_time_refinement_retains_charge_and_all_face_current_closure, perovskite-sim/tests/unit/physics/test_dynamic_storage.py::test_log_density_increment_resolves_sub_ulp_relative_motion, perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py::test_reference_resolved_v5_changes_only_reference_and_stiffness_contract, perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py::test_registered_lane_freezes_three_by_three_timescale_contract", + "blocked_use": "new N acceptance / qualified reference use for benchmark:dynamic-defect-ion-transient-timescale-closure", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "pointwise current uncertainty and a pointwise comparison limit; integrated charge is not a substitute", + "needed_from": "benchmark-cc91d2d42ff5757d exact original driver/reference observation packet; perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_deep_time_refinement_retains_charge_and_all_face_current_closure, perovskite-sim/tests/unit/physics/test_dynamic_storage.py::test_log_density_increment_resolves_sub_ulp_relative_motion, perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py::test_reference_resolved_v5_changes_only_reference_and_stiffness_contract, perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py::test_registered_lane_freezes_three_by_three_timescale_contract", + "blocked_use": "new N acceptance / qualified reference use for benchmark:dynamic-defect-ion-transient-timescale-closure", + "categories": [ + "tolerance_decision", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual complete state history, time coordinates, event sides and original integral/fit-window identity", + "needed_from": "benchmark-cc91d2d42ff5757d exact original driver/reference observation packet; perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_deep_time_refinement_retains_charge_and_all_face_current_closure, perovskite-sim/tests/unit/physics/test_dynamic_storage.py::test_log_density_increment_resolves_sub_ulp_relative_motion, perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py::test_reference_resolved_v5_changes_only_reference_and_stiffness_contract, perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py::test_registered_lane_freezes_three_by_three_timescale_contract", + "blocked_use": "new N acceptance / qualified reference use for benchmark:dynamic-defect-ion-transient-timescale-closure", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "numeric separate waveform, integrated-charge and fit residual/derived-parameter scales/limits from the original channel", + "needed_from": "benchmark-cc91d2d42ff5757d exact original driver/reference observation packet; perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_deep_time_refinement_retains_charge_and_all_face_current_closure, perovskite-sim/tests/unit/physics/test_dynamic_storage.py::test_log_density_increment_resolves_sub_ulp_relative_motion, perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py::test_reference_resolved_v5_changes_only_reference_and_stiffness_contract, perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py::test_registered_lane_freezes_three_by_three_timescale_contract", + "blocked_use": "new N acceptance / qualified reference use for benchmark:dynamic-defect-ion-transient-timescale-closure", + "categories": [ + "tolerance_decision" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "nonresetting interval/prefix uncertainty and accepted-history reference errors", + "needed_from": "benchmark-cc91d2d42ff5757d exact original driver/reference observation packet; perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_deep_time_refinement_retains_charge_and_all_face_current_closure, perovskite-sim/tests/unit/physics/test_dynamic_storage.py::test_log_density_increment_resolves_sub_ulp_relative_motion, perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py::test_reference_resolved_v5_changes_only_reference_and_stiffness_contract, perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py::test_registered_lane_freezes_three_by_three_timescale_contract", + "blocked_use": "new N acceptance / qualified reference use for benchmark:dynamic-defect-ion-transient-timescale-closure", + "categories": [ + "measurement_data", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual row and column physical units, support and fixed per-block/state/input scales", + "needed_from": "benchmark-cc91d2d42ff5757d exact original driver/reference observation packet; perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_deep_time_refinement_retains_charge_and_all_face_current_closure, perovskite-sim/tests/unit/physics/test_dynamic_storage.py::test_log_density_increment_resolves_sub_ulp_relative_motion, perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py::test_reference_resolved_v5_changes_only_reference_and_stiffness_contract, perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py::test_registered_lane_freezes_three_by_three_timescale_contract", + "blocked_use": "new N acceptance / qualified reference use for benchmark:dynamic-defect-ion-transient-timescale-closure", + "categories": [ + "source_configuration" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "numeric independent derivative/action/weak-increment thresholds from the original applicable contract", + "needed_from": "benchmark-cc91d2d42ff5757d exact original driver/reference observation packet; perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_deep_time_refinement_retains_charge_and_all_face_current_closure, perovskite-sim/tests/unit/physics/test_dynamic_storage.py::test_log_density_increment_resolves_sub_ulp_relative_motion, perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py::test_reference_resolved_v5_changes_only_reference_and_stiffness_contract, perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py::test_registered_lane_freezes_three_by_three_timescale_contract", + "blocked_use": "new N acceptance / qualified reference use for benchmark:dynamic-defect-ion-transient-timescale-closure", + "categories": [ + "tolerance_decision" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "full nonlocal/input chain, inactive/zero branch and independent reference/cancellation error", + "needed_from": "benchmark-cc91d2d42ff5757d exact original driver/reference observation packet; perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_deep_time_refinement_retains_charge_and_all_face_current_closure, perovskite-sim/tests/unit/physics/test_dynamic_storage.py::test_log_density_increment_resolves_sub_ulp_relative_motion, perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py::test_reference_resolved_v5_changes_only_reference_and_stiffness_contract, perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py::test_registered_lane_freezes_three_by_three_timescale_contract", + "blocked_use": "new N acceptance / qualified reference use for benchmark:dynamic-defect-ion-transient-timescale-closure", + "categories": [ + "source_configuration", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/benchmark-cc91d2d42ff5757d/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [], + "current_numeric_status": "prior_exact_scope_gaps_retained_and_classified" + } + }, + { + "id": "scope-benchmark-86e2e70943004434", + "capability_id": "benchmark-86e2e70943004434", + "route_id": "route-f13ea1085e6c91d1", + "origin_key": "benchmark:external-series-shunt-dc-internal-closure", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "source_specific_positive_observable_requires_declared_metric_selection" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "pointer": "/benchmarks/external-series-shunt-dc-internal-closure", + "value_sha256": "2fe5bc1b25491963cd9e576a06a04dd98f5edccfab754283d2bf74dfc38973b9" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_external_circuit_refinement.py", + "symbol": "test_real_registered_external_circuit_cell_returns_all_certificate_axes" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_external_circuit_refinement.py", + "symbol": "test_real_resolved_external_circuit_cell_covers_operating_quadrant" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_external_circuit_refinement.py", + "symbol": "test_executor_fails_closed_on_source_protocol_mismatch" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_external_circuit_refinement.py", + "symbol": "test_executor_matches_registry_and_binds_explicit_protocol" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_external_circuit_refinement.py", + "symbol": "test_resolved_executor_samples_fixed_terminal_power_quadrant" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_external_circuit_refinement.py", + "symbol": "test_study_protocol_is_identical_across_matrix_cells" + } + ], + "negative_only_descriptor_rule_ids": [ + "rule-23f84ef51f4185350b63df2c" + ], + "source_quantitative_assertion_ids_for_scope_audit": [ + "rule-b505041a2b19b3ee744899ec", + "rule-0271bea07b1b6f51d25db65a", + "rule-0489b0cbf43c54c57dbbfc60", + "rule-87718558833684c50962d1af", + "rule-e4330e8ebe02b2e91bd7a6d6" + ], + "rule_ids": [ + "M_payload", + "operator_packet" + ], + "citations": [], + "remaining_inputs": [ + { + "field": "actual row and column physical units, support and fixed per-block/state/input scales", + "needed_from": "benchmark-86e2e70943004434 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_external_circuit_refinement.py::test_real_registered_external_circuit_cell_returns_all_certificate_axes, perovskite-sim/tests/integration/test_external_circuit_refinement.py::test_real_resolved_external_circuit_cell_covers_operating_quadrant, perovskite-sim/tests/unit/validation/test_external_circuit_refinement.py::test_executor_fails_closed_on_source_protocol_mismatch, perovskite-sim/tests/unit/validation/test_external_circuit_refinement.py::test_executor_matches_registry_and_binds_explicit_protocol, perovskite-sim/tests/unit/validation/test_external_circuit_refinement.py::test_resolved_executor_samples_fixed_terminal_power_quadrant, perovskite-sim/test", + "blocked_use": "new N acceptance / qualified reference use for benchmark:external-series-shunt-dc-internal-closure" + }, + { + "field": "numeric independent derivative/action/weak-increment thresholds from the original applicable contract", + "needed_from": "benchmark-86e2e70943004434 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_external_circuit_refinement.py::test_real_registered_external_circuit_cell_returns_all_certificate_axes, perovskite-sim/tests/integration/test_external_circuit_refinement.py::test_real_resolved_external_circuit_cell_covers_operating_quadrant, perovskite-sim/tests/unit/validation/test_external_circuit_refinement.py::test_executor_fails_closed_on_source_protocol_mismatch, perovskite-sim/tests/unit/validation/test_external_circuit_refinement.py::test_executor_matches_registry_and_binds_explicit_protocol, perovskite-sim/tests/unit/validation/test_external_circuit_refinement.py::test_resolved_executor_samples_fixed_terminal_power_quadrant, perovskite-sim/test", + "blocked_use": "new N acceptance / qualified reference use for benchmark:external-series-shunt-dc-internal-closure" + }, + { + "field": "full nonlocal/input chain, inactive/zero branch and independent reference/cancellation error", + "needed_from": "benchmark-86e2e70943004434 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_external_circuit_refinement.py::test_real_registered_external_circuit_cell_returns_all_certificate_axes, perovskite-sim/tests/integration/test_external_circuit_refinement.py::test_real_resolved_external_circuit_cell_covers_operating_quadrant, perovskite-sim/tests/unit/validation/test_external_circuit_refinement.py::test_executor_fails_closed_on_source_protocol_mismatch, perovskite-sim/tests/unit/validation/test_external_circuit_refinement.py::test_executor_matches_registry_and_binds_explicit_protocol, perovskite-sim/tests/unit/validation/test_external_circuit_refinement.py::test_resolved_executor_samples_fixed_terminal_power_quadrant, perovskite-sim/test", + "blocked_use": "new N acceptance / qualified reference use for benchmark:external-series-shunt-dc-internal-closure" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/benchmark-86e2e70943004434/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + } + ], + "downstream_tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-benchmark-86e2e70943004434" + }, + "scope_specific_prior_gaps": [ + { + "field": "actual row and column physical units, support and fixed per-block/state/input scales", + "needed_from": "benchmark-86e2e70943004434 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_external_circuit_refinement.py::test_real_registered_external_circuit_cell_returns_all_certificate_axes, perovskite-sim/tests/integration/test_external_circuit_refinement.py::test_real_resolved_external_circuit_cell_covers_operating_quadrant, perovskite-sim/tests/unit/validation/test_external_circuit_refinement.py::test_executor_fails_closed_on_source_protocol_mismatch, perovskite-sim/tests/unit/validation/test_external_circuit_refinement.py::test_executor_matches_registry_and_binds_explicit_protocol, perovskite-sim/tests/unit/validation/test_external_circuit_refinement.py::test_resolved_executor_samples_fixed_terminal_power_quadrant, perovskite-sim/test", + "blocked_use": "new N acceptance / qualified reference use for benchmark:external-series-shunt-dc-internal-closure", + "categories": [ + "source_configuration" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "numeric independent derivative/action/weak-increment thresholds from the original applicable contract", + "needed_from": "benchmark-86e2e70943004434 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_external_circuit_refinement.py::test_real_registered_external_circuit_cell_returns_all_certificate_axes, perovskite-sim/tests/integration/test_external_circuit_refinement.py::test_real_resolved_external_circuit_cell_covers_operating_quadrant, perovskite-sim/tests/unit/validation/test_external_circuit_refinement.py::test_executor_fails_closed_on_source_protocol_mismatch, perovskite-sim/tests/unit/validation/test_external_circuit_refinement.py::test_executor_matches_registry_and_binds_explicit_protocol, perovskite-sim/tests/unit/validation/test_external_circuit_refinement.py::test_resolved_executor_samples_fixed_terminal_power_quadrant, perovskite-sim/test", + "blocked_use": "new N acceptance / qualified reference use for benchmark:external-series-shunt-dc-internal-closure", + "categories": [ + "tolerance_decision" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "full nonlocal/input chain, inactive/zero branch and independent reference/cancellation error", + "needed_from": "benchmark-86e2e70943004434 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_external_circuit_refinement.py::test_real_registered_external_circuit_cell_returns_all_certificate_axes, perovskite-sim/tests/integration/test_external_circuit_refinement.py::test_real_resolved_external_circuit_cell_covers_operating_quadrant, perovskite-sim/tests/unit/validation/test_external_circuit_refinement.py::test_executor_fails_closed_on_source_protocol_mismatch, perovskite-sim/tests/unit/validation/test_external_circuit_refinement.py::test_executor_matches_registry_and_binds_explicit_protocol, perovskite-sim/tests/unit/validation/test_external_circuit_refinement.py::test_resolved_executor_samples_fixed_terminal_power_quadrant, perovskite-sim/test", + "blocked_use": "new N acceptance / qualified reference use for benchmark:external-series-shunt-dc-internal-closure", + "categories": [ + "source_configuration", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/benchmark-86e2e70943004434/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [], + "current_numeric_status": "prior_exact_scope_gaps_retained_and_classified" + } + }, + { + "id": "scope-benchmark-00cbe610b0bd55b6", + "capability_id": "benchmark-00cbe610b0bd55b6", + "route_id": "route-f13ea1085e6c91d1", + "origin_key": "benchmark:foundation-mobile-ion-reference", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "source_specific_positive_observable_requires_declared_metric_selection" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "pointer": "/benchmarks/foundation-mobile-ion-reference", + "value_sha256": "6aa2a79af6ef979249cf2ae58f24adb1e5dd2b61f99e20acc84c9f418a78a528" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_foundation_mobile_refinement.py", + "symbol": "test_space_refinement_preserves_each_ion_inventory_and_profiles" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_foundation_mobile_refinement.py", + "symbol": "test_time_refinement_preserves_the_same_ramp_and_hold" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_foundation_mobile_refinement.py", + "symbol": "test_tolerance_refinement_preserves_mobile_and_electronic_states" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_accepted_trajectory.py", + "symbol": "test_capacity_excursion_is_detected_between_admissible_output_samples" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_accepted_trajectory.py", + "symbol": "test_negative_accepted_density_is_detected_between_positive_output_samples" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_accepted_trajectory.py", + "symbol": "test_observing_accepted_states_preserves_samples_steps_and_rhs_counts" + } + ], + "negative_only_descriptor_rule_ids": [], + "source_quantitative_assertion_ids_for_scope_audit": [ + "rule-ab4a80f4c9ef032954998eb0", + "rule-38623119cf083217b333111e", + "rule-74e50f750dea5f3dc1c8e841", + "rule-9247b50f2b4fcc6a861aa4e2", + "rule-e859a624426e6a8195bd77a0", + "rule-464d9934fb97376f40746e78", + "rule-ec1dd948f2534f7bd7e6a834" + ], + "rule_ids": [ + "M_payload", + "operator_packet" + ], + "citations": [ + { + "source_id": "mobile_test", + "symbol": "_run", + "lines": [ + 79, + 251 + ], + "text_sha256": "23ec2272868efbd44f3eee547fda1e47198c7b2e0cec927324567b5d558c8809" + }, + { + "source_id": "mobile_test", + "symbol": "_mobile_grid", + "lines": [ + 48, + 76 + ], + "text_sha256": "d96b5b663910de3e071414912ec609053c631fd0ce8088c746908e7a35c116b4" + }, + { + "source_id": "mobile_test", + "symbol": "_compare", + "lines": [ + 320, + 342 + ], + "text_sha256": "1a12cf64368cb25645826cf02d7c2fcc87fe03300c3d5c4bead90c8e5ea9a0c3" + }, + { + "source_id": "foundation_input" + }, + { + "source_id": "foundation_contract_v2" + }, + { + "source_id": "constants", + "lines": [ + 7, + 10 + ], + "text_sha256": "80945b021b065c0149c6a17a00224643db76bb279f4bc1d0c0c86c665803c87d" + }, + { + "source_id": "legacy_dual_measure", + "symbol": "dual_cell_widths", + "lines": [ + 55, + 70 + ], + "text_sha256": "bd6e23eedcbaa5d5bdd04449c576b26052c82e2fd141fb994adef4184abc881e" + }, + { + "source_id": "legacy_dual_measure", + "symbol": "dual_cell_integral", + "lines": [ + 73, + 93 + ], + "text_sha256": "c9662f6a2023795a3596a4314cd8c84632756086881c432efe4415af6fffe35d" + }, + { + "source_id": "legacy_material_geometry", + "lines": [ + 2239, + 2245 + ], + "text_sha256": "1b4863064e0c5e2b9b65c52dc6eaefa3833b6327002c172c4aa246dec03d2431" + }, + { + "source_id": "legacy_material_geometry", + "symbol": "poisson_right_boundary", + "lines": [ + 616, + 622 + ], + "text_sha256": "dc59f1c7b2c34b684f78f3f7cf8ac92f4aaaa067848a9ec75cdf3d338121019c" + } + ], + "remaining_inputs": [ + { + "field": "Recorded grid/CV words and accepted-state species arrays for the selected resolution, initial inventory roundoff bound, and independent inventory/projection error; keep every accepted interval and cumulative defect obligation.", + "needed_from": "benchmark-00cbe610b0bd55b6 / mobile_single_and_dual_absorber_inventory: original bound source/input and independently reviewed ReferenceQualification packet", + "blocked_use": "benchmark:foundation-mobile-ion-reference: new N acceptance outside the explicitly limited fixture meaning", + "downstream_tasks": [ + "P00-03", + "P03-06", + "P09-01" + ] + }, + { + "field": "The original ionic profile rule is linear concentration / fixed P0 with 0.01 limit; a new N log-profile/component test still requires a qualified positive profile and separately specified reference error.", + "needed_from": "benchmark-00cbe610b0bd55b6 / mobile_single_and_dual_absorber_inventory: original bound source/input and independently reviewed ReferenceQualification packet", + "blocked_use": "benchmark:foundation-mobile-ion-reference: new N acceptance outside the explicitly limited fixture meaning", + "downstream_tasks": [ + "P00-03", + "P03-06", + "P09-01" + ] + }, + { + "field": "Independent point-current error for each time/component/event side and raw observations with identical state/protocol identity; raw waveform agreement does not certify continuous charge prefixes.", + "needed_from": "benchmark-00cbe610b0bd55b6 / mobile_ramp_hold_total_current: original bound source/input and independently reviewed ReferenceQualification packet", + "blocked_use": "benchmark:foundation-mobile-ion-reference: new N acceptance outside the explicitly limited fixture meaning", + "downstream_tasks": [ + "P00-03", + "P03-06", + "P09-01" + ] + }, + { + "field": "A new N waveform acceptance must retain its original applicable precision contract and complete event-side/interval/prefix quantities; this packet preserves only the narrower historical 0.005*Q*Phi assertion.", + "needed_from": "benchmark-00cbe610b0bd55b6 / mobile_ramp_hold_total_current: original bound source/input and independently reviewed ReferenceQualification packet", + "blocked_use": "benchmark:foundation-mobile-ion-reference: new N acceptance outside the explicitly limited fixture meaning", + "downstream_tasks": [ + "P00-03", + "P03-06", + "P09-01" + ] + }, + { + "field": "Independent charge-rate/Jacobian-action and weak-increment reference error at the exact nonlinear states, with each row/block scale; original successful trajectory assertions are not a derivative-accuracy threshold.", + "needed_from": "benchmark-00cbe610b0bd55b6 / mobile_charge_rate_operator_support: original bound source/input and independently reviewed ReferenceQualification packet", + "blocked_use": "benchmark:foundation-mobile-ion-reference: new N acceptance outside the explicitly limited fixture meaning", + "downstream_tasks": [ + "P00-03", + "P03-06", + "P09-01" + ] + }, + { + "field": "Other original driver/fixture branches listed in original_test_or_source_bindings remain outside these exact-case parameter bindings; original rules and positive physical obligations are unchanged.", + "needed_from": "benchmark:foundation-mobile-ion-reference original branch-specific reference packet and applicable contract", + "blocked_use": "Full-scope activation or extension to an unmatched model/protocol/state/grid/environment" + } + ], + "downstream_tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "parameter_bindings": [ + { + "family_rule_id": "density_inventory_packet", + "case_id": "mobile_single_and_dual_absorber_inventory", + "applicability": "Original 176/352/704-grid single/dual mobile fixture only; blocking populations and fixed compensating backgrounds, not electronic inventories.", + "numeric_parameter_status": "specified_for_listed_subgates", + "known_parameters": { + "density_unit": "m-3", + "CV_unit": "m", + "inventory_unit": "m-2", + "absorber_thickness_m": 4e-07, + "positive_initial_density_m3": 1e+22, + "negative_initial_density_m3_dual": 7e+21, + "positive_inventory_m2": 4000000000000000.0, + "negative_inventory_m2_dual": 2800000000000000.0, + "site_capacity_m3": 1e+26, + "diffusivities_m2_s": [ + 1e-12, + 5e-13 + ], + "component": "intrinsic_absorber only; P0==0 cells in both leads are explicit zero cells", + "intervals": [ + 176, + 352, + 704 + ], + "interval_ratio": [ + 3, + 5, + 3 + ], + "absorber_tanh_alpha": 3.0, + "inventory_formula": "sum(dx_cell[i] * species_density[i]) on each accepted/output state; source mesh preserves absorber dual measure at 400 nm", + "zero_policy": "Inactive cells exact zero; the single variant has no negative-ion block, whereas the dual variant has a nonzero separately conserved block." + }, + "limits": { + "positive_drift": { + "unit": "m-2", + "atol": 0.0, + "rtol": 1e-10, + "scale": 4000000000000000.0, + "basis": "Original blocking inventory drift; input initial inventory fixes scale", + "operator": "lt" + }, + "negative_drift_dual": { + "unit": "m-2", + "atol": 0.0, + "rtol": 1e-10, + "scale": 2800000000000000.0, + "basis": "Same original gate for the distinct negative species", + "operator": "lt" + }, + "initial_positive_inventory": { + "unit": "m-2", + "atol": 0.0, + "rtol": 1e-12, + "scale": 4000000000000000.0, + "basis": "Original initial-inventory equality assertion", + "operator": "le" + }, + "initial_negative_inventory_dual": { + "unit": "m-2", + "atol": 0.0, + "rtol": 1e-12, + "scale": 2800000000000000.0, + "basis": "Original dual initial-inventory equality assertion", + "operator": "le" + }, + "inactive_density": { + "unit": "m-3", + "atol": 0.0, + "rtol": 0.0, + "scale": 0.0, + "basis": "Original assert_array_equal inactive population to zero", + "operator": "le" + } + }, + "citations": [ + { + "source_id": "mobile_test", + "symbol": "_run", + "lines": [ + 79, + 251 + ], + "text_sha256": "23ec2272868efbd44f3eee547fda1e47198c7b2e0cec927324567b5d558c8809" + }, + { + "source_id": "mobile_test", + "symbol": "_mobile_grid", + "lines": [ + 48, + 76 + ], + "text_sha256": "d96b5b663910de3e071414912ec609053c631fd0ce8088c746908e7a35c116b4" + }, + { + "source_id": "mobile_test", + "symbol": "_compare", + "lines": [ + 320, + 342 + ], + "text_sha256": "1a12cf64368cb25645826cf02d7c2fcc87fe03300c3d5c4bead90c8e5ea9a0c3" + }, + { + "source_id": "foundation_input" + }, + { + "source_id": "foundation_contract_v2" + }, + { + "source_id": "constants", + "lines": [ + 7, + 10 + ], + "text_sha256": "80945b021b065c0149c6a17a00224643db76bb279f4bc1d0c0c86c665803c87d" + } + ], + "remaining_parameters": [ + "Recorded grid/CV words and accepted-state species arrays for the selected resolution, initial inventory roundoff bound, and independent inventory/projection error; keep every accepted interval and cumulative defect obligation.", + "The original ionic profile rule is linear concentration / fixed P0 with 0.01 limit; a new N log-profile/component test still requires a qualified positive profile and separately specified reference error." + ], + "reference_eligibility": { + "status": "blocked_pending_independent_reference_and_review", + "reference_error_bound": null, + "default_reference_error_share": "1/3", + "stronger_original_channel_allocations_retained": true, + "unused_error_shares_redistributed": false, + "reference_qualified": false, + "active_comparison": null + } + }, + { + "family_rule_id": "current_packet", + "case_id": "mobile_ramp_hold_total_current", + "applicability": "Original pointwise finest-pair waveform and all-face closure contracts; their 0.5 percent waveform allowance is not promoted to a universal N target.", + "numeric_parameter_status": "specified_for_listed_subgates", + "known_parameters": { + "unit": "A m-2", + "photon_flux_m2_s": 1e+21, + "current_reference_A_m2": 160.2176634, + "current_scale_formula": "constants.Q * foundation_input.device.Phi", + "voltage_ramp": { + "start_V": 0.0, + "end_V": 0.6, + "duration_s": 0.0001 + }, + "hold_end_s": 0.002, + "support": "Original times = unique([0], geomspace(1e-10,1e-4,33), geomspace(1e-4,2e-3,17)); no sample removed", + "components": "carrier + mobile ion + displacement from same-time RHS and differentiated Poisson boundary; signed by material.junction_polarity", + "events": "light on at 0; explicit ramp/hold integration boundary at 1e-4; right-side boundary rate is zero after ramp, not an averaged rate", + "zero_policy": "Absolute A m-2 limits remain defined at zero current; never divide by dark current or replace point current with integrated charge" + }, + "limits": { + "pointwise_waveform_original": { + "unit": "A m-2", + "atol": 0.8010883169999999, + "rtol": 0.0, + "scale": 160.2176634, + "basis": "Foundation contract V2 and _compare, same input current scale", + "operator": "lt" + }, + "all_face_spread_original": { + "unit": "A m-2", + "atol": 0.0001, + "rtol": 0.0, + "scale": 160.2176634, + "basis": "_run original maximum_spread assertion", + "operator": "lt" + } + }, + "citations": [ + { + "source_id": "mobile_test", + "symbol": "_run", + "lines": [ + 79, + 251 + ], + "text_sha256": "23ec2272868efbd44f3eee547fda1e47198c7b2e0cec927324567b5d558c8809" + }, + { + "source_id": "mobile_test", + "symbol": "_mobile_grid", + "lines": [ + 48, + 76 + ], + "text_sha256": "d96b5b663910de3e071414912ec609053c631fd0ce8088c746908e7a35c116b4" + }, + { + "source_id": "mobile_test", + "symbol": "_compare", + "lines": [ + 320, + 342 + ], + "text_sha256": "1a12cf64368cb25645826cf02d7c2fcc87fe03300c3d5c4bead90c8e5ea9a0c3" + }, + { + "source_id": "foundation_input" + }, + { + "source_id": "foundation_contract_v2" + }, + { + "source_id": "constants", + "lines": [ + 7, + 10 + ], + "text_sha256": "80945b021b065c0149c6a17a00224643db76bb279f4bc1d0c0c86c665803c87d" + } + ], + "remaining_parameters": [ + "Independent point-current error for each time/component/event side and raw observations with identical state/protocol identity; raw waveform agreement does not certify continuous charge prefixes.", + "A new N waveform acceptance must retain its original applicable precision contract and complete event-side/interval/prefix quantities; this packet preserves only the narrower historical 0.005*Q*Phi assertion." + ], + "reference_eligibility": { + "status": "blocked_pending_independent_reference_and_review", + "reference_error_bound": null, + "default_reference_error_share": "1/3", + "stronger_original_channel_allocations_retained": true, + "unused_error_shares_redistributed": false, + "reference_qualified": false, + "active_comparison": null + } + }, + { + "family_rule_id": "operator_packet", + "case_id": "mobile_charge_rate_operator_support", + "applicability": "Existing mobile driver differentiates physical charge and boundary voltage at the same time; this is input/row-unit binding, not a derivative certificate.", + "numeric_parameter_status": "partially_specified", + "known_parameters": { + "charge_rate_formula": "Q*(dp_dt-dn_dt+dP_dt-dP_neg_dt); omit only the absent single-case negative block", + "rho_rate_unit": "C m-3 s-1", + "poisson_rate_unit": "V s-1", + "boundary_ramp_rate_V_s": 6000.0, + "post_ramp_boundary_rate_V_s": 0.0, + "current_density_unit": "A m-2", + "displacement_formula": "junction_polarity * epsilon_face * diff(phi_rate) / diff(grid)" + }, + "limits": {}, + "citations": [ + { + "source_id": "mobile_test", + "symbol": "_run", + "lines": [ + 79, + 251 + ], + "text_sha256": "23ec2272868efbd44f3eee547fda1e47198c7b2e0cec927324567b5d558c8809" + }, + { + "source_id": "mobile_test", + "symbol": "_mobile_grid", + "lines": [ + 48, + 76 + ], + "text_sha256": "d96b5b663910de3e071414912ec609053c631fd0ce8088c746908e7a35c116b4" + }, + { + "source_id": "mobile_test", + "symbol": "_compare", + "lines": [ + 320, + 342 + ], + "text_sha256": "1a12cf64368cb25645826cf02d7c2fcc87fe03300c3d5c4bead90c8e5ea9a0c3" + }, + { + "source_id": "foundation_input" + }, + { + "source_id": "foundation_contract_v2" + }, + { + "source_id": "constants", + "lines": [ + 7, + 10 + ], + "text_sha256": "80945b021b065c0149c6a17a00224643db76bb279f4bc1d0c0c86c665803c87d" + } + ], + "remaining_parameters": [ + "Independent charge-rate/Jacobian-action and weak-increment reference error at the exact nonlinear states, with each row/block scale; original successful trajectory assertions are not a derivative-accuracy threshold." + ], + "reference_eligibility": { + "status": "blocked_pending_independent_reference_and_review", + "reference_error_bound": null, + "default_reference_error_share": "1/3", + "stronger_original_channel_allocations_retained": true, + "unused_error_shares_redistributed": false, + "reference_qualified": false, + "active_comparison": null + } + } + ], + "scale_closures": [ + { + "id": "mobile_prescribed_inventory", + "family_rule_id": "density_inventory_packet", + "status": "numeric_definition_complete_for_original_named_target", + "definition": { + "scale_formula": "I0_s = sum(input.dx_cell[i] * input.P0_s[i]); source-prescribed initial words, never a candidate trajectory maximum", + "comparison": "max over the required source observation/accepted history of abs(I_s(t)-I0_s)/I0_s <1e-10 for each declared positive-inventory species", + "source_initial_equality": "I0_s compared with declared P0_s*400nm at the original1e-12 relative limit on the matched mobile mesh", + "zero_branch": "Input.P0_s==0 cells are exact zero; absent negative species is distinct from a zero-valued declared species", + "unit": "m-2", + "positive_initial_inventory_m2": 4000000000000000.0, + "dual_negative_initial_inventory_m2": 2800000000000000.0 + }, + "remaining_numeric_parameters": [], + "measurement_inputs_pending": [ + "Original declared grid/material/initial-word and full observation arrays; known scale/measure formulas do not await a new tolerance choice" + ], + "citations": [ + { + "source_id": "mobile_test", + "symbol": "_run", + "lines": [ + 79, + 251 + ], + "text_sha256": "23ec2272868efbd44f3eee547fda1e47198c7b2e0cec927324567b5d558c8809" + }, + { + "source_id": "mobile_test", + "symbol": "_compare", + "lines": [ + 320, + 342 + ], + "text_sha256": "1a12cf64368cb25645826cf02d7c2fcc87fe03300c3d5c4bead90c8e5ea9a0c3" + }, + { + "source_id": "mobile_test", + "symbol": "_mobile_grid", + "lines": [ + 48, + 76 + ], + "text_sha256": "d96b5b663910de3e071414912ec609053c631fd0ce8088c746908e7a35c116b4" + }, + { + "source_id": "legacy_dual_measure", + "symbol": "dual_cell_widths", + "lines": [ + 55, + 70 + ], + "text_sha256": "bd6e23eedcbaa5d5bdd04449c576b26052c82e2fd141fb994adef4184abc881e" + }, + { + "source_id": "legacy_dual_measure", + "symbol": "dual_cell_integral", + "lines": [ + 73, + 93 + ], + "text_sha256": "c9662f6a2023795a3596a4314cd8c84632756086881c432efe4415af6fffe35d" + }, + { + "source_id": "legacy_material_geometry", + "lines": [ + 2239, + 2245 + ], + "text_sha256": "1b4863064e0c5e2b9b65c52dc6eaefa3833b6327002c172c4aa246dec03d2431" + }, + { + "source_id": "legacy_material_geometry", + "symbol": "poisson_right_boundary", + "lines": [ + 616, + 622 + ], + "text_sha256": "dc59f1c7b2c34b684f78f3f7cf8ac92f4aaaa067848a9ec75cdf3d338121019c" + } + ], + "eligibility": { + "reference_error_bound": null, + "reference_qualified": false, + "active_comparison": null, + "default_reference_error_share": "1/3", + "stronger_channel_and_1_12_allocations_retained": true, + "numeric_definition_is_not_reference_eligibility": true + }, + "new_N_or_other_fixture_extension": false + }, + { + "id": "mobile_original_current_waveform", + "family_rule_id": "current_packet", + "status": "numeric_definition_complete_for_original_named_target", + "definition": { + "reference_side": "fine argument in original _compare; preselected space/time/tolerance pair", + "scale_formula": "constants.Q * frozen_input.Phi", + "scale_A_m2": 160.2176634, + "comparison": "max(abs(candidate.J_total(t)-reference.J_total(t))) <0.005*Q*Phi", + "all_face_quality_predicate": "Original maximum_spread <1e-4 A m-2", + "unit": "A m-2", + "norm": "absolute_linf", + "zero_branch": "Absolute gate, no division by zero or dark current", + "coordinates": "Exact equality of original coarse/fine times_s; input geomspace33/17 construction retained, with explicit ramp/hold boundary", + "event_rate_rule": "6000 V/s before1e-4s, 0 V/s on the hold side, with original polarity sign", + "full_protocol_N_guarantee": false + }, + "remaining_numeric_parameters": [], + "measurement_inputs_pending": [ + "Original declared grid/material/initial-word and full observation arrays; known scale/measure formulas do not await a new tolerance choice" + ], + "citations": [ + { + "source_id": "mobile_test", + "symbol": "_run", + "lines": [ + 79, + 251 + ], + "text_sha256": "23ec2272868efbd44f3eee547fda1e47198c7b2e0cec927324567b5d558c8809" + }, + { + "source_id": "mobile_test", + "symbol": "_compare", + "lines": [ + 320, + 342 + ], + "text_sha256": "1a12cf64368cb25645826cf02d7c2fcc87fe03300c3d5c4bead90c8e5ea9a0c3" + }, + { + "source_id": "mobile_test", + "symbol": "_mobile_grid", + "lines": [ + 48, + 76 + ], + "text_sha256": "d96b5b663910de3e071414912ec609053c631fd0ce8088c746908e7a35c116b4" + }, + { + "source_id": "legacy_dual_measure", + "symbol": "dual_cell_widths", + "lines": [ + 55, + 70 + ], + "text_sha256": "bd6e23eedcbaa5d5bdd04449c576b26052c82e2fd141fb994adef4184abc881e" + }, + { + "source_id": "legacy_dual_measure", + "symbol": "dual_cell_integral", + "lines": [ + 73, + 93 + ], + "text_sha256": "c9662f6a2023795a3596a4314cd8c84632756086881c432efe4415af6fffe35d" + }, + { + "source_id": "legacy_material_geometry", + "lines": [ + 2239, + 2245 + ], + "text_sha256": "1b4863064e0c5e2b9b65c52dc6eaefa3833b6327002c172c4aa246dec03d2431" + }, + { + "source_id": "legacy_material_geometry", + "symbol": "poisson_right_boundary", + "lines": [ + 616, + 622 + ], + "text_sha256": "dc59f1c7b2c34b684f78f3f7cf8ac92f4aaaa067848a9ec75cdf3d338121019c" + } + ], + "eligibility": { + "reference_error_bound": null, + "reference_qualified": false, + "active_comparison": null, + "default_reference_error_share": "1/3", + "stronger_channel_and_1_12_allocations_retained": true, + "numeric_definition_is_not_reference_eligibility": true + }, + "new_N_or_other_fixture_extension": false + } + ], + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-benchmark-00cbe610b0bd55b6" + }, + "scope_specific_prior_gaps": [ + { + "field": "Recorded grid/CV words and accepted-state species arrays for the selected resolution, initial inventory roundoff bound, and independent inventory/projection error; keep every accepted interval and cumulative defect obligation.", + "needed_from": "benchmark-00cbe610b0bd55b6 / mobile_single_and_dual_absorber_inventory: original bound source/input and independently reviewed ReferenceQualification packet", + "blocked_use": "benchmark:foundation-mobile-ion-reference: new N acceptance outside the explicitly limited fixture meaning", + "downstream_tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + }, + { + "field": "The original ionic profile rule is linear concentration / fixed P0 with 0.01 limit; a new N log-profile/component test still requires a qualified positive profile and separately specified reference error.", + "needed_from": "benchmark-00cbe610b0bd55b6 / mobile_single_and_dual_absorber_inventory: original bound source/input and independently reviewed ReferenceQualification packet", + "blocked_use": "benchmark:foundation-mobile-ion-reference: new N acceptance outside the explicitly limited fixture meaning", + "downstream_tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + }, + { + "field": "Independent point-current error for each time/component/event side and raw observations with identical state/protocol identity; raw waveform agreement does not certify continuous charge prefixes.", + "needed_from": "benchmark-00cbe610b0bd55b6 / mobile_ramp_hold_total_current: original bound source/input and independently reviewed ReferenceQualification packet", + "blocked_use": "benchmark:foundation-mobile-ion-reference: new N acceptance outside the explicitly limited fixture meaning", + "downstream_tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + }, + { + "field": "A new N waveform acceptance must retain its original applicable precision contract and complete event-side/interval/prefix quantities; this packet preserves only the narrower historical 0.005*Q*Phi assertion.", + "needed_from": "benchmark-00cbe610b0bd55b6 / mobile_ramp_hold_total_current: original bound source/input and independently reviewed ReferenceQualification packet", + "blocked_use": "benchmark:foundation-mobile-ion-reference: new N acceptance outside the explicitly limited fixture meaning", + "downstream_tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + }, + { + "field": "Independent charge-rate/Jacobian-action and weak-increment reference error at the exact nonlinear states, with each row/block scale; original successful trajectory assertions are not a derivative-accuracy threshold.", + "needed_from": "benchmark-00cbe610b0bd55b6 / mobile_charge_rate_operator_support: original bound source/input and independently reviewed ReferenceQualification packet", + "blocked_use": "benchmark:foundation-mobile-ion-reference: new N acceptance outside the explicitly limited fixture meaning", + "downstream_tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + }, + { + "field": "Other original driver/fixture branches listed in original_test_or_source_bindings remain outside these exact-case parameter bindings; original rules and positive physical obligations are unchanged.", + "needed_from": "benchmark:foundation-mobile-ion-reference original branch-specific reference packet and applicable contract", + "blocked_use": "Full-scope activation or extension to an unmatched model/protocol/state/grid/environment", + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [ + { + "id": "mobile_prescribed_inventory", + "status": "numeric_definition_complete_for_original_named_target", + "remaining_numeric_parameters": [], + "measurement_inputs_pending": [ + "Original declared grid/material/initial-word and full observation arrays; known scale/measure formulas do not await a new tolerance choice" + ] + }, + { + "id": "mobile_original_current_waveform", + "status": "numeric_definition_complete_for_original_named_target", + "remaining_numeric_parameters": [], + "measurement_inputs_pending": [ + "Original declared grid/material/initial-word and full observation arrays; known scale/measure formulas do not await a new tolerance choice" + ] + } + ], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [], + "current_numeric_status": "named_input_or_subgates_resolved" + } + }, + { + "id": "scope-benchmark-5c45d777007899c9", + "capability_id": "benchmark-5c45d777007899c9", + "route_id": "route-f13ea1085e6c91d1", + "origin_key": "benchmark:foundation-physical-homojunction-reference", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "physical_profiles_or_stored_state_history" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "pointer": "/benchmarks/foundation-physical-homojunction-reference", + "value_sha256": "4ce3120339bd95ca188fce3fb1fed000a1251344b3d4a9fd1fb4c1fdf082c393" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_foundation_reference_refinement.py", + "symbol": "test_definition_keeps_physical_scales_and_independent_refinements" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_foundation_reference_refinement.py", + "symbol": "test_equilibrium_preserves_subunit_contact_density_and_mass_action" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_foundation_reference_refinement.py", + "symbol": "test_real_reference_cell_certifies_all_operating_points_and_optical_power" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_foundation_reference_refinement.py", + "symbol": "test_resolved_reference_keeps_all_original_physical_limits" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_foundation_reference_sampling.py", + "symbol": "test_balanced_mesh_preserves_physical_absorber_volume" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_foundation_reference_sampling.py", + "symbol": "test_subdivision_preserves_the_same_nonzero_face_current" + } + ], + "negative_only_descriptor_rule_ids": [], + "source_quantitative_assertion_ids_for_scope_audit": [ + "rule-2c218ce4a343bf4ab3fc7655", + "rule-224c41066f5741853ef7001a", + "rule-c743d232fd40a864f68d3e86", + "rule-6aac6e567896f9384e9bcc1a", + "rule-c49b24dc2229e4e16c775ff9", + "rule-5f8d455d4bc13f28a2efd40a", + "rule-8bde2712037c67acdcf3ac79", + "rule-a355165304a84ae9d731f793", + "rule-6de411a39f0141afce152b97", + "rule-865eca66381c5d7a1d378193", + "rule-b58846ab122d5a273c9a7109", + "rule-b04321d1502c3e749342bb8c" + ], + "rule_ids": [ + "M_payload", + "potential_packet", + "positive_density_log", + "density_inventory_packet" + ], + "citations": [ + { + "source_id": "foundation_contract_v1" + }, + { + "source_id": "foundation_contract_v2" + }, + { + "source_id": "foundation_input" + }, + { + "source_id": "foundation_driver", + "symbol": "foundation_reference_protocol", + "lines": [ + 34, + 79 + ], + "text_sha256": "cc96182e94013ea9db960832558e8c38fbdaddde9a541af7406a87f3196dc54b" + }, + { + "source_id": "constants", + "lines": [ + 7, + 10 + ], + "text_sha256": "80945b021b065c0149c6a17a00224643db76bb279f4bc1d0c0c86c665803c87d" + }, + { + "source_id": "formal", + "lines": [ + 910, + 931 + ], + "text_sha256": "b72c4040bcf0248f9b08eca8c8ecf561fb82e0f5fa637d76d2551b6dc22f4a60" + }, + { + "source_id": "legacy_dual_measure", + "symbol": "dual_cell_widths", + "lines": [ + 55, + 70 + ], + "text_sha256": "bd6e23eedcbaa5d5bdd04449c576b26052c82e2fd141fb994adef4184abc881e" + }, + { + "source_id": "legacy_dual_measure", + "symbol": "dual_cell_integral", + "lines": [ + 73, + 93 + ], + "text_sha256": "c9662f6a2023795a3596a4314cd8c84632756086881c432efe4415af6fffe35d" + }, + { + "source_id": "legacy_material_geometry", + "lines": [ + 2239, + 2245 + ], + "text_sha256": "1b4863064e0c5e2b9b65c52dc6eaefa3833b6327002c172c4aa246dec03d2431" + }, + { + "source_id": "legacy_material_geometry", + "symbol": "poisson_right_boundary", + "lines": [ + 616, + 622 + ], + "text_sha256": "dc59f1c7b2c34b684f78f3f7cf8ac92f4aaaa067848a9ec75cdf3d338121019c" + }, + { + "source_id": "foundation_driver", + "symbol": "run_foundation_reference_steady_state", + "lines": [ + 155, + 569 + ], + "text_sha256": "af5cb1f361f6dd86d31f1fa2cdea225c7cbb5b05c97ca58338ca4c91a0d73342" + } + ], + "remaining_inputs": [ + { + "field": "Select the original v1 or v2 grid and supply recorded x_m/dx_cell and both contact voltages for each of the four operating states; 17/33 samples per layer alone cannot instantiate a raw-CV comparison.", + "needed_from": "benchmark-5c45d777007899c9 / foundation_300K_fixed_gauge_profile: original bound source/input and independently reviewed ReferenceQualification packet", + "blocked_use": "benchmark:foundation-physical-homojunction-reference: new N acceptance outside the explicitly limited fixture meaning", + "downstream_tasks": [ + "P00-03", + "P03-06", + "P09-01" + ] + }, + { + "field": "Supply independently bounded potential/Poisson/mapping errors in V per operating state; v1 profile failures are not a qualified fine reference.", + "needed_from": "benchmark-5c45d777007899c9 / foundation_300K_fixed_gauge_profile: original bound source/input and independently reviewed ReferenceQualification packet", + "blocked_use": "benchmark:foundation-physical-homojunction-reference: new N acceptance outside the explicitly limited fixture meaning", + "downstream_tasks": [ + "P00-03", + "P03-06", + "P09-01" + ] + }, + { + "field": "Electron and hole component inventories from qualified raw nodal densities and exact dx_cell at each operating state, with independent inventory error and allowed physical boundary exchange; ion conservation must not be applied to open electronic reservoirs.", + "needed_from": "benchmark-5c45d777007899c9 / foundation_ion_free_and_positive_carriers: original bound source/input and independently reviewed ReferenceQualification packet", + "blocked_use": "benchmark:foundation-physical-homojunction-reference: new N acceptance outside the explicitly limited fixture meaning", + "downstream_tasks": [ + "P00-03", + "P03-06", + "P09-01" + ] + }, + { + "field": "Carrier log CV RMS/max use the existing positive_density_log rule, but still require raw positive reference profiles and all CV weights; no replacement by subunit-density clipping.", + "needed_from": "benchmark-5c45d777007899c9 / foundation_ion_free_and_positive_carriers: original bound source/input and independently reviewed ReferenceQualification packet", + "blocked_use": "benchmark:foundation-physical-homojunction-reference: new N acceptance outside the explicitly limited fixture meaning", + "downstream_tasks": [ + "P00-03", + "P03-06", + "P09-01" + ] + }, + { + "field": "Other original driver/fixture branches listed in original_test_or_source_bindings remain outside these exact-case parameter bindings; original rules and positive physical obligations are unchanged.", + "needed_from": "benchmark:foundation-physical-homojunction-reference original branch-specific reference packet and applicable contract", + "blocked_use": "Full-scope activation or extension to an unmatched model/protocol/state/grid/environment" + } + ], + "downstream_tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "parameter_bindings": [ + { + "family_rule_id": "potential_packet", + "case_id": "foundation_300K_fixed_gauge_profile", + "applicability": "Prospective N profile limit only for the original 300 K monochromatic homojunction; v1/v2 grids remain separate identities.", + "numeric_parameter_status": "partially_specified", + "known_parameters": { + "temperature_K": 300.0, + "thermal_voltage_V": 0.025851999786435535, + "thermal_voltage_formula": "constants.K_B * foundation_input.device.temperature / constants.Q", + "fixed_reference_scale_V": 0.025851999786435535, + "left_contact_V": 0.0, + "right_contact": "V_bi_bc - junction_polarity * V_app, with signed V_bi_bc from the unchanged original input branch; left physical contact is 0 V. Never fit a gauge offset.", + "layer_thickness_m": [ + 7.5e-08, + 4e-07, + 7.5e-08 + ], + "v1_intervals": [ + 44, + 88, + 176 + ], + "v1_spacing_m": [ + 1.25e-08, + 6.25e-09, + 3.125e-09 + ], + "v2_intervals": [ + 88, + 176, + 352 + ], + "weights": "Original solver/generation dual measure: w[0]=x[1]-x[0], w[-1]=x[-1]-x[-2], w[i]=(x[i+1]-x[i-1])/2. Full endpoint intervals, not the separate affine analytic fixture half weights; sum(w)=length+(first_interval+last_interval)/2 up to stored arithmetic.", + "operating_points": [ + "equilibrium", + "short_circuit", + "open_circuit", + "maximum_power" + ], + "mask": "all nodes and both contact/interface traces" + }, + "limits": { + "cv_rms": { + "unit": "V", + "atol": 0.0, + "rtol": 1e-06, + "scale": 0.025851999786435535, + "basis": "Formal14.3 profile precision on a source-fixed 300 K thermal voltage; never norm(phi)", + "operator": "le" + }, + "maximum_absolute": { + "unit": "V", + "atol": 0.0, + "rtol": 1e-06, + "scale": 0.025851999786435535, + "basis": "Formal14.3 profile precision on a source-fixed 300 K thermal voltage; never norm(phi)", + "operator": "le" + } + }, + "citations": [ + { + "source_id": "foundation_contract_v1" + }, + { + "source_id": "foundation_contract_v2" + }, + { + "source_id": "foundation_input" + }, + { + "source_id": "foundation_driver", + "symbol": "foundation_reference_protocol", + "lines": [ + 34, + 79 + ], + "text_sha256": "cc96182e94013ea9db960832558e8c38fbdaddde9a541af7406a87f3196dc54b" + }, + { + "source_id": "constants", + "lines": [ + 7, + 10 + ], + "text_sha256": "80945b021b065c0149c6a17a00224643db76bb279f4bc1d0c0c86c665803c87d" + }, + { + "source_id": "formal", + "lines": [ + 910, + 931 + ], + "text_sha256": "b72c4040bcf0248f9b08eca8c8ecf561fb82e0f5fa637d76d2551b6dc22f4a60" + }, + { + "source_id": "legacy_dual_measure", + "symbol": "dual_cell_widths", + "lines": [ + 55, + 70 + ], + "text_sha256": "bd6e23eedcbaa5d5bdd04449c576b26052c82e2fd141fb994adef4184abc881e" + }, + { + "source_id": "legacy_dual_measure", + "symbol": "dual_cell_integral", + "lines": [ + 73, + 93 + ], + "text_sha256": "c9662f6a2023795a3596a4314cd8c84632756086881c432efe4415af6fffe35d" + }, + { + "source_id": "legacy_material_geometry", + "lines": [ + 2239, + 2245 + ], + "text_sha256": "1b4863064e0c5e2b9b65c52dc6eaefa3833b6327002c172c4aa246dec03d2431" + }, + { + "source_id": "legacy_material_geometry", + "symbol": "poisson_right_boundary", + "lines": [ + 616, + 622 + ], + "text_sha256": "dc59f1c7b2c34b684f78f3f7cf8ac92f4aaaa067848a9ec75cdf3d338121019c" + } + ], + "remaining_parameters": [ + "Recorded state values and actual grid/contact words for the chosen v1/v2 input are measurement bindings; the temperature, CV construction and signed boundary formula are now specified. A different v2 mesh still requires its own same-grid input identity.", + "Supply independently bounded potential/Poisson/mapping errors in V per operating state; v1 profile failures are not a qualified fine reference." + ], + "reference_eligibility": { + "status": "blocked_pending_independent_reference_and_review", + "reference_error_bound": null, + "default_reference_error_share": "1/3", + "stronger_original_channel_allocations_retained": true, + "unused_error_shares_redistributed": false, + "reference_qualified": false, + "active_comparison": null + } + }, + { + "family_rule_id": "density_inventory_packet", + "case_id": "foundation_ion_free_and_positive_carriers", + "applicability": "Original ion-free p-i-n material, including positive minority reservoirs below 1 m-3; no generic density floor.", + "numeric_parameter_status": "partially_specified", + "known_parameters": { + "ion_background_m3": 0.0, + "zero_species": [ + "positive_ion", + "negative_ion" + ], + "carrier_blocks": [ + "electron", + "hole" + ], + "log_limit_rule": "positive_density_log", + "component_support": [ + "p_contact", + "intrinsic_absorber", + "n_contact" + ], + "density_unit": "m-3", + "CV_unit": "m", + "inventory_unit": "m-2", + "zero_policy": "Exactly absent or zero ions remain separately declared; do not infer absence of a model from an array of zeros." + }, + "limits": { + "absent_ion_density": { + "unit": "m-3", + "atol": 0.0, + "rtol": 0.0, + "scale": 0.0, + "basis": "Original driver refuses any nonzero ionic background in this steady reference", + "operator": "le" + }, + "absent_ion_inventory": { + "unit": "m-2", + "atol": 0.0, + "rtol": 0.0, + "scale": 0.0, + "basis": "Same source restriction, not a guessed electron/hole allowance", + "operator": "le" + } + }, + "citations": [ + { + "source_id": "foundation_contract_v1" + }, + { + "source_id": "foundation_contract_v2" + }, + { + "source_id": "foundation_input" + }, + { + "source_id": "foundation_driver", + "symbol": "foundation_reference_protocol", + "lines": [ + 34, + 79 + ], + "text_sha256": "cc96182e94013ea9db960832558e8c38fbdaddde9a541af7406a87f3196dc54b" + }, + { + "source_id": "constants", + "lines": [ + 7, + 10 + ], + "text_sha256": "80945b021b065c0149c6a17a00224643db76bb279f4bc1d0c0c86c665803c87d" + }, + { + "source_id": "formal", + "lines": [ + 910, + 931 + ], + "text_sha256": "b72c4040bcf0248f9b08eca8c8ecf561fb82e0f5fa637d76d2551b6dc22f4a60" + } + ], + "remaining_parameters": [ + "Electron and hole component inventories from qualified raw nodal densities and exact dx_cell at each operating state, with independent inventory error and allowed physical boundary exchange; ion conservation must not be applied to open electronic reservoirs.", + "Carrier log CV RMS/max use the existing positive_density_log rule, but still require raw positive reference profiles and all CV weights; no replacement by subunit-density clipping." + ], + "reference_eligibility": { + "status": "blocked_pending_independent_reference_and_review", + "reference_error_bound": null, + "default_reference_error_share": "1/3", + "stronger_original_channel_allocations_retained": true, + "unused_error_shares_redistributed": false, + "reference_qualified": false, + "active_comparison": null + } + } + ], + "scale_closures": [ + { + "id": "foundation_v1_uniform44_potential", + "family_rule_id": "potential_packet", + "status": "numeric_definition_complete_for_named_input", + "input_geometry": { + "kind": "source_fixed_input_recipe", + "reference_values_generated": false, + "grid_intervals": 44, + "nodes": 45, + "length_m": 5.5e-07, + "construction": "v1 source np.linspace(0,math.fsum(layer thickness),45); step=length/44, x[i]=i*step, final x=length", + "coordinates_m": [ + 0.0, + 1.2500000000000001e-08, + 2.5000000000000002e-08, + 3.7500000000000005e-08, + 5.0000000000000004e-08, + 6.250000000000001e-08, + 7.500000000000001e-08, + 8.750000000000001e-08, + 1.0000000000000001e-07, + 1.1250000000000001e-07, + 1.2500000000000002e-07, + 1.375e-07, + 1.5000000000000002e-07, + 1.625e-07, + 1.7500000000000002e-07, + 1.875e-07, + 2.0000000000000002e-07, + 2.1250000000000003e-07, + 2.2500000000000002e-07, + 2.3750000000000003e-07, + 2.5000000000000004e-07, + 2.6250000000000003e-07, + 2.75e-07, + 2.875e-07, + 3.0000000000000004e-07, + 3.125e-07, + 3.25e-07, + 3.3750000000000005e-07, + 3.5000000000000004e-07, + 3.625e-07, + 3.75e-07, + 3.8750000000000005e-07, + 4.0000000000000003e-07, + 4.125e-07, + 4.2500000000000006e-07, + 4.3750000000000005e-07, + 4.5000000000000003e-07, + 4.625e-07, + 4.7500000000000006e-07, + 4.875e-07, + 5.000000000000001e-07, + 5.125000000000001e-07, + 5.250000000000001e-07, + 5.375e-07, + 5.5e-07 + ], + "weights_m": [ + 1.2500000000000001e-08, + 1.2500000000000001e-08, + 1.2500000000000003e-08, + 1.2500000000000001e-08, + 1.2500000000000003e-08, + 1.2500000000000003e-08, + 1.25e-08, + 1.25e-08, + 1.25e-08, + 1.2500000000000006e-08, + 1.25e-08, + 1.25e-08, + 1.25e-08, + 1.25e-08, + 1.25e-08, + 1.25e-08, + 1.2500000000000013e-08, + 1.25e-08, + 1.25e-08, + 1.2500000000000013e-08, + 1.25e-08, + 1.2499999999999986e-08, + 1.2499999999999986e-08, + 1.2500000000000013e-08, + 1.2500000000000013e-08, + 1.2499999999999986e-08, + 1.2500000000000013e-08, + 1.2500000000000013e-08, + 1.2499999999999986e-08, + 1.2499999999999986e-08, + 1.2500000000000013e-08, + 1.2500000000000013e-08, + 1.2499999999999986e-08, + 1.2500000000000013e-08, + 1.2500000000000013e-08, + 1.2499999999999986e-08, + 1.2499999999999986e-08, + 1.2500000000000013e-08, + 1.2499999999999986e-08, + 1.2500000000000013e-08, + 1.2500000000000039e-08, + 1.2499999999999986e-08, + 1.2499999999999986e-08, + 1.2499999999999986e-08, + 1.2499999999999986e-08 + ], + "weight_sum_m": 5.625e-07, + "coordinate_words_sha256": "5761067050b7240a8d580fb5febd33ccf6d58f6f73a45302ccf81b16513a00e3", + "weight_words_sha256": "4abcf06eb48cb62b88d15450412aa2e3af65dc81d621bfc0afc169bb5c281461", + "future_readback_requirement": "Actual reference and candidate grid/weight words must equal this fixed input; a mismatch is an input mismatch, not an invitation to change the tolerance." + }, + "physical_definition": { + "kind": "potential", + "scope": "scope-benchmark-5c45d777007899c9", + "comparison_target": { + "kind": "fixed_discrete", + "id": "foundation_v1_uniform44_300K" + }, + "quantity": "electrostatic_potential", + "unit": "V", + "norm": "gauge_cv_rms_linf", + "support": "All45 nodes of the declared v1 grid, including physical contacts and both material-interface nodes; original full-endpoint dual measure.", + "mask": [ + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true + ], + "zero_policy": "fixed_physical_scale", + "coordinates_m": [ + 0.0, + 1.2500000000000001e-08, + 2.5000000000000002e-08, + 3.7500000000000005e-08, + 5.0000000000000004e-08, + 6.250000000000001e-08, + 7.500000000000001e-08, + 8.750000000000001e-08, + 1.0000000000000001e-07, + 1.1250000000000001e-07, + 1.2500000000000002e-07, + 1.375e-07, + 1.5000000000000002e-07, + 1.625e-07, + 1.7500000000000002e-07, + 1.875e-07, + 2.0000000000000002e-07, + 2.1250000000000003e-07, + 2.2500000000000002e-07, + 2.3750000000000003e-07, + 2.5000000000000004e-07, + 2.6250000000000003e-07, + 2.75e-07, + 2.875e-07, + 3.0000000000000004e-07, + 3.125e-07, + 3.25e-07, + 3.3750000000000005e-07, + 3.5000000000000004e-07, + 3.625e-07, + 3.75e-07, + 3.8750000000000005e-07, + 4.0000000000000003e-07, + 4.125e-07, + 4.2500000000000006e-07, + 4.3750000000000005e-07, + 4.5000000000000003e-07, + 4.625e-07, + 4.7500000000000006e-07, + 4.875e-07, + 5.000000000000001e-07, + 5.125000000000001e-07, + 5.250000000000001e-07, + 5.375e-07, + 5.5e-07 + ], + "volumes": [ + 1.2500000000000001e-08, + 1.2500000000000001e-08, + 1.2500000000000003e-08, + 1.2500000000000001e-08, + 1.2500000000000003e-08, + 1.2500000000000003e-08, + 1.25e-08, + 1.25e-08, + 1.25e-08, + 1.2500000000000006e-08, + 1.25e-08, + 1.25e-08, + 1.25e-08, + 1.25e-08, + 1.25e-08, + 1.25e-08, + 1.2500000000000013e-08, + 1.25e-08, + 1.25e-08, + 1.2500000000000013e-08, + 1.25e-08, + 1.2499999999999986e-08, + 1.2499999999999986e-08, + 1.2500000000000013e-08, + 1.2500000000000013e-08, + 1.2499999999999986e-08, + 1.2500000000000013e-08, + 1.2500000000000013e-08, + 1.2499999999999986e-08, + 1.2499999999999986e-08, + 1.2500000000000013e-08, + 1.2500000000000013e-08, + 1.2499999999999986e-08, + 1.2500000000000013e-08, + 1.2500000000000013e-08, + 1.2499999999999986e-08, + 1.2499999999999986e-08, + 1.2500000000000013e-08, + 1.2499999999999986e-08, + 1.2500000000000013e-08, + 1.2500000000000039e-08, + 1.2499999999999986e-08, + 1.2499999999999986e-08, + 1.2499999999999986e-08, + 1.2499999999999986e-08 + ], + "volume_unit": "m", + "gauge": { + "kind": "fixed_contact", + "index": 0, + "value_V": 0.0, + "absolute_limit_V": 2.5851999786435534e-08 + }, + "right_boundary_rule": "Original signed V_bi_bc-junction_polarity*V_app; retain the actual operating-state boundary, never remove its error by gauge fitting.", + "thresholds": { + "rms": { + "unit": "V", + "atol": 0.0, + "rtol": 1e-06, + "scale": 0.025851999786435535, + "basis": "Existing Formal14.3 precision and original300K input thermal voltage" + }, + "max": { + "unit": "V", + "atol": 0.0, + "rtol": 1e-06, + "scale": 0.025851999786435535, + "basis": "Existing Formal14.3 precision and original300K input thermal voltage" + } + }, + "source_bindings": [ + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/tpv_physical_reference.yaml", + "sha256": "2e470b672f2b0ee6970ff169deedf7ce09ed0a45beb8ab9c55b48ab8da487c10" + }, + { + "root": "repository", + "path": "perovskite-sim/perovskite_sim/validation/foundation_reference_refinement.py", + "sha256": "aa478f90f055d3dd27e9382c2c7b55d61029f0135672b7d1f2f3358436ee8aa7" + }, + { + "root": "repository", + "path": "perovskite-sim/perovskite_sim/constants.py", + "sha256": "9ae428b44bbe5f475b638d9c3339e69930249e2b1c39ba0acbfd0764fcaade76" + }, + { + "root": "repository", + "path": "perovskite-sim/perovskite_sim/physics/generation.py", + "sha256": "862c097f31bb5bab0e7585a4c361e0e7116010f652d7b6345a9a0de80caeac65" + }, + { + "root": "repository", + "path": "perovskite-sim/perovskite_sim/solver/mol.py", + "sha256": "1c02ff41356cfaf75245e3e9e3a0101064d43a766e9e416053ea1e75ef54b61a" + }, + { + "root": "archive", + "path": "plans/Impl/ArchitectureRefactorExecutionV1.md", + "sha256": "f9839d12c72bf26dbbc043f01c7c7aa7d538de8274bd6ffdf45a2b013d39dc9a" + } + ], + "status": "pending_independent_review", + "reference_qualified": false, + "reference_errors": null + }, + "citations": [ + { + "source_id": "legacy_dual_measure", + "symbol": "dual_cell_widths", + "lines": [ + 55, + 70 + ], + "text_sha256": "bd6e23eedcbaa5d5bdd04449c576b26052c82e2fd141fb994adef4184abc881e" + }, + { + "source_id": "legacy_dual_measure", + "symbol": "dual_cell_integral", + "lines": [ + 73, + 93 + ], + "text_sha256": "c9662f6a2023795a3596a4314cd8c84632756086881c432efe4415af6fffe35d" + }, + { + "source_id": "legacy_material_geometry", + "lines": [ + 2239, + 2245 + ], + "text_sha256": "1b4863064e0c5e2b9b65c52dc6eaefa3833b6327002c172c4aa246dec03d2431" + }, + { + "source_id": "legacy_material_geometry", + "symbol": "poisson_right_boundary", + "lines": [ + 616, + 622 + ], + "text_sha256": "dc59f1c7b2c34b684f78f3f7cf8ac92f4aaaa067848a9ec75cdf3d338121019c" + }, + { + "source_id": "foundation_driver", + "symbol": "run_foundation_reference_steady_state", + "lines": [ + 155, + 569 + ], + "text_sha256": "af5cb1f361f6dd86d31f1fa2cdea225c7cbb5b05c97ca58338ca4c91a0d73342" + } + ], + "remaining_numeric_parameters": [], + "measurement_inputs_pending": [ + "reference and candidate potential values for the matched operating point and45-node input; respective signed physical boundary metadata" + ], + "eligibility": { + "reference_error_bound": null, + "reference_qualified": false, + "active_comparison": null, + "default_reference_error_share": "1/3", + "stronger_channel_and_1_12_allocations_retained": true, + "numeric_definition_is_not_reference_eligibility": true + } + }, + { + "id": "foundation_v1_uniform44_zero_positive_ion", + "family_rule_id": "density_inventory_packet", + "status": "numeric_definition_complete_for_named_input", + "physical_definition": { + "kind": "density", + "scope": "scope-benchmark-5c45d777007899c9", + "comparison_target": { + "kind": "fixed_discrete", + "id": "foundation_v1_uniform44_300K" + }, + "quantity": "declared_inactive_positive_ion_density", + "unit": "m-3", + "norm": "log_cv_rms_linf_component_inventory", + "support": "All45 nodes of the declared v1 grid, including physical contacts and both material-interface nodes; original full-endpoint dual measure.", + "mask": [ + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true + ], + "zero_policy": "explicit_zero_cells_no_floor", + "coordinates_m": [ + 0.0, + 1.2500000000000001e-08, + 2.5000000000000002e-08, + 3.7500000000000005e-08, + 5.0000000000000004e-08, + 6.250000000000001e-08, + 7.500000000000001e-08, + 8.750000000000001e-08, + 1.0000000000000001e-07, + 1.1250000000000001e-07, + 1.2500000000000002e-07, + 1.375e-07, + 1.5000000000000002e-07, + 1.625e-07, + 1.7500000000000002e-07, + 1.875e-07, + 2.0000000000000002e-07, + 2.1250000000000003e-07, + 2.2500000000000002e-07, + 2.3750000000000003e-07, + 2.5000000000000004e-07, + 2.6250000000000003e-07, + 2.75e-07, + 2.875e-07, + 3.0000000000000004e-07, + 3.125e-07, + 3.25e-07, + 3.3750000000000005e-07, + 3.5000000000000004e-07, + 3.625e-07, + 3.75e-07, + 3.8750000000000005e-07, + 4.0000000000000003e-07, + 4.125e-07, + 4.2500000000000006e-07, + 4.3750000000000005e-07, + 4.5000000000000003e-07, + 4.625e-07, + 4.7500000000000006e-07, + 4.875e-07, + 5.000000000000001e-07, + 5.125000000000001e-07, + 5.250000000000001e-07, + 5.375e-07, + 5.5e-07 + ], + "volumes": [ + 1.2500000000000001e-08, + 1.2500000000000001e-08, + 1.2500000000000003e-08, + 1.2500000000000001e-08, + 1.2500000000000003e-08, + 1.2500000000000003e-08, + 1.25e-08, + 1.25e-08, + 1.25e-08, + 1.2500000000000006e-08, + 1.25e-08, + 1.25e-08, + 1.25e-08, + 1.25e-08, + 1.25e-08, + 1.25e-08, + 1.2500000000000013e-08, + 1.25e-08, + 1.25e-08, + 1.2500000000000013e-08, + 1.25e-08, + 1.2499999999999986e-08, + 1.2499999999999986e-08, + 1.2500000000000013e-08, + 1.2500000000000013e-08, + 1.2499999999999986e-08, + 1.2500000000000013e-08, + 1.2500000000000013e-08, + 1.2499999999999986e-08, + 1.2499999999999986e-08, + 1.2500000000000013e-08, + 1.2500000000000013e-08, + 1.2499999999999986e-08, + 1.2500000000000013e-08, + 1.2500000000000013e-08, + 1.2499999999999986e-08, + 1.2499999999999986e-08, + 1.2500000000000013e-08, + 1.2499999999999986e-08, + 1.2500000000000013e-08, + 1.2500000000000039e-08, + 1.2499999999999986e-08, + 1.2499999999999986e-08, + 1.2499999999999986e-08, + 1.2499999999999986e-08 + ], + "volume_unit": "m", + "thresholds": { + "log_rms": { + "unit": "1", + "atol": 0.0, + "rtol": 0.0, + "scale": 0.0, + "basis": "Empty positive-cell set; only the explicit zero species is in this scope" + }, + "log_max": { + "unit": "1", + "atol": 0.0, + "rtol": 0.0, + "scale": 0.0, + "basis": "Empty positive-cell set, not a density floor" + }, + "zero_density_max": { + "unit": "m-3", + "atol": 0.0, + "rtol": 0.0, + "scale": 0.0, + "basis": "Original input P0=0 and driver refusal of nonzero ions" + }, + "inventory:positive_ion_device": { + "unit": "m-2", + "atol": 0.0, + "rtol": 0.0, + "scale": 0.0, + "basis": "Same exactly inactive positive species over the original dual measure" + } + }, + "source_bindings": [ + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/tpv_physical_reference.yaml", + "sha256": "2e470b672f2b0ee6970ff169deedf7ce09ed0a45beb8ab9c55b48ab8da487c10" + }, + { + "root": "repository", + "path": "perovskite-sim/perovskite_sim/validation/foundation_reference_refinement.py", + "sha256": "aa478f90f055d3dd27e9382c2c7b55d61029f0135672b7d1f2f3358436ee8aa7" + }, + { + "root": "repository", + "path": "perovskite-sim/perovskite_sim/constants.py", + "sha256": "9ae428b44bbe5f475b638d9c3339e69930249e2b1c39ba0acbfd0764fcaade76" + }, + { + "root": "repository", + "path": "perovskite-sim/perovskite_sim/physics/generation.py", + "sha256": "862c097f31bb5bab0e7585a4c361e0e7116010f652d7b6345a9a0de80caeac65" + }, + { + "root": "repository", + "path": "perovskite-sim/perovskite_sim/solver/mol.py", + "sha256": "1c02ff41356cfaf75245e3e9e3a0101064d43a766e9e416053ea1e75ef54b61a" + }, + { + "root": "archive", + "path": "plans/Impl/ArchitectureRefactorExecutionV1.md", + "sha256": "f9839d12c72bf26dbbc043f01c7c7aa7d538de8274bd6ffdf45a2b013d39dc9a" + } + ], + "status": "pending_independent_review", + "reference_qualified": false, + "reference_errors": null, + "zero_cells": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30, + 31, + 32, + 33, + 34, + 35, + 36, + 37, + 38, + 39, + 40, + 41, + 42, + 43, + 44 + ], + "components": [ + "positive_ion_device", + "positive_ion_device", + "positive_ion_device", + "positive_ion_device", + "positive_ion_device", + "positive_ion_device", + "positive_ion_device", + "positive_ion_device", + "positive_ion_device", + "positive_ion_device", + "positive_ion_device", + "positive_ion_device", + "positive_ion_device", + "positive_ion_device", + "positive_ion_device", + "positive_ion_device", + "positive_ion_device", + "positive_ion_device", + "positive_ion_device", + "positive_ion_device", + "positive_ion_device", + "positive_ion_device", + "positive_ion_device", + "positive_ion_device", + "positive_ion_device", + "positive_ion_device", + "positive_ion_device", + "positive_ion_device", + "positive_ion_device", + "positive_ion_device", + "positive_ion_device", + "positive_ion_device", + "positive_ion_device", + "positive_ion_device", + "positive_ion_device", + "positive_ion_device", + "positive_ion_device", + "positive_ion_device", + "positive_ion_device", + "positive_ion_device", + "positive_ion_device", + "positive_ion_device", + "positive_ion_device", + "positive_ion_device", + "positive_ion_device" + ], + "inventory_unit": "m-2" + }, + "citations": [ + { + "source_id": "legacy_dual_measure", + "symbol": "dual_cell_widths", + "lines": [ + 55, + 70 + ], + "text_sha256": "bd6e23eedcbaa5d5bdd04449c576b26052c82e2fd141fb994adef4184abc881e" + }, + { + "source_id": "legacy_dual_measure", + "symbol": "dual_cell_integral", + "lines": [ + 73, + 93 + ], + "text_sha256": "c9662f6a2023795a3596a4314cd8c84632756086881c432efe4415af6fffe35d" + }, + { + "source_id": "legacy_material_geometry", + "lines": [ + 2239, + 2245 + ], + "text_sha256": "1b4863064e0c5e2b9b65c52dc6eaefa3833b6327002c172c4aa246dec03d2431" + }, + { + "source_id": "legacy_material_geometry", + "symbol": "poisson_right_boundary", + "lines": [ + 616, + 622 + ], + "text_sha256": "dc59f1c7b2c34b684f78f3f7cf8ac92f4aaaa067848a9ec75cdf3d338121019c" + }, + { + "source_id": "foundation_input" + } + ], + "remaining_numeric_parameters": [], + "scope_exclusion": "No negative-ion block is synthesized, and no electron/hole or mobile positive-density criterion is asserted.", + "measurement_inputs_pending": [ + "Exact declared zero-species arrays and matching input/component identity" + ], + "eligibility": { + "reference_error_bound": null, + "reference_qualified": false, + "active_comparison": null, + "default_reference_error_share": "1/3", + "stronger_channel_and_1_12_allocations_retained": true, + "numeric_definition_is_not_reference_eligibility": true + } + } + ], + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-benchmark-5c45d777007899c9" + }, + "scope_specific_prior_gaps": [ + { + "field": "Select the original v1 or v2 grid and supply recorded x_m/dx_cell and both contact voltages for each of the four operating states; 17/33 samples per layer alone cannot instantiate a raw-CV comparison.", + "needed_from": "benchmark-5c45d777007899c9 / foundation_300K_fixed_gauge_profile: original bound source/input and independently reviewed ReferenceQualification packet", + "blocked_use": "benchmark:foundation-physical-homojunction-reference: new N acceptance outside the explicitly limited fixture meaning", + "downstream_tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + }, + { + "field": "Supply independently bounded potential/Poisson/mapping errors in V per operating state; v1 profile failures are not a qualified fine reference.", + "needed_from": "benchmark-5c45d777007899c9 / foundation_300K_fixed_gauge_profile: original bound source/input and independently reviewed ReferenceQualification packet", + "blocked_use": "benchmark:foundation-physical-homojunction-reference: new N acceptance outside the explicitly limited fixture meaning", + "downstream_tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + }, + { + "field": "Electron and hole component inventories from qualified raw nodal densities and exact dx_cell at each operating state, with independent inventory error and allowed physical boundary exchange; ion conservation must not be applied to open electronic reservoirs.", + "needed_from": "benchmark-5c45d777007899c9 / foundation_ion_free_and_positive_carriers: original bound source/input and independently reviewed ReferenceQualification packet", + "blocked_use": "benchmark:foundation-physical-homojunction-reference: new N acceptance outside the explicitly limited fixture meaning", + "downstream_tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + }, + { + "field": "Carrier log CV RMS/max use the existing positive_density_log rule, but still require raw positive reference profiles and all CV weights; no replacement by subunit-density clipping.", + "needed_from": "benchmark-5c45d777007899c9 / foundation_ion_free_and_positive_carriers: original bound source/input and independently reviewed ReferenceQualification packet", + "blocked_use": "benchmark:foundation-physical-homojunction-reference: new N acceptance outside the explicitly limited fixture meaning", + "downstream_tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + }, + { + "field": "Other original driver/fixture branches listed in original_test_or_source_bindings remain outside these exact-case parameter bindings; original rules and positive physical obligations are unchanged.", + "needed_from": "benchmark:foundation-physical-homojunction-reference original branch-specific reference packet and applicable contract", + "blocked_use": "Full-scope activation or extension to an unmatched model/protocol/state/grid/environment", + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [ + { + "id": "foundation_v1_uniform44_potential", + "status": "numeric_definition_complete_for_named_input", + "remaining_numeric_parameters": [], + "measurement_inputs_pending": [ + "reference and candidate potential values for the matched operating point and45-node input; respective signed physical boundary metadata" + ] + }, + { + "id": "foundation_v1_uniform44_zero_positive_ion", + "status": "numeric_definition_complete_for_named_input", + "remaining_numeric_parameters": [], + "measurement_inputs_pending": [ + "Exact declared zero-species arrays and matching input/component identity" + ] + } + ], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [], + "current_numeric_status": "named_input_or_subgates_resolved" + } + }, + { + "id": "scope-benchmark-5223cbf1b1ff2fbd", + "capability_id": "benchmark-5223cbf1b1ff2fbd", + "route_id": "route-f13ea1085e6c91d1", + "origin_key": "benchmark:foundation-tpv-frozen-ion-reference", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "physical_profiles_or_stored_state_history", + "waveform_integral_history" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "pointer": "/benchmarks/foundation-tpv-frozen-ion-reference", + "value_sha256": "60831da912b68ba5d74aaef4ebbc7496d91bac3cbb0fae6c5e4da68e6649650b" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_degradation_snapshot_refinement.py", + "symbol": "test_snapshot_metrics_are_independent_of_preparation_step_size" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_degradation_snapshot_refinement.py", + "symbol": "test_snapshot_voltage_sampling_resolves_voc_jsc_and_ff" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_foundation_tpv_spatial_refinement.py", + "symbol": "test_three_spatial_levels_resolve_the_same_physical_tpv" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_tpv_open_circuit_refinement.py", + "symbol": "test_three_time_levels_preserve_the_same_pulse_and_preparation" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_tpv_open_circuit_refinement.py", + "symbol": "test_three_tolerance_levels_resolve_the_same_waveform" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_tpv_open_circuit_refinement.py", + "symbol": "test_two_amplitude_halvings_recover_the_small_signal_limit" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_degradation_frozen_ions.py", + "symbol": "test_nonuniform_ions_have_zero_frozen_flux_and_never_move" + } + ], + "negative_only_descriptor_rule_ids": [], + "source_quantitative_assertion_ids_for_scope_audit": [ + "rule-a6e920bf9086761598bec454", + "rule-63b5eb87b6a4c35d1828e347", + "rule-42d2c073e7d29ae3bbb40b61", + "rule-b125ea83a7a4b43628fb0e02", + "rule-8ac736746e54fff08bc554c4", + "rule-4b8ddfe7ca36fbe5b1683690", + "rule-1e352273f3c7f432b36155ee", + "rule-6ba65fe83ae52ea630168d4d", + "rule-68bb0a68424341aa50c1c413", + "rule-6cf695e7b480742f7e25f4de" + ], + "rule_ids": [ + "M_payload", + "potential_packet", + "positive_density_log", + "density_inventory_packet", + "transient_packet" + ], + "citations": [ + { + "source_id": "original_tpv_refinement", + "symbol": "_require_converged_waveform", + "lines": [ + 46, + 59 + ], + "text_sha256": "6eeedd9391749b42756abe844224dc30073d14ce243246cd56f5ec1b09f188c8" + }, + { + "source_id": "original_tpv_refinement", + "symbol": "refinement", + "lines": [ + 18, + 43 + ], + "text_sha256": "2179d8e6d557aa71921ef4fcd25adacb781449ed9f7857271caf20816eebc6bf" + }, + { + "source_id": "original_tpv_spatial", + "symbol": "test_three_spatial_levels_resolve_the_same_physical_tpv", + "lines": [ + 24, + 94 + ], + "text_sha256": "ec638e892eb4180b2145a250ad37b819fccff8a6e4740877dcf98ba0fae3d05b" + }, + { + "source_id": "foundation_input" + } + ], + "remaining_inputs": [ + { + "field": "numeric fixed thermal/physical voltage scale in V from the exact reference temperature or declared boundary parameters", + "needed_from": "benchmark-5223cbf1b1ff2fbd exact original driver/reference observation packet; perovskite-sim/tests/integration/test_degradation_snapshot_refinement.py::test_snapshot_metrics_are_independent_of_preparation_step_size, perovskite-sim/tests/integration/test_degradation_snapshot_refinement.py::test_snapshot_voltage_sampling_resolves_voc_jsc_and_ff, perovskite-sim/tests/integration/test_foundation_tpv_spatial_refinement.py::test_three_spatial_levels_resolve_the_same_physical_tpv, perovskite-sim/tests/integration/test_tpv_open_circuit_refinement.py::test_three_time_levels_preserve_the_same_pulse_and_preparation, perovskite-sim/tests/integration/test_tpv_open_circuit_refinement.py::test_three_tolerance_levels_resolve_the_same_waveform, perovskite-sim/tests/integration/test_tp", + "blocked_use": "new N acceptance / qualified reference use for benchmark:foundation-tpv-frozen-ion-reference" + }, + { + "field": "actual reference CV weights/support and physical gauge/contact values; allowed mask", + "needed_from": "benchmark-5223cbf1b1ff2fbd exact original driver/reference observation packet; perovskite-sim/tests/integration/test_degradation_snapshot_refinement.py::test_snapshot_metrics_are_independent_of_preparation_step_size, perovskite-sim/tests/integration/test_degradation_snapshot_refinement.py::test_snapshot_voltage_sampling_resolves_voc_jsc_and_ff, perovskite-sim/tests/integration/test_foundation_tpv_spatial_refinement.py::test_three_spatial_levels_resolve_the_same_physical_tpv, perovskite-sim/tests/integration/test_tpv_open_circuit_refinement.py::test_three_time_levels_preserve_the_same_pulse_and_preparation, perovskite-sim/tests/integration/test_tpv_open_circuit_refinement.py::test_three_tolerance_levels_resolve_the_same_waveform, perovskite-sim/tests/integration/test_tp", + "blocked_use": "new N acceptance / qualified reference use for benchmark:foundation-tpv-frozen-ion-reference" + }, + { + "field": "independent source/grid/time/mapping error in V and its qualified reference identity", + "needed_from": "benchmark-5223cbf1b1ff2fbd exact original driver/reference observation packet; perovskite-sim/tests/integration/test_degradation_snapshot_refinement.py::test_snapshot_metrics_are_independent_of_preparation_step_size, perovskite-sim/tests/integration/test_degradation_snapshot_refinement.py::test_snapshot_voltage_sampling_resolves_voc_jsc_and_ff, perovskite-sim/tests/integration/test_foundation_tpv_spatial_refinement.py::test_three_spatial_levels_resolve_the_same_physical_tpv, perovskite-sim/tests/integration/test_tpv_open_circuit_refinement.py::test_three_time_levels_preserve_the_same_pulse_and_preparation, perovskite-sim/tests/integration/test_tpv_open_circuit_refinement.py::test_three_tolerance_levels_resolve_the_same_waveform, perovskite-sim/tests/integration/test_tp", + "blocked_use": "new N acceptance / qualified reference use for benchmark:foundation-tpv-frozen-ion-reference" + }, + { + "field": "per-species/per-connected-domain positive reference inventory numeric scale and unit (1 or m-2, according to actual CV measure)", + "needed_from": "benchmark-5223cbf1b1ff2fbd exact original driver/reference observation packet; perovskite-sim/tests/integration/test_degradation_snapshot_refinement.py::test_snapshot_metrics_are_independent_of_preparation_step_size, perovskite-sim/tests/integration/test_degradation_snapshot_refinement.py::test_snapshot_voltage_sampling_resolves_voc_jsc_and_ff, perovskite-sim/tests/integration/test_foundation_tpv_spatial_refinement.py::test_three_spatial_levels_resolve_the_same_physical_tpv, perovskite-sim/tests/integration/test_tpv_open_circuit_refinement.py::test_three_time_levels_preserve_the_same_pulse_and_preparation, perovskite-sim/tests/integration/test_tpv_open_circuit_refinement.py::test_three_tolerance_levels_resolve_the_same_waveform, perovskite-sim/tests/integration/test_tp", + "blocked_use": "new N acceptance / qualified reference use for benchmark:foundation-tpv-frozen-ion-reference" + }, + { + "field": "zero-species/zero-cell identity and numeric dimensional absolute gate from model absence or reference error evidence", + "needed_from": "benchmark-5223cbf1b1ff2fbd exact original driver/reference observation packet; perovskite-sim/tests/integration/test_degradation_snapshot_refinement.py::test_snapshot_metrics_are_independent_of_preparation_step_size, perovskite-sim/tests/integration/test_degradation_snapshot_refinement.py::test_snapshot_voltage_sampling_resolves_voc_jsc_and_ff, perovskite-sim/tests/integration/test_foundation_tpv_spatial_refinement.py::test_three_spatial_levels_resolve_the_same_physical_tpv, perovskite-sim/tests/integration/test_tpv_open_circuit_refinement.py::test_three_time_levels_preserve_the_same_pulse_and_preparation, perovskite-sim/tests/integration/test_tpv_open_circuit_refinement.py::test_three_tolerance_levels_resolve_the_same_waveform, perovskite-sim/tests/integration/test_tp", + "blocked_use": "new N acceptance / qualified reference use for benchmark:foundation-tpv-frozen-ion-reference" + }, + { + "field": "actual volumes, component labels and independent log/inventory uncertainty", + "needed_from": "benchmark-5223cbf1b1ff2fbd exact original driver/reference observation packet; perovskite-sim/tests/integration/test_degradation_snapshot_refinement.py::test_snapshot_metrics_are_independent_of_preparation_step_size, perovskite-sim/tests/integration/test_degradation_snapshot_refinement.py::test_snapshot_voltage_sampling_resolves_voc_jsc_and_ff, perovskite-sim/tests/integration/test_foundation_tpv_spatial_refinement.py::test_three_spatial_levels_resolve_the_same_physical_tpv, perovskite-sim/tests/integration/test_tpv_open_circuit_refinement.py::test_three_time_levels_preserve_the_same_pulse_and_preparation, perovskite-sim/tests/integration/test_tpv_open_circuit_refinement.py::test_three_tolerance_levels_resolve_the_same_waveform, perovskite-sim/tests/integration/test_tp", + "blocked_use": "new N acceptance / qualified reference use for benchmark:foundation-tpv-frozen-ion-reference" + }, + { + "field": "actual complete state history, time coordinates, event sides and original integral/fit-window identity", + "needed_from": "benchmark-5223cbf1b1ff2fbd exact original driver/reference observation packet; perovskite-sim/tests/integration/test_degradation_snapshot_refinement.py::test_snapshot_metrics_are_independent_of_preparation_step_size, perovskite-sim/tests/integration/test_degradation_snapshot_refinement.py::test_snapshot_voltage_sampling_resolves_voc_jsc_and_ff, perovskite-sim/tests/integration/test_foundation_tpv_spatial_refinement.py::test_three_spatial_levels_resolve_the_same_physical_tpv, perovskite-sim/tests/integration/test_tpv_open_circuit_refinement.py::test_three_time_levels_preserve_the_same_pulse_and_preparation, perovskite-sim/tests/integration/test_tpv_open_circuit_refinement.py::test_three_tolerance_levels_resolve_the_same_waveform, perovskite-sim/tests/integration/test_tp", + "blocked_use": "new N acceptance / qualified reference use for benchmark:foundation-tpv-frozen-ion-reference" + }, + { + "field": "numeric separate waveform, integrated-charge and fit residual/derived-parameter scales/limits from the original channel", + "needed_from": "benchmark-5223cbf1b1ff2fbd exact original driver/reference observation packet; perovskite-sim/tests/integration/test_degradation_snapshot_refinement.py::test_snapshot_metrics_are_independent_of_preparation_step_size, perovskite-sim/tests/integration/test_degradation_snapshot_refinement.py::test_snapshot_voltage_sampling_resolves_voc_jsc_and_ff, perovskite-sim/tests/integration/test_foundation_tpv_spatial_refinement.py::test_three_spatial_levels_resolve_the_same_physical_tpv, perovskite-sim/tests/integration/test_tpv_open_circuit_refinement.py::test_three_time_levels_preserve_the_same_pulse_and_preparation, perovskite-sim/tests/integration/test_tpv_open_circuit_refinement.py::test_three_tolerance_levels_resolve_the_same_waveform, perovskite-sim/tests/integration/test_tp", + "blocked_use": "new N acceptance / qualified reference use for benchmark:foundation-tpv-frozen-ion-reference" + }, + { + "field": "nonresetting interval/prefix uncertainty and accepted-history reference errors", + "needed_from": "benchmark-5223cbf1b1ff2fbd exact original driver/reference observation packet; perovskite-sim/tests/integration/test_degradation_snapshot_refinement.py::test_snapshot_metrics_are_independent_of_preparation_step_size, perovskite-sim/tests/integration/test_degradation_snapshot_refinement.py::test_snapshot_voltage_sampling_resolves_voc_jsc_and_ff, perovskite-sim/tests/integration/test_foundation_tpv_spatial_refinement.py::test_three_spatial_levels_resolve_the_same_physical_tpv, perovskite-sim/tests/integration/test_tpv_open_circuit_refinement.py::test_three_time_levels_preserve_the_same_pulse_and_preparation, perovskite-sim/tests/integration/test_tpv_open_circuit_refinement.py::test_three_tolerance_levels_resolve_the_same_waveform, perovskite-sim/tests/integration/test_tp", + "blocked_use": "new N acceptance / qualified reference use for benchmark:foundation-tpv-frozen-ion-reference" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/benchmark-5223cbf1b1ff2fbd/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + } + ], + "downstream_tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "scale_closures": [ + { + "id": "original_tpv_reference_amplitude_waveform", + "family_rule_id": "transient_packet", + "status": "numeric_definition_complete_for_original_named_target", + "definition": { + "reference_side": "fine argument in original _require_converged_waveform, selected before the candidate comparison", + "amplitude_scale_formula": "A_ref=max(abs(reference.delta_V))", + "scale_depends_on_candidate_output": false, + "original_resolved_signal_condition": "A_ref>1e-5 V; this is the named original fixture condition, not a universal independently certified signal floor", + "waveform": { + "unit": "V", + "operator": "lt", + "norm": "absolute_linf", + "limit_formula": "0.01*A_ref" + }, + "baseline_Voc": { + "unit": "V", + "operator": "lt", + "absolute_limit": 0.001 + }, + "reference_face_current": { + "unit": "A m-2", + "operator": "lt", + "maximum_limit": 0.05 + }, + "reference_interval_current_residual": { + "unit": "A m-2", + "operator": "lt", + "maximum_limit": 0.05 + }, + "reference_terminal_charge_voltage_error": { + "unit": "V", + "operator": "lt", + "limit_formula": "min(1e-6,0.01*A_ref)" + }, + "lifetime": "If both lifetimes exist, abs(candidate.tau/reference.tau-1)<0.01; otherwise original fit.status equality, without substituting zero lifetime.", + "time_support": "Original reference.t, exact array equality; preserve pulse switch and observation end. n_points=120 is a request, not an invented assertion that the returned array has exactly120 values.", + "fixed_source_scales": { + "temperature_K": 300.0, + "thermal_voltage_V": 0.025851999786435535, + "incident_photon_flux_m2_s": 1e+21, + "photon_current_A_m2": 160.2176634 + }, + "frozen_dual_input_inventory": "sum(input.dx_cell * input.P_ion0), separately for the negative population; do not replace this by density*400nm on unmatched interface grids.", + "scope": "Original no-ion / frozen-dual N_grid30 time/tolerance cases and the explicitly44/88/176 spatial test; exact parameter/protocol matching is mandatory, no new N accuracy guarantee." + }, + "remaining_numeric_parameters": [], + "measurement_inputs_pending": [ + "Qualified fine waveform/amplitude and original protocol/fit/status arrays; no unknown numerical coefficient is being replaced by a future result" + ], + "citations": [ + { + "source_id": "original_tpv_refinement", + "symbol": "_require_converged_waveform", + "lines": [ + 46, + 59 + ], + "text_sha256": "6eeedd9391749b42756abe844224dc30073d14ce243246cd56f5ec1b09f188c8" + }, + { + "source_id": "original_tpv_refinement", + "symbol": "refinement", + "lines": [ + 18, + 43 + ], + "text_sha256": "2179d8e6d557aa71921ef4fcd25adacb781449ed9f7857271caf20816eebc6bf" + }, + { + "source_id": "original_tpv_spatial", + "symbol": "test_three_spatial_levels_resolve_the_same_physical_tpv", + "lines": [ + 24, + 94 + ], + "text_sha256": "ec638e892eb4180b2145a250ad37b819fccff8a6e4740877dcf98ba0fae3d05b" + }, + { + "source_id": "foundation_input" + } + ], + "eligibility": { + "reference_error_bound": null, + "reference_qualified": false, + "active_comparison": null, + "default_reference_error_share": "1/3", + "stronger_channel_and_1_12_allocations_retained": true, + "numeric_definition_is_not_reference_eligibility": true + } + } + ], + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-benchmark-5223cbf1b1ff2fbd" + }, + "scope_specific_prior_gaps": [ + { + "field": "numeric fixed thermal/physical voltage scale in V from the exact reference temperature or declared boundary parameters", + "needed_from": "benchmark-5223cbf1b1ff2fbd exact original driver/reference observation packet; perovskite-sim/tests/integration/test_degradation_snapshot_refinement.py::test_snapshot_metrics_are_independent_of_preparation_step_size, perovskite-sim/tests/integration/test_degradation_snapshot_refinement.py::test_snapshot_voltage_sampling_resolves_voc_jsc_and_ff, perovskite-sim/tests/integration/test_foundation_tpv_spatial_refinement.py::test_three_spatial_levels_resolve_the_same_physical_tpv, perovskite-sim/tests/integration/test_tpv_open_circuit_refinement.py::test_three_time_levels_preserve_the_same_pulse_and_preparation, perovskite-sim/tests/integration/test_tpv_open_circuit_refinement.py::test_three_tolerance_levels_resolve_the_same_waveform, perovskite-sim/tests/integration/test_tp", + "blocked_use": "new N acceptance / qualified reference use for benchmark:foundation-tpv-frozen-ion-reference", + "categories": [ + "source_configuration" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual reference CV weights/support and physical gauge/contact values; allowed mask", + "needed_from": "benchmark-5223cbf1b1ff2fbd exact original driver/reference observation packet; perovskite-sim/tests/integration/test_degradation_snapshot_refinement.py::test_snapshot_metrics_are_independent_of_preparation_step_size, perovskite-sim/tests/integration/test_degradation_snapshot_refinement.py::test_snapshot_voltage_sampling_resolves_voc_jsc_and_ff, perovskite-sim/tests/integration/test_foundation_tpv_spatial_refinement.py::test_three_spatial_levels_resolve_the_same_physical_tpv, perovskite-sim/tests/integration/test_tpv_open_circuit_refinement.py::test_three_time_levels_preserve_the_same_pulse_and_preparation, perovskite-sim/tests/integration/test_tpv_open_circuit_refinement.py::test_three_tolerance_levels_resolve_the_same_waveform, perovskite-sim/tests/integration/test_tp", + "blocked_use": "new N acceptance / qualified reference use for benchmark:foundation-tpv-frozen-ion-reference", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "independent source/grid/time/mapping error in V and its qualified reference identity", + "needed_from": "benchmark-5223cbf1b1ff2fbd exact original driver/reference observation packet; perovskite-sim/tests/integration/test_degradation_snapshot_refinement.py::test_snapshot_metrics_are_independent_of_preparation_step_size, perovskite-sim/tests/integration/test_degradation_snapshot_refinement.py::test_snapshot_voltage_sampling_resolves_voc_jsc_and_ff, perovskite-sim/tests/integration/test_foundation_tpv_spatial_refinement.py::test_three_spatial_levels_resolve_the_same_physical_tpv, perovskite-sim/tests/integration/test_tpv_open_circuit_refinement.py::test_three_time_levels_preserve_the_same_pulse_and_preparation, perovskite-sim/tests/integration/test_tpv_open_circuit_refinement.py::test_three_tolerance_levels_resolve_the_same_waveform, perovskite-sim/tests/integration/test_tp", + "blocked_use": "new N acceptance / qualified reference use for benchmark:foundation-tpv-frozen-ion-reference", + "categories": [ + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "per-species/per-connected-domain positive reference inventory numeric scale and unit (1 or m-2, according to actual CV measure)", + "needed_from": "benchmark-5223cbf1b1ff2fbd exact original driver/reference observation packet; perovskite-sim/tests/integration/test_degradation_snapshot_refinement.py::test_snapshot_metrics_are_independent_of_preparation_step_size, perovskite-sim/tests/integration/test_degradation_snapshot_refinement.py::test_snapshot_voltage_sampling_resolves_voc_jsc_and_ff, perovskite-sim/tests/integration/test_foundation_tpv_spatial_refinement.py::test_three_spatial_levels_resolve_the_same_physical_tpv, perovskite-sim/tests/integration/test_tpv_open_circuit_refinement.py::test_three_time_levels_preserve_the_same_pulse_and_preparation, perovskite-sim/tests/integration/test_tpv_open_circuit_refinement.py::test_three_tolerance_levels_resolve_the_same_waveform, perovskite-sim/tests/integration/test_tp", + "blocked_use": "new N acceptance / qualified reference use for benchmark:foundation-tpv-frozen-ion-reference", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "zero-species/zero-cell identity and numeric dimensional absolute gate from model absence or reference error evidence", + "needed_from": "benchmark-5223cbf1b1ff2fbd exact original driver/reference observation packet; perovskite-sim/tests/integration/test_degradation_snapshot_refinement.py::test_snapshot_metrics_are_independent_of_preparation_step_size, perovskite-sim/tests/integration/test_degradation_snapshot_refinement.py::test_snapshot_voltage_sampling_resolves_voc_jsc_and_ff, perovskite-sim/tests/integration/test_foundation_tpv_spatial_refinement.py::test_three_spatial_levels_resolve_the_same_physical_tpv, perovskite-sim/tests/integration/test_tpv_open_circuit_refinement.py::test_three_time_levels_preserve_the_same_pulse_and_preparation, perovskite-sim/tests/integration/test_tpv_open_circuit_refinement.py::test_three_tolerance_levels_resolve_the_same_waveform, perovskite-sim/tests/integration/test_tp", + "blocked_use": "new N acceptance / qualified reference use for benchmark:foundation-tpv-frozen-ion-reference", + "categories": [ + "source_configuration", + "tolerance_decision" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual volumes, component labels and independent log/inventory uncertainty", + "needed_from": "benchmark-5223cbf1b1ff2fbd exact original driver/reference observation packet; perovskite-sim/tests/integration/test_degradation_snapshot_refinement.py::test_snapshot_metrics_are_independent_of_preparation_step_size, perovskite-sim/tests/integration/test_degradation_snapshot_refinement.py::test_snapshot_voltage_sampling_resolves_voc_jsc_and_ff, perovskite-sim/tests/integration/test_foundation_tpv_spatial_refinement.py::test_three_spatial_levels_resolve_the_same_physical_tpv, perovskite-sim/tests/integration/test_tpv_open_circuit_refinement.py::test_three_time_levels_preserve_the_same_pulse_and_preparation, perovskite-sim/tests/integration/test_tpv_open_circuit_refinement.py::test_three_tolerance_levels_resolve_the_same_waveform, perovskite-sim/tests/integration/test_tp", + "blocked_use": "new N acceptance / qualified reference use for benchmark:foundation-tpv-frozen-ion-reference", + "categories": [ + "measurement_data", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual complete state history, time coordinates, event sides and original integral/fit-window identity", + "needed_from": "benchmark-5223cbf1b1ff2fbd exact original driver/reference observation packet; perovskite-sim/tests/integration/test_degradation_snapshot_refinement.py::test_snapshot_metrics_are_independent_of_preparation_step_size, perovskite-sim/tests/integration/test_degradation_snapshot_refinement.py::test_snapshot_voltage_sampling_resolves_voc_jsc_and_ff, perovskite-sim/tests/integration/test_foundation_tpv_spatial_refinement.py::test_three_spatial_levels_resolve_the_same_physical_tpv, perovskite-sim/tests/integration/test_tpv_open_circuit_refinement.py::test_three_time_levels_preserve_the_same_pulse_and_preparation, perovskite-sim/tests/integration/test_tpv_open_circuit_refinement.py::test_three_tolerance_levels_resolve_the_same_waveform, perovskite-sim/tests/integration/test_tp", + "blocked_use": "new N acceptance / qualified reference use for benchmark:foundation-tpv-frozen-ion-reference", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "numeric separate waveform, integrated-charge and fit residual/derived-parameter scales/limits from the original channel", + "needed_from": "benchmark-5223cbf1b1ff2fbd exact original driver/reference observation packet; perovskite-sim/tests/integration/test_degradation_snapshot_refinement.py::test_snapshot_metrics_are_independent_of_preparation_step_size, perovskite-sim/tests/integration/test_degradation_snapshot_refinement.py::test_snapshot_voltage_sampling_resolves_voc_jsc_and_ff, perovskite-sim/tests/integration/test_foundation_tpv_spatial_refinement.py::test_three_spatial_levels_resolve_the_same_physical_tpv, perovskite-sim/tests/integration/test_tpv_open_circuit_refinement.py::test_three_time_levels_preserve_the_same_pulse_and_preparation, perovskite-sim/tests/integration/test_tpv_open_circuit_refinement.py::test_three_tolerance_levels_resolve_the_same_waveform, perovskite-sim/tests/integration/test_tp", + "blocked_use": "new N acceptance / qualified reference use for benchmark:foundation-tpv-frozen-ion-reference", + "categories": [ + "tolerance_decision" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "nonresetting interval/prefix uncertainty and accepted-history reference errors", + "needed_from": "benchmark-5223cbf1b1ff2fbd exact original driver/reference observation packet; perovskite-sim/tests/integration/test_degradation_snapshot_refinement.py::test_snapshot_metrics_are_independent_of_preparation_step_size, perovskite-sim/tests/integration/test_degradation_snapshot_refinement.py::test_snapshot_voltage_sampling_resolves_voc_jsc_and_ff, perovskite-sim/tests/integration/test_foundation_tpv_spatial_refinement.py::test_three_spatial_levels_resolve_the_same_physical_tpv, perovskite-sim/tests/integration/test_tpv_open_circuit_refinement.py::test_three_time_levels_preserve_the_same_pulse_and_preparation, perovskite-sim/tests/integration/test_tpv_open_circuit_refinement.py::test_three_tolerance_levels_resolve_the_same_waveform, perovskite-sim/tests/integration/test_tp", + "blocked_use": "new N acceptance / qualified reference use for benchmark:foundation-tpv-frozen-ion-reference", + "categories": [ + "measurement_data", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/benchmark-5223cbf1b1ff2fbd/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [ + { + "id": "original_tpv_reference_amplitude_waveform", + "status": "numeric_definition_complete_for_original_named_target", + "remaining_numeric_parameters": [], + "measurement_inputs_pending": [ + "Qualified fine waveform/amplitude and original protocol/fit/status arrays; no unknown numerical coefficient is being replaced by a future result" + ] + } + ], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [], + "current_numeric_status": "named_input_or_subgates_resolved" + } + }, + { + "id": "scope-benchmark-d84b2405628c3df6", + "capability_id": "benchmark-d84b2405628c3df6", + "route_id": "route-f13ea1085e6c91d1", + "origin_key": "benchmark:foundation-twod-active-transport-reference", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "CV_geometry_and_interface_sides" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "pointer": "/benchmarks/foundation-twod-active-transport-reference", + "value_sha256": "f479102cd8c38cc9bfe4cee289a5a87b8fd932bc510434d135b1fae148c6b5ed" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_foundation_twod_axis_refinement.py", + "symbol": "test_lateral_refinement_preserves_the_uniform_state_and_currents" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_foundation_twod_axis_refinement.py", + "symbol": "test_vertical_refinement_approaches_the_same_active_transport_limit" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_twod_combined_refinement.py", + "symbol": "test_registered_twod_matrix_keeps_every_accepted_state_physical" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/twod/test_jv_sweep_2d_microstructure.py", + "symbol": "test_jv_sweep_2d_singleGB_runs_to_completion" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_accepted_trajectory.py", + "symbol": "test_observing_accepted_states_preserves_samples_steps_and_rhs_counts" + } + ], + "negative_only_descriptor_rule_ids": [], + "source_quantitative_assertion_ids_for_scope_audit": [ + "rule-49265c9f4b3f9fc0602233ef", + "rule-b46fcea38bb8adedec55a39b", + "rule-16d2850280762a48f60b946b", + "rule-39fea0d79a4dab4e5fa90d32", + "rule-f132ad8d4982215e8c025349", + "rule-02681efe2b124de9d4ad016f", + "rule-be24015e0b77410009fc0805", + "rule-e30feb0cbc54d28146f47d64", + "rule-e859a624426e6a8195bd77a0", + "rule-464d9934fb97376f40746e78", + "rule-ec1dd948f2534f7bd7e6a834" + ], + "rule_ids": [ + "M_payload", + "projection_packet" + ], + "citations": [ + { + "source_id": "twod_test", + "symbol": "_stack", + "lines": [ + 36, + 72 + ], + "text_sha256": "f4ed7a35dea6b6b5d7903d91b60801ee40c43c10e6ee80617aef14f8c110211c" + }, + { + "source_id": "twod_test", + "symbol": "axes", + "lines": [ + 76, + 232 + ], + "text_sha256": "5fd83dec42a3622e50c7f785324b608941e2d8a3c4e1899f04cfd18f6dcc8b9e" + }, + { + "source_id": "twod_test", + "symbol": "test_lateral_refinement_preserves_the_uniform_state_and_currents", + "lines": [ + 243, + 257 + ], + "text_sha256": "cbac2780b4331a38463ca212a91615bd9dfc8ed9b7c53c172c29f4c2730b52a8" + }, + { + "source_id": "formal", + "lines": [ + 910, + 931 + ], + "text_sha256": "b72c4040bcf0248f9b08eca8c8ecf561fb82e0f5fa637d76d2551b6dc22f4a60" + } + ], + "remaining_inputs": [ + { + "field": "Actual mesh coordinates, unit-depth convention, material-side average/support mapping, all trace indices/positions and every state/time requested by the original axes fixture.", + "needed_from": "benchmark-d84b2405628c3df6 / two_layer_active_TE_uniform_axis_fixture: independently qualified source/input/reference evidence", + "blocked_use": "Any active new numerical comparison before the exact data/error/identity/review gate is frozen", + "downstream_tasks": [ + "P00-03", + "P03-06", + "P09-01" + ] + }, + { + "field": "Approved geometric overlap evidence and arithmetic/representation error; per-component inventory, L1, positive log and per-side trace independent reference bounds, each within the relevant 1/3 budget.", + "needed_from": "benchmark-d84b2405628c3df6 / two_layer_active_TE_uniform_axis_fixture: independently qualified source/input/reference evidence", + "blocked_use": "Any active new numerical comparison before the exact data/error/identity/review gate is frozen", + "downstream_tasks": [ + "P00-03", + "P03-06", + "P09-01" + ] + }, + { + "field": "Independent trace-reconstruction error if physical limiting traces, or a clearly fixed-discrete source-stencil target; an unresolved representation cannot be qualified by the old0.005 refinement envelope.", + "needed_from": "benchmark-d84b2405628c3df6 / two_layer_active_TE_uniform_axis_fixture: independently qualified source/input/reference evidence", + "blocked_use": "Any active new numerical comparison before the exact data/error/identity/review gate is frozen", + "downstream_tasks": [ + "P00-03", + "P03-06", + "P09-01" + ] + }, + { + "field": "Other original driver/fixture branches listed in original_test_or_source_bindings remain outside these exact-case parameter bindings; original rules and positive physical obligations are unchanged.", + "needed_from": "benchmark:foundation-twod-active-transport-reference original branch-specific reference packet and applicable contract", + "blocked_use": "Full-scope activation or extension to an unmatched model/protocol/state/grid/environment" + } + ], + "downstream_tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "parameter_bindings": [ + { + "family_rule_id": "projection_packet", + "case_id": "two_layer_active_TE_uniform_axis_fixture", + "applicability": "Original extruded 1D/2D, Neumann lateral-boundary fixture with active TE; old pointwise/lateral-mean errors are not conservative cross-grid gates.", + "numeric_parameter_status": "prospective_complete", + "known_parameters": { + "layer_thickness_m": [ + 1e-07, + 1e-07 + ], + "width_m": 3e-07, + "interface_y_m": 1e-07, + "vertical_intervals_per_layer": [ + 16, + 32, + 64 + ], + "horizontal_intervals": [ + 2, + 4, + 8 + ], + "vertical_tanh_alpha": 2.0, + "voltage_V": 0.02, + "end_time_s": 1e-10, + "max_step_s": 1e-11, + "lateral_boundary": "neumann", + "contact_electron_velocity_m_s": 1000.0, + "contact_hole_velocity_m_s": 0.0, + "TE_physical_norm": true, + "density_unit": "m-3", + "current_unit": "A m-2", + "traces": "Separate limits approaching y=100nm from left and right; no interpolation through chi=4.0 to3.8eV step", + "zero_policy": "Blocking contact and absent ions remain distinct; no whole-device averaging to erase a component." + }, + "limits": {}, + "citations": [ + { + "source_id": "twod_test", + "symbol": "_stack", + "lines": [ + 36, + 72 + ], + "text_sha256": "f4ed7a35dea6b6b5d7903d91b60801ee40c43c10e6ee80617aef14f8c110211c" + }, + { + "source_id": "twod_test", + "symbol": "axes", + "lines": [ + 76, + 232 + ], + "text_sha256": "5fd83dec42a3622e50c7f785324b608941e2d8a3c4e1899f04cfd18f6dcc8b9e" + }, + { + "source_id": "twod_test", + "symbol": "test_lateral_refinement_preserves_the_uniform_state_and_currents", + "lines": [ + 243, + 257 + ], + "text_sha256": "cbac2780b4331a38463ca212a91615bd9dfc8ed9b7c53c172c29f4c2730b52a8" + }, + { + "source_id": "formal", + "lines": [ + 910, + 931 + ], + "text_sha256": "b72c4040bcf0248f9b08eca8c8ecf561fb82e0f5fa637d76d2551b6dc22f4a60" + }, + { + "source_id": "four_case_proposal" + }, + { + "source_id": "four_case_amendments" + }, + { + "source_id": "four_case_amendment_review" + }, + { + "source_id": "four_case_arithmetic" + } + ], + "remaining_parameters": [ + "Actual mesh coordinates, unit-depth convention, material-side average/support mapping, all trace indices/positions and every state/time requested by the original axes fixture.", + "Approved geometric overlap evidence and arithmetic/representation error; per-component inventory, L1, positive log and per-side trace independent reference bounds, each within the relevant 1/3 budget.", + "Independent trace-reconstruction error if physical limiting traces, or a clearly fixed-discrete source-stencil target; an unresolved representation cannot be qualified by the old0.005 refinement envelope." + ], + "reference_eligibility": { + "status": "blocked_pending_independent_reference_and_review", + "reference_error_bound": null, + "default_reference_error_share": "1/3", + "stronger_original_channel_allocations_retained": true, + "unused_error_shares_redistributed": false, + "reference_qualified": false, + "active_comparison": null + }, + "case_definition": { + "schema": "solarlab.four_case_definition.v1", + "kind": "twod", + "scope_id": "scope-benchmark-d84b2405628c3df6", + "case_id": "two_layer_active_TE_uniform_axis_fixture", + "status": "prospective_complete", + "reference_error_bound": null, + "reference_qualified": false, + "active_comparison": null, + "protocol": { + "layer_thickness_m": [ + 1e-07, + 1e-07 + ], + "width_m": 3e-07, + "interface_y_m": 1e-07, + "vertical_intervals_per_layer": [ + 16, + 32, + 64 + ], + "horizontal_intervals": [ + 2, + 4, + 8 + ], + "vertical_tanh_alpha": 2.0, + "voltage_V": 0.02, + "end_time_s": 1e-10, + "max_step_s": 1e-11, + "lateral_boundary": "neumann", + "contact_electron_velocity_m_s": 1000.0, + "contact_hole_velocity_m_s": 0.0, + "TE_physical_norm": true, + "density_unit": "m-3", + "current_unit": "A m-2", + "traces": "Separate limits approaching y=100nm from left and right; no interpolation through chi=4.0 to3.8eV step", + "zero_policy": "Blocking contact and absent ions remain distinct; no whole-device averaging to erase a component." + }, + "common_contract": { + "classification": "These are proposed accuracy allocations. Source-derived scales are dimensional normalizations, not observations, reference error certificates, measured resolution limits or device-area/noise assumptions.", + "mixed_rule": "T(S_ref,U)=a+r*S_ref; epsilon=1e-4, a=(epsilon^2/2)*U, r=epsilon/2, S_ref=abs(the frozen same-channel reference); no candidate-dependent normalization.", + "accuracy_argument": "For S_ref>=epsilon*U, T<=epsilon*S_ref; for S_ref=0, row sums=reference volumes, column sums=candidate volumes, cross-material entries=0; independent geometric evidence is required in addition to these sums.", + "representation": "Declared source-consistent piecewise-constant CV averages; any nodal-to-average or interface-support reconstruction carries its own bound. Unsupported material-side data blocks the comparison instead of inventing it.", + "trace_definition": "For each actual interface face and each lateral common-support segment, retain the left and right source-side carrier observations separately with actual node/face positions. Discrete stencil values are labeled as such. A claim about the limiting physical y=100nm traces additionally needs an independently bounded one-sided reconstruction; never interpolate across chi4.0/3.8 or lateral-average the traces." + }, + "metrics": { + "component_inventory": "abs(sum_a V_ref_a*u_ref_a - sum_b V_new_b*u_new_b) <= 1e-6*u_star*V_component", + "component_l1": "sum_ab O_ab*abs(u_ref_a-u_new_b) <= 1e-6*u_star*V_component, separately for each carrier/material component", + "positive_log_rms": "sqrt(sum_(O_ab>0) O_ab*log(u_new_b/u_ref_a)^2 / V_component) <=1e-6", + "positive_log_max": "max_(O_ab>0) abs(log(u_new_b/u_ref_a)) <=1e-6", + "trace": "Every carrier/material-side/lateral-segment absolute difference <=1e-6*u_star; rtol=0 and fixed input scale, with no division by a weak trace.", + "absent_ions": "P=P_background=0 exactly in both input and observed state; zero-species atol=rtol=0, no positive floor." + }, + "comparison_target": "fixed_discrete migration on each named input; continuum refinement and the old 0.005 envelope remain separate", + "normalization_origin": "The original axes fixture explicitly uses n_star=1e20 and p_star=ni^2/1e20, ni=1e24*exp(-1.2/(2*V_T)), V_T=K_B*300/Q. Reuse its scalar binary64 words. Each geometric layer is 300 nm by100 nm with the declared unit depth1 m; unit depth is a normalization, not a measured device depth." + }, + "comparator": { + "source_id": "four_case_comparator", + "symbol": "compare_case" + }, + "definition_validator": { + "source_id": "four_case_comparator", + "symbol": "validate_case_definition" + } + } + ], + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-benchmark-d84b2405628c3df6" + }, + "scope_specific_prior_gaps": [ + { + "field": "Actual x/y dual-cell areas, the declared out-of-plane depth or per-unit-depth convention, component labels and conservative overlap matrix for the chosen mesh pair; do not label m2 areas as m3 volumes.", + "needed_from": "benchmark-d84b2405628c3df6 / two_layer_active_TE_uniform_axis_fixture: original bound source/input and independently reviewed ReferenceQualification packet", + "blocked_use": "benchmark:foundation-twod-active-transport-reference: new N acceptance outside the explicitly limited fixture meaning", + "downstream_tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + }, + { + "field": "Independent per-component inventory/L1 and both-interface-trace limits and projection/reference errors; old max-state/current normalized errors and 0.005 vertical envelope cannot fill these N gates.", + "needed_from": "benchmark-d84b2405628c3df6 / two_layer_active_TE_uniform_axis_fixture: original bound source/input and independently reviewed ReferenceQualification packet", + "blocked_use": "benchmark:foundation-twod-active-transport-reference: new N acceptance outside the explicitly limited fixture meaning", + "downstream_tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + }, + { + "field": "Other original driver/fixture branches listed in original_test_or_source_bindings remain outside these exact-case parameter bindings; original rules and positive physical obligations are unchanged.", + "needed_from": "benchmark:foundation-twod-active-transport-reference original branch-specific reference packet and applicable contract", + "blocked_use": "Full-scope activation or extension to an unmatched model/protocol/state/grid/environment", + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [ + { + "case_id": "two_layer_active_TE_uniform_axis_fixture", + "status": "prospective_complete", + "comparator": { + "source_id": "four_case_comparator", + "symbol": "compare_case" + }, + "source_ids": [ + "four_case_proposal", + "four_case_amendments", + "four_case_amendment_review", + "four_case_arithmetic" + ], + "qualification_granted": false + } + ], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [], + "current_numeric_status": "named_case_prospective_complete_actual_data_error_identity_review_pending" + } + }, + { + "id": "scope-benchmark-ae94b012055aa10b", + "capability_id": "benchmark-ae94b012055aa10b", + "route_id": "route-f13ea1085e6c91d1", + "origin_key": "benchmark:incomplete-ionization-bgn-internal-closure", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "physical_profiles_or_stored_state_history" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "pointer": "/benchmarks/incomplete-ionization-bgn-internal-closure", + "value_sha256": "71532e888e71d9feecdb5f38ad965d08b4ddc76499a8a9565168cf46082ded32" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_band_gap_narrowing.py", + "symbol": "test_slotboom_is_monotone_and_stable_below_ratio_underflow" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_contact_statistics.py", + "symbol": "test_slotboom_contact_state_uses_narrowed_band_edges" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py", + "symbol": "test_incomplete_ionization_and_bgn_equilibrium_close_together" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py", + "symbol": "test_research_material_composes_bgn_with_incomplete_ionization" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_bgn_refinement.py", + "symbol": "test_registered_executor_real_temperature_cell_matches_contract" + } + ], + "negative_only_descriptor_rule_ids": [], + "source_quantitative_assertion_ids_for_scope_audit": [ + "rule-9e610f72768c0f1e74649daa", + "rule-d2695551b300e579dc458dcf", + "rule-f4348df2af980e01f2242ca6", + "rule-f24ba27f486fe24e31da399a", + "rule-bcc1e34bbeea6b451d372d1d", + "rule-e7fa9add5d76cdeb3e929a87", + "rule-43dfd26260db3c8987356ea0", + "rule-b324f09f65d91e4dd92d7d8d", + "rule-8b8cc29e000ac46b6d81cf28", + "rule-6cf7a0fb58b5fa4e57f1a547", + "rule-09ba780e639cd89e7f4268bc", + "rule-6d774c73fbff54c318954faa", + "rule-4732e0907a9b8bcd20355a83", + "rule-6b9c236b244a6032cdce536e", + "rule-956fb5819fc1e37cb243f340", + "rule-ff0014b2a24a62f698c4a3b3", + "rule-d668f6e4ac1b5c22f6cf7820", + "rule-7ae82e48359ac96e14aa3850", + "rule-1ea911a64c18235522f2592c", + "rule-80d379c98e15f7e3ace52980", + "rule-89e2e24be9be233dc2e73b0a", + "rule-1a51972a4a3a08851d913330" + ], + "rule_ids": [ + "M_payload", + "potential_packet", + "positive_density_log", + "density_inventory_packet" + ], + "citations": [], + "remaining_inputs": [ + { + "field": "numeric fixed thermal/physical voltage scale in V from the exact reference temperature or declared boundary parameters", + "needed_from": "benchmark-ae94b012055aa10b exact original driver/reference observation packet; perovskite-sim/tests/unit/physics/test_band_gap_narrowing.py::test_slotboom_is_monotone_and_stable_below_ratio_underflow, perovskite-sim/tests/unit/physics/test_contact_statistics.py::test_slotboom_contact_state_uses_narrowed_band_edges, perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py::test_incomplete_ionization_and_bgn_equilibrium_close_together, perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py::test_research_material_composes_bgn_with_incomplete_ionization, perovskite-sim/tests/unit/validation/test_bgn_refinement.py::test_registered_executor_real_temperature_cell_matches_contract", + "blocked_use": "new N acceptance / qualified reference use for benchmark:incomplete-ionization-bgn-internal-closure" + }, + { + "field": "actual reference CV weights/support and physical gauge/contact values; allowed mask", + "needed_from": "benchmark-ae94b012055aa10b exact original driver/reference observation packet; perovskite-sim/tests/unit/physics/test_band_gap_narrowing.py::test_slotboom_is_monotone_and_stable_below_ratio_underflow, perovskite-sim/tests/unit/physics/test_contact_statistics.py::test_slotboom_contact_state_uses_narrowed_band_edges, perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py::test_incomplete_ionization_and_bgn_equilibrium_close_together, perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py::test_research_material_composes_bgn_with_incomplete_ionization, perovskite-sim/tests/unit/validation/test_bgn_refinement.py::test_registered_executor_real_temperature_cell_matches_contract", + "blocked_use": "new N acceptance / qualified reference use for benchmark:incomplete-ionization-bgn-internal-closure" + }, + { + "field": "independent source/grid/time/mapping error in V and its qualified reference identity", + "needed_from": "benchmark-ae94b012055aa10b exact original driver/reference observation packet; perovskite-sim/tests/unit/physics/test_band_gap_narrowing.py::test_slotboom_is_monotone_and_stable_below_ratio_underflow, perovskite-sim/tests/unit/physics/test_contact_statistics.py::test_slotboom_contact_state_uses_narrowed_band_edges, perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py::test_incomplete_ionization_and_bgn_equilibrium_close_together, perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py::test_research_material_composes_bgn_with_incomplete_ionization, perovskite-sim/tests/unit/validation/test_bgn_refinement.py::test_registered_executor_real_temperature_cell_matches_contract", + "blocked_use": "new N acceptance / qualified reference use for benchmark:incomplete-ionization-bgn-internal-closure" + }, + { + "field": "per-species/per-connected-domain positive reference inventory numeric scale and unit (1 or m-2, according to actual CV measure)", + "needed_from": "benchmark-ae94b012055aa10b exact original driver/reference observation packet; perovskite-sim/tests/unit/physics/test_band_gap_narrowing.py::test_slotboom_is_monotone_and_stable_below_ratio_underflow, perovskite-sim/tests/unit/physics/test_contact_statistics.py::test_slotboom_contact_state_uses_narrowed_band_edges, perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py::test_incomplete_ionization_and_bgn_equilibrium_close_together, perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py::test_research_material_composes_bgn_with_incomplete_ionization, perovskite-sim/tests/unit/validation/test_bgn_refinement.py::test_registered_executor_real_temperature_cell_matches_contract", + "blocked_use": "new N acceptance / qualified reference use for benchmark:incomplete-ionization-bgn-internal-closure" + }, + { + "field": "zero-species/zero-cell identity and numeric dimensional absolute gate from model absence or reference error evidence", + "needed_from": "benchmark-ae94b012055aa10b exact original driver/reference observation packet; perovskite-sim/tests/unit/physics/test_band_gap_narrowing.py::test_slotboom_is_monotone_and_stable_below_ratio_underflow, perovskite-sim/tests/unit/physics/test_contact_statistics.py::test_slotboom_contact_state_uses_narrowed_band_edges, perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py::test_incomplete_ionization_and_bgn_equilibrium_close_together, perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py::test_research_material_composes_bgn_with_incomplete_ionization, perovskite-sim/tests/unit/validation/test_bgn_refinement.py::test_registered_executor_real_temperature_cell_matches_contract", + "blocked_use": "new N acceptance / qualified reference use for benchmark:incomplete-ionization-bgn-internal-closure" + }, + { + "field": "actual volumes, component labels and independent log/inventory uncertainty", + "needed_from": "benchmark-ae94b012055aa10b exact original driver/reference observation packet; perovskite-sim/tests/unit/physics/test_band_gap_narrowing.py::test_slotboom_is_monotone_and_stable_below_ratio_underflow, perovskite-sim/tests/unit/physics/test_contact_statistics.py::test_slotboom_contact_state_uses_narrowed_band_edges, perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py::test_incomplete_ionization_and_bgn_equilibrium_close_together, perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py::test_research_material_composes_bgn_with_incomplete_ionization, perovskite-sim/tests/unit/validation/test_bgn_refinement.py::test_registered_executor_real_temperature_cell_matches_contract", + "blocked_use": "new N acceptance / qualified reference use for benchmark:incomplete-ionization-bgn-internal-closure" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/benchmark-ae94b012055aa10b/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + } + ], + "downstream_tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-benchmark-ae94b012055aa10b" + }, + "scope_specific_prior_gaps": [ + { + "field": "numeric fixed thermal/physical voltage scale in V from the exact reference temperature or declared boundary parameters", + "needed_from": "benchmark-ae94b012055aa10b exact original driver/reference observation packet; perovskite-sim/tests/unit/physics/test_band_gap_narrowing.py::test_slotboom_is_monotone_and_stable_below_ratio_underflow, perovskite-sim/tests/unit/physics/test_contact_statistics.py::test_slotboom_contact_state_uses_narrowed_band_edges, perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py::test_incomplete_ionization_and_bgn_equilibrium_close_together, perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py::test_research_material_composes_bgn_with_incomplete_ionization, perovskite-sim/tests/unit/validation/test_bgn_refinement.py::test_registered_executor_real_temperature_cell_matches_contract", + "blocked_use": "new N acceptance / qualified reference use for benchmark:incomplete-ionization-bgn-internal-closure", + "categories": [ + "source_configuration" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual reference CV weights/support and physical gauge/contact values; allowed mask", + "needed_from": "benchmark-ae94b012055aa10b exact original driver/reference observation packet; perovskite-sim/tests/unit/physics/test_band_gap_narrowing.py::test_slotboom_is_monotone_and_stable_below_ratio_underflow, perovskite-sim/tests/unit/physics/test_contact_statistics.py::test_slotboom_contact_state_uses_narrowed_band_edges, perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py::test_incomplete_ionization_and_bgn_equilibrium_close_together, perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py::test_research_material_composes_bgn_with_incomplete_ionization, perovskite-sim/tests/unit/validation/test_bgn_refinement.py::test_registered_executor_real_temperature_cell_matches_contract", + "blocked_use": "new N acceptance / qualified reference use for benchmark:incomplete-ionization-bgn-internal-closure", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "independent source/grid/time/mapping error in V and its qualified reference identity", + "needed_from": "benchmark-ae94b012055aa10b exact original driver/reference observation packet; perovskite-sim/tests/unit/physics/test_band_gap_narrowing.py::test_slotboom_is_monotone_and_stable_below_ratio_underflow, perovskite-sim/tests/unit/physics/test_contact_statistics.py::test_slotboom_contact_state_uses_narrowed_band_edges, perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py::test_incomplete_ionization_and_bgn_equilibrium_close_together, perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py::test_research_material_composes_bgn_with_incomplete_ionization, perovskite-sim/tests/unit/validation/test_bgn_refinement.py::test_registered_executor_real_temperature_cell_matches_contract", + "blocked_use": "new N acceptance / qualified reference use for benchmark:incomplete-ionization-bgn-internal-closure", + "categories": [ + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "per-species/per-connected-domain positive reference inventory numeric scale and unit (1 or m-2, according to actual CV measure)", + "needed_from": "benchmark-ae94b012055aa10b exact original driver/reference observation packet; perovskite-sim/tests/unit/physics/test_band_gap_narrowing.py::test_slotboom_is_monotone_and_stable_below_ratio_underflow, perovskite-sim/tests/unit/physics/test_contact_statistics.py::test_slotboom_contact_state_uses_narrowed_band_edges, perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py::test_incomplete_ionization_and_bgn_equilibrium_close_together, perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py::test_research_material_composes_bgn_with_incomplete_ionization, perovskite-sim/tests/unit/validation/test_bgn_refinement.py::test_registered_executor_real_temperature_cell_matches_contract", + "blocked_use": "new N acceptance / qualified reference use for benchmark:incomplete-ionization-bgn-internal-closure", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "zero-species/zero-cell identity and numeric dimensional absolute gate from model absence or reference error evidence", + "needed_from": "benchmark-ae94b012055aa10b exact original driver/reference observation packet; perovskite-sim/tests/unit/physics/test_band_gap_narrowing.py::test_slotboom_is_monotone_and_stable_below_ratio_underflow, perovskite-sim/tests/unit/physics/test_contact_statistics.py::test_slotboom_contact_state_uses_narrowed_band_edges, perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py::test_incomplete_ionization_and_bgn_equilibrium_close_together, perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py::test_research_material_composes_bgn_with_incomplete_ionization, perovskite-sim/tests/unit/validation/test_bgn_refinement.py::test_registered_executor_real_temperature_cell_matches_contract", + "blocked_use": "new N acceptance / qualified reference use for benchmark:incomplete-ionization-bgn-internal-closure", + "categories": [ + "source_configuration", + "tolerance_decision" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual volumes, component labels and independent log/inventory uncertainty", + "needed_from": "benchmark-ae94b012055aa10b exact original driver/reference observation packet; perovskite-sim/tests/unit/physics/test_band_gap_narrowing.py::test_slotboom_is_monotone_and_stable_below_ratio_underflow, perovskite-sim/tests/unit/physics/test_contact_statistics.py::test_slotboom_contact_state_uses_narrowed_band_edges, perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py::test_incomplete_ionization_and_bgn_equilibrium_close_together, perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py::test_research_material_composes_bgn_with_incomplete_ionization, perovskite-sim/tests/unit/validation/test_bgn_refinement.py::test_registered_executor_real_temperature_cell_matches_contract", + "blocked_use": "new N acceptance / qualified reference use for benchmark:incomplete-ionization-bgn-internal-closure", + "categories": [ + "measurement_data", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/benchmark-ae94b012055aa10b/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [], + "current_numeric_status": "prior_exact_scope_gaps_retained_and_classified" + } + }, + { + "id": "scope-benchmark-afaed356d2fa81de", + "capability_id": "benchmark-afaed356d2fa81de", + "route_id": "route-f13ea1085e6c91d1", + "origin_key": "benchmark:incomplete-ionization-internal-closure", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "physical_profiles_or_stored_state_history" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "pointer": "/benchmarks/incomplete-ionization-internal-closure", + "value_sha256": "1034c8967115b5ea72b333b6fabfbb843604f9441dce52460461d07c3076e998" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_contact_statistics.py", + "symbol": "test_discrete_donor_contact_state_resolves_temperature_freeze_out" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_statistics.py", + "symbol": "test_discrete_donor_neutrality_closes_and_resolves_freeze_out" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py", + "symbol": "test_incomplete_ionization_equilibrium_closes_across_temperature" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py", + "symbol": "test_incomplete_ionization_poisson_derivative_matches_finite_difference" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_incomplete_ionization_refinement.py", + "symbol": "test_registered_executor_real_temperature_cell_matches_contract" + } + ], + "negative_only_descriptor_rule_ids": [], + "source_quantitative_assertion_ids_for_scope_audit": [ + "rule-8f2691133115e08fe0a25043", + "rule-1433f1b037af04f4ae2204b2", + "rule-9c8bf50b7d5cafda9b8ed3dc", + "rule-979acad5afadc6947b32be06", + "rule-192551a94d2f7b655558cce8", + "rule-75b3366d83815cb92438766a", + "rule-0a1748d285589636349e1997", + "rule-b046f61db7ac56f83087e144", + "rule-e7ae45e7a188666504969b25", + "rule-c955f5647483dcdd9b789a65", + "rule-b4c31d4c6a73b34bf3b5ba25", + "rule-25f3f8766cbff3f8b17d3833", + "rule-a66f5b1f9e7ecc2dd1aab99f", + "rule-dd05aca5e019cd995cc688fb", + "rule-c1c0ff8f9219225390084099", + "rule-708b54777a4f9a20125b654c" + ], + "rule_ids": [ + "M_payload", + "potential_packet", + "positive_density_log", + "density_inventory_packet" + ], + "citations": [], + "remaining_inputs": [ + { + "field": "numeric fixed thermal/physical voltage scale in V from the exact reference temperature or declared boundary parameters", + "needed_from": "benchmark-afaed356d2fa81de exact original driver/reference observation packet; perovskite-sim/tests/unit/physics/test_contact_statistics.py::test_discrete_donor_contact_state_resolves_temperature_freeze_out, perovskite-sim/tests/unit/physics/test_statistics.py::test_discrete_donor_neutrality_closes_and_resolves_freeze_out, perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py::test_incomplete_ionization_equilibrium_closes_across_temperature, perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py::test_incomplete_ionization_poisson_derivative_matches_finite_difference, perovskite-sim/tests/unit/validation/test_incomplete_ionization_refinement.py::test_registered_executor_real_temperature_cell_matches_contract", + "blocked_use": "new N acceptance / qualified reference use for benchmark:incomplete-ionization-internal-closure" + }, + { + "field": "actual reference CV weights/support and physical gauge/contact values; allowed mask", + "needed_from": "benchmark-afaed356d2fa81de exact original driver/reference observation packet; perovskite-sim/tests/unit/physics/test_contact_statistics.py::test_discrete_donor_contact_state_resolves_temperature_freeze_out, perovskite-sim/tests/unit/physics/test_statistics.py::test_discrete_donor_neutrality_closes_and_resolves_freeze_out, perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py::test_incomplete_ionization_equilibrium_closes_across_temperature, perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py::test_incomplete_ionization_poisson_derivative_matches_finite_difference, perovskite-sim/tests/unit/validation/test_incomplete_ionization_refinement.py::test_registered_executor_real_temperature_cell_matches_contract", + "blocked_use": "new N acceptance / qualified reference use for benchmark:incomplete-ionization-internal-closure" + }, + { + "field": "independent source/grid/time/mapping error in V and its qualified reference identity", + "needed_from": "benchmark-afaed356d2fa81de exact original driver/reference observation packet; perovskite-sim/tests/unit/physics/test_contact_statistics.py::test_discrete_donor_contact_state_resolves_temperature_freeze_out, perovskite-sim/tests/unit/physics/test_statistics.py::test_discrete_donor_neutrality_closes_and_resolves_freeze_out, perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py::test_incomplete_ionization_equilibrium_closes_across_temperature, perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py::test_incomplete_ionization_poisson_derivative_matches_finite_difference, perovskite-sim/tests/unit/validation/test_incomplete_ionization_refinement.py::test_registered_executor_real_temperature_cell_matches_contract", + "blocked_use": "new N acceptance / qualified reference use for benchmark:incomplete-ionization-internal-closure" + }, + { + "field": "per-species/per-connected-domain positive reference inventory numeric scale and unit (1 or m-2, according to actual CV measure)", + "needed_from": "benchmark-afaed356d2fa81de exact original driver/reference observation packet; perovskite-sim/tests/unit/physics/test_contact_statistics.py::test_discrete_donor_contact_state_resolves_temperature_freeze_out, perovskite-sim/tests/unit/physics/test_statistics.py::test_discrete_donor_neutrality_closes_and_resolves_freeze_out, perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py::test_incomplete_ionization_equilibrium_closes_across_temperature, perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py::test_incomplete_ionization_poisson_derivative_matches_finite_difference, perovskite-sim/tests/unit/validation/test_incomplete_ionization_refinement.py::test_registered_executor_real_temperature_cell_matches_contract", + "blocked_use": "new N acceptance / qualified reference use for benchmark:incomplete-ionization-internal-closure" + }, + { + "field": "zero-species/zero-cell identity and numeric dimensional absolute gate from model absence or reference error evidence", + "needed_from": "benchmark-afaed356d2fa81de exact original driver/reference observation packet; perovskite-sim/tests/unit/physics/test_contact_statistics.py::test_discrete_donor_contact_state_resolves_temperature_freeze_out, perovskite-sim/tests/unit/physics/test_statistics.py::test_discrete_donor_neutrality_closes_and_resolves_freeze_out, perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py::test_incomplete_ionization_equilibrium_closes_across_temperature, perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py::test_incomplete_ionization_poisson_derivative_matches_finite_difference, perovskite-sim/tests/unit/validation/test_incomplete_ionization_refinement.py::test_registered_executor_real_temperature_cell_matches_contract", + "blocked_use": "new N acceptance / qualified reference use for benchmark:incomplete-ionization-internal-closure" + }, + { + "field": "actual volumes, component labels and independent log/inventory uncertainty", + "needed_from": "benchmark-afaed356d2fa81de exact original driver/reference observation packet; perovskite-sim/tests/unit/physics/test_contact_statistics.py::test_discrete_donor_contact_state_resolves_temperature_freeze_out, perovskite-sim/tests/unit/physics/test_statistics.py::test_discrete_donor_neutrality_closes_and_resolves_freeze_out, perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py::test_incomplete_ionization_equilibrium_closes_across_temperature, perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py::test_incomplete_ionization_poisson_derivative_matches_finite_difference, perovskite-sim/tests/unit/validation/test_incomplete_ionization_refinement.py::test_registered_executor_real_temperature_cell_matches_contract", + "blocked_use": "new N acceptance / qualified reference use for benchmark:incomplete-ionization-internal-closure" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/benchmark-afaed356d2fa81de/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + } + ], + "downstream_tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-benchmark-afaed356d2fa81de" + }, + "scope_specific_prior_gaps": [ + { + "field": "numeric fixed thermal/physical voltage scale in V from the exact reference temperature or declared boundary parameters", + "needed_from": "benchmark-afaed356d2fa81de exact original driver/reference observation packet; perovskite-sim/tests/unit/physics/test_contact_statistics.py::test_discrete_donor_contact_state_resolves_temperature_freeze_out, perovskite-sim/tests/unit/physics/test_statistics.py::test_discrete_donor_neutrality_closes_and_resolves_freeze_out, perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py::test_incomplete_ionization_equilibrium_closes_across_temperature, perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py::test_incomplete_ionization_poisson_derivative_matches_finite_difference, perovskite-sim/tests/unit/validation/test_incomplete_ionization_refinement.py::test_registered_executor_real_temperature_cell_matches_contract", + "blocked_use": "new N acceptance / qualified reference use for benchmark:incomplete-ionization-internal-closure", + "categories": [ + "source_configuration" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual reference CV weights/support and physical gauge/contact values; allowed mask", + "needed_from": "benchmark-afaed356d2fa81de exact original driver/reference observation packet; perovskite-sim/tests/unit/physics/test_contact_statistics.py::test_discrete_donor_contact_state_resolves_temperature_freeze_out, perovskite-sim/tests/unit/physics/test_statistics.py::test_discrete_donor_neutrality_closes_and_resolves_freeze_out, perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py::test_incomplete_ionization_equilibrium_closes_across_temperature, perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py::test_incomplete_ionization_poisson_derivative_matches_finite_difference, perovskite-sim/tests/unit/validation/test_incomplete_ionization_refinement.py::test_registered_executor_real_temperature_cell_matches_contract", + "blocked_use": "new N acceptance / qualified reference use for benchmark:incomplete-ionization-internal-closure", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "independent source/grid/time/mapping error in V and its qualified reference identity", + "needed_from": "benchmark-afaed356d2fa81de exact original driver/reference observation packet; perovskite-sim/tests/unit/physics/test_contact_statistics.py::test_discrete_donor_contact_state_resolves_temperature_freeze_out, perovskite-sim/tests/unit/physics/test_statistics.py::test_discrete_donor_neutrality_closes_and_resolves_freeze_out, perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py::test_incomplete_ionization_equilibrium_closes_across_temperature, perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py::test_incomplete_ionization_poisson_derivative_matches_finite_difference, perovskite-sim/tests/unit/validation/test_incomplete_ionization_refinement.py::test_registered_executor_real_temperature_cell_matches_contract", + "blocked_use": "new N acceptance / qualified reference use for benchmark:incomplete-ionization-internal-closure", + "categories": [ + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "per-species/per-connected-domain positive reference inventory numeric scale and unit (1 or m-2, according to actual CV measure)", + "needed_from": "benchmark-afaed356d2fa81de exact original driver/reference observation packet; perovskite-sim/tests/unit/physics/test_contact_statistics.py::test_discrete_donor_contact_state_resolves_temperature_freeze_out, perovskite-sim/tests/unit/physics/test_statistics.py::test_discrete_donor_neutrality_closes_and_resolves_freeze_out, perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py::test_incomplete_ionization_equilibrium_closes_across_temperature, perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py::test_incomplete_ionization_poisson_derivative_matches_finite_difference, perovskite-sim/tests/unit/validation/test_incomplete_ionization_refinement.py::test_registered_executor_real_temperature_cell_matches_contract", + "blocked_use": "new N acceptance / qualified reference use for benchmark:incomplete-ionization-internal-closure", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "zero-species/zero-cell identity and numeric dimensional absolute gate from model absence or reference error evidence", + "needed_from": "benchmark-afaed356d2fa81de exact original driver/reference observation packet; perovskite-sim/tests/unit/physics/test_contact_statistics.py::test_discrete_donor_contact_state_resolves_temperature_freeze_out, perovskite-sim/tests/unit/physics/test_statistics.py::test_discrete_donor_neutrality_closes_and_resolves_freeze_out, perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py::test_incomplete_ionization_equilibrium_closes_across_temperature, perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py::test_incomplete_ionization_poisson_derivative_matches_finite_difference, perovskite-sim/tests/unit/validation/test_incomplete_ionization_refinement.py::test_registered_executor_real_temperature_cell_matches_contract", + "blocked_use": "new N acceptance / qualified reference use for benchmark:incomplete-ionization-internal-closure", + "categories": [ + "source_configuration", + "tolerance_decision" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual volumes, component labels and independent log/inventory uncertainty", + "needed_from": "benchmark-afaed356d2fa81de exact original driver/reference observation packet; perovskite-sim/tests/unit/physics/test_contact_statistics.py::test_discrete_donor_contact_state_resolves_temperature_freeze_out, perovskite-sim/tests/unit/physics/test_statistics.py::test_discrete_donor_neutrality_closes_and_resolves_freeze_out, perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py::test_incomplete_ionization_equilibrium_closes_across_temperature, perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py::test_incomplete_ionization_poisson_derivative_matches_finite_difference, perovskite-sim/tests/unit/validation/test_incomplete_ionization_refinement.py::test_registered_executor_real_temperature_cell_matches_contract", + "blocked_use": "new N acceptance / qualified reference use for benchmark:incomplete-ionization-internal-closure", + "categories": [ + "measurement_data", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/benchmark-afaed356d2fa81de/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [], + "current_numeric_status": "prior_exact_scope_gaps_retained_and_classified" + } + }, + { + "id": "scope-benchmark-8d1003366b1bcb44", + "capability_id": "benchmark-8d1003366b1bcb44", + "route_id": "route-f13ea1085e6c91d1", + "origin_key": "benchmark:interface-charge-device-stress", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "physical_profiles_or_stored_state_history", + "CV_geometry_and_interface_sides" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "pointer": "/benchmarks/interface-charge-device-stress", + "value_sha256": "238a38f91cbc6b8045f5dda86c4f71f5eb82718ecc4347a299f14ace24797ae7" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/sweeps/test_interface_defect_sweep.py", + "symbol": "test_interface_defect_N_t_cm2_updates_charge_capacity_and_preserves_srv_ratio" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_interface_charge_stress.py", + "symbol": "test_interface_charge_stress_executor_smoke" + } + ], + "negative_only_descriptor_rule_ids": [], + "source_quantitative_assertion_ids_for_scope_audit": [ + "rule-8b006f6d257987fe0c247d81", + "rule-fa9c18eb7c4fbca8e2591961", + "rule-ea6fb5e9d607a214dcacfac9", + "rule-a45320659b0547bb6684999d", + "rule-8dc686fecf591e30f2279d38", + "rule-629603ba88dd7ac71b8bdd6a", + "rule-3fd22be7441b177b9d9c12cb", + "rule-ea3267006797e4b088c7162e" + ], + "rule_ids": [ + "M_payload", + "potential_packet", + "positive_density_log", + "density_inventory_packet", + "projection_packet" + ], + "citations": [], + "remaining_inputs": [ + { + "field": "numeric fixed thermal/physical voltage scale in V from the exact reference temperature or declared boundary parameters", + "needed_from": "benchmark-8d1003366b1bcb44 exact original driver/reference observation packet; perovskite-sim/tests/unit/sweeps/test_interface_defect_sweep.py::test_interface_defect_N_t_cm2_updates_charge_capacity_and_preserves_srv_ratio, perovskite-sim/tests/unit/validation/test_interface_charge_stress.py::test_interface_charge_stress_executor_smoke", + "blocked_use": "new N acceptance / qualified reference use for benchmark:interface-charge-device-stress" + }, + { + "field": "actual reference CV weights/support and physical gauge/contact values; allowed mask", + "needed_from": "benchmark-8d1003366b1bcb44 exact original driver/reference observation packet; perovskite-sim/tests/unit/sweeps/test_interface_defect_sweep.py::test_interface_defect_N_t_cm2_updates_charge_capacity_and_preserves_srv_ratio, perovskite-sim/tests/unit/validation/test_interface_charge_stress.py::test_interface_charge_stress_executor_smoke", + "blocked_use": "new N acceptance / qualified reference use for benchmark:interface-charge-device-stress" + }, + { + "field": "independent source/grid/time/mapping error in V and its qualified reference identity", + "needed_from": "benchmark-8d1003366b1bcb44 exact original driver/reference observation packet; perovskite-sim/tests/unit/sweeps/test_interface_defect_sweep.py::test_interface_defect_N_t_cm2_updates_charge_capacity_and_preserves_srv_ratio, perovskite-sim/tests/unit/validation/test_interface_charge_stress.py::test_interface_charge_stress_executor_smoke", + "blocked_use": "new N acceptance / qualified reference use for benchmark:interface-charge-device-stress" + }, + { + "field": "per-species/per-connected-domain positive reference inventory numeric scale and unit (1 or m-2, according to actual CV measure)", + "needed_from": "benchmark-8d1003366b1bcb44 exact original driver/reference observation packet; perovskite-sim/tests/unit/sweeps/test_interface_defect_sweep.py::test_interface_defect_N_t_cm2_updates_charge_capacity_and_preserves_srv_ratio, perovskite-sim/tests/unit/validation/test_interface_charge_stress.py::test_interface_charge_stress_executor_smoke", + "blocked_use": "new N acceptance / qualified reference use for benchmark:interface-charge-device-stress" + }, + { + "field": "zero-species/zero-cell identity and numeric dimensional absolute gate from model absence or reference error evidence", + "needed_from": "benchmark-8d1003366b1bcb44 exact original driver/reference observation packet; perovskite-sim/tests/unit/sweeps/test_interface_defect_sweep.py::test_interface_defect_N_t_cm2_updates_charge_capacity_and_preserves_srv_ratio, perovskite-sim/tests/unit/validation/test_interface_charge_stress.py::test_interface_charge_stress_executor_smoke", + "blocked_use": "new N acceptance / qualified reference use for benchmark:interface-charge-device-stress" + }, + { + "field": "actual volumes, component labels and independent log/inventory uncertainty", + "needed_from": "benchmark-8d1003366b1bcb44 exact original driver/reference observation packet; perovskite-sim/tests/unit/sweeps/test_interface_defect_sweep.py::test_interface_defect_N_t_cm2_updates_charge_capacity_and_preserves_srv_ratio, perovskite-sim/tests/unit/validation/test_interface_charge_stress.py::test_interface_charge_stress_executor_smoke", + "blocked_use": "new N acceptance / qualified reference use for benchmark:interface-charge-device-stress" + }, + { + "field": "source/target geometry and a verified conservative CV intersection/projection artifact or explicit1D cell averages", + "needed_from": "benchmark-8d1003366b1bcb44 exact original driver/reference observation packet; perovskite-sim/tests/unit/sweeps/test_interface_defect_sweep.py::test_interface_defect_N_t_cm2_updates_charge_capacity_and_preserves_srv_ratio, perovskite-sim/tests/unit/validation/test_interface_charge_stress.py::test_interface_charge_stress_executor_smoke", + "blocked_use": "new N acceptance / qualified reference use for benchmark:interface-charge-device-stress" + }, + { + "field": "fixed numeric integral/inventory/left-trace/right-trace scales and limits in their physical units", + "needed_from": "benchmark-8d1003366b1bcb44 exact original driver/reference observation packet; perovskite-sim/tests/unit/sweeps/test_interface_defect_sweep.py::test_interface_defect_N_t_cm2_updates_charge_capacity_and_preserves_srv_ratio, perovskite-sim/tests/unit/validation/test_interface_charge_stress.py::test_interface_charge_stress_executor_smoke", + "blocked_use": "new N acceptance / qualified reference use for benchmark:interface-charge-device-stress" + }, + { + "field": "projection error, component topology and every interface-side identity", + "needed_from": "benchmark-8d1003366b1bcb44 exact original driver/reference observation packet; perovskite-sim/tests/unit/sweeps/test_interface_defect_sweep.py::test_interface_defect_N_t_cm2_updates_charge_capacity_and_preserves_srv_ratio, perovskite-sim/tests/unit/validation/test_interface_charge_stress.py::test_interface_charge_stress_executor_smoke", + "blocked_use": "new N acceptance / qualified reference use for benchmark:interface-charge-device-stress" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/benchmark-8d1003366b1bcb44/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + } + ], + "downstream_tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-benchmark-8d1003366b1bcb44" + }, + "scope_specific_prior_gaps": [ + { + "field": "numeric fixed thermal/physical voltage scale in V from the exact reference temperature or declared boundary parameters", + "needed_from": "benchmark-8d1003366b1bcb44 exact original driver/reference observation packet; perovskite-sim/tests/unit/sweeps/test_interface_defect_sweep.py::test_interface_defect_N_t_cm2_updates_charge_capacity_and_preserves_srv_ratio, perovskite-sim/tests/unit/validation/test_interface_charge_stress.py::test_interface_charge_stress_executor_smoke", + "blocked_use": "new N acceptance / qualified reference use for benchmark:interface-charge-device-stress", + "categories": [ + "source_configuration" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual reference CV weights/support and physical gauge/contact values; allowed mask", + "needed_from": "benchmark-8d1003366b1bcb44 exact original driver/reference observation packet; perovskite-sim/tests/unit/sweeps/test_interface_defect_sweep.py::test_interface_defect_N_t_cm2_updates_charge_capacity_and_preserves_srv_ratio, perovskite-sim/tests/unit/validation/test_interface_charge_stress.py::test_interface_charge_stress_executor_smoke", + "blocked_use": "new N acceptance / qualified reference use for benchmark:interface-charge-device-stress", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "independent source/grid/time/mapping error in V and its qualified reference identity", + "needed_from": "benchmark-8d1003366b1bcb44 exact original driver/reference observation packet; perovskite-sim/tests/unit/sweeps/test_interface_defect_sweep.py::test_interface_defect_N_t_cm2_updates_charge_capacity_and_preserves_srv_ratio, perovskite-sim/tests/unit/validation/test_interface_charge_stress.py::test_interface_charge_stress_executor_smoke", + "blocked_use": "new N acceptance / qualified reference use for benchmark:interface-charge-device-stress", + "categories": [ + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "per-species/per-connected-domain positive reference inventory numeric scale and unit (1 or m-2, according to actual CV measure)", + "needed_from": "benchmark-8d1003366b1bcb44 exact original driver/reference observation packet; perovskite-sim/tests/unit/sweeps/test_interface_defect_sweep.py::test_interface_defect_N_t_cm2_updates_charge_capacity_and_preserves_srv_ratio, perovskite-sim/tests/unit/validation/test_interface_charge_stress.py::test_interface_charge_stress_executor_smoke", + "blocked_use": "new N acceptance / qualified reference use for benchmark:interface-charge-device-stress", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "zero-species/zero-cell identity and numeric dimensional absolute gate from model absence or reference error evidence", + "needed_from": "benchmark-8d1003366b1bcb44 exact original driver/reference observation packet; perovskite-sim/tests/unit/sweeps/test_interface_defect_sweep.py::test_interface_defect_N_t_cm2_updates_charge_capacity_and_preserves_srv_ratio, perovskite-sim/tests/unit/validation/test_interface_charge_stress.py::test_interface_charge_stress_executor_smoke", + "blocked_use": "new N acceptance / qualified reference use for benchmark:interface-charge-device-stress", + "categories": [ + "source_configuration", + "tolerance_decision" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual volumes, component labels and independent log/inventory uncertainty", + "needed_from": "benchmark-8d1003366b1bcb44 exact original driver/reference observation packet; perovskite-sim/tests/unit/sweeps/test_interface_defect_sweep.py::test_interface_defect_N_t_cm2_updates_charge_capacity_and_preserves_srv_ratio, perovskite-sim/tests/unit/validation/test_interface_charge_stress.py::test_interface_charge_stress_executor_smoke", + "blocked_use": "new N acceptance / qualified reference use for benchmark:interface-charge-device-stress", + "categories": [ + "measurement_data", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "source/target geometry and a verified conservative CV intersection/projection artifact or explicit1D cell averages", + "needed_from": "benchmark-8d1003366b1bcb44 exact original driver/reference observation packet; perovskite-sim/tests/unit/sweeps/test_interface_defect_sweep.py::test_interface_defect_N_t_cm2_updates_charge_capacity_and_preserves_srv_ratio, perovskite-sim/tests/unit/validation/test_interface_charge_stress.py::test_interface_charge_stress_executor_smoke", + "blocked_use": "new N acceptance / qualified reference use for benchmark:interface-charge-device-stress", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "fixed numeric integral/inventory/left-trace/right-trace scales and limits in their physical units", + "needed_from": "benchmark-8d1003366b1bcb44 exact original driver/reference observation packet; perovskite-sim/tests/unit/sweeps/test_interface_defect_sweep.py::test_interface_defect_N_t_cm2_updates_charge_capacity_and_preserves_srv_ratio, perovskite-sim/tests/unit/validation/test_interface_charge_stress.py::test_interface_charge_stress_executor_smoke", + "blocked_use": "new N acceptance / qualified reference use for benchmark:interface-charge-device-stress", + "categories": [ + "source_configuration", + "tolerance_decision" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "projection error, component topology and every interface-side identity", + "needed_from": "benchmark-8d1003366b1bcb44 exact original driver/reference observation packet; perovskite-sim/tests/unit/sweeps/test_interface_defect_sweep.py::test_interface_defect_N_t_cm2_updates_charge_capacity_and_preserves_srv_ratio, perovskite-sim/tests/unit/validation/test_interface_charge_stress.py::test_interface_charge_stress_executor_smoke", + "blocked_use": "new N acceptance / qualified reference use for benchmark:interface-charge-device-stress", + "categories": [ + "source_configuration", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/benchmark-8d1003366b1bcb44/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [], + "current_numeric_status": "prior_exact_scope_gaps_retained_and_classified" + } + }, + { + "id": "scope-benchmark-66079d06baa87db2", + "capability_id": "benchmark-66079d06baa87db2", + "route_id": "route-f13ea1085e6c91d1", + "origin_key": "benchmark:interface-charge-jv-api-integration", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "physical_profiles_or_stored_state_history", + "JV_metrics_and_full_branch", + "current_observation_or_current_input", + "CV_geometry_and_interface_sides" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "pointer": "/benchmarks/interface-charge-jv-api-integration", + "value_sha256": "73cb74a2568187397278be38391a1b011d3a88706f52c474370a90b121cbf758" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py", + "symbol": "test_charged_protocol_resolver_builds_the_canonical_zero_scan_contract" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py", + "symbol": "test_real_async_charged_jv_worker_preserves_protocol_and_evidence" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py", + "symbol": "test_real_sync_charged_jv_api_returns_certified_point_evidence" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py", + "symbol": "test_protocol_round_trip_and_hash_bind_every_field" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py", + "symbol": "test_real_small_grid_charged_jv_has_pointwise_evidence" + } + ], + "negative_only_descriptor_rule_ids": [], + "source_quantitative_assertion_ids_for_scope_audit": [ + "rule-5c00ca47501090076575ab22", + "rule-2c072ccce88b94f8f6834252", + "rule-bdbae6d7d9e75368d83c51b2", + "rule-dc390075f1af30a7919a82f1" + ], + "rule_ids": [ + "M_payload", + "potential_packet", + "positive_density_log", + "density_inventory_packet", + "Voc_absolute", + "JV_metric_packet", + "current_packet", + "projection_packet" + ], + "citations": [], + "remaining_inputs": [ + { + "field": "numeric fixed thermal/physical voltage scale in V from the exact reference temperature or declared boundary parameters", + "needed_from": "benchmark-66079d06baa87db2 exact original driver/reference observation packet; perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py::test_charged_protocol_resolver_builds_the_canonical_zero_scan_contract, perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py::test_real_async_charged_jv_worker_preserves_protocol_and_evidence, perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py::test_real_sync_charged_jv_api_returns_certified_point_evidence, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_protocol_round_trip_and_hash_bind_every_field, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_real_small_grid_charged_jv_has_pointwise_evidence", + "blocked_use": "new N acceptance / qualified reference use for benchmark:interface-charge-jv-api-integration" + }, + { + "field": "actual reference CV weights/support and physical gauge/contact values; allowed mask", + "needed_from": "benchmark-66079d06baa87db2 exact original driver/reference observation packet; perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py::test_charged_protocol_resolver_builds_the_canonical_zero_scan_contract, perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py::test_real_async_charged_jv_worker_preserves_protocol_and_evidence, perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py::test_real_sync_charged_jv_api_returns_certified_point_evidence, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_protocol_round_trip_and_hash_bind_every_field, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_real_small_grid_charged_jv_has_pointwise_evidence", + "blocked_use": "new N acceptance / qualified reference use for benchmark:interface-charge-jv-api-integration" + }, + { + "field": "independent source/grid/time/mapping error in V and its qualified reference identity", + "needed_from": "benchmark-66079d06baa87db2 exact original driver/reference observation packet; perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py::test_charged_protocol_resolver_builds_the_canonical_zero_scan_contract, perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py::test_real_async_charged_jv_worker_preserves_protocol_and_evidence, perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py::test_real_sync_charged_jv_api_returns_certified_point_evidence, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_protocol_round_trip_and_hash_bind_every_field, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_real_small_grid_charged_jv_has_pointwise_evidence", + "blocked_use": "new N acceptance / qualified reference use for benchmark:interface-charge-jv-api-integration" + }, + { + "field": "per-species/per-connected-domain positive reference inventory numeric scale and unit (1 or m-2, according to actual CV measure)", + "needed_from": "benchmark-66079d06baa87db2 exact original driver/reference observation packet; perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py::test_charged_protocol_resolver_builds_the_canonical_zero_scan_contract, perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py::test_real_async_charged_jv_worker_preserves_protocol_and_evidence, perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py::test_real_sync_charged_jv_api_returns_certified_point_evidence, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_protocol_round_trip_and_hash_bind_every_field, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_real_small_grid_charged_jv_has_pointwise_evidence", + "blocked_use": "new N acceptance / qualified reference use for benchmark:interface-charge-jv-api-integration" + }, + { + "field": "zero-species/zero-cell identity and numeric dimensional absolute gate from model absence or reference error evidence", + "needed_from": "benchmark-66079d06baa87db2 exact original driver/reference observation packet; perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py::test_charged_protocol_resolver_builds_the_canonical_zero_scan_contract, perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py::test_real_async_charged_jv_worker_preserves_protocol_and_evidence, perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py::test_real_sync_charged_jv_api_returns_certified_point_evidence, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_protocol_round_trip_and_hash_bind_every_field, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_real_small_grid_charged_jv_has_pointwise_evidence", + "blocked_use": "new N acceptance / qualified reference use for benchmark:interface-charge-jv-api-integration" + }, + { + "field": "actual volumes, component labels and independent log/inventory uncertainty", + "needed_from": "benchmark-66079d06baa87db2 exact original driver/reference observation packet; perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py::test_charged_protocol_resolver_builds_the_canonical_zero_scan_contract, perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py::test_real_async_charged_jv_worker_preserves_protocol_and_evidence, perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py::test_real_sync_charged_jv_api_returns_certified_point_evidence, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_protocol_round_trip_and_hash_bind_every_field, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_real_small_grid_charged_jv_has_pointwise_evidence", + "blocked_use": "new N acceptance / qualified reference use for benchmark:interface-charge-jv-api-integration" + }, + { + "field": "fixed numeric Jsc/FF/PCE reference values/scales with the actual output units and conversion identity", + "needed_from": "benchmark-66079d06baa87db2 exact original driver/reference observation packet; perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py::test_charged_protocol_resolver_builds_the_canonical_zero_scan_contract, perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py::test_real_async_charged_jv_worker_preserves_protocol_and_evidence, perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py::test_real_sync_charged_jv_api_returns_certified_point_evidence, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_protocol_round_trip_and_hash_bind_every_field, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_real_small_grid_charged_jv_has_pointwise_evidence", + "blocked_use": "new N acceptance / qualified reference use for benchmark:interface-charge-jv-api-integration" + }, + { + "field": "dimensional dark/weak Jsc and zero-power absolute limits with error evidence", + "needed_from": "benchmark-66079d06baa87db2 exact original driver/reference observation packet; perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py::test_charged_protocol_resolver_builds_the_canonical_zero_scan_contract, perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py::test_real_async_charged_jv_worker_preserves_protocol_and_evidence, perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py::test_real_sync_charged_jv_api_returns_certified_point_evidence, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_protocol_round_trip_and_hash_bind_every_field, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_real_small_grid_charged_jv_has_pointwise_evidence", + "blocked_use": "new N acceptance / qualified reference use for benchmark:interface-charge-jv-api-integration" + }, + { + "field": "Voc bracket, dJ/dV and current-error propagation bound; MPP sampling and full branch coordinates", + "needed_from": "benchmark-66079d06baa87db2 exact original driver/reference observation packet; perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py::test_charged_protocol_resolver_builds_the_canonical_zero_scan_contract, perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py::test_real_async_charged_jv_worker_preserves_protocol_and_evidence, perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py::test_real_sync_charged_jv_api_returns_certified_point_evidence, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_protocol_round_trip_and_hash_bind_every_field, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_real_small_grid_charged_jv_has_pointwise_evidence", + "blocked_use": "new N acceptance / qualified reference use for benchmark:interface-charge-jv-api-integration" + }, + { + "field": "numeric reference current scale and absolute weak/zero current allowance, in the actual A or A m-2 output unit", + "needed_from": "benchmark-66079d06baa87db2 exact original driver/reference observation packet; perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py::test_charged_protocol_resolver_builds_the_canonical_zero_scan_contract, perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py::test_real_async_charged_jv_worker_preserves_protocol_and_evidence, perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py::test_real_sync_charged_jv_api_returns_certified_point_evidence, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_protocol_round_trip_and_hash_bind_every_field, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_real_small_grid_charged_jv_has_pointwise_evidence", + "blocked_use": "new N acceptance / qualified reference use for benchmark:interface-charge-jv-api-integration" + }, + { + "field": "each component/sign/port/support, observation times and both event sides", + "needed_from": "benchmark-66079d06baa87db2 exact original driver/reference observation packet; perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py::test_charged_protocol_resolver_builds_the_canonical_zero_scan_contract, perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py::test_real_async_charged_jv_worker_preserves_protocol_and_evidence, perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py::test_real_sync_charged_jv_api_returns_certified_point_evidence, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_protocol_round_trip_and_hash_bind_every_field, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_real_small_grid_charged_jv_has_pointwise_evidence", + "blocked_use": "new N acceptance / qualified reference use for benchmark:interface-charge-jv-api-integration" + }, + { + "field": "pointwise current uncertainty and a pointwise comparison limit; integrated charge is not a substitute", + "needed_from": "benchmark-66079d06baa87db2 exact original driver/reference observation packet; perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py::test_charged_protocol_resolver_builds_the_canonical_zero_scan_contract, perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py::test_real_async_charged_jv_worker_preserves_protocol_and_evidence, perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py::test_real_sync_charged_jv_api_returns_certified_point_evidence, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_protocol_round_trip_and_hash_bind_every_field, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_real_small_grid_charged_jv_has_pointwise_evidence", + "blocked_use": "new N acceptance / qualified reference use for benchmark:interface-charge-jv-api-integration" + }, + { + "field": "source/target geometry and a verified conservative CV intersection/projection artifact or explicit1D cell averages", + "needed_from": "benchmark-66079d06baa87db2 exact original driver/reference observation packet; perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py::test_charged_protocol_resolver_builds_the_canonical_zero_scan_contract, perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py::test_real_async_charged_jv_worker_preserves_protocol_and_evidence, perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py::test_real_sync_charged_jv_api_returns_certified_point_evidence, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_protocol_round_trip_and_hash_bind_every_field, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_real_small_grid_charged_jv_has_pointwise_evidence", + "blocked_use": "new N acceptance / qualified reference use for benchmark:interface-charge-jv-api-integration" + }, + { + "field": "fixed numeric integral/inventory/left-trace/right-trace scales and limits in their physical units", + "needed_from": "benchmark-66079d06baa87db2 exact original driver/reference observation packet; perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py::test_charged_protocol_resolver_builds_the_canonical_zero_scan_contract, perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py::test_real_async_charged_jv_worker_preserves_protocol_and_evidence, perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py::test_real_sync_charged_jv_api_returns_certified_point_evidence, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_protocol_round_trip_and_hash_bind_every_field, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_real_small_grid_charged_jv_has_pointwise_evidence", + "blocked_use": "new N acceptance / qualified reference use for benchmark:interface-charge-jv-api-integration" + }, + { + "field": "projection error, component topology and every interface-side identity", + "needed_from": "benchmark-66079d06baa87db2 exact original driver/reference observation packet; perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py::test_charged_protocol_resolver_builds_the_canonical_zero_scan_contract, perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py::test_real_async_charged_jv_worker_preserves_protocol_and_evidence, perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py::test_real_sync_charged_jv_api_returns_certified_point_evidence, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_protocol_round_trip_and_hash_bind_every_field, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_real_small_grid_charged_jv_has_pointwise_evidence", + "blocked_use": "new N acceptance / qualified reference use for benchmark:interface-charge-jv-api-integration" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/benchmark-66079d06baa87db2/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + } + ], + "downstream_tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-benchmark-66079d06baa87db2" + }, + "scope_specific_prior_gaps": [ + { + "field": "numeric fixed thermal/physical voltage scale in V from the exact reference temperature or declared boundary parameters", + "needed_from": "benchmark-66079d06baa87db2 exact original driver/reference observation packet; perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py::test_charged_protocol_resolver_builds_the_canonical_zero_scan_contract, perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py::test_real_async_charged_jv_worker_preserves_protocol_and_evidence, perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py::test_real_sync_charged_jv_api_returns_certified_point_evidence, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_protocol_round_trip_and_hash_bind_every_field, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_real_small_grid_charged_jv_has_pointwise_evidence", + "blocked_use": "new N acceptance / qualified reference use for benchmark:interface-charge-jv-api-integration", + "categories": [ + "source_configuration" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual reference CV weights/support and physical gauge/contact values; allowed mask", + "needed_from": "benchmark-66079d06baa87db2 exact original driver/reference observation packet; perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py::test_charged_protocol_resolver_builds_the_canonical_zero_scan_contract, perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py::test_real_async_charged_jv_worker_preserves_protocol_and_evidence, perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py::test_real_sync_charged_jv_api_returns_certified_point_evidence, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_protocol_round_trip_and_hash_bind_every_field, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_real_small_grid_charged_jv_has_pointwise_evidence", + "blocked_use": "new N acceptance / qualified reference use for benchmark:interface-charge-jv-api-integration", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "independent source/grid/time/mapping error in V and its qualified reference identity", + "needed_from": "benchmark-66079d06baa87db2 exact original driver/reference observation packet; perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py::test_charged_protocol_resolver_builds_the_canonical_zero_scan_contract, perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py::test_real_async_charged_jv_worker_preserves_protocol_and_evidence, perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py::test_real_sync_charged_jv_api_returns_certified_point_evidence, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_protocol_round_trip_and_hash_bind_every_field, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_real_small_grid_charged_jv_has_pointwise_evidence", + "blocked_use": "new N acceptance / qualified reference use for benchmark:interface-charge-jv-api-integration", + "categories": [ + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "per-species/per-connected-domain positive reference inventory numeric scale and unit (1 or m-2, according to actual CV measure)", + "needed_from": "benchmark-66079d06baa87db2 exact original driver/reference observation packet; perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py::test_charged_protocol_resolver_builds_the_canonical_zero_scan_contract, perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py::test_real_async_charged_jv_worker_preserves_protocol_and_evidence, perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py::test_real_sync_charged_jv_api_returns_certified_point_evidence, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_protocol_round_trip_and_hash_bind_every_field, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_real_small_grid_charged_jv_has_pointwise_evidence", + "blocked_use": "new N acceptance / qualified reference use for benchmark:interface-charge-jv-api-integration", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "zero-species/zero-cell identity and numeric dimensional absolute gate from model absence or reference error evidence", + "needed_from": "benchmark-66079d06baa87db2 exact original driver/reference observation packet; perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py::test_charged_protocol_resolver_builds_the_canonical_zero_scan_contract, perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py::test_real_async_charged_jv_worker_preserves_protocol_and_evidence, perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py::test_real_sync_charged_jv_api_returns_certified_point_evidence, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_protocol_round_trip_and_hash_bind_every_field, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_real_small_grid_charged_jv_has_pointwise_evidence", + "blocked_use": "new N acceptance / qualified reference use for benchmark:interface-charge-jv-api-integration", + "categories": [ + "source_configuration", + "tolerance_decision" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual volumes, component labels and independent log/inventory uncertainty", + "needed_from": "benchmark-66079d06baa87db2 exact original driver/reference observation packet; perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py::test_charged_protocol_resolver_builds_the_canonical_zero_scan_contract, perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py::test_real_async_charged_jv_worker_preserves_protocol_and_evidence, perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py::test_real_sync_charged_jv_api_returns_certified_point_evidence, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_protocol_round_trip_and_hash_bind_every_field, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_real_small_grid_charged_jv_has_pointwise_evidence", + "blocked_use": "new N acceptance / qualified reference use for benchmark:interface-charge-jv-api-integration", + "categories": [ + "measurement_data", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "fixed numeric Jsc/FF/PCE reference values/scales with the actual output units and conversion identity", + "needed_from": "benchmark-66079d06baa87db2 exact original driver/reference observation packet; perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py::test_charged_protocol_resolver_builds_the_canonical_zero_scan_contract, perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py::test_real_async_charged_jv_worker_preserves_protocol_and_evidence, perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py::test_real_sync_charged_jv_api_returns_certified_point_evidence, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_protocol_round_trip_and_hash_bind_every_field, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_real_small_grid_charged_jv_has_pointwise_evidence", + "blocked_use": "new N acceptance / qualified reference use for benchmark:interface-charge-jv-api-integration", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "dimensional dark/weak Jsc and zero-power absolute limits with error evidence", + "needed_from": "benchmark-66079d06baa87db2 exact original driver/reference observation packet; perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py::test_charged_protocol_resolver_builds_the_canonical_zero_scan_contract, perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py::test_real_async_charged_jv_worker_preserves_protocol_and_evidence, perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py::test_real_sync_charged_jv_api_returns_certified_point_evidence, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_protocol_round_trip_and_hash_bind_every_field, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_real_small_grid_charged_jv_has_pointwise_evidence", + "blocked_use": "new N acceptance / qualified reference use for benchmark:interface-charge-jv-api-integration", + "categories": [ + "tolerance_decision", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "Voc bracket, dJ/dV and current-error propagation bound; MPP sampling and full branch coordinates", + "needed_from": "benchmark-66079d06baa87db2 exact original driver/reference observation packet; perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py::test_charged_protocol_resolver_builds_the_canonical_zero_scan_contract, perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py::test_real_async_charged_jv_worker_preserves_protocol_and_evidence, perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py::test_real_sync_charged_jv_api_returns_certified_point_evidence, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_protocol_round_trip_and_hash_bind_every_field, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_real_small_grid_charged_jv_has_pointwise_evidence", + "blocked_use": "new N acceptance / qualified reference use for benchmark:interface-charge-jv-api-integration", + "categories": [ + "measurement_data", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "numeric reference current scale and absolute weak/zero current allowance, in the actual A or A m-2 output unit", + "needed_from": "benchmark-66079d06baa87db2 exact original driver/reference observation packet; perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py::test_charged_protocol_resolver_builds_the_canonical_zero_scan_contract, perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py::test_real_async_charged_jv_worker_preserves_protocol_and_evidence, perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py::test_real_sync_charged_jv_api_returns_certified_point_evidence, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_protocol_round_trip_and_hash_bind_every_field, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_real_small_grid_charged_jv_has_pointwise_evidence", + "blocked_use": "new N acceptance / qualified reference use for benchmark:interface-charge-jv-api-integration", + "categories": [ + "source_configuration", + "tolerance_decision" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "each component/sign/port/support, observation times and both event sides", + "needed_from": "benchmark-66079d06baa87db2 exact original driver/reference observation packet; perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py::test_charged_protocol_resolver_builds_the_canonical_zero_scan_contract, perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py::test_real_async_charged_jv_worker_preserves_protocol_and_evidence, perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py::test_real_sync_charged_jv_api_returns_certified_point_evidence, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_protocol_round_trip_and_hash_bind_every_field, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_real_small_grid_charged_jv_has_pointwise_evidence", + "blocked_use": "new N acceptance / qualified reference use for benchmark:interface-charge-jv-api-integration", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "pointwise current uncertainty and a pointwise comparison limit; integrated charge is not a substitute", + "needed_from": "benchmark-66079d06baa87db2 exact original driver/reference observation packet; perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py::test_charged_protocol_resolver_builds_the_canonical_zero_scan_contract, perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py::test_real_async_charged_jv_worker_preserves_protocol_and_evidence, perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py::test_real_sync_charged_jv_api_returns_certified_point_evidence, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_protocol_round_trip_and_hash_bind_every_field, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_real_small_grid_charged_jv_has_pointwise_evidence", + "blocked_use": "new N acceptance / qualified reference use for benchmark:interface-charge-jv-api-integration", + "categories": [ + "tolerance_decision", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "source/target geometry and a verified conservative CV intersection/projection artifact or explicit1D cell averages", + "needed_from": "benchmark-66079d06baa87db2 exact original driver/reference observation packet; perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py::test_charged_protocol_resolver_builds_the_canonical_zero_scan_contract, perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py::test_real_async_charged_jv_worker_preserves_protocol_and_evidence, perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py::test_real_sync_charged_jv_api_returns_certified_point_evidence, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_protocol_round_trip_and_hash_bind_every_field, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_real_small_grid_charged_jv_has_pointwise_evidence", + "blocked_use": "new N acceptance / qualified reference use for benchmark:interface-charge-jv-api-integration", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "fixed numeric integral/inventory/left-trace/right-trace scales and limits in their physical units", + "needed_from": "benchmark-66079d06baa87db2 exact original driver/reference observation packet; perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py::test_charged_protocol_resolver_builds_the_canonical_zero_scan_contract, perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py::test_real_async_charged_jv_worker_preserves_protocol_and_evidence, perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py::test_real_sync_charged_jv_api_returns_certified_point_evidence, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_protocol_round_trip_and_hash_bind_every_field, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_real_small_grid_charged_jv_has_pointwise_evidence", + "blocked_use": "new N acceptance / qualified reference use for benchmark:interface-charge-jv-api-integration", + "categories": [ + "source_configuration", + "tolerance_decision" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "projection error, component topology and every interface-side identity", + "needed_from": "benchmark-66079d06baa87db2 exact original driver/reference observation packet; perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py::test_charged_protocol_resolver_builds_the_canonical_zero_scan_contract, perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py::test_real_async_charged_jv_worker_preserves_protocol_and_evidence, perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py::test_real_sync_charged_jv_api_returns_certified_point_evidence, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_protocol_round_trip_and_hash_bind_every_field, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_real_small_grid_charged_jv_has_pointwise_evidence", + "blocked_use": "new N acceptance / qualified reference use for benchmark:interface-charge-jv-api-integration", + "categories": [ + "source_configuration", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/benchmark-66079d06baa87db2/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [], + "current_numeric_status": "prior_exact_scope_gaps_retained_and_classified" + } + }, + { + "id": "scope-benchmark-d421981a0850b957", + "capability_id": "benchmark-d421981a0850b957", + "route_id": "route-f13ea1085e6c91d1", + "origin_key": "benchmark:interface-charge-off-qf-reference", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "physical_profiles_or_stored_state_history", + "CV_geometry_and_interface_sides" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "pointer": "/benchmarks/interface-charge-off-qf-reference", + "value_sha256": "2d26aa90bbf6b82315b8b07db80942044c683e3a342ae8ae85c507d563caf709" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_refinement_executors.py", + "symbol": "test_interface_charge_off_executor_smoke" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_refinement_executors.py", + "symbol": "test_two_sided_interface_evidence_checks_carrier_and_state_balance" + } + ], + "negative_only_descriptor_rule_ids": [], + "source_quantitative_assertion_ids_for_scope_audit": [ + "rule-09228f0532bfc444cfc87b75", + "rule-ab7dd30f5533f58e3f08ea79", + "rule-1b7d8227781dbabb5d201211", + "rule-b5a429e57ead73d9dc750042", + "rule-b06d896b151ef9a940140ca6" + ], + "rule_ids": [ + "M_payload", + "potential_packet", + "positive_density_log", + "density_inventory_packet", + "projection_packet" + ], + "citations": [], + "remaining_inputs": [ + { + "field": "numeric fixed thermal/physical voltage scale in V from the exact reference temperature or declared boundary parameters", + "needed_from": "benchmark-d421981a0850b957 exact original driver/reference observation packet; perovskite-sim/tests/unit/validation/test_refinement_executors.py::test_interface_charge_off_executor_smoke, perovskite-sim/tests/unit/validation/test_refinement_executors.py::test_two_sided_interface_evidence_checks_carrier_and_state_balance", + "blocked_use": "new N acceptance / qualified reference use for benchmark:interface-charge-off-qf-reference" + }, + { + "field": "actual reference CV weights/support and physical gauge/contact values; allowed mask", + "needed_from": "benchmark-d421981a0850b957 exact original driver/reference observation packet; perovskite-sim/tests/unit/validation/test_refinement_executors.py::test_interface_charge_off_executor_smoke, perovskite-sim/tests/unit/validation/test_refinement_executors.py::test_two_sided_interface_evidence_checks_carrier_and_state_balance", + "blocked_use": "new N acceptance / qualified reference use for benchmark:interface-charge-off-qf-reference" + }, + { + "field": "independent source/grid/time/mapping error in V and its qualified reference identity", + "needed_from": "benchmark-d421981a0850b957 exact original driver/reference observation packet; perovskite-sim/tests/unit/validation/test_refinement_executors.py::test_interface_charge_off_executor_smoke, perovskite-sim/tests/unit/validation/test_refinement_executors.py::test_two_sided_interface_evidence_checks_carrier_and_state_balance", + "blocked_use": "new N acceptance / qualified reference use for benchmark:interface-charge-off-qf-reference" + }, + { + "field": "per-species/per-connected-domain positive reference inventory numeric scale and unit (1 or m-2, according to actual CV measure)", + "needed_from": "benchmark-d421981a0850b957 exact original driver/reference observation packet; perovskite-sim/tests/unit/validation/test_refinement_executors.py::test_interface_charge_off_executor_smoke, perovskite-sim/tests/unit/validation/test_refinement_executors.py::test_two_sided_interface_evidence_checks_carrier_and_state_balance", + "blocked_use": "new N acceptance / qualified reference use for benchmark:interface-charge-off-qf-reference" + }, + { + "field": "zero-species/zero-cell identity and numeric dimensional absolute gate from model absence or reference error evidence", + "needed_from": "benchmark-d421981a0850b957 exact original driver/reference observation packet; perovskite-sim/tests/unit/validation/test_refinement_executors.py::test_interface_charge_off_executor_smoke, perovskite-sim/tests/unit/validation/test_refinement_executors.py::test_two_sided_interface_evidence_checks_carrier_and_state_balance", + "blocked_use": "new N acceptance / qualified reference use for benchmark:interface-charge-off-qf-reference" + }, + { + "field": "actual volumes, component labels and independent log/inventory uncertainty", + "needed_from": "benchmark-d421981a0850b957 exact original driver/reference observation packet; perovskite-sim/tests/unit/validation/test_refinement_executors.py::test_interface_charge_off_executor_smoke, perovskite-sim/tests/unit/validation/test_refinement_executors.py::test_two_sided_interface_evidence_checks_carrier_and_state_balance", + "blocked_use": "new N acceptance / qualified reference use for benchmark:interface-charge-off-qf-reference" + }, + { + "field": "source/target geometry and a verified conservative CV intersection/projection artifact or explicit1D cell averages", + "needed_from": "benchmark-d421981a0850b957 exact original driver/reference observation packet; perovskite-sim/tests/unit/validation/test_refinement_executors.py::test_interface_charge_off_executor_smoke, perovskite-sim/tests/unit/validation/test_refinement_executors.py::test_two_sided_interface_evidence_checks_carrier_and_state_balance", + "blocked_use": "new N acceptance / qualified reference use for benchmark:interface-charge-off-qf-reference" + }, + { + "field": "fixed numeric integral/inventory/left-trace/right-trace scales and limits in their physical units", + "needed_from": "benchmark-d421981a0850b957 exact original driver/reference observation packet; perovskite-sim/tests/unit/validation/test_refinement_executors.py::test_interface_charge_off_executor_smoke, perovskite-sim/tests/unit/validation/test_refinement_executors.py::test_two_sided_interface_evidence_checks_carrier_and_state_balance", + "blocked_use": "new N acceptance / qualified reference use for benchmark:interface-charge-off-qf-reference" + }, + { + "field": "projection error, component topology and every interface-side identity", + "needed_from": "benchmark-d421981a0850b957 exact original driver/reference observation packet; perovskite-sim/tests/unit/validation/test_refinement_executors.py::test_interface_charge_off_executor_smoke, perovskite-sim/tests/unit/validation/test_refinement_executors.py::test_two_sided_interface_evidence_checks_carrier_and_state_balance", + "blocked_use": "new N acceptance / qualified reference use for benchmark:interface-charge-off-qf-reference" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/benchmark-d421981a0850b957/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + } + ], + "downstream_tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-benchmark-d421981a0850b957" + }, + "scope_specific_prior_gaps": [ + { + "field": "numeric fixed thermal/physical voltage scale in V from the exact reference temperature or declared boundary parameters", + "needed_from": "benchmark-d421981a0850b957 exact original driver/reference observation packet; perovskite-sim/tests/unit/validation/test_refinement_executors.py::test_interface_charge_off_executor_smoke, perovskite-sim/tests/unit/validation/test_refinement_executors.py::test_two_sided_interface_evidence_checks_carrier_and_state_balance", + "blocked_use": "new N acceptance / qualified reference use for benchmark:interface-charge-off-qf-reference", + "categories": [ + "source_configuration" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual reference CV weights/support and physical gauge/contact values; allowed mask", + "needed_from": "benchmark-d421981a0850b957 exact original driver/reference observation packet; perovskite-sim/tests/unit/validation/test_refinement_executors.py::test_interface_charge_off_executor_smoke, perovskite-sim/tests/unit/validation/test_refinement_executors.py::test_two_sided_interface_evidence_checks_carrier_and_state_balance", + "blocked_use": "new N acceptance / qualified reference use for benchmark:interface-charge-off-qf-reference", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "independent source/grid/time/mapping error in V and its qualified reference identity", + "needed_from": "benchmark-d421981a0850b957 exact original driver/reference observation packet; perovskite-sim/tests/unit/validation/test_refinement_executors.py::test_interface_charge_off_executor_smoke, perovskite-sim/tests/unit/validation/test_refinement_executors.py::test_two_sided_interface_evidence_checks_carrier_and_state_balance", + "blocked_use": "new N acceptance / qualified reference use for benchmark:interface-charge-off-qf-reference", + "categories": [ + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "per-species/per-connected-domain positive reference inventory numeric scale and unit (1 or m-2, according to actual CV measure)", + "needed_from": "benchmark-d421981a0850b957 exact original driver/reference observation packet; perovskite-sim/tests/unit/validation/test_refinement_executors.py::test_interface_charge_off_executor_smoke, perovskite-sim/tests/unit/validation/test_refinement_executors.py::test_two_sided_interface_evidence_checks_carrier_and_state_balance", + "blocked_use": "new N acceptance / qualified reference use for benchmark:interface-charge-off-qf-reference", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "zero-species/zero-cell identity and numeric dimensional absolute gate from model absence or reference error evidence", + "needed_from": "benchmark-d421981a0850b957 exact original driver/reference observation packet; perovskite-sim/tests/unit/validation/test_refinement_executors.py::test_interface_charge_off_executor_smoke, perovskite-sim/tests/unit/validation/test_refinement_executors.py::test_two_sided_interface_evidence_checks_carrier_and_state_balance", + "blocked_use": "new N acceptance / qualified reference use for benchmark:interface-charge-off-qf-reference", + "categories": [ + "source_configuration", + "tolerance_decision" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual volumes, component labels and independent log/inventory uncertainty", + "needed_from": "benchmark-d421981a0850b957 exact original driver/reference observation packet; perovskite-sim/tests/unit/validation/test_refinement_executors.py::test_interface_charge_off_executor_smoke, perovskite-sim/tests/unit/validation/test_refinement_executors.py::test_two_sided_interface_evidence_checks_carrier_and_state_balance", + "blocked_use": "new N acceptance / qualified reference use for benchmark:interface-charge-off-qf-reference", + "categories": [ + "measurement_data", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "source/target geometry and a verified conservative CV intersection/projection artifact or explicit1D cell averages", + "needed_from": "benchmark-d421981a0850b957 exact original driver/reference observation packet; perovskite-sim/tests/unit/validation/test_refinement_executors.py::test_interface_charge_off_executor_smoke, perovskite-sim/tests/unit/validation/test_refinement_executors.py::test_two_sided_interface_evidence_checks_carrier_and_state_balance", + "blocked_use": "new N acceptance / qualified reference use for benchmark:interface-charge-off-qf-reference", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "fixed numeric integral/inventory/left-trace/right-trace scales and limits in their physical units", + "needed_from": "benchmark-d421981a0850b957 exact original driver/reference observation packet; perovskite-sim/tests/unit/validation/test_refinement_executors.py::test_interface_charge_off_executor_smoke, perovskite-sim/tests/unit/validation/test_refinement_executors.py::test_two_sided_interface_evidence_checks_carrier_and_state_balance", + "blocked_use": "new N acceptance / qualified reference use for benchmark:interface-charge-off-qf-reference", + "categories": [ + "source_configuration", + "tolerance_decision" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "projection error, component topology and every interface-side identity", + "needed_from": "benchmark-d421981a0850b957 exact original driver/reference observation packet; perovskite-sim/tests/unit/validation/test_refinement_executors.py::test_interface_charge_off_executor_smoke, perovskite-sim/tests/unit/validation/test_refinement_executors.py::test_two_sided_interface_evidence_checks_carrier_and_state_balance", + "blocked_use": "new N acceptance / qualified reference use for benchmark:interface-charge-off-qf-reference", + "categories": [ + "source_configuration", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/benchmark-d421981a0850b957/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [], + "current_numeric_status": "prior_exact_scope_gaps_retained_and_classified" + } + }, + { + "id": "scope-benchmark-1006540a4310894f", + "capability_id": "benchmark-1006540a4310894f", + "route_id": "route-f13ea1085e6c91d1", + "origin_key": "benchmark:interface-charge-qf-research", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "physical_profiles_or_stored_state_history", + "CV_geometry_and_interface_sides" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "pointer": "/benchmarks/interface-charge-qf-research", + "value_sha256": "6965398e02450f3a9818a5f9a7a9cd36a3ffc1c9bdf447fe1839ec6f22edf3ca" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py", + "symbol": "test_charged_outer_poisson_closes_and_reference_state_has_zero_charge" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py", + "symbol": "test_research_api_binds_dark_reference_and_keeps_production_gate_parked" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_refinement_executors.py", + "symbol": "test_equilibrium_referenced_interface_charge_executor_smoke" + } + ], + "negative_only_descriptor_rule_ids": [], + "source_quantitative_assertion_ids_for_scope_audit": [ + "rule-dae297094b1b96569e63a0bd", + "rule-f96ede74fafc065ef0a8446e", + "rule-07a8be0e445b2471d71a0427", + "rule-b875082e2552f8ef20926db5", + "rule-d1f3eedf4662445df7de98cf", + "rule-cd0bbc0d72995abf809870c8", + "rule-1a400b20980e0e2da4cd87ce", + "rule-bf59f2fea306ff0639c96d8d" + ], + "rule_ids": [ + "M_payload", + "potential_packet", + "positive_density_log", + "density_inventory_packet", + "projection_packet" + ], + "citations": [], + "remaining_inputs": [ + { + "field": "numeric fixed thermal/physical voltage scale in V from the exact reference temperature or declared boundary parameters", + "needed_from": "benchmark-1006540a4310894f exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py::test_charged_outer_poisson_closes_and_reference_state_has_zero_charge, perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py::test_research_api_binds_dark_reference_and_keeps_production_gate_parked, perovskite-sim/tests/unit/validation/test_refinement_executors.py::test_equilibrium_referenced_interface_charge_executor_smoke", + "blocked_use": "new N acceptance / qualified reference use for benchmark:interface-charge-qf-research" + }, + { + "field": "actual reference CV weights/support and physical gauge/contact values; allowed mask", + "needed_from": "benchmark-1006540a4310894f exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py::test_charged_outer_poisson_closes_and_reference_state_has_zero_charge, perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py::test_research_api_binds_dark_reference_and_keeps_production_gate_parked, perovskite-sim/tests/unit/validation/test_refinement_executors.py::test_equilibrium_referenced_interface_charge_executor_smoke", + "blocked_use": "new N acceptance / qualified reference use for benchmark:interface-charge-qf-research" + }, + { + "field": "independent source/grid/time/mapping error in V and its qualified reference identity", + "needed_from": "benchmark-1006540a4310894f exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py::test_charged_outer_poisson_closes_and_reference_state_has_zero_charge, perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py::test_research_api_binds_dark_reference_and_keeps_production_gate_parked, perovskite-sim/tests/unit/validation/test_refinement_executors.py::test_equilibrium_referenced_interface_charge_executor_smoke", + "blocked_use": "new N acceptance / qualified reference use for benchmark:interface-charge-qf-research" + }, + { + "field": "per-species/per-connected-domain positive reference inventory numeric scale and unit (1 or m-2, according to actual CV measure)", + "needed_from": "benchmark-1006540a4310894f exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py::test_charged_outer_poisson_closes_and_reference_state_has_zero_charge, perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py::test_research_api_binds_dark_reference_and_keeps_production_gate_parked, perovskite-sim/tests/unit/validation/test_refinement_executors.py::test_equilibrium_referenced_interface_charge_executor_smoke", + "blocked_use": "new N acceptance / qualified reference use for benchmark:interface-charge-qf-research" + }, + { + "field": "zero-species/zero-cell identity and numeric dimensional absolute gate from model absence or reference error evidence", + "needed_from": "benchmark-1006540a4310894f exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py::test_charged_outer_poisson_closes_and_reference_state_has_zero_charge, perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py::test_research_api_binds_dark_reference_and_keeps_production_gate_parked, perovskite-sim/tests/unit/validation/test_refinement_executors.py::test_equilibrium_referenced_interface_charge_executor_smoke", + "blocked_use": "new N acceptance / qualified reference use for benchmark:interface-charge-qf-research" + }, + { + "field": "actual volumes, component labels and independent log/inventory uncertainty", + "needed_from": "benchmark-1006540a4310894f exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py::test_charged_outer_poisson_closes_and_reference_state_has_zero_charge, perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py::test_research_api_binds_dark_reference_and_keeps_production_gate_parked, perovskite-sim/tests/unit/validation/test_refinement_executors.py::test_equilibrium_referenced_interface_charge_executor_smoke", + "blocked_use": "new N acceptance / qualified reference use for benchmark:interface-charge-qf-research" + }, + { + "field": "source/target geometry and a verified conservative CV intersection/projection artifact or explicit1D cell averages", + "needed_from": "benchmark-1006540a4310894f exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py::test_charged_outer_poisson_closes_and_reference_state_has_zero_charge, perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py::test_research_api_binds_dark_reference_and_keeps_production_gate_parked, perovskite-sim/tests/unit/validation/test_refinement_executors.py::test_equilibrium_referenced_interface_charge_executor_smoke", + "blocked_use": "new N acceptance / qualified reference use for benchmark:interface-charge-qf-research" + }, + { + "field": "fixed numeric integral/inventory/left-trace/right-trace scales and limits in their physical units", + "needed_from": "benchmark-1006540a4310894f exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py::test_charged_outer_poisson_closes_and_reference_state_has_zero_charge, perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py::test_research_api_binds_dark_reference_and_keeps_production_gate_parked, perovskite-sim/tests/unit/validation/test_refinement_executors.py::test_equilibrium_referenced_interface_charge_executor_smoke", + "blocked_use": "new N acceptance / qualified reference use for benchmark:interface-charge-qf-research" + }, + { + "field": "projection error, component topology and every interface-side identity", + "needed_from": "benchmark-1006540a4310894f exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py::test_charged_outer_poisson_closes_and_reference_state_has_zero_charge, perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py::test_research_api_binds_dark_reference_and_keeps_production_gate_parked, perovskite-sim/tests/unit/validation/test_refinement_executors.py::test_equilibrium_referenced_interface_charge_executor_smoke", + "blocked_use": "new N acceptance / qualified reference use for benchmark:interface-charge-qf-research" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/benchmark-1006540a4310894f/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + } + ], + "downstream_tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-benchmark-1006540a4310894f" + }, + "scope_specific_prior_gaps": [ + { + "field": "numeric fixed thermal/physical voltage scale in V from the exact reference temperature or declared boundary parameters", + "needed_from": "benchmark-1006540a4310894f exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py::test_charged_outer_poisson_closes_and_reference_state_has_zero_charge, perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py::test_research_api_binds_dark_reference_and_keeps_production_gate_parked, perovskite-sim/tests/unit/validation/test_refinement_executors.py::test_equilibrium_referenced_interface_charge_executor_smoke", + "blocked_use": "new N acceptance / qualified reference use for benchmark:interface-charge-qf-research", + "categories": [ + "source_configuration" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual reference CV weights/support and physical gauge/contact values; allowed mask", + "needed_from": "benchmark-1006540a4310894f exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py::test_charged_outer_poisson_closes_and_reference_state_has_zero_charge, perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py::test_research_api_binds_dark_reference_and_keeps_production_gate_parked, perovskite-sim/tests/unit/validation/test_refinement_executors.py::test_equilibrium_referenced_interface_charge_executor_smoke", + "blocked_use": "new N acceptance / qualified reference use for benchmark:interface-charge-qf-research", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "independent source/grid/time/mapping error in V and its qualified reference identity", + "needed_from": "benchmark-1006540a4310894f exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py::test_charged_outer_poisson_closes_and_reference_state_has_zero_charge, perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py::test_research_api_binds_dark_reference_and_keeps_production_gate_parked, perovskite-sim/tests/unit/validation/test_refinement_executors.py::test_equilibrium_referenced_interface_charge_executor_smoke", + "blocked_use": "new N acceptance / qualified reference use for benchmark:interface-charge-qf-research", + "categories": [ + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "per-species/per-connected-domain positive reference inventory numeric scale and unit (1 or m-2, according to actual CV measure)", + "needed_from": "benchmark-1006540a4310894f exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py::test_charged_outer_poisson_closes_and_reference_state_has_zero_charge, perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py::test_research_api_binds_dark_reference_and_keeps_production_gate_parked, perovskite-sim/tests/unit/validation/test_refinement_executors.py::test_equilibrium_referenced_interface_charge_executor_smoke", + "blocked_use": "new N acceptance / qualified reference use for benchmark:interface-charge-qf-research", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "zero-species/zero-cell identity and numeric dimensional absolute gate from model absence or reference error evidence", + "needed_from": "benchmark-1006540a4310894f exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py::test_charged_outer_poisson_closes_and_reference_state_has_zero_charge, perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py::test_research_api_binds_dark_reference_and_keeps_production_gate_parked, perovskite-sim/tests/unit/validation/test_refinement_executors.py::test_equilibrium_referenced_interface_charge_executor_smoke", + "blocked_use": "new N acceptance / qualified reference use for benchmark:interface-charge-qf-research", + "categories": [ + "source_configuration", + "tolerance_decision" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual volumes, component labels and independent log/inventory uncertainty", + "needed_from": "benchmark-1006540a4310894f exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py::test_charged_outer_poisson_closes_and_reference_state_has_zero_charge, perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py::test_research_api_binds_dark_reference_and_keeps_production_gate_parked, perovskite-sim/tests/unit/validation/test_refinement_executors.py::test_equilibrium_referenced_interface_charge_executor_smoke", + "blocked_use": "new N acceptance / qualified reference use for benchmark:interface-charge-qf-research", + "categories": [ + "measurement_data", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "source/target geometry and a verified conservative CV intersection/projection artifact or explicit1D cell averages", + "needed_from": "benchmark-1006540a4310894f exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py::test_charged_outer_poisson_closes_and_reference_state_has_zero_charge, perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py::test_research_api_binds_dark_reference_and_keeps_production_gate_parked, perovskite-sim/tests/unit/validation/test_refinement_executors.py::test_equilibrium_referenced_interface_charge_executor_smoke", + "blocked_use": "new N acceptance / qualified reference use for benchmark:interface-charge-qf-research", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "fixed numeric integral/inventory/left-trace/right-trace scales and limits in their physical units", + "needed_from": "benchmark-1006540a4310894f exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py::test_charged_outer_poisson_closes_and_reference_state_has_zero_charge, perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py::test_research_api_binds_dark_reference_and_keeps_production_gate_parked, perovskite-sim/tests/unit/validation/test_refinement_executors.py::test_equilibrium_referenced_interface_charge_executor_smoke", + "blocked_use": "new N acceptance / qualified reference use for benchmark:interface-charge-qf-research", + "categories": [ + "source_configuration", + "tolerance_decision" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "projection error, component topology and every interface-side identity", + "needed_from": "benchmark-1006540a4310894f exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py::test_charged_outer_poisson_closes_and_reference_state_has_zero_charge, perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py::test_research_api_binds_dark_reference_and_keeps_production_gate_parked, perovskite-sim/tests/unit/validation/test_refinement_executors.py::test_equilibrium_referenced_interface_charge_executor_smoke", + "blocked_use": "new N acceptance / qualified reference use for benchmark:interface-charge-qf-research", + "categories": [ + "source_configuration", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/benchmark-1006540a4310894f/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [], + "current_numeric_status": "prior_exact_scope_gaps_retained_and_classified" + } + }, + { + "id": "scope-benchmark-ccce54aef1456ee8", + "capability_id": "benchmark-ccce54aef1456ee8", + "route_id": "route-f13ea1085e6c91d1", + "origin_key": "benchmark:ionmonger-mesh", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "CV_geometry_and_interface_sides" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "pointer": "/benchmarks/ionmonger-mesh", + "value_sha256": "ef658208e981347a8b2b93c332c4882110aca774a8dfcf8fbc21b03d0114e336" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_mesh_convergence.py", + "symbol": "test_ff_converges" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_mesh_convergence.py", + "symbol": "test_generation_integral_converges" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_mesh_convergence.py", + "symbol": "test_generation_integral_respects_photon_flux_ceiling" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_mesh_convergence.py", + "symbol": "test_guard_interface_cells_actually_refine" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_mesh_convergence.py", + "symbol": "test_guard_interface_formulation_is_pinned" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_mesh_convergence.py", + "symbol": "test_guard_no_flat_band_spike_at_any_mesh_level" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_mesh_convergence.py", + "symbol": "test_guard_no_silent_dark_fallback" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_mesh_convergence.py", + "symbol": "test_guard_voc_is_bracketed" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_mesh_convergence.py", + "symbol": "test_interface_recombination_current_converges" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_mesh_convergence.py", + "symbol": "test_jsc_converges" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_mesh_convergence.py", + "symbol": "test_power_quadrant_current_converges" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_mesh_convergence.py", + "symbol": "test_short_circuit_current_converges" + } + ], + "negative_only_descriptor_rule_ids": [], + "source_quantitative_assertion_ids_for_scope_audit": [ + "rule-3d5a817cd92c120d9a47d03d", + "rule-f62cedb41ffefab4f30324e1", + "rule-4463e141ecc6c0b8f14fd012", + "rule-b1619149af4acffa963f48ed", + "rule-e0b533abe15d73001abbce1a", + "rule-5c482f9ca5b1ce1cb0b4ff26", + "rule-6a167faeb047611b7879241f", + "rule-34c4fb65361c9c28406ad2b0", + "rule-d7b862e76ec0ca42731566c2", + "rule-70c73d7ab3bb4e88a6e59d4e", + "rule-a6a8ec1e1e0254694826910a" + ], + "rule_ids": [ + "M_payload", + "projection_packet" + ], + "citations": [], + "remaining_inputs": [ + { + "field": "source/target geometry and a verified conservative CV intersection/projection artifact or explicit1D cell averages", + "needed_from": "benchmark-ccce54aef1456ee8 exact original driver/reference observation packet; perovskite-sim/tests/regression/test_mesh_convergence.py::test_ff_converges, perovskite-sim/tests/regression/test_mesh_convergence.py::test_generation_integral_converges, perovskite-sim/tests/regression/test_mesh_convergence.py::test_generation_integral_respects_photon_flux_ceiling, perovskite-sim/tests/regression/test_mesh_convergence.py::test_guard_interface_cells_actually_refine, perovskite-sim/tests/regression/test_mesh_convergence.py::test_guard_interface_formulation_is_pinned, perovskite-sim/tests/regression/test_mesh_convergence.py::test_guard_no_flat_band_spike_at_any_mesh_level, perovskite-sim/tests/regression/test_mesh_convergence.py::test_guard_no_silent_dark_fallback, perovskite-", + "blocked_use": "new N acceptance / qualified reference use for benchmark:ionmonger-mesh" + }, + { + "field": "fixed numeric integral/inventory/left-trace/right-trace scales and limits in their physical units", + "needed_from": "benchmark-ccce54aef1456ee8 exact original driver/reference observation packet; perovskite-sim/tests/regression/test_mesh_convergence.py::test_ff_converges, perovskite-sim/tests/regression/test_mesh_convergence.py::test_generation_integral_converges, perovskite-sim/tests/regression/test_mesh_convergence.py::test_generation_integral_respects_photon_flux_ceiling, perovskite-sim/tests/regression/test_mesh_convergence.py::test_guard_interface_cells_actually_refine, perovskite-sim/tests/regression/test_mesh_convergence.py::test_guard_interface_formulation_is_pinned, perovskite-sim/tests/regression/test_mesh_convergence.py::test_guard_no_flat_band_spike_at_any_mesh_level, perovskite-sim/tests/regression/test_mesh_convergence.py::test_guard_no_silent_dark_fallback, perovskite-", + "blocked_use": "new N acceptance / qualified reference use for benchmark:ionmonger-mesh" + }, + { + "field": "projection error, component topology and every interface-side identity", + "needed_from": "benchmark-ccce54aef1456ee8 exact original driver/reference observation packet; perovskite-sim/tests/regression/test_mesh_convergence.py::test_ff_converges, perovskite-sim/tests/regression/test_mesh_convergence.py::test_generation_integral_converges, perovskite-sim/tests/regression/test_mesh_convergence.py::test_generation_integral_respects_photon_flux_ceiling, perovskite-sim/tests/regression/test_mesh_convergence.py::test_guard_interface_cells_actually_refine, perovskite-sim/tests/regression/test_mesh_convergence.py::test_guard_interface_formulation_is_pinned, perovskite-sim/tests/regression/test_mesh_convergence.py::test_guard_no_flat_band_spike_at_any_mesh_level, perovskite-sim/tests/regression/test_mesh_convergence.py::test_guard_no_silent_dark_fallback, perovskite-", + "blocked_use": "new N acceptance / qualified reference use for benchmark:ionmonger-mesh" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/benchmark-ccce54aef1456ee8/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + } + ], + "downstream_tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-benchmark-ccce54aef1456ee8" + }, + "scope_specific_prior_gaps": [ + { + "field": "source/target geometry and a verified conservative CV intersection/projection artifact or explicit1D cell averages", + "needed_from": "benchmark-ccce54aef1456ee8 exact original driver/reference observation packet; perovskite-sim/tests/regression/test_mesh_convergence.py::test_ff_converges, perovskite-sim/tests/regression/test_mesh_convergence.py::test_generation_integral_converges, perovskite-sim/tests/regression/test_mesh_convergence.py::test_generation_integral_respects_photon_flux_ceiling, perovskite-sim/tests/regression/test_mesh_convergence.py::test_guard_interface_cells_actually_refine, perovskite-sim/tests/regression/test_mesh_convergence.py::test_guard_interface_formulation_is_pinned, perovskite-sim/tests/regression/test_mesh_convergence.py::test_guard_no_flat_band_spike_at_any_mesh_level, perovskite-sim/tests/regression/test_mesh_convergence.py::test_guard_no_silent_dark_fallback, perovskite-", + "blocked_use": "new N acceptance / qualified reference use for benchmark:ionmonger-mesh", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "fixed numeric integral/inventory/left-trace/right-trace scales and limits in their physical units", + "needed_from": "benchmark-ccce54aef1456ee8 exact original driver/reference observation packet; perovskite-sim/tests/regression/test_mesh_convergence.py::test_ff_converges, perovskite-sim/tests/regression/test_mesh_convergence.py::test_generation_integral_converges, perovskite-sim/tests/regression/test_mesh_convergence.py::test_generation_integral_respects_photon_flux_ceiling, perovskite-sim/tests/regression/test_mesh_convergence.py::test_guard_interface_cells_actually_refine, perovskite-sim/tests/regression/test_mesh_convergence.py::test_guard_interface_formulation_is_pinned, perovskite-sim/tests/regression/test_mesh_convergence.py::test_guard_no_flat_band_spike_at_any_mesh_level, perovskite-sim/tests/regression/test_mesh_convergence.py::test_guard_no_silent_dark_fallback, perovskite-", + "blocked_use": "new N acceptance / qualified reference use for benchmark:ionmonger-mesh", + "categories": [ + "source_configuration", + "tolerance_decision" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "projection error, component topology and every interface-side identity", + "needed_from": "benchmark-ccce54aef1456ee8 exact original driver/reference observation packet; perovskite-sim/tests/regression/test_mesh_convergence.py::test_ff_converges, perovskite-sim/tests/regression/test_mesh_convergence.py::test_generation_integral_converges, perovskite-sim/tests/regression/test_mesh_convergence.py::test_generation_integral_respects_photon_flux_ceiling, perovskite-sim/tests/regression/test_mesh_convergence.py::test_guard_interface_cells_actually_refine, perovskite-sim/tests/regression/test_mesh_convergence.py::test_guard_interface_formulation_is_pinned, perovskite-sim/tests/regression/test_mesh_convergence.py::test_guard_no_flat_band_spike_at_any_mesh_level, perovskite-sim/tests/regression/test_mesh_convergence.py::test_guard_no_silent_dark_fallback, perovskite-", + "blocked_use": "new N acceptance / qualified reference use for benchmark:ionmonger-mesh", + "categories": [ + "source_configuration", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/benchmark-ccce54aef1456ee8/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [], + "current_numeric_status": "prior_exact_scope_gaps_retained_and_classified" + } + }, + { + "id": "scope-benchmark-9413c6e9be031fbb", + "capability_id": "benchmark-9413c6e9be031fbb", + "route_id": "route-f13ea1085e6c91d1", + "origin_key": "benchmark:ionmonger-physical-regression", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "JV_metrics_and_full_branch" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "pointer": "/benchmarks/ionmonger-physical-regression", + "value_sha256": "49462a3e9f7e4ccc21ef263fadf3a40ee1d4370c31d2adc4f41c9e6696975caa" + }, + { + "source_id": "repository:perovskite-sim/tests/validation/test_paper_configurations.py", + "symbol": "test_ionmonger_ff_in_paper_range" + }, + { + "source_id": "repository:perovskite-sim/tests/validation/test_paper_configurations.py", + "symbol": "test_ionmonger_jsc_matches_paper" + }, + { + "source_id": "repository:perovskite-sim/tests/validation/test_paper_configurations.py", + "symbol": "test_ionmonger_jsc_near_beer_lambert_limit" + }, + { + "source_id": "repository:perovskite-sim/tests/validation/test_paper_configurations.py", + "symbol": "test_ionmonger_legacy_full_voc_agree_within_tolerance" + }, + { + "source_id": "repository:perovskite-sim/tests/validation/test_paper_configurations.py", + "symbol": "test_ionmonger_paper_comparison_quantifies_known_voc_offset" + }, + { + "source_id": "repository:perovskite-sim/tests/validation/test_paper_configurations.py", + "symbol": "test_ionmonger_tmm_bounded_shift_from_bl" + }, + { + "source_id": "repository:perovskite-sim/tests/validation/test_paper_configurations.py", + "symbol": "test_ionmonger_tmm_jsc_physically_bounded" + }, + { + "source_id": "repository:perovskite-sim/tests/validation/test_paper_configurations.py", + "symbol": "test_ionmonger_voc_in_band_offset_range" + } + ], + "negative_only_descriptor_rule_ids": [], + "source_quantitative_assertion_ids_for_scope_audit": [ + "rule-d3854df07b6410a19acd17c9", + "rule-1b23243608b1851851e26be0", + "rule-828385d8515abce7ee451d7f", + "rule-5d16f6f37bf792fac1c50beb", + "rule-5d6644bbc284d16812cf46a1", + "rule-03e2c7532eb199b301c79c0a", + "rule-82374a3d37f75b7140d01db4", + "rule-5f8e40fe2c823acbd6a75a6a" + ], + "rule_ids": [ + "M_payload", + "Voc_absolute", + "JV_metric_packet" + ], + "citations": [], + "remaining_inputs": [ + { + "field": "fixed numeric Jsc/FF/PCE reference values/scales with the actual output units and conversion identity", + "needed_from": "benchmark-9413c6e9be031fbb exact original driver/reference observation packet; perovskite-sim/tests/validation/test_paper_configurations.py::test_ionmonger_ff_in_paper_range, perovskite-sim/tests/validation/test_paper_configurations.py::test_ionmonger_jsc_matches_paper, perovskite-sim/tests/validation/test_paper_configurations.py::test_ionmonger_jsc_near_beer_lambert_limit, perovskite-sim/tests/validation/test_paper_configurations.py::test_ionmonger_legacy_full_voc_agree_within_tolerance, perovskite-sim/tests/validation/test_paper_configurations.py::test_ionmonger_paper_comparison_quantifies_known_voc_offset, perovskite-sim/tests/validation/test_paper_configurations.py::test_ionmonger_tmm_bounded_shift_from_bl, perovskite-sim/tests/validation/test_paper_configurations.", + "blocked_use": "new N acceptance / qualified reference use for benchmark:ionmonger-physical-regression" + }, + { + "field": "dimensional dark/weak Jsc and zero-power absolute limits with error evidence", + "needed_from": "benchmark-9413c6e9be031fbb exact original driver/reference observation packet; perovskite-sim/tests/validation/test_paper_configurations.py::test_ionmonger_ff_in_paper_range, perovskite-sim/tests/validation/test_paper_configurations.py::test_ionmonger_jsc_matches_paper, perovskite-sim/tests/validation/test_paper_configurations.py::test_ionmonger_jsc_near_beer_lambert_limit, perovskite-sim/tests/validation/test_paper_configurations.py::test_ionmonger_legacy_full_voc_agree_within_tolerance, perovskite-sim/tests/validation/test_paper_configurations.py::test_ionmonger_paper_comparison_quantifies_known_voc_offset, perovskite-sim/tests/validation/test_paper_configurations.py::test_ionmonger_tmm_bounded_shift_from_bl, perovskite-sim/tests/validation/test_paper_configurations.", + "blocked_use": "new N acceptance / qualified reference use for benchmark:ionmonger-physical-regression" + }, + { + "field": "Voc bracket, dJ/dV and current-error propagation bound; MPP sampling and full branch coordinates", + "needed_from": "benchmark-9413c6e9be031fbb exact original driver/reference observation packet; perovskite-sim/tests/validation/test_paper_configurations.py::test_ionmonger_ff_in_paper_range, perovskite-sim/tests/validation/test_paper_configurations.py::test_ionmonger_jsc_matches_paper, perovskite-sim/tests/validation/test_paper_configurations.py::test_ionmonger_jsc_near_beer_lambert_limit, perovskite-sim/tests/validation/test_paper_configurations.py::test_ionmonger_legacy_full_voc_agree_within_tolerance, perovskite-sim/tests/validation/test_paper_configurations.py::test_ionmonger_paper_comparison_quantifies_known_voc_offset, perovskite-sim/tests/validation/test_paper_configurations.py::test_ionmonger_tmm_bounded_shift_from_bl, perovskite-sim/tests/validation/test_paper_configurations.", + "blocked_use": "new N acceptance / qualified reference use for benchmark:ionmonger-physical-regression" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/benchmark-9413c6e9be031fbb/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + } + ], + "downstream_tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-benchmark-9413c6e9be031fbb" + }, + "scope_specific_prior_gaps": [ + { + "field": "fixed numeric Jsc/FF/PCE reference values/scales with the actual output units and conversion identity", + "needed_from": "benchmark-9413c6e9be031fbb exact original driver/reference observation packet; perovskite-sim/tests/validation/test_paper_configurations.py::test_ionmonger_ff_in_paper_range, perovskite-sim/tests/validation/test_paper_configurations.py::test_ionmonger_jsc_matches_paper, perovskite-sim/tests/validation/test_paper_configurations.py::test_ionmonger_jsc_near_beer_lambert_limit, perovskite-sim/tests/validation/test_paper_configurations.py::test_ionmonger_legacy_full_voc_agree_within_tolerance, perovskite-sim/tests/validation/test_paper_configurations.py::test_ionmonger_paper_comparison_quantifies_known_voc_offset, perovskite-sim/tests/validation/test_paper_configurations.py::test_ionmonger_tmm_bounded_shift_from_bl, perovskite-sim/tests/validation/test_paper_configurations.", + "blocked_use": "new N acceptance / qualified reference use for benchmark:ionmonger-physical-regression", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "dimensional dark/weak Jsc and zero-power absolute limits with error evidence", + "needed_from": "benchmark-9413c6e9be031fbb exact original driver/reference observation packet; perovskite-sim/tests/validation/test_paper_configurations.py::test_ionmonger_ff_in_paper_range, perovskite-sim/tests/validation/test_paper_configurations.py::test_ionmonger_jsc_matches_paper, perovskite-sim/tests/validation/test_paper_configurations.py::test_ionmonger_jsc_near_beer_lambert_limit, perovskite-sim/tests/validation/test_paper_configurations.py::test_ionmonger_legacy_full_voc_agree_within_tolerance, perovskite-sim/tests/validation/test_paper_configurations.py::test_ionmonger_paper_comparison_quantifies_known_voc_offset, perovskite-sim/tests/validation/test_paper_configurations.py::test_ionmonger_tmm_bounded_shift_from_bl, perovskite-sim/tests/validation/test_paper_configurations.", + "blocked_use": "new N acceptance / qualified reference use for benchmark:ionmonger-physical-regression", + "categories": [ + "tolerance_decision", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "Voc bracket, dJ/dV and current-error propagation bound; MPP sampling and full branch coordinates", + "needed_from": "benchmark-9413c6e9be031fbb exact original driver/reference observation packet; perovskite-sim/tests/validation/test_paper_configurations.py::test_ionmonger_ff_in_paper_range, perovskite-sim/tests/validation/test_paper_configurations.py::test_ionmonger_jsc_matches_paper, perovskite-sim/tests/validation/test_paper_configurations.py::test_ionmonger_jsc_near_beer_lambert_limit, perovskite-sim/tests/validation/test_paper_configurations.py::test_ionmonger_legacy_full_voc_agree_within_tolerance, perovskite-sim/tests/validation/test_paper_configurations.py::test_ionmonger_paper_comparison_quantifies_known_voc_offset, perovskite-sim/tests/validation/test_paper_configurations.py::test_ionmonger_tmm_bounded_shift_from_bl, perovskite-sim/tests/validation/test_paper_configurations.", + "blocked_use": "new N acceptance / qualified reference use for benchmark:ionmonger-physical-regression", + "categories": [ + "measurement_data", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/benchmark-9413c6e9be031fbb/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [], + "current_numeric_status": "prior_exact_scope_gaps_retained_and_classified" + } + }, + { + "id": "scope-benchmark-a9fb1ab48c74827c", + "capability_id": "benchmark-a9fb1ab48c74827c", + "route_id": "route-f13ea1085e6c91d1", + "origin_key": "benchmark:ionmonger-residual-ss-mesh", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "CV_geometry_and_interface_sides" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "pointer": "/benchmarks/ionmonger-residual-ss-mesh", + "value_sha256": "b6d5422a02d0bf4e8876e2719bf7b2bb07d7a895ad30b2de309affbaed3d677f" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_p1_steady_state_mesh_convergence.py", + "symbol": "test_actual_interval_ladder_and_residual_certificates" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_p1_steady_state_mesh_convergence.py", + "symbol": "test_certified_short_circuit_current_contracts" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_p1_steady_state_mesh_convergence.py", + "symbol": "test_observations_match_reproducibility_registry" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_p1_steady_state_mesh_convergence.py", + "symbol": "test_prolonged_fine_grid_current_changes_contract" + } + ], + "negative_only_descriptor_rule_ids": [], + "source_quantitative_assertion_ids_for_scope_audit": [ + "rule-dbd43d19061711f06cd845f3", + "rule-0001d10fc6e7a1c502f870e1", + "rule-92d7d00a0a43b86f0a3dc1e9", + "rule-dc84c8437171a496c5282894", + "rule-5ff4561b12a6923c57417ea4", + "rule-2ebe08b846b75bb426ad0ab0", + "rule-af31c1af971122dae3596704", + "rule-5bb18d8b36555d4049926638" + ], + "rule_ids": [ + "M_payload", + "projection_packet" + ], + "citations": [], + "remaining_inputs": [ + { + "field": "source/target geometry and a verified conservative CV intersection/projection artifact or explicit1D cell averages", + "needed_from": "benchmark-a9fb1ab48c74827c exact original driver/reference observation packet; perovskite-sim/tests/regression/test_p1_steady_state_mesh_convergence.py::test_actual_interval_ladder_and_residual_certificates, perovskite-sim/tests/regression/test_p1_steady_state_mesh_convergence.py::test_certified_short_circuit_current_contracts, perovskite-sim/tests/regression/test_p1_steady_state_mesh_convergence.py::test_observations_match_reproducibility_registry, perovskite-sim/tests/regression/test_p1_steady_state_mesh_convergence.py::test_prolonged_fine_grid_current_changes_contract", + "blocked_use": "new N acceptance / qualified reference use for benchmark:ionmonger-residual-ss-mesh" + }, + { + "field": "fixed numeric integral/inventory/left-trace/right-trace scales and limits in their physical units", + "needed_from": "benchmark-a9fb1ab48c74827c exact original driver/reference observation packet; perovskite-sim/tests/regression/test_p1_steady_state_mesh_convergence.py::test_actual_interval_ladder_and_residual_certificates, perovskite-sim/tests/regression/test_p1_steady_state_mesh_convergence.py::test_certified_short_circuit_current_contracts, perovskite-sim/tests/regression/test_p1_steady_state_mesh_convergence.py::test_observations_match_reproducibility_registry, perovskite-sim/tests/regression/test_p1_steady_state_mesh_convergence.py::test_prolonged_fine_grid_current_changes_contract", + "blocked_use": "new N acceptance / qualified reference use for benchmark:ionmonger-residual-ss-mesh" + }, + { + "field": "projection error, component topology and every interface-side identity", + "needed_from": "benchmark-a9fb1ab48c74827c exact original driver/reference observation packet; perovskite-sim/tests/regression/test_p1_steady_state_mesh_convergence.py::test_actual_interval_ladder_and_residual_certificates, perovskite-sim/tests/regression/test_p1_steady_state_mesh_convergence.py::test_certified_short_circuit_current_contracts, perovskite-sim/tests/regression/test_p1_steady_state_mesh_convergence.py::test_observations_match_reproducibility_registry, perovskite-sim/tests/regression/test_p1_steady_state_mesh_convergence.py::test_prolonged_fine_grid_current_changes_contract", + "blocked_use": "new N acceptance / qualified reference use for benchmark:ionmonger-residual-ss-mesh" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/benchmark-a9fb1ab48c74827c/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + } + ], + "downstream_tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-benchmark-a9fb1ab48c74827c" + }, + "scope_specific_prior_gaps": [ + { + "field": "source/target geometry and a verified conservative CV intersection/projection artifact or explicit1D cell averages", + "needed_from": "benchmark-a9fb1ab48c74827c exact original driver/reference observation packet; perovskite-sim/tests/regression/test_p1_steady_state_mesh_convergence.py::test_actual_interval_ladder_and_residual_certificates, perovskite-sim/tests/regression/test_p1_steady_state_mesh_convergence.py::test_certified_short_circuit_current_contracts, perovskite-sim/tests/regression/test_p1_steady_state_mesh_convergence.py::test_observations_match_reproducibility_registry, perovskite-sim/tests/regression/test_p1_steady_state_mesh_convergence.py::test_prolonged_fine_grid_current_changes_contract", + "blocked_use": "new N acceptance / qualified reference use for benchmark:ionmonger-residual-ss-mesh", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "fixed numeric integral/inventory/left-trace/right-trace scales and limits in their physical units", + "needed_from": "benchmark-a9fb1ab48c74827c exact original driver/reference observation packet; perovskite-sim/tests/regression/test_p1_steady_state_mesh_convergence.py::test_actual_interval_ladder_and_residual_certificates, perovskite-sim/tests/regression/test_p1_steady_state_mesh_convergence.py::test_certified_short_circuit_current_contracts, perovskite-sim/tests/regression/test_p1_steady_state_mesh_convergence.py::test_observations_match_reproducibility_registry, perovskite-sim/tests/regression/test_p1_steady_state_mesh_convergence.py::test_prolonged_fine_grid_current_changes_contract", + "blocked_use": "new N acceptance / qualified reference use for benchmark:ionmonger-residual-ss-mesh", + "categories": [ + "source_configuration", + "tolerance_decision" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "projection error, component topology and every interface-side identity", + "needed_from": "benchmark-a9fb1ab48c74827c exact original driver/reference observation packet; perovskite-sim/tests/regression/test_p1_steady_state_mesh_convergence.py::test_actual_interval_ladder_and_residual_certificates, perovskite-sim/tests/regression/test_p1_steady_state_mesh_convergence.py::test_certified_short_circuit_current_contracts, perovskite-sim/tests/regression/test_p1_steady_state_mesh_convergence.py::test_observations_match_reproducibility_registry, perovskite-sim/tests/regression/test_p1_steady_state_mesh_convergence.py::test_prolonged_fine_grid_current_changes_contract", + "blocked_use": "new N acceptance / qualified reference use for benchmark:ionmonger-residual-ss-mesh", + "categories": [ + "source_configuration", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/benchmark-a9fb1ab48c74827c/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [], + "current_numeric_status": "prior_exact_scope_gaps_retained_and_classified" + } + }, + { + "id": "scope-benchmark-ac54a8e323f74ee0", + "capability_id": "benchmark-ac54a8e323f74ee0", + "route_id": "route-f13ea1085e6c91d1", + "origin_key": "benchmark:lin2019-tandem", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "JV_metrics_and_full_branch", + "current_observation_or_current_input" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "pointer": "/benchmarks/lin2019-tandem", + "value_sha256": "f68d5db104c4e97a9737bd3445b2766255588295b7f4541581136c6b045bcb99" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_tandem_lin2019.py", + "symbol": "test_lin2019_absorber_thicknesses_follow_paper" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_tandem_lin2019.py", + "symbol": "test_lin2019_cu_optics_cover_protocol_from_native_source" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_tandem_lin2019.py", + "symbol": "test_lin2019_jsc_within_tolerance" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_tandem_lin2019.py", + "symbol": "test_lin2019_observations_match_reproducibility_registry" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_tandem_lin2019.py", + "symbol": "test_lin2019_pce_within_tolerance" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_tandem_lin2019.py", + "symbol": "test_lin2019_source_stack_and_reported_thicknesses" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_tandem_lin2019.py", + "symbol": "test_lin2019_subcell_currents_match_within_two_percent" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_tandem_lin2019.py", + "symbol": "test_lin2019_subcells_respect_their_photon_budgets" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_tandem_lin2019.py", + "symbol": "test_lin2019_voc_and_ff_within_tolerance" + } + ], + "negative_only_descriptor_rule_ids": [], + "source_quantitative_assertion_ids_for_scope_audit": [ + "rule-68663e1efd864ce55aa43c2f", + "rule-955b0b67dcd9ac809a0f8dce", + "rule-8902906c422ec281423634db", + "rule-b1a3bf7ff4b01355054114ca", + "rule-3045a6cbe737c87384231bf1", + "rule-41d2030269f5c09a5b563dee", + "rule-3739d8f75e7d26b1e771658d", + "rule-3b30345d0b4119ea4281361c", + "rule-5a127cf4b4fc944b3af5905c", + "rule-0f7981cb2528a84edeacb98c", + "rule-12ecc1f6f454a1580208d34c", + "rule-207cc10794869d48641310d5", + "rule-487f680b7b72673e2075c38b", + "rule-522a8d3a7992faa32a9ca3d8", + "rule-0e961e81c7df397449177678", + "rule-8a9eb9f1069482c1be00534a", + "rule-fc090835ed6dd6e1cf469c8f", + "rule-9a6b373888d9592c0c555b5d", + "rule-90de4ab6502d7d5e9d41b150" + ], + "rule_ids": [ + "M_payload", + "Voc_absolute", + "JV_metric_packet", + "current_packet" + ], + "citations": [], + "remaining_inputs": [ + { + "field": "fixed numeric Jsc/FF/PCE reference values/scales with the actual output units and conversion identity", + "needed_from": "benchmark-ac54a8e323f74ee0 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_absorber_thicknesses_follow_paper, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_cu_optics_cover_protocol_from_native_source, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_jsc_within_tolerance, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_observations_match_reproducibility_registry, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_pce_within_tolerance, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_source_stack_and_reported_thicknesses, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_su", + "blocked_use": "new N acceptance / qualified reference use for benchmark:lin2019-tandem" + }, + { + "field": "dimensional dark/weak Jsc and zero-power absolute limits with error evidence", + "needed_from": "benchmark-ac54a8e323f74ee0 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_absorber_thicknesses_follow_paper, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_cu_optics_cover_protocol_from_native_source, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_jsc_within_tolerance, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_observations_match_reproducibility_registry, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_pce_within_tolerance, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_source_stack_and_reported_thicknesses, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_su", + "blocked_use": "new N acceptance / qualified reference use for benchmark:lin2019-tandem" + }, + { + "field": "Voc bracket, dJ/dV and current-error propagation bound; MPP sampling and full branch coordinates", + "needed_from": "benchmark-ac54a8e323f74ee0 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_absorber_thicknesses_follow_paper, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_cu_optics_cover_protocol_from_native_source, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_jsc_within_tolerance, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_observations_match_reproducibility_registry, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_pce_within_tolerance, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_source_stack_and_reported_thicknesses, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_su", + "blocked_use": "new N acceptance / qualified reference use for benchmark:lin2019-tandem" + }, + { + "field": "numeric reference current scale and absolute weak/zero current allowance, in the actual A or A m-2 output unit", + "needed_from": "benchmark-ac54a8e323f74ee0 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_absorber_thicknesses_follow_paper, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_cu_optics_cover_protocol_from_native_source, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_jsc_within_tolerance, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_observations_match_reproducibility_registry, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_pce_within_tolerance, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_source_stack_and_reported_thicknesses, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_su", + "blocked_use": "new N acceptance / qualified reference use for benchmark:lin2019-tandem" + }, + { + "field": "each component/sign/port/support, observation times and both event sides", + "needed_from": "benchmark-ac54a8e323f74ee0 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_absorber_thicknesses_follow_paper, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_cu_optics_cover_protocol_from_native_source, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_jsc_within_tolerance, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_observations_match_reproducibility_registry, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_pce_within_tolerance, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_source_stack_and_reported_thicknesses, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_su", + "blocked_use": "new N acceptance / qualified reference use for benchmark:lin2019-tandem" + }, + { + "field": "pointwise current uncertainty and a pointwise comparison limit; integrated charge is not a substitute", + "needed_from": "benchmark-ac54a8e323f74ee0 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_absorber_thicknesses_follow_paper, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_cu_optics_cover_protocol_from_native_source, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_jsc_within_tolerance, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_observations_match_reproducibility_registry, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_pce_within_tolerance, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_source_stack_and_reported_thicknesses, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_su", + "blocked_use": "new N acceptance / qualified reference use for benchmark:lin2019-tandem" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/benchmark-ac54a8e323f74ee0/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + } + ], + "downstream_tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-benchmark-ac54a8e323f74ee0" + }, + "scope_specific_prior_gaps": [ + { + "field": "fixed numeric Jsc/FF/PCE reference values/scales with the actual output units and conversion identity", + "needed_from": "benchmark-ac54a8e323f74ee0 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_absorber_thicknesses_follow_paper, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_cu_optics_cover_protocol_from_native_source, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_jsc_within_tolerance, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_observations_match_reproducibility_registry, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_pce_within_tolerance, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_source_stack_and_reported_thicknesses, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_su", + "blocked_use": "new N acceptance / qualified reference use for benchmark:lin2019-tandem", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "dimensional dark/weak Jsc and zero-power absolute limits with error evidence", + "needed_from": "benchmark-ac54a8e323f74ee0 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_absorber_thicknesses_follow_paper, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_cu_optics_cover_protocol_from_native_source, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_jsc_within_tolerance, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_observations_match_reproducibility_registry, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_pce_within_tolerance, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_source_stack_and_reported_thicknesses, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_su", + "blocked_use": "new N acceptance / qualified reference use for benchmark:lin2019-tandem", + "categories": [ + "tolerance_decision", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "Voc bracket, dJ/dV and current-error propagation bound; MPP sampling and full branch coordinates", + "needed_from": "benchmark-ac54a8e323f74ee0 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_absorber_thicknesses_follow_paper, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_cu_optics_cover_protocol_from_native_source, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_jsc_within_tolerance, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_observations_match_reproducibility_registry, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_pce_within_tolerance, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_source_stack_and_reported_thicknesses, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_su", + "blocked_use": "new N acceptance / qualified reference use for benchmark:lin2019-tandem", + "categories": [ + "measurement_data", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "numeric reference current scale and absolute weak/zero current allowance, in the actual A or A m-2 output unit", + "needed_from": "benchmark-ac54a8e323f74ee0 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_absorber_thicknesses_follow_paper, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_cu_optics_cover_protocol_from_native_source, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_jsc_within_tolerance, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_observations_match_reproducibility_registry, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_pce_within_tolerance, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_source_stack_and_reported_thicknesses, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_su", + "blocked_use": "new N acceptance / qualified reference use for benchmark:lin2019-tandem", + "categories": [ + "source_configuration", + "tolerance_decision" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "each component/sign/port/support, observation times and both event sides", + "needed_from": "benchmark-ac54a8e323f74ee0 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_absorber_thicknesses_follow_paper, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_cu_optics_cover_protocol_from_native_source, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_jsc_within_tolerance, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_observations_match_reproducibility_registry, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_pce_within_tolerance, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_source_stack_and_reported_thicknesses, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_su", + "blocked_use": "new N acceptance / qualified reference use for benchmark:lin2019-tandem", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "pointwise current uncertainty and a pointwise comparison limit; integrated charge is not a substitute", + "needed_from": "benchmark-ac54a8e323f74ee0 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_absorber_thicknesses_follow_paper, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_cu_optics_cover_protocol_from_native_source, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_jsc_within_tolerance, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_observations_match_reproducibility_registry, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_pce_within_tolerance, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_source_stack_and_reported_thicknesses, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_su", + "blocked_use": "new N acceptance / qualified reference use for benchmark:lin2019-tandem", + "categories": [ + "tolerance_decision", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/benchmark-ac54a8e323f74ee0/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [], + "current_numeric_status": "prior_exact_scope_gaps_retained_and_classified" + } + }, + { + "id": "scope-benchmark-5ddcacfc324796c7", + "capability_id": "benchmark-5ddcacfc324796c7", + "route_id": "route-f13ea1085e6c91d1", + "origin_key": "benchmark:loader-contract", + "disposition": "engineering_only", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": false, + "families": [ + "engineering_lifecycle_or_schema" + ], + "classification_basis": "Read source assertions: only loader enumeration/schema counts or synthetic refinement-runner status/hash/resume/no-overwrite behavior. This record does not certify the positive models/drivers that consume the data.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "pointer": "/benchmarks/loader-contract", + "value_sha256": "9071ed5350fc8394173e2c6fdc5c4e73a6cc69209a80ca1c957332aa2f321638" + }, + { + "source_id": "repository:perovskite-sim/tests/reproducibility/test_matrix.py", + "symbol": "test_matrix_covers_and_loads_every_shipped_config" + } + ], + "negative_only_descriptor_rule_ids": [], + "source_quantitative_assertion_ids_for_scope_audit": [], + "rule_ids": [ + "M_payload" + ], + "citations": [ + { + "source_id": "loader_test", + "symbol": "test_matrix_covers_and_loads_every_shipped_config" + } + ], + "remaining_inputs": [ + { + "field": "exact M reference/candidate payload and allowed import-only metadata exceptions", + "needed_from": "benchmark-5ddcacfc324796c7 source-bound engineering fixture execution under the planned M change", + "blocked_use": "declaring the migration itself checked; there is no invented physical certificate for this lifecycle rule" + } + ], + "downstream_tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "engineering_expected": { + "configs": 55, + "resources": 21, + "schemas": { + "standard-device-v1": 49, + "scaps-device-v1": 5, + "tandem-v1": 1 + } + }, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-benchmark-5ddcacfc324796c7" + }, + "scope_specific_prior_gaps": [ + { + "field": "exact M reference/candidate payload and allowed import-only metadata exceptions", + "needed_from": "benchmark-5ddcacfc324796c7 source-bound engineering fixture execution under the planned M change", + "blocked_use": "declaring the migration itself checked; there is no invented physical certificate for this lifecycle rule", + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [], + "current_numeric_status": "engineering_no_physical_numeric_gate" + } + }, + { + "id": "scope-benchmark-f243dcb4f5a72c41", + "capability_id": "benchmark-f243dcb4f5a72c41", + "route_id": "route-f13ea1085e6c91d1", + "origin_key": "benchmark:multivalent-explicit-defect-internal-closure", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "physical_profiles_or_stored_state_history", + "source_specific_operator_or_constitutive_action" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "pointer": "/benchmarks/multivalent-explicit-defect-internal-closure", + "value_sha256": "595c5174359eadc726d2c808cfdc3af8429c6c89ae8f3dae2ea72f3e2f5d3d3f" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_multivalent_explicit_defects_qf.py", + "symbol": "test_single_transition_v4_device_recovers_the_monovalent_qf_dc_route" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/models/test_multivalent_defect_loader.py", + "symbol": "test_layer_parser_builds_the_canonical_v4_document" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/models/test_multivalent_defect_schema.py", + "symbol": "test_v4_document_roundtrip_hash_and_shared_density_are_stable" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_multivalent_defect_closure.py", + "symbol": "test_single_transition_unity_limit_recovers_d2_exact_local_closure" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_multivalent_defect_device.py", + "symbol": "test_full_grid_evaluation_matches_the_region_source_closure" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_multivalent_defect_refinement.py", + "symbol": "test_registered_executor_real_cell_matches_exact_contract" + } + ], + "negative_only_descriptor_rule_ids": [ + "rule-5ed4c18c43afdba04781df68", + "rule-b5b818883064c7b9fadd18ff", + "rule-ff44ba98823313cfa2c82541" + ], + "source_quantitative_assertion_ids_for_scope_audit": [ + "rule-dff30ffe3b03d55ef5843b67", + "rule-3e78b9b3d539026e4882c249", + "rule-6872d66e510a8fb199fb3bb3", + "rule-20bc2f09acaa1f6eb64ca6d2", + "rule-7263ba03e889ddbec15bae44", + "rule-f35213d4bbbc2b798769f702", + "rule-92652cd35c76c29cdd8e0c63", + "rule-d5278154c1f15ff1cec5b0a5", + "rule-43f092df6c82ad5054453f4f", + "rule-7f3f88f7d580aadb781a8a28", + "rule-e49b4adbbdcc5858fe8fa698", + "rule-725561561d13ad017a11e6f1", + "rule-0a0d951fc3ba8cbfe7ca1fe2", + "rule-94bfd1d899b105232ca6ac65", + "rule-2fba8a9606eb228b7a1eb140", + "rule-f4f177b1e58cec5a114f7601", + "rule-19ac272ed99c91ab66116250", + "rule-7380daffd6b857767a8eb0c5" + ], + "rule_ids": [ + "M_payload", + "potential_packet", + "positive_density_log", + "density_inventory_packet", + "operator_packet" + ], + "citations": [], + "remaining_inputs": [ + { + "field": "numeric fixed thermal/physical voltage scale in V from the exact reference temperature or declared boundary parameters", + "needed_from": "benchmark-f243dcb4f5a72c41 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_multivalent_explicit_defects_qf.py::test_single_transition_v4_device_recovers_the_monovalent_qf_dc_route, perovskite-sim/tests/unit/models/test_multivalent_defect_loader.py::test_layer_parser_builds_the_canonical_v4_document, perovskite-sim/tests/unit/models/test_multivalent_defect_schema.py::test_v4_document_roundtrip_hash_and_shared_density_are_stable, perovskite-sim/tests/unit/physics/test_multivalent_defect_closure.py::test_single_transition_unity_limit_recovers_d2_exact_local_closure, perovskite-sim/tests/unit/physics/test_multivalent_defect_device.py::test_full_grid_evaluation_matches_the_region_source_closure, perovskite-sim/tests/unit/validation/", + "blocked_use": "new N acceptance / qualified reference use for benchmark:multivalent-explicit-defect-internal-closure" + }, + { + "field": "actual reference CV weights/support and physical gauge/contact values; allowed mask", + "needed_from": "benchmark-f243dcb4f5a72c41 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_multivalent_explicit_defects_qf.py::test_single_transition_v4_device_recovers_the_monovalent_qf_dc_route, perovskite-sim/tests/unit/models/test_multivalent_defect_loader.py::test_layer_parser_builds_the_canonical_v4_document, perovskite-sim/tests/unit/models/test_multivalent_defect_schema.py::test_v4_document_roundtrip_hash_and_shared_density_are_stable, perovskite-sim/tests/unit/physics/test_multivalent_defect_closure.py::test_single_transition_unity_limit_recovers_d2_exact_local_closure, perovskite-sim/tests/unit/physics/test_multivalent_defect_device.py::test_full_grid_evaluation_matches_the_region_source_closure, perovskite-sim/tests/unit/validation/", + "blocked_use": "new N acceptance / qualified reference use for benchmark:multivalent-explicit-defect-internal-closure" + }, + { + "field": "independent source/grid/time/mapping error in V and its qualified reference identity", + "needed_from": "benchmark-f243dcb4f5a72c41 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_multivalent_explicit_defects_qf.py::test_single_transition_v4_device_recovers_the_monovalent_qf_dc_route, perovskite-sim/tests/unit/models/test_multivalent_defect_loader.py::test_layer_parser_builds_the_canonical_v4_document, perovskite-sim/tests/unit/models/test_multivalent_defect_schema.py::test_v4_document_roundtrip_hash_and_shared_density_are_stable, perovskite-sim/tests/unit/physics/test_multivalent_defect_closure.py::test_single_transition_unity_limit_recovers_d2_exact_local_closure, perovskite-sim/tests/unit/physics/test_multivalent_defect_device.py::test_full_grid_evaluation_matches_the_region_source_closure, perovskite-sim/tests/unit/validation/", + "blocked_use": "new N acceptance / qualified reference use for benchmark:multivalent-explicit-defect-internal-closure" + }, + { + "field": "per-species/per-connected-domain positive reference inventory numeric scale and unit (1 or m-2, according to actual CV measure)", + "needed_from": "benchmark-f243dcb4f5a72c41 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_multivalent_explicit_defects_qf.py::test_single_transition_v4_device_recovers_the_monovalent_qf_dc_route, perovskite-sim/tests/unit/models/test_multivalent_defect_loader.py::test_layer_parser_builds_the_canonical_v4_document, perovskite-sim/tests/unit/models/test_multivalent_defect_schema.py::test_v4_document_roundtrip_hash_and_shared_density_are_stable, perovskite-sim/tests/unit/physics/test_multivalent_defect_closure.py::test_single_transition_unity_limit_recovers_d2_exact_local_closure, perovskite-sim/tests/unit/physics/test_multivalent_defect_device.py::test_full_grid_evaluation_matches_the_region_source_closure, perovskite-sim/tests/unit/validation/", + "blocked_use": "new N acceptance / qualified reference use for benchmark:multivalent-explicit-defect-internal-closure" + }, + { + "field": "zero-species/zero-cell identity and numeric dimensional absolute gate from model absence or reference error evidence", + "needed_from": "benchmark-f243dcb4f5a72c41 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_multivalent_explicit_defects_qf.py::test_single_transition_v4_device_recovers_the_monovalent_qf_dc_route, perovskite-sim/tests/unit/models/test_multivalent_defect_loader.py::test_layer_parser_builds_the_canonical_v4_document, perovskite-sim/tests/unit/models/test_multivalent_defect_schema.py::test_v4_document_roundtrip_hash_and_shared_density_are_stable, perovskite-sim/tests/unit/physics/test_multivalent_defect_closure.py::test_single_transition_unity_limit_recovers_d2_exact_local_closure, perovskite-sim/tests/unit/physics/test_multivalent_defect_device.py::test_full_grid_evaluation_matches_the_region_source_closure, perovskite-sim/tests/unit/validation/", + "blocked_use": "new N acceptance / qualified reference use for benchmark:multivalent-explicit-defect-internal-closure" + }, + { + "field": "actual volumes, component labels and independent log/inventory uncertainty", + "needed_from": "benchmark-f243dcb4f5a72c41 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_multivalent_explicit_defects_qf.py::test_single_transition_v4_device_recovers_the_monovalent_qf_dc_route, perovskite-sim/tests/unit/models/test_multivalent_defect_loader.py::test_layer_parser_builds_the_canonical_v4_document, perovskite-sim/tests/unit/models/test_multivalent_defect_schema.py::test_v4_document_roundtrip_hash_and_shared_density_are_stable, perovskite-sim/tests/unit/physics/test_multivalent_defect_closure.py::test_single_transition_unity_limit_recovers_d2_exact_local_closure, perovskite-sim/tests/unit/physics/test_multivalent_defect_device.py::test_full_grid_evaluation_matches_the_region_source_closure, perovskite-sim/tests/unit/validation/", + "blocked_use": "new N acceptance / qualified reference use for benchmark:multivalent-explicit-defect-internal-closure" + }, + { + "field": "actual row and column physical units, support and fixed per-block/state/input scales", + "needed_from": "benchmark-f243dcb4f5a72c41 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_multivalent_explicit_defects_qf.py::test_single_transition_v4_device_recovers_the_monovalent_qf_dc_route, perovskite-sim/tests/unit/models/test_multivalent_defect_loader.py::test_layer_parser_builds_the_canonical_v4_document, perovskite-sim/tests/unit/models/test_multivalent_defect_schema.py::test_v4_document_roundtrip_hash_and_shared_density_are_stable, perovskite-sim/tests/unit/physics/test_multivalent_defect_closure.py::test_single_transition_unity_limit_recovers_d2_exact_local_closure, perovskite-sim/tests/unit/physics/test_multivalent_defect_device.py::test_full_grid_evaluation_matches_the_region_source_closure, perovskite-sim/tests/unit/validation/", + "blocked_use": "new N acceptance / qualified reference use for benchmark:multivalent-explicit-defect-internal-closure" + }, + { + "field": "numeric independent derivative/action/weak-increment thresholds from the original applicable contract", + "needed_from": "benchmark-f243dcb4f5a72c41 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_multivalent_explicit_defects_qf.py::test_single_transition_v4_device_recovers_the_monovalent_qf_dc_route, perovskite-sim/tests/unit/models/test_multivalent_defect_loader.py::test_layer_parser_builds_the_canonical_v4_document, perovskite-sim/tests/unit/models/test_multivalent_defect_schema.py::test_v4_document_roundtrip_hash_and_shared_density_are_stable, perovskite-sim/tests/unit/physics/test_multivalent_defect_closure.py::test_single_transition_unity_limit_recovers_d2_exact_local_closure, perovskite-sim/tests/unit/physics/test_multivalent_defect_device.py::test_full_grid_evaluation_matches_the_region_source_closure, perovskite-sim/tests/unit/validation/", + "blocked_use": "new N acceptance / qualified reference use for benchmark:multivalent-explicit-defect-internal-closure" + }, + { + "field": "full nonlocal/input chain, inactive/zero branch and independent reference/cancellation error", + "needed_from": "benchmark-f243dcb4f5a72c41 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_multivalent_explicit_defects_qf.py::test_single_transition_v4_device_recovers_the_monovalent_qf_dc_route, perovskite-sim/tests/unit/models/test_multivalent_defect_loader.py::test_layer_parser_builds_the_canonical_v4_document, perovskite-sim/tests/unit/models/test_multivalent_defect_schema.py::test_v4_document_roundtrip_hash_and_shared_density_are_stable, perovskite-sim/tests/unit/physics/test_multivalent_defect_closure.py::test_single_transition_unity_limit_recovers_d2_exact_local_closure, perovskite-sim/tests/unit/physics/test_multivalent_defect_device.py::test_full_grid_evaluation_matches_the_region_source_closure, perovskite-sim/tests/unit/validation/", + "blocked_use": "new N acceptance / qualified reference use for benchmark:multivalent-explicit-defect-internal-closure" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/benchmark-f243dcb4f5a72c41/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + } + ], + "downstream_tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-benchmark-f243dcb4f5a72c41" + }, + "scope_specific_prior_gaps": [ + { + "field": "numeric fixed thermal/physical voltage scale in V from the exact reference temperature or declared boundary parameters", + "needed_from": "benchmark-f243dcb4f5a72c41 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_multivalent_explicit_defects_qf.py::test_single_transition_v4_device_recovers_the_monovalent_qf_dc_route, perovskite-sim/tests/unit/models/test_multivalent_defect_loader.py::test_layer_parser_builds_the_canonical_v4_document, perovskite-sim/tests/unit/models/test_multivalent_defect_schema.py::test_v4_document_roundtrip_hash_and_shared_density_are_stable, perovskite-sim/tests/unit/physics/test_multivalent_defect_closure.py::test_single_transition_unity_limit_recovers_d2_exact_local_closure, perovskite-sim/tests/unit/physics/test_multivalent_defect_device.py::test_full_grid_evaluation_matches_the_region_source_closure, perovskite-sim/tests/unit/validation/", + "blocked_use": "new N acceptance / qualified reference use for benchmark:multivalent-explicit-defect-internal-closure", + "categories": [ + "source_configuration" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual reference CV weights/support and physical gauge/contact values; allowed mask", + "needed_from": "benchmark-f243dcb4f5a72c41 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_multivalent_explicit_defects_qf.py::test_single_transition_v4_device_recovers_the_monovalent_qf_dc_route, perovskite-sim/tests/unit/models/test_multivalent_defect_loader.py::test_layer_parser_builds_the_canonical_v4_document, perovskite-sim/tests/unit/models/test_multivalent_defect_schema.py::test_v4_document_roundtrip_hash_and_shared_density_are_stable, perovskite-sim/tests/unit/physics/test_multivalent_defect_closure.py::test_single_transition_unity_limit_recovers_d2_exact_local_closure, perovskite-sim/tests/unit/physics/test_multivalent_defect_device.py::test_full_grid_evaluation_matches_the_region_source_closure, perovskite-sim/tests/unit/validation/", + "blocked_use": "new N acceptance / qualified reference use for benchmark:multivalent-explicit-defect-internal-closure", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "independent source/grid/time/mapping error in V and its qualified reference identity", + "needed_from": "benchmark-f243dcb4f5a72c41 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_multivalent_explicit_defects_qf.py::test_single_transition_v4_device_recovers_the_monovalent_qf_dc_route, perovskite-sim/tests/unit/models/test_multivalent_defect_loader.py::test_layer_parser_builds_the_canonical_v4_document, perovskite-sim/tests/unit/models/test_multivalent_defect_schema.py::test_v4_document_roundtrip_hash_and_shared_density_are_stable, perovskite-sim/tests/unit/physics/test_multivalent_defect_closure.py::test_single_transition_unity_limit_recovers_d2_exact_local_closure, perovskite-sim/tests/unit/physics/test_multivalent_defect_device.py::test_full_grid_evaluation_matches_the_region_source_closure, perovskite-sim/tests/unit/validation/", + "blocked_use": "new N acceptance / qualified reference use for benchmark:multivalent-explicit-defect-internal-closure", + "categories": [ + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "per-species/per-connected-domain positive reference inventory numeric scale and unit (1 or m-2, according to actual CV measure)", + "needed_from": "benchmark-f243dcb4f5a72c41 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_multivalent_explicit_defects_qf.py::test_single_transition_v4_device_recovers_the_monovalent_qf_dc_route, perovskite-sim/tests/unit/models/test_multivalent_defect_loader.py::test_layer_parser_builds_the_canonical_v4_document, perovskite-sim/tests/unit/models/test_multivalent_defect_schema.py::test_v4_document_roundtrip_hash_and_shared_density_are_stable, perovskite-sim/tests/unit/physics/test_multivalent_defect_closure.py::test_single_transition_unity_limit_recovers_d2_exact_local_closure, perovskite-sim/tests/unit/physics/test_multivalent_defect_device.py::test_full_grid_evaluation_matches_the_region_source_closure, perovskite-sim/tests/unit/validation/", + "blocked_use": "new N acceptance / qualified reference use for benchmark:multivalent-explicit-defect-internal-closure", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "zero-species/zero-cell identity and numeric dimensional absolute gate from model absence or reference error evidence", + "needed_from": "benchmark-f243dcb4f5a72c41 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_multivalent_explicit_defects_qf.py::test_single_transition_v4_device_recovers_the_monovalent_qf_dc_route, perovskite-sim/tests/unit/models/test_multivalent_defect_loader.py::test_layer_parser_builds_the_canonical_v4_document, perovskite-sim/tests/unit/models/test_multivalent_defect_schema.py::test_v4_document_roundtrip_hash_and_shared_density_are_stable, perovskite-sim/tests/unit/physics/test_multivalent_defect_closure.py::test_single_transition_unity_limit_recovers_d2_exact_local_closure, perovskite-sim/tests/unit/physics/test_multivalent_defect_device.py::test_full_grid_evaluation_matches_the_region_source_closure, perovskite-sim/tests/unit/validation/", + "blocked_use": "new N acceptance / qualified reference use for benchmark:multivalent-explicit-defect-internal-closure", + "categories": [ + "source_configuration", + "tolerance_decision" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual volumes, component labels and independent log/inventory uncertainty", + "needed_from": "benchmark-f243dcb4f5a72c41 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_multivalent_explicit_defects_qf.py::test_single_transition_v4_device_recovers_the_monovalent_qf_dc_route, perovskite-sim/tests/unit/models/test_multivalent_defect_loader.py::test_layer_parser_builds_the_canonical_v4_document, perovskite-sim/tests/unit/models/test_multivalent_defect_schema.py::test_v4_document_roundtrip_hash_and_shared_density_are_stable, perovskite-sim/tests/unit/physics/test_multivalent_defect_closure.py::test_single_transition_unity_limit_recovers_d2_exact_local_closure, perovskite-sim/tests/unit/physics/test_multivalent_defect_device.py::test_full_grid_evaluation_matches_the_region_source_closure, perovskite-sim/tests/unit/validation/", + "blocked_use": "new N acceptance / qualified reference use for benchmark:multivalent-explicit-defect-internal-closure", + "categories": [ + "measurement_data", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual row and column physical units, support and fixed per-block/state/input scales", + "needed_from": "benchmark-f243dcb4f5a72c41 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_multivalent_explicit_defects_qf.py::test_single_transition_v4_device_recovers_the_monovalent_qf_dc_route, perovskite-sim/tests/unit/models/test_multivalent_defect_loader.py::test_layer_parser_builds_the_canonical_v4_document, perovskite-sim/tests/unit/models/test_multivalent_defect_schema.py::test_v4_document_roundtrip_hash_and_shared_density_are_stable, perovskite-sim/tests/unit/physics/test_multivalent_defect_closure.py::test_single_transition_unity_limit_recovers_d2_exact_local_closure, perovskite-sim/tests/unit/physics/test_multivalent_defect_device.py::test_full_grid_evaluation_matches_the_region_source_closure, perovskite-sim/tests/unit/validation/", + "blocked_use": "new N acceptance / qualified reference use for benchmark:multivalent-explicit-defect-internal-closure", + "categories": [ + "source_configuration" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "numeric independent derivative/action/weak-increment thresholds from the original applicable contract", + "needed_from": "benchmark-f243dcb4f5a72c41 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_multivalent_explicit_defects_qf.py::test_single_transition_v4_device_recovers_the_monovalent_qf_dc_route, perovskite-sim/tests/unit/models/test_multivalent_defect_loader.py::test_layer_parser_builds_the_canonical_v4_document, perovskite-sim/tests/unit/models/test_multivalent_defect_schema.py::test_v4_document_roundtrip_hash_and_shared_density_are_stable, perovskite-sim/tests/unit/physics/test_multivalent_defect_closure.py::test_single_transition_unity_limit_recovers_d2_exact_local_closure, perovskite-sim/tests/unit/physics/test_multivalent_defect_device.py::test_full_grid_evaluation_matches_the_region_source_closure, perovskite-sim/tests/unit/validation/", + "blocked_use": "new N acceptance / qualified reference use for benchmark:multivalent-explicit-defect-internal-closure", + "categories": [ + "tolerance_decision" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "full nonlocal/input chain, inactive/zero branch and independent reference/cancellation error", + "needed_from": "benchmark-f243dcb4f5a72c41 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_multivalent_explicit_defects_qf.py::test_single_transition_v4_device_recovers_the_monovalent_qf_dc_route, perovskite-sim/tests/unit/models/test_multivalent_defect_loader.py::test_layer_parser_builds_the_canonical_v4_document, perovskite-sim/tests/unit/models/test_multivalent_defect_schema.py::test_v4_document_roundtrip_hash_and_shared_density_are_stable, perovskite-sim/tests/unit/physics/test_multivalent_defect_closure.py::test_single_transition_unity_limit_recovers_d2_exact_local_closure, perovskite-sim/tests/unit/physics/test_multivalent_defect_device.py::test_full_grid_evaluation_matches_the_region_source_closure, perovskite-sim/tests/unit/validation/", + "blocked_use": "new N acceptance / qualified reference use for benchmark:multivalent-explicit-defect-internal-closure", + "categories": [ + "source_configuration", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/benchmark-f243dcb4f5a72c41/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [], + "current_numeric_status": "prior_exact_scope_gaps_retained_and_classified" + } + }, + { + "id": "scope-benchmark-ac91c699b18d14f4", + "capability_id": "benchmark-ac91c699b18d14f4", + "route_id": "route-f13ea1085e6c91d1", + "origin_key": "benchmark:phase1-refinement-contract", + "disposition": "engineering_only", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": false, + "families": [ + "engineering_lifecycle_or_schema" + ], + "classification_basis": "Read source assertions: only loader enumeration/schema counts or synthetic refinement-runner status/hash/resume/no-overwrite behavior. This record does not certify the positive models/drivers that consume the data.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "pointer": "/benchmarks/phase1-refinement-contract", + "value_sha256": "3a52fdcb18a1b60bc0d218a142e83a51d04dffa2f732c733bc50c77ea4d90c65" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_tolerance_grid_refinement.py", + "symbol": "test_certificate_distinguishes_certified_partial_and_failed" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_tolerance_grid_refinement.py", + "symbol": "test_failed_cell_can_be_retried_without_deleting_prior_artifact" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_tolerance_grid_refinement.py", + "symbol": "test_plan_refinement_is_read_only" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_tolerance_grid_refinement.py", + "symbol": "test_preregistered_numerical_lanes_and_thresholds_are_immutable" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_tolerance_grid_refinement.py", + "symbol": "test_protocol_hash_is_manifested_and_inconsistency_fails_closed" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_tolerance_grid_refinement.py", + "symbol": "test_refinement_runner_rejects_historical_reference_output_root" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_tolerance_grid_refinement.py", + "symbol": "test_refinement_runner_resumes_content_addressed_cells_without_overwrite" + } + ], + "negative_only_descriptor_rule_ids": [ + "rule-0486cbb4ef408b75e7d18011" + ], + "source_quantitative_assertion_ids_for_scope_audit": [], + "rule_ids": [ + "M_payload" + ], + "citations": [ + { + "source_id": "runner_test", + "symbol": "test_plan_refinement_is_read_only" + }, + { + "source_id": "runner_test", + "symbol": "test_protocol_hash_is_manifested_and_inconsistency_fails_closed" + }, + { + "source_id": "runner_test", + "symbol": "test_refinement_runner_resumes_content_addressed_cells_without_overwrite" + } + ], + "remaining_inputs": [ + { + "field": "exact M reference/candidate payload and allowed import-only metadata exceptions", + "needed_from": "benchmark-ac91c699b18d14f4 source-bound engineering fixture execution under the planned M change", + "blocked_use": "declaring the migration itself checked; there is no invented physical certificate for this lifecycle rule" + } + ], + "downstream_tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "engineering_expected": { + "preserved": [ + "certified/partial/failed distinctions", + "protocol/source hashes", + "read-only planning", + "resume without overwriting first failure", + "original immutable lane thresholds" + ] + }, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-benchmark-ac91c699b18d14f4" + }, + "scope_specific_prior_gaps": [ + { + "field": "exact M reference/candidate payload and allowed import-only metadata exceptions", + "needed_from": "benchmark-ac91c699b18d14f4 source-bound engineering fixture execution under the planned M change", + "blocked_use": "declaring the migration itself checked; there is no invented physical certificate for this lifecycle rule", + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [], + "current_numeric_status": "engineering_no_physical_numeric_gate" + } + }, + { + "id": "scope-benchmark-beb35201a660895f", + "capability_id": "benchmark-beb35201a660895f", + "route_id": "route-f13ea1085e6c91d1", + "origin_key": "benchmark:scaps-cbo-trend", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "JV_metrics_and_full_branch" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "pointer": "/benchmarks/scaps-cbo-trend", + "value_sha256": "bd94751ed3e57f6265e83fc3ecd0e2a2fdf2c5ae6edf02110f508ae59022ffa4" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_scaps_mirror_cbo_trend.py", + "symbol": "test_cbo_voc_drops_at_cliff" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_scaps_mirror_cbo_trend.py", + "symbol": "test_cbo_voc_holds_at_spike" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_scaps_mirror_cbo_trend.py", + "symbol": "test_cbo_voc_range_at_least_200mV" + } + ], + "negative_only_descriptor_rule_ids": [], + "source_quantitative_assertion_ids_for_scope_audit": [ + "rule-53924af4ac546af9ae3a8d6d", + "rule-4cfb2360003cf93e856bc757", + "rule-94ccecc3784e3c00fd7e5f56" + ], + "rule_ids": [ + "M_payload", + "Voc_absolute", + "JV_metric_packet" + ], + "citations": [], + "remaining_inputs": [ + { + "field": "fixed numeric Jsc/FF/PCE reference values/scales with the actual output units and conversion identity", + "needed_from": "benchmark-beb35201a660895f exact original driver/reference observation packet; perovskite-sim/tests/integration/test_scaps_mirror_cbo_trend.py::test_cbo_voc_drops_at_cliff, perovskite-sim/tests/integration/test_scaps_mirror_cbo_trend.py::test_cbo_voc_holds_at_spike, perovskite-sim/tests/integration/test_scaps_mirror_cbo_trend.py::test_cbo_voc_range_at_least_200mV", + "blocked_use": "new N acceptance / qualified reference use for benchmark:scaps-cbo-trend" + }, + { + "field": "dimensional dark/weak Jsc and zero-power absolute limits with error evidence", + "needed_from": "benchmark-beb35201a660895f exact original driver/reference observation packet; perovskite-sim/tests/integration/test_scaps_mirror_cbo_trend.py::test_cbo_voc_drops_at_cliff, perovskite-sim/tests/integration/test_scaps_mirror_cbo_trend.py::test_cbo_voc_holds_at_spike, perovskite-sim/tests/integration/test_scaps_mirror_cbo_trend.py::test_cbo_voc_range_at_least_200mV", + "blocked_use": "new N acceptance / qualified reference use for benchmark:scaps-cbo-trend" + }, + { + "field": "Voc bracket, dJ/dV and current-error propagation bound; MPP sampling and full branch coordinates", + "needed_from": "benchmark-beb35201a660895f exact original driver/reference observation packet; perovskite-sim/tests/integration/test_scaps_mirror_cbo_trend.py::test_cbo_voc_drops_at_cliff, perovskite-sim/tests/integration/test_scaps_mirror_cbo_trend.py::test_cbo_voc_holds_at_spike, perovskite-sim/tests/integration/test_scaps_mirror_cbo_trend.py::test_cbo_voc_range_at_least_200mV", + "blocked_use": "new N acceptance / qualified reference use for benchmark:scaps-cbo-trend" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/benchmark-beb35201a660895f/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + } + ], + "downstream_tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-benchmark-beb35201a660895f" + }, + "scope_specific_prior_gaps": [ + { + "field": "fixed numeric Jsc/FF/PCE reference values/scales with the actual output units and conversion identity", + "needed_from": "benchmark-beb35201a660895f exact original driver/reference observation packet; perovskite-sim/tests/integration/test_scaps_mirror_cbo_trend.py::test_cbo_voc_drops_at_cliff, perovskite-sim/tests/integration/test_scaps_mirror_cbo_trend.py::test_cbo_voc_holds_at_spike, perovskite-sim/tests/integration/test_scaps_mirror_cbo_trend.py::test_cbo_voc_range_at_least_200mV", + "blocked_use": "new N acceptance / qualified reference use for benchmark:scaps-cbo-trend", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "dimensional dark/weak Jsc and zero-power absolute limits with error evidence", + "needed_from": "benchmark-beb35201a660895f exact original driver/reference observation packet; perovskite-sim/tests/integration/test_scaps_mirror_cbo_trend.py::test_cbo_voc_drops_at_cliff, perovskite-sim/tests/integration/test_scaps_mirror_cbo_trend.py::test_cbo_voc_holds_at_spike, perovskite-sim/tests/integration/test_scaps_mirror_cbo_trend.py::test_cbo_voc_range_at_least_200mV", + "blocked_use": "new N acceptance / qualified reference use for benchmark:scaps-cbo-trend", + "categories": [ + "tolerance_decision", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "Voc bracket, dJ/dV and current-error propagation bound; MPP sampling and full branch coordinates", + "needed_from": "benchmark-beb35201a660895f exact original driver/reference observation packet; perovskite-sim/tests/integration/test_scaps_mirror_cbo_trend.py::test_cbo_voc_drops_at_cliff, perovskite-sim/tests/integration/test_scaps_mirror_cbo_trend.py::test_cbo_voc_holds_at_spike, perovskite-sim/tests/integration/test_scaps_mirror_cbo_trend.py::test_cbo_voc_range_at_least_200mV", + "blocked_use": "new N acceptance / qualified reference use for benchmark:scaps-cbo-trend", + "categories": [ + "measurement_data", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/benchmark-beb35201a660895f/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [], + "current_numeric_status": "prior_exact_scope_gaps_retained_and_classified" + } + }, + { + "id": "scope-benchmark-64d717e2afaf62b7", + "capability_id": "benchmark-64d717e2afaf62b7", + "route_id": "route-f13ea1085e6c91d1", + "origin_key": "benchmark:scaps-low-doping-etl-boundary", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "source_specific_positive_observable_requires_declared_metric_selection" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "pointer": "/benchmarks/scaps-low-doping-etl-boundary", + "value_sha256": "fb9f0539afb9c1ce08798f6f4ec733f8610494e7bdd4a78a3d3be26d676ea4a9" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_steady_state.py", + "symbol": "test_low_doping_etl_metal_reservoir_brackets_physical_voc" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_steady_state.py", + "symbol": "test_low_doping_etl_without_metal_reservoir_is_explicit_no_crossing" + } + ], + "negative_only_descriptor_rule_ids": [ + "rule-1c665ebd6f66b247f004eff3" + ], + "source_quantitative_assertion_ids_for_scope_audit": [ + "rule-2f04326121a19bb663651428", + "rule-02a2d8e22e148ceadce3708f" + ], + "rule_ids": [ + "M_payload", + "operator_packet" + ], + "citations": [], + "remaining_inputs": [ + { + "field": "actual row and column physical units, support and fixed per-block/state/input scales", + "needed_from": "benchmark-64d717e2afaf62b7 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_steady_state.py::test_low_doping_etl_metal_reservoir_brackets_physical_voc, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_low_doping_etl_without_metal_reservoir_is_explicit_no_crossing", + "blocked_use": "new N acceptance / qualified reference use for benchmark:scaps-low-doping-etl-boundary" + }, + { + "field": "numeric independent derivative/action/weak-increment thresholds from the original applicable contract", + "needed_from": "benchmark-64d717e2afaf62b7 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_steady_state.py::test_low_doping_etl_metal_reservoir_brackets_physical_voc, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_low_doping_etl_without_metal_reservoir_is_explicit_no_crossing", + "blocked_use": "new N acceptance / qualified reference use for benchmark:scaps-low-doping-etl-boundary" + }, + { + "field": "full nonlocal/input chain, inactive/zero branch and independent reference/cancellation error", + "needed_from": "benchmark-64d717e2afaf62b7 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_steady_state.py::test_low_doping_etl_metal_reservoir_brackets_physical_voc, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_low_doping_etl_without_metal_reservoir_is_explicit_no_crossing", + "blocked_use": "new N acceptance / qualified reference use for benchmark:scaps-low-doping-etl-boundary" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/benchmark-64d717e2afaf62b7/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + } + ], + "downstream_tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-benchmark-64d717e2afaf62b7" + }, + "scope_specific_prior_gaps": [ + { + "field": "actual row and column physical units, support and fixed per-block/state/input scales", + "needed_from": "benchmark-64d717e2afaf62b7 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_steady_state.py::test_low_doping_etl_metal_reservoir_brackets_physical_voc, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_low_doping_etl_without_metal_reservoir_is_explicit_no_crossing", + "blocked_use": "new N acceptance / qualified reference use for benchmark:scaps-low-doping-etl-boundary", + "categories": [ + "source_configuration" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "numeric independent derivative/action/weak-increment thresholds from the original applicable contract", + "needed_from": "benchmark-64d717e2afaf62b7 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_steady_state.py::test_low_doping_etl_metal_reservoir_brackets_physical_voc, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_low_doping_etl_without_metal_reservoir_is_explicit_no_crossing", + "blocked_use": "new N acceptance / qualified reference use for benchmark:scaps-low-doping-etl-boundary", + "categories": [ + "tolerance_decision" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "full nonlocal/input chain, inactive/zero branch and independent reference/cancellation error", + "needed_from": "benchmark-64d717e2afaf62b7 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_steady_state.py::test_low_doping_etl_metal_reservoir_brackets_physical_voc, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_low_doping_etl_without_metal_reservoir_is_explicit_no_crossing", + "blocked_use": "new N acceptance / qualified reference use for benchmark:scaps-low-doping-etl-boundary", + "categories": [ + "source_configuration", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/benchmark-64d717e2afaf62b7/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [], + "current_numeric_status": "prior_exact_scope_gaps_retained_and_classified" + } + }, + { + "id": "scope-benchmark-4e5dfc48e60736d0", + "capability_id": "benchmark-4e5dfc48e60736d0", + "route_id": "route-f13ea1085e6c91d1", + "origin_key": "benchmark:spatial-explicit-defect-internal-closure", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "physical_profiles_or_stored_state_history", + "CV_geometry_and_interface_sides", + "source_specific_operator_or_constitutive_action" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "pointer": "/benchmarks/spatial-explicit-defect-internal-closure", + "value_sha256": "dfc286c5e52c75148405ff9f9b26cf9c3813dd1b10bab1668dd9d4319c49a486" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_spatially_graded_explicit_defects_qf.py", + "symbol": "test_spatially_graded_dark_qf_state_and_small_jv_are_certified" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_distributed_defect_closure.py", + "symbol": "test_nearly_saturated_tail_mean_stays_bounded_without_clipping" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_spatial_defect_refinement.py", + "symbol": "test_registered_executor_real_cell_matches_exact_contract" + } + ], + "negative_only_descriptor_rule_ids": [], + "source_quantitative_assertion_ids_for_scope_audit": [ + "rule-807117fa0ce918da7306c8e1", + "rule-fd209b45d27133da7a8728be", + "rule-2ff1dcf39fb3647537cd4ef3" + ], + "rule_ids": [ + "M_payload", + "potential_packet", + "positive_density_log", + "density_inventory_packet", + "projection_packet", + "operator_packet" + ], + "citations": [], + "remaining_inputs": [ + { + "field": "numeric fixed thermal/physical voltage scale in V from the exact reference temperature or declared boundary parameters", + "needed_from": "benchmark-4e5dfc48e60736d0 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_spatially_graded_explicit_defects_qf.py::test_spatially_graded_dark_qf_state_and_small_jv_are_certified, perovskite-sim/tests/unit/physics/test_distributed_defect_closure.py::test_nearly_saturated_tail_mean_stays_bounded_without_clipping, perovskite-sim/tests/unit/validation/test_spatial_defect_refinement.py::test_registered_executor_real_cell_matches_exact_contract", + "blocked_use": "new N acceptance / qualified reference use for benchmark:spatial-explicit-defect-internal-closure" + }, + { + "field": "actual reference CV weights/support and physical gauge/contact values; allowed mask", + "needed_from": "benchmark-4e5dfc48e60736d0 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_spatially_graded_explicit_defects_qf.py::test_spatially_graded_dark_qf_state_and_small_jv_are_certified, perovskite-sim/tests/unit/physics/test_distributed_defect_closure.py::test_nearly_saturated_tail_mean_stays_bounded_without_clipping, perovskite-sim/tests/unit/validation/test_spatial_defect_refinement.py::test_registered_executor_real_cell_matches_exact_contract", + "blocked_use": "new N acceptance / qualified reference use for benchmark:spatial-explicit-defect-internal-closure" + }, + { + "field": "independent source/grid/time/mapping error in V and its qualified reference identity", + "needed_from": "benchmark-4e5dfc48e60736d0 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_spatially_graded_explicit_defects_qf.py::test_spatially_graded_dark_qf_state_and_small_jv_are_certified, perovskite-sim/tests/unit/physics/test_distributed_defect_closure.py::test_nearly_saturated_tail_mean_stays_bounded_without_clipping, perovskite-sim/tests/unit/validation/test_spatial_defect_refinement.py::test_registered_executor_real_cell_matches_exact_contract", + "blocked_use": "new N acceptance / qualified reference use for benchmark:spatial-explicit-defect-internal-closure" + }, + { + "field": "per-species/per-connected-domain positive reference inventory numeric scale and unit (1 or m-2, according to actual CV measure)", + "needed_from": "benchmark-4e5dfc48e60736d0 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_spatially_graded_explicit_defects_qf.py::test_spatially_graded_dark_qf_state_and_small_jv_are_certified, perovskite-sim/tests/unit/physics/test_distributed_defect_closure.py::test_nearly_saturated_tail_mean_stays_bounded_without_clipping, perovskite-sim/tests/unit/validation/test_spatial_defect_refinement.py::test_registered_executor_real_cell_matches_exact_contract", + "blocked_use": "new N acceptance / qualified reference use for benchmark:spatial-explicit-defect-internal-closure" + }, + { + "field": "zero-species/zero-cell identity and numeric dimensional absolute gate from model absence or reference error evidence", + "needed_from": "benchmark-4e5dfc48e60736d0 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_spatially_graded_explicit_defects_qf.py::test_spatially_graded_dark_qf_state_and_small_jv_are_certified, perovskite-sim/tests/unit/physics/test_distributed_defect_closure.py::test_nearly_saturated_tail_mean_stays_bounded_without_clipping, perovskite-sim/tests/unit/validation/test_spatial_defect_refinement.py::test_registered_executor_real_cell_matches_exact_contract", + "blocked_use": "new N acceptance / qualified reference use for benchmark:spatial-explicit-defect-internal-closure" + }, + { + "field": "actual volumes, component labels and independent log/inventory uncertainty", + "needed_from": "benchmark-4e5dfc48e60736d0 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_spatially_graded_explicit_defects_qf.py::test_spatially_graded_dark_qf_state_and_small_jv_are_certified, perovskite-sim/tests/unit/physics/test_distributed_defect_closure.py::test_nearly_saturated_tail_mean_stays_bounded_without_clipping, perovskite-sim/tests/unit/validation/test_spatial_defect_refinement.py::test_registered_executor_real_cell_matches_exact_contract", + "blocked_use": "new N acceptance / qualified reference use for benchmark:spatial-explicit-defect-internal-closure" + }, + { + "field": "source/target geometry and a verified conservative CV intersection/projection artifact or explicit1D cell averages", + "needed_from": "benchmark-4e5dfc48e60736d0 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_spatially_graded_explicit_defects_qf.py::test_spatially_graded_dark_qf_state_and_small_jv_are_certified, perovskite-sim/tests/unit/physics/test_distributed_defect_closure.py::test_nearly_saturated_tail_mean_stays_bounded_without_clipping, perovskite-sim/tests/unit/validation/test_spatial_defect_refinement.py::test_registered_executor_real_cell_matches_exact_contract", + "blocked_use": "new N acceptance / qualified reference use for benchmark:spatial-explicit-defect-internal-closure" + }, + { + "field": "fixed numeric integral/inventory/left-trace/right-trace scales and limits in their physical units", + "needed_from": "benchmark-4e5dfc48e60736d0 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_spatially_graded_explicit_defects_qf.py::test_spatially_graded_dark_qf_state_and_small_jv_are_certified, perovskite-sim/tests/unit/physics/test_distributed_defect_closure.py::test_nearly_saturated_tail_mean_stays_bounded_without_clipping, perovskite-sim/tests/unit/validation/test_spatial_defect_refinement.py::test_registered_executor_real_cell_matches_exact_contract", + "blocked_use": "new N acceptance / qualified reference use for benchmark:spatial-explicit-defect-internal-closure" + }, + { + "field": "projection error, component topology and every interface-side identity", + "needed_from": "benchmark-4e5dfc48e60736d0 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_spatially_graded_explicit_defects_qf.py::test_spatially_graded_dark_qf_state_and_small_jv_are_certified, perovskite-sim/tests/unit/physics/test_distributed_defect_closure.py::test_nearly_saturated_tail_mean_stays_bounded_without_clipping, perovskite-sim/tests/unit/validation/test_spatial_defect_refinement.py::test_registered_executor_real_cell_matches_exact_contract", + "blocked_use": "new N acceptance / qualified reference use for benchmark:spatial-explicit-defect-internal-closure" + }, + { + "field": "actual row and column physical units, support and fixed per-block/state/input scales", + "needed_from": "benchmark-4e5dfc48e60736d0 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_spatially_graded_explicit_defects_qf.py::test_spatially_graded_dark_qf_state_and_small_jv_are_certified, perovskite-sim/tests/unit/physics/test_distributed_defect_closure.py::test_nearly_saturated_tail_mean_stays_bounded_without_clipping, perovskite-sim/tests/unit/validation/test_spatial_defect_refinement.py::test_registered_executor_real_cell_matches_exact_contract", + "blocked_use": "new N acceptance / qualified reference use for benchmark:spatial-explicit-defect-internal-closure" + }, + { + "field": "numeric independent derivative/action/weak-increment thresholds from the original applicable contract", + "needed_from": "benchmark-4e5dfc48e60736d0 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_spatially_graded_explicit_defects_qf.py::test_spatially_graded_dark_qf_state_and_small_jv_are_certified, perovskite-sim/tests/unit/physics/test_distributed_defect_closure.py::test_nearly_saturated_tail_mean_stays_bounded_without_clipping, perovskite-sim/tests/unit/validation/test_spatial_defect_refinement.py::test_registered_executor_real_cell_matches_exact_contract", + "blocked_use": "new N acceptance / qualified reference use for benchmark:spatial-explicit-defect-internal-closure" + }, + { + "field": "full nonlocal/input chain, inactive/zero branch and independent reference/cancellation error", + "needed_from": "benchmark-4e5dfc48e60736d0 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_spatially_graded_explicit_defects_qf.py::test_spatially_graded_dark_qf_state_and_small_jv_are_certified, perovskite-sim/tests/unit/physics/test_distributed_defect_closure.py::test_nearly_saturated_tail_mean_stays_bounded_without_clipping, perovskite-sim/tests/unit/validation/test_spatial_defect_refinement.py::test_registered_executor_real_cell_matches_exact_contract", + "blocked_use": "new N acceptance / qualified reference use for benchmark:spatial-explicit-defect-internal-closure" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/benchmark-4e5dfc48e60736d0/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + } + ], + "downstream_tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-benchmark-4e5dfc48e60736d0" + }, + "scope_specific_prior_gaps": [ + { + "field": "numeric fixed thermal/physical voltage scale in V from the exact reference temperature or declared boundary parameters", + "needed_from": "benchmark-4e5dfc48e60736d0 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_spatially_graded_explicit_defects_qf.py::test_spatially_graded_dark_qf_state_and_small_jv_are_certified, perovskite-sim/tests/unit/physics/test_distributed_defect_closure.py::test_nearly_saturated_tail_mean_stays_bounded_without_clipping, perovskite-sim/tests/unit/validation/test_spatial_defect_refinement.py::test_registered_executor_real_cell_matches_exact_contract", + "blocked_use": "new N acceptance / qualified reference use for benchmark:spatial-explicit-defect-internal-closure", + "categories": [ + "source_configuration" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual reference CV weights/support and physical gauge/contact values; allowed mask", + "needed_from": "benchmark-4e5dfc48e60736d0 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_spatially_graded_explicit_defects_qf.py::test_spatially_graded_dark_qf_state_and_small_jv_are_certified, perovskite-sim/tests/unit/physics/test_distributed_defect_closure.py::test_nearly_saturated_tail_mean_stays_bounded_without_clipping, perovskite-sim/tests/unit/validation/test_spatial_defect_refinement.py::test_registered_executor_real_cell_matches_exact_contract", + "blocked_use": "new N acceptance / qualified reference use for benchmark:spatial-explicit-defect-internal-closure", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "independent source/grid/time/mapping error in V and its qualified reference identity", + "needed_from": "benchmark-4e5dfc48e60736d0 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_spatially_graded_explicit_defects_qf.py::test_spatially_graded_dark_qf_state_and_small_jv_are_certified, perovskite-sim/tests/unit/physics/test_distributed_defect_closure.py::test_nearly_saturated_tail_mean_stays_bounded_without_clipping, perovskite-sim/tests/unit/validation/test_spatial_defect_refinement.py::test_registered_executor_real_cell_matches_exact_contract", + "blocked_use": "new N acceptance / qualified reference use for benchmark:spatial-explicit-defect-internal-closure", + "categories": [ + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "per-species/per-connected-domain positive reference inventory numeric scale and unit (1 or m-2, according to actual CV measure)", + "needed_from": "benchmark-4e5dfc48e60736d0 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_spatially_graded_explicit_defects_qf.py::test_spatially_graded_dark_qf_state_and_small_jv_are_certified, perovskite-sim/tests/unit/physics/test_distributed_defect_closure.py::test_nearly_saturated_tail_mean_stays_bounded_without_clipping, perovskite-sim/tests/unit/validation/test_spatial_defect_refinement.py::test_registered_executor_real_cell_matches_exact_contract", + "blocked_use": "new N acceptance / qualified reference use for benchmark:spatial-explicit-defect-internal-closure", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "zero-species/zero-cell identity and numeric dimensional absolute gate from model absence or reference error evidence", + "needed_from": "benchmark-4e5dfc48e60736d0 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_spatially_graded_explicit_defects_qf.py::test_spatially_graded_dark_qf_state_and_small_jv_are_certified, perovskite-sim/tests/unit/physics/test_distributed_defect_closure.py::test_nearly_saturated_tail_mean_stays_bounded_without_clipping, perovskite-sim/tests/unit/validation/test_spatial_defect_refinement.py::test_registered_executor_real_cell_matches_exact_contract", + "blocked_use": "new N acceptance / qualified reference use for benchmark:spatial-explicit-defect-internal-closure", + "categories": [ + "source_configuration", + "tolerance_decision" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual volumes, component labels and independent log/inventory uncertainty", + "needed_from": "benchmark-4e5dfc48e60736d0 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_spatially_graded_explicit_defects_qf.py::test_spatially_graded_dark_qf_state_and_small_jv_are_certified, perovskite-sim/tests/unit/physics/test_distributed_defect_closure.py::test_nearly_saturated_tail_mean_stays_bounded_without_clipping, perovskite-sim/tests/unit/validation/test_spatial_defect_refinement.py::test_registered_executor_real_cell_matches_exact_contract", + "blocked_use": "new N acceptance / qualified reference use for benchmark:spatial-explicit-defect-internal-closure", + "categories": [ + "measurement_data", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "source/target geometry and a verified conservative CV intersection/projection artifact or explicit1D cell averages", + "needed_from": "benchmark-4e5dfc48e60736d0 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_spatially_graded_explicit_defects_qf.py::test_spatially_graded_dark_qf_state_and_small_jv_are_certified, perovskite-sim/tests/unit/physics/test_distributed_defect_closure.py::test_nearly_saturated_tail_mean_stays_bounded_without_clipping, perovskite-sim/tests/unit/validation/test_spatial_defect_refinement.py::test_registered_executor_real_cell_matches_exact_contract", + "blocked_use": "new N acceptance / qualified reference use for benchmark:spatial-explicit-defect-internal-closure", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "fixed numeric integral/inventory/left-trace/right-trace scales and limits in their physical units", + "needed_from": "benchmark-4e5dfc48e60736d0 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_spatially_graded_explicit_defects_qf.py::test_spatially_graded_dark_qf_state_and_small_jv_are_certified, perovskite-sim/tests/unit/physics/test_distributed_defect_closure.py::test_nearly_saturated_tail_mean_stays_bounded_without_clipping, perovskite-sim/tests/unit/validation/test_spatial_defect_refinement.py::test_registered_executor_real_cell_matches_exact_contract", + "blocked_use": "new N acceptance / qualified reference use for benchmark:spatial-explicit-defect-internal-closure", + "categories": [ + "source_configuration", + "tolerance_decision" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "projection error, component topology and every interface-side identity", + "needed_from": "benchmark-4e5dfc48e60736d0 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_spatially_graded_explicit_defects_qf.py::test_spatially_graded_dark_qf_state_and_small_jv_are_certified, perovskite-sim/tests/unit/physics/test_distributed_defect_closure.py::test_nearly_saturated_tail_mean_stays_bounded_without_clipping, perovskite-sim/tests/unit/validation/test_spatial_defect_refinement.py::test_registered_executor_real_cell_matches_exact_contract", + "blocked_use": "new N acceptance / qualified reference use for benchmark:spatial-explicit-defect-internal-closure", + "categories": [ + "source_configuration", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual row and column physical units, support and fixed per-block/state/input scales", + "needed_from": "benchmark-4e5dfc48e60736d0 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_spatially_graded_explicit_defects_qf.py::test_spatially_graded_dark_qf_state_and_small_jv_are_certified, perovskite-sim/tests/unit/physics/test_distributed_defect_closure.py::test_nearly_saturated_tail_mean_stays_bounded_without_clipping, perovskite-sim/tests/unit/validation/test_spatial_defect_refinement.py::test_registered_executor_real_cell_matches_exact_contract", + "blocked_use": "new N acceptance / qualified reference use for benchmark:spatial-explicit-defect-internal-closure", + "categories": [ + "source_configuration" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "numeric independent derivative/action/weak-increment thresholds from the original applicable contract", + "needed_from": "benchmark-4e5dfc48e60736d0 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_spatially_graded_explicit_defects_qf.py::test_spatially_graded_dark_qf_state_and_small_jv_are_certified, perovskite-sim/tests/unit/physics/test_distributed_defect_closure.py::test_nearly_saturated_tail_mean_stays_bounded_without_clipping, perovskite-sim/tests/unit/validation/test_spatial_defect_refinement.py::test_registered_executor_real_cell_matches_exact_contract", + "blocked_use": "new N acceptance / qualified reference use for benchmark:spatial-explicit-defect-internal-closure", + "categories": [ + "tolerance_decision" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "full nonlocal/input chain, inactive/zero branch and independent reference/cancellation error", + "needed_from": "benchmark-4e5dfc48e60736d0 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_spatially_graded_explicit_defects_qf.py::test_spatially_graded_dark_qf_state_and_small_jv_are_certified, perovskite-sim/tests/unit/physics/test_distributed_defect_closure.py::test_nearly_saturated_tail_mean_stays_bounded_without_clipping, perovskite-sim/tests/unit/validation/test_spatial_defect_refinement.py::test_registered_executor_real_cell_matches_exact_contract", + "blocked_use": "new N acceptance / qualified reference use for benchmark:spatial-explicit-defect-internal-closure", + "categories": [ + "source_configuration", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/benchmark-4e5dfc48e60736d0/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [], + "current_numeric_status": "prior_exact_scope_gaps_retained_and_classified" + } + }, + { + "id": "scope-benchmark-a8032d8160a5c7e3", + "capability_id": "benchmark-a8032d8160a5c7e3", + "route_id": "route-f13ea1085e6c91d1", + "origin_key": "benchmark:tmm-jsc-regression", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "optical_or_spectral_observations" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "pointer": "/benchmarks/tmm-jsc-regression", + "value_sha256": "5717110052d1f721dabe39c0b200ed22a4f1d31814ea952abbf064fc3b812986" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_tmm_baseline.py", + "symbol": "test_nip_tmm_baseline_jsc" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_tmm_baseline.py", + "symbol": "test_pin_tmm_baseline_jsc" + } + ], + "negative_only_descriptor_rule_ids": [], + "source_quantitative_assertion_ids_for_scope_audit": [ + "rule-74f8b42db9841a2cc1cfebd0", + "rule-99f83be95993e47c08fc1d8c" + ], + "rule_ids": [ + "M_payload", + "spectrum_packet" + ], + "citations": [ + { + "source_id": "tmm_test" + }, + { + "source_id": "formal", + "lines": [ + 910, + 931 + ], + "text_sha256": "b72c4040bcf0248f9b08eca8c8ecf561fb82e0f5fa637d76d2551b6dc22f4a60" + } + ], + "remaining_inputs": [ + { + "field": "For a new N Jsc/FF/PCE comparison: full source/input/optical-resource/whole-flux-ion protocol/state/grid/numerics/environment identity and independent metric errors; the historical 5 A m-2 band does not certify 1e-4 relative accuracy.", + "needed_from": "benchmark-a8032d8160a5c7e3 / historical_nip_pin_tmm_Jsc_pins: original bound source/input and independently reviewed ReferenceQualification packet", + "blocked_use": "benchmark:tmm-jsc-regression: new N acceptance outside the explicitly limited fixture meaning", + "downstream_tasks": [ + "P00-03", + "P03-06", + "P09-01" + ] + }, + { + "field": "Dark/near-zero metric absolute allowances and resolvability; Voc bracket endpoints, local dJ/dV lower bound and propagated current error; full signed J-V/MPP/forward-stress observations remain required.", + "needed_from": "benchmark-a8032d8160a5c7e3 / historical_nip_pin_tmm_Jsc_pins: original bound source/input and independently reviewed ReferenceQualification packet", + "blocked_use": "benchmark:tmm-jsc-regression: new N acceptance outside the explicitly limited fixture meaning", + "downstream_tasks": [ + "P00-03", + "P03-06", + "P09-01" + ] + }, + { + "field": "Other original driver/fixture branches listed in original_test_or_source_bindings remain outside these exact-case parameter bindings; original rules and positive physical obligations are unchanged.", + "needed_from": "benchmark:tmm-jsc-regression original branch-specific reference packet and applicable contract", + "blocked_use": "Full-scope activation or extension to an unmatched model/protocol/state/grid/environment" + } + ], + "downstream_tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "parameter_bindings": [ + { + "family_rule_id": "JV_metric_packet", + "case_id": "historical_nip_pin_tmm_Jsc_pins", + "applicability": "Original 21-point forward Jsc stored-number regression only, explicitly whole-flux steric ions; not numerical-solution or external optical truth.", + "numeric_parameter_status": "specified_for_listed_subgates", + "known_parameters": { + "unit": "A m-2", + "nip_stored_target": 211.02, + "pin_stored_target": 216.62, + "sweep_n_points": 21, + "ion_steric_diffusion_only": false, + "zero_policy": "Absolute stored-target drift, no division by Jsc; no extrapolation to dark or weak-current cases", + "new_N_metric_target": { + "Voc_absolute_V": 0.0001, + "Jsc_FF_PCE_relative": 0.0001 + }, + "new_N_reference_scale": "abs(the independently qualified nonzero reference metric), not these unqualified pins and not candidate maxima" + }, + "limits": { + "nip_original_pin": { + "unit": "A m-2", + "atol": 5.0, + "rtol": 0.0, + "scale": 211.02, + "basis": "Original TOLERANCE and NIP_TMM_JSC_PINNED", + "operator": "lt" + }, + "pin_original_pin": { + "unit": "A m-2", + "atol": 5.0, + "rtol": 0.0, + "scale": 216.62, + "basis": "Original TOLERANCE and PIN_TMM_JSC_PINNED", + "operator": "lt" + } + }, + "citations": [ + { + "source_id": "tmm_test" + }, + { + "source_id": "formal", + "lines": [ + 910, + 931 + ], + "text_sha256": "b72c4040bcf0248f9b08eca8c8ecf561fb82e0f5fa637d76d2551b6dc22f4a60" + } + ], + "remaining_parameters": [ + "For a new N Jsc/FF/PCE comparison: full source/input/optical-resource/whole-flux-ion protocol/state/grid/numerics/environment identity and independent metric errors; the historical 5 A m-2 band does not certify 1e-4 relative accuracy.", + "Dark/near-zero metric absolute allowances and resolvability; Voc bracket endpoints, local dJ/dV lower bound and propagated current error; full signed J-V/MPP/forward-stress observations remain required." + ], + "reference_eligibility": { + "status": "blocked_pending_independent_reference_and_review", + "reference_error_bound": null, + "default_reference_error_share": "1/3", + "stronger_original_channel_allocations_retained": true, + "unused_error_shares_redistributed": false, + "reference_qualified": false, + "active_comparison": null + } + } + ], + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-benchmark-a8032d8160a5c7e3" + }, + "scope_specific_prior_gaps": [ + { + "field": "For a new N Jsc/FF/PCE comparison: full source/input/optical-resource/whole-flux-ion protocol/state/grid/numerics/environment identity and independent metric errors; the historical 5 A m-2 band does not certify 1e-4 relative accuracy.", + "needed_from": "benchmark-a8032d8160a5c7e3 / historical_nip_pin_tmm_Jsc_pins: original bound source/input and independently reviewed ReferenceQualification packet", + "blocked_use": "benchmark:tmm-jsc-regression: new N acceptance outside the explicitly limited fixture meaning", + "downstream_tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + }, + { + "field": "Dark/near-zero metric absolute allowances and resolvability; Voc bracket endpoints, local dJ/dV lower bound and propagated current error; full signed J-V/MPP/forward-stress observations remain required.", + "needed_from": "benchmark-a8032d8160a5c7e3 / historical_nip_pin_tmm_Jsc_pins: original bound source/input and independently reviewed ReferenceQualification packet", + "blocked_use": "benchmark:tmm-jsc-regression: new N acceptance outside the explicitly limited fixture meaning", + "downstream_tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + }, + { + "field": "Other original driver/fixture branches listed in original_test_or_source_bindings remain outside these exact-case parameter bindings; original rules and positive physical obligations are unchanged.", + "needed_from": "benchmark:tmm-jsc-regression original branch-specific reference packet and applicable contract", + "blocked_use": "Full-scope activation or extension to an unmatched model/protocol/state/grid/environment", + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [], + "current_numeric_status": "prior_exact_scope_gaps_retained_and_classified" + } + }, + { + "id": "scope-benchmark-63f25334baabb168", + "capability_id": "benchmark-63f25334baabb168", + "route_id": "route-f13ea1085e6c91d1", + "origin_key": "benchmark:twod-combined-mobile-interface-internal-closure", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "CV_geometry_and_interface_sides" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "pointer": "/benchmarks/twod-combined-mobile-interface-internal-closure", + "value_sha256": "e01f80d954eb5432d02228006e4855004014cf653d7d0c8362a8682c693fd029" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_twod_combined_refinement.py", + "symbol": "test_real_registered_combined_twod_cell_returns_all_certificate_axes" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_twod_combined_refinement.py", + "symbol": "test_combined_twod_executor_fails_closed_on_missing_point_evidence" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_twod_combined_refinement.py", + "symbol": "test_combined_twod_executor_matches_registry_and_explicit_protocol" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_twod_combined_refinement.py", + "symbol": "test_combined_twod_executor_rejects_malformed_clamp_evidence" + } + ], + "negative_only_descriptor_rule_ids": [ + "rule-4b47b8b1f214fc8c914d2d43", + "rule-c11585b2d54ad642f5d18a03" + ], + "source_quantitative_assertion_ids_for_scope_audit": [ + "rule-19da7a11833c29eafeccb55d", + "rule-a7199aa9dc5c2347b1fbe9ee", + "rule-18bc5c93d98e7652f9610426", + "rule-d65a4255a2e2056c179aa474" + ], + "rule_ids": [ + "M_payload", + "projection_packet" + ], + "citations": [], + "remaining_inputs": [ + { + "field": "source/target geometry and a verified conservative CV intersection/projection artifact or explicit1D cell averages", + "needed_from": "benchmark-63f25334baabb168 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_twod_combined_refinement.py::test_real_registered_combined_twod_cell_returns_all_certificate_axes, perovskite-sim/tests/unit/validation/test_twod_combined_refinement.py::test_combined_twod_executor_fails_closed_on_missing_point_evidence, perovskite-sim/tests/unit/validation/test_twod_combined_refinement.py::test_combined_twod_executor_matches_registry_and_explicit_protocol, perovskite-sim/tests/unit/validation/test_twod_combined_refinement.py::test_combined_twod_executor_rejects_malformed_clamp_evidence", + "blocked_use": "new N acceptance / qualified reference use for benchmark:twod-combined-mobile-interface-internal-closure" + }, + { + "field": "fixed numeric integral/inventory/left-trace/right-trace scales and limits in their physical units", + "needed_from": "benchmark-63f25334baabb168 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_twod_combined_refinement.py::test_real_registered_combined_twod_cell_returns_all_certificate_axes, perovskite-sim/tests/unit/validation/test_twod_combined_refinement.py::test_combined_twod_executor_fails_closed_on_missing_point_evidence, perovskite-sim/tests/unit/validation/test_twod_combined_refinement.py::test_combined_twod_executor_matches_registry_and_explicit_protocol, perovskite-sim/tests/unit/validation/test_twod_combined_refinement.py::test_combined_twod_executor_rejects_malformed_clamp_evidence", + "blocked_use": "new N acceptance / qualified reference use for benchmark:twod-combined-mobile-interface-internal-closure" + }, + { + "field": "projection error, component topology and every interface-side identity", + "needed_from": "benchmark-63f25334baabb168 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_twod_combined_refinement.py::test_real_registered_combined_twod_cell_returns_all_certificate_axes, perovskite-sim/tests/unit/validation/test_twod_combined_refinement.py::test_combined_twod_executor_fails_closed_on_missing_point_evidence, perovskite-sim/tests/unit/validation/test_twod_combined_refinement.py::test_combined_twod_executor_matches_registry_and_explicit_protocol, perovskite-sim/tests/unit/validation/test_twod_combined_refinement.py::test_combined_twod_executor_rejects_malformed_clamp_evidence", + "blocked_use": "new N acceptance / qualified reference use for benchmark:twod-combined-mobile-interface-internal-closure" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/benchmark-63f25334baabb168/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + } + ], + "downstream_tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-benchmark-63f25334baabb168" + }, + "scope_specific_prior_gaps": [ + { + "field": "source/target geometry and a verified conservative CV intersection/projection artifact or explicit1D cell averages", + "needed_from": "benchmark-63f25334baabb168 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_twod_combined_refinement.py::test_real_registered_combined_twod_cell_returns_all_certificate_axes, perovskite-sim/tests/unit/validation/test_twod_combined_refinement.py::test_combined_twod_executor_fails_closed_on_missing_point_evidence, perovskite-sim/tests/unit/validation/test_twod_combined_refinement.py::test_combined_twod_executor_matches_registry_and_explicit_protocol, perovskite-sim/tests/unit/validation/test_twod_combined_refinement.py::test_combined_twod_executor_rejects_malformed_clamp_evidence", + "blocked_use": "new N acceptance / qualified reference use for benchmark:twod-combined-mobile-interface-internal-closure", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "fixed numeric integral/inventory/left-trace/right-trace scales and limits in their physical units", + "needed_from": "benchmark-63f25334baabb168 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_twod_combined_refinement.py::test_real_registered_combined_twod_cell_returns_all_certificate_axes, perovskite-sim/tests/unit/validation/test_twod_combined_refinement.py::test_combined_twod_executor_fails_closed_on_missing_point_evidence, perovskite-sim/tests/unit/validation/test_twod_combined_refinement.py::test_combined_twod_executor_matches_registry_and_explicit_protocol, perovskite-sim/tests/unit/validation/test_twod_combined_refinement.py::test_combined_twod_executor_rejects_malformed_clamp_evidence", + "blocked_use": "new N acceptance / qualified reference use for benchmark:twod-combined-mobile-interface-internal-closure", + "categories": [ + "source_configuration", + "tolerance_decision" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "projection error, component topology and every interface-side identity", + "needed_from": "benchmark-63f25334baabb168 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_twod_combined_refinement.py::test_real_registered_combined_twod_cell_returns_all_certificate_axes, perovskite-sim/tests/unit/validation/test_twod_combined_refinement.py::test_combined_twod_executor_fails_closed_on_missing_point_evidence, perovskite-sim/tests/unit/validation/test_twod_combined_refinement.py::test_combined_twod_executor_matches_registry_and_explicit_protocol, perovskite-sim/tests/unit/validation/test_twod_combined_refinement.py::test_combined_twod_executor_rejects_malformed_clamp_evidence", + "blocked_use": "new N acceptance / qualified reference use for benchmark:twod-combined-mobile-interface-internal-closure", + "categories": [ + "source_configuration", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/benchmark-63f25334baabb168/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [], + "current_numeric_status": "prior_exact_scope_gaps_retained_and_classified" + } + }, + { + "id": "scope-benchmark-979ee3060444ba30", + "capability_id": "benchmark-979ee3060444ba30", + "route_id": "route-f13ea1085e6c91d1", + "origin_key": "benchmark:twod-radiative-reabsorption", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "optical_or_spectral_observations", + "CV_geometry_and_interface_sides" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "pointer": "/benchmarks/twod-radiative-reabsorption", + "value_sha256": "f01ccc3157f0d2dcd213b2eb4697b1eaf9e4e2c178dee5cc34fc1fb7af34a94b" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_twod_validation.py", + "symbol": "test_twod_radiative_reabsorption_voc_boost_in_literature_window" + } + ], + "negative_only_descriptor_rule_ids": [], + "source_quantitative_assertion_ids_for_scope_audit": [ + "rule-c300e86126808221195bf6fc" + ], + "rule_ids": [ + "M_payload", + "spectrum_packet", + "projection_packet" + ], + "citations": [], + "remaining_inputs": [ + { + "field": "actual source output quantity/unit and fixed spectral/photon/electrical normalization for each field", + "needed_from": "benchmark-979ee3060444ba30 exact original driver/reference observation packet; perovskite-sim/tests/regression/test_twod_validation.py::test_twod_radiative_reabsorption_voc_boost_in_literature_window", + "blocked_use": "new N acceptance / qualified reference use for benchmark:twod-radiative-reabsorption" + }, + { + "field": "fixed numeric per-channel scales, weak/zero absolute bounds and independent error", + "needed_from": "benchmark-979ee3060444ba30 exact original driver/reference observation packet; perovskite-sim/tests/regression/test_twod_validation.py::test_twod_radiative_reabsorption_voc_boost_in_literature_window", + "blocked_use": "new N acceptance / qualified reference use for benchmark:twod-radiative-reabsorption" + }, + { + "field": "exact wavelength/energy coordinates, integration weights and photon/energy budget", + "needed_from": "benchmark-979ee3060444ba30 exact original driver/reference observation packet; perovskite-sim/tests/regression/test_twod_validation.py::test_twod_radiative_reabsorption_voc_boost_in_literature_window", + "blocked_use": "new N acceptance / qualified reference use for benchmark:twod-radiative-reabsorption" + }, + { + "field": "source/target geometry and a verified conservative CV intersection/projection artifact or explicit1D cell averages", + "needed_from": "benchmark-979ee3060444ba30 exact original driver/reference observation packet; perovskite-sim/tests/regression/test_twod_validation.py::test_twod_radiative_reabsorption_voc_boost_in_literature_window", + "blocked_use": "new N acceptance / qualified reference use for benchmark:twod-radiative-reabsorption" + }, + { + "field": "fixed numeric integral/inventory/left-trace/right-trace scales and limits in their physical units", + "needed_from": "benchmark-979ee3060444ba30 exact original driver/reference observation packet; perovskite-sim/tests/regression/test_twod_validation.py::test_twod_radiative_reabsorption_voc_boost_in_literature_window", + "blocked_use": "new N acceptance / qualified reference use for benchmark:twod-radiative-reabsorption" + }, + { + "field": "projection error, component topology and every interface-side identity", + "needed_from": "benchmark-979ee3060444ba30 exact original driver/reference observation packet; perovskite-sim/tests/regression/test_twod_validation.py::test_twod_radiative_reabsorption_voc_boost_in_literature_window", + "blocked_use": "new N acceptance / qualified reference use for benchmark:twod-radiative-reabsorption" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/benchmark-979ee3060444ba30/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + } + ], + "downstream_tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-benchmark-979ee3060444ba30" + }, + "scope_specific_prior_gaps": [ + { + "field": "actual source output quantity/unit and fixed spectral/photon/electrical normalization for each field", + "needed_from": "benchmark-979ee3060444ba30 exact original driver/reference observation packet; perovskite-sim/tests/regression/test_twod_validation.py::test_twod_radiative_reabsorption_voc_boost_in_literature_window", + "blocked_use": "new N acceptance / qualified reference use for benchmark:twod-radiative-reabsorption", + "categories": [ + "source_configuration" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "fixed numeric per-channel scales, weak/zero absolute bounds and independent error", + "needed_from": "benchmark-979ee3060444ba30 exact original driver/reference observation packet; perovskite-sim/tests/regression/test_twod_validation.py::test_twod_radiative_reabsorption_voc_boost_in_literature_window", + "blocked_use": "new N acceptance / qualified reference use for benchmark:twod-radiative-reabsorption", + "categories": [ + "tolerance_decision", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "exact wavelength/energy coordinates, integration weights and photon/energy budget", + "needed_from": "benchmark-979ee3060444ba30 exact original driver/reference observation packet; perovskite-sim/tests/regression/test_twod_validation.py::test_twod_radiative_reabsorption_voc_boost_in_literature_window", + "blocked_use": "new N acceptance / qualified reference use for benchmark:twod-radiative-reabsorption", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "source/target geometry and a verified conservative CV intersection/projection artifact or explicit1D cell averages", + "needed_from": "benchmark-979ee3060444ba30 exact original driver/reference observation packet; perovskite-sim/tests/regression/test_twod_validation.py::test_twod_radiative_reabsorption_voc_boost_in_literature_window", + "blocked_use": "new N acceptance / qualified reference use for benchmark:twod-radiative-reabsorption", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "fixed numeric integral/inventory/left-trace/right-trace scales and limits in their physical units", + "needed_from": "benchmark-979ee3060444ba30 exact original driver/reference observation packet; perovskite-sim/tests/regression/test_twod_validation.py::test_twod_radiative_reabsorption_voc_boost_in_literature_window", + "blocked_use": "new N acceptance / qualified reference use for benchmark:twod-radiative-reabsorption", + "categories": [ + "source_configuration", + "tolerance_decision" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "projection error, component topology and every interface-side identity", + "needed_from": "benchmark-979ee3060444ba30 exact original driver/reference observation packet; perovskite-sim/tests/regression/test_twod_validation.py::test_twod_radiative_reabsorption_voc_boost_in_literature_window", + "blocked_use": "new N acceptance / qualified reference use for benchmark:twod-radiative-reabsorption", + "categories": [ + "source_configuration", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/benchmark-979ee3060444ba30/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [], + "current_numeric_status": "prior_exact_scope_gaps_retained_and_classified" + } + }, + { + "id": "scope-benchmark-7e320e9d039d49bd", + "capability_id": "benchmark-7e320e9d039d49bd", + "route_id": "route-f13ea1085e6c91d1", + "origin_key": "benchmark:twod-uniform-parity", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "CV_geometry_and_interface_sides" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "pointer": "/benchmarks/twod-uniform-parity", + "value_sha256": "5521c97ff9cbf552091f1000d4852fc54ba232dff41e3274f0369e4b4db04f04" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_twod_validation.py", + "symbol": "test_twod_uniform_matches_1d_within_tolerance" + } + ], + "negative_only_descriptor_rule_ids": [], + "source_quantitative_assertion_ids_for_scope_audit": [ + "rule-475ba7e7b0a09bfd02e79693", + "rule-a233358bdf9e909e07f75842", + "rule-c1d99091dfbeba9cad28f882", + "rule-115196d587ba3311b2e57a49", + "rule-6e16a219a7d274a8f8cc5446" + ], + "rule_ids": [ + "M_payload", + "projection_packet" + ], + "citations": [], + "remaining_inputs": [ + { + "field": "source/target geometry and a verified conservative CV intersection/projection artifact or explicit1D cell averages", + "needed_from": "benchmark-7e320e9d039d49bd exact original driver/reference observation packet; perovskite-sim/tests/regression/test_twod_validation.py::test_twod_uniform_matches_1d_within_tolerance", + "blocked_use": "new N acceptance / qualified reference use for benchmark:twod-uniform-parity" + }, + { + "field": "fixed numeric integral/inventory/left-trace/right-trace scales and limits in their physical units", + "needed_from": "benchmark-7e320e9d039d49bd exact original driver/reference observation packet; perovskite-sim/tests/regression/test_twod_validation.py::test_twod_uniform_matches_1d_within_tolerance", + "blocked_use": "new N acceptance / qualified reference use for benchmark:twod-uniform-parity" + }, + { + "field": "projection error, component topology and every interface-side identity", + "needed_from": "benchmark-7e320e9d039d49bd exact original driver/reference observation packet; perovskite-sim/tests/regression/test_twod_validation.py::test_twod_uniform_matches_1d_within_tolerance", + "blocked_use": "new N acceptance / qualified reference use for benchmark:twod-uniform-parity" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/benchmark-7e320e9d039d49bd/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + } + ], + "downstream_tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-benchmark-7e320e9d039d49bd" + }, + "scope_specific_prior_gaps": [ + { + "field": "source/target geometry and a verified conservative CV intersection/projection artifact or explicit1D cell averages", + "needed_from": "benchmark-7e320e9d039d49bd exact original driver/reference observation packet; perovskite-sim/tests/regression/test_twod_validation.py::test_twod_uniform_matches_1d_within_tolerance", + "blocked_use": "new N acceptance / qualified reference use for benchmark:twod-uniform-parity", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "fixed numeric integral/inventory/left-trace/right-trace scales and limits in their physical units", + "needed_from": "benchmark-7e320e9d039d49bd exact original driver/reference observation packet; perovskite-sim/tests/regression/test_twod_validation.py::test_twod_uniform_matches_1d_within_tolerance", + "blocked_use": "new N acceptance / qualified reference use for benchmark:twod-uniform-parity", + "categories": [ + "source_configuration", + "tolerance_decision" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "projection error, component topology and every interface-side identity", + "needed_from": "benchmark-7e320e9d039d49bd exact original driver/reference observation packet; perovskite-sim/tests/regression/test_twod_validation.py::test_twod_uniform_matches_1d_within_tolerance", + "blocked_use": "new N acceptance / qualified reference use for benchmark:twod-uniform-parity", + "categories": [ + "source_configuration", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/benchmark-7e320e9d039d49bd/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [], + "current_numeric_status": "prior_exact_scope_gaps_retained_and_classified" + } + }, + { + "id": "scope-benchmark-a1a396a1f7b2045c", + "capability_id": "benchmark-a1a396a1f7b2045c", + "route_id": "route-f13ea1085e6c91d1", + "origin_key": "benchmark:vannijen2025-csi-pn-cv", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "complex_frequency_response" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "pointer": "/benchmarks/vannijen2025-csi-pn-cv", + "value_sha256": "0f66ac6d0cfff305f3337997d6cd731ecbf077770ee8f6542a7e89f30f920d3b" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/data/references/csi_vannijen2025_pn_cv.yaml" + }, + { + "source_id": "repository:perovskite-sim/tests/validation/test_csi_vannijen2025_cv.py", + "symbol": "test_vannijen_config_maps_published_profile_without_curve_calibration" + }, + { + "source_id": "repository:perovskite-sim/tests/validation/test_csi_vannijen2025_cv.py", + "symbol": "test_vannijen_cv_records_partial_agreement_not_pointwise_parity" + }, + { + "source_id": "repository:perovskite-sim/tests/validation/test_csi_vannijen2025_cv.py", + "symbol": "test_vannijen_local_cv_is_residual_certified_and_grid_converged" + }, + { + "source_id": "repository:perovskite-sim/tests/validation/test_csi_vannijen2025_cv.py", + "symbol": "test_vannijen_observations_match_reproducibility_registry" + }, + { + "source_id": "repository:perovskite-sim/tests/validation/test_csi_vannijen2025_cv.py", + "symbol": "test_vannijen_source_rows_reproduce_frozen_author_extraction" + } + ], + "negative_only_descriptor_rule_ids": [], + "source_quantitative_assertion_ids_for_scope_audit": [ + "rule-f5eeba675ce68945c82df137", + "rule-7d4f5b8d1d2eb0155ef7008e", + "rule-1c802f5c694c6a9d1d581c88", + "rule-4d364630cedcdd689706b23d", + "rule-4bfbdde232dee845f08cee57", + "rule-ed127e1f563181aaef32be25", + "rule-c2b3da20b7cd0a571c471cca", + "rule-c61f1425875f1f0dc771c9a6", + "rule-74fc494356c9881b672e5ee7", + "rule-7ed64bef1154d8e405b7771c", + "rule-251776856645755edbc9dc31", + "rule-6acc61ef063b57166c09cdb8", + "rule-44139c088916a73309201d73", + "rule-4b83d2d9e8bf05072df6df2d", + "rule-75b31f94034855b1cb23e17e", + "rule-0fee0521d6408e58c4870151", + "rule-d7f584afa4137e5a5a153f01", + "rule-8b290869a594896a708573de", + "rule-28ec5c4e21a4c3a138c3f40e", + "rule-f79249ea91edb08c4810eaef", + "rule-69706f6592808719868c68c5", + "rule-596f595c0ad1371426f49c89", + "rule-3ffc61eecf9b89fdffd313f4", + "rule-6d27c68f115e10addaf6238a", + "rule-0890abe62feab93cd6ae3856", + "rule-ba52eb00f6114d1e2c3ae9b8", + "rule-0137b3f3e1b296b2c89731ba", + "rule-1fe7144296e69367f7000ad9", + "rule-ec08d64bf456f128148bf5bc" + ], + "rule_ids": [ + "M_payload", + "complex_packet" + ], + "citations": [], + "remaining_inputs": [ + { + "field": "fixed numeric reference scales and real/imaginary/complex absolute bounds in S m-2 or ohm m2 as actually emitted", + "needed_from": "benchmark-a1a396a1f7b2045c exact original driver/reference observation packet; perovskite-sim/tests/validation/test_csi_vannijen2025_cv.py::test_vannijen_config_maps_published_profile_without_curve_calibration, perovskite-sim/tests/validation/test_csi_vannijen2025_cv.py::test_vannijen_cv_records_partial_agreement_not_pointwise_parity, perovskite-sim/tests/validation/test_csi_vannijen2025_cv.py::test_vannijen_local_cv_is_residual_certified_and_grid_converged, perovskite-sim/tests/validation/test_csi_vannijen2025_cv.py::test_vannijen_observations_match_reproducibility_registry, perovskite-sim/tests/validation/test_csi_vannijen2025_cv.py::test_vannijen_source_rows_reproduce_frozen_author_extraction", + "blocked_use": "new N acceptance / qualified reference use for benchmark:vannijen2025-csi-pn-cv" + }, + { + "field": "numeric absolute phase limit in radians and per-driver/frequency resolvability floor with independent uncertainty/physical-resolution evidence", + "needed_from": "benchmark-a1a396a1f7b2045c exact original driver/reference observation packet; perovskite-sim/tests/validation/test_csi_vannijen2025_cv.py::test_vannijen_config_maps_published_profile_without_curve_calibration, perovskite-sim/tests/validation/test_csi_vannijen2025_cv.py::test_vannijen_cv_records_partial_agreement_not_pointwise_parity, perovskite-sim/tests/validation/test_csi_vannijen2025_cv.py::test_vannijen_local_cv_is_residual_certified_and_grid_converged, perovskite-sim/tests/validation/test_csi_vannijen2025_cv.py::test_vannijen_observations_match_reproducibility_registry, perovskite-sim/tests/validation/test_csi_vannijen2025_cv.py::test_vannijen_source_rows_reproduce_frozen_author_extraction", + "blocked_use": "new N acceptance / qualified reference use for benchmark:vannijen2025-csi-pn-cv" + }, + { + "field": "explicit exact-zero frequencies, coordinate identity and independent component/phase errors", + "needed_from": "benchmark-a1a396a1f7b2045c exact original driver/reference observation packet; perovskite-sim/tests/validation/test_csi_vannijen2025_cv.py::test_vannijen_config_maps_published_profile_without_curve_calibration, perovskite-sim/tests/validation/test_csi_vannijen2025_cv.py::test_vannijen_cv_records_partial_agreement_not_pointwise_parity, perovskite-sim/tests/validation/test_csi_vannijen2025_cv.py::test_vannijen_local_cv_is_residual_certified_and_grid_converged, perovskite-sim/tests/validation/test_csi_vannijen2025_cv.py::test_vannijen_observations_match_reproducibility_registry, perovskite-sim/tests/validation/test_csi_vannijen2025_cv.py::test_vannijen_source_rows_reproduce_frozen_author_extraction", + "blocked_use": "new N acceptance / qualified reference use for benchmark:vannijen2025-csi-pn-cv" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/benchmark-a1a396a1f7b2045c/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + } + ], + "downstream_tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-benchmark-a1a396a1f7b2045c" + }, + "scope_specific_prior_gaps": [ + { + "field": "fixed numeric reference scales and real/imaginary/complex absolute bounds in S m-2 or ohm m2 as actually emitted", + "needed_from": "benchmark-a1a396a1f7b2045c exact original driver/reference observation packet; perovskite-sim/tests/validation/test_csi_vannijen2025_cv.py::test_vannijen_config_maps_published_profile_without_curve_calibration, perovskite-sim/tests/validation/test_csi_vannijen2025_cv.py::test_vannijen_cv_records_partial_agreement_not_pointwise_parity, perovskite-sim/tests/validation/test_csi_vannijen2025_cv.py::test_vannijen_local_cv_is_residual_certified_and_grid_converged, perovskite-sim/tests/validation/test_csi_vannijen2025_cv.py::test_vannijen_observations_match_reproducibility_registry, perovskite-sim/tests/validation/test_csi_vannijen2025_cv.py::test_vannijen_source_rows_reproduce_frozen_author_extraction", + "blocked_use": "new N acceptance / qualified reference use for benchmark:vannijen2025-csi-pn-cv", + "categories": [ + "source_configuration", + "tolerance_decision" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "numeric absolute phase limit in radians and per-driver/frequency resolvability floor with independent uncertainty/physical-resolution evidence", + "needed_from": "benchmark-a1a396a1f7b2045c exact original driver/reference observation packet; perovskite-sim/tests/validation/test_csi_vannijen2025_cv.py::test_vannijen_config_maps_published_profile_without_curve_calibration, perovskite-sim/tests/validation/test_csi_vannijen2025_cv.py::test_vannijen_cv_records_partial_agreement_not_pointwise_parity, perovskite-sim/tests/validation/test_csi_vannijen2025_cv.py::test_vannijen_local_cv_is_residual_certified_and_grid_converged, perovskite-sim/tests/validation/test_csi_vannijen2025_cv.py::test_vannijen_observations_match_reproducibility_registry, perovskite-sim/tests/validation/test_csi_vannijen2025_cv.py::test_vannijen_source_rows_reproduce_frozen_author_extraction", + "blocked_use": "new N acceptance / qualified reference use for benchmark:vannijen2025-csi-pn-cv", + "categories": [ + "tolerance_decision", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "explicit exact-zero frequencies, coordinate identity and independent component/phase errors", + "needed_from": "benchmark-a1a396a1f7b2045c exact original driver/reference observation packet; perovskite-sim/tests/validation/test_csi_vannijen2025_cv.py::test_vannijen_config_maps_published_profile_without_curve_calibration, perovskite-sim/tests/validation/test_csi_vannijen2025_cv.py::test_vannijen_cv_records_partial_agreement_not_pointwise_parity, perovskite-sim/tests/validation/test_csi_vannijen2025_cv.py::test_vannijen_local_cv_is_residual_certified_and_grid_converged, perovskite-sim/tests/validation/test_csi_vannijen2025_cv.py::test_vannijen_observations_match_reproducibility_registry, perovskite-sim/tests/validation/test_csi_vannijen2025_cv.py::test_vannijen_source_rows_reproduce_frozen_author_extraction", + "blocked_use": "new N acceptance / qualified reference use for benchmark:vannijen2025-csi-pn-cv", + "categories": [ + "measurement_data", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/benchmark-a1a396a1f7b2045c/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [], + "current_numeric_status": "prior_exact_scope_gaps_retained_and_classified" + } + }, + { + "id": "scope-benchmark-e049e24da73bc454", + "capability_id": "benchmark-e049e24da73bc454", + "route_id": "route-f13ea1085e6c91d1", + "origin_key": "benchmark:wkb-resolved-electron-internal-closure", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "source_specific_positive_observable_requires_declared_metric_selection" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "pointer": "/benchmarks/wkb-resolved-electron-internal-closure", + "value_sha256": "2c581a47ca5222d98b4984619d29562deb04af4b81ff2b3174018702d71a4329" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_intraband_nonlocal_transfer.py", + "symbol": "test_equal_nonsaturated_occupations_give_exactly_zero_transfer" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_intraband_nonlocal_transfer.py", + "symbol": "test_transfer_conserves_particles_and_dissipates_the_chemical_drive" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_tunnelling_physical_levels.py", + "symbol": "test_device_supplies_physical_levels_with_dos_contrast" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_wkb_turning_point_action.py", + "symbol": "test_single_forbidden_node_is_a_finite_triangle_not_a_transparent_path" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_resolved_tunnelling_refinement.py", + "symbol": "test_real_resolved_cell_has_a_conservative_observable_electron_channel" + } + ], + "negative_only_descriptor_rule_ids": [], + "source_quantitative_assertion_ids_for_scope_audit": [ + "rule-3fe8683841b50ac6874be271", + "rule-536d15c8b6d4f31b62bb60a6", + "rule-cd001912f5adc2bd3bacc632", + "rule-e10ccbff5d5b9f9b516cbba8", + "rule-9f8a14803b5c9da053a0b633", + "rule-f13002f6c34d41e9cd554ee8", + "rule-db83b312bb43a9e49a5759d5", + "rule-8ecb3efbfe5b9e00dc589d87", + "rule-3797d2bfae4757b46f34954e", + "rule-99a44a8a98a470c15d9838ab", + "rule-af047545d6af462dbbfc81bc", + "rule-58abb3e5f293b107d224c0af", + "rule-49337baded57db816a107ba9", + "rule-b35d5be1074452acaca79015", + "rule-0bae3e87b318c839176f7f7d", + "rule-bfd4fc00b8b0537cd22a5c07", + "rule-e0e40ae9e604c14c766dde3a", + "rule-89bc7d0884dce826bebb2c77", + "rule-8f592d2c87572ddb4f1e1955", + "rule-c2c034804bf0cb7a24623867", + "rule-ab22c6c1fecea6995b8633aa" + ], + "rule_ids": [ + "M_payload", + "operator_packet" + ], + "citations": [], + "remaining_inputs": [ + { + "field": "actual row and column physical units, support and fixed per-block/state/input scales", + "needed_from": "benchmark-e049e24da73bc454 exact original driver/reference observation packet; perovskite-sim/tests/unit/physics/test_intraband_nonlocal_transfer.py::test_equal_nonsaturated_occupations_give_exactly_zero_transfer, perovskite-sim/tests/unit/physics/test_intraband_nonlocal_transfer.py::test_transfer_conserves_particles_and_dissipates_the_chemical_drive, perovskite-sim/tests/unit/physics/test_tunnelling_physical_levels.py::test_device_supplies_physical_levels_with_dos_contrast, perovskite-sim/tests/unit/physics/test_wkb_turning_point_action.py::test_single_forbidden_node_is_a_finite_triangle_not_a_transparent_path, perovskite-sim/tests/unit/validation/test_resolved_tunnelling_refinement.py::test_real_resolved_cell_has_a_conservative_observable_electron_channel", + "blocked_use": "new N acceptance / qualified reference use for benchmark:wkb-resolved-electron-internal-closure" + }, + { + "field": "numeric independent derivative/action/weak-increment thresholds from the original applicable contract", + "needed_from": "benchmark-e049e24da73bc454 exact original driver/reference observation packet; perovskite-sim/tests/unit/physics/test_intraband_nonlocal_transfer.py::test_equal_nonsaturated_occupations_give_exactly_zero_transfer, perovskite-sim/tests/unit/physics/test_intraband_nonlocal_transfer.py::test_transfer_conserves_particles_and_dissipates_the_chemical_drive, perovskite-sim/tests/unit/physics/test_tunnelling_physical_levels.py::test_device_supplies_physical_levels_with_dos_contrast, perovskite-sim/tests/unit/physics/test_wkb_turning_point_action.py::test_single_forbidden_node_is_a_finite_triangle_not_a_transparent_path, perovskite-sim/tests/unit/validation/test_resolved_tunnelling_refinement.py::test_real_resolved_cell_has_a_conservative_observable_electron_channel", + "blocked_use": "new N acceptance / qualified reference use for benchmark:wkb-resolved-electron-internal-closure" + }, + { + "field": "full nonlocal/input chain, inactive/zero branch and independent reference/cancellation error", + "needed_from": "benchmark-e049e24da73bc454 exact original driver/reference observation packet; perovskite-sim/tests/unit/physics/test_intraband_nonlocal_transfer.py::test_equal_nonsaturated_occupations_give_exactly_zero_transfer, perovskite-sim/tests/unit/physics/test_intraband_nonlocal_transfer.py::test_transfer_conserves_particles_and_dissipates_the_chemical_drive, perovskite-sim/tests/unit/physics/test_tunnelling_physical_levels.py::test_device_supplies_physical_levels_with_dos_contrast, perovskite-sim/tests/unit/physics/test_wkb_turning_point_action.py::test_single_forbidden_node_is_a_finite_triangle_not_a_transparent_path, perovskite-sim/tests/unit/validation/test_resolved_tunnelling_refinement.py::test_real_resolved_cell_has_a_conservative_observable_electron_channel", + "blocked_use": "new N acceptance / qualified reference use for benchmark:wkb-resolved-electron-internal-closure" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/benchmark-e049e24da73bc454/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + } + ], + "downstream_tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-benchmark-e049e24da73bc454" + }, + "scope_specific_prior_gaps": [ + { + "field": "actual row and column physical units, support and fixed per-block/state/input scales", + "needed_from": "benchmark-e049e24da73bc454 exact original driver/reference observation packet; perovskite-sim/tests/unit/physics/test_intraband_nonlocal_transfer.py::test_equal_nonsaturated_occupations_give_exactly_zero_transfer, perovskite-sim/tests/unit/physics/test_intraband_nonlocal_transfer.py::test_transfer_conserves_particles_and_dissipates_the_chemical_drive, perovskite-sim/tests/unit/physics/test_tunnelling_physical_levels.py::test_device_supplies_physical_levels_with_dos_contrast, perovskite-sim/tests/unit/physics/test_wkb_turning_point_action.py::test_single_forbidden_node_is_a_finite_triangle_not_a_transparent_path, perovskite-sim/tests/unit/validation/test_resolved_tunnelling_refinement.py::test_real_resolved_cell_has_a_conservative_observable_electron_channel", + "blocked_use": "new N acceptance / qualified reference use for benchmark:wkb-resolved-electron-internal-closure", + "categories": [ + "source_configuration" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "numeric independent derivative/action/weak-increment thresholds from the original applicable contract", + "needed_from": "benchmark-e049e24da73bc454 exact original driver/reference observation packet; perovskite-sim/tests/unit/physics/test_intraband_nonlocal_transfer.py::test_equal_nonsaturated_occupations_give_exactly_zero_transfer, perovskite-sim/tests/unit/physics/test_intraband_nonlocal_transfer.py::test_transfer_conserves_particles_and_dissipates_the_chemical_drive, perovskite-sim/tests/unit/physics/test_tunnelling_physical_levels.py::test_device_supplies_physical_levels_with_dos_contrast, perovskite-sim/tests/unit/physics/test_wkb_turning_point_action.py::test_single_forbidden_node_is_a_finite_triangle_not_a_transparent_path, perovskite-sim/tests/unit/validation/test_resolved_tunnelling_refinement.py::test_real_resolved_cell_has_a_conservative_observable_electron_channel", + "blocked_use": "new N acceptance / qualified reference use for benchmark:wkb-resolved-electron-internal-closure", + "categories": [ + "tolerance_decision" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "full nonlocal/input chain, inactive/zero branch and independent reference/cancellation error", + "needed_from": "benchmark-e049e24da73bc454 exact original driver/reference observation packet; perovskite-sim/tests/unit/physics/test_intraband_nonlocal_transfer.py::test_equal_nonsaturated_occupations_give_exactly_zero_transfer, perovskite-sim/tests/unit/physics/test_intraband_nonlocal_transfer.py::test_transfer_conserves_particles_and_dissipates_the_chemical_drive, perovskite-sim/tests/unit/physics/test_tunnelling_physical_levels.py::test_device_supplies_physical_levels_with_dos_contrast, perovskite-sim/tests/unit/physics/test_wkb_turning_point_action.py::test_single_forbidden_node_is_a_finite_triangle_not_a_transparent_path, perovskite-sim/tests/unit/validation/test_resolved_tunnelling_refinement.py::test_real_resolved_cell_has_a_conservative_observable_electron_channel", + "blocked_use": "new N acceptance / qualified reference use for benchmark:wkb-resolved-electron-internal-closure", + "categories": [ + "source_configuration", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/benchmark-e049e24da73bc454/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [], + "current_numeric_status": "prior_exact_scope_gaps_retained_and_classified" + } + }, + { + "id": "scope-benchmark-5ac658e026793692", + "capability_id": "benchmark-5ac658e026793692", + "route_id": "route-f13ea1085e6c91d1", + "origin_key": "benchmark:wkb-tunnelling-channel-internal-closure", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "source_specific_operator_or_constitutive_action" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "pointer": "/benchmarks/wkb-tunnelling-channel-internal-closure", + "value_sha256": "d2b5970b4274c9571090e87d382c44252b9ecdefaa6791b66a0308b1628ca9d3" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_tunnelling_channels_device.py", + "symbol": "test_equilibrium_device_current_is_bounded_without_saturated_occupations" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_tunnelling_channels_device.py", + "symbol": "test_retracted_fixture_does_not_retain_the_old_large_flux_claim" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_tunnelling_channels_device.py", + "symbol": "test_the_channel_is_driven_by_the_local_drop_not_the_contact_split" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_tunneling_channels.py", + "symbol": "test_a_disabled_channel_refuses_rather_than_returning_zero" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_wkb_local_windows.py", + "symbol": "test_forbidden_run_isolates_the_barrier_containing_the_face" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_wkb_local_windows.py", + "symbol": "test_two_band_action_matches_the_closed_form_zener_exponent" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_wkb_tunneling.py", + "symbol": "test_equal_occupations_give_an_exactly_zero_net_flux" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_tunnelling_channel_refinement.py", + "symbol": "test_lane_declares_a_three_by_three_matrix_and_an_energy_ladder" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_tunnelling_channel_refinement.py", + "symbol": "test_the_channel_flux_is_an_observable_not_only_the_terminal_current" + } + ], + "negative_only_descriptor_rule_ids": [ + "rule-7fadddc329dea7408e3f6f99" + ], + "source_quantitative_assertion_ids_for_scope_audit": [ + "rule-57830b5a00bf2270b8e52ea4", + "rule-872f0522c976800e25d9617d", + "rule-c9a1c0b3281621ba58009994", + "rule-9e84231637f9a9e3b198db66", + "rule-7b78014db03f6e2e3ca1a81f", + "rule-b4ec3ac1295c8b80ac207075", + "rule-de387ba18f050955a46c554f", + "rule-70efdb764589b4fabc082f27", + "rule-c3e968c1553beb9a79d765dc", + "rule-b6674b5b21928b5233a48520", + "rule-0487de46f519d16fe8b7e54a", + "rule-78b06db39d1f04cba76ceecb" + ], + "rule_ids": [ + "M_payload", + "operator_packet" + ], + "citations": [], + "remaining_inputs": [ + { + "field": "actual row and column physical units, support and fixed per-block/state/input scales", + "needed_from": "benchmark-5ac658e026793692 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_tunnelling_channels_device.py::test_equilibrium_device_current_is_bounded_without_saturated_occupations, perovskite-sim/tests/integration/test_tunnelling_channels_device.py::test_retracted_fixture_does_not_retain_the_old_large_flux_claim, perovskite-sim/tests/integration/test_tunnelling_channels_device.py::test_the_channel_is_driven_by_the_local_drop_not_the_contact_split, perovskite-sim/tests/unit/physics/test_tunneling_channels.py::test_a_disabled_channel_refuses_rather_than_returning_zero, perovskite-sim/tests/unit/physics/test_wkb_local_windows.py::test_forbidden_run_isolates_the_barrier_containing_the_face, perovskite-sim/tests/unit/physics/test_wkb", + "blocked_use": "new N acceptance / qualified reference use for benchmark:wkb-tunnelling-channel-internal-closure" + }, + { + "field": "numeric independent derivative/action/weak-increment thresholds from the original applicable contract", + "needed_from": "benchmark-5ac658e026793692 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_tunnelling_channels_device.py::test_equilibrium_device_current_is_bounded_without_saturated_occupations, perovskite-sim/tests/integration/test_tunnelling_channels_device.py::test_retracted_fixture_does_not_retain_the_old_large_flux_claim, perovskite-sim/tests/integration/test_tunnelling_channels_device.py::test_the_channel_is_driven_by_the_local_drop_not_the_contact_split, perovskite-sim/tests/unit/physics/test_tunneling_channels.py::test_a_disabled_channel_refuses_rather_than_returning_zero, perovskite-sim/tests/unit/physics/test_wkb_local_windows.py::test_forbidden_run_isolates_the_barrier_containing_the_face, perovskite-sim/tests/unit/physics/test_wkb", + "blocked_use": "new N acceptance / qualified reference use for benchmark:wkb-tunnelling-channel-internal-closure" + }, + { + "field": "full nonlocal/input chain, inactive/zero branch and independent reference/cancellation error", + "needed_from": "benchmark-5ac658e026793692 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_tunnelling_channels_device.py::test_equilibrium_device_current_is_bounded_without_saturated_occupations, perovskite-sim/tests/integration/test_tunnelling_channels_device.py::test_retracted_fixture_does_not_retain_the_old_large_flux_claim, perovskite-sim/tests/integration/test_tunnelling_channels_device.py::test_the_channel_is_driven_by_the_local_drop_not_the_contact_split, perovskite-sim/tests/unit/physics/test_tunneling_channels.py::test_a_disabled_channel_refuses_rather_than_returning_zero, perovskite-sim/tests/unit/physics/test_wkb_local_windows.py::test_forbidden_run_isolates_the_barrier_containing_the_face, perovskite-sim/tests/unit/physics/test_wkb", + "blocked_use": "new N acceptance / qualified reference use for benchmark:wkb-tunnelling-channel-internal-closure" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/benchmark-5ac658e026793692/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + } + ], + "downstream_tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-benchmark-5ac658e026793692" + }, + "scope_specific_prior_gaps": [ + { + "field": "actual row and column physical units, support and fixed per-block/state/input scales", + "needed_from": "benchmark-5ac658e026793692 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_tunnelling_channels_device.py::test_equilibrium_device_current_is_bounded_without_saturated_occupations, perovskite-sim/tests/integration/test_tunnelling_channels_device.py::test_retracted_fixture_does_not_retain_the_old_large_flux_claim, perovskite-sim/tests/integration/test_tunnelling_channels_device.py::test_the_channel_is_driven_by_the_local_drop_not_the_contact_split, perovskite-sim/tests/unit/physics/test_tunneling_channels.py::test_a_disabled_channel_refuses_rather_than_returning_zero, perovskite-sim/tests/unit/physics/test_wkb_local_windows.py::test_forbidden_run_isolates_the_barrier_containing_the_face, perovskite-sim/tests/unit/physics/test_wkb", + "blocked_use": "new N acceptance / qualified reference use for benchmark:wkb-tunnelling-channel-internal-closure", + "categories": [ + "source_configuration" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "numeric independent derivative/action/weak-increment thresholds from the original applicable contract", + "needed_from": "benchmark-5ac658e026793692 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_tunnelling_channels_device.py::test_equilibrium_device_current_is_bounded_without_saturated_occupations, perovskite-sim/tests/integration/test_tunnelling_channels_device.py::test_retracted_fixture_does_not_retain_the_old_large_flux_claim, perovskite-sim/tests/integration/test_tunnelling_channels_device.py::test_the_channel_is_driven_by_the_local_drop_not_the_contact_split, perovskite-sim/tests/unit/physics/test_tunneling_channels.py::test_a_disabled_channel_refuses_rather_than_returning_zero, perovskite-sim/tests/unit/physics/test_wkb_local_windows.py::test_forbidden_run_isolates_the_barrier_containing_the_face, perovskite-sim/tests/unit/physics/test_wkb", + "blocked_use": "new N acceptance / qualified reference use for benchmark:wkb-tunnelling-channel-internal-closure", + "categories": [ + "tolerance_decision" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "full nonlocal/input chain, inactive/zero branch and independent reference/cancellation error", + "needed_from": "benchmark-5ac658e026793692 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_tunnelling_channels_device.py::test_equilibrium_device_current_is_bounded_without_saturated_occupations, perovskite-sim/tests/integration/test_tunnelling_channels_device.py::test_retracted_fixture_does_not_retain_the_old_large_flux_claim, perovskite-sim/tests/integration/test_tunnelling_channels_device.py::test_the_channel_is_driven_by_the_local_drop_not_the_contact_split, perovskite-sim/tests/unit/physics/test_tunneling_channels.py::test_a_disabled_channel_refuses_rather_than_returning_zero, perovskite-sim/tests/unit/physics/test_wkb_local_windows.py::test_forbidden_run_isolates_the_barrier_containing_the_face, perovskite-sim/tests/unit/physics/test_wkb", + "blocked_use": "new N acceptance / qualified reference use for benchmark:wkb-tunnelling-channel-internal-closure", + "categories": [ + "source_configuration", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/benchmark-5ac658e026793692/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [], + "current_numeric_status": "prior_exact_scope_gaps_retained_and_classified" + } + }, + { + "id": "scope-lane-3eb9325a1d09f96f", + "capability_id": "lane-3eb9325a1d09f96f", + "route_id": "route-1af17bb46d9794d0", + "origin_key": "lane:algebraic-interface-state-dae-transient-v1", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "original_refinement_lane" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/algebraic-interface-state-dae-transient-v1", + "value_sha256": "b6d168c1dbeb3154613882de857ce49218f4e5fd5ff0e135b9479d2495188a0c" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "_observable_delta" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "evaluate_numerical_certificate" + } + ], + "negative_only_descriptor_rule_ids": [], + "source_quantitative_assertion_ids_for_scope_audit": [], + "rule_ids": [ + "M_payload", + "original-lane-3eb9325a1d09f96f" + ], + "citations": [ + { + "source_id": "original_lane_registry" + }, + { + "source_id": "lane_evaluator", + "symbol": "_observable_delta", + "lines": [ + 1216, + 1237 + ], + "text_sha256": "557a020088ea7e807d4ea24c0b15565c5db7a58094191089a049cb318f78611c" + }, + { + "source_id": "lane_evaluator", + "lines": [ + 352, + 357 + ], + "text_sha256": "8c1783d9e0db3cfb5f3bbd08e5ce429374ca2558c13e374999a4afe1a5383179" + } + ], + "remaining_inputs": [ + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/lane-3eb9325a1d09f96f/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + } + ], + "downstream_tasks": [ + "P00-03", + "P03-06", + "P04-05", + "P04-06", + "P09-01" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "original_numeric_definition": { + "status": "complete_for_original_named_contract_only", + "target": "lane:algebraic-interface-state-dae-transient-v1", + "rule_group_id": "original-lane-3eb9325a1d09f96f", + "original_rules_sha256": "80e208bbbbfe4a17ae254234333264b77cccd8672ce909bb571cd82a77ef0272", + "parameters": "Resolve quantities/units/limits through this unchanged rule group and the original RefactorComparisonMapV1.rule_catalog bindings; no constants are copied or changed.", + "registry_binding": { + "source_id": "original_lane_registry", + "pointer": "/lanes/algebraic-interface-state-dae-transient-v1", + "value_sha256": "b6d168c1dbeb3154613882de857ce49218f4e5fd5ff0e135b9479d2495188a0c" + }, + "operators": { + "absolute_linf": [ + "rule-91ad5ba99c640c58dd7f4ed7", + "rule-63a9647106682e5e7c42a8dd", + "rule-20627e8235e4b37b82668156", + "rule-33302fa1bcc16245a80e15d4", + "rule-fb702abac313346d64f6db9b", + "rule-b773dd37034ba8f1b523eee1" + ], + "relative_linf": [], + "pointwise_relative_linf": [ + "rule-51eccde34c18287859f50a39" + ], + "le": [ + "rule-245c3e13571106a43aeead88", + "rule-9078b255d578781b9d4a6ce1", + "rule-b8b126ee3a3bce7105b4a136", + "rule-2fdac91ee60a0d3d3250d492", + "rule-39211f1fb97f939d8fea691f", + "rule-502a03f8cb9eefc1bc370ec0", + "rule-71c9d523ecd416a04b2e64e9", + "rule-c339ee246f13e9b872ab6406", + "rule-2f026b0213d4f3f1b6ca5515", + "rule-ab4f46a95aea1219f7f134a4", + "rule-dcb5a154af7f2f9c0469d0e2", + "rule-2192793478338066ac3b3958", + "rule-f3a9c66dd58886b09b8a5077", + "rule-32b1f921d606f0a7e0bad003" + ], + "ge": [], + "eq": [ + "rule-25e4e063f7996f6351165e6e", + "rule-e4b4e5c4c98a46a2c07a94e0", + "rule-29c26a5e0318c6db94e1e006", + "rule-9c40349eb44bfca3bafa9a09", + "rule-5c4a2009bbf353979983b625", + "rule-7de345a3af8110109344ba1c", + "rule-ccaad0ba2c10db936468f43b", + "rule-36ee5da388ee0e9fd3f145f7", + "rule-1455f24791a3350d42496394", + "rule-f6c2d52a5fa6be8266cc46ea", + "rule-dabdee2150ea3c1131544d70" + ] + }, + "absolute_rule_scale": "not_used: original absolute_linf and scalar le/ge/eq predicates already have dimensional limits; no reference amplitude is a missing parameter", + "source_operator_semantics": { + "absolute_linf": "max absolute difference of the original ordered metric values", + "le": "value<=original limit", + "ge": "value>=original limit", + "eq": "value==original limit" + }, + "original_relative_rules": "Existing symmetric/floor evaluator behavior is retained only by source binding, not rewritten as a new reference-scaled formula.", + "original_relative_or_linear_phase_not_direct_N": [ + "rule-51eccde34c18287859f50a39" + ], + "measurement_inputs_pending": [ + "Exact original ordered metric vectors and named quality values, lane grid/tolerance/protocol/input identity; original numeric definitions are already specified" + ], + "remaining_numeric_parameters_for_original_target": [], + "new_N_applicability_approved": false, + "eligibility": { + "reference_error_bound": null, + "reference_qualified": false, + "active_comparison": null, + "default_reference_error_share": "1/3", + "stronger_channel_and_1_12_allocations_retained": true, + "numeric_definition_is_not_reference_eligibility": true + } + }, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-lane-3eb9325a1d09f96f" + }, + "scope_specific_prior_gaps": [ + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/lane-3eb9325a1d09f96f/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [ + { + "rule_id": "rule-51eccde34c18287859f50a39", + "needed": "Source-justified reference/input scale and zero/circular-phase rule before any N reuse; retain the original named comparator unchanged" + } + ], + "current_numeric_status": "original_named_contract_complete" + } + }, + { + "id": "scope-lane-74c8fcdda1607b00", + "capability_id": "lane-74c8fcdda1607b00", + "route_id": "route-7ae47088bbed9ed7", + "origin_key": "lane:bulk-energy-distributed-trap-equilibrium-v1", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "original_refinement_lane" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/bulk-energy-distributed-trap-equilibrium-v1", + "value_sha256": "9c536f1d63c0668e1cf35b27620f4559c6a963a807b646a93296cee7eb5f9064" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "_observable_delta" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "evaluate_numerical_certificate" + } + ], + "negative_only_descriptor_rule_ids": [], + "source_quantitative_assertion_ids_for_scope_audit": [], + "rule_ids": [ + "M_payload", + "original-lane-74c8fcdda1607b00" + ], + "citations": [ + { + "source_id": "original_lane_registry" + }, + { + "source_id": "lane_evaluator", + "symbol": "_observable_delta", + "lines": [ + 1216, + 1237 + ], + "text_sha256": "557a020088ea7e807d4ea24c0b15565c5db7a58094191089a049cb318f78611c" + }, + { + "source_id": "lane_evaluator", + "lines": [ + 352, + 357 + ], + "text_sha256": "8c1783d9e0db3cfb5f3bbd08e5ce429374ca2558c13e374999a4afe1a5383179" + } + ], + "remaining_inputs": [ + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/lane-74c8fcdda1607b00/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + } + ], + "downstream_tasks": [ + "P00-03", + "P03-06", + "P04-10", + "P09-01" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "original_numeric_definition": { + "status": "complete_for_original_named_contract_only", + "target": "lane:bulk-energy-distributed-trap-equilibrium-v1", + "rule_group_id": "original-lane-74c8fcdda1607b00", + "original_rules_sha256": "3549001f713ae67a8a11266d9959ab0cb4be006d42e240f48749434b8867706d", + "parameters": "Resolve quantities/units/limits through this unchanged rule group and the original RefactorComparisonMapV1.rule_catalog bindings; no constants are copied or changed.", + "registry_binding": { + "source_id": "original_lane_registry", + "pointer": "/lanes/bulk-energy-distributed-trap-equilibrium-v1", + "value_sha256": "9c536f1d63c0668e1cf35b27620f4559c6a963a807b646a93296cee7eb5f9064" + }, + "operators": { + "absolute_linf": [ + "rule-e1dc1457b6addfdb56c8d696", + "rule-4f333cb52bfab43eef60ef2d", + "rule-e1dc6491dfa0b46045077471", + "rule-d6204f4edfd559a6438bb857" + ], + "relative_linf": [], + "pointwise_relative_linf": [], + "le": [ + "rule-362189b87bf684bc089307b2", + "rule-4f00c8245df52a58e3795f70", + "rule-4e6b45dede9ae1e831c5d735", + "rule-397ff1e06d2acb7dbf21b44d", + "rule-2fb36ce3fba543a7b9f4664f", + "rule-dfa4ce3a08384bee42079655", + "rule-17476aca6d6b4316c009bf17", + "rule-0966fa61005342cad8bf5d98" + ], + "ge": [ + "rule-359c38c0b461035d01927cb1" + ], + "eq": [ + "rule-8dcf2d8c0d1749a752b66800", + "rule-0c8d5457f68a9a50c764318a", + "rule-66e56c088a1dc1e37a5c56ce", + "rule-02bd7f1c228f88622e4630ce", + "rule-b9013c2a044249c7d67c6fb2", + "rule-aeb44696b3c48c61d3faa639" + ] + }, + "absolute_rule_scale": "not_used: original absolute_linf and scalar le/ge/eq predicates already have dimensional limits; no reference amplitude is a missing parameter", + "source_operator_semantics": { + "absolute_linf": "max absolute difference of the original ordered metric values", + "le": "value<=original limit", + "ge": "value>=original limit", + "eq": "value==original limit" + }, + "original_relative_rules": "Existing symmetric/floor evaluator behavior is retained only by source binding, not rewritten as a new reference-scaled formula.", + "original_relative_or_linear_phase_not_direct_N": [], + "measurement_inputs_pending": [ + "Exact original ordered metric vectors and named quality values, lane grid/tolerance/protocol/input identity; original numeric definitions are already specified" + ], + "remaining_numeric_parameters_for_original_target": [], + "new_N_applicability_approved": false, + "eligibility": { + "reference_error_bound": null, + "reference_qualified": false, + "active_comparison": null, + "default_reference_error_share": "1/3", + "stronger_channel_and_1_12_allocations_retained": true, + "numeric_definition_is_not_reference_eligibility": true + } + }, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-lane-74c8fcdda1607b00" + }, + "scope_specific_prior_gaps": [ + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/lane-74c8fcdda1607b00/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [], + "current_numeric_status": "original_named_contract_complete" + } + }, + { + "id": "scope-lane-30c624efe3f8467f", + "capability_id": "lane-30c624efe3f8467f", + "route_id": "route-7ae47088bbed9ed7", + "origin_key": "lane:charged-explicit-defect-qf-dc-v1", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "original_refinement_lane" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/charged-explicit-defect-qf-dc-v1", + "value_sha256": "4edc8d238cc260b8a55c9a3317d28fd494a2e4c4e02e8007f0662209aef87695" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "_observable_delta" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "evaluate_numerical_certificate" + } + ], + "negative_only_descriptor_rule_ids": [], + "source_quantitative_assertion_ids_for_scope_audit": [], + "rule_ids": [ + "M_payload", + "original-lane-30c624efe3f8467f" + ], + "citations": [ + { + "source_id": "original_lane_registry" + }, + { + "source_id": "lane_evaluator", + "symbol": "_observable_delta", + "lines": [ + 1216, + 1237 + ], + "text_sha256": "557a020088ea7e807d4ea24c0b15565c5db7a58094191089a049cb318f78611c" + }, + { + "source_id": "lane_evaluator", + "lines": [ + 352, + 357 + ], + "text_sha256": "8c1783d9e0db3cfb5f3bbd08e5ce429374ca2558c13e374999a4afe1a5383179" + } + ], + "remaining_inputs": [ + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/lane-30c624efe3f8467f/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + } + ], + "downstream_tasks": [ + "P00-03", + "P03-06", + "P04-10", + "P09-01" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "original_numeric_definition": { + "status": "complete_for_original_named_contract_only", + "target": "lane:charged-explicit-defect-qf-dc-v1", + "rule_group_id": "original-lane-30c624efe3f8467f", + "original_rules_sha256": "eb3289c1bde907644035580c8840c3253eecea7f573bd1e0bc7c9fd205159df9", + "parameters": "Resolve quantities/units/limits through this unchanged rule group and the original RefactorComparisonMapV1.rule_catalog bindings; no constants are copied or changed.", + "registry_binding": { + "source_id": "original_lane_registry", + "pointer": "/lanes/charged-explicit-defect-qf-dc-v1", + "value_sha256": "4edc8d238cc260b8a55c9a3317d28fd494a2e4c4e02e8007f0662209aef87695" + }, + "operators": { + "absolute_linf": [ + "rule-7edfef91fb1dde3130ea0ce2", + "rule-038d208db9c34114415f8c4d", + "rule-0cfa16d843b2b5b68e819fa1", + "rule-600ee4533ad3a6adae21c2b6", + "rule-8372b4a4bd6bdcd91ce32d16", + "rule-f9415c920aba5c151c11b03d", + "rule-4200d8e93632b5aa65f62f38", + "rule-44714ed3f936fbcc73da5a17" + ], + "relative_linf": [ + "rule-d53f0a8071f4273983a236ca", + "rule-09b5af195b8dc43aaecfcaed", + "rule-f087cd3ea6089a5df0d62a9d", + "rule-a533e211d4385eee41c5f640", + "rule-9217fc44679125bf44a15fe9" + ], + "pointwise_relative_linf": [], + "le": [ + "rule-8607af6eea92e78d67249e93", + "rule-9eaf61f64a731a2da5740412", + "rule-b0d7d4a3836116f16d27bd08", + "rule-e8bef59d18c47b994469b1a9", + "rule-787938b47aa1ec080e0d5e96", + "rule-f718fb0a298a493c1f574113", + "rule-0bedf3504e861b3c66d41cc3" + ], + "ge": [ + "rule-d65872fc5ec6b5b1cf835783", + "rule-0a7f74116ee65eadc741b1b6", + "rule-de9a0fb87337e8f96509ad0c" + ], + "eq": [ + "rule-d8636252e37a1b503b6d839f", + "rule-2ff61b842956a33ff1e5c96a", + "rule-fd2e341590ee10d216e9712b", + "rule-d227103273533073b07b351d", + "rule-4dd096f6e4a61e34472ffd7a", + "rule-925f44245489506d30b00ae8", + "rule-4ccd5da45818e32032ad739a", + "rule-f72fddf2757b51b1f5bf9b86", + "rule-5e869af4ba23ec523e9bd996", + "rule-09274696bb0039c32742e9c9", + "rule-89b4948400f10e53fdf240c5", + "rule-4752284e0b415f5fab1be5db" + ] + }, + "absolute_rule_scale": "not_used: original absolute_linf and scalar le/ge/eq predicates already have dimensional limits; no reference amplitude is a missing parameter", + "source_operator_semantics": { + "absolute_linf": "max absolute difference of the original ordered metric values", + "le": "value<=original limit", + "ge": "value>=original limit", + "eq": "value==original limit" + }, + "original_relative_rules": "Existing symmetric/floor evaluator behavior is retained only by source binding, not rewritten as a new reference-scaled formula.", + "original_relative_or_linear_phase_not_direct_N": [ + "rule-d53f0a8071f4273983a236ca", + "rule-09b5af195b8dc43aaecfcaed", + "rule-f087cd3ea6089a5df0d62a9d", + "rule-a533e211d4385eee41c5f640", + "rule-9217fc44679125bf44a15fe9" + ], + "measurement_inputs_pending": [ + "Exact original ordered metric vectors and named quality values, lane grid/tolerance/protocol/input identity; original numeric definitions are already specified" + ], + "remaining_numeric_parameters_for_original_target": [], + "new_N_applicability_approved": false, + "eligibility": { + "reference_error_bound": null, + "reference_qualified": false, + "active_comparison": null, + "default_reference_error_share": "1/3", + "stronger_channel_and_1_12_allocations_retained": true, + "numeric_definition_is_not_reference_eligibility": true + } + }, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-lane-30c624efe3f8467f" + }, + "scope_specific_prior_gaps": [ + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/lane-30c624efe3f8467f/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [ + { + "rule_id": "rule-d53f0a8071f4273983a236ca", + "needed": "Source-justified reference/input scale and zero/circular-phase rule before any N reuse; retain the original named comparator unchanged" + }, + { + "rule_id": "rule-09b5af195b8dc43aaecfcaed", + "needed": "Source-justified reference/input scale and zero/circular-phase rule before any N reuse; retain the original named comparator unchanged" + }, + { + "rule_id": "rule-f087cd3ea6089a5df0d62a9d", + "needed": "Source-justified reference/input scale and zero/circular-phase rule before any N reuse; retain the original named comparator unchanged" + }, + { + "rule_id": "rule-a533e211d4385eee41c5f640", + "needed": "Source-justified reference/input scale and zero/circular-phase rule before any N reuse; retain the original named comparator unchanged" + }, + { + "rule_id": "rule-9217fc44679125bf44a15fe9", + "needed": "Source-justified reference/input scale and zero/circular-phase rule before any N reuse; retain the original named comparator unchanged" + } + ], + "current_numeric_status": "original_named_contract_complete" + } + }, + { + "id": "scope-lane-d0db2268d3d111e7", + "capability_id": "lane-d0db2268d3d111e7", + "route_id": "route-fc717d86c09ab83e", + "origin_key": "lane:cigs-graded-optics-v1", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "original_refinement_lane" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/cigs-graded-optics-v1", + "value_sha256": "67eaec727a735d2b63f0d7cc8d91d1aa270e191ce96b2b35f8eef3db2d92676d" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "_observable_delta" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "evaluate_numerical_certificate" + } + ], + "negative_only_descriptor_rule_ids": [], + "source_quantitative_assertion_ids_for_scope_audit": [], + "rule_ids": [ + "M_payload", + "original-lane-d0db2268d3d111e7" + ], + "citations": [ + { + "source_id": "original_lane_registry" + }, + { + "source_id": "lane_evaluator", + "symbol": "_observable_delta", + "lines": [ + 1216, + 1237 + ], + "text_sha256": "557a020088ea7e807d4ea24c0b15565c5db7a58094191089a049cb318f78611c" + }, + { + "source_id": "lane_evaluator", + "lines": [ + 352, + 357 + ], + "text_sha256": "8c1783d9e0db3cfb5f3bbd08e5ce429374ca2558c13e374999a4afe1a5383179" + } + ], + "remaining_inputs": [ + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/lane-d0db2268d3d111e7/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + } + ], + "downstream_tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "original_numeric_definition": { + "status": "complete_for_original_named_contract_only", + "target": "lane:cigs-graded-optics-v1", + "rule_group_id": "original-lane-d0db2268d3d111e7", + "original_rules_sha256": "f42a2a27f22a062371b969d3a8e25f320bc176c8c9e2e433257385c08a402c80", + "parameters": "Resolve quantities/units/limits through this unchanged rule group and the original RefactorComparisonMapV1.rule_catalog bindings; no constants are copied or changed.", + "registry_binding": { + "source_id": "original_lane_registry", + "pointer": "/lanes/cigs-graded-optics-v1", + "value_sha256": "67eaec727a735d2b63f0d7cc8d91d1aa270e191ce96b2b35f8eef3db2d92676d" + }, + "operators": { + "absolute_linf": [ + "rule-ab14679e61d6dd2855197447", + "rule-97a0f5cd135f3cd29133e2b5", + "rule-c2f51f70723c905460450058" + ], + "relative_linf": [ + "rule-2f39967cafbf3a3135e0b03d" + ], + "pointwise_relative_linf": [], + "le": [ + "rule-5cd6755a145d5abc303dc158", + "rule-adb22f23e6d4d9d0f456afb6", + "rule-efeec750424ac337f3e26e89", + "rule-96056d8bfe75de93fa4e2553", + "rule-d19b73e87b46ff98af89b82a", + "rule-1a4618ef713e468b42de5e63" + ], + "ge": [ + "rule-ac1fd2b09706081097f94121" + ], + "eq": [ + "rule-d05243b324264b555c377058", + "rule-65b22aa45fab19a29ca63848", + "rule-842c108c8cfb389199c315ed", + "rule-deaa52aa4967c52c64e97b3c", + "rule-be483a43c396877330cf0778", + "rule-1dd9d9737e0b0479c75aaf42" + ] + }, + "absolute_rule_scale": "not_used: original absolute_linf and scalar le/ge/eq predicates already have dimensional limits; no reference amplitude is a missing parameter", + "source_operator_semantics": { + "absolute_linf": "max absolute difference of the original ordered metric values", + "le": "value<=original limit", + "ge": "value>=original limit", + "eq": "value==original limit" + }, + "original_relative_rules": "Existing symmetric/floor evaluator behavior is retained only by source binding, not rewritten as a new reference-scaled formula.", + "original_relative_or_linear_phase_not_direct_N": [ + "rule-2f39967cafbf3a3135e0b03d" + ], + "measurement_inputs_pending": [ + "Exact original ordered metric vectors and named quality values, lane grid/tolerance/protocol/input identity; original numeric definitions are already specified" + ], + "remaining_numeric_parameters_for_original_target": [], + "new_N_applicability_approved": false, + "eligibility": { + "reference_error_bound": null, + "reference_qualified": false, + "active_comparison": null, + "default_reference_error_share": "1/3", + "stronger_channel_and_1_12_allocations_retained": true, + "numeric_definition_is_not_reference_eligibility": true + } + }, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-lane-d0db2268d3d111e7" + }, + "scope_specific_prior_gaps": [ + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/lane-d0db2268d3d111e7/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [ + { + "rule_id": "rule-2f39967cafbf3a3135e0b03d", + "needed": "Source-justified reference/input scale and zero/circular-phase rule before any N reuse; retain the original named comparator unchanged" + } + ], + "current_numeric_status": "original_named_contract_complete" + } + }, + { + "id": "scope-lane-1c11f3ec305c3631", + "capability_id": "lane-1c11f3ec305c3631", + "route_id": "route-1af17bb46d9794d0", + "origin_key": "lane:csi-qf-frequency-domain", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "original_refinement_lane" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/csi-qf-frequency-domain", + "value_sha256": "ba50a5902852b067bc7cdd85ed881181753e6b2724b6d69b552e48d61ebc68ed" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "_observable_delta" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "evaluate_numerical_certificate" + } + ], + "negative_only_descriptor_rule_ids": [], + "source_quantitative_assertion_ids_for_scope_audit": [], + "rule_ids": [ + "M_payload", + "original-lane-1c11f3ec305c3631" + ], + "citations": [ + { + "source_id": "original_lane_registry" + }, + { + "source_id": "lane_evaluator", + "symbol": "_observable_delta", + "lines": [ + 1216, + 1237 + ], + "text_sha256": "557a020088ea7e807d4ea24c0b15565c5db7a58094191089a049cb318f78611c" + }, + { + "source_id": "lane_evaluator", + "lines": [ + 352, + 357 + ], + "text_sha256": "8c1783d9e0db3cfb5f3bbd08e5ce429374ca2558c13e374999a4afe1a5383179" + } + ], + "remaining_inputs": [ + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/lane-1c11f3ec305c3631/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + } + ], + "downstream_tasks": [ + "P00-03", + "P03-06", + "P04-05", + "P04-06", + "P09-01" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "original_numeric_definition": { + "status": "complete_for_original_named_contract_only", + "target": "lane:csi-qf-frequency-domain", + "rule_group_id": "original-lane-1c11f3ec305c3631", + "original_rules_sha256": "de73bbf5e3e0cbad2efa82a5ff38dc92d944238e78a340945954b2c9d84bb3cd", + "parameters": "Resolve quantities/units/limits through this unchanged rule group and the original RefactorComparisonMapV1.rule_catalog bindings; no constants are copied or changed.", + "registry_binding": { + "source_id": "original_lane_registry", + "pointer": "/lanes/csi-qf-frequency-domain", + "value_sha256": "ba50a5902852b067bc7cdd85ed881181753e6b2724b6d69b552e48d61ebc68ed" + }, + "operators": { + "absolute_linf": [ + "rule-c3ab2dc342ac4ce84d29c54e" + ], + "relative_linf": [ + "rule-586b7e9436478d5bfc26cb24", + "rule-326e3370aac6ab65be92f01d" + ], + "pointwise_relative_linf": [], + "le": [ + "rule-fbc60ddef221d66e310bcdbb", + "rule-eab38c6ba67bcb6dc2b2d659" + ], + "ge": [], + "eq": [ + "rule-3081dcf8b271ac33fe651a49" + ] + }, + "absolute_rule_scale": "not_used: original absolute_linf and scalar le/ge/eq predicates already have dimensional limits; no reference amplitude is a missing parameter", + "source_operator_semantics": { + "absolute_linf": "max absolute difference of the original ordered metric values", + "le": "value<=original limit", + "ge": "value>=original limit", + "eq": "value==original limit" + }, + "original_relative_rules": "Existing symmetric/floor evaluator behavior is retained only by source binding, not rewritten as a new reference-scaled formula.", + "original_relative_or_linear_phase_not_direct_N": [ + "rule-586b7e9436478d5bfc26cb24", + "rule-326e3370aac6ab65be92f01d" + ], + "measurement_inputs_pending": [ + "Exact original ordered metric vectors and named quality values, lane grid/tolerance/protocol/input identity; original numeric definitions are already specified" + ], + "remaining_numeric_parameters_for_original_target": [], + "new_N_applicability_approved": false, + "eligibility": { + "reference_error_bound": null, + "reference_qualified": false, + "active_comparison": null, + "default_reference_error_share": "1/3", + "stronger_channel_and_1_12_allocations_retained": true, + "numeric_definition_is_not_reference_eligibility": true + } + }, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-lane-1c11f3ec305c3631" + }, + "scope_specific_prior_gaps": [ + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/lane-1c11f3ec305c3631/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [ + { + "rule_id": "rule-586b7e9436478d5bfc26cb24", + "needed": "Source-justified reference/input scale and zero/circular-phase rule before any N reuse; retain the original named comparator unchanged" + }, + { + "rule_id": "rule-326e3370aac6ab65be92f01d", + "needed": "Source-justified reference/input scale and zero/circular-phase rule before any N reuse; retain the original named comparator unchanged" + } + ], + "current_numeric_status": "original_named_contract_complete" + } + }, + { + "id": "scope-lane-1f48a67f12b83f3b", + "capability_id": "lane-1f48a67f12b83f3b", + "route_id": "route-1af17bb46d9794d0", + "origin_key": "lane:csi-qf-frequency-domain-resolved-v2", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "original_refinement_lane" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/csi-qf-frequency-domain-resolved-v2", + "value_sha256": "fd8169368debf5f04a618e0d0ef6a380d7a8815e4e3b9c2fcd4e4a410322fd16" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "_observable_delta" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "evaluate_numerical_certificate" + } + ], + "negative_only_descriptor_rule_ids": [], + "source_quantitative_assertion_ids_for_scope_audit": [], + "rule_ids": [ + "M_payload", + "original-lane-1f48a67f12b83f3b" + ], + "citations": [ + { + "source_id": "original_lane_registry" + }, + { + "source_id": "lane_evaluator", + "symbol": "_observable_delta", + "lines": [ + 1216, + 1237 + ], + "text_sha256": "557a020088ea7e807d4ea24c0b15565c5db7a58094191089a049cb318f78611c" + }, + { + "source_id": "lane_evaluator", + "lines": [ + 352, + 357 + ], + "text_sha256": "8c1783d9e0db3cfb5f3bbd08e5ce429374ca2558c13e374999a4afe1a5383179" + } + ], + "remaining_inputs": [ + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/lane-1f48a67f12b83f3b/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + } + ], + "downstream_tasks": [ + "P00-03", + "P03-06", + "P04-05", + "P04-06", + "P09-01" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "original_numeric_definition": { + "status": "complete_for_original_named_contract_only", + "target": "lane:csi-qf-frequency-domain-resolved-v2", + "rule_group_id": "original-lane-1f48a67f12b83f3b", + "original_rules_sha256": "563d9335259e338eb3a8365a3145acc226eeaf3cb69b083ba253433fcdaa317a", + "parameters": "Resolve quantities/units/limits through this unchanged rule group and the original RefactorComparisonMapV1.rule_catalog bindings; no constants are copied or changed.", + "registry_binding": { + "source_id": "original_lane_registry", + "pointer": "/lanes/csi-qf-frequency-domain-resolved-v2", + "value_sha256": "fd8169368debf5f04a618e0d0ef6a380d7a8815e4e3b9c2fcd4e4a410322fd16" + }, + "operators": { + "absolute_linf": [ + "rule-f12c1246ce6a323cacb0183e" + ], + "relative_linf": [ + "rule-35a636452befff5c0f0fdf31", + "rule-490cfb3653cc2ea665e5860f" + ], + "pointwise_relative_linf": [], + "le": [ + "rule-66beed05916616caab56d92f", + "rule-93bf85353ef693617f19e575" + ], + "ge": [], + "eq": [ + "rule-d8a6f879b5e3372af7918e1f" + ] + }, + "absolute_rule_scale": "not_used: original absolute_linf and scalar le/ge/eq predicates already have dimensional limits; no reference amplitude is a missing parameter", + "source_operator_semantics": { + "absolute_linf": "max absolute difference of the original ordered metric values", + "le": "value<=original limit", + "ge": "value>=original limit", + "eq": "value==original limit" + }, + "original_relative_rules": "Existing symmetric/floor evaluator behavior is retained only by source binding, not rewritten as a new reference-scaled formula.", + "original_relative_or_linear_phase_not_direct_N": [ + "rule-35a636452befff5c0f0fdf31", + "rule-490cfb3653cc2ea665e5860f" + ], + "measurement_inputs_pending": [ + "Exact original ordered metric vectors and named quality values, lane grid/tolerance/protocol/input identity; original numeric definitions are already specified" + ], + "remaining_numeric_parameters_for_original_target": [], + "new_N_applicability_approved": false, + "eligibility": { + "reference_error_bound": null, + "reference_qualified": false, + "active_comparison": null, + "default_reference_error_share": "1/3", + "stronger_channel_and_1_12_allocations_retained": true, + "numeric_definition_is_not_reference_eligibility": true + } + }, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-lane-1f48a67f12b83f3b" + }, + "scope_specific_prior_gaps": [ + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/lane-1f48a67f12b83f3b/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [ + { + "rule_id": "rule-35a636452befff5c0f0fdf31", + "needed": "Source-justified reference/input scale and zero/circular-phase rule before any N reuse; retain the original named comparator unchanged" + }, + { + "rule_id": "rule-490cfb3653cc2ea665e5860f", + "needed": "Source-justified reference/input scale and zero/circular-phase rule before any N reuse; retain the original named comparator unchanged" + } + ], + "current_numeric_status": "original_named_contract_complete" + } + }, + { + "id": "scope-lane-1dfc4e4b19df86e8", + "capability_id": "lane-1dfc4e4b19df86e8", + "route_id": "route-fc717d86c09ab83e", + "origin_key": "lane:degenerate-pn-equilibrium-v1", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "original_refinement_lane" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/degenerate-pn-equilibrium-v1", + "value_sha256": "bdebb925d597280fee0811da925d2dd0139141d3d5e45e17b7ad67bd4c808c5f" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "_observable_delta" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "evaluate_numerical_certificate" + } + ], + "negative_only_descriptor_rule_ids": [], + "source_quantitative_assertion_ids_for_scope_audit": [], + "rule_ids": [ + "M_payload", + "original-lane-1dfc4e4b19df86e8" + ], + "citations": [ + { + "source_id": "original_lane_registry" + }, + { + "source_id": "lane_evaluator", + "symbol": "_observable_delta", + "lines": [ + 1216, + 1237 + ], + "text_sha256": "557a020088ea7e807d4ea24c0b15565c5db7a58094191089a049cb318f78611c" + }, + { + "source_id": "lane_evaluator", + "lines": [ + 352, + 357 + ], + "text_sha256": "8c1783d9e0db3cfb5f3bbd08e5ce429374ca2558c13e374999a4afe1a5383179" + } + ], + "remaining_inputs": [ + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/lane-1dfc4e4b19df86e8/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + } + ], + "downstream_tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "original_numeric_definition": { + "status": "complete_for_original_named_contract_only", + "target": "lane:degenerate-pn-equilibrium-v1", + "rule_group_id": "original-lane-1dfc4e4b19df86e8", + "original_rules_sha256": "f6398502d41e9d675f56296c0e98bf5a2ebc536790881e83274d86d6508af9c8", + "parameters": "Resolve quantities/units/limits through this unchanged rule group and the original RefactorComparisonMapV1.rule_catalog bindings; no constants are copied or changed.", + "registry_binding": { + "source_id": "original_lane_registry", + "pointer": "/lanes/degenerate-pn-equilibrium-v1", + "value_sha256": "bdebb925d597280fee0811da925d2dd0139141d3d5e45e17b7ad67bd4c808c5f" + }, + "operators": { + "absolute_linf": [ + "rule-3d5a2380fd123c3e9382366f", + "rule-d4325f95fc502fc0e537604f", + "rule-ea50db2da005882d7b85f6f8" + ], + "relative_linf": [], + "pointwise_relative_linf": [], + "le": [ + "rule-7960e8fdbea18594ea8a4bb7", + "rule-b537f01dbef50a927f93bcda", + "rule-8c52c1bc447865aae77ac7f9", + "rule-e29d6ac581b5d3f0205465c6", + "rule-196d66d88094525146b47e82", + "rule-558906d7b34db38684bdf4be", + "rule-8eb1ea4bb6fe04fe56742432" + ], + "ge": [], + "eq": [ + "rule-87bb0402c890e4e45f822640", + "rule-ff61a5615d8ad166ae0f7d55", + "rule-2f79e9cd8836190f59e0a15b" + ] + }, + "absolute_rule_scale": "not_used: original absolute_linf and scalar le/ge/eq predicates already have dimensional limits; no reference amplitude is a missing parameter", + "source_operator_semantics": { + "absolute_linf": "max absolute difference of the original ordered metric values", + "le": "value<=original limit", + "ge": "value>=original limit", + "eq": "value==original limit" + }, + "original_relative_rules": "Existing symmetric/floor evaluator behavior is retained only by source binding, not rewritten as a new reference-scaled formula.", + "original_relative_or_linear_phase_not_direct_N": [], + "measurement_inputs_pending": [ + "Exact original ordered metric vectors and named quality values, lane grid/tolerance/protocol/input identity; original numeric definitions are already specified" + ], + "remaining_numeric_parameters_for_original_target": [], + "new_N_applicability_approved": false, + "eligibility": { + "reference_error_bound": null, + "reference_qualified": false, + "active_comparison": null, + "default_reference_error_share": "1/3", + "stronger_channel_and_1_12_allocations_retained": true, + "numeric_definition_is_not_reference_eligibility": true + } + }, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-lane-1dfc4e4b19df86e8" + }, + "scope_specific_prior_gaps": [ + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/lane-1dfc4e4b19df86e8/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [], + "current_numeric_status": "original_named_contract_complete" + } + }, + { + "id": "scope-lane-b7e62a98398228f0", + "capability_id": "lane-b7e62a98398228f0", + "route_id": "route-7ae47088bbed9ed7", + "origin_key": "lane:distributed-explicit-defect-qf-dc-v1", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "original_refinement_lane" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/distributed-explicit-defect-qf-dc-v1", + "value_sha256": "212ceba4c95339803cb7ac51b1497cdcba39cb01d5bf05d603151bd0b2e7c05e" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "_observable_delta" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "evaluate_numerical_certificate" + } + ], + "negative_only_descriptor_rule_ids": [], + "source_quantitative_assertion_ids_for_scope_audit": [], + "rule_ids": [ + "M_payload", + "original-lane-b7e62a98398228f0" + ], + "citations": [ + { + "source_id": "original_lane_registry" + }, + { + "source_id": "lane_evaluator", + "symbol": "_observable_delta", + "lines": [ + 1216, + 1237 + ], + "text_sha256": "557a020088ea7e807d4ea24c0b15565c5db7a58094191089a049cb318f78611c" + }, + { + "source_id": "lane_evaluator", + "lines": [ + 352, + 357 + ], + "text_sha256": "8c1783d9e0db3cfb5f3bbd08e5ce429374ca2558c13e374999a4afe1a5383179" + } + ], + "remaining_inputs": [ + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/lane-b7e62a98398228f0/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + } + ], + "downstream_tasks": [ + "P00-03", + "P03-06", + "P04-10", + "P09-01" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "original_numeric_definition": { + "status": "complete_for_original_named_contract_only", + "target": "lane:distributed-explicit-defect-qf-dc-v1", + "rule_group_id": "original-lane-b7e62a98398228f0", + "original_rules_sha256": "e1ea2db4d4eac6c20b547148e4cd7a1fc3614e3ea92866441583209d06eef81d", + "parameters": "Resolve quantities/units/limits through this unchanged rule group and the original RefactorComparisonMapV1.rule_catalog bindings; no constants are copied or changed.", + "registry_binding": { + "source_id": "original_lane_registry", + "pointer": "/lanes/distributed-explicit-defect-qf-dc-v1", + "value_sha256": "212ceba4c95339803cb7ac51b1497cdcba39cb01d5bf05d603151bd0b2e7c05e" + }, + "operators": { + "absolute_linf": [ + "rule-09de497008f8b5b99d03540e", + "rule-73ec0e1b9f50670b9b925d2e", + "rule-89ecc036655cbbdab210d97f", + "rule-6e0745c7f16b936de93dcf67", + "rule-8d146657f932925c9b7666ec", + "rule-becb84044e1ce0061a5b6442", + "rule-f5176e098c1b30dfe2d430ad" + ], + "relative_linf": [ + "rule-a658d6721b4e7100861780eb", + "rule-75775c91f5051dfee8aa8c92", + "rule-b0059d9745848348b6410288" + ], + "pointwise_relative_linf": [], + "le": [ + "rule-b12702a1d4e267a2dfb7116f", + "rule-f42ee6d3773871ba286975a1", + "rule-a7d27e826e1cad48605951a7", + "rule-d2175ce7670d4b3faf1f85e5", + "rule-13754db5e69650655f2ffd3a", + "rule-40ff2dffd731082da9386980", + "rule-a77a948713918bd38e954007", + "rule-72dd77cee6633befe4280ea1", + "rule-e1bf3fbe7a151914f5972df0", + "rule-e6a1c9ae93c121a3261e1d46", + "rule-ba8ee0d85aff875559650170", + "rule-4ec7801378f54c43ff0c7845", + "rule-f8da9c992be1f6cedd149368", + "rule-3985daf13a040529cafc112c", + "rule-0b9fa0bae6a3e9b39fc849b3", + "rule-de83a49c04cffb58b22826d5" + ], + "ge": [ + "rule-6797810f12d97a8e329fc6ec" + ], + "eq": [ + "rule-574cc405ecb1be86b0c349c7", + "rule-b4a0892a326383dc7ca82ee7", + "rule-7123b8fea40d2fe7e0f26481", + "rule-69533cc92cf92487ddba897c", + "rule-0e81dae6223baed5e48f013f", + "rule-6fc4209206799b2567168b93", + "rule-e444eb407dcb745fad534088", + "rule-03c8dbc455d1124fd7fb22e4", + "rule-938fa5f34860473edd4052c5", + "rule-f5ed390e79602b6b95f2ec1d", + "rule-2edc40979ec352cc025733cf" + ] + }, + "absolute_rule_scale": "not_used: original absolute_linf and scalar le/ge/eq predicates already have dimensional limits; no reference amplitude is a missing parameter", + "source_operator_semantics": { + "absolute_linf": "max absolute difference of the original ordered metric values", + "le": "value<=original limit", + "ge": "value>=original limit", + "eq": "value==original limit" + }, + "original_relative_rules": "Existing symmetric/floor evaluator behavior is retained only by source binding, not rewritten as a new reference-scaled formula.", + "original_relative_or_linear_phase_not_direct_N": [ + "rule-a658d6721b4e7100861780eb", + "rule-75775c91f5051dfee8aa8c92", + "rule-b0059d9745848348b6410288" + ], + "measurement_inputs_pending": [ + "Exact original ordered metric vectors and named quality values, lane grid/tolerance/protocol/input identity; original numeric definitions are already specified" + ], + "remaining_numeric_parameters_for_original_target": [], + "new_N_applicability_approved": false, + "eligibility": { + "reference_error_bound": null, + "reference_qualified": false, + "active_comparison": null, + "default_reference_error_share": "1/3", + "stronger_channel_and_1_12_allocations_retained": true, + "numeric_definition_is_not_reference_eligibility": true + } + }, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-lane-b7e62a98398228f0" + }, + "scope_specific_prior_gaps": [ + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/lane-b7e62a98398228f0/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [ + { + "rule_id": "rule-a658d6721b4e7100861780eb", + "needed": "Source-justified reference/input scale and zero/circular-phase rule before any N reuse; retain the original named comparator unchanged" + }, + { + "rule_id": "rule-75775c91f5051dfee8aa8c92", + "needed": "Source-justified reference/input scale and zero/circular-phase rule before any N reuse; retain the original named comparator unchanged" + }, + { + "rule_id": "rule-b0059d9745848348b6410288", + "needed": "Source-justified reference/input scale and zero/circular-phase rule before any N reuse; retain the original named comparator unchanged" + } + ], + "current_numeric_status": "original_named_contract_complete" + } + }, + { + "id": "scope-lane-6c70228c5f2817ea", + "capability_id": "lane-6c70228c5f2817ea", + "route_id": "route-1af17bb46d9794d0", + "origin_key": "lane:dual-mobile-ion-dae-transient-v1", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "original_refinement_lane" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dual-mobile-ion-dae-transient-v1", + "value_sha256": "e93dac1f59ce52c3fd6f2d1571248459076fd29a5f8f99fb6f10d29fb13d0bb0" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "_observable_delta" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "evaluate_numerical_certificate" + } + ], + "negative_only_descriptor_rule_ids": [], + "source_quantitative_assertion_ids_for_scope_audit": [], + "rule_ids": [ + "M_payload", + "original-lane-6c70228c5f2817ea" + ], + "citations": [ + { + "source_id": "original_lane_registry" + }, + { + "source_id": "lane_evaluator", + "symbol": "_observable_delta", + "lines": [ + 1216, + 1237 + ], + "text_sha256": "557a020088ea7e807d4ea24c0b15565c5db7a58094191089a049cb318f78611c" + }, + { + "source_id": "lane_evaluator", + "lines": [ + 352, + 357 + ], + "text_sha256": "8c1783d9e0db3cfb5f3bbd08e5ce429374ca2558c13e374999a4afe1a5383179" + } + ], + "remaining_inputs": [ + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/lane-6c70228c5f2817ea/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + } + ], + "downstream_tasks": [ + "P00-03", + "P03-06", + "P04-05", + "P04-06", + "P09-01" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "original_numeric_definition": { + "status": "complete_for_original_named_contract_only", + "target": "lane:dual-mobile-ion-dae-transient-v1", + "rule_group_id": "original-lane-6c70228c5f2817ea", + "original_rules_sha256": "1a51928dc1b501d649f47fc86625fc74ee704ecaf72e594e5f43db4302e101f6", + "parameters": "Resolve quantities/units/limits through this unchanged rule group and the original RefactorComparisonMapV1.rule_catalog bindings; no constants are copied or changed.", + "registry_binding": { + "source_id": "original_lane_registry", + "pointer": "/lanes/dual-mobile-ion-dae-transient-v1", + "value_sha256": "e93dac1f59ce52c3fd6f2d1571248459076fd29a5f8f99fb6f10d29fb13d0bb0" + }, + "operators": { + "absolute_linf": [ + "rule-69058e1af6751f9f9cadb573", + "rule-b58c653c69cb0f26ddb1ff37", + "rule-b699ec3fbdb98f1f3f963899", + "rule-5ba76faea7d1643d987beaa6", + "rule-65091c0901d07799fe900bf5", + "rule-37df3fa87efc17764272caf7", + "rule-9f8afb1b2be7c3b24a3d48a6", + "rule-59a19198fdef38eb8d8d5169" + ], + "relative_linf": [], + "pointwise_relative_linf": [], + "le": [ + "rule-229782e864d0faafbc695523", + "rule-20255d2989cf2afb2e2b8c49", + "rule-b8f66d894b1d519533d507b9", + "rule-64029ed1e50f891808ee79c7", + "rule-3904a39de7c8c32bf629ceee", + "rule-46982d459cc32e214b3cf83d", + "rule-3222fbeeb3394ee217d2fd07", + "rule-2fefe2d44d17e81c1ae06ee2", + "rule-9562411980a4c85cae83b601", + "rule-5dd1748bc976ea592505ed41", + "rule-f171d09139dc7c15ad7d659e", + "rule-fddc2f353b9b3f93a41bdca7", + "rule-48244c82bac51d7facfe824b", + "rule-2624b0fea75216e77d7c5883", + "rule-ac7768379017209730286cf1", + "rule-a5e3afc60ba0da7109c2d569", + "rule-abba824f43ae8509078e1895", + "rule-58014199b589c0ae7d2acef9", + "rule-a8af23d4be88ca6a3d71fc3d", + "rule-1bfab4cd0a2aca0824a0a094", + "rule-d569a9729a8f920087a024e4", + "rule-e7e77f5e98b7323910776f33" + ], + "ge": [ + "rule-bc6d9cef1bd571ac9779f624", + "rule-15766fac0f8c06cd60423fc3", + "rule-646e30935c799f6fcefac5c0" + ], + "eq": [ + "rule-825b901d3fb10db230904394", + "rule-c0c9ad75a0d62b703933611d", + "rule-9b20f0727dea8d9a889f6fe0", + "rule-de42aeb87ef938f2e96ebbc9", + "rule-68b1bae2b61c7339f18c2e5f", + "rule-dfe14b3802a0da764eca9bcb", + "rule-fe53144103ae14c150948068", + "rule-b9eb2d437f9d3e3c4a861974", + "rule-464d92fb761630eb1f1680b1", + "rule-47354dca211bfe7222347fd7" + ] + }, + "absolute_rule_scale": "not_used: original absolute_linf and scalar le/ge/eq predicates already have dimensional limits; no reference amplitude is a missing parameter", + "source_operator_semantics": { + "absolute_linf": "max absolute difference of the original ordered metric values", + "le": "value<=original limit", + "ge": "value>=original limit", + "eq": "value==original limit" + }, + "original_relative_rules": "Existing symmetric/floor evaluator behavior is retained only by source binding, not rewritten as a new reference-scaled formula.", + "original_relative_or_linear_phase_not_direct_N": [], + "measurement_inputs_pending": [ + "Exact original ordered metric vectors and named quality values, lane grid/tolerance/protocol/input identity; original numeric definitions are already specified" + ], + "remaining_numeric_parameters_for_original_target": [], + "new_N_applicability_approved": false, + "eligibility": { + "reference_error_bound": null, + "reference_qualified": false, + "active_comparison": null, + "default_reference_error_share": "1/3", + "stronger_channel_and_1_12_allocations_retained": true, + "numeric_definition_is_not_reference_eligibility": true + } + }, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-lane-6c70228c5f2817ea" + }, + "scope_specific_prior_gaps": [ + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/lane-6c70228c5f2817ea/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [], + "current_numeric_status": "original_named_contract_complete" + } + }, + { + "id": "scope-lane-5ff1ae9d34dfa46d", + "capability_id": "lane-5ff1ae9d34dfa46d", + "route_id": "route-1af17bb46d9794d0", + "origin_key": "lane:dynamic-defect-ion-impedance-production-v1", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "original_refinement_lane" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-impedance-production-v1", + "value_sha256": "b8919a4cdab6349be31dd77d2114ef43c5868dc10209e07ad337dd4138ccd999" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "_observable_delta" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "evaluate_numerical_certificate" + } + ], + "negative_only_descriptor_rule_ids": [], + "source_quantitative_assertion_ids_for_scope_audit": [], + "rule_ids": [ + "M_payload", + "original-lane-5ff1ae9d34dfa46d" + ], + "citations": [ + { + "source_id": "original_lane_registry" + }, + { + "source_id": "lane_evaluator", + "symbol": "_observable_delta", + "lines": [ + 1216, + 1237 + ], + "text_sha256": "557a020088ea7e807d4ea24c0b15565c5db7a58094191089a049cb318f78611c" + }, + { + "source_id": "lane_evaluator", + "lines": [ + 352, + 357 + ], + "text_sha256": "8c1783d9e0db3cfb5f3bbd08e5ce429374ca2558c13e374999a4afe1a5383179" + } + ], + "remaining_inputs": [ + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/lane-5ff1ae9d34dfa46d/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + } + ], + "downstream_tasks": [ + "P00-03", + "P03-06", + "P04-05", + "P04-06", + "P09-01" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "original_numeric_definition": { + "status": "complete_for_original_named_contract_only", + "target": "lane:dynamic-defect-ion-impedance-production-v1", + "rule_group_id": "original-lane-5ff1ae9d34dfa46d", + "original_rules_sha256": "9cb5a5f9fadabe4b1f1ee30833f4c034af9830aa6711b3452599a93edb1b15c2", + "parameters": "Resolve quantities/units/limits through this unchanged rule group and the original RefactorComparisonMapV1.rule_catalog bindings; no constants are copied or changed.", + "registry_binding": { + "source_id": "original_lane_registry", + "pointer": "/lanes/dynamic-defect-ion-impedance-production-v1", + "value_sha256": "b8919a4cdab6349be31dd77d2114ef43c5868dc10209e07ad337dd4138ccd999" + }, + "operators": { + "absolute_linf": [ + "rule-ecff69194e4dafcb38103a85", + "rule-87348577b5bc6d61b7c2e17b", + "rule-24b12f44759b14771bae457a" + ], + "relative_linf": [], + "pointwise_relative_linf": [ + "rule-8a11562fda4feee473c260a5" + ], + "le": [ + "rule-c65c83b218d0af6a265ef002", + "rule-83e0a5733fdb835d9ae4b1c3", + "rule-3f2e9b330bede18dbfaf23e6", + "rule-e0e71b58aa66915e41c5679b", + "rule-02b68c4091045c552343c654", + "rule-41e7470431bcd7b19f247733", + "rule-5110a4e6932572bcc2218041", + "rule-6ae9b019b08f350666f72d1a", + "rule-fbb1c11609aaa77d3e406146" + ], + "ge": [], + "eq": [ + "rule-39c8f80f448a2ad30293678f", + "rule-d101de26519718868dd8b3bb", + "rule-62bfc032f1c1c3c38ac8e72d", + "rule-b5f8faead216a91c8e98d2dd", + "rule-57296dbdbc0403cb68063224", + "rule-59eccb393ae545a5b42dbad0" + ] + }, + "absolute_rule_scale": "not_used: original absolute_linf and scalar le/ge/eq predicates already have dimensional limits; no reference amplitude is a missing parameter", + "source_operator_semantics": { + "absolute_linf": "max absolute difference of the original ordered metric values", + "le": "value<=original limit", + "ge": "value>=original limit", + "eq": "value==original limit" + }, + "original_relative_rules": "Existing symmetric/floor evaluator behavior is retained only by source binding, not rewritten as a new reference-scaled formula.", + "original_relative_or_linear_phase_not_direct_N": [ + "rule-8a11562fda4feee473c260a5", + "rule-ecff69194e4dafcb38103a85" + ], + "measurement_inputs_pending": [ + "Exact original ordered metric vectors and named quality values, lane grid/tolerance/protocol/input identity; original numeric definitions are already specified" + ], + "remaining_numeric_parameters_for_original_target": [], + "new_N_applicability_approved": false, + "eligibility": { + "reference_error_bound": null, + "reference_qualified": false, + "active_comparison": null, + "default_reference_error_share": "1/3", + "stronger_channel_and_1_12_allocations_retained": true, + "numeric_definition_is_not_reference_eligibility": true + } + }, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-lane-5ff1ae9d34dfa46d" + }, + "scope_specific_prior_gaps": [ + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/lane-5ff1ae9d34dfa46d/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [ + { + "rule_id": "rule-8a11562fda4feee473c260a5", + "needed": "Source-justified reference/input scale and zero/circular-phase rule before any N reuse; retain the original named comparator unchanged" + }, + { + "rule_id": "rule-ecff69194e4dafcb38103a85", + "needed": "Source-justified reference/input scale and zero/circular-phase rule before any N reuse; retain the original named comparator unchanged" + } + ], + "current_numeric_status": "original_named_contract_complete" + } + }, + { + "id": "scope-lane-def3952fd4d218a3", + "capability_id": "lane-def3952fd4d218a3", + "route_id": "route-7ae47088bbed9ed7", + "origin_key": "lane:dynamic-defect-ion-transient-production-v1", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "original_refinement_lane" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-production-v1", + "value_sha256": "f1541db33fa674753814fca3f3f4e0559ea9c834d1fe8b3b568c72cd63166d3c" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "_observable_delta" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "evaluate_numerical_certificate" + } + ], + "negative_only_descriptor_rule_ids": [], + "source_quantitative_assertion_ids_for_scope_audit": [], + "rule_ids": [ + "M_payload", + "original-lane-def3952fd4d218a3" + ], + "citations": [ + { + "source_id": "original_lane_registry" + }, + { + "source_id": "lane_evaluator", + "symbol": "_observable_delta", + "lines": [ + 1216, + 1237 + ], + "text_sha256": "557a020088ea7e807d4ea24c0b15565c5db7a58094191089a049cb318f78611c" + }, + { + "source_id": "lane_evaluator", + "lines": [ + 352, + 357 + ], + "text_sha256": "8c1783d9e0db3cfb5f3bbd08e5ce429374ca2558c13e374999a4afe1a5383179" + } + ], + "remaining_inputs": [ + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/lane-def3952fd4d218a3/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + } + ], + "downstream_tasks": [ + "P00-03", + "P03-06", + "P04-10", + "P09-01" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "original_numeric_definition": { + "status": "complete_for_original_named_contract_only", + "target": "lane:dynamic-defect-ion-transient-production-v1", + "rule_group_id": "original-lane-def3952fd4d218a3", + "original_rules_sha256": "3e0aaaebc2a124779f97404c089a2152ead145b2837fe7458aac73327a9e47e6", + "parameters": "Resolve quantities/units/limits through this unchanged rule group and the original RefactorComparisonMapV1.rule_catalog bindings; no constants are copied or changed.", + "registry_binding": { + "source_id": "original_lane_registry", + "pointer": "/lanes/dynamic-defect-ion-transient-production-v1", + "value_sha256": "f1541db33fa674753814fca3f3f4e0559ea9c834d1fe8b3b568c72cd63166d3c" + }, + "operators": { + "absolute_linf": [ + "rule-8a12153d0a16c626a9392adc", + "rule-a515c4920e7538d7767a0aa2", + "rule-f7a2c76e29fa6b5d591dc525", + "rule-071bc05b03dc35ffc12c33a3", + "rule-cde8698398daf49205051e06", + "rule-49276d9d7c52f13f57481074", + "rule-78790ec2a8ee4ea60dae0c3b", + "rule-2add69b8c4e0b3835f39bffc", + "rule-29913c136916dd2df0b7b621", + "rule-32fd79a9efeebe24c260baf7", + "rule-cdc298669855ad994982311e", + "rule-96da65d638042caa70ccbed0" + ], + "relative_linf": [], + "pointwise_relative_linf": [], + "le": [ + "rule-bf1505954dec2e66fefb5e44", + "rule-e6dd627e0ad4beb567d731d3", + "rule-83f71d7cd68bb18205480358", + "rule-7f8f90eeb5c7dd8b4fc44322", + "rule-bb944e9a9f5b63bd28908658", + "rule-a919b3386e563a21f3e0c496", + "rule-a499e23bc609f2e35da2f6ac", + "rule-719d78652182af11c8d40eac", + "rule-486b0f050e45587d4fdd31cf", + "rule-d1a153e62c8fbe0df28cc37a", + "rule-798df078793d08f7e92ed27e", + "rule-754e1ad38903be27bb1b3c0e", + "rule-2b2b830baa2490176235e033", + "rule-30b0b5b5cb6938d08bcaa08f", + "rule-0a175d55c75ef0914671be5e", + "rule-2bc05426924136fe68e0ac9c", + "rule-5c74d8b25766053be7756833" + ], + "ge": [ + "rule-a5375be5c6b74d926a5f8f16", + "rule-e2b48abcdc9a4fee339873f2", + "rule-65598f673ba18568c0b12509", + "rule-e79f37d50dd03c6b7c4a6ae4" + ], + "eq": [ + "rule-d35f56e79a66e4a75331501c", + "rule-9893a677ebe785e37cb3edf8", + "rule-eccbe7a4b6961694240e96af", + "rule-0939be97cf3fecb1b0583c5d", + "rule-ef2a67ac13be6d19f6227391", + "rule-c2b7d984854710aa282fa2d0", + "rule-a0d8c5ed112f0ece46cdbd71", + "rule-5c0b307f6ca6beeec14bcda6", + "rule-64e141831bd77997a19768cf", + "rule-7fa7bafaf8248c6285f9db20", + "rule-91c7cc968dbcdaaa0e3335d4", + "rule-09272356c92e8e1471cdb704", + "rule-eeba496d76e45d141348d9b7", + "rule-f9f32c09da428e5befec7adc", + "rule-f285b65c4662b18c669d995d", + "rule-6c68d1b6e619a4fa680956d3", + "rule-de1da831eaea01d4c0330908" + ] + }, + "absolute_rule_scale": "not_used: original absolute_linf and scalar le/ge/eq predicates already have dimensional limits; no reference amplitude is a missing parameter", + "source_operator_semantics": { + "absolute_linf": "max absolute difference of the original ordered metric values", + "le": "value<=original limit", + "ge": "value>=original limit", + "eq": "value==original limit" + }, + "original_relative_rules": "Existing symmetric/floor evaluator behavior is retained only by source binding, not rewritten as a new reference-scaled formula.", + "original_relative_or_linear_phase_not_direct_N": [], + "measurement_inputs_pending": [ + "Exact original ordered metric vectors and named quality values, lane grid/tolerance/protocol/input identity; original numeric definitions are already specified" + ], + "remaining_numeric_parameters_for_original_target": [], + "new_N_applicability_approved": false, + "eligibility": { + "reference_error_bound": null, + "reference_qualified": false, + "active_comparison": null, + "default_reference_error_share": "1/3", + "stronger_channel_and_1_12_allocations_retained": true, + "numeric_definition_is_not_reference_eligibility": true + } + }, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-lane-def3952fd4d218a3" + }, + "scope_specific_prior_gaps": [ + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/lane-def3952fd4d218a3/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [], + "current_numeric_status": "original_named_contract_complete" + } + }, + { + "id": "scope-lane-b61bf1fc1c5146b5", + "capability_id": "lane-b61bf1fc1c5146b5", + "route_id": "route-7ae47088bbed9ed7", + "origin_key": "lane:dynamic-defect-ion-transient-timescale-absorber-resolved-v4", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "original_refinement_lane" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-absorber-resolved-v4", + "value_sha256": "a1c100dae0d0f89e231d3efc00beb26fc70536e3a51f01e02cd92947027b82dc" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "_observable_delta" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "evaluate_numerical_certificate" + } + ], + "negative_only_descriptor_rule_ids": [], + "source_quantitative_assertion_ids_for_scope_audit": [], + "rule_ids": [ + "M_payload", + "original-lane-b61bf1fc1c5146b5" + ], + "citations": [ + { + "source_id": "original_lane_registry" + }, + { + "source_id": "lane_evaluator", + "symbol": "_observable_delta", + "lines": [ + 1216, + 1237 + ], + "text_sha256": "557a020088ea7e807d4ea24c0b15565c5db7a58094191089a049cb318f78611c" + }, + { + "source_id": "lane_evaluator", + "lines": [ + 352, + 357 + ], + "text_sha256": "8c1783d9e0db3cfb5f3bbd08e5ce429374ca2558c13e374999a4afe1a5383179" + } + ], + "remaining_inputs": [ + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/lane-b61bf1fc1c5146b5/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + } + ], + "downstream_tasks": [ + "P00-03", + "P03-06", + "P04-10", + "P09-01" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "original_numeric_definition": { + "status": "complete_for_original_named_contract_only", + "target": "lane:dynamic-defect-ion-transient-timescale-absorber-resolved-v4", + "rule_group_id": "original-lane-b61bf1fc1c5146b5", + "original_rules_sha256": "e078236b97f2252cdda1e906d0c1c7a99ad0bd974e3a2a37f31a2124627dc428", + "parameters": "Resolve quantities/units/limits through this unchanged rule group and the original RefactorComparisonMapV1.rule_catalog bindings; no constants are copied or changed.", + "registry_binding": { + "source_id": "original_lane_registry", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-absorber-resolved-v4", + "value_sha256": "a1c100dae0d0f89e231d3efc00beb26fc70536e3a51f01e02cd92947027b82dc" + }, + "operators": { + "absolute_linf": [ + "rule-b3089e78c3501797ab56bf64", + "rule-8a733fbb6fed93f4d3366516", + "rule-0cab1e74a11f1ada80ca11b9", + "rule-75952a0a84d4c5ea8854426b", + "rule-8207a82b085f21c0143146af", + "rule-6074d651c3b9809dcdc8bb67", + "rule-38341085953e6ebdb35037f7", + "rule-9c1fd89d0b0adc9081d2eeed", + "rule-5f33dc6b7a6c557bc4ed470b", + "rule-55a5537239a173feb4f8b321", + "rule-0a45a1c44f310002840c9758", + "rule-7e59df0e9b3e763c19a684b7" + ], + "relative_linf": [], + "pointwise_relative_linf": [], + "le": [ + "rule-307b0277dca46875a8a26012", + "rule-99443271b33eaf0c0085bd67", + "rule-ceb72ac2499e2554e072e3d8", + "rule-a8e490964f0299460c776a3e", + "rule-0efbb828a083efa7f7d7fbe6", + "rule-cfd5c0f75e257dd949ab8f7f", + "rule-0dafc45082f0141caae1ded6", + "rule-9c0f05e25bf2c7fc0b7fee6f", + "rule-2d5916107874e344937b732b", + "rule-ada3c2dad6e2f1e701cd4e11", + "rule-e0c7b1fc508e0e8016fea02c", + "rule-e8c33bcb94926bed95ca86f6", + "rule-70686d2c74fa2a7612115c4a", + "rule-16d56708ff70bba44bd9ed62", + "rule-4421dec318834ef82902c8e3", + "rule-f15cbdddbb1b81a2ba3148e2", + "rule-e3437626bfd6fd9481b00b19" + ], + "ge": [ + "rule-37d1a05f64cc3689cb0c8689", + "rule-475f3c3db002168b1f6aebc1", + "rule-287972f5ed30860f4ed145bf", + "rule-509eff0a56478634d65e0641" + ], + "eq": [ + "rule-a90172cea8de6f5c0774c81b", + "rule-7d4ccb6b93afe3260735cca4", + "rule-738a47b5d7b9eddc69fe7d81", + "rule-e8a7b93d9a914086f238c528", + "rule-6338649cc0ab385f94054cb9", + "rule-a960116536ff581cdaf35dc0", + "rule-0c9dffe1bf52e8ea7c002058", + "rule-b208719cbadf17861d284d9b", + "rule-b9b1c34ed26c4e7d1cfef788", + "rule-9c6ade9af18fbbc9f62d7529", + "rule-70fb60ec809e6ff7e96b3f45", + "rule-df6957825c6e011087268634", + "rule-d23c470b0dec16dac7a28d3b" + ] + }, + "absolute_rule_scale": "not_used: original absolute_linf and scalar le/ge/eq predicates already have dimensional limits; no reference amplitude is a missing parameter", + "source_operator_semantics": { + "absolute_linf": "max absolute difference of the original ordered metric values", + "le": "value<=original limit", + "ge": "value>=original limit", + "eq": "value==original limit" + }, + "original_relative_rules": "Existing symmetric/floor evaluator behavior is retained only by source binding, not rewritten as a new reference-scaled formula.", + "original_relative_or_linear_phase_not_direct_N": [], + "measurement_inputs_pending": [ + "Exact original ordered metric vectors and named quality values, lane grid/tolerance/protocol/input identity; original numeric definitions are already specified" + ], + "remaining_numeric_parameters_for_original_target": [], + "new_N_applicability_approved": false, + "eligibility": { + "reference_error_bound": null, + "reference_qualified": false, + "active_comparison": null, + "default_reference_error_share": "1/3", + "stronger_channel_and_1_12_allocations_retained": true, + "numeric_definition_is_not_reference_eligibility": true + } + }, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-lane-b61bf1fc1c5146b5" + }, + "scope_specific_prior_gaps": [ + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/lane-b61bf1fc1c5146b5/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [], + "current_numeric_status": "original_named_contract_complete" + } + }, + { + "id": "scope-lane-119dbf12fc26bf9b", + "capability_id": "lane-119dbf12fc26bf9b", + "route_id": "route-7ae47088bbed9ed7", + "origin_key": "lane:dynamic-defect-ion-transient-timescale-nonlinear-resolved-v3", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "original_refinement_lane" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-nonlinear-resolved-v3", + "value_sha256": "69e24dac012929679522f73d9cb0c3937a98035b754919828a5db6744c892f85" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "_observable_delta" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "evaluate_numerical_certificate" + } + ], + "negative_only_descriptor_rule_ids": [], + "source_quantitative_assertion_ids_for_scope_audit": [], + "rule_ids": [ + "M_payload", + "original-lane-119dbf12fc26bf9b" + ], + "citations": [ + { + "source_id": "original_lane_registry" + }, + { + "source_id": "lane_evaluator", + "symbol": "_observable_delta", + "lines": [ + 1216, + 1237 + ], + "text_sha256": "557a020088ea7e807d4ea24c0b15565c5db7a58094191089a049cb318f78611c" + }, + { + "source_id": "lane_evaluator", + "lines": [ + 352, + 357 + ], + "text_sha256": "8c1783d9e0db3cfb5f3bbd08e5ce429374ca2558c13e374999a4afe1a5383179" + } + ], + "remaining_inputs": [ + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/lane-119dbf12fc26bf9b/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + } + ], + "downstream_tasks": [ + "P00-03", + "P03-06", + "P04-10", + "P09-01" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "original_numeric_definition": { + "status": "complete_for_original_named_contract_only", + "target": "lane:dynamic-defect-ion-transient-timescale-nonlinear-resolved-v3", + "rule_group_id": "original-lane-119dbf12fc26bf9b", + "original_rules_sha256": "c8dfbe017cbbd79f27956498fef12f310b7b4833de70e48d0f6c379f7db03020", + "parameters": "Resolve quantities/units/limits through this unchanged rule group and the original RefactorComparisonMapV1.rule_catalog bindings; no constants are copied or changed.", + "registry_binding": { + "source_id": "original_lane_registry", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-nonlinear-resolved-v3", + "value_sha256": "69e24dac012929679522f73d9cb0c3937a98035b754919828a5db6744c892f85" + }, + "operators": { + "absolute_linf": [ + "rule-f0451d8a65a6ab4d4682f0a5", + "rule-c0cc5cc33b833d49c95cc90a", + "rule-619d87e59a5b7f4e68a3975f", + "rule-3baa8984c419be9154171461", + "rule-0345f9f188c51373a0deb2ba", + "rule-ab2d706f371dce2888d2de72", + "rule-ee9f608a01b1a424f62edee9", + "rule-663351d779454fc716c6ac94", + "rule-ebec8d9404f63d7ab58f616f", + "rule-d32677e2806d63dca230c900", + "rule-bdd4a45ffa8cde957f2efbcc", + "rule-9cc9ab321c573e81bb438ecf" + ], + "relative_linf": [], + "pointwise_relative_linf": [], + "le": [ + "rule-7032489aabc5864809818648", + "rule-e2685244646ed077f99a2236", + "rule-fe106ef9b6173cf1a410747b", + "rule-e378a2d2c12fb4c52a114bd3", + "rule-6ed84b85fd1bf7ea0996cf49", + "rule-7bdacfb7eab7b71cacedddb5", + "rule-2de574fa7534e429edddb045", + "rule-0cb4eadeef7d7ca63d16a3e1", + "rule-120b649cb27a089a9b7cb29a", + "rule-53a82a7239e817db936288a2", + "rule-aa117798b164aab07e92d241", + "rule-91cd384f071a1589073c619e", + "rule-abe05c050ecbe7b2e2fe8019", + "rule-62010f10d217c4b12681c35e", + "rule-eaf72da19e4d45cfee88a646", + "rule-7aded4a7b624e61f3c4a4b85", + "rule-7f98377940f352266ca4dce4" + ], + "ge": [ + "rule-c9a533f7304816b4d047f0e0", + "rule-1cb214a55731160f9a85ef95", + "rule-1c40a019d7b3a0a28bc3f255", + "rule-7d662d1a3bc92667377843c6" + ], + "eq": [ + "rule-868e97ae6f7bb356b638de58", + "rule-daafaeb38a6f507baf7da0c1", + "rule-579f538488bfe7930feb708a", + "rule-3a54dad62d0f69fe3b98f20a", + "rule-e1a35a19809f9b348eeea727", + "rule-242c5ecf56b56c177cc7a33c", + "rule-1a896d09ddf6852c6718e560", + "rule-a8d47d081b7f3bb0a5cdfb5b", + "rule-c8c1437307e45fbe8683d7db", + "rule-ff7558f2827fc091487eaa46", + "rule-ff8eec45eae75369834e5911", + "rule-8ad31db41113aae409b6d09e", + "rule-01e6a96b673358ac260adb61" + ] + }, + "absolute_rule_scale": "not_used: original absolute_linf and scalar le/ge/eq predicates already have dimensional limits; no reference amplitude is a missing parameter", + "source_operator_semantics": { + "absolute_linf": "max absolute difference of the original ordered metric values", + "le": "value<=original limit", + "ge": "value>=original limit", + "eq": "value==original limit" + }, + "original_relative_rules": "Existing symmetric/floor evaluator behavior is retained only by source binding, not rewritten as a new reference-scaled formula.", + "original_relative_or_linear_phase_not_direct_N": [], + "measurement_inputs_pending": [ + "Exact original ordered metric vectors and named quality values, lane grid/tolerance/protocol/input identity; original numeric definitions are already specified" + ], + "remaining_numeric_parameters_for_original_target": [], + "new_N_applicability_approved": false, + "eligibility": { + "reference_error_bound": null, + "reference_qualified": false, + "active_comparison": null, + "default_reference_error_share": "1/3", + "stronger_channel_and_1_12_allocations_retained": true, + "numeric_definition_is_not_reference_eligibility": true + } + }, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-lane-119dbf12fc26bf9b" + }, + "scope_specific_prior_gaps": [ + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/lane-119dbf12fc26bf9b/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [], + "current_numeric_status": "original_named_contract_complete" + } + }, + { + "id": "scope-lane-c2f00d60b696be35", + "capability_id": "lane-c2f00d60b696be35", + "route_id": "route-7ae47088bbed9ed7", + "origin_key": "lane:dynamic-defect-ion-transient-timescale-reference-resolved-v5", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "original_refinement_lane" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-reference-resolved-v5", + "value_sha256": "cd16dd19dd106c81d3b31abc9462abdf7a77bf9024b886ad26a65efe95936ab2" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "_observable_delta" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "evaluate_numerical_certificate" + } + ], + "negative_only_descriptor_rule_ids": [], + "source_quantitative_assertion_ids_for_scope_audit": [], + "rule_ids": [ + "M_payload", + "original-lane-c2f00d60b696be35" + ], + "citations": [ + { + "source_id": "original_lane_registry" + }, + { + "source_id": "lane_evaluator", + "symbol": "_observable_delta", + "lines": [ + 1216, + 1237 + ], + "text_sha256": "557a020088ea7e807d4ea24c0b15565c5db7a58094191089a049cb318f78611c" + }, + { + "source_id": "lane_evaluator", + "lines": [ + 352, + 357 + ], + "text_sha256": "8c1783d9e0db3cfb5f3bbd08e5ce429374ca2558c13e374999a4afe1a5383179" + } + ], + "remaining_inputs": [ + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/lane-c2f00d60b696be35/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + } + ], + "downstream_tasks": [ + "P00-03", + "P03-06", + "P04-10", + "P09-01" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "original_numeric_definition": { + "status": "complete_for_original_named_contract_only", + "target": "lane:dynamic-defect-ion-transient-timescale-reference-resolved-v5", + "rule_group_id": "original-lane-c2f00d60b696be35", + "original_rules_sha256": "a1295c656c072e067d702be109a1d0008d3a437599be985e218b9be2089b69ab", + "parameters": "Resolve quantities/units/limits through this unchanged rule group and the original RefactorComparisonMapV1.rule_catalog bindings; no constants are copied or changed.", + "registry_binding": { + "source_id": "original_lane_registry", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-reference-resolved-v5", + "value_sha256": "cd16dd19dd106c81d3b31abc9462abdf7a77bf9024b886ad26a65efe95936ab2" + }, + "operators": { + "absolute_linf": [ + "rule-21e200d42c007d82efff89d8", + "rule-96b4fa2ad2ac0753985cc155", + "rule-10333d632faa7f20b971327d", + "rule-629391242f1474179ad02d2b", + "rule-f07d54c346e52884cf8d211a", + "rule-b877b5e5e3f83893326b41db", + "rule-8d99c55108b627f1c46da9df", + "rule-f5db9aca1125f3c405104908", + "rule-70ba80fec89ca91581db3284", + "rule-be05e915d00ec202d4e01f62", + "rule-76d6ab5bd5f607462d86833f", + "rule-5d32b21c3505bad41d034fa5" + ], + "relative_linf": [], + "pointwise_relative_linf": [], + "le": [ + "rule-72ca6aafcba9316970b768cc", + "rule-5fe377a0ba2e5ddd8ea7e5c7", + "rule-73a0e0a1636bd82c4451b486", + "rule-3c67580b350287598ea8ca0c", + "rule-0bc53fd5a49e05fd0c54f0f6", + "rule-d9c2639990491162e2922062", + "rule-1658d71f362ced253703cbfe", + "rule-951c8181914adac8c7e92dbe", + "rule-9731309a5111b2b17f21acde", + "rule-085717513c5239e0ab6408cb", + "rule-dba2191b0d85fd32f0aa691e", + "rule-73a0e8e44d8bdb08061a76d4", + "rule-d8b9ba44ec3faeb4891d1196", + "rule-b18c4bdc999b53f481342575", + "rule-31751c858fda2a94b9169a08", + "rule-02afc7a2c4498e897df2bcfe", + "rule-7bc4ee050bcb1c9f3d3a865f" + ], + "ge": [ + "rule-80a9a24e70380b3db67a0bde", + "rule-b7325d555edc5dff29f13b2f", + "rule-9edd3cea700a28c53c9517df", + "rule-7d31f72e4e6aa275655d9fb7" + ], + "eq": [ + "rule-e8d6f9716e1a14b1f6a80e21", + "rule-4684c3619a8c5fd1862e52f5", + "rule-d99de288b1e585bb5c73565e", + "rule-7cce205ab17040a0604d696d", + "rule-40382c7f878ac56784f94b91", + "rule-42dd531b236c76bdefcc375b", + "rule-67b246c0fa68c43b39d4fd30", + "rule-b4670c4d9c437329ec9ec514", + "rule-c2d50ae6aa0365c8961db9db", + "rule-05ab9b70dcc5d350a77774f8", + "rule-66f626e49cb8f0b72dc76a7e", + "rule-d2994f200276eeee8cf46295", + "rule-c519324bcb463356150fe50c", + "rule-29efb1f7e7e83008ec9fbb03" + ] + }, + "absolute_rule_scale": "not_used: original absolute_linf and scalar le/ge/eq predicates already have dimensional limits; no reference amplitude is a missing parameter", + "source_operator_semantics": { + "absolute_linf": "max absolute difference of the original ordered metric values", + "le": "value<=original limit", + "ge": "value>=original limit", + "eq": "value==original limit" + }, + "original_relative_rules": "Existing symmetric/floor evaluator behavior is retained only by source binding, not rewritten as a new reference-scaled formula.", + "original_relative_or_linear_phase_not_direct_N": [], + "measurement_inputs_pending": [ + "Exact original ordered metric vectors and named quality values, lane grid/tolerance/protocol/input identity; original numeric definitions are already specified" + ], + "remaining_numeric_parameters_for_original_target": [], + "new_N_applicability_approved": false, + "eligibility": { + "reference_error_bound": null, + "reference_qualified": false, + "active_comparison": null, + "default_reference_error_share": "1/3", + "stronger_channel_and_1_12_allocations_retained": true, + "numeric_definition_is_not_reference_eligibility": true + } + }, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-lane-c2f00d60b696be35" + }, + "scope_specific_prior_gaps": [ + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/lane-c2f00d60b696be35/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [], + "current_numeric_status": "original_named_contract_complete" + } + }, + { + "id": "scope-lane-2e2c396de43bcf73", + "capability_id": "lane-2e2c396de43bcf73", + "route_id": "route-7ae47088bbed9ed7", + "origin_key": "lane:dynamic-defect-ion-transient-timescale-resolved-v2", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "original_refinement_lane" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-resolved-v2", + "value_sha256": "e44b4d2cee32b39c61553a82666f66fb353ffe49b4c7c4ba665e2945b63daa2a" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "_observable_delta" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "evaluate_numerical_certificate" + } + ], + "negative_only_descriptor_rule_ids": [], + "source_quantitative_assertion_ids_for_scope_audit": [], + "rule_ids": [ + "M_payload", + "original-lane-2e2c396de43bcf73" + ], + "citations": [ + { + "source_id": "original_lane_registry" + }, + { + "source_id": "lane_evaluator", + "symbol": "_observable_delta", + "lines": [ + 1216, + 1237 + ], + "text_sha256": "557a020088ea7e807d4ea24c0b15565c5db7a58094191089a049cb318f78611c" + }, + { + "source_id": "lane_evaluator", + "lines": [ + 352, + 357 + ], + "text_sha256": "8c1783d9e0db3cfb5f3bbd08e5ce429374ca2558c13e374999a4afe1a5383179" + } + ], + "remaining_inputs": [ + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/lane-2e2c396de43bcf73/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + } + ], + "downstream_tasks": [ + "P00-03", + "P03-06", + "P04-10", + "P09-01" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "original_numeric_definition": { + "status": "complete_for_original_named_contract_only", + "target": "lane:dynamic-defect-ion-transient-timescale-resolved-v2", + "rule_group_id": "original-lane-2e2c396de43bcf73", + "original_rules_sha256": "a4ca2446413a5526191afbbb2160ecbc2ac267c8d5bbdc6d203fe0b468dd8459", + "parameters": "Resolve quantities/units/limits through this unchanged rule group and the original RefactorComparisonMapV1.rule_catalog bindings; no constants are copied or changed.", + "registry_binding": { + "source_id": "original_lane_registry", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-resolved-v2", + "value_sha256": "e44b4d2cee32b39c61553a82666f66fb353ffe49b4c7c4ba665e2945b63daa2a" + }, + "operators": { + "absolute_linf": [ + "rule-6c25b9b7808b8c1cb73c5285", + "rule-418db1b462ba803dd8b7c050", + "rule-0eb22394df0da4a1975bb088", + "rule-3ad37a8adcbffd2a12af5f64", + "rule-17d0b4c11c524f9a62bcf5aa", + "rule-68728100f6eb51a29c7a57c0", + "rule-c4df18baef95921681c1a643", + "rule-e306d54d7f939791f7c1c35a", + "rule-6f065e82bb80824c88ebeacc", + "rule-fbe7c1846a4d4afff5d2414a", + "rule-4f5360fb1a4cf9951be467b3", + "rule-9a3e64674766ecb8ab97dea3" + ], + "relative_linf": [], + "pointwise_relative_linf": [], + "le": [ + "rule-9691e5c41a3fb9823f694cc7", + "rule-e8a0800f576b64242b140d0a", + "rule-ccaebf5af78058a93a6a6d95", + "rule-d6031156a0a29a5d4bb2599f", + "rule-238577f7a9aca77e244ad7ff", + "rule-2c1673377d877d4191b4d6ad", + "rule-6d1b29f5d754c928dac9c3eb", + "rule-3c11ff28ea2f6489b0c3931d", + "rule-d291897762561e67627faf4b", + "rule-b21d0c5f6b40744efe3c68d5", + "rule-0d126d8eb30cfcf914986127", + "rule-502c1b18a29b167fbf816a76", + "rule-92de4881239db3b823a9657d", + "rule-5eb9166e60df4a5b8104f701", + "rule-351a5112cd51db880e0b98d7", + "rule-8c84b7053234679339f9b97b" + ], + "ge": [ + "rule-e9ee5260a8bb8a65be1ea9c3", + "rule-50fa78a2ecf9e073f7baec44", + "rule-bba2a7d394d3033289184f34", + "rule-5061526ed3167bb2d1b4e271" + ], + "eq": [ + "rule-c7b187ea26bc0e5279789b91", + "rule-0666d36d9d600ea71be5ae20", + "rule-2f14c85545b459983c4ab1e6", + "rule-ac616f0512c08cdaa9177878", + "rule-d06256661de463788b6a833a", + "rule-4686fe44237d2195452731b0", + "rule-a800059dab868c4a8322b4b3", + "rule-57fc5f270fb7ad32e2fb9dce", + "rule-b5e15cd1d83ab655217b93ab", + "rule-8ed1a470abec75786296e511", + "rule-f98f126cd7790f846a4c4670", + "rule-fa6eaa33cbb3971f1ed0fd8c", + "rule-e29d16a0f62dd5d815467c6a" + ] + }, + "absolute_rule_scale": "not_used: original absolute_linf and scalar le/ge/eq predicates already have dimensional limits; no reference amplitude is a missing parameter", + "source_operator_semantics": { + "absolute_linf": "max absolute difference of the original ordered metric values", + "le": "value<=original limit", + "ge": "value>=original limit", + "eq": "value==original limit" + }, + "original_relative_rules": "Existing symmetric/floor evaluator behavior is retained only by source binding, not rewritten as a new reference-scaled formula.", + "original_relative_or_linear_phase_not_direct_N": [], + "measurement_inputs_pending": [ + "Exact original ordered metric vectors and named quality values, lane grid/tolerance/protocol/input identity; original numeric definitions are already specified" + ], + "remaining_numeric_parameters_for_original_target": [], + "new_N_applicability_approved": false, + "eligibility": { + "reference_error_bound": null, + "reference_qualified": false, + "active_comparison": null, + "default_reference_error_share": "1/3", + "stronger_channel_and_1_12_allocations_retained": true, + "numeric_definition_is_not_reference_eligibility": true + } + }, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-lane-2e2c396de43bcf73" + }, + "scope_specific_prior_gaps": [ + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/lane-2e2c396de43bcf73/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [], + "current_numeric_status": "original_named_contract_complete" + } + }, + { + "id": "scope-lane-f63c8cad0bf211ec", + "capability_id": "lane-f63c8cad0bf211ec", + "route_id": "route-7ae47088bbed9ed7", + "origin_key": "lane:dynamic-defect-ion-transient-timescale-v1", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "original_refinement_lane" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-v1", + "value_sha256": "ca5900bfae5032e9c0428334d97a002b56a0932207151ab92240bd8167e2185e" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "_observable_delta" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "evaluate_numerical_certificate" + } + ], + "negative_only_descriptor_rule_ids": [], + "source_quantitative_assertion_ids_for_scope_audit": [], + "rule_ids": [ + "M_payload", + "original-lane-f63c8cad0bf211ec" + ], + "citations": [ + { + "source_id": "original_lane_registry" + }, + { + "source_id": "lane_evaluator", + "symbol": "_observable_delta", + "lines": [ + 1216, + 1237 + ], + "text_sha256": "557a020088ea7e807d4ea24c0b15565c5db7a58094191089a049cb318f78611c" + }, + { + "source_id": "lane_evaluator", + "lines": [ + 352, + 357 + ], + "text_sha256": "8c1783d9e0db3cfb5f3bbd08e5ce429374ca2558c13e374999a4afe1a5383179" + } + ], + "remaining_inputs": [ + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/lane-f63c8cad0bf211ec/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + } + ], + "downstream_tasks": [ + "P00-03", + "P03-06", + "P04-10", + "P09-01" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "original_numeric_definition": { + "status": "complete_for_original_named_contract_only", + "target": "lane:dynamic-defect-ion-transient-timescale-v1", + "rule_group_id": "original-lane-f63c8cad0bf211ec", + "original_rules_sha256": "f9cc0dfd6018390bddb1a48db7f3d00df5c94155abfc6b58bb4e4382bfa6a7ff", + "parameters": "Resolve quantities/units/limits through this unchanged rule group and the original RefactorComparisonMapV1.rule_catalog bindings; no constants are copied or changed.", + "registry_binding": { + "source_id": "original_lane_registry", + "pointer": "/lanes/dynamic-defect-ion-transient-timescale-v1", + "value_sha256": "ca5900bfae5032e9c0428334d97a002b56a0932207151ab92240bd8167e2185e" + }, + "operators": { + "absolute_linf": [ + "rule-1e268c6e1205d9f1c3ff211c", + "rule-cc99233d87208db1b2b2b6b4", + "rule-21c1327b17cba6322c4f7e42", + "rule-2f0e024d6bb2dd4d3e34a63d", + "rule-a7c40978c2fbf16cb90fe5a8", + "rule-20d402d682b5df15cdcdcba7", + "rule-45bb78482bdcbd04500b2832", + "rule-96e8aa181335cd01aab4d2f4", + "rule-34e081fe821bd8c54a8d818a", + "rule-19502639188e0e3a0ff730ed", + "rule-de0002d336a0cb2d74462a72", + "rule-3c9579a663409efc030e5af5" + ], + "relative_linf": [], + "pointwise_relative_linf": [], + "le": [ + "rule-74ae157505942d9c5fea7a98", + "rule-50cdc8021eb7e031ff0b1220", + "rule-8527ef385834aeb918fa7b8d", + "rule-53b296107987ceb37f7be5bf", + "rule-f94c4f89a52f02e3440624ea", + "rule-2c6690a1f7ea3cdbabf6dfbf", + "rule-080ff1912004fb0c1352f607", + "rule-1bd7891ec3049c7a42b1b4e7", + "rule-9572a37362f63f1df8eaae91", + "rule-ca33c6e24682b0bbe6eb8f68", + "rule-22873bd2be63a57552bcfe74", + "rule-8761331ee2f2e03ecb0887fb", + "rule-d44767e5f38a70833a3298cb", + "rule-9ad8e4bd1319b50188fa756e", + "rule-cde753e23d1fdcf9170ae96f", + "rule-568bc61dfe31a4d61e09264e" + ], + "ge": [ + "rule-b7926d707d0eb000ff38b16b", + "rule-801eb4dc81d4077c9d272cf8", + "rule-1d6bf3edd308438989c3e0f7", + "rule-3564d65468184d537ba15fa3" + ], + "eq": [ + "rule-3a93a9c4e435d1cedae918fd", + "rule-ce540c55300635cb306e1020", + "rule-24d709cdf4ce2e4834849d99", + "rule-bceda879e52c625f2b389c4d", + "rule-05f925dbaa9fa4cc479ffcfb", + "rule-0c0fc851c9c2c4fc4e103a5a", + "rule-3f19bb01e41ea3b7b0c55dcb", + "rule-ac846e37171ed824bfdf53d4", + "rule-7a86332e31bc5e489d8620c9", + "rule-0f5ed929830fb8fb076b5047", + "rule-2c833e5dfb3c88f599c4df6e", + "rule-129ab4fd0a1eaa5b74cc3065", + "rule-64c45610fce64f69d1ae5f56" + ] + }, + "absolute_rule_scale": "not_used: original absolute_linf and scalar le/ge/eq predicates already have dimensional limits; no reference amplitude is a missing parameter", + "source_operator_semantics": { + "absolute_linf": "max absolute difference of the original ordered metric values", + "le": "value<=original limit", + "ge": "value>=original limit", + "eq": "value==original limit" + }, + "original_relative_rules": "Existing symmetric/floor evaluator behavior is retained only by source binding, not rewritten as a new reference-scaled formula.", + "original_relative_or_linear_phase_not_direct_N": [], + "measurement_inputs_pending": [ + "Exact original ordered metric vectors and named quality values, lane grid/tolerance/protocol/input identity; original numeric definitions are already specified" + ], + "remaining_numeric_parameters_for_original_target": [], + "new_N_applicability_approved": false, + "eligibility": { + "reference_error_bound": null, + "reference_qualified": false, + "active_comparison": null, + "default_reference_error_share": "1/3", + "stronger_channel_and_1_12_allocations_retained": true, + "numeric_definition_is_not_reference_eligibility": true + } + }, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-lane-f63c8cad0bf211ec" + }, + "scope_specific_prior_gaps": [ + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/lane-f63c8cad0bf211ec/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [], + "current_numeric_status": "original_named_contract_complete" + } + }, + { + "id": "scope-lane-5d1d62edf010a604", + "capability_id": "lane-5d1d62edf010a604", + "route_id": "route-fc717d86c09ab83e", + "origin_key": "lane:electrothermal-terminal-mpp-grid-resolved-v3", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "original_refinement_lane" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/electrothermal-terminal-mpp-grid-resolved-v3", + "value_sha256": "0c04c2728e4d77c4684473aea44e02607d286ed380b3aae7dadc48be44a06eed" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "_observable_delta" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "evaluate_numerical_certificate" + } + ], + "negative_only_descriptor_rule_ids": [], + "source_quantitative_assertion_ids_for_scope_audit": [], + "rule_ids": [ + "M_payload", + "original-lane-5d1d62edf010a604" + ], + "citations": [ + { + "source_id": "original_lane_registry" + }, + { + "source_id": "lane_evaluator", + "symbol": "_observable_delta", + "lines": [ + 1216, + 1237 + ], + "text_sha256": "557a020088ea7e807d4ea24c0b15565c5db7a58094191089a049cb318f78611c" + }, + { + "source_id": "lane_evaluator", + "lines": [ + 352, + 357 + ], + "text_sha256": "8c1783d9e0db3cfb5f3bbd08e5ce429374ca2558c13e374999a4afe1a5383179" + } + ], + "remaining_inputs": [ + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/lane-5d1d62edf010a604/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + } + ], + "downstream_tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "original_numeric_definition": { + "status": "complete_for_original_named_contract_only", + "target": "lane:electrothermal-terminal-mpp-grid-resolved-v3", + "rule_group_id": "original-lane-5d1d62edf010a604", + "original_rules_sha256": "fa149e835a486a55addcec27de00558e56050f7112b33959951ed0147bb1f8b2", + "parameters": "Resolve quantities/units/limits through this unchanged rule group and the original RefactorComparisonMapV1.rule_catalog bindings; no constants are copied or changed.", + "registry_binding": { + "source_id": "original_lane_registry", + "pointer": "/lanes/electrothermal-terminal-mpp-grid-resolved-v3", + "value_sha256": "0c04c2728e4d77c4684473aea44e02607d286ed380b3aae7dadc48be44a06eed" + }, + "operators": { + "absolute_linf": [ + "rule-ec6f415b6800ae843ceaf92a", + "rule-cd4e80f9dbdc0f109938f4d2", + "rule-a0e91ad36018b92cd14d0cf0" + ], + "relative_linf": [ + "rule-384c39f07c3e2975e6e1d8bd", + "rule-ac74dc1a3ba21c63285a8afe", + "rule-41ecaba52deb3fcf4eb32ad2" + ], + "pointwise_relative_linf": [], + "le": [ + "rule-046cdfd36574fb39e58a35d8", + "rule-455788fcd3cba2e9caf16bcd", + "rule-e4490e01ebc265f455488d51", + "rule-a37b284482b9be35dcd4a587" + ], + "ge": [ + "rule-9226a48000d3c560b5147f67", + "rule-ce2310e8e430ce31c8d33723", + "rule-1d46ac780872dd6856cd4f1f" + ], + "eq": [ + "rule-3055f49d627e1779b7aef767", + "rule-4bdc334b420b97330e261adb", + "rule-67016f103c34b82aaaaf91dc", + "rule-ea713d95f001aece0b14158c", + "rule-b465ac175beee2db9fd55efb", + "rule-0d12dc90b2f42a87234ab1ba", + "rule-445554546f9f7dc12de4f5da", + "rule-3b1989563b709bafb6762f56", + "rule-dadba4ce1aa7c2821f4ba187", + "rule-376988f8e0c313e302a7f2d8", + "rule-ee5f1293ace09ade08fa86df", + "rule-4bf913faa3a99351cdb9c4af", + "rule-b5a87e4cc247e28376aa481d" + ] + }, + "absolute_rule_scale": "not_used: original absolute_linf and scalar le/ge/eq predicates already have dimensional limits; no reference amplitude is a missing parameter", + "source_operator_semantics": { + "absolute_linf": "max absolute difference of the original ordered metric values", + "le": "value<=original limit", + "ge": "value>=original limit", + "eq": "value==original limit" + }, + "original_relative_rules": "Existing symmetric/floor evaluator behavior is retained only by source binding, not rewritten as a new reference-scaled formula.", + "original_relative_or_linear_phase_not_direct_N": [ + "rule-384c39f07c3e2975e6e1d8bd", + "rule-ac74dc1a3ba21c63285a8afe", + "rule-41ecaba52deb3fcf4eb32ad2" + ], + "measurement_inputs_pending": [ + "Exact original ordered metric vectors and named quality values, lane grid/tolerance/protocol/input identity; original numeric definitions are already specified" + ], + "remaining_numeric_parameters_for_original_target": [], + "new_N_applicability_approved": false, + "eligibility": { + "reference_error_bound": null, + "reference_qualified": false, + "active_comparison": null, + "default_reference_error_share": "1/3", + "stronger_channel_and_1_12_allocations_retained": true, + "numeric_definition_is_not_reference_eligibility": true + } + }, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-lane-5d1d62edf010a604" + }, + "scope_specific_prior_gaps": [ + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/lane-5d1d62edf010a604/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [ + { + "rule_id": "rule-384c39f07c3e2975e6e1d8bd", + "needed": "Source-justified reference/input scale and zero/circular-phase rule before any N reuse; retain the original named comparator unchanged" + }, + { + "rule_id": "rule-ac74dc1a3ba21c63285a8afe", + "needed": "Source-justified reference/input scale and zero/circular-phase rule before any N reuse; retain the original named comparator unchanged" + }, + { + "rule_id": "rule-41ecaba52deb3fcf4eb32ad2", + "needed": "Source-justified reference/input scale and zero/circular-phase rule before any N reuse; retain the original named comparator unchanged" + } + ], + "current_numeric_status": "original_named_contract_complete" + } + }, + { + "id": "scope-lane-b37e800920a3345f", + "capability_id": "lane-b37e800920a3345f", + "route_id": "route-fc717d86c09ab83e", + "origin_key": "lane:electrothermal-terminal-mpp-resolved-v2", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "original_refinement_lane" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/electrothermal-terminal-mpp-resolved-v2", + "value_sha256": "643205dba11872fedb0fa47f5e4f5608dfa5e7422856e4aafc37f5a9db71dd0f" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "_observable_delta" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "evaluate_numerical_certificate" + } + ], + "negative_only_descriptor_rule_ids": [], + "source_quantitative_assertion_ids_for_scope_audit": [], + "rule_ids": [ + "M_payload", + "original-lane-b37e800920a3345f" + ], + "citations": [ + { + "source_id": "original_lane_registry" + }, + { + "source_id": "lane_evaluator", + "symbol": "_observable_delta", + "lines": [ + 1216, + 1237 + ], + "text_sha256": "557a020088ea7e807d4ea24c0b15565c5db7a58094191089a049cb318f78611c" + }, + { + "source_id": "lane_evaluator", + "lines": [ + 352, + 357 + ], + "text_sha256": "8c1783d9e0db3cfb5f3bbd08e5ce429374ca2558c13e374999a4afe1a5383179" + } + ], + "remaining_inputs": [ + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/lane-b37e800920a3345f/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + } + ], + "downstream_tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "original_numeric_definition": { + "status": "complete_for_original_named_contract_only", + "target": "lane:electrothermal-terminal-mpp-resolved-v2", + "rule_group_id": "original-lane-b37e800920a3345f", + "original_rules_sha256": "ee8d755ba67d4a5bb1d00c6773207f41edf666c72f96990db80ab21974e86a98", + "parameters": "Resolve quantities/units/limits through this unchanged rule group and the original RefactorComparisonMapV1.rule_catalog bindings; no constants are copied or changed.", + "registry_binding": { + "source_id": "original_lane_registry", + "pointer": "/lanes/electrothermal-terminal-mpp-resolved-v2", + "value_sha256": "643205dba11872fedb0fa47f5e4f5608dfa5e7422856e4aafc37f5a9db71dd0f" + }, + "operators": { + "absolute_linf": [ + "rule-4f06a3ff92715461a0787caa", + "rule-c460247d448734871ab0ab19", + "rule-3036da1e5ced4e7486b9307a" + ], + "relative_linf": [ + "rule-7fec7536755c57a668dff5c5", + "rule-9aa25a0d7601ee6784bf7444", + "rule-32c0e5f2f4a92b96e9c46d72" + ], + "pointwise_relative_linf": [], + "le": [ + "rule-f26950e1fff3ecd6be590b1b", + "rule-82b1ae1ca172d09e0d8ab80b", + "rule-a9934185bf9165cb8c08f666", + "rule-632c8d9018ee0c33a2a8d5ff" + ], + "ge": [ + "rule-811742a3d6d43a6883171b6c", + "rule-eecab93a83de492d7b92703b", + "rule-60307c42eb7c2decb307c862" + ], + "eq": [ + "rule-160fdc8e8c8c477e6b18e3d1", + "rule-e75515706fee805abd3bc21a", + "rule-973515e442cd83f4593919e3", + "rule-4071af8612566d712ed871ad", + "rule-701057132038fceb22e4a5b1", + "rule-fe3594e6344e7c4f0bcab8ec", + "rule-dbb7e3b6c93fcb024a96665e", + "rule-36f98069f5e418d4be3e7b28", + "rule-4ef804495f636010f720ddd0", + "rule-3f9da1c4245f29fd36bcaae5", + "rule-955b43476c2f316f81ea9136", + "rule-456b632f82f05ed1332e8977", + "rule-43424e1dee9e5e1a270de2b4" + ] + }, + "absolute_rule_scale": "not_used: original absolute_linf and scalar le/ge/eq predicates already have dimensional limits; no reference amplitude is a missing parameter", + "source_operator_semantics": { + "absolute_linf": "max absolute difference of the original ordered metric values", + "le": "value<=original limit", + "ge": "value>=original limit", + "eq": "value==original limit" + }, + "original_relative_rules": "Existing symmetric/floor evaluator behavior is retained only by source binding, not rewritten as a new reference-scaled formula.", + "original_relative_or_linear_phase_not_direct_N": [ + "rule-7fec7536755c57a668dff5c5", + "rule-9aa25a0d7601ee6784bf7444", + "rule-32c0e5f2f4a92b96e9c46d72" + ], + "measurement_inputs_pending": [ + "Exact original ordered metric vectors and named quality values, lane grid/tolerance/protocol/input identity; original numeric definitions are already specified" + ], + "remaining_numeric_parameters_for_original_target": [], + "new_N_applicability_approved": false, + "eligibility": { + "reference_error_bound": null, + "reference_qualified": false, + "active_comparison": null, + "default_reference_error_share": "1/3", + "stronger_channel_and_1_12_allocations_retained": true, + "numeric_definition_is_not_reference_eligibility": true + } + }, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-lane-b37e800920a3345f" + }, + "scope_specific_prior_gaps": [ + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/lane-b37e800920a3345f/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [ + { + "rule_id": "rule-7fec7536755c57a668dff5c5", + "needed": "Source-justified reference/input scale and zero/circular-phase rule before any N reuse; retain the original named comparator unchanged" + }, + { + "rule_id": "rule-9aa25a0d7601ee6784bf7444", + "needed": "Source-justified reference/input scale and zero/circular-phase rule before any N reuse; retain the original named comparator unchanged" + }, + { + "rule_id": "rule-32c0e5f2f4a92b96e9c46d72", + "needed": "Source-justified reference/input scale and zero/circular-phase rule before any N reuse; retain the original named comparator unchanged" + } + ], + "current_numeric_status": "original_named_contract_complete" + } + }, + { + "id": "scope-lane-b89615cfbbfe0045", + "capability_id": "lane-b89615cfbbfe0045", + "route_id": "route-fc717d86c09ab83e", + "origin_key": "lane:electrothermal-terminal-mpp-v1", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "original_refinement_lane" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/electrothermal-terminal-mpp-v1", + "value_sha256": "bfc102fdee0cda1bbdc97db18d3e68448484e3bdefca40c979e494a985772159" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "_observable_delta" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "evaluate_numerical_certificate" + } + ], + "negative_only_descriptor_rule_ids": [], + "source_quantitative_assertion_ids_for_scope_audit": [], + "rule_ids": [ + "M_payload", + "original-lane-b89615cfbbfe0045" + ], + "citations": [ + { + "source_id": "original_lane_registry" + }, + { + "source_id": "lane_evaluator", + "symbol": "_observable_delta", + "lines": [ + 1216, + 1237 + ], + "text_sha256": "557a020088ea7e807d4ea24c0b15565c5db7a58094191089a049cb318f78611c" + }, + { + "source_id": "lane_evaluator", + "lines": [ + 352, + 357 + ], + "text_sha256": "8c1783d9e0db3cfb5f3bbd08e5ce429374ca2558c13e374999a4afe1a5383179" + } + ], + "remaining_inputs": [ + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/lane-b89615cfbbfe0045/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + } + ], + "downstream_tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "original_numeric_definition": { + "status": "complete_for_original_named_contract_only", + "target": "lane:electrothermal-terminal-mpp-v1", + "rule_group_id": "original-lane-b89615cfbbfe0045", + "original_rules_sha256": "af500d35d0ac0c07e5a325f805a35f723a5ffa190a8974cb9ef33af0af332a16", + "parameters": "Resolve quantities/units/limits through this unchanged rule group and the original RefactorComparisonMapV1.rule_catalog bindings; no constants are copied or changed.", + "registry_binding": { + "source_id": "original_lane_registry", + "pointer": "/lanes/electrothermal-terminal-mpp-v1", + "value_sha256": "bfc102fdee0cda1bbdc97db18d3e68448484e3bdefca40c979e494a985772159" + }, + "operators": { + "absolute_linf": [ + "rule-17f100c13c2dfadb245fa178", + "rule-35872430c03f1e7d06ed05cc", + "rule-41036fc47617c52aa44ba7a3" + ], + "relative_linf": [ + "rule-abd1bbcfc7bf310b4b123760", + "rule-68d962df70b39b223321c655", + "rule-4fcc0104b85adbd577e930e2" + ], + "pointwise_relative_linf": [], + "le": [ + "rule-55b401b58d5da7fc1ba0fb08", + "rule-f0c95e39a1baba6cfac5cda4", + "rule-89322f046765f7eeefc1322a", + "rule-1fa9f03553be136918c82319" + ], + "ge": [ + "rule-e34a5f944e4cec71d628b6f4", + "rule-47ad8f8caeb7218528d7b3fd", + "rule-bfa48211ee48b94870ee60ab" + ], + "eq": [ + "rule-889f92abaad51ebbdf892c67", + "rule-97d7c91f466029237635e04f", + "rule-169d84a0ee06aecf4efe8e32", + "rule-59dc59e438d82b654a4a6d2f", + "rule-287205fabcedd3ef6bfe7827", + "rule-e79b75c6ca6252e10226f69d", + "rule-a5daa98dd75150808be55c37", + "rule-9d5e89bf38dc139eed000d2f", + "rule-2d5a7b34c831e2ab48ddbdc0", + "rule-87f089481c4f9ed60158e07b", + "rule-58d9df4e100abc4c5a65057d", + "rule-99b4ce8752d0bf184b462ec2", + "rule-4a6504ff53f27cef4f3d2732" + ] + }, + "absolute_rule_scale": "not_used: original absolute_linf and scalar le/ge/eq predicates already have dimensional limits; no reference amplitude is a missing parameter", + "source_operator_semantics": { + "absolute_linf": "max absolute difference of the original ordered metric values", + "le": "value<=original limit", + "ge": "value>=original limit", + "eq": "value==original limit" + }, + "original_relative_rules": "Existing symmetric/floor evaluator behavior is retained only by source binding, not rewritten as a new reference-scaled formula.", + "original_relative_or_linear_phase_not_direct_N": [ + "rule-abd1bbcfc7bf310b4b123760", + "rule-68d962df70b39b223321c655", + "rule-4fcc0104b85adbd577e930e2" + ], + "measurement_inputs_pending": [ + "Exact original ordered metric vectors and named quality values, lane grid/tolerance/protocol/input identity; original numeric definitions are already specified" + ], + "remaining_numeric_parameters_for_original_target": [], + "new_N_applicability_approved": false, + "eligibility": { + "reference_error_bound": null, + "reference_qualified": false, + "active_comparison": null, + "default_reference_error_share": "1/3", + "stronger_channel_and_1_12_allocations_retained": true, + "numeric_definition_is_not_reference_eligibility": true + } + }, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-lane-b89615cfbbfe0045" + }, + "scope_specific_prior_gaps": [ + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/lane-b89615cfbbfe0045/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [ + { + "rule_id": "rule-abd1bbcfc7bf310b4b123760", + "needed": "Source-justified reference/input scale and zero/circular-phase rule before any N reuse; retain the original named comparator unchanged" + }, + { + "rule_id": "rule-68d962df70b39b223321c655", + "needed": "Source-justified reference/input scale and zero/circular-phase rule before any N reuse; retain the original named comparator unchanged" + }, + { + "rule_id": "rule-4fcc0104b85adbd577e930e2", + "needed": "Source-justified reference/input scale and zero/circular-phase rule before any N reuse; retain the original named comparator unchanged" + } + ], + "current_numeric_status": "original_named_contract_complete" + } + }, + { + "id": "scope-lane-8ecc1df7d72fa132", + "capability_id": "lane-8ecc1df7d72fa132", + "route_id": "route-fc717d86c09ab83e", + "origin_key": "lane:external-series-shunt-dc-operating-quadrant-v2", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "original_refinement_lane" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/external-series-shunt-dc-operating-quadrant-v2", + "value_sha256": "95e0c7346c48ef60b1fe99f55e66461cf305832a47dcfbe2cdb7050e04be31c3" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "_observable_delta" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "evaluate_numerical_certificate" + } + ], + "negative_only_descriptor_rule_ids": [], + "source_quantitative_assertion_ids_for_scope_audit": [], + "rule_ids": [ + "M_payload", + "original-lane-8ecc1df7d72fa132" + ], + "citations": [ + { + "source_id": "original_lane_registry" + }, + { + "source_id": "lane_evaluator", + "symbol": "_observable_delta", + "lines": [ + 1216, + 1237 + ], + "text_sha256": "557a020088ea7e807d4ea24c0b15565c5db7a58094191089a049cb318f78611c" + }, + { + "source_id": "lane_evaluator", + "lines": [ + 352, + 357 + ], + "text_sha256": "8c1783d9e0db3cfb5f3bbd08e5ce429374ca2558c13e374999a4afe1a5383179" + }, + { + "source_id": "original_external_circuit", + "lines": [ + 155, + 160 + ], + "text_sha256": "1d286a9f6452ebff33e272383dd282355238bf4c6281a365d51e61d90ac66b31" + }, + { + "source_id": "original_external_circuit", + "lines": [ + 88, + 91 + ], + "text_sha256": "e62314d36e63845acbc14c458d93b91dd1ae2398b3ba40cc39932fa1100fe059" + } + ], + "remaining_inputs": [ + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/lane-8ecc1df7d72fa132/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + } + ], + "downstream_tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "original_numeric_definition": { + "status": "complete_for_original_named_contract_only", + "target": "lane:external-series-shunt-dc-operating-quadrant-v2", + "rule_group_id": "original-lane-8ecc1df7d72fa132", + "original_rules_sha256": "2e3ef0486614e3be55e8e90a1f3d69587c9e011c97ad62d6946c51edfd2f0050", + "parameters": "Resolve quantities/units/limits through this unchanged rule group and the original RefactorComparisonMapV1.rule_catalog bindings; no constants are copied or changed.", + "registry_binding": { + "source_id": "original_lane_registry", + "pointer": "/lanes/external-series-shunt-dc-operating-quadrant-v2", + "value_sha256": "95e0c7346c48ef60b1fe99f55e66461cf305832a47dcfbe2cdb7050e04be31c3" + }, + "operators": { + "absolute_linf": [ + "rule-c6a501e0ca98cf709fa8cfad", + "rule-ae9a134b5b8971fb32aec626", + "rule-5ae7f023807924ca2ea18303" + ], + "relative_linf": [ + "rule-4d5651fa5504122cfc3eb710", + "rule-c25420c27b68217d3e75ee94" + ], + "pointwise_relative_linf": [], + "le": [ + "rule-b37b859968e840ccca1a83c6" + ], + "ge": [ + "rule-937e5655d12a85e9962a1bc2", + "rule-2d619d5419521d113bdcb59e", + "rule-27e6c576c9c34ea7d3bd1c67" + ], + "eq": [ + "rule-693f644e1c851138700d02fe", + "rule-b080f6e1128b27998790ff39", + "rule-f0bb28540997e657de72ee87", + "rule-a0c920b5a6acc572657b689b", + "rule-055f2547869884709556fb13", + "rule-77fb0ffe91e8b847ed918a3b", + "rule-4c7ee869685c91877ce7cbe4", + "rule-fef2693db3c0bf6498206452", + "rule-4d9a37e0be1b9ee861aa0fc2", + "rule-48b068eb7e343977bee69633", + "rule-c3953e6e0cc345fa9ca0aa60", + "rule-84c56e7423b640325f152ff2" + ] + }, + "absolute_rule_scale": "not_used: original absolute_linf and scalar le/ge/eq predicates already have dimensional limits; no reference amplitude is a missing parameter", + "source_operator_semantics": { + "absolute_linf": "max absolute difference of the original ordered metric values", + "le": "value<=original limit", + "ge": "value>=original limit", + "eq": "value==original limit" + }, + "original_relative_rules": "Existing symmetric/floor evaluator behavior is retained only by source binding, not rewritten as a new reference-scaled formula.", + "original_relative_or_linear_phase_not_direct_N": [ + "rule-4d5651fa5504122cfc3eb710", + "rule-c25420c27b68217d3e75ee94" + ], + "measurement_inputs_pending": [ + "Exact original ordered metric vectors and named quality values, lane grid/tolerance/protocol/input identity; original numeric definitions are already specified" + ], + "remaining_numeric_parameters_for_original_target": [], + "new_N_applicability_approved": false, + "eligibility": { + "reference_error_bound": null, + "reference_qualified": false, + "active_comparison": null, + "default_reference_error_share": "1/3", + "stronger_channel_and_1_12_allocations_retained": true, + "numeric_definition_is_not_reference_eligibility": true + } + }, + "scale_closures": [ + { + "id": "external_circuit_fixed_input_current_scale", + "family_rule_id": "current_packet", + "status": "source_scale_complete_original_contract_only", + "scale_A_m2": 250.0, + "scale_binding": { + "source_id": "original_lane_registry", + "pointer": "/lanes/external-series-shunt-dc-operating-quadrant-v2/options/current_normalization_A_m2", + "value_sha256": "3df1dc9cdcd0f04ab1b117b6d0a2541083972aed2d05c8b75577bf4a1ce55972" + }, + "definition": "Original normalized terminal_current_A_m2 uses this fixed input250 A m-2 scale; threshold/operator remains in the unchanged original rule group.", + "remaining_numeric_parameters": [], + "measurement_inputs_pending": [ + "Original normalized terminal-current records and exact circuit protocol" + ], + "citations": [ + { + "source_id": "original_external_circuit", + "lines": [ + 155, + 160 + ], + "text_sha256": "1d286a9f6452ebff33e272383dd282355238bf4c6281a365d51e61d90ac66b31" + }, + { + "source_id": "original_external_circuit", + "lines": [ + 88, + 91 + ], + "text_sha256": "e62314d36e63845acbc14c458d93b91dd1ae2398b3ba40cc39932fa1100fe059" + } + ], + "eligibility": { + "reference_error_bound": null, + "reference_qualified": false, + "active_comparison": null, + "default_reference_error_share": "1/3", + "stronger_channel_and_1_12_allocations_retained": true, + "numeric_definition_is_not_reference_eligibility": true + } + } + ], + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-lane-8ecc1df7d72fa132" + }, + "scope_specific_prior_gaps": [ + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/lane-8ecc1df7d72fa132/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [ + { + "id": "external_circuit_fixed_input_current_scale", + "status": "source_scale_complete_original_contract_only", + "remaining_numeric_parameters": [], + "measurement_inputs_pending": [ + "Original normalized terminal-current records and exact circuit protocol" + ] + } + ], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [ + { + "rule_id": "rule-4d5651fa5504122cfc3eb710", + "needed": "Source-justified reference/input scale and zero/circular-phase rule before any N reuse; retain the original named comparator unchanged" + }, + { + "rule_id": "rule-c25420c27b68217d3e75ee94", + "needed": "Source-justified reference/input scale and zero/circular-phase rule before any N reuse; retain the original named comparator unchanged" + } + ], + "current_numeric_status": "original_named_contract_complete" + } + }, + { + "id": "scope-lane-c8c8e3698ef7d8d7", + "capability_id": "lane-c8c8e3698ef7d8d7", + "route_id": "route-fc717d86c09ab83e", + "origin_key": "lane:external-series-shunt-dc-v1", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "original_refinement_lane" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/external-series-shunt-dc-v1", + "value_sha256": "0b78c418e3929b0c1604529ed6bbb14e06f2902d9b9af7be7425343bf15674e3" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "_observable_delta" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "evaluate_numerical_certificate" + } + ], + "negative_only_descriptor_rule_ids": [], + "source_quantitative_assertion_ids_for_scope_audit": [], + "rule_ids": [ + "M_payload", + "original-lane-c8c8e3698ef7d8d7" + ], + "citations": [ + { + "source_id": "original_lane_registry" + }, + { + "source_id": "lane_evaluator", + "symbol": "_observable_delta", + "lines": [ + 1216, + 1237 + ], + "text_sha256": "557a020088ea7e807d4ea24c0b15565c5db7a58094191089a049cb318f78611c" + }, + { + "source_id": "lane_evaluator", + "lines": [ + 352, + 357 + ], + "text_sha256": "8c1783d9e0db3cfb5f3bbd08e5ce429374ca2558c13e374999a4afe1a5383179" + }, + { + "source_id": "original_external_circuit", + "lines": [ + 155, + 160 + ], + "text_sha256": "1d286a9f6452ebff33e272383dd282355238bf4c6281a365d51e61d90ac66b31" + }, + { + "source_id": "original_external_circuit", + "lines": [ + 88, + 91 + ], + "text_sha256": "e62314d36e63845acbc14c458d93b91dd1ae2398b3ba40cc39932fa1100fe059" + } + ], + "remaining_inputs": [ + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/lane-c8c8e3698ef7d8d7/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + } + ], + "downstream_tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "original_numeric_definition": { + "status": "complete_for_original_named_contract_only", + "target": "lane:external-series-shunt-dc-v1", + "rule_group_id": "original-lane-c8c8e3698ef7d8d7", + "original_rules_sha256": "e19072cf2b01a5669af021565e11cc075df69bfdfd506ebe5355a6cbc8331cc1", + "parameters": "Resolve quantities/units/limits through this unchanged rule group and the original RefactorComparisonMapV1.rule_catalog bindings; no constants are copied or changed.", + "registry_binding": { + "source_id": "original_lane_registry", + "pointer": "/lanes/external-series-shunt-dc-v1", + "value_sha256": "0b78c418e3929b0c1604529ed6bbb14e06f2902d9b9af7be7425343bf15674e3" + }, + "operators": { + "absolute_linf": [ + "rule-ecf9c8996b223f42bb1c52ce", + "rule-0cc25a2513edc2a0b6e6d3ac", + "rule-0e0113905ff3f97875b0c078", + "rule-9c402f0619c972aab8877f9b", + "rule-fe5d94d7ef1300f61832dca8" + ], + "relative_linf": [ + "rule-9730f58cd4dbcc9e7904d816", + "rule-707eb815337a7d693c3ade1d" + ], + "pointwise_relative_linf": [], + "le": [ + "rule-e1ab452ad2fd6b69efa5cb21" + ], + "ge": [ + "rule-4734e6aae16c3920b26c27a6", + "rule-452b51d42f69de3d88ccb5e3", + "rule-04e49701c40bcbd34a41b613" + ], + "eq": [ + "rule-3aaa9541b94f4d246f6117c0", + "rule-dcdc76767d440a3455cd0d34", + "rule-7b8c9e1baa93832fb122f1bb", + "rule-f6c2b808f376292a2e927fa9", + "rule-69fb7a808bb5309d3b60adb5", + "rule-78ff2cbdbdb6ae9996966aa8", + "rule-a517a356dd017694965e1ca1", + "rule-04f72b8d573939e9b4dd85d1", + "rule-48692c91bbf2d3712caa9754", + "rule-f0cef4f61ed4baf8d8243b66" + ] + }, + "absolute_rule_scale": "not_used: original absolute_linf and scalar le/ge/eq predicates already have dimensional limits; no reference amplitude is a missing parameter", + "source_operator_semantics": { + "absolute_linf": "max absolute difference of the original ordered metric values", + "le": "value<=original limit", + "ge": "value>=original limit", + "eq": "value==original limit" + }, + "original_relative_rules": "Existing symmetric/floor evaluator behavior is retained only by source binding, not rewritten as a new reference-scaled formula.", + "original_relative_or_linear_phase_not_direct_N": [ + "rule-9730f58cd4dbcc9e7904d816", + "rule-707eb815337a7d693c3ade1d" + ], + "measurement_inputs_pending": [ + "Exact original ordered metric vectors and named quality values, lane grid/tolerance/protocol/input identity; original numeric definitions are already specified" + ], + "remaining_numeric_parameters_for_original_target": [], + "new_N_applicability_approved": false, + "eligibility": { + "reference_error_bound": null, + "reference_qualified": false, + "active_comparison": null, + "default_reference_error_share": "1/3", + "stronger_channel_and_1_12_allocations_retained": true, + "numeric_definition_is_not_reference_eligibility": true + } + }, + "scale_closures": [ + { + "id": "external_circuit_fixed_input_current_scale", + "family_rule_id": "current_packet", + "status": "source_scale_complete_original_contract_only", + "scale_A_m2": 250.0, + "scale_binding": { + "source_id": "original_lane_registry", + "pointer": "/lanes/external-series-shunt-dc-v1/options/current_normalization_A_m2", + "value_sha256": "3df1dc9cdcd0f04ab1b117b6d0a2541083972aed2d05c8b75577bf4a1ce55972" + }, + "definition": "Original normalized terminal_current_A_m2 uses this fixed input250 A m-2 scale; threshold/operator remains in the unchanged original rule group.", + "remaining_numeric_parameters": [], + "measurement_inputs_pending": [ + "Original normalized terminal-current records and exact circuit protocol" + ], + "citations": [ + { + "source_id": "original_external_circuit", + "lines": [ + 155, + 160 + ], + "text_sha256": "1d286a9f6452ebff33e272383dd282355238bf4c6281a365d51e61d90ac66b31" + }, + { + "source_id": "original_external_circuit", + "lines": [ + 88, + 91 + ], + "text_sha256": "e62314d36e63845acbc14c458d93b91dd1ae2398b3ba40cc39932fa1100fe059" + } + ], + "eligibility": { + "reference_error_bound": null, + "reference_qualified": false, + "active_comparison": null, + "default_reference_error_share": "1/3", + "stronger_channel_and_1_12_allocations_retained": true, + "numeric_definition_is_not_reference_eligibility": true + } + } + ], + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-lane-c8c8e3698ef7d8d7" + }, + "scope_specific_prior_gaps": [ + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/lane-c8c8e3698ef7d8d7/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [ + { + "id": "external_circuit_fixed_input_current_scale", + "status": "source_scale_complete_original_contract_only", + "remaining_numeric_parameters": [], + "measurement_inputs_pending": [ + "Original normalized terminal-current records and exact circuit protocol" + ] + } + ], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [ + { + "rule_id": "rule-9730f58cd4dbcc9e7904d816", + "needed": "Source-justified reference/input scale and zero/circular-phase rule before any N reuse; retain the original named comparator unchanged" + }, + { + "rule_id": "rule-707eb815337a7d693c3ade1d", + "needed": "Source-justified reference/input scale and zero/circular-phase rule before any N reuse; retain the original named comparator unchanged" + } + ], + "current_numeric_status": "original_named_contract_complete" + } + }, + { + "id": "scope-lane-db3616410333cfd2", + "capability_id": "lane-db3616410333cfd2", + "route_id": "route-fc717d86c09ab83e", + "origin_key": "lane:foundation-physical-homojunction-resolved-v2", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "original_refinement_lane" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/foundation-physical-homojunction-resolved-v2", + "value_sha256": "023298b51ab3b5e5a444588a440420e301122d4bdfda78dd09ba1be0ec3b1d95" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "_observable_delta" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "evaluate_numerical_certificate" + } + ], + "negative_only_descriptor_rule_ids": [], + "source_quantitative_assertion_ids_for_scope_audit": [], + "rule_ids": [ + "M_payload", + "original-lane-db3616410333cfd2" + ], + "citations": [ + { + "source_id": "original_lane_registry" + }, + { + "source_id": "lane_evaluator", + "symbol": "_observable_delta", + "lines": [ + 1216, + 1237 + ], + "text_sha256": "557a020088ea7e807d4ea24c0b15565c5db7a58094191089a049cb318f78611c" + }, + { + "source_id": "lane_evaluator", + "lines": [ + 352, + 357 + ], + "text_sha256": "8c1783d9e0db3cfb5f3bbd08e5ce429374ca2558c13e374999a4afe1a5383179" + } + ], + "remaining_inputs": [ + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/lane-db3616410333cfd2/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + } + ], + "downstream_tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "original_numeric_definition": { + "status": "complete_for_original_named_contract_only", + "target": "lane:foundation-physical-homojunction-resolved-v2", + "rule_group_id": "original-lane-db3616410333cfd2", + "original_rules_sha256": "7b74c8d02058ff5969b0c7a88f0539ec73df002d0413bf201030422aaebd7398", + "parameters": "Resolve quantities/units/limits through this unchanged rule group and the original RefactorComparisonMapV1.rule_catalog bindings; no constants are copied or changed.", + "registry_binding": { + "source_id": "original_lane_registry", + "pointer": "/lanes/foundation-physical-homojunction-resolved-v2", + "value_sha256": "023298b51ab3b5e5a444588a440420e301122d4bdfda78dd09ba1be0ec3b1d95" + }, + "operators": { + "absolute_linf": [ + "rule-b237ab93ef594c523990b1a9", + "rule-5ec2c0c257f1759daa9c8c1b", + "rule-3ce4a6bc8c86e05354f678e1", + "rule-5dcdd52f385c2acc05ff5421", + "rule-065a13580498ee35881d895d", + "rule-22bb3a549555d26c7c1a5d51", + "rule-0704af34cd57abe656b6ac70", + "rule-2176b863964509f7fad1c178", + "rule-39fa5599a76eff93d1509177", + "rule-462a0b7a47aa697807f536cf", + "rule-f0c8506ba46d99338fa3b0bb", + "rule-b1d8ab7c611e7e44cf82aeb7", + "rule-95b606eabf058556d7c6a7f4", + "rule-339426cb03e291c69c5c59e9", + "rule-29c41c1e0c5e976378c54f1b", + "rule-7cbc3aad14b20cac2c522cfc", + "rule-ed21aeb1cb6e18cbac743e1a", + "rule-34a78599f06ebfe9b9f2bd3f", + "rule-54380f8e8a7496a2baa990f2", + "rule-e3258661fd0d597746b1212b", + "rule-8c6a2250fc520a76640ee17c", + "rule-ef4c456bf611bdb7cd8bda36", + "rule-c59636af5a09844d9d41fc02", + "rule-54f571467643d7cff786e011", + "rule-7d1acfab131dc13d9b09fe30", + "rule-3567561cc7dbd09ffe57e58f", + "rule-d28f9408cac1640d7799461f", + "rule-2b9f430bd54bcf60b476a0d3" + ], + "relative_linf": [ + "rule-5c1f6af5446c2d1b0571cf42", + "rule-c62b38ed988357199b8e3355", + "rule-62ca2a09770f42e7938c600f" + ], + "pointwise_relative_linf": [], + "le": [ + "rule-5d94458eaa4aa46deb3f1f9b", + "rule-5287e9dc813b6f16c264bb25", + "rule-46cb2d34f3110dfd6410f935", + "rule-a677bf072a588e714b7b37f8", + "rule-e1fd27d1bc0b5a366dee1d64", + "rule-086341bb7b9978fa46b87db3", + "rule-02c8755e6fce67e26b7ddfb0", + "rule-11b747e74b9a6fcfa05515db", + "rule-5d73f05cb0469493ba890ff6", + "rule-6b54202ea5782a70bba4c44d", + "rule-a8e156be9f16c642699de4cd", + "rule-4347da77461f9e6ec35a3281", + "rule-d92eb73f5fe3ea407badc578", + "rule-6ba1ab7608a40c450c127a9a", + "rule-4f27a0e8b5f5d69b5b827e5e", + "rule-5afc8154ebb5b51eacdeb919" + ], + "ge": [], + "eq": [ + "rule-e15bf6440b405f4f416a3cf8", + "rule-9bb0f62b8483c4669379c89c", + "rule-e70d38bae00cf4dc4707fe46" + ] + }, + "absolute_rule_scale": "not_used: original absolute_linf and scalar le/ge/eq predicates already have dimensional limits; no reference amplitude is a missing parameter", + "source_operator_semantics": { + "absolute_linf": "max absolute difference of the original ordered metric values", + "le": "value<=original limit", + "ge": "value>=original limit", + "eq": "value==original limit" + }, + "original_relative_rules": "Existing symmetric/floor evaluator behavior is retained only by source binding, not rewritten as a new reference-scaled formula.", + "original_relative_or_linear_phase_not_direct_N": [ + "rule-5c1f6af5446c2d1b0571cf42", + "rule-c62b38ed988357199b8e3355", + "rule-62ca2a09770f42e7938c600f" + ], + "measurement_inputs_pending": [ + "Exact original ordered metric vectors and named quality values, lane grid/tolerance/protocol/input identity; original numeric definitions are already specified" + ], + "remaining_numeric_parameters_for_original_target": [], + "new_N_applicability_approved": false, + "eligibility": { + "reference_error_bound": null, + "reference_qualified": false, + "active_comparison": null, + "default_reference_error_share": "1/3", + "stronger_channel_and_1_12_allocations_retained": true, + "numeric_definition_is_not_reference_eligibility": true + } + }, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-lane-db3616410333cfd2" + }, + "scope_specific_prior_gaps": [ + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/lane-db3616410333cfd2/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [ + { + "rule_id": "rule-5c1f6af5446c2d1b0571cf42", + "needed": "Source-justified reference/input scale and zero/circular-phase rule before any N reuse; retain the original named comparator unchanged" + }, + { + "rule_id": "rule-c62b38ed988357199b8e3355", + "needed": "Source-justified reference/input scale and zero/circular-phase rule before any N reuse; retain the original named comparator unchanged" + }, + { + "rule_id": "rule-62ca2a09770f42e7938c600f", + "needed": "Source-justified reference/input scale and zero/circular-phase rule before any N reuse; retain the original named comparator unchanged" + } + ], + "current_numeric_status": "original_named_contract_complete" + } + }, + { + "id": "scope-lane-1bbf89ccef7a7815", + "capability_id": "lane-1bbf89ccef7a7815", + "route_id": "route-fc717d86c09ab83e", + "origin_key": "lane:foundation-physical-homojunction-steady-v1", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "original_refinement_lane" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/foundation-physical-homojunction-steady-v1", + "value_sha256": "aeb645561f6205daae3223442b46ff0fd0ecb2e5be1ae24c9dcb99882c848672" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "_observable_delta" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "evaluate_numerical_certificate" + } + ], + "negative_only_descriptor_rule_ids": [], + "source_quantitative_assertion_ids_for_scope_audit": [], + "rule_ids": [ + "M_payload", + "original-lane-1bbf89ccef7a7815" + ], + "citations": [ + { + "source_id": "original_lane_registry" + }, + { + "source_id": "lane_evaluator", + "symbol": "_observable_delta", + "lines": [ + 1216, + 1237 + ], + "text_sha256": "557a020088ea7e807d4ea24c0b15565c5db7a58094191089a049cb318f78611c" + }, + { + "source_id": "lane_evaluator", + "lines": [ + 352, + 357 + ], + "text_sha256": "8c1783d9e0db3cfb5f3bbd08e5ce429374ca2558c13e374999a4afe1a5383179" + } + ], + "remaining_inputs": [ + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/lane-1bbf89ccef7a7815/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + } + ], + "downstream_tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "original_numeric_definition": { + "status": "complete_for_original_named_contract_only", + "target": "lane:foundation-physical-homojunction-steady-v1", + "rule_group_id": "original-lane-1bbf89ccef7a7815", + "original_rules_sha256": "304e9f67596faeed454be105712fbbbaaeda4c9adb5c78cc945272b99047f682", + "parameters": "Resolve quantities/units/limits through this unchanged rule group and the original RefactorComparisonMapV1.rule_catalog bindings; no constants are copied or changed.", + "registry_binding": { + "source_id": "original_lane_registry", + "pointer": "/lanes/foundation-physical-homojunction-steady-v1", + "value_sha256": "aeb645561f6205daae3223442b46ff0fd0ecb2e5be1ae24c9dcb99882c848672" + }, + "operators": { + "absolute_linf": [ + "rule-b380981d738dd79405c6c319", + "rule-4cbc3bcf5b379cbd0a588856", + "rule-1e2b48965ec3d624e02ff24b", + "rule-d3003ff96a8038d4f0bf7991", + "rule-04e865afce5f195b826132a6", + "rule-bb54a91a50dd294f20180db4", + "rule-a38da32261dda170c629d58b", + "rule-12c4f8b572d417a1b3fc835e", + "rule-12977b916fe073e4f4a17761", + "rule-3990a6f874510e8849affa03", + "rule-f04918aa84982042646a1be2", + "rule-128414ebcf1c6576e60161d7", + "rule-4762cd17ddf65884a784f385", + "rule-832e3ffa5bdcf5d9bdbd7e30", + "rule-498360bd8f0f0def82994f14", + "rule-96325eae22cac7ab5a00e883", + "rule-8b0b7ef6b4fd8519d38a762c", + "rule-f3aa9036a79edec3395b5251", + "rule-3c06603beb17986af49f3a4f", + "rule-9ec2c5bd0f5f74d365be8a1b", + "rule-0dfc3f241669d32fe19757d3", + "rule-35af8ca89f4c3620ea2eea82", + "rule-b3d4abd41416017863dde205", + "rule-73fa3c12e938df05801a8c3c", + "rule-9613109192ebdd775e9bf6c8", + "rule-8fa8bd09a2269715b15ffcc2", + "rule-56ed498870085812076c1c1f", + "rule-238fd7618c83cf6843c013a0" + ], + "relative_linf": [ + "rule-c65af9bd7ee9c9091a77ca47", + "rule-6a719f045554a97edfb8f03f", + "rule-e5ab068abc5a51738adce174" + ], + "pointwise_relative_linf": [], + "le": [ + "rule-491641188a42199aaf203f69", + "rule-458755d0b2d33e4739ee5003", + "rule-f101d98d649ba16e519d9dc2", + "rule-f7fc430b0476fe5eb15bf63a", + "rule-59d881aae4e50fafcaa37b31", + "rule-170124f154bd8fe72574b4b4", + "rule-191ccb67cb5091a9e6cfa270", + "rule-ff1f989aefe1dfc5179e2bae", + "rule-d39aa2af8cae6f35df7ca40e", + "rule-4740b522b7dec04aff0b1dde", + "rule-d9372ad060fd952df7b776ba", + "rule-04989810933b9c5c3407d56d", + "rule-b143a5e003a15468c53bc660", + "rule-2011718624321daf9b70dce8", + "rule-ee82add0bcf07d507886598e", + "rule-44a888741a2d03ce19c0d408" + ], + "ge": [], + "eq": [ + "rule-1d6eec78c76bb4f35645eb85", + "rule-e87c56b14bfd6a9c79907ace", + "rule-f68be4a2651567ae6a72ce89" + ] + }, + "absolute_rule_scale": "not_used: original absolute_linf and scalar le/ge/eq predicates already have dimensional limits; no reference amplitude is a missing parameter", + "source_operator_semantics": { + "absolute_linf": "max absolute difference of the original ordered metric values", + "le": "value<=original limit", + "ge": "value>=original limit", + "eq": "value==original limit" + }, + "original_relative_rules": "Existing symmetric/floor evaluator behavior is retained only by source binding, not rewritten as a new reference-scaled formula.", + "original_relative_or_linear_phase_not_direct_N": [ + "rule-c65af9bd7ee9c9091a77ca47", + "rule-6a719f045554a97edfb8f03f", + "rule-e5ab068abc5a51738adce174" + ], + "measurement_inputs_pending": [ + "Exact original ordered metric vectors and named quality values, lane grid/tolerance/protocol/input identity; original numeric definitions are already specified" + ], + "remaining_numeric_parameters_for_original_target": [], + "new_N_applicability_approved": false, + "eligibility": { + "reference_error_bound": null, + "reference_qualified": false, + "active_comparison": null, + "default_reference_error_share": "1/3", + "stronger_channel_and_1_12_allocations_retained": true, + "numeric_definition_is_not_reference_eligibility": true + } + }, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-lane-1bbf89ccef7a7815" + }, + "scope_specific_prior_gaps": [ + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/lane-1bbf89ccef7a7815/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [ + { + "rule_id": "rule-c65af9bd7ee9c9091a77ca47", + "needed": "Source-justified reference/input scale and zero/circular-phase rule before any N reuse; retain the original named comparator unchanged" + }, + { + "rule_id": "rule-6a719f045554a97edfb8f03f", + "needed": "Source-justified reference/input scale and zero/circular-phase rule before any N reuse; retain the original named comparator unchanged" + }, + { + "rule_id": "rule-e5ab068abc5a51738adce174", + "needed": "Source-justified reference/input scale and zero/circular-phase rule before any N reuse; retain the original named comparator unchanged" + } + ], + "current_numeric_status": "original_named_contract_complete" + } + }, + { + "id": "scope-lane-42bf2b940134e62c", + "capability_id": "lane-42bf2b940134e62c", + "route_id": "route-fc717d86c09ab83e", + "origin_key": "lane:incomplete-ionization-bgn-temperature-equilibrium-v1", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "original_refinement_lane" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/incomplete-ionization-bgn-temperature-equilibrium-v1", + "value_sha256": "3560ba66e1cebfd67a79425f787a8ed1a10a2afa3ff83eb1330b3f0bead1ce95" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "_observable_delta" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "evaluate_numerical_certificate" + } + ], + "negative_only_descriptor_rule_ids": [], + "source_quantitative_assertion_ids_for_scope_audit": [], + "rule_ids": [ + "M_payload", + "original-lane-42bf2b940134e62c" + ], + "citations": [ + { + "source_id": "original_lane_registry" + }, + { + "source_id": "lane_evaluator", + "symbol": "_observable_delta", + "lines": [ + 1216, + 1237 + ], + "text_sha256": "557a020088ea7e807d4ea24c0b15565c5db7a58094191089a049cb318f78611c" + }, + { + "source_id": "lane_evaluator", + "lines": [ + 352, + 357 + ], + "text_sha256": "8c1783d9e0db3cfb5f3bbd08e5ce429374ca2558c13e374999a4afe1a5383179" + } + ], + "remaining_inputs": [ + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/lane-42bf2b940134e62c/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + } + ], + "downstream_tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "original_numeric_definition": { + "status": "complete_for_original_named_contract_only", + "target": "lane:incomplete-ionization-bgn-temperature-equilibrium-v1", + "rule_group_id": "original-lane-42bf2b940134e62c", + "original_rules_sha256": "56e5985129294e0ec2d2d51158a5e2e3b643b227aa50a3ccb7b71501a0a3223b", + "parameters": "Resolve quantities/units/limits through this unchanged rule group and the original RefactorComparisonMapV1.rule_catalog bindings; no constants are copied or changed.", + "registry_binding": { + "source_id": "original_lane_registry", + "pointer": "/lanes/incomplete-ionization-bgn-temperature-equilibrium-v1", + "value_sha256": "3560ba66e1cebfd67a79425f787a8ed1a10a2afa3ff83eb1330b3f0bead1ce95" + }, + "operators": { + "absolute_linf": [ + "rule-bb34b7c2ff63a4e6c1d42261", + "rule-292ed9222b34f2019f5c3035", + "rule-943372475a4e130e604fb81b", + "rule-bfa2c345692d37716b5036ea", + "rule-e499bd98985561efc61385ce", + "rule-055a0eaf849fe00b766d78cf", + "rule-ac60376ee96a00f9c99b2d6b" + ], + "relative_linf": [], + "pointwise_relative_linf": [], + "le": [ + "rule-c56367c13122d7665c845bdf", + "rule-7a0d9306156f4b2796a03ef8", + "rule-aa5af25e66655979281bcadc", + "rule-db18b033bc9ddb23bc289c10", + "rule-9388b57f0c0349c0cd70d35f" + ], + "ge": [ + "rule-b4e7dd7a370ac3ae1c6c597c", + "rule-0919e71000637fe9957ba59f" + ], + "eq": [ + "rule-f37e14ac46bbc6ff17ab775e", + "rule-a1d9c5b364d6a22b5582c9f3", + "rule-bf68ee1071c764fab30a2cf3", + "rule-78adbcd862529d2f467540f6", + "rule-bd04b01aa17a856cdd354e1e", + "rule-5367e5131ede5d9e782343aa", + "rule-f38b9291805362fb431405ca" + ] + }, + "absolute_rule_scale": "not_used: original absolute_linf and scalar le/ge/eq predicates already have dimensional limits; no reference amplitude is a missing parameter", + "source_operator_semantics": { + "absolute_linf": "max absolute difference of the original ordered metric values", + "le": "value<=original limit", + "ge": "value>=original limit", + "eq": "value==original limit" + }, + "original_relative_rules": "Existing symmetric/floor evaluator behavior is retained only by source binding, not rewritten as a new reference-scaled formula.", + "original_relative_or_linear_phase_not_direct_N": [], + "measurement_inputs_pending": [ + "Exact original ordered metric vectors and named quality values, lane grid/tolerance/protocol/input identity; original numeric definitions are already specified" + ], + "remaining_numeric_parameters_for_original_target": [], + "new_N_applicability_approved": false, + "eligibility": { + "reference_error_bound": null, + "reference_qualified": false, + "active_comparison": null, + "default_reference_error_share": "1/3", + "stronger_channel_and_1_12_allocations_retained": true, + "numeric_definition_is_not_reference_eligibility": true + } + }, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-lane-42bf2b940134e62c" + }, + "scope_specific_prior_gaps": [ + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/lane-42bf2b940134e62c/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [], + "current_numeric_status": "original_named_contract_complete" + } + }, + { + "id": "scope-lane-b0877f36f5bf04e5", + "capability_id": "lane-b0877f36f5bf04e5", + "route_id": "route-fc717d86c09ab83e", + "origin_key": "lane:incomplete-ionization-temperature-equilibrium-v1", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "original_refinement_lane" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/incomplete-ionization-temperature-equilibrium-v1", + "value_sha256": "4f9a4c75beca7a50fc973a0c66a4040ce19d49019b6e6e909b20ab27eb9d8040" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "_observable_delta" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "evaluate_numerical_certificate" + } + ], + "negative_only_descriptor_rule_ids": [], + "source_quantitative_assertion_ids_for_scope_audit": [], + "rule_ids": [ + "M_payload", + "original-lane-b0877f36f5bf04e5" + ], + "citations": [ + { + "source_id": "original_lane_registry" + }, + { + "source_id": "lane_evaluator", + "symbol": "_observable_delta", + "lines": [ + 1216, + 1237 + ], + "text_sha256": "557a020088ea7e807d4ea24c0b15565c5db7a58094191089a049cb318f78611c" + }, + { + "source_id": "lane_evaluator", + "lines": [ + 352, + 357 + ], + "text_sha256": "8c1783d9e0db3cfb5f3bbd08e5ce429374ca2558c13e374999a4afe1a5383179" + } + ], + "remaining_inputs": [ + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/lane-b0877f36f5bf04e5/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + } + ], + "downstream_tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "original_numeric_definition": { + "status": "complete_for_original_named_contract_only", + "target": "lane:incomplete-ionization-temperature-equilibrium-v1", + "rule_group_id": "original-lane-b0877f36f5bf04e5", + "original_rules_sha256": "62c0c7e35d56c8973ba851ac7177b63eedb542b1e5c499f7505fe993595a2f3e", + "parameters": "Resolve quantities/units/limits through this unchanged rule group and the original RefactorComparisonMapV1.rule_catalog bindings; no constants are copied or changed.", + "registry_binding": { + "source_id": "original_lane_registry", + "pointer": "/lanes/incomplete-ionization-temperature-equilibrium-v1", + "value_sha256": "4f9a4c75beca7a50fc973a0c66a4040ce19d49019b6e6e909b20ab27eb9d8040" + }, + "operators": { + "absolute_linf": [ + "rule-26210e984f2cd81eb2d38b72", + "rule-722f8831b5f82f8f72d68b1d", + "rule-4733c8d207e9b0511319f76c", + "rule-65ffc6a1efd595a5b8cbf66d", + "rule-4294cccc1d5cc596b4d72ef0" + ], + "relative_linf": [], + "pointwise_relative_linf": [], + "le": [ + "rule-2de1c9dc8a604dbf2cbf7d98", + "rule-fc28af7dafbb40eb8fb565b9", + "rule-5cc009d5c7d6427d98e511e8", + "rule-0ae96bb5969f113225d79aca", + "rule-2b064348486e46fa92da190c" + ], + "ge": [ + "rule-89bba4b93ae56f0c46731f89" + ], + "eq": [ + "rule-9b25f1d9a10da126d954e2c4", + "rule-8f530891eb0ef2b3578c6684", + "rule-9db939028491b4b283b3e63e", + "rule-fad81ef58a23c67791265c1e", + "rule-b416b5ceb6f98d6d0328aece", + "rule-1e14d25eac5dba2682f938a0" + ] + }, + "absolute_rule_scale": "not_used: original absolute_linf and scalar le/ge/eq predicates already have dimensional limits; no reference amplitude is a missing parameter", + "source_operator_semantics": { + "absolute_linf": "max absolute difference of the original ordered metric values", + "le": "value<=original limit", + "ge": "value>=original limit", + "eq": "value==original limit" + }, + "original_relative_rules": "Existing symmetric/floor evaluator behavior is retained only by source binding, not rewritten as a new reference-scaled formula.", + "original_relative_or_linear_phase_not_direct_N": [], + "measurement_inputs_pending": [ + "Exact original ordered metric vectors and named quality values, lane grid/tolerance/protocol/input identity; original numeric definitions are already specified" + ], + "remaining_numeric_parameters_for_original_target": [], + "new_N_applicability_approved": false, + "eligibility": { + "reference_error_bound": null, + "reference_qualified": false, + "active_comparison": null, + "default_reference_error_share": "1/3", + "stronger_channel_and_1_12_allocations_retained": true, + "numeric_definition_is_not_reference_eligibility": true + } + }, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-lane-b0877f36f5bf04e5" + }, + "scope_specific_prior_gaps": [ + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/lane-b0877f36f5bf04e5/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [], + "current_numeric_status": "original_named_contract_complete" + } + }, + { + "id": "scope-lane-f3d0d1307884e5e8", + "capability_id": "lane-f3d0d1307884e5e8", + "route_id": "route-fc717d86c09ab83e", + "origin_key": "lane:interface-charge-device-stress-resolved-v2", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "original_refinement_lane" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-device-stress-resolved-v2", + "value_sha256": "e6eb0d5ef6ce32378f32c9de51ef9516bb6a1850d094ea096ab213caa24410bb" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "_observable_delta" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "evaluate_numerical_certificate" + } + ], + "negative_only_descriptor_rule_ids": [], + "source_quantitative_assertion_ids_for_scope_audit": [], + "rule_ids": [ + "M_payload", + "original-lane-f3d0d1307884e5e8" + ], + "citations": [ + { + "source_id": "original_lane_registry" + }, + { + "source_id": "lane_evaluator", + "symbol": "_observable_delta", + "lines": [ + 1216, + 1237 + ], + "text_sha256": "557a020088ea7e807d4ea24c0b15565c5db7a58094191089a049cb318f78611c" + }, + { + "source_id": "lane_evaluator", + "lines": [ + 352, + 357 + ], + "text_sha256": "8c1783d9e0db3cfb5f3bbd08e5ce429374ca2558c13e374999a4afe1a5383179" + } + ], + "remaining_inputs": [ + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/lane-f3d0d1307884e5e8/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + } + ], + "downstream_tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "original_numeric_definition": { + "status": "complete_for_original_named_contract_only", + "target": "lane:interface-charge-device-stress-resolved-v2", + "rule_group_id": "original-lane-f3d0d1307884e5e8", + "original_rules_sha256": "a29fc34c1ec975d419ac9d0f49c18bd22710c109a3fbf02298977d105dea5853", + "parameters": "Resolve quantities/units/limits through this unchanged rule group and the original RefactorComparisonMapV1.rule_catalog bindings; no constants are copied or changed.", + "registry_binding": { + "source_id": "original_lane_registry", + "pointer": "/lanes/interface-charge-device-stress-resolved-v2", + "value_sha256": "e6eb0d5ef6ce32378f32c9de51ef9516bb6a1850d094ea096ab213caa24410bb" + }, + "operators": { + "absolute_linf": [ + "rule-d80d630e75e55952ccd0fc18", + "rule-fefc354c65b86c41121846e0", + "rule-f8790f2041c83ad309a595a4" + ], + "relative_linf": [ + "rule-7d7062045f5db3ddcdde1ec4" + ], + "pointwise_relative_linf": [ + "rule-449a36c74b21a2dc3d37d355" + ], + "le": [ + "rule-cbda6c3678dc399bc2322b8a", + "rule-597565c087a9a715418dd121", + "rule-5fee7ddc4d99e5684cd902e6", + "rule-98099010a010af01b0c95b65", + "rule-82e12d69b8a5e4f01e4a6338", + "rule-1d7ef7eef711d81c63b8d9b1", + "rule-12a789e57c1b7a6aeae013be", + "rule-2f887ce99ed0fff15bee44af", + "rule-71faf84963a27cdc2dac0820", + "rule-30d3ba13de3a025a23abdb1f" + ], + "ge": [], + "eq": [ + "rule-fa6fee4d30b6d465bff9c6a9", + "rule-7664bb937916ddbb8fb97210", + "rule-82ca5065fa42d43f46a0e31f", + "rule-5335d771c411a2d42a850908", + "rule-a93396d176c2680755348840", + "rule-f2149d8c415225baf0d2a359", + "rule-be4a60e6910440e27de842c4", + "rule-f631613dde22e726c5c46ef2", + "rule-0d10677fb4b9463eac0cf670", + "rule-2c07110fe4ebc07cc7cfef15", + "rule-f8a577275449db9fd649fa61", + "rule-3ed9525bf67c68408981c1ed", + "rule-eb16ea3d60b0075d78e354d0", + "rule-aeef34a5bff26c90ee6ac7cc", + "rule-14c60819503e2cd9529d551c", + "rule-75b10581e969f78810a9e45c", + "rule-7f0a5978207fdb98d239d39b", + "rule-5e66064040c6b12d3d6e3c9b" + ] + }, + "absolute_rule_scale": "not_used: original absolute_linf and scalar le/ge/eq predicates already have dimensional limits; no reference amplitude is a missing parameter", + "source_operator_semantics": { + "absolute_linf": "max absolute difference of the original ordered metric values", + "le": "value<=original limit", + "ge": "value>=original limit", + "eq": "value==original limit" + }, + "original_relative_rules": "Existing symmetric/floor evaluator behavior is retained only by source binding, not rewritten as a new reference-scaled formula.", + "original_relative_or_linear_phase_not_direct_N": [ + "rule-7d7062045f5db3ddcdde1ec4", + "rule-449a36c74b21a2dc3d37d355" + ], + "measurement_inputs_pending": [ + "Exact original ordered metric vectors and named quality values, lane grid/tolerance/protocol/input identity; original numeric definitions are already specified" + ], + "remaining_numeric_parameters_for_original_target": [], + "new_N_applicability_approved": false, + "eligibility": { + "reference_error_bound": null, + "reference_qualified": false, + "active_comparison": null, + "default_reference_error_share": "1/3", + "stronger_channel_and_1_12_allocations_retained": true, + "numeric_definition_is_not_reference_eligibility": true + } + }, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-lane-f3d0d1307884e5e8" + }, + "scope_specific_prior_gaps": [ + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/lane-f3d0d1307884e5e8/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [ + { + "rule_id": "rule-7d7062045f5db3ddcdde1ec4", + "needed": "Source-justified reference/input scale and zero/circular-phase rule before any N reuse; retain the original named comparator unchanged" + }, + { + "rule_id": "rule-449a36c74b21a2dc3d37d355", + "needed": "Source-justified reference/input scale and zero/circular-phase rule before any N reuse; retain the original named comparator unchanged" + } + ], + "current_numeric_status": "original_named_contract_complete" + } + }, + { + "id": "scope-lane-e95ec3a450b16504", + "capability_id": "lane-e95ec3a450b16504", + "route_id": "route-fc717d86c09ab83e", + "origin_key": "lane:interface-charge-device-stress-v1", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "original_refinement_lane" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-device-stress-v1", + "value_sha256": "557543ab1d96c27e8cd883296423e9c243130f2a44bc4f1bb76d40f9ed693559" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "_observable_delta" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "evaluate_numerical_certificate" + } + ], + "negative_only_descriptor_rule_ids": [], + "source_quantitative_assertion_ids_for_scope_audit": [], + "rule_ids": [ + "M_payload", + "original-lane-e95ec3a450b16504" + ], + "citations": [ + { + "source_id": "original_lane_registry" + }, + { + "source_id": "lane_evaluator", + "symbol": "_observable_delta", + "lines": [ + 1216, + 1237 + ], + "text_sha256": "557a020088ea7e807d4ea24c0b15565c5db7a58094191089a049cb318f78611c" + }, + { + "source_id": "lane_evaluator", + "lines": [ + 352, + 357 + ], + "text_sha256": "8c1783d9e0db3cfb5f3bbd08e5ce429374ca2558c13e374999a4afe1a5383179" + } + ], + "remaining_inputs": [ + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/lane-e95ec3a450b16504/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + } + ], + "downstream_tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "original_numeric_definition": { + "status": "complete_for_original_named_contract_only", + "target": "lane:interface-charge-device-stress-v1", + "rule_group_id": "original-lane-e95ec3a450b16504", + "original_rules_sha256": "9bc3a7d2ba832259b96ee2ce4db3290fab10f173a9cc38006ce1b95cce2fd415", + "parameters": "Resolve quantities/units/limits through this unchanged rule group and the original RefactorComparisonMapV1.rule_catalog bindings; no constants are copied or changed.", + "registry_binding": { + "source_id": "original_lane_registry", + "pointer": "/lanes/interface-charge-device-stress-v1", + "value_sha256": "557543ab1d96c27e8cd883296423e9c243130f2a44bc4f1bb76d40f9ed693559" + }, + "operators": { + "absolute_linf": [ + "rule-608de085722fd784672cbaf1", + "rule-e9657b85d9e8acf43bf894f4", + "rule-f67f643a44df6aa33157a3e5" + ], + "relative_linf": [ + "rule-83902bd0c38b52c4294c2f56" + ], + "pointwise_relative_linf": [ + "rule-e55921ddfc33ffaaec6ff51a" + ], + "le": [ + "rule-fe47f5790cf85ab23570cd9b", + "rule-c893d4626f958892285fe3ff", + "rule-f5fa947912b6e32df04a864d", + "rule-9a4b453eadf270b4891e43f2", + "rule-2fd0e878a240caf7b1aa6a04", + "rule-d3af577f9ce54a6dbb29d49b", + "rule-5b9604cf515f66ca2f52f9a0", + "rule-a1b14dea8aaa9eaf9281d2d0", + "rule-c590e318f07e795637d82fc1", + "rule-0590eb4a48a27f551f757233" + ], + "ge": [], + "eq": [ + "rule-d42545c5fa452db8947e7910", + "rule-3e0bd05419f066da4e366e82", + "rule-7a8de8e756818ea5bb0e0b07", + "rule-a63569adb70bfd7ee29dbfd7", + "rule-9dbb9b93157c4c2aaa59b11a", + "rule-926f0e7b3a9ab41d2b517f82", + "rule-49e52b4318fd9984de954d12", + "rule-5f82befe524049d3bcb361c1", + "rule-865c8b28f7433aa1c23a02ac", + "rule-4c774a77fb761fd6654f7776", + "rule-a2f3826670b06075d543d7ff", + "rule-27fcabe19e66e6d0f0e4b8df", + "rule-a7a26df87b0fe58e36b2d621", + "rule-b434fde68279c817b3fee46f", + "rule-3bde4ad400943d129fd8a34a", + "rule-ffba42f17d69f21be5ba26ee", + "rule-42c6a8c7a592d8f5d1068e3f", + "rule-5866e5b61eb2ab5e672750c8" + ] + }, + "absolute_rule_scale": "not_used: original absolute_linf and scalar le/ge/eq predicates already have dimensional limits; no reference amplitude is a missing parameter", + "source_operator_semantics": { + "absolute_linf": "max absolute difference of the original ordered metric values", + "le": "value<=original limit", + "ge": "value>=original limit", + "eq": "value==original limit" + }, + "original_relative_rules": "Existing symmetric/floor evaluator behavior is retained only by source binding, not rewritten as a new reference-scaled formula.", + "original_relative_or_linear_phase_not_direct_N": [ + "rule-83902bd0c38b52c4294c2f56", + "rule-e55921ddfc33ffaaec6ff51a" + ], + "measurement_inputs_pending": [ + "Exact original ordered metric vectors and named quality values, lane grid/tolerance/protocol/input identity; original numeric definitions are already specified" + ], + "remaining_numeric_parameters_for_original_target": [], + "new_N_applicability_approved": false, + "eligibility": { + "reference_error_bound": null, + "reference_qualified": false, + "active_comparison": null, + "default_reference_error_share": "1/3", + "stronger_channel_and_1_12_allocations_retained": true, + "numeric_definition_is_not_reference_eligibility": true + } + }, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-lane-e95ec3a450b16504" + }, + "scope_specific_prior_gaps": [ + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/lane-e95ec3a450b16504/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [ + { + "rule_id": "rule-83902bd0c38b52c4294c2f56", + "needed": "Source-justified reference/input scale and zero/circular-phase rule before any N reuse; retain the original named comparator unchanged" + }, + { + "rule_id": "rule-e55921ddfc33ffaaec6ff51a", + "needed": "Source-justified reference/input scale and zero/circular-phase rule before any N reuse; retain the original named comparator unchanged" + } + ], + "current_numeric_status": "original_named_contract_complete" + } + }, + { + "id": "scope-lane-5da5b7d376d6e06e", + "capability_id": "lane-5da5b7d376d6e06e", + "route_id": "route-1af17bb46d9794d0", + "origin_key": "lane:interface-charge-equilibrium-referenced-v1", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "original_refinement_lane" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-equilibrium-referenced-v1", + "value_sha256": "51e23833c162a90a0205142e515f58970268079ed83c3efcb12a0533ddbe3272" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "_observable_delta" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "evaluate_numerical_certificate" + } + ], + "negative_only_descriptor_rule_ids": [], + "source_quantitative_assertion_ids_for_scope_audit": [], + "rule_ids": [ + "M_payload", + "original-lane-5da5b7d376d6e06e" + ], + "citations": [ + { + "source_id": "original_lane_registry" + }, + { + "source_id": "lane_evaluator", + "symbol": "_observable_delta", + "lines": [ + 1216, + 1237 + ], + "text_sha256": "557a020088ea7e807d4ea24c0b15565c5db7a58094191089a049cb318f78611c" + }, + { + "source_id": "lane_evaluator", + "lines": [ + 352, + 357 + ], + "text_sha256": "8c1783d9e0db3cfb5f3bbd08e5ce429374ca2558c13e374999a4afe1a5383179" + } + ], + "remaining_inputs": [ + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/lane-5da5b7d376d6e06e/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + } + ], + "downstream_tasks": [ + "P00-03", + "P03-06", + "P04-05", + "P04-06", + "P09-01" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "original_numeric_definition": { + "status": "complete_for_original_named_contract_only", + "target": "lane:interface-charge-equilibrium-referenced-v1", + "rule_group_id": "original-lane-5da5b7d376d6e06e", + "original_rules_sha256": "ae1284e61e258f2c303bb79d609b36d8af4f748111648590fd16e3ccd300e28f", + "parameters": "Resolve quantities/units/limits through this unchanged rule group and the original RefactorComparisonMapV1.rule_catalog bindings; no constants are copied or changed.", + "registry_binding": { + "source_id": "original_lane_registry", + "pointer": "/lanes/interface-charge-equilibrium-referenced-v1", + "value_sha256": "51e23833c162a90a0205142e515f58970268079ed83c3efcb12a0533ddbe3272" + }, + "operators": { + "absolute_linf": [ + "rule-4abf37736c8aad966ec389b5", + "rule-473ddb37bd88f40b8845c4eb" + ], + "relative_linf": [ + "rule-29f3a0adc5aa249aa06ce81d" + ], + "pointwise_relative_linf": [ + "rule-0231e8ed993044cf0c4e9efa" + ], + "le": [ + "rule-e9ed5b140c1bddf5a75e1752", + "rule-202769c65d027c59826c6b0f", + "rule-ee0693544f753bc9216185ee", + "rule-811ffa90449274afda59343b", + "rule-ddc4f95378e141cd77602d97", + "rule-c436b10876db2f6b581cde2b", + "rule-7aa41a218e0022eb6c2cd232", + "rule-bea553c783d4d2188a3bd38e", + "rule-2ae40ffe80d743d4f199cb7f", + "rule-a89ef2d344faf51ec26d3101" + ], + "ge": [], + "eq": [ + "rule-3c735b654a31dc58fb152131", + "rule-8b995390ab94c0478d3ce7de", + "rule-dac5290dc65766aa8bf6f78a", + "rule-bc8e0b46daffccc8f0073586", + "rule-7b69e655dd51234f83cec2fd", + "rule-50cfb9c2537fe74f0730258b", + "rule-f4abdbe7a2df0a237f810880", + "rule-fc69698c2eff09892d26075b", + "rule-5cfe4581bd39e98f9917a297", + "rule-f8c4c087f75ea876c95cd7b3", + "rule-3841048ff23c4704dcc08f90", + "rule-23cbb026c91f691f392a38fb", + "rule-029fb5011a1f0ad278706f31" + ] + }, + "absolute_rule_scale": "not_used: original absolute_linf and scalar le/ge/eq predicates already have dimensional limits; no reference amplitude is a missing parameter", + "source_operator_semantics": { + "absolute_linf": "max absolute difference of the original ordered metric values", + "le": "value<=original limit", + "ge": "value>=original limit", + "eq": "value==original limit" + }, + "original_relative_rules": "Existing symmetric/floor evaluator behavior is retained only by source binding, not rewritten as a new reference-scaled formula.", + "original_relative_or_linear_phase_not_direct_N": [ + "rule-29f3a0adc5aa249aa06ce81d", + "rule-0231e8ed993044cf0c4e9efa" + ], + "measurement_inputs_pending": [ + "Exact original ordered metric vectors and named quality values, lane grid/tolerance/protocol/input identity; original numeric definitions are already specified" + ], + "remaining_numeric_parameters_for_original_target": [], + "new_N_applicability_approved": false, + "eligibility": { + "reference_error_bound": null, + "reference_qualified": false, + "active_comparison": null, + "default_reference_error_share": "1/3", + "stronger_channel_and_1_12_allocations_retained": true, + "numeric_definition_is_not_reference_eligibility": true + } + }, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-lane-5da5b7d376d6e06e" + }, + "scope_specific_prior_gaps": [ + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/lane-5da5b7d376d6e06e/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [ + { + "rule_id": "rule-29f3a0adc5aa249aa06ce81d", + "needed": "Source-justified reference/input scale and zero/circular-phase rule before any N reuse; retain the original named comparator unchanged" + }, + { + "rule_id": "rule-0231e8ed993044cf0c4e9efa", + "needed": "Source-justified reference/input scale and zero/circular-phase rule before any N reuse; retain the original named comparator unchanged" + } + ], + "current_numeric_status": "original_named_contract_complete" + } + }, + { + "id": "scope-lane-54128f5212664526", + "capability_id": "lane-54128f5212664526", + "route_id": "route-1af17bb46d9794d0", + "origin_key": "lane:interface-charge-qf-dc-jv-v1", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "original_refinement_lane" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-charge-qf-dc-jv-v1", + "value_sha256": "d06eaa8ffa242cfd8230994255e7696bd2b48408111bc3b42560e38efedf8f2a" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "_observable_delta" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "evaluate_numerical_certificate" + } + ], + "negative_only_descriptor_rule_ids": [], + "source_quantitative_assertion_ids_for_scope_audit": [], + "rule_ids": [ + "M_payload", + "original-lane-54128f5212664526" + ], + "citations": [ + { + "source_id": "original_lane_registry" + }, + { + "source_id": "lane_evaluator", + "symbol": "_observable_delta", + "lines": [ + 1216, + 1237 + ], + "text_sha256": "557a020088ea7e807d4ea24c0b15565c5db7a58094191089a049cb318f78611c" + }, + { + "source_id": "lane_evaluator", + "lines": [ + 352, + 357 + ], + "text_sha256": "8c1783d9e0db3cfb5f3bbd08e5ce429374ca2558c13e374999a4afe1a5383179" + } + ], + "remaining_inputs": [ + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/lane-54128f5212664526/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + } + ], + "downstream_tasks": [ + "P00-03", + "P03-06", + "P04-05", + "P04-06", + "P09-01" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "original_numeric_definition": { + "status": "complete_for_original_named_contract_only", + "target": "lane:interface-charge-qf-dc-jv-v1", + "rule_group_id": "original-lane-54128f5212664526", + "original_rules_sha256": "fe7515c193ceb6426e40684ea7fcddb3cb50647623fc087eefc4cbeb8d6d9f13", + "parameters": "Resolve quantities/units/limits through this unchanged rule group and the original RefactorComparisonMapV1.rule_catalog bindings; no constants are copied or changed.", + "registry_binding": { + "source_id": "original_lane_registry", + "pointer": "/lanes/interface-charge-qf-dc-jv-v1", + "value_sha256": "d06eaa8ffa242cfd8230994255e7696bd2b48408111bc3b42560e38efedf8f2a" + }, + "operators": { + "absolute_linf": [ + "rule-79f549f5c6d860853a4bf841", + "rule-f42b9394acb1f33fe50cda17", + "rule-e98a868fcfb8b5c959dc3ea9", + "rule-1c077b41fc38472b069df4e0", + "rule-62ab9533599cc4ba79eec8fe" + ], + "relative_linf": [ + "rule-c64b520188b8f38ae7cf0275" + ], + "pointwise_relative_linf": [ + "rule-be78d0bff677e97c9a5565aa" + ], + "le": [ + "rule-394926808d7692550b066132", + "rule-3591373baa59ff845eac0b2b", + "rule-c370c6c1bcb45dc1b5ae7da6", + "rule-5058023d5e7b64f69b4b439e", + "rule-dfee95fa15d54506742fc929", + "rule-e2590d4410a79552d08843e5", + "rule-d93aa96114767d953f94aad3", + "rule-c2575b249229838e6f1b17d6", + "rule-2c963cba7ee09240ee0a5232", + "rule-e29d4aacd84baf190a9e12e8", + "rule-b27d14bbe8111bb9aed241b9", + "rule-533fbeb98ebafb0dfbeb5d3b" + ], + "ge": [], + "eq": [ + "rule-120f2c1a7ed66fac6408b6cd", + "rule-d679efb0947f07c030881164", + "rule-1cdf3e993e3740c7ed8cf9a9", + "rule-d2138f84007ca9044babf2f2", + "rule-2a5ed4e57cf5a4ee66e1f85d", + "rule-70ecd1e12e2db5a9098d5537", + "rule-4828dee365cb5c186434c26d", + "rule-888629bc65d0ebcb563d0aa0", + "rule-7f81e8ea40e54d69c88b550e", + "rule-9f66bff8a93b5b1fa3439cd2", + "rule-5badf2f7eb6e1043fc3951d5", + "rule-9c921563ced57d5684118f79", + "rule-c98f7a4db624726ac35e4d47", + "rule-c24b966773168c4fd74f3d88", + "rule-8ca7a6ffb1c2cc140df3696d", + "rule-789516d6d506a33046279508", + "rule-e7a0c25d5a74f220df3e76a0", + "rule-c3c27d58c0ad96f4ac51fc39", + "rule-204a0d20ebd6d1136a82028d" + ] + }, + "absolute_rule_scale": "not_used: original absolute_linf and scalar le/ge/eq predicates already have dimensional limits; no reference amplitude is a missing parameter", + "source_operator_semantics": { + "absolute_linf": "max absolute difference of the original ordered metric values", + "le": "value<=original limit", + "ge": "value>=original limit", + "eq": "value==original limit" + }, + "original_relative_rules": "Existing symmetric/floor evaluator behavior is retained only by source binding, not rewritten as a new reference-scaled formula.", + "original_relative_or_linear_phase_not_direct_N": [ + "rule-be78d0bff677e97c9a5565aa", + "rule-c64b520188b8f38ae7cf0275" + ], + "measurement_inputs_pending": [ + "Exact original ordered metric vectors and named quality values, lane grid/tolerance/protocol/input identity; original numeric definitions are already specified" + ], + "remaining_numeric_parameters_for_original_target": [], + "new_N_applicability_approved": false, + "eligibility": { + "reference_error_bound": null, + "reference_qualified": false, + "active_comparison": null, + "default_reference_error_share": "1/3", + "stronger_channel_and_1_12_allocations_retained": true, + "numeric_definition_is_not_reference_eligibility": true + } + }, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-lane-54128f5212664526" + }, + "scope_specific_prior_gaps": [ + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/lane-54128f5212664526/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [ + { + "rule_id": "rule-be78d0bff677e97c9a5565aa", + "needed": "Source-justified reference/input scale and zero/circular-phase rule before any N reuse; retain the original named comparator unchanged" + }, + { + "rule_id": "rule-c64b520188b8f38ae7cf0275", + "needed": "Source-justified reference/input scale and zero/circular-phase rule before any N reuse; retain the original named comparator unchanged" + } + ], + "current_numeric_status": "original_named_contract_complete" + } + }, + { + "id": "scope-lane-ee113ad477b8697e", + "capability_id": "lane-ee113ad477b8697e", + "route_id": "route-1af17bb46d9794d0", + "origin_key": "lane:interface-recombination-charge-off", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "original_refinement_lane" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-recombination-charge-off", + "value_sha256": "b9e56bc9253852b76a05e249cede349500ac2c5ae64b44add013a7ad1f5f709c" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "_observable_delta" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "evaluate_numerical_certificate" + } + ], + "negative_only_descriptor_rule_ids": [], + "source_quantitative_assertion_ids_for_scope_audit": [], + "rule_ids": [ + "M_payload", + "original-lane-ee113ad477b8697e" + ], + "citations": [ + { + "source_id": "original_lane_registry" + }, + { + "source_id": "lane_evaluator", + "symbol": "_observable_delta", + "lines": [ + 1216, + 1237 + ], + "text_sha256": "557a020088ea7e807d4ea24c0b15565c5db7a58094191089a049cb318f78611c" + }, + { + "source_id": "lane_evaluator", + "lines": [ + 352, + 357 + ], + "text_sha256": "8c1783d9e0db3cfb5f3bbd08e5ce429374ca2558c13e374999a4afe1a5383179" + } + ], + "remaining_inputs": [ + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/lane-ee113ad477b8697e/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + } + ], + "downstream_tasks": [ + "P00-03", + "P03-06", + "P04-05", + "P04-06", + "P09-01" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "original_numeric_definition": { + "status": "complete_for_original_named_contract_only", + "target": "lane:interface-recombination-charge-off", + "rule_group_id": "original-lane-ee113ad477b8697e", + "original_rules_sha256": "9767c453416bda930698e44543d4a4943b03ef67571e767f9ea398daf2fbe002", + "parameters": "Resolve quantities/units/limits through this unchanged rule group and the original RefactorComparisonMapV1.rule_catalog bindings; no constants are copied or changed.", + "registry_binding": { + "source_id": "original_lane_registry", + "pointer": "/lanes/interface-recombination-charge-off", + "value_sha256": "b9e56bc9253852b76a05e249cede349500ac2c5ae64b44add013a7ad1f5f709c" + }, + "operators": { + "absolute_linf": [ + "rule-9d22e74f3615d54be4f1cb60", + "rule-3cb4698459592bf930f425ba", + "rule-46f582458d6fa70c43774f57" + ], + "relative_linf": [], + "pointwise_relative_linf": [], + "le": [ + "rule-5d4aa048bb679d97aa8e8fb2", + "rule-5bbb867708ccbc84bb582962", + "rule-119f213f4cf2ed748bc3f437", + "rule-3cb616d7907f718bd91f19b4", + "rule-a9d2a611b26d305c57d68fd2", + "rule-1c36a294bf08155dceac8afe", + "rule-13ed64b41a8e61480012cebc" + ], + "ge": [], + "eq": [ + "rule-70b4fa3f95842554c026dfe2", + "rule-1174d1ca661565553d0ec988", + "rule-49690e1a26d0bbe9091228da", + "rule-969e5cfb9a184858ef8fa382", + "rule-72bc517758964e81bd79f8b8", + "rule-518285ce50ecda5ad00e8ae8", + "rule-a589724931a1792601cb3adb", + "rule-519f54a9e5479f63e6df88ce", + "rule-c76e415499e0b9ef1aa5801c" + ] + }, + "absolute_rule_scale": "not_used: original absolute_linf and scalar le/ge/eq predicates already have dimensional limits; no reference amplitude is a missing parameter", + "source_operator_semantics": { + "absolute_linf": "max absolute difference of the original ordered metric values", + "le": "value<=original limit", + "ge": "value>=original limit", + "eq": "value==original limit" + }, + "original_relative_rules": "Existing symmetric/floor evaluator behavior is retained only by source binding, not rewritten as a new reference-scaled formula.", + "original_relative_or_linear_phase_not_direct_N": [], + "measurement_inputs_pending": [ + "Exact original ordered metric vectors and named quality values, lane grid/tolerance/protocol/input identity; original numeric definitions are already specified" + ], + "remaining_numeric_parameters_for_original_target": [], + "new_N_applicability_approved": false, + "eligibility": { + "reference_error_bound": null, + "reference_qualified": false, + "active_comparison": null, + "default_reference_error_share": "1/3", + "stronger_channel_and_1_12_allocations_retained": true, + "numeric_definition_is_not_reference_eligibility": true + } + }, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-lane-ee113ad477b8697e" + }, + "scope_specific_prior_gaps": [ + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/lane-ee113ad477b8697e/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [], + "current_numeric_status": "original_named_contract_complete" + } + }, + { + "id": "scope-lane-84ef85f524daf74b", + "capability_id": "lane-84ef85f524daf74b", + "route_id": "route-fc717d86c09ab83e", + "origin_key": "lane:interface-srh-identifiability-synthetic-v1", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "original_refinement_lane" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/interface-srh-identifiability-synthetic-v1", + "value_sha256": "6c9a2c099044335a5cef63e67b0e14580c69aac01515b8e018ac0df5b2192373" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "_observable_delta" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "evaluate_numerical_certificate" + } + ], + "negative_only_descriptor_rule_ids": [], + "source_quantitative_assertion_ids_for_scope_audit": [], + "rule_ids": [ + "M_payload", + "original-lane-84ef85f524daf74b" + ], + "citations": [ + { + "source_id": "original_lane_registry" + }, + { + "source_id": "lane_evaluator", + "symbol": "_observable_delta", + "lines": [ + 1216, + 1237 + ], + "text_sha256": "557a020088ea7e807d4ea24c0b15565c5db7a58094191089a049cb318f78611c" + }, + { + "source_id": "lane_evaluator", + "lines": [ + 352, + 357 + ], + "text_sha256": "8c1783d9e0db3cfb5f3bbd08e5ce429374ca2558c13e374999a4afe1a5383179" + } + ], + "remaining_inputs": [ + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/lane-84ef85f524daf74b/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + } + ], + "downstream_tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "original_numeric_definition": { + "status": "complete_for_original_named_contract_only", + "target": "lane:interface-srh-identifiability-synthetic-v1", + "rule_group_id": "original-lane-84ef85f524daf74b", + "original_rules_sha256": "bb3f54d9d20f825918c0520a90547528f44be84c784b0b6e0f7cc00698a38aa6", + "parameters": "Resolve quantities/units/limits through this unchanged rule group and the original RefactorComparisonMapV1.rule_catalog bindings; no constants are copied or changed.", + "registry_binding": { + "source_id": "original_lane_registry", + "pointer": "/lanes/interface-srh-identifiability-synthetic-v1", + "value_sha256": "6c9a2c099044335a5cef63e67b0e14580c69aac01515b8e018ac0df5b2192373" + }, + "operators": { + "absolute_linf": [ + "rule-50d86dbbcfec8eaf0cdd8f96", + "rule-fb1a2264b308f4a3ae84b7a3" + ], + "relative_linf": [ + "rule-9df1e5a91d203bda283d8fe9", + "rule-3c22bc1a74324444f4d273e5", + "rule-4a42e1e5e4315000dd4637ad" + ], + "pointwise_relative_linf": [], + "le": [ + "rule-1f0cd1e70f70788803cb56b5", + "rule-dbe92b55a1f949046023cf40", + "rule-c626d613bee1ffcf223074eb", + "rule-05952dc96c0b172ae33102df", + "rule-4515053eb8faf0850594e0aa" + ], + "ge": [], + "eq": [ + "rule-4527a7a66012264164e2749e", + "rule-f58e4d7f3b14173936d0b1c3", + "rule-e1ffee2b487b2a4160a4485e", + "rule-4bf2492119d4f45eb1fc99a9", + "rule-c24af512596392315dce6a58", + "rule-9aabc93dcbeb3c1659d674d5", + "rule-8eb562314a189d557601279e", + "rule-b644666d45680e1b235ec97e", + "rule-4cdfd4ebbc827f74cc1de12f", + "rule-8e040805cf480f60fd7a6048", + "rule-4ba2e701837dc876ec95f527" + ] + }, + "absolute_rule_scale": "not_used: original absolute_linf and scalar le/ge/eq predicates already have dimensional limits; no reference amplitude is a missing parameter", + "source_operator_semantics": { + "absolute_linf": "max absolute difference of the original ordered metric values", + "le": "value<=original limit", + "ge": "value>=original limit", + "eq": "value==original limit" + }, + "original_relative_rules": "Existing symmetric/floor evaluator behavior is retained only by source binding, not rewritten as a new reference-scaled formula.", + "original_relative_or_linear_phase_not_direct_N": [ + "rule-9df1e5a91d203bda283d8fe9", + "rule-3c22bc1a74324444f4d273e5", + "rule-4a42e1e5e4315000dd4637ad" + ], + "measurement_inputs_pending": [ + "Exact original ordered metric vectors and named quality values, lane grid/tolerance/protocol/input identity; original numeric definitions are already specified" + ], + "remaining_numeric_parameters_for_original_target": [], + "new_N_applicability_approved": false, + "eligibility": { + "reference_error_bound": null, + "reference_qualified": false, + "active_comparison": null, + "default_reference_error_share": "1/3", + "stronger_channel_and_1_12_allocations_retained": true, + "numeric_definition_is_not_reference_eligibility": true + } + }, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-lane-84ef85f524daf74b" + }, + "scope_specific_prior_gaps": [ + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/lane-84ef85f524daf74b/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [ + { + "rule_id": "rule-9df1e5a91d203bda283d8fe9", + "needed": "Source-justified reference/input scale and zero/circular-phase rule before any N reuse; retain the original named comparator unchanged" + }, + { + "rule_id": "rule-3c22bc1a74324444f4d273e5", + "needed": "Source-justified reference/input scale and zero/circular-phase rule before any N reuse; retain the original named comparator unchanged" + }, + { + "rule_id": "rule-4a42e1e5e4315000dd4637ad", + "needed": "Source-justified reference/input scale and zero/circular-phase rule before any N reuse; retain the original named comparator unchanged" + } + ], + "current_numeric_status": "original_named_contract_complete" + } + }, + { + "id": "scope-lane-c5f63593f6609839", + "capability_id": "lane-c5f63593f6609839", + "route_id": "route-1af17bb46d9794d0", + "origin_key": "lane:ionmonger-ion-aware-dc-resolved-v2", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "original_refinement_lane" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/ionmonger-ion-aware-dc-resolved-v2", + "value_sha256": "732ddc9f2aad296404f4c937bcb0c9d6f70df42a2dceb7320da7049e17ccb338" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "_observable_delta" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "evaluate_numerical_certificate" + } + ], + "negative_only_descriptor_rule_ids": [], + "source_quantitative_assertion_ids_for_scope_audit": [], + "rule_ids": [ + "M_payload", + "original-lane-c5f63593f6609839" + ], + "citations": [ + { + "source_id": "original_lane_registry" + }, + { + "source_id": "lane_evaluator", + "symbol": "_observable_delta", + "lines": [ + 1216, + 1237 + ], + "text_sha256": "557a020088ea7e807d4ea24c0b15565c5db7a58094191089a049cb318f78611c" + }, + { + "source_id": "lane_evaluator", + "lines": [ + 352, + 357 + ], + "text_sha256": "8c1783d9e0db3cfb5f3bbd08e5ce429374ca2558c13e374999a4afe1a5383179" + } + ], + "remaining_inputs": [ + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/lane-c5f63593f6609839/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + } + ], + "downstream_tasks": [ + "P00-03", + "P03-06", + "P04-05", + "P04-06", + "P09-01" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "original_numeric_definition": { + "status": "complete_for_original_named_contract_only", + "target": "lane:ionmonger-ion-aware-dc-resolved-v2", + "rule_group_id": "original-lane-c5f63593f6609839", + "original_rules_sha256": "017abd2da1bc7ec861f7c04660ea5bb54efaceab3d29a130111cf4da3e75a5f1", + "parameters": "Resolve quantities/units/limits through this unchanged rule group and the original RefactorComparisonMapV1.rule_catalog bindings; no constants are copied or changed.", + "registry_binding": { + "source_id": "original_lane_registry", + "pointer": "/lanes/ionmonger-ion-aware-dc-resolved-v2", + "value_sha256": "732ddc9f2aad296404f4c937bcb0c9d6f70df42a2dceb7320da7049e17ccb338" + }, + "operators": { + "absolute_linf": [ + "rule-b3dd590d8bdb71f286192bb8" + ], + "relative_linf": [ + "rule-c9046cfef0b6ef0099c8231c", + "rule-cd658221dd475286814242de" + ], + "pointwise_relative_linf": [], + "le": [ + "rule-72b395a53da75a8310dad7d3", + "rule-a242c5e18f83800d9e48bb2f", + "rule-659745ebc6748f50969a06ca", + "rule-4c405aff8b0f7791dec1a1b5", + "rule-43b47d2034dbad2800e8cb8e" + ], + "ge": [], + "eq": [ + "rule-2d336eaaa312694a2d8759dd", + "rule-af30afa04244972ad32a43ea", + "rule-96f1fc5abe102bf298e0b105", + "rule-5c00430203eee6411ede3589", + "rule-8c17c70c97eaefddae2af41c", + "rule-d83fe5108835980b2f80ac2a", + "rule-ad3ac41edebfa1afc2bff814", + "rule-6b3103f263bd658d6ed07183" + ] + }, + "absolute_rule_scale": "not_used: original absolute_linf and scalar le/ge/eq predicates already have dimensional limits; no reference amplitude is a missing parameter", + "source_operator_semantics": { + "absolute_linf": "max absolute difference of the original ordered metric values", + "le": "value<=original limit", + "ge": "value>=original limit", + "eq": "value==original limit" + }, + "original_relative_rules": "Existing symmetric/floor evaluator behavior is retained only by source binding, not rewritten as a new reference-scaled formula.", + "original_relative_or_linear_phase_not_direct_N": [ + "rule-c9046cfef0b6ef0099c8231c", + "rule-cd658221dd475286814242de" + ], + "measurement_inputs_pending": [ + "Exact original ordered metric vectors and named quality values, lane grid/tolerance/protocol/input identity; original numeric definitions are already specified" + ], + "remaining_numeric_parameters_for_original_target": [], + "new_N_applicability_approved": false, + "eligibility": { + "reference_error_bound": null, + "reference_qualified": false, + "active_comparison": null, + "default_reference_error_share": "1/3", + "stronger_channel_and_1_12_allocations_retained": true, + "numeric_definition_is_not_reference_eligibility": true + } + }, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-lane-c5f63593f6609839" + }, + "scope_specific_prior_gaps": [ + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/lane-c5f63593f6609839/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [ + { + "rule_id": "rule-c9046cfef0b6ef0099c8231c", + "needed": "Source-justified reference/input scale and zero/circular-phase rule before any N reuse; retain the original named comparator unchanged" + }, + { + "rule_id": "rule-cd658221dd475286814242de", + "needed": "Source-justified reference/input scale and zero/circular-phase rule before any N reuse; retain the original named comparator unchanged" + } + ], + "current_numeric_status": "original_named_contract_complete" + } + }, + { + "id": "scope-lane-500d85c643804b4b", + "capability_id": "lane-500d85c643804b4b", + "route_id": "route-1af17bb46d9794d0", + "origin_key": "lane:ionmonger-ion-aware-dc-v1", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "original_refinement_lane" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/ionmonger-ion-aware-dc-v1", + "value_sha256": "8f9ce2d73db8cd4d03c66f25c87da3c3aced8f573e0957fa791da0d5403fa3bc" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "_observable_delta" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "evaluate_numerical_certificate" + } + ], + "negative_only_descriptor_rule_ids": [], + "source_quantitative_assertion_ids_for_scope_audit": [], + "rule_ids": [ + "M_payload", + "original-lane-500d85c643804b4b" + ], + "citations": [ + { + "source_id": "original_lane_registry" + }, + { + "source_id": "lane_evaluator", + "symbol": "_observable_delta", + "lines": [ + 1216, + 1237 + ], + "text_sha256": "557a020088ea7e807d4ea24c0b15565c5db7a58094191089a049cb318f78611c" + }, + { + "source_id": "lane_evaluator", + "lines": [ + 352, + 357 + ], + "text_sha256": "8c1783d9e0db3cfb5f3bbd08e5ce429374ca2558c13e374999a4afe1a5383179" + } + ], + "remaining_inputs": [ + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/lane-500d85c643804b4b/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + } + ], + "downstream_tasks": [ + "P00-03", + "P03-06", + "P04-05", + "P04-06", + "P09-01" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "original_numeric_definition": { + "status": "complete_for_original_named_contract_only", + "target": "lane:ionmonger-ion-aware-dc-v1", + "rule_group_id": "original-lane-500d85c643804b4b", + "original_rules_sha256": "66ec59fc6c75151872ca1017c6e2523d57502f66b4b98cb99626ca494d924ab7", + "parameters": "Resolve quantities/units/limits through this unchanged rule group and the original RefactorComparisonMapV1.rule_catalog bindings; no constants are copied or changed.", + "registry_binding": { + "source_id": "original_lane_registry", + "pointer": "/lanes/ionmonger-ion-aware-dc-v1", + "value_sha256": "8f9ce2d73db8cd4d03c66f25c87da3c3aced8f573e0957fa791da0d5403fa3bc" + }, + "operators": { + "absolute_linf": [ + "rule-0e7b821b1b3d526e05008e94" + ], + "relative_linf": [ + "rule-6e9e9ec09d2b1232262226f3", + "rule-be0316d30f7b2759d0622474" + ], + "pointwise_relative_linf": [], + "le": [ + "rule-cc56c3d8280aa3a35c185458", + "rule-e29dd4e9175d0ccf7241d222", + "rule-86985464430fecb772ac3c62", + "rule-937326cf6e94d0913a22d245", + "rule-d2247e1c9adea74793f6ff0e" + ], + "ge": [], + "eq": [ + "rule-7967e9f06ff15470418b94a0", + "rule-08d921141c923aa3da2b6620", + "rule-9cc7cab6e561dbb2aa2604e8", + "rule-75ab84dcd9501ddf73c3872a", + "rule-280cfbf456cac0a649271835", + "rule-12bf50e66fba4d6718da39b0", + "rule-2db1d2a8a58df1563d720f5d", + "rule-8d62b7f9717742c37a8f0214" + ] + }, + "absolute_rule_scale": "not_used: original absolute_linf and scalar le/ge/eq predicates already have dimensional limits; no reference amplitude is a missing parameter", + "source_operator_semantics": { + "absolute_linf": "max absolute difference of the original ordered metric values", + "le": "value<=original limit", + "ge": "value>=original limit", + "eq": "value==original limit" + }, + "original_relative_rules": "Existing symmetric/floor evaluator behavior is retained only by source binding, not rewritten as a new reference-scaled formula.", + "original_relative_or_linear_phase_not_direct_N": [ + "rule-6e9e9ec09d2b1232262226f3", + "rule-be0316d30f7b2759d0622474" + ], + "measurement_inputs_pending": [ + "Exact original ordered metric vectors and named quality values, lane grid/tolerance/protocol/input identity; original numeric definitions are already specified" + ], + "remaining_numeric_parameters_for_original_target": [], + "new_N_applicability_approved": false, + "eligibility": { + "reference_error_bound": null, + "reference_qualified": false, + "active_comparison": null, + "default_reference_error_share": "1/3", + "stronger_channel_and_1_12_allocations_retained": true, + "numeric_definition_is_not_reference_eligibility": true + } + }, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-lane-500d85c643804b4b" + }, + "scope_specific_prior_gaps": [ + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/lane-500d85c643804b4b/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [ + { + "rule_id": "rule-6e9e9ec09d2b1232262226f3", + "needed": "Source-justified reference/input scale and zero/circular-phase rule before any N reuse; retain the original named comparator unchanged" + }, + { + "rule_id": "rule-be0316d30f7b2759d0622474", + "needed": "Source-justified reference/input scale and zero/circular-phase rule before any N reuse; retain the original named comparator unchanged" + } + ], + "current_numeric_status": "original_named_contract_complete" + } + }, + { + "id": "scope-lane-b59b8f0f474425b0", + "capability_id": "lane-b59b8f0f474425b0", + "route_id": "route-1af17bb46d9794d0", + "origin_key": "lane:ionmonger-ion-aware-impedance-resolved-v1", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "original_refinement_lane" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/ionmonger-ion-aware-impedance-resolved-v1", + "value_sha256": "f7ccc75740e735795427f59a8d7f8f34a583e8acdc17860cbd381ac1775ff245" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "_observable_delta" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "evaluate_numerical_certificate" + } + ], + "negative_only_descriptor_rule_ids": [], + "source_quantitative_assertion_ids_for_scope_audit": [], + "rule_ids": [ + "M_payload", + "original-lane-b59b8f0f474425b0" + ], + "citations": [ + { + "source_id": "original_lane_registry" + }, + { + "source_id": "lane_evaluator", + "symbol": "_observable_delta", + "lines": [ + 1216, + 1237 + ], + "text_sha256": "557a020088ea7e807d4ea24c0b15565c5db7a58094191089a049cb318f78611c" + }, + { + "source_id": "lane_evaluator", + "lines": [ + 352, + 357 + ], + "text_sha256": "8c1783d9e0db3cfb5f3bbd08e5ce429374ca2558c13e374999a4afe1a5383179" + } + ], + "remaining_inputs": [ + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/lane-b59b8f0f474425b0/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + } + ], + "downstream_tasks": [ + "P00-03", + "P03-06", + "P04-05", + "P04-06", + "P09-01" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "original_numeric_definition": { + "status": "complete_for_original_named_contract_only", + "target": "lane:ionmonger-ion-aware-impedance-resolved-v1", + "rule_group_id": "original-lane-b59b8f0f474425b0", + "original_rules_sha256": "12e17b1ef249fef544cc46ace884a6f32aa98287f72f71ccdff89fc675494588", + "parameters": "Resolve quantities/units/limits through this unchanged rule group and the original RefactorComparisonMapV1.rule_catalog bindings; no constants are copied or changed.", + "registry_binding": { + "source_id": "original_lane_registry", + "pointer": "/lanes/ionmonger-ion-aware-impedance-resolved-v1", + "value_sha256": "f7ccc75740e735795427f59a8d7f8f34a583e8acdc17860cbd381ac1775ff245" + }, + "operators": { + "absolute_linf": [ + "rule-f6789c1a13c2d9958e6b2faa" + ], + "relative_linf": [], + "pointwise_relative_linf": [ + "rule-fded901ca315dfe0f9644ff5" + ], + "le": [ + "rule-5c34ede9a6d5bb4b4da51c15", + "rule-b6b6bb6a4abd3fe5a2327c52", + "rule-f0a2d3e4f0fe228a6a772eff", + "rule-45474de0f61faa3b940254b8", + "rule-a7c64452ac5cb835a067cfe9", + "rule-d856bee5c4f6d807d5b79716", + "rule-83ead8e0cecb69d443b82c2d" + ], + "ge": [], + "eq": [ + "rule-9933912f9abd8c9f86311f5a", + "rule-039b75af973bb561331615b0", + "rule-9e3e9a0939d488ba0c90675d", + "rule-28974f4f9810463ff7d78711", + "rule-60f9ddda397c517c658f2884", + "rule-9cab4511182045b67742f4d8" + ] + }, + "absolute_rule_scale": "not_used: original absolute_linf and scalar le/ge/eq predicates already have dimensional limits; no reference amplitude is a missing parameter", + "source_operator_semantics": { + "absolute_linf": "max absolute difference of the original ordered metric values", + "le": "value<=original limit", + "ge": "value>=original limit", + "eq": "value==original limit" + }, + "original_relative_rules": "Existing symmetric/floor evaluator behavior is retained only by source binding, not rewritten as a new reference-scaled formula.", + "original_relative_or_linear_phase_not_direct_N": [ + "rule-fded901ca315dfe0f9644ff5", + "rule-f6789c1a13c2d9958e6b2faa" + ], + "measurement_inputs_pending": [ + "Exact original ordered metric vectors and named quality values, lane grid/tolerance/protocol/input identity; original numeric definitions are already specified" + ], + "remaining_numeric_parameters_for_original_target": [], + "new_N_applicability_approved": false, + "eligibility": { + "reference_error_bound": null, + "reference_qualified": false, + "active_comparison": null, + "default_reference_error_share": "1/3", + "stronger_channel_and_1_12_allocations_retained": true, + "numeric_definition_is_not_reference_eligibility": true + } + }, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-lane-b59b8f0f474425b0" + }, + "scope_specific_prior_gaps": [ + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/lane-b59b8f0f474425b0/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [ + { + "rule_id": "rule-fded901ca315dfe0f9644ff5", + "needed": "Source-justified reference/input scale and zero/circular-phase rule before any N reuse; retain the original named comparator unchanged" + }, + { + "rule_id": "rule-f6789c1a13c2d9958e6b2faa", + "needed": "Source-justified reference/input scale and zero/circular-phase rule before any N reuse; retain the original named comparator unchanged" + } + ], + "current_numeric_status": "original_named_contract_complete" + } + }, + { + "id": "scope-lane-077aabd76066b531", + "capability_id": "lane-077aabd76066b531", + "route_id": "route-1af17bb46d9794d0", + "origin_key": "lane:ionmonger-mobile-ion-transient", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "original_refinement_lane" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/ionmonger-mobile-ion-transient", + "value_sha256": "2d92f2ca1e6927441bb16d0c4c2f8f22cc16d2e923bd814806d2486a8cd5b919" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "_observable_delta" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "evaluate_numerical_certificate" + } + ], + "negative_only_descriptor_rule_ids": [], + "source_quantitative_assertion_ids_for_scope_audit": [], + "rule_ids": [ + "M_payload", + "original-lane-077aabd76066b531" + ], + "citations": [ + { + "source_id": "original_lane_registry" + }, + { + "source_id": "lane_evaluator", + "symbol": "_observable_delta", + "lines": [ + 1216, + 1237 + ], + "text_sha256": "557a020088ea7e807d4ea24c0b15565c5db7a58094191089a049cb318f78611c" + }, + { + "source_id": "lane_evaluator", + "lines": [ + 352, + 357 + ], + "text_sha256": "8c1783d9e0db3cfb5f3bbd08e5ce429374ca2558c13e374999a4afe1a5383179" + } + ], + "remaining_inputs": [ + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/lane-077aabd76066b531/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + } + ], + "downstream_tasks": [ + "P00-03", + "P03-06", + "P04-05", + "P04-06", + "P09-01" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "original_numeric_definition": { + "status": "complete_for_original_named_contract_only", + "target": "lane:ionmonger-mobile-ion-transient", + "rule_group_id": "original-lane-077aabd76066b531", + "original_rules_sha256": "203455b54368680f6cb9eabfe74d29589553ea9114a3590bc18b07b8ae154a80", + "parameters": "Resolve quantities/units/limits through this unchanged rule group and the original RefactorComparisonMapV1.rule_catalog bindings; no constants are copied or changed.", + "registry_binding": { + "source_id": "original_lane_registry", + "pointer": "/lanes/ionmonger-mobile-ion-transient", + "value_sha256": "2d92f2ca1e6927441bb16d0c4c2f8f22cc16d2e923bd814806d2486a8cd5b919" + }, + "operators": { + "absolute_linf": [ + "rule-33caecfac95d46ba15f38e19", + "rule-65789ce62d11359973628e0e", + "rule-3f16b1f5248372dd04411577", + "rule-4e0f8ee59417f7f8e3dea876" + ], + "relative_linf": [], + "pointwise_relative_linf": [], + "le": [ + "rule-9a8be150ec99c9c6cb9a80f2" + ], + "ge": [], + "eq": [ + "rule-87de8f2f978ccfab41c17980", + "rule-a546c394bb48732665f56bc6", + "rule-f6e4a9f3c485cbf246c95d4e", + "rule-29a4bf5a3d6467aa1b72ccdd", + "rule-647147e2bde527568cd0992c", + "rule-86cbc6acc8d53002c9ab7163", + "rule-ebab2c73853b2d0c1b0dc699", + "rule-f633642f2a2174b3777721e3", + "rule-076888baf15575cc6521a4ab" + ] + }, + "absolute_rule_scale": "not_used: original absolute_linf and scalar le/ge/eq predicates already have dimensional limits; no reference amplitude is a missing parameter", + "source_operator_semantics": { + "absolute_linf": "max absolute difference of the original ordered metric values", + "le": "value<=original limit", + "ge": "value>=original limit", + "eq": "value==original limit" + }, + "original_relative_rules": "Existing symmetric/floor evaluator behavior is retained only by source binding, not rewritten as a new reference-scaled formula.", + "original_relative_or_linear_phase_not_direct_N": [], + "measurement_inputs_pending": [ + "Exact original ordered metric vectors and named quality values, lane grid/tolerance/protocol/input identity; original numeric definitions are already specified" + ], + "remaining_numeric_parameters_for_original_target": [], + "new_N_applicability_approved": false, + "eligibility": { + "reference_error_bound": null, + "reference_qualified": false, + "active_comparison": null, + "default_reference_error_share": "1/3", + "stronger_channel_and_1_12_allocations_retained": true, + "numeric_definition_is_not_reference_eligibility": true + } + }, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-lane-077aabd76066b531" + }, + "scope_specific_prior_gaps": [ + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/lane-077aabd76066b531/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [], + "current_numeric_status": "original_named_contract_complete" + } + }, + { + "id": "scope-lane-f7e0f3e0963801d8", + "capability_id": "lane-f7e0f3e0963801d8", + "route_id": "route-7ae47088bbed9ed7", + "origin_key": "lane:multivalent-explicit-defect-qf-dc-v1", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "original_refinement_lane" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/multivalent-explicit-defect-qf-dc-v1", + "value_sha256": "ed40f86e160c1668cfbfdf8f2fbd587e42c8b3f7604cf75f13a5f1e6d9a08ff6" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "_observable_delta" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "evaluate_numerical_certificate" + } + ], + "negative_only_descriptor_rule_ids": [], + "source_quantitative_assertion_ids_for_scope_audit": [], + "rule_ids": [ + "M_payload", + "original-lane-f7e0f3e0963801d8" + ], + "citations": [ + { + "source_id": "original_lane_registry" + }, + { + "source_id": "lane_evaluator", + "symbol": "_observable_delta", + "lines": [ + 1216, + 1237 + ], + "text_sha256": "557a020088ea7e807d4ea24c0b15565c5db7a58094191089a049cb318f78611c" + }, + { + "source_id": "lane_evaluator", + "lines": [ + 352, + 357 + ], + "text_sha256": "8c1783d9e0db3cfb5f3bbd08e5ce429374ca2558c13e374999a4afe1a5383179" + } + ], + "remaining_inputs": [ + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/lane-f7e0f3e0963801d8/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + } + ], + "downstream_tasks": [ + "P00-03", + "P03-06", + "P04-10", + "P09-01" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "original_numeric_definition": { + "status": "complete_for_original_named_contract_only", + "target": "lane:multivalent-explicit-defect-qf-dc-v1", + "rule_group_id": "original-lane-f7e0f3e0963801d8", + "original_rules_sha256": "6868268c1980a79238156a7553f3cfa19e75f9974f7836c8a822f878345cac4c", + "parameters": "Resolve quantities/units/limits through this unchanged rule group and the original RefactorComparisonMapV1.rule_catalog bindings; no constants are copied or changed.", + "registry_binding": { + "source_id": "original_lane_registry", + "pointer": "/lanes/multivalent-explicit-defect-qf-dc-v1", + "value_sha256": "ed40f86e160c1668cfbfdf8f2fbd587e42c8b3f7604cf75f13a5f1e6d9a08ff6" + }, + "operators": { + "absolute_linf": [ + "rule-4da2dea1fae5cfd4dc772be8", + "rule-270620772eb8934c5072fa9c", + "rule-3f045fbfe293694154a191a6", + "rule-a271173132b47826d851b729", + "rule-8dd7aef8593fa2f49c7bf8df", + "rule-9efc8805966fe2d3729929e8", + "rule-5fe1c3ebf1bd47ec3f1534fa", + "rule-21f7315ce88eec3562428246", + "rule-3255272cb635b9ce65de8143", + "rule-7202fcfc91aeb398e9328bef" + ], + "relative_linf": [ + "rule-a56db8f180d23a6853a5c1b9", + "rule-e4da6121a3df1eb86d1f3991", + "rule-0c777cb7b63c12f887964bf2", + "rule-e6744b3e0c8b51f6cd272bb8", + "rule-d3df3e10c20f2d5809603463", + "rule-c16c016ae99fe74d38c3811c" + ], + "pointwise_relative_linf": [], + "le": [ + "rule-21b705431b7a38666720aca9", + "rule-b5203a745209f02e726db68c", + "rule-6a96fc1b2b3f4dc12adb9a28", + "rule-43cd886f1c9f123e2fb586f8", + "rule-cd0a380f9b277c09857250a1", + "rule-afa93c5da48c56a8cd18732d", + "rule-0cd7f6020030d05378c5d7cb", + "rule-4f89d8aabd6e37dfffa332ca", + "rule-2379503b8d7068cb00c5364e", + "rule-6804ef2594e9430cf5d85341", + "rule-c2dabce945708704dc33c10b" + ], + "ge": [ + "rule-d7dc24afb5a887623da4c7b0" + ], + "eq": [ + "rule-8f76c9024ab99cdd64b7c7f0", + "rule-8967287f0c737495b3f4b107", + "rule-d60ed0f88d6806984e1d8b48", + "rule-d5ddafc6dc12e087706f6282", + "rule-c4b44f57668145773ffee32e", + "rule-f073ff2f30f4d64d13e12353", + "rule-c4269a32bdbb741a70fa60c8", + "rule-5c085f7a71f43a01679665c5", + "rule-a2e46125ee0d801dc258d5e6", + "rule-4dcde47c26532a615a647e2e", + "rule-5baa310b44592a107368cf19" + ] + }, + "absolute_rule_scale": "not_used: original absolute_linf and scalar le/ge/eq predicates already have dimensional limits; no reference amplitude is a missing parameter", + "source_operator_semantics": { + "absolute_linf": "max absolute difference of the original ordered metric values", + "le": "value<=original limit", + "ge": "value>=original limit", + "eq": "value==original limit" + }, + "original_relative_rules": "Existing symmetric/floor evaluator behavior is retained only by source binding, not rewritten as a new reference-scaled formula.", + "original_relative_or_linear_phase_not_direct_N": [ + "rule-a56db8f180d23a6853a5c1b9", + "rule-e4da6121a3df1eb86d1f3991", + "rule-0c777cb7b63c12f887964bf2", + "rule-e6744b3e0c8b51f6cd272bb8", + "rule-d3df3e10c20f2d5809603463", + "rule-c16c016ae99fe74d38c3811c" + ], + "measurement_inputs_pending": [ + "Exact original ordered metric vectors and named quality values, lane grid/tolerance/protocol/input identity; original numeric definitions are already specified" + ], + "remaining_numeric_parameters_for_original_target": [], + "new_N_applicability_approved": false, + "eligibility": { + "reference_error_bound": null, + "reference_qualified": false, + "active_comparison": null, + "default_reference_error_share": "1/3", + "stronger_channel_and_1_12_allocations_retained": true, + "numeric_definition_is_not_reference_eligibility": true + } + }, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-lane-f7e0f3e0963801d8" + }, + "scope_specific_prior_gaps": [ + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/lane-f7e0f3e0963801d8/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [ + { + "rule_id": "rule-a56db8f180d23a6853a5c1b9", + "needed": "Source-justified reference/input scale and zero/circular-phase rule before any N reuse; retain the original named comparator unchanged" + }, + { + "rule_id": "rule-e4da6121a3df1eb86d1f3991", + "needed": "Source-justified reference/input scale and zero/circular-phase rule before any N reuse; retain the original named comparator unchanged" + }, + { + "rule_id": "rule-0c777cb7b63c12f887964bf2", + "needed": "Source-justified reference/input scale and zero/circular-phase rule before any N reuse; retain the original named comparator unchanged" + }, + { + "rule_id": "rule-e6744b3e0c8b51f6cd272bb8", + "needed": "Source-justified reference/input scale and zero/circular-phase rule before any N reuse; retain the original named comparator unchanged" + }, + { + "rule_id": "rule-d3df3e10c20f2d5809603463", + "needed": "Source-justified reference/input scale and zero/circular-phase rule before any N reuse; retain the original named comparator unchanged" + }, + { + "rule_id": "rule-c16c016ae99fe74d38c3811c", + "needed": "Source-justified reference/input scale and zero/circular-phase rule before any N reuse; retain the original named comparator unchanged" + } + ], + "current_numeric_status": "original_named_contract_complete" + } + }, + { + "id": "scope-lane-d78898d8e12e7813", + "capability_id": "lane-d78898d8e12e7813", + "route_id": "route-1af17bb46d9794d0", + "origin_key": "lane:no-ion-dae-transient-v1", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "original_refinement_lane" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/no-ion-dae-transient-v1", + "value_sha256": "d48169bd29b071f320aa37cfa4ede8a358176f37e2d3a54931e0dc7cd1d47d4b" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "_observable_delta" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "evaluate_numerical_certificate" + } + ], + "negative_only_descriptor_rule_ids": [], + "source_quantitative_assertion_ids_for_scope_audit": [], + "rule_ids": [ + "M_payload", + "original-lane-d78898d8e12e7813" + ], + "citations": [ + { + "source_id": "original_lane_registry" + }, + { + "source_id": "lane_evaluator", + "symbol": "_observable_delta", + "lines": [ + 1216, + 1237 + ], + "text_sha256": "557a020088ea7e807d4ea24c0b15565c5db7a58094191089a049cb318f78611c" + }, + { + "source_id": "lane_evaluator", + "lines": [ + 352, + 357 + ], + "text_sha256": "8c1783d9e0db3cfb5f3bbd08e5ce429374ca2558c13e374999a4afe1a5383179" + } + ], + "remaining_inputs": [ + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/lane-d78898d8e12e7813/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + } + ], + "downstream_tasks": [ + "P00-03", + "P03-06", + "P04-05", + "P04-06", + "P09-01" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "original_numeric_definition": { + "status": "complete_for_original_named_contract_only", + "target": "lane:no-ion-dae-transient-v1", + "rule_group_id": "original-lane-d78898d8e12e7813", + "original_rules_sha256": "67de4f05cfcbd04322374ac49b9b7108d91aca1ca0145e09e13c332d24e43151", + "parameters": "Resolve quantities/units/limits through this unchanged rule group and the original RefactorComparisonMapV1.rule_catalog bindings; no constants are copied or changed.", + "registry_binding": { + "source_id": "original_lane_registry", + "pointer": "/lanes/no-ion-dae-transient-v1", + "value_sha256": "d48169bd29b071f320aa37cfa4ede8a358176f37e2d3a54931e0dc7cd1d47d4b" + }, + "operators": { + "absolute_linf": [ + "rule-942134ae9b7a9dc55b02ef49", + "rule-8e2cf45c0af855572c3e2540", + "rule-8df79f1032e31cc0e8bd095a", + "rule-06d2e1e75b91bd9e29f816a5", + "rule-3b904bc64139d933dd765761" + ], + "relative_linf": [], + "pointwise_relative_linf": [], + "le": [ + "rule-a295363c736fb80d46c24a78", + "rule-c838566a0853cdbe7c08e224", + "rule-2bcc70308a4d04c2c30419fb", + "rule-8b13d675c32a9df8aa3c0e3a", + "rule-5c9bade799f9d4e3a9bffa6b", + "rule-6ecd8b82178663e572911e33", + "rule-1f6a32fcf403d55ab8d229b0", + "rule-32611d3ee8b95143f8418e2b", + "rule-24852b8b821acae2fc72b392", + "rule-f82d1dda6cd69c6de4620163" + ], + "ge": [], + "eq": [ + "rule-60d34e16ca70d57375efbfba", + "rule-0c35d80a21b2877abec56f3d", + "rule-303416e4737ba4dc41036b98", + "rule-24d4af0347e39accb952267d", + "rule-e45b304c8c4bb158988546e8", + "rule-fae697a438498b3c40768625", + "rule-0fea0cc5c742231201d98340", + "rule-82e9d631991844d2122e1690", + "rule-69bb183694ffb905829a19d5" + ] + }, + "absolute_rule_scale": "not_used: original absolute_linf and scalar le/ge/eq predicates already have dimensional limits; no reference amplitude is a missing parameter", + "source_operator_semantics": { + "absolute_linf": "max absolute difference of the original ordered metric values", + "le": "value<=original limit", + "ge": "value>=original limit", + "eq": "value==original limit" + }, + "original_relative_rules": "Existing symmetric/floor evaluator behavior is retained only by source binding, not rewritten as a new reference-scaled formula.", + "original_relative_or_linear_phase_not_direct_N": [], + "measurement_inputs_pending": [ + "Exact original ordered metric vectors and named quality values, lane grid/tolerance/protocol/input identity; original numeric definitions are already specified" + ], + "remaining_numeric_parameters_for_original_target": [], + "new_N_applicability_approved": false, + "eligibility": { + "reference_error_bound": null, + "reference_qualified": false, + "active_comparison": null, + "default_reference_error_share": "1/3", + "stronger_channel_and_1_12_allocations_retained": true, + "numeric_definition_is_not_reference_eligibility": true + } + }, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-lane-d78898d8e12e7813" + }, + "scope_specific_prior_gaps": [ + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/lane-d78898d8e12e7813/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [], + "current_numeric_status": "original_named_contract_complete" + } + }, + { + "id": "scope-lane-5547d9e78904e730", + "capability_id": "lane-5547d9e78904e730", + "route_id": "route-1af17bb46d9794d0", + "origin_key": "lane:scaps-mirror-frozen-ion-ss", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "original_refinement_lane" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/scaps-mirror-frozen-ion-ss", + "value_sha256": "2ec9e046af69a6090c9015d5b215c937e68429e83b1d87e96a559f188bad3093" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "_observable_delta" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "evaluate_numerical_certificate" + } + ], + "negative_only_descriptor_rule_ids": [], + "source_quantitative_assertion_ids_for_scope_audit": [], + "rule_ids": [ + "M_payload", + "original-lane-5547d9e78904e730" + ], + "citations": [ + { + "source_id": "original_lane_registry" + }, + { + "source_id": "lane_evaluator", + "symbol": "_observable_delta", + "lines": [ + 1216, + 1237 + ], + "text_sha256": "557a020088ea7e807d4ea24c0b15565c5db7a58094191089a049cb318f78611c" + }, + { + "source_id": "lane_evaluator", + "lines": [ + 352, + 357 + ], + "text_sha256": "8c1783d9e0db3cfb5f3bbd08e5ce429374ca2558c13e374999a4afe1a5383179" + } + ], + "remaining_inputs": [ + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/lane-5547d9e78904e730/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + } + ], + "downstream_tasks": [ + "P00-03", + "P03-06", + "P04-05", + "P04-06", + "P09-01" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "original_numeric_definition": { + "status": "complete_for_original_named_contract_only", + "target": "lane:scaps-mirror-frozen-ion-ss", + "rule_group_id": "original-lane-5547d9e78904e730", + "original_rules_sha256": "82f2996c7acd4dc8f667d19c8ca1a6eca20cb8f60d57c680bab49f7ec0262a1b", + "parameters": "Resolve quantities/units/limits through this unchanged rule group and the original RefactorComparisonMapV1.rule_catalog bindings; no constants are copied or changed.", + "registry_binding": { + "source_id": "original_lane_registry", + "pointer": "/lanes/scaps-mirror-frozen-ion-ss", + "value_sha256": "2ec9e046af69a6090c9015d5b215c937e68429e83b1d87e96a559f188bad3093" + }, + "operators": { + "absolute_linf": [ + "rule-8e8123b7826062a8ee55f217", + "rule-dda3c703724fd33cbf32fa5c" + ], + "relative_linf": [ + "rule-0aba7323277c3fb3f1dd1732", + "rule-82d373ef2a180fc1d8512269", + "rule-f5ffde0e498815f5fa1af9f3" + ], + "pointwise_relative_linf": [], + "le": [ + "rule-77805b408cdf8af8e5a03759", + "rule-3c01f128cd7da9883d67481d", + "rule-efa560b2ed3c1bbcc06f9f0e" + ], + "ge": [], + "eq": [ + "rule-c92cc67a39dc52d749827d2d", + "rule-e71d78fa33b69c4deffefea8" + ] + }, + "absolute_rule_scale": "not_used: original absolute_linf and scalar le/ge/eq predicates already have dimensional limits; no reference amplitude is a missing parameter", + "source_operator_semantics": { + "absolute_linf": "max absolute difference of the original ordered metric values", + "le": "value<=original limit", + "ge": "value>=original limit", + "eq": "value==original limit" + }, + "original_relative_rules": "Existing symmetric/floor evaluator behavior is retained only by source binding, not rewritten as a new reference-scaled formula.", + "original_relative_or_linear_phase_not_direct_N": [ + "rule-0aba7323277c3fb3f1dd1732", + "rule-82d373ef2a180fc1d8512269", + "rule-f5ffde0e498815f5fa1af9f3" + ], + "measurement_inputs_pending": [ + "Exact original ordered metric vectors and named quality values, lane grid/tolerance/protocol/input identity; original numeric definitions are already specified" + ], + "remaining_numeric_parameters_for_original_target": [], + "new_N_applicability_approved": false, + "eligibility": { + "reference_error_bound": null, + "reference_qualified": false, + "active_comparison": null, + "default_reference_error_share": "1/3", + "stronger_channel_and_1_12_allocations_retained": true, + "numeric_definition_is_not_reference_eligibility": true + } + }, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-lane-5547d9e78904e730" + }, + "scope_specific_prior_gaps": [ + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/lane-5547d9e78904e730/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [ + { + "rule_id": "rule-0aba7323277c3fb3f1dd1732", + "needed": "Source-justified reference/input scale and zero/circular-phase rule before any N reuse; retain the original named comparator unchanged" + }, + { + "rule_id": "rule-82d373ef2a180fc1d8512269", + "needed": "Source-justified reference/input scale and zero/circular-phase rule before any N reuse; retain the original named comparator unchanged" + }, + { + "rule_id": "rule-f5ffde0e498815f5fa1af9f3", + "needed": "Source-justified reference/input scale and zero/circular-phase rule before any N reuse; retain the original named comparator unchanged" + } + ], + "current_numeric_status": "original_named_contract_complete" + } + }, + { + "id": "scope-lane-0350f1d065d6fedc", + "capability_id": "lane-0350f1d065d6fedc", + "route_id": "route-1af17bb46d9794d0", + "origin_key": "lane:single-ion-algebraic-interface-dae-transient-resolved-v2", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "original_refinement_lane" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/single-ion-algebraic-interface-dae-transient-resolved-v2", + "value_sha256": "876b57cfce93f0d4dd1e44eb7d10d488a0796b4baf565185764bc0d83e41685c" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "_observable_delta" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "evaluate_numerical_certificate" + } + ], + "negative_only_descriptor_rule_ids": [], + "source_quantitative_assertion_ids_for_scope_audit": [], + "rule_ids": [ + "M_payload", + "original-lane-0350f1d065d6fedc" + ], + "citations": [ + { + "source_id": "original_lane_registry" + }, + { + "source_id": "lane_evaluator", + "symbol": "_observable_delta", + "lines": [ + 1216, + 1237 + ], + "text_sha256": "557a020088ea7e807d4ea24c0b15565c5db7a58094191089a049cb318f78611c" + }, + { + "source_id": "lane_evaluator", + "lines": [ + 352, + 357 + ], + "text_sha256": "8c1783d9e0db3cfb5f3bbd08e5ce429374ca2558c13e374999a4afe1a5383179" + } + ], + "remaining_inputs": [ + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/lane-0350f1d065d6fedc/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + } + ], + "downstream_tasks": [ + "P00-03", + "P03-06", + "P04-05", + "P04-06", + "P09-01" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "original_numeric_definition": { + "status": "complete_for_original_named_contract_only", + "target": "lane:single-ion-algebraic-interface-dae-transient-resolved-v2", + "rule_group_id": "original-lane-0350f1d065d6fedc", + "original_rules_sha256": "539dec25c83e89cb02a5f618adec2792bb5ed5cd3418a3cde6c7603b68914c8f", + "parameters": "Resolve quantities/units/limits through this unchanged rule group and the original RefactorComparisonMapV1.rule_catalog bindings; no constants are copied or changed.", + "registry_binding": { + "source_id": "original_lane_registry", + "pointer": "/lanes/single-ion-algebraic-interface-dae-transient-resolved-v2", + "value_sha256": "876b57cfce93f0d4dd1e44eb7d10d488a0796b4baf565185764bc0d83e41685c" + }, + "operators": { + "absolute_linf": [ + "rule-12e734946179120c86ae94d6", + "rule-f6b4655c0b9f6df763e36b9b", + "rule-f65408849492d462987345b8", + "rule-b773babfe18004036ec95109", + "rule-7dcf71ba4e3faad850e749ee", + "rule-acfa25d072e112a3dcf4d1d0", + "rule-f218fe2267014a6101e1a3ed", + "rule-82a9fe1187f22f07449c8e8f" + ], + "relative_linf": [], + "pointwise_relative_linf": [ + "rule-1ee0c78a0f757689b545e2e8" + ], + "le": [ + "rule-6d56cae3abd7a9b777cf3c8f", + "rule-2ff7746385090be0b1dce791", + "rule-24465960a68364077ef5d70a", + "rule-22ade0ae89870d233fdce80a", + "rule-66433b13dc2eaf0da7b53391", + "rule-3a471ee72d60789125d1645f", + "rule-3d796fcf7d7810438daa9d5c", + "rule-5b3ac80dcba85068ae80beeb", + "rule-780b27460304ddc0878a1ec8", + "rule-ab2749a6266ad23952f8a192", + "rule-25880455bb737c02b6f3b6ef", + "rule-78637d98c1813a6bedc3fb4b", + "rule-471aa9f41b4c383bf4ad4d4c", + "rule-4ef9a7c0aaa67833d04e8606", + "rule-f7a3a823bc746c00a461b319", + "rule-616debbd3a114a7d0a32c49f", + "rule-dd7881cadd69e555bf0ea62b", + "rule-6094f6c8f5379734b7ee937e", + "rule-b69aed4a9488566b29a4c2e1", + "rule-41d61f9a5f3cc4c25c7bd8cb" + ], + "ge": [ + "rule-424ac372ac919ca7db1c760b", + "rule-233d2f59ea00f367ada628e8" + ], + "eq": [ + "rule-ee24fb3fd352d704870d7848", + "rule-0bebe80a12462a4337f21bbb", + "rule-b3f03207d7054ddf8d4e2b84", + "rule-029e5bc357714e0b7c8372d3", + "rule-5dae55809693fb6396d848b2", + "rule-e81919bfc06eef31d843c064", + "rule-be0479e48c9c6b0fcd858b8e", + "rule-03551ad4588a9863e3874320", + "rule-e24af5bc25e8cd4c2efb2f23", + "rule-6b4886ce456ecccfb78a9679", + "rule-0c618d92d310883de99b92fe", + "rule-67e290b44f6f84078ad9996a" + ] + }, + "absolute_rule_scale": "not_used: original absolute_linf and scalar le/ge/eq predicates already have dimensional limits; no reference amplitude is a missing parameter", + "source_operator_semantics": { + "absolute_linf": "max absolute difference of the original ordered metric values", + "le": "value<=original limit", + "ge": "value>=original limit", + "eq": "value==original limit" + }, + "original_relative_rules": "Existing symmetric/floor evaluator behavior is retained only by source binding, not rewritten as a new reference-scaled formula.", + "original_relative_or_linear_phase_not_direct_N": [ + "rule-1ee0c78a0f757689b545e2e8" + ], + "measurement_inputs_pending": [ + "Exact original ordered metric vectors and named quality values, lane grid/tolerance/protocol/input identity; original numeric definitions are already specified" + ], + "remaining_numeric_parameters_for_original_target": [], + "new_N_applicability_approved": false, + "eligibility": { + "reference_error_bound": null, + "reference_qualified": false, + "active_comparison": null, + "default_reference_error_share": "1/3", + "stronger_channel_and_1_12_allocations_retained": true, + "numeric_definition_is_not_reference_eligibility": true + } + }, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-lane-0350f1d065d6fedc" + }, + "scope_specific_prior_gaps": [ + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/lane-0350f1d065d6fedc/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [ + { + "rule_id": "rule-1ee0c78a0f757689b545e2e8", + "needed": "Source-justified reference/input scale and zero/circular-phase rule before any N reuse; retain the original named comparator unchanged" + } + ], + "current_numeric_status": "original_named_contract_complete" + } + }, + { + "id": "scope-lane-1816209e76bb9ac0", + "capability_id": "lane-1816209e76bb9ac0", + "route_id": "route-1af17bb46d9794d0", + "origin_key": "lane:single-ion-algebraic-interface-dae-transient-v1", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "original_refinement_lane" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/single-ion-algebraic-interface-dae-transient-v1", + "value_sha256": "4c36ad1781466908573b4cf967e2d791d66a3eff8091989de2a8364ff641c7cb" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "_observable_delta" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "evaluate_numerical_certificate" + } + ], + "negative_only_descriptor_rule_ids": [], + "source_quantitative_assertion_ids_for_scope_audit": [], + "rule_ids": [ + "M_payload", + "original-lane-1816209e76bb9ac0" + ], + "citations": [ + { + "source_id": "original_lane_registry" + }, + { + "source_id": "lane_evaluator", + "symbol": "_observable_delta", + "lines": [ + 1216, + 1237 + ], + "text_sha256": "557a020088ea7e807d4ea24c0b15565c5db7a58094191089a049cb318f78611c" + }, + { + "source_id": "lane_evaluator", + "lines": [ + 352, + 357 + ], + "text_sha256": "8c1783d9e0db3cfb5f3bbd08e5ce429374ca2558c13e374999a4afe1a5383179" + } + ], + "remaining_inputs": [ + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/lane-1816209e76bb9ac0/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + } + ], + "downstream_tasks": [ + "P00-03", + "P03-06", + "P04-05", + "P04-06", + "P09-01" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "original_numeric_definition": { + "status": "complete_for_original_named_contract_only", + "target": "lane:single-ion-algebraic-interface-dae-transient-v1", + "rule_group_id": "original-lane-1816209e76bb9ac0", + "original_rules_sha256": "121778bfd160388562931600e991159c4ec9cf828986a59378ba6a201d5c0de6", + "parameters": "Resolve quantities/units/limits through this unchanged rule group and the original RefactorComparisonMapV1.rule_catalog bindings; no constants are copied or changed.", + "registry_binding": { + "source_id": "original_lane_registry", + "pointer": "/lanes/single-ion-algebraic-interface-dae-transient-v1", + "value_sha256": "4c36ad1781466908573b4cf967e2d791d66a3eff8091989de2a8364ff641c7cb" + }, + "operators": { + "absolute_linf": [ + "rule-2357879a230eb20b91951d6a", + "rule-8353fdb92b54c5951f54749f", + "rule-78e59ae406939ef71afedf9d", + "rule-5a7d65cdc796924ef9940692", + "rule-72bee9995f5c463892096431", + "rule-0c0909ecde5c86da6b241d6c", + "rule-ee5fd74b8cdeda2da7ff48e5", + "rule-5ae1e38e279cf8c7c0eb0888" + ], + "relative_linf": [], + "pointwise_relative_linf": [ + "rule-056d242d576df0058a01e763" + ], + "le": [ + "rule-f8ae8064921492db89d67869", + "rule-13d7f0bcfc53c52344d4db4c", + "rule-c9752d84bb353362ff793142", + "rule-ca66e700c23f32158855cb23", + "rule-355711d1aa1cbd2238d2f767", + "rule-a4a6c2550df54d48c00b25f1", + "rule-6f78f2bde59d448479fbddbc", + "rule-ba179011e6263ad5fbec47f2", + "rule-61a1ba467dbb09e3ad39146d", + "rule-87191afb20ff39bc09315003", + "rule-f176fefef9cf266262d9c7a6", + "rule-84fb0acc60afdba722ee615f", + "rule-775969e1d70ffd235a03bb56", + "rule-3d314b7f89dbd92cc865b96c", + "rule-e0626620ba72842e9ddfec4e", + "rule-159d525e9717df485621fac6", + "rule-00c9c680eaf9b437382d79e0", + "rule-38ce219811195841f625c7d9", + "rule-217e6d9870b5e76eb1ce0af3", + "rule-310a1077a0c5287276ecdf00" + ], + "ge": [ + "rule-07ab10388145fd168ab79742", + "rule-f45974030f31b16631b72d1d" + ], + "eq": [ + "rule-5eb941b91de8a1936636e6bc", + "rule-fe675409476b45338224597f", + "rule-e6eed5b94528a7e12c721923", + "rule-ce05cbbf43e5e2fbd1f520dc", + "rule-b831a827e56c8ef959b1c9bf", + "rule-533c6beff6d58129ec425e82", + "rule-ffa811517820352a2e869017", + "rule-1a7934aaaf7770e0509f7dc3", + "rule-2857e44fac5584a8517819bc", + "rule-13926f3de8d684c889fc4943", + "rule-340a01279c12d4dd131fbca2", + "rule-afcf12bdde8f6ea374bd7b69" + ] + }, + "absolute_rule_scale": "not_used: original absolute_linf and scalar le/ge/eq predicates already have dimensional limits; no reference amplitude is a missing parameter", + "source_operator_semantics": { + "absolute_linf": "max absolute difference of the original ordered metric values", + "le": "value<=original limit", + "ge": "value>=original limit", + "eq": "value==original limit" + }, + "original_relative_rules": "Existing symmetric/floor evaluator behavior is retained only by source binding, not rewritten as a new reference-scaled formula.", + "original_relative_or_linear_phase_not_direct_N": [ + "rule-056d242d576df0058a01e763" + ], + "measurement_inputs_pending": [ + "Exact original ordered metric vectors and named quality values, lane grid/tolerance/protocol/input identity; original numeric definitions are already specified" + ], + "remaining_numeric_parameters_for_original_target": [], + "new_N_applicability_approved": false, + "eligibility": { + "reference_error_bound": null, + "reference_qualified": false, + "active_comparison": null, + "default_reference_error_share": "1/3", + "stronger_channel_and_1_12_allocations_retained": true, + "numeric_definition_is_not_reference_eligibility": true + } + }, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-lane-1816209e76bb9ac0" + }, + "scope_specific_prior_gaps": [ + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/lane-1816209e76bb9ac0/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [ + { + "rule_id": "rule-056d242d576df0058a01e763", + "needed": "Source-justified reference/input scale and zero/circular-phase rule before any N reuse; retain the original named comparator unchanged" + } + ], + "current_numeric_status": "original_named_contract_complete" + } + }, + { + "id": "scope-lane-db596cd22f67423d", + "capability_id": "lane-db596cd22f67423d", + "route_id": "route-1af17bb46d9794d0", + "origin_key": "lane:single-positive-ion-dae-transient-v1", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "original_refinement_lane" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/single-positive-ion-dae-transient-v1", + "value_sha256": "69c04be8c649fa042496857608f40b272b0f51be6d60ebb1ef23d4abd91ad50d" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "_observable_delta" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "evaluate_numerical_certificate" + } + ], + "negative_only_descriptor_rule_ids": [], + "source_quantitative_assertion_ids_for_scope_audit": [], + "rule_ids": [ + "M_payload", + "original-lane-db596cd22f67423d" + ], + "citations": [ + { + "source_id": "original_lane_registry" + }, + { + "source_id": "lane_evaluator", + "symbol": "_observable_delta", + "lines": [ + 1216, + 1237 + ], + "text_sha256": "557a020088ea7e807d4ea24c0b15565c5db7a58094191089a049cb318f78611c" + }, + { + "source_id": "lane_evaluator", + "lines": [ + 352, + 357 + ], + "text_sha256": "8c1783d9e0db3cfb5f3bbd08e5ce429374ca2558c13e374999a4afe1a5383179" + } + ], + "remaining_inputs": [ + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/lane-db596cd22f67423d/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + } + ], + "downstream_tasks": [ + "P00-03", + "P03-06", + "P04-05", + "P04-06", + "P09-01" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "original_numeric_definition": { + "status": "complete_for_original_named_contract_only", + "target": "lane:single-positive-ion-dae-transient-v1", + "rule_group_id": "original-lane-db596cd22f67423d", + "original_rules_sha256": "d79d6df269fe4eac1a2187d136edad3c0711f220a82eccb84254b0b1a2cec070", + "parameters": "Resolve quantities/units/limits through this unchanged rule group and the original RefactorComparisonMapV1.rule_catalog bindings; no constants are copied or changed.", + "registry_binding": { + "source_id": "original_lane_registry", + "pointer": "/lanes/single-positive-ion-dae-transient-v1", + "value_sha256": "69c04be8c649fa042496857608f40b272b0f51be6d60ebb1ef23d4abd91ad50d" + }, + "operators": { + "absolute_linf": [ + "rule-603c5988adf8ece1b3d30201", + "rule-73d989d998b5c3d1cd26fa09", + "rule-e4f65e9afc16543a29da3a91", + "rule-e8dacc813d4d60a73c7d2b35", + "rule-e44610a2f264f9043c30a87c", + "rule-1e8592a6c6e545f628686a21" + ], + "relative_linf": [], + "pointwise_relative_linf": [], + "le": [ + "rule-3c3d9305037df2d8ce065b39", + "rule-7cccd768b9cf1e9e2a3acbe3", + "rule-2aee751f7cd9173f6654047f", + "rule-2cdcc7bdc93c272f389a3dcd", + "rule-a5c80616a3351ac42e115662", + "rule-4845b46d97e92e95688da6b4", + "rule-d0252969c1c306ea717969fb", + "rule-6685df2731279f8ba8c945ea", + "rule-d29566528551522ad65239c7", + "rule-cf037877fe34e91682b3e29e", + "rule-46a8d04076b1b791320e5b01", + "rule-a7a13a0882eb3e261b982f57", + "rule-eb8e327eb5e7820cb612d56e", + "rule-0310d9fb03f7b7e96d5e2705", + "rule-c8019933cf1c041c479620b8", + "rule-c814246aea0faec7632b06da" + ], + "ge": [ + "rule-ced97a4e5742851ed82d8c42" + ], + "eq": [ + "rule-2b4481e0b3fa2122a13f3bc8", + "rule-53c68546ecf1a8ff72780d66", + "rule-2fd11f67bbb5d09dfc2c82b5", + "rule-9a116d13c56666e5975ce321", + "rule-e81adf780bffba6798ad7818", + "rule-1ac71b0fe9b8cfbbc7f376a5", + "rule-4cbac9c1f5e5c6083a2bbb2f", + "rule-a4287217fdbfc2aeaac6c4ec", + "rule-3f391f22f9f97b04a84d9c52", + "rule-0a9707ddcdd8f55557afd348" + ] + }, + "absolute_rule_scale": "not_used: original absolute_linf and scalar le/ge/eq predicates already have dimensional limits; no reference amplitude is a missing parameter", + "source_operator_semantics": { + "absolute_linf": "max absolute difference of the original ordered metric values", + "le": "value<=original limit", + "ge": "value>=original limit", + "eq": "value==original limit" + }, + "original_relative_rules": "Existing symmetric/floor evaluator behavior is retained only by source binding, not rewritten as a new reference-scaled formula.", + "original_relative_or_linear_phase_not_direct_N": [], + "measurement_inputs_pending": [ + "Exact original ordered metric vectors and named quality values, lane grid/tolerance/protocol/input identity; original numeric definitions are already specified" + ], + "remaining_numeric_parameters_for_original_target": [], + "new_N_applicability_approved": false, + "eligibility": { + "reference_error_bound": null, + "reference_qualified": false, + "active_comparison": null, + "default_reference_error_share": "1/3", + "stronger_channel_and_1_12_allocations_retained": true, + "numeric_definition_is_not_reference_eligibility": true + } + }, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-lane-db596cd22f67423d" + }, + "scope_specific_prior_gaps": [ + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/lane-db596cd22f67423d/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [], + "current_numeric_status": "original_named_contract_complete" + } + }, + { + "id": "scope-lane-ea8013ec21a124fd", + "capability_id": "lane-ea8013ec21a124fd", + "route_id": "route-7ae47088bbed9ed7", + "origin_key": "lane:spatially-graded-explicit-defect-qf-dc-v1", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "original_refinement_lane" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/spatially-graded-explicit-defect-qf-dc-v1", + "value_sha256": "713f69658e1f2344e2dc592f1520497e0c3a808b627b6507eae4e92fb3c28f9d" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "_observable_delta" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "evaluate_numerical_certificate" + } + ], + "negative_only_descriptor_rule_ids": [], + "source_quantitative_assertion_ids_for_scope_audit": [], + "rule_ids": [ + "M_payload", + "original-lane-ea8013ec21a124fd" + ], + "citations": [ + { + "source_id": "original_lane_registry" + }, + { + "source_id": "lane_evaluator", + "symbol": "_observable_delta", + "lines": [ + 1216, + 1237 + ], + "text_sha256": "557a020088ea7e807d4ea24c0b15565c5db7a58094191089a049cb318f78611c" + }, + { + "source_id": "lane_evaluator", + "lines": [ + 352, + 357 + ], + "text_sha256": "8c1783d9e0db3cfb5f3bbd08e5ce429374ca2558c13e374999a4afe1a5383179" + } + ], + "remaining_inputs": [ + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/lane-ea8013ec21a124fd/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + } + ], + "downstream_tasks": [ + "P00-03", + "P03-06", + "P04-10", + "P09-01" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "original_numeric_definition": { + "status": "complete_for_original_named_contract_only", + "target": "lane:spatially-graded-explicit-defect-qf-dc-v1", + "rule_group_id": "original-lane-ea8013ec21a124fd", + "original_rules_sha256": "c04b126aa0cf4fcfe002d1a0e60b488fd658f3611333387b35dad61daf1c2178", + "parameters": "Resolve quantities/units/limits through this unchanged rule group and the original RefactorComparisonMapV1.rule_catalog bindings; no constants are copied or changed.", + "registry_binding": { + "source_id": "original_lane_registry", + "pointer": "/lanes/spatially-graded-explicit-defect-qf-dc-v1", + "value_sha256": "713f69658e1f2344e2dc592f1520497e0c3a808b627b6507eae4e92fb3c28f9d" + }, + "operators": { + "absolute_linf": [ + "rule-350c26491c206657e1b239bd", + "rule-69ca32ee0c23605cdb8b2b58", + "rule-44fd33206d1d2cd032a4f89b", + "rule-1dd0a3992196264182ba1850", + "rule-ad414809cbf0c05172a40d34", + "rule-7ea22e95ac5e477fe32c9df3", + "rule-38bd9d997a804767fe4ce81a", + "rule-0b64670cda2f5f412084095f", + "rule-5d5d73aac8e26fa489bf3c87", + "rule-2db597a82f2e615f1a332bcc" + ], + "relative_linf": [ + "rule-e4255e6dec5c4af3249b12f9", + "rule-e2727348fe87da0a6ca1cae7", + "rule-eaf07eacb44adc070a1f3648" + ], + "pointwise_relative_linf": [], + "le": [ + "rule-b50b4058d41dae8ead9c01ff", + "rule-c187c0e86f5cd0098383b4e4", + "rule-7556266eb75ab24e4f237074", + "rule-9681eb25004187c91a628421", + "rule-2e4bfdf175b5a35b987f0708", + "rule-506cb4acef893d714136aa36", + "rule-bf9a07181971a72977679088", + "rule-3e8d524080c806a7be70f6a7", + "rule-bb9a4a849577052fbf344dab", + "rule-1d60b1ce12e2201bd5a9a58e", + "rule-100c4df821cd7759ff661e6e", + "rule-60325b9deaf7f1c046849e4f", + "rule-3e9147fc8392a1e7c40842ed", + "rule-0ec4bd9b4188ae6af13d4bb8", + "rule-d0b866ce13f03b425fe03412", + "rule-2bbdcfd62c45fbdb83e10dc2", + "rule-2faf4c40e00861be5b5de30b", + "rule-ea05d1fdf588d283c8296690" + ], + "ge": [ + "rule-109279ed677db5cd885b0906", + "rule-caa8a2aa953f34e497713d0d", + "rule-db0765ff89f23bbc7fe017a1", + "rule-e4a50a79e96a9cda2d6105ca" + ], + "eq": [ + "rule-47cfee98917068227205793d", + "rule-462b303d81b95d6519eed703", + "rule-6d0fa75543d4ab4bc3c19574", + "rule-9f6e0f69cc5a8369492c89eb", + "rule-fd9974513665d1585181b9b1", + "rule-04933f7a582cd56e7869b645", + "rule-34f628efec0f41cbd485c252", + "rule-0cd5ee5a2b61292bd9abe134", + "rule-6437832f7258363102576ec1", + "rule-8b18fe9ab80fc07b5a661458", + "rule-e0b18802aff59674d893361e", + "rule-46db4835b42843ded35e9cd6", + "rule-dbe975b42fa157bbf2c0d909", + "rule-3da0af6c9f68dfa1348e53dd" + ] + }, + "absolute_rule_scale": "not_used: original absolute_linf and scalar le/ge/eq predicates already have dimensional limits; no reference amplitude is a missing parameter", + "source_operator_semantics": { + "absolute_linf": "max absolute difference of the original ordered metric values", + "le": "value<=original limit", + "ge": "value>=original limit", + "eq": "value==original limit" + }, + "original_relative_rules": "Existing symmetric/floor evaluator behavior is retained only by source binding, not rewritten as a new reference-scaled formula.", + "original_relative_or_linear_phase_not_direct_N": [ + "rule-e4255e6dec5c4af3249b12f9", + "rule-e2727348fe87da0a6ca1cae7", + "rule-eaf07eacb44adc070a1f3648" + ], + "measurement_inputs_pending": [ + "Exact original ordered metric vectors and named quality values, lane grid/tolerance/protocol/input identity; original numeric definitions are already specified" + ], + "remaining_numeric_parameters_for_original_target": [], + "new_N_applicability_approved": false, + "eligibility": { + "reference_error_bound": null, + "reference_qualified": false, + "active_comparison": null, + "default_reference_error_share": "1/3", + "stronger_channel_and_1_12_allocations_retained": true, + "numeric_definition_is_not_reference_eligibility": true + } + }, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-lane-ea8013ec21a124fd" + }, + "scope_specific_prior_gaps": [ + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/lane-ea8013ec21a124fd/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [ + { + "rule_id": "rule-e4255e6dec5c4af3249b12f9", + "needed": "Source-justified reference/input scale and zero/circular-phase rule before any N reuse; retain the original named comparator unchanged" + }, + { + "rule_id": "rule-e2727348fe87da0a6ca1cae7", + "needed": "Source-justified reference/input scale and zero/circular-phase rule before any N reuse; retain the original named comparator unchanged" + }, + { + "rule_id": "rule-eaf07eacb44adc070a1f3648", + "needed": "Source-justified reference/input scale and zero/circular-phase rule before any N reuse; retain the original named comparator unchanged" + } + ], + "current_numeric_status": "original_named_contract_complete" + } + }, + { + "id": "scope-lane-b6717f964e395329", + "capability_id": "lane-b6717f964e395329", + "route_id": "route-7ae47088bbed9ed7", + "origin_key": "lane:spatially-graded-explicit-defect-qf-dc-v2", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "original_refinement_lane" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/spatially-graded-explicit-defect-qf-dc-v2", + "value_sha256": "8b82e94fc460cb5853af56ceeb89b7b097b3592c0381af627e02d22e354ffe2d" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "_observable_delta" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "evaluate_numerical_certificate" + } + ], + "negative_only_descriptor_rule_ids": [], + "source_quantitative_assertion_ids_for_scope_audit": [], + "rule_ids": [ + "M_payload", + "original-lane-b6717f964e395329" + ], + "citations": [ + { + "source_id": "original_lane_registry" + }, + { + "source_id": "lane_evaluator", + "symbol": "_observable_delta", + "lines": [ + 1216, + 1237 + ], + "text_sha256": "557a020088ea7e807d4ea24c0b15565c5db7a58094191089a049cb318f78611c" + }, + { + "source_id": "lane_evaluator", + "lines": [ + 352, + 357 + ], + "text_sha256": "8c1783d9e0db3cfb5f3bbd08e5ce429374ca2558c13e374999a4afe1a5383179" + } + ], + "remaining_inputs": [ + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/lane-b6717f964e395329/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + } + ], + "downstream_tasks": [ + "P00-03", + "P03-06", + "P04-10", + "P09-01" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "original_numeric_definition": { + "status": "complete_for_original_named_contract_only", + "target": "lane:spatially-graded-explicit-defect-qf-dc-v2", + "rule_group_id": "original-lane-b6717f964e395329", + "original_rules_sha256": "660beced14a37837fdb08a4f44fc1b9e18afa65727cc5d9ef81ddcaf045abbcb", + "parameters": "Resolve quantities/units/limits through this unchanged rule group and the original RefactorComparisonMapV1.rule_catalog bindings; no constants are copied or changed.", + "registry_binding": { + "source_id": "original_lane_registry", + "pointer": "/lanes/spatially-graded-explicit-defect-qf-dc-v2", + "value_sha256": "8b82e94fc460cb5853af56ceeb89b7b097b3592c0381af627e02d22e354ffe2d" + }, + "operators": { + "absolute_linf": [ + "rule-599495db034980415df3ef77", + "rule-e53f6b9ff728448d3dee8742", + "rule-6057fec66438774089529ae5", + "rule-c7e76cf94de5adf9769c4abd", + "rule-ffd68c9cda8ec5e52ade759d", + "rule-3b3c761ed0654e69c889c733", + "rule-5696b4b75ccd073228d64047", + "rule-ef3195e79db7728095d5173c", + "rule-cec4cf36f53e9d5da02bd8ed", + "rule-0f5046ca24b01bdf8a20d73e" + ], + "relative_linf": [ + "rule-a96e77576c295f31e186852a", + "rule-fca70b3d2e22c65ebbed0659", + "rule-a5568ac78b5a6fe794e00c71" + ], + "pointwise_relative_linf": [], + "le": [ + "rule-b9b144ad4fbd4464c52cceb9", + "rule-2c4f1d10f724024f810c35ba", + "rule-2eb45091a5046caf3c4782a3", + "rule-e318afd02ee46487a3d56de0", + "rule-7741bd8893d226145d130e3c", + "rule-18631ad599e4913f1885586d", + "rule-a7bb37b00c7c30bd7b3d685c", + "rule-9c29e29809829601e5f8a9a3", + "rule-47df80ccf79ba4fbc91cb28f", + "rule-2376c1d60b18e56fda7d1d01", + "rule-2b3c5dd80f60e7889ddf31eb", + "rule-49fd4bc7c60bf99072ed46db", + "rule-3b82effb0b578b3978052619", + "rule-123af95150ee827ef90217b2", + "rule-076b5e6307485f9690d5f165", + "rule-489d70966723b90f38bbec35", + "rule-57811c18c6367bc0949b9024", + "rule-d4e470cffaa37b4b18de4d38" + ], + "ge": [ + "rule-66c2a573ee2ba4ee07661a03", + "rule-ab9cb61f75054a389c68d11f", + "rule-cb70a871dd0b254b36392b16", + "rule-5ce83a554b6a61d95659a383" + ], + "eq": [ + "rule-e966f6023c396c660acf200b", + "rule-416fdf3deb7c05bfa83d6c88", + "rule-35ab6810183866af90647a94", + "rule-b065212c31dfd26300b2b8c0", + "rule-e9052071258766df7fc894bf", + "rule-c3bfb64d788ba6354bfb6f34", + "rule-924dfd6810c8458fb14e055e", + "rule-3ca06db69953bd7de2e9fa4a", + "rule-ed080bb5333091392be55550", + "rule-2a4d009e4c446319a693cf1e", + "rule-57ea2c4edc03c1e52a3f2a40", + "rule-6965da0953c0dd8860494484", + "rule-887886d2f300cd65222166ec", + "rule-0219217404fb81a0eda702e6" + ] + }, + "absolute_rule_scale": "not_used: original absolute_linf and scalar le/ge/eq predicates already have dimensional limits; no reference amplitude is a missing parameter", + "source_operator_semantics": { + "absolute_linf": "max absolute difference of the original ordered metric values", + "le": "value<=original limit", + "ge": "value>=original limit", + "eq": "value==original limit" + }, + "original_relative_rules": "Existing symmetric/floor evaluator behavior is retained only by source binding, not rewritten as a new reference-scaled formula.", + "original_relative_or_linear_phase_not_direct_N": [ + "rule-a96e77576c295f31e186852a", + "rule-fca70b3d2e22c65ebbed0659", + "rule-a5568ac78b5a6fe794e00c71" + ], + "measurement_inputs_pending": [ + "Exact original ordered metric vectors and named quality values, lane grid/tolerance/protocol/input identity; original numeric definitions are already specified" + ], + "remaining_numeric_parameters_for_original_target": [], + "new_N_applicability_approved": false, + "eligibility": { + "reference_error_bound": null, + "reference_qualified": false, + "active_comparison": null, + "default_reference_error_share": "1/3", + "stronger_channel_and_1_12_allocations_retained": true, + "numeric_definition_is_not_reference_eligibility": true + } + }, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-lane-b6717f964e395329" + }, + "scope_specific_prior_gaps": [ + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/lane-b6717f964e395329/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [ + { + "rule_id": "rule-a96e77576c295f31e186852a", + "needed": "Source-justified reference/input scale and zero/circular-phase rule before any N reuse; retain the original named comparator unchanged" + }, + { + "rule_id": "rule-fca70b3d2e22c65ebbed0659", + "needed": "Source-justified reference/input scale and zero/circular-phase rule before any N reuse; retain the original named comparator unchanged" + }, + { + "rule_id": "rule-a5568ac78b5a6fe794e00c71", + "needed": "Source-justified reference/input scale and zero/circular-phase rule before any N reuse; retain the original named comparator unchanged" + } + ], + "current_numeric_status": "original_named_contract_complete" + } + }, + { + "id": "scope-lane-13c1b80fd89d147a", + "capability_id": "lane-13c1b80fd89d147a", + "route_id": "route-1af17bb46d9794d0", + "origin_key": "lane:twod-mobile-ion-interface-srh-v1", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "original_refinement_lane" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/twod-mobile-ion-interface-srh-v1", + "value_sha256": "33eaa103ef17f55707e676bdab11689f7396df86cdc67e403b401395b5d2cdb8" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "_observable_delta" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "evaluate_numerical_certificate" + } + ], + "negative_only_descriptor_rule_ids": [], + "source_quantitative_assertion_ids_for_scope_audit": [], + "rule_ids": [ + "M_payload", + "original-lane-13c1b80fd89d147a" + ], + "citations": [ + { + "source_id": "original_lane_registry" + }, + { + "source_id": "lane_evaluator", + "symbol": "_observable_delta", + "lines": [ + 1216, + 1237 + ], + "text_sha256": "557a020088ea7e807d4ea24c0b15565c5db7a58094191089a049cb318f78611c" + }, + { + "source_id": "lane_evaluator", + "lines": [ + 352, + 357 + ], + "text_sha256": "8c1783d9e0db3cfb5f3bbd08e5ce429374ca2558c13e374999a4afe1a5383179" + } + ], + "remaining_inputs": [ + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/lane-13c1b80fd89d147a/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + } + ], + "downstream_tasks": [ + "P00-03", + "P03-06", + "P04-05", + "P04-06", + "P09-01" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "original_numeric_definition": { + "status": "complete_for_original_named_contract_only", + "target": "lane:twod-mobile-ion-interface-srh-v1", + "rule_group_id": "original-lane-13c1b80fd89d147a", + "original_rules_sha256": "82d93b271419abf6e7c36c427e40ca488e7d4406dd5a3aad2a9cf2750241b12b", + "parameters": "Resolve quantities/units/limits through this unchanged rule group and the original RefactorComparisonMapV1.rule_catalog bindings; no constants are copied or changed.", + "registry_binding": { + "source_id": "original_lane_registry", + "pointer": "/lanes/twod-mobile-ion-interface-srh-v1", + "value_sha256": "33eaa103ef17f55707e676bdab11689f7396df86cdc67e403b401395b5d2cdb8" + }, + "operators": { + "absolute_linf": [ + "rule-4e00bd7c43a88f316645aed6", + "rule-86a671b77bb154b6ff4a05fe", + "rule-d21e16329274c8f20ec383b1", + "rule-b9981c1e4bf1ab0decfe0486", + "rule-0288b96c57c02d1909304abb" + ], + "relative_linf": [], + "pointwise_relative_linf": [], + "le": [ + "rule-834cba93c1852138bca4c02f", + "rule-ba3baa596bff4ecef2e4835e", + "rule-429cf1f06685d1b72d329b6c", + "rule-89d109b9b2fa4f40f7aff53c" + ], + "ge": [ + "rule-26c9a90feaf283167fad66f0", + "rule-e1e74054569b60184c8cdf8b" + ], + "eq": [ + "rule-fcae8dd5ff230bbaf5f4b408", + "rule-a39dec7b8b2ff5aa2fb7f424", + "rule-34c85324203135d657a732ab", + "rule-9129d2c415b2ae3b4d1479f5", + "rule-99d0752e0bf2b7897969ce8b", + "rule-48b4f888f16313aca0c9e348", + "rule-6a310a704a3ee8ea31c16c1e", + "rule-0b39361aab311c79b90bdd07", + "rule-04e38abdac8abec7cf57b4b5", + "rule-be37ad1e3505c362326e6855" + ] + }, + "absolute_rule_scale": "not_used: original absolute_linf and scalar le/ge/eq predicates already have dimensional limits; no reference amplitude is a missing parameter", + "source_operator_semantics": { + "absolute_linf": "max absolute difference of the original ordered metric values", + "le": "value<=original limit", + "ge": "value>=original limit", + "eq": "value==original limit" + }, + "original_relative_rules": "Existing symmetric/floor evaluator behavior is retained only by source binding, not rewritten as a new reference-scaled formula.", + "original_relative_or_linear_phase_not_direct_N": [], + "measurement_inputs_pending": [ + "Exact original ordered metric vectors and named quality values, lane grid/tolerance/protocol/input identity; original numeric definitions are already specified" + ], + "remaining_numeric_parameters_for_original_target": [], + "new_N_applicability_approved": false, + "eligibility": { + "reference_error_bound": null, + "reference_qualified": false, + "active_comparison": null, + "default_reference_error_share": "1/3", + "stronger_channel_and_1_12_allocations_retained": true, + "numeric_definition_is_not_reference_eligibility": true + } + }, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-lane-13c1b80fd89d147a" + }, + "scope_specific_prior_gaps": [ + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/lane-13c1b80fd89d147a/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [], + "current_numeric_status": "original_named_contract_complete" + } + }, + { + "id": "scope-lane-6dbb672b6062d764", + "capability_id": "lane-6dbb672b6062d764", + "route_id": "route-1af17bb46d9794d0", + "origin_key": "lane:twod-uniform-limit", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "original_refinement_lane" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/twod-uniform-limit", + "value_sha256": "996e25b86526668831c11ca4bbacffc42f3bf22fddf505474b3910e0de3c879c" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "_observable_delta" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "evaluate_numerical_certificate" + } + ], + "negative_only_descriptor_rule_ids": [], + "source_quantitative_assertion_ids_for_scope_audit": [], + "rule_ids": [ + "M_payload", + "original-lane-6dbb672b6062d764" + ], + "citations": [ + { + "source_id": "original_lane_registry" + }, + { + "source_id": "lane_evaluator", + "symbol": "_observable_delta", + "lines": [ + 1216, + 1237 + ], + "text_sha256": "557a020088ea7e807d4ea24c0b15565c5db7a58094191089a049cb318f78611c" + }, + { + "source_id": "lane_evaluator", + "lines": [ + 352, + 357 + ], + "text_sha256": "8c1783d9e0db3cfb5f3bbd08e5ce429374ca2558c13e374999a4afe1a5383179" + } + ], + "remaining_inputs": [ + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/lane-6dbb672b6062d764/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + } + ], + "downstream_tasks": [ + "P00-03", + "P03-06", + "P04-05", + "P04-06", + "P09-01" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "original_numeric_definition": { + "status": "complete_for_original_named_contract_only", + "target": "lane:twod-uniform-limit", + "rule_group_id": "original-lane-6dbb672b6062d764", + "original_rules_sha256": "ceb7d8ebc5e4aab1f7c28634b043ab55d0e61db7342c89eb024c060f0f9e86d0", + "parameters": "Resolve quantities/units/limits through this unchanged rule group and the original RefactorComparisonMapV1.rule_catalog bindings; no constants are copied or changed.", + "registry_binding": { + "source_id": "original_lane_registry", + "pointer": "/lanes/twod-uniform-limit", + "value_sha256": "996e25b86526668831c11ca4bbacffc42f3bf22fddf505474b3910e0de3c879c" + }, + "operators": { + "absolute_linf": [ + "rule-b94126e23b68e74e98b42d37", + "rule-258ef21f34ab365d998633ba" + ], + "relative_linf": [ + "rule-711800445728a00f95f380d8" + ], + "pointwise_relative_linf": [], + "le": [ + "rule-ecffa1d4fbab7ffc2942566f", + "rule-ff3acab3d0acdc2891ea2c32", + "rule-981e68964d17c4036e090b74", + "rule-53bbe9f814230c958818d058" + ], + "ge": [], + "eq": [ + "rule-29514c0546c437777fdb9f8b", + "rule-a0a29e258b24d630607bdfd3", + "rule-8e1792fa2b8fe9eac8a5ad76" + ] + }, + "absolute_rule_scale": "not_used: original absolute_linf and scalar le/ge/eq predicates already have dimensional limits; no reference amplitude is a missing parameter", + "source_operator_semantics": { + "absolute_linf": "max absolute difference of the original ordered metric values", + "le": "value<=original limit", + "ge": "value>=original limit", + "eq": "value==original limit" + }, + "original_relative_rules": "Existing symmetric/floor evaluator behavior is retained only by source binding, not rewritten as a new reference-scaled formula.", + "original_relative_or_linear_phase_not_direct_N": [ + "rule-711800445728a00f95f380d8" + ], + "measurement_inputs_pending": [ + "Exact original ordered metric vectors and named quality values, lane grid/tolerance/protocol/input identity; original numeric definitions are already specified" + ], + "remaining_numeric_parameters_for_original_target": [], + "new_N_applicability_approved": false, + "eligibility": { + "reference_error_bound": null, + "reference_qualified": false, + "active_comparison": null, + "default_reference_error_share": "1/3", + "stronger_channel_and_1_12_allocations_retained": true, + "numeric_definition_is_not_reference_eligibility": true + } + }, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-lane-6dbb672b6062d764" + }, + "scope_specific_prior_gaps": [ + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/lane-6dbb672b6062d764/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [ + { + "rule_id": "rule-711800445728a00f95f380d8", + "needed": "Source-justified reference/input scale and zero/circular-phase rule before any N reuse; retain the original named comparator unchanged" + } + ], + "current_numeric_status": "original_named_contract_complete" + } + }, + { + "id": "scope-lane-6b64d0fcde4053b6", + "capability_id": "lane-6b64d0fcde4053b6", + "route_id": "route-fc717d86c09ab83e", + "origin_key": "lane:wkb-resolved-intraband-qf-dc-v2", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "original_refinement_lane" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/wkb-resolved-intraband-qf-dc-v2", + "value_sha256": "e4b3ca374eeb0a6f1ebbf65d97aaab0f5704149cb6969a3c682e11e0f8d1d091" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "_observable_delta" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "evaluate_numerical_certificate" + } + ], + "negative_only_descriptor_rule_ids": [], + "source_quantitative_assertion_ids_for_scope_audit": [], + "rule_ids": [ + "M_payload", + "original-lane-6b64d0fcde4053b6" + ], + "citations": [ + { + "source_id": "original_lane_registry" + }, + { + "source_id": "lane_evaluator", + "symbol": "_observable_delta", + "lines": [ + 1216, + 1237 + ], + "text_sha256": "557a020088ea7e807d4ea24c0b15565c5db7a58094191089a049cb318f78611c" + }, + { + "source_id": "lane_evaluator", + "lines": [ + 352, + 357 + ], + "text_sha256": "8c1783d9e0db3cfb5f3bbd08e5ce429374ca2558c13e374999a4afe1a5383179" + } + ], + "remaining_inputs": [ + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/lane-6b64d0fcde4053b6/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + } + ], + "downstream_tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "original_numeric_definition": { + "status": "complete_for_original_named_contract_only", + "target": "lane:wkb-resolved-intraband-qf-dc-v2", + "rule_group_id": "original-lane-6b64d0fcde4053b6", + "original_rules_sha256": "dfd4725a55e4925b905192b85acada9ec2a23c7b11441694189ae2a0fe0ab7ac", + "parameters": "Resolve quantities/units/limits through this unchanged rule group and the original RefactorComparisonMapV1.rule_catalog bindings; no constants are copied or changed.", + "registry_binding": { + "source_id": "original_lane_registry", + "pointer": "/lanes/wkb-resolved-intraband-qf-dc-v2", + "value_sha256": "e4b3ca374eeb0a6f1ebbf65d97aaab0f5704149cb6969a3c682e11e0f8d1d091" + }, + "operators": { + "absolute_linf": [ + "rule-cda78af8941fbd1a089b5818", + "rule-32aebb5aa258d435060c6a0a", + "rule-b191a8ecba43b212ab92f366", + "rule-2c95a816ff8272da23ca1f47", + "rule-de35dd7b05f2c7e3e09a8d31" + ], + "relative_linf": [ + "rule-14fd4538d562c16830519503", + "rule-2e5b7c71d3d3843f65eb92aa", + "rule-3e67d45460ef08448817d5e8", + "rule-9de64bdc33050178a25dbb8d", + "rule-21c7c1b38c2077e683c56d97", + "rule-ca0e309054b3a52f401ad543" + ], + "pointwise_relative_linf": [], + "le": [ + "rule-b2c170c66b8e73d0daeca937", + "rule-dd5fba0ab46298bfe87057d1", + "rule-72372f706fbb6bf9ab76a5ed", + "rule-e4ba88e6cccf747bfdb682bb", + "rule-3d4ded7bbabad2ae0a8186e3", + "rule-3d37ec9a37f56863e2e150c0", + "rule-f95f33b36163b43e42bbe3ac", + "rule-5f1deae6c032e7d02faf59e7", + "rule-67c95feadf2f95d4e8becef4", + "rule-374f0c8cbfcc7e0cb0da8423", + "rule-5b713589e3be50b9d1c81499", + "rule-ac15eb93227ef05b675945c3", + "rule-42a96ee4d2a668b8d233e0ff", + "rule-05abcfebe196be0183642bf4" + ], + "ge": [ + "rule-a083bf8cee16d3dde1f080e9", + "rule-48804b140b9c359973761533", + "rule-a53c9de9bd5e019366d23e00" + ], + "eq": [ + "rule-e139311dab6844d360e2c2d4", + "rule-3abbf19360b057357116d6a5", + "rule-802381e73bf88a1a201a4a33", + "rule-32d80032a6117a6881af96b1", + "rule-6cd29cad2b606e18ad722035", + "rule-d8e9d1f8c721783d4cdad9fb" + ] + }, + "absolute_rule_scale": "not_used: original absolute_linf and scalar le/ge/eq predicates already have dimensional limits; no reference amplitude is a missing parameter", + "source_operator_semantics": { + "absolute_linf": "max absolute difference of the original ordered metric values", + "le": "value<=original limit", + "ge": "value>=original limit", + "eq": "value==original limit" + }, + "original_relative_rules": "Existing symmetric/floor evaluator behavior is retained only by source binding, not rewritten as a new reference-scaled formula.", + "original_relative_or_linear_phase_not_direct_N": [ + "rule-14fd4538d562c16830519503", + "rule-2e5b7c71d3d3843f65eb92aa", + "rule-3e67d45460ef08448817d5e8", + "rule-9de64bdc33050178a25dbb8d", + "rule-21c7c1b38c2077e683c56d97", + "rule-ca0e309054b3a52f401ad543" + ], + "measurement_inputs_pending": [ + "Exact original ordered metric vectors and named quality values, lane grid/tolerance/protocol/input identity; original numeric definitions are already specified" + ], + "remaining_numeric_parameters_for_original_target": [], + "new_N_applicability_approved": false, + "eligibility": { + "reference_error_bound": null, + "reference_qualified": false, + "active_comparison": null, + "default_reference_error_share": "1/3", + "stronger_channel_and_1_12_allocations_retained": true, + "numeric_definition_is_not_reference_eligibility": true + } + }, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-lane-6b64d0fcde4053b6" + }, + "scope_specific_prior_gaps": [ + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/lane-6b64d0fcde4053b6/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [ + { + "rule_id": "rule-14fd4538d562c16830519503", + "needed": "Source-justified reference/input scale and zero/circular-phase rule before any N reuse; retain the original named comparator unchanged" + }, + { + "rule_id": "rule-2e5b7c71d3d3843f65eb92aa", + "needed": "Source-justified reference/input scale and zero/circular-phase rule before any N reuse; retain the original named comparator unchanged" + }, + { + "rule_id": "rule-3e67d45460ef08448817d5e8", + "needed": "Source-justified reference/input scale and zero/circular-phase rule before any N reuse; retain the original named comparator unchanged" + }, + { + "rule_id": "rule-9de64bdc33050178a25dbb8d", + "needed": "Source-justified reference/input scale and zero/circular-phase rule before any N reuse; retain the original named comparator unchanged" + }, + { + "rule_id": "rule-21c7c1b38c2077e683c56d97", + "needed": "Source-justified reference/input scale and zero/circular-phase rule before any N reuse; retain the original named comparator unchanged" + }, + { + "rule_id": "rule-ca0e309054b3a52f401ad543", + "needed": "Source-justified reference/input scale and zero/circular-phase rule before any N reuse; retain the original named comparator unchanged" + } + ], + "current_numeric_status": "original_named_contract_complete" + } + }, + { + "id": "scope-lane-16771a29387cfdae", + "capability_id": "lane-16771a29387cfdae", + "route_id": "route-fc717d86c09ab83e", + "origin_key": "lane:wkb-tunnelling-channel-qf-dc-v1", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "original_refinement_lane" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "pointer": "/lanes/wkb-tunnelling-channel-qf-dc-v1", + "value_sha256": "a3721c1913a8aa8dbb1012679c00ee28d3940001bb98a3b527eda83eff0fa1c9" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "_observable_delta" + }, + { + "source_id": "repository:perovskite-sim/perovskite_sim/validation/numerical_certificate.py", + "symbol": "evaluate_numerical_certificate" + } + ], + "negative_only_descriptor_rule_ids": [], + "source_quantitative_assertion_ids_for_scope_audit": [], + "rule_ids": [ + "M_payload", + "original-lane-16771a29387cfdae" + ], + "citations": [ + { + "source_id": "original_lane_registry" + }, + { + "source_id": "lane_evaluator", + "symbol": "_observable_delta", + "lines": [ + 1216, + 1237 + ], + "text_sha256": "557a020088ea7e807d4ea24c0b15565c5db7a58094191089a049cb318f78611c" + }, + { + "source_id": "lane_evaluator", + "lines": [ + 352, + 357 + ], + "text_sha256": "8c1783d9e0db3cfb5f3bbd08e5ce429374ca2558c13e374999a4afe1a5383179" + } + ], + "remaining_inputs": [ + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/lane-16771a29387cfdae/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + } + ], + "downstream_tasks": [ + "P00-03", + "P03-06", + "P09-01" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "original_numeric_definition": { + "status": "complete_for_original_named_contract_only", + "target": "lane:wkb-tunnelling-channel-qf-dc-v1", + "rule_group_id": "original-lane-16771a29387cfdae", + "original_rules_sha256": "b9092d47150272a47c49405cd756ccb39247545fe6ae2dbf1ce3155873fb1248", + "parameters": "Resolve quantities/units/limits through this unchanged rule group and the original RefactorComparisonMapV1.rule_catalog bindings; no constants are copied or changed.", + "registry_binding": { + "source_id": "original_lane_registry", + "pointer": "/lanes/wkb-tunnelling-channel-qf-dc-v1", + "value_sha256": "a3721c1913a8aa8dbb1012679c00ee28d3940001bb98a3b527eda83eff0fa1c9" + }, + "operators": { + "absolute_linf": [ + "rule-e7b6594bb4da6145e413ae63", + "rule-2e40eb9821d7156040f83a79" + ], + "relative_linf": [ + "rule-273c8415c3a8dc445ad283ba", + "rule-e6b8f6c13d0f5a1845045f9b", + "rule-29defc3eb14efce6a9dca43e", + "rule-e49ddcd13f180d9e1408dab7" + ], + "pointwise_relative_linf": [], + "le": [ + "rule-be7818ef81eafe0d66cf4c50", + "rule-f3af570ca56372b92d3cf931", + "rule-628c4d42e06fd02ce4aa6de1", + "rule-463f03b9acf75278bcc55673", + "rule-b24f7ee4ccaca4ebc1557f68", + "rule-a98086736dcfc84e7467e253", + "rule-ea0e753eadd16cd41894e7e8", + "rule-03b56b21ba8c6ff03cc0d2dd", + "rule-423242ee512ff91c3c5440fa" + ], + "ge": [ + "rule-83e79c9656ae058f7ea6272f" + ], + "eq": [ + "rule-d7cef6a5507471866a3a96f1", + "rule-ccca5ed8cd936097441708ad", + "rule-0a1ea98edf3fd088662d8609", + "rule-c8ba3ab96c35803d6992d137", + "rule-abb8e139ea1a977ea7376c90", + "rule-7e186bd02cf4fd9cacb92955" + ] + }, + "absolute_rule_scale": "not_used: original absolute_linf and scalar le/ge/eq predicates already have dimensional limits; no reference amplitude is a missing parameter", + "source_operator_semantics": { + "absolute_linf": "max absolute difference of the original ordered metric values", + "le": "value<=original limit", + "ge": "value>=original limit", + "eq": "value==original limit" + }, + "original_relative_rules": "Existing symmetric/floor evaluator behavior is retained only by source binding, not rewritten as a new reference-scaled formula.", + "original_relative_or_linear_phase_not_direct_N": [ + "rule-273c8415c3a8dc445ad283ba", + "rule-e6b8f6c13d0f5a1845045f9b", + "rule-29defc3eb14efce6a9dca43e", + "rule-e49ddcd13f180d9e1408dab7" + ], + "measurement_inputs_pending": [ + "Exact original ordered metric vectors and named quality values, lane grid/tolerance/protocol/input identity; original numeric definitions are already specified" + ], + "remaining_numeric_parameters_for_original_target": [], + "new_N_applicability_approved": false, + "eligibility": { + "reference_error_bound": null, + "reference_qualified": false, + "active_comparison": null, + "default_reference_error_share": "1/3", + "stronger_channel_and_1_12_allocations_retained": true, + "numeric_definition_is_not_reference_eligibility": true + } + }, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-lane-16771a29387cfdae" + }, + "scope_specific_prior_gaps": [ + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/lane-16771a29387cfdae/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [ + { + "rule_id": "rule-273c8415c3a8dc445ad283ba", + "needed": "Source-justified reference/input scale and zero/circular-phase rule before any N reuse; retain the original named comparator unchanged" + }, + { + "rule_id": "rule-e6b8f6c13d0f5a1845045f9b", + "needed": "Source-justified reference/input scale and zero/circular-phase rule before any N reuse; retain the original named comparator unchanged" + }, + { + "rule_id": "rule-29defc3eb14efce6a9dca43e", + "needed": "Source-justified reference/input scale and zero/circular-phase rule before any N reuse; retain the original named comparator unchanged" + }, + { + "rule_id": "rule-e49ddcd13f180d9e1408dab7", + "needed": "Source-justified reference/input scale and zero/circular-phase rule before any N reuse; retain the original named comparator unchanged" + } + ], + "current_numeric_status": "original_named_contract_complete" + } + }, + { + "id": "scope-oracle-43431083ae91b1d5", + "capability_id": "oracle-43431083ae91b1d5", + "route_id": "route-cbbcfcb83fcae60f", + "origin_key": "oracle:be_reference", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "physical_profiles_or_stored_state_history", + "source_specific_operator_or_constitutive_action" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/solver/dae_integrator.py" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_dae_integrator.py", + "symbol": "test_dark_equilibrium_remains_stationary_and_reproducible" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_dae_integrator.py", + "symbol": "test_illuminated_steps_are_residual_and_balance_certified" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_dae_integrator.py", + "symbol": "test_newton_exhaustion_reports_step_and_time" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_dae_integrator.py", + "symbol": "test_solver_control_validation_fails_closed" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_dae_integrator.py", + "symbol": "test_structured_newton_matches_dense_reference_with_less_rhs_work" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_dae_integrator.py", + "symbol": "test_time_grid_validation_fails_closed" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_dae_integrator.py", + "symbol": "test_uncertified_initial_condition_is_rejected" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_dae_jacobian.py", + "symbol": "test_boundary_carrier_columns_do_not_enter_differential_rows" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_dae_jacobian.py", + "symbol": "test_nonlocal_photon_recycling_is_rejected" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_dae_jacobian.py", + "symbol": "test_structured_state_jacobian_matches_central_reference" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/solver/test_dae_jacobian.py", + "symbol": "test_zero_field_pf_cusp_is_rejected" + } + ], + "negative_only_descriptor_rule_ids": [ + "rule-4778b56b818c5cb6bdc90594", + "rule-593f3446d8007c512a43d370", + "rule-90747d7496eb2dbdd4ab0209", + "rule-42f1d3e6b5db073f44c7a6e8", + "rule-63285050aee84f98a19e5312", + "rule-645bb73a70026e91635f9c37" + ], + "source_quantitative_assertion_ids_for_scope_audit": [ + "rule-27e3daea687405add6322cd7", + "rule-3e1351c5c23666a5f374f28a", + "rule-dbf17a1a162f82264e0395ba", + "rule-646903babca7c2bbf7c17e19", + "rule-a58700cd5a7f458673494704", + "rule-3acb4982a4a041d3d71f4f4c", + "rule-9c12f607c8845a07a144e844", + "rule-4d28b29827a7679fc7d601f5", + "rule-395c8e63efb2c4a69a307df6", + "rule-e102434e39b7a1a3c0762dba", + "rule-2367b116df896950c30ddb6f", + "rule-6fff38832de42e6ea3955f1f", + "rule-00107f54ee5de60d951b73a5", + "rule-dcd0b911ffebc4372f8d5404", + "rule-60b9260777353a2284474244", + "rule-39a4ee2d706b0996ed741c47", + "rule-efe4cac49d95409450cf0865", + "rule-1e437395a788498f2d4d6434", + "rule-8ca0ba30684b13de014efa04", + "rule-7543e2e2166d0256dc503cfe", + "rule-63ef1ffeb9c6dc757bc12cae", + "rule-b34981b3bc067cc53f0798e2", + "rule-c0e8d7a6ea84c47f66de7ba8", + "rule-8aa5a49c879d77e096cf2cf4", + "rule-4d6e178b4201f8ddf5df62bf" + ], + "rule_ids": [ + "M_payload", + "potential_packet", + "positive_density_log", + "density_inventory_packet", + "operator_packet" + ], + "citations": [], + "remaining_inputs": [ + { + "field": "numeric fixed thermal/physical voltage scale in V from the exact reference temperature or declared boundary parameters", + "needed_from": "oracle-43431083ae91b1d5 exact original driver/reference observation packet; perovskite-sim/tests/unit/solver/test_dae_integrator.py::test_dark_equilibrium_remains_stationary_and_reproducible, perovskite-sim/tests/unit/solver/test_dae_integrator.py::test_illuminated_steps_are_residual_and_balance_certified, perovskite-sim/tests/unit/solver/test_dae_integrator.py::test_newton_exhaustion_reports_step_and_time, perovskite-sim/tests/unit/solver/test_dae_integrator.py::test_solver_control_validation_fails_closed, perovskite-sim/tests/unit/solver/test_dae_integrator.py::test_structured_newton_matches_dense_reference_with_less_rhs_work, perovskite-sim/tests/unit/solver/test_dae_integrator.py::test_time_grid_validation_fails_closed, perovskite-sim/tests/unit/solver/test_dae_", + "blocked_use": "new N acceptance / qualified reference use for oracle:be_reference" + }, + { + "field": "actual reference CV weights/support and physical gauge/contact values; allowed mask", + "needed_from": "oracle-43431083ae91b1d5 exact original driver/reference observation packet; perovskite-sim/tests/unit/solver/test_dae_integrator.py::test_dark_equilibrium_remains_stationary_and_reproducible, perovskite-sim/tests/unit/solver/test_dae_integrator.py::test_illuminated_steps_are_residual_and_balance_certified, perovskite-sim/tests/unit/solver/test_dae_integrator.py::test_newton_exhaustion_reports_step_and_time, perovskite-sim/tests/unit/solver/test_dae_integrator.py::test_solver_control_validation_fails_closed, perovskite-sim/tests/unit/solver/test_dae_integrator.py::test_structured_newton_matches_dense_reference_with_less_rhs_work, perovskite-sim/tests/unit/solver/test_dae_integrator.py::test_time_grid_validation_fails_closed, perovskite-sim/tests/unit/solver/test_dae_", + "blocked_use": "new N acceptance / qualified reference use for oracle:be_reference" + }, + { + "field": "independent source/grid/time/mapping error in V and its qualified reference identity", + "needed_from": "oracle-43431083ae91b1d5 exact original driver/reference observation packet; perovskite-sim/tests/unit/solver/test_dae_integrator.py::test_dark_equilibrium_remains_stationary_and_reproducible, perovskite-sim/tests/unit/solver/test_dae_integrator.py::test_illuminated_steps_are_residual_and_balance_certified, perovskite-sim/tests/unit/solver/test_dae_integrator.py::test_newton_exhaustion_reports_step_and_time, perovskite-sim/tests/unit/solver/test_dae_integrator.py::test_solver_control_validation_fails_closed, perovskite-sim/tests/unit/solver/test_dae_integrator.py::test_structured_newton_matches_dense_reference_with_less_rhs_work, perovskite-sim/tests/unit/solver/test_dae_integrator.py::test_time_grid_validation_fails_closed, perovskite-sim/tests/unit/solver/test_dae_", + "blocked_use": "new N acceptance / qualified reference use for oracle:be_reference" + }, + { + "field": "per-species/per-connected-domain positive reference inventory numeric scale and unit (1 or m-2, according to actual CV measure)", + "needed_from": "oracle-43431083ae91b1d5 exact original driver/reference observation packet; perovskite-sim/tests/unit/solver/test_dae_integrator.py::test_dark_equilibrium_remains_stationary_and_reproducible, perovskite-sim/tests/unit/solver/test_dae_integrator.py::test_illuminated_steps_are_residual_and_balance_certified, perovskite-sim/tests/unit/solver/test_dae_integrator.py::test_newton_exhaustion_reports_step_and_time, perovskite-sim/tests/unit/solver/test_dae_integrator.py::test_solver_control_validation_fails_closed, perovskite-sim/tests/unit/solver/test_dae_integrator.py::test_structured_newton_matches_dense_reference_with_less_rhs_work, perovskite-sim/tests/unit/solver/test_dae_integrator.py::test_time_grid_validation_fails_closed, perovskite-sim/tests/unit/solver/test_dae_", + "blocked_use": "new N acceptance / qualified reference use for oracle:be_reference" + }, + { + "field": "zero-species/zero-cell identity and numeric dimensional absolute gate from model absence or reference error evidence", + "needed_from": "oracle-43431083ae91b1d5 exact original driver/reference observation packet; perovskite-sim/tests/unit/solver/test_dae_integrator.py::test_dark_equilibrium_remains_stationary_and_reproducible, perovskite-sim/tests/unit/solver/test_dae_integrator.py::test_illuminated_steps_are_residual_and_balance_certified, perovskite-sim/tests/unit/solver/test_dae_integrator.py::test_newton_exhaustion_reports_step_and_time, perovskite-sim/tests/unit/solver/test_dae_integrator.py::test_solver_control_validation_fails_closed, perovskite-sim/tests/unit/solver/test_dae_integrator.py::test_structured_newton_matches_dense_reference_with_less_rhs_work, perovskite-sim/tests/unit/solver/test_dae_integrator.py::test_time_grid_validation_fails_closed, perovskite-sim/tests/unit/solver/test_dae_", + "blocked_use": "new N acceptance / qualified reference use for oracle:be_reference" + }, + { + "field": "actual volumes, component labels and independent log/inventory uncertainty", + "needed_from": "oracle-43431083ae91b1d5 exact original driver/reference observation packet; perovskite-sim/tests/unit/solver/test_dae_integrator.py::test_dark_equilibrium_remains_stationary_and_reproducible, perovskite-sim/tests/unit/solver/test_dae_integrator.py::test_illuminated_steps_are_residual_and_balance_certified, perovskite-sim/tests/unit/solver/test_dae_integrator.py::test_newton_exhaustion_reports_step_and_time, perovskite-sim/tests/unit/solver/test_dae_integrator.py::test_solver_control_validation_fails_closed, perovskite-sim/tests/unit/solver/test_dae_integrator.py::test_structured_newton_matches_dense_reference_with_less_rhs_work, perovskite-sim/tests/unit/solver/test_dae_integrator.py::test_time_grid_validation_fails_closed, perovskite-sim/tests/unit/solver/test_dae_", + "blocked_use": "new N acceptance / qualified reference use for oracle:be_reference" + }, + { + "field": "actual row and column physical units, support and fixed per-block/state/input scales", + "needed_from": "oracle-43431083ae91b1d5 exact original driver/reference observation packet; perovskite-sim/tests/unit/solver/test_dae_integrator.py::test_dark_equilibrium_remains_stationary_and_reproducible, perovskite-sim/tests/unit/solver/test_dae_integrator.py::test_illuminated_steps_are_residual_and_balance_certified, perovskite-sim/tests/unit/solver/test_dae_integrator.py::test_newton_exhaustion_reports_step_and_time, perovskite-sim/tests/unit/solver/test_dae_integrator.py::test_solver_control_validation_fails_closed, perovskite-sim/tests/unit/solver/test_dae_integrator.py::test_structured_newton_matches_dense_reference_with_less_rhs_work, perovskite-sim/tests/unit/solver/test_dae_integrator.py::test_time_grid_validation_fails_closed, perovskite-sim/tests/unit/solver/test_dae_", + "blocked_use": "new N acceptance / qualified reference use for oracle:be_reference" + }, + { + "field": "numeric independent derivative/action/weak-increment thresholds from the original applicable contract", + "needed_from": "oracle-43431083ae91b1d5 exact original driver/reference observation packet; perovskite-sim/tests/unit/solver/test_dae_integrator.py::test_dark_equilibrium_remains_stationary_and_reproducible, perovskite-sim/tests/unit/solver/test_dae_integrator.py::test_illuminated_steps_are_residual_and_balance_certified, perovskite-sim/tests/unit/solver/test_dae_integrator.py::test_newton_exhaustion_reports_step_and_time, perovskite-sim/tests/unit/solver/test_dae_integrator.py::test_solver_control_validation_fails_closed, perovskite-sim/tests/unit/solver/test_dae_integrator.py::test_structured_newton_matches_dense_reference_with_less_rhs_work, perovskite-sim/tests/unit/solver/test_dae_integrator.py::test_time_grid_validation_fails_closed, perovskite-sim/tests/unit/solver/test_dae_", + "blocked_use": "new N acceptance / qualified reference use for oracle:be_reference" + }, + { + "field": "full nonlocal/input chain, inactive/zero branch and independent reference/cancellation error", + "needed_from": "oracle-43431083ae91b1d5 exact original driver/reference observation packet; perovskite-sim/tests/unit/solver/test_dae_integrator.py::test_dark_equilibrium_remains_stationary_and_reproducible, perovskite-sim/tests/unit/solver/test_dae_integrator.py::test_illuminated_steps_are_residual_and_balance_certified, perovskite-sim/tests/unit/solver/test_dae_integrator.py::test_newton_exhaustion_reports_step_and_time, perovskite-sim/tests/unit/solver/test_dae_integrator.py::test_solver_control_validation_fails_closed, perovskite-sim/tests/unit/solver/test_dae_integrator.py::test_structured_newton_matches_dense_reference_with_less_rhs_work, perovskite-sim/tests/unit/solver/test_dae_integrator.py::test_time_grid_validation_fails_closed, perovskite-sim/tests/unit/solver/test_dae_", + "blocked_use": "new N acceptance / qualified reference use for oracle:be_reference" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/oracle-43431083ae91b1d5/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + } + ], + "downstream_tasks": [ + "P00-03", + "P02-03", + "P09-03" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-oracle-43431083ae91b1d5" + }, + "scope_specific_prior_gaps": [ + { + "field": "numeric fixed thermal/physical voltage scale in V from the exact reference temperature or declared boundary parameters", + "needed_from": "oracle-43431083ae91b1d5 exact original driver/reference observation packet; perovskite-sim/tests/unit/solver/test_dae_integrator.py::test_dark_equilibrium_remains_stationary_and_reproducible, perovskite-sim/tests/unit/solver/test_dae_integrator.py::test_illuminated_steps_are_residual_and_balance_certified, perovskite-sim/tests/unit/solver/test_dae_integrator.py::test_newton_exhaustion_reports_step_and_time, perovskite-sim/tests/unit/solver/test_dae_integrator.py::test_solver_control_validation_fails_closed, perovskite-sim/tests/unit/solver/test_dae_integrator.py::test_structured_newton_matches_dense_reference_with_less_rhs_work, perovskite-sim/tests/unit/solver/test_dae_integrator.py::test_time_grid_validation_fails_closed, perovskite-sim/tests/unit/solver/test_dae_", + "blocked_use": "new N acceptance / qualified reference use for oracle:be_reference", + "categories": [ + "source_configuration" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual reference CV weights/support and physical gauge/contact values; allowed mask", + "needed_from": "oracle-43431083ae91b1d5 exact original driver/reference observation packet; perovskite-sim/tests/unit/solver/test_dae_integrator.py::test_dark_equilibrium_remains_stationary_and_reproducible, perovskite-sim/tests/unit/solver/test_dae_integrator.py::test_illuminated_steps_are_residual_and_balance_certified, perovskite-sim/tests/unit/solver/test_dae_integrator.py::test_newton_exhaustion_reports_step_and_time, perovskite-sim/tests/unit/solver/test_dae_integrator.py::test_solver_control_validation_fails_closed, perovskite-sim/tests/unit/solver/test_dae_integrator.py::test_structured_newton_matches_dense_reference_with_less_rhs_work, perovskite-sim/tests/unit/solver/test_dae_integrator.py::test_time_grid_validation_fails_closed, perovskite-sim/tests/unit/solver/test_dae_", + "blocked_use": "new N acceptance / qualified reference use for oracle:be_reference", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "independent source/grid/time/mapping error in V and its qualified reference identity", + "needed_from": "oracle-43431083ae91b1d5 exact original driver/reference observation packet; perovskite-sim/tests/unit/solver/test_dae_integrator.py::test_dark_equilibrium_remains_stationary_and_reproducible, perovskite-sim/tests/unit/solver/test_dae_integrator.py::test_illuminated_steps_are_residual_and_balance_certified, perovskite-sim/tests/unit/solver/test_dae_integrator.py::test_newton_exhaustion_reports_step_and_time, perovskite-sim/tests/unit/solver/test_dae_integrator.py::test_solver_control_validation_fails_closed, perovskite-sim/tests/unit/solver/test_dae_integrator.py::test_structured_newton_matches_dense_reference_with_less_rhs_work, perovskite-sim/tests/unit/solver/test_dae_integrator.py::test_time_grid_validation_fails_closed, perovskite-sim/tests/unit/solver/test_dae_", + "blocked_use": "new N acceptance / qualified reference use for oracle:be_reference", + "categories": [ + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "per-species/per-connected-domain positive reference inventory numeric scale and unit (1 or m-2, according to actual CV measure)", + "needed_from": "oracle-43431083ae91b1d5 exact original driver/reference observation packet; perovskite-sim/tests/unit/solver/test_dae_integrator.py::test_dark_equilibrium_remains_stationary_and_reproducible, perovskite-sim/tests/unit/solver/test_dae_integrator.py::test_illuminated_steps_are_residual_and_balance_certified, perovskite-sim/tests/unit/solver/test_dae_integrator.py::test_newton_exhaustion_reports_step_and_time, perovskite-sim/tests/unit/solver/test_dae_integrator.py::test_solver_control_validation_fails_closed, perovskite-sim/tests/unit/solver/test_dae_integrator.py::test_structured_newton_matches_dense_reference_with_less_rhs_work, perovskite-sim/tests/unit/solver/test_dae_integrator.py::test_time_grid_validation_fails_closed, perovskite-sim/tests/unit/solver/test_dae_", + "blocked_use": "new N acceptance / qualified reference use for oracle:be_reference", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "zero-species/zero-cell identity and numeric dimensional absolute gate from model absence or reference error evidence", + "needed_from": "oracle-43431083ae91b1d5 exact original driver/reference observation packet; perovskite-sim/tests/unit/solver/test_dae_integrator.py::test_dark_equilibrium_remains_stationary_and_reproducible, perovskite-sim/tests/unit/solver/test_dae_integrator.py::test_illuminated_steps_are_residual_and_balance_certified, perovskite-sim/tests/unit/solver/test_dae_integrator.py::test_newton_exhaustion_reports_step_and_time, perovskite-sim/tests/unit/solver/test_dae_integrator.py::test_solver_control_validation_fails_closed, perovskite-sim/tests/unit/solver/test_dae_integrator.py::test_structured_newton_matches_dense_reference_with_less_rhs_work, perovskite-sim/tests/unit/solver/test_dae_integrator.py::test_time_grid_validation_fails_closed, perovskite-sim/tests/unit/solver/test_dae_", + "blocked_use": "new N acceptance / qualified reference use for oracle:be_reference", + "categories": [ + "source_configuration", + "tolerance_decision" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual volumes, component labels and independent log/inventory uncertainty", + "needed_from": "oracle-43431083ae91b1d5 exact original driver/reference observation packet; perovskite-sim/tests/unit/solver/test_dae_integrator.py::test_dark_equilibrium_remains_stationary_and_reproducible, perovskite-sim/tests/unit/solver/test_dae_integrator.py::test_illuminated_steps_are_residual_and_balance_certified, perovskite-sim/tests/unit/solver/test_dae_integrator.py::test_newton_exhaustion_reports_step_and_time, perovskite-sim/tests/unit/solver/test_dae_integrator.py::test_solver_control_validation_fails_closed, perovskite-sim/tests/unit/solver/test_dae_integrator.py::test_structured_newton_matches_dense_reference_with_less_rhs_work, perovskite-sim/tests/unit/solver/test_dae_integrator.py::test_time_grid_validation_fails_closed, perovskite-sim/tests/unit/solver/test_dae_", + "blocked_use": "new N acceptance / qualified reference use for oracle:be_reference", + "categories": [ + "measurement_data", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual row and column physical units, support and fixed per-block/state/input scales", + "needed_from": "oracle-43431083ae91b1d5 exact original driver/reference observation packet; perovskite-sim/tests/unit/solver/test_dae_integrator.py::test_dark_equilibrium_remains_stationary_and_reproducible, perovskite-sim/tests/unit/solver/test_dae_integrator.py::test_illuminated_steps_are_residual_and_balance_certified, perovskite-sim/tests/unit/solver/test_dae_integrator.py::test_newton_exhaustion_reports_step_and_time, perovskite-sim/tests/unit/solver/test_dae_integrator.py::test_solver_control_validation_fails_closed, perovskite-sim/tests/unit/solver/test_dae_integrator.py::test_structured_newton_matches_dense_reference_with_less_rhs_work, perovskite-sim/tests/unit/solver/test_dae_integrator.py::test_time_grid_validation_fails_closed, perovskite-sim/tests/unit/solver/test_dae_", + "blocked_use": "new N acceptance / qualified reference use for oracle:be_reference", + "categories": [ + "source_configuration" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "numeric independent derivative/action/weak-increment thresholds from the original applicable contract", + "needed_from": "oracle-43431083ae91b1d5 exact original driver/reference observation packet; perovskite-sim/tests/unit/solver/test_dae_integrator.py::test_dark_equilibrium_remains_stationary_and_reproducible, perovskite-sim/tests/unit/solver/test_dae_integrator.py::test_illuminated_steps_are_residual_and_balance_certified, perovskite-sim/tests/unit/solver/test_dae_integrator.py::test_newton_exhaustion_reports_step_and_time, perovskite-sim/tests/unit/solver/test_dae_integrator.py::test_solver_control_validation_fails_closed, perovskite-sim/tests/unit/solver/test_dae_integrator.py::test_structured_newton_matches_dense_reference_with_less_rhs_work, perovskite-sim/tests/unit/solver/test_dae_integrator.py::test_time_grid_validation_fails_closed, perovskite-sim/tests/unit/solver/test_dae_", + "blocked_use": "new N acceptance / qualified reference use for oracle:be_reference", + "categories": [ + "tolerance_decision" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "full nonlocal/input chain, inactive/zero branch and independent reference/cancellation error", + "needed_from": "oracle-43431083ae91b1d5 exact original driver/reference observation packet; perovskite-sim/tests/unit/solver/test_dae_integrator.py::test_dark_equilibrium_remains_stationary_and_reproducible, perovskite-sim/tests/unit/solver/test_dae_integrator.py::test_illuminated_steps_are_residual_and_balance_certified, perovskite-sim/tests/unit/solver/test_dae_integrator.py::test_newton_exhaustion_reports_step_and_time, perovskite-sim/tests/unit/solver/test_dae_integrator.py::test_solver_control_validation_fails_closed, perovskite-sim/tests/unit/solver/test_dae_integrator.py::test_structured_newton_matches_dense_reference_with_less_rhs_work, perovskite-sim/tests/unit/solver/test_dae_integrator.py::test_time_grid_validation_fails_closed, perovskite-sim/tests/unit/solver/test_dae_", + "blocked_use": "new N acceptance / qualified reference use for oracle:be_reference", + "categories": [ + "source_configuration", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/oracle-43431083ae91b1d5/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [], + "current_numeric_status": "prior_exact_scope_gaps_retained_and_classified" + } + }, + { + "id": "scope-oracle-33512d14951f648d", + "capability_id": "oracle-33512d14951f648d", + "route_id": "route-c0154fcbcec24727", + "origin_key": "oracle:compat_fallback", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "positive_electrostatic_oracle_not_a_metadata_fallback" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/_compat/scipy_shim.py" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_poisson.py", + "symbol": "test_boundary_conditions_enforced" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_poisson.py", + "symbol": "test_explicit_finite_volume_factor_matches_legacy_factor" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_poisson.py", + "symbol": "test_explicit_series_capacitance_resolves_off_midpoint_interface" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_poisson.py", + "symbol": "test_positive_charge_creates_concave_potential" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_poisson.py", + "symbol": "test_zero_charge_gives_linear_potential" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/twod/test_poisson_2d.py", + "symbol": "test_poisson_2d_periodic_x_consistency" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/twod/test_poisson_2d.py", + "symbol": "test_poisson_2d_recovers_1d_parabolic_profile" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/twod/test_poisson_2d.py", + "symbol": "test_poisson_2d_solves_zero_charge_with_dirichlet_y" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/twod/test_poisson_2d.py", + "symbol": "test_two_column_periodic_poisson_preserves_zero_charge_affine_solution" + } + ], + "negative_only_descriptor_rule_ids": [], + "source_quantitative_assertion_ids_for_scope_audit": [ + "rule-adae595d5be9a03b556ac773", + "rule-f30c161ea13fc0d8bcf381f6", + "rule-47c3dae845aba0765832eab1", + "rule-5352b152c5cd874306360f88", + "rule-291d6bf8c01cf4c67f658204", + "rule-ee2bfe175c8badf9e0eadad5", + "rule-655e64927a126de9a1d6ac5d", + "rule-e3016ec8d7513d0215fd434b", + "rule-3460ddc4209ef2e91028af50" + ], + "rule_ids": [ + "M_payload", + "potential_packet", + "projection_packet", + "poisson_affine_51" + ], + "citations": [ + { + "source_id": "poisson_test", + "symbol": "test_zero_charge_gives_linear_potential" + }, + { + "source_id": "analytic_parameters" + } + ], + "remaining_inputs": [ + { + "field": "Independent use review and matching source/input/model/protocol/initial-state/numerics/environment/observation identity; the existing analytic error expressions are evidence, not automatic admission.", + "needed_from": "oracle-33512d14951f648d / poisson_affine_51_stored_nodes: original bound source/input and independently reviewed ReferenceQualification packet", + "blocked_use": "oracle:compat_fallback: new N acceptance outside the explicitly limited fixture meaning", + "downstream_tasks": [ + "P00-03", + "P02-09", + "P09-03" + ] + }, + { + "field": "Other original driver/fixture branches listed in original_test_or_source_bindings remain outside these exact-case parameter bindings; original rules and positive physical obligations are unchanged.", + "needed_from": "oracle:compat_fallback original branch-specific reference packet and applicable contract", + "blocked_use": "Full-scope activation or extension to an unmatched model/protocol/state/grid/environment" + } + ], + "downstream_tasks": [ + "P00-03", + "P02-09", + "P09-03" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "parameter_bindings": [ + { + "family_rule_id": "potential_packet", + "case_id": "poisson_affine_51_stored_nodes", + "applicability": "Only this already accepted analytic definition and its exact stored input fixture; no continuum, other material, nonlinear radiation or full-device extension.", + "numeric_parameter_status": "specified_for_listed_subgates", + "known_parameters": { + "input_sha256": "bd827a5cc89cbc2ba85d25ff8e34241fa1409ae840cd25bad6eca44b596b088e", + "definition_sha256": "011bd43169b8589c7c7713fd93b46f3f53a5239674fddab837cb9485a8c56931", + "comparison_target": { + "kind": "analytic_fixture", + "domain": "the exact real values of the stored51 input nodes", + "equation": "d/dx(epsilon*dphi/dx)=0 with constant epsilon and physical Dirichlet endpoints", + "reference_expression": "phi_left+(phi_right-phi_left)*(x_stored-x0_stored)/(xN_stored-x0_stored)", + "fixed_discrete_meaning": "affine exact-arithmetic constant-permittivity FV model evaluated on the original stored input nodes", + "excludes": "word-level truth of the floating assembled matrix or a different spatial operator" + }, + "inputs_and_observations": "Read exact words, coordinates, units and rules at analytic_reference_binding; no regenerated or copied reference output." + }, + "limits": { + "phi_V": { + "norm": "gauge_cv_rms_linf", + "rms": { + "unit": "V", + "atol": 1e-08, + "rtol": 0, + "fixed_reference_scale": 1, + "limit_exact_from_stored_parameters": [ + "3022314549036573", + "302231454903657293676544" + ], + "zero_policy": "absolute_error_without_division", + "norm": "absolute_linf", + "reference_error_allocation": "at most one third of this allowance; retain any stricter applicable original contract" + }, + "max": { + "unit": "V", + "atol": 1e-08, + "rtol": 0, + "fixed_reference_scale": 1, + "limit_exact_from_stored_parameters": [ + "3022314549036573", + "302231454903657293676544" + ], + "zero_policy": "absolute_error_without_division", + "norm": "absolute_linf", + "reference_error_allocation": "at most one third of this allowance; retain any stricter applicable original contract" + }, + "mask": [ + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true + ] + } + }, + "citations": [ + { + "source_id": "analytic_parameters" + } + ], + "remaining_parameters": [ + "Independent use review and matching source/input/model/protocol/initial-state/numerics/environment/observation identity; the existing analytic error expressions are evidence, not automatic admission." + ], + "reference_eligibility": { + "status": "blocked_pending_independent_reference_and_review", + "reference_error_bound": null, + "default_reference_error_share": "1/3", + "stronger_original_channel_allocations_retained": true, + "unused_error_shares_redistributed": false, + "reference_qualified": false, + "active_comparison": null + }, + "physical_definition": { + "kind": "potential", + "scope": "scope-oracle-33512d14951f648d", + "comparison_target": { + "kind": "analytic_fixture", + "id": "poisson_affine_51_stored_nodes" + }, + "quantity": "electrostatic_potential", + "unit": "V", + "norm": "gauge_cv_rms_linf", + "support": "All 51 original stored nodes, both physical Dirichlet boundaries; no interfaces.", + "mask": [ + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true + ], + "zero_policy": "fixed_physical_scale", + "coordinates_m": [ + 0.0, + 7.999999999999999e-09, + 1.5999999999999998e-08, + 2.3999999999999997e-08, + 3.1999999999999995e-08, + 3.9999999999999994e-08, + 4.799999999999999e-08, + 5.599999999999999e-08, + 6.399999999999999e-08, + 7.199999999999998e-08, + 7.999999999999999e-08, + 8.8e-08, + 9.599999999999999e-08, + 1.0399999999999998e-07, + 1.1199999999999998e-07, + 1.2e-07, + 1.2799999999999998e-07, + 1.3599999999999997e-07, + 1.4399999999999997e-07, + 1.5199999999999998e-07, + 1.5999999999999998e-07, + 1.6799999999999997e-07, + 1.76e-07, + 1.8399999999999998e-07, + 1.9199999999999997e-07, + 1.9999999999999996e-07, + 2.0799999999999996e-07, + 2.1599999999999998e-07, + 2.2399999999999997e-07, + 2.3199999999999996e-07, + 2.4e-07, + 2.4799999999999994e-07, + 2.5599999999999996e-07, + 2.64e-07, + 2.7199999999999995e-07, + 2.7999999999999997e-07, + 2.8799999999999993e-07, + 2.9599999999999995e-07, + 3.0399999999999997e-07, + 3.1199999999999994e-07, + 3.1999999999999995e-07, + 3.2799999999999997e-07, + 3.3599999999999994e-07, + 3.4399999999999996e-07, + 3.52e-07, + 3.5999999999999994e-07, + 3.6799999999999996e-07, + 3.759999999999999e-07, + 3.8399999999999994e-07, + 3.9199999999999996e-07, + 4e-07 + ], + "volumes": [ + 3.9999999999999994e-09, + 7.999999999999999e-09, + 7.999999999999999e-09, + 7.999999999999999e-09, + 7.999999999999999e-09, + 7.999999999999999e-09, + 7.999999999999999e-09, + 7.999999999999999e-09, + 7.999999999999996e-09, + 7.999999999999999e-09, + 8.000000000000005e-09, + 7.999999999999999e-09, + 7.999999999999992e-09, + 7.999999999999999e-09, + 8.000000000000005e-09, + 7.999999999999999e-09, + 7.999999999999992e-09, + 7.999999999999992e-09, + 8.000000000000005e-09, + 8.000000000000005e-09, + 7.999999999999992e-09, + 8.000000000000005e-09, + 8.000000000000005e-09, + 7.999999999999992e-09, + 7.999999999999992e-09, + 7.999999999999992e-09, + 8.000000000000005e-09, + 8.000000000000005e-09, + 7.999999999999992e-09, + 8.000000000000005e-09, + 7.999999999999992e-09, + 7.999999999999992e-09, + 8.000000000000019e-09, + 7.999999999999992e-09, + 7.999999999999992e-09, + 7.999999999999992e-09, + 7.999999999999992e-09, + 8.000000000000019e-09, + 7.999999999999992e-09, + 7.999999999999992e-09, + 8.000000000000019e-09, + 7.999999999999992e-09, + 7.999999999999992e-09, + 8.000000000000019e-09, + 7.999999999999992e-09, + 7.999999999999992e-09, + 7.999999999999992e-09, + 7.999999999999992e-09, + 8.000000000000019e-09, + 8.000000000000019e-09, + 4.000000000000009e-09 + ], + "volume_unit": "m", + "gauge": { + "kind": "fixed_contact", + "index": 0, + "value_V": 0.0, + "absolute_limit_V": 1e-08 + }, + "physical_right_boundary_V": 1.0, + "thresholds": { + "rms": { + "unit": "V", + "atol": 1e-08, + "rtol": 0.0, + "scale": 1.0, + "basis": "Unchanged analytic fixture rule / original affine Poisson test", + "operator": "le" + }, + "max": { + "unit": "V", + "atol": 1e-08, + "rtol": 0.0, + "scale": 1.0, + "basis": "Unchanged analytic fixture rule / original affine Poisson test", + "operator": "le" + } + }, + "source_bindings": [ + { + "root": "repository", + "path": "reproducibility/RefactorAnalyticReferencesV1.json", + "sha256": "f707d3a22a706f7c6880163e8edc8849aaa6786e7cc5c2f1431ae62c4fd3d330" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/unit/physics/test_poisson.py", + "sha256": "ed45fc65d78d4917f58e0dcec80b66188d3ed1b8504ac694d7e6782068d7a593" + } + ], + "status": "pending_independent_review", + "reference_qualified": false, + "reference_errors": null + }, + "analytic_reference_binding": { + "source_id": "analytic_parameters", + "pointer": "/definitions/0", + "value_sha256": "04a346d4c473d48e2dba299f788e78dfc1a1c77176836cdfd68937b824874e10", + "definition_id": "poisson_affine_51_stored_nodes" + } + } + ], + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-oracle-33512d14951f648d" + }, + "scope_specific_prior_gaps": [ + { + "field": "Independent use review and matching source/input/model/protocol/initial-state/numerics/environment/observation identity; the existing analytic error expressions are evidence, not automatic admission.", + "needed_from": "oracle-33512d14951f648d / poisson_affine_51_stored_nodes: original bound source/input and independently reviewed ReferenceQualification packet", + "blocked_use": "oracle:compat_fallback: new N acceptance outside the explicitly limited fixture meaning", + "downstream_tasks": [ + "P00-03", + "P02-09", + "P09-03" + ], + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + }, + { + "field": "Other original driver/fixture branches listed in original_test_or_source_bindings remain outside these exact-case parameter bindings; original rules and positive physical obligations are unchanged.", + "needed_from": "oracle:compat_fallback original branch-specific reference packet and applicable contract", + "blocked_use": "Full-scope activation or extension to an unmatched model/protocol/state/grid/environment", + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [], + "current_numeric_status": "prior_exact_scope_gaps_retained_and_classified" + } + }, + { + "id": "scope-oracle-88ce0e7749381acf", + "capability_id": "oracle-88ce0e7749381acf", + "route_id": "route-b42f1550cc73e93a", + "origin_key": "oracle:poisson", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "positive_electrostatic_oracle_not_a_metadata_fallback" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/physics/poisson.py" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_poisson.py", + "symbol": "test_boundary_conditions_enforced" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_poisson.py", + "symbol": "test_explicit_finite_volume_factor_matches_legacy_factor" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_poisson.py", + "symbol": "test_explicit_series_capacitance_resolves_off_midpoint_interface" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_poisson.py", + "symbol": "test_positive_charge_creates_concave_potential" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_poisson.py", + "symbol": "test_zero_charge_gives_linear_potential" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/twod/test_poisson_2d.py", + "symbol": "test_poisson_2d_periodic_x_consistency" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/twod/test_poisson_2d.py", + "symbol": "test_poisson_2d_recovers_1d_parabolic_profile" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/twod/test_poisson_2d.py", + "symbol": "test_poisson_2d_solves_zero_charge_with_dirichlet_y" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/twod/test_poisson_2d.py", + "symbol": "test_two_column_periodic_poisson_preserves_zero_charge_affine_solution" + } + ], + "negative_only_descriptor_rule_ids": [], + "source_quantitative_assertion_ids_for_scope_audit": [ + "rule-adae595d5be9a03b556ac773", + "rule-f30c161ea13fc0d8bcf381f6", + "rule-47c3dae845aba0765832eab1", + "rule-5352b152c5cd874306360f88", + "rule-291d6bf8c01cf4c67f658204", + "rule-ee2bfe175c8badf9e0eadad5", + "rule-655e64927a126de9a1d6ac5d", + "rule-e3016ec8d7513d0215fd434b", + "rule-3460ddc4209ef2e91028af50" + ], + "rule_ids": [ + "M_payload", + "potential_packet", + "projection_packet", + "poisson_affine_51" + ], + "citations": [ + { + "source_id": "poisson_test", + "symbol": "test_zero_charge_gives_linear_potential" + }, + { + "source_id": "analytic_parameters" + } + ], + "remaining_inputs": [ + { + "field": "Independent use review and matching source/input/model/protocol/initial-state/numerics/environment/observation identity; the existing analytic error expressions are evidence, not automatic admission.", + "needed_from": "oracle-88ce0e7749381acf / poisson_affine_51_stored_nodes: original bound source/input and independently reviewed ReferenceQualification packet", + "blocked_use": "oracle:poisson: new N acceptance outside the explicitly limited fixture meaning", + "downstream_tasks": [ + "P00-03", + "P04-01", + "P09-03" + ] + }, + { + "field": "Other original driver/fixture branches listed in original_test_or_source_bindings remain outside these exact-case parameter bindings; original rules and positive physical obligations are unchanged.", + "needed_from": "oracle:poisson original branch-specific reference packet and applicable contract", + "blocked_use": "Full-scope activation or extension to an unmatched model/protocol/state/grid/environment" + } + ], + "downstream_tasks": [ + "P00-03", + "P04-01", + "P09-03" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "parameter_bindings": [ + { + "family_rule_id": "potential_packet", + "case_id": "poisson_affine_51_stored_nodes", + "applicability": "Only this already accepted analytic definition and its exact stored input fixture; no continuum, other material, nonlinear radiation or full-device extension.", + "numeric_parameter_status": "specified_for_listed_subgates", + "known_parameters": { + "input_sha256": "bd827a5cc89cbc2ba85d25ff8e34241fa1409ae840cd25bad6eca44b596b088e", + "definition_sha256": "011bd43169b8589c7c7713fd93b46f3f53a5239674fddab837cb9485a8c56931", + "comparison_target": { + "kind": "analytic_fixture", + "domain": "the exact real values of the stored51 input nodes", + "equation": "d/dx(epsilon*dphi/dx)=0 with constant epsilon and physical Dirichlet endpoints", + "reference_expression": "phi_left+(phi_right-phi_left)*(x_stored-x0_stored)/(xN_stored-x0_stored)", + "fixed_discrete_meaning": "affine exact-arithmetic constant-permittivity FV model evaluated on the original stored input nodes", + "excludes": "word-level truth of the floating assembled matrix or a different spatial operator" + }, + "inputs_and_observations": "Read exact words, coordinates, units and rules at analytic_reference_binding; no regenerated or copied reference output." + }, + "limits": { + "phi_V": { + "norm": "gauge_cv_rms_linf", + "rms": { + "unit": "V", + "atol": 1e-08, + "rtol": 0, + "fixed_reference_scale": 1, + "limit_exact_from_stored_parameters": [ + "3022314549036573", + "302231454903657293676544" + ], + "zero_policy": "absolute_error_without_division", + "norm": "absolute_linf", + "reference_error_allocation": "at most one third of this allowance; retain any stricter applicable original contract" + }, + "max": { + "unit": "V", + "atol": 1e-08, + "rtol": 0, + "fixed_reference_scale": 1, + "limit_exact_from_stored_parameters": [ + "3022314549036573", + "302231454903657293676544" + ], + "zero_policy": "absolute_error_without_division", + "norm": "absolute_linf", + "reference_error_allocation": "at most one third of this allowance; retain any stricter applicable original contract" + }, + "mask": [ + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true + ] + } + }, + "citations": [ + { + "source_id": "analytic_parameters" + } + ], + "remaining_parameters": [ + "Independent use review and matching source/input/model/protocol/initial-state/numerics/environment/observation identity; the existing analytic error expressions are evidence, not automatic admission." + ], + "reference_eligibility": { + "status": "blocked_pending_independent_reference_and_review", + "reference_error_bound": null, + "default_reference_error_share": "1/3", + "stronger_original_channel_allocations_retained": true, + "unused_error_shares_redistributed": false, + "reference_qualified": false, + "active_comparison": null + }, + "physical_definition": { + "kind": "potential", + "scope": "scope-oracle-88ce0e7749381acf", + "comparison_target": { + "kind": "analytic_fixture", + "id": "poisson_affine_51_stored_nodes" + }, + "quantity": "electrostatic_potential", + "unit": "V", + "norm": "gauge_cv_rms_linf", + "support": "All 51 original stored nodes, both physical Dirichlet boundaries; no interfaces.", + "mask": [ + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true + ], + "zero_policy": "fixed_physical_scale", + "coordinates_m": [ + 0.0, + 7.999999999999999e-09, + 1.5999999999999998e-08, + 2.3999999999999997e-08, + 3.1999999999999995e-08, + 3.9999999999999994e-08, + 4.799999999999999e-08, + 5.599999999999999e-08, + 6.399999999999999e-08, + 7.199999999999998e-08, + 7.999999999999999e-08, + 8.8e-08, + 9.599999999999999e-08, + 1.0399999999999998e-07, + 1.1199999999999998e-07, + 1.2e-07, + 1.2799999999999998e-07, + 1.3599999999999997e-07, + 1.4399999999999997e-07, + 1.5199999999999998e-07, + 1.5999999999999998e-07, + 1.6799999999999997e-07, + 1.76e-07, + 1.8399999999999998e-07, + 1.9199999999999997e-07, + 1.9999999999999996e-07, + 2.0799999999999996e-07, + 2.1599999999999998e-07, + 2.2399999999999997e-07, + 2.3199999999999996e-07, + 2.4e-07, + 2.4799999999999994e-07, + 2.5599999999999996e-07, + 2.64e-07, + 2.7199999999999995e-07, + 2.7999999999999997e-07, + 2.8799999999999993e-07, + 2.9599999999999995e-07, + 3.0399999999999997e-07, + 3.1199999999999994e-07, + 3.1999999999999995e-07, + 3.2799999999999997e-07, + 3.3599999999999994e-07, + 3.4399999999999996e-07, + 3.52e-07, + 3.5999999999999994e-07, + 3.6799999999999996e-07, + 3.759999999999999e-07, + 3.8399999999999994e-07, + 3.9199999999999996e-07, + 4e-07 + ], + "volumes": [ + 3.9999999999999994e-09, + 7.999999999999999e-09, + 7.999999999999999e-09, + 7.999999999999999e-09, + 7.999999999999999e-09, + 7.999999999999999e-09, + 7.999999999999999e-09, + 7.999999999999999e-09, + 7.999999999999996e-09, + 7.999999999999999e-09, + 8.000000000000005e-09, + 7.999999999999999e-09, + 7.999999999999992e-09, + 7.999999999999999e-09, + 8.000000000000005e-09, + 7.999999999999999e-09, + 7.999999999999992e-09, + 7.999999999999992e-09, + 8.000000000000005e-09, + 8.000000000000005e-09, + 7.999999999999992e-09, + 8.000000000000005e-09, + 8.000000000000005e-09, + 7.999999999999992e-09, + 7.999999999999992e-09, + 7.999999999999992e-09, + 8.000000000000005e-09, + 8.000000000000005e-09, + 7.999999999999992e-09, + 8.000000000000005e-09, + 7.999999999999992e-09, + 7.999999999999992e-09, + 8.000000000000019e-09, + 7.999999999999992e-09, + 7.999999999999992e-09, + 7.999999999999992e-09, + 7.999999999999992e-09, + 8.000000000000019e-09, + 7.999999999999992e-09, + 7.999999999999992e-09, + 8.000000000000019e-09, + 7.999999999999992e-09, + 7.999999999999992e-09, + 8.000000000000019e-09, + 7.999999999999992e-09, + 7.999999999999992e-09, + 7.999999999999992e-09, + 7.999999999999992e-09, + 8.000000000000019e-09, + 8.000000000000019e-09, + 4.000000000000009e-09 + ], + "volume_unit": "m", + "gauge": { + "kind": "fixed_contact", + "index": 0, + "value_V": 0.0, + "absolute_limit_V": 1e-08 + }, + "physical_right_boundary_V": 1.0, + "thresholds": { + "rms": { + "unit": "V", + "atol": 1e-08, + "rtol": 0.0, + "scale": 1.0, + "basis": "Unchanged analytic fixture rule / original affine Poisson test", + "operator": "le" + }, + "max": { + "unit": "V", + "atol": 1e-08, + "rtol": 0.0, + "scale": 1.0, + "basis": "Unchanged analytic fixture rule / original affine Poisson test", + "operator": "le" + } + }, + "source_bindings": [ + { + "root": "repository", + "path": "reproducibility/RefactorAnalyticReferencesV1.json", + "sha256": "f707d3a22a706f7c6880163e8edc8849aaa6786e7cc5c2f1431ae62c4fd3d330" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/unit/physics/test_poisson.py", + "sha256": "ed45fc65d78d4917f58e0dcec80b66188d3ed1b8504ac694d7e6782068d7a593" + } + ], + "status": "pending_independent_review", + "reference_qualified": false, + "reference_errors": null + }, + "analytic_reference_binding": { + "source_id": "analytic_parameters", + "pointer": "/definitions/0", + "value_sha256": "04a346d4c473d48e2dba299f788e78dfc1a1c77176836cdfd68937b824874e10", + "definition_id": "poisson_affine_51_stored_nodes" + } + } + ], + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-oracle-88ce0e7749381acf" + }, + "scope_specific_prior_gaps": [ + { + "field": "Independent use review and matching source/input/model/protocol/initial-state/numerics/environment/observation identity; the existing analytic error expressions are evidence, not automatic admission.", + "needed_from": "oracle-88ce0e7749381acf / poisson_affine_51_stored_nodes: original bound source/input and independently reviewed ReferenceQualification packet", + "blocked_use": "oracle:poisson: new N acceptance outside the explicitly limited fixture meaning", + "downstream_tasks": [ + "P00-03", + "P04-01", + "P09-03" + ], + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + }, + { + "field": "Other original driver/fixture branches listed in original_test_or_source_bindings remain outside these exact-case parameter bindings; original rules and positive physical obligations are unchanged.", + "needed_from": "oracle:poisson original branch-specific reference packet and applicable contract", + "blocked_use": "Full-scope activation or extension to an unmatched model/protocol/state/grid/environment", + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [], + "current_numeric_status": "prior_exact_scope_gaps_retained_and_classified" + } + }, + { + "id": "scope-oracle-2859c329278ce3e0", + "capability_id": "oracle-2859c329278ce3e0", + "route_id": "route-9703b76f135297b8", + "origin_key": "oracle:r1_independent_observation", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "R1_original_request_and_precision_axes" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_independent_physics.py" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_independent_physics.py", + "symbol": "test_actual_all_nested_levels_have_independent_physical_checks" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_independent_physics.py", + "symbol": "test_actual_shared_solver_and_publisher_current_error_is_detected" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_independent_physics.py", + "symbol": "test_coarse_level_independent_rejection_vetoes_complete_trace" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_independent_physics.py", + "symbol": "test_independent_failure_is_serialized_before_protocol_rejection" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_independent_physics.py", + "symbol": "test_constitutive_current_has_analytic_field_sign_and_detects_shared_sign_error" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_independent_physics.py", + "symbol": "test_contact_control_volume_error_can_fail_with_perfect_internal_agreement" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_independent_physics.py", + "symbol": "test_coordinated_solver_and_published_constant_current_is_not_independent_evidence" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_independent_physics.py", + "symbol": "test_equilibrium_and_forbidden_solver_shortcuts" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_independent_physics.py", + "symbol": "test_geometry_is_not_taken_from_solver_widths" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_independent_physics.py", + "symbol": "test_interface_guard_can_fail_when_internal_and_contact_guards_pass" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_independent_physics.py", + "symbol": "test_internal_face_guard_is_evaluated_not_inferred_from_solver_flag" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_independent_physics.py", + "symbol": "test_inventory_is_recomputed_from_original_population_and_geometry" + }, + { + "source_id": "archive:results/OneDimensionalMechanism/R1PhysicsDevelopmentV53/LongWindowV1/BaselineV1/Root/RequestV1.json", + "pointer": "/certificate_limits", + "value_sha256": "b54673f86c029ae83e50e67f4befa79e14bcbb6d419e4445c21a77d795d7b2f5" + }, + { + "source_id": "archive:results/OneDimensionalMechanism/R1PhysicsDevelopmentV53/LongWindowV1/BaselineV1/Root/RequestV1.json", + "pointer": "/solver_limits", + "value_sha256": "a46ae3398f9f6d0ab16538b20a6149078f0aaa5e6ca146e98bb960e1942853b1" + }, + { + "source_id": "archive:results/OneDimensionalMechanism/R1PhysicsDevelopmentV53/LongWindowV1/BaselineV1/Root/RequestV1.json", + "pointer": "/case", + "value_sha256": "c6e01ca25280b67ccabd484f51f88e7114731fb2ee182615525dd4431d0c3377" + }, + { + "source_id": "archive:results/OneDimensionalMechanism/R1PhysicsDevelopmentV53/LongWindowV1/BaselineV1/Root/RequestV1.json", + "pointer": "/inputs", + "value_sha256": "6cf2bc4f328e76a56a5cba3cf04418968273f74827b4f2fe3d7cae673e28c034" + } + ], + "negative_only_descriptor_rule_ids": [], + "source_quantitative_assertion_ids_for_scope_audit": [ + "rule-35ce971b4da96b2ef294d2d5", + "rule-bda20f700131d448aa8c1600" + ], + "rule_ids": [ + "M_payload", + "R1_original_convergence" + ], + "citations": [], + "remaining_inputs": [ + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/oracle-2859c329278ce3e0/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + }, + { + "field": "applicable original R1 Request/physical-standard/convergence-axis identity and external observation window; full100s/L1/L2/L3 only for full-protocol claims", + "needed_from": "oracle-2859c329278ce3e0 original R1 source/response contract and bound retained reference evidence", + "blocked_use": "claiming original R1 precision or full-protocol qualification from a generic scalar check" + } + ], + "downstream_tasks": [ + "P00-03", + "P07-05", + "P09-03" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-oracle-2859c329278ce3e0" + }, + "scope_specific_prior_gaps": [ + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/oracle-2859c329278ce3e0/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + }, + { + "field": "applicable original R1 Request/physical-standard/convergence-axis identity and external observation window; full100s/L1/L2/L3 only for full-protocol claims", + "needed_from": "oracle-2859c329278ce3e0 original R1 source/response contract and bound retained reference evidence", + "blocked_use": "claiming original R1 precision or full-protocol qualification from a generic scalar check", + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [], + "current_numeric_status": "prior_exact_scope_gaps_retained_and_classified" + } + }, + { + "id": "scope-oracle-c749a00822ac300a", + "capability_id": "oracle-c749a00822ac300a", + "route_id": "route-14e199cb8da127e6", + "origin_key": "oracle:r1_regular_current", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "R1_original_request_and_precision_axes" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_independent_regular.py" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_independent_physics.py", + "symbol": "test_actual_all_nested_levels_have_independent_physical_checks" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_independent_physics.py", + "symbol": "test_actual_shared_solver_and_publisher_current_error_is_detected" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_independent_physics.py", + "symbol": "test_coarse_level_independent_rejection_vetoes_complete_trace" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_independent_physics.py", + "symbol": "test_independent_failure_is_serialized_before_protocol_rejection" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_c_independent_regressions_v4.py", + "symbol": "test_a_resolvable_refinement_error_still_requires_explaining_a_smaller_reviewed_budget" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_c_independent_regressions_v4.py", + "symbol": "test_prerequisites_must_bind_the_external_window_even_when_every_evidence_digest_matches" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_independent_physics.py", + "symbol": "test_constitutive_current_has_analytic_field_sign_and_detects_shared_sign_error" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_independent_physics.py", + "symbol": "test_contact_control_volume_error_can_fail_with_perfect_internal_agreement" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_independent_physics.py", + "symbol": "test_coordinated_solver_and_published_constant_current_is_not_independent_evidence" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_independent_physics.py", + "symbol": "test_equilibrium_and_forbidden_solver_shortcuts" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_independent_physics.py", + "symbol": "test_geometry_is_not_taken_from_solver_widths" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_independent_physics.py", + "symbol": "test_interface_guard_can_fail_when_internal_and_contact_guards_pass" + }, + { + "source_id": "archive:results/OneDimensionalMechanism/R1PhysicsDevelopmentV53/LongWindowV1/BaselineV1/Root/RequestV1.json", + "pointer": "/certificate_limits", + "value_sha256": "b54673f86c029ae83e50e67f4befa79e14bcbb6d419e4445c21a77d795d7b2f5" + }, + { + "source_id": "archive:results/OneDimensionalMechanism/R1PhysicsDevelopmentV53/LongWindowV1/BaselineV1/Root/RequestV1.json", + "pointer": "/solver_limits", + "value_sha256": "a46ae3398f9f6d0ab16538b20a6149078f0aaa5e6ca146e98bb960e1942853b1" + }, + { + "source_id": "archive:results/OneDimensionalMechanism/R1PhysicsDevelopmentV53/LongWindowV1/BaselineV1/Root/RequestV1.json", + "pointer": "/case", + "value_sha256": "c6e01ca25280b67ccabd484f51f88e7114731fb2ee182615525dd4431d0c3377" + }, + { + "source_id": "archive:results/OneDimensionalMechanism/R1PhysicsDevelopmentV53/LongWindowV1/BaselineV1/Root/RequestV1.json", + "pointer": "/inputs", + "value_sha256": "6cf2bc4f328e76a56a5cba3cf04418968273f74827b4f2fe3d7cae673e28c034" + } + ], + "negative_only_descriptor_rule_ids": [], + "source_quantitative_assertion_ids_for_scope_audit": [ + "rule-35ce971b4da96b2ef294d2d5", + "rule-bda20f700131d448aa8c1600" + ], + "rule_ids": [ + "M_payload", + "R1_original_convergence" + ], + "citations": [], + "remaining_inputs": [ + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/oracle-c749a00822ac300a/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + }, + { + "field": "applicable original R1 Request/physical-standard/convergence-axis identity and external observation window; full100s/L1/L2/L3 only for full-protocol claims", + "needed_from": "oracle-c749a00822ac300a original R1 source/response contract and bound retained reference evidence", + "blocked_use": "claiming original R1 precision or full-protocol qualification from a generic scalar check" + } + ], + "downstream_tasks": [ + "P00-03", + "P07-05", + "P09-03" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-oracle-c749a00822ac300a" + }, + "scope_specific_prior_gaps": [ + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/oracle-c749a00822ac300a/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + }, + { + "field": "applicable original R1 Request/physical-standard/convergence-axis identity and external observation window; full100s/L1/L2/L3 only for full-protocol claims", + "needed_from": "oracle-c749a00822ac300a original R1 source/response contract and bound retained reference evidence", + "blocked_use": "claiming original R1 precision or full-protocol qualification from a generic scalar check", + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [], + "current_numeric_status": "prior_exact_scope_gaps_retained_and_classified" + } + }, + { + "id": "scope-oracle-c398ee1f8377a8ac", + "capability_id": "oracle-c398ee1f8377a8ac", + "route_id": "route-bcde79d2bee32047", + "origin_key": "oracle:sg_scalar", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "dimensionless_Bernoulli_and_dimensional_particle_flux_actions" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/discretization/fe_operators.py" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/discretization/test_fe_operators.py", + "symbol": "test_bernoulli_at_zero" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/discretization/test_fe_operators.py", + "symbol": "test_bernoulli_derivative_has_finite_asymptotic_limits" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/discretization/test_fe_operators.py", + "symbol": "test_bernoulli_derivative_matches_centered_difference" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/discretization/test_fe_operators.py", + "symbol": "test_bernoulli_large_negative" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/discretization/test_fe_operators.py", + "symbol": "test_bernoulli_large_positive" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/discretization/test_fe_operators.py", + "symbol": "test_bernoulli_symmetry" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/discretization/test_fe_operators.py", + "symbol": "test_sg_flux_n_equilibrium" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/discretization/test_fe_operators.py", + "symbol": "test_sg_flux_p_equilibrium" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/discretization/test_fe_operators.py", + "symbol": "test_vector_sg_face_jacobian_matches_independent_finite_difference" + } + ], + "negative_only_descriptor_rule_ids": [], + "source_quantitative_assertion_ids_for_scope_audit": [ + "rule-070a24117b4b090c152b36ff", + "rule-80e491187e17ac663ee8a7ef", + "rule-520a658299abd0c26afd5cf4", + "rule-d14de7421cd5f61790e1dfbc", + "rule-444d90a987eac660434d94a4", + "rule-494f61fcdb6f0a0fa605b36b", + "rule-236728b69ef72b970698b8fd", + "rule-d781eddbcd1ea2b11400cd08", + "rule-1676e5e81057eb956a6e2145", + "rule-5f5ae68faef0a367c90e9336", + "rule-f324013f6ff4245942da0b02" + ], + "rule_ids": [ + "M_payload", + "operator_packet", + "bernoulli_zero", + "bernoulli_50", + "bernoulli_minus20" + ], + "citations": [ + { + "source_id": "sg_test", + "symbol": "test_bernoulli_large_positive" + }, + { + "source_id": "analytic_parameters" + }, + { + "source_id": "sg_test", + "symbol": "test_sg_flux_n_equilibrium", + "lines": [ + 232, + 241 + ], + "text_sha256": "9ddef8162a7b8a5d1a44f8845cc4dcdf662888f17ed626abc6f4b8bd6d222eee" + }, + { + "source_id": "sg_test", + "symbol": "test_sg_flux_p_equilibrium", + "lines": [ + 244, + 252 + ], + "text_sha256": "01b6404916d4b24dcdca64aee8c057213c25cf2fcbd7f5576000d25340ecab75" + }, + { + "source_id": "sg_source", + "symbol": "sg_flux_n", + "lines": [ + 170, + 181 + ], + "text_sha256": "9767519c2cd31bc06b8a90b1d525aefb71ae505a641df657126346da3e31c89f" + }, + { + "source_id": "sg_source", + "symbol": "sg_flux_p", + "lines": [ + 184, + 195 + ], + "text_sha256": "d71493715cad382bc8d037395f03b280ae6b4cefdd823e06db657334bf8ecfc4" + } + ], + "remaining_inputs": [ + { + "field": "Independent use review and matching source/input/model/protocol/initial-state/numerics/environment/observation identity; the existing analytic error expressions are evidence, not automatic admission.", + "needed_from": "oracle-c398ee1f8377a8ac / bernoulli_0: original bound source/input and independently reviewed ReferenceQualification packet", + "blocked_use": "oracle:sg_scalar: new N acceptance outside the explicitly limited fixture meaning", + "downstream_tasks": [ + "P00-03", + "P04-01", + "P09-03" + ] + }, + { + "field": "Independent use review and matching source/input/model/protocol/initial-state/numerics/environment/observation identity; the existing analytic error expressions are evidence, not automatic admission.", + "needed_from": "oracle-c398ee1f8377a8ac / bernoulli_50: original bound source/input and independently reviewed ReferenceQualification packet", + "blocked_use": "oracle:sg_scalar: new N acceptance outside the explicitly limited fixture meaning", + "downstream_tasks": [ + "P00-03", + "P04-01", + "P09-03" + ] + }, + { + "field": "Independent use review and matching source/input/model/protocol/initial-state/numerics/environment/observation identity; the existing analytic error expressions are evidence, not automatic admission.", + "needed_from": "oracle-c398ee1f8377a8ac / bernoulli_minus20: original bound source/input and independently reviewed ReferenceQualification packet", + "blocked_use": "oracle:sg_scalar: new N acceptance outside the explicitly limited fixture meaning", + "downstream_tasks": [ + "P00-03", + "P04-01", + "P09-03" + ] + }, + { + "field": "A physically scaled N flux/Jacobian gate for the three-node fixture: fixed independent row/column scales and cancellation error. The old Jacobian atol=max(abs(candidate Jacobian))*1e-9 is explicitly ineligible as a new N scale.", + "needed_from": "oracle-c398ee1f8377a8ac / sg_two_node_equilibrium_original: original bound source/input and independently reviewed ReferenceQualification packet", + "blocked_use": "oracle:sg_scalar: new N acceptance outside the explicitly limited fixture meaning", + "downstream_tasks": [ + "P00-03", + "P04-01", + "P09-03" + ] + }, + { + "field": "Other original driver/fixture branches listed in original_test_or_source_bindings remain outside these exact-case parameter bindings; original rules and positive physical obligations are unchanged.", + "needed_from": "oracle:sg_scalar original branch-specific reference packet and applicable contract", + "blocked_use": "Full-scope activation or extension to an unmatched model/protocol/state/grid/environment" + } + ], + "downstream_tasks": [ + "P00-03", + "P04-01", + "P09-03" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "parameter_bindings": [ + { + "family_rule_id": "operator_packet", + "case_id": "bernoulli_0", + "applicability": "Only this already accepted analytic definition and its exact stored input fixture; no continuum, other material, nonlinear radiation or full-device extension.", + "numeric_parameter_status": "specified_for_listed_subgates", + "known_parameters": { + "input_sha256": "cb28cceb786349a01660763521f28b421c9414f47b16b1c4445c19f9eb199a5d", + "definition_sha256": "5f18d2cf47b43f78bde64ff8fb52aa8f29e852c69c66e189cdd6c9994d1846f1", + "comparison_target": { + "kind": "analytic_fixture", + "quantity": "dimensionless Bernoulli value at one exact input", + "function": "B(x)=x/(exp(x)-1), continuous extension B(0)=1" + }, + "inputs_and_observations": "Read exact words, coordinates, units and rules at analytic_reference_binding; no regenerated or copied reference output." + }, + "limits": { + "B": { + "unit": "1", + "atol": 0, + "rtol": 0, + "fixed_reference_scale": 1, + "limit_exact_from_stored_parameters": [ + "0", + "1" + ], + "zero_policy": "absolute_error_without_division", + "norm": "absolute_linf", + "reference_error_allocation": "at most one third of this allowance; retain any stricter applicable original contract" + } + }, + "citations": [ + { + "source_id": "analytic_parameters" + } + ], + "remaining_parameters": [ + "Independent use review and matching source/input/model/protocol/initial-state/numerics/environment/observation identity; the existing analytic error expressions are evidence, not automatic admission." + ], + "reference_eligibility": { + "status": "blocked_pending_independent_reference_and_review", + "reference_error_bound": null, + "default_reference_error_share": "1/3", + "stronger_original_channel_allocations_retained": true, + "unused_error_shares_redistributed": false, + "reference_qualified": false, + "active_comparison": null + }, + "analytic_reference_binding": { + "source_id": "analytic_parameters", + "pointer": "/definitions/1", + "value_sha256": "391c3391378ec58dfc92d1f0db3b13a6b804539a259d53645f38664b2e7967dc", + "definition_id": "bernoulli_0" + } + }, + { + "family_rule_id": "operator_packet", + "case_id": "bernoulli_50", + "applicability": "Only this already accepted analytic definition and its exact stored input fixture; no continuum, other material, nonlinear radiation or full-device extension.", + "numeric_parameter_status": "specified_for_listed_subgates", + "known_parameters": { + "input_sha256": "f113cd4260b407434932af702c5742980bbec3771d1c09fbe783fa605a8d147a", + "definition_sha256": "66beb08d3b863c6a4a79c16141a9439151aeb5b3b44a0c3d47d7bbf26180dec9", + "comparison_target": { + "kind": "analytic_fixture", + "quantity": "dimensionless Bernoulli value at one exact input", + "function": "B(x)=x/(exp(x)-1), continuous extension B(0)=1" + }, + "inputs_and_observations": "Read exact words, coordinates, units and rules at analytic_reference_binding; no regenerated or copied reference output." + }, + "limits": { + "B": { + "unit": "1", + "atol": 1e-10, + "rtol": 0, + "fixed_reference_scale": 0, + "limit_exact_from_stored_parameters": [ + "7737125245533627", + "77371252455336267181195264" + ], + "zero_policy": "absolute_error_without_division", + "norm": "absolute_linf", + "reference_error_allocation": "at most one third of this allowance; retain any stricter applicable original contract" + } + }, + "citations": [ + { + "source_id": "analytic_parameters" + } + ], + "remaining_parameters": [ + "Independent use review and matching source/input/model/protocol/initial-state/numerics/environment/observation identity; the existing analytic error expressions are evidence, not automatic admission." + ], + "reference_eligibility": { + "status": "blocked_pending_independent_reference_and_review", + "reference_error_bound": null, + "default_reference_error_share": "1/3", + "stronger_original_channel_allocations_retained": true, + "unused_error_shares_redistributed": false, + "reference_qualified": false, + "active_comparison": null + }, + "analytic_reference_binding": { + "source_id": "analytic_parameters", + "pointer": "/definitions/2", + "value_sha256": "fc4373364f4c170ee59655c370770f3310fc6a76fc76a2b7cd9517b40e0e5e18", + "definition_id": "bernoulli_50" + } + }, + { + "family_rule_id": "operator_packet", + "case_id": "bernoulli_minus20", + "applicability": "Only this already accepted analytic definition and its exact stored input fixture; no continuum, other material, nonlinear radiation or full-device extension.", + "numeric_parameter_status": "specified_for_listed_subgates", + "known_parameters": { + "input_sha256": "0f47e0d2968844b6812271595f2c579efaa911fb09292a748402dcae0df35e23", + "definition_sha256": "63ab8848729a18cfad8980b914d99a2bf360f9393c20c407b5aede9704ba27a3", + "comparison_target": { + "kind": "analytic_fixture", + "quantity": "dimensionless Bernoulli value at one exact input", + "function": "B(x)=x/(exp(x)-1), continuous extension B(0)=1" + }, + "inputs_and_observations": "Read exact words, coordinates, units and rules at analytic_reference_binding; no regenerated or copied reference output." + }, + "limits": { + "B": { + "unit": "1", + "atol": 0, + "rtol": 1e-06, + "fixed_reference_scale": 20, + "limit_exact_from_stored_parameters": [ + "23611832414348225", + "1180591620717411303424" + ], + "zero_policy": "absolute_error_without_division", + "norm": "absolute_linf", + "reference_error_allocation": "at most one third of this allowance; retain any stricter applicable original contract" + } + }, + "citations": [ + { + "source_id": "analytic_parameters" + } + ], + "remaining_parameters": [ + "Independent use review and matching source/input/model/protocol/initial-state/numerics/environment/observation identity; the existing analytic error expressions are evidence, not automatic admission." + ], + "reference_eligibility": { + "status": "blocked_pending_independent_reference_and_review", + "reference_error_bound": null, + "default_reference_error_share": "1/3", + "stronger_original_channel_allocations_retained": true, + "unused_error_shares_redistributed": false, + "reference_qualified": false, + "active_comparison": null + }, + "analytic_reference_binding": { + "source_id": "analytic_parameters", + "pointer": "/definitions/3", + "value_sha256": "e68221ce01df60ce8e712fbf50b87e178f362d2cf7d0383a8af85ae7d5cd1120", + "definition_id": "bernoulli_minus20" + } + }, + { + "family_rule_id": "operator_packet", + "case_id": "sg_two_node_equilibrium_original", + "applicability": "Only the original two-node scalar electron/hole equilibrium tests; the unusually loose numerical bound is recorded without improving or universalizing it.", + "numeric_parameter_status": "specified_for_listed_subgates", + "known_parameters": { + "phi_V": [ + 0.0, + 0.1 + ], + "thermal_voltage_V": 0.025852, + "spacing_m": 1e-07, + "diffusion_m2_s": 5.17e-06, + "left_density_m3": 1e+18, + "right_density_formula": "electron: 1e18*exp(0.1/V_T); hole: 1e18*exp(-0.1/V_T)", + "quantity": "electrical current density", + "unit": "A m-2", + "zero_policy": "Zero equilibrium current compared absolutely; q is already included by sg_flux_n/sg_flux_p." + }, + "limits": { + "original_current_zero": { + "unit": "A m-2", + "atol": 100000000.0, + "rtol": 0.0, + "scale": 1.0, + "basis": "Exact original abs(J) < 1e-10*abs(left density) expression; do not reinterpret as a tighter transport contract", + "operator": "lt" + } + }, + "citations": [ + { + "source_id": "sg_test", + "symbol": "test_sg_flux_n_equilibrium", + "lines": [ + 232, + 241 + ], + "text_sha256": "9ddef8162a7b8a5d1a44f8845cc4dcdf662888f17ed626abc6f4b8bd6d222eee" + }, + { + "source_id": "sg_test", + "symbol": "test_sg_flux_p_equilibrium", + "lines": [ + 244, + 252 + ], + "text_sha256": "01b6404916d4b24dcdca64aee8c057213c25cf2fcbd7f5576000d25340ecab75" + }, + { + "source_id": "sg_source", + "symbol": "sg_flux_n", + "lines": [ + 170, + 181 + ], + "text_sha256": "9767519c2cd31bc06b8a90b1d525aefb71ae505a641df657126346da3e31c89f" + }, + { + "source_id": "sg_source", + "symbol": "sg_flux_p", + "lines": [ + 184, + 195 + ], + "text_sha256": "d71493715cad382bc8d037395f03b280ae6b4cefdd823e06db657334bf8ecfc4" + } + ], + "remaining_parameters": [ + "A physically scaled N flux/Jacobian gate for the three-node fixture: fixed independent row/column scales and cancellation error. The old Jacobian atol=max(abs(candidate Jacobian))*1e-9 is explicitly ineligible as a new N scale." + ], + "reference_eligibility": { + "status": "blocked_pending_independent_reference_and_review", + "reference_error_bound": null, + "default_reference_error_share": "1/3", + "stronger_original_channel_allocations_retained": true, + "unused_error_shares_redistributed": false, + "reference_qualified": false, + "active_comparison": null + } + }, + { + "family_rule_id": "operator_packet", + "case_id": "sg_original_three_node_frozen_actions", + "applicability": "Only the original two-carrier, three-node, fixed-grid SG comparison, with the direction-scope clarification below and the recorded exact rational limits adopted as a candidate-independent numerical requirement.", + "numeric_parameter_status": "specified_for_listed_subgates", + "known_parameters": { + "source_id": "sg_action_fixture", + "fixture_pointer": "/fixture", + "fixture_value_sha256": "4e8e67c7deba3e02421e8ca02a73f2151d912bb353bbb9dd7335e021165dfe28", + "carriers": [ + "n", + "p" + ], + "nodes": 3, + "faces": 2, + "signed_actions": 96, + "finite_difference_entries": 24, + "candidate_independent": true + }, + "limits": { + "signed_actions": { + "unit": "A m-2", + "source_id": "sg_action_fixture", + "pointer": "/signed_actions", + "allowance_field": "conditional_absolute_allowance_A_m2", + "reference_field": "reference_action", + "exact_zero_when": "classification == exact_zero", + "method": "Two binary64 products and one binary64 addition; finite output interpreted as an exact dyadic and compared to the exact rational midpoint and frozen absolute allowance. No weak-signal relative floor." + }, + "finite_difference_entries": { + "units_by_block": { + "density": "A m", + "potential": "A m-2 V-1" + }, + "source_id": "sg_action_fixture", + "pointer": "/finite_difference_decomposition", + "allowance_field": "conditional_comparison_allowance", + "zero_field": "exact_zero", + "method": "Original represented perturbations and FD steps, exact dyadic observed-minus-implemented-coefficient error; exact structural zeros and flux-equality subgate retained." + } + }, + "citations": [ + { + "source_id": "sg_action_fixture" + }, + { + "source_id": "sg_action_review" + } + ], + "remaining_parameters": [ + "Bind each new implementation and actual arithmetic/inputs to the frozen direct requirements before accepting its numerical outputs; this definition does not qualify a candidate.", + "Other fixtures and models in the original SG scope keep their existing outstanding obligations. The separate conditional forward-error theorem still requires its stated exp/expm1 premises." + ], + "reference_eligibility": { + "status": "definition_frozen_reference_use_requires_bound_implementation_review", + "reference_error_bound": null, + "default_reference_error_share": "1/3", + "stronger_original_channel_allocations_retained": true, + "unused_error_shares_redistributed": false, + "reference_qualified": false, + "active_comparison": null + }, + "interpretation": { + "frozen_direct_requirement": "The recorded conditional allowances are accepted as candidate-independent accuracy requirements; direct comparison of observed outputs does not assume the unproved elementary-function forward-error contract.", + "forward_error_theorem": "Claiming the conditional forward-error theorem still requires separately proving its stated NumPy exp/expm1 and basic-arithmetic premises; a passing unit comparison does not establish those premises.", + "block_scale_domain": "The direction-specific absolute sum is bounded by the block scale only inside that block component box: absolute density components at most their original nodal densities, or absolute potential components at most the fixture thermal voltage; weak/out-of-box directions keep their own recorded scales and limits.", + "comparison": "Finite observed binary64 values are exact dyadics. Compare the two-product/one-add action against the exact rational reference midpoint and its unchanged absolute allowance; structural/gauge zeros are exact. FD comparisons use the recorded per-entry allowances. Weak actions have no relative-resolution claim." + } + } + ], + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-oracle-c398ee1f8377a8ac" + }, + "scope_specific_prior_gaps": [ + { + "field": "Independent use review and matching source/input/model/protocol/initial-state/numerics/environment/observation identity; the existing analytic error expressions are evidence, not automatic admission.", + "needed_from": "oracle-c398ee1f8377a8ac / bernoulli_0: original bound source/input and independently reviewed ReferenceQualification packet", + "blocked_use": "oracle:sg_scalar: new N acceptance outside the explicitly limited fixture meaning", + "downstream_tasks": [ + "P00-03", + "P04-01", + "P09-03" + ], + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + }, + { + "field": "Independent use review and matching source/input/model/protocol/initial-state/numerics/environment/observation identity; the existing analytic error expressions are evidence, not automatic admission.", + "needed_from": "oracle-c398ee1f8377a8ac / bernoulli_50: original bound source/input and independently reviewed ReferenceQualification packet", + "blocked_use": "oracle:sg_scalar: new N acceptance outside the explicitly limited fixture meaning", + "downstream_tasks": [ + "P00-03", + "P04-01", + "P09-03" + ], + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + }, + { + "field": "Independent use review and matching source/input/model/protocol/initial-state/numerics/environment/observation identity; the existing analytic error expressions are evidence, not automatic admission.", + "needed_from": "oracle-c398ee1f8377a8ac / bernoulli_minus20: original bound source/input and independently reviewed ReferenceQualification packet", + "blocked_use": "oracle:sg_scalar: new N acceptance outside the explicitly limited fixture meaning", + "downstream_tasks": [ + "P00-03", + "P04-01", + "P09-03" + ], + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + }, + { + "field": "A physically scaled N flux/Jacobian gate for the three-node fixture: fixed independent row/column scales and cancellation error. The old Jacobian atol=max(abs(candidate Jacobian))*1e-9 is explicitly ineligible as a new N scale.", + "needed_from": "oracle-c398ee1f8377a8ac / sg_two_node_equilibrium_original: original bound source/input and independently reviewed ReferenceQualification packet", + "blocked_use": "oracle:sg_scalar: new N acceptance outside the explicitly limited fixture meaning", + "downstream_tasks": [ + "P00-03", + "P04-01", + "P09-03" + ], + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + }, + { + "field": "Other original driver/fixture branches listed in original_test_or_source_bindings remain outside these exact-case parameter bindings; original rules and positive physical obligations are unchanged.", + "needed_from": "oracle:sg_scalar original branch-specific reference packet and applicable contract", + "blocked_use": "Full-scope activation or extension to an unmatched model/protocol/state/grid/environment", + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [ + "sg_original_three_node_frozen_actions" + ], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [], + "current_numeric_status": "three_node_SG_direct_definition_frozen;other_original_case_and_reference_use_gaps_retained" + } + }, + { + "id": "scope-oracle-a34b44c50d3476cf", + "capability_id": "oracle-a34b44c50d3476cf", + "route_id": "route-067b237d97b48d83", + "origin_key": "oracle:storage_low_bits", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "physical_increment_capture_and_precision_primitives" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/physics/dynamic_storage.py" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_dynamic_storage.py", + "symbol": "test_invalid_increment_inputs_fail_closed" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_dynamic_storage.py", + "symbol": "test_log_density_increment_resolves_sub_ulp_relative_motion" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_dynamic_storage.py", + "symbol": "test_log_density_update_fixed_branch_and_large_negative_input" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_dynamic_storage.py", + "symbol": "test_log_density_update_matches_frozen_independent_trace_reference" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_dynamic_storage.py", + "symbol": "test_log_density_update_rejects_invalid_or_unrepresentable_density" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_dynamic_storage.py", + "symbol": "test_log_density_update_zero_scalar_shape_and_input_ownership" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_dynamic_storage.py", + "symbol": "test_logit_increment_matches_reconstructed_occupancy_change" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_dynamic_storage.py", + "symbol": "test_zero_coordinate_increment_is_exactly_zero" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_fixed_occupancy_capture_precision.py", + "symbol": "test_both_signs_survive_a_complement_rounded_to_one" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_fixed_occupancy_capture_precision.py", + "symbol": "test_disabled_capture_at_largest_finite_density" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_fixed_occupancy_capture_precision.py", + "symbol": "test_finite_density_domain_includes_values_outside_dd_range" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/physics/test_fixed_occupancy_capture_precision.py", + "symbol": "test_log_density_tangent_matches_decimal_central_differences" + } + ], + "negative_only_descriptor_rule_ids": [ + "rule-882d3c67220c7101d958e19d", + "rule-8df0d4e0a43f487228754afc" + ], + "source_quantitative_assertion_ids_for_scope_audit": [ + "rule-7acfc0ff09b60eee4a1510f0", + "rule-448c74afc1b6eebc2f1c3a4e", + "rule-aef228aa7e4f58c5f5bb373c", + "rule-7b3d8fa541f5bde07455ab63", + "rule-bff9109e61326bba3bbb9981", + "rule-201eb87971f657fd3aae6c05", + "rule-4e6674951c58c14b81904ff8", + "rule-7aaec5e7251adf29a260184b", + "rule-5791eb9906ebee8414f05cf6", + "rule-5e5d3fd8be236249f21f70d1", + "rule-57ec912a8b27c59b7c79c115", + "rule-e3860583b6542a058854c780", + "rule-b4e425ecac698a753d4132f6", + "rule-a9165e43a8f0ef07f9cff256", + "rule-eeab5808684cdf4e243b8780", + "rule-bee6c15ce2b33a0084569180" + ], + "rule_ids": [ + "M_payload", + "operator_packet" + ], + "citations": [ + { + "source_id": "storage_test", + "symbol": "test_log_density_increment_resolves_sub_ulp_relative_motion", + "lines": [ + 14, + 22 + ], + "text_sha256": "d2edf8f585ae9fce39ebc9a5a88098a2464e207aadc22c5aadf88f5286f35c54" + }, + { + "source_id": "storage_test", + "symbol": "test_zero_coordinate_increment_is_exactly_zero", + "lines": [ + 39, + 47 + ], + "text_sha256": "63001a250cb70151edafca7862885ebe7119e08f7cc96245bb189066ae9b3a69" + } + ], + "remaining_inputs": [ + { + "field": "Independent reference error for 1e22*expm1(1e-16) relative to the historical stored 1e6 target; the assert alone does not establish zero error or reference eligibility.", + "needed_from": "oracle-a34b44c50d3476cf / sub_ulp_log_density_increment_original: original bound source/input and independently reviewed ReferenceQualification packet", + "blocked_use": "oracle:storage_low_bits: new N acceptance outside the explicitly limited fixture meaning", + "downstream_tasks": [ + "P00-03", + "P02-08", + "P09-03" + ] + }, + { + "field": "General logit increment fixture needs reference reconstruction/cancellation error before its existing 2e-9 relative / 1e-17 absolute assertion can become an N gate.", + "needed_from": "oracle-a34b44c50d3476cf / sub_ulp_log_density_increment_original: original bound source/input and independently reviewed ReferenceQualification packet", + "blocked_use": "oracle:storage_low_bits: new N acceptance outside the explicitly limited fixture meaning", + "downstream_tasks": [ + "P00-03", + "P02-08", + "P09-03" + ] + }, + { + "field": "Other original driver/fixture branches listed in original_test_or_source_bindings remain outside these exact-case parameter bindings; original rules and positive physical obligations are unchanged.", + "needed_from": "oracle:storage_low_bits original branch-specific reference packet and applicable contract", + "blocked_use": "Full-scope activation or extension to an unmatched model/protocol/state/grid/environment" + } + ], + "downstream_tasks": [ + "P00-03", + "P02-08", + "P09-03" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "parameter_bindings": [ + { + "family_rule_id": "operator_packet", + "case_id": "sub_ulp_log_density_increment_original", + "applicability": "Original stored-number target and zero-coordinate branch, not a newly generated analytic reference or full state-update certificate.", + "numeric_parameter_status": "specified_for_listed_subgates", + "known_parameters": { + "previous_density_m3": [ + 1e+22 + ], + "log_coordinate_increment": [ + 1e-16 + ], + "stored_expected_increment_m3": [ + 1000000.0 + ], + "zero_density_anchors_m3": [ + 1.0, + 1e+30 + ], + "zero_logit_anchors": [ + 0.1, + 0.9 + ], + "zero_coordinate_increment": [ + 0.0, + 0.0 + ], + "zero_policy": "Exact zero increment for the specified positive/interior anchors; invalid zero density or endpoint occupancy remains rejected." + }, + "limits": { + "positive_increment_original": { + "unit": "m-3", + "atol": 0.0, + "rtol": 2e-16, + "scale": 1000000.0, + "basis": "Original pytest.approx(1e6, rel=2e-16), on this positive fixed target", + "operator": "le" + }, + "zero_density_increment": { + "unit": "m-3", + "atol": 0.0, + "rtol": 0.0, + "scale": 0.0, + "basis": "Original exact-zero array assertion", + "operator": "le" + }, + "zero_occupancy_increment": { + "unit": "1", + "atol": 0.0, + "rtol": 0.0, + "scale": 0.0, + "basis": "Original exact-zero array assertion", + "operator": "le" + } + }, + "citations": [ + { + "source_id": "storage_test", + "symbol": "test_log_density_increment_resolves_sub_ulp_relative_motion", + "lines": [ + 14, + 22 + ], + "text_sha256": "d2edf8f585ae9fce39ebc9a5a88098a2464e207aadc22c5aadf88f5286f35c54" + }, + { + "source_id": "storage_test", + "symbol": "test_zero_coordinate_increment_is_exactly_zero", + "lines": [ + 39, + 47 + ], + "text_sha256": "63001a250cb70151edafca7862885ebe7119e08f7cc96245bb189066ae9b3a69" + } + ], + "remaining_parameters": [ + "Independent reference error for 1e22*expm1(1e-16) relative to the historical stored 1e6 target; the assert alone does not establish zero error or reference eligibility.", + "General logit increment fixture needs reference reconstruction/cancellation error before its existing 2e-9 relative / 1e-17 absolute assertion can become an N gate." + ], + "reference_eligibility": { + "status": "blocked_pending_independent_reference_and_review", + "reference_error_bound": null, + "default_reference_error_share": "1/3", + "stronger_original_channel_allocations_retained": true, + "unused_error_shares_redistributed": false, + "reference_qualified": false, + "active_comparison": null + } + } + ], + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-oracle-a34b44c50d3476cf" + }, + "scope_specific_prior_gaps": [ + { + "field": "Independent reference error for 1e22*expm1(1e-16) relative to the historical stored 1e6 target; the assert alone does not establish zero error or reference eligibility.", + "needed_from": "oracle-a34b44c50d3476cf / sub_ulp_log_density_increment_original: original bound source/input and independently reviewed ReferenceQualification packet", + "blocked_use": "oracle:storage_low_bits: new N acceptance outside the explicitly limited fixture meaning", + "downstream_tasks": [ + "P00-03", + "P02-08", + "P09-03" + ], + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + }, + { + "field": "General logit increment fixture needs reference reconstruction/cancellation error before its existing 2e-9 relative / 1e-17 absolute assertion can become an N gate.", + "needed_from": "oracle-a34b44c50d3476cf / sub_ulp_log_density_increment_original: original bound source/input and independently reviewed ReferenceQualification packet", + "blocked_use": "oracle:storage_low_bits: new N acceptance outside the explicitly limited fixture meaning", + "downstream_tasks": [ + "P00-03", + "P02-08", + "P09-03" + ], + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + }, + { + "field": "Other original driver/fixture branches listed in original_test_or_source_bindings remain outside these exact-case parameter bindings; original rules and positive physical obligations are unchanged.", + "needed_from": "oracle:storage_low_bits original branch-specific reference packet and applicable contract", + "blocked_use": "Full-scope activation or extension to an unmatched model/protocol/state/grid/environment", + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [], + "current_numeric_status": "prior_exact_scope_gaps_retained_and_classified" + } + }, + { + "id": "scope-oracle-23a290eced9bdb76", + "capability_id": "oracle-23a290eced9bdb76", + "route_id": "route-c7a4b568f42d617d", + "origin_key": "oracle:time_domain_lockin", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "current_observation_or_current_input", + "complex_frequency_response" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/ion_aware_impedance_lockin.py" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_impedance_lockin.py", + "symbol": "test_exact_dc_transient_lockin_matches_frequency_domain_ionic_points" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py", + "symbol": "test_lockin_crosscheck_certifies_each_numerical_axis" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py", + "symbol": "test_lockin_crosscheck_rejects_replaced_dc_state_before_transient" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py", + "symbol": "test_lockin_protocol_round_trip_binds_exact_reference" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py", + "symbol": "test_lockin_protocol_schema_and_frequency_subset_fail_closed" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py", + "symbol": "test_tighter_preregistered_agreement_gate_returns_failed_evidence" + } + ], + "negative_only_descriptor_rule_ids": [ + "rule-8a1b0617808a3911a60a701a", + "rule-500f51cd12a764cbaecef237", + "rule-937833f603c2903b77ca6953", + "rule-4505cd2007568296b8dcbfcd", + "rule-6d94b4b51d3a1eebe3868be3", + "rule-765fcbadfbcc7dea4c7e3bec" + ], + "source_quantitative_assertion_ids_for_scope_audit": [ + "rule-474a559975705b55312f1e0a", + "rule-49236dd662bad1ea7b815011" + ], + "rule_ids": [ + "M_payload", + "current_packet", + "complex_packet" + ], + "citations": [ + { + "source_id": "lockin_test", + "symbol": "test_exact_dc_transient_lockin_matches_frequency_domain_ionic_points", + "lines": [ + 21, + 83 + ], + "text_sha256": "1fafd3ac26dc6e9eded2112c8cca6fdec12fab4eb59c52ee6a1cbeba153914b9" + }, + { + "source_id": "lockin_source" + }, + { + "source_id": "formal", + "lines": [ + 910, + 931 + ], + "text_sha256": "b72c4040bcf0248f9b08eca8c8ecf561fb82e0f5fa637d76d2551b6dc22f4a60" + } + ], + "remaining_inputs": [ + { + "field": "Per-frequency real/imag/complex reference values and independent current/voltage/Z errors, with exact DC state, window, sample operator, interpolation/history and applied controls.", + "needed_from": "oracle-23a290eced9bdb76 / ion_aware_lockin_three_frequencies: independently qualified source/input/reference evidence", + "blocked_use": "Any active new numerical comparison before the exact data/error/identity/review gate is frozen", + "downstream_tasks": [ + "P00-03", + "P05-03", + "P09-03" + ] + }, + { + "field": "Error budgets cover solve/time discretization, extraction/operator rounding, residual DC drift, finite-window/cycle settling and any finite-amplitude-to-linear-response target discrepancy;20/40/80 changes alone are empirical.", + "needed_from": "oracle-23a290eced9bdb76 / ion_aware_lockin_three_frequencies: independently qualified source/input/reference evidence", + "blocked_use": "Any active new numerical comparison before the exact data/error/identity/review gate is frozen", + "downstream_tasks": [ + "P00-03", + "P05-03", + "P09-03" + ] + }, + { + "field": "At each frequency the actual current and impedance uncertainty must satisfy the fixed floor, all three mixed gates, 1/3reference shares and the appropriate strict phase budget. Missing/unresolved frequencies block case acceptance.", + "needed_from": "oracle-23a290eced9bdb76 / ion_aware_lockin_three_frequencies: independently qualified source/input/reference evidence", + "blocked_use": "Any active new numerical comparison before the exact data/error/identity/review gate is frozen", + "downstream_tasks": [ + "P00-03", + "P05-03", + "P09-03" + ] + }, + { + "field": "Other original driver/fixture branches listed in original_test_or_source_bindings remain outside these exact-case parameter bindings; original rules and positive physical obligations are unchanged.", + "needed_from": "oracle:time_domain_lockin original branch-specific reference packet and applicable contract", + "blocked_use": "Full-scope activation or extension to an unmatched model/protocol/state/grid/environment" + } + ], + "downstream_tasks": [ + "P00-03", + "P05-03", + "P09-03" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "parameter_bindings": [ + { + "family_rule_id": "complex_packet", + "case_id": "ion_aware_lockin_three_frequencies", + "applicability": "Original ionmonger DC=0.9 V fixture; circular phase thresholds converted from the applicable integration assertions, with unresolved amplitude/uncertainty admission.", + "numeric_parameter_status": "prospective_complete", + "known_parameters": { + "unit": "ohm m2", + "current_unit": "A m-2", + "frequencies_Hz": [ + 0.001, + 0.01, + 1.0 + ], + "dc_voltage_V": 0.9, + "cycles": 4, + "extraction_cycles": 2, + "points_per_cycle": [ + 20, + 40, + 80 + ], + "rtol": 1e-05, + "phase_rule": "abs(angle(new*conj(reference))) in radians; branch-cut circular distance, never relative angle", + "phase_conversion": "original degrees * pi / 180", + "weak_signal": "Both amplitudes must exceed a separately justified, frozen floor; the old symmetric max(abs(left),abs(right),np.finfo(float).tiny) normalization cannot supply that floor.", + "original_assertion_magnitude_relative_limit": 0.01, + "prospective_N_relative_target": 0.0001, + "current_convention": "passive" + }, + "limits": { + "frequency_phase": { + "unit": "rad", + "atol": 0.00017453292519943296, + "rtol": 0.0, + "scale": 1.0, + "basis": "Original max_frequency_domain_phase_difference_deg <0.01, converted units only", + "operator": "lt" + }, + "time_phase": { + "unit": "rad", + "atol": 1.7453292519943296e-05, + "rtol": 0.0, + "scale": 1.0, + "basis": "Original max_time_resolution_phase_change_deg <0.001, converted units only", + "operator": "lt" + } + }, + "citations": [ + { + "source_id": "lockin_test", + "symbol": "test_exact_dc_transient_lockin_matches_frequency_domain_ionic_points", + "lines": [ + 21, + 83 + ], + "text_sha256": "1fafd3ac26dc6e9eded2112c8cca6fdec12fab4eb59c52ee6a1cbeba153914b9" + }, + { + "source_id": "lockin_source" + }, + { + "source_id": "formal", + "lines": [ + 910, + 931 + ], + "text_sha256": "b72c4040bcf0248f9b08eca8c8ecf561fb82e0f5fa637d76d2551b6dc22f4a60" + }, + { + "source_id": "four_case_proposal" + }, + { + "source_id": "four_case_amendments" + }, + { + "source_id": "four_case_amendment_review" + }, + { + "source_id": "four_case_arithmetic" + } + ], + "remaining_parameters": [ + "Per-frequency real/imag/complex reference values and independent current/voltage/Z errors, with exact DC state, window, sample operator, interpolation/history and applied controls.", + "Error budgets cover solve/time discretization, extraction/operator rounding, residual DC drift, finite-window/cycle settling and any finite-amplitude-to-linear-response target discrepancy;20/40/80 changes alone are empirical.", + "At each frequency the actual current and impedance uncertainty must satisfy the fixed floor, all three mixed gates, 1/3reference shares and the appropriate strict phase budget. Missing/unresolved frequencies block case acceptance." + ], + "reference_eligibility": { + "status": "blocked_pending_independent_reference_and_review", + "reference_error_bound": null, + "default_reference_error_share": "1/3", + "stronger_original_channel_allocations_retained": true, + "unused_error_shares_redistributed": false, + "reference_qualified": false, + "active_comparison": null + }, + "case_definition": { + "schema": "solarlab.four_case_definition.v1", + "kind": "lockin", + "scope_id": "scope-oracle-23a290eced9bdb76", + "case_id": "ion_aware_lockin_three_frequencies", + "status": "prospective_complete", + "reference_error_bound": null, + "reference_qualified": false, + "active_comparison": null, + "protocol": { + "unit": "ohm m2", + "current_unit": "A m-2", + "frequencies_Hz": [ + 0.001, + 0.01, + 1.0 + ], + "dc_voltage_V": 0.9, + "cycles": 4, + "extraction_cycles": 2, + "points_per_cycle": [ + 20, + 40, + 80 + ], + "rtol": 1e-05, + "phase_rule": "abs(angle(new*conj(reference))) in radians; branch-cut circular distance, never relative angle", + "phase_conversion": "original degrees * pi / 180", + "weak_signal": "Both amplitudes must exceed a separately justified, frozen floor; the old symmetric max(abs(left),abs(right),np.finfo(float).tiny) normalization cannot supply that floor.", + "original_assertion_magnitude_relative_limit": 0.01, + "prospective_N_relative_target": 0.0001, + "current_convention": "passive" + }, + "common_contract": { + "classification": "These are proposed accuracy allocations. Source-derived scales are dimensional normalizations, not observations, reference error certificates, measured resolution limits or device-area/noise assumptions.", + "mixed_rule": "T(S_ref,U)=a+r*S_ref; epsilon=1e-4, a=(epsilon^2/2)*U, r=epsilon/2, S_ref=abs(the frozen same-channel reference); no candidate-dependent normalization.", + "accuracy_argument": "For S_ref>=epsilon*U, T<=epsilon*S_ref; for S_refB_I and V uncertainty B_V is retained. For Z=V/I, B_Z <= (I_abs*B_V+V_abs*B_I)/(I_abs*(I_abs-B_I)), plus separately bounded division/extraction rounding.", + "phase": "For Z_abs>B_Z, a conservative disk phase bound is B_phi<=B_Z/(Z_abs-B_Z). Require B_phi_ref and B_phi_new each<=theta/6 and measured circular phase difference+B_phi_ref+B_phi_new=epsilon*U, T<=epsilon*S_ref; for S_ref0 under the declared solar convention. Bind B_I from an independent same-protocol dark-current reference, never from the1V value, a relative solver request, or J_star alone.", + "ratio_interval": "Require E-B_E>0 and I-B_I>0. R_lo=(E-B_E)/(I+B_I), R_hi=(E+B_E)/(I-B_I); B_R=max(R_hat-R_lo,R_hi-R_hat). For a relative ratio target require B_R<=epsilon*abs(R_hat)/3 (or stricter existing share) and the total comparison margin.", + "log_interval": "For0=epsilon*U, T<=epsilon*S_ref; for S_refB_K; no measurement flux uncertainty is fabricated.", + "reference_budget": "Require B_EQE<=T_EQE/3. The weak-absolute component permits total light+dark error <=K*epsilon^2/6; equal allocations to the two currents are each K*epsilon^2/12, before consuming any arithmetic-error share. These are allocations, not measured errors.", + "integrated_Jsc": "For the existing fixed5point spectral quadrature, B_Jsc<=Q*sum_i abs(w_m_i*phi_AM_per_m_i)*B_EQE_i plus AM/resource/quadrature-arithmetic error. If AM1.5G values are exact bound source data, do not invent measurement uncertainty; if a continuum/broader-band target is claimed, supply separate quadrature/tail error." + }, + "zero_policy": "At a zero reference, use the finite dimensionless absolute allowance4.999999999999999e-9 (nominal5e-9); do not divide by zero or normalize by candidate amplitude. A sign/noise resolution claim needs abs(DeltaJ)>B_DeltaJ; otherwise retain the signed result and unresolved sign while evaluating the absolute accuracy branch. A computed zero is not automatically an exact zero species.", + "normalization_origin": "Phi_incident=4e21 photons/m2/s and exact Q=1.602176634e-19 C give K=640.8706536 A/m2; U_EQE=1 is a declared dimensionless source scale, not an imposed physical range or a measured uncertainty." + }, + "comparator": { + "source_id": "four_case_comparator", + "symbol": "compare_case" + }, + "definition_validator": { + "source_id": "four_case_comparator", + "symbol": "validate_case_definition" + } + } + ], + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-experiment-d99a1dd374330649" + }, + "scope_specific_prior_gaps": [ + { + "field": "Qualified signed J_light/J_dark/EQE values at the five exact wavelengths, their joint subtraction error, and an absolute dimensionless weak-EQE allowance justified before the candidate run.", + "needed_from": "experiment-d99a1dd374330649 / nip_tmm_five_wavelength_EQE_fixture: original bound source/input and independently reviewed ReferenceQualification packet", + "blocked_use": "experiment:perovskite_sim.experiments.eqe.compute_eqe: new N acceptance outside the explicitly limited fixture meaning", + "downstream_tasks": [ + "P04-06", + "P05-01", + "P05-03" + ], + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + }, + { + "field": "Bind the actual nip optical n/k and AM1.5G resource bytes, protocol and raw electrical states; independent spectral/discretization error is needed. The roughly20-percent integrated-Jsc assertion and 1.01 range ceiling do not supply 1e-4 EQE accuracy.", + "needed_from": "experiment-d99a1dd374330649 / nip_tmm_five_wavelength_EQE_fixture: original bound source/input and independently reviewed ReferenceQualification packet", + "blocked_use": "experiment:perovskite_sim.experiments.eqe.compute_eqe: new N acceptance outside the explicitly limited fixture meaning", + "downstream_tasks": [ + "P04-06", + "P05-01", + "P05-03" + ], + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + }, + { + "field": "Other original driver/fixture branches listed in original_test_or_source_bindings remain outside these exact-case parameter bindings; original rules and positive physical obligations are unchanged.", + "needed_from": "experiment:perovskite_sim.experiments.eqe.compute_eqe original branch-specific reference packet and applicable contract", + "blocked_use": "Full-scope activation or extension to an unmatched model/protocol/state/grid/environment", + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [ + { + "case_id": "nip_tmm_five_wavelength_EQE_fixture", + "status": "prospective_complete", + "comparator": { + "source_id": "four_case_comparator", + "symbol": "compare_case" + }, + "source_ids": [ + "four_case_proposal", + "four_case_amendments", + "four_case_amendment_review", + "four_case_arithmetic" + ], + "qualification_granted": false + } + ], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [], + "current_numeric_status": "named_case_prospective_complete_actual_data_error_identity_review_pending" + } + }, + { + "id": "scope-experiment-5228757a6f9c21fa", + "capability_id": "experiment-5228757a6f9c21fa", + "route_id": "route-f5899aee3f4d6b9e", + "origin_key": "experiment:perovskite_sim.experiments.external_circuit.apply_external_circuit", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "JV_metrics_and_full_branch", + "current_observation_or_current_input" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/external_circuit.py", + "symbol": "apply_external_circuit" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_external_circuit.py", + "symbol": "test_real_transient_jv_closes_zero_and_nonzero_external_circuit" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_external_circuit.py", + "symbol": "test_apply_requires_certified_source_by_default" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_external_circuit.py", + "symbol": "test_apply_retains_source_hash_and_reports_certified_mapping" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_external_circuit.py", + "symbol": "test_default_zero_coupling_preserves_source_metrics_exactly" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_external_circuit.py", + "symbol": "test_input_shape_and_incident_power_fail_closed" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_external_circuit.py", + "symbol": "test_mapping_hash_binds_incident_power_without_changing_terminal_curve" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_external_circuit.py", + "symbol": "test_shunt_reduces_voc_and_series_resistance_reduces_fill_factor" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_external_circuit.py", + "symbol": "test_source_experiment_protocol_property_is_bound_into_result" + } + ], + "negative_only_descriptor_rule_ids": [ + "rule-75127cac6da884c360525429", + "rule-52d745df0e5f1778e4409827", + "rule-b967a15b38a21998225b54e2" + ], + "source_quantitative_assertion_ids_for_scope_audit": [ + "rule-feb6b1b9aab5cdb3130ed487", + "rule-867874530d4e0f19e734d366", + "rule-00f3354e9397b9d363ef25e0", + "rule-d35cdde13c03fe5bfc4b8c2b", + "rule-5995f4dd6d8d28dcbe8cd2cb", + "rule-edef41ce8352902389c73e6e" + ], + "rule_ids": [ + "M_payload", + "Voc_absolute", + "JV_metric_packet", + "current_packet" + ], + "citations": [], + "remaining_inputs": [ + { + "field": "fixed numeric Jsc/FF/PCE reference values/scales with the actual output units and conversion identity", + "needed_from": "experiment-5228757a6f9c21fa exact original driver/reference observation packet; perovskite-sim/tests/integration/test_external_circuit.py::test_real_transient_jv_closes_zero_and_nonzero_external_circuit, perovskite-sim/tests/unit/experiments/test_external_circuit.py::test_apply_requires_certified_source_by_default, perovskite-sim/tests/unit/experiments/test_external_circuit.py::test_apply_retains_source_hash_and_reports_certified_mapping, perovskite-sim/tests/unit/experiments/test_external_circuit.py::test_default_zero_coupling_preserves_source_metrics_exactly, perovskite-sim/tests/unit/experiments/test_external_circuit.py::test_input_shape_and_incident_power_fail_closed, perovskite-sim/tests/unit/experiments/test_external_circuit.py::test_mapping_hash_binds_incident_po", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.external_circuit.apply_external_circuit" + }, + { + "field": "dimensional dark/weak Jsc and zero-power absolute limits with error evidence", + "needed_from": "experiment-5228757a6f9c21fa exact original driver/reference observation packet; perovskite-sim/tests/integration/test_external_circuit.py::test_real_transient_jv_closes_zero_and_nonzero_external_circuit, perovskite-sim/tests/unit/experiments/test_external_circuit.py::test_apply_requires_certified_source_by_default, perovskite-sim/tests/unit/experiments/test_external_circuit.py::test_apply_retains_source_hash_and_reports_certified_mapping, perovskite-sim/tests/unit/experiments/test_external_circuit.py::test_default_zero_coupling_preserves_source_metrics_exactly, perovskite-sim/tests/unit/experiments/test_external_circuit.py::test_input_shape_and_incident_power_fail_closed, perovskite-sim/tests/unit/experiments/test_external_circuit.py::test_mapping_hash_binds_incident_po", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.external_circuit.apply_external_circuit" + }, + { + "field": "Voc bracket, dJ/dV and current-error propagation bound; MPP sampling and full branch coordinates", + "needed_from": "experiment-5228757a6f9c21fa exact original driver/reference observation packet; perovskite-sim/tests/integration/test_external_circuit.py::test_real_transient_jv_closes_zero_and_nonzero_external_circuit, perovskite-sim/tests/unit/experiments/test_external_circuit.py::test_apply_requires_certified_source_by_default, perovskite-sim/tests/unit/experiments/test_external_circuit.py::test_apply_retains_source_hash_and_reports_certified_mapping, perovskite-sim/tests/unit/experiments/test_external_circuit.py::test_default_zero_coupling_preserves_source_metrics_exactly, perovskite-sim/tests/unit/experiments/test_external_circuit.py::test_input_shape_and_incident_power_fail_closed, perovskite-sim/tests/unit/experiments/test_external_circuit.py::test_mapping_hash_binds_incident_po", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.external_circuit.apply_external_circuit" + }, + { + "field": "numeric reference current scale and absolute weak/zero current allowance, in the actual A or A m-2 output unit", + "needed_from": "experiment-5228757a6f9c21fa exact original driver/reference observation packet; perovskite-sim/tests/integration/test_external_circuit.py::test_real_transient_jv_closes_zero_and_nonzero_external_circuit, perovskite-sim/tests/unit/experiments/test_external_circuit.py::test_apply_requires_certified_source_by_default, perovskite-sim/tests/unit/experiments/test_external_circuit.py::test_apply_retains_source_hash_and_reports_certified_mapping, perovskite-sim/tests/unit/experiments/test_external_circuit.py::test_default_zero_coupling_preserves_source_metrics_exactly, perovskite-sim/tests/unit/experiments/test_external_circuit.py::test_input_shape_and_incident_power_fail_closed, perovskite-sim/tests/unit/experiments/test_external_circuit.py::test_mapping_hash_binds_incident_po", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.external_circuit.apply_external_circuit" + }, + { + "field": "each component/sign/port/support, observation times and both event sides", + "needed_from": "experiment-5228757a6f9c21fa exact original driver/reference observation packet; perovskite-sim/tests/integration/test_external_circuit.py::test_real_transient_jv_closes_zero_and_nonzero_external_circuit, perovskite-sim/tests/unit/experiments/test_external_circuit.py::test_apply_requires_certified_source_by_default, perovskite-sim/tests/unit/experiments/test_external_circuit.py::test_apply_retains_source_hash_and_reports_certified_mapping, perovskite-sim/tests/unit/experiments/test_external_circuit.py::test_default_zero_coupling_preserves_source_metrics_exactly, perovskite-sim/tests/unit/experiments/test_external_circuit.py::test_input_shape_and_incident_power_fail_closed, perovskite-sim/tests/unit/experiments/test_external_circuit.py::test_mapping_hash_binds_incident_po", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.external_circuit.apply_external_circuit" + }, + { + "field": "pointwise current uncertainty and a pointwise comparison limit; integrated charge is not a substitute", + "needed_from": "experiment-5228757a6f9c21fa exact original driver/reference observation packet; perovskite-sim/tests/integration/test_external_circuit.py::test_real_transient_jv_closes_zero_and_nonzero_external_circuit, perovskite-sim/tests/unit/experiments/test_external_circuit.py::test_apply_requires_certified_source_by_default, perovskite-sim/tests/unit/experiments/test_external_circuit.py::test_apply_retains_source_hash_and_reports_certified_mapping, perovskite-sim/tests/unit/experiments/test_external_circuit.py::test_default_zero_coupling_preserves_source_metrics_exactly, perovskite-sim/tests/unit/experiments/test_external_circuit.py::test_input_shape_and_incident_power_fail_closed, perovskite-sim/tests/unit/experiments/test_external_circuit.py::test_mapping_hash_binds_incident_po", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.external_circuit.apply_external_circuit" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-5228757a6f9c21fa/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + } + ], + "downstream_tasks": [ + "P04-13", + "P05-01", + "P05-04" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-experiment-5228757a6f9c21fa" + }, + "scope_specific_prior_gaps": [ + { + "field": "fixed numeric Jsc/FF/PCE reference values/scales with the actual output units and conversion identity", + "needed_from": "experiment-5228757a6f9c21fa exact original driver/reference observation packet; perovskite-sim/tests/integration/test_external_circuit.py::test_real_transient_jv_closes_zero_and_nonzero_external_circuit, perovskite-sim/tests/unit/experiments/test_external_circuit.py::test_apply_requires_certified_source_by_default, perovskite-sim/tests/unit/experiments/test_external_circuit.py::test_apply_retains_source_hash_and_reports_certified_mapping, perovskite-sim/tests/unit/experiments/test_external_circuit.py::test_default_zero_coupling_preserves_source_metrics_exactly, perovskite-sim/tests/unit/experiments/test_external_circuit.py::test_input_shape_and_incident_power_fail_closed, perovskite-sim/tests/unit/experiments/test_external_circuit.py::test_mapping_hash_binds_incident_po", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.external_circuit.apply_external_circuit", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "dimensional dark/weak Jsc and zero-power absolute limits with error evidence", + "needed_from": "experiment-5228757a6f9c21fa exact original driver/reference observation packet; perovskite-sim/tests/integration/test_external_circuit.py::test_real_transient_jv_closes_zero_and_nonzero_external_circuit, perovskite-sim/tests/unit/experiments/test_external_circuit.py::test_apply_requires_certified_source_by_default, perovskite-sim/tests/unit/experiments/test_external_circuit.py::test_apply_retains_source_hash_and_reports_certified_mapping, perovskite-sim/tests/unit/experiments/test_external_circuit.py::test_default_zero_coupling_preserves_source_metrics_exactly, perovskite-sim/tests/unit/experiments/test_external_circuit.py::test_input_shape_and_incident_power_fail_closed, perovskite-sim/tests/unit/experiments/test_external_circuit.py::test_mapping_hash_binds_incident_po", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.external_circuit.apply_external_circuit", + "categories": [ + "tolerance_decision", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "Voc bracket, dJ/dV and current-error propagation bound; MPP sampling and full branch coordinates", + "needed_from": "experiment-5228757a6f9c21fa exact original driver/reference observation packet; perovskite-sim/tests/integration/test_external_circuit.py::test_real_transient_jv_closes_zero_and_nonzero_external_circuit, perovskite-sim/tests/unit/experiments/test_external_circuit.py::test_apply_requires_certified_source_by_default, perovskite-sim/tests/unit/experiments/test_external_circuit.py::test_apply_retains_source_hash_and_reports_certified_mapping, perovskite-sim/tests/unit/experiments/test_external_circuit.py::test_default_zero_coupling_preserves_source_metrics_exactly, perovskite-sim/tests/unit/experiments/test_external_circuit.py::test_input_shape_and_incident_power_fail_closed, perovskite-sim/tests/unit/experiments/test_external_circuit.py::test_mapping_hash_binds_incident_po", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.external_circuit.apply_external_circuit", + "categories": [ + "measurement_data", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "numeric reference current scale and absolute weak/zero current allowance, in the actual A or A m-2 output unit", + "needed_from": "experiment-5228757a6f9c21fa exact original driver/reference observation packet; perovskite-sim/tests/integration/test_external_circuit.py::test_real_transient_jv_closes_zero_and_nonzero_external_circuit, perovskite-sim/tests/unit/experiments/test_external_circuit.py::test_apply_requires_certified_source_by_default, perovskite-sim/tests/unit/experiments/test_external_circuit.py::test_apply_retains_source_hash_and_reports_certified_mapping, perovskite-sim/tests/unit/experiments/test_external_circuit.py::test_default_zero_coupling_preserves_source_metrics_exactly, perovskite-sim/tests/unit/experiments/test_external_circuit.py::test_input_shape_and_incident_power_fail_closed, perovskite-sim/tests/unit/experiments/test_external_circuit.py::test_mapping_hash_binds_incident_po", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.external_circuit.apply_external_circuit", + "categories": [ + "source_configuration", + "tolerance_decision" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "each component/sign/port/support, observation times and both event sides", + "needed_from": "experiment-5228757a6f9c21fa exact original driver/reference observation packet; perovskite-sim/tests/integration/test_external_circuit.py::test_real_transient_jv_closes_zero_and_nonzero_external_circuit, perovskite-sim/tests/unit/experiments/test_external_circuit.py::test_apply_requires_certified_source_by_default, perovskite-sim/tests/unit/experiments/test_external_circuit.py::test_apply_retains_source_hash_and_reports_certified_mapping, perovskite-sim/tests/unit/experiments/test_external_circuit.py::test_default_zero_coupling_preserves_source_metrics_exactly, perovskite-sim/tests/unit/experiments/test_external_circuit.py::test_input_shape_and_incident_power_fail_closed, perovskite-sim/tests/unit/experiments/test_external_circuit.py::test_mapping_hash_binds_incident_po", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.external_circuit.apply_external_circuit", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "pointwise current uncertainty and a pointwise comparison limit; integrated charge is not a substitute", + "needed_from": "experiment-5228757a6f9c21fa exact original driver/reference observation packet; perovskite-sim/tests/integration/test_external_circuit.py::test_real_transient_jv_closes_zero_and_nonzero_external_circuit, perovskite-sim/tests/unit/experiments/test_external_circuit.py::test_apply_requires_certified_source_by_default, perovskite-sim/tests/unit/experiments/test_external_circuit.py::test_apply_retains_source_hash_and_reports_certified_mapping, perovskite-sim/tests/unit/experiments/test_external_circuit.py::test_default_zero_coupling_preserves_source_metrics_exactly, perovskite-sim/tests/unit/experiments/test_external_circuit.py::test_input_shape_and_incident_power_fail_closed, perovskite-sim/tests/unit/experiments/test_external_circuit.py::test_mapping_hash_binds_incident_po", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.external_circuit.apply_external_circuit", + "categories": [ + "tolerance_decision", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-5228757a6f9c21fa/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [], + "current_numeric_status": "prior_exact_scope_gaps_retained_and_classified" + } + }, + { + "id": "scope-experiment-671a7a898134a9d4", + "capability_id": "experiment-671a7a898134a9d4", + "route_id": "route-f5899aee3f4d6b9e", + "origin_key": "experiment:perovskite_sim.experiments.external_circuit.map_external_circuit_branch", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "JV_metrics_and_full_branch", + "current_observation_or_current_input" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/external_circuit.py", + "symbol": "map_external_circuit_branch" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_external_circuit.py", + "symbol": "test_input_shape_and_incident_power_fail_closed" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_external_circuit.py", + "symbol": "test_nonmonotonic_source_and_folded_terminal_curve_fail_closed" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_external_circuit.py", + "symbol": "test_reverse_branch_preserves_descending_orientation" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_external_circuit.py", + "symbol": "test_series_and_junction_shunt_laws_are_exact" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_external_circuit.py", + "symbol": "test_zero_coupling_is_value_bit_identical_and_read_only" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_external_circuit.py", + "symbol": "test_real_transient_jv_closes_zero_and_nonzero_external_circuit" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_external_circuit.py", + "symbol": "test_apply_requires_certified_source_by_default" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_external_circuit.py", + "symbol": "test_apply_retains_source_hash_and_reports_certified_mapping" + } + ], + "negative_only_descriptor_rule_ids": [ + "rule-52d745df0e5f1778e4409827", + "rule-b967a15b38a21998225b54e2", + "rule-1e608f5b37c3ef00ac01ec9e", + "rule-ad17082dbda3b6f9e6db702f", + "rule-868916db8e4689d9fd5741ed", + "rule-75127cac6da884c360525429" + ], + "source_quantitative_assertion_ids_for_scope_audit": [ + "rule-944b8fb7b0ecc9b63c7bc5ab", + "rule-feb6b1b9aab5cdb3130ed487", + "rule-867874530d4e0f19e734d366" + ], + "rule_ids": [ + "M_payload", + "Voc_absolute", + "JV_metric_packet", + "current_packet" + ], + "citations": [], + "remaining_inputs": [ + { + "field": "fixed numeric Jsc/FF/PCE reference values/scales with the actual output units and conversion identity", + "needed_from": "experiment-671a7a898134a9d4 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_external_circuit.py::test_input_shape_and_incident_power_fail_closed, perovskite-sim/tests/unit/experiments/test_external_circuit.py::test_nonmonotonic_source_and_folded_terminal_curve_fail_closed, perovskite-sim/tests/unit/experiments/test_external_circuit.py::test_reverse_branch_preserves_descending_orientation, perovskite-sim/tests/unit/experiments/test_external_circuit.py::test_series_and_junction_shunt_laws_are_exact, perovskite-sim/tests/unit/experiments/test_external_circuit.py::test_zero_coupling_is_value_bit_identical_and_read_only, perovskite-sim/tests/integration/test_external_circuit.py::test_real_transient_jv_closes_zero_and_nonzero_ext", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.external_circuit.map_external_circuit_branch" + }, + { + "field": "dimensional dark/weak Jsc and zero-power absolute limits with error evidence", + "needed_from": "experiment-671a7a898134a9d4 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_external_circuit.py::test_input_shape_and_incident_power_fail_closed, perovskite-sim/tests/unit/experiments/test_external_circuit.py::test_nonmonotonic_source_and_folded_terminal_curve_fail_closed, perovskite-sim/tests/unit/experiments/test_external_circuit.py::test_reverse_branch_preserves_descending_orientation, perovskite-sim/tests/unit/experiments/test_external_circuit.py::test_series_and_junction_shunt_laws_are_exact, perovskite-sim/tests/unit/experiments/test_external_circuit.py::test_zero_coupling_is_value_bit_identical_and_read_only, perovskite-sim/tests/integration/test_external_circuit.py::test_real_transient_jv_closes_zero_and_nonzero_ext", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.external_circuit.map_external_circuit_branch" + }, + { + "field": "Voc bracket, dJ/dV and current-error propagation bound; MPP sampling and full branch coordinates", + "needed_from": "experiment-671a7a898134a9d4 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_external_circuit.py::test_input_shape_and_incident_power_fail_closed, perovskite-sim/tests/unit/experiments/test_external_circuit.py::test_nonmonotonic_source_and_folded_terminal_curve_fail_closed, perovskite-sim/tests/unit/experiments/test_external_circuit.py::test_reverse_branch_preserves_descending_orientation, perovskite-sim/tests/unit/experiments/test_external_circuit.py::test_series_and_junction_shunt_laws_are_exact, perovskite-sim/tests/unit/experiments/test_external_circuit.py::test_zero_coupling_is_value_bit_identical_and_read_only, perovskite-sim/tests/integration/test_external_circuit.py::test_real_transient_jv_closes_zero_and_nonzero_ext", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.external_circuit.map_external_circuit_branch" + }, + { + "field": "numeric reference current scale and absolute weak/zero current allowance, in the actual A or A m-2 output unit", + "needed_from": "experiment-671a7a898134a9d4 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_external_circuit.py::test_input_shape_and_incident_power_fail_closed, perovskite-sim/tests/unit/experiments/test_external_circuit.py::test_nonmonotonic_source_and_folded_terminal_curve_fail_closed, perovskite-sim/tests/unit/experiments/test_external_circuit.py::test_reverse_branch_preserves_descending_orientation, perovskite-sim/tests/unit/experiments/test_external_circuit.py::test_series_and_junction_shunt_laws_are_exact, perovskite-sim/tests/unit/experiments/test_external_circuit.py::test_zero_coupling_is_value_bit_identical_and_read_only, perovskite-sim/tests/integration/test_external_circuit.py::test_real_transient_jv_closes_zero_and_nonzero_ext", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.external_circuit.map_external_circuit_branch" + }, + { + "field": "each component/sign/port/support, observation times and both event sides", + "needed_from": "experiment-671a7a898134a9d4 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_external_circuit.py::test_input_shape_and_incident_power_fail_closed, perovskite-sim/tests/unit/experiments/test_external_circuit.py::test_nonmonotonic_source_and_folded_terminal_curve_fail_closed, perovskite-sim/tests/unit/experiments/test_external_circuit.py::test_reverse_branch_preserves_descending_orientation, perovskite-sim/tests/unit/experiments/test_external_circuit.py::test_series_and_junction_shunt_laws_are_exact, perovskite-sim/tests/unit/experiments/test_external_circuit.py::test_zero_coupling_is_value_bit_identical_and_read_only, perovskite-sim/tests/integration/test_external_circuit.py::test_real_transient_jv_closes_zero_and_nonzero_ext", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.external_circuit.map_external_circuit_branch" + }, + { + "field": "pointwise current uncertainty and a pointwise comparison limit; integrated charge is not a substitute", + "needed_from": "experiment-671a7a898134a9d4 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_external_circuit.py::test_input_shape_and_incident_power_fail_closed, perovskite-sim/tests/unit/experiments/test_external_circuit.py::test_nonmonotonic_source_and_folded_terminal_curve_fail_closed, perovskite-sim/tests/unit/experiments/test_external_circuit.py::test_reverse_branch_preserves_descending_orientation, perovskite-sim/tests/unit/experiments/test_external_circuit.py::test_series_and_junction_shunt_laws_are_exact, perovskite-sim/tests/unit/experiments/test_external_circuit.py::test_zero_coupling_is_value_bit_identical_and_read_only, perovskite-sim/tests/integration/test_external_circuit.py::test_real_transient_jv_closes_zero_and_nonzero_ext", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.external_circuit.map_external_circuit_branch" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-671a7a898134a9d4/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + } + ], + "downstream_tasks": [ + "P04-13", + "P05-01", + "P05-04" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-experiment-671a7a898134a9d4" + }, + "scope_specific_prior_gaps": [ + { + "field": "fixed numeric Jsc/FF/PCE reference values/scales with the actual output units and conversion identity", + "needed_from": "experiment-671a7a898134a9d4 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_external_circuit.py::test_input_shape_and_incident_power_fail_closed, perovskite-sim/tests/unit/experiments/test_external_circuit.py::test_nonmonotonic_source_and_folded_terminal_curve_fail_closed, perovskite-sim/tests/unit/experiments/test_external_circuit.py::test_reverse_branch_preserves_descending_orientation, perovskite-sim/tests/unit/experiments/test_external_circuit.py::test_series_and_junction_shunt_laws_are_exact, perovskite-sim/tests/unit/experiments/test_external_circuit.py::test_zero_coupling_is_value_bit_identical_and_read_only, perovskite-sim/tests/integration/test_external_circuit.py::test_real_transient_jv_closes_zero_and_nonzero_ext", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.external_circuit.map_external_circuit_branch", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "dimensional dark/weak Jsc and zero-power absolute limits with error evidence", + "needed_from": "experiment-671a7a898134a9d4 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_external_circuit.py::test_input_shape_and_incident_power_fail_closed, perovskite-sim/tests/unit/experiments/test_external_circuit.py::test_nonmonotonic_source_and_folded_terminal_curve_fail_closed, perovskite-sim/tests/unit/experiments/test_external_circuit.py::test_reverse_branch_preserves_descending_orientation, perovskite-sim/tests/unit/experiments/test_external_circuit.py::test_series_and_junction_shunt_laws_are_exact, perovskite-sim/tests/unit/experiments/test_external_circuit.py::test_zero_coupling_is_value_bit_identical_and_read_only, perovskite-sim/tests/integration/test_external_circuit.py::test_real_transient_jv_closes_zero_and_nonzero_ext", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.external_circuit.map_external_circuit_branch", + "categories": [ + "tolerance_decision", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "Voc bracket, dJ/dV and current-error propagation bound; MPP sampling and full branch coordinates", + "needed_from": "experiment-671a7a898134a9d4 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_external_circuit.py::test_input_shape_and_incident_power_fail_closed, perovskite-sim/tests/unit/experiments/test_external_circuit.py::test_nonmonotonic_source_and_folded_terminal_curve_fail_closed, perovskite-sim/tests/unit/experiments/test_external_circuit.py::test_reverse_branch_preserves_descending_orientation, perovskite-sim/tests/unit/experiments/test_external_circuit.py::test_series_and_junction_shunt_laws_are_exact, perovskite-sim/tests/unit/experiments/test_external_circuit.py::test_zero_coupling_is_value_bit_identical_and_read_only, perovskite-sim/tests/integration/test_external_circuit.py::test_real_transient_jv_closes_zero_and_nonzero_ext", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.external_circuit.map_external_circuit_branch", + "categories": [ + "measurement_data", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "numeric reference current scale and absolute weak/zero current allowance, in the actual A or A m-2 output unit", + "needed_from": "experiment-671a7a898134a9d4 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_external_circuit.py::test_input_shape_and_incident_power_fail_closed, perovskite-sim/tests/unit/experiments/test_external_circuit.py::test_nonmonotonic_source_and_folded_terminal_curve_fail_closed, perovskite-sim/tests/unit/experiments/test_external_circuit.py::test_reverse_branch_preserves_descending_orientation, perovskite-sim/tests/unit/experiments/test_external_circuit.py::test_series_and_junction_shunt_laws_are_exact, perovskite-sim/tests/unit/experiments/test_external_circuit.py::test_zero_coupling_is_value_bit_identical_and_read_only, perovskite-sim/tests/integration/test_external_circuit.py::test_real_transient_jv_closes_zero_and_nonzero_ext", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.external_circuit.map_external_circuit_branch", + "categories": [ + "source_configuration", + "tolerance_decision" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "each component/sign/port/support, observation times and both event sides", + "needed_from": "experiment-671a7a898134a9d4 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_external_circuit.py::test_input_shape_and_incident_power_fail_closed, perovskite-sim/tests/unit/experiments/test_external_circuit.py::test_nonmonotonic_source_and_folded_terminal_curve_fail_closed, perovskite-sim/tests/unit/experiments/test_external_circuit.py::test_reverse_branch_preserves_descending_orientation, perovskite-sim/tests/unit/experiments/test_external_circuit.py::test_series_and_junction_shunt_laws_are_exact, perovskite-sim/tests/unit/experiments/test_external_circuit.py::test_zero_coupling_is_value_bit_identical_and_read_only, perovskite-sim/tests/integration/test_external_circuit.py::test_real_transient_jv_closes_zero_and_nonzero_ext", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.external_circuit.map_external_circuit_branch", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "pointwise current uncertainty and a pointwise comparison limit; integrated charge is not a substitute", + "needed_from": "experiment-671a7a898134a9d4 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_external_circuit.py::test_input_shape_and_incident_power_fail_closed, perovskite-sim/tests/unit/experiments/test_external_circuit.py::test_nonmonotonic_source_and_folded_terminal_curve_fail_closed, perovskite-sim/tests/unit/experiments/test_external_circuit.py::test_reverse_branch_preserves_descending_orientation, perovskite-sim/tests/unit/experiments/test_external_circuit.py::test_series_and_junction_shunt_laws_are_exact, perovskite-sim/tests/unit/experiments/test_external_circuit.py::test_zero_coupling_is_value_bit_identical_and_read_only, perovskite-sim/tests/integration/test_external_circuit.py::test_real_transient_jv_closes_zero_and_nonzero_ext", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.external_circuit.map_external_circuit_branch", + "categories": [ + "tolerance_decision", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-671a7a898134a9d4/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [], + "current_numeric_status": "prior_exact_scope_gaps_retained_and_classified" + } + }, + { + "id": "scope-experiment-ff8c4a6873bfed44", + "capability_id": "experiment-ff8c4a6873bfed44", + "route_id": "route-aabd8ca4f67f1c35", + "origin_key": "experiment:perovskite_sim.experiments.identifiability.run_interface_srh_identifiability", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "CV_geometry_and_interface_sides" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/identifiability.py", + "symbol": "run_interface_srh_identifiability" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_identifiability.py", + "symbol": "test_forward_failures_are_penalized_reported_and_invalidate" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_identifiability_refinement.py", + "symbol": "test_executor_rejects_option_schema_drift" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_identifiability_refinement.py", + "symbol": "test_registered_real_cell_matches_exact_contract_and_anchor" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_identifiability.py", + "symbol": "test_charge_observable_identifies_nt_but_not_capture_vs_calibration" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_identifiability.py", + "symbol": "test_known_capture_scale_gives_full_rank_multistart_truth_recovery" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_identifiability.py", + "symbol": "test_noisy_full_rank_recovery_fails_the_strict_truth_gate" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_identifiability.py", + "symbol": "test_profiles_are_complete_and_dimension_matched" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_identifiability.py", + "symbol": "test_recombination_only_exposes_two_dimensional_nullspace" + } + ], + "negative_only_descriptor_rule_ids": [ + "rule-75498450ed8d51095cd0e263" + ], + "source_quantitative_assertion_ids_for_scope_audit": [ + "rule-6ff57b5d915c32709be46f1e", + "rule-99a11c971d47427459e49d60", + "rule-f6cf86f34a8f8835a2f47fad", + "rule-826c9ef923bc03324daa1727", + "rule-57ac40fb0f6de5f992be4786", + "rule-8426d4dd729c39fd89d8beee", + "rule-818e0f7c555918b8b7625be9" + ], + "rule_ids": [ + "M_payload", + "projection_packet" + ], + "citations": [], + "remaining_inputs": [ + { + "field": "source/target geometry and a verified conservative CV intersection/projection artifact or explicit1D cell averages", + "needed_from": "experiment-ff8c4a6873bfed44 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_identifiability.py::test_forward_failures_are_penalized_reported_and_invalidate, perovskite-sim/tests/unit/validation/test_identifiability_refinement.py::test_executor_rejects_option_schema_drift, perovskite-sim/tests/unit/validation/test_identifiability_refinement.py::test_registered_real_cell_matches_exact_contract_and_anchor, perovskite-sim/tests/unit/experiments/test_identifiability.py::test_charge_observable_identifies_nt_but_not_capture_vs_calibration, perovskite-sim/tests/unit/experiments/test_identifiability.py::test_known_capture_scale_gives_full_rank_multistart_truth_recovery, perovskite-sim/tests/unit/experiments/test_identifiability.py::", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.identifiability.run_interface_srh_identifiability" + }, + { + "field": "fixed numeric integral/inventory/left-trace/right-trace scales and limits in their physical units", + "needed_from": "experiment-ff8c4a6873bfed44 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_identifiability.py::test_forward_failures_are_penalized_reported_and_invalidate, perovskite-sim/tests/unit/validation/test_identifiability_refinement.py::test_executor_rejects_option_schema_drift, perovskite-sim/tests/unit/validation/test_identifiability_refinement.py::test_registered_real_cell_matches_exact_contract_and_anchor, perovskite-sim/tests/unit/experiments/test_identifiability.py::test_charge_observable_identifies_nt_but_not_capture_vs_calibration, perovskite-sim/tests/unit/experiments/test_identifiability.py::test_known_capture_scale_gives_full_rank_multistart_truth_recovery, perovskite-sim/tests/unit/experiments/test_identifiability.py::", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.identifiability.run_interface_srh_identifiability" + }, + { + "field": "projection error, component topology and every interface-side identity", + "needed_from": "experiment-ff8c4a6873bfed44 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_identifiability.py::test_forward_failures_are_penalized_reported_and_invalidate, perovskite-sim/tests/unit/validation/test_identifiability_refinement.py::test_executor_rejects_option_schema_drift, perovskite-sim/tests/unit/validation/test_identifiability_refinement.py::test_registered_real_cell_matches_exact_contract_and_anchor, perovskite-sim/tests/unit/experiments/test_identifiability.py::test_charge_observable_identifies_nt_but_not_capture_vs_calibration, perovskite-sim/tests/unit/experiments/test_identifiability.py::test_known_capture_scale_gives_full_rank_multistart_truth_recovery, perovskite-sim/tests/unit/experiments/test_identifiability.py::", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.identifiability.run_interface_srh_identifiability" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-ff8c4a6873bfed44/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + } + ], + "downstream_tasks": [ + "P05-01", + "P05-05" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-experiment-ff8c4a6873bfed44" + }, + "scope_specific_prior_gaps": [ + { + "field": "source/target geometry and a verified conservative CV intersection/projection artifact or explicit1D cell averages", + "needed_from": "experiment-ff8c4a6873bfed44 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_identifiability.py::test_forward_failures_are_penalized_reported_and_invalidate, perovskite-sim/tests/unit/validation/test_identifiability_refinement.py::test_executor_rejects_option_schema_drift, perovskite-sim/tests/unit/validation/test_identifiability_refinement.py::test_registered_real_cell_matches_exact_contract_and_anchor, perovskite-sim/tests/unit/experiments/test_identifiability.py::test_charge_observable_identifies_nt_but_not_capture_vs_calibration, perovskite-sim/tests/unit/experiments/test_identifiability.py::test_known_capture_scale_gives_full_rank_multistart_truth_recovery, perovskite-sim/tests/unit/experiments/test_identifiability.py::", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.identifiability.run_interface_srh_identifiability", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "fixed numeric integral/inventory/left-trace/right-trace scales and limits in their physical units", + "needed_from": "experiment-ff8c4a6873bfed44 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_identifiability.py::test_forward_failures_are_penalized_reported_and_invalidate, perovskite-sim/tests/unit/validation/test_identifiability_refinement.py::test_executor_rejects_option_schema_drift, perovskite-sim/tests/unit/validation/test_identifiability_refinement.py::test_registered_real_cell_matches_exact_contract_and_anchor, perovskite-sim/tests/unit/experiments/test_identifiability.py::test_charge_observable_identifies_nt_but_not_capture_vs_calibration, perovskite-sim/tests/unit/experiments/test_identifiability.py::test_known_capture_scale_gives_full_rank_multistart_truth_recovery, perovskite-sim/tests/unit/experiments/test_identifiability.py::", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.identifiability.run_interface_srh_identifiability", + "categories": [ + "source_configuration", + "tolerance_decision" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "projection error, component topology and every interface-side identity", + "needed_from": "experiment-ff8c4a6873bfed44 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_identifiability.py::test_forward_failures_are_penalized_reported_and_invalidate, perovskite-sim/tests/unit/validation/test_identifiability_refinement.py::test_executor_rejects_option_schema_drift, perovskite-sim/tests/unit/validation/test_identifiability_refinement.py::test_registered_real_cell_matches_exact_contract_and_anchor, perovskite-sim/tests/unit/experiments/test_identifiability.py::test_charge_observable_identifies_nt_but_not_capture_vs_calibration, perovskite-sim/tests/unit/experiments/test_identifiability.py::test_known_capture_scale_gives_full_rank_multistart_truth_recovery, perovskite-sim/tests/unit/experiments/test_identifiability.py::", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.identifiability.run_interface_srh_identifiability", + "categories": [ + "source_configuration", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-ff8c4a6873bfed44/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [], + "current_numeric_status": "prior_exact_scope_gaps_retained_and_classified" + } + }, + { + "id": "scope-experiment-c4cd5cd89842d858", + "capability_id": "experiment-c4cd5cd89842d858", + "route_id": "route-7476954ae0fdb534", + "origin_key": "experiment:perovskite_sim.experiments.impedance.extract_impedance", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "waveform_to_complex_response_postprocessing" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/impedance.py", + "symbol": "extract_impedance" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_impedance.py", + "symbol": "test_dummy_rc_phase" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_impedance.py", + "symbol": "test_extract_impedance_high_freq_real" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_impedance.py", + "symbol": "test_extract_impedance_shape" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_impedance_sign.py", + "symbol": "test_dummy_rc_has_negative_imaginary_impedance" + } + ], + "negative_only_descriptor_rule_ids": [], + "source_quantitative_assertion_ids_for_scope_audit": [ + "rule-39c14f465cdd5ed92aa60d1e", + "rule-177d277eabfe5d91b6cf863d", + "rule-f36a10fe198dc070c64ab85e", + "rule-16163834997f672a8a9ab96b", + "rule-18d3ea827d2b139f27120fd9" + ], + "rule_ids": [ + "M_payload", + "complex_packet" + ], + "citations": [], + "remaining_inputs": [ + { + "field": "fixed numeric reference scales and real/imaginary/complex absolute bounds in S m-2 or ohm m2 as actually emitted", + "needed_from": "experiment-c4cd5cd89842d858 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_impedance.py::test_dummy_rc_phase, perovskite-sim/tests/unit/experiments/test_impedance.py::test_extract_impedance_high_freq_real, perovskite-sim/tests/unit/experiments/test_impedance.py::test_extract_impedance_shape, perovskite-sim/tests/unit/experiments/test_impedance_sign.py::test_dummy_rc_has_negative_imaginary_impedance", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.impedance.extract_impedance" + }, + { + "field": "numeric absolute phase limit in radians and per-driver/frequency resolvability floor with independent uncertainty/physical-resolution evidence", + "needed_from": "experiment-c4cd5cd89842d858 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_impedance.py::test_dummy_rc_phase, perovskite-sim/tests/unit/experiments/test_impedance.py::test_extract_impedance_high_freq_real, perovskite-sim/tests/unit/experiments/test_impedance.py::test_extract_impedance_shape, perovskite-sim/tests/unit/experiments/test_impedance_sign.py::test_dummy_rc_has_negative_imaginary_impedance", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.impedance.extract_impedance" + }, + { + "field": "explicit exact-zero frequencies, coordinate identity and independent component/phase errors", + "needed_from": "experiment-c4cd5cd89842d858 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_impedance.py::test_dummy_rc_phase, perovskite-sim/tests/unit/experiments/test_impedance.py::test_extract_impedance_high_freq_real, perovskite-sim/tests/unit/experiments/test_impedance.py::test_extract_impedance_shape, perovskite-sim/tests/unit/experiments/test_impedance_sign.py::test_dummy_rc_has_negative_imaginary_impedance", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.impedance.extract_impedance" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-c4cd5cd89842d858/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + } + ], + "downstream_tasks": [ + "P04-06", + "P05-01", + "P05-03" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-experiment-c4cd5cd89842d858" + }, + "scope_specific_prior_gaps": [ + { + "field": "fixed numeric reference scales and real/imaginary/complex absolute bounds in S m-2 or ohm m2 as actually emitted", + "needed_from": "experiment-c4cd5cd89842d858 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_impedance.py::test_dummy_rc_phase, perovskite-sim/tests/unit/experiments/test_impedance.py::test_extract_impedance_high_freq_real, perovskite-sim/tests/unit/experiments/test_impedance.py::test_extract_impedance_shape, perovskite-sim/tests/unit/experiments/test_impedance_sign.py::test_dummy_rc_has_negative_imaginary_impedance", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.impedance.extract_impedance", + "categories": [ + "source_configuration", + "tolerance_decision" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "numeric absolute phase limit in radians and per-driver/frequency resolvability floor with independent uncertainty/physical-resolution evidence", + "needed_from": "experiment-c4cd5cd89842d858 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_impedance.py::test_dummy_rc_phase, perovskite-sim/tests/unit/experiments/test_impedance.py::test_extract_impedance_high_freq_real, perovskite-sim/tests/unit/experiments/test_impedance.py::test_extract_impedance_shape, perovskite-sim/tests/unit/experiments/test_impedance_sign.py::test_dummy_rc_has_negative_imaginary_impedance", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.impedance.extract_impedance", + "categories": [ + "tolerance_decision", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "explicit exact-zero frequencies, coordinate identity and independent component/phase errors", + "needed_from": "experiment-c4cd5cd89842d858 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_impedance.py::test_dummy_rc_phase, perovskite-sim/tests/unit/experiments/test_impedance.py::test_extract_impedance_high_freq_real, perovskite-sim/tests/unit/experiments/test_impedance.py::test_extract_impedance_shape, perovskite-sim/tests/unit/experiments/test_impedance_sign.py::test_dummy_rc_has_negative_imaginary_impedance", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.impedance.extract_impedance", + "categories": [ + "measurement_data", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-c4cd5cd89842d858/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [], + "current_numeric_status": "prior_exact_scope_gaps_retained_and_classified" + } + }, + { + "id": "scope-experiment-bfd110fe2e409927", + "capability_id": "experiment-bfd110fe2e409927", + "route_id": "route-7476954ae0fdb534", + "origin_key": "experiment:perovskite_sim.experiments.impedance.run_impedance", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "current_observation_or_current_input", + "complex_frequency_response" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/impedance.py", + "symbol": "run_impedance" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_dynamic_defect_impedance.py", + "symbol": "test_public_bulk_dynamic_defect_impedance_is_protocol_bound_and_certified" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_dynamic_defect_impedance.py", + "symbol": "test_public_interface_dynamic_defect_impedance_uses_two_sided_faces" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_dynamic_defect_impedance.py", + "symbol": "test_public_triple_coupled_defect_ion_impedance_is_certified" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_material_cache_regression.py", + "symbol": "test_impedance_ionmonger_finite_and_capacitive" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_impedance.py", + "symbol": "test_impedance_rejects_dynamic_interface_state_blocks" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_impedance.py", + "symbol": "test_impedance_rejects_empty_frequencies" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_impedance.py", + "symbol": "test_impedance_rejects_failed_dark_dc_preconditioning" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_impedance.py", + "symbol": "test_impedance_rejects_noninteger_protocol_counts" + } + ], + "negative_only_descriptor_rule_ids": [ + "rule-9fcb17d622af424efa4ae219", + "rule-117cac111ddab60b14037e34", + "rule-b6854a5fb3550b35c4fa0085", + "rule-bbc365e60830e5b5179c107f" + ], + "source_quantitative_assertion_ids_for_scope_audit": [ + "rule-271b083c7ccaa6d47a20651c", + "rule-c2cb13677db49a2ed6d93062" + ], + "rule_ids": [ + "M_payload", + "current_packet", + "complex_packet" + ], + "citations": [], + "remaining_inputs": [ + { + "field": "numeric reference current scale and absolute weak/zero current allowance, in the actual A or A m-2 output unit", + "needed_from": "experiment-bfd110fe2e409927 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_bulk_dynamic_defect_impedance_is_protocol_bound_and_certified, perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_interface_dynamic_defect_impedance_uses_two_sided_faces, perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_triple_coupled_defect_ion_impedance_is_certified, perovskite-sim/tests/integration/test_material_cache_regression.py::test_impedance_ionmonger_finite_and_capacitive, perovskite-sim/tests/unit/experiments/test_impedance.py::test_impedance_rejects_dynamic_interface_state_blocks, perovskite-sim/tests/unit/experiments/test_impedance.py::test_imp", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.impedance.run_impedance" + }, + { + "field": "each component/sign/port/support, observation times and both event sides", + "needed_from": "experiment-bfd110fe2e409927 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_bulk_dynamic_defect_impedance_is_protocol_bound_and_certified, perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_interface_dynamic_defect_impedance_uses_two_sided_faces, perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_triple_coupled_defect_ion_impedance_is_certified, perovskite-sim/tests/integration/test_material_cache_regression.py::test_impedance_ionmonger_finite_and_capacitive, perovskite-sim/tests/unit/experiments/test_impedance.py::test_impedance_rejects_dynamic_interface_state_blocks, perovskite-sim/tests/unit/experiments/test_impedance.py::test_imp", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.impedance.run_impedance" + }, + { + "field": "pointwise current uncertainty and a pointwise comparison limit; integrated charge is not a substitute", + "needed_from": "experiment-bfd110fe2e409927 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_bulk_dynamic_defect_impedance_is_protocol_bound_and_certified, perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_interface_dynamic_defect_impedance_uses_two_sided_faces, perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_triple_coupled_defect_ion_impedance_is_certified, perovskite-sim/tests/integration/test_material_cache_regression.py::test_impedance_ionmonger_finite_and_capacitive, perovskite-sim/tests/unit/experiments/test_impedance.py::test_impedance_rejects_dynamic_interface_state_blocks, perovskite-sim/tests/unit/experiments/test_impedance.py::test_imp", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.impedance.run_impedance" + }, + { + "field": "fixed numeric reference scales and real/imaginary/complex absolute bounds in S m-2 or ohm m2 as actually emitted", + "needed_from": "experiment-bfd110fe2e409927 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_bulk_dynamic_defect_impedance_is_protocol_bound_and_certified, perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_interface_dynamic_defect_impedance_uses_two_sided_faces, perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_triple_coupled_defect_ion_impedance_is_certified, perovskite-sim/tests/integration/test_material_cache_regression.py::test_impedance_ionmonger_finite_and_capacitive, perovskite-sim/tests/unit/experiments/test_impedance.py::test_impedance_rejects_dynamic_interface_state_blocks, perovskite-sim/tests/unit/experiments/test_impedance.py::test_imp", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.impedance.run_impedance" + }, + { + "field": "numeric absolute phase limit in radians and per-driver/frequency resolvability floor with independent uncertainty/physical-resolution evidence", + "needed_from": "experiment-bfd110fe2e409927 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_bulk_dynamic_defect_impedance_is_protocol_bound_and_certified, perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_interface_dynamic_defect_impedance_uses_two_sided_faces, perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_triple_coupled_defect_ion_impedance_is_certified, perovskite-sim/tests/integration/test_material_cache_regression.py::test_impedance_ionmonger_finite_and_capacitive, perovskite-sim/tests/unit/experiments/test_impedance.py::test_impedance_rejects_dynamic_interface_state_blocks, perovskite-sim/tests/unit/experiments/test_impedance.py::test_imp", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.impedance.run_impedance" + }, + { + "field": "explicit exact-zero frequencies, coordinate identity and independent component/phase errors", + "needed_from": "experiment-bfd110fe2e409927 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_bulk_dynamic_defect_impedance_is_protocol_bound_and_certified, perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_interface_dynamic_defect_impedance_uses_two_sided_faces, perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_triple_coupled_defect_ion_impedance_is_certified, perovskite-sim/tests/integration/test_material_cache_regression.py::test_impedance_ionmonger_finite_and_capacitive, perovskite-sim/tests/unit/experiments/test_impedance.py::test_impedance_rejects_dynamic_interface_state_blocks, perovskite-sim/tests/unit/experiments/test_impedance.py::test_imp", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.impedance.run_impedance" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-bfd110fe2e409927/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + } + ], + "downstream_tasks": [ + "P04-06", + "P05-01", + "P05-03" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-experiment-bfd110fe2e409927" + }, + "scope_specific_prior_gaps": [ + { + "field": "numeric reference current scale and absolute weak/zero current allowance, in the actual A or A m-2 output unit", + "needed_from": "experiment-bfd110fe2e409927 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_bulk_dynamic_defect_impedance_is_protocol_bound_and_certified, perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_interface_dynamic_defect_impedance_uses_two_sided_faces, perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_triple_coupled_defect_ion_impedance_is_certified, perovskite-sim/tests/integration/test_material_cache_regression.py::test_impedance_ionmonger_finite_and_capacitive, perovskite-sim/tests/unit/experiments/test_impedance.py::test_impedance_rejects_dynamic_interface_state_blocks, perovskite-sim/tests/unit/experiments/test_impedance.py::test_imp", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.impedance.run_impedance", + "categories": [ + "source_configuration", + "tolerance_decision" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "each component/sign/port/support, observation times and both event sides", + "needed_from": "experiment-bfd110fe2e409927 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_bulk_dynamic_defect_impedance_is_protocol_bound_and_certified, perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_interface_dynamic_defect_impedance_uses_two_sided_faces, perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_triple_coupled_defect_ion_impedance_is_certified, perovskite-sim/tests/integration/test_material_cache_regression.py::test_impedance_ionmonger_finite_and_capacitive, perovskite-sim/tests/unit/experiments/test_impedance.py::test_impedance_rejects_dynamic_interface_state_blocks, perovskite-sim/tests/unit/experiments/test_impedance.py::test_imp", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.impedance.run_impedance", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "pointwise current uncertainty and a pointwise comparison limit; integrated charge is not a substitute", + "needed_from": "experiment-bfd110fe2e409927 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_bulk_dynamic_defect_impedance_is_protocol_bound_and_certified, perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_interface_dynamic_defect_impedance_uses_two_sided_faces, perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_triple_coupled_defect_ion_impedance_is_certified, perovskite-sim/tests/integration/test_material_cache_regression.py::test_impedance_ionmonger_finite_and_capacitive, perovskite-sim/tests/unit/experiments/test_impedance.py::test_impedance_rejects_dynamic_interface_state_blocks, perovskite-sim/tests/unit/experiments/test_impedance.py::test_imp", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.impedance.run_impedance", + "categories": [ + "tolerance_decision", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "fixed numeric reference scales and real/imaginary/complex absolute bounds in S m-2 or ohm m2 as actually emitted", + "needed_from": "experiment-bfd110fe2e409927 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_bulk_dynamic_defect_impedance_is_protocol_bound_and_certified, perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_interface_dynamic_defect_impedance_uses_two_sided_faces, perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_triple_coupled_defect_ion_impedance_is_certified, perovskite-sim/tests/integration/test_material_cache_regression.py::test_impedance_ionmonger_finite_and_capacitive, perovskite-sim/tests/unit/experiments/test_impedance.py::test_impedance_rejects_dynamic_interface_state_blocks, perovskite-sim/tests/unit/experiments/test_impedance.py::test_imp", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.impedance.run_impedance", + "categories": [ + "source_configuration", + "tolerance_decision" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "numeric absolute phase limit in radians and per-driver/frequency resolvability floor with independent uncertainty/physical-resolution evidence", + "needed_from": "experiment-bfd110fe2e409927 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_bulk_dynamic_defect_impedance_is_protocol_bound_and_certified, perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_interface_dynamic_defect_impedance_uses_two_sided_faces, perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_triple_coupled_defect_ion_impedance_is_certified, perovskite-sim/tests/integration/test_material_cache_regression.py::test_impedance_ionmonger_finite_and_capacitive, perovskite-sim/tests/unit/experiments/test_impedance.py::test_impedance_rejects_dynamic_interface_state_blocks, perovskite-sim/tests/unit/experiments/test_impedance.py::test_imp", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.impedance.run_impedance", + "categories": [ + "tolerance_decision", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "explicit exact-zero frequencies, coordinate identity and independent component/phase errors", + "needed_from": "experiment-bfd110fe2e409927 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_bulk_dynamic_defect_impedance_is_protocol_bound_and_certified, perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_interface_dynamic_defect_impedance_uses_two_sided_faces, perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_triple_coupled_defect_ion_impedance_is_certified, perovskite-sim/tests/integration/test_material_cache_regression.py::test_impedance_ionmonger_finite_and_capacitive, perovskite-sim/tests/unit/experiments/test_impedance.py::test_impedance_rejects_dynamic_interface_state_blocks, perovskite-sim/tests/unit/experiments/test_impedance.py::test_imp", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.impedance.run_impedance", + "categories": [ + "measurement_data", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-bfd110fe2e409927/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [], + "current_numeric_status": "prior_exact_scope_gaps_retained_and_classified" + } + }, + { + "id": "scope-experiment-997377217803970d", + "capability_id": "experiment-997377217803970d", + "route_id": "route-5e747a794c569195", + "origin_key": "experiment:perovskite_sim.experiments.interface_charge_jv.solve_interface_charge_jv", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "JV_metrics_and_full_branch", + "current_observation_or_current_input", + "CV_geometry_and_interface_sides" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/interface_charge_jv.py", + "symbol": "solve_interface_charge_jv" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py", + "symbol": "test_fake_sweep_reuses_charged_points_and_retains_evidence" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py", + "symbol": "test_real_small_grid_charged_jv_has_pointwise_evidence" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py", + "symbol": "test_sweep_fails_closed_on_contact_span" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py", + "symbol": "test_sweep_fails_closed_on_gauss_gate" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py", + "symbol": "test_sweep_fails_closed_when_voc_is_not_bracketed" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py", + "symbol": "test_voltage_bridge_is_audited_but_not_retained" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_refinement_executors.py", + "symbol": "test_equilibrium_referenced_interface_charge_jv_executor_smoke" + } + ], + "negative_only_descriptor_rule_ids": [ + "rule-b713ccabb5044e1f26be5eb4", + "rule-dc5129bb06ebdea6890ae3ac", + "rule-3ea9c5481413f60e55dd0196" + ], + "source_quantitative_assertion_ids_for_scope_audit": [ + "rule-ec3bf9575bc0bbbabc39b37d", + "rule-dc390075f1af30a7919a82f1", + "rule-ff9b320461e652edd3c22333" + ], + "rule_ids": [ + "M_payload", + "Voc_absolute", + "JV_metric_packet", + "current_packet", + "projection_packet" + ], + "citations": [], + "remaining_inputs": [ + { + "field": "fixed numeric Jsc/FF/PCE reference values/scales with the actual output units and conversion identity", + "needed_from": "experiment-997377217803970d exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_fake_sweep_reuses_charged_points_and_retains_evidence, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_real_small_grid_charged_jv_has_pointwise_evidence, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_sweep_fails_closed_on_contact_span, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_sweep_fails_closed_on_gauss_gate, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_sweep_fails_closed_when_voc_is_not_bracketed, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_voltage_bridge_is_audited_but_not_retained, pe", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.interface_charge_jv.solve_interface_charge_jv" + }, + { + "field": "dimensional dark/weak Jsc and zero-power absolute limits with error evidence", + "needed_from": "experiment-997377217803970d exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_fake_sweep_reuses_charged_points_and_retains_evidence, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_real_small_grid_charged_jv_has_pointwise_evidence, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_sweep_fails_closed_on_contact_span, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_sweep_fails_closed_on_gauss_gate, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_sweep_fails_closed_when_voc_is_not_bracketed, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_voltage_bridge_is_audited_but_not_retained, pe", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.interface_charge_jv.solve_interface_charge_jv" + }, + { + "field": "Voc bracket, dJ/dV and current-error propagation bound; MPP sampling and full branch coordinates", + "needed_from": "experiment-997377217803970d exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_fake_sweep_reuses_charged_points_and_retains_evidence, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_real_small_grid_charged_jv_has_pointwise_evidence, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_sweep_fails_closed_on_contact_span, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_sweep_fails_closed_on_gauss_gate, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_sweep_fails_closed_when_voc_is_not_bracketed, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_voltage_bridge_is_audited_but_not_retained, pe", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.interface_charge_jv.solve_interface_charge_jv" + }, + { + "field": "numeric reference current scale and absolute weak/zero current allowance, in the actual A or A m-2 output unit", + "needed_from": "experiment-997377217803970d exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_fake_sweep_reuses_charged_points_and_retains_evidence, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_real_small_grid_charged_jv_has_pointwise_evidence, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_sweep_fails_closed_on_contact_span, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_sweep_fails_closed_on_gauss_gate, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_sweep_fails_closed_when_voc_is_not_bracketed, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_voltage_bridge_is_audited_but_not_retained, pe", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.interface_charge_jv.solve_interface_charge_jv" + }, + { + "field": "each component/sign/port/support, observation times and both event sides", + "needed_from": "experiment-997377217803970d exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_fake_sweep_reuses_charged_points_and_retains_evidence, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_real_small_grid_charged_jv_has_pointwise_evidence, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_sweep_fails_closed_on_contact_span, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_sweep_fails_closed_on_gauss_gate, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_sweep_fails_closed_when_voc_is_not_bracketed, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_voltage_bridge_is_audited_but_not_retained, pe", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.interface_charge_jv.solve_interface_charge_jv" + }, + { + "field": "pointwise current uncertainty and a pointwise comparison limit; integrated charge is not a substitute", + "needed_from": "experiment-997377217803970d exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_fake_sweep_reuses_charged_points_and_retains_evidence, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_real_small_grid_charged_jv_has_pointwise_evidence, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_sweep_fails_closed_on_contact_span, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_sweep_fails_closed_on_gauss_gate, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_sweep_fails_closed_when_voc_is_not_bracketed, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_voltage_bridge_is_audited_but_not_retained, pe", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.interface_charge_jv.solve_interface_charge_jv" + }, + { + "field": "source/target geometry and a verified conservative CV intersection/projection artifact or explicit1D cell averages", + "needed_from": "experiment-997377217803970d exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_fake_sweep_reuses_charged_points_and_retains_evidence, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_real_small_grid_charged_jv_has_pointwise_evidence, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_sweep_fails_closed_on_contact_span, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_sweep_fails_closed_on_gauss_gate, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_sweep_fails_closed_when_voc_is_not_bracketed, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_voltage_bridge_is_audited_but_not_retained, pe", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.interface_charge_jv.solve_interface_charge_jv" + }, + { + "field": "fixed numeric integral/inventory/left-trace/right-trace scales and limits in their physical units", + "needed_from": "experiment-997377217803970d exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_fake_sweep_reuses_charged_points_and_retains_evidence, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_real_small_grid_charged_jv_has_pointwise_evidence, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_sweep_fails_closed_on_contact_span, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_sweep_fails_closed_on_gauss_gate, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_sweep_fails_closed_when_voc_is_not_bracketed, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_voltage_bridge_is_audited_but_not_retained, pe", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.interface_charge_jv.solve_interface_charge_jv" + }, + { + "field": "projection error, component topology and every interface-side identity", + "needed_from": "experiment-997377217803970d exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_fake_sweep_reuses_charged_points_and_retains_evidence, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_real_small_grid_charged_jv_has_pointwise_evidence, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_sweep_fails_closed_on_contact_span, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_sweep_fails_closed_on_gauss_gate, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_sweep_fails_closed_when_voc_is_not_bracketed, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_voltage_bridge_is_audited_but_not_retained, pe", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.interface_charge_jv.solve_interface_charge_jv" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-997377217803970d/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + } + ], + "downstream_tasks": [ + "P04-09", + "P05-01", + "P05-04" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-experiment-997377217803970d" + }, + "scope_specific_prior_gaps": [ + { + "field": "fixed numeric Jsc/FF/PCE reference values/scales with the actual output units and conversion identity", + "needed_from": "experiment-997377217803970d exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_fake_sweep_reuses_charged_points_and_retains_evidence, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_real_small_grid_charged_jv_has_pointwise_evidence, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_sweep_fails_closed_on_contact_span, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_sweep_fails_closed_on_gauss_gate, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_sweep_fails_closed_when_voc_is_not_bracketed, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_voltage_bridge_is_audited_but_not_retained, pe", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.interface_charge_jv.solve_interface_charge_jv", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "dimensional dark/weak Jsc and zero-power absolute limits with error evidence", + "needed_from": "experiment-997377217803970d exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_fake_sweep_reuses_charged_points_and_retains_evidence, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_real_small_grid_charged_jv_has_pointwise_evidence, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_sweep_fails_closed_on_contact_span, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_sweep_fails_closed_on_gauss_gate, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_sweep_fails_closed_when_voc_is_not_bracketed, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_voltage_bridge_is_audited_but_not_retained, pe", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.interface_charge_jv.solve_interface_charge_jv", + "categories": [ + "tolerance_decision", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "Voc bracket, dJ/dV and current-error propagation bound; MPP sampling and full branch coordinates", + "needed_from": "experiment-997377217803970d exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_fake_sweep_reuses_charged_points_and_retains_evidence, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_real_small_grid_charged_jv_has_pointwise_evidence, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_sweep_fails_closed_on_contact_span, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_sweep_fails_closed_on_gauss_gate, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_sweep_fails_closed_when_voc_is_not_bracketed, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_voltage_bridge_is_audited_but_not_retained, pe", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.interface_charge_jv.solve_interface_charge_jv", + "categories": [ + "measurement_data", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "numeric reference current scale and absolute weak/zero current allowance, in the actual A or A m-2 output unit", + "needed_from": "experiment-997377217803970d exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_fake_sweep_reuses_charged_points_and_retains_evidence, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_real_small_grid_charged_jv_has_pointwise_evidence, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_sweep_fails_closed_on_contact_span, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_sweep_fails_closed_on_gauss_gate, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_sweep_fails_closed_when_voc_is_not_bracketed, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_voltage_bridge_is_audited_but_not_retained, pe", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.interface_charge_jv.solve_interface_charge_jv", + "categories": [ + "source_configuration", + "tolerance_decision" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "each component/sign/port/support, observation times and both event sides", + "needed_from": "experiment-997377217803970d exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_fake_sweep_reuses_charged_points_and_retains_evidence, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_real_small_grid_charged_jv_has_pointwise_evidence, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_sweep_fails_closed_on_contact_span, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_sweep_fails_closed_on_gauss_gate, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_sweep_fails_closed_when_voc_is_not_bracketed, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_voltage_bridge_is_audited_but_not_retained, pe", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.interface_charge_jv.solve_interface_charge_jv", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "pointwise current uncertainty and a pointwise comparison limit; integrated charge is not a substitute", + "needed_from": "experiment-997377217803970d exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_fake_sweep_reuses_charged_points_and_retains_evidence, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_real_small_grid_charged_jv_has_pointwise_evidence, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_sweep_fails_closed_on_contact_span, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_sweep_fails_closed_on_gauss_gate, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_sweep_fails_closed_when_voc_is_not_bracketed, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_voltage_bridge_is_audited_but_not_retained, pe", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.interface_charge_jv.solve_interface_charge_jv", + "categories": [ + "tolerance_decision", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "source/target geometry and a verified conservative CV intersection/projection artifact or explicit1D cell averages", + "needed_from": "experiment-997377217803970d exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_fake_sweep_reuses_charged_points_and_retains_evidence, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_real_small_grid_charged_jv_has_pointwise_evidence, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_sweep_fails_closed_on_contact_span, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_sweep_fails_closed_on_gauss_gate, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_sweep_fails_closed_when_voc_is_not_bracketed, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_voltage_bridge_is_audited_but_not_retained, pe", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.interface_charge_jv.solve_interface_charge_jv", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "fixed numeric integral/inventory/left-trace/right-trace scales and limits in their physical units", + "needed_from": "experiment-997377217803970d exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_fake_sweep_reuses_charged_points_and_retains_evidence, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_real_small_grid_charged_jv_has_pointwise_evidence, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_sweep_fails_closed_on_contact_span, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_sweep_fails_closed_on_gauss_gate, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_sweep_fails_closed_when_voc_is_not_bracketed, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_voltage_bridge_is_audited_but_not_retained, pe", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.interface_charge_jv.solve_interface_charge_jv", + "categories": [ + "source_configuration", + "tolerance_decision" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "projection error, component topology and every interface-side identity", + "needed_from": "experiment-997377217803970d exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_fake_sweep_reuses_charged_points_and_retains_evidence, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_real_small_grid_charged_jv_has_pointwise_evidence, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_sweep_fails_closed_on_contact_span, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_sweep_fails_closed_on_gauss_gate, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_sweep_fails_closed_when_voc_is_not_bracketed, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_voltage_bridge_is_audited_but_not_retained, pe", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.interface_charge_jv.solve_interface_charge_jv", + "categories": [ + "source_configuration", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-997377217803970d/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [], + "current_numeric_status": "prior_exact_scope_gaps_retained_and_classified" + } + }, + { + "id": "scope-experiment-f3f73781e494a4fe", + "capability_id": "experiment-f3f73781e494a4fe", + "route_id": "route-0f4037cecfd2937f", + "origin_key": "experiment:perovskite_sim.experiments.interface_defect_aware_impedance.run_interface_defect_device_impedance", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "current_observation_or_current_input", + "complex_frequency_response", + "CV_geometry_and_interface_sides", + "source_specific_operator_or_constitutive_action" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/interface_defect_aware_impedance.py", + "symbol": "run_interface_defect_device_impedance" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py", + "symbol": "test_interface_device_ac_frequency_window_is_fail_closed" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py", + "symbol": "test_interface_device_ac_recertifies_supplied_dc_state_on_live_operator" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py", + "symbol": "test_interface_device_ac_rejects_tampered_dark_reference_before_linearization" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py", + "symbol": "test_real_dynamic_interface_device_ac_certifies_four_capture_legs" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py", + "symbol": "test_two_physical_interfaces_have_two_independent_shared_occupancies" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_dynamic_defect_impedance.py", + "symbol": "test_public_bulk_dynamic_defect_impedance_is_protocol_bound_and_certified" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_dynamic_defect_impedance.py", + "symbol": "test_public_interface_dynamic_defect_impedance_uses_two_sided_faces" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_dynamic_defect_impedance.py", + "symbol": "test_public_triple_coupled_defect_ion_impedance_is_certified" + } + ], + "negative_only_descriptor_rule_ids": [ + "rule-8682c4080efda37c07b72425", + "rule-f0925d75fb53651a07afe567", + "rule-bd4bf7e2775b4e3f12c69234" + ], + "source_quantitative_assertion_ids_for_scope_audit": [ + "rule-4c70c126a2b1cfa5dbaa2153", + "rule-c7f30eda77b24fab515cb299", + "rule-21eda39cfd1b0bdd028c9544", + "rule-5243ed7dc89b79acbd1bad83", + "rule-e906fb39144e8d35a52ab807" + ], + "rule_ids": [ + "M_payload", + "current_packet", + "complex_packet", + "projection_packet", + "operator_packet" + ], + "citations": [], + "remaining_inputs": [ + { + "field": "numeric reference current scale and absolute weak/zero current allowance, in the actual A or A m-2 output unit", + "needed_from": "experiment-f3f73781e494a4fe exact original driver/reference observation packet; perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_interface_device_ac_frequency_window_is_fail_closed, perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_interface_device_ac_recertifies_supplied_dc_state_on_live_operator, perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_interface_device_ac_rejects_tampered_dark_reference_before_linearization, perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_real_dynamic_interface_device_ac_certifies_four_capture_legs, perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_two_physical_interfaces_have_two_independen", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.interface_defect_aware_impedance.run_interface_defect_device_impedance" + }, + { + "field": "each component/sign/port/support, observation times and both event sides", + "needed_from": "experiment-f3f73781e494a4fe exact original driver/reference observation packet; perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_interface_device_ac_frequency_window_is_fail_closed, perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_interface_device_ac_recertifies_supplied_dc_state_on_live_operator, perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_interface_device_ac_rejects_tampered_dark_reference_before_linearization, perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_real_dynamic_interface_device_ac_certifies_four_capture_legs, perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_two_physical_interfaces_have_two_independen", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.interface_defect_aware_impedance.run_interface_defect_device_impedance" + }, + { + "field": "pointwise current uncertainty and a pointwise comparison limit; integrated charge is not a substitute", + "needed_from": "experiment-f3f73781e494a4fe exact original driver/reference observation packet; perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_interface_device_ac_frequency_window_is_fail_closed, perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_interface_device_ac_recertifies_supplied_dc_state_on_live_operator, perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_interface_device_ac_rejects_tampered_dark_reference_before_linearization, perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_real_dynamic_interface_device_ac_certifies_four_capture_legs, perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_two_physical_interfaces_have_two_independen", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.interface_defect_aware_impedance.run_interface_defect_device_impedance" + }, + { + "field": "fixed numeric reference scales and real/imaginary/complex absolute bounds in S m-2 or ohm m2 as actually emitted", + "needed_from": "experiment-f3f73781e494a4fe exact original driver/reference observation packet; perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_interface_device_ac_frequency_window_is_fail_closed, perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_interface_device_ac_recertifies_supplied_dc_state_on_live_operator, perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_interface_device_ac_rejects_tampered_dark_reference_before_linearization, perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_real_dynamic_interface_device_ac_certifies_four_capture_legs, perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_two_physical_interfaces_have_two_independen", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.interface_defect_aware_impedance.run_interface_defect_device_impedance" + }, + { + "field": "numeric absolute phase limit in radians and per-driver/frequency resolvability floor with independent uncertainty/physical-resolution evidence", + "needed_from": "experiment-f3f73781e494a4fe exact original driver/reference observation packet; perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_interface_device_ac_frequency_window_is_fail_closed, perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_interface_device_ac_recertifies_supplied_dc_state_on_live_operator, perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_interface_device_ac_rejects_tampered_dark_reference_before_linearization, perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_real_dynamic_interface_device_ac_certifies_four_capture_legs, perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_two_physical_interfaces_have_two_independen", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.interface_defect_aware_impedance.run_interface_defect_device_impedance" + }, + { + "field": "explicit exact-zero frequencies, coordinate identity and independent component/phase errors", + "needed_from": "experiment-f3f73781e494a4fe exact original driver/reference observation packet; perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_interface_device_ac_frequency_window_is_fail_closed, perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_interface_device_ac_recertifies_supplied_dc_state_on_live_operator, perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_interface_device_ac_rejects_tampered_dark_reference_before_linearization, perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_real_dynamic_interface_device_ac_certifies_four_capture_legs, perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_two_physical_interfaces_have_two_independen", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.interface_defect_aware_impedance.run_interface_defect_device_impedance" + }, + { + "field": "source/target geometry and a verified conservative CV intersection/projection artifact or explicit1D cell averages", + "needed_from": "experiment-f3f73781e494a4fe exact original driver/reference observation packet; perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_interface_device_ac_frequency_window_is_fail_closed, perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_interface_device_ac_recertifies_supplied_dc_state_on_live_operator, perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_interface_device_ac_rejects_tampered_dark_reference_before_linearization, perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_real_dynamic_interface_device_ac_certifies_four_capture_legs, perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_two_physical_interfaces_have_two_independen", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.interface_defect_aware_impedance.run_interface_defect_device_impedance" + }, + { + "field": "fixed numeric integral/inventory/left-trace/right-trace scales and limits in their physical units", + "needed_from": "experiment-f3f73781e494a4fe exact original driver/reference observation packet; perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_interface_device_ac_frequency_window_is_fail_closed, perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_interface_device_ac_recertifies_supplied_dc_state_on_live_operator, perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_interface_device_ac_rejects_tampered_dark_reference_before_linearization, perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_real_dynamic_interface_device_ac_certifies_four_capture_legs, perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_two_physical_interfaces_have_two_independen", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.interface_defect_aware_impedance.run_interface_defect_device_impedance" + }, + { + "field": "projection error, component topology and every interface-side identity", + "needed_from": "experiment-f3f73781e494a4fe exact original driver/reference observation packet; perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_interface_device_ac_frequency_window_is_fail_closed, perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_interface_device_ac_recertifies_supplied_dc_state_on_live_operator, perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_interface_device_ac_rejects_tampered_dark_reference_before_linearization, perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_real_dynamic_interface_device_ac_certifies_four_capture_legs, perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_two_physical_interfaces_have_two_independen", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.interface_defect_aware_impedance.run_interface_defect_device_impedance" + }, + { + "field": "actual row and column physical units, support and fixed per-block/state/input scales", + "needed_from": "experiment-f3f73781e494a4fe exact original driver/reference observation packet; perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_interface_device_ac_frequency_window_is_fail_closed, perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_interface_device_ac_recertifies_supplied_dc_state_on_live_operator, perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_interface_device_ac_rejects_tampered_dark_reference_before_linearization, perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_real_dynamic_interface_device_ac_certifies_four_capture_legs, perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_two_physical_interfaces_have_two_independen", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.interface_defect_aware_impedance.run_interface_defect_device_impedance" + }, + { + "field": "numeric independent derivative/action/weak-increment thresholds from the original applicable contract", + "needed_from": "experiment-f3f73781e494a4fe exact original driver/reference observation packet; perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_interface_device_ac_frequency_window_is_fail_closed, perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_interface_device_ac_recertifies_supplied_dc_state_on_live_operator, perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_interface_device_ac_rejects_tampered_dark_reference_before_linearization, perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_real_dynamic_interface_device_ac_certifies_four_capture_legs, perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_two_physical_interfaces_have_two_independen", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.interface_defect_aware_impedance.run_interface_defect_device_impedance" + }, + { + "field": "full nonlocal/input chain, inactive/zero branch and independent reference/cancellation error", + "needed_from": "experiment-f3f73781e494a4fe exact original driver/reference observation packet; perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_interface_device_ac_frequency_window_is_fail_closed, perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_interface_device_ac_recertifies_supplied_dc_state_on_live_operator, perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_interface_device_ac_rejects_tampered_dark_reference_before_linearization, perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_real_dynamic_interface_device_ac_certifies_four_capture_legs, perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_two_physical_interfaces_have_two_independen", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.interface_defect_aware_impedance.run_interface_defect_device_impedance" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-f3f73781e494a4fe/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + } + ], + "downstream_tasks": [ + "P04-06", + "P04-09", + "P04-10", + "P05-01", + "P05-03" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-experiment-f3f73781e494a4fe" + }, + "scope_specific_prior_gaps": [ + { + "field": "numeric reference current scale and absolute weak/zero current allowance, in the actual A or A m-2 output unit", + "needed_from": "experiment-f3f73781e494a4fe exact original driver/reference observation packet; perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_interface_device_ac_frequency_window_is_fail_closed, perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_interface_device_ac_recertifies_supplied_dc_state_on_live_operator, perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_interface_device_ac_rejects_tampered_dark_reference_before_linearization, perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_real_dynamic_interface_device_ac_certifies_four_capture_legs, perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_two_physical_interfaces_have_two_independen", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.interface_defect_aware_impedance.run_interface_defect_device_impedance", + "categories": [ + "source_configuration", + "tolerance_decision" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "each component/sign/port/support, observation times and both event sides", + "needed_from": "experiment-f3f73781e494a4fe exact original driver/reference observation packet; perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_interface_device_ac_frequency_window_is_fail_closed, perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_interface_device_ac_recertifies_supplied_dc_state_on_live_operator, perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_interface_device_ac_rejects_tampered_dark_reference_before_linearization, perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_real_dynamic_interface_device_ac_certifies_four_capture_legs, perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_two_physical_interfaces_have_two_independen", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.interface_defect_aware_impedance.run_interface_defect_device_impedance", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "pointwise current uncertainty and a pointwise comparison limit; integrated charge is not a substitute", + "needed_from": "experiment-f3f73781e494a4fe exact original driver/reference observation packet; perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_interface_device_ac_frequency_window_is_fail_closed, perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_interface_device_ac_recertifies_supplied_dc_state_on_live_operator, perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_interface_device_ac_rejects_tampered_dark_reference_before_linearization, perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_real_dynamic_interface_device_ac_certifies_four_capture_legs, perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_two_physical_interfaces_have_two_independen", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.interface_defect_aware_impedance.run_interface_defect_device_impedance", + "categories": [ + "tolerance_decision", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "fixed numeric reference scales and real/imaginary/complex absolute bounds in S m-2 or ohm m2 as actually emitted", + "needed_from": "experiment-f3f73781e494a4fe exact original driver/reference observation packet; perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_interface_device_ac_frequency_window_is_fail_closed, perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_interface_device_ac_recertifies_supplied_dc_state_on_live_operator, perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_interface_device_ac_rejects_tampered_dark_reference_before_linearization, perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_real_dynamic_interface_device_ac_certifies_four_capture_legs, perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_two_physical_interfaces_have_two_independen", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.interface_defect_aware_impedance.run_interface_defect_device_impedance", + "categories": [ + "source_configuration", + "tolerance_decision" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "numeric absolute phase limit in radians and per-driver/frequency resolvability floor with independent uncertainty/physical-resolution evidence", + "needed_from": "experiment-f3f73781e494a4fe exact original driver/reference observation packet; perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_interface_device_ac_frequency_window_is_fail_closed, perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_interface_device_ac_recertifies_supplied_dc_state_on_live_operator, perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_interface_device_ac_rejects_tampered_dark_reference_before_linearization, perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_real_dynamic_interface_device_ac_certifies_four_capture_legs, perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_two_physical_interfaces_have_two_independen", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.interface_defect_aware_impedance.run_interface_defect_device_impedance", + "categories": [ + "tolerance_decision", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "explicit exact-zero frequencies, coordinate identity and independent component/phase errors", + "needed_from": "experiment-f3f73781e494a4fe exact original driver/reference observation packet; perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_interface_device_ac_frequency_window_is_fail_closed, perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_interface_device_ac_recertifies_supplied_dc_state_on_live_operator, perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_interface_device_ac_rejects_tampered_dark_reference_before_linearization, perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_real_dynamic_interface_device_ac_certifies_four_capture_legs, perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_two_physical_interfaces_have_two_independen", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.interface_defect_aware_impedance.run_interface_defect_device_impedance", + "categories": [ + "measurement_data", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "source/target geometry and a verified conservative CV intersection/projection artifact or explicit1D cell averages", + "needed_from": "experiment-f3f73781e494a4fe exact original driver/reference observation packet; perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_interface_device_ac_frequency_window_is_fail_closed, perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_interface_device_ac_recertifies_supplied_dc_state_on_live_operator, perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_interface_device_ac_rejects_tampered_dark_reference_before_linearization, perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_real_dynamic_interface_device_ac_certifies_four_capture_legs, perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_two_physical_interfaces_have_two_independen", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.interface_defect_aware_impedance.run_interface_defect_device_impedance", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "fixed numeric integral/inventory/left-trace/right-trace scales and limits in their physical units", + "needed_from": "experiment-f3f73781e494a4fe exact original driver/reference observation packet; perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_interface_device_ac_frequency_window_is_fail_closed, perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_interface_device_ac_recertifies_supplied_dc_state_on_live_operator, perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_interface_device_ac_rejects_tampered_dark_reference_before_linearization, perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_real_dynamic_interface_device_ac_certifies_four_capture_legs, perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_two_physical_interfaces_have_two_independen", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.interface_defect_aware_impedance.run_interface_defect_device_impedance", + "categories": [ + "source_configuration", + "tolerance_decision" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "projection error, component topology and every interface-side identity", + "needed_from": "experiment-f3f73781e494a4fe exact original driver/reference observation packet; perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_interface_device_ac_frequency_window_is_fail_closed, perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_interface_device_ac_recertifies_supplied_dc_state_on_live_operator, perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_interface_device_ac_rejects_tampered_dark_reference_before_linearization, perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_real_dynamic_interface_device_ac_certifies_four_capture_legs, perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_two_physical_interfaces_have_two_independen", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.interface_defect_aware_impedance.run_interface_defect_device_impedance", + "categories": [ + "source_configuration", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual row and column physical units, support and fixed per-block/state/input scales", + "needed_from": "experiment-f3f73781e494a4fe exact original driver/reference observation packet; perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_interface_device_ac_frequency_window_is_fail_closed, perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_interface_device_ac_recertifies_supplied_dc_state_on_live_operator, perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_interface_device_ac_rejects_tampered_dark_reference_before_linearization, perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_real_dynamic_interface_device_ac_certifies_four_capture_legs, perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_two_physical_interfaces_have_two_independen", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.interface_defect_aware_impedance.run_interface_defect_device_impedance", + "categories": [ + "source_configuration" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "numeric independent derivative/action/weak-increment thresholds from the original applicable contract", + "needed_from": "experiment-f3f73781e494a4fe exact original driver/reference observation packet; perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_interface_device_ac_frequency_window_is_fail_closed, perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_interface_device_ac_recertifies_supplied_dc_state_on_live_operator, perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_interface_device_ac_rejects_tampered_dark_reference_before_linearization, perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_real_dynamic_interface_device_ac_certifies_four_capture_legs, perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_two_physical_interfaces_have_two_independen", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.interface_defect_aware_impedance.run_interface_defect_device_impedance", + "categories": [ + "tolerance_decision" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "full nonlocal/input chain, inactive/zero branch and independent reference/cancellation error", + "needed_from": "experiment-f3f73781e494a4fe exact original driver/reference observation packet; perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_interface_device_ac_frequency_window_is_fail_closed, perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_interface_device_ac_recertifies_supplied_dc_state_on_live_operator, perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_interface_device_ac_rejects_tampered_dark_reference_before_linearization, perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_real_dynamic_interface_device_ac_certifies_four_capture_legs, perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_two_physical_interfaces_have_two_independen", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.interface_defect_aware_impedance.run_interface_defect_device_impedance", + "categories": [ + "source_configuration", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-f3f73781e494a4fe/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [], + "current_numeric_status": "prior_exact_scope_gaps_retained_and_classified" + } + }, + { + "id": "scope-experiment-29a84beaf4041cba", + "capability_id": "experiment-29a84beaf4041cba", + "route_id": "route-4a5beb0fdcf3619a", + "origin_key": "experiment:perovskite_sim.experiments.interface_defect_ion_transient.run_interface_defect_ion_device_transient", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "physical_profiles_or_stored_state_history", + "current_observation_or_current_input", + "waveform_integral_history", + "CV_geometry_and_interface_sides", + "source_specific_operator_or_constitutive_action" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/interface_defect_ion_transient.py", + "symbol": "run_interface_defect_ion_device_transient" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_combined_dc_warm_start.py", + "symbol": "test_accepted_legacy_warm_start_uses_one_attempt" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_interface_defect_ion_transient.py", + "symbol": "test_deep_time_refinement_retains_charge_and_all_face_current_closure" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_interface_defect_ion_transient.py", + "symbol": "test_missing_joint_physics_fails_before_integration" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_interface_defect_ion_transient.py", + "symbol": "test_slow_ion_limit_freezes_ions_without_freezing_interface_traps" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1.py", + "symbol": "test_physical_coupled_steps_keep_fixed_reference_and_close_charge" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1.py", + "symbol": "test_rejects_mismatched_volumes_and_unbound_research_geometry" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py", + "symbol": "test_grid8_fine_defect_case_converges_with_step_local_coordinates" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_dynamic_defect_transient.py", + "symbol": "test_public_dynamic_defect_transient_is_protocol_bound_and_certified" + } + ], + "negative_only_descriptor_rule_ids": [ + "rule-9f993633631422bd310beea8", + "rule-3ebc5f0756fffce53991a712", + "rule-daad76e3597d5e3f50d1ccb4" + ], + "source_quantitative_assertion_ids_for_scope_audit": [ + "rule-4dd303afab01860520e8a351", + "rule-b2c0e0730392ae5c0761b46e", + "rule-4efbbbbfc1578e42850332dd", + "rule-ea751fed23dd1f729c7b27d5", + "rule-27a90a9c22e7ca1fa23e1ae4", + "rule-042008ee9a9685e5f8033630", + "rule-a32ceada324186b17198fb09", + "rule-41e8460df6521a63263e9c97", + "rule-7cde4d6442cfb9bec5ab04d2", + "rule-29ba930abf5ae03a2603e843", + "rule-84f31ca7675d36a3e588f5af", + "rule-7f15b828411ceea1f47f4ecc", + "rule-b061e055966a9344d86a002a", + "rule-2d8db522f1a2a86d8303d6e8", + "rule-1cd842d229dcc6c84a502d77", + "rule-902c37f0ebee08d6ec557e2a", + "rule-1cbad71ed0f345bae9150aa9" + ], + "rule_ids": [ + "M_payload", + "potential_packet", + "positive_density_log", + "density_inventory_packet", + "current_packet", + "transient_packet", + "projection_packet", + "operator_packet" + ], + "citations": [], + "remaining_inputs": [ + { + "field": "numeric fixed thermal/physical voltage scale in V from the exact reference temperature or declared boundary parameters", + "needed_from": "experiment-29a84beaf4041cba exact original driver/reference observation packet; perovskite-sim/tests/integration/test_combined_dc_warm_start.py::test_accepted_legacy_warm_start_uses_one_attempt, perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_deep_time_refinement_retains_charge_and_all_face_current_closure, perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_missing_joint_physics_fails_before_integration, perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_slow_ion_limit_freezes_ions_without_freezing_interface_traps, perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1.py::test_physical_coupled_steps_keep_fixed_reference_and_close_charge, perovskite-sim/tests/integration/test", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.interface_defect_ion_transient.run_interface_defect_ion_device_transient" + }, + { + "field": "actual reference CV weights/support and physical gauge/contact values; allowed mask", + "needed_from": "experiment-29a84beaf4041cba exact original driver/reference observation packet; perovskite-sim/tests/integration/test_combined_dc_warm_start.py::test_accepted_legacy_warm_start_uses_one_attempt, perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_deep_time_refinement_retains_charge_and_all_face_current_closure, perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_missing_joint_physics_fails_before_integration, perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_slow_ion_limit_freezes_ions_without_freezing_interface_traps, perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1.py::test_physical_coupled_steps_keep_fixed_reference_and_close_charge, perovskite-sim/tests/integration/test", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.interface_defect_ion_transient.run_interface_defect_ion_device_transient" + }, + { + "field": "independent source/grid/time/mapping error in V and its qualified reference identity", + "needed_from": "experiment-29a84beaf4041cba exact original driver/reference observation packet; perovskite-sim/tests/integration/test_combined_dc_warm_start.py::test_accepted_legacy_warm_start_uses_one_attempt, perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_deep_time_refinement_retains_charge_and_all_face_current_closure, perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_missing_joint_physics_fails_before_integration, perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_slow_ion_limit_freezes_ions_without_freezing_interface_traps, perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1.py::test_physical_coupled_steps_keep_fixed_reference_and_close_charge, perovskite-sim/tests/integration/test", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.interface_defect_ion_transient.run_interface_defect_ion_device_transient" + }, + { + "field": "per-species/per-connected-domain positive reference inventory numeric scale and unit (1 or m-2, according to actual CV measure)", + "needed_from": "experiment-29a84beaf4041cba exact original driver/reference observation packet; perovskite-sim/tests/integration/test_combined_dc_warm_start.py::test_accepted_legacy_warm_start_uses_one_attempt, perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_deep_time_refinement_retains_charge_and_all_face_current_closure, perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_missing_joint_physics_fails_before_integration, perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_slow_ion_limit_freezes_ions_without_freezing_interface_traps, perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1.py::test_physical_coupled_steps_keep_fixed_reference_and_close_charge, perovskite-sim/tests/integration/test", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.interface_defect_ion_transient.run_interface_defect_ion_device_transient" + }, + { + "field": "zero-species/zero-cell identity and numeric dimensional absolute gate from model absence or reference error evidence", + "needed_from": "experiment-29a84beaf4041cba exact original driver/reference observation packet; perovskite-sim/tests/integration/test_combined_dc_warm_start.py::test_accepted_legacy_warm_start_uses_one_attempt, perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_deep_time_refinement_retains_charge_and_all_face_current_closure, perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_missing_joint_physics_fails_before_integration, perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_slow_ion_limit_freezes_ions_without_freezing_interface_traps, perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1.py::test_physical_coupled_steps_keep_fixed_reference_and_close_charge, perovskite-sim/tests/integration/test", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.interface_defect_ion_transient.run_interface_defect_ion_device_transient" + }, + { + "field": "actual volumes, component labels and independent log/inventory uncertainty", + "needed_from": "experiment-29a84beaf4041cba exact original driver/reference observation packet; perovskite-sim/tests/integration/test_combined_dc_warm_start.py::test_accepted_legacy_warm_start_uses_one_attempt, perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_deep_time_refinement_retains_charge_and_all_face_current_closure, perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_missing_joint_physics_fails_before_integration, perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_slow_ion_limit_freezes_ions_without_freezing_interface_traps, perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1.py::test_physical_coupled_steps_keep_fixed_reference_and_close_charge, perovskite-sim/tests/integration/test", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.interface_defect_ion_transient.run_interface_defect_ion_device_transient" + }, + { + "field": "numeric reference current scale and absolute weak/zero current allowance, in the actual A or A m-2 output unit", + "needed_from": "experiment-29a84beaf4041cba exact original driver/reference observation packet; perovskite-sim/tests/integration/test_combined_dc_warm_start.py::test_accepted_legacy_warm_start_uses_one_attempt, perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_deep_time_refinement_retains_charge_and_all_face_current_closure, perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_missing_joint_physics_fails_before_integration, perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_slow_ion_limit_freezes_ions_without_freezing_interface_traps, perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1.py::test_physical_coupled_steps_keep_fixed_reference_and_close_charge, perovskite-sim/tests/integration/test", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.interface_defect_ion_transient.run_interface_defect_ion_device_transient" + }, + { + "field": "each component/sign/port/support, observation times and both event sides", + "needed_from": "experiment-29a84beaf4041cba exact original driver/reference observation packet; perovskite-sim/tests/integration/test_combined_dc_warm_start.py::test_accepted_legacy_warm_start_uses_one_attempt, perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_deep_time_refinement_retains_charge_and_all_face_current_closure, perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_missing_joint_physics_fails_before_integration, perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_slow_ion_limit_freezes_ions_without_freezing_interface_traps, perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1.py::test_physical_coupled_steps_keep_fixed_reference_and_close_charge, perovskite-sim/tests/integration/test", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.interface_defect_ion_transient.run_interface_defect_ion_device_transient" + }, + { + "field": "pointwise current uncertainty and a pointwise comparison limit; integrated charge is not a substitute", + "needed_from": "experiment-29a84beaf4041cba exact original driver/reference observation packet; perovskite-sim/tests/integration/test_combined_dc_warm_start.py::test_accepted_legacy_warm_start_uses_one_attempt, perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_deep_time_refinement_retains_charge_and_all_face_current_closure, perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_missing_joint_physics_fails_before_integration, perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_slow_ion_limit_freezes_ions_without_freezing_interface_traps, perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1.py::test_physical_coupled_steps_keep_fixed_reference_and_close_charge, perovskite-sim/tests/integration/test", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.interface_defect_ion_transient.run_interface_defect_ion_device_transient" + }, + { + "field": "actual complete state history, time coordinates, event sides and original integral/fit-window identity", + "needed_from": "experiment-29a84beaf4041cba exact original driver/reference observation packet; perovskite-sim/tests/integration/test_combined_dc_warm_start.py::test_accepted_legacy_warm_start_uses_one_attempt, perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_deep_time_refinement_retains_charge_and_all_face_current_closure, perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_missing_joint_physics_fails_before_integration, perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_slow_ion_limit_freezes_ions_without_freezing_interface_traps, perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1.py::test_physical_coupled_steps_keep_fixed_reference_and_close_charge, perovskite-sim/tests/integration/test", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.interface_defect_ion_transient.run_interface_defect_ion_device_transient" + }, + { + "field": "numeric separate waveform, integrated-charge and fit residual/derived-parameter scales/limits from the original channel", + "needed_from": "experiment-29a84beaf4041cba exact original driver/reference observation packet; perovskite-sim/tests/integration/test_combined_dc_warm_start.py::test_accepted_legacy_warm_start_uses_one_attempt, perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_deep_time_refinement_retains_charge_and_all_face_current_closure, perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_missing_joint_physics_fails_before_integration, perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_slow_ion_limit_freezes_ions_without_freezing_interface_traps, perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1.py::test_physical_coupled_steps_keep_fixed_reference_and_close_charge, perovskite-sim/tests/integration/test", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.interface_defect_ion_transient.run_interface_defect_ion_device_transient" + }, + { + "field": "nonresetting interval/prefix uncertainty and accepted-history reference errors", + "needed_from": "experiment-29a84beaf4041cba exact original driver/reference observation packet; perovskite-sim/tests/integration/test_combined_dc_warm_start.py::test_accepted_legacy_warm_start_uses_one_attempt, perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_deep_time_refinement_retains_charge_and_all_face_current_closure, perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_missing_joint_physics_fails_before_integration, perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_slow_ion_limit_freezes_ions_without_freezing_interface_traps, perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1.py::test_physical_coupled_steps_keep_fixed_reference_and_close_charge, perovskite-sim/tests/integration/test", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.interface_defect_ion_transient.run_interface_defect_ion_device_transient" + }, + { + "field": "source/target geometry and a verified conservative CV intersection/projection artifact or explicit1D cell averages", + "needed_from": "experiment-29a84beaf4041cba exact original driver/reference observation packet; perovskite-sim/tests/integration/test_combined_dc_warm_start.py::test_accepted_legacy_warm_start_uses_one_attempt, perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_deep_time_refinement_retains_charge_and_all_face_current_closure, perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_missing_joint_physics_fails_before_integration, perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_slow_ion_limit_freezes_ions_without_freezing_interface_traps, perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1.py::test_physical_coupled_steps_keep_fixed_reference_and_close_charge, perovskite-sim/tests/integration/test", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.interface_defect_ion_transient.run_interface_defect_ion_device_transient" + }, + { + "field": "fixed numeric integral/inventory/left-trace/right-trace scales and limits in their physical units", + "needed_from": "experiment-29a84beaf4041cba exact original driver/reference observation packet; perovskite-sim/tests/integration/test_combined_dc_warm_start.py::test_accepted_legacy_warm_start_uses_one_attempt, perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_deep_time_refinement_retains_charge_and_all_face_current_closure, perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_missing_joint_physics_fails_before_integration, perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_slow_ion_limit_freezes_ions_without_freezing_interface_traps, perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1.py::test_physical_coupled_steps_keep_fixed_reference_and_close_charge, perovskite-sim/tests/integration/test", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.interface_defect_ion_transient.run_interface_defect_ion_device_transient" + }, + { + "field": "projection error, component topology and every interface-side identity", + "needed_from": "experiment-29a84beaf4041cba exact original driver/reference observation packet; perovskite-sim/tests/integration/test_combined_dc_warm_start.py::test_accepted_legacy_warm_start_uses_one_attempt, perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_deep_time_refinement_retains_charge_and_all_face_current_closure, perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_missing_joint_physics_fails_before_integration, perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_slow_ion_limit_freezes_ions_without_freezing_interface_traps, perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1.py::test_physical_coupled_steps_keep_fixed_reference_and_close_charge, perovskite-sim/tests/integration/test", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.interface_defect_ion_transient.run_interface_defect_ion_device_transient" + }, + { + "field": "actual row and column physical units, support and fixed per-block/state/input scales", + "needed_from": "experiment-29a84beaf4041cba exact original driver/reference observation packet; perovskite-sim/tests/integration/test_combined_dc_warm_start.py::test_accepted_legacy_warm_start_uses_one_attempt, perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_deep_time_refinement_retains_charge_and_all_face_current_closure, perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_missing_joint_physics_fails_before_integration, perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_slow_ion_limit_freezes_ions_without_freezing_interface_traps, perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1.py::test_physical_coupled_steps_keep_fixed_reference_and_close_charge, perovskite-sim/tests/integration/test", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.interface_defect_ion_transient.run_interface_defect_ion_device_transient" + }, + { + "field": "numeric independent derivative/action/weak-increment thresholds from the original applicable contract", + "needed_from": "experiment-29a84beaf4041cba exact original driver/reference observation packet; perovskite-sim/tests/integration/test_combined_dc_warm_start.py::test_accepted_legacy_warm_start_uses_one_attempt, perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_deep_time_refinement_retains_charge_and_all_face_current_closure, perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_missing_joint_physics_fails_before_integration, perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_slow_ion_limit_freezes_ions_without_freezing_interface_traps, perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1.py::test_physical_coupled_steps_keep_fixed_reference_and_close_charge, perovskite-sim/tests/integration/test", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.interface_defect_ion_transient.run_interface_defect_ion_device_transient" + }, + { + "field": "full nonlocal/input chain, inactive/zero branch and independent reference/cancellation error", + "needed_from": "experiment-29a84beaf4041cba exact original driver/reference observation packet; perovskite-sim/tests/integration/test_combined_dc_warm_start.py::test_accepted_legacy_warm_start_uses_one_attempt, perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_deep_time_refinement_retains_charge_and_all_face_current_closure, perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_missing_joint_physics_fails_before_integration, perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_slow_ion_limit_freezes_ions_without_freezing_interface_traps, perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1.py::test_physical_coupled_steps_keep_fixed_reference_and_close_charge, perovskite-sim/tests/integration/test", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.interface_defect_ion_transient.run_interface_defect_ion_device_transient" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-29a84beaf4041cba/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + } + ], + "downstream_tasks": [ + "P04-08", + "P04-09", + "P04-10", + "P05-01", + "P05-04" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-experiment-29a84beaf4041cba" + }, + "scope_specific_prior_gaps": [ + { + "field": "numeric fixed thermal/physical voltage scale in V from the exact reference temperature or declared boundary parameters", + "needed_from": "experiment-29a84beaf4041cba exact original driver/reference observation packet; perovskite-sim/tests/integration/test_combined_dc_warm_start.py::test_accepted_legacy_warm_start_uses_one_attempt, perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_deep_time_refinement_retains_charge_and_all_face_current_closure, perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_missing_joint_physics_fails_before_integration, perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_slow_ion_limit_freezes_ions_without_freezing_interface_traps, perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1.py::test_physical_coupled_steps_keep_fixed_reference_and_close_charge, perovskite-sim/tests/integration/test", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.interface_defect_ion_transient.run_interface_defect_ion_device_transient", + "categories": [ + "source_configuration" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual reference CV weights/support and physical gauge/contact values; allowed mask", + "needed_from": "experiment-29a84beaf4041cba exact original driver/reference observation packet; perovskite-sim/tests/integration/test_combined_dc_warm_start.py::test_accepted_legacy_warm_start_uses_one_attempt, perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_deep_time_refinement_retains_charge_and_all_face_current_closure, perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_missing_joint_physics_fails_before_integration, perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_slow_ion_limit_freezes_ions_without_freezing_interface_traps, perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1.py::test_physical_coupled_steps_keep_fixed_reference_and_close_charge, perovskite-sim/tests/integration/test", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.interface_defect_ion_transient.run_interface_defect_ion_device_transient", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "independent source/grid/time/mapping error in V and its qualified reference identity", + "needed_from": "experiment-29a84beaf4041cba exact original driver/reference observation packet; perovskite-sim/tests/integration/test_combined_dc_warm_start.py::test_accepted_legacy_warm_start_uses_one_attempt, perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_deep_time_refinement_retains_charge_and_all_face_current_closure, perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_missing_joint_physics_fails_before_integration, perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_slow_ion_limit_freezes_ions_without_freezing_interface_traps, perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1.py::test_physical_coupled_steps_keep_fixed_reference_and_close_charge, perovskite-sim/tests/integration/test", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.interface_defect_ion_transient.run_interface_defect_ion_device_transient", + "categories": [ + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "per-species/per-connected-domain positive reference inventory numeric scale and unit (1 or m-2, according to actual CV measure)", + "needed_from": "experiment-29a84beaf4041cba exact original driver/reference observation packet; perovskite-sim/tests/integration/test_combined_dc_warm_start.py::test_accepted_legacy_warm_start_uses_one_attempt, perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_deep_time_refinement_retains_charge_and_all_face_current_closure, perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_missing_joint_physics_fails_before_integration, perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_slow_ion_limit_freezes_ions_without_freezing_interface_traps, perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1.py::test_physical_coupled_steps_keep_fixed_reference_and_close_charge, perovskite-sim/tests/integration/test", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.interface_defect_ion_transient.run_interface_defect_ion_device_transient", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "zero-species/zero-cell identity and numeric dimensional absolute gate from model absence or reference error evidence", + "needed_from": "experiment-29a84beaf4041cba exact original driver/reference observation packet; perovskite-sim/tests/integration/test_combined_dc_warm_start.py::test_accepted_legacy_warm_start_uses_one_attempt, perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_deep_time_refinement_retains_charge_and_all_face_current_closure, perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_missing_joint_physics_fails_before_integration, perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_slow_ion_limit_freezes_ions_without_freezing_interface_traps, perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1.py::test_physical_coupled_steps_keep_fixed_reference_and_close_charge, perovskite-sim/tests/integration/test", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.interface_defect_ion_transient.run_interface_defect_ion_device_transient", + "categories": [ + "source_configuration", + "tolerance_decision" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual volumes, component labels and independent log/inventory uncertainty", + "needed_from": "experiment-29a84beaf4041cba exact original driver/reference observation packet; perovskite-sim/tests/integration/test_combined_dc_warm_start.py::test_accepted_legacy_warm_start_uses_one_attempt, perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_deep_time_refinement_retains_charge_and_all_face_current_closure, perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_missing_joint_physics_fails_before_integration, perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_slow_ion_limit_freezes_ions_without_freezing_interface_traps, perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1.py::test_physical_coupled_steps_keep_fixed_reference_and_close_charge, perovskite-sim/tests/integration/test", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.interface_defect_ion_transient.run_interface_defect_ion_device_transient", + "categories": [ + "measurement_data", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "numeric reference current scale and absolute weak/zero current allowance, in the actual A or A m-2 output unit", + "needed_from": "experiment-29a84beaf4041cba exact original driver/reference observation packet; perovskite-sim/tests/integration/test_combined_dc_warm_start.py::test_accepted_legacy_warm_start_uses_one_attempt, perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_deep_time_refinement_retains_charge_and_all_face_current_closure, perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_missing_joint_physics_fails_before_integration, perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_slow_ion_limit_freezes_ions_without_freezing_interface_traps, perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1.py::test_physical_coupled_steps_keep_fixed_reference_and_close_charge, perovskite-sim/tests/integration/test", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.interface_defect_ion_transient.run_interface_defect_ion_device_transient", + "categories": [ + "source_configuration", + "tolerance_decision" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "each component/sign/port/support, observation times and both event sides", + "needed_from": "experiment-29a84beaf4041cba exact original driver/reference observation packet; perovskite-sim/tests/integration/test_combined_dc_warm_start.py::test_accepted_legacy_warm_start_uses_one_attempt, perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_deep_time_refinement_retains_charge_and_all_face_current_closure, perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_missing_joint_physics_fails_before_integration, perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_slow_ion_limit_freezes_ions_without_freezing_interface_traps, perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1.py::test_physical_coupled_steps_keep_fixed_reference_and_close_charge, perovskite-sim/tests/integration/test", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.interface_defect_ion_transient.run_interface_defect_ion_device_transient", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "pointwise current uncertainty and a pointwise comparison limit; integrated charge is not a substitute", + "needed_from": "experiment-29a84beaf4041cba exact original driver/reference observation packet; perovskite-sim/tests/integration/test_combined_dc_warm_start.py::test_accepted_legacy_warm_start_uses_one_attempt, perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_deep_time_refinement_retains_charge_and_all_face_current_closure, perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_missing_joint_physics_fails_before_integration, perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_slow_ion_limit_freezes_ions_without_freezing_interface_traps, perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1.py::test_physical_coupled_steps_keep_fixed_reference_and_close_charge, perovskite-sim/tests/integration/test", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.interface_defect_ion_transient.run_interface_defect_ion_device_transient", + "categories": [ + "tolerance_decision", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual complete state history, time coordinates, event sides and original integral/fit-window identity", + "needed_from": "experiment-29a84beaf4041cba exact original driver/reference observation packet; perovskite-sim/tests/integration/test_combined_dc_warm_start.py::test_accepted_legacy_warm_start_uses_one_attempt, perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_deep_time_refinement_retains_charge_and_all_face_current_closure, perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_missing_joint_physics_fails_before_integration, perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_slow_ion_limit_freezes_ions_without_freezing_interface_traps, perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1.py::test_physical_coupled_steps_keep_fixed_reference_and_close_charge, perovskite-sim/tests/integration/test", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.interface_defect_ion_transient.run_interface_defect_ion_device_transient", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "numeric separate waveform, integrated-charge and fit residual/derived-parameter scales/limits from the original channel", + "needed_from": "experiment-29a84beaf4041cba exact original driver/reference observation packet; perovskite-sim/tests/integration/test_combined_dc_warm_start.py::test_accepted_legacy_warm_start_uses_one_attempt, perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_deep_time_refinement_retains_charge_and_all_face_current_closure, perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_missing_joint_physics_fails_before_integration, perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_slow_ion_limit_freezes_ions_without_freezing_interface_traps, perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1.py::test_physical_coupled_steps_keep_fixed_reference_and_close_charge, perovskite-sim/tests/integration/test", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.interface_defect_ion_transient.run_interface_defect_ion_device_transient", + "categories": [ + "tolerance_decision" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "nonresetting interval/prefix uncertainty and accepted-history reference errors", + "needed_from": "experiment-29a84beaf4041cba exact original driver/reference observation packet; perovskite-sim/tests/integration/test_combined_dc_warm_start.py::test_accepted_legacy_warm_start_uses_one_attempt, perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_deep_time_refinement_retains_charge_and_all_face_current_closure, perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_missing_joint_physics_fails_before_integration, perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_slow_ion_limit_freezes_ions_without_freezing_interface_traps, perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1.py::test_physical_coupled_steps_keep_fixed_reference_and_close_charge, perovskite-sim/tests/integration/test", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.interface_defect_ion_transient.run_interface_defect_ion_device_transient", + "categories": [ + "measurement_data", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "source/target geometry and a verified conservative CV intersection/projection artifact or explicit1D cell averages", + "needed_from": "experiment-29a84beaf4041cba exact original driver/reference observation packet; perovskite-sim/tests/integration/test_combined_dc_warm_start.py::test_accepted_legacy_warm_start_uses_one_attempt, perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_deep_time_refinement_retains_charge_and_all_face_current_closure, perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_missing_joint_physics_fails_before_integration, perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_slow_ion_limit_freezes_ions_without_freezing_interface_traps, perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1.py::test_physical_coupled_steps_keep_fixed_reference_and_close_charge, perovskite-sim/tests/integration/test", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.interface_defect_ion_transient.run_interface_defect_ion_device_transient", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "fixed numeric integral/inventory/left-trace/right-trace scales and limits in their physical units", + "needed_from": "experiment-29a84beaf4041cba exact original driver/reference observation packet; perovskite-sim/tests/integration/test_combined_dc_warm_start.py::test_accepted_legacy_warm_start_uses_one_attempt, perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_deep_time_refinement_retains_charge_and_all_face_current_closure, perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_missing_joint_physics_fails_before_integration, perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_slow_ion_limit_freezes_ions_without_freezing_interface_traps, perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1.py::test_physical_coupled_steps_keep_fixed_reference_and_close_charge, perovskite-sim/tests/integration/test", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.interface_defect_ion_transient.run_interface_defect_ion_device_transient", + "categories": [ + "source_configuration", + "tolerance_decision" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "projection error, component topology and every interface-side identity", + "needed_from": "experiment-29a84beaf4041cba exact original driver/reference observation packet; perovskite-sim/tests/integration/test_combined_dc_warm_start.py::test_accepted_legacy_warm_start_uses_one_attempt, perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_deep_time_refinement_retains_charge_and_all_face_current_closure, perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_missing_joint_physics_fails_before_integration, perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_slow_ion_limit_freezes_ions_without_freezing_interface_traps, perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1.py::test_physical_coupled_steps_keep_fixed_reference_and_close_charge, perovskite-sim/tests/integration/test", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.interface_defect_ion_transient.run_interface_defect_ion_device_transient", + "categories": [ + "source_configuration", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual row and column physical units, support and fixed per-block/state/input scales", + "needed_from": "experiment-29a84beaf4041cba exact original driver/reference observation packet; perovskite-sim/tests/integration/test_combined_dc_warm_start.py::test_accepted_legacy_warm_start_uses_one_attempt, perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_deep_time_refinement_retains_charge_and_all_face_current_closure, perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_missing_joint_physics_fails_before_integration, perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_slow_ion_limit_freezes_ions_without_freezing_interface_traps, perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1.py::test_physical_coupled_steps_keep_fixed_reference_and_close_charge, perovskite-sim/tests/integration/test", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.interface_defect_ion_transient.run_interface_defect_ion_device_transient", + "categories": [ + "source_configuration" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "numeric independent derivative/action/weak-increment thresholds from the original applicable contract", + "needed_from": "experiment-29a84beaf4041cba exact original driver/reference observation packet; perovskite-sim/tests/integration/test_combined_dc_warm_start.py::test_accepted_legacy_warm_start_uses_one_attempt, perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_deep_time_refinement_retains_charge_and_all_face_current_closure, perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_missing_joint_physics_fails_before_integration, perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_slow_ion_limit_freezes_ions_without_freezing_interface_traps, perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1.py::test_physical_coupled_steps_keep_fixed_reference_and_close_charge, perovskite-sim/tests/integration/test", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.interface_defect_ion_transient.run_interface_defect_ion_device_transient", + "categories": [ + "tolerance_decision" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "full nonlocal/input chain, inactive/zero branch and independent reference/cancellation error", + "needed_from": "experiment-29a84beaf4041cba exact original driver/reference observation packet; perovskite-sim/tests/integration/test_combined_dc_warm_start.py::test_accepted_legacy_warm_start_uses_one_attempt, perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_deep_time_refinement_retains_charge_and_all_face_current_closure, perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_missing_joint_physics_fails_before_integration, perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_slow_ion_limit_freezes_ions_without_freezing_interface_traps, perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1.py::test_physical_coupled_steps_keep_fixed_reference_and_close_charge, perovskite-sim/tests/integration/test", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.interface_defect_ion_transient.run_interface_defect_ion_device_transient", + "categories": [ + "source_configuration", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-29a84beaf4041cba/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [], + "current_numeric_status": "prior_exact_scope_gaps_retained_and_classified" + } + }, + { + "id": "scope-experiment-5dad4016f96a21d7", + "capability_id": "experiment-5dad4016f96a21d7", + "route_id": "route-9b19d2ed844a6c53", + "origin_key": "experiment:perovskite_sim.experiments.interface_defect_transient.run_interface_defect_device_transient", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "physical_profiles_or_stored_state_history", + "current_observation_or_current_input", + "waveform_integral_history", + "CV_geometry_and_interface_sides", + "source_specific_operator_or_constitutive_action" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/interface_defect_transient.py", + "symbol": "run_interface_defect_device_transient" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_interface_defect_transient.py", + "symbol": "test_fast_capture_recovers_two_sided_quasi_steady_occupancy" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_interface_defect_transient.py", + "symbol": "test_overstrict_two_sided_current_gate_returns_partial_or_fails_closed" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_interface_defect_transient.py", + "symbol": "test_slow_capture_keeps_shared_occupancy_frozen_and_certified" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_interface_defect_transient.py", + "symbol": "test_unsupported_physics_fails_closed_before_transient" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_interface_defect_transient.py", + "symbol": "test_unverified_dark_reference_is_rejected_before_integration" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_interface_defect_transient.py", + "symbol": "test_real_two_sided_interface_transient_certifies_sparse_closure" + } + ], + "negative_only_descriptor_rule_ids": [ + "rule-247abaf0f3ab919b7064bbf5", + "rule-f0cfbfdfddbfe25de9528d80", + "rule-9bd41cae135bf4f0e223dcd5" + ], + "source_quantitative_assertion_ids_for_scope_audit": [ + "rule-a27ce95835b878e71572e4b6", + "rule-813a970eb7ea28e2037c53f7", + "rule-829c225473310c15c3c1bf64", + "rule-97f5281e4e354c86e71416fa", + "rule-1d49722c80aaa0e91907f3c0", + "rule-bbc5613ab93d654fe503065b", + "rule-22964454880e6e3ad7d494f9", + "rule-71428b51cb81795b9d11ac4e", + "rule-9bb607ddc63547cca3514f1c", + "rule-455ea4b04e1f4b7a1b6671b3" + ], + "rule_ids": [ + "M_payload", + "potential_packet", + "positive_density_log", + "density_inventory_packet", + "current_packet", + "transient_packet", + "projection_packet", + "operator_packet" + ], + "citations": [], + "remaining_inputs": [ + { + "field": "numeric fixed thermal/physical voltage scale in V from the exact reference temperature or declared boundary parameters", + "needed_from": "experiment-5dad4016f96a21d7 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_interface_defect_transient.py::test_fast_capture_recovers_two_sided_quasi_steady_occupancy, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_overstrict_two_sided_current_gate_returns_partial_or_fails_closed, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_slow_capture_keeps_shared_occupancy_frozen_and_certified, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_unsupported_physics_fails_closed_before_transient, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_unverified_dark_reference_is_rejected_before_integration, perovskite-sim/tests/integration/test_in", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.interface_defect_transient.run_interface_defect_device_transient" + }, + { + "field": "actual reference CV weights/support and physical gauge/contact values; allowed mask", + "needed_from": "experiment-5dad4016f96a21d7 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_interface_defect_transient.py::test_fast_capture_recovers_two_sided_quasi_steady_occupancy, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_overstrict_two_sided_current_gate_returns_partial_or_fails_closed, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_slow_capture_keeps_shared_occupancy_frozen_and_certified, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_unsupported_physics_fails_closed_before_transient, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_unverified_dark_reference_is_rejected_before_integration, perovskite-sim/tests/integration/test_in", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.interface_defect_transient.run_interface_defect_device_transient" + }, + { + "field": "independent source/grid/time/mapping error in V and its qualified reference identity", + "needed_from": "experiment-5dad4016f96a21d7 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_interface_defect_transient.py::test_fast_capture_recovers_two_sided_quasi_steady_occupancy, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_overstrict_two_sided_current_gate_returns_partial_or_fails_closed, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_slow_capture_keeps_shared_occupancy_frozen_and_certified, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_unsupported_physics_fails_closed_before_transient, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_unverified_dark_reference_is_rejected_before_integration, perovskite-sim/tests/integration/test_in", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.interface_defect_transient.run_interface_defect_device_transient" + }, + { + "field": "per-species/per-connected-domain positive reference inventory numeric scale and unit (1 or m-2, according to actual CV measure)", + "needed_from": "experiment-5dad4016f96a21d7 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_interface_defect_transient.py::test_fast_capture_recovers_two_sided_quasi_steady_occupancy, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_overstrict_two_sided_current_gate_returns_partial_or_fails_closed, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_slow_capture_keeps_shared_occupancy_frozen_and_certified, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_unsupported_physics_fails_closed_before_transient, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_unverified_dark_reference_is_rejected_before_integration, perovskite-sim/tests/integration/test_in", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.interface_defect_transient.run_interface_defect_device_transient" + }, + { + "field": "zero-species/zero-cell identity and numeric dimensional absolute gate from model absence or reference error evidence", + "needed_from": "experiment-5dad4016f96a21d7 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_interface_defect_transient.py::test_fast_capture_recovers_two_sided_quasi_steady_occupancy, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_overstrict_two_sided_current_gate_returns_partial_or_fails_closed, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_slow_capture_keeps_shared_occupancy_frozen_and_certified, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_unsupported_physics_fails_closed_before_transient, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_unverified_dark_reference_is_rejected_before_integration, perovskite-sim/tests/integration/test_in", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.interface_defect_transient.run_interface_defect_device_transient" + }, + { + "field": "actual volumes, component labels and independent log/inventory uncertainty", + "needed_from": "experiment-5dad4016f96a21d7 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_interface_defect_transient.py::test_fast_capture_recovers_two_sided_quasi_steady_occupancy, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_overstrict_two_sided_current_gate_returns_partial_or_fails_closed, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_slow_capture_keeps_shared_occupancy_frozen_and_certified, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_unsupported_physics_fails_closed_before_transient, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_unverified_dark_reference_is_rejected_before_integration, perovskite-sim/tests/integration/test_in", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.interface_defect_transient.run_interface_defect_device_transient" + }, + { + "field": "numeric reference current scale and absolute weak/zero current allowance, in the actual A or A m-2 output unit", + "needed_from": "experiment-5dad4016f96a21d7 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_interface_defect_transient.py::test_fast_capture_recovers_two_sided_quasi_steady_occupancy, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_overstrict_two_sided_current_gate_returns_partial_or_fails_closed, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_slow_capture_keeps_shared_occupancy_frozen_and_certified, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_unsupported_physics_fails_closed_before_transient, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_unverified_dark_reference_is_rejected_before_integration, perovskite-sim/tests/integration/test_in", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.interface_defect_transient.run_interface_defect_device_transient" + }, + { + "field": "each component/sign/port/support, observation times and both event sides", + "needed_from": "experiment-5dad4016f96a21d7 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_interface_defect_transient.py::test_fast_capture_recovers_two_sided_quasi_steady_occupancy, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_overstrict_two_sided_current_gate_returns_partial_or_fails_closed, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_slow_capture_keeps_shared_occupancy_frozen_and_certified, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_unsupported_physics_fails_closed_before_transient, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_unverified_dark_reference_is_rejected_before_integration, perovskite-sim/tests/integration/test_in", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.interface_defect_transient.run_interface_defect_device_transient" + }, + { + "field": "pointwise current uncertainty and a pointwise comparison limit; integrated charge is not a substitute", + "needed_from": "experiment-5dad4016f96a21d7 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_interface_defect_transient.py::test_fast_capture_recovers_two_sided_quasi_steady_occupancy, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_overstrict_two_sided_current_gate_returns_partial_or_fails_closed, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_slow_capture_keeps_shared_occupancy_frozen_and_certified, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_unsupported_physics_fails_closed_before_transient, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_unverified_dark_reference_is_rejected_before_integration, perovskite-sim/tests/integration/test_in", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.interface_defect_transient.run_interface_defect_device_transient" + }, + { + "field": "actual complete state history, time coordinates, event sides and original integral/fit-window identity", + "needed_from": "experiment-5dad4016f96a21d7 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_interface_defect_transient.py::test_fast_capture_recovers_two_sided_quasi_steady_occupancy, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_overstrict_two_sided_current_gate_returns_partial_or_fails_closed, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_slow_capture_keeps_shared_occupancy_frozen_and_certified, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_unsupported_physics_fails_closed_before_transient, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_unverified_dark_reference_is_rejected_before_integration, perovskite-sim/tests/integration/test_in", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.interface_defect_transient.run_interface_defect_device_transient" + }, + { + "field": "numeric separate waveform, integrated-charge and fit residual/derived-parameter scales/limits from the original channel", + "needed_from": "experiment-5dad4016f96a21d7 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_interface_defect_transient.py::test_fast_capture_recovers_two_sided_quasi_steady_occupancy, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_overstrict_two_sided_current_gate_returns_partial_or_fails_closed, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_slow_capture_keeps_shared_occupancy_frozen_and_certified, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_unsupported_physics_fails_closed_before_transient, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_unverified_dark_reference_is_rejected_before_integration, perovskite-sim/tests/integration/test_in", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.interface_defect_transient.run_interface_defect_device_transient" + }, + { + "field": "nonresetting interval/prefix uncertainty and accepted-history reference errors", + "needed_from": "experiment-5dad4016f96a21d7 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_interface_defect_transient.py::test_fast_capture_recovers_two_sided_quasi_steady_occupancy, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_overstrict_two_sided_current_gate_returns_partial_or_fails_closed, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_slow_capture_keeps_shared_occupancy_frozen_and_certified, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_unsupported_physics_fails_closed_before_transient, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_unverified_dark_reference_is_rejected_before_integration, perovskite-sim/tests/integration/test_in", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.interface_defect_transient.run_interface_defect_device_transient" + }, + { + "field": "source/target geometry and a verified conservative CV intersection/projection artifact or explicit1D cell averages", + "needed_from": "experiment-5dad4016f96a21d7 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_interface_defect_transient.py::test_fast_capture_recovers_two_sided_quasi_steady_occupancy, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_overstrict_two_sided_current_gate_returns_partial_or_fails_closed, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_slow_capture_keeps_shared_occupancy_frozen_and_certified, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_unsupported_physics_fails_closed_before_transient, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_unverified_dark_reference_is_rejected_before_integration, perovskite-sim/tests/integration/test_in", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.interface_defect_transient.run_interface_defect_device_transient" + }, + { + "field": "fixed numeric integral/inventory/left-trace/right-trace scales and limits in their physical units", + "needed_from": "experiment-5dad4016f96a21d7 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_interface_defect_transient.py::test_fast_capture_recovers_two_sided_quasi_steady_occupancy, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_overstrict_two_sided_current_gate_returns_partial_or_fails_closed, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_slow_capture_keeps_shared_occupancy_frozen_and_certified, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_unsupported_physics_fails_closed_before_transient, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_unverified_dark_reference_is_rejected_before_integration, perovskite-sim/tests/integration/test_in", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.interface_defect_transient.run_interface_defect_device_transient" + }, + { + "field": "projection error, component topology and every interface-side identity", + "needed_from": "experiment-5dad4016f96a21d7 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_interface_defect_transient.py::test_fast_capture_recovers_two_sided_quasi_steady_occupancy, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_overstrict_two_sided_current_gate_returns_partial_or_fails_closed, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_slow_capture_keeps_shared_occupancy_frozen_and_certified, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_unsupported_physics_fails_closed_before_transient, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_unverified_dark_reference_is_rejected_before_integration, perovskite-sim/tests/integration/test_in", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.interface_defect_transient.run_interface_defect_device_transient" + }, + { + "field": "actual row and column physical units, support and fixed per-block/state/input scales", + "needed_from": "experiment-5dad4016f96a21d7 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_interface_defect_transient.py::test_fast_capture_recovers_two_sided_quasi_steady_occupancy, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_overstrict_two_sided_current_gate_returns_partial_or_fails_closed, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_slow_capture_keeps_shared_occupancy_frozen_and_certified, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_unsupported_physics_fails_closed_before_transient, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_unverified_dark_reference_is_rejected_before_integration, perovskite-sim/tests/integration/test_in", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.interface_defect_transient.run_interface_defect_device_transient" + }, + { + "field": "numeric independent derivative/action/weak-increment thresholds from the original applicable contract", + "needed_from": "experiment-5dad4016f96a21d7 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_interface_defect_transient.py::test_fast_capture_recovers_two_sided_quasi_steady_occupancy, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_overstrict_two_sided_current_gate_returns_partial_or_fails_closed, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_slow_capture_keeps_shared_occupancy_frozen_and_certified, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_unsupported_physics_fails_closed_before_transient, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_unverified_dark_reference_is_rejected_before_integration, perovskite-sim/tests/integration/test_in", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.interface_defect_transient.run_interface_defect_device_transient" + }, + { + "field": "full nonlocal/input chain, inactive/zero branch and independent reference/cancellation error", + "needed_from": "experiment-5dad4016f96a21d7 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_interface_defect_transient.py::test_fast_capture_recovers_two_sided_quasi_steady_occupancy, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_overstrict_two_sided_current_gate_returns_partial_or_fails_closed, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_slow_capture_keeps_shared_occupancy_frozen_and_certified, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_unsupported_physics_fails_closed_before_transient, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_unverified_dark_reference_is_rejected_before_integration, perovskite-sim/tests/integration/test_in", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.interface_defect_transient.run_interface_defect_device_transient" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-5dad4016f96a21d7/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + } + ], + "downstream_tasks": [ + "P04-09", + "P04-10", + "P05-01", + "P05-04" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-experiment-5dad4016f96a21d7" + }, + "scope_specific_prior_gaps": [ + { + "field": "numeric fixed thermal/physical voltage scale in V from the exact reference temperature or declared boundary parameters", + "needed_from": "experiment-5dad4016f96a21d7 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_interface_defect_transient.py::test_fast_capture_recovers_two_sided_quasi_steady_occupancy, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_overstrict_two_sided_current_gate_returns_partial_or_fails_closed, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_slow_capture_keeps_shared_occupancy_frozen_and_certified, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_unsupported_physics_fails_closed_before_transient, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_unverified_dark_reference_is_rejected_before_integration, perovskite-sim/tests/integration/test_in", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.interface_defect_transient.run_interface_defect_device_transient", + "categories": [ + "source_configuration" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual reference CV weights/support and physical gauge/contact values; allowed mask", + "needed_from": "experiment-5dad4016f96a21d7 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_interface_defect_transient.py::test_fast_capture_recovers_two_sided_quasi_steady_occupancy, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_overstrict_two_sided_current_gate_returns_partial_or_fails_closed, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_slow_capture_keeps_shared_occupancy_frozen_and_certified, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_unsupported_physics_fails_closed_before_transient, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_unverified_dark_reference_is_rejected_before_integration, perovskite-sim/tests/integration/test_in", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.interface_defect_transient.run_interface_defect_device_transient", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "independent source/grid/time/mapping error in V and its qualified reference identity", + "needed_from": "experiment-5dad4016f96a21d7 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_interface_defect_transient.py::test_fast_capture_recovers_two_sided_quasi_steady_occupancy, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_overstrict_two_sided_current_gate_returns_partial_or_fails_closed, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_slow_capture_keeps_shared_occupancy_frozen_and_certified, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_unsupported_physics_fails_closed_before_transient, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_unverified_dark_reference_is_rejected_before_integration, perovskite-sim/tests/integration/test_in", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.interface_defect_transient.run_interface_defect_device_transient", + "categories": [ + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "per-species/per-connected-domain positive reference inventory numeric scale and unit (1 or m-2, according to actual CV measure)", + "needed_from": "experiment-5dad4016f96a21d7 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_interface_defect_transient.py::test_fast_capture_recovers_two_sided_quasi_steady_occupancy, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_overstrict_two_sided_current_gate_returns_partial_or_fails_closed, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_slow_capture_keeps_shared_occupancy_frozen_and_certified, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_unsupported_physics_fails_closed_before_transient, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_unverified_dark_reference_is_rejected_before_integration, perovskite-sim/tests/integration/test_in", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.interface_defect_transient.run_interface_defect_device_transient", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "zero-species/zero-cell identity and numeric dimensional absolute gate from model absence or reference error evidence", + "needed_from": "experiment-5dad4016f96a21d7 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_interface_defect_transient.py::test_fast_capture_recovers_two_sided_quasi_steady_occupancy, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_overstrict_two_sided_current_gate_returns_partial_or_fails_closed, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_slow_capture_keeps_shared_occupancy_frozen_and_certified, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_unsupported_physics_fails_closed_before_transient, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_unverified_dark_reference_is_rejected_before_integration, perovskite-sim/tests/integration/test_in", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.interface_defect_transient.run_interface_defect_device_transient", + "categories": [ + "source_configuration", + "tolerance_decision" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual volumes, component labels and independent log/inventory uncertainty", + "needed_from": "experiment-5dad4016f96a21d7 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_interface_defect_transient.py::test_fast_capture_recovers_two_sided_quasi_steady_occupancy, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_overstrict_two_sided_current_gate_returns_partial_or_fails_closed, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_slow_capture_keeps_shared_occupancy_frozen_and_certified, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_unsupported_physics_fails_closed_before_transient, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_unverified_dark_reference_is_rejected_before_integration, perovskite-sim/tests/integration/test_in", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.interface_defect_transient.run_interface_defect_device_transient", + "categories": [ + "measurement_data", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "numeric reference current scale and absolute weak/zero current allowance, in the actual A or A m-2 output unit", + "needed_from": "experiment-5dad4016f96a21d7 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_interface_defect_transient.py::test_fast_capture_recovers_two_sided_quasi_steady_occupancy, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_overstrict_two_sided_current_gate_returns_partial_or_fails_closed, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_slow_capture_keeps_shared_occupancy_frozen_and_certified, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_unsupported_physics_fails_closed_before_transient, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_unverified_dark_reference_is_rejected_before_integration, perovskite-sim/tests/integration/test_in", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.interface_defect_transient.run_interface_defect_device_transient", + "categories": [ + "source_configuration", + "tolerance_decision" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "each component/sign/port/support, observation times and both event sides", + "needed_from": "experiment-5dad4016f96a21d7 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_interface_defect_transient.py::test_fast_capture_recovers_two_sided_quasi_steady_occupancy, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_overstrict_two_sided_current_gate_returns_partial_or_fails_closed, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_slow_capture_keeps_shared_occupancy_frozen_and_certified, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_unsupported_physics_fails_closed_before_transient, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_unverified_dark_reference_is_rejected_before_integration, perovskite-sim/tests/integration/test_in", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.interface_defect_transient.run_interface_defect_device_transient", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "pointwise current uncertainty and a pointwise comparison limit; integrated charge is not a substitute", + "needed_from": "experiment-5dad4016f96a21d7 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_interface_defect_transient.py::test_fast_capture_recovers_two_sided_quasi_steady_occupancy, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_overstrict_two_sided_current_gate_returns_partial_or_fails_closed, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_slow_capture_keeps_shared_occupancy_frozen_and_certified, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_unsupported_physics_fails_closed_before_transient, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_unverified_dark_reference_is_rejected_before_integration, perovskite-sim/tests/integration/test_in", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.interface_defect_transient.run_interface_defect_device_transient", + "categories": [ + "tolerance_decision", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual complete state history, time coordinates, event sides and original integral/fit-window identity", + "needed_from": "experiment-5dad4016f96a21d7 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_interface_defect_transient.py::test_fast_capture_recovers_two_sided_quasi_steady_occupancy, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_overstrict_two_sided_current_gate_returns_partial_or_fails_closed, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_slow_capture_keeps_shared_occupancy_frozen_and_certified, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_unsupported_physics_fails_closed_before_transient, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_unverified_dark_reference_is_rejected_before_integration, perovskite-sim/tests/integration/test_in", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.interface_defect_transient.run_interface_defect_device_transient", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "numeric separate waveform, integrated-charge and fit residual/derived-parameter scales/limits from the original channel", + "needed_from": "experiment-5dad4016f96a21d7 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_interface_defect_transient.py::test_fast_capture_recovers_two_sided_quasi_steady_occupancy, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_overstrict_two_sided_current_gate_returns_partial_or_fails_closed, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_slow_capture_keeps_shared_occupancy_frozen_and_certified, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_unsupported_physics_fails_closed_before_transient, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_unverified_dark_reference_is_rejected_before_integration, perovskite-sim/tests/integration/test_in", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.interface_defect_transient.run_interface_defect_device_transient", + "categories": [ + "tolerance_decision" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "nonresetting interval/prefix uncertainty and accepted-history reference errors", + "needed_from": "experiment-5dad4016f96a21d7 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_interface_defect_transient.py::test_fast_capture_recovers_two_sided_quasi_steady_occupancy, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_overstrict_two_sided_current_gate_returns_partial_or_fails_closed, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_slow_capture_keeps_shared_occupancy_frozen_and_certified, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_unsupported_physics_fails_closed_before_transient, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_unverified_dark_reference_is_rejected_before_integration, perovskite-sim/tests/integration/test_in", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.interface_defect_transient.run_interface_defect_device_transient", + "categories": [ + "measurement_data", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "source/target geometry and a verified conservative CV intersection/projection artifact or explicit1D cell averages", + "needed_from": "experiment-5dad4016f96a21d7 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_interface_defect_transient.py::test_fast_capture_recovers_two_sided_quasi_steady_occupancy, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_overstrict_two_sided_current_gate_returns_partial_or_fails_closed, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_slow_capture_keeps_shared_occupancy_frozen_and_certified, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_unsupported_physics_fails_closed_before_transient, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_unverified_dark_reference_is_rejected_before_integration, perovskite-sim/tests/integration/test_in", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.interface_defect_transient.run_interface_defect_device_transient", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "fixed numeric integral/inventory/left-trace/right-trace scales and limits in their physical units", + "needed_from": "experiment-5dad4016f96a21d7 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_interface_defect_transient.py::test_fast_capture_recovers_two_sided_quasi_steady_occupancy, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_overstrict_two_sided_current_gate_returns_partial_or_fails_closed, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_slow_capture_keeps_shared_occupancy_frozen_and_certified, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_unsupported_physics_fails_closed_before_transient, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_unverified_dark_reference_is_rejected_before_integration, perovskite-sim/tests/integration/test_in", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.interface_defect_transient.run_interface_defect_device_transient", + "categories": [ + "source_configuration", + "tolerance_decision" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "projection error, component topology and every interface-side identity", + "needed_from": "experiment-5dad4016f96a21d7 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_interface_defect_transient.py::test_fast_capture_recovers_two_sided_quasi_steady_occupancy, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_overstrict_two_sided_current_gate_returns_partial_or_fails_closed, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_slow_capture_keeps_shared_occupancy_frozen_and_certified, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_unsupported_physics_fails_closed_before_transient, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_unverified_dark_reference_is_rejected_before_integration, perovskite-sim/tests/integration/test_in", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.interface_defect_transient.run_interface_defect_device_transient", + "categories": [ + "source_configuration", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual row and column physical units, support and fixed per-block/state/input scales", + "needed_from": "experiment-5dad4016f96a21d7 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_interface_defect_transient.py::test_fast_capture_recovers_two_sided_quasi_steady_occupancy, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_overstrict_two_sided_current_gate_returns_partial_or_fails_closed, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_slow_capture_keeps_shared_occupancy_frozen_and_certified, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_unsupported_physics_fails_closed_before_transient, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_unverified_dark_reference_is_rejected_before_integration, perovskite-sim/tests/integration/test_in", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.interface_defect_transient.run_interface_defect_device_transient", + "categories": [ + "source_configuration" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "numeric independent derivative/action/weak-increment thresholds from the original applicable contract", + "needed_from": "experiment-5dad4016f96a21d7 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_interface_defect_transient.py::test_fast_capture_recovers_two_sided_quasi_steady_occupancy, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_overstrict_two_sided_current_gate_returns_partial_or_fails_closed, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_slow_capture_keeps_shared_occupancy_frozen_and_certified, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_unsupported_physics_fails_closed_before_transient, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_unverified_dark_reference_is_rejected_before_integration, perovskite-sim/tests/integration/test_in", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.interface_defect_transient.run_interface_defect_device_transient", + "categories": [ + "tolerance_decision" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "full nonlocal/input chain, inactive/zero branch and independent reference/cancellation error", + "needed_from": "experiment-5dad4016f96a21d7 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_interface_defect_transient.py::test_fast_capture_recovers_two_sided_quasi_steady_occupancy, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_overstrict_two_sided_current_gate_returns_partial_or_fails_closed, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_slow_capture_keeps_shared_occupancy_frozen_and_certified, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_unsupported_physics_fails_closed_before_transient, perovskite-sim/tests/integration/test_interface_defect_transient.py::test_unverified_dark_reference_is_rejected_before_integration, perovskite-sim/tests/integration/test_in", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.interface_defect_transient.run_interface_defect_device_transient", + "categories": [ + "source_configuration", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-5dad4016f96a21d7/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [], + "current_numeric_status": "prior_exact_scope_gaps_retained_and_classified" + } + }, + { + "id": "scope-experiment-10d2cde17eaa6e01", + "capability_id": "experiment-10d2cde17eaa6e01", + "route_id": "route-2d70ff5a414a71bc", + "origin_key": "experiment:perovskite_sim.experiments.ion_aware_analytic_reaction.apply_analytic_bulk_reaction_linearization", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "source_specific_operator_or_constitutive_action" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/ion_aware_analytic_reaction.py", + "symbol": "apply_analytic_bulk_reaction_linearization" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py", + "symbol": "test_failed_comparison_gate_preserves_diagnostic_evidence" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py", + "symbol": "test_mismatched_hash_is_rejected_before_comparison" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py", + "symbol": "test_structured_protocol_binds_qss_environment_and_velocity" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_cross_node_interface_srh_closes_the_clamp_inactive_tangent" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_cross_node_qss_interface_srh_closes_projection_and_suppresses_mirror" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_dual_ion_structured_operator_covers_both_charge_signs" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_field_mobility_structured_operator_closes_ct_and_pf_chain_rule" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_local_qss_interface_srh_closes_the_implicit_root_tangent" + } + ], + "negative_only_descriptor_rule_ids": [ + "rule-93972c5b25cbae6d7e2c8968", + "rule-14b452c8220c937143d98fd3", + "rule-00f9296183c50f3043714d18", + "rule-7cd7e5a28cf9c6f97462ef42" + ], + "source_quantitative_assertion_ids_for_scope_audit": [ + "rule-88e850d6568af6ccb442d1ce", + "rule-00ca117058871b7d537191ae", + "rule-ff9e30a38179c9ba74ab4edc", + "rule-05c44f6fa978a3b3814ca37b", + "rule-3ba5ba921b875584688fffca", + "rule-9959d444de351c4b277c898b", + "rule-adb0eac4f9623093eac8750a", + "rule-ca61f7e51f7bbe55e8c548f4", + "rule-e80dcf245ae57c715dcefa75", + "rule-91588b86741b529e5cf07d58", + "rule-d0c50332143af5ae322f2e52", + "rule-4de11c6c622a677640c9dd37", + "rule-ef94fff49503485f6e060cf9", + "rule-7966b8abb7e8ac03daac35e8", + "rule-786e22e62995b8017242237e", + "rule-f7ffd96ad348a2ab6e2ff1cf", + "rule-88fdedb3e9e843ad2300263b" + ], + "rule_ids": [ + "M_payload", + "operator_packet" + ], + "citations": [], + "remaining_inputs": [ + { + "field": "actual row and column physical units, support and fixed per-block/state/input scales", + "needed_from": "experiment-10d2cde17eaa6e01 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_failed_comparison_gate_preserves_diagnostic_evidence, perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_mismatched_hash_is_rejected_before_comparison, perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_structured_protocol_binds_qss_environment_and_velocity, perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py::test_cross_node_interface_srh_closes_the_clamp_inactive_tangent, perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py::test_cross_node_qss_interface_srh_closes_projection_and_suppresses_mirror, perovskite-si", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.ion_aware_analytic_reaction.apply_analytic_bulk_reaction_linearization" + }, + { + "field": "numeric independent derivative/action/weak-increment thresholds from the original applicable contract", + "needed_from": "experiment-10d2cde17eaa6e01 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_failed_comparison_gate_preserves_diagnostic_evidence, perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_mismatched_hash_is_rejected_before_comparison, perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_structured_protocol_binds_qss_environment_and_velocity, perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py::test_cross_node_interface_srh_closes_the_clamp_inactive_tangent, perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py::test_cross_node_qss_interface_srh_closes_projection_and_suppresses_mirror, perovskite-si", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.ion_aware_analytic_reaction.apply_analytic_bulk_reaction_linearization" + }, + { + "field": "full nonlocal/input chain, inactive/zero branch and independent reference/cancellation error", + "needed_from": "experiment-10d2cde17eaa6e01 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_failed_comparison_gate_preserves_diagnostic_evidence, perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_mismatched_hash_is_rejected_before_comparison, perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_structured_protocol_binds_qss_environment_and_velocity, perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py::test_cross_node_interface_srh_closes_the_clamp_inactive_tangent, perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py::test_cross_node_qss_interface_srh_closes_projection_and_suppresses_mirror, perovskite-si", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.ion_aware_analytic_reaction.apply_analytic_bulk_reaction_linearization" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-10d2cde17eaa6e01/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + } + ], + "downstream_tasks": [ + "P04-06", + "P04-08", + "P05-01", + "P05-03" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-experiment-10d2cde17eaa6e01" + }, + "scope_specific_prior_gaps": [ + { + "field": "actual row and column physical units, support and fixed per-block/state/input scales", + "needed_from": "experiment-10d2cde17eaa6e01 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_failed_comparison_gate_preserves_diagnostic_evidence, perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_mismatched_hash_is_rejected_before_comparison, perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_structured_protocol_binds_qss_environment_and_velocity, perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py::test_cross_node_interface_srh_closes_the_clamp_inactive_tangent, perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py::test_cross_node_qss_interface_srh_closes_projection_and_suppresses_mirror, perovskite-si", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.ion_aware_analytic_reaction.apply_analytic_bulk_reaction_linearization", + "categories": [ + "source_configuration" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "numeric independent derivative/action/weak-increment thresholds from the original applicable contract", + "needed_from": "experiment-10d2cde17eaa6e01 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_failed_comparison_gate_preserves_diagnostic_evidence, perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_mismatched_hash_is_rejected_before_comparison, perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_structured_protocol_binds_qss_environment_and_velocity, perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py::test_cross_node_interface_srh_closes_the_clamp_inactive_tangent, perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py::test_cross_node_qss_interface_srh_closes_projection_and_suppresses_mirror, perovskite-si", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.ion_aware_analytic_reaction.apply_analytic_bulk_reaction_linearization", + "categories": [ + "tolerance_decision" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "full nonlocal/input chain, inactive/zero branch and independent reference/cancellation error", + "needed_from": "experiment-10d2cde17eaa6e01 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_failed_comparison_gate_preserves_diagnostic_evidence, perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_mismatched_hash_is_rejected_before_comparison, perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_structured_protocol_binds_qss_environment_and_velocity, perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py::test_cross_node_interface_srh_closes_the_clamp_inactive_tangent, perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py::test_cross_node_qss_interface_srh_closes_projection_and_suppresses_mirror, perovskite-si", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.ion_aware_analytic_reaction.apply_analytic_bulk_reaction_linearization", + "categories": [ + "source_configuration", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-10d2cde17eaa6e01/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [], + "current_numeric_status": "prior_exact_scope_gaps_retained_and_classified" + } + }, + { + "id": "scope-experiment-68757a97c60b3660", + "capability_id": "experiment-68757a97c60b3660", + "route_id": "route-2d70ff5a414a71bc", + "origin_key": "experiment:perovskite_sim.experiments.ion_aware_analytic_reaction.apply_analytic_contact_linearization", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "source_specific_operator_or_constitutive_action" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/ion_aware_analytic_reaction.py", + "symbol": "apply_analytic_contact_linearization" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py", + "symbol": "test_failed_comparison_gate_preserves_diagnostic_evidence" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py", + "symbol": "test_mismatched_hash_is_rejected_before_comparison" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py", + "symbol": "test_structured_protocol_binds_qss_environment_and_velocity" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_cross_node_interface_srh_closes_the_clamp_inactive_tangent" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_cross_node_qss_interface_srh_closes_projection_and_suppresses_mirror" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_dual_ion_structured_operator_covers_both_charge_signs" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_field_mobility_structured_operator_closes_ct_and_pf_chain_rule" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_local_qss_interface_srh_closes_the_implicit_root_tangent" + } + ], + "negative_only_descriptor_rule_ids": [ + "rule-93972c5b25cbae6d7e2c8968", + "rule-14b452c8220c937143d98fd3", + "rule-00f9296183c50f3043714d18", + "rule-7cd7e5a28cf9c6f97462ef42" + ], + "source_quantitative_assertion_ids_for_scope_audit": [ + "rule-88e850d6568af6ccb442d1ce", + "rule-00ca117058871b7d537191ae", + "rule-ff9e30a38179c9ba74ab4edc", + "rule-05c44f6fa978a3b3814ca37b", + "rule-3ba5ba921b875584688fffca", + "rule-9959d444de351c4b277c898b", + "rule-adb0eac4f9623093eac8750a", + "rule-ca61f7e51f7bbe55e8c548f4", + "rule-e80dcf245ae57c715dcefa75", + "rule-91588b86741b529e5cf07d58", + "rule-d0c50332143af5ae322f2e52", + "rule-4de11c6c622a677640c9dd37", + "rule-ef94fff49503485f6e060cf9", + "rule-7966b8abb7e8ac03daac35e8", + "rule-786e22e62995b8017242237e", + "rule-f7ffd96ad348a2ab6e2ff1cf", + "rule-88fdedb3e9e843ad2300263b" + ], + "rule_ids": [ + "M_payload", + "operator_packet" + ], + "citations": [], + "remaining_inputs": [ + { + "field": "actual row and column physical units, support and fixed per-block/state/input scales", + "needed_from": "experiment-68757a97c60b3660 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_failed_comparison_gate_preserves_diagnostic_evidence, perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_mismatched_hash_is_rejected_before_comparison, perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_structured_protocol_binds_qss_environment_and_velocity, perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py::test_cross_node_interface_srh_closes_the_clamp_inactive_tangent, perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py::test_cross_node_qss_interface_srh_closes_projection_and_suppresses_mirror, perovskite-si", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.ion_aware_analytic_reaction.apply_analytic_contact_linearization" + }, + { + "field": "numeric independent derivative/action/weak-increment thresholds from the original applicable contract", + "needed_from": "experiment-68757a97c60b3660 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_failed_comparison_gate_preserves_diagnostic_evidence, perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_mismatched_hash_is_rejected_before_comparison, perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_structured_protocol_binds_qss_environment_and_velocity, perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py::test_cross_node_interface_srh_closes_the_clamp_inactive_tangent, perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py::test_cross_node_qss_interface_srh_closes_projection_and_suppresses_mirror, perovskite-si", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.ion_aware_analytic_reaction.apply_analytic_contact_linearization" + }, + { + "field": "full nonlocal/input chain, inactive/zero branch and independent reference/cancellation error", + "needed_from": "experiment-68757a97c60b3660 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_failed_comparison_gate_preserves_diagnostic_evidence, perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_mismatched_hash_is_rejected_before_comparison, perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_structured_protocol_binds_qss_environment_and_velocity, perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py::test_cross_node_interface_srh_closes_the_clamp_inactive_tangent, perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py::test_cross_node_qss_interface_srh_closes_projection_and_suppresses_mirror, perovskite-si", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.ion_aware_analytic_reaction.apply_analytic_contact_linearization" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-68757a97c60b3660/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + } + ], + "downstream_tasks": [ + "P04-06", + "P04-08", + "P05-01", + "P05-03" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-experiment-68757a97c60b3660" + }, + "scope_specific_prior_gaps": [ + { + "field": "actual row and column physical units, support and fixed per-block/state/input scales", + "needed_from": "experiment-68757a97c60b3660 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_failed_comparison_gate_preserves_diagnostic_evidence, perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_mismatched_hash_is_rejected_before_comparison, perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_structured_protocol_binds_qss_environment_and_velocity, perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py::test_cross_node_interface_srh_closes_the_clamp_inactive_tangent, perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py::test_cross_node_qss_interface_srh_closes_projection_and_suppresses_mirror, perovskite-si", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.ion_aware_analytic_reaction.apply_analytic_contact_linearization", + "categories": [ + "source_configuration" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "numeric independent derivative/action/weak-increment thresholds from the original applicable contract", + "needed_from": "experiment-68757a97c60b3660 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_failed_comparison_gate_preserves_diagnostic_evidence, perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_mismatched_hash_is_rejected_before_comparison, perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_structured_protocol_binds_qss_environment_and_velocity, perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py::test_cross_node_interface_srh_closes_the_clamp_inactive_tangent, perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py::test_cross_node_qss_interface_srh_closes_projection_and_suppresses_mirror, perovskite-si", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.ion_aware_analytic_reaction.apply_analytic_contact_linearization", + "categories": [ + "tolerance_decision" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "full nonlocal/input chain, inactive/zero branch and independent reference/cancellation error", + "needed_from": "experiment-68757a97c60b3660 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_failed_comparison_gate_preserves_diagnostic_evidence, perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_mismatched_hash_is_rejected_before_comparison, perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_structured_protocol_binds_qss_environment_and_velocity, perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py::test_cross_node_interface_srh_closes_the_clamp_inactive_tangent, perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py::test_cross_node_qss_interface_srh_closes_projection_and_suppresses_mirror, perovskite-si", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.ion_aware_analytic_reaction.apply_analytic_contact_linearization", + "categories": [ + "source_configuration", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-68757a97c60b3660/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [], + "current_numeric_status": "prior_exact_scope_gaps_retained_and_classified" + } + }, + { + "id": "scope-experiment-ce4180bc09955f54", + "capability_id": "experiment-ce4180bc09955f54", + "route_id": "route-2d70ff5a414a71bc", + "origin_key": "experiment:perovskite_sim.experiments.ion_aware_analytic_reaction.apply_analytic_interface_reaction_linearization", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "CV_geometry_and_interface_sides", + "source_specific_operator_or_constitutive_action" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/ion_aware_analytic_reaction.py", + "symbol": "apply_analytic_interface_reaction_linearization" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py", + "symbol": "test_failed_comparison_gate_preserves_diagnostic_evidence" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py", + "symbol": "test_mismatched_hash_is_rejected_before_comparison" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py", + "symbol": "test_structured_protocol_binds_qss_environment_and_velocity" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_cross_node_interface_srh_closes_the_clamp_inactive_tangent" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_cross_node_qss_interface_srh_closes_projection_and_suppresses_mirror" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_dual_ion_structured_operator_covers_both_charge_signs" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_field_mobility_structured_operator_closes_ct_and_pf_chain_rule" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_local_qss_interface_srh_closes_the_implicit_root_tangent" + } + ], + "negative_only_descriptor_rule_ids": [ + "rule-93972c5b25cbae6d7e2c8968", + "rule-14b452c8220c937143d98fd3", + "rule-00f9296183c50f3043714d18", + "rule-7cd7e5a28cf9c6f97462ef42" + ], + "source_quantitative_assertion_ids_for_scope_audit": [ + "rule-88e850d6568af6ccb442d1ce", + "rule-00ca117058871b7d537191ae", + "rule-ff9e30a38179c9ba74ab4edc", + "rule-05c44f6fa978a3b3814ca37b", + "rule-3ba5ba921b875584688fffca", + "rule-9959d444de351c4b277c898b", + "rule-adb0eac4f9623093eac8750a", + "rule-ca61f7e51f7bbe55e8c548f4", + "rule-e80dcf245ae57c715dcefa75", + "rule-91588b86741b529e5cf07d58", + "rule-d0c50332143af5ae322f2e52", + "rule-4de11c6c622a677640c9dd37", + "rule-ef94fff49503485f6e060cf9", + "rule-7966b8abb7e8ac03daac35e8", + "rule-786e22e62995b8017242237e", + "rule-f7ffd96ad348a2ab6e2ff1cf", + "rule-88fdedb3e9e843ad2300263b" + ], + "rule_ids": [ + "M_payload", + "projection_packet", + "operator_packet" + ], + "citations": [], + "remaining_inputs": [ + { + "field": "source/target geometry and a verified conservative CV intersection/projection artifact or explicit1D cell averages", + "needed_from": "experiment-ce4180bc09955f54 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_failed_comparison_gate_preserves_diagnostic_evidence, perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_mismatched_hash_is_rejected_before_comparison, perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_structured_protocol_binds_qss_environment_and_velocity, perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py::test_cross_node_interface_srh_closes_the_clamp_inactive_tangent, perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py::test_cross_node_qss_interface_srh_closes_projection_and_suppresses_mirror, perovskite-si", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.ion_aware_analytic_reaction.apply_analytic_interface_reaction_linearization" + }, + { + "field": "fixed numeric integral/inventory/left-trace/right-trace scales and limits in their physical units", + "needed_from": "experiment-ce4180bc09955f54 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_failed_comparison_gate_preserves_diagnostic_evidence, perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_mismatched_hash_is_rejected_before_comparison, perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_structured_protocol_binds_qss_environment_and_velocity, perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py::test_cross_node_interface_srh_closes_the_clamp_inactive_tangent, perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py::test_cross_node_qss_interface_srh_closes_projection_and_suppresses_mirror, perovskite-si", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.ion_aware_analytic_reaction.apply_analytic_interface_reaction_linearization" + }, + { + "field": "projection error, component topology and every interface-side identity", + "needed_from": "experiment-ce4180bc09955f54 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_failed_comparison_gate_preserves_diagnostic_evidence, perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_mismatched_hash_is_rejected_before_comparison, perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_structured_protocol_binds_qss_environment_and_velocity, perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py::test_cross_node_interface_srh_closes_the_clamp_inactive_tangent, perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py::test_cross_node_qss_interface_srh_closes_projection_and_suppresses_mirror, perovskite-si", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.ion_aware_analytic_reaction.apply_analytic_interface_reaction_linearization" + }, + { + "field": "actual row and column physical units, support and fixed per-block/state/input scales", + "needed_from": "experiment-ce4180bc09955f54 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_failed_comparison_gate_preserves_diagnostic_evidence, perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_mismatched_hash_is_rejected_before_comparison, perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_structured_protocol_binds_qss_environment_and_velocity, perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py::test_cross_node_interface_srh_closes_the_clamp_inactive_tangent, perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py::test_cross_node_qss_interface_srh_closes_projection_and_suppresses_mirror, perovskite-si", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.ion_aware_analytic_reaction.apply_analytic_interface_reaction_linearization" + }, + { + "field": "numeric independent derivative/action/weak-increment thresholds from the original applicable contract", + "needed_from": "experiment-ce4180bc09955f54 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_failed_comparison_gate_preserves_diagnostic_evidence, perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_mismatched_hash_is_rejected_before_comparison, perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_structured_protocol_binds_qss_environment_and_velocity, perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py::test_cross_node_interface_srh_closes_the_clamp_inactive_tangent, perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py::test_cross_node_qss_interface_srh_closes_projection_and_suppresses_mirror, perovskite-si", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.ion_aware_analytic_reaction.apply_analytic_interface_reaction_linearization" + }, + { + "field": "full nonlocal/input chain, inactive/zero branch and independent reference/cancellation error", + "needed_from": "experiment-ce4180bc09955f54 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_failed_comparison_gate_preserves_diagnostic_evidence, perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_mismatched_hash_is_rejected_before_comparison, perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_structured_protocol_binds_qss_environment_and_velocity, perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py::test_cross_node_interface_srh_closes_the_clamp_inactive_tangent, perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py::test_cross_node_qss_interface_srh_closes_projection_and_suppresses_mirror, perovskite-si", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.ion_aware_analytic_reaction.apply_analytic_interface_reaction_linearization" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-ce4180bc09955f54/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + } + ], + "downstream_tasks": [ + "P04-06", + "P04-08", + "P05-01", + "P05-03" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-experiment-ce4180bc09955f54" + }, + "scope_specific_prior_gaps": [ + { + "field": "source/target geometry and a verified conservative CV intersection/projection artifact or explicit1D cell averages", + "needed_from": "experiment-ce4180bc09955f54 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_failed_comparison_gate_preserves_diagnostic_evidence, perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_mismatched_hash_is_rejected_before_comparison, perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_structured_protocol_binds_qss_environment_and_velocity, perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py::test_cross_node_interface_srh_closes_the_clamp_inactive_tangent, perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py::test_cross_node_qss_interface_srh_closes_projection_and_suppresses_mirror, perovskite-si", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.ion_aware_analytic_reaction.apply_analytic_interface_reaction_linearization", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "fixed numeric integral/inventory/left-trace/right-trace scales and limits in their physical units", + "needed_from": "experiment-ce4180bc09955f54 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_failed_comparison_gate_preserves_diagnostic_evidence, perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_mismatched_hash_is_rejected_before_comparison, perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_structured_protocol_binds_qss_environment_and_velocity, perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py::test_cross_node_interface_srh_closes_the_clamp_inactive_tangent, perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py::test_cross_node_qss_interface_srh_closes_projection_and_suppresses_mirror, perovskite-si", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.ion_aware_analytic_reaction.apply_analytic_interface_reaction_linearization", + "categories": [ + "source_configuration", + "tolerance_decision" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "projection error, component topology and every interface-side identity", + "needed_from": "experiment-ce4180bc09955f54 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_failed_comparison_gate_preserves_diagnostic_evidence, perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_mismatched_hash_is_rejected_before_comparison, perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_structured_protocol_binds_qss_environment_and_velocity, perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py::test_cross_node_interface_srh_closes_the_clamp_inactive_tangent, perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py::test_cross_node_qss_interface_srh_closes_projection_and_suppresses_mirror, perovskite-si", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.ion_aware_analytic_reaction.apply_analytic_interface_reaction_linearization", + "categories": [ + "source_configuration", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual row and column physical units, support and fixed per-block/state/input scales", + "needed_from": "experiment-ce4180bc09955f54 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_failed_comparison_gate_preserves_diagnostic_evidence, perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_mismatched_hash_is_rejected_before_comparison, perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_structured_protocol_binds_qss_environment_and_velocity, perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py::test_cross_node_interface_srh_closes_the_clamp_inactive_tangent, perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py::test_cross_node_qss_interface_srh_closes_projection_and_suppresses_mirror, perovskite-si", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.ion_aware_analytic_reaction.apply_analytic_interface_reaction_linearization", + "categories": [ + "source_configuration" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "numeric independent derivative/action/weak-increment thresholds from the original applicable contract", + "needed_from": "experiment-ce4180bc09955f54 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_failed_comparison_gate_preserves_diagnostic_evidence, perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_mismatched_hash_is_rejected_before_comparison, perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_structured_protocol_binds_qss_environment_and_velocity, perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py::test_cross_node_interface_srh_closes_the_clamp_inactive_tangent, perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py::test_cross_node_qss_interface_srh_closes_projection_and_suppresses_mirror, perovskite-si", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.ion_aware_analytic_reaction.apply_analytic_interface_reaction_linearization", + "categories": [ + "tolerance_decision" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "full nonlocal/input chain, inactive/zero branch and independent reference/cancellation error", + "needed_from": "experiment-ce4180bc09955f54 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_failed_comparison_gate_preserves_diagnostic_evidence, perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_mismatched_hash_is_rejected_before_comparison, perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_structured_protocol_binds_qss_environment_and_velocity, perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py::test_cross_node_interface_srh_closes_the_clamp_inactive_tangent, perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py::test_cross_node_qss_interface_srh_closes_projection_and_suppresses_mirror, perovskite-si", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.ion_aware_analytic_reaction.apply_analytic_interface_reaction_linearization", + "categories": [ + "source_configuration", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-ce4180bc09955f54/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [], + "current_numeric_status": "prior_exact_scope_gaps_retained_and_classified" + } + }, + { + "id": "scope-experiment-00db5ef5f7a28a1c", + "capability_id": "experiment-00db5ef5f7a28a1c", + "route_id": "route-0b685a0a6f8ded75", + "origin_key": "experiment:perovskite_sim.experiments.ion_aware_analytic_transport.apply_analytic_transport_linearization", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "source_specific_operator_or_constitutive_action" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/ion_aware_analytic_transport.py", + "symbol": "apply_analytic_transport_linearization" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py", + "symbol": "test_failed_comparison_gate_preserves_diagnostic_evidence" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py", + "symbol": "test_mismatched_hash_is_rejected_before_comparison" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py", + "symbol": "test_structured_protocol_binds_qss_environment_and_velocity" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_cross_node_interface_srh_closes_the_clamp_inactive_tangent" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_cross_node_qss_interface_srh_closes_projection_and_suppresses_mirror" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_dual_ion_structured_operator_covers_both_charge_signs" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_field_mobility_structured_operator_closes_ct_and_pf_chain_rule" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_local_qss_interface_srh_closes_the_implicit_root_tangent" + } + ], + "negative_only_descriptor_rule_ids": [ + "rule-93972c5b25cbae6d7e2c8968", + "rule-14b452c8220c937143d98fd3", + "rule-00f9296183c50f3043714d18", + "rule-7cd7e5a28cf9c6f97462ef42" + ], + "source_quantitative_assertion_ids_for_scope_audit": [ + "rule-88e850d6568af6ccb442d1ce", + "rule-00ca117058871b7d537191ae", + "rule-ff9e30a38179c9ba74ab4edc", + "rule-05c44f6fa978a3b3814ca37b", + "rule-3ba5ba921b875584688fffca", + "rule-9959d444de351c4b277c898b", + "rule-adb0eac4f9623093eac8750a", + "rule-ca61f7e51f7bbe55e8c548f4", + "rule-e80dcf245ae57c715dcefa75", + "rule-91588b86741b529e5cf07d58", + "rule-d0c50332143af5ae322f2e52", + "rule-4de11c6c622a677640c9dd37", + "rule-ef94fff49503485f6e060cf9", + "rule-7966b8abb7e8ac03daac35e8", + "rule-786e22e62995b8017242237e", + "rule-f7ffd96ad348a2ab6e2ff1cf", + "rule-88fdedb3e9e843ad2300263b" + ], + "rule_ids": [ + "M_payload", + "operator_packet" + ], + "citations": [], + "remaining_inputs": [ + { + "field": "actual row and column physical units, support and fixed per-block/state/input scales", + "needed_from": "experiment-00db5ef5f7a28a1c exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_failed_comparison_gate_preserves_diagnostic_evidence, perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_mismatched_hash_is_rejected_before_comparison, perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_structured_protocol_binds_qss_environment_and_velocity, perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py::test_cross_node_interface_srh_closes_the_clamp_inactive_tangent, perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py::test_cross_node_qss_interface_srh_closes_projection_and_suppresses_mirror, perovskite-si", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.ion_aware_analytic_transport.apply_analytic_transport_linearization" + }, + { + "field": "numeric independent derivative/action/weak-increment thresholds from the original applicable contract", + "needed_from": "experiment-00db5ef5f7a28a1c exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_failed_comparison_gate_preserves_diagnostic_evidence, perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_mismatched_hash_is_rejected_before_comparison, perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_structured_protocol_binds_qss_environment_and_velocity, perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py::test_cross_node_interface_srh_closes_the_clamp_inactive_tangent, perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py::test_cross_node_qss_interface_srh_closes_projection_and_suppresses_mirror, perovskite-si", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.ion_aware_analytic_transport.apply_analytic_transport_linearization" + }, + { + "field": "full nonlocal/input chain, inactive/zero branch and independent reference/cancellation error", + "needed_from": "experiment-00db5ef5f7a28a1c exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_failed_comparison_gate_preserves_diagnostic_evidence, perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_mismatched_hash_is_rejected_before_comparison, perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_structured_protocol_binds_qss_environment_and_velocity, perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py::test_cross_node_interface_srh_closes_the_clamp_inactive_tangent, perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py::test_cross_node_qss_interface_srh_closes_projection_and_suppresses_mirror, perovskite-si", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.ion_aware_analytic_transport.apply_analytic_transport_linearization" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-00db5ef5f7a28a1c/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + } + ], + "downstream_tasks": [ + "P04-06", + "P04-08", + "P05-01", + "P05-03" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-experiment-00db5ef5f7a28a1c" + }, + "scope_specific_prior_gaps": [ + { + "field": "actual row and column physical units, support and fixed per-block/state/input scales", + "needed_from": "experiment-00db5ef5f7a28a1c exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_failed_comparison_gate_preserves_diagnostic_evidence, perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_mismatched_hash_is_rejected_before_comparison, perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_structured_protocol_binds_qss_environment_and_velocity, perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py::test_cross_node_interface_srh_closes_the_clamp_inactive_tangent, perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py::test_cross_node_qss_interface_srh_closes_projection_and_suppresses_mirror, perovskite-si", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.ion_aware_analytic_transport.apply_analytic_transport_linearization", + "categories": [ + "source_configuration" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "numeric independent derivative/action/weak-increment thresholds from the original applicable contract", + "needed_from": "experiment-00db5ef5f7a28a1c exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_failed_comparison_gate_preserves_diagnostic_evidence, perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_mismatched_hash_is_rejected_before_comparison, perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_structured_protocol_binds_qss_environment_and_velocity, perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py::test_cross_node_interface_srh_closes_the_clamp_inactive_tangent, perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py::test_cross_node_qss_interface_srh_closes_projection_and_suppresses_mirror, perovskite-si", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.ion_aware_analytic_transport.apply_analytic_transport_linearization", + "categories": [ + "tolerance_decision" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "full nonlocal/input chain, inactive/zero branch and independent reference/cancellation error", + "needed_from": "experiment-00db5ef5f7a28a1c exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_failed_comparison_gate_preserves_diagnostic_evidence, perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_mismatched_hash_is_rejected_before_comparison, perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_structured_protocol_binds_qss_environment_and_velocity, perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py::test_cross_node_interface_srh_closes_the_clamp_inactive_tangent, perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py::test_cross_node_qss_interface_srh_closes_projection_and_suppresses_mirror, perovskite-si", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.ion_aware_analytic_transport.apply_analytic_transport_linearization", + "categories": [ + "source_configuration", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-00db5ef5f7a28a1c/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [], + "current_numeric_status": "prior_exact_scope_gaps_retained_and_classified" + } + }, + { + "id": "scope-experiment-d2c61896a1893f64", + "capability_id": "experiment-d2c61896a1893f64", + "route_id": "route-540527431655d5fb", + "origin_key": "experiment:perovskite_sim.experiments.ion_aware_dc.solve_ion_aware_dc", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "physical_profiles_or_stored_state_history" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/ion_aware_dc.py", + "symbol": "solve_ion_aware_dc" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_dc.py", + "symbol": "test_ionmonger_fixed_bias_reaches_two_residual_certified_endpoints" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_impedance.py", + "symbol": "test_ionmonger_certified_dc_drives_reference_frequency_operator" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_impedance.py", + "symbol": "test_symmetric_dual_ion_state_keeps_both_blocking_inventory_constraints" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_impedance_lockin.py", + "symbol": "test_exact_dc_transient_lockin_matches_frequency_domain_ionic_points" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_dc.py", + "symbol": "test_contact_gate_remains_separate_from_numerical_closure" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_dc.py", + "symbol": "test_solver_counts_only_consecutive_state_and_diagnostic_passes" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_dc.py", + "symbol": "test_solver_exhaustion_returns_evidence_on_error" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_dc.py", + "symbol": "test_solver_method_exhaustion_retains_attempt_evidence" + } + ], + "negative_only_descriptor_rule_ids": [ + "rule-1924191be5950b62541101fd", + "rule-20ec19c4ea5bb30ff582fa78", + "rule-c1ee8a889400af779619dda0" + ], + "source_quantitative_assertion_ids_for_scope_audit": [ + "rule-3fdea22ce4b38641fb466aa4", + "rule-5a85462776fb37fb16c746c1", + "rule-7223d4530b302ad1c838bc67", + "rule-bc2cb77eff2ea9f80b400f35", + "rule-71383ba78d0e2ebafeee354e", + "rule-d4b3e9d5d3df8490e377448e", + "rule-57d438faa072698200e48fe9", + "rule-91e650ed6a373de830b83fbe", + "rule-e4083e8dce586cc1d8105383", + "rule-cbf12a453a500d06dc014575", + "rule-f91e20df80f1f0e8445fd58f", + "rule-ffc3064037551e1aea19671f", + "rule-fd238b10b9e20eb2dc613838", + "rule-474a559975705b55312f1e0a", + "rule-49236dd662bad1ea7b815011", + "rule-5d47f637835536594a40c586", + "rule-88a792081ab93188e79e7bfe", + "rule-6e38d9ab5b84a26132feaae9", + "rule-482a478cc7e6cc3665a0a3b0" + ], + "rule_ids": [ + "M_payload", + "potential_packet", + "positive_density_log", + "density_inventory_packet" + ], + "citations": [], + "remaining_inputs": [ + { + "field": "numeric fixed thermal/physical voltage scale in V from the exact reference temperature or declared boundary parameters", + "needed_from": "experiment-d2c61896a1893f64 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_ion_aware_dc.py::test_ionmonger_fixed_bias_reaches_two_residual_certified_endpoints, perovskite-sim/tests/integration/test_ion_aware_impedance.py::test_ionmonger_certified_dc_drives_reference_frequency_operator, perovskite-sim/tests/integration/test_ion_aware_impedance.py::test_symmetric_dual_ion_state_keeps_both_blocking_inventory_constraints, perovskite-sim/tests/integration/test_ion_aware_impedance_lockin.py::test_exact_dc_transient_lockin_matches_frequency_domain_ionic_points, perovskite-sim/tests/unit/experiments/test_ion_aware_dc.py::test_contact_gate_remains_separate_from_numerical_closure, perovskite-sim/tests/unit/experiments/test_ion_aware_dc.p", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.ion_aware_dc.solve_ion_aware_dc" + }, + { + "field": "actual reference CV weights/support and physical gauge/contact values; allowed mask", + "needed_from": "experiment-d2c61896a1893f64 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_ion_aware_dc.py::test_ionmonger_fixed_bias_reaches_two_residual_certified_endpoints, perovskite-sim/tests/integration/test_ion_aware_impedance.py::test_ionmonger_certified_dc_drives_reference_frequency_operator, perovskite-sim/tests/integration/test_ion_aware_impedance.py::test_symmetric_dual_ion_state_keeps_both_blocking_inventory_constraints, perovskite-sim/tests/integration/test_ion_aware_impedance_lockin.py::test_exact_dc_transient_lockin_matches_frequency_domain_ionic_points, perovskite-sim/tests/unit/experiments/test_ion_aware_dc.py::test_contact_gate_remains_separate_from_numerical_closure, perovskite-sim/tests/unit/experiments/test_ion_aware_dc.p", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.ion_aware_dc.solve_ion_aware_dc" + }, + { + "field": "independent source/grid/time/mapping error in V and its qualified reference identity", + "needed_from": "experiment-d2c61896a1893f64 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_ion_aware_dc.py::test_ionmonger_fixed_bias_reaches_two_residual_certified_endpoints, perovskite-sim/tests/integration/test_ion_aware_impedance.py::test_ionmonger_certified_dc_drives_reference_frequency_operator, perovskite-sim/tests/integration/test_ion_aware_impedance.py::test_symmetric_dual_ion_state_keeps_both_blocking_inventory_constraints, perovskite-sim/tests/integration/test_ion_aware_impedance_lockin.py::test_exact_dc_transient_lockin_matches_frequency_domain_ionic_points, perovskite-sim/tests/unit/experiments/test_ion_aware_dc.py::test_contact_gate_remains_separate_from_numerical_closure, perovskite-sim/tests/unit/experiments/test_ion_aware_dc.p", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.ion_aware_dc.solve_ion_aware_dc" + }, + { + "field": "per-species/per-connected-domain positive reference inventory numeric scale and unit (1 or m-2, according to actual CV measure)", + "needed_from": "experiment-d2c61896a1893f64 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_ion_aware_dc.py::test_ionmonger_fixed_bias_reaches_two_residual_certified_endpoints, perovskite-sim/tests/integration/test_ion_aware_impedance.py::test_ionmonger_certified_dc_drives_reference_frequency_operator, perovskite-sim/tests/integration/test_ion_aware_impedance.py::test_symmetric_dual_ion_state_keeps_both_blocking_inventory_constraints, perovskite-sim/tests/integration/test_ion_aware_impedance_lockin.py::test_exact_dc_transient_lockin_matches_frequency_domain_ionic_points, perovskite-sim/tests/unit/experiments/test_ion_aware_dc.py::test_contact_gate_remains_separate_from_numerical_closure, perovskite-sim/tests/unit/experiments/test_ion_aware_dc.p", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.ion_aware_dc.solve_ion_aware_dc" + }, + { + "field": "zero-species/zero-cell identity and numeric dimensional absolute gate from model absence or reference error evidence", + "needed_from": "experiment-d2c61896a1893f64 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_ion_aware_dc.py::test_ionmonger_fixed_bias_reaches_two_residual_certified_endpoints, perovskite-sim/tests/integration/test_ion_aware_impedance.py::test_ionmonger_certified_dc_drives_reference_frequency_operator, perovskite-sim/tests/integration/test_ion_aware_impedance.py::test_symmetric_dual_ion_state_keeps_both_blocking_inventory_constraints, perovskite-sim/tests/integration/test_ion_aware_impedance_lockin.py::test_exact_dc_transient_lockin_matches_frequency_domain_ionic_points, perovskite-sim/tests/unit/experiments/test_ion_aware_dc.py::test_contact_gate_remains_separate_from_numerical_closure, perovskite-sim/tests/unit/experiments/test_ion_aware_dc.p", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.ion_aware_dc.solve_ion_aware_dc" + }, + { + "field": "actual volumes, component labels and independent log/inventory uncertainty", + "needed_from": "experiment-d2c61896a1893f64 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_ion_aware_dc.py::test_ionmonger_fixed_bias_reaches_two_residual_certified_endpoints, perovskite-sim/tests/integration/test_ion_aware_impedance.py::test_ionmonger_certified_dc_drives_reference_frequency_operator, perovskite-sim/tests/integration/test_ion_aware_impedance.py::test_symmetric_dual_ion_state_keeps_both_blocking_inventory_constraints, perovskite-sim/tests/integration/test_ion_aware_impedance_lockin.py::test_exact_dc_transient_lockin_matches_frequency_domain_ionic_points, perovskite-sim/tests/unit/experiments/test_ion_aware_dc.py::test_contact_gate_remains_separate_from_numerical_closure, perovskite-sim/tests/unit/experiments/test_ion_aware_dc.p", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.ion_aware_dc.solve_ion_aware_dc" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-d2c61896a1893f64/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + } + ], + "downstream_tasks": [ + "P04-04", + "P04-08", + "P05-01", + "P05-03" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-experiment-d2c61896a1893f64" + }, + "scope_specific_prior_gaps": [ + { + "field": "numeric fixed thermal/physical voltage scale in V from the exact reference temperature or declared boundary parameters", + "needed_from": "experiment-d2c61896a1893f64 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_ion_aware_dc.py::test_ionmonger_fixed_bias_reaches_two_residual_certified_endpoints, perovskite-sim/tests/integration/test_ion_aware_impedance.py::test_ionmonger_certified_dc_drives_reference_frequency_operator, perovskite-sim/tests/integration/test_ion_aware_impedance.py::test_symmetric_dual_ion_state_keeps_both_blocking_inventory_constraints, perovskite-sim/tests/integration/test_ion_aware_impedance_lockin.py::test_exact_dc_transient_lockin_matches_frequency_domain_ionic_points, perovskite-sim/tests/unit/experiments/test_ion_aware_dc.py::test_contact_gate_remains_separate_from_numerical_closure, perovskite-sim/tests/unit/experiments/test_ion_aware_dc.p", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.ion_aware_dc.solve_ion_aware_dc", + "categories": [ + "source_configuration" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual reference CV weights/support and physical gauge/contact values; allowed mask", + "needed_from": "experiment-d2c61896a1893f64 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_ion_aware_dc.py::test_ionmonger_fixed_bias_reaches_two_residual_certified_endpoints, perovskite-sim/tests/integration/test_ion_aware_impedance.py::test_ionmonger_certified_dc_drives_reference_frequency_operator, perovskite-sim/tests/integration/test_ion_aware_impedance.py::test_symmetric_dual_ion_state_keeps_both_blocking_inventory_constraints, perovskite-sim/tests/integration/test_ion_aware_impedance_lockin.py::test_exact_dc_transient_lockin_matches_frequency_domain_ionic_points, perovskite-sim/tests/unit/experiments/test_ion_aware_dc.py::test_contact_gate_remains_separate_from_numerical_closure, perovskite-sim/tests/unit/experiments/test_ion_aware_dc.p", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.ion_aware_dc.solve_ion_aware_dc", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "independent source/grid/time/mapping error in V and its qualified reference identity", + "needed_from": "experiment-d2c61896a1893f64 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_ion_aware_dc.py::test_ionmonger_fixed_bias_reaches_two_residual_certified_endpoints, perovskite-sim/tests/integration/test_ion_aware_impedance.py::test_ionmonger_certified_dc_drives_reference_frequency_operator, perovskite-sim/tests/integration/test_ion_aware_impedance.py::test_symmetric_dual_ion_state_keeps_both_blocking_inventory_constraints, perovskite-sim/tests/integration/test_ion_aware_impedance_lockin.py::test_exact_dc_transient_lockin_matches_frequency_domain_ionic_points, perovskite-sim/tests/unit/experiments/test_ion_aware_dc.py::test_contact_gate_remains_separate_from_numerical_closure, perovskite-sim/tests/unit/experiments/test_ion_aware_dc.p", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.ion_aware_dc.solve_ion_aware_dc", + "categories": [ + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "per-species/per-connected-domain positive reference inventory numeric scale and unit (1 or m-2, according to actual CV measure)", + "needed_from": "experiment-d2c61896a1893f64 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_ion_aware_dc.py::test_ionmonger_fixed_bias_reaches_two_residual_certified_endpoints, perovskite-sim/tests/integration/test_ion_aware_impedance.py::test_ionmonger_certified_dc_drives_reference_frequency_operator, perovskite-sim/tests/integration/test_ion_aware_impedance.py::test_symmetric_dual_ion_state_keeps_both_blocking_inventory_constraints, perovskite-sim/tests/integration/test_ion_aware_impedance_lockin.py::test_exact_dc_transient_lockin_matches_frequency_domain_ionic_points, perovskite-sim/tests/unit/experiments/test_ion_aware_dc.py::test_contact_gate_remains_separate_from_numerical_closure, perovskite-sim/tests/unit/experiments/test_ion_aware_dc.p", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.ion_aware_dc.solve_ion_aware_dc", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "zero-species/zero-cell identity and numeric dimensional absolute gate from model absence or reference error evidence", + "needed_from": "experiment-d2c61896a1893f64 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_ion_aware_dc.py::test_ionmonger_fixed_bias_reaches_two_residual_certified_endpoints, perovskite-sim/tests/integration/test_ion_aware_impedance.py::test_ionmonger_certified_dc_drives_reference_frequency_operator, perovskite-sim/tests/integration/test_ion_aware_impedance.py::test_symmetric_dual_ion_state_keeps_both_blocking_inventory_constraints, perovskite-sim/tests/integration/test_ion_aware_impedance_lockin.py::test_exact_dc_transient_lockin_matches_frequency_domain_ionic_points, perovskite-sim/tests/unit/experiments/test_ion_aware_dc.py::test_contact_gate_remains_separate_from_numerical_closure, perovskite-sim/tests/unit/experiments/test_ion_aware_dc.p", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.ion_aware_dc.solve_ion_aware_dc", + "categories": [ + "source_configuration", + "tolerance_decision" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual volumes, component labels and independent log/inventory uncertainty", + "needed_from": "experiment-d2c61896a1893f64 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_ion_aware_dc.py::test_ionmonger_fixed_bias_reaches_two_residual_certified_endpoints, perovskite-sim/tests/integration/test_ion_aware_impedance.py::test_ionmonger_certified_dc_drives_reference_frequency_operator, perovskite-sim/tests/integration/test_ion_aware_impedance.py::test_symmetric_dual_ion_state_keeps_both_blocking_inventory_constraints, perovskite-sim/tests/integration/test_ion_aware_impedance_lockin.py::test_exact_dc_transient_lockin_matches_frequency_domain_ionic_points, perovskite-sim/tests/unit/experiments/test_ion_aware_dc.py::test_contact_gate_remains_separate_from_numerical_closure, perovskite-sim/tests/unit/experiments/test_ion_aware_dc.p", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.ion_aware_dc.solve_ion_aware_dc", + "categories": [ + "measurement_data", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-d2c61896a1893f64/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [], + "current_numeric_status": "prior_exact_scope_gaps_retained_and_classified" + } + }, + { + "id": "scope-experiment-3820972478a89255", + "capability_id": "experiment-3820972478a89255", + "route_id": "route-66a78cb7e2ee8eba", + "origin_key": "experiment:perovskite_sim.experiments.ion_aware_impedance.run_ion_aware_impedance", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "current_observation_or_current_input", + "complex_frequency_response" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/ion_aware_impedance.py", + "symbol": "run_ion_aware_impedance" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_impedance.py", + "symbol": "test_ionmonger_certified_dc_drives_reference_frequency_operator" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_impedance.py", + "symbol": "test_symmetric_dual_ion_state_keeps_both_blocking_inventory_constraints" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_impedance_lockin.py", + "symbol": "test_exact_dc_transient_lockin_matches_frequency_domain_ionic_points" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_impedance.py", + "symbol": "test_dense_full_timescale_window_is_separately_certified" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_impedance.py", + "symbol": "test_frequency_window_strict_gate_retains_diagnostic_result" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_impedance.py", + "symbol": "test_reference_lane_keeps_contact_thermodynamics_as_a_strict_axis" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_impedance.py", + "symbol": "test_reference_lane_rejects_a_different_device_stack" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_impedance.py", + "symbol": "test_reference_lane_rejects_declared_uncertified_dc_state" + } + ], + "negative_only_descriptor_rule_ids": [ + "rule-3937fae855dcba152c449223", + "rule-8012cf7021bc8fa8724ca215", + "rule-fdb150ed0a8cb7f0fbb32e62", + "rule-419893ff9f61f8fe9e8c7cbe" + ], + "source_quantitative_assertion_ids_for_scope_audit": [ + "rule-e4083e8dce586cc1d8105383", + "rule-cbf12a453a500d06dc014575", + "rule-f91e20df80f1f0e8445fd58f", + "rule-ffc3064037551e1aea19671f", + "rule-fd238b10b9e20eb2dc613838", + "rule-474a559975705b55312f1e0a", + "rule-49236dd662bad1ea7b815011", + "rule-31155356579cd933a7819a2c" + ], + "rule_ids": [ + "M_payload", + "current_packet", + "complex_packet" + ], + "citations": [], + "remaining_inputs": [ + { + "field": "numeric reference current scale and absolute weak/zero current allowance, in the actual A or A m-2 output unit", + "needed_from": "experiment-3820972478a89255 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_ion_aware_impedance.py::test_ionmonger_certified_dc_drives_reference_frequency_operator, perovskite-sim/tests/integration/test_ion_aware_impedance.py::test_symmetric_dual_ion_state_keeps_both_blocking_inventory_constraints, perovskite-sim/tests/integration/test_ion_aware_impedance_lockin.py::test_exact_dc_transient_lockin_matches_frequency_domain_ionic_points, perovskite-sim/tests/unit/experiments/test_ion_aware_impedance.py::test_dense_full_timescale_window_is_separately_certified, perovskite-sim/tests/unit/experiments/test_ion_aware_impedance.py::test_frequency_window_strict_gate_retains_diagnostic_result, perovskite-sim/tests/unit/experiments/test_ion", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.ion_aware_impedance.run_ion_aware_impedance" + }, + { + "field": "each component/sign/port/support, observation times and both event sides", + "needed_from": "experiment-3820972478a89255 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_ion_aware_impedance.py::test_ionmonger_certified_dc_drives_reference_frequency_operator, perovskite-sim/tests/integration/test_ion_aware_impedance.py::test_symmetric_dual_ion_state_keeps_both_blocking_inventory_constraints, perovskite-sim/tests/integration/test_ion_aware_impedance_lockin.py::test_exact_dc_transient_lockin_matches_frequency_domain_ionic_points, perovskite-sim/tests/unit/experiments/test_ion_aware_impedance.py::test_dense_full_timescale_window_is_separately_certified, perovskite-sim/tests/unit/experiments/test_ion_aware_impedance.py::test_frequency_window_strict_gate_retains_diagnostic_result, perovskite-sim/tests/unit/experiments/test_ion", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.ion_aware_impedance.run_ion_aware_impedance" + }, + { + "field": "pointwise current uncertainty and a pointwise comparison limit; integrated charge is not a substitute", + "needed_from": "experiment-3820972478a89255 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_ion_aware_impedance.py::test_ionmonger_certified_dc_drives_reference_frequency_operator, perovskite-sim/tests/integration/test_ion_aware_impedance.py::test_symmetric_dual_ion_state_keeps_both_blocking_inventory_constraints, perovskite-sim/tests/integration/test_ion_aware_impedance_lockin.py::test_exact_dc_transient_lockin_matches_frequency_domain_ionic_points, perovskite-sim/tests/unit/experiments/test_ion_aware_impedance.py::test_dense_full_timescale_window_is_separately_certified, perovskite-sim/tests/unit/experiments/test_ion_aware_impedance.py::test_frequency_window_strict_gate_retains_diagnostic_result, perovskite-sim/tests/unit/experiments/test_ion", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.ion_aware_impedance.run_ion_aware_impedance" + }, + { + "field": "fixed numeric reference scales and real/imaginary/complex absolute bounds in S m-2 or ohm m2 as actually emitted", + "needed_from": "experiment-3820972478a89255 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_ion_aware_impedance.py::test_ionmonger_certified_dc_drives_reference_frequency_operator, perovskite-sim/tests/integration/test_ion_aware_impedance.py::test_symmetric_dual_ion_state_keeps_both_blocking_inventory_constraints, perovskite-sim/tests/integration/test_ion_aware_impedance_lockin.py::test_exact_dc_transient_lockin_matches_frequency_domain_ionic_points, perovskite-sim/tests/unit/experiments/test_ion_aware_impedance.py::test_dense_full_timescale_window_is_separately_certified, perovskite-sim/tests/unit/experiments/test_ion_aware_impedance.py::test_frequency_window_strict_gate_retains_diagnostic_result, perovskite-sim/tests/unit/experiments/test_ion", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.ion_aware_impedance.run_ion_aware_impedance" + }, + { + "field": "numeric absolute phase limit in radians and per-driver/frequency resolvability floor with independent uncertainty/physical-resolution evidence", + "needed_from": "experiment-3820972478a89255 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_ion_aware_impedance.py::test_ionmonger_certified_dc_drives_reference_frequency_operator, perovskite-sim/tests/integration/test_ion_aware_impedance.py::test_symmetric_dual_ion_state_keeps_both_blocking_inventory_constraints, perovskite-sim/tests/integration/test_ion_aware_impedance_lockin.py::test_exact_dc_transient_lockin_matches_frequency_domain_ionic_points, perovskite-sim/tests/unit/experiments/test_ion_aware_impedance.py::test_dense_full_timescale_window_is_separately_certified, perovskite-sim/tests/unit/experiments/test_ion_aware_impedance.py::test_frequency_window_strict_gate_retains_diagnostic_result, perovskite-sim/tests/unit/experiments/test_ion", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.ion_aware_impedance.run_ion_aware_impedance" + }, + { + "field": "explicit exact-zero frequencies, coordinate identity and independent component/phase errors", + "needed_from": "experiment-3820972478a89255 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_ion_aware_impedance.py::test_ionmonger_certified_dc_drives_reference_frequency_operator, perovskite-sim/tests/integration/test_ion_aware_impedance.py::test_symmetric_dual_ion_state_keeps_both_blocking_inventory_constraints, perovskite-sim/tests/integration/test_ion_aware_impedance_lockin.py::test_exact_dc_transient_lockin_matches_frequency_domain_ionic_points, perovskite-sim/tests/unit/experiments/test_ion_aware_impedance.py::test_dense_full_timescale_window_is_separately_certified, perovskite-sim/tests/unit/experiments/test_ion_aware_impedance.py::test_frequency_window_strict_gate_retains_diagnostic_result, perovskite-sim/tests/unit/experiments/test_ion", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.ion_aware_impedance.run_ion_aware_impedance" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-3820972478a89255/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + } + ], + "downstream_tasks": [ + "P04-06", + "P04-08", + "P05-01", + "P05-03" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-experiment-3820972478a89255" + }, + "scope_specific_prior_gaps": [ + { + "field": "numeric reference current scale and absolute weak/zero current allowance, in the actual A or A m-2 output unit", + "needed_from": "experiment-3820972478a89255 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_ion_aware_impedance.py::test_ionmonger_certified_dc_drives_reference_frequency_operator, perovskite-sim/tests/integration/test_ion_aware_impedance.py::test_symmetric_dual_ion_state_keeps_both_blocking_inventory_constraints, perovskite-sim/tests/integration/test_ion_aware_impedance_lockin.py::test_exact_dc_transient_lockin_matches_frequency_domain_ionic_points, perovskite-sim/tests/unit/experiments/test_ion_aware_impedance.py::test_dense_full_timescale_window_is_separately_certified, perovskite-sim/tests/unit/experiments/test_ion_aware_impedance.py::test_frequency_window_strict_gate_retains_diagnostic_result, perovskite-sim/tests/unit/experiments/test_ion", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.ion_aware_impedance.run_ion_aware_impedance", + "categories": [ + "source_configuration", + "tolerance_decision" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "each component/sign/port/support, observation times and both event sides", + "needed_from": "experiment-3820972478a89255 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_ion_aware_impedance.py::test_ionmonger_certified_dc_drives_reference_frequency_operator, perovskite-sim/tests/integration/test_ion_aware_impedance.py::test_symmetric_dual_ion_state_keeps_both_blocking_inventory_constraints, perovskite-sim/tests/integration/test_ion_aware_impedance_lockin.py::test_exact_dc_transient_lockin_matches_frequency_domain_ionic_points, perovskite-sim/tests/unit/experiments/test_ion_aware_impedance.py::test_dense_full_timescale_window_is_separately_certified, perovskite-sim/tests/unit/experiments/test_ion_aware_impedance.py::test_frequency_window_strict_gate_retains_diagnostic_result, perovskite-sim/tests/unit/experiments/test_ion", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.ion_aware_impedance.run_ion_aware_impedance", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "pointwise current uncertainty and a pointwise comparison limit; integrated charge is not a substitute", + "needed_from": "experiment-3820972478a89255 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_ion_aware_impedance.py::test_ionmonger_certified_dc_drives_reference_frequency_operator, perovskite-sim/tests/integration/test_ion_aware_impedance.py::test_symmetric_dual_ion_state_keeps_both_blocking_inventory_constraints, perovskite-sim/tests/integration/test_ion_aware_impedance_lockin.py::test_exact_dc_transient_lockin_matches_frequency_domain_ionic_points, perovskite-sim/tests/unit/experiments/test_ion_aware_impedance.py::test_dense_full_timescale_window_is_separately_certified, perovskite-sim/tests/unit/experiments/test_ion_aware_impedance.py::test_frequency_window_strict_gate_retains_diagnostic_result, perovskite-sim/tests/unit/experiments/test_ion", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.ion_aware_impedance.run_ion_aware_impedance", + "categories": [ + "tolerance_decision", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "fixed numeric reference scales and real/imaginary/complex absolute bounds in S m-2 or ohm m2 as actually emitted", + "needed_from": "experiment-3820972478a89255 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_ion_aware_impedance.py::test_ionmonger_certified_dc_drives_reference_frequency_operator, perovskite-sim/tests/integration/test_ion_aware_impedance.py::test_symmetric_dual_ion_state_keeps_both_blocking_inventory_constraints, perovskite-sim/tests/integration/test_ion_aware_impedance_lockin.py::test_exact_dc_transient_lockin_matches_frequency_domain_ionic_points, perovskite-sim/tests/unit/experiments/test_ion_aware_impedance.py::test_dense_full_timescale_window_is_separately_certified, perovskite-sim/tests/unit/experiments/test_ion_aware_impedance.py::test_frequency_window_strict_gate_retains_diagnostic_result, perovskite-sim/tests/unit/experiments/test_ion", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.ion_aware_impedance.run_ion_aware_impedance", + "categories": [ + "source_configuration", + "tolerance_decision" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "numeric absolute phase limit in radians and per-driver/frequency resolvability floor with independent uncertainty/physical-resolution evidence", + "needed_from": "experiment-3820972478a89255 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_ion_aware_impedance.py::test_ionmonger_certified_dc_drives_reference_frequency_operator, perovskite-sim/tests/integration/test_ion_aware_impedance.py::test_symmetric_dual_ion_state_keeps_both_blocking_inventory_constraints, perovskite-sim/tests/integration/test_ion_aware_impedance_lockin.py::test_exact_dc_transient_lockin_matches_frequency_domain_ionic_points, perovskite-sim/tests/unit/experiments/test_ion_aware_impedance.py::test_dense_full_timescale_window_is_separately_certified, perovskite-sim/tests/unit/experiments/test_ion_aware_impedance.py::test_frequency_window_strict_gate_retains_diagnostic_result, perovskite-sim/tests/unit/experiments/test_ion", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.ion_aware_impedance.run_ion_aware_impedance", + "categories": [ + "tolerance_decision", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "explicit exact-zero frequencies, coordinate identity and independent component/phase errors", + "needed_from": "experiment-3820972478a89255 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_ion_aware_impedance.py::test_ionmonger_certified_dc_drives_reference_frequency_operator, perovskite-sim/tests/integration/test_ion_aware_impedance.py::test_symmetric_dual_ion_state_keeps_both_blocking_inventory_constraints, perovskite-sim/tests/integration/test_ion_aware_impedance_lockin.py::test_exact_dc_transient_lockin_matches_frequency_domain_ionic_points, perovskite-sim/tests/unit/experiments/test_ion_aware_impedance.py::test_dense_full_timescale_window_is_separately_certified, perovskite-sim/tests/unit/experiments/test_ion_aware_impedance.py::test_frequency_window_strict_gate_retains_diagnostic_result, perovskite-sim/tests/unit/experiments/test_ion", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.ion_aware_impedance.run_ion_aware_impedance", + "categories": [ + "measurement_data", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-3820972478a89255/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [], + "current_numeric_status": "prior_exact_scope_gaps_retained_and_classified" + } + }, + { + "id": "scope-experiment-330be0d05e1b31a9", + "capability_id": "experiment-330be0d05e1b31a9", + "route_id": "route-3ca1dfa513a1e322", + "origin_key": "experiment:perovskite_sim.experiments.ion_aware_impedance_grid.run_ion_aware_impedance_grid_ladder", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "current_observation_or_current_input", + "complex_frequency_response", + "CV_geometry_and_interface_sides" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/ion_aware_impedance_grid.py", + "symbol": "run_ion_aware_impedance_grid_ladder" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_impedance_grid.py", + "symbol": "test_grid_ladder_rejects_coordinate_replacement_before_ac_execution" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_impedance_grid.py", + "symbol": "test_grid_ladder_rejects_state_or_stack_replacement_before_ac_execution" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_impedance_grid.py", + "symbol": "test_resolved_ionmonger_grid_ladder_passes_each_frequency" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_impedance_grid.py", + "symbol": "test_same_results_fail_a_tighter_preregistered_grid_gate" + } + ], + "negative_only_descriptor_rule_ids": [ + "rule-f750720865e5fa8188db61f4", + "rule-ab55471b1bbdd99f5133162e", + "rule-8247f423fa57812cabc7c732" + ], + "source_quantitative_assertion_ids_for_scope_audit": [ + "rule-46d0e4bf459b1f5471b98a4e", + "rule-587b28a96af9f90760df38f3" + ], + "rule_ids": [ + "M_payload", + "current_packet", + "complex_packet", + "projection_packet" + ], + "citations": [], + "remaining_inputs": [ + { + "field": "numeric reference current scale and absolute weak/zero current allowance, in the actual A or A m-2 output unit", + "needed_from": "experiment-330be0d05e1b31a9 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_ion_aware_impedance_grid.py::test_grid_ladder_rejects_coordinate_replacement_before_ac_execution, perovskite-sim/tests/integration/test_ion_aware_impedance_grid.py::test_grid_ladder_rejects_state_or_stack_replacement_before_ac_execution, perovskite-sim/tests/integration/test_ion_aware_impedance_grid.py::test_resolved_ionmonger_grid_ladder_passes_each_frequency, perovskite-sim/tests/integration/test_ion_aware_impedance_grid.py::test_same_results_fail_a_tighter_preregistered_grid_gate", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.ion_aware_impedance_grid.run_ion_aware_impedance_grid_ladder" + }, + { + "field": "each component/sign/port/support, observation times and both event sides", + "needed_from": "experiment-330be0d05e1b31a9 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_ion_aware_impedance_grid.py::test_grid_ladder_rejects_coordinate_replacement_before_ac_execution, perovskite-sim/tests/integration/test_ion_aware_impedance_grid.py::test_grid_ladder_rejects_state_or_stack_replacement_before_ac_execution, perovskite-sim/tests/integration/test_ion_aware_impedance_grid.py::test_resolved_ionmonger_grid_ladder_passes_each_frequency, perovskite-sim/tests/integration/test_ion_aware_impedance_grid.py::test_same_results_fail_a_tighter_preregistered_grid_gate", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.ion_aware_impedance_grid.run_ion_aware_impedance_grid_ladder" + }, + { + "field": "pointwise current uncertainty and a pointwise comparison limit; integrated charge is not a substitute", + "needed_from": "experiment-330be0d05e1b31a9 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_ion_aware_impedance_grid.py::test_grid_ladder_rejects_coordinate_replacement_before_ac_execution, perovskite-sim/tests/integration/test_ion_aware_impedance_grid.py::test_grid_ladder_rejects_state_or_stack_replacement_before_ac_execution, perovskite-sim/tests/integration/test_ion_aware_impedance_grid.py::test_resolved_ionmonger_grid_ladder_passes_each_frequency, perovskite-sim/tests/integration/test_ion_aware_impedance_grid.py::test_same_results_fail_a_tighter_preregistered_grid_gate", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.ion_aware_impedance_grid.run_ion_aware_impedance_grid_ladder" + }, + { + "field": "fixed numeric reference scales and real/imaginary/complex absolute bounds in S m-2 or ohm m2 as actually emitted", + "needed_from": "experiment-330be0d05e1b31a9 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_ion_aware_impedance_grid.py::test_grid_ladder_rejects_coordinate_replacement_before_ac_execution, perovskite-sim/tests/integration/test_ion_aware_impedance_grid.py::test_grid_ladder_rejects_state_or_stack_replacement_before_ac_execution, perovskite-sim/tests/integration/test_ion_aware_impedance_grid.py::test_resolved_ionmonger_grid_ladder_passes_each_frequency, perovskite-sim/tests/integration/test_ion_aware_impedance_grid.py::test_same_results_fail_a_tighter_preregistered_grid_gate", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.ion_aware_impedance_grid.run_ion_aware_impedance_grid_ladder" + }, + { + "field": "numeric absolute phase limit in radians and per-driver/frequency resolvability floor with independent uncertainty/physical-resolution evidence", + "needed_from": "experiment-330be0d05e1b31a9 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_ion_aware_impedance_grid.py::test_grid_ladder_rejects_coordinate_replacement_before_ac_execution, perovskite-sim/tests/integration/test_ion_aware_impedance_grid.py::test_grid_ladder_rejects_state_or_stack_replacement_before_ac_execution, perovskite-sim/tests/integration/test_ion_aware_impedance_grid.py::test_resolved_ionmonger_grid_ladder_passes_each_frequency, perovskite-sim/tests/integration/test_ion_aware_impedance_grid.py::test_same_results_fail_a_tighter_preregistered_grid_gate", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.ion_aware_impedance_grid.run_ion_aware_impedance_grid_ladder" + }, + { + "field": "explicit exact-zero frequencies, coordinate identity and independent component/phase errors", + "needed_from": "experiment-330be0d05e1b31a9 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_ion_aware_impedance_grid.py::test_grid_ladder_rejects_coordinate_replacement_before_ac_execution, perovskite-sim/tests/integration/test_ion_aware_impedance_grid.py::test_grid_ladder_rejects_state_or_stack_replacement_before_ac_execution, perovskite-sim/tests/integration/test_ion_aware_impedance_grid.py::test_resolved_ionmonger_grid_ladder_passes_each_frequency, perovskite-sim/tests/integration/test_ion_aware_impedance_grid.py::test_same_results_fail_a_tighter_preregistered_grid_gate", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.ion_aware_impedance_grid.run_ion_aware_impedance_grid_ladder" + }, + { + "field": "source/target geometry and a verified conservative CV intersection/projection artifact or explicit1D cell averages", + "needed_from": "experiment-330be0d05e1b31a9 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_ion_aware_impedance_grid.py::test_grid_ladder_rejects_coordinate_replacement_before_ac_execution, perovskite-sim/tests/integration/test_ion_aware_impedance_grid.py::test_grid_ladder_rejects_state_or_stack_replacement_before_ac_execution, perovskite-sim/tests/integration/test_ion_aware_impedance_grid.py::test_resolved_ionmonger_grid_ladder_passes_each_frequency, perovskite-sim/tests/integration/test_ion_aware_impedance_grid.py::test_same_results_fail_a_tighter_preregistered_grid_gate", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.ion_aware_impedance_grid.run_ion_aware_impedance_grid_ladder" + }, + { + "field": "fixed numeric integral/inventory/left-trace/right-trace scales and limits in their physical units", + "needed_from": "experiment-330be0d05e1b31a9 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_ion_aware_impedance_grid.py::test_grid_ladder_rejects_coordinate_replacement_before_ac_execution, perovskite-sim/tests/integration/test_ion_aware_impedance_grid.py::test_grid_ladder_rejects_state_or_stack_replacement_before_ac_execution, perovskite-sim/tests/integration/test_ion_aware_impedance_grid.py::test_resolved_ionmonger_grid_ladder_passes_each_frequency, perovskite-sim/tests/integration/test_ion_aware_impedance_grid.py::test_same_results_fail_a_tighter_preregistered_grid_gate", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.ion_aware_impedance_grid.run_ion_aware_impedance_grid_ladder" + }, + { + "field": "projection error, component topology and every interface-side identity", + "needed_from": "experiment-330be0d05e1b31a9 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_ion_aware_impedance_grid.py::test_grid_ladder_rejects_coordinate_replacement_before_ac_execution, perovskite-sim/tests/integration/test_ion_aware_impedance_grid.py::test_grid_ladder_rejects_state_or_stack_replacement_before_ac_execution, perovskite-sim/tests/integration/test_ion_aware_impedance_grid.py::test_resolved_ionmonger_grid_ladder_passes_each_frequency, perovskite-sim/tests/integration/test_ion_aware_impedance_grid.py::test_same_results_fail_a_tighter_preregistered_grid_gate", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.ion_aware_impedance_grid.run_ion_aware_impedance_grid_ladder" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-330be0d05e1b31a9/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + } + ], + "downstream_tasks": [ + "P04-06", + "P04-08", + "P05-01", + "P05-03" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-experiment-330be0d05e1b31a9" + }, + "scope_specific_prior_gaps": [ + { + "field": "numeric reference current scale and absolute weak/zero current allowance, in the actual A or A m-2 output unit", + "needed_from": "experiment-330be0d05e1b31a9 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_ion_aware_impedance_grid.py::test_grid_ladder_rejects_coordinate_replacement_before_ac_execution, perovskite-sim/tests/integration/test_ion_aware_impedance_grid.py::test_grid_ladder_rejects_state_or_stack_replacement_before_ac_execution, perovskite-sim/tests/integration/test_ion_aware_impedance_grid.py::test_resolved_ionmonger_grid_ladder_passes_each_frequency, perovskite-sim/tests/integration/test_ion_aware_impedance_grid.py::test_same_results_fail_a_tighter_preregistered_grid_gate", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.ion_aware_impedance_grid.run_ion_aware_impedance_grid_ladder", + "categories": [ + "source_configuration", + "tolerance_decision" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "each component/sign/port/support, observation times and both event sides", + "needed_from": "experiment-330be0d05e1b31a9 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_ion_aware_impedance_grid.py::test_grid_ladder_rejects_coordinate_replacement_before_ac_execution, perovskite-sim/tests/integration/test_ion_aware_impedance_grid.py::test_grid_ladder_rejects_state_or_stack_replacement_before_ac_execution, perovskite-sim/tests/integration/test_ion_aware_impedance_grid.py::test_resolved_ionmonger_grid_ladder_passes_each_frequency, perovskite-sim/tests/integration/test_ion_aware_impedance_grid.py::test_same_results_fail_a_tighter_preregistered_grid_gate", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.ion_aware_impedance_grid.run_ion_aware_impedance_grid_ladder", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "pointwise current uncertainty and a pointwise comparison limit; integrated charge is not a substitute", + "needed_from": "experiment-330be0d05e1b31a9 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_ion_aware_impedance_grid.py::test_grid_ladder_rejects_coordinate_replacement_before_ac_execution, perovskite-sim/tests/integration/test_ion_aware_impedance_grid.py::test_grid_ladder_rejects_state_or_stack_replacement_before_ac_execution, perovskite-sim/tests/integration/test_ion_aware_impedance_grid.py::test_resolved_ionmonger_grid_ladder_passes_each_frequency, perovskite-sim/tests/integration/test_ion_aware_impedance_grid.py::test_same_results_fail_a_tighter_preregistered_grid_gate", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.ion_aware_impedance_grid.run_ion_aware_impedance_grid_ladder", + "categories": [ + "tolerance_decision", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "fixed numeric reference scales and real/imaginary/complex absolute bounds in S m-2 or ohm m2 as actually emitted", + "needed_from": "experiment-330be0d05e1b31a9 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_ion_aware_impedance_grid.py::test_grid_ladder_rejects_coordinate_replacement_before_ac_execution, perovskite-sim/tests/integration/test_ion_aware_impedance_grid.py::test_grid_ladder_rejects_state_or_stack_replacement_before_ac_execution, perovskite-sim/tests/integration/test_ion_aware_impedance_grid.py::test_resolved_ionmonger_grid_ladder_passes_each_frequency, perovskite-sim/tests/integration/test_ion_aware_impedance_grid.py::test_same_results_fail_a_tighter_preregistered_grid_gate", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.ion_aware_impedance_grid.run_ion_aware_impedance_grid_ladder", + "categories": [ + "source_configuration", + "tolerance_decision" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "numeric absolute phase limit in radians and per-driver/frequency resolvability floor with independent uncertainty/physical-resolution evidence", + "needed_from": "experiment-330be0d05e1b31a9 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_ion_aware_impedance_grid.py::test_grid_ladder_rejects_coordinate_replacement_before_ac_execution, perovskite-sim/tests/integration/test_ion_aware_impedance_grid.py::test_grid_ladder_rejects_state_or_stack_replacement_before_ac_execution, perovskite-sim/tests/integration/test_ion_aware_impedance_grid.py::test_resolved_ionmonger_grid_ladder_passes_each_frequency, perovskite-sim/tests/integration/test_ion_aware_impedance_grid.py::test_same_results_fail_a_tighter_preregistered_grid_gate", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.ion_aware_impedance_grid.run_ion_aware_impedance_grid_ladder", + "categories": [ + "tolerance_decision", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "explicit exact-zero frequencies, coordinate identity and independent component/phase errors", + "needed_from": "experiment-330be0d05e1b31a9 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_ion_aware_impedance_grid.py::test_grid_ladder_rejects_coordinate_replacement_before_ac_execution, perovskite-sim/tests/integration/test_ion_aware_impedance_grid.py::test_grid_ladder_rejects_state_or_stack_replacement_before_ac_execution, perovskite-sim/tests/integration/test_ion_aware_impedance_grid.py::test_resolved_ionmonger_grid_ladder_passes_each_frequency, perovskite-sim/tests/integration/test_ion_aware_impedance_grid.py::test_same_results_fail_a_tighter_preregistered_grid_gate", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.ion_aware_impedance_grid.run_ion_aware_impedance_grid_ladder", + "categories": [ + "measurement_data", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "source/target geometry and a verified conservative CV intersection/projection artifact or explicit1D cell averages", + "needed_from": "experiment-330be0d05e1b31a9 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_ion_aware_impedance_grid.py::test_grid_ladder_rejects_coordinate_replacement_before_ac_execution, perovskite-sim/tests/integration/test_ion_aware_impedance_grid.py::test_grid_ladder_rejects_state_or_stack_replacement_before_ac_execution, perovskite-sim/tests/integration/test_ion_aware_impedance_grid.py::test_resolved_ionmonger_grid_ladder_passes_each_frequency, perovskite-sim/tests/integration/test_ion_aware_impedance_grid.py::test_same_results_fail_a_tighter_preregistered_grid_gate", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.ion_aware_impedance_grid.run_ion_aware_impedance_grid_ladder", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "fixed numeric integral/inventory/left-trace/right-trace scales and limits in their physical units", + "needed_from": "experiment-330be0d05e1b31a9 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_ion_aware_impedance_grid.py::test_grid_ladder_rejects_coordinate_replacement_before_ac_execution, perovskite-sim/tests/integration/test_ion_aware_impedance_grid.py::test_grid_ladder_rejects_state_or_stack_replacement_before_ac_execution, perovskite-sim/tests/integration/test_ion_aware_impedance_grid.py::test_resolved_ionmonger_grid_ladder_passes_each_frequency, perovskite-sim/tests/integration/test_ion_aware_impedance_grid.py::test_same_results_fail_a_tighter_preregistered_grid_gate", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.ion_aware_impedance_grid.run_ion_aware_impedance_grid_ladder", + "categories": [ + "source_configuration", + "tolerance_decision" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "projection error, component topology and every interface-side identity", + "needed_from": "experiment-330be0d05e1b31a9 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_ion_aware_impedance_grid.py::test_grid_ladder_rejects_coordinate_replacement_before_ac_execution, perovskite-sim/tests/integration/test_ion_aware_impedance_grid.py::test_grid_ladder_rejects_state_or_stack_replacement_before_ac_execution, perovskite-sim/tests/integration/test_ion_aware_impedance_grid.py::test_resolved_ionmonger_grid_ladder_passes_each_frequency, perovskite-sim/tests/integration/test_ion_aware_impedance_grid.py::test_same_results_fail_a_tighter_preregistered_grid_gate", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.ion_aware_impedance_grid.run_ion_aware_impedance_grid_ladder", + "categories": [ + "source_configuration", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-330be0d05e1b31a9/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [], + "current_numeric_status": "prior_exact_scope_gaps_retained_and_classified" + } + }, + { + "id": "scope-experiment-fbf41e2889c53cad", + "capability_id": "experiment-fbf41e2889c53cad", + "route_id": "route-e427668ae85b61ce", + "origin_key": "experiment:perovskite_sim.experiments.ion_aware_impedance_lockin.run_ion_aware_transient_lockin_crosscheck", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "physical_profiles_or_stored_state_history", + "current_observation_or_current_input", + "complex_frequency_response", + "waveform_integral_history" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/ion_aware_impedance_lockin.py", + "symbol": "run_ion_aware_transient_lockin_crosscheck" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_impedance_lockin.py", + "symbol": "test_exact_dc_transient_lockin_matches_frequency_domain_ionic_points" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py", + "symbol": "test_lockin_crosscheck_certifies_each_numerical_axis" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py", + "symbol": "test_lockin_crosscheck_rejects_replaced_dc_state_before_transient" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py", + "symbol": "test_tighter_preregistered_agreement_gate_returns_failed_evidence" + } + ], + "negative_only_descriptor_rule_ids": [ + "rule-8a1b0617808a3911a60a701a", + "rule-765fcbadfbcc7dea4c7e3bec" + ], + "source_quantitative_assertion_ids_for_scope_audit": [ + "rule-474a559975705b55312f1e0a", + "rule-49236dd662bad1ea7b815011" + ], + "rule_ids": [ + "M_payload", + "potential_packet", + "positive_density_log", + "density_inventory_packet", + "current_packet", + "complex_packet", + "transient_packet" + ], + "citations": [], + "remaining_inputs": [ + { + "field": "numeric fixed thermal/physical voltage scale in V from the exact reference temperature or declared boundary parameters", + "needed_from": "experiment-fbf41e2889c53cad exact original driver/reference observation packet; perovskite-sim/tests/integration/test_ion_aware_impedance_lockin.py::test_exact_dc_transient_lockin_matches_frequency_domain_ionic_points, perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py::test_lockin_crosscheck_certifies_each_numerical_axis, perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py::test_lockin_crosscheck_rejects_replaced_dc_state_before_transient, perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py::test_tighter_preregistered_agreement_gate_returns_failed_evidence", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.ion_aware_impedance_lockin.run_ion_aware_transient_lockin_crosscheck" + }, + { + "field": "actual reference CV weights/support and physical gauge/contact values; allowed mask", + "needed_from": "experiment-fbf41e2889c53cad exact original driver/reference observation packet; perovskite-sim/tests/integration/test_ion_aware_impedance_lockin.py::test_exact_dc_transient_lockin_matches_frequency_domain_ionic_points, perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py::test_lockin_crosscheck_certifies_each_numerical_axis, perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py::test_lockin_crosscheck_rejects_replaced_dc_state_before_transient, perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py::test_tighter_preregistered_agreement_gate_returns_failed_evidence", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.ion_aware_impedance_lockin.run_ion_aware_transient_lockin_crosscheck" + }, + { + "field": "independent source/grid/time/mapping error in V and its qualified reference identity", + "needed_from": "experiment-fbf41e2889c53cad exact original driver/reference observation packet; perovskite-sim/tests/integration/test_ion_aware_impedance_lockin.py::test_exact_dc_transient_lockin_matches_frequency_domain_ionic_points, perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py::test_lockin_crosscheck_certifies_each_numerical_axis, perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py::test_lockin_crosscheck_rejects_replaced_dc_state_before_transient, perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py::test_tighter_preregistered_agreement_gate_returns_failed_evidence", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.ion_aware_impedance_lockin.run_ion_aware_transient_lockin_crosscheck" + }, + { + "field": "per-species/per-connected-domain positive reference inventory numeric scale and unit (1 or m-2, according to actual CV measure)", + "needed_from": "experiment-fbf41e2889c53cad exact original driver/reference observation packet; perovskite-sim/tests/integration/test_ion_aware_impedance_lockin.py::test_exact_dc_transient_lockin_matches_frequency_domain_ionic_points, perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py::test_lockin_crosscheck_certifies_each_numerical_axis, perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py::test_lockin_crosscheck_rejects_replaced_dc_state_before_transient, perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py::test_tighter_preregistered_agreement_gate_returns_failed_evidence", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.ion_aware_impedance_lockin.run_ion_aware_transient_lockin_crosscheck" + }, + { + "field": "zero-species/zero-cell identity and numeric dimensional absolute gate from model absence or reference error evidence", + "needed_from": "experiment-fbf41e2889c53cad exact original driver/reference observation packet; perovskite-sim/tests/integration/test_ion_aware_impedance_lockin.py::test_exact_dc_transient_lockin_matches_frequency_domain_ionic_points, perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py::test_lockin_crosscheck_certifies_each_numerical_axis, perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py::test_lockin_crosscheck_rejects_replaced_dc_state_before_transient, perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py::test_tighter_preregistered_agreement_gate_returns_failed_evidence", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.ion_aware_impedance_lockin.run_ion_aware_transient_lockin_crosscheck" + }, + { + "field": "actual volumes, component labels and independent log/inventory uncertainty", + "needed_from": "experiment-fbf41e2889c53cad exact original driver/reference observation packet; perovskite-sim/tests/integration/test_ion_aware_impedance_lockin.py::test_exact_dc_transient_lockin_matches_frequency_domain_ionic_points, perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py::test_lockin_crosscheck_certifies_each_numerical_axis, perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py::test_lockin_crosscheck_rejects_replaced_dc_state_before_transient, perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py::test_tighter_preregistered_agreement_gate_returns_failed_evidence", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.ion_aware_impedance_lockin.run_ion_aware_transient_lockin_crosscheck" + }, + { + "field": "numeric reference current scale and absolute weak/zero current allowance, in the actual A or A m-2 output unit", + "needed_from": "experiment-fbf41e2889c53cad exact original driver/reference observation packet; perovskite-sim/tests/integration/test_ion_aware_impedance_lockin.py::test_exact_dc_transient_lockin_matches_frequency_domain_ionic_points, perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py::test_lockin_crosscheck_certifies_each_numerical_axis, perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py::test_lockin_crosscheck_rejects_replaced_dc_state_before_transient, perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py::test_tighter_preregistered_agreement_gate_returns_failed_evidence", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.ion_aware_impedance_lockin.run_ion_aware_transient_lockin_crosscheck" + }, + { + "field": "each component/sign/port/support, observation times and both event sides", + "needed_from": "experiment-fbf41e2889c53cad exact original driver/reference observation packet; perovskite-sim/tests/integration/test_ion_aware_impedance_lockin.py::test_exact_dc_transient_lockin_matches_frequency_domain_ionic_points, perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py::test_lockin_crosscheck_certifies_each_numerical_axis, perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py::test_lockin_crosscheck_rejects_replaced_dc_state_before_transient, perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py::test_tighter_preregistered_agreement_gate_returns_failed_evidence", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.ion_aware_impedance_lockin.run_ion_aware_transient_lockin_crosscheck" + }, + { + "field": "pointwise current uncertainty and a pointwise comparison limit; integrated charge is not a substitute", + "needed_from": "experiment-fbf41e2889c53cad exact original driver/reference observation packet; perovskite-sim/tests/integration/test_ion_aware_impedance_lockin.py::test_exact_dc_transient_lockin_matches_frequency_domain_ionic_points, perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py::test_lockin_crosscheck_certifies_each_numerical_axis, perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py::test_lockin_crosscheck_rejects_replaced_dc_state_before_transient, perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py::test_tighter_preregistered_agreement_gate_returns_failed_evidence", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.ion_aware_impedance_lockin.run_ion_aware_transient_lockin_crosscheck" + }, + { + "field": "fixed numeric reference scales and real/imaginary/complex absolute bounds in S m-2 or ohm m2 as actually emitted", + "needed_from": "experiment-fbf41e2889c53cad exact original driver/reference observation packet; perovskite-sim/tests/integration/test_ion_aware_impedance_lockin.py::test_exact_dc_transient_lockin_matches_frequency_domain_ionic_points, perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py::test_lockin_crosscheck_certifies_each_numerical_axis, perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py::test_lockin_crosscheck_rejects_replaced_dc_state_before_transient, perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py::test_tighter_preregistered_agreement_gate_returns_failed_evidence", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.ion_aware_impedance_lockin.run_ion_aware_transient_lockin_crosscheck" + }, + { + "field": "numeric absolute phase limit in radians and per-driver/frequency resolvability floor with independent uncertainty/physical-resolution evidence", + "needed_from": "experiment-fbf41e2889c53cad exact original driver/reference observation packet; perovskite-sim/tests/integration/test_ion_aware_impedance_lockin.py::test_exact_dc_transient_lockin_matches_frequency_domain_ionic_points, perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py::test_lockin_crosscheck_certifies_each_numerical_axis, perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py::test_lockin_crosscheck_rejects_replaced_dc_state_before_transient, perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py::test_tighter_preregistered_agreement_gate_returns_failed_evidence", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.ion_aware_impedance_lockin.run_ion_aware_transient_lockin_crosscheck" + }, + { + "field": "explicit exact-zero frequencies, coordinate identity and independent component/phase errors", + "needed_from": "experiment-fbf41e2889c53cad exact original driver/reference observation packet; perovskite-sim/tests/integration/test_ion_aware_impedance_lockin.py::test_exact_dc_transient_lockin_matches_frequency_domain_ionic_points, perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py::test_lockin_crosscheck_certifies_each_numerical_axis, perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py::test_lockin_crosscheck_rejects_replaced_dc_state_before_transient, perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py::test_tighter_preregistered_agreement_gate_returns_failed_evidence", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.ion_aware_impedance_lockin.run_ion_aware_transient_lockin_crosscheck" + }, + { + "field": "actual complete state history, time coordinates, event sides and original integral/fit-window identity", + "needed_from": "experiment-fbf41e2889c53cad exact original driver/reference observation packet; perovskite-sim/tests/integration/test_ion_aware_impedance_lockin.py::test_exact_dc_transient_lockin_matches_frequency_domain_ionic_points, perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py::test_lockin_crosscheck_certifies_each_numerical_axis, perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py::test_lockin_crosscheck_rejects_replaced_dc_state_before_transient, perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py::test_tighter_preregistered_agreement_gate_returns_failed_evidence", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.ion_aware_impedance_lockin.run_ion_aware_transient_lockin_crosscheck" + }, + { + "field": "numeric separate waveform, integrated-charge and fit residual/derived-parameter scales/limits from the original channel", + "needed_from": "experiment-fbf41e2889c53cad exact original driver/reference observation packet; perovskite-sim/tests/integration/test_ion_aware_impedance_lockin.py::test_exact_dc_transient_lockin_matches_frequency_domain_ionic_points, perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py::test_lockin_crosscheck_certifies_each_numerical_axis, perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py::test_lockin_crosscheck_rejects_replaced_dc_state_before_transient, perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py::test_tighter_preregistered_agreement_gate_returns_failed_evidence", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.ion_aware_impedance_lockin.run_ion_aware_transient_lockin_crosscheck" + }, + { + "field": "nonresetting interval/prefix uncertainty and accepted-history reference errors", + "needed_from": "experiment-fbf41e2889c53cad exact original driver/reference observation packet; perovskite-sim/tests/integration/test_ion_aware_impedance_lockin.py::test_exact_dc_transient_lockin_matches_frequency_domain_ionic_points, perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py::test_lockin_crosscheck_certifies_each_numerical_axis, perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py::test_lockin_crosscheck_rejects_replaced_dc_state_before_transient, perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py::test_tighter_preregistered_agreement_gate_returns_failed_evidence", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.ion_aware_impedance_lockin.run_ion_aware_transient_lockin_crosscheck" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-fbf41e2889c53cad/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + } + ], + "downstream_tasks": [ + "P04-06", + "P04-08", + "P05-01", + "P05-03" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-experiment-fbf41e2889c53cad" + }, + "scope_specific_prior_gaps": [ + { + "field": "numeric fixed thermal/physical voltage scale in V from the exact reference temperature or declared boundary parameters", + "needed_from": "experiment-fbf41e2889c53cad exact original driver/reference observation packet; perovskite-sim/tests/integration/test_ion_aware_impedance_lockin.py::test_exact_dc_transient_lockin_matches_frequency_domain_ionic_points, perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py::test_lockin_crosscheck_certifies_each_numerical_axis, perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py::test_lockin_crosscheck_rejects_replaced_dc_state_before_transient, perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py::test_tighter_preregistered_agreement_gate_returns_failed_evidence", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.ion_aware_impedance_lockin.run_ion_aware_transient_lockin_crosscheck", + "categories": [ + "source_configuration" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual reference CV weights/support and physical gauge/contact values; allowed mask", + "needed_from": "experiment-fbf41e2889c53cad exact original driver/reference observation packet; perovskite-sim/tests/integration/test_ion_aware_impedance_lockin.py::test_exact_dc_transient_lockin_matches_frequency_domain_ionic_points, perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py::test_lockin_crosscheck_certifies_each_numerical_axis, perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py::test_lockin_crosscheck_rejects_replaced_dc_state_before_transient, perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py::test_tighter_preregistered_agreement_gate_returns_failed_evidence", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.ion_aware_impedance_lockin.run_ion_aware_transient_lockin_crosscheck", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "independent source/grid/time/mapping error in V and its qualified reference identity", + "needed_from": "experiment-fbf41e2889c53cad exact original driver/reference observation packet; perovskite-sim/tests/integration/test_ion_aware_impedance_lockin.py::test_exact_dc_transient_lockin_matches_frequency_domain_ionic_points, perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py::test_lockin_crosscheck_certifies_each_numerical_axis, perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py::test_lockin_crosscheck_rejects_replaced_dc_state_before_transient, perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py::test_tighter_preregistered_agreement_gate_returns_failed_evidence", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.ion_aware_impedance_lockin.run_ion_aware_transient_lockin_crosscheck", + "categories": [ + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "per-species/per-connected-domain positive reference inventory numeric scale and unit (1 or m-2, according to actual CV measure)", + "needed_from": "experiment-fbf41e2889c53cad exact original driver/reference observation packet; perovskite-sim/tests/integration/test_ion_aware_impedance_lockin.py::test_exact_dc_transient_lockin_matches_frequency_domain_ionic_points, perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py::test_lockin_crosscheck_certifies_each_numerical_axis, perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py::test_lockin_crosscheck_rejects_replaced_dc_state_before_transient, perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py::test_tighter_preregistered_agreement_gate_returns_failed_evidence", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.ion_aware_impedance_lockin.run_ion_aware_transient_lockin_crosscheck", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "zero-species/zero-cell identity and numeric dimensional absolute gate from model absence or reference error evidence", + "needed_from": "experiment-fbf41e2889c53cad exact original driver/reference observation packet; perovskite-sim/tests/integration/test_ion_aware_impedance_lockin.py::test_exact_dc_transient_lockin_matches_frequency_domain_ionic_points, perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py::test_lockin_crosscheck_certifies_each_numerical_axis, perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py::test_lockin_crosscheck_rejects_replaced_dc_state_before_transient, perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py::test_tighter_preregistered_agreement_gate_returns_failed_evidence", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.ion_aware_impedance_lockin.run_ion_aware_transient_lockin_crosscheck", + "categories": [ + "source_configuration", + "tolerance_decision" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual volumes, component labels and independent log/inventory uncertainty", + "needed_from": "experiment-fbf41e2889c53cad exact original driver/reference observation packet; perovskite-sim/tests/integration/test_ion_aware_impedance_lockin.py::test_exact_dc_transient_lockin_matches_frequency_domain_ionic_points, perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py::test_lockin_crosscheck_certifies_each_numerical_axis, perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py::test_lockin_crosscheck_rejects_replaced_dc_state_before_transient, perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py::test_tighter_preregistered_agreement_gate_returns_failed_evidence", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.ion_aware_impedance_lockin.run_ion_aware_transient_lockin_crosscheck", + "categories": [ + "measurement_data", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "numeric reference current scale and absolute weak/zero current allowance, in the actual A or A m-2 output unit", + "needed_from": "experiment-fbf41e2889c53cad exact original driver/reference observation packet; perovskite-sim/tests/integration/test_ion_aware_impedance_lockin.py::test_exact_dc_transient_lockin_matches_frequency_domain_ionic_points, perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py::test_lockin_crosscheck_certifies_each_numerical_axis, perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py::test_lockin_crosscheck_rejects_replaced_dc_state_before_transient, perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py::test_tighter_preregistered_agreement_gate_returns_failed_evidence", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.ion_aware_impedance_lockin.run_ion_aware_transient_lockin_crosscheck", + "categories": [ + "source_configuration", + "tolerance_decision" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "each component/sign/port/support, observation times and both event sides", + "needed_from": "experiment-fbf41e2889c53cad exact original driver/reference observation packet; perovskite-sim/tests/integration/test_ion_aware_impedance_lockin.py::test_exact_dc_transient_lockin_matches_frequency_domain_ionic_points, perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py::test_lockin_crosscheck_certifies_each_numerical_axis, perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py::test_lockin_crosscheck_rejects_replaced_dc_state_before_transient, perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py::test_tighter_preregistered_agreement_gate_returns_failed_evidence", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.ion_aware_impedance_lockin.run_ion_aware_transient_lockin_crosscheck", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "pointwise current uncertainty and a pointwise comparison limit; integrated charge is not a substitute", + "needed_from": "experiment-fbf41e2889c53cad exact original driver/reference observation packet; perovskite-sim/tests/integration/test_ion_aware_impedance_lockin.py::test_exact_dc_transient_lockin_matches_frequency_domain_ionic_points, perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py::test_lockin_crosscheck_certifies_each_numerical_axis, perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py::test_lockin_crosscheck_rejects_replaced_dc_state_before_transient, perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py::test_tighter_preregistered_agreement_gate_returns_failed_evidence", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.ion_aware_impedance_lockin.run_ion_aware_transient_lockin_crosscheck", + "categories": [ + "tolerance_decision", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "fixed numeric reference scales and real/imaginary/complex absolute bounds in S m-2 or ohm m2 as actually emitted", + "needed_from": "experiment-fbf41e2889c53cad exact original driver/reference observation packet; perovskite-sim/tests/integration/test_ion_aware_impedance_lockin.py::test_exact_dc_transient_lockin_matches_frequency_domain_ionic_points, perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py::test_lockin_crosscheck_certifies_each_numerical_axis, perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py::test_lockin_crosscheck_rejects_replaced_dc_state_before_transient, perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py::test_tighter_preregistered_agreement_gate_returns_failed_evidence", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.ion_aware_impedance_lockin.run_ion_aware_transient_lockin_crosscheck", + "categories": [ + "source_configuration", + "tolerance_decision" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "numeric absolute phase limit in radians and per-driver/frequency resolvability floor with independent uncertainty/physical-resolution evidence", + "needed_from": "experiment-fbf41e2889c53cad exact original driver/reference observation packet; perovskite-sim/tests/integration/test_ion_aware_impedance_lockin.py::test_exact_dc_transient_lockin_matches_frequency_domain_ionic_points, perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py::test_lockin_crosscheck_certifies_each_numerical_axis, perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py::test_lockin_crosscheck_rejects_replaced_dc_state_before_transient, perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py::test_tighter_preregistered_agreement_gate_returns_failed_evidence", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.ion_aware_impedance_lockin.run_ion_aware_transient_lockin_crosscheck", + "categories": [ + "tolerance_decision", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "explicit exact-zero frequencies, coordinate identity and independent component/phase errors", + "needed_from": "experiment-fbf41e2889c53cad exact original driver/reference observation packet; perovskite-sim/tests/integration/test_ion_aware_impedance_lockin.py::test_exact_dc_transient_lockin_matches_frequency_domain_ionic_points, perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py::test_lockin_crosscheck_certifies_each_numerical_axis, perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py::test_lockin_crosscheck_rejects_replaced_dc_state_before_transient, perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py::test_tighter_preregistered_agreement_gate_returns_failed_evidence", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.ion_aware_impedance_lockin.run_ion_aware_transient_lockin_crosscheck", + "categories": [ + "measurement_data", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual complete state history, time coordinates, event sides and original integral/fit-window identity", + "needed_from": "experiment-fbf41e2889c53cad exact original driver/reference observation packet; perovskite-sim/tests/integration/test_ion_aware_impedance_lockin.py::test_exact_dc_transient_lockin_matches_frequency_domain_ionic_points, perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py::test_lockin_crosscheck_certifies_each_numerical_axis, perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py::test_lockin_crosscheck_rejects_replaced_dc_state_before_transient, perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py::test_tighter_preregistered_agreement_gate_returns_failed_evidence", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.ion_aware_impedance_lockin.run_ion_aware_transient_lockin_crosscheck", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "numeric separate waveform, integrated-charge and fit residual/derived-parameter scales/limits from the original channel", + "needed_from": "experiment-fbf41e2889c53cad exact original driver/reference observation packet; perovskite-sim/tests/integration/test_ion_aware_impedance_lockin.py::test_exact_dc_transient_lockin_matches_frequency_domain_ionic_points, perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py::test_lockin_crosscheck_certifies_each_numerical_axis, perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py::test_lockin_crosscheck_rejects_replaced_dc_state_before_transient, perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py::test_tighter_preregistered_agreement_gate_returns_failed_evidence", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.ion_aware_impedance_lockin.run_ion_aware_transient_lockin_crosscheck", + "categories": [ + "tolerance_decision" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "nonresetting interval/prefix uncertainty and accepted-history reference errors", + "needed_from": "experiment-fbf41e2889c53cad exact original driver/reference observation packet; perovskite-sim/tests/integration/test_ion_aware_impedance_lockin.py::test_exact_dc_transient_lockin_matches_frequency_domain_ionic_points, perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py::test_lockin_crosscheck_certifies_each_numerical_axis, perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py::test_lockin_crosscheck_rejects_replaced_dc_state_before_transient, perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py::test_tighter_preregistered_agreement_gate_returns_failed_evidence", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.ion_aware_impedance_lockin.run_ion_aware_transient_lockin_crosscheck", + "categories": [ + "measurement_data", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-fbf41e2889c53cad/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [], + "current_numeric_status": "prior_exact_scope_gaps_retained_and_classified" + } + }, + { + "id": "scope-experiment-3bf95a0df12a0f9f", + "capability_id": "experiment-3bf95a0df12a0f9f", + "route_id": "route-d50045e506093dad", + "origin_key": "experiment:perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "source_specific_operator_or_constitutive_action" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/ion_aware_structured_jacobian.py", + "symbol": "run_ion_aware_structured_jacobian_comparison" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py", + "symbol": "test_failed_comparison_gate_preserves_diagnostic_evidence" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py", + "symbol": "test_mismatched_hash_is_rejected_before_comparison" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py", + "symbol": "test_structured_protocol_binds_qss_environment_and_velocity" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_cross_node_interface_srh_closes_the_clamp_inactive_tangent" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_cross_node_qss_interface_srh_closes_projection_and_suppresses_mirror" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_dual_ion_structured_operator_covers_both_charge_signs" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_field_mobility_structured_operator_closes_ct_and_pf_chain_rule" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "symbol": "test_local_qss_interface_srh_closes_the_implicit_root_tangent" + } + ], + "negative_only_descriptor_rule_ids": [ + "rule-93972c5b25cbae6d7e2c8968", + "rule-14b452c8220c937143d98fd3", + "rule-00f9296183c50f3043714d18", + "rule-7cd7e5a28cf9c6f97462ef42" + ], + "source_quantitative_assertion_ids_for_scope_audit": [ + "rule-88e850d6568af6ccb442d1ce", + "rule-00ca117058871b7d537191ae", + "rule-ff9e30a38179c9ba74ab4edc", + "rule-05c44f6fa978a3b3814ca37b", + "rule-3ba5ba921b875584688fffca", + "rule-9959d444de351c4b277c898b", + "rule-adb0eac4f9623093eac8750a", + "rule-ca61f7e51f7bbe55e8c548f4", + "rule-e80dcf245ae57c715dcefa75", + "rule-91588b86741b529e5cf07d58", + "rule-d0c50332143af5ae322f2e52", + "rule-4de11c6c622a677640c9dd37", + "rule-ef94fff49503485f6e060cf9", + "rule-7966b8abb7e8ac03daac35e8", + "rule-786e22e62995b8017242237e", + "rule-f7ffd96ad348a2ab6e2ff1cf", + "rule-88fdedb3e9e843ad2300263b" + ], + "rule_ids": [ + "M_payload", + "operator_packet" + ], + "citations": [], + "remaining_inputs": [ + { + "field": "actual row and column physical units, support and fixed per-block/state/input scales", + "needed_from": "experiment-3bf95a0df12a0f9f exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_failed_comparison_gate_preserves_diagnostic_evidence, perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_mismatched_hash_is_rejected_before_comparison, perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_structured_protocol_binds_qss_environment_and_velocity, perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py::test_cross_node_interface_srh_closes_the_clamp_inactive_tangent, perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py::test_cross_node_qss_interface_srh_closes_projection_and_suppresses_mirror, perovskite-si", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison" + }, + { + "field": "numeric independent derivative/action/weak-increment thresholds from the original applicable contract", + "needed_from": "experiment-3bf95a0df12a0f9f exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_failed_comparison_gate_preserves_diagnostic_evidence, perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_mismatched_hash_is_rejected_before_comparison, perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_structured_protocol_binds_qss_environment_and_velocity, perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py::test_cross_node_interface_srh_closes_the_clamp_inactive_tangent, perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py::test_cross_node_qss_interface_srh_closes_projection_and_suppresses_mirror, perovskite-si", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison" + }, + { + "field": "full nonlocal/input chain, inactive/zero branch and independent reference/cancellation error", + "needed_from": "experiment-3bf95a0df12a0f9f exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_failed_comparison_gate_preserves_diagnostic_evidence, perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_mismatched_hash_is_rejected_before_comparison, perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_structured_protocol_binds_qss_environment_and_velocity, perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py::test_cross_node_interface_srh_closes_the_clamp_inactive_tangent, perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py::test_cross_node_qss_interface_srh_closes_projection_and_suppresses_mirror, perovskite-si", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-3bf95a0df12a0f9f/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + } + ], + "downstream_tasks": [ + "P04-06", + "P04-08", + "P05-01", + "P05-03" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-experiment-3bf95a0df12a0f9f" + }, + "scope_specific_prior_gaps": [ + { + "field": "actual row and column physical units, support and fixed per-block/state/input scales", + "needed_from": "experiment-3bf95a0df12a0f9f exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_failed_comparison_gate_preserves_diagnostic_evidence, perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_mismatched_hash_is_rejected_before_comparison, perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_structured_protocol_binds_qss_environment_and_velocity, perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py::test_cross_node_interface_srh_closes_the_clamp_inactive_tangent, perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py::test_cross_node_qss_interface_srh_closes_projection_and_suppresses_mirror, perovskite-si", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "categories": [ + "source_configuration" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "numeric independent derivative/action/weak-increment thresholds from the original applicable contract", + "needed_from": "experiment-3bf95a0df12a0f9f exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_failed_comparison_gate_preserves_diagnostic_evidence, perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_mismatched_hash_is_rejected_before_comparison, perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_structured_protocol_binds_qss_environment_and_velocity, perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py::test_cross_node_interface_srh_closes_the_clamp_inactive_tangent, perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py::test_cross_node_qss_interface_srh_closes_projection_and_suppresses_mirror, perovskite-si", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "categories": [ + "tolerance_decision" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "full nonlocal/input chain, inactive/zero branch and independent reference/cancellation error", + "needed_from": "experiment-3bf95a0df12a0f9f exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_failed_comparison_gate_preserves_diagnostic_evidence, perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_mismatched_hash_is_rejected_before_comparison, perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_structured_protocol_binds_qss_environment_and_velocity, perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py::test_cross_node_interface_srh_closes_the_clamp_inactive_tangent, perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py::test_cross_node_qss_interface_srh_closes_projection_and_suppresses_mirror, perovskite-si", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison", + "categories": [ + "source_configuration", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-3bf95a0df12a0f9f/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [], + "current_numeric_status": "prior_exact_scope_gaps_retained_and_classified" + } + }, + { + "id": "scope-experiment-d2ac87c25de5f542", + "capability_id": "experiment-d2ac87c25de5f542", + "route_id": "route-6110e3f0105bc8f1", + "origin_key": "experiment:perovskite_sim.experiments.jv_sweep.compute_current_components", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "signed_current_components_only" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/jv_sweep.py", + "symbol": "compute_current_components" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_heterojunction_dark_equilibrium.py", + "symbol": "test_dark_equilibrium_face_currents_vanish" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_heterojunction_dark_equilibrium.py", + "symbol": "test_dark_equilibrium_terminal_current_vanishes" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_log_density_coordinates.py", + "symbol": "test_real_device_log_coordinate_observable_is_inside_refinement_envelope" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_ss_current_conservation.py", + "symbol": "test_ion_steric_diffusion_only_conserves_terminal_current" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_ss_current_conservation.py", + "symbol": "test_shipped_displacement_api_closes_conservation" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_ss_current_conservation.py", + "symbol": "test_ss_reader_reports_zero_displacement_by_construction" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_current_decomposition.py", + "symbol": "test_all_finite" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_current_decomposition.py", + "symbol": "test_consistent_with_compute_current" + } + ], + "negative_only_descriptor_rule_ids": [], + "source_quantitative_assertion_ids_for_scope_audit": [ + "rule-ba8cb9cb32e98e3428e0293f", + "rule-47c2ab648033171d5ecb0929", + "rule-b3d58400598c942d3340f347", + "rule-fa9ab1f02ed5ba3e4996a546", + "rule-5bf61c4f562c21b0b6f70a3f", + "rule-ec8d64c56b0af0f969050097", + "rule-aebebdb802a2830b8ea5b283", + "rule-b552b6256fe41aa5d83a6445", + "rule-9c009cbdc9e118c4edb19ef3", + "rule-2f1251eaa2d936da5e3a7ad1", + "rule-b145cb8b90104ced2b7e093c", + "rule-51b95d65fd1d085c148526e4" + ], + "rule_ids": [ + "M_payload", + "current_packet" + ], + "citations": [], + "remaining_inputs": [ + { + "field": "numeric reference current scale and absolute weak/zero current allowance, in the actual A or A m-2 output unit", + "needed_from": "experiment-d2ac87c25de5f542 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_heterojunction_dark_equilibrium.py::test_dark_equilibrium_face_currents_vanish, perovskite-sim/tests/integration/test_heterojunction_dark_equilibrium.py::test_dark_equilibrium_terminal_current_vanishes, perovskite-sim/tests/integration/test_log_density_coordinates.py::test_real_device_log_coordinate_observable_is_inside_refinement_envelope, perovskite-sim/tests/regression/test_ss_current_conservation.py::test_ion_steric_diffusion_only_conserves_terminal_current, perovskite-sim/tests/regression/test_ss_current_conservation.py::test_shipped_displacement_api_closes_conservation, perovskite-sim/tests/regression/test_ss_current_conservation.py::test_ss_reader", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.jv_sweep.compute_current_components" + }, + { + "field": "each component/sign/port/support, observation times and both event sides", + "needed_from": "experiment-d2ac87c25de5f542 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_heterojunction_dark_equilibrium.py::test_dark_equilibrium_face_currents_vanish, perovskite-sim/tests/integration/test_heterojunction_dark_equilibrium.py::test_dark_equilibrium_terminal_current_vanishes, perovskite-sim/tests/integration/test_log_density_coordinates.py::test_real_device_log_coordinate_observable_is_inside_refinement_envelope, perovskite-sim/tests/regression/test_ss_current_conservation.py::test_ion_steric_diffusion_only_conserves_terminal_current, perovskite-sim/tests/regression/test_ss_current_conservation.py::test_shipped_displacement_api_closes_conservation, perovskite-sim/tests/regression/test_ss_current_conservation.py::test_ss_reader", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.jv_sweep.compute_current_components" + }, + { + "field": "pointwise current uncertainty and a pointwise comparison limit; integrated charge is not a substitute", + "needed_from": "experiment-d2ac87c25de5f542 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_heterojunction_dark_equilibrium.py::test_dark_equilibrium_face_currents_vanish, perovskite-sim/tests/integration/test_heterojunction_dark_equilibrium.py::test_dark_equilibrium_terminal_current_vanishes, perovskite-sim/tests/integration/test_log_density_coordinates.py::test_real_device_log_coordinate_observable_is_inside_refinement_envelope, perovskite-sim/tests/regression/test_ss_current_conservation.py::test_ion_steric_diffusion_only_conserves_terminal_current, perovskite-sim/tests/regression/test_ss_current_conservation.py::test_shipped_displacement_api_closes_conservation, perovskite-sim/tests/regression/test_ss_current_conservation.py::test_ss_reader", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.jv_sweep.compute_current_components" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-d2ac87c25de5f542/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + } + ], + "downstream_tasks": [ + "P04-05", + "P05-01", + "P05-02" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-experiment-d2ac87c25de5f542" + }, + "scope_specific_prior_gaps": [ + { + "field": "numeric reference current scale and absolute weak/zero current allowance, in the actual A or A m-2 output unit", + "needed_from": "experiment-d2ac87c25de5f542 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_heterojunction_dark_equilibrium.py::test_dark_equilibrium_face_currents_vanish, perovskite-sim/tests/integration/test_heterojunction_dark_equilibrium.py::test_dark_equilibrium_terminal_current_vanishes, perovskite-sim/tests/integration/test_log_density_coordinates.py::test_real_device_log_coordinate_observable_is_inside_refinement_envelope, perovskite-sim/tests/regression/test_ss_current_conservation.py::test_ion_steric_diffusion_only_conserves_terminal_current, perovskite-sim/tests/regression/test_ss_current_conservation.py::test_shipped_displacement_api_closes_conservation, perovskite-sim/tests/regression/test_ss_current_conservation.py::test_ss_reader", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.jv_sweep.compute_current_components", + "categories": [ + "source_configuration", + "tolerance_decision" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "each component/sign/port/support, observation times and both event sides", + "needed_from": "experiment-d2ac87c25de5f542 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_heterojunction_dark_equilibrium.py::test_dark_equilibrium_face_currents_vanish, perovskite-sim/tests/integration/test_heterojunction_dark_equilibrium.py::test_dark_equilibrium_terminal_current_vanishes, perovskite-sim/tests/integration/test_log_density_coordinates.py::test_real_device_log_coordinate_observable_is_inside_refinement_envelope, perovskite-sim/tests/regression/test_ss_current_conservation.py::test_ion_steric_diffusion_only_conserves_terminal_current, perovskite-sim/tests/regression/test_ss_current_conservation.py::test_shipped_displacement_api_closes_conservation, perovskite-sim/tests/regression/test_ss_current_conservation.py::test_ss_reader", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.jv_sweep.compute_current_components", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "pointwise current uncertainty and a pointwise comparison limit; integrated charge is not a substitute", + "needed_from": "experiment-d2ac87c25de5f542 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_heterojunction_dark_equilibrium.py::test_dark_equilibrium_face_currents_vanish, perovskite-sim/tests/integration/test_heterojunction_dark_equilibrium.py::test_dark_equilibrium_terminal_current_vanishes, perovskite-sim/tests/integration/test_log_density_coordinates.py::test_real_device_log_coordinate_observable_is_inside_refinement_envelope, perovskite-sim/tests/regression/test_ss_current_conservation.py::test_ion_steric_diffusion_only_conserves_terminal_current, perovskite-sim/tests/regression/test_ss_current_conservation.py::test_shipped_displacement_api_closes_conservation, perovskite-sim/tests/regression/test_ss_current_conservation.py::test_ss_reader", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.jv_sweep.compute_current_components", + "categories": [ + "tolerance_decision", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-d2ac87c25de5f542/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [], + "current_numeric_status": "prior_exact_scope_gaps_retained_and_classified" + } + }, + { + "id": "scope-experiment-61d3af054e6a1f6d", + "capability_id": "experiment-61d3af054e6a1f6d", + "route_id": "route-6110e3f0105bc8f1", + "origin_key": "experiment:perovskite_sim.experiments.jv_sweep.compute_ionic_current_components", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "signed_current_components_only" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/jv_sweep.py", + "symbol": "compute_ionic_current_components" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_degradation_frozen_ions.py", + "symbol": "test_nonuniform_ions_have_zero_frozen_flux_and_never_move" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_dc.py", + "symbol": "test_ionic_current_unpack_preserves_dual_ion_with_interface_tail" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_dc.py", + "symbol": "test_assessment_uses_per_species_ionic_current_not_cancelled_net" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py", + "symbol": "test_analytic_component_base_currents_match_the_nonlinear_evaluator" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py", + "symbol": "test_analytic_field_mobility_chain_matches_local_and_current_stencils" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_dc.py", + "symbol": "test_ionmonger_fixed_bias_reaches_two_residual_certified_endpoints" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_impedance.py", + "symbol": "test_ionmonger_certified_dc_drives_reference_frequency_operator" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_ion_aware_impedance.py", + "symbol": "test_symmetric_dual_ion_state_keeps_both_blocking_inventory_constraints" + } + ], + "negative_only_descriptor_rule_ids": [], + "source_quantitative_assertion_ids_for_scope_audit": [ + "rule-b125ea83a7a4b43628fb0e02", + "rule-8ac736746e54fff08bc554c4", + "rule-4b8ddfe7ca36fbe5b1683690", + "rule-1e352273f3c7f432b36155ee", + "rule-6ba65fe83ae52ea630168d4d", + "rule-68bb0a68424341aa50c1c413", + "rule-6cf695e7b480742f7e25f4de", + "rule-d3602a2939cc82e8c507a2fa", + "rule-fb10b04f00f7762f948188b6", + "rule-2d3cfdc4689f093ca2bf9ff3", + "rule-b2cd77daa07296dceda22d6c", + "rule-3fdea22ce4b38641fb466aa4", + "rule-5a85462776fb37fb16c746c1", + "rule-7223d4530b302ad1c838bc67", + "rule-bc2cb77eff2ea9f80b400f35", + "rule-71383ba78d0e2ebafeee354e", + "rule-d4b3e9d5d3df8490e377448e", + "rule-57d438faa072698200e48fe9", + "rule-91e650ed6a373de830b83fbe", + "rule-e4083e8dce586cc1d8105383", + "rule-cbf12a453a500d06dc014575", + "rule-f91e20df80f1f0e8445fd58f", + "rule-ffc3064037551e1aea19671f", + "rule-fd238b10b9e20eb2dc613838" + ], + "rule_ids": [ + "M_payload", + "current_packet" + ], + "citations": [], + "remaining_inputs": [ + { + "field": "numeric reference current scale and absolute weak/zero current allowance, in the actual A or A m-2 output unit", + "needed_from": "experiment-61d3af054e6a1f6d exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_degradation_frozen_ions.py::test_nonuniform_ions_have_zero_frozen_flux_and_never_move, perovskite-sim/tests/unit/experiments/test_ion_aware_dc.py::test_ionic_current_unpack_preserves_dual_ion_with_interface_tail, perovskite-sim/tests/unit/experiments/test_ion_aware_dc.py::test_assessment_uses_per_species_ionic_current_not_cancelled_net, perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_analytic_component_base_currents_match_the_nonlinear_evaluator, perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_analytic_field_mobility_chain_matches_local_and_current_stencils, perovskite-sim/tests/int", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.jv_sweep.compute_ionic_current_components" + }, + { + "field": "each component/sign/port/support, observation times and both event sides", + "needed_from": "experiment-61d3af054e6a1f6d exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_degradation_frozen_ions.py::test_nonuniform_ions_have_zero_frozen_flux_and_never_move, perovskite-sim/tests/unit/experiments/test_ion_aware_dc.py::test_ionic_current_unpack_preserves_dual_ion_with_interface_tail, perovskite-sim/tests/unit/experiments/test_ion_aware_dc.py::test_assessment_uses_per_species_ionic_current_not_cancelled_net, perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_analytic_component_base_currents_match_the_nonlinear_evaluator, perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_analytic_field_mobility_chain_matches_local_and_current_stencils, perovskite-sim/tests/int", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.jv_sweep.compute_ionic_current_components" + }, + { + "field": "pointwise current uncertainty and a pointwise comparison limit; integrated charge is not a substitute", + "needed_from": "experiment-61d3af054e6a1f6d exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_degradation_frozen_ions.py::test_nonuniform_ions_have_zero_frozen_flux_and_never_move, perovskite-sim/tests/unit/experiments/test_ion_aware_dc.py::test_ionic_current_unpack_preserves_dual_ion_with_interface_tail, perovskite-sim/tests/unit/experiments/test_ion_aware_dc.py::test_assessment_uses_per_species_ionic_current_not_cancelled_net, perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_analytic_component_base_currents_match_the_nonlinear_evaluator, perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_analytic_field_mobility_chain_matches_local_and_current_stencils, perovskite-sim/tests/int", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.jv_sweep.compute_ionic_current_components" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-61d3af054e6a1f6d/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + } + ], + "downstream_tasks": [ + "P04-05", + "P05-01", + "P05-02" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-experiment-61d3af054e6a1f6d" + }, + "scope_specific_prior_gaps": [ + { + "field": "numeric reference current scale and absolute weak/zero current allowance, in the actual A or A m-2 output unit", + "needed_from": "experiment-61d3af054e6a1f6d exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_degradation_frozen_ions.py::test_nonuniform_ions_have_zero_frozen_flux_and_never_move, perovskite-sim/tests/unit/experiments/test_ion_aware_dc.py::test_ionic_current_unpack_preserves_dual_ion_with_interface_tail, perovskite-sim/tests/unit/experiments/test_ion_aware_dc.py::test_assessment_uses_per_species_ionic_current_not_cancelled_net, perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_analytic_component_base_currents_match_the_nonlinear_evaluator, perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_analytic_field_mobility_chain_matches_local_and_current_stencils, perovskite-sim/tests/int", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.jv_sweep.compute_ionic_current_components", + "categories": [ + "source_configuration", + "tolerance_decision" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "each component/sign/port/support, observation times and both event sides", + "needed_from": "experiment-61d3af054e6a1f6d exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_degradation_frozen_ions.py::test_nonuniform_ions_have_zero_frozen_flux_and_never_move, perovskite-sim/tests/unit/experiments/test_ion_aware_dc.py::test_ionic_current_unpack_preserves_dual_ion_with_interface_tail, perovskite-sim/tests/unit/experiments/test_ion_aware_dc.py::test_assessment_uses_per_species_ionic_current_not_cancelled_net, perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_analytic_component_base_currents_match_the_nonlinear_evaluator, perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_analytic_field_mobility_chain_matches_local_and_current_stencils, perovskite-sim/tests/int", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.jv_sweep.compute_ionic_current_components", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "pointwise current uncertainty and a pointwise comparison limit; integrated charge is not a substitute", + "needed_from": "experiment-61d3af054e6a1f6d exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_degradation_frozen_ions.py::test_nonuniform_ions_have_zero_frozen_flux_and_never_move, perovskite-sim/tests/unit/experiments/test_ion_aware_dc.py::test_ionic_current_unpack_preserves_dual_ion_with_interface_tail, perovskite-sim/tests/unit/experiments/test_ion_aware_dc.py::test_assessment_uses_per_species_ionic_current_not_cancelled_net, perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_analytic_component_base_currents_match_the_nonlinear_evaluator, perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_analytic_field_mobility_chain_matches_local_and_current_stencils, perovskite-sim/tests/int", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.jv_sweep.compute_ionic_current_components", + "categories": [ + "tolerance_decision", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-61d3af054e6a1f6d/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [], + "current_numeric_status": "prior_exact_scope_gaps_retained_and_classified" + } + }, + { + "id": "scope-experiment-7fed102e77dec518", + "capability_id": "experiment-7fed102e77dec518", + "route_id": "route-6110e3f0105bc8f1", + "origin_key": "experiment:perovskite_sim.experiments.jv_sweep.compute_metrics", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "derived_JV_scalar_metrics_not_a_device_solver" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/jv_sweep.py", + "symbol": "compute_metrics" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_grading_cigs_notch.py", + "symbol": "test_cigs_back_grading_raises_voc_without_jsc_collapse" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_twod_microstructure.py", + "symbol": "test_twod_singleGB_lowers_voc" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_twod_validation.py", + "symbol": "test_twod_field_mobility_parity_vs_1d" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_twod_validation.py", + "symbol": "test_twod_radiative_reabsorption_full_sweep_parity_vs_1d" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_twod_validation.py", + "symbol": "test_twod_robin_bounded_shift_vs_dirichlet" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_twod_validation.py", + "symbol": "test_twod_robin_parity_vs_1d" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_twod_validation.py", + "symbol": "test_twod_robin_parity_vs_1d_aggressive_blocking" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_twod_validation.py", + "symbol": "test_twod_uniform_matches_1d_within_tolerance" + } + ], + "negative_only_descriptor_rule_ids": [], + "source_quantitative_assertion_ids_for_scope_audit": [ + "rule-603dafd7ce04a6e4427485fe", + "rule-e00987f78c972ac6e4944493", + "rule-c4e54b15ddbe780dc1e39c69", + "rule-eac2e441301918ebd7b90010", + "rule-5566cb7cb2e99f7d8ed050bd", + "rule-db454c4246c80ac747ceb19f", + "rule-5225dcd52df180b37157e8a0", + "rule-0ccd2c32682a386dee9b7843", + "rule-27c471176ac0cd30c5e0b9b8", + "rule-bb390ff16afac1202dba0527", + "rule-68d22b977e5d97cd2020758e", + "rule-e710cad7a5f402d701f7102e", + "rule-a0e01952bb8a4c247c8dabba", + "rule-5819e99c8d717c680498a0a5", + "rule-766b94248e3b79ae4fd32ddd", + "rule-4af421f8baeace03a0433899", + "rule-d1f315768e735dbee18f60d5", + "rule-1ecd1275f8f60c9c19b795a2", + "rule-abeeb07a1577083e175cd08d", + "rule-19096a3ce41217f74d70cedd", + "rule-475ba7e7b0a09bfd02e79693", + "rule-a233358bdf9e909e07f75842", + "rule-c1d99091dfbeba9cad28f882", + "rule-115196d587ba3311b2e57a49", + "rule-6e16a219a7d274a8f8cc5446" + ], + "rule_ids": [ + "M_payload", + "Voc_absolute", + "JV_metric_packet" + ], + "citations": [], + "remaining_inputs": [ + { + "field": "fixed numeric Jsc/FF/PCE reference values/scales with the actual output units and conversion identity", + "needed_from": "experiment-7fed102e77dec518 exact original driver/reference observation packet; perovskite-sim/tests/regression/test_grading_cigs_notch.py::test_cigs_back_grading_raises_voc_without_jsc_collapse, perovskite-sim/tests/regression/test_twod_microstructure.py::test_twod_singleGB_lowers_voc, perovskite-sim/tests/regression/test_twod_validation.py::test_twod_field_mobility_parity_vs_1d, perovskite-sim/tests/regression/test_twod_validation.py::test_twod_radiative_reabsorption_full_sweep_parity_vs_1d, perovskite-sim/tests/regression/test_twod_validation.py::test_twod_robin_bounded_shift_vs_dirichlet, perovskite-sim/tests/regression/test_twod_validation.py::test_twod_robin_parity_vs_1d, perovskite-sim/tests/regression/test_twod_validation.py::test_twod_robin_parity_vs_1d_aggress", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.jv_sweep.compute_metrics" + }, + { + "field": "dimensional dark/weak Jsc and zero-power absolute limits with error evidence", + "needed_from": "experiment-7fed102e77dec518 exact original driver/reference observation packet; perovskite-sim/tests/regression/test_grading_cigs_notch.py::test_cigs_back_grading_raises_voc_without_jsc_collapse, perovskite-sim/tests/regression/test_twod_microstructure.py::test_twod_singleGB_lowers_voc, perovskite-sim/tests/regression/test_twod_validation.py::test_twod_field_mobility_parity_vs_1d, perovskite-sim/tests/regression/test_twod_validation.py::test_twod_radiative_reabsorption_full_sweep_parity_vs_1d, perovskite-sim/tests/regression/test_twod_validation.py::test_twod_robin_bounded_shift_vs_dirichlet, perovskite-sim/tests/regression/test_twod_validation.py::test_twod_robin_parity_vs_1d, perovskite-sim/tests/regression/test_twod_validation.py::test_twod_robin_parity_vs_1d_aggress", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.jv_sweep.compute_metrics" + }, + { + "field": "Voc bracket, dJ/dV and current-error propagation bound; MPP sampling and full branch coordinates", + "needed_from": "experiment-7fed102e77dec518 exact original driver/reference observation packet; perovskite-sim/tests/regression/test_grading_cigs_notch.py::test_cigs_back_grading_raises_voc_without_jsc_collapse, perovskite-sim/tests/regression/test_twod_microstructure.py::test_twod_singleGB_lowers_voc, perovskite-sim/tests/regression/test_twod_validation.py::test_twod_field_mobility_parity_vs_1d, perovskite-sim/tests/regression/test_twod_validation.py::test_twod_radiative_reabsorption_full_sweep_parity_vs_1d, perovskite-sim/tests/regression/test_twod_validation.py::test_twod_robin_bounded_shift_vs_dirichlet, perovskite-sim/tests/regression/test_twod_validation.py::test_twod_robin_parity_vs_1d, perovskite-sim/tests/regression/test_twod_validation.py::test_twod_robin_parity_vs_1d_aggress", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.jv_sweep.compute_metrics" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-7fed102e77dec518/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + } + ], + "downstream_tasks": [ + "P04-05", + "P05-01", + "P05-02" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-experiment-7fed102e77dec518" + }, + "scope_specific_prior_gaps": [ + { + "field": "fixed numeric Jsc/FF/PCE reference values/scales with the actual output units and conversion identity", + "needed_from": "experiment-7fed102e77dec518 exact original driver/reference observation packet; perovskite-sim/tests/regression/test_grading_cigs_notch.py::test_cigs_back_grading_raises_voc_without_jsc_collapse, perovskite-sim/tests/regression/test_twod_microstructure.py::test_twod_singleGB_lowers_voc, perovskite-sim/tests/regression/test_twod_validation.py::test_twod_field_mobility_parity_vs_1d, perovskite-sim/tests/regression/test_twod_validation.py::test_twod_radiative_reabsorption_full_sweep_parity_vs_1d, perovskite-sim/tests/regression/test_twod_validation.py::test_twod_robin_bounded_shift_vs_dirichlet, perovskite-sim/tests/regression/test_twod_validation.py::test_twod_robin_parity_vs_1d, perovskite-sim/tests/regression/test_twod_validation.py::test_twod_robin_parity_vs_1d_aggress", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.jv_sweep.compute_metrics", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "dimensional dark/weak Jsc and zero-power absolute limits with error evidence", + "needed_from": "experiment-7fed102e77dec518 exact original driver/reference observation packet; perovskite-sim/tests/regression/test_grading_cigs_notch.py::test_cigs_back_grading_raises_voc_without_jsc_collapse, perovskite-sim/tests/regression/test_twod_microstructure.py::test_twod_singleGB_lowers_voc, perovskite-sim/tests/regression/test_twod_validation.py::test_twod_field_mobility_parity_vs_1d, perovskite-sim/tests/regression/test_twod_validation.py::test_twod_radiative_reabsorption_full_sweep_parity_vs_1d, perovskite-sim/tests/regression/test_twod_validation.py::test_twod_robin_bounded_shift_vs_dirichlet, perovskite-sim/tests/regression/test_twod_validation.py::test_twod_robin_parity_vs_1d, perovskite-sim/tests/regression/test_twod_validation.py::test_twod_robin_parity_vs_1d_aggress", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.jv_sweep.compute_metrics", + "categories": [ + "tolerance_decision", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "Voc bracket, dJ/dV and current-error propagation bound; MPP sampling and full branch coordinates", + "needed_from": "experiment-7fed102e77dec518 exact original driver/reference observation packet; perovskite-sim/tests/regression/test_grading_cigs_notch.py::test_cigs_back_grading_raises_voc_without_jsc_collapse, perovskite-sim/tests/regression/test_twod_microstructure.py::test_twod_singleGB_lowers_voc, perovskite-sim/tests/regression/test_twod_validation.py::test_twod_field_mobility_parity_vs_1d, perovskite-sim/tests/regression/test_twod_validation.py::test_twod_radiative_reabsorption_full_sweep_parity_vs_1d, perovskite-sim/tests/regression/test_twod_validation.py::test_twod_robin_bounded_shift_vs_dirichlet, perovskite-sim/tests/regression/test_twod_validation.py::test_twod_robin_parity_vs_1d, perovskite-sim/tests/regression/test_twod_validation.py::test_twod_robin_parity_vs_1d_aggress", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.jv_sweep.compute_metrics", + "categories": [ + "measurement_data", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-7fed102e77dec518/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [], + "current_numeric_status": "prior_exact_scope_gaps_retained_and_classified" + } + }, + { + "id": "scope-experiment-f390da9f265f080b", + "capability_id": "experiment-f390da9f265f080b", + "route_id": "route-6110e3f0105bc8f1", + "origin_key": "experiment:perovskite_sim.experiments.jv_sweep.extract_spatial_snapshot", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "physical_profiles_or_stored_state_history", + "JV_metrics_and_full_branch", + "current_observation_or_current_input", + "CV_geometry_and_interface_sides" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/jv_sweep.py", + "symbol": "extract_spatial_snapshot" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py", + "symbol": "test_discrete_poisson_implicit_sensitivity_matches_resolved_stencils" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py", + "symbol": "test_phi_frozen_current_path_is_opt_in_and_matches_default" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_spatial_profiles.py", + "symbol": "test_all_finite" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_spatial_profiles.py", + "symbol": "test_carrier_densities_nonnegative" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_spatial_profiles.py", + "symbol": "test_correct_shapes" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_spatial_profiles.py", + "symbol": "test_e_field_consistent_with_phi" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_spatial_profiles.py", + "symbol": "test_ion_density_nonnegative" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_spatial_profiles.py", + "symbol": "test_phi_boundary_conditions" + } + ], + "negative_only_descriptor_rule_ids": [ + "rule-6051b0b7058435a458841535" + ], + "source_quantitative_assertion_ids_for_scope_audit": [ + "rule-ee38ec4d67343612a76e5123", + "rule-3f63d303910c93900ced80e1", + "rule-0471dfe4cba9df3d309d007f", + "rule-25e013633411604076a1ef93", + "rule-24e2d62e896e6a0612c51c47", + "rule-3a5e2acc24c7a279b1305529", + "rule-10ce3ec31159ba39ac0f2977", + "rule-97fb7ff791cd46c4c56ffb7d", + "rule-777046c78fdfd3e914e7b5b8", + "rule-e7295bbc7467e58cb2392548", + "rule-4f35c93d3534ad3be32f28cc" + ], + "rule_ids": [ + "M_payload", + "potential_packet", + "positive_density_log", + "density_inventory_packet", + "Voc_absolute", + "JV_metric_packet", + "current_packet", + "projection_packet" + ], + "citations": [], + "remaining_inputs": [ + { + "field": "numeric fixed thermal/physical voltage scale in V from the exact reference temperature or declared boundary parameters", + "needed_from": "experiment-f390da9f265f080b exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_discrete_poisson_implicit_sensitivity_matches_resolved_stencils, perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_phi_frozen_current_path_is_opt_in_and_matches_default, perovskite-sim/tests/unit/experiments/test_spatial_profiles.py::test_all_finite, perovskite-sim/tests/unit/experiments/test_spatial_profiles.py::test_carrier_densities_nonnegative, perovskite-sim/tests/unit/experiments/test_spatial_profiles.py::test_correct_shapes, perovskite-sim/tests/unit/experiments/test_spatial_profiles.py::test_e_field_consistent_with_phi, perovskite-sim/tests/unit/experiments/test_spatial_p", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.jv_sweep.extract_spatial_snapshot" + }, + { + "field": "actual reference CV weights/support and physical gauge/contact values; allowed mask", + "needed_from": "experiment-f390da9f265f080b exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_discrete_poisson_implicit_sensitivity_matches_resolved_stencils, perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_phi_frozen_current_path_is_opt_in_and_matches_default, perovskite-sim/tests/unit/experiments/test_spatial_profiles.py::test_all_finite, perovskite-sim/tests/unit/experiments/test_spatial_profiles.py::test_carrier_densities_nonnegative, perovskite-sim/tests/unit/experiments/test_spatial_profiles.py::test_correct_shapes, perovskite-sim/tests/unit/experiments/test_spatial_profiles.py::test_e_field_consistent_with_phi, perovskite-sim/tests/unit/experiments/test_spatial_p", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.jv_sweep.extract_spatial_snapshot" + }, + { + "field": "independent source/grid/time/mapping error in V and its qualified reference identity", + "needed_from": "experiment-f390da9f265f080b exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_discrete_poisson_implicit_sensitivity_matches_resolved_stencils, perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_phi_frozen_current_path_is_opt_in_and_matches_default, perovskite-sim/tests/unit/experiments/test_spatial_profiles.py::test_all_finite, perovskite-sim/tests/unit/experiments/test_spatial_profiles.py::test_carrier_densities_nonnegative, perovskite-sim/tests/unit/experiments/test_spatial_profiles.py::test_correct_shapes, perovskite-sim/tests/unit/experiments/test_spatial_profiles.py::test_e_field_consistent_with_phi, perovskite-sim/tests/unit/experiments/test_spatial_p", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.jv_sweep.extract_spatial_snapshot" + }, + { + "field": "per-species/per-connected-domain positive reference inventory numeric scale and unit (1 or m-2, according to actual CV measure)", + "needed_from": "experiment-f390da9f265f080b exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_discrete_poisson_implicit_sensitivity_matches_resolved_stencils, perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_phi_frozen_current_path_is_opt_in_and_matches_default, perovskite-sim/tests/unit/experiments/test_spatial_profiles.py::test_all_finite, perovskite-sim/tests/unit/experiments/test_spatial_profiles.py::test_carrier_densities_nonnegative, perovskite-sim/tests/unit/experiments/test_spatial_profiles.py::test_correct_shapes, perovskite-sim/tests/unit/experiments/test_spatial_profiles.py::test_e_field_consistent_with_phi, perovskite-sim/tests/unit/experiments/test_spatial_p", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.jv_sweep.extract_spatial_snapshot" + }, + { + "field": "zero-species/zero-cell identity and numeric dimensional absolute gate from model absence or reference error evidence", + "needed_from": "experiment-f390da9f265f080b exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_discrete_poisson_implicit_sensitivity_matches_resolved_stencils, perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_phi_frozen_current_path_is_opt_in_and_matches_default, perovskite-sim/tests/unit/experiments/test_spatial_profiles.py::test_all_finite, perovskite-sim/tests/unit/experiments/test_spatial_profiles.py::test_carrier_densities_nonnegative, perovskite-sim/tests/unit/experiments/test_spatial_profiles.py::test_correct_shapes, perovskite-sim/tests/unit/experiments/test_spatial_profiles.py::test_e_field_consistent_with_phi, perovskite-sim/tests/unit/experiments/test_spatial_p", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.jv_sweep.extract_spatial_snapshot" + }, + { + "field": "actual volumes, component labels and independent log/inventory uncertainty", + "needed_from": "experiment-f390da9f265f080b exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_discrete_poisson_implicit_sensitivity_matches_resolved_stencils, perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_phi_frozen_current_path_is_opt_in_and_matches_default, perovskite-sim/tests/unit/experiments/test_spatial_profiles.py::test_all_finite, perovskite-sim/tests/unit/experiments/test_spatial_profiles.py::test_carrier_densities_nonnegative, perovskite-sim/tests/unit/experiments/test_spatial_profiles.py::test_correct_shapes, perovskite-sim/tests/unit/experiments/test_spatial_profiles.py::test_e_field_consistent_with_phi, perovskite-sim/tests/unit/experiments/test_spatial_p", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.jv_sweep.extract_spatial_snapshot" + }, + { + "field": "fixed numeric Jsc/FF/PCE reference values/scales with the actual output units and conversion identity", + "needed_from": "experiment-f390da9f265f080b exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_discrete_poisson_implicit_sensitivity_matches_resolved_stencils, perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_phi_frozen_current_path_is_opt_in_and_matches_default, perovskite-sim/tests/unit/experiments/test_spatial_profiles.py::test_all_finite, perovskite-sim/tests/unit/experiments/test_spatial_profiles.py::test_carrier_densities_nonnegative, perovskite-sim/tests/unit/experiments/test_spatial_profiles.py::test_correct_shapes, perovskite-sim/tests/unit/experiments/test_spatial_profiles.py::test_e_field_consistent_with_phi, perovskite-sim/tests/unit/experiments/test_spatial_p", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.jv_sweep.extract_spatial_snapshot" + }, + { + "field": "dimensional dark/weak Jsc and zero-power absolute limits with error evidence", + "needed_from": "experiment-f390da9f265f080b exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_discrete_poisson_implicit_sensitivity_matches_resolved_stencils, perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_phi_frozen_current_path_is_opt_in_and_matches_default, perovskite-sim/tests/unit/experiments/test_spatial_profiles.py::test_all_finite, perovskite-sim/tests/unit/experiments/test_spatial_profiles.py::test_carrier_densities_nonnegative, perovskite-sim/tests/unit/experiments/test_spatial_profiles.py::test_correct_shapes, perovskite-sim/tests/unit/experiments/test_spatial_profiles.py::test_e_field_consistent_with_phi, perovskite-sim/tests/unit/experiments/test_spatial_p", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.jv_sweep.extract_spatial_snapshot" + }, + { + "field": "Voc bracket, dJ/dV and current-error propagation bound; MPP sampling and full branch coordinates", + "needed_from": "experiment-f390da9f265f080b exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_discrete_poisson_implicit_sensitivity_matches_resolved_stencils, perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_phi_frozen_current_path_is_opt_in_and_matches_default, perovskite-sim/tests/unit/experiments/test_spatial_profiles.py::test_all_finite, perovskite-sim/tests/unit/experiments/test_spatial_profiles.py::test_carrier_densities_nonnegative, perovskite-sim/tests/unit/experiments/test_spatial_profiles.py::test_correct_shapes, perovskite-sim/tests/unit/experiments/test_spatial_profiles.py::test_e_field_consistent_with_phi, perovskite-sim/tests/unit/experiments/test_spatial_p", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.jv_sweep.extract_spatial_snapshot" + }, + { + "field": "numeric reference current scale and absolute weak/zero current allowance, in the actual A or A m-2 output unit", + "needed_from": "experiment-f390da9f265f080b exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_discrete_poisson_implicit_sensitivity_matches_resolved_stencils, perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_phi_frozen_current_path_is_opt_in_and_matches_default, perovskite-sim/tests/unit/experiments/test_spatial_profiles.py::test_all_finite, perovskite-sim/tests/unit/experiments/test_spatial_profiles.py::test_carrier_densities_nonnegative, perovskite-sim/tests/unit/experiments/test_spatial_profiles.py::test_correct_shapes, perovskite-sim/tests/unit/experiments/test_spatial_profiles.py::test_e_field_consistent_with_phi, perovskite-sim/tests/unit/experiments/test_spatial_p", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.jv_sweep.extract_spatial_snapshot" + }, + { + "field": "each component/sign/port/support, observation times and both event sides", + "needed_from": "experiment-f390da9f265f080b exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_discrete_poisson_implicit_sensitivity_matches_resolved_stencils, perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_phi_frozen_current_path_is_opt_in_and_matches_default, perovskite-sim/tests/unit/experiments/test_spatial_profiles.py::test_all_finite, perovskite-sim/tests/unit/experiments/test_spatial_profiles.py::test_carrier_densities_nonnegative, perovskite-sim/tests/unit/experiments/test_spatial_profiles.py::test_correct_shapes, perovskite-sim/tests/unit/experiments/test_spatial_profiles.py::test_e_field_consistent_with_phi, perovskite-sim/tests/unit/experiments/test_spatial_p", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.jv_sweep.extract_spatial_snapshot" + }, + { + "field": "pointwise current uncertainty and a pointwise comparison limit; integrated charge is not a substitute", + "needed_from": "experiment-f390da9f265f080b exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_discrete_poisson_implicit_sensitivity_matches_resolved_stencils, perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_phi_frozen_current_path_is_opt_in_and_matches_default, perovskite-sim/tests/unit/experiments/test_spatial_profiles.py::test_all_finite, perovskite-sim/tests/unit/experiments/test_spatial_profiles.py::test_carrier_densities_nonnegative, perovskite-sim/tests/unit/experiments/test_spatial_profiles.py::test_correct_shapes, perovskite-sim/tests/unit/experiments/test_spatial_profiles.py::test_e_field_consistent_with_phi, perovskite-sim/tests/unit/experiments/test_spatial_p", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.jv_sweep.extract_spatial_snapshot" + }, + { + "field": "source/target geometry and a verified conservative CV intersection/projection artifact or explicit1D cell averages", + "needed_from": "experiment-f390da9f265f080b exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_discrete_poisson_implicit_sensitivity_matches_resolved_stencils, perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_phi_frozen_current_path_is_opt_in_and_matches_default, perovskite-sim/tests/unit/experiments/test_spatial_profiles.py::test_all_finite, perovskite-sim/tests/unit/experiments/test_spatial_profiles.py::test_carrier_densities_nonnegative, perovskite-sim/tests/unit/experiments/test_spatial_profiles.py::test_correct_shapes, perovskite-sim/tests/unit/experiments/test_spatial_profiles.py::test_e_field_consistent_with_phi, perovskite-sim/tests/unit/experiments/test_spatial_p", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.jv_sweep.extract_spatial_snapshot" + }, + { + "field": "fixed numeric integral/inventory/left-trace/right-trace scales and limits in their physical units", + "needed_from": "experiment-f390da9f265f080b exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_discrete_poisson_implicit_sensitivity_matches_resolved_stencils, perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_phi_frozen_current_path_is_opt_in_and_matches_default, perovskite-sim/tests/unit/experiments/test_spatial_profiles.py::test_all_finite, perovskite-sim/tests/unit/experiments/test_spatial_profiles.py::test_carrier_densities_nonnegative, perovskite-sim/tests/unit/experiments/test_spatial_profiles.py::test_correct_shapes, perovskite-sim/tests/unit/experiments/test_spatial_profiles.py::test_e_field_consistent_with_phi, perovskite-sim/tests/unit/experiments/test_spatial_p", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.jv_sweep.extract_spatial_snapshot" + }, + { + "field": "projection error, component topology and every interface-side identity", + "needed_from": "experiment-f390da9f265f080b exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_discrete_poisson_implicit_sensitivity_matches_resolved_stencils, perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_phi_frozen_current_path_is_opt_in_and_matches_default, perovskite-sim/tests/unit/experiments/test_spatial_profiles.py::test_all_finite, perovskite-sim/tests/unit/experiments/test_spatial_profiles.py::test_carrier_densities_nonnegative, perovskite-sim/tests/unit/experiments/test_spatial_profiles.py::test_correct_shapes, perovskite-sim/tests/unit/experiments/test_spatial_profiles.py::test_e_field_consistent_with_phi, perovskite-sim/tests/unit/experiments/test_spatial_p", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.jv_sweep.extract_spatial_snapshot" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-f390da9f265f080b/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + } + ], + "downstream_tasks": [ + "P04-05", + "P05-01", + "P05-02" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-experiment-f390da9f265f080b" + }, + "scope_specific_prior_gaps": [ + { + "field": "numeric fixed thermal/physical voltage scale in V from the exact reference temperature or declared boundary parameters", + "needed_from": "experiment-f390da9f265f080b exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_discrete_poisson_implicit_sensitivity_matches_resolved_stencils, perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_phi_frozen_current_path_is_opt_in_and_matches_default, perovskite-sim/tests/unit/experiments/test_spatial_profiles.py::test_all_finite, perovskite-sim/tests/unit/experiments/test_spatial_profiles.py::test_carrier_densities_nonnegative, perovskite-sim/tests/unit/experiments/test_spatial_profiles.py::test_correct_shapes, perovskite-sim/tests/unit/experiments/test_spatial_profiles.py::test_e_field_consistent_with_phi, perovskite-sim/tests/unit/experiments/test_spatial_p", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.jv_sweep.extract_spatial_snapshot", + "categories": [ + "source_configuration" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual reference CV weights/support and physical gauge/contact values; allowed mask", + "needed_from": "experiment-f390da9f265f080b exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_discrete_poisson_implicit_sensitivity_matches_resolved_stencils, perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_phi_frozen_current_path_is_opt_in_and_matches_default, perovskite-sim/tests/unit/experiments/test_spatial_profiles.py::test_all_finite, perovskite-sim/tests/unit/experiments/test_spatial_profiles.py::test_carrier_densities_nonnegative, perovskite-sim/tests/unit/experiments/test_spatial_profiles.py::test_correct_shapes, perovskite-sim/tests/unit/experiments/test_spatial_profiles.py::test_e_field_consistent_with_phi, perovskite-sim/tests/unit/experiments/test_spatial_p", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.jv_sweep.extract_spatial_snapshot", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "independent source/grid/time/mapping error in V and its qualified reference identity", + "needed_from": "experiment-f390da9f265f080b exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_discrete_poisson_implicit_sensitivity_matches_resolved_stencils, perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_phi_frozen_current_path_is_opt_in_and_matches_default, perovskite-sim/tests/unit/experiments/test_spatial_profiles.py::test_all_finite, perovskite-sim/tests/unit/experiments/test_spatial_profiles.py::test_carrier_densities_nonnegative, perovskite-sim/tests/unit/experiments/test_spatial_profiles.py::test_correct_shapes, perovskite-sim/tests/unit/experiments/test_spatial_profiles.py::test_e_field_consistent_with_phi, perovskite-sim/tests/unit/experiments/test_spatial_p", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.jv_sweep.extract_spatial_snapshot", + "categories": [ + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "per-species/per-connected-domain positive reference inventory numeric scale and unit (1 or m-2, according to actual CV measure)", + "needed_from": "experiment-f390da9f265f080b exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_discrete_poisson_implicit_sensitivity_matches_resolved_stencils, perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_phi_frozen_current_path_is_opt_in_and_matches_default, perovskite-sim/tests/unit/experiments/test_spatial_profiles.py::test_all_finite, perovskite-sim/tests/unit/experiments/test_spatial_profiles.py::test_carrier_densities_nonnegative, perovskite-sim/tests/unit/experiments/test_spatial_profiles.py::test_correct_shapes, perovskite-sim/tests/unit/experiments/test_spatial_profiles.py::test_e_field_consistent_with_phi, perovskite-sim/tests/unit/experiments/test_spatial_p", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.jv_sweep.extract_spatial_snapshot", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "zero-species/zero-cell identity and numeric dimensional absolute gate from model absence or reference error evidence", + "needed_from": "experiment-f390da9f265f080b exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_discrete_poisson_implicit_sensitivity_matches_resolved_stencils, perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_phi_frozen_current_path_is_opt_in_and_matches_default, perovskite-sim/tests/unit/experiments/test_spatial_profiles.py::test_all_finite, perovskite-sim/tests/unit/experiments/test_spatial_profiles.py::test_carrier_densities_nonnegative, perovskite-sim/tests/unit/experiments/test_spatial_profiles.py::test_correct_shapes, perovskite-sim/tests/unit/experiments/test_spatial_profiles.py::test_e_field_consistent_with_phi, perovskite-sim/tests/unit/experiments/test_spatial_p", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.jv_sweep.extract_spatial_snapshot", + "categories": [ + "source_configuration", + "tolerance_decision" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual volumes, component labels and independent log/inventory uncertainty", + "needed_from": "experiment-f390da9f265f080b exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_discrete_poisson_implicit_sensitivity_matches_resolved_stencils, perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_phi_frozen_current_path_is_opt_in_and_matches_default, perovskite-sim/tests/unit/experiments/test_spatial_profiles.py::test_all_finite, perovskite-sim/tests/unit/experiments/test_spatial_profiles.py::test_carrier_densities_nonnegative, perovskite-sim/tests/unit/experiments/test_spatial_profiles.py::test_correct_shapes, perovskite-sim/tests/unit/experiments/test_spatial_profiles.py::test_e_field_consistent_with_phi, perovskite-sim/tests/unit/experiments/test_spatial_p", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.jv_sweep.extract_spatial_snapshot", + "categories": [ + "measurement_data", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "fixed numeric Jsc/FF/PCE reference values/scales with the actual output units and conversion identity", + "needed_from": "experiment-f390da9f265f080b exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_discrete_poisson_implicit_sensitivity_matches_resolved_stencils, perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_phi_frozen_current_path_is_opt_in_and_matches_default, perovskite-sim/tests/unit/experiments/test_spatial_profiles.py::test_all_finite, perovskite-sim/tests/unit/experiments/test_spatial_profiles.py::test_carrier_densities_nonnegative, perovskite-sim/tests/unit/experiments/test_spatial_profiles.py::test_correct_shapes, perovskite-sim/tests/unit/experiments/test_spatial_profiles.py::test_e_field_consistent_with_phi, perovskite-sim/tests/unit/experiments/test_spatial_p", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.jv_sweep.extract_spatial_snapshot", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "dimensional dark/weak Jsc and zero-power absolute limits with error evidence", + "needed_from": "experiment-f390da9f265f080b exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_discrete_poisson_implicit_sensitivity_matches_resolved_stencils, perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_phi_frozen_current_path_is_opt_in_and_matches_default, perovskite-sim/tests/unit/experiments/test_spatial_profiles.py::test_all_finite, perovskite-sim/tests/unit/experiments/test_spatial_profiles.py::test_carrier_densities_nonnegative, perovskite-sim/tests/unit/experiments/test_spatial_profiles.py::test_correct_shapes, perovskite-sim/tests/unit/experiments/test_spatial_profiles.py::test_e_field_consistent_with_phi, perovskite-sim/tests/unit/experiments/test_spatial_p", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.jv_sweep.extract_spatial_snapshot", + "categories": [ + "tolerance_decision", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "Voc bracket, dJ/dV and current-error propagation bound; MPP sampling and full branch coordinates", + "needed_from": "experiment-f390da9f265f080b exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_discrete_poisson_implicit_sensitivity_matches_resolved_stencils, perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_phi_frozen_current_path_is_opt_in_and_matches_default, perovskite-sim/tests/unit/experiments/test_spatial_profiles.py::test_all_finite, perovskite-sim/tests/unit/experiments/test_spatial_profiles.py::test_carrier_densities_nonnegative, perovskite-sim/tests/unit/experiments/test_spatial_profiles.py::test_correct_shapes, perovskite-sim/tests/unit/experiments/test_spatial_profiles.py::test_e_field_consistent_with_phi, perovskite-sim/tests/unit/experiments/test_spatial_p", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.jv_sweep.extract_spatial_snapshot", + "categories": [ + "measurement_data", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "numeric reference current scale and absolute weak/zero current allowance, in the actual A or A m-2 output unit", + "needed_from": "experiment-f390da9f265f080b exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_discrete_poisson_implicit_sensitivity_matches_resolved_stencils, perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_phi_frozen_current_path_is_opt_in_and_matches_default, perovskite-sim/tests/unit/experiments/test_spatial_profiles.py::test_all_finite, perovskite-sim/tests/unit/experiments/test_spatial_profiles.py::test_carrier_densities_nonnegative, perovskite-sim/tests/unit/experiments/test_spatial_profiles.py::test_correct_shapes, perovskite-sim/tests/unit/experiments/test_spatial_profiles.py::test_e_field_consistent_with_phi, perovskite-sim/tests/unit/experiments/test_spatial_p", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.jv_sweep.extract_spatial_snapshot", + "categories": [ + "source_configuration", + "tolerance_decision" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "each component/sign/port/support, observation times and both event sides", + "needed_from": "experiment-f390da9f265f080b exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_discrete_poisson_implicit_sensitivity_matches_resolved_stencils, perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_phi_frozen_current_path_is_opt_in_and_matches_default, perovskite-sim/tests/unit/experiments/test_spatial_profiles.py::test_all_finite, perovskite-sim/tests/unit/experiments/test_spatial_profiles.py::test_carrier_densities_nonnegative, perovskite-sim/tests/unit/experiments/test_spatial_profiles.py::test_correct_shapes, perovskite-sim/tests/unit/experiments/test_spatial_profiles.py::test_e_field_consistent_with_phi, perovskite-sim/tests/unit/experiments/test_spatial_p", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.jv_sweep.extract_spatial_snapshot", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "pointwise current uncertainty and a pointwise comparison limit; integrated charge is not a substitute", + "needed_from": "experiment-f390da9f265f080b exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_discrete_poisson_implicit_sensitivity_matches_resolved_stencils, perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_phi_frozen_current_path_is_opt_in_and_matches_default, perovskite-sim/tests/unit/experiments/test_spatial_profiles.py::test_all_finite, perovskite-sim/tests/unit/experiments/test_spatial_profiles.py::test_carrier_densities_nonnegative, perovskite-sim/tests/unit/experiments/test_spatial_profiles.py::test_correct_shapes, perovskite-sim/tests/unit/experiments/test_spatial_profiles.py::test_e_field_consistent_with_phi, perovskite-sim/tests/unit/experiments/test_spatial_p", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.jv_sweep.extract_spatial_snapshot", + "categories": [ + "tolerance_decision", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "source/target geometry and a verified conservative CV intersection/projection artifact or explicit1D cell averages", + "needed_from": "experiment-f390da9f265f080b exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_discrete_poisson_implicit_sensitivity_matches_resolved_stencils, perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_phi_frozen_current_path_is_opt_in_and_matches_default, perovskite-sim/tests/unit/experiments/test_spatial_profiles.py::test_all_finite, perovskite-sim/tests/unit/experiments/test_spatial_profiles.py::test_carrier_densities_nonnegative, perovskite-sim/tests/unit/experiments/test_spatial_profiles.py::test_correct_shapes, perovskite-sim/tests/unit/experiments/test_spatial_profiles.py::test_e_field_consistent_with_phi, perovskite-sim/tests/unit/experiments/test_spatial_p", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.jv_sweep.extract_spatial_snapshot", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "fixed numeric integral/inventory/left-trace/right-trace scales and limits in their physical units", + "needed_from": "experiment-f390da9f265f080b exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_discrete_poisson_implicit_sensitivity_matches_resolved_stencils, perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_phi_frozen_current_path_is_opt_in_and_matches_default, perovskite-sim/tests/unit/experiments/test_spatial_profiles.py::test_all_finite, perovskite-sim/tests/unit/experiments/test_spatial_profiles.py::test_carrier_densities_nonnegative, perovskite-sim/tests/unit/experiments/test_spatial_profiles.py::test_correct_shapes, perovskite-sim/tests/unit/experiments/test_spatial_profiles.py::test_e_field_consistent_with_phi, perovskite-sim/tests/unit/experiments/test_spatial_p", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.jv_sweep.extract_spatial_snapshot", + "categories": [ + "source_configuration", + "tolerance_decision" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "projection error, component topology and every interface-side identity", + "needed_from": "experiment-f390da9f265f080b exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_discrete_poisson_implicit_sensitivity_matches_resolved_stencils, perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py::test_phi_frozen_current_path_is_opt_in_and_matches_default, perovskite-sim/tests/unit/experiments/test_spatial_profiles.py::test_all_finite, perovskite-sim/tests/unit/experiments/test_spatial_profiles.py::test_carrier_densities_nonnegative, perovskite-sim/tests/unit/experiments/test_spatial_profiles.py::test_correct_shapes, perovskite-sim/tests/unit/experiments/test_spatial_profiles.py::test_e_field_consistent_with_phi, perovskite-sim/tests/unit/experiments/test_spatial_p", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.jv_sweep.extract_spatial_snapshot", + "categories": [ + "source_configuration", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-f390da9f265f080b/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [], + "current_numeric_status": "prior_exact_scope_gaps_retained_and_classified" + } + }, + { + "id": "scope-experiment-d1aee10f514c8af5", + "capability_id": "experiment-d1aee10f514c8af5", + "route_id": "route-6110e3f0105bc8f1", + "origin_key": "experiment:perovskite_sim.experiments.jv_sweep.run_jv_sweep", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "JV_metrics_and_full_branch", + "current_observation_or_current_input" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/jv_sweep.py", + "symbol": "run_jv_sweep" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_dual_ion_integration.py", + "symbol": "TestDualIonJV.test_jv_dual_species" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_dual_ion_integration.py", + "symbol": "TestDualIonJV.test_jv_dual_vs_single_similar" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_e1_5_cross_carrier_srh.py", + "symbol": "test_cross_carrier_preserves_baseline_voc" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_e1_6_calibration_factor.py", + "symbol": "test_n_t_calibration_factor_equivalence_on_scaps_mirror" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_e1_6_calibration_factor.py", + "symbol": "test_scaps_mirror_baseline_unchanged_post_e1_6_migration" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_e3_interface_plane_assemble_rhs.py", + "symbol": "test_jv_sweep_legacy_voc_when_env_unset" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_e3_interface_plane_assemble_rhs.py", + "symbol": "test_jv_sweep_voc_moves_when_env_active" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_e4_split_integration.py", + "symbol": "test_jv_sweep_voc_in_envelope_with_split" + } + ], + "negative_only_descriptor_rule_ids": [], + "source_quantitative_assertion_ids_for_scope_audit": [ + "rule-4d50e7a5d3d1aa3ec63231b9", + "rule-a67707ba91ffaa28a738a9bd", + "rule-b655b2c300eebb5d1f279af4", + "rule-2478f4fa2a5cd384ef2d83f5", + "rule-53012f39d80eeaab5181236f", + "rule-b50cb6bafd33975b8b1ec068", + "rule-40012073b938a30438a4dbe0", + "rule-4a937f43074e9a9c1920bcf8", + "rule-43ffbe25602987eaf0e03b03", + "rule-7242b2aaaece78b1107b5334", + "rule-af1216a96f16eea3ab4004bc" + ], + "rule_ids": [ + "M_payload", + "Voc_absolute", + "JV_metric_packet", + "current_packet" + ], + "citations": [], + "remaining_inputs": [ + { + "field": "fixed numeric Jsc/FF/PCE reference values/scales with the actual output units and conversion identity", + "needed_from": "experiment-d1aee10f514c8af5 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_dual_ion_integration.py::TestDualIonJV::test_jv_dual_species, perovskite-sim/tests/integration/test_dual_ion_integration.py::TestDualIonJV::test_jv_dual_vs_single_similar, perovskite-sim/tests/integration/test_e1_5_cross_carrier_srh.py::test_cross_carrier_preserves_baseline_voc, perovskite-sim/tests/integration/test_e1_6_calibration_factor.py::test_n_t_calibration_factor_equivalence_on_scaps_mirror, perovskite-sim/tests/integration/test_e1_6_calibration_factor.py::test_scaps_mirror_baseline_unchanged_post_e1_6_migration, perovskite-sim/tests/integration/test_e3_interface_plane_assemble_rhs.py::test_jv_sweep_legacy_voc_when_env_unset, perovskite-sim/tests", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.jv_sweep.run_jv_sweep" + }, + { + "field": "dimensional dark/weak Jsc and zero-power absolute limits with error evidence", + "needed_from": "experiment-d1aee10f514c8af5 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_dual_ion_integration.py::TestDualIonJV::test_jv_dual_species, perovskite-sim/tests/integration/test_dual_ion_integration.py::TestDualIonJV::test_jv_dual_vs_single_similar, perovskite-sim/tests/integration/test_e1_5_cross_carrier_srh.py::test_cross_carrier_preserves_baseline_voc, perovskite-sim/tests/integration/test_e1_6_calibration_factor.py::test_n_t_calibration_factor_equivalence_on_scaps_mirror, perovskite-sim/tests/integration/test_e1_6_calibration_factor.py::test_scaps_mirror_baseline_unchanged_post_e1_6_migration, perovskite-sim/tests/integration/test_e3_interface_plane_assemble_rhs.py::test_jv_sweep_legacy_voc_when_env_unset, perovskite-sim/tests", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.jv_sweep.run_jv_sweep" + }, + { + "field": "Voc bracket, dJ/dV and current-error propagation bound; MPP sampling and full branch coordinates", + "needed_from": "experiment-d1aee10f514c8af5 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_dual_ion_integration.py::TestDualIonJV::test_jv_dual_species, perovskite-sim/tests/integration/test_dual_ion_integration.py::TestDualIonJV::test_jv_dual_vs_single_similar, perovskite-sim/tests/integration/test_e1_5_cross_carrier_srh.py::test_cross_carrier_preserves_baseline_voc, perovskite-sim/tests/integration/test_e1_6_calibration_factor.py::test_n_t_calibration_factor_equivalence_on_scaps_mirror, perovskite-sim/tests/integration/test_e1_6_calibration_factor.py::test_scaps_mirror_baseline_unchanged_post_e1_6_migration, perovskite-sim/tests/integration/test_e3_interface_plane_assemble_rhs.py::test_jv_sweep_legacy_voc_when_env_unset, perovskite-sim/tests", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.jv_sweep.run_jv_sweep" + }, + { + "field": "numeric reference current scale and absolute weak/zero current allowance, in the actual A or A m-2 output unit", + "needed_from": "experiment-d1aee10f514c8af5 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_dual_ion_integration.py::TestDualIonJV::test_jv_dual_species, perovskite-sim/tests/integration/test_dual_ion_integration.py::TestDualIonJV::test_jv_dual_vs_single_similar, perovskite-sim/tests/integration/test_e1_5_cross_carrier_srh.py::test_cross_carrier_preserves_baseline_voc, perovskite-sim/tests/integration/test_e1_6_calibration_factor.py::test_n_t_calibration_factor_equivalence_on_scaps_mirror, perovskite-sim/tests/integration/test_e1_6_calibration_factor.py::test_scaps_mirror_baseline_unchanged_post_e1_6_migration, perovskite-sim/tests/integration/test_e3_interface_plane_assemble_rhs.py::test_jv_sweep_legacy_voc_when_env_unset, perovskite-sim/tests", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.jv_sweep.run_jv_sweep" + }, + { + "field": "each component/sign/port/support, observation times and both event sides", + "needed_from": "experiment-d1aee10f514c8af5 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_dual_ion_integration.py::TestDualIonJV::test_jv_dual_species, perovskite-sim/tests/integration/test_dual_ion_integration.py::TestDualIonJV::test_jv_dual_vs_single_similar, perovskite-sim/tests/integration/test_e1_5_cross_carrier_srh.py::test_cross_carrier_preserves_baseline_voc, perovskite-sim/tests/integration/test_e1_6_calibration_factor.py::test_n_t_calibration_factor_equivalence_on_scaps_mirror, perovskite-sim/tests/integration/test_e1_6_calibration_factor.py::test_scaps_mirror_baseline_unchanged_post_e1_6_migration, perovskite-sim/tests/integration/test_e3_interface_plane_assemble_rhs.py::test_jv_sweep_legacy_voc_when_env_unset, perovskite-sim/tests", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.jv_sweep.run_jv_sweep" + }, + { + "field": "pointwise current uncertainty and a pointwise comparison limit; integrated charge is not a substitute", + "needed_from": "experiment-d1aee10f514c8af5 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_dual_ion_integration.py::TestDualIonJV::test_jv_dual_species, perovskite-sim/tests/integration/test_dual_ion_integration.py::TestDualIonJV::test_jv_dual_vs_single_similar, perovskite-sim/tests/integration/test_e1_5_cross_carrier_srh.py::test_cross_carrier_preserves_baseline_voc, perovskite-sim/tests/integration/test_e1_6_calibration_factor.py::test_n_t_calibration_factor_equivalence_on_scaps_mirror, perovskite-sim/tests/integration/test_e1_6_calibration_factor.py::test_scaps_mirror_baseline_unchanged_post_e1_6_migration, perovskite-sim/tests/integration/test_e3_interface_plane_assemble_rhs.py::test_jv_sweep_legacy_voc_when_env_unset, perovskite-sim/tests", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.jv_sweep.run_jv_sweep" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-d1aee10f514c8af5/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + } + ], + "downstream_tasks": [ + "P04-05", + "P05-01", + "P05-02" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-experiment-d1aee10f514c8af5" + }, + "scope_specific_prior_gaps": [ + { + "field": "fixed numeric Jsc/FF/PCE reference values/scales with the actual output units and conversion identity", + "needed_from": "experiment-d1aee10f514c8af5 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_dual_ion_integration.py::TestDualIonJV::test_jv_dual_species, perovskite-sim/tests/integration/test_dual_ion_integration.py::TestDualIonJV::test_jv_dual_vs_single_similar, perovskite-sim/tests/integration/test_e1_5_cross_carrier_srh.py::test_cross_carrier_preserves_baseline_voc, perovskite-sim/tests/integration/test_e1_6_calibration_factor.py::test_n_t_calibration_factor_equivalence_on_scaps_mirror, perovskite-sim/tests/integration/test_e1_6_calibration_factor.py::test_scaps_mirror_baseline_unchanged_post_e1_6_migration, perovskite-sim/tests/integration/test_e3_interface_plane_assemble_rhs.py::test_jv_sweep_legacy_voc_when_env_unset, perovskite-sim/tests", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.jv_sweep.run_jv_sweep", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "dimensional dark/weak Jsc and zero-power absolute limits with error evidence", + "needed_from": "experiment-d1aee10f514c8af5 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_dual_ion_integration.py::TestDualIonJV::test_jv_dual_species, perovskite-sim/tests/integration/test_dual_ion_integration.py::TestDualIonJV::test_jv_dual_vs_single_similar, perovskite-sim/tests/integration/test_e1_5_cross_carrier_srh.py::test_cross_carrier_preserves_baseline_voc, perovskite-sim/tests/integration/test_e1_6_calibration_factor.py::test_n_t_calibration_factor_equivalence_on_scaps_mirror, perovskite-sim/tests/integration/test_e1_6_calibration_factor.py::test_scaps_mirror_baseline_unchanged_post_e1_6_migration, perovskite-sim/tests/integration/test_e3_interface_plane_assemble_rhs.py::test_jv_sweep_legacy_voc_when_env_unset, perovskite-sim/tests", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.jv_sweep.run_jv_sweep", + "categories": [ + "tolerance_decision", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "Voc bracket, dJ/dV and current-error propagation bound; MPP sampling and full branch coordinates", + "needed_from": "experiment-d1aee10f514c8af5 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_dual_ion_integration.py::TestDualIonJV::test_jv_dual_species, perovskite-sim/tests/integration/test_dual_ion_integration.py::TestDualIonJV::test_jv_dual_vs_single_similar, perovskite-sim/tests/integration/test_e1_5_cross_carrier_srh.py::test_cross_carrier_preserves_baseline_voc, perovskite-sim/tests/integration/test_e1_6_calibration_factor.py::test_n_t_calibration_factor_equivalence_on_scaps_mirror, perovskite-sim/tests/integration/test_e1_6_calibration_factor.py::test_scaps_mirror_baseline_unchanged_post_e1_6_migration, perovskite-sim/tests/integration/test_e3_interface_plane_assemble_rhs.py::test_jv_sweep_legacy_voc_when_env_unset, perovskite-sim/tests", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.jv_sweep.run_jv_sweep", + "categories": [ + "measurement_data", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "numeric reference current scale and absolute weak/zero current allowance, in the actual A or A m-2 output unit", + "needed_from": "experiment-d1aee10f514c8af5 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_dual_ion_integration.py::TestDualIonJV::test_jv_dual_species, perovskite-sim/tests/integration/test_dual_ion_integration.py::TestDualIonJV::test_jv_dual_vs_single_similar, perovskite-sim/tests/integration/test_e1_5_cross_carrier_srh.py::test_cross_carrier_preserves_baseline_voc, perovskite-sim/tests/integration/test_e1_6_calibration_factor.py::test_n_t_calibration_factor_equivalence_on_scaps_mirror, perovskite-sim/tests/integration/test_e1_6_calibration_factor.py::test_scaps_mirror_baseline_unchanged_post_e1_6_migration, perovskite-sim/tests/integration/test_e3_interface_plane_assemble_rhs.py::test_jv_sweep_legacy_voc_when_env_unset, perovskite-sim/tests", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.jv_sweep.run_jv_sweep", + "categories": [ + "source_configuration", + "tolerance_decision" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "each component/sign/port/support, observation times and both event sides", + "needed_from": "experiment-d1aee10f514c8af5 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_dual_ion_integration.py::TestDualIonJV::test_jv_dual_species, perovskite-sim/tests/integration/test_dual_ion_integration.py::TestDualIonJV::test_jv_dual_vs_single_similar, perovskite-sim/tests/integration/test_e1_5_cross_carrier_srh.py::test_cross_carrier_preserves_baseline_voc, perovskite-sim/tests/integration/test_e1_6_calibration_factor.py::test_n_t_calibration_factor_equivalence_on_scaps_mirror, perovskite-sim/tests/integration/test_e1_6_calibration_factor.py::test_scaps_mirror_baseline_unchanged_post_e1_6_migration, perovskite-sim/tests/integration/test_e3_interface_plane_assemble_rhs.py::test_jv_sweep_legacy_voc_when_env_unset, perovskite-sim/tests", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.jv_sweep.run_jv_sweep", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "pointwise current uncertainty and a pointwise comparison limit; integrated charge is not a substitute", + "needed_from": "experiment-d1aee10f514c8af5 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_dual_ion_integration.py::TestDualIonJV::test_jv_dual_species, perovskite-sim/tests/integration/test_dual_ion_integration.py::TestDualIonJV::test_jv_dual_vs_single_similar, perovskite-sim/tests/integration/test_e1_5_cross_carrier_srh.py::test_cross_carrier_preserves_baseline_voc, perovskite-sim/tests/integration/test_e1_6_calibration_factor.py::test_n_t_calibration_factor_equivalence_on_scaps_mirror, perovskite-sim/tests/integration/test_e1_6_calibration_factor.py::test_scaps_mirror_baseline_unchanged_post_e1_6_migration, perovskite-sim/tests/integration/test_e3_interface_plane_assemble_rhs.py::test_jv_sweep_legacy_voc_when_env_unset, perovskite-sim/tests", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.jv_sweep.run_jv_sweep", + "categories": [ + "tolerance_decision", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-d1aee10f514c8af5/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [], + "current_numeric_status": "prior_exact_scope_gaps_retained_and_classified" + } + }, + { + "id": "scope-experiment-e903c8755d4a8729", + "capability_id": "experiment-e903c8755d4a8729", + "route_id": "route-122501331d596e6c", + "origin_key": "experiment:perovskite_sim.experiments.metastable_preparation.prepare_metastable_configuration", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "source_specific_positive_observable_requires_declared_metric_selection" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/metastable_preparation.py", + "symbol": "prepare_metastable_configuration" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_metastable_dynamic_transient.py", + "symbol": "test_analytic_step_is_the_exact_two_state_solution" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_metastable_dynamic_transient.py", + "symbol": "test_charge_transfer_identity_holds_to_machine_precision" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_metastable_dynamic_transient.py", + "symbol": "test_dynamic_state_stays_bounded_without_clipping" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_metastable_dynamic_transient.py", + "symbol": "test_fast_limit_lands_on_the_measurement_stationary_configuration" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_metastable_dynamic_transient.py", + "symbol": "test_resolved_trace_is_certified_and_relaxes_monotonically" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_metastable_dynamic_transient.py", + "symbol": "test_slow_limit_leaves_the_prepared_configuration_in_place" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_metastable_dynamic_transient.py", + "symbol": "test_transient_rejects_a_mismatched_grid_or_temperature" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_metastable_preparation_and_frozen_measurement.py", + "symbol": "test_any_protocol_change_changes_the_frozen_identity" + } + ], + "negative_only_descriptor_rule_ids": [ + "rule-4c5a1d36e49df630546b57ab", + "rule-bed3041fbfb271c4837aa603" + ], + "source_quantitative_assertion_ids_for_scope_audit": [ + "rule-eef8a64a3d8e9ca9be8c5515", + "rule-9293bbb7938d901c9d42605b", + "rule-930783e082fca68fe0a7721e", + "rule-c19b6f27fdd7e97b25983d8e", + "rule-3c31900c9e6d7a347e46a18f", + "rule-8ca6e718c4b47c6c0f7360ac", + "rule-446e4472882e0a7d1883816c", + "rule-0f66bb13b126e69cf03f6567", + "rule-1c70c10027e51f2a6aaa9f55", + "rule-c223aeff8e2a8bb9c05cae17", + "rule-0d9c7161ed8c9d2fe3ccdc14", + "rule-74f5c672899a4f562e592af0" + ], + "rule_ids": [ + "M_payload", + "operator_packet" + ], + "citations": [], + "remaining_inputs": [ + { + "field": "actual row and column physical units, support and fixed per-block/state/input scales", + "needed_from": "experiment-e903c8755d4a8729 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_analytic_step_is_the_exact_two_state_solution, perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_charge_transfer_identity_holds_to_machine_precision, perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_dynamic_state_stays_bounded_without_clipping, perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_fast_limit_lands_on_the_measurement_stationary_configuration, perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_resolved_trace_is_certified_and_relaxes_monotonically, perovskite-sim/tests/integration/test_metastable_dynamic_", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.metastable_preparation.prepare_metastable_configuration" + }, + { + "field": "numeric independent derivative/action/weak-increment thresholds from the original applicable contract", + "needed_from": "experiment-e903c8755d4a8729 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_analytic_step_is_the_exact_two_state_solution, perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_charge_transfer_identity_holds_to_machine_precision, perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_dynamic_state_stays_bounded_without_clipping, perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_fast_limit_lands_on_the_measurement_stationary_configuration, perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_resolved_trace_is_certified_and_relaxes_monotonically, perovskite-sim/tests/integration/test_metastable_dynamic_", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.metastable_preparation.prepare_metastable_configuration" + }, + { + "field": "full nonlocal/input chain, inactive/zero branch and independent reference/cancellation error", + "needed_from": "experiment-e903c8755d4a8729 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_analytic_step_is_the_exact_two_state_solution, perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_charge_transfer_identity_holds_to_machine_precision, perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_dynamic_state_stays_bounded_without_clipping, perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_fast_limit_lands_on_the_measurement_stationary_configuration, perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_resolved_trace_is_certified_and_relaxes_monotonically, perovskite-sim/tests/integration/test_metastable_dynamic_", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.metastable_preparation.prepare_metastable_configuration" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-e903c8755d4a8729/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + } + ], + "downstream_tasks": [ + "P04-10", + "P05-01", + "P05-04" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-experiment-e903c8755d4a8729" + }, + "scope_specific_prior_gaps": [ + { + "field": "actual row and column physical units, support and fixed per-block/state/input scales", + "needed_from": "experiment-e903c8755d4a8729 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_analytic_step_is_the_exact_two_state_solution, perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_charge_transfer_identity_holds_to_machine_precision, perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_dynamic_state_stays_bounded_without_clipping, perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_fast_limit_lands_on_the_measurement_stationary_configuration, perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_resolved_trace_is_certified_and_relaxes_monotonically, perovskite-sim/tests/integration/test_metastable_dynamic_", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.metastable_preparation.prepare_metastable_configuration", + "categories": [ + "source_configuration" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "numeric independent derivative/action/weak-increment thresholds from the original applicable contract", + "needed_from": "experiment-e903c8755d4a8729 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_analytic_step_is_the_exact_two_state_solution, perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_charge_transfer_identity_holds_to_machine_precision, perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_dynamic_state_stays_bounded_without_clipping, perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_fast_limit_lands_on_the_measurement_stationary_configuration, perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_resolved_trace_is_certified_and_relaxes_monotonically, perovskite-sim/tests/integration/test_metastable_dynamic_", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.metastable_preparation.prepare_metastable_configuration", + "categories": [ + "tolerance_decision" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "full nonlocal/input chain, inactive/zero branch and independent reference/cancellation error", + "needed_from": "experiment-e903c8755d4a8729 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_analytic_step_is_the_exact_two_state_solution, perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_charge_transfer_identity_holds_to_machine_precision, perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_dynamic_state_stays_bounded_without_clipping, perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_fast_limit_lands_on_the_measurement_stationary_configuration, perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_resolved_trace_is_certified_and_relaxes_monotonically, perovskite-sim/tests/integration/test_metastable_dynamic_", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.metastable_preparation.prepare_metastable_configuration", + "categories": [ + "source_configuration", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-e903c8755d4a8729/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [], + "current_numeric_status": "prior_exact_scope_gaps_retained_and_classified" + } + }, + { + "id": "scope-experiment-a3f3bb449a2f34d7", + "capability_id": "experiment-a3f3bb449a2f34d7", + "route_id": "route-122501331d596e6c", + "origin_key": "experiment:perovskite_sim.experiments.metastable_preparation.solve_frozen_metastable_jv_sweep", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "JV_metrics_and_full_branch", + "current_observation_or_current_input" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/metastable_preparation.py", + "symbol": "solve_frozen_metastable_jv_sweep" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_metastable_preparation_and_frozen_measurement.py", + "symbol": "test_frozen_jv_sweep_keeps_one_configuration_across_every_point" + } + ], + "negative_only_descriptor_rule_ids": [], + "source_quantitative_assertion_ids_for_scope_audit": [], + "rule_ids": [ + "M_payload", + "Voc_absolute", + "JV_metric_packet", + "current_packet" + ], + "citations": [], + "remaining_inputs": [ + { + "field": "fixed numeric Jsc/FF/PCE reference values/scales with the actual output units and conversion identity", + "needed_from": "experiment-a3f3bb449a2f34d7 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_metastable_preparation_and_frozen_measurement.py::test_frozen_jv_sweep_keeps_one_configuration_across_every_point", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.metastable_preparation.solve_frozen_metastable_jv_sweep" + }, + { + "field": "dimensional dark/weak Jsc and zero-power absolute limits with error evidence", + "needed_from": "experiment-a3f3bb449a2f34d7 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_metastable_preparation_and_frozen_measurement.py::test_frozen_jv_sweep_keeps_one_configuration_across_every_point", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.metastable_preparation.solve_frozen_metastable_jv_sweep" + }, + { + "field": "Voc bracket, dJ/dV and current-error propagation bound; MPP sampling and full branch coordinates", + "needed_from": "experiment-a3f3bb449a2f34d7 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_metastable_preparation_and_frozen_measurement.py::test_frozen_jv_sweep_keeps_one_configuration_across_every_point", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.metastable_preparation.solve_frozen_metastable_jv_sweep" + }, + { + "field": "numeric reference current scale and absolute weak/zero current allowance, in the actual A or A m-2 output unit", + "needed_from": "experiment-a3f3bb449a2f34d7 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_metastable_preparation_and_frozen_measurement.py::test_frozen_jv_sweep_keeps_one_configuration_across_every_point", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.metastable_preparation.solve_frozen_metastable_jv_sweep" + }, + { + "field": "each component/sign/port/support, observation times and both event sides", + "needed_from": "experiment-a3f3bb449a2f34d7 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_metastable_preparation_and_frozen_measurement.py::test_frozen_jv_sweep_keeps_one_configuration_across_every_point", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.metastable_preparation.solve_frozen_metastable_jv_sweep" + }, + { + "field": "pointwise current uncertainty and a pointwise comparison limit; integrated charge is not a substitute", + "needed_from": "experiment-a3f3bb449a2f34d7 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_metastable_preparation_and_frozen_measurement.py::test_frozen_jv_sweep_keeps_one_configuration_across_every_point", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.metastable_preparation.solve_frozen_metastable_jv_sweep" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-a3f3bb449a2f34d7/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + } + ], + "downstream_tasks": [ + "P04-10", + "P05-01", + "P05-04" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-experiment-a3f3bb449a2f34d7" + }, + "scope_specific_prior_gaps": [ + { + "field": "fixed numeric Jsc/FF/PCE reference values/scales with the actual output units and conversion identity", + "needed_from": "experiment-a3f3bb449a2f34d7 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_metastable_preparation_and_frozen_measurement.py::test_frozen_jv_sweep_keeps_one_configuration_across_every_point", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.metastable_preparation.solve_frozen_metastable_jv_sweep", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "dimensional dark/weak Jsc and zero-power absolute limits with error evidence", + "needed_from": "experiment-a3f3bb449a2f34d7 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_metastable_preparation_and_frozen_measurement.py::test_frozen_jv_sweep_keeps_one_configuration_across_every_point", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.metastable_preparation.solve_frozen_metastable_jv_sweep", + "categories": [ + "tolerance_decision", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "Voc bracket, dJ/dV and current-error propagation bound; MPP sampling and full branch coordinates", + "needed_from": "experiment-a3f3bb449a2f34d7 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_metastable_preparation_and_frozen_measurement.py::test_frozen_jv_sweep_keeps_one_configuration_across_every_point", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.metastable_preparation.solve_frozen_metastable_jv_sweep", + "categories": [ + "measurement_data", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "numeric reference current scale and absolute weak/zero current allowance, in the actual A or A m-2 output unit", + "needed_from": "experiment-a3f3bb449a2f34d7 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_metastable_preparation_and_frozen_measurement.py::test_frozen_jv_sweep_keeps_one_configuration_across_every_point", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.metastable_preparation.solve_frozen_metastable_jv_sweep", + "categories": [ + "source_configuration", + "tolerance_decision" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "each component/sign/port/support, observation times and both event sides", + "needed_from": "experiment-a3f3bb449a2f34d7 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_metastable_preparation_and_frozen_measurement.py::test_frozen_jv_sweep_keeps_one_configuration_across_every_point", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.metastable_preparation.solve_frozen_metastable_jv_sweep", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "pointwise current uncertainty and a pointwise comparison limit; integrated charge is not a substitute", + "needed_from": "experiment-a3f3bb449a2f34d7 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_metastable_preparation_and_frozen_measurement.py::test_frozen_jv_sweep_keeps_one_configuration_across_every_point", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.metastable_preparation.solve_frozen_metastable_jv_sweep", + "categories": [ + "tolerance_decision", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-a3f3bb449a2f34d7/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [], + "current_numeric_status": "prior_exact_scope_gaps_retained_and_classified" + } + }, + { + "id": "scope-experiment-a4dd600fc6d409df", + "capability_id": "experiment-a4dd600fc6d409df", + "route_id": "route-122501331d596e6c", + "origin_key": "experiment:perovskite_sim.experiments.metastable_preparation.solve_frozen_metastable_measurement", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "source_specific_positive_observable_requires_declared_metric_selection" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/metastable_preparation.py", + "symbol": "solve_frozen_metastable_measurement" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_metastable_preparation_and_frozen_measurement.py", + "symbol": "test_frozen_configuration_does_not_update_during_a_bias_sweep" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_metastable_preparation_and_frozen_measurement.py", + "symbol": "test_measurement_rejects_a_mismatched_grid" + } + ], + "negative_only_descriptor_rule_ids": [ + "rule-1970adb506a9cbd27027ef57" + ], + "source_quantitative_assertion_ids_for_scope_audit": [ + "rule-546dda7c70e3c1d383075b47" + ], + "rule_ids": [ + "M_payload", + "operator_packet" + ], + "citations": [], + "remaining_inputs": [ + { + "field": "actual row and column physical units, support and fixed per-block/state/input scales", + "needed_from": "experiment-a4dd600fc6d409df exact original driver/reference observation packet; perovskite-sim/tests/integration/test_metastable_preparation_and_frozen_measurement.py::test_frozen_configuration_does_not_update_during_a_bias_sweep, perovskite-sim/tests/integration/test_metastable_preparation_and_frozen_measurement.py::test_measurement_rejects_a_mismatched_grid", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.metastable_preparation.solve_frozen_metastable_measurement" + }, + { + "field": "numeric independent derivative/action/weak-increment thresholds from the original applicable contract", + "needed_from": "experiment-a4dd600fc6d409df exact original driver/reference observation packet; perovskite-sim/tests/integration/test_metastable_preparation_and_frozen_measurement.py::test_frozen_configuration_does_not_update_during_a_bias_sweep, perovskite-sim/tests/integration/test_metastable_preparation_and_frozen_measurement.py::test_measurement_rejects_a_mismatched_grid", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.metastable_preparation.solve_frozen_metastable_measurement" + }, + { + "field": "full nonlocal/input chain, inactive/zero branch and independent reference/cancellation error", + "needed_from": "experiment-a4dd600fc6d409df exact original driver/reference observation packet; perovskite-sim/tests/integration/test_metastable_preparation_and_frozen_measurement.py::test_frozen_configuration_does_not_update_during_a_bias_sweep, perovskite-sim/tests/integration/test_metastable_preparation_and_frozen_measurement.py::test_measurement_rejects_a_mismatched_grid", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.metastable_preparation.solve_frozen_metastable_measurement" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-a4dd600fc6d409df/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + } + ], + "downstream_tasks": [ + "P04-10", + "P05-01", + "P05-04" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-experiment-a4dd600fc6d409df" + }, + "scope_specific_prior_gaps": [ + { + "field": "actual row and column physical units, support and fixed per-block/state/input scales", + "needed_from": "experiment-a4dd600fc6d409df exact original driver/reference observation packet; perovskite-sim/tests/integration/test_metastable_preparation_and_frozen_measurement.py::test_frozen_configuration_does_not_update_during_a_bias_sweep, perovskite-sim/tests/integration/test_metastable_preparation_and_frozen_measurement.py::test_measurement_rejects_a_mismatched_grid", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.metastable_preparation.solve_frozen_metastable_measurement", + "categories": [ + "source_configuration" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "numeric independent derivative/action/weak-increment thresholds from the original applicable contract", + "needed_from": "experiment-a4dd600fc6d409df exact original driver/reference observation packet; perovskite-sim/tests/integration/test_metastable_preparation_and_frozen_measurement.py::test_frozen_configuration_does_not_update_during_a_bias_sweep, perovskite-sim/tests/integration/test_metastable_preparation_and_frozen_measurement.py::test_measurement_rejects_a_mismatched_grid", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.metastable_preparation.solve_frozen_metastable_measurement", + "categories": [ + "tolerance_decision" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "full nonlocal/input chain, inactive/zero branch and independent reference/cancellation error", + "needed_from": "experiment-a4dd600fc6d409df exact original driver/reference observation packet; perovskite-sim/tests/integration/test_metastable_preparation_and_frozen_measurement.py::test_frozen_configuration_does_not_update_during_a_bias_sweep, perovskite-sim/tests/integration/test_metastable_preparation_and_frozen_measurement.py::test_measurement_rejects_a_mismatched_grid", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.metastable_preparation.solve_frozen_metastable_measurement", + "categories": [ + "source_configuration", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-a4dd600fc6d409df/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [], + "current_numeric_status": "prior_exact_scope_gaps_retained_and_classified" + } + }, + { + "id": "scope-experiment-906f1e5fff63647f", + "capability_id": "experiment-906f1e5fff63647f", + "route_id": "route-ef61f462b2550dc9", + "origin_key": "experiment:perovskite_sim.experiments.metastable_transient.run_metastable_configuration_transient", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "physical_profiles_or_stored_state_history", + "current_observation_or_current_input", + "waveform_integral_history" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/metastable_transient.py", + "symbol": "run_metastable_configuration_transient" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_metastable_dynamic_transient.py", + "symbol": "test_charge_transfer_identity_holds_to_machine_precision" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_metastable_dynamic_transient.py", + "symbol": "test_dynamic_state_stays_bounded_without_clipping" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_metastable_dynamic_transient.py", + "symbol": "test_fast_limit_lands_on_the_measurement_stationary_configuration" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_metastable_dynamic_transient.py", + "symbol": "test_resolved_trace_is_certified_and_relaxes_monotonically" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_metastable_dynamic_transient.py", + "symbol": "test_slow_limit_leaves_the_prepared_configuration_in_place" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_metastable_dynamic_transient.py", + "symbol": "test_transient_rejects_a_mismatched_grid_or_temperature" + } + ], + "negative_only_descriptor_rule_ids": [ + "rule-4c5a1d36e49df630546b57ab", + "rule-bed3041fbfb271c4837aa603" + ], + "source_quantitative_assertion_ids_for_scope_audit": [ + "rule-930783e082fca68fe0a7721e", + "rule-c19b6f27fdd7e97b25983d8e", + "rule-3c31900c9e6d7a347e46a18f", + "rule-8ca6e718c4b47c6c0f7360ac", + "rule-446e4472882e0a7d1883816c", + "rule-0f66bb13b126e69cf03f6567", + "rule-1c70c10027e51f2a6aaa9f55", + "rule-c223aeff8e2a8bb9c05cae17", + "rule-0d9c7161ed8c9d2fe3ccdc14", + "rule-74f5c672899a4f562e592af0" + ], + "rule_ids": [ + "M_payload", + "potential_packet", + "positive_density_log", + "density_inventory_packet", + "current_packet", + "transient_packet" + ], + "citations": [], + "remaining_inputs": [ + { + "field": "numeric fixed thermal/physical voltage scale in V from the exact reference temperature or declared boundary parameters", + "needed_from": "experiment-906f1e5fff63647f exact original driver/reference observation packet; perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_charge_transfer_identity_holds_to_machine_precision, perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_dynamic_state_stays_bounded_without_clipping, perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_fast_limit_lands_on_the_measurement_stationary_configuration, perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_resolved_trace_is_certified_and_relaxes_monotonically, perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_slow_limit_leaves_the_prepared_configuration_in_place, perovskite-sim/tests/integration/test_metastable_", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.metastable_transient.run_metastable_configuration_transient" + }, + { + "field": "actual reference CV weights/support and physical gauge/contact values; allowed mask", + "needed_from": "experiment-906f1e5fff63647f exact original driver/reference observation packet; perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_charge_transfer_identity_holds_to_machine_precision, perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_dynamic_state_stays_bounded_without_clipping, perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_fast_limit_lands_on_the_measurement_stationary_configuration, perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_resolved_trace_is_certified_and_relaxes_monotonically, perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_slow_limit_leaves_the_prepared_configuration_in_place, perovskite-sim/tests/integration/test_metastable_", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.metastable_transient.run_metastable_configuration_transient" + }, + { + "field": "independent source/grid/time/mapping error in V and its qualified reference identity", + "needed_from": "experiment-906f1e5fff63647f exact original driver/reference observation packet; perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_charge_transfer_identity_holds_to_machine_precision, perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_dynamic_state_stays_bounded_without_clipping, perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_fast_limit_lands_on_the_measurement_stationary_configuration, perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_resolved_trace_is_certified_and_relaxes_monotonically, perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_slow_limit_leaves_the_prepared_configuration_in_place, perovskite-sim/tests/integration/test_metastable_", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.metastable_transient.run_metastable_configuration_transient" + }, + { + "field": "per-species/per-connected-domain positive reference inventory numeric scale and unit (1 or m-2, according to actual CV measure)", + "needed_from": "experiment-906f1e5fff63647f exact original driver/reference observation packet; perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_charge_transfer_identity_holds_to_machine_precision, perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_dynamic_state_stays_bounded_without_clipping, perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_fast_limit_lands_on_the_measurement_stationary_configuration, perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_resolved_trace_is_certified_and_relaxes_monotonically, perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_slow_limit_leaves_the_prepared_configuration_in_place, perovskite-sim/tests/integration/test_metastable_", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.metastable_transient.run_metastable_configuration_transient" + }, + { + "field": "zero-species/zero-cell identity and numeric dimensional absolute gate from model absence or reference error evidence", + "needed_from": "experiment-906f1e5fff63647f exact original driver/reference observation packet; perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_charge_transfer_identity_holds_to_machine_precision, perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_dynamic_state_stays_bounded_without_clipping, perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_fast_limit_lands_on_the_measurement_stationary_configuration, perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_resolved_trace_is_certified_and_relaxes_monotonically, perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_slow_limit_leaves_the_prepared_configuration_in_place, perovskite-sim/tests/integration/test_metastable_", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.metastable_transient.run_metastable_configuration_transient" + }, + { + "field": "actual volumes, component labels and independent log/inventory uncertainty", + "needed_from": "experiment-906f1e5fff63647f exact original driver/reference observation packet; perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_charge_transfer_identity_holds_to_machine_precision, perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_dynamic_state_stays_bounded_without_clipping, perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_fast_limit_lands_on_the_measurement_stationary_configuration, perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_resolved_trace_is_certified_and_relaxes_monotonically, perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_slow_limit_leaves_the_prepared_configuration_in_place, perovskite-sim/tests/integration/test_metastable_", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.metastable_transient.run_metastable_configuration_transient" + }, + { + "field": "numeric reference current scale and absolute weak/zero current allowance, in the actual A or A m-2 output unit", + "needed_from": "experiment-906f1e5fff63647f exact original driver/reference observation packet; perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_charge_transfer_identity_holds_to_machine_precision, perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_dynamic_state_stays_bounded_without_clipping, perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_fast_limit_lands_on_the_measurement_stationary_configuration, perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_resolved_trace_is_certified_and_relaxes_monotonically, perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_slow_limit_leaves_the_prepared_configuration_in_place, perovskite-sim/tests/integration/test_metastable_", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.metastable_transient.run_metastable_configuration_transient" + }, + { + "field": "each component/sign/port/support, observation times and both event sides", + "needed_from": "experiment-906f1e5fff63647f exact original driver/reference observation packet; perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_charge_transfer_identity_holds_to_machine_precision, perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_dynamic_state_stays_bounded_without_clipping, perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_fast_limit_lands_on_the_measurement_stationary_configuration, perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_resolved_trace_is_certified_and_relaxes_monotonically, perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_slow_limit_leaves_the_prepared_configuration_in_place, perovskite-sim/tests/integration/test_metastable_", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.metastable_transient.run_metastable_configuration_transient" + }, + { + "field": "pointwise current uncertainty and a pointwise comparison limit; integrated charge is not a substitute", + "needed_from": "experiment-906f1e5fff63647f exact original driver/reference observation packet; perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_charge_transfer_identity_holds_to_machine_precision, perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_dynamic_state_stays_bounded_without_clipping, perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_fast_limit_lands_on_the_measurement_stationary_configuration, perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_resolved_trace_is_certified_and_relaxes_monotonically, perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_slow_limit_leaves_the_prepared_configuration_in_place, perovskite-sim/tests/integration/test_metastable_", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.metastable_transient.run_metastable_configuration_transient" + }, + { + "field": "actual complete state history, time coordinates, event sides and original integral/fit-window identity", + "needed_from": "experiment-906f1e5fff63647f exact original driver/reference observation packet; perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_charge_transfer_identity_holds_to_machine_precision, perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_dynamic_state_stays_bounded_without_clipping, perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_fast_limit_lands_on_the_measurement_stationary_configuration, perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_resolved_trace_is_certified_and_relaxes_monotonically, perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_slow_limit_leaves_the_prepared_configuration_in_place, perovskite-sim/tests/integration/test_metastable_", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.metastable_transient.run_metastable_configuration_transient" + }, + { + "field": "numeric separate waveform, integrated-charge and fit residual/derived-parameter scales/limits from the original channel", + "needed_from": "experiment-906f1e5fff63647f exact original driver/reference observation packet; perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_charge_transfer_identity_holds_to_machine_precision, perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_dynamic_state_stays_bounded_without_clipping, perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_fast_limit_lands_on_the_measurement_stationary_configuration, perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_resolved_trace_is_certified_and_relaxes_monotonically, perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_slow_limit_leaves_the_prepared_configuration_in_place, perovskite-sim/tests/integration/test_metastable_", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.metastable_transient.run_metastable_configuration_transient" + }, + { + "field": "nonresetting interval/prefix uncertainty and accepted-history reference errors", + "needed_from": "experiment-906f1e5fff63647f exact original driver/reference observation packet; perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_charge_transfer_identity_holds_to_machine_precision, perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_dynamic_state_stays_bounded_without_clipping, perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_fast_limit_lands_on_the_measurement_stationary_configuration, perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_resolved_trace_is_certified_and_relaxes_monotonically, perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_slow_limit_leaves_the_prepared_configuration_in_place, perovskite-sim/tests/integration/test_metastable_", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.metastable_transient.run_metastable_configuration_transient" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-906f1e5fff63647f/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + } + ], + "downstream_tasks": [ + "P04-10", + "P05-01", + "P05-04" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-experiment-906f1e5fff63647f" + }, + "scope_specific_prior_gaps": [ + { + "field": "numeric fixed thermal/physical voltage scale in V from the exact reference temperature or declared boundary parameters", + "needed_from": "experiment-906f1e5fff63647f exact original driver/reference observation packet; perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_charge_transfer_identity_holds_to_machine_precision, perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_dynamic_state_stays_bounded_without_clipping, perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_fast_limit_lands_on_the_measurement_stationary_configuration, perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_resolved_trace_is_certified_and_relaxes_monotonically, perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_slow_limit_leaves_the_prepared_configuration_in_place, perovskite-sim/tests/integration/test_metastable_", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.metastable_transient.run_metastable_configuration_transient", + "categories": [ + "source_configuration" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual reference CV weights/support and physical gauge/contact values; allowed mask", + "needed_from": "experiment-906f1e5fff63647f exact original driver/reference observation packet; perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_charge_transfer_identity_holds_to_machine_precision, perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_dynamic_state_stays_bounded_without_clipping, perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_fast_limit_lands_on_the_measurement_stationary_configuration, perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_resolved_trace_is_certified_and_relaxes_monotonically, perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_slow_limit_leaves_the_prepared_configuration_in_place, perovskite-sim/tests/integration/test_metastable_", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.metastable_transient.run_metastable_configuration_transient", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "independent source/grid/time/mapping error in V and its qualified reference identity", + "needed_from": "experiment-906f1e5fff63647f exact original driver/reference observation packet; perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_charge_transfer_identity_holds_to_machine_precision, perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_dynamic_state_stays_bounded_without_clipping, perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_fast_limit_lands_on_the_measurement_stationary_configuration, perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_resolved_trace_is_certified_and_relaxes_monotonically, perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_slow_limit_leaves_the_prepared_configuration_in_place, perovskite-sim/tests/integration/test_metastable_", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.metastable_transient.run_metastable_configuration_transient", + "categories": [ + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "per-species/per-connected-domain positive reference inventory numeric scale and unit (1 or m-2, according to actual CV measure)", + "needed_from": "experiment-906f1e5fff63647f exact original driver/reference observation packet; perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_charge_transfer_identity_holds_to_machine_precision, perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_dynamic_state_stays_bounded_without_clipping, perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_fast_limit_lands_on_the_measurement_stationary_configuration, perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_resolved_trace_is_certified_and_relaxes_monotonically, perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_slow_limit_leaves_the_prepared_configuration_in_place, perovskite-sim/tests/integration/test_metastable_", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.metastable_transient.run_metastable_configuration_transient", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "zero-species/zero-cell identity and numeric dimensional absolute gate from model absence or reference error evidence", + "needed_from": "experiment-906f1e5fff63647f exact original driver/reference observation packet; perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_charge_transfer_identity_holds_to_machine_precision, perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_dynamic_state_stays_bounded_without_clipping, perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_fast_limit_lands_on_the_measurement_stationary_configuration, perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_resolved_trace_is_certified_and_relaxes_monotonically, perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_slow_limit_leaves_the_prepared_configuration_in_place, perovskite-sim/tests/integration/test_metastable_", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.metastable_transient.run_metastable_configuration_transient", + "categories": [ + "source_configuration", + "tolerance_decision" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual volumes, component labels and independent log/inventory uncertainty", + "needed_from": "experiment-906f1e5fff63647f exact original driver/reference observation packet; perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_charge_transfer_identity_holds_to_machine_precision, perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_dynamic_state_stays_bounded_without_clipping, perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_fast_limit_lands_on_the_measurement_stationary_configuration, perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_resolved_trace_is_certified_and_relaxes_monotonically, perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_slow_limit_leaves_the_prepared_configuration_in_place, perovskite-sim/tests/integration/test_metastable_", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.metastable_transient.run_metastable_configuration_transient", + "categories": [ + "measurement_data", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "numeric reference current scale and absolute weak/zero current allowance, in the actual A or A m-2 output unit", + "needed_from": "experiment-906f1e5fff63647f exact original driver/reference observation packet; perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_charge_transfer_identity_holds_to_machine_precision, perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_dynamic_state_stays_bounded_without_clipping, perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_fast_limit_lands_on_the_measurement_stationary_configuration, perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_resolved_trace_is_certified_and_relaxes_monotonically, perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_slow_limit_leaves_the_prepared_configuration_in_place, perovskite-sim/tests/integration/test_metastable_", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.metastable_transient.run_metastable_configuration_transient", + "categories": [ + "source_configuration", + "tolerance_decision" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "each component/sign/port/support, observation times and both event sides", + "needed_from": "experiment-906f1e5fff63647f exact original driver/reference observation packet; perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_charge_transfer_identity_holds_to_machine_precision, perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_dynamic_state_stays_bounded_without_clipping, perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_fast_limit_lands_on_the_measurement_stationary_configuration, perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_resolved_trace_is_certified_and_relaxes_monotonically, perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_slow_limit_leaves_the_prepared_configuration_in_place, perovskite-sim/tests/integration/test_metastable_", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.metastable_transient.run_metastable_configuration_transient", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "pointwise current uncertainty and a pointwise comparison limit; integrated charge is not a substitute", + "needed_from": "experiment-906f1e5fff63647f exact original driver/reference observation packet; perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_charge_transfer_identity_holds_to_machine_precision, perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_dynamic_state_stays_bounded_without_clipping, perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_fast_limit_lands_on_the_measurement_stationary_configuration, perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_resolved_trace_is_certified_and_relaxes_monotonically, perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_slow_limit_leaves_the_prepared_configuration_in_place, perovskite-sim/tests/integration/test_metastable_", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.metastable_transient.run_metastable_configuration_transient", + "categories": [ + "tolerance_decision", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual complete state history, time coordinates, event sides and original integral/fit-window identity", + "needed_from": "experiment-906f1e5fff63647f exact original driver/reference observation packet; perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_charge_transfer_identity_holds_to_machine_precision, perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_dynamic_state_stays_bounded_without_clipping, perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_fast_limit_lands_on_the_measurement_stationary_configuration, perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_resolved_trace_is_certified_and_relaxes_monotonically, perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_slow_limit_leaves_the_prepared_configuration_in_place, perovskite-sim/tests/integration/test_metastable_", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.metastable_transient.run_metastable_configuration_transient", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "numeric separate waveform, integrated-charge and fit residual/derived-parameter scales/limits from the original channel", + "needed_from": "experiment-906f1e5fff63647f exact original driver/reference observation packet; perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_charge_transfer_identity_holds_to_machine_precision, perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_dynamic_state_stays_bounded_without_clipping, perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_fast_limit_lands_on_the_measurement_stationary_configuration, perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_resolved_trace_is_certified_and_relaxes_monotonically, perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_slow_limit_leaves_the_prepared_configuration_in_place, perovskite-sim/tests/integration/test_metastable_", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.metastable_transient.run_metastable_configuration_transient", + "categories": [ + "tolerance_decision" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "nonresetting interval/prefix uncertainty and accepted-history reference errors", + "needed_from": "experiment-906f1e5fff63647f exact original driver/reference observation packet; perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_charge_transfer_identity_holds_to_machine_precision, perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_dynamic_state_stays_bounded_without_clipping, perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_fast_limit_lands_on_the_measurement_stationary_configuration, perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_resolved_trace_is_certified_and_relaxes_monotonically, perovskite-sim/tests/integration/test_metastable_dynamic_transient.py::test_slow_limit_leaves_the_prepared_configuration_in_place, perovskite-sim/tests/integration/test_metastable_", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.metastable_transient.run_metastable_configuration_transient", + "categories": [ + "measurement_data", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-906f1e5fff63647f/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [], + "current_numeric_status": "prior_exact_scope_gaps_retained_and_classified" + } + }, + { + "id": "scope-experiment-a69d51ff462cc36a", + "capability_id": "experiment-a69d51ff462cc36a", + "route_id": "route-f07791f6d464ccd9", + "origin_key": "experiment:perovskite_sim.experiments.mott_schottky.run_mott_schottky", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "complex_frequency_response" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/mott_schottky.py", + "symbol": "run_mott_schottky" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_mott_schottky.py", + "symbol": "test_csi_cv_rejects_underresolved_grid" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_mott_schottky.py", + "symbol": "test_cv_rejects_noncapacitive_admittance" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_mott_schottky.py", + "symbol": "test_cv_wrapper_recovers_analytic_capacitive_impedance" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_mott_schottky.py", + "symbol": "test_rejects_nonpositive_frequency" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_mott_schottky.py", + "symbol": "test_rejects_sparse_v_range" + } + ], + "negative_only_descriptor_rule_ids": [ + "rule-cdda11c41e02909a3bb46f66", + "rule-d9248dfe825cc3e84a5d2143", + "rule-9672480aa5194b6e0a6dc8f2", + "rule-81d84338172ce9ae818836b4" + ], + "source_quantitative_assertion_ids_for_scope_audit": [ + "rule-8a065c6b16c1776e55b73b6b", + "rule-f3330a8d687a5819ae26559f", + "rule-7263735d6e13baea19e4d368", + "rule-cab020bc6774f527422feff8", + "rule-0c584d502a56b62a9ab160ae", + "rule-48c0d9238d4c2c3ed4ac3696", + "rule-9d2fa40e544b8edd870d094d" + ], + "rule_ids": [ + "M_payload", + "complex_packet" + ], + "citations": [], + "remaining_inputs": [ + { + "field": "fixed numeric reference scales and real/imaginary/complex absolute bounds in S m-2 or ohm m2 as actually emitted", + "needed_from": "experiment-a69d51ff462cc36a exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_mott_schottky.py::test_csi_cv_rejects_underresolved_grid, perovskite-sim/tests/unit/experiments/test_mott_schottky.py::test_cv_rejects_noncapacitive_admittance, perovskite-sim/tests/unit/experiments/test_mott_schottky.py::test_cv_wrapper_recovers_analytic_capacitive_impedance, perovskite-sim/tests/unit/experiments/test_mott_schottky.py::test_rejects_nonpositive_frequency, perovskite-sim/tests/unit/experiments/test_mott_schottky.py::test_rejects_sparse_v_range", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.mott_schottky.run_mott_schottky" + }, + { + "field": "numeric absolute phase limit in radians and per-driver/frequency resolvability floor with independent uncertainty/physical-resolution evidence", + "needed_from": "experiment-a69d51ff462cc36a exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_mott_schottky.py::test_csi_cv_rejects_underresolved_grid, perovskite-sim/tests/unit/experiments/test_mott_schottky.py::test_cv_rejects_noncapacitive_admittance, perovskite-sim/tests/unit/experiments/test_mott_schottky.py::test_cv_wrapper_recovers_analytic_capacitive_impedance, perovskite-sim/tests/unit/experiments/test_mott_schottky.py::test_rejects_nonpositive_frequency, perovskite-sim/tests/unit/experiments/test_mott_schottky.py::test_rejects_sparse_v_range", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.mott_schottky.run_mott_schottky" + }, + { + "field": "explicit exact-zero frequencies, coordinate identity and independent component/phase errors", + "needed_from": "experiment-a69d51ff462cc36a exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_mott_schottky.py::test_csi_cv_rejects_underresolved_grid, perovskite-sim/tests/unit/experiments/test_mott_schottky.py::test_cv_rejects_noncapacitive_admittance, perovskite-sim/tests/unit/experiments/test_mott_schottky.py::test_cv_wrapper_recovers_analytic_capacitive_impedance, perovskite-sim/tests/unit/experiments/test_mott_schottky.py::test_rejects_nonpositive_frequency, perovskite-sim/tests/unit/experiments/test_mott_schottky.py::test_rejects_sparse_v_range", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.mott_schottky.run_mott_schottky" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-a69d51ff462cc36a/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + } + ], + "downstream_tasks": [ + "P04-06", + "P05-01", + "P05-03" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-experiment-a69d51ff462cc36a" + }, + "scope_specific_prior_gaps": [ + { + "field": "fixed numeric reference scales and real/imaginary/complex absolute bounds in S m-2 or ohm m2 as actually emitted", + "needed_from": "experiment-a69d51ff462cc36a exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_mott_schottky.py::test_csi_cv_rejects_underresolved_grid, perovskite-sim/tests/unit/experiments/test_mott_schottky.py::test_cv_rejects_noncapacitive_admittance, perovskite-sim/tests/unit/experiments/test_mott_schottky.py::test_cv_wrapper_recovers_analytic_capacitive_impedance, perovskite-sim/tests/unit/experiments/test_mott_schottky.py::test_rejects_nonpositive_frequency, perovskite-sim/tests/unit/experiments/test_mott_schottky.py::test_rejects_sparse_v_range", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.mott_schottky.run_mott_schottky", + "categories": [ + "source_configuration", + "tolerance_decision" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "numeric absolute phase limit in radians and per-driver/frequency resolvability floor with independent uncertainty/physical-resolution evidence", + "needed_from": "experiment-a69d51ff462cc36a exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_mott_schottky.py::test_csi_cv_rejects_underresolved_grid, perovskite-sim/tests/unit/experiments/test_mott_schottky.py::test_cv_rejects_noncapacitive_admittance, perovskite-sim/tests/unit/experiments/test_mott_schottky.py::test_cv_wrapper_recovers_analytic_capacitive_impedance, perovskite-sim/tests/unit/experiments/test_mott_schottky.py::test_rejects_nonpositive_frequency, perovskite-sim/tests/unit/experiments/test_mott_schottky.py::test_rejects_sparse_v_range", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.mott_schottky.run_mott_schottky", + "categories": [ + "tolerance_decision", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "explicit exact-zero frequencies, coordinate identity and independent component/phase errors", + "needed_from": "experiment-a69d51ff462cc36a exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_mott_schottky.py::test_csi_cv_rejects_underresolved_grid, perovskite-sim/tests/unit/experiments/test_mott_schottky.py::test_cv_rejects_noncapacitive_admittance, perovskite-sim/tests/unit/experiments/test_mott_schottky.py::test_cv_wrapper_recovers_analytic_capacitive_impedance, perovskite-sim/tests/unit/experiments/test_mott_schottky.py::test_rejects_nonpositive_frequency, perovskite-sim/tests/unit/experiments/test_mott_schottky.py::test_rejects_sparse_v_range", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.mott_schottky.run_mott_schottky", + "categories": [ + "measurement_data", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-a69d51ff462cc36a/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [], + "current_numeric_status": "prior_exact_scope_gaps_retained_and_classified" + } + }, + { + "id": "scope-experiment-4e372a3e04e0faca", + "capability_id": "experiment-4e372a3e04e0faca", + "route_id": "route-aad6beda6ef7111b", + "origin_key": "experiment:perovskite_sim.experiments.one_dimensional_mechanism_r1.prepare_reference", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "R1_original_request_and_precision_axes" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1.py", + "symbol": "prepare_reference" + }, + { + "source_id": "archive:results/OneDimensionalMechanism/R1PhysicsDevelopmentV53/LongWindowV1/BaselineV1/Root/RequestV1.json", + "pointer": "/certificate_limits", + "value_sha256": "b54673f86c029ae83e50e67f4befa79e14bcbb6d419e4445c21a77d795d7b2f5" + }, + { + "source_id": "archive:results/OneDimensionalMechanism/R1PhysicsDevelopmentV53/LongWindowV1/BaselineV1/Root/RequestV1.json", + "pointer": "/solver_limits", + "value_sha256": "a46ae3398f9f6d0ab16538b20a6149078f0aaa5e6ca146e98bb960e1942853b1" + }, + { + "source_id": "archive:results/OneDimensionalMechanism/R1PhysicsDevelopmentV53/LongWindowV1/BaselineV1/Root/RequestV1.json", + "pointer": "/case", + "value_sha256": "c6e01ca25280b67ccabd484f51f88e7114731fb2ee182615525dd4431d0c3377" + }, + { + "source_id": "archive:results/OneDimensionalMechanism/R1PhysicsDevelopmentV53/LongWindowV1/BaselineV1/Root/RequestV1.json", + "pointer": "/inputs", + "value_sha256": "6cf2bc4f328e76a56a5cba3cf04418968273f74827b4f2fe3d7cae673e28c034" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_one_dimensional_mechanism_r1_evidence.py", + "symbol": "test_real_geometry_to_preparation_cli_passes" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_one_dimensional_mechanism_r1_evidence.py", + "symbol": "run_cli" + }, + { + "source_id": "repository:perovskite-sim/scripts/run_one_dimensional_mechanism_r1.py", + "symbol": "main" + } + ], + "negative_only_descriptor_rule_ids": [], + "source_quantitative_assertion_ids_for_scope_audit": [ + "rule-a3da36a67a9c5dca20953b96" + ], + "rule_ids": [ + "M_payload", + "R1_original_convergence" + ], + "citations": [], + "remaining_inputs": [ + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-4e372a3e04e0faca/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + }, + { + "field": "applicable original R1 Request/physical-standard/convergence-axis identity and external observation window; full100s/L1/L2/L3 only for full-protocol claims", + "needed_from": "experiment-4e372a3e04e0faca original R1 source/response contract and bound retained reference evidence", + "blocked_use": "claiming original R1 precision or full-protocol qualification from a generic scalar check" + } + ], + "downstream_tasks": [ + "P02-08", + "P07-01", + "P07-02", + "P07-03", + "P07-04", + "P07-05" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-experiment-4e372a3e04e0faca" + }, + "scope_specific_prior_gaps": [ + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-4e372a3e04e0faca/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + }, + { + "field": "applicable original R1 Request/physical-standard/convergence-axis identity and external observation window; full100s/L1/L2/L3 only for full-protocol claims", + "needed_from": "experiment-4e372a3e04e0faca original R1 source/response contract and bound retained reference evidence", + "blocked_use": "claiming original R1 precision or full-protocol qualification from a generic scalar check", + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [], + "current_numeric_status": "prior_exact_scope_gaps_retained_and_classified" + } + }, + { + "id": "scope-experiment-35bac077cd83f54c", + "capability_id": "experiment-35bac077cd83f54c", + "route_id": "route-aad6beda6ef7111b", + "origin_key": "experiment:perovskite_sim.experiments.one_dimensional_mechanism_r1.run_coupled", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "R1_0_short_wrapper_only_not_R1_1_100s" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1.py", + "symbol": "run_coupled" + }, + { + "source_id": "archive:results/OneDimensionalMechanism/R1PhysicsDevelopmentV53/LongWindowV1/BaselineV1/Root/RequestV1.json", + "pointer": "/certificate_limits", + "value_sha256": "b54673f86c029ae83e50e67f4befa79e14bcbb6d419e4445c21a77d795d7b2f5" + }, + { + "source_id": "archive:results/OneDimensionalMechanism/R1PhysicsDevelopmentV53/LongWindowV1/BaselineV1/Root/RequestV1.json", + "pointer": "/solver_limits", + "value_sha256": "a46ae3398f9f6d0ab16538b20a6149078f0aaa5e6ca146e98bb960e1942853b1" + }, + { + "source_id": "archive:results/OneDimensionalMechanism/R1PhysicsDevelopmentV53/LongWindowV1/BaselineV1/Root/RequestV1.json", + "pointer": "/case", + "value_sha256": "c6e01ca25280b67ccabd484f51f88e7114731fb2ee182615525dd4431d0c3377" + }, + { + "source_id": "archive:results/OneDimensionalMechanism/R1PhysicsDevelopmentV53/LongWindowV1/BaselineV1/Root/RequestV1.json", + "pointer": "/inputs", + "value_sha256": "6cf2bc4f328e76a56a5cba3cf04418968273f74827b4f2fe3d7cae673e28c034" + } + ], + "negative_only_descriptor_rule_ids": [], + "source_quantitative_assertion_ids_for_scope_audit": [], + "rule_ids": [ + "M_payload", + "R1_short_original" + ], + "citations": [ + { + "source_id": "r1_short", + "symbol": "run_coupled" + }, + { + "source_id": "r1_cli" + } + ], + "remaining_inputs": [ + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-35bac077cd83f54c/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + }, + { + "field": "source-bound complete R1-0 AcceptedStepsV1/RawCoupledV1/ProtocolV1/PhysicalCertificateV1 and a direct wrapper test", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-35bac077cd83f54c/BoundR10WrapperEvidence.json", + "blocked_use": "replacement of this actual short wrapper; no old direct test is invented" + } + ], + "downstream_tasks": [ + "P02-08", + "P07-01", + "P07-02", + "P07-03", + "P07-04", + "P07-05" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-experiment-35bac077cd83f54c" + }, + "scope_specific_prior_gaps": [ + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-35bac077cd83f54c/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + }, + { + "field": "source-bound complete R1-0 AcceptedStepsV1/RawCoupledV1/ProtocolV1/PhysicalCertificateV1 and a direct wrapper test", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-35bac077cd83f54c/BoundR10WrapperEvidence.json", + "blocked_use": "replacement of this actual short wrapper; no old direct test is invented", + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [], + "current_numeric_status": "prior_exact_scope_gaps_retained_and_classified" + } + }, + { + "id": "scope-experiment-43a0424529f1528e", + "capability_id": "experiment-43a0424529f1528e", + "route_id": "route-aad6beda6ef7111b", + "origin_key": "experiment:perovskite_sim.experiments.one_dimensional_mechanism_r1.solve_r1_dc", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "R1_original_request_and_precision_axes" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1.py", + "symbol": "solve_r1_dc" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_combined_dc_warm_start.py", + "symbol": "test_four_interval_public_dc_matches_independent_fresh_solve" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_physics_validation.py", + "symbol": "test_opt_in_recording_preserves_all_original_numerical_results" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_physics_validation.py", + "symbol": "test_reconstruction_failure_preserves_observed_state_and_coordinates" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_numerical_precision.py", + "symbol": "test_original_failure_representatives_complete_without_gate_changes" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_numerical_precision.py", + "symbol": "test_strict_trace_roundtrips_exact_coordinates_and_physical_equations" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_regular_independence_v4.py", + "symbol": "test_actual_coarse_step_fault_is_rejected_by_computed_physics_not_injected_flags" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_v7_precision.py", + "symbol": "test_actual_fine_initialization_short_steps_and_exact_replay" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_v8_ablation.py", + "symbol": "test_actual_short_ablation_and_replay_share_intervention" + }, + { + "source_id": "archive:results/OneDimensionalMechanism/R1PhysicsDevelopmentV53/LongWindowV1/BaselineV1/Root/RequestV1.json", + "pointer": "/certificate_limits", + "value_sha256": "b54673f86c029ae83e50e67f4befa79e14bcbb6d419e4445c21a77d795d7b2f5" + }, + { + "source_id": "archive:results/OneDimensionalMechanism/R1PhysicsDevelopmentV53/LongWindowV1/BaselineV1/Root/RequestV1.json", + "pointer": "/solver_limits", + "value_sha256": "a46ae3398f9f6d0ab16538b20a6149078f0aaa5e6ca146e98bb960e1942853b1" + }, + { + "source_id": "archive:results/OneDimensionalMechanism/R1PhysicsDevelopmentV53/LongWindowV1/BaselineV1/Root/RequestV1.json", + "pointer": "/case", + "value_sha256": "c6e01ca25280b67ccabd484f51f88e7114731fb2ee182615525dd4431d0c3377" + }, + { + "source_id": "archive:results/OneDimensionalMechanism/R1PhysicsDevelopmentV53/LongWindowV1/BaselineV1/Root/RequestV1.json", + "pointer": "/inputs", + "value_sha256": "6cf2bc4f328e76a56a5cba3cf04418968273f74827b4f2fe3d7cae673e28c034" + } + ], + "negative_only_descriptor_rule_ids": [ + "rule-3dc7664fec6d1c703abd1390", + "rule-971c2a1064f04ae7cfaa1858" + ], + "source_quantitative_assertion_ids_for_scope_audit": [ + "rule-d9c2536b7fdde4c99aed880b", + "rule-20b9cc2de7ab895e527e4cf5", + "rule-2096771e053614efe41e4164", + "rule-196d607e142196a6bfe0b058", + "rule-2d64a63b2440982e0065a6e7", + "rule-24a2b27ec6a241c8d77ad34a", + "rule-05d80d0f9e00c1adeeda81b4", + "rule-aeaa3ca590fc78ab842682d9", + "rule-627fca5ad6ccfb56359579d8", + "rule-b453a0b155cb6561b340411e", + "rule-3a888f3b80584edbcb9e3c0b" + ], + "rule_ids": [ + "M_payload", + "R1_original_convergence" + ], + "citations": [], + "remaining_inputs": [ + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-43a0424529f1528e/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + }, + { + "field": "applicable original R1 Request/physical-standard/convergence-axis identity and external observation window; full100s/L1/L2/L3 only for full-protocol claims", + "needed_from": "experiment-43a0424529f1528e original R1 source/response contract and bound retained reference evidence", + "blocked_use": "claiming original R1 precision or full-protocol qualification from a generic scalar check" + } + ], + "downstream_tasks": [ + "P02-08", + "P07-01", + "P07-02", + "P07-03", + "P07-04", + "P07-05" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-experiment-43a0424529f1528e" + }, + "scope_specific_prior_gaps": [ + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-43a0424529f1528e/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + }, + { + "field": "applicable original R1 Request/physical-standard/convergence-axis identity and external observation window; full100s/L1/L2/L3 only for full-protocol claims", + "needed_from": "experiment-43a0424529f1528e original R1 source/response contract and bound retained reference evidence", + "blocked_use": "claiming original R1 precision or full-protocol qualification from a generic scalar check", + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [], + "current_numeric_status": "prior_exact_scope_gaps_retained_and_classified" + } + }, + { + "id": "scope-experiment-5dc2e7f6a62669ce", + "capability_id": "experiment-5dc2e7f6a62669ce", + "route_id": "route-eeccc2e764f79cbb", + "origin_key": "experiment:perovskite_sim.experiments.one_dimensional_mechanism_r1_global_reference.solve_global_ion_reference", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "R1_original_request_and_precision_axes" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_global_reference.py", + "symbol": "solve_global_ion_reference" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_global_reference.py", + "symbol": "test_each_actual_fixed_low_word_reaches_global_reference" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_global_reference.py", + "symbol": "test_global_poisson_and_near_cancelling_sg_match_90_digit_laws" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_global_reference.py", + "symbol": "test_rebased_and_global_maps_agree_only_for_a_global_consistent_origin" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_global_reference.py", + "symbol": "test_baseline_adapter_keeps_actual_zero_lows_high_subtraction_and_other_channels" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_global_reference.py", + "symbol": "test_baseline_legacy_label_evaluates_old_law_at_both_actual_high_potentials" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_global_reference.py", + "symbol": "test_baseline_rounds_constraint_before_sg_and_retains_failed_full_root_diagnostic" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_global_reference.py", + "symbol": "test_pair_adapter_keeps_low_difference_v2_bindings_and_ignores_direct_sheet" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_global_reference.py", + "symbol": "test_pair_independent_potential_and_boundary_hooks_remain_effective" + }, + { + "source_id": "archive:results/OneDimensionalMechanism/R1PhysicsDevelopmentV53/LongWindowV1/BaselineV1/Root/RequestV1.json", + "pointer": "/certificate_limits", + "value_sha256": "b54673f86c029ae83e50e67f4befa79e14bcbb6d419e4445c21a77d795d7b2f5" + }, + { + "source_id": "archive:results/OneDimensionalMechanism/R1PhysicsDevelopmentV53/LongWindowV1/BaselineV1/Root/RequestV1.json", + "pointer": "/solver_limits", + "value_sha256": "a46ae3398f9f6d0ab16538b20a6149078f0aaa5e6ca146e98bb960e1942853b1" + }, + { + "source_id": "archive:results/OneDimensionalMechanism/R1PhysicsDevelopmentV53/LongWindowV1/BaselineV1/Root/RequestV1.json", + "pointer": "/case", + "value_sha256": "c6e01ca25280b67ccabd484f51f88e7114731fb2ee182615525dd4431d0c3377" + }, + { + "source_id": "archive:results/OneDimensionalMechanism/R1PhysicsDevelopmentV53/LongWindowV1/BaselineV1/Root/RequestV1.json", + "pointer": "/inputs", + "value_sha256": "6cf2bc4f328e76a56a5cba3cf04418968273f74827b4f2fe3d7cae673e28c034" + } + ], + "negative_only_descriptor_rule_ids": [ + "rule-f2eca2de72ef9174487108aa" + ], + "source_quantitative_assertion_ids_for_scope_audit": [ + "rule-9645eb888252f67827277ba1", + "rule-de2700a5ba08d9dc168122ce", + "rule-903d5ca59cbf5f7a38b9cf51", + "rule-2cb4d3d39a0a45c46096c646", + "rule-e111bab9d51420b5552753b6", + "rule-ddc81d013e812341c044ab95", + "rule-f3f35cb05da574b6a3d2f42c", + "rule-d4acc4b88474a8086cc8785c", + "rule-34eb4cbadf9565d7fb318634", + "rule-a54ccbfdf05c74efebe1d157", + "rule-eee3bd1bedcfab8d5e7a241b", + "rule-24f43a12d92522e1c696cce5", + "rule-f9182e0fd23c715c3e4fa9d5", + "rule-22e6f45dd562a040c2f8beb7", + "rule-19921d6c267512b3f89ca834", + "rule-894be2889e450b0135678a45", + "rule-f5a78829cd54b28fcddf1ca3", + "rule-ae913f596d606788627be829", + "rule-189de3c3bf19c714fcb72ba9", + "rule-42cea6798f8fa85de952c249", + "rule-b048596a01159f6015697deb" + ], + "rule_ids": [ + "M_payload", + "R1_original_convergence" + ], + "citations": [], + "remaining_inputs": [ + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-5dc2e7f6a62669ce/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + }, + { + "field": "applicable original R1 Request/physical-standard/convergence-axis identity and external observation window; full100s/L1/L2/L3 only for full-protocol claims", + "needed_from": "experiment-5dc2e7f6a62669ce original R1 source/response contract and bound retained reference evidence", + "blocked_use": "claiming original R1 precision or full-protocol qualification from a generic scalar check" + } + ], + "downstream_tasks": [ + "P02-08", + "P07-01", + "P07-02", + "P07-03", + "P07-04", + "P07-05" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-experiment-5dc2e7f6a62669ce" + }, + "scope_specific_prior_gaps": [ + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-5dc2e7f6a62669ce/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + }, + { + "field": "applicable original R1 Request/physical-standard/convergence-axis identity and external observation window; full100s/L1/L2/L3 only for full-protocol claims", + "needed_from": "experiment-5dc2e7f6a62669ce original R1 source/response contract and bound retained reference evidence", + "blocked_use": "claiming original R1 precision or full-protocol qualification from a generic scalar check", + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [], + "current_numeric_status": "prior_exact_scope_gaps_retained_and_classified" + } + }, + { + "id": "scope-experiment-79d7d88479557cc0", + "capability_id": "experiment-79d7d88479557cc0", + "route_id": "route-7e98c4ac49886b90", + "origin_key": "experiment:perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_reference.solve_rebased_ion_reference", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "R1_original_request_and_precision_axes" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift_reference.py", + "symbol": "solve_rebased_ion_reference" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_global_reference.py", + "symbol": "test_rebased_and_global_maps_agree_only_for_a_global_consistent_origin" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_input_lift_reference.py", + "symbol": "test_each_fixed_low_word_changes_the_independent_solution" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_input_lift_reference.py", + "symbol": "test_inputs_own_coefficient_origin_seed_and_fixed_copies" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_input_lift_reference.py", + "symbol": "test_integrated_comparison_preserves_floor_and_rejects_bad_direct_rate" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_input_lift_reference.py", + "symbol": "test_manufactured_absolute_root_and_near_cancelling_sg_match_decimal" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_input_lift_reference.py", + "symbol": "test_solver_requires_the_validated_dto" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_input_lift_reference.py", + "symbol": "test_trial_outputs_and_work_cache_cannot_change_reference" + }, + { + "source_id": "archive:results/OneDimensionalMechanism/R1PhysicsDevelopmentV53/LongWindowV1/BaselineV1/Root/RequestV1.json", + "pointer": "/certificate_limits", + "value_sha256": "b54673f86c029ae83e50e67f4befa79e14bcbb6d419e4445c21a77d795d7b2f5" + }, + { + "source_id": "archive:results/OneDimensionalMechanism/R1PhysicsDevelopmentV53/LongWindowV1/BaselineV1/Root/RequestV1.json", + "pointer": "/solver_limits", + "value_sha256": "a46ae3398f9f6d0ab16538b20a6149078f0aaa5e6ca146e98bb960e1942853b1" + }, + { + "source_id": "archive:results/OneDimensionalMechanism/R1PhysicsDevelopmentV53/LongWindowV1/BaselineV1/Root/RequestV1.json", + "pointer": "/case", + "value_sha256": "c6e01ca25280b67ccabd484f51f88e7114731fb2ee182615525dd4431d0c3377" + }, + { + "source_id": "archive:results/OneDimensionalMechanism/R1PhysicsDevelopmentV53/LongWindowV1/BaselineV1/Root/RequestV1.json", + "pointer": "/inputs", + "value_sha256": "6cf2bc4f328e76a56a5cba3cf04418968273f74827b4f2fe3d7cae673e28c034" + } + ], + "negative_only_descriptor_rule_ids": [ + "rule-3c9ddcfcc1a3fa42b1738fa2" + ], + "source_quantitative_assertion_ids_for_scope_audit": [ + "rule-e111bab9d51420b5552753b6", + "rule-ddc81d013e812341c044ab95", + "rule-acc972214570c2cf8bb609b0", + "rule-fd3bfd684dd08cab6f01e5f8", + "rule-45e6a2cc892ea96d66e12739", + "rule-52e0e53eaa5557ad36d3c207", + "rule-78fe3c27930ad51699466992", + "rule-c50a741abb354c446c566631", + "rule-d72473ba2b12fd2fbfc29ec9", + "rule-dcfade992bb01456185dc7e4", + "rule-50b4d85f4c2ad925aeef98a5", + "rule-27b6d25caf109809cd808698", + "rule-d4bf6ad4ee97e989ceac94a9", + "rule-762a701f907e02ef65bc4010", + "rule-3e5f3376e54246896f870eba" + ], + "rule_ids": [ + "M_payload", + "R1_original_convergence" + ], + "citations": [], + "remaining_inputs": [ + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-79d7d88479557cc0/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + }, + { + "field": "applicable original R1 Request/physical-standard/convergence-axis identity and external observation window; full100s/L1/L2/L3 only for full-protocol claims", + "needed_from": "experiment-79d7d88479557cc0 original R1 source/response contract and bound retained reference evidence", + "blocked_use": "claiming original R1 precision or full-protocol qualification from a generic scalar check" + } + ], + "downstream_tasks": [ + "P00-04", + "P01-01", + "P01-02", + "P01-03", + "P02-08", + "P07-01", + "P07-02", + "P07-03", + "P07-04", + "P07-05" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-experiment-79d7d88479557cc0" + }, + "scope_specific_prior_gaps": [ + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-79d7d88479557cc0/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + }, + { + "field": "applicable original R1 Request/physical-standard/convergence-axis identity and external observation window; full100s/L1/L2/L3 only for full-protocol claims", + "needed_from": "experiment-79d7d88479557cc0 original R1 source/response contract and bound retained reference evidence", + "blocked_use": "claiming original R1 precision or full-protocol qualification from a generic scalar check", + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [], + "current_numeric_status": "prior_exact_scope_gaps_retained_and_classified" + } + }, + { + "id": "scope-experiment-f13798efea3b69ba", + "capability_id": "experiment-f13798efea3b69ba", + "route_id": "route-883887b3dfdfe620", + "origin_key": "experiment:perovskite_sim.experiments.one_dimensional_mechanism_r1_pair_codec.prepare_pair_state", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "R1_original_request_and_precision_axes" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_pair_codec.py", + "symbol": "prepare_pair_state" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_v9_pair_codec.py", + "symbol": "test_failed_fine_preparation_retains_full_state_seed_and_original_gates" + }, + { + "source_id": "archive:results/OneDimensionalMechanism/R1PhysicsDevelopmentV53/LongWindowV1/BaselineV1/Root/RequestV1.json", + "pointer": "/certificate_limits", + "value_sha256": "b54673f86c029ae83e50e67f4befa79e14bcbb6d419e4445c21a77d795d7b2f5" + }, + { + "source_id": "archive:results/OneDimensionalMechanism/R1PhysicsDevelopmentV53/LongWindowV1/BaselineV1/Root/RequestV1.json", + "pointer": "/solver_limits", + "value_sha256": "a46ae3398f9f6d0ab16538b20a6149078f0aaa5e6ca146e98bb960e1942853b1" + }, + { + "source_id": "archive:results/OneDimensionalMechanism/R1PhysicsDevelopmentV53/LongWindowV1/BaselineV1/Root/RequestV1.json", + "pointer": "/case", + "value_sha256": "c6e01ca25280b67ccabd484f51f88e7114731fb2ee182615525dd4431d0c3377" + }, + { + "source_id": "archive:results/OneDimensionalMechanism/R1PhysicsDevelopmentV53/LongWindowV1/BaselineV1/Root/RequestV1.json", + "pointer": "/inputs", + "value_sha256": "6cf2bc4f328e76a56a5cba3cf04418968273f74827b4f2fe3d7cae673e28c034" + } + ], + "negative_only_descriptor_rule_ids": [ + "rule-14315affe15319619ec7e31b" + ], + "source_quantitative_assertion_ids_for_scope_audit": [], + "rule_ids": [ + "M_payload", + "R1_original_convergence" + ], + "citations": [], + "remaining_inputs": [ + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-f13798efea3b69ba/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + }, + { + "field": "applicable original R1 Request/physical-standard/convergence-axis identity and external observation window; full100s/L1/L2/L3 only for full-protocol claims", + "needed_from": "experiment-f13798efea3b69ba original R1 source/response contract and bound retained reference evidence", + "blocked_use": "claiming original R1 precision or full-protocol qualification from a generic scalar check" + } + ], + "downstream_tasks": [ + "P02-08", + "P07-01", + "P07-02", + "P07-03", + "P07-04", + "P07-05" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-experiment-f13798efea3b69ba" + }, + "scope_specific_prior_gaps": [ + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-f13798efea3b69ba/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + }, + { + "field": "applicable original R1 Request/physical-standard/convergence-axis identity and external observation window; full100s/L1/L2/L3 only for full-protocol claims", + "needed_from": "experiment-f13798efea3b69ba original R1 source/response contract and bound retained reference evidence", + "blocked_use": "claiming original R1 precision or full-protocol qualification from a generic scalar check", + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [], + "current_numeric_status": "prior_exact_scope_gaps_retained_and_classified" + } + }, + { + "id": "scope-experiment-4f8f2c0e1fbe098f", + "capability_id": "experiment-4f8f2c0e1fbe098f", + "route_id": "route-f05686ba301ff5b5", + "origin_key": "experiment:perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.solve_independent_poisson", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "R1_original_request_and_precision_axes" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_precision.py", + "symbol": "solve_independent_poisson" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_v9_backend.py", + "symbol": "test_independent_constraint_solver_cannot_read_direct_outputs" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_global_reference.py", + "symbol": "test_each_actual_fixed_low_word_reaches_global_reference" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_global_reference.py", + "symbol": "test_global_poisson_and_near_cancelling_sg_match_90_digit_laws" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_global_reference.py", + "symbol": "test_rebased_and_global_maps_agree_only_for_a_global_consistent_origin" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_one_dimensional_mechanism_r1_state.py", + "symbol": "test_forged_dc_pass_flag_does_not_replace_live_equations" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_baseline_initial.py", + "symbol": "test_make_system_preserves_import_path_and_builds_local_state_once" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_baseline_initial.py", + "symbol": "test_initial_solver_failure_has_no_second_attempt_or_old_potential_fallback" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_baseline_initial.py", + "symbol": "test_only_rounded_potential_reaches_original_binary64_population_map" + }, + { + "source_id": "archive:results/OneDimensionalMechanism/R1PhysicsDevelopmentV53/LongWindowV1/BaselineV1/Root/RequestV1.json", + "pointer": "/certificate_limits", + "value_sha256": "b54673f86c029ae83e50e67f4befa79e14bcbb6d419e4445c21a77d795d7b2f5" + }, + { + "source_id": "archive:results/OneDimensionalMechanism/R1PhysicsDevelopmentV53/LongWindowV1/BaselineV1/Root/RequestV1.json", + "pointer": "/solver_limits", + "value_sha256": "a46ae3398f9f6d0ab16538b20a6149078f0aaa5e6ca146e98bb960e1942853b1" + }, + { + "source_id": "archive:results/OneDimensionalMechanism/R1PhysicsDevelopmentV53/LongWindowV1/BaselineV1/Root/RequestV1.json", + "pointer": "/case", + "value_sha256": "c6e01ca25280b67ccabd484f51f88e7114731fb2ee182615525dd4431d0c3377" + }, + { + "source_id": "archive:results/OneDimensionalMechanism/R1PhysicsDevelopmentV53/LongWindowV1/BaselineV1/Root/RequestV1.json", + "pointer": "/inputs", + "value_sha256": "6cf2bc4f328e76a56a5cba3cf04418968273f74827b4f2fe3d7cae673e28c034" + } + ], + "negative_only_descriptor_rule_ids": [ + "rule-5ab75f7a9d0e32b95caea5df", + "rule-51b3e6bf3cf123cf8cefb31e", + "rule-1301cccdf47ab7c539e70259", + "rule-ba6f70808f31e5b2e50d140f", + "rule-fc7a92b812c8534c2521aea9" + ], + "source_quantitative_assertion_ids_for_scope_audit": [ + "rule-962865ce7ff99640047fdd38", + "rule-dec8778fd93738a48c734b59", + "rule-9645eb888252f67827277ba1", + "rule-de2700a5ba08d9dc168122ce", + "rule-903d5ca59cbf5f7a38b9cf51", + "rule-2cb4d3d39a0a45c46096c646", + "rule-e111bab9d51420b5552753b6", + "rule-ddc81d013e812341c044ab95", + "rule-698a13b74cd9890c751a922a", + "rule-5f8db9692652f3bf21654539" + ], + "rule_ids": [ + "M_payload", + "R1_original_convergence" + ], + "citations": [], + "remaining_inputs": [ + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-4f8f2c0e1fbe098f/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + }, + { + "field": "applicable original R1 Request/physical-standard/convergence-axis identity and external observation window; full100s/L1/L2/L3 only for full-protocol claims", + "needed_from": "experiment-4f8f2c0e1fbe098f original R1 source/response contract and bound retained reference evidence", + "blocked_use": "claiming original R1 precision or full-protocol qualification from a generic scalar check" + } + ], + "downstream_tasks": [ + "P02-08", + "P07-01", + "P07-02", + "P07-03", + "P07-04", + "P07-05" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-experiment-4f8f2c0e1fbe098f" + }, + "scope_specific_prior_gaps": [ + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-4f8f2c0e1fbe098f/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + }, + { + "field": "applicable original R1 Request/physical-standard/convergence-axis identity and external observation window; full100s/L1/L2/L3 only for full-protocol claims", + "needed_from": "experiment-4f8f2c0e1fbe098f original R1 source/response contract and bound retained reference evidence", + "blocked_use": "claiming original R1 precision or full-protocol qualification from a generic scalar check", + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [], + "current_numeric_status": "prior_exact_scope_gaps_retained_and_classified" + } + }, + { + "id": "scope-experiment-089f551cef6acbef", + "capability_id": "experiment-089f551cef6acbef", + "route_id": "route-5574a77d963b18e7", + "origin_key": "experiment:perovskite_sim.experiments.one_dimensional_mechanism_r1_protocol.run_r1_step", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "R1_original_request_and_precision_axes" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_protocol.py", + "symbol": "run_r1_step" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_physics_validation.py", + "symbol": "test_opt_in_recording_preserves_all_original_numerical_results" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_physics_validation.py", + "symbol": "test_reconstruction_failure_preserves_observed_state_and_coordinates" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_protocol.py", + "symbol": "test_all_physical_failures_reach_observer_and_survive_persistence_error" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_protocol.py", + "symbol": "test_controlled_step_retains_common_state_and_separates_impulse" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_protocol.py", + "symbol": "test_failed_physical_step_retains_accepted_partial_evidence" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_protocol.py", + "symbol": "test_final_regular_current_nonfinite_evidence_cannot_reach_digest" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_protocol.py", + "symbol": "test_independent_time_settings_execute_each_nested_level" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_protocol.py", + "symbol": "test_initial_numeric_failure_retains_underlying_residuals" + }, + { + "source_id": "archive:results/OneDimensionalMechanism/R1PhysicsDevelopmentV53/LongWindowV1/BaselineV1/Root/RequestV1.json", + "pointer": "/certificate_limits", + "value_sha256": "b54673f86c029ae83e50e67f4befa79e14bcbb6d419e4445c21a77d795d7b2f5" + }, + { + "source_id": "archive:results/OneDimensionalMechanism/R1PhysicsDevelopmentV53/LongWindowV1/BaselineV1/Root/RequestV1.json", + "pointer": "/solver_limits", + "value_sha256": "a46ae3398f9f6d0ab16538b20a6149078f0aaa5e6ca146e98bb960e1942853b1" + }, + { + "source_id": "archive:results/OneDimensionalMechanism/R1PhysicsDevelopmentV53/LongWindowV1/BaselineV1/Root/RequestV1.json", + "pointer": "/case", + "value_sha256": "c6e01ca25280b67ccabd484f51f88e7114731fb2ee182615525dd4431d0c3377" + }, + { + "source_id": "archive:results/OneDimensionalMechanism/R1PhysicsDevelopmentV53/LongWindowV1/BaselineV1/Root/RequestV1.json", + "pointer": "/inputs", + "value_sha256": "6cf2bc4f328e76a56a5cba3cf04418968273f74827b4f2fe3d7cae673e28c034" + } + ], + "negative_only_descriptor_rule_ids": [ + "rule-3dc7664fec6d1c703abd1390", + "rule-1b292a9f4eef78cb7ad3f047", + "rule-fb0c2e79b639c68923f1ae17", + "rule-146967a990dd2d78707ce384", + "rule-97a063803fa9d31ace4f6824" + ], + "source_quantitative_assertion_ids_for_scope_audit": [ + "rule-2d64a63b2440982e0065a6e7", + "rule-c078c4d24d5b5838d9f6b749", + "rule-6059efd52fcbc11d4a4bad94", + "rule-0ee3d37358d181869dfebb76" + ], + "rule_ids": [ + "M_payload", + "R1_original_convergence" + ], + "citations": [], + "remaining_inputs": [ + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-089f551cef6acbef/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + }, + { + "field": "applicable original R1 Request/physical-standard/convergence-axis identity and external observation window; full100s/L1/L2/L3 only for full-protocol claims", + "needed_from": "experiment-089f551cef6acbef original R1 source/response contract and bound retained reference evidence", + "blocked_use": "claiming original R1 precision or full-protocol qualification from a generic scalar check" + } + ], + "downstream_tasks": [ + "P01-04", + "P02-08", + "P07-01", + "P07-02", + "P07-03", + "P07-04", + "P07-05" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-experiment-089f551cef6acbef" + }, + "scope_specific_prior_gaps": [ + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-089f551cef6acbef/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + }, + { + "field": "applicable original R1 Request/physical-standard/convergence-axis identity and external observation window; full100s/L1/L2/L3 only for full-protocol claims", + "needed_from": "experiment-089f551cef6acbef original R1 source/response contract and bound retained reference evidence", + "blocked_use": "claiming original R1 precision or full-protocol qualification from a generic scalar check", + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [], + "current_numeric_status": "prior_exact_scope_gaps_retained_and_classified" + } + }, + { + "id": "scope-experiment-be0a906d081824ea", + "capability_id": "experiment-be0a906d081824ea", + "route_id": "route-16e41e21eea34bf8", + "origin_key": "experiment:perovskite_sim.experiments.one_dimensional_mechanism_r1_response.solve_controlled_dc", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "R1_original_request_and_precision_axes" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_response.py", + "symbol": "solve_controlled_dc" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_response.py", + "symbol": "test_biased_dc_retains_frozen_species_and_inventory" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_response.py", + "symbol": "test_frozen_ac_species_stay_fixed" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_response.py", + "symbol": "test_interface_only_tail_mismatch_is_rejected" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_response.py", + "symbol": "test_tail_comparison_keeps_unknown_infinite_tail_and_checks_identity" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_one_dimensional_mechanism_r1_state.py", + "symbol": "test_saved_dc_restore_checks_physics_without_running_a_new_dc_solve" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_post_execution_request_v4.py", + "symbol": "test_derived_phase_rejects_real_preparation_and_dc_entry_points_before_solving" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_r1_v11_response.py", + "symbol": "test_actual_controlled_dc_preserves_frozen_pair_populations" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_one_dimensional_mechanism_r1_response.py", + "symbol": "test_dc_endpoint_ladder_subtracts_baseline_without_claiming_linearity" + }, + { + "source_id": "archive:results/OneDimensionalMechanism/R1PhysicsDevelopmentV53/LongWindowV1/BaselineV1/Root/RequestV1.json", + "pointer": "/certificate_limits", + "value_sha256": "b54673f86c029ae83e50e67f4befa79e14bcbb6d419e4445c21a77d795d7b2f5" + }, + { + "source_id": "archive:results/OneDimensionalMechanism/R1PhysicsDevelopmentV53/LongWindowV1/BaselineV1/Root/RequestV1.json", + "pointer": "/solver_limits", + "value_sha256": "a46ae3398f9f6d0ab16538b20a6149078f0aaa5e6ca146e98bb960e1942853b1" + }, + { + "source_id": "archive:results/OneDimensionalMechanism/R1PhysicsDevelopmentV53/LongWindowV1/BaselineV1/Root/RequestV1.json", + "pointer": "/case", + "value_sha256": "c6e01ca25280b67ccabd484f51f88e7114731fb2ee182615525dd4431d0c3377" + }, + { + "source_id": "archive:results/OneDimensionalMechanism/R1PhysicsDevelopmentV53/LongWindowV1/BaselineV1/Root/RequestV1.json", + "pointer": "/inputs", + "value_sha256": "6cf2bc4f328e76a56a5cba3cf04418968273f74827b4f2fe3d7cae673e28c034" + } + ], + "negative_only_descriptor_rule_ids": [ + "rule-a2d7463672cc64a94be48cc6", + "rule-763c0b609f704fe627ecdf7e", + "rule-357fa8bb6297a7ea251e178d", + "rule-a291c00da08c47c0b5b72c24", + "rule-06a2e997736c2deccab4bc61" + ], + "source_quantitative_assertion_ids_for_scope_audit": [ + "rule-72e99f945b7a7d0f0c6ec571", + "rule-a05cda30e8a46a568b3ff775", + "rule-cfe44cae86edd79a1c0073b9", + "rule-19d9f7e7c0da472b7ce62879", + "rule-98ccb325cc4d888ed675060a", + "rule-0c7e4ad2744151b05e4d81b1", + "rule-07e3528c2c76bb6c0013cadf", + "rule-75472dba2c6d9308e998f058", + "rule-c8c21b879efcd76e9d5ec42a" + ], + "rule_ids": [ + "M_payload", + "R1_original_convergence" + ], + "citations": [], + "remaining_inputs": [ + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-be0a906d081824ea/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + }, + { + "field": "applicable original R1 Request/physical-standard/convergence-axis identity and external observation window; full100s/L1/L2/L3 only for full-protocol claims", + "needed_from": "experiment-be0a906d081824ea original R1 source/response contract and bound retained reference evidence", + "blocked_use": "claiming original R1 precision or full-protocol qualification from a generic scalar check" + } + ], + "downstream_tasks": [ + "P02-08", + "P07-01", + "P07-02", + "P07-03", + "P07-04", + "P07-05" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-experiment-be0a906d081824ea" + }, + "scope_specific_prior_gaps": [ + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-be0a906d081824ea/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + }, + { + "field": "applicable original R1 Request/physical-standard/convergence-axis identity and external observation window; full100s/L1/L2/L3 only for full-protocol claims", + "needed_from": "experiment-be0a906d081824ea original R1 source/response contract and bound retained reference evidence", + "blocked_use": "claiming original R1 precision or full-protocol qualification from a generic scalar check", + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [], + "current_numeric_status": "prior_exact_scope_gaps_retained_and_classified" + } + }, + { + "id": "scope-experiment-c363c4d6b2f1e7a9", + "capability_id": "experiment-c363c4d6b2f1e7a9", + "route_id": "route-3437e4b3d969b4d5", + "origin_key": "experiment:perovskite_sim.experiments.one_dimensional_mechanism_r1_state.prepare_common_state", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "R1_original_request_and_precision_axes" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_state.py", + "symbol": "prepare_common_state" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_physics_validation.py", + "symbol": "test_opt_in_recording_preserves_all_original_numerical_results" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_physics_validation.py", + "symbol": "test_reconstruction_failure_preserves_observed_state_and_coordinates" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_numerical_precision.py", + "symbol": "test_original_failure_representatives_complete_without_gate_changes" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_numerical_precision.py", + "symbol": "test_strict_trace_roundtrips_exact_coordinates_and_physical_equations" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_regular_independence_v4.py", + "symbol": "test_actual_coarse_step_fault_is_rejected_by_computed_physics_not_injected_flags" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_v7_precision.py", + "symbol": "test_actual_fine_initialization_short_steps_and_exact_replay" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_v8_ablation.py", + "symbol": "test_actual_short_ablation_and_replay_share_intervention" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_r1_v8_precision_evidence.py", + "symbol": "test_actual_short_run_has_both_sides_initial_construction_and_regular_updates" + }, + { + "source_id": "archive:results/OneDimensionalMechanism/R1PhysicsDevelopmentV53/LongWindowV1/BaselineV1/Root/RequestV1.json", + "pointer": "/certificate_limits", + "value_sha256": "b54673f86c029ae83e50e67f4befa79e14bcbb6d419e4445c21a77d795d7b2f5" + }, + { + "source_id": "archive:results/OneDimensionalMechanism/R1PhysicsDevelopmentV53/LongWindowV1/BaselineV1/Root/RequestV1.json", + "pointer": "/solver_limits", + "value_sha256": "a46ae3398f9f6d0ab16538b20a6149078f0aaa5e6ca146e98bb960e1942853b1" + }, + { + "source_id": "archive:results/OneDimensionalMechanism/R1PhysicsDevelopmentV53/LongWindowV1/BaselineV1/Root/RequestV1.json", + "pointer": "/case", + "value_sha256": "c6e01ca25280b67ccabd484f51f88e7114731fb2ee182615525dd4431d0c3377" + }, + { + "source_id": "archive:results/OneDimensionalMechanism/R1PhysicsDevelopmentV53/LongWindowV1/BaselineV1/Root/RequestV1.json", + "pointer": "/inputs", + "value_sha256": "6cf2bc4f328e76a56a5cba3cf04418968273f74827b4f2fe3d7cae673e28c034" + } + ], + "negative_only_descriptor_rule_ids": [ + "rule-3dc7664fec6d1c703abd1390", + "rule-971c2a1064f04ae7cfaa1858" + ], + "source_quantitative_assertion_ids_for_scope_audit": [ + "rule-2d64a63b2440982e0065a6e7", + "rule-24a2b27ec6a241c8d77ad34a", + "rule-05d80d0f9e00c1adeeda81b4", + "rule-aeaa3ca590fc78ab842682d9", + "rule-627fca5ad6ccfb56359579d8", + "rule-b453a0b155cb6561b340411e", + "rule-3a888f3b80584edbcb9e3c0b" + ], + "rule_ids": [ + "M_payload", + "R1_original_convergence" + ], + "citations": [], + "remaining_inputs": [ + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-c363c4d6b2f1e7a9/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + }, + { + "field": "applicable original R1 Request/physical-standard/convergence-axis identity and external observation window; full100s/L1/L2/L3 only for full-protocol claims", + "needed_from": "experiment-c363c4d6b2f1e7a9 original R1 source/response contract and bound retained reference evidence", + "blocked_use": "claiming original R1 precision or full-protocol qualification from a generic scalar check" + } + ], + "downstream_tasks": [ + "P02-08", + "P07-01", + "P07-02", + "P07-03", + "P07-04", + "P07-05" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-experiment-c363c4d6b2f1e7a9" + }, + "scope_specific_prior_gaps": [ + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-c363c4d6b2f1e7a9/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + }, + { + "field": "applicable original R1 Request/physical-standard/convergence-axis identity and external observation window; full100s/L1/L2/L3 only for full-protocol claims", + "needed_from": "experiment-c363c4d6b2f1e7a9 original R1 source/response contract and bound retained reference evidence", + "blocked_use": "claiming original R1 precision or full-protocol qualification from a generic scalar check", + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [], + "current_numeric_status": "prior_exact_scope_gaps_retained_and_classified" + } + }, + { + "id": "scope-experiment-dc4f01b0782f66c3", + "capability_id": "experiment-dc4f01b0782f66c3", + "route_id": "route-3431bf7169601fdb", + "origin_key": "experiment:perovskite_sim.experiments.open_circuit.integrate_open_circuit", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "physical_profiles_or_stored_state_history", + "waveform_integral_history" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/open_circuit.py", + "symbol": "integrate_open_circuit" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_open_circuit.py", + "symbol": "test_failed_integrator_never_reuses_the_initial_state" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_open_circuit.py", + "symbol": "test_known_capacitance_and_conductance_decay" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_open_circuit.py", + "symbol": "test_output_sampling_does_not_change_voltage_evolution" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_open_circuit.py", + "symbol": "test_wrong_displacement_in_the_integral_is_detected" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_foundation_tpv_spatial_refinement.py", + "symbol": "test_three_spatial_levels_resolve_the_same_physical_tpv" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_protocol.py", + "symbol": "test_public_experiments_reject_implicit_history_before_solving" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_tpv.py", + "symbol": "test_rejects_invalid_delta_G_frac" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_tpv.py", + "symbol": "test_rejects_nonpositive_t_pulse" + } + ], + "negative_only_descriptor_rule_ids": [ + "rule-d490cf21644ed18af673fc95", + "rule-c7422c3e86230925ab13625b", + "rule-85ae63d648f263162b846ce5", + "rule-96f2e6452bb4c35a1d1dd81b", + "rule-519b5904c14226f0800a874f", + "rule-c35cd219d9c3936f6df67853" + ], + "source_quantitative_assertion_ids_for_scope_audit": [ + "rule-37356dc24a4af358c1e2aecc", + "rule-20f37e21f4b0f9c28b818fbd", + "rule-3f5ffb3960f4a9b18b2a08d9", + "rule-8ba409a97deb18b7facdb2d2" + ], + "rule_ids": [ + "M_payload", + "potential_packet", + "positive_density_log", + "density_inventory_packet", + "transient_packet" + ], + "citations": [], + "remaining_inputs": [ + { + "field": "numeric fixed thermal/physical voltage scale in V from the exact reference temperature or declared boundary parameters", + "needed_from": "experiment-dc4f01b0782f66c3 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_open_circuit.py::test_failed_integrator_never_reuses_the_initial_state, perovskite-sim/tests/unit/experiments/test_open_circuit.py::test_known_capacitance_and_conductance_decay, perovskite-sim/tests/unit/experiments/test_open_circuit.py::test_output_sampling_does_not_change_voltage_evolution, perovskite-sim/tests/unit/experiments/test_open_circuit.py::test_wrong_displacement_in_the_integral_is_detected, perovskite-sim/tests/integration/test_foundation_tpv_spatial_refinement.py::test_three_spatial_levels_resolve_the_same_physical_tpv, perovskite-sim/tests/unit/experiments/test_protocol.py::test_public_experiments_reject_implicit_history_before_solvin", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.open_circuit.integrate_open_circuit" + }, + { + "field": "actual reference CV weights/support and physical gauge/contact values; allowed mask", + "needed_from": "experiment-dc4f01b0782f66c3 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_open_circuit.py::test_failed_integrator_never_reuses_the_initial_state, perovskite-sim/tests/unit/experiments/test_open_circuit.py::test_known_capacitance_and_conductance_decay, perovskite-sim/tests/unit/experiments/test_open_circuit.py::test_output_sampling_does_not_change_voltage_evolution, perovskite-sim/tests/unit/experiments/test_open_circuit.py::test_wrong_displacement_in_the_integral_is_detected, perovskite-sim/tests/integration/test_foundation_tpv_spatial_refinement.py::test_three_spatial_levels_resolve_the_same_physical_tpv, perovskite-sim/tests/unit/experiments/test_protocol.py::test_public_experiments_reject_implicit_history_before_solvin", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.open_circuit.integrate_open_circuit" + }, + { + "field": "independent source/grid/time/mapping error in V and its qualified reference identity", + "needed_from": "experiment-dc4f01b0782f66c3 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_open_circuit.py::test_failed_integrator_never_reuses_the_initial_state, perovskite-sim/tests/unit/experiments/test_open_circuit.py::test_known_capacitance_and_conductance_decay, perovskite-sim/tests/unit/experiments/test_open_circuit.py::test_output_sampling_does_not_change_voltage_evolution, perovskite-sim/tests/unit/experiments/test_open_circuit.py::test_wrong_displacement_in_the_integral_is_detected, perovskite-sim/tests/integration/test_foundation_tpv_spatial_refinement.py::test_three_spatial_levels_resolve_the_same_physical_tpv, perovskite-sim/tests/unit/experiments/test_protocol.py::test_public_experiments_reject_implicit_history_before_solvin", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.open_circuit.integrate_open_circuit" + }, + { + "field": "per-species/per-connected-domain positive reference inventory numeric scale and unit (1 or m-2, according to actual CV measure)", + "needed_from": "experiment-dc4f01b0782f66c3 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_open_circuit.py::test_failed_integrator_never_reuses_the_initial_state, perovskite-sim/tests/unit/experiments/test_open_circuit.py::test_known_capacitance_and_conductance_decay, perovskite-sim/tests/unit/experiments/test_open_circuit.py::test_output_sampling_does_not_change_voltage_evolution, perovskite-sim/tests/unit/experiments/test_open_circuit.py::test_wrong_displacement_in_the_integral_is_detected, perovskite-sim/tests/integration/test_foundation_tpv_spatial_refinement.py::test_three_spatial_levels_resolve_the_same_physical_tpv, perovskite-sim/tests/unit/experiments/test_protocol.py::test_public_experiments_reject_implicit_history_before_solvin", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.open_circuit.integrate_open_circuit" + }, + { + "field": "zero-species/zero-cell identity and numeric dimensional absolute gate from model absence or reference error evidence", + "needed_from": "experiment-dc4f01b0782f66c3 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_open_circuit.py::test_failed_integrator_never_reuses_the_initial_state, perovskite-sim/tests/unit/experiments/test_open_circuit.py::test_known_capacitance_and_conductance_decay, perovskite-sim/tests/unit/experiments/test_open_circuit.py::test_output_sampling_does_not_change_voltage_evolution, perovskite-sim/tests/unit/experiments/test_open_circuit.py::test_wrong_displacement_in_the_integral_is_detected, perovskite-sim/tests/integration/test_foundation_tpv_spatial_refinement.py::test_three_spatial_levels_resolve_the_same_physical_tpv, perovskite-sim/tests/unit/experiments/test_protocol.py::test_public_experiments_reject_implicit_history_before_solvin", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.open_circuit.integrate_open_circuit" + }, + { + "field": "actual volumes, component labels and independent log/inventory uncertainty", + "needed_from": "experiment-dc4f01b0782f66c3 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_open_circuit.py::test_failed_integrator_never_reuses_the_initial_state, perovskite-sim/tests/unit/experiments/test_open_circuit.py::test_known_capacitance_and_conductance_decay, perovskite-sim/tests/unit/experiments/test_open_circuit.py::test_output_sampling_does_not_change_voltage_evolution, perovskite-sim/tests/unit/experiments/test_open_circuit.py::test_wrong_displacement_in_the_integral_is_detected, perovskite-sim/tests/integration/test_foundation_tpv_spatial_refinement.py::test_three_spatial_levels_resolve_the_same_physical_tpv, perovskite-sim/tests/unit/experiments/test_protocol.py::test_public_experiments_reject_implicit_history_before_solvin", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.open_circuit.integrate_open_circuit" + }, + { + "field": "actual complete state history, time coordinates, event sides and original integral/fit-window identity", + "needed_from": "experiment-dc4f01b0782f66c3 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_open_circuit.py::test_failed_integrator_never_reuses_the_initial_state, perovskite-sim/tests/unit/experiments/test_open_circuit.py::test_known_capacitance_and_conductance_decay, perovskite-sim/tests/unit/experiments/test_open_circuit.py::test_output_sampling_does_not_change_voltage_evolution, perovskite-sim/tests/unit/experiments/test_open_circuit.py::test_wrong_displacement_in_the_integral_is_detected, perovskite-sim/tests/integration/test_foundation_tpv_spatial_refinement.py::test_three_spatial_levels_resolve_the_same_physical_tpv, perovskite-sim/tests/unit/experiments/test_protocol.py::test_public_experiments_reject_implicit_history_before_solvin", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.open_circuit.integrate_open_circuit" + }, + { + "field": "numeric separate waveform, integrated-charge and fit residual/derived-parameter scales/limits from the original channel", + "needed_from": "experiment-dc4f01b0782f66c3 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_open_circuit.py::test_failed_integrator_never_reuses_the_initial_state, perovskite-sim/tests/unit/experiments/test_open_circuit.py::test_known_capacitance_and_conductance_decay, perovskite-sim/tests/unit/experiments/test_open_circuit.py::test_output_sampling_does_not_change_voltage_evolution, perovskite-sim/tests/unit/experiments/test_open_circuit.py::test_wrong_displacement_in_the_integral_is_detected, perovskite-sim/tests/integration/test_foundation_tpv_spatial_refinement.py::test_three_spatial_levels_resolve_the_same_physical_tpv, perovskite-sim/tests/unit/experiments/test_protocol.py::test_public_experiments_reject_implicit_history_before_solvin", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.open_circuit.integrate_open_circuit" + }, + { + "field": "nonresetting interval/prefix uncertainty and accepted-history reference errors", + "needed_from": "experiment-dc4f01b0782f66c3 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_open_circuit.py::test_failed_integrator_never_reuses_the_initial_state, perovskite-sim/tests/unit/experiments/test_open_circuit.py::test_known_capacitance_and_conductance_decay, perovskite-sim/tests/unit/experiments/test_open_circuit.py::test_output_sampling_does_not_change_voltage_evolution, perovskite-sim/tests/unit/experiments/test_open_circuit.py::test_wrong_displacement_in_the_integral_is_detected, perovskite-sim/tests/integration/test_foundation_tpv_spatial_refinement.py::test_three_spatial_levels_resolve_the_same_physical_tpv, perovskite-sim/tests/unit/experiments/test_protocol.py::test_public_experiments_reject_implicit_history_before_solvin", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.open_circuit.integrate_open_circuit" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-dc4f01b0782f66c3/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + } + ], + "downstream_tasks": [ + "P02-06", + "P05-01", + "P05-04" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-experiment-dc4f01b0782f66c3" + }, + "scope_specific_prior_gaps": [ + { + "field": "numeric fixed thermal/physical voltage scale in V from the exact reference temperature or declared boundary parameters", + "needed_from": "experiment-dc4f01b0782f66c3 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_open_circuit.py::test_failed_integrator_never_reuses_the_initial_state, perovskite-sim/tests/unit/experiments/test_open_circuit.py::test_known_capacitance_and_conductance_decay, perovskite-sim/tests/unit/experiments/test_open_circuit.py::test_output_sampling_does_not_change_voltage_evolution, perovskite-sim/tests/unit/experiments/test_open_circuit.py::test_wrong_displacement_in_the_integral_is_detected, perovskite-sim/tests/integration/test_foundation_tpv_spatial_refinement.py::test_three_spatial_levels_resolve_the_same_physical_tpv, perovskite-sim/tests/unit/experiments/test_protocol.py::test_public_experiments_reject_implicit_history_before_solvin", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.open_circuit.integrate_open_circuit", + "categories": [ + "source_configuration" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual reference CV weights/support and physical gauge/contact values; allowed mask", + "needed_from": "experiment-dc4f01b0782f66c3 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_open_circuit.py::test_failed_integrator_never_reuses_the_initial_state, perovskite-sim/tests/unit/experiments/test_open_circuit.py::test_known_capacitance_and_conductance_decay, perovskite-sim/tests/unit/experiments/test_open_circuit.py::test_output_sampling_does_not_change_voltage_evolution, perovskite-sim/tests/unit/experiments/test_open_circuit.py::test_wrong_displacement_in_the_integral_is_detected, perovskite-sim/tests/integration/test_foundation_tpv_spatial_refinement.py::test_three_spatial_levels_resolve_the_same_physical_tpv, perovskite-sim/tests/unit/experiments/test_protocol.py::test_public_experiments_reject_implicit_history_before_solvin", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.open_circuit.integrate_open_circuit", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "independent source/grid/time/mapping error in V and its qualified reference identity", + "needed_from": "experiment-dc4f01b0782f66c3 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_open_circuit.py::test_failed_integrator_never_reuses_the_initial_state, perovskite-sim/tests/unit/experiments/test_open_circuit.py::test_known_capacitance_and_conductance_decay, perovskite-sim/tests/unit/experiments/test_open_circuit.py::test_output_sampling_does_not_change_voltage_evolution, perovskite-sim/tests/unit/experiments/test_open_circuit.py::test_wrong_displacement_in_the_integral_is_detected, perovskite-sim/tests/integration/test_foundation_tpv_spatial_refinement.py::test_three_spatial_levels_resolve_the_same_physical_tpv, perovskite-sim/tests/unit/experiments/test_protocol.py::test_public_experiments_reject_implicit_history_before_solvin", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.open_circuit.integrate_open_circuit", + "categories": [ + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "per-species/per-connected-domain positive reference inventory numeric scale and unit (1 or m-2, according to actual CV measure)", + "needed_from": "experiment-dc4f01b0782f66c3 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_open_circuit.py::test_failed_integrator_never_reuses_the_initial_state, perovskite-sim/tests/unit/experiments/test_open_circuit.py::test_known_capacitance_and_conductance_decay, perovskite-sim/tests/unit/experiments/test_open_circuit.py::test_output_sampling_does_not_change_voltage_evolution, perovskite-sim/tests/unit/experiments/test_open_circuit.py::test_wrong_displacement_in_the_integral_is_detected, perovskite-sim/tests/integration/test_foundation_tpv_spatial_refinement.py::test_three_spatial_levels_resolve_the_same_physical_tpv, perovskite-sim/tests/unit/experiments/test_protocol.py::test_public_experiments_reject_implicit_history_before_solvin", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.open_circuit.integrate_open_circuit", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "zero-species/zero-cell identity and numeric dimensional absolute gate from model absence or reference error evidence", + "needed_from": "experiment-dc4f01b0782f66c3 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_open_circuit.py::test_failed_integrator_never_reuses_the_initial_state, perovskite-sim/tests/unit/experiments/test_open_circuit.py::test_known_capacitance_and_conductance_decay, perovskite-sim/tests/unit/experiments/test_open_circuit.py::test_output_sampling_does_not_change_voltage_evolution, perovskite-sim/tests/unit/experiments/test_open_circuit.py::test_wrong_displacement_in_the_integral_is_detected, perovskite-sim/tests/integration/test_foundation_tpv_spatial_refinement.py::test_three_spatial_levels_resolve_the_same_physical_tpv, perovskite-sim/tests/unit/experiments/test_protocol.py::test_public_experiments_reject_implicit_history_before_solvin", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.open_circuit.integrate_open_circuit", + "categories": [ + "source_configuration", + "tolerance_decision" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual volumes, component labels and independent log/inventory uncertainty", + "needed_from": "experiment-dc4f01b0782f66c3 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_open_circuit.py::test_failed_integrator_never_reuses_the_initial_state, perovskite-sim/tests/unit/experiments/test_open_circuit.py::test_known_capacitance_and_conductance_decay, perovskite-sim/tests/unit/experiments/test_open_circuit.py::test_output_sampling_does_not_change_voltage_evolution, perovskite-sim/tests/unit/experiments/test_open_circuit.py::test_wrong_displacement_in_the_integral_is_detected, perovskite-sim/tests/integration/test_foundation_tpv_spatial_refinement.py::test_three_spatial_levels_resolve_the_same_physical_tpv, perovskite-sim/tests/unit/experiments/test_protocol.py::test_public_experiments_reject_implicit_history_before_solvin", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.open_circuit.integrate_open_circuit", + "categories": [ + "measurement_data", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual complete state history, time coordinates, event sides and original integral/fit-window identity", + "needed_from": "experiment-dc4f01b0782f66c3 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_open_circuit.py::test_failed_integrator_never_reuses_the_initial_state, perovskite-sim/tests/unit/experiments/test_open_circuit.py::test_known_capacitance_and_conductance_decay, perovskite-sim/tests/unit/experiments/test_open_circuit.py::test_output_sampling_does_not_change_voltage_evolution, perovskite-sim/tests/unit/experiments/test_open_circuit.py::test_wrong_displacement_in_the_integral_is_detected, perovskite-sim/tests/integration/test_foundation_tpv_spatial_refinement.py::test_three_spatial_levels_resolve_the_same_physical_tpv, perovskite-sim/tests/unit/experiments/test_protocol.py::test_public_experiments_reject_implicit_history_before_solvin", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.open_circuit.integrate_open_circuit", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "numeric separate waveform, integrated-charge and fit residual/derived-parameter scales/limits from the original channel", + "needed_from": "experiment-dc4f01b0782f66c3 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_open_circuit.py::test_failed_integrator_never_reuses_the_initial_state, perovskite-sim/tests/unit/experiments/test_open_circuit.py::test_known_capacitance_and_conductance_decay, perovskite-sim/tests/unit/experiments/test_open_circuit.py::test_output_sampling_does_not_change_voltage_evolution, perovskite-sim/tests/unit/experiments/test_open_circuit.py::test_wrong_displacement_in_the_integral_is_detected, perovskite-sim/tests/integration/test_foundation_tpv_spatial_refinement.py::test_three_spatial_levels_resolve_the_same_physical_tpv, perovskite-sim/tests/unit/experiments/test_protocol.py::test_public_experiments_reject_implicit_history_before_solvin", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.open_circuit.integrate_open_circuit", + "categories": [ + "tolerance_decision" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "nonresetting interval/prefix uncertainty and accepted-history reference errors", + "needed_from": "experiment-dc4f01b0782f66c3 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_open_circuit.py::test_failed_integrator_never_reuses_the_initial_state, perovskite-sim/tests/unit/experiments/test_open_circuit.py::test_known_capacitance_and_conductance_decay, perovskite-sim/tests/unit/experiments/test_open_circuit.py::test_output_sampling_does_not_change_voltage_evolution, perovskite-sim/tests/unit/experiments/test_open_circuit.py::test_wrong_displacement_in_the_integral_is_detected, perovskite-sim/tests/integration/test_foundation_tpv_spatial_refinement.py::test_three_spatial_levels_resolve_the_same_physical_tpv, perovskite-sim/tests/unit/experiments/test_protocol.py::test_public_experiments_reject_implicit_history_before_solvin", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.open_circuit.integrate_open_circuit", + "categories": [ + "measurement_data", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-dc4f01b0782f66c3/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [], + "current_numeric_status": "prior_exact_scope_gaps_retained_and_classified" + } + }, + { + "id": "scope-experiment-7a4e421429ce76e9", + "capability_id": "experiment-7a4e421429ce76e9", + "route_id": "route-e8ca7a89ef09d514", + "origin_key": "experiment:perovskite_sim.experiments.quasi_fermi_impedance.run_quasi_fermi_impedance", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "current_observation_or_current_input", + "complex_frequency_response" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/quasi_fermi_impedance.py", + "symbol": "run_quasi_fermi_impedance" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_multivalent_explicit_defects_qf.py", + "symbol": "test_quasi_fermi_impedance_fails_closed_for_multivalent" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py", + "symbol": "test_csi_frequency_domain_is_stable_to_steps_and_nominal_amplitude" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_dynamic_defect_impedance.py", + "symbol": "test_public_bulk_dynamic_defect_impedance_is_protocol_bound_and_certified" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_dynamic_defect_impedance.py", + "symbol": "test_public_interface_dynamic_defect_impedance_uses_two_sided_faces" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_dynamic_defect_impedance.py", + "symbol": "test_public_triple_coupled_defect_ion_impedance_is_certified" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_material_cache_regression.py", + "symbol": "test_impedance_ionmonger_finite_and_capacitive" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_impedance.py", + "symbol": "test_impedance_rejects_dynamic_interface_state_blocks" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_impedance.py", + "symbol": "test_impedance_rejects_empty_frequencies" + } + ], + "negative_only_descriptor_rule_ids": [ + "rule-d0c9efef19cab13b5fb251b8", + "rule-9fcb17d622af424efa4ae219", + "rule-117cac111ddab60b14037e34" + ], + "source_quantitative_assertion_ids_for_scope_audit": [ + "rule-f29979784c4a4e5012be6591", + "rule-2b77aac5e77a11f6e0941079", + "rule-271b083c7ccaa6d47a20651c", + "rule-c2cb13677db49a2ed6d93062" + ], + "rule_ids": [ + "M_payload", + "current_packet", + "complex_packet" + ], + "citations": [], + "remaining_inputs": [ + { + "field": "numeric reference current scale and absolute weak/zero current allowance, in the actual A or A m-2 output unit", + "needed_from": "experiment-7a4e421429ce76e9 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_multivalent_explicit_defects_qf.py::test_quasi_fermi_impedance_fails_closed_for_multivalent, perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py::test_csi_frequency_domain_is_stable_to_steps_and_nominal_amplitude, perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_bulk_dynamic_defect_impedance_is_protocol_bound_and_certified, perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_interface_dynamic_defect_impedance_uses_two_sided_faces, perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_triple_coupled_defect_ion_impedance_is_certified, perovskite-sim/tests/i", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.quasi_fermi_impedance.run_quasi_fermi_impedance" + }, + { + "field": "each component/sign/port/support, observation times and both event sides", + "needed_from": "experiment-7a4e421429ce76e9 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_multivalent_explicit_defects_qf.py::test_quasi_fermi_impedance_fails_closed_for_multivalent, perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py::test_csi_frequency_domain_is_stable_to_steps_and_nominal_amplitude, perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_bulk_dynamic_defect_impedance_is_protocol_bound_and_certified, perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_interface_dynamic_defect_impedance_uses_two_sided_faces, perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_triple_coupled_defect_ion_impedance_is_certified, perovskite-sim/tests/i", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.quasi_fermi_impedance.run_quasi_fermi_impedance" + }, + { + "field": "pointwise current uncertainty and a pointwise comparison limit; integrated charge is not a substitute", + "needed_from": "experiment-7a4e421429ce76e9 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_multivalent_explicit_defects_qf.py::test_quasi_fermi_impedance_fails_closed_for_multivalent, perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py::test_csi_frequency_domain_is_stable_to_steps_and_nominal_amplitude, perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_bulk_dynamic_defect_impedance_is_protocol_bound_and_certified, perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_interface_dynamic_defect_impedance_uses_two_sided_faces, perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_triple_coupled_defect_ion_impedance_is_certified, perovskite-sim/tests/i", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.quasi_fermi_impedance.run_quasi_fermi_impedance" + }, + { + "field": "fixed numeric reference scales and real/imaginary/complex absolute bounds in S m-2 or ohm m2 as actually emitted", + "needed_from": "experiment-7a4e421429ce76e9 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_multivalent_explicit_defects_qf.py::test_quasi_fermi_impedance_fails_closed_for_multivalent, perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py::test_csi_frequency_domain_is_stable_to_steps_and_nominal_amplitude, perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_bulk_dynamic_defect_impedance_is_protocol_bound_and_certified, perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_interface_dynamic_defect_impedance_uses_two_sided_faces, perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_triple_coupled_defect_ion_impedance_is_certified, perovskite-sim/tests/i", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.quasi_fermi_impedance.run_quasi_fermi_impedance" + }, + { + "field": "numeric absolute phase limit in radians and per-driver/frequency resolvability floor with independent uncertainty/physical-resolution evidence", + "needed_from": "experiment-7a4e421429ce76e9 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_multivalent_explicit_defects_qf.py::test_quasi_fermi_impedance_fails_closed_for_multivalent, perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py::test_csi_frequency_domain_is_stable_to_steps_and_nominal_amplitude, perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_bulk_dynamic_defect_impedance_is_protocol_bound_and_certified, perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_interface_dynamic_defect_impedance_uses_two_sided_faces, perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_triple_coupled_defect_ion_impedance_is_certified, perovskite-sim/tests/i", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.quasi_fermi_impedance.run_quasi_fermi_impedance" + }, + { + "field": "explicit exact-zero frequencies, coordinate identity and independent component/phase errors", + "needed_from": "experiment-7a4e421429ce76e9 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_multivalent_explicit_defects_qf.py::test_quasi_fermi_impedance_fails_closed_for_multivalent, perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py::test_csi_frequency_domain_is_stable_to_steps_and_nominal_amplitude, perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_bulk_dynamic_defect_impedance_is_protocol_bound_and_certified, perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_interface_dynamic_defect_impedance_uses_two_sided_faces, perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_triple_coupled_defect_ion_impedance_is_certified, perovskite-sim/tests/i", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.quasi_fermi_impedance.run_quasi_fermi_impedance" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-7a4e421429ce76e9/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + } + ], + "downstream_tasks": [ + "P04-06", + "P05-01", + "P05-03" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-experiment-7a4e421429ce76e9" + }, + "scope_specific_prior_gaps": [ + { + "field": "numeric reference current scale and absolute weak/zero current allowance, in the actual A or A m-2 output unit", + "needed_from": "experiment-7a4e421429ce76e9 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_multivalent_explicit_defects_qf.py::test_quasi_fermi_impedance_fails_closed_for_multivalent, perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py::test_csi_frequency_domain_is_stable_to_steps_and_nominal_amplitude, perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_bulk_dynamic_defect_impedance_is_protocol_bound_and_certified, perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_interface_dynamic_defect_impedance_uses_two_sided_faces, perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_triple_coupled_defect_ion_impedance_is_certified, perovskite-sim/tests/i", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.quasi_fermi_impedance.run_quasi_fermi_impedance", + "categories": [ + "source_configuration", + "tolerance_decision" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "each component/sign/port/support, observation times and both event sides", + "needed_from": "experiment-7a4e421429ce76e9 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_multivalent_explicit_defects_qf.py::test_quasi_fermi_impedance_fails_closed_for_multivalent, perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py::test_csi_frequency_domain_is_stable_to_steps_and_nominal_amplitude, perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_bulk_dynamic_defect_impedance_is_protocol_bound_and_certified, perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_interface_dynamic_defect_impedance_uses_two_sided_faces, perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_triple_coupled_defect_ion_impedance_is_certified, perovskite-sim/tests/i", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.quasi_fermi_impedance.run_quasi_fermi_impedance", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "pointwise current uncertainty and a pointwise comparison limit; integrated charge is not a substitute", + "needed_from": "experiment-7a4e421429ce76e9 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_multivalent_explicit_defects_qf.py::test_quasi_fermi_impedance_fails_closed_for_multivalent, perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py::test_csi_frequency_domain_is_stable_to_steps_and_nominal_amplitude, perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_bulk_dynamic_defect_impedance_is_protocol_bound_and_certified, perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_interface_dynamic_defect_impedance_uses_two_sided_faces, perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_triple_coupled_defect_ion_impedance_is_certified, perovskite-sim/tests/i", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.quasi_fermi_impedance.run_quasi_fermi_impedance", + "categories": [ + "tolerance_decision", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "fixed numeric reference scales and real/imaginary/complex absolute bounds in S m-2 or ohm m2 as actually emitted", + "needed_from": "experiment-7a4e421429ce76e9 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_multivalent_explicit_defects_qf.py::test_quasi_fermi_impedance_fails_closed_for_multivalent, perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py::test_csi_frequency_domain_is_stable_to_steps_and_nominal_amplitude, perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_bulk_dynamic_defect_impedance_is_protocol_bound_and_certified, perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_interface_dynamic_defect_impedance_uses_two_sided_faces, perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_triple_coupled_defect_ion_impedance_is_certified, perovskite-sim/tests/i", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.quasi_fermi_impedance.run_quasi_fermi_impedance", + "categories": [ + "source_configuration", + "tolerance_decision" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "numeric absolute phase limit in radians and per-driver/frequency resolvability floor with independent uncertainty/physical-resolution evidence", + "needed_from": "experiment-7a4e421429ce76e9 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_multivalent_explicit_defects_qf.py::test_quasi_fermi_impedance_fails_closed_for_multivalent, perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py::test_csi_frequency_domain_is_stable_to_steps_and_nominal_amplitude, perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_bulk_dynamic_defect_impedance_is_protocol_bound_and_certified, perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_interface_dynamic_defect_impedance_uses_two_sided_faces, perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_triple_coupled_defect_ion_impedance_is_certified, perovskite-sim/tests/i", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.quasi_fermi_impedance.run_quasi_fermi_impedance", + "categories": [ + "tolerance_decision", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "explicit exact-zero frequencies, coordinate identity and independent component/phase errors", + "needed_from": "experiment-7a4e421429ce76e9 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_multivalent_explicit_defects_qf.py::test_quasi_fermi_impedance_fails_closed_for_multivalent, perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py::test_csi_frequency_domain_is_stable_to_steps_and_nominal_amplitude, perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_bulk_dynamic_defect_impedance_is_protocol_bound_and_certified, perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_interface_dynamic_defect_impedance_uses_two_sided_faces, perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_triple_coupled_defect_ion_impedance_is_certified, perovskite-sim/tests/i", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.quasi_fermi_impedance.run_quasi_fermi_impedance", + "categories": [ + "measurement_data", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-7a4e421429ce76e9/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [], + "current_numeric_status": "prior_exact_scope_gaps_retained_and_classified" + } + }, + { + "id": "scope-experiment-e5baf86a6d60f39c", + "capability_id": "experiment-e5baf86a6d60f39c", + "route_id": "route-1c35c1275d46d863", + "origin_key": "experiment:perovskite_sim.experiments.quasi_fermi_steady_state.solve_equilibrium_referenced_interface_charge_steady_state", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "physical_profiles_or_stored_state_history", + "CV_geometry_and_interface_sides" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/quasi_fermi_steady_state.py", + "symbol": "solve_equilibrium_referenced_interface_charge_steady_state" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py", + "symbol": "test_interface_device_ac_recertifies_supplied_dc_state_on_live_operator" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py", + "symbol": "test_contact_opt_in_is_bit_identical_and_seed_tampering_fails_closed" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py", + "symbol": "test_research_api_binds_dark_reference_and_keeps_production_gate_parked" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py", + "symbol": "test_research_api_rejects_reference_from_a_different_stack" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py", + "symbol": "test_research_api_rejects_tampered_dark_reference_state_hash" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py", + "symbol": "test_research_api_rejects_tampered_microscopic_dark_reference" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py", + "symbol": "test_fake_sweep_reuses_charged_points_and_retains_evidence" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py", + "symbol": "test_real_small_grid_charged_jv_has_pointwise_evidence" + } + ], + "negative_only_descriptor_rule_ids": [ + "rule-f0925d75fb53651a07afe567", + "rule-ec731e62e54b6f86e3b62e49", + "rule-ced71cfa7d6e282b3acdaeb2", + "rule-5992fd62bc62c4d991de0037", + "rule-cb3f2e48c2fd3f8b0b9e3ea9" + ], + "source_quantitative_assertion_ids_for_scope_audit": [ + "rule-5c223a82d04dd3f39a82b9e2", + "rule-bee4f719f1d5e2ed33c8b463", + "rule-1a400b20980e0e2da4cd87ce", + "rule-bf59f2fea306ff0639c96d8d", + "rule-ec3bf9575bc0bbbabc39b37d", + "rule-dc390075f1af30a7919a82f1" + ], + "rule_ids": [ + "M_payload", + "potential_packet", + "positive_density_log", + "density_inventory_packet", + "projection_packet" + ], + "citations": [], + "remaining_inputs": [ + { + "field": "numeric fixed thermal/physical voltage scale in V from the exact reference temperature or declared boundary parameters", + "needed_from": "experiment-e5baf86a6d60f39c exact original driver/reference observation packet; perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_interface_device_ac_recertifies_supplied_dc_state_on_live_operator, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_contact_opt_in_is_bit_identical_and_seed_tampering_fails_closed, perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py::test_research_api_binds_dark_reference_and_keeps_production_gate_parked, perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py::test_research_api_rejects_reference_from_a_different_stack, perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py::test_research_api_rejects_tampered_dark_reference_state_hash, pero", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.quasi_fermi_steady_state.solve_equilibrium_referenced_interface_charge_steady_state" + }, + { + "field": "actual reference CV weights/support and physical gauge/contact values; allowed mask", + "needed_from": "experiment-e5baf86a6d60f39c exact original driver/reference observation packet; perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_interface_device_ac_recertifies_supplied_dc_state_on_live_operator, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_contact_opt_in_is_bit_identical_and_seed_tampering_fails_closed, perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py::test_research_api_binds_dark_reference_and_keeps_production_gate_parked, perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py::test_research_api_rejects_reference_from_a_different_stack, perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py::test_research_api_rejects_tampered_dark_reference_state_hash, pero", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.quasi_fermi_steady_state.solve_equilibrium_referenced_interface_charge_steady_state" + }, + { + "field": "independent source/grid/time/mapping error in V and its qualified reference identity", + "needed_from": "experiment-e5baf86a6d60f39c exact original driver/reference observation packet; perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_interface_device_ac_recertifies_supplied_dc_state_on_live_operator, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_contact_opt_in_is_bit_identical_and_seed_tampering_fails_closed, perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py::test_research_api_binds_dark_reference_and_keeps_production_gate_parked, perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py::test_research_api_rejects_reference_from_a_different_stack, perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py::test_research_api_rejects_tampered_dark_reference_state_hash, pero", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.quasi_fermi_steady_state.solve_equilibrium_referenced_interface_charge_steady_state" + }, + { + "field": "per-species/per-connected-domain positive reference inventory numeric scale and unit (1 or m-2, according to actual CV measure)", + "needed_from": "experiment-e5baf86a6d60f39c exact original driver/reference observation packet; perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_interface_device_ac_recertifies_supplied_dc_state_on_live_operator, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_contact_opt_in_is_bit_identical_and_seed_tampering_fails_closed, perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py::test_research_api_binds_dark_reference_and_keeps_production_gate_parked, perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py::test_research_api_rejects_reference_from_a_different_stack, perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py::test_research_api_rejects_tampered_dark_reference_state_hash, pero", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.quasi_fermi_steady_state.solve_equilibrium_referenced_interface_charge_steady_state" + }, + { + "field": "zero-species/zero-cell identity and numeric dimensional absolute gate from model absence or reference error evidence", + "needed_from": "experiment-e5baf86a6d60f39c exact original driver/reference observation packet; perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_interface_device_ac_recertifies_supplied_dc_state_on_live_operator, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_contact_opt_in_is_bit_identical_and_seed_tampering_fails_closed, perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py::test_research_api_binds_dark_reference_and_keeps_production_gate_parked, perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py::test_research_api_rejects_reference_from_a_different_stack, perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py::test_research_api_rejects_tampered_dark_reference_state_hash, pero", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.quasi_fermi_steady_state.solve_equilibrium_referenced_interface_charge_steady_state" + }, + { + "field": "actual volumes, component labels and independent log/inventory uncertainty", + "needed_from": "experiment-e5baf86a6d60f39c exact original driver/reference observation packet; perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_interface_device_ac_recertifies_supplied_dc_state_on_live_operator, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_contact_opt_in_is_bit_identical_and_seed_tampering_fails_closed, perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py::test_research_api_binds_dark_reference_and_keeps_production_gate_parked, perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py::test_research_api_rejects_reference_from_a_different_stack, perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py::test_research_api_rejects_tampered_dark_reference_state_hash, pero", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.quasi_fermi_steady_state.solve_equilibrium_referenced_interface_charge_steady_state" + }, + { + "field": "source/target geometry and a verified conservative CV intersection/projection artifact or explicit1D cell averages", + "needed_from": "experiment-e5baf86a6d60f39c exact original driver/reference observation packet; perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_interface_device_ac_recertifies_supplied_dc_state_on_live_operator, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_contact_opt_in_is_bit_identical_and_seed_tampering_fails_closed, perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py::test_research_api_binds_dark_reference_and_keeps_production_gate_parked, perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py::test_research_api_rejects_reference_from_a_different_stack, perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py::test_research_api_rejects_tampered_dark_reference_state_hash, pero", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.quasi_fermi_steady_state.solve_equilibrium_referenced_interface_charge_steady_state" + }, + { + "field": "fixed numeric integral/inventory/left-trace/right-trace scales and limits in their physical units", + "needed_from": "experiment-e5baf86a6d60f39c exact original driver/reference observation packet; perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_interface_device_ac_recertifies_supplied_dc_state_on_live_operator, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_contact_opt_in_is_bit_identical_and_seed_tampering_fails_closed, perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py::test_research_api_binds_dark_reference_and_keeps_production_gate_parked, perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py::test_research_api_rejects_reference_from_a_different_stack, perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py::test_research_api_rejects_tampered_dark_reference_state_hash, pero", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.quasi_fermi_steady_state.solve_equilibrium_referenced_interface_charge_steady_state" + }, + { + "field": "projection error, component topology and every interface-side identity", + "needed_from": "experiment-e5baf86a6d60f39c exact original driver/reference observation packet; perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_interface_device_ac_recertifies_supplied_dc_state_on_live_operator, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_contact_opt_in_is_bit_identical_and_seed_tampering_fails_closed, perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py::test_research_api_binds_dark_reference_and_keeps_production_gate_parked, perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py::test_research_api_rejects_reference_from_a_different_stack, perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py::test_research_api_rejects_tampered_dark_reference_state_hash, pero", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.quasi_fermi_steady_state.solve_equilibrium_referenced_interface_charge_steady_state" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-e5baf86a6d60f39c/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + } + ], + "downstream_tasks": [ + "P04-04", + "P05-01", + "P05-02" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-experiment-e5baf86a6d60f39c" + }, + "scope_specific_prior_gaps": [ + { + "field": "numeric fixed thermal/physical voltage scale in V from the exact reference temperature or declared boundary parameters", + "needed_from": "experiment-e5baf86a6d60f39c exact original driver/reference observation packet; perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_interface_device_ac_recertifies_supplied_dc_state_on_live_operator, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_contact_opt_in_is_bit_identical_and_seed_tampering_fails_closed, perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py::test_research_api_binds_dark_reference_and_keeps_production_gate_parked, perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py::test_research_api_rejects_reference_from_a_different_stack, perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py::test_research_api_rejects_tampered_dark_reference_state_hash, pero", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.quasi_fermi_steady_state.solve_equilibrium_referenced_interface_charge_steady_state", + "categories": [ + "source_configuration" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual reference CV weights/support and physical gauge/contact values; allowed mask", + "needed_from": "experiment-e5baf86a6d60f39c exact original driver/reference observation packet; perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_interface_device_ac_recertifies_supplied_dc_state_on_live_operator, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_contact_opt_in_is_bit_identical_and_seed_tampering_fails_closed, perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py::test_research_api_binds_dark_reference_and_keeps_production_gate_parked, perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py::test_research_api_rejects_reference_from_a_different_stack, perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py::test_research_api_rejects_tampered_dark_reference_state_hash, pero", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.quasi_fermi_steady_state.solve_equilibrium_referenced_interface_charge_steady_state", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "independent source/grid/time/mapping error in V and its qualified reference identity", + "needed_from": "experiment-e5baf86a6d60f39c exact original driver/reference observation packet; perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_interface_device_ac_recertifies_supplied_dc_state_on_live_operator, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_contact_opt_in_is_bit_identical_and_seed_tampering_fails_closed, perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py::test_research_api_binds_dark_reference_and_keeps_production_gate_parked, perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py::test_research_api_rejects_reference_from_a_different_stack, perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py::test_research_api_rejects_tampered_dark_reference_state_hash, pero", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.quasi_fermi_steady_state.solve_equilibrium_referenced_interface_charge_steady_state", + "categories": [ + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "per-species/per-connected-domain positive reference inventory numeric scale and unit (1 or m-2, according to actual CV measure)", + "needed_from": "experiment-e5baf86a6d60f39c exact original driver/reference observation packet; perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_interface_device_ac_recertifies_supplied_dc_state_on_live_operator, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_contact_opt_in_is_bit_identical_and_seed_tampering_fails_closed, perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py::test_research_api_binds_dark_reference_and_keeps_production_gate_parked, perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py::test_research_api_rejects_reference_from_a_different_stack, perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py::test_research_api_rejects_tampered_dark_reference_state_hash, pero", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.quasi_fermi_steady_state.solve_equilibrium_referenced_interface_charge_steady_state", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "zero-species/zero-cell identity and numeric dimensional absolute gate from model absence or reference error evidence", + "needed_from": "experiment-e5baf86a6d60f39c exact original driver/reference observation packet; perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_interface_device_ac_recertifies_supplied_dc_state_on_live_operator, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_contact_opt_in_is_bit_identical_and_seed_tampering_fails_closed, perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py::test_research_api_binds_dark_reference_and_keeps_production_gate_parked, perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py::test_research_api_rejects_reference_from_a_different_stack, perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py::test_research_api_rejects_tampered_dark_reference_state_hash, pero", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.quasi_fermi_steady_state.solve_equilibrium_referenced_interface_charge_steady_state", + "categories": [ + "source_configuration", + "tolerance_decision" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual volumes, component labels and independent log/inventory uncertainty", + "needed_from": "experiment-e5baf86a6d60f39c exact original driver/reference observation packet; perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_interface_device_ac_recertifies_supplied_dc_state_on_live_operator, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_contact_opt_in_is_bit_identical_and_seed_tampering_fails_closed, perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py::test_research_api_binds_dark_reference_and_keeps_production_gate_parked, perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py::test_research_api_rejects_reference_from_a_different_stack, perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py::test_research_api_rejects_tampered_dark_reference_state_hash, pero", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.quasi_fermi_steady_state.solve_equilibrium_referenced_interface_charge_steady_state", + "categories": [ + "measurement_data", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "source/target geometry and a verified conservative CV intersection/projection artifact or explicit1D cell averages", + "needed_from": "experiment-e5baf86a6d60f39c exact original driver/reference observation packet; perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_interface_device_ac_recertifies_supplied_dc_state_on_live_operator, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_contact_opt_in_is_bit_identical_and_seed_tampering_fails_closed, perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py::test_research_api_binds_dark_reference_and_keeps_production_gate_parked, perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py::test_research_api_rejects_reference_from_a_different_stack, perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py::test_research_api_rejects_tampered_dark_reference_state_hash, pero", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.quasi_fermi_steady_state.solve_equilibrium_referenced_interface_charge_steady_state", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "fixed numeric integral/inventory/left-trace/right-trace scales and limits in their physical units", + "needed_from": "experiment-e5baf86a6d60f39c exact original driver/reference observation packet; perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_interface_device_ac_recertifies_supplied_dc_state_on_live_operator, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_contact_opt_in_is_bit_identical_and_seed_tampering_fails_closed, perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py::test_research_api_binds_dark_reference_and_keeps_production_gate_parked, perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py::test_research_api_rejects_reference_from_a_different_stack, perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py::test_research_api_rejects_tampered_dark_reference_state_hash, pero", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.quasi_fermi_steady_state.solve_equilibrium_referenced_interface_charge_steady_state", + "categories": [ + "source_configuration", + "tolerance_decision" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "projection error, component topology and every interface-side identity", + "needed_from": "experiment-e5baf86a6d60f39c exact original driver/reference observation packet; perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py::test_interface_device_ac_recertifies_supplied_dc_state_on_live_operator, perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_contact_opt_in_is_bit_identical_and_seed_tampering_fails_closed, perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py::test_research_api_binds_dark_reference_and_keeps_production_gate_parked, perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py::test_research_api_rejects_reference_from_a_different_stack, perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py::test_research_api_rejects_tampered_dark_reference_state_hash, pero", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.quasi_fermi_steady_state.solve_equilibrium_referenced_interface_charge_steady_state", + "categories": [ + "source_configuration", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-e5baf86a6d60f39c/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [], + "current_numeric_status": "prior_exact_scope_gaps_retained_and_classified" + } + }, + { + "id": "scope-experiment-2013b85fee4526d6", + "capability_id": "experiment-2013b85fee4526d6", + "route_id": "route-1c35c1275d46d863", + "origin_key": "experiment:perovskite_sim.experiments.quasi_fermi_steady_state.solve_quasi_fermi_jv_sweep", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "JV_metrics_and_full_branch", + "current_observation_or_current_input" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/quasi_fermi_steady_state.py", + "symbol": "solve_quasi_fermi_jv_sweep" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "symbol": "test_mixed_distributed_species_close_in_illuminated_qf_jv" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "symbol": "test_public_qf_jv_sweep_retains_charged_defect_certificates" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_multivalent_explicit_defects_qf.py", + "symbol": "test_multi_species_v4_layer_is_certified_through_the_qf_lane" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_multivalent_explicit_defects_qf.py", + "symbol": "test_public_qf_jv_sweep_retains_multivalent_certificates" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_spatially_graded_explicit_defects_qf.py", + "symbol": "test_spatially_graded_dark_qf_state_and_small_jv_are_certified" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_jv_driver_capability.py", + "symbol": "test_qf_stop_after_voc_advances_to_next_nested_coarse_point" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_jv_driver_capability.py", + "symbol": "test_qf_stop_after_voc_retains_the_certified_bracket" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py", + "symbol": "test_certified_short_circuit_seed_is_recertified_directly_at_one_sun" + } + ], + "negative_only_descriptor_rule_ids": [], + "source_quantitative_assertion_ids_for_scope_audit": [ + "rule-67fbca59dc1c3262c84f4214", + "rule-f27ba068b0b5fd5c8454ad54", + "rule-76cda7384a908bca34a56255", + "rule-caf2819b1073aaa6814f37b3", + "rule-85ddefac0ad83d9372f98476", + "rule-6f986b5dda3bffe999038151", + "rule-77df755a2936bed2e0d9f864" + ], + "rule_ids": [ + "M_payload", + "Voc_absolute", + "JV_metric_packet", + "current_packet" + ], + "citations": [], + "remaining_inputs": [ + { + "field": "fixed numeric Jsc/FF/PCE reference values/scales with the actual output units and conversion identity", + "needed_from": "experiment-2013b85fee4526d6 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_mixed_distributed_species_close_in_illuminated_qf_jv, perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_public_qf_jv_sweep_retains_charged_defect_certificates, perovskite-sim/tests/integration/test_multivalent_explicit_defects_qf.py::test_multi_species_v4_layer_is_certified_through_the_qf_lane, perovskite-sim/tests/integration/test_multivalent_explicit_defects_qf.py::test_public_qf_jv_sweep_retains_multivalent_certificates, perovskite-sim/tests/integration/test_spatially_graded_explicit_defects_qf.py::test_spatially_graded_dark_qf_state_and_small_jv_are_certified, perovskite-sim/tests/unit/exp", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.quasi_fermi_steady_state.solve_quasi_fermi_jv_sweep" + }, + { + "field": "dimensional dark/weak Jsc and zero-power absolute limits with error evidence", + "needed_from": "experiment-2013b85fee4526d6 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_mixed_distributed_species_close_in_illuminated_qf_jv, perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_public_qf_jv_sweep_retains_charged_defect_certificates, perovskite-sim/tests/integration/test_multivalent_explicit_defects_qf.py::test_multi_species_v4_layer_is_certified_through_the_qf_lane, perovskite-sim/tests/integration/test_multivalent_explicit_defects_qf.py::test_public_qf_jv_sweep_retains_multivalent_certificates, perovskite-sim/tests/integration/test_spatially_graded_explicit_defects_qf.py::test_spatially_graded_dark_qf_state_and_small_jv_are_certified, perovskite-sim/tests/unit/exp", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.quasi_fermi_steady_state.solve_quasi_fermi_jv_sweep" + }, + { + "field": "Voc bracket, dJ/dV and current-error propagation bound; MPP sampling and full branch coordinates", + "needed_from": "experiment-2013b85fee4526d6 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_mixed_distributed_species_close_in_illuminated_qf_jv, perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_public_qf_jv_sweep_retains_charged_defect_certificates, perovskite-sim/tests/integration/test_multivalent_explicit_defects_qf.py::test_multi_species_v4_layer_is_certified_through_the_qf_lane, perovskite-sim/tests/integration/test_multivalent_explicit_defects_qf.py::test_public_qf_jv_sweep_retains_multivalent_certificates, perovskite-sim/tests/integration/test_spatially_graded_explicit_defects_qf.py::test_spatially_graded_dark_qf_state_and_small_jv_are_certified, perovskite-sim/tests/unit/exp", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.quasi_fermi_steady_state.solve_quasi_fermi_jv_sweep" + }, + { + "field": "numeric reference current scale and absolute weak/zero current allowance, in the actual A or A m-2 output unit", + "needed_from": "experiment-2013b85fee4526d6 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_mixed_distributed_species_close_in_illuminated_qf_jv, perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_public_qf_jv_sweep_retains_charged_defect_certificates, perovskite-sim/tests/integration/test_multivalent_explicit_defects_qf.py::test_multi_species_v4_layer_is_certified_through_the_qf_lane, perovskite-sim/tests/integration/test_multivalent_explicit_defects_qf.py::test_public_qf_jv_sweep_retains_multivalent_certificates, perovskite-sim/tests/integration/test_spatially_graded_explicit_defects_qf.py::test_spatially_graded_dark_qf_state_and_small_jv_are_certified, perovskite-sim/tests/unit/exp", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.quasi_fermi_steady_state.solve_quasi_fermi_jv_sweep" + }, + { + "field": "each component/sign/port/support, observation times and both event sides", + "needed_from": "experiment-2013b85fee4526d6 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_mixed_distributed_species_close_in_illuminated_qf_jv, perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_public_qf_jv_sweep_retains_charged_defect_certificates, perovskite-sim/tests/integration/test_multivalent_explicit_defects_qf.py::test_multi_species_v4_layer_is_certified_through_the_qf_lane, perovskite-sim/tests/integration/test_multivalent_explicit_defects_qf.py::test_public_qf_jv_sweep_retains_multivalent_certificates, perovskite-sim/tests/integration/test_spatially_graded_explicit_defects_qf.py::test_spatially_graded_dark_qf_state_and_small_jv_are_certified, perovskite-sim/tests/unit/exp", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.quasi_fermi_steady_state.solve_quasi_fermi_jv_sweep" + }, + { + "field": "pointwise current uncertainty and a pointwise comparison limit; integrated charge is not a substitute", + "needed_from": "experiment-2013b85fee4526d6 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_mixed_distributed_species_close_in_illuminated_qf_jv, perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_public_qf_jv_sweep_retains_charged_defect_certificates, perovskite-sim/tests/integration/test_multivalent_explicit_defects_qf.py::test_multi_species_v4_layer_is_certified_through_the_qf_lane, perovskite-sim/tests/integration/test_multivalent_explicit_defects_qf.py::test_public_qf_jv_sweep_retains_multivalent_certificates, perovskite-sim/tests/integration/test_spatially_graded_explicit_defects_qf.py::test_spatially_graded_dark_qf_state_and_small_jv_are_certified, perovskite-sim/tests/unit/exp", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.quasi_fermi_steady_state.solve_quasi_fermi_jv_sweep" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-2013b85fee4526d6/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + } + ], + "downstream_tasks": [ + "P04-04", + "P05-01", + "P05-02" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-experiment-2013b85fee4526d6" + }, + "scope_specific_prior_gaps": [ + { + "field": "fixed numeric Jsc/FF/PCE reference values/scales with the actual output units and conversion identity", + "needed_from": "experiment-2013b85fee4526d6 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_mixed_distributed_species_close_in_illuminated_qf_jv, perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_public_qf_jv_sweep_retains_charged_defect_certificates, perovskite-sim/tests/integration/test_multivalent_explicit_defects_qf.py::test_multi_species_v4_layer_is_certified_through_the_qf_lane, perovskite-sim/tests/integration/test_multivalent_explicit_defects_qf.py::test_public_qf_jv_sweep_retains_multivalent_certificates, perovskite-sim/tests/integration/test_spatially_graded_explicit_defects_qf.py::test_spatially_graded_dark_qf_state_and_small_jv_are_certified, perovskite-sim/tests/unit/exp", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.quasi_fermi_steady_state.solve_quasi_fermi_jv_sweep", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "dimensional dark/weak Jsc and zero-power absolute limits with error evidence", + "needed_from": "experiment-2013b85fee4526d6 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_mixed_distributed_species_close_in_illuminated_qf_jv, perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_public_qf_jv_sweep_retains_charged_defect_certificates, perovskite-sim/tests/integration/test_multivalent_explicit_defects_qf.py::test_multi_species_v4_layer_is_certified_through_the_qf_lane, perovskite-sim/tests/integration/test_multivalent_explicit_defects_qf.py::test_public_qf_jv_sweep_retains_multivalent_certificates, perovskite-sim/tests/integration/test_spatially_graded_explicit_defects_qf.py::test_spatially_graded_dark_qf_state_and_small_jv_are_certified, perovskite-sim/tests/unit/exp", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.quasi_fermi_steady_state.solve_quasi_fermi_jv_sweep", + "categories": [ + "tolerance_decision", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "Voc bracket, dJ/dV and current-error propagation bound; MPP sampling and full branch coordinates", + "needed_from": "experiment-2013b85fee4526d6 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_mixed_distributed_species_close_in_illuminated_qf_jv, perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_public_qf_jv_sweep_retains_charged_defect_certificates, perovskite-sim/tests/integration/test_multivalent_explicit_defects_qf.py::test_multi_species_v4_layer_is_certified_through_the_qf_lane, perovskite-sim/tests/integration/test_multivalent_explicit_defects_qf.py::test_public_qf_jv_sweep_retains_multivalent_certificates, perovskite-sim/tests/integration/test_spatially_graded_explicit_defects_qf.py::test_spatially_graded_dark_qf_state_and_small_jv_are_certified, perovskite-sim/tests/unit/exp", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.quasi_fermi_steady_state.solve_quasi_fermi_jv_sweep", + "categories": [ + "measurement_data", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "numeric reference current scale and absolute weak/zero current allowance, in the actual A or A m-2 output unit", + "needed_from": "experiment-2013b85fee4526d6 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_mixed_distributed_species_close_in_illuminated_qf_jv, perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_public_qf_jv_sweep_retains_charged_defect_certificates, perovskite-sim/tests/integration/test_multivalent_explicit_defects_qf.py::test_multi_species_v4_layer_is_certified_through_the_qf_lane, perovskite-sim/tests/integration/test_multivalent_explicit_defects_qf.py::test_public_qf_jv_sweep_retains_multivalent_certificates, perovskite-sim/tests/integration/test_spatially_graded_explicit_defects_qf.py::test_spatially_graded_dark_qf_state_and_small_jv_are_certified, perovskite-sim/tests/unit/exp", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.quasi_fermi_steady_state.solve_quasi_fermi_jv_sweep", + "categories": [ + "source_configuration", + "tolerance_decision" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "each component/sign/port/support, observation times and both event sides", + "needed_from": "experiment-2013b85fee4526d6 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_mixed_distributed_species_close_in_illuminated_qf_jv, perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_public_qf_jv_sweep_retains_charged_defect_certificates, perovskite-sim/tests/integration/test_multivalent_explicit_defects_qf.py::test_multi_species_v4_layer_is_certified_through_the_qf_lane, perovskite-sim/tests/integration/test_multivalent_explicit_defects_qf.py::test_public_qf_jv_sweep_retains_multivalent_certificates, perovskite-sim/tests/integration/test_spatially_graded_explicit_defects_qf.py::test_spatially_graded_dark_qf_state_and_small_jv_are_certified, perovskite-sim/tests/unit/exp", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.quasi_fermi_steady_state.solve_quasi_fermi_jv_sweep", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "pointwise current uncertainty and a pointwise comparison limit; integrated charge is not a substitute", + "needed_from": "experiment-2013b85fee4526d6 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_mixed_distributed_species_close_in_illuminated_qf_jv, perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_public_qf_jv_sweep_retains_charged_defect_certificates, perovskite-sim/tests/integration/test_multivalent_explicit_defects_qf.py::test_multi_species_v4_layer_is_certified_through_the_qf_lane, perovskite-sim/tests/integration/test_multivalent_explicit_defects_qf.py::test_public_qf_jv_sweep_retains_multivalent_certificates, perovskite-sim/tests/integration/test_spatially_graded_explicit_defects_qf.py::test_spatially_graded_dark_qf_state_and_small_jv_are_certified, perovskite-sim/tests/unit/exp", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.quasi_fermi_steady_state.solve_quasi_fermi_jv_sweep", + "categories": [ + "tolerance_decision", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-2013b85fee4526d6/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [], + "current_numeric_status": "prior_exact_scope_gaps_retained_and_classified" + } + }, + { + "id": "scope-experiment-06f3862814316e87", + "capability_id": "experiment-06f3862814316e87", + "route_id": "route-1c35c1275d46d863", + "origin_key": "experiment:perovskite_sim.experiments.quasi_fermi_steady_state.solve_quasi_fermi_steady_state", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "physical_profiles_or_stored_state_history" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/quasi_fermi_steady_state.py", + "symbol": "solve_quasi_fermi_steady_state" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "symbol": "test_charged_dark_equilibrium_is_qf_residual_certified" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "symbol": "test_charged_defect_and_heterojunction_close_in_one_qf_dc_residual" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "symbol": "test_charged_illuminated_biased_state_is_qf_residual_certified" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "symbol": "test_distributed_dark_equilibrium_is_qf_residual_certified" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "symbol": "test_distributed_energy_order_is_bound_into_material_and_public_result" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "symbol": "test_distributed_qf_scope_rejects_mobile_ions_fd_and_spatial_grading" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "symbol": "test_dynamic_bulk_defect_device_ac_recertifies_supplied_dc_state" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "symbol": "test_dynamic_bulk_defect_device_ac_rejects_dc_state_from_another_model" + } + ], + "negative_only_descriptor_rule_ids": [ + "rule-348857adb1d70cb29541269d", + "rule-2154c957674abe237b00a71c", + "rule-c871170ee6e3def7d689180a", + "rule-e66640f04f9f2e147f8a6a39", + "rule-14e4a21d9de312ab3a750891", + "rule-c689fcda756e9ea2aaaa8c68" + ], + "source_quantitative_assertion_ids_for_scope_audit": [ + "rule-7f82be697bbf540d94cdd815", + "rule-3b2fd11b9c491521f922fcbb", + "rule-cf9581295ddd53a3782495a7", + "rule-97a49289a406b9edbc0f2b59", + "rule-edc483cf316439ff39f0ef28", + "rule-5d40cbd23bedc5969d8e4391", + "rule-85ecd79d2ad280a583211bd1", + "rule-d816fd4891245f68e66821e7", + "rule-32e0f6c5f5b6195df88db3ca", + "rule-a8f0ff3c7c439de1dc7cb9c6", + "rule-8462aabddd5c99c15876ac4a", + "rule-b215f69ca39282bc4464cfde", + "rule-17f8c616c83d27a36f77da67", + "rule-7d7f9e1b034d54b0df788ec0", + "rule-7794f22ed8ae715ed9ef0558", + "rule-6745cd61c886f8422028b125" + ], + "rule_ids": [ + "M_payload", + "potential_packet", + "positive_density_log", + "density_inventory_packet" + ], + "citations": [], + "remaining_inputs": [ + { + "field": "numeric fixed thermal/physical voltage scale in V from the exact reference temperature or declared boundary parameters", + "needed_from": "experiment-06f3862814316e87 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_charged_dark_equilibrium_is_qf_residual_certified, perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_charged_defect_and_heterojunction_close_in_one_qf_dc_residual, perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_charged_illuminated_biased_state_is_qf_residual_certified, perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_distributed_dark_equilibrium_is_qf_residual_certified, perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_distributed_energy_order_is_bound_into_material_and_public_result, perovskite-sim/tests/integrati", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.quasi_fermi_steady_state.solve_quasi_fermi_steady_state" + }, + { + "field": "actual reference CV weights/support and physical gauge/contact values; allowed mask", + "needed_from": "experiment-06f3862814316e87 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_charged_dark_equilibrium_is_qf_residual_certified, perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_charged_defect_and_heterojunction_close_in_one_qf_dc_residual, perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_charged_illuminated_biased_state_is_qf_residual_certified, perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_distributed_dark_equilibrium_is_qf_residual_certified, perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_distributed_energy_order_is_bound_into_material_and_public_result, perovskite-sim/tests/integrati", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.quasi_fermi_steady_state.solve_quasi_fermi_steady_state" + }, + { + "field": "independent source/grid/time/mapping error in V and its qualified reference identity", + "needed_from": "experiment-06f3862814316e87 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_charged_dark_equilibrium_is_qf_residual_certified, perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_charged_defect_and_heterojunction_close_in_one_qf_dc_residual, perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_charged_illuminated_biased_state_is_qf_residual_certified, perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_distributed_dark_equilibrium_is_qf_residual_certified, perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_distributed_energy_order_is_bound_into_material_and_public_result, perovskite-sim/tests/integrati", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.quasi_fermi_steady_state.solve_quasi_fermi_steady_state" + }, + { + "field": "per-species/per-connected-domain positive reference inventory numeric scale and unit (1 or m-2, according to actual CV measure)", + "needed_from": "experiment-06f3862814316e87 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_charged_dark_equilibrium_is_qf_residual_certified, perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_charged_defect_and_heterojunction_close_in_one_qf_dc_residual, perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_charged_illuminated_biased_state_is_qf_residual_certified, perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_distributed_dark_equilibrium_is_qf_residual_certified, perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_distributed_energy_order_is_bound_into_material_and_public_result, perovskite-sim/tests/integrati", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.quasi_fermi_steady_state.solve_quasi_fermi_steady_state" + }, + { + "field": "zero-species/zero-cell identity and numeric dimensional absolute gate from model absence or reference error evidence", + "needed_from": "experiment-06f3862814316e87 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_charged_dark_equilibrium_is_qf_residual_certified, perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_charged_defect_and_heterojunction_close_in_one_qf_dc_residual, perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_charged_illuminated_biased_state_is_qf_residual_certified, perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_distributed_dark_equilibrium_is_qf_residual_certified, perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_distributed_energy_order_is_bound_into_material_and_public_result, perovskite-sim/tests/integrati", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.quasi_fermi_steady_state.solve_quasi_fermi_steady_state" + }, + { + "field": "actual volumes, component labels and independent log/inventory uncertainty", + "needed_from": "experiment-06f3862814316e87 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_charged_dark_equilibrium_is_qf_residual_certified, perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_charged_defect_and_heterojunction_close_in_one_qf_dc_residual, perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_charged_illuminated_biased_state_is_qf_residual_certified, perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_distributed_dark_equilibrium_is_qf_residual_certified, perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_distributed_energy_order_is_bound_into_material_and_public_result, perovskite-sim/tests/integrati", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.quasi_fermi_steady_state.solve_quasi_fermi_steady_state" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-06f3862814316e87/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + } + ], + "downstream_tasks": [ + "P04-04", + "P05-01", + "P05-02" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-experiment-06f3862814316e87" + }, + "scope_specific_prior_gaps": [ + { + "field": "numeric fixed thermal/physical voltage scale in V from the exact reference temperature or declared boundary parameters", + "needed_from": "experiment-06f3862814316e87 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_charged_dark_equilibrium_is_qf_residual_certified, perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_charged_defect_and_heterojunction_close_in_one_qf_dc_residual, perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_charged_illuminated_biased_state_is_qf_residual_certified, perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_distributed_dark_equilibrium_is_qf_residual_certified, perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_distributed_energy_order_is_bound_into_material_and_public_result, perovskite-sim/tests/integrati", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.quasi_fermi_steady_state.solve_quasi_fermi_steady_state", + "categories": [ + "source_configuration" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual reference CV weights/support and physical gauge/contact values; allowed mask", + "needed_from": "experiment-06f3862814316e87 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_charged_dark_equilibrium_is_qf_residual_certified, perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_charged_defect_and_heterojunction_close_in_one_qf_dc_residual, perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_charged_illuminated_biased_state_is_qf_residual_certified, perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_distributed_dark_equilibrium_is_qf_residual_certified, perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_distributed_energy_order_is_bound_into_material_and_public_result, perovskite-sim/tests/integrati", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.quasi_fermi_steady_state.solve_quasi_fermi_steady_state", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "independent source/grid/time/mapping error in V and its qualified reference identity", + "needed_from": "experiment-06f3862814316e87 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_charged_dark_equilibrium_is_qf_residual_certified, perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_charged_defect_and_heterojunction_close_in_one_qf_dc_residual, perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_charged_illuminated_biased_state_is_qf_residual_certified, perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_distributed_dark_equilibrium_is_qf_residual_certified, perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_distributed_energy_order_is_bound_into_material_and_public_result, perovskite-sim/tests/integrati", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.quasi_fermi_steady_state.solve_quasi_fermi_steady_state", + "categories": [ + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "per-species/per-connected-domain positive reference inventory numeric scale and unit (1 or m-2, according to actual CV measure)", + "needed_from": "experiment-06f3862814316e87 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_charged_dark_equilibrium_is_qf_residual_certified, perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_charged_defect_and_heterojunction_close_in_one_qf_dc_residual, perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_charged_illuminated_biased_state_is_qf_residual_certified, perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_distributed_dark_equilibrium_is_qf_residual_certified, perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_distributed_energy_order_is_bound_into_material_and_public_result, perovskite-sim/tests/integrati", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.quasi_fermi_steady_state.solve_quasi_fermi_steady_state", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "zero-species/zero-cell identity and numeric dimensional absolute gate from model absence or reference error evidence", + "needed_from": "experiment-06f3862814316e87 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_charged_dark_equilibrium_is_qf_residual_certified, perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_charged_defect_and_heterojunction_close_in_one_qf_dc_residual, perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_charged_illuminated_biased_state_is_qf_residual_certified, perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_distributed_dark_equilibrium_is_qf_residual_certified, perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_distributed_energy_order_is_bound_into_material_and_public_result, perovskite-sim/tests/integrati", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.quasi_fermi_steady_state.solve_quasi_fermi_steady_state", + "categories": [ + "source_configuration", + "tolerance_decision" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual volumes, component labels and independent log/inventory uncertainty", + "needed_from": "experiment-06f3862814316e87 exact original driver/reference observation packet; perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_charged_dark_equilibrium_is_qf_residual_certified, perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_charged_defect_and_heterojunction_close_in_one_qf_dc_residual, perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_charged_illuminated_biased_state_is_qf_residual_certified, perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_distributed_dark_equilibrium_is_qf_residual_certified, perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_distributed_energy_order_is_bound_into_material_and_public_result, perovskite-sim/tests/integrati", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.quasi_fermi_steady_state.solve_quasi_fermi_steady_state", + "categories": [ + "measurement_data", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-06f3862814316e87/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [], + "current_numeric_status": "prior_exact_scope_gaps_retained_and_classified" + } + }, + { + "id": "scope-experiment-950330e143988071", + "capability_id": "experiment-950330e143988071", + "route_id": "route-e968e8702b679dff", + "origin_key": "experiment:perovskite_sim.experiments.steady_state.run_jv_sweep_ss", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "JV_metrics_and_full_branch", + "current_observation_or_current_input" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/steady_state.py", + "symbol": "run_jv_sweep_ss" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_grid_envelope.py", + "symbol": "test_underresolved_overrides_are_explicit_and_reach_both_drivers" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_grid_envelope.py", + "symbol": "test_underresolved_transient_and_ss_jv_fail_before_integration" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_jv_driver_capability.py", + "symbol": "test_qf_required_policy_rejects_general_drivers_before_solve" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_steady_state.py", + "symbol": "test_direct_voc_consistent_with_jv" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_steady_state.py", + "symbol": "test_ss_jv_matches_frozen_ion_transient" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_steady_state.py", + "symbol": "test_ss_sweep_reports_point_level_acceptance" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_steady_state.py", + "symbol": "test_stop_after_voc_default_off_reaches_vmax" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_steady_state.py", + "symbol": "test_stop_after_voc_truncates_and_avoids_deep_injection" + } + ], + "negative_only_descriptor_rule_ids": [ + "rule-7c07238b6404977829883a59", + "rule-e1907bad4174fa0a733201e7", + "rule-09a9ebac3b0482414392762b", + "rule-1d74fb3c4e06a98baead150d", + "rule-4583bc9e2b06a22f3c690e9c", + "rule-317eedbdf954dd1d86682d22" + ], + "source_quantitative_assertion_ids_for_scope_audit": [ + "rule-142f90f160a99cd984e06faa", + "rule-02d69392d479e75cae1dc843", + "rule-fcb41ff56204caac996b9796", + "rule-120e8e64b1b477ee4a11c3b6", + "rule-9609bc8bd98c7b09428e70be", + "rule-6d592e0fc0df37b6b4b8d821", + "rule-03785660f2fa6f14c64cc16e", + "rule-9449c7bab431ce0513e076f0", + "rule-665768419af762bc0f63891d" + ], + "rule_ids": [ + "M_payload", + "Voc_absolute", + "JV_metric_packet", + "current_packet" + ], + "citations": [], + "remaining_inputs": [ + { + "field": "fixed numeric Jsc/FF/PCE reference values/scales with the actual output units and conversion identity", + "needed_from": "experiment-950330e143988071 exact original driver/reference observation packet; perovskite-sim/tests/regression/test_csi_grid_envelope.py::test_underresolved_overrides_are_explicit_and_reach_both_drivers, perovskite-sim/tests/regression/test_csi_grid_envelope.py::test_underresolved_transient_and_ss_jv_fail_before_integration, perovskite-sim/tests/unit/experiments/test_jv_driver_capability.py::test_qf_required_policy_rejects_general_drivers_before_solve, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_direct_voc_consistent_with_jv, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_ss_jv_matches_frozen_ion_transient, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_ss_sweep_reports_point_level_acceptance, perovskite-sim/test", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.steady_state.run_jv_sweep_ss" + }, + { + "field": "dimensional dark/weak Jsc and zero-power absolute limits with error evidence", + "needed_from": "experiment-950330e143988071 exact original driver/reference observation packet; perovskite-sim/tests/regression/test_csi_grid_envelope.py::test_underresolved_overrides_are_explicit_and_reach_both_drivers, perovskite-sim/tests/regression/test_csi_grid_envelope.py::test_underresolved_transient_and_ss_jv_fail_before_integration, perovskite-sim/tests/unit/experiments/test_jv_driver_capability.py::test_qf_required_policy_rejects_general_drivers_before_solve, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_direct_voc_consistent_with_jv, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_ss_jv_matches_frozen_ion_transient, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_ss_sweep_reports_point_level_acceptance, perovskite-sim/test", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.steady_state.run_jv_sweep_ss" + }, + { + "field": "Voc bracket, dJ/dV and current-error propagation bound; MPP sampling and full branch coordinates", + "needed_from": "experiment-950330e143988071 exact original driver/reference observation packet; perovskite-sim/tests/regression/test_csi_grid_envelope.py::test_underresolved_overrides_are_explicit_and_reach_both_drivers, perovskite-sim/tests/regression/test_csi_grid_envelope.py::test_underresolved_transient_and_ss_jv_fail_before_integration, perovskite-sim/tests/unit/experiments/test_jv_driver_capability.py::test_qf_required_policy_rejects_general_drivers_before_solve, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_direct_voc_consistent_with_jv, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_ss_jv_matches_frozen_ion_transient, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_ss_sweep_reports_point_level_acceptance, perovskite-sim/test", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.steady_state.run_jv_sweep_ss" + }, + { + "field": "numeric reference current scale and absolute weak/zero current allowance, in the actual A or A m-2 output unit", + "needed_from": "experiment-950330e143988071 exact original driver/reference observation packet; perovskite-sim/tests/regression/test_csi_grid_envelope.py::test_underresolved_overrides_are_explicit_and_reach_both_drivers, perovskite-sim/tests/regression/test_csi_grid_envelope.py::test_underresolved_transient_and_ss_jv_fail_before_integration, perovskite-sim/tests/unit/experiments/test_jv_driver_capability.py::test_qf_required_policy_rejects_general_drivers_before_solve, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_direct_voc_consistent_with_jv, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_ss_jv_matches_frozen_ion_transient, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_ss_sweep_reports_point_level_acceptance, perovskite-sim/test", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.steady_state.run_jv_sweep_ss" + }, + { + "field": "each component/sign/port/support, observation times and both event sides", + "needed_from": "experiment-950330e143988071 exact original driver/reference observation packet; perovskite-sim/tests/regression/test_csi_grid_envelope.py::test_underresolved_overrides_are_explicit_and_reach_both_drivers, perovskite-sim/tests/regression/test_csi_grid_envelope.py::test_underresolved_transient_and_ss_jv_fail_before_integration, perovskite-sim/tests/unit/experiments/test_jv_driver_capability.py::test_qf_required_policy_rejects_general_drivers_before_solve, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_direct_voc_consistent_with_jv, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_ss_jv_matches_frozen_ion_transient, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_ss_sweep_reports_point_level_acceptance, perovskite-sim/test", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.steady_state.run_jv_sweep_ss" + }, + { + "field": "pointwise current uncertainty and a pointwise comparison limit; integrated charge is not a substitute", + "needed_from": "experiment-950330e143988071 exact original driver/reference observation packet; perovskite-sim/tests/regression/test_csi_grid_envelope.py::test_underresolved_overrides_are_explicit_and_reach_both_drivers, perovskite-sim/tests/regression/test_csi_grid_envelope.py::test_underresolved_transient_and_ss_jv_fail_before_integration, perovskite-sim/tests/unit/experiments/test_jv_driver_capability.py::test_qf_required_policy_rejects_general_drivers_before_solve, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_direct_voc_consistent_with_jv, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_ss_jv_matches_frozen_ion_transient, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_ss_sweep_reports_point_level_acceptance, perovskite-sim/test", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.steady_state.run_jv_sweep_ss" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-950330e143988071/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + } + ], + "downstream_tasks": [ + "P04-04", + "P05-01", + "P05-02" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-experiment-950330e143988071" + }, + "scope_specific_prior_gaps": [ + { + "field": "fixed numeric Jsc/FF/PCE reference values/scales with the actual output units and conversion identity", + "needed_from": "experiment-950330e143988071 exact original driver/reference observation packet; perovskite-sim/tests/regression/test_csi_grid_envelope.py::test_underresolved_overrides_are_explicit_and_reach_both_drivers, perovskite-sim/tests/regression/test_csi_grid_envelope.py::test_underresolved_transient_and_ss_jv_fail_before_integration, perovskite-sim/tests/unit/experiments/test_jv_driver_capability.py::test_qf_required_policy_rejects_general_drivers_before_solve, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_direct_voc_consistent_with_jv, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_ss_jv_matches_frozen_ion_transient, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_ss_sweep_reports_point_level_acceptance, perovskite-sim/test", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.steady_state.run_jv_sweep_ss", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "dimensional dark/weak Jsc and zero-power absolute limits with error evidence", + "needed_from": "experiment-950330e143988071 exact original driver/reference observation packet; perovskite-sim/tests/regression/test_csi_grid_envelope.py::test_underresolved_overrides_are_explicit_and_reach_both_drivers, perovskite-sim/tests/regression/test_csi_grid_envelope.py::test_underresolved_transient_and_ss_jv_fail_before_integration, perovskite-sim/tests/unit/experiments/test_jv_driver_capability.py::test_qf_required_policy_rejects_general_drivers_before_solve, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_direct_voc_consistent_with_jv, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_ss_jv_matches_frozen_ion_transient, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_ss_sweep_reports_point_level_acceptance, perovskite-sim/test", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.steady_state.run_jv_sweep_ss", + "categories": [ + "tolerance_decision", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "Voc bracket, dJ/dV and current-error propagation bound; MPP sampling and full branch coordinates", + "needed_from": "experiment-950330e143988071 exact original driver/reference observation packet; perovskite-sim/tests/regression/test_csi_grid_envelope.py::test_underresolved_overrides_are_explicit_and_reach_both_drivers, perovskite-sim/tests/regression/test_csi_grid_envelope.py::test_underresolved_transient_and_ss_jv_fail_before_integration, perovskite-sim/tests/unit/experiments/test_jv_driver_capability.py::test_qf_required_policy_rejects_general_drivers_before_solve, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_direct_voc_consistent_with_jv, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_ss_jv_matches_frozen_ion_transient, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_ss_sweep_reports_point_level_acceptance, perovskite-sim/test", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.steady_state.run_jv_sweep_ss", + "categories": [ + "measurement_data", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "numeric reference current scale and absolute weak/zero current allowance, in the actual A or A m-2 output unit", + "needed_from": "experiment-950330e143988071 exact original driver/reference observation packet; perovskite-sim/tests/regression/test_csi_grid_envelope.py::test_underresolved_overrides_are_explicit_and_reach_both_drivers, perovskite-sim/tests/regression/test_csi_grid_envelope.py::test_underresolved_transient_and_ss_jv_fail_before_integration, perovskite-sim/tests/unit/experiments/test_jv_driver_capability.py::test_qf_required_policy_rejects_general_drivers_before_solve, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_direct_voc_consistent_with_jv, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_ss_jv_matches_frozen_ion_transient, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_ss_sweep_reports_point_level_acceptance, perovskite-sim/test", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.steady_state.run_jv_sweep_ss", + "categories": [ + "source_configuration", + "tolerance_decision" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "each component/sign/port/support, observation times and both event sides", + "needed_from": "experiment-950330e143988071 exact original driver/reference observation packet; perovskite-sim/tests/regression/test_csi_grid_envelope.py::test_underresolved_overrides_are_explicit_and_reach_both_drivers, perovskite-sim/tests/regression/test_csi_grid_envelope.py::test_underresolved_transient_and_ss_jv_fail_before_integration, perovskite-sim/tests/unit/experiments/test_jv_driver_capability.py::test_qf_required_policy_rejects_general_drivers_before_solve, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_direct_voc_consistent_with_jv, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_ss_jv_matches_frozen_ion_transient, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_ss_sweep_reports_point_level_acceptance, perovskite-sim/test", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.steady_state.run_jv_sweep_ss", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "pointwise current uncertainty and a pointwise comparison limit; integrated charge is not a substitute", + "needed_from": "experiment-950330e143988071 exact original driver/reference observation packet; perovskite-sim/tests/regression/test_csi_grid_envelope.py::test_underresolved_overrides_are_explicit_and_reach_both_drivers, perovskite-sim/tests/regression/test_csi_grid_envelope.py::test_underresolved_transient_and_ss_jv_fail_before_integration, perovskite-sim/tests/unit/experiments/test_jv_driver_capability.py::test_qf_required_policy_rejects_general_drivers_before_solve, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_direct_voc_consistent_with_jv, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_ss_jv_matches_frozen_ion_transient, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_ss_sweep_reports_point_level_acceptance, perovskite-sim/test", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.steady_state.run_jv_sweep_ss", + "categories": [ + "tolerance_decision", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-950330e143988071/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [], + "current_numeric_status": "prior_exact_scope_gaps_retained_and_classified" + } + }, + { + "id": "scope-experiment-8c6cbf43a9370396", + "capability_id": "experiment-8c6cbf43a9370396", + "route_id": "route-e968e8702b679dff", + "origin_key": "experiment:perovskite_sim.experiments.steady_state.solve_steady_state", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "physical_profiles_or_stored_state_history" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/steady_state.py", + "symbol": "solve_steady_state" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_steady_state.py", + "symbol": "test_continuity_current_error_bound_must_be_finite_and_positive" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_steady_state.py", + "symbol": "test_dark_equilibrium_converges_with_small_residual" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_steady_state.py", + "symbol": "test_illuminated_jsc_physical" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_steady_state.py", + "symbol": "test_initial_residual_gate_reports_strict_convergence" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_steady_state.py", + "symbol": "test_nonconvergence_raises" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_steady_state.py", + "symbol": "test_qfl_relax_identity_at_converged_state" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_steady_state.py", + "symbol": "test_qfl_relax_preserves_negative_overshoots" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_steady_state.py", + "symbol": "test_stall_acceptance_is_current_scaled_for_thick_high_density_device" + } + ], + "negative_only_descriptor_rule_ids": [ + "rule-6a14ac7ce180d9945cc2026d", + "rule-a2b075ef40ba594935a1dce2", + "rule-860354c314a2652c67b51799" + ], + "source_quantitative_assertion_ids_for_scope_audit": [ + "rule-edcb47d93dddda23169d96f1", + "rule-3d399002f68d2f5d7968015c", + "rule-6bdba3fa320fbe81c771922c" + ], + "rule_ids": [ + "M_payload", + "potential_packet", + "positive_density_log", + "density_inventory_packet" + ], + "citations": [], + "remaining_inputs": [ + { + "field": "numeric fixed thermal/physical voltage scale in V from the exact reference temperature or declared boundary parameters", + "needed_from": "experiment-8c6cbf43a9370396 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_steady_state.py::test_continuity_current_error_bound_must_be_finite_and_positive, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_dark_equilibrium_converges_with_small_residual, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_illuminated_jsc_physical, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_initial_residual_gate_reports_strict_convergence, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_nonconvergence_raises, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_qfl_relax_identity_at_converged_state, perovskite-sim/tests/unit/experiments/test_steady_state.py::test", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.steady_state.solve_steady_state" + }, + { + "field": "actual reference CV weights/support and physical gauge/contact values; allowed mask", + "needed_from": "experiment-8c6cbf43a9370396 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_steady_state.py::test_continuity_current_error_bound_must_be_finite_and_positive, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_dark_equilibrium_converges_with_small_residual, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_illuminated_jsc_physical, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_initial_residual_gate_reports_strict_convergence, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_nonconvergence_raises, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_qfl_relax_identity_at_converged_state, perovskite-sim/tests/unit/experiments/test_steady_state.py::test", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.steady_state.solve_steady_state" + }, + { + "field": "independent source/grid/time/mapping error in V and its qualified reference identity", + "needed_from": "experiment-8c6cbf43a9370396 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_steady_state.py::test_continuity_current_error_bound_must_be_finite_and_positive, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_dark_equilibrium_converges_with_small_residual, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_illuminated_jsc_physical, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_initial_residual_gate_reports_strict_convergence, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_nonconvergence_raises, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_qfl_relax_identity_at_converged_state, perovskite-sim/tests/unit/experiments/test_steady_state.py::test", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.steady_state.solve_steady_state" + }, + { + "field": "per-species/per-connected-domain positive reference inventory numeric scale and unit (1 or m-2, according to actual CV measure)", + "needed_from": "experiment-8c6cbf43a9370396 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_steady_state.py::test_continuity_current_error_bound_must_be_finite_and_positive, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_dark_equilibrium_converges_with_small_residual, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_illuminated_jsc_physical, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_initial_residual_gate_reports_strict_convergence, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_nonconvergence_raises, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_qfl_relax_identity_at_converged_state, perovskite-sim/tests/unit/experiments/test_steady_state.py::test", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.steady_state.solve_steady_state" + }, + { + "field": "zero-species/zero-cell identity and numeric dimensional absolute gate from model absence or reference error evidence", + "needed_from": "experiment-8c6cbf43a9370396 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_steady_state.py::test_continuity_current_error_bound_must_be_finite_and_positive, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_dark_equilibrium_converges_with_small_residual, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_illuminated_jsc_physical, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_initial_residual_gate_reports_strict_convergence, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_nonconvergence_raises, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_qfl_relax_identity_at_converged_state, perovskite-sim/tests/unit/experiments/test_steady_state.py::test", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.steady_state.solve_steady_state" + }, + { + "field": "actual volumes, component labels and independent log/inventory uncertainty", + "needed_from": "experiment-8c6cbf43a9370396 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_steady_state.py::test_continuity_current_error_bound_must_be_finite_and_positive, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_dark_equilibrium_converges_with_small_residual, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_illuminated_jsc_physical, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_initial_residual_gate_reports_strict_convergence, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_nonconvergence_raises, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_qfl_relax_identity_at_converged_state, perovskite-sim/tests/unit/experiments/test_steady_state.py::test", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.steady_state.solve_steady_state" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-8c6cbf43a9370396/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + } + ], + "downstream_tasks": [ + "P04-04", + "P05-01", + "P05-02" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-experiment-8c6cbf43a9370396" + }, + "scope_specific_prior_gaps": [ + { + "field": "numeric fixed thermal/physical voltage scale in V from the exact reference temperature or declared boundary parameters", + "needed_from": "experiment-8c6cbf43a9370396 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_steady_state.py::test_continuity_current_error_bound_must_be_finite_and_positive, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_dark_equilibrium_converges_with_small_residual, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_illuminated_jsc_physical, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_initial_residual_gate_reports_strict_convergence, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_nonconvergence_raises, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_qfl_relax_identity_at_converged_state, perovskite-sim/tests/unit/experiments/test_steady_state.py::test", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.steady_state.solve_steady_state", + "categories": [ + "source_configuration" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual reference CV weights/support and physical gauge/contact values; allowed mask", + "needed_from": "experiment-8c6cbf43a9370396 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_steady_state.py::test_continuity_current_error_bound_must_be_finite_and_positive, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_dark_equilibrium_converges_with_small_residual, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_illuminated_jsc_physical, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_initial_residual_gate_reports_strict_convergence, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_nonconvergence_raises, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_qfl_relax_identity_at_converged_state, perovskite-sim/tests/unit/experiments/test_steady_state.py::test", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.steady_state.solve_steady_state", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "independent source/grid/time/mapping error in V and its qualified reference identity", + "needed_from": "experiment-8c6cbf43a9370396 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_steady_state.py::test_continuity_current_error_bound_must_be_finite_and_positive, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_dark_equilibrium_converges_with_small_residual, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_illuminated_jsc_physical, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_initial_residual_gate_reports_strict_convergence, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_nonconvergence_raises, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_qfl_relax_identity_at_converged_state, perovskite-sim/tests/unit/experiments/test_steady_state.py::test", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.steady_state.solve_steady_state", + "categories": [ + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "per-species/per-connected-domain positive reference inventory numeric scale and unit (1 or m-2, according to actual CV measure)", + "needed_from": "experiment-8c6cbf43a9370396 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_steady_state.py::test_continuity_current_error_bound_must_be_finite_and_positive, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_dark_equilibrium_converges_with_small_residual, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_illuminated_jsc_physical, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_initial_residual_gate_reports_strict_convergence, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_nonconvergence_raises, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_qfl_relax_identity_at_converged_state, perovskite-sim/tests/unit/experiments/test_steady_state.py::test", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.steady_state.solve_steady_state", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "zero-species/zero-cell identity and numeric dimensional absolute gate from model absence or reference error evidence", + "needed_from": "experiment-8c6cbf43a9370396 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_steady_state.py::test_continuity_current_error_bound_must_be_finite_and_positive, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_dark_equilibrium_converges_with_small_residual, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_illuminated_jsc_physical, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_initial_residual_gate_reports_strict_convergence, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_nonconvergence_raises, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_qfl_relax_identity_at_converged_state, perovskite-sim/tests/unit/experiments/test_steady_state.py::test", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.steady_state.solve_steady_state", + "categories": [ + "source_configuration", + "tolerance_decision" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual volumes, component labels and independent log/inventory uncertainty", + "needed_from": "experiment-8c6cbf43a9370396 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_steady_state.py::test_continuity_current_error_bound_must_be_finite_and_positive, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_dark_equilibrium_converges_with_small_residual, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_illuminated_jsc_physical, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_initial_residual_gate_reports_strict_convergence, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_nonconvergence_raises, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_qfl_relax_identity_at_converged_state, perovskite-sim/tests/unit/experiments/test_steady_state.py::test", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.steady_state.solve_steady_state", + "categories": [ + "measurement_data", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-8c6cbf43a9370396/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [], + "current_numeric_status": "prior_exact_scope_gaps_retained_and_classified" + } + }, + { + "id": "scope-experiment-ded0cdfd37fe1002", + "capability_id": "experiment-ded0cdfd37fe1002", + "route_id": "route-e968e8702b679dff", + "origin_key": "experiment:perovskite_sim.experiments.steady_state.solve_voc_ss", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "JV_metrics_and_full_branch", + "current_observation_or_current_input" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/steady_state.py", + "symbol": "solve_voc_ss" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_csi_grid_envelope.py", + "symbol": "test_underresolved_transient_and_ss_jv_fail_before_integration" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_jv_driver_capability.py", + "symbol": "test_qf_required_policy_rejects_general_drivers_before_solve" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_steady_state.py", + "symbol": "test_direct_voc_consistent_with_jv" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_steady_state.py", + "symbol": "test_low_doping_etl_metal_reservoir_brackets_physical_voc" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_steady_state.py", + "symbol": "test_low_doping_etl_without_metal_reservoir_is_explicit_no_crossing" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_steady_state.py", + "symbol": "test_stop_after_voc_truncates_and_avoids_deep_injection" + } + ], + "negative_only_descriptor_rule_ids": [ + "rule-09a9ebac3b0482414392762b", + "rule-1d74fb3c4e06a98baead150d", + "rule-4583bc9e2b06a22f3c690e9c", + "rule-317eedbdf954dd1d86682d22", + "rule-1c665ebd6f66b247f004eff3" + ], + "source_quantitative_assertion_ids_for_scope_audit": [ + "rule-142f90f160a99cd984e06faa", + "rule-02d69392d479e75cae1dc843", + "rule-2f04326121a19bb663651428", + "rule-02a2d8e22e148ceadce3708f", + "rule-03785660f2fa6f14c64cc16e", + "rule-9449c7bab431ce0513e076f0", + "rule-665768419af762bc0f63891d" + ], + "rule_ids": [ + "M_payload", + "Voc_absolute", + "JV_metric_packet", + "current_packet" + ], + "citations": [], + "remaining_inputs": [ + { + "field": "fixed numeric Jsc/FF/PCE reference values/scales with the actual output units and conversion identity", + "needed_from": "experiment-ded0cdfd37fe1002 exact original driver/reference observation packet; perovskite-sim/tests/regression/test_csi_grid_envelope.py::test_underresolved_transient_and_ss_jv_fail_before_integration, perovskite-sim/tests/unit/experiments/test_jv_driver_capability.py::test_qf_required_policy_rejects_general_drivers_before_solve, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_direct_voc_consistent_with_jv, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_low_doping_etl_metal_reservoir_brackets_physical_voc, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_low_doping_etl_without_metal_reservoir_is_explicit_no_crossing, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_stop_after_voc_truncates_and_avoids_de", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.steady_state.solve_voc_ss" + }, + { + "field": "dimensional dark/weak Jsc and zero-power absolute limits with error evidence", + "needed_from": "experiment-ded0cdfd37fe1002 exact original driver/reference observation packet; perovskite-sim/tests/regression/test_csi_grid_envelope.py::test_underresolved_transient_and_ss_jv_fail_before_integration, perovskite-sim/tests/unit/experiments/test_jv_driver_capability.py::test_qf_required_policy_rejects_general_drivers_before_solve, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_direct_voc_consistent_with_jv, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_low_doping_etl_metal_reservoir_brackets_physical_voc, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_low_doping_etl_without_metal_reservoir_is_explicit_no_crossing, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_stop_after_voc_truncates_and_avoids_de", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.steady_state.solve_voc_ss" + }, + { + "field": "Voc bracket, dJ/dV and current-error propagation bound; MPP sampling and full branch coordinates", + "needed_from": "experiment-ded0cdfd37fe1002 exact original driver/reference observation packet; perovskite-sim/tests/regression/test_csi_grid_envelope.py::test_underresolved_transient_and_ss_jv_fail_before_integration, perovskite-sim/tests/unit/experiments/test_jv_driver_capability.py::test_qf_required_policy_rejects_general_drivers_before_solve, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_direct_voc_consistent_with_jv, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_low_doping_etl_metal_reservoir_brackets_physical_voc, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_low_doping_etl_without_metal_reservoir_is_explicit_no_crossing, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_stop_after_voc_truncates_and_avoids_de", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.steady_state.solve_voc_ss" + }, + { + "field": "numeric reference current scale and absolute weak/zero current allowance, in the actual A or A m-2 output unit", + "needed_from": "experiment-ded0cdfd37fe1002 exact original driver/reference observation packet; perovskite-sim/tests/regression/test_csi_grid_envelope.py::test_underresolved_transient_and_ss_jv_fail_before_integration, perovskite-sim/tests/unit/experiments/test_jv_driver_capability.py::test_qf_required_policy_rejects_general_drivers_before_solve, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_direct_voc_consistent_with_jv, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_low_doping_etl_metal_reservoir_brackets_physical_voc, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_low_doping_etl_without_metal_reservoir_is_explicit_no_crossing, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_stop_after_voc_truncates_and_avoids_de", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.steady_state.solve_voc_ss" + }, + { + "field": "each component/sign/port/support, observation times and both event sides", + "needed_from": "experiment-ded0cdfd37fe1002 exact original driver/reference observation packet; perovskite-sim/tests/regression/test_csi_grid_envelope.py::test_underresolved_transient_and_ss_jv_fail_before_integration, perovskite-sim/tests/unit/experiments/test_jv_driver_capability.py::test_qf_required_policy_rejects_general_drivers_before_solve, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_direct_voc_consistent_with_jv, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_low_doping_etl_metal_reservoir_brackets_physical_voc, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_low_doping_etl_without_metal_reservoir_is_explicit_no_crossing, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_stop_after_voc_truncates_and_avoids_de", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.steady_state.solve_voc_ss" + }, + { + "field": "pointwise current uncertainty and a pointwise comparison limit; integrated charge is not a substitute", + "needed_from": "experiment-ded0cdfd37fe1002 exact original driver/reference observation packet; perovskite-sim/tests/regression/test_csi_grid_envelope.py::test_underresolved_transient_and_ss_jv_fail_before_integration, perovskite-sim/tests/unit/experiments/test_jv_driver_capability.py::test_qf_required_policy_rejects_general_drivers_before_solve, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_direct_voc_consistent_with_jv, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_low_doping_etl_metal_reservoir_brackets_physical_voc, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_low_doping_etl_without_metal_reservoir_is_explicit_no_crossing, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_stop_after_voc_truncates_and_avoids_de", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.steady_state.solve_voc_ss" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-ded0cdfd37fe1002/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + } + ], + "downstream_tasks": [ + "P04-04", + "P05-01", + "P05-02" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-experiment-ded0cdfd37fe1002" + }, + "scope_specific_prior_gaps": [ + { + "field": "fixed numeric Jsc/FF/PCE reference values/scales with the actual output units and conversion identity", + "needed_from": "experiment-ded0cdfd37fe1002 exact original driver/reference observation packet; perovskite-sim/tests/regression/test_csi_grid_envelope.py::test_underresolved_transient_and_ss_jv_fail_before_integration, perovskite-sim/tests/unit/experiments/test_jv_driver_capability.py::test_qf_required_policy_rejects_general_drivers_before_solve, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_direct_voc_consistent_with_jv, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_low_doping_etl_metal_reservoir_brackets_physical_voc, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_low_doping_etl_without_metal_reservoir_is_explicit_no_crossing, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_stop_after_voc_truncates_and_avoids_de", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.steady_state.solve_voc_ss", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "dimensional dark/weak Jsc and zero-power absolute limits with error evidence", + "needed_from": "experiment-ded0cdfd37fe1002 exact original driver/reference observation packet; perovskite-sim/tests/regression/test_csi_grid_envelope.py::test_underresolved_transient_and_ss_jv_fail_before_integration, perovskite-sim/tests/unit/experiments/test_jv_driver_capability.py::test_qf_required_policy_rejects_general_drivers_before_solve, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_direct_voc_consistent_with_jv, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_low_doping_etl_metal_reservoir_brackets_physical_voc, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_low_doping_etl_without_metal_reservoir_is_explicit_no_crossing, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_stop_after_voc_truncates_and_avoids_de", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.steady_state.solve_voc_ss", + "categories": [ + "tolerance_decision", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "Voc bracket, dJ/dV and current-error propagation bound; MPP sampling and full branch coordinates", + "needed_from": "experiment-ded0cdfd37fe1002 exact original driver/reference observation packet; perovskite-sim/tests/regression/test_csi_grid_envelope.py::test_underresolved_transient_and_ss_jv_fail_before_integration, perovskite-sim/tests/unit/experiments/test_jv_driver_capability.py::test_qf_required_policy_rejects_general_drivers_before_solve, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_direct_voc_consistent_with_jv, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_low_doping_etl_metal_reservoir_brackets_physical_voc, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_low_doping_etl_without_metal_reservoir_is_explicit_no_crossing, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_stop_after_voc_truncates_and_avoids_de", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.steady_state.solve_voc_ss", + "categories": [ + "measurement_data", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "numeric reference current scale and absolute weak/zero current allowance, in the actual A or A m-2 output unit", + "needed_from": "experiment-ded0cdfd37fe1002 exact original driver/reference observation packet; perovskite-sim/tests/regression/test_csi_grid_envelope.py::test_underresolved_transient_and_ss_jv_fail_before_integration, perovskite-sim/tests/unit/experiments/test_jv_driver_capability.py::test_qf_required_policy_rejects_general_drivers_before_solve, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_direct_voc_consistent_with_jv, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_low_doping_etl_metal_reservoir_brackets_physical_voc, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_low_doping_etl_without_metal_reservoir_is_explicit_no_crossing, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_stop_after_voc_truncates_and_avoids_de", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.steady_state.solve_voc_ss", + "categories": [ + "source_configuration", + "tolerance_decision" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "each component/sign/port/support, observation times and both event sides", + "needed_from": "experiment-ded0cdfd37fe1002 exact original driver/reference observation packet; perovskite-sim/tests/regression/test_csi_grid_envelope.py::test_underresolved_transient_and_ss_jv_fail_before_integration, perovskite-sim/tests/unit/experiments/test_jv_driver_capability.py::test_qf_required_policy_rejects_general_drivers_before_solve, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_direct_voc_consistent_with_jv, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_low_doping_etl_metal_reservoir_brackets_physical_voc, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_low_doping_etl_without_metal_reservoir_is_explicit_no_crossing, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_stop_after_voc_truncates_and_avoids_de", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.steady_state.solve_voc_ss", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "pointwise current uncertainty and a pointwise comparison limit; integrated charge is not a substitute", + "needed_from": "experiment-ded0cdfd37fe1002 exact original driver/reference observation packet; perovskite-sim/tests/regression/test_csi_grid_envelope.py::test_underresolved_transient_and_ss_jv_fail_before_integration, perovskite-sim/tests/unit/experiments/test_jv_driver_capability.py::test_qf_required_policy_rejects_general_drivers_before_solve, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_direct_voc_consistent_with_jv, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_low_doping_etl_metal_reservoir_brackets_physical_voc, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_low_doping_etl_without_metal_reservoir_is_explicit_no_crossing, perovskite-sim/tests/unit/experiments/test_steady_state.py::test_stop_after_voc_truncates_and_avoids_de", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.steady_state.solve_voc_ss", + "categories": [ + "tolerance_decision", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-ded0cdfd37fe1002/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [], + "current_numeric_status": "prior_exact_scope_gaps_retained_and_classified" + } + }, + { + "id": "scope-experiment-db0ae95bf832243f", + "capability_id": "experiment-db0ae95bf832243f", + "route_id": "route-dad900bc285405c9", + "origin_key": "experiment:perovskite_sim.experiments.suns_voc.run_suns_voc", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "JV_metrics_and_full_branch", + "current_observation_or_current_input" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/suns_voc.py", + "symbol": "run_suns_voc" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_photon_recycling_voc.py", + "symbol": "test_photon_recycling_voc_below_sq_ceiling" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_photon_recycling_voc.py", + "symbol": "test_photon_recycling_voc_boost_in_window" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_radiative_reabsorption.py", + "symbol": "test_radiative_reabsorption_matches_phase_3_1_at_voc" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_radiative_reabsorption.py", + "symbol": "test_radiative_reabsorption_preserves_voc_boost" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_protocol.py", + "symbol": "test_public_experiments_reject_implicit_history_before_solving" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_suns_voc.py", + "symbol": "test_progress_callback_invoked" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_suns_voc.py", + "symbol": "test_pseudo_jv_anchors_at_one_sun_voc" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_suns_voc.py", + "symbol": "test_run_suns_voc_rejects_empty_levels" + } + ], + "negative_only_descriptor_rule_ids": [ + "rule-85ae63d648f263162b846ce5", + "rule-df142d10f9204ad57e7db88f" + ], + "source_quantitative_assertion_ids_for_scope_audit": [ + "rule-67ef7f665912934975a69a9f", + "rule-520fba3abd8ce264de3bf5a9", + "rule-697fff44f4c210f900801d01", + "rule-efe57371d8127f9c4da3fd44", + "rule-b60efab2c36172f0ac4bb617", + "rule-bedf01757126e8e21c0783ba", + "rule-f1e4db97e2aac010ba22577c", + "rule-0062dfbca37c25723ad9ca64", + "rule-5438a2515b847d795b0aaa39", + "rule-71c4d258d1626d3d9741d3bf", + "rule-8a98026726bf0ea6a8496e59", + "rule-a42447da13bf0304ce2b1f57", + "rule-eb44d50a75c773b3f6fcc631" + ], + "rule_ids": [ + "M_payload", + "Voc_absolute", + "JV_metric_packet", + "current_packet" + ], + "citations": [], + "remaining_inputs": [ + { + "field": "fixed numeric Jsc/FF/PCE reference values/scales with the actual output units and conversion identity", + "needed_from": "experiment-db0ae95bf832243f exact original driver/reference observation packet; perovskite-sim/tests/regression/test_photon_recycling_voc.py::test_photon_recycling_voc_below_sq_ceiling, perovskite-sim/tests/regression/test_photon_recycling_voc.py::test_photon_recycling_voc_boost_in_window, perovskite-sim/tests/regression/test_radiative_reabsorption.py::test_radiative_reabsorption_matches_phase_3_1_at_voc, perovskite-sim/tests/regression/test_radiative_reabsorption.py::test_radiative_reabsorption_preserves_voc_boost, perovskite-sim/tests/unit/experiments/test_protocol.py::test_public_experiments_reject_implicit_history_before_solving, perovskite-sim/tests/unit/experiments/test_suns_voc.py::test_progress_callback_invoked, perovskite-sim/tests/unit/experiments/test_suns_vo", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.suns_voc.run_suns_voc" + }, + { + "field": "dimensional dark/weak Jsc and zero-power absolute limits with error evidence", + "needed_from": "experiment-db0ae95bf832243f exact original driver/reference observation packet; perovskite-sim/tests/regression/test_photon_recycling_voc.py::test_photon_recycling_voc_below_sq_ceiling, perovskite-sim/tests/regression/test_photon_recycling_voc.py::test_photon_recycling_voc_boost_in_window, perovskite-sim/tests/regression/test_radiative_reabsorption.py::test_radiative_reabsorption_matches_phase_3_1_at_voc, perovskite-sim/tests/regression/test_radiative_reabsorption.py::test_radiative_reabsorption_preserves_voc_boost, perovskite-sim/tests/unit/experiments/test_protocol.py::test_public_experiments_reject_implicit_history_before_solving, perovskite-sim/tests/unit/experiments/test_suns_voc.py::test_progress_callback_invoked, perovskite-sim/tests/unit/experiments/test_suns_vo", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.suns_voc.run_suns_voc" + }, + { + "field": "Voc bracket, dJ/dV and current-error propagation bound; MPP sampling and full branch coordinates", + "needed_from": "experiment-db0ae95bf832243f exact original driver/reference observation packet; perovskite-sim/tests/regression/test_photon_recycling_voc.py::test_photon_recycling_voc_below_sq_ceiling, perovskite-sim/tests/regression/test_photon_recycling_voc.py::test_photon_recycling_voc_boost_in_window, perovskite-sim/tests/regression/test_radiative_reabsorption.py::test_radiative_reabsorption_matches_phase_3_1_at_voc, perovskite-sim/tests/regression/test_radiative_reabsorption.py::test_radiative_reabsorption_preserves_voc_boost, perovskite-sim/tests/unit/experiments/test_protocol.py::test_public_experiments_reject_implicit_history_before_solving, perovskite-sim/tests/unit/experiments/test_suns_voc.py::test_progress_callback_invoked, perovskite-sim/tests/unit/experiments/test_suns_vo", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.suns_voc.run_suns_voc" + }, + { + "field": "numeric reference current scale and absolute weak/zero current allowance, in the actual A or A m-2 output unit", + "needed_from": "experiment-db0ae95bf832243f exact original driver/reference observation packet; perovskite-sim/tests/regression/test_photon_recycling_voc.py::test_photon_recycling_voc_below_sq_ceiling, perovskite-sim/tests/regression/test_photon_recycling_voc.py::test_photon_recycling_voc_boost_in_window, perovskite-sim/tests/regression/test_radiative_reabsorption.py::test_radiative_reabsorption_matches_phase_3_1_at_voc, perovskite-sim/tests/regression/test_radiative_reabsorption.py::test_radiative_reabsorption_preserves_voc_boost, perovskite-sim/tests/unit/experiments/test_protocol.py::test_public_experiments_reject_implicit_history_before_solving, perovskite-sim/tests/unit/experiments/test_suns_voc.py::test_progress_callback_invoked, perovskite-sim/tests/unit/experiments/test_suns_vo", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.suns_voc.run_suns_voc" + }, + { + "field": "each component/sign/port/support, observation times and both event sides", + "needed_from": "experiment-db0ae95bf832243f exact original driver/reference observation packet; perovskite-sim/tests/regression/test_photon_recycling_voc.py::test_photon_recycling_voc_below_sq_ceiling, perovskite-sim/tests/regression/test_photon_recycling_voc.py::test_photon_recycling_voc_boost_in_window, perovskite-sim/tests/regression/test_radiative_reabsorption.py::test_radiative_reabsorption_matches_phase_3_1_at_voc, perovskite-sim/tests/regression/test_radiative_reabsorption.py::test_radiative_reabsorption_preserves_voc_boost, perovskite-sim/tests/unit/experiments/test_protocol.py::test_public_experiments_reject_implicit_history_before_solving, perovskite-sim/tests/unit/experiments/test_suns_voc.py::test_progress_callback_invoked, perovskite-sim/tests/unit/experiments/test_suns_vo", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.suns_voc.run_suns_voc" + }, + { + "field": "pointwise current uncertainty and a pointwise comparison limit; integrated charge is not a substitute", + "needed_from": "experiment-db0ae95bf832243f exact original driver/reference observation packet; perovskite-sim/tests/regression/test_photon_recycling_voc.py::test_photon_recycling_voc_below_sq_ceiling, perovskite-sim/tests/regression/test_photon_recycling_voc.py::test_photon_recycling_voc_boost_in_window, perovskite-sim/tests/regression/test_radiative_reabsorption.py::test_radiative_reabsorption_matches_phase_3_1_at_voc, perovskite-sim/tests/regression/test_radiative_reabsorption.py::test_radiative_reabsorption_preserves_voc_boost, perovskite-sim/tests/unit/experiments/test_protocol.py::test_public_experiments_reject_implicit_history_before_solving, perovskite-sim/tests/unit/experiments/test_suns_voc.py::test_progress_callback_invoked, perovskite-sim/tests/unit/experiments/test_suns_vo", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.suns_voc.run_suns_voc" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-db0ae95bf832243f/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + } + ], + "downstream_tasks": [ + "P04-05", + "P05-01", + "P05-02" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-experiment-db0ae95bf832243f" + }, + "scope_specific_prior_gaps": [ + { + "field": "fixed numeric Jsc/FF/PCE reference values/scales with the actual output units and conversion identity", + "needed_from": "experiment-db0ae95bf832243f exact original driver/reference observation packet; perovskite-sim/tests/regression/test_photon_recycling_voc.py::test_photon_recycling_voc_below_sq_ceiling, perovskite-sim/tests/regression/test_photon_recycling_voc.py::test_photon_recycling_voc_boost_in_window, perovskite-sim/tests/regression/test_radiative_reabsorption.py::test_radiative_reabsorption_matches_phase_3_1_at_voc, perovskite-sim/tests/regression/test_radiative_reabsorption.py::test_radiative_reabsorption_preserves_voc_boost, perovskite-sim/tests/unit/experiments/test_protocol.py::test_public_experiments_reject_implicit_history_before_solving, perovskite-sim/tests/unit/experiments/test_suns_voc.py::test_progress_callback_invoked, perovskite-sim/tests/unit/experiments/test_suns_vo", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.suns_voc.run_suns_voc", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "dimensional dark/weak Jsc and zero-power absolute limits with error evidence", + "needed_from": "experiment-db0ae95bf832243f exact original driver/reference observation packet; perovskite-sim/tests/regression/test_photon_recycling_voc.py::test_photon_recycling_voc_below_sq_ceiling, perovskite-sim/tests/regression/test_photon_recycling_voc.py::test_photon_recycling_voc_boost_in_window, perovskite-sim/tests/regression/test_radiative_reabsorption.py::test_radiative_reabsorption_matches_phase_3_1_at_voc, perovskite-sim/tests/regression/test_radiative_reabsorption.py::test_radiative_reabsorption_preserves_voc_boost, perovskite-sim/tests/unit/experiments/test_protocol.py::test_public_experiments_reject_implicit_history_before_solving, perovskite-sim/tests/unit/experiments/test_suns_voc.py::test_progress_callback_invoked, perovskite-sim/tests/unit/experiments/test_suns_vo", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.suns_voc.run_suns_voc", + "categories": [ + "tolerance_decision", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "Voc bracket, dJ/dV and current-error propagation bound; MPP sampling and full branch coordinates", + "needed_from": "experiment-db0ae95bf832243f exact original driver/reference observation packet; perovskite-sim/tests/regression/test_photon_recycling_voc.py::test_photon_recycling_voc_below_sq_ceiling, perovskite-sim/tests/regression/test_photon_recycling_voc.py::test_photon_recycling_voc_boost_in_window, perovskite-sim/tests/regression/test_radiative_reabsorption.py::test_radiative_reabsorption_matches_phase_3_1_at_voc, perovskite-sim/tests/regression/test_radiative_reabsorption.py::test_radiative_reabsorption_preserves_voc_boost, perovskite-sim/tests/unit/experiments/test_protocol.py::test_public_experiments_reject_implicit_history_before_solving, perovskite-sim/tests/unit/experiments/test_suns_voc.py::test_progress_callback_invoked, perovskite-sim/tests/unit/experiments/test_suns_vo", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.suns_voc.run_suns_voc", + "categories": [ + "measurement_data", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "numeric reference current scale and absolute weak/zero current allowance, in the actual A or A m-2 output unit", + "needed_from": "experiment-db0ae95bf832243f exact original driver/reference observation packet; perovskite-sim/tests/regression/test_photon_recycling_voc.py::test_photon_recycling_voc_below_sq_ceiling, perovskite-sim/tests/regression/test_photon_recycling_voc.py::test_photon_recycling_voc_boost_in_window, perovskite-sim/tests/regression/test_radiative_reabsorption.py::test_radiative_reabsorption_matches_phase_3_1_at_voc, perovskite-sim/tests/regression/test_radiative_reabsorption.py::test_radiative_reabsorption_preserves_voc_boost, perovskite-sim/tests/unit/experiments/test_protocol.py::test_public_experiments_reject_implicit_history_before_solving, perovskite-sim/tests/unit/experiments/test_suns_voc.py::test_progress_callback_invoked, perovskite-sim/tests/unit/experiments/test_suns_vo", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.suns_voc.run_suns_voc", + "categories": [ + "source_configuration", + "tolerance_decision" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "each component/sign/port/support, observation times and both event sides", + "needed_from": "experiment-db0ae95bf832243f exact original driver/reference observation packet; perovskite-sim/tests/regression/test_photon_recycling_voc.py::test_photon_recycling_voc_below_sq_ceiling, perovskite-sim/tests/regression/test_photon_recycling_voc.py::test_photon_recycling_voc_boost_in_window, perovskite-sim/tests/regression/test_radiative_reabsorption.py::test_radiative_reabsorption_matches_phase_3_1_at_voc, perovskite-sim/tests/regression/test_radiative_reabsorption.py::test_radiative_reabsorption_preserves_voc_boost, perovskite-sim/tests/unit/experiments/test_protocol.py::test_public_experiments_reject_implicit_history_before_solving, perovskite-sim/tests/unit/experiments/test_suns_voc.py::test_progress_callback_invoked, perovskite-sim/tests/unit/experiments/test_suns_vo", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.suns_voc.run_suns_voc", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "pointwise current uncertainty and a pointwise comparison limit; integrated charge is not a substitute", + "needed_from": "experiment-db0ae95bf832243f exact original driver/reference observation packet; perovskite-sim/tests/regression/test_photon_recycling_voc.py::test_photon_recycling_voc_below_sq_ceiling, perovskite-sim/tests/regression/test_photon_recycling_voc.py::test_photon_recycling_voc_boost_in_window, perovskite-sim/tests/regression/test_radiative_reabsorption.py::test_radiative_reabsorption_matches_phase_3_1_at_voc, perovskite-sim/tests/regression/test_radiative_reabsorption.py::test_radiative_reabsorption_preserves_voc_boost, perovskite-sim/tests/unit/experiments/test_protocol.py::test_public_experiments_reject_implicit_history_before_solving, perovskite-sim/tests/unit/experiments/test_suns_voc.py::test_progress_callback_invoked, perovskite-sim/tests/unit/experiments/test_suns_vo", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.suns_voc.run_suns_voc", + "categories": [ + "tolerance_decision", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-db0ae95bf832243f/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [], + "current_numeric_status": "prior_exact_scope_gaps_retained_and_classified" + } + }, + { + "id": "scope-experiment-25bf35be6cfb7cb9", + "capability_id": "experiment-25bf35be6cfb7cb9", + "route_id": "route-c0ff0a667c4cc9dd", + "origin_key": "experiment:perovskite_sim.experiments.tandem_jv.run_tandem_jv", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "JV_metrics_and_full_branch", + "current_observation_or_current_input" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/tandem_jv.py", + "symbol": "run_tandem_jv" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_tandem_jv.py", + "symbol": "test_run_tandem_jv_smoke" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_tandem_lin2019.py", + "symbol": "test_lin2019_jsc_within_tolerance" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_tandem_lin2019.py", + "symbol": "test_lin2019_observations_match_reproducibility_registry" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_tandem_lin2019.py", + "symbol": "test_lin2019_pce_within_tolerance" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_tandem_lin2019.py", + "symbol": "test_lin2019_subcell_currents_match_within_two_percent" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_tandem_lin2019.py", + "symbol": "test_lin2019_subcells_respect_their_photon_budgets" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_tandem_lin2019.py", + "symbol": "test_lin2019_voc_and_ff_within_tolerance" + } + ], + "negative_only_descriptor_rule_ids": [], + "source_quantitative_assertion_ids_for_scope_audit": [ + "rule-9b693e30b2020c4892a1484e", + "rule-b6699e186249f01287f8b51f", + "rule-a98ebac3fa7bae31cc760473", + "rule-41d2030269f5c09a5b563dee", + "rule-3739d8f75e7d26b1e771658d", + "rule-3b30345d0b4119ea4281361c", + "rule-0e961e81c7df397449177678", + "rule-8a9eb9f1069482c1be00534a", + "rule-fc090835ed6dd6e1cf469c8f", + "rule-9a6b373888d9592c0c555b5d", + "rule-90de4ab6502d7d5e9d41b150" + ], + "rule_ids": [ + "M_payload", + "Voc_absolute", + "JV_metric_packet", + "current_packet" + ], + "citations": [], + "remaining_inputs": [ + { + "field": "fixed numeric Jsc/FF/PCE reference values/scales with the actual output units and conversion identity", + "needed_from": "experiment-25bf35be6cfb7cb9 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_tandem_jv.py::test_run_tandem_jv_smoke, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_jsc_within_tolerance, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_observations_match_reproducibility_registry, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_pce_within_tolerance, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_subcell_currents_match_within_two_percent, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_subcells_respect_their_photon_budgets, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_voc_and_ff_within_toleranc", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.tandem_jv.run_tandem_jv" + }, + { + "field": "dimensional dark/weak Jsc and zero-power absolute limits with error evidence", + "needed_from": "experiment-25bf35be6cfb7cb9 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_tandem_jv.py::test_run_tandem_jv_smoke, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_jsc_within_tolerance, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_observations_match_reproducibility_registry, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_pce_within_tolerance, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_subcell_currents_match_within_two_percent, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_subcells_respect_their_photon_budgets, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_voc_and_ff_within_toleranc", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.tandem_jv.run_tandem_jv" + }, + { + "field": "Voc bracket, dJ/dV and current-error propagation bound; MPP sampling and full branch coordinates", + "needed_from": "experiment-25bf35be6cfb7cb9 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_tandem_jv.py::test_run_tandem_jv_smoke, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_jsc_within_tolerance, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_observations_match_reproducibility_registry, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_pce_within_tolerance, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_subcell_currents_match_within_two_percent, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_subcells_respect_their_photon_budgets, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_voc_and_ff_within_toleranc", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.tandem_jv.run_tandem_jv" + }, + { + "field": "numeric reference current scale and absolute weak/zero current allowance, in the actual A or A m-2 output unit", + "needed_from": "experiment-25bf35be6cfb7cb9 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_tandem_jv.py::test_run_tandem_jv_smoke, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_jsc_within_tolerance, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_observations_match_reproducibility_registry, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_pce_within_tolerance, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_subcell_currents_match_within_two_percent, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_subcells_respect_their_photon_budgets, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_voc_and_ff_within_toleranc", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.tandem_jv.run_tandem_jv" + }, + { + "field": "each component/sign/port/support, observation times and both event sides", + "needed_from": "experiment-25bf35be6cfb7cb9 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_tandem_jv.py::test_run_tandem_jv_smoke, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_jsc_within_tolerance, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_observations_match_reproducibility_registry, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_pce_within_tolerance, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_subcell_currents_match_within_two_percent, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_subcells_respect_their_photon_budgets, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_voc_and_ff_within_toleranc", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.tandem_jv.run_tandem_jv" + }, + { + "field": "pointwise current uncertainty and a pointwise comparison limit; integrated charge is not a substitute", + "needed_from": "experiment-25bf35be6cfb7cb9 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_tandem_jv.py::test_run_tandem_jv_smoke, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_jsc_within_tolerance, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_observations_match_reproducibility_registry, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_pce_within_tolerance, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_subcell_currents_match_within_two_percent, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_subcells_respect_their_photon_budgets, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_voc_and_ff_within_toleranc", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.tandem_jv.run_tandem_jv" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-25bf35be6cfb7cb9/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + } + ], + "downstream_tasks": [ + "P04-13", + "P05-01", + "P05-04" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-experiment-25bf35be6cfb7cb9" + }, + "scope_specific_prior_gaps": [ + { + "field": "fixed numeric Jsc/FF/PCE reference values/scales with the actual output units and conversion identity", + "needed_from": "experiment-25bf35be6cfb7cb9 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_tandem_jv.py::test_run_tandem_jv_smoke, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_jsc_within_tolerance, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_observations_match_reproducibility_registry, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_pce_within_tolerance, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_subcell_currents_match_within_two_percent, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_subcells_respect_their_photon_budgets, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_voc_and_ff_within_toleranc", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.tandem_jv.run_tandem_jv", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "dimensional dark/weak Jsc and zero-power absolute limits with error evidence", + "needed_from": "experiment-25bf35be6cfb7cb9 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_tandem_jv.py::test_run_tandem_jv_smoke, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_jsc_within_tolerance, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_observations_match_reproducibility_registry, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_pce_within_tolerance, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_subcell_currents_match_within_two_percent, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_subcells_respect_their_photon_budgets, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_voc_and_ff_within_toleranc", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.tandem_jv.run_tandem_jv", + "categories": [ + "tolerance_decision", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "Voc bracket, dJ/dV and current-error propagation bound; MPP sampling and full branch coordinates", + "needed_from": "experiment-25bf35be6cfb7cb9 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_tandem_jv.py::test_run_tandem_jv_smoke, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_jsc_within_tolerance, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_observations_match_reproducibility_registry, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_pce_within_tolerance, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_subcell_currents_match_within_two_percent, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_subcells_respect_their_photon_budgets, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_voc_and_ff_within_toleranc", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.tandem_jv.run_tandem_jv", + "categories": [ + "measurement_data", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "numeric reference current scale and absolute weak/zero current allowance, in the actual A or A m-2 output unit", + "needed_from": "experiment-25bf35be6cfb7cb9 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_tandem_jv.py::test_run_tandem_jv_smoke, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_jsc_within_tolerance, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_observations_match_reproducibility_registry, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_pce_within_tolerance, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_subcell_currents_match_within_two_percent, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_subcells_respect_their_photon_budgets, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_voc_and_ff_within_toleranc", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.tandem_jv.run_tandem_jv", + "categories": [ + "source_configuration", + "tolerance_decision" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "each component/sign/port/support, observation times and both event sides", + "needed_from": "experiment-25bf35be6cfb7cb9 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_tandem_jv.py::test_run_tandem_jv_smoke, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_jsc_within_tolerance, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_observations_match_reproducibility_registry, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_pce_within_tolerance, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_subcell_currents_match_within_two_percent, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_subcells_respect_their_photon_budgets, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_voc_and_ff_within_toleranc", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.tandem_jv.run_tandem_jv", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "pointwise current uncertainty and a pointwise comparison limit; integrated charge is not a substitute", + "needed_from": "experiment-25bf35be6cfb7cb9 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_tandem_jv.py::test_run_tandem_jv_smoke, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_jsc_within_tolerance, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_observations_match_reproducibility_registry, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_pce_within_tolerance, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_subcell_currents_match_within_two_percent, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_subcells_respect_their_photon_budgets, perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_voc_and_ff_within_toleranc", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.tandem_jv.run_tandem_jv", + "categories": [ + "tolerance_decision", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-25bf35be6cfb7cb9/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [], + "current_numeric_status": "prior_exact_scope_gaps_retained_and_classified" + } + }, + { + "id": "scope-experiment-06dfc808cd746b55", + "capability_id": "experiment-06dfc808cd746b55", + "route_id": "route-f1a859a308a3d395", + "origin_key": "experiment:perovskite_sim.experiments.thermal_balance.run_lumped_thermal_transient", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "lumped_temperature_heat_energy_ledger" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/thermal_balance.py", + "symbol": "run_lumped_thermal_transient" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_thermal_balance.py", + "symbol": "test_linear_transient_matches_closed_form_and_energy_ledger" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_thermal_balance.py", + "symbol": "test_radiative_transient_approaches_registered_steady_state" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_thermal_balance.py", + "symbol": "test_transient_rejects_initial_or_evolved_temperature_above_envelope" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_thermal_balance.py", + "symbol": "test_transient_zero_heat_at_ambient_is_exact_and_hashes_bind_inputs" + } + ], + "negative_only_descriptor_rule_ids": [ + "rule-33e2971e8081b8119a7a31bc", + "rule-17d48ccfb94f73fcdf397374", + "rule-fe05db392ae9a87d9aa9204a" + ], + "source_quantitative_assertion_ids_for_scope_audit": [ + "rule-fc0da879cbf9a4f024c709d8", + "rule-78aecf9c69eb92b269182b0d", + "rule-c91c14cd4be98aa51ca3929a", + "rule-c8e0d6b4d4be3716800f5cd0" + ], + "rule_ids": [ + "M_payload", + "thermal_packet", + "thermal_linear_waveform", + "thermal_linear_energy_residual" + ], + "citations": [ + { + "source_id": "thermal_test", + "symbol": "test_linear_transient_matches_closed_form_and_energy_ledger" + }, + { + "source_id": "analytic_parameters" + }, + { + "source_id": "thermal_channel_decision" + }, + { + "source_id": "thermal_channel_review" + }, + { + "source_id": "thermal_channel_freeze" + } + ], + "remaining_inputs": [ + { + "field": "Independent use review and matching source/input/model/protocol/initial-state/numerics/environment/observation identity; the existing analytic error expressions are evidence, not automatic admission.", + "needed_from": "experiment-06dfc808cd746b55 / thermal_linear_transient_200s_41: original bound source/input and independently reviewed ReferenceQualification packet", + "blocked_use": "experiment:perovskite_sim.experiments.thermal_balance.run_lumped_thermal_transient: new N acceptance outside the explicitly limited fixture meaning", + "downstream_tasks": [ + "P04-13", + "P05-01", + "P05-04" + ] + }, + { + "field": "Other original driver/fixture branches listed in original_test_or_source_bindings remain outside these exact-case parameter bindings; original rules and positive physical obligations are unchanged.", + "needed_from": "experiment:perovskite_sim.experiments.thermal_balance.run_lumped_thermal_transient original branch-specific reference packet and applicable contract", + "blocked_use": "Full-scope activation or extension to an unmatched model/protocol/state/grid/environment" + } + ], + "downstream_tasks": [ + "P04-13", + "P05-01", + "P05-04" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "parameter_bindings": [ + { + "family_rule_id": "thermal_packet", + "case_id": "thermal_linear_transient_200s_41", + "applicability": "Only this already accepted analytic definition and its exact stored input fixture; no continuum, other material, nonlinear radiation or full-device extension.", + "numeric_parameter_status": "numeric_definition_complete_for_original_named_target", + "known_parameters": { + "input_sha256": "1b93b079073e421b9497205bbaa8b6a70db0e59d67f833ff7b7c4821bb021178", + "definition_sha256": "1ddc844b8b7fa588651a7f65567bc649db710dc9867c6a179adae1faf40e3913", + "comparison_target": { + "kind": "analytic_fixture", + "equation": "2000*dT/dt=600-20*(T-300), T(0)=300", + "temperature_expression": "330-30*exp(-t/100)", + "energy_identity": "2000*(T-300)-(E_abs+E_internal-E_electrical-E_linear-E_radiative)=0" + }, + "inputs_and_observations": "Read exact words, coordinates, units and rules at analytic_reference_binding; no regenerated or copied reference output.", + "thermal_protocol": { + "constant_internal_heat_W_m2": 0.0, + "steady_temperature_tolerance_K": 1e-10, + "steady_power_residual_tolerance_W_m2": 1e-08, + "schema_version": 1, + "system_boundary": "device_plus_lumped_parasitics", + "absorbed_optical_power_W_m2": 800.0, + "ambient_temperature_K": 300.0, + "areal_heat_capacity_J_m2_K": 2000.0, + "heat_transfer_coefficient_W_m2_K": 20.0, + "emissivity": 0.0, + "maximum_temperature_K": 500.0 + }, + "thermal_protocol_sha256": "315d1da7283d62ff3a5e254c0570601cb65250cbf78a59d3641c57bb90b84fe3", + "integration_protocol": { + "relative_tolerance": 1e-10, + "absolute_temperature_tolerance_K": 1e-11, + "absolute_energy_tolerance_J_m2": 1e-09, + "max_step_divisor": 400, + "energy_balance_tolerance_J_m2": 1e-07, + "method": "DOP853", + "schema_version": 1, + "duration_s": 200.0, + "initial_temperature_K": 300.0, + "sample_count": 41 + }, + "terminal_electrical_export_W_m2": 200.0, + "sample_count": 41, + "time_s": [ + 0.0, + 5.0, + 10.0, + 15.0, + 20.0, + 25.0, + 30.0, + 35.0, + 40.0, + 45.0, + 50.0, + 55.0, + 60.0, + 65.0, + 70.0, + 75.0, + 80.0, + 85.0, + 90.0, + 95.0, + 100.0, + 105.0, + 110.0, + 115.0, + 120.0, + 125.0, + 130.0, + 135.0, + 140.0, + 145.0, + 150.0, + 155.0, + 160.0, + 165.0, + 170.0, + 175.0, + 180.0, + 185.0, + 190.0, + 195.0, + 200.0 + ], + "event_sides": "initial point and a constant-drive protocol with no interior event" + }, + "limits": { + "temperature_K": { + "unit": "K", + "atol": 1e-09, + "rtol": 0, + "fixed_reference_scale": 330, + "limit_exact_from_stored_parameters": [ + "4835703278458517", + "4835703278458516698824704" + ], + "zero_policy": "absolute_error_without_division", + "norm": "pointwise_absolute_linf", + "reference_error_allocation": "at most one third of this allowance; retain any stricter applicable original contract", + "kind": "curve", + "coordinates": "time_s", + "mask": "all41_samples" + }, + "energy_balance_residual_J_m2": { + "unit": "J m-2", + "atol": 1e-07, + "rtol": 0, + "fixed_reference_scale": 0, + "limit_exact_from_stored_parameters": [ + "944473296573929", + "9444732965739290427392" + ], + "zero_policy": "absolute_error_without_division", + "norm": "pointwise_absolute_linf", + "reference_error_allocation": "at most one third of this allowance; retain any stricter applicable original contract", + "kind": "curve", + "coordinates": "time_s", + "mask": "all41_samples" + }, + "net_heating_W_m2": { + "unit": "W m-2", + "norm": "pointwise_absolute_linf", + "atol": 2e-08, + "rtol": 0, + "fixed_reference_scale": 600, + "rule": "sum", + "kind": "curve", + "mask": "all41_samples", + "zero_policy": "absolute_limit", + "zero_scope_note": "absolute_error_without_division", + "reference_error_abs_exact": [ + "15786632589068347948028333483294120285616877195116733989603274511", + "500000000000000000000000000000000000000000000000000000000000000000000000000000" + ], + "reference_values_pointer": "/definitions/6/observables/net_heating_W_m2", + "reference_words_sha256": "748e0bc257502ad40637e05ee7139ea214c07d662e1320c3b0ad2e91432a490f", + "reference_error_allocation": "At most one third of the channel allowance; exact zero for the two declared inactive channels.", + "coordinates": "time_s" + }, + "cumulative_absorbed_energy_J_m2": { + "unit": "J m-2", + "norm": "pointwise_absolute_linf", + "atol": 1e-07, + "rtol": 0, + "fixed_reference_scale": 160000, + "rule": "sum", + "kind": "curve", + "mask": "all41_samples", + "zero_policy": "absolute_limit", + "zero_scope_note": "absolute_error_without_division", + "reference_error_abs_exact": [ + "0", + "1" + ], + "reference_values_pointer": "/definitions/6/observables/cumulative_absorbed_energy_J_m2", + "reference_words_sha256": "8469ad3c07c201ea6f05c858f715bdc59c3328e78767624ce7b471413149a680", + "reference_error_allocation": "At most one third of the channel allowance; exact zero for the two declared inactive channels.", + "coordinates": "time_s" + }, + "cumulative_internal_energy_J_m2": { + "unit": "J m-2", + "norm": "pointwise_absolute_linf", + "atol": 0.0, + "rtol": 0, + "fixed_reference_scale": 0, + "rule": "sum", + "kind": "curve", + "mask": "all41_samples", + "zero_policy": "absolute_limit", + "zero_scope_note": "exact_declared_inactive_channel", + "reference_error_abs_exact": [ + "0", + "1" + ], + "reference_values_pointer": "/definitions/6/observables/cumulative_internal_energy_J_m2", + "reference_words_sha256": "7b4499c3cc6e82a9da3100028f52af7f8c1e9ee60e33010a108e401989782962", + "reference_error_allocation": "At most one third of the channel allowance; exact zero for the two declared inactive channels.", + "coordinates": "time_s" + }, + "cumulative_electrical_export_J_m2": { + "unit": "J m-2", + "norm": "pointwise_absolute_linf", + "atol": 1e-07, + "rtol": 0, + "fixed_reference_scale": 40000, + "rule": "sum", + "kind": "curve", + "mask": "all41_samples", + "zero_policy": "absolute_limit", + "zero_scope_note": "absolute_error_without_division", + "reference_error_abs_exact": [ + "0", + "1" + ], + "reference_values_pointer": "/definitions/6/observables/cumulative_electrical_export_J_m2", + "reference_words_sha256": "f73b99b25982c217e3e92dd4fee201efc70c4f79e2ddca141b51add71412cabf", + "reference_error_allocation": "At most one third of the channel allowance; exact zero for the two declared inactive channels.", + "coordinates": "time_s" + }, + "cumulative_linear_rejection_J_m2": { + "unit": "J m-2", + "norm": "pointwise_absolute_linf", + "atol": 1e-07, + "rtol": 0, + "fixed_reference_scale": 120000, + "rule": "sum", + "kind": "curve", + "mask": "all41_samples", + "zero_policy": "absolute_limit", + "zero_scope_note": "absolute_error_without_division", + "reference_error_abs_exact": [ + "909851400946614732094518298007097726111236010568868062117798553", + "156250000000000000000000000000000000000000000000000000000000000000000000000" + ], + "reference_values_pointer": "/definitions/6/observables/cumulative_linear_rejection_J_m2", + "reference_words_sha256": "c0322faf7a888c6ef511e2e0e0622b0c7fc6c13246dbdecb7d9d8af4aba2c82f", + "reference_error_allocation": "At most one third of the channel allowance; exact zero for the two declared inactive channels.", + "coordinates": "time_s" + }, + "cumulative_radiative_rejection_J_m2": { + "unit": "J m-2", + "norm": "pointwise_absolute_linf", + "atol": 0.0, + "rtol": 0, + "fixed_reference_scale": 0, + "rule": "sum", + "kind": "curve", + "mask": "all41_samples", + "zero_policy": "absolute_limit", + "zero_scope_note": "exact_declared_inactive_channel", + "reference_error_abs_exact": [ + "0", + "1" + ], + "reference_values_pointer": "/definitions/6/observables/cumulative_radiative_rejection_J_m2", + "reference_words_sha256": "7b4499c3cc6e82a9da3100028f52af7f8c1e9ee60e33010a108e401989782962", + "reference_error_allocation": "At most one third of the channel allowance; exact zero for the two declared inactive channels.", + "coordinates": "time_s" + }, + "stored_thermal_energy_change_J_m2": { + "unit": "J m-2", + "norm": "pointwise_absolute_linf", + "atol": 1e-07, + "rtol": 0, + "fixed_reference_scale": 60000, + "rule": "sum", + "kind": "curve", + "mask": "all41_samples", + "zero_policy": "absolute_limit", + "zero_scope_note": "absolute_error_without_division", + "reference_error_abs_exact": [ + "18108792358830638511770156987102077209733153265336892215049894963", + "5000000000000000000000000000000000000000000000000000000000000000000000000000" + ], + "reference_values_pointer": "/definitions/6/observables/stored_thermal_energy_change_J_m2", + "reference_words_sha256": "8bd226b84630f6830ba030d90f53cbff9b540d647a033a7214a5032f400329f3", + "reference_error_allocation": "At most one third of the channel allowance; exact zero for the two declared inactive channels.", + "coordinates": "time_s" + } + }, + "citations": [ + { + "source_id": "analytic_parameters" + }, + { + "source_id": "thermal_channel_decision" + }, + { + "source_id": "thermal_channel_review" + }, + { + "source_id": "thermal_channel_freeze" + } + ], + "remaining_parameters": [ + "Independent use review and matching source/input/model/protocol/initial-state/numerics/environment/observation identity; the existing analytic error expressions are evidence, not automatic admission.", + "Instantiate full candidate/source/input/model/protocol/initial-state/numerics/environment/observation identity and complete independent reference-use review before running a future candidate. Other thermal inputs and coupled/radiative scopes retain their separate obligations." + ], + "reference_eligibility": { + "status": "blocked_pending_independent_reference_and_review", + "reference_error_bound": null, + "default_reference_error_share": "1/3", + "stronger_original_channel_allocations_retained": true, + "unused_error_shares_redistributed": false, + "reference_qualified": false, + "active_comparison": null + }, + "analytic_reference_binding": { + "source_id": "analytic_parameters", + "pointer": "/definitions/6", + "value_sha256": "717fbb2ddb813260db1068939fc67d790d5479b82184ffbe8b1640ebae30fa4e", + "definition_id": "thermal_linear_transient_200s_41" + }, + "criteria_freeze": { + "source_id": "thermal_channel_freeze", + "frozen_at": "2026-10-07T22:35:59.469280+08:00", + "decision_source_id": "thermal_channel_decision", + "review_source_id": "thermal_channel_review", + "scope": "Only this exact linear200s/41sample fixture; all nine channel checks are joint." + } + } + ], + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-experiment-06dfc808cd746b55" + }, + "scope_specific_prior_gaps": [ + { + "field": "Independent use review and matching source/input/model/protocol/initial-state/numerics/environment/observation identity; the existing analytic error expressions are evidence, not automatic admission.", + "needed_from": "experiment-06dfc808cd746b55 / thermal_linear_transient_200s_41: original bound source/input and independently reviewed ReferenceQualification packet", + "blocked_use": "experiment:perovskite_sim.experiments.thermal_balance.run_lumped_thermal_transient: new N acceptance outside the explicitly limited fixture meaning", + "downstream_tasks": [ + "P04-13", + "P05-01", + "P05-04" + ], + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + }, + { + "field": "Separate N-accuracy limits for net heating and each cumulative absorbed/internal/exported/linear/radiative/stored-energy channel; the 1e-7 J m-2 residual gate does not supply them.", + "needed_from": "experiment-06dfc808cd746b55 / thermal_linear_transient_200s_41: original bound source/input and independently reviewed ReferenceQualification packet", + "blocked_use": "experiment:perovskite_sim.experiments.thermal_balance.run_lumped_thermal_transient: new N acceptance outside the explicitly limited fixture meaning", + "downstream_tasks": [ + "P04-13", + "P05-01", + "P05-04" + ], + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + }, + { + "field": "Other original driver/fixture branches listed in original_test_or_source_bindings remain outside these exact-case parameter bindings; original rules and positive physical obligations are unchanged.", + "needed_from": "experiment:perovskite_sim.experiments.thermal_balance.run_lumped_thermal_transient original branch-specific reference packet and applicable contract", + "blocked_use": "Full-scope activation or extension to an unmatched model/protocol/state/grid/environment", + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [ + { + "source_id": "thermal_channel_freeze", + "case_id": "thermal_linear_transient_200s_41", + "resolved": "Standalone net-heating and six energy observable limits for this exact fixture,including the two exact inactive energies; other scopes unchanged." + } + ], + "current_numeric_status": "original_named_linear_thermal_fixture_limits_complete_reference_use_pending" + } + }, + { + "id": "scope-experiment-facd10fc2e2e1c6d", + "capability_id": "experiment-facd10fc2e2e1c6d", + "route_id": "route-f1a859a308a3d395", + "origin_key": "experiment:perovskite_sim.experiments.thermal_balance.solve_lumped_thermal_steady_state", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "lumped_temperature_heat_energy_ledger" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/thermal_balance.py", + "symbol": "solve_lumped_thermal_steady_state" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_thermal_balance.py", + "symbol": "test_radiation_reduces_temperature_and_closes_first_law" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_thermal_balance.py", + "symbol": "test_radiative_transient_approaches_registered_steady_state" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_thermal_balance.py", + "symbol": "test_steady_linear_heat_rejection_matches_analytic_solution" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_thermal_balance.py", + "symbol": "test_steady_solver_fails_closed_on_impossible_source_or_envelope" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_thermal_balance.py", + "symbol": "test_steady_zero_heat_is_exactly_ambient" + } + ], + "negative_only_descriptor_rule_ids": [ + "rule-2d66abb21d7e57216950be95", + "rule-bfa0dc8cdf58f80f6fc69426", + "rule-cdaa2e9839cc0657824b618f", + "rule-5e67266a56200cc3312474f4" + ], + "source_quantitative_assertion_ids_for_scope_audit": [ + "rule-25037a47ecdf2d5a7fd418a8", + "rule-3d48ef50a00d095d171f6ea2", + "rule-64c611076dfcf61c057a1fd5", + "rule-c91c14cd4be98aa51ca3929a", + "rule-c8e0d6b4d4be3716800f5cd0", + "rule-99134d7c34ce004df55f3203", + "rule-1e9efb3bc99cdf6e16abad9d", + "rule-4e90fcdd51a07baddbeccd28" + ], + "rule_ids": [ + "M_payload", + "thermal_packet", + "thermal_steady_linear", + "thermal_exact_ambient", + "thermal_exact_net_heat" + ], + "citations": [ + { + "source_id": "thermal_test", + "symbol": "test_steady_linear_heat_rejection_matches_analytic_solution" + }, + { + "source_id": "analytic_parameters" + } + ], + "remaining_inputs": [ + { + "field": "Independent use review and matching source/input/model/protocol/initial-state/numerics/environment/observation identity; the existing analytic error expressions are evidence, not automatic admission.", + "needed_from": "experiment-facd10fc2e2e1c6d / thermal_zero_heat_steady: original bound source/input and independently reviewed ReferenceQualification packet", + "blocked_use": "experiment:perovskite_sim.experiments.thermal_balance.solve_lumped_thermal_steady_state: new N acceptance outside the explicitly limited fixture meaning", + "downstream_tasks": [ + "P04-13", + "P05-01", + "P05-04" + ] + }, + { + "field": "Independent use review and matching source/input/model/protocol/initial-state/numerics/environment/observation identity; the existing analytic error expressions are evidence, not automatic admission.", + "needed_from": "experiment-facd10fc2e2e1c6d / thermal_linear_steady: original bound source/input and independently reviewed ReferenceQualification packet", + "blocked_use": "experiment:perovskite_sim.experiments.thermal_balance.solve_lumped_thermal_steady_state: new N acceptance outside the explicitly limited fixture meaning", + "downstream_tasks": [ + "P04-13", + "P05-01", + "P05-04" + ] + }, + { + "field": "Other original driver/fixture branches listed in original_test_or_source_bindings remain outside these exact-case parameter bindings; original rules and positive physical obligations are unchanged.", + "needed_from": "experiment:perovskite_sim.experiments.thermal_balance.solve_lumped_thermal_steady_state original branch-specific reference packet and applicable contract", + "blocked_use": "Full-scope activation or extension to an unmatched model/protocol/state/grid/environment" + } + ], + "downstream_tasks": [ + "P04-13", + "P05-01", + "P05-04" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "parameter_bindings": [ + { + "family_rule_id": "thermal_packet", + "case_id": "thermal_zero_heat_steady", + "applicability": "Only this already accepted analytic definition and its exact stored input fixture; no continuum, other material, nonlinear radiation or full-device extension.", + "numeric_parameter_status": "specified_for_listed_subgates", + "known_parameters": { + "input_sha256": "c4505db95c7769f19a5aaee697349bc2fad7126f6a08111304942be94c74c6d6", + "definition_sha256": "757f5b0781297d8ad1c7e08e4bf2f5059d9b92c8713873fd421c9f2a617ef742", + "comparison_target": { + "kind": "analytic_fixture", + "equation": "T=Tamb with exactly equal200W/m2 absorption and export" + }, + "inputs_and_observations": "Read exact words, coordinates, units and rules at analytic_reference_binding; no regenerated or copied reference output.", + "thermal_protocol": { + "constant_internal_heat_W_m2": 0.0, + "steady_temperature_tolerance_K": 1e-10, + "steady_power_residual_tolerance_W_m2": 1e-08, + "schema_version": 1, + "system_boundary": "device_plus_lumped_parasitics", + "absorbed_optical_power_W_m2": 200.0, + "ambient_temperature_K": 300.0, + "areal_heat_capacity_J_m2_K": 2000.0, + "heat_transfer_coefficient_W_m2_K": 20.0, + "emissivity": 0.0, + "maximum_temperature_K": 500.0 + }, + "thermal_protocol_sha256": "0c0952596dc3227fd0a3e307756badcdaf637926f11716c4211c054515e248ca", + "integration_protocol": null, + "terminal_electrical_export_W_m2": 200.0 + }, + "limits": { + "temperature_K": { + "unit": "K", + "atol": 0, + "rtol": 0, + "fixed_reference_scale": 300, + "limit_exact_from_stored_parameters": [ + "0", + "1" + ], + "zero_policy": "absolute_error_without_division", + "norm": "absolute_linf", + "reference_error_allocation": "at most one third of this allowance; retain any stricter applicable original contract" + }, + "temperature_rise_K": { + "unit": "K", + "atol": 0, + "rtol": 0, + "fixed_reference_scale": 0, + "limit_exact_from_stored_parameters": [ + "0", + "1" + ], + "zero_policy": "absolute_error_without_division", + "norm": "absolute_linf", + "reference_error_allocation": "at most one third of this allowance; retain any stricter applicable original contract" + }, + "net_heating_W_m2": { + "unit": "W m-2", + "atol": 0, + "rtol": 0, + "fixed_reference_scale": 0, + "limit_exact_from_stored_parameters": [ + "0", + "1" + ], + "zero_policy": "absolute_error_without_division", + "norm": "absolute_linf", + "reference_error_allocation": "at most one third of this allowance; retain any stricter applicable original contract" + } + }, + "citations": [ + { + "source_id": "analytic_parameters" + } + ], + "remaining_parameters": [ + "Independent use review and matching source/input/model/protocol/initial-state/numerics/environment/observation identity; the existing analytic error expressions are evidence, not automatic admission." + ], + "reference_eligibility": { + "status": "blocked_pending_independent_reference_and_review", + "reference_error_bound": null, + "default_reference_error_share": "1/3", + "stronger_original_channel_allocations_retained": true, + "unused_error_shares_redistributed": false, + "reference_qualified": false, + "active_comparison": null + }, + "analytic_reference_binding": { + "source_id": "analytic_parameters", + "pointer": "/definitions/4", + "value_sha256": "3e680e7a6ea1eadc7f16f247dd167c559023e41b5f61d477337e91854a770817", + "definition_id": "thermal_zero_heat_steady" + } + }, + { + "family_rule_id": "thermal_packet", + "case_id": "thermal_linear_steady", + "applicability": "Only this already accepted analytic definition and its exact stored input fixture; no continuum, other material, nonlinear radiation or full-device extension.", + "numeric_parameter_status": "specified_for_listed_subgates", + "known_parameters": { + "input_sha256": "236e253ec8bd930fb5285380706fb844a1fb8411d88cc4d927aa71cf6baac24e", + "definition_sha256": "14e1a4597846852977676803c49a9518e0c530e245f24a64f9e3d0e8315a21d9", + "comparison_target": { + "kind": "analytic_fixture", + "equation": "T=300+(800-200)/20=330K; no radiation" + }, + "inputs_and_observations": "Read exact words, coordinates, units and rules at analytic_reference_binding; no regenerated or copied reference output.", + "thermal_protocol": { + "constant_internal_heat_W_m2": 0.0, + "steady_temperature_tolerance_K": 1e-10, + "steady_power_residual_tolerance_W_m2": 1e-08, + "schema_version": 1, + "system_boundary": "device_plus_lumped_parasitics", + "absorbed_optical_power_W_m2": 800.0, + "ambient_temperature_K": 300.0, + "areal_heat_capacity_J_m2_K": 2000.0, + "heat_transfer_coefficient_W_m2_K": 20.0, + "emissivity": 0.0, + "maximum_temperature_K": 500.0 + }, + "thermal_protocol_sha256": "315d1da7283d62ff3a5e254c0570601cb65250cbf78a59d3641c57bb90b84fe3", + "integration_protocol": null, + "terminal_electrical_export_W_m2": 200.0 + }, + "limits": { + "temperature_K": { + "unit": "K", + "atol": 1e-10, + "rtol": 0, + "fixed_reference_scale": 330, + "limit_exact_from_stored_parameters": [ + "7737125245533627", + "77371252455336267181195264" + ], + "zero_policy": "absolute_error_without_division", + "norm": "absolute_linf", + "reference_error_allocation": "at most one third of this allowance; retain any stricter applicable original contract" + }, + "net_heating_W_m2": { + "unit": "W m-2", + "atol": 1e-08, + "rtol": 0, + "fixed_reference_scale": 0, + "limit_exact_from_stored_parameters": [ + "3022314549036573", + "302231454903657293676544" + ], + "zero_policy": "absolute_error_without_division", + "norm": "absolute_linf", + "reference_error_allocation": "at most one third of this allowance; retain any stricter applicable original contract" + } + }, + "citations": [ + { + "source_id": "analytic_parameters" + } + ], + "remaining_parameters": [ + "Independent use review and matching source/input/model/protocol/initial-state/numerics/environment/observation identity; the existing analytic error expressions are evidence, not automatic admission." + ], + "reference_eligibility": { + "status": "blocked_pending_independent_reference_and_review", + "reference_error_bound": null, + "default_reference_error_share": "1/3", + "stronger_original_channel_allocations_retained": true, + "unused_error_shares_redistributed": false, + "reference_qualified": false, + "active_comparison": null + }, + "analytic_reference_binding": { + "source_id": "analytic_parameters", + "pointer": "/definitions/5", + "value_sha256": "24df83933ff5284f6c904cc1cdfb05f1b6d979d49c26843a0acdddde25bb411e", + "definition_id": "thermal_linear_steady" + } + } + ], + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-experiment-facd10fc2e2e1c6d" + }, + "scope_specific_prior_gaps": [ + { + "field": "Independent use review and matching source/input/model/protocol/initial-state/numerics/environment/observation identity; the existing analytic error expressions are evidence, not automatic admission.", + "needed_from": "experiment-facd10fc2e2e1c6d / thermal_zero_heat_steady: original bound source/input and independently reviewed ReferenceQualification packet", + "blocked_use": "experiment:perovskite_sim.experiments.thermal_balance.solve_lumped_thermal_steady_state: new N acceptance outside the explicitly limited fixture meaning", + "downstream_tasks": [ + "P04-13", + "P05-01", + "P05-04" + ], + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + }, + { + "field": "Independent use review and matching source/input/model/protocol/initial-state/numerics/environment/observation identity; the existing analytic error expressions are evidence, not automatic admission.", + "needed_from": "experiment-facd10fc2e2e1c6d / thermal_linear_steady: original bound source/input and independently reviewed ReferenceQualification packet", + "blocked_use": "experiment:perovskite_sim.experiments.thermal_balance.solve_lumped_thermal_steady_state: new N acceptance outside the explicitly limited fixture meaning", + "downstream_tasks": [ + "P04-13", + "P05-01", + "P05-04" + ], + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + }, + { + "field": "Other original driver/fixture branches listed in original_test_or_source_bindings remain outside these exact-case parameter bindings; original rules and positive physical obligations are unchanged.", + "needed_from": "experiment:perovskite_sim.experiments.thermal_balance.solve_lumped_thermal_steady_state original branch-specific reference packet and applicable contract", + "blocked_use": "Full-scope activation or extension to an unmatched model/protocol/state/grid/environment", + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [], + "current_numeric_status": "prior_exact_scope_gaps_retained_and_classified" + } + }, + { + "id": "scope-experiment-dc01ed047a39ee7c", + "capability_id": "experiment-dc01ed047a39ee7c", + "route_id": "route-a09f453482a461e1", + "origin_key": "experiment:perovskite_sim.experiments.tpv.run_tpv", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "physical_profiles_or_stored_state_history", + "waveform_integral_history" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/tpv.py", + "symbol": "run_tpv" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_foundation_tpv_spatial_refinement.py", + "symbol": "test_three_spatial_levels_resolve_the_same_physical_tpv" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_protocol.py", + "symbol": "test_public_experiments_reject_implicit_history_before_solving" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_tpv.py", + "symbol": "test_rejects_invalid_delta_G_frac" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_tpv.py", + "symbol": "test_rejects_nonpositive_t_pulse" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_tpv.py", + "symbol": "test_rejects_small_n_grid" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_tpv.py", + "symbol": "test_rejects_t_decay_le_t_pulse" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_tpv.py", + "symbol": "test_tpv_all_finite" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_tpv.py", + "symbol": "test_tpv_progress_callback" + } + ], + "negative_only_descriptor_rule_ids": [ + "rule-85ae63d648f263162b846ce5", + "rule-96f2e6452bb4c35a1d1dd81b", + "rule-519b5904c14226f0800a874f", + "rule-c35cd219d9c3936f6df67853", + "rule-5d0e891641116ce929cc8fa6", + "rule-953a567ec246ac3a03a0de82" + ], + "source_quantitative_assertion_ids_for_scope_audit": [ + "rule-a0e287916dbeeea2852711a8" + ], + "rule_ids": [ + "M_payload", + "potential_packet", + "positive_density_log", + "density_inventory_packet", + "transient_packet" + ], + "citations": [ + { + "source_id": "tpv_test", + "symbol": "test_fit_decay_tau_exponential", + "lines": [ + 126, + 137 + ], + "text_sha256": "f818db3676c13c5f880bbeb753bdb9c699ba2428e2b8bcc0f1d1f20c4054a120" + }, + { + "source_id": "tpv_test", + "symbol": "test_fit_decay_tau_no_perturbation", + "lines": [ + 140, + 147 + ], + "text_sha256": "5f55bc7a9fac1fc470453e9a1e35306bef3336a8dc24dae67ce93f617a4ca6ee" + }, + { + "source_id": "tpv_test", + "symbol": "test_fit_decay_tau_rejects_distinct_fast_and_slow_populations", + "lines": [ + 157, + 161 + ], + "text_sha256": "7f4b1fdfbc25c60ee6ec97a459619353bd93e67e5d64683040cf28fc0922d48a" + }, + { + "source_id": "formal", + "lines": [ + 910, + 931 + ], + "text_sha256": "b72c4040bcf0248f9b08eca8c8ecf561fb82e0f5fa637d76d2551b6dc22f4a60" + }, + { + "source_id": "original_tpv_refinement", + "symbol": "_require_converged_waveform", + "lines": [ + 46, + 59 + ], + "text_sha256": "6eeedd9391749b42756abe844224dc30073d14ce243246cd56f5ec1b09f188c8" + }, + { + "source_id": "original_tpv_refinement", + "symbol": "refinement", + "lines": [ + 18, + 43 + ], + "text_sha256": "2179d8e6d557aa71921ef4fcd25adacb781449ed9f7857271caf20816eebc6bf" + }, + { + "source_id": "original_tpv_spatial", + "symbol": "test_three_spatial_levels_resolve_the_same_physical_tpv", + "lines": [ + 24, + 94 + ], + "text_sha256": "ec638e892eb4180b2145a250ad37b819fccff8a6e4740877dcf98ba0fae3d05b" + }, + { + "source_id": "foundation_input" + } + ], + "remaining_inputs": [ + { + "field": "For the full TPV case: qualified initial/DC state, pulse rise/fall sides, accepted-time waveform and integrated charge packet with the original waveform/fit/charge limits and independent error; an isolated fit tolerance supplies none of these.", + "needed_from": "experiment-dc01ed047a39ee7c / original_clean_exponential_fit_and_zero_perturbation: original bound source/input and independently reviewed ReferenceQualification packet", + "blocked_use": "experiment:perovskite_sim.experiments.tpv.run_tpv: new N acceptance outside the explicitly limited fixture meaning", + "downstream_tasks": [ + "P02-06", + "P05-01", + "P05-04" + ] + }, + { + "field": "Independent uncertainty and sampling error of the original clean exponential fixture before any numerical-reference use; no new analytic-definition ID is introduced.", + "needed_from": "experiment-dc01ed047a39ee7c / original_clean_exponential_fit_and_zero_perturbation: original bound source/input and independently reviewed ReferenceQualification packet", + "blocked_use": "experiment:perovskite_sim.experiments.tpv.run_tpv: new N acceptance outside the explicitly limited fixture meaning", + "downstream_tasks": [ + "P02-06", + "P05-01", + "P05-04" + ] + }, + { + "field": "Other original driver/fixture branches listed in original_test_or_source_bindings remain outside these exact-case parameter bindings; original rules and positive physical obligations are unchanged.", + "needed_from": "experiment:perovskite_sim.experiments.tpv.run_tpv original branch-specific reference packet and applicable contract", + "blocked_use": "Full-scope activation or extension to an unmatched model/protocol/state/grid/environment" + } + ], + "downstream_tasks": [ + "P02-06", + "P05-01", + "P05-04" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "parameter_bindings": [ + { + "family_rule_id": "transient_packet", + "case_id": "original_clean_exponential_fit_and_zero_perturbation", + "applicability": "Original isolated fitting-function assertions only; no exponential reference is regenerated and no full-device TPV qualification follows.", + "numeric_parameter_status": "specified_for_listed_subgates", + "known_parameters": { + "fit_time_s": { + "start": 0.0, + "end": 5e-05, + "count": 500 + }, + "voltage_baseline_V": 1.0, + "initial_amplitude_V": 0.01, + "lifetime_s": 5e-06, + "source_waveform_formula": "1.0 + 0.01*exp(-t/5e-6)", + "zero_case_samples": 100, + "zero_case_lifetime": null, + "zero_policy": "Unidentifiable lifetime stays None, not zero; biexponential and unobserved long-lifetime inputs remain rejected." + }, + "limits": { + "fit_lifetime_original": { + "unit": "s", + "atol": 0.0, + "rtol": 0.1, + "scale": 5e-06, + "basis": "Original relative lifetime fit assertion on its fixed positive input", + "operator": "lt" + }, + "fit_amplitude_original": { + "unit": "V", + "atol": 0.0, + "rtol": 0.1, + "scale": 0.01, + "basis": "Original amplitude fit assertion", + "operator": "lt" + }, + "zero_fit_amplitude_original": { + "unit": "V", + "atol": 1e-06, + "rtol": 0.0, + "scale": 0.0, + "basis": "Original zero-perturbation test", + "operator": "lt" + } + }, + "citations": [ + { + "source_id": "tpv_test", + "symbol": "test_fit_decay_tau_exponential", + "lines": [ + 126, + 137 + ], + "text_sha256": "f818db3676c13c5f880bbeb753bdb9c699ba2428e2b8bcc0f1d1f20c4054a120" + }, + { + "source_id": "tpv_test", + "symbol": "test_fit_decay_tau_no_perturbation", + "lines": [ + 140, + 147 + ], + "text_sha256": "5f55bc7a9fac1fc470453e9a1e35306bef3336a8dc24dae67ce93f617a4ca6ee" + }, + { + "source_id": "tpv_test", + "symbol": "test_fit_decay_tau_rejects_distinct_fast_and_slow_populations", + "lines": [ + 157, + 161 + ], + "text_sha256": "7f4b1fdfbc25c60ee6ec97a459619353bd93e67e5d64683040cf28fc0922d48a" + }, + { + "source_id": "formal", + "lines": [ + 910, + 931 + ], + "text_sha256": "b72c4040bcf0248f9b08eca8c8ecf561fb82e0f5fa637d76d2551b6dc22f4a60" + } + ], + "remaining_parameters": [ + "For the full TPV case: qualified initial/DC state, pulse rise/fall sides, accepted-time waveform and integrated charge packet with the original waveform/fit/charge limits and independent error; an isolated fit tolerance supplies none of these.", + "Independent uncertainty and sampling error of the original clean exponential fixture before any numerical-reference use; no new analytic-definition ID is introduced." + ], + "reference_eligibility": { + "status": "blocked_pending_independent_reference_and_review", + "reference_error_bound": null, + "default_reference_error_share": "1/3", + "stronger_original_channel_allocations_retained": true, + "unused_error_shares_redistributed": false, + "reference_qualified": false, + "active_comparison": null + } + } + ], + "scale_closures": [ + { + "id": "original_tpv_reference_amplitude_waveform", + "family_rule_id": "transient_packet", + "status": "numeric_definition_complete_for_original_named_target", + "definition": { + "reference_side": "fine argument in original _require_converged_waveform, selected before the candidate comparison", + "amplitude_scale_formula": "A_ref=max(abs(reference.delta_V))", + "scale_depends_on_candidate_output": false, + "original_resolved_signal_condition": "A_ref>1e-5 V; this is the named original fixture condition, not a universal independently certified signal floor", + "waveform": { + "unit": "V", + "operator": "lt", + "norm": "absolute_linf", + "limit_formula": "0.01*A_ref" + }, + "baseline_Voc": { + "unit": "V", + "operator": "lt", + "absolute_limit": 0.001 + }, + "reference_face_current": { + "unit": "A m-2", + "operator": "lt", + "maximum_limit": 0.05 + }, + "reference_interval_current_residual": { + "unit": "A m-2", + "operator": "lt", + "maximum_limit": 0.05 + }, + "reference_terminal_charge_voltage_error": { + "unit": "V", + "operator": "lt", + "limit_formula": "min(1e-6,0.01*A_ref)" + }, + "lifetime": "If both lifetimes exist, abs(candidate.tau/reference.tau-1)<0.01; otherwise original fit.status equality, without substituting zero lifetime.", + "time_support": "Original reference.t, exact array equality; preserve pulse switch and observation end. n_points=120 is a request, not an invented assertion that the returned array has exactly120 values.", + "fixed_source_scales": { + "temperature_K": 300.0, + "thermal_voltage_V": 0.025851999786435535, + "incident_photon_flux_m2_s": 1e+21, + "photon_current_A_m2": 160.2176634 + }, + "frozen_dual_input_inventory": "sum(input.dx_cell * input.P_ion0), separately for the negative population; do not replace this by density*400nm on unmatched interface grids.", + "scope": "Original no-ion / frozen-dual N_grid30 time/tolerance cases and the explicitly44/88/176 spatial test; exact parameter/protocol matching is mandatory, no new N accuracy guarantee." + }, + "remaining_numeric_parameters": [], + "measurement_inputs_pending": [ + "Qualified fine waveform/amplitude and original protocol/fit/status arrays; no unknown numerical coefficient is being replaced by a future result" + ], + "citations": [ + { + "source_id": "original_tpv_refinement", + "symbol": "_require_converged_waveform", + "lines": [ + 46, + 59 + ], + "text_sha256": "6eeedd9391749b42756abe844224dc30073d14ce243246cd56f5ec1b09f188c8" + }, + { + "source_id": "original_tpv_refinement", + "symbol": "refinement", + "lines": [ + 18, + 43 + ], + "text_sha256": "2179d8e6d557aa71921ef4fcd25adacb781449ed9f7857271caf20816eebc6bf" + }, + { + "source_id": "original_tpv_spatial", + "symbol": "test_three_spatial_levels_resolve_the_same_physical_tpv", + "lines": [ + 24, + 94 + ], + "text_sha256": "ec638e892eb4180b2145a250ad37b819fccff8a6e4740877dcf98ba0fae3d05b" + }, + { + "source_id": "foundation_input" + } + ], + "eligibility": { + "reference_error_bound": null, + "reference_qualified": false, + "active_comparison": null, + "default_reference_error_share": "1/3", + "stronger_channel_and_1_12_allocations_retained": true, + "numeric_definition_is_not_reference_eligibility": true + } + } + ], + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-experiment-dc01ed047a39ee7c" + }, + "scope_specific_prior_gaps": [ + { + "field": "For the full TPV case: qualified initial/DC state, pulse rise/fall sides, accepted-time waveform and integrated charge packet with the original waveform/fit/charge limits and independent error; an isolated fit tolerance supplies none of these.", + "needed_from": "experiment-dc01ed047a39ee7c / original_clean_exponential_fit_and_zero_perturbation: original bound source/input and independently reviewed ReferenceQualification packet", + "blocked_use": "experiment:perovskite_sim.experiments.tpv.run_tpv: new N acceptance outside the explicitly limited fixture meaning", + "downstream_tasks": [ + "P02-06", + "P05-01", + "P05-04" + ], + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + }, + { + "field": "Independent uncertainty and sampling error of the original clean exponential fixture before any numerical-reference use; no new analytic-definition ID is introduced.", + "needed_from": "experiment-dc01ed047a39ee7c / original_clean_exponential_fit_and_zero_perturbation: original bound source/input and independently reviewed ReferenceQualification packet", + "blocked_use": "experiment:perovskite_sim.experiments.tpv.run_tpv: new N acceptance outside the explicitly limited fixture meaning", + "downstream_tasks": [ + "P02-06", + "P05-01", + "P05-04" + ], + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + }, + { + "field": "Other original driver/fixture branches listed in original_test_or_source_bindings remain outside these exact-case parameter bindings; original rules and positive physical obligations are unchanged.", + "needed_from": "experiment:perovskite_sim.experiments.tpv.run_tpv original branch-specific reference packet and applicable contract", + "blocked_use": "Full-scope activation or extension to an unmatched model/protocol/state/grid/environment", + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [ + { + "id": "original_tpv_reference_amplitude_waveform", + "status": "numeric_definition_complete_for_original_named_target", + "remaining_numeric_parameters": [], + "measurement_inputs_pending": [ + "Qualified fine waveform/amplitude and original protocol/fit/status arrays; no unknown numerical coefficient is being replaced by a future result" + ] + } + ], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [], + "current_numeric_status": "named_input_or_subgates_resolved" + } + }, + { + "id": "scope-experiment-472f6c8eae927acf", + "capability_id": "experiment-472f6c8eae927acf", + "route_id": "route-a2dac88b7495c3ed", + "origin_key": "experiment:perovskite_sim.experiments.trap_small_signal.run_local_trap_small_signal", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "complex_frequency_response" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/trap_small_signal.py", + "symbol": "run_local_trap_small_signal" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_trap_small_signal.py", + "symbol": "test_incomplete_frequency_window_returns_partial_or_raises_as_requested" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_trap_small_signal.py", + "symbol": "test_local_protocol_certifies_debye_limits_and_frequency_window" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_trap_small_signal.py", + "symbol": "test_nonzero_reservoir_perturbation_with_zero_net_trap_forcing_is_rejected" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_trap_small_signal.py", + "symbol": "test_run_rejects_protocol_identity_changes_before_computation" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_trap_small_signal.py", + "symbol": "test_uncertified_dc_occupancy_cannot_enter_frequency_response" + } + ], + "negative_only_descriptor_rule_ids": [ + "rule-5a34bed6fe664f777eacce24", + "rule-939d7a6c74501d9ea9542b7c", + "rule-33575482b8359f03a171eb4c", + "rule-038e57ec03f6557a648b791c" + ], + "source_quantitative_assertion_ids_for_scope_audit": [ + "rule-60a0c06aab8362cc650a6b8e", + "rule-46ecb8f8835fce2cbaf878b2", + "rule-66f3737da61ce65789e28bd8", + "rule-ccc6f704125e421edb2ee247" + ], + "rule_ids": [ + "M_payload", + "complex_packet" + ], + "citations": [], + "remaining_inputs": [ + { + "field": "fixed numeric reference scales and real/imaginary/complex absolute bounds in S m-2 or ohm m2 as actually emitted", + "needed_from": "experiment-472f6c8eae927acf exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_trap_small_signal.py::test_incomplete_frequency_window_returns_partial_or_raises_as_requested, perovskite-sim/tests/unit/experiments/test_trap_small_signal.py::test_local_protocol_certifies_debye_limits_and_frequency_window, perovskite-sim/tests/unit/experiments/test_trap_small_signal.py::test_nonzero_reservoir_perturbation_with_zero_net_trap_forcing_is_rejected, perovskite-sim/tests/unit/experiments/test_trap_small_signal.py::test_run_rejects_protocol_identity_changes_before_computation, perovskite-sim/tests/unit/experiments/test_trap_small_signal.py::test_uncertified_dc_occupancy_cannot_enter_frequency_response", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.trap_small_signal.run_local_trap_small_signal" + }, + { + "field": "numeric absolute phase limit in radians and per-driver/frequency resolvability floor with independent uncertainty/physical-resolution evidence", + "needed_from": "experiment-472f6c8eae927acf exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_trap_small_signal.py::test_incomplete_frequency_window_returns_partial_or_raises_as_requested, perovskite-sim/tests/unit/experiments/test_trap_small_signal.py::test_local_protocol_certifies_debye_limits_and_frequency_window, perovskite-sim/tests/unit/experiments/test_trap_small_signal.py::test_nonzero_reservoir_perturbation_with_zero_net_trap_forcing_is_rejected, perovskite-sim/tests/unit/experiments/test_trap_small_signal.py::test_run_rejects_protocol_identity_changes_before_computation, perovskite-sim/tests/unit/experiments/test_trap_small_signal.py::test_uncertified_dc_occupancy_cannot_enter_frequency_response", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.trap_small_signal.run_local_trap_small_signal" + }, + { + "field": "explicit exact-zero frequencies, coordinate identity and independent component/phase errors", + "needed_from": "experiment-472f6c8eae927acf exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_trap_small_signal.py::test_incomplete_frequency_window_returns_partial_or_raises_as_requested, perovskite-sim/tests/unit/experiments/test_trap_small_signal.py::test_local_protocol_certifies_debye_limits_and_frequency_window, perovskite-sim/tests/unit/experiments/test_trap_small_signal.py::test_nonzero_reservoir_perturbation_with_zero_net_trap_forcing_is_rejected, perovskite-sim/tests/unit/experiments/test_trap_small_signal.py::test_run_rejects_protocol_identity_changes_before_computation, perovskite-sim/tests/unit/experiments/test_trap_small_signal.py::test_uncertified_dc_occupancy_cannot_enter_frequency_response", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.trap_small_signal.run_local_trap_small_signal" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-472f6c8eae927acf/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + } + ], + "downstream_tasks": [ + "P04-06", + "P04-10", + "P05-01", + "P05-03" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-experiment-472f6c8eae927acf" + }, + "scope_specific_prior_gaps": [ + { + "field": "fixed numeric reference scales and real/imaginary/complex absolute bounds in S m-2 or ohm m2 as actually emitted", + "needed_from": "experiment-472f6c8eae927acf exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_trap_small_signal.py::test_incomplete_frequency_window_returns_partial_or_raises_as_requested, perovskite-sim/tests/unit/experiments/test_trap_small_signal.py::test_local_protocol_certifies_debye_limits_and_frequency_window, perovskite-sim/tests/unit/experiments/test_trap_small_signal.py::test_nonzero_reservoir_perturbation_with_zero_net_trap_forcing_is_rejected, perovskite-sim/tests/unit/experiments/test_trap_small_signal.py::test_run_rejects_protocol_identity_changes_before_computation, perovskite-sim/tests/unit/experiments/test_trap_small_signal.py::test_uncertified_dc_occupancy_cannot_enter_frequency_response", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.trap_small_signal.run_local_trap_small_signal", + "categories": [ + "source_configuration", + "tolerance_decision" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "numeric absolute phase limit in radians and per-driver/frequency resolvability floor with independent uncertainty/physical-resolution evidence", + "needed_from": "experiment-472f6c8eae927acf exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_trap_small_signal.py::test_incomplete_frequency_window_returns_partial_or_raises_as_requested, perovskite-sim/tests/unit/experiments/test_trap_small_signal.py::test_local_protocol_certifies_debye_limits_and_frequency_window, perovskite-sim/tests/unit/experiments/test_trap_small_signal.py::test_nonzero_reservoir_perturbation_with_zero_net_trap_forcing_is_rejected, perovskite-sim/tests/unit/experiments/test_trap_small_signal.py::test_run_rejects_protocol_identity_changes_before_computation, perovskite-sim/tests/unit/experiments/test_trap_small_signal.py::test_uncertified_dc_occupancy_cannot_enter_frequency_response", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.trap_small_signal.run_local_trap_small_signal", + "categories": [ + "tolerance_decision", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "explicit exact-zero frequencies, coordinate identity and independent component/phase errors", + "needed_from": "experiment-472f6c8eae927acf exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_trap_small_signal.py::test_incomplete_frequency_window_returns_partial_or_raises_as_requested, perovskite-sim/tests/unit/experiments/test_trap_small_signal.py::test_local_protocol_certifies_debye_limits_and_frequency_window, perovskite-sim/tests/unit/experiments/test_trap_small_signal.py::test_nonzero_reservoir_perturbation_with_zero_net_trap_forcing_is_rejected, perovskite-sim/tests/unit/experiments/test_trap_small_signal.py::test_run_rejects_protocol_identity_changes_before_computation, perovskite-sim/tests/unit/experiments/test_trap_small_signal.py::test_uncertified_dc_occupancy_cannot_enter_frequency_response", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.trap_small_signal.run_local_trap_small_signal", + "categories": [ + "measurement_data", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-472f6c8eae927acf/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [], + "current_numeric_status": "prior_exact_scope_gaps_retained_and_classified" + } + }, + { + "id": "scope-experiment-9a960d36087c2646", + "capability_id": "experiment-9a960d36087c2646", + "route_id": "route-e0172633acf9b737", + "origin_key": "experiment:perovskite_sim.experiments.voc_t.run_voc_t", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "JV_metrics_and_full_branch", + "current_observation_or_current_input" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/voc_t.py", + "symbol": "run_voc_t" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_voc_t.py", + "symbol": "test_clean_sweep_recovers_the_true_slope" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_voc_t.py", + "symbol": "test_raises_when_fewer_than_two_temperatures_bracket" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_voc_t.py", + "symbol": "test_rejects_T_max_le_T_min" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_voc_t.py", + "symbol": "test_rejects_nonpositive_T_min" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_voc_t.py", + "symbol": "test_rejects_small_N_grid" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_voc_t.py", + "symbol": "test_rejects_small_n_points" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_voc_t.py", + "symbol": "test_unbracketed_point_is_excluded_and_slope_stays_negative" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_voc_t.py", + "symbol": "test_voc_t_activation_energy_below_bandgap" + } + ], + "negative_only_descriptor_rule_ids": [ + "rule-34cc02a7c570802096f7499a", + "rule-c1544fba27ddcd23deb86262", + "rule-6da91f36788d8cdb25789212", + "rule-2640cf2a3df02183113ebcf0", + "rule-d518065bf5d45e350f8e139c" + ], + "source_quantitative_assertion_ids_for_scope_audit": [ + "rule-8eb9d07e09c5bf11c56e6a66", + "rule-a40a6b9de2a04b59daa3c5f8", + "rule-02b9c4dcaba57f6cbe7a1223", + "rule-5b0a77d277fcae36fc31a8ce", + "rule-7c9982d501533d9a7f2e943d" + ], + "rule_ids": [ + "M_payload", + "Voc_absolute", + "JV_metric_packet", + "current_packet" + ], + "citations": [], + "remaining_inputs": [ + { + "field": "fixed numeric Jsc/FF/PCE reference values/scales with the actual output units and conversion identity", + "needed_from": "experiment-9a960d36087c2646 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_voc_t.py::test_clean_sweep_recovers_the_true_slope, perovskite-sim/tests/unit/experiments/test_voc_t.py::test_raises_when_fewer_than_two_temperatures_bracket, perovskite-sim/tests/unit/experiments/test_voc_t.py::test_rejects_T_max_le_T_min, perovskite-sim/tests/unit/experiments/test_voc_t.py::test_rejects_nonpositive_T_min, perovskite-sim/tests/unit/experiments/test_voc_t.py::test_rejects_small_N_grid, perovskite-sim/tests/unit/experiments/test_voc_t.py::test_rejects_small_n_points, perovskite-sim/tests/unit/experiments/test_voc_t.py::test_unbracketed_point_is_excluded_and_slope_stays_negative, perovskite-sim/tests/unit/experiments/test_voc_t.py::te", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.voc_t.run_voc_t" + }, + { + "field": "dimensional dark/weak Jsc and zero-power absolute limits with error evidence", + "needed_from": "experiment-9a960d36087c2646 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_voc_t.py::test_clean_sweep_recovers_the_true_slope, perovskite-sim/tests/unit/experiments/test_voc_t.py::test_raises_when_fewer_than_two_temperatures_bracket, perovskite-sim/tests/unit/experiments/test_voc_t.py::test_rejects_T_max_le_T_min, perovskite-sim/tests/unit/experiments/test_voc_t.py::test_rejects_nonpositive_T_min, perovskite-sim/tests/unit/experiments/test_voc_t.py::test_rejects_small_N_grid, perovskite-sim/tests/unit/experiments/test_voc_t.py::test_rejects_small_n_points, perovskite-sim/tests/unit/experiments/test_voc_t.py::test_unbracketed_point_is_excluded_and_slope_stays_negative, perovskite-sim/tests/unit/experiments/test_voc_t.py::te", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.voc_t.run_voc_t" + }, + { + "field": "Voc bracket, dJ/dV and current-error propagation bound; MPP sampling and full branch coordinates", + "needed_from": "experiment-9a960d36087c2646 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_voc_t.py::test_clean_sweep_recovers_the_true_slope, perovskite-sim/tests/unit/experiments/test_voc_t.py::test_raises_when_fewer_than_two_temperatures_bracket, perovskite-sim/tests/unit/experiments/test_voc_t.py::test_rejects_T_max_le_T_min, perovskite-sim/tests/unit/experiments/test_voc_t.py::test_rejects_nonpositive_T_min, perovskite-sim/tests/unit/experiments/test_voc_t.py::test_rejects_small_N_grid, perovskite-sim/tests/unit/experiments/test_voc_t.py::test_rejects_small_n_points, perovskite-sim/tests/unit/experiments/test_voc_t.py::test_unbracketed_point_is_excluded_and_slope_stays_negative, perovskite-sim/tests/unit/experiments/test_voc_t.py::te", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.voc_t.run_voc_t" + }, + { + "field": "numeric reference current scale and absolute weak/zero current allowance, in the actual A or A m-2 output unit", + "needed_from": "experiment-9a960d36087c2646 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_voc_t.py::test_clean_sweep_recovers_the_true_slope, perovskite-sim/tests/unit/experiments/test_voc_t.py::test_raises_when_fewer_than_two_temperatures_bracket, perovskite-sim/tests/unit/experiments/test_voc_t.py::test_rejects_T_max_le_T_min, perovskite-sim/tests/unit/experiments/test_voc_t.py::test_rejects_nonpositive_T_min, perovskite-sim/tests/unit/experiments/test_voc_t.py::test_rejects_small_N_grid, perovskite-sim/tests/unit/experiments/test_voc_t.py::test_rejects_small_n_points, perovskite-sim/tests/unit/experiments/test_voc_t.py::test_unbracketed_point_is_excluded_and_slope_stays_negative, perovskite-sim/tests/unit/experiments/test_voc_t.py::te", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.voc_t.run_voc_t" + }, + { + "field": "each component/sign/port/support, observation times and both event sides", + "needed_from": "experiment-9a960d36087c2646 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_voc_t.py::test_clean_sweep_recovers_the_true_slope, perovskite-sim/tests/unit/experiments/test_voc_t.py::test_raises_when_fewer_than_two_temperatures_bracket, perovskite-sim/tests/unit/experiments/test_voc_t.py::test_rejects_T_max_le_T_min, perovskite-sim/tests/unit/experiments/test_voc_t.py::test_rejects_nonpositive_T_min, perovskite-sim/tests/unit/experiments/test_voc_t.py::test_rejects_small_N_grid, perovskite-sim/tests/unit/experiments/test_voc_t.py::test_rejects_small_n_points, perovskite-sim/tests/unit/experiments/test_voc_t.py::test_unbracketed_point_is_excluded_and_slope_stays_negative, perovskite-sim/tests/unit/experiments/test_voc_t.py::te", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.voc_t.run_voc_t" + }, + { + "field": "pointwise current uncertainty and a pointwise comparison limit; integrated charge is not a substitute", + "needed_from": "experiment-9a960d36087c2646 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_voc_t.py::test_clean_sweep_recovers_the_true_slope, perovskite-sim/tests/unit/experiments/test_voc_t.py::test_raises_when_fewer_than_two_temperatures_bracket, perovskite-sim/tests/unit/experiments/test_voc_t.py::test_rejects_T_max_le_T_min, perovskite-sim/tests/unit/experiments/test_voc_t.py::test_rejects_nonpositive_T_min, perovskite-sim/tests/unit/experiments/test_voc_t.py::test_rejects_small_N_grid, perovskite-sim/tests/unit/experiments/test_voc_t.py::test_rejects_small_n_points, perovskite-sim/tests/unit/experiments/test_voc_t.py::test_unbracketed_point_is_excluded_and_slope_stays_negative, perovskite-sim/tests/unit/experiments/test_voc_t.py::te", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.voc_t.run_voc_t" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-9a960d36087c2646/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + } + ], + "downstream_tasks": [ + "P04-05", + "P05-01", + "P05-02" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-experiment-9a960d36087c2646" + }, + "scope_specific_prior_gaps": [ + { + "field": "fixed numeric Jsc/FF/PCE reference values/scales with the actual output units and conversion identity", + "needed_from": "experiment-9a960d36087c2646 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_voc_t.py::test_clean_sweep_recovers_the_true_slope, perovskite-sim/tests/unit/experiments/test_voc_t.py::test_raises_when_fewer_than_two_temperatures_bracket, perovskite-sim/tests/unit/experiments/test_voc_t.py::test_rejects_T_max_le_T_min, perovskite-sim/tests/unit/experiments/test_voc_t.py::test_rejects_nonpositive_T_min, perovskite-sim/tests/unit/experiments/test_voc_t.py::test_rejects_small_N_grid, perovskite-sim/tests/unit/experiments/test_voc_t.py::test_rejects_small_n_points, perovskite-sim/tests/unit/experiments/test_voc_t.py::test_unbracketed_point_is_excluded_and_slope_stays_negative, perovskite-sim/tests/unit/experiments/test_voc_t.py::te", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.voc_t.run_voc_t", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "dimensional dark/weak Jsc and zero-power absolute limits with error evidence", + "needed_from": "experiment-9a960d36087c2646 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_voc_t.py::test_clean_sweep_recovers_the_true_slope, perovskite-sim/tests/unit/experiments/test_voc_t.py::test_raises_when_fewer_than_two_temperatures_bracket, perovskite-sim/tests/unit/experiments/test_voc_t.py::test_rejects_T_max_le_T_min, perovskite-sim/tests/unit/experiments/test_voc_t.py::test_rejects_nonpositive_T_min, perovskite-sim/tests/unit/experiments/test_voc_t.py::test_rejects_small_N_grid, perovskite-sim/tests/unit/experiments/test_voc_t.py::test_rejects_small_n_points, perovskite-sim/tests/unit/experiments/test_voc_t.py::test_unbracketed_point_is_excluded_and_slope_stays_negative, perovskite-sim/tests/unit/experiments/test_voc_t.py::te", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.voc_t.run_voc_t", + "categories": [ + "tolerance_decision", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "Voc bracket, dJ/dV and current-error propagation bound; MPP sampling and full branch coordinates", + "needed_from": "experiment-9a960d36087c2646 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_voc_t.py::test_clean_sweep_recovers_the_true_slope, perovskite-sim/tests/unit/experiments/test_voc_t.py::test_raises_when_fewer_than_two_temperatures_bracket, perovskite-sim/tests/unit/experiments/test_voc_t.py::test_rejects_T_max_le_T_min, perovskite-sim/tests/unit/experiments/test_voc_t.py::test_rejects_nonpositive_T_min, perovskite-sim/tests/unit/experiments/test_voc_t.py::test_rejects_small_N_grid, perovskite-sim/tests/unit/experiments/test_voc_t.py::test_rejects_small_n_points, perovskite-sim/tests/unit/experiments/test_voc_t.py::test_unbracketed_point_is_excluded_and_slope_stays_negative, perovskite-sim/tests/unit/experiments/test_voc_t.py::te", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.voc_t.run_voc_t", + "categories": [ + "measurement_data", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "numeric reference current scale and absolute weak/zero current allowance, in the actual A or A m-2 output unit", + "needed_from": "experiment-9a960d36087c2646 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_voc_t.py::test_clean_sweep_recovers_the_true_slope, perovskite-sim/tests/unit/experiments/test_voc_t.py::test_raises_when_fewer_than_two_temperatures_bracket, perovskite-sim/tests/unit/experiments/test_voc_t.py::test_rejects_T_max_le_T_min, perovskite-sim/tests/unit/experiments/test_voc_t.py::test_rejects_nonpositive_T_min, perovskite-sim/tests/unit/experiments/test_voc_t.py::test_rejects_small_N_grid, perovskite-sim/tests/unit/experiments/test_voc_t.py::test_rejects_small_n_points, perovskite-sim/tests/unit/experiments/test_voc_t.py::test_unbracketed_point_is_excluded_and_slope_stays_negative, perovskite-sim/tests/unit/experiments/test_voc_t.py::te", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.voc_t.run_voc_t", + "categories": [ + "source_configuration", + "tolerance_decision" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "each component/sign/port/support, observation times and both event sides", + "needed_from": "experiment-9a960d36087c2646 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_voc_t.py::test_clean_sweep_recovers_the_true_slope, perovskite-sim/tests/unit/experiments/test_voc_t.py::test_raises_when_fewer_than_two_temperatures_bracket, perovskite-sim/tests/unit/experiments/test_voc_t.py::test_rejects_T_max_le_T_min, perovskite-sim/tests/unit/experiments/test_voc_t.py::test_rejects_nonpositive_T_min, perovskite-sim/tests/unit/experiments/test_voc_t.py::test_rejects_small_N_grid, perovskite-sim/tests/unit/experiments/test_voc_t.py::test_rejects_small_n_points, perovskite-sim/tests/unit/experiments/test_voc_t.py::test_unbracketed_point_is_excluded_and_slope_stays_negative, perovskite-sim/tests/unit/experiments/test_voc_t.py::te", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.voc_t.run_voc_t", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "pointwise current uncertainty and a pointwise comparison limit; integrated charge is not a substitute", + "needed_from": "experiment-9a960d36087c2646 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_voc_t.py::test_clean_sweep_recovers_the_true_slope, perovskite-sim/tests/unit/experiments/test_voc_t.py::test_raises_when_fewer_than_two_temperatures_bracket, perovskite-sim/tests/unit/experiments/test_voc_t.py::test_rejects_T_max_le_T_min, perovskite-sim/tests/unit/experiments/test_voc_t.py::test_rejects_nonpositive_T_min, perovskite-sim/tests/unit/experiments/test_voc_t.py::test_rejects_small_N_grid, perovskite-sim/tests/unit/experiments/test_voc_t.py::test_rejects_small_n_points, perovskite-sim/tests/unit/experiments/test_voc_t.py::test_unbracketed_point_is_excluded_and_slope_stays_negative, perovskite-sim/tests/unit/experiments/test_voc_t.py::te", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.voc_t.run_voc_t", + "categories": [ + "tolerance_decision", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-9a960d36087c2646/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [], + "current_numeric_status": "prior_exact_scope_gaps_retained_and_classified" + } + }, + { + "id": "scope-experiment-eb6d533237d11167", + "capability_id": "experiment-eb6d533237d11167", + "route_id": "route-00e5ec97ad8c8b8a", + "origin_key": "experiment:perovskite_sim.experiments.waveform_jv.run_waveform_jv", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "physical_profiles_or_stored_state_history", + "JV_metrics_and_full_branch", + "current_observation_or_current_input", + "waveform_integral_history" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/experiments/waveform_jv.py", + "symbol": "run_waveform_jv" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_waveform_jacobian.py", + "symbol": "test_dual_ion_waveform_preserves_physics_and_reports_finite_difference" + }, + { + "source_id": "repository:perovskite-sim/tests/unit/experiments/test_waveform_jv.py", + "symbol": "test_driver_keeps_declared_state_chain_and_physical_parameters" + } + ], + "negative_only_descriptor_rule_ids": [], + "source_quantitative_assertion_ids_for_scope_audit": [], + "rule_ids": [ + "M_payload", + "potential_packet", + "positive_density_log", + "density_inventory_packet", + "Voc_absolute", + "JV_metric_packet", + "current_packet", + "transient_packet" + ], + "citations": [], + "remaining_inputs": [ + { + "field": "numeric fixed thermal/physical voltage scale in V from the exact reference temperature or declared boundary parameters", + "needed_from": "experiment-eb6d533237d11167 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_waveform_jacobian.py::test_dual_ion_waveform_preserves_physics_and_reports_finite_difference, perovskite-sim/tests/unit/experiments/test_waveform_jv.py::test_driver_keeps_declared_state_chain_and_physical_parameters", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.waveform_jv.run_waveform_jv" + }, + { + "field": "actual reference CV weights/support and physical gauge/contact values; allowed mask", + "needed_from": "experiment-eb6d533237d11167 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_waveform_jacobian.py::test_dual_ion_waveform_preserves_physics_and_reports_finite_difference, perovskite-sim/tests/unit/experiments/test_waveform_jv.py::test_driver_keeps_declared_state_chain_and_physical_parameters", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.waveform_jv.run_waveform_jv" + }, + { + "field": "independent source/grid/time/mapping error in V and its qualified reference identity", + "needed_from": "experiment-eb6d533237d11167 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_waveform_jacobian.py::test_dual_ion_waveform_preserves_physics_and_reports_finite_difference, perovskite-sim/tests/unit/experiments/test_waveform_jv.py::test_driver_keeps_declared_state_chain_and_physical_parameters", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.waveform_jv.run_waveform_jv" + }, + { + "field": "per-species/per-connected-domain positive reference inventory numeric scale and unit (1 or m-2, according to actual CV measure)", + "needed_from": "experiment-eb6d533237d11167 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_waveform_jacobian.py::test_dual_ion_waveform_preserves_physics_and_reports_finite_difference, perovskite-sim/tests/unit/experiments/test_waveform_jv.py::test_driver_keeps_declared_state_chain_and_physical_parameters", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.waveform_jv.run_waveform_jv" + }, + { + "field": "zero-species/zero-cell identity and numeric dimensional absolute gate from model absence or reference error evidence", + "needed_from": "experiment-eb6d533237d11167 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_waveform_jacobian.py::test_dual_ion_waveform_preserves_physics_and_reports_finite_difference, perovskite-sim/tests/unit/experiments/test_waveform_jv.py::test_driver_keeps_declared_state_chain_and_physical_parameters", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.waveform_jv.run_waveform_jv" + }, + { + "field": "actual volumes, component labels and independent log/inventory uncertainty", + "needed_from": "experiment-eb6d533237d11167 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_waveform_jacobian.py::test_dual_ion_waveform_preserves_physics_and_reports_finite_difference, perovskite-sim/tests/unit/experiments/test_waveform_jv.py::test_driver_keeps_declared_state_chain_and_physical_parameters", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.waveform_jv.run_waveform_jv" + }, + { + "field": "fixed numeric Jsc/FF/PCE reference values/scales with the actual output units and conversion identity", + "needed_from": "experiment-eb6d533237d11167 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_waveform_jacobian.py::test_dual_ion_waveform_preserves_physics_and_reports_finite_difference, perovskite-sim/tests/unit/experiments/test_waveform_jv.py::test_driver_keeps_declared_state_chain_and_physical_parameters", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.waveform_jv.run_waveform_jv" + }, + { + "field": "dimensional dark/weak Jsc and zero-power absolute limits with error evidence", + "needed_from": "experiment-eb6d533237d11167 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_waveform_jacobian.py::test_dual_ion_waveform_preserves_physics_and_reports_finite_difference, perovskite-sim/tests/unit/experiments/test_waveform_jv.py::test_driver_keeps_declared_state_chain_and_physical_parameters", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.waveform_jv.run_waveform_jv" + }, + { + "field": "Voc bracket, dJ/dV and current-error propagation bound; MPP sampling and full branch coordinates", + "needed_from": "experiment-eb6d533237d11167 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_waveform_jacobian.py::test_dual_ion_waveform_preserves_physics_and_reports_finite_difference, perovskite-sim/tests/unit/experiments/test_waveform_jv.py::test_driver_keeps_declared_state_chain_and_physical_parameters", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.waveform_jv.run_waveform_jv" + }, + { + "field": "numeric reference current scale and absolute weak/zero current allowance, in the actual A or A m-2 output unit", + "needed_from": "experiment-eb6d533237d11167 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_waveform_jacobian.py::test_dual_ion_waveform_preserves_physics_and_reports_finite_difference, perovskite-sim/tests/unit/experiments/test_waveform_jv.py::test_driver_keeps_declared_state_chain_and_physical_parameters", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.waveform_jv.run_waveform_jv" + }, + { + "field": "each component/sign/port/support, observation times and both event sides", + "needed_from": "experiment-eb6d533237d11167 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_waveform_jacobian.py::test_dual_ion_waveform_preserves_physics_and_reports_finite_difference, perovskite-sim/tests/unit/experiments/test_waveform_jv.py::test_driver_keeps_declared_state_chain_and_physical_parameters", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.waveform_jv.run_waveform_jv" + }, + { + "field": "pointwise current uncertainty and a pointwise comparison limit; integrated charge is not a substitute", + "needed_from": "experiment-eb6d533237d11167 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_waveform_jacobian.py::test_dual_ion_waveform_preserves_physics_and_reports_finite_difference, perovskite-sim/tests/unit/experiments/test_waveform_jv.py::test_driver_keeps_declared_state_chain_and_physical_parameters", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.waveform_jv.run_waveform_jv" + }, + { + "field": "actual complete state history, time coordinates, event sides and original integral/fit-window identity", + "needed_from": "experiment-eb6d533237d11167 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_waveform_jacobian.py::test_dual_ion_waveform_preserves_physics_and_reports_finite_difference, perovskite-sim/tests/unit/experiments/test_waveform_jv.py::test_driver_keeps_declared_state_chain_and_physical_parameters", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.waveform_jv.run_waveform_jv" + }, + { + "field": "numeric separate waveform, integrated-charge and fit residual/derived-parameter scales/limits from the original channel", + "needed_from": "experiment-eb6d533237d11167 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_waveform_jacobian.py::test_dual_ion_waveform_preserves_physics_and_reports_finite_difference, perovskite-sim/tests/unit/experiments/test_waveform_jv.py::test_driver_keeps_declared_state_chain_and_physical_parameters", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.waveform_jv.run_waveform_jv" + }, + { + "field": "nonresetting interval/prefix uncertainty and accepted-history reference errors", + "needed_from": "experiment-eb6d533237d11167 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_waveform_jacobian.py::test_dual_ion_waveform_preserves_physics_and_reports_finite_difference, perovskite-sim/tests/unit/experiments/test_waveform_jv.py::test_driver_keeps_declared_state_chain_and_physical_parameters", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.waveform_jv.run_waveform_jv" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-eb6d533237d11167/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + } + ], + "downstream_tasks": [ + "P04-05", + "P05-01", + "P05-02" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-experiment-eb6d533237d11167" + }, + "scope_specific_prior_gaps": [ + { + "field": "numeric fixed thermal/physical voltage scale in V from the exact reference temperature or declared boundary parameters", + "needed_from": "experiment-eb6d533237d11167 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_waveform_jacobian.py::test_dual_ion_waveform_preserves_physics_and_reports_finite_difference, perovskite-sim/tests/unit/experiments/test_waveform_jv.py::test_driver_keeps_declared_state_chain_and_physical_parameters", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.waveform_jv.run_waveform_jv", + "categories": [ + "source_configuration" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual reference CV weights/support and physical gauge/contact values; allowed mask", + "needed_from": "experiment-eb6d533237d11167 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_waveform_jacobian.py::test_dual_ion_waveform_preserves_physics_and_reports_finite_difference, perovskite-sim/tests/unit/experiments/test_waveform_jv.py::test_driver_keeps_declared_state_chain_and_physical_parameters", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.waveform_jv.run_waveform_jv", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "independent source/grid/time/mapping error in V and its qualified reference identity", + "needed_from": "experiment-eb6d533237d11167 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_waveform_jacobian.py::test_dual_ion_waveform_preserves_physics_and_reports_finite_difference, perovskite-sim/tests/unit/experiments/test_waveform_jv.py::test_driver_keeps_declared_state_chain_and_physical_parameters", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.waveform_jv.run_waveform_jv", + "categories": [ + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "per-species/per-connected-domain positive reference inventory numeric scale and unit (1 or m-2, according to actual CV measure)", + "needed_from": "experiment-eb6d533237d11167 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_waveform_jacobian.py::test_dual_ion_waveform_preserves_physics_and_reports_finite_difference, perovskite-sim/tests/unit/experiments/test_waveform_jv.py::test_driver_keeps_declared_state_chain_and_physical_parameters", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.waveform_jv.run_waveform_jv", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "zero-species/zero-cell identity and numeric dimensional absolute gate from model absence or reference error evidence", + "needed_from": "experiment-eb6d533237d11167 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_waveform_jacobian.py::test_dual_ion_waveform_preserves_physics_and_reports_finite_difference, perovskite-sim/tests/unit/experiments/test_waveform_jv.py::test_driver_keeps_declared_state_chain_and_physical_parameters", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.waveform_jv.run_waveform_jv", + "categories": [ + "source_configuration", + "tolerance_decision" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual volumes, component labels and independent log/inventory uncertainty", + "needed_from": "experiment-eb6d533237d11167 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_waveform_jacobian.py::test_dual_ion_waveform_preserves_physics_and_reports_finite_difference, perovskite-sim/tests/unit/experiments/test_waveform_jv.py::test_driver_keeps_declared_state_chain_and_physical_parameters", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.waveform_jv.run_waveform_jv", + "categories": [ + "measurement_data", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "fixed numeric Jsc/FF/PCE reference values/scales with the actual output units and conversion identity", + "needed_from": "experiment-eb6d533237d11167 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_waveform_jacobian.py::test_dual_ion_waveform_preserves_physics_and_reports_finite_difference, perovskite-sim/tests/unit/experiments/test_waveform_jv.py::test_driver_keeps_declared_state_chain_and_physical_parameters", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.waveform_jv.run_waveform_jv", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "dimensional dark/weak Jsc and zero-power absolute limits with error evidence", + "needed_from": "experiment-eb6d533237d11167 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_waveform_jacobian.py::test_dual_ion_waveform_preserves_physics_and_reports_finite_difference, perovskite-sim/tests/unit/experiments/test_waveform_jv.py::test_driver_keeps_declared_state_chain_and_physical_parameters", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.waveform_jv.run_waveform_jv", + "categories": [ + "tolerance_decision", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "Voc bracket, dJ/dV and current-error propagation bound; MPP sampling and full branch coordinates", + "needed_from": "experiment-eb6d533237d11167 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_waveform_jacobian.py::test_dual_ion_waveform_preserves_physics_and_reports_finite_difference, perovskite-sim/tests/unit/experiments/test_waveform_jv.py::test_driver_keeps_declared_state_chain_and_physical_parameters", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.waveform_jv.run_waveform_jv", + "categories": [ + "measurement_data", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "numeric reference current scale and absolute weak/zero current allowance, in the actual A or A m-2 output unit", + "needed_from": "experiment-eb6d533237d11167 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_waveform_jacobian.py::test_dual_ion_waveform_preserves_physics_and_reports_finite_difference, perovskite-sim/tests/unit/experiments/test_waveform_jv.py::test_driver_keeps_declared_state_chain_and_physical_parameters", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.waveform_jv.run_waveform_jv", + "categories": [ + "source_configuration", + "tolerance_decision" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "each component/sign/port/support, observation times and both event sides", + "needed_from": "experiment-eb6d533237d11167 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_waveform_jacobian.py::test_dual_ion_waveform_preserves_physics_and_reports_finite_difference, perovskite-sim/tests/unit/experiments/test_waveform_jv.py::test_driver_keeps_declared_state_chain_and_physical_parameters", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.waveform_jv.run_waveform_jv", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "pointwise current uncertainty and a pointwise comparison limit; integrated charge is not a substitute", + "needed_from": "experiment-eb6d533237d11167 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_waveform_jacobian.py::test_dual_ion_waveform_preserves_physics_and_reports_finite_difference, perovskite-sim/tests/unit/experiments/test_waveform_jv.py::test_driver_keeps_declared_state_chain_and_physical_parameters", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.waveform_jv.run_waveform_jv", + "categories": [ + "tolerance_decision", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual complete state history, time coordinates, event sides and original integral/fit-window identity", + "needed_from": "experiment-eb6d533237d11167 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_waveform_jacobian.py::test_dual_ion_waveform_preserves_physics_and_reports_finite_difference, perovskite-sim/tests/unit/experiments/test_waveform_jv.py::test_driver_keeps_declared_state_chain_and_physical_parameters", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.waveform_jv.run_waveform_jv", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "numeric separate waveform, integrated-charge and fit residual/derived-parameter scales/limits from the original channel", + "needed_from": "experiment-eb6d533237d11167 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_waveform_jacobian.py::test_dual_ion_waveform_preserves_physics_and_reports_finite_difference, perovskite-sim/tests/unit/experiments/test_waveform_jv.py::test_driver_keeps_declared_state_chain_and_physical_parameters", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.waveform_jv.run_waveform_jv", + "categories": [ + "tolerance_decision" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "nonresetting interval/prefix uncertainty and accepted-history reference errors", + "needed_from": "experiment-eb6d533237d11167 exact original driver/reference observation packet; perovskite-sim/tests/unit/experiments/test_waveform_jacobian.py::test_dual_ion_waveform_preserves_physics_and_reports_finite_difference, perovskite-sim/tests/unit/experiments/test_waveform_jv.py::test_driver_keeps_declared_state_chain_and_physical_parameters", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.experiments.waveform_jv.run_waveform_jv", + "categories": [ + "measurement_data", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-eb6d533237d11167/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [], + "current_numeric_status": "prior_exact_scope_gaps_retained_and_classified" + } + }, + { + "id": "scope-experiment-25b0a1305c41dcb4", + "capability_id": "experiment-25b0a1305c41dcb4", + "route_id": "route-3b814b18cfea71be", + "origin_key": "experiment:perovskite_sim.twod.experiments.jv_sweep_2d.run_jv_sweep_2d", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "JV_metrics_and_full_branch", + "current_observation_or_current_input", + "CV_geometry_and_interface_sides" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/twod/experiments/jv_sweep_2d.py", + "symbol": "run_jv_sweep_2d" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/backend/test_numerical_job_lifecycle.py", + "symbol": "test_real_numerical_jobs_finish_and_match_direct_execution" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_twod_mobile_ion_jv.py", + "symbol": "test_real_combined_gb_interface_mobile_jv_returns_each_evidence_axis" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/test_twod_mobile_ion_jv.py", + "symbol": "test_real_strict_mobile_ion_jv_returns_complete_point_evidence" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/twod/test_jv_sweep_2d_microstructure.py", + "symbol": "test_jv_sweep_2d_singleGB_runs_to_completion" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/twod/test_jv_sweep_2d_uniform.py", + "symbol": "test_jv_sweep_2d_has_nontrivial_photocurrent" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/twod/test_jv_sweep_2d_uniform.py", + "symbol": "test_jv_sweep_2d_returns_finite_result" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_twod_microstructure.py", + "symbol": "test_twod_singleGB_lowers_voc" + }, + { + "source_id": "repository:perovskite-sim/tests/regression/test_twod_validation.py", + "symbol": "test_twod_field_mobility_bounded_shift" + } + ], + "negative_only_descriptor_rule_ids": [], + "source_quantitative_assertion_ids_for_scope_audit": [ + "rule-a2eb25be7adb178e385dce54", + "rule-3e9d4a4432666fa4788411d2", + "rule-68ac66c1304711e59b8378dc", + "rule-ca4defaa603d0c765d38cb3a", + "rule-f132ad8d4982215e8c025349", + "rule-02681efe2b124de9d4ad016f", + "rule-be24015e0b77410009fc0805", + "rule-e30feb0cbc54d28146f47d64", + "rule-2aac60a36933dfb1d4859b9d", + "rule-6d8ad18cf3eb18ac169341f5", + "rule-7c43da406bf7a5ecbb17b65f", + "rule-4a5412d26652f4b99c542915", + "rule-db454c4246c80ac747ceb19f", + "rule-5225dcd52df180b37157e8a0", + "rule-1025f63a6fbc253041b67d05" + ], + "rule_ids": [ + "M_payload", + "Voc_absolute", + "JV_metric_packet", + "current_packet", + "projection_packet" + ], + "citations": [], + "remaining_inputs": [ + { + "field": "fixed numeric Jsc/FF/PCE reference values/scales with the actual output units and conversion identity", + "needed_from": "experiment-25b0a1305c41dcb4 exact original driver/reference observation packet; perovskite-sim/tests/integration/backend/test_numerical_job_lifecycle.py::test_real_numerical_jobs_finish_and_match_direct_execution, perovskite-sim/tests/integration/test_twod_mobile_ion_jv.py::test_real_combined_gb_interface_mobile_jv_returns_each_evidence_axis, perovskite-sim/tests/integration/test_twod_mobile_ion_jv.py::test_real_strict_mobile_ion_jv_returns_complete_point_evidence, perovskite-sim/tests/integration/twod/test_jv_sweep_2d_microstructure.py::test_jv_sweep_2d_singleGB_runs_to_completion, perovskite-sim/tests/integration/twod/test_jv_sweep_2d_uniform.py::test_jv_sweep_2d_has_nontrivial_photocurrent, perovskite-sim/tests/integration/twod/test_jv_sweep_2d_uniform.py::test_jv_sw", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.twod.experiments.jv_sweep_2d.run_jv_sweep_2d" + }, + { + "field": "dimensional dark/weak Jsc and zero-power absolute limits with error evidence", + "needed_from": "experiment-25b0a1305c41dcb4 exact original driver/reference observation packet; perovskite-sim/tests/integration/backend/test_numerical_job_lifecycle.py::test_real_numerical_jobs_finish_and_match_direct_execution, perovskite-sim/tests/integration/test_twod_mobile_ion_jv.py::test_real_combined_gb_interface_mobile_jv_returns_each_evidence_axis, perovskite-sim/tests/integration/test_twod_mobile_ion_jv.py::test_real_strict_mobile_ion_jv_returns_complete_point_evidence, perovskite-sim/tests/integration/twod/test_jv_sweep_2d_microstructure.py::test_jv_sweep_2d_singleGB_runs_to_completion, perovskite-sim/tests/integration/twod/test_jv_sweep_2d_uniform.py::test_jv_sweep_2d_has_nontrivial_photocurrent, perovskite-sim/tests/integration/twod/test_jv_sweep_2d_uniform.py::test_jv_sw", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.twod.experiments.jv_sweep_2d.run_jv_sweep_2d" + }, + { + "field": "Voc bracket, dJ/dV and current-error propagation bound; MPP sampling and full branch coordinates", + "needed_from": "experiment-25b0a1305c41dcb4 exact original driver/reference observation packet; perovskite-sim/tests/integration/backend/test_numerical_job_lifecycle.py::test_real_numerical_jobs_finish_and_match_direct_execution, perovskite-sim/tests/integration/test_twod_mobile_ion_jv.py::test_real_combined_gb_interface_mobile_jv_returns_each_evidence_axis, perovskite-sim/tests/integration/test_twod_mobile_ion_jv.py::test_real_strict_mobile_ion_jv_returns_complete_point_evidence, perovskite-sim/tests/integration/twod/test_jv_sweep_2d_microstructure.py::test_jv_sweep_2d_singleGB_runs_to_completion, perovskite-sim/tests/integration/twod/test_jv_sweep_2d_uniform.py::test_jv_sweep_2d_has_nontrivial_photocurrent, perovskite-sim/tests/integration/twod/test_jv_sweep_2d_uniform.py::test_jv_sw", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.twod.experiments.jv_sweep_2d.run_jv_sweep_2d" + }, + { + "field": "numeric reference current scale and absolute weak/zero current allowance, in the actual A or A m-2 output unit", + "needed_from": "experiment-25b0a1305c41dcb4 exact original driver/reference observation packet; perovskite-sim/tests/integration/backend/test_numerical_job_lifecycle.py::test_real_numerical_jobs_finish_and_match_direct_execution, perovskite-sim/tests/integration/test_twod_mobile_ion_jv.py::test_real_combined_gb_interface_mobile_jv_returns_each_evidence_axis, perovskite-sim/tests/integration/test_twod_mobile_ion_jv.py::test_real_strict_mobile_ion_jv_returns_complete_point_evidence, perovskite-sim/tests/integration/twod/test_jv_sweep_2d_microstructure.py::test_jv_sweep_2d_singleGB_runs_to_completion, perovskite-sim/tests/integration/twod/test_jv_sweep_2d_uniform.py::test_jv_sweep_2d_has_nontrivial_photocurrent, perovskite-sim/tests/integration/twod/test_jv_sweep_2d_uniform.py::test_jv_sw", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.twod.experiments.jv_sweep_2d.run_jv_sweep_2d" + }, + { + "field": "each component/sign/port/support, observation times and both event sides", + "needed_from": "experiment-25b0a1305c41dcb4 exact original driver/reference observation packet; perovskite-sim/tests/integration/backend/test_numerical_job_lifecycle.py::test_real_numerical_jobs_finish_and_match_direct_execution, perovskite-sim/tests/integration/test_twod_mobile_ion_jv.py::test_real_combined_gb_interface_mobile_jv_returns_each_evidence_axis, perovskite-sim/tests/integration/test_twod_mobile_ion_jv.py::test_real_strict_mobile_ion_jv_returns_complete_point_evidence, perovskite-sim/tests/integration/twod/test_jv_sweep_2d_microstructure.py::test_jv_sweep_2d_singleGB_runs_to_completion, perovskite-sim/tests/integration/twod/test_jv_sweep_2d_uniform.py::test_jv_sweep_2d_has_nontrivial_photocurrent, perovskite-sim/tests/integration/twod/test_jv_sweep_2d_uniform.py::test_jv_sw", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.twod.experiments.jv_sweep_2d.run_jv_sweep_2d" + }, + { + "field": "pointwise current uncertainty and a pointwise comparison limit; integrated charge is not a substitute", + "needed_from": "experiment-25b0a1305c41dcb4 exact original driver/reference observation packet; perovskite-sim/tests/integration/backend/test_numerical_job_lifecycle.py::test_real_numerical_jobs_finish_and_match_direct_execution, perovskite-sim/tests/integration/test_twod_mobile_ion_jv.py::test_real_combined_gb_interface_mobile_jv_returns_each_evidence_axis, perovskite-sim/tests/integration/test_twod_mobile_ion_jv.py::test_real_strict_mobile_ion_jv_returns_complete_point_evidence, perovskite-sim/tests/integration/twod/test_jv_sweep_2d_microstructure.py::test_jv_sweep_2d_singleGB_runs_to_completion, perovskite-sim/tests/integration/twod/test_jv_sweep_2d_uniform.py::test_jv_sweep_2d_has_nontrivial_photocurrent, perovskite-sim/tests/integration/twod/test_jv_sweep_2d_uniform.py::test_jv_sw", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.twod.experiments.jv_sweep_2d.run_jv_sweep_2d" + }, + { + "field": "source/target geometry and a verified conservative CV intersection/projection artifact or explicit1D cell averages", + "needed_from": "experiment-25b0a1305c41dcb4 exact original driver/reference observation packet; perovskite-sim/tests/integration/backend/test_numerical_job_lifecycle.py::test_real_numerical_jobs_finish_and_match_direct_execution, perovskite-sim/tests/integration/test_twod_mobile_ion_jv.py::test_real_combined_gb_interface_mobile_jv_returns_each_evidence_axis, perovskite-sim/tests/integration/test_twod_mobile_ion_jv.py::test_real_strict_mobile_ion_jv_returns_complete_point_evidence, perovskite-sim/tests/integration/twod/test_jv_sweep_2d_microstructure.py::test_jv_sweep_2d_singleGB_runs_to_completion, perovskite-sim/tests/integration/twod/test_jv_sweep_2d_uniform.py::test_jv_sweep_2d_has_nontrivial_photocurrent, perovskite-sim/tests/integration/twod/test_jv_sweep_2d_uniform.py::test_jv_sw", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.twod.experiments.jv_sweep_2d.run_jv_sweep_2d" + }, + { + "field": "fixed numeric integral/inventory/left-trace/right-trace scales and limits in their physical units", + "needed_from": "experiment-25b0a1305c41dcb4 exact original driver/reference observation packet; perovskite-sim/tests/integration/backend/test_numerical_job_lifecycle.py::test_real_numerical_jobs_finish_and_match_direct_execution, perovskite-sim/tests/integration/test_twod_mobile_ion_jv.py::test_real_combined_gb_interface_mobile_jv_returns_each_evidence_axis, perovskite-sim/tests/integration/test_twod_mobile_ion_jv.py::test_real_strict_mobile_ion_jv_returns_complete_point_evidence, perovskite-sim/tests/integration/twod/test_jv_sweep_2d_microstructure.py::test_jv_sweep_2d_singleGB_runs_to_completion, perovskite-sim/tests/integration/twod/test_jv_sweep_2d_uniform.py::test_jv_sweep_2d_has_nontrivial_photocurrent, perovskite-sim/tests/integration/twod/test_jv_sweep_2d_uniform.py::test_jv_sw", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.twod.experiments.jv_sweep_2d.run_jv_sweep_2d" + }, + { + "field": "projection error, component topology and every interface-side identity", + "needed_from": "experiment-25b0a1305c41dcb4 exact original driver/reference observation packet; perovskite-sim/tests/integration/backend/test_numerical_job_lifecycle.py::test_real_numerical_jobs_finish_and_match_direct_execution, perovskite-sim/tests/integration/test_twod_mobile_ion_jv.py::test_real_combined_gb_interface_mobile_jv_returns_each_evidence_axis, perovskite-sim/tests/integration/test_twod_mobile_ion_jv.py::test_real_strict_mobile_ion_jv_returns_complete_point_evidence, perovskite-sim/tests/integration/twod/test_jv_sweep_2d_microstructure.py::test_jv_sweep_2d_singleGB_runs_to_completion, perovskite-sim/tests/integration/twod/test_jv_sweep_2d_uniform.py::test_jv_sweep_2d_has_nontrivial_photocurrent, perovskite-sim/tests/integration/twod/test_jv_sweep_2d_uniform.py::test_jv_sw", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.twod.experiments.jv_sweep_2d.run_jv_sweep_2d" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-25b0a1305c41dcb4/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + } + ], + "downstream_tasks": [ + "P06-01", + "P06-02", + "P06-03" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-experiment-25b0a1305c41dcb4" + }, + "scope_specific_prior_gaps": [ + { + "field": "fixed numeric Jsc/FF/PCE reference values/scales with the actual output units and conversion identity", + "needed_from": "experiment-25b0a1305c41dcb4 exact original driver/reference observation packet; perovskite-sim/tests/integration/backend/test_numerical_job_lifecycle.py::test_real_numerical_jobs_finish_and_match_direct_execution, perovskite-sim/tests/integration/test_twod_mobile_ion_jv.py::test_real_combined_gb_interface_mobile_jv_returns_each_evidence_axis, perovskite-sim/tests/integration/test_twod_mobile_ion_jv.py::test_real_strict_mobile_ion_jv_returns_complete_point_evidence, perovskite-sim/tests/integration/twod/test_jv_sweep_2d_microstructure.py::test_jv_sweep_2d_singleGB_runs_to_completion, perovskite-sim/tests/integration/twod/test_jv_sweep_2d_uniform.py::test_jv_sweep_2d_has_nontrivial_photocurrent, perovskite-sim/tests/integration/twod/test_jv_sweep_2d_uniform.py::test_jv_sw", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.twod.experiments.jv_sweep_2d.run_jv_sweep_2d", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "dimensional dark/weak Jsc and zero-power absolute limits with error evidence", + "needed_from": "experiment-25b0a1305c41dcb4 exact original driver/reference observation packet; perovskite-sim/tests/integration/backend/test_numerical_job_lifecycle.py::test_real_numerical_jobs_finish_and_match_direct_execution, perovskite-sim/tests/integration/test_twod_mobile_ion_jv.py::test_real_combined_gb_interface_mobile_jv_returns_each_evidence_axis, perovskite-sim/tests/integration/test_twod_mobile_ion_jv.py::test_real_strict_mobile_ion_jv_returns_complete_point_evidence, perovskite-sim/tests/integration/twod/test_jv_sweep_2d_microstructure.py::test_jv_sweep_2d_singleGB_runs_to_completion, perovskite-sim/tests/integration/twod/test_jv_sweep_2d_uniform.py::test_jv_sweep_2d_has_nontrivial_photocurrent, perovskite-sim/tests/integration/twod/test_jv_sweep_2d_uniform.py::test_jv_sw", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.twod.experiments.jv_sweep_2d.run_jv_sweep_2d", + "categories": [ + "tolerance_decision", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "Voc bracket, dJ/dV and current-error propagation bound; MPP sampling and full branch coordinates", + "needed_from": "experiment-25b0a1305c41dcb4 exact original driver/reference observation packet; perovskite-sim/tests/integration/backend/test_numerical_job_lifecycle.py::test_real_numerical_jobs_finish_and_match_direct_execution, perovskite-sim/tests/integration/test_twod_mobile_ion_jv.py::test_real_combined_gb_interface_mobile_jv_returns_each_evidence_axis, perovskite-sim/tests/integration/test_twod_mobile_ion_jv.py::test_real_strict_mobile_ion_jv_returns_complete_point_evidence, perovskite-sim/tests/integration/twod/test_jv_sweep_2d_microstructure.py::test_jv_sweep_2d_singleGB_runs_to_completion, perovskite-sim/tests/integration/twod/test_jv_sweep_2d_uniform.py::test_jv_sweep_2d_has_nontrivial_photocurrent, perovskite-sim/tests/integration/twod/test_jv_sweep_2d_uniform.py::test_jv_sw", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.twod.experiments.jv_sweep_2d.run_jv_sweep_2d", + "categories": [ + "measurement_data", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "numeric reference current scale and absolute weak/zero current allowance, in the actual A or A m-2 output unit", + "needed_from": "experiment-25b0a1305c41dcb4 exact original driver/reference observation packet; perovskite-sim/tests/integration/backend/test_numerical_job_lifecycle.py::test_real_numerical_jobs_finish_and_match_direct_execution, perovskite-sim/tests/integration/test_twod_mobile_ion_jv.py::test_real_combined_gb_interface_mobile_jv_returns_each_evidence_axis, perovskite-sim/tests/integration/test_twod_mobile_ion_jv.py::test_real_strict_mobile_ion_jv_returns_complete_point_evidence, perovskite-sim/tests/integration/twod/test_jv_sweep_2d_microstructure.py::test_jv_sweep_2d_singleGB_runs_to_completion, perovskite-sim/tests/integration/twod/test_jv_sweep_2d_uniform.py::test_jv_sweep_2d_has_nontrivial_photocurrent, perovskite-sim/tests/integration/twod/test_jv_sweep_2d_uniform.py::test_jv_sw", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.twod.experiments.jv_sweep_2d.run_jv_sweep_2d", + "categories": [ + "source_configuration", + "tolerance_decision" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "each component/sign/port/support, observation times and both event sides", + "needed_from": "experiment-25b0a1305c41dcb4 exact original driver/reference observation packet; perovskite-sim/tests/integration/backend/test_numerical_job_lifecycle.py::test_real_numerical_jobs_finish_and_match_direct_execution, perovskite-sim/tests/integration/test_twod_mobile_ion_jv.py::test_real_combined_gb_interface_mobile_jv_returns_each_evidence_axis, perovskite-sim/tests/integration/test_twod_mobile_ion_jv.py::test_real_strict_mobile_ion_jv_returns_complete_point_evidence, perovskite-sim/tests/integration/twod/test_jv_sweep_2d_microstructure.py::test_jv_sweep_2d_singleGB_runs_to_completion, perovskite-sim/tests/integration/twod/test_jv_sweep_2d_uniform.py::test_jv_sweep_2d_has_nontrivial_photocurrent, perovskite-sim/tests/integration/twod/test_jv_sweep_2d_uniform.py::test_jv_sw", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.twod.experiments.jv_sweep_2d.run_jv_sweep_2d", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "pointwise current uncertainty and a pointwise comparison limit; integrated charge is not a substitute", + "needed_from": "experiment-25b0a1305c41dcb4 exact original driver/reference observation packet; perovskite-sim/tests/integration/backend/test_numerical_job_lifecycle.py::test_real_numerical_jobs_finish_and_match_direct_execution, perovskite-sim/tests/integration/test_twod_mobile_ion_jv.py::test_real_combined_gb_interface_mobile_jv_returns_each_evidence_axis, perovskite-sim/tests/integration/test_twod_mobile_ion_jv.py::test_real_strict_mobile_ion_jv_returns_complete_point_evidence, perovskite-sim/tests/integration/twod/test_jv_sweep_2d_microstructure.py::test_jv_sweep_2d_singleGB_runs_to_completion, perovskite-sim/tests/integration/twod/test_jv_sweep_2d_uniform.py::test_jv_sweep_2d_has_nontrivial_photocurrent, perovskite-sim/tests/integration/twod/test_jv_sweep_2d_uniform.py::test_jv_sw", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.twod.experiments.jv_sweep_2d.run_jv_sweep_2d", + "categories": [ + "tolerance_decision", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "source/target geometry and a verified conservative CV intersection/projection artifact or explicit1D cell averages", + "needed_from": "experiment-25b0a1305c41dcb4 exact original driver/reference observation packet; perovskite-sim/tests/integration/backend/test_numerical_job_lifecycle.py::test_real_numerical_jobs_finish_and_match_direct_execution, perovskite-sim/tests/integration/test_twod_mobile_ion_jv.py::test_real_combined_gb_interface_mobile_jv_returns_each_evidence_axis, perovskite-sim/tests/integration/test_twod_mobile_ion_jv.py::test_real_strict_mobile_ion_jv_returns_complete_point_evidence, perovskite-sim/tests/integration/twod/test_jv_sweep_2d_microstructure.py::test_jv_sweep_2d_singleGB_runs_to_completion, perovskite-sim/tests/integration/twod/test_jv_sweep_2d_uniform.py::test_jv_sweep_2d_has_nontrivial_photocurrent, perovskite-sim/tests/integration/twod/test_jv_sweep_2d_uniform.py::test_jv_sw", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.twod.experiments.jv_sweep_2d.run_jv_sweep_2d", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "fixed numeric integral/inventory/left-trace/right-trace scales and limits in their physical units", + "needed_from": "experiment-25b0a1305c41dcb4 exact original driver/reference observation packet; perovskite-sim/tests/integration/backend/test_numerical_job_lifecycle.py::test_real_numerical_jobs_finish_and_match_direct_execution, perovskite-sim/tests/integration/test_twod_mobile_ion_jv.py::test_real_combined_gb_interface_mobile_jv_returns_each_evidence_axis, perovskite-sim/tests/integration/test_twod_mobile_ion_jv.py::test_real_strict_mobile_ion_jv_returns_complete_point_evidence, perovskite-sim/tests/integration/twod/test_jv_sweep_2d_microstructure.py::test_jv_sweep_2d_singleGB_runs_to_completion, perovskite-sim/tests/integration/twod/test_jv_sweep_2d_uniform.py::test_jv_sweep_2d_has_nontrivial_photocurrent, perovskite-sim/tests/integration/twod/test_jv_sweep_2d_uniform.py::test_jv_sw", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.twod.experiments.jv_sweep_2d.run_jv_sweep_2d", + "categories": [ + "source_configuration", + "tolerance_decision" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "projection error, component topology and every interface-side identity", + "needed_from": "experiment-25b0a1305c41dcb4 exact original driver/reference observation packet; perovskite-sim/tests/integration/backend/test_numerical_job_lifecycle.py::test_real_numerical_jobs_finish_and_match_direct_execution, perovskite-sim/tests/integration/test_twod_mobile_ion_jv.py::test_real_combined_gb_interface_mobile_jv_returns_each_evidence_axis, perovskite-sim/tests/integration/test_twod_mobile_ion_jv.py::test_real_strict_mobile_ion_jv_returns_complete_point_evidence, perovskite-sim/tests/integration/twod/test_jv_sweep_2d_microstructure.py::test_jv_sweep_2d_singleGB_runs_to_completion, perovskite-sim/tests/integration/twod/test_jv_sweep_2d_uniform.py::test_jv_sweep_2d_has_nontrivial_photocurrent, perovskite-sim/tests/integration/twod/test_jv_sweep_2d_uniform.py::test_jv_sw", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.twod.experiments.jv_sweep_2d.run_jv_sweep_2d", + "categories": [ + "source_configuration", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-25b0a1305c41dcb4/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [], + "current_numeric_status": "prior_exact_scope_gaps_retained_and_classified" + } + }, + { + "id": "scope-experiment-5939aecfa4284195", + "capability_id": "experiment-5939aecfa4284195", + "route_id": "route-b425dc190363a785", + "origin_key": "experiment:perovskite_sim.twod.experiments.voc_grain_sweep.run_voc_grain_sweep", + "disposition": "positive_physical_or_analytic_obligations_retained", + "change_classification": "M for exact structural/metadata migration only; any changed positive numerical output retains the separately listed N obligations", + "positive_physical_obligation": true, + "families": [ + "JV_metrics_and_full_branch", + "current_observation_or_current_input", + "CV_geometry_and_interface_sides" + ], + "classification_basis": "Actual original test expressions and source/caller bindings in the accepted map are retained; numeric outputs and operator/state/certificate histories are not reclassified from a success flag. Family tags route required quantities, not evidence of a pass.", + "original_test_or_source_bindings": [ + { + "source_id": "repository:perovskite-sim/perovskite_sim/twod/experiments/voc_grain_sweep.py", + "symbol": "run_voc_grain_sweep" + }, + { + "source_id": "repository:perovskite-sim/tests/integration/twod/test_voc_grain_sweep.py", + "symbol": "test_voc_grain_sweep_monotone_in_Lg" + } + ], + "negative_only_descriptor_rule_ids": [], + "source_quantitative_assertion_ids_for_scope_audit": [ + "rule-05c06641770788acc99815c2", + "rule-5cea7c16f6c5c42fe11826cd" + ], + "rule_ids": [ + "M_payload", + "Voc_absolute", + "JV_metric_packet", + "current_packet", + "projection_packet" + ], + "citations": [], + "remaining_inputs": [ + { + "field": "fixed numeric Jsc/FF/PCE reference values/scales with the actual output units and conversion identity", + "needed_from": "experiment-5939aecfa4284195 exact original driver/reference observation packet; perovskite-sim/tests/integration/twod/test_voc_grain_sweep.py::test_voc_grain_sweep_monotone_in_Lg", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.twod.experiments.voc_grain_sweep.run_voc_grain_sweep" + }, + { + "field": "dimensional dark/weak Jsc and zero-power absolute limits with error evidence", + "needed_from": "experiment-5939aecfa4284195 exact original driver/reference observation packet; perovskite-sim/tests/integration/twod/test_voc_grain_sweep.py::test_voc_grain_sweep_monotone_in_Lg", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.twod.experiments.voc_grain_sweep.run_voc_grain_sweep" + }, + { + "field": "Voc bracket, dJ/dV and current-error propagation bound; MPP sampling and full branch coordinates", + "needed_from": "experiment-5939aecfa4284195 exact original driver/reference observation packet; perovskite-sim/tests/integration/twod/test_voc_grain_sweep.py::test_voc_grain_sweep_monotone_in_Lg", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.twod.experiments.voc_grain_sweep.run_voc_grain_sweep" + }, + { + "field": "numeric reference current scale and absolute weak/zero current allowance, in the actual A or A m-2 output unit", + "needed_from": "experiment-5939aecfa4284195 exact original driver/reference observation packet; perovskite-sim/tests/integration/twod/test_voc_grain_sweep.py::test_voc_grain_sweep_monotone_in_Lg", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.twod.experiments.voc_grain_sweep.run_voc_grain_sweep" + }, + { + "field": "each component/sign/port/support, observation times and both event sides", + "needed_from": "experiment-5939aecfa4284195 exact original driver/reference observation packet; perovskite-sim/tests/integration/twod/test_voc_grain_sweep.py::test_voc_grain_sweep_monotone_in_Lg", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.twod.experiments.voc_grain_sweep.run_voc_grain_sweep" + }, + { + "field": "pointwise current uncertainty and a pointwise comparison limit; integrated charge is not a substitute", + "needed_from": "experiment-5939aecfa4284195 exact original driver/reference observation packet; perovskite-sim/tests/integration/twod/test_voc_grain_sweep.py::test_voc_grain_sweep_monotone_in_Lg", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.twod.experiments.voc_grain_sweep.run_voc_grain_sweep" + }, + { + "field": "source/target geometry and a verified conservative CV intersection/projection artifact or explicit1D cell averages", + "needed_from": "experiment-5939aecfa4284195 exact original driver/reference observation packet; perovskite-sim/tests/integration/twod/test_voc_grain_sweep.py::test_voc_grain_sweep_monotone_in_Lg", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.twod.experiments.voc_grain_sweep.run_voc_grain_sweep" + }, + { + "field": "fixed numeric integral/inventory/left-trace/right-trace scales and limits in their physical units", + "needed_from": "experiment-5939aecfa4284195 exact original driver/reference observation packet; perovskite-sim/tests/integration/twod/test_voc_grain_sweep.py::test_voc_grain_sweep_monotone_in_Lg", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.twod.experiments.voc_grain_sweep.run_voc_grain_sweep" + }, + { + "field": "projection error, component topology and every interface-side identity", + "needed_from": "experiment-5939aecfa4284195 exact original driver/reference observation packet; perovskite-sim/tests/integration/twod/test_voc_grain_sweep.py::test_voc_grain_sweep_monotone_in_Lg", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.twod.experiments.voc_grain_sweep.run_voc_grain_sweep" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-5939aecfa4284195/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification" + } + ], + "downstream_tasks": [ + "P06-01", + "P06-02", + "P06-03" + ], + "active_comparison": null, + "scientific_qualification_granted": false, + "gap_classification": { + "prior_readiness_binding": { + "path": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/ScopeReadiness.json", + "sha256": "2d952af50d89536e5c730202dd583b3b78e960dc673864f2a8a30fc8e3907038", + "scope_id": "scope-experiment-5939aecfa4284195" + }, + "scope_specific_prior_gaps": [ + { + "field": "fixed numeric Jsc/FF/PCE reference values/scales with the actual output units and conversion identity", + "needed_from": "experiment-5939aecfa4284195 exact original driver/reference observation packet; perovskite-sim/tests/integration/twod/test_voc_grain_sweep.py::test_voc_grain_sweep_monotone_in_Lg", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.twod.experiments.voc_grain_sweep.run_voc_grain_sweep", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "dimensional dark/weak Jsc and zero-power absolute limits with error evidence", + "needed_from": "experiment-5939aecfa4284195 exact original driver/reference observation packet; perovskite-sim/tests/integration/twod/test_voc_grain_sweep.py::test_voc_grain_sweep_monotone_in_Lg", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.twod.experiments.voc_grain_sweep.run_voc_grain_sweep", + "categories": [ + "tolerance_decision", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "Voc bracket, dJ/dV and current-error propagation bound; MPP sampling and full branch coordinates", + "needed_from": "experiment-5939aecfa4284195 exact original driver/reference observation packet; perovskite-sim/tests/integration/twod/test_voc_grain_sweep.py::test_voc_grain_sweep_monotone_in_Lg", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.twod.experiments.voc_grain_sweep.run_voc_grain_sweep", + "categories": [ + "measurement_data", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "numeric reference current scale and absolute weak/zero current allowance, in the actual A or A m-2 output unit", + "needed_from": "experiment-5939aecfa4284195 exact original driver/reference observation packet; perovskite-sim/tests/integration/twod/test_voc_grain_sweep.py::test_voc_grain_sweep_monotone_in_Lg", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.twod.experiments.voc_grain_sweep.run_voc_grain_sweep", + "categories": [ + "source_configuration", + "tolerance_decision" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "each component/sign/port/support, observation times and both event sides", + "needed_from": "experiment-5939aecfa4284195 exact original driver/reference observation packet; perovskite-sim/tests/integration/twod/test_voc_grain_sweep.py::test_voc_grain_sweep_monotone_in_Lg", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.twod.experiments.voc_grain_sweep.run_voc_grain_sweep", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "pointwise current uncertainty and a pointwise comparison limit; integrated charge is not a substitute", + "needed_from": "experiment-5939aecfa4284195 exact original driver/reference observation packet; perovskite-sim/tests/integration/twod/test_voc_grain_sweep.py::test_voc_grain_sweep_monotone_in_Lg", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.twod.experiments.voc_grain_sweep.run_voc_grain_sweep", + "categories": [ + "tolerance_decision", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "source/target geometry and a verified conservative CV intersection/projection artifact or explicit1D cell averages", + "needed_from": "experiment-5939aecfa4284195 exact original driver/reference observation packet; perovskite-sim/tests/integration/twod/test_voc_grain_sweep.py::test_voc_grain_sweep_monotone_in_Lg", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.twod.experiments.voc_grain_sweep.run_voc_grain_sweep", + "categories": [ + "source_configuration", + "measurement_data" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "fixed numeric integral/inventory/left-trace/right-trace scales and limits in their physical units", + "needed_from": "experiment-5939aecfa4284195 exact original driver/reference observation packet; perovskite-sim/tests/integration/twod/test_voc_grain_sweep.py::test_voc_grain_sweep_monotone_in_Lg", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.twod.experiments.voc_grain_sweep.run_voc_grain_sweep", + "categories": [ + "source_configuration", + "tolerance_decision" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "projection error, component topology and every interface-side identity", + "needed_from": "experiment-5939aecfa4284195 exact original driver/reference observation packet; perovskite-sim/tests/integration/twod/test_voc_grain_sweep.py::test_voc_grain_sweep_monotone_in_Lg", + "blocked_use": "new N acceptance / qualified reference use for experiment:perovskite_sim.twod.experiments.voc_grain_sweep.run_voc_grain_sweep", + "categories": [ + "source_configuration", + "reference_error_evidence" + ], + "classification_basis": "exact prior family field" + }, + { + "field": "actual source/input/model/protocol/initial-state/numerics/environment identities and independent reference-error/review evidence", + "needed_from": "test/ArchitectureRefactor/ComparisonScopesV1/experiment-5939aecfa4284195/ReferenceQualification.json", + "blocked_use": "full execution reproduction or new N scientific acceptance; engineering rule validity alone is not physical qualification", + "categories": [ + "source_configuration", + "measurement_data", + "reference_error_evidence", + "scope_review" + ], + "classification_basis": "mixed original source/identity/use-review obligation; no new tolerance inferred" + } + ], + "new_source_resolved_cases": [], + "prior_gaps_apply_outside_listed_source_resolved_cases": true, + "reference_error_bound": null, + "reference_eligibility_is_separate": true, + "fixed_discrete_target_requires_continuum_qualification": false, + "scope_extension_or_tolerance_decisions": [], + "current_numeric_status": "prior_exact_scope_gaps_retained_and_classified" + } + } + ], + "original_lane_norm_audit": [ + { + "capability_id": "lane-3eb9325a1d09f96f", + "lane": "lane:algebraic-interface-state-dae-transient-v1", + "bound_rule_count": 32, + "symmetric_scale_or_linear_phase_rule_ids": [ + "rule-51eccde34c18287859f50a39" + ], + "new_N_reuse": "Requires separate fixed-reference scale/zero/circular-phase scope; original objects unchanged" + }, + { + "capability_id": "lane-74c8fcdda1607b00", + "lane": "lane:bulk-energy-distributed-trap-equilibrium-v1", + "bound_rule_count": 19, + "symmetric_scale_or_linear_phase_rule_ids": [], + "new_N_reuse": "Requires separate fixed-reference scale/zero/circular-phase scope; original objects unchanged" + }, + { + "capability_id": "lane-30c624efe3f8467f", + "lane": "lane:charged-explicit-defect-qf-dc-v1", + "bound_rule_count": 35, + "symmetric_scale_or_linear_phase_rule_ids": [ + "rule-d53f0a8071f4273983a236ca", + "rule-09b5af195b8dc43aaecfcaed", + "rule-f087cd3ea6089a5df0d62a9d", + "rule-a533e211d4385eee41c5f640", + "rule-9217fc44679125bf44a15fe9" + ], + "new_N_reuse": "Requires separate fixed-reference scale/zero/circular-phase scope; original objects unchanged" + }, + { + "capability_id": "lane-d0db2268d3d111e7", + "lane": "lane:cigs-graded-optics-v1", + "bound_rule_count": 17, + "symmetric_scale_or_linear_phase_rule_ids": [ + "rule-2f39967cafbf3a3135e0b03d" + ], + "new_N_reuse": "Requires separate fixed-reference scale/zero/circular-phase scope; original objects unchanged" + }, + { + "capability_id": "lane-1c11f3ec305c3631", + "lane": "lane:csi-qf-frequency-domain", + "bound_rule_count": 6, + "symmetric_scale_or_linear_phase_rule_ids": [ + "rule-586b7e9436478d5bfc26cb24", + "rule-326e3370aac6ab65be92f01d" + ], + "new_N_reuse": "Requires separate fixed-reference scale/zero/circular-phase scope; original objects unchanged" + }, + { + "capability_id": "lane-1f48a67f12b83f3b", + "lane": "lane:csi-qf-frequency-domain-resolved-v2", + "bound_rule_count": 6, + "symmetric_scale_or_linear_phase_rule_ids": [ + "rule-35a636452befff5c0f0fdf31", + "rule-490cfb3653cc2ea665e5860f" + ], + "new_N_reuse": "Requires separate fixed-reference scale/zero/circular-phase scope; original objects unchanged" + }, + { + "capability_id": "lane-1dfc4e4b19df86e8", + "lane": "lane:degenerate-pn-equilibrium-v1", + "bound_rule_count": 13, + "symmetric_scale_or_linear_phase_rule_ids": [], + "new_N_reuse": "Requires separate fixed-reference scale/zero/circular-phase scope; original objects unchanged" + }, + { + "capability_id": "lane-b7e62a98398228f0", + "lane": "lane:distributed-explicit-defect-qf-dc-v1", + "bound_rule_count": 38, + "symmetric_scale_or_linear_phase_rule_ids": [ + "rule-a658d6721b4e7100861780eb", + "rule-75775c91f5051dfee8aa8c92", + "rule-b0059d9745848348b6410288" + ], + "new_N_reuse": "Requires separate fixed-reference scale/zero/circular-phase scope; original objects unchanged" + }, + { + "capability_id": "lane-6c70228c5f2817ea", + "lane": "lane:dual-mobile-ion-dae-transient-v1", + "bound_rule_count": 43, + "symmetric_scale_or_linear_phase_rule_ids": [], + "new_N_reuse": "Requires separate fixed-reference scale/zero/circular-phase scope; original objects unchanged" + }, + { + "capability_id": "lane-5ff1ae9d34dfa46d", + "lane": "lane:dynamic-defect-ion-impedance-production-v1", + "bound_rule_count": 19, + "symmetric_scale_or_linear_phase_rule_ids": [ + "rule-8a11562fda4feee473c260a5", + "rule-ecff69194e4dafcb38103a85" + ], + "new_N_reuse": "Requires separate fixed-reference scale/zero/circular-phase scope; original objects unchanged" + }, + { + "capability_id": "lane-def3952fd4d218a3", + "lane": "lane:dynamic-defect-ion-transient-production-v1", + "bound_rule_count": 50, + "symmetric_scale_or_linear_phase_rule_ids": [], + "new_N_reuse": "Requires separate fixed-reference scale/zero/circular-phase scope; original objects unchanged" + }, + { + "capability_id": "lane-b61bf1fc1c5146b5", + "lane": "lane:dynamic-defect-ion-transient-timescale-absorber-resolved-v4", + "bound_rule_count": 46, + "symmetric_scale_or_linear_phase_rule_ids": [], + "new_N_reuse": "Requires separate fixed-reference scale/zero/circular-phase scope; original objects unchanged" + }, + { + "capability_id": "lane-119dbf12fc26bf9b", + "lane": "lane:dynamic-defect-ion-transient-timescale-nonlinear-resolved-v3", + "bound_rule_count": 46, + "symmetric_scale_or_linear_phase_rule_ids": [], + "new_N_reuse": "Requires separate fixed-reference scale/zero/circular-phase scope; original objects unchanged" + }, + { + "capability_id": "lane-c2f00d60b696be35", + "lane": "lane:dynamic-defect-ion-transient-timescale-reference-resolved-v5", + "bound_rule_count": 47, + "symmetric_scale_or_linear_phase_rule_ids": [], + "new_N_reuse": "Requires separate fixed-reference scale/zero/circular-phase scope; original objects unchanged" + }, + { + "capability_id": "lane-2e2c396de43bcf73", + "lane": "lane:dynamic-defect-ion-transient-timescale-resolved-v2", + "bound_rule_count": 45, + "symmetric_scale_or_linear_phase_rule_ids": [], + "new_N_reuse": "Requires separate fixed-reference scale/zero/circular-phase scope; original objects unchanged" + }, + { + "capability_id": "lane-f63c8cad0bf211ec", + "lane": "lane:dynamic-defect-ion-transient-timescale-v1", + "bound_rule_count": 45, + "symmetric_scale_or_linear_phase_rule_ids": [], + "new_N_reuse": "Requires separate fixed-reference scale/zero/circular-phase scope; original objects unchanged" + }, + { + "capability_id": "lane-5d1d62edf010a604", + "lane": "lane:electrothermal-terminal-mpp-grid-resolved-v3", + "bound_rule_count": 26, + "symmetric_scale_or_linear_phase_rule_ids": [ + "rule-384c39f07c3e2975e6e1d8bd", + "rule-ac74dc1a3ba21c63285a8afe", + "rule-41ecaba52deb3fcf4eb32ad2" + ], + "new_N_reuse": "Requires separate fixed-reference scale/zero/circular-phase scope; original objects unchanged" + }, + { + "capability_id": "lane-b37e800920a3345f", + "lane": "lane:electrothermal-terminal-mpp-resolved-v2", + "bound_rule_count": 26, + "symmetric_scale_or_linear_phase_rule_ids": [ + "rule-7fec7536755c57a668dff5c5", + "rule-9aa25a0d7601ee6784bf7444", + "rule-32c0e5f2f4a92b96e9c46d72" + ], + "new_N_reuse": "Requires separate fixed-reference scale/zero/circular-phase scope; original objects unchanged" + }, + { + "capability_id": "lane-b89615cfbbfe0045", + "lane": "lane:electrothermal-terminal-mpp-v1", + "bound_rule_count": 26, + "symmetric_scale_or_linear_phase_rule_ids": [ + "rule-abd1bbcfc7bf310b4b123760", + "rule-68d962df70b39b223321c655", + "rule-4fcc0104b85adbd577e930e2" + ], + "new_N_reuse": "Requires separate fixed-reference scale/zero/circular-phase scope; original objects unchanged" + }, + { + "capability_id": "lane-8ecc1df7d72fa132", + "lane": "lane:external-series-shunt-dc-operating-quadrant-v2", + "bound_rule_count": 21, + "symmetric_scale_or_linear_phase_rule_ids": [ + "rule-4d5651fa5504122cfc3eb710", + "rule-c25420c27b68217d3e75ee94" + ], + "new_N_reuse": "Requires separate fixed-reference scale/zero/circular-phase scope; original objects unchanged" + }, + { + "capability_id": "lane-c8c8e3698ef7d8d7", + "lane": "lane:external-series-shunt-dc-v1", + "bound_rule_count": 21, + "symmetric_scale_or_linear_phase_rule_ids": [ + "rule-9730f58cd4dbcc9e7904d816", + "rule-707eb815337a7d693c3ade1d" + ], + "new_N_reuse": "Requires separate fixed-reference scale/zero/circular-phase scope; original objects unchanged" + }, + { + "capability_id": "lane-db3616410333cfd2", + "lane": "lane:foundation-physical-homojunction-resolved-v2", + "bound_rule_count": 50, + "symmetric_scale_or_linear_phase_rule_ids": [ + "rule-5c1f6af5446c2d1b0571cf42", + "rule-c62b38ed988357199b8e3355", + "rule-62ca2a09770f42e7938c600f" + ], + "new_N_reuse": "Requires separate fixed-reference scale/zero/circular-phase scope; original objects unchanged" + }, + { + "capability_id": "lane-1bbf89ccef7a7815", + "lane": "lane:foundation-physical-homojunction-steady-v1", + "bound_rule_count": 50, + "symmetric_scale_or_linear_phase_rule_ids": [ + "rule-c65af9bd7ee9c9091a77ca47", + "rule-6a719f045554a97edfb8f03f", + "rule-e5ab068abc5a51738adce174" + ], + "new_N_reuse": "Requires separate fixed-reference scale/zero/circular-phase scope; original objects unchanged" + }, + { + "capability_id": "lane-42bf2b940134e62c", + "lane": "lane:incomplete-ionization-bgn-temperature-equilibrium-v1", + "bound_rule_count": 21, + "symmetric_scale_or_linear_phase_rule_ids": [], + "new_N_reuse": "Requires separate fixed-reference scale/zero/circular-phase scope; original objects unchanged" + }, + { + "capability_id": "lane-b0877f36f5bf04e5", + "lane": "lane:incomplete-ionization-temperature-equilibrium-v1", + "bound_rule_count": 17, + "symmetric_scale_or_linear_phase_rule_ids": [], + "new_N_reuse": "Requires separate fixed-reference scale/zero/circular-phase scope; original objects unchanged" + }, + { + "capability_id": "lane-f3d0d1307884e5e8", + "lane": "lane:interface-charge-device-stress-resolved-v2", + "bound_rule_count": 33, + "symmetric_scale_or_linear_phase_rule_ids": [ + "rule-7d7062045f5db3ddcdde1ec4", + "rule-449a36c74b21a2dc3d37d355" + ], + "new_N_reuse": "Requires separate fixed-reference scale/zero/circular-phase scope; original objects unchanged" + }, + { + "capability_id": "lane-e95ec3a450b16504", + "lane": "lane:interface-charge-device-stress-v1", + "bound_rule_count": 33, + "symmetric_scale_or_linear_phase_rule_ids": [ + "rule-83902bd0c38b52c4294c2f56", + "rule-e55921ddfc33ffaaec6ff51a" + ], + "new_N_reuse": "Requires separate fixed-reference scale/zero/circular-phase scope; original objects unchanged" + }, + { + "capability_id": "lane-5da5b7d376d6e06e", + "lane": "lane:interface-charge-equilibrium-referenced-v1", + "bound_rule_count": 27, + "symmetric_scale_or_linear_phase_rule_ids": [ + "rule-29f3a0adc5aa249aa06ce81d", + "rule-0231e8ed993044cf0c4e9efa" + ], + "new_N_reuse": "Requires separate fixed-reference scale/zero/circular-phase scope; original objects unchanged" + }, + { + "capability_id": "lane-54128f5212664526", + "lane": "lane:interface-charge-qf-dc-jv-v1", + "bound_rule_count": 38, + "symmetric_scale_or_linear_phase_rule_ids": [ + "rule-be78d0bff677e97c9a5565aa", + "rule-c64b520188b8f38ae7cf0275" + ], + "new_N_reuse": "Requires separate fixed-reference scale/zero/circular-phase scope; original objects unchanged" + }, + { + "capability_id": "lane-ee113ad477b8697e", + "lane": "lane:interface-recombination-charge-off", + "bound_rule_count": 19, + "symmetric_scale_or_linear_phase_rule_ids": [], + "new_N_reuse": "Requires separate fixed-reference scale/zero/circular-phase scope; original objects unchanged" + }, + { + "capability_id": "lane-84ef85f524daf74b", + "lane": "lane:interface-srh-identifiability-synthetic-v1", + "bound_rule_count": 21, + "symmetric_scale_or_linear_phase_rule_ids": [ + "rule-9df1e5a91d203bda283d8fe9", + "rule-3c22bc1a74324444f4d273e5", + "rule-4a42e1e5e4315000dd4637ad" + ], + "new_N_reuse": "Requires separate fixed-reference scale/zero/circular-phase scope; original objects unchanged" + }, + { + "capability_id": "lane-c5f63593f6609839", + "lane": "lane:ionmonger-ion-aware-dc-resolved-v2", + "bound_rule_count": 16, + "symmetric_scale_or_linear_phase_rule_ids": [ + "rule-c9046cfef0b6ef0099c8231c", + "rule-cd658221dd475286814242de" + ], + "new_N_reuse": "Requires separate fixed-reference scale/zero/circular-phase scope; original objects unchanged" + }, + { + "capability_id": "lane-500d85c643804b4b", + "lane": "lane:ionmonger-ion-aware-dc-v1", + "bound_rule_count": 16, + "symmetric_scale_or_linear_phase_rule_ids": [ + "rule-6e9e9ec09d2b1232262226f3", + "rule-be0316d30f7b2759d0622474" + ], + "new_N_reuse": "Requires separate fixed-reference scale/zero/circular-phase scope; original objects unchanged" + }, + { + "capability_id": "lane-b59b8f0f474425b0", + "lane": "lane:ionmonger-ion-aware-impedance-resolved-v1", + "bound_rule_count": 15, + "symmetric_scale_or_linear_phase_rule_ids": [ + "rule-fded901ca315dfe0f9644ff5", + "rule-f6789c1a13c2d9958e6b2faa" + ], + "new_N_reuse": "Requires separate fixed-reference scale/zero/circular-phase scope; original objects unchanged" + }, + { + "capability_id": "lane-077aabd76066b531", + "lane": "lane:ionmonger-mobile-ion-transient", + "bound_rule_count": 14, + "symmetric_scale_or_linear_phase_rule_ids": [], + "new_N_reuse": "Requires separate fixed-reference scale/zero/circular-phase scope; original objects unchanged" + }, + { + "capability_id": "lane-f7e0f3e0963801d8", + "lane": "lane:multivalent-explicit-defect-qf-dc-v1", + "bound_rule_count": 39, + "symmetric_scale_or_linear_phase_rule_ids": [ + "rule-a56db8f180d23a6853a5c1b9", + "rule-e4da6121a3df1eb86d1f3991", + "rule-0c777cb7b63c12f887964bf2", + "rule-e6744b3e0c8b51f6cd272bb8", + "rule-d3df3e10c20f2d5809603463", + "rule-c16c016ae99fe74d38c3811c" + ], + "new_N_reuse": "Requires separate fixed-reference scale/zero/circular-phase scope; original objects unchanged" + }, + { + "capability_id": "lane-d78898d8e12e7813", + "lane": "lane:no-ion-dae-transient-v1", + "bound_rule_count": 24, + "symmetric_scale_or_linear_phase_rule_ids": [], + "new_N_reuse": "Requires separate fixed-reference scale/zero/circular-phase scope; original objects unchanged" + }, + { + "capability_id": "lane-5547d9e78904e730", + "lane": "lane:scaps-mirror-frozen-ion-ss", + "bound_rule_count": 10, + "symmetric_scale_or_linear_phase_rule_ids": [ + "rule-0aba7323277c3fb3f1dd1732", + "rule-82d373ef2a180fc1d8512269", + "rule-f5ffde0e498815f5fa1af9f3" + ], + "new_N_reuse": "Requires separate fixed-reference scale/zero/circular-phase scope; original objects unchanged" + }, + { + "capability_id": "lane-0350f1d065d6fedc", + "lane": "lane:single-ion-algebraic-interface-dae-transient-resolved-v2", + "bound_rule_count": 43, + "symmetric_scale_or_linear_phase_rule_ids": [ + "rule-1ee0c78a0f757689b545e2e8" + ], + "new_N_reuse": "Requires separate fixed-reference scale/zero/circular-phase scope; original objects unchanged" + }, + { + "capability_id": "lane-1816209e76bb9ac0", + "lane": "lane:single-ion-algebraic-interface-dae-transient-v1", + "bound_rule_count": 43, + "symmetric_scale_or_linear_phase_rule_ids": [ + "rule-056d242d576df0058a01e763" + ], + "new_N_reuse": "Requires separate fixed-reference scale/zero/circular-phase scope; original objects unchanged" + }, + { + "capability_id": "lane-db596cd22f67423d", + "lane": "lane:single-positive-ion-dae-transient-v1", + "bound_rule_count": 33, + "symmetric_scale_or_linear_phase_rule_ids": [], + "new_N_reuse": "Requires separate fixed-reference scale/zero/circular-phase scope; original objects unchanged" + }, + { + "capability_id": "lane-ea8013ec21a124fd", + "lane": "lane:spatially-graded-explicit-defect-qf-dc-v1", + "bound_rule_count": 49, + "symmetric_scale_or_linear_phase_rule_ids": [ + "rule-e4255e6dec5c4af3249b12f9", + "rule-e2727348fe87da0a6ca1cae7", + "rule-eaf07eacb44adc070a1f3648" + ], + "new_N_reuse": "Requires separate fixed-reference scale/zero/circular-phase scope; original objects unchanged" + }, + { + "capability_id": "lane-b6717f964e395329", + "lane": "lane:spatially-graded-explicit-defect-qf-dc-v2", + "bound_rule_count": 49, + "symmetric_scale_or_linear_phase_rule_ids": [ + "rule-a96e77576c295f31e186852a", + "rule-fca70b3d2e22c65ebbed0659", + "rule-a5568ac78b5a6fe794e00c71" + ], + "new_N_reuse": "Requires separate fixed-reference scale/zero/circular-phase scope; original objects unchanged" + }, + { + "capability_id": "lane-13c1b80fd89d147a", + "lane": "lane:twod-mobile-ion-interface-srh-v1", + "bound_rule_count": 21, + "symmetric_scale_or_linear_phase_rule_ids": [], + "new_N_reuse": "Requires separate fixed-reference scale/zero/circular-phase scope; original objects unchanged" + }, + { + "capability_id": "lane-6dbb672b6062d764", + "lane": "lane:twod-uniform-limit", + "bound_rule_count": 10, + "symmetric_scale_or_linear_phase_rule_ids": [ + "rule-711800445728a00f95f380d8" + ], + "new_N_reuse": "Requires separate fixed-reference scale/zero/circular-phase scope; original objects unchanged" + }, + { + "capability_id": "lane-6b64d0fcde4053b6", + "lane": "lane:wkb-resolved-intraband-qf-dc-v2", + "bound_rule_count": 34, + "symmetric_scale_or_linear_phase_rule_ids": [ + "rule-14fd4538d562c16830519503", + "rule-2e5b7c71d3d3843f65eb92aa", + "rule-3e67d45460ef08448817d5e8", + "rule-9de64bdc33050178a25dbb8d", + "rule-21c7c1b38c2077e683c56d97", + "rule-ca0e309054b3a52f401ad543" + ], + "new_N_reuse": "Requires separate fixed-reference scale/zero/circular-phase scope; original objects unchanged" + }, + { + "capability_id": "lane-16771a29387cfdae", + "lane": "lane:wkb-tunnelling-channel-qf-dc-v1", + "bound_rule_count": 22, + "symmetric_scale_or_linear_phase_rule_ids": [ + "rule-273c8415c3a8dc445ad283ba", + "rule-e6b8f6c13d0f5a1845045f9b", + "rule-29defc3eb14efce6a9dca43e", + "rule-e49ddcd13f180d9e1408dab7" + ], + "new_N_reuse": "Requires separate fixed-reference scale/zero/circular-phase scope; original objects unchanged" + } + ], + "original_map_without_scope_links_sha256": "ca7863218914c1196b5ac7c623a8a374e6168230f38338b8136dc764138d91a9", + "protected_manifest_payload_sha256": { + "/scaps/groups": "1ecb0dd74497ac8a4195e2cd063ea4acd342d723a53b70d14ea8c9eaae5ac472", + "/hi/cases": "646d85ce8f72ee23fb289e0ba604b30136f8f86d595bb0bd5d6e8e43c3c43300" + }, + "status": "prospective_rule_parameters_and_explicit_reference_or_parameter_blockers; no active comparisons", + "classification_limit": "These are170 scoped records, not170 different physical models.2 engineering-only records do not erase positive obligations in other consumers. All original assertion, lane and failure identities remain unchanged.", + "activation_policy": "Only a future source-bound, reviewed, complete numeric GateSpec frozen before candidate output may activate; reference/geometry/error fields are never synthesized from the candidate.", + "G0_or_science_awarded": false, + "source_identity_history": { + "formal": { + "original": { + "root": "archive", + "path": "plans/Impl/ArchitectureRefactorExecutionV1.md", + "sha256": "edb7bb738a21fc779b5f95ecfcb414ed04585271fa38fa6b7806e492f3df3060" + }, + "unchanged_prefix_bytes": 138722, + "latest_preparation_update": { + "prior_sha256": "36942cbcae7ab01a2302e09c73bdfc365b730f830f0500b2c4150073558b2a3f", + "current_sha256": "f23f96552b11f6a1000fab4f91c1be940156f21e802ef74570cdb0d688ea6a9f", + "scope": "Root-authorized section19.33 completed-work/resource append; all13 original formal citation texts remain unchanged. No plan bytes, scientific limits or original citations edited by Engineering.", + "authority": { + "root": "archive", + "path": "test/ArchitectureRefactor/Stage00/DefinitionClosureV1/RootFormalPinUpdate.json", + "sha256": "a778150ce093bcb5e087a40f004e1db824456893a580f512c87c2e9fb7087a2b" + }, + "intermediate_observed_sha256": "6229e3b1455000e98bf8f85cda9ed9dc52e5971b496df43192e00c61392ba5e5" + }, + "preparation_updates": [ + { + "prior_sha256": "6445d0e6d3c53ae31933001eb1df0c73cd05baad27a4bcdfe88829bc56166627", + "current_sha256": "8496780b7d619460ab65dabf817c3ecd6f3abf6834f1cdae75d34ce9d56b2eef", + "scope": "Section19.15 read-only stored-run client scheduling; existing scientific criterion text unchanged." + }, + { + "prior_sha256": "8496780b7d619460ab65dabf817c3ecd6f3abf6834f1cdae75d34ce9d56b2eef", + "current_sha256": "36942cbcae7ab01a2302e09c73bdfc365b730f830f0500b2c4150073558b2a3f", + "scope": "Root-authorized engineering resources, explicit UI preparation and TimeWeights prototype schedule; all13 source-bound formal citation texts rechecked unchanged." + } + ] + } + }, + "numeric_parameter_preparation": { + "status": "prepared_pending_dependencies", + "source_HEAD": "d09add0a967ade921bba4f0802df68f081a5b6c8", + "evidence": "test/ArchitectureRefactor/Stage00/NumericGateParametersV1/Report.json", + "baseline_scopes_sha256": "d233413398317e010e74d21d95e5d66701399d12df8e5707bcfec0649eb08035", + "scope_records_with_source_bound_parameters": 14, + "family_parameterization": { + "density_inventory_packet": { + "scope_ids": [ + "scope-benchmark-00cbe610b0bd55b6", + "scope-benchmark-5c45d777007899c9" + ], + "packets": 2, + "specified_fixture_packets": 1 + }, + "current_packet": { + "scope_ids": [ + "scope-benchmark-00cbe610b0bd55b6" + ], + "packets": 1, + "specified_fixture_packets": 1 + }, + "operator_packet": { + "scope_ids": [ + "scope-benchmark-00cbe610b0bd55b6", + "scope-oracle-c398ee1f8377a8ac", + "scope-oracle-a34b44c50d3476cf" + ], + "packets": 6, + "specified_fixture_packets": 5 + }, + "potential_packet": { + "scope_ids": [ + "scope-benchmark-5c45d777007899c9", + "scope-oracle-33512d14951f648d", + "scope-oracle-88ce0e7749381acf" + ], + "packets": 3, + "specified_fixture_packets": 2 + }, + "projection_packet": { + "scope_ids": [ + "scope-benchmark-d84b2405628c3df6" + ], + "packets": 1, + "specified_fixture_packets": 0 + }, + "JV_metric_packet": { + "scope_ids": [ + "scope-benchmark-a8032d8160a5c7e3" + ], + "packets": 1, + "specified_fixture_packets": 1 + }, + "complex_packet": { + "scope_ids": [ + "scope-oracle-23a290eced9bdb76" + ], + "packets": 1, + "specified_fixture_packets": 0 + }, + "spectrum_packet": { + "scope_ids": [ + "scope-experiment-ddece0c2ae0c1f35", + "scope-experiment-d99a1dd374330649" + ], + "packets": 2, + "specified_fixture_packets": 0 + }, + "thermal_packet": { + "scope_ids": [ + "scope-experiment-06dfc808cd746b55", + "scope-experiment-facd10fc2e2e1c6d" + ], + "packets": 3, + "specified_fixture_packets": 3 + }, + "transient_packet": { + "scope_ids": [ + "scope-experiment-dc01ed047a39ee7c" + ], + "packets": 1, + "specified_fixture_packets": 1 + } + }, + "general_missing_family_count_retained": 10, + "full_scopes_newly_eligible": 0, + "reference_error_policy": "Limits may be specified before a reference run. Unknown uncertainty stays null and blocks activation; default share1/3, all stronger channel rules and original1/12 allocations remain. No unused spatial share is redistributed.", + "fixed_discrete_spatial_bias": "not_applicable_to_fixed_grid_target; this is not zero continuum error", + "analytic_references_regenerated": false, + "scientific_qualification_granted": false + }, + "comparison_scale_closure": { + "status": "prepared_pending_dependencies", + "source_HEAD": "7eab328b4024bc68604bf7e41283e8eb25c1e1ba", + "original_scope_count": 170, + "original_rule_count": 71, + "old_lane_contracts_with_complete_original_numeric_definition": 47, + "original_lane_operator_counts": { + "absolute_linf": 299, + "pointwise_relative_linf": 9, + "eq": 458, + "le": 468, + "ge": 71, + "relative_linf": 69 + }, + "new_concrete_case_closures": 9, + "closures_by_status": { + "numeric_definition_complete_for_original_named_target": 4, + "numeric_definition_complete_for_named_input": 2, + "source_scale_complete_original_contract_only": 2, + "units_and_normalization_complete_tolerance_pending": 1 + }, + "explicit_fixed_input_physical_definitions": 2, + "scopes_with_new_case_closures": 7, + "scope_gap_classifications": 170, + "new_reference_activations": 0, + "protected_thresholds_changed": false, + "reference_or_analytic_observables_generated": false, + "evidence": "test/ArchitectureRefactor/Stage00/ComparisonScaleClosureV1/Report.json" + }, + "thermal_channel_criteria_freeze": { + "source_id": "thermal_channel_freeze", + "scope_id": "scope-experiment-06dfc808cd746b55", + "case_id": "thermal_linear_transient_200s_41", + "old_scope_sha256": "191b1f3abaa7e9d9dd2c94b44887c82ac822ad78ca2c2d5d1a54b1d8f0a15b99", + "formal_source_update": { + "previous": { + "root": "archive", + "path": "plans/Impl/ArchitectureRefactorExecutionV1.md", + "sha256": "1285a8138d7f08c01e6145935659c822d14804e92926ce0db3dc04fb3aed6ea6" + }, + "current": { + "root": "archive", + "path": "plans/Impl/ArchitectureRefactorExecutionV1.md", + "sha256": "6445d0e6d3c53ae31933001eb1df0c73cd05baad27a4bcdfe88829bc56166627" + }, + "reason": "Root-authorized engineering policy additions in sections19.22/19.23; original scientific criterion citations are checked unchanged by the scope validator." + }, + "reference_qualified": false, + "scientific_gates_awarded": [] + }, + "sg_action_criteria_freeze": { + "scope_id": "scope-oracle-c398ee1f8377a8ac", + "case_id": "sg_original_three_node_frozen_actions", + "source_id": "sg_action_fixture", + "review_source_id": "sg_action_review", + "old_scope_sha256": "7c1354aceb4ac58b579f6340494df7cc0928d6a085fa67f4a67da97097dbbb1f", + "reference_qualified": false, + "scientific_gates_awarded": [] + }, + "four_case_definition_closure": { + "schema": "solarlab.four-case-numeric-closure.v1", + "source_HEAD": "c214679898105a0e5d82d61f2d064744d5e767aa", + "status": "prospective_definitions_implemented_pending_independent_delta_review", + "scope_ids": [ + "scope-benchmark-d84b2405628c3df6", + "scope-oracle-23a290eced9bdb76", + "scope-experiment-ddece0c2ae0c1f35", + "scope-experiment-d99a1dd374330649" + ], + "sources": [ + "four_case_proposal", + "four_case_amendments", + "four_case_amendment_review", + "four_case_arithmetic" + ], + "comparator": { + "source_id": "four_case_comparator", + "symbol": "compare_case" + }, + "definition_validator": { + "source_id": "four_case_comparator", + "symbol": "validate_case_definition" + }, + "previous_summary_sections": "Historical preparation counts retain their original source_HEAD; this section records the four additional numeric completions.", + "reference_errors_measured": false, + "reference_qualified": false, + "active_comparison": null, + "G0_awarded": false, + "SCAPS_HI_unchanged": true + } +} diff --git a/reproducibility/RefactorCoverageV1.json b/reproducibility/RefactorCoverageV1.json new file mode 100644 index 00000000..84b6a45d --- /dev/null +++ b/reproducibility/RefactorCoverageV1.json @@ -0,0 +1,9911 @@ +{ +"schema": "solarlab.refactor.coverage.v1", +"artifact_version": 1, +"generated_at_utc": "2026-10-05T08:25:34Z", +"task": { + "run_id": "run_b01db3902366", + "task_id": "task_00824ceee79e", + "dispatch_id": "ctx_3e32a5288f04", + "plan_task": "P00-02", + "next_task_prepared": "P02-01" +}, +"source": { + "repo_root": "/Users/bytedance/Intern/SolarLab", + "archive_root": "/Users/bytedance/Library/Mobile Documents/com~apple~CloudDocs/projects/solarlab", + "branch": "devel", + "head": "37ff3639291018d9bb7203bd9f8fa0b4ebf66a59", + "initial_head": "99dcc1f1ea9272622d974096290fd4b0830aa805", + "initial_git_status": [ + "?? .codex/" + ], + "integrator_commit_changes": [ + "CLAUDE.md" + ], + "concurrent_untracked_excluded": [ + "tests/fixtures/refactor/R1FailureWitnessV1.json", + "tests/numerical_contracts/AnalyticGatesV1.json", + "tests/refactor/reference_comparison.py", + "tests/refactor/test_reference_comparison.py" + ], + "source_scope": "All 1258 tracked files outside .claude/; .codex/ and agent settings excluded; actual file bytes read, not historical counts", + "source_drift_since_scan": [ + "README.md" + ], + "runtime_turn_context": { + "source_path": "/Users/bytedance/.codex/sessions/2026/10/05/rollout-2026-10-05T16-00-03-01a10b13-b570-7e41-98ae-b99a5bd30760.jsonl", + "source_line": 8, + "recorded_at": "2026-10-05T08:00:49.810Z", + "turn_id": "01a10b14-69d9-7b41-954b-c2761918fca8", + "cwd": "/Users/bytedance/Intern/SolarLab", + "model": "gpt-6-astra", + "effort": "max", + "approval_policy": "never", + "sandbox_policy": { + "type": "danger-full-access" + }, + "effective_collaboration_model": "gpt-6-astra", + "effective_collaboration_effort": "max" + }, + "access_probe": { + "checked_at_utc": "2026-10-05T08:01:41Z", + "repo_read_write_delete": true, + "archive_read_write_delete": true, + "temp_read_write_delete": true, + "probe_files_removed": true, + "network": { + "method": "HEAD", + "url": "https://pypi.org/simple/pip/", + "status": 200, + "body_read": false + } + }, + "plan_path": "/Users/bytedance/Library/Mobile Documents/com~apple~CloudDocs/projects/solarlab/plans/Impl/ArchitectureRefactorExecutionV1.md", + "plan_sha256": "48b56de1af9d47b1e42be5ef3025caec9eaa7e89a02f65e1b0d883381f8fb4b6", + "prior_evidence_reused": [ + { + "path": "/Users/bytedance/Library/Mobile Documents/com~apple~CloudDocs/projects/solarlab/plans/Notes/ArchitectureRefactorEvidenceV1/ArchiveDigest.md", + "sha256": "8aa0ab359bc13596edf1c293594116963b6bad5488f80500ee75e28e37607aac", + "use": "leads only; current source and runtime probes override historical counts/claims" + }, + { + "path": "/Users/bytedance/Library/Mobile Documents/com~apple~CloudDocs/projects/solarlab/plans/Notes/ArchitectureRefactorEvidenceV1/Experiments.md", + "sha256": "4508fbe95439098a2709ecb9d062f023283f1e5fc52073de4c81cbea7f4a98fe", + "use": "leads only; current source and runtime probes override historical counts/claims" + }, + { + "path": "/Users/bytedance/Library/Mobile Documents/com~apple~CloudDocs/projects/solarlab/plans/Notes/ArchitectureRefactorEvidenceV1/ExternalSurvey.md", + "sha256": "a43e4ac7b1927edf22a9e6d8a0edce79d8985b681ec948ad0e95ac5ed310aac5", + "use": "leads only; current source and runtime probes override historical counts/claims" + }, + { + "path": "/Users/bytedance/Library/Mobile Documents/com~apple~CloudDocs/projects/solarlab/plans/Notes/ArchitectureRefactorEvidenceV1/Literature.md", + "sha256": "9bb4141ea2fe4bb3ec825b917a17ebd7c6120d0a34d6d85410deabe3eaa48432", + "use": "leads only; current source and runtime probes override historical counts/claims" + }, + { + "path": "/Users/bytedance/Library/Mobile Documents/com~apple~CloudDocs/projects/solarlab/plans/Notes/ArchitectureRefactorEvidenceV1/ModelsConfig.md", + "sha256": "9c2db7e7dc6c0785337bf0f2ee6382af5e7d3ae71063a610100caf92a55349a4", + "use": "leads only; current source and runtime probes override historical counts/claims" + }, + { + "path": "/Users/bytedance/Library/Mobile Documents/com~apple~CloudDocs/projects/solarlab/plans/Notes/ArchitectureRefactorEvidenceV1/Performance.md", + "sha256": "9b933706011a7e39ace82439ec3aa6d857f5ebe7a8e4a2eb30b1aa7ad0971f86", + "use": "leads only; current source and runtime probes override historical counts/claims" + }, + { + "path": "/Users/bytedance/Library/Mobile Documents/com~apple~CloudDocs/projects/solarlab/plans/Notes/ArchitectureRefactorEvidenceV1/SolverPhysics.md", + "sha256": "3d91949d78a57d98ae60b1b3679bc5fb686269995b7cf61cbe1f4d0f1e554ec9", + "use": "leads only; current source and runtime probes override historical counts/claims" + }, + { + "path": "/Users/bytedance/Library/Mobile Documents/com~apple~CloudDocs/projects/solarlab/plans/Notes/ArchitectureRefactorEvidenceV1/StaticMetrics.md", + "sha256": "b0dc7a5062e95e540d19bf5e09659aff4d5a2b6ec7f83ca75cd9f92176e2c03b", + "use": "leads only; current source and runtime probes override historical counts/claims" + }, + { + "path": "/Users/bytedance/Library/Mobile Documents/com~apple~CloudDocs/projects/solarlab/plans/Notes/ArchitectureRefactorEvidenceV1/TwodBackendFrontend.md", + "sha256": "51c02cd5d90fdbf200d7a398711bb664af427a76c62e46f678523daed6642284", + "use": "leads only; current source and runtime probes override historical counts/claims" + } + ], + "concurrent_documentation_updates": [ + { + "path": "README.md", + "before_sha256": "11aa71bb17fd50df55f1a4a5ead76ac22119ecab6886b0e98ea833b7f362e6db", + "observed_sha256": "86f37485da817e61b922a9268b6a360344c0acd566416f156c8bcfa9ccafc201", + "scope": "concurrent documentation only", + "new_references": [ + "tests/fixtures/refactor/R1FailureWitnessV1.json", + "scripts/benchmarks/diagnose_r1_saved_failure.py" + ] + } + ], + "coordinator_baseline_delta": { + "message_id": "msg_5ad72334cb36", + "head": "37ff3639291018d9bb7203bd9f8fa0b4ebf66a59", + "observed_plan_sha256": "8acd5423e1ab6c16ba517c2e3380df7d74489c9fbe17af84a62caa65a9ae8b33", + "scope": "Concurrent documentation/local T1 scheduling supplement; no computational source/config/contract or original evidence changed according to coordinator. Existing plan_sha256/task_catalog preserve the inventory planning snapshot.", + "concurrent_new_paths": [ + "tests/numerical_contracts/AnalyticGatesV1.json", + "tests/fixtures/refactor/R1FailureWitnessV1.json", + "scripts/benchmarks/diagnose_r1_saved_failure.py", + "test/ArchitectureRefactor/Stage02/ContractDesignV1.md" + ], + "gate_status": "Global G0/G2 remain not passed; local T1 readiness does not authorize production migration or tolerance changes." + } +}, +"policy": { + "status": "inventory_complete_for_review; no migration or scientific qualification claimed", + "ids": "Stable kind-prefixed SHA-256(origin_key) first 16 hex characters; origin_key retained on every item. IDs never depend on row order or line number. Consumer/test/task references use these exact IDs.", + "default_disposition_status": "inventoried_not_migrated", + "retirement_allowed_now": false, + "routes": "Each source/capability route_id resolves to disposition, concrete proposed target paths, migration tasks and gate IDs in migration_routes. Targets do not yet exist unless expressly retained.", + "consumers": "Canonical consumer/test relationships occur once in discovery.consumer_edges; use source_id -> target_id, with locations and relation kind. Sources/capabilities carry the same stable IDs; test nodes are explicit capabilities.", + "historical_lineage": "Frozen historical source snapshots and controllers are in discovery.historical_lineage, excluded from active migration item counts; support documentation scripts remain active index sources.", + "scientific_claim": "No simulation, new reference, performance result or R1 qualification is produced. Registry statuses are inherited assertions; cold import/loader/guard success is engineering evidence only.", + "tests": "Only the seven listed guard tests were executed; inherited registry pass/certified labels are not new results.", + "concurrent_work": "Baseline source/consumer scan remains pinned; concurrently added witness/comparator files belong to their dispatched workers and are excluded. The README append is source-hashed and its two new references explicitly recorded." +}, +"summary": { + "active_sources": 1273, + "active_capability_records": 7868, + "active_consumer_edges": 31109, + "migration_routes": 1360, + "counts_by_capability_kind": { + "benchmark_registration": 44, + "capability_or_schema_rejection": 647, + "certificate_executor": 34, + "configured_model_combination": 55, + "dynamic_consumer_site": 87, + "environment_behavior_or_execution_setting": 32, + "experiment_callable": 70, + "frontend_export": 302, + "http_route": 16, + "independent_or_reference_oracle": 9, + "job_dispatch_kind": 16, + "public_export": 1218, + "pydantic_runtime_schema": 27, + "python_callable": 3991, + "python_class": 647, + "registered_input_schema": 6, + "registered_model_driver_protocol_combination": 47, + "registered_resource": 21, + "registered_test_node": 217, + "reviewed_model_or_combination_boundary": 28, + "schema_or_dispatch_constant": 99, + "typed_input_output_state_contract": 255 + }, + "python_files_parsed": 906, + "notebook_code_files_parsed": 4, + "typescript_javascript_files_parsed": 122, + "registered_configs": 55, + "shipped_api_configs": 3, + "refinement_lanes": 47, + "unique_refinement_executors": 34, + "benchmarks": 44, + "resources": 21, + "registered_input_schemas": 6, + "benchmark_explicit_node_occurrences": 218, + "benchmark_command_node_occurrences": 12, + "benchmark_all_node_occurrences": 230, + "unique_benchmark_test_nodes": 217, + "historical_217_interpretation": "217 is freshly confirmed unique active test nodes; 218 explicit references plus 12 tokenized command references all resolve to these same 217 nodes. Full command strings are not additional test IDs.", + "historical_lineage_records": 4433, + "archive_scanned_script_paths": 4448, + "archive_unique_source_contents": 1934, + "all_64_plan_tasks_mapped": true, + "unresolved_gap_ids": [ + "GAP-PYTHON-LOWEST", + "GAP-ENV-TOOLING", + "GAP-IDA-CONTRACT", + "GAP-RESEARCH-BOUNDARY", + "GAP-2D-CLOSURE", + "GAP-ARCHIVE-REBIND", + "GAP-ARCHIVE-NONPYTHON", + "GAP-STATIC-DYNAMIC-LIMIT", + "GAP-SPECTRAL-BL", + "GAP-SCIENTIFIC-REFERENCE", + "GAP-DORMANT-PUBLIC-APIS", + "GAP-ORACLE-INDEPENDENCE" + ] +}, +"discovery_evidence": { + "path": "/Users/bytedance/Library/Mobile Documents/com~apple~CloudDocs/projects/solarlab/test/ArchitectureRefactor/Stage00/ConsumerDiscoveryV1.json", + "sha256": "3713816554995bd90b36f3aa92ba720a90c4152be659b59639a528e3a5c5772f", + "schema": "solarlab.refactor.discovery.v1", + "contains": [ + "consumer_edges", + "callable and schema detail", + "historical_lineage", + "checks and exact invocations", + "parser/probe source" + ] +}, +"sources": [ +{"id":"archive-59170c3579350ef7","kind":"archive_support_documentation_script","current_path":"deck-src/MakeFigs.py","route_id":"route-4ae7a164802bba6a","path_base":"archive","sha256":"7913c1a582906cd930b585db4b353e6a62f3bf9bf5d4ca3888ab122cefa90c03","archive_content_scan_id":"7913c1a582906cd930b585db4b353e6a62f3bf9bf5d4ca3888ab122cefa90c03"}, +{"id":"archive-f6ea7b7038de5ce6","kind":"archive_support_documentation_script","current_path":"deck-src/MakeGridFig.py","route_id":"route-ea5b4616e71eb697","path_base":"archive","sha256":"f405e6f0a90b3aac70794d20e86a24090198db9e2eca6087af28f1cf8ed72c73","archive_content_scan_id":"f405e6f0a90b3aac70794d20e86a24090198db9e2eca6087af28f1cf8ed72c73"}, +{"id":"archive-e29e9c93f0750a3e","kind":"archive_support_documentation_script","current_path":"deck-src/Replot/Replot2d.py","route_id":"route-f6663484cd350014","path_base":"archive","sha256":"a7774c7c8e446fa286491aaa7e4fefb56d89072b3b2324cc641bff48bcbe254f","archive_content_scan_id":"a7774c7c8e446fa286491aaa7e4fefb56d89072b3b2324cc641bff48bcbe254f"}, +{"id":"archive-4af0c902e8b8cfc2","kind":"archive_support_documentation_script","current_path":"deck-src/Replot/ReplotSweeps.py","route_id":"route-c302fdc35859bb14","path_base":"archive","sha256":"e2e3bc838696d1965a1502e981c8702888fcb13576eb729d441d7c311aff3e6c","archive_content_scan_id":"e2e3bc838696d1965a1502e981c8702888fcb13576eb729d441d7c311aff3e6c"}, +{"id":"archive-1642e5608507585f","kind":"archive_support_documentation_script","current_path":"develop/Manual/Figures/MakeBoundaryConditions2dFigure.py","route_id":"route-3ecd898231f598f3","path_base":"archive","sha256":"e0c6c07b04c5fadff516ce3b6a73fa0158251a3b5aa8375211b27daff29e9c4b","archive_content_scan_id":"e0c6c07b04c5fadff516ce3b6a73fa0158251a3b5aa8375211b27daff29e9c4b"}, +{"id":"archive-6d48fdde368c2471","kind":"archive_support_documentation_script","current_path":"develop/Manual/Figures/MakeDarkToLightChargeMapAnimation.py","route_id":"route-eab09c2def1bd583","path_base":"archive","sha256":"e061b25126334306cefa6c7365950c1ad340efed5b1a10caa308f71ec517c1c7","archive_content_scan_id":"e061b25126334306cefa6c7365950c1ad340efed5b1a10caa308f71ec517c1c7"}, +{"id":"archive-160f570635cc15c7","kind":"archive_support_documentation_script","current_path":"develop/Manual/Figures/MakeInitialConditionAnimation.py","route_id":"route-f0901dc497ff9199","path_base":"archive","sha256":"4fc4dafb9913ac2df3f189c0df89ed1142da5b4aa7a7b1e3e4bad2bd6e39d64d","archive_content_scan_id":"4fc4dafb9913ac2df3f189c0df89ed1142da5b4aa7a7b1e3e4bad2bd6e39d64d"}, +{"id":"archive-a5b44a385166df93","kind":"archive_support_documentation_script","current_path":"develop/Manual/Figures/MakeJvStepwiseSweepAnimation.py","route_id":"route-6fbabdc449c5d0ed","path_base":"archive","sha256":"a89eff9870b0ce12d9f7e506fe211fb4a34b1c5bcdd19015071939de38afd9d0","archive_content_scan_id":"a89eff9870b0ce12d9f7e506fe211fb4a34b1c5bcdd19015071939de38afd9d0"}, +{"id":"archive-649a59e76b84923b","kind":"archive_support_documentation_script","current_path":"develop/Manual/Figures/MakeRadauStageAnimation.py","route_id":"route-7255052cab63e913","path_base":"archive","sha256":"a1c6891984ee29c6a6bbf891d779c6b290165fb141ce34d7926639a7aa093287","archive_content_scan_id":"a1c6891984ee29c6a6bbf891d779c6b290165fb141ce34d7926639a7aa093287"}, +{"id":"archive-5f4abee72569e1eb","kind":"archive_support_documentation_script","current_path":"develop/Manual/Figures/MakeRadauTransientSolveFigure.py","route_id":"route-03bb29fe0b0e9faa","path_base":"archive","sha256":"d64c546aeaf86e04e2b25ef954144a6257773c8c1da940533b110d944f384f89","archive_content_scan_id":"d64c546aeaf86e04e2b25ef954144a6257773c8c1da940533b110d944f384f89"}, +{"id":"archive-b0f0c0e3d53f5513","kind":"archive_support_documentation_script","current_path":"develop/Manual/Figures/MakeRhsAssemblyAnimation.py","route_id":"route-7b54a0d18d56543b","path_base":"archive","sha256":"3ca78baf1dcd72f2323dbb44b241cf89ae247cc91780d9d3185cdb3fc9891a48","archive_content_scan_id":"3ca78baf1dcd72f2323dbb44b241cf89ae247cc91780d9d3185cdb3fc9891a48"}, +{"id":"archive-1f9ce774ef18b3bb","kind":"archive_support_documentation_script","current_path":"develop/Manual/Figures/MakeScaps1dInputParameterTable.py","route_id":"route-1591466e93d611ff","path_base":"archive","sha256":"9220be28372d96164b0935380577f6513623f9012544364e8fb482ea269157bf","archive_content_scan_id":"9220be28372d96164b0935380577f6513623f9012544364e8fb482ea269157bf"}, +{"id":"archive-740ec08e450baad4","kind":"archive_support_documentation_script","current_path":"develop/Manual/ManualFigures.py","route_id":"route-cfb782aba94dc85c","path_base":"archive","sha256":"c6736adb87e6c6b7a2b1a7067916c1cc32474f37f897151fec85a1ff1be69634","archive_content_scan_id":"c6736adb87e6c6b7a2b1a7067916c1cc32474f37f897151fec85a1ff1be69634"}, +{"id":"archive-60f204a8ac37e000","kind":"archive_support_documentation_script","current_path":"figures/ScapsIfaceSrhExplainer/MakeIfaceSrh.py","route_id":"route-4b252d46bb322d9d","path_base":"archive","sha256":"408f177db5fb49e46d4892f0bad6e5fd88442ac0d3f7d2a79a0eb7a8b93cc3f3","archive_content_scan_id":"408f177db5fb49e46d4892f0bad6e5fd88442ac0d3f7d2a79a0eb7a8b93cc3f3"}, +{"id":"archive-bb35687759274aba","kind":"archive_support_documentation_script","current_path":"figures/ScapsIfaceSrhExplainer/MakeSolverGap.py","route_id":"route-401cce2bbabecc3f","path_base":"archive","sha256":"e1638f1b62d0be1c8b7e6da69c7e496707b7d8417f5cbb67c665180b5e336c0b","archive_content_scan_id":"e1638f1b62d0be1c8b7e6da69c7e496707b7d8417f5cbb67c665180b5e336c0b"}, +{"id":"file-d0d2f225970fe2f3","kind":"repository_file","current_path":".dockerignore","route_id":"route-d0a3daead14b27f7","sha256":"66be6c74fb28d3b6421c4af3c1ea477e0d81ce0e187bd0a324f4dd0d5cc12139"}, +{"id":"file-239ec307db19bd87","kind":"repository_file","current_path":".githooks/commit-msg","route_id":"route-7e85ec10735f2fac","sha256":"80ec94590aadcc9aae9a034b566e6c07b84af746d6a70f7ad42cab55fee5b548"}, +{"id":"file-dfaa9a79675e5b61","kind":"repository_file","current_path":".gitignore","route_id":"route-ab4c1540ac23006e","sha256":"ff09dc495db0e31a1d76b986c369265439c726bc2e092e91234a379df8bdec1d"}, +{"id":"file-49e344b5f45fd71a","kind":"repository_file","current_path":"CLAUDE.md","route_id":"route-feaa4b6fb18e1247","sha256":"5d29a5e96e1121f2df74927c077114711c4ea158e1c98148d8b01feab92bddea"}, +{"id":"file-42c59af8a4bae559","kind":"repository_file","current_path":"README.md","route_id":"route-c6e7ebdaa223a058","sha256":"86f37485da817e61b922a9268b6a360344c0acd566416f156c8bcfa9ccafc201","initial_scan_sha256":"11aa71bb17fd50df55f1a4a5ead76ac22119ecab6886b0e98ea833b7f362e6db","concurrent_update":"Witness worker appended source-bound 183/309 documentation after primary scan; old numerical source unchanged."}, +{"id":"file-e8e11c55d2ec4c09","kind":"repository_file","current_path":"docker-compose.yml","route_id":"route-816d5808800a9b01","sha256":"0738dd49f41d7a7b105d39320af84b5395ff1b24c03c7827def25dc81d6b0ccf"}, +{"id":"file-21bf5d4503ae715d","kind":"repository_file","current_path":"docs/figures/ArchitectureFlow.png","route_id":"route-55c5b80df0106a0c","sha256":"bf28bd493b4701c4725fa88483117e91c76aee15aab3b5d6268a8fda84a3b4ac"}, +{"id":"file-41f67148840e56f9","kind":"repository_file","current_path":"docs/figures/BandInterfaceConvention.png","route_id":"route-1db0e8fa6451b75f","sha256":"c6016e79093ad0b7e77c44d83bd8a717cd1d8a3f054b1a0c0c6d5c66814ac1dc"}, +{"id":"file-0b1fec72ad6301d9","kind":"repository_file","current_path":"docs/figures/Calado16Fig1fJVV1.png","route_id":"route-2a50e7c6a27b67d4","sha256":"081228e1c08b6f9f277aa73ec02fbacc487b1b75ae390dfa956e5e77e92bfd03"}, +{"id":"file-f43f4bf650ca9a47","kind":"repository_file","current_path":"docs/figures/Calado16Fig1fScanRateV1.png","route_id":"route-8d457418af82dd99","sha256":"ba7ba5f88cd80378fbbdaa0799845a13db1fc7cb3771a31d54bfce7dae9a2221"}, +{"id":"file-409de800cbb5ee2d","kind":"repository_file","current_path":"docs/figures/CboInterfaceValidation.png","route_id":"route-85a1f5d5c8a74724","sha256":"fc49d9695cd8d33a15c585c4dfef6bcc29d44ddfe98a2a7c0f7767eb221fd35d"}, +{"id":"file-816386c94a7bc6ac","kind":"repository_file","current_path":"docs/figures/CsiQfConvergence.png","route_id":"route-648549fbf1f5e8f0","sha256":"e9506b255c9218ca153a3a696ccdfe6ee007926255628c8c9b6f10a44dd63232"}, +{"id":"file-c4ab711dbc62d62f","kind":"repository_file","current_path":"docs/figures/DeviceContactBoundary.png","route_id":"route-ac66091cbd172b46","sha256":"4a18159b87326b75b7cbc10bac79d13b5fc381c14b6c64cd37b2aecd4a6b5d12"}, +{"id":"file-912bc912b7c22131","kind":"repository_file","current_path":"docs/figures/SolverTopology.png","route_id":"route-62fa190631c10a2f","sha256":"25cc5563c11e56455e54ccd88f75febb52971c4998f1c572be39d6ff92fde17f"}, +{"id":"file-88dadba8be3a79ed","kind":"repository_file","current_path":"docs/figures/TwodScope.png","route_id":"route-c10fed85e1b32d65","sha256":"2337e7200a713cf00ac3728ebc717a70308109adf9b9651d45de4fae6e52ffad"}, +{"id":"file-139864f80d217070","kind":"repository_file","current_path":"perovskite-sim/.gitignore","route_id":"route-ab4c1540ac23006e","sha256":"5d28d75e59afaf74f52d0413797eab9f87fd3acdb9defda403764af79e4e738c"}, +{"id":"file-cc622c5cfe99a4ed","kind":"repository_file","current_path":"perovskite-sim/CLAUDE.md","route_id":"route-feaa4b6fb18e1247","sha256":"ed1f669104e424ffaf3c6b1b9c1c151507cdd8c22a752b9cce1ae2b2c94aaef9"}, +{"id":"file-235affbb349c039f","kind":"repository_file","current_path":"perovskite-sim/Dockerfile.backend","route_id":"route-816d5808800a9b01","sha256":"ac4200f8c1484527f5901c4d5aaa96b98a88fb27268efb16359bbb4c7e787e14"}, +{"id":"file-10fa3394e6e8e3bc","kind":"repository_file","current_path":"perovskite-sim/README.md","route_id":"route-c6e7ebdaa223a058","sha256":"b3de9ba74ebed4d2bfe9cd922282173e4018b9936bbf1e48112151620f76e40c"}, +{"id":"file-47cf78a8dc575377","kind":"repository_file","current_path":"perovskite-sim/backend/README.md","route_id":"route-b022114458be9707","sha256":"9d1c4f363ee7b00813e5964099ab7b32a34ed9f80b1775775be7d0bb8a2e040f"}, +{"id":"file-4d5deb6763bd34e7","kind":"python_module","current_path":"perovskite-sim/backend/api_schema.py","route_id":"route-8b705c7e01d821a0","sha256":"8e56d681889a3014b14e35e9b8ed6f35e8b88038d6d404b350cb41fe534c15bd"}, +{"id":"file-404a7fd9c461395d","kind":"python_module","current_path":"perovskite-sim/backend/celery_app.py","route_id":"route-ed2463e7dc9ab7d3","sha256":"b03fe2ae247ab8c641057692775305665ef406c070cf98b752f1eba8721260ab"}, +{"id":"file-f9aa6bae8a653f03","kind":"python_module","current_path":"perovskite-sim/backend/jobs.py","route_id":"route-3a78de72720cb482","sha256":"73d6076c07b51395c75e47d96c546790595aa256cf822efc420aa789960d9691"}, +{"id":"file-08de9384d1be0c19","kind":"python_module","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","sha256":"7dd1292f6f34f0f065a50686802c20a8484edcc9e4a7d98287799c076f9da01f"}, +{"id":"file-cb9facc3a612f131","kind":"python_module","current_path":"perovskite-sim/backend/progress.py","route_id":"route-3a78de72720cb482","sha256":"ab44e1cfb0170d2532a10fe64da3da9c88b8c20838f66462b85290a5d15113a0"}, +{"id":"file-6f31e8f0309417a0","kind":"repository_file","current_path":"perovskite-sim/backend/requirements-celery.txt","route_id":"route-ed2463e7dc9ab7d3","sha256":"9389ffdfe8a74e00ce2cac7e642bc7abbda2c9a811d90ef1bf01cc8bb1c2e87f"}, +{"id":"file-5ca2d7bf04153fc5","kind":"repository_file","current_path":"perovskite-sim/backend/requirements.txt","route_id":"route-9ac1596662416255","sha256":"72b278f70f7edca3c5a92210a55f25672ae035c9e959880f89956ad5bdfd74b8"}, +{"id":"file-f870200831740f00","kind":"test_module","current_path":"perovskite-sim/backend/test_e2e_api.py","route_id":"route-c0307914ea40351d","sha256":"41f0e2ab27c7e1e3620cb0efd0ba5d36485588107ea3725905e29eb5345bc425"}, +{"id":"file-f2a85f12b36b9c11","kind":"python_module","current_path":"perovskite-sim/backend/user_configs.py","route_id":"route-0f115e12b65bb761","sha256":"f9bac4ae9570a7b70784bbfda40cd588348d73f68a317ef5a621ef999d419dad"}, +{"id":"file-6bad703e48609ffa","kind":"repository_file","current_path":"perovskite-sim/configs/README.md","route_id":"route-76b80d8d0340a0f2","sha256":"cc0a30de774c440a61fb2b8c1a1e909c0b46532255fbc2f4ec8952c2005b6cb5"}, +{"id":"file-61378849a045792d","kind":"repository_file","current_path":"perovskite-sim/configs/calado2016_fig1f.yaml","route_id":"route-310acb5aa128b161","sha256":"825d77f15bcfb3e550cc601231a9b6ce07ca11fe185a3eb7d7ef121d54c0ec2a"}, +{"id":"file-04725538c6c6a79f","kind":"repository_file","current_path":"perovskite-sim/configs/calado2016_ion_sweep.yaml","route_id":"route-7472798ebe5d8f74","sha256":"2b436f161a62c9edb2f0b1bbbcf0d2d6a5f27471d2a5d296952173c4baadea9c"}, +{"id":"file-8b92b5a3ee96fd76","kind":"repository_file","current_path":"perovskite-sim/configs/scaps_mirror_v2.yaml","route_id":"route-84c80fa1daa339dc","sha256":"5500c9485f6a9518430511019546933277cdc3274fd3a005182394f39d2fcf67"}, +{"id":"file-3ebee3258ac37863","kind":"repository_file","current_path":"perovskite-sim/docs/AcceptedTrajectoryValidationContractV1.md","route_id":"route-86b16e395b38a3fe","sha256":"66cf2e15bcd19bd842f76ecc3799d76275391499ff8f44f144efcbee1dbb2e94"}, +{"id":"file-6cb3d607a9bb3383","kind":"repository_file","current_path":"perovskite-sim/docs/BandGapNarrowingClosure.md","route_id":"route-d05ab487b94a0c62","sha256":"62929449b2d1466aa2b14db5954651059d67d9c1260244bfc7cc8437f47baa91"}, +{"id":"file-96cbb5bba4012334","kind":"repository_file","current_path":"perovskite-sim/docs/BulkTrapEnergyDistributionClosure.md","route_id":"route-a72b0c66a4f622cb","sha256":"d5a571c44d281a8fff80ff6a621c4be03594d276e344a03a3f819f24dc1067b6"}, +{"id":"file-dbf1cf7d9ab499cd","kind":"repository_file","current_path":"perovskite-sim/docs/Calado2016ReproductionCheckpoint.md","route_id":"route-e087fdbc3cc551ed","sha256":"ff320cc1c9e1dd215ab9ea4fd79a2738e68208eca480e1851e2bd0cf0017a089"}, +{"id":"file-be26f5107fbee477","kind":"repository_file","current_path":"perovskite-sim/docs/ChargedExplicitDefectQfDc.md","route_id":"route-a9d85d1f1e29c214","sha256":"1c1246c8d976d64bbb287f1446692ad7a36f8b8940211b0272338230e2bece4f"}, +{"id":"file-0c998ecff231a1d9","kind":"repository_file","current_path":"perovskite-sim/docs/CigsGradedOptics.md","route_id":"route-4dea08d69f02c599","sha256":"e1f0edfb877058274f7b07fedb5411d823ca43afc5822082be794cd5920332c7"}, +{"id":"file-6c17f6ade0e3eed4","kind":"repository_file","current_path":"perovskite-sim/docs/ComponentwiseTolerancePolicy.md","route_id":"route-786062be07417958","sha256":"3bc92803fcc3c97f23415ce088ee2570640719d90a2df3dfa35fa2219e3c0d82"}, +{"id":"file-f5ce85dc600d4b97","kind":"repository_file","current_path":"perovskite-sim/docs/DaeResearchBackbone.md","route_id":"route-a25b473227459389","sha256":"fb569929566c538b41b09a9c6d214d486dab9ed144cdbe6e9d40e13cbd41e384"}, +{"id":"file-c586bf58b8aad327","kind":"repository_file","current_path":"perovskite-sim/docs/DegenerateSemiconductorClosure.md","route_id":"route-a80d5cf4dc90950d","sha256":"dceb9281de11b383656bc97bc2526d389313be2516356cc61a8303af2dd4bc00"}, +{"id":"file-77902e3100e974a6","kind":"repository_file","current_path":"perovskite-sim/docs/DockerDevelopment.md","route_id":"route-8ddf6297aea3744d","sha256":"f52fb3fc53d0b3145e407081d776405e4dc97821b8d0a383d6bfd34043b2a184"}, +{"id":"file-927bcd6d2e325fa9","kind":"repository_file","current_path":"perovskite-sim/docs/DynamicBulkDefectDeviceAc.md","route_id":"route-344626bf7a3ca19e","sha256":"f4c6f3a285833cc7421c877d9806adaac60ed700c67bd89f9230745cee373144"}, +{"id":"file-d5e8e099bbc5f095","kind":"repository_file","current_path":"perovskite-sim/docs/DynamicDefectIonCombinedDeviceAc.md","route_id":"route-2136cfe263b7c994","sha256":"75c7c273858adb475f669f9316589b2ef74bc55436b56e8ca2f098094c3c9321"}, +{"id":"file-abdb2e9e2303af10","kind":"repository_file","current_path":"perovskite-sim/docs/DynamicInterfaceDefectDeviceAc.md","route_id":"route-de1ebf7a6933ac0f","sha256":"e3b11b0b525d333d1bae9c5fafa9a289f9a6708f2ded59cde0cf06bc28d22f40"}, +{"id":"file-3969c9657272fd79","kind":"repository_file","current_path":"perovskite-sim/docs/DynamicTrapTransient.md","route_id":"route-629765226f693cbe","sha256":"10c685a2c02c34638f53d927ab3f38d1a83f4b5d2afd513f3734e4c6836a03e9"}, +{"id":"file-3799b42f9f218195","kind":"repository_file","current_path":"perovskite-sim/docs/ExperimentProtocol.md","route_id":"route-9858ab395bf2ddcb","sha256":"d832fc149cd2dfa4385a3a97d7690b89da1582b5c18b8c9589bb0538a9a24e54"}, +{"id":"file-ebc15c5be1c10ebe","kind":"repository_file","current_path":"perovskite-sim/docs/ExplicitDefectEnergyDistributionV2.md","route_id":"route-17e0fc083f3fc02f","sha256":"d0d4e2ca48606a34c115ff4306b538d90f98e29b4828e32a4eb58958257204cf"}, +{"id":"file-1d326826cf17a4f8","kind":"repository_file","current_path":"perovskite-sim/docs/ExplicitDefectSchemaV1.md","route_id":"route-2311edd55b9ece6d","sha256":"b926dfb2f53a0efa1263f72482db569505ceb2cb44725bcba5b20c71e9c247ff"}, +{"id":"file-bb58edf5629ea91c","kind":"repository_file","current_path":"perovskite-sim/docs/ExplicitDefectSpatialProfileV3.md","route_id":"route-7541539c2bfc8d67","sha256":"f295d56d306f1a3b069d8f47526caf345c30aa65c98ff503aa8f30514ffb4613"}, +{"id":"file-e4db6433fbe16a00","kind":"repository_file","current_path":"perovskite-sim/docs/ExplicitInterfaceDefectSchemaV1.md","route_id":"route-86d2206f88467751","sha256":"3caa995be94d9957372ee4a73017ba44ec65d237e00babd954925d2b4783050e"}, +{"id":"file-7dd65ab43437e4b2","kind":"repository_file","current_path":"perovskite-sim/docs/ExternalCircuitDc.md","route_id":"route-aa4ca41c388064f5","sha256":"76007590f0d6565b8f901e49b448da50dd4e05e945eaf17f33918b06c79a06a1"}, +{"id":"file-d2cb8594eeb5b1bd","kind":"repository_file","current_path":"perovskite-sim/docs/FoundationReferenceValidationContractV1.md","route_id":"route-df4d97bdcbbb7454","sha256":"473aaa7475783eeb55b6c3a873fa117d2e3aafeefc22f4c68d0db04a0f66d949"}, +{"id":"file-fac3eb107eab8d26","kind":"repository_file","current_path":"perovskite-sim/docs/FoundationReferenceValidationContractV2.md","route_id":"route-706c939efb102e21","sha256":"20800370c11788271797cafa7f236b16ed233c5ec05bb9ff1feaa49089cceb9b"}, +{"id":"file-6a5be6b474dd99ac","kind":"repository_file","current_path":"perovskite-sim/docs/FrozenIonSnapshotContract.md","route_id":"route-0de896147cb08493","sha256":"eb7f68aa69d6291103348be3e891c5f86158403fdfd53be1c7efdf9b18337d2c"}, +{"id":"file-de873ce1d5ac0a70","kind":"repository_file","current_path":"perovskite-sim/docs/InterfaceChargeClosurePolicy.md","route_id":"route-737ac052c881c663","sha256":"9c14eab939098b7ef141df5fb708327980d1fed73afa0b2a64b5aa4d3fa8ddf4"}, +{"id":"file-aca7c8649ccf72aa","kind":"repository_file","current_path":"perovskite-sim/docs/InterfaceDefectTransientIncrementContract.md","route_id":"route-8648d624f8696d73","sha256":"d379bdc36255836e54fbb2a4f736ba3e8a2f6acb2d0fac16a6fd5e0baa048e30"}, +{"id":"file-6fea4228ee789ba1","kind":"repository_file","current_path":"perovskite-sim/docs/InterfaceSrhIdentifiability.md","route_id":"route-0f51ebe61f1e1bf7","sha256":"f78e5c4ff900882beb2f5d4792661639942745cc913261c317500f4434442909"}, +{"id":"file-403dd50d9b5690fa","kind":"repository_file","current_path":"perovskite-sim/docs/IonAwareDcCertification.md","route_id":"route-cb94cc2049ad00d2","sha256":"7724a887406671a06723faf478e4ae773fbfc84867b746e89d55b0dee14c0660"}, +{"id":"file-8df2c9520b95d18c","kind":"repository_file","current_path":"perovskite-sim/docs/IonAwareImpedanceReferenceEngine.md","route_id":"route-67ffa8af1d5ae5d8","sha256":"7318468841493b101b90e0cb345beb5f5eccba29d25e42e5e43cf8c051136e43"}, +{"id":"file-4689dcee7c16866c","kind":"repository_file","current_path":"perovskite-sim/docs/IonAwareStructuredJacobianComparison.md","route_id":"route-7e2615488c5b051e","sha256":"052ae4c811d832cc013f5130bb7f9a220d62f7b41c42c6f005b54d3f13f59e51"}, +{"id":"file-6bc4d2c6e5f5d27a","kind":"repository_file","current_path":"perovskite-sim/docs/IonSweepFigureReference.md","route_id":"route-ae3140f09d711e0b","sha256":"a068a50962ed14a6863496c54e98bf4cdfaddcc623f74063ede9c7b20cc7f3ef"}, +{"id":"file-201b104e2d2556de","kind":"repository_file","current_path":"perovskite-sim/docs/MonovalentDefectClosure.md","route_id":"route-26f66c7f35957559","sha256":"cb89a3a16140b84da7b749c539281407bf6038100fb2c7b5725737fa351d49b8"}, +{"id":"file-da3d22bb648d8686","kind":"repository_file","current_path":"perovskite-sim/docs/MultivalentMetastableDefectContract.md","route_id":"route-9b61392471eb1818","sha256":"d62f6740f2a0abae4383eec35271b8912933dfb92d4ba0db38cf277724d50064"}, +{"id":"file-ec4db3eaee4c3890","kind":"repository_file","current_path":"perovskite-sim/docs/NumericalHealthDiagnostics.md","route_id":"route-5f7ff95e1d7a7980","sha256":"4461baf883167fb2a48476142b05ed0c93ca20cdd2008270a960160a1cf9078a"}, +{"id":"file-b0a78ab4fd55c5e2","kind":"repository_file","current_path":"perovskite-sim/docs/NumericalRefinementCertificates.md","route_id":"route-e15fe44fe7681ece","sha256":"dd5fe98dcf425654bfabc28f6be1f5edc662c38d169282c6f44f4b29b53b678d"}, +{"id":"file-deb74ab1929d3564","kind":"repository_file","current_path":"perovskite-sim/docs/OneDimensionalMechanismR0ProtocolV1.md","route_id":"route-a339e6d38d8d1e71","sha256":"62c736f7d7512d20b7ddbdcf9fb276452014b7f98a287e669ff95e31be2e7726"}, +{"id":"file-d1f28d4597dd0757","kind":"repository_file","current_path":"perovskite-sim/docs/OneDimensionalMechanismR1AdmittanceV1.md","route_id":"route-80e18433d414a7de","sha256":"c8a9132ed3fceb839e30c1c0b4cd46ed3b62f4f3ee93226418624748df7424f1"}, +{"id":"file-fa3125b708ef0c85","kind":"repository_file","current_path":"perovskite-sim/docs/OneDimensionalMechanismR1CurrentChecksV3.md","route_id":"route-a3af449b006b8f0e","sha256":"5c51a874b2ca68e46c7431154481a733ed97086d2a666b41e03bc7a6a14c3cb6"}, +{"id":"file-2f3e95cc75638fd3","kind":"repository_file","current_path":"perovskite-sim/docs/OneDimensionalMechanismR1DynamicsV1.md","route_id":"route-006b7c6813cf3595","sha256":"7ff99d96a49010b7ea44d9be86d9df40fca664fbdbcff0735fc00d9c4e8f784e"}, +{"id":"file-8cf26950b43c7b41","kind":"repository_file","current_path":"perovskite-sim/docs/OneDimensionalMechanismR1EvidenceBoundariesV3.md","route_id":"route-21e4b7437930901b","sha256":"c54b1bdabbaa912fada0a12de8a22617f9b8aa247b0fb5f926fa4010e3c8b12d"}, +{"id":"file-c32f52c1bb2977eb","kind":"repository_file","current_path":"perovskite-sim/docs/OneDimensionalMechanismR1EvidenceV5.md","route_id":"route-9ec8b30ecaedb9e3","sha256":"f4855d46ef1861d54daa8959e1d047bd31b764d72dc6b25c1b38505452264a1f"}, +{"id":"file-27081c24a8ebd06c","kind":"repository_file","current_path":"perovskite-sim/docs/OneDimensionalMechanismR1GeometryV1.md","route_id":"route-ce093401559267f9","sha256":"a00221bb11e111465e6164151351f0fe9c70c753d8d4958a6cbf1a22d743e6ee"}, +{"id":"file-63f6e702581cb301","kind":"repository_file","current_path":"perovskite-sim/docs/OneDimensionalMechanismR1InputLiftContinuationV1.md","route_id":"route-a891d4713719767d","sha256":"aea0f6453b7b3538246218e6f63c8a3fe25fc6d438b31ea9cb9de95b6d73b0a2"}, +{"id":"file-d599003f94250f48","kind":"repository_file","current_path":"perovskite-sim/docs/OneDimensionalMechanismR1OperatorCriterionDecisionV1.md","route_id":"route-c5c28040ca3311d2","sha256":"5593dfb1cf96893261932d5167d48ea104baf42425494feb9677c7e34d3c577b"}, +{"id":"file-6a78dbff54321ef8","kind":"repository_file","current_path":"perovskite-sim/docs/OneDimensionalMechanismR1OperatorCriterionDecisionV2.md","route_id":"route-a056577fb8946572","sha256":"659acb61ad5c457626300bf980b7b2208d67779a2691fbdb14d628dc6aec96e6"}, +{"id":"file-54f71cd530b4598d","kind":"repository_file","current_path":"perovskite-sim/docs/OneDimensionalMechanismR1PhysicsProtocolV1.md","route_id":"route-b399d45d6e496e92","sha256":"db790c70b18ae6090f925051a46468f4d178dea534197ab3c7a95de0d8c25d67"}, +{"id":"file-e46fb0ebf52ed30d","kind":"repository_file","current_path":"perovskite-sim/docs/OneDimensionalMechanismR1QualificationV1.md","route_id":"route-546140408f83644f","sha256":"33a57053266f5efdb949177a3a175aa26f2d6bd65d9d54c768469d087946f218"}, +{"id":"file-a3e51ab88c436da4","kind":"repository_file","current_path":"perovskite-sim/docs/OneDimensionalMechanismR1ResponseV1.md","route_id":"route-365784bbd7bfd7e7","sha256":"f0f161d763d53c8a42a622379229dbb24688dc5164325980bb57384b716bbbdb"}, +{"id":"file-f3c88ce4750d8981","kind":"repository_file","current_path":"perovskite-sim/docs/OneDimensionalMechanismR1SpatialV1.md","route_id":"route-b11dfbfe528584ec","sha256":"a56f3c22744b3f18dd5659f3b7883ac424b91f85b57c6b17cb359ecd62eba7bb"}, +{"id":"file-436597aa167b42c3","kind":"repository_file","current_path":"perovskite-sim/docs/OneDimensionalMechanismR1StudyRequestV1.md","route_id":"route-d7c4414b98a7fba0","sha256":"912c9a6c26b2ae31555838c4365b52cd0c8e8b8325c8cbbe1ed665aa7fae2e6a"}, +{"id":"file-df97160cf44c14f4","kind":"repository_file","current_path":"perovskite-sim/docs/Phase1ImplementationAndEvidence.md","route_id":"route-8bb8b012433c99aa","sha256":"26ae5033e4107d15add1a1cb92631b13899b611dc3ee189e805145c2c3e1b85e"}, +{"id":"file-e918711b4ceffb20","kind":"repository_file","current_path":"perovskite-sim/docs/PhysicalInterfaceCboScan.md","route_id":"route-244fbba9071d6199","sha256":"5e777e8bfad37d6454a735984c6de743fd925a2ace5f48192c0ba04ba548e3a4"}, +{"id":"file-e5cf4e11dfd5fe5e","kind":"repository_file","current_path":"perovskite-sim/docs/ResolvedIntrabandTunnellingContractV2.md","route_id":"route-bc98a6b5f65ed88a","sha256":"792c8021b79668ed35929692160065e015e68473854f0bd10e1ff36667f22d4e"}, +{"id":"file-26f0d768523c42e4","kind":"repository_file","current_path":"perovskite-sim/docs/RhsRegularizationPolicy.md","route_id":"route-8dafd390e916029a","sha256":"a5eef15843e0bb2856e22dd163432e95b9eca1a72678c69cc1e65cd3007f6d76"}, +{"id":"file-df51a1a37506beb6","kind":"repository_file","current_path":"perovskite-sim/docs/ScapsCboParameterManifestTemplate.json","route_id":"route-adb0c724a28498f9","sha256":"8337a0e75c727d4451e21595e306720089a8565120d83583779f5bb8a9083273"}, +{"id":"file-85d2618acc3b1d6a","kind":"repository_file","current_path":"perovskite-sim/docs/ScapsDefectComparisonPreregistration.md","route_id":"route-1a0e5d1f85802c7c","sha256":"f01a9d9fb7b52ecb58e4184a50ff86122a5c716c72ad2aabc8b4776c186f6067"}, +{"id":"file-67fb93e363450fb5","kind":"repository_file","current_path":"perovskite-sim/docs/ScapsDefectM1M3ReferenceProtocol.md","route_id":"route-efcb78f385b97c7a","sha256":"692361321febab2ddcb6eece75d533558ab50c1756f7f831d10fedd9bfa38b55"}, +{"id":"file-fa2d35fb69708a46","kind":"repository_file","current_path":"perovskite-sim/docs/ScapsDefectS0S2ReferenceProtocol.md","route_id":"route-45d2b4db07b35027","sha256":"82b5ac75ea34342b410f78b271573a041e232e662c2a45a48a7d1f04356a2988"}, +{"id":"file-4d6dcbebd4bdb5be","kind":"repository_file","current_path":"perovskite-sim/docs/ScapsM1M3CollectionSheet.md","route_id":"route-8ac8f3b3e9001fbd","sha256":"2873c4f1fc047c959b09580cc1807c9bd08f431db2a806870ce3f47086457703"}, +{"id":"file-988bcded55dbde28","kind":"repository_file","current_path":"perovskite-sim/docs/ScapsS0S2CollectionSheet.md","route_id":"route-abf48f96794369f2","sha256":"9dd3d729913898ea6c4e1554d60d281dd11b8bff5c0e383cc3354c0209e03a12"}, +{"id":"file-8fe5ae658e8245db","kind":"repository_file","current_path":"perovskite-sim/docs/ThermalEnergyBalance.md","route_id":"route-7e74d7e68f73a81a","sha256":"53306e325d9eefa455e8cc14b7d5843f7c1d9f398f2c1e429eeedfe3a418c44d"}, +{"id":"file-79d3d4ca987624d9","kind":"repository_file","current_path":"perovskite-sim/docs/TpvOpenCircuitContract.md","route_id":"route-a4c9abb0c0e3cf65","sha256":"87f62b02240d6f02ec9c66ea9f0aa576f631d1253bd903e0c452a2281d4e7f4c"}, +{"id":"file-9983b76463c59c37","kind":"repository_file","current_path":"perovskite-sim/docs/TwoSidedInterfaceTopology.md","route_id":"route-6a3098b9bd6287fd","sha256":"14b5c084e598744b05389db731dbd0293475804223488a1974d22db146e64ce4"}, +{"id":"file-e162c04b3c24db0f","kind":"repository_file","current_path":"perovskite-sim/docs/TwodCombinedNumericalCertificate.md","route_id":"route-e1e598612c1df51b","sha256":"da04c56bd186d16fb205dfbf9355ebd262a43d62ceca4b84a30af3c39ebc3e38"}, +{"id":"file-9a1acee8a9a6630a","kind":"repository_file","current_path":"perovskite-sim/docs/TwodGrainBoundaryAreaClosure.md","route_id":"route-78acfee3adf85469","sha256":"5d15cb681472b92f64a978ee3dc44f4251b0fe35b6747ff0595a4550d1c3e0be"}, +{"id":"file-0fab4b2824e721bb","kind":"repository_file","current_path":"perovskite-sim/docs/TwodJvExecutionProtocol.md","route_id":"route-5065c7ae601775de","sha256":"b6b4106e152c061bac596affede16d9f8de14b6813f228ecd587f44b1f9dc25a"}, +{"id":"file-b644afe1eea4ee2f","kind":"repository_file","current_path":"perovskite-sim/docs/TwodMobileIonCurrent.md","route_id":"route-2df008a8f4e10435","sha256":"23ee0edcd6fa0907c26fec0d1bf70b36edcbc6908d97716b75a4467488a5009d"}, +{"id":"file-5f6be7dec83417d6","kind":"repository_file","current_path":"perovskite-sim/docs/TwodMobileIonTransient.md","route_id":"route-c28c875f1539b79f","sha256":"b2125dede799e512080bfcf772c08850fbd228139127161105a972fe4390da93"}, +{"id":"file-e91e144f9df62a2f","kind":"repository_file","current_path":"perovskite-sim/docs/TwodTransportContract.md","route_id":"route-e924ad99d43ab128","sha256":"9ae244c87c943b627adf4a608da928a8f92a3f27a0a95f47cf068585c82fe39b"}, +{"id":"file-28ab3a4dd2089195","kind":"repository_file","current_path":"perovskite-sim/docs/TwodTwoSidedInterfaceSrh.md","route_id":"route-53c9178e303a7cba","sha256":"d7a07e7babbb2da7830a43eead332eecc932c864b887f49c771e42a1a3734976"}, +{"id":"file-bb218e99f0489179","kind":"repository_file","current_path":"perovskite-sim/docs/WkbTunnellingFamilyContract.md","route_id":"route-b470825ba1153618","sha256":"267ae94f68045ccd6901284b1e0d8078877bb89537457e90a05efa467026bbc1"}, +{"id":"file-71f6918ae2af817c","kind":"repository_file","current_path":"perovskite-sim/docs/scaps_collection_templates/M1ProfileTemplate.csv","route_id":"route-e7e5ba547ce17f00","sha256":"30c7b1b76eea5e75fdc0afa49e1908de0a848cef7feb477652bc17300b084b22"}, +{"id":"file-e8aa129c792629ed","kind":"repository_file","current_path":"perovskite-sim/docs/scaps_collection_templates/M2ProfileTemplate.csv","route_id":"route-57f915d785407d1f","sha256":"30c7b1b76eea5e75fdc0afa49e1908de0a848cef7feb477652bc17300b084b22"}, +{"id":"file-75d4a80ff14e880c","kind":"repository_file","current_path":"perovskite-sim/docs/scaps_collection_templates/M3ProfileTemplate.csv","route_id":"route-ddf6aca93ae04edf","sha256":"30c7b1b76eea5e75fdc0afa49e1908de0a848cef7feb477652bc17300b084b22"}, +{"id":"file-e1f85fe1b1056fb8","kind":"repository_file","current_path":"perovskite-sim/docs/scaps_collection_templates/MultivalentParameterManifestSkeleton.json","route_id":"route-312c49d2f9c05171","sha256":"783f9c8939f789a5ecb5969c1adf67a3dbc7334b7adbb0ae6133dd2741c54336"}, +{"id":"file-68677c9de20ae355","kind":"repository_file","current_path":"perovskite-sim/docs/scaps_collection_templates/ParameterManifestSkeleton.json","route_id":"route-1d9234b2b5be2cc1","sha256":"697882dbe2a27387b9835126d63aac351d62dbf7c85cd4f2763e5a2e93bf7e94"}, +{"id":"file-53195a0ad0598fb9","kind":"repository_file","current_path":"perovskite-sim/docs/scaps_collection_templates/S0ProfileTemplate.csv","route_id":"route-02db471b7f1999be","sha256":"20e9f99f0c9ed7820bb1de4df4e20fc8102c95605c05b39b30af1ddcd722ca10"}, +{"id":"file-c860d281a6611e8c","kind":"repository_file","current_path":"perovskite-sim/docs/scaps_collection_templates/S1ProfileTemplate.csv","route_id":"route-7018041bb8eae938","sha256":"20e9f99f0c9ed7820bb1de4df4e20fc8102c95605c05b39b30af1ddcd722ca10"}, +{"id":"file-170d20d2fa4e14c2","kind":"repository_file","current_path":"perovskite-sim/docs/scaps_collection_templates/S2ProfileTemplate.csv","route_id":"route-e913f50b65422822","sha256":"20e9f99f0c9ed7820bb1de4df4e20fc8102c95605c05b39b30af1ddcd722ca10"}, +{"id":"file-6919ba44ab2883a0","kind":"repository_file","current_path":"perovskite-sim/frontend/.gitignore","route_id":"route-d0fa2edc773c4a7b","sha256":"1fd53b2e533427b5709505ac1ed263d140759e298d68fdd52f591aeb6f1a5399"}, +{"id":"file-66a25ae886ed48a7","kind":"repository_file","current_path":"perovskite-sim/frontend/Dockerfile","route_id":"route-827398f40e4000be","sha256":"2e2bbafddaa7bc057fd5c5510de21006a1afb4d7d6ba25986ec4d9be4df5a01c"}, +{"id":"file-e43f4cbd814de891","kind":"repository_file","current_path":"perovskite-sim/frontend/index.html","route_id":"route-42b4e1883af95b42","sha256":"6955ba4cb8023186b818865b3703968a131faf0f73dab181e5609b774a50738c"}, +{"id":"file-d8887685f219b1fd","kind":"repository_file","current_path":"perovskite-sim/frontend/package-lock.json","route_id":"route-0d917791f89b7094","sha256":"76f4c512eba4de674ca8e442ceb951eb4449f451b00668ca3b3b35ec3acdc8d8"}, +{"id":"file-8be501ad213159ab","kind":"repository_file","current_path":"perovskite-sim/frontend/package.json","route_id":"route-6063b5ec6fdb5af9","sha256":"5f1a636a5f2f4089c9b46108ecbb1504b360aca812fd8e03461a1d69b69b23da"}, +{"id":"file-4b98b4caa78d73d8","kind":"repository_file","current_path":"perovskite-sim/frontend/public/favicon.svg","route_id":"route-f0988a9b7256892e","sha256":"61bc9a161de58248288e6905425d7180f0624c2865007b97d763fdac12043a66"}, +{"id":"file-a607a594709fe723","kind":"repository_file","current_path":"perovskite-sim/frontend/public/icons.svg","route_id":"route-4a07c72df8b67322","sha256":"b45fa506195cfcdef406ba9f0c77b36ddc1a7c224040926ec70abc2fdea7b93a"}, +{"id":"file-61e4fb4550ec1ab9","kind":"test_module","current_path":"perovskite-sim/frontend/src/active-physics-tier-summary.test.ts","route_id":"route-eb82166f57cc7a17","sha256":"8cba7429cd6d5f7f9e13c6d82342e3692719f6435fe25391a229b97da4caefa6"}, +{"id":"file-2a76e64baa4c2440","kind":"test_module","current_path":"perovskite-sim/frontend/src/active-physics.test.ts","route_id":"route-f946925b284d0d00","sha256":"73f5df32779e867fa9f2a4eee186b75d21fbd2b86613732099c7cc2fc1edc8bc"}, +{"id":"file-ecc46f7ce73a9203","kind":"frontend_module","current_path":"perovskite-sim/frontend/src/active-physics.ts","route_id":"route-5461e8f004c9de41","sha256":"867e8dc26597c66ed0ecdea3f97b93e024df52e96715e8a6378a483cf1b5a08e"}, +{"id":"file-b990344a211f09cf","kind":"frontend_module","current_path":"perovskite-sim/frontend/src/api.ts","route_id":"route-f757d9ac00e9efd7","sha256":"43e1b21ca97d9027a0ec9b2fb0e3483f9bd01e5dc0da4f283963efb220118d07"}, +{"id":"file-fd312415391a611a","kind":"repository_file","current_path":"perovskite-sim/frontend/src/assets/hero.png","route_id":"route-a6e6a642f1dcddeb","sha256":"72a860570eddf1dd9988f26c7106c67be286bc9f2fd3303c465ce87edb1ae6cd"}, +{"id":"file-f6e635e4f1526fba","kind":"repository_file","current_path":"perovskite-sim/frontend/src/assets/typescript.svg","route_id":"route-4fd5e2dbd688c3ce","sha256":"e45b2f008f0a40c1011b0fd460081f8bb00df063a41240449159da164724d96c"}, +{"id":"file-056069c7269df56e","kind":"repository_file","current_path":"perovskite-sim/frontend/src/assets/vite.svg","route_id":"route-8a153d34160d41f4","sha256":"5be21acd42eb7b896e517f4e0f0f11eb5c5d9e54fbbcebe9453f033008fcca6f"}, +{"id":"file-0f67017e11ed0b30","kind":"test_module","current_path":"perovskite-sim/frontend/src/cigs-graded-optics-ui.test.ts","route_id":"route-0df213aa33ca3269","sha256":"551014d8864bd7d9943bf9ee2b22a960c851d7e4571ca796add6ef65264ae14f"}, +{"id":"file-9af07753f9fbb295","kind":"test_module","current_path":"perovskite-sim/frontend/src/config-editor-built-in-potential.test.ts","route_id":"route-2c34cb86f4b880f5","sha256":"5a4eeb95e4941c9b6d7d8db12d754f3b775eb188ea54a16a03b9df4ca9252adb"}, +{"id":"file-02c623d5a7fe298a","kind":"test_module","current_path":"perovskite-sim/frontend/src/config-editor-bulk-defects.test.ts","route_id":"route-e83ab67632726a29","sha256":"87d26d1ff8751cc0696a85b06b5c577937cafa963ac8aaa0c019fe09d1ef37e4"}, +{"id":"file-7af69d0f993ce7c2","kind":"test_module","current_path":"perovskite-sim/frontend/src/config-editor-dual-ions.test.ts","route_id":"route-b4f0e8296cb898af","sha256":"bbfc358e06b652c0c130afcede7cd2500c83ba6c6b8d7aaa5c3e2428b0e62876"}, +{"id":"file-127446cbe73dcee3","kind":"test_module","current_path":"perovskite-sim/frontend/src/config-editor-grading.test.ts","route_id":"route-b60d3859e696f1ac","sha256":"6a22fbaf91cd3f639918fa1ca00096f6f7428f8754c6e52b49b386830ea30440"}, +{"id":"file-0febf3302d9af847","kind":"test_module","current_path":"perovskite-sim/frontend/src/config-editor-interface-charge.test.ts","route_id":"route-6b088cf64724f912","sha256":"f68f137fd2155a2c288cfe26a0e973b4a1e364a733df30a652520a7e1ff21d9e"}, +{"id":"file-c59666acf44b9530","kind":"test_module","current_path":"perovskite-sim/frontend/src/config-editor-interface-defects.test.ts","route_id":"route-f26da9595815b8fc","sha256":"0a3b1f235dd290ff98308065e28deb2a960148aefb5c907ecc01c692f2fc8a46"}, +{"id":"file-44b78a3290814011","kind":"test_module","current_path":"perovskite-sim/frontend/src/config-editor-ion-activation.test.ts","route_id":"route-53eab0ce2693ad29","sha256":"e8b2801038db41062387453aad73a3072dc96634af7946abb9aaf62215541a91"}, +{"id":"file-587714fd6218a5df","kind":"test_module","current_path":"perovskite-sim/frontend/src/config-editor-scaps-physics.test.ts","route_id":"route-c2d8b25045b854bc","sha256":"a2b1e62a6195f8fade8803fc62c37a4542986f120a0388ec014cfebf1c26d029"}, +{"id":"file-bf265a36275f9302","kind":"test_module","current_path":"perovskite-sim/frontend/src/config-editor-tunnelling-channels.test.ts","route_id":"route-b3874b8f0e2a68d5","sha256":"8f4fc1bb5528bb63de6e8679d89987e712a8117978c4f5bf2138375a2f89364b"}, +{"id":"file-f431cfaf76f98d0e","kind":"frontend_module","current_path":"perovskite-sim/frontend/src/config-editor.ts","route_id":"route-cbe99b453d5d89e8","sha256":"c5cd37ecb249f40329eea8e277c0e0c114bd5ba1fd9ec65cb3d3b69fe437dc86"}, +{"id":"file-512e96f5d3e129b0","kind":"test_module","current_path":"perovskite-sim/frontend/src/device-panel-ion-mode.test.ts","route_id":"route-74aa793a620f3fb2","sha256":"27437143d02e2f9881ad5dc6af5f325961a7ed6450d9c7817dedeaa115129527"}, +{"id":"file-cca59ac968bdc1ed","kind":"test_module","current_path":"perovskite-sim/frontend/src/device-panel-workspace-config.test.ts","route_id":"route-d28085b5a3dca6c8","sha256":"3ed0c10e0863b1e85a7a7ec2fdc9cd752712aa9b48023311e41edbe76c67186e"}, +{"id":"file-69b750d8438cbe0b","kind":"frontend_module","current_path":"perovskite-sim/frontend/src/device-panel.ts","route_id":"route-b7eaf8697db983ff","sha256":"1e764cc0c0d6720f698067d5af4bee6afdac89633eb6ee6702ac4ca328bca69d"}, +{"id":"file-6340f9eb1080f488","kind":"frontend_module","current_path":"perovskite-sim/frontend/src/device-utils.ts","route_id":"route-94eeb44968452d54","sha256":"33b6e07a9fe3ba27d9a45e689ebb0cbc708151f4ea14a4f5aec38404041520d1"}, +{"id":"file-e58e877b5b0e1761","kind":"frontend_module","current_path":"perovskite-sim/frontend/src/dynamic-defect-transient-evidence.ts","route_id":"route-632db8749e2d8b2a","sha256":"5c844c18fc5cdcfe5aaa5cab6f8059389b78c7e2c3b7598e75aa1c6c612c722d"}, +{"id":"file-a4830a487b630caa","kind":"test_module","current_path":"perovskite-sim/frontend/src/explicit-defect-capability.test.ts","route_id":"route-e34b1a6bd7096150","sha256":"b39ffd59df38c269599a4f0820676a7e5b22226a1b73834065ca0e878b6d329a"}, +{"id":"file-0db358281c2dd667","kind":"frontend_module","current_path":"perovskite-sim/frontend/src/explicit-defect-capability.ts","route_id":"route-350fae4387b8ab65","sha256":"04edabb2199874e3a3f1db1896431e465cbd93058d718253c0bbbce07c88dbb6"}, +{"id":"file-0d4e440f7af75706","kind":"frontend_module","current_path":"perovskite-sim/frontend/src/impedance-evidence.ts","route_id":"route-babbe57249616e52","sha256":"79167b56d5fc2fa0778da1a2294c51697bcbdf1712a53433403ed025c526bea9"}, +{"id":"file-b0d0296d6a388fb1","kind":"test_module","current_path":"perovskite-sim/frontend/src/impedance-panels.test.ts","route_id":"route-6df155f91259fbb4","sha256":"96a0d77c8b5b1ca22d338ddf74034a369006f3e08ed1cdd54be27bbbab7d3ec8"}, +{"id":"file-75222778e61fa1f0","kind":"frontend_module","current_path":"perovskite-sim/frontend/src/interface-charge-jv-evidence.ts","route_id":"route-8448fd8971926afb","sha256":"15366d15d4186b493bb5164f6249ca26219a7229ae629347d70b8923d4d17fd2"}, +{"id":"file-13aa64f392d081bd","kind":"frontend_module","current_path":"perovskite-sim/frontend/src/job-stream.ts","route_id":"route-47adb7a14ff1c660","sha256":"b2c597361b38de14f43a8b4ea90aaa8a692b417545b5009a9102754f3e4d0580"}, +{"id":"file-c2350afc16f0f183","kind":"frontend_module","current_path":"perovskite-sim/frontend/src/jv-defect-evidence.ts","route_id":"route-a55598579f364362","sha256":"348ed7ff2012745f213a9d4038750ba72fb6027f8ef495cf18c8e4a28759f544"}, +{"id":"file-1b52ab0dd776e96b","kind":"test_module","current_path":"perovskite-sim/frontend/src/jv-waveform-controls.test.ts","route_id":"route-e281f1c6fd7721bb","sha256":"b36fdf957e692dff4e4cf845f57551e2a7c71ffb86f2ea7d509cd2736a2b1d38"}, +{"id":"file-fabb9318e4cfd41f","kind":"frontend_module","current_path":"perovskite-sim/frontend/src/jv-waveform-controls.ts","route_id":"route-eac9d81293965315","sha256":"9d9fdf0b6d9245d9707dac60f09177343e4e7ad6adb3391a016bad5d9a64d4e2"}, +{"id":"file-3dbbdf31bc9715b3","kind":"frontend_module","current_path":"perovskite-sim/frontend/src/main.ts","route_id":"route-9eb66e91fc07bed2","sha256":"00f16ed1664b12cc17693cf48df3ea90224fc8199d92bce5fc8f71126f96441a"}, +{"id":"file-2896a57747e74091","kind":"test_module","current_path":"perovskite-sim/frontend/src/number-input.test.ts","route_id":"route-f5a6859e1f3162d1","sha256":"bd4d45797af4d6020d15e0de5cabfb05d63bbae714138609427d7fa86513a3ca"}, +{"id":"file-79d183744b64a62c","kind":"frontend_module","current_path":"perovskite-sim/frontend/src/number-input.ts","route_id":"route-653e2eed26ead27d","sha256":"2db70c6365ac246983d670ca50d23170cbbeff68eb9ef2c2d2ca1f335f1d771b"}, +{"id":"file-904b0687f4df041d","kind":"frontend_module","current_path":"perovskite-sim/frontend/src/panels/algorithm.ts","route_id":"route-d22336f969ea99be","sha256":"4147a91220b236fa1133817a9320f02fa72e2353af87e8c17d2b2fa555872e95"}, +{"id":"file-82d19c8718ef188c","kind":"frontend_module","current_path":"perovskite-sim/frontend/src/panels/degradation.ts","route_id":"route-1ac9c53320f5ec47","sha256":"c94b3f4030fc4242dfb5cf3e3f95a4efe0d60f48598a21b14a4c34fdeb96a842"}, +{"id":"file-9401e7e9c2d22f91","kind":"frontend_module","current_path":"perovskite-sim/frontend/src/panels/impedance.ts","route_id":"route-a7deeee117b3f51a","sha256":"38cbe7e24408bede6486cf5b2f410a962fce45a69183332a9c0e1241bd6ef8f3"}, +{"id":"file-15a61dcdfd92a2b2","kind":"test_module","current_path":"perovskite-sim/frontend/src/panels/jv.test.ts","route_id":"route-996e8ece5b4db5e7","sha256":"62654e931175fbd695cb642d3f5210f8f7a2fb27e37caf41fb95c694e7acd328"}, +{"id":"file-834e317bc6747494","kind":"frontend_module","current_path":"perovskite-sim/frontend/src/panels/jv.ts","route_id":"route-003af88342060b3f","sha256":"a2f210747d839a5a286cb2811e686fa358c3076702d22b526f041e2c1903553c"}, +{"id":"file-225c52c2a9ac1359","kind":"frontend_module","current_path":"perovskite-sim/frontend/src/panels/parameters.ts","route_id":"route-7ef81c52668a0ecc","sha256":"7e7b92e39cbb4d57171cfe78ccdd7ca239d708c342ae0748c05134fa926cb747"}, +{"id":"file-a24342bf9cd5394a","kind":"frontend_module","current_path":"perovskite-sim/frontend/src/panels/tutorial.ts","route_id":"route-8bcf67e514ab4920","sha256":"6b6fa1a78b828c121153ee6a460e966a08496b020a4c3dfa78458cf23fdcb010"}, +{"id":"file-58659100a4b595d2","kind":"test_module","current_path":"perovskite-sim/frontend/src/plot-theme.test.ts","route_id":"route-3205348d1b81b897","sha256":"bf7f3d6e22f36827490f774039856f02070590b13dfc2c9259fbcd69444fae87"}, +{"id":"file-04e6e1ec5f976cd0","kind":"frontend_module","current_path":"perovskite-sim/frontend/src/plot-theme.ts","route_id":"route-e3f780201d5ec12b","sha256":"4bbd8ab4e16dda8363d42cf524c5c4578aecc61611f5614bb952e890e1400027"}, +{"id":"file-88ac21108fc58b42","kind":"frontend_module","current_path":"perovskite-sim/frontend/src/plotly.d.ts","route_id":"route-402a6d86919758ff","sha256":"049acdefe4ced1d702da8629711e621583670ae8a89a7ca8abdc46ab5af9c0ee"}, +{"id":"file-8e61442ca15e580f","kind":"test_module","current_path":"perovskite-sim/frontend/src/preset-catalog.test.ts","route_id":"route-9b52fcf8a6f30ea6","sha256":"781d65f74b0afb5328af62005968354b1bc6fcdf615f478de2574b4d2c28fa65"}, +{"id":"file-53bcc7aeee916796","kind":"frontend_module","current_path":"perovskite-sim/frontend/src/preset-catalog.ts","route_id":"route-6e974a0a5ebc5295","sha256":"c50d225112b820b5a4440e4f516fba4e4e7220e2ca3d92eebc3e12766eba42d9"}, +{"id":"file-e72c39094870d79c","kind":"test_module","current_path":"perovskite-sim/frontend/src/progress.test.ts","route_id":"route-e34653c27041e575","sha256":"f1f055ea0d51d65756283f6b4220e37ad785a983bd723c5cb168021ff8a4f19f"}, +{"id":"file-1a255b72c656838b","kind":"frontend_module","current_path":"perovskite-sim/frontend/src/progress.ts","route_id":"route-91ed380301bdd595","sha256":"81fe9b50d125f8a1496d80fd2e5f01b16e05113cab5ce6f37fec675fd9411f5e"}, +{"id":"file-b443b90b95389bfa","kind":"test_module","current_path":"perovskite-sim/frontend/src/signal-smooth.test.ts","route_id":"route-547038177e6b62dd","sha256":"94e3432656afa342f238a667286f738bd4e6b5810379aafa496ad3e640dccf34"}, +{"id":"file-7abd5299fef92405","kind":"frontend_module","current_path":"perovskite-sim/frontend/src/signal-smooth.ts","route_id":"route-c98dd57da20c4d6a","sha256":"69cd10b2ff2177fa8c7e512a834428e2f5f1b135eb62850b7b7d3d065a8d5cff"}, +{"id":"file-891c71019f0a8a60","kind":"test_module","current_path":"perovskite-sim/frontend/src/stack/__tests__/dirty-state.test.ts","route_id":"route-1b4ee42dd2d5f4fb","sha256":"81ea7819eaf89484ad17ce77829c686db1140066c8ca3aa4a55c929f784c4ec1"}, +{"id":"file-230f0a539e401a9a","kind":"test_module","current_path":"perovskite-sim/frontend/src/stack/__tests__/log-scale-height.test.ts","route_id":"route-612b8cb53b47b19f","sha256":"88c27a16831e13095669f847669d7fa57f77a9b652ee81d2d356594879e1c057"}, +{"id":"file-4550dc27b9e41378","kind":"test_module","current_path":"perovskite-sim/frontend/src/stack/__tests__/pretty-formula.test.ts","route_id":"route-71c8cf748a7243cc","sha256":"2d042d1e4760c706df8803b2c3807a8fd5a9912fd00a8793e69720bfbb1a4adb"}, +{"id":"file-4cfa5ed02db64c5f","kind":"test_module","current_path":"perovskite-sim/frontend/src/stack/__tests__/reconcile-interfaces.test.ts","route_id":"route-4241668afa4138c0","sha256":"2fa664d155912ba4042d7b3ade9f10851219b1d444f4563898aa73b81e9557d6"}, +{"id":"file-291b63b9cf78a418","kind":"test_module","current_path":"perovskite-sim/frontend/src/stack/__tests__/stack-validator.test.ts","route_id":"route-c7b14acf4fa56568","sha256":"7eed3a5845eee9221422cebc43fee1487a83b37db73b682a0f242008f86442ee"}, +{"id":"file-43c5c85a85783f7d","kind":"frontend_module","current_path":"perovskite-sim/frontend/src/stack/add-layer-dialog.ts","route_id":"route-946ec501a9d0087d","sha256":"e63e85cfe039bfb9f8ddef903a4c912b8c77888cc21986cdf7723c4aac86ad2f"}, +{"id":"file-71867f48e134950b","kind":"frontend_module","current_path":"perovskite-sim/frontend/src/stack/dirty-state.ts","route_id":"route-6339f819bedb3590","sha256":"d82e28f9f53a8e9f78713f6fa61cb1c7d7f7fce3348b883cfb3b8d3a63610b1b"}, +{"id":"file-c742abdb67d5bcba","kind":"frontend_module","current_path":"perovskite-sim/frontend/src/stack/log-scale-height.ts","route_id":"route-0cef01505fd6c412","sha256":"9bb7143b8eac73553f6fabbd0d0cd577afb79a3c9cdfbc166aab746770d738dc"}, +{"id":"file-b76ec9b8b1dbdf91","kind":"frontend_module","current_path":"perovskite-sim/frontend/src/stack/reconcile-interfaces.ts","route_id":"route-bd9966aa031e9571","sha256":"0c44165b0c4bb13538150bd8cc0cd1d70d57ea1d07f63d08631745368dc0f081"}, +{"id":"file-4f9defbc97cfdf2f","kind":"frontend_module","current_path":"perovskite-sim/frontend/src/stack/save-as-dialog.ts","route_id":"route-db731fb3c86dff54","sha256":"4214d1cd246f9ad3084f0dcbd346dca096cc681e03e235ec798031baaeac088b"}, +{"id":"file-5930962938033ec3","kind":"frontend_module","current_path":"perovskite-sim/frontend/src/stack/stack-interface-strip.ts","route_id":"route-10fb5a121c5313b3","sha256":"f3328bf0766c29ba8f85dcf4de2a3b4a616ed2ae03ade206b459ad0ebd425dee"}, +{"id":"file-6711899fbac1a3f5","kind":"frontend_module","current_path":"perovskite-sim/frontend/src/stack/stack-layer-card.ts","route_id":"route-55ef33b451a04a83","sha256":"2ad60733909252791971b184b30f6a778c8443cc2c99c71714ea5caeb9fe681f"}, +{"id":"file-aad631ef0eb4f2f9","kind":"frontend_module","current_path":"perovskite-sim/frontend/src/stack/stack-validator.ts","route_id":"route-22c4007e8dd725a9","sha256":"0cf0531d13655c7466302490e0be1d7f530e32691d0a148c78a27c6780b47f26"}, +{"id":"file-3d06bcc2ddce867b","kind":"frontend_module","current_path":"perovskite-sim/frontend/src/stack/stack-visualizer.ts","route_id":"route-d1965a383ba9309d","sha256":"507063eaa50c7b32ef46ae11c598ce8de57be89d92eb5e005aa3f811230c7b0a"}, +{"id":"file-ce1b61c69fe6e59a","kind":"frontend_module","current_path":"perovskite-sim/frontend/src/stack/tandem-stack-visualizer.ts","route_id":"route-3d092eb5004b0f59","sha256":"2909e3b1af441560f5f4cad0ba663ae467a6fc049cd7faf012622ccd3fe5afc6"}, +{"id":"file-062c4a62a274027c","kind":"repository_file","current_path":"perovskite-sim/frontend/src/style.css","route_id":"route-e2e23c3e5dfc7ac6","sha256":"1ec888ae76de42c21aac6c0cc89da2f5b785e724905a1457facd3670956fbcc6"}, +{"id":"file-b1eb52e1c20d6a8e","kind":"frontend_module","current_path":"perovskite-sim/frontend/src/types.ts","route_id":"route-fa5dde7cc753e4f9","sha256":"4b7999649d886f9a7d8dda27c9b19a39029f1fb99a4d3b1d00b6994d671a43d5"}, +{"id":"file-c9bf84a6097e5ff5","kind":"frontend_module","current_path":"perovskite-sim/frontend/src/ui-helpers.ts","route_id":"route-982b838ddf57d643","sha256":"0e4cbacff0f41f28fe1e1bef4d015b7fe45c077bcd517cca39fb8808f1e3db4c"}, +{"id":"file-f722bf37433d98c5","kind":"frontend_module","current_path":"perovskite-sim/frontend/src/workstation/console.ts","route_id":"route-d0feaeef97ab1c5e","sha256":"1024f5216478ef66d70860fbdf277d66d2769b95db830b6b2c52a177d5542186"}, +{"id":"file-e9fe1afd23e998b0","kind":"test_module","current_path":"perovskite-sim/frontend/src/workstation/layout-persistence.test.ts","route_id":"route-fe70decefdc58a3f","sha256":"07a60a021aa5271abcc4f665570c8c6a62bc24f5343de716304bf03d0c235447"}, +{"id":"file-0f4c5fc69b0fb63a","kind":"frontend_module","current_path":"perovskite-sim/frontend/src/workstation/layout-persistence.ts","route_id":"route-71620fb4500ed0d3","sha256":"8691ae087017ce656840ad6b991facd3c20d41db0450aebeb52331e9dc80644f"}, +{"id":"file-2c3fcef426d813ec","kind":"test_module","current_path":"perovskite-sim/frontend/src/workstation/layout-resize.test.ts","route_id":"route-eb7621385efcee2c","sha256":"5b37edff365b837be34c887ed8491b44ed8cc5432d49dcaa9e896161b4eb342f"}, +{"id":"file-92b10d8d13435bfb","kind":"test_module","current_path":"perovskite-sim/frontend/src/workstation/mobile-sidebar.test.ts","route_id":"route-8c3ec289aaaabd57","sha256":"07b3648ab2c547487795f0dba560aab4184605928a4207aa838d074e880513c8"}, +{"id":"file-d6b9cf9cbf58f5c7","kind":"frontend_module","current_path":"perovskite-sim/frontend/src/workstation/mobile-sidebar.ts","route_id":"route-127d4f1f887306f0","sha256":"bd93951a9dd380ae459bb4179ddd8da83242dc983e8dfabd260aaffa751a2905"}, +{"id":"file-8e95fb98f84285e0","kind":"frontend_module","current_path":"perovskite-sim/frontend/src/workstation/panes/current-decomp-pane.ts","route_id":"route-e93a0138adf37900","sha256":"db19b935885e5d4056a43dea77bce9bb40a795bac48d704791793746b14b3495"}, +{"id":"file-e3b7f138aab5eeaf","kind":"frontend_module","current_path":"perovskite-sim/frontend/src/workstation/panes/dark-jv-pane.ts","route_id":"route-e0a5c9b5e771c97a","sha256":"0958720a4d40b9394c4158fd7b7b3d362831d2d050ec0fb178cfbd7758b706ae"}, +{"id":"file-4871f06e41b00ce7","kind":"test_module","current_path":"perovskite-sim/frontend/src/workstation/panes/dark-jv-render.test.ts","route_id":"route-0bc0a0893fdea482","sha256":"039471aedcd01cadd7f224a61d4ec293da5570088cd73b89d04b2b6e9ed189af"}, +{"id":"file-f48f385bdd033051","kind":"frontend_module","current_path":"perovskite-sim/frontend/src/workstation/panes/degradation-pane.ts","route_id":"route-09e19db25407b09c","sha256":"a022a86849dbe5dd30258115c5a40d5b2ada00731f0dd95d5cf69514edfc3ea9"}, +{"id":"file-d46a1b2caa57bed7","kind":"frontend_module","current_path":"perovskite-sim/frontend/src/workstation/panes/device-pane.ts","route_id":"route-bc3b3ca66ee08252","sha256":"0c28ae9078a1f3c95a8906c7431420340e4c8f0b82ed8fd8e56a50ebad9699a9"}, +{"id":"file-63f0bd364f122154","kind":"test_module","current_path":"perovskite-sim/frontend/src/workstation/panes/dynamic-defect-transient-pane.test.ts","route_id":"route-030b854dee3247d5","sha256":"58fc8d23a4a3a96094cc2221bc906747185ae4953f0f2c43cc2a1eef25f0b43d"}, +{"id":"file-3eccfaa5c6f58ac4","kind":"frontend_module","current_path":"perovskite-sim/frontend/src/workstation/panes/dynamic-defect-transient-pane.ts","route_id":"route-573d321f190405f3","sha256":"2b9c6c733c6e577271256dc800a1c880beb1c8424321d531b3614e58c268c493"}, +{"id":"file-d6d25debee3c5b3a","kind":"frontend_module","current_path":"perovskite-sim/frontend/src/workstation/panes/el-pane.ts","route_id":"route-bfd8cf2d812afc3a","sha256":"24a36fc33a40359a1bd537d43cb7aa4ce2651396084b31361718f4cbc98401f3"}, +{"id":"file-92ba7c2c8d0e3927","kind":"test_module","current_path":"perovskite-sim/frontend/src/workstation/panes/eqe-el-render.test.ts","route_id":"route-b62d6cd17a1fed06","sha256":"bb0cba1ca22860aaac6533be7513f60e27948083408c46b07b705deb4d7096c0"}, +{"id":"file-afa7c37c2c7e2cb0","kind":"frontend_module","current_path":"perovskite-sim/frontend/src/workstation/panes/eqe-pane.ts","route_id":"route-79114fe5ecc3818f","sha256":"ffddf7992a4122884b7e2a8f0ad0152eb39b48e8a3d2d6ae773dd769d3ccda89"}, +{"id":"file-4ff98f3c08675df7","kind":"test_module","current_path":"perovskite-sim/frontend/src/workstation/panes/experiment-pane.test.ts","route_id":"route-40ab2d7fe9219e31","sha256":"ed8bcd48fa0011ec7857ec69b513f1d1ec310c32f14788f59f3429ba87d3ded0"}, +{"id":"file-9e11558f934c083e","kind":"frontend_module","current_path":"perovskite-sim/frontend/src/workstation/panes/experiment-pane.ts","route_id":"route-4c3e8ab98b46f6f0","sha256":"af466c5f56a8e37653307cd7c9527a0e26e2bfe504bb55b9c1464ef92444ee7e"}, +{"id":"file-96105b551ada1702","kind":"frontend_module","current_path":"perovskite-sim/frontend/src/workstation/panes/help-pane.ts","route_id":"route-e261cb351f78ba6b","sha256":"6ff21792c74d89132e70cef8a79602e4ea487f5917a307588996ec85795701cb"}, +{"id":"file-1fb4024cf09ba8b3","kind":"test_module","current_path":"perovskite-sim/frontend/src/workstation/panes/imp-deg-tpv-vgs-render.test.ts","route_id":"route-28804d0db42891c6","sha256":"820286c03168afb8dd9c09f05a2b95e4be1bac5b9019f200b46d73301d83dd18"}, +{"id":"file-79ab338440a45b9a","kind":"frontend_module","current_path":"perovskite-sim/frontend/src/workstation/panes/impedance-pane.ts","route_id":"route-dbc65d65da6caf91","sha256":"8030f9bace7882052b136979f3011f152ac79435725e9d5ae694bd26973ebca0"}, +{"id":"file-dd67d34153a6b78a","kind":"test_module","current_path":"perovskite-sim/frontend/src/workstation/panes/jv-1d-render.test.ts","route_id":"route-24a155ac97946de3","sha256":"ade065313d386f1656694b4fb57a8b90d9b2a9176a6dc70c26b405324edb3ba8"}, +{"id":"file-1f474981945a67ab","kind":"test_module","current_path":"perovskite-sim/frontend/src/workstation/panes/jv-2d-pane.test.ts","route_id":"route-1ebc97d2f1af13fe","sha256":"5e5aecfc71c51c2bd2cd68928cf7da823c83033d3d73eb90e5d07d6f83fc43f0"}, +{"id":"file-fde1d5dacfd12979","kind":"frontend_module","current_path":"perovskite-sim/frontend/src/workstation/panes/jv-2d-pane.ts","route_id":"route-0f6c145883357692","sha256":"90eeecaba79292316ce135f9e6f297bd4c9a7dd03509df5849c01ddc77954b40"}, +{"id":"file-01c16b00d9b3f27d","kind":"test_module","current_path":"perovskite-sim/frontend/src/workstation/panes/jv-2d-render.test.ts","route_id":"route-cee28640cc83d68e","sha256":"e815c8b83ee6ce1864568d7b996a6712e1048f281e11eb27ce7f94007ce8e674"}, +{"id":"file-fe790680f5b65204","kind":"test_module","current_path":"perovskite-sim/frontend/src/workstation/panes/jv-pane.test.ts","route_id":"route-3e88ac28622ee955","sha256":"f299756a2121f5692b1c89e4912e6381d5d4890087b99937ce027f2fe54690aa"}, +{"id":"file-a8bed6d476d4f426","kind":"frontend_module","current_path":"perovskite-sim/frontend/src/workstation/panes/jv-pane.ts","route_id":"route-a13a25dd661a76e7","sha256":"2b50f1819655ea89f2bd83baef4656e64ac9a2e680a5bf0ebfa4f8b74c125a06"}, +{"id":"file-f9c55ce2d895b042","kind":"test_module","current_path":"perovskite-sim/frontend/src/workstation/panes/main-plot-pane.test.ts","route_id":"route-de1e166252ad0980","sha256":"f89915217428e7915981e7fb6a6fd818d00f5f076ad975a4ffb44d92964af323"}, +{"id":"file-e51cf8320314eab6","kind":"frontend_module","current_path":"perovskite-sim/frontend/src/workstation/panes/main-plot-pane.ts","route_id":"route-6f5e2d5e37797703","sha256":"de84833d0a615f7df9f5af675a6deb39a7c465aa7187d6858398d250302548a1"}, +{"id":"file-2736f4631ae89542","kind":"frontend_module","current_path":"perovskite-sim/frontend/src/workstation/panes/mott-schottky-pane.ts","route_id":"route-0581bdd3b9617fd7","sha256":"634f713957113a58992fbccae8219bd1a2e8ebefc7d795230b6d21ec643c168d"}, +{"id":"file-992bd094a0a1591a","kind":"test_module","current_path":"perovskite-sim/frontend/src/workstation/panes/mott-schottky-render.test.ts","route_id":"route-f0afcc077bb55d89","sha256":"daec589fae21472ce3295c031856ba58ec824e918b3d339d2e00d9c97bcb75c0"}, +{"id":"file-f2535c411d9cfca5","kind":"frontend_module","current_path":"perovskite-sim/frontend/src/workstation/panes/spatial-pane.ts","route_id":"route-3774b9c2e1a64a01","sha256":"c043cb0914f6cd32fd760b8a4eb7772e453bde0233f25e9aca6734f22425d64b"}, +{"id":"file-2e0e7c6f6e648c3d","kind":"test_module","current_path":"perovskite-sim/frontend/src/workstation/panes/spatial-profiles-render.test.ts","route_id":"route-a4895b1c6033cb33","sha256":"c41423e3d7da2ce57dda862f392e7b70a7e03ba4c76069c3fde7adddc259061b"}, +{"id":"file-353e85374a2a27ba","kind":"frontend_module","current_path":"perovskite-sim/frontend/src/workstation/panes/suns-voc-pane.ts","route_id":"route-b31ba249974097be","sha256":"d0a157270391fb4a105af2669a66f75658950a7e45923ac40f46d792fe2868c7"}, +{"id":"file-12ef36c0003df044","kind":"test_module","current_path":"perovskite-sim/frontend/src/workstation/panes/suns-voc-render.test.ts","route_id":"route-f12341b9dd07c5d4","sha256":"22d58e51c28aec58a4a520a7a87f8dbcf504790cb3732a57ca844f15a920166e"}, +{"id":"file-7a6f5aaa7a8f95a4","kind":"frontend_module","current_path":"perovskite-sim/frontend/src/workstation/panes/tandem-pane.ts","route_id":"route-e9392bef5a9a5084","sha256":"456b786df01e11ce8efe57294fa8c20178bb14658b8464ec9a6f475fa48811a8"}, +{"id":"file-b9293c768fe3e04c","kind":"test_module","current_path":"perovskite-sim/frontend/src/workstation/panes/tpv-pane.test.ts","route_id":"route-6cf89bb49f41c5ac","sha256":"55796d6a9d56e7b5a2a9e6c6acdd0c1b149e976f233c8253cfb96d17f987ed74"}, +{"id":"file-4ee4dd0c93a29246","kind":"frontend_module","current_path":"perovskite-sim/frontend/src/workstation/panes/tpv-pane.ts","route_id":"route-2454fac1f685d922","sha256":"7cd3eae0078abca823f8e1827af582cb0a4ec2ab5a29db984b3ab7ad875b06ff"}, +{"id":"file-a66312ccd58d5723","kind":"frontend_module","current_path":"perovskite-sim/frontend/src/workstation/panes/voc-grain-sweep-pane.ts","route_id":"route-4b6c8cf954aa6566","sha256":"202b901a20a89e36479c4c173777de537f8af54ec4a5d7956fc8935ecca8e7d2"}, +{"id":"file-cb1fef50f9c80672","kind":"frontend_module","current_path":"perovskite-sim/frontend/src/workstation/panes/voc-t-pane.ts","route_id":"route-65e4196be9e005c9","sha256":"f039b00f8c3508aafb928830e8f343a7a56a9e2541ea08641d0fb2131562bb21"}, +{"id":"file-3ddf93ad65848911","kind":"test_module","current_path":"perovskite-sim/frontend/src/workstation/panes/voc-t-render.test.ts","route_id":"route-950c2fe927146bfe","sha256":"d8f366f99155d0723d89aa558124cd7142ac9d3847e0713e6b24f27bb5a959f6"}, +{"id":"file-8ac4e609c9f82dc3","kind":"test_module","current_path":"perovskite-sim/frontend/src/workstation/phase2-smoke.test.ts","route_id":"route-ac8d77137b8bc667","sha256":"63ce324870bc8be0c3670e0a4b99e14edf1021151150959ff785f48e2c0f5b45"}, +{"id":"file-0d159e599cad13ab","kind":"frontend_module","current_path":"perovskite-sim/frontend/src/workstation/shell.ts","route_id":"route-b135a466cd30a840","sha256":"def823bd6ca10d2942b41fea33f7570ed103b3ca658ec85337b073679e45528d"}, +{"id":"file-acd8f4090bf8431d","kind":"test_module","current_path":"perovskite-sim/frontend/src/workstation/smoke.test.ts","route_id":"route-038cbfcb9558a458","sha256":"2676e6749c47759f3b77f6cf0ca5186922411f3c9d03bf5575be680c0226e2d3"}, +{"id":"file-566c8aeceea26098","kind":"test_module","current_path":"perovskite-sim/frontend/src/workstation/state.test.ts","route_id":"route-7e98d7eb31c99c67","sha256":"7518266a00e2ee60910a96fddb16ea51400d51d15b568313073edf0da5e689ce"}, +{"id":"file-6b20195b69450b97","kind":"frontend_module","current_path":"perovskite-sim/frontend/src/workstation/state.ts","route_id":"route-798231762f49ac49","sha256":"08c6cdfe82931abc0c46291dda48e2cec3ac781c4fbfb895472821ebf697d7c6"}, +{"id":"file-6595260689de986d","kind":"test_module","current_path":"perovskite-sim/frontend/src/workstation/tier-gating.test.ts","route_id":"route-e7d37b8a5b4a7057","sha256":"e48f7b4bc7bae386af84f2af50067597656965bdb1fb577690175dd5c3829478"}, +{"id":"file-7c11008773d87649","kind":"frontend_module","current_path":"perovskite-sim/frontend/src/workstation/tier-gating.ts","route_id":"route-01a9547791743ea4","sha256":"253e520b801fffb8d81aadf21f842bea515d3f81b9b935e52ae8786e9afc6f6f"}, +{"id":"file-c31ad708b3619f19","kind":"test_module","current_path":"perovskite-sim/frontend/src/workstation/tree.test.ts","route_id":"route-7c9b383571552feb","sha256":"2920b9ce5a3b2a2cf598ee38b6950d69e90342d9589281d9d049a09dcb82062b"}, +{"id":"file-f4e9b94d58254323","kind":"frontend_module","current_path":"perovskite-sim/frontend/src/workstation/tree.ts","route_id":"route-9086396511c0d3f1","sha256":"9f588530dcbbc2e187ac03aecd5e1370d6732c6d7d36abad9eb2fd508004d8e1"}, +{"id":"file-e6cd77007beaad21","kind":"frontend_module","current_path":"perovskite-sim/frontend/src/workstation/types.ts","route_id":"route-fa5dde7cc753e4f9","sha256":"de036995d8a0b0ede8325051022d793ea21018bf70d6ef0d695f7172d2528375"}, +{"id":"file-b5453f21a01f7cbd","kind":"test_module","current_path":"perovskite-sim/frontend/src/workstation/wizard.test.ts","route_id":"route-c1b5d7155a54927d","sha256":"ba0b43c04c5f91f4d5c7d853ec016d7447f4156351e43065d22b6e77221b176e"}, +{"id":"file-0a94cac6b7f9917a","kind":"frontend_module","current_path":"perovskite-sim/frontend/src/workstation/wizard.ts","route_id":"route-755705afa4c1dc44","sha256":"e942717d6c895fd0a2dd0778785c92cc7b28a8400ef0d37346a8c13da62f23ba"}, +{"id":"file-1e4c5a58d6d56cc5","kind":"test_module","current_path":"perovskite-sim/frontend/tests/ion-flow-viewport.html","route_id":"route-3f9757d0e516c367","sha256":"4f305e6106769b656e407e25f56fc9f80ac7f7c1d1fa1306d80462034ec22218"}, +{"id":"file-1c0b387cfd603f52","kind":"test_module","current_path":"perovskite-sim/frontend/tests/ion-flow.html","route_id":"route-92aa47b42c46ecaf","sha256":"171ba6c885ea2159b6a7621941fb099023714e26ed3ce3a7e249e25a7c793c90"}, +{"id":"file-c179f2a460c682ec","kind":"repository_file","current_path":"perovskite-sim/frontend/tsconfig.json","route_id":"route-c732e0cc5d44ac45","sha256":"2e1c1868d84b1b973370912d00b18d2864688c6074d7341b356c2715ff813a84"}, +{"id":"file-8146f065bd8ba26c","kind":"frontend_module","current_path":"perovskite-sim/frontend/vite.config.ts","route_id":"route-d5c1a0aeae4b7976","sha256":"445dedac1ac65538a4952437c7390dc1114cfc5c882ef35e985ca27d4bd4debd"}, +{"id":"file-c8847b0149fd2980","kind":"frontend_module","current_path":"perovskite-sim/frontend/vitest.config.ts","route_id":"route-326b29a282feeea9","sha256":"51c52d69d289a1470e9a66c2bfa4aa91ccb4f5c328e807fb21085fe1de9939e2"}, +{"id":"file-81b205adfc215153","kind":"python_module","current_path":"perovskite-sim/notebooks/ComprehensiveBenchmark.py","route_id":"route-be01cae2a69ff3c8","sha256":"678986c7b85455dd3f522b498d4b5895ea3a8ecc14d9232f4e156a3dcd5d5fa0"}, +{"id":"file-d09edc66004e75de","kind":"notebook","current_path":"perovskite-sim/notebooks/Degradation.ipynb","route_id":"route-cd9bb1a084e4360d","sha256":"b78cd10a84320d441ad007004ac281fa3f4f1a0922b1c59dd5ecc390f46bd0cd"}, +{"id":"file-7fb2a07847e22aa1","kind":"notebook","current_path":"perovskite-sim/notebooks/DeviceParameterSweep.ipynb","route_id":"route-688dcfe422f87324","sha256":"6750d31959207b58cf743084ff5acee5c9d488c5d73e585afbe091c84eec644c"}, +{"id":"file-63555fae865a32ab","kind":"python_module","current_path":"perovskite-sim/notebooks/E2eNotebookVsApi.py","route_id":"route-254d9d38890af92a","sha256":"27a642ce3ecda06a2e75b1e1d7074c01565fa915428cab0dbd8643db6a2a7243"}, +{"id":"file-20c1e6936c60646c","kind":"notebook","current_path":"perovskite-sim/notebooks/Impedance.ipynb","route_id":"route-18204f5476d34605","sha256":"c23d2d87e9bb2d86e8cfd3ece023146bb3a377ffadf1f9f15714d4eadd0cfe8e"}, +{"id":"file-52356736ae6e5290","kind":"python_module","current_path":"perovskite-sim/notebooks/IonmongerBenchmark.py","route_id":"route-2cf90a73bb47b2c4","sha256":"ba27a56a86f74e29724e4171ec568dc32d39a61ac6ba4a024581e150cec0200e"}, +{"id":"file-fdd05a8b3f9c4044","kind":"notebook","current_path":"perovskite-sim/notebooks/JvHysteresis.ipynb","route_id":"route-f7f47a2afb9fed43","sha256":"de5835bc5ebed89bf2cb104c2b41076b99bdfaff79279822e72b2bbd94036bce"}, +{"id":"file-751792585a7e9198","kind":"python_module","current_path":"perovskite-sim/notebooks/Phase2CharacterisationBenchmark.py","route_id":"route-b60fff3c38c1ca76","sha256":"baed4bbcc37b11f67ae405d0474f71850132a7fc40dde607fabab5598982ae81"}, +{"id":"file-78f2c5597e6123ce","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/__init__.py","route_id":"route-ea98e9c5a2eb2c6b","sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"}, +{"id":"file-c39ecdd4c68b589b","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/_compat/__init__.py","route_id":"route-5ca25e5a9670d119","sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"}, +{"id":"file-51b39398df391e8e","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/_compat/numpy_compat.py","route_id":"route-1099ec0833036140","sha256":"7ffad9557713ecbbf191d8e684d56c55cdcac029b2b2448077a5bafdd5747d50"}, +{"id":"file-5b85efffabf2630d","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/_compat/scipy_shim.py","route_id":"route-3edbcca23dc45d5b","sha256":"33ce6c210cd8101db695350a227d6886f99bdaf5acce5e0e4984b3cad2cd1fa3"}, +{"id":"file-0f40edb275e57753","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/constants.py","route_id":"route-4998bff3908378db","sha256":"9ae428b44bbe5f475b638d9c3339e69930249e2b1c39ba0acbfd0764fcaade76"}, +{"id":"file-90d840e72cd460a0","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/data/__init__.py","route_id":"route-c4ebf2c9549ec81b","sha256":"60cca7d1762c831541e6c5b744668e8550d846f807be868cefcff5805a46a1b6"}, +{"id":"file-0fa8cd08b6853ea3","kind":"repository_file","current_path":"perovskite-sim/perovskite_sim/data/am15g.csv","route_id":"route-b63c99741b391fa6","sha256":"efa3f5ef4e71fbbd981e2741c296ee461b2421f50fa4819ba64a6cb026fae6a8"}, +{"id":"file-94dc46131117f6f4","kind":"repository_file","current_path":"perovskite-sim/perovskite_sim/data/layer_templates.yaml","route_id":"route-3888862d5670589f","sha256":"6a3dc2be4af2f2967230d17c7b39ff2be87bd3eec225eaa669520149189c3e5d"}, +{"id":"file-7803cb9def1ba564","kind":"repository_file","current_path":"perovskite-sim/perovskite_sim/data/nk/Ag.csv","route_id":"route-e755bd13d9c4a442","sha256":"4df8c2b7ca90d24be74477bc9e8a27ef83c2e7d42e2885465cdd87c70abbd3f3"}, +{"id":"file-508c434610828f6a","kind":"repository_file","current_path":"perovskite-sim/perovskite_sim/data/nk/Au.csv","route_id":"route-71a05a55d5491409","sha256":"f573ae5583ec88e572b97bac5bf4f4629e17ad2d52c5ed7d8afc815d952ee7f1"}, +{"id":"file-85e186308df1a66b","kind":"repository_file","current_path":"perovskite-sim/perovskite_sim/data/nk/C60.csv","route_id":"route-bec743f78135c736","sha256":"60f7accc2cb26faac8d041861d1c4be5a15c244480c0e6d920acc980d938a68d"}, +{"id":"file-fa2409309fc80e4e","kind":"repository_file","current_path":"perovskite-sim/perovskite_sim/data/nk/Cu.csv","route_id":"route-d587d66b58526f43","sha256":"09fd0124c6d015d975a5eca1e9973b8416f02194e54df2cae63a322fbb013824"}, +{"id":"file-3244f42304830009","kind":"repository_file","current_path":"perovskite-sim/perovskite_sim/data/nk/FA_Cs_1p77.csv","route_id":"route-790eb532ed603b4a","sha256":"0ee7387604904b252319a8e538bac101af3dad2b5c8a05b50fa2bda883578013"}, +{"id":"file-e5a03c9c798fbdd3","kind":"repository_file","current_path":"perovskite-sim/perovskite_sim/data/nk/FTO.csv","route_id":"route-c967c225572391c9","sha256":"481cc65eb23e22cebe924324cbe9f4553a09c53a8f3429d1600fad1c7bd6e1e9"}, +{"id":"file-ff7cab488c2400fd","kind":"repository_file","current_path":"perovskite-sim/perovskite_sim/data/nk/ITO.csv","route_id":"route-e0e06212cf5c0b5b","sha256":"d75e26ff9979d7db96b45035a3540914a1fb9ca3cf2cde3c3edaead70c3cef2e"}, +{"id":"file-01fe5bc8cb484a31","kind":"repository_file","current_path":"perovskite-sim/perovskite_sim/data/nk/MAPbI3.csv","route_id":"route-9fea75c6e2e5a994","sha256":"3e5e2b19c5563ba8132ab949270831c0aaa660be38aa26070c364a7414b9f6c7"}, +{"id":"file-abf7fdd542354e45","kind":"repository_file","current_path":"perovskite-sim/perovskite_sim/data/nk/NiOx.csv","route_id":"route-3ab50cee89ba4fd5","sha256":"b01357aca6a8eee41b2e22c87ec8ab5be4eca67254becf76af92d268ece8be81"}, +{"id":"file-83a5bafda6e7b490","kind":"repository_file","current_path":"perovskite-sim/perovskite_sim/data/nk/PCBM.csv","route_id":"route-1947ebbe94feae55","sha256":"b03a78c4b97e2f8472266f4d3b5e7c9e1f23526531edd68b9dc80f95cd91ba56"}, +{"id":"file-0d957ff7a6b3e5fd","kind":"repository_file","current_path":"perovskite-sim/perovskite_sim/data/nk/PEDOT_PSS.csv","route_id":"route-8001b82ca83e9ebb","sha256":"0ccca48126dd4d27053e6c154f398c32873d0b935c40a3cda5672979cd578eb3"}, +{"id":"file-28b669b6498a3940","kind":"repository_file","current_path":"perovskite-sim/perovskite_sim/data/nk/SnO2.csv","route_id":"route-59f4c6ae4520e730","sha256":"f3ba07ff715ceca647099c67eb478bad1281e0cb20d9118591f9b566938bafa2"}, +{"id":"file-2e07cd42730e8a9e","kind":"repository_file","current_path":"perovskite-sim/perovskite_sim/data/nk/SnPb_1p22.csv","route_id":"route-0ce731ae30aa26d1","sha256":"29ab6df37a81e4425cbcaba4ea11df94e2117a0228ebd3a39fe38a9ca7d2799f"}, +{"id":"file-423d586ca27b2b27","kind":"repository_file","current_path":"perovskite-sim/perovskite_sim/data/nk/TiO2.csv","route_id":"route-8ff135567013105a","sha256":"d0773f2042cff4819d432fd07fbc560f2f894afa51fe2dc42f54aa4db24b2de6"}, +{"id":"file-7fa35e80fbdbe875","kind":"repository_file","current_path":"perovskite-sim/perovskite_sim/data/nk/glass.csv","route_id":"route-3772d9ddfb637a59","sha256":"767eeb506dab6f90722a61178649b5c59eb767a915a759db8d30b9160b8d452d"}, +{"id":"file-a6f14fedfe193100","kind":"repository_file","current_path":"perovskite-sim/perovskite_sim/data/nk/manifest.yaml","route_id":"route-d074d2f27bcdd4b7","sha256":"9fa638d24385a4602a8752a26a9affd55c9083e9680024902a7bd430f5c76ea1"}, +{"id":"file-03c88b154908f5a6","kind":"repository_file","current_path":"perovskite-sim/perovskite_sim/data/nk/spiro_OMeTAD.csv","route_id":"route-4a0f6f10869296c3","sha256":"45d4eff61f7be07371ce089b7d665bd670bf4e05e2c2950baab8592a9adccd31"}, +{"id":"file-c7a10f48722b7796","kind":"repository_file","current_path":"perovskite-sim/perovskite_sim/data/references/csi_pn_cv_intercept.yaml","route_id":"route-2f7926ec845746ce","sha256":"14e38316eea8c65e1af81e578198f3c07dbacfb86ef239157840d519bf6320d7"}, +{"id":"file-a4ad2ef61509d364","kind":"repository_file","current_path":"perovskite-sim/perovskite_sim/data/references/csi_vannijen2025_pn_cv.yaml","route_id":"route-8d34172f85a01638","sha256":"b4cd86bc232bd9b22a8aee80e564d9c3a19899f93cdb413965e801d3fab7c81c"}, +{"id":"file-8665bf7534891974","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/discretization/__init__.py","route_id":"route-06e1ad5ab185247b","sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"}, +{"id":"file-ed9563360eb3392c","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/discretization/fe_operators.py","route_id":"route-bc24ba6e5b566e2e","sha256":"b3ab0cf0054d5aa1ec7e5fcd27b93d2ed09b137d043080a0310a219d3ff1154f"}, +{"id":"file-735d8ef2f4b48766","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/discretization/grid.py","route_id":"route-8aeaca6e3aa45fbb","sha256":"7d3ff321c2609efd51a41f29fc7936ba09914ff684f25322a11b8776cf96bfbb"}, +{"id":"file-15c11f19adb444e2","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/experiments/__init__.py","route_id":"route-13365bb015203d2c","sha256":"e060aec00c05f70d1dc2d433f9c0d922b59ac2da788ffe7fb6dd2bdfb16bad76"}, +{"id":"file-a327c1059fb0e825","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/experiments/band_diagram.py","route_id":"route-5ca82577dfe50181","sha256":"6c413f63586280e9fd768944e525169f54ab07301efdcc60a2b01cafde8aa2e3"}, +{"id":"file-34433b1182c1e0d7","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/experiments/bulk_defect_ion_transient.py","route_id":"route-6099117639558322","sha256":"8ca8b0e93eb8b26efed35acee8da8fb9d3f6b35fdaeeac0ff7b2d8764c7e13c3"}, +{"id":"file-bcd8698bed88f37d","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/experiments/bulk_defect_transient.py","route_id":"route-7fdd0a08afe81954","sha256":"f8974270a92f5b5aa0564dd748dac870b693c0dac087d8486c77a72a94bff2fd"}, +{"id":"file-0eadb7bce5332c8e","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/experiments/cbo_scan.py","route_id":"route-ab8776e954576856","sha256":"23fbf41f3cfa8aea669bc914d5334b873f3cc0b3edd9a308a52bc432afc27a6a"}, +{"id":"file-f4a40531378343ea","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/experiments/dark_jv.py","route_id":"route-637f1e727f89e31a","sha256":"7dd01ad1fe88fb0ac2d8d69722aebe8ec5d2cdedd2f5c0f149bad2477759540c"}, +{"id":"file-4c267294941960bd","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/experiments/defect_aware_impedance.py","route_id":"route-2accc863cbfb1452","sha256":"7a885ca595e18faad97580730d99280db00c6aacb0b41da41ceecc12ab323600"}, +{"id":"file-040accf729ff6020","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/experiments/defect_ion_combined_impedance.py","route_id":"route-7e52697666c1d1db","sha256":"026c14f5e56cb1fa3ad0658535248fb022b0e69e66198c67a802bc62aa4a2038"}, +{"id":"file-07a3632ea330ceb2","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/experiments/degradation.py","route_id":"route-5f608c1296bb5da2","sha256":"bc5366e74e4d95f69bcb995b134aefa64355850482ae1bd442c4b713bcca5e20"}, +{"id":"file-5b8a15d4b5642b3a","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_impedance.py","route_id":"route-130393a19cff03be","sha256":"001cc1766638312035f63ffe7a337facec11f1373ec5fae0707f8b28af0bfb28"}, +{"id":"file-db896d73bbc7b25f","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_transient.py","route_id":"route-a56ff31ad57a1f0e","sha256":"393424b5a45726f801e43c16eabeebd950ee8091ef8bbf10c9ef36855eb03ac4"}, +{"id":"file-55321348c6301878","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/experiments/el_spectrum.py","route_id":"route-e54ce44407041288","sha256":"ed1244ae4b0247522a9a0e0b1a97a80f27fc7bf588e46d51fd8cc5571439520c"}, +{"id":"file-b954709d251a8d68","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/experiments/electrothermal.py","route_id":"route-7db2e643362dfd6c","sha256":"a9c3c142335afb0fe49346858a8a77ea79103e89af4d73045d0e4024085a6d9f"}, +{"id":"file-85c5ebff5019fa5e","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/experiments/eqe.py","route_id":"route-5a8723c98dfd6f67","sha256":"dfcfc051af754ccb58c126728ee80b3bcde86c2c1637ccd0eae3e92d5caf7f99"}, +{"id":"file-fc3b85136c6dd3c2","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/experiments/external_circuit.py","route_id":"route-f5899aee3f4d6b9e","sha256":"0f2a6fa803686536e5626a5144b780012242feed86de44550bcfc12d7b13dec5"}, +{"id":"file-e19e54c52512a040","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/experiments/identifiability.py","route_id":"route-aabd8ca4f67f1c35","sha256":"fec82a43d7da9e29f0ca43441511e5dcae51c8384f0f0eeac338ff7ad9302f88"}, +{"id":"file-f5c92ade946d0f66","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/experiments/impedance.py","route_id":"route-7476954ae0fdb534","sha256":"bc77a24eb7a2eed0ed8cc4a3c3f374378a5654d2906dd88622fe8b5fb19bc11f"}, +{"id":"file-8df38e38220ff716","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/experiments/impedance_frequency.py","route_id":"route-45c70ebb1a68590b","sha256":"a60788b03a859df4529bd67eec5ea1b967c55014063d80a26d706e169c6d9ba8"}, +{"id":"file-c6a62b8f3487ca9f","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/experiments/interface_charge_jv.py","route_id":"route-5e747a794c569195","sha256":"fd8cd5a4776d27e753c959a395f78829fadaeb6bb883098f2e7d8d9642b2c446"}, +{"id":"file-a5cdf9e631b8a8d6","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_aware_impedance.py","route_id":"route-0f4037cecfd2937f","sha256":"ce8efd94278348e7e05745c59648407c1eed75ba137e8a07c26ac9ea71f5a05f"}, +{"id":"file-4b9608bf78de7286","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_ion_transient.py","route_id":"route-4a5beb0fdcf3619a","sha256":"8c3298a7b5a1b500a175a7687c33248efeb1a8a36794ffac5a4986a02b22a573"}, +{"id":"file-a65c9289e6f54b9f","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_transient.py","route_id":"route-9b19d2ed844a6c53","sha256":"1858344ffce785e22837c53f5cb0bdceb332666fb26e883bd54b135fdbc27efb"}, +{"id":"file-96b0e76611b8a92c","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_analytic_reaction.py","route_id":"route-2d70ff5a414a71bc","sha256":"213474f49d2b735c1a96d89974021dbf9c35cb9488b2eb741337fd16aae7c22c"}, +{"id":"file-c3cad5858ba31e6c","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_analytic_transport.py","route_id":"route-0b685a0a6f8ded75","sha256":"072498cc475ceb5bad0f7fc8bc1c60c050efd3e6d2a5cced96288ea2d77755f1"}, +{"id":"file-88cdcef394995251","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_dc.py","route_id":"route-540527431655d5fb","sha256":"c3d72e92929e2485c41f2f282e58082ea5415f1ffba176edcd08939d9344f798"}, +{"id":"file-67fbfc77f6dcc6db","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance.py","route_id":"route-66a78cb7e2ee8eba","sha256":"74af302cd7a071e69d60b01d07371ac0e8ad9036c1ec4063175c442e25b01892"}, +{"id":"file-6988d870c9ab6be7","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance_grid.py","route_id":"route-3ca1dfa513a1e322","sha256":"f43cb2c7003f230012da25a3cae228bdd37c49a6707a0ad0f75e5d0b967baf5b"}, +{"id":"file-2e3401b7636792d5","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance_lockin.py","route_id":"route-e427668ae85b61ce","sha256":"8796d2885e7ae3114a6e82afab5edb2f41e78d87345fb3ff282605b88a70053b"}, +{"id":"file-2c1cd84a8105766d","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_structured_jacobian.py","route_id":"route-d50045e506093dad","sha256":"c4b6e6953600bcf1f511717c897dc8af9a390e18501091143c18470b086d82e9"}, +{"id":"file-af4fef98f0fe7bb3","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/experiments/jv_sweep.py","route_id":"route-6110e3f0105bc8f1","sha256":"428fbe1c421192e2495ac94fa171df42f2be94dca7733b7a5ab2e07a9628ef96"}, +{"id":"file-18f7beef63cf3b71","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/experiments/metastable_preparation.py","route_id":"route-122501331d596e6c","sha256":"cd7efc45fb80d64aa4c669b2752e80cf294a0a7e523791de4fa958839d9d0ff8"}, +{"id":"file-b4ab5f7e54fe3222","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/experiments/metastable_transient.py","route_id":"route-ef61f462b2550dc9","sha256":"1579c39f88f6c0df5b69272bd26d01ad949ef591312ca28df3db93338727db1b"}, +{"id":"file-63c05bb11cdd8573","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/experiments/mott_schottky.py","route_id":"route-f07791f6d464ccd9","sha256":"862b0dcadddd5b2097f313dd64b01e0d49b54219109d510f1cab71ac5d8e280b"}, +{"id":"file-7fcaab4deb6972b7","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1.py","route_id":"route-aad6beda6ef7111b","sha256":"637bc790dc09ec0632b733bc72e3fdcacf20dc017efc88a8fafed7dd927fb116"}, +{"id":"file-299c10c5e11efb73","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_admittance.py","route_id":"route-522d180395ae3094","sha256":"4b1d7ec8961d75a883fc03a7f87c807f36670262921004c0def3af8185703c72"}, +{"id":"file-00c567ee4b01114f","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_backend.py","route_id":"route-f9764d60842a3b96","sha256":"630c2a686547e269ee406ba301bb44b078de0c2a939ab5f377784d4bf77badb9"}, +{"id":"file-5f2758f6362186c5","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_baseline_electrostatics.py","route_id":"route-5c466e672224acb1","sha256":"e902d51d33e407357b9a8b2eec7738604f9d975c5082c46a7c87fd481c45c0ac"}, +{"id":"file-ebaef10034974635","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_baseline_initial.py","route_id":"route-e2be6886e84bde25","sha256":"0878c56a738f64cc51c5ad8907c02650132a31721f278b3faf2a8d12db909b77"}, +{"id":"file-4a05a643fc5fd08e","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_binding.py","route_id":"route-af422dae26465537","sha256":"376ce06d1fa83e8c99bd5f69a22eb9778d903c6f20a755078a6a68c0aa562417"}, +{"id":"file-272b9ed042098927","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_checkout.py","route_id":"route-d7705533e8467092","sha256":"0ed9fcfbc10a3b6cf44233594fe9c31622fe7a5ae9b3fa0ccf9b71785afd97a5"}, +{"id":"file-e21e6ddf3d6d5541","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_convergence.py","route_id":"route-755640e005444d99","sha256":"a8e2b9738d551a5b5132cc3d99b57e534a0c5b5d4f7ab94e24f4c464406f1ca8"}, +{"id":"file-e009c76ab583a026","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_dynamics.py","route_id":"route-575c23ed996d11ae","sha256":"64d2fbb4bbae8e8e1b887f5ca0e8fd312d4b5cb5bd1faa5ecf31909048f995af"}, +{"id":"file-7f57c5d93d5c10f5","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_evidence.py","route_id":"route-a836659cba2bae29","sha256":"4f36080be9a878e6f0cb7be3ebdfdede78a897e34e3912b47a249e607eb04a07"}, +{"id":"file-b6ca9d5232d6da58","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_execution_validation.py","route_id":"route-256b9374ce35458e","sha256":"4b8615e0035e6bf338731183a2bd1ffb613853dae720e6719ecc9dbd9cac3371"}, +{"id":"file-0b98d72ab2b7682c","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_failure_reconstruction.py","route_id":"route-173ea680ef0651a4","sha256":"2d6e23142c8586d42f4adf67fb22731eaf2efaacf6cda685df696a32f5d78ecd"}, +{"id":"file-9e0a8378777b6966","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_failure_registry.py","route_id":"route-a2e0063d98be8d87","sha256":"64abad5af4500a9becc2ea36de36b5905a7710a849221ce8a941dbb6498c6a77"}, +{"id":"file-653ff712e6d27b0b","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_failure_witness.py","route_id":"route-27c91396fc0bdb8a","sha256":"de74434dfc6368a86642a789befbe1dbcdc17c7ca726e237c3328c19b1876d4c"}, +{"id":"file-f7a34b56b8d361e0","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_global_reference.py","route_id":"route-eeccc2e764f79cbb","sha256":"f5ba16b4778827f1321384e3497b73d1cf574e0dfdac93eab09bd49fef2331bd"}, +{"id":"file-619ff9aa711dff53","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_history.py","route_id":"route-957776860bca25b0","sha256":"2921971011ba1aceaf105ffbeceb31f3eb533883d73704293ddf247a631eaad7"}, +{"id":"file-ae07541db11c4871","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_independent_physics.py","route_id":"route-6e34c8d8fbbe3985","sha256":"03db33ccf1005c5afa0cad6b86acae52bd60e11c0d36a7df68a7bbdc3f4cbdad"}, +{"id":"file-fcbb80f4121433ac","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_independent_regular.py","route_id":"route-be90e1983fe18133","sha256":"af4ff60f6e6a573e41a0fb885a5f019ee6c48461f99f0d341058c444a99500b9"}, +{"id":"file-81c85d7590116591","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift.py","route_id":"route-ceb58bb22e2c813d","sha256":"65f85c06a38be9cd41ec3ef344af34d1baeb300a012c47df71ab5d658b9e821f"}, +{"id":"file-3fa0718c86ae6024","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift_codec.py","route_id":"route-67f4fa91e8d361c2","sha256":"db2ef01419458819ef006488c7924944b6065174ca1c02da24288a66e440f299"}, +{"id":"file-0e9514a6d96abb04","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift_continuous.py","route_id":"route-94c08e51c92c8c08","sha256":"5d76a2cdb27ab4188e2663fd09d08b1cf6e4c936f455cf615fd98da5113036a4"}, +{"id":"file-2ef0432c2ed9c16d","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift_reference.py","route_id":"route-7e98c4ac49886b90","sha256":"a566ad00c277b1792b61322ab4daa2d2c8a45070bb40b6a4f6de7bb2ba16b0e8"}, +{"id":"file-058180e74625b624","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_local_carrier.py","route_id":"route-fe7edc51ffa8a34f","sha256":"c6ace0463271ec3d6222300c55d707a61e1cceed1cca5c4b2f869f466cae7ce7"}, +{"id":"file-6710ecbb4cc75465","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_pair_codec.py","route_id":"route-883887b3dfdfe620","sha256":"a2c23d94bdc0023ef24777613e6e5af70867bbd1759071381d64bdd47446b912"}, +{"id":"file-32687d9b67720697","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_pair_response.py","route_id":"route-5b3fb4c2e7faa4fd","sha256":"a3a8bbba73ede8e23c7d29794bbd9fb28de6138de99f9fb6d7437ef9884a8da5"}, +{"id":"file-f59d245a134b8178","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_pair_spatial.py","route_id":"route-b7d154025070f63e","sha256":"33159889475b12bd7d7f29ba8d0a6cdd6fd8fc91c5c77c5eacc4a6f5392f53fb"}, +{"id":"file-90afaabac04db9c3","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_physics_validation.py","route_id":"route-2c7423ecd5b7cfb3","sha256":"6dd8d4e4fcc22697db717bff075ed1a2f875141cc3396280e7f38e34209f5af7"}, +{"id":"file-2667b5276b0c7a5e","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_precision.py","route_id":"route-f05686ba301ff5b5","sha256":"aebb040ed5f1319e5541f9104886160a0cd2f63b1ccdd366d9de1739a8e71395"}, +{"id":"file-bfa28055dab0fb36","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_precision_initial.py","route_id":"route-3b69a8e5eba379fd","sha256":"7350e1bf4bf2c1d14c36b22bd60ec9b844c8b558030c99332489d310af051c17"}, +{"id":"file-0bc6b400951bf168","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_precision_physics.py","route_id":"route-758f0230399db64d","sha256":"c5353e6aff99888175bbce038d6787bd97385526aa228089253350da1fcc657a"}, +{"id":"file-c55fbffd8bdb36e9","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_precision_state.py","route_id":"route-479bfc89ba54017b","sha256":"1c31475237b2733a6c2d319f34c30bec35277b3fb671cf2f1c993ad42a7e9b1e"}, +{"id":"file-d5728cead0385edc","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_protocol.py","route_id":"route-5574a77d963b18e7","sha256":"7b053566d7931c7e16fe60ed46fabd9ca9a6c82461bc6116348ceb69dc8d4974"}, +{"id":"file-a1d8133c6ffd691f","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_qualification.py","route_id":"route-0ecc7ee40a381355","sha256":"deb20769c349ad495a5f30f4c2420c1b1fedf495581063e832de9ea7d07e9715"}, +{"id":"file-f89f452f3e764419","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_qualification_workflow.py","route_id":"route-5360935065a2e2ec","sha256":"bb4057871e5f535f69c10050a19f1f086709caf89797087be7354b862e11fca3"}, +{"id":"file-699338d3d82c9ece","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_replay_receipt.py","route_id":"route-718e16bc1bd22606","sha256":"be0831fca8efe0ad1fab2dda20c93f8a2db07cc6df9239f794c6ce53de6c2ee1"}, +{"id":"file-86a55c779ea082d9","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_response.py","route_id":"route-16e41e21eea34bf8","sha256":"46c25ab45885c1ed966dc58ee044d55b66ef69070b90184310fc5682670d7b51"}, +{"id":"file-f3277e084e9189e7","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_result_contract.py","route_id":"route-36d6f9d50bdbdde5","sha256":"5c004525405ed95e4e277e516ff3a95a8009bea230c0e2f5c9ab981000552cd5"}, +{"id":"file-3d4c03f4668b58b3","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_result_validation.py","route_id":"route-032b079dc83b0429","sha256":"bd1e025595c6c2bf538b61bf71af5b4bbecbf89aa5f5fe799c0307a08d213450"}, +{"id":"file-9522e1873eb4f561","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_run_record.py","route_id":"route-0795c1cf0fb254d6","sha256":"b51679bc00233a7bd4a5bcda46c61391bb0409aaa8eb4b5953bd2a0f5ed39997"}, +{"id":"file-a97008c58287157e","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_spatial.py","route_id":"route-5db8498b026fe96d","sha256":"25f324db38057202e00f1c4d9cd09e201bdc502b4234c7e7257b95424eac83d0"}, +{"id":"file-d89423fa07593644","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_standard.py","route_id":"route-d5586ec2f94adf38","sha256":"73669da8d7f08184dea9e89f19c79442d6032b9ffa1769da449ceaf8da677cba"}, +{"id":"file-b2c01f446a5773ab","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_state.py","route_id":"route-3437e4b3d969b4d5","sha256":"49bca65cf639024599781bead35db5524e5d61429efdc92bfb84e742af99422f"}, +{"id":"file-b6863b847f640b12","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_step.py","route_id":"route-fe9f2c86a6fb4b9f","sha256":"448d03cf4fd62dcd7f18dc6db5d90634b9650848d2dd31fa2b3fabe9cf1ff44b"}, +{"id":"file-1a0049fc84a95e0d","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_study_request.py","route_id":"route-d0a73f45c47411ab","sha256":"2697b42197b9d80f78e1b3ddd0dfa697519ac8857a1553eb9e818a7f284b85ee"}, +{"id":"file-4c619973adfa82dd","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_study_response.py","route_id":"route-dd89a27c87e2e3b2","sha256":"efbc793159c28bc12be9cb44e6ce3e5327fbc04f6eb7bbd186f35c68b4f3aa63"}, +{"id":"file-fee645fade212b46","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_window.py","route_id":"route-1c4ca2bc1a62b894","sha256":"977279c8fded7555f0fc8a879e13fd29c908010e8633640f78500ee9042d7fac"}, +{"id":"file-0d3d1e171b82ed56","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/experiments/open_circuit.py","route_id":"route-3431bf7169601fdb","sha256":"f02036a172b26ebc7723e350ace7d9a91fc07b7bc04ed7d638d39da54feef798"}, +{"id":"file-0bd15bd25e20993b","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/experiments/protocol.py","route_id":"route-ca59b5ef4a3f6fa3","sha256":"427d372bd2b28bc2c9b6b924ea4cafa42e7315decf5385664f74bcb19137beef"}, +{"id":"file-5382b32f61874d12","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/experiments/quasi_fermi_impedance.py","route_id":"route-e8ca7a89ef09d514","sha256":"dbac8e42fc31bc3ba1d42aaa755100b99a627c04667910f6eff2452ee5359e22"}, +{"id":"file-5e3042ec4eb11ff1","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/experiments/quasi_fermi_steady_state.py","route_id":"route-1c35c1275d46d863","sha256":"f8fc4b1f4274fd154e956b42d2d0d715c4b8045ec84ee50de2798023e5b14fc4"}, +{"id":"file-7ec2ce9feea1ff2e","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/experiments/steady_state.py","route_id":"route-e968e8702b679dff","sha256":"55580e14e075de0596e2a8e6e55e0a16f2c9581be380f2bb3bacbae2b5d1edbd"}, +{"id":"file-d29243af45c58a88","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/experiments/suns_voc.py","route_id":"route-dad900bc285405c9","sha256":"6bea3aa6645d9cb1d68786f3dbe6aa02d39bef81664f575eff2d43b9c694c887"}, +{"id":"file-f88951c7851773ea","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/experiments/tandem_jv.py","route_id":"route-c0ff0a667c4cc9dd","sha256":"d13960a2114863df754d8102be1c1d098d52d9f7ede1f97c9556b50ad653bff3"}, +{"id":"file-d5e336ce41e0314d","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/experiments/thermal_balance.py","route_id":"route-f1a859a308a3d395","sha256":"987516eaef3fa53c96b544e02637076f21478951ecce193441f5b33696b8bcb6"}, +{"id":"file-de3b4887fb33be0d","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/experiments/tpv.py","route_id":"route-a09f453482a461e1","sha256":"4827229c6e7dba18e339ce44611eac3152f9e6b1bdd63de237f17ebc61766cb8"}, +{"id":"file-9cc26aad286ea7aa","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/experiments/trap_small_signal.py","route_id":"route-a2dac88b7495c3ed","sha256":"de614e89798d08a7b067bef26bacc68ca6c8dbcfe71f64c3d4ec2e779033b8c1"}, +{"id":"file-6cda375f3f910a71","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/experiments/voc_t.py","route_id":"route-e0172633acf9b737","sha256":"2ac2c4648a009659879a5a4f0a45b2649140541477ece69d36b2a2d0e5529703"}, +{"id":"file-8bfbe83f6f6e7840","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/experiments/waveform_jacobian.py","route_id":"route-565d1407a29fab5a","sha256":"dbf0f40dc191c75a35d01575c27db0e46daa64af522a6635b4218327c4909226"}, +{"id":"file-1e2bf3537b0d4f89","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/experiments/waveform_jv.py","route_id":"route-00e5ec97ad8c8b8a","sha256":"cac7648c136190db6bca65697cdb3200ab7b57e81787736a67d706cda333d1e7"}, +{"id":"file-e36f03c232248692","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/models/__init__.py","route_id":"route-ed96b42a793c14ba","sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"}, +{"id":"file-cb5863178b905c19","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/models/config_loader.py","route_id":"route-5c68cb43cf0f80a0","sha256":"f25dd749fec6e2e755cf18d221986efdc323b6f2c22e92ec7297577117442bb2"}, +{"id":"file-f5ba8b21788586d9","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/models/current.py","route_id":"route-6ae8e3c7ef27223f","sha256":"483c1d91b0b480ef0394f3e6d201a18983928c17410a9ffebbf9510b5cc73627"}, +{"id":"file-e18e0a6765bf5dd3","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/models/defects.py","route_id":"route-b800342e538ea2d1","sha256":"0bf3cedd435ff8259fb436bbcfcfa3aa586bdee50f89caba161e162c6913159f"}, +{"id":"file-5185279a465189c4","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/models/device.py","route_id":"route-7e81c448796358a6","sha256":"abedb9e39655a5b54997968a7bfa4d1664b7493475dc8e7c55fffa68195330b9"}, +{"id":"file-1eb6aea62d4e4e4f","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/models/el.py","route_id":"route-ec4497e18dbf69e3","sha256":"b239391d045dff27ad44ecbe022dbaab337e6d4584600430dc1a454a1fce5f2d"}, +{"id":"file-0fc06b3c8b1bf01c","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/models/interface_defects.py","route_id":"route-47275d8cae52d1c6","sha256":"8d0ad0057410b42bde00d2cdd17a765f94a5f2d95ebe51a1cb815d24553084bd"}, +{"id":"file-56d3bddcbd3c1783","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/models/mode.py","route_id":"route-b981852fd14f7111","sha256":"7464cf8619401997206fed5b23cded0a361ab6064f6b06a2449fb9f13a700688"}, +{"id":"file-7945a9a7744d163f","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/models/multivalent_defects.py","route_id":"route-f2fb3894a767ab0b","sha256":"dac4f0e32804b59126a16629b4ccb377fb71e79a8b270b43283df851c97256e6"}, +{"id":"file-d84d28061e22c2e7","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/models/parameters.py","route_id":"route-874e0fb545d7dfb2","sha256":"0555a6c9280431889b34328bf1e513c7e6d6789368ea858ff3e1ea5a60db7d9d"}, +{"id":"file-bed2c91955629e51","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/models/spatial.py","route_id":"route-dd6d44a89b46f80d","sha256":"bf64684bff565bc6b26feb49c54ac1b5d2d403df51729f4fb57ddd276307cfb7"}, +{"id":"file-3730736dc0ee0b2b","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/models/tandem_config.py","route_id":"route-a49b47e146a02ef2","sha256":"9aaf4e1fb87f43950c96cabe0ac309cd3416673848b80889fc366be32ad2b595"}, +{"id":"file-21a35014a98e5e2f","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/models/tpv.py","route_id":"route-17806e03bd172ef3","sha256":"af4af1e7f4554ccebdcf20ba5a01db3fb3f5656cb47a3de8ecb33816f9ca0d84"}, +{"id":"file-f0873186e2cc0e86","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/models/tunneling_channels.py","route_id":"route-e98430e35cbc35f0","sha256":"988195babef2c7390bfacd0f849b91a3802abfda3e742332642c1c36a610a114"}, +{"id":"file-9ba5aba56ca40425","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/models/voc_t.py","route_id":"route-ddb81b9050da9068","sha256":"e7199c3c9af9d3224a8005d32d3037d34dd53c05c53c2e3562ed1b31b1243e68"}, +{"id":"file-8d640e68dc12a6a7","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/physics/__init__.py","route_id":"route-059924201c7dbaef","sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"}, +{"id":"file-4315292d86288efa","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/physics/band_gap_narrowing.py","route_id":"route-5b8181491d7bb5dc","sha256":"ee7fe97002c19364750f4aa07be1dc150c2acb450ad74ee637d5b8cc783e0a78"}, +{"id":"file-6762c95d9aa36082","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/physics/bulk_traps.py","route_id":"route-2a52f6493776c10e","sha256":"4a78fabe85de747b81c03fc32f7095b01a68cafe7921d01806cd314f3cb4801c"}, +{"id":"file-fa213d4d7d6654f4","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/physics/cigs_optics.py","route_id":"route-cb684c2791a2eadb","sha256":"a7f1cac165c04f8f5d21a530987d65d10fa78af04c77b7e1382149aab59ca811"}, +{"id":"file-a83a08d537946e25","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/physics/compensated.py","route_id":"route-18b9fe1e2bc369d2","sha256":"48235c68776a31db04191347b506222c07f1837960fe0658da4e1c65f25a3204"}, +{"id":"file-35e5a563d8f5d43c","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/physics/contacts.py","route_id":"route-4ee875fb4c7eec91","sha256":"a8bc9a2938bd979ea9a5265af8785480b554ef723d4968b0ffdced8b8231709b"}, +{"id":"file-8420fce6e27be3f5","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/physics/continuity.py","route_id":"route-6ea3c3d324eaee4c","sha256":"bfbb34a3ea772a798385b8ef083aa9857eee3f0d08e6a3e9f8f1fc0dfcb96df6"}, +{"id":"file-0f854419f9f4f5eb","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/physics/defect_closure.py","route_id":"route-108317e3109dd879","sha256":"e8571cdd4878a75285de44bd9ecadbd9c9c3b296d88c3b62ff5ec1f478da9677"}, +{"id":"file-625c53d8af5b641d","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/physics/defect_distributions.py","route_id":"route-69cbc8c249cae851","sha256":"635b5e5285d0c87de325edff7de745b398705eb8537495435f05f32543542a5e"}, +{"id":"file-51367c811a21ddf6","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/physics/degenerate_transport.py","route_id":"route-f7e8418017ccd1d1","sha256":"5387116677839a6ecd3ba6ff261d9e8b881e850ab356255551d0c04165445c1f"}, +{"id":"file-f3add13c59e3e0cd","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/physics/distributed_defect_closure.py","route_id":"route-716aea63eb4178e4","sha256":"1725704eb365858f120727646dcd3b3d8ffd9e69912a04a84b23285367106587"}, +{"id":"file-b2dfad2f50869479","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/physics/doping.py","route_id":"route-159eb00a9b62800b","sha256":"883d705622066585d1e93027105ed9cb6094b0bb94bb28e574f1097a5ef3c599"}, +{"id":"file-040b0ead86c404aa","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/physics/dynamic_defect_state.py","route_id":"route-a1ddb1d3142ac66a","sha256":"0923b57f53583afeb95da7092a45c7ab98a58579177525bcaf210c796d84a6af"}, +{"id":"file-9d043e8e3798b7ac","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/physics/dynamic_storage.py","route_id":"route-4a1ca1265630e4b8","sha256":"c0179c0144e9dadfd0abf959b78088eee91d35abf787a280a51079851dc5e006"}, +{"id":"file-ad35494ad8da8642","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/physics/fermi_dirac.py","route_id":"route-1309d096349404ba","sha256":"f5cc9d0b9dbbcc80ea51cb8c3c843dbeff722a44eeac732d9b333e2bc0b71878"}, +{"id":"file-edc79712c47597c6","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/physics/field_mobility.py","route_id":"route-f9d68986ba5bff64","sha256":"62ea0880e8aa05cf90dc0928f6bae7aec2caa132d69338661bff856a4d441737"}, +{"id":"file-fb22beaee2ee0f26","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/physics/generation.py","route_id":"route-127e79f3664fb2f8","sha256":"862c097f31bb5bab0e7585a4c361e0e7116010f652d7b6345a9a0de80caeac65"}, +{"id":"file-a9447c3f3887a2b4","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/physics/grading.py","route_id":"route-f6ecf92ffc73d293","sha256":"286c5347a808199717740f2366d08bf89a8e615eb16ea399b84e1ddf40d1fe51"}, +{"id":"file-7bee781de3345abd","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/physics/interface_plane.py","route_id":"route-637e7d01ee93a7e2","sha256":"7e8e9344d8f96b04b565986879ad9c67bd36d54afa3de90ee39de264a44f9dee"}, +{"id":"file-86e0e6882655d90f","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/physics/ion_migration.py","route_id":"route-7f42234b0878607e","sha256":"19c0b83485c5e1b61dce5ad8fc05b75202a40c383d964cd4bcf38889a5cbda35"}, +{"id":"file-8fa8d156720fd3b7","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/physics/metastable_defect_closure.py","route_id":"route-d2fb47f08b8af2ba","sha256":"638ca6b638cb2ea19386b7d5d7c584f056495d9ab2f25e2a88e4807987b0e62d"}, +{"id":"file-c08751c406a59507","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/physics/metastable_defect_device.py","route_id":"route-24d1f2b4bd711399","sha256":"fea38276765a05be67fe0305cb63c2d148a8b3f06d4bac5ad5f5673132329c68"}, +{"id":"file-a5710e4166e2d715","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/physics/metastable_dynamic_state.py","route_id":"route-fa598cd61b2ea6b7","sha256":"6ef5427bacdabe6172ad33f5b68b4985b255d85fc22e9c8a0aaf54387801aab0"}, +{"id":"file-230f07e2f86abe46","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/physics/multivalent_defect_closure.py","route_id":"route-0345e88ff9597357","sha256":"57c684618c87d06521e048da20f3fc38dc3dab2c6221e4e88c66d404a8cc5648"}, +{"id":"file-bf60d96d99b15e83","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/physics/multivalent_defect_device.py","route_id":"route-8dbbd61dabd00c1f","sha256":"5a631290005479e64529eba52f8273a8453baba1b1be4345d2c0f4e0365fafa3"}, +{"id":"file-630998cac3215e37","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/physics/optical_stack.py","route_id":"route-de685fc47e12df5e","sha256":"ef897393af20ce1a3a096e6db2d3a9b3482ca590ad71a294057124ceb6746543"}, +{"id":"file-3d4d19a7d0dd7760","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/physics/optics.py","route_id":"route-a8520f5ebebb99a6","sha256":"de249b529cbbb1681a886b971e500d442fd3a74cbc48fd97e471cef84bcbe656"}, +{"id":"file-9372e1dc69371f7f","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/physics/photon_recycling.py","route_id":"route-857ba4df243610e0","sha256":"cda651b7fdd7c202ed308d3a0e063c1cedc4ea76d7b0ef61db65e9ffcdc3d9f9"}, +{"id":"file-58c9195a8f9e3ea9","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/physics/physical_control_volume.py","route_id":"route-14fc913b79be59b1","sha256":"7ab20365a9f857169a8b9e2beb3a00c5129440e934e7f9875595c85413dec245"}, +{"id":"file-334741c70f8245d8","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/physics/poisson.py","route_id":"route-7058094fb55440e5","sha256":"cc59b0210f019561cfea8903cf7c0c968f4d31ceefffaca6092d09286b02bed5"}, +{"id":"file-a8767ff1bd176703","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/physics/recombination.py","route_id":"route-d398307860e5c0dd","sha256":"ec52279e65616a916c586818d3b6bec9ebe1bb7040a4a451e85e5785222726b9"}, +{"id":"file-2d0f55b8ad5eb4d1","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/physics/regularization.py","route_id":"route-8e7abe0da216054d","sha256":"32982af462fc430d518017579ea9c403dd3382be2f883464bc088b58a5d84539"}, +{"id":"file-9ea1726e0c35c820","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/physics/statistics.py","route_id":"route-35e97a37efe8ee31","sha256":"f790b5df608ec54ff64ebd1a3203bcec0a00d1bfbc2677a29ccd34208fc29a01"}, +{"id":"file-0133dd791eb621ba","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/physics/tandem_optics.py","route_id":"route-773079f3fd7c7161","sha256":"cdcdb0bf230b1bb49579c15c1286f29d928328482e75eb66de8a9a733b9d4658"}, +{"id":"file-5e8ed2f6d346ac79","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/physics/temperature.py","route_id":"route-aac7c5a444668673","sha256":"bd21a92f32802cf228379c1ccdf4600b50290ffd2e78314d099f7fddbdd9fc85"}, +{"id":"file-5b786a481d753635","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/physics/thermionic_constants.py","route_id":"route-8e06ca2231769bf9","sha256":"729d2c0df0e8c441404af203fd77b057a90c30b67fd268d873c32585067f979c"}, +{"id":"file-d98bc23477153d24","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/physics/thermionic_transport.py","route_id":"route-6882b9e2febf7e69","sha256":"996e4f1d46a10740a28f133a549ef7a2e190e72c0986b7a420a7c8f3fcfdca3d"}, +{"id":"file-d27067b0f113dfed","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/physics/trap_kinetics.py","route_id":"route-960df0ca64e33313","sha256":"9c3be44d7ef32773db38735cb6cbdd97cae68cfdc46f9ec60154a2b54c25efad"}, +{"id":"file-f1f226d1f2826982","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/physics/trap_population_response.py","route_id":"route-46c0d51d5bd93915","sha256":"64f5733bbaddceea323fa63b572abab133eb4c93bb1e88719cb156f483ad4398"}, +{"id":"file-549a9095f8e3cde8","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/physics/trap_transient.py","route_id":"route-c8e8f31424354d46","sha256":"a6b762e7120b8aeb557afab5fdc679f7d8c532f48100523edee632fd4b66e998"}, +{"id":"file-590745768f18b5b2","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/physics/traps.py","route_id":"route-d818782ce582c5dd","sha256":"2b4a2e6aee8471963fa392f295fb805c92a720340d77a757db2702bb65c7c2e6"}, +{"id":"file-880ce941a2af281a","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/physics/tunneling.py","route_id":"route-b88673dddab4e477","sha256":"661bfbe9f825c2a23b334efab70452fc1320ca7e791e6bb4cbe810a2847864e4"}, +{"id":"file-a8beb92dc33d9ee9","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/physics/tunneling_channel_device.py","route_id":"route-90540c4c93c6e925","sha256":"8263d4f3675dc9fd775507be11702d5c916e3a4cecb47f57567601ab8e73292e"}, +{"id":"file-274218b8e9e826e8","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/physics/tunneling_channels.py","route_id":"route-5e56613ad2fca2db","sha256":"9fb2633b715d57a3e22e08da089ad98e584804a39e7d067c6649b9fd77959a36"}, +{"id":"file-016f6d5aa57c53bd","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface.py","route_id":"route-ebfb46505dfae15d","sha256":"c5c203480aa72343ccd1753c4fb8f42b5d4c792e81ba896de350fe8c5e272642"}, +{"id":"file-a8846d37efc60ca9","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface_compensated.py","route_id":"route-681472f26b407b41","sha256":"1460f59994ec5e66c2c9b0302307d7c114dac1819e10153a28fcea123e5c6bc9"}, +{"id":"file-bc756aacbf034754","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/physics/wkb_tunneling.py","route_id":"route-6bb3ba52a914c157","sha256":"10604094f39fa7cdd50edd72d208e74564c0cf1e4439a57339af75dcf18b58f6"}, +{"id":"file-03e17b46c46f83e4","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/reproducibility.py","route_id":"route-ffde87533d2c6d5c","sha256":"83df5ef085a5ea86f3850aa2dbef10c09b43d3b037f344b1f66f686b2c182cd4"}, +{"id":"file-70b977ef69a28976","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/scaps_compat/__init__.py","route_id":"route-d37babac643ca975","sha256":"907408bc91357313a419c3c816a8351e99d770ded9dfef0a13a03ec56641801b"}, +{"id":"file-c02334441686a727","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/scaps_compat/defects.py","route_id":"route-5eaec7d1ce392f48","sha256":"afd98b29aa76cf5bdf01f291f6d289cfa7be34859ff2528b82ddcd57a77d2ca5"}, +{"id":"file-4fbd5a7df9781ca7","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/scaps_compat/distributed_defects.py","route_id":"route-2cbeb7481b7e8b7a","sha256":"23e0ea44ae438ce57cf8be803ff52ec53ce635cd0904c9a60cf41cd880f82c63"}, +{"id":"file-ddfa1452432b0a98","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/scaps_compat/loader.py","route_id":"route-9204a3ecd16c559e","sha256":"a03a31b81497df6118592aebce7000befaa1d5de787ad989d880c263000e0cd6"}, +{"id":"file-21b055ed7ccb30c3","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/scaps_compat/materials.py","route_id":"route-74d80b701f095802","sha256":"297634e0f0705a75e7866fcb9ccabacce8ca3feb76de6d7d46deaefcbcf0a424"}, +{"id":"file-169fca25085b60d5","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/screening/__init__.py","route_id":"route-71a8068fa5148b1d","sha256":"5c940f3ec0943fb4706ae84921fb61a127e3acc2ec07a94f18db7ab5ae5fec70"}, +{"id":"file-0fe2da5f7a4bc228","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/screening/evaluation_report.py","route_id":"route-5dbec4a76395b5fc","sha256":"33746a81a20deb52d71223f69e57028205818bac2f33179ac2deb9e1d070ee5f"}, +{"id":"file-56d9d3a5515d1e0e","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/screening/solarscale.py","route_id":"route-654ffdaede509b77","sha256":"67db4312f6bb1473e6d3cfd3eabd2b85dbdaf004e9f592c810485ff1a69b0bff"}, +{"id":"file-2bf7407313809d13","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/solver/__init__.py","route_id":"route-734c98eb9a4cdd4c","sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"}, +{"id":"file-79b25adb6742fc85","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/solver/bulk_trap_equilibrium.py","route_id":"route-1129c9e5b90696a0","sha256":"3f7bc1478b70eab82668e3db5b6b5cb457d92aad8f0fe1548c00d07b833d1f55"}, +{"id":"file-954a725f0377e5f6","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/solver/dae.py","route_id":"route-902dc4ac38f019c9","sha256":"0836cedbeabd5a211611c217776bc7a045197ee501373e8a2b240b062134d0cf"}, +{"id":"file-890989a27f00a4ce","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/solver/dae_dual_ion_integrator.py","route_id":"route-fb0723324262c843","sha256":"32d228da12825ec5fcfcf654935c5a460e89b49e36368ff8f9a6f359c0ec65af"}, +{"id":"file-61524ddce71d9ca6","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/solver/dae_dual_ion_jacobian.py","route_id":"route-9108e77d43729c39","sha256":"53988cfa8f6bd7af1877b5a8e76293b91527d8cd7b93b19389b5491a99b69971"}, +{"id":"file-12a226891304f061","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/solver/dae_dual_ions.py","route_id":"route-fb0723324262c843","sha256":"a513f262079d514e1636baac3bba043fe9612c4d0d5cb456adc65ec33dc229e0"}, +{"id":"file-2c585dcca73bd565","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/solver/dae_integrator.py","route_id":"route-902dc4ac38f019c9","sha256":"865f6631d2c3946252ab5e1c128b502a5d80f814f83ffa205c00d5f0450aceb5"}, +{"id":"file-ed0c6a7c566a67d5","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/solver/dae_interface_integrator.py","route_id":"route-d19a044988a2dbd6","sha256":"b292418064b15fe9e3af51eebe9ef2048076171336742beb4c196d2b30dfa1d2"}, +{"id":"file-19d067e1d2bcd375","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/solver/dae_interface_jacobian.py","route_id":"route-10298ac60ba2589c","sha256":"5785e57455da3b882eded59bb9621cb21bcac52a7b68e5e2ba4fc3c0300e8503"}, +{"id":"file-f3f0177e6d3e6cf9","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/solver/dae_interface_states.py","route_id":"route-d19a044988a2dbd6","sha256":"8771d8e18d570ee3fe1dc9ba176d9580b57b79d9b1df8f00368b7ff54ed0aec2"}, +{"id":"file-54926ff6a61bda0c","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/solver/dae_ion_integrator.py","route_id":"route-fb0723324262c843","sha256":"32bb220c3928d99a41f0f51155f7fa70fea123b1e5ad3b1f8d58c2181a1343d0"}, +{"id":"file-dc2b3c231bf44774","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/solver/dae_ion_interface_integrator.py","route_id":"route-5ae54ca672a8ba3c","sha256":"ab6d6a62e7b196261443381a47bd6f2951191083efb201844ef6d82f3ce1de5c"}, +{"id":"file-f514dc82cd083659","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/solver/dae_ion_interface_jacobian.py","route_id":"route-bfba9a9733e990b2","sha256":"f5736725822e4cb4beb62e7b138e227f51a41b2dc38a8c37c274345f7d942ce9"}, +{"id":"file-d33daac72fcb9889","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/solver/dae_ion_interface_states.py","route_id":"route-5ae54ca672a8ba3c","sha256":"b0dee976889a4b8f237f656b822c017fa1039cdc3d49518251cef237a6dab541"}, +{"id":"file-10a0dbc7defccfe6","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/solver/dae_ion_jacobian.py","route_id":"route-9108e77d43729c39","sha256":"5edac1c030aa76e509cc87db8f83edc61280088e2e342b6aecfa00fe2d1d5c94"}, +{"id":"file-57ce8beab3fd0620","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/solver/dae_ions.py","route_id":"route-fb0723324262c843","sha256":"b594d7a347ce0aea6efa834a17aaa498e687a1d14b100fe7c15f5842e36966ea"}, +{"id":"file-0a1996979230307b","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/solver/dae_jacobian.py","route_id":"route-8b07744af698a677","sha256":"1b775ae891b2323046742dbdf6ac967a569f3e8a5de2ecab959292fabade5640"}, +{"id":"file-b4828b5925590af7","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/solver/degenerate_equilibrium.py","route_id":"route-0064c8f5583b5846","sha256":"9a88670d4c8a04669fbad681f6e45a7571c9b8fc90ab10c36750159a562d96df"}, +{"id":"file-403322e52ffd7df3","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/solver/illuminated_ss.py","route_id":"route-9e0083b6bc509a08","sha256":"489d3d68dc7e2a6877bc10d91152cf8504f6b878c2a32b19a622f9cf4c1aede7"}, +{"id":"file-c8185d512c6409b6","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/solver/mol.py","route_id":"route-4e8545961ec9f79c","sha256":"1c02ff41356cfaf75245e3e9e3a0101064d43a766e9e416053ea1e75ef54b61a"}, +{"id":"file-1f7d0c81643e5ffb","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/solver/newton.py","route_id":"route-e09714387d2b8bd8","sha256":"db4c2096108f7c6820dc900ea14bb03cd780d29212ad0fdedd290db84c95d3c2"}, +{"id":"file-17354b13d084acd9","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/solver/numerical_diagnostics.py","route_id":"route-c393f0eb296301f6","sha256":"4796fc14569386dfa5fda1b2897e1408d9f4865ad411e3faae4196aee32ca22a"}, +{"id":"file-3045e3e90342c4fb","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/solver/small_signal.py","route_id":"route-43b4d856f72236b2","sha256":"6b7578321b0fda1ef6ac9a48db44f6306c2bd0c65904a98229e07a0098740adf"}, +{"id":"file-e266d5af79b1e0a9","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/solver/tolerances.py","route_id":"route-71d172f439a80d3c","sha256":"1a193fb904bfd593e7581c9c3a25f51e245bbb72ce6b9fcf22bdd9196170e0b6"}, +{"id":"file-42e71c4cf5ea29e9","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/solver/trap_transient.py","route_id":"route-eca4a978bb80bc1e","sha256":"a417a7a2f8c17932a617a7406a412a69cfcd5665ef1f78483a91b569ce209331"}, +{"id":"file-1e1d951adefc3c81","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/sweeps/__init__.py","route_id":"route-9d5644fa33ae640a","sha256":"213b7f734a96a7052958dd310a26de922d352454f7813297032379c4b071f783"}, +{"id":"file-fd839d1aaaedf245","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/sweeps/device_parameter_sweep.py","route_id":"route-10a93c77eb891674","sha256":"70d4185f1918ecdc041e057c23a7d78380d3c872eaa2a9835acb8d958109fce8"}, +{"id":"file-35ff88e4287a7f7f","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/twod/__init__.py","route_id":"route-d9acb83c1063cda8","sha256":"01dd4fc6ae498e9286352e375b3a4c7a6831c4965aeb0d86b299f904aee08d79"}, +{"id":"file-587d4eef457f2430","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/twod/continuity_2d.py","route_id":"route-844c1e34b65a763f","sha256":"706f356e8ee40c2de1b5aa52b70bfa3b99911dbb2b1e92c1b4371aa57e75e870"}, +{"id":"file-9e05f78f885e470e","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/twod/experiments/__init__.py","route_id":"route-a6160cf5cdb0e60e","sha256":"0135cf5154cb590920c85b4b914c6b28773ffb1c01b36a1baac285e9fc3c71eb"}, +{"id":"file-ae4bcc6a723729fe","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/twod/experiments/jv_protocol_2d.py","route_id":"route-f9fdf98fcf51218e","sha256":"d5b22910f9c7cdfe5dd2eb037f00275f44e2fa3f177a05035de19475ec3f7acc"}, +{"id":"file-479427775dc2ec6a","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/twod/experiments/jv_sweep_2d.py","route_id":"route-3b814b18cfea71be","sha256":"4d57ec5df5599f25237dadfbf202ea24c899454905834245fa498bc459afad69"}, +{"id":"file-3bbecf3c9b9500ac","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/twod/experiments/voc_grain_sweep.py","route_id":"route-b425dc190363a785","sha256":"46cd3258d5f9cb603e1b26571d3381ca35ee2ee61277f2b0e5a9e21a62e853ff"}, +{"id":"file-59cb6918262241a6","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/twod/field_mobility_2d.py","route_id":"route-3c9af4aa95a90ec1","sha256":"137bc63740041a7158be54757e98209d6bdd1dda0d0f6c4e26ab7bec71194a18"}, +{"id":"file-96a11c81afc82369","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/twod/flux_2d.py","route_id":"route-efcdc5733981d9ea","sha256":"43c019705a31430d84bdb888c926be0db9c7b13ed4144e6d3c8fb28ee1601d64"}, +{"id":"file-0f643892c4b40662","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/twod/grid_2d.py","route_id":"route-f1926abcdb56e6c5","sha256":"69fbfead2f8011a34665303be19ae7f2bad939cd111bcdfb66b5b7ab57995818"}, +{"id":"file-8e4c951ac1194cb4","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/twod/interface_recombination_2d.py","route_id":"route-77076e703f3ff9b4","sha256":"5a43d3b41b89bc8517939536302d59c272cb282ac0451870ce48b9a66f119388"}, +{"id":"file-503e843fe2e31dc6","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/twod/ion_migration_2d.py","route_id":"route-c13168d4a449764d","sha256":"c4bc37d818b97732dfea3ab44ab305ef047f0381cfd80c1891976ba1e620bc8f"}, +{"id":"file-d9ccb81350aba2fe","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/twod/microstructure.py","route_id":"route-c6bb59ad824f3043","sha256":"60d06d32976305a4c29b04e7f46188e8a916e007048a9c6507c680e6d4b6ab35"}, +{"id":"file-39eeeb26fb0a088f","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/twod/mobile_ion_current_2d.py","route_id":"route-30a3fd6bc1163877","sha256":"9ecdb504fcf7302ee02a5cf00c0312f71547ac76d740d4b0dc700f2031a63c02"}, +{"id":"file-c92aeb4e1365c256","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/twod/poisson_2d.py","route_id":"route-966f30a6d3b0d99a","sha256":"bfb1a98beb235d923a10da172bc77501a21b18faa0ea74865ec78a5b021fe25d"}, +{"id":"file-a71b24c9f5b4f7a6","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/twod/radiative_reabsorption_2d.py","route_id":"route-f9281ec0a9ef818c","sha256":"5dee50750a3fce10f37c53b781f9b3fd5c0920844ddd943cdd97dc2a1fb98434"}, +{"id":"file-3c033fdf487d1d18","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/twod/snapshot.py","route_id":"route-d08845022ad48916","sha256":"0ec4141f593f29ac71585f3b1bf99ee73ed7ef451298681ad7f734bac9682d11"}, +{"id":"file-0a4caacc78a190b0","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/twod/solver_2d.py","route_id":"route-28f189e6bd16ef71","sha256":"75630674f85d27e86512affaa5600d344b0da672842f8a53698efc42cd1d1289"}, +{"id":"file-bafe91cae8f2f81a","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/validation/__init__.py","route_id":"route-ae2ab66fa7e4ce16","sha256":"f89bdb1d0e95a5a33b04c6afb9471fc7e5a0bd008c62576eafefb6cfe595cec2"}, +{"id":"file-19cf01aceedc61cb","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/validation/bgn_refinement.py","route_id":"route-9e7c4634cac4c7b4","sha256":"f5989e3a00a1f298df257b0b893a965e3778d13c155a1296705aff75de2528f7"}, +{"id":"file-9a0f503524ce1f34","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/validation/bulk_trap_refinement.py","route_id":"route-6ffa0cc3ba17a777","sha256":"4415153d3c30a2bda68b1dd54c448bd32f4e1dc21222a91f553601beac1ede0b"}, +{"id":"file-0784862a2e698b6b","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/validation/charged_defect_refinement.py","route_id":"route-a9b4d7e51e16d73e","sha256":"c15eef42f9122d44b87391c243b03d526d22d269fc830389dc89001f7aa11a34"}, +{"id":"file-5c651fc34932bdf6","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/validation/cigs_optics_refinement.py","route_id":"route-c81fb8dbd7f6b348","sha256":"c699faacb47b73d18b047af80530f73bfd52619f9ba8136bb2e2ec60488d8b04"}, +{"id":"file-e8887f57691ebe56","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/validation/dae_dual_ion_refinement.py","route_id":"route-27dbc43d17be6d47","sha256":"9f8727804890fa6ce487f9302c14d75a8472fb44644f7fd151d3a2b4b2168265"}, +{"id":"file-eb9adb02aba1308d","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/validation/dae_interface_refinement.py","route_id":"route-cf51d5ffeb5b1ab3","sha256":"b99bcf748f7c7321379eb16fe2ec62ee4676dbe200cd0fd9b94b79644eca7159"}, +{"id":"file-d2c593b5ce9febd9","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/validation/dae_ion_interface_refinement.py","route_id":"route-cd1c256e6f6fda47","sha256":"9e9ca60cb1b64b20ee3c912753c4ab72c71b7e2f9a5c46952315b2e722fca725"}, +{"id":"file-f26346f77c9c62ab","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/validation/dae_ion_refinement.py","route_id":"route-3ce8678d93f128dc","sha256":"178482916aa1a7c8cc7af87ce4afdab722da1cd0ee882d336a4cf73e609faea5"}, +{"id":"file-c0aa4891e91201e1","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/validation/dae_refinement.py","route_id":"route-ee6663ebc8f2dc49","sha256":"a8cf931308f66c5184d852f4457dd29ba6f5b46d981c21cda7a1ad5104076303"}, +{"id":"file-90a927e62db8e64f","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/validation/defect_energy_refinement.py","route_id":"route-c829dfda2d1dc419","sha256":"c6b39d4d5bf977b626ad283a928bc2eea2b0726df4f2a0d178ccb9f7c11dd8c8"}, +{"id":"file-38afd2c2cb650e86","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/validation/degenerate_refinement.py","route_id":"route-8ffd14c45b3812ea","sha256":"46075723655aa34b33663664d5506f813484b3cd1a28aabde585043d13294c57"}, +{"id":"file-f4363b153d2ffbb2","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/validation/distributed_defect_refinement.py","route_id":"route-eac8eff18fe0b852","sha256":"86fae54f0c9e8ab8394ccb7db57ff70b144cc1966b1487ed7d87172028931016"}, +{"id":"file-81e111189f23acc3","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/validation/dynamic_defect_transient_refinement.py","route_id":"route-aa22d20d2d639fc7","sha256":"b7b87088a5de7af25bd77a15897f5641dad707da06d4073606b3536595e495c1"}, +{"id":"file-7453a1162c9a1a0f","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/validation/electrothermal_refinement.py","route_id":"route-361c6018edd7103a","sha256":"07010dc8c5ff08fa75a88fbff0d8210c8e878c25253bfb4ad942db5ad68477c3"}, +{"id":"file-be9810d714206378","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/validation/external_circuit_refinement.py","route_id":"route-95fa4d2e24de5a3e","sha256":"cb8453da1c93bc1c47ecbd61a70ecffe0d4eba50a8bd42a0c2e162da085143a7"}, +{"id":"file-23879c44a770cffd","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/validation/foundation_reference_refinement.py","route_id":"route-487d71b1fb2a772d","sha256":"aa478f90f055d3dd27e9382c2c7b55d61029f0135672b7d1f2f3358436ee8aa7"}, +{"id":"file-9461edfccf1a219f","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/validation/grid_convergence.py","route_id":"route-3fd97637f22d6330","sha256":"fab7c25a0c3da63768f3c99ad90019888d7da94fdac04d44062e38d9c9004c30"}, +{"id":"file-2f04253971d283ce","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/validation/identifiability_refinement.py","route_id":"route-70f2bc49c9d6f491","sha256":"d66f0a39a4e7b2e0af5e4cfc006b53a86f432e3c4273d59c08c3bbfd0e4ced52"}, +{"id":"file-020afd7f0febef91","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/validation/incomplete_ionization_refinement.py","route_id":"route-e69f26a656e90120","sha256":"001c0448fae196dbf8f3911ca9277fee11dbe1b5c6a06cf6ed78820b1a1a8ea5"}, +{"id":"file-1c20717efb4b233d","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/validation/interface_charge_stress.py","route_id":"route-7b7398177c5163db","sha256":"ea765551cf56cbcfd64bd623fa95996b9c789836e8b2c48c2d0b24056a459994"}, +{"id":"file-ad918095feb357f4","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/validation/multivalent_defect_refinement.py","route_id":"route-e8b25e6d8730e1e7","sha256":"28db6ad6710591d37386b12464a73fe345dedc873ed9d54c8b013b9c70c860e5"}, +{"id":"file-6ff17a1573df5709","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/validation/numerical_certificate.py","route_id":"route-270572b713ec6865","sha256":"8adf88571ab94fde3135eb817eb3dc93b8d5d932c02d62ec5338e021df1fb413"}, +{"id":"file-6672e4f8f18d24bc","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/validation/refinement_executors.py","route_id":"route-611c81a4822db706","sha256":"9e9730acefe72cc7dd9991e47f65624f37d875101795e85d2fc63d885ca4d40c"}, +{"id":"file-d16102d2011598cc","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/validation/refinement_runner.py","route_id":"route-713848b2efca9ebf","sha256":"e4c72b1cfc570ac2106fb031b17aeeb6675810529c78e1699fc074dd1f4d25eb"}, +{"id":"file-bdbde673a77cc2c3","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","sha256":"18054fccbd125f04a4dcbe1b3d8d016e70a7c67a87d526a5982c21f85c5a84c4"}, +{"id":"file-65d7bf3f15457cc8","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/validation/regularization_executors.py","route_id":"route-e5a4af9dc081e1e4","sha256":"23ad49cd022c2fe626fd2124d6d219f1fc90e26dc6d27a67e63ca5ff433959a6"}, +{"id":"file-6bcd2b0d8cdbffb0","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/validation/resolved_tunnelling_refinement.py","route_id":"route-8f9aa816f1c87e00","sha256":"f37222cc2d56fc8c900b4fc4f634ff1e16e470eb2843ac1e46fe2138bd10cca0"}, +{"id":"file-b3abca86a962282d","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/validation/spatial_defect_refinement.py","route_id":"route-29ff125b420a5abf","sha256":"694b96e6718e78daa8b853bc0d2c0a4eb8d4c5d989aecd60102a38e42d2b856e"}, +{"id":"file-629730d6ad0a0e6c","kind":"python_module","current_path":"perovskite-sim/perovskite_sim/validation/tunnelling_channel_refinement.py","route_id":"route-c69e6e9da1421924","sha256":"86104d6316d81fabddbd7a8a5a5b53412cbbaf8c4e450b4918502e81888bc608"}, +{"id":"file-7243bdd1b62ff086","kind":"repository_file","current_path":"perovskite-sim/pyproject.toml","route_id":"route-816d5808800a9b01","sha256":"a006ce304a091fb216728a0f6c1ed4bf1a60d197da2532d80130636394849b6b"}, +{"id":"file-de4fabe16369a5d7","kind":"repository_file","current_path":"perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml","route_id":"route-913cbd39cc938897","sha256":"35165f16511bcf61a3eecec1c2391780249206aecc97fe17dd1cf30c046681be"}, +{"id":"file-90ab49999fbe5dd9","kind":"repository_file","current_path":"perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml","route_id":"route-53dad1d5882116b3","sha256":"b808fb2c7e44b282fe5e8a7d55a8f23a12101451104c6c639e2991fec34a2dff"}, +{"id":"file-6560edd8d8b145ec","kind":"repository_file","current_path":"perovskite-sim/reproducibility/OneDimensionalMechanismR1AdditionalFailuresV1.json","route_id":"route-551d40a8fdde504a","sha256":"ae2d52cf08a029e0273689d03f16ce8945fdd1ca423582542a49a641d50f9aaa"}, +{"id":"file-73c324b1a5e4e527","kind":"repository_file","current_path":"perovskite-sim/reproducibility/OneDimensionalMechanismR1AdditionalFailuresV2.json","route_id":"route-d5336186239cd79b","sha256":"8e6f04db47857964e7beb30848ce163bbff1ad411a48d24a6bd12a3210fdf0c2"}, +{"id":"file-d2037ae05cd4dc08","kind":"repository_file","current_path":"perovskite-sim/reproducibility/OneDimensionalMechanismR1DynamicsInputV1.json","route_id":"route-869c9bd5f0f0ef86","sha256":"3065a31951d4a90e8b0d03d042e3f2c0349cc7d8e792381a275cb05d58a047ca"}, +{"id":"file-5baf352db63b57ec","kind":"repository_file","current_path":"perovskite-sim/reproducibility/OneDimensionalMechanismR1ExecutionStandardV1.json","route_id":"route-5cf8c26bbdbfae45","sha256":"056895bfd60f8385daeda1b7c5d79786b9240918b3dbdfdb7d17657ac32d37bc"}, +{"id":"file-dc8d03df1e6ed31b","kind":"repository_file","current_path":"perovskite-sim/reproducibility/OneDimensionalMechanismR1InputV1.json","route_id":"route-4c8d33f3b176289b","sha256":"21912336fa0904b47301fef3aff8fe4b4843f837d0668f32549b9a6f514087d5"}, +{"id":"file-f3b1307e2fdbb1e1","kind":"repository_file","current_path":"perovskite-sim/reproducibility/OneDimensionalMechanismR1PhysicalStandardV1.json","route_id":"route-e19cf585677cd533","sha256":"c918c3c3a4205e6e7cfc507f788ce0e308378a317f6ada6d3bb3862272d9d739"}, +{"id":"file-8e77b40a5b5e6c15","kind":"repository_file","current_path":"perovskite-sim/reproducibility/P1Gaps.yaml","route_id":"route-972065e4088ecec3","sha256":"ebfde219bcc6beebe165588a918f4148f6591f706940b0eb162335f22ace8cb3"}, +{"id":"file-08bd2e85766861ef","kind":"repository_file","current_path":"perovskite-sim/reproducibility/README.md","route_id":"route-7c037625162ab59d","sha256":"e3dab93d0050ebf1f3e2a7b93171ad8ea28f38b8204527f29e9688e9dd38c855"}, +{"id":"file-122d5b715cb4cc9b","kind":"repository_file","current_path":"perovskite-sim/reproducibility/ScapsDefectComparisonThresholds.json","route_id":"route-0f0fc0888168c1b7","sha256":"2ffd9fe99266d38b75f64c370480ee9243c1399500d482b15e40de7e5ecfc100"}, +{"id":"file-bf84c77bbe948269","kind":"repository_file","current_path":"perovskite-sim/reproducibility/ScapsDefectS0S2Suite.json","route_id":"route-b3682385ddcf11a8","sha256":"d3a7486bc48f4cee8db309db25d96201d7e429325cbabd16ea6abccf591f6dd8"}, +{"id":"file-1abcc16461b2254c","kind":"repository_file","current_path":"perovskite-sim/reproducibility/ScapsMultivalentDefectSuite.json","route_id":"route-d95b16bb8f9fe040","sha256":"031868a4c3709c280de1e64e88780c8defac6789687e625c5d479ee716291986"}, +{"id":"file-231e32a42b60a09d","kind":"repository_file","current_path":"perovskite-sim/reproducibility/ScapsParams.xlsx","route_id":"route-e74a4c0b8ce615f2","sha256":"862cf0216b08558253268f4ec99fad3e93842c7ce1e9006874ecf03096e9ae3c"}, +{"id":"file-799739ea077b00a1","kind":"repository_file","current_path":"perovskite-sim/reproducibility/SchemaRegistry.yaml","route_id":"route-403962e72073ff91","sha256":"549bb9f0c83c8d1e4f827293586236b765eab477b31014e9e508f49be15eae37"}, +{"id":"file-ae2ac53591dcd962","kind":"repository_file","current_path":"perovskite-sim/reproducibility/baselines/p0-certified-2026-08-01/README.md","route_id":"route-264c7e33a1e24bd4","sha256":"0c4d5779b44ad46f7d2d7287292e2e32bccbe2ed7da5a3e6d992e393351468e4"}, +{"id":"file-dc4d1a56097575cf","kind":"repository_file","current_path":"perovskite-sim/reproducibility/baselines/p0-certified-2026-08-01/manifest.yaml","route_id":"route-cccedb1d7d21f65f","sha256":"07bfe19ad643fbea7c7e7bdd39a2dc50dee2e71d04ccba4dc7c07e266f0fafa8"}, +{"id":"file-006745f9c9fa678e","kind":"repository_file","current_path":"perovskite-sim/reproducibility/baselines/p0-certified-2026-08-01/p0.patch","route_id":"route-45879ce05b27e6ae","sha256":"58166a458047984bf85ead3cc5c5b5e29b2c6dc22aa851682a8ca81ef314d82a"}, +{"id":"file-80a2e7149807c3cf","kind":"repository_file","current_path":"perovskite-sim/reproducibility/baselines/p0-certified-2026-08-01/target_blobs/4a08dc840230df0a5a3af4f2b76cf63bd53cc781.blob","route_id":"route-568c7fbc6a6dad4d","sha256":"86743fca2eeddb7761cd89f0191f0df845bc951a0b7084d825945d5804142a2e"}, +{"id":"file-868ea25285ce22ad","kind":"repository_file","current_path":"perovskite-sim/reproducibility/baselines/p0-certified-2026-08-01/target_blobs/88cda463b0010597bae7a77a90c7e97afea25c52.blob","route_id":"route-b155e33a31c454c7","sha256":"a7e92cd04b61abb8e56049bf83b46cf5c365332207e66671c04e5e7125fbe262"}, +{"id":"file-3820844f11a6afc5","kind":"repository_file","current_path":"perovskite-sim/reproducibility/baselines/p0-certified-2026-08-01/target_blobs/ba24cdba780402b6a092d3500dc24b22cfb78ffd.blob","route_id":"route-073ad19c855a0852","sha256":"594f420a732403f79cd50e3f0b2e7d61d1ccc587ead85c6db009567e6fbd42c2"}, +{"id":"file-3e36874e224b69e1","kind":"script","current_path":"perovskite-sim/scripts/analyze_r1_v11_responses.py","route_id":"route-c21b39ba175ec933","sha256":"9b3fa81f248927648ee11fe2bd2cc00eab5bd7ee2cfb005f5aaae89a50829903"}, +{"id":"file-fe0922aa9e9d61a7","kind":"script","current_path":"perovskite-sim/scripts/analyze_r1_v12_responses.py","route_id":"route-df3c9c7665f365bc","sha256":"bfba6c9487957e32852926f58addf8f8f6771e0a8b747b9667f08bd7b1a214d9"}, +{"id":"file-d0b4feaf1fd081eb","kind":"script","current_path":"perovskite-sim/scripts/analyze_r1_v5_responses.py","route_id":"route-e522fe481f8b1b10","sha256":"faeed17690e2b9ba031448dbdec7ca06a3079cbc75428887e371a4624ebdd754"}, +{"id":"file-2a906b2a25a768b6","kind":"script","current_path":"perovskite-sim/scripts/analyze_r1_v5_saved_window.py","route_id":"route-a62767efdd912181","sha256":"0597a36cfac80d693021a09abcc5d1f482d95f55b15ec3becdfc74443b45849a"}, +{"id":"file-1ec34a011d85065f","kind":"script","current_path":"perovskite-sim/scripts/analyze_r1_v6_crosscode.py","route_id":"route-1f12568fcd3c3c90","sha256":"2c6cfb5445898fd8c9e3c8ed7b6d0b57816d2a7662828c3e25241db78b104e85"}, +{"id":"file-32b0f9925899f7a0","kind":"script","current_path":"perovskite-sim/scripts/analyze_r1_v7_prototype.py","route_id":"route-2ac26a31ae812295","sha256":"d837670baa6d19915fc9dbd2d1d82f2fd4a3593509a2d6a99a85e50d09ac84c9"}, +{"id":"file-8e26bcfee8662426","kind":"script","current_path":"perovskite-sim/scripts/analyze_r1_v8_prototype.py","route_id":"route-676175075072bc8e","sha256":"e2af196a0cc2dde54e2a3c0521bb291ef1fdd465852be33c99bdf0a90fa28196"}, +{"id":"file-247ee8a22071f898","kind":"script","current_path":"perovskite-sim/scripts/analyze_r1_v9_prototype.py","route_id":"route-0365977731097a3d","sha256":"8b223355bdc0610437f3b00fb0ed35dc35f7162190f4812a60fd4ea9225d5d81"}, +{"id":"file-efdb92b17aaa3647","kind":"script","current_path":"perovskite-sim/scripts/archive_one_dimensional_mechanism_r1.py","route_id":"route-ab4b6afc02bb4c08","sha256":"d6f625b30db9c19d1c3a74605bb7f1bc954ea3f9895d94d3c86142cf6e803d8a"}, +{"id":"file-c991945271e6dd8d","kind":"script","current_path":"perovskite-sim/scripts/audit_ion_parameter_flow.py","route_id":"route-aef91e23a529a42c","sha256":"05f44d5382f702fd39560b566786c077b9844149a54ea81c977fb8e7a3f2d121"}, +{"id":"file-03a2a0aee2e92eac","kind":"script","current_path":"perovskite-sim/scripts/benchmark_dae_jacobian.py","route_id":"route-1545d82a68679f8f","sha256":"1a64fcfbe54b9f343f9aa0dcd653b4b9edfe7274227361487878675df3a7b0af"}, +{"id":"file-d2cb6e353d828196","kind":"script","current_path":"perovskite-sim/scripts/calado_reference_bias_lift.m","route_id":"route-07e1cfcb6bb330aa","sha256":"03b3a7309d40f1336481284dfdb7641b7f5d359023e140c1845ab9ab37955b73"}, +{"id":"file-f34e99a07d467d2e","kind":"script","current_path":"perovskite-sim/scripts/calado_reference_monitor.m","route_id":"route-844f52936c77e8d8","sha256":"0b97186da144b5be88f90e4acb0c07b282ef078d3e8578efadfedd42a0534708"}, +{"id":"file-e73309a8a587750c","kind":"script","current_path":"perovskite-sim/scripts/check_r1_physics_mutations.py","route_id":"route-4506b688c7de3899","sha256":"d22ee5ab88c166cce292ddf9f257f3eb8d711f522ddf2a8d348abc9554ba5597"}, +{"id":"file-b2e7dbc0dc083d8a","kind":"script","current_path":"perovskite-sim/scripts/check_r1_v7_precision_consumers.py","route_id":"route-4c295e2a4966aeed","sha256":"d4f1c2f1f799e359356d884e227edcb6cca2a683802fbb7165ae1da5caaa8293"}, +{"id":"file-38008816b601d202","kind":"script","current_path":"perovskite-sim/scripts/check_r1_v8_legacy.py","route_id":"route-7e2d0a7de14630d1","sha256":"2ae4bc59e7882d165197438599091fd49ad53bc5f152909ec674f62834b467c2"}, +{"id":"file-a2923b3d18a808e9","kind":"script","current_path":"perovskite-sim/scripts/check_r1_v8_precision_consumers.py","route_id":"route-21bf7df06b84a569","sha256":"ccbc5ce842a74d864650474599fcc9ee55b2d3dfd93eae051e730d312dab200d"}, +{"id":"file-33410be24def2909","kind":"script","current_path":"perovskite-sim/scripts/check_r1_v8_replay.py","route_id":"route-9a1366cd09422499","sha256":"3c11023d9f5f25025cea837f71431b9fc2083255f3d4b2753908e5a9608baf3c"}, +{"id":"file-00b0ac98ae5e82d0","kind":"script","current_path":"perovskite-sim/scripts/check_r1_v9_performance_equivalence.py","route_id":"route-aee4e32dd86ca61e","sha256":"8cd3131d7de1780d19894ed0217fb91602e8c054d099626287cc60fe11dd7849"}, +{"id":"file-1f667b46d3b81553","kind":"script","current_path":"perovskite-sim/scripts/check_r1_v9_precision_consumers.py","route_id":"route-037a6103c9d8e141","sha256":"3cf20f28d24109e1c8efcb0ea9927584cfc4ff4dd075483c4aedbe5bc9503ce7"}, +{"id":"file-9057360e4db84fcf","kind":"script","current_path":"perovskite-sim/scripts/check_r1_v9_replay.py","route_id":"route-34303dab8522f6a4","sha256":"946bcb7f4ef7996e7508f303cc8415a2da38a452257a6aee661dcc8189c332f8"}, +{"id":"file-2868830fbaecfae9","kind":"script","current_path":"perovskite-sim/scripts/compare_scaps_defect_reference.py","route_id":"route-411e3957a2ac2a5c","sha256":"d814972594afe73b76a3a0528a99ab7166ce0bfc87681300fb4a075bbb5aa0a1"}, +{"id":"file-569aac82736cb60f","kind":"script","current_path":"perovskite-sim/scripts/diagnose_one_dimensional_mechanism_r1_numerics.py","route_id":"route-274279a19efe24a5","sha256":"644bf05c0610c12670ad7b6cc20df1c41a792be92e89c8c8b0cf64e74755848d"}, +{"id":"file-772c7ca187d98760","kind":"script","current_path":"perovskite-sim/scripts/diagnose_one_dimensional_mechanism_r1_weak_flux.py","route_id":"route-8ede9f63edc41bb0","sha256":"d78d1dfaa81b81fac85ff7a494000014e976b5ad2928c7bfe22db0caa7d69431"}, +{"id":"file-cd799b4f9677197e","kind":"script","current_path":"perovskite-sim/scripts/diagnose_r1_saved_iterates.py","route_id":"route-601c17aaf78ba011","sha256":"a267b9ac2aa3cb1071393143732dd919296631a311eca3113b41856f58cc5608"}, +{"id":"file-afd06f0fe8ca9200","kind":"script","current_path":"perovskite-sim/scripts/diagnose_r1_v6_coupled_sensitivity.py","route_id":"route-69ace6871eb4e4b5","sha256":"bcaef81f573f22e0ece21687d3fb7fab1c56378b46c03f65c0925a9bf1b2dbc9"}, +{"id":"file-dd4600dc254c77ab","kind":"script","current_path":"perovskite-sim/scripts/diagnose_r1_v9_residuals.py","route_id":"route-16b114c4f71c32cf","sha256":"03696b52c41fb54d20a66bdafb521dcfc9e6dfcf2a850b363dcf9108a284311b"}, +{"id":"file-9ca44728aa5f65ce","kind":"script","current_path":"perovskite-sim/scripts/extract_calado_fig1_reference.py","route_id":"route-0938d829987e012a","sha256":"e8cd6abdd7d31a44cb9c0d8e1237a63b3155b04071fca4dc62f5c37aceb63f92"}, +{"id":"file-02a06473429bc98a","kind":"script","current_path":"perovskite-sim/scripts/extract_scaps_reference.py","route_id":"route-13ab3bac96b3505e","sha256":"936400b2ac54363de9c98ce6af5667a71885f00ca71253f05844f8349df04c27"}, +{"id":"file-e79b629b776fd9ff","kind":"script","current_path":"perovskite-sim/scripts/generate_solarscale_inputs.py","route_id":"route-482bdcdcf8ba5490","sha256":"668084bbf07a387750714182ee3f722e4e23abb21147544d191c6f6523446688"}, +{"id":"file-fa65a635e6fae73d","kind":"script","current_path":"perovskite-sim/scripts/import_scaps_cbo_reference.py","route_id":"route-866e3e98e4d69516","sha256":"bbf6b4e725a12df772b6f718ff8e12675e38166a7c71c2fa8eed78a229e0b679"}, +{"id":"file-fe68d9a79bd857d3","kind":"script","current_path":"perovskite-sim/scripts/import_scaps_defect_reference.py","route_id":"route-c443bc6cf8127da3","sha256":"7e2f0fa061678631f5e222b5e1bde75224a27f0e26df456f00414142bd74ead6"}, +{"id":"file-986378b072e74960","kind":"script","current_path":"perovskite-sim/scripts/import_scaps_multivalent_defect_reference.py","route_id":"route-322eeeb695a998e9","sha256":"8df2d6bed44f79a585eb2a1e6e6d1c2e03734f492f959aeeb0061e3d8bb79b3c"}, +{"id":"file-816f60178157eefd","kind":"script","current_path":"perovskite-sim/scripts/inspect_one_dimensional_mechanism_r1_history.py","route_id":"route-7f53fc2e77e462db","sha256":"34b13b6c42640d8dca6e9576bf949fa6e10c0d65b75bb8deb3057bd3153efe70"}, +{"id":"file-2f01439c7a09ea00","kind":"script","current_path":"perovskite-sim/scripts/md_physics_typography.py","route_id":"route-927032e054544e22","sha256":"6ca6822bb04f406b7f74db105718c56c887be4d43dcaf6aff548a439b3405a3d"}, +{"id":"file-16c71bf38f3742e7","kind":"script","current_path":"perovskite-sim/scripts/plot_band_diagram.py","route_id":"route-e6386ee5190bb5a5","sha256":"05d0cd8ad39accc529cea32fc37a1848489295a24a580726092ea59caf440995"}, +{"id":"file-2d755e30208dbbb8","kind":"script","current_path":"perovskite-sim/scripts/plot_calado_fig1f.py","route_id":"route-beb4cf386a7f5c02","sha256":"3ec6734c91f3b381487b0176c67119c35e4b586e9dfc4532584acc647cc6ca08"}, +{"id":"file-758e1f70bb36b29f","kind":"script","current_path":"perovskite-sim/scripts/plot_calado_fig1f_scan_rate.py","route_id":"route-3fe4f501df41c6f9","sha256":"24e2e85092e3080e0a107bb0fbd997fb249644149a064bdb3c93f33eba6f9108"}, +{"id":"file-fc230d7319a5df6c","kind":"script","current_path":"perovskite-sim/scripts/plot_charge_distribution.py","route_id":"route-03c5010f991cc545","sha256":"c93f5693dc051855524a1a5bf7b8554f3d871e909cef631b67a47bb729ba8c7e"}, +{"id":"file-9cafedf96cb13d61","kind":"script","current_path":"perovskite-sim/scripts/plot_cv_mott_schottky.py","route_id":"route-d032d4638cc3e3be","sha256":"1933ed2522aaf464c46ae0767a77c7b7b23577bed3ee868486a7fabdb6018995"}, +{"id":"file-661b14fd68663d32","kind":"script","current_path":"perovskite-sim/scripts/plot_eqe.py","route_id":"route-20aac14e51841adf","sha256":"82530cc0c899d016799fe359fb12d7119fb61c25bb8dfb9a0956bae1a4cec8f7"}, +{"id":"file-7e095581ac1037ff","kind":"script","current_path":"perovskite-sim/scripts/plot_generation_recombination.py","route_id":"route-ab4fa2be7e60cd23","sha256":"c542568ef431d6e851a8c2413031a1490d01807eae81ea3448e6e6b2daa6461a"}, +{"id":"file-2be2a6927f09f1ee","kind":"script","current_path":"perovskite-sim/scripts/plot_physics_verification.py","route_id":"route-42dc52e290b9b1bb","sha256":"9361c071d3d40f691c8cac828e1f569158ec974160775a309542e700cd852440"}, +{"id":"file-eb44a456fac28a6c","kind":"script","current_path":"perovskite-sim/scripts/plot_spatial_overlay.py","route_id":"route-d6ecf2b642365b19","sha256":"aba6c1a89227cb10f3817b7d8ab2b04bc5f9516fe581312a446e00b09992549c"}, +{"id":"file-d8c78054c5eeabca","kind":"script","current_path":"perovskite-sim/scripts/prepare_calado_monitored_driver.m","route_id":"route-59b771743c4b43e5","sha256":"94e66dd0fb68686781a2ec0558b7c695bea84db89cd83f7d91357e3cfab6d5b0"}, +{"id":"file-32f818ee07d8f499","kind":"script","current_path":"perovskite-sim/scripts/prepare_r1_v6_evidence.py","route_id":"route-a916e8292c03f9ce","sha256":"363db909e2c89430f3a461c5112d2cbf43dc9068d3f7dddcc297fa387db37535"}, +{"id":"file-7b7caa0c1da6b244","kind":"script","current_path":"perovskite-sim/scripts/probe_calado_optical_inputs.py","route_id":"route-106777c0879f5df2","sha256":"e1faefe3b27f596cd2bbc5fb3892b85715d2c4aa2d43f38c225ebc6aaff8c6b1"}, +{"id":"file-1ac69528b6928353","kind":"script","current_path":"perovskite-sim/scripts/probe_calado_paper_alignment.py","route_id":"route-1b1d959678330bb1","sha256":"1ac62793465ce00c06184c9293e4c1e91fb8bfce4439541caea08e5ec4c47446"}, +{"id":"file-210f0c7aad8971d5","kind":"script","current_path":"perovskite-sim/scripts/probe_interface_face_densities.py","route_id":"route-e4f38ab7eccb3747","sha256":"d038efd4fc1007b88632641f1cf6b79fc195c7dc0b5582cf67d8aa6851e82bf5"}, +{"id":"file-0927ff7e51dccff9","kind":"script","current_path":"perovskite-sim/scripts/probe_r1_v5_window_flux.py","route_id":"route-532dd1f544aec5f7","sha256":"9d80f6aa26e29b5d46c2b3db8349280b72c8ca9cdb4d9666d4063656a0a90621"}, +{"id":"file-ebaa763174cd5bc0","kind":"script","current_path":"perovskite-sim/scripts/probe_r1_v6_ion_precision.py","route_id":"route-923fdeeb584e04c5","sha256":"7fffcf73a17058c135c0ef2ddb7970a174226f62d56a507c00ec6d7165e70aab"}, +{"id":"file-bb1fcc746a07d243","kind":"script","current_path":"perovskite-sim/scripts/probes/e11_qss_math.py","route_id":"route-2381c5278e777ba2","sha256":"5074650f831561895219ba1fa7e95249af3b8132b413a123defa38b300dc9622"}, +{"id":"file-ba3c1b44ddc1daf4","kind":"script","current_path":"perovskite-sim/scripts/probes/e7_probe_a_pvk_doping.py","route_id":"route-9c5223914eabeb49","sha256":"7be13687ceedad38acb4cbfb7dbe668d0b23ffa374d9f7c4472ba0aaff835679"}, +{"id":"file-6217b7b0b6ee28ed","kind":"script","current_path":"perovskite-sim/scripts/probes/e7_probe_a_star_tune.py","route_id":"route-2a6f795395a7504b","sha256":"f29729b947401cd0f7f02cfb991b32d70e2247e7107bb23c7eda4da9a33c096b"}, +{"id":"file-463a290c2429d0f1","kind":"script","current_path":"perovskite-sim/scripts/probes/e7_probe_b_srh_collapse.py","route_id":"route-0e00c468b73c2c8d","sha256":"7c0181a76a6068dc047e9004acad60ea06a800d249133c5cb4f3fbbbd6ac1a29"}, +{"id":"file-9b8042e804b21086","kind":"script","current_path":"perovskite-sim/scripts/probes/e7_probe_c_robin_nd_etl.py","route_id":"route-33ef1e6becf2ae17","sha256":"4d9c2419f19ae85004f6e2631426a3c4f06c8614c6a686bc44d3c0331ff7955b"}, +{"id":"file-60acbd1d5318df09","kind":"script","current_path":"perovskite-sim/scripts/probes/e7_y1_probe_cascade_confirm.py","route_id":"route-226c4f7fd73682e2","sha256":"b9312caa46704ae0c20f90f3d4d4fec37d028a5e35d49f4102cc55869587a371"}, +{"id":"file-8fc63f1682361017","kind":"script","current_path":"perovskite-sim/scripts/probes/e7_y1_probe_kill_auger.py","route_id":"route-ae5a577f9d8e4a1d","sha256":"424680a308ffcc5d1715c977e238b868b51a32aa12436eae02e8508f856e2c9e"}, +{"id":"file-c5d464f9fd1edb5e","kind":"script","current_path":"perovskite-sim/scripts/probes/e7_y1_probe_srv_tune.py","route_id":"route-67b05068ca903114","sha256":"580cba08e208e04f8730d05db6e961446c70e0452c7eed18eaf8eced5669458e"}, +{"id":"file-750118e89ad63483","kind":"script","current_path":"perovskite-sim/scripts/propagate_r1_saved_field_differences.py","route_id":"route-93a8e8cf78490301","sha256":"a8cbf68fb9fb5fc32d8af8ccbcee22f320d48f990786d6c1252e6d3b1b42c036"}, +{"id":"file-608d3d38f81c0910","kind":"script","current_path":"perovskite-sim/scripts/qss_golden_master.py","route_id":"route-6409421438dd6b7f","sha256":"3e52af44511e5287b89608ffec8fc1b7833a6aa251017eee350c14e71fe0c7c0"}, +{"id":"file-3140ba165c957a96","kind":"script","current_path":"perovskite-sim/scripts/r1_v10_extent.py","route_id":"route-ea68872eabc8ba03","sha256":"cdf2b1a371390e12d33d3e9840f7cb91a712a64c5969a55e229821bd84ab588b"}, +{"id":"file-455be505b4b5532e","kind":"script","current_path":"perovskite-sim/scripts/r1_v16_memory.py","route_id":"route-97ef29ec41e0fdb0","sha256":"c53883da1c2296d296d5d4cdfca313851d15aaa4d7cd48fde9437b7055dc138c"}, +{"id":"file-2d491fa2609f7d21","kind":"script","current_path":"perovskite-sim/scripts/r1_v19_observation.py","route_id":"route-de55bb93e1e5f309","sha256":"24a849e6e882e7778976e1da1d62578781fa76c8cfb92a8a977225d8f1367254"}, +{"id":"file-56581aeb2fe605fd","kind":"script","current_path":"perovskite-sim/scripts/r1_v23_json_writer.py","route_id":"route-a63b22ed6fed8f47","sha256":"a6696cb8175a0039526ab1c78ceaecec915ba29553a7d8958ce5cebe08878cbc"}, +{"id":"file-afecebd2394e193f","kind":"script","current_path":"perovskite-sim/scripts/r1_v23_storage_observation.py","route_id":"route-06fb328019336b29","sha256":"bfbb5efc74a7873adcbda44fe972ae95bcaa1925dfa98aa454ae8609568cb1ce"}, +{"id":"file-a9ae64bbf8d09242","kind":"script","current_path":"perovskite-sim/scripts/r1_v8_timing.py","route_id":"route-fe052cc26c54d840","sha256":"c57cf2187b2d2323b8536a879a8c137b1484479c183189f7c1d8a1a79961bbd7"}, +{"id":"file-414776cc0bc6a060","kind":"script","current_path":"perovskite-sim/scripts/run_calado_driftfusion_reference.m","route_id":"route-827b0179bb5f86dd","sha256":"44efee97662986197ed53fdd177bde094e5c583be0481ebdf0637484f67748e0"}, +{"id":"file-904b11ae099b1a3a","kind":"script","current_path":"perovskite-sim/scripts/run_device_parameter_sweep.py","route_id":"route-e994c10181a0048e","sha256":"5bba971261f08d2bfb3ad12d1a482364ad7bf411c2c410f7fa268b4e6c8ab59a"}, +{"id":"file-e097dcba6937c556","kind":"script","current_path":"perovskite-sim/scripts/run_interface_cbo_scan.py","route_id":"route-98f7fa9e6acfe674","sha256":"60feeb2860e05f6d4fb9111e443abbd37883d8a8ca888049634fd73c037f5c61"}, +{"id":"file-506091958169f893","kind":"script","current_path":"perovskite-sim/scripts/run_interface_cbo_sensitivity.py","route_id":"route-9db9efed751ed8d9","sha256":"15174ed8f46d5e688766ae5bf7b1779bdbfb2533ec80244306c92e426bf05bfb"}, +{"id":"file-bebf33dfedafbbf9","kind":"script","current_path":"perovskite-sim/scripts/run_interface_srh_identifiability.py","route_id":"route-21df8dc419578bbc","sha256":"c1bac50a689904473fc42b36a0481b99d0db86b708a77c1fc3c0999e40c8eb0a"}, +{"id":"file-65616ab176c266ec","kind":"script","current_path":"perovskite-sim/scripts/run_material_evaluation_report.py","route_id":"route-5e935a22a77d489e","sha256":"6e676af53e39eb2509e2388e701d87ee3556c88b03a71067151599fb04113973"}, +{"id":"file-93693d7b6e2dfb8f","kind":"script","current_path":"perovskite-sim/scripts/run_material_screening.py","route_id":"route-f79ec38813753afa","sha256":"8cc4efa474b7e8365d79574d2e4e16cffa68136b692ac47c112eca8fb6c8fb22"}, +{"id":"file-661390c0829d55e0","kind":"script","current_path":"perovskite-sim/scripts/run_numerical_refinement.py","route_id":"route-857fb23146aed13c","sha256":"ac4ca2990771bb2b37dd430f0e3e6d4eb3d2ad2bb75ecd25d83d6cad12fa8ee8"}, +{"id":"file-7f089d0625cb3bc3","kind":"script","current_path":"perovskite-sim/scripts/run_one_dimensional_mechanism_r0.py","route_id":"route-84a688f131b85833","sha256":"23ec112f7eaaccfc12f914ae5b5a1290a7e4e0dbb426ebb2b6bfa088e965059b"}, +{"id":"file-89b2647f37a72a83","kind":"script","current_path":"perovskite-sim/scripts/run_one_dimensional_mechanism_r1.py","route_id":"route-bfc8896670411219","sha256":"5bf3b679b168fca9c3cf3f676f130f378d9782826d087f49fc5ac2e5f5c08e82"}, +{"id":"file-7e3249433b1c68c4","kind":"script","current_path":"perovskite-sim/scripts/run_one_dimensional_mechanism_r1_controlled.py","route_id":"route-22ba77a4483724a0","sha256":"487df188eeccec5cd179cbca50e1b8e615604dca169f5758c34912979188b610"}, +{"id":"file-f2cde3bad4470a96","kind":"script","current_path":"perovskite-sim/scripts/run_one_dimensional_mechanism_r1_physics_study.py","route_id":"route-5f7d3d3ecf3328f1","sha256":"d313220f4af790cf8a3812567dc852fdd153a341542cce6fc2830944b9d1e374"}, +{"id":"file-1c1db3b7be55323a","kind":"script","current_path":"perovskite-sim/scripts/run_one_dimensional_mechanism_r1_stage_one.py","route_id":"route-dda09d034ca380b4","sha256":"242bf3e60006964a5c8caaf629280c94f9727a619e8e7b5bce679ce946c3fa5b"}, +{"id":"file-58689acac0a2d32d","kind":"script","current_path":"perovskite-sim/scripts/run_r1_v10_cases.py","route_id":"route-9d294781b1c47384","sha256":"2ae275b4f9af87289e4166376ee91f5b91fd607cce57feb46a24e6cd9a7c77ec"}, +{"id":"file-780ac5dff9a23bcd","kind":"script","current_path":"perovskite-sim/scripts/run_r1_v11_cases.py","route_id":"route-84b836f3b8e313c4","sha256":"c6326b3006865469d2a97b0bad97f5f6b2be32f58d7242b25cc5bb8018651ee8"}, +{"id":"file-cedcc066c10a1c3e","kind":"script","current_path":"perovskite-sim/scripts/run_r1_v12_cases.py","route_id":"route-aaa0c5171f15bb37","sha256":"0a8b69610d4f67ad758ab5a69f1403564b58c8a36c29d10ca4c1996d0eadd9f4"}, +{"id":"file-c2dff0b95b6cfef9","kind":"script","current_path":"perovskite-sim/scripts/run_r1_v4_representatives.py","route_id":"route-cfb8ebbb6139042f","sha256":"020c94413fd92a14dcf846696afbeffa8154e73d72f1ce3146779c15faa12385"}, +{"id":"file-8a650ebd2de3ee8c","kind":"script","current_path":"perovskite-sim/scripts/run_r1_v5_cases.py","route_id":"route-f53773639fed1b44","sha256":"4b377bb341a9e52a2145e2f62edbbe4f5738551a7acf32c952f3cd69b518506e"}, +{"id":"file-04a2e6de5c95aadd","kind":"script","current_path":"perovskite-sim/scripts/run_r1_v6_crosscode.py","route_id":"route-c38d173e7d94a30c","sha256":"8bffb781f2448f2b2745f6915f8424c646bb8d3a0105d668f73374c01bc5e6d1"}, +{"id":"file-b6eace74fb247055","kind":"script","current_path":"perovskite-sim/scripts/run_r1_v6_driftfusion.m","route_id":"route-8feddc1f3835c1dc","sha256":"2e37d4646225a39ddfc992fb8dc29da28908b062495a4212072ae53bbe9a56ae"}, +{"id":"file-1c3d77222ee2f519","kind":"script","current_path":"perovskite-sim/scripts/run_r1_v6_verification.py","route_id":"route-b63242cdca55c44a","sha256":"fbcac3f65db9fa1afcb47d16b8486f9f03b69466419ca0f9642b38bb9b48e67e"}, +{"id":"file-dfbc274c8e6ad319","kind":"script","current_path":"perovskite-sim/scripts/run_r1_v7_prototype.py","route_id":"route-f60540dff4a5bd5d","sha256":"60986b14f2657635ec71dde74d7155580a57300b358daca06c39d5b6df2e31c0"}, +{"id":"file-8566aefdbae2696a","kind":"script","current_path":"perovskite-sim/scripts/run_r1_v8_ablation.py","route_id":"route-685e6833fbc35d6c","sha256":"4786325c08ea11109779a8c22fd9b9f7c3a5e42daa967fb6624febe142294e5b"}, +{"id":"file-836789c6ea114430","kind":"script","current_path":"perovskite-sim/scripts/run_r1_v8_prototype.py","route_id":"route-8a5c1300ec2f4ddc","sha256":"5e4a16092ebc96086e80fe7ef06b114842566834a4ed74dcecd7817960733e78"}, +{"id":"file-1d37bb59eaf8f7a4","kind":"script","current_path":"perovskite-sim/scripts/run_r1_v9_prototype.py","route_id":"route-2db75d95400c1c0c","sha256":"1860af14820b8f50c9883a53ea76edabefb62a9835beb4cd4b685713f43aaef8"}, +{"id":"file-356c62b6dad2cda2","kind":"script","current_path":"perovskite-sim/scripts/run_regularization_ladders.py","route_id":"route-5487ec38a33e7d2f","sha256":"dcb0276b9ba1ac394cd22754a96b036cfcd6f159e58b0159640bd56d0743eeff"}, +{"id":"file-1213719d94c09a48","kind":"script","current_path":"perovskite-sim/scripts/run_scaps_full_regression.py","route_id":"route-70083637365da619","sha256":"2eaf17529a25432d20f35b9806e200e42eda798b77b4ecad3e0ca84b25e54407"}, +{"id":"file-a001bda39174dda2","kind":"script","current_path":"perovskite-sim/scripts/run_scaps_v2_regression.py","route_id":"route-45dccf3352277655","sha256":"a89f786491a0fd1ebe8ce36f86c4c57f5a5f7e935665f804def1644d8a39ebb5"}, +{"id":"file-8214d7ae867fd4be","kind":"script","current_path":"perovskite-sim/scripts/run_scaps_validation.py","route_id":"route-ef99f0d79906429b","sha256":"48b7f8453cbe9c363cbf26de64c9a494bbb4e3a579e030add3e8077b1ff6e610"}, +{"id":"file-183dd55bb78dc4e3","kind":"script","current_path":"perovskite-sim/scripts/scaps_absolute_scorecard.py","route_id":"route-2c7e7d553470797c","sha256":"ca2b6f1b9826dda051d073fda12727c03cfb526565b64bfc6c35599620148ae2"}, +{"id":"file-0a60f3a37f4f096d","kind":"script","current_path":"perovskite-sim/scripts/scaps_validation_figures.py","route_id":"route-9cd56efcdb05e166","sha256":"7d93f754d2db7a310f0a400c3ee4704ed43d851286d26b65bca0ac9cae943ad7"}, +{"id":"file-144cf80b5a3839c4","kind":"script","current_path":"perovskite-sim/scripts/slowgate_cron.sh","route_id":"route-8d301a10becc377d","sha256":"2f307e8e79b87a8a11bf8bf2cad352f16815d963c094ad43b91664caf8eab136"}, +{"id":"file-2e93773b5972b067","kind":"script","current_path":"perovskite-sim/scripts/summarize_ion_frontend_matrix.py","route_id":"route-9e73563a753e9a5e","sha256":"770d93aa97d7f4f23d705a85b78cc95b41dc2f7f0a96694c26919d148be7d06a"}, +{"id":"file-7212530bd6e0bcd5","kind":"script","current_path":"perovskite-sim/scripts/summarize_r1_v8_gates.py","route_id":"route-a2d42e5c973a854f","sha256":"feb8a6fa9e484b4611233703998953866840f53f0decc01e3be492af9d7be2df"}, +{"id":"file-61ca8345c58c82f5","kind":"script","current_path":"perovskite-sim/scripts/tests/CaladoReferenceMonitorTest.m","route_id":"route-d1b5818e5e1fb7de","sha256":"729b423905ccecfb2f6c2fd0d302a664e83592f04c0878474f275522f8ac4ae5"}, +{"id":"file-0b7d4233e045558a","kind":"script","current_path":"perovskite-sim/scripts/validate_calado_reference_solution.m","route_id":"route-ce521be8969e5eab","sha256":"11ed0dc5b5f39d5e69d99f5de9640ffdeff97931079766ee5496f46a41be389d"}, +{"id":"file-2a632c05deb6b55d","kind":"script","current_path":"perovskite-sim/scripts/verify_r1_v7_precision.py","route_id":"route-a48e6461253013d3","sha256":"e57d193ae39c658cb33383aaa36be1cbcec8845c2654c99401822b2109a58d29"}, +{"id":"file-e4a94d7cddf9829f","kind":"script","current_path":"perovskite-sim/scripts/verify_r1_v8_precision.py","route_id":"route-f900147eb6d0d205","sha256":"dd0c5ba91b5104d1adc58869153faf0c27bf1fb191d2d840c10ce2b6ef595824"}, +{"id":"file-864f2decf049e8c6","kind":"script","current_path":"perovskite-sim/scripts/verify_r1_v9_precision.py","route_id":"route-d8727c3da104d882","sha256":"f696de070859eda66883752cc7a77837d106ca37c9de2433188e874596924f19"}, +{"id":"file-8e9b1c4d17e9c554","kind":"script","current_path":"perovskite-sim/scripts/verify_reproducibility.py","route_id":"route-09fdd2fe1e6061d4","sha256":"63beed7e30702ff8e76638123b547defb7a6f1d38bd9f7e8f7a7184d0cae7b8f"}, +{"id":"file-e1b37db10a6d7593","kind":"test_module","current_path":"perovskite-sim/tests/__init__.py","route_id":"route-0b79b087fc0c9969","sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"}, +{"id":"file-195501aedb58bc8f","kind":"test_module","current_path":"perovskite-sim/tests/_presets.py","route_id":"route-7b5d4a95652d00a0","sha256":"52ba137e168679c74b22ddd8e0e49a88570db59c61a9af20fe890e004e9eb113"}, +{"id":"file-3a5945617e7a085f","kind":"test_module","current_path":"perovskite-sim/tests/accepted_trajectory.py","route_id":"route-35da0732e8d24cae","sha256":"e6da0b62a207f801dfde8d13be80c880ebc70a96b0080c6ceea17247a2efec5f"}, +{"id":"file-9311da94114ea45b","kind":"test_module","current_path":"perovskite-sim/tests/conftest.py","route_id":"route-a83617da23e2a85e","sha256":"37c25f1fc84203bc2c45c867d919151aa5b586735636cee49a362320c82cca16"}, +{"id":"file-92de11b94214fec6","kind":"test_module","current_path":"perovskite-sim/tests/fixtures/IonDiffusivityFigureReference.json","route_id":"route-359deb9e55a328d5","sha256":"5d40c90880097fd0f2814ff397a5f816facca4385b56adca45ff8109fffc9666"}, +{"id":"file-cc6a0b30a1145e11","kind":"test_module","current_path":"perovskite-sim/tests/fixtures/OneDimensionalMechanismR1ReferenceBindingV1.json","route_id":"route-a22521a319298be7","sha256":"780e0275a3278e2d0ef2eb0ddf748ac763a7cc38ac0d03796312a952e0a01b4e"}, +{"id":"file-49883c59777b67aa","kind":"test_module","current_path":"perovskite-sim/tests/fixtures/configs/cSi_homojunction.yaml","route_id":"route-bfb652869cd0615a","sha256":"c179e087a6623c7d19dfc7f6a3af056e6fcd5a0382e2e2b0e1e26dc08d883c99"}, +{"id":"file-2c610ce5a5d79cb5","kind":"test_module","current_path":"perovskite-sim/tests/fixtures/configs/cigs_baseline.yaml","route_id":"route-1424f205e677d928","sha256":"46dabc8418b7060a2124206793f3b6f07a01f35826b6b537591c64dbd2abe4af"}, +{"id":"file-172ed0b3e2495cb8","kind":"test_module","current_path":"perovskite-sim/tests/fixtures/configs/cigs_graded_notch.yaml","route_id":"route-13b979bd5c899be6","sha256":"d622f92e21face4e9a9e1780300566e1cda8c77d0e5e10171882f6cb8d7a5185"}, +{"id":"file-2d4c2c1958a51e1d","kind":"test_module","current_path":"perovskite-sim/tests/fixtures/configs/cigs_graded_optics.yaml","route_id":"route-384815182e239609","sha256":"9539deb2d0883838c9dac42dd95aae41eafb109e9d83205c3273fbd8df0e0fbd"}, +{"id":"file-c66504dc2f8a452a","kind":"test_module","current_path":"perovskite-sim/tests/fixtures/configs/csi_degenerate_pn_research.yaml","route_id":"route-e3d50bbf6ea5e7c8","sha256":"6d707f97bc1632521b5176f55d6e004cc171636e0264e85aa4f20eadafe2dfcb"}, +{"id":"file-367b9aa153ce509a","kind":"test_module","current_path":"perovskite-sim/tests/fixtures/configs/csi_gaussian_bulk_trap_pn_research.yaml","route_id":"route-3e6c8e57e494953e","sha256":"7e8bf1ab6669bd8088cd402ef73aca1cd75c9ae1755d3137faf6650569ac481b"}, +{"id":"file-777f9433382b8528","kind":"test_module","current_path":"perovskite-sim/tests/fixtures/configs/csi_incomplete_ionization_bgn_pn_research.yaml","route_id":"route-609346bb35752c73","sha256":"2fb63bd79a0f0917083d887e80301712d65b9ca46ace02bedb9cb5c5336e789b"}, +{"id":"file-52fd6f111dc276be","kind":"test_module","current_path":"perovskite-sim/tests/fixtures/configs/csi_incomplete_ionization_pn_research.yaml","route_id":"route-3649fac0dd41a591","sha256":"d98b07049abfb17f44404eac91557338dad3a16341b6350d291d940c258abc72"}, +{"id":"file-752672aef46dd0b0","kind":"test_module","current_path":"perovskite-sim/tests/fixtures/configs/csi_vannijen2025_pn_cv.yaml","route_id":"route-eeb58f162bffda7c","sha256":"eb4806e7167c258bd6fb5e47fe02ebadc92e8963055c06a73a5775a20178f5ad"}, +{"id":"file-18628861e2cafea1","kind":"test_module","current_path":"perovskite-sim/tests/fixtures/configs/distributed_defect_qf_dc_pn.yaml","route_id":"route-9e74dd83cf79569d","sha256":"7a6b1c16d8ea313177e3a761660bd6b7bbb546b14aa23189f91a9187ff0904f8"}, +{"id":"file-df347aecca3e7169","kind":"test_module","current_path":"perovskite-sim/tests/fixtures/configs/driftfusion_benchmark.yaml","route_id":"route-d50b4b403e4d5dfd","sha256":"3e4cea0244bcb71072194d24ff5a31e50eb780d8d93dc8bc2343a8032de3fbf7"}, +{"id":"file-b7a5eaa92aa795c0","kind":"test_module","current_path":"perovskite-sim/tests/fixtures/configs/driftfusion_benchmark_tmm.yaml","route_id":"route-8afa9877b23d4810","sha256":"bf0a186c772f5aadff9cfc1c4471534945e9849f42bea75f8097859f4c7350ce"}, +{"id":"file-66857582aeffcf6a","kind":"test_module","current_path":"perovskite-sim/tests/fixtures/configs/driftfusion_calado2016_repro.yaml","route_id":"route-5e2c167a04839040","sha256":"536dc33d42e214072bbeb14256582682ed0efd8ffaa39b1a3ee716217923c7dd"}, +{"id":"file-6e3744447bfd8653","kind":"test_module","current_path":"perovskite-sim/tests/fixtures/configs/dual_ion_demo.yaml","route_id":"route-67f4842a806cb45c","sha256":"a52ded5f1a674dfcd12e20ea51db9bddcfb035a199d4610639569dd797597064"}, +{"id":"file-2f115e9dee8c20fd","kind":"test_module","current_path":"perovskite-sim/tests/fixtures/configs/dynamic_defect_ion_impedance.yaml","route_id":"route-1624f63cee9114cf","sha256":"0b7424e4170d7d3792f40f97361edee3a881a04a39ad3a549fb7de621798422a"}, +{"id":"file-8064220ab49fafc8","kind":"test_module","current_path":"perovskite-sim/tests/fixtures/configs/dynamic_interface_defect_ion_transient.yaml","route_id":"route-d431b098d3d19cf2","sha256":"7aa464bc4772030318ebfa5fa7eb293e346ddf33f70f74083ba120f4240fd7c8"}, +{"id":"file-15a324bc1b5fb27e","kind":"test_module","current_path":"perovskite-sim/tests/fixtures/configs/dynamic_interface_defect_ion_transient_absorber_only.yaml","route_id":"route-15f21e752e189439","sha256":"f617f230b2d9c144573394e38fcc313225dc84c7b38f7670b97e9a0a7cc12a24"}, +{"id":"file-091e6e28cf32ab9b","kind":"test_module","current_path":"perovskite-sim/tests/fixtures/configs/field_mobility_demo.yaml","route_id":"route-a9ac29f7ab18eee1","sha256":"7ca86a8d5d35c50d0892de55e2375eaf8e9d0966477cd378ace6cae1a5e88edd"}, +{"id":"file-75a79849cbcbcf26","kind":"test_module","current_path":"perovskite-sim/tests/fixtures/configs/graded_distributed_defect_qf_dc_pn.yaml","route_id":"route-d3ac2bec7190dcf0","sha256":"b6db3b87c509bafc7dae5e84640b12a0277668d612b4f9933f848a3ad99a715f"}, +{"id":"file-84cd4d1f05a0e4e6","kind":"test_module","current_path":"perovskite-sim/tests/fixtures/configs/interface_charge_jv_research.yaml","route_id":"route-9004b39812404c71","sha256":"5f4bbf89cf2d95fb020cdc9ade111d838ed38cc1c14a722e5fd800e30c6590c1"}, +{"id":"file-811f3ea5871aee27","kind":"test_module","current_path":"perovskite-sim/tests/fixtures/configs/interface_charge_reference.yaml","route_id":"route-71fcd09fef0baf51","sha256":"300f57a256dc764995b916a55b98b642ecd8244eccd2ca456624d9521e0e2705"}, +{"id":"file-e90f855bd902a4d9","kind":"test_module","current_path":"perovskite-sim/tests/fixtures/configs/interface_charge_research.yaml","route_id":"route-fec36f158eb2be6f","sha256":"523449448807e4993f999300308096003c3eeaf280924b7af208915a3cf41a54"}, +{"id":"file-fcb029847f6d42bc","kind":"test_module","current_path":"perovskite-sim/tests/fixtures/configs/ionmonger_benchmark.yaml","route_id":"route-300709e892d870c7","sha256":"fbc82c9b85d121c459ab08d07d1c7f886eef36f4db669d354b79d260f43c8750"}, +{"id":"file-1df15e083b0538f8","kind":"test_module","current_path":"perovskite-sim/tests/fixtures/configs/ionmonger_benchmark_tmm.yaml","route_id":"route-411d433afa9f65c0","sha256":"09728fba308a206b3bdcd0874fdfc1775ac125dcfa42d10f70e9db8887c46fea"}, +{"id":"file-bfb0e40a64e754e1","kind":"test_module","current_path":"perovskite-sim/tests/fixtures/configs/ionmonger_courtier2019_repro.yaml","route_id":"route-881fea60a0c88a43","sha256":"ea88b2d05bca4f617b001092630b3de6e55293b6707c7083c7ee25efa3a5242f"}, +{"id":"file-f98e50bda1d8311d","kind":"test_module","current_path":"perovskite-sim/tests/fixtures/configs/nip_MAPbI3.yaml","route_id":"route-87eff71232110448","sha256":"20fa8a8097c965330ce7b0d7e8f9286fc1960585231c360841d24ba7a1845668"}, +{"id":"file-a077e31fc7c3df8b","kind":"test_module","current_path":"perovskite-sim/tests/fixtures/configs/nip_MAPbI3_tmm.yaml","route_id":"route-cc7a7dfad4c45853","sha256":"4624f6923ffc10fbd401ce37702250f72b558d3e4ecdbd5d8e766ab84e21b1b2"}, +{"id":"file-050e0a90fc01a2fd","kind":"test_module","current_path":"perovskite-sim/tests/fixtures/configs/nip_SnPb_1p22.yaml","route_id":"route-5f9bc0e29b5a8850","sha256":"2b5271f1c0f943074ea8de647e0e57c1d456e43f785e6123eb73d616c3e11c1d"}, +{"id":"file-c393b90a039db8df","kind":"test_module","current_path":"perovskite-sim/tests/fixtures/configs/nip_wideGap_FACs_1p77.yaml","route_id":"route-7c94679d4ca9b48b","sha256":"063c10f521a9943bd63728687ca383b2693ae437071aaedbeb98cdbe26e96147"}, +{"id":"file-faed728d0a740ba0","kind":"test_module","current_path":"perovskite-sim/tests/fixtures/configs/pin_MAPbI3.yaml","route_id":"route-b3132790ba5eda44","sha256":"3881eda9e5d7d4c71e1215e11b01f113a4764b1c74b4932e4c7932f69eb3d605"}, +{"id":"file-dac51cb914b3b375","kind":"test_module","current_path":"perovskite-sim/tests/fixtures/configs/pin_MAPbI3_tmm.yaml","route_id":"route-5db31d297d79e5ae","sha256":"984b5f8bb9858994a1100de70896fc4a9474b43ef1857d633beb14f75a9a22df"}, +{"id":"file-baac168e8b6b4af2","kind":"test_module","current_path":"perovskite-sim/tests/fixtures/configs/radiative_limit.yaml","route_id":"route-f85b09742ef79f15","sha256":"8d529e4321fb1bb3c32d1d516946aa768f641982d4ab6e12059c46fa5e1fb8c9"}, +{"id":"file-8fe9091ef076b4f1","kind":"test_module","current_path":"perovskite-sim/tests/fixtures/configs/scaps_defect_m1_double_donor_p.yaml","route_id":"route-25cd4696dbbee326","sha256":"43516a15f6ceeb6ba5fb4381c789e1c073ead4b101081d583da60c4bf9407290"}, +{"id":"file-3e9c9e57202fa9a5","kind":"test_module","current_path":"perovskite-sim/tests/fixtures/configs/scaps_defect_m2_double_acceptor_n.yaml","route_id":"route-00b6a354aa1e4ea4","sha256":"32c7828624f482259d681aeca4d148d882483719de43dc72ce0b117d4f27d223"}, +{"id":"file-9559fa1ae2982241","kind":"test_module","current_path":"perovskite-sim/tests/fixtures/configs/scaps_defect_m3_amphoteric_i.yaml","route_id":"route-6b96eb8c8d7b17e4","sha256":"7e772e2e92a5d862ac8b54f0b5cd684829bbe9ae34eb3aee607ab78a3586915c"}, +{"id":"file-8e83df3b596dd856","kind":"test_module","current_path":"perovskite-sim/tests/fixtures/configs/scaps_defect_s0_neutral.yaml","route_id":"route-d6b1f66a46ba8456","sha256":"77b89e16c365cd5c4cf9f7aa439f0200ec9ad9b814e60bbe81895afef65025c7"}, +{"id":"file-374a687f4b1c1390","kind":"test_module","current_path":"perovskite-sim/tests/fixtures/configs/scaps_defect_s1_acceptor_n.yaml","route_id":"route-8bc5ec1fbce205f2","sha256":"f49900b296a2bfb3c5a28d9135b24dcf8f0d6c409f105a70d4dd27100ebcb681"}, +{"id":"file-3159c6a91a41e97f","kind":"test_module","current_path":"perovskite-sim/tests/fixtures/configs/scaps_defect_s2_donor_p.yaml","route_id":"route-8186db931e629455","sha256":"7fff245d23a99cb1128124d073269a3b3f1d8ee9a9f07730ce558ab4eb3d8066"}, +{"id":"file-1dbdbff3b20f79fe","kind":"test_module","current_path":"perovskite-sim/tests/fixtures/configs/scaps_mirror.yaml","route_id":"route-16074d744dd39870","sha256":"7ad4968d9c8249b76ca4e649d41c39e26727f6818cb81a15fe75f6b74b11b881"}, +{"id":"file-e82d429ab040b6df","kind":"test_module","current_path":"perovskite-sim/tests/fixtures/configs/scaps_mirror_v2_robin_moderate.yaml","route_id":"route-db0f2939722e7920","sha256":"2d0d25a59802cac9c85f2b4a84ee49f9b42100fe0f87cb00f647462b475a0f95"}, +{"id":"file-1604a201bf6a3d35","kind":"test_module","current_path":"perovskite-sim/tests/fixtures/configs/scaps_mirror_v2_robin_strong.yaml","route_id":"route-2d8268912ee641c2","sha256":"2b35b8e0a8efdc1e3432dc55b00f03b6f6bcf53d43e699502ef3c903152057ee"}, +{"id":"file-dcf9ac20134104f7","kind":"test_module","current_path":"perovskite-sim/tests/fixtures/configs/selective_contacts_demo.yaml","route_id":"route-d14ff234b9c23ec4","sha256":"731b5a77435484ff638183e83e77a7479da4c7b16aadfe79f15ae966764f682d"}, +{"id":"file-4fedac2cbbba231b","kind":"test_module","current_path":"perovskite-sim/tests/fixtures/configs/solarscale_nip_band_aligned.yaml","route_id":"route-4c0a572fb6546b4c","sha256":"8b0d9cadfb1d198cf32ea647c95ed25fa38928d8b2f5770bcf49902114402088"}, +{"id":"file-7cce0d14fff64940","kind":"test_module","current_path":"perovskite-sim/tests/fixtures/configs/solarscale_nip_band_aligned_iface.yaml","route_id":"route-ea644f374d22dc4e","sha256":"538fed52f0d40123ecc1b8a4c1391616f9f35a93637157f3374e90fc8f43c344"}, +{"id":"file-07e9e5808596f127","kind":"test_module","current_path":"perovskite-sim/tests/fixtures/configs/tandem_lin2019.yaml","route_id":"route-211e06b1372e3beb","sha256":"2eb26eb1902d0b9fbaf6e1b019dc79a163d2989adb13654c90ef508b4fdaded0"}, +{"id":"file-68c228abef7d4b5d","kind":"test_module","current_path":"perovskite-sim/tests/fixtures/configs/tpv_physical_reference.yaml","route_id":"route-2715f55414df5b4b","sha256":"2e470b672f2b0ee6970ff169deedf7ce09ed0a45beb8ab9c55b48ab8da487c10"}, +{"id":"file-c32750789eed145b","kind":"test_module","current_path":"perovskite-sim/tests/fixtures/configs/twod/bcx_combined_demo.yaml","route_id":"route-aa5a3d355272fdda","sha256":"de41a3ea4547a2c97a4327f2c2edaeab4b162e6a51ed43aae4e40ef3047c46dc"}, +{"id":"file-e0b27620acaf9552","kind":"test_module","current_path":"perovskite-sim/tests/fixtures/configs/twod/combined_mobile_interface_research.yaml","route_id":"route-4491c7662a56b4f9","sha256":"08b0593cbd4e1c11d4603b521ddfb2e4590ef4daa41fbfa7fe4eac857eb606d1"}, +{"id":"file-45fac48b0d4ea44e","kind":"test_module","current_path":"perovskite-sim/tests/fixtures/configs/twod/nip_MAPbI3_singleGB.yaml","route_id":"route-685f8aa855daf7e1","sha256":"01870c441a410f0c99a6d71ee363e862798ee05fdaaf03156bb657a16b6cf5b6"}, +{"id":"file-b60e117bfe3d6589","kind":"test_module","current_path":"perovskite-sim/tests/fixtures/configs/twod/nip_MAPbI3_uniform.yaml","route_id":"route-a0e2315a8872fef6","sha256":"6a7e0022575e680e3b4348774eb604c3273930b7a0fe210994e6532cd6d59dcb"}, +{"id":"file-fc802a1a1b968b12","kind":"test_module","current_path":"perovskite-sim/tests/fixtures/configs/wkb_resolved_electron_barrier.yaml","route_id":"route-cd205ab1e3c9559a","sha256":"891165e5ac68609b27dbe6c98b00e27d9b40b4df6edabde764ddda62d4788d27"}, +{"id":"file-b21eee3b3bcc5c86","kind":"test_module","current_path":"perovskite-sim/tests/fixtures/configs/wkb_tunnelling_intraband_spike.yaml","route_id":"route-e4d5aa3c0ce2b090","sha256":"545067cfedc8598b62fd1991aeaf3cd13d3153151e427452d1b78f6d523df20b"}, +{"id":"file-8c2cf183c6876b5e","kind":"test_module","current_path":"perovskite-sim/tests/fixtures/r1_failure_evidence.py","route_id":"route-1bc1e5e55f3daf7e","sha256":"63a4bdfeb8c06668ae6536a45b6dff03f8d8b910ef4c045212fa690d568a8bed"}, +{"id":"file-c1cee15f4fbd1031","kind":"test_module","current_path":"perovskite-sim/tests/fixtures/r1_reference.py","route_id":"route-0f02bfd1dc8f877c","sha256":"a2fda17995a4ae197a7782a23079469a48fa5128368fc047275a73412eb9fb98"}, +{"id":"file-b6ec16843b374a63","kind":"test_module","current_path":"perovskite-sim/tests/integration/QssBaseline.json","route_id":"route-59318241cc802111","sha256":"bb1de01ce418688b8453a3b03f4a22730884ee64f4d0955d738cc642bd661622"}, +{"id":"file-8e765c36b746b088","kind":"test_module","current_path":"perovskite-sim/tests/integration/ScapsReference.json","route_id":"route-9a251c6c49de1c59","sha256":"b1ae276c62e3ba1d44e7ffbb7e4cbf7bde76a070b01c552e23570a4180e62c84"}, +{"id":"file-f83d628be1cdcfad","kind":"test_module","current_path":"perovskite-sim/tests/integration/__init__.py","route_id":"route-fd80a8df3c5c3a5c","sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"}, +{"id":"file-2e36d3033ea80995","kind":"test_module","current_path":"perovskite-sim/tests/integration/backend/__init__.py","route_id":"route-0da4b9f7db152cbb","sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"}, +{"id":"file-c6573142a98d58f2","kind":"test_module","current_path":"perovskite-sim/tests/integration/backend/test_jv_2d_advanced_physics.py","route_id":"route-9121228630671d66","sha256":"938c4a62199c36a11902aaf5967611131014c186fe8f7a730584da0600752d2a"}, +{"id":"file-20f5aa4b1338569b","kind":"test_module","current_path":"perovskite-sim/tests/integration/backend/test_jv_sse.py","route_id":"route-cec42107a22a7eaa","sha256":"f87857bc1872da282a61a3f064dcc0f9a73fae6f25cc6b86a62716a0baa246b0"}, +{"id":"file-65cd35b2c463158c","kind":"test_module","current_path":"perovskite-sim/tests/integration/backend/test_numerical_job_lifecycle.py","route_id":"route-ba5c983c615bd00b","sha256":"cd6ded458341b66f86246cdda11f2596b61f1d450c1c931df15a9926f6b41805"}, +{"id":"file-0d18c76a14d3d02b","kind":"test_module","current_path":"perovskite-sim/tests/integration/backend/test_stack_from_dict_interface_defects.py","route_id":"route-466b8778424ac8f2","sha256":"0dfac30ffdbad1a78dc5122b90cb47d3b3f865d6a5178daa28e067b3b688bc33"}, +{"id":"file-bf574d42a27551a2","kind":"test_module","current_path":"perovskite-sim/tests/integration/backend/test_tandem_sse.py","route_id":"route-6db78c8e385fa6ea","sha256":"fb7560a94f996a99869f3ac4f6f7b2445739e37dc7c48c3b57fe2051f4426a8d"}, +{"id":"file-501520423bbc87b2","kind":"test_module","current_path":"perovskite-sim/tests/integration/backend/test_twod_configs_api.py","route_id":"route-d4d677f94e1ef7b0","sha256":"86e6e6c00f542e87e248e096889dd8a51900f55c74aae74516ebc46109547f81"}, +{"id":"file-5808dcd180579e1f","kind":"test_module","current_path":"perovskite-sim/tests/integration/backend/test_user_configs_api.py","route_id":"route-3a91e5a492db3520","sha256":"3a8c71165b1f08c0988615b6dc06c910a52974bc49731e7b578aa11c96097733"}, +{"id":"file-5a9fc68347dbbeaa","kind":"test_module","current_path":"perovskite-sim/tests/integration/backend/test_voc_grain_sweep_api.py","route_id":"route-90a38b2d0305c271","sha256":"77c5df45d5fafc40f2e29788aa985878b6dada15f8ea72f2d5ce0809a5d65887"}, +{"id":"file-3fc8aefacdee5f7e","kind":"test_module","current_path":"perovskite-sim/tests/integration/test_backend_api.py","route_id":"route-8e752a0e96389e55","sha256":"a3d5570e2c1c6e3e58130d13b214133b7238eaecefd60a29a0a75009315b43f2"}, +{"id":"file-8c46dba5b85f5f93","kind":"test_module","current_path":"perovskite-sim/tests/integration/test_backend_tandem.py","route_id":"route-0dd549859f2f1e0c","sha256":"2ec789c00b90d2dd9d64590e70f8aeb801948b958e5bc0c315e254c469f33129"}, +{"id":"file-be763e8e37bd8f45","kind":"test_module","current_path":"perovskite-sim/tests/integration/test_bulk_defect_ion_transient.py","route_id":"route-a3f10903c6bc2a6e","sha256":"786876d81f654750d62ffd9f4cb0d514834fa85f42ea423aaee9217d73b7f07c"}, +{"id":"file-5a08c224dae743fb","kind":"test_module","current_path":"perovskite-sim/tests/integration/test_bulk_defect_transient.py","route_id":"route-12329ad81943d0c1","sha256":"3f1e32ed0fb0491e0c4e4b8f441c1763f29173487b4ca524f7164009161e43fc"}, +{"id":"file-f600cbd2b3e1db84","kind":"test_module","current_path":"perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py","route_id":"route-b806b563615b069b","sha256":"ea5ba30ac493eac2f6f77b02e4fbbd3fb1e6baddc6727a25bcf3c82b4757fccb"}, +{"id":"file-d7ed9cd70fe14d2e","kind":"test_module","current_path":"perovskite-sim/tests/integration/test_cigs_graded_optics.py","route_id":"route-fcafc4a7718c3edb","sha256":"28bc9f956a021822eb9faf656ac4c7a8e98b73707fa4d417393f64e8f2014fb3"}, +{"id":"file-80a1e6cc9c2b847e","kind":"test_module","current_path":"perovskite-sim/tests/integration/test_combined_dc_warm_start.py","route_id":"route-2b875d66db2086a1","sha256":"786dafc20ab5f3e1bcd72e53135ccf2278cb5826844b8c4998b5cad9644617f6"}, +{"id":"file-f671f906acb61fb5","kind":"test_module","current_path":"perovskite-sim/tests/integration/test_dae_dual_ion_refinement.py","route_id":"route-5db49f0759dfbaf5","sha256":"af023c7be2a01d8f1b946f3c783401f5f88be00fbb143881595069a57d1b4117"}, +{"id":"file-5d8da9bb4feeb3bf","kind":"test_module","current_path":"perovskite-sim/tests/integration/test_dae_dual_ion_structured_scaling.py","route_id":"route-2ce8136215fca5ea","sha256":"35a1a985085b0d615d7f5c6f1b05065797d50e73756cc36e382f07f1dd808ed0"}, +{"id":"file-d69d50ade51862e5","kind":"test_module","current_path":"perovskite-sim/tests/integration/test_dae_interface_state_refinement.py","route_id":"route-2db4508fdfb8b03f","sha256":"a7304770db5907648c1dcc50d3851607a1cb861f77e22f02662f90b12bfc19dd"}, +{"id":"file-3bba225c8563557e","kind":"test_module","current_path":"perovskite-sim/tests/integration/test_dae_ion_interface_refinement.py","route_id":"route-7cc3fb587109f9b7","sha256":"2b348094a2034b5351096080a977faaf33dce09f7b7260eea6148f6c6685102b"}, +{"id":"file-4a43c8dc93941a4b","kind":"test_module","current_path":"perovskite-sim/tests/integration/test_dae_no_ion_refinement.py","route_id":"route-0344f999d13af973","sha256":"aec6935d66a2aaabd0e1bc738563c64bee37e7b1f157c7f254e7239a5841066d"}, +{"id":"file-047079045d7ac75c","kind":"test_module","current_path":"perovskite-sim/tests/integration/test_dae_single_ion_refinement.py","route_id":"route-1e9fa272c01f98ba","sha256":"49e551c8c2947fb19d1224a6f3defc67a9ad3eb91fdc8bf7d246cd3eb4ecbebf"}, +{"id":"file-d0e92bdd3ae8fe6e","kind":"test_module","current_path":"perovskite-sim/tests/integration/test_dae_single_ion_structured_scaling.py","route_id":"route-b69441fd4dde56b7","sha256":"5ca52979da3d3bd0241138030ef502008d59368ffc96e0ad2c47b713a749df3a"}, +{"id":"file-8482b0ac8b7434ea","kind":"test_module","current_path":"perovskite-sim/tests/integration/test_dae_structured_scaling.py","route_id":"route-92baa6dc44e66a2e","sha256":"8bb50b37097b4d9a0677fdab2e50146344c940c16d2694805e9c3859ff207719"}, +{"id":"file-c58027c7bfc23eb0","kind":"test_module","current_path":"perovskite-sim/tests/integration/test_defect_ion_combined_impedance.py","route_id":"route-17297df7c625b884","sha256":"46a005cfe18f834c20de1d73a9ebd7cfebb94e9371e1ce2134a2cc54a72ee171"}, +{"id":"file-1f0e82a80232c576","kind":"test_module","current_path":"perovskite-sim/tests/integration/test_degradation_snapshot_refinement.py","route_id":"route-8180e6a42c8cc31e","sha256":"ecdf042f3c92a4135b8acef933702c5108f3cdd2a9f378cd9fbcd7386435f672"}, +{"id":"file-64a67a668ce8e01e","kind":"test_module","current_path":"perovskite-sim/tests/integration/test_displacement_increment_precision.py","route_id":"route-96c39931c7663a6b","sha256":"34175fa8023f9e82796445c558f1e4ff110973c3483ede69638177bff52e29b5"}, +{"id":"file-1058e138801095ce","kind":"test_module","current_path":"perovskite-sim/tests/integration/test_dual_ion_demo.py","route_id":"route-1e0217cbecc58644","sha256":"283eea769b6eeed0fdf44791fe911a8a99329623c2fe5edee26c6e22f412738b"}, +{"id":"file-6d3f286be370f808","kind":"test_module","current_path":"perovskite-sim/tests/integration/test_dual_ion_integration.py","route_id":"route-c3c04697792eb4bb","sha256":"1e0492c7e0909a644a3290b247a7626c6c50d5cac1628b4791998bd92134687b"}, +{"id":"file-873182e6540b10a6","kind":"test_module","current_path":"perovskite-sim/tests/integration/test_dynamic_defect_impedance.py","route_id":"route-b1447a4fec5c0b30","sha256":"9f09812d69177e475ca15b300ebeee3087281fe287e6c0c30e637ef1dc195601"}, +{"id":"file-d40e8bf673dc8630","kind":"test_module","current_path":"perovskite-sim/tests/integration/test_dynamic_defect_impedance_api.py","route_id":"route-5092c30773a52c7f","sha256":"b5299272f9ddd7249947f4b112ed18870f5b6c4f4a6e2637cee31cd0df18811b"}, +{"id":"file-cec5c0dc91a03900","kind":"test_module","current_path":"perovskite-sim/tests/integration/test_dynamic_defect_transient.py","route_id":"route-988e460287fd9346","sha256":"0fd4b533cbe9e113a3712df0223c6f1e11b81e430a276ce18f55c213601a4937"}, +{"id":"file-8126bacb4bbcbf72","kind":"test_module","current_path":"perovskite-sim/tests/integration/test_dynamic_defect_transient_api.py","route_id":"route-6f8d4f5d4e5cb364","sha256":"375f71f7fa31487373b468a3720ec70f890592b2f38fe1f6a49bdb20a3ed840c"}, +{"id":"file-a99b367a17e001de","kind":"test_module","current_path":"perovskite-sim/tests/integration/test_e1_5_cross_carrier_srh.py","route_id":"route-dddbff078ea42fd2","sha256":"d7cccf265c5cc2ac5190be1321752d9744f59496d64efdc5871f67fb85c8052a"}, +{"id":"file-ef1a9884043997dc","kind":"test_module","current_path":"perovskite-sim/tests/integration/test_e1_6_calibration_factor.py","route_id":"route-6f4cb2f176bfc5c3","sha256":"08c51ec5111926cdf6d76a130bf5d264ee52b984aac1c261454e2e837c92eee0"}, +{"id":"file-15fdf83010258472","kind":"test_module","current_path":"perovskite-sim/tests/integration/test_e1_interface_srh.py","route_id":"route-44029d450ff806f4","sha256":"f5b16bb2c4ae947e8441730706a9093172a2ecfb3e8fbbfb3f213c82e95a3f28"}, +{"id":"file-b20ef720b4ace34a","kind":"test_module","current_path":"perovskite-sim/tests/integration/test_e3_interface_plane_assemble_rhs.py","route_id":"route-2e40610960f5fbb7","sha256":"ea3d7802b6c6542514eff0cb4e197f22d407af57bc7d287b83cc89f3f0dc6f35"}, +{"id":"file-77b9d0ff3c58f2e1","kind":"test_module","current_path":"perovskite-sim/tests/integration/test_e4_split_integration.py","route_id":"route-d825d1618fbacae6","sha256":"e76fddce2cd6add7df8d4e9134f9fdb9d9fb9136f219cfcd7a2c9463c4384d5b"}, +{"id":"file-2e2f4181e04a2a26","kind":"test_module","current_path":"perovskite-sim/tests/integration/test_electrothermal_operating_point.py","route_id":"route-46210052449fcd7d","sha256":"5e3dcaca47016b06eff5a7b46dbab8824ebe6d871eb3eb512e513804d4cb3f47"}, +{"id":"file-7829c65252188e90","kind":"test_module","current_path":"perovskite-sim/tests/integration/test_end_to_end_device.py","route_id":"route-d319ec1e4eaba229","sha256":"c786409c56de48508b8cb24ebdaf0be06a8e33c6bc0c4d34b547c3b164a555d9"}, +{"id":"file-6a7570883c2fab59","kind":"test_module","current_path":"perovskite-sim/tests/integration/test_equilibrium.py","route_id":"route-e8292d0675bc60a4","sha256":"f52357ea9b8de6e27679e59431314005573d233b89daa14badad13593d38221f"}, +{"id":"file-d48c4e5d7fa2da15","kind":"test_module","current_path":"perovskite-sim/tests/integration/test_explicit_neutral_defects.py","route_id":"route-a0cb635cf8a28926","sha256":"3cdd6c2fd8ae66cb3e0c5e4c965756b92531c267f0e185ebff3749696f91b805"}, +{"id":"file-5a2c83ce29eab357","kind":"test_module","current_path":"perovskite-sim/tests/integration/test_external_circuit.py","route_id":"route-13bc316e32c5cdfa","sha256":"547ee04f0af988e547833bd0c15ccc7e593c0f9d3e3fc7ac0b2613d960e5b657"}, +{"id":"file-29bbe4e5d4a4f0d3","kind":"test_module","current_path":"perovskite-sim/tests/integration/test_external_circuit_refinement.py","route_id":"route-c649a12407ab45c9","sha256":"25319fc8ce4d3c090c7c12af166b219e3cc967d94b7765d1f169c4be0671294c"}, +{"id":"file-b044fe2d465aae4d","kind":"test_module","current_path":"perovskite-sim/tests/integration/test_field_mobility_integration.py","route_id":"route-cb7ffa95d7e1e8ed","sha256":"ad0525f311e9f3c1de1b25d25b50194fb45ae586aa6dacc3e9d422a92f46c18e"}, +{"id":"file-bf982ebe5c78d96d","kind":"test_module","current_path":"perovskite-sim/tests/integration/test_foundation_mobile_refinement.py","route_id":"route-e50cccf095e95962","sha256":"7bfe34a63a4b831409f5aab5f4b7016a2d3d287920f7a8cb8f4bc91c4dbf37a8"}, +{"id":"file-f2594e49afc6cab6","kind":"test_module","current_path":"perovskite-sim/tests/integration/test_foundation_tpv_spatial_refinement.py","route_id":"route-a09065616cd4ffe7","sha256":"2f4215c817c2ab1a412fef97923bfad87ab55e0a9774ff6b0b99f6d430ca9a08"}, +{"id":"file-47048f9d28729d5c","kind":"test_module","current_path":"perovskite-sim/tests/integration/test_foundation_twod_axis_refinement.py","route_id":"route-c9e542353aa3dfe7","sha256":"90fbe9ebb86ccb23f1f946f1374ff78a9d529339bce16e3468a8cc4378163497"}, +{"id":"file-54ce7aedbe003b58","kind":"test_module","current_path":"perovskite-sim/tests/integration/test_full_tier_flagship_jv.py","route_id":"route-1c39a8458b824bc8","sha256":"d9bc5fb5f38edce70edbcae78e69df1a53a476ca6cb5c8e94f82dbf3037807d5"}, +{"id":"file-5aedf13a525c9fe1","kind":"test_module","current_path":"perovskite-sim/tests/integration/test_full_tier_migrated_presets.py","route_id":"route-d73a61fbb6690b09","sha256":"48891b86505b04894231692dd6f0c0266e3acd768d93ccf235e1d9c665adec78"}, +{"id":"file-b04c18f20b05b730","kind":"test_module","current_path":"perovskite-sim/tests/integration/test_heterojunction_dark_equilibrium.py","route_id":"route-87ef110e3075c116","sha256":"7758f70105fdf415136f7331f2c13a15dc8b0be03ec8bd725a0b66642dfef63f"}, +{"id":"file-57a441ed70384e2b","kind":"test_module","current_path":"perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py","route_id":"route-0bb84d773c83614a","sha256":"1ae7d4a8a2cdfa70687f04ed328e830f88a10681420b3e9c024b2c6d14357e13"}, +{"id":"file-3b92d307885f1e68","kind":"test_module","current_path":"perovskite-sim/tests/integration/test_interface_defect_ion_transient.py","route_id":"route-d7e5d70def0ab980","sha256":"f400ae246a2d1daad561901370026b9ea13e2724c656c7b99ea1943d1468df74"}, +{"id":"file-7c62e1776bd19fd0","kind":"test_module","current_path":"perovskite-sim/tests/integration/test_interface_defect_transient.py","route_id":"route-d81688df5b6b7f36","sha256":"7e724a23b993c656d70ebca9774818d3cc01e8b79b7bfc73e67c2b7a6db80ead"}, +{"id":"file-323533b8a4520127","kind":"test_module","current_path":"perovskite-sim/tests/integration/test_interface_flux_balance.py","route_id":"route-19a56c743007ffd6","sha256":"0079d4c6555a2d4dd77f5037f9207c6efd75ecf5ce13050954c8f5e55e39fc14"}, +{"id":"file-aae2e567cace08f7","kind":"test_module","current_path":"perovskite-sim/tests/integration/test_interface_reverse_bias_generation.py","route_id":"route-4b7024aeb21544e1","sha256":"4785fb776d327b71375a4e1add8d04fdbc35cfd1944ab4150aac6ff735c0a3e1"}, +{"id":"file-5c90c54d5180d119","kind":"test_module","current_path":"perovskite-sim/tests/integration/test_ion_aware_dc.py","route_id":"route-1ff5482a9339d238","sha256":"8d8cb6cfb7f5df9aa9dfbb2afa361ba3a60e977eaf4e302bc57dfd4316900b54"}, +{"id":"file-bf964d556b1653d7","kind":"test_module","current_path":"perovskite-sim/tests/integration/test_ion_aware_impedance.py","route_id":"route-1cdd8b0113a338cb","sha256":"34768e09c8422f16646ae9c3f69f2c492f330ed6bfc6033692ff8b76b9d922c5"}, +{"id":"file-b75943034872ff3a","kind":"test_module","current_path":"perovskite-sim/tests/integration/test_ion_aware_impedance_grid.py","route_id":"route-0609e936abbb65de","sha256":"8ece0bfd64b67ebbdb440ecfa8aaaa069c5b6c502ce0381850f2d67973c62fa8"}, +{"id":"file-1bdb5b827fc289ad","kind":"test_module","current_path":"perovskite-sim/tests/integration/test_ion_aware_impedance_lockin.py","route_id":"route-1095e2f8e1a72b4b","sha256":"aabfef24725fb18f5d1890eb2069cd6d4dc2b1e32a2b8a6145e837786a801efa"}, +{"id":"file-7241c7f4ad89ac84","kind":"test_module","current_path":"perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py","route_id":"route-379459e775829ddb","sha256":"fe7ee146642213adefc40244b6e9f54719f3d3cf8c5abf626aa511c0163a6a99"}, +{"id":"file-98b47677d46d8b08","kind":"test_module","current_path":"perovskite-sim/tests/integration/test_ion_diffusivity_figure.py","route_id":"route-dcff482386f534f9","sha256":"eb8e9402314c53ef35752f3686c9013dd7def00038c1ef4587544e89e42b8fc4"}, +{"id":"file-723ea1f5586e8ee2","kind":"test_module","current_path":"perovskite-sim/tests/integration/test_ion_occupancy_device_level.py","route_id":"route-c33db809333c0300","sha256":"911a8e15e15aa170e797ee4c8a6cf3d2097879f7f11aea8a0983b103f9d9dc2f"}, +{"id":"file-9025858dab7e0b80","kind":"test_module","current_path":"perovskite-sim/tests/integration/test_log_density_coordinates.py","route_id":"route-22d93e2762284af9","sha256":"0ff9d9be1f0baa8f6ca08b38f86fbf895d19085bed8c472543df2099db814aa4"}, +{"id":"file-f885246b6dcfc345","kind":"test_module","current_path":"perovskite-sim/tests/integration/test_material_cache_regression.py","route_id":"route-6f4e33cb6cb4cfe8","sha256":"e9211dfb1b2eee55ecd1c43153cdd05da347cde2a9e214fc6d7b0c4459e4c391"}, +{"id":"file-197585768eb0655e","kind":"test_module","current_path":"perovskite-sim/tests/integration/test_metastable_dynamic_transient.py","route_id":"route-5f735796fe9c1acf","sha256":"2adb02094d5254056dc1e1ca639493c799b8d996cf3b60c63136bd5b5017a42b"}, +{"id":"file-f9a450f7a331a913","kind":"test_module","current_path":"perovskite-sim/tests/integration/test_metastable_preparation_and_frozen_measurement.py","route_id":"route-3251e8c8602898b2","sha256":"e5ce5a801d2fb564706f3d2e17f851e82056fa52e3a313413f957d4ded7d9cf3"}, +{"id":"file-4a076d9bcf6fbfd0","kind":"test_module","current_path":"perovskite-sim/tests/integration/test_multivalent_explicit_defects_qf.py","route_id":"route-f3704acc92eb4df8","sha256":"ee9cfaf9bdf99214603e5f1bd1708cd4759372a3e14bbe33fe3075f6edcd5ee0"}, +{"id":"file-07f22631e774d45f","kind":"test_module","current_path":"perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1.py","route_id":"route-8baec9a4a919ff4d","sha256":"9e1abf8b5dc163e308cc70b0c6418eeeb77df3fc5d9407f9370344dddefc8de0"}, +{"id":"file-a8744bf555fe192e","kind":"test_module","current_path":"perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_controls.py","route_id":"route-08b8984258bb813a","sha256":"be3702649f779450f0756bffe30a4b74fc93037b55725f8587aacdf429f72d8d"}, +{"id":"file-d7317fd61b0cbd66","kind":"test_module","current_path":"perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_physics_result_records.py","route_id":"route-10f21afa9c1b552f","sha256":"a85a02d9c498aa41e0e282d477d183a80bfdfb0b1f8b7630b9b253adaa6dac06"}, +{"id":"file-e13cee297188d4d7","kind":"test_module","current_path":"perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_physics_validation.py","route_id":"route-811d2c965772c13f","sha256":"6652a410f5625eb423b7077075e49c2efc255f5b7a1e8b7785391ad41e3117f1"}, +{"id":"file-4af6886a3a3561e6","kind":"test_module","current_path":"perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_protocol.py","route_id":"route-09a00fc4f283db22","sha256":"4a0bad76b41e29e34e2ed3df94fbd84f95838b0a005fbb4cef1921bae78096dc"}, +{"id":"file-d8eb355218b8cfe8","kind":"test_module","current_path":"perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_response.py","route_id":"route-b6ceba702ec7df6f","sha256":"a62a86aac398b6a06647730a7d8b23cbbd4be5d673e7a1c23a1c62a2aaca9ad3"}, +{"id":"file-7e20d1d9f3778bad","kind":"test_module","current_path":"perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_step.py","route_id":"route-32d8d28d38967bda","sha256":"2ecc9e50a54485a7a0a54586530b254257dcb309bc07005305d6c3b06f9966d7"}, +{"id":"file-1c67a3e462828b10","kind":"test_module","current_path":"perovskite-sim/tests/integration/test_physical_interface_cbo_scan.py","route_id":"route-47144af47c668ad3","sha256":"b49f3b84d487856932db64c0e296959b3b4913756a49126f98f364fe779154b3"}, +{"id":"file-b77f8b54e35050c5","kind":"test_module","current_path":"perovskite-sim/tests/integration/test_r1_dc_amplitude_endpoints.py","route_id":"route-5f5de32f456f55b2","sha256":"e03004dcc073f2a64a4be6f301ca08201df7f1cca56e1cfc7d63c3fcd1435278"}, +{"id":"file-4b03b7ee780ac6c5","kind":"test_module","current_path":"perovskite-sim/tests/integration/test_r1_evidence_accounting_v5.py","route_id":"route-eb5a10c445e8aa86","sha256":"3c19d4e3f7dce517d66805773d97d1ec397563bb93330eb894344fefd6111d8c"}, +{"id":"file-91b38a1bd2c17a9f","kind":"test_module","current_path":"perovskite-sim/tests/integration/test_r1_failure_witness_v4.py","route_id":"route-8d23cea9caffc085","sha256":"83eb2c626edb4ab257af619ef49e75816ee97a3eb3a3f8960e4eaa72a6bb9df4"}, +{"id":"file-ec74752f05e7c158","kind":"test_module","current_path":"perovskite-sim/tests/integration/test_r1_failure_witness_v5.py","route_id":"route-2fb3b933d3bd1226","sha256":"f73841b8b25c4f27d2663feeae9bf2a872e7baf7c0fa1d0d66a65c4f6498c4bd"}, +{"id":"file-4f1cdfa40fbce1a6","kind":"test_module","current_path":"perovskite-sim/tests/integration/test_r1_independent_physics.py","route_id":"route-410338d0edcca340","sha256":"13eba613922a1f1f5291226dc4381485ec851fa73279cfcadee96bad9fd1be5b"}, +{"id":"file-a6b2743fd63923fe","kind":"test_module","current_path":"perovskite-sim/tests/integration/test_r1_initial_pair_invariants.py","route_id":"route-87cbb3242dc2a21a","sha256":"cf04c4bd8a9a47bb65f484278f452d7f9839667b8a907d9a89b8b21de8860ae4"}, +{"id":"file-ae734c0f202c04a8","kind":"test_module","current_path":"perovskite-sim/tests/integration/test_r1_numerical_precision.py","route_id":"route-58932495a22cb9d0","sha256":"0a311631f89a6b7a22bcb5668e0617bed85f3862880206a4129896cd8df95428"}, +{"id":"file-ce31bb74202c0c74","kind":"test_module","current_path":"perovskite-sim/tests/integration/test_r1_physics_study_formal.py","route_id":"route-610fb0f8efee9d75","sha256":"22d7b524417f3f85024b94268eeb78ea4c29fc2073a7c78539c97a3a7c243d4b"}, +{"id":"file-f7d5083921c2c3b9","kind":"test_module","current_path":"perovskite-sim/tests/integration/test_r1_post_execution_qualification_v4.py","route_id":"route-03caadf7ad7f2d92","sha256":"e474c448ed1a73337c475acb7387ad9c5ac62374e61c7eeb2abbee0272e63bf7"}, +{"id":"file-2f2dff964df6d105","kind":"test_module","current_path":"perovskite-sim/tests/integration/test_r1_regular_independence_v4.py","route_id":"route-32b15e9cbf285e2c","sha256":"252d9aa0014d9364fec226a072b444740f0a4168fc374f6d4a52a8371caaa287"}, +{"id":"file-cfe2f316392c2437","kind":"test_module","current_path":"perovskite-sim/tests/integration/test_r1_regular_veto_v5.py","route_id":"route-faab836e590fa953","sha256":"8dd660ade366ac8d8a13c64cabffbb0e54b581bd2ecf5f6863fcf776db405aa6"}, +{"id":"file-5d6112d59233c35e","kind":"test_module","current_path":"perovskite-sim/tests/integration/test_r1_v3_historical_profiles.py","route_id":"route-2b3e66d845d3a910","sha256":"ed6b846f70ac38fedd1acc56f383896a5201418c5fd3c27f519051ce8793046f"}, +{"id":"file-a886d3b25286f8cd","kind":"test_module","current_path":"perovskite-sim/tests/integration/test_r1_v3_persistence_boundaries.py","route_id":"route-3cdf12f015f9adda","sha256":"c334ba0e0e346d0a07ffb626dac864c7bc7854f8604eabc35703583d28fc9011"}, +{"id":"file-3fb82e1dfdfa52bd","kind":"test_module","current_path":"perovskite-sim/tests/integration/test_r1_v3_record_boundaries.py","route_id":"route-269a6e457ca88b7a","sha256":"8cdd86f432c5bc1bc3585203bf04d127034593de8c0ad551cc1c4690990d87fd"}, +{"id":"file-c5e2823075a8788e","kind":"test_module","current_path":"perovskite-sim/tests/integration/test_r1_v3_study_failure_replay.py","route_id":"route-bc04c3d2d1766c6d","sha256":"5daeb4557a30ac3dd8478812c984a260fb758278758b41a20d244f5a83cb51da"}, +{"id":"file-3d950e3fdfaf02f1","kind":"test_module","current_path":"perovskite-sim/tests/integration/test_r1_v4_historical_evidence.py","route_id":"route-25d697035fb1b5a4","sha256":"4ba17a0f0629217a13b90d0cc025304567a8c77e316e72285d1c8ee55a86cfa9"}, +{"id":"file-1fd86cb024e5e041","kind":"test_module","current_path":"perovskite-sim/tests/integration/test_r1_v7_precision.py","route_id":"route-cb29705493332c18","sha256":"f0be82bf8e124594cb0e808bbacd0bd0679846662449104ddd65b2446531cd66"}, +{"id":"file-0d49ba57b930ec76","kind":"test_module","current_path":"perovskite-sim/tests/integration/test_r1_v8_ablation.py","route_id":"route-0ade9a09fb09661f","sha256":"0fd4c810af45c56229c01f1d30d7e3c3d9e09f259c42a9c48b9f35f5882a024a"}, +{"id":"file-c0cd347f22328a93","kind":"test_module","current_path":"perovskite-sim/tests/integration/test_r1_v8_precision_evidence.py","route_id":"route-eb89d2a4fb5a081a","sha256":"77cc7149c7467b9299537158fcb3074db2878829f1be883a60349bb852e264f0"}, +{"id":"file-14516d6176795796","kind":"test_module","current_path":"perovskite-sim/tests/integration/test_r1_v8_replay.py","route_id":"route-4a94657e10eaf85f","sha256":"76b18eb62d88a5c92d78b9cfa6864918f73b2be1e1553496ef2f985f01ca5089"}, +{"id":"file-68150da71ecce395","kind":"test_module","current_path":"perovskite-sim/tests/integration/test_r1_v9_backend.py","route_id":"route-cc53d77ee1c6abe3","sha256":"47cac42bbbaa83ec7a912e0360e0c0921c46668a3a5a619f729b5f1b5c0709b1"}, +{"id":"file-af2643cc2a0cf37a","kind":"test_module","current_path":"perovskite-sim/tests/integration/test_regularization_device_ladders.py","route_id":"route-1ac131ce51967dfc","sha256":"d2d35e620165672e30d1607c7d3df0e34b8c4c1b457465404c736f369b1228a4"}, +{"id":"file-c4a69273675810df","kind":"test_module","current_path":"perovskite-sim/tests/integration/test_scaps_common_subset.py","route_id":"route-0439dfc949a49016","sha256":"6d17323fb102d6e0535d1d998c2921cfc01c0cd68800e0e0ccc909acc8a5579e"}, +{"id":"file-9a9df7f71c18c1b3","kind":"test_module","current_path":"perovskite-sim/tests/integration/test_scaps_mirror_baseline.py","route_id":"route-61e96604aa4c2a10","sha256":"0364f0c464bcef6173cbdc65feca58f7a6e3433c30efda0d04fb27683975ff19"}, +{"id":"file-dbaebe4e177d4b0a","kind":"test_module","current_path":"perovskite-sim/tests/integration/test_scaps_mirror_cbo_trend.py","route_id":"route-3af1b70058a60bb2","sha256":"b3fe147e70577ecc1c045fe76513fc1b53eb9f2f3d46d2784193628e4806e398"}, +{"id":"file-c6e383dce361ac12","kind":"test_module","current_path":"perovskite-sim/tests/integration/test_scaps_temperature_alignment.py","route_id":"route-2ed9627377fa4218","sha256":"c654d00bbf897219128b15b463712180a7c9f24565bad80feeedb7ef54abb638"}, +{"id":"file-bd2ebbcabfea0b60","kind":"test_module","current_path":"perovskite-sim/tests/integration/test_selective_contacts_integration.py","route_id":"route-53db46964c40816e","sha256":"d3db868783148639d1d2eef5fca92728cddee0880951beb08630dee2b0fa6208"}, +{"id":"file-04a554ea2db6e396","kind":"test_module","current_path":"perovskite-sim/tests/integration/test_spatially_graded_explicit_defects_qf.py","route_id":"route-7c9018435c0cda2c","sha256":"b22b39212ccdf1de8e4243078bb227ded7f498b2dad4c979620cd92ebaa4c7bf"}, +{"id":"file-58c41d0a6a1cdfcb","kind":"test_module","current_path":"perovskite-sim/tests/integration/test_substrate_stack.py","route_id":"route-23ba944fd493668b","sha256":"9604aba282f0727672dca6ad664ca0ead7ddfcf693882dff93a2022e11bdf345"}, +{"id":"file-a8be71f41320f2b1","kind":"test_module","current_path":"perovskite-sim/tests/integration/test_tandem_lin2019.py","route_id":"route-a174f9fa1758f45c","sha256":"050d91e5ada7f625d4e706f06793d140158f6b23ab4b6614c64cabf07eee68bb"}, +{"id":"file-b5ad4ea754b28b44","kind":"test_module","current_path":"perovskite-sim/tests/integration/test_temperature_trap.py","route_id":"route-4408458738f93a8b","sha256":"54b8e2a8c4d2f8d79d77f36fefec96cda6a975907cf999b92a1d5eb0a9893712"}, +{"id":"file-4be8978c3bc78824","kind":"test_module","current_path":"perovskite-sim/tests/integration/test_tiered_mode.py","route_id":"route-12e1985a1acf2714","sha256":"0372b4c0550980073bc5731ec23ddf399edb36f11ed5041c110c9884e45ff5d7"}, +{"id":"file-43299449259dbe83","kind":"test_module","current_path":"perovskite-sim/tests/integration/test_tmm_integration.py","route_id":"route-f16fd74f08686fa2","sha256":"50267f4f0771443c1cadb98a390a570781305a52f3922ad7dd562c74a95beae2"}, +{"id":"file-83d19e2a13cc5a4e","kind":"test_module","current_path":"perovskite-sim/tests/integration/test_tpv_open_circuit_refinement.py","route_id":"route-7ab03f31d5b1ed86","sha256":"ef6f29fc7d51ac6e3d036c869744ee81a837798164d3388cbfb0e31e118ebbc3"}, +{"id":"file-0b6740570ed6c913","kind":"test_module","current_path":"perovskite-sim/tests/integration/test_tunnelling_channels_device.py","route_id":"route-494eef5ee9e21e7d","sha256":"8b82c35f6f05f22b0eb00f1ec941e850ce1d52fe5f53c9d0907b957c7486d9b8"}, +{"id":"file-f4ef2ba84133277d","kind":"test_module","current_path":"perovskite-sim/tests/integration/test_twod_combined_refinement.py","route_id":"route-a4f83b68a7a648b3","sha256":"87a77097b4cdaacb47c0763f2e430306fe09f8e59939f2ef437a3d737f3720ee"}, +{"id":"file-40b75e743fb9d5a6","kind":"test_module","current_path":"perovskite-sim/tests/integration/test_twod_interface_srh_transient.py","route_id":"route-f2b454036480a9eb","sha256":"7e158366fc65e75948677bb05525019594835483a4bc951527cdf693e3894f07"}, +{"id":"file-72268c3f72b5bb58","kind":"test_module","current_path":"perovskite-sim/tests/integration/test_twod_mobile_ion_jv.py","route_id":"route-768dc092f73f0bc1","sha256":"6f34502f1573e5ee1aa7101d0d67fb2dcc3708ec54bf8a3e6aa95f5638a9964c"}, +{"id":"file-06bbdb5d19953f93","kind":"test_module","current_path":"perovskite-sim/tests/integration/test_twod_mobile_ion_transient.py","route_id":"route-87a3e6b1fdf96537","sha256":"52ae48f5f2ecb4e1b32ffbd410424c92dc9865f5d19722e6120fa5ffbeccb2ec"}, +{"id":"file-165b59792521440c","kind":"test_module","current_path":"perovskite-sim/tests/integration/test_voc_benchmark.py","route_id":"route-ac9c5e6a72396ed3","sha256":"3beab1132c1ecdff8147e24060b062faf2a5ff8a9b9bf53bc40dc89d79d82737"}, +{"id":"file-469c9b2176ee0f8c","kind":"test_module","current_path":"perovskite-sim/tests/integration/twod/__init__.py","route_id":"route-0bcf53dc64c6f9d2","sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"}, +{"id":"file-3b9f5364b7c8b271","kind":"test_module","current_path":"perovskite-sim/tests/integration/twod/test_jv_sweep_2d_microstructure.py","route_id":"route-c9579d64266782a1","sha256":"c91c91e4e2e7bc70135cf21df42c0a856514298df2e09e12cee841c506502fae"}, +{"id":"file-37223589fd34d622","kind":"test_module","current_path":"perovskite-sim/tests/integration/twod/test_jv_sweep_2d_uniform.py","route_id":"route-23fd8718bd77762a","sha256":"cda4f9df2fb77fcbde57cafb1affa0504f125fd040db4307ab2afb214ae7c214"}, +{"id":"file-d1c3344ad119290e","kind":"test_module","current_path":"perovskite-sim/tests/integration/twod/test_voc_grain_sweep.py","route_id":"route-52dda4e7146987a1","sha256":"e5280f07361420e4be1e334bdb66df981347f8af7b0ee4637525e7bb444af21c"}, +{"id":"file-4871d32e6b119308","kind":"test_module","current_path":"perovskite-sim/tests/regression/__init__.py","route_id":"route-64c621136cfef119","sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"}, +{"id":"file-39d0b6e7a0433bf7","kind":"test_module","current_path":"perovskite-sim/tests/regression/test_conservation.py","route_id":"route-66967ea8f7ab23f5","sha256":"d89a189aa9e9a56dd3c3aec0f48a941f4bbed62e106b6bd000515416ce723bc0"}, +{"id":"file-091b4501779b3f36","kind":"test_module","current_path":"perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py","route_id":"route-dbb0aa115a1d4a9c","sha256":"e7de07eceed77c4356a758d317baf9996a9f97c1db5368a1c04e8cc7caf65ebd"}, +{"id":"file-c656f4725732b216","kind":"test_module","current_path":"perovskite-sim/tests/regression/test_csi_generic_state_cancellation.py","route_id":"route-14d178f38457e0fb","sha256":"817a5afa9c60e4c01e622567661c7b988cc579701408a9724a75fceef6c06589"}, +{"id":"file-4d9b7ed2e1a7e4c2","kind":"test_module","current_path":"perovskite-sim/tests/regression/test_csi_grid_envelope.py","route_id":"route-8ac3157f4f457483","sha256":"6afedf5488fb7c1826cbd02ca0e04982598a72312ec00f3dba6e0899dab09c99"}, +{"id":"file-da0fd2a66c624d5a","kind":"test_module","current_path":"perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py","route_id":"route-5f30ea99440df61c","sha256":"732d2dc3ea15d875bfcca226cc36532b5f464597a3c78917a48dcedc3593d0a1"}, +{"id":"file-03251f34b406c009","kind":"test_module","current_path":"perovskite-sim/tests/regression/test_grading_cigs_notch.py","route_id":"route-8680740070b5338b","sha256":"7c3b101ef973cfab53e8c4c4bfb2c38a64ed5a5c91d529e83fae21ec0920efc0"}, +{"id":"file-6e168a7d4c8270b1","kind":"test_module","current_path":"perovskite-sim/tests/regression/test_interface_balance_ridge.py","route_id":"route-f65500ec718569c5","sha256":"cbd17325a15feb1d8b5b4a3ec6e8f9942866e9d74779b3ba214d6ace070146b7"}, +{"id":"file-2aa03f874da28e37","kind":"test_module","current_path":"perovskite-sim/tests/regression/test_interface_srv_grid_reference.py","route_id":"route-6971251d936c9c6f","sha256":"c5ce6ca1455bdf4d67ced38bbc7a23c6f1ccd575ba1e04652bd0d35aa5efb0a2"}, +{"id":"file-ffe1d55eb85f5b31","kind":"test_module","current_path":"perovskite-sim/tests/regression/test_jv_regression.py","route_id":"route-f543a782fcbd1137","sha256":"9d479f3d5044c67307d7d2d880f9d203586619ec69df63750d31780dc3a35261"}, +{"id":"file-05cd3cbc3650c930","kind":"test_module","current_path":"perovskite-sim/tests/regression/test_mesh_convergence.py","route_id":"route-029e5b8b0f40fcb9","sha256":"1f82b82527137b61a34b55e371ef727d606dfa070cfd734d1574db5ff44fe9b9"}, +{"id":"file-992f4692ce71466d","kind":"test_module","current_path":"perovskite-sim/tests/regression/test_p1_steady_state_mesh_convergence.py","route_id":"route-7d06c5aa1467192b","sha256":"956a52da2a10e93fc90acae028e2dfa2214082000dbe7e343f75de769282a30a"}, +{"id":"file-1801189d3ce133bb","kind":"test_module","current_path":"perovskite-sim/tests/regression/test_per_step_conservation.py","route_id":"route-3ac2cd307a82b814","sha256":"1521ed1930eed02997c289b5a07a042397f8bd38fb2b54c5190dede229453578"}, +{"id":"file-835e2a0a6f24fbef","kind":"test_module","current_path":"perovskite-sim/tests/regression/test_photon_recycling_voc.py","route_id":"route-347a91250e0b7249","sha256":"8c5e4f24b7f3a3ede3dbcf147f508178b53e120e91f9c8b793141958974077e9"}, +{"id":"file-6a9e6d4365c0e80c","kind":"test_module","current_path":"perovskite-sim/tests/regression/test_physical_bounds.py","route_id":"route-4e49af8e8cd639e0","sha256":"1cad087675be8ec732df44493eabbcce07754cdca1db1fe82ca845b563ead59a"}, +{"id":"file-9e4568ed62cb6073","kind":"test_module","current_path":"perovskite-sim/tests/regression/test_pn_junction_analytic.py","route_id":"route-f7600c20a51f2a98","sha256":"fc675094601453217995f8b05986353dcb9ebf3b32c4ee56443689958e140fd4"}, +{"id":"file-c8e92427a8381f1b","kind":"test_module","current_path":"perovskite-sim/tests/regression/test_radiative_reabsorption.py","route_id":"route-b513005e4ad7a215","sha256":"baacc842c782b5497f2b7af08480b65e01c66c444d4efae4c7ed9c158c90d48d"}, +{"id":"file-cdbde8f01a82bac0","kind":"test_module","current_path":"perovskite-sim/tests/regression/test_ss_current_conservation.py","route_id":"route-bec6cada31521ebb","sha256":"98ce1371cde14bb35e4770d884604916f23b8304648785aae771e4c630bfd3df"}, +{"id":"file-fe2987cf15cca7a7","kind":"test_module","current_path":"perovskite-sim/tests/regression/test_symmetry.py","route_id":"route-0e225cca7ad695f3","sha256":"5451378f4a1c99b8c78cb168f1bf0ee10344c0e2c57b18d81fd29a4a52acf466"}, +{"id":"file-cb5f28db593646b1","kind":"test_module","current_path":"perovskite-sim/tests/regression/test_tier_regression.py","route_id":"route-194bf44acf56c8a9","sha256":"ea64b3935ed25acf7a8a68a89fa63e4f241c3da5ae8cc9225505faed8dace7bc"}, +{"id":"file-95efa8d734fe7098","kind":"test_module","current_path":"perovskite-sim/tests/regression/test_tmm_baseline.py","route_id":"route-72ce1cb2cad2c1b6","sha256":"70d6dc28667ff97ad787327a8800d954bdb0c4de56d9f8d40e45910f3cf9fe46"}, +{"id":"file-a4685d8396309c16","kind":"test_module","current_path":"perovskite-sim/tests/regression/test_tmm_photon_conservation.py","route_id":"route-3ae06ebe1212a62a","sha256":"2e3107cba4cddb0f644d490b45c4b0cdf9e3dfdbbdab8ca14851af5e530a1889"}, +{"id":"file-c954656372e5032e","kind":"test_module","current_path":"perovskite-sim/tests/regression/test_tolerance_grid_refinement.py","route_id":"route-0ced7d59e4531b29","sha256":"1315df4db5dc09beebe293629e042406ff56c701491ef9ec567229a35c223995"}, +{"id":"file-403bd13deac9758d","kind":"test_module","current_path":"perovskite-sim/tests/regression/test_twod_interface_srh_parity.py","route_id":"route-3b43609303b6f777","sha256":"c1aa910dc0b170bff944160d7226f027c80e01af8871cc7615c6d8ebe9208698"}, +{"id":"file-85853777468d1e89","kind":"test_module","current_path":"perovskite-sim/tests/regression/test_twod_microstructure.py","route_id":"route-552632e73fa668a7","sha256":"24b763f3de994d185a540ed9f3160f9ad99328b7ce14467c5067ddbb0952c28c"}, +{"id":"file-a18b18bbfc591f7d","kind":"test_module","current_path":"perovskite-sim/tests/regression/test_twod_validation.py","route_id":"route-e11dbb007279157c","sha256":"ad80439a36fe05704b8a8c6120452bafe84a071437a7fb120e6b348201886ccd"}, +{"id":"file-14066c452c3bc9fb","kind":"test_module","current_path":"perovskite-sim/tests/reproducibility/test_matrix.py","route_id":"route-37061a3f3e85e9e9","sha256":"8fdf0c4a63a8cd28be91002090a8357c49ed0b483f3dad1ecfe0c4dd07ae2498"}, +{"id":"file-aae3908d3d6d2fb1","kind":"test_module","current_path":"perovskite-sim/tests/reproducibility/test_research_presets.py","route_id":"route-a9aa16def82e0870","sha256":"a4633886fcf2c8dac65ea9420ee67e20f64174cc95fceb03241299911206fa5c"}, +{"id":"file-aa2f3d58552bac88","kind":"test_module","current_path":"perovskite-sim/tests/unit/__init__.py","route_id":"route-600cc44a4230a957","sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"}, +{"id":"file-d058d4d2acad22ff","kind":"test_module","current_path":"perovskite-sim/tests/unit/backend/__init__.py","route_id":"route-0da4b9f7db152cbb","sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"}, +{"id":"file-a5defd53568c76eb","kind":"test_module","current_path":"perovskite-sim/tests/unit/backend/test_active_physics.py","route_id":"route-1d4063e6ebc7f9f8","sha256":"de1cb0c93a4a9f70a1fb60206261b9717d0b8bc37ad4da4f36cde0ca6ea38c9a"}, +{"id":"file-0bdf6de291837723","kind":"test_module","current_path":"perovskite-sim/tests/unit/backend/test_built_in_potential_config.py","route_id":"route-9263291ada605711","sha256":"58341e8ba0ddc9f2486a1cf272a2be5aa2bc7bd8318faf4ddfad68b4dda97f90"}, +{"id":"file-91f021f9fb861cc7","kind":"test_module","current_path":"perovskite-sim/tests/unit/backend/test_cigs_graded_optics_config.py","route_id":"route-0f3e95d40023eeea","sha256":"61d38aa8ff28f0cebcd130e39bb675bb9909029583f3cfc2f615eca39b6d494b"}, +{"id":"file-d73239ac2ab47bbe","kind":"test_module","current_path":"perovskite-sim/tests/unit/backend/test_dynamic_defect_transient_api.py","route_id":"route-ae2d3995d135a011","sha256":"31ec444bc28c359f9009345048b379c98621c9fb80cfaacc4523c752ebd38d88"}, +{"id":"file-ce4f2563aea17e05","kind":"test_module","current_path":"perovskite-sim/tests/unit/backend/test_electrothermal_api.py","route_id":"route-10a8f75f1b56c8bd","sha256":"118ac9cd4ecac97d9d1a039a858618a0ca85982df4797c6f654a0ea76a6bbd06"}, +{"id":"file-8205b106cbb07e34","kind":"test_module","current_path":"perovskite-sim/tests/unit/backend/test_experiment_protocol_api.py","route_id":"route-d44a8919378a4d69","sha256":"8d6f3998d6db68d6b203ca14d78ab8a9f0d554e0986852aea43b760985aaf426"}, +{"id":"file-831c167580f3ccb2","kind":"test_module","current_path":"perovskite-sim/tests/unit/backend/test_external_circuit_api.py","route_id":"route-0b1c693cfcfb7db5","sha256":"ec6cf2ca000bd9e02fcdb6eb6afd881eba2764ab6be1e5372ae671e82c01186d"}, +{"id":"file-d296684f02672dec","kind":"test_module","current_path":"perovskite-sim/tests/unit/backend/test_identifiability_api.py","route_id":"route-c2673b0ffd287b1d","sha256":"08de6156a7d7714b0a9db39e78bf5d4fc80e21124f3aa76eee0e17e7a18b7b6c"}, +{"id":"file-fc6d6f58afec4bab","kind":"test_module","current_path":"perovskite-sim/tests/unit/backend/test_impedance_api.py","route_id":"route-ab227d5c9ada1aad","sha256":"e178719d2c86608034ef7d073782a2eb9be077f8d01188c3706735d35a30733a"}, +{"id":"file-4cee3d2b7b615bb0","kind":"test_module","current_path":"perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py","route_id":"route-76803f4bc08b09bc","sha256":"4ccbc045ce2d7c91f26d0a19024f515a34c80e7cb6ce92aa9c1e05cdd7ffda8e"}, +{"id":"file-5fd8d0a1fff64137","kind":"test_module","current_path":"perovskite-sim/tests/unit/backend/test_interface_charge_research_api.py","route_id":"route-550e7cb457462d2e","sha256":"aa29d05d1ad2a70af6e10e5b1aaee64739da3ec2b2719cbd3f013fc29045f44f"}, +{"id":"file-cca16605895439d3","kind":"test_module","current_path":"perovskite-sim/tests/unit/backend/test_jobs.py","route_id":"route-45912929ce87549f","sha256":"ccbfaf1500a3bd2c677397652ff1e715804341f1a350298fb27b14a392ac10a8"}, +{"id":"file-35ee807882c95785","kind":"test_module","current_path":"perovskite-sim/tests/unit/backend/test_progress.py","route_id":"route-823e1cc37d97ff94","sha256":"42f18fa34b7647d63e39ff97ccfa57c25898eac97332fd98a8b09488853bf2a6"}, +{"id":"file-6624b491a1d6b8ee","kind":"test_module","current_path":"perovskite-sim/tests/unit/backend/test_scaps_inline_config.py","route_id":"route-cff10d6274f166ad","sha256":"d5d75861c971404ba05e3526d3e3e9bc63e790d7846f7d7243446aaa41d03182"}, +{"id":"file-396466e3b1622552","kind":"test_module","current_path":"perovskite-sim/tests/unit/backend/test_solver_dispatch.py","route_id":"route-9521ef6731a5b9af","sha256":"9b255f0b3ef5f49727404817bd1fb711e0a448d57ca2db907b6a4cf6164b0556"}, +{"id":"file-4834f52ced316dff","kind":"test_module","current_path":"perovskite-sim/tests/unit/backend/test_twod_microstructure_preflight.py","route_id":"route-03229d4c0239cb3e","sha256":"0b2e97f213d9a254d2fb629c16e5c7c9cb15a9718b3dd984390423b9b7b2c86d"}, +{"id":"file-cdf5f30259522284","kind":"test_module","current_path":"perovskite-sim/tests/unit/backend/test_user_configs.py","route_id":"route-144305b8549e796a","sha256":"d07f8cbf7923131e9b1811f922f7e48a74e2de676554224455d418b0a2677f1e"}, +{"id":"file-d458d41b76b76806","kind":"test_module","current_path":"perovskite-sim/tests/unit/backend/test_waveform_jv_api.py","route_id":"route-f96c28d997c4fafd","sha256":"b0e248b8bfb405e56d52478b334dbebf6157e64936360b98cc6110f8ce40b4d5"}, +{"id":"file-7c0afbc80d5cabe9","kind":"test_module","current_path":"perovskite-sim/tests/unit/compat/test_numpy_compat.py","route_id":"route-bb20ba731ff7a118","sha256":"00b0df1dfe559186778dc99ad7dbf101c87aa2a81ebe71f26942a2c8dad7c28a"}, +{"id":"file-3e1ec2e04340db58","kind":"test_module","current_path":"perovskite-sim/tests/unit/discretization/__init__.py","route_id":"route-97f6327c44075933","sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"}, +{"id":"file-3457c314cd6bd1f8","kind":"test_module","current_path":"perovskite-sim/tests/unit/discretization/test_fe_operators.py","route_id":"route-3de01aa351d2d708","sha256":"d39e8e151f692cfc24945daa6b7210ef6cd7dfd2ac4e8cf170e31e371979f965"}, +{"id":"file-a2bb5116d34588f4","kind":"test_module","current_path":"perovskite-sim/tests/unit/discretization/test_grid.py","route_id":"route-aaf16067f8d56ea6","sha256":"d81117ede9676b287eb08dadfc5cc86605e22281ebe558996bff893c677f90b9"}, +{"id":"file-4b583caf688f7e4b","kind":"test_module","current_path":"perovskite-sim/tests/unit/discretization/test_thermionic.py","route_id":"route-dda09492496e6344","sha256":"7a9a9cf6d87d500645dedcfacbe183417b0ec447bfdaf6f679bfd3f554822efc"}, +{"id":"file-b4c2cd87b9842d3a","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/__init__.py","route_id":"route-fdcc9ef257c14dd2","sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"}, +{"id":"file-44cbc1bf4b8d34d1","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_band_diagram.py","route_id":"route-db5e6b2ebb202140","sha256":"2cf077f285c8487b58b06d02ee3b023ad6b0ea02a99d25236d9165ec30831a1f"}, +{"id":"file-f9d8c736910f7798","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_cbo_scan.py","route_id":"route-5012fe4b3425160e","sha256":"ba7c33e28a6e97e575080bfce488439284554b5b6daafcb8ac6689dd7a7171f4"}, +{"id":"file-4dcd41c79dfc5063","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_current_decomposition.py","route_id":"route-c295a2eeb48e56c1","sha256":"d74e1c1fd8e8a1f70dfb30c57cf6d56dbed07f2cc1cd9ea1db939e9dab8193e8"}, +{"id":"file-778a92ec3f9237fe","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_dark_jv.py","route_id":"route-51962cb9d9ae0593","sha256":"bbdf7339379a5d679cb04689502cde8488d34b8c4580baf637f25e67f351e303"}, +{"id":"file-4934e31bbbe54934","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_dark_jv_fit.py","route_id":"route-c3e3f6b6f7029819","sha256":"2325fc7fe58fa5c93b3b4da655a42392a6e577b4a9eef134bdbf43da129d7391"}, +{"id":"file-5e154c45e9aeca08","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_degradation.py","route_id":"route-16977ec6c383ab65","sha256":"50c02a6c6243fc7d31a7c6b069ff0c9aa2a5fb25ef38d7ac6e4318ec41469b24"}, +{"id":"file-e00aa2c00b0cbd78","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_degradation_frozen_ions.py","route_id":"route-6a14c98e1f097127","sha256":"f997629f8a5e79035e0f09bd40d9606b08988628e2af882fcb7d4c584039817e"}, +{"id":"file-ad724b59b1213707","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_dynamic_defect_impedance.py","route_id":"route-bd7280435384f514","sha256":"1ac676ee6d2da5a9af0713cb23041ce606dafa2754fc4aadbc97bfecb6963feb"}, +{"id":"file-51a9ecad5af91bb1","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_dynamic_defect_transient.py","route_id":"route-2cca08f36106a7c3","sha256":"dc8263f2c846fad445ed82e3890623740b4c9882568df5931e3f7d42434bab4f"}, +{"id":"file-9daee2ff58a6b4a9","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_el_spectrum.py","route_id":"route-3a7eb83a5fd09487","sha256":"03a8427d429352d499b6a1135a47dc013a1f0474877fc3ff5ab9e80a39b7a7d2"}, +{"id":"file-f60acd73e81e5846","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_electrothermal.py","route_id":"route-4a309d15f4824ab4","sha256":"10a5ffb63cc366d935c71efffa8146fe70eb0460e1bb914170a7c19f9fc55a7b"}, +{"id":"file-333cbba940f5c67a","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_eqe.py","route_id":"route-ddbf8f0a0745b544","sha256":"61c744b6a93f0b7d2f6513ee6b4bae7bfe9646dae1913d8dbd322b86a9411cb8"}, +{"id":"file-b20293e3b3c0ff3f","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_external_circuit.py","route_id":"route-7bdc3c221c9e3778","sha256":"fa8f89e63d332eb9b12e170e35ae76dfd3a4453d93d18e4fc6bd66149366585a"}, +{"id":"file-eb1a305eebcd5769","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_extract_calado_reference.py","route_id":"route-9b9989e09fc8bc3c","sha256":"d029497b22e3d623a3d918add2cb8880f89a5b9c20592f3a250ad31a0fd2bcd7"}, +{"id":"file-692d56df87451179","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_identifiability.py","route_id":"route-57cbce8db95ff81b","sha256":"df4a44f505aac24ea2afa7821d339612093765fa037f2567b52a12d333c0d346"}, +{"id":"file-81c67d7fc8f9fbdb","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_impedance.py","route_id":"route-b758b0b5ae69f2ca","sha256":"f582ca3c5a59e75fb7a317bc3b41d7fd6a84005f6983e5258f9f2c117cd5c7b1"}, +{"id":"file-736ea1275d853057","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_impedance_frequency.py","route_id":"route-64f36ae2f32af2e1","sha256":"d7c9bb27002c8b3136feea792ee535fda11db99c30931d366ca58dd3856e9c9d"}, +{"id":"file-74f5b764cda0edbf","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_impedance_randles.py","route_id":"route-e75fade07eb3a00c","sha256":"137c69712867e3acec7d9f5fdcd837c2f39204ec01a572d323bd4d331dd15ee1"}, +{"id":"file-708e7c57b4326557","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_impedance_sign.py","route_id":"route-0bd89b2604a6ea28","sha256":"84f71acabd61ade5a7fe70ec65ce09d7ba6a6c83a24f4a6053c4dee671eab81b"}, +{"id":"file-d5238fe8b6542b4c","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_import_scaps_cbo_reference.py","route_id":"route-05ab29e2a5705c35","sha256":"4c52c2237c8fe6ef0e73c7a2d4779b9b12ef41fa264414ce64c00f0c4181b2fa"}, +{"id":"file-2f33cd4e88efab77","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py","route_id":"route-9375ac408e069055","sha256":"ed915eef1fa7f63ee1b774fd798e1cadcbdb5afb45707be6c1af46328eb7521f"}, +{"id":"file-1734e2390a942a31","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_ion_aware_dc.py","route_id":"route-52223eac0528eb60","sha256":"34b3f45dfc73e5e3e883afcdb4cedb3348c376a9db3d7e5faa0a654cc94d96c9"}, +{"id":"file-70d125c69d6c69d5","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_ion_aware_displacement_increment.py","route_id":"route-6f43995afe15b616","sha256":"55abd3e4aed33b73d0a68e27e6c37382cad7c7ae4871368a909f56717ecdc5a3"}, +{"id":"file-b101658e84bf3ee6","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_ion_aware_impedance.py","route_id":"route-28d8492e01556cd1","sha256":"349f4f5b6b0377d70a8f403c7648a31914696900fe3d13d6292c78bff5c784a6"}, +{"id":"file-00bb06f495190b64","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_grid.py","route_id":"route-62485f3dc3e96a24","sha256":"84d734f361e088c51bf9fbc34e0f3bbbff9b7c657a3ac9ddfba821c98db8454e"}, +{"id":"file-07e576763eefe18f","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py","route_id":"route-48ccdcabe48a8474","sha256":"75e96a3b70cfc8283c818e3dd8e5138da09cc09ab89ef07427f8e2b3b2581775"}, +{"id":"file-a2840271adf2d549","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py","route_id":"route-b4bcd49ee6e15d75","sha256":"0e90fabbfb9954cf9fab9ca1bd9241f63cab2878863f2c09972cd1684dbe853c"}, +{"id":"file-78a40f955d22a9fb","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_jv_branch_rejection.py","route_id":"route-c4f76452109550bc","sha256":"1122ff99d18970dc131047f0001774ae4ae07e04ee7591aaaee1550720238d47"}, +{"id":"file-9c5496e5b3461792","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_jv_driver_capability.py","route_id":"route-e80cf2912dbb511c","sha256":"caeb2914f4e61f3c3d247da985d2144cdc927e546ffa4693588623638ca97acd"}, +{"id":"file-2235215923728ac8","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_jv_sweep.py","route_id":"route-1f3df426da9bd021","sha256":"de0a6bffd78f2da8612cd2f28c5b0a32c7735373a0269f0470976da5c3122f9e"}, +{"id":"file-b3d64341f1d66674","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_jv_time_origin_reset.py","route_id":"route-cdb3ce851bee00bc","sha256":"8b6bb5230aaa12d5df6acaffef961964b8bcb4d1fdc01cad3b6a114ab6ddc133"}, +{"id":"file-8d5e7682e420ef86","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_jv_vmax.py","route_id":"route-0c872aca47c1d51f","sha256":"81ceae8a758e8060d9fb4c33017c2f657805d156f5cc05950880d4a0af6fe5d5"}, +{"id":"file-2125e151ebac40a9","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_mott_schottky.py","route_id":"route-9e5bf96ecd310ec7","sha256":"6c1d5fe750002a0c53345cb1b7d4d4bdfedb4879a20ad37948f3f0819a244e7b"}, +{"id":"file-2744224c2164e999","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_one_dimensional_mechanism_r1_admittance.py","route_id":"route-6c5d4e2e1de0148b","sha256":"509cf9bb738d3ef6a07e37e148fce13b4fd78a06888e0b0be93e1ecfdea89d5e"}, +{"id":"file-cfdee5db7dfd80f2","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_one_dimensional_mechanism_r1_checkout.py","route_id":"route-6f5f29b21bdb01e3","sha256":"301bff73830b6bf95ea0282e52a2ba8e73cfb3dd6c6d0ab0de679a39821f9f86"}, +{"id":"file-24a33e6514f2ae88","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_one_dimensional_mechanism_r1_controlled.py","route_id":"route-226cd94e09de71d7","sha256":"22067db0d624e6af5125a79bf2601dff7e9abfdb8257a2ea7e3f4534c622bf9e"}, +{"id":"file-4909f2875b50986e","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_one_dimensional_mechanism_r1_convergence.py","route_id":"route-37286bcc82ce7016","sha256":"29fea2880d914e49e9b42931f636beaabeca242e533e52669319ae93ea31de04"}, +{"id":"file-d7e1ae810a62523c","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_one_dimensional_mechanism_r1_evidence.py","route_id":"route-4e5d81ea927e27b6","sha256":"59fd02d4a84208bfad4900a0be7e4fe99e8397ca23f4f5bdd670c7794e6fbe37"}, +{"id":"file-6b62d648d1256fcb","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_one_dimensional_mechanism_r1_evidence_boundary.py","route_id":"route-e38797027cce6dca","sha256":"6afd48c9437e8d89ababf276ad762993d37b172e4691ef798154c3c749014f01"}, +{"id":"file-2355b0137bfb9eb9","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_one_dimensional_mechanism_r1_evidence_revision_five.py","route_id":"route-75df38e2f5650b32","sha256":"fe51aef1e202257c7255f3bb2cd2dd0e92d126526437164fe8f5a8b5eda60429"}, +{"id":"file-14f918b4f592499b","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_one_dimensional_mechanism_r1_evidence_revision_four.py","route_id":"route-1e77417dd8b4356f","sha256":"16c9e58f391dbcee4d598f980f881f93c893cf9caa0bae71e2754add281218f8"}, +{"id":"file-c4a8aa6bf085b24a","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_one_dimensional_mechanism_r1_evidence_revision_six.py","route_id":"route-d3b0eb0cabd17dbd","sha256":"f693064e28ee0d16e7bd047d0e9c76d616e63226b9a486f172dd01fc0e4810bf"}, +{"id":"file-9f590947ceeaae19","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_one_dimensional_mechanism_r1_evidence_revision_three.py","route_id":"route-d433fdc004096e19","sha256":"f5a95d962d9215e8d0986461bc369d647d627bcda2565179d48603cb2cb2be23"}, +{"id":"file-10a0f7eba1ebef39","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_one_dimensional_mechanism_r1_execution_axes.py","route_id":"route-97eb85a41f20e5c8","sha256":"b1ea210bca7d7f016eee38ebee13061d431ba8bc402151d06105ce60ace0cae3"}, +{"id":"file-a2a8444555af3d84","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_one_dimensional_mechanism_r1_execution_validation.py","route_id":"route-c7e1702e684e8dc5","sha256":"46de9bee3cdc612e62ab46f93bd87f8b0f08b17484ec044e29b19d11f3fde6ec"}, +{"id":"file-2564a30d23912a61","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_one_dimensional_mechanism_r1_failure_registry.py","route_id":"route-1e09883900c7e610","sha256":"ef74da28212f261b699f018a50267c3108d8bad1313e03fa0fab78131ce78197"}, +{"id":"file-a6640bbaeea2c97d","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_one_dimensional_mechanism_r1_failure_registry_v2.py","route_id":"route-a97c392db75b97a1","sha256":"a8a17a6c8585b23b4d98e8b3a1fd4a4d6af924202397903d899425f86049b3fa"}, +{"id":"file-ee13a50bb67752b4","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_one_dimensional_mechanism_r1_geometry.py","route_id":"route-e3f47122a041d70c","sha256":"0372ab93b89e719bfeba1b874b38c5e646afabdc979551fbc369f14ae0c40980"}, +{"id":"file-e2bc8e21ea0dbe42","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_one_dimensional_mechanism_r1_physics_study.py","route_id":"route-46970daabcca4458","sha256":"9f2ffb6d854f5f01275eb96c9a89d29ded5627c77dc5bd581a2d49c362129072"}, +{"id":"file-d07a29e964ce75d5","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_one_dimensional_mechanism_r1_preparation_chain.py","route_id":"route-a5c03910b7c3c772","sha256":"f2071675272075dfa4037c791b78d6250930509b97ce1ce17ee770461da87d72"}, +{"id":"file-b5248b4b7f2ca8e3","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_one_dimensional_mechanism_r1_preparation_recompute.py","route_id":"route-f903679ec603dcde","sha256":"f0907c55d8a4a400994d43264cfc2c403e86021660ef742056fa7803699bffd3"}, +{"id":"file-4b921f6df12fd30b","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_one_dimensional_mechanism_r1_response.py","route_id":"route-af417531e285bf7b","sha256":"e7f42f103ac8c61bf0401e0345f5d54ae7a45a6d442f4376204a9c59e862811e"}, +{"id":"file-f64c6d871dd00dda","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_one_dimensional_mechanism_r1_result_validation.py","route_id":"route-c2d8b45d94be52fa","sha256":"ae1d0ff85d3c741ee034a961d118afeee9ddcfef8660187e4039add4eb914811"}, +{"id":"file-8008b507428ae582","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_one_dimensional_mechanism_r1_spatial.py","route_id":"route-d0b59d7d40439722","sha256":"adbdb5beca05df4f869ace239e21c44b877a4893a2d402c3d179f4099b210654"}, +{"id":"file-3fadfc49a35b5370","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_one_dimensional_mechanism_r1_stage_one_cli.py","route_id":"route-63808dfa0ded0ec3","sha256":"d90bc4adaa6e01d979357ea4ba00e3c45d14611972d565fca473a09a47588b8a"}, +{"id":"file-5c9e6fd5dd83bf6b","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_one_dimensional_mechanism_r1_state.py","route_id":"route-fd15b3af915083e4","sha256":"8d126469f525790c43c669c941316715fe4a577b4b043f5f1f81cef573e44646"}, +{"id":"file-b111a32c777d5e2d","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_one_dimensional_mechanism_r1_study_response.py","route_id":"route-95862017a0ec50a5","sha256":"8ee98089175e00c7d5e11bfa1afa8946e96b41308aeb6119a1d75e841dc53310"}, +{"id":"file-cc873d24ec4c383f","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_one_dimensional_mechanism_r1_trap_storage.py","route_id":"route-0fe1c33c215695c8","sha256":"81ecfe86a7c143688a1a6961ba84cc0a6b82f74cd6c37fd2d6483edb7a5531ac"}, +{"id":"file-86d04c85307b204b","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_open_circuit.py","route_id":"route-9c7084bec101f114","sha256":"57dbea51ea7abcd3555ac44a0c0a2057da274bd9b28567f03fc04c8c6a0bde6e"}, +{"id":"file-b6b4978cda2c96bb","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_plot_calado_fig1f.py","route_id":"route-3f87bf5ac3f90a8e","sha256":"f9609aef227c2b4dc4a50b2710f2711fa34def8743699a210a3d9e590c28b738"}, +{"id":"file-cb72c95d43afd150","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_plot_calado_fig1f_scan_rate.py","route_id":"route-a90735d8a542f98e","sha256":"ca66c0d568a51ff6bbccdd4578af2a56eb5346d59d44a7bfb2a5cb432c76f5a8"}, +{"id":"file-1deccde993e88408","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_probe_calado_optical_inputs.py","route_id":"route-ded76a1543b48a3c","sha256":"056249cbdd4fa03fc6f688a92287dfdff6049a8a1aee68500bad7f814811b12b"}, +{"id":"file-2decedcafde1a969","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_probe_calado_paper_alignment.py","route_id":"route-585052475e0e0c6c","sha256":"ecacf54c7edfcf545316bca4c4fa7a8ba0ca01cbda172edf038deed1764a0231"}, +{"id":"file-a7331c7563e34f7c","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_progress_callbacks.py","route_id":"route-3c8b8a2a9af448b9","sha256":"a32a3f8c1983963556988f6e9716620bd18cec78719918c0d1f86a9491261242"}, +{"id":"file-90d4f8c257032b9a","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_protocol.py","route_id":"route-46e567b23f1c803c","sha256":"6da58737e6d9773eaffc4b60f7d6029908d213ac5dec4e8f9f3ac573b1534ce9"}, +{"id":"file-0652cf3e3f765917","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py","route_id":"route-91b8bb746585f554","sha256":"c051719cd0e25ed9a851ef4a0369c2bc9a4d9eddff71997ea3b081090066457a"}, +{"id":"file-ebdb10d5fd849277","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_r1_baseline_direction.py","route_id":"route-b040b0af166e3f44","sha256":"9cdaf60a8f6329b1a276d548eafb191528c3b544435835fcba0c35a5bd4c7cd8"}, +{"id":"file-99090c16c99642f9","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_r1_baseline_electrostatics.py","route_id":"route-1c0c753dd39a42fe","sha256":"33d28f2e23d5b5f7670e667f72ae828c901852c2d3b654895a452faa6fd0bdba"}, +{"id":"file-858ac00f21d84aeb","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_r1_baseline_initial.py","route_id":"route-81b82b5e565b5bbb","sha256":"0a1f05176a3a08402dce35ee687f3b5a1dc55dd6ee89c3b33875a7ba230c5273"}, +{"id":"file-4213fd48c1d6c35a","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_r1_baseline_ion_transport.py","route_id":"route-12ffc0c953de6f97","sha256":"facfe2bfe7abde55afde0168be26c8b1d646830300c7849344e095fa14dde9b0"}, +{"id":"file-8f15da434a4ec95b","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_r1_bulk_density_map.py","route_id":"route-802b53d7baa6fb3b","sha256":"faa4cb6e782baaa8e8bcf4b8f6312b8386901beebbb86ffc52f0467283500c67"}, +{"id":"file-0f7292667f1f7ff7","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_r1_c_independent_regressions_v4.py","route_id":"route-4d3f941800ac8375","sha256":"29c4494acafc15d4c02d0981099c54358e13731af1dabbb9e7a7484e24ae5fd4"}, +{"id":"file-9f2d5caafdda71ec","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_r1_contact_closure.py","route_id":"route-3f55dd7ed3c3b128","sha256":"49c8f68eb982e16bf5071794874220e5b6e3d77cc05f5c4499e006bb32152971"}, +{"id":"file-b6f7ddc17dfb4dd8","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_r1_current_response_construction_v3.py","route_id":"route-09ff029b3b136ca2","sha256":"f41f0f013c3f044c964cfdeee56c278066754d545e18dec1a5ab36554421c082"}, +{"id":"file-12653778664edb5e","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_r1_evidence_boundaries_v5.py","route_id":"route-bb9eaa9fbf0c66b7","sha256":"149a078d6543e2dfc1cfbe89f67ea25838a6dec9480241c12ea192a54b908b51"}, +{"id":"file-0047cb76b5b74b8f","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_r1_execution_standard_v5.py","route_id":"route-11a3b12308172e73","sha256":"4db989559d7b996569c1df787fb3d88da3e8f7f39e26b582a0a687b4484cd839"}, +{"id":"file-30f79092e2772541","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_r1_global_reference.py","route_id":"route-2e02510277ac2487","sha256":"ae48a8fee862f050990ee7217d542c923a04f1c9c035f196306c389958299d4d"}, +{"id":"file-f3bef79d1b3d764e","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_r1_independent_physics.py","route_id":"route-fdba576c5c69bfdd","sha256":"f5f4371731cf7ad3980b6f194812833709d22a53183e5248f6ef88e1d8173dff"}, +{"id":"file-ac327caa67d52db7","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_r1_initial_pair_invariants.py","route_id":"route-0755b4f69c6e6ded","sha256":"2b73f0eef1ef302a4d034d56911642e8bf9b82374f9636ab7cb4dd3de525db00"}, +{"id":"file-fd6e9231a32f3510","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_r1_input_lift.py","route_id":"route-871d545c6ee7165f","sha256":"e94e7ba4b9f998f97c2816615678e30b3eb6a6812f137e7693e2fdf8e92b2b18"}, +{"id":"file-33e4dc11fc49a82c","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_r1_input_lift_codec.py","route_id":"route-b9cddbc120a9dc1b","sha256":"f2f99c5952d43b36fab0335cc7e38400ccdc3b1c2ae5230ec231b783a96caae7"}, +{"id":"file-206d6c2e7c27a636","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_r1_input_lift_continuous.py","route_id":"route-34cbf4e9bcd1ec44","sha256":"1589d6389490161abbeee58bcdfd3f7b4bd8a58365a84c084c437014ea851d15"}, +{"id":"file-bec78e1d92034a8a","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_r1_input_lift_electrostatics.py","route_id":"route-e2bcee2ed716a68a","sha256":"f30fc98e95bc55b0862836616ac0d4496c018cbdb9cd09c77c1cb492ad423e48"}, +{"id":"file-dd628ee21455c23b","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_r1_input_lift_reference.py","route_id":"route-f3313c295b2b8b58","sha256":"69a3c84d78f688da4d34cddbb06295539956786ae3e90ca01322137b6406badb"}, +{"id":"file-ce7f48870c736ddc","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_r1_ion_precision_v6.py","route_id":"route-4d8662a7a43a4222","sha256":"8ab92c96ce67b878b0e7d46bb16fbfa4ca83f10a39a11378679ad448782af363"}, +{"id":"file-b777f473bfe055a4","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_r1_local_carrier.py","route_id":"route-530b598b8b78c216","sha256":"fd635796f7e6d74f880098af00776a07741d1e190f48ae35ab08b51752322968"}, +{"id":"file-9dde246e1c43e8c6","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_r1_numerical_recovery_v5.py","route_id":"route-9be6447d1b4edf76","sha256":"ac9811f35d5bda38471259ae82dc79b158dc1198c9207318522471535123909c"}, +{"id":"file-91b4e31c90328f13","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_r1_physics_boundaries_v4.py","route_id":"route-4b6222b5743ad706","sha256":"0d1395605b77015eaed1a2c19a7051b2903ca7a20037d20bf7444f50ef4144cc"}, +{"id":"file-f033ce5c9c22a9bb","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_r1_post_execution_request_v4.py","route_id":"route-a3a6bf7b8a226f8d","sha256":"d0abcfd81633a9b0534521906491cdd551e1003de761b6e898825683aa300ecb"}, +{"id":"file-42549eb7571c2a7b","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_r1_precision_state.py","route_id":"route-bf7f35e265a9e3ed","sha256":"0ddd20f9e3d6052f0614af1575aa93017c5d5a0878e7fa6d376a1741606f169d"}, +{"id":"file-9e4456d976d19bf6","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_r1_regular_gates_v5.py","route_id":"route-71a40329b4704208","sha256":"ece3a93eea0df2b1fe8e9043cd66a99163c4e7ee8542fe90260154c229d115ad"}, +{"id":"file-22fd63cc375a0ec0","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_r1_regular_independence_v4.py","route_id":"route-3bf649806f4dde49","sha256":"9669f40cbe106e39507df4a3dc7d1bc149b6d46dcb6c54737caa7642d8bed9c9"}, +{"id":"file-54b916724acdf49b","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_r1_replay_array_memory.py","route_id":"route-2ec737e8f83a1309","sha256":"11fac87c7d95914eedb140c965dd7bad716958fbdd5d6dccd9d67e382568558f"}, +{"id":"file-67e204252457b9d7","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_r1_replay_digest_observation.py","route_id":"route-9aa0c1c87b9c50b4","sha256":"0a19b6d7c32db0853e362743d29e9690a928c4fe17c1e1e1e46e1d1333e55edb"}, +{"id":"file-b3e2e89e236a5860","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_r1_response_qualification.py","route_id":"route-9b419ed02df65d5e","sha256":"904134885a3a150e3a0239e4e368737eef47d595acd3bc8bbfd553a43dd92476"}, +{"id":"file-5e5afa060569c9cb","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_r1_response_regressions_v3.py","route_id":"route-f9ceb95c6d56b8d2","sha256":"8563dce489bd16b53aef73b8ff589eae06e4436c9db80a7a09b344eb64f9b5fa"}, +{"id":"file-6b981817fd8c744e","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_r1_runner_qualification_v3.py","route_id":"route-43a70d06d37fd981","sha256":"e05583ff759effdeb57963781f9d5063bd2f4b452b4bec499268f3df7354d28e"}, +{"id":"file-6a747e13e7d25bff","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_r1_streaming_digest.py","route_id":"route-ba8eca70bbcfd845","sha256":"728f6a8f714b8272b39de815a8516529989411517bdabafdbba3237a25f8bb0b"}, +{"id":"file-ded13a768092cf52","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_r1_study_external_request.py","route_id":"route-2db125a60db75463","sha256":"333e8a9337a7101c52abe8e997dc1e5d23004b07af9e0f64b1ebb01f9e66bd2c"}, +{"id":"file-6f730bad1862a7d2","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_r1_study_finest_criteria.py","route_id":"route-49bd02134c8eb889","sha256":"e80b9d9f0abc10405f9f13a5109319077ad2e3e706d33ffc22ac843b218ddcf8"}, +{"id":"file-6541df4cff86b06c","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_r1_v10_cases.py","route_id":"route-1df6c27f876b572b","sha256":"cebd981022836f769083e6421db55298d6f84c222f1affb1c760c6d188ea79b5"}, +{"id":"file-0959623ba0fef0eb","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_r1_v10_extent.py","route_id":"route-5a1d734dad99af43","sha256":"a43ea0e6c9981cd8bbcdc64eac04b0bfcb55da8f62cb2c83a3e089d5438dafbf"}, +{"id":"file-215dd3d97db88553","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_r1_v11_cases.py","route_id":"route-31c3b2b43af7b73f","sha256":"5d899b65f47dfcad34387357a67b437117a23c7d07cd9f6530cba22747faa565"}, +{"id":"file-0324956388473ff7","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_r1_v11_response.py","route_id":"route-aaf7880089af8c55","sha256":"22d9aca4f970916ef2c388c641e69a0c673e154548729d5010769eee7478e737"}, +{"id":"file-83bc907ff686cdd0","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_r1_v11_spatial.py","route_id":"route-9ba73df1aeef5703","sha256":"33ae7aaaf2e48b446973cba0d1f344421cd507ef2ca78552ec618db872f3d469"}, +{"id":"file-9173f7563245295d","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_r1_v11_study_consumers.py","route_id":"route-b2ae669562018348","sha256":"21db125cb6fbaab62817a912b7fc9f1884ccc18141700e92a4650b4d159dd5ba"}, +{"id":"file-be4c0d86e16ca36e","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_r1_v12_cases.py","route_id":"route-aa656ebba5368793","sha256":"39e361b7e0b6b2a5a8aa2590b0801bbb9f7cc3714d039d85a335cda7e9aaca40"}, +{"id":"file-e01fbac9c2377136","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_r1_v12_current_closure.py","route_id":"route-27c2a53c205b964b","sha256":"ea2e1975accfa332a02cf3856fd1931a25426b34710326c9077f51f8849224f4"}, +{"id":"file-f55d5e04af6be3b4","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_r1_v16_memory.py","route_id":"route-dc4fd87d1faaf08b","sha256":"7ab8eeb7a93f87d81e48cfa04ddd832397bb769e53be8487371c3a055698e24e"}, +{"id":"file-39bcaaed9901fb67","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_r1_v16_runner_observation.py","route_id":"route-5b15990fab5eb0dc","sha256":"6620ab5a3ee27f18e822de743e8144977c8a8ae8458d2a9a4bb48a128cde8143"}, +{"id":"file-928902d0b695e18e","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_r1_v18_row_lifetime.py","route_id":"route-cce0f7e11acce334","sha256":"1b906e1c2e4f9a9ceb37645c9043e27ac8f3f4adeda006a15e3ce7024446b6cc"}, +{"id":"file-3903ccc6923349d2","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_r1_v19_analysis_observation.py","route_id":"route-aeb15a436c1f78bf","sha256":"b2e83fa6696ccbca393a05ee5a5f8cf91c129dafc75864fff44cfb6b336f6fc4"}, +{"id":"file-ce8a8567f8f81ba2","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_r1_v19_tail_observation.py","route_id":"route-54b944fb5fccb444","sha256":"6198fb366e1f4b7773e15873b59c3e5e4bceddda203b2bec70fc0c813235ffed"}, +{"id":"file-ce1031ffa279f525","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_r1_v23_json_writer.py","route_id":"route-183992084ccd7d7b","sha256":"a2fa0373d18a4e4776f80049a395c0bae86e59f641f4c1a988c17050f64a88d4"}, +{"id":"file-a34f30c162c0175c","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_r1_v23_storage_integration.py","route_id":"route-480dd8399800c0c6","sha256":"b9a7b56df3a95157e47a1649a5c490a3304e6b5ffb61b7543723a85cc13bfc15"}, +{"id":"file-0df5221bbdaaba10","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_r1_v3_evidence_policy.py","route_id":"route-1eec676d6b0e2a2d","sha256":"2a604d4de3acc9243da82e108780e80b52c60939da3b9b407fd0896f4e467413"}, +{"id":"file-5ea8bda12be505ff","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_r1_v4_failure_witness.py","route_id":"route-7b48f4b89ed68b7b","sha256":"7365fb7a44678b6060a586a2305f5060196c0048927002d15cfeeafd82938083"}, +{"id":"file-467bfd090b8b36d8","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_r1_v4_run_record.py","route_id":"route-b8259aacd1773907","sha256":"aaff70e7d37b4eeb5c49a1c9952ddc2afdb45a9b236e116d61b3d952c56e437e"}, +{"id":"file-369f598bc263dafd","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_r1_v4_source_dependencies.py","route_id":"route-f2dda2533afd5b64","sha256":"ebc115f0b5ff1c074bcb92ff9329deb46e541fa580041075a9122a8d6505103f"}, +{"id":"file-6b1deee655470286","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_r1_v4_standard.py","route_id":"route-7d4771ba3035b1dd","sha256":"8638c18ba99242cf4d2307c1352b43df4e4a6e08a2afba72bfaccf4c6cd3b217"}, +{"id":"file-9ec2125157ebf3d8","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_r1_v5_case_runner.py","route_id":"route-c74ad5796c8c2c67","sha256":"7f183325c4ac8c92ee5842c29de234a403aa6e00d85e3d4d1818abc3666ef41b"}, +{"id":"file-1c4574639c67e092","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_r1_v5_response_tool.py","route_id":"route-0ec651ea946326c2","sha256":"fcfbae81e1bc18e39fc93e44ac78a87b3e542d8f44eeec4667b412b056735265"}, +{"id":"file-f7140585ec66f063","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_r1_v6_coupled_sensitivity.py","route_id":"route-8066ca7eb5dd963a","sha256":"9ec64b2c0f1fae3054985f5deea37298f576409f67261f7c095b895d62f86cd4"}, +{"id":"file-fe55e45bca0d1c4e","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_r1_v6_crosscode.py","route_id":"route-b971cfdba797f5ca","sha256":"8ee1897abd3cb917a4b6ba7b93ff135d70eb1f80dc9870cb886f35e517881418"}, +{"id":"file-c00e483e0633900a","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_r1_v6_verification.py","route_id":"route-d9a70619b9fed429","sha256":"85a78ea6c47ed2ba0147373b9d1a9f3232b578b910c1c765e02a8454f797cd15"}, +{"id":"file-c2216625b70fbf19","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_r1_v7_corrector_budget.py","route_id":"route-6756c84b5e52dc51","sha256":"92126536c6dc6089aa1cdafaf4b13c9ac11e3d94dfb1f595e9ac604651910397"}, +{"id":"file-45f512e13f528277","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_r1_v7_precision_consumers.py","route_id":"route-11980eb9b7a3b1af","sha256":"d8af79127673f775a69f955e92448414d223b5baea172901aea84385f80395a5"}, +{"id":"file-b1daec0b603e1eb2","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_r1_v7_precision_oracle.py","route_id":"route-667ca2833e7fd191","sha256":"cb0ccd28a9a2a93e9b314ba89e1f278b72d29954944c5ee96aa3389cc9bdba44"}, +{"id":"file-cfb3bfe3bd29ec24","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_r1_v7_prototype_analysis.py","route_id":"route-baf789277dbc369a","sha256":"fff70f14eb900496f95ec927fa10fd70ae6164bed7acb788e920a9925821a1df"}, +{"id":"file-3e145dcdd17a23fe","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_r1_v7_prototype_runner.py","route_id":"route-d22ef4e7817b8927","sha256":"78a0a732e04f1853a6fe44bd4e0aa53afb31cc23b2dbff045ff4c522bb577145"}, +{"id":"file-b7dbdd8c9b88b6c6","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_r1_v8_ablation_contract.py","route_id":"route-b96d0c11d86d9e20","sha256":"10a0f87349bfbf936351ba80243efcb4442f775b34ce620d10b9265965e20c33"}, +{"id":"file-73c368c3f9e32258","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_r1_v8_gate_summary.py","route_id":"route-02545b5a10be6586","sha256":"c09a83a1d5866f358cd6894e0a38fafc783a59108e4aec8ac3da0299be8e319a"}, +{"id":"file-8e0f8ef6fe1985c0","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_r1_v8_precision_consumers.py","route_id":"route-805ee1d594afdfbe","sha256":"3ea63cd575e469de914f0b7789dc4474e13360b27ca86f47f701682328c9bd98"}, +{"id":"file-e6df5a52f38b92cf","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_r1_v8_precision_management.py","route_id":"route-c2dff91866c5d585","sha256":"575839d8fc669d2cdee019c9825e2f4af89c335c1064a3e175e4df8f4c412256"}, +{"id":"file-e3f7cd1a8db25369","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_r1_v8_precision_oracle.py","route_id":"route-abc818ccdf43d4cb","sha256":"a64a7ed0f712a5c73e61305d9950921b81d69f0edc688d31b1097f4e0305b1df"}, +{"id":"file-ff4a1f7b08c7ded7","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_r1_v8_prototype_analysis.py","route_id":"route-c6499ded2786c53a","sha256":"e99f16ddd49b4f5fd85d61cf5339c27de023b7d32d6347d18830833c8977ba41"}, +{"id":"file-8d026eaf0edcba9e","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_r1_v8_prototype_runner.py","route_id":"route-cf45306c6a024d37","sha256":"48c1a46185cec55a58e52917415e4bec1e5f162331d4b8afb4ee135fceec33df"}, +{"id":"file-778ecb1245a2803c","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_r1_v8_replay.py","route_id":"route-036e3dbd0421f2c4","sha256":"a3b66143209573e74c7d53761547e45f68c3dcb02a6ec9cc3560676be1d5160e"}, +{"id":"file-aa90d026f39a195b","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_r1_v8_timing.py","route_id":"route-5d1099c616fb65e7","sha256":"714dc3ef555bf9f3f4a33ada272bae420073feb3914486ba65b07c70fd3ddeb9"}, +{"id":"file-e5acddb186527868","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_r1_v9_pair_codec.py","route_id":"route-b9f8796da5f6d80e","sha256":"ab50893d36a068d9327277ca7c086e47216219af42ce2032cc959a1cb63717a9"}, +{"id":"file-a966d500623e1a09","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_r1_v9_performance_core.py","route_id":"route-212955850505b245","sha256":"53ef20104b0dc1c1145eb71ec89f3b15b99ca94da51e5e54fc6a15072b1862bf"}, +{"id":"file-d54a48abfa08c094","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_r1_v9_performance_equivalence.py","route_id":"route-def5e66bd22169dc","sha256":"3f3d5a25ea926f8529ed081eba9360e5582c065e8d8b3942448624290c695171"}, +{"id":"file-58cef573a8d5bd2a","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_r1_v9_precision.py","route_id":"route-a79033123b44f801","sha256":"244ab04858f635d97bada69c76fd1ef2e5b88a07671ae1b0c6460c4f896018b7"}, +{"id":"file-0feeb8613294cb82","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_r1_v9_response_boundary.py","route_id":"route-189d7025b7b3910c","sha256":"4a8fc06e419eeac5d2318def1aae3753b1d935dd1352320dbaa751abd674b831"}, +{"id":"file-c595243a38696a27","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_r1_v9_runner.py","route_id":"route-6635a0790cd5d605","sha256":"36c666ef04078153e702bd9d71bdb189a12a027e66ae818a1a6e8d3362bfe737"}, +{"id":"file-af17723cdcb6ec3e","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_r1_window_qualification_v4.py","route_id":"route-c8d8eceb811ef31c","sha256":"3442e842662fa7beb57500b31f48218f67f3981d8d8bdd67563254caf47fa7e1"}, +{"id":"file-d1a4239e5256f1fa","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_run_interface_cbo_scan.py","route_id":"route-e0355b86d41d6620","sha256":"12271ab5fd928023b8b945681ef41a5650006bcea8c3b30e3e9547f6979c7e94"}, +{"id":"file-f54b969153f33906","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_run_interface_cbo_sensitivity.py","route_id":"route-ed0cef05b7deddb7","sha256":"f64122189f6b738efde23cdac7a90d82441bd844bd3d470a0bbc9b5229fdaf18"}, +{"id":"file-82691c6ee1f967df","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_run_interface_srh_identifiability.py","route_id":"route-776e4c0e4ee1937c","sha256":"e206ff48f5dd3a560706ccfe5012b4e96079f7a6de5c8854649afd4f6e55e6f1"}, +{"id":"file-9900e40c750a3bc5","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_run_jv_sweep_auto_extend_v_max.py","route_id":"route-22012a8fa8f5d81d","sha256":"8f20e477b1a20c6bc52c8a4cb79cef588a85b594168b97e7b193f6d0e3da8a97"}, +{"id":"file-5d7c49cd31d70e81","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_spatial_profiles.py","route_id":"route-0da1e7360e588f14","sha256":"daf456f3cafe148d7d4b322a6ff186cd065ea7f6abcbdd896389467f1f7bb147"}, +{"id":"file-1010dad0902d694e","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_ss_current_spread.py","route_id":"route-86a72367d3c70f19","sha256":"50046dde3d5e02bf6521de1bf02cde236cdfbc86aefaa71a122bb611c15dab89"}, +{"id":"file-98ab991461404c5a","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_steady_state.py","route_id":"route-3f3425cee9fae9dd","sha256":"1bd95145058440d09a46c16a27aee490749dc5d51ce9ba8b91b9eff4a33ee17c"}, +{"id":"file-3165208e978e3ce7","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_summarize_ion_frontend_matrix.py","route_id":"route-3abd0eb4d68aabe0","sha256":"fc0245944ae33249bf7efdb79e1470d7fd4e02e36238a3ce24f2102e071510c7"}, +{"id":"file-8d591936d02e9059","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_suns_voc.py","route_id":"route-5138590a500a30b2","sha256":"24e9ab8b81bb7f4aaf5e5d38dee8991e2453499102a509634845414d8dfd0ac2"}, +{"id":"file-a465de872d80b1b2","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_tandem_jv.py","route_id":"route-3ba85fb32b804a28","sha256":"51fa1a01444ffc0d6e585545021e695aafd44f91bdc380aa55e056d0d78244a2"}, +{"id":"file-78c3fb2cc0593d17","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_thermal_balance.py","route_id":"route-d9393615d0dfbb2a","sha256":"d0bd2233328381302176b26f7c273478c44d406eed05642b88c7642f5fe7be53"}, +{"id":"file-f9d41d3463316c7e","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_tpv.py","route_id":"route-2bca2f40910606c8","sha256":"1b72503914888354cd96c5719c357c045779cfecf7dc23d885bfc121a5733a2d"}, +{"id":"file-c6c0854c53596e76","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_trap_small_signal.py","route_id":"route-5b72f3e3f6e061b5","sha256":"47b5b23a7d1a54b0bac8a43f2d6cb38c20e04f7babe36ad89ffad80320dea8bd"}, +{"id":"file-a14efca1f71e73ed","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_voc_collapsed_current.py","route_id":"route-6dc31428b630cec0","sha256":"4eba2757bc893e3599c4b8ab08d857b042e5f93174c0fb0a02edefa032226546"}, +{"id":"file-94667bffb4993ad7","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_voc_t.py","route_id":"route-42108c816bf78623","sha256":"a8ddf88907eed401dc6dba609381bee0e5c8430829c5c30bd70cf93a3a3f4d1a"}, +{"id":"file-9d3a6134fd83b20c","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_waveform_jacobian.py","route_id":"route-84374b27d100a34c","sha256":"2161dd82b18026ab0cc28b8710c92a5a5ab130798de689464fb451c6a2597aec"}, +{"id":"file-49b813d355444ac2","kind":"test_module","current_path":"perovskite-sim/tests/unit/experiments/test_waveform_jv.py","route_id":"route-6cf7fed6de95f432","sha256":"35526cd2b937eec9a35088395b35fb589bcba46743eb7c720da56162c9ea0323"}, +{"id":"file-d4387326534156a3","kind":"test_module","current_path":"perovskite-sim/tests/unit/models/__init__.py","route_id":"route-b9ced81bd3ef34e7","sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"}, +{"id":"file-730f40559032aba9","kind":"test_module","current_path":"perovskite-sim/tests/unit/models/test_astar_params.py","route_id":"route-026b6a972c5fcea6","sha256":"15d8d7a3a8947e3684c64498f538b99442c7de3d456c6aef80aa70bc4da9bf0d"}, +{"id":"file-35fdc9a725a914d9","kind":"test_module","current_path":"perovskite-sim/tests/unit/models/test_built_in_potential_modes.py","route_id":"route-9c041ddd223a2a3c","sha256":"67d85e993bd212eba0d14e14c74a4f419d1a4bf8447e0b047fcc462f6b343b62"}, +{"id":"file-431b71d59be440c5","kind":"test_module","current_path":"perovskite-sim/tests/unit/models/test_bulk_trap_schema.py","route_id":"route-6ab6765e69066eea","sha256":"2ace6903f6788c74b52a541c92626123dc2958d56ecf703f866822dde09fd876"}, +{"id":"file-747484bd97856ac5","kind":"test_module","current_path":"perovskite-sim/tests/unit/models/test_config_loader_dos_flags.py","route_id":"route-50f2f31d2c3e4da4","sha256":"b54ba9df5a7a16974807e4bb41b36d38b922b934bfffbff1eec04103fbd40ffd"}, +{"id":"file-4927c3201dc0f806","kind":"test_module","current_path":"perovskite-sim/tests/unit/models/test_config_loader_interface_defects.py","route_id":"route-2bfeaab822d46b47","sha256":"be81d66f1225d60d403dc77c8fd7552bad88358265b64caff3ed55f758c9533e"}, +{"id":"file-1790634698361dd7","kind":"test_module","current_path":"perovskite-sim/tests/unit/models/test_config_loading.py","route_id":"route-f2cc46216ae415b2","sha256":"9c6b22fedf8df1a35d2d5fa4a7634ae0db2ab8c062feb6083aa04ca8c11f01b8"}, +{"id":"file-2e0ff89d5c05719a","kind":"test_module","current_path":"perovskite-sim/tests/unit/models/test_device_vbi.py","route_id":"route-c52f286d7b38f847","sha256":"3534d70ad872248756804d63a0e7373feea256ba795d4e14ba2bde9cd9cfbf55"}, +{"id":"file-abb7139233455162","kind":"test_module","current_path":"perovskite-sim/tests/unit/models/test_electrical_grid_config.py","route_id":"route-d924699f02898383","sha256":"55264e1c70b408889a03ffb478e330261854348c68c58a6b14532008d77c18aa"}, +{"id":"file-9dc8affa3f579763","kind":"test_module","current_path":"perovskite-sim/tests/unit/models/test_explicit_defect_schema.py","route_id":"route-b8de3750831132bf","sha256":"05a2bd6261cbe1af21ef3cd7c32e22ad61684d3c46fb11149b040dce0a5d3fdd"}, +{"id":"file-7b8e11027983476b","kind":"test_module","current_path":"perovskite-sim/tests/unit/models/test_explicit_defect_spatial_profile.py","route_id":"route-839d40fff119d922","sha256":"0541cbb2f6f0e5d7d5a7e9f1bcfdc7769b4b34f12e9a5d03f6331e1a6d0fdec8"}, +{"id":"file-d4652e19403d1520","kind":"test_module","current_path":"perovskite-sim/tests/unit/models/test_interface_charge_closure.py","route_id":"route-d87ec5963f5b18a1","sha256":"51ca2f614bb77552b7da7c2bd58488f68b51655b77c4cd65e414543ded7b4ac5"}, +{"id":"file-2eb28246f48ff04b","kind":"test_module","current_path":"perovskite-sim/tests/unit/models/test_interface_defect_schema.py","route_id":"route-89766d7e7b1d59bf","sha256":"29cdb099c60ac14604ad7cd5d8e0d8ab65c86a40c9ad4f71392cf9475aea0dbd"}, +{"id":"file-d8084b74cebf9d9d","kind":"test_module","current_path":"perovskite-sim/tests/unit/models/test_mode.py","route_id":"route-2a64fe42d4d3881a","sha256":"97c988968f8539d231b418baab80a5227a39c4f3ea99a4493c94bc2c046f456e"}, +{"id":"file-0a84f3ae80deb633","kind":"test_module","current_path":"perovskite-sim/tests/unit/models/test_multivalent_defect_loader.py","route_id":"route-5cd5c6f2e8aef072","sha256":"6c7414e07e742f084044f4341cb333d4d5aa2a5c116f186f7c56916af54cf79e"}, +{"id":"file-c89a7859242338d0","kind":"test_module","current_path":"perovskite-sim/tests/unit/models/test_multivalent_defect_schema.py","route_id":"route-b6f0631586d98fdb","sha256":"845e84ad77d3429e833e2d84a01bbb7bba01cd7ab41429e1ac10dbbfce39da0a"}, +{"id":"file-82e18c6ac4967317","kind":"test_module","current_path":"perovskite-sim/tests/unit/models/test_parameters.py","route_id":"route-d959d48d4f057cff","sha256":"a05d4f2e802f5ac9d873f6970a6c3526ab4552501b7be1669c354e5136f64720"}, +{"id":"file-396f6ccdf039764c","kind":"test_module","current_path":"perovskite-sim/tests/unit/models/test_tandem_config.py","route_id":"route-e69c2ba15f4b1756","sha256":"08d540440c72bae5bbc01eac65a6a54b5ff8c62097359573c0c472efb3946632"}, +{"id":"file-1c9994183cf591ea","kind":"test_module","current_path":"perovskite-sim/tests/unit/models/test_tandem_presets.py","route_id":"route-ddb0a4bac796a8fd","sha256":"bfc199f78fc76f1d5ad7aa9fb8c580171d81d1b001de78d806b09e86e1bb5fa1"}, +{"id":"file-698313dabf403871","kind":"test_module","current_path":"perovskite-sim/tests/unit/models/test_vbi_sensitivity.py","route_id":"route-964df1714f1b4789","sha256":"7adc5cdf821cd3e947f8408de09c17cb627f5b9f1679106f90ed4a0d9b0be9d3"}, +{"id":"file-dccf4eb78ab4eb7a","kind":"test_module","current_path":"perovskite-sim/tests/unit/physics/__init__.py","route_id":"route-4e9b496e4b7b3cc7","sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"}, +{"id":"file-265ea100cbd8265f","kind":"test_module","current_path":"perovskite-sim/tests/unit/physics/test_band_gap_narrowing.py","route_id":"route-dec3e9c669acfaea","sha256":"381aef0d7abc3e4e3ef97063725737f8675b46f25dc54c5e17e3e433f2e62ceb"}, +{"id":"file-bdef599f37b8cd83","kind":"test_module","current_path":"perovskite-sim/tests/unit/physics/test_barrier_anchor_locality.py","route_id":"route-b186b570eeace6b2","sha256":"7a6fb3a776a987c6b15eaab117aec8e2e9db72f60e48955287cba1674c6f6252"}, +{"id":"file-1c1644396a22c96f","kind":"test_module","current_path":"perovskite-sim/tests/unit/physics/test_bulk_traps.py","route_id":"route-5e20968aaa8293ec","sha256":"8f251e69c7cc59e151ffdf22a798007f17dc79ffc4aab3d91fd217bf9c5db38e"}, +{"id":"file-db52ffe77df0cb24","kind":"test_module","current_path":"perovskite-sim/tests/unit/physics/test_carrier_current_consistency.py","route_id":"route-85b2f202d84f031c","sha256":"19d80e783c2d76191645355e867456897487fec7d496b3a810a87470dcc8fe69"}, +{"id":"file-c936c35b1206e4a8","kind":"test_module","current_path":"perovskite-sim/tests/unit/physics/test_cigs_optics.py","route_id":"route-7644c985028bc2ec","sha256":"e1189691db1ca2c7b6c3641811b88bb219839f2841c484817e0a74be06bb93f1"}, +{"id":"file-e3fa2f85bbe20408","kind":"test_module","current_path":"perovskite-sim/tests/unit/physics/test_compensated.py","route_id":"route-3291996b231b0233","sha256":"30ac21d2abdf5a6b72225967db31a055007b211cae5fead77e4e094a42ca1caa"}, +{"id":"file-66c549eb5a0bb9d6","kind":"test_module","current_path":"perovskite-sim/tests/unit/physics/test_compensated_v8_invariants.py","route_id":"route-9a28ed73969a806d","sha256":"1589a532732848c0729a4af045f145a87ab7be5972c9118257f8c45aaedf906d"}, +{"id":"file-77c2cc0f8556e1b9","kind":"test_module","current_path":"perovskite-sim/tests/unit/physics/test_contact_statistics.py","route_id":"route-08388d5ce6054b7e","sha256":"ac8c7717528263829774ff1ba9187f8c032475e11cfad3db608eacd03b2e18b4"}, +{"id":"file-cd3e44da01ec60ff","kind":"test_module","current_path":"perovskite-sim/tests/unit/physics/test_contacts.py","route_id":"route-18a76310be41e4bf","sha256":"8421d93252019c21db8e869452215aa0aef7522377d4b1f204d509211143af0c"}, +{"id":"file-8169bbce9a8ed7d8","kind":"test_module","current_path":"perovskite-sim/tests/unit/physics/test_continuity.py","route_id":"route-9f60d5552e753243","sha256":"9c5d649dc746f967bdf96ae3a4d459a3356273c47e8986b336fd8ce613f55cc0"}, +{"id":"file-f5e767e694149526","kind":"test_module","current_path":"perovskite-sim/tests/unit/physics/test_continuity_split_flux.py","route_id":"route-934725eb7adbb4a0","sha256":"b000705a16a6b66176c2f889ef90b843331ea2a466c7eb297b3a41c490658e52"}, +{"id":"file-b07a80b60bffa2e8","kind":"test_module","current_path":"perovskite-sim/tests/unit/physics/test_continuity_thermionic.py","route_id":"route-034aed408864433e","sha256":"d5626e6f6b80e73bb8c5dc8f1d6b3d5d059c0f51c0b780231d6afe8e29a1d789"}, +{"id":"file-0ac377a623e7b7c6","kind":"test_module","current_path":"perovskite-sim/tests/unit/physics/test_defect_distributions.py","route_id":"route-6efb119d75705d3b","sha256":"0df5e547acd7d7a1cdfd436c699fa2eccbbf011427c61744c98a03bb6690ed6c"}, +{"id":"file-0243df31cb52380b","kind":"test_module","current_path":"perovskite-sim/tests/unit/physics/test_degenerate_transport.py","route_id":"route-646e10995ce5d015","sha256":"6834fee203cec300d0f2d24e3e30a62bf3982ea8247361cabf560f05eabd9611"}, +{"id":"file-67081ef124251b85","kind":"test_module","current_path":"perovskite-sim/tests/unit/physics/test_distributed_defect_closure.py","route_id":"route-08ce1f24c4c21352","sha256":"d90062218499940df53214ba591b7784847f53896a37361c5e4f58b140bc1e9e"}, +{"id":"file-a744c7f79c26d155","kind":"test_module","current_path":"perovskite-sim/tests/unit/physics/test_distributed_defect_device.py","route_id":"route-4e62e85b41af2f4e","sha256":"ec82b454d816f197f92c920f9389fa22f79021d7890bed9b7c0508d5a7f44260"}, +{"id":"file-ea13c63d75f9fcab","kind":"test_module","current_path":"perovskite-sim/tests/unit/physics/test_doping.py","route_id":"route-6183ad27c7f23f83","sha256":"fe45485daf3ea0d047350a0fcf1c90b851d011434c665e5f98e391ee952c8b1d"}, +{"id":"file-dd567abc3e23c051","kind":"test_module","current_path":"perovskite-sim/tests/unit/physics/test_dynamic_defect_state.py","route_id":"route-b9108f64d5a8e99a","sha256":"f346264d31670800f21da6b049424f247d0c89dd023fcd569a591dc077cb79e8"}, +{"id":"file-76649c8945be70ef","kind":"test_module","current_path":"perovskite-sim/tests/unit/physics/test_dynamic_storage.py","route_id":"route-19209a30d5e964e3","sha256":"c64d413721ca87074eaa3a4524b504026c262356e5a2ced0834c5ae106c62df1"}, +{"id":"file-57621643230ed27f","kind":"test_module","current_path":"perovskite-sim/tests/unit/physics/test_fermi_dirac.py","route_id":"route-b02e12b81152017d","sha256":"00349588965f6abd0144ae20d509e12d661651e3e0f6ba1438eb3b100fa12e4d"}, +{"id":"file-3f020b8d32420679","kind":"test_module","current_path":"perovskite-sim/tests/unit/physics/test_field_mobility.py","route_id":"route-a92fd3001b213590","sha256":"e4b6be3570fe974d089f708e6a3af6f7cd85f55612c5d0c1a9e962c9114a1e1a"}, +{"id":"file-601f072a69f14460","kind":"test_module","current_path":"perovskite-sim/tests/unit/physics/test_fixed_occupancy_capture_precision.py","route_id":"route-2193e01b1db7829e","sha256":"745d376493c40ddd2696ad9c63bed75cc1ac23687cb7ca58c770f8769f1d280b"}, +{"id":"file-c83b07984525dc3e","kind":"test_module","current_path":"perovskite-sim/tests/unit/physics/test_generation.py","route_id":"route-390b096a1fdd4a56","sha256":"78d26623e6da27798f2a092a14be38acace7871db07a8491dd3885f17df4cbaa"}, +{"id":"file-7c1de333528cb367","kind":"test_module","current_path":"perovskite-sim/tests/unit/physics/test_grading.py","route_id":"route-c02c5052708659dc","sha256":"c220393538f3f0b8aa0387c1697f4257ccd3fde4167bceaf798c594ce3a4f1de"}, +{"id":"file-971817153a1cb136","kind":"test_module","current_path":"perovskite-sim/tests/unit/physics/test_interface_density_increment.py","route_id":"route-7f937b44719341ce","sha256":"d69d2173eb561ae0f0b9358e6873a0e576f5de987b384f129621d65d501aef03"}, +{"id":"file-acb63cca0863d5bf","kind":"test_module","current_path":"perovskite-sim/tests/unit/physics/test_interface_plane.py","route_id":"route-0fc97070653fe980","sha256":"153df03490456ad093d5adb0722300165f037c38ead1e0007c0703dc8860fca7"}, +{"id":"file-529b69423fe26e49","kind":"test_module","current_path":"perovskite-sim/tests/unit/physics/test_interface_plane_physical_qss.py","route_id":"route-5248aefc2fe5d083","sha256":"b371cbbc2f0c26f89628ac11217b946b21daf5a9ca0a73e0f098deb39673f153"}, +{"id":"file-d22a5fd9eeca7a02","kind":"test_module","current_path":"perovskite-sim/tests/unit/physics/test_interface_plane_srh.py","route_id":"route-e8defa74cafd755e","sha256":"5b87e05232080393c455ceeb39ae5dcb3ef0aea1b9984286f185a42d02599b89"}, +{"id":"file-c9509b287373ce38","kind":"test_module","current_path":"perovskite-sim/tests/unit/physics/test_interface_trap_charge.py","route_id":"route-6b5386bf56a3bbfd","sha256":"f493acf0aaece141efd1dd1bf8dd1de211ac5afa1e221f9cc9bd570c3aa8a27d"}, +{"id":"file-6f2bd07115305a23","kind":"test_module","current_path":"perovskite-sim/tests/unit/physics/test_intraband_nonlocal_transfer.py","route_id":"route-303c66f9bbddb0fd","sha256":"195045ed0cbad90e2e7deba1bc0c384780555d7943de7d4048ef028a3bea92b4"}, +{"id":"file-d4ebb40270b65755","kind":"test_module","current_path":"perovskite-sim/tests/unit/physics/test_ion_dual.py","route_id":"route-70d7af52c8f0cef6","sha256":"8ddcdb3bd5e80d905180bac11f8d56d8b27db904faa27017cff05092aabf1251"}, +{"id":"file-446fcb511f6bd5a7","kind":"test_module","current_path":"perovskite-sim/tests/unit/physics/test_ion_flux_jacobian.py","route_id":"route-cde6edd828a0a5c8","sha256":"289c1874683e83188ded3e6c35f2637b08b6cfb3d29afadce38955057593ad63"}, +{"id":"file-0dc2c4e576c467a8","kind":"test_module","current_path":"perovskite-sim/tests/unit/physics/test_ion_migration.py","route_id":"route-d3b18a10f8e7230d","sha256":"dd3020ca7b7ea4fdf0d30b7fab4c66c89e4970bd337298698d3deacdb19469db"}, +{"id":"file-647f5b531e5148f0","kind":"test_module","current_path":"perovskite-sim/tests/unit/physics/test_ion_steric_diffusion_only.py","route_id":"route-567ea0e3fafa1ed3","sha256":"977b8a6903a025f0ae98210f55cf244910874518f3355bf6c990d1653c9ead3d"}, +{"id":"file-8df359d835143eb8","kind":"test_module","current_path":"perovskite-sim/tests/unit/physics/test_ion_steric_dual_shared_site.py","route_id":"route-2495d4c8bc0ab2c7","sha256":"169e86f79c17586e4db86c95c5948498bdfafdb654b9e630e9db66c439f307bb"}, +{"id":"file-4337bce2761f9057","kind":"test_module","current_path":"perovskite-sim/tests/unit/physics/test_metastable_defect_closure.py","route_id":"route-db0aaa5c8dd497a1","sha256":"da05c24356753d34a25cebf2a6f687f5d9ad037ef81b0dfd8f5063b93a10dfee"}, +{"id":"file-a6f5df525b901043","kind":"test_module","current_path":"perovskite-sim/tests/unit/physics/test_monovalent_defect_closure.py","route_id":"route-b3f7f560e302d790","sha256":"0efd3f56e5cf5f7440d3c7a117033ed8b9873b51fc7ac00ee3cdbeb2450ac456"}, +{"id":"file-2f55adfcd5fda411","kind":"test_module","current_path":"perovskite-sim/tests/unit/physics/test_multivalent_defect_closure.py","route_id":"route-a7427329864623b5","sha256":"bc4bb57fd0ab87d000dbb2c8f5693a8bf5e943da0c9a244d43910de1e15a21f6"}, +{"id":"file-d04da2e267a232a7","kind":"test_module","current_path":"perovskite-sim/tests/unit/physics/test_multivalent_defect_device.py","route_id":"route-e18cac36a5c3bb62","sha256":"46a462d6b9579d5c1b72d5ff71d11802cc835971ddd5e307a037f56c5f3f56c6"}, +{"id":"file-af33689735ceeeef","kind":"test_module","current_path":"perovskite-sim/tests/unit/physics/test_neutral_defect_recombination.py","route_id":"route-d41f97fa5fc9ffa3","sha256":"2cb3a9fdc7d41f4c8af1c24f76eec5379da10f763f7e2b12bf1e7236de04872b"}, +{"id":"file-c8b43090eb10a630","kind":"test_module","current_path":"perovskite-sim/tests/unit/physics/test_optical_stack_cigs.py","route_id":"route-04d9eb8fad6b4ae3","sha256":"b38c6d5d2004b29d47cfff5ecdf92e7a8471cbf933afdb03414816317dcde691"}, +{"id":"file-cf19d811fa2d8172","kind":"test_module","current_path":"perovskite-sim/tests/unit/physics/test_optics.py","route_id":"route-58e44cdad82d63f7","sha256":"e48b8e61b24f6d1aaacf214654ad730292e7b966458f681cbb09fb1ce521bf2f"}, +{"id":"file-8adac4a2ed91dd7c","kind":"test_module","current_path":"perovskite-sim/tests/unit/physics/test_photon_recycling.py","route_id":"route-0f40d42898b867e2","sha256":"b3473360a4d8f9c4cbb30b81fc8076afb6f840aed7be923aef224daa290c004f"}, +{"id":"file-7be268258c3e2d28","kind":"test_module","current_path":"perovskite-sim/tests/unit/physics/test_poisson.py","route_id":"route-b76d201bc21bbefb","sha256":"ed45fc65d78d4917f58e0dcec80b66188d3ed1b8504ac694d7e6782068d7a593"}, +{"id":"file-ddbadb64340abf4b","kind":"test_module","current_path":"perovskite-sim/tests/unit/physics/test_r1_weak_flux_oracle.py","route_id":"route-0b314a8cb9d0fde4","sha256":"ec6002ccc5a384b818d0343af87d5f78cb323afa9b5605818b90004018e3323f"}, +{"id":"file-8e659ef570f49656","kind":"test_module","current_path":"perovskite-sim/tests/unit/physics/test_recombination.py","route_id":"route-7f9098eac464df31","sha256":"d8227a2feb46bdffc738fbf3f6f8b18f6b272560b5a1c3280159b3f0cbe025f2"}, +{"id":"file-73aeaaca4011dec5","kind":"test_module","current_path":"perovskite-sim/tests/unit/physics/test_regularization.py","route_id":"route-e4ed7aa8bd93540b","sha256":"a5870326e2e5653b552d5e559619989313cb21aeb7b8a6c955c4b5bb3980aadf"}, +{"id":"file-098af8cf9ac4eda2","kind":"test_module","current_path":"perovskite-sim/tests/unit/physics/test_review_fixes.py","route_id":"route-63a28df7e13916cc","sha256":"b01acac7be37a7ccb4db9b4c68651cb0696c075355983b263b752f0cd8b2d3df"}, +{"id":"file-ba1260113b200184","kind":"test_module","current_path":"perovskite-sim/tests/unit/physics/test_spatially_graded_defect_device.py","route_id":"route-fb0b9df63cc24d3b","sha256":"d33f9bbcbc73829465182242bc9aea0deb30d0de0179ddb8f372b0b115e78aeb"}, +{"id":"file-c54a6de39e1aff72","kind":"test_module","current_path":"perovskite-sim/tests/unit/physics/test_statistics.py","route_id":"route-5cc232479c13eb2f","sha256":"915e5773ffd805b8f8f13e0fa7f6288ed5289b775a4c402e1859b7b666be7c9c"}, +{"id":"file-665991bde969677f","kind":"test_module","current_path":"perovskite-sim/tests/unit/physics/test_tandem_optics.py","route_id":"route-943c28cf5651c69e","sha256":"2a285f1ec3d99f5c5b83188b8c3181ca94d206006f6d19aca4b7c3b2f66cf1fc"}, +{"id":"file-b6083b362e151b47","kind":"test_module","current_path":"perovskite-sim/tests/unit/physics/test_te_cap_sign.py","route_id":"route-6820126daa29fca3","sha256":"cfc66e568e803d5e0b7da4a7733432149479cdb6f9087c6c1faa529666f6a1ba"}, +{"id":"file-70953cc4efc16192","kind":"test_module","current_path":"perovskite-sim/tests/unit/physics/test_te_physical_norm.py","route_id":"route-a689b34355c2f0d0","sha256":"44fbf345cd49a44ff2120bab789e3c8edc24ea2f6a5d75f5f23310a0f4c9fa13"}, +{"id":"file-6449acdbbd777fd6","kind":"test_module","current_path":"perovskite-sim/tests/unit/physics/test_temperature.py","route_id":"route-9e545a2832bb5e6c","sha256":"ce2ad6c35c877399c2050c9847bec38a3facb2a4ab39d39bdfddef900de60e96"}, +{"id":"file-5db8ac091b9a418b","kind":"test_module","current_path":"perovskite-sim/tests/unit/physics/test_thermionic_constants.py","route_id":"route-d0344e5d0e857c86","sha256":"c920ba58e5eb23c3318e5ddd3bcca59b0dfde2e15414e6b6e9a371e2b7ca1bab"}, +{"id":"file-f90f27667f3edad8","kind":"test_module","current_path":"perovskite-sim/tests/unit/physics/test_trap_kinetics.py","route_id":"route-401800d7e5b7e7da","sha256":"624f8c18e79d0c4116bdc83dd34053e5642bcd1935c9251fae4d4a32ce33640c"}, +{"id":"file-f06397eb0ee4a6dc","kind":"test_module","current_path":"perovskite-sim/tests/unit/physics/test_trap_population_response.py","route_id":"route-7fbc977d06ab0aed","sha256":"1a7909004a9b1d1a404eea60ba4f6c30dd57cd97b3facdf533a4aa473bbb9593"}, +{"id":"file-bfa807f754cbd299","kind":"test_module","current_path":"perovskite-sim/tests/unit/physics/test_trap_transient.py","route_id":"route-ca9ce3f7ce15cf19","sha256":"0f47b0e9dea9263ff3cac1bcc5e7541910d2dd7f9a3bbc0c8704968674360347"}, +{"id":"file-1d44d6fdab00a5d0","kind":"test_module","current_path":"perovskite-sim/tests/unit/physics/test_traps.py","route_id":"route-ee1764b3ef981e6d","sha256":"360d6ba43d6df0600d09033469878b8a968974fd102d6e9365774cc925e26852"}, +{"id":"file-2fb15e43646f6269","kind":"test_module","current_path":"perovskite-sim/tests/unit/physics/test_tunneling.py","route_id":"route-6d45d50c4d0ae733","sha256":"0b9a39142b3a427b304d0f4a7a88c75c9c4db58a5962a90fec0eef14f86ccf22"}, +{"id":"file-89bd7bee2cd707e0","kind":"test_module","current_path":"perovskite-sim/tests/unit/physics/test_tunneling_channels.py","route_id":"route-afda7243d5547184","sha256":"0d4c56374ec659fd83d03babadb7eabe4556321c28bf3a7427c5f1d5c9f95378"}, +{"id":"file-1f947cc3b1a55050","kind":"test_module","current_path":"perovskite-sim/tests/unit/physics/test_tunnelling_drive_convention.py","route_id":"route-aa4e8a7ba2afcacf","sha256":"6da88a05a8ad0dde8f80d1403bc4682badcee8c3d1de987fe361aa502ba729a4"}, +{"id":"file-e73603fefdd60414","kind":"test_module","current_path":"perovskite-sim/tests/unit/physics/test_tunnelling_physical_levels.py","route_id":"route-8dd1af8cdb80ef64","sha256":"47c271e8e3234b7ad0152dae6211d08342c6ab4b2cbfa85fae89546c675fd9d8"}, +{"id":"file-b1c094f60f81bd70","kind":"test_module","current_path":"perovskite-sim/tests/unit/physics/test_two_sided_interface.py","route_id":"route-3f4458c36088b676","sha256":"86aed47557f9951a5bdec241e4591ca9738a76054cf237ebbdd796bd6de42288"}, +{"id":"file-31d59e1de34c144f","kind":"test_module","current_path":"perovskite-sim/tests/unit/physics/test_two_sided_interface_compensated.py","route_id":"route-9f71522326682e41","sha256":"8372cdeb739a44bd4f667b5cb4a542118d5ecde0736267bf7f5b4823b9a7279a"}, +{"id":"file-9d23854209426ca3","kind":"test_module","current_path":"perovskite-sim/tests/unit/physics/test_wkb_local_windows.py","route_id":"route-616d8b4cbb2d3074","sha256":"3d0feb547b1bbcaad41500a252b0e1221f549a56b219a8f11baff6ba39a4a6fa"}, +{"id":"file-0b66fb96755a23d9","kind":"test_module","current_path":"perovskite-sim/tests/unit/physics/test_wkb_tunneling.py","route_id":"route-979cfe7ef3df9d27","sha256":"e209fac79d9878ea401dc3117ff848c45a6dd3551b107660ef20e07b85a39149"}, +{"id":"file-6fada46681ce58c3","kind":"test_module","current_path":"perovskite-sim/tests/unit/physics/test_wkb_turning_point_action.py","route_id":"route-97608f6a1a1df2e9","sha256":"af0fd2b756fab5371ab5e0e48aa72f28f962af059ff07522899f711936e014bf"}, +{"id":"file-79472ecad2e7ef32","kind":"test_module","current_path":"perovskite-sim/tests/unit/scaps_compat/__init__.py","route_id":"route-b85c4f830df24206","sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"}, +{"id":"file-e1df3e6169e5e19f","kind":"test_module","current_path":"perovskite-sim/tests/unit/scaps_compat/test_defects.py","route_id":"route-8e82336aa2e1c3ae","sha256":"51eb50fcadc2fb18d0c7d9fadeffe9bd0ce353ca8364fe2ad64b0e75bd233e1a"}, +{"id":"file-5e8bc48bc9007f08","kind":"test_module","current_path":"perovskite-sim/tests/unit/scaps_compat/test_distributed_defects.py","route_id":"route-3f72f371cc66fc5b","sha256":"f76a8b729998141fa35901b7e3351054cd2eed2d16899938ec2500f22ac72601"}, +{"id":"file-fb8e576e4b87b10e","kind":"test_module","current_path":"perovskite-sim/tests/unit/scaps_compat/test_loader.py","route_id":"route-225d62cb08a7d0f0","sha256":"e02967d3979ed8b65d22b6c6ef69c92910dfef1ceba0a71070791bf5ec5bb964"}, +{"id":"file-a6ac09c437b0f81d","kind":"test_module","current_path":"perovskite-sim/tests/unit/scaps_compat/test_loader_multi_defect.py","route_id":"route-99319df213aa00d3","sha256":"15596257b77e0e6eec02cc2d747993f3588575bdc2474b1407ddc8a01f406ab7"}, +{"id":"file-4f31dc8bc66954ff","kind":"test_module","current_path":"perovskite-sim/tests/unit/scaps_compat/test_loader_robin.py","route_id":"route-5155d525864d62ec","sha256":"924598106784ca3dc29d306a39f9937c15a606823fcc51a9523b1a15fc69adcf"}, +{"id":"file-2ea50dce94890264","kind":"test_module","current_path":"perovskite-sim/tests/unit/scaps_compat/test_materials.py","route_id":"route-159704c4549c0da3","sha256":"e53170f29e5cec80d66214607deddeac812f7d77fee199d6ac82f8a508ef2630"}, +{"id":"file-6472690023d4fb4e","kind":"test_module","current_path":"perovskite-sim/tests/unit/screening/test_evaluation_report.py","route_id":"route-663793a40836c0f7","sha256":"574350e94905f98411ef498d132942c09c2f05a93b3fc4400ccbc9bfe6f2df92"}, +{"id":"file-7ea410970770fe78","kind":"test_module","current_path":"perovskite-sim/tests/unit/screening/test_solarscale_bridge.py","route_id":"route-246d9a0aa27530b5","sha256":"5ca3b203f194459b039f3cfc4429d782f9763bdb75bbe59a0bbf16f8cd14d994"}, +{"id":"file-8ed747321a80fbb8","kind":"test_module","current_path":"perovskite-sim/tests/unit/solver/__init__.py","route_id":"route-a80de756a5562642","sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"}, +{"id":"file-0ef758978e891e8e","kind":"test_module","current_path":"perovskite-sim/tests/unit/solver/test_band_grading_plumbing.py","route_id":"route-3139d9a67892dc54","sha256":"6a9e526e907f57dbed4634f901ee06634d9df6e22f96da1ecd263bac9396257d"}, +{"id":"file-9685975e1bfc999a","kind":"test_module","current_path":"perovskite-sim/tests/unit/solver/test_bulk_trap_equilibrium.py","route_id":"route-f597f9e988504c6d","sha256":"177f6b0abfedd0521231ff665e2e0780f886bcd863e0677f43c6a5852426784c"}, +{"id":"file-72f6b535384ded0a","kind":"test_module","current_path":"perovskite-sim/tests/unit/solver/test_dae.py","route_id":"route-3e0e1fe7272f570d","sha256":"55ab066e2f59dbea2e006fe59ae4e5a9b4bc90e1fe3dbfa915e1ef867a49a7fe"}, +{"id":"file-d239d164a00e3135","kind":"test_module","current_path":"perovskite-sim/tests/unit/solver/test_dae_dual_ion_integrator.py","route_id":"route-24fc51cc37cc6329","sha256":"f0367b6160db4a06766fa470f6690b50dafd56148dee87ec9596d5fd99b1a4b8"}, +{"id":"file-8ab9f28b607b4e66","kind":"test_module","current_path":"perovskite-sim/tests/unit/solver/test_dae_dual_ion_jacobian.py","route_id":"route-f29e1c2ebef71c0a","sha256":"fc76aa473adb4f277d2e206659b69e79517c82748be94d144fdf06078b145ce4"}, +{"id":"file-9983b19e3c8a58fc","kind":"test_module","current_path":"perovskite-sim/tests/unit/solver/test_dae_dual_ions.py","route_id":"route-b92aadb4eb144bdd","sha256":"859f8dcedccf7c91c5bef3e2ec68e09f83c09076b754d757198f6e77a8e14140"}, +{"id":"file-b97701ae33546a53","kind":"test_module","current_path":"perovskite-sim/tests/unit/solver/test_dae_integrator.py","route_id":"route-85af028d82d86195","sha256":"acc8cba1aef69021d53724d4ff85131f1025396fa8da167773172e251ee27cfa"}, +{"id":"file-1db74931f7b6335d","kind":"test_module","current_path":"perovskite-sim/tests/unit/solver/test_dae_interface_integrator.py","route_id":"route-3ded60ee1d7b0323","sha256":"dc1d822e79589d41905dd822575f0c3f824cc2929ac4b1968ae3185038106723"}, +{"id":"file-67e49c34c3548c31","kind":"test_module","current_path":"perovskite-sim/tests/unit/solver/test_dae_interface_jacobian.py","route_id":"route-e26dd1bde69156a9","sha256":"dd4206d031fb58ee72cea18e3b07a87a84ba9950e5c6ce366ed2f3bffc830f55"}, +{"id":"file-fe49325952905b0d","kind":"test_module","current_path":"perovskite-sim/tests/unit/solver/test_dae_interface_states.py","route_id":"route-2c54a26b5c511645","sha256":"54b0ea197c0e7e73385a11e7682670e01b73f1b07dc8c4dea7ef33b4b901e2fd"}, +{"id":"file-22e23c6c644fde47","kind":"test_module","current_path":"perovskite-sim/tests/unit/solver/test_dae_ion_integrator.py","route_id":"route-19eae89f91441430","sha256":"9827ea77a2b0facfe20d99fef430e2b7b6aea8d1ca733dd9db686433a9c62ae6"}, +{"id":"file-d58ead4ded1a4d01","kind":"test_module","current_path":"perovskite-sim/tests/unit/solver/test_dae_ion_interface_integrator.py","route_id":"route-f60cda8a2688f51c","sha256":"098435012f7e25b50bff9100eb04d548dbfc054a8ea6e2a752cecf1fdeac3517"}, +{"id":"file-62ede2cc71a1d14b","kind":"test_module","current_path":"perovskite-sim/tests/unit/solver/test_dae_ion_interface_jacobian.py","route_id":"route-f6d3be6c0f541ff1","sha256":"c515b532099e767f4a7545bbd472d5f98f51b125332c8335eae43ee708566a6f"}, +{"id":"file-86033300c9303423","kind":"test_module","current_path":"perovskite-sim/tests/unit/solver/test_dae_ion_interface_states.py","route_id":"route-05719396e9242bea","sha256":"a40e410d6ad24a44817009bcc02270e83a954c347485fa47add74081954ce287"}, +{"id":"file-a40c39b63ff190fd","kind":"test_module","current_path":"perovskite-sim/tests/unit/solver/test_dae_ion_jacobian.py","route_id":"route-95e82e32b20ec366","sha256":"e0ae69f33dd5e433b966f9e55959172daad570fca7187373cc99c3c99b0ecab1"}, +{"id":"file-46e84e26e8ad3b26","kind":"test_module","current_path":"perovskite-sim/tests/unit/solver/test_dae_ions.py","route_id":"route-89a4100492393194","sha256":"b6a9e1f94bf478d5681d58e44c1ddcdcdd51d0e32b2516c038335fcb369b09f0"}, +{"id":"file-1eaa826b53b25cf9","kind":"test_module","current_path":"perovskite-sim/tests/unit/solver/test_dae_jacobian.py","route_id":"route-d42c0ba8cf24c776","sha256":"fb727ea52c52c9d9cf17d15de4d940b049b398cc7b9ca1ce2828f1a79f899788"}, +{"id":"file-3b238e23df5e6c4d","kind":"test_module","current_path":"perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py","route_id":"route-590cbd2f74a63ba1","sha256":"1798e8af9794fe0c8fe2f9e4ed02ddcf2d304dc516a4b9d2f3651e1485a4bdfb"}, +{"id":"file-6e9ab1673d3644ea","kind":"test_module","current_path":"perovskite-sim/tests/unit/solver/test_dos_band_potentials.py","route_id":"route-daa1ac697d62a72c","sha256":"3eee93b4880a7973d130b3248d68589574b250702c363cb6feabfd6391baae13"}, +{"id":"file-8e07ac6e2ef2e3e1","kind":"test_module","current_path":"perovskite-sim/tests/unit/solver/test_flat_band_contacts.py","route_id":"route-dfff6ab46622ffb6","sha256":"61c385e407d48bb5ee63c377feaba6eaa756e52d6c6172785633b3ab036ec9a3"}, +{"id":"file-eb13e4ae5d91674e","kind":"test_module","current_path":"perovskite-sim/tests/unit/solver/test_flat_band_metal_contacts.py","route_id":"route-e06e701863a24360","sha256":"5c5ccda30508aee571a047296687caf442e3278e2f4f819e06ee3a0d415b5211"}, +{"id":"file-d49d4fc4de8b2f86","kind":"test_module","current_path":"perovskite-sim/tests/unit/solver/test_iface_plane_projection_flag.py","route_id":"route-a55e6638cc83e004","sha256":"41c7a181e236ccf845ff72ce60868f20d28179403cee9e19181b325eb6c1e050"}, +{"id":"file-13651ee6bae891ef","kind":"test_module","current_path":"perovskite-sim/tests/unit/solver/test_iface_state_calibration.py","route_id":"route-2844329e2c28316a","sha256":"3450a396660aec8b7da7335d07a089b9e3751de4bd7188872171d72eb7f2050e"}, +{"id":"file-14f4a3835b5f47ac","kind":"test_module","current_path":"perovskite-sim/tests/unit/solver/test_illuminated_ss.py","route_id":"route-f129eea324ab6487","sha256":"5499bfd9a46b118ce2be432dae0fe43985005c50670261937f26583b0a049ced"}, +{"id":"file-00300d85e04fa7b6","kind":"test_module","current_path":"perovskite-sim/tests/unit/solver/test_interface_defect_alignment.py","route_id":"route-9b06898dbf2c60ff","sha256":"59be901289d437b08b2f9080922be5de0434947b80dc3af3a44fc903525cee9c"}, +{"id":"file-3512a5efbb7b623b","kind":"test_module","current_path":"perovskite-sim/tests/unit/solver/test_interface_plane_closure.py","route_id":"route-6debd099126fd8ce","sha256":"71f7bb76b527e4496fb87c5622cb91ebd5a47bbee6d20b990ad6eea1ef35f874"}, +{"id":"file-e09d0087ab12df6a","kind":"test_module","current_path":"perovskite-sim/tests/unit/solver/test_interface_plane_dark_eq.py","route_id":"route-76391cbe33e8bae3","sha256":"03c2c99a755caa036f29ec9d1ad8a21272066a3777b46cf4923e379264984dcb"}, +{"id":"file-655c909784241a33","kind":"test_module","current_path":"perovskite-sim/tests/unit/solver/test_interface_plane_generation.py","route_id":"route-3ac2804e46d33c38","sha256":"122eef8b075f225554a027d4962246ad7a4faa048f6c9b78318bfa72340f5787"}, +{"id":"file-cec69c95f45bad81","kind":"test_module","current_path":"perovskite-sim/tests/unit/solver/test_interface_shared_occupancy.py","route_id":"route-0fdacdf50abd75c9","sha256":"03c123389e2cfaf4200e937cf7ca82ffe20481772f1aab53d3a32c2ad29e1660"}, +{"id":"file-3a6724652bd41545","kind":"test_module","current_path":"perovskite-sim/tests/unit/solver/test_interface_tunneling.py","route_id":"route-4526a14f98660e5d","sha256":"6435a4ce6839eb0c2d434e4387fff38324409986b4f4587614908f7c12a7104f"}, +{"id":"file-efdc30440c7b5ad9","kind":"test_module","current_path":"perovskite-sim/tests/unit/solver/test_interface_two_sided.py","route_id":"route-f570f49eaa0ba6cc","sha256":"13eb67cafbf1f65527c95e0433b9d62eb8363a0b37d2f5db694fd88eab746c59"}, +{"id":"file-b3cf2efd2e5530a8","kind":"test_module","current_path":"perovskite-sim/tests/unit/solver/test_log_density_coordinates.py","route_id":"route-1c6eb162ba27388f","sha256":"0ebe54d51ddfadb15a6be0b3be65f61271d72f267af8b2cb4f1a7a390ec460e3"}, +{"id":"file-246316b5f236a960","kind":"test_module","current_path":"perovskite-sim/tests/unit/solver/test_material_arrays.py","route_id":"route-15a5706f5334f428","sha256":"cf4161df7b7d07570ccf1c4bc76fd1f5b03791f9af82cd29cfa2bc8a4734e5d3"}, +{"id":"file-565cd2a34b888083","kind":"test_module","current_path":"perovskite-sim/tests/unit/solver/test_mms.py","route_id":"route-8d5db3dad241158f","sha256":"80df8546bd9065a5fd2928a4f93254a00ca4e79d68c5d3e5a482f4763e568a57"}, +{"id":"file-3bacb016572128ca","kind":"test_module","current_path":"perovskite-sim/tests/unit/solver/test_mol.py","route_id":"route-16b8eec140a8e6a1","sha256":"51e7185322bb9e91ff763ec9a1e79b30515ec159c0a78fe3762ecec95768cc0d"}, +{"id":"file-6f5de8cea2eeb935","kind":"test_module","current_path":"perovskite-sim/tests/unit/solver/test_newton.py","route_id":"route-6a7a104685ba7b39","sha256":"d24c2b00b09db029193b5a7f5d55242e1a8b09105378dcf7e9e31974726fb900"}, +{"id":"file-475d9a7168b19366","kind":"test_module","current_path":"perovskite-sim/tests/unit/solver/test_numerical_diagnostics.py","route_id":"route-2a730971ae47bf8a","sha256":"fa5b66736325cfe547f81ca4afe6713fad1848b4e65ba62863fa0a01e32f8bc2"}, +{"id":"file-1e807aae9cc383ce","kind":"test_module","current_path":"perovskite-sim/tests/unit/solver/test_numerical_edge_regimes.py","route_id":"route-9cd11ce693c51d7b","sha256":"35dbd9ea6f7a385a85882ba62caef0b2b944297d44aa691af859030c2929ddfa"}, +{"id":"file-52fa4db970c9fd17","kind":"test_module","current_path":"perovskite-sim/tests/unit/solver/test_small_signal.py","route_id":"route-f9649b69c7b5d919","sha256":"cf2d54505b2b0302e4d6acbc4230e31333c335fa8480a0ebc149d1dd15a3c696"}, +{"id":"file-7fb8fe8562cc7801","kind":"test_module","current_path":"perovskite-sim/tests/unit/solver/test_split_step_convergence.py","route_id":"route-5fc42fb20441b511","sha256":"827c55ade270774a8f2bf0c5ea86ed6600f6a511e3efce042a23476970b0a44a"}, +{"id":"file-dc4fc25ea2310c66","kind":"test_module","current_path":"perovskite-sim/tests/unit/solver/test_split_step_diagnostics.py","route_id":"route-fcabd4f13c7440f4","sha256":"6673351dfab5c51dbdf0e2de31541539041cc90d6d1c6f31402e274ec0a94725"}, +{"id":"file-5ba0aad18d2f1f67","kind":"test_module","current_path":"perovskite-sim/tests/unit/solver/test_statevec_interface_plane.py","route_id":"route-d8bab0c113b6c92c","sha256":"bc09e5c66d6f5f94faeb3bfedcda3697ecd0d1be9eb66b13b0f6a4e0a95dd4e9"}, +{"id":"file-2f6cd112078e92a8","kind":"test_module","current_path":"perovskite-sim/tests/unit/solver/test_te_physical_barrier.py","route_id":"route-8d0841e42698394a","sha256":"5182d1ed96c0985d55dae90be48cced899e0549221c95b17e02258c96309dd8a"}, +{"id":"file-01a667c6530f48ef","kind":"test_module","current_path":"perovskite-sim/tests/unit/solver/test_temperature_scaling_plumbing.py","route_id":"route-7b5d6d73a99058b9","sha256":"f6d614a55696bd1391dec879af84c82fda9d6b99022a408d2cf7a0aff1626b65"}, +{"id":"file-a7b5364579884676","kind":"test_module","current_path":"perovskite-sim/tests/unit/solver/test_tolerances.py","route_id":"route-a6cd3ff7a69e26eb","sha256":"cc405753e8913e8c530aaa24a155b411513ca02fe0a3f4992fd626a6c2f45107"}, +{"id":"file-b9fc842e013d48ab","kind":"test_module","current_path":"perovskite-sim/tests/unit/solver/test_trap_transient.py","route_id":"route-ad90404f27c6c7f9","sha256":"19d51c390488831b7e99c0362d4621ca1bdd4e6d460a1bc8ce30400cee3775c2"}, +{"id":"file-116fef41977b3283","kind":"test_module","current_path":"perovskite-sim/tests/unit/solver/test_vbi_propagation.py","route_id":"route-3c3a088c6788510b","sha256":"e9aab54c286132bbae4d3c8132a9cdae4920fee0fe01e67c8526d9e5caf507d1"}, +{"id":"file-76fc82e6d32bb080","kind":"test_module","current_path":"perovskite-sim/tests/unit/sweeps/test_bulk_nt_tau_reference.py","route_id":"route-0342a2b224347806","sha256":"245eeebc82fc75ef7f6a3489923523a4c317d5effa897f2245c5ce002b6fb1df"}, +{"id":"file-0f0fa8d7faadb95e","kind":"test_module","current_path":"perovskite-sim/tests/unit/sweeps/test_device_parameter_sweep.py","route_id":"route-6075ba3df949f758","sha256":"ecf7fcdeef63e5eb2e192df0f87d15ebf730df21d65f1e0ab9ea715921b852a2"}, +{"id":"file-d12f4fa91e12621e","kind":"test_module","current_path":"perovskite-sim/tests/unit/sweeps/test_interface_defect_sweep.py","route_id":"route-74be308e859c2fe0","sha256":"ec30ea88aa9b8f3175808af5356b0389af436760d59e24a9fc26fe12124b28b2"}, +{"id":"file-96cdba64ff6923d2","kind":"test_module","current_path":"perovskite-sim/tests/unit/test_blas_marker_selection.py","route_id":"route-c30b41d08fd69cae","sha256":"6dc64666dd9b50d44c78a766fc09121199ee871dfd1e683e42fea084416ab64f"}, +{"id":"file-1d1872749aaf482e","kind":"test_module","current_path":"perovskite-sim/tests/unit/test_constants.py","route_id":"route-42640c9430d08207","sha256":"5c62115d87c2decd2ce7b00a18ba25ccbb564b42590603cb27c468b7efe78969"}, +{"id":"file-bc57b317ff6297dd","kind":"test_module","current_path":"perovskite-sim/tests/unit/test_reproducibility_baseline.py","route_id":"route-e80b1355f30135e4","sha256":"b90d6e1df750638e3a0aa5c703eb92818492a595e8846e0843dd216d8946ab23"}, +{"id":"file-2d27ec9df022707d","kind":"test_module","current_path":"perovskite-sim/tests/unit/test_script_import_isolation.py","route_id":"route-cf3da606a259c6eb","sha256":"9bab74bb70b65b22f4984993f1c82e4145e642bae582df0624a78428aeac44fa"}, +{"id":"file-0dd2e10e6a96766b","kind":"test_module","current_path":"perovskite-sim/tests/unit/twod/__init__.py","route_id":"route-3d55ba94b3d913d6","sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"}, +{"id":"file-ed5fb9c84d1fa404","kind":"test_module","current_path":"perovskite-sim/tests/unit/twod/test_contact_boundary_semantics.py","route_id":"route-d588857bc051ff95","sha256":"8463d72828a233d40eab9798a0c4cd86fcbb723a74eaaf5adb22971c8f862900"}, +{"id":"file-9dd0e314a2bd919f","kind":"test_module","current_path":"perovskite-sim/tests/unit/twod/test_field_mobility_2d.py","route_id":"route-5ed78ae0a4edc6d0","sha256":"308b889456f9aa2529338365005cfecdf11709104a5965bdacd1f9443afbed9e"}, +{"id":"file-e7fb6948a054eddb","kind":"test_module","current_path":"perovskite-sim/tests/unit/twod/test_flux_2d.py","route_id":"route-955ff820f57bb5e9","sha256":"d06b4de4766eac399fa5724473803cd0f7ed1fee14ec0fd5c9ffcd83a7796c5b"}, +{"id":"file-d961d7cb0cb02ea0","kind":"test_module","current_path":"perovskite-sim/tests/unit/twod/test_grid_2d.py","route_id":"route-1716c9f972ef49c3","sha256":"ede071cba38416871ecffbfc23b8612eb791604902a6e10121c72bd72b515c5c"}, +{"id":"file-8d7dda7adbf7a50a","kind":"test_module","current_path":"perovskite-sim/tests/unit/twod/test_interface_recombination_2d.py","route_id":"route-d1625afde8570970","sha256":"c3202d19fbdc0897eb905d5180d91d696200978de17556d81667d35f7c17547e"}, +{"id":"file-f10b5ffdb8ca74e4","kind":"test_module","current_path":"perovskite-sim/tests/unit/twod/test_ion_migration_2d.py","route_id":"route-243f6048f1c1ed52","sha256":"2b0d10f48c4202059a1fe96ceaeaf117b67d34d364d239a795ae0aeb9b6e89f9"}, +{"id":"file-11fdb857dd8a1e4b","kind":"test_module","current_path":"perovskite-sim/tests/unit/twod/test_jv_protocol_2d.py","route_id":"route-5337e35387ef9425","sha256":"17b8eecee3533c7e0c146e44bd82128f4a10a85e931715908029a3a4b27f2e85"}, +{"id":"file-01c16a3830a43d14","kind":"test_module","current_path":"perovskite-sim/tests/unit/twod/test_microstructure.py","route_id":"route-83200bc247d4a0a8","sha256":"9a4b06a9c0b1ea45cd423b5c9daf58e7a4155dcaa190387c26c8f02654fe9abb"}, +{"id":"file-28009e3f71a73b10","kind":"test_module","current_path":"perovskite-sim/tests/unit/twod/test_mobile_ion_current_2d.py","route_id":"route-6da6c0ca4c4f90fe","sha256":"a9de2603ca6f2bab94d3db8a18fc7c5ea2776f9950fb70db3b3fe2e9b02723d3"}, +{"id":"file-48d8a762c88a1b8c","kind":"test_module","current_path":"perovskite-sim/tests/unit/twod/test_poisson_2d.py","route_id":"route-6e8e39596370dba2","sha256":"72ec2db1660165523910988772c43c237a97e37f51b86f1a334787d8b87754b6"}, +{"id":"file-f86d34ea07b22ece","kind":"test_module","current_path":"perovskite-sim/tests/unit/twod/test_radiative_reabsorption_2d.py","route_id":"route-80acd30035b2339a","sha256":"6626429cd927e4235c633cafad18698bd7e1f04e015dce50b4789942f94796a7"}, +{"id":"file-3756153029a3ff65","kind":"test_module","current_path":"perovskite-sim/tests/unit/twod/test_solver_2d.py","route_id":"route-b328a7af01f4305f","sha256":"f1452ef13250602696eccbafbf7f3496c0ad99ebd7666d23ceef519bf6e104c3"}, +{"id":"file-c2b66990b8fd566b","kind":"test_module","current_path":"perovskite-sim/tests/unit/twod/test_twod_generation_dual_cell.py","route_id":"route-c70968e926ae426b","sha256":"d5bc452a57021a744cac9ccf830e509af16f5099b9df8daa804675fd3ecaeffb"}, +{"id":"file-7036e74e61ef475b","kind":"test_module","current_path":"perovskite-sim/tests/unit/validation/test_accepted_trajectory.py","route_id":"route-be6008fe21482721","sha256":"2df8b07811aa6a5f5b38f2d8a7303cf95b6b9f685187d32cb94dd2377c4da663"}, +{"id":"file-969bdab5df1bd5b1","kind":"test_module","current_path":"perovskite-sim/tests/unit/validation/test_bgn_refinement.py","route_id":"route-526b660f36929d2c","sha256":"ce65c9cfe8f8b4403b6c9a895e555722721290a1a4d9aa8be17917e674ac1ef3"}, +{"id":"file-fb4fe3fb585f36f0","kind":"test_module","current_path":"perovskite-sim/tests/unit/validation/test_bulk_trap_refinement.py","route_id":"route-006d8e96c7c1a08e","sha256":"8203bed826898e45e589e8afb3c39b51120cd5c7ba0f972e2ee86060a378ad4b"}, +{"id":"file-1bd4953bf43fd379","kind":"test_module","current_path":"perovskite-sim/tests/unit/validation/test_charged_defect_refinement.py","route_id":"route-f8a69037f1b73c07","sha256":"39a1ac7e889d10fb5ce7b2efd79f4215b79555ea27611bd43ddc0ae2b67d212b"}, +{"id":"file-ed69fa6cba2b0174","kind":"test_module","current_path":"perovskite-sim/tests/unit/validation/test_cigs_optics_refinement.py","route_id":"route-9a5e6c59a7d96ad1","sha256":"f390e40c52008e31ca4f8d54416a212028e740926778a76d6dcde3656a135035"}, +{"id":"file-343b71d2f1680d34","kind":"test_module","current_path":"perovskite-sim/tests/unit/validation/test_compare_scaps_defect_reference.py","route_id":"route-0104588b49b88f9b","sha256":"a4508cf79f14a227126b72f9c8c416ee121b8257562b5ad530e68906626e9750"}, +{"id":"file-a1e325162cd52f9e","kind":"test_module","current_path":"perovskite-sim/tests/unit/validation/test_dae_dual_ion_refinement.py","route_id":"route-efbcd2ee4ec7f5e8","sha256":"390954993aa3e86a6055dbec2b3bd7d64870ac6951b7ce34c89246f8cc8d5fdb"}, +{"id":"file-4b99dd3ed6e9db2f","kind":"test_module","current_path":"perovskite-sim/tests/unit/validation/test_dae_interface_refinement.py","route_id":"route-a4f3c71dafc5851a","sha256":"f2ebe7a72e66c9918510c5cad9e3104e28a2ff8e44c017040ecf2120b63daec3"}, +{"id":"file-92592dbfa42f9a0b","kind":"test_module","current_path":"perovskite-sim/tests/unit/validation/test_dae_ion_interface_refinement.py","route_id":"route-d66e7d8fa6b3c1bf","sha256":"b5bba01cb25a4ff214605dac034c8e9561e97d3043bf4c2492e6b7dd2f09d02e"}, +{"id":"file-df112bceb7439fd6","kind":"test_module","current_path":"perovskite-sim/tests/unit/validation/test_dae_ion_refinement.py","route_id":"route-117011ac136a4243","sha256":"e221ff0376e9aafb7cc8fc5f4fc5033c2ee0cd1ca2a264c015652cdec2a070d1"}, +{"id":"file-9a90289a0c80544e","kind":"test_module","current_path":"perovskite-sim/tests/unit/validation/test_dae_refinement.py","route_id":"route-3ce04367c4935fc9","sha256":"3d03062793e4a371f751e4b6d42f076d0c04db72be0cade0d400d72dcb8c7092"}, +{"id":"file-1568ccb99352e57a","kind":"test_module","current_path":"perovskite-sim/tests/unit/validation/test_defect_energy_refinement.py","route_id":"route-365667b3669b6b29","sha256":"e61a70b1f6156c57d9aa1bdccbbcaba568033d8bc9000ece8e24b09f47b35a9c"}, +{"id":"file-8c65505ec52f8f60","kind":"test_module","current_path":"perovskite-sim/tests/unit/validation/test_degenerate_refinement.py","route_id":"route-307dbf7ba359e774","sha256":"c597e964303d96ddea72e38774b82b9684b69b7082be1d7c7456f18b94fc00b9"}, +{"id":"file-eb7d9403259c987c","kind":"test_module","current_path":"perovskite-sim/tests/unit/validation/test_distributed_defect_refinement.py","route_id":"route-7d9043b233e15280","sha256":"3dbd87674a52a06712940c49def0bfe701baf65962590abac914c42f0893bb15"}, +{"id":"file-dff1ed3fc2fce6f6","kind":"test_module","current_path":"perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py","route_id":"route-58c3b6b1d279e02c","sha256":"b9f5abf5bba35da64353f3d90d0ebdcdcffc48abce09bc820c71a2f23356841c"}, +{"id":"file-7e899c973301c22b","kind":"test_module","current_path":"perovskite-sim/tests/unit/validation/test_electrothermal_refinement.py","route_id":"route-010a81ffe4fc7bba","sha256":"08e978cc7fff8d2ad915457a5040e71cd7da4c7afe7d968d13c6eeadc9c84287"}, +{"id":"file-300026b7896f446f","kind":"test_module","current_path":"perovskite-sim/tests/unit/validation/test_external_circuit_refinement.py","route_id":"route-3a9981201fd875af","sha256":"425b2654955a9a7d55124595dd45d1d6e8fb1c9a15d413fc2108238793134643"}, +{"id":"file-62500185172902e4","kind":"test_module","current_path":"perovskite-sim/tests/unit/validation/test_foundation_reference_refinement.py","route_id":"route-99e9f4e9a864f5b4","sha256":"ff57c80cb62abce866b2e0d1072e9909099fd8223cb00cfcb9e1940774aa36b9"}, +{"id":"file-8a16d55a1114df6f","kind":"test_module","current_path":"perovskite-sim/tests/unit/validation/test_foundation_reference_sampling.py","route_id":"route-b311e4efe8523e7d","sha256":"3deb7c9344c001712d542f2d6e56d99a0602126df0bb8e54eb1d435a078abf34"}, +{"id":"file-e385274f90380469","kind":"test_module","current_path":"perovskite-sim/tests/unit/validation/test_grid_convergence.py","route_id":"route-d5e52a9d9e5960df","sha256":"90805a0ffe3eba188338a84da6a7cb5f1493d25b5a795e24b5f60c1775a71da5"}, +{"id":"file-5752a83d075ea7ec","kind":"test_module","current_path":"perovskite-sim/tests/unit/validation/test_identifiability_refinement.py","route_id":"route-2b5db52bc830455b","sha256":"2207b6de437498a9ccc27e9261546ca6154bb87382d19bc14feca8a18db71490"}, +{"id":"file-47bf6ff8bee2be1a","kind":"test_module","current_path":"perovskite-sim/tests/unit/validation/test_import_scaps_defect_reference.py","route_id":"route-ea9e842e5124c927","sha256":"d671874893102ac6a7a982d5d948a4bc28d12df17e934959eaa4f123404ed64e"}, +{"id":"file-49a0b67eb6b9f101","kind":"test_module","current_path":"perovskite-sim/tests/unit/validation/test_import_scaps_multivalent_defect_reference.py","route_id":"route-398628efb166a6f0","sha256":"fb287b06e23ca0b157c1b4697018398a006b394cac5620f31310ae024ed5662c"}, +{"id":"file-48b79f01256e2dc7","kind":"test_module","current_path":"perovskite-sim/tests/unit/validation/test_incomplete_ionization_refinement.py","route_id":"route-48a779def1adea38","sha256":"f0971da57a4e50a51c23e2c077ca87e0938977e4fb1180b5cd915a567dc445a0"}, +{"id":"file-6736a5cb5e395230","kind":"test_module","current_path":"perovskite-sim/tests/unit/validation/test_interface_charge_stress.py","route_id":"route-15d3fb17a577a78a","sha256":"1504a10d1bf7c35532c251f3c7417dcdb7380644ff4fa3e79e8737acfc0e3138"}, +{"id":"file-586c44e62a34d59c","kind":"test_module","current_path":"perovskite-sim/tests/unit/validation/test_multivalent_defect_refinement.py","route_id":"route-a4df2873c86f552b","sha256":"1883fd0e1ce16cb80b2ebe270560726913295b323e9e1790018d55de73dafe75"}, +{"id":"file-78f45bcf71753b78","kind":"test_module","current_path":"perovskite-sim/tests/unit/validation/test_refinement_executors.py","route_id":"route-1fc03cea8e292893","sha256":"b3da804ee34c977891951564c1d71d354a304a356db66c0851d20dfd336e9bd5"}, +{"id":"file-3242f299df9a7cb6","kind":"test_module","current_path":"perovskite-sim/tests/unit/validation/test_regularization_certificate.py","route_id":"route-18312a26fd9a48b6","sha256":"89faeef1fe8b72d1c3a8b3551b05ae51aa4f7311043b4fea35311907ecf951bf"}, +{"id":"file-a3605298ddb2f265","kind":"test_module","current_path":"perovskite-sim/tests/unit/validation/test_resolved_tunnelling_refinement.py","route_id":"route-f2bbdfc3313080a5","sha256":"2b8caf83a10dcdfe1bc97839508bfe0ad1c77946c287046a3240356bdc1067f3"}, +{"id":"file-c0f5478555a1c817","kind":"test_module","current_path":"perovskite-sim/tests/unit/validation/test_spatial_defect_refinement.py","route_id":"route-eb6a265f66d286ce","sha256":"08ebf37928dfd7f649568a5fa8796ab71d6cf6edcdddc28edace2fc611993f6c"}, +{"id":"file-4edd3f02b791098b","kind":"test_module","current_path":"perovskite-sim/tests/unit/validation/test_tunnelling_channel_refinement.py","route_id":"route-7b656802468076c8","sha256":"c74dfbc45323b9363259783dcb343d150fec06269cb58dfaf6c7bd7b0ebe0c5f"}, +{"id":"file-d4c16c54fc227ffa","kind":"test_module","current_path":"perovskite-sim/tests/unit/validation/test_twod_combined_refinement.py","route_id":"route-052455e87172b648","sha256":"b6a45c4e1d82f9c0c6b5333ff1e7b24fe075bbd3f6572947af51c90b6c7c22c5"}, +{"id":"file-941702fc29c25a5b","kind":"test_module","current_path":"perovskite-sim/tests/validation/__init__.py","route_id":"route-3cc7f1b24bdda216","sha256":"2719a050a63a44a169a6dd511df031cfd0a10aa3d3a983b7c2b220892491eb7e"}, +{"id":"file-c62c97b092183f1e","kind":"test_module","current_path":"perovskite-sim/tests/validation/test_csi_vannijen2025_cv.py","route_id":"route-dd72355af5e37942","sha256":"6d8c9fb09802a83f3594ac4b8a66cfa758c0800651d2b7a1305cde7f3d5ae490"}, +{"id":"file-9e3e66d9b1760c29","kind":"test_module","current_path":"perovskite-sim/tests/validation/test_paper_configurations.py","route_id":"route-d982a585da9c5623","sha256":"a6889042842095ced7f3d8d24d6c5e478a6c7335051b42a98cf8bd775d4d4b6a"}, +{"id":"file-c6408750485bf9a5","kind":"test_module","current_path":"perovskite-sim/tests/validation/test_physical_trends.py","route_id":"route-b4b18f865ac8d2b9","sha256":"a5ceface6d884cc6245497b528f2cf9790ac4168f5870dd31c159769a56a2039"}, +{"id":"file-4d85bdda23ed3f69","kind":"script","current_path":"scripts/generate_readme_figures.py","route_id":"route-d6dd912a0096f071","sha256":"214f56740e868fa564cac1a8a0e654156157626b981b2c7956b9427374d65233"}, +{"id":"file-6b0803e5b0149da5","kind":"script","current_path":"scripts/plot_paper_validation.py","route_id":"route-48affd446b830065","sha256":"7ba8f66066a1f2e70a37248a689268abd5ee6df818778a4c96dda6be29fee158"}, +{"id":"file-07d26356c59dde7c","kind":"script","current_path":"scripts/plot_validation_trends.py","route_id":"route-73d22757b0b4f2e4","sha256":"9ebd9dc66e1d63b9d69fc073a676b381fa0560a8230d8464c43598eb8ec2cbfa"}, +{"id":"file-d02b7a76379799f8","kind":"script","current_path":"scripts/zotero_group_scaps.js","route_id":"route-f9f75426306bfb1f","sha256":"128610843cce66a46666df3ed4e0ad7b5ed7c61e6af7d02797997ee4ac2fc81c"}, +{"id":"file-d9fc85f70a568e13","kind":"script","current_path":"scripts/zotero_import_scaps_literature.js","route_id":"route-790688d78e57ec61","sha256":"83baa7ef11b637644029db8860acb0057c72fd1cb05d44b5e72a5b6f0db634ac"}, +{"id":"file-4db4e8414e5fafb6","kind":"repository_file","current_path":"skills-lock.json","route_id":"route-b59cf25e0422037d","sha256":"f725de1d5bbedfa6ae5ad3031acdeb712632362621e7d0981c238fd7ad791035"} +], +"migration_routes": {"route-4ae7a164802bba6a":{"disposition":"retain","target_paths":["deck-src/MakeFigs.py"],"target_path_base":"archive","migration_tasks":["P03-06","P09-04"],"gate_ids":["G3","G7","G9"]},"route-ea5b4616e71eb697":{"disposition":"retain","target_paths":["deck-src/MakeGridFig.py"],"target_path_base":"archive","migration_tasks":["P03-06","P09-04"],"gate_ids":["G3","G7","G9"]},"route-f6663484cd350014":{"disposition":"retain","target_paths":["deck-src/Replot/Replot2d.py"],"target_path_base":"archive","migration_tasks":["P03-06","P09-04"],"gate_ids":["G3","G7","G9"]},"route-c302fdc35859bb14":{"disposition":"retain","target_paths":["deck-src/Replot/ReplotSweeps.py"],"target_path_base":"archive","migration_tasks":["P03-06","P09-04"],"gate_ids":["G3","G7","G9"]},"route-3ecd898231f598f3":{"disposition":"retain","target_paths":["develop/Manual/Figures/MakeBoundaryConditions2dFigure.py"],"target_path_base":"archive","migration_tasks":["P03-06","P09-04"],"gate_ids":["G3","G7","G9"]},"route-eab09c2def1bd583":{"disposition":"retain","target_paths":["develop/Manual/Figures/MakeDarkToLightChargeMapAnimation.py"],"target_path_base":"archive","migration_tasks":["P03-06","P09-04"],"gate_ids":["G3","G7","G9"]},"route-f0901dc497ff9199":{"disposition":"retain","target_paths":["develop/Manual/Figures/MakeInitialConditionAnimation.py"],"target_path_base":"archive","migration_tasks":["P03-06","P09-04"],"gate_ids":["G3","G7","G9"]},"route-6fbabdc449c5d0ed":{"disposition":"retain","target_paths":["develop/Manual/Figures/MakeJvStepwiseSweepAnimation.py"],"target_path_base":"archive","migration_tasks":["P03-06","P09-04"],"gate_ids":["G3","G7","G9"]},"route-7255052cab63e913":{"disposition":"retain","target_paths":["develop/Manual/Figures/MakeRadauStageAnimation.py"],"target_path_base":"archive","migration_tasks":["P03-06","P09-04"],"gate_ids":["G3","G7","G9"]},"route-03bb29fe0b0e9faa":{"disposition":"retain","target_paths":["develop/Manual/Figures/MakeRadauTransientSolveFigure.py"],"target_path_base":"archive","migration_tasks":["P03-06","P09-04"],"gate_ids":["G3","G7","G9"]},"route-7b54a0d18d56543b":{"disposition":"retain","target_paths":["develop/Manual/Figures/MakeRhsAssemblyAnimation.py"],"target_path_base":"archive","migration_tasks":["P03-06","P09-04"],"gate_ids":["G3","G7","G9"]},"route-1591466e93d611ff":{"disposition":"retain","target_paths":["develop/Manual/Figures/MakeScaps1dInputParameterTable.py"],"target_path_base":"archive","migration_tasks":["P03-06","P09-04"],"gate_ids":["G3","G7","G9"]},"route-cfb782aba94dc85c":{"disposition":"retain","target_paths":["develop/Manual/ManualFigures.py"],"target_path_base":"archive","migration_tasks":["P03-06","P09-04"],"gate_ids":["G3","G7","G9"]},"route-4b252d46bb322d9d":{"disposition":"retain","target_paths":["figures/ScapsIfaceSrhExplainer/MakeIfaceSrh.py"],"target_path_base":"archive","migration_tasks":["P03-06","P09-04"],"gate_ids":["G3","G7","G9"]},"route-401cce2bbabecc3f":{"disposition":"retain","target_paths":["figures/ScapsIfaceSrhExplainer/MakeSolverGap.py"],"target_path_base":"archive","migration_tasks":["P03-06","P09-04"],"gate_ids":["G3","G7","G9"]},"route-f13ea1085e6c91d1":{"disposition":"migrate","target_paths":["reproducibility/ConfigBenchmarkMatrixV2.yaml"],"migration_tasks":["P00-03","P03-06","P09-01"],"gate_ids":["G0","G3","G9"]},"route-310acb5aa128b161":{"disposition":"migrate","target_paths":["configs/calado2016_fig1f.yaml"],"migration_tasks":["P03-03","P03-04","P03-06","P03-07","P09-02"],"gate_ids":["G3","G9"],"mapping_rule":"preserve_existing_capability"},"route-7472798ebe5d8f74":{"disposition":"migrate","target_paths":["configs/calado2016_ion_sweep.yaml"],"migration_tasks":["P03-03","P03-04","P03-06","P03-07","P09-02"],"gate_ids":["G3","G9"],"mapping_rule":"preserve_existing_capability"},"route-84c80fa1daa339dc":{"disposition":"migrate","target_paths":["configs/scaps_mirror_v2.yaml"],"migration_tasks":["P03-03","P03-04","P03-06","P03-07","P09-02"],"gate_ids":["G3","G9"],"mapping_rule":"preserve_existing_capability"},"route-3e363a019e4cd064":{"disposition":"migrate","target_paths":["tests/fixtures/configs/cSi_homojunction.yaml"],"migration_tasks":["P00-03","P03-03","P03-04","P03-06","P03-07","P09-01","P09-03"],"gate_ids":["G0","G3","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-21b0ff9630f8ae85":{"disposition":"migrate","target_paths":["tests/fixtures/configs/cigs_baseline.yaml"],"migration_tasks":["P00-03","P03-03","P03-04","P03-06","P03-07","P09-01","P09-03"],"gate_ids":["G0","G3","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-5c1b3eb8a6a7f4e5":{"disposition":"migrate","target_paths":["tests/fixtures/configs/cigs_graded_notch.yaml"],"migration_tasks":["P00-03","P03-03","P03-04","P03-06","P03-07","P09-01","P09-03"],"gate_ids":["G0","G3","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-8db8765abf5ee9f3":{"disposition":"migrate","target_paths":["tests/fixtures/configs/cigs_graded_optics.yaml"],"migration_tasks":["P00-03","P03-03","P03-04","P03-06","P03-07","P09-01","P09-03"],"gate_ids":["G0","G3","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-398332ff07802635":{"disposition":"migrate","target_paths":["tests/fixtures/configs/csi_degenerate_pn_research.yaml"],"migration_tasks":["P00-03","P03-03","P03-04","P03-06","P03-07","P09-01","P09-03"],"gate_ids":["G0","G3","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-43fc090c275cc388":{"disposition":"migrate","target_paths":["tests/fixtures/configs/csi_gaussian_bulk_trap_pn_research.yaml"],"migration_tasks":["P00-03","P03-03","P03-04","P03-06","P03-07","P09-01","P09-03"],"gate_ids":["G0","G3","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-968f594d810f3811":{"disposition":"migrate","target_paths":["tests/fixtures/configs/csi_incomplete_ionization_bgn_pn_research.yaml"],"migration_tasks":["P00-03","P03-03","P03-04","P03-06","P03-07","P09-01","P09-03"],"gate_ids":["G0","G3","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-90082a7daf0a2578":{"disposition":"migrate","target_paths":["tests/fixtures/configs/csi_incomplete_ionization_pn_research.yaml"],"migration_tasks":["P00-03","P03-03","P03-04","P03-06","P03-07","P09-01","P09-03"],"gate_ids":["G0","G3","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-ff10c28994924966":{"disposition":"migrate","target_paths":["tests/fixtures/configs/csi_vannijen2025_pn_cv.yaml"],"migration_tasks":["P00-03","P03-03","P03-04","P03-06","P03-07","P09-01","P09-03"],"gate_ids":["G0","G3","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-275402423fc4ed4a":{"disposition":"migrate","target_paths":["tests/fixtures/configs/distributed_defect_qf_dc_pn.yaml"],"migration_tasks":["P00-03","P03-03","P03-04","P03-06","P03-07","P09-01","P09-03"],"gate_ids":["G0","G3","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-1d3f212b77a58f9a":{"disposition":"migrate","target_paths":["tests/fixtures/configs/driftfusion_benchmark.yaml"],"migration_tasks":["P00-03","P03-03","P03-04","P03-06","P03-07","P09-01","P09-03"],"gate_ids":["G0","G3","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-595f9562ae90c9fe":{"disposition":"migrate","target_paths":["tests/fixtures/configs/driftfusion_benchmark_tmm.yaml"],"migration_tasks":["P00-03","P03-03","P03-04","P03-06","P03-07","P09-01","P09-03"],"gate_ids":["G0","G3","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-b34243d07735be0d":{"disposition":"migrate","target_paths":["tests/fixtures/configs/driftfusion_calado2016_repro.yaml"],"migration_tasks":["P00-03","P03-03","P03-04","P03-06","P03-07","P09-01","P09-03"],"gate_ids":["G0","G3","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-736016fc1f5558d5":{"disposition":"migrate","target_paths":["tests/fixtures/configs/dual_ion_demo.yaml"],"migration_tasks":["P00-03","P03-03","P03-04","P03-06","P03-07","P09-01","P09-03"],"gate_ids":["G0","G3","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-727f4ae5fdd34401":{"disposition":"migrate","target_paths":["tests/fixtures/configs/dynamic_defect_ion_impedance.yaml"],"migration_tasks":["P00-03","P03-03","P03-04","P03-06","P03-07","P09-01","P09-03"],"gate_ids":["G0","G3","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-3f680b4d468d392e":{"disposition":"migrate","target_paths":["tests/fixtures/configs/dynamic_interface_defect_ion_transient.yaml"],"migration_tasks":["P00-03","P03-03","P03-04","P03-06","P03-07","P09-01","P09-03"],"gate_ids":["G0","G3","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-17ff65132973919e":{"disposition":"migrate","target_paths":["tests/fixtures/configs/dynamic_interface_defect_ion_transient_absorber_only.yaml"],"migration_tasks":["P00-03","P03-03","P03-04","P03-06","P03-07","P09-01","P09-03"],"gate_ids":["G0","G3","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-8d671203a585efbd":{"disposition":"migrate","target_paths":["tests/fixtures/configs/field_mobility_demo.yaml"],"migration_tasks":["P00-03","P03-03","P03-04","P03-06","P03-07","P09-01","P09-03"],"gate_ids":["G0","G3","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-4e1f3e1d9d7c6ed7":{"disposition":"migrate","target_paths":["tests/fixtures/configs/graded_distributed_defect_qf_dc_pn.yaml"],"migration_tasks":["P00-03","P03-03","P03-04","P03-06","P03-07","P09-01","P09-03"],"gate_ids":["G0","G3","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-44d027c82b22f9a8":{"disposition":"migrate","target_paths":["tests/fixtures/configs/interface_charge_jv_research.yaml"],"migration_tasks":["P00-03","P03-03","P03-04","P03-06","P03-07","P09-01","P09-03"],"gate_ids":["G0","G3","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-fae3349541eab079":{"disposition":"migrate","target_paths":["tests/fixtures/configs/interface_charge_reference.yaml"],"migration_tasks":["P00-03","P03-03","P03-04","P03-06","P03-07","P09-01","P09-03"],"gate_ids":["G0","G3","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-877e27af07c80468":{"disposition":"migrate","target_paths":["tests/fixtures/configs/interface_charge_research.yaml"],"migration_tasks":["P00-03","P03-03","P03-04","P03-06","P03-07","P09-01","P09-03"],"gate_ids":["G0","G3","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-fae13ebaaed38b2b":{"disposition":"migrate","target_paths":["tests/fixtures/configs/ionmonger_benchmark.yaml"],"migration_tasks":["P00-03","P03-03","P03-04","P03-06","P03-07","P09-01","P09-03"],"gate_ids":["G0","G3","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-f4e061a46dc18892":{"disposition":"migrate","target_paths":["tests/fixtures/configs/ionmonger_benchmark_tmm.yaml"],"migration_tasks":["P00-03","P03-03","P03-04","P03-06","P03-07","P09-01","P09-03"],"gate_ids":["G0","G3","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-c5b44f4943119d00":{"disposition":"migrate","target_paths":["tests/fixtures/configs/ionmonger_courtier2019_repro.yaml"],"migration_tasks":["P00-03","P03-03","P03-04","P03-06","P03-07","P09-01","P09-03"],"gate_ids":["G0","G3","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-351a1ce390c723f3":{"disposition":"migrate","target_paths":["tests/fixtures/configs/nip_MAPbI3.yaml"],"migration_tasks":["P00-03","P03-03","P03-04","P03-06","P03-07","P09-01","P09-03"],"gate_ids":["G0","G3","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-443038a9aa9ef61c":{"disposition":"migrate","target_paths":["tests/fixtures/configs/nip_MAPbI3_tmm.yaml"],"migration_tasks":["P00-03","P03-03","P03-04","P03-06","P03-07","P09-01","P09-03"],"gate_ids":["G0","G3","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-9e91854154c2cf55":{"disposition":"migrate","target_paths":["tests/fixtures/configs/nip_SnPb_1p22.yaml"],"migration_tasks":["P00-03","P03-03","P03-04","P03-06","P03-07","P09-01","P09-03"],"gate_ids":["G0","G3","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-eeacceecfd412947":{"disposition":"migrate","target_paths":["tests/fixtures/configs/nip_wideGap_FACs_1p77.yaml"],"migration_tasks":["P00-03","P03-03","P03-04","P03-06","P03-07","P09-01","P09-03"],"gate_ids":["G0","G3","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-a9fa5a66ef94271a":{"disposition":"migrate","target_paths":["tests/fixtures/configs/pin_MAPbI3.yaml"],"migration_tasks":["P00-03","P03-03","P03-04","P03-06","P03-07","P09-01","P09-03"],"gate_ids":["G0","G3","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-43b26b3f638d0233":{"disposition":"migrate","target_paths":["tests/fixtures/configs/pin_MAPbI3_tmm.yaml"],"migration_tasks":["P00-03","P03-03","P03-04","P03-06","P03-07","P09-01","P09-03"],"gate_ids":["G0","G3","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-278fff8d9b35f558":{"disposition":"migrate","target_paths":["tests/fixtures/configs/radiative_limit.yaml"],"migration_tasks":["P00-03","P03-03","P03-04","P03-06","P03-07","P09-01","P09-03"],"gate_ids":["G0","G3","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-006e644ce28423fd":{"disposition":"migrate","target_paths":["tests/fixtures/configs/scaps_defect_m1_double_donor_p.yaml"],"migration_tasks":["P00-03","P03-03","P03-04","P03-06","P03-07","P09-01","P09-03"],"gate_ids":["G0","G3","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-0a670bf420b4ad62":{"disposition":"migrate","target_paths":["tests/fixtures/configs/scaps_defect_m2_double_acceptor_n.yaml"],"migration_tasks":["P00-03","P03-03","P03-04","P03-06","P03-07","P09-01","P09-03"],"gate_ids":["G0","G3","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-783b79bd8f3bd947":{"disposition":"migrate","target_paths":["tests/fixtures/configs/scaps_defect_m3_amphoteric_i.yaml"],"migration_tasks":["P00-03","P03-03","P03-04","P03-06","P03-07","P09-01","P09-03"],"gate_ids":["G0","G3","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-aea6f17977e39b09":{"disposition":"migrate","target_paths":["tests/fixtures/configs/scaps_defect_s0_neutral.yaml"],"migration_tasks":["P00-03","P03-03","P03-04","P03-06","P03-07","P09-01","P09-03"],"gate_ids":["G0","G3","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-41d7d13562bdf598":{"disposition":"migrate","target_paths":["tests/fixtures/configs/scaps_defect_s1_acceptor_n.yaml"],"migration_tasks":["P00-03","P03-03","P03-04","P03-06","P03-07","P09-01","P09-03"],"gate_ids":["G0","G3","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-ae8257edc86bca50":{"disposition":"migrate","target_paths":["tests/fixtures/configs/scaps_defect_s2_donor_p.yaml"],"migration_tasks":["P00-03","P03-03","P03-04","P03-06","P03-07","P09-01","P09-03"],"gate_ids":["G0","G3","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-ecb2e87965bc4547":{"disposition":"migrate","target_paths":["tests/fixtures/configs/scaps_mirror.yaml"],"migration_tasks":["P00-03","P03-03","P03-04","P03-06","P03-07","P09-01","P09-03"],"gate_ids":["G0","G3","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-d8015572b208014c":{"disposition":"migrate","target_paths":["tests/fixtures/configs/scaps_mirror_v2_robin_moderate.yaml"],"migration_tasks":["P00-03","P03-03","P03-04","P03-06","P03-07","P09-01","P09-03"],"gate_ids":["G0","G3","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-aa9ed5cb98d6041f":{"disposition":"migrate","target_paths":["tests/fixtures/configs/scaps_mirror_v2_robin_strong.yaml"],"migration_tasks":["P00-03","P03-03","P03-04","P03-06","P03-07","P09-01","P09-03"],"gate_ids":["G0","G3","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-f4eb0551c177833b":{"disposition":"migrate","target_paths":["tests/fixtures/configs/selective_contacts_demo.yaml"],"migration_tasks":["P00-03","P03-03","P03-04","P03-06","P03-07","P09-01","P09-03"],"gate_ids":["G0","G3","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-b332df9065bee09f":{"disposition":"migrate","target_paths":["tests/fixtures/configs/solarscale_nip_band_aligned.yaml"],"migration_tasks":["P00-03","P03-03","P03-04","P03-06","P03-07","P09-01","P09-03"],"gate_ids":["G0","G3","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-1c8c57768cf4792e":{"disposition":"migrate","target_paths":["tests/fixtures/configs/solarscale_nip_band_aligned_iface.yaml"],"migration_tasks":["P00-03","P03-03","P03-04","P03-06","P03-07","P09-01","P09-03"],"gate_ids":["G0","G3","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-a36008fc21021674":{"disposition":"migrate","target_paths":["tests/fixtures/configs/tandem_lin2019.yaml"],"migration_tasks":["P00-03","P03-03","P03-04","P03-06","P03-07","P09-01","P09-03"],"gate_ids":["G0","G3","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-5c4bf98784988f45":{"disposition":"migrate","target_paths":["tests/fixtures/configs/tpv_physical_reference.yaml"],"migration_tasks":["P00-03","P03-03","P03-04","P03-06","P03-07","P09-01","P09-03"],"gate_ids":["G0","G3","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-b3b3d7b3f65ef2c0":{"disposition":"migrate","target_paths":["tests/fixtures/configs/twod/bcx_combined_demo.yaml"],"migration_tasks":["P00-03","P03-03","P03-04","P03-06","P03-07","P06-01","P06-02","P06-03","P09-01","P09-03"],"gate_ids":["G0","G3","G6","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-b51b9c3d1eb778a5":{"disposition":"migrate","target_paths":["tests/fixtures/configs/twod/combined_mobile_interface_research.yaml"],"migration_tasks":["P00-03","P03-03","P03-04","P03-06","P03-07","P06-01","P06-02","P06-03","P09-01","P09-03"],"gate_ids":["G0","G3","G6","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-e223eafff765f7f4":{"disposition":"migrate","target_paths":["tests/fixtures/configs/twod/nip_MAPbI3_singleGB.yaml"],"migration_tasks":["P00-03","P03-03","P03-04","P03-06","P03-07","P06-01","P06-02","P06-03","P09-01","P09-03"],"gate_ids":["G0","G3","G6","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-7d9b96be3bfbfda0":{"disposition":"migrate","target_paths":["tests/fixtures/configs/twod/nip_MAPbI3_uniform.yaml"],"migration_tasks":["P00-03","P03-03","P03-04","P03-06","P03-07","P06-01","P06-02","P06-03","P09-01","P09-03"],"gate_ids":["G0","G3","G6","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-a5a37f88e084cf73":{"disposition":"migrate","target_paths":["tests/fixtures/configs/wkb_resolved_electron_barrier.yaml"],"migration_tasks":["P00-03","P03-03","P03-04","P03-06","P03-07","P09-01","P09-03"],"gate_ids":["G0","G3","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-0ddbd675c3036e83":{"disposition":"migrate","target_paths":["tests/fixtures/configs/wkb_tunnelling_intraband_spike.yaml"],"migration_tasks":["P00-03","P03-03","P03-04","P03-06","P03-07","P09-01","P09-03"],"gate_ids":["G0","G3","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-8b705c7e01d821a0":{"disposition":"retain","target_paths":["src/solarlab_server/schemas.py"],"migration_tasks":["P03-07","P06-04","P06-05","P06-06","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"dormant_public_or_documented_entrypoint_pending_retirement_review"},"route-7c9291c36e038114":{"disposition":"replace","target_paths":["src/solarlab_server/routes/configs.py","src/solarlab_server/routes/experiments.py","src/solarlab_server/routes/jobs.py"],"migration_tasks":["P03-07","P06-04","P06-05","P06-06","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-3edbcca23dc45d5b":{"disposition":"retain","target_paths":["tests/numerical_contracts/reference_compat/scipy_shim.py"],"migration_tasks":["P02-01","P02-09","P04-01","P04-05","P09-03"],"gate_ids":["G2","G4","G9"],"mapping_rule":"fallback_oracle_review_before_any_retirement"},"route-6099117639558322":{"disposition":"migrate","target_paths":["src/solarlab/experiments/bulk_defect_ion_transient.py"],"migration_tasks":["P04-08","P04-10","P05-01","P05-04"],"gate_ids":["G4","G5"],"mapping_rule":"preserve_existing_capability"},"route-7fdd0a08afe81954":{"disposition":"migrate","target_paths":["src/solarlab/experiments/bulk_defect_transient.py"],"migration_tasks":["P04-10","P05-01","P05-04"],"gate_ids":["G4","G5"],"mapping_rule":"preserve_existing_capability"},"route-ab8776e954576856":{"disposition":"migrate","target_paths":["src/solarlab_research/cbo/cbo_scan.py"],"migration_tasks":["P05-01","P05-05","P07-01","P07-05"],"gate_ids":["G5","G7"],"mapping_rule":"preserve_existing_capability"},"route-637f1e727f89e31a":{"disposition":"migrate","target_paths":["src/solarlab/experiments/dark_jv.py"],"migration_tasks":["P04-05","P05-01","P05-02"],"gate_ids":["G4","G5"],"mapping_rule":"preserve_existing_capability"},"route-2accc863cbfb1452":{"disposition":"migrate","target_paths":["src/solarlab/experiments/defect_aware_impedance.py"],"migration_tasks":["P04-06","P04-10","P05-01","P05-03"],"gate_ids":["G4","G5"],"mapping_rule":"preserve_existing_capability"},"route-7e52697666c1d1db":{"disposition":"migrate","target_paths":["src/solarlab/experiments/defect_ion_combined_impedance.py"],"migration_tasks":["P04-06","P04-08","P04-10","P05-01","P05-03"],"gate_ids":["G4","G5"],"mapping_rule":"preserve_existing_capability"},"route-5f608c1296bb5da2":{"disposition":"migrate","target_paths":["src/solarlab/experiments/degradation.py"],"migration_tasks":["P05-01","P05-04"],"gate_ids":["G5"],"mapping_rule":"preserve_existing_capability"},"route-130393a19cff03be":{"disposition":"migrate","target_paths":["src/solarlab/experiments/dynamic_defect_impedance.py"],"migration_tasks":["P04-06","P04-10","P05-01","P05-03"],"gate_ids":["G4","G5"],"mapping_rule":"preserve_existing_capability"},"route-a56ff31ad57a1f0e":{"disposition":"migrate","target_paths":["src/solarlab/experiments/dynamic_defect_transient.py"],"migration_tasks":["P04-10","P05-01","P05-04"],"gate_ids":["G4","G5"],"mapping_rule":"preserve_existing_capability"},"route-7db2e643362dfd6c":{"disposition":"migrate","target_paths":["src/solarlab/experiments/electrothermal.py"],"migration_tasks":["P04-13","P05-01","P05-04"],"gate_ids":["G4","G5"],"mapping_rule":"preserve_existing_capability"},"route-5a8723c98dfd6f67":{"disposition":"migrate","target_paths":["src/solarlab/experiments/eqe.py"],"migration_tasks":["P04-06","P05-01","P05-03"],"gate_ids":["G4","G5"],"mapping_rule":"preserve_existing_capability"},"route-f5899aee3f4d6b9e":{"disposition":"migrate","target_paths":["src/solarlab/experiments/external_circuit.py"],"migration_tasks":["P04-13","P05-01","P05-04"],"gate_ids":["G4","G5"],"mapping_rule":"preserve_existing_capability"},"route-aabd8ca4f67f1c35":{"disposition":"migrate","target_paths":["src/solarlab/analysis/identifiability.py"],"migration_tasks":["P05-01","P05-05"],"gate_ids":["G5"],"mapping_rule":"preserve_existing_capability"},"route-7476954ae0fdb534":{"disposition":"migrate","target_paths":["src/solarlab/experiments/impedance.py"],"migration_tasks":["P04-06","P05-01","P05-03"],"gate_ids":["G4","G5"],"mapping_rule":"preserve_existing_capability"},"route-5e747a794c569195":{"disposition":"migrate","target_paths":["src/solarlab/experiments/interface_charge_jv.py"],"migration_tasks":["P04-09","P05-01","P05-04"],"gate_ids":["G4","G5"],"mapping_rule":"preserve_existing_capability"},"route-0f4037cecfd2937f":{"disposition":"migrate","target_paths":["src/solarlab/experiments/interface_defect_aware_impedance.py"],"migration_tasks":["P04-06","P04-09","P04-10","P05-01","P05-03"],"gate_ids":["G4","G5"],"mapping_rule":"preserve_existing_capability"},"route-4a5beb0fdcf3619a":{"disposition":"migrate","target_paths":["src/solarlab/experiments/interface_defect_ion_transient.py"],"migration_tasks":["P04-08","P04-09","P04-10","P05-01","P05-04"],"gate_ids":["G4","G5"],"mapping_rule":"preserve_existing_capability"},"route-9b19d2ed844a6c53":{"disposition":"migrate","target_paths":["src/solarlab/experiments/interface_defect_transient.py"],"migration_tasks":["P04-09","P04-10","P05-01","P05-04"],"gate_ids":["G4","G5"],"mapping_rule":"preserve_existing_capability"},"route-540527431655d5fb":{"disposition":"migrate","target_paths":["src/solarlab/experiments/ion_aware_dc.py"],"migration_tasks":["P04-04","P04-08","P05-01","P05-03"],"gate_ids":["G4","G5"],"mapping_rule":"preserve_existing_capability"},"route-66a78cb7e2ee8eba":{"disposition":"migrate","target_paths":["src/solarlab/experiments/ion_aware_impedance.py"],"migration_tasks":["P04-06","P04-08","P05-01","P05-03"],"gate_ids":["G4","G5"],"mapping_rule":"preserve_existing_capability"},"route-3ca1dfa513a1e322":{"disposition":"migrate","target_paths":["src/solarlab/experiments/ion_aware_impedance_grid.py"],"migration_tasks":["P04-06","P04-08","P05-01","P05-03"],"gate_ids":["G4","G5"],"mapping_rule":"preserve_existing_capability"},"route-e427668ae85b61ce":{"disposition":"migrate","target_paths":["src/solarlab/experiments/ion_aware_impedance_lockin.py"],"migration_tasks":["P04-06","P04-08","P05-01","P05-03"],"gate_ids":["G4","G5"],"mapping_rule":"preserve_existing_capability"},"route-d50045e506093dad":{"disposition":"migrate","target_paths":["src/solarlab/experiments/ion_aware_structured_jacobian.py"],"migration_tasks":["P04-06","P04-08","P05-01","P05-03"],"gate_ids":["G4","G5"],"mapping_rule":"preserve_existing_capability"},"route-6110e3f0105bc8f1":{"disposition":"migrate","target_paths":["src/solarlab/experiments/jv_sweep.py"],"migration_tasks":["P04-05","P05-01","P05-02"],"gate_ids":["G4","G5"],"mapping_rule":"preserve_existing_capability"},"route-122501331d596e6c":{"disposition":"migrate","target_paths":["src/solarlab/experiments/metastable_preparation.py"],"migration_tasks":["P04-10","P05-01","P05-04"],"gate_ids":["G4","G5"],"mapping_rule":"preserve_existing_capability"},"route-ef61f462b2550dc9":{"disposition":"migrate","target_paths":["src/solarlab/experiments/metastable_transient.py"],"migration_tasks":["P04-10","P05-01","P05-04"],"gate_ids":["G4","G5"],"mapping_rule":"preserve_existing_capability"},"route-f07791f6d464ccd9":{"disposition":"migrate","target_paths":["src/solarlab/experiments/mott_schottky.py"],"migration_tasks":["P04-06","P05-01","P05-03"],"gate_ids":["G4","G5"],"mapping_rule":"preserve_existing_capability"},"route-755640e005444d99":{"disposition":"migrate","target_paths":["src/solarlab_research/r1/convergence.py"],"migration_tasks":["P02-08","P07-01","P07-02","P07-03","P07-04","P07-05"],"gate_ids":["G2","G7"],"mapping_rule":"public_research_extension_preserve_source_and_precision"},"route-575c23ed996d11ae":{"disposition":"migrate","target_paths":["src/solarlab_research/r1/dynamics.py"],"migration_tasks":["P02-08","P07-01","P07-02","P07-03","P07-04","P07-05"],"gate_ids":["G2","G7"],"mapping_rule":"public_research_extension_preserve_source_and_precision"},"route-eeccc2e764f79cbb":{"disposition":"migrate","target_paths":["src/solarlab_research/r1/global_reference.py"],"migration_tasks":["P02-08","P07-01","P07-02","P07-03","P07-04","P07-05"],"gate_ids":["G2","G7"],"mapping_rule":"public_research_extension_preserve_source_and_precision"},"route-ceb58bb22e2c813d":{"disposition":"migrate","target_paths":["src/solarlab_research/r1/input_lift.py"],"migration_tasks":["P00-04","P01-01","P01-02","P01-03","P02-08","P07-01","P07-02","P07-03","P07-04","P07-05"],"gate_ids":["G0","G1","G2","G7"],"mapping_rule":"public_research_extension_preserve_source_and_precision"},"route-94c08e51c92c8c08":{"disposition":"migrate","target_paths":["src/solarlab_research/r1/input_lift_continuous.py"],"migration_tasks":["P00-04","P01-01","P01-02","P01-03","P02-08","P07-01","P07-02","P07-03","P07-04","P07-05"],"gate_ids":["G0","G1","G2","G7"],"mapping_rule":"public_research_extension_preserve_source_and_precision"},"route-7e98c4ac49886b90":{"disposition":"migrate","target_paths":["src/solarlab_research/r1/input_lift_reference.py"],"migration_tasks":["P00-04","P01-01","P01-02","P01-03","P02-08","P07-01","P07-02","P07-03","P07-04","P07-05"],"gate_ids":["G0","G1","G2","G7"],"mapping_rule":"public_research_extension_preserve_source_and_precision"},"route-fe7edc51ffa8a34f":{"disposition":"migrate","target_paths":["src/solarlab_research/r1/local_carrier.py"],"migration_tasks":["P00-04","P01-01","P01-02","P01-03","P02-08","P07-01","P07-02","P07-03","P07-04","P07-05"],"gate_ids":["G0","G1","G2","G7"],"mapping_rule":"public_research_extension_preserve_source_and_precision"},"route-f05686ba301ff5b5":{"disposition":"migrate","target_paths":["src/solarlab_research/r1/precision.py"],"migration_tasks":["P02-08","P07-01","P07-02","P07-03","P07-04","P07-05"],"gate_ids":["G2","G7"],"mapping_rule":"public_research_extension_preserve_source_and_precision"},"route-16e41e21eea34bf8":{"disposition":"migrate","target_paths":["src/solarlab_research/r1/response.py"],"migration_tasks":["P02-08","P07-01","P07-02","P07-03","P07-04","P07-05"],"gate_ids":["G2","G7"],"mapping_rule":"public_research_extension_preserve_source_and_precision"},"route-5db8498b026fe96d":{"disposition":"migrate","target_paths":["src/solarlab_research/r1/spatial.py"],"migration_tasks":["P02-08","P07-01","P07-02","P07-03","P07-04","P07-05"],"gate_ids":["G2","G7"],"mapping_rule":"public_research_extension_preserve_source_and_precision"},"route-3437e4b3d969b4d5":{"disposition":"migrate","target_paths":["src/solarlab_research/r1/state.py"],"migration_tasks":["P02-08","P07-01","P07-02","P07-03","P07-04","P07-05"],"gate_ids":["G2","G7"],"mapping_rule":"public_research_extension_preserve_source_and_precision"},"route-fe9f2c86a6fb4b9f":{"disposition":"migrate","target_paths":["src/solarlab_research/r1/step.py"],"migration_tasks":["P00-04","P01-01","P01-02","P01-03","P02-08","P07-01","P07-02","P07-03","P07-04","P07-05"],"gate_ids":["G0","G1","G2","G7"],"mapping_rule":"public_research_extension_preserve_source_and_precision"},"route-ca59b5ef4a3f6fa3":{"disposition":"migrate","target_paths":["src/solarlab/experiments/protocol.py"],"migration_tasks":["P02-04","P02-06","P03-05","P05-01"],"gate_ids":["G2","G3","G5"],"mapping_rule":"preserve_existing_capability"},"route-e8ca7a89ef09d514":{"disposition":"migrate","target_paths":["src/solarlab/experiments/quasi_fermi_impedance.py"],"migration_tasks":["P04-06","P05-01","P05-03"],"gate_ids":["G4","G5"],"mapping_rule":"preserve_existing_capability"},"route-1c35c1275d46d863":{"disposition":"replace","target_paths":["src/solarlab/experiments/jv_steady.py","src/solarlab/solvers/nonlinear/quasi_fermi_steady_state.py"],"migration_tasks":["P04-04","P05-01","P05-02"],"gate_ids":["G4","G5"],"mapping_rule":"preserve_existing_capability"},"route-e968e8702b679dff":{"disposition":"replace","target_paths":["src/solarlab/experiments/jv_steady.py","src/solarlab/solvers/nonlinear/steady_state.py"],"migration_tasks":["P04-04","P05-01","P05-02"],"gate_ids":["G4","G5"],"mapping_rule":"preserve_existing_capability"},"route-dad900bc285405c9":{"disposition":"migrate","target_paths":["src/solarlab/experiments/suns_voc.py"],"migration_tasks":["P04-05","P05-01","P05-02"],"gate_ids":["G4","G5"],"mapping_rule":"preserve_existing_capability"},"route-c0ff0a667c4cc9dd":{"disposition":"migrate","target_paths":["src/solarlab/experiments/tandem_jv.py"],"migration_tasks":["P04-13","P05-01","P05-04"],"gate_ids":["G4","G5"],"mapping_rule":"preserve_existing_capability"},"route-f1a859a308a3d395":{"disposition":"migrate","target_paths":["src/solarlab/experiments/thermal_balance.py"],"migration_tasks":["P04-13","P05-01","P05-04"],"gate_ids":["G4","G5"],"mapping_rule":"preserve_existing_capability"},"route-a2dac88b7495c3ed":{"disposition":"migrate","target_paths":["src/solarlab/experiments/trap_small_signal.py"],"migration_tasks":["P04-06","P04-10","P05-01","P05-03"],"gate_ids":["G4","G5"],"mapping_rule":"preserve_existing_capability"},"route-00e5ec97ad8c8b8a":{"disposition":"migrate","target_paths":["src/solarlab/experiments/waveform_jv.py"],"migration_tasks":["P04-05","P05-01","P05-02"],"gate_ids":["G4","G5"],"mapping_rule":"preserve_existing_capability"},"route-6ae8e3c7ef27223f":{"disposition":"migrate","target_paths":["src/solarlab/experiments/results/current.py"],"migration_tasks":["P03-07","P05-01","P06-07"],"gate_ids":["G3","G5","G6"],"mapping_rule":"preserve_existing_capability"},"route-b800342e538ea2d1":{"disposition":"migrate","target_paths":["src/solarlab/device/defects.py"],"migration_tasks":["P03-03","P03-04","P03-07"],"gate_ids":["G3"],"mapping_rule":"preserve_existing_capability"},"route-7e81c448796358a6":{"disposition":"migrate","target_paths":["src/solarlab/device/device.py"],"migration_tasks":["P03-03","P03-04","P03-07"],"gate_ids":["G3"],"mapping_rule":"preserve_existing_capability"},"route-ec4497e18dbf69e3":{"disposition":"migrate","target_paths":["src/solarlab/experiments/results/el.py"],"migration_tasks":["P03-07","P05-01","P06-07"],"gate_ids":["G3","G5","G6"],"mapping_rule":"preserve_existing_capability"},"route-47275d8cae52d1c6":{"disposition":"migrate","target_paths":["src/solarlab/device/interface_defects.py"],"migration_tasks":["P03-03","P03-04","P03-07"],"gate_ids":["G3"],"mapping_rule":"preserve_existing_capability"},"route-b981852fd14f7111":{"disposition":"migrate","target_paths":["src/solarlab/config/mode.py"],"migration_tasks":["P03-02","P03-03","P03-04","P03-07"],"gate_ids":["G3"],"mapping_rule":"preserve_existing_capability"},"route-f2fb3894a767ab0b":{"disposition":"migrate","target_paths":["src/solarlab/device/multivalent_defects.py"],"migration_tasks":["P03-03","P03-04","P03-07"],"gate_ids":["G3"],"mapping_rule":"preserve_existing_capability"},"route-874e0fb545d7dfb2":{"disposition":"migrate","target_paths":["src/solarlab/device/parameters.py","src/solarlab/materials/parameters.py"],"migration_tasks":["P03-03","P03-04","P03-07"],"gate_ids":["G3"],"mapping_rule":"preserve_existing_capability"},"route-dd6d44a89b46f80d":{"disposition":"migrate","target_paths":["src/solarlab/experiments/results/spatial.py"],"migration_tasks":["P03-07","P05-01","P06-07"],"gate_ids":["G3","G5","G6"],"mapping_rule":"preserve_existing_capability"},"route-a49b47e146a02ef2":{"disposition":"migrate","target_paths":["src/solarlab/device/tandem_config.py"],"migration_tasks":["P03-03","P03-04","P03-07"],"gate_ids":["G3"],"mapping_rule":"preserve_existing_capability"},"route-17806e03bd172ef3":{"disposition":"migrate","target_paths":["src/solarlab/experiments/results/tpv.py"],"migration_tasks":["P03-07","P05-01","P06-07"],"gate_ids":["G3","G5","G6"],"mapping_rule":"preserve_existing_capability"},"route-e98430e35cbc35f0":{"disposition":"migrate","target_paths":["src/solarlab/device/tunneling_channels.py"],"migration_tasks":["P03-03","P03-04","P03-07"],"gate_ids":["G3"],"mapping_rule":"preserve_existing_capability"},"route-ddb81b9050da9068":{"disposition":"migrate","target_paths":["src/solarlab/experiments/results/voc_t.py"],"migration_tasks":["P03-07","P05-01","P06-07"],"gate_ids":["G3","G5","G6"],"mapping_rule":"preserve_existing_capability"},"route-5b8181491d7bb5dc":{"disposition":"migrate","target_paths":["src/solarlab/physics/band_structure/band_gap_narrowing.py"],"migration_tasks":["P03-02","P04-11"],"gate_ids":["G3","G4"],"mapping_rule":"preserve_existing_capability"},"route-2a52f6493776c10e":{"disposition":"migrate","target_paths":["src/solarlab/physics/recombination/bulk_traps.py"],"migration_tasks":["P03-02","P04-07"],"gate_ids":["G3","G4"],"mapping_rule":"preserve_existing_capability"},"route-cb684c2791a2eadb":{"disposition":"migrate","target_paths":["src/solarlab/physics/generation/cigs_optics.py"],"migration_tasks":["P03-02","P04-07"],"gate_ids":["G3","G4"],"mapping_rule":"preserve_existing_capability"},"route-4ee875fb4c7eec91":{"disposition":"migrate","target_paths":["src/solarlab/physics/contacts/contacts.py"],"migration_tasks":["P03-02","P04-03","P08-01","P08-03","P08-05"],"gate_ids":["G3","G4","G8"],"mapping_rule":"preserve_existing_capability"},"route-108317e3109dd879":{"disposition":"migrate","target_paths":["src/solarlab/physics/defects/defect_closure.py"],"migration_tasks":["P03-02","P04-10"],"gate_ids":["G3","G4"],"mapping_rule":"preserve_existing_capability"},"route-69cbc8c249cae851":{"disposition":"migrate","target_paths":["src/solarlab/physics/defects/defect_distributions.py"],"migration_tasks":["P03-02","P04-10"],"gate_ids":["G3","G4"],"mapping_rule":"preserve_existing_capability"},"route-716aea63eb4178e4":{"disposition":"migrate","target_paths":["src/solarlab/physics/defects/distributed_defect_closure.py"],"migration_tasks":["P03-02","P04-10"],"gate_ids":["G3","G4"],"mapping_rule":"preserve_existing_capability"},"route-637e7d01ee93a7e2":{"disposition":"migrate","target_paths":["src/solarlab/physics/interface_transport/interface_plane.py"],"migration_tasks":["P03-02","P04-09"],"gate_ids":["G3","G4"],"mapping_rule":"preserve_existing_capability"},"route-d2fb47f08b8af2ba":{"disposition":"migrate","target_paths":["src/solarlab/physics/defects/metastable_defect_closure.py"],"migration_tasks":["P03-02","P04-10"],"gate_ids":["G3","G4"],"mapping_rule":"preserve_existing_capability"},"route-0345e88ff9597357":{"disposition":"migrate","target_paths":["src/solarlab/physics/defects/multivalent_defect_closure.py"],"migration_tasks":["P03-02","P04-10"],"gate_ids":["G3","G4"],"mapping_rule":"preserve_existing_capability"},"route-8dbbd61dabd00c1f":{"disposition":"migrate","target_paths":["src/solarlab/physics/defects/multivalent_defect_device.py"],"migration_tasks":["P03-02","P04-10"],"gate_ids":["G3","G4"],"mapping_rule":"preserve_existing_capability"},"route-d398307860e5c0dd":{"disposition":"migrate","target_paths":["src/solarlab/physics/recombination/recombination.py"],"migration_tasks":["P03-02","P04-07"],"gate_ids":["G3","G4"],"mapping_rule":"preserve_existing_capability"},"route-35e97a37efe8ee31":{"disposition":"migrate","target_paths":["src/solarlab/physics/statistics/statistics.py"],"migration_tasks":["P03-02","P04-03"],"gate_ids":["G3","G4"],"mapping_rule":"preserve_existing_capability"},"route-960df0ca64e33313":{"disposition":"migrate","target_paths":["src/solarlab/physics/defects/trap_kinetics.py"],"migration_tasks":["P03-02","P04-10"],"gate_ids":["G3","G4"],"mapping_rule":"preserve_existing_capability"},"route-46c0d51d5bd93915":{"disposition":"migrate","target_paths":["src/solarlab/physics/defects/trap_population_response.py"],"migration_tasks":["P03-02","P04-10"],"gate_ids":["G3","G4"],"mapping_rule":"preserve_existing_capability"},"route-ebfb46505dfae15d":{"disposition":"migrate","target_paths":["src/solarlab/physics/interface_transport/two_sided_interface.py"],"migration_tasks":["P03-02","P04-09","P08-01","P08-02","P08-05"],"gate_ids":["G3","G4","G8"],"mapping_rule":"preserve_existing_capability"},"route-654ffdaede509b77":{"disposition":"migrate","target_paths":["src/solarlab/screening/solarscale.py"],"migration_tasks":["P03-04","P05-05","P06-05"],"gate_ids":["G3","G5","G6"],"mapping_rule":"preserve_existing_capability"},"route-1129c9e5b90696a0":{"disposition":"replace","target_paths":["src/solarlab/experiments/preparation.py","src/solarlab/solvers/nonlinear/bulk_trap_equilibrium.py"],"migration_tasks":["P02-04","P04-03","P04-04","P05-01","P06-01"],"gate_ids":["G2","G4","G5","G6"],"mapping_rule":"numerical_replacement_after_contract_and_consumer_gates"},"route-fb0723324262c843":{"disposition":"replace","target_paths":["src/solarlab/equations/state.py","src/solarlab/solvers/time/conservative_reference.py"],"migration_tasks":["P02-02","P02-03","P02-05","P02-09","P04-02","P04-05","P04-08"],"gate_ids":["G2","G4"],"mapping_rule":"numerical_replacement_after_contract_and_consumer_gates"},"route-902dc4ac38f019c9":{"disposition":"replace","target_paths":["src/solarlab/equations/state.py","src/solarlab/solvers/time/conservative_reference.py"],"migration_tasks":["P02-02","P02-03","P02-05","P02-09","P04-02","P04-05"],"gate_ids":["G2","G4"],"mapping_rule":"numerical_replacement_after_contract_and_consumer_gates"},"route-d19a044988a2dbd6":{"disposition":"replace","target_paths":["src/solarlab/equations/state.py","src/solarlab/solvers/time/conservative_reference.py"],"migration_tasks":["P02-02","P02-03","P02-05","P02-09","P04-02","P04-05","P04-09"],"gate_ids":["G2","G4"],"mapping_rule":"numerical_replacement_after_contract_and_consumer_gates"},"route-5ae54ca672a8ba3c":{"disposition":"replace","target_paths":["src/solarlab/equations/state.py","src/solarlab/solvers/time/conservative_reference.py"],"migration_tasks":["P02-02","P02-03","P02-05","P02-09","P04-02","P04-05","P04-08","P04-09"],"gate_ids":["G2","G4"],"mapping_rule":"numerical_replacement_after_contract_and_consumer_gates"},"route-9108e77d43729c39":{"disposition":"replace","target_paths":["src/solarlab/equations/assembly.py","src/solarlab/solvers/time/conservative_reference.py"],"migration_tasks":["P02-02","P02-03","P02-05","P02-09","P04-02","P04-05","P04-08"],"gate_ids":["G2","G4"],"mapping_rule":"numerical_replacement_after_contract_and_consumer_gates"},"route-8b07744af698a677":{"disposition":"replace","target_paths":["src/solarlab/equations/assembly.py","src/solarlab/solvers/time/conservative_reference.py"],"migration_tasks":["P02-02","P02-03","P02-05","P02-09","P04-02","P04-05"],"gate_ids":["G2","G4"],"mapping_rule":"numerical_replacement_after_contract_and_consumer_gates"},"route-0064c8f5583b5846":{"disposition":"replace","target_paths":["src/solarlab/experiments/preparation.py","src/solarlab/solvers/nonlinear/degenerate_equilibrium.py"],"migration_tasks":["P02-04","P04-03","P04-04","P05-01","P06-01"],"gate_ids":["G2","G4","G5","G6"],"mapping_rule":"numerical_replacement_after_contract_and_consumer_gates"},"route-4e8545961ec9f79c":{"disposition":"replace","target_paths":["src/solarlab/equations/assembly.py","src/solarlab/equations/binding.py","src/solarlab/equations/state.py","src/solarlab/solvers/time/integrator.py"],"migration_tasks":["P02-02","P02-03","P02-05","P02-07","P04-02","P04-05","P06-01","P07-01"],"gate_ids":["G2","G4","G6","G7"],"mapping_rule":"numerical_replacement_after_contract_and_consumer_gates"},"route-c393f0eb296301f6":{"disposition":"replace","target_paths":["src/solarlab/solvers/diagnostics/numerical_diagnostics.py"],"migration_tasks":["P02-05","P04-02","P04-05"],"gate_ids":["G2","G4"],"mapping_rule":"numerical_replacement_after_contract_and_consumer_gates"},"route-43b4d856f72236b2":{"disposition":"replace","target_paths":["src/solarlab/solvers/small_signal/linearization.py"],"migration_tasks":["P02-05","P02-06","P04-06","P05-03"],"gate_ids":["G2","G4","G5"],"mapping_rule":"numerical_replacement_after_contract_and_consumer_gates"},"route-eca4a978bb80bc1e":{"disposition":"replace","target_paths":["src/solarlab/solvers/time/trap_transient.py"],"migration_tasks":["P04-05","P04-10"],"gate_ids":["G4"],"mapping_rule":"numerical_replacement_after_contract_and_consumer_gates"},"route-f9fdf98fcf51218e":{"disposition":"migrate","target_paths":["src/solarlab/two_dimensional/experiments/jv_protocol_2d.py"],"migration_tasks":["P06-01","P06-02","P06-03"],"gate_ids":["G6"],"mapping_rule":"preserve_existing_capability"},"route-3b814b18cfea71be":{"disposition":"migrate","target_paths":["src/solarlab/two_dimensional/experiments/jv_sweep_2d.py"],"migration_tasks":["P06-01","P06-02","P06-03"],"gate_ids":["G6"],"mapping_rule":"preserve_existing_capability"},"route-b425dc190363a785":{"disposition":"migrate","target_paths":["src/solarlab/two_dimensional/experiments/voc_grain_sweep.py"],"migration_tasks":["P06-01","P06-02","P06-03"],"gate_ids":["G6"],"mapping_rule":"preserve_existing_capability"},"route-d08845022ad48916":{"disposition":"migrate","target_paths":["src/solarlab/two_dimensional/snapshot.py"],"migration_tasks":["P06-01","P06-02","P06-03"],"gate_ids":["G6"],"mapping_rule":"preserve_existing_capability"},"route-270572b713ec6865":{"disposition":"migrate","target_paths":["src/solarlab/validation/numerical_certificate.py"],"migration_tasks":["P00-03","P03-06","P09-01"],"gate_ids":["G0","G3","G9"],"mapping_rule":"preserve_existing_capability"},"route-3921f4bbba2b3750":{"disposition":"migrate","target_paths":["src/solarlab/validation/regularization_certificate.py"],"migration_tasks":["P00-03","P03-06","P09-01"],"gate_ids":["G0","G3","G9"],"mapping_rule":"preserve_existing_capability"},"route-e5a4af9dc081e1e4":{"disposition":"migrate","target_paths":["src/solarlab/validation/regularization_executors.py"],"migration_tasks":["P00-03","P03-06","P04-05","P04-06","P09-01"],"gate_ids":["G0","G3","G4","G9"],"mapping_rule":"preserve_existing_capability"},"route-29ff125b420a5abf":{"disposition":"migrate","target_paths":["src/solarlab/validation/spatial_defect_refinement.py"],"migration_tasks":["P00-03","P03-06","P04-10","P09-01"],"gate_ids":["G0","G3","G4","G9"],"mapping_rule":"preserve_existing_capability"},"route-beb4cf386a7f5c02":{"disposition":"migrate","target_paths":["scripts/figures/plot_calado_fig1f.py"],"migration_tasks":["P05-05","P09-01","P09-04"],"gate_ids":["G5","G9"],"mapping_rule":"preserve_existing_capability"},"route-45dccf3352277655":{"disposition":"migrate","target_paths":["scripts/benchmarks/run_scaps_v2_regression.py"],"migration_tasks":["P05-05","P09-01","P09-04"],"gate_ids":["G5","G9"],"mapping_rule":"preserve_existing_capability"},"route-d7705533e8467092":{"disposition":"migrate","target_paths":["src/solarlab_research/r1/checkout.py"],"migration_tasks":["P02-08","P07-01","P07-02","P07-03","P07-04","P07-05"],"gate_ids":["G2","G7"],"mapping_rule":"public_research_extension_preserve_source_and_precision"},"route-713848b2efca9ebf":{"disposition":"migrate","target_paths":["src/solarlab/io/run_store.py","src/solarlab/validation/refinement_runner.py"],"migration_tasks":["P00-03","P03-06","P06-04","P06-05","P09-01"],"gate_ids":["G0","G3","G6","G9"],"mapping_rule":"preserve_existing_capability"},"route-22ba77a4483724a0":{"disposition":"migrate","target_paths":["src/solarlab_research/scripts/run_one_dimensional_mechanism_r1_controlled.py"],"migration_tasks":["P00-04","P01-01","P01-02","P07-01","P07-05"],"gate_ids":["G0","G1","G7"],"mapping_rule":"versioned_research_launcher_preserve_historical_record_identity"},"route-f60540dff4a5bd5d":{"disposition":"migrate","target_paths":["src/solarlab_research/scripts/run_r1_v7_prototype.py"],"migration_tasks":["P00-04","P01-01","P01-02","P07-01","P07-05"],"gate_ids":["G0","G1","G7"],"mapping_rule":"versioned_research_launcher_preserve_historical_record_identity"},"route-8a5c1300ec2f4ddc":{"disposition":"migrate","target_paths":["src/solarlab_research/scripts/run_r1_v8_prototype.py"],"migration_tasks":["P00-04","P01-01","P01-02","P07-01","P07-05"],"gate_ids":["G0","G1","G7"],"mapping_rule":"versioned_research_launcher_preserve_historical_record_identity"},"route-2db75d95400c1c0c":{"disposition":"migrate","target_paths":["src/solarlab_research/scripts/run_r1_v9_prototype.py"],"migration_tasks":["P00-04","P01-01","P01-02","P07-01","P07-05"],"gate_ids":["G0","G1","G7"],"mapping_rule":"versioned_research_launcher_preserve_historical_record_identity"},"route-cc53d77ee1c6abe3":{"disposition":"migrate","target_paths":["tests/research/integration/test_r1_v9_backend.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-9b9989e09fc8bc3c":{"disposition":"migrate","target_paths":["tests/unit/experiments/test_extract_calado_reference.py"],"migration_tasks":["P00-03","P05-01","P05-02","P05-03","P05-04","P09-01","P09-03"],"gate_ids":["G0","G5","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-05ab29e2a5705c35":{"disposition":"migrate","target_paths":["tests/unit/experiments/test_import_scaps_cbo_reference.py"],"migration_tasks":["P00-03","P05-01","P05-02","P05-03","P05-04","P09-01","P09-03"],"gate_ids":["G0","G5","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-4e5d81ea927e27b6":{"disposition":"migrate","target_paths":["tests/research/unit/experiments/test_one_dimensional_mechanism_r1_evidence.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-97eb85a41f20e5c8":{"disposition":"migrate","target_paths":["tests/research/unit/experiments/test_one_dimensional_mechanism_r1_execution_axes.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-46970daabcca4458":{"disposition":"migrate","target_paths":["tests/research/unit/experiments/test_one_dimensional_mechanism_r1_physics_study.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-63808dfa0ded0ec3":{"disposition":"migrate","target_paths":["tests/research/unit/experiments/test_one_dimensional_mechanism_r1_stage_one_cli.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-3f87bf5ac3f90a8e":{"disposition":"migrate","target_paths":["tests/unit/experiments/test_plot_calado_fig1f.py"],"migration_tasks":["P00-03","P05-01","P05-02","P05-03","P05-04","P09-01","P09-03"],"gate_ids":["G0","G5","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-a90735d8a542f98e":{"disposition":"migrate","target_paths":["tests/unit/experiments/test_plot_calado_fig1f_scan_rate.py"],"migration_tasks":["P00-03","P05-01","P05-02","P05-03","P05-04","P09-01","P09-03"],"gate_ids":["G0","G5","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-ded76a1543b48a3c":{"disposition":"migrate","target_paths":["tests/unit/experiments/test_probe_calado_optical_inputs.py"],"migration_tasks":["P00-03","P05-01","P05-02","P05-03","P05-04","P09-01","P09-03"],"gate_ids":["G0","G5","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-585052475e0e0c6c":{"disposition":"migrate","target_paths":["tests/unit/experiments/test_probe_calado_paper_alignment.py"],"migration_tasks":["P00-03","P05-01","P05-02","P05-03","P05-04","P09-01","P09-03"],"gate_ids":["G0","G5","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-43a70d06d37fd981":{"disposition":"migrate","target_paths":["tests/research/unit/experiments/test_r1_runner_qualification_v3.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-2db125a60db75463":{"disposition":"migrate","target_paths":["tests/research/unit/experiments/test_r1_study_external_request.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-49bd02134c8eb889":{"disposition":"migrate","target_paths":["tests/research/unit/experiments/test_r1_study_finest_criteria.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-b2ae669562018348":{"disposition":"migrate","target_paths":["tests/research/unit/experiments/test_r1_v11_study_consumers.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-c74ad5796c8c2c67":{"disposition":"migrate","target_paths":["tests/research/unit/experiments/test_r1_v5_case_runner.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-0ec651ea946326c2":{"disposition":"migrate","target_paths":["tests/research/unit/experiments/test_r1_v5_response_tool.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-8066ca7eb5dd963a":{"disposition":"migrate","target_paths":["tests/research/unit/experiments/test_r1_v6_coupled_sensitivity.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-b971cfdba797f5ca":{"disposition":"migrate","target_paths":["tests/research/unit/experiments/test_r1_v6_crosscode.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-d9a70619b9fed429":{"disposition":"migrate","target_paths":["tests/research/unit/experiments/test_r1_v6_verification.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-d22ef4e7817b8927":{"disposition":"migrate","target_paths":["tests/research/unit/experiments/test_r1_v7_prototype_runner.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-cf45306c6a024d37":{"disposition":"migrate","target_paths":["tests/research/unit/experiments/test_r1_v8_prototype_runner.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-b9f8796da5f6d80e":{"disposition":"migrate","target_paths":["tests/research/unit/experiments/test_r1_v9_pair_codec.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-e0355b86d41d6620":{"disposition":"migrate","target_paths":["tests/unit/experiments/test_run_interface_cbo_scan.py"],"migration_tasks":["P00-03","P05-01","P05-02","P05-03","P05-04","P09-01","P09-03"],"gate_ids":["G0","G5","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-ed0cef05b7deddb7":{"disposition":"migrate","target_paths":["tests/unit/experiments/test_run_interface_cbo_sensitivity.py"],"migration_tasks":["P00-03","P05-01","P05-02","P05-03","P05-04","P09-01","P09-03"],"gate_ids":["G0","G5","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-776e4c0e4ee1937c":{"disposition":"migrate","target_paths":["tests/unit/experiments/test_run_interface_srh_identifiability.py"],"migration_tasks":["P00-03","P05-01","P05-02","P05-03","P05-04","P09-01","P09-03"],"gate_ids":["G0","G5","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-3abd0eb4d68aabe0":{"disposition":"migrate","target_paths":["tests/unit/experiments/test_summarize_ion_frontend_matrix.py"],"migration_tasks":["P00-03","P05-01","P05-02","P05-03","P05-04","P09-01","P09-03"],"gate_ids":["G0","G5","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-c30b41d08fd69cae":{"disposition":"migrate","target_paths":["tests/unit/test_blas_marker_selection.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-b328a7af01f4305f":{"disposition":"migrate","target_paths":["tests/unit/twod/test_solver_2d.py"],"migration_tasks":["P00-03","P06-01","P06-02","P06-03","P09-01","P09-03"],"gate_ids":["G0","G6","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-0104588b49b88f9b":{"disposition":"migrate","target_paths":["tests/unit/validation/test_compare_scaps_defect_reference.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-ea9e842e5124c927":{"disposition":"migrate","target_paths":["tests/unit/validation/test_import_scaps_defect_reference.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-398628efb166a6f0":{"disposition":"migrate","target_paths":["tests/unit/validation/test_import_scaps_multivalent_defect_reference.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-57092aaac366ce0c":{"disposition":"migrate","target_paths":["src/solarlab/config/legacy_context.py","src/solarlab/config/identity.py"],"migration_tasks":["P00-03","P03-04","P03-05","P03-07"],"gate_ids":["G0","G3"]},"route-9e7c4634cac4c7b4":{"disposition":"migrate","target_paths":["src/solarlab/validation/bgn_refinement.py"],"migration_tasks":["P00-03","P03-06","P09-01"],"gate_ids":["G0","G3","G9"],"mapping_rule":"preserve_existing_capability"},"route-6ffa0cc3ba17a777":{"disposition":"migrate","target_paths":["src/solarlab/validation/bulk_trap_refinement.py"],"migration_tasks":["P00-03","P03-06","P04-10","P09-01"],"gate_ids":["G0","G3","G4","G9"],"mapping_rule":"preserve_existing_capability"},"route-a9b4d7e51e16d73e":{"disposition":"migrate","target_paths":["src/solarlab/validation/charged_defect_refinement.py"],"migration_tasks":["P00-03","P03-06","P04-10","P09-01"],"gate_ids":["G0","G3","G4","G9"],"mapping_rule":"preserve_existing_capability"},"route-c81fb8dbd7f6b348":{"disposition":"migrate","target_paths":["src/solarlab/validation/cigs_optics_refinement.py"],"migration_tasks":["P00-03","P03-06","P09-01"],"gate_ids":["G0","G3","G9"],"mapping_rule":"preserve_existing_capability"},"route-27dbc43d17be6d47":{"disposition":"migrate","target_paths":["src/solarlab/validation/dae_dual_ion_refinement.py"],"migration_tasks":["P00-03","P03-06","P04-05","P04-06","P09-01"],"gate_ids":["G0","G3","G4","G9"],"mapping_rule":"preserve_existing_capability"},"route-cf51d5ffeb5b1ab3":{"disposition":"migrate","target_paths":["src/solarlab/validation/dae_interface_refinement.py"],"migration_tasks":["P00-03","P03-06","P04-05","P04-06","P09-01"],"gate_ids":["G0","G3","G4","G9"],"mapping_rule":"preserve_existing_capability"},"route-cd1c256e6f6fda47":{"disposition":"migrate","target_paths":["src/solarlab/validation/dae_ion_interface_refinement.py"],"migration_tasks":["P00-03","P03-06","P04-05","P04-06","P09-01"],"gate_ids":["G0","G3","G4","G9"],"mapping_rule":"preserve_existing_capability"},"route-3ce8678d93f128dc":{"disposition":"migrate","target_paths":["src/solarlab/validation/dae_ion_refinement.py"],"migration_tasks":["P00-03","P03-06","P04-05","P04-06","P09-01"],"gate_ids":["G0","G3","G4","G9"],"mapping_rule":"preserve_existing_capability"},"route-ee6663ebc8f2dc49":{"disposition":"migrate","target_paths":["src/solarlab/validation/dae_refinement.py"],"migration_tasks":["P00-03","P03-06","P04-05","P04-06","P09-01"],"gate_ids":["G0","G3","G4","G9"],"mapping_rule":"preserve_existing_capability"},"route-8ffd14c45b3812ea":{"disposition":"migrate","target_paths":["src/solarlab/validation/degenerate_refinement.py"],"migration_tasks":["P00-03","P03-06","P09-01"],"gate_ids":["G0","G3","G9"],"mapping_rule":"preserve_existing_capability"},"route-eac8eff18fe0b852":{"disposition":"migrate","target_paths":["src/solarlab/validation/distributed_defect_refinement.py"],"migration_tasks":["P00-03","P03-06","P04-10","P09-01"],"gate_ids":["G0","G3","G4","G9"],"mapping_rule":"preserve_existing_capability"},"route-aa22d20d2d639fc7":{"disposition":"migrate","target_paths":["src/solarlab/validation/dynamic_defect_transient_refinement.py"],"migration_tasks":["P00-03","P03-06","P04-10","P09-01"],"gate_ids":["G0","G3","G4","G9"],"mapping_rule":"preserve_existing_capability"},"route-361c6018edd7103a":{"disposition":"migrate","target_paths":["src/solarlab/validation/electrothermal_refinement.py"],"migration_tasks":["P00-03","P03-06","P09-01"],"gate_ids":["G0","G3","G9"],"mapping_rule":"preserve_existing_capability"},"route-95fa4d2e24de5a3e":{"disposition":"migrate","target_paths":["src/solarlab/validation/external_circuit_refinement.py"],"migration_tasks":["P00-03","P03-06","P09-01"],"gate_ids":["G0","G3","G9"],"mapping_rule":"preserve_existing_capability"},"route-487d71b1fb2a772d":{"disposition":"migrate","target_paths":["src/solarlab/validation/foundation_reference_refinement.py"],"migration_tasks":["P00-03","P03-06","P09-01"],"gate_ids":["G0","G3","G9"],"mapping_rule":"preserve_existing_capability"},"route-70f2bc49c9d6f491":{"disposition":"migrate","target_paths":["src/solarlab/validation/identifiability_refinement.py"],"migration_tasks":["P00-03","P03-06","P09-01"],"gate_ids":["G0","G3","G9"],"mapping_rule":"preserve_existing_capability"},"route-e69f26a656e90120":{"disposition":"migrate","target_paths":["src/solarlab/validation/incomplete_ionization_refinement.py"],"migration_tasks":["P00-03","P03-06","P09-01"],"gate_ids":["G0","G3","G9"],"mapping_rule":"preserve_existing_capability"},"route-7b7398177c5163db":{"disposition":"migrate","target_paths":["src/solarlab/validation/interface_charge_stress.py"],"migration_tasks":["P00-03","P03-06","P09-01"],"gate_ids":["G0","G3","G9"],"mapping_rule":"preserve_existing_capability"},"route-e8b25e6d8730e1e7":{"disposition":"migrate","target_paths":["src/solarlab/validation/multivalent_defect_refinement.py"],"migration_tasks":["P00-03","P03-06","P04-10","P09-01"],"gate_ids":["G0","G3","G4","G9"],"mapping_rule":"preserve_existing_capability"},"route-611c81a4822db706":{"disposition":"migrate","target_paths":["src/solarlab/validation/refinement_executors.py"],"migration_tasks":["P00-03","P03-06","P04-05","P04-06","P09-01"],"gate_ids":["G0","G3","G4","G9"],"mapping_rule":"preserve_existing_capability"},"route-8f9aa816f1c87e00":{"disposition":"migrate","target_paths":["src/solarlab/validation/resolved_tunnelling_refinement.py"],"migration_tasks":["P00-03","P03-06","P09-01"],"gate_ids":["G0","G3","G9"],"mapping_rule":"preserve_existing_capability"},"route-c69e6e9da1421924":{"disposition":"migrate","target_paths":["src/solarlab/validation/tunnelling_channel_refinement.py"],"migration_tasks":["P00-03","P03-06","P09-01"],"gate_ids":["G0","G3","G9"],"mapping_rule":"preserve_existing_capability"},"route-5ca82577dfe50181":{"disposition":"migrate","target_paths":["src/solarlab/analysis/band_diagram.py"],"migration_tasks":["P05-01","P05-05"],"gate_ids":["G5"],"mapping_rule":"preserve_existing_capability"},"route-e54ce44407041288":{"disposition":"migrate","target_paths":["src/solarlab/experiments/el_spectrum.py"],"migration_tasks":["P04-06","P05-01","P05-03"],"gate_ids":["G4","G5"],"mapping_rule":"preserve_existing_capability"},"route-2d70ff5a414a71bc":{"disposition":"migrate","target_paths":["src/solarlab/experiments/ion_aware_analytic_reaction.py"],"migration_tasks":["P04-06","P04-08","P05-01","P05-03"],"gate_ids":["G4","G5"],"mapping_rule":"preserve_existing_capability"},"route-0b685a0a6f8ded75":{"disposition":"migrate","target_paths":["src/solarlab/experiments/ion_aware_analytic_transport.py"],"migration_tasks":["P04-06","P04-08","P05-01","P05-03"],"gate_ids":["G4","G5"],"mapping_rule":"preserve_existing_capability"},"route-aad6beda6ef7111b":{"disposition":"migrate","target_paths":["src/solarlab_research/r1/system.py"],"migration_tasks":["P02-08","P07-01","P07-02","P07-03","P07-04","P07-05"],"gate_ids":["G2","G7"],"mapping_rule":"public_research_extension_preserve_source_and_precision"},"route-883887b3dfdfe620":{"disposition":"migrate","target_paths":["src/solarlab_research/r1/pair_codec.py"],"migration_tasks":["P02-08","P07-01","P07-02","P07-03","P07-04","P07-05"],"gate_ids":["G2","G7"],"mapping_rule":"public_research_extension_preserve_source_and_precision"},"route-5574a77d963b18e7":{"disposition":"migrate","target_paths":["src/solarlab_research/r1/protocol.py"],"migration_tasks":["P01-04","P02-08","P07-01","P07-02","P07-03","P07-04","P07-05"],"gate_ids":["G1","G2","G7"],"mapping_rule":"public_research_extension_preserve_source_and_precision"},"route-3431bf7169601fdb":{"disposition":"migrate","target_paths":["src/solarlab/experiments/open_circuit.py"],"migration_tasks":["P02-06","P05-01","P05-04"],"gate_ids":["G2","G5"],"mapping_rule":"preserve_existing_capability"},"route-a09f453482a461e1":{"disposition":"migrate","target_paths":["src/solarlab/experiments/tpv.py"],"migration_tasks":["P02-06","P05-01","P05-04"],"gate_ids":["G2","G5"],"mapping_rule":"preserve_existing_capability"},"route-e0172633acf9b737":{"disposition":"migrate","target_paths":["src/solarlab/experiments/voc_t.py"],"migration_tasks":["P04-05","P05-01","P05-02"],"gate_ids":["G4","G5"],"mapping_rule":"preserve_existing_capability"},"route-13365bb015203d2c":{"disposition":"migrate","target_paths":["src/solarlab/experiments/__init__.py"],"migration_tasks":["P05-01","P05-04"],"gate_ids":["G5"],"mapping_rule":"preserve_existing_capability"},"route-45c70ebb1a68590b":{"disposition":"migrate","target_paths":["src/solarlab/experiments/impedance_frequency.py"],"migration_tasks":["P04-06","P05-01","P05-03"],"gate_ids":["G4","G5"],"mapping_rule":"preserve_existing_capability"},"route-522d180395ae3094":{"disposition":"migrate","target_paths":["src/solarlab_research/r1/admittance.py"],"migration_tasks":["P02-08","P07-01","P07-02","P07-03","P07-04","P07-05"],"gate_ids":["G2","G7"],"mapping_rule":"public_research_extension_preserve_source_and_precision"},"route-af422dae26465537":{"disposition":"migrate","target_paths":["src/solarlab_research/r1/binding.py"],"migration_tasks":["P02-08","P07-01","P07-02","P07-03","P07-04","P07-05"],"gate_ids":["G2","G7"],"mapping_rule":"public_research_extension_preserve_source_and_precision"},"route-67f4fa91e8d361c2":{"disposition":"migrate","target_paths":["src/solarlab_research/r1/input_lift_codec.py"],"migration_tasks":["P00-04","P01-01","P01-02","P01-03","P02-08","P07-01","P07-02","P07-03","P07-04","P07-05"],"gate_ids":["G0","G1","G2","G7"],"mapping_rule":"public_research_extension_preserve_source_and_precision"},"route-479bfc89ba54017b":{"disposition":"migrate","target_paths":["src/solarlab_research/r1/precision_state.py"],"migration_tasks":["P02-08","P07-01","P07-02","P07-03","P07-04","P07-05"],"gate_ids":["G2","G7"],"mapping_rule":"public_research_extension_preserve_source_and_precision"},"route-0ecc7ee40a381355":{"disposition":"migrate","target_paths":["src/solarlab_research/r1/qualification.py"],"migration_tasks":["P01-04","P02-08","P07-01","P07-02","P07-03","P07-04","P07-05"],"gate_ids":["G1","G2","G7"],"mapping_rule":"public_research_extension_preserve_source_and_precision"},"route-dd89a27c87e2e3b2":{"disposition":"migrate","target_paths":["src/solarlab_research/r1/study_response.py"],"migration_tasks":["P02-08","P07-01","P07-02","P07-03","P07-04","P07-05"],"gate_ids":["G2","G7"],"mapping_rule":"public_research_extension_preserve_source_and_precision"},"route-1c4ca2bc1a62b894":{"disposition":"migrate","target_paths":["src/solarlab_research/r1/window.py"],"migration_tasks":["P01-04","P02-08","P07-01","P07-02","P07-03","P07-04","P07-05"],"gate_ids":["G1","G2","G7"],"mapping_rule":"public_research_extension_preserve_source_and_precision"},"route-18b9fe1e2bc369d2":{"disposition":"migrate","target_paths":["src/solarlab_research/numerics/compensated.py"],"migration_tasks":["P02-08","P07-01","P07-02"],"gate_ids":["G2","G7"],"mapping_rule":"precision_is_numerical_extension"},"route-f7e8418017ccd1d1":{"disposition":"migrate","target_paths":["src/solarlab/physics/statistics/degenerate_transport.py"],"migration_tasks":["P03-02","P04-03"],"gate_ids":["G3","G4"],"mapping_rule":"preserve_existing_capability"},"route-a1ddb1d3142ac66a":{"disposition":"migrate","target_paths":["src/solarlab/physics/defects/dynamic_defect_state.py"],"migration_tasks":["P03-02","P04-10"],"gate_ids":["G3","G4"],"mapping_rule":"preserve_existing_capability"},"route-4a1ca1265630e4b8":{"disposition":"migrate","target_paths":["src/solarlab/equations/storage.py"],"migration_tasks":["P02-03","P02-08","P04-02","P04-05","P07-01"],"gate_ids":["G2","G4","G7"],"mapping_rule":"preserve_existing_capability"},"route-1309d096349404ba":{"disposition":"migrate","target_paths":["src/solarlab/physics/statistics/fermi_dirac.py"],"migration_tasks":["P03-02","P04-03"],"gate_ids":["G3","G4"],"mapping_rule":"preserve_existing_capability"},"route-f9d68986ba5bff64":{"disposition":"migrate","target_paths":["src/solarlab/physics/transport/field_mobility.py"],"migration_tasks":["P03-02","P04-11"],"gate_ids":["G3","G4"],"mapping_rule":"preserve_existing_capability"},"route-24d1f2b4bd711399":{"disposition":"migrate","target_paths":["src/solarlab/physics/defects/metastable_defect_device.py"],"migration_tasks":["P03-02","P04-10"],"gate_ids":["G3","G4"],"mapping_rule":"preserve_existing_capability"},"route-fa598cd61b2ea6b7":{"disposition":"migrate","target_paths":["src/solarlab/physics/defects/metastable_dynamic_state.py"],"migration_tasks":["P03-02","P04-10"],"gate_ids":["G3","G4"],"mapping_rule":"preserve_existing_capability"},"route-857ba4df243610e0":{"disposition":"migrate","target_paths":["src/solarlab/physics/generation/photon_recycling.py"],"migration_tasks":["P03-02","P04-12"],"gate_ids":["G3","G4"],"mapping_rule":"preserve_existing_capability"},"route-8e7abe0da216054d":{"disposition":"migrate","target_paths":["src/solarlab/solvers/nonlinear/regularization.py"],"migration_tasks":["P02-05","P04-04","P04-06"],"gate_ids":["G2","G4"],"mapping_rule":"preserve_existing_capability"},"route-8e06ca2231769bf9":{"disposition":"migrate","target_paths":["src/solarlab/physics/interface_transport/thermionic_constants.py"],"migration_tasks":["P03-02","P04-09","P08-01","P08-03","P08-05"],"gate_ids":["G3","G4","G8"],"mapping_rule":"preserve_existing_capability"},"route-c8e8f31424354d46":{"disposition":"migrate","target_paths":["src/solarlab/physics/defects/trap_transient.py"],"migration_tasks":["P03-02","P04-10"],"gate_ids":["G3","G4"],"mapping_rule":"preserve_existing_capability"},"route-90540c4c93c6e925":{"disposition":"migrate","target_paths":["src/solarlab/physics/transport/tunneling_channel_device.py"],"migration_tasks":["P03-02","P04-12"],"gate_ids":["G3","G4"],"mapping_rule":"preserve_existing_capability"},"route-5e56613ad2fca2db":{"disposition":"migrate","target_paths":["src/solarlab/physics/transport/tunneling_channels.py"],"migration_tasks":["P03-02","P04-12"],"gate_ids":["G3","G4"],"mapping_rule":"preserve_existing_capability"},"route-681472f26b407b41":{"disposition":"migrate","target_paths":["src/solarlab_research/numerics/two_sided_interface_compensated.py"],"migration_tasks":["P02-08","P07-01","P07-02"],"gate_ids":["G2","G7"],"mapping_rule":"precision_is_numerical_extension"},"route-6bb3ba52a914c157":{"disposition":"migrate","target_paths":["src/solarlab/physics/transport/wkb_tunneling.py"],"migration_tasks":["P03-02","P04-12"],"gate_ids":["G3","G4"],"mapping_rule":"preserve_existing_capability"},"route-d37babac643ca975":{"disposition":"migrate","target_paths":["src/solarlab/config/scaps/__init__.py"],"migration_tasks":["P03-03","P03-04","P03-06"],"gate_ids":["G3"],"mapping_rule":"preserve_existing_capability"},"route-2cbeb7481b7e8b7a":{"disposition":"migrate","target_paths":["src/solarlab/config/scaps/distributed_defects.py"],"migration_tasks":["P03-03","P03-04","P03-06"],"gate_ids":["G3"],"mapping_rule":"preserve_existing_capability"},"route-71a8068fa5148b1d":{"disposition":"migrate","target_paths":["src/solarlab/screening/__init__.py"],"migration_tasks":["P03-04","P05-05","P06-05"],"gate_ids":["G3","G5","G6"],"mapping_rule":"preserve_existing_capability"},"route-10298ac60ba2589c":{"disposition":"replace","target_paths":["src/solarlab/equations/assembly.py","src/solarlab/solvers/time/conservative_reference.py"],"migration_tasks":["P02-02","P02-03","P02-05","P02-09","P04-02","P04-05","P04-09"],"gate_ids":["G2","G4"],"mapping_rule":"numerical_replacement_after_contract_and_consumer_gates"},"route-bfba9a9733e990b2":{"disposition":"replace","target_paths":["src/solarlab/equations/assembly.py","src/solarlab/solvers/time/conservative_reference.py"],"migration_tasks":["P02-02","P02-03","P02-05","P02-09","P04-02","P04-05","P04-08","P04-09"],"gate_ids":["G2","G4"],"mapping_rule":"numerical_replacement_after_contract_and_consumer_gates"},"route-9d5644fa33ae640a":{"disposition":"migrate","target_paths":["src/solarlab/sweeps/__init__.py"],"migration_tasks":["P03-05","P05-05","P06-05"],"gate_ids":["G3","G5","G6"],"mapping_rule":"preserve_existing_capability"},"route-3c9af4aa95a90ec1":{"disposition":"migrate","target_paths":["src/solarlab/two_dimensional/field_mobility_2d.py"],"migration_tasks":["P06-01","P06-02","P06-03"],"gate_ids":["G6"],"mapping_rule":"preserve_existing_capability"},"route-77076e703f3ff9b4":{"disposition":"migrate","target_paths":["src/solarlab/two_dimensional/interface_recombination_2d.py"],"migration_tasks":["P04-08","P04-09","P06-01","P06-02","P06-03"],"gate_ids":["G4","G6"],"mapping_rule":"preserve_existing_capability"},"route-c13168d4a449764d":{"disposition":"migrate","target_paths":["src/solarlab/two_dimensional/ion_migration_2d.py"],"migration_tasks":["P04-08","P06-01","P06-02","P06-03"],"gate_ids":["G4","G6"],"mapping_rule":"preserve_existing_capability"},"route-c6bb59ad824f3043":{"disposition":"migrate","target_paths":["src/solarlab/two_dimensional/microstructure.py"],"migration_tasks":["P06-01","P06-02","P06-03"],"gate_ids":["G6"],"mapping_rule":"preserve_existing_capability"},"route-30a3fd6bc1163877":{"disposition":"migrate","target_paths":["src/solarlab/two_dimensional/mobile_ion_current_2d.py"],"migration_tasks":["P04-08","P06-01","P06-02","P06-03"],"gate_ids":["G4","G6"],"mapping_rule":"preserve_existing_capability"},"route-f9281ec0a9ef818c":{"disposition":"migrate","target_paths":["src/solarlab/two_dimensional/radiative_reabsorption_2d.py"],"migration_tasks":["P04-08","P04-12","P06-01","P06-02","P06-03"],"gate_ids":["G4","G6"],"mapping_rule":"preserve_existing_capability"},"route-ae2ab66fa7e4ce16":{"disposition":"migrate","target_paths":["src/solarlab/validation/__init__.py"],"migration_tasks":["P00-03","P03-06","P09-01"],"gate_ids":["G0","G3","G9"],"mapping_rule":"preserve_existing_capability"},"route-c829dfda2d1dc419":{"disposition":"migrate","target_paths":["src/solarlab/validation/defect_energy_refinement.py"],"migration_tasks":["P00-03","P03-06","P04-10","P09-01"],"gate_ids":["G0","G3","G4","G9"],"mapping_rule":"preserve_existing_capability"},"route-d0a3daead14b27f7":{"disposition":"retain","target_paths":[".dockerignore"],"migration_tasks":["P09-04"],"gate_ids":["G9"],"mapping_rule":"repository_support_file"},"route-7e85ec10735f2fac":{"disposition":"retain","target_paths":[".githooks/commit-msg"],"migration_tasks":["P09-04"],"gate_ids":["G9"],"mapping_rule":"repository_support_file"},"route-ab4c1540ac23006e":{"disposition":"retain","target_paths":[".gitignore"],"migration_tasks":["P09-04"],"gate_ids":["G9"],"mapping_rule":"repository_support_file"},"route-feaa4b6fb18e1247":{"disposition":"retain","target_paths":["CLAUDE.md"],"migration_tasks":["P09-04"],"gate_ids":["G9"],"mapping_rule":"repository_support_file"},"route-c6e7ebdaa223a058":{"disposition":"retain","target_paths":["README.md"],"migration_tasks":["P09-04"],"gate_ids":["G9"],"mapping_rule":"repository_support_file"},"route-816d5808800a9b01":{"disposition":"migrate","target_paths":[".github/workflows/ci.yml","pyproject.toml","uv.lock"],"migration_tasks":["P00-01","P02-01","P03-01","P09-04"],"gate_ids":["G0","G2","G3","G9"],"mapping_rule":"environment_preparation_not_applied"},"route-55c5b80df0106a0c":{"disposition":"retain","target_paths":["docs/figures/ArchitectureFlow.png"],"migration_tasks":["P03-06","P07-05","P09-04"],"gate_ids":["G3","G7","G9"],"mapping_rule":"update_active_references_only_preserve_scientific_claims"},"route-1db0e8fa6451b75f":{"disposition":"retain","target_paths":["docs/figures/BandInterfaceConvention.png"],"migration_tasks":["P03-06","P07-05","P09-04"],"gate_ids":["G3","G7","G9"],"mapping_rule":"update_active_references_only_preserve_scientific_claims"},"route-2a50e7c6a27b67d4":{"disposition":"retain","target_paths":["docs/figures/Calado16Fig1fJVV1.png"],"migration_tasks":["P03-06","P07-05","P09-04"],"gate_ids":["G3","G7","G9"],"mapping_rule":"update_active_references_only_preserve_scientific_claims"},"route-8d457418af82dd99":{"disposition":"retain","target_paths":["docs/figures/Calado16Fig1fScanRateV1.png"],"migration_tasks":["P03-06","P07-05","P09-04"],"gate_ids":["G3","G7","G9"],"mapping_rule":"update_active_references_only_preserve_scientific_claims"},"route-85a1f5d5c8a74724":{"disposition":"retain","target_paths":["docs/figures/CboInterfaceValidation.png"],"migration_tasks":["P03-06","P07-05","P09-04"],"gate_ids":["G3","G7","G9"],"mapping_rule":"update_active_references_only_preserve_scientific_claims"},"route-648549fbf1f5e8f0":{"disposition":"retain","target_paths":["docs/figures/CsiQfConvergence.png"],"migration_tasks":["P03-06","P07-05","P09-04"],"gate_ids":["G3","G7","G9"],"mapping_rule":"update_active_references_only_preserve_scientific_claims"},"route-ac66091cbd172b46":{"disposition":"retain","target_paths":["docs/figures/DeviceContactBoundary.png"],"migration_tasks":["P03-06","P07-05","P09-04"],"gate_ids":["G3","G7","G9"],"mapping_rule":"update_active_references_only_preserve_scientific_claims"},"route-62fa190631c10a2f":{"disposition":"retain","target_paths":["docs/figures/SolverTopology.png"],"migration_tasks":["P03-06","P07-05","P09-04"],"gate_ids":["G3","G7","G9"],"mapping_rule":"update_active_references_only_preserve_scientific_claims"},"route-c10fed85e1b32d65":{"disposition":"retain","target_paths":["docs/figures/TwodScope.png"],"migration_tasks":["P03-06","P07-05","P09-04"],"gate_ids":["G3","G7","G9"],"mapping_rule":"update_active_references_only_preserve_scientific_claims"},"route-b022114458be9707":{"disposition":"migrate","target_paths":["src/solarlab_server/README.md"],"migration_tasks":["P03-07","P06-04","P06-05","P06-06","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-ed2463e7dc9ab7d3":{"disposition":"retain","target_paths":["src/solarlab_server/runtime.py"],"migration_tasks":["P03-07","P06-04","P06-05","P06-06","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"dormant_public_or_documented_entrypoint_pending_retirement_review"},"route-3a78de72720cb482":{"disposition":"replace","target_paths":["src/solarlab/io/run_store.py","src/solarlab_server/runtime.py"],"migration_tasks":["P03-07","P06-04","P06-05","P06-06","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-9ac1596662416255":{"disposition":"migrate","target_paths":["src/solarlab_server/requirements.txt"],"migration_tasks":["P03-07","P06-04","P06-05","P06-06","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-c0307914ea40351d":{"disposition":"migrate","target_paths":["src/solarlab_server/test_e2e_api.py"],"migration_tasks":["P03-07","P06-04","P06-05","P06-06","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-0f115e12b65bb761":{"disposition":"migrate","target_paths":["src/solarlab_server/user_configs.py"],"migration_tasks":["P03-07","P06-04","P06-05","P06-06","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-76b80d8d0340a0f2":{"disposition":"migrate","target_paths":["configs/README.md"],"migration_tasks":["P03-03","P03-04","P03-06","P03-07","P09-02"],"gate_ids":["G3","G9"],"mapping_rule":"preserve_existing_capability"},"route-86b16e395b38a3fe":{"disposition":"retain","target_paths":["docs/AcceptedTrajectoryValidationContractV1.md"],"migration_tasks":["P03-06","P07-05","P09-04"],"gate_ids":["G3","G7","G9"],"mapping_rule":"update_active_references_only_preserve_scientific_claims"},"route-d05ab487b94a0c62":{"disposition":"retain","target_paths":["docs/BandGapNarrowingClosure.md"],"migration_tasks":["P03-06","P07-05","P09-04"],"gate_ids":["G3","G7","G9"],"mapping_rule":"update_active_references_only_preserve_scientific_claims"},"route-a72b0c66a4f622cb":{"disposition":"retain","target_paths":["docs/BulkTrapEnergyDistributionClosure.md"],"migration_tasks":["P03-06","P07-05","P09-04"],"gate_ids":["G3","G7","G9"],"mapping_rule":"update_active_references_only_preserve_scientific_claims"},"route-e087fdbc3cc551ed":{"disposition":"retain","target_paths":["docs/Calado2016ReproductionCheckpoint.md"],"migration_tasks":["P03-06","P07-05","P09-04"],"gate_ids":["G3","G7","G9"],"mapping_rule":"update_active_references_only_preserve_scientific_claims"},"route-a9d85d1f1e29c214":{"disposition":"retain","target_paths":["docs/ChargedExplicitDefectQfDc.md"],"migration_tasks":["P03-06","P07-05","P09-04"],"gate_ids":["G3","G7","G9"],"mapping_rule":"update_active_references_only_preserve_scientific_claims"},"route-4dea08d69f02c599":{"disposition":"retain","target_paths":["docs/CigsGradedOptics.md"],"migration_tasks":["P03-06","P07-05","P09-04"],"gate_ids":["G3","G7","G9"],"mapping_rule":"update_active_references_only_preserve_scientific_claims"},"route-786062be07417958":{"disposition":"retain","target_paths":["docs/ComponentwiseTolerancePolicy.md"],"migration_tasks":["P03-06","P07-05","P09-04"],"gate_ids":["G3","G7","G9"],"mapping_rule":"update_active_references_only_preserve_scientific_claims"},"route-a25b473227459389":{"disposition":"retain","target_paths":["docs/DaeResearchBackbone.md"],"migration_tasks":["P03-06","P07-05","P09-04"],"gate_ids":["G3","G7","G9"],"mapping_rule":"update_active_references_only_preserve_scientific_claims"},"route-a80d5cf4dc90950d":{"disposition":"retain","target_paths":["docs/DegenerateSemiconductorClosure.md"],"migration_tasks":["P03-06","P07-05","P09-04"],"gate_ids":["G3","G7","G9"],"mapping_rule":"update_active_references_only_preserve_scientific_claims"},"route-8ddf6297aea3744d":{"disposition":"retain","target_paths":["docs/DockerDevelopment.md"],"migration_tasks":["P03-06","P07-05","P09-04"],"gate_ids":["G3","G7","G9"],"mapping_rule":"update_active_references_only_preserve_scientific_claims"},"route-344626bf7a3ca19e":{"disposition":"retain","target_paths":["docs/DynamicBulkDefectDeviceAc.md"],"migration_tasks":["P03-06","P07-05","P09-04"],"gate_ids":["G3","G7","G9"],"mapping_rule":"update_active_references_only_preserve_scientific_claims"},"route-2136cfe263b7c994":{"disposition":"retain","target_paths":["docs/DynamicDefectIonCombinedDeviceAc.md"],"migration_tasks":["P03-06","P07-05","P09-04"],"gate_ids":["G3","G7","G9"],"mapping_rule":"update_active_references_only_preserve_scientific_claims"},"route-de1ebf7a6933ac0f":{"disposition":"retain","target_paths":["docs/DynamicInterfaceDefectDeviceAc.md"],"migration_tasks":["P03-06","P07-05","P09-04"],"gate_ids":["G3","G7","G9"],"mapping_rule":"update_active_references_only_preserve_scientific_claims"},"route-629765226f693cbe":{"disposition":"retain","target_paths":["docs/DynamicTrapTransient.md"],"migration_tasks":["P03-06","P07-05","P09-04"],"gate_ids":["G3","G7","G9"],"mapping_rule":"update_active_references_only_preserve_scientific_claims"},"route-9858ab395bf2ddcb":{"disposition":"retain","target_paths":["docs/ExperimentProtocol.md"],"migration_tasks":["P03-06","P07-05","P09-04"],"gate_ids":["G3","G7","G9"],"mapping_rule":"update_active_references_only_preserve_scientific_claims"},"route-17e0fc083f3fc02f":{"disposition":"retain","target_paths":["docs/ExplicitDefectEnergyDistributionV2.md"],"migration_tasks":["P03-06","P07-05","P09-04"],"gate_ids":["G3","G7","G9"],"mapping_rule":"update_active_references_only_preserve_scientific_claims"},"route-2311edd55b9ece6d":{"disposition":"retain","target_paths":["docs/ExplicitDefectSchemaV1.md"],"migration_tasks":["P03-06","P07-05","P09-04"],"gate_ids":["G3","G7","G9"],"mapping_rule":"update_active_references_only_preserve_scientific_claims"},"route-7541539c2bfc8d67":{"disposition":"retain","target_paths":["docs/ExplicitDefectSpatialProfileV3.md"],"migration_tasks":["P03-06","P07-05","P09-04"],"gate_ids":["G3","G7","G9"],"mapping_rule":"update_active_references_only_preserve_scientific_claims"},"route-86d2206f88467751":{"disposition":"retain","target_paths":["docs/ExplicitInterfaceDefectSchemaV1.md"],"migration_tasks":["P03-06","P07-05","P09-04"],"gate_ids":["G3","G7","G9"],"mapping_rule":"update_active_references_only_preserve_scientific_claims"},"route-aa4ca41c388064f5":{"disposition":"retain","target_paths":["docs/ExternalCircuitDc.md"],"migration_tasks":["P03-06","P07-05","P09-04"],"gate_ids":["G3","G7","G9"],"mapping_rule":"update_active_references_only_preserve_scientific_claims"},"route-df4d97bdcbbb7454":{"disposition":"retain","target_paths":["docs/FoundationReferenceValidationContractV1.md"],"migration_tasks":["P03-06","P07-05","P09-04"],"gate_ids":["G3","G7","G9"],"mapping_rule":"update_active_references_only_preserve_scientific_claims"},"route-706c939efb102e21":{"disposition":"retain","target_paths":["docs/FoundationReferenceValidationContractV2.md"],"migration_tasks":["P03-06","P07-05","P09-04"],"gate_ids":["G3","G7","G9"],"mapping_rule":"update_active_references_only_preserve_scientific_claims"},"route-0de896147cb08493":{"disposition":"retain","target_paths":["docs/FrozenIonSnapshotContract.md"],"migration_tasks":["P03-06","P07-05","P09-04"],"gate_ids":["G3","G7","G9"],"mapping_rule":"update_active_references_only_preserve_scientific_claims"},"route-737ac052c881c663":{"disposition":"retain","target_paths":["docs/InterfaceChargeClosurePolicy.md"],"migration_tasks":["P03-06","P07-05","P09-04"],"gate_ids":["G3","G7","G9"],"mapping_rule":"update_active_references_only_preserve_scientific_claims"},"route-8648d624f8696d73":{"disposition":"retain","target_paths":["docs/InterfaceDefectTransientIncrementContract.md"],"migration_tasks":["P03-06","P07-05","P09-04"],"gate_ids":["G3","G7","G9"],"mapping_rule":"update_active_references_only_preserve_scientific_claims"},"route-0f51ebe61f1e1bf7":{"disposition":"retain","target_paths":["docs/InterfaceSrhIdentifiability.md"],"migration_tasks":["P03-06","P07-05","P09-04"],"gate_ids":["G3","G7","G9"],"mapping_rule":"update_active_references_only_preserve_scientific_claims"},"route-cb94cc2049ad00d2":{"disposition":"retain","target_paths":["docs/IonAwareDcCertification.md"],"migration_tasks":["P03-06","P07-05","P09-04"],"gate_ids":["G3","G7","G9"],"mapping_rule":"update_active_references_only_preserve_scientific_claims"},"route-67ffa8af1d5ae5d8":{"disposition":"retain","target_paths":["docs/IonAwareImpedanceReferenceEngine.md"],"migration_tasks":["P03-06","P07-05","P09-04"],"gate_ids":["G3","G7","G9"],"mapping_rule":"update_active_references_only_preserve_scientific_claims"},"route-7e2615488c5b051e":{"disposition":"retain","target_paths":["docs/IonAwareStructuredJacobianComparison.md"],"migration_tasks":["P03-06","P07-05","P09-04"],"gate_ids":["G3","G7","G9"],"mapping_rule":"update_active_references_only_preserve_scientific_claims"},"route-ae3140f09d711e0b":{"disposition":"retain","target_paths":["docs/IonSweepFigureReference.md"],"migration_tasks":["P03-06","P07-05","P09-04"],"gate_ids":["G3","G7","G9"],"mapping_rule":"update_active_references_only_preserve_scientific_claims"},"route-26f66c7f35957559":{"disposition":"retain","target_paths":["docs/MonovalentDefectClosure.md"],"migration_tasks":["P03-06","P07-05","P09-04"],"gate_ids":["G3","G7","G9"],"mapping_rule":"update_active_references_only_preserve_scientific_claims"},"route-9b61392471eb1818":{"disposition":"retain","target_paths":["docs/MultivalentMetastableDefectContract.md"],"migration_tasks":["P03-06","P07-05","P09-04"],"gate_ids":["G3","G7","G9"],"mapping_rule":"update_active_references_only_preserve_scientific_claims"},"route-5f7ff95e1d7a7980":{"disposition":"retain","target_paths":["docs/NumericalHealthDiagnostics.md"],"migration_tasks":["P03-06","P07-05","P09-04"],"gate_ids":["G3","G7","G9"],"mapping_rule":"update_active_references_only_preserve_scientific_claims"},"route-e15fe44fe7681ece":{"disposition":"retain","target_paths":["docs/NumericalRefinementCertificates.md"],"migration_tasks":["P03-06","P07-05","P09-04"],"gate_ids":["G3","G7","G9"],"mapping_rule":"update_active_references_only_preserve_scientific_claims"},"route-a339e6d38d8d1e71":{"disposition":"retain","target_paths":["docs/OneDimensionalMechanismR0ProtocolV1.md"],"migration_tasks":["P03-06","P07-05","P09-04"],"gate_ids":["G3","G7","G9"],"mapping_rule":"update_active_references_only_preserve_scientific_claims"},"route-80e18433d414a7de":{"disposition":"retain","target_paths":["docs/OneDimensionalMechanismR1AdmittanceV1.md"],"migration_tasks":["P03-06","P07-05","P09-04"],"gate_ids":["G3","G7","G9"],"mapping_rule":"update_active_references_only_preserve_scientific_claims"},"route-a3af449b006b8f0e":{"disposition":"retain","target_paths":["docs/OneDimensionalMechanismR1CurrentChecksV3.md"],"migration_tasks":["P03-06","P07-05","P09-04"],"gate_ids":["G3","G7","G9"],"mapping_rule":"update_active_references_only_preserve_scientific_claims"},"route-006b7c6813cf3595":{"disposition":"retain","target_paths":["docs/OneDimensionalMechanismR1DynamicsV1.md"],"migration_tasks":["P03-06","P07-05","P09-04"],"gate_ids":["G3","G7","G9"],"mapping_rule":"update_active_references_only_preserve_scientific_claims"},"route-21e4b7437930901b":{"disposition":"retain","target_paths":["docs/OneDimensionalMechanismR1EvidenceBoundariesV3.md"],"migration_tasks":["P03-06","P07-05","P09-04"],"gate_ids":["G3","G7","G9"],"mapping_rule":"update_active_references_only_preserve_scientific_claims"},"route-9ec8b30ecaedb9e3":{"disposition":"retain","target_paths":["docs/OneDimensionalMechanismR1EvidenceV5.md"],"migration_tasks":["P03-06","P07-05","P09-04"],"gate_ids":["G3","G7","G9"],"mapping_rule":"update_active_references_only_preserve_scientific_claims"},"route-ce093401559267f9":{"disposition":"retain","target_paths":["docs/OneDimensionalMechanismR1GeometryV1.md"],"migration_tasks":["P03-06","P07-05","P09-04"],"gate_ids":["G3","G7","G9"],"mapping_rule":"update_active_references_only_preserve_scientific_claims"},"route-a891d4713719767d":{"disposition":"retain","target_paths":["docs/OneDimensionalMechanismR1InputLiftContinuationV1.md"],"migration_tasks":["P03-06","P07-05","P09-04"],"gate_ids":["G3","G7","G9"],"mapping_rule":"update_active_references_only_preserve_scientific_claims"},"route-c5c28040ca3311d2":{"disposition":"retain","target_paths":["docs/OneDimensionalMechanismR1OperatorCriterionDecisionV1.md"],"migration_tasks":["P03-06","P07-05","P09-04"],"gate_ids":["G3","G7","G9"],"mapping_rule":"update_active_references_only_preserve_scientific_claims"},"route-a056577fb8946572":{"disposition":"retain","target_paths":["docs/OneDimensionalMechanismR1OperatorCriterionDecisionV2.md"],"migration_tasks":["P03-06","P07-05","P09-04"],"gate_ids":["G3","G7","G9"],"mapping_rule":"update_active_references_only_preserve_scientific_claims"},"route-b399d45d6e496e92":{"disposition":"retain","target_paths":["docs/OneDimensionalMechanismR1PhysicsProtocolV1.md"],"migration_tasks":["P03-06","P07-05","P09-04"],"gate_ids":["G3","G7","G9"],"mapping_rule":"update_active_references_only_preserve_scientific_claims"},"route-546140408f83644f":{"disposition":"retain","target_paths":["docs/OneDimensionalMechanismR1QualificationV1.md"],"migration_tasks":["P03-06","P07-05","P09-04"],"gate_ids":["G3","G7","G9"],"mapping_rule":"update_active_references_only_preserve_scientific_claims"},"route-365784bbd7bfd7e7":{"disposition":"retain","target_paths":["docs/OneDimensionalMechanismR1ResponseV1.md"],"migration_tasks":["P03-06","P07-05","P09-04"],"gate_ids":["G3","G7","G9"],"mapping_rule":"update_active_references_only_preserve_scientific_claims"},"route-b11dfbfe528584ec":{"disposition":"retain","target_paths":["docs/OneDimensionalMechanismR1SpatialV1.md"],"migration_tasks":["P03-06","P07-05","P09-04"],"gate_ids":["G3","G7","G9"],"mapping_rule":"update_active_references_only_preserve_scientific_claims"},"route-d7c4414b98a7fba0":{"disposition":"retain","target_paths":["docs/OneDimensionalMechanismR1StudyRequestV1.md"],"migration_tasks":["P03-06","P07-05","P09-04"],"gate_ids":["G3","G7","G9"],"mapping_rule":"update_active_references_only_preserve_scientific_claims"},"route-8bb8b012433c99aa":{"disposition":"retain","target_paths":["docs/Phase1ImplementationAndEvidence.md"],"migration_tasks":["P03-06","P07-05","P09-04"],"gate_ids":["G3","G7","G9"],"mapping_rule":"update_active_references_only_preserve_scientific_claims"},"route-244fbba9071d6199":{"disposition":"retain","target_paths":["docs/PhysicalInterfaceCboScan.md"],"migration_tasks":["P03-06","P07-05","P09-04"],"gate_ids":["G3","G7","G9"],"mapping_rule":"update_active_references_only_preserve_scientific_claims"},"route-bc98a6b5f65ed88a":{"disposition":"retain","target_paths":["docs/ResolvedIntrabandTunnellingContractV2.md"],"migration_tasks":["P03-06","P07-05","P09-04"],"gate_ids":["G3","G7","G9"],"mapping_rule":"update_active_references_only_preserve_scientific_claims"},"route-8dafd390e916029a":{"disposition":"retain","target_paths":["docs/RhsRegularizationPolicy.md"],"migration_tasks":["P03-06","P07-05","P09-04"],"gate_ids":["G3","G7","G9"],"mapping_rule":"update_active_references_only_preserve_scientific_claims"},"route-adb0c724a28498f9":{"disposition":"retain","target_paths":["docs/ScapsCboParameterManifestTemplate.json"],"migration_tasks":["P03-06","P07-05","P09-04"],"gate_ids":["G3","G7","G9"],"mapping_rule":"update_active_references_only_preserve_scientific_claims"},"route-1a0e5d1f85802c7c":{"disposition":"retain","target_paths":["docs/ScapsDefectComparisonPreregistration.md"],"migration_tasks":["P03-06","P07-05","P09-04"],"gate_ids":["G3","G7","G9"],"mapping_rule":"update_active_references_only_preserve_scientific_claims"},"route-efcb78f385b97c7a":{"disposition":"retain","target_paths":["docs/ScapsDefectM1M3ReferenceProtocol.md"],"migration_tasks":["P03-06","P07-05","P09-04"],"gate_ids":["G3","G7","G9"],"mapping_rule":"update_active_references_only_preserve_scientific_claims"},"route-45d2b4db07b35027":{"disposition":"retain","target_paths":["docs/ScapsDefectS0S2ReferenceProtocol.md"],"migration_tasks":["P03-06","P07-05","P09-04"],"gate_ids":["G3","G7","G9"],"mapping_rule":"update_active_references_only_preserve_scientific_claims"},"route-8ac8f3b3e9001fbd":{"disposition":"retain","target_paths":["docs/ScapsM1M3CollectionSheet.md"],"migration_tasks":["P03-06","P07-05","P09-04"],"gate_ids":["G3","G7","G9"],"mapping_rule":"update_active_references_only_preserve_scientific_claims"},"route-abf48f96794369f2":{"disposition":"retain","target_paths":["docs/ScapsS0S2CollectionSheet.md"],"migration_tasks":["P03-06","P07-05","P09-04"],"gate_ids":["G3","G7","G9"],"mapping_rule":"update_active_references_only_preserve_scientific_claims"},"route-7e74d7e68f73a81a":{"disposition":"retain","target_paths":["docs/ThermalEnergyBalance.md"],"migration_tasks":["P03-06","P07-05","P09-04"],"gate_ids":["G3","G7","G9"],"mapping_rule":"update_active_references_only_preserve_scientific_claims"},"route-a4c9abb0c0e3cf65":{"disposition":"retain","target_paths":["docs/TpvOpenCircuitContract.md"],"migration_tasks":["P03-06","P07-05","P09-04"],"gate_ids":["G3","G7","G9"],"mapping_rule":"update_active_references_only_preserve_scientific_claims"},"route-6a3098b9bd6287fd":{"disposition":"retain","target_paths":["docs/TwoSidedInterfaceTopology.md"],"migration_tasks":["P03-06","P07-05","P09-04"],"gate_ids":["G3","G7","G9"],"mapping_rule":"update_active_references_only_preserve_scientific_claims"},"route-e1e598612c1df51b":{"disposition":"retain","target_paths":["docs/TwodCombinedNumericalCertificate.md"],"migration_tasks":["P03-06","P07-05","P09-04"],"gate_ids":["G3","G7","G9"],"mapping_rule":"update_active_references_only_preserve_scientific_claims"},"route-78acfee3adf85469":{"disposition":"retain","target_paths":["docs/TwodGrainBoundaryAreaClosure.md"],"migration_tasks":["P03-06","P07-05","P09-04"],"gate_ids":["G3","G7","G9"],"mapping_rule":"update_active_references_only_preserve_scientific_claims"},"route-5065c7ae601775de":{"disposition":"retain","target_paths":["docs/TwodJvExecutionProtocol.md"],"migration_tasks":["P03-06","P07-05","P09-04"],"gate_ids":["G3","G7","G9"],"mapping_rule":"update_active_references_only_preserve_scientific_claims"},"route-2df008a8f4e10435":{"disposition":"retain","target_paths":["docs/TwodMobileIonCurrent.md"],"migration_tasks":["P03-06","P07-05","P09-04"],"gate_ids":["G3","G7","G9"],"mapping_rule":"update_active_references_only_preserve_scientific_claims"},"route-c28c875f1539b79f":{"disposition":"retain","target_paths":["docs/TwodMobileIonTransient.md"],"migration_tasks":["P03-06","P07-05","P09-04"],"gate_ids":["G3","G7","G9"],"mapping_rule":"update_active_references_only_preserve_scientific_claims"},"route-e924ad99d43ab128":{"disposition":"retain","target_paths":["docs/TwodTransportContract.md"],"migration_tasks":["P03-06","P07-05","P09-04"],"gate_ids":["G3","G7","G9"],"mapping_rule":"update_active_references_only_preserve_scientific_claims"},"route-53c9178e303a7cba":{"disposition":"retain","target_paths":["docs/TwodTwoSidedInterfaceSrh.md"],"migration_tasks":["P03-06","P07-05","P09-04"],"gate_ids":["G3","G7","G9"],"mapping_rule":"update_active_references_only_preserve_scientific_claims"},"route-b470825ba1153618":{"disposition":"retain","target_paths":["docs/WkbTunnellingFamilyContract.md"],"migration_tasks":["P03-06","P07-05","P09-04"],"gate_ids":["G3","G7","G9"],"mapping_rule":"update_active_references_only_preserve_scientific_claims"},"route-e7e5ba547ce17f00":{"disposition":"retain","target_paths":["docs/scaps_collection_templates/M1ProfileTemplate.csv"],"migration_tasks":["P03-06","P07-05","P09-04"],"gate_ids":["G3","G7","G9"],"mapping_rule":"update_active_references_only_preserve_scientific_claims"},"route-57f915d785407d1f":{"disposition":"retain","target_paths":["docs/scaps_collection_templates/M2ProfileTemplate.csv"],"migration_tasks":["P03-06","P07-05","P09-04"],"gate_ids":["G3","G7","G9"],"mapping_rule":"update_active_references_only_preserve_scientific_claims"},"route-ddf6aca93ae04edf":{"disposition":"retain","target_paths":["docs/scaps_collection_templates/M3ProfileTemplate.csv"],"migration_tasks":["P03-06","P07-05","P09-04"],"gate_ids":["G3","G7","G9"],"mapping_rule":"update_active_references_only_preserve_scientific_claims"},"route-312c49d2f9c05171":{"disposition":"retain","target_paths":["docs/scaps_collection_templates/MultivalentParameterManifestSkeleton.json"],"migration_tasks":["P03-06","P07-05","P09-04"],"gate_ids":["G3","G7","G9"],"mapping_rule":"update_active_references_only_preserve_scientific_claims"},"route-1d9234b2b5be2cc1":{"disposition":"retain","target_paths":["docs/scaps_collection_templates/ParameterManifestSkeleton.json"],"migration_tasks":["P03-06","P07-05","P09-04"],"gate_ids":["G3","G7","G9"],"mapping_rule":"update_active_references_only_preserve_scientific_claims"},"route-02db471b7f1999be":{"disposition":"retain","target_paths":["docs/scaps_collection_templates/S0ProfileTemplate.csv"],"migration_tasks":["P03-06","P07-05","P09-04"],"gate_ids":["G3","G7","G9"],"mapping_rule":"update_active_references_only_preserve_scientific_claims"},"route-7018041bb8eae938":{"disposition":"retain","target_paths":["docs/scaps_collection_templates/S1ProfileTemplate.csv"],"migration_tasks":["P03-06","P07-05","P09-04"],"gate_ids":["G3","G7","G9"],"mapping_rule":"update_active_references_only_preserve_scientific_claims"},"route-e913f50b65422822":{"disposition":"retain","target_paths":["docs/scaps_collection_templates/S2ProfileTemplate.csv"],"migration_tasks":["P03-06","P07-05","P09-04"],"gate_ids":["G3","G7","G9"],"mapping_rule":"update_active_references_only_preserve_scientific_claims"},"route-d0fa2edc773c4a7b":{"disposition":"migrate","target_paths":["web/.gitignore"],"migration_tasks":["P03-07","P06-07","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-827398f40e4000be":{"disposition":"migrate","target_paths":["web/Dockerfile"],"migration_tasks":["P03-07","P06-07","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-42b4e1883af95b42":{"disposition":"migrate","target_paths":["web/index.html"],"migration_tasks":["P03-07","P06-07","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-0d917791f89b7094":{"disposition":"migrate","target_paths":["web/package-lock.json"],"migration_tasks":["P03-07","P06-07","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-6063b5ec6fdb5af9":{"disposition":"migrate","target_paths":["web/package.json"],"migration_tasks":["P03-07","P06-07","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-f0988a9b7256892e":{"disposition":"migrate","target_paths":["web/public/favicon.svg"],"migration_tasks":["P03-07","P06-07","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-4a07c72df8b67322":{"disposition":"migrate","target_paths":["web/public/icons.svg"],"migration_tasks":["P03-07","P06-07","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-eb82166f57cc7a17":{"disposition":"migrate","target_paths":["web/src/active-physics-tier-summary.test.ts"],"migration_tasks":["P03-07","P06-07","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-f946925b284d0d00":{"disposition":"migrate","target_paths":["web/src/active-physics.test.ts"],"migration_tasks":["P03-07","P06-07","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-5461e8f004c9de41":{"disposition":"migrate","target_paths":["web/src/active-physics.ts"],"migration_tasks":["P03-07","P06-07","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-f757d9ac00e9efd7":{"disposition":"migrate","target_paths":["web/src/api.ts"],"migration_tasks":["P03-07","P06-07","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-a6e6a642f1dcddeb":{"disposition":"migrate","target_paths":["web/src/assets/hero.png"],"migration_tasks":["P03-07","P06-07","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-4fd5e2dbd688c3ce":{"disposition":"migrate","target_paths":["web/src/assets/typescript.svg"],"migration_tasks":["P03-07","P06-07","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-8a153d34160d41f4":{"disposition":"migrate","target_paths":["web/src/assets/vite.svg"],"migration_tasks":["P03-07","P06-07","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-0df213aa33ca3269":{"disposition":"migrate","target_paths":["web/src/cigs-graded-optics-ui.test.ts"],"migration_tasks":["P03-07","P06-07","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-2c34cb86f4b880f5":{"disposition":"migrate","target_paths":["web/src/config-editor-built-in-potential.test.ts"],"migration_tasks":["P03-07","P06-07","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-e83ab67632726a29":{"disposition":"migrate","target_paths":["web/src/config-editor-bulk-defects.test.ts"],"migration_tasks":["P03-07","P06-07","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-b4f0e8296cb898af":{"disposition":"migrate","target_paths":["web/src/config-editor-dual-ions.test.ts"],"migration_tasks":["P03-07","P06-07","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-b60d3859e696f1ac":{"disposition":"migrate","target_paths":["web/src/config-editor-grading.test.ts"],"migration_tasks":["P03-07","P06-07","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-6b088cf64724f912":{"disposition":"migrate","target_paths":["web/src/config-editor-interface-charge.test.ts"],"migration_tasks":["P03-07","P06-07","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-f26da9595815b8fc":{"disposition":"migrate","target_paths":["web/src/config-editor-interface-defects.test.ts"],"migration_tasks":["P03-07","P06-07","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-53eab0ce2693ad29":{"disposition":"migrate","target_paths":["web/src/config-editor-ion-activation.test.ts"],"migration_tasks":["P03-07","P06-07","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-c2d8b25045b854bc":{"disposition":"migrate","target_paths":["web/src/config-editor-scaps-physics.test.ts"],"migration_tasks":["P03-07","P06-07","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-b3874b8f0e2a68d5":{"disposition":"migrate","target_paths":["web/src/config-editor-tunnelling-channels.test.ts"],"migration_tasks":["P03-07","P06-07","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-cbe99b453d5d89e8":{"disposition":"migrate","target_paths":["web/src/config-editor.ts"],"migration_tasks":["P03-07","P06-07","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-74aa793a620f3fb2":{"disposition":"migrate","target_paths":["web/src/device-panel-ion-mode.test.ts"],"migration_tasks":["P03-07","P06-07","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-d28085b5a3dca6c8":{"disposition":"migrate","target_paths":["web/src/device-panel-workspace-config.test.ts"],"migration_tasks":["P03-07","P06-07","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-b7eaf8697db983ff":{"disposition":"migrate","target_paths":["web/src/device-panel.ts"],"migration_tasks":["P03-07","P06-07","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-94eeb44968452d54":{"disposition":"migrate","target_paths":["web/src/device-utils.ts"],"migration_tasks":["P03-07","P06-07","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-632db8749e2d8b2a":{"disposition":"migrate","target_paths":["web/src/dynamic-defect-transient-evidence.ts"],"migration_tasks":["P03-07","P06-07","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-e34b1a6bd7096150":{"disposition":"migrate","target_paths":["web/src/explicit-defect-capability.test.ts"],"migration_tasks":["P03-07","P06-07","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-350fae4387b8ab65":{"disposition":"migrate","target_paths":["web/src/explicit-defect-capability.ts"],"migration_tasks":["P03-07","P06-07","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-babbe57249616e52":{"disposition":"migrate","target_paths":["web/src/impedance-evidence.ts"],"migration_tasks":["P03-07","P06-07","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-6df155f91259fbb4":{"disposition":"migrate","target_paths":["web/src/impedance-panels.test.ts"],"migration_tasks":["P03-07","P06-07","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-8448fd8971926afb":{"disposition":"migrate","target_paths":["web/src/interface-charge-jv-evidence.ts"],"migration_tasks":["P03-07","P06-07","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-47adb7a14ff1c660":{"disposition":"migrate","target_paths":["web/src/job-stream.ts"],"migration_tasks":["P03-07","P06-07","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-a55598579f364362":{"disposition":"migrate","target_paths":["web/src/jv-defect-evidence.ts"],"migration_tasks":["P03-07","P06-07","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-e281f1c6fd7721bb":{"disposition":"migrate","target_paths":["web/src/jv-waveform-controls.test.ts"],"migration_tasks":["P03-07","P06-07","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-eac9d81293965315":{"disposition":"migrate","target_paths":["web/src/jv-waveform-controls.ts"],"migration_tasks":["P03-07","P06-07","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-9eb66e91fc07bed2":{"disposition":"migrate","target_paths":["web/src/main.ts"],"migration_tasks":["P03-07","P06-07","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-f5a6859e1f3162d1":{"disposition":"migrate","target_paths":["web/src/number-input.test.ts"],"migration_tasks":["P03-07","P06-07","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-653e2eed26ead27d":{"disposition":"migrate","target_paths":["web/src/number-input.ts"],"migration_tasks":["P03-07","P06-07","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-d22336f969ea99be":{"disposition":"migrate","target_paths":["web/src/panels/algorithm.ts"],"migration_tasks":["P03-07","P06-07","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-1ac9c53320f5ec47":{"disposition":"migrate","target_paths":["web/src/panels/degradation.ts"],"migration_tasks":["P03-07","P06-07","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-a7deeee117b3f51a":{"disposition":"migrate","target_paths":["web/src/panels/impedance.ts"],"migration_tasks":["P03-07","P06-07","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-996e8ece5b4db5e7":{"disposition":"migrate","target_paths":["web/src/panels/jv.test.ts"],"migration_tasks":["P03-07","P06-07","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-003af88342060b3f":{"disposition":"migrate","target_paths":["web/src/panels/jv.ts"],"migration_tasks":["P03-07","P06-07","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-7ef81c52668a0ecc":{"disposition":"migrate","target_paths":["web/src/panels/parameters.ts"],"migration_tasks":["P03-07","P06-07","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-8bcf67e514ab4920":{"disposition":"migrate","target_paths":["web/src/panels/tutorial.ts"],"migration_tasks":["P03-07","P06-07","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-3205348d1b81b897":{"disposition":"migrate","target_paths":["web/src/plot-theme.test.ts"],"migration_tasks":["P03-07","P06-07","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-e3f780201d5ec12b":{"disposition":"migrate","target_paths":["web/src/plot-theme.ts"],"migration_tasks":["P03-07","P06-07","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-402a6d86919758ff":{"disposition":"migrate","target_paths":["web/src/plotly.d.ts"],"migration_tasks":["P03-07","P06-07","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-9b52fcf8a6f30ea6":{"disposition":"migrate","target_paths":["web/src/preset-catalog.test.ts"],"migration_tasks":["P03-07","P06-07","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-6e974a0a5ebc5295":{"disposition":"migrate","target_paths":["web/src/preset-catalog.ts"],"migration_tasks":["P03-07","P06-07","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-e34653c27041e575":{"disposition":"migrate","target_paths":["web/src/progress.test.ts"],"migration_tasks":["P03-07","P06-07","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-91ed380301bdd595":{"disposition":"migrate","target_paths":["web/src/progress.ts"],"migration_tasks":["P03-07","P06-07","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-547038177e6b62dd":{"disposition":"migrate","target_paths":["web/src/signal-smooth.test.ts"],"migration_tasks":["P03-07","P06-07","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-c98dd57da20c4d6a":{"disposition":"migrate","target_paths":["web/src/signal-smooth.ts"],"migration_tasks":["P03-07","P06-07","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-1b4ee42dd2d5f4fb":{"disposition":"migrate","target_paths":["web/src/stack/__tests__/dirty-state.test.ts"],"migration_tasks":["P03-07","P06-07","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-612b8cb53b47b19f":{"disposition":"migrate","target_paths":["web/src/stack/__tests__/log-scale-height.test.ts"],"migration_tasks":["P03-07","P06-07","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-71c8cf748a7243cc":{"disposition":"migrate","target_paths":["web/src/stack/__tests__/pretty-formula.test.ts"],"migration_tasks":["P03-07","P06-07","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-4241668afa4138c0":{"disposition":"migrate","target_paths":["web/src/stack/__tests__/reconcile-interfaces.test.ts"],"migration_tasks":["P03-07","P06-07","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-c7b14acf4fa56568":{"disposition":"migrate","target_paths":["web/src/stack/__tests__/stack-validator.test.ts"],"migration_tasks":["P03-07","P06-07","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-946ec501a9d0087d":{"disposition":"migrate","target_paths":["web/src/stack/add-layer-dialog.ts"],"migration_tasks":["P03-07","P06-07","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-6339f819bedb3590":{"disposition":"migrate","target_paths":["web/src/stack/dirty-state.ts"],"migration_tasks":["P03-07","P06-07","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-0cef01505fd6c412":{"disposition":"migrate","target_paths":["web/src/stack/log-scale-height.ts"],"migration_tasks":["P03-07","P06-07","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-bd9966aa031e9571":{"disposition":"migrate","target_paths":["web/src/stack/reconcile-interfaces.ts"],"migration_tasks":["P03-07","P06-07","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-db731fb3c86dff54":{"disposition":"migrate","target_paths":["web/src/stack/save-as-dialog.ts"],"migration_tasks":["P03-07","P06-07","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-10fb5a121c5313b3":{"disposition":"migrate","target_paths":["web/src/stack/stack-interface-strip.ts"],"migration_tasks":["P03-07","P06-07","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-55ef33b451a04a83":{"disposition":"migrate","target_paths":["web/src/stack/stack-layer-card.ts"],"migration_tasks":["P03-07","P06-07","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-22c4007e8dd725a9":{"disposition":"migrate","target_paths":["web/src/stack/stack-validator.ts"],"migration_tasks":["P03-07","P06-07","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-d1965a383ba9309d":{"disposition":"migrate","target_paths":["web/src/stack/stack-visualizer.ts"],"migration_tasks":["P03-07","P06-07","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-3d092eb5004b0f59":{"disposition":"migrate","target_paths":["web/src/stack/tandem-stack-visualizer.ts"],"migration_tasks":["P03-07","P06-07","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-e2e23c3e5dfc7ac6":{"disposition":"migrate","target_paths":["web/src/style.css"],"migration_tasks":["P03-07","P06-07","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-fa5dde7cc753e4f9":{"disposition":"replace","target_paths":["web/src/generated/types.ts"],"migration_tasks":["P03-07","P06-07","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-982b838ddf57d643":{"disposition":"migrate","target_paths":["web/src/ui-helpers.ts"],"migration_tasks":["P03-07","P06-07","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-d0feaeef97ab1c5e":{"disposition":"migrate","target_paths":["web/src/workstation/console.ts"],"migration_tasks":["P03-07","P06-07","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-fe70decefdc58a3f":{"disposition":"migrate","target_paths":["web/src/workstation/layout-persistence.test.ts"],"migration_tasks":["P03-07","P06-07","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-71620fb4500ed0d3":{"disposition":"migrate","target_paths":["web/src/workstation/layout-persistence.ts"],"migration_tasks":["P03-07","P06-07","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-eb7621385efcee2c":{"disposition":"migrate","target_paths":["web/src/workstation/layout-resize.test.ts"],"migration_tasks":["P03-07","P06-07","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-8c3ec289aaaabd57":{"disposition":"migrate","target_paths":["web/src/workstation/mobile-sidebar.test.ts"],"migration_tasks":["P03-07","P06-07","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-127d4f1f887306f0":{"disposition":"migrate","target_paths":["web/src/workstation/mobile-sidebar.ts"],"migration_tasks":["P03-07","P06-07","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-e93a0138adf37900":{"disposition":"migrate","target_paths":["web/src/workstation/panes/current-decomp-pane.ts"],"migration_tasks":["P03-07","P06-07","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-e0a5c9b5e771c97a":{"disposition":"migrate","target_paths":["web/src/workstation/panes/dark-jv-pane.ts"],"migration_tasks":["P03-07","P06-07","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-0bc0a0893fdea482":{"disposition":"migrate","target_paths":["web/src/workstation/panes/dark-jv-render.test.ts"],"migration_tasks":["P03-07","P06-07","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-09e19db25407b09c":{"disposition":"migrate","target_paths":["web/src/workstation/panes/degradation-pane.ts"],"migration_tasks":["P03-07","P06-07","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-bc3b3ca66ee08252":{"disposition":"migrate","target_paths":["web/src/workstation/panes/device-pane.ts"],"migration_tasks":["P03-07","P06-07","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-030b854dee3247d5":{"disposition":"migrate","target_paths":["web/src/workstation/panes/dynamic-defect-transient-pane.test.ts"],"migration_tasks":["P03-07","P06-07","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-573d321f190405f3":{"disposition":"migrate","target_paths":["web/src/workstation/panes/dynamic-defect-transient-pane.ts"],"migration_tasks":["P03-07","P06-07","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-bfd8cf2d812afc3a":{"disposition":"migrate","target_paths":["web/src/workstation/panes/el-pane.ts"],"migration_tasks":["P03-07","P06-07","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-b62d6cd17a1fed06":{"disposition":"migrate","target_paths":["web/src/workstation/panes/eqe-el-render.test.ts"],"migration_tasks":["P03-07","P06-07","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-79114fe5ecc3818f":{"disposition":"migrate","target_paths":["web/src/workstation/panes/eqe-pane.ts"],"migration_tasks":["P03-07","P06-07","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-40ab2d7fe9219e31":{"disposition":"migrate","target_paths":["web/src/workstation/panes/experiment-pane.test.ts"],"migration_tasks":["P03-07","P06-07","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-4c3e8ab98b46f6f0":{"disposition":"migrate","target_paths":["web/src/workstation/panes/experiment-pane.ts"],"migration_tasks":["P03-07","P06-07","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-e261cb351f78ba6b":{"disposition":"migrate","target_paths":["web/src/workstation/panes/help-pane.ts"],"migration_tasks":["P03-07","P06-07","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-28804d0db42891c6":{"disposition":"migrate","target_paths":["web/src/workstation/panes/imp-deg-tpv-vgs-render.test.ts"],"migration_tasks":["P03-07","P06-07","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-dbc65d65da6caf91":{"disposition":"migrate","target_paths":["web/src/workstation/panes/impedance-pane.ts"],"migration_tasks":["P03-07","P06-07","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-24a155ac97946de3":{"disposition":"migrate","target_paths":["web/src/workstation/panes/jv-1d-render.test.ts"],"migration_tasks":["P03-07","P06-07","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-1ebc97d2f1af13fe":{"disposition":"migrate","target_paths":["web/src/workstation/panes/jv-2d-pane.test.ts"],"migration_tasks":["P03-07","P06-07","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-0f6c145883357692":{"disposition":"migrate","target_paths":["web/src/workstation/panes/jv-2d-pane.ts"],"migration_tasks":["P03-07","P06-07","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-cee28640cc83d68e":{"disposition":"migrate","target_paths":["web/src/workstation/panes/jv-2d-render.test.ts"],"migration_tasks":["P03-07","P06-07","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-3e88ac28622ee955":{"disposition":"migrate","target_paths":["web/src/workstation/panes/jv-pane.test.ts"],"migration_tasks":["P03-07","P06-07","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-a13a25dd661a76e7":{"disposition":"migrate","target_paths":["web/src/workstation/panes/jv-pane.ts"],"migration_tasks":["P03-07","P06-07","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-de1e166252ad0980":{"disposition":"migrate","target_paths":["web/src/workstation/panes/main-plot-pane.test.ts"],"migration_tasks":["P03-07","P06-07","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-6f5e2d5e37797703":{"disposition":"migrate","target_paths":["web/src/workstation/panes/main-plot-pane.ts"],"migration_tasks":["P03-07","P06-07","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-0581bdd3b9617fd7":{"disposition":"migrate","target_paths":["web/src/workstation/panes/mott-schottky-pane.ts"],"migration_tasks":["P03-07","P06-07","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-f0afcc077bb55d89":{"disposition":"migrate","target_paths":["web/src/workstation/panes/mott-schottky-render.test.ts"],"migration_tasks":["P03-07","P06-07","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-3774b9c2e1a64a01":{"disposition":"migrate","target_paths":["web/src/workstation/panes/spatial-pane.ts"],"migration_tasks":["P03-07","P06-07","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-a4895b1c6033cb33":{"disposition":"migrate","target_paths":["web/src/workstation/panes/spatial-profiles-render.test.ts"],"migration_tasks":["P03-07","P06-07","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-b31ba249974097be":{"disposition":"migrate","target_paths":["web/src/workstation/panes/suns-voc-pane.ts"],"migration_tasks":["P03-07","P06-07","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-f12341b9dd07c5d4":{"disposition":"migrate","target_paths":["web/src/workstation/panes/suns-voc-render.test.ts"],"migration_tasks":["P03-07","P06-07","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-e9392bef5a9a5084":{"disposition":"migrate","target_paths":["web/src/workstation/panes/tandem-pane.ts"],"migration_tasks":["P03-07","P06-07","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-6cf89bb49f41c5ac":{"disposition":"migrate","target_paths":["web/src/workstation/panes/tpv-pane.test.ts"],"migration_tasks":["P03-07","P06-07","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-2454fac1f685d922":{"disposition":"migrate","target_paths":["web/src/workstation/panes/tpv-pane.ts"],"migration_tasks":["P03-07","P06-07","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-4b6c8cf954aa6566":{"disposition":"migrate","target_paths":["web/src/workstation/panes/voc-grain-sweep-pane.ts"],"migration_tasks":["P03-07","P06-07","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-65e4196be9e005c9":{"disposition":"migrate","target_paths":["web/src/workstation/panes/voc-t-pane.ts"],"migration_tasks":["P03-07","P06-07","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-950c2fe927146bfe":{"disposition":"migrate","target_paths":["web/src/workstation/panes/voc-t-render.test.ts"],"migration_tasks":["P03-07","P06-07","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-ac8d77137b8bc667":{"disposition":"migrate","target_paths":["web/src/workstation/phase2-smoke.test.ts"],"migration_tasks":["P03-07","P06-07","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-b135a466cd30a840":{"disposition":"migrate","target_paths":["web/src/workstation/shell.ts"],"migration_tasks":["P03-07","P06-07","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-038cbfcb9558a458":{"disposition":"migrate","target_paths":["web/src/workstation/smoke.test.ts"],"migration_tasks":["P03-07","P06-07","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-7e98d7eb31c99c67":{"disposition":"migrate","target_paths":["web/src/workstation/state.test.ts"],"migration_tasks":["P03-07","P06-07","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-798231762f49ac49":{"disposition":"migrate","target_paths":["web/src/workstation/state.ts"],"migration_tasks":["P03-07","P06-07","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-e7d37b8a5b4a7057":{"disposition":"migrate","target_paths":["web/src/workstation/tier-gating.test.ts"],"migration_tasks":["P03-07","P06-07","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-01a9547791743ea4":{"disposition":"migrate","target_paths":["web/src/workstation/tier-gating.ts"],"migration_tasks":["P03-07","P06-07","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-7c9b383571552feb":{"disposition":"migrate","target_paths":["web/src/workstation/tree.test.ts"],"migration_tasks":["P03-07","P06-07","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-9086396511c0d3f1":{"disposition":"migrate","target_paths":["web/src/workstation/tree.ts"],"migration_tasks":["P03-07","P06-07","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-c1b5d7155a54927d":{"disposition":"migrate","target_paths":["web/src/workstation/wizard.test.ts"],"migration_tasks":["P03-07","P06-07","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-755705afa4c1dc44":{"disposition":"migrate","target_paths":["web/src/workstation/wizard.ts"],"migration_tasks":["P03-07","P06-07","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-3f9757d0e516c367":{"disposition":"migrate","target_paths":["web/tests/ion-flow-viewport.html"],"migration_tasks":["P03-07","P06-07","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-92aa47b42c46ecaf":{"disposition":"migrate","target_paths":["web/tests/ion-flow.html"],"migration_tasks":["P03-07","P06-07","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-c732e0cc5d44ac45":{"disposition":"migrate","target_paths":["web/tsconfig.json"],"migration_tasks":["P03-07","P06-07","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-d5c1a0aeae4b7976":{"disposition":"migrate","target_paths":["web/vite.config.ts"],"migration_tasks":["P03-07","P06-07","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-326b29a282feeea9":{"disposition":"migrate","target_paths":["web/vitest.config.ts"],"migration_tasks":["P03-07","P06-07","P06-08"],"gate_ids":["G3","G6"],"mapping_rule":"preserve_existing_capability"},"route-be01cae2a69ff3c8":{"disposition":"migrate","target_paths":["notebooks/ComprehensiveBenchmark.py"],"migration_tasks":["P05-05","P06-08","P07-05","P09-04"],"gate_ids":["G5","G6","G7","G9"],"mapping_rule":"preserve_existing_capability"},"route-cd9bb1a084e4360d":{"disposition":"migrate","target_paths":["notebooks/Degradation.ipynb"],"migration_tasks":["P05-05","P06-08","P07-05","P09-04"],"gate_ids":["G5","G6","G7","G9"],"mapping_rule":"preserve_existing_capability"},"route-688dcfe422f87324":{"disposition":"migrate","target_paths":["notebooks/DeviceParameterSweep.ipynb"],"migration_tasks":["P05-05","P06-08","P07-05","P09-04"],"gate_ids":["G5","G6","G7","G9"],"mapping_rule":"preserve_existing_capability"},"route-254d9d38890af92a":{"disposition":"migrate","target_paths":["notebooks/E2eNotebookVsApi.py"],"migration_tasks":["P05-05","P06-08","P07-05","P09-04"],"gate_ids":["G5","G6","G7","G9"],"mapping_rule":"preserve_existing_capability"},"route-18204f5476d34605":{"disposition":"migrate","target_paths":["notebooks/Impedance.ipynb"],"migration_tasks":["P05-05","P06-08","P07-05","P09-04"],"gate_ids":["G5","G6","G7","G9"],"mapping_rule":"preserve_existing_capability"},"route-2cf90a73bb47b2c4":{"disposition":"migrate","target_paths":["notebooks/IonmongerBenchmark.py"],"migration_tasks":["P05-05","P06-08","P07-05","P09-04"],"gate_ids":["G5","G6","G7","G9"],"mapping_rule":"preserve_existing_capability"},"route-f7f47a2afb9fed43":{"disposition":"migrate","target_paths":["notebooks/JvHysteresis.ipynb"],"migration_tasks":["P05-05","P06-08","P07-05","P09-04"],"gate_ids":["G5","G6","G7","G9"],"mapping_rule":"preserve_existing_capability"},"route-b60fff3c38c1ca76":{"disposition":"migrate","target_paths":["notebooks/Phase2CharacterisationBenchmark.py"],"migration_tasks":["P05-05","P06-08","P07-05","P09-04"],"gate_ids":["G5","G6","G7","G9"],"mapping_rule":"preserve_existing_capability"},"route-ea98e9c5a2eb2c6b":{"disposition":"migrate","target_paths":["src/solarlab/__init__.py"],"migration_tasks":["P03-01","P03-02","P09-04"],"gate_ids":["G3","G9"],"mapping_rule":"preserve_existing_capability"},"route-5ca25e5a9670d119":{"disposition":"retain","target_paths":["tests/numerical_contracts/reference_compat/__init__.py"],"migration_tasks":["P02-01","P02-09","P04-01","P04-05","P09-03"],"gate_ids":["G2","G4","G9"],"mapping_rule":"fallback_oracle_review_before_any_retirement"},"route-1099ec0833036140":{"disposition":"retain","target_paths":["tests/numerical_contracts/reference_compat/numpy_compat.py"],"migration_tasks":["P02-01","P02-09","P04-01","P04-05","P09-03"],"gate_ids":["G2","G4","G9"],"mapping_rule":"fallback_oracle_review_before_any_retirement"},"route-4998bff3908378db":{"disposition":"migrate","target_paths":["src/solarlab/constants.py"],"migration_tasks":["P03-01","P03-02","P09-04"],"gate_ids":["G3","G9"],"mapping_rule":"preserve_existing_capability"},"route-c4ebf2c9549ec81b":{"disposition":"retain","target_paths":["src/solarlab/data/__init__.py"],"migration_tasks":["P03-01","P03-05","P03-06","P04-07","P09-04"],"gate_ids":["G3","G4","G9"],"mapping_rule":"preserve_resource_bytes_and_rebind_paths"},"route-b63c99741b391fa6":{"disposition":"retain","target_paths":["src/solarlab/data/am15g.csv"],"migration_tasks":["P03-01","P03-05","P03-06","P04-07","P09-04"],"gate_ids":["G3","G4","G9"],"mapping_rule":"preserve_resource_bytes_and_rebind_paths"},"route-3888862d5670589f":{"disposition":"retain","target_paths":["src/solarlab/data/layer_templates.yaml"],"migration_tasks":["P03-01","P03-05","P03-06","P04-07","P09-04"],"gate_ids":["G3","G4","G9"],"mapping_rule":"preserve_resource_bytes_and_rebind_paths"},"route-e755bd13d9c4a442":{"disposition":"retain","target_paths":["src/solarlab/data/nk/Ag.csv"],"migration_tasks":["P03-01","P03-05","P03-06","P04-07","P09-04"],"gate_ids":["G3","G4","G9"],"mapping_rule":"preserve_resource_bytes_and_rebind_paths"},"route-71a05a55d5491409":{"disposition":"retain","target_paths":["src/solarlab/data/nk/Au.csv"],"migration_tasks":["P03-01","P03-05","P03-06","P04-07","P09-04"],"gate_ids":["G3","G4","G9"],"mapping_rule":"preserve_resource_bytes_and_rebind_paths"},"route-bec743f78135c736":{"disposition":"retain","target_paths":["src/solarlab/data/nk/C60.csv"],"migration_tasks":["P03-01","P03-05","P03-06","P04-07","P09-04"],"gate_ids":["G3","G4","G9"],"mapping_rule":"preserve_resource_bytes_and_rebind_paths"},"route-d587d66b58526f43":{"disposition":"retain","target_paths":["src/solarlab/data/nk/Cu.csv"],"migration_tasks":["P03-01","P03-05","P03-06","P04-07","P09-04"],"gate_ids":["G3","G4","G9"],"mapping_rule":"preserve_resource_bytes_and_rebind_paths"},"route-790eb532ed603b4a":{"disposition":"retain","target_paths":["src/solarlab/data/nk/FA_Cs_1p77.csv"],"migration_tasks":["P03-01","P03-05","P03-06","P04-07","P09-04"],"gate_ids":["G3","G4","G9"],"mapping_rule":"preserve_resource_bytes_and_rebind_paths"},"route-c967c225572391c9":{"disposition":"retain","target_paths":["src/solarlab/data/nk/FTO.csv"],"migration_tasks":["P03-01","P03-05","P03-06","P04-07","P09-04"],"gate_ids":["G3","G4","G9"],"mapping_rule":"preserve_resource_bytes_and_rebind_paths"},"route-e0e06212cf5c0b5b":{"disposition":"retain","target_paths":["src/solarlab/data/nk/ITO.csv"],"migration_tasks":["P03-01","P03-05","P03-06","P04-07","P09-04"],"gate_ids":["G3","G4","G9"],"mapping_rule":"preserve_resource_bytes_and_rebind_paths"},"route-9fea75c6e2e5a994":{"disposition":"retain","target_paths":["src/solarlab/data/nk/MAPbI3.csv"],"migration_tasks":["P03-01","P03-05","P03-06","P04-07","P09-04"],"gate_ids":["G3","G4","G9"],"mapping_rule":"preserve_resource_bytes_and_rebind_paths"},"route-3ab50cee89ba4fd5":{"disposition":"retain","target_paths":["src/solarlab/data/nk/NiOx.csv"],"migration_tasks":["P03-01","P03-05","P03-06","P04-07","P09-04"],"gate_ids":["G3","G4","G9"],"mapping_rule":"preserve_resource_bytes_and_rebind_paths"},"route-1947ebbe94feae55":{"disposition":"retain","target_paths":["src/solarlab/data/nk/PCBM.csv"],"migration_tasks":["P03-01","P03-05","P03-06","P04-07","P09-04"],"gate_ids":["G3","G4","G9"],"mapping_rule":"preserve_resource_bytes_and_rebind_paths"},"route-8001b82ca83e9ebb":{"disposition":"retain","target_paths":["src/solarlab/data/nk/PEDOT_PSS.csv"],"migration_tasks":["P03-01","P03-05","P03-06","P04-07","P09-04"],"gate_ids":["G3","G4","G9"],"mapping_rule":"preserve_resource_bytes_and_rebind_paths"},"route-59f4c6ae4520e730":{"disposition":"retain","target_paths":["src/solarlab/data/nk/SnO2.csv"],"migration_tasks":["P03-01","P03-05","P03-06","P04-07","P09-04"],"gate_ids":["G3","G4","G9"],"mapping_rule":"preserve_resource_bytes_and_rebind_paths"},"route-0ce731ae30aa26d1":{"disposition":"retain","target_paths":["src/solarlab/data/nk/SnPb_1p22.csv"],"migration_tasks":["P03-01","P03-05","P03-06","P04-07","P09-04"],"gate_ids":["G3","G4","G9"],"mapping_rule":"preserve_resource_bytes_and_rebind_paths"},"route-8ff135567013105a":{"disposition":"retain","target_paths":["src/solarlab/data/nk/TiO2.csv"],"migration_tasks":["P03-01","P03-05","P03-06","P04-07","P09-04"],"gate_ids":["G3","G4","G9"],"mapping_rule":"preserve_resource_bytes_and_rebind_paths"},"route-3772d9ddfb637a59":{"disposition":"retain","target_paths":["src/solarlab/data/nk/glass.csv"],"migration_tasks":["P03-01","P03-05","P03-06","P04-07","P09-04"],"gate_ids":["G3","G4","G9"],"mapping_rule":"preserve_resource_bytes_and_rebind_paths"},"route-d074d2f27bcdd4b7":{"disposition":"retain","target_paths":["src/solarlab/data/nk/manifest.yaml"],"migration_tasks":["P03-01","P03-05","P03-06","P04-07","P09-04"],"gate_ids":["G3","G4","G9"],"mapping_rule":"preserve_resource_bytes_and_rebind_paths"},"route-4a0f6f10869296c3":{"disposition":"retain","target_paths":["src/solarlab/data/nk/spiro_OMeTAD.csv"],"migration_tasks":["P03-01","P03-05","P03-06","P04-07","P09-04"],"gate_ids":["G3","G4","G9"],"mapping_rule":"preserve_resource_bytes_and_rebind_paths"},"route-2f7926ec845746ce":{"disposition":"retain","target_paths":["src/solarlab/data/references/csi_pn_cv_intercept.yaml"],"migration_tasks":["P03-01","P03-05","P03-06","P04-07","P09-04"],"gate_ids":["G3","G4","G9"],"mapping_rule":"preserve_resource_bytes_and_rebind_paths"},"route-8d34172f85a01638":{"disposition":"retain","target_paths":["src/solarlab/data/references/csi_vannijen2025_pn_cv.yaml"],"migration_tasks":["P03-01","P03-05","P03-06","P04-07","P09-04"],"gate_ids":["G3","G4","G9"],"mapping_rule":"preserve_resource_bytes_and_rebind_paths"},"route-06e1ad5ab185247b":{"disposition":"migrate","target_paths":["src/solarlab/discretization/__init__.py"],"migration_tasks":["P02-07","P04-01","P06-01"],"gate_ids":["G2","G4","G6"],"mapping_rule":"preserve_existing_capability"},"route-bc24ba6e5b566e2e":{"disposition":"migrate","target_paths":["src/solarlab/discretization/fe_operators.py"],"migration_tasks":["P02-07","P04-01","P06-01"],"gate_ids":["G2","G4","G6"],"mapping_rule":"preserve_existing_capability"},"route-8aeaca6e3aa45fbb":{"disposition":"migrate","target_paths":["src/solarlab/mesh/grid.py"],"migration_tasks":["P02-07","P04-01","P06-01"],"gate_ids":["G2","G4","G6"],"mapping_rule":"preserve_existing_capability"},"route-f9764d60842a3b96":{"disposition":"migrate","target_paths":["src/solarlab_research/r1/backend.py"],"migration_tasks":["P02-08","P07-01","P07-02","P07-03","P07-04","P07-05"],"gate_ids":["G2","G7"],"mapping_rule":"public_research_extension_preserve_source_and_precision"},"route-5c466e672224acb1":{"disposition":"migrate","target_paths":["src/solarlab_research/r1/baseline_electrostatics.py"],"migration_tasks":["P00-04","P01-01","P01-02","P01-03","P02-08","P07-01","P07-02","P07-03","P07-04","P07-05"],"gate_ids":["G0","G1","G2","G7"],"mapping_rule":"public_research_extension_preserve_source_and_precision"},"route-e2be6886e84bde25":{"disposition":"migrate","target_paths":["src/solarlab_research/r1/baseline_initial.py"],"migration_tasks":["P00-04","P01-01","P01-02","P01-03","P02-08","P07-01","P07-02","P07-03","P07-04","P07-05"],"gate_ids":["G0","G1","G2","G7"],"mapping_rule":"public_research_extension_preserve_source_and_precision"},"route-a836659cba2bae29":{"disposition":"migrate","target_paths":["src/solarlab_research/r1/evidence.py"],"migration_tasks":["P02-08","P07-01","P07-02","P07-03","P07-04","P07-05"],"gate_ids":["G2","G7"],"mapping_rule":"public_research_extension_preserve_source_and_precision"},"route-256b9374ce35458e":{"disposition":"migrate","target_paths":["src/solarlab_research/r1/execution_validation.py"],"migration_tasks":["P01-04","P02-08","P07-01","P07-02","P07-03","P07-04","P07-05"],"gate_ids":["G1","G2","G7"],"mapping_rule":"public_research_extension_preserve_source_and_precision"},"route-173ea680ef0651a4":{"disposition":"migrate","target_paths":["src/solarlab_research/r1/failure_reconstruction.py"],"migration_tasks":["P00-04","P01-01","P01-02","P01-03","P02-08","P07-01","P07-02","P07-03","P07-04","P07-05"],"gate_ids":["G0","G1","G2","G7"],"mapping_rule":"public_research_extension_preserve_source_and_precision"},"route-a2e0063d98be8d87":{"disposition":"migrate","target_paths":["src/solarlab_research/r1/failure_registry.py"],"migration_tasks":["P00-04","P01-01","P01-02","P01-03","P02-08","P07-01","P07-02","P07-03","P07-04","P07-05"],"gate_ids":["G0","G1","G2","G7"],"mapping_rule":"public_research_extension_preserve_source_and_precision"},"route-27c91396fc0bdb8a":{"disposition":"migrate","target_paths":["src/solarlab_research/r1/failure_witness.py"],"migration_tasks":["P00-04","P01-01","P01-02","P01-03","P02-08","P07-01","P07-02","P07-03","P07-04","P07-05"],"gate_ids":["G0","G1","G2","G7"],"mapping_rule":"public_research_extension_preserve_source_and_precision"},"route-957776860bca25b0":{"disposition":"migrate","target_paths":["src/solarlab_research/r1/history.py"],"migration_tasks":["P02-08","P07-01","P07-02","P07-03","P07-04","P07-05"],"gate_ids":["G2","G7"],"mapping_rule":"public_research_extension_preserve_source_and_precision"},"route-6e34c8d8fbbe3985":{"disposition":"migrate","target_paths":["src/solarlab_research/r1/independent_physics.py"],"migration_tasks":["P02-08","P07-01","P07-02","P07-03","P07-04","P07-05"],"gate_ids":["G2","G7"],"mapping_rule":"public_research_extension_preserve_source_and_precision"},"route-be90e1983fe18133":{"disposition":"migrate","target_paths":["src/solarlab_research/r1/independent_regular.py"],"migration_tasks":["P02-08","P07-01","P07-02","P07-03","P07-04","P07-05"],"gate_ids":["G2","G7"],"mapping_rule":"public_research_extension_preserve_source_and_precision"},"route-5b3fb4c2e7faa4fd":{"disposition":"migrate","target_paths":["src/solarlab_research/r1/pair_response.py"],"migration_tasks":["P02-08","P07-01","P07-02","P07-03","P07-04","P07-05"],"gate_ids":["G2","G7"],"mapping_rule":"public_research_extension_preserve_source_and_precision"},"route-b7d154025070f63e":{"disposition":"migrate","target_paths":["src/solarlab_research/r1/pair_spatial.py"],"migration_tasks":["P02-08","P07-01","P07-02","P07-03","P07-04","P07-05"],"gate_ids":["G2","G7"],"mapping_rule":"public_research_extension_preserve_source_and_precision"},"route-2c7423ecd5b7cfb3":{"disposition":"migrate","target_paths":["src/solarlab_research/r1/physics_validation.py"],"migration_tasks":["P02-08","P07-01","P07-02","P07-03","P07-04","P07-05"],"gate_ids":["G2","G7"],"mapping_rule":"public_research_extension_preserve_source_and_precision"},"route-3b69a8e5eba379fd":{"disposition":"migrate","target_paths":["src/solarlab_research/r1/precision_initial.py"],"migration_tasks":["P02-08","P07-01","P07-02","P07-03","P07-04","P07-05"],"gate_ids":["G2","G7"],"mapping_rule":"public_research_extension_preserve_source_and_precision"},"route-758f0230399db64d":{"disposition":"migrate","target_paths":["src/solarlab_research/r1/precision_physics.py"],"migration_tasks":["P02-08","P07-01","P07-02","P07-03","P07-04","P07-05"],"gate_ids":["G2","G7"],"mapping_rule":"public_research_extension_preserve_source_and_precision"},"route-5360935065a2e2ec":{"disposition":"migrate","target_paths":["src/solarlab_research/r1/qualification_workflow.py"],"migration_tasks":["P01-04","P02-08","P07-01","P07-02","P07-03","P07-04","P07-05"],"gate_ids":["G1","G2","G7"],"mapping_rule":"public_research_extension_preserve_source_and_precision"},"route-718e16bc1bd22606":{"disposition":"migrate","target_paths":["src/solarlab_research/r1/replay_receipt.py"],"migration_tasks":["P02-08","P07-01","P07-02","P07-03","P07-04","P07-05"],"gate_ids":["G2","G7"],"mapping_rule":"public_research_extension_preserve_source_and_precision"},"route-36d6f9d50bdbdde5":{"disposition":"migrate","target_paths":["src/solarlab_research/r1/result_contract.py"],"migration_tasks":["P02-08","P07-01","P07-02","P07-03","P07-04","P07-05"],"gate_ids":["G2","G7"],"mapping_rule":"public_research_extension_preserve_source_and_precision"},"route-032b079dc83b0429":{"disposition":"migrate","target_paths":["src/solarlab_research/r1/result_validation.py"],"migration_tasks":["P02-08","P07-01","P07-02","P07-03","P07-04","P07-05"],"gate_ids":["G2","G7"],"mapping_rule":"public_research_extension_preserve_source_and_precision"},"route-0795c1cf0fb254d6":{"disposition":"migrate","target_paths":["src/solarlab_research/r1/run_record.py"],"migration_tasks":["P02-08","P07-01","P07-02","P07-03","P07-04","P07-05"],"gate_ids":["G2","G7"],"mapping_rule":"public_research_extension_preserve_source_and_precision"},"route-d5586ec2f94adf38":{"disposition":"migrate","target_paths":["src/solarlab_research/r1/standard.py"],"migration_tasks":["P02-08","P07-01","P07-02","P07-03","P07-04","P07-05"],"gate_ids":["G2","G7"],"mapping_rule":"public_research_extension_preserve_source_and_precision"},"route-d0a73f45c47411ab":{"disposition":"migrate","target_paths":["src/solarlab_research/r1/study_request.py"],"migration_tasks":["P02-08","P07-01","P07-02","P07-03","P07-04","P07-05"],"gate_ids":["G2","G7"],"mapping_rule":"public_research_extension_preserve_source_and_precision"},"route-565d1407a29fab5a":{"disposition":"migrate","target_paths":["src/solarlab/experiments/waveform_jacobian.py"],"migration_tasks":["P04-06","P05-01","P05-03"],"gate_ids":["G4","G5"],"mapping_rule":"preserve_existing_capability"},"route-ed96b42a793c14ba":{"disposition":"migrate","target_paths":["src/solarlab/device/__init__.py"],"migration_tasks":["P03-03","P03-04","P03-07"],"gate_ids":["G3"],"mapping_rule":"preserve_existing_capability"},"route-5c68cb43cf0f80a0":{"disposition":"migrate","target_paths":["src/solarlab/config/config_loader.py"],"migration_tasks":["P03-02","P03-03","P03-04","P03-07"],"gate_ids":["G3"],"mapping_rule":"preserve_existing_capability"},"route-059924201c7dbaef":{"disposition":"migrate","target_paths":["src/solarlab/physics/defects/__init__.py"],"migration_tasks":["P03-02","P04-10"],"gate_ids":["G3","G4"],"mapping_rule":"preserve_existing_capability"},"route-6ea3c3d324eaee4c":{"disposition":"migrate","target_paths":["src/solarlab/physics/transport/continuity.py"],"migration_tasks":["P03-02","P04-03"],"gate_ids":["G3","G4"],"mapping_rule":"preserve_existing_capability"},"route-159eb00a9b62800b":{"disposition":"migrate","target_paths":["src/solarlab/physics/band_structure/doping.py"],"migration_tasks":["P03-02","P04-11"],"gate_ids":["G3","G4"],"mapping_rule":"preserve_existing_capability"},"route-127e79f3664fb2f8":{"disposition":"migrate","target_paths":["src/solarlab/physics/generation/generation.py"],"migration_tasks":["P03-02","P04-07","P08-01","P08-04","P08-05"],"gate_ids":["G3","G4","G8"],"mapping_rule":"preserve_existing_capability"},"route-f6ecf92ffc73d293":{"disposition":"migrate","target_paths":["src/solarlab/physics/band_structure/grading.py"],"migration_tasks":["P03-02","P04-11"],"gate_ids":["G3","G4"],"mapping_rule":"preserve_existing_capability"},"route-7f42234b0878607e":{"disposition":"migrate","target_paths":["src/solarlab/physics/ions/ion_migration.py"],"migration_tasks":["P03-02","P04-08"],"gate_ids":["G3","G4"],"mapping_rule":"preserve_existing_capability"},"route-de685fc47e12df5e":{"disposition":"migrate","target_paths":["src/solarlab/physics/generation/optical_stack.py"],"migration_tasks":["P03-02","P04-07","P08-01","P08-04","P08-05"],"gate_ids":["G3","G4","G8"],"mapping_rule":"preserve_existing_capability"},"route-a8520f5ebebb99a6":{"disposition":"migrate","target_paths":["src/solarlab/physics/generation/optics.py"],"migration_tasks":["P03-02","P04-07","P08-01","P08-04","P08-05"],"gate_ids":["G3","G4","G8"],"mapping_rule":"preserve_existing_capability"},"route-14fc913b79be59b1":{"disposition":"migrate","target_paths":["src/solarlab/physics/electrostatics/physical_control_volume.py"],"migration_tasks":["P03-02","P04-01","P08-01","P08-02","P08-05"],"gate_ids":["G3","G4","G8"],"mapping_rule":"preserve_existing_capability"},"route-7058094fb55440e5":{"disposition":"migrate","target_paths":["src/solarlab/physics/electrostatics/poisson.py"],"migration_tasks":["P03-02","P04-01","P08-01","P08-02","P08-05"],"gate_ids":["G3","G4","G8"],"mapping_rule":"preserve_existing_capability"},"route-773079f3fd7c7161":{"disposition":"migrate","target_paths":["src/solarlab/physics/generation/tandem_optics.py"],"migration_tasks":["P04-07","P04-13"],"gate_ids":["G4"],"mapping_rule":"preserve_existing_capability"},"route-aac7c5a444668673":{"disposition":"migrate","target_paths":["src/solarlab/physics/band_structure/temperature.py"],"migration_tasks":["P03-02","P04-11"],"gate_ids":["G3","G4"],"mapping_rule":"preserve_existing_capability"},"route-6882b9e2febf7e69":{"disposition":"migrate","target_paths":["src/solarlab/physics/interface_transport/thermionic_transport.py"],"migration_tasks":["P03-02","P04-09","P08-01","P08-03","P08-05"],"gate_ids":["G3","G4","G8"],"mapping_rule":"preserve_existing_capability"},"route-d818782ce582c5dd":{"disposition":"migrate","target_paths":["src/solarlab/physics/recombination/traps.py"],"migration_tasks":["P03-02","P04-07"],"gate_ids":["G3","G4"],"mapping_rule":"preserve_existing_capability"},"route-b88673dddab4e477":{"disposition":"migrate","target_paths":["src/solarlab/physics/transport/tunneling.py"],"migration_tasks":["P03-02","P04-12"],"gate_ids":["G3","G4"],"mapping_rule":"preserve_existing_capability"},"route-ffde87533d2c6d5c":{"disposition":"migrate","target_paths":["src/solarlab/config/identity.py","src/solarlab/reproducibility/registry.py"],"migration_tasks":["P00-01","P00-03","P03-05","P03-06","P07-01","P09-04"],"gate_ids":["G0","G3","G7","G9"],"mapping_rule":"preserve_existing_capability"},"route-5eaec7d1ce392f48":{"disposition":"migrate","target_paths":["src/solarlab/config/scaps/defects.py"],"migration_tasks":["P03-03","P03-04","P03-06"],"gate_ids":["G3"],"mapping_rule":"preserve_existing_capability"},"route-9204a3ecd16c559e":{"disposition":"migrate","target_paths":["src/solarlab/config/scaps/loader.py"],"migration_tasks":["P03-03","P03-04","P03-06"],"gate_ids":["G3"],"mapping_rule":"preserve_existing_capability"},"route-74d80b701f095802":{"disposition":"migrate","target_paths":["src/solarlab/config/scaps/materials.py"],"migration_tasks":["P03-03","P03-04","P03-06"],"gate_ids":["G3"],"mapping_rule":"preserve_existing_capability"},"route-5dbec4a76395b5fc":{"disposition":"migrate","target_paths":["src/solarlab/screening/evaluation_report.py"],"migration_tasks":["P03-04","P05-05","P06-05"],"gate_ids":["G3","G5","G6"],"mapping_rule":"preserve_existing_capability"},"route-734c98eb9a4cdd4c":{"disposition":"replace","target_paths":["src/solarlab/solvers/diagnostics/__init__.py"],"migration_tasks":["P02-05","P04-02","P04-05"],"gate_ids":["G2","G4"],"mapping_rule":"numerical_replacement_after_contract_and_consumer_gates"},"route-9e0083b6bc509a08":{"disposition":"replace","target_paths":["src/solarlab/experiments/preparation.py","src/solarlab/solvers/nonlinear/illuminated_ss.py"],"migration_tasks":["P02-04","P04-03","P04-04","P05-01","P06-01"],"gate_ids":["G2","G4","G5","G6"],"mapping_rule":"numerical_replacement_after_contract_and_consumer_gates"},"route-e09714387d2b8bd8":{"disposition":"replace","target_paths":["src/solarlab/experiments/preparation.py","src/solarlab/solvers/nonlinear/newton.py"],"migration_tasks":["P02-04","P04-03","P04-04","P05-01","P06-01"],"gate_ids":["G2","G4","G5","G6"],"mapping_rule":"numerical_replacement_after_contract_and_consumer_gates"},"route-71d172f439a80d3c":{"disposition":"replace","target_paths":["src/solarlab/solvers/diagnostics/tolerances.py"],"migration_tasks":["P02-05","P04-02","P04-05"],"gate_ids":["G2","G4"],"mapping_rule":"numerical_replacement_after_contract_and_consumer_gates"},"route-10a93c77eb891674":{"disposition":"migrate","target_paths":["src/solarlab/sweeps/device_parameter_sweep.py"],"migration_tasks":["P03-05","P05-05","P06-05"],"gate_ids":["G3","G5","G6"],"mapping_rule":"preserve_existing_capability"},"route-d9acb83c1063cda8":{"disposition":"migrate","target_paths":["src/solarlab/two_dimensional/__init__.py"],"migration_tasks":["P06-01","P06-02","P06-03"],"gate_ids":["G6"],"mapping_rule":"preserve_existing_capability"},"route-844c1e34b65a763f":{"disposition":"migrate","target_paths":["src/solarlab/equations/assembly.py","src/solarlab/mesh/tensor.py","src/solarlab/two_dimensional/continuity_2d.py"],"migration_tasks":["P04-01","P04-02","P06-01","P06-02","P06-03"],"gate_ids":["G4","G6"],"mapping_rule":"preserve_existing_capability"},"route-a6160cf5cdb0e60e":{"disposition":"migrate","target_paths":["src/solarlab/two_dimensional/experiments/__init__.py"],"migration_tasks":["P06-01","P06-02","P06-03"],"gate_ids":["G6"],"mapping_rule":"preserve_existing_capability"},"route-efcdc5733981d9ea":{"disposition":"migrate","target_paths":["src/solarlab/equations/assembly.py","src/solarlab/mesh/tensor.py","src/solarlab/two_dimensional/flux_2d.py"],"migration_tasks":["P04-01","P04-02","P06-01","P06-02","P06-03"],"gate_ids":["G4","G6"],"mapping_rule":"preserve_existing_capability"},"route-f1926abcdb56e6c5":{"disposition":"migrate","target_paths":["src/solarlab/equations/assembly.py","src/solarlab/mesh/tensor.py","src/solarlab/two_dimensional/grid_2d.py"],"migration_tasks":["P04-01","P04-02","P06-01","P06-02","P06-03"],"gate_ids":["G4","G6"],"mapping_rule":"preserve_existing_capability"},"route-966f30a6d3b0d99a":{"disposition":"migrate","target_paths":["src/solarlab/equations/assembly.py","src/solarlab/mesh/tensor.py","src/solarlab/two_dimensional/poisson_2d.py"],"migration_tasks":["P04-01","P04-02","P06-01","P06-02","P06-03"],"gate_ids":["G4","G6"],"mapping_rule":"preserve_existing_capability"},"route-28f189e6bd16ef71":{"disposition":"migrate","target_paths":["src/solarlab/equations/assembly.py","src/solarlab/mesh/tensor.py","src/solarlab/two_dimensional/solver_2d.py"],"migration_tasks":["P04-01","P04-02","P06-01","P06-02","P06-03"],"gate_ids":["G4","G6"],"mapping_rule":"preserve_existing_capability"},"route-3fd97637f22d6330":{"disposition":"migrate","target_paths":["src/solarlab/validation/grid_convergence.py"],"migration_tasks":["P00-03","P03-06","P09-01"],"gate_ids":["G0","G3","G9"],"mapping_rule":"preserve_existing_capability"},"route-913cbd39cc938897":{"disposition":"migrate","target_paths":["reproducibility/ConfigBenchmarkMatrixV2.yaml"],"migration_tasks":["P00-03","P03-05","P03-06","P09-04"],"gate_ids":["G0","G3","G9"],"mapping_rule":"immutable_history_or_versioned_registry_migration"},"route-53dad1d5882116b3":{"disposition":"migrate","target_paths":["reproducibility/NumericalRefinementRegistryV2.yaml"],"migration_tasks":["P00-03","P03-05","P03-06","P09-04"],"gate_ids":["G0","G3","G9"],"mapping_rule":"immutable_history_or_versioned_registry_migration"},"route-551d40a8fdde504a":{"disposition":"retain","target_paths":["reproducibility/OneDimensionalMechanismR1AdditionalFailuresV1.json"],"migration_tasks":["P00-03","P03-05","P03-06","P09-04"],"gate_ids":["G0","G3","G9"],"mapping_rule":"immutable_history_or_versioned_registry_migration"},"route-d5336186239cd79b":{"disposition":"retain","target_paths":["reproducibility/OneDimensionalMechanismR1AdditionalFailuresV2.json"],"migration_tasks":["P00-03","P03-05","P03-06","P09-04"],"gate_ids":["G0","G3","G9"],"mapping_rule":"immutable_history_or_versioned_registry_migration"},"route-869c9bd5f0f0ef86":{"disposition":"retain","target_paths":["reproducibility/OneDimensionalMechanismR1DynamicsInputV1.json"],"migration_tasks":["P00-03","P03-05","P03-06","P09-04"],"gate_ids":["G0","G3","G9"],"mapping_rule":"immutable_history_or_versioned_registry_migration"},"route-5cf8c26bbdbfae45":{"disposition":"retain","target_paths":["reproducibility/OneDimensionalMechanismR1ExecutionStandardV1.json"],"migration_tasks":["P00-03","P03-05","P03-06","P09-04"],"gate_ids":["G0","G3","G9"],"mapping_rule":"immutable_history_or_versioned_registry_migration"},"route-4c8d33f3b176289b":{"disposition":"retain","target_paths":["reproducibility/OneDimensionalMechanismR1InputV1.json"],"migration_tasks":["P00-03","P03-05","P03-06","P09-04"],"gate_ids":["G0","G3","G9"],"mapping_rule":"immutable_history_or_versioned_registry_migration"},"route-e19cf585677cd533":{"disposition":"retain","target_paths":["reproducibility/OneDimensionalMechanismR1PhysicalStandardV1.json"],"migration_tasks":["P00-03","P03-05","P03-06","P09-04"],"gate_ids":["G0","G3","G9"],"mapping_rule":"immutable_history_or_versioned_registry_migration"},"route-972065e4088ecec3":{"disposition":"retain","target_paths":["reproducibility/P1Gaps.yaml"],"migration_tasks":["P00-03","P03-05","P03-06","P09-04"],"gate_ids":["G0","G3","G9"],"mapping_rule":"immutable_history_or_versioned_registry_migration"},"route-7c037625162ab59d":{"disposition":"retain","target_paths":["reproducibility/README.md"],"migration_tasks":["P00-03","P03-05","P03-06","P09-04"],"gate_ids":["G0","G3","G9"],"mapping_rule":"immutable_history_or_versioned_registry_migration"},"route-0f0fc0888168c1b7":{"disposition":"retain","target_paths":["reproducibility/ScapsDefectComparisonThresholds.json"],"migration_tasks":["P00-03","P03-05","P03-06","P09-04"],"gate_ids":["G0","G3","G9"],"mapping_rule":"immutable_history_or_versioned_registry_migration"},"route-b3682385ddcf11a8":{"disposition":"retain","target_paths":["reproducibility/ScapsDefectS0S2Suite.json"],"migration_tasks":["P00-03","P03-05","P03-06","P09-04"],"gate_ids":["G0","G3","G9"],"mapping_rule":"immutable_history_or_versioned_registry_migration"},"route-d95b16bb8f9fe040":{"disposition":"retain","target_paths":["reproducibility/ScapsMultivalentDefectSuite.json"],"migration_tasks":["P00-03","P03-05","P03-06","P09-04"],"gate_ids":["G0","G3","G9"],"mapping_rule":"immutable_history_or_versioned_registry_migration"},"route-e74a4c0b8ce615f2":{"disposition":"retain","target_paths":["reproducibility/ScapsParams.xlsx"],"migration_tasks":["P00-03","P03-05","P03-06","P09-04"],"gate_ids":["G0","G3","G9"],"mapping_rule":"immutable_history_or_versioned_registry_migration"},"route-403962e72073ff91":{"disposition":"retain","target_paths":["reproducibility/SchemaRegistry.yaml"],"migration_tasks":["P00-03","P03-05","P03-06","P09-04"],"gate_ids":["G0","G3","G9"],"mapping_rule":"immutable_history_or_versioned_registry_migration"},"route-264c7e33a1e24bd4":{"disposition":"retain","target_paths":["reproducibility/baselines/p0-certified-2026-08-01/README.md"],"migration_tasks":["P00-03","P03-05","P03-06","P09-04"],"gate_ids":["G0","G3","G9"],"mapping_rule":"immutable_history_or_versioned_registry_migration"},"route-cccedb1d7d21f65f":{"disposition":"retain","target_paths":["reproducibility/baselines/p0-certified-2026-08-01/manifest.yaml"],"migration_tasks":["P00-03","P03-05","P03-06","P09-04"],"gate_ids":["G0","G3","G9"],"mapping_rule":"immutable_history_or_versioned_registry_migration"},"route-45879ce05b27e6ae":{"disposition":"retain","target_paths":["reproducibility/baselines/p0-certified-2026-08-01/p0.patch"],"migration_tasks":["P00-03","P03-05","P03-06","P09-04"],"gate_ids":["G0","G3","G9"],"mapping_rule":"immutable_history_or_versioned_registry_migration"},"route-568c7fbc6a6dad4d":{"disposition":"retain","target_paths":["reproducibility/baselines/p0-certified-2026-08-01/target_blobs/4a08dc840230df0a5a3af4f2b76cf63bd53cc781.blob"],"migration_tasks":["P00-03","P03-05","P03-06","P09-04"],"gate_ids":["G0","G3","G9"],"mapping_rule":"immutable_history_or_versioned_registry_migration"},"route-b155e33a31c454c7":{"disposition":"retain","target_paths":["reproducibility/baselines/p0-certified-2026-08-01/target_blobs/88cda463b0010597bae7a77a90c7e97afea25c52.blob"],"migration_tasks":["P00-03","P03-05","P03-06","P09-04"],"gate_ids":["G0","G3","G9"],"mapping_rule":"immutable_history_or_versioned_registry_migration"},"route-073ad19c855a0852":{"disposition":"retain","target_paths":["reproducibility/baselines/p0-certified-2026-08-01/target_blobs/ba24cdba780402b6a092d3500dc24b22cfb78ffd.blob"],"migration_tasks":["P00-03","P03-05","P03-06","P09-04"],"gate_ids":["G0","G3","G9"],"mapping_rule":"immutable_history_or_versioned_registry_migration"},"route-c21b39ba175ec933":{"disposition":"migrate","target_paths":["src/solarlab_research/scripts/analyze_r1_v11_responses.py"],"migration_tasks":["P00-04","P01-01","P01-02","P07-01","P07-05"],"gate_ids":["G0","G1","G7"],"mapping_rule":"versioned_research_launcher_preserve_historical_record_identity"},"route-df3c9c7665f365bc":{"disposition":"migrate","target_paths":["src/solarlab_research/scripts/analyze_r1_v12_responses.py"],"migration_tasks":["P00-04","P01-01","P01-02","P07-01","P07-05"],"gate_ids":["G0","G1","G7"],"mapping_rule":"versioned_research_launcher_preserve_historical_record_identity"},"route-e522fe481f8b1b10":{"disposition":"migrate","target_paths":["src/solarlab_research/scripts/analyze_r1_v5_responses.py"],"migration_tasks":["P00-04","P01-01","P01-02","P07-01","P07-05"],"gate_ids":["G0","G1","G7"],"mapping_rule":"versioned_research_launcher_preserve_historical_record_identity"},"route-a62767efdd912181":{"disposition":"migrate","target_paths":["src/solarlab_research/scripts/analyze_r1_v5_saved_window.py"],"migration_tasks":["P00-04","P01-01","P01-02","P07-01","P07-05"],"gate_ids":["G0","G1","G7"],"mapping_rule":"versioned_research_launcher_preserve_historical_record_identity"},"route-1f12568fcd3c3c90":{"disposition":"migrate","target_paths":["src/solarlab_research/scripts/analyze_r1_v6_crosscode.py"],"migration_tasks":["P00-04","P01-01","P01-02","P07-01","P07-05"],"gate_ids":["G0","G1","G7"],"mapping_rule":"versioned_research_launcher_preserve_historical_record_identity"},"route-2ac26a31ae812295":{"disposition":"migrate","target_paths":["src/solarlab_research/scripts/analyze_r1_v7_prototype.py"],"migration_tasks":["P00-04","P01-01","P01-02","P07-01","P07-05"],"gate_ids":["G0","G1","G7"],"mapping_rule":"versioned_research_launcher_preserve_historical_record_identity"},"route-676175075072bc8e":{"disposition":"migrate","target_paths":["src/solarlab_research/scripts/analyze_r1_v8_prototype.py"],"migration_tasks":["P00-04","P01-01","P01-02","P07-01","P07-05"],"gate_ids":["G0","G1","G7"],"mapping_rule":"versioned_research_launcher_preserve_historical_record_identity"},"route-0365977731097a3d":{"disposition":"migrate","target_paths":["src/solarlab_research/scripts/analyze_r1_v9_prototype.py"],"migration_tasks":["P00-04","P01-01","P01-02","P07-01","P07-05"],"gate_ids":["G0","G1","G7"],"mapping_rule":"versioned_research_launcher_preserve_historical_record_identity"},"route-ab4b6afc02bb4c08":{"disposition":"migrate","target_paths":["src/solarlab_research/scripts/archive_one_dimensional_mechanism_r1.py"],"migration_tasks":["P00-04","P01-01","P01-02","P07-01","P07-05"],"gate_ids":["G0","G1","G7"],"mapping_rule":"versioned_research_launcher_preserve_historical_record_identity"},"route-aef91e23a529a42c":{"disposition":"migrate","target_paths":["scripts/verification/audit_ion_parameter_flow.py"],"migration_tasks":["P00-02","P03-06","P09-03","P09-04"],"gate_ids":["G0","G3","G9"],"mapping_rule":"preserve_existing_capability"},"route-1545d82a68679f8f":{"disposition":"migrate","target_paths":["scripts/benchmarks/benchmark_dae_jacobian.py"],"migration_tasks":["P05-05","P09-01","P09-04"],"gate_ids":["G5","G9"],"mapping_rule":"preserve_existing_capability"},"route-07e1cfcb6bb330aa":{"disposition":"migrate","target_paths":["scripts/benchmarks/calado_reference_bias_lift.m"],"migration_tasks":["P05-05","P09-01","P09-04"],"gate_ids":["G5","G9"],"mapping_rule":"preserve_existing_capability"},"route-844f52936c77e8d8":{"disposition":"migrate","target_paths":["scripts/benchmarks/calado_reference_monitor.m"],"migration_tasks":["P05-05","P09-01","P09-04"],"gate_ids":["G5","G9"],"mapping_rule":"preserve_existing_capability"},"route-4506b688c7de3899":{"disposition":"migrate","target_paths":["src/solarlab_research/scripts/check_r1_physics_mutations.py"],"migration_tasks":["P00-04","P01-01","P01-02","P07-01","P07-05"],"gate_ids":["G0","G1","G7"],"mapping_rule":"versioned_research_launcher_preserve_historical_record_identity"},"route-4c295e2a4966aeed":{"disposition":"migrate","target_paths":["src/solarlab_research/scripts/check_r1_v7_precision_consumers.py"],"migration_tasks":["P00-04","P01-01","P01-02","P07-01","P07-05"],"gate_ids":["G0","G1","G7"],"mapping_rule":"versioned_research_launcher_preserve_historical_record_identity"},"route-7e2d0a7de14630d1":{"disposition":"migrate","target_paths":["src/solarlab_research/scripts/check_r1_v8_legacy.py"],"migration_tasks":["P00-04","P01-01","P01-02","P07-01","P07-05"],"gate_ids":["G0","G1","G7"],"mapping_rule":"versioned_research_launcher_preserve_historical_record_identity"},"route-21bf7df06b84a569":{"disposition":"migrate","target_paths":["src/solarlab_research/scripts/check_r1_v8_precision_consumers.py"],"migration_tasks":["P00-04","P01-01","P01-02","P07-01","P07-05"],"gate_ids":["G0","G1","G7"],"mapping_rule":"versioned_research_launcher_preserve_historical_record_identity"},"route-9a1366cd09422499":{"disposition":"migrate","target_paths":["src/solarlab_research/scripts/check_r1_v8_replay.py"],"migration_tasks":["P00-04","P01-01","P01-02","P07-01","P07-05"],"gate_ids":["G0","G1","G7"],"mapping_rule":"versioned_research_launcher_preserve_historical_record_identity"},"route-aee4e32dd86ca61e":{"disposition":"migrate","target_paths":["src/solarlab_research/scripts/check_r1_v9_performance_equivalence.py"],"migration_tasks":["P00-04","P01-01","P01-02","P07-01","P07-05"],"gate_ids":["G0","G1","G7"],"mapping_rule":"versioned_research_launcher_preserve_historical_record_identity"},"route-037a6103c9d8e141":{"disposition":"migrate","target_paths":["src/solarlab_research/scripts/check_r1_v9_precision_consumers.py"],"migration_tasks":["P00-04","P01-01","P01-02","P07-01","P07-05"],"gate_ids":["G0","G1","G7"],"mapping_rule":"versioned_research_launcher_preserve_historical_record_identity"},"route-34303dab8522f6a4":{"disposition":"migrate","target_paths":["src/solarlab_research/scripts/check_r1_v9_replay.py"],"migration_tasks":["P00-04","P01-01","P01-02","P07-01","P07-05"],"gate_ids":["G0","G1","G7"],"mapping_rule":"versioned_research_launcher_preserve_historical_record_identity"},"route-411e3957a2ac2a5c":{"disposition":"migrate","target_paths":["scripts/benchmarks/compare_scaps_defect_reference.py"],"migration_tasks":["P05-05","P09-01","P09-04"],"gate_ids":["G5","G9"],"mapping_rule":"preserve_existing_capability"},"route-274279a19efe24a5":{"disposition":"migrate","target_paths":["src/solarlab_research/scripts/diagnose_one_dimensional_mechanism_r1_numerics.py"],"migration_tasks":["P00-04","P01-01","P01-02","P07-01","P07-05"],"gate_ids":["G0","G1","G7"],"mapping_rule":"versioned_research_launcher_preserve_historical_record_identity"},"route-8ede9f63edc41bb0":{"disposition":"migrate","target_paths":["src/solarlab_research/scripts/diagnose_one_dimensional_mechanism_r1_weak_flux.py"],"migration_tasks":["P00-04","P01-01","P01-02","P07-01","P07-05"],"gate_ids":["G0","G1","G7"],"mapping_rule":"versioned_research_launcher_preserve_historical_record_identity"},"route-601c17aaf78ba011":{"disposition":"migrate","target_paths":["src/solarlab_research/scripts/diagnose_r1_saved_iterates.py"],"migration_tasks":["P00-04","P01-01","P01-02","P07-01","P07-05"],"gate_ids":["G0","G1","G7"],"mapping_rule":"versioned_research_launcher_preserve_historical_record_identity"},"route-69ace6871eb4e4b5":{"disposition":"migrate","target_paths":["src/solarlab_research/scripts/diagnose_r1_v6_coupled_sensitivity.py"],"migration_tasks":["P00-04","P01-01","P01-02","P07-01","P07-05"],"gate_ids":["G0","G1","G7"],"mapping_rule":"versioned_research_launcher_preserve_historical_record_identity"},"route-16b114c4f71c32cf":{"disposition":"migrate","target_paths":["src/solarlab_research/scripts/diagnose_r1_v9_residuals.py"],"migration_tasks":["P00-04","P01-01","P01-02","P07-01","P07-05"],"gate_ids":["G0","G1","G7"],"mapping_rule":"versioned_research_launcher_preserve_historical_record_identity"},"route-0938d829987e012a":{"disposition":"migrate","target_paths":["scripts/benchmarks/extract_calado_fig1_reference.py"],"migration_tasks":["P05-05","P09-01","P09-04"],"gate_ids":["G5","G9"],"mapping_rule":"preserve_existing_capability"},"route-13ab3bac96b3505e":{"disposition":"migrate","target_paths":["scripts/benchmarks/extract_scaps_reference.py"],"migration_tasks":["P05-05","P09-01","P09-04"],"gate_ids":["G5","G9"],"mapping_rule":"preserve_existing_capability"},"route-482bdcdcf8ba5490":{"disposition":"migrate","target_paths":["scripts/figures/generate_solarscale_inputs.py"],"migration_tasks":["P05-05","P09-01","P09-04"],"gate_ids":["G5","G9"],"mapping_rule":"preserve_existing_capability"},"route-866e3e98e4d69516":{"disposition":"migrate","target_paths":["scripts/benchmarks/import_scaps_cbo_reference.py"],"migration_tasks":["P05-05","P09-01","P09-04"],"gate_ids":["G5","G9"],"mapping_rule":"preserve_existing_capability"},"route-c443bc6cf8127da3":{"disposition":"migrate","target_paths":["scripts/benchmarks/import_scaps_defect_reference.py"],"migration_tasks":["P05-05","P09-01","P09-04"],"gate_ids":["G5","G9"],"mapping_rule":"preserve_existing_capability"},"route-322eeeb695a998e9":{"disposition":"migrate","target_paths":["scripts/benchmarks/import_scaps_multivalent_defect_reference.py"],"migration_tasks":["P05-05","P09-01","P09-04"],"gate_ids":["G5","G9"],"mapping_rule":"preserve_existing_capability"},"route-7f53fc2e77e462db":{"disposition":"migrate","target_paths":["src/solarlab_research/scripts/inspect_one_dimensional_mechanism_r1_history.py"],"migration_tasks":["P00-04","P01-01","P01-02","P07-01","P07-05"],"gate_ids":["G0","G1","G7"],"mapping_rule":"versioned_research_launcher_preserve_historical_record_identity"},"route-927032e054544e22":{"disposition":"migrate","target_paths":["scripts/benchmarks/md_physics_typography.py"],"migration_tasks":["P05-05","P09-01","P09-04"],"gate_ids":["G5","G9"],"mapping_rule":"preserve_existing_capability"},"route-e6386ee5190bb5a5":{"disposition":"migrate","target_paths":["scripts/figures/plot_band_diagram.py"],"migration_tasks":["P05-05","P09-01","P09-04"],"gate_ids":["G5","G9"],"mapping_rule":"preserve_existing_capability"},"route-3fe4f501df41c6f9":{"disposition":"migrate","target_paths":["scripts/figures/plot_calado_fig1f_scan_rate.py"],"migration_tasks":["P05-05","P09-01","P09-04"],"gate_ids":["G5","G9"],"mapping_rule":"preserve_existing_capability"},"route-03c5010f991cc545":{"disposition":"migrate","target_paths":["scripts/figures/plot_charge_distribution.py"],"migration_tasks":["P05-05","P09-01","P09-04"],"gate_ids":["G5","G9"],"mapping_rule":"preserve_existing_capability"},"route-d032d4638cc3e3be":{"disposition":"migrate","target_paths":["scripts/figures/plot_cv_mott_schottky.py"],"migration_tasks":["P05-05","P09-01","P09-04"],"gate_ids":["G5","G9"],"mapping_rule":"preserve_existing_capability"},"route-20aac14e51841adf":{"disposition":"migrate","target_paths":["scripts/figures/plot_eqe.py"],"migration_tasks":["P05-05","P09-01","P09-04"],"gate_ids":["G5","G9"],"mapping_rule":"preserve_existing_capability"},"route-ab4fa2be7e60cd23":{"disposition":"migrate","target_paths":["scripts/figures/plot_generation_recombination.py"],"migration_tasks":["P05-05","P09-01","P09-04"],"gate_ids":["G5","G9"],"mapping_rule":"preserve_existing_capability"},"route-42dc52e290b9b1bb":{"disposition":"migrate","target_paths":["scripts/figures/plot_physics_verification.py"],"migration_tasks":["P05-05","P09-01","P09-04"],"gate_ids":["G5","G9"],"mapping_rule":"preserve_existing_capability"},"route-d6ecf2b642365b19":{"disposition":"migrate","target_paths":["scripts/figures/plot_spatial_overlay.py"],"migration_tasks":["P05-05","P09-01","P09-04"],"gate_ids":["G5","G9"],"mapping_rule":"preserve_existing_capability"},"route-59b771743c4b43e5":{"disposition":"migrate","target_paths":["scripts/figures/prepare_calado_monitored_driver.m"],"migration_tasks":["P05-05","P09-01","P09-04"],"gate_ids":["G5","G9"],"mapping_rule":"preserve_existing_capability"},"route-a916e8292c03f9ce":{"disposition":"migrate","target_paths":["src/solarlab_research/scripts/prepare_r1_v6_evidence.py"],"migration_tasks":["P00-04","P01-01","P01-02","P07-01","P07-05"],"gate_ids":["G0","G1","G7"],"mapping_rule":"versioned_research_launcher_preserve_historical_record_identity"},"route-106777c0879f5df2":{"disposition":"migrate","target_paths":["scripts/benchmarks/probe_calado_optical_inputs.py"],"migration_tasks":["P05-05","P09-01","P09-04"],"gate_ids":["G5","G9"],"mapping_rule":"preserve_existing_capability"},"route-1b1d959678330bb1":{"disposition":"migrate","target_paths":["scripts/benchmarks/probe_calado_paper_alignment.py"],"migration_tasks":["P05-05","P09-01","P09-04"],"gate_ids":["G5","G9"],"mapping_rule":"preserve_existing_capability"},"route-e4f38ab7eccb3747":{"disposition":"migrate","target_paths":["scripts/benchmarks/probe_interface_face_densities.py"],"migration_tasks":["P05-05","P09-01","P09-04"],"gate_ids":["G5","G9"],"mapping_rule":"preserve_existing_capability"},"route-532dd1f544aec5f7":{"disposition":"migrate","target_paths":["src/solarlab_research/scripts/probe_r1_v5_window_flux.py"],"migration_tasks":["P00-04","P01-01","P01-02","P07-01","P07-05"],"gate_ids":["G0","G1","G7"],"mapping_rule":"versioned_research_launcher_preserve_historical_record_identity"},"route-923fdeeb584e04c5":{"disposition":"migrate","target_paths":["src/solarlab_research/scripts/probe_r1_v6_ion_precision.py"],"migration_tasks":["P00-04","P01-01","P01-02","P07-01","P07-05"],"gate_ids":["G0","G1","G7"],"mapping_rule":"versioned_research_launcher_preserve_historical_record_identity"},"route-2381c5278e777ba2":{"disposition":"migrate","target_paths":["scripts/benchmarks/e11_qss_math.py"],"migration_tasks":["P05-05","P09-01","P09-04"],"gate_ids":["G5","G9"],"mapping_rule":"preserve_existing_capability"},"route-9c5223914eabeb49":{"disposition":"migrate","target_paths":["scripts/benchmarks/e7_probe_a_pvk_doping.py"],"migration_tasks":["P05-05","P09-01","P09-04"],"gate_ids":["G5","G9"],"mapping_rule":"preserve_existing_capability"},"route-2a6f795395a7504b":{"disposition":"migrate","target_paths":["scripts/benchmarks/e7_probe_a_star_tune.py"],"migration_tasks":["P05-05","P09-01","P09-04"],"gate_ids":["G5","G9"],"mapping_rule":"preserve_existing_capability"},"route-0e00c468b73c2c8d":{"disposition":"migrate","target_paths":["scripts/benchmarks/e7_probe_b_srh_collapse.py"],"migration_tasks":["P05-05","P09-01","P09-04"],"gate_ids":["G5","G9"],"mapping_rule":"preserve_existing_capability"},"route-33ef1e6becf2ae17":{"disposition":"migrate","target_paths":["scripts/benchmarks/e7_probe_c_robin_nd_etl.py"],"migration_tasks":["P05-05","P09-01","P09-04"],"gate_ids":["G5","G9"],"mapping_rule":"preserve_existing_capability"},"route-226c4f7fd73682e2":{"disposition":"migrate","target_paths":["scripts/benchmarks/e7_y1_probe_cascade_confirm.py"],"migration_tasks":["P05-05","P09-01","P09-04"],"gate_ids":["G5","G9"],"mapping_rule":"preserve_existing_capability"},"route-ae5a577f9d8e4a1d":{"disposition":"migrate","target_paths":["scripts/benchmarks/e7_y1_probe_kill_auger.py"],"migration_tasks":["P05-05","P09-01","P09-04"],"gate_ids":["G5","G9"],"mapping_rule":"preserve_existing_capability"},"route-67b05068ca903114":{"disposition":"migrate","target_paths":["scripts/benchmarks/e7_y1_probe_srv_tune.py"],"migration_tasks":["P05-05","P09-01","P09-04"],"gate_ids":["G5","G9"],"mapping_rule":"preserve_existing_capability"},"route-93a8e8cf78490301":{"disposition":"migrate","target_paths":["src/solarlab_research/scripts/propagate_r1_saved_field_differences.py"],"migration_tasks":["P00-04","P01-01","P01-02","P07-01","P07-05"],"gate_ids":["G0","G1","G7"],"mapping_rule":"versioned_research_launcher_preserve_historical_record_identity"},"route-6409421438dd6b7f":{"disposition":"migrate","target_paths":["scripts/benchmarks/qss_golden_master.py"],"migration_tasks":["P05-05","P09-01","P09-04"],"gate_ids":["G5","G9"],"mapping_rule":"preserve_existing_capability"},"route-ea68872eabc8ba03":{"disposition":"migrate","target_paths":["src/solarlab_research/scripts/r1_v10_extent.py"],"migration_tasks":["P00-04","P01-01","P01-02","P07-01","P07-05"],"gate_ids":["G0","G1","G7"],"mapping_rule":"versioned_research_launcher_preserve_historical_record_identity"},"route-97ef29ec41e0fdb0":{"disposition":"migrate","target_paths":["src/solarlab_research/scripts/r1_v16_memory.py"],"migration_tasks":["P00-04","P01-01","P01-02","P07-01","P07-05"],"gate_ids":["G0","G1","G7"],"mapping_rule":"versioned_research_launcher_preserve_historical_record_identity"},"route-de55bb93e1e5f309":{"disposition":"migrate","target_paths":["src/solarlab_research/scripts/r1_v19_observation.py"],"migration_tasks":["P00-04","P01-01","P01-02","P07-01","P07-05"],"gate_ids":["G0","G1","G7"],"mapping_rule":"versioned_research_launcher_preserve_historical_record_identity"},"route-a63b22ed6fed8f47":{"disposition":"migrate","target_paths":["src/solarlab_research/scripts/r1_v23_json_writer.py"],"migration_tasks":["P00-04","P01-01","P01-02","P07-01","P07-05"],"gate_ids":["G0","G1","G7"],"mapping_rule":"versioned_research_launcher_preserve_historical_record_identity"},"route-06fb328019336b29":{"disposition":"migrate","target_paths":["src/solarlab_research/scripts/r1_v23_storage_observation.py"],"migration_tasks":["P00-04","P01-01","P01-02","P07-01","P07-05"],"gate_ids":["G0","G1","G7"],"mapping_rule":"versioned_research_launcher_preserve_historical_record_identity"},"route-fe052cc26c54d840":{"disposition":"migrate","target_paths":["src/solarlab_research/scripts/r1_v8_timing.py"],"migration_tasks":["P00-04","P01-01","P01-02","P07-01","P07-05"],"gate_ids":["G0","G1","G7"],"mapping_rule":"versioned_research_launcher_preserve_historical_record_identity"},"route-827b0179bb5f86dd":{"disposition":"migrate","target_paths":["scripts/benchmarks/run_calado_driftfusion_reference.m"],"migration_tasks":["P05-05","P09-01","P09-04"],"gate_ids":["G5","G9"],"mapping_rule":"preserve_existing_capability"},"route-e994c10181a0048e":{"disposition":"migrate","target_paths":["scripts/benchmarks/run_device_parameter_sweep.py"],"migration_tasks":["P05-05","P09-01","P09-04"],"gate_ids":["G5","G9"],"mapping_rule":"preserve_existing_capability"},"route-98f7fa9e6acfe674":{"disposition":"migrate","target_paths":["scripts/benchmarks/run_interface_cbo_scan.py"],"migration_tasks":["P05-05","P09-01","P09-04"],"gate_ids":["G5","G9"],"mapping_rule":"preserve_existing_capability"},"route-9db9efed751ed8d9":{"disposition":"migrate","target_paths":["scripts/benchmarks/run_interface_cbo_sensitivity.py"],"migration_tasks":["P05-05","P09-01","P09-04"],"gate_ids":["G5","G9"],"mapping_rule":"preserve_existing_capability"},"route-21df8dc419578bbc":{"disposition":"migrate","target_paths":["scripts/benchmarks/run_interface_srh_identifiability.py"],"migration_tasks":["P05-05","P09-01","P09-04"],"gate_ids":["G5","G9"],"mapping_rule":"preserve_existing_capability"},"route-5e935a22a77d489e":{"disposition":"migrate","target_paths":["scripts/benchmarks/run_material_evaluation_report.py"],"migration_tasks":["P05-05","P09-01","P09-04"],"gate_ids":["G5","G9"],"mapping_rule":"preserve_existing_capability"},"route-f79ec38813753afa":{"disposition":"migrate","target_paths":["scripts/benchmarks/run_material_screening.py"],"migration_tasks":["P05-05","P09-01","P09-04"],"gate_ids":["G5","G9"],"mapping_rule":"preserve_existing_capability"},"route-857fb23146aed13c":{"disposition":"migrate","target_paths":["scripts/benchmarks/run_numerical_refinement.py"],"migration_tasks":["P05-05","P09-01","P09-04"],"gate_ids":["G5","G9"],"mapping_rule":"preserve_existing_capability"},"route-84a688f131b85833":{"disposition":"migrate","target_paths":["src/solarlab_research/scripts/run_one_dimensional_mechanism_r0.py"],"migration_tasks":["P00-04","P01-01","P01-02","P07-01","P07-05"],"gate_ids":["G0","G1","G7"],"mapping_rule":"versioned_research_launcher_preserve_historical_record_identity"},"route-bfc8896670411219":{"disposition":"migrate","target_paths":["src/solarlab_research/scripts/run_one_dimensional_mechanism_r1.py"],"migration_tasks":["P00-04","P01-01","P01-02","P07-01","P07-05"],"gate_ids":["G0","G1","G7"],"mapping_rule":"versioned_research_launcher_preserve_historical_record_identity"},"route-5f7d3d3ecf3328f1":{"disposition":"migrate","target_paths":["src/solarlab_research/scripts/run_one_dimensional_mechanism_r1_physics_study.py"],"migration_tasks":["P00-04","P01-01","P01-02","P07-01","P07-05"],"gate_ids":["G0","G1","G7"],"mapping_rule":"versioned_research_launcher_preserve_historical_record_identity"},"route-dda09d034ca380b4":{"disposition":"migrate","target_paths":["src/solarlab_research/scripts/run_one_dimensional_mechanism_r1_stage_one.py"],"migration_tasks":["P00-04","P01-01","P01-02","P07-01","P07-05"],"gate_ids":["G0","G1","G7"],"mapping_rule":"versioned_research_launcher_preserve_historical_record_identity"},"route-9d294781b1c47384":{"disposition":"migrate","target_paths":["src/solarlab_research/scripts/run_r1_v10_cases.py"],"migration_tasks":["P00-04","P01-01","P01-02","P07-01","P07-05"],"gate_ids":["G0","G1","G7"],"mapping_rule":"versioned_research_launcher_preserve_historical_record_identity"},"route-84b836f3b8e313c4":{"disposition":"migrate","target_paths":["src/solarlab_research/scripts/run_r1_v11_cases.py"],"migration_tasks":["P00-04","P01-01","P01-02","P07-01","P07-05"],"gate_ids":["G0","G1","G7"],"mapping_rule":"versioned_research_launcher_preserve_historical_record_identity"},"route-aaa0c5171f15bb37":{"disposition":"migrate","target_paths":["src/solarlab_research/scripts/run_r1_v12_cases.py"],"migration_tasks":["P00-04","P01-01","P01-02","P07-01","P07-05"],"gate_ids":["G0","G1","G7"],"mapping_rule":"versioned_research_launcher_preserve_historical_record_identity"},"route-cfb8ebbb6139042f":{"disposition":"migrate","target_paths":["src/solarlab_research/scripts/run_r1_v4_representatives.py"],"migration_tasks":["P00-04","P01-01","P01-02","P07-01","P07-05"],"gate_ids":["G0","G1","G7"],"mapping_rule":"versioned_research_launcher_preserve_historical_record_identity"},"route-f53773639fed1b44":{"disposition":"migrate","target_paths":["src/solarlab_research/scripts/run_r1_v5_cases.py"],"migration_tasks":["P00-04","P01-01","P01-02","P07-01","P07-05"],"gate_ids":["G0","G1","G7"],"mapping_rule":"versioned_research_launcher_preserve_historical_record_identity"},"route-c38d173e7d94a30c":{"disposition":"migrate","target_paths":["src/solarlab_research/scripts/run_r1_v6_crosscode.py"],"migration_tasks":["P00-04","P01-01","P01-02","P07-01","P07-05"],"gate_ids":["G0","G1","G7"],"mapping_rule":"versioned_research_launcher_preserve_historical_record_identity"},"route-8feddc1f3835c1dc":{"disposition":"migrate","target_paths":["src/solarlab_research/scripts/run_r1_v6_driftfusion.m"],"migration_tasks":["P00-04","P01-01","P01-02","P07-01","P07-05"],"gate_ids":["G0","G1","G7"],"mapping_rule":"versioned_research_launcher_preserve_historical_record_identity"},"route-b63242cdca55c44a":{"disposition":"migrate","target_paths":["src/solarlab_research/scripts/run_r1_v6_verification.py"],"migration_tasks":["P00-04","P01-01","P01-02","P07-01","P07-05"],"gate_ids":["G0","G1","G7"],"mapping_rule":"versioned_research_launcher_preserve_historical_record_identity"},"route-685e6833fbc35d6c":{"disposition":"migrate","target_paths":["src/solarlab_research/scripts/run_r1_v8_ablation.py"],"migration_tasks":["P00-04","P01-01","P01-02","P07-01","P07-05"],"gate_ids":["G0","G1","G7"],"mapping_rule":"versioned_research_launcher_preserve_historical_record_identity"},"route-5487ec38a33e7d2f":{"disposition":"migrate","target_paths":["scripts/benchmarks/run_regularization_ladders.py"],"migration_tasks":["P05-05","P09-01","P09-04"],"gate_ids":["G5","G9"],"mapping_rule":"preserve_existing_capability"},"route-70083637365da619":{"disposition":"migrate","target_paths":["scripts/benchmarks/run_scaps_full_regression.py"],"migration_tasks":["P05-05","P09-01","P09-04"],"gate_ids":["G5","G9"],"mapping_rule":"preserve_existing_capability"},"route-ef99f0d79906429b":{"disposition":"migrate","target_paths":["scripts/benchmarks/run_scaps_validation.py"],"migration_tasks":["P05-05","P09-01","P09-04"],"gate_ids":["G5","G9"],"mapping_rule":"preserve_existing_capability"},"route-2c7e7d553470797c":{"disposition":"migrate","target_paths":["scripts/benchmarks/scaps_absolute_scorecard.py"],"migration_tasks":["P05-05","P09-01","P09-04"],"gate_ids":["G5","G9"],"mapping_rule":"preserve_existing_capability"},"route-9cd56efcdb05e166":{"disposition":"migrate","target_paths":["scripts/benchmarks/scaps_validation_figures.py"],"migration_tasks":["P05-05","P09-01","P09-04"],"gate_ids":["G5","G9"],"mapping_rule":"preserve_existing_capability"},"route-8d301a10becc377d":{"disposition":"migrate","target_paths":["scripts/benchmarks/slowgate_cron.sh"],"migration_tasks":["P05-05","P09-01","P09-04"],"gate_ids":["G5","G9"],"mapping_rule":"preserve_existing_capability"},"route-9e73563a753e9a5e":{"disposition":"migrate","target_paths":["scripts/benchmarks/summarize_ion_frontend_matrix.py"],"migration_tasks":["P05-05","P09-01","P09-04"],"gate_ids":["G5","G9"],"mapping_rule":"preserve_existing_capability"},"route-a2d42e5c973a854f":{"disposition":"migrate","target_paths":["src/solarlab_research/scripts/summarize_r1_v8_gates.py"],"migration_tasks":["P00-04","P01-01","P01-02","P07-01","P07-05"],"gate_ids":["G0","G1","G7"],"mapping_rule":"versioned_research_launcher_preserve_historical_record_identity"},"route-d1b5818e5e1fb7de":{"disposition":"migrate","target_paths":["scripts/benchmarks/CaladoReferenceMonitorTest.m"],"migration_tasks":["P05-05","P09-01","P09-04"],"gate_ids":["G5","G9"],"mapping_rule":"preserve_existing_capability"},"route-ce521be8969e5eab":{"disposition":"migrate","target_paths":["scripts/verification/validate_calado_reference_solution.m"],"migration_tasks":["P00-02","P03-06","P09-03","P09-04"],"gate_ids":["G0","G3","G9"],"mapping_rule":"preserve_existing_capability"},"route-a48e6461253013d3":{"disposition":"migrate","target_paths":["src/solarlab_research/scripts/verify_r1_v7_precision.py"],"migration_tasks":["P00-04","P01-01","P01-02","P07-01","P07-05"],"gate_ids":["G0","G1","G7"],"mapping_rule":"versioned_research_launcher_preserve_historical_record_identity"},"route-f900147eb6d0d205":{"disposition":"migrate","target_paths":["src/solarlab_research/scripts/verify_r1_v8_precision.py"],"migration_tasks":["P00-04","P01-01","P01-02","P07-01","P07-05"],"gate_ids":["G0","G1","G7"],"mapping_rule":"versioned_research_launcher_preserve_historical_record_identity"},"route-d8727c3da104d882":{"disposition":"migrate","target_paths":["src/solarlab_research/scripts/verify_r1_v9_precision.py"],"migration_tasks":["P00-04","P01-01","P01-02","P07-01","P07-05"],"gate_ids":["G0","G1","G7"],"mapping_rule":"versioned_research_launcher_preserve_historical_record_identity"},"route-09fdd2fe1e6061d4":{"disposition":"migrate","target_paths":["scripts/verification/verify_reproducibility.py"],"migration_tasks":["P00-02","P03-06","P09-03","P09-04"],"gate_ids":["G0","G3","G9"],"mapping_rule":"preserve_existing_capability"},"route-0b79b087fc0c9969":{"disposition":"migrate","target_paths":["tests/__init__.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-7b5d4a95652d00a0":{"disposition":"migrate","target_paths":["tests/_presets.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-35da0732e8d24cae":{"disposition":"migrate","target_paths":["tests/accepted_trajectory.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-a83617da23e2a85e":{"disposition":"migrate","target_paths":["tests/conftest.py","tests/server/conftest.py"],"migration_tasks":["P00-03","P02-01","P09-01","P09-03"],"gate_ids":["G0","G2","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-359deb9e55a328d5":{"disposition":"migrate","target_paths":["tests/fixtures/IonDiffusivityFigureReference.json"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-a22521a319298be7":{"disposition":"migrate","target_paths":["tests/fixtures/OneDimensionalMechanismR1ReferenceBindingV1.json"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-bfb652869cd0615a":{"disposition":"migrate","target_paths":["tests/fixtures/configs/cSi_homojunction.yaml"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-1424f205e677d928":{"disposition":"migrate","target_paths":["tests/fixtures/configs/cigs_baseline.yaml"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-13b979bd5c899be6":{"disposition":"migrate","target_paths":["tests/fixtures/configs/cigs_graded_notch.yaml"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-384815182e239609":{"disposition":"migrate","target_paths":["tests/fixtures/configs/cigs_graded_optics.yaml"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-e3d50bbf6ea5e7c8":{"disposition":"migrate","target_paths":["tests/fixtures/configs/csi_degenerate_pn_research.yaml"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-3e6c8e57e494953e":{"disposition":"migrate","target_paths":["tests/fixtures/configs/csi_gaussian_bulk_trap_pn_research.yaml"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-609346bb35752c73":{"disposition":"migrate","target_paths":["tests/fixtures/configs/csi_incomplete_ionization_bgn_pn_research.yaml"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-3649fac0dd41a591":{"disposition":"migrate","target_paths":["tests/fixtures/configs/csi_incomplete_ionization_pn_research.yaml"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-eeb58f162bffda7c":{"disposition":"migrate","target_paths":["tests/fixtures/configs/csi_vannijen2025_pn_cv.yaml"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-9e74dd83cf79569d":{"disposition":"migrate","target_paths":["tests/fixtures/configs/distributed_defect_qf_dc_pn.yaml"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-d50b4b403e4d5dfd":{"disposition":"migrate","target_paths":["tests/fixtures/configs/driftfusion_benchmark.yaml"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-8afa9877b23d4810":{"disposition":"migrate","target_paths":["tests/fixtures/configs/driftfusion_benchmark_tmm.yaml"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-5e2c167a04839040":{"disposition":"migrate","target_paths":["tests/fixtures/configs/driftfusion_calado2016_repro.yaml"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-67f4842a806cb45c":{"disposition":"migrate","target_paths":["tests/fixtures/configs/dual_ion_demo.yaml"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-1624f63cee9114cf":{"disposition":"migrate","target_paths":["tests/fixtures/configs/dynamic_defect_ion_impedance.yaml"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-d431b098d3d19cf2":{"disposition":"migrate","target_paths":["tests/fixtures/configs/dynamic_interface_defect_ion_transient.yaml"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-15f21e752e189439":{"disposition":"migrate","target_paths":["tests/fixtures/configs/dynamic_interface_defect_ion_transient_absorber_only.yaml"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-a9ac29f7ab18eee1":{"disposition":"migrate","target_paths":["tests/fixtures/configs/field_mobility_demo.yaml"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-d3ac2bec7190dcf0":{"disposition":"migrate","target_paths":["tests/fixtures/configs/graded_distributed_defect_qf_dc_pn.yaml"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-9004b39812404c71":{"disposition":"migrate","target_paths":["tests/fixtures/configs/interface_charge_jv_research.yaml"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-71fcd09fef0baf51":{"disposition":"migrate","target_paths":["tests/fixtures/configs/interface_charge_reference.yaml"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-fec36f158eb2be6f":{"disposition":"migrate","target_paths":["tests/fixtures/configs/interface_charge_research.yaml"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-300709e892d870c7":{"disposition":"migrate","target_paths":["tests/fixtures/configs/ionmonger_benchmark.yaml"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-411d433afa9f65c0":{"disposition":"migrate","target_paths":["tests/fixtures/configs/ionmonger_benchmark_tmm.yaml"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-881fea60a0c88a43":{"disposition":"migrate","target_paths":["tests/fixtures/configs/ionmonger_courtier2019_repro.yaml"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-87eff71232110448":{"disposition":"migrate","target_paths":["tests/fixtures/configs/nip_MAPbI3.yaml"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-cc7a7dfad4c45853":{"disposition":"migrate","target_paths":["tests/fixtures/configs/nip_MAPbI3_tmm.yaml"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-5f9bc0e29b5a8850":{"disposition":"migrate","target_paths":["tests/fixtures/configs/nip_SnPb_1p22.yaml"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-7c94679d4ca9b48b":{"disposition":"migrate","target_paths":["tests/fixtures/configs/nip_wideGap_FACs_1p77.yaml"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-b3132790ba5eda44":{"disposition":"migrate","target_paths":["tests/fixtures/configs/pin_MAPbI3.yaml"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-5db31d297d79e5ae":{"disposition":"migrate","target_paths":["tests/fixtures/configs/pin_MAPbI3_tmm.yaml"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-f85b09742ef79f15":{"disposition":"migrate","target_paths":["tests/fixtures/configs/radiative_limit.yaml"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-25cd4696dbbee326":{"disposition":"migrate","target_paths":["tests/fixtures/configs/scaps_defect_m1_double_donor_p.yaml"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-00b6a354aa1e4ea4":{"disposition":"migrate","target_paths":["tests/fixtures/configs/scaps_defect_m2_double_acceptor_n.yaml"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-6b96eb8c8d7b17e4":{"disposition":"migrate","target_paths":["tests/fixtures/configs/scaps_defect_m3_amphoteric_i.yaml"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-d6b1f66a46ba8456":{"disposition":"migrate","target_paths":["tests/fixtures/configs/scaps_defect_s0_neutral.yaml"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-8bc5ec1fbce205f2":{"disposition":"migrate","target_paths":["tests/fixtures/configs/scaps_defect_s1_acceptor_n.yaml"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-8186db931e629455":{"disposition":"migrate","target_paths":["tests/fixtures/configs/scaps_defect_s2_donor_p.yaml"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-16074d744dd39870":{"disposition":"migrate","target_paths":["tests/fixtures/configs/scaps_mirror.yaml"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-db0f2939722e7920":{"disposition":"migrate","target_paths":["tests/fixtures/configs/scaps_mirror_v2_robin_moderate.yaml"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-2d8268912ee641c2":{"disposition":"migrate","target_paths":["tests/fixtures/configs/scaps_mirror_v2_robin_strong.yaml"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-d14ff234b9c23ec4":{"disposition":"migrate","target_paths":["tests/fixtures/configs/selective_contacts_demo.yaml"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-4c0a572fb6546b4c":{"disposition":"migrate","target_paths":["tests/fixtures/configs/solarscale_nip_band_aligned.yaml"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-ea644f374d22dc4e":{"disposition":"migrate","target_paths":["tests/fixtures/configs/solarscale_nip_band_aligned_iface.yaml"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-211e06b1372e3beb":{"disposition":"migrate","target_paths":["tests/fixtures/configs/tandem_lin2019.yaml"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-2715f55414df5b4b":{"disposition":"migrate","target_paths":["tests/fixtures/configs/tpv_physical_reference.yaml"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-aa5a3d355272fdda":{"disposition":"migrate","target_paths":["tests/fixtures/configs/twod/bcx_combined_demo.yaml"],"migration_tasks":["P00-03","P06-01","P06-02","P06-03","P09-01","P09-03"],"gate_ids":["G0","G6","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-4491c7662a56b4f9":{"disposition":"migrate","target_paths":["tests/fixtures/configs/twod/combined_mobile_interface_research.yaml"],"migration_tasks":["P00-03","P06-01","P06-02","P06-03","P09-01","P09-03"],"gate_ids":["G0","G6","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-685f8aa855daf7e1":{"disposition":"migrate","target_paths":["tests/fixtures/configs/twod/nip_MAPbI3_singleGB.yaml"],"migration_tasks":["P00-03","P06-01","P06-02","P06-03","P09-01","P09-03"],"gate_ids":["G0","G6","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-a0e2315a8872fef6":{"disposition":"migrate","target_paths":["tests/fixtures/configs/twod/nip_MAPbI3_uniform.yaml"],"migration_tasks":["P00-03","P06-01","P06-02","P06-03","P09-01","P09-03"],"gate_ids":["G0","G6","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-cd205ab1e3c9559a":{"disposition":"migrate","target_paths":["tests/fixtures/configs/wkb_resolved_electron_barrier.yaml"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-e4d5aa3c0ce2b090":{"disposition":"migrate","target_paths":["tests/fixtures/configs/wkb_tunnelling_intraband_spike.yaml"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-1bc1e5e55f3daf7e":{"disposition":"migrate","target_paths":["tests/research/fixtures/r1_failure_evidence.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-0f02bfd1dc8f877c":{"disposition":"migrate","target_paths":["tests/research/fixtures/r1_reference.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-59318241cc802111":{"disposition":"migrate","target_paths":["tests/integration/QssBaseline.json"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-9a251c6c49de1c59":{"disposition":"migrate","target_paths":["tests/integration/ScapsReference.json"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-fd80a8df3c5c3a5c":{"disposition":"migrate","target_paths":["tests/integration/__init__.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-0da4b9f7db152cbb":{"disposition":"migrate","target_paths":["tests/server/__init__.py"],"migration_tasks":["P00-03","P06-04","P06-05","P06-06","P06-08","P09-01","P09-03"],"gate_ids":["G0","G6","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-9121228630671d66":{"disposition":"migrate","target_paths":["tests/server/test_jv_2d_advanced_physics.py"],"migration_tasks":["P00-03","P06-04","P06-05","P06-06","P06-08","P09-01","P09-03"],"gate_ids":["G0","G6","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-cec42107a22a7eaa":{"disposition":"migrate","target_paths":["tests/server/test_jv_sse.py"],"migration_tasks":["P00-03","P06-04","P06-05","P06-06","P06-08","P09-01","P09-03"],"gate_ids":["G0","G6","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-ba5c983c615bd00b":{"disposition":"migrate","target_paths":["tests/server/test_numerical_job_lifecycle.py"],"migration_tasks":["P00-03","P06-04","P06-05","P06-06","P06-08","P09-01","P09-03"],"gate_ids":["G0","G6","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-466b8778424ac8f2":{"disposition":"migrate","target_paths":["tests/server/test_stack_from_dict_interface_defects.py"],"migration_tasks":["P00-03","P06-04","P06-05","P06-06","P06-08","P09-01","P09-03"],"gate_ids":["G0","G6","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-6db78c8e385fa6ea":{"disposition":"migrate","target_paths":["tests/server/test_tandem_sse.py"],"migration_tasks":["P00-03","P06-04","P06-05","P06-06","P06-08","P09-01","P09-03"],"gate_ids":["G0","G6","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-d4d677f94e1ef7b0":{"disposition":"migrate","target_paths":["tests/server/test_twod_configs_api.py"],"migration_tasks":["P00-03","P06-04","P06-05","P06-06","P06-08","P09-01","P09-03"],"gate_ids":["G0","G6","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-3a91e5a492db3520":{"disposition":"migrate","target_paths":["tests/server/test_user_configs_api.py"],"migration_tasks":["P00-03","P06-04","P06-05","P06-06","P06-08","P09-01","P09-03"],"gate_ids":["G0","G6","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-90a38b2d0305c271":{"disposition":"migrate","target_paths":["tests/server/test_voc_grain_sweep_api.py"],"migration_tasks":["P00-03","P06-04","P06-05","P06-06","P06-08","P09-01","P09-03"],"gate_ids":["G0","G6","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-8e752a0e96389e55":{"disposition":"migrate","target_paths":["tests/integration/test_backend_api.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-0dd549859f2f1e0c":{"disposition":"migrate","target_paths":["tests/integration/test_backend_tandem.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-a3f10903c6bc2a6e":{"disposition":"migrate","target_paths":["tests/integration/test_bulk_defect_ion_transient.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-12329ad81943d0c1":{"disposition":"migrate","target_paths":["tests/integration/test_bulk_defect_transient.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-b806b563615b069b":{"disposition":"migrate","target_paths":["tests/integration/test_charged_explicit_defects_qf.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-fcafc4a7718c3edb":{"disposition":"migrate","target_paths":["tests/integration/test_cigs_graded_optics.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-2b875d66db2086a1":{"disposition":"migrate","target_paths":["tests/integration/test_combined_dc_warm_start.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-5db49f0759dfbaf5":{"disposition":"migrate","target_paths":["tests/integration/test_dae_dual_ion_refinement.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-2ce8136215fca5ea":{"disposition":"migrate","target_paths":["tests/integration/test_dae_dual_ion_structured_scaling.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-2db4508fdfb8b03f":{"disposition":"migrate","target_paths":["tests/integration/test_dae_interface_state_refinement.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-7cc3fb587109f9b7":{"disposition":"migrate","target_paths":["tests/integration/test_dae_ion_interface_refinement.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-0344f999d13af973":{"disposition":"migrate","target_paths":["tests/integration/test_dae_no_ion_refinement.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-1e9fa272c01f98ba":{"disposition":"migrate","target_paths":["tests/integration/test_dae_single_ion_refinement.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-b69441fd4dde56b7":{"disposition":"migrate","target_paths":["tests/integration/test_dae_single_ion_structured_scaling.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-92baa6dc44e66a2e":{"disposition":"migrate","target_paths":["tests/integration/test_dae_structured_scaling.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-17297df7c625b884":{"disposition":"migrate","target_paths":["tests/integration/test_defect_ion_combined_impedance.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-8180e6a42c8cc31e":{"disposition":"migrate","target_paths":["tests/integration/test_degradation_snapshot_refinement.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-96c39931c7663a6b":{"disposition":"migrate","target_paths":["tests/integration/test_displacement_increment_precision.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-1e0217cbecc58644":{"disposition":"migrate","target_paths":["tests/integration/test_dual_ion_demo.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-c3c04697792eb4bb":{"disposition":"migrate","target_paths":["tests/integration/test_dual_ion_integration.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-b1447a4fec5c0b30":{"disposition":"migrate","target_paths":["tests/integration/test_dynamic_defect_impedance.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-5092c30773a52c7f":{"disposition":"migrate","target_paths":["tests/integration/test_dynamic_defect_impedance_api.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-988e460287fd9346":{"disposition":"migrate","target_paths":["tests/integration/test_dynamic_defect_transient.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-6f8d4f5d4e5cb364":{"disposition":"migrate","target_paths":["tests/integration/test_dynamic_defect_transient_api.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-dddbff078ea42fd2":{"disposition":"migrate","target_paths":["tests/integration/test_e1_5_cross_carrier_srh.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-6f4cb2f176bfc5c3":{"disposition":"migrate","target_paths":["tests/integration/test_e1_6_calibration_factor.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-44029d450ff806f4":{"disposition":"migrate","target_paths":["tests/integration/test_e1_interface_srh.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-2e40610960f5fbb7":{"disposition":"migrate","target_paths":["tests/integration/test_e3_interface_plane_assemble_rhs.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-d825d1618fbacae6":{"disposition":"migrate","target_paths":["tests/integration/test_e4_split_integration.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-46210052449fcd7d":{"disposition":"migrate","target_paths":["tests/integration/test_electrothermal_operating_point.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-d319ec1e4eaba229":{"disposition":"migrate","target_paths":["tests/integration/test_end_to_end_device.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-e8292d0675bc60a4":{"disposition":"migrate","target_paths":["tests/integration/test_equilibrium.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-a0cb635cf8a28926":{"disposition":"migrate","target_paths":["tests/integration/test_explicit_neutral_defects.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-13bc316e32c5cdfa":{"disposition":"migrate","target_paths":["tests/integration/test_external_circuit.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-c649a12407ab45c9":{"disposition":"migrate","target_paths":["tests/integration/test_external_circuit_refinement.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-cb7ffa95d7e1e8ed":{"disposition":"migrate","target_paths":["tests/integration/test_field_mobility_integration.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-e50cccf095e95962":{"disposition":"migrate","target_paths":["tests/integration/test_foundation_mobile_refinement.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-a09065616cd4ffe7":{"disposition":"migrate","target_paths":["tests/integration/test_foundation_tpv_spatial_refinement.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-c9e542353aa3dfe7":{"disposition":"migrate","target_paths":["tests/integration/test_foundation_twod_axis_refinement.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-1c39a8458b824bc8":{"disposition":"migrate","target_paths":["tests/integration/test_full_tier_flagship_jv.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-d73a61fbb6690b09":{"disposition":"migrate","target_paths":["tests/integration/test_full_tier_migrated_presets.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-87ef110e3075c116":{"disposition":"migrate","target_paths":["tests/integration/test_heterojunction_dark_equilibrium.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-0bb84d773c83614a":{"disposition":"migrate","target_paths":["tests/integration/test_interface_defect_aware_impedance.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-d7e5d70def0ab980":{"disposition":"migrate","target_paths":["tests/integration/test_interface_defect_ion_transient.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-d81688df5b6b7f36":{"disposition":"migrate","target_paths":["tests/integration/test_interface_defect_transient.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-19a56c743007ffd6":{"disposition":"migrate","target_paths":["tests/integration/test_interface_flux_balance.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-4b7024aeb21544e1":{"disposition":"migrate","target_paths":["tests/integration/test_interface_reverse_bias_generation.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-1ff5482a9339d238":{"disposition":"migrate","target_paths":["tests/integration/test_ion_aware_dc.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-1cdd8b0113a338cb":{"disposition":"migrate","target_paths":["tests/integration/test_ion_aware_impedance.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-0609e936abbb65de":{"disposition":"migrate","target_paths":["tests/integration/test_ion_aware_impedance_grid.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-1095e2f8e1a72b4b":{"disposition":"migrate","target_paths":["tests/integration/test_ion_aware_impedance_lockin.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-379459e775829ddb":{"disposition":"migrate","target_paths":["tests/integration/test_ion_aware_structured_jacobian.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-dcff482386f534f9":{"disposition":"migrate","target_paths":["tests/integration/test_ion_diffusivity_figure.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-c33db809333c0300":{"disposition":"migrate","target_paths":["tests/integration/test_ion_occupancy_device_level.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-22d93e2762284af9":{"disposition":"migrate","target_paths":["tests/integration/test_log_density_coordinates.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-6f4e33cb6cb4cfe8":{"disposition":"migrate","target_paths":["tests/integration/test_material_cache_regression.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-5f735796fe9c1acf":{"disposition":"migrate","target_paths":["tests/integration/test_metastable_dynamic_transient.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-3251e8c8602898b2":{"disposition":"migrate","target_paths":["tests/integration/test_metastable_preparation_and_frozen_measurement.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-f3704acc92eb4df8":{"disposition":"migrate","target_paths":["tests/integration/test_multivalent_explicit_defects_qf.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-8baec9a4a919ff4d":{"disposition":"migrate","target_paths":["tests/research/integration/test_one_dimensional_mechanism_r1.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-08b8984258bb813a":{"disposition":"migrate","target_paths":["tests/research/integration/test_one_dimensional_mechanism_r1_controls.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-10f21afa9c1b552f":{"disposition":"migrate","target_paths":["tests/research/integration/test_one_dimensional_mechanism_r1_physics_result_records.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-811d2c965772c13f":{"disposition":"migrate","target_paths":["tests/research/integration/test_one_dimensional_mechanism_r1_physics_validation.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-09a00fc4f283db22":{"disposition":"migrate","target_paths":["tests/research/integration/test_one_dimensional_mechanism_r1_protocol.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-b6ceba702ec7df6f":{"disposition":"migrate","target_paths":["tests/research/integration/test_one_dimensional_mechanism_r1_response.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-32d8d28d38967bda":{"disposition":"migrate","target_paths":["tests/research/integration/test_one_dimensional_mechanism_r1_step.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-47144af47c668ad3":{"disposition":"migrate","target_paths":["tests/integration/test_physical_interface_cbo_scan.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-5f5de32f456f55b2":{"disposition":"migrate","target_paths":["tests/research/integration/test_r1_dc_amplitude_endpoints.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-eb5a10c445e8aa86":{"disposition":"migrate","target_paths":["tests/research/integration/test_r1_evidence_accounting_v5.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-8d23cea9caffc085":{"disposition":"migrate","target_paths":["tests/research/integration/test_r1_failure_witness_v4.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-2fb3b933d3bd1226":{"disposition":"migrate","target_paths":["tests/research/integration/test_r1_failure_witness_v5.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-410338d0edcca340":{"disposition":"migrate","target_paths":["tests/research/integration/test_r1_independent_physics.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-87cbb3242dc2a21a":{"disposition":"migrate","target_paths":["tests/research/integration/test_r1_initial_pair_invariants.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-58932495a22cb9d0":{"disposition":"migrate","target_paths":["tests/research/integration/test_r1_numerical_precision.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-610fb0f8efee9d75":{"disposition":"migrate","target_paths":["tests/research/integration/test_r1_physics_study_formal.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-03caadf7ad7f2d92":{"disposition":"migrate","target_paths":["tests/research/integration/test_r1_post_execution_qualification_v4.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-32b15e9cbf285e2c":{"disposition":"migrate","target_paths":["tests/research/integration/test_r1_regular_independence_v4.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-faab836e590fa953":{"disposition":"migrate","target_paths":["tests/research/integration/test_r1_regular_veto_v5.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-2b3e66d845d3a910":{"disposition":"migrate","target_paths":["tests/research/integration/test_r1_v3_historical_profiles.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-3cdf12f015f9adda":{"disposition":"migrate","target_paths":["tests/research/integration/test_r1_v3_persistence_boundaries.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-269a6e457ca88b7a":{"disposition":"migrate","target_paths":["tests/research/integration/test_r1_v3_record_boundaries.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-bc04c3d2d1766c6d":{"disposition":"migrate","target_paths":["tests/research/integration/test_r1_v3_study_failure_replay.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-25d697035fb1b5a4":{"disposition":"migrate","target_paths":["tests/research/integration/test_r1_v4_historical_evidence.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-cb29705493332c18":{"disposition":"migrate","target_paths":["tests/research/integration/test_r1_v7_precision.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-0ade9a09fb09661f":{"disposition":"migrate","target_paths":["tests/research/integration/test_r1_v8_ablation.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-eb89d2a4fb5a081a":{"disposition":"migrate","target_paths":["tests/research/integration/test_r1_v8_precision_evidence.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-4a94657e10eaf85f":{"disposition":"migrate","target_paths":["tests/research/integration/test_r1_v8_replay.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-1ac131ce51967dfc":{"disposition":"migrate","target_paths":["tests/integration/test_regularization_device_ladders.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-0439dfc949a49016":{"disposition":"migrate","target_paths":["tests/integration/test_scaps_common_subset.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-61e96604aa4c2a10":{"disposition":"migrate","target_paths":["tests/integration/test_scaps_mirror_baseline.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-3af1b70058a60bb2":{"disposition":"migrate","target_paths":["tests/integration/test_scaps_mirror_cbo_trend.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-2ed9627377fa4218":{"disposition":"migrate","target_paths":["tests/integration/test_scaps_temperature_alignment.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-53db46964c40816e":{"disposition":"migrate","target_paths":["tests/integration/test_selective_contacts_integration.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-7c9018435c0cda2c":{"disposition":"migrate","target_paths":["tests/integration/test_spatially_graded_explicit_defects_qf.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-23ba944fd493668b":{"disposition":"migrate","target_paths":["tests/integration/test_substrate_stack.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-a174f9fa1758f45c":{"disposition":"migrate","target_paths":["tests/integration/test_tandem_lin2019.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-4408458738f93a8b":{"disposition":"migrate","target_paths":["tests/integration/test_temperature_trap.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-12e1985a1acf2714":{"disposition":"migrate","target_paths":["tests/integration/test_tiered_mode.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-f16fd74f08686fa2":{"disposition":"migrate","target_paths":["tests/integration/test_tmm_integration.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-7ab03f31d5b1ed86":{"disposition":"migrate","target_paths":["tests/integration/test_tpv_open_circuit_refinement.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-494eef5ee9e21e7d":{"disposition":"migrate","target_paths":["tests/integration/test_tunnelling_channels_device.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-a4f83b68a7a648b3":{"disposition":"migrate","target_paths":["tests/integration/test_twod_combined_refinement.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-f2b454036480a9eb":{"disposition":"migrate","target_paths":["tests/integration/test_twod_interface_srh_transient.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-768dc092f73f0bc1":{"disposition":"migrate","target_paths":["tests/integration/test_twod_mobile_ion_jv.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-87a3e6b1fdf96537":{"disposition":"migrate","target_paths":["tests/integration/test_twod_mobile_ion_transient.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-ac9c5e6a72396ed3":{"disposition":"migrate","target_paths":["tests/integration/test_voc_benchmark.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-0bcf53dc64c6f9d2":{"disposition":"migrate","target_paths":["tests/integration/twod/__init__.py"],"migration_tasks":["P00-03","P06-01","P06-02","P06-03","P09-01","P09-03"],"gate_ids":["G0","G6","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-c9579d64266782a1":{"disposition":"migrate","target_paths":["tests/integration/twod/test_jv_sweep_2d_microstructure.py"],"migration_tasks":["P00-03","P06-01","P06-02","P06-03","P09-01","P09-03"],"gate_ids":["G0","G6","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-23fd8718bd77762a":{"disposition":"migrate","target_paths":["tests/integration/twod/test_jv_sweep_2d_uniform.py"],"migration_tasks":["P00-03","P06-01","P06-02","P06-03","P09-01","P09-03"],"gate_ids":["G0","G6","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-52dda4e7146987a1":{"disposition":"migrate","target_paths":["tests/integration/twod/test_voc_grain_sweep.py"],"migration_tasks":["P00-03","P06-01","P06-02","P06-03","P09-01","P09-03"],"gate_ids":["G0","G6","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-64c621136cfef119":{"disposition":"migrate","target_paths":["tests/regression/__init__.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-66967ea8f7ab23f5":{"disposition":"migrate","target_paths":["tests/regression/test_conservation.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-dbb0aa115a1d4a9c":{"disposition":"migrate","target_paths":["tests/regression/test_csi_frequency_domain_impedance.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-14d178f38457e0fb":{"disposition":"migrate","target_paths":["tests/regression/test_csi_generic_state_cancellation.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-8ac3157f4f457483":{"disposition":"migrate","target_paths":["tests/regression/test_csi_grid_envelope.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-5f30ea99440df61c":{"disposition":"migrate","target_paths":["tests/regression/test_csi_quasi_fermi_convergence.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-8680740070b5338b":{"disposition":"migrate","target_paths":["tests/regression/test_grading_cigs_notch.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-f65500ec718569c5":{"disposition":"migrate","target_paths":["tests/regression/test_interface_balance_ridge.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-6971251d936c9c6f":{"disposition":"migrate","target_paths":["tests/regression/test_interface_srv_grid_reference.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-f543a782fcbd1137":{"disposition":"migrate","target_paths":["tests/regression/test_jv_regression.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-029e5b8b0f40fcb9":{"disposition":"migrate","target_paths":["tests/regression/test_mesh_convergence.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-7d06c5aa1467192b":{"disposition":"migrate","target_paths":["tests/regression/test_p1_steady_state_mesh_convergence.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-3ac2cd307a82b814":{"disposition":"migrate","target_paths":["tests/regression/test_per_step_conservation.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-347a91250e0b7249":{"disposition":"migrate","target_paths":["tests/regression/test_photon_recycling_voc.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-4e49af8e8cd639e0":{"disposition":"migrate","target_paths":["tests/regression/test_physical_bounds.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-f7600c20a51f2a98":{"disposition":"migrate","target_paths":["tests/regression/test_pn_junction_analytic.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-b513005e4ad7a215":{"disposition":"migrate","target_paths":["tests/regression/test_radiative_reabsorption.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-bec6cada31521ebb":{"disposition":"migrate","target_paths":["tests/regression/test_ss_current_conservation.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-0e225cca7ad695f3":{"disposition":"migrate","target_paths":["tests/regression/test_symmetry.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-194bf44acf56c8a9":{"disposition":"migrate","target_paths":["tests/regression/test_tier_regression.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-72ce1cb2cad2c1b6":{"disposition":"migrate","target_paths":["tests/regression/test_tmm_baseline.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-3ae06ebe1212a62a":{"disposition":"migrate","target_paths":["tests/regression/test_tmm_photon_conservation.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-0ced7d59e4531b29":{"disposition":"migrate","target_paths":["tests/regression/test_tolerance_grid_refinement.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-3b43609303b6f777":{"disposition":"migrate","target_paths":["tests/regression/test_twod_interface_srh_parity.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-552632e73fa668a7":{"disposition":"migrate","target_paths":["tests/regression/test_twod_microstructure.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-e11dbb007279157c":{"disposition":"migrate","target_paths":["tests/regression/test_twod_validation.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-37061a3f3e85e9e9":{"disposition":"migrate","target_paths":["tests/reproducibility/test_matrix.py"],"migration_tasks":["P00-03","P03-03","P03-04","P03-06","P09-01","P09-03"],"gate_ids":["G0","G3","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-a9aa16def82e0870":{"disposition":"migrate","target_paths":["tests/reproducibility/test_research_presets.py"],"migration_tasks":["P00-03","P03-03","P03-04","P03-06","P09-01","P09-03"],"gate_ids":["G0","G3","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-600cc44a4230a957":{"disposition":"migrate","target_paths":["tests/unit/__init__.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-1d4063e6ebc7f9f8":{"disposition":"migrate","target_paths":["tests/server/test_active_physics.py"],"migration_tasks":["P00-03","P06-04","P06-05","P06-06","P06-08","P09-01","P09-03"],"gate_ids":["G0","G6","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-9263291ada605711":{"disposition":"migrate","target_paths":["tests/server/test_built_in_potential_config.py"],"migration_tasks":["P00-03","P06-04","P06-05","P06-06","P06-08","P09-01","P09-03"],"gate_ids":["G0","G6","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-0f3e95d40023eeea":{"disposition":"migrate","target_paths":["tests/server/test_cigs_graded_optics_config.py"],"migration_tasks":["P00-03","P06-04","P06-05","P06-06","P06-08","P09-01","P09-03"],"gate_ids":["G0","G6","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-ae2d3995d135a011":{"disposition":"migrate","target_paths":["tests/server/test_dynamic_defect_transient_api.py"],"migration_tasks":["P00-03","P06-04","P06-05","P06-06","P06-08","P09-01","P09-03"],"gate_ids":["G0","G6","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-10a8f75f1b56c8bd":{"disposition":"migrate","target_paths":["tests/server/test_electrothermal_api.py"],"migration_tasks":["P00-03","P06-04","P06-05","P06-06","P06-08","P09-01","P09-03"],"gate_ids":["G0","G6","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-d44a8919378a4d69":{"disposition":"migrate","target_paths":["tests/server/test_experiment_protocol_api.py"],"migration_tasks":["P00-03","P06-04","P06-05","P06-06","P06-08","P09-01","P09-03"],"gate_ids":["G0","G6","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-0b1c693cfcfb7db5":{"disposition":"migrate","target_paths":["tests/server/test_external_circuit_api.py"],"migration_tasks":["P00-03","P06-04","P06-05","P06-06","P06-08","P09-01","P09-03"],"gate_ids":["G0","G6","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-c2673b0ffd287b1d":{"disposition":"migrate","target_paths":["tests/server/test_identifiability_api.py"],"migration_tasks":["P00-03","P06-04","P06-05","P06-06","P06-08","P09-01","P09-03"],"gate_ids":["G0","G6","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-ab227d5c9ada1aad":{"disposition":"migrate","target_paths":["tests/server/test_impedance_api.py"],"migration_tasks":["P00-03","P06-04","P06-05","P06-06","P06-08","P09-01","P09-03"],"gate_ids":["G0","G6","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-76803f4bc08b09bc":{"disposition":"migrate","target_paths":["tests/server/test_interface_charge_jv_api.py"],"migration_tasks":["P00-03","P06-04","P06-05","P06-06","P06-08","P09-01","P09-03"],"gate_ids":["G0","G6","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-550e7cb457462d2e":{"disposition":"migrate","target_paths":["tests/server/test_interface_charge_research_api.py"],"migration_tasks":["P00-03","P06-04","P06-05","P06-06","P06-08","P09-01","P09-03"],"gate_ids":["G0","G6","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-45912929ce87549f":{"disposition":"migrate","target_paths":["tests/server/test_jobs.py"],"migration_tasks":["P00-03","P06-04","P06-05","P06-06","P06-08","P09-01","P09-03"],"gate_ids":["G0","G6","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-823e1cc37d97ff94":{"disposition":"migrate","target_paths":["tests/server/test_progress.py"],"migration_tasks":["P00-03","P06-04","P06-05","P06-06","P06-08","P09-01","P09-03"],"gate_ids":["G0","G6","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-cff10d6274f166ad":{"disposition":"migrate","target_paths":["tests/server/test_scaps_inline_config.py"],"migration_tasks":["P00-03","P06-04","P06-05","P06-06","P06-08","P09-01","P09-03"],"gate_ids":["G0","G6","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-9521ef6731a5b9af":{"disposition":"migrate","target_paths":["tests/server/test_solver_dispatch.py"],"migration_tasks":["P00-03","P06-04","P06-05","P06-06","P06-08","P09-01","P09-03"],"gate_ids":["G0","G6","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-03229d4c0239cb3e":{"disposition":"migrate","target_paths":["tests/server/test_twod_microstructure_preflight.py"],"migration_tasks":["P00-03","P06-04","P06-05","P06-06","P06-08","P09-01","P09-03"],"gate_ids":["G0","G6","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-144305b8549e796a":{"disposition":"migrate","target_paths":["tests/server/test_user_configs.py"],"migration_tasks":["P00-03","P06-04","P06-05","P06-06","P06-08","P09-01","P09-03"],"gate_ids":["G0","G6","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-f96c28d997c4fafd":{"disposition":"migrate","target_paths":["tests/server/test_waveform_jv_api.py"],"migration_tasks":["P00-03","P06-04","P06-05","P06-06","P06-08","P09-01","P09-03"],"gate_ids":["G0","G6","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-bb20ba731ff7a118":{"disposition":"migrate","target_paths":["tests/unit/compat/test_numpy_compat.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-97f6327c44075933":{"disposition":"migrate","target_paths":["tests/unit/discretization/__init__.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-3de01aa351d2d708":{"disposition":"migrate","target_paths":["tests/unit/discretization/test_fe_operators.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-aaf16067f8d56ea6":{"disposition":"migrate","target_paths":["tests/unit/discretization/test_grid.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-dda09492496e6344":{"disposition":"migrate","target_paths":["tests/unit/discretization/test_thermionic.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-fdcc9ef257c14dd2":{"disposition":"migrate","target_paths":["tests/unit/experiments/__init__.py"],"migration_tasks":["P00-03","P05-01","P05-02","P05-03","P05-04","P09-01","P09-03"],"gate_ids":["G0","G5","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-db5e6b2ebb202140":{"disposition":"migrate","target_paths":["tests/unit/experiments/test_band_diagram.py"],"migration_tasks":["P00-03","P05-01","P05-02","P05-03","P05-04","P09-01","P09-03"],"gate_ids":["G0","G5","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-5012fe4b3425160e":{"disposition":"migrate","target_paths":["tests/unit/experiments/test_cbo_scan.py"],"migration_tasks":["P00-03","P05-01","P05-02","P05-03","P05-04","P09-01","P09-03"],"gate_ids":["G0","G5","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-c295a2eeb48e56c1":{"disposition":"migrate","target_paths":["tests/unit/experiments/test_current_decomposition.py"],"migration_tasks":["P00-03","P05-01","P05-02","P05-03","P05-04","P09-01","P09-03"],"gate_ids":["G0","G5","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-51962cb9d9ae0593":{"disposition":"migrate","target_paths":["tests/unit/experiments/test_dark_jv.py"],"migration_tasks":["P00-03","P05-01","P05-02","P05-03","P05-04","P09-01","P09-03"],"gate_ids":["G0","G5","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-c3e3f6b6f7029819":{"disposition":"migrate","target_paths":["tests/unit/experiments/test_dark_jv_fit.py"],"migration_tasks":["P00-03","P05-01","P05-02","P05-03","P05-04","P09-01","P09-03"],"gate_ids":["G0","G5","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-16977ec6c383ab65":{"disposition":"migrate","target_paths":["tests/unit/experiments/test_degradation.py"],"migration_tasks":["P00-03","P05-01","P05-02","P05-03","P05-04","P09-01","P09-03"],"gate_ids":["G0","G5","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-6a14c98e1f097127":{"disposition":"migrate","target_paths":["tests/unit/experiments/test_degradation_frozen_ions.py"],"migration_tasks":["P00-03","P05-01","P05-02","P05-03","P05-04","P09-01","P09-03"],"gate_ids":["G0","G5","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-bd7280435384f514":{"disposition":"migrate","target_paths":["tests/unit/experiments/test_dynamic_defect_impedance.py"],"migration_tasks":["P00-03","P05-01","P05-02","P05-03","P05-04","P09-01","P09-03"],"gate_ids":["G0","G5","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-2cca08f36106a7c3":{"disposition":"migrate","target_paths":["tests/unit/experiments/test_dynamic_defect_transient.py"],"migration_tasks":["P00-03","P05-01","P05-02","P05-03","P05-04","P09-01","P09-03"],"gate_ids":["G0","G5","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-3a7eb83a5fd09487":{"disposition":"migrate","target_paths":["tests/unit/experiments/test_el_spectrum.py"],"migration_tasks":["P00-03","P05-01","P05-02","P05-03","P05-04","P09-01","P09-03"],"gate_ids":["G0","G5","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-4a309d15f4824ab4":{"disposition":"migrate","target_paths":["tests/unit/experiments/test_electrothermal.py"],"migration_tasks":["P00-03","P05-01","P05-02","P05-03","P05-04","P09-01","P09-03"],"gate_ids":["G0","G5","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-ddbf8f0a0745b544":{"disposition":"migrate","target_paths":["tests/unit/experiments/test_eqe.py"],"migration_tasks":["P00-03","P05-01","P05-02","P05-03","P05-04","P09-01","P09-03"],"gate_ids":["G0","G5","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-7bdc3c221c9e3778":{"disposition":"migrate","target_paths":["tests/unit/experiments/test_external_circuit.py"],"migration_tasks":["P00-03","P05-01","P05-02","P05-03","P05-04","P09-01","P09-03"],"gate_ids":["G0","G5","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-57cbce8db95ff81b":{"disposition":"migrate","target_paths":["tests/unit/experiments/test_identifiability.py"],"migration_tasks":["P00-03","P05-01","P05-02","P05-03","P05-04","P09-01","P09-03"],"gate_ids":["G0","G5","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-b758b0b5ae69f2ca":{"disposition":"migrate","target_paths":["tests/unit/experiments/test_impedance.py"],"migration_tasks":["P00-03","P05-01","P05-02","P05-03","P05-04","P09-01","P09-03"],"gate_ids":["G0","G5","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-64f36ae2f32af2e1":{"disposition":"migrate","target_paths":["tests/unit/experiments/test_impedance_frequency.py"],"migration_tasks":["P00-03","P05-01","P05-02","P05-03","P05-04","P09-01","P09-03"],"gate_ids":["G0","G5","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-e75fade07eb3a00c":{"disposition":"migrate","target_paths":["tests/unit/experiments/test_impedance_randles.py"],"migration_tasks":["P00-03","P05-01","P05-02","P05-03","P05-04","P09-01","P09-03"],"gate_ids":["G0","G5","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-0bd89b2604a6ea28":{"disposition":"migrate","target_paths":["tests/unit/experiments/test_impedance_sign.py"],"migration_tasks":["P00-03","P05-01","P05-02","P05-03","P05-04","P09-01","P09-03"],"gate_ids":["G0","G5","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-9375ac408e069055":{"disposition":"migrate","target_paths":["tests/unit/experiments/test_interface_charge_jv.py"],"migration_tasks":["P00-03","P05-01","P05-02","P05-03","P05-04","P09-01","P09-03"],"gate_ids":["G0","G5","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-52223eac0528eb60":{"disposition":"migrate","target_paths":["tests/unit/experiments/test_ion_aware_dc.py"],"migration_tasks":["P00-03","P05-01","P05-02","P05-03","P05-04","P09-01","P09-03"],"gate_ids":["G0","G5","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-6f43995afe15b616":{"disposition":"migrate","target_paths":["tests/unit/experiments/test_ion_aware_displacement_increment.py"],"migration_tasks":["P00-03","P05-01","P05-02","P05-03","P05-04","P09-01","P09-03"],"gate_ids":["G0","G5","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-28d8492e01556cd1":{"disposition":"migrate","target_paths":["tests/unit/experiments/test_ion_aware_impedance.py"],"migration_tasks":["P00-03","P05-01","P05-02","P05-03","P05-04","P09-01","P09-03"],"gate_ids":["G0","G5","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-62485f3dc3e96a24":{"disposition":"migrate","target_paths":["tests/unit/experiments/test_ion_aware_impedance_grid.py"],"migration_tasks":["P00-03","P05-01","P05-02","P05-03","P05-04","P09-01","P09-03"],"gate_ids":["G0","G5","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-48ccdcabe48a8474":{"disposition":"migrate","target_paths":["tests/unit/experiments/test_ion_aware_impedance_lockin.py"],"migration_tasks":["P00-03","P05-01","P05-02","P05-03","P05-04","P09-01","P09-03"],"gate_ids":["G0","G5","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-b4bcd49ee6e15d75":{"disposition":"migrate","target_paths":["tests/unit/experiments/test_ion_aware_structured_jacobian.py"],"migration_tasks":["P00-03","P05-01","P05-02","P05-03","P05-04","P09-01","P09-03"],"gate_ids":["G0","G5","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-c4f76452109550bc":{"disposition":"migrate","target_paths":["tests/unit/experiments/test_jv_branch_rejection.py"],"migration_tasks":["P00-03","P05-01","P05-02","P05-03","P05-04","P09-01","P09-03"],"gate_ids":["G0","G5","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-e80cf2912dbb511c":{"disposition":"migrate","target_paths":["tests/unit/experiments/test_jv_driver_capability.py"],"migration_tasks":["P00-03","P05-01","P05-02","P05-03","P05-04","P09-01","P09-03"],"gate_ids":["G0","G5","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-1f3df426da9bd021":{"disposition":"migrate","target_paths":["tests/unit/experiments/test_jv_sweep.py"],"migration_tasks":["P00-03","P05-01","P05-02","P05-03","P05-04","P09-01","P09-03"],"gate_ids":["G0","G5","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-cdb3ce851bee00bc":{"disposition":"migrate","target_paths":["tests/unit/experiments/test_jv_time_origin_reset.py"],"migration_tasks":["P00-03","P05-01","P05-02","P05-03","P05-04","P09-01","P09-03"],"gate_ids":["G0","G5","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-0c872aca47c1d51f":{"disposition":"migrate","target_paths":["tests/unit/experiments/test_jv_vmax.py"],"migration_tasks":["P00-03","P05-01","P05-02","P05-03","P05-04","P09-01","P09-03"],"gate_ids":["G0","G5","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-9e5bf96ecd310ec7":{"disposition":"migrate","target_paths":["tests/unit/experiments/test_mott_schottky.py"],"migration_tasks":["P00-03","P05-01","P05-02","P05-03","P05-04","P09-01","P09-03"],"gate_ids":["G0","G5","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-6c5d4e2e1de0148b":{"disposition":"migrate","target_paths":["tests/research/unit/experiments/test_one_dimensional_mechanism_r1_admittance.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-6f5f29b21bdb01e3":{"disposition":"migrate","target_paths":["tests/research/unit/experiments/test_one_dimensional_mechanism_r1_checkout.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-226cd94e09de71d7":{"disposition":"migrate","target_paths":["tests/research/unit/experiments/test_one_dimensional_mechanism_r1_controlled.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-37286bcc82ce7016":{"disposition":"migrate","target_paths":["tests/research/unit/experiments/test_one_dimensional_mechanism_r1_convergence.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-e38797027cce6dca":{"disposition":"migrate","target_paths":["tests/research/unit/experiments/test_one_dimensional_mechanism_r1_evidence_boundary.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-75df38e2f5650b32":{"disposition":"migrate","target_paths":["tests/research/unit/experiments/test_one_dimensional_mechanism_r1_evidence_revision_five.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-1e77417dd8b4356f":{"disposition":"migrate","target_paths":["tests/research/unit/experiments/test_one_dimensional_mechanism_r1_evidence_revision_four.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-d3b0eb0cabd17dbd":{"disposition":"migrate","target_paths":["tests/research/unit/experiments/test_one_dimensional_mechanism_r1_evidence_revision_six.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-d433fdc004096e19":{"disposition":"migrate","target_paths":["tests/research/unit/experiments/test_one_dimensional_mechanism_r1_evidence_revision_three.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-c7e1702e684e8dc5":{"disposition":"migrate","target_paths":["tests/research/unit/experiments/test_one_dimensional_mechanism_r1_execution_validation.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-1e09883900c7e610":{"disposition":"migrate","target_paths":["tests/research/unit/experiments/test_one_dimensional_mechanism_r1_failure_registry.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-a97c392db75b97a1":{"disposition":"migrate","target_paths":["tests/research/unit/experiments/test_one_dimensional_mechanism_r1_failure_registry_v2.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-e3f47122a041d70c":{"disposition":"migrate","target_paths":["tests/research/unit/experiments/test_one_dimensional_mechanism_r1_geometry.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-a5c03910b7c3c772":{"disposition":"migrate","target_paths":["tests/research/unit/experiments/test_one_dimensional_mechanism_r1_preparation_chain.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-f903679ec603dcde":{"disposition":"migrate","target_paths":["tests/research/unit/experiments/test_one_dimensional_mechanism_r1_preparation_recompute.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-af417531e285bf7b":{"disposition":"migrate","target_paths":["tests/research/unit/experiments/test_one_dimensional_mechanism_r1_response.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-c2d8b45d94be52fa":{"disposition":"migrate","target_paths":["tests/research/unit/experiments/test_one_dimensional_mechanism_r1_result_validation.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-d0b59d7d40439722":{"disposition":"migrate","target_paths":["tests/research/unit/experiments/test_one_dimensional_mechanism_r1_spatial.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-fd15b3af915083e4":{"disposition":"migrate","target_paths":["tests/research/unit/experiments/test_one_dimensional_mechanism_r1_state.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-95862017a0ec50a5":{"disposition":"migrate","target_paths":["tests/research/unit/experiments/test_one_dimensional_mechanism_r1_study_response.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-0fe1c33c215695c8":{"disposition":"migrate","target_paths":["tests/research/unit/experiments/test_one_dimensional_mechanism_r1_trap_storage.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-9c7084bec101f114":{"disposition":"migrate","target_paths":["tests/unit/experiments/test_open_circuit.py"],"migration_tasks":["P00-03","P05-01","P05-02","P05-03","P05-04","P09-01","P09-03"],"gate_ids":["G0","G5","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-3c8b8a2a9af448b9":{"disposition":"migrate","target_paths":["tests/unit/experiments/test_progress_callbacks.py"],"migration_tasks":["P00-03","P05-01","P05-02","P05-03","P05-04","P09-01","P09-03"],"gate_ids":["G0","G5","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-46e567b23f1c803c":{"disposition":"migrate","target_paths":["tests/unit/experiments/test_protocol.py"],"migration_tasks":["P00-03","P05-01","P05-02","P05-03","P05-04","P09-01","P09-03"],"gate_ids":["G0","G5","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-91b8bb746585f554":{"disposition":"migrate","target_paths":["tests/unit/experiments/test_quasi_fermi_steady_state.py"],"migration_tasks":["P00-03","P05-01","P05-02","P05-03","P05-04","P09-01","P09-03"],"gate_ids":["G0","G5","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-b040b0af166e3f44":{"disposition":"migrate","target_paths":["tests/research/unit/experiments/test_r1_baseline_direction.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-1c0c753dd39a42fe":{"disposition":"migrate","target_paths":["tests/research/unit/experiments/test_r1_baseline_electrostatics.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-81b82b5e565b5bbb":{"disposition":"migrate","target_paths":["tests/research/unit/experiments/test_r1_baseline_initial.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-12ffc0c953de6f97":{"disposition":"migrate","target_paths":["tests/research/unit/experiments/test_r1_baseline_ion_transport.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-802b53d7baa6fb3b":{"disposition":"migrate","target_paths":["tests/research/unit/experiments/test_r1_bulk_density_map.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-4d3f941800ac8375":{"disposition":"migrate","target_paths":["tests/research/unit/experiments/test_r1_c_independent_regressions_v4.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-3f55dd7ed3c3b128":{"disposition":"migrate","target_paths":["tests/research/unit/experiments/test_r1_contact_closure.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-09ff029b3b136ca2":{"disposition":"migrate","target_paths":["tests/research/unit/experiments/test_r1_current_response_construction_v3.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-bb9eaa9fbf0c66b7":{"disposition":"migrate","target_paths":["tests/research/unit/experiments/test_r1_evidence_boundaries_v5.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-11a3b12308172e73":{"disposition":"migrate","target_paths":["tests/research/unit/experiments/test_r1_execution_standard_v5.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-2e02510277ac2487":{"disposition":"migrate","target_paths":["tests/research/unit/experiments/test_r1_global_reference.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-fdba576c5c69bfdd":{"disposition":"migrate","target_paths":["tests/research/unit/experiments/test_r1_independent_physics.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-0755b4f69c6e6ded":{"disposition":"migrate","target_paths":["tests/research/unit/experiments/test_r1_initial_pair_invariants.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-871d545c6ee7165f":{"disposition":"migrate","target_paths":["tests/research/unit/experiments/test_r1_input_lift.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-b9cddbc120a9dc1b":{"disposition":"migrate","target_paths":["tests/research/unit/experiments/test_r1_input_lift_codec.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-34cbf4e9bcd1ec44":{"disposition":"migrate","target_paths":["tests/research/unit/experiments/test_r1_input_lift_continuous.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-e2bcee2ed716a68a":{"disposition":"migrate","target_paths":["tests/research/unit/experiments/test_r1_input_lift_electrostatics.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-f3313c295b2b8b58":{"disposition":"migrate","target_paths":["tests/research/unit/experiments/test_r1_input_lift_reference.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-4d8662a7a43a4222":{"disposition":"migrate","target_paths":["tests/research/unit/experiments/test_r1_ion_precision_v6.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-530b598b8b78c216":{"disposition":"migrate","target_paths":["tests/research/unit/experiments/test_r1_local_carrier.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-9be6447d1b4edf76":{"disposition":"migrate","target_paths":["tests/research/unit/experiments/test_r1_numerical_recovery_v5.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-4b6222b5743ad706":{"disposition":"migrate","target_paths":["tests/research/unit/experiments/test_r1_physics_boundaries_v4.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-a3a6bf7b8a226f8d":{"disposition":"migrate","target_paths":["tests/research/unit/experiments/test_r1_post_execution_request_v4.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-bf7f35e265a9e3ed":{"disposition":"migrate","target_paths":["tests/research/unit/experiments/test_r1_precision_state.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-71a40329b4704208":{"disposition":"migrate","target_paths":["tests/research/unit/experiments/test_r1_regular_gates_v5.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-3bf649806f4dde49":{"disposition":"migrate","target_paths":["tests/research/unit/experiments/test_r1_regular_independence_v4.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-2ec737e8f83a1309":{"disposition":"migrate","target_paths":["tests/research/unit/experiments/test_r1_replay_array_memory.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-9aa0c1c87b9c50b4":{"disposition":"migrate","target_paths":["tests/research/unit/experiments/test_r1_replay_digest_observation.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-9b419ed02df65d5e":{"disposition":"migrate","target_paths":["tests/research/unit/experiments/test_r1_response_qualification.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-f9ceb95c6d56b8d2":{"disposition":"migrate","target_paths":["tests/research/unit/experiments/test_r1_response_regressions_v3.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-ba8eca70bbcfd845":{"disposition":"migrate","target_paths":["tests/research/unit/experiments/test_r1_streaming_digest.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-1df6c27f876b572b":{"disposition":"migrate","target_paths":["tests/research/unit/experiments/test_r1_v10_cases.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-5a1d734dad99af43":{"disposition":"migrate","target_paths":["tests/research/unit/experiments/test_r1_v10_extent.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-31c3b2b43af7b73f":{"disposition":"migrate","target_paths":["tests/research/unit/experiments/test_r1_v11_cases.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-aaf7880089af8c55":{"disposition":"migrate","target_paths":["tests/research/unit/experiments/test_r1_v11_response.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-9ba73df1aeef5703":{"disposition":"migrate","target_paths":["tests/research/unit/experiments/test_r1_v11_spatial.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-aa656ebba5368793":{"disposition":"migrate","target_paths":["tests/research/unit/experiments/test_r1_v12_cases.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-27c2a53c205b964b":{"disposition":"migrate","target_paths":["tests/research/unit/experiments/test_r1_v12_current_closure.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-dc4fd87d1faaf08b":{"disposition":"migrate","target_paths":["tests/research/unit/experiments/test_r1_v16_memory.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-5b15990fab5eb0dc":{"disposition":"migrate","target_paths":["tests/research/unit/experiments/test_r1_v16_runner_observation.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-cce0f7e11acce334":{"disposition":"migrate","target_paths":["tests/research/unit/experiments/test_r1_v18_row_lifetime.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-aeb15a436c1f78bf":{"disposition":"migrate","target_paths":["tests/research/unit/experiments/test_r1_v19_analysis_observation.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-54b944fb5fccb444":{"disposition":"migrate","target_paths":["tests/research/unit/experiments/test_r1_v19_tail_observation.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-183992084ccd7d7b":{"disposition":"migrate","target_paths":["tests/research/unit/experiments/test_r1_v23_json_writer.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-480dd8399800c0c6":{"disposition":"migrate","target_paths":["tests/research/unit/experiments/test_r1_v23_storage_integration.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-1eec676d6b0e2a2d":{"disposition":"migrate","target_paths":["tests/research/unit/experiments/test_r1_v3_evidence_policy.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-7b48f4b89ed68b7b":{"disposition":"migrate","target_paths":["tests/research/unit/experiments/test_r1_v4_failure_witness.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-b8259aacd1773907":{"disposition":"migrate","target_paths":["tests/research/unit/experiments/test_r1_v4_run_record.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-f2dda2533afd5b64":{"disposition":"migrate","target_paths":["tests/research/unit/experiments/test_r1_v4_source_dependencies.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-7d4771ba3035b1dd":{"disposition":"migrate","target_paths":["tests/research/unit/experiments/test_r1_v4_standard.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-6756c84b5e52dc51":{"disposition":"migrate","target_paths":["tests/research/unit/experiments/test_r1_v7_corrector_budget.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-11980eb9b7a3b1af":{"disposition":"migrate","target_paths":["tests/research/unit/experiments/test_r1_v7_precision_consumers.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-667ca2833e7fd191":{"disposition":"migrate","target_paths":["tests/research/unit/experiments/test_r1_v7_precision_oracle.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-baf789277dbc369a":{"disposition":"migrate","target_paths":["tests/research/unit/experiments/test_r1_v7_prototype_analysis.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-b96d0c11d86d9e20":{"disposition":"migrate","target_paths":["tests/research/unit/experiments/test_r1_v8_ablation_contract.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-02545b5a10be6586":{"disposition":"migrate","target_paths":["tests/research/unit/experiments/test_r1_v8_gate_summary.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-805ee1d594afdfbe":{"disposition":"migrate","target_paths":["tests/research/unit/experiments/test_r1_v8_precision_consumers.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-c2dff91866c5d585":{"disposition":"migrate","target_paths":["tests/research/unit/experiments/test_r1_v8_precision_management.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-abc818ccdf43d4cb":{"disposition":"migrate","target_paths":["tests/research/unit/experiments/test_r1_v8_precision_oracle.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-c6499ded2786c53a":{"disposition":"migrate","target_paths":["tests/research/unit/experiments/test_r1_v8_prototype_analysis.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-036e3dbd0421f2c4":{"disposition":"migrate","target_paths":["tests/research/unit/experiments/test_r1_v8_replay.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-5d1099c616fb65e7":{"disposition":"migrate","target_paths":["tests/research/unit/experiments/test_r1_v8_timing.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-212955850505b245":{"disposition":"migrate","target_paths":["tests/research/unit/experiments/test_r1_v9_performance_core.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-def5e66bd22169dc":{"disposition":"migrate","target_paths":["tests/research/unit/experiments/test_r1_v9_performance_equivalence.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-a79033123b44f801":{"disposition":"migrate","target_paths":["tests/research/unit/experiments/test_r1_v9_precision.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-189d7025b7b3910c":{"disposition":"migrate","target_paths":["tests/research/unit/experiments/test_r1_v9_response_boundary.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-6635a0790cd5d605":{"disposition":"migrate","target_paths":["tests/research/unit/experiments/test_r1_v9_runner.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-c8d8eceb811ef31c":{"disposition":"migrate","target_paths":["tests/research/unit/experiments/test_r1_window_qualification_v4.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-22012a8fa8f5d81d":{"disposition":"migrate","target_paths":["tests/unit/experiments/test_run_jv_sweep_auto_extend_v_max.py"],"migration_tasks":["P00-03","P05-01","P05-02","P05-03","P05-04","P09-01","P09-03"],"gate_ids":["G0","G5","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-0da1e7360e588f14":{"disposition":"migrate","target_paths":["tests/unit/experiments/test_spatial_profiles.py"],"migration_tasks":["P00-03","P05-01","P05-02","P05-03","P05-04","P09-01","P09-03"],"gate_ids":["G0","G5","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-86a72367d3c70f19":{"disposition":"migrate","target_paths":["tests/unit/experiments/test_ss_current_spread.py"],"migration_tasks":["P00-03","P05-01","P05-02","P05-03","P05-04","P09-01","P09-03"],"gate_ids":["G0","G5","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-3f3425cee9fae9dd":{"disposition":"migrate","target_paths":["tests/unit/experiments/test_steady_state.py"],"migration_tasks":["P00-03","P05-01","P05-02","P05-03","P05-04","P09-01","P09-03"],"gate_ids":["G0","G5","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-5138590a500a30b2":{"disposition":"migrate","target_paths":["tests/unit/experiments/test_suns_voc.py"],"migration_tasks":["P00-03","P05-01","P05-02","P05-03","P05-04","P09-01","P09-03"],"gate_ids":["G0","G5","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-3ba85fb32b804a28":{"disposition":"migrate","target_paths":["tests/unit/experiments/test_tandem_jv.py"],"migration_tasks":["P00-03","P05-01","P05-02","P05-03","P05-04","P09-01","P09-03"],"gate_ids":["G0","G5","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-d9393615d0dfbb2a":{"disposition":"migrate","target_paths":["tests/unit/experiments/test_thermal_balance.py"],"migration_tasks":["P00-03","P05-01","P05-02","P05-03","P05-04","P09-01","P09-03"],"gate_ids":["G0","G5","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-2bca2f40910606c8":{"disposition":"migrate","target_paths":["tests/unit/experiments/test_tpv.py"],"migration_tasks":["P00-03","P05-01","P05-02","P05-03","P05-04","P09-01","P09-03"],"gate_ids":["G0","G5","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-5b72f3e3f6e061b5":{"disposition":"migrate","target_paths":["tests/unit/experiments/test_trap_small_signal.py"],"migration_tasks":["P00-03","P05-01","P05-02","P05-03","P05-04","P09-01","P09-03"],"gate_ids":["G0","G5","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-6dc31428b630cec0":{"disposition":"migrate","target_paths":["tests/unit/experiments/test_voc_collapsed_current.py"],"migration_tasks":["P00-03","P05-01","P05-02","P05-03","P05-04","P09-01","P09-03"],"gate_ids":["G0","G5","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-42108c816bf78623":{"disposition":"migrate","target_paths":["tests/unit/experiments/test_voc_t.py"],"migration_tasks":["P00-03","P05-01","P05-02","P05-03","P05-04","P09-01","P09-03"],"gate_ids":["G0","G5","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-84374b27d100a34c":{"disposition":"migrate","target_paths":["tests/unit/experiments/test_waveform_jacobian.py"],"migration_tasks":["P00-03","P05-01","P05-02","P05-03","P05-04","P09-01","P09-03"],"gate_ids":["G0","G5","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-6cf7fed6de95f432":{"disposition":"migrate","target_paths":["tests/unit/experiments/test_waveform_jv.py"],"migration_tasks":["P00-03","P05-01","P05-02","P05-03","P05-04","P09-01","P09-03"],"gate_ids":["G0","G5","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-b9ced81bd3ef34e7":{"disposition":"migrate","target_paths":["tests/unit/models/__init__.py"],"migration_tasks":["P00-03","P03-03","P03-04","P03-06","P09-01","P09-03"],"gate_ids":["G0","G3","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-026b6a972c5fcea6":{"disposition":"migrate","target_paths":["tests/unit/models/test_astar_params.py"],"migration_tasks":["P00-03","P03-03","P03-04","P03-06","P09-01","P09-03"],"gate_ids":["G0","G3","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-9c041ddd223a2a3c":{"disposition":"migrate","target_paths":["tests/unit/models/test_built_in_potential_modes.py"],"migration_tasks":["P00-03","P03-03","P03-04","P03-06","P09-01","P09-03"],"gate_ids":["G0","G3","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-6ab6765e69066eea":{"disposition":"migrate","target_paths":["tests/unit/models/test_bulk_trap_schema.py"],"migration_tasks":["P00-03","P03-03","P03-04","P03-06","P09-01","P09-03"],"gate_ids":["G0","G3","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-50f2f31d2c3e4da4":{"disposition":"migrate","target_paths":["tests/unit/models/test_config_loader_dos_flags.py"],"migration_tasks":["P00-03","P03-03","P03-04","P03-06","P09-01","P09-03"],"gate_ids":["G0","G3","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-2bfeaab822d46b47":{"disposition":"migrate","target_paths":["tests/unit/models/test_config_loader_interface_defects.py"],"migration_tasks":["P00-03","P03-03","P03-04","P03-06","P09-01","P09-03"],"gate_ids":["G0","G3","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-f2cc46216ae415b2":{"disposition":"migrate","target_paths":["tests/unit/models/test_config_loading.py"],"migration_tasks":["P00-03","P03-03","P03-04","P03-06","P09-01","P09-03"],"gate_ids":["G0","G3","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-c52f286d7b38f847":{"disposition":"migrate","target_paths":["tests/unit/models/test_device_vbi.py"],"migration_tasks":["P00-03","P03-03","P03-04","P03-06","P09-01","P09-03"],"gate_ids":["G0","G3","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-d924699f02898383":{"disposition":"migrate","target_paths":["tests/unit/models/test_electrical_grid_config.py"],"migration_tasks":["P00-03","P03-03","P03-04","P03-06","P09-01","P09-03"],"gate_ids":["G0","G3","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-b8de3750831132bf":{"disposition":"migrate","target_paths":["tests/unit/models/test_explicit_defect_schema.py"],"migration_tasks":["P00-03","P03-03","P03-04","P03-06","P09-01","P09-03"],"gate_ids":["G0","G3","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-839d40fff119d922":{"disposition":"migrate","target_paths":["tests/unit/models/test_explicit_defect_spatial_profile.py"],"migration_tasks":["P00-03","P03-03","P03-04","P03-06","P09-01","P09-03"],"gate_ids":["G0","G3","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-d87ec5963f5b18a1":{"disposition":"migrate","target_paths":["tests/unit/models/test_interface_charge_closure.py"],"migration_tasks":["P00-03","P03-03","P03-04","P03-06","P09-01","P09-03"],"gate_ids":["G0","G3","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-89766d7e7b1d59bf":{"disposition":"migrate","target_paths":["tests/unit/models/test_interface_defect_schema.py"],"migration_tasks":["P00-03","P03-03","P03-04","P03-06","P09-01","P09-03"],"gate_ids":["G0","G3","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-2a64fe42d4d3881a":{"disposition":"migrate","target_paths":["tests/unit/models/test_mode.py"],"migration_tasks":["P00-03","P03-03","P03-04","P03-06","P09-01","P09-03"],"gate_ids":["G0","G3","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-5cd5c6f2e8aef072":{"disposition":"migrate","target_paths":["tests/unit/models/test_multivalent_defect_loader.py"],"migration_tasks":["P00-03","P03-03","P03-04","P03-06","P09-01","P09-03"],"gate_ids":["G0","G3","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-b6f0631586d98fdb":{"disposition":"migrate","target_paths":["tests/unit/models/test_multivalent_defect_schema.py"],"migration_tasks":["P00-03","P03-03","P03-04","P03-06","P09-01","P09-03"],"gate_ids":["G0","G3","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-d959d48d4f057cff":{"disposition":"migrate","target_paths":["tests/unit/models/test_parameters.py"],"migration_tasks":["P00-03","P03-03","P03-04","P03-06","P09-01","P09-03"],"gate_ids":["G0","G3","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-e69c2ba15f4b1756":{"disposition":"migrate","target_paths":["tests/unit/models/test_tandem_config.py"],"migration_tasks":["P00-03","P03-03","P03-04","P03-06","P09-01","P09-03"],"gate_ids":["G0","G3","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-ddb0a4bac796a8fd":{"disposition":"migrate","target_paths":["tests/unit/models/test_tandem_presets.py"],"migration_tasks":["P00-03","P03-03","P03-04","P03-06","P09-01","P09-03"],"gate_ids":["G0","G3","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-964df1714f1b4789":{"disposition":"migrate","target_paths":["tests/unit/models/test_vbi_sensitivity.py"],"migration_tasks":["P00-03","P03-03","P03-04","P03-06","P09-01","P09-03"],"gate_ids":["G0","G3","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-4e9b496e4b7b3cc7":{"disposition":"migrate","target_paths":["tests/unit/physics/__init__.py"],"migration_tasks":["P00-03","P04-01","P04-02","P04-03","P04-05","P04-06","P09-01","P09-03"],"gate_ids":["G0","G4","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-dec3e9c669acfaea":{"disposition":"migrate","target_paths":["tests/unit/physics/test_band_gap_narrowing.py"],"migration_tasks":["P00-03","P04-01","P04-02","P04-03","P04-05","P04-06","P09-01","P09-03"],"gate_ids":["G0","G4","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-b186b570eeace6b2":{"disposition":"migrate","target_paths":["tests/unit/physics/test_barrier_anchor_locality.py"],"migration_tasks":["P00-03","P04-01","P04-02","P04-03","P04-05","P04-06","P09-01","P09-03"],"gate_ids":["G0","G4","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-5e20968aaa8293ec":{"disposition":"migrate","target_paths":["tests/unit/physics/test_bulk_traps.py"],"migration_tasks":["P00-03","P04-01","P04-02","P04-03","P04-05","P04-06","P09-01","P09-03"],"gate_ids":["G0","G4","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-85b2f202d84f031c":{"disposition":"migrate","target_paths":["tests/unit/physics/test_carrier_current_consistency.py"],"migration_tasks":["P00-03","P04-01","P04-02","P04-03","P04-05","P04-06","P09-01","P09-03"],"gate_ids":["G0","G4","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-7644c985028bc2ec":{"disposition":"migrate","target_paths":["tests/unit/physics/test_cigs_optics.py"],"migration_tasks":["P00-03","P04-01","P04-02","P04-03","P04-05","P04-06","P09-01","P09-03"],"gate_ids":["G0","G4","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-3291996b231b0233":{"disposition":"migrate","target_paths":["tests/unit/physics/test_compensated.py"],"migration_tasks":["P00-03","P04-01","P04-02","P04-03","P04-05","P04-06","P09-01","P09-03"],"gate_ids":["G0","G4","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-9a28ed73969a806d":{"disposition":"migrate","target_paths":["tests/unit/physics/test_compensated_v8_invariants.py"],"migration_tasks":["P00-03","P04-01","P04-02","P04-03","P04-05","P04-06","P09-01","P09-03"],"gate_ids":["G0","G4","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-08388d5ce6054b7e":{"disposition":"migrate","target_paths":["tests/unit/physics/test_contact_statistics.py"],"migration_tasks":["P00-03","P04-01","P04-02","P04-03","P04-05","P04-06","P09-01","P09-03"],"gate_ids":["G0","G4","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-18a76310be41e4bf":{"disposition":"migrate","target_paths":["tests/unit/physics/test_contacts.py"],"migration_tasks":["P00-03","P04-01","P04-02","P04-03","P04-05","P04-06","P09-01","P09-03"],"gate_ids":["G0","G4","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-9f60d5552e753243":{"disposition":"migrate","target_paths":["tests/unit/physics/test_continuity.py"],"migration_tasks":["P00-03","P04-01","P04-02","P04-03","P04-05","P04-06","P09-01","P09-03"],"gate_ids":["G0","G4","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-934725eb7adbb4a0":{"disposition":"migrate","target_paths":["tests/unit/physics/test_continuity_split_flux.py"],"migration_tasks":["P00-03","P04-01","P04-02","P04-03","P04-05","P04-06","P09-01","P09-03"],"gate_ids":["G0","G4","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-034aed408864433e":{"disposition":"migrate","target_paths":["tests/unit/physics/test_continuity_thermionic.py"],"migration_tasks":["P00-03","P04-01","P04-02","P04-03","P04-05","P04-06","P09-01","P09-03"],"gate_ids":["G0","G4","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-6efb119d75705d3b":{"disposition":"migrate","target_paths":["tests/unit/physics/test_defect_distributions.py"],"migration_tasks":["P00-03","P04-01","P04-02","P04-03","P04-05","P04-06","P09-01","P09-03"],"gate_ids":["G0","G4","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-646e10995ce5d015":{"disposition":"migrate","target_paths":["tests/unit/physics/test_degenerate_transport.py"],"migration_tasks":["P00-03","P04-01","P04-02","P04-03","P04-05","P04-06","P09-01","P09-03"],"gate_ids":["G0","G4","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-08ce1f24c4c21352":{"disposition":"migrate","target_paths":["tests/unit/physics/test_distributed_defect_closure.py"],"migration_tasks":["P00-03","P04-01","P04-02","P04-03","P04-05","P04-06","P09-01","P09-03"],"gate_ids":["G0","G4","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-4e62e85b41af2f4e":{"disposition":"migrate","target_paths":["tests/unit/physics/test_distributed_defect_device.py"],"migration_tasks":["P00-03","P04-01","P04-02","P04-03","P04-05","P04-06","P09-01","P09-03"],"gate_ids":["G0","G4","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-6183ad27c7f23f83":{"disposition":"migrate","target_paths":["tests/unit/physics/test_doping.py"],"migration_tasks":["P00-03","P04-01","P04-02","P04-03","P04-05","P04-06","P09-01","P09-03"],"gate_ids":["G0","G4","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-b9108f64d5a8e99a":{"disposition":"migrate","target_paths":["tests/unit/physics/test_dynamic_defect_state.py"],"migration_tasks":["P00-03","P04-01","P04-02","P04-03","P04-05","P04-06","P09-01","P09-03"],"gate_ids":["G0","G4","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-19209a30d5e964e3":{"disposition":"migrate","target_paths":["tests/unit/physics/test_dynamic_storage.py"],"migration_tasks":["P00-03","P04-01","P04-02","P04-03","P04-05","P04-06","P09-01","P09-03"],"gate_ids":["G0","G4","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-b02e12b81152017d":{"disposition":"migrate","target_paths":["tests/unit/physics/test_fermi_dirac.py"],"migration_tasks":["P00-03","P04-01","P04-02","P04-03","P04-05","P04-06","P09-01","P09-03"],"gate_ids":["G0","G4","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-a92fd3001b213590":{"disposition":"migrate","target_paths":["tests/unit/physics/test_field_mobility.py"],"migration_tasks":["P00-03","P04-01","P04-02","P04-03","P04-05","P04-06","P09-01","P09-03"],"gate_ids":["G0","G4","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-2193e01b1db7829e":{"disposition":"migrate","target_paths":["tests/unit/physics/test_fixed_occupancy_capture_precision.py"],"migration_tasks":["P00-03","P04-01","P04-02","P04-03","P04-05","P04-06","P09-01","P09-03"],"gate_ids":["G0","G4","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-390b096a1fdd4a56":{"disposition":"migrate","target_paths":["tests/unit/physics/test_generation.py"],"migration_tasks":["P00-03","P04-01","P04-02","P04-03","P04-05","P04-06","P09-01","P09-03"],"gate_ids":["G0","G4","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-c02c5052708659dc":{"disposition":"migrate","target_paths":["tests/unit/physics/test_grading.py"],"migration_tasks":["P00-03","P04-01","P04-02","P04-03","P04-05","P04-06","P09-01","P09-03"],"gate_ids":["G0","G4","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-7f937b44719341ce":{"disposition":"migrate","target_paths":["tests/unit/physics/test_interface_density_increment.py"],"migration_tasks":["P00-03","P04-01","P04-02","P04-03","P04-05","P04-06","P09-01","P09-03"],"gate_ids":["G0","G4","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-0fc97070653fe980":{"disposition":"migrate","target_paths":["tests/unit/physics/test_interface_plane.py"],"migration_tasks":["P00-03","P04-01","P04-02","P04-03","P04-05","P04-06","P09-01","P09-03"],"gate_ids":["G0","G4","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-5248aefc2fe5d083":{"disposition":"migrate","target_paths":["tests/unit/physics/test_interface_plane_physical_qss.py"],"migration_tasks":["P00-03","P04-01","P04-02","P04-03","P04-05","P04-06","P09-01","P09-03"],"gate_ids":["G0","G4","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-e8defa74cafd755e":{"disposition":"migrate","target_paths":["tests/unit/physics/test_interface_plane_srh.py"],"migration_tasks":["P00-03","P04-01","P04-02","P04-03","P04-05","P04-06","P09-01","P09-03"],"gate_ids":["G0","G4","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-6b5386bf56a3bbfd":{"disposition":"migrate","target_paths":["tests/unit/physics/test_interface_trap_charge.py"],"migration_tasks":["P00-03","P04-01","P04-02","P04-03","P04-05","P04-06","P09-01","P09-03"],"gate_ids":["G0","G4","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-303c66f9bbddb0fd":{"disposition":"migrate","target_paths":["tests/unit/physics/test_intraband_nonlocal_transfer.py"],"migration_tasks":["P00-03","P04-01","P04-02","P04-03","P04-05","P04-06","P09-01","P09-03"],"gate_ids":["G0","G4","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-70d7af52c8f0cef6":{"disposition":"migrate","target_paths":["tests/unit/physics/test_ion_dual.py"],"migration_tasks":["P00-03","P04-01","P04-02","P04-03","P04-05","P04-06","P09-01","P09-03"],"gate_ids":["G0","G4","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-cde6edd828a0a5c8":{"disposition":"migrate","target_paths":["tests/unit/physics/test_ion_flux_jacobian.py"],"migration_tasks":["P00-03","P04-01","P04-02","P04-03","P04-05","P04-06","P09-01","P09-03"],"gate_ids":["G0","G4","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-d3b18a10f8e7230d":{"disposition":"migrate","target_paths":["tests/unit/physics/test_ion_migration.py"],"migration_tasks":["P00-03","P04-01","P04-02","P04-03","P04-05","P04-06","P09-01","P09-03"],"gate_ids":["G0","G4","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-567ea0e3fafa1ed3":{"disposition":"migrate","target_paths":["tests/unit/physics/test_ion_steric_diffusion_only.py"],"migration_tasks":["P00-03","P04-01","P04-02","P04-03","P04-05","P04-06","P09-01","P09-03"],"gate_ids":["G0","G4","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-2495d4c8bc0ab2c7":{"disposition":"migrate","target_paths":["tests/unit/physics/test_ion_steric_dual_shared_site.py"],"migration_tasks":["P00-03","P04-01","P04-02","P04-03","P04-05","P04-06","P09-01","P09-03"],"gate_ids":["G0","G4","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-db0aaa5c8dd497a1":{"disposition":"migrate","target_paths":["tests/unit/physics/test_metastable_defect_closure.py"],"migration_tasks":["P00-03","P04-01","P04-02","P04-03","P04-05","P04-06","P09-01","P09-03"],"gate_ids":["G0","G4","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-b3f7f560e302d790":{"disposition":"migrate","target_paths":["tests/unit/physics/test_monovalent_defect_closure.py"],"migration_tasks":["P00-03","P04-01","P04-02","P04-03","P04-05","P04-06","P09-01","P09-03"],"gate_ids":["G0","G4","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-a7427329864623b5":{"disposition":"migrate","target_paths":["tests/unit/physics/test_multivalent_defect_closure.py"],"migration_tasks":["P00-03","P04-01","P04-02","P04-03","P04-05","P04-06","P09-01","P09-03"],"gate_ids":["G0","G4","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-e18cac36a5c3bb62":{"disposition":"migrate","target_paths":["tests/unit/physics/test_multivalent_defect_device.py"],"migration_tasks":["P00-03","P04-01","P04-02","P04-03","P04-05","P04-06","P09-01","P09-03"],"gate_ids":["G0","G4","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-d41f97fa5fc9ffa3":{"disposition":"migrate","target_paths":["tests/unit/physics/test_neutral_defect_recombination.py"],"migration_tasks":["P00-03","P04-01","P04-02","P04-03","P04-05","P04-06","P09-01","P09-03"],"gate_ids":["G0","G4","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-04d9eb8fad6b4ae3":{"disposition":"migrate","target_paths":["tests/unit/physics/test_optical_stack_cigs.py"],"migration_tasks":["P00-03","P04-01","P04-02","P04-03","P04-05","P04-06","P09-01","P09-03"],"gate_ids":["G0","G4","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-58e44cdad82d63f7":{"disposition":"migrate","target_paths":["tests/unit/physics/test_optics.py"],"migration_tasks":["P00-03","P04-01","P04-02","P04-03","P04-05","P04-06","P09-01","P09-03"],"gate_ids":["G0","G4","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-0f40d42898b867e2":{"disposition":"migrate","target_paths":["tests/unit/physics/test_photon_recycling.py"],"migration_tasks":["P00-03","P04-01","P04-02","P04-03","P04-05","P04-06","P09-01","P09-03"],"gate_ids":["G0","G4","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-b76d201bc21bbefb":{"disposition":"migrate","target_paths":["tests/unit/physics/test_poisson.py"],"migration_tasks":["P00-03","P04-01","P04-02","P04-03","P04-05","P04-06","P09-01","P09-03"],"gate_ids":["G0","G4","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-0b314a8cb9d0fde4":{"disposition":"migrate","target_paths":["tests/research/unit/physics/test_r1_weak_flux_oracle.py"],"migration_tasks":["P00-03","P00-04","P01-01","P07-02","P07-04","P07-05","P09-01","P09-03"],"gate_ids":["G0","G1","G7","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-7f9098eac464df31":{"disposition":"migrate","target_paths":["tests/unit/physics/test_recombination.py"],"migration_tasks":["P00-03","P04-01","P04-02","P04-03","P04-05","P04-06","P09-01","P09-03"],"gate_ids":["G0","G4","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-e4ed7aa8bd93540b":{"disposition":"migrate","target_paths":["tests/unit/physics/test_regularization.py"],"migration_tasks":["P00-03","P04-01","P04-02","P04-03","P04-05","P04-06","P09-01","P09-03"],"gate_ids":["G0","G4","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-63a28df7e13916cc":{"disposition":"migrate","target_paths":["tests/unit/physics/test_review_fixes.py"],"migration_tasks":["P00-03","P04-01","P04-02","P04-03","P04-05","P04-06","P09-01","P09-03"],"gate_ids":["G0","G4","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-fb0b9df63cc24d3b":{"disposition":"migrate","target_paths":["tests/unit/physics/test_spatially_graded_defect_device.py"],"migration_tasks":["P00-03","P04-01","P04-02","P04-03","P04-05","P04-06","P09-01","P09-03"],"gate_ids":["G0","G4","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-5cc232479c13eb2f":{"disposition":"migrate","target_paths":["tests/unit/physics/test_statistics.py"],"migration_tasks":["P00-03","P04-01","P04-02","P04-03","P04-05","P04-06","P09-01","P09-03"],"gate_ids":["G0","G4","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-943c28cf5651c69e":{"disposition":"migrate","target_paths":["tests/unit/physics/test_tandem_optics.py"],"migration_tasks":["P00-03","P04-01","P04-02","P04-03","P04-05","P04-06","P09-01","P09-03"],"gate_ids":["G0","G4","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-6820126daa29fca3":{"disposition":"migrate","target_paths":["tests/unit/physics/test_te_cap_sign.py"],"migration_tasks":["P00-03","P04-01","P04-02","P04-03","P04-05","P04-06","P09-01","P09-03"],"gate_ids":["G0","G4","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-a689b34355c2f0d0":{"disposition":"migrate","target_paths":["tests/unit/physics/test_te_physical_norm.py"],"migration_tasks":["P00-03","P04-01","P04-02","P04-03","P04-05","P04-06","P09-01","P09-03"],"gate_ids":["G0","G4","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-9e545a2832bb5e6c":{"disposition":"migrate","target_paths":["tests/unit/physics/test_temperature.py"],"migration_tasks":["P00-03","P04-01","P04-02","P04-03","P04-05","P04-06","P09-01","P09-03"],"gate_ids":["G0","G4","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-d0344e5d0e857c86":{"disposition":"migrate","target_paths":["tests/unit/physics/test_thermionic_constants.py"],"migration_tasks":["P00-03","P04-01","P04-02","P04-03","P04-05","P04-06","P09-01","P09-03"],"gate_ids":["G0","G4","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-401800d7e5b7e7da":{"disposition":"migrate","target_paths":["tests/unit/physics/test_trap_kinetics.py"],"migration_tasks":["P00-03","P04-01","P04-02","P04-03","P04-05","P04-06","P09-01","P09-03"],"gate_ids":["G0","G4","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-7fbc977d06ab0aed":{"disposition":"migrate","target_paths":["tests/unit/physics/test_trap_population_response.py"],"migration_tasks":["P00-03","P04-01","P04-02","P04-03","P04-05","P04-06","P09-01","P09-03"],"gate_ids":["G0","G4","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-ca9ce3f7ce15cf19":{"disposition":"migrate","target_paths":["tests/unit/physics/test_trap_transient.py"],"migration_tasks":["P00-03","P04-01","P04-02","P04-03","P04-05","P04-06","P09-01","P09-03"],"gate_ids":["G0","G4","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-ee1764b3ef981e6d":{"disposition":"migrate","target_paths":["tests/unit/physics/test_traps.py"],"migration_tasks":["P00-03","P04-01","P04-02","P04-03","P04-05","P04-06","P09-01","P09-03"],"gate_ids":["G0","G4","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-6d45d50c4d0ae733":{"disposition":"migrate","target_paths":["tests/unit/physics/test_tunneling.py"],"migration_tasks":["P00-03","P04-01","P04-02","P04-03","P04-05","P04-06","P09-01","P09-03"],"gate_ids":["G0","G4","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-afda7243d5547184":{"disposition":"migrate","target_paths":["tests/unit/physics/test_tunneling_channels.py"],"migration_tasks":["P00-03","P04-01","P04-02","P04-03","P04-05","P04-06","P09-01","P09-03"],"gate_ids":["G0","G4","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-aa4e8a7ba2afcacf":{"disposition":"migrate","target_paths":["tests/unit/physics/test_tunnelling_drive_convention.py"],"migration_tasks":["P00-03","P04-01","P04-02","P04-03","P04-05","P04-06","P09-01","P09-03"],"gate_ids":["G0","G4","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-8dd1af8cdb80ef64":{"disposition":"migrate","target_paths":["tests/unit/physics/test_tunnelling_physical_levels.py"],"migration_tasks":["P00-03","P04-01","P04-02","P04-03","P04-05","P04-06","P09-01","P09-03"],"gate_ids":["G0","G4","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-3f4458c36088b676":{"disposition":"migrate","target_paths":["tests/unit/physics/test_two_sided_interface.py"],"migration_tasks":["P00-03","P04-01","P04-02","P04-03","P04-05","P04-06","P09-01","P09-03"],"gate_ids":["G0","G4","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-9f71522326682e41":{"disposition":"migrate","target_paths":["tests/unit/physics/test_two_sided_interface_compensated.py"],"migration_tasks":["P00-03","P04-01","P04-02","P04-03","P04-05","P04-06","P09-01","P09-03"],"gate_ids":["G0","G4","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-616d8b4cbb2d3074":{"disposition":"migrate","target_paths":["tests/unit/physics/test_wkb_local_windows.py"],"migration_tasks":["P00-03","P04-01","P04-02","P04-03","P04-05","P04-06","P09-01","P09-03"],"gate_ids":["G0","G4","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-979cfe7ef3df9d27":{"disposition":"migrate","target_paths":["tests/unit/physics/test_wkb_tunneling.py"],"migration_tasks":["P00-03","P04-01","P04-02","P04-03","P04-05","P04-06","P09-01","P09-03"],"gate_ids":["G0","G4","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-97608f6a1a1df2e9":{"disposition":"migrate","target_paths":["tests/unit/physics/test_wkb_turning_point_action.py"],"migration_tasks":["P00-03","P04-01","P04-02","P04-03","P04-05","P04-06","P09-01","P09-03"],"gate_ids":["G0","G4","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-b85c4f830df24206":{"disposition":"migrate","target_paths":["tests/unit/scaps_compat/__init__.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-8e82336aa2e1c3ae":{"disposition":"migrate","target_paths":["tests/unit/scaps_compat/test_defects.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-3f72f371cc66fc5b":{"disposition":"migrate","target_paths":["tests/unit/scaps_compat/test_distributed_defects.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-225d62cb08a7d0f0":{"disposition":"migrate","target_paths":["tests/unit/scaps_compat/test_loader.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-99319df213aa00d3":{"disposition":"migrate","target_paths":["tests/unit/scaps_compat/test_loader_multi_defect.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-5155d525864d62ec":{"disposition":"migrate","target_paths":["tests/unit/scaps_compat/test_loader_robin.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-159704c4549c0da3":{"disposition":"migrate","target_paths":["tests/unit/scaps_compat/test_materials.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-663793a40836c0f7":{"disposition":"migrate","target_paths":["tests/unit/screening/test_evaluation_report.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-246d9a0aa27530b5":{"disposition":"migrate","target_paths":["tests/unit/screening/test_solarscale_bridge.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-a80de756a5562642":{"disposition":"migrate","target_paths":["tests/unit/solver/__init__.py"],"migration_tasks":["P00-03","P04-01","P04-02","P04-03","P04-05","P04-06","P09-01","P09-03"],"gate_ids":["G0","G4","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-3139d9a67892dc54":{"disposition":"migrate","target_paths":["tests/unit/solver/test_band_grading_plumbing.py"],"migration_tasks":["P00-03","P04-01","P04-02","P04-03","P04-05","P04-06","P09-01","P09-03"],"gate_ids":["G0","G4","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-f597f9e988504c6d":{"disposition":"migrate","target_paths":["tests/unit/solver/test_bulk_trap_equilibrium.py"],"migration_tasks":["P00-03","P04-01","P04-02","P04-03","P04-05","P04-06","P09-01","P09-03"],"gate_ids":["G0","G4","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-3e0e1fe7272f570d":{"disposition":"migrate","target_paths":["tests/unit/solver/test_dae.py"],"migration_tasks":["P00-03","P04-01","P04-02","P04-03","P04-05","P04-06","P09-01","P09-03"],"gate_ids":["G0","G4","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-24fc51cc37cc6329":{"disposition":"migrate","target_paths":["tests/unit/solver/test_dae_dual_ion_integrator.py"],"migration_tasks":["P00-03","P04-01","P04-02","P04-03","P04-05","P04-06","P09-01","P09-03"],"gate_ids":["G0","G4","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-f29e1c2ebef71c0a":{"disposition":"migrate","target_paths":["tests/unit/solver/test_dae_dual_ion_jacobian.py"],"migration_tasks":["P00-03","P04-01","P04-02","P04-03","P04-05","P04-06","P09-01","P09-03"],"gate_ids":["G0","G4","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-b92aadb4eb144bdd":{"disposition":"migrate","target_paths":["tests/unit/solver/test_dae_dual_ions.py"],"migration_tasks":["P00-03","P04-01","P04-02","P04-03","P04-05","P04-06","P09-01","P09-03"],"gate_ids":["G0","G4","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-85af028d82d86195":{"disposition":"migrate","target_paths":["tests/unit/solver/test_dae_integrator.py"],"migration_tasks":["P00-03","P04-01","P04-02","P04-03","P04-05","P04-06","P09-01","P09-03"],"gate_ids":["G0","G4","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-3ded60ee1d7b0323":{"disposition":"migrate","target_paths":["tests/unit/solver/test_dae_interface_integrator.py"],"migration_tasks":["P00-03","P04-01","P04-02","P04-03","P04-05","P04-06","P09-01","P09-03"],"gate_ids":["G0","G4","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-e26dd1bde69156a9":{"disposition":"migrate","target_paths":["tests/unit/solver/test_dae_interface_jacobian.py"],"migration_tasks":["P00-03","P04-01","P04-02","P04-03","P04-05","P04-06","P09-01","P09-03"],"gate_ids":["G0","G4","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-2c54a26b5c511645":{"disposition":"migrate","target_paths":["tests/unit/solver/test_dae_interface_states.py"],"migration_tasks":["P00-03","P04-01","P04-02","P04-03","P04-05","P04-06","P09-01","P09-03"],"gate_ids":["G0","G4","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-19eae89f91441430":{"disposition":"migrate","target_paths":["tests/unit/solver/test_dae_ion_integrator.py"],"migration_tasks":["P00-03","P04-01","P04-02","P04-03","P04-05","P04-06","P09-01","P09-03"],"gate_ids":["G0","G4","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-f60cda8a2688f51c":{"disposition":"migrate","target_paths":["tests/unit/solver/test_dae_ion_interface_integrator.py"],"migration_tasks":["P00-03","P04-01","P04-02","P04-03","P04-05","P04-06","P09-01","P09-03"],"gate_ids":["G0","G4","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-f6d3be6c0f541ff1":{"disposition":"migrate","target_paths":["tests/unit/solver/test_dae_ion_interface_jacobian.py"],"migration_tasks":["P00-03","P04-01","P04-02","P04-03","P04-05","P04-06","P09-01","P09-03"],"gate_ids":["G0","G4","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-05719396e9242bea":{"disposition":"migrate","target_paths":["tests/unit/solver/test_dae_ion_interface_states.py"],"migration_tasks":["P00-03","P04-01","P04-02","P04-03","P04-05","P04-06","P09-01","P09-03"],"gate_ids":["G0","G4","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-95e82e32b20ec366":{"disposition":"migrate","target_paths":["tests/unit/solver/test_dae_ion_jacobian.py"],"migration_tasks":["P00-03","P04-01","P04-02","P04-03","P04-05","P04-06","P09-01","P09-03"],"gate_ids":["G0","G4","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-89a4100492393194":{"disposition":"migrate","target_paths":["tests/unit/solver/test_dae_ions.py"],"migration_tasks":["P00-03","P04-01","P04-02","P04-03","P04-05","P04-06","P09-01","P09-03"],"gate_ids":["G0","G4","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-d42c0ba8cf24c776":{"disposition":"migrate","target_paths":["tests/unit/solver/test_dae_jacobian.py"],"migration_tasks":["P00-03","P04-01","P04-02","P04-03","P04-05","P04-06","P09-01","P09-03"],"gate_ids":["G0","G4","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-590cbd2f74a63ba1":{"disposition":"migrate","target_paths":["tests/unit/solver/test_degenerate_equilibrium.py"],"migration_tasks":["P00-03","P04-01","P04-02","P04-03","P04-05","P04-06","P09-01","P09-03"],"gate_ids":["G0","G4","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-daa1ac697d62a72c":{"disposition":"migrate","target_paths":["tests/unit/solver/test_dos_band_potentials.py"],"migration_tasks":["P00-03","P04-01","P04-02","P04-03","P04-05","P04-06","P09-01","P09-03"],"gate_ids":["G0","G4","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-dfff6ab46622ffb6":{"disposition":"migrate","target_paths":["tests/unit/solver/test_flat_band_contacts.py"],"migration_tasks":["P00-03","P04-01","P04-02","P04-03","P04-05","P04-06","P09-01","P09-03"],"gate_ids":["G0","G4","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-e06e701863a24360":{"disposition":"migrate","target_paths":["tests/unit/solver/test_flat_band_metal_contacts.py"],"migration_tasks":["P00-03","P04-01","P04-02","P04-03","P04-05","P04-06","P09-01","P09-03"],"gate_ids":["G0","G4","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-a55e6638cc83e004":{"disposition":"migrate","target_paths":["tests/unit/solver/test_iface_plane_projection_flag.py"],"migration_tasks":["P00-03","P04-01","P04-02","P04-03","P04-05","P04-06","P09-01","P09-03"],"gate_ids":["G0","G4","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-2844329e2c28316a":{"disposition":"migrate","target_paths":["tests/unit/solver/test_iface_state_calibration.py"],"migration_tasks":["P00-03","P04-01","P04-02","P04-03","P04-05","P04-06","P09-01","P09-03"],"gate_ids":["G0","G4","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-f129eea324ab6487":{"disposition":"migrate","target_paths":["tests/unit/solver/test_illuminated_ss.py"],"migration_tasks":["P00-03","P04-01","P04-02","P04-03","P04-05","P04-06","P09-01","P09-03"],"gate_ids":["G0","G4","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-9b06898dbf2c60ff":{"disposition":"migrate","target_paths":["tests/unit/solver/test_interface_defect_alignment.py"],"migration_tasks":["P00-03","P04-01","P04-02","P04-03","P04-05","P04-06","P09-01","P09-03"],"gate_ids":["G0","G4","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-6debd099126fd8ce":{"disposition":"migrate","target_paths":["tests/unit/solver/test_interface_plane_closure.py"],"migration_tasks":["P00-03","P04-01","P04-02","P04-03","P04-05","P04-06","P09-01","P09-03"],"gate_ids":["G0","G4","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-76391cbe33e8bae3":{"disposition":"migrate","target_paths":["tests/unit/solver/test_interface_plane_dark_eq.py"],"migration_tasks":["P00-03","P04-01","P04-02","P04-03","P04-05","P04-06","P09-01","P09-03"],"gate_ids":["G0","G4","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-3ac2804e46d33c38":{"disposition":"migrate","target_paths":["tests/unit/solver/test_interface_plane_generation.py"],"migration_tasks":["P00-03","P04-01","P04-02","P04-03","P04-05","P04-06","P09-01","P09-03"],"gate_ids":["G0","G4","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-0fdacdf50abd75c9":{"disposition":"migrate","target_paths":["tests/unit/solver/test_interface_shared_occupancy.py"],"migration_tasks":["P00-03","P04-01","P04-02","P04-03","P04-05","P04-06","P09-01","P09-03"],"gate_ids":["G0","G4","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-4526a14f98660e5d":{"disposition":"migrate","target_paths":["tests/unit/solver/test_interface_tunneling.py"],"migration_tasks":["P00-03","P04-01","P04-02","P04-03","P04-05","P04-06","P09-01","P09-03"],"gate_ids":["G0","G4","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-f570f49eaa0ba6cc":{"disposition":"migrate","target_paths":["tests/unit/solver/test_interface_two_sided.py"],"migration_tasks":["P00-03","P04-01","P04-02","P04-03","P04-05","P04-06","P09-01","P09-03"],"gate_ids":["G0","G4","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-1c6eb162ba27388f":{"disposition":"migrate","target_paths":["tests/unit/solver/test_log_density_coordinates.py"],"migration_tasks":["P00-03","P04-01","P04-02","P04-03","P04-05","P04-06","P09-01","P09-03"],"gate_ids":["G0","G4","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-15a5706f5334f428":{"disposition":"migrate","target_paths":["tests/unit/solver/test_material_arrays.py"],"migration_tasks":["P00-03","P04-01","P04-02","P04-03","P04-05","P04-06","P09-01","P09-03"],"gate_ids":["G0","G4","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-8d5db3dad241158f":{"disposition":"migrate","target_paths":["tests/unit/solver/test_mms.py"],"migration_tasks":["P00-03","P04-01","P04-02","P04-03","P04-05","P04-06","P09-01","P09-03"],"gate_ids":["G0","G4","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-16b8eec140a8e6a1":{"disposition":"migrate","target_paths":["tests/unit/solver/test_mol.py"],"migration_tasks":["P00-03","P04-01","P04-02","P04-03","P04-05","P04-06","P09-01","P09-03"],"gate_ids":["G0","G4","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-6a7a104685ba7b39":{"disposition":"migrate","target_paths":["tests/unit/solver/test_newton.py"],"migration_tasks":["P00-03","P04-01","P04-02","P04-03","P04-05","P04-06","P09-01","P09-03"],"gate_ids":["G0","G4","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-2a730971ae47bf8a":{"disposition":"migrate","target_paths":["tests/unit/solver/test_numerical_diagnostics.py"],"migration_tasks":["P00-03","P04-01","P04-02","P04-03","P04-05","P04-06","P09-01","P09-03"],"gate_ids":["G0","G4","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-9cd11ce693c51d7b":{"disposition":"migrate","target_paths":["tests/unit/solver/test_numerical_edge_regimes.py"],"migration_tasks":["P00-03","P04-01","P04-02","P04-03","P04-05","P04-06","P09-01","P09-03"],"gate_ids":["G0","G4","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-f9649b69c7b5d919":{"disposition":"migrate","target_paths":["tests/unit/solver/test_small_signal.py"],"migration_tasks":["P00-03","P04-01","P04-02","P04-03","P04-05","P04-06","P09-01","P09-03"],"gate_ids":["G0","G4","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-5fc42fb20441b511":{"disposition":"migrate","target_paths":["tests/unit/solver/test_split_step_convergence.py"],"migration_tasks":["P00-03","P04-01","P04-02","P04-03","P04-05","P04-06","P09-01","P09-03"],"gate_ids":["G0","G4","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-fcabd4f13c7440f4":{"disposition":"migrate","target_paths":["tests/unit/solver/test_split_step_diagnostics.py"],"migration_tasks":["P00-03","P04-01","P04-02","P04-03","P04-05","P04-06","P09-01","P09-03"],"gate_ids":["G0","G4","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-d8bab0c113b6c92c":{"disposition":"migrate","target_paths":["tests/unit/solver/test_statevec_interface_plane.py"],"migration_tasks":["P00-03","P04-01","P04-02","P04-03","P04-05","P04-06","P09-01","P09-03"],"gate_ids":["G0","G4","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-8d0841e42698394a":{"disposition":"migrate","target_paths":["tests/unit/solver/test_te_physical_barrier.py"],"migration_tasks":["P00-03","P04-01","P04-02","P04-03","P04-05","P04-06","P09-01","P09-03"],"gate_ids":["G0","G4","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-7b5d6d73a99058b9":{"disposition":"migrate","target_paths":["tests/unit/solver/test_temperature_scaling_plumbing.py"],"migration_tasks":["P00-03","P04-01","P04-02","P04-03","P04-05","P04-06","P09-01","P09-03"],"gate_ids":["G0","G4","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-a6cd3ff7a69e26eb":{"disposition":"migrate","target_paths":["tests/unit/solver/test_tolerances.py"],"migration_tasks":["P00-03","P04-01","P04-02","P04-03","P04-05","P04-06","P09-01","P09-03"],"gate_ids":["G0","G4","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-ad90404f27c6c7f9":{"disposition":"migrate","target_paths":["tests/unit/solver/test_trap_transient.py"],"migration_tasks":["P00-03","P04-01","P04-02","P04-03","P04-05","P04-06","P09-01","P09-03"],"gate_ids":["G0","G4","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-3c3a088c6788510b":{"disposition":"migrate","target_paths":["tests/unit/solver/test_vbi_propagation.py"],"migration_tasks":["P00-03","P04-01","P04-02","P04-03","P04-05","P04-06","P09-01","P09-03"],"gate_ids":["G0","G4","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-0342a2b224347806":{"disposition":"migrate","target_paths":["tests/unit/sweeps/test_bulk_nt_tau_reference.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-6075ba3df949f758":{"disposition":"migrate","target_paths":["tests/unit/sweeps/test_device_parameter_sweep.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-74be308e859c2fe0":{"disposition":"migrate","target_paths":["tests/unit/sweeps/test_interface_defect_sweep.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-42640c9430d08207":{"disposition":"migrate","target_paths":["tests/unit/test_constants.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-e80b1355f30135e4":{"disposition":"migrate","target_paths":["tests/unit/test_reproducibility_baseline.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-cf3da606a259c6eb":{"disposition":"migrate","target_paths":["tests/unit/test_script_import_isolation.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-3d55ba94b3d913d6":{"disposition":"migrate","target_paths":["tests/unit/twod/__init__.py"],"migration_tasks":["P00-03","P06-01","P06-02","P06-03","P09-01","P09-03"],"gate_ids":["G0","G6","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-d588857bc051ff95":{"disposition":"migrate","target_paths":["tests/unit/twod/test_contact_boundary_semantics.py"],"migration_tasks":["P00-03","P06-01","P06-02","P06-03","P09-01","P09-03"],"gate_ids":["G0","G6","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-5ed78ae0a4edc6d0":{"disposition":"migrate","target_paths":["tests/unit/twod/test_field_mobility_2d.py"],"migration_tasks":["P00-03","P06-01","P06-02","P06-03","P09-01","P09-03"],"gate_ids":["G0","G6","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-955ff820f57bb5e9":{"disposition":"migrate","target_paths":["tests/unit/twod/test_flux_2d.py"],"migration_tasks":["P00-03","P06-01","P06-02","P06-03","P09-01","P09-03"],"gate_ids":["G0","G6","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-1716c9f972ef49c3":{"disposition":"migrate","target_paths":["tests/unit/twod/test_grid_2d.py"],"migration_tasks":["P00-03","P06-01","P06-02","P06-03","P09-01","P09-03"],"gate_ids":["G0","G6","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-d1625afde8570970":{"disposition":"migrate","target_paths":["tests/unit/twod/test_interface_recombination_2d.py"],"migration_tasks":["P00-03","P06-01","P06-02","P06-03","P09-01","P09-03"],"gate_ids":["G0","G6","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-243f6048f1c1ed52":{"disposition":"migrate","target_paths":["tests/unit/twod/test_ion_migration_2d.py"],"migration_tasks":["P00-03","P06-01","P06-02","P06-03","P09-01","P09-03"],"gate_ids":["G0","G6","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-5337e35387ef9425":{"disposition":"migrate","target_paths":["tests/unit/twod/test_jv_protocol_2d.py"],"migration_tasks":["P00-03","P06-01","P06-02","P06-03","P09-01","P09-03"],"gate_ids":["G0","G6","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-83200bc247d4a0a8":{"disposition":"migrate","target_paths":["tests/unit/twod/test_microstructure.py"],"migration_tasks":["P00-03","P06-01","P06-02","P06-03","P09-01","P09-03"],"gate_ids":["G0","G6","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-6da6c0ca4c4f90fe":{"disposition":"migrate","target_paths":["tests/unit/twod/test_mobile_ion_current_2d.py"],"migration_tasks":["P00-03","P06-01","P06-02","P06-03","P09-01","P09-03"],"gate_ids":["G0","G6","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-6e8e39596370dba2":{"disposition":"migrate","target_paths":["tests/unit/twod/test_poisson_2d.py"],"migration_tasks":["P00-03","P06-01","P06-02","P06-03","P09-01","P09-03"],"gate_ids":["G0","G6","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-80acd30035b2339a":{"disposition":"migrate","target_paths":["tests/unit/twod/test_radiative_reabsorption_2d.py"],"migration_tasks":["P00-03","P06-01","P06-02","P06-03","P09-01","P09-03"],"gate_ids":["G0","G6","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-c70968e926ae426b":{"disposition":"migrate","target_paths":["tests/unit/twod/test_twod_generation_dual_cell.py"],"migration_tasks":["P00-03","P06-01","P06-02","P06-03","P09-01","P09-03"],"gate_ids":["G0","G6","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-be6008fe21482721":{"disposition":"migrate","target_paths":["tests/unit/validation/test_accepted_trajectory.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-526b660f36929d2c":{"disposition":"migrate","target_paths":["tests/unit/validation/test_bgn_refinement.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-006d8e96c7c1a08e":{"disposition":"migrate","target_paths":["tests/unit/validation/test_bulk_trap_refinement.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-f8a69037f1b73c07":{"disposition":"migrate","target_paths":["tests/unit/validation/test_charged_defect_refinement.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-9a5e6c59a7d96ad1":{"disposition":"migrate","target_paths":["tests/unit/validation/test_cigs_optics_refinement.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-efbcd2ee4ec7f5e8":{"disposition":"migrate","target_paths":["tests/unit/validation/test_dae_dual_ion_refinement.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-a4f3c71dafc5851a":{"disposition":"migrate","target_paths":["tests/unit/validation/test_dae_interface_refinement.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-d66e7d8fa6b3c1bf":{"disposition":"migrate","target_paths":["tests/unit/validation/test_dae_ion_interface_refinement.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-117011ac136a4243":{"disposition":"migrate","target_paths":["tests/unit/validation/test_dae_ion_refinement.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-3ce04367c4935fc9":{"disposition":"migrate","target_paths":["tests/unit/validation/test_dae_refinement.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-365667b3669b6b29":{"disposition":"migrate","target_paths":["tests/unit/validation/test_defect_energy_refinement.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-307dbf7ba359e774":{"disposition":"migrate","target_paths":["tests/unit/validation/test_degenerate_refinement.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-7d9043b233e15280":{"disposition":"migrate","target_paths":["tests/unit/validation/test_distributed_defect_refinement.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-58c3b6b1d279e02c":{"disposition":"migrate","target_paths":["tests/unit/validation/test_dynamic_defect_transient_refinement.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-010a81ffe4fc7bba":{"disposition":"migrate","target_paths":["tests/unit/validation/test_electrothermal_refinement.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-3a9981201fd875af":{"disposition":"migrate","target_paths":["tests/unit/validation/test_external_circuit_refinement.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-99e9f4e9a864f5b4":{"disposition":"migrate","target_paths":["tests/unit/validation/test_foundation_reference_refinement.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-b311e4efe8523e7d":{"disposition":"migrate","target_paths":["tests/unit/validation/test_foundation_reference_sampling.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-d5e52a9d9e5960df":{"disposition":"migrate","target_paths":["tests/unit/validation/test_grid_convergence.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-2b5db52bc830455b":{"disposition":"migrate","target_paths":["tests/unit/validation/test_identifiability_refinement.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-48a779def1adea38":{"disposition":"migrate","target_paths":["tests/unit/validation/test_incomplete_ionization_refinement.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-15d3fb17a577a78a":{"disposition":"migrate","target_paths":["tests/unit/validation/test_interface_charge_stress.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-a4df2873c86f552b":{"disposition":"migrate","target_paths":["tests/unit/validation/test_multivalent_defect_refinement.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-1fc03cea8e292893":{"disposition":"migrate","target_paths":["tests/unit/validation/test_refinement_executors.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-18312a26fd9a48b6":{"disposition":"migrate","target_paths":["tests/unit/validation/test_regularization_certificate.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-f2bbdfc3313080a5":{"disposition":"migrate","target_paths":["tests/unit/validation/test_resolved_tunnelling_refinement.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-eb6a265f66d286ce":{"disposition":"migrate","target_paths":["tests/unit/validation/test_spatial_defect_refinement.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-7b656802468076c8":{"disposition":"migrate","target_paths":["tests/unit/validation/test_tunnelling_channel_refinement.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-052455e87172b648":{"disposition":"migrate","target_paths":["tests/unit/validation/test_twod_combined_refinement.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-3cc7f1b24bdda216":{"disposition":"migrate","target_paths":["tests/validation/__init__.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-dd72355af5e37942":{"disposition":"migrate","target_paths":["tests/validation/test_csi_vannijen2025_cv.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-d982a585da9c5623":{"disposition":"migrate","target_paths":["tests/validation/test_paper_configurations.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-b4b18f865ac8d2b9":{"disposition":"migrate","target_paths":["tests/validation/test_physical_trends.py"],"migration_tasks":["P00-03","P09-01","P09-03"],"gate_ids":["G0","G9"],"mapping_rule":"test_consumer_and_oracle_preserved_until_specific_replacement"},"route-d6dd912a0096f071":{"disposition":"migrate","target_paths":["scripts/figures/generate_readme_figures.py"],"migration_tasks":["P05-05","P09-01","P09-04"],"gate_ids":["G5","G9"],"mapping_rule":"preserve_existing_capability"},"route-48affd446b830065":{"disposition":"migrate","target_paths":["scripts/figures/plot_paper_validation.py"],"migration_tasks":["P05-05","P09-01","P09-04"],"gate_ids":["G5","G9"],"mapping_rule":"preserve_existing_capability"},"route-73d22757b0b4f2e4":{"disposition":"migrate","target_paths":["scripts/figures/plot_validation_trends.py"],"migration_tasks":["P05-05","P09-01","P09-04"],"gate_ids":["G5","G9"],"mapping_rule":"preserve_existing_capability"},"route-f9f75426306bfb1f":{"disposition":"retain","target_paths":["scripts/zotero_group_scaps.js"],"migration_tasks":["P09-04"],"gate_ids":["G9"],"mapping_rule":"support_tool_not_simulator_execution"},"route-790688d78e57ec61":{"disposition":"retain","target_paths":["scripts/zotero_import_scaps_literature.js"],"migration_tasks":["P09-04"],"gate_ids":["G9"],"mapping_rule":"support_tool_not_simulator_execution"},"route-b59cf25e0422037d":{"disposition":"retain","target_paths":["skills-lock.json"],"migration_tasks":["P09-04"],"gate_ids":["G9"],"mapping_rule":"repository_support_file"},"route-21c31233450fa0fe":{"disposition":"replace","target_paths":["src/solarlab/experiments/registry.py","src/solarlab_server/routes/jobs.py","web/src/generated/experiments.ts"],"migration_tasks":["P05-05","P03-02","P06-05","P06-06","P06-07","P06-08"],"gate_ids":["G3","G5","G6"]},"route-dfdc9b3cbd01507a":{"disposition":"replace","target_paths":["src/solarlab/experiments/registry.py","src/solarlab_server/routes/jobs.py","web/src/generated/experiments.ts"],"migration_tasks":["P05-02","P03-02","P06-05","P06-06","P06-07","P06-08"],"gate_ids":["G3","G5","G6"]},"route-5cacfd0b17816d38":{"disposition":"replace","target_paths":["src/solarlab/experiments/registry.py","src/solarlab_server/routes/jobs.py","web/src/generated/experiments.ts"],"migration_tasks":["P05-04","P03-02","P06-05","P06-06","P06-07","P06-08"],"gate_ids":["G3","G5","G6"]},"route-afe24ce5dc3d8ca5":{"disposition":"replace","target_paths":["src/solarlab/experiments/registry.py","src/solarlab_server/routes/jobs.py","web/src/generated/experiments.ts"],"migration_tasks":["P05-03","P03-02","P06-05","P06-06","P06-07","P06-08"],"gate_ids":["G3","G5","G6"]},"route-d7ff5aa868c9ae70":{"disposition":"replace","target_paths":["src/solarlab/experiments/registry.py","src/solarlab_server/routes/jobs.py","web/src/generated/experiments.ts"],"migration_tasks":["P06-02","P03-02","P06-05","P06-06","P06-07","P06-08"],"gate_ids":["G3","G5","G6"]},"route-1af17bb46d9794d0":{"disposition":"migrate","target_paths":["reproducibility/NumericalRefinementRegistryV2.yaml"],"migration_tasks":["P00-03","P03-06","P04-05","P04-06","P09-01"],"gate_ids":["G0","G3","G4","G9"]},"route-7ae47088bbed9ed7":{"disposition":"migrate","target_paths":["reproducibility/NumericalRefinementRegistryV2.yaml"],"migration_tasks":["P00-03","P03-06","P04-10","P09-01"],"gate_ids":["G0","G3","G4","G9"]},"route-fc717d86c09ab83e":{"disposition":"migrate","target_paths":["reproducibility/NumericalRefinementRegistryV2.yaml"],"migration_tasks":["P00-03","P03-06","P09-01"],"gate_ids":["G0","G3","G4","G9"]},"route-e165470d3885491a":{"disposition":"migrate","target_paths":["src/solarlab/physics/band_structure/grading.py"],"migration_tasks":["P04-11"],"gate_ids":["G3","G4"],"mapping_rule":"preserve_existing_capability"},"route-d9c856c156710764":{"disposition":"migrate","target_paths":["src/solarlab/device/defects.py"],"migration_tasks":["P03-03","P04-10"],"gate_ids":["G3"],"mapping_rule":"preserve_existing_capability"},"route-8325215ed6470da3":{"disposition":"migrate","target_paths":["src/solarlab/physics/recombination/recombination.py"],"migration_tasks":["P04-07","P04-10"],"gate_ids":["G3","G4"],"mapping_rule":"preserve_existing_capability"},"route-82db92644ae84174":{"disposition":"migrate","target_paths":["src/solarlab/physics/contacts/contacts.py"],"migration_tasks":["P03-04","P04-03","P08-03"],"gate_ids":["G3","G4","G8"],"mapping_rule":"preserve_existing_capability"},"route-adafe12b780cb075":{"disposition":"replace","target_paths":["src/solarlab/equations/state.py","src/solarlab/solvers/time/conservative_reference.py"],"migration_tasks":["P04-08"],"gate_ids":["G2","G4"],"mapping_rule":"numerical_replacement_after_contract_and_consumer_gates"},"route-46768de238c10b26":{"disposition":"migrate","target_paths":["src/solarlab/experiments/dynamic_defect_impedance.py"],"migration_tasks":["P04-06","P04-10","P05-03"],"gate_ids":["G4","G5"],"mapping_rule":"preserve_existing_capability"},"route-a710012d4957cff3":{"disposition":"migrate","target_paths":["src/solarlab/experiments/dynamic_defect_transient.py"],"migration_tasks":["P04-10","P05-04"],"gate_ids":["G4","G5"],"mapping_rule":"preserve_existing_capability"},"route-d62e86f66bbfc4a7":{"disposition":"migrate","target_paths":["src/solarlab/physics/electrostatics/poisson.py"],"migration_tasks":["P04-01","P04-02","P06-01","P08-02"],"gate_ids":["G3","G4","G8"],"mapping_rule":"preserve_existing_capability"},"route-1a753e47cd31526e":{"disposition":"migrate","target_paths":["src/solarlab/experiments/electrothermal.py"],"migration_tasks":["P04-11","P04-13","P05-04"],"gate_ids":["G4","G5"],"mapping_rule":"preserve_existing_capability"},"route-8fa82108990208d6":{"disposition":"migrate","target_paths":["src/solarlab/experiments/interface_charge_jv.py"],"migration_tasks":["P04-09","P04-10","P05-02"],"gate_ids":["G4","G5"],"mapping_rule":"preserve_existing_capability"},"route-3c9fbb8d992a2504":{"disposition":"migrate","target_paths":["src/solarlab/experiments/external_circuit.py"],"migration_tasks":["P04-13","P05-04"],"gate_ids":["G4","G5"],"mapping_rule":"preserve_existing_capability"},"route-9f659d6ab05ae517":{"disposition":"migrate","target_paths":["src/solarlab/physics/statistics/degenerate_transport.py"],"migration_tasks":["P04-03","P04-06"],"gate_ids":["G3","G4"],"mapping_rule":"preserve_existing_capability"},"route-319cedcb93036ea4":{"disposition":"migrate","target_paths":["src/solarlab/physics/generation/cigs_optics.py"],"migration_tasks":["P04-07","P04-11"],"gate_ids":["G3","G4"],"mapping_rule":"preserve_existing_capability"},"route-0028b51c44273f6e":{"disposition":"migrate","target_paths":["src/solarlab/physics/interface_transport/interface_plane.py"],"migration_tasks":["P04-09","P06-02"],"gate_ids":["G3","G4"],"mapping_rule":"preserve_existing_capability"},"route-5d1c26da2dda74b7":{"disposition":"migrate","target_paths":["src/solarlab/physics/transport/continuity.py"],"migration_tasks":["P04-03","P04-09"],"gate_ids":["G3","G4"],"mapping_rule":"preserve_existing_capability"},"route-495b76e93b3577ce":{"disposition":"migrate","target_paths":["src/solarlab/experiments/metastable_preparation.py"],"migration_tasks":["P04-10","P05-04"],"gate_ids":["G4","G5"],"mapping_rule":"preserve_existing_capability"},"route-8da2b10cdabff825":{"disposition":"migrate","target_paths":["src/solarlab/device/multivalent_defects.py"],"migration_tasks":["P03-03","P04-10"],"gate_ids":["G3"],"mapping_rule":"preserve_existing_capability"},"route-3ca5aadbccd95430":{"disposition":"migrate","target_paths":["src/solarlab/physics/generation/photon_recycling.py"],"migration_tasks":["P02-07","P04-12","P06-02"],"gate_ids":["G3","G4"],"mapping_rule":"preserve_existing_capability"},"route-7f630a1e3f93d84f":{"disposition":"migrate","target_paths":["src/solarlab/physics/ions/ion_migration.py"],"migration_tasks":["P04-08","P06-02"],"gate_ids":["G3","G4"],"mapping_rule":"preserve_existing_capability"},"route-bab67146773d252f":{"disposition":"migrate","target_paths":["src/solarlab_research/r1/backend.py"],"migration_tasks":["P02-08","P07-01","P07-02","P07-03","P07-04"],"gate_ids":["G2","G7"],"mapping_rule":"public_research_extension_preserve_source_and_precision"},"route-2284c44f7547afc8":{"disposition":"migrate","target_paths":["src/solarlab/physics/generation/generation.py"],"migration_tasks":["P04-07","P08-04"],"gate_ids":["G3","G4","G8"],"mapping_rule":"preserve_existing_capability"},"route-3b0ea2bce48cedc0":{"disposition":"migrate","target_paths":["src/solarlab/experiments/tandem_jv.py"],"migration_tasks":["P04-13","P05-04"],"gate_ids":["G4","G5"],"mapping_rule":"preserve_existing_capability"},"route-1d5406b5270c83c8":{"disposition":"migrate","target_paths":["src/solarlab/physics/band_structure/temperature.py"],"migration_tasks":["P04-11","P04-13","P06-02"],"gate_ids":["G3","G4"],"mapping_rule":"preserve_existing_capability"},"route-10514450877a74c6":{"disposition":"migrate","target_paths":["src/solarlab/physics/generation/optics.py"],"migration_tasks":["P04-07","P04-13"],"gate_ids":["G3","G4","G8"],"mapping_rule":"preserve_existing_capability"},"route-37e2128a898867ec":{"disposition":"migrate","target_paths":["src/solarlab/physics/transport/tunneling_channel_device.py"],"migration_tasks":["P04-12"],"gate_ids":["G3","G4"],"mapping_rule":"preserve_existing_capability"},"route-ad39f1ba37895ec2":{"disposition":"migrate","target_paths":["src/solarlab/equations/assembly.py","src/solarlab/mesh/tensor.py","src/solarlab/two_dimensional/solver_2d.py"],"migration_tasks":["P06-01","P06-02","P06-03"],"gate_ids":["G4","G6"],"mapping_rule":"preserve_existing_capability"},"route-05954cb31108b609":{"disposition":"migrate","target_paths":["src/solarlab/physics/interface_transport/two_sided_interface.py"],"migration_tasks":["P04-01","P04-09","P08-03"],"gate_ids":["G3","G4","G8"],"mapping_rule":"preserve_existing_capability"},"route-cbbcfcb83fcae60f":{"disposition":"retain","target_paths":["tests/numerical_contracts/oracles/dae_integrator.py"],"migration_tasks":["P02-03","P00-03","P09-03"],"gate_ids":["G0","G2","G9"]},"route-c0154fcbcec24727":{"disposition":"retain","target_paths":["tests/numerical_contracts/oracles/scipy_shim.py"],"migration_tasks":["P02-09","P00-03","P09-03"],"gate_ids":["G0","G2","G9"]},"route-b42f1550cc73e93a":{"disposition":"retain","target_paths":["tests/numerical_contracts/oracles/poisson.py"],"migration_tasks":["P04-01","P00-03","P09-03"],"gate_ids":["G0","G4","G9"]},"route-9703b76f135297b8":{"disposition":"retain","target_paths":["src/solarlab_research/validation/one_dimensional_mechanism_r1_independent_physics.py"],"migration_tasks":["P07-05","P00-03","P09-03"],"gate_ids":["G0","G7","G9"]},"route-14e199cb8da127e6":{"disposition":"retain","target_paths":["src/solarlab_research/validation/one_dimensional_mechanism_r1_independent_regular.py"],"migration_tasks":["P07-05","P00-03","P09-03"],"gate_ids":["G0","G7","G9"]},"route-bcde79d2bee32047":{"disposition":"retain","target_paths":["tests/numerical_contracts/oracles/fe_operators.py"],"migration_tasks":["P04-01","P00-03","P09-03"],"gate_ids":["G0","G4","G9"]},"route-067b237d97b48d83":{"disposition":"retain","target_paths":["tests/numerical_contracts/oracles/dynamic_storage.py"],"migration_tasks":["P02-08","P00-03","P09-03"],"gate_ids":["G0","G2","G9"]},"route-c7a4b568f42d617d":{"disposition":"retain","target_paths":["tests/numerical_contracts/oracles/ion_aware_impedance_lockin.py"],"migration_tasks":["P05-03","P00-03","P09-03"],"gate_ids":["G0","G5","G9"]},"route-4e41c98b007cfc2f":{"disposition":"retain","target_paths":["tests/numerical_contracts/oracles/refinement_executors.py"],"migration_tasks":["P06-03","P00-03","P09-03"],"gate_ids":["G0","G6","G9"]},"route-7c6a610f78c23573":{"disposition":"replace","target_paths":["src/solarlab/equations/binding.py","src/solarlab/equations/assembly.py"],"migration_tasks":["P02-02","P02-03","P02-05","P02-07","P04-02","P04-05","P06-01","P07-01"],"gate_ids":["G2","G4","G6","G7"],"mapping_rule":"numerical_replacement_after_contract_and_consumer_gates"},"route-39b5928c928017c8":{"disposition":"replace","target_paths":["src/solarlab/equations/state.py"],"migration_tasks":["P02-02","P02-03","P02-05","P02-07","P04-02","P04-05","P06-01","P07-01"],"gate_ids":["G2","G4","G6","G7"],"mapping_rule":"numerical_replacement_after_contract_and_consumer_gates"},"route-d8730a918e25946e":{"disposition":"replace","target_paths":["src/solarlab/solvers/time/integrator.py"],"migration_tasks":["P02-02","P02-03","P02-05","P02-07","P04-02","P04-05","P06-01","P07-01"],"gate_ids":["G2","G4","G6","G7"],"mapping_rule":"numerical_replacement_after_contract_and_consumer_gates"},"route-8e5c3557b65e10ad":{"disposition":"migrate","target_paths":["src/solarlab/config/schema.py","web/src/generated/input_schema.json"],"migration_tasks":["P03-02","P03-03","P03-04","P03-07","P06-07"],"gate_ids":["G3","G6"]},"route-74e27c5215c2f23c":{"disposition":"migrate","target_paths":["web/src/api.ts"],"migration_tasks":["P03-07","P06-06","P06-07"],"gate_ids":["G3","G6"],"mapping_rule":"explicit_frontend_backend_base_configuration"}}, +"capabilities": [ +{"id":"benchmark-4105876c56341ee0","kind":"benchmark_registration","current_path":"perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml","route_id":"route-f13ea1085e6c91d1","origin_key":"benchmark:bulk-trap-energy-distribution-internal-closure","source_key":"benchmarks.bulk-trap-energy-distribution-internal-closure","scientific_status":"pass","scientific_status_source":"inherited_registry_not_reexecuted","evidence_level":"registry_source_and_validator_pass","registered_contract":{"kind":"internal","status":"pass","claim_level":"internal-numerical-candidate","command":"pytest -q tests/unit/physics/test_bulk_traps.py tests/unit/models/test_bulk_trap_schema.py tests/unit/solver/test_bulk_trap_equilibrium.py tests/unit/validation/test_bulk_trap_refinement.py","tests":["tests/unit/physics/test_bulk_traps.py","tests/unit/models/test_bulk_trap_schema.py","tests/unit/solver/test_bulk_trap_equilibrium.py","tests/unit/validation/test_bulk_trap_refinement.py"],"node_ids":["tests/unit/physics/test_bulk_traps.py::test_gaussian_delta_limit_recovers_the_single_level_model","tests/unit/physics/test_bulk_traps.py::test_recombination_and_charge_tangents_match_centered_differences","tests/unit/models/test_bulk_trap_schema.py::test_default_material_and_mol_paths_fail_closed","tests/unit/solver/test_bulk_trap_equilibrium.py::test_real_equilibrium_closes_poisson_transport_traps_and_gauss_law","tests/unit/validation/test_bulk_trap_refinement.py::test_registered_executor_real_cell_matches_exact_contract"],"configs":["tests/fixtures/configs/csi_gaussian_bulk_trap_pn_research.yaml"],"limitations":["the source-clean 3x3 matrix is internally certified at commit d336e45 with certificate SHA-256 bd385f0a01db4ad769f6fc1591c5cd79acafef5663d60f81ddee6cb9987991fc","the lane is restricted to a dark homogeneous Maxwell-Boltzmann equilibrium with one Gaussian acceptor-like distribution and fully ionized dopants","legacy SCAPS Gaussian metadata remains parked, and external TCAD or experimental validation is absent"]}}, +{"id":"benchmark-f2d15ebbf5e588cf","kind":"benchmark_registration","current_path":"perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml","route_id":"route-f13ea1085e6c91d1","origin_key":"benchmark:calado2016-driftfusion","source_key":"benchmarks.calado2016-driftfusion","scientific_status":"pass","scientific_status_source":"inherited_registry_not_reexecuted","evidence_level":"registry_source_and_validator_pass","registered_contract":{"kind":"external","status":"pass","claim_level":"calibrated_reproduction","evidence_tier":"calibration_only","source_url":"https://doi.org/10.1038/ncomms13831","source_solver":{"repository_url":"https://github.com/barnesgroupICL/Driftfusion","archived_release":"https://doi.org/10.5281/zenodo.3670155","archived_release_version":"v1.0.0","exact_version_frozen":false,"limitation":"the 2020 release is not the exact 2016 publication artifact"},"command":"pytest -q -m validation tests/validation/test_paper_configurations.py::test_driftfusion_repro_matches_paper_metrics","tests":["tests/validation/test_paper_configurations.py"],"node_ids":["tests/validation/test_paper_configurations.py::test_driftfusion_repro_matches_paper_metrics"],"configs":["tests/fixtures/configs/driftfusion_calado2016_repro.yaml"],"protocol":{"local":{"N_grid":60,"n_points":20,"v_rate_V_s":5.0,"V_max_V":1.5,"preconditioning":"solver dark-equilibrium initial state"},"source":{"representative_v_rate_V_s":0.04,"provenance":"Calado 2016 measured and simulated J-V protocol"}},"calibration":{"parameters":{"device.V_bi":1.42},"targets":["Voc_V"]},"non_calibration_checks":["Jsc_A_m2","FF","absorbed_photon_budget"],"observed_reverse":{"Voc_V":1.028533819,"Jsc_A_m2":222.853672,"FF":0.749050055,"PCE_percent":17.169166},"regression_tolerance":{"Voc_V":0.005,"Jsc_A_m2":1.0,"FF":0.01,"PCE_percent":0.5},"limitations":["V_bi=1.42 V is calibrated against the reported Voc","the automated scan rate is 125 times the approximately 0.04 V/s paper protocol","no digitized source curve or extraction uncertainty is stored in the repository"]}}, +{"id":"benchmark-83c17bf82672772f","kind":"benchmark_registration","current_path":"perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml","route_id":"route-f13ea1085e6c91d1","origin_key":"benchmark:charged-explicit-defect-internal-closure","source_key":"benchmarks.charged-explicit-defect-internal-closure","scientific_status":"pass","scientific_status_source":"inherited_registry_not_reexecuted","evidence_level":"registry_source_and_validator_pass","registered_contract":{"kind":"numerical","status":"pass","claim_level":"internal-numerical-candidate","command":"pytest -q tests/unit/models/test_explicit_defect_schema.py tests/unit/physics/test_monovalent_defect_closure.py tests/integration/test_charged_explicit_defects_qf.py tests/unit/validation/test_charged_defect_refinement.py tests/unit/validation/test_import_scaps_defect_reference.py","tests":["tests/unit/models/test_explicit_defect_schema.py","tests/unit/physics/test_monovalent_defect_closure.py","tests/integration/test_charged_explicit_defects_qf.py","tests/unit/validation/test_charged_defect_refinement.py","tests/unit/validation/test_import_scaps_defect_reference.py"],"node_ids":["tests/unit/models/test_explicit_defect_schema.py::test_canonical_document_roundtrip_and_hash_are_stable","tests/unit/physics/test_monovalent_defect_closure.py::test_donor_and_acceptor_share_occupancy_but_use_distinct_charge_reference","tests/integration/test_charged_explicit_defects_qf.py::test_public_qf_jv_sweep_retains_charged_defect_certificates","tests/unit/validation/test_charged_defect_refinement.py::test_registered_executor_real_cell_matches_exact_contract","tests/unit/validation/test_import_scaps_defect_reference.py::test_importer_hashes_all_raw_exports_decks_manifest_and_suite"],"configs":["tests/fixtures/configs/scaps_defect_s0_neutral.yaml","tests/fixtures/configs/scaps_defect_s1_acceptor_n.yaml","tests/fixtures/configs/scaps_defect_s2_donor_p.yaml"],"limitations":["the source-clean 3x3 lane is internal SolarLab grid and tolerance evidence, not SCAPS parity or experimental validation","charged explicit defects are enabled only through the opt-in QF/DC path; the density-form transient path remains fail-closed","ions, interface defects, energy distributions, tunnelling, metastability, AC, and dynamic occupancy remain excluded"]}}, +{"id":"benchmark-ee312eb2fea8c21f","kind":"benchmark_registration","current_path":"perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml","route_id":"route-f13ea1085e6c91d1","origin_key":"benchmark:cigs-graded-optics-internal-closure","source_key":"benchmarks.cigs-graded-optics-internal-closure","scientific_status":"pass","scientific_status_source":"inherited_registry_not_reexecuted","evidence_level":"registry_source_and_validator_pass","registered_contract":{"kind":"numerical","status":"pass","claim_level":"internal-numerical-candidate","command":"pytest -q tests/integration/test_cigs_graded_optics.py tests/unit/validation/test_cigs_optics_refinement.py","tests":["tests/integration/test_cigs_graded_optics.py","tests/unit/validation/test_cigs_optics_refinement.py"],"node_ids":["tests/integration/test_cigs_graded_optics.py::test_shipped_research_config_builds_finite_photon_bounded_generation","tests/integration/test_cigs_graded_optics.py::test_uniform_composition_slice_limit_matches_one_homogeneous_layer","tests/integration/test_cigs_graded_optics.py::test_minoura_high_energy_absorption_agrees_with_independent_carron_model","tests/unit/validation/test_cigs_optics_refinement.py::test_registered_executor_real_cell_matches_exact_contract"],"configs":["tests/fixtures/configs/cigs_graded_optics.yaml"],"limitations":["the source-clean registered 3x3 matrix is internally certified at commit 6ba9055 with certificate SHA-256 e14e9f6f50c958e2e18dd514984e026d430688e785a9986892d0e21dfcff9958","this is a literature-model and internal numerical closure, not a measured-device, external simulator, or PCE-optimization certificate","ZnO and CdS retain nominal scalar optical fallbacks, so the claim is restricted to the graded CIGS absorber"]}}, +{"id":"benchmark-ffe6aa8aa40ed1bc","kind":"benchmark_registration","current_path":"perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml","route_id":"route-f13ea1085e6c91d1","origin_key":"benchmark:cigs-internal-validation","source_key":"benchmarks.cigs-internal-validation","scientific_status":"pass","scientific_status_source":"inherited_registry_not_reexecuted","evidence_level":"registry_source_and_validator_pass","registered_contract":{"kind":"internal","status":"pass","claim_level":"numerical-grid-and-qualitative-grading","command":"pytest -q -m 'slow or not slow' tests/regression/test_grading_cigs_notch.py","tests":["tests/regression/test_grading_cigs_notch.py"],"node_ids":["tests/regression/test_grading_cigs_notch.py::test_dynamic_cigs_grading_matches_the_shipped_config","tests/regression/test_grading_cigs_notch.py::test_cigs_n_left_voltage_conventions_are_explicit","tests/regression/test_grading_cigs_notch.py::test_cigs_ungraded_thickness_continuation_certifies","tests/regression/test_grading_cigs_notch.py::test_cigs_back_grading_raises_voc_without_jsc_collapse","tests/regression/test_grading_cigs_notch.py::test_cigs_back_grading_certifies_at_production_grid","tests/regression/test_grading_cigs_notch.py::test_cigs_ungraded_production_grid_ladder_is_physical","tests/regression/test_grading_cigs_notch.py::test_cigs_ungraded_production_grid_metrics_converge","tests/regression/test_grading_cigs_notch.py::test_cigs_observations_match_reproducibility_registry"],"configs":["tests/fixtures/configs/cigs_baseline.yaml","tests/fixtures/configs/cigs_graded_notch.yaml"],"protocol":{"N_grid_nominal":[40,80,120],"actual_ungraded_intervals":[39,78,120],"actual_graded_intervals_at_N_grid_120":160,"n_points":43,"V_max_V":1.05,"voltage_spacing_V":0.025,"v_rate_V_s":0.1,"blas_threads":1},"observed_ungraded_forward":[{"N_grid":40,"intervals":39,"Voc_V":0.954965375281,"Jsc_A_m2":397.615483456,"FF":0.837117937595,"PCE_percent":31.7861231187},{"N_grid":80,"intervals":78,"Voc_V":0.955110677361,"Jsc_A_m2":397.365258465,"FF":0.836823558796,"PCE_percent":31.7597805239},{"N_grid":120,"intervals":120,"Voc_V":0.955140536776,"Jsc_A_m2":397.353071277,"FF":0.836702364795,"PCE_percent":31.7551996684}],"observed_production_grading":{"ungraded_robin":{"intervals":120,"Voc_V":0.956142307528,"Jsc_A_m2":397.440103718,"FF":0.837446926522,"PCE_percent":31.8237618554},"graded_robin":{"intervals":160,"Voc_V":1.00860478869,"Jsc_A_m2":398.483691012,"FF":0.83796379759,"PCE_percent":33.6788174214}},"regression_tolerance":{"Voc_V":5e-06,"Jsc_A_m2":0.01,"FF":5e-05,"PCE_percent":0.01},"limitations":["this is internal numerical and qualitative-trend validation, not an external CIGS benchmark","the contact-potential magnitudes are synchronized to compute_V_bi from the current material parameters, not independent work-function measurements","Nc300 and Nv300 are absent and the SI provenance of ni, n1, and p1 is unresolved","the Beer-Lambert alpha and photon flux are uniform proxies and do not grade with composition","the roughly 31.8 to 33.7 percent PCE values are highly idealized and must not be compared directly with experiment"]}}, +{"id":"benchmark-a12ead2b6fe7e734","kind":"benchmark_registration","current_path":"perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml","route_id":"route-f13ea1085e6c91d1","origin_key":"benchmark:courtier2019-ionmonger","source_key":"benchmarks.courtier2019-ionmonger","scientific_status":"pass","scientific_status_source":"inherited_registry_not_reexecuted","evidence_level":"registry_source_and_validator_pass","registered_contract":{"kind":"external","status":"pass","claim_level":"calibrated_reproduction","evidence_tier":"calibration_only","source_url":"https://doi.org/10.1039/C8EE01576G","source_solver":{"repository_url":"https://github.com/PerovskiteSCModelling/IonMonger","exact_version_frozen":false,"limitation":"the exact publication-era commit and MATLAB output are not stored locally"},"command":"pytest -q -m validation tests/validation/test_paper_configurations.py::test_ionmonger_repro_matches_paper_metrics","tests":["tests/validation/test_paper_configurations.py"],"node_ids":["tests/validation/test_paper_configurations.py::test_ionmonger_repro_matches_paper_metrics"],"configs":["tests/fixtures/configs/ionmonger_courtier2019_repro.yaml"],"protocol":{"local":{"N_grid":60,"n_points":20,"v_rate_V_s":5.0,"V_max_V":1.5,"preconditioning":"solver dark-equilibrium initial state"},"source":{"representative_v_rate_V_s":0.075,"preconditioning":"1.2 V for 40 s","provenance":"Courtier 2019 representative J-V protocol"}},"calibration":{"parameters":{"device.V_bi":0.98},"targets":["Voc_V"]},"non_calibration_checks":["Jsc_A_m2","FF","absorbed_photon_budget"],"observed_reverse":{"Voc_V":1.073879325,"Jsc_A_m2":222.77814,"FF":0.753781846,"PCE_percent":18.033239},"regression_tolerance":{"Voc_V":0.005,"Jsc_A_m2":1.0,"FF":0.01,"PCE_percent":0.5},"limitations":["V_bi=0.98 V is calibrated against the reported Voc","the automated scan rate is about 67 times the representative 0.075 V/s paper protocol","the paper preconditioning protocol is not reproduced","no digitized source curve or extraction uncertainty is stored in the repository"]}}, +{"id":"benchmark-f050f4122cc07b66","kind":"benchmark_registration","current_path":"perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml","route_id":"route-f13ea1085e6c91d1","origin_key":"benchmark:csi-grid-envelope-gap","source_key":"benchmarks.csi-grid-envelope-gap","scientific_status":"closed","scientific_status_source":"inherited_registry_not_reexecuted","evidence_level":"registry_source_and_validator_pass","registered_contract":{"kind":"gap","status":"closed","claim_level":"grid-envelope-characterization","command":"pytest -q tests/regression/test_csi_grid_envelope.py tests/integration/backend/test_user_configs_api.py::test_csi_underresolved_grid_returns_actionable_client_error","tests":["tests/regression/test_csi_grid_envelope.py","tests/integration/backend/test_user_configs_api.py"],"node_ids":["tests/regression/test_csi_grid_envelope.py::test_default_jv_grid_is_outside_csi_declared_envelope","tests/regression/test_csi_grid_envelope.py::test_underresolved_transient_and_ss_jv_fail_before_integration","tests/regression/test_csi_grid_envelope.py::test_underresolved_overrides_are_explicit_and_reach_both_drivers","tests/regression/test_csi_grid_envelope.py::test_declared_csi_minimum_meets_debye_guard_and_has_finite_seed","tests/regression/test_csi_grid_envelope.py::test_thin_film_smoke_mesh_is_not_misrepresented_as_globally_certified","tests/integration/backend/test_user_configs_api.py::test_csi_underresolved_grid_returns_actionable_client_error"],"configs":["tests/fixtures/configs/cSi_homojunction.yaml"],"limitations":["the Debye guard is necessary but does not certify depletion-region resolution","closure applies only to executable grid allocation, loader parity, and pre-integration guarding","physical steady-state evidence is tracked separately by csi-qf-internal-validation"]}}, +{"id":"benchmark-2944ea519ddd6969","kind":"benchmark_registration","current_path":"perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml","route_id":"route-f13ea1085e6c91d1","origin_key":"benchmark:csi-jv-driver-capability-boundary","source_key":"benchmarks.csi-jv-driver-capability-boundary","scientific_status":"pass","scientific_status_source":"inherited_registry_not_reexecuted","evidence_level":"registry_source_and_validator_pass","registered_contract":{"kind":"numerical","status":"pass","claim_level":"explicit-production-driver-capability-boundary","command":"pytest -q -m 'slow or not slow' tests/unit/experiments/test_jv_driver_capability.py tests/unit/backend/test_solver_dispatch.py tests/regression/test_csi_generic_state_cancellation.py","tests":["tests/unit/experiments/test_jv_driver_capability.py","tests/unit/backend/test_solver_dispatch.py","tests/regression/test_csi_generic_state_cancellation.py"],"node_ids":["tests/unit/experiments/test_jv_driver_capability.py::test_shipped_csi_config_enforces_grid_then_qf_driver_capability","tests/unit/experiments/test_jv_driver_capability.py::test_qf_required_policy_rejects_general_drivers_before_solve","tests/unit/experiments/test_jv_driver_capability.py::test_unvalidated_driver_override_is_explicit_and_diagnostic_only","tests/unit/backend/test_solver_dispatch.py::test_stack_from_dict_plumbs_jv_solver_policy","tests/unit/backend/test_solver_dispatch.py::test_dispatch_quasi_fermi_returns_certificate_bearing_jvresult","tests/unit/backend/test_solver_dispatch.py::test_dispatch_quasi_fermi_rejects_dark_jv","tests/unit/backend/test_solver_dispatch.py::test_jv_api_returns_422_for_policy_rejected_driver","tests/regression/test_csi_generic_state_cancellation.py::test_certified_qf_state_exposes_density_sg_cancellation_boundary"],"configs":["tests/fixtures/configs/cSi_homojunction.yaml"],"protocol":{"production_driver":"quasi_fermi","general_driver_override":"explicit_diagnostic_only","routing":"explicit_no_silent_substitution","rejection_status":"HTTP_422"},"observed":{"N_grid":200,"V_app_V":0.0,"illumination":"one_sun","qf_max_normalized_cell_residual":5.822024703712662e-13,"qf_electron_continuity_bound_A_m2":5.802618467417451e-10,"qf_hole_continuity_bound_A_m2":3.5128574702171873e-09,"qf_face_current_spread_A_m2":3.4140157367801294e-10,"generic_density_sg_max_peak_scaled_residual":33.081875833442986,"generic_density_sg_electron_continuity_bound_A_m2":3.1847756389691453,"generic_density_sg_hole_continuity_bound_A_m2":0.0007097273912835721},"limitations":["fail-closed routing does not repair the transient or algebraic driver root cause","the same certified QF state produces an O(1) density-SG continuity defect after its split QF increments are collapsed","the QF solver remains limited to its audited local homojunction physics subset","this is a software capability contract, not an external c-Si validation"]}}, +{"id":"benchmark-3ece4d3a78f8823e","kind":"benchmark_registration","current_path":"perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml","route_id":"route-f13ea1085e6c91d1","origin_key":"benchmark:csi-qf-frequency-domain-cv","source_key":"benchmarks.csi-qf-frequency-domain-cv","scientific_status":"pass","scientific_status_source":"inherited_registry_not_reexecuted","evidence_level":"registry_source_and_validator_pass","registered_contract":{"kind":"numerical","status":"pass","claim_level":"residual-certified-qf-small-signal-cv-and-charge-identity","evidence_tier":"internal-numerical-plus-published-interpretation","source_urls":["https://doi.org/10.1016/0038-1101(67)90014-7","https://arxiv.org/abs/1605.00778v1"],"reference_resource":"perovskite_sim/data/references/csi_pn_cv_intercept.yaml","command":"OPENBLAS_NUM_THREADS=1 pytest -q -m slow tests/regression/test_csi_frequency_domain_impedance.py","tests":["tests/regression/test_csi_frequency_domain_impedance.py"],"node_ids":["tests/regression/test_csi_frequency_domain_impedance.py::test_csi_frequency_domain_recovers_depletion_not_geometric_capacitance","tests/regression/test_csi_frequency_domain_impedance.py::test_csi_frequency_domain_has_capacitance_plateau_and_current_certificate","tests/regression/test_csi_frequency_domain_impedance.py::test_csi_frequency_domain_matches_independent_dc_carrier_inventory","tests/regression/test_csi_frequency_domain_impedance.py::test_csi_frequency_domain_is_stable_to_steps_and_nominal_amplitude","tests/regression/test_csi_frequency_domain_impedance.py::test_csi_depletion_cv_curve_converges_on_registered_grid_ladder","tests/regression/test_csi_frequency_domain_impedance.py::test_csi_apparent_intercept_shift_matches_published_pn_range","tests/regression/test_csi_frequency_domain_impedance.py::test_csi_depletion_cv_has_frequency_and_all_face_plateaus","tests/regression/test_csi_frequency_domain_impedance.py::test_csi_frequency_domain_observations_match_registry"],"configs":["tests/fixtures/configs/cSi_homojunction.yaml"],"protocol":{"solver":"opt-in QF frequency-domain linearization about a certified dark DC state","N_grid":[200,300,400],"grid_interval_weights":{"n_emitter":1.0,"p_base":4.0},"grid_alphas":{"n_emitter":2.0,"p_base":3.0},"biases_V":[-0.3,-0.2,-0.1,0.0,0.1,0.2],"frequencies_Hz":["1.0e4","1.0e5","1.0e6"],"nominal_delta_V":0.01,"state_difference_step":1e-05,"voltage_difference_step_V":1e-05,"independent_dc_inventory_difference_step_V":0.0001,"certificates":{"max_relative_all_face_admittance_spread":0.0005,"max_linear_solve_backward_error":1e-10,"max_frequency_capacitance_change":0.001,"max_finest_grid_capacitance_change":0.005,"max_finest_mott_intercept_change_V":0.002,"max_finest_effective_doping_change":0.01,"max_storage_identity_relative_error":5e-06}},"observed":{"grids":[{"N_grid":200,"capacitance_100k_F_m2":[0.000274726491440768,0.000288624745329369,0.000304846123800362,0.000324527085290347,0.00034909866825579,0.000380798512357247],"mott_intercept_100k_V":0.797515474092975,"effective_doping_100k_m3":9.4928050013698e+21},{"N_grid":300,"capacitance_100k_F_m2":[0.000276373700515714,0.000290707316032776,0.000307622901215925,0.000327999964567817,0.000353212955314808,0.000385582502417237],"mott_intercept_100k_V":0.781100968586903,"effective_doping_100k_m3":9.46604140288772e+21},{"N_grid":400,"capacitance_100k_F_m2":[0.000277495953617242,0.000291910777428012,0.000308890470136823,0.00032931511044597,0.000354563980640025,0.000386974029432062],"mott_intercept_100k_V":0.782065810414121,"effective_doping_100k_m3":9.55366131395795e+21}],"adjacent_max_capacitance_changes":[0.012407176233359,0.00412270285406913],"finest_max_frequency_change":4.81757492936887e-05,"finest_mott_intercepts_V":[0.782060588977083,0.782065810414121,0.782117026159675],"finest_effective_doping_m3":[9.5536094648552e+21,9.55366131395795e+21,9.55384545830395e+21],"charge_identity_200":{"V_dc_V":-0.2,"frequency_Hz":100000.0,"electron_inventory_capacitance_F_m2":0.0002886247542200275,"hole_inventory_capacitance_F_m2":0.0002886247548487356},"apparent_intercept_gap_V":0.110830629570881},"regression_tolerance":{"capacitance_relative":1e-06,"mott_intercept_V":1e-05,"effective_doping_relative":1e-05,"convergence_metric_relative":0.0001,"charge_identity_relative":2e-05},"limitations":["the frequency-domain adapter is restricted to the audited local ion-free QF model and fails closed for unsupported physics","this new path does not repair or validate the legacy endpoint-sampled transient impedance algorithm","the corrected 0.782 V apparent Mott intercept remains 0.111 V below the configured 0.892896 V contact-potential magnitude","this config has no geometry-compatible pointwise external curve; the separate van Nijen config is an explicitly partial geometry-mismatched comparison","this is internal numerical validation, not an external c-Si C-V comparison"]}}, +{"id":"benchmark-3ca07445f8402d7d","kind":"benchmark_registration","current_path":"perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml","route_id":"route-f13ea1085e6c91d1","origin_key":"benchmark:csi-qf-internal-validation","source_key":"benchmarks.csi-qf-internal-validation","scientific_status":"pass","scientific_status_source":"inherited_registry_not_reexecuted","evidence_level":"registry_source_and_validator_pass","registered_contract":{"kind":"numerical","status":"pass","claim_level":"residual-certified-qf-terminal-jv-grid-convergence","command":"pytest -q -m slow tests/regression/test_csi_quasi_fermi_convergence.py","tests":["tests/regression/test_csi_quasi_fermi_convergence.py"],"node_ids":["tests/regression/test_csi_quasi_fermi_convergence.py::test_csi_config_and_registered_voltage_protocol","tests/regression/test_csi_quasi_fermi_convergence.py::test_every_csi_jv_point_has_independent_physics_certificate","tests/regression/test_csi_quasi_fermi_convergence.py::test_csi_jv_curves_are_physical_and_bracket_open_circuit","tests/regression/test_csi_quasi_fermi_convergence.py::test_csi_voltage_sampling_resolves_maximum_power","tests/regression/test_csi_quasi_fermi_convergence.py::test_csi_full_jv_curve_and_metrics_converge","tests/regression/test_csi_quasi_fermi_convergence.py::test_csi_jv_observations_match_reproducibility_registry"],"configs":["tests/fixtures/configs/cSi_homojunction.yaml"],"protocol":{"solver":"opt-in quasi-Fermi-potential steady state","warm_start":"each N_grid starts cold at 0 V with the complete illumination ramp; later voltages map only the preceding certified absolute QF potentials and solve directly at one sun","illumination_continuation":[0.0,1e-14,1e-12,1e-10,1e-08,1e-06,1e-05,0.0001,0.001,0.01,0.1,1.0],"N_grid":[200,300,400],"grid_interval_weights":{"n_emitter":1.0,"p_base":4.0},"grid_alphas":{"n_emitter":2.0,"p_base":3.0},"voltage_grid_V":[0.0,0.025,0.05,0.075,0.1,0.125,0.15,0.175,0.2,0.225,0.25,0.275,0.3,0.325,0.35,0.375,0.4,0.425,0.45,0.475,0.48,0.485,0.49,0.495,0.5,0.505,0.51,0.515,0.52,0.525,0.53,0.55,0.575,0.585,0.59,0.592,0.59225,0.5925,0.59275,0.593,0.595,0.6],"voltage_grid_canonical_sha256":"680ea45bac694c21a3be6ae3bf195bb69e436eebabe06dfe72cff97ea9752d13","base_voltage_step_V":0.025,"mpp_refinement":{"start_V":0.48,"stop_V":0.53,"step_V":0.005},"nested_mpp_check_step_V":0.01,"certificates":{"normalized_cell_residual":1e-10,"continuity_bound_A_m2":0.0001,"all_face_current_spread_A_m2":0.0001,"normalized_poisson_residual":1e-08}},"observed":{"grids":[{"N_grid":200,"layer_intervals":[40,160],"Jsc_A_m2":356.970188362382,"Voc_V":0.592163472704436,"sign_change_Voc_V":0.592163472704436,"sign_bracket_V":[0.592,0.59225],"FF":0.824721940835148,"PCE_percent":17.4333605318994,"nested_10mV_PCE_percent":17.4272114330258,"max_continuity_bound_A_m2":5.41222661287546e-08,"max_all_face_current_spread_A_m2":3.58953684553853e-08,"max_normalized_poisson_residual":2.41528442701492e-11},{"N_grid":300,"layer_intervals":[60,240],"Jsc_A_m2":356.888188515021,"Voc_V":0.5925,"sign_change_Voc_V":0.592518199015055,"sign_bracket_V":[0.5925,0.59275],"FF":0.824894121797697,"PCE_percent":17.4429019040704,"nested_10mV_PCE_percent":17.4343617239613,"max_continuity_bound_A_m2":9.39861794154563e-09,"max_all_face_current_spread_A_m2":2.63195687466578e-09,"max_normalized_poisson_residual":1.14738942108883e-11},{"N_grid":400,"layer_intervals":[80,320],"Jsc_A_m2":356.842861528302,"Voc_V":0.592683579101202,"sign_change_Voc_V":0.592683579101202,"sign_bracket_V":[0.5925,0.59275],"FF":0.824938377504146,"PCE_percent":17.4470263242664,"nested_10mV_PCE_percent":17.437383311563,"max_continuity_bound_A_m2":1.66726672172219e-08,"max_all_face_current_spread_A_m2":4.18622647657685e-09,"max_normalized_poisson_residual":6.48374144448101e-12}],"adjacent_curve_changes":[{"N_grid":[200,300],"max_abs_current_A_m2":6.48172047461399,"rms_current_A_m2":2.34329791208499},{"N_grid":[300,400],"max_abs_current_A_m2":2.99954434397439,"rms_current_A_m2":1.0833054712974}],"finest_changes":{"Jsc_relative":0.000127022259951,"Voc_absolute_V":0.000183579101202,"FF_relative":5.3647287671e-05,"PCE_relative":0.00023639674288,"max_curve_current_relative_to_Jsc":0.00840578491924,"curve_change_contraction":0.462769777827,"max_nested_mpp_PCE_relative":0.000552702364522}},"regression_tolerance":{"Jsc_A_m2":0.02,"Voc_V":5e-05,"sign_change_Voc_V":5e-05,"FF":5e-05,"PCE_percent":0.005,"diagnostic_A_m2":1e-06},"limitations":["the QF solver is opt-in and supports only an audited local homojunction physics subset","this certificate does not establish convergence of the default transient or algebraic J-V drivers","this is an internal numerical validation, not an external c-Si device comparison","Beer-Lambert absorption, ideal ohmic contacts, and the simplified interface SRV limit experimental interpretation"]}}, +{"id":"benchmark-9ffebfadd845315b","kind":"benchmark_registration","current_path":"perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml","route_id":"route-f13ea1085e6c91d1","origin_key":"benchmark:degenerate-pn-internal-closure","source_key":"benchmarks.degenerate-pn-internal-closure","scientific_status":"pass","scientific_status_source":"inherited_registry_not_reexecuted","evidence_level":"registry_source_and_validator_pass","registered_contract":{"kind":"internal","status":"pass","claim_level":"internal-numerical-candidate","command":"pytest -q tests/unit/physics/test_degenerate_transport.py tests/unit/solver/test_degenerate_equilibrium.py tests/unit/validation/test_degenerate_refinement.py","tests":["tests/unit/physics/test_degenerate_transport.py","tests/unit/solver/test_degenerate_equilibrium.py","tests/unit/validation/test_degenerate_refinement.py"],"node_ids":["tests/unit/physics/test_degenerate_transport.py::test_fd_flux_vanishes_for_constant_quasi_fermi_potentials","tests/unit/solver/test_degenerate_equilibrium.py::test_high_doping_fd_pn_equilibrium_closes_across_grid_and_tolerance","tests/unit/validation/test_degenerate_refinement.py::test_registered_executor_real_cell_matches_exact_contract"],"configs":["tests/fixtures/configs/csi_degenerate_pn_research.yaml"],"limitations":["the source-clean 3x3 matrix is internally certified at commit d756c76 with certificate SHA-256 968ad3bb67dc696b841a6bb8544c16eba3f9d5748b2fe737e20b8c7e30f8373f","the registered path is fully ionized, dark, recombination-off, homojunction-only, and not a production experiment route","the depletion approximation is an internal analytic oracle rather than external Sentaurus or PC1D validation"]}}, +{"id":"benchmark-f55a467e6d6c9e27","kind":"benchmark_registration","current_path":"perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml","route_id":"route-f13ea1085e6c91d1","origin_key":"benchmark:distributed-explicit-defect-internal-closure","source_key":"benchmarks.distributed-explicit-defect-internal-closure","scientific_status":"pass","scientific_status_source":"inherited_registry_not_reexecuted","evidence_level":"registry_source_and_validator_pass","registered_contract":{"kind":"numerical","status":"pass","claim_level":"internal-numerical-candidate","command":"pytest -q tests/unit/physics/test_defect_distributions.py tests/unit/physics/test_distributed_defect_closure.py tests/unit/physics/test_distributed_defect_device.py tests/integration/test_charged_explicit_defects_qf.py tests/unit/validation/test_distributed_defect_refinement.py","tests":["tests/unit/physics/test_defect_distributions.py","tests/unit/physics/test_distributed_defect_closure.py","tests/unit/physics/test_distributed_defect_device.py","tests/integration/test_charged_explicit_defects_qf.py","tests/unit/validation/test_distributed_defect_refinement.py"],"node_ids":["tests/unit/physics/test_defect_distributions.py::test_distributed_species_expansion_is_auditable_and_conservative","tests/unit/physics/test_distributed_defect_closure.py::test_source_aggregation_is_the_exact_sum_of_d2_energy_nodes","tests/unit/physics/test_distributed_defect_device.py::test_compiled_device_and_contact_neutrality_reuse_energy_expansions","tests/integration/test_charged_explicit_defects_qf.py::test_mixed_distributed_species_close_in_illuminated_qf_jv","tests/unit/validation/test_distributed_defect_refinement.py::test_registered_executor_real_cell_matches_exact_contract"],"configs":["tests/fixtures/configs/distributed_defect_qf_dc_pn.yaml"],"limitations":["the source-clean 3x3 matrix at commit 8c1f7be997c0cb243229eda3d0c246ed45a0c340 completed 9/9 cells and 272/272 checks with certificate SHA-256 7d21a2c257c00660f6a2e9d5990820c29580c6b5c1315b00eb27eaa15c0b121f","the lane is restricted to uniform-layer Maxwell-Boltzmann quasi-steady QF/DC with frozen/no mobile ions","spatial grading, interfaces, AC, transient occupancy, tunnelling, multivalent defects, external SCAPS parity, and experimental validation remain absent"]}}, +{"id":"benchmark-94f2fd2efa41f878","kind":"benchmark_registration","current_path":"perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml","route_id":"route-f13ea1085e6c91d1","origin_key":"benchmark:driftfusion-physical-regression","source_key":"benchmarks.driftfusion-physical-regression","scientific_status":"pass","scientific_status_source":"inherited_registry_not_reexecuted","evidence_level":"registry_source_and_validator_pass","registered_contract":{"kind":"internal","status":"pass","claim_level":"paper-informed-physical-regression","command":"pytest -q -m validation tests/validation/test_paper_configurations.py -k 'driftfusion and not repro'","tests":["tests/validation/test_paper_configurations.py"],"node_ids":["tests/validation/test_paper_configurations.py::test_driftfusion_voc_in_expected_range","tests/validation/test_paper_configurations.py::test_driftfusion_paper_comparison_quantifies_low_voc_offset","tests/validation/test_paper_configurations.py::test_driftfusion_jsc_matches_beer_lambert","tests/validation/test_paper_configurations.py::test_driftfusion_ff_in_expected_range","tests/validation/test_paper_configurations.py::test_driftfusion_illumination_slope_physical","tests/validation/test_paper_configurations.py::test_driftfusion_hysteresis_increases_with_scan_rate"],"configs":["tests/fixtures/configs/driftfusion_benchmark.yaml"],"observed_reverse":{"Voc_V":0.662930538,"Jsc_A_m2":220.91789,"FF":0.761666727,"PCE_percent":11.154854},"limitations":["hysteresis and illumination trends are internal qualitative guards","no digitized Calado transient curve is stored in the repository"]}}, +{"id":"benchmark-f2259e41f3b75254","kind":"benchmark_registration","current_path":"perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml","route_id":"route-f13ea1085e6c91d1","origin_key":"benchmark:dynamic-defect-ion-impedance-production-closure","source_key":"benchmarks.dynamic-defect-ion-impedance-production-closure","scientific_status":"pass","scientific_status_source":"inherited_registry_not_reexecuted","evidence_level":"registry_source_and_validator_pass","registered_contract":{"kind":"numerical","status":"pass","claim_level":"internal-numerical-candidate","command":"pytest -q tests/unit/experiments/test_dynamic_defect_impedance.py tests/integration/test_dynamic_defect_impedance.py tests/integration/test_dynamic_defect_impedance_api.py","tests":["tests/unit/experiments/test_dynamic_defect_impedance.py","tests/integration/test_dynamic_defect_impedance.py","tests/integration/test_dynamic_defect_impedance_api.py"],"node_ids":["tests/unit/experiments/test_dynamic_defect_impedance.py::test_capability_classifier_routes_every_certified_combination","tests/unit/experiments/test_dynamic_defect_impedance.py::test_effective_lifetime_only_stack_has_no_dynamic_defect_capability","tests/integration/test_dynamic_defect_impedance.py::test_public_bulk_dynamic_defect_impedance_is_protocol_bound_and_certified","tests/integration/test_dynamic_defect_impedance.py::test_public_interface_dynamic_defect_impedance_uses_two_sided_faces","tests/integration/test_dynamic_defect_impedance.py::test_public_triple_coupled_defect_ion_impedance_is_certified","tests/integration/test_dynamic_defect_impedance.py::test_registered_production_executor_emits_exact_metrics_and_protocol","tests/integration/test_dynamic_defect_impedance_api.py::test_real_dynamic_defect_impedance_api_serializes_protocol_and_evidence"],"configs":["tests/fixtures/configs/dynamic_defect_ion_impedance.yaml"],"limitations":["the source-bound 3x3 production matrix certifies grid, finite-difference, frequency-sampling, conservation, decomposition, DC-state, contact, and frequency-window gates; its current certificate identity is tracked in the explicit-defect development roadmap","the synthetic fixture contains one single-level acceptor plus one positive mobile-ion species; bulk-only and two-sided interface dispatch are covered by dedicated real integration tests","this is internal numerical evidence, not SCAPS parity, measured impedance validation, or unique defect-parameter identification"]}}, +{"id":"benchmark-4322a9e3b442d931","kind":"benchmark_registration","current_path":"perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml","route_id":"route-f13ea1085e6c91d1","origin_key":"benchmark:dynamic-defect-ion-transient-production-closure","source_key":"benchmarks.dynamic-defect-ion-transient-production-closure","scientific_status":"pass","scientific_status_source":"inherited_registry_not_reexecuted","evidence_level":"registry_source_and_validator_pass","registered_contract":{"kind":"numerical","status":"pass","claim_level":"internal-numerical-candidate","command":"pytest -q tests/unit/experiments/test_dynamic_defect_transient.py tests/integration/test_dynamic_defect_transient.py tests/unit/backend/test_dynamic_defect_transient_api.py tests/integration/test_dynamic_defect_transient_api.py tests/unit/validation/test_dynamic_defect_transient_refinement.py","tests":["tests/unit/experiments/test_dynamic_defect_transient.py","tests/integration/test_dynamic_defect_transient.py","tests/unit/backend/test_dynamic_defect_transient_api.py","tests/integration/test_dynamic_defect_transient_api.py","tests/unit/validation/test_dynamic_defect_transient_refinement.py"],"node_ids":["tests/unit/experiments/test_dynamic_defect_transient.py::test_protocol_round_trip_is_strict_canonical_and_content_addressed","tests/integration/test_dynamic_defect_transient.py::test_public_dynamic_defect_transient_is_protocol_bound_and_certified","tests/unit/backend/test_dynamic_defect_transient_api.py::test_job_rejects_invalid_contract_before_submit","tests/integration/test_dynamic_defect_transient_api.py::test_real_dynamic_defect_transient_api_serializes_protocol_and_evidence","tests/unit/validation/test_dynamic_defect_transient_refinement.py::test_production_v1_adds_only_public_wrapper_identity_gates","tests/unit/validation/test_dynamic_defect_transient_refinement.py::test_production_executor_cell_runs_public_protocol_and_projection"],"configs":["tests/fixtures/configs/dynamic_interface_defect_ion_transient_absorber_only.yaml"],"limitations":["the source-clean v6 3x3 matrix at commit 4f13a4bebfc71275bb83394e184144965d1359a6 completed 9/9 cells without failure, missing cells, or reuse and passed 366/366 checks; run ID 464da3ec6e0bb94fbd40a82bdc9325b29eabbb6622dc8fcad699b505a4434f5f and certificate SHA-256 52c63f74e5e139487aebce1e3ebe576d4861fb566788261e40d594e8f76f703b","the v6 lane must execute the public wrapper independently for combined, defect-dominated, and ion-dominated cases and cannot inherit production certification from the E3c v5 internal adapter certificate","this is dark two-layer, one microscopic interface defect, absorber-positive-ion internal numerical evidence; it is not SCAPS transient parity, experimental validation, bulk-plus-ion or dual-ion production coverage"]}}, +{"id":"benchmark-cc91d2d42ff5757d","kind":"benchmark_registration","current_path":"perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml","route_id":"route-f13ea1085e6c91d1","origin_key":"benchmark:dynamic-defect-ion-transient-timescale-closure","source_key":"benchmarks.dynamic-defect-ion-transient-timescale-closure","scientific_status":"pass","scientific_status_source":"inherited_registry_not_reexecuted","evidence_level":"registry_source_and_validator_pass","registered_contract":{"kind":"numerical","status":"pass","claim_level":"internal-numerical-candidate","command":"pytest -q tests/unit/physics/test_dynamic_storage.py tests/unit/validation/test_dynamic_defect_transient_refinement.py tests/integration/test_interface_defect_ion_transient.py","tests":["tests/unit/physics/test_dynamic_storage.py","tests/unit/validation/test_dynamic_defect_transient_refinement.py","tests/integration/test_interface_defect_ion_transient.py"],"node_ids":["tests/unit/physics/test_dynamic_storage.py::test_log_density_increment_resolves_sub_ulp_relative_motion","tests/unit/validation/test_dynamic_defect_transient_refinement.py::test_registered_lane_freezes_three_by_three_timescale_contract","tests/unit/validation/test_dynamic_defect_transient_refinement.py::test_reference_resolved_v5_changes_only_reference_and_stiffness_contract","tests/integration/test_interface_defect_ion_transient.py::test_deep_time_refinement_retains_charge_and_all_face_current_closure"],"configs":["tests/fixtures/configs/dynamic_interface_defect_ion_transient.yaml","tests/fixtures/configs/dynamic_interface_defect_ion_transient_absorber_only.yaml"],"limitations":["the source-clean v5 3x3 matrix at commit ba54ce2 completed 9/9 cells and 339/339 checks with certificate SHA-256 9eab2f9e251b8d4c0f7f3f07e0baeea9bb6497126ef8d8111eba1803947e5beb","v3 and v4 partial artifacts remain immutable evidence for absolute-DC-baseline and overly narrow stiffness-outcome failures; they are not reclassified by v5","the certified range is one absorber-mobile-ion, single-level two-sided-interface fixture and three registered timescale cases; the accelerated-ion probe is only a typed fail-closed stiffness boundary","this is internal numerical evidence, not SCAPS transient parity, experimental validation, production API certification, or unique parameter identification"]}}, +{"id":"benchmark-86e2e70943004434","kind":"benchmark_registration","current_path":"perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml","route_id":"route-f13ea1085e6c91d1","origin_key":"benchmark:external-series-shunt-dc-internal-closure","source_key":"benchmarks.external-series-shunt-dc-internal-closure","scientific_status":"pass","scientific_status_source":"inherited_registry_not_reexecuted","evidence_level":"registry_source_and_validator_pass","registered_contract":{"kind":"numerical","status":"pass","claim_level":"internal-numerical-candidate","command":"pytest -q tests/integration/test_external_circuit_refinement.py tests/unit/validation/test_external_circuit_refinement.py","tests":["tests/integration/test_external_circuit_refinement.py","tests/unit/validation/test_external_circuit_refinement.py"],"node_ids":["tests/integration/test_external_circuit_refinement.py::test_real_registered_external_circuit_cell_returns_all_certificate_axes","tests/integration/test_external_circuit_refinement.py::test_real_resolved_external_circuit_cell_covers_operating_quadrant","tests/unit/validation/test_external_circuit_refinement.py::test_executor_matches_registry_and_binds_explicit_protocol","tests/unit/validation/test_external_circuit_refinement.py::test_study_protocol_is_identical_across_matrix_cells","tests/unit/validation/test_external_circuit_refinement.py::test_resolved_executor_samples_fixed_terminal_power_quadrant","tests/unit/validation/test_external_circuit_refinement.py::test_executor_fails_closed_on_source_protocol_mismatch"],"configs":["tests/fixtures/configs/nip_MAPbI3.yaml"],"limitations":["the v1 full-trace matrix remains partial in its deep-forward-injection tail with certificate SHA-256 3eb975c938cd8bae2d022a37a4f6d2732a149d4dd63bb62ae7f4e0042ab5dc70","the source-clean v2 power-quadrant 3x3 matrix is internally certified at commit 2392ba3 with certificate SHA-256 a9f6d63a229ec613594d78d73a2ac94e6d0aea756c10e960948dc31123e1bf26","the area-normalized series and shunt resistance values are synthetic stress inputs, not fitted device parameters","this is an algebraic DC postprocess and excludes coupled circuit-device transients, heating, distributed resistance, and experimental validation"]}}, +{"id":"benchmark-00cbe610b0bd55b6","kind":"benchmark_registration","current_path":"perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml","route_id":"route-f13ea1085e6c91d1","origin_key":"benchmark:foundation-mobile-ion-reference","source_key":"benchmarks.foundation-mobile-ion-reference","scientific_status":"pass","scientific_status_source":"inherited_registry_not_reexecuted","evidence_level":"registry_source_and_validator_pass","registered_contract":{"kind":"numerical","status":"pass","claim_level":"internal-numerical-candidate","command":"pytest -q -o addopts='' tests/unit/validation/test_accepted_trajectory.py tests/integration/test_foundation_mobile_refinement.py","tests":["tests/unit/validation/test_accepted_trajectory.py","tests/integration/test_foundation_mobile_refinement.py"],"node_ids":["tests/unit/validation/test_accepted_trajectory.py::test_negative_accepted_density_is_detected_between_positive_output_samples","tests/unit/validation/test_accepted_trajectory.py::test_capacity_excursion_is_detected_between_admissible_output_samples","tests/unit/validation/test_accepted_trajectory.py::test_observing_accepted_states_preserves_samples_steps_and_rhs_counts","tests/integration/test_foundation_mobile_refinement.py::test_space_refinement_preserves_each_ion_inventory_and_profiles","tests/integration/test_foundation_mobile_refinement.py::test_time_refinement_preserves_the_same_ramp_and_hold","tests/integration/test_foundation_mobile_refinement.py::test_tolerance_refinement_preserves_mobile_and_electronic_states"],"configs":["tests/fixtures/configs/tpv_physical_reference.yaml"],"limitations":["Prepared uniform compensated single/dual ions, fixed light step and voltage ramp/hold on the synthetic physical p-i-n input. Diffusivities are accelerated numerical inputs, not material migration coefficients.","The complete early-time carrier, potential, current and ionic histories must pass 176/352/704 lead-resolved spatial refinement plus independent internal time-step and tolerance refinements. Earlier unresolved meshes remain failed evidence.","Per-species particle numbers and physical limits are retained throughout. This is internal numerical evidence, not chemical lifetime or experimental validation. See docs/FoundationReferenceValidationContractV2.md.","Sampled-history convergence and the additional every-accepted-step domain audit pass in both recorded environments under docs/AcceptedTrajectoryValidationContractV1.md. The observer preserves the original returned states and solver evaluations."]}}, +{"id":"benchmark-5c45d777007899c9","kind":"benchmark_registration","current_path":"perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml","route_id":"route-f13ea1085e6c91d1","origin_key":"benchmark:foundation-physical-homojunction-reference","source_key":"benchmarks.foundation-physical-homojunction-reference","scientific_status":"pass","scientific_status_source":"inherited_registry_not_reexecuted","evidence_level":"registry_source_and_validator_pass","registered_contract":{"kind":"numerical","status":"pass","claim_level":"internal-numerical-candidate","command":"pytest -q -o addopts='' tests/unit/validation/test_foundation_reference_refinement.py tests/unit/validation/test_foundation_reference_sampling.py","tests":["tests/unit/validation/test_foundation_reference_refinement.py","tests/unit/validation/test_foundation_reference_sampling.py"],"node_ids":["tests/unit/validation/test_foundation_reference_refinement.py::test_definition_keeps_physical_scales_and_independent_refinements","tests/unit/validation/test_foundation_reference_refinement.py::test_equilibrium_preserves_subunit_contact_density_and_mass_action","tests/unit/validation/test_foundation_reference_refinement.py::test_resolved_reference_keeps_all_original_physical_limits","tests/unit/validation/test_foundation_reference_refinement.py::test_real_reference_cell_certifies_all_operating_points_and_optical_power","tests/unit/validation/test_foundation_reference_sampling.py::test_balanced_mesh_preserves_physical_absorber_volume","tests/unit/validation/test_foundation_reference_sampling.py::test_subdivision_preserves_the_same_nonzero_face_current"],"configs":["tests/fixtures/configs/tpv_physical_reference.yaml"],"limitations":["Synthetic 300 K p-i-n homojunction with declared 2 eV monochromatic power and fixed physical normalization. The v1 uniform/log-sampling matrix remains partial; v2 passes its separate source-bound matrix under identical limits in two numerical environments. This does not complete dynamic or full foundation validation.","This numerical reference excludes material fitting, AM1.5G efficiency, optical emission balance, mobile ions and external validation. See docs/FoundationReferenceValidationContractV2.md."]}}, +{"id":"benchmark-5223cbf1b1ff2fbd","kind":"benchmark_registration","current_path":"perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml","route_id":"route-f13ea1085e6c91d1","origin_key":"benchmark:foundation-tpv-frozen-ion-reference","source_key":"benchmarks.foundation-tpv-frozen-ion-reference","scientific_status":"pass","scientific_status_source":"inherited_registry_not_reexecuted","evidence_level":"registry_source_and_validator_pass","registered_contract":{"kind":"numerical","status":"pass","claim_level":"internal-numerical-candidate","command":"pytest -q -o addopts='' tests/integration/test_tpv_open_circuit_refinement.py tests/integration/test_foundation_tpv_spatial_refinement.py tests/integration/test_degradation_snapshot_refinement.py tests/unit/experiments/test_degradation_frozen_ions.py","tests":["tests/integration/test_tpv_open_circuit_refinement.py","tests/integration/test_foundation_tpv_spatial_refinement.py","tests/integration/test_degradation_snapshot_refinement.py","tests/unit/experiments/test_degradation_frozen_ions.py"],"node_ids":["tests/integration/test_tpv_open_circuit_refinement.py::test_three_time_levels_preserve_the_same_pulse_and_preparation","tests/integration/test_tpv_open_circuit_refinement.py::test_three_tolerance_levels_resolve_the_same_waveform","tests/integration/test_tpv_open_circuit_refinement.py::test_two_amplitude_halvings_recover_the_small_signal_limit","tests/integration/test_foundation_tpv_spatial_refinement.py::test_three_spatial_levels_resolve_the_same_physical_tpv","tests/integration/test_degradation_snapshot_refinement.py::test_snapshot_metrics_are_independent_of_preparation_step_size","tests/integration/test_degradation_snapshot_refinement.py::test_snapshot_voltage_sampling_resolves_voc_jsc_and_ff","tests/unit/experiments/test_degradation_frozen_ions.py::test_nonuniform_ions_have_zero_frozen_flux_and_never_move"],"configs":["tests/fixtures/configs/tpv_physical_reference.yaml"],"limitations":["Synthetic p-i-n input for internal TPV and frozen-ion numerical checks. No optical-spectrum, material-parameter or experimental calibration is claimed.","TPV time/tolerance/amplitude and spatial checks plus frozen-ion snapshot time/voltage checks are internally verified. Browser rendering and full foundation-stage completion are separate."]}}, +{"id":"benchmark-d84b2405628c3df6","kind":"benchmark_registration","current_path":"perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml","route_id":"route-f13ea1085e6c91d1","origin_key":"benchmark:foundation-twod-active-transport-reference","source_key":"benchmarks.foundation-twod-active-transport-reference","scientific_status":"pass","scientific_status_source":"inherited_registry_not_reexecuted","evidence_level":"registry_source_and_validator_pass","registered_contract":{"kind":"numerical","status":"pass","claim_level":"internal-numerical-candidate","command":"pytest -q -o addopts='' tests/unit/validation/test_accepted_trajectory.py tests/integration/test_foundation_twod_axis_refinement.py tests/integration/test_twod_combined_refinement.py tests/integration/twod/test_jv_sweep_2d_microstructure.py","tests":["tests/unit/validation/test_accepted_trajectory.py","tests/integration/test_foundation_twod_axis_refinement.py","tests/integration/test_twod_combined_refinement.py","tests/integration/twod/test_jv_sweep_2d_microstructure.py"],"node_ids":["tests/unit/validation/test_accepted_trajectory.py::test_observing_accepted_states_preserves_samples_steps_and_rhs_counts","tests/integration/test_foundation_twod_axis_refinement.py::test_vertical_refinement_approaches_the_same_active_transport_limit","tests/integration/test_foundation_twod_axis_refinement.py::test_lateral_refinement_preserves_the_uniform_state_and_currents","tests/integration/test_twod_combined_refinement.py::test_registered_twod_matrix_keeps_every_accepted_state_physical","tests/integration/twod/test_jv_sweep_2d_microstructure.py::test_jv_sweep_2d_singleGB_runs_to_completion"],"configs":["tests/fixtures/configs/twod/nip_MAPbI3_singleGB.yaml"],"limitations":["The independent-axis case is defined by explicit synthetic material parameters in the test, with mixed carrier contacts, active physically normalized thermionic caps and no moving ions.","The YAML is used only for the separate five-nanometre grain-boundary/no-boundary control. Its former unsupported 0.1 percent suppression assertion is withdrawn; causal response must exceed measured numerical uncertainty.","These checks do not extend the registered heterogeneous 2D mobile-ion scope or establish material-specific grain-boundary predictions. See docs/TwodTransportContract.md.","The accepted-step audit also covers the declared one-dimensional preparation of the heterogeneous matrix and passes in both recorded environments under docs/AcceptedTrajectoryValidationContractV1.md. Its original numerical and physical scope is unchanged."]}}, +{"id":"benchmark-ae94b012055aa10b","kind":"benchmark_registration","current_path":"perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml","route_id":"route-f13ea1085e6c91d1","origin_key":"benchmark:incomplete-ionization-bgn-internal-closure","source_key":"benchmarks.incomplete-ionization-bgn-internal-closure","scientific_status":"pass","scientific_status_source":"inherited_registry_not_reexecuted","evidence_level":"registry_source_and_validator_pass","registered_contract":{"kind":"internal","status":"pass","claim_level":"internal-numerical-candidate","command":"pytest -q tests/unit/physics/test_band_gap_narrowing.py tests/unit/physics/test_contact_statistics.py tests/unit/solver/test_degenerate_equilibrium.py tests/unit/validation/test_bgn_refinement.py","tests":["tests/unit/physics/test_band_gap_narrowing.py","tests/unit/physics/test_contact_statistics.py","tests/unit/solver/test_degenerate_equilibrium.py","tests/unit/validation/test_bgn_refinement.py"],"node_ids":["tests/unit/physics/test_band_gap_narrowing.py::test_slotboom_is_monotone_and_stable_below_ratio_underflow","tests/unit/physics/test_contact_statistics.py::test_slotboom_contact_state_uses_narrowed_band_edges","tests/unit/solver/test_degenerate_equilibrium.py::test_research_material_composes_bgn_with_incomplete_ionization","tests/unit/solver/test_degenerate_equilibrium.py::test_incomplete_ionization_and_bgn_equilibrium_close_together","tests/unit/validation/test_bgn_refinement.py::test_registered_executor_real_temperature_cell_matches_contract"],"configs":["tests/fixtures/configs/csi_incomplete_ionization_bgn_pn_research.yaml"],"limitations":["the source-clean 3x3 matrix is internally certified at commit d34ef7f with certificate SHA-256 bc1285a3ef9d42e1e6346aedad33ad3871b5597a7b409f4ea002bf029f024ce6","the lane is a dark, homogeneous, recombination-off research equilibrium and not a production J-V, C-V, or impedance route","Slotboom coefficients are an empirical silicon closure; external Sentaurus or PC1D validation and experimental validation remain absent"]}}, +{"id":"benchmark-afaed356d2fa81de","kind":"benchmark_registration","current_path":"perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml","route_id":"route-f13ea1085e6c91d1","origin_key":"benchmark:incomplete-ionization-internal-closure","source_key":"benchmarks.incomplete-ionization-internal-closure","scientific_status":"pass","scientific_status_source":"inherited_registry_not_reexecuted","evidence_level":"registry_source_and_validator_pass","registered_contract":{"kind":"internal","status":"pass","claim_level":"internal-numerical-candidate","command":"pytest -q tests/unit/physics/test_statistics.py tests/unit/physics/test_contact_statistics.py tests/unit/solver/test_degenerate_equilibrium.py tests/unit/validation/test_incomplete_ionization_refinement.py","tests":["tests/unit/physics/test_statistics.py","tests/unit/physics/test_contact_statistics.py","tests/unit/solver/test_degenerate_equilibrium.py","tests/unit/validation/test_incomplete_ionization_refinement.py"],"node_ids":["tests/unit/physics/test_statistics.py::test_discrete_donor_neutrality_closes_and_resolves_freeze_out","tests/unit/physics/test_contact_statistics.py::test_discrete_donor_contact_state_resolves_temperature_freeze_out","tests/unit/solver/test_degenerate_equilibrium.py::test_incomplete_ionization_poisson_derivative_matches_finite_difference","tests/unit/solver/test_degenerate_equilibrium.py::test_incomplete_ionization_equilibrium_closes_across_temperature","tests/unit/validation/test_incomplete_ionization_refinement.py::test_registered_executor_real_temperature_cell_matches_contract"],"configs":["tests/fixtures/configs/csi_incomplete_ionization_pn_research.yaml"],"limitations":["the source-clean 3x3 matrix is internally certified at commit 1090354 with certificate SHA-256 902ae0f91b77cf7403349d4d54553c2d43c3c774b1f2a62530e2a27c9fbc0254","the discrete-level model excludes impurity bands, the Mott transition, band-gap narrowing, recombination, bias, and production experiment routes","the temperature curve and refinement checks are internal evidence rather than external solver or experimental validation"]}}, +{"id":"benchmark-8d1003366b1bcb44","kind":"benchmark_registration","current_path":"perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml","route_id":"route-f13ea1085e6c91d1","origin_key":"benchmark:interface-charge-device-stress","source_key":"benchmarks.interface-charge-device-stress","scientific_status":"pass","scientific_status_source":"inherited_registry_not_reexecuted","evidence_level":"registry_source_and_validator_pass","registered_contract":{"kind":"numerical","status":"pass","claim_level":"internal-numerical-candidate","command":"pytest -q tests/unit/validation/test_interface_charge_stress.py::test_interface_charge_stress_executor_smoke tests/unit/sweeps/test_interface_defect_sweep.py::test_interface_defect_N_t_cm2_updates_charge_capacity_and_preserves_srv_ratio","tests":["tests/unit/validation/test_interface_charge_stress.py","tests/unit/sweeps/test_interface_defect_sweep.py"],"node_ids":["tests/unit/validation/test_interface_charge_stress.py::test_interface_charge_stress_executor_smoke","tests/unit/sweeps/test_interface_defect_sweep.py::test_interface_defect_N_t_cm2_updates_charge_capacity_and_preserves_srv_ratio"],"configs":["tests/fixtures/configs/interface_charge_research.yaml"],"limitations":["the v1 N30/N60 matrix completes all four cells but remains partial because one pointwise sheet-charge grid difference is 1.4735 percent against a fixed 1 percent gate","the resolved-v2 N30/N60/N90 companion is internally certified at commit a3c6b30 with certificate SHA-256 f6e214307fe73fbc9d866d5e2537658cdb563134df78a419ecb6f4f873bd0844","the matrix is one-factor-at-a-time and does not certify Et/CBO/Nd/Nt interactions","Nd=5e15 and 1e16 cm-3 fail different tight-residual grid cells, while 1e17 and 1e18 cm-3 remain outside the local-QSS basin","N120 at factor 0.5 fails closed for the Nd=2e15 cm-3 dark-bias target and is outside the current solver basin","this is internal numerical evidence with no SCAPS or experimental-validation claim"]}}, +{"id":"benchmark-66079d06baa87db2","kind":"benchmark_registration","current_path":"perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml","route_id":"route-f13ea1085e6c91d1","origin_key":"benchmark:interface-charge-jv-api-integration","source_key":"benchmarks.interface-charge-jv-api-integration","scientific_status":"pass","scientific_status_source":"inherited_registry_not_reexecuted","evidence_level":"registry_source_and_validator_pass","registered_contract":{"kind":"numerical","status":"pass","claim_level":"internal-protocol-bound-route","command":"pytest -q -m 'slow or not slow' tests/unit/experiments/test_interface_charge_jv.py tests/unit/backend/test_interface_charge_jv_api.py","tests":["tests/unit/experiments/test_interface_charge_jv.py","tests/unit/backend/test_interface_charge_jv_api.py"],"node_ids":["tests/unit/experiments/test_interface_charge_jv.py::test_protocol_round_trip_and_hash_bind_every_field","tests/unit/experiments/test_interface_charge_jv.py::test_real_small_grid_charged_jv_has_pointwise_evidence","tests/unit/backend/test_interface_charge_jv_api.py::test_charged_protocol_resolver_builds_the_canonical_zero_scan_contract","tests/unit/backend/test_interface_charge_jv_api.py::test_real_sync_charged_jv_api_returns_certified_point_evidence","tests/unit/backend/test_interface_charge_jv_api.py::test_real_async_charged_jv_worker_preserves_protocol_and_evidence"],"configs":["tests/fixtures/configs/interface_charge_jv_research.yaml"],"limitations":["this benchmark binds the exact illuminated ion-free zero-scan-rate QF protocol and its sync/async API evidence route","the D4-E3c source-clean N30/N60/N90 by tolerance 1/0.5/0.25 matrix at commit 3fa71d6 completed 9/9 cells and 293/293 checks with certificate SHA-256 b08bd323e50c8efb9ee7f51428c35a480960c0c39edc65b8500831c4eee5a52d","the fixture is an uncalibrated synthetic numerical reference with no SCAPS, experimental, or device-performance claim"]}}, +{"id":"benchmark-d421981a0850b957","kind":"benchmark_registration","current_path":"perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml","route_id":"route-f13ea1085e6c91d1","origin_key":"benchmark:interface-charge-off-qf-reference","source_key":"benchmarks.interface-charge-off-qf-reference","scientific_status":"pass","scientific_status_source":"inherited_registry_not_reexecuted","evidence_level":"registry_source_and_validator_pass","registered_contract":{"kind":"numerical","status":"pass","claim_level":"internal-numerical-candidate","command":"pytest -q tests/unit/validation/test_refinement_executors.py::test_interface_charge_off_executor_smoke tests/unit/validation/test_refinement_executors.py::test_two_sided_interface_evidence_checks_carrier_and_state_balance","tests":["tests/unit/validation/test_refinement_executors.py"],"node_ids":["tests/unit/validation/test_refinement_executors.py::test_interface_charge_off_executor_smoke","tests/unit/validation/test_refinement_executors.py::test_two_sided_interface_evidence_checks_carrier_and_state_balance"],"configs":["tests/fixtures/configs/interface_charge_reference.yaml"],"limitations":["the content-addressed 3x3 matrix is internally certified for source commit 29c94b4 with certificate SHA-256 0a4fdebdf18eb0237eaa1a4bef599872745697d148461f6de25d10a6985a950b","interface electrostatic trap charge remains disabled, so this benchmark makes no charged Gauss-jump claim","the uncalibrated reference makes no SCAPS-parity claim"]}}, +{"id":"benchmark-1006540a4310894f","kind":"benchmark_registration","current_path":"perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml","route_id":"route-f13ea1085e6c91d1","origin_key":"benchmark:interface-charge-qf-research","source_key":"benchmarks.interface-charge-qf-research","scientific_status":"pass","scientific_status_source":"inherited_registry_not_reexecuted","evidence_level":"registry_source_and_validator_pass","registered_contract":{"kind":"numerical","status":"pass","claim_level":"internal-numerical-candidate","command":"pytest -q tests/unit/experiments/test_quasi_fermi_steady_state.py::test_charged_outer_poisson_closes_and_reference_state_has_zero_charge tests/unit/experiments/test_quasi_fermi_steady_state.py::test_research_api_binds_dark_reference_and_keeps_production_gate_parked tests/unit/validation/test_refinement_executors.py::test_equilibrium_referenced_interface_charge_executor_smoke","tests":["tests/unit/experiments/test_quasi_fermi_steady_state.py","tests/unit/validation/test_refinement_executors.py"],"node_ids":["tests/unit/experiments/test_quasi_fermi_steady_state.py::test_charged_outer_poisson_closes_and_reference_state_has_zero_charge","tests/unit/experiments/test_quasi_fermi_steady_state.py::test_research_api_binds_dark_reference_and_keeps_production_gate_parked","tests/unit/validation/test_refinement_executors.py::test_equilibrium_referenced_interface_charge_executor_smoke"],"configs":["tests/fixtures/configs/interface_charge_research.yaml"],"limitations":["dark, biased, and illuminated device solves close through the research-only QF API","the source-clean 3x3 matrix is internally certified at commit 23783a3 with certificate SHA-256 1691eaee87208f2494207c94a6f8c484299e34c4ac99c952b6c8df7915cf1921","this is an internal numerical reference with no SCAPS or experimental-validation claim"]}}, +{"id":"benchmark-ccce54aef1456ee8","kind":"benchmark_registration","current_path":"perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml","route_id":"route-f13ea1085e6c91d1","origin_key":"benchmark:ionmonger-mesh","source_key":"benchmarks.ionmonger-mesh","scientific_status":"partial","scientific_status_source":"inherited_registry_not_reexecuted","evidence_level":"registry_source_and_validator_pass","registered_contract":{"kind":"numerical","status":"partial","claim_level":"finite-time-protocol-grid-convergence","command":"pytest -q -m slow tests/regression/test_mesh_convergence.py","tests":["tests/regression/test_mesh_convergence.py"],"node_ids":["tests/regression/test_mesh_convergence.py::test_guard_interface_formulation_is_pinned","tests/regression/test_mesh_convergence.py::test_guard_interface_cells_actually_refine","tests/regression/test_mesh_convergence.py::test_guard_no_silent_dark_fallback","tests/regression/test_mesh_convergence.py::test_guard_voc_is_bracketed","tests/regression/test_mesh_convergence.py::test_guard_no_flat_band_spike_at_any_mesh_level","tests/regression/test_mesh_convergence.py::test_short_circuit_current_converges","tests/regression/test_mesh_convergence.py::test_power_quadrant_current_converges","tests/regression/test_mesh_convergence.py::test_interface_recombination_current_converges","tests/regression/test_mesh_convergence.py::test_voc_converges","tests/regression/test_mesh_convergence.py::test_jsc_converges","tests/regression/test_mesh_convergence.py::test_ff_converges","tests/regression/test_mesh_convergence.py::test_generation_integral_converges","tests/regression/test_mesh_convergence.py::test_generation_integral_respects_photon_flux_ceiling"],"configs":["tests/fixtures/configs/ionmonger_benchmark.yaml"],"limitations":["fixed-bias states use a 1 ms illuminated preconditioner, not residual steady state","conduction-current spread is diagnostic and is not a steady-state certificate"]}}, +{"id":"benchmark-9413c6e9be031fbb","kind":"benchmark_registration","current_path":"perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml","route_id":"route-f13ea1085e6c91d1","origin_key":"benchmark:ionmonger-physical-regression","source_key":"benchmarks.ionmonger-physical-regression","scientific_status":"pass","scientific_status_source":"inherited_registry_not_reexecuted","evidence_level":"registry_source_and_validator_pass","registered_contract":{"kind":"internal","status":"pass","claim_level":"paper-informed-physical-regression","command":"pytest -q -m validation tests/validation/test_paper_configurations.py -k 'ionmonger and not repro'","tests":["tests/validation/test_paper_configurations.py"],"node_ids":["tests/validation/test_paper_configurations.py::test_ionmonger_voc_in_band_offset_range","tests/validation/test_paper_configurations.py::test_ionmonger_jsc_matches_paper","tests/validation/test_paper_configurations.py::test_ionmonger_ff_in_paper_range","tests/validation/test_paper_configurations.py::test_ionmonger_paper_comparison_quantifies_known_voc_offset","tests/validation/test_paper_configurations.py::test_ionmonger_legacy_full_voc_agree_within_tolerance","tests/validation/test_paper_configurations.py::test_ionmonger_jsc_near_beer_lambert_limit","tests/validation/test_paper_configurations.py::test_ionmonger_tmm_bounded_shift_from_bl","tests/validation/test_paper_configurations.py::test_ionmonger_tmm_jsc_physically_bounded"],"configs":["tests/fixtures/configs/ionmonger_benchmark.yaml","tests/fixtures/configs/ionmonger_benchmark_tmm.yaml"],"observed_reverse":{"Voc_V":1.185118271,"Jsc_A_m2":222.885105,"FF":0.770458459,"PCE_percent":20.351291},"limitations":["the FULL preset has a documented Voc offset from Courtier 2019","paper values define broad envelopes rather than a digitized curve fit","the certified forward crossing is 1.192193501 V; reverse Voc depends on the high-bias state history"]}}, +{"id":"benchmark-a9fb1ab48c74827c","kind":"benchmark_registration","current_path":"perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml","route_id":"route-f13ea1085e6c91d1","origin_key":"benchmark:ionmonger-residual-ss-mesh","source_key":"benchmarks.ionmonger-residual-ss-mesh","scientific_status":"pass","scientific_status_source":"inherited_registry_not_reexecuted","evidence_level":"registry_source_and_validator_pass","registered_contract":{"kind":"numerical","status":"pass","claim_level":"residual-certified-short-circuit-current-grid-convergence","command":"pytest -q -m slow tests/regression/test_p1_steady_state_mesh_convergence.py","tests":["tests/regression/test_p1_steady_state_mesh_convergence.py"],"node_ids":["tests/regression/test_p1_steady_state_mesh_convergence.py::test_actual_interval_ladder_and_residual_certificates","tests/regression/test_p1_steady_state_mesh_convergence.py::test_certified_short_circuit_current_contracts","tests/regression/test_p1_steady_state_mesh_convergence.py::test_prolonged_fine_grid_current_changes_contract","tests/regression/test_p1_steady_state_mesh_convergence.py::test_observations_match_reproducibility_registry"],"configs":["tests/fixtures/configs/ionmonger_benchmark.yaml"],"observed_short_circuit":[{"intervals":12,"residual_per_s":0.00202651322938,"continuity_bound_A_m2":0.000227278250122,"current_A_m2":216.180645154669,"current_spread_A_m2":0.00242027340391},{"intervals":24,"residual_per_s":0.0214496133696,"continuity_bound_A_m2":0.00240562485444,"current_A_m2":220.594546333324,"current_spread_A_m2":0.00259612583847},{"intervals":48,"residual_per_s":0.295561020412,"continuity_bound_A_m2":0.0331478798364,"current_A_m2":221.956341941292,"current_spread_A_m2":0.00257154927257},{"intervals":72,"residual_per_s":0.0453226566184,"continuity_bound_A_m2":0.00508304309974,"current_A_m2":222.17253370755,"current_spread_A_m2":0.00256003810875},{"intervals":96,"residual_per_s":0.251430973507,"continuity_bound_A_m2":0.0281985781572,"current_A_m2":222.230784183868,"current_spread_A_m2":0.00256089907717}],"observed_fine_grid_change":{"change_48_to_72_A_m2":0.216191766258,"change_72_to_96_A_m2":0.058250476318,"contraction":0.26944,"finest_relative_change_percent":0.0262},"regression_tolerance":{"residual_per_s":0.05,"continuity_bound_A_m2":0.01,"current_A_m2":0.05,"current_spread_A_m2":0.001,"fine_change_A_m2":0.01,"contraction":0.02,"finest_relative_change_percent":0.01},"limitations":["this certifies the carrier steady state at V=0 with the ion profile frozen","72/96 use a certified 48-interval state prolongation and relative-log coordinates","no spatial-profile convergence norm for n, p, or electrostatic potential is claimed","no full ionic-equilibrium or voltage-dependent J-V convergence claim is made"]}}, +{"id":"benchmark-ac54a8e323f74ee0","kind":"benchmark_registration","current_path":"perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml","route_id":"route-f13ea1085e6c91d1","origin_key":"benchmark:lin2019-tandem","source_key":"benchmarks.lin2019-tandem","scientific_status":"partial","scientific_status_source":"inherited_registry_not_reexecuted","evidence_level":"registry_source_and_validator_pass","registered_contract":{"kind":"external","status":"partial","claim_level":"partial_external_comparison","source_url":"https://doi.org/10.1038/s41560-019-0466-3","supplementary_url":"https://static-content.springer.com/esm/art%3A10.1038%2Fs41560-019-0466-3/MediaObjects/41560_2019_466_MOESM1_ESM.pdf","command":"pytest -q -m 'slow or not slow' tests/integration/test_tandem_lin2019.py","tests":["tests/integration/test_tandem_lin2019.py"],"node_ids":["tests/integration/test_tandem_lin2019.py::test_lin2019_absorber_thicknesses_follow_paper","tests/integration/test_tandem_lin2019.py::test_lin2019_source_stack_and_reported_thicknesses","tests/integration/test_tandem_lin2019.py::test_lin2019_cu_optics_cover_protocol_from_native_source","tests/integration/test_tandem_lin2019.py::test_lin2019_voc_and_ff_within_tolerance","tests/integration/test_tandem_lin2019.py::test_lin2019_pce_within_tolerance","tests/integration/test_tandem_lin2019.py::test_lin2019_jsc_within_tolerance","tests/integration/test_tandem_lin2019.py::test_lin2019_subcells_respect_their_photon_budgets","tests/integration/test_tandem_lin2019.py::test_lin2019_subcell_currents_match_within_two_percent","tests/integration/test_tandem_lin2019.py::test_lin2019_observations_match_reproducibility_registry"],"configs":["tests/fixtures/configs/nip_SnPb_1p22.yaml","tests/fixtures/configs/nip_wideGap_FACs_1p77.yaml","tests/fixtures/configs/tandem_lin2019.yaml"],"protocol":{"local":{"optics":"combined TMM","wavelength_range_nm":[300,1100],"wavelength_points":220,"N_grid":40,"n_points":25},"source":{"champion_device_area_cm2":0.073,"certified_aperture_area_cm2":0.049,"provenance":"Lin 2019 Table 2 reverse-scan champion tuple is reported for the 0.073 cm2 device; 0.049 cm2 is the separately certified aperture.","supplementary_evidence":"Supplementary Table 3 reports Jsc=14.2-15.6 mA/cm2 across 26 tandem devices and the 15.6 mA/cm2 champion central value. Supplementary Figure 22 independently reports 15.77/15.90 mA/cm2 reverse/forward certified scans for a distinct small-area sample."}},"observed":{"Voc_V":2.015846286901602,"Jsc_A_m2":145.74744780860283,"FF":0.7705290211429362,"PCE_percent":22.638485641430208,"top_photon_budget_A_m2":152.71911970548558,"bottom_photon_budget_A_m2":152.76325835909432,"top_subcell_Jsc_A_m2":145.74744780860283,"bottom_subcell_Jsc_A_m2":146.49032957761924,"subcell_current_mismatch_percent":0.5084091287996708},"regression_tolerance":{"Voc_V":0.005,"Jsc_A_m2":0.5,"FF":0.005,"PCE_percent":0.1,"top_photon_budget_A_m2":0.5,"bottom_photon_budget_A_m2":0.5,"top_subcell_Jsc_A_m2":0.5,"bottom_subcell_Jsc_A_m2":0.5,"subcell_current_mismatch_percent":0.2},"limitations":["wide-gap and SnPb optical constants are rigid-shift placeholders","the source layer sequence and reported thicknesses are transcribed, while unreported ITO/PTAA/PEDOT thicknesses remain explicit assumptions","PTAA and BCP optical data and several electrical parameters remain explicit proxies","all four tandem metrics pass a broad 10 percent paper window","both photon budgets pass and the sub-cell currents match within 0.508 percent","the proxy-optics budgets remain about 2.1 percent below the champion 15.6 mA/cm2 central value, so exact champion parity is not claimed"]}}, +{"id":"benchmark-5ddcacfc324796c7","kind":"benchmark_registration","current_path":"perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml","route_id":"route-f13ea1085e6c91d1","origin_key":"benchmark:loader-contract","source_key":"benchmarks.loader-contract","scientific_status":"pass","scientific_status_source":"inherited_registry_not_reexecuted","evidence_level":"registry_source_and_validator_pass","registered_contract":{"kind":"schema","status":"pass","claim_level":"structural","command":"pytest -q tests/reproducibility/test_matrix.py","tests":["tests/reproducibility/test_matrix.py"],"node_ids":["tests/reproducibility/test_matrix.py::test_matrix_covers_and_loads_every_shipped_config"],"configs":["tests/fixtures/configs/cSi_homojunction.yaml","configs/calado2016_fig1f.yaml","configs/calado2016_ion_sweep.yaml","tests/fixtures/configs/csi_gaussian_bulk_trap_pn_research.yaml","tests/fixtures/configs/csi_degenerate_pn_research.yaml","tests/fixtures/configs/csi_incomplete_ionization_bgn_pn_research.yaml","tests/fixtures/configs/csi_incomplete_ionization_pn_research.yaml","tests/fixtures/configs/csi_vannijen2025_pn_cv.yaml","tests/fixtures/configs/cigs_baseline.yaml","tests/fixtures/configs/cigs_graded_optics.yaml","tests/fixtures/configs/cigs_graded_notch.yaml","tests/fixtures/configs/dual_ion_demo.yaml","tests/fixtures/configs/driftfusion_benchmark.yaml","tests/fixtures/configs/driftfusion_benchmark_tmm.yaml","tests/fixtures/configs/driftfusion_calado2016_repro.yaml","tests/fixtures/configs/distributed_defect_qf_dc_pn.yaml","tests/fixtures/configs/dynamic_defect_ion_impedance.yaml","tests/fixtures/configs/dynamic_interface_defect_ion_transient.yaml","tests/fixtures/configs/dynamic_interface_defect_ion_transient_absorber_only.yaml","tests/fixtures/configs/graded_distributed_defect_qf_dc_pn.yaml","tests/fixtures/configs/field_mobility_demo.yaml","tests/fixtures/configs/interface_charge_jv_research.yaml","tests/fixtures/configs/interface_charge_reference.yaml","tests/fixtures/configs/interface_charge_research.yaml","tests/fixtures/configs/ionmonger_benchmark.yaml","tests/fixtures/configs/ionmonger_benchmark_tmm.yaml","tests/fixtures/configs/ionmonger_courtier2019_repro.yaml","tests/fixtures/configs/nip_MAPbI3.yaml","tests/fixtures/configs/nip_MAPbI3_tmm.yaml","tests/fixtures/configs/nip_SnPb_1p22.yaml","tests/fixtures/configs/nip_wideGap_FACs_1p77.yaml","tests/fixtures/configs/pin_MAPbI3.yaml","tests/fixtures/configs/pin_MAPbI3_tmm.yaml","tests/fixtures/configs/radiative_limit.yaml","tests/fixtures/configs/scaps_defect_m1_double_donor_p.yaml","tests/fixtures/configs/scaps_defect_m2_double_acceptor_n.yaml","tests/fixtures/configs/scaps_defect_m3_amphoteric_i.yaml","tests/fixtures/configs/scaps_defect_s0_neutral.yaml","tests/fixtures/configs/scaps_defect_s1_acceptor_n.yaml","tests/fixtures/configs/scaps_defect_s2_donor_p.yaml","tests/fixtures/configs/scaps_mirror.yaml","configs/scaps_mirror_v2.yaml","tests/fixtures/configs/scaps_mirror_v2_robin_moderate.yaml","tests/fixtures/configs/scaps_mirror_v2_robin_strong.yaml","tests/fixtures/configs/selective_contacts_demo.yaml","tests/fixtures/configs/solarscale_nip_band_aligned.yaml","tests/fixtures/configs/solarscale_nip_band_aligned_iface.yaml","tests/fixtures/configs/tandem_lin2019.yaml","tests/fixtures/configs/wkb_tunnelling_intraband_spike.yaml","tests/fixtures/configs/wkb_resolved_electron_barrier.yaml","tests/fixtures/configs/tpv_physical_reference.yaml","tests/fixtures/configs/twod/bcx_combined_demo.yaml","tests/fixtures/configs/twod/combined_mobile_interface_research.yaml","tests/fixtures/configs/twod/nip_MAPbI3_singleGB.yaml","tests/fixtures/configs/twod/nip_MAPbI3_uniform.yaml"]}}, +{"id":"benchmark-f243dcb4f5a72c41","kind":"benchmark_registration","current_path":"perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml","route_id":"route-f13ea1085e6c91d1","origin_key":"benchmark:multivalent-explicit-defect-internal-closure","source_key":"benchmarks.multivalent-explicit-defect-internal-closure","scientific_status":"pass","scientific_status_source":"inherited_registry_not_reexecuted","evidence_level":"registry_source_and_validator_pass","registered_contract":{"kind":"numerical","status":"pass","claim_level":"internal-numerical-candidate","command":"pytest -q tests/unit/models/test_multivalent_defect_schema.py tests/unit/models/test_multivalent_defect_loader.py tests/unit/physics/test_multivalent_defect_closure.py tests/unit/physics/test_multivalent_defect_device.py tests/integration/test_multivalent_explicit_defects_qf.py tests/unit/validation/test_multivalent_defect_refinement.py","tests":["tests/unit/models/test_multivalent_defect_schema.py","tests/unit/models/test_multivalent_defect_loader.py","tests/unit/physics/test_multivalent_defect_closure.py","tests/unit/physics/test_multivalent_defect_device.py","tests/integration/test_multivalent_explicit_defects_qf.py","tests/unit/validation/test_multivalent_defect_refinement.py"],"node_ids":["tests/unit/models/test_multivalent_defect_schema.py::test_v4_document_roundtrip_hash_and_shared_density_are_stable","tests/unit/models/test_multivalent_defect_loader.py::test_layer_parser_builds_the_canonical_v4_document","tests/unit/physics/test_multivalent_defect_closure.py::test_single_transition_unity_limit_recovers_d2_exact_local_closure","tests/unit/physics/test_multivalent_defect_device.py::test_full_grid_evaluation_matches_the_region_source_closure","tests/integration/test_multivalent_explicit_defects_qf.py::test_single_transition_v4_device_recovers_the_monovalent_qf_dc_route","tests/unit/validation/test_multivalent_defect_refinement.py::test_registered_executor_real_cell_matches_exact_contract"],"configs":["tests/fixtures/configs/scaps_defect_m1_double_donor_p.yaml","tests/fixtures/configs/scaps_defect_m2_double_acceptor_n.yaml","tests/fixtures/configs/scaps_defect_m3_amphoteric_i.yaml"],"limitations":["the source-clean 3x3 lane is internal SolarLab grid and tolerance evidence, not SCAPS parity or experimental validation","multivalent defects execute only through the opt-in QF/DC path on uniform layers; graded, dynamic, AC, transient, interface, mobile-ion and structured-DAE routes remain fail-closed","metastable configurations are contract-only at this checkpoint and are not executed by this lane"]}}, +{"id":"benchmark-ac91c699b18d14f4","kind":"benchmark_registration","current_path":"perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml","route_id":"route-f13ea1085e6c91d1","origin_key":"benchmark:phase1-refinement-contract","source_key":"benchmarks.phase1-refinement-contract","scientific_status":"pass","scientific_status_source":"inherited_registry_not_reexecuted","evidence_level":"registry_source_and_validator_pass","registered_contract":{"kind":"schema","status":"pass","claim_level":"structural-numerical-contract","command":"pytest -q tests/regression/test_tolerance_grid_refinement.py","tests":["tests/regression/test_tolerance_grid_refinement.py"],"node_ids":["tests/regression/test_tolerance_grid_refinement.py::test_preregistered_numerical_lanes_and_thresholds_are_immutable","tests/regression/test_tolerance_grid_refinement.py::test_certificate_distinguishes_certified_partial_and_failed","tests/regression/test_tolerance_grid_refinement.py::test_refinement_runner_resumes_content_addressed_cells_without_overwrite","tests/regression/test_tolerance_grid_refinement.py::test_failed_cell_can_be_retried_without_deleting_prior_artifact","tests/regression/test_tolerance_grid_refinement.py::test_refinement_runner_rejects_historical_reference_output_root","tests/regression/test_tolerance_grid_refinement.py::test_protocol_hash_is_manifested_and_inconsistency_fails_closed","tests/regression/test_tolerance_grid_refinement.py::test_plan_refinement_is_read_only"],"configs":["tests/fixtures/configs/cSi_homojunction.yaml","tests/fixtures/configs/csi_gaussian_bulk_trap_pn_research.yaml","tests/fixtures/configs/csi_degenerate_pn_research.yaml","tests/fixtures/configs/csi_incomplete_ionization_bgn_pn_research.yaml","tests/fixtures/configs/csi_incomplete_ionization_pn_research.yaml","tests/fixtures/configs/csi_vannijen2025_pn_cv.yaml","tests/fixtures/configs/cigs_graded_optics.yaml","tests/fixtures/configs/distributed_defect_qf_dc_pn.yaml","tests/fixtures/configs/dynamic_defect_ion_impedance.yaml","tests/fixtures/configs/dynamic_interface_defect_ion_transient.yaml","tests/fixtures/configs/dynamic_interface_defect_ion_transient_absorber_only.yaml","tests/fixtures/configs/graded_distributed_defect_qf_dc_pn.yaml","tests/fixtures/configs/interface_charge_jv_research.yaml","tests/fixtures/configs/interface_charge_reference.yaml","tests/fixtures/configs/interface_charge_research.yaml","tests/fixtures/configs/ionmonger_benchmark.yaml","tests/fixtures/configs/nip_MAPbI3.yaml","tests/fixtures/configs/scaps_defect_m1_double_donor_p.yaml","tests/fixtures/configs/scaps_defect_s1_acceptor_n.yaml","tests/fixtures/configs/scaps_mirror.yaml","configs/scaps_mirror_v2.yaml","tests/fixtures/configs/wkb_tunnelling_intraband_spike.yaml","tests/fixtures/configs/wkb_resolved_electron_barrier.yaml","tests/fixtures/configs/twod/combined_mobile_interface_research.yaml","tests/fixtures/configs/tpv_physical_reference.yaml","tests/fixtures/configs/twod/nip_MAPbI3_uniform.yaml"],"limitations":["this passing benchmark certifies the immutable schema and runner mechanics only","no pre-registered physical lane is promoted until its content-addressed matrix closes"]}}, +{"id":"benchmark-beb35201a660895f","kind":"benchmark_registration","current_path":"perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml","route_id":"route-f13ea1085e6c91d1","origin_key":"benchmark:scaps-cbo-trend","source_key":"benchmarks.scaps-cbo-trend","scientific_status":"pass","scientific_status_source":"inherited_registry_not_reexecuted","evidence_level":"registry_source_and_validator_pass","registered_contract":{"kind":"internal","status":"pass","claim_level":"qualitative-trend","command":"pytest -q -m slow tests/integration/test_scaps_mirror_cbo_trend.py","tests":["tests/integration/test_scaps_mirror_cbo_trend.py"],"node_ids":["tests/integration/test_scaps_mirror_cbo_trend.py::test_cbo_voc_drops_at_cliff","tests/integration/test_scaps_mirror_cbo_trend.py::test_cbo_voc_range_at_least_200mV","tests/integration/test_scaps_mirror_cbo_trend.py::test_cbo_voc_holds_at_spike"],"configs":["tests/fixtures/configs/scaps_mirror.yaml"]}}, +{"id":"benchmark-64d717e2afaf62b7","kind":"benchmark_registration","current_path":"perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml","route_id":"route-f13ea1085e6c91d1","origin_key":"benchmark:scaps-low-doping-etl-boundary","source_key":"benchmarks.scaps-low-doping-etl-boundary","scientific_status":"pass","scientific_status_source":"inherited_registry_not_reexecuted","evidence_level":"registry_source_and_validator_pass","registered_contract":{"kind":"internal","status":"pass","claim_level":"calibrated-boundary-condition-regression","command":"pytest -q -m slow tests/unit/experiments/test_steady_state.py -k low_doping_etl","tests":["tests/unit/experiments/test_steady_state.py"],"node_ids":["tests/unit/experiments/test_steady_state.py::test_low_doping_etl_metal_reservoir_brackets_physical_voc","tests/unit/experiments/test_steady_state.py::test_low_doping_etl_without_metal_reservoir_is_explicit_no_crossing"],"configs":["configs/scaps_mirror_v2.yaml"],"limitations":["the metal-reservoir contact barrier is a calibrated model parameter","the 60 mV SCAPS comparison window is not an independent holdout validation"]}}, +{"id":"benchmark-4e5dfc48e60736d0","kind":"benchmark_registration","current_path":"perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml","route_id":"route-f13ea1085e6c91d1","origin_key":"benchmark:spatial-explicit-defect-internal-closure","source_key":"benchmarks.spatial-explicit-defect-internal-closure","scientific_status":"pass","scientific_status_source":"inherited_registry_not_reexecuted","evidence_level":"registry_source_and_validator_pass","registered_contract":{"kind":"numerical","status":"pass","claim_level":"internal-numerical-candidate","command":"pytest -q tests/unit/physics/test_distributed_defect_closure.py tests/integration/test_spatially_graded_explicit_defects_qf.py tests/unit/validation/test_spatial_defect_refinement.py","tests":["tests/unit/physics/test_distributed_defect_closure.py","tests/integration/test_spatially_graded_explicit_defects_qf.py","tests/unit/validation/test_spatial_defect_refinement.py"],"node_ids":["tests/unit/physics/test_distributed_defect_closure.py::test_nearly_saturated_tail_mean_stays_bounded_without_clipping","tests/integration/test_spatially_graded_explicit_defects_qf.py::test_spatially_graded_dark_qf_state_and_small_jv_are_certified","tests/unit/validation/test_spatial_defect_refinement.py::test_registered_executor_real_cell_matches_exact_contract"],"configs":["tests/fixtures/configs/graded_distributed_defect_qf_dc_pn.yaml"],"limitations":["the immutable v1 source-clean matrix completed 9/9 cells and 349/350 checks but remains partial because the coarsest grid-64 solve exceeded the frozen dark-current gate","v2 retains every v1 grid, factor, observable, and gate while tightening only the base Newton residual tolerance from 1e-8 to 1e-9","the v2 source-clean matrix at commit 1c356b6 completed 9/9 cells and 350/350 checks with certificate SHA-256 a46cc7c190402225dab099ac59ed3ea555b01e337534699ca30f3263ae149bc1","the lane is restricted to a two-layer band-graded Maxwell-Boltzmann quasi-steady QF/DC device with frozen/no mobile ions","interfaces, AC, transient occupancy, tunnelling, multivalent defects, external SCAPS parity, and experimental validation remain absent"]}}, +{"id":"benchmark-a8032d8160a5c7e3","kind":"benchmark_registration","current_path":"perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml","route_id":"route-f13ea1085e6c91d1","origin_key":"benchmark:tmm-jsc-regression","source_key":"benchmarks.tmm-jsc-regression","scientific_status":"pass","scientific_status_source":"inherited_registry_not_reexecuted","evidence_level":"registry_source_and_validator_pass","registered_contract":{"kind":"internal","status":"pass","claim_level":"pinned-regression","command":"pytest -q -m slow tests/regression/test_tmm_baseline.py","tests":["tests/regression/test_tmm_baseline.py"],"node_ids":["tests/regression/test_tmm_baseline.py::test_nip_tmm_baseline_jsc","tests/regression/test_tmm_baseline.py::test_pin_tmm_baseline_jsc"],"configs":["tests/fixtures/configs/nip_MAPbI3_tmm.yaml","tests/fixtures/configs/pin_MAPbI3_tmm.yaml"],"limitations":["fixtures explicitly use the historical whole-flux steric-ion protocol","this isolates the optical TMM pin and does not certify shipped-default ionic transport"]}}, +{"id":"benchmark-63f25334baabb168","kind":"benchmark_registration","current_path":"perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml","route_id":"route-f13ea1085e6c91d1","origin_key":"benchmark:twod-combined-mobile-interface-internal-closure","source_key":"benchmarks.twod-combined-mobile-interface-internal-closure","scientific_status":"pass","scientific_status_source":"inherited_registry_not_reexecuted","evidence_level":"registry_source_and_validator_pass","registered_contract":{"kind":"numerical","status":"pass","claim_level":"internal-numerical-candidate","command":"pytest -q tests/integration/test_twod_combined_refinement.py tests/unit/validation/test_twod_combined_refinement.py","tests":["tests/integration/test_twod_combined_refinement.py","tests/unit/validation/test_twod_combined_refinement.py"],"node_ids":["tests/integration/test_twod_combined_refinement.py::test_real_registered_combined_twod_cell_returns_all_certificate_axes","tests/unit/validation/test_twod_combined_refinement.py::test_combined_twod_executor_matches_registry_and_explicit_protocol","tests/unit/validation/test_twod_combined_refinement.py::test_combined_twod_executor_fails_closed_on_missing_point_evidence","tests/unit/validation/test_twod_combined_refinement.py::test_combined_twod_executor_rejects_malformed_clamp_evidence"],"configs":["tests/fixtures/configs/twod/combined_mobile_interface_research.yaml"],"limitations":["the source-clean 3x3 matrix is internally certified at commit 0c9eb26 with certificate SHA-256 b02bc4f8b3b5d470d599f6dacde746b26c263591aafecd14cc6c890a94b677dd","the fast positive-ion diffusivity and all interface and grain-boundary parameters are synthetic numerical stress inputs","this is internal conservation and convergence evidence, not an external simulator, measured-device, or material-parameter validation"]}}, +{"id":"benchmark-979ee3060444ba30","kind":"benchmark_registration","current_path":"perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml","route_id":"route-f13ea1085e6c91d1","origin_key":"benchmark:twod-radiative-reabsorption","source_key":"benchmarks.twod-radiative-reabsorption","scientific_status":"pass","scientific_status_source":"inherited_registry_not_reexecuted","evidence_level":"registry_source_and_validator_pass","registered_contract":{"kind":"internal","status":"pass","claim_level":"qualitative-trend","command":"pytest -q -m slow tests/regression/test_twod_validation.py::test_twod_radiative_reabsorption_voc_boost_in_literature_window","tests":["tests/regression/test_twod_validation.py"],"node_ids":["tests/regression/test_twod_validation.py::test_twod_radiative_reabsorption_voc_boost_in_literature_window"],"configs":["tests/fixtures/configs/radiative_limit.yaml"]}}, +{"id":"benchmark-7e320e9d039d49bd","kind":"benchmark_registration","current_path":"perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml","route_id":"route-f13ea1085e6c91d1","origin_key":"benchmark:twod-uniform-parity","source_key":"benchmarks.twod-uniform-parity","scientific_status":"pass","scientific_status_source":"inherited_registry_not_reexecuted","evidence_level":"registry_source_and_validator_pass","registered_contract":{"kind":"internal","status":"pass","claim_level":"dimensional-parity","command":"pytest -q -m slow tests/regression/test_twod_validation.py::test_twod_uniform_matches_1d_within_tolerance","tests":["tests/regression/test_twod_validation.py"],"node_ids":["tests/regression/test_twod_validation.py::test_twod_uniform_matches_1d_within_tolerance"],"configs":["tests/fixtures/configs/twod/nip_MAPbI3_uniform.yaml"]}}, +{"id":"benchmark-a1a396a1f7b2045c","kind":"benchmark_registration","current_path":"perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml","route_id":"route-f13ea1085e6c91d1","origin_key":"benchmark:vannijen2025-csi-pn-cv","source_key":"benchmarks.vannijen2025-csi-pn-cv","scientific_status":"partial","scientific_status_source":"inherited_registry_not_reexecuted","evidence_level":"registry_source_and_validator_pass","registered_contract":{"kind":"external","status":"partial","claim_level":"partial_external_comparison","evidence_tier":"independent-numerical-source-with-geometry-mismatch","source_url":"https://doi.org/10.1016/j.solmat.2024.113383","data_url":"https://doi.org/10.4121/19445ed8-c8d5-4204-a8c6-adaa7a55ece3.v1","reference_resource":"perovskite_sim/data/references/csi_vannijen2025_pn_cv.yaml","source_solver":{"name":"Synopsys Sentaurus Device","exact_version_frozen":false,"raw_output_content_addressed":true,"raw_output_vendored":false,"limitation":"the proprietary 2-D Sentaurus input deck is not in the public dataset"},"command":"OPENBLAS_NUM_THREADS=1 pytest -q -m slow tests/validation/test_csi_vannijen2025_cv.py","tests":["tests/validation/test_csi_vannijen2025_cv.py"],"node_ids":["tests/validation/test_csi_vannijen2025_cv.py::test_vannijen_source_rows_reproduce_frozen_author_extraction","tests/validation/test_csi_vannijen2025_cv.py::test_vannijen_config_maps_published_profile_without_curve_calibration","tests/validation/test_csi_vannijen2025_cv.py::test_vannijen_local_cv_is_residual_certified_and_grid_converged","tests/validation/test_csi_vannijen2025_cv.py::test_vannijen_cv_records_partial_agreement_not_pointwise_parity","tests/validation/test_csi_vannijen2025_cv.py::test_vannijen_observations_match_reproducibility_registry"],"configs":["tests/fixtures/configs/csi_vannijen2025_pn_cv.yaml"],"protocol":{"source":{"solver":"2-D Sentaurus Device small-signal AC","temperature_K":298.15,"selected_frequency_Hz":101996.13,"biases_V":[0.0,0.1,0.2],"ac_amplitude":"infinitesimal linearized perturbation","geometry":"200 um by 500 um device with 50 um contacts","extraction":"author series-resistance-corrected junction capacitance"},"local":{"solver":"1-D residual-certified QF frequency-domain linearization","N_grid":[400,600,800],"grid_interval_weights":{"p_gaussian_emitter":1.0,"n_base":1.0},"grid_alphas":{"p_gaussian_emitter":1.0,"n_base":3.0},"biases_V":[0.0,0.1,0.2],"frequency_Hz":101996.13,"nominal_delta_V":0.01,"newton_residual_tolerance":1e-08,"pointwise_parity_relative_error":0.1,"certificates":{"max_dc_normalized_cell_residual":1e-08,"max_continuity_bound_A_m2":0.0001,"max_dc_face_current_spread_A_m2":0.0001,"max_ac_relative_face_spread":0.0005,"max_linear_solve_backward_error":1e-10,"max_finest_grid_curve_change":0.0005}}},"calibration":{"parameters":[],"targets":[]},"non_calibration_checks":["Gaussian emitter profile and junction depth","source admittance-to-capacitance extraction","local DC and AC physical certificates","local grid convergence","pointwise depletion-window C-V discrepancy"],"observed":{"source_capacitance_F_m2":[6.49536934024684e-05,6.55253261657715e-05,6.899838119228747e-05],"local_capacitance_F_m2":{"400":[7.775231887926957e-05,8.422366483944331e-05,9.35287885554464e-05],"600":[7.776213237182512e-05,8.42375723520279e-05,9.355074893362648e-05],"800":[7.776554653558995e-05,8.424247491411392e-05,9.355836147996686e-05]},"pointwise_relative_error_N800":[0.197245952647162,0.285647547957109,0.355950094238221],"max_pointwise_relative_error":0.355950094238221,"rms_pointwise_relative_error":0.287054557577355,"adjacent_max_local_curve_changes":[0.000234742943593866,8.13668198112934e-05]},"regression_tolerance":{"source_capacitance_F_m2":1e-12,"local_capacitance_F_m2":1e-06,"pointwise_relative_error_N800":1e-06,"max_pointwise_relative_error":1e-06,"rms_pointwise_relative_error":1e-06,"adjacent_max_local_curve_changes":0.0001},"limitations":["source and local curves are independently generated numerical results, not experiment-to-model validation","source geometry is 2-D with partial-width contacts while SolarLab is 1-D and full-area","the public dataset freezes raw output and extraction code but not the proprietary Sentaurus input deck or exact solver version","paper-unspecified Sentaurus transport and recombination settings cannot be made identical to SolarLab's documented c-Si assumptions","SolarLab truncates the Gaussian acceptor tail at 15 um where it is 1e-5 of the donor density","SolarLab exceeds the source capacitance by 19.7 to 35.6 percent in the registered depletion window, so pointwise parity is not claimed","the registered 1e-8 Newton residual gate is looser than the default 1e-10 numerical target but remains four orders below the physical continuity gate"]}}, +{"id":"benchmark-e049e24da73bc454","kind":"benchmark_registration","current_path":"perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml","route_id":"route-f13ea1085e6c91d1","origin_key":"benchmark:wkb-resolved-electron-internal-closure","source_key":"benchmarks.wkb-resolved-electron-internal-closure","scientific_status":"pass","scientific_status_source":"inherited_registry_not_reexecuted","evidence_level":"registry_source_and_validator_pass","registered_contract":{"kind":"numerical","status":"pass","claim_level":"internal-numerical-candidate","command":"pytest -q tests/unit/physics/test_tunnelling_physical_levels.py tests/unit/physics/test_wkb_turning_point_action.py tests/unit/physics/test_intraband_nonlocal_transfer.py tests/unit/validation/test_resolved_tunnelling_refinement.py","tests":["tests/unit/physics/test_tunnelling_physical_levels.py","tests/unit/physics/test_wkb_turning_point_action.py","tests/unit/physics/test_intraband_nonlocal_transfer.py","tests/unit/validation/test_resolved_tunnelling_refinement.py"],"node_ids":["tests/unit/physics/test_tunnelling_physical_levels.py::test_device_supplies_physical_levels_with_dos_contrast","tests/unit/physics/test_wkb_turning_point_action.py::test_single_forbidden_node_is_a_finite_triangle_not_a_transparent_path","tests/unit/physics/test_intraband_nonlocal_transfer.py::test_transfer_conserves_particles_and_dissipates_the_chemical_drive","tests/unit/physics/test_intraband_nonlocal_transfer.py::test_equal_nonsaturated_occupations_give_exactly_zero_transfer","tests/unit/validation/test_resolved_tunnelling_refinement.py::test_real_resolved_cell_has_a_conservative_observable_electron_channel"],"configs":["tests/fixtures/configs/wkb_resolved_electron_barrier.yaml"],"limitations":["One dark, 300 K, Boltzmann intraband electron barrier with fixed unfitted supply prefactor. Numerical scope is independent of SCAPS, quantum-scattering prefactor validation and material calibration.","The v2 grid/tolerance matrix and its internal energy ladder have their own source-bound certificate. No result is inherited from the retracted v1 study. See docs/ResolvedIntrabandTunnellingContractV2.md for the physical and numerical scope; this does not complete the full foundation-stage validation."]}}, +{"id":"benchmark-5ac658e026793692","kind":"benchmark_registration","current_path":"perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml","route_id":"route-f13ea1085e6c91d1","origin_key":"benchmark:wkb-tunnelling-channel-internal-closure","source_key":"benchmarks.wkb-tunnelling-channel-internal-closure","scientific_status":"partial","scientific_status_source":"inherited_registry_not_reexecuted","evidence_level":"registry_source_and_validator_pass","registered_contract":{"kind":"numerical","status":"partial","claim_level":"internal-numerical-candidate","command":"pytest -q tests/unit/physics/test_wkb_tunneling.py tests/unit/physics/test_wkb_local_windows.py tests/unit/physics/test_tunneling_channels.py tests/integration/test_tunnelling_channels_device.py tests/unit/validation/test_tunnelling_channel_refinement.py","tests":["tests/unit/physics/test_wkb_tunneling.py","tests/unit/physics/test_wkb_local_windows.py","tests/unit/physics/test_tunneling_channels.py","tests/integration/test_tunnelling_channels_device.py","tests/unit/validation/test_tunnelling_channel_refinement.py"],"node_ids":["tests/unit/physics/test_wkb_tunneling.py::test_equal_occupations_give_an_exactly_zero_net_flux","tests/unit/physics/test_wkb_local_windows.py::test_two_band_action_matches_the_closed_form_zener_exponent","tests/unit/physics/test_wkb_local_windows.py::test_forbidden_run_isolates_the_barrier_containing_the_face","tests/unit/physics/test_tunneling_channels.py::test_a_disabled_channel_refuses_rather_than_returning_zero","tests/integration/test_tunnelling_channels_device.py::test_retracted_fixture_does_not_retain_the_old_large_flux_claim","tests/integration/test_tunnelling_channels_device.py::test_equilibrium_device_current_is_bounded_without_saturated_occupations","tests/integration/test_tunnelling_channels_device.py::test_the_channel_is_driven_by_the_local_drop_not_the_contact_split","tests/unit/validation/test_tunnelling_channel_refinement.py::test_lane_declares_a_three_by_three_matrix_and_an_energy_ladder","tests/unit/validation/test_tunnelling_channel_refinement.py::test_the_channel_flux_is_an_observable_not_only_the_terminal_current"],"configs":["tests/fixtures/configs/wkb_tunnelling_intraband_spike.yaml"],"limitations":["The historical v1 device claims are retracted. Their original thresholds remain registered, and current v2 physics is not expected to satisfy the old single-face injection or exact device-equilibrium zero assertions.","Internal numerical convergence and structural identities only. No SCAPS tunnelling deck is compared and no channel magnitude is validated against any reference; the supply prefactor is an unfitted estimate.","The retained v1 fixture is a historical counterexample. Current device support is one resolved intraband electron material barrier; other channel families require separate conservative coupling. Illumination, AC and transient tunnelling are not covered by its replacement numerical certificate."]}}, +{"id":"config-120d654b9286cff7","kind":"configured_model_combination","current_path":"perovskite-sim/configs/calado2016_fig1f.yaml","route_id":"route-310acb5aa128b161","origin_key":"config:configs/calado2016_fig1f.yaml","loaded_schema":"standard-device-v1","runtime_load_ok":true,"evidence_level":"cold_loader_and_semantic_hash_validation","registered_contract":{"path":"configs/calado2016_fig1f.yaml","sha256":"825d77f15bcfb3e550cc601231a9b6ce07ca11fe185a3eb7d7ef121d54c0ec2a","semantic_sha256":"03df72ff9c6fe66711b213678dac1a754d500363e9d8c7c43f581d883c200f72","schema":"standard-device-v1","status":"load_only","benchmarks":["loader-contract"]},"resolved_mode_ceiling":{"name":"legacy","use_thermionic_emission":false,"use_tmm_optics":false,"use_dual_ions":false,"use_trap_profile":false,"use_temperature_scaling":false,"use_photon_recycling":false,"use_radiative_reabsorption":false,"use_field_dependent_mobility":false,"use_selective_contacts":false}}, +{"id":"config-49ed4d175e93db68","kind":"configured_model_combination","current_path":"perovskite-sim/configs/calado2016_ion_sweep.yaml","route_id":"route-7472798ebe5d8f74","origin_key":"config:configs/calado2016_ion_sweep.yaml","loaded_schema":"standard-device-v1","runtime_load_ok":true,"evidence_level":"cold_loader_and_semantic_hash_validation","registered_contract":{"path":"configs/calado2016_ion_sweep.yaml","sha256":"2b436f161a62c9edb2f0b1bbbcf0d2d6a5f27471d2a5d296952173c4baadea9c","semantic_sha256":"4d059fdb1334dd12a2e53c06ba7f66a5fe2e444953209a8be093b9f4165b1ba1","schema":"standard-device-v1","status":"load_only","benchmarks":["loader-contract"]},"resolved_mode_ceiling":{"name":"full","use_thermionic_emission":true,"use_tmm_optics":true,"use_dual_ions":true,"use_trap_profile":true,"use_temperature_scaling":true,"use_photon_recycling":true,"use_radiative_reabsorption":true,"use_field_dependent_mobility":true,"use_selective_contacts":true}}, +{"id":"config-877a0fa11e2c2506","kind":"configured_model_combination","current_path":"perovskite-sim/configs/scaps_mirror_v2.yaml","route_id":"route-84c80fa1daa339dc","origin_key":"config:configs/scaps_mirror_v2.yaml","loaded_schema":"scaps-device-v1","runtime_load_ok":true,"evidence_level":"cold_loader_and_semantic_hash_validation","registered_contract":{"path":"configs/scaps_mirror_v2.yaml","sha256":"5500c9485f6a9518430511019546933277cdc3274fd3a005182394f39d2fcf67","semantic_sha256":"813580bccbe13cdf78d203910b0c4eb31583bfdf779c8b7703f94ba823755071","schema":"scaps-device-v1","status":"partial","benchmarks":["loader-contract","scaps-low-doping-etl-boundary","phase1-refinement-contract"]},"resolved_mode_ceiling":{"name":"fast","use_thermionic_emission":true,"use_tmm_optics":true,"use_dual_ions":true,"use_trap_profile":true,"use_temperature_scaling":true,"use_photon_recycling":true,"use_radiative_reabsorption":false,"use_field_dependent_mobility":false,"use_selective_contacts":false}}, +{"id":"config-1b8adfa16822fda1","kind":"configured_model_combination","current_path":"perovskite-sim/tests/fixtures/configs/cSi_homojunction.yaml","route_id":"route-3e363a019e4cd064","origin_key":"config:tests/fixtures/configs/cSi_homojunction.yaml","loaded_schema":"standard-device-v1","runtime_load_ok":true,"evidence_level":"cold_loader_and_semantic_hash_validation","registered_contract":{"path":"tests/fixtures/configs/cSi_homojunction.yaml","sha256":"c179e087a6623c7d19dfc7f6a3af056e6fcd5a0382e2e2b0e1e26dc08d883c99","semantic_sha256":"33eb87b792f84b0c75a8b7f03804f99e3b5beb222963a4ba5a7d5f323b49c61b","schema":"standard-device-v1","status":"partial","benchmarks":["loader-contract","csi-grid-envelope-gap","csi-jv-driver-capability-boundary","csi-qf-internal-validation","csi-qf-frequency-domain-cv","phase1-refinement-contract"]},"resolved_mode_ceiling":{"name":"full","use_thermionic_emission":true,"use_tmm_optics":true,"use_dual_ions":true,"use_trap_profile":true,"use_temperature_scaling":true,"use_photon_recycling":true,"use_radiative_reabsorption":true,"use_field_dependent_mobility":true,"use_selective_contacts":true}}, +{"id":"config-1c6faf4572f42367","kind":"configured_model_combination","current_path":"perovskite-sim/tests/fixtures/configs/cigs_baseline.yaml","route_id":"route-21b0ff9630f8ae85","origin_key":"config:tests/fixtures/configs/cigs_baseline.yaml","loaded_schema":"standard-device-v1","runtime_load_ok":true,"evidence_level":"cold_loader_and_semantic_hash_validation","registered_contract":{"path":"tests/fixtures/configs/cigs_baseline.yaml","sha256":"46dabc8418b7060a2124206793f3b6f07a01f35826b6b537591c64dbd2abe4af","semantic_sha256":"bdde999ebbeae9ec96f815ea3e2195a094653b26916235b178da611cc4b4d2fd","schema":"standard-device-v1","status":"partial","benchmarks":["loader-contract","cigs-internal-validation"]},"resolved_mode_ceiling":{"name":"full","use_thermionic_emission":true,"use_tmm_optics":true,"use_dual_ions":true,"use_trap_profile":true,"use_temperature_scaling":true,"use_photon_recycling":true,"use_radiative_reabsorption":true,"use_field_dependent_mobility":true,"use_selective_contacts":true}}, +{"id":"config-fff6408a931f97d8","kind":"configured_model_combination","current_path":"perovskite-sim/tests/fixtures/configs/cigs_graded_notch.yaml","route_id":"route-5c1b3eb8a6a7f4e5","origin_key":"config:tests/fixtures/configs/cigs_graded_notch.yaml","loaded_schema":"standard-device-v1","runtime_load_ok":true,"evidence_level":"cold_loader_and_semantic_hash_validation","registered_contract":{"path":"tests/fixtures/configs/cigs_graded_notch.yaml","sha256":"d622f92e21face4e9a9e1780300566e1cda8c77d0e5e10171882f6cb8d7a5185","semantic_sha256":"0fa1c657b61daa10a80e610219f2a235b10b33e048691516ed38a04d67c93582","schema":"standard-device-v1","status":"partial","benchmarks":["loader-contract","cigs-internal-validation"]},"resolved_mode_ceiling":{"name":"full","use_thermionic_emission":true,"use_tmm_optics":true,"use_dual_ions":true,"use_trap_profile":true,"use_temperature_scaling":true,"use_photon_recycling":true,"use_radiative_reabsorption":true,"use_field_dependent_mobility":true,"use_selective_contacts":true}}, +{"id":"config-b20df488cea4c952","kind":"configured_model_combination","current_path":"perovskite-sim/tests/fixtures/configs/cigs_graded_optics.yaml","route_id":"route-8db8765abf5ee9f3","origin_key":"config:tests/fixtures/configs/cigs_graded_optics.yaml","loaded_schema":"standard-device-v1","runtime_load_ok":true,"evidence_level":"cold_loader_and_semantic_hash_validation","registered_contract":{"path":"tests/fixtures/configs/cigs_graded_optics.yaml","sha256":"9539deb2d0883838c9dac42dd95aae41eafb109e9d83205c3273fbd8df0e0fbd","semantic_sha256":"a78884b0074063e50076ac6f2382bd199375e034d263ad76261fd4f83a7a185f","schema":"standard-device-v1","status":"certified","benchmarks":["loader-contract","phase1-refinement-contract","cigs-graded-optics-internal-closure"]},"resolved_mode_ceiling":{"name":"full","use_thermionic_emission":true,"use_tmm_optics":true,"use_dual_ions":true,"use_trap_profile":true,"use_temperature_scaling":true,"use_photon_recycling":true,"use_radiative_reabsorption":true,"use_field_dependent_mobility":true,"use_selective_contacts":true}}, +{"id":"config-a70e9dce4d20e4a2","kind":"configured_model_combination","current_path":"perovskite-sim/tests/fixtures/configs/csi_degenerate_pn_research.yaml","route_id":"route-398332ff07802635","origin_key":"config:tests/fixtures/configs/csi_degenerate_pn_research.yaml","loaded_schema":"standard-device-v1","runtime_load_ok":true,"evidence_level":"cold_loader_and_semantic_hash_validation","registered_contract":{"path":"tests/fixtures/configs/csi_degenerate_pn_research.yaml","sha256":"6d707f97bc1632521b5176f55d6e004cc171636e0264e85aa4f20eadafe2dfcb","semantic_sha256":"bb6a036e6359172545d3b0f0cb47e368fe0ef0e4517f71341fda63a35eeee87d","schema":"standard-device-v1","status":"partial","benchmarks":["loader-contract","degenerate-pn-internal-closure","phase1-refinement-contract"]},"resolved_mode_ceiling":{"name":"full","use_thermionic_emission":true,"use_tmm_optics":true,"use_dual_ions":true,"use_trap_profile":true,"use_temperature_scaling":true,"use_photon_recycling":true,"use_radiative_reabsorption":true,"use_field_dependent_mobility":true,"use_selective_contacts":true}}, +{"id":"config-a169223267f9bbf5","kind":"configured_model_combination","current_path":"perovskite-sim/tests/fixtures/configs/csi_gaussian_bulk_trap_pn_research.yaml","route_id":"route-43fc090c275cc388","origin_key":"config:tests/fixtures/configs/csi_gaussian_bulk_trap_pn_research.yaml","loaded_schema":"standard-device-v1","runtime_load_ok":true,"evidence_level":"cold_loader_and_semantic_hash_validation","registered_contract":{"path":"tests/fixtures/configs/csi_gaussian_bulk_trap_pn_research.yaml","sha256":"7e8bf1ab6669bd8088cd402ef73aca1cd75c9ae1755d3137faf6650569ac481b","semantic_sha256":"3492a6fa6cd1774427a10c771fef10aecab40e74de872fa9777ce6b94de1238a","schema":"standard-device-v1","status":"partial","benchmarks":["loader-contract","bulk-trap-energy-distribution-internal-closure","phase1-refinement-contract"]},"resolved_mode_ceiling":{"name":"full","use_thermionic_emission":true,"use_tmm_optics":true,"use_dual_ions":true,"use_trap_profile":true,"use_temperature_scaling":true,"use_photon_recycling":true,"use_radiative_reabsorption":true,"use_field_dependent_mobility":true,"use_selective_contacts":true}}, +{"id":"config-506f7705b1a266e1","kind":"configured_model_combination","current_path":"perovskite-sim/tests/fixtures/configs/csi_incomplete_ionization_bgn_pn_research.yaml","route_id":"route-968f594d810f3811","origin_key":"config:tests/fixtures/configs/csi_incomplete_ionization_bgn_pn_research.yaml","loaded_schema":"standard-device-v1","runtime_load_ok":true,"evidence_level":"cold_loader_and_semantic_hash_validation","registered_contract":{"path":"tests/fixtures/configs/csi_incomplete_ionization_bgn_pn_research.yaml","sha256":"2fb63bd79a0f0917083d887e80301712d65b9ca46ace02bedb9cb5c5336e789b","semantic_sha256":"9262db6efde8a7ba5008f4a47797b99e3be80dafd96d38f311b17c5ad47d8f04","schema":"standard-device-v1","status":"partial","benchmarks":["loader-contract","incomplete-ionization-bgn-internal-closure","phase1-refinement-contract"]},"resolved_mode_ceiling":{"name":"full","use_thermionic_emission":true,"use_tmm_optics":true,"use_dual_ions":true,"use_trap_profile":true,"use_temperature_scaling":true,"use_photon_recycling":true,"use_radiative_reabsorption":true,"use_field_dependent_mobility":true,"use_selective_contacts":true}}, +{"id":"config-7eb77602abeb4485","kind":"configured_model_combination","current_path":"perovskite-sim/tests/fixtures/configs/csi_incomplete_ionization_pn_research.yaml","route_id":"route-90082a7daf0a2578","origin_key":"config:tests/fixtures/configs/csi_incomplete_ionization_pn_research.yaml","loaded_schema":"standard-device-v1","runtime_load_ok":true,"evidence_level":"cold_loader_and_semantic_hash_validation","registered_contract":{"path":"tests/fixtures/configs/csi_incomplete_ionization_pn_research.yaml","sha256":"d98b07049abfb17f44404eac91557338dad3a16341b6350d291d940c258abc72","semantic_sha256":"88030a3c1c45e293d393ab94f7ab3e3e4c100eaeb978417f10cd70d8bbc3d8a6","schema":"standard-device-v1","status":"partial","benchmarks":["loader-contract","incomplete-ionization-internal-closure","phase1-refinement-contract"]},"resolved_mode_ceiling":{"name":"full","use_thermionic_emission":true,"use_tmm_optics":true,"use_dual_ions":true,"use_trap_profile":true,"use_temperature_scaling":true,"use_photon_recycling":true,"use_radiative_reabsorption":true,"use_field_dependent_mobility":true,"use_selective_contacts":true}}, +{"id":"config-cad7c517167453b3","kind":"configured_model_combination","current_path":"perovskite-sim/tests/fixtures/configs/csi_vannijen2025_pn_cv.yaml","route_id":"route-ff10c28994924966","origin_key":"config:tests/fixtures/configs/csi_vannijen2025_pn_cv.yaml","loaded_schema":"standard-device-v1","runtime_load_ok":true,"evidence_level":"cold_loader_and_semantic_hash_validation","registered_contract":{"path":"tests/fixtures/configs/csi_vannijen2025_pn_cv.yaml","sha256":"eb4806e7167c258bd6fb5e47fe02ebadc92e8963055c06a73a5775a20178f5ad","semantic_sha256":"fa8aa79df971b420a11b9985abd9ff976eec1f7fb88ca66018b0a8106b9d4330","schema":"standard-device-v1","status":"partial","benchmarks":["loader-contract","vannijen2025-csi-pn-cv","phase1-refinement-contract"]},"resolved_mode_ceiling":{"name":"full","use_thermionic_emission":true,"use_tmm_optics":true,"use_dual_ions":true,"use_trap_profile":true,"use_temperature_scaling":true,"use_photon_recycling":true,"use_radiative_reabsorption":true,"use_field_dependent_mobility":true,"use_selective_contacts":true}}, +{"id":"config-f797930f7afd3a9f","kind":"configured_model_combination","current_path":"perovskite-sim/tests/fixtures/configs/distributed_defect_qf_dc_pn.yaml","route_id":"route-275402423fc4ed4a","origin_key":"config:tests/fixtures/configs/distributed_defect_qf_dc_pn.yaml","loaded_schema":"standard-device-v1","runtime_load_ok":true,"evidence_level":"cold_loader_and_semantic_hash_validation","registered_contract":{"path":"tests/fixtures/configs/distributed_defect_qf_dc_pn.yaml","sha256":"7a6b1c16d8ea313177e3a761660bd6b7bbb546b14aa23189f91a9187ff0904f8","semantic_sha256":"9a0d5095ffacc2b3be9b0b5b6ead96668e7572ff9b8edbfb1dd3a213f3f8ecd7","schema":"standard-device-v1","status":"certified","benchmarks":["loader-contract","phase1-refinement-contract","distributed-explicit-defect-internal-closure"]},"resolved_mode_ceiling":{"name":"full","use_thermionic_emission":true,"use_tmm_optics":true,"use_dual_ions":true,"use_trap_profile":true,"use_temperature_scaling":true,"use_photon_recycling":true,"use_radiative_reabsorption":true,"use_field_dependent_mobility":true,"use_selective_contacts":true}}, +{"id":"config-b79cea46ac78266f","kind":"configured_model_combination","current_path":"perovskite-sim/tests/fixtures/configs/driftfusion_benchmark.yaml","route_id":"route-1d3f212b77a58f9a","origin_key":"config:tests/fixtures/configs/driftfusion_benchmark.yaml","loaded_schema":"standard-device-v1","runtime_load_ok":true,"evidence_level":"cold_loader_and_semantic_hash_validation","registered_contract":{"path":"tests/fixtures/configs/driftfusion_benchmark.yaml","sha256":"3e4cea0244bcb71072194d24ff5a31e50eb780d8d93dc8bc2343a8032de3fbf7","semantic_sha256":"3def7117f3a49f1a7b99b6a1f49f646a1d57c193143320ce1c06fdfbdf5ba38c","schema":"standard-device-v1","status":"partial","benchmarks":["loader-contract","driftfusion-physical-regression"]},"resolved_mode_ceiling":{"name":"full","use_thermionic_emission":true,"use_tmm_optics":true,"use_dual_ions":true,"use_trap_profile":true,"use_temperature_scaling":true,"use_photon_recycling":true,"use_radiative_reabsorption":true,"use_field_dependent_mobility":true,"use_selective_contacts":true}}, +{"id":"config-bdb6aad729910703","kind":"configured_model_combination","current_path":"perovskite-sim/tests/fixtures/configs/driftfusion_benchmark_tmm.yaml","route_id":"route-595f9562ae90c9fe","origin_key":"config:tests/fixtures/configs/driftfusion_benchmark_tmm.yaml","loaded_schema":"standard-device-v1","runtime_load_ok":true,"evidence_level":"cold_loader_and_semantic_hash_validation","registered_contract":{"path":"tests/fixtures/configs/driftfusion_benchmark_tmm.yaml","sha256":"bf0a186c772f5aadff9cfc1c4471534945e9849f42bea75f8097859f4c7350ce","semantic_sha256":"2f15646716953357b501486e520370b3893283ae744757a920f2156837daead5","schema":"standard-device-v1","status":"load_only","benchmarks":["loader-contract"]},"resolved_mode_ceiling":{"name":"full","use_thermionic_emission":true,"use_tmm_optics":true,"use_dual_ions":true,"use_trap_profile":true,"use_temperature_scaling":true,"use_photon_recycling":true,"use_radiative_reabsorption":true,"use_field_dependent_mobility":true,"use_selective_contacts":true}}, +{"id":"config-d136c87a883af5dc","kind":"configured_model_combination","current_path":"perovskite-sim/tests/fixtures/configs/driftfusion_calado2016_repro.yaml","route_id":"route-b34243d07735be0d","origin_key":"config:tests/fixtures/configs/driftfusion_calado2016_repro.yaml","loaded_schema":"standard-device-v1","runtime_load_ok":true,"evidence_level":"cold_loader_and_semantic_hash_validation","registered_contract":{"path":"tests/fixtures/configs/driftfusion_calado2016_repro.yaml","sha256":"536dc33d42e214072bbeb14256582682ed0efd8ffaa39b1a3ee716217923c7dd","semantic_sha256":"f7c98acec0f0e5e0f64a2ab168676fd5c5a34b37baba762b1c710d18adc76ddd","schema":"standard-device-v1","status":"partial","benchmarks":["loader-contract","calado2016-driftfusion"]},"resolved_mode_ceiling":{"name":"legacy","use_thermionic_emission":false,"use_tmm_optics":false,"use_dual_ions":false,"use_trap_profile":false,"use_temperature_scaling":false,"use_photon_recycling":false,"use_radiative_reabsorption":false,"use_field_dependent_mobility":false,"use_selective_contacts":false}}, +{"id":"config-0fbf40720bb34682","kind":"configured_model_combination","current_path":"perovskite-sim/tests/fixtures/configs/dual_ion_demo.yaml","route_id":"route-736016fc1f5558d5","origin_key":"config:tests/fixtures/configs/dual_ion_demo.yaml","loaded_schema":"standard-device-v1","runtime_load_ok":true,"evidence_level":"cold_loader_and_semantic_hash_validation","registered_contract":{"path":"tests/fixtures/configs/dual_ion_demo.yaml","sha256":"a52ded5f1a674dfcd12e20ea51db9bddcfb035a199d4610639569dd797597064","semantic_sha256":"3e405b504fe303909b4f75e1a2178ebcd261a5ec281a53f0d41b8f1f7a9a4249","schema":"standard-device-v1","status":"load_only","benchmarks":["loader-contract"]},"resolved_mode_ceiling":{"name":"full","use_thermionic_emission":true,"use_tmm_optics":true,"use_dual_ions":true,"use_trap_profile":true,"use_temperature_scaling":true,"use_photon_recycling":true,"use_radiative_reabsorption":true,"use_field_dependent_mobility":true,"use_selective_contacts":true}}, +{"id":"config-e067749541584fae","kind":"configured_model_combination","current_path":"perovskite-sim/tests/fixtures/configs/dynamic_defect_ion_impedance.yaml","route_id":"route-727f4ae5fdd34401","origin_key":"config:tests/fixtures/configs/dynamic_defect_ion_impedance.yaml","loaded_schema":"standard-device-v1","runtime_load_ok":true,"evidence_level":"cold_loader_and_semantic_hash_validation","registered_contract":{"path":"tests/fixtures/configs/dynamic_defect_ion_impedance.yaml","sha256":"0b7424e4170d7d3792f40f97361edee3a881a04a39ad3a549fb7de621798422a","semantic_sha256":"15389dcd77db70c22fa6b4a6430d52a303c64ae3fcbabce58dabd4c7d2364ef1","schema":"standard-device-v1","status":"partial","benchmarks":["loader-contract","phase1-refinement-contract","dynamic-defect-ion-impedance-production-closure"]},"resolved_mode_ceiling":{"name":"full","use_thermionic_emission":true,"use_tmm_optics":true,"use_dual_ions":true,"use_trap_profile":true,"use_temperature_scaling":true,"use_photon_recycling":true,"use_radiative_reabsorption":true,"use_field_dependent_mobility":true,"use_selective_contacts":true}}, +{"id":"config-75337222ce16f757","kind":"configured_model_combination","current_path":"perovskite-sim/tests/fixtures/configs/dynamic_interface_defect_ion_transient.yaml","route_id":"route-3f680b4d468d392e","origin_key":"config:tests/fixtures/configs/dynamic_interface_defect_ion_transient.yaml","loaded_schema":"standard-device-v1","runtime_load_ok":true,"evidence_level":"cold_loader_and_semantic_hash_validation","registered_contract":{"path":"tests/fixtures/configs/dynamic_interface_defect_ion_transient.yaml","sha256":"7aa464bc4772030318ebfa5fa7eb293e346ddf33f70f74083ba120f4240fd7c8","semantic_sha256":"904f44df9c0527aad7aa61b1f1b71b5f9477ac5f2f1a004299fffab0345f9d52","schema":"standard-device-v1","status":"partial","benchmarks":["loader-contract","phase1-refinement-contract","dynamic-defect-ion-transient-timescale-closure"]},"resolved_mode_ceiling":{"name":"full","use_thermionic_emission":true,"use_tmm_optics":true,"use_dual_ions":true,"use_trap_profile":true,"use_temperature_scaling":true,"use_photon_recycling":true,"use_radiative_reabsorption":true,"use_field_dependent_mobility":true,"use_selective_contacts":true}}, +{"id":"config-6a5cafb2f67eb805","kind":"configured_model_combination","current_path":"perovskite-sim/tests/fixtures/configs/dynamic_interface_defect_ion_transient_absorber_only.yaml","route_id":"route-17ff65132973919e","origin_key":"config:tests/fixtures/configs/dynamic_interface_defect_ion_transient_absorber_only.yaml","loaded_schema":"standard-device-v1","runtime_load_ok":true,"evidence_level":"cold_loader_and_semantic_hash_validation","registered_contract":{"path":"tests/fixtures/configs/dynamic_interface_defect_ion_transient_absorber_only.yaml","sha256":"f617f230b2d9c144573394e38fcc313225dc84c7b38f7670b97e9a0a7cc12a24","semantic_sha256":"c0b3adc20eff5b8fdba66b44ff045c447564b1f23c4990fa5471aef29b7904c4","schema":"standard-device-v1","status":"certified","benchmarks":["loader-contract","phase1-refinement-contract","dynamic-defect-ion-transient-timescale-closure","dynamic-defect-ion-transient-production-closure"]},"resolved_mode_ceiling":{"name":"full","use_thermionic_emission":true,"use_tmm_optics":true,"use_dual_ions":true,"use_trap_profile":true,"use_temperature_scaling":true,"use_photon_recycling":true,"use_radiative_reabsorption":true,"use_field_dependent_mobility":true,"use_selective_contacts":true}}, +{"id":"config-c38046f5a7e5f288","kind":"configured_model_combination","current_path":"perovskite-sim/tests/fixtures/configs/field_mobility_demo.yaml","route_id":"route-8d671203a585efbd","origin_key":"config:tests/fixtures/configs/field_mobility_demo.yaml","loaded_schema":"standard-device-v1","runtime_load_ok":true,"evidence_level":"cold_loader_and_semantic_hash_validation","registered_contract":{"path":"tests/fixtures/configs/field_mobility_demo.yaml","sha256":"7ca86a8d5d35c50d0892de55e2375eaf8e9d0966477cd378ace6cae1a5e88edd","semantic_sha256":"ce3ed006c48c5b85d01112f3985cda330c3d4a09d12bdcd945b9f1d7a0cc4afe","schema":"standard-device-v1","status":"load_only","benchmarks":["loader-contract"]},"resolved_mode_ceiling":{"name":"full","use_thermionic_emission":true,"use_tmm_optics":true,"use_dual_ions":true,"use_trap_profile":true,"use_temperature_scaling":true,"use_photon_recycling":true,"use_radiative_reabsorption":true,"use_field_dependent_mobility":true,"use_selective_contacts":true}}, +{"id":"config-8cdce5d5383e09ba","kind":"configured_model_combination","current_path":"perovskite-sim/tests/fixtures/configs/graded_distributed_defect_qf_dc_pn.yaml","route_id":"route-4e1f3e1d9d7c6ed7","origin_key":"config:tests/fixtures/configs/graded_distributed_defect_qf_dc_pn.yaml","loaded_schema":"standard-device-v1","runtime_load_ok":true,"evidence_level":"cold_loader_and_semantic_hash_validation","registered_contract":{"path":"tests/fixtures/configs/graded_distributed_defect_qf_dc_pn.yaml","sha256":"b6db3b87c509bafc7dae5e84640b12a0277668d612b4f9933f848a3ad99a715f","semantic_sha256":"f502dd9f6350e6c32a64f75686f17492acc0a64803df1939851777646c93486a","schema":"standard-device-v1","status":"certified","benchmarks":["loader-contract","phase1-refinement-contract","spatial-explicit-defect-internal-closure"]},"resolved_mode_ceiling":{"name":"full","use_thermionic_emission":true,"use_tmm_optics":true,"use_dual_ions":true,"use_trap_profile":true,"use_temperature_scaling":true,"use_photon_recycling":true,"use_radiative_reabsorption":true,"use_field_dependent_mobility":true,"use_selective_contacts":true}}, +{"id":"config-be2fba72dc1e3066","kind":"configured_model_combination","current_path":"perovskite-sim/tests/fixtures/configs/interface_charge_jv_research.yaml","route_id":"route-44d027c82b22f9a8","origin_key":"config:tests/fixtures/configs/interface_charge_jv_research.yaml","loaded_schema":"standard-device-v1","runtime_load_ok":true,"evidence_level":"cold_loader_and_semantic_hash_validation","registered_contract":{"path":"tests/fixtures/configs/interface_charge_jv_research.yaml","sha256":"5f4bbf89cf2d95fb020cdc9ade111d838ed38cc1c14a722e5fd800e30c6590c1","semantic_sha256":"7dae78ac306b881971d54c4857ca72d3394332096af21eeb482b7bbd0a062029","schema":"standard-device-v1","status":"certified","benchmarks":["loader-contract","phase1-refinement-contract","interface-charge-jv-api-integration"]},"resolved_mode_ceiling":{"name":"full","use_thermionic_emission":true,"use_tmm_optics":true,"use_dual_ions":true,"use_trap_profile":true,"use_temperature_scaling":true,"use_photon_recycling":true,"use_radiative_reabsorption":true,"use_field_dependent_mobility":true,"use_selective_contacts":true}}, +{"id":"config-d84c8112dd429b78","kind":"configured_model_combination","current_path":"perovskite-sim/tests/fixtures/configs/interface_charge_reference.yaml","route_id":"route-fae3349541eab079","origin_key":"config:tests/fixtures/configs/interface_charge_reference.yaml","loaded_schema":"scaps-device-v1","runtime_load_ok":true,"evidence_level":"cold_loader_and_semantic_hash_validation","registered_contract":{"path":"tests/fixtures/configs/interface_charge_reference.yaml","sha256":"300f57a256dc764995b916a55b98b642ecd8244eccd2ca456624d9521e0e2705","semantic_sha256":"1fd48e611f337e1c1a44801bd8dac3947d437b2e908f77ef35bbf980e24a46de","schema":"scaps-device-v1","status":"partial","benchmarks":["loader-contract","phase1-refinement-contract","interface-charge-off-qf-reference"]},"resolved_mode_ceiling":{"name":"fast","use_thermionic_emission":true,"use_tmm_optics":true,"use_dual_ions":true,"use_trap_profile":true,"use_temperature_scaling":true,"use_photon_recycling":true,"use_radiative_reabsorption":false,"use_field_dependent_mobility":false,"use_selective_contacts":false}}, +{"id":"config-3cc522bdc594b20e","kind":"configured_model_combination","current_path":"perovskite-sim/tests/fixtures/configs/interface_charge_research.yaml","route_id":"route-877e27af07c80468","origin_key":"config:tests/fixtures/configs/interface_charge_research.yaml","loaded_schema":"standard-device-v1","runtime_load_ok":true,"evidence_level":"cold_loader_and_semantic_hash_validation","registered_contract":{"path":"tests/fixtures/configs/interface_charge_research.yaml","sha256":"523449448807e4993f999300308096003c3eeaf280924b7af208915a3cf41a54","semantic_sha256":"2362b220db8d3aae26a2f91f4231871200066ce742e621e6424fed13b206b747","schema":"standard-device-v1","status":"partial","benchmarks":["loader-contract","phase1-refinement-contract","interface-charge-qf-research","interface-charge-device-stress"]},"resolved_mode_ceiling":{"name":"full","use_thermionic_emission":true,"use_tmm_optics":true,"use_dual_ions":true,"use_trap_profile":true,"use_temperature_scaling":true,"use_photon_recycling":true,"use_radiative_reabsorption":true,"use_field_dependent_mobility":true,"use_selective_contacts":true}}, +{"id":"config-859da6c860403b26","kind":"configured_model_combination","current_path":"perovskite-sim/tests/fixtures/configs/ionmonger_benchmark.yaml","route_id":"route-fae13ebaaed38b2b","origin_key":"config:tests/fixtures/configs/ionmonger_benchmark.yaml","loaded_schema":"standard-device-v1","runtime_load_ok":true,"evidence_level":"cold_loader_and_semantic_hash_validation","registered_contract":{"path":"tests/fixtures/configs/ionmonger_benchmark.yaml","sha256":"fbc82c9b85d121c459ab08d07d1c7f886eef36f4db669d354b79d260f43c8750","semantic_sha256":"a7e07b83a752dc2836231c7a3605ae32791ac18c19cde2a176d8d6e9c2d4438d","schema":"standard-device-v1","status":"partial","benchmarks":["loader-contract","ionmonger-physical-regression","ionmonger-mesh","ionmonger-residual-ss-mesh","phase1-refinement-contract"]},"resolved_mode_ceiling":{"name":"full","use_thermionic_emission":true,"use_tmm_optics":true,"use_dual_ions":true,"use_trap_profile":true,"use_temperature_scaling":true,"use_photon_recycling":true,"use_radiative_reabsorption":true,"use_field_dependent_mobility":true,"use_selective_contacts":true}}, +{"id":"config-328227f22f1d2314","kind":"configured_model_combination","current_path":"perovskite-sim/tests/fixtures/configs/ionmonger_benchmark_tmm.yaml","route_id":"route-f4e061a46dc18892","origin_key":"config:tests/fixtures/configs/ionmonger_benchmark_tmm.yaml","loaded_schema":"standard-device-v1","runtime_load_ok":true,"evidence_level":"cold_loader_and_semantic_hash_validation","registered_contract":{"path":"tests/fixtures/configs/ionmonger_benchmark_tmm.yaml","sha256":"09728fba308a206b3bdcd0874fdfc1775ac125dcfa42d10f70e9db8887c46fea","semantic_sha256":"27e852381c1f7586fdb05bd73f587b6e9f64e4be2de95f649825dcabe4d78822","schema":"standard-device-v1","status":"partial","benchmarks":["loader-contract","ionmonger-physical-regression"]},"resolved_mode_ceiling":{"name":"full","use_thermionic_emission":true,"use_tmm_optics":true,"use_dual_ions":true,"use_trap_profile":true,"use_temperature_scaling":true,"use_photon_recycling":true,"use_radiative_reabsorption":true,"use_field_dependent_mobility":true,"use_selective_contacts":true}}, +{"id":"config-33b6e06d53bb754a","kind":"configured_model_combination","current_path":"perovskite-sim/tests/fixtures/configs/ionmonger_courtier2019_repro.yaml","route_id":"route-c5b44f4943119d00","origin_key":"config:tests/fixtures/configs/ionmonger_courtier2019_repro.yaml","loaded_schema":"standard-device-v1","runtime_load_ok":true,"evidence_level":"cold_loader_and_semantic_hash_validation","registered_contract":{"path":"tests/fixtures/configs/ionmonger_courtier2019_repro.yaml","sha256":"ea88b2d05bca4f617b001092630b3de6e55293b6707c7083c7ee25efa3a5242f","semantic_sha256":"4e00e5ac181118bb173ef8f679ae30ee2ed02cd72159811667c3a1eb7afdc82f","schema":"standard-device-v1","status":"partial","benchmarks":["loader-contract","courtier2019-ionmonger"]},"resolved_mode_ceiling":{"name":"legacy","use_thermionic_emission":false,"use_tmm_optics":false,"use_dual_ions":false,"use_trap_profile":false,"use_temperature_scaling":false,"use_photon_recycling":false,"use_radiative_reabsorption":false,"use_field_dependent_mobility":false,"use_selective_contacts":false}}, +{"id":"config-764c3f33e226386e","kind":"configured_model_combination","current_path":"perovskite-sim/tests/fixtures/configs/nip_MAPbI3.yaml","route_id":"route-351a1ce390c723f3","origin_key":"config:tests/fixtures/configs/nip_MAPbI3.yaml","loaded_schema":"standard-device-v1","runtime_load_ok":true,"evidence_level":"cold_loader_and_semantic_hash_validation","registered_contract":{"path":"tests/fixtures/configs/nip_MAPbI3.yaml","sha256":"20fa8a8097c965330ce7b0d7e8f9286fc1960585231c360841d24ba7a1845668","semantic_sha256":"92d27b4b9d47ca66725318ba9115a5dfa99448485044dd02015f9318dfcd7dce","schema":"standard-device-v1","status":"partial","benchmarks":["loader-contract","phase1-refinement-contract","external-series-shunt-dc-internal-closure"]},"resolved_mode_ceiling":{"name":"full","use_thermionic_emission":true,"use_tmm_optics":true,"use_dual_ions":true,"use_trap_profile":true,"use_temperature_scaling":true,"use_photon_recycling":true,"use_radiative_reabsorption":true,"use_field_dependent_mobility":true,"use_selective_contacts":true}}, +{"id":"config-7933e51a101f4a15","kind":"configured_model_combination","current_path":"perovskite-sim/tests/fixtures/configs/nip_MAPbI3_tmm.yaml","route_id":"route-443038a9aa9ef61c","origin_key":"config:tests/fixtures/configs/nip_MAPbI3_tmm.yaml","loaded_schema":"standard-device-v1","runtime_load_ok":true,"evidence_level":"cold_loader_and_semantic_hash_validation","registered_contract":{"path":"tests/fixtures/configs/nip_MAPbI3_tmm.yaml","sha256":"4624f6923ffc10fbd401ce37702250f72b558d3e4ecdbd5d8e766ab84e21b1b2","semantic_sha256":"5ea55c1257834ab7f7dd10a867c2b78aea03ee2691936281b227ee833e59571a","schema":"standard-device-v1","status":"partial","benchmarks":["loader-contract","tmm-jsc-regression"]},"resolved_mode_ceiling":{"name":"full","use_thermionic_emission":true,"use_tmm_optics":true,"use_dual_ions":true,"use_trap_profile":true,"use_temperature_scaling":true,"use_photon_recycling":true,"use_radiative_reabsorption":true,"use_field_dependent_mobility":true,"use_selective_contacts":true}}, +{"id":"config-1d26249f4ca03c0e","kind":"configured_model_combination","current_path":"perovskite-sim/tests/fixtures/configs/nip_SnPb_1p22.yaml","route_id":"route-9e91854154c2cf55","origin_key":"config:tests/fixtures/configs/nip_SnPb_1p22.yaml","loaded_schema":"standard-device-v1","runtime_load_ok":true,"evidence_level":"cold_loader_and_semantic_hash_validation","registered_contract":{"path":"tests/fixtures/configs/nip_SnPb_1p22.yaml","sha256":"2b5271f1c0f943074ea8de647e0e57c1d456e43f785e6123eb73d616c3e11c1d","semantic_sha256":"a89144913a27f5be6ee7f3324635083826a42bd615beb4ba357bf136a5bb8735","schema":"standard-device-v1","status":"partial","benchmarks":["loader-contract","lin2019-tandem"]},"resolved_mode_ceiling":{"name":"full","use_thermionic_emission":true,"use_tmm_optics":true,"use_dual_ions":true,"use_trap_profile":true,"use_temperature_scaling":true,"use_photon_recycling":true,"use_radiative_reabsorption":true,"use_field_dependent_mobility":true,"use_selective_contacts":true}}, +{"id":"config-5bf43a4f988ae256","kind":"configured_model_combination","current_path":"perovskite-sim/tests/fixtures/configs/nip_wideGap_FACs_1p77.yaml","route_id":"route-eeacceecfd412947","origin_key":"config:tests/fixtures/configs/nip_wideGap_FACs_1p77.yaml","loaded_schema":"standard-device-v1","runtime_load_ok":true,"evidence_level":"cold_loader_and_semantic_hash_validation","registered_contract":{"path":"tests/fixtures/configs/nip_wideGap_FACs_1p77.yaml","sha256":"063c10f521a9943bd63728687ca383b2693ae437071aaedbeb98cdbe26e96147","semantic_sha256":"33ad11f46832f2e7d905cae548df4f8e7c1d6de7f5239a628b52fabff6b83075","schema":"standard-device-v1","status":"partial","benchmarks":["loader-contract","lin2019-tandem"]},"resolved_mode_ceiling":{"name":"full","use_thermionic_emission":true,"use_tmm_optics":true,"use_dual_ions":true,"use_trap_profile":true,"use_temperature_scaling":true,"use_photon_recycling":true,"use_radiative_reabsorption":true,"use_field_dependent_mobility":true,"use_selective_contacts":true}}, +{"id":"config-c24c09a2b147da3f","kind":"configured_model_combination","current_path":"perovskite-sim/tests/fixtures/configs/pin_MAPbI3.yaml","route_id":"route-a9fa5a66ef94271a","origin_key":"config:tests/fixtures/configs/pin_MAPbI3.yaml","loaded_schema":"standard-device-v1","runtime_load_ok":true,"evidence_level":"cold_loader_and_semantic_hash_validation","registered_contract":{"path":"tests/fixtures/configs/pin_MAPbI3.yaml","sha256":"3881eda9e5d7d4c71e1215e11b01f113a4764b1c74b4932e4c7932f69eb3d605","semantic_sha256":"68c401d5c956e278a5823d65136028e46082b54bbca662adb092b0bafcf68e51","schema":"standard-device-v1","status":"load_only","benchmarks":["loader-contract"]},"resolved_mode_ceiling":{"name":"full","use_thermionic_emission":true,"use_tmm_optics":true,"use_dual_ions":true,"use_trap_profile":true,"use_temperature_scaling":true,"use_photon_recycling":true,"use_radiative_reabsorption":true,"use_field_dependent_mobility":true,"use_selective_contacts":true}}, +{"id":"config-ff41e51db6b0c7aa","kind":"configured_model_combination","current_path":"perovskite-sim/tests/fixtures/configs/pin_MAPbI3_tmm.yaml","route_id":"route-43b26b3f638d0233","origin_key":"config:tests/fixtures/configs/pin_MAPbI3_tmm.yaml","loaded_schema":"standard-device-v1","runtime_load_ok":true,"evidence_level":"cold_loader_and_semantic_hash_validation","registered_contract":{"path":"tests/fixtures/configs/pin_MAPbI3_tmm.yaml","sha256":"984b5f8bb9858994a1100de70896fc4a9474b43ef1857d633beb14f75a9a22df","semantic_sha256":"f8deb3537112aa80dcfdad8559ed93c3ac049aae9e3ffbe602ab8b0fdeb0302f","schema":"standard-device-v1","status":"partial","benchmarks":["loader-contract","tmm-jsc-regression"]},"resolved_mode_ceiling":{"name":"full","use_thermionic_emission":true,"use_tmm_optics":true,"use_dual_ions":true,"use_trap_profile":true,"use_temperature_scaling":true,"use_photon_recycling":true,"use_radiative_reabsorption":true,"use_field_dependent_mobility":true,"use_selective_contacts":true}}, +{"id":"config-571921490103a339","kind":"configured_model_combination","current_path":"perovskite-sim/tests/fixtures/configs/radiative_limit.yaml","route_id":"route-278fff8d9b35f558","origin_key":"config:tests/fixtures/configs/radiative_limit.yaml","loaded_schema":"standard-device-v1","runtime_load_ok":true,"evidence_level":"cold_loader_and_semantic_hash_validation","registered_contract":{"path":"tests/fixtures/configs/radiative_limit.yaml","sha256":"8d529e4321fb1bb3c32d1d516946aa768f641982d4ab6e12059c46fa5e1fb8c9","semantic_sha256":"8895f94d65240a44caf0db78839a3f21802d54f73148214fc9bd69e0901d42ed","schema":"standard-device-v1","status":"partial","benchmarks":["loader-contract","twod-radiative-reabsorption"]},"resolved_mode_ceiling":{"name":"full","use_thermionic_emission":true,"use_tmm_optics":true,"use_dual_ions":true,"use_trap_profile":true,"use_temperature_scaling":true,"use_photon_recycling":true,"use_radiative_reabsorption":true,"use_field_dependent_mobility":true,"use_selective_contacts":true}}, +{"id":"config-a0a2d66216edf81e","kind":"configured_model_combination","current_path":"perovskite-sim/tests/fixtures/configs/scaps_defect_m1_double_donor_p.yaml","route_id":"route-006e644ce28423fd","origin_key":"config:tests/fixtures/configs/scaps_defect_m1_double_donor_p.yaml","loaded_schema":"standard-device-v1","runtime_load_ok":true,"evidence_level":"cold_loader_and_semantic_hash_validation","registered_contract":{"path":"tests/fixtures/configs/scaps_defect_m1_double_donor_p.yaml","sha256":"43516a15f6ceeb6ba5fb4381c789e1c073ead4b101081d583da60c4bf9407290","semantic_sha256":"d01233628d86e1ba715bc1ff32fc55c9c2df29d80b219c734e7a6bebdf6faeee","schema":"standard-device-v1","status":"partial","benchmarks":["loader-contract","multivalent-explicit-defect-internal-closure","phase1-refinement-contract"]},"resolved_mode_ceiling":{"name":"full","use_thermionic_emission":true,"use_tmm_optics":true,"use_dual_ions":true,"use_trap_profile":true,"use_temperature_scaling":true,"use_photon_recycling":true,"use_radiative_reabsorption":true,"use_field_dependent_mobility":true,"use_selective_contacts":true}}, +{"id":"config-dd4b5d5806c4d7e1","kind":"configured_model_combination","current_path":"perovskite-sim/tests/fixtures/configs/scaps_defect_m2_double_acceptor_n.yaml","route_id":"route-0a670bf420b4ad62","origin_key":"config:tests/fixtures/configs/scaps_defect_m2_double_acceptor_n.yaml","loaded_schema":"standard-device-v1","runtime_load_ok":true,"evidence_level":"cold_loader_and_semantic_hash_validation","registered_contract":{"path":"tests/fixtures/configs/scaps_defect_m2_double_acceptor_n.yaml","sha256":"32c7828624f482259d681aeca4d148d882483719de43dc72ce0b117d4f27d223","semantic_sha256":"bdf32b29906a8f9d52b8bce227865e80e20430f16c63b7666201dfa3ccd2840a","schema":"standard-device-v1","status":"partial","benchmarks":["loader-contract","multivalent-explicit-defect-internal-closure"]},"resolved_mode_ceiling":{"name":"full","use_thermionic_emission":true,"use_tmm_optics":true,"use_dual_ions":true,"use_trap_profile":true,"use_temperature_scaling":true,"use_photon_recycling":true,"use_radiative_reabsorption":true,"use_field_dependent_mobility":true,"use_selective_contacts":true}}, +{"id":"config-7ea97d91129f8071","kind":"configured_model_combination","current_path":"perovskite-sim/tests/fixtures/configs/scaps_defect_m3_amphoteric_i.yaml","route_id":"route-783b79bd8f3bd947","origin_key":"config:tests/fixtures/configs/scaps_defect_m3_amphoteric_i.yaml","loaded_schema":"standard-device-v1","runtime_load_ok":true,"evidence_level":"cold_loader_and_semantic_hash_validation","registered_contract":{"path":"tests/fixtures/configs/scaps_defect_m3_amphoteric_i.yaml","sha256":"7e772e2e92a5d862ac8b54f0b5cd684829bbe9ae34eb3aee607ab78a3586915c","semantic_sha256":"07086a198f34348f4f28a04de548c846cd8b85cd1586f90ab1b761fd06259e59","schema":"standard-device-v1","status":"partial","benchmarks":["loader-contract","multivalent-explicit-defect-internal-closure"]},"resolved_mode_ceiling":{"name":"full","use_thermionic_emission":true,"use_tmm_optics":true,"use_dual_ions":true,"use_trap_profile":true,"use_temperature_scaling":true,"use_photon_recycling":true,"use_radiative_reabsorption":true,"use_field_dependent_mobility":true,"use_selective_contacts":true}}, +{"id":"config-04ee3c1aeccf72d6","kind":"configured_model_combination","current_path":"perovskite-sim/tests/fixtures/configs/scaps_defect_s0_neutral.yaml","route_id":"route-aea6f17977e39b09","origin_key":"config:tests/fixtures/configs/scaps_defect_s0_neutral.yaml","loaded_schema":"standard-device-v1","runtime_load_ok":true,"evidence_level":"cold_loader_and_semantic_hash_validation","registered_contract":{"path":"tests/fixtures/configs/scaps_defect_s0_neutral.yaml","sha256":"77b89e16c365cd5c4cf9f7aa439f0200ec9ad9b814e60bbe81895afef65025c7","semantic_sha256":"a44db13adb9d77e705dec93753a72162569860590f8df4f371caf1ad493e473e","schema":"standard-device-v1","status":"partial","benchmarks":["loader-contract","charged-explicit-defect-internal-closure"]},"resolved_mode_ceiling":{"name":"full","use_thermionic_emission":true,"use_tmm_optics":true,"use_dual_ions":true,"use_trap_profile":true,"use_temperature_scaling":true,"use_photon_recycling":true,"use_radiative_reabsorption":true,"use_field_dependent_mobility":true,"use_selective_contacts":true}}, +{"id":"config-ec72e45346ce382c","kind":"configured_model_combination","current_path":"perovskite-sim/tests/fixtures/configs/scaps_defect_s1_acceptor_n.yaml","route_id":"route-41d7d13562bdf598","origin_key":"config:tests/fixtures/configs/scaps_defect_s1_acceptor_n.yaml","loaded_schema":"standard-device-v1","runtime_load_ok":true,"evidence_level":"cold_loader_and_semantic_hash_validation","registered_contract":{"path":"tests/fixtures/configs/scaps_defect_s1_acceptor_n.yaml","sha256":"f49900b296a2bfb3c5a28d9135b24dcf8f0d6c409f105a70d4dd27100ebcb681","semantic_sha256":"513d87b2828a0b372477657b2744a88b434f6501c88566a6fd9b6933f515c3b6","schema":"standard-device-v1","status":"partial","benchmarks":["loader-contract","charged-explicit-defect-internal-closure","phase1-refinement-contract"]},"resolved_mode_ceiling":{"name":"full","use_thermionic_emission":true,"use_tmm_optics":true,"use_dual_ions":true,"use_trap_profile":true,"use_temperature_scaling":true,"use_photon_recycling":true,"use_radiative_reabsorption":true,"use_field_dependent_mobility":true,"use_selective_contacts":true}}, +{"id":"config-32c90fdcf0446d6c","kind":"configured_model_combination","current_path":"perovskite-sim/tests/fixtures/configs/scaps_defect_s2_donor_p.yaml","route_id":"route-ae8257edc86bca50","origin_key":"config:tests/fixtures/configs/scaps_defect_s2_donor_p.yaml","loaded_schema":"standard-device-v1","runtime_load_ok":true,"evidence_level":"cold_loader_and_semantic_hash_validation","registered_contract":{"path":"tests/fixtures/configs/scaps_defect_s2_donor_p.yaml","sha256":"7fff245d23a99cb1128124d073269a3b3f1d8ee9a9f07730ce558ab4eb3d8066","semantic_sha256":"9c5a68947ed42c9c13ab74403b5599785ff1708d7ad7413d4215ef960c90607e","schema":"standard-device-v1","status":"partial","benchmarks":["loader-contract","charged-explicit-defect-internal-closure"]},"resolved_mode_ceiling":{"name":"full","use_thermionic_emission":true,"use_tmm_optics":true,"use_dual_ions":true,"use_trap_profile":true,"use_temperature_scaling":true,"use_photon_recycling":true,"use_radiative_reabsorption":true,"use_field_dependent_mobility":true,"use_selective_contacts":true}}, +{"id":"config-f6eea890796f5eb0","kind":"configured_model_combination","current_path":"perovskite-sim/tests/fixtures/configs/scaps_mirror.yaml","route_id":"route-ecb2e87965bc4547","origin_key":"config:tests/fixtures/configs/scaps_mirror.yaml","loaded_schema":"scaps-device-v1","runtime_load_ok":true,"evidence_level":"cold_loader_and_semantic_hash_validation","registered_contract":{"path":"tests/fixtures/configs/scaps_mirror.yaml","sha256":"7ad4968d9c8249b76ca4e649d41c39e26727f6818cb81a15fe75f6b74b11b881","semantic_sha256":"bbda4b58f4844ce6e1e4bcf99e44ee873603ad1c5d5f7ad939faacc5973b7713","schema":"scaps-device-v1","status":"partial","benchmarks":["loader-contract","scaps-cbo-trend","phase1-refinement-contract"]},"resolved_mode_ceiling":{"name":"fast","use_thermionic_emission":true,"use_tmm_optics":true,"use_dual_ions":true,"use_trap_profile":true,"use_temperature_scaling":true,"use_photon_recycling":true,"use_radiative_reabsorption":false,"use_field_dependent_mobility":false,"use_selective_contacts":false}}, +{"id":"config-a29901829ba97604","kind":"configured_model_combination","current_path":"perovskite-sim/tests/fixtures/configs/scaps_mirror_v2_robin_moderate.yaml","route_id":"route-d8015572b208014c","origin_key":"config:tests/fixtures/configs/scaps_mirror_v2_robin_moderate.yaml","loaded_schema":"scaps-device-v1","runtime_load_ok":true,"evidence_level":"cold_loader_and_semantic_hash_validation","registered_contract":{"path":"tests/fixtures/configs/scaps_mirror_v2_robin_moderate.yaml","sha256":"2d0d25a59802cac9c85f2b4a84ee49f9b42100fe0f87cb00f647462b475a0f95","semantic_sha256":"8ee02c3a6099628d35d854b2a09fa5ca72f828c5d15132d9947dcf5d51f3d8f9","schema":"scaps-device-v1","status":"load_only","benchmarks":["loader-contract"]},"resolved_mode_ceiling":{"name":"full","use_thermionic_emission":true,"use_tmm_optics":true,"use_dual_ions":true,"use_trap_profile":true,"use_temperature_scaling":true,"use_photon_recycling":true,"use_radiative_reabsorption":true,"use_field_dependent_mobility":true,"use_selective_contacts":true}}, +{"id":"config-65ce361ce300c2ac","kind":"configured_model_combination","current_path":"perovskite-sim/tests/fixtures/configs/scaps_mirror_v2_robin_strong.yaml","route_id":"route-aa9ed5cb98d6041f","origin_key":"config:tests/fixtures/configs/scaps_mirror_v2_robin_strong.yaml","loaded_schema":"scaps-device-v1","runtime_load_ok":true,"evidence_level":"cold_loader_and_semantic_hash_validation","registered_contract":{"path":"tests/fixtures/configs/scaps_mirror_v2_robin_strong.yaml","sha256":"2b35b8e0a8efdc1e3432dc55b00f03b6f6bcf53d43e699502ef3c903152057ee","semantic_sha256":"8cda10e0c9dfded05c280089afced25baabea2332168f15ad955644949c95921","schema":"scaps-device-v1","status":"load_only","benchmarks":["loader-contract"]},"resolved_mode_ceiling":{"name":"full","use_thermionic_emission":true,"use_tmm_optics":true,"use_dual_ions":true,"use_trap_profile":true,"use_temperature_scaling":true,"use_photon_recycling":true,"use_radiative_reabsorption":true,"use_field_dependent_mobility":true,"use_selective_contacts":true}}, +{"id":"config-9ac625cb534a71ea","kind":"configured_model_combination","current_path":"perovskite-sim/tests/fixtures/configs/selective_contacts_demo.yaml","route_id":"route-f4eb0551c177833b","origin_key":"config:tests/fixtures/configs/selective_contacts_demo.yaml","loaded_schema":"standard-device-v1","runtime_load_ok":true,"evidence_level":"cold_loader_and_semantic_hash_validation","registered_contract":{"path":"tests/fixtures/configs/selective_contacts_demo.yaml","sha256":"731b5a77435484ff638183e83e77a7479da4c7b16aadfe79f15ae966764f682d","semantic_sha256":"90a46d11bd7c5da2947227bcb3d79ee34a17f255fdd90be11b09c13dedd82a0b","schema":"standard-device-v1","status":"demo","benchmarks":["loader-contract"]},"resolved_mode_ceiling":{"name":"full","use_thermionic_emission":true,"use_tmm_optics":true,"use_dual_ions":true,"use_trap_profile":true,"use_temperature_scaling":true,"use_photon_recycling":true,"use_radiative_reabsorption":true,"use_field_dependent_mobility":true,"use_selective_contacts":true}}, +{"id":"config-c150e415b66351b3","kind":"configured_model_combination","current_path":"perovskite-sim/tests/fixtures/configs/solarscale_nip_band_aligned.yaml","route_id":"route-b332df9065bee09f","origin_key":"config:tests/fixtures/configs/solarscale_nip_band_aligned.yaml","loaded_schema":"standard-device-v1","runtime_load_ok":true,"evidence_level":"cold_loader_and_semantic_hash_validation","registered_contract":{"path":"tests/fixtures/configs/solarscale_nip_band_aligned.yaml","sha256":"8b0d9cadfb1d198cf32ea647c95ed25fa38928d8b2f5770bcf49902114402088","semantic_sha256":"498a4753dfbfd6b213a517eb095ea139401c0cdf8fda2ec2abf5e5d0d45bb65f","schema":"standard-device-v1","status":"load_only","benchmarks":["loader-contract"]},"resolved_mode_ceiling":{"name":"fast","use_thermionic_emission":true,"use_tmm_optics":true,"use_dual_ions":true,"use_trap_profile":true,"use_temperature_scaling":true,"use_photon_recycling":true,"use_radiative_reabsorption":false,"use_field_dependent_mobility":false,"use_selective_contacts":false}}, +{"id":"config-792778a0df251438","kind":"configured_model_combination","current_path":"perovskite-sim/tests/fixtures/configs/solarscale_nip_band_aligned_iface.yaml","route_id":"route-1c8c57768cf4792e","origin_key":"config:tests/fixtures/configs/solarscale_nip_band_aligned_iface.yaml","loaded_schema":"standard-device-v1","runtime_load_ok":true,"evidence_level":"cold_loader_and_semantic_hash_validation","registered_contract":{"path":"tests/fixtures/configs/solarscale_nip_band_aligned_iface.yaml","sha256":"538fed52f0d40123ecc1b8a4c1391616f9f35a93637157f3374e90fc8f43c344","semantic_sha256":"9c2bf332f1ae352693b44a2c829e803b3d14be2636ddbbba6597871d417ced1c","schema":"standard-device-v1","status":"demo","benchmarks":["loader-contract"]},"resolved_mode_ceiling":{"name":"fast","use_thermionic_emission":true,"use_tmm_optics":true,"use_dual_ions":true,"use_trap_profile":true,"use_temperature_scaling":true,"use_photon_recycling":true,"use_radiative_reabsorption":false,"use_field_dependent_mobility":false,"use_selective_contacts":false}}, +{"id":"config-e235368b9aa60c3e","kind":"configured_model_combination","current_path":"perovskite-sim/tests/fixtures/configs/tandem_lin2019.yaml","route_id":"route-a36008fc21021674","origin_key":"config:tests/fixtures/configs/tandem_lin2019.yaml","loaded_schema":"tandem-v1","runtime_load_ok":true,"evidence_level":"cold_loader_and_semantic_hash_validation","registered_contract":{"path":"tests/fixtures/configs/tandem_lin2019.yaml","sha256":"2eb26eb1902d0b9fbaf6e1b019dc79a163d2989adb13654c90ef508b4fdaded0","semantic_sha256":"80912db53c3c7129a6adb5e7454e08e4a15c8fc0ea787e662cea3fc4036d5c49","schema":"tandem-v1","status":"partial","benchmarks":["loader-contract","lin2019-tandem"]},"resolved_mode_ceiling":null}, +{"id":"config-8cb68dc12f6a5ab6","kind":"configured_model_combination","current_path":"perovskite-sim/tests/fixtures/configs/tpv_physical_reference.yaml","route_id":"route-5c4bf98784988f45","origin_key":"config:tests/fixtures/configs/tpv_physical_reference.yaml","loaded_schema":"standard-device-v1","runtime_load_ok":true,"evidence_level":"cold_loader_and_semantic_hash_validation","registered_contract":{"path":"tests/fixtures/configs/tpv_physical_reference.yaml","sha256":"2e470b672f2b0ee6970ff169deedf7ce09ed0a45beb8ab9c55b48ab8da487c10","semantic_sha256":"80580790bcde51b478fce65cefdfbce9108f0a7df0768d2ab897ba2489faefda","schema":"standard-device-v1","status":"partial","benchmarks":["loader-contract","foundation-tpv-frozen-ion-reference","phase1-refinement-contract","foundation-physical-homojunction-reference","foundation-mobile-ion-reference"]},"resolved_mode_ceiling":{"name":"full","use_thermionic_emission":true,"use_tmm_optics":true,"use_dual_ions":true,"use_trap_profile":true,"use_temperature_scaling":true,"use_photon_recycling":true,"use_radiative_reabsorption":true,"use_field_dependent_mobility":true,"use_selective_contacts":true}}, +{"id":"config-4b69131d5feb6c7a","kind":"configured_model_combination","current_path":"perovskite-sim/tests/fixtures/configs/twod/bcx_combined_demo.yaml","route_id":"route-b3b3d7b3f65ef2c0","origin_key":"config:tests/fixtures/configs/twod/bcx_combined_demo.yaml","loaded_schema":"standard-device-v1","runtime_load_ok":true,"evidence_level":"cold_loader_and_semantic_hash_validation","registered_contract":{"path":"tests/fixtures/configs/twod/bcx_combined_demo.yaml","sha256":"de41a3ea4547a2c97a4327f2c2edaeab4b162e6a51ed43aae4e40ef3047c46dc","semantic_sha256":"f06713037915c1100cd3269587f448d37c21929911d062343a3bf629d5ebc162","schema":"standard-device-v1","status":"load_only","benchmarks":["loader-contract"]},"resolved_mode_ceiling":{"name":"full","use_thermionic_emission":true,"use_tmm_optics":true,"use_dual_ions":true,"use_trap_profile":true,"use_temperature_scaling":true,"use_photon_recycling":true,"use_radiative_reabsorption":true,"use_field_dependent_mobility":true,"use_selective_contacts":true}}, +{"id":"config-480c4d067ef71e0b","kind":"configured_model_combination","current_path":"perovskite-sim/tests/fixtures/configs/twod/combined_mobile_interface_research.yaml","route_id":"route-b51b9c3d1eb778a5","origin_key":"config:tests/fixtures/configs/twod/combined_mobile_interface_research.yaml","loaded_schema":"standard-device-v1","runtime_load_ok":true,"evidence_level":"cold_loader_and_semantic_hash_validation","registered_contract":{"path":"tests/fixtures/configs/twod/combined_mobile_interface_research.yaml","sha256":"08b0593cbd4e1c11d4603b521ddfb2e4590ef4daa41fbfa7fe4eac857eb606d1","semantic_sha256":"0c30a51739908e0f9a8be1f8c5c59012f94ac3041d56d3b7382e2218f1205d3d","schema":"standard-device-v1","status":"certified","benchmarks":["loader-contract","phase1-refinement-contract","twod-combined-mobile-interface-internal-closure"]},"resolved_mode_ceiling":{"name":"full","use_thermionic_emission":true,"use_tmm_optics":true,"use_dual_ions":true,"use_trap_profile":true,"use_temperature_scaling":true,"use_photon_recycling":true,"use_radiative_reabsorption":true,"use_field_dependent_mobility":true,"use_selective_contacts":true}}, +{"id":"config-c4dd466c9c38d82e","kind":"configured_model_combination","current_path":"perovskite-sim/tests/fixtures/configs/twod/nip_MAPbI3_singleGB.yaml","route_id":"route-e223eafff765f7f4","origin_key":"config:tests/fixtures/configs/twod/nip_MAPbI3_singleGB.yaml","loaded_schema":"standard-device-v1","runtime_load_ok":true,"evidence_level":"cold_loader_and_semantic_hash_validation","registered_contract":{"path":"tests/fixtures/configs/twod/nip_MAPbI3_singleGB.yaml","sha256":"01870c441a410f0c99a6d71ee363e862798ee05fdaaf03156bb657a16b6cf5b6","semantic_sha256":"7a593a9281e03466f3e6084dff9e9064aca80966be7d855958bb237379f1b826","schema":"standard-device-v1","status":"partial","benchmarks":["loader-contract","foundation-twod-active-transport-reference"]},"resolved_mode_ceiling":{"name":"full","use_thermionic_emission":true,"use_tmm_optics":true,"use_dual_ions":true,"use_trap_profile":true,"use_temperature_scaling":true,"use_photon_recycling":true,"use_radiative_reabsorption":true,"use_field_dependent_mobility":true,"use_selective_contacts":true}}, +{"id":"config-e8fa66183b4163b4","kind":"configured_model_combination","current_path":"perovskite-sim/tests/fixtures/configs/twod/nip_MAPbI3_uniform.yaml","route_id":"route-7d9b96be3bfbfda0","origin_key":"config:tests/fixtures/configs/twod/nip_MAPbI3_uniform.yaml","loaded_schema":"standard-device-v1","runtime_load_ok":true,"evidence_level":"cold_loader_and_semantic_hash_validation","registered_contract":{"path":"tests/fixtures/configs/twod/nip_MAPbI3_uniform.yaml","sha256":"6a7e0022575e680e3b4348774eb604c3273930b7a0fe210994e6532cd6d59dcb","semantic_sha256":"92d27b4b9d47ca66725318ba9115a5dfa99448485044dd02015f9318dfcd7dce","schema":"standard-device-v1","status":"certified","benchmarks":["loader-contract","twod-uniform-parity","phase1-refinement-contract"]},"resolved_mode_ceiling":{"name":"full","use_thermionic_emission":true,"use_tmm_optics":true,"use_dual_ions":true,"use_trap_profile":true,"use_temperature_scaling":true,"use_photon_recycling":true,"use_radiative_reabsorption":true,"use_field_dependent_mobility":true,"use_selective_contacts":true}}, +{"id":"config-345114448b5dc42c","kind":"configured_model_combination","current_path":"perovskite-sim/tests/fixtures/configs/wkb_resolved_electron_barrier.yaml","route_id":"route-a5a37f88e084cf73","origin_key":"config:tests/fixtures/configs/wkb_resolved_electron_barrier.yaml","loaded_schema":"standard-device-v1","runtime_load_ok":true,"evidence_level":"cold_loader_and_semantic_hash_validation","registered_contract":{"path":"tests/fixtures/configs/wkb_resolved_electron_barrier.yaml","sha256":"891165e5ac68609b27dbe6c98b00e27d9b40b4df6edabde764ddda62d4788d27","semantic_sha256":"f7fc506235fb225323e4f4cd65b254a338ff08c3c226d896b6891a138b297af9","schema":"standard-device-v1","device_purpose":"electrical_transport_reference","status":"partial","benchmarks":["loader-contract","phase1-refinement-contract","wkb-resolved-electron-internal-closure"]},"resolved_mode_ceiling":{"name":"legacy","use_thermionic_emission":false,"use_tmm_optics":false,"use_dual_ions":false,"use_trap_profile":false,"use_temperature_scaling":false,"use_photon_recycling":false,"use_radiative_reabsorption":false,"use_field_dependent_mobility":false,"use_selective_contacts":false}}, +{"id":"config-89864c46531b604e","kind":"configured_model_combination","current_path":"perovskite-sim/tests/fixtures/configs/wkb_tunnelling_intraband_spike.yaml","route_id":"route-0ddbd675c3036e83","origin_key":"config:tests/fixtures/configs/wkb_tunnelling_intraband_spike.yaml","loaded_schema":"standard-device-v1","runtime_load_ok":true,"evidence_level":"cold_loader_and_semantic_hash_validation","registered_contract":{"path":"tests/fixtures/configs/wkb_tunnelling_intraband_spike.yaml","sha256":"545067cfedc8598b62fd1991aeaf3cd13d3153151e427452d1b78f6d523df20b","semantic_sha256":"ee18c3fb508216cd10861bb3dbf23c6f3907a3fa031fd2e93b4c9e1f0db5098b","schema":"standard-device-v1","status":"partial","benchmarks":["loader-contract","phase1-refinement-contract","wkb-tunnelling-channel-internal-closure"]},"resolved_mode_ceiling":{"name":"legacy","use_thermionic_emission":false,"use_tmm_optics":false,"use_dual_ions":false,"use_trap_profile":false,"use_temperature_scaling":false,"use_photon_recycling":false,"use_radiative_reabsorption":false,"use_field_dependent_mobility":false,"use_selective_contacts":false}}, +{"id":"contract-069120f130568765","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/backend/api_schema.py","route_id":"route-8b705c7e01d821a0","origin_key":"contract:backend.api_schema.DegradationResultOut","evidence_level":"source_static"}, +{"id":"contract-30848b0d11e3a5d6","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/backend/api_schema.py","route_id":"route-8b705c7e01d821a0","origin_key":"contract:backend.api_schema.ImpedanceResultOut","evidence_level":"source_static"}, +{"id":"contract-5abc8de9e46cb021","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/backend/api_schema.py","route_id":"route-8b705c7e01d821a0","origin_key":"contract:backend.api_schema.JVResultOut","evidence_level":"source_static"}, +{"id":"contract-80ecda81fac90991","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/backend/api_schema.py","route_id":"route-8b705c7e01d821a0","origin_key":"contract:backend.api_schema.SimulateRequest","evidence_level":"source_static"}, +{"id":"contract-a61741f0fbcda37c","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"contract:backend.main.DegRequest","evidence_level":"source_static"}, +{"id":"contract-41c4179535474a3a","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"contract:backend.main.DynamicDefectTransientRequest","evidence_level":"source_static"}, +{"id":"contract-9d495a2239fa4aba","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"contract:backend.main.ElectrothermalOperatingPointRequest","evidence_level":"source_static"}, +{"id":"contract-83b9ad3af8f35512","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"contract:backend.main.ExternalCircuitJVRequest","evidence_level":"source_static"}, +{"id":"contract-0bc0a06842e0be65","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"contract:backend.main.ISRequest","evidence_level":"source_static"}, +{"id":"contract-d3011748e0e52632","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"contract:backend.main.InterfaceChargeContactEvidence","evidence_level":"source_static"}, +{"id":"contract-0cb62ef29a63a5f9","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"contract:backend.main.InterfaceChargeDarkReferenceEvidence","evidence_level":"source_static"}, +{"id":"contract-e64ec7a2eb10cfc3","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"contract:backend.main.InterfaceChargeOperatingPointEvidence","evidence_level":"source_static"}, +{"id":"contract-2909b36002868086","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"contract:backend.main.InterfaceChargePerInterfaceEvidence","evidence_level":"source_static"}, +{"id":"contract-bb63d544eefa1f82","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"contract:backend.main.InterfaceChargeSolverControlsEvidence","evidence_level":"source_static"}, +{"id":"contract-8af80afab16cd7d8","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"contract:backend.main.InterfaceChargeSteadyStateResearchRequest","evidence_level":"source_static"}, +{"id":"contract-8096da2e54b4668b","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"contract:backend.main.InterfaceChargeSteadyStateResearchResponse","evidence_level":"source_static"}, +{"id":"contract-cd24b04e81693c76","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"contract:backend.main.InterfaceChargeSteadyStateResearchResult","evidence_level":"source_static"}, +{"id":"contract-75ca4328efa56025","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"contract:backend.main.InterfaceSRHIdentifiabilityRequest","evidence_level":"source_static"}, +{"id":"contract-9341550bde29ed3d","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"contract:backend.main.JVRequest","evidence_level":"source_static"}, +{"id":"contract-aa35c34c63745357","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"contract:backend.main.JobRequest","evidence_level":"source_static"}, +{"id":"contract-2984abc24f1b9520","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"contract:backend.main.TandemRequest","evidence_level":"source_static"}, +{"id":"contract-0938c3174ecd3440","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"contract:backend.main.UserConfigPayload","evidence_level":"source_static"}, +{"id":"contract-6ec41e470f04b812","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/_compat/scipy_shim.py","route_id":"route-3edbcca23dc45d5b","origin_key":"contract:perovskite_sim._compat.scipy_shim.OdeResult","evidence_level":"source_static"}, +{"id":"contract-b221f56d436a5fef","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/experiments/bulk_defect_ion_transient.py","route_id":"route-6099117639558322","origin_key":"contract:perovskite_sim.experiments.bulk_defect_ion_transient.BulkDefectIonTransientCertificate","evidence_level":"source_static"}, +{"id":"contract-0f589e3fde86e5f0","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/experiments/bulk_defect_ion_transient.py","route_id":"route-6099117639558322","origin_key":"contract:perovskite_sim.experiments.bulk_defect_ion_transient.BulkDefectIonTransientPolicy","evidence_level":"source_static"}, +{"id":"contract-5efc1246090e96b7","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/experiments/bulk_defect_ion_transient.py","route_id":"route-6099117639558322","origin_key":"contract:perovskite_sim.experiments.bulk_defect_ion_transient.BulkDefectIonTransientResult","evidence_level":"source_static"}, +{"id":"contract-3f22dfd652a67d6b","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/experiments/bulk_defect_ion_transient.py","route_id":"route-6099117639558322","origin_key":"contract:perovskite_sim.experiments.bulk_defect_ion_transient._BulkIonDeviceState","evidence_level":"source_static"}, +{"id":"contract-5725aba7555dacfb","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/experiments/bulk_defect_transient.py","route_id":"route-7fdd0a08afe81954","origin_key":"contract:perovskite_sim.experiments.bulk_defect_transient.BulkDefectTransientCertificate","evidence_level":"source_static"}, +{"id":"contract-519ae79730bc8a1d","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/experiments/bulk_defect_transient.py","route_id":"route-7fdd0a08afe81954","origin_key":"contract:perovskite_sim.experiments.bulk_defect_transient.BulkDefectTransientPolicy","evidence_level":"source_static"}, +{"id":"contract-5372f9bfa80e5e74","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/experiments/bulk_defect_transient.py","route_id":"route-7fdd0a08afe81954","origin_key":"contract:perovskite_sim.experiments.bulk_defect_transient.BulkDefectTransientResult","evidence_level":"source_static"}, +{"id":"contract-6f233de78d116797","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/experiments/bulk_defect_transient.py","route_id":"route-7fdd0a08afe81954","origin_key":"contract:perovskite_sim.experiments.bulk_defect_transient._DeviceState","evidence_level":"source_static"}, +{"id":"contract-dc1a0ff216bdee46","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/experiments/cbo_scan.py","route_id":"route-ab8776e954576856","origin_key":"contract:perovskite_sim.experiments.cbo_scan.CBOExternalMetricCertificate","evidence_level":"source_static"}, +{"id":"contract-70bc3d3a9fb5f2ff","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/experiments/cbo_scan.py","route_id":"route-ab8776e954576856","origin_key":"contract:perovskite_sim.experiments.cbo_scan.CBOGridConvergenceCertificate","evidence_level":"source_static"}, +{"id":"contract-d295b71e2a1d6846","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/experiments/cbo_scan.py","route_id":"route-ab8776e954576856","origin_key":"contract:perovskite_sim.experiments.cbo_scan.CBOStatisticsValidityCertificate","evidence_level":"source_static"}, +{"id":"contract-9df93a43dfd95c3a","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/experiments/cbo_scan.py","route_id":"route-ab8776e954576856","origin_key":"contract:perovskite_sim.experiments.cbo_scan.CBOVoltageGridConvergenceCertificate","evidence_level":"source_static"}, +{"id":"contract-33fce44e2e7e62c6","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/experiments/cbo_scan.py","route_id":"route-ab8776e954576856","origin_key":"contract:perovskite_sim.experiments.cbo_scan.CBOVoltageGridConvergencePolicy","evidence_level":"source_static"}, +{"id":"contract-051bd15cddaa7ae2","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/experiments/cbo_scan.py","route_id":"route-ab8776e954576856","origin_key":"contract:perovskite_sim.experiments.cbo_scan.CBOVoltageGridPointCertificate","evidence_level":"source_static"}, +{"id":"contract-3371cb348a032a75","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/experiments/cbo_scan.py","route_id":"route-ab8776e954576856","origin_key":"contract:perovskite_sim.experiments.cbo_scan.InterfaceCBOScanResult","evidence_level":"source_static"}, +{"id":"contract-e07e4b016aea5e0d","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/experiments/dark_jv.py","route_id":"route-637f1e727f89e31a","origin_key":"contract:perovskite_sim.experiments.dark_jv.DarkJVResult","evidence_level":"source_static"}, +{"id":"contract-7b15fdbedf1fd972","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/experiments/defect_aware_impedance.py","route_id":"route-2accc863cbfb1452","origin_key":"contract:perovskite_sim.experiments.defect_aware_impedance.BulkDefectDeviceACCertificate","evidence_level":"source_static"}, +{"id":"contract-656d6992131ace5d","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/experiments/defect_aware_impedance.py","route_id":"route-2accc863cbfb1452","origin_key":"contract:perovskite_sim.experiments.defect_aware_impedance.BulkDefectDeviceACResult","evidence_level":"source_static"}, +{"id":"contract-75ad2ae109d859df","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/experiments/defect_ion_combined_impedance.py","route_id":"route-7e52697666c1d1db","origin_key":"contract:perovskite_sim.experiments.defect_ion_combined_impedance.CombinedDCCertificate","evidence_level":"source_static"}, +{"id":"contract-6ce6298c10bf8e0f","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/experiments/defect_ion_combined_impedance.py","route_id":"route-7e52697666c1d1db","origin_key":"contract:perovskite_sim.experiments.defect_ion_combined_impedance.CombinedDCState","evidence_level":"source_static"}, +{"id":"contract-23a60f70ef614313","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/experiments/defect_ion_combined_impedance.py","route_id":"route-7e52697666c1d1db","origin_key":"contract:perovskite_sim.experiments.defect_ion_combined_impedance.CombinedStateLayout","evidence_level":"source_static"}, +{"id":"contract-48f2bed8d315d13d","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/experiments/defect_ion_combined_impedance.py","route_id":"route-7e52697666c1d1db","origin_key":"contract:perovskite_sim.experiments.defect_ion_combined_impedance.DefectIonCombinedCertificate","evidence_level":"source_static"}, +{"id":"contract-75201d7e05d8d6f6","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/experiments/defect_ion_combined_impedance.py","route_id":"route-7e52697666c1d1db","origin_key":"contract:perovskite_sim.experiments.defect_ion_combined_impedance.DefectIonCombinedResult","evidence_level":"source_static"}, +{"id":"contract-87495af4de18a512","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/experiments/degradation.py","route_id":"route-5f608c1296bb5da2","origin_key":"contract:perovskite_sim.experiments.degradation.DegradationResult","evidence_level":"source_static"}, +{"id":"contract-e95138c866fdaef4","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/experiments/degradation.py","route_id":"route-5f608c1296bb5da2","origin_key":"contract:perovskite_sim.experiments.degradation.FrozenIonSnapshot","evidence_level":"source_static"}, +{"id":"contract-3172f20005c1f4db","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_impedance.py","route_id":"route-130393a19cff03be","origin_key":"contract:perovskite_sim.experiments.dynamic_defect_impedance.DynamicDefectFrequencyWindowEvidence","evidence_level":"source_static"}, +{"id":"contract-90f73d4e505ef6d7","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_impedance.py","route_id":"route-130393a19cff03be","origin_key":"contract:perovskite_sim.experiments.dynamic_defect_impedance.DynamicDefectImpedanceEvidence","evidence_level":"source_static"}, +{"id":"contract-f3c3344f08d08f35","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_impedance.py","route_id":"route-130393a19cff03be","origin_key":"contract:perovskite_sim.experiments.dynamic_defect_impedance.DynamicDefectImpedanceGates","evidence_level":"source_static"}, +{"id":"contract-9a9023342ada24a7","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_impedance.py","route_id":"route-130393a19cff03be","origin_key":"contract:perovskite_sim.experiments.dynamic_defect_impedance.DynamicDefectImpedanceProtocol","evidence_level":"source_static"}, +{"id":"contract-6dd728420728700e","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_impedance.py","route_id":"route-130393a19cff03be","origin_key":"contract:perovskite_sim.experiments.dynamic_defect_impedance.DynamicDefectProductionResult","evidence_level":"source_static"}, +{"id":"contract-08cb9daebd584502","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_transient.py","route_id":"route-a56ff31ad57a1f0e","origin_key":"contract:perovskite_sim.experiments.dynamic_defect_transient.DynamicDefectTransientEvidence","evidence_level":"source_static"}, +{"id":"contract-1792c77bddc636c9","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_transient.py","route_id":"route-a56ff31ad57a1f0e","origin_key":"contract:perovskite_sim.experiments.dynamic_defect_transient.DynamicDefectTransientProductionResult","evidence_level":"source_static"}, +{"id":"contract-c72a5ee9bb8e4af5","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_transient.py","route_id":"route-a56ff31ad57a1f0e","origin_key":"contract:perovskite_sim.experiments.dynamic_defect_transient.DynamicDefectTransientProtocol","evidence_level":"source_static"}, +{"id":"contract-c3b1d8f745938a4b","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/experiments/electrothermal.py","route_id":"route-7db2e643362dfd6c","origin_key":"contract:perovskite_sim.experiments.electrothermal.ElectrothermalJVProtocol","evidence_level":"source_static"}, +{"id":"contract-3ed0674eca707c8e","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/experiments/electrothermal.py","route_id":"route-7db2e643362dfd6c","origin_key":"contract:perovskite_sim.experiments.electrothermal.ElectrothermalOperatingPointProtocol","evidence_level":"source_static"}, +{"id":"contract-dcd91548ba603c34","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/experiments/electrothermal.py","route_id":"route-7db2e643362dfd6c","origin_key":"contract:perovskite_sim.experiments.electrothermal.ElectrothermalOperatingPointResult","evidence_level":"source_static"}, +{"id":"contract-efc5363fe34e2b6a","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/experiments/eqe.py","route_id":"route-5a8723c98dfd6f67","origin_key":"contract:perovskite_sim.experiments.eqe.EQEResult","evidence_level":"source_static"}, +{"id":"contract-bdcc6cf61865361e","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/experiments/external_circuit.py","route_id":"route-f5899aee3f4d6b9e","origin_key":"contract:perovskite_sim.experiments.external_circuit.ExternalCircuitJVResult","evidence_level":"source_static"}, +{"id":"contract-4c438a9620b5674d","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/experiments/external_circuit.py","route_id":"route-f5899aee3f4d6b9e","origin_key":"contract:perovskite_sim.experiments.external_circuit.ExternalCircuitProtocol","evidence_level":"source_static"}, +{"id":"contract-17a94fddfeb354a9","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/experiments/identifiability.py","route_id":"route-aabd8ca4f67f1c35","origin_key":"contract:perovskite_sim.experiments.identifiability.InterfaceSRHIdentifiabilityProtocol","evidence_level":"source_static"}, +{"id":"contract-a895a33175d9c141","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/experiments/identifiability.py","route_id":"route-aabd8ca4f67f1c35","origin_key":"contract:perovskite_sim.experiments.identifiability.InterfaceSRHIdentifiabilityResult","evidence_level":"source_static"}, +{"id":"contract-f8d3ad63b3284777","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/experiments/impedance.py","route_id":"route-7476954ae0fdb534","origin_key":"contract:perovskite_sim.experiments.impedance.ImpedanceProtocol","evidence_level":"source_static"}, +{"id":"contract-5967d96874f902fc","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/experiments/impedance.py","route_id":"route-7476954ae0fdb534","origin_key":"contract:perovskite_sim.experiments.impedance.ImpedanceResult","evidence_level":"source_static"}, +{"id":"contract-82e8d99c9ba80ad1","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/experiments/impedance.py","route_id":"route-7476954ae0fdb534","origin_key":"contract:perovskite_sim.experiments.impedance.IonAwareImpedanceEvidence","evidence_level":"source_static"}, +{"id":"contract-4484f2c5f9e5edf0","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/experiments/impedance.py","route_id":"route-7476954ae0fdb534","origin_key":"contract:perovskite_sim.experiments.impedance.OperatingPointCertificate","evidence_level":"source_static"}, +{"id":"contract-ba39464f86489a63","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/experiments/interface_charge_jv.py","route_id":"route-5e747a794c569195","origin_key":"contract:perovskite_sim.experiments.interface_charge_jv.InterfaceChargeJVEvidence","evidence_level":"source_static"}, +{"id":"contract-e8d6621b07c457bd","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/experiments/interface_charge_jv.py","route_id":"route-5e747a794c569195","origin_key":"contract:perovskite_sim.experiments.interface_charge_jv.InterfaceChargeJVPointEvidence","evidence_level":"source_static"}, +{"id":"contract-a24ad98eebf37bd7","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/experiments/interface_charge_jv.py","route_id":"route-5e747a794c569195","origin_key":"contract:perovskite_sim.experiments.interface_charge_jv.InterfaceChargeJVProtocol","evidence_level":"source_static"}, +{"id":"contract-c231eab191d85b88","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/experiments/interface_charge_jv.py","route_id":"route-5e747a794c569195","origin_key":"contract:perovskite_sim.experiments.interface_charge_jv.InterfaceChargeJVSolverControls","evidence_level":"source_static"}, +{"id":"contract-273421cbcb7fed9c","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_aware_impedance.py","route_id":"route-0f4037cecfd2937f","origin_key":"contract:perovskite_sim.experiments.interface_defect_aware_impedance.InterfaceDefectDeviceACCertificate","evidence_level":"source_static"}, +{"id":"contract-d7880bae6db9c4b4","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_aware_impedance.py","route_id":"route-0f4037cecfd2937f","origin_key":"contract:perovskite_sim.experiments.interface_defect_aware_impedance.InterfaceDefectDeviceACResult","evidence_level":"source_static"}, +{"id":"contract-f4dd55f918655f3d","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_ion_transient.py","route_id":"route-4a5beb0fdcf3619a","origin_key":"contract:perovskite_sim.experiments.interface_defect_ion_transient.InterfaceDefectIonTransientCertificate","evidence_level":"source_static"}, +{"id":"contract-66b18448282245f4","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_ion_transient.py","route_id":"route-4a5beb0fdcf3619a","origin_key":"contract:perovskite_sim.experiments.interface_defect_ion_transient.InterfaceDefectIonTransientPolicy","evidence_level":"source_static"}, +{"id":"contract-9fe0bb5332fbb4ed","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_ion_transient.py","route_id":"route-4a5beb0fdcf3619a","origin_key":"contract:perovskite_sim.experiments.interface_defect_ion_transient.InterfaceDefectIonTransientResult","evidence_level":"source_static"}, +{"id":"contract-4bf3dff96fcb21a3","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_ion_transient.py","route_id":"route-4a5beb0fdcf3619a","origin_key":"contract:perovskite_sim.experiments.interface_defect_ion_transient._InterfaceIonDeviceState","evidence_level":"source_static"}, +{"id":"contract-b74d742121ffcb22","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_transient.py","route_id":"route-9b19d2ed844a6c53","origin_key":"contract:perovskite_sim.experiments.interface_defect_transient.InterfaceDefectTransientCertificate","evidence_level":"source_static"}, +{"id":"contract-72b0e9d9d00090f0","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_transient.py","route_id":"route-9b19d2ed844a6c53","origin_key":"contract:perovskite_sim.experiments.interface_defect_transient.InterfaceDefectTransientPolicy","evidence_level":"source_static"}, +{"id":"contract-8c16baccbbb60940","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_transient.py","route_id":"route-9b19d2ed844a6c53","origin_key":"contract:perovskite_sim.experiments.interface_defect_transient.InterfaceDefectTransientResult","evidence_level":"source_static"}, +{"id":"contract-42c376e11df9b38a","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_transient.py","route_id":"route-9b19d2ed844a6c53","origin_key":"contract:perovskite_sim.experiments.interface_defect_transient._DeviceState","evidence_level":"source_static"}, +{"id":"contract-4d5b1965787ec4f5","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_transient.py","route_id":"route-9b19d2ed844a6c53","origin_key":"contract:perovskite_sim.experiments.interface_defect_transient._LocalState","evidence_level":"source_static"}, +{"id":"contract-248b086fdc9e2887","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_dc.py","route_id":"route-540527431655d5fb","origin_key":"contract:perovskite_sim.experiments.ion_aware_dc.IonAwareDCProtocol","evidence_level":"source_static"}, +{"id":"contract-a78baf6db1b24215","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_dc.py","route_id":"route-540527431655d5fb","origin_key":"contract:perovskite_sim.experiments.ion_aware_dc.IonAwareDCResult","evidence_level":"source_static"}, +{"id":"contract-e6a0e6a22509485a","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_dc.py","route_id":"route-540527431655d5fb","origin_key":"contract:perovskite_sim.experiments.ion_aware_dc.IonAwareDCStateCertificate","evidence_level":"source_static"}, +{"id":"contract-40a1f1ba8cb92b14","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_dc.py","route_id":"route-540527431655d5fb","origin_key":"contract:perovskite_sim.experiments.ion_aware_dc.IonInventoryEvidence","evidence_level":"source_static"}, +{"id":"contract-73e34e6be462ead5","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance.py","route_id":"route-66a78cb7e2ee8eba","origin_key":"contract:perovskite_sim.experiments.ion_aware_impedance.IonAwareImpedanceCertificate","evidence_level":"source_static"}, +{"id":"contract-8505c96809d1c0db","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance.py","route_id":"route-66a78cb7e2ee8eba","origin_key":"contract:perovskite_sim.experiments.ion_aware_impedance.IonAwareImpedanceFrequencyCertificate","evidence_level":"source_static"}, +{"id":"contract-c0b3a5dc6210b1d0","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance.py","route_id":"route-66a78cb7e2ee8eba","origin_key":"contract:perovskite_sim.experiments.ion_aware_impedance.IonAwareImpedanceProtocol","evidence_level":"source_static"}, +{"id":"contract-8f3fb550f5a9910c","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance.py","route_id":"route-66a78cb7e2ee8eba","origin_key":"contract:perovskite_sim.experiments.ion_aware_impedance.IonAwareImpedanceResult","evidence_level":"source_static"}, +{"id":"contract-9abf1a182f44065b","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance.py","route_id":"route-66a78cb7e2ee8eba","origin_key":"contract:perovskite_sim.experiments.ion_aware_impedance.IonAwareStateCoordinateLayout","evidence_level":"source_static"}, +{"id":"contract-bdb43ead9f875806","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance_grid.py","route_id":"route-3ca1dfa513a1e322","origin_key":"contract:perovskite_sim.experiments.ion_aware_impedance_grid.GridFrequencyCertificate","evidence_level":"source_static"}, +{"id":"contract-bc6af417c8035795","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance_grid.py","route_id":"route-3ca1dfa513a1e322","origin_key":"contract:perovskite_sim.experiments.ion_aware_impedance_grid.IonAwareImpedanceGridCertificate","evidence_level":"source_static"}, +{"id":"contract-bb1ce7152b77289a","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance_grid.py","route_id":"route-3ca1dfa513a1e322","origin_key":"contract:perovskite_sim.experiments.ion_aware_impedance_grid.IonAwareImpedanceGridProtocol","evidence_level":"source_static"}, +{"id":"contract-04d06f7ef7c3bf39","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance_grid.py","route_id":"route-3ca1dfa513a1e322","origin_key":"contract:perovskite_sim.experiments.ion_aware_impedance_grid.IonAwareImpedanceGridResult","evidence_level":"source_static"}, +{"id":"contract-48b105ef7eeea3df","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance_lockin.py","route_id":"route-e427668ae85b61ce","origin_key":"contract:perovskite_sim.experiments.ion_aware_impedance_lockin.IonAwareTransientLockInCertificate","evidence_level":"source_static"}, +{"id":"contract-b349cc2daf81b630","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance_lockin.py","route_id":"route-e427668ae85b61ce","origin_key":"contract:perovskite_sim.experiments.ion_aware_impedance_lockin.IonAwareTransientLockInProtocol","evidence_level":"source_static"}, +{"id":"contract-34e8b91cc8cd40a0","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance_lockin.py","route_id":"route-e427668ae85b61ce","origin_key":"contract:perovskite_sim.experiments.ion_aware_impedance_lockin.IonAwareTransientLockInResult","evidence_level":"source_static"}, +{"id":"contract-bcd518d5d473288a","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance_lockin.py","route_id":"route-e427668ae85b61ce","origin_key":"contract:perovskite_sim.experiments.ion_aware_impedance_lockin.TransientLockInFrequencyCertificate","evidence_level":"source_static"}, +{"id":"contract-9259063ba352b6c9","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance_lockin.py","route_id":"route-e427668ae85b61ce","origin_key":"contract:perovskite_sim.experiments.ion_aware_impedance_lockin.TransientLockInFrequencyEvidence","evidence_level":"source_static"}, +{"id":"contract-f08d3e8b6bbf770f","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance_lockin.py","route_id":"route-e427668ae85b61ce","origin_key":"contract:perovskite_sim.experiments.ion_aware_impedance_lockin.TransientLockInResolutionEvidence","evidence_level":"source_static"}, +{"id":"contract-7c8c5285109d4fa3","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_structured_jacobian.py","route_id":"route-d50045e506093dad","origin_key":"contract:perovskite_sim.experiments.ion_aware_structured_jacobian.IonAwareStructuredJacobianCertificate","evidence_level":"source_static"}, +{"id":"contract-0b068e7394987925","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_structured_jacobian.py","route_id":"route-d50045e506093dad","origin_key":"contract:perovskite_sim.experiments.ion_aware_structured_jacobian.IonAwareStructuredJacobianProtocol","evidence_level":"source_static"}, +{"id":"contract-a9a7045476cfa769","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_structured_jacobian.py","route_id":"route-d50045e506093dad","origin_key":"contract:perovskite_sim.experiments.ion_aware_structured_jacobian.IonAwareStructuredJacobianResult","evidence_level":"source_static"}, +{"id":"contract-1453fb6cf28ace4b","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/experiments/jv_sweep.py","route_id":"route-6110e3f0105bc8f1","origin_key":"contract:perovskite_sim.experiments.jv_sweep.JVBulkDefectEvidence","evidence_level":"source_static"}, +{"id":"contract-fa9875df76164668","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/experiments/jv_sweep.py","route_id":"route-6110e3f0105bc8f1","origin_key":"contract:perovskite_sim.experiments.jv_sweep.JVResult","evidence_level":"source_static"}, +{"id":"contract-c1b9fce7b7a92497","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/experiments/metastable_preparation.py","route_id":"route-122501331d596e6c","origin_key":"contract:perovskite_sim.experiments.metastable_preparation.FrozenMetastableConfiguration","evidence_level":"source_static"}, +{"id":"contract-173a9192f9c24a79","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/experiments/metastable_transient.py","route_id":"route-ef61f462b2550dc9","origin_key":"contract:perovskite_sim.experiments.metastable_transient.MetastableTransientCertificate","evidence_level":"source_static"}, +{"id":"contract-67f58839a91d3af0","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/experiments/metastable_transient.py","route_id":"route-ef61f462b2550dc9","origin_key":"contract:perovskite_sim.experiments.metastable_transient.MetastableTransientResult","evidence_level":"source_static"}, +{"id":"contract-7d102ae1972ad317","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/experiments/mott_schottky.py","route_id":"route-f07791f6d464ccd9","origin_key":"contract:perovskite_sim.experiments.mott_schottky.MottSchottkyResult","evidence_level":"source_static"}, +{"id":"contract-db1b644accb1f984","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_convergence.py","route_id":"route-755640e005444d99","origin_key":"contract:perovskite_sim.experiments.one_dimensional_mechanism_r1_convergence.R1Response","evidence_level":"source_static"}, +{"id":"contract-cb843efddee7ec0e","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_dynamics.py","route_id":"route-575c23ed996d11ae","origin_key":"contract:perovskite_sim.experiments.one_dimensional_mechanism_r1_dynamics.R1DynamicsControls","evidence_level":"source_static"}, +{"id":"contract-222236fa4d578751","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_global_reference.py","route_id":"route-eeccc2e764f79cbb","origin_key":"contract:perovskite_sim.experiments.one_dimensional_mechanism_r1_global_reference.GlobalIonReferenceInputs","evidence_level":"source_static"}, +{"id":"contract-7062969d59c7e936","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift.py","route_id":"route-ceb58bb22e2c813d","origin_key":"contract:perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift.InputLiftState","evidence_level":"source_static"}, +{"id":"contract-e4614978b5f64dc0","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift_continuous.py","route_id":"route-94c08e51c92c8c08","origin_key":"contract:perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_continuous.StepResult","evidence_level":"source_static"}, +{"id":"contract-c6eed566932f0ec6","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift_reference.py","route_id":"route-7e98c4ac49886b90","origin_key":"contract:perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_reference.RebasedIonReferenceInputs","evidence_level":"source_static"}, +{"id":"contract-3c381a908fd3ac85","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_local_carrier.py","route_id":"route-fe7edc51ffa8a34f","origin_key":"contract:perovskite_sim.experiments.one_dimensional_mechanism_r1_local_carrier.LocalCarrierInputs","evidence_level":"source_static"}, +{"id":"contract-63775f1f711fb44e","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_local_carrier.py","route_id":"route-fe7edc51ffa8a34f","origin_key":"contract:perovskite_sim.experiments.one_dimensional_mechanism_r1_local_carrier._StableLocalState","evidence_level":"source_static"}, +{"id":"contract-78ca0e47a256eb36","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_precision.py","route_id":"route-f05686ba301ff5b5","origin_key":"contract:perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.IndependentPoissonInputs","evidence_level":"source_static"}, +{"id":"contract-489962be9975e4bc","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_precision.py","route_id":"route-f05686ba301ff5b5","origin_key":"contract:perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.PrecisionState","evidence_level":"source_static"}, +{"id":"contract-c42257a4882910a5","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_response.py","route_id":"route-16e41e21eea34bf8","origin_key":"contract:perovskite_sim.experiments.one_dimensional_mechanism_r1_response.R1DCResponse","evidence_level":"source_static"}, +{"id":"contract-8842bb781509c989","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_spatial.py","route_id":"route-5db8498b026fe96d","origin_key":"contract:perovskite_sim.experiments.one_dimensional_mechanism_r1_spatial.R1SpatialResponses","evidence_level":"source_static"}, +{"id":"contract-ea6e47f762a10442","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_state.py","route_id":"route-3437e4b3d969b4d5","origin_key":"contract:perovskite_sim.experiments.one_dimensional_mechanism_r1_state.R1PreparedState","evidence_level":"source_static"}, +{"id":"contract-201e7d6111536ce7","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_step.py","route_id":"route-fe9f2c86a6fb4b9f","origin_key":"contract:perovskite_sim.experiments.one_dimensional_mechanism_r1_step.CurrentAtState","evidence_level":"source_static"}, +{"id":"contract-87078010c0fc46fe","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_step.py","route_id":"route-fe9f2c86a6fb4b9f","origin_key":"contract:perovskite_sim.experiments.one_dimensional_mechanism_r1_step.InitialStepResult","evidence_level":"source_static"}, +{"id":"contract-9970b581d3e269f2","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/experiments/protocol.py","route_id":"route-ca59b5ef4a3f6fa3","origin_key":"contract:perovskite_sim.experiments.protocol.ExperimentProtocol","evidence_level":"source_static"}, +{"id":"contract-66347465d877a2de","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/experiments/protocol.py","route_id":"route-ca59b5ef4a3f6fa3","origin_key":"contract:perovskite_sim.experiments.protocol.SamplingProtocol","evidence_level":"source_static"}, +{"id":"contract-52679baf06483086","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/experiments/protocol.py","route_id":"route-ca59b5ef4a3f6fa3","origin_key":"contract:perovskite_sim.experiments.protocol.ScanProtocol","evidence_level":"source_static"}, +{"id":"contract-014fd1fcc1701d79","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/experiments/protocol.py","route_id":"route-ca59b5ef4a3f6fa3","origin_key":"contract:perovskite_sim.experiments.protocol.VocSearchProtocol","evidence_level":"source_static"}, +{"id":"contract-2dbfc5ce366c29e4","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/experiments/quasi_fermi_impedance.py","route_id":"route-e8ca7a89ef09d514","origin_key":"contract:perovskite_sim.experiments.quasi_fermi_impedance.QuasiFermiImpedanceResult","evidence_level":"source_static"}, +{"id":"contract-989b5f6eea216ef1","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/experiments/quasi_fermi_steady_state.py","route_id":"route-1c35c1275d46d863","origin_key":"contract:perovskite_sim.experiments.quasi_fermi_steady_state.QuasiFermiJVSweepResult","evidence_level":"source_static"}, +{"id":"contract-3ae315078171ee41","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/experiments/quasi_fermi_steady_state.py","route_id":"route-1c35c1275d46d863","origin_key":"contract:perovskite_sim.experiments.quasi_fermi_steady_state.QuasiFermiSteadyStateResult","evidence_level":"source_static"}, +{"id":"contract-d999438651e0194c","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/experiments/steady_state.py","route_id":"route-e968e8702b679dff","origin_key":"contract:perovskite_sim.experiments.steady_state.JVSweepSSResult","evidence_level":"source_static"}, +{"id":"contract-57cb2ec018920045","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/experiments/steady_state.py","route_id":"route-e968e8702b679dff","origin_key":"contract:perovskite_sim.experiments.steady_state.SteadyStateResult","evidence_level":"source_static"}, +{"id":"contract-625b19d1d612ca46","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/experiments/suns_voc.py","route_id":"route-dad900bc285405c9","origin_key":"contract:perovskite_sim.experiments.suns_voc.SunsVocResult","evidence_level":"source_static"}, +{"id":"contract-5d38a05dcdd19e3c","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/experiments/tandem_jv.py","route_id":"route-c0ff0a667c4cc9dd","origin_key":"contract:perovskite_sim.experiments.tandem_jv.TandemJVResult","evidence_level":"source_static"}, +{"id":"contract-92e65858af60d9ad","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/experiments/thermal_balance.py","route_id":"route-f1a859a308a3d395","origin_key":"contract:perovskite_sim.experiments.thermal_balance.LumpedThermalProtocol","evidence_level":"source_static"}, +{"id":"contract-b40f811189e4cafa","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/experiments/thermal_balance.py","route_id":"route-f1a859a308a3d395","origin_key":"contract:perovskite_sim.experiments.thermal_balance.LumpedThermalSteadyStateResult","evidence_level":"source_static"}, +{"id":"contract-639fad93972bbf94","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/experiments/thermal_balance.py","route_id":"route-f1a859a308a3d395","origin_key":"contract:perovskite_sim.experiments.thermal_balance.LumpedThermalTransientResult","evidence_level":"source_static"}, +{"id":"contract-e0e1e141400286e4","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/experiments/thermal_balance.py","route_id":"route-f1a859a308a3d395","origin_key":"contract:perovskite_sim.experiments.thermal_balance.ThermalIntegrationProtocol","evidence_level":"source_static"}, +{"id":"contract-4a329cec2e4715fe","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/experiments/trap_small_signal.py","route_id":"route-a2dac88b7495c3ed","origin_key":"contract:perovskite_sim.experiments.trap_small_signal.TrapSmallSignalCertificate","evidence_level":"source_static"}, +{"id":"contract-a60f9b9b2371bffc","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/experiments/trap_small_signal.py","route_id":"route-a2dac88b7495c3ed","origin_key":"contract:perovskite_sim.experiments.trap_small_signal.TrapSmallSignalProtocol","evidence_level":"source_static"}, +{"id":"contract-3bed1f2771c34977","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/experiments/trap_small_signal.py","route_id":"route-a2dac88b7495c3ed","origin_key":"contract:perovskite_sim.experiments.trap_small_signal.TrapSmallSignalResult","evidence_level":"source_static"}, +{"id":"contract-ac096c9da81ad954","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/experiments/waveform_jv.py","route_id":"route-00e5ec97ad8c8b8a","origin_key":"contract:perovskite_sim.experiments.waveform_jv.WaveformJVResult","evidence_level":"source_static"}, +{"id":"contract-ca51c9d842097537","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/models/current.py","route_id":"route-6ae8e3c7ef27223f","origin_key":"contract:perovskite_sim.models.current.CurrentComponents","evidence_level":"source_static"}, +{"id":"contract-b2de537f02ede20b","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/models/current.py","route_id":"route-6ae8e3c7ef27223f","origin_key":"contract:perovskite_sim.models.current.IonicCurrentComponents","evidence_level":"source_static"}, +{"id":"contract-4402d67e3190f088","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/models/defects.py","route_id":"route-b800342e538ea2d1","origin_key":"contract:perovskite_sim.models.defects.BulkDefectDistribution","evidence_level":"source_static"}, +{"id":"contract-e4741c7ff603324b","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/models/defects.py","route_id":"route-b800342e538ea2d1","origin_key":"contract:perovskite_sim.models.defects.BulkDefectDocument","evidence_level":"source_static"}, +{"id":"contract-b866ee0bc47aacfc","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/models/defects.py","route_id":"route-b800342e538ea2d1","origin_key":"contract:perovskite_sim.models.defects.BulkDefectKinetics","evidence_level":"source_static"}, +{"id":"contract-8043d944a7314dcc","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/models/defects.py","route_id":"route-b800342e538ea2d1","origin_key":"contract:perovskite_sim.models.defects.BulkDefectSpatialKnot","evidence_level":"source_static"}, +{"id":"contract-105d83d944bbdee1","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/models/defects.py","route_id":"route-b800342e538ea2d1","origin_key":"contract:perovskite_sim.models.defects.BulkDefectSpatialProfile","evidence_level":"source_static"}, +{"id":"contract-74076660e8d17ac5","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/models/defects.py","route_id":"route-b800342e538ea2d1","origin_key":"contract:perovskite_sim.models.defects.BulkDefectSpecies","evidence_level":"source_static"}, +{"id":"contract-e1e81813e4875578","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/models/device.py","route_id":"route-7e81c448796358a6","origin_key":"contract:perovskite_sim.models.device.DeviceStack","evidence_level":"source_static"}, +{"id":"contract-26a930baf3a68c8a","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/models/device.py","route_id":"route-7e81c448796358a6","origin_key":"contract:perovskite_sim.models.device.InterfaceDefect","evidence_level":"source_static"}, +{"id":"contract-3f047486c235737d","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/models/device.py","route_id":"route-7e81c448796358a6","origin_key":"contract:perovskite_sim.models.device.LayerSpec","evidence_level":"source_static"}, +{"id":"contract-76cd20ebad8983b5","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/models/device.py","route_id":"route-7e81c448796358a6","origin_key":"contract:perovskite_sim.models.device.UncalibratedMicroscopicInterfaceDefectContract","evidence_level":"source_static"}, +{"id":"contract-dedf0375ffde4c86","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/models/el.py","route_id":"route-ec4497e18dbf69e3","origin_key":"contract:perovskite_sim.models.el.ELResult","evidence_level":"source_static"}, +{"id":"contract-f47024c9044c027c","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/models/interface_defects.py","route_id":"route-47275d8cae52d1c6","origin_key":"contract:perovskite_sim.models.interface_defects.InterfaceDefectDocument","evidence_level":"source_static"}, +{"id":"contract-2776a32c42d77305","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/models/interface_defects.py","route_id":"route-47275d8cae52d1c6","origin_key":"contract:perovskite_sim.models.interface_defects.InterfaceDefectKinetics","evidence_level":"source_static"}, +{"id":"contract-5505523f8a99ad93","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/models/mode.py","route_id":"route-b981852fd14f7111","origin_key":"contract:perovskite_sim.models.mode.SimulationMode","evidence_level":"source_static"}, +{"id":"contract-b6940b03ca83de5a","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/models/multivalent_defects.py","route_id":"route-f2fb3894a767ab0b","origin_key":"contract:perovskite_sim.models.multivalent_defects.MetastableConversionKinetics","evidence_level":"source_static"}, +{"id":"contract-33a17bd0da320204","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/models/multivalent_defects.py","route_id":"route-f2fb3894a767ab0b","origin_key":"contract:perovskite_sim.models.multivalent_defects.MetastableDefectDefinition","evidence_level":"source_static"}, +{"id":"contract-54c022eb2f8dc693","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/models/multivalent_defects.py","route_id":"route-f2fb3894a767ab0b","origin_key":"contract:perovskite_sim.models.multivalent_defects.MetastableDefectDocument","evidence_level":"source_static"}, +{"id":"contract-bd525389fcc56b3f","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/models/multivalent_defects.py","route_id":"route-f2fb3894a767ab0b","origin_key":"contract:perovskite_sim.models.multivalent_defects.MetastablePreparationNumerics","evidence_level":"source_static"}, +{"id":"contract-16fd25af8743bdf0","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/models/multivalent_defects.py","route_id":"route-f2fb3894a767ab0b","origin_key":"contract:perovskite_sim.models.multivalent_defects.MetastablePreparationProtocol","evidence_level":"source_static"}, +{"id":"contract-c3bd22d6ef9705b5","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/models/multivalent_defects.py","route_id":"route-f2fb3894a767ab0b","origin_key":"contract:perovskite_sim.models.multivalent_defects.MultivalentBulkDefectDocument","evidence_level":"source_static"}, +{"id":"contract-74c0088158e61d96","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/models/multivalent_defects.py","route_id":"route-f2fb3894a767ab0b","origin_key":"contract:perovskite_sim.models.multivalent_defects.MultivalentBulkDefectSpecies","evidence_level":"source_static"}, +{"id":"contract-c9aa9940d294afb6","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/models/multivalent_defects.py","route_id":"route-f2fb3894a767ab0b","origin_key":"contract:perovskite_sim.models.multivalent_defects.MultivalentDefectConfiguration","evidence_level":"source_static"}, +{"id":"contract-941d2b52274e4441","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/models/multivalent_defects.py","route_id":"route-f2fb3894a767ab0b","origin_key":"contract:perovskite_sim.models.multivalent_defects.MultivalentEnergyLevels","evidence_level":"source_static"}, +{"id":"contract-12439f601fdca44a","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/models/parameters.py","route_id":"route-874e0fb545d7dfb2","origin_key":"contract:perovskite_sim.models.parameters.MaterialParams","evidence_level":"source_static"}, +{"id":"contract-4136c5fd0d2a1de8","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/models/parameters.py","route_id":"route-874e0fb545d7dfb2","origin_key":"contract:perovskite_sim.models.parameters.SolverConfig","evidence_level":"source_static"}, +{"id":"contract-8a7fff9db9f1e702","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/models/spatial.py","route_id":"route-dd6d44a89b46f80d","origin_key":"contract:perovskite_sim.models.spatial.SpatialSnapshot","evidence_level":"source_static"}, +{"id":"contract-1cff2626b25922bc","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/models/tandem_config.py","route_id":"route-a49b47e146a02ef2","origin_key":"contract:perovskite_sim.models.tandem_config.JunctionLayer","evidence_level":"source_static"}, +{"id":"contract-0a350591689b59d2","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/models/tandem_config.py","route_id":"route-a49b47e146a02ef2","origin_key":"contract:perovskite_sim.models.tandem_config.TandemConfig","evidence_level":"source_static"}, +{"id":"contract-467c41e668e426b0","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/models/tpv.py","route_id":"route-17806e03bd172ef3","origin_key":"contract:perovskite_sim.models.tpv.TPVDecayFit","evidence_level":"source_static"}, +{"id":"contract-779c064f3b1f6c00","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/models/tpv.py","route_id":"route-17806e03bd172ef3","origin_key":"contract:perovskite_sim.models.tpv.TPVNumericalSettings","evidence_level":"source_static"}, +{"id":"contract-5873709a5ca6744a","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/models/tpv.py","route_id":"route-17806e03bd172ef3","origin_key":"contract:perovskite_sim.models.tpv.TPVResult","evidence_level":"source_static"}, +{"id":"contract-43a9cfc21bb06819","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/models/tunneling_channels.py","route_id":"route-e98430e35cbc35f0","origin_key":"contract:perovskite_sim.models.tunneling_channels.BandToBandTunnellingChannel","evidence_level":"source_static"}, +{"id":"contract-00241f15917bd947","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/models/tunneling_channels.py","route_id":"route-e98430e35cbc35f0","origin_key":"contract:perovskite_sim.models.tunneling_channels.ContactTunnellingChannel","evidence_level":"source_static"}, +{"id":"contract-a52fa22351e75d3a","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/models/tunneling_channels.py","route_id":"route-e98430e35cbc35f0","origin_key":"contract:perovskite_sim.models.tunneling_channels.InterfaceDefectAssistedTunnellingChannel","evidence_level":"source_static"}, +{"id":"contract-e9485f1f15212047","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/models/tunneling_channels.py","route_id":"route-e98430e35cbc35f0","origin_key":"contract:perovskite_sim.models.tunneling_channels.IntrabandTunnellingChannel","evidence_level":"source_static"}, +{"id":"contract-34eaf640c939bdca","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/models/tunneling_channels.py","route_id":"route-e98430e35cbc35f0","origin_key":"contract:perovskite_sim.models.tunneling_channels.TunnellingChannelDocument","evidence_level":"source_static"}, +{"id":"contract-e6a1e2735e7c8b34","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/models/voc_t.py","route_id":"route-ddb81b9050da9068","origin_key":"contract:perovskite_sim.models.voc_t.VocTResult","evidence_level":"source_static"}, +{"id":"contract-b9b1f62ff31e73fe","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/physics/band_gap_narrowing.py","route_id":"route-5b8181491d7bb5dc","origin_key":"contract:perovskite_sim.physics.band_gap_narrowing.BandGapNarrowingState","evidence_level":"source_static"}, +{"id":"contract-8485a72fb05d4629","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/physics/bulk_traps.py","route_id":"route-2a52f6493776c10e","origin_key":"contract:perovskite_sim.physics.bulk_traps.BulkTrapNeutralityResult","evidence_level":"source_static"}, +{"id":"contract-29bb7389a9532065","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/physics/bulk_traps.py","route_id":"route-2a52f6493776c10e","origin_key":"contract:perovskite_sim.physics.bulk_traps.BulkTrapState","evidence_level":"source_static"}, +{"id":"contract-0ecab217b0caf99e","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/physics/cigs_optics.py","route_id":"route-cb684c2791a2eadb","origin_key":"contract:perovskite_sim.physics.cigs_optics._ReferenceSpectrum","evidence_level":"source_static"}, +{"id":"contract-331d41c0670638e3","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/physics/contacts.py","route_id":"route-4ee875fb4c7eec91","origin_key":"contract:perovskite_sim.physics.contacts.ContactThermodynamicCertificate","evidence_level":"source_static"}, +{"id":"contract-c19c42899418c860","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/physics/contacts.py","route_id":"route-4ee875fb4c7eec91","origin_key":"contract:perovskite_sim.physics.contacts.SemiconductorContactState","evidence_level":"source_static"}, +{"id":"contract-b2afaf1893b3f6c6","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/physics/defect_closure.py","route_id":"route-108317e3109dd879","origin_key":"contract:perovskite_sim.physics.defect_closure.MonovalentDefectClosureResult","evidence_level":"source_static"}, +{"id":"contract-4e66ef4fb407c3f7","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/physics/defect_closure.py","route_id":"route-108317e3109dd879","origin_key":"contract:perovskite_sim.physics.defect_closure.MonovalentDefectNeutralityResult","evidence_level":"source_static"}, +{"id":"contract-70b7f7fd5a58f90b","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/physics/defect_distributions.py","route_id":"route-69cbc8c249cae851","origin_key":"contract:perovskite_sim.physics.defect_distributions.DefectSpeciesEnergyExpansion","evidence_level":"source_static"}, +{"id":"contract-f82f6ce30618beac","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/physics/distributed_defect_closure.py","route_id":"route-716aea63eb4178e4","origin_key":"contract:perovskite_sim.physics.distributed_defect_closure.EnergyDistributedDefectClosureResult","evidence_level":"source_static"}, +{"id":"contract-7706f66f6d40fcdc","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/physics/distributed_defect_closure.py","route_id":"route-716aea63eb4178e4","origin_key":"contract:perovskite_sim.physics.distributed_defect_closure.EnergyResolvedSpeciesClosure","evidence_level":"source_static"}, +{"id":"contract-6f834e7b51797330","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/physics/interface_plane.py","route_id":"route-637e7d01ee93a7e2","origin_key":"contract:perovskite_sim.physics.interface_plane.InterfaceStateQSSResult","evidence_level":"source_static"}, +{"id":"contract-5c9e1b539c8bc723","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/physics/metastable_defect_closure.py","route_id":"route-d2fb47f08b8af2ba","origin_key":"contract:perovskite_sim.physics.metastable_defect_closure.MetastableConfigurationClosureResult","evidence_level":"source_static"}, +{"id":"contract-e6f50c98a3fbf22e","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/physics/multivalent_defect_closure.py","route_id":"route-0345e88ff9597357","origin_key":"contract:perovskite_sim.physics.multivalent_defect_closure.MultivalentDefectClosureResult","evidence_level":"source_static"}, +{"id":"contract-7ebc0384f1892833","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/physics/multivalent_defect_device.py","route_id":"route-8dbbd61dabd00c1f","origin_key":"contract:perovskite_sim.physics.multivalent_defect_device.MultivalentDefectNeutralityResult","evidence_level":"source_static"}, +{"id":"contract-802c4aa52ecc7df3","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/physics/multivalent_defect_device.py","route_id":"route-8dbbd61dabd00c1f","origin_key":"contract:perovskite_sim.physics.multivalent_defect_device.MultivalentSourceDefectClosureResult","evidence_level":"source_static"}, +{"id":"contract-568cc96b067f068f","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/physics/recombination.py","route_id":"route-d398307860e5c0dd","origin_key":"contract:perovskite_sim.physics.recombination.CompiledNeutralDefectSpecies","evidence_level":"source_static"}, +{"id":"contract-b368533d3e204cdc","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/physics/statistics.py","route_id":"route-35e97a37efe8ee31","origin_key":"contract:perovskite_sim.physics.statistics.BulkChargeNeutralityState","evidence_level":"source_static"}, +{"id":"contract-36ac54749da8a790","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/physics/statistics.py","route_id":"route-35e97a37efe8ee31","origin_key":"contract:perovskite_sim.physics.statistics.DopantChargeState","evidence_level":"source_static"}, +{"id":"contract-9d3bb1d4d60110f7","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/physics/trap_kinetics.py","route_id":"route-960df0ca64e33313","origin_key":"contract:perovskite_sim.physics.trap_kinetics.TrapFrequencyResponse","evidence_level":"source_static"}, +{"id":"contract-d74b8f5394106a66","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/physics/trap_kinetics.py","route_id":"route-960df0ca64e33313","origin_key":"contract:perovskite_sim.physics.trap_kinetics.TrapReservoirState","evidence_level":"source_static"}, +{"id":"contract-92c0661d11641e0e","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/physics/trap_population_response.py","route_id":"route-46c0d51d5bd93915","origin_key":"contract:perovskite_sim.physics.trap_population_response.BulkDefectPopulationFrequencyResponse","evidence_level":"source_static"}, +{"id":"contract-7fdde66605432f6f","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/physics/trap_population_response.py","route_id":"route-46c0d51d5bd93915","origin_key":"contract:perovskite_sim.physics.trap_population_response.InterfaceTrapPopulationFrequencyResponse","evidence_level":"source_static"}, +{"id":"contract-b91617552d729551","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface.py","route_id":"route-ebfb46505dfae15d","origin_key":"contract:perovskite_sim.physics.two_sided_interface.EquilibriumReferencedMaterialQSSResult","evidence_level":"source_static"}, +{"id":"contract-73ec7b3dd4b07da3","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface.py","route_id":"route-ebfb46505dfae15d","origin_key":"contract:perovskite_sim.physics.two_sided_interface.EquilibriumReferencedTwoSidedInterfaceResult","evidence_level":"source_static"}, +{"id":"contract-4db67156ff732dd7","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface.py","route_id":"route-ebfb46505dfae15d","origin_key":"contract:perovskite_sim.physics.two_sided_interface.FixedOccupancyMaterialInterfaceResult","evidence_level":"source_static"}, +{"id":"contract-930eebcc32dbf40e","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface.py","route_id":"route-ebfb46505dfae15d","origin_key":"contract:perovskite_sim.physics.two_sided_interface.FixedOccupancyTwoSidedInterfaceResult","evidence_level":"source_static"}, +{"id":"contract-979d761f8146af1c","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface.py","route_id":"route-ebfb46505dfae15d","origin_key":"contract:perovskite_sim.physics.two_sided_interface.TwoSidedBulkState","evidence_level":"source_static"}, +{"id":"contract-ba935277595c2332","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface.py","route_id":"route-ebfb46505dfae15d","origin_key":"contract:perovskite_sim.physics.two_sided_interface.TwoSidedInterfaceResult","evidence_level":"source_static"}, +{"id":"contract-6e15f52517da9e6b","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface.py","route_id":"route-ebfb46505dfae15d","origin_key":"contract:perovskite_sim.physics.two_sided_interface.TwoSidedMaterialQSSResult","evidence_level":"source_static"}, +{"id":"contract-74381a3ac11ad32e","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/screening/solarscale.py","route_id":"route-654ffdaede509b77","origin_key":"contract:perovskite_sim.screening.solarscale.MaterialRecord","evidence_level":"source_static"}, +{"id":"contract-a7692f3ae1c1af98","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/solver/bulk_trap_equilibrium.py","route_id":"route-1129c9e5b90696a0","origin_key":"contract:perovskite_sim.solver.bulk_trap_equilibrium.BulkTrapPNEquilibriumResult","evidence_level":"source_static"}, +{"id":"contract-624b4d0ea856f336","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/solver/bulk_trap_equilibrium.py","route_id":"route-1129c9e5b90696a0","origin_key":"contract:perovskite_sim.solver.bulk_trap_equilibrium._DensityState","evidence_level":"source_static"}, +{"id":"contract-fb13e55fbda55b4c","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/solver/dae_dual_ion_integrator.py","route_id":"route-fb0723324262c843","origin_key":"contract:perovskite_sim.solver.dae_dual_ion_integrator.DualIonDAETransientResult","evidence_level":"source_static"}, +{"id":"contract-5d793f7447ce7753","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/solver/dae_integrator.py","route_id":"route-902dc4ac38f019c9","origin_key":"contract:perovskite_sim.solver.dae_integrator.DAETransientResult","evidence_level":"source_static"}, +{"id":"contract-3a463dfe390dbf26","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/solver/dae_interface_integrator.py","route_id":"route-d19a044988a2dbd6","origin_key":"contract:perovskite_sim.solver.dae_interface_integrator.AlgebraicInterfaceDAETransientResult","evidence_level":"source_static"}, +{"id":"contract-8b1fb6ebb48e4f93","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/solver/dae_interface_states.py","route_id":"route-d19a044988a2dbd6","origin_key":"contract:perovskite_sim.solver.dae_interface_states.AlgebraicInterfaceStateDAE","evidence_level":"source_static"}, +{"id":"contract-66b7acdf1034900f","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/solver/dae_ion_integrator.py","route_id":"route-fb0723324262c843","origin_key":"contract:perovskite_sim.solver.dae_ion_integrator.SingleIonDAETransientResult","evidence_level":"source_static"}, +{"id":"contract-0b5b233919fc9c59","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/solver/dae_ion_interface_integrator.py","route_id":"route-5ae54ca672a8ba3c","origin_key":"contract:perovskite_sim.solver.dae_ion_interface_integrator.IonInterfaceDAETransientResult","evidence_level":"source_static"}, +{"id":"contract-dfc8f9b723d0447d","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/solver/dae_ion_jacobian.py","route_id":"route-9108e77d43729c39","origin_key":"contract:perovskite_sim.solver.dae_ion_jacobian.SingleIonDAEStructuredStateJacobian","evidence_level":"source_static"}, +{"id":"contract-739ffcdecafb27f0","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/solver/dae_jacobian.py","route_id":"route-8b07744af698a677","origin_key":"contract:perovskite_sim.solver.dae_jacobian.DAEStructuredStateJacobian","evidence_level":"source_static"}, +{"id":"contract-f5ff0f06f41deb63","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/solver/degenerate_equilibrium.py","route_id":"route-0064c8f5583b5846","origin_key":"contract:perovskite_sim.solver.degenerate_equilibrium.DegeneratePNEquilibriumResult","evidence_level":"source_static"}, +{"id":"contract-981857a9825a40cb","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/solver/degenerate_equilibrium.py","route_id":"route-0064c8f5583b5846","origin_key":"contract:perovskite_sim.solver.degenerate_equilibrium._EquilibriumDensityState","evidence_level":"source_static"}, +{"id":"contract-1ad3717673e842ff","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/solver/mol.py","route_id":"route-4e8545961ec9f79c","origin_key":"contract:perovskite_sim.solver.mol.StateVec","evidence_level":"source_static"}, +{"id":"contract-73dd734d2574a599","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/solver/numerical_diagnostics.py","route_id":"route-c393f0eb296301f6","origin_key":"contract:perovskite_sim.solver.numerical_diagnostics.NumericalDiagnosticsPolicy","evidence_level":"source_static"}, +{"id":"contract-55353beb1f4029d5","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/solver/numerical_diagnostics.py","route_id":"route-c393f0eb296301f6","origin_key":"contract:perovskite_sim.solver.numerical_diagnostics.SplitStepDiagnosticsPolicy","evidence_level":"source_static"}, +{"id":"contract-ae625f5f4417c8b8","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/solver/numerical_diagnostics.py","route_id":"route-c393f0eb296301f6","origin_key":"contract:perovskite_sim.solver.numerical_diagnostics.StateLayout","evidence_level":"source_static"}, +{"id":"contract-e37a357cccb1e619","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/solver/small_signal.py","route_id":"route-43b4d856f72236b2","origin_key":"contract:perovskite_sim.solver.small_signal.FrequencyDomainResult","evidence_level":"source_static"}, +{"id":"contract-68132dea35a9c37d","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/solver/trap_transient.py","route_id":"route-eca4a978bb80bc1e","origin_key":"contract:perovskite_sim.solver.trap_transient.LocalTrapTransientPolicy","evidence_level":"source_static"}, +{"id":"contract-263842967a95a185","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/solver/trap_transient.py","route_id":"route-eca4a978bb80bc1e","origin_key":"contract:perovskite_sim.solver.trap_transient.LocalTrapTransientResult","evidence_level":"source_static"}, +{"id":"contract-69357e56f81a055b","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/twod/experiments/jv_protocol_2d.py","route_id":"route-f9fdf98fcf51218e","origin_key":"contract:perovskite_sim.twod.experiments.jv_protocol_2d.JV2DAtolProtocol","evidence_level":"source_static"}, +{"id":"contract-6f8886d26e848051","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/twod/experiments/jv_protocol_2d.py","route_id":"route-f9fdf98fcf51218e","origin_key":"contract:perovskite_sim.twod.experiments.jv_protocol_2d.JV2DGrainBoundaryProtocol","evidence_level":"source_static"}, +{"id":"contract-d50d1d93984c91fc","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/twod/experiments/jv_protocol_2d.py","route_id":"route-f9fdf98fcf51218e","origin_key":"contract:perovskite_sim.twod.experiments.jv_protocol_2d.JV2DProtocol","evidence_level":"source_static"}, +{"id":"contract-54f523be3990733d","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/twod/experiments/jv_sweep_2d.py","route_id":"route-3b814b18cfea71be","origin_key":"contract:perovskite_sim.twod.experiments.jv_sweep_2d.JV2DResult","evidence_level":"source_static"}, +{"id":"contract-9e95ed31e41b6632","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/twod/experiments/voc_grain_sweep.py","route_id":"route-b425dc190363a785","origin_key":"contract:perovskite_sim.twod.experiments.voc_grain_sweep.VocGrainSweepResult","evidence_level":"source_static"}, +{"id":"contract-54d70cb6a3251a05","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/twod/snapshot.py","route_id":"route-d08845022ad48916","origin_key":"contract:perovskite_sim.twod.snapshot.SpatialSnapshot2D","evidence_level":"source_static"}, +{"id":"contract-0ea2d09049ffed06","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/validation/numerical_certificate.py","route_id":"route-270572b713ec6865","origin_key":"contract:perovskite_sim.validation.numerical_certificate.CellResult","evidence_level":"source_static"}, +{"id":"contract-9c62a2db97f87e05","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/validation/numerical_certificate.py","route_id":"route-270572b713ec6865","origin_key":"contract:perovskite_sim.validation.numerical_certificate.NumericalCertificate","evidence_level":"source_static"}, +{"id":"contract-5aff8f72c92fef85","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/validation/numerical_certificate.py","route_id":"route-270572b713ec6865","origin_key":"contract:perovskite_sim.validation.numerical_certificate.ObservableGate","evidence_level":"source_static"}, +{"id":"contract-d4c2d2d9f2459d29","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/validation/numerical_certificate.py","route_id":"route-270572b713ec6865","origin_key":"contract:perovskite_sim.validation.numerical_certificate.QualityGate","evidence_level":"source_static"}, +{"id":"contract-c7317f8d170f0604","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"contract:perovskite_sim.validation.regularization_certificate.CanonicalInput","evidence_level":"source_static"}, +{"id":"contract-ae7f879ef832d0d8","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"contract:perovskite_sim.validation.regularization_certificate.CertificateCheck","evidence_level":"source_static"}, +{"id":"contract-058cc4706ba7a13e","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"contract:perovskite_sim.validation.regularization_certificate.MetricSpec","evidence_level":"source_static"}, +{"id":"contract-6202b5c7639cb480","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"contract:perovskite_sim.validation.regularization_certificate.ObservableSpec","evidence_level":"source_static"}, +{"id":"contract-1bcc4f5fe38108f0","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"contract:perovskite_sim.validation.regularization_certificate.QualityGateSpec","evidence_level":"source_static"}, +{"id":"contract-d12cbc54f5dd071d","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"contract:perovskite_sim.validation.regularization_certificate.RegularizationCertificate","evidence_level":"source_static"}, +{"id":"contract-d4116be05cad9b78","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"contract:perovskite_sim.validation.regularization_certificate.RegularizationRungRequest","evidence_level":"source_static"}, +{"id":"contract-c925b54b7ad0f88e","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/validation/regularization_executors.py","route_id":"route-e5a4af9dc081e1e4","origin_key":"contract:perovskite_sim.validation.regularization_executors._TransientProtocol","evidence_level":"source_static"}, +{"id":"contract-44da2f31a6628ab0","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/perovskite_sim/validation/spatial_defect_refinement.py","route_id":"route-29ff125b420a5abf","origin_key":"contract:perovskite_sim.validation.spatial_defect_refinement._SpatialContractEvidence","evidence_level":"source_static"}, +{"id":"contract-bc0e7b8b376dcf3a","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/scripts/plot_calado_fig1f.py","route_id":"route-beb4cf386a7f5c02","origin_key":"contract:scripts.plot_calado_fig1f.ProtocolResult","evidence_level":"source_static"}, +{"id":"contract-0640d11865abbd3a","kind":"typed_input_output_state_contract","current_path":"perovskite-sim/scripts/run_scaps_v2_regression.py","route_id":"route-45dccf3352277655","origin_key":"contract:scripts.run_scaps_v2_regression.PointResult","evidence_level":"source_static"}, +{"id":"dynamic-29b30f51c68ba96d","kind":"dynamic_consumer_site","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_checkout.py","route_id":"route-d7705533e8467092","origin_key":"dynamic:perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_checkout.py:_require_import_origins:3c78c8a2be91","evidence_level":"source_static","site":{"path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_checkout.py","line":329,"scope":"_require_import_origins","operation":"getattr","expression":"getattr(module, '__file__', None)"}}, +{"id":"dynamic-3f48f6348b42ad80","kind":"dynamic_consumer_site","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_checkout.py","route_id":"route-d7705533e8467092","origin_key":"dynamic:perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_checkout.py:_require_import_origins:bcfb9a2f8d72","evidence_level":"source_static","site":{"path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_checkout.py","line":327,"scope":"_require_import_origins","operation":"getattr","expression":"getattr(module, '__path__', None)"}}, +{"id":"dynamic-6c95246eb3ccd8c0","kind":"dynamic_consumer_site","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_precision.py","route_id":"route-f05686ba301ff5b5","origin_key":"dynamic:perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_precision.py:CompensatedR1System.eliminated_operator_diagnostics:84b02ff8a3aa","evidence_level":"source_static","site":{"path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_precision.py","line":921,"scope":"CompensatedR1System.eliminated_operator_diagnostics","operation":"getattr","expression":"getattr(getattr(self, '_r1_backend', None), 'is_pair', False)"}}, +{"id":"dynamic-e2efa6576a150c0a","kind":"dynamic_consumer_site","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_precision.py","route_id":"route-f05686ba301ff5b5","origin_key":"dynamic:perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_precision.py:precision_context.legacy_context:e84f8ad946b6","evidence_level":"source_static","site":{"path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_precision.py","line":1108,"scope":"precision_context.legacy_context","operation":"getattr","expression":"getattr(module, name)"}}, +{"id":"dynamic-ddbe3594317c4b00","kind":"dynamic_consumer_site","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_precision.py","route_id":"route-f05686ba301ff5b5","origin_key":"dynamic:perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_precision.py:precision_context.patch:e84f8ad946b6","evidence_level":"source_static","site":{"path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_precision.py","line":1096,"scope":"precision_context.patch","operation":"getattr","expression":"getattr(module, name)"}}, +{"id":"dynamic-8cf5beb688abdef4","kind":"dynamic_consumer_site","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_precision.py","route_id":"route-f05686ba301ff5b5","origin_key":"dynamic:perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_precision.py:precision_context:3493208f5a9f","evidence_level":"source_static","site":{"path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_precision.py","line":1138,"scope":"precision_context","operation":"getattr","expression":"getattr(module, 'verify_prepared_physics', None)"}}, +{"id":"dynamic-e971a9070f24c227","kind":"dynamic_consumer_site","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_precision.py","route_id":"route-f05686ba301ff5b5","origin_key":"dynamic:perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_precision.py:precision_context:5f906f4c9c69","evidence_level":"source_static","site":{"path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_precision.py","line":1132,"scope":"precision_context","operation":"getattr","expression":"getattr(module, '__name__', '')"}}, +{"id":"dynamic-fae09d4c30a71c44","kind":"dynamic_consumer_site","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_precision.py","route_id":"route-f05686ba301ff5b5","origin_key":"dynamic:perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_precision.py:precision_context:806fc04e116c","evidence_level":"source_static","site":{"path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_precision.py","line":1136,"scope":"precision_context","operation":"getattr","expression":"getattr(module, 'prepare_common_state', None)"}}, +{"id":"dynamic-68ab7e2197395a0d","kind":"dynamic_consumer_site","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_precision.py","route_id":"route-f05686ba301ff5b5","origin_key":"dynamic:perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_precision.py:precision_context:9fe8d8cea57f","evidence_level":"source_static","site":{"path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_precision.py","line":1140,"scope":"precision_context","operation":"getattr","expression":"getattr(module, 'independent_physics_row', None)"}}, +{"id":"dynamic-8bb9bd920b33f396","kind":"dynamic_consumer_site","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_precision.py","route_id":"route-f05686ba301ff5b5","origin_key":"dynamic:perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_precision.py:precision_context:b36b6879bdf7","evidence_level":"source_static","site":{"path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_precision.py","line":1142,"scope":"precision_context","operation":"getattr","expression":"getattr(module, 'build_initial_step', None)"}}, +{"id":"dynamic-4ef47ee81fe73605","kind":"dynamic_consumer_site","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_precision.py","route_id":"route-f05686ba301ff5b5","origin_key":"dynamic:perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_precision.py:precision_context:e3e1b6a5e8f4","evidence_level":"source_static","site":{"path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_precision.py","line":1134,"scope":"precision_context","operation":"getattr","expression":"getattr(module, 'snapshot', None)"}}, +{"id":"dynamic-14c75eccb9ed5adf","kind":"dynamic_consumer_site","current_path":"perovskite-sim/perovskite_sim/validation/refinement_runner.py","route_id":"route-713848b2efca9ebf","origin_key":"dynamic:perovskite-sim/perovskite_sim/validation/refinement_runner.py:_executor_identity:89ab69bd3697","evidence_level":"source_static","site":{"path":"perovskite-sim/perovskite_sim/validation/refinement_runner.py","line":469,"scope":"_executor_identity","operation":"getattr","expression":"getattr(executor, '__name__', None)"}}, +{"id":"dynamic-016a4fc7eb3a5aed","kind":"dynamic_consumer_site","current_path":"perovskite-sim/perovskite_sim/validation/refinement_runner.py","route_id":"route-713848b2efca9ebf","origin_key":"dynamic:perovskite-sim/perovskite_sim/validation/refinement_runner.py:_executor_identity:89d8e5ee61ae","evidence_level":"source_static","site":{"path":"perovskite-sim/perovskite_sim/validation/refinement_runner.py","line":468,"scope":"_executor_identity","operation":"getattr","expression":"getattr(executor, '__qualname__', None)"}}, +{"id":"dynamic-d6f8c0b6dee64123","kind":"dynamic_consumer_site","current_path":"perovskite-sim/perovskite_sim/validation/refinement_runner.py","route_id":"route-713848b2efca9ebf","origin_key":"dynamic:perovskite-sim/perovskite_sim/validation/refinement_runner.py:_executor_identity:f78e743cca23","evidence_level":"source_static","site":{"path":"perovskite-sim/perovskite_sim/validation/refinement_runner.py","line":466,"scope":"_executor_identity","operation":"getattr","expression":"getattr(executor, '__module__', type(executor).__module__)"}}, +{"id":"dynamic-4abce4d5debe433f","kind":"dynamic_consumer_site","current_path":"perovskite-sim/perovskite_sim/validation/refinement_runner.py","route_id":"route-713848b2efca9ebf","origin_key":"dynamic:perovskite-sim/perovskite_sim/validation/refinement_runner.py:_executor_source_sha256:5cd915891afd","evidence_level":"source_static","site":{"path":"perovskite-sim/perovskite_sim/validation/refinement_runner.py","line":454,"scope":"_executor_source_sha256","operation":"getattr","expression":"getattr(executor, '__qualname__', repr(executor))"}}, +{"id":"dynamic-7efd83c0c89342b2","kind":"dynamic_consumer_site","current_path":"perovskite-sim/perovskite_sim/validation/refinement_runner.py","route_id":"route-713848b2efca9ebf","origin_key":"dynamic:perovskite-sim/perovskite_sim/validation/refinement_runner.py:load_executor:59e72c01edb1","evidence_level":"source_static","site":{"path":"perovskite-sim/perovskite_sim/validation/refinement_runner.py","line":314,"scope":"load_executor","operation":"importlib.import_module","expression":"importlib.import_module(module_name)"}}, +{"id":"dynamic-dc385526e326ac28","kind":"dynamic_consumer_site","current_path":"perovskite-sim/perovskite_sim/validation/refinement_runner.py","route_id":"route-713848b2efca9ebf","origin_key":"dynamic:perovskite-sim/perovskite_sim/validation/refinement_runner.py:load_executor:9f38534ad865","evidence_level":"source_static","site":{"path":"perovskite-sim/perovskite_sim/validation/refinement_runner.py","line":315,"scope":"load_executor","operation":"getattr","expression":"getattr(module, attribute_name)"}}, +{"id":"dynamic-ade5a5d5645a98b9","kind":"dynamic_consumer_site","current_path":"perovskite-sim/scripts/run_one_dimensional_mechanism_r1_controlled.py","route_id":"route-22ba77a4483724a0","origin_key":"dynamic:perovskite-sim/scripts/run_one_dimensional_mechanism_r1_controlled.py:_bootstrap_checkout:ded393436d81","evidence_level":"source_static","site":{"path":"perovskite-sim/scripts/run_one_dimensional_mechanism_r1_controlled.py","line":77,"scope":"_bootstrap_checkout","operation":"exec","expression":"exec(compile(checkout_bytes, module.__file__, 'exec', dont_inherit=True), module.__dict__)"}}, +{"id":"dynamic-7be6d6b4b5d95350","kind":"dynamic_consumer_site","current_path":"perovskite-sim/scripts/run_r1_v7_prototype.py","route_id":"route-f60540dff4a5bd5d","origin_key":"dynamic:perovskite-sim/scripts/run_r1_v7_prototype.py:run:25946d803b4a","evidence_level":"source_static","site":{"path":"perovskite-sim/scripts/run_r1_v7_prototype.py","line":472,"scope":"run","operation":"importlib.import_module","expression":"importlib.import_module('perovskite_sim.experiments.one_dimensional_mechanism_r1_precision')"}}, +{"id":"dynamic-65461850c4a86df6","kind":"dynamic_consumer_site","current_path":"perovskite-sim/scripts/run_r1_v8_prototype.py","route_id":"route-8a5c1300ec2f4ddc","origin_key":"dynamic:perovskite-sim/scripts/run_r1_v8_prototype.py:run:25946d803b4a","evidence_level":"source_static","site":{"path":"perovskite-sim/scripts/run_r1_v8_prototype.py","line":513,"scope":"run","operation":"importlib.import_module","expression":"importlib.import_module('perovskite_sim.experiments.one_dimensional_mechanism_r1_precision')"}}, +{"id":"dynamic-26063a1a8f1d49ee","kind":"dynamic_consumer_site","current_path":"perovskite-sim/scripts/run_r1_v9_prototype.py","route_id":"route-2db75d95400c1c0c","origin_key":"dynamic:perovskite-sim/scripts/run_r1_v9_prototype.py:check_functions:c9e1c99bb6e8","evidence_level":"source_static","site":{"path":"perovskite-sim/scripts/run_r1_v9_prototype.py","line":99,"scope":"check_functions","operation":"getattr","expression":"getattr(sys.modules.get(name), key, None)"}}, +{"id":"dynamic-c3b8e5ff4cdd8214","kind":"dynamic_consumer_site","current_path":"perovskite-sim/tests/integration/test_r1_v9_backend.py","route_id":"route-cc53d77ee1c6abe3","origin_key":"dynamic:perovskite-sim/tests/integration/test_r1_v9_backend.py:test_backend_is_immutable_and_does_not_replace_modules:ac2f6b4cdab6","evidence_level":"source_static","site":{"path":"perovskite-sim/tests/integration/test_r1_v9_backend.py","line":54,"scope":"test_backend_is_immutable_and_does_not_replace_modules","operation":"importlib.import_module","expression":"importlib.import_module('perovskite_sim.experiments.one_dimensional_mechanism_r1_response')"}}, +{"id":"dynamic-968065f246ba1451","kind":"dynamic_consumer_site","current_path":"perovskite-sim/tests/unit/experiments/test_extract_calado_reference.py","route_id":"route-9b9989e09fc8bc3c","origin_key":"dynamic:perovskite-sim/tests/unit/experiments/test_extract_calado_reference.py:mod:576eabb6dd72","evidence_level":"source_static","site":{"path":"perovskite-sim/tests/unit/experiments/test_extract_calado_reference.py","line":17,"scope":"mod","operation":"spec.loader.exec_module","expression":"spec.loader.exec_module(module)"}}, +{"id":"dynamic-98e24a3f72c9c7ca","kind":"dynamic_consumer_site","current_path":"perovskite-sim/tests/unit/experiments/test_extract_calado_reference.py","route_id":"route-9b9989e09fc8bc3c","origin_key":"dynamic:perovskite-sim/tests/unit/experiments/test_extract_calado_reference.py:mod:d2b5e6ea432a","evidence_level":"source_static","site":{"path":"perovskite-sim/tests/unit/experiments/test_extract_calado_reference.py","line":15,"scope":"mod","operation":"importlib.util.spec_from_file_location","expression":"importlib.util.spec_from_file_location('calado_vector_reference', path)"}}, +{"id":"dynamic-d14ddbc51490161d","kind":"dynamic_consumer_site","current_path":"perovskite-sim/tests/unit/experiments/test_import_scaps_cbo_reference.py","route_id":"route-05ab29e2a5705c35","origin_key":"dynamic:perovskite-sim/tests/unit/experiments/test_import_scaps_cbo_reference.py:_load_module:576eabb6dd72","evidence_level":"source_static","site":{"path":"perovskite-sim/tests/unit/experiments/test_import_scaps_cbo_reference.py","line":20,"scope":"_load_module","operation":"spec.loader.exec_module","expression":"spec.loader.exec_module(module)"}}, +{"id":"dynamic-165aee92c2bbf21c","kind":"dynamic_consumer_site","current_path":"perovskite-sim/tests/unit/experiments/test_import_scaps_cbo_reference.py","route_id":"route-05ab29e2a5705c35","origin_key":"dynamic:perovskite-sim/tests/unit/experiments/test_import_scaps_cbo_reference.py:_load_module:f50db2b8825d","evidence_level":"source_static","site":{"path":"perovskite-sim/tests/unit/experiments/test_import_scaps_cbo_reference.py","line":14,"scope":"_load_module","operation":"importlib.util.spec_from_file_location","expression":"importlib.util.spec_from_file_location('import_scaps_cbo_reference_test_module', path)"}}, +{"id":"dynamic-37347827745495dc","kind":"dynamic_consumer_site","current_path":"perovskite-sim/tests/unit/experiments/test_one_dimensional_mechanism_r1_evidence.py","route_id":"route-4e5d81ea927e27b6","origin_key":"dynamic:perovskite-sim/tests/unit/experiments/test_one_dimensional_mechanism_r1_evidence.py:runner:323e67d6b99f","evidence_level":"source_static","site":{"path":"perovskite-sim/tests/unit/experiments/test_one_dimensional_mechanism_r1_evidence.py","line":23,"scope":"runner","operation":"importlib.util.spec_from_file_location","expression":"importlib.util.spec_from_file_location('r1_evidence_runner', PROJECT / 'scripts/run_one_dimensional_mechanism_r1.py')"}}, +{"id":"dynamic-4dfd72b275b9bd49","kind":"dynamic_consumer_site","current_path":"perovskite-sim/tests/unit/experiments/test_one_dimensional_mechanism_r1_evidence.py","route_id":"route-4e5d81ea927e27b6","origin_key":"dynamic:perovskite-sim/tests/unit/experiments/test_one_dimensional_mechanism_r1_evidence.py:runner:576eabb6dd72","evidence_level":"source_static","site":{"path":"perovskite-sim/tests/unit/experiments/test_one_dimensional_mechanism_r1_evidence.py","line":27,"scope":"runner","operation":"spec.loader.exec_module","expression":"spec.loader.exec_module(module)"}}, +{"id":"dynamic-ce25ddbea0ff6e4e","kind":"dynamic_consumer_site","current_path":"perovskite-sim/tests/unit/experiments/test_one_dimensional_mechanism_r1_execution_axes.py","route_id":"route-97eb85a41f20e5c8","origin_key":"dynamic:perovskite-sim/tests/unit/experiments/test_one_dimensional_mechanism_r1_execution_axes.py:runner:576eabb6dd72","evidence_level":"source_static","site":{"path":"perovskite-sim/tests/unit/experiments/test_one_dimensional_mechanism_r1_execution_axes.py","line":56,"scope":"runner","operation":"spec.loader.exec_module","expression":"spec.loader.exec_module(module)"}}, +{"id":"dynamic-d59c48c6b8add847","kind":"dynamic_consumer_site","current_path":"perovskite-sim/tests/unit/experiments/test_one_dimensional_mechanism_r1_execution_axes.py","route_id":"route-97eb85a41f20e5c8","origin_key":"dynamic:perovskite-sim/tests/unit/experiments/test_one_dimensional_mechanism_r1_execution_axes.py:runner:66410706310f","evidence_level":"source_static","site":{"path":"perovskite-sim/tests/unit/experiments/test_one_dimensional_mechanism_r1_execution_axes.py","line":54,"scope":"runner","operation":"importlib.util.spec_from_file_location","expression":"importlib.util.spec_from_file_location('r1_execution_axes_runner', SCRIPT)"}}, +{"id":"dynamic-a38e094b9c53b29b","kind":"dynamic_consumer_site","current_path":"perovskite-sim/tests/unit/experiments/test_one_dimensional_mechanism_r1_physics_study.py","route_id":"route-46970daabcca4458","origin_key":"dynamic:perovskite-sim/tests/unit/experiments/test_one_dimensional_mechanism_r1_physics_study.py:runner:576eabb6dd72","evidence_level":"source_static","site":{"path":"perovskite-sim/tests/unit/experiments/test_one_dimensional_mechanism_r1_physics_study.py","line":17,"scope":"runner","operation":"spec.loader.exec_module","expression":"spec.loader.exec_module(module)"}}, +{"id":"dynamic-487af2c04fe00c85","kind":"dynamic_consumer_site","current_path":"perovskite-sim/tests/unit/experiments/test_one_dimensional_mechanism_r1_physics_study.py","route_id":"route-46970daabcca4458","origin_key":"dynamic:perovskite-sim/tests/unit/experiments/test_one_dimensional_mechanism_r1_physics_study.py:runner:e7188becf9ae","evidence_level":"source_static","site":{"path":"perovskite-sim/tests/unit/experiments/test_one_dimensional_mechanism_r1_physics_study.py","line":15,"scope":"runner","operation":"importlib.util.spec_from_file_location","expression":"importlib.util.spec_from_file_location('r1_physics_study_test_runner', path)"}}, +{"id":"dynamic-157737d0a024a6c5","kind":"dynamic_consumer_site","current_path":"perovskite-sim/tests/unit/experiments/test_one_dimensional_mechanism_r1_stage_one_cli.py","route_id":"route-63808dfa0ded0ec3","origin_key":"dynamic:perovskite-sim/tests/unit/experiments/test_one_dimensional_mechanism_r1_stage_one_cli.py:runner:576eabb6dd72","evidence_level":"source_static","site":{"path":"perovskite-sim/tests/unit/experiments/test_one_dimensional_mechanism_r1_stage_one_cli.py","line":29,"scope":"runner","operation":"spec.loader.exec_module","expression":"spec.loader.exec_module(module)"}}, +{"id":"dynamic-d3688d33364b07e9","kind":"dynamic_consumer_site","current_path":"perovskite-sim/tests/unit/experiments/test_one_dimensional_mechanism_r1_stage_one_cli.py","route_id":"route-63808dfa0ded0ec3","origin_key":"dynamic:perovskite-sim/tests/unit/experiments/test_one_dimensional_mechanism_r1_stage_one_cli.py:runner:f9fcef1f26c1","evidence_level":"source_static","site":{"path":"perovskite-sim/tests/unit/experiments/test_one_dimensional_mechanism_r1_stage_one_cli.py","line":27,"scope":"runner","operation":"importlib.util.spec_from_file_location","expression":"importlib.util.spec_from_file_location('r1_stage_one_runner', SCRIPT)"}}, +{"id":"dynamic-b585f05f71ea872c","kind":"dynamic_consumer_site","current_path":"perovskite-sim/tests/unit/experiments/test_plot_calado_fig1f.py","route_id":"route-3f87bf5ac3f90a8e","origin_key":"dynamic:perovskite-sim/tests/unit/experiments/test_plot_calado_fig1f.py:_load_module:4b2e138dce98","evidence_level":"source_static","site":{"path":"perovskite-sim/tests/unit/experiments/test_plot_calado_fig1f.py","line":23,"scope":"_load_module","operation":"importlib.util.spec_from_file_location","expression":"importlib.util.spec_from_file_location('plot_calado_fig1f_test_module', path)"}}, +{"id":"dynamic-0f7c8e8b60484193","kind":"dynamic_consumer_site","current_path":"perovskite-sim/tests/unit/experiments/test_plot_calado_fig1f.py","route_id":"route-3f87bf5ac3f90a8e","origin_key":"dynamic:perovskite-sim/tests/unit/experiments/test_plot_calado_fig1f.py:_load_module:576eabb6dd72","evidence_level":"source_static","site":{"path":"perovskite-sim/tests/unit/experiments/test_plot_calado_fig1f.py","line":29,"scope":"_load_module","operation":"spec.loader.exec_module","expression":"spec.loader.exec_module(module)"}}, +{"id":"dynamic-b42d93d4d16eeca1","kind":"dynamic_consumer_site","current_path":"perovskite-sim/tests/unit/experiments/test_plot_calado_fig1f_scan_rate.py","route_id":"route-a90735d8a542f98e","origin_key":"dynamic:perovskite-sim/tests/unit/experiments/test_plot_calado_fig1f_scan_rate.py:_load:576eabb6dd72","evidence_level":"source_static","site":{"path":"perovskite-sim/tests/unit/experiments/test_plot_calado_fig1f_scan_rate.py","line":18,"scope":"_load","operation":"spec.loader.exec_module","expression":"spec.loader.exec_module(module)"}}, +{"id":"dynamic-9db6db242bb0a6b8","kind":"dynamic_consumer_site","current_path":"perovskite-sim/tests/unit/experiments/test_plot_calado_fig1f_scan_rate.py","route_id":"route-a90735d8a542f98e","origin_key":"dynamic:perovskite-sim/tests/unit/experiments/test_plot_calado_fig1f_scan_rate.py:_load:85970dd28b42","evidence_level":"source_static","site":{"path":"perovskite-sim/tests/unit/experiments/test_plot_calado_fig1f_scan_rate.py","line":14,"scope":"_load","operation":"importlib.util.spec_from_file_location","expression":"importlib.util.spec_from_file_location(f'{name}_test_module', path)"}}, +{"id":"dynamic-0a031a85ab817a91","kind":"dynamic_consumer_site","current_path":"perovskite-sim/tests/unit/experiments/test_probe_calado_optical_inputs.py","route_id":"route-ded76a1543b48a3c","origin_key":"dynamic:perovskite-sim/tests/unit/experiments/test_probe_calado_optical_inputs.py:probe:576eabb6dd72","evidence_level":"source_static","site":{"path":"perovskite-sim/tests/unit/experiments/test_probe_calado_optical_inputs.py","line":17,"scope":"probe","operation":"spec.loader.exec_module","expression":"spec.loader.exec_module(module)"}}, +{"id":"dynamic-8181d19066685bd7","kind":"dynamic_consumer_site","current_path":"perovskite-sim/tests/unit/experiments/test_probe_calado_optical_inputs.py","route_id":"route-ded76a1543b48a3c","origin_key":"dynamic:perovskite-sim/tests/unit/experiments/test_probe_calado_optical_inputs.py:probe:f591b36fe0ce","evidence_level":"source_static","site":{"path":"perovskite-sim/tests/unit/experiments/test_probe_calado_optical_inputs.py","line":15,"scope":"probe","operation":"importlib.util.spec_from_file_location","expression":"importlib.util.spec_from_file_location('calado_optical_probe', source)"}}, +{"id":"dynamic-a4e070060899fb61","kind":"dynamic_consumer_site","current_path":"perovskite-sim/tests/unit/experiments/test_probe_calado_paper_alignment.py","route_id":"route-585052475e0e0c6c","origin_key":"dynamic:perovskite-sim/tests/unit/experiments/test_probe_calado_paper_alignment.py:probe:576eabb6dd72","evidence_level":"source_static","site":{"path":"perovskite-sim/tests/unit/experiments/test_probe_calado_paper_alignment.py","line":16,"scope":"probe","operation":"spec.loader.exec_module","expression":"spec.loader.exec_module(module)"}}, +{"id":"dynamic-c23705d32b4e6d83","kind":"dynamic_consumer_site","current_path":"perovskite-sim/tests/unit/experiments/test_probe_calado_paper_alignment.py","route_id":"route-585052475e0e0c6c","origin_key":"dynamic:perovskite-sim/tests/unit/experiments/test_probe_calado_paper_alignment.py:probe:6d120b229c43","evidence_level":"source_static","site":{"path":"perovskite-sim/tests/unit/experiments/test_probe_calado_paper_alignment.py","line":14,"scope":"probe","operation":"importlib.util.spec_from_file_location","expression":"importlib.util.spec_from_file_location('calado_alignment_probe', source)"}}, +{"id":"dynamic-84c681d27d633e07","kind":"dynamic_consumer_site","current_path":"perovskite-sim/tests/unit/experiments/test_r1_runner_qualification_v3.py","route_id":"route-43a70d06d37fd981","origin_key":"dynamic:perovskite-sim/tests/unit/experiments/test_r1_runner_qualification_v3.py:runner:576eabb6dd72","evidence_level":"source_static","site":{"path":"perovskite-sim/tests/unit/experiments/test_r1_runner_qualification_v3.py","line":34,"scope":"runner","operation":"spec.loader.exec_module","expression":"spec.loader.exec_module(module)"}}, +{"id":"dynamic-b2ca0e0ba30cf3a1","kind":"dynamic_consumer_site","current_path":"perovskite-sim/tests/unit/experiments/test_r1_runner_qualification_v3.py","route_id":"route-43a70d06d37fd981","origin_key":"dynamic:perovskite-sim/tests/unit/experiments/test_r1_runner_qualification_v3.py:runner:cfccc62148c2","evidence_level":"source_static","site":{"path":"perovskite-sim/tests/unit/experiments/test_r1_runner_qualification_v3.py","line":32,"scope":"runner","operation":"importlib.util.spec_from_file_location","expression":"importlib.util.spec_from_file_location('r1_v3_qualification_wiring_runner', path)"}}, +{"id":"dynamic-bf64a78967d5e8b1","kind":"dynamic_consumer_site","current_path":"perovskite-sim/tests/unit/experiments/test_r1_study_external_request.py","route_id":"route-2db125a60db75463","origin_key":"dynamic:perovskite-sim/tests/unit/experiments/test_r1_study_external_request.py:test_current_comparison_cannot_ignore_early_or_interior_times:4630aebf96c5","evidence_level":"source_static","site":{"path":"perovskite-sim/tests/unit/experiments/test_r1_study_external_request.py","line":69,"scope":"test_current_comparison_cannot_ignore_early_or_interior_times","operation":"importlib.util.spec_from_file_location","expression":"importlib.util.spec_from_file_location('r1_current_construction_test_runner', file)"}}, +{"id":"dynamic-a1f5770d53e41834","kind":"dynamic_consumer_site","current_path":"perovskite-sim/tests/unit/experiments/test_r1_study_external_request.py","route_id":"route-2db125a60db75463","origin_key":"dynamic:perovskite-sim/tests/unit/experiments/test_r1_study_external_request.py:test_current_comparison_cannot_ignore_early_or_interior_times:5296e9e7edfa","evidence_level":"source_static","site":{"path":"perovskite-sim/tests/unit/experiments/test_r1_study_external_request.py","line":71,"scope":"test_current_comparison_cannot_ignore_early_or_interior_times","operation":"spec.loader.exec_module","expression":"spec.loader.exec_module(runner)"}}, +{"id":"dynamic-7899e74a19725a28","kind":"dynamic_consumer_site","current_path":"perovskite-sim/tests/unit/experiments/test_r1_study_external_request.py","route_id":"route-2db125a60db75463","origin_key":"dynamic:perovskite-sim/tests/unit/experiments/test_r1_study_external_request.py:test_runner_plans_exact_case_and_preparation_without_calling_solver:5296e9e7edfa","evidence_level":"source_static","site":{"path":"perovskite-sim/tests/unit/experiments/test_r1_study_external_request.py","line":50,"scope":"test_runner_plans_exact_case_and_preparation_without_calling_solver","operation":"spec.loader.exec_module","expression":"spec.loader.exec_module(runner)"}}, +{"id":"dynamic-98823d0225c57145","kind":"dynamic_consumer_site","current_path":"perovskite-sim/tests/unit/experiments/test_r1_study_external_request.py","route_id":"route-2db125a60db75463","origin_key":"dynamic:perovskite-sim/tests/unit/experiments/test_r1_study_external_request.py:test_runner_plans_exact_case_and_preparation_without_calling_solver:83f2f6cca232","evidence_level":"source_static","site":{"path":"perovskite-sim/tests/unit/experiments/test_r1_study_external_request.py","line":48,"scope":"test_runner_plans_exact_case_and_preparation_without_calling_solver","operation":"importlib.util.spec_from_file_location","expression":"importlib.util.spec_from_file_location('r1_external_request_test_runner', file)"}}, +{"id":"dynamic-7a76d07f933f488f","kind":"dynamic_consumer_site","current_path":"perovskite-sim/tests/unit/experiments/test_r1_study_finest_criteria.py","route_id":"route-49bd02134c8eb889","origin_key":"dynamic:perovskite-sim/tests/unit/experiments/test_r1_study_finest_criteria.py:runner:576eabb6dd72","evidence_level":"source_static","site":{"path":"perovskite-sim/tests/unit/experiments/test_r1_study_finest_criteria.py","line":17,"scope":"runner","operation":"spec.loader.exec_module","expression":"spec.loader.exec_module(module)"}}, +{"id":"dynamic-848238e07d3e589f","kind":"dynamic_consumer_site","current_path":"perovskite-sim/tests/unit/experiments/test_r1_study_finest_criteria.py","route_id":"route-49bd02134c8eb889","origin_key":"dynamic:perovskite-sim/tests/unit/experiments/test_r1_study_finest_criteria.py:runner:f4a214c3936d","evidence_level":"source_static","site":{"path":"perovskite-sim/tests/unit/experiments/test_r1_study_finest_criteria.py","line":15,"scope":"runner","operation":"importlib.util.spec_from_file_location","expression":"importlib.util.spec_from_file_location('r1_finest_criteria_runner', path)"}}, +{"id":"dynamic-8163f0a4086021f8","kind":"dynamic_consumer_site","current_path":"perovskite-sim/tests/unit/experiments/test_r1_v11_study_consumers.py","route_id":"route-b2ae669562018348","origin_key":"dynamic:perovskite-sim/tests/unit/experiments/test_r1_v11_study_consumers.py:test_invalid_ac_axis_is_rejected_before_a_study_starts:0f7faac6dd77","evidence_level":"source_static","site":{"path":"perovskite-sim/tests/unit/experiments/test_r1_v11_study_consumers.py","line":12,"scope":"test_invalid_ac_axis_is_rejected_before_a_study_starts","operation":"importlib.util.spec_from_file_location","expression":"importlib.util.spec_from_file_location('r1_v11_ac_axis', path)"}}, +{"id":"dynamic-1dd2d1185667c23c","kind":"dynamic_consumer_site","current_path":"perovskite-sim/tests/unit/experiments/test_r1_v11_study_consumers.py","route_id":"route-b2ae669562018348","origin_key":"dynamic:perovskite-sim/tests/unit/experiments/test_r1_v11_study_consumers.py:test_invalid_ac_axis_is_rejected_before_a_study_starts:576eabb6dd72","evidence_level":"source_static","site":{"path":"perovskite-sim/tests/unit/experiments/test_r1_v11_study_consumers.py","line":14,"scope":"test_invalid_ac_axis_is_rejected_before_a_study_starts","operation":"spec.loader.exec_module","expression":"spec.loader.exec_module(module)"}}, +{"id":"dynamic-50d98de4f7caa793","kind":"dynamic_consumer_site","current_path":"perovskite-sim/tests/unit/experiments/test_r1_v11_study_consumers.py","route_id":"route-b2ae669562018348","origin_key":"dynamic:perovskite-sim/tests/unit/experiments/test_r1_v11_study_consumers.py:test_target_dc_plan_has_only_the_selected_endpoint_and_preparation:3d74bb57c709","evidence_level":"source_static","site":{"path":"perovskite-sim/tests/unit/experiments/test_r1_v11_study_consumers.py","line":25,"scope":"test_target_dc_plan_has_only_the_selected_endpoint_and_preparation","operation":"importlib.util.spec_from_file_location","expression":"importlib.util.spec_from_file_location('r1_v11_study_consumers', path)"}}, +{"id":"dynamic-ec42d71b2ebe939b","kind":"dynamic_consumer_site","current_path":"perovskite-sim/tests/unit/experiments/test_r1_v11_study_consumers.py","route_id":"route-b2ae669562018348","origin_key":"dynamic:perovskite-sim/tests/unit/experiments/test_r1_v11_study_consumers.py:test_target_dc_plan_has_only_the_selected_endpoint_and_preparation:576eabb6dd72","evidence_level":"source_static","site":{"path":"perovskite-sim/tests/unit/experiments/test_r1_v11_study_consumers.py","line":27,"scope":"test_target_dc_plan_has_only_the_selected_endpoint_and_preparation","operation":"spec.loader.exec_module","expression":"spec.loader.exec_module(module)"}}, +{"id":"dynamic-1eee9553ff421b3e","kind":"dynamic_consumer_site","current_path":"perovskite-sim/tests/unit/experiments/test_r1_v5_case_runner.py","route_id":"route-c74ad5796c8c2c67","origin_key":"dynamic:perovskite-sim/tests/unit/experiments/test_r1_v5_case_runner.py:test_explicit_short_cases_preserve_axes_and_reject_scope_or_anchor_changes:4812938d7e10","evidence_level":"source_static","site":{"path":"perovskite-sim/tests/unit/experiments/test_r1_v5_case_runner.py","line":13,"scope":"test_explicit_short_cases_preserve_axes_and_reject_scope_or_anchor_changes","operation":"importlib.util.spec_from_file_location","expression":"importlib.util.spec_from_file_location('v5_case_runner_validation', script)"}}, +{"id":"dynamic-3e6f9310b269e4bf","kind":"dynamic_consumer_site","current_path":"perovskite-sim/tests/unit/experiments/test_r1_v5_case_runner.py","route_id":"route-c74ad5796c8c2c67","origin_key":"dynamic:perovskite-sim/tests/unit/experiments/test_r1_v5_case_runner.py:test_explicit_short_cases_preserve_axes_and_reject_scope_or_anchor_changes:5296e9e7edfa","evidence_level":"source_static","site":{"path":"perovskite-sim/tests/unit/experiments/test_r1_v5_case_runner.py","line":15,"scope":"test_explicit_short_cases_preserve_axes_and_reject_scope_or_anchor_changes","operation":"spec.loader.exec_module","expression":"spec.loader.exec_module(runner)"}}, +{"id":"dynamic-efc076cf1334193b","kind":"dynamic_consumer_site","current_path":"perovskite-sim/tests/unit/experiments/test_r1_v5_response_tool.py","route_id":"route-0ec651ea946326c2","origin_key":"dynamic:perovskite-sim/tests/unit/experiments/test_r1_v5_response_tool.py:tool:576eabb6dd72","evidence_level":"source_static","site":{"path":"perovskite-sim/tests/unit/experiments/test_r1_v5_response_tool.py","line":22,"scope":"tool","operation":"spec.loader.exec_module","expression":"spec.loader.exec_module(module)"}}, +{"id":"dynamic-2e5d86c9a551a14a","kind":"dynamic_consumer_site","current_path":"perovskite-sim/tests/unit/experiments/test_r1_v5_response_tool.py","route_id":"route-0ec651ea946326c2","origin_key":"dynamic:perovskite-sim/tests/unit/experiments/test_r1_v5_response_tool.py:tool:aae91ff322bd","evidence_level":"source_static","site":{"path":"perovskite-sim/tests/unit/experiments/test_r1_v5_response_tool.py","line":20,"scope":"tool","operation":"importlib.util.spec_from_file_location","expression":"importlib.util.spec_from_file_location('r1_v5_response_tool', path)"}}, +{"id":"dynamic-df900e358fc88bbf","kind":"dynamic_consumer_site","current_path":"perovskite-sim/tests/unit/experiments/test_r1_v6_coupled_sensitivity.py","route_id":"route-8066ca7eb5dd963a","origin_key":"dynamic:perovskite-sim/tests/unit/experiments/test_r1_v6_coupled_sensitivity.py:module:94a9ffda8930","evidence_level":"source_static","site":{"path":"perovskite-sim/tests/unit/experiments/test_r1_v6_coupled_sensitivity.py","line":12,"operation":"SPEC.loader.exec_module","expression":"SPEC.loader.exec_module(MODULE)"}}, +{"id":"dynamic-b72d3479e86b846d","kind":"dynamic_consumer_site","current_path":"perovskite-sim/tests/unit/experiments/test_r1_v6_coupled_sensitivity.py","route_id":"route-8066ca7eb5dd963a","origin_key":"dynamic:perovskite-sim/tests/unit/experiments/test_r1_v6_coupled_sensitivity.py:module:c6fdf644b856","evidence_level":"source_static","site":{"path":"perovskite-sim/tests/unit/experiments/test_r1_v6_coupled_sensitivity.py","line":10,"operation":"importlib.util.spec_from_file_location","expression":"importlib.util.spec_from_file_location('coupled_sensitivity_v6', PATH)"}}, +{"id":"dynamic-301b9aef9fbcc96b","kind":"dynamic_consumer_site","current_path":"perovskite-sim/tests/unit/experiments/test_r1_v6_crosscode.py","route_id":"route-b971cfdba797f5ca","origin_key":"dynamic:perovskite-sim/tests/unit/experiments/test_r1_v6_crosscode.py:load_tool:0599b36da579","evidence_level":"source_static","site":{"path":"perovskite-sim/tests/unit/experiments/test_r1_v6_crosscode.py","line":10,"scope":"load_tool","operation":"importlib.util.spec_from_file_location","expression":"importlib.util.spec_from_file_location(name.removesuffix('.py'), path)"}}, +{"id":"dynamic-6e82dfbb309ac307","kind":"dynamic_consumer_site","current_path":"perovskite-sim/tests/unit/experiments/test_r1_v6_crosscode.py","route_id":"route-b971cfdba797f5ca","origin_key":"dynamic:perovskite-sim/tests/unit/experiments/test_r1_v6_crosscode.py:load_tool:576eabb6dd72","evidence_level":"source_static","site":{"path":"perovskite-sim/tests/unit/experiments/test_r1_v6_crosscode.py","line":12,"scope":"load_tool","operation":"spec.loader.exec_module","expression":"spec.loader.exec_module(module)"}}, +{"id":"dynamic-9aecf47d20751941","kind":"dynamic_consumer_site","current_path":"perovskite-sim/tests/unit/experiments/test_r1_v6_verification.py","route_id":"route-d9a70619b9fed429","origin_key":"dynamic:perovskite-sim/tests/unit/experiments/test_r1_v6_verification.py:load_script:1cf77c87aa18","evidence_level":"source_static","site":{"path":"perovskite-sim/tests/unit/experiments/test_r1_v6_verification.py","line":13,"scope":"load_script","operation":"spec_from_file_location","expression":"spec_from_file_location(name.replace('.py', ''), path)"}}, +{"id":"dynamic-c9274ee527248b61","kind":"dynamic_consumer_site","current_path":"perovskite-sim/tests/unit/experiments/test_r1_v6_verification.py","route_id":"route-d9a70619b9fed429","origin_key":"dynamic:perovskite-sim/tests/unit/experiments/test_r1_v6_verification.py:load_script:576eabb6dd72","evidence_level":"source_static","site":{"path":"perovskite-sim/tests/unit/experiments/test_r1_v6_verification.py","line":15,"scope":"load_script","operation":"spec.loader.exec_module","expression":"spec.loader.exec_module(module)"}}, +{"id":"dynamic-249a9c1cecebc6d1","kind":"dynamic_consumer_site","current_path":"perovskite-sim/tests/unit/experiments/test_r1_v7_prototype_runner.py","route_id":"route-d22ef4e7817b8927","origin_key":"dynamic:perovskite-sim/tests/unit/experiments/test_r1_v7_prototype_runner.py:module:5296e9e7edfa","evidence_level":"source_static","site":{"path":"perovskite-sim/tests/unit/experiments/test_r1_v7_prototype_runner.py","line":16,"operation":"spec.loader.exec_module","expression":"spec.loader.exec_module(runner)"}}, +{"id":"dynamic-17ec200a09541d2f","kind":"dynamic_consumer_site","current_path":"perovskite-sim/tests/unit/experiments/test_r1_v7_prototype_runner.py","route_id":"route-d22ef4e7817b8927","origin_key":"dynamic:perovskite-sim/tests/unit/experiments/test_r1_v7_prototype_runner.py:module:5ef2d48ca98f","evidence_level":"source_static","site":{"path":"perovskite-sim/tests/unit/experiments/test_r1_v7_prototype_runner.py","line":14,"operation":"spec_from_file_location","expression":"spec_from_file_location('r1_v7_prototype_runner', path)"}}, +{"id":"dynamic-c0c7c24e338a9c7e","kind":"dynamic_consumer_site","current_path":"perovskite-sim/tests/unit/experiments/test_r1_v8_prototype_runner.py","route_id":"route-cf45306c6a024d37","origin_key":"dynamic:perovskite-sim/tests/unit/experiments/test_r1_v8_prototype_runner.py:module:5296e9e7edfa","evidence_level":"source_static","site":{"path":"perovskite-sim/tests/unit/experiments/test_r1_v8_prototype_runner.py","line":16,"operation":"spec.loader.exec_module","expression":"spec.loader.exec_module(runner)"}}, +{"id":"dynamic-1a053604ec45fc87","kind":"dynamic_consumer_site","current_path":"perovskite-sim/tests/unit/experiments/test_r1_v8_prototype_runner.py","route_id":"route-cf45306c6a024d37","origin_key":"dynamic:perovskite-sim/tests/unit/experiments/test_r1_v8_prototype_runner.py:module:5ef2d48ca98f","evidence_level":"source_static","site":{"path":"perovskite-sim/tests/unit/experiments/test_r1_v8_prototype_runner.py","line":14,"operation":"spec_from_file_location","expression":"spec_from_file_location('r1_v7_prototype_runner', path)"}}, +{"id":"dynamic-2befa75340a0dd2e","kind":"dynamic_consumer_site","current_path":"perovskite-sim/tests/unit/experiments/test_r1_v9_pair_codec.py","route_id":"route-b9f8796da5f6d80e","origin_key":"dynamic:perovskite-sim/tests/unit/experiments/test_r1_v9_pair_codec.py:test_nonfinite_failure_keeps_original_error_and_lossless_prefix:5296e9e7edfa","evidence_level":"source_static","site":{"path":"perovskite-sim/tests/unit/experiments/test_r1_v9_pair_codec.py","line":219,"scope":"test_nonfinite_failure_keeps_original_error_and_lossless_prefix","operation":"spec.loader.exec_module","expression":"spec.loader.exec_module(runner)"}}, +{"id":"dynamic-8eefc2dbabd0bd7c","kind":"dynamic_consumer_site","current_path":"perovskite-sim/tests/unit/experiments/test_r1_v9_pair_codec.py","route_id":"route-b9f8796da5f6d80e","origin_key":"dynamic:perovskite-sim/tests/unit/experiments/test_r1_v9_pair_codec.py:test_nonfinite_failure_keeps_original_error_and_lossless_prefix:d8a04897544a","evidence_level":"source_static","site":{"path":"perovskite-sim/tests/unit/experiments/test_r1_v9_pair_codec.py","line":217,"scope":"test_nonfinite_failure_keeps_original_error_and_lossless_prefix","operation":"importlib.util.spec_from_file_location","expression":"importlib.util.spec_from_file_location('pair_failure_runner', project / 'scripts/run_one_dimensional_mechanism_r1_stage_one.py')"}}, +{"id":"dynamic-48c16449e9fcd5aa","kind":"dynamic_consumer_site","current_path":"perovskite-sim/tests/unit/experiments/test_run_interface_cbo_scan.py","route_id":"route-e0355b86d41d6620","origin_key":"dynamic:perovskite-sim/tests/unit/experiments/test_run_interface_cbo_scan.py:_load_cli_module:576eabb6dd72","evidence_level":"source_static","site":{"path":"perovskite-sim/tests/unit/experiments/test_run_interface_cbo_scan.py","line":24,"scope":"_load_cli_module","operation":"spec.loader.exec_module","expression":"spec.loader.exec_module(module)"}}, +{"id":"dynamic-f7783314bf032988","kind":"dynamic_consumer_site","current_path":"perovskite-sim/tests/unit/experiments/test_run_interface_cbo_scan.py","route_id":"route-e0355b86d41d6620","origin_key":"dynamic:perovskite-sim/tests/unit/experiments/test_run_interface_cbo_scan.py:_load_cli_module:a47a209be9fd","evidence_level":"source_static","site":{"path":"perovskite-sim/tests/unit/experiments/test_run_interface_cbo_scan.py","line":18,"scope":"_load_cli_module","operation":"importlib.util.spec_from_file_location","expression":"importlib.util.spec_from_file_location('run_interface_cbo_scan_test_module', path)"}}, +{"id":"dynamic-7aa44a2e3143088e","kind":"dynamic_consumer_site","current_path":"perovskite-sim/tests/unit/experiments/test_run_interface_cbo_sensitivity.py","route_id":"route-ed0cef05b7deddb7","origin_key":"dynamic:perovskite-sim/tests/unit/experiments/test_run_interface_cbo_sensitivity.py:_load_module:576eabb6dd72","evidence_level":"source_static","site":{"path":"perovskite-sim/tests/unit/experiments/test_run_interface_cbo_sensitivity.py","line":19,"scope":"_load_module","operation":"spec.loader.exec_module","expression":"spec.loader.exec_module(module)"}}, +{"id":"dynamic-8af92e091fc266e4","kind":"dynamic_consumer_site","current_path":"perovskite-sim/tests/unit/experiments/test_run_interface_cbo_sensitivity.py","route_id":"route-ed0cef05b7deddb7","origin_key":"dynamic:perovskite-sim/tests/unit/experiments/test_run_interface_cbo_sensitivity.py:_load_module:8ce69ec534ca","evidence_level":"source_static","site":{"path":"perovskite-sim/tests/unit/experiments/test_run_interface_cbo_sensitivity.py","line":13,"scope":"_load_module","operation":"importlib.util.spec_from_file_location","expression":"importlib.util.spec_from_file_location('run_interface_cbo_sensitivity_test_module', path)"}}, +{"id":"dynamic-c76134b18e0253c5","kind":"dynamic_consumer_site","current_path":"perovskite-sim/tests/unit/experiments/test_run_interface_srh_identifiability.py","route_id":"route-776e4c0e4ee1937c","origin_key":"dynamic:perovskite-sim/tests/unit/experiments/test_run_interface_srh_identifiability.py:_load_module:576eabb6dd72","evidence_level":"source_static","site":{"path":"perovskite-sim/tests/unit/experiments/test_run_interface_srh_identifiability.py","line":16,"scope":"_load_module","operation":"spec.loader.exec_module","expression":"spec.loader.exec_module(module)"}}, +{"id":"dynamic-cd29d27946edc1ff","kind":"dynamic_consumer_site","current_path":"perovskite-sim/tests/unit/experiments/test_run_interface_srh_identifiability.py","route_id":"route-776e4c0e4ee1937c","origin_key":"dynamic:perovskite-sim/tests/unit/experiments/test_run_interface_srh_identifiability.py:_load_module:b90d37cc169c","evidence_level":"source_static","site":{"path":"perovskite-sim/tests/unit/experiments/test_run_interface_srh_identifiability.py","line":10,"scope":"_load_module","operation":"importlib.util.spec_from_file_location","expression":"importlib.util.spec_from_file_location('run_interface_srh_identifiability_test_module', path)"}}, +{"id":"dynamic-699158b491ba7822","kind":"dynamic_consumer_site","current_path":"perovskite-sim/tests/unit/experiments/test_summarize_ion_frontend_matrix.py","route_id":"route-3abd0eb4d68aabe0","origin_key":"dynamic:perovskite-sim/tests/unit/experiments/test_summarize_ion_frontend_matrix.py:mod:0ee88f572ced","evidence_level":"source_static","site":{"path":"perovskite-sim/tests/unit/experiments/test_summarize_ion_frontend_matrix.py","line":13,"scope":"mod","operation":"importlib.util.spec_from_file_location","expression":"importlib.util.spec_from_file_location('ion_frontend_matrix', source)"}}, +{"id":"dynamic-27a095c78709ad2c","kind":"dynamic_consumer_site","current_path":"perovskite-sim/tests/unit/experiments/test_summarize_ion_frontend_matrix.py","route_id":"route-3abd0eb4d68aabe0","origin_key":"dynamic:perovskite-sim/tests/unit/experiments/test_summarize_ion_frontend_matrix.py:mod:576eabb6dd72","evidence_level":"source_static","site":{"path":"perovskite-sim/tests/unit/experiments/test_summarize_ion_frontend_matrix.py","line":15,"scope":"mod","operation":"spec.loader.exec_module","expression":"spec.loader.exec_module(module)"}}, +{"id":"dynamic-6e2976db96e26dc2","kind":"dynamic_consumer_site","current_path":"perovskite-sim/tests/unit/test_blas_marker_selection.py","route_id":"route-c30b41d08fd69cae","origin_key":"dynamic:perovskite-sim/tests/unit/test_blas_marker_selection.py:module:57f914733a10","evidence_level":"source_static","site":{"path":"perovskite-sim/tests/unit/test_blas_marker_selection.py","line":13,"operation":"_SPEC.loader.exec_module","expression":"_SPEC.loader.exec_module(_CONFTEST)"}}, +{"id":"dynamic-428926735cf254c7","kind":"dynamic_consumer_site","current_path":"perovskite-sim/tests/unit/test_blas_marker_selection.py","route_id":"route-c30b41d08fd69cae","origin_key":"dynamic:perovskite-sim/tests/unit/test_blas_marker_selection.py:module:7ef250a2d430","evidence_level":"source_static","site":{"path":"perovskite-sim/tests/unit/test_blas_marker_selection.py","line":10,"operation":"importlib.util.spec_from_file_location","expression":"importlib.util.spec_from_file_location('solarlab_root_conftest', _CONFTEST_PATH)"}}, +{"id":"dynamic-084b32fdb992e64d","kind":"dynamic_consumer_site","current_path":"perovskite-sim/tests/unit/twod/test_solver_2d.py","route_id":"route-b328a7af01f4305f","origin_key":"dynamic:perovskite-sim/tests/unit/twod/test_solver_2d.py:test_assemble_rhs_2d_radiative_reabsorption_enabled_helper_is_invoked:9ba46e423cfa","evidence_level":"source_static","site":{"path":"perovskite-sim/tests/unit/twod/test_solver_2d.py","line":1025,"scope":"test_assemble_rhs_2d_radiative_reabsorption_enabled_helper_is_invoked","operation":"__import__","expression":"__import__('perovskite_sim.twod.radiative_reabsorption_2d', fromlist=['recompute_g_with_rad_2d'])"}}, +{"id":"dynamic-77f17a1064150c82","kind":"dynamic_consumer_site","current_path":"perovskite-sim/tests/unit/validation/test_compare_scaps_defect_reference.py","route_id":"route-0104588b49b88f9b","origin_key":"dynamic:perovskite-sim/tests/unit/validation/test_compare_scaps_defect_reference.py:_load_module:1c30441e4135","evidence_level":"source_static","site":{"path":"perovskite-sim/tests/unit/validation/test_compare_scaps_defect_reference.py","line":22,"scope":"_load_module","operation":"importlib.util.spec_from_file_location","expression":"importlib.util.spec_from_file_location('compare_scaps_defect_reference_test_module', path)"}}, +{"id":"dynamic-982d9a2b9fd561da","kind":"dynamic_consumer_site","current_path":"perovskite-sim/tests/unit/validation/test_compare_scaps_defect_reference.py","route_id":"route-0104588b49b88f9b","origin_key":"dynamic:perovskite-sim/tests/unit/validation/test_compare_scaps_defect_reference.py:_load_module:576eabb6dd72","evidence_level":"source_static","site":{"path":"perovskite-sim/tests/unit/validation/test_compare_scaps_defect_reference.py","line":28,"scope":"_load_module","operation":"spec.loader.exec_module","expression":"spec.loader.exec_module(module)"}}, +{"id":"dynamic-ca59be3215f8d9cb","kind":"dynamic_consumer_site","current_path":"perovskite-sim/tests/unit/validation/test_import_scaps_defect_reference.py","route_id":"route-ea9e842e5124c927","origin_key":"dynamic:perovskite-sim/tests/unit/validation/test_import_scaps_defect_reference.py:_load_module:576eabb6dd72","evidence_level":"source_static","site":{"path":"perovskite-sim/tests/unit/validation/test_import_scaps_defect_reference.py","line":24,"scope":"_load_module","operation":"spec.loader.exec_module","expression":"spec.loader.exec_module(module)"}}, +{"id":"dynamic-fe98b15caa990bcb","kind":"dynamic_consumer_site","current_path":"perovskite-sim/tests/unit/validation/test_import_scaps_defect_reference.py","route_id":"route-ea9e842e5124c927","origin_key":"dynamic:perovskite-sim/tests/unit/validation/test_import_scaps_defect_reference.py:_load_module:83c082feb051","evidence_level":"source_static","site":{"path":"perovskite-sim/tests/unit/validation/test_import_scaps_defect_reference.py","line":18,"scope":"_load_module","operation":"importlib.util.spec_from_file_location","expression":"importlib.util.spec_from_file_location('import_scaps_defect_reference_test_module', path)"}}, +{"id":"dynamic-2815dd587f32c50f","kind":"dynamic_consumer_site","current_path":"perovskite-sim/tests/unit/validation/test_import_scaps_multivalent_defect_reference.py","route_id":"route-398628efb166a6f0","origin_key":"dynamic:perovskite-sim/tests/unit/validation/test_import_scaps_multivalent_defect_reference.py:_load_module:576eabb6dd72","evidence_level":"source_static","site":{"path":"perovskite-sim/tests/unit/validation/test_import_scaps_multivalent_defect_reference.py","line":38,"scope":"_load_module","operation":"spec.loader.exec_module","expression":"spec.loader.exec_module(module)"}}, +{"id":"dynamic-030e983e4886db14","kind":"dynamic_consumer_site","current_path":"perovskite-sim/tests/unit/validation/test_import_scaps_multivalent_defect_reference.py","route_id":"route-398628efb166a6f0","origin_key":"dynamic:perovskite-sim/tests/unit/validation/test_import_scaps_multivalent_defect_reference.py:_load_module:6ed7e3d9dd1c","evidence_level":"source_static","site":{"path":"perovskite-sim/tests/unit/validation/test_import_scaps_multivalent_defect_reference.py","line":32,"scope":"_load_module","operation":"importlib.util.spec_from_file_location","expression":"importlib.util.spec_from_file_location('import_scaps_multivalent_defect_reference_test_module', path)"}}, +{"id":"environment-3c6cf6f3958ab5be","kind":"environment_behavior_or_execution_setting","current_path":"perovskite-sim/scripts/plot_calado_fig1f.py","route_id":"route-57092aaac366ce0c","origin_key":"environment:MKL_NUM_THREADS","name_or_expression":"MKL_NUM_THREADS","computed_name":false,"evidence_level":"source_static","reads":[{"path":"perovskite-sim/scripts/plot_calado_fig1f.py","line":50,"key":"MKL_NUM_THREADS","default":"'1'","expression":"os.environ.setdefault('MKL_NUM_THREADS', '1')"}]}, +{"id":"environment-4e0894fdec6111a0","kind":"environment_behavior_or_execution_setting","current_path":"perovskite-sim/scripts/plot_calado_fig1f.py","route_id":"route-57092aaac366ce0c","origin_key":"environment:OMP_NUM_THREADS","name_or_expression":"OMP_NUM_THREADS","computed_name":false,"evidence_level":"source_static","reads":[{"path":"perovskite-sim/scripts/plot_calado_fig1f.py","line":48,"key":"OMP_NUM_THREADS","default":"'1'","expression":"os.environ.setdefault('OMP_NUM_THREADS', '1')"}]}, +{"id":"environment-4d330adbd2fe821e","kind":"environment_behavior_or_execution_setting","current_path":"perovskite-sim/scripts/plot_calado_fig1f.py","route_id":"route-57092aaac366ce0c","origin_key":"environment:OPENBLAS_NUM_THREADS","name_or_expression":"OPENBLAS_NUM_THREADS","computed_name":false,"evidence_level":"source_static","reads":[{"path":"perovskite-sim/scripts/plot_calado_fig1f.py","line":49,"key":"OPENBLAS_NUM_THREADS","default":"'1'","expression":"os.environ.setdefault('OPENBLAS_NUM_THREADS', '1')"}]}, +{"id":"environment-13ad960d8a30230b","kind":"environment_behavior_or_execution_setting","current_path":"perovskite-sim/backend/main.py","route_id":"route-57092aaac366ce0c","origin_key":"environment:PEROVSKITE_BLAS_PIN","name_or_expression":"PEROVSKITE_BLAS_PIN","computed_name":false,"evidence_level":"source_static","reads":[{"path":"perovskite-sim/backend/main.py","line":20,"key":"PEROVSKITE_BLAS_PIN","default":"'1'","expression":"os.environ.get('PEROVSKITE_BLAS_PIN', '1')"}]}, +{"id":"environment-8556143bc853f9ca","kind":"environment_behavior_or_execution_setting","current_path":"perovskite-sim/perovskite_sim/solver/mol.py","route_id":"route-57092aaac366ce0c","origin_key":"environment:PEROVSKITE_RHS_FINITE_CHECK","name_or_expression":"PEROVSKITE_RHS_FINITE_CHECK","computed_name":false,"evidence_level":"source_static","reads":[{"path":"perovskite-sim/perovskite_sim/solver/mol.py","line":3713,"key":"PEROVSKITE_RHS_FINITE_CHECK","default":"'0'","expression":"_os.environ.get('PEROVSKITE_RHS_FINITE_CHECK', '0')"}]}, +{"id":"environment-0a22c7c0be7668b1","kind":"environment_behavior_or_execution_setting","current_path":"perovskite-sim/perovskite_sim/discretization/grid.py","route_id":"route-57092aaac366ce0c","origin_key":"environment:SOLARLAB_BAND_GRADING","name_or_expression":"SOLARLAB_BAND_GRADING","computed_name":false,"evidence_level":"source_static","reads":[{"path":"perovskite-sim/perovskite_sim/discretization/grid.py","line":117,"scope":"_solver_intrinsic_density_at_endpoint","key":"SOLARLAB_BAND_GRADING","default":null,"expression":"os.environ.get('SOLARLAB_BAND_GRADING')"},{"path":"perovskite-sim/perovskite_sim/solver/mol.py","line":1809,"scope":"build_material_arrays","key":"SOLARLAB_BAND_GRADING","default":null,"expression":"os.environ.get('SOLARLAB_BAND_GRADING')"}]}, +{"id":"environment-48a7eed45dfa2374","kind":"environment_behavior_or_execution_setting","current_path":"perovskite-sim/perovskite_sim/solver/mol.py","route_id":"route-57092aaac366ce0c","origin_key":"environment:SOLARLAB_DOS_BAND","name_or_expression":"SOLARLAB_DOS_BAND","computed_name":false,"evidence_level":"source_static","reads":[{"path":"perovskite-sim/perovskite_sim/solver/mol.py","line":2100,"scope":"build_material_arrays","key":"SOLARLAB_DOS_BAND","default":null,"expression":"os.environ.get('SOLARLAB_DOS_BAND')"},{"path":"perovskite-sim/scripts/run_scaps_full_regression.py","line":186,"scope":"main","key":"SOLARLAB_DOS_BAND","default":"''","expression":"os.environ.get('SOLARLAB_DOS_BAND', '')"}]}, +{"id":"environment-e07ee25175f9b2a2","kind":"environment_behavior_or_execution_setting","current_path":"perovskite-sim/scripts/scaps_validation_figures.py","route_id":"route-57092aaac366ce0c","origin_key":"environment:SOLARLAB_FIG_NPTS","name_or_expression":"SOLARLAB_FIG_NPTS","computed_name":false,"evidence_level":"source_static","reads":[{"path":"perovskite-sim/scripts/scaps_validation_figures.py","line":79,"scope":"run_sl","key":"SOLARLAB_FIG_NPTS","default":"'0'","expression":"os.environ.get('SOLARLAB_FIG_NPTS', '0')"}]}, +{"id":"environment-3ffcb65401e9557a","kind":"environment_behavior_or_execution_setting","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_analytic_reaction.py","route_id":"route-57092aaac366ce0c","origin_key":"environment:SOLARLAB_IFACE_ALLOW_GEN","name_or_expression":"SOLARLAB_IFACE_ALLOW_GEN","computed_name":false,"evidence_level":"source_static","reads":[{"path":"perovskite-sim/perovskite_sim/experiments/ion_aware_analytic_reaction.py","line":691,"scope":"build_ion_aware_analytic_interface_reaction_linearization","key":"SOLARLAB_IFACE_ALLOW_GEN","default":"''","expression":"os.environ.get('SOLARLAB_IFACE_ALLOW_GEN', '')"},{"path":"perovskite-sim/perovskite_sim/solver/mol.py","line":3091,"scope":"_apply_interface_recombination","key":"SOLARLAB_IFACE_ALLOW_GEN","default":"''","expression":"os.environ.get('SOLARLAB_IFACE_ALLOW_GEN', '')"},{"path":"perovskite-sim/perovskite_sim/twod/interface_recombination_2d.py","line":89,"scope":"_unsupported_interface_modes","key":"SOLARLAB_IFACE_ALLOW_GEN","default":null,"expression":"os.environ.get('SOLARLAB_IFACE_ALLOW_GEN')"}]}, +{"id":"environment-fd3491926cfe8e35","kind":"environment_behavior_or_execution_setting","current_path":"perovskite-sim/scripts/run_scaps_full_regression.py","route_id":"route-57092aaac366ce0c","origin_key":"environment:SOLARLAB_IFACE_NPTS","name_or_expression":"SOLARLAB_IFACE_NPTS","computed_name":false,"evidence_level":"source_static","reads":[{"path":"perovskite-sim/scripts/run_scaps_full_regression.py","line":108,"scope":"run_sheet","key":"SOLARLAB_IFACE_NPTS","default":"'3'","expression":"os.environ.get('SOLARLAB_IFACE_NPTS', '3')"}]}, +{"id":"environment-2bb7c653b8a04201","kind":"environment_behavior_or_execution_setting","current_path":"perovskite-sim/perovskite_sim/solver/mol.py","route_id":"route-57092aaac366ce0c","origin_key":"environment:SOLARLAB_IFACE_PLANE","name_or_expression":"SOLARLAB_IFACE_PLANE","computed_name":false,"evidence_level":"source_static","reads":[{"path":"perovskite-sim/perovskite_sim/solver/mol.py","line":2227,"scope":"build_material_arrays","key":"SOLARLAB_IFACE_PLANE","default":null,"expression":"os.environ.get('SOLARLAB_IFACE_PLANE')"}]}, +{"id":"environment-d692ab1662234e96","kind":"environment_behavior_or_execution_setting","current_path":"perovskite-sim/perovskite_sim/solver/mol.py","route_id":"route-57092aaac366ce0c","origin_key":"environment:SOLARLAB_IFACE_PLANE_GEN","name_or_expression":"SOLARLAB_IFACE_PLANE_GEN","computed_name":false,"evidence_level":"source_static","reads":[{"path":"perovskite-sim/perovskite_sim/solver/mol.py","line":2234,"scope":"build_material_arrays","key":"SOLARLAB_IFACE_PLANE_GEN","default":null,"expression":"os.environ.get('SOLARLAB_IFACE_PLANE_GEN')"}]}, +{"id":"environment-53cf8fd4551d581b","kind":"environment_behavior_or_execution_setting","current_path":"perovskite-sim/perovskite_sim/solver/mol.py","route_id":"route-57092aaac366ce0c","origin_key":"environment:SOLARLAB_IFACE_PROJ","name_or_expression":"SOLARLAB_IFACE_PROJ","computed_name":false,"evidence_level":"source_static","reads":[{"path":"perovskite-sim/perovskite_sim/solver/mol.py","line":2212,"scope":"build_material_arrays","key":"SOLARLAB_IFACE_PROJ","default":null,"expression":"os.environ.get('SOLARLAB_IFACE_PROJ')"},{"path":"perovskite-sim/scripts/run_scaps_full_regression.py","line":185,"scope":"main","key":"SOLARLAB_IFACE_PROJ","default":"''","expression":"os.environ.get('SOLARLAB_IFACE_PROJ', '')"}]}, +{"id":"environment-0221553ed808ce9d","kind":"environment_behavior_or_execution_setting","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_analytic_reaction.py","route_id":"route-57092aaac366ce0c","origin_key":"environment:SOLARLAB_IFACE_QSS","name_or_expression":"SOLARLAB_IFACE_QSS","computed_name":false,"evidence_level":"source_static","reads":[{"path":"perovskite-sim/perovskite_sim/experiments/ion_aware_analytic_reaction.py","line":603,"scope":"build_ion_aware_analytic_interface_reaction_linearization","key":"SOLARLAB_IFACE_QSS","default":"''","expression":"os.environ.get('SOLARLAB_IFACE_QSS', '')"},{"path":"perovskite-sim/perovskite_sim/experiments/ion_aware_structured_jacobian.py","line":344,"scope":"build_ion_aware_structured_jacobian_protocol","key":"SOLARLAB_IFACE_QSS","default":"''","expression":"os.environ.get('SOLARLAB_IFACE_QSS', '')"},{"path":"perovskite-sim/perovskite_sim/experiments/ion_aware_structured_jacobian.py","line":941,"scope":"run_ion_aware_structured_jacobian_comparison","key":"SOLARLAB_IFACE_QSS","default":"''","expression":"os.environ.get('SOLARLAB_IFACE_QSS', '')"},{"path":"perovskite-sim/perovskite_sim/solver/mol.py","line":3098,"scope":"_apply_interface_recombination","key":"SOLARLAB_IFACE_QSS","default":"''","expression":"os.environ.get('SOLARLAB_IFACE_QSS', '')"},{"path":"perovskite-sim/perovskite_sim/twod/interface_recombination_2d.py","line":87,"scope":"_unsupported_interface_modes","key":"SOLARLAB_IFACE_QSS","default":null,"expression":"os.environ.get('SOLARLAB_IFACE_QSS')"}]}, +{"id":"environment-9a6de2b74222ba9b","kind":"environment_behavior_or_execution_setting","current_path":"perovskite-sim/perovskite_sim/solver/mol.py","route_id":"route-57092aaac366ce0c","origin_key":"environment:SOLARLAB_IFACE_SHARED_OCC","name_or_expression":"SOLARLAB_IFACE_SHARED_OCC","computed_name":false,"evidence_level":"source_static","reads":[{"path":"perovskite-sim/perovskite_sim/solver/mol.py","line":2222,"scope":"build_material_arrays","key":"SOLARLAB_IFACE_SHARED_OCC","default":null,"expression":"os.environ.get('SOLARLAB_IFACE_SHARED_OCC')"}]}, +{"id":"environment-73e1860bb4c8a8ff","kind":"environment_behavior_or_execution_setting","current_path":"perovskite-sim/scripts/run_scaps_full_regression.py","route_id":"route-57092aaac366ce0c","origin_key":"environment:SOLARLAB_IFACE_STATES","name_or_expression":"SOLARLAB_IFACE_STATES","computed_name":false,"evidence_level":"source_static","reads":[{"path":"perovskite-sim/scripts/run_scaps_full_regression.py","line":102,"scope":"run_sheet","key":"SOLARLAB_IFACE_STATES","default":"''","expression":"os.environ.get('SOLARLAB_IFACE_STATES', '')"},{"path":"perovskite-sim/scripts/run_scaps_full_regression.py","line":187,"scope":"main","key":"SOLARLAB_IFACE_STATES","default":"''","expression":"os.environ.get('SOLARLAB_IFACE_STATES', '')"},{"path":"perovskite-sim/scripts/scaps_validation_figures.py","line":78,"scope":"run_sl","key":"SOLARLAB_IFACE_STATES","default":"''","expression":"os.environ.get('SOLARLAB_IFACE_STATES', '')"}]}, +{"id":"environment-be5d298453968360","kind":"environment_behavior_or_execution_setting","current_path":"perovskite-sim/perovskite_sim/solver/mol.py","route_id":"route-57092aaac366ce0c","origin_key":"environment:SOLARLAB_IFACE_TUNNEL","name_or_expression":"SOLARLAB_IFACE_TUNNEL","computed_name":false,"evidence_level":"source_static","reads":[{"path":"perovskite-sim/perovskite_sim/solver/mol.py","line":2499,"scope":"build_material_arrays","key":"SOLARLAB_IFACE_TUNNEL","default":null,"expression":"os.environ.get('SOLARLAB_IFACE_TUNNEL')"}]}, +{"id":"environment-1f4412c90b9c2c94","kind":"environment_behavior_or_execution_setting","current_path":"perovskite-sim/perovskite_sim/solver/mol.py","route_id":"route-57092aaac366ce0c","origin_key":"environment:SOLARLAB_IFACE_TWOSIDED","name_or_expression":"SOLARLAB_IFACE_TWOSIDED","computed_name":false,"evidence_level":"source_static","reads":[{"path":"perovskite-sim/perovskite_sim/solver/mol.py","line":2217,"scope":"build_material_arrays","key":"SOLARLAB_IFACE_TWOSIDED","default":null,"expression":"os.environ.get('SOLARLAB_IFACE_TWOSIDED')"}]}, +{"id":"environment-d175b7b3c9cc2c8e","kind":"environment_behavior_or_execution_setting","current_path":"perovskite-sim/perovskite_sim/solver/mol.py","route_id":"route-57092aaac366ce0c","origin_key":"environment:SOLARLAB_INTERFACE_PLANE_STATE","name_or_expression":"SOLARLAB_INTERFACE_PLANE_STATE","computed_name":false,"evidence_level":"source_static","reads":[{"path":"perovskite-sim/perovskite_sim/solver/mol.py","line":778,"scope":"_interface_plane_state_active","key":"_INTERFACE_PLANE_STATE_ENV","default":null,"expression":"os.environ.get(_INTERFACE_PLANE_STATE_ENV)"}]}, +{"id":"environment-abaed3605bd5daca","kind":"environment_behavior_or_execution_setting","current_path":"perovskite-sim/perovskite_sim/solver/mol.py","route_id":"route-57092aaac366ce0c","origin_key":"environment:SOLARLAB_ION_STERIC_DIFF","name_or_expression":"SOLARLAB_ION_STERIC_DIFF","computed_name":false,"evidence_level":"source_static","reads":[{"path":"perovskite-sim/perovskite_sim/solver/mol.py","line":2112,"scope":"build_material_arrays","key":"SOLARLAB_ION_STERIC_DIFF","default":null,"expression":"os.environ.get('SOLARLAB_ION_STERIC_DIFF')"}]}, +{"id":"environment-a9f1a852ece10ea9","kind":"environment_behavior_or_execution_setting","current_path":"perovskite-sim/perovskite_sim/solver/mol.py","route_id":"route-57092aaac366ce0c","origin_key":"environment:SOLARLAB_QSS_VTH","name_or_expression":"SOLARLAB_QSS_VTH","computed_name":false,"evidence_level":"source_static","reads":[{"path":"perovskite-sim/perovskite_sim/solver/mol.py","line":3007,"key":"SOLARLAB_QSS_VTH","default":"'1.0e5'","expression":"os.environ.get('SOLARLAB_QSS_VTH', '1.0e5')"}]}, +{"id":"environment-87eac3a71a6408e7","kind":"environment_behavior_or_execution_setting","current_path":"perovskite-sim/perovskite_sim/experiments/steady_state.py","route_id":"route-57092aaac366ce0c","origin_key":"environment:SOLARLAB_SS_GUMMEL","name_or_expression":"SOLARLAB_SS_GUMMEL","computed_name":false,"evidence_level":"source_static","reads":[{"path":"perovskite-sim/perovskite_sim/experiments/steady_state.py","line":873,"key":"SOLARLAB_SS_GUMMEL","default":"'1'","expression":"os.environ.get('SOLARLAB_SS_GUMMEL', '1')"}]}, +{"id":"environment-6dade62fe8d56560","kind":"environment_behavior_or_execution_setting","current_path":"perovskite-sim/perovskite_sim/experiments/steady_state.py","route_id":"route-57092aaac366ce0c","origin_key":"environment:SOLARLAB_SS_JAC_REUSE","name_or_expression":"SOLARLAB_SS_JAC_REUSE","computed_name":false,"evidence_level":"source_static","reads":[{"path":"perovskite-sim/perovskite_sim/experiments/steady_state.py","line":115,"key":"SOLARLAB_SS_JAC_REUSE","default":"'1'","expression":"os.environ.get('SOLARLAB_SS_JAC_REUSE', '1')"}]}, +{"id":"environment-e915eb24383ad055","kind":"environment_behavior_or_execution_setting","current_path":"perovskite-sim/perovskite_sim/solver/mol.py","route_id":"route-57092aaac366ce0c","origin_key":"environment:SOLARLAB_TE_PHYSICAL","name_or_expression":"SOLARLAB_TE_PHYSICAL","computed_name":false,"evidence_level":"source_static","reads":[{"path":"perovskite-sim/perovskite_sim/solver/mol.py","line":2107,"scope":"build_material_arrays","key":"SOLARLAB_TE_PHYSICAL","default":null,"expression":"os.environ.get('SOLARLAB_TE_PHYSICAL')"}]}, +{"id":"environment-5d9cab578395b949","kind":"environment_behavior_or_execution_setting","current_path":"perovskite-sim/scripts/run_r1_v6_crosscode.py","route_id":"route-57092aaac366ce0c","origin_key":"environment:_key","name_or_expression":"_key","computed_name":true,"evidence_level":"source_static","reads":[{"path":"perovskite-sim/scripts/run_r1_v6_crosscode.py","line":23,"key":"_key","default":null,"expression":"os.environ[_key]"}]}, +{"id":"environment-87fcf74de3f2ad37","kind":"environment_behavior_or_execution_setting","current_path":"perovskite-sim/scripts/check_r1_v7_precision_consumers.py","route_id":"route-57092aaac366ce0c","origin_key":"environment:_name","name_or_expression":"_name","computed_name":true,"evidence_level":"source_static","reads":[{"path":"perovskite-sim/scripts/check_r1_v7_precision_consumers.py","line":22,"key":"_name","default":null,"expression":"os.environ[_name]"},{"path":"perovskite-sim/scripts/probe_r1_v6_ion_precision.py","line":21,"key":"_name","default":null,"expression":"os.environ[_name]"},{"path":"perovskite-sim/scripts/run_one_dimensional_mechanism_r1_physics_study.py","line":30,"key":"_name","default":null,"expression":"os.environ[_name]"}]}, +{"id":"environment-581d72091fc271eb","kind":"environment_behavior_or_execution_setting","current_path":"perovskite-sim/backend/main.py","route_id":"route-57092aaac366ce0c","origin_key":"environment:_var","name_or_expression":"_var","computed_name":true,"evidence_level":"source_static","reads":[{"path":"perovskite-sim/backend/main.py","line":23,"key":"_var","default":"'1'","expression":"os.environ.setdefault(_var, '1')"}]}, +{"id":"environment-058df53f8f8646a5","kind":"environment_behavior_or_execution_setting","current_path":"perovskite-sim/scripts/analyze_r1_v11_responses.py","route_id":"route-57092aaac366ce0c","origin_key":"environment:k","name_or_expression":"k","computed_name":true,"evidence_level":"source_static","reads":[{"path":"perovskite-sim/scripts/analyze_r1_v11_responses.py","line":338,"scope":"run","key":"k","default":null,"expression":"os.environ[k]"},{"path":"perovskite-sim/scripts/analyze_r1_v12_responses.py","line":338,"scope":"run","key":"k","default":null,"expression":"os.environ[k]"},{"path":"perovskite-sim/scripts/run_r1_v10_cases.py","line":229,"scope":"run","key":"k","default":null,"expression":"os.environ[k]"},{"path":"perovskite-sim/scripts/run_r1_v11_cases.py","line":311,"scope":"run","key":"k","default":null,"expression":"os.environ[k]"},{"path":"perovskite-sim/scripts/run_r1_v12_cases.py","line":365,"scope":"run","key":"k","default":null,"expression":"os.environ[k]"},{"path":"perovskite-sim/scripts/run_r1_v9_prototype.py","line":440,"scope":"run","key":"k","default":null,"expression":"os.environ.get(k)"},{"path":"perovskite-sim/scripts/run_r1_v9_prototype.py","line":536,"scope":"run","key":"k","default":null,"expression":"os.environ[k]"}]}, +{"id":"environment-a44cf4cb673c1dde","kind":"environment_behavior_or_execution_setting","current_path":"perovskite-sim/scripts/analyze_r1_v11_responses.py","route_id":"route-57092aaac366ce0c","origin_key":"environment:key","name_or_expression":"key","computed_name":true,"evidence_level":"source_static","reads":[{"path":"perovskite-sim/scripts/analyze_r1_v11_responses.py","line":311,"scope":"run","key":"key","default":null,"expression":"os.environ.get(key)"},{"path":"perovskite-sim/scripts/analyze_r1_v12_responses.py","line":311,"scope":"run","key":"key","default":null,"expression":"os.environ.get(key)"},{"path":"perovskite-sim/scripts/analyze_r1_v5_responses.py","line":466,"scope":"run","key":"key","default":null,"expression":"os.environ[key]"},{"path":"perovskite-sim/scripts/analyze_r1_v5_responses.py","line":487,"scope":"run","key":"key","default":null,"expression":"os.environ[key]"},{"path":"perovskite-sim/scripts/audit_ion_parameter_flow.py","line":17,"key":"key","default":null,"expression":"os.environ[key]"},{"path":"perovskite-sim/scripts/diagnose_r1_saved_iterates.py","line":15,"key":"key","default":null,"expression":"os.environ[key]"},{"path":"perovskite-sim/scripts/diagnose_r1_v6_coupled_sensitivity.py","line":105,"scope":"main","key":"key","default":null,"expression":"os.environ[key]"},{"path":"perovskite-sim/scripts/run_one_dimensional_mechanism_r0.py","line":111,"scope":"run_baseline","key":"key","default":null,"expression":"os.environ[key]"},{"path":"perovskite-sim/scripts/run_one_dimensional_mechanism_r0.py","line":210,"scope":"main","key":"key","default":null,"expression":"os.environ[key]"},{"path":"perovskite-sim/scripts/run_one_dimensional_mechanism_r1.py","line":218,"scope":"main","key":"key","default":null,"expression":"os.environ[key]"},{"path":"perovskite-sim/scripts/run_one_dimensional_mechanism_r1.py","line":266,"scope":"main","key":"key","default":null,"expression":"os.environ[key]"},{"path":"perovskite-sim/scripts/run_one_dimensional_mechanism_r1_controlled.py","line":215,"scope":"main","key":"key","default":null,"expression":"os.environ[key]"},{"path":"perovskite-sim/scripts/run_one_dimensional_mechanism_r1_physics_study.py","line":334,"scope":"Study.__init__","key":"key","default":null,"expression":"os.environ[key]"},{"path":"perovskite-sim/scripts/run_one_dimensional_mechanism_r1_stage_one.py","line":316,"scope":"main","key":"key","default":null,"expression":"os.environ[key]"},{"path":"perovskite-sim/scripts/run_one_dimensional_mechanism_r1_stage_one.py","line":462,"scope":"main","key":"key","default":null,"expression":"os.environ[key]"},{"path":"perovskite-sim/scripts/run_r1_v10_cases.py","line":139,"scope":"run","key":"key","default":null,"expression":"os.environ.get(key)"},{"path":"perovskite-sim/scripts/run_r1_v11_cases.py","line":221,"scope":"run","key":"key","default":null,"expression":"os.environ.get(key)"},{"path":"perovskite-sim/scripts/run_r1_v12_cases.py","line":269,"scope":"run","key":"key","default":null,"expression":"os.environ.get(key)"},{"path":"perovskite-sim/scripts/run_r1_v5_cases.py","line":171,"scope":"run","key":"key","default":null,"expression":"os.environ[key]"},{"path":"perovskite-sim/scripts/run_r1_v7_prototype.py","line":408,"scope":"run","key":"key","default":null,"expression":"os.environ[key]"},{"path":"perovskite-sim/scripts/run_r1_v7_prototype.py","line":488,"scope":"run","key":"key","default":null,"expression":"os.environ[key]"},{"path":"perovskite-sim/scripts/run_r1_v8_ablation.py","line":426,"scope":"run","key":"key","default":null,"expression":"os.environ[key]"},{"path":"perovskite-sim/scripts/run_r1_v8_prototype.py","line":448,"scope":"run","key":"key","default":null,"expression":"os.environ[key]"},{"path":"perovskite-sim/scripts/run_r1_v8_prototype.py","line":529,"scope":"run","key":"key","default":null,"expression":"os.environ[key]"}]}, +{"id":"environment-aa3a401a87ecda95","kind":"environment_behavior_or_execution_setting","current_path":"perovskite-sim/perovskite_sim/validation/refinement_runner.py","route_id":"route-57092aaac366ce0c","origin_key":"environment:name","name_or_expression":"name","computed_name":true,"evidence_level":"source_static","reads":[{"path":"perovskite-sim/perovskite_sim/validation/refinement_runner.py","line":434,"scope":"runtime_environment","key":"name","default":"'unset'","expression":"os.environ.get(name, 'unset')"},{"path":"perovskite-sim/perovskite_sim/validation/refinement_runner.py","line":438,"scope":"runtime_environment","key":"name","default":"'unset'","expression":"os.environ.get(name, 'unset')"},{"path":"perovskite-sim/perovskite_sim/validation/regularization_executors.py","line":126,"scope":"_temporary_environment","key":"name","default":null,"expression":"os.environ.get(name)"},{"path":"perovskite-sim/perovskite_sim/validation/regularization_executors.py","line":127,"scope":"_temporary_environment","key":"name","default":null,"expression":"os.environ[name]"},{"path":"perovskite-sim/perovskite_sim/validation/regularization_executors.py","line":134,"scope":"_temporary_environment","key":"name","default":null,"expression":"os.environ[name]"},{"path":"perovskite-sim/scripts/benchmark_dae_jacobian.py","line":146,"scope":"main","key":"name","default":null,"expression":"os.environ.get(name)"},{"path":"perovskite-sim/scripts/diagnose_one_dimensional_mechanism_r1_numerics.py","line":16,"key":"name","default":null,"expression":"os.environ[name]"},{"path":"perovskite-sim/scripts/diagnose_one_dimensional_mechanism_r1_numerics.py","line":90,"scope":"main","key":"name","default":null,"expression":"os.environ[name]"},{"path":"perovskite-sim/scripts/diagnose_one_dimensional_mechanism_r1_weak_flux.py","line":13,"key":"name","default":null,"expression":"os.environ[name]"},{"path":"perovskite-sim/scripts/probe_r1_v5_window_flux.py","line":13,"key":"name","default":null,"expression":"os.environ[name]"},{"path":"perovskite-sim/scripts/propagate_r1_saved_field_differences.py","line":15,"key":"name","default":null,"expression":"os.environ[name]"},{"path":"perovskite-sim/scripts/run_r1_v4_representatives.py","line":12,"key":"name","default":null,"expression":"os.environ[name]"},{"path":"perovskite-sim/scripts/run_r1_v5_cases.py","line":118,"scope":"run","key":"name","default":null,"expression":"os.environ[name]"}]}, +{"id":"environment-7e2a521e4ee7cdea","kind":"environment_behavior_or_execution_setting","current_path":"perovskite-sim/scripts/probe_calado_optical_inputs.py","route_id":"route-57092aaac366ce0c","origin_key":"environment:variable","name_or_expression":"variable","computed_name":true,"evidence_level":"source_static","reads":[{"path":"perovskite-sim/scripts/probe_calado_optical_inputs.py","line":19,"key":"variable","default":null,"expression":"os.environ[variable]"}]}, +{"id":"executor-a4459265c3ea8a60","kind":"certificate_executor","current_path":"perovskite-sim/perovskite_sim/validation/bgn_refinement.py","route_id":"route-9e7c4634cac4c7b4","origin_key":"executor:perovskite_sim.validation.bgn_refinement:run_incomplete_ionization_bgn_temperature_refinement","qualified_name":"perovskite_sim.validation.bgn_refinement.run_incomplete_ionization_bgn_temperature_refinement","evidence_level":"cold_callable_resolution_only","cold_resolution":{"specification":"perovskite_sim.validation.bgn_refinement:run_incomplete_ionization_bgn_temperature_refinement","callable":true,"signature":"(lane: 'LaneDefinition', point: 'MatrixPoint', project_root: 'Path') -> 'CellMeasurement'","origin":"/Users/bytedance/Intern/SolarLab/perovskite-sim/perovskite_sim/validation/bgn_refinement.py","line":119,"ok":true}}, +{"id":"executor-8a07421a6eadde05","kind":"certificate_executor","current_path":"perovskite-sim/perovskite_sim/validation/bulk_trap_refinement.py","route_id":"route-6ffa0cc3ba17a777","origin_key":"executor:perovskite_sim.validation.bulk_trap_refinement:run_bulk_trap_equilibrium_refinement","qualified_name":"perovskite_sim.validation.bulk_trap_refinement.run_bulk_trap_equilibrium_refinement","evidence_level":"cold_callable_resolution_only","cold_resolution":{"specification":"perovskite_sim.validation.bulk_trap_refinement:run_bulk_trap_equilibrium_refinement","callable":true,"signature":"(lane: 'LaneDefinition', point: 'MatrixPoint', project_root: 'Path') -> 'CellMeasurement'","origin":"/Users/bytedance/Intern/SolarLab/perovskite-sim/perovskite_sim/validation/bulk_trap_refinement.py","line":157,"ok":true}}, +{"id":"executor-42fd06adb4f502af","kind":"certificate_executor","current_path":"perovskite-sim/perovskite_sim/validation/charged_defect_refinement.py","route_id":"route-a9b4d7e51e16d73e","origin_key":"executor:perovskite_sim.validation.charged_defect_refinement:run_charged_defect_qf_dc_refinement","qualified_name":"perovskite_sim.validation.charged_defect_refinement.run_charged_defect_qf_dc_refinement","evidence_level":"cold_callable_resolution_only","cold_resolution":{"specification":"perovskite_sim.validation.charged_defect_refinement:run_charged_defect_qf_dc_refinement","callable":true,"signature":"(lane: 'LaneDefinition', point: 'MatrixPoint', project_root: 'Path') -> 'CellMeasurement'","origin":"/Users/bytedance/Intern/SolarLab/perovskite-sim/perovskite_sim/validation/charged_defect_refinement.py","line":394,"ok":true}}, +{"id":"executor-c898e6d7a21c6561","kind":"certificate_executor","current_path":"perovskite-sim/perovskite_sim/validation/cigs_optics_refinement.py","route_id":"route-c81fb8dbd7f6b348","origin_key":"executor:perovskite_sim.validation.cigs_optics_refinement:run_cigs_graded_optics_refinement","qualified_name":"perovskite_sim.validation.cigs_optics_refinement.run_cigs_graded_optics_refinement","evidence_level":"cold_callable_resolution_only","cold_resolution":{"specification":"perovskite_sim.validation.cigs_optics_refinement:run_cigs_graded_optics_refinement","callable":true,"signature":"(lane: 'LaneDefinition', point: 'MatrixPoint', project_root: 'Path') -> 'CellMeasurement'","origin":"/Users/bytedance/Intern/SolarLab/perovskite-sim/perovskite_sim/validation/cigs_optics_refinement.py","line":243,"ok":true}}, +{"id":"executor-6a64ad98ab180d90","kind":"certificate_executor","current_path":"perovskite-sim/perovskite_sim/validation/dae_dual_ion_refinement.py","route_id":"route-27dbc43d17be6d47","origin_key":"executor:perovskite_sim.validation.dae_dual_ion_refinement:run_dual_ion_dae_transient","qualified_name":"perovskite_sim.validation.dae_dual_ion_refinement.run_dual_ion_dae_transient","evidence_level":"cold_callable_resolution_only","cold_resolution":{"specification":"perovskite_sim.validation.dae_dual_ion_refinement:run_dual_ion_dae_transient","callable":true,"signature":"(lane: 'LaneDefinition', point: 'MatrixPoint', project_root: 'Path') -> 'CellMeasurement'","origin":"/Users/bytedance/Intern/SolarLab/perovskite-sim/perovskite_sim/validation/dae_dual_ion_refinement.py","line":178,"ok":true}}, +{"id":"executor-3020a7be7b3302cf","kind":"certificate_executor","current_path":"perovskite-sim/perovskite_sim/validation/dae_interface_refinement.py","route_id":"route-cf51d5ffeb5b1ab3","origin_key":"executor:perovskite_sim.validation.dae_interface_refinement:run_algebraic_interface_dae_transient","qualified_name":"perovskite_sim.validation.dae_interface_refinement.run_algebraic_interface_dae_transient","evidence_level":"cold_callable_resolution_only","cold_resolution":{"specification":"perovskite_sim.validation.dae_interface_refinement:run_algebraic_interface_dae_transient","callable":true,"signature":"(lane: 'LaneDefinition', point: 'MatrixPoint', project_root: 'Path') -> 'CellMeasurement'","origin":"/Users/bytedance/Intern/SolarLab/perovskite-sim/perovskite_sim/validation/dae_interface_refinement.py","line":183,"ok":true}}, +{"id":"executor-489eba518576c628","kind":"certificate_executor","current_path":"perovskite-sim/perovskite_sim/validation/dae_ion_interface_refinement.py","route_id":"route-cd1c256e6f6fda47","origin_key":"executor:perovskite_sim.validation.dae_ion_interface_refinement:run_single_ion_algebraic_interface_dae_transient","qualified_name":"perovskite_sim.validation.dae_ion_interface_refinement.run_single_ion_algebraic_interface_dae_transient","evidence_level":"cold_callable_resolution_only","cold_resolution":{"specification":"perovskite_sim.validation.dae_ion_interface_refinement:run_single_ion_algebraic_interface_dae_transient","callable":true,"signature":"(lane: 'LaneDefinition', point: 'MatrixPoint', project_root: 'Path') -> 'CellMeasurement'","origin":"/Users/bytedance/Intern/SolarLab/perovskite-sim/perovskite_sim/validation/dae_ion_interface_refinement.py","line":166,"ok":true}}, +{"id":"executor-04d382b2476a9e0d","kind":"certificate_executor","current_path":"perovskite-sim/perovskite_sim/validation/dae_ion_refinement.py","route_id":"route-3ce8678d93f128dc","origin_key":"executor:perovskite_sim.validation.dae_ion_refinement:run_single_ion_dae_transient","qualified_name":"perovskite_sim.validation.dae_ion_refinement.run_single_ion_dae_transient","evidence_level":"cold_callable_resolution_only","cold_resolution":{"specification":"perovskite_sim.validation.dae_ion_refinement:run_single_ion_dae_transient","callable":true,"signature":"(lane: 'LaneDefinition', point: 'MatrixPoint', project_root: 'Path') -> 'CellMeasurement'","origin":"/Users/bytedance/Intern/SolarLab/perovskite-sim/perovskite_sim/validation/dae_ion_refinement.py","line":222,"ok":true}}, +{"id":"executor-13431ab6bfabe2a7","kind":"certificate_executor","current_path":"perovskite-sim/perovskite_sim/validation/dae_refinement.py","route_id":"route-ee6663ebc8f2dc49","origin_key":"executor:perovskite_sim.validation.dae_refinement:run_no_ion_dae_transient","qualified_name":"perovskite_sim.validation.dae_refinement.run_no_ion_dae_transient","evidence_level":"cold_callable_resolution_only","cold_resolution":{"specification":"perovskite_sim.validation.dae_refinement:run_no_ion_dae_transient","callable":true,"signature":"(lane: 'LaneDefinition', point: 'MatrixPoint', project_root: 'Path') -> 'CellMeasurement'","origin":"/Users/bytedance/Intern/SolarLab/perovskite-sim/perovskite_sim/validation/dae_refinement.py","line":223,"ok":true}}, +{"id":"executor-2daf567fb4cbef33","kind":"certificate_executor","current_path":"perovskite-sim/perovskite_sim/validation/degenerate_refinement.py","route_id":"route-8ffd14c45b3812ea","origin_key":"executor:perovskite_sim.validation.degenerate_refinement:run_degenerate_pn_equilibrium_refinement","qualified_name":"perovskite_sim.validation.degenerate_refinement.run_degenerate_pn_equilibrium_refinement","evidence_level":"cold_callable_resolution_only","cold_resolution":{"specification":"perovskite_sim.validation.degenerate_refinement:run_degenerate_pn_equilibrium_refinement","callable":true,"signature":"(lane: 'LaneDefinition', point: 'MatrixPoint', project_root: 'Path') -> 'CellMeasurement'","origin":"/Users/bytedance/Intern/SolarLab/perovskite-sim/perovskite_sim/validation/degenerate_refinement.py","line":97,"ok":true}}, +{"id":"executor-a16d164eb8c3f07e","kind":"certificate_executor","current_path":"perovskite-sim/perovskite_sim/validation/distributed_defect_refinement.py","route_id":"route-eac8eff18fe0b852","origin_key":"executor:perovskite_sim.validation.distributed_defect_refinement:run_distributed_defect_qf_dc_refinement","qualified_name":"perovskite_sim.validation.distributed_defect_refinement.run_distributed_defect_qf_dc_refinement","evidence_level":"cold_callable_resolution_only","cold_resolution":{"specification":"perovskite_sim.validation.distributed_defect_refinement:run_distributed_defect_qf_dc_refinement","callable":true,"signature":"(lane: 'LaneDefinition', point: 'MatrixPoint', project_root: 'Path') -> 'CellMeasurement'","origin":"/Users/bytedance/Intern/SolarLab/perovskite-sim/perovskite_sim/validation/distributed_defect_refinement.py","line":405,"ok":true}}, +{"id":"executor-5082ef6e08643764","kind":"certificate_executor","current_path":"perovskite-sim/perovskite_sim/validation/dynamic_defect_transient_refinement.py","route_id":"route-aa22d20d2d639fc7","origin_key":"executor:perovskite_sim.validation.dynamic_defect_transient_refinement:run_dynamic_defect_ion_transient_refinement","qualified_name":"perovskite_sim.validation.dynamic_defect_transient_refinement.run_dynamic_defect_ion_transient_refinement","evidence_level":"cold_callable_resolution_only","cold_resolution":{"specification":"perovskite_sim.validation.dynamic_defect_transient_refinement:run_dynamic_defect_ion_transient_refinement","callable":true,"signature":"(lane: 'LaneDefinition', point: 'MatrixPoint', project_root: 'Path') -> 'CellMeasurement'","origin":"/Users/bytedance/Intern/SolarLab/perovskite-sim/perovskite_sim/validation/dynamic_defect_transient_refinement.py","line":563,"ok":true}}, +{"id":"executor-6bc5e1f292e6f011","kind":"certificate_executor","current_path":"perovskite-sim/perovskite_sim/validation/electrothermal_refinement.py","route_id":"route-361c6018edd7103a","origin_key":"executor:perovskite_sim.validation.electrothermal_refinement:run_electrothermal_terminal_mpp_refinement","qualified_name":"perovskite_sim.validation.electrothermal_refinement.run_electrothermal_terminal_mpp_refinement","evidence_level":"cold_callable_resolution_only","cold_resolution":{"specification":"perovskite_sim.validation.electrothermal_refinement:run_electrothermal_terminal_mpp_refinement","callable":true,"signature":"(lane: 'LaneDefinition', point: 'MatrixPoint', project_root: 'Path') -> 'CellMeasurement'","origin":"/Users/bytedance/Intern/SolarLab/perovskite-sim/perovskite_sim/validation/electrothermal_refinement.py","line":121,"ok":true}}, +{"id":"executor-27a50b681dce8474","kind":"certificate_executor","current_path":"perovskite-sim/perovskite_sim/validation/external_circuit_refinement.py","route_id":"route-95fa4d2e24de5a3e","origin_key":"executor:perovskite_sim.validation.external_circuit_refinement:run_external_series_shunt_dc_operating_quadrant_refinement","qualified_name":"perovskite_sim.validation.external_circuit_refinement.run_external_series_shunt_dc_operating_quadrant_refinement","evidence_level":"cold_callable_resolution_only","cold_resolution":{"specification":"perovskite_sim.validation.external_circuit_refinement:run_external_series_shunt_dc_operating_quadrant_refinement","callable":true,"signature":"(lane: 'LaneDefinition', point: 'MatrixPoint', project_root: 'Path') -> 'CellMeasurement'","origin":"/Users/bytedance/Intern/SolarLab/perovskite-sim/perovskite_sim/validation/external_circuit_refinement.py","line":333,"ok":true}}, +{"id":"executor-b35165b53b3bd8b6","kind":"certificate_executor","current_path":"perovskite-sim/perovskite_sim/validation/external_circuit_refinement.py","route_id":"route-95fa4d2e24de5a3e","origin_key":"executor:perovskite_sim.validation.external_circuit_refinement:run_external_series_shunt_dc_refinement","qualified_name":"perovskite_sim.validation.external_circuit_refinement.run_external_series_shunt_dc_refinement","evidence_level":"cold_callable_resolution_only","cold_resolution":{"specification":"perovskite_sim.validation.external_circuit_refinement:run_external_series_shunt_dc_refinement","callable":true,"signature":"(lane: 'LaneDefinition', point: 'MatrixPoint', project_root: 'Path') -> 'CellMeasurement'","origin":"/Users/bytedance/Intern/SolarLab/perovskite-sim/perovskite_sim/validation/external_circuit_refinement.py","line":126,"ok":true}}, +{"id":"executor-8e75d63c57fce000","kind":"certificate_executor","current_path":"perovskite-sim/perovskite_sim/validation/foundation_reference_refinement.py","route_id":"route-487d71b1fb2a772d","origin_key":"executor:perovskite_sim.validation.foundation_reference_refinement:run_foundation_reference_steady_state","qualified_name":"perovskite_sim.validation.foundation_reference_refinement.run_foundation_reference_steady_state","evidence_level":"cold_callable_resolution_only","cold_resolution":{"specification":"perovskite_sim.validation.foundation_reference_refinement:run_foundation_reference_steady_state","callable":true,"signature":"(lane: perovskite_sim.validation.numerical_certificate.LaneDefinition, point: perovskite_sim.validation.numerical_certificate.MatrixPoint, project_root: pathlib._local.Path) -> perovskite_sim.validation.refinement_runner.CellMeasurement","origin":"/Users/bytedance/Intern/SolarLab/perovskite-sim/perovskite_sim/validation/foundation_reference_refinement.py","line":155,"ok":true}}, +{"id":"executor-3ee6181236bb5a2d","kind":"certificate_executor","current_path":"perovskite-sim/perovskite_sim/validation/identifiability_refinement.py","route_id":"route-70f2bc49c9d6f491","origin_key":"executor:perovskite_sim.validation.identifiability_refinement:run_interface_srh_identifiability_refinement","qualified_name":"perovskite_sim.validation.identifiability_refinement.run_interface_srh_identifiability_refinement","evidence_level":"cold_callable_resolution_only","cold_resolution":{"specification":"perovskite_sim.validation.identifiability_refinement:run_interface_srh_identifiability_refinement","callable":true,"signature":"(lane: 'LaneDefinition', point: 'MatrixPoint', project_root: 'Path') -> 'CellMeasurement'","origin":"/Users/bytedance/Intern/SolarLab/perovskite-sim/perovskite_sim/validation/identifiability_refinement.py","line":191,"ok":true}}, +{"id":"executor-ff5e68ab4e98d13e","kind":"certificate_executor","current_path":"perovskite-sim/perovskite_sim/validation/incomplete_ionization_refinement.py","route_id":"route-e69f26a656e90120","origin_key":"executor:perovskite_sim.validation.incomplete_ionization_refinement:run_incomplete_ionization_temperature_refinement","qualified_name":"perovskite_sim.validation.incomplete_ionization_refinement.run_incomplete_ionization_temperature_refinement","evidence_level":"cold_callable_resolution_only","cold_resolution":{"specification":"perovskite_sim.validation.incomplete_ionization_refinement:run_incomplete_ionization_temperature_refinement","callable":true,"signature":"(lane: 'LaneDefinition', point: 'MatrixPoint', project_root: 'Path') -> 'CellMeasurement'","origin":"/Users/bytedance/Intern/SolarLab/perovskite-sim/perovskite_sim/validation/incomplete_ionization_refinement.py","line":121,"ok":true}}, +{"id":"executor-10baa23e892b145e","kind":"certificate_executor","current_path":"perovskite-sim/perovskite_sim/validation/interface_charge_stress.py","route_id":"route-7b7398177c5163db","origin_key":"executor:perovskite_sim.validation.interface_charge_stress:run_equilibrium_referenced_interface_charge_stress","qualified_name":"perovskite_sim.validation.interface_charge_stress.run_equilibrium_referenced_interface_charge_stress","evidence_level":"cold_callable_resolution_only","cold_resolution":{"specification":"perovskite_sim.validation.interface_charge_stress:run_equilibrium_referenced_interface_charge_stress","callable":true,"signature":"(lane: 'LaneDefinition', point: 'MatrixPoint', project_root: 'Path') -> 'CellMeasurement'","origin":"/Users/bytedance/Intern/SolarLab/perovskite-sim/perovskite_sim/validation/interface_charge_stress.py","line":566,"ok":true}}, +{"id":"executor-ff99a2bf3e80c9a9","kind":"certificate_executor","current_path":"perovskite-sim/perovskite_sim/validation/multivalent_defect_refinement.py","route_id":"route-e8b25e6d8730e1e7","origin_key":"executor:perovskite_sim.validation.multivalent_defect_refinement:run_multivalent_defect_qf_dc_refinement","qualified_name":"perovskite_sim.validation.multivalent_defect_refinement.run_multivalent_defect_qf_dc_refinement","evidence_level":"cold_callable_resolution_only","cold_resolution":{"specification":"perovskite_sim.validation.multivalent_defect_refinement:run_multivalent_defect_qf_dc_refinement","callable":true,"signature":"(lane: 'LaneDefinition', point: 'MatrixPoint', project_root: 'Path') -> 'CellMeasurement'","origin":"/Users/bytedance/Intern/SolarLab/perovskite-sim/perovskite_sim/validation/multivalent_defect_refinement.py","line":437,"ok":true}}, +{"id":"executor-b9be739a8a141120","kind":"certificate_executor","current_path":"perovskite-sim/perovskite_sim/validation/refinement_executors.py","route_id":"route-611c81a4822db706","origin_key":"executor:perovskite_sim.validation.refinement_executors:run_csi_qf_frequency_domain","qualified_name":"perovskite_sim.validation.refinement_executors.run_csi_qf_frequency_domain","evidence_level":"cold_callable_resolution_only","cold_resolution":{"specification":"perovskite_sim.validation.refinement_executors:run_csi_qf_frequency_domain","callable":true,"signature":"(lane: 'LaneDefinition', point: 'MatrixPoint', project_root: 'Path') -> 'CellMeasurement'","origin":"/Users/bytedance/Intern/SolarLab/perovskite-sim/perovskite_sim/validation/refinement_executors.py","line":1352,"ok":true}}, +{"id":"executor-7b828a158ee65d45","kind":"certificate_executor","current_path":"perovskite-sim/perovskite_sim/validation/refinement_executors.py","route_id":"route-611c81a4822db706","origin_key":"executor:perovskite_sim.validation.refinement_executors:run_dynamic_defect_impedance_production","qualified_name":"perovskite_sim.validation.refinement_executors.run_dynamic_defect_impedance_production","evidence_level":"cold_callable_resolution_only","cold_resolution":{"specification":"perovskite_sim.validation.refinement_executors:run_dynamic_defect_impedance_production","callable":true,"signature":"(lane: 'LaneDefinition', point: 'MatrixPoint', project_root: 'Path') -> 'CellMeasurement'","origin":"/Users/bytedance/Intern/SolarLab/perovskite-sim/perovskite_sim/validation/refinement_executors.py","line":1162,"ok":true}}, +{"id":"executor-2b8910c5d9a3d2a2","kind":"certificate_executor","current_path":"perovskite-sim/perovskite_sim/validation/refinement_executors.py","route_id":"route-611c81a4822db706","origin_key":"executor:perovskite_sim.validation.refinement_executors:run_equilibrium_referenced_interface_charge","qualified_name":"perovskite_sim.validation.refinement_executors.run_equilibrium_referenced_interface_charge","evidence_level":"cold_callable_resolution_only","cold_resolution":{"specification":"perovskite_sim.validation.refinement_executors:run_equilibrium_referenced_interface_charge","callable":true,"signature":"(lane: 'LaneDefinition', point: 'MatrixPoint', project_root: 'Path') -> 'CellMeasurement'","origin":"/Users/bytedance/Intern/SolarLab/perovskite-sim/perovskite_sim/validation/refinement_executors.py","line":2675,"ok":true}}, +{"id":"executor-df2a34699217fddc","kind":"certificate_executor","current_path":"perovskite-sim/perovskite_sim/validation/refinement_executors.py","route_id":"route-611c81a4822db706","origin_key":"executor:perovskite_sim.validation.refinement_executors:run_equilibrium_referenced_interface_charge_jv","qualified_name":"perovskite_sim.validation.refinement_executors.run_equilibrium_referenced_interface_charge_jv","evidence_level":"cold_callable_resolution_only","cold_resolution":{"specification":"perovskite_sim.validation.refinement_executors:run_equilibrium_referenced_interface_charge_jv","callable":true,"signature":"(lane: 'LaneDefinition', point: 'MatrixPoint', project_root: 'Path') -> 'CellMeasurement'","origin":"/Users/bytedance/Intern/SolarLab/perovskite-sim/perovskite_sim/validation/refinement_executors.py","line":3129,"ok":true}}, +{"id":"executor-f42ad925133ecfff","kind":"certificate_executor","current_path":"perovskite-sim/perovskite_sim/validation/refinement_executors.py","route_id":"route-611c81a4822db706","origin_key":"executor:perovskite_sim.validation.refinement_executors:run_frozen_ion_steady_jv","qualified_name":"perovskite_sim.validation.refinement_executors.run_frozen_ion_steady_jv","evidence_level":"cold_callable_resolution_only","cold_resolution":{"specification":"perovskite_sim.validation.refinement_executors:run_frozen_ion_steady_jv","callable":true,"signature":"(lane: 'LaneDefinition', point: 'MatrixPoint', project_root: 'Path') -> 'CellMeasurement'","origin":"/Users/bytedance/Intern/SolarLab/perovskite-sim/perovskite_sim/validation/refinement_executors.py","line":203,"ok":true}}, +{"id":"executor-cd5daa7fb87af0af","kind":"certificate_executor","current_path":"perovskite-sim/perovskite_sim/validation/refinement_executors.py","route_id":"route-611c81a4822db706","origin_key":"executor:perovskite_sim.validation.refinement_executors:run_interface_recombination_charge_off","qualified_name":"perovskite_sim.validation.refinement_executors.run_interface_recombination_charge_off","evidence_level":"cold_callable_resolution_only","cold_resolution":{"specification":"perovskite_sim.validation.refinement_executors:run_interface_recombination_charge_off","callable":true,"signature":"(lane: 'LaneDefinition', point: 'MatrixPoint', project_root: 'Path') -> 'CellMeasurement'","origin":"/Users/bytedance/Intern/SolarLab/perovskite-sim/perovskite_sim/validation/refinement_executors.py","line":2302,"ok":true}}, +{"id":"executor-335693d399528f26","kind":"certificate_executor","current_path":"perovskite-sim/perovskite_sim/validation/refinement_executors.py","route_id":"route-611c81a4822db706","origin_key":"executor:perovskite_sim.validation.refinement_executors:run_ion_aware_dc_operating_point","qualified_name":"perovskite_sim.validation.refinement_executors.run_ion_aware_dc_operating_point","evidence_level":"cold_callable_resolution_only","cold_resolution":{"specification":"perovskite_sim.validation.refinement_executors:run_ion_aware_dc_operating_point","callable":true,"signature":"(lane: 'LaneDefinition', point: 'MatrixPoint', project_root: 'Path') -> 'CellMeasurement'","origin":"/Users/bytedance/Intern/SolarLab/perovskite-sim/perovskite_sim/validation/refinement_executors.py","line":590,"ok":true}}, +{"id":"executor-8a2224a08c58825a","kind":"certificate_executor","current_path":"perovskite-sim/perovskite_sim/validation/refinement_executors.py","route_id":"route-611c81a4822db706","origin_key":"executor:perovskite_sim.validation.refinement_executors:run_ion_aware_impedance_frequency_domain","qualified_name":"perovskite_sim.validation.refinement_executors.run_ion_aware_impedance_frequency_domain","evidence_level":"cold_callable_resolution_only","cold_resolution":{"specification":"perovskite_sim.validation.refinement_executors:run_ion_aware_impedance_frequency_domain","callable":true,"signature":"(lane: 'LaneDefinition', point: 'MatrixPoint', project_root: 'Path') -> 'CellMeasurement'","origin":"/Users/bytedance/Intern/SolarLab/perovskite-sim/perovskite_sim/validation/refinement_executors.py","line":803,"ok":true}}, +{"id":"executor-b708406c0c69eac5","kind":"certificate_executor","current_path":"perovskite-sim/perovskite_sim/validation/refinement_executors.py","route_id":"route-611c81a4822db706","origin_key":"executor:perovskite_sim.validation.refinement_executors:run_mobile_ion_transient_jv","qualified_name":"perovskite_sim.validation.refinement_executors.run_mobile_ion_transient_jv","evidence_level":"cold_callable_resolution_only","cold_resolution":{"specification":"perovskite_sim.validation.refinement_executors:run_mobile_ion_transient_jv","callable":true,"signature":"(lane: 'LaneDefinition', point: 'MatrixPoint', project_root: 'Path') -> 'CellMeasurement'","origin":"/Users/bytedance/Intern/SolarLab/perovskite-sim/perovskite_sim/validation/refinement_executors.py","line":311,"ok":true}}, +{"id":"executor-6d4411ff1e1f5e70","kind":"certificate_executor","current_path":"perovskite-sim/perovskite_sim/validation/refinement_executors.py","route_id":"route-611c81a4822db706","origin_key":"executor:perovskite_sim.validation.refinement_executors:run_twod_mobile_ion_interface_srh","qualified_name":"perovskite_sim.validation.refinement_executors.run_twod_mobile_ion_interface_srh","evidence_level":"cold_callable_resolution_only","cold_resolution":{"specification":"perovskite_sim.validation.refinement_executors:run_twod_mobile_ion_interface_srh","callable":true,"signature":"(lane: 'LaneDefinition', point: 'MatrixPoint', project_root: 'Path') -> 'CellMeasurement'","origin":"/Users/bytedance/Intern/SolarLab/perovskite-sim/perovskite_sim/validation/refinement_executors.py","line":1984,"ok":true}}, +{"id":"executor-61ef7758ea9b3427","kind":"certificate_executor","current_path":"perovskite-sim/perovskite_sim/validation/refinement_executors.py","route_id":"route-611c81a4822db706","origin_key":"executor:perovskite_sim.validation.refinement_executors:run_twod_uniform_limit","qualified_name":"perovskite_sim.validation.refinement_executors.run_twod_uniform_limit","evidence_level":"cold_callable_resolution_only","cold_resolution":{"specification":"perovskite_sim.validation.refinement_executors:run_twod_uniform_limit","callable":true,"signature":"(lane: 'LaneDefinition', point: 'MatrixPoint', project_root: 'Path') -> 'CellMeasurement'","origin":"/Users/bytedance/Intern/SolarLab/perovskite-sim/perovskite_sim/validation/refinement_executors.py","line":1680,"ok":true}}, +{"id":"executor-620fa531cf26caf4","kind":"certificate_executor","current_path":"perovskite-sim/perovskite_sim/validation/resolved_tunnelling_refinement.py","route_id":"route-8f9aa816f1c87e00","origin_key":"executor:perovskite_sim.validation.resolved_tunnelling_refinement:run_resolved_intraband_refinement","qualified_name":"perovskite_sim.validation.resolved_tunnelling_refinement.run_resolved_intraband_refinement","evidence_level":"cold_callable_resolution_only","cold_resolution":{"specification":"perovskite_sim.validation.resolved_tunnelling_refinement:run_resolved_intraband_refinement","callable":true,"signature":"(lane: perovskite_sim.validation.numerical_certificate.LaneDefinition, point: perovskite_sim.validation.numerical_certificate.MatrixPoint, project_root: pathlib._local.Path) -> perovskite_sim.validation.refinement_runner.CellMeasurement","origin":"/Users/bytedance/Intern/SolarLab/perovskite-sim/perovskite_sim/validation/resolved_tunnelling_refinement.py","line":51,"ok":true}}, +{"id":"executor-4bc0c0235c83e955","kind":"certificate_executor","current_path":"perovskite-sim/perovskite_sim/validation/spatial_defect_refinement.py","route_id":"route-29ff125b420a5abf","origin_key":"executor:perovskite_sim.validation.spatial_defect_refinement:run_spatial_defect_qf_dc_refinement","qualified_name":"perovskite_sim.validation.spatial_defect_refinement.run_spatial_defect_qf_dc_refinement","evidence_level":"cold_callable_resolution_only","cold_resolution":{"specification":"perovskite_sim.validation.spatial_defect_refinement:run_spatial_defect_qf_dc_refinement","callable":true,"signature":"(lane: 'LaneDefinition', point: 'MatrixPoint', project_root: 'Path') -> 'CellMeasurement'","origin":"/Users/bytedance/Intern/SolarLab/perovskite-sim/perovskite_sim/validation/spatial_defect_refinement.py","line":475,"ok":true}}, +{"id":"executor-ba3263b888fb943a","kind":"certificate_executor","current_path":"perovskite-sim/perovskite_sim/validation/tunnelling_channel_refinement.py","route_id":"route-c69e6e9da1421924","origin_key":"executor:perovskite_sim.validation.tunnelling_channel_refinement:run_tunnelling_channel_qf_dc_refinement","qualified_name":"perovskite_sim.validation.tunnelling_channel_refinement.run_tunnelling_channel_qf_dc_refinement","evidence_level":"cold_callable_resolution_only","cold_resolution":{"specification":"perovskite_sim.validation.tunnelling_channel_refinement:run_tunnelling_channel_qf_dc_refinement","callable":true,"signature":"(lane: 'LaneDefinition', point: 'MatrixPoint', project_root: 'Path') -> 'CellMeasurement'","origin":"/Users/bytedance/Intern/SolarLab/perovskite-sim/perovskite_sim/validation/tunnelling_channel_refinement.py","line":169,"ok":true}}, +{"id":"experiment-0b68a79f94a0d4b1","kind":"experiment_callable","current_path":"perovskite-sim/perovskite_sim/experiments/band_diagram.py","route_id":"route-5ca82577dfe50181","origin_key":"experiment:perovskite_sim.experiments.band_diagram.compute_band_diagram","signature":"stack: DeviceStack, V_app: float=0.0, *, illuminated: bool=True, N_grid: int=80, settle_t: float=0.01","declared_return":"BandDiagram","callable_id":"python-8e64690ed75d3a6a","evidence_level":"source_static"}, +{"id":"experiment-ad1acb5693be96d2","kind":"experiment_callable","current_path":"perovskite-sim/perovskite_sim/experiments/bulk_defect_ion_transient.py","route_id":"route-6099117639558322","origin_key":"experiment:perovskite_sim.experiments.bulk_defect_ion_transient.run_bulk_defect_ion_device_transient","signature":"x: np.ndarray, stack: DeviceStack, times_s: object, voltage_V: object, *, illuminated: bool=False, mat: MaterialArrays | None=None, policy: BulkDefectIonTransientPolicy | None=None, require_certificate: bool=True","declared_return":"BulkDefectIonTransientResult","callable_id":"python-1dacff53aa7d33b7","evidence_level":"source_static"}, +{"id":"experiment-ba216e01ceaa8b2a","kind":"experiment_callable","current_path":"perovskite-sim/perovskite_sim/experiments/bulk_defect_transient.py","route_id":"route-7fdd0a08afe81954","origin_key":"experiment:perovskite_sim.experiments.bulk_defect_transient.run_bulk_defect_device_transient","signature":"x: np.ndarray, stack: DeviceStack, times_s: object, voltage_V: object, *, illuminated: bool=False, mat: MaterialArrays | None=None, dc_state: QuasiFermiSteadyStateResult | None=None, policy: BulkDefectTransientPolicy | None=None, require_certificate: bool=True","declared_return":"BulkDefectTransientResult","callable_id":"python-fe2c4d8b53196ae3","evidence_level":"source_static"}, +{"id":"experiment-310cf19000c8ed90","kind":"experiment_callable","current_path":"perovskite-sim/perovskite_sim/experiments/cbo_scan.py","route_id":"route-ab8776e954576856","origin_key":"experiment:perovskite_sim.experiments.cbo_scan.solve_interface_cbo_scan","signature":"baseline_stack: DeviceStack, delta_ec_eV: np.ndarray, *, voltages_V: np.ndarray | None=None, voltage_grids_V: tuple[np.ndarray, ...] | list[np.ndarray] | None=None, voltage_refinement_grids_V: tuple[np.ndarray, ...] | list[np.ndarray] | None=None, voltage_grid_convergence_policy: CBOVoltageGridConvergencePolicy | None=None, N_grid: int=30, reference_delta_ec_eV: float=0.0, relative_drop_fraction: float=0.01, minimum_delta_step_eV: float=0.0005, maximum_delta_step_eV: float=0.05, minimum_voltage_step_V: float | None=None, mpp_interpolation: str='sampled', max_bridge_points: int=256, interface_transmission: float=1.0, interface_transport_model: str=FERMI_RICHARDSON, interface_topology: str=DEDUPLICATED_QSS, boundary_policy: str=FIXED_CONTACTS, calculate_jv_metrics: bool=True, adaptive_jv_metrics: tuple[str, ...] | list[str]=(), reference_initial_state: QuasiFermiSteadyStateResult | None=None, reference_initial_state_grid: np.ndarray | None=None, progress: Callable[[str, int, int, str], None] | None=None","declared_return":"InterfaceCBOScanResult","callable_id":"python-f907ed340f19e3d1","evidence_level":"source_static"}, +{"id":"experiment-194369582907aec9","kind":"experiment_callable","current_path":"perovskite-sim/perovskite_sim/experiments/dark_jv.py","route_id":"route-637f1e727f89e31a","origin_key":"experiment:perovskite_sim.experiments.dark_jv.run_dark_jv","signature":"stack: DeviceStack, V_max: float=1.2, n_points: int=60, N_grid: int=60, v_rate: float=1.0, rtol: float=0.0001, atol: float=1e-06, progress: ProgressCallback | None=None","declared_return":"DarkJVResult","callable_id":"python-8b13c5f71f5f1831","evidence_level":"source_static"}, +{"id":"experiment-2424e5f405ddaf84","kind":"experiment_callable","current_path":"perovskite-sim/perovskite_sim/experiments/defect_aware_impedance.py","route_id":"route-2accc863cbfb1452","origin_key":"experiment:perovskite_sim.experiments.defect_aware_impedance.run_bulk_defect_device_impedance","signature":"x: np.ndarray, stack: DeviceStack, frequencies_Hz: object, *, V_dc: float=0.0, delta_V: float=0.01, illuminated: bool=False, mat: MaterialArrays | None=None, dc_state: QuasiFermiSteadyStateResult | None=None, defect_energy_quadrature_order: int=DEFAULT_DEFECT_ENERGY_QUADRATURE_ORDER, state_step: float=1e-05, voltage_step: float=1e-05, refinement_factors: object=DEFAULT_REFINEMENT_FACTORS, frequency_branch_margin_decades: float=2.0, maximum_frequency_sampling_gap_decades: float=0.5, maximum_dc_normalized_residual: float=1e-10, maximum_dc_continuity_bound_A_m2: float=0.0001, maximum_dc_face_current_spread_A_m2: float=0.0001, maximum_dc_poisson_residual: float=1e-08, maximum_qss_embedding_normalized_error: float=1e-10, maximum_local_trap_balance_relative_error: float=0.0001, maximum_all_face_admittance_spread: float=0.0005, maximum_linear_solve_backward_error: float=1e-10, maximum_refinement_relative_change: float=0.002, maximum_limit_relative_error: float=0.03, require_certificate: bool=True, progress: ProgressCallback | None=None","declared_return":"BulkDefectDeviceACResult","callable_id":"python-98754518a1e880cb","evidence_level":"source_static"}, +{"id":"experiment-cd24e07da754c0f7","kind":"experiment_callable","current_path":"perovskite-sim/perovskite_sim/experiments/defect_ion_combined_impedance.py","route_id":"route-7e52697666c1d1db","origin_key":"experiment:perovskite_sim.experiments.defect_ion_combined_impedance.run_defect_ion_combined_impedance","signature":"x: np.ndarray, stack: DeviceStack, frequencies_Hz: object, *, V_dc: float=0.0, illuminated: bool=False, delta_V: float=0.01, state_step: float=1e-05, voltage_step: float=1e-05, refinement_factors: object=DEFAULT_REFINEMENT_FACTORS, defect_energy_quadrature_order: int=DEFAULT_DEFECT_ENERGY_QUADRATURE_ORDER, frequency_branch_margin_decades: float=1.0, maximum_frequency_sampling_gap_decades: float=0.5, maximum_dc_normalized_residual: float=1e-08, maximum_dc_continuity_bound_A_m2: float=0.0001, maximum_dc_ionic_face_current_A_m2: float=1e-06, maximum_dc_inventory_error: float=1e-10, maximum_dc_poisson_residual: float=1e-08, maximum_dc_face_current_spread_A_m2: float=0.0001, maximum_qss_embedding_relative_error: float=1e-08, maximum_trap_balance_relative_error: float=0.001, maximum_all_face_admittance_spread: float=0.0005, maximum_linear_solve_backward_error: float=1e-10, maximum_refinement_relative_change: float=0.002, maximum_ion_inventory_response_relative: float=1e-08, maximum_current_decomposition_relative_error: float=1e-07, maximum_limit_relative_error: float=0.03, dc_max_nfev: int=1000, require_certificate: bool=True, progress: ProgressCallback | None=None, research_binding: dict | None=None","declared_return":"DefectIonCombinedResult","callable_id":"python-9cd015b8dc2ff5bc","evidence_level":"source_static"}, +{"id":"experiment-c642a1b0b63e51ee","kind":"experiment_callable","current_path":"perovskite-sim/perovskite_sim/experiments/degradation.py","route_id":"route-5f608c1296bb5da2","origin_key":"experiment:perovskite_sim.experiments.degradation.measure_frozen_ion_snapshot","signature":"x: np.ndarray, y_ref: np.ndarray, stack: DeviceStack, voltages: np.ndarray, settle_time: float, rtol: float, atol: AbsoluteTolerance, *, max_step: float | None=None, max_current_error_A_m2: float=0.05","declared_return":"FrozenIonSnapshot","callable_id":"python-46e1cf4d0df22640","evidence_level":"source_static"}, +{"id":"experiment-1bb0f41ff6da57f3","kind":"experiment_callable","current_path":"perovskite-sim/perovskite_sim/experiments/degradation.py","route_id":"route-5f608c1296bb5da2","origin_key":"experiment:perovskite_sim.experiments.degradation.run_degradation","signature":"stack: DeviceStack, t_end: float=100000.0, n_snapshots: int=20, V_bias: float=0.9, N_grid: int=60, dt_max: float=1.0, metric_n_points: int=40, metric_V_max: float | None=None, metric_settle_time: float=0.01, rtol: float=0.0001, atol: AbsoluteTolerance=1e-06, store_ion_profiles: bool=True, damage_motion_gain: float=1.2, damage_stress_rate: float=0.001, damage_lifetime_strength: float=4.0, min_tau_factor: float=0.2, progress: ProgressCallback | None=None","declared_return":"DegradationResult","callable_id":"python-81fcaa6731414439","evidence_level":"source_static"}, +{"id":"experiment-eed05d86c5378218","kind":"experiment_callable","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_impedance.py","route_id":"route-130393a19cff03be","origin_key":"experiment:perovskite_sim.experiments.dynamic_defect_impedance.run_dynamic_defect_impedance","signature":"grid: np.ndarray, stack: DeviceStack, protocol: DynamicDefectImpedanceProtocol, *, progress: ProgressCallback | None=None","declared_return":"DynamicDefectProductionResult","callable_id":"python-d30ce06363ae6cc5","evidence_level":"source_static"}, +{"id":"experiment-57b0e21dbe6c3130","kind":"experiment_callable","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_transient.py","route_id":"route-a56ff31ad57a1f0e","origin_key":"experiment:perovskite_sim.experiments.dynamic_defect_transient.run_dynamic_defect_transient","signature":"grid: np.ndarray, stack: DeviceStack, protocol: DynamicDefectTransientProtocol, *, progress: ProgressCallback | None=None","declared_return":"DynamicDefectTransientProductionResult","callable_id":"python-00412f969649154c","evidence_level":"source_static"}, +{"id":"experiment-ddece0c2ae0c1f35","kind":"experiment_callable","current_path":"perovskite-sim/perovskite_sim/experiments/el_spectrum.py","route_id":"route-e54ce44407041288","origin_key":"experiment:perovskite_sim.experiments.el_spectrum.run_el_spectrum","signature":"stack: DeviceStack, V_inj: float=1.0, wavelengths_nm: np.ndarray | None=None, N_grid: int=60, n_points_dark: int=30, v_rate: float=1.0, rtol: float=0.0001, atol: float=1e-06, progress: ProgressCallback | None=None","declared_return":"ELResult","callable_id":"python-a605e2f301ee63c2","evidence_level":"source_static"}, +{"id":"experiment-cff445ec1e0effe0","kind":"experiment_callable","current_path":"perovskite-sim/perovskite_sim/experiments/electrothermal.py","route_id":"route-7db2e643362dfd6c","origin_key":"experiment:perovskite_sim.experiments.electrothermal.solve_electrothermal_operating_point","signature":"stack: DeviceStack, thermal_protocol: LumpedThermalProtocol, circuit_protocol: ExternalCircuitProtocol, electrical_protocol: ElectrothermalJVProtocol, operating_protocol: ElectrothermalOperatingPointProtocol","declared_return":"ElectrothermalOperatingPointResult","callable_id":"python-0b05693f6202a750","evidence_level":"source_static"}, +{"id":"experiment-d99a1dd374330649","kind":"experiment_callable","current_path":"perovskite-sim/perovskite_sim/experiments/eqe.py","route_id":"route-5a8723c98dfd6f67","origin_key":"experiment:perovskite_sim.experiments.eqe.compute_eqe","signature":"stack: DeviceStack, wavelengths_nm: np.ndarray | None=None, Phi_incident: float=4e+21, N_grid: int=60, t_settle: float=0.1, rtol: float=0.0001, atol: float=1e-06, progress: ProgressCallback | None=None, experiment_protocol: ExperimentProtocol | None=None, protocol_mode: ProtocolMode='compatibility'","declared_return":"EQEResult","callable_id":"python-c48be3847c79aaa4","evidence_level":"source_static"}, +{"id":"experiment-5228757a6f9c21fa","kind":"experiment_callable","current_path":"perovskite-sim/perovskite_sim/experiments/external_circuit.py","route_id":"route-f5899aee3f4d6b9e","origin_key":"experiment:perovskite_sim.experiments.external_circuit.apply_external_circuit","signature":"result: JVResult, protocol: ExternalCircuitProtocol, *, incident_power_W_m2: float=1000.0","declared_return":"ExternalCircuitJVResult","callable_id":"python-5b32b2a5890db17f","evidence_level":"source_static"}, +{"id":"experiment-671a7a898134a9d4","kind":"experiment_callable","current_path":"perovskite-sim/perovskite_sim/experiments/external_circuit.py","route_id":"route-f5899aee3f4d6b9e","origin_key":"experiment:perovskite_sim.experiments.external_circuit.map_external_circuit_branch","signature":"junction_voltage_V: object, device_current_A_m2: object, protocol: ExternalCircuitProtocol","declared_return":"ExternalCircuitBranch","callable_id":"python-6978884029def753","evidence_level":"source_static"}, +{"id":"experiment-ff8c4a6873bfed44","kind":"experiment_callable","current_path":"perovskite-sim/perovskite_sim/experiments/identifiability.py","route_id":"route-aabd8ca4f67f1c35","origin_key":"experiment:perovskite_sim.experiments.identifiability.run_interface_srh_identifiability","signature":"protocol: InterfaceSRHIdentifiabilityProtocol","declared_return":"InterfaceSRHIdentifiabilityResult","callable_id":"python-085101aa49c85cb7","evidence_level":"source_static"}, +{"id":"experiment-c4cd5cd89842d858","kind":"experiment_callable","current_path":"perovskite-sim/perovskite_sim/experiments/impedance.py","route_id":"route-7476954ae0fdb534","origin_key":"experiment:perovskite_sim.experiments.impedance.extract_impedance","signature":"frequencies: np.ndarray, delta_V: float=0.01, t_settle: float=0.001, n_cycles: int=5, dummy_mode: bool=False","declared_return":"np.ndarray","callable_id":"python-391627b787026f81","evidence_level":"source_static"}, +{"id":"experiment-bfd110fe2e409927","kind":"experiment_callable","current_path":"perovskite-sim/perovskite_sim/experiments/impedance.py","route_id":"route-7476954ae0fdb534","origin_key":"experiment:perovskite_sim.experiments.impedance.run_impedance","signature":"stack: DeviceStack, frequencies: np.ndarray, V_dc: float=0.9, delta_V: float=0.01, N_grid: int=60, n_cycles: int=5, n_extract: int=2, rtol: float=0.0001, atol: AbsoluteTolerance=1e-06, illuminated: bool=True, progress: ProgressCallback | None=None, allow_underresolved_grid: bool=False, method: str='transient', dc_settle_time: float=0.001, require_operating_point_certificate: bool=False, require_frequency_window_certificate: bool=False, max_carrier_area_rate_A_m2: float=DEFAULT_MAX_CARRIER_AREA_RATE_A_M2, max_ion_area_rate_A_m2: float=DEFAULT_MAX_ION_AREA_RATE_A_M2, max_ionic_face_current_A_m2: float=DEFAULT_MAX_ION_AREA_RATE_A_M2, max_dc_face_spread_A_m2: float=DEFAULT_MAX_DC_FACE_SPREAD_A_M2, points_per_cycle: int=40, experiment_protocol: ExperimentProtocol | None=None, protocol_mode: ProtocolMode='compatibility', ion_aware_dc_atol: AbsoluteTolerance | None=None, dynamic_defect_protocol: DynamicDefectImpedanceProtocol | None=None, defect_energy_quadrature_order: int=DEFAULT_DEFECT_ENERGY_QUADRATURE_ORDER, dynamic_defect_state_step: float=1e-05, dynamic_defect_voltage_step: float=1e-05, dynamic_defect_refinement_factors: object=DEFAULT_DYNAMIC_DEFECT_REFINEMENT_FACTORS, dynamic_defect_gates: DynamicDefectImpedanceGates | None=None","declared_return":"ImpedanceResult","callable_id":"python-2f04296eb85e4928","evidence_level":"source_static"}, +{"id":"experiment-997377217803970d","kind":"experiment_callable","current_path":"perovskite-sim/perovskite_sim/experiments/interface_charge_jv.py","route_id":"route-5e747a794c569195","origin_key":"experiment:perovskite_sim.experiments.interface_charge_jv.solve_interface_charge_jv","signature":"x: np.ndarray, stack: DeviceStack, protocol: InterfaceChargeJVProtocol, *, tolerance_factor: float=1.0, progress: ProgressCallback | None=None","declared_return":"InterfaceChargeJVExecution","callable_id":"python-5826dc8ddf4a7918","evidence_level":"source_static"}, +{"id":"experiment-f3f73781e494a4fe","kind":"experiment_callable","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_aware_impedance.py","route_id":"route-0f4037cecfd2937f","origin_key":"experiment:perovskite_sim.experiments.interface_defect_aware_impedance.run_interface_defect_device_impedance","signature":"x: np.ndarray, stack: DeviceStack, frequencies_Hz: object, *, V_dc: float=0.0, delta_V: float=0.01, illuminated: bool=False, dark_reference: EquilibriumReferencedInterfaceChargeDarkReference | None=None, dc_state: QuasiFermiSteadyStateResult | None=None, state_step: float=1e-05, voltage_step: float=1e-05, refinement_factors: object=DEFAULT_REFINEMENT_FACTORS, frequency_branch_margin_decades: float=2.0, maximum_frequency_sampling_gap_decades: float=0.5, maximum_dc_operator_match_error: float=1e-10, maximum_dc_normalized_residual: float=1e-07, maximum_dc_continuity_bound_A_m2: float=0.0001, maximum_dc_face_current_spread_A_m2: float=0.0001, maximum_dc_poisson_residual: float=1e-08, maximum_qss_embedding_normalized_error: float=1e-09, maximum_local_interface_residual: float=1e-07, maximum_local_gauss_residual: float=1e-07, maximum_local_trap_balance_relative_error: float=0.0001, maximum_all_face_admittance_spread: float=0.0005, maximum_linear_solve_backward_error: float=1e-10, maximum_refinement_relative_change: float=0.002, maximum_limit_relative_error: float=0.03, require_certificate: bool=True, progress: ProgressCallback | None=None","declared_return":"InterfaceDefectDeviceACResult","callable_id":"python-99aa2cc84550d897","evidence_level":"source_static"}, +{"id":"experiment-29a84beaf4041cba","kind":"experiment_callable","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_ion_transient.py","route_id":"route-4a5beb0fdcf3619a","origin_key":"experiment:perovskite_sim.experiments.interface_defect_ion_transient.run_interface_defect_ion_device_transient","signature":"x: np.ndarray, stack: DeviceStack, times_s: object, voltage_V: object, *, illuminated: bool=False, mat: MaterialArrays | None=None, policy: InterfaceDefectIonTransientPolicy | None=None, require_certificate: bool=True, research_binding: dict | None=None, accepted_step_observer=None","declared_return":"InterfaceDefectIonTransientResult","callable_id":"python-9ca44b43b8687936","evidence_level":"source_static"}, +{"id":"experiment-5dad4016f96a21d7","kind":"experiment_callable","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_transient.py","route_id":"route-9b19d2ed844a6c53","origin_key":"experiment:perovskite_sim.experiments.interface_defect_transient.run_interface_defect_device_transient","signature":"x: np.ndarray, stack: DeviceStack, times_s: object, voltage_V: object, *, illuminated: bool=False, dark_reference: EquilibriumReferencedInterfaceChargeDarkReference | None=None, mat: MaterialArrays | None=None, dc_state: QuasiFermiSteadyStateResult | None=None, policy: InterfaceDefectTransientPolicy | None=None, require_certificate: bool=True","declared_return":"InterfaceDefectTransientResult","callable_id":"python-adc2d71c85c2226c","evidence_level":"source_static"}, +{"id":"experiment-10d2cde17eaa6e01","kind":"experiment_callable","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_analytic_reaction.py","route_id":"route-2d70ff5a414a71bc","origin_key":"experiment:perovskite_sim.experiments.ion_aware_analytic_reaction.apply_analytic_bulk_reaction_linearization","signature":"reference: FrequencyDomainResult, analytic: IonAwareAnalyticBulkReactionLinearization, layout: IonAwareStateCoordinateLayout, *, V_dc: float, face_weights: np.ndarray, progress: ProgressCallback | None=None","declared_return":"FrequencyDomainResult","callable_id":"python-7a349f54ec3d2311","evidence_level":"source_static"}, +{"id":"experiment-68757a97c60b3660","kind":"experiment_callable","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_analytic_reaction.py","route_id":"route-2d70ff5a414a71bc","origin_key":"experiment:perovskite_sim.experiments.ion_aware_analytic_reaction.apply_analytic_contact_linearization","signature":"reference: FrequencyDomainResult, analytic: IonAwareAnalyticContactLinearization, layout: IonAwareStateCoordinateLayout, *, V_dc: float, face_weights: np.ndarray, progress: ProgressCallback | None=None","declared_return":"FrequencyDomainResult","callable_id":"python-cf472740283ccb7b","evidence_level":"source_static"}, +{"id":"experiment-ce4180bc09955f54","kind":"experiment_callable","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_analytic_reaction.py","route_id":"route-2d70ff5a414a71bc","origin_key":"experiment:perovskite_sim.experiments.ion_aware_analytic_reaction.apply_analytic_interface_reaction_linearization","signature":"reference: FrequencyDomainResult, analytic: IonAwareAnalyticInterfaceReactionLinearization, layout: IonAwareStateCoordinateLayout, *, V_dc: float, face_weights: np.ndarray, progress: ProgressCallback | None=None","declared_return":"FrequencyDomainResult","callable_id":"python-682e336cf665f1e1","evidence_level":"source_static"}, +{"id":"experiment-00db5ef5f7a28a1c","kind":"experiment_callable","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_analytic_transport.py","route_id":"route-0b685a0a6f8ded75","origin_key":"experiment:perovskite_sim.experiments.ion_aware_analytic_transport.apply_analytic_transport_linearization","signature":"reference: FrequencyDomainResult, analytic: IonAwareAnalyticTransportLinearization, material: MaterialArrays, layout: IonAwareStateCoordinateLayout, *, V_dc: float, face_weights: np.ndarray, progress: ProgressCallback | None=None","declared_return":"FrequencyDomainResult","callable_id":"python-3142428d3704509b","evidence_level":"source_static"}, +{"id":"experiment-d2c61896a1893f64","kind":"experiment_callable","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_dc.py","route_id":"route-540527431655d5fb","origin_key":"experiment:perovskite_sim.experiments.ion_aware_dc.solve_ion_aware_dc","signature":"x: np.ndarray, stack: DeviceStack, protocol: IonAwareDCProtocol, *, y0: np.ndarray | None=None, mat: MaterialArrays | None=None, rtol: float=0.0001, atol: AbsoluteTolerance | None=None, method_ladder: tuple[str, ...]=('Radau', 'BDF'), max_nfev_per_attempt: int | None=20000, require_numerical_certificate: bool=True, require_contact_certificate: bool=False, progress: ProgressCallback | None=None","declared_return":"IonAwareDCResult","callable_id":"python-0bd0148a2aa1f143","evidence_level":"source_static"}, +{"id":"experiment-3820972478a89255","kind":"experiment_callable","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance.py","route_id":"route-66a78cb7e2ee8eba","origin_key":"experiment:perovskite_sim.experiments.ion_aware_impedance.run_ion_aware_impedance","signature":"x: np.ndarray, stack: DeviceStack, protocol: IonAwareImpedanceProtocol, *, dc_state: IonAwareDCResult, mat: MaterialArrays | None=None, require_numerical_certificate: bool=True, require_contact_certificate: bool=False, require_frequency_window_certificate: bool=False, progress: ProgressCallback | None=None","declared_return":"IonAwareImpedanceResult","callable_id":"python-67d79a9aa83a4725","evidence_level":"source_static"}, +{"id":"experiment-330be0d05e1b31a9","kind":"experiment_callable","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance_grid.py","route_id":"route-3ca1dfa513a1e322","origin_key":"experiment:perovskite_sim.experiments.ion_aware_impedance_grid.run_ion_aware_impedance_grid_ladder","signature":"protocol: IonAwareImpedanceGridProtocol, *, dc_states: tuple[IonAwareDCResult, ...] | list[IonAwareDCResult], require_numerical_certificate: bool=True, require_contact_certificate: bool=False, require_frequency_window_certificate: bool=False, progress: ProgressCallback | None=None","declared_return":"IonAwareImpedanceGridResult","callable_id":"python-9147c995b2109220","evidence_level":"source_static"}, +{"id":"experiment-fbf41e2889c53cad","kind":"experiment_callable","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance_lockin.py","route_id":"route-e427668ae85b61ce","origin_key":"experiment:perovskite_sim.experiments.ion_aware_impedance_lockin.run_ion_aware_transient_lockin_crosscheck","signature":"frequency_domain: IonAwareImpedanceResult, protocol: IonAwareTransientLockInProtocol, *, dc_state: IonAwareDCResult, require_numerical_certificate: bool=True, require_contact_certificate: bool=False, require_frequency_window_certificate: bool=False, progress: ProgressCallback | None=None","declared_return":"IonAwareTransientLockInResult","callable_id":"python-e3d7b0ae79225ec0","evidence_level":"source_static"}, +{"id":"experiment-3bf95a0df12a0f9f","kind":"experiment_callable","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_structured_jacobian.py","route_id":"route-d50045e506093dad","origin_key":"experiment:perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison","signature":"x: np.ndarray, stack: DeviceStack, impedance_protocol: IonAwareImpedanceProtocol, structured_protocol: IonAwareStructuredJacobianProtocol, *, dc_state: IonAwareDCResult, mat: MaterialArrays | None=None, require_numerical_certificate: bool=True, require_contact_certificate: bool=False, progress: ProgressCallback | None=None","declared_return":"IonAwareStructuredJacobianResult","callable_id":"python-55d514b405d9d1de","evidence_level":"source_static"}, +{"id":"experiment-d2ac87c25de5f542","kind":"experiment_callable","current_path":"perovskite-sim/perovskite_sim/experiments/jv_sweep.py","route_id":"route-6110e3f0105bc8f1","origin_key":"experiment:perovskite_sim.experiments.jv_sweep.compute_current_components","signature":"x: np.ndarray, y: np.ndarray, stack: DeviceStack, V_app: float, y_prev: np.ndarray | None=None, dt: float | None=None, mat: MaterialArrays | None=None, V_app_prev: float | None=None, phi_frozen: np.ndarray | None=None","declared_return":"CurrentComponents","callable_id":"python-1b8a2512651eb291","evidence_level":"source_static"}, +{"id":"experiment-61d3af054e6a1f6d","kind":"experiment_callable","current_path":"perovskite-sim/perovskite_sim/experiments/jv_sweep.py","route_id":"route-6110e3f0105bc8f1","origin_key":"experiment:perovskite_sim.experiments.jv_sweep.compute_ionic_current_components","signature":"x: np.ndarray, y: np.ndarray, stack: DeviceStack, V_app: float, *, mat: MaterialArrays | None=None, phi_frozen: np.ndarray | None=None","declared_return":"IonicCurrentComponents","callable_id":"python-b4672100092727ee","evidence_level":"source_static"}, +{"id":"experiment-7fed102e77dec518","kind":"experiment_callable","current_path":"perovskite-sim/perovskite_sim/experiments/jv_sweep.py","route_id":"route-6110e3f0105bc8f1","origin_key":"experiment:perovskite_sim.experiments.jv_sweep.compute_metrics","signature":"V: np.ndarray, J: np.ndarray, *, assume_jsc_positive: bool=True, P_in: float=1000.0, V_oc_max: float | None=None, validity: Sequence[bool] | Sequence[JVPointStatus] | np.ndarray | None=None, mpp_interpolation: Literal['sampled', 'local_quadratic']='sampled'","declared_return":"JVMetrics","callable_id":"python-5b840c038b5e9530","evidence_level":"source_static"}, +{"id":"experiment-f390da9f265f080b","kind":"experiment_callable","current_path":"perovskite-sim/perovskite_sim/experiments/jv_sweep.py","route_id":"route-6110e3f0105bc8f1","origin_key":"experiment:perovskite_sim.experiments.jv_sweep.extract_spatial_snapshot","signature":"x: np.ndarray, y: np.ndarray, stack: DeviceStack, V_app: float, mat: MaterialArrays | None=None, *, phi_frozen: np.ndarray | None=None","declared_return":"SpatialSnapshot","callable_id":"python-e8cf4882ef03843a","evidence_level":"source_static"}, +{"id":"experiment-d1aee10f514c8af5","kind":"experiment_callable","current_path":"perovskite-sim/perovskite_sim/experiments/jv_sweep.py","route_id":"route-6110e3f0105bc8f1","origin_key":"experiment:perovskite_sim.experiments.jv_sweep.run_jv_sweep","signature":"stack: DeviceStack, N_grid: int=100, v_rate: float=0.1, n_points: int=50, rtol: float=0.0001, atol: float=1e-06, V_max: float | None=None, progress: ProgressCallback | None=None, fixed_generation: np.ndarray | None=None, illuminated: bool=True, save_snapshots: bool=False, decompose_currents: bool=False, v_max_max_attempts: int=1, certification_mode: Literal['strict', 'diagnostic']='strict', allow_underresolved_grid: bool=False, allow_unvalidated_driver: bool=False, experiment_protocol: ExperimentProtocol | None=None, protocol_mode: ProtocolMode='compatibility', rhs_regularization: RHSRegularization | None=None, collect_numerical_diagnostics: bool=False","declared_return":"JVResult","callable_id":"python-993788ea66e68b41","evidence_level":"source_static"}, +{"id":"experiment-e903c8755d4a8729","kind":"experiment_callable","current_path":"perovskite-sim/perovskite_sim/experiments/metastable_preparation.py","route_id":"route-122501331d596e6c","origin_key":"experiment:perovskite_sim.experiments.metastable_preparation.prepare_metastable_configuration","signature":"x: np.ndarray, stack: DeviceStack, definition: MetastableDefectDefinition, protocol: MetastablePreparationProtocol, *, layer_name: str, illuminated: bool | None=None, illumination_steps: tuple[float, ...]=DEFAULT_ILLUMINATION_STEPS, **solver_controls","declared_return":"FrozenMetastableConfiguration","callable_id":"python-4ee65d13b4b35ba3","evidence_level":"source_static"}, +{"id":"experiment-a3f3bb449a2f34d7","kind":"experiment_callable","current_path":"perovskite-sim/perovskite_sim/experiments/metastable_preparation.py","route_id":"route-122501331d596e6c","origin_key":"experiment:perovskite_sim.experiments.metastable_preparation.solve_frozen_metastable_jv_sweep","signature":"x: np.ndarray, stack: DeviceStack, frozen: FrozenMetastableConfiguration, voltages_V: np.ndarray, **solver_controls","declared_return":"QuasiFermiJVSweepResult","callable_id":"python-aed19c59c19affd4","evidence_level":"source_static"}, +{"id":"experiment-a4dd600fc6d409df","kind":"experiment_callable","current_path":"perovskite-sim/perovskite_sim/experiments/metastable_preparation.py","route_id":"route-122501331d596e6c","origin_key":"experiment:perovskite_sim.experiments.metastable_preparation.solve_frozen_metastable_measurement","signature":"x: np.ndarray, stack: DeviceStack, frozen: FrozenMetastableConfiguration, V_app: float=0.0, *, illuminated: bool=False, **solver_controls","declared_return":"QuasiFermiSteadyStateResult","callable_id":"python-baf415834638603e","evidence_level":"source_static"}, +{"id":"experiment-906f1e5fff63647f","kind":"experiment_callable","current_path":"perovskite-sim/perovskite_sim/experiments/metastable_transient.py","route_id":"route-ef61f462b2550dc9","origin_key":"experiment:perovskite_sim.experiments.metastable_transient.run_metastable_configuration_transient","signature":"x: np.ndarray, stack: DeviceStack, frozen: FrozenMetastableConfiguration, times_s: np.ndarray, *, V_app: float=0.0, illuminated: bool=False, maximum_charge_transfer_relative_error: float=1e-10, maximum_refinement_fraction_change: float=0.005, require_certificate: bool=True, **solver_controls","declared_return":"MetastableTransientResult","callable_id":"python-04c182a16f0966e7","evidence_level":"source_static"}, +{"id":"experiment-a69d51ff462cc36a","kind":"experiment_callable","current_path":"perovskite-sim/perovskite_sim/experiments/mott_schottky.py","route_id":"route-f07791f6d464ccd9","origin_key":"experiment:perovskite_sim.experiments.mott_schottky.run_mott_schottky","signature":"stack: DeviceStack, V_range: Sequence[float] | np.ndarray=None, frequency: float=1000000.0, delta_V: float=0.01, N_grid: int=40, n_cycles: int=5, n_extract: int=2, rtol: float=0.0001, atol: float=1e-06, progress: ProgressCallback | None=None, impedance_method: str='transient'","declared_return":"MottSchottkyResult","callable_id":"python-0db15afd3e820943","evidence_level":"source_static"}, +{"id":"experiment-4e372a3e04e0faca","kind":"experiment_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1.py","route_id":"route-aad6beda6ef7111b","origin_key":"experiment:perovskite_sim.experiments.one_dimensional_mechanism_r1.prepare_reference","signature":"stack, output, write_json","declared_return":null,"callable_id":"python-5d5f6ea1cd90b46e","evidence_level":"source_static"}, +{"id":"experiment-35bac077cd83f54c","kind":"experiment_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1.py","route_id":"route-aad6beda6ef7111b","origin_key":"experiment:perovskite_sim.experiments.one_dimensional_mechanism_r1.run_coupled","signature":"stack, intervals, binding, output, write_json, *, nonlinear_factor=1.0","declared_return":null,"callable_id":"python-2b7e7c1c5d224cc8","evidence_level":"source_static"}, +{"id":"experiment-43a0424529f1528e","kind":"experiment_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1.py","route_id":"route-aad6beda6ef7111b","origin_key":"experiment:perovskite_sim.experiments.one_dimensional_mechanism_r1.solve_r1_dc","signature":"stack, intervals, reference=None","declared_return":null,"callable_id":"python-8c20409497e36a83","evidence_level":"source_static"}, +{"id":"experiment-5dc2e7f6a62669ce","kind":"experiment_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_global_reference.py","route_id":"route-eeccc2e764f79cbb","origin_key":"experiment:perovskite_sim.experiments.one_dimensional_mechanism_r1_global_reference.solve_global_ion_reference","signature":"inputs","declared_return":null,"callable_id":"python-ff6e053d682a2e8b","evidence_level":"source_static"}, +{"id":"experiment-79d7d88479557cc0","kind":"experiment_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift_reference.py","route_id":"route-7e98c4ac49886b90","origin_key":"experiment:perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_reference.solve_rebased_ion_reference","signature":"inputs","declared_return":null,"callable_id":"python-58da29870afc5e4d","evidence_level":"source_static"}, +{"id":"experiment-f13798efea3b69ba","kind":"experiment_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_pair_codec.py","route_id":"route-883887b3dfdfe620","origin_key":"experiment:perovskite_sim.experiments.one_dimensional_mechanism_r1_pair_codec.prepare_pair_state","signature":"stack, intervals, binding, *, policy=None, legacy_prepare, legacy_verify, fine_factory, snapshot","declared_return":null,"callable_id":"python-48c9db09b1991408","evidence_level":"source_static"}, +{"id":"experiment-4f8f2c0e1fbe098f","kind":"experiment_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_precision.py","route_id":"route-f05686ba301ff5b5","origin_key":"experiment:perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.solve_independent_poisson","signature":"inputs","declared_return":null,"callable_id":"python-2ca7e5730faf8972","evidence_level":"source_static"}, +{"id":"experiment-089f551cef6acbef","kind":"experiment_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_protocol.py","route_id":"route-5574a77d963b18e7","origin_key":"experiment:perovskite_sim.experiments.one_dimensional_mechanism_r1_protocol.run_r1_step","signature":"stack, intervals, binding, prepared, *, control='D', amplitude_V=0.005, times_s=None, policy=None, accepted_step_observer=None, expected_prepared_sha256=None, physics_evidence=False, backend=None","declared_return":null,"callable_id":"python-3a80651db6a981a2","evidence_level":"source_static"}, +{"id":"experiment-be0a906d081824ea","kind":"experiment_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_response.py","route_id":"route-16e41e21eea34bf8","origin_key":"experiment:perovskite_sim.experiments.one_dimensional_mechanism_r1_response.solve_controlled_dc","signature":"stack, intervals, binding, prepared, *, control='D', voltage_V=0.0, policy=None, expected_prepared_sha256=None, backend=None","declared_return":null,"callable_id":"python-e743c7f7942c6bd2","evidence_level":"source_static"}, +{"id":"experiment-c363c4d6b2f1e7a9","kind":"experiment_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_state.py","route_id":"route-3437e4b3d969b4d5","origin_key":"experiment:perovskite_sim.experiments.one_dimensional_mechanism_r1_state.prepare_common_state","signature":"stack, intervals, binding, *, policy=None, backend=None","declared_return":null,"callable_id":"python-d1e7340afe1e77c8","evidence_level":"source_static"}, +{"id":"experiment-dc4f01b0782f66c3","kind":"experiment_callable","current_path":"perovskite-sim/perovskite_sim/experiments/open_circuit.py","route_id":"route-3431bf7169601fdb","origin_key":"experiment:perovskite_sim.experiments.open_circuit.integrate_open_circuit","signature":"system: OpenCircuitSystem, y0: np.ndarray, voltage0: float, times: np.ndarray, *, rtol: float=0.0001, atol: float=1e-06, voltage_atol: float=1e-09, max_step: float=np.inf, max_current_error_A_m2: float=0.05, max_voltage_error_V: float=1e-06, max_nfev: int=100000","declared_return":"OpenCircuitTrace","callable_id":"python-63bde09a82651ce8","evidence_level":"source_static"}, +{"id":"experiment-7a4e421429ce76e9","kind":"experiment_callable","current_path":"perovskite-sim/perovskite_sim/experiments/quasi_fermi_impedance.py","route_id":"route-e8ca7a89ef09d514","origin_key":"experiment:perovskite_sim.experiments.quasi_fermi_impedance.run_quasi_fermi_impedance","signature":"x: np.ndarray, stack: DeviceStack, frequencies: np.ndarray, *, V_dc: float=0.0, delta_V: float=0.01, illuminated: bool=False, mat: MaterialArrays | None=None, dc_state: QuasiFermiSteadyStateResult | None=None, state_step: float=1e-05, voltage_step: float=1e-05, max_relative_face_spread: float=DEFAULT_MAX_RELATIVE_FACE_SPREAD, max_backward_error: float=DEFAULT_MAX_BACKWARD_ERROR, progress: ProgressCallback | None=None","declared_return":"QuasiFermiImpedanceResult","callable_id":"python-f09d5fbf1dd0b901","evidence_level":"source_static"}, +{"id":"experiment-e5baf86a6d60f39c","kind":"experiment_callable","current_path":"perovskite-sim/perovskite_sim/experiments/quasi_fermi_steady_state.py","route_id":"route-1c35c1275d46d863","origin_key":"experiment:perovskite_sim.experiments.quasi_fermi_steady_state.solve_equilibrium_referenced_interface_charge_steady_state","signature":"x: np.ndarray, stack: DeviceStack, V_app: float, *, dark_reference: EquilibriumReferencedInterfaceChargeDarkReference, illuminated: bool=True, initial_state: QuasiFermiSteadyStateResult | None=None, **solver_controls","declared_return":"QuasiFermiSteadyStateResult","callable_id":"python-028fc9f2796c4dd8","evidence_level":"source_static"}, +{"id":"experiment-2013b85fee4526d6","kind":"experiment_callable","current_path":"perovskite-sim/perovskite_sim/experiments/quasi_fermi_steady_state.py","route_id":"route-1c35c1275d46d863","origin_key":"experiment:perovskite_sim.experiments.quasi_fermi_steady_state.solve_quasi_fermi_jv_sweep","signature":"x: np.ndarray, stack: DeviceStack, voltages_V: np.ndarray, *, mat: MaterialArrays | None=None, interface_boundary: bool=False, interface_topology: str=DEDUPLICATED_QSS, interface_transmission: float=1.0, interface_transport_model: str=FERMI_RICHARDSON, initial_short_circuit_state: QuasiFermiSteadyStateResult | None=None, P_in_W_m2: float=1000.0, require_contact_certificate: bool=False, illumination_steps: tuple[float, ...]=DEFAULT_ILLUMINATION_STEPS, finite_difference_step: float=1e-05, newton_residual_tolerance: float=1e-10, max_newton_iterations: int=30, poisson_tolerance_V: float=1e-13, poisson_max_iterations: int=100, continuity_tolerance_A_m2: float=0.0001, current_spread_tolerance_A_m2: float=0.0001, poisson_residual_tolerance: float=1e-08, stop_after_voc: bool=False, voc_stop_grid_V: np.ndarray | None=None, minimum_voltage_step_V: float | None=None, max_voltage_bridge_points: int=256, mpp_interpolation: Literal['sampled', 'local_quadratic']='sampled', defect_energy_quadrature_order: int=DEFAULT_DEFECT_ENERGY_QUADRATURE_ORDER","declared_return":"QuasiFermiJVSweepResult","callable_id":"python-e9c756b463ab3c35","evidence_level":"source_static"}, +{"id":"experiment-06f3862814316e87","kind":"experiment_callable","current_path":"perovskite-sim/perovskite_sim/experiments/quasi_fermi_steady_state.py","route_id":"route-1c35c1275d46d863","origin_key":"experiment:perovskite_sim.experiments.quasi_fermi_steady_state.solve_quasi_fermi_steady_state","signature":"x: np.ndarray, stack: DeviceStack, V_app: float=0.0, *, illuminated: bool=True, mat: MaterialArrays | None=None, interface_boundary: bool=False, interface_topology: str=DEDUPLICATED_QSS, interface_transmission: float=1.0, interface_transport_model: str=FERMI_RICHARDSON, initial_state: QuasiFermiSteadyStateResult | None=None, initial_state_grid: np.ndarray | None=None, force_nodal_coordinate_predictor: bool=False, use_density_predictor: bool=False, illumination_steps: tuple[float, ...]=DEFAULT_ILLUMINATION_STEPS, finite_difference_step: float=1e-05, newton_residual_tolerance: float=1e-10, max_newton_iterations: int=30, poisson_tolerance_V: float=1e-13, poisson_max_iterations: int=100, continuity_tolerance_A_m2: float=0.0001, current_spread_tolerance_A_m2: float=0.0001, poisson_residual_tolerance: float=1e-08, require_contact_certificate: bool=False, defect_energy_quadrature_order: int=DEFAULT_DEFECT_ENERGY_QUADRATURE_ORDER, _research_interface_charge_reference_occupancy: np.ndarray | None=None, _research_interface_charge_trap_density_m2: np.ndarray | None=None, _research_interface_charge_token: object | None=None","declared_return":"QuasiFermiSteadyStateResult","callable_id":"python-29f5d0e884e65b0e","evidence_level":"source_static"}, +{"id":"experiment-950330e143988071","kind":"experiment_callable","current_path":"perovskite-sim/perovskite_sim/experiments/steady_state.py","route_id":"route-e968e8702b679dff","origin_key":"experiment:perovskite_sim.experiments.steady_state.run_jv_sweep_ss","signature":"stack: DeviceStack, *, N_grid: int=30, V_max: float=1.25, n_points: int=26, illuminated: bool=True, iface_states: bool=False, stop_after_voc: bool=False, allow_underresolved_grid: bool=False, allow_unvalidated_driver: bool=False, progress=None, rhs_regularization: RHSRegularization | None=None","declared_return":"JVSweepSSResult","callable_id":"python-36d4bb6a94a719f4","evidence_level":"source_static"}, +{"id":"experiment-8c6cbf43a9370396","kind":"experiment_callable","current_path":"perovskite-sim/perovskite_sim/experiments/steady_state.py","route_id":"route-e968e8702b679dff","origin_key":"experiment:perovskite_sim.experiments.steady_state.solve_steady_state","signature":"x: np.ndarray, stack: DeviceStack, V_app: float, *, illuminated: bool=True, mat: MaterialArrays | None=None, y0: np.ndarray | None=None, tol: float=1e-06, tol_step: float=1e-08, tol_accept: float=0.5, max_continuity_current_error: float=0.1, max_newton: int=60, assist_times: tuple[float, ...]=(0.0001, 0.001, 0.01), iface_states: bool=False, relative_log_variables: bool=False, rhs_regularization: RHSRegularization | None=None","declared_return":"SteadyStateResult","callable_id":"python-cbad1107542f737b","evidence_level":"source_static"}, +{"id":"experiment-ded0cdfd37fe1002","kind":"experiment_callable","current_path":"perovskite-sim/perovskite_sim/experiments/steady_state.py","route_id":"route-e968e8702b679dff","origin_key":"experiment:perovskite_sim.experiments.steady_state.solve_voc_ss","signature":"stack: DeviceStack, *, N_grid: int=30, V_lo: float=0.0, V_hi: float=1.6, tol_v: float=0.0002, iface_states: bool=False, allow_underresolved_grid: bool=False, allow_unvalidated_driver: bool=False, rhs_regularization: RHSRegularization | None=None","declared_return":"float","callable_id":"python-d28d7cf9a4e763c1","evidence_level":"source_static"}, +{"id":"experiment-db0ae95bf832243f","kind":"experiment_callable","current_path":"perovskite-sim/perovskite_sim/experiments/suns_voc.py","route_id":"route-dad900bc285405c9","origin_key":"experiment:perovskite_sim.experiments.suns_voc.run_suns_voc","signature":"stack: DeviceStack, suns_levels: Sequence[float]=DEFAULT_SUNS, N_grid: int=60, t_settle: float=0.1, rtol: float=0.0001, atol: float=1e-06, progress: ProgressCallback | None=None, experiment_protocol: ExperimentProtocol | None=None, protocol_mode: ProtocolMode='compatibility', voc_search: VocSearchProtocol | None=None","declared_return":"SunsVocResult","callable_id":"python-c1bf0dfcc099c480","evidence_level":"source_static"}, +{"id":"experiment-25bf35be6cfb7cb9","kind":"experiment_callable","current_path":"perovskite-sim/perovskite_sim/experiments/tandem_jv.py","route_id":"route-c0ff0a667c4cc9dd","origin_key":"experiment:perovskite_sim.experiments.tandem_jv.run_tandem_jv","signature":"cfg: TandemConfig, wavelengths_m: np.ndarray, spectral_flux: np.ndarray, wavelengths_nm: np.ndarray, N_grid: int=100, n_points: int=50, V_junction: float=0.0, progress: ProgressCallback | None=None","declared_return":"TandemJVResult","callable_id":"python-ba72f9f105c61c2a","evidence_level":"source_static"}, +{"id":"experiment-06dfc808cd746b55","kind":"experiment_callable","current_path":"perovskite-sim/perovskite_sim/experiments/thermal_balance.py","route_id":"route-f1a859a308a3d395","origin_key":"experiment:perovskite_sim.experiments.thermal_balance.run_lumped_thermal_transient","signature":"thermal_protocol: LumpedThermalProtocol, integration_protocol: ThermalIntegrationProtocol, *, terminal_electrical_export_W_m2: object","declared_return":"LumpedThermalTransientResult","callable_id":"python-38459a7404b39334","evidence_level":"source_static"}, +{"id":"experiment-facd10fc2e2e1c6d","kind":"experiment_callable","current_path":"perovskite-sim/perovskite_sim/experiments/thermal_balance.py","route_id":"route-f1a859a308a3d395","origin_key":"experiment:perovskite_sim.experiments.thermal_balance.solve_lumped_thermal_steady_state","signature":"protocol: LumpedThermalProtocol, *, terminal_electrical_export_W_m2: object","declared_return":"LumpedThermalSteadyStateResult","callable_id":"python-c4c911501972a261","evidence_level":"source_static"}, +{"id":"experiment-dc01ed047a39ee7c","kind":"experiment_callable","current_path":"perovskite-sim/perovskite_sim/experiments/tpv.py","route_id":"route-a09f453482a461e1","origin_key":"experiment:perovskite_sim.experiments.tpv.run_tpv","signature":"stack: DeviceStack, N_grid: int=80, delta_G_frac: float=0.05, t_pulse: float=1e-06, t_decay: float=5e-05, n_points: int=200, rtol: float=0.0001, atol: float=1e-06, progress: ProgressCallback | None=None, experiment_protocol: ExperimentProtocol | None=None, protocol_mode: ProtocolMode='compatibility', voc_search: VocSearchProtocol | None=None, max_step: float | None=None, voltage_atol: float=1e-09, max_voltage_error_V: float=1e-06, max_current_error_A_m2: float=0.05","declared_return":"TPVResult","callable_id":"python-07e5db9fb30478a0","evidence_level":"source_static"}, +{"id":"experiment-472f6c8eae927acf","kind":"experiment_callable","current_path":"perovskite-sim/perovskite_sim/experiments/trap_small_signal.py","route_id":"route-a2dac88b7495c3ed","origin_key":"experiment:perovskite_sim.experiments.trap_small_signal.run_local_trap_small_signal","signature":"kinetics: TrapReservoirKinetics, state: TrapReservoirState, operating_point: TrapDCOperatingPoint, perturbation: TrapSmallSignalPerturbation, protocol: TrapSmallSignalProtocol, *, require_certificate: bool=True","declared_return":"TrapSmallSignalResult","callable_id":"python-355b4b4ae7584a2b","evidence_level":"source_static"}, +{"id":"experiment-9a960d36087c2646","kind":"experiment_callable","current_path":"perovskite-sim/perovskite_sim/experiments/voc_t.py","route_id":"route-e0172633acf9b737","origin_key":"experiment:perovskite_sim.experiments.voc_t.run_voc_t","signature":"stack: DeviceStack, T_min: float=250.0, T_max: float=350.0, n_points: int=6, N_grid: int=60, jv_n_points: int=30, v_rate: float=1.0, V_max: float | None=None, rtol: float=0.0001, atol: float=1e-06, progress: ProgressCallback | None=None","declared_return":"VocTResult","callable_id":"python-fd753ea02137ee94","evidence_level":"source_static"}, +{"id":"experiment-eb6d533237d11167","kind":"experiment_callable","current_path":"perovskite-sim/perovskite_sim/experiments/waveform_jv.py","route_id":"route-00e5ec97ad8c8b8a","origin_key":"experiment:perovskite_sim.experiments.waveform_jv.run_waveform_jv","signature":"stack: DeviceStack, waveform: JVWaveform, *, N_grid=60, n_points=111, v_rate=0.04, V_max=1.2, illuminated=True, rtol=0.0001, atol=DEFAULT_DENSITY_ATOL_M3, save_snapshots=False, decompose_currents=False, progress=None, experiment_protocol=None, protocol_mode='compatibility'","declared_return":"WaveformJVResult","callable_id":"python-ecf61c4b86783cfa","evidence_level":"source_static"}, +{"id":"experiment-25b0a1305c41dcb4","kind":"experiment_callable","current_path":"perovskite-sim/perovskite_sim/twod/experiments/jv_sweep_2d.py","route_id":"route-3b814b18cfea71be","origin_key":"experiment:perovskite_sim.twod.experiments.jv_sweep_2d.run_jv_sweep_2d","signature":"stack: DeviceStack, microstructure: Microstructure | None=None, *, lateral_length: float, Nx: int, V_max: float, V_step: float, illuminated: bool=True, lateral_bc: Literal['periodic', 'neumann']='periodic', Ny_per_layer: int=20, settle_t: float=1e-07, progress: ProgressCallback | None=None, save_snapshots: bool=True, ion_dynamics: Literal['frozen', 'single_mobile']='frozen', interface_srh: Literal['off', 'two_sided_cross_node']='off', rtol: float=1e-06, atol: AbsoluteTolerance=1e-08, max_nfev_per_solve: int=_TWOD_RADAU_MAX_NFEV, max_bisect: int=6, ion_inventory_rtol: float=1e-09, initial_state_settle_s: float=0.001, jv_2d_protocol: JV2DProtocol | None=None, protocol_mode: ProtocolMode='compatibility'","declared_return":"JV2DResult","callable_id":"python-e039565f0e0d8729","evidence_level":"source_static"}, +{"id":"experiment-5939aecfa4284195","kind":"experiment_callable","current_path":"perovskite-sim/perovskite_sim/twod/experiments/voc_grain_sweep.py","route_id":"route-b425dc190363a785","origin_key":"experiment:perovskite_sim.twod.experiments.voc_grain_sweep.run_voc_grain_sweep","signature":"stack: DeviceStack, grain_sizes: Sequence[float], *, tau_gb: tuple[float, float]=(1e-09, 1e-09), gb_width: float=1e-08, Nx: int=10, Ny_per_layer: int=10, V_max: float=1.2, V_step: float=0.05, illuminated: bool=True, settle_t: float=0.001, progress: ProgressCallback | None=None","declared_return":"VocGrainSweepResult","callable_id":"python-5b2957298956c59e","evidence_level":"source_static"}, +{"id":"export-7eacd05ee8190ed1","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/__init__.py","route_id":"route-13365bb015203d2c","origin_key":"export:perovskite_sim.experiments.ACExcitation","qualified_name":"perovskite_sim.experiments.ACExcitation","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.protocol","callable":true}, +{"id":"export-fdc6661f6a433998","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/__init__.py","route_id":"route-13365bb015203d2c","origin_key":"export:perovskite_sim.experiments.ALLOWED_TIME_STEP_REFINEMENT_FACTORS","qualified_name":"perovskite_sim.experiments.ALLOWED_TIME_STEP_REFINEMENT_FACTORS","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-3748ee06696a2a8a","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/__init__.py","route_id":"route-13365bb015203d2c","origin_key":"export:perovskite_sim.experiments.DCSettleCriterion","qualified_name":"perovskite_sim.experiments.DCSettleCriterion","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.protocol","callable":true}, +{"id":"export-cd7ce78ec8862d77","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/__init__.py","route_id":"route-13365bb015203d2c","origin_key":"export:perovskite_sim.experiments.DYNAMIC_DEFECT_IMPEDANCE_METHOD","qualified_name":"perovskite_sim.experiments.DYNAMIC_DEFECT_IMPEDANCE_METHOD","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-cf3d0768e304508e","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/__init__.py","route_id":"route-13365bb015203d2c","origin_key":"export:perovskite_sim.experiments.DYNAMIC_DEFECT_TRANSIENT_CAPABILITY","qualified_name":"perovskite_sim.experiments.DYNAMIC_DEFECT_TRANSIENT_CAPABILITY","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-fffd9271898f338f","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/__init__.py","route_id":"route-13365bb015203d2c","origin_key":"export:perovskite_sim.experiments.DYNAMIC_DEFECT_TRANSIENT_METHOD","qualified_name":"perovskite_sim.experiments.DYNAMIC_DEFECT_TRANSIENT_METHOD","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-d1ddf6e6fddd509e","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/__init__.py","route_id":"route-13365bb015203d2c","origin_key":"export:perovskite_sim.experiments.DynamicDefectImpedanceCapabilityError","qualified_name":"perovskite_sim.experiments.DynamicDefectImpedanceCapabilityError","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.dynamic_defect_impedance","callable":true}, +{"id":"export-c5c7d61627099e52","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/__init__.py","route_id":"route-13365bb015203d2c","origin_key":"export:perovskite_sim.experiments.DynamicDefectImpedanceCertificationError","qualified_name":"perovskite_sim.experiments.DynamicDefectImpedanceCertificationError","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.dynamic_defect_impedance","callable":true}, +{"id":"export-37ff083b7274d22f","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/__init__.py","route_id":"route-13365bb015203d2c","origin_key":"export:perovskite_sim.experiments.DynamicDefectImpedanceEvidence","qualified_name":"perovskite_sim.experiments.DynamicDefectImpedanceEvidence","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.dynamic_defect_impedance","callable":true}, +{"id":"export-75d67052eb1fc302","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/__init__.py","route_id":"route-13365bb015203d2c","origin_key":"export:perovskite_sim.experiments.DynamicDefectImpedanceGates","qualified_name":"perovskite_sim.experiments.DynamicDefectImpedanceGates","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.dynamic_defect_impedance","callable":true}, +{"id":"export-9acab16f8c968b66","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/__init__.py","route_id":"route-13365bb015203d2c","origin_key":"export:perovskite_sim.experiments.DynamicDefectImpedanceProtocol","qualified_name":"perovskite_sim.experiments.DynamicDefectImpedanceProtocol","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.dynamic_defect_impedance","callable":true}, +{"id":"export-1e8c39a3181026c0","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/__init__.py","route_id":"route-13365bb015203d2c","origin_key":"export:perovskite_sim.experiments.DynamicDefectImpedanceProtocolError","qualified_name":"perovskite_sim.experiments.DynamicDefectImpedanceProtocolError","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.dynamic_defect_impedance","callable":true}, +{"id":"export-28a2e1528d40d90b","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/__init__.py","route_id":"route-13365bb015203d2c","origin_key":"export:perovskite_sim.experiments.DynamicDefectProductionResult","qualified_name":"perovskite_sim.experiments.DynamicDefectProductionResult","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.dynamic_defect_impedance","callable":true}, +{"id":"export-9ebdb5fb266a9773","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/__init__.py","route_id":"route-13365bb015203d2c","origin_key":"export:perovskite_sim.experiments.DynamicDefectTransientCapabilityError","qualified_name":"perovskite_sim.experiments.DynamicDefectTransientCapabilityError","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.dynamic_defect_transient","callable":true}, +{"id":"export-9bd21f89b3eb4a58","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/__init__.py","route_id":"route-13365bb015203d2c","origin_key":"export:perovskite_sim.experiments.DynamicDefectTransientCertificationError","qualified_name":"perovskite_sim.experiments.DynamicDefectTransientCertificationError","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.dynamic_defect_transient","callable":true}, +{"id":"export-daa20a0256b18dec","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/__init__.py","route_id":"route-13365bb015203d2c","origin_key":"export:perovskite_sim.experiments.DynamicDefectTransientEvidence","qualified_name":"perovskite_sim.experiments.DynamicDefectTransientEvidence","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.dynamic_defect_transient","callable":true}, +{"id":"export-c04ea77749ae2d89","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/__init__.py","route_id":"route-13365bb015203d2c","origin_key":"export:perovskite_sim.experiments.DynamicDefectTransientProductionResult","qualified_name":"perovskite_sim.experiments.DynamicDefectTransientProductionResult","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.dynamic_defect_transient","callable":true}, +{"id":"export-775bbd711a7d8e94","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/__init__.py","route_id":"route-13365bb015203d2c","origin_key":"export:perovskite_sim.experiments.DynamicDefectTransientProtocol","qualified_name":"perovskite_sim.experiments.DynamicDefectTransientProtocol","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.dynamic_defect_transient","callable":true}, +{"id":"export-85ba1b0783fb8354","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/__init__.py","route_id":"route-13365bb015203d2c","origin_key":"export:perovskite_sim.experiments.DynamicDefectTransientProtocolError","qualified_name":"perovskite_sim.experiments.DynamicDefectTransientProtocolError","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.dynamic_defect_transient","callable":true}, +{"id":"export-52aff7e5604dae69","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/__init__.py","route_id":"route-13365bb015203d2c","origin_key":"export:perovskite_sim.experiments.ElectrothermalCapabilityError","qualified_name":"perovskite_sim.experiments.ElectrothermalCapabilityError","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.electrothermal","callable":true}, +{"id":"export-86252722451f209b","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/__init__.py","route_id":"route-13365bb015203d2c","origin_key":"export:perovskite_sim.experiments.ElectrothermalConvergenceError","qualified_name":"perovskite_sim.experiments.ElectrothermalConvergenceError","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.electrothermal","callable":true}, +{"id":"export-a4e0e9ed0c310da4","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/__init__.py","route_id":"route-13365bb015203d2c","origin_key":"export:perovskite_sim.experiments.ElectrothermalError","qualified_name":"perovskite_sim.experiments.ElectrothermalError","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.electrothermal","callable":true}, +{"id":"export-db731cca0bb325c1","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/__init__.py","route_id":"route-13365bb015203d2c","origin_key":"export:perovskite_sim.experiments.ElectrothermalJVProtocol","qualified_name":"perovskite_sim.experiments.ElectrothermalJVProtocol","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.electrothermal","callable":true}, +{"id":"export-8f7f81037db222f1","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/__init__.py","route_id":"route-13365bb015203d2c","origin_key":"export:perovskite_sim.experiments.ElectrothermalOperatingPointProtocol","qualified_name":"perovskite_sim.experiments.ElectrothermalOperatingPointProtocol","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.electrothermal","callable":true}, +{"id":"export-96e6a8e5ecda3f9f","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/__init__.py","route_id":"route-13365bb015203d2c","origin_key":"export:perovskite_sim.experiments.ElectrothermalOperatingPointResult","qualified_name":"perovskite_sim.experiments.ElectrothermalOperatingPointResult","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.electrothermal","callable":true}, +{"id":"export-b3f7a116320a90da","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/__init__.py","route_id":"route-13365bb015203d2c","origin_key":"export:perovskite_sim.experiments.ElectrothermalSourceError","qualified_name":"perovskite_sim.experiments.ElectrothermalSourceError","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.electrothermal","callable":true}, +{"id":"export-d9c81dba5ba392c5","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/__init__.py","route_id":"route-13365bb015203d2c","origin_key":"export:perovskite_sim.experiments.ElectrothermalTemperatureEvaluation","qualified_name":"perovskite_sim.experiments.ElectrothermalTemperatureEvaluation","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.electrothermal","callable":true}, +{"id":"export-44885ba892ae722f","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/__init__.py","route_id":"route-13365bb015203d2c","origin_key":"export:perovskite_sim.experiments.ExperimentProtocol","qualified_name":"perovskite_sim.experiments.ExperimentProtocol","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.protocol","callable":true}, +{"id":"export-fb0650f3b718da68","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/__init__.py","route_id":"route-13365bb015203d2c","origin_key":"export:perovskite_sim.experiments.ExperimentProtocolError","qualified_name":"perovskite_sim.experiments.ExperimentProtocolError","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.protocol","callable":true}, +{"id":"export-2c271660e0510afa","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/__init__.py","route_id":"route-13365bb015203d2c","origin_key":"export:perovskite_sim.experiments.ExternalCircuitBranch","qualified_name":"perovskite_sim.experiments.ExternalCircuitBranch","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.external_circuit","callable":true}, +{"id":"export-aed48be33208f1e8","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/__init__.py","route_id":"route-13365bb015203d2c","origin_key":"export:perovskite_sim.experiments.ExternalCircuitError","qualified_name":"perovskite_sim.experiments.ExternalCircuitError","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.external_circuit","callable":true}, +{"id":"export-aebc85903c65e8d4","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/__init__.py","route_id":"route-13365bb015203d2c","origin_key":"export:perovskite_sim.experiments.ExternalCircuitJVResult","qualified_name":"perovskite_sim.experiments.ExternalCircuitJVResult","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.external_circuit","callable":true}, +{"id":"export-2138155572f2a104","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/__init__.py","route_id":"route-13365bb015203d2c","origin_key":"export:perovskite_sim.experiments.ExternalCircuitProtocol","qualified_name":"perovskite_sim.experiments.ExternalCircuitProtocol","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.external_circuit","callable":true}, +{"id":"export-dfe07803d28a6737","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/__init__.py","route_id":"route-13365bb015203d2c","origin_key":"export:perovskite_sim.experiments.ExternalCircuitSourceError","qualified_name":"perovskite_sim.experiments.ExternalCircuitSourceError","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.external_circuit","callable":true}, +{"id":"export-1105a71e3283f28f","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/__init__.py","route_id":"route-13365bb015203d2c","origin_key":"export:perovskite_sim.experiments.ExternalCircuitTopologyError","qualified_name":"perovskite_sim.experiments.ExternalCircuitTopologyError","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.external_circuit","callable":true}, +{"id":"export-77f6c69ba54cf63a","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/__init__.py","route_id":"route-13365bb015203d2c","origin_key":"export:perovskite_sim.experiments.INTERFACE_CHARGE_JV_CAPABILITY","qualified_name":"perovskite_sim.experiments.INTERFACE_CHARGE_JV_CAPABILITY","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-e2bf7f2dc92318c5","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/__init__.py","route_id":"route-13365bb015203d2c","origin_key":"export:perovskite_sim.experiments.INTERFACE_CHARGE_JV_EVIDENCE_MODEL","qualified_name":"perovskite_sim.experiments.INTERFACE_CHARGE_JV_EVIDENCE_MODEL","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-5ea0d7a3cb23ee27","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/__init__.py","route_id":"route-13365bb015203d2c","origin_key":"export:perovskite_sim.experiments.INTERFACE_CHARGE_JV_PROTOCOL_SCHEMA","qualified_name":"perovskite_sim.experiments.INTERFACE_CHARGE_JV_PROTOCOL_SCHEMA","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-351bcef660d527e8","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/__init__.py","route_id":"route-13365bb015203d2c","origin_key":"export:perovskite_sim.experiments.IdentifiabilityError","qualified_name":"perovskite_sim.experiments.IdentifiabilityError","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.identifiability","callable":true}, +{"id":"export-1497f2ab688fc4c6","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/__init__.py","route_id":"route-13365bb015203d2c","origin_key":"export:perovskite_sim.experiments.IdentifiabilityFitAttempt","qualified_name":"perovskite_sim.experiments.IdentifiabilityFitAttempt","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.identifiability","callable":true}, +{"id":"export-07ced50ac6ec496d","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/__init__.py","route_id":"route-13365bb015203d2c","origin_key":"export:perovskite_sim.experiments.IdentifiabilityForwardError","qualified_name":"perovskite_sim.experiments.IdentifiabilityForwardError","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.identifiability","callable":true}, +{"id":"export-e17c2878160f9a5d","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/__init__.py","route_id":"route-13365bb015203d2c","origin_key":"export:perovskite_sim.experiments.IdentifiabilityParameter","qualified_name":"perovskite_sim.experiments.IdentifiabilityParameter","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.identifiability","callable":true}, +{"id":"export-f9ce74c5429eb96b","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/__init__.py","route_id":"route-13365bb015203d2c","origin_key":"export:perovskite_sim.experiments.IdentifiabilityProfile","qualified_name":"perovskite_sim.experiments.IdentifiabilityProfile","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.identifiability","callable":true}, +{"id":"export-30af26363874c7cb","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/__init__.py","route_id":"route-13365bb015203d2c","origin_key":"export:perovskite_sim.experiments.IlluminationStep","qualified_name":"perovskite_sim.experiments.IlluminationStep","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.protocol","callable":true}, +{"id":"export-779771a1f77c59eb","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/__init__.py","route_id":"route-13365bb015203d2c","origin_key":"export:perovskite_sim.experiments.ImplicitProtocolError","qualified_name":"perovskite_sim.experiments.ImplicitProtocolError","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.protocol","callable":true}, +{"id":"export-819b4d675ea3dc27","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/__init__.py","route_id":"route-13365bb015203d2c","origin_key":"export:perovskite_sim.experiments.InterfaceCarrierCondition","qualified_name":"perovskite_sim.experiments.InterfaceCarrierCondition","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.identifiability","callable":true}, +{"id":"export-c89b5a19b7b4141c","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/__init__.py","route_id":"route-13365bb015203d2c","origin_key":"export:perovskite_sim.experiments.InterfaceChargeJVAcceptance","qualified_name":"perovskite_sim.experiments.InterfaceChargeJVAcceptance","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.interface_charge_jv","callable":true}, +{"id":"export-d9f2dbe318c6bf88","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/__init__.py","route_id":"route-13365bb015203d2c","origin_key":"export:perovskite_sim.experiments.InterfaceChargeJVCertificationError","qualified_name":"perovskite_sim.experiments.InterfaceChargeJVCertificationError","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.interface_charge_jv","callable":true}, +{"id":"export-b9d183750c629ac4","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/__init__.py","route_id":"route-13365bb015203d2c","origin_key":"export:perovskite_sim.experiments.InterfaceChargeJVEvidence","qualified_name":"perovskite_sim.experiments.InterfaceChargeJVEvidence","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.interface_charge_jv","callable":true}, +{"id":"export-e78f2efc754caf49","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/__init__.py","route_id":"route-13365bb015203d2c","origin_key":"export:perovskite_sim.experiments.InterfaceChargeJVExecution","qualified_name":"perovskite_sim.experiments.InterfaceChargeJVExecution","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.interface_charge_jv","callable":true}, +{"id":"export-da08039f1dc51469","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/__init__.py","route_id":"route-13365bb015203d2c","origin_key":"export:perovskite_sim.experiments.InterfaceChargeJVPointEvidence","qualified_name":"perovskite_sim.experiments.InterfaceChargeJVPointEvidence","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.interface_charge_jv","callable":true}, +{"id":"export-aede417391ac0d51","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/__init__.py","route_id":"route-13365bb015203d2c","origin_key":"export:perovskite_sim.experiments.InterfaceChargeJVProtocol","qualified_name":"perovskite_sim.experiments.InterfaceChargeJVProtocol","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.interface_charge_jv","callable":true}, +{"id":"export-38e8c32821d12220","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/__init__.py","route_id":"route-13365bb015203d2c","origin_key":"export:perovskite_sim.experiments.InterfaceChargeJVProtocolError","qualified_name":"perovskite_sim.experiments.InterfaceChargeJVProtocolError","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.interface_charge_jv","callable":true}, +{"id":"export-43e408814358f93d","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/__init__.py","route_id":"route-13365bb015203d2c","origin_key":"export:perovskite_sim.experiments.InterfaceChargeJVSolverControls","qualified_name":"perovskite_sim.experiments.InterfaceChargeJVSolverControls","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.interface_charge_jv","callable":true}, +{"id":"export-104692de5f1c1ee6","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/__init__.py","route_id":"route-13365bb015203d2c","origin_key":"export:perovskite_sim.experiments.InterfaceSRHIdentifiabilityProtocol","qualified_name":"perovskite_sim.experiments.InterfaceSRHIdentifiabilityProtocol","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.identifiability","callable":true}, +{"id":"export-5b83ac11659ffb22","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/__init__.py","route_id":"route-13365bb015203d2c","origin_key":"export:perovskite_sim.experiments.InterfaceSRHIdentifiabilityResult","qualified_name":"perovskite_sim.experiments.InterfaceSRHIdentifiabilityResult","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.identifiability","callable":true}, +{"id":"export-e72ec750ff90ca0d","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/__init__.py","route_id":"route-13365bb015203d2c","origin_key":"export:perovskite_sim.experiments.IonAwareDCCapabilityError","qualified_name":"perovskite_sim.experiments.IonAwareDCCapabilityError","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.ion_aware_dc","callable":true}, +{"id":"export-3bfc48ba5ef7e823","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/__init__.py","route_id":"route-13365bb015203d2c","origin_key":"export:perovskite_sim.experiments.IonAwareDCCertificationError","qualified_name":"perovskite_sim.experiments.IonAwareDCCertificationError","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.ion_aware_dc","callable":true}, +{"id":"export-316f0ce2155328e6","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/__init__.py","route_id":"route-13365bb015203d2c","origin_key":"export:perovskite_sim.experiments.IonAwareDCProtocol","qualified_name":"perovskite_sim.experiments.IonAwareDCProtocol","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.ion_aware_dc","callable":true}, +{"id":"export-8820c29b28e7e62a","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/__init__.py","route_id":"route-13365bb015203d2c","origin_key":"export:perovskite_sim.experiments.IonAwareDCResult","qualified_name":"perovskite_sim.experiments.IonAwareDCResult","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.ion_aware_dc","callable":true}, +{"id":"export-814cb36524bd6f39","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/__init__.py","route_id":"route-13365bb015203d2c","origin_key":"export:perovskite_sim.experiments.IonAwareDCSolverError","qualified_name":"perovskite_sim.experiments.IonAwareDCSolverError","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.ion_aware_dc","callable":true}, +{"id":"export-3709e1a626cadc2a","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/__init__.py","route_id":"route-13365bb015203d2c","origin_key":"export:perovskite_sim.experiments.IonAwareImpedanceCapabilityError","qualified_name":"perovskite_sim.experiments.IonAwareImpedanceCapabilityError","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.ion_aware_impedance","callable":true}, +{"id":"export-a2175c344e417289","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/__init__.py","route_id":"route-13365bb015203d2c","origin_key":"export:perovskite_sim.experiments.IonAwareImpedanceCertificate","qualified_name":"perovskite_sim.experiments.IonAwareImpedanceCertificate","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.ion_aware_impedance","callable":true}, +{"id":"export-17e4fa753f131de0","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/__init__.py","route_id":"route-13365bb015203d2c","origin_key":"export:perovskite_sim.experiments.IonAwareImpedanceCertificationError","qualified_name":"perovskite_sim.experiments.IonAwareImpedanceCertificationError","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.ion_aware_impedance","callable":true}, +{"id":"export-7bf756ec5143d8aa","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/__init__.py","route_id":"route-13365bb015203d2c","origin_key":"export:perovskite_sim.experiments.IonAwareImpedanceError","qualified_name":"perovskite_sim.experiments.IonAwareImpedanceError","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.ion_aware_impedance","callable":true}, +{"id":"export-83368830e2e232c8","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/__init__.py","route_id":"route-13365bb015203d2c","origin_key":"export:perovskite_sim.experiments.IonAwareImpedanceProtocol","qualified_name":"perovskite_sim.experiments.IonAwareImpedanceProtocol","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.ion_aware_impedance","callable":true}, +{"id":"export-1c02242700d16ce0","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/__init__.py","route_id":"route-13365bb015203d2c","origin_key":"export:perovskite_sim.experiments.IonAwareImpedanceResult","qualified_name":"perovskite_sim.experiments.IonAwareImpedanceResult","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.ion_aware_impedance","callable":true}, +{"id":"export-24a057843fea88bd","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/__init__.py","route_id":"route-13365bb015203d2c","origin_key":"export:perovskite_sim.experiments.IonAwareStructuredJacobianCapabilityError","qualified_name":"perovskite_sim.experiments.IonAwareStructuredJacobianCapabilityError","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.ion_aware_structured_jacobian","callable":true}, +{"id":"export-4149bc5eac918547","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/__init__.py","route_id":"route-13365bb015203d2c","origin_key":"export:perovskite_sim.experiments.IonAwareStructuredJacobianCertificate","qualified_name":"perovskite_sim.experiments.IonAwareStructuredJacobianCertificate","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.ion_aware_structured_jacobian","callable":true}, +{"id":"export-140b17e296f1f046","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/__init__.py","route_id":"route-13365bb015203d2c","origin_key":"export:perovskite_sim.experiments.IonAwareStructuredJacobianCertificationError","qualified_name":"perovskite_sim.experiments.IonAwareStructuredJacobianCertificationError","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.ion_aware_structured_jacobian","callable":true}, +{"id":"export-34391767c00092f5","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/__init__.py","route_id":"route-13365bb015203d2c","origin_key":"export:perovskite_sim.experiments.IonAwareStructuredJacobianProtocol","qualified_name":"perovskite_sim.experiments.IonAwareStructuredJacobianProtocol","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.ion_aware_structured_jacobian","callable":true}, +{"id":"export-8ba768f56fda3d1a","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/__init__.py","route_id":"route-13365bb015203d2c","origin_key":"export:perovskite_sim.experiments.IonAwareStructuredJacobianResult","qualified_name":"perovskite_sim.experiments.IonAwareStructuredJacobianResult","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.ion_aware_structured_jacobian","callable":true}, +{"id":"export-f4cc4ef0fcf3f1e9","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/__init__.py","route_id":"route-13365bb015203d2c","origin_key":"export:perovskite_sim.experiments.LumpedThermalProtocol","qualified_name":"perovskite_sim.experiments.LumpedThermalProtocol","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.thermal_balance","callable":true}, +{"id":"export-7c829d6d39cec415","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/__init__.py","route_id":"route-13365bb015203d2c","origin_key":"export:perovskite_sim.experiments.LumpedThermalSteadyStateResult","qualified_name":"perovskite_sim.experiments.LumpedThermalSteadyStateResult","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.thermal_balance","callable":true}, +{"id":"export-19a23977126de3ca","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/__init__.py","route_id":"route-13365bb015203d2c","origin_key":"export:perovskite_sim.experiments.LumpedThermalTransientResult","qualified_name":"perovskite_sim.experiments.LumpedThermalTransientResult","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.thermal_balance","callable":true}, +{"id":"export-b82f0341c5e7e59b","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/__init__.py","route_id":"route-13365bb015203d2c","origin_key":"export:perovskite_sim.experiments.ProtocolMismatchError","qualified_name":"perovskite_sim.experiments.ProtocolMismatchError","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.protocol","callable":true}, +{"id":"export-4fe7b19985f93c01","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/__init__.py","route_id":"route-13365bb015203d2c","origin_key":"export:perovskite_sim.experiments.ProtocolMode","qualified_name":"perovskite_sim.experiments.ProtocolMode","evidence_level":"cold_attribute_resolution","resolved_origin":"typing","callable":true}, +{"id":"export-58d2cd95ac081c80","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/__init__.py","route_id":"route-13365bb015203d2c","origin_key":"export:perovskite_sim.experiments.SamplingProtocol","qualified_name":"perovskite_sim.experiments.SamplingProtocol","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.protocol","callable":true}, +{"id":"export-eace5d1aaacc444c","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/__init__.py","route_id":"route-13365bb015203d2c","origin_key":"export:perovskite_sim.experiments.ScanProtocol","qualified_name":"perovskite_sim.experiments.ScanProtocol","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.protocol","callable":true}, +{"id":"export-241bc422a1fd43f8","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/__init__.py","route_id":"route-13365bb015203d2c","origin_key":"export:perovskite_sim.experiments.TandemJVResult","qualified_name":"perovskite_sim.experiments.TandemJVResult","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.tandem_jv","callable":true}, +{"id":"export-73c623971dca7280","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/__init__.py","route_id":"route-13365bb015203d2c","origin_key":"export:perovskite_sim.experiments.ThermalBalanceError","qualified_name":"perovskite_sim.experiments.ThermalBalanceError","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.thermal_balance","callable":true}, +{"id":"export-bdfd80204884ab47","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/__init__.py","route_id":"route-13365bb015203d2c","origin_key":"export:perovskite_sim.experiments.ThermalEnergySourceError","qualified_name":"perovskite_sim.experiments.ThermalEnergySourceError","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.thermal_balance","callable":true}, +{"id":"export-e7c6384cf765df76","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/__init__.py","route_id":"route-13365bb015203d2c","origin_key":"export:perovskite_sim.experiments.ThermalIntegrationProtocol","qualified_name":"perovskite_sim.experiments.ThermalIntegrationProtocol","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.thermal_balance","callable":true}, +{"id":"export-fed7ecd849c98561","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/__init__.py","route_id":"route-13365bb015203d2c","origin_key":"export:perovskite_sim.experiments.ThermalPowerLedger","qualified_name":"perovskite_sim.experiments.ThermalPowerLedger","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.thermal_balance","callable":true}, +{"id":"export-2c10f9e35cf41102","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/__init__.py","route_id":"route-13365bb015203d2c","origin_key":"export:perovskite_sim.experiments.ThermalSteadyStateError","qualified_name":"perovskite_sim.experiments.ThermalSteadyStateError","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.thermal_balance","callable":true}, +{"id":"export-63d9d4af5c77fc6d","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/__init__.py","route_id":"route-13365bb015203d2c","origin_key":"export:perovskite_sim.experiments.ThermalTransientError","qualified_name":"perovskite_sim.experiments.ThermalTransientError","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.thermal_balance","callable":true}, +{"id":"export-2abc3c34220a93b9","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/__init__.py","route_id":"route-13365bb015203d2c","origin_key":"export:perovskite_sim.experiments.VocSearchProtocol","qualified_name":"perovskite_sim.experiments.VocSearchProtocol","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.protocol","callable":true}, +{"id":"export-7fecaddc05f66346","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/__init__.py","route_id":"route-13365bb015203d2c","origin_key":"export:perovskite_sim.experiments.apply_external_circuit","qualified_name":"perovskite_sim.experiments.apply_external_circuit","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.external_circuit","callable":true}, +{"id":"export-1ae96bf5723c369f","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/__init__.py","route_id":"route-13365bb015203d2c","origin_key":"export:perovskite_sim.experiments.assess_ion_aware_dc_state","qualified_name":"perovskite_sim.experiments.assess_ion_aware_dc_state","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.ion_aware_dc","callable":true}, +{"id":"export-3a927b9cefb068bf","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/__init__.py","route_id":"route-13365bb015203d2c","origin_key":"export:perovskite_sim.experiments.build_dynamic_defect_impedance_protocol","qualified_name":"perovskite_sim.experiments.build_dynamic_defect_impedance_protocol","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.dynamic_defect_impedance","callable":true}, +{"id":"export-14df6796d4fb467b","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/__init__.py","route_id":"route-13365bb015203d2c","origin_key":"export:perovskite_sim.experiments.build_dynamic_defect_transient_protocol","qualified_name":"perovskite_sim.experiments.build_dynamic_defect_transient_protocol","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.dynamic_defect_transient","callable":true}, +{"id":"export-e80f55b35434a82d","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/__init__.py","route_id":"route-13365bb015203d2c","origin_key":"export:perovskite_sim.experiments.build_interface_charge_jv_protocol","qualified_name":"perovskite_sim.experiments.build_interface_charge_jv_protocol","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.interface_charge_jv","callable":true}, +{"id":"export-732ee06aa302972f","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/__init__.py","route_id":"route-13365bb015203d2c","origin_key":"export:perovskite_sim.experiments.build_interface_srh_identifiability_protocol","qualified_name":"perovskite_sim.experiments.build_interface_srh_identifiability_protocol","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.identifiability","callable":true}, +{"id":"export-4db3c69fee5e84b5","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/__init__.py","route_id":"route-13365bb015203d2c","origin_key":"export:perovskite_sim.experiments.build_ion_aware_dc_protocol","qualified_name":"perovskite_sim.experiments.build_ion_aware_dc_protocol","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.ion_aware_dc","callable":true}, +{"id":"export-c75b4e7f1174e4fd","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/__init__.py","route_id":"route-13365bb015203d2c","origin_key":"export:perovskite_sim.experiments.build_ion_aware_impedance_protocol","qualified_name":"perovskite_sim.experiments.build_ion_aware_impedance_protocol","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.ion_aware_impedance","callable":true}, +{"id":"export-5e2f8246feaa20a1","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/__init__.py","route_id":"route-13365bb015203d2c","origin_key":"export:perovskite_sim.experiments.build_ion_aware_structured_jacobian_protocol","qualified_name":"perovskite_sim.experiments.build_ion_aware_structured_jacobian_protocol","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.ion_aware_structured_jacobian","callable":true}, +{"id":"export-b3065a89804aba8a","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/bulk_defect_ion_transient.py","route_id":"route-6099117639558322","origin_key":"export:perovskite_sim.experiments.bulk_defect_ion_transient.BULK_DEFECT_ION_TRANSIENT_SCOPE","qualified_name":"perovskite_sim.experiments.bulk_defect_ion_transient.BULK_DEFECT_ION_TRANSIENT_SCOPE","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-661be67656fe0ba5","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/bulk_defect_ion_transient.py","route_id":"route-6099117639558322","origin_key":"export:perovskite_sim.experiments.bulk_defect_ion_transient.BULK_DEFECT_ION_TRANSIENT_VERSION","qualified_name":"perovskite_sim.experiments.bulk_defect_ion_transient.BULK_DEFECT_ION_TRANSIENT_VERSION","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-8fee31297a06eaae","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/bulk_defect_ion_transient.py","route_id":"route-6099117639558322","origin_key":"export:perovskite_sim.experiments.bulk_defect_ion_transient.BulkDefectIonTransientCertificate","qualified_name":"perovskite_sim.experiments.bulk_defect_ion_transient.BulkDefectIonTransientCertificate","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.bulk_defect_ion_transient","callable":true}, +{"id":"export-2da4aa6c9b4779eb","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/bulk_defect_ion_transient.py","route_id":"route-6099117639558322","origin_key":"export:perovskite_sim.experiments.bulk_defect_ion_transient.BulkDefectIonTransientCertificationError","qualified_name":"perovskite_sim.experiments.bulk_defect_ion_transient.BulkDefectIonTransientCertificationError","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.bulk_defect_ion_transient","callable":true}, +{"id":"export-f352f5ecde5c2f40","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/bulk_defect_ion_transient.py","route_id":"route-6099117639558322","origin_key":"export:perovskite_sim.experiments.bulk_defect_ion_transient.BulkDefectIonTransientError","qualified_name":"perovskite_sim.experiments.bulk_defect_ion_transient.BulkDefectIonTransientError","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.bulk_defect_ion_transient","callable":true}, +{"id":"export-b1b530bd028d9ec0","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/bulk_defect_ion_transient.py","route_id":"route-6099117639558322","origin_key":"export:perovskite_sim.experiments.bulk_defect_ion_transient.BulkDefectIonTransientPolicy","qualified_name":"perovskite_sim.experiments.bulk_defect_ion_transient.BulkDefectIonTransientPolicy","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.bulk_defect_ion_transient","callable":true}, +{"id":"export-1392860c2b8dd7d4","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/bulk_defect_ion_transient.py","route_id":"route-6099117639558322","origin_key":"export:perovskite_sim.experiments.bulk_defect_ion_transient.BulkDefectIonTransientResult","qualified_name":"perovskite_sim.experiments.bulk_defect_ion_transient.BulkDefectIonTransientResult","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.bulk_defect_ion_transient","callable":true}, +{"id":"export-d0b812e832d5895c","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/bulk_defect_ion_transient.py","route_id":"route-6099117639558322","origin_key":"export:perovskite_sim.experiments.bulk_defect_ion_transient.run_bulk_defect_ion_device_transient","qualified_name":"perovskite_sim.experiments.bulk_defect_ion_transient.run_bulk_defect_ion_device_transient","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.bulk_defect_ion_transient","callable":true}, +{"id":"export-586bc4716a40423d","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/bulk_defect_transient.py","route_id":"route-7fdd0a08afe81954","origin_key":"export:perovskite_sim.experiments.bulk_defect_transient.BULK_DEFECT_TRANSIENT_SCOPE","qualified_name":"perovskite_sim.experiments.bulk_defect_transient.BULK_DEFECT_TRANSIENT_SCOPE","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-43f019a4e2fd70aa","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/bulk_defect_transient.py","route_id":"route-7fdd0a08afe81954","origin_key":"export:perovskite_sim.experiments.bulk_defect_transient.BULK_DEFECT_TRANSIENT_VERSION","qualified_name":"perovskite_sim.experiments.bulk_defect_transient.BULK_DEFECT_TRANSIENT_VERSION","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-4862187def795e30","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/bulk_defect_transient.py","route_id":"route-7fdd0a08afe81954","origin_key":"export:perovskite_sim.experiments.bulk_defect_transient.BulkDefectTransientCertificate","qualified_name":"perovskite_sim.experiments.bulk_defect_transient.BulkDefectTransientCertificate","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.bulk_defect_transient","callable":true}, +{"id":"export-8603c91642c728d1","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/bulk_defect_transient.py","route_id":"route-7fdd0a08afe81954","origin_key":"export:perovskite_sim.experiments.bulk_defect_transient.BulkDefectTransientCertificationError","qualified_name":"perovskite_sim.experiments.bulk_defect_transient.BulkDefectTransientCertificationError","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.bulk_defect_transient","callable":true}, +{"id":"export-86556533bddeaa67","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/bulk_defect_transient.py","route_id":"route-7fdd0a08afe81954","origin_key":"export:perovskite_sim.experiments.bulk_defect_transient.BulkDefectTransientError","qualified_name":"perovskite_sim.experiments.bulk_defect_transient.BulkDefectTransientError","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.bulk_defect_transient","callable":true}, +{"id":"export-c093049a6b0eb565","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/bulk_defect_transient.py","route_id":"route-7fdd0a08afe81954","origin_key":"export:perovskite_sim.experiments.bulk_defect_transient.BulkDefectTransientPolicy","qualified_name":"perovskite_sim.experiments.bulk_defect_transient.BulkDefectTransientPolicy","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.bulk_defect_transient","callable":true}, +{"id":"export-e77603076016befa","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/bulk_defect_transient.py","route_id":"route-7fdd0a08afe81954","origin_key":"export:perovskite_sim.experiments.bulk_defect_transient.BulkDefectTransientResult","qualified_name":"perovskite_sim.experiments.bulk_defect_transient.BulkDefectTransientResult","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.bulk_defect_transient","callable":true}, +{"id":"export-99312f3880ee1d56","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/bulk_defect_transient.py","route_id":"route-7fdd0a08afe81954","origin_key":"export:perovskite_sim.experiments.bulk_defect_transient.run_bulk_defect_device_transient","qualified_name":"perovskite_sim.experiments.bulk_defect_transient.run_bulk_defect_device_transient","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.bulk_defect_transient","callable":true}, +{"id":"export-3832049cdb80054a","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/cbo_scan.py","route_id":"route-ab8776e954576856","origin_key":"export:perovskite_sim.experiments.cbo_scan.ADAPTIVE_JV_METRICS","qualified_name":"perovskite_sim.experiments.cbo_scan.ADAPTIVE_JV_METRICS","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-862d177b794f867a","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/cbo_scan.py","route_id":"route-ab8776e954576856","origin_key":"export:perovskite_sim.experiments.cbo_scan.CBOCriticalInterval","qualified_name":"perovskite_sim.experiments.cbo_scan.CBOCriticalInterval","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.cbo_scan","callable":true}, +{"id":"export-3268992dd1c1e749","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/cbo_scan.py","route_id":"route-ab8776e954576856","origin_key":"export:perovskite_sim.experiments.cbo_scan.CBOExternalMetricCertificate","qualified_name":"perovskite_sim.experiments.cbo_scan.CBOExternalMetricCertificate","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.cbo_scan","callable":true}, +{"id":"export-49a085c3378c082c","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/cbo_scan.py","route_id":"route-ab8776e954576856","origin_key":"export:perovskite_sim.experiments.cbo_scan.CBOExternalReferenceAudit","qualified_name":"perovskite_sim.experiments.cbo_scan.CBOExternalReferenceAudit","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.cbo_scan","callable":true}, +{"id":"export-d1062ba79301366e","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/cbo_scan.py","route_id":"route-ab8776e954576856","origin_key":"export:perovskite_sim.experiments.cbo_scan.CBOExternalValidation","qualified_name":"perovskite_sim.experiments.cbo_scan.CBOExternalValidation","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.cbo_scan","callable":true}, +{"id":"export-4ba5fa1ad6fa7451","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/cbo_scan.py","route_id":"route-ab8776e954576856","origin_key":"export:perovskite_sim.experiments.cbo_scan.CBOGridConvergenceCertificate","qualified_name":"perovskite_sim.experiments.cbo_scan.CBOGridConvergenceCertificate","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.cbo_scan","callable":true}, +{"id":"export-7a4f22c26569b4a2","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/cbo_scan.py","route_id":"route-ab8776e954576856","origin_key":"export:perovskite_sim.experiments.cbo_scan.CBOJVMetricsGridSample","qualified_name":"perovskite_sim.experiments.cbo_scan.CBOJVMetricsGridSample","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.cbo_scan","callable":true}, +{"id":"export-2737e5ba1fd3533d","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/cbo_scan.py","route_id":"route-ab8776e954576856","origin_key":"export:perovskite_sim.experiments.cbo_scan.CBOMetricRefinementStep","qualified_name":"perovskite_sim.experiments.cbo_scan.CBOMetricRefinementStep","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.cbo_scan","callable":true}, +{"id":"export-c37ea10e48e3ea06","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/cbo_scan.py","route_id":"route-ab8776e954576856","origin_key":"export:perovskite_sim.experiments.cbo_scan.CBOScanPoint","qualified_name":"perovskite_sim.experiments.cbo_scan.CBOScanPoint","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.cbo_scan","callable":true}, +{"id":"export-499dac2837edb138","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/cbo_scan.py","route_id":"route-ab8776e954576856","origin_key":"export:perovskite_sim.experiments.cbo_scan.CBOScanTermination","qualified_name":"perovskite_sim.experiments.cbo_scan.CBOScanTermination","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.cbo_scan","callable":true}, +{"id":"export-95b8f07a4d0ebf01","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/cbo_scan.py","route_id":"route-ab8776e954576856","origin_key":"export:perovskite_sim.experiments.cbo_scan.CBOShortCircuitSample","qualified_name":"perovskite_sim.experiments.cbo_scan.CBOShortCircuitSample","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.cbo_scan","callable":true}, +{"id":"export-b7baad7ce077ab53","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/cbo_scan.py","route_id":"route-ab8776e954576856","origin_key":"export:perovskite_sim.experiments.cbo_scan.CBOStatisticsValidityCertificate","qualified_name":"perovskite_sim.experiments.cbo_scan.CBOStatisticsValidityCertificate","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.cbo_scan","callable":true}, +{"id":"export-de39857f0167c672","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/cbo_scan.py","route_id":"route-ab8776e954576856","origin_key":"export:perovskite_sim.experiments.cbo_scan.CBOVoltageGridConvergenceCertificate","qualified_name":"perovskite_sim.experiments.cbo_scan.CBOVoltageGridConvergenceCertificate","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.cbo_scan","callable":true}, +{"id":"export-b0e6ec6ef1f6edf3","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/cbo_scan.py","route_id":"route-ab8776e954576856","origin_key":"export:perovskite_sim.experiments.cbo_scan.CBOVoltageGridConvergencePolicy","qualified_name":"perovskite_sim.experiments.cbo_scan.CBOVoltageGridConvergencePolicy","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.cbo_scan","callable":true}, +{"id":"export-4016023979afafce","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/cbo_scan.py","route_id":"route-ab8776e954576856","origin_key":"export:perovskite_sim.experiments.cbo_scan.CBOVoltageGridPointCertificate","qualified_name":"perovskite_sim.experiments.cbo_scan.CBOVoltageGridPointCertificate","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.cbo_scan","callable":true}, +{"id":"export-687127dd1c89741c","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/cbo_scan.py","route_id":"route-ab8776e954576856","origin_key":"export:perovskite_sim.experiments.cbo_scan.CBO_BOUNDARY_POLICIES","qualified_name":"perovskite_sim.experiments.cbo_scan.CBO_BOUNDARY_POLICIES","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-9a4aff1ead4e01bd","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/cbo_scan.py","route_id":"route-ab8776e954576856","origin_key":"export:perovskite_sim.experiments.cbo_scan.FIXED_CONTACTS","qualified_name":"perovskite_sim.experiments.cbo_scan.FIXED_CONTACTS","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-b43b54ff50ce25e8","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/cbo_scan.py","route_id":"route-ab8776e954576856","origin_key":"export:perovskite_sim.experiments.cbo_scan.InterfaceCBOScanError","qualified_name":"perovskite_sim.experiments.cbo_scan.InterfaceCBOScanError","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.cbo_scan","callable":true}, +{"id":"export-fd5c206bf3dfdc99","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/cbo_scan.py","route_id":"route-ab8776e954576856","origin_key":"export:perovskite_sim.experiments.cbo_scan.InterfaceCBOScanResult","qualified_name":"perovskite_sim.experiments.cbo_scan.InterfaceCBOScanResult","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.cbo_scan","callable":true}, +{"id":"export-3bd9299740de0d31","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/cbo_scan.py","route_id":"route-ab8776e954576856","origin_key":"export:perovskite_sim.experiments.cbo_scan.RECOMPUTED_BUILT_IN","qualified_name":"perovskite_sim.experiments.cbo_scan.RECOMPUTED_BUILT_IN","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-800e920ddd1b6b4e","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/cbo_scan.py","route_id":"route-ab8776e954576856","origin_key":"export:perovskite_sim.experiments.cbo_scan.certify_cbo_grid_convergence","qualified_name":"perovskite_sim.experiments.cbo_scan.certify_cbo_grid_convergence","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.cbo_scan","callable":true}, +{"id":"export-4d2594a7a011a6c4","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/cbo_scan.py","route_id":"route-ab8776e954576856","origin_key":"export:perovskite_sim.experiments.cbo_scan.certify_cbo_statistics_validity","qualified_name":"perovskite_sim.experiments.cbo_scan.certify_cbo_statistics_validity","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.cbo_scan","callable":true}, +{"id":"export-75314f0808699a63","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/cbo_scan.py","route_id":"route-ab8776e954576856","origin_key":"export:perovskite_sim.experiments.cbo_scan.certify_cbo_voltage_grid_convergence","qualified_name":"perovskite_sim.experiments.cbo_scan.certify_cbo_voltage_grid_convergence","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.cbo_scan","callable":true}, +{"id":"export-c2e5949d6e1bc0c7","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/cbo_scan.py","route_id":"route-ab8776e954576856","origin_key":"export:perovskite_sim.experiments.cbo_scan.compare_cbo_scan_to_scaps_reference","qualified_name":"perovskite_sim.experiments.cbo_scan.compare_cbo_scan_to_scaps_reference","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.cbo_scan","callable":true}, +{"id":"export-121da2d61d6f9993","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/cbo_scan.py","route_id":"route-ab8776e954576856","origin_key":"export:perovskite_sim.experiments.cbo_scan.solve_interface_cbo_scan","qualified_name":"perovskite_sim.experiments.cbo_scan.solve_interface_cbo_scan","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.cbo_scan","callable":true}, +{"id":"export-5f6007f3a13d4f0f","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/cbo_scan.py","route_id":"route-ab8776e954576856","origin_key":"export:perovskite_sim.experiments.cbo_scan.validate_adaptive_jv_metrics","qualified_name":"perovskite_sim.experiments.cbo_scan.validate_adaptive_jv_metrics","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.cbo_scan","callable":true}, +{"id":"export-e7c6878ddedd8458","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/cbo_scan.py","route_id":"route-ab8776e954576856","origin_key":"export:perovskite_sim.experiments.cbo_scan.validate_cbo_boundary_policy","qualified_name":"perovskite_sim.experiments.cbo_scan.validate_cbo_boundary_policy","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.cbo_scan","callable":true}, +{"id":"export-8fde5352cb3bb6cd","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/__init__.py","route_id":"route-13365bb015203d2c","origin_key":"export:perovskite_sim.experiments.classify_dynamic_defect_capability","qualified_name":"perovskite_sim.experiments.classify_dynamic_defect_capability","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.dynamic_defect_impedance","callable":true}, +{"id":"export-36051c338d324c55","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/__init__.py","route_id":"route-13365bb015203d2c","origin_key":"export:perovskite_sim.experiments.classify_dynamic_defect_transient_capability","qualified_name":"perovskite_sim.experiments.classify_dynamic_defect_transient_capability","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.dynamic_defect_transient","callable":true}, +{"id":"export-3a99c8f1489c33bb","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/__init__.py","route_id":"route-13365bb015203d2c","origin_key":"export:perovskite_sim.experiments.default_dynamic_defect_transient_policy","qualified_name":"perovskite_sim.experiments.default_dynamic_defect_transient_policy","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.dynamic_defect_transient","callable":true}, +{"id":"export-d24b886331937d08","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/defect_aware_impedance.py","route_id":"route-2accc863cbfb1452","origin_key":"export:perovskite_sim.experiments.defect_aware_impedance.BULK_DEFECT_DEVICE_AC_SCOPE","qualified_name":"perovskite_sim.experiments.defect_aware_impedance.BULK_DEFECT_DEVICE_AC_SCOPE","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-00af2b2260677510","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/defect_aware_impedance.py","route_id":"route-2accc863cbfb1452","origin_key":"export:perovskite_sim.experiments.defect_aware_impedance.BULK_DEFECT_DEVICE_AC_VERSION","qualified_name":"perovskite_sim.experiments.defect_aware_impedance.BULK_DEFECT_DEVICE_AC_VERSION","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-2d75171c144a646d","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/defect_aware_impedance.py","route_id":"route-2accc863cbfb1452","origin_key":"export:perovskite_sim.experiments.defect_aware_impedance.BulkDefectDeviceACCertificate","qualified_name":"perovskite_sim.experiments.defect_aware_impedance.BulkDefectDeviceACCertificate","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.defect_aware_impedance","callable":true}, +{"id":"export-75f219c232da547f","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/defect_aware_impedance.py","route_id":"route-2accc863cbfb1452","origin_key":"export:perovskite_sim.experiments.defect_aware_impedance.BulkDefectDeviceACCertificationError","qualified_name":"perovskite_sim.experiments.defect_aware_impedance.BulkDefectDeviceACCertificationError","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.defect_aware_impedance","callable":true}, +{"id":"export-027d5e443a5613e0","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/defect_aware_impedance.py","route_id":"route-2accc863cbfb1452","origin_key":"export:perovskite_sim.experiments.defect_aware_impedance.BulkDefectDeviceACError","qualified_name":"perovskite_sim.experiments.defect_aware_impedance.BulkDefectDeviceACError","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.defect_aware_impedance","callable":true}, +{"id":"export-c6de0fa2108ddd91","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/defect_aware_impedance.py","route_id":"route-2accc863cbfb1452","origin_key":"export:perovskite_sim.experiments.defect_aware_impedance.BulkDefectDeviceACResult","qualified_name":"perovskite_sim.experiments.defect_aware_impedance.BulkDefectDeviceACResult","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.defect_aware_impedance","callable":true}, +{"id":"export-31f7c2713275ebec","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/defect_aware_impedance.py","route_id":"route-2accc863cbfb1452","origin_key":"export:perovskite_sim.experiments.defect_aware_impedance.BulkDefectFrequencyWindow","qualified_name":"perovskite_sim.experiments.defect_aware_impedance.BulkDefectFrequencyWindow","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.defect_aware_impedance","callable":true}, +{"id":"export-b4a1615842a414ee","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/defect_aware_impedance.py","route_id":"route-2accc863cbfb1452","origin_key":"export:perovskite_sim.experiments.defect_aware_impedance.DEFAULT_REFINEMENT_FACTORS","qualified_name":"perovskite_sim.experiments.defect_aware_impedance.DEFAULT_REFINEMENT_FACTORS","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-1b4d187d5a3440aa","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/defect_aware_impedance.py","route_id":"route-2accc863cbfb1452","origin_key":"export:perovskite_sim.experiments.defect_aware_impedance.run_bulk_defect_device_impedance","qualified_name":"perovskite_sim.experiments.defect_aware_impedance.run_bulk_defect_device_impedance","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.defect_aware_impedance","callable":true}, +{"id":"export-4b7d08a7b7335f07","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/defect_ion_combined_impedance.py","route_id":"route-7e52697666c1d1db","origin_key":"export:perovskite_sim.experiments.defect_ion_combined_impedance.CombinedDCCertificate","qualified_name":"perovskite_sim.experiments.defect_ion_combined_impedance.CombinedDCCertificate","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.defect_ion_combined_impedance","callable":true}, +{"id":"export-d9a4a2c61d3e3c3d","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/defect_ion_combined_impedance.py","route_id":"route-7e52697666c1d1db","origin_key":"export:perovskite_sim.experiments.defect_ion_combined_impedance.CombinedDCState","qualified_name":"perovskite_sim.experiments.defect_ion_combined_impedance.CombinedDCState","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.defect_ion_combined_impedance","callable":true}, +{"id":"export-e1679cdf3ca38ecb","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/defect_ion_combined_impedance.py","route_id":"route-7e52697666c1d1db","origin_key":"export:perovskite_sim.experiments.defect_ion_combined_impedance.CombinedFrequencyWindow","qualified_name":"perovskite_sim.experiments.defect_ion_combined_impedance.CombinedFrequencyWindow","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.defect_ion_combined_impedance","callable":true}, +{"id":"export-cfd8d569b39b0e96","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/defect_ion_combined_impedance.py","route_id":"route-7e52697666c1d1db","origin_key":"export:perovskite_sim.experiments.defect_ion_combined_impedance.CombinedIonLayout","qualified_name":"perovskite_sim.experiments.defect_ion_combined_impedance.CombinedIonLayout","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.defect_ion_combined_impedance","callable":true}, +{"id":"export-3eaa7f3be90004b3","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/defect_ion_combined_impedance.py","route_id":"route-7e52697666c1d1db","origin_key":"export:perovskite_sim.experiments.defect_ion_combined_impedance.CombinedStateLayout","qualified_name":"perovskite_sim.experiments.defect_ion_combined_impedance.CombinedStateLayout","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.defect_ion_combined_impedance","callable":true}, +{"id":"export-60d1f4360c01ada9","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/defect_ion_combined_impedance.py","route_id":"route-7e52697666c1d1db","origin_key":"export:perovskite_sim.experiments.defect_ion_combined_impedance.DEFECT_ION_COMBINED_SCOPE","qualified_name":"perovskite_sim.experiments.defect_ion_combined_impedance.DEFECT_ION_COMBINED_SCOPE","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-c24a219066600f8a","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/defect_ion_combined_impedance.py","route_id":"route-7e52697666c1d1db","origin_key":"export:perovskite_sim.experiments.defect_ion_combined_impedance.DEFECT_ION_COMBINED_VERSION","qualified_name":"perovskite_sim.experiments.defect_ion_combined_impedance.DEFECT_ION_COMBINED_VERSION","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-e8c1d4cad132397c","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/defect_ion_combined_impedance.py","route_id":"route-7e52697666c1d1db","origin_key":"export:perovskite_sim.experiments.defect_ion_combined_impedance.DefectIonCombinedCertificate","qualified_name":"perovskite_sim.experiments.defect_ion_combined_impedance.DefectIonCombinedCertificate","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.defect_ion_combined_impedance","callable":true}, +{"id":"export-4258f74712fb4212","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/defect_ion_combined_impedance.py","route_id":"route-7e52697666c1d1db","origin_key":"export:perovskite_sim.experiments.defect_ion_combined_impedance.DefectIonCombinedCertificationError","qualified_name":"perovskite_sim.experiments.defect_ion_combined_impedance.DefectIonCombinedCertificationError","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.defect_ion_combined_impedance","callable":true}, +{"id":"export-32081a8d12ab1a01","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/defect_ion_combined_impedance.py","route_id":"route-7e52697666c1d1db","origin_key":"export:perovskite_sim.experiments.defect_ion_combined_impedance.DefectIonCombinedError","qualified_name":"perovskite_sim.experiments.defect_ion_combined_impedance.DefectIonCombinedError","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.defect_ion_combined_impedance","callable":true}, +{"id":"export-3b0d67c717b3a1fc","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/defect_ion_combined_impedance.py","route_id":"route-7e52697666c1d1db","origin_key":"export:perovskite_sim.experiments.defect_ion_combined_impedance.DefectIonCombinedResult","qualified_name":"perovskite_sim.experiments.defect_ion_combined_impedance.DefectIonCombinedResult","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.defect_ion_combined_impedance","callable":true}, +{"id":"export-23bd5b25543e9d55","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/defect_ion_combined_impedance.py","route_id":"route-7e52697666c1d1db","origin_key":"export:perovskite_sim.experiments.defect_ion_combined_impedance.InterfaceCurrentObservation","qualified_name":"perovskite_sim.experiments.defect_ion_combined_impedance.InterfaceCurrentObservation","evidence_level":"cold_attribute_resolution","resolved_origin":"typing","callable":true}, +{"id":"export-8c9997a282750b7b","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/defect_ion_combined_impedance.py","route_id":"route-7e52697666c1d1db","origin_key":"export:perovskite_sim.experiments.defect_ion_combined_impedance.run_defect_ion_combined_impedance","qualified_name":"perovskite_sim.experiments.defect_ion_combined_impedance.run_defect_ion_combined_impedance","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.defect_ion_combined_impedance","callable":true}, +{"id":"export-9069c0019d7f06cf","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_impedance.py","route_id":"route-130393a19cff03be","origin_key":"export:perovskite_sim.experiments.dynamic_defect_impedance.DEFAULT_REFINEMENT_FACTORS","qualified_name":"perovskite_sim.experiments.dynamic_defect_impedance.DEFAULT_REFINEMENT_FACTORS","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-fe83531a9ef02ac2","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_impedance.py","route_id":"route-130393a19cff03be","origin_key":"export:perovskite_sim.experiments.dynamic_defect_impedance.DYNAMIC_DEFECT_IMPEDANCE_EVIDENCE","qualified_name":"perovskite_sim.experiments.dynamic_defect_impedance.DYNAMIC_DEFECT_IMPEDANCE_EVIDENCE","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-0e855cf62899c42a","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_impedance.py","route_id":"route-130393a19cff03be","origin_key":"export:perovskite_sim.experiments.dynamic_defect_impedance.DYNAMIC_DEFECT_IMPEDANCE_METHOD","qualified_name":"perovskite_sim.experiments.dynamic_defect_impedance.DYNAMIC_DEFECT_IMPEDANCE_METHOD","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-1130f9aeb5f1e543","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_impedance.py","route_id":"route-130393a19cff03be","origin_key":"export:perovskite_sim.experiments.dynamic_defect_impedance.DYNAMIC_DEFECT_IMPEDANCE_SCHEMA","qualified_name":"perovskite_sim.experiments.dynamic_defect_impedance.DYNAMIC_DEFECT_IMPEDANCE_SCHEMA","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-e4bc46e3bf047c14","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_impedance.py","route_id":"route-130393a19cff03be","origin_key":"export:perovskite_sim.experiments.dynamic_defect_impedance.DynamicDefectCapability","qualified_name":"perovskite_sim.experiments.dynamic_defect_impedance.DynamicDefectCapability","evidence_level":"cold_attribute_resolution","resolved_origin":"typing","callable":true}, +{"id":"export-acd8fd8e5b1966c9","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_impedance.py","route_id":"route-130393a19cff03be","origin_key":"export:perovskite_sim.experiments.dynamic_defect_impedance.DynamicDefectFrequencyWindowEvidence","qualified_name":"perovskite_sim.experiments.dynamic_defect_impedance.DynamicDefectFrequencyWindowEvidence","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.dynamic_defect_impedance","callable":true}, +{"id":"export-1487e6013c48a712","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_impedance.py","route_id":"route-130393a19cff03be","origin_key":"export:perovskite_sim.experiments.dynamic_defect_impedance.DynamicDefectImpedanceCapabilityError","qualified_name":"perovskite_sim.experiments.dynamic_defect_impedance.DynamicDefectImpedanceCapabilityError","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.dynamic_defect_impedance","callable":true}, +{"id":"export-0d4824a02f4f6feb","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_impedance.py","route_id":"route-130393a19cff03be","origin_key":"export:perovskite_sim.experiments.dynamic_defect_impedance.DynamicDefectImpedanceCertificationError","qualified_name":"perovskite_sim.experiments.dynamic_defect_impedance.DynamicDefectImpedanceCertificationError","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.dynamic_defect_impedance","callable":true}, +{"id":"export-0244052e46d1ad79","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_impedance.py","route_id":"route-130393a19cff03be","origin_key":"export:perovskite_sim.experiments.dynamic_defect_impedance.DynamicDefectImpedanceError","qualified_name":"perovskite_sim.experiments.dynamic_defect_impedance.DynamicDefectImpedanceError","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.dynamic_defect_impedance","callable":true}, +{"id":"export-ff937269fd4c1183","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_impedance.py","route_id":"route-130393a19cff03be","origin_key":"export:perovskite_sim.experiments.dynamic_defect_impedance.DynamicDefectImpedanceEvidence","qualified_name":"perovskite_sim.experiments.dynamic_defect_impedance.DynamicDefectImpedanceEvidence","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.dynamic_defect_impedance","callable":true}, +{"id":"export-3ea9fdcea9e58263","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_impedance.py","route_id":"route-130393a19cff03be","origin_key":"export:perovskite_sim.experiments.dynamic_defect_impedance.DynamicDefectImpedanceGates","qualified_name":"perovskite_sim.experiments.dynamic_defect_impedance.DynamicDefectImpedanceGates","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.dynamic_defect_impedance","callable":true}, +{"id":"export-17e74fd28cf5d4bf","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_impedance.py","route_id":"route-130393a19cff03be","origin_key":"export:perovskite_sim.experiments.dynamic_defect_impedance.DynamicDefectImpedanceProtocol","qualified_name":"perovskite_sim.experiments.dynamic_defect_impedance.DynamicDefectImpedanceProtocol","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.dynamic_defect_impedance","callable":true}, +{"id":"export-ed1804bae5ef433e","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_impedance.py","route_id":"route-130393a19cff03be","origin_key":"export:perovskite_sim.experiments.dynamic_defect_impedance.DynamicDefectImpedanceProtocolError","qualified_name":"perovskite_sim.experiments.dynamic_defect_impedance.DynamicDefectImpedanceProtocolError","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.dynamic_defect_impedance","callable":true}, +{"id":"export-433e722c813b1a17","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_impedance.py","route_id":"route-130393a19cff03be","origin_key":"export:perovskite_sim.experiments.dynamic_defect_impedance.DynamicDefectProductionResult","qualified_name":"perovskite_sim.experiments.dynamic_defect_impedance.DynamicDefectProductionResult","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.dynamic_defect_impedance","callable":true}, +{"id":"export-f57dcfa8873ecae0","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_impedance.py","route_id":"route-130393a19cff03be","origin_key":"export:perovskite_sim.experiments.dynamic_defect_impedance.build_dynamic_defect_impedance_protocol","qualified_name":"perovskite_sim.experiments.dynamic_defect_impedance.build_dynamic_defect_impedance_protocol","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.dynamic_defect_impedance","callable":true}, +{"id":"export-357922bc75522e83","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_impedance.py","route_id":"route-130393a19cff03be","origin_key":"export:perovskite_sim.experiments.dynamic_defect_impedance.classify_dynamic_defect_capability","qualified_name":"perovskite_sim.experiments.dynamic_defect_impedance.classify_dynamic_defect_capability","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.dynamic_defect_impedance","callable":true}, +{"id":"export-ab3a9b334d0a1101","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_impedance.py","route_id":"route-130393a19cff03be","origin_key":"export:perovskite_sim.experiments.dynamic_defect_impedance.default_dynamic_defect_impedance_gates","qualified_name":"perovskite_sim.experiments.dynamic_defect_impedance.default_dynamic_defect_impedance_gates","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.dynamic_defect_impedance","callable":true}, +{"id":"export-847cfec00259d47c","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_impedance.py","route_id":"route-130393a19cff03be","origin_key":"export:perovskite_sim.experiments.dynamic_defect_impedance.resolve_dynamic_defect_impedance_protocol","qualified_name":"perovskite_sim.experiments.dynamic_defect_impedance.resolve_dynamic_defect_impedance_protocol","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.dynamic_defect_impedance","callable":true}, +{"id":"export-cca8ae88c0f4be86","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_impedance.py","route_id":"route-130393a19cff03be","origin_key":"export:perovskite_sim.experiments.dynamic_defect_impedance.run_dynamic_defect_impedance","qualified_name":"perovskite_sim.experiments.dynamic_defect_impedance.run_dynamic_defect_impedance","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.dynamic_defect_impedance","callable":true}, +{"id":"export-f3e82a76ce33777d","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_transient.py","route_id":"route-a56ff31ad57a1f0e","origin_key":"export:perovskite_sim.experiments.dynamic_defect_transient.ALLOWED_TIME_STEP_REFINEMENT_FACTORS","qualified_name":"perovskite_sim.experiments.dynamic_defect_transient.ALLOWED_TIME_STEP_REFINEMENT_FACTORS","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-50911df6ca2a0d66","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_transient.py","route_id":"route-a56ff31ad57a1f0e","origin_key":"export:perovskite_sim.experiments.dynamic_defect_transient.DYNAMIC_DEFECT_TRANSIENT_CAPABILITY","qualified_name":"perovskite_sim.experiments.dynamic_defect_transient.DYNAMIC_DEFECT_TRANSIENT_CAPABILITY","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-adede77a4f8d74f9","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_transient.py","route_id":"route-a56ff31ad57a1f0e","origin_key":"export:perovskite_sim.experiments.dynamic_defect_transient.DYNAMIC_DEFECT_TRANSIENT_EVIDENCE","qualified_name":"perovskite_sim.experiments.dynamic_defect_transient.DYNAMIC_DEFECT_TRANSIENT_EVIDENCE","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-0f87b7a46a0f04fe","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_transient.py","route_id":"route-a56ff31ad57a1f0e","origin_key":"export:perovskite_sim.experiments.dynamic_defect_transient.DYNAMIC_DEFECT_TRANSIENT_METHOD","qualified_name":"perovskite_sim.experiments.dynamic_defect_transient.DYNAMIC_DEFECT_TRANSIENT_METHOD","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-872c1c1c9c737ec5","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_transient.py","route_id":"route-a56ff31ad57a1f0e","origin_key":"export:perovskite_sim.experiments.dynamic_defect_transient.DYNAMIC_DEFECT_TRANSIENT_REFERENCE_CERTIFICATE_SHA256","qualified_name":"perovskite_sim.experiments.dynamic_defect_transient.DYNAMIC_DEFECT_TRANSIENT_REFERENCE_CERTIFICATE_SHA256","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-30991c7d90a9d8fd","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_transient.py","route_id":"route-a56ff31ad57a1f0e","origin_key":"export:perovskite_sim.experiments.dynamic_defect_transient.DYNAMIC_DEFECT_TRANSIENT_REFERENCE_LANE","qualified_name":"perovskite_sim.experiments.dynamic_defect_transient.DYNAMIC_DEFECT_TRANSIENT_REFERENCE_LANE","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-90c85ad8d5168e43","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_transient.py","route_id":"route-a56ff31ad57a1f0e","origin_key":"export:perovskite_sim.experiments.dynamic_defect_transient.DYNAMIC_DEFECT_TRANSIENT_SCHEMA","qualified_name":"perovskite_sim.experiments.dynamic_defect_transient.DYNAMIC_DEFECT_TRANSIENT_SCHEMA","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-6f49d135983f73b9","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_transient.py","route_id":"route-a56ff31ad57a1f0e","origin_key":"export:perovskite_sim.experiments.dynamic_defect_transient.DynamicDefectTransientCapability","qualified_name":"perovskite_sim.experiments.dynamic_defect_transient.DynamicDefectTransientCapability","evidence_level":"cold_attribute_resolution","resolved_origin":"typing","callable":true}, +{"id":"export-89a5f99c089be6e4","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_transient.py","route_id":"route-a56ff31ad57a1f0e","origin_key":"export:perovskite_sim.experiments.dynamic_defect_transient.DynamicDefectTransientCapabilityError","qualified_name":"perovskite_sim.experiments.dynamic_defect_transient.DynamicDefectTransientCapabilityError","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.dynamic_defect_transient","callable":true}, +{"id":"export-df6c7f9e94b4b04a","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_transient.py","route_id":"route-a56ff31ad57a1f0e","origin_key":"export:perovskite_sim.experiments.dynamic_defect_transient.DynamicDefectTransientCertificationError","qualified_name":"perovskite_sim.experiments.dynamic_defect_transient.DynamicDefectTransientCertificationError","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.dynamic_defect_transient","callable":true}, +{"id":"export-2039c6c7740da90b","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_transient.py","route_id":"route-a56ff31ad57a1f0e","origin_key":"export:perovskite_sim.experiments.dynamic_defect_transient.DynamicDefectTransientError","qualified_name":"perovskite_sim.experiments.dynamic_defect_transient.DynamicDefectTransientError","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.dynamic_defect_transient","callable":true}, +{"id":"export-80abd089fe8cff23","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_transient.py","route_id":"route-a56ff31ad57a1f0e","origin_key":"export:perovskite_sim.experiments.dynamic_defect_transient.DynamicDefectTransientEvidence","qualified_name":"perovskite_sim.experiments.dynamic_defect_transient.DynamicDefectTransientEvidence","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.dynamic_defect_transient","callable":true}, +{"id":"export-fc864977d8a3ce13","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_transient.py","route_id":"route-a56ff31ad57a1f0e","origin_key":"export:perovskite_sim.experiments.dynamic_defect_transient.DynamicDefectTransientProductionResult","qualified_name":"perovskite_sim.experiments.dynamic_defect_transient.DynamicDefectTransientProductionResult","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.dynamic_defect_transient","callable":true}, +{"id":"export-bd98d7588bd6c1b4","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_transient.py","route_id":"route-a56ff31ad57a1f0e","origin_key":"export:perovskite_sim.experiments.dynamic_defect_transient.DynamicDefectTransientProtocol","qualified_name":"perovskite_sim.experiments.dynamic_defect_transient.DynamicDefectTransientProtocol","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.dynamic_defect_transient","callable":true}, +{"id":"export-3e9db7b925ba942c","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_transient.py","route_id":"route-a56ff31ad57a1f0e","origin_key":"export:perovskite_sim.experiments.dynamic_defect_transient.DynamicDefectTransientProtocolError","qualified_name":"perovskite_sim.experiments.dynamic_defect_transient.DynamicDefectTransientProtocolError","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.dynamic_defect_transient","callable":true}, +{"id":"export-28d7d66c447a3d18","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_transient.py","route_id":"route-a56ff31ad57a1f0e","origin_key":"export:perovskite_sim.experiments.dynamic_defect_transient.build_dynamic_defect_transient_protocol","qualified_name":"perovskite_sim.experiments.dynamic_defect_transient.build_dynamic_defect_transient_protocol","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.dynamic_defect_transient","callable":true}, +{"id":"export-566c64d528578184","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_transient.py","route_id":"route-a56ff31ad57a1f0e","origin_key":"export:perovskite_sim.experiments.dynamic_defect_transient.classify_dynamic_defect_transient_capability","qualified_name":"perovskite_sim.experiments.dynamic_defect_transient.classify_dynamic_defect_transient_capability","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.dynamic_defect_transient","callable":true}, +{"id":"export-6e29f2fd9991892d","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_transient.py","route_id":"route-a56ff31ad57a1f0e","origin_key":"export:perovskite_sim.experiments.dynamic_defect_transient.default_dynamic_defect_transient_policy","qualified_name":"perovskite_sim.experiments.dynamic_defect_transient.default_dynamic_defect_transient_policy","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.dynamic_defect_transient","callable":true}, +{"id":"export-507313585be1f2e0","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_transient.py","route_id":"route-a56ff31ad57a1f0e","origin_key":"export:perovskite_sim.experiments.dynamic_defect_transient.resolve_dynamic_defect_transient_protocol","qualified_name":"perovskite_sim.experiments.dynamic_defect_transient.resolve_dynamic_defect_transient_protocol","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.dynamic_defect_transient","callable":true}, +{"id":"export-f0858cc29996ed73","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_transient.py","route_id":"route-a56ff31ad57a1f0e","origin_key":"export:perovskite_sim.experiments.dynamic_defect_transient.run_dynamic_defect_transient","qualified_name":"perovskite_sim.experiments.dynamic_defect_transient.run_dynamic_defect_transient","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.dynamic_defect_transient","callable":true}, +{"id":"export-edf0fcf27534c507","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/electrothermal.py","route_id":"route-7db2e643362dfd6c","origin_key":"export:perovskite_sim.experiments.electrothermal.ElectrothermalCapabilityError","qualified_name":"perovskite_sim.experiments.electrothermal.ElectrothermalCapabilityError","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.electrothermal","callable":true}, +{"id":"export-58d5e3045e9490dd","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/electrothermal.py","route_id":"route-7db2e643362dfd6c","origin_key":"export:perovskite_sim.experiments.electrothermal.ElectrothermalConvergenceError","qualified_name":"perovskite_sim.experiments.electrothermal.ElectrothermalConvergenceError","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.electrothermal","callable":true}, +{"id":"export-6d1eda8ece2adc94","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/electrothermal.py","route_id":"route-7db2e643362dfd6c","origin_key":"export:perovskite_sim.experiments.electrothermal.ElectrothermalError","qualified_name":"perovskite_sim.experiments.electrothermal.ElectrothermalError","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.electrothermal","callable":true}, +{"id":"export-18586d039997740f","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/electrothermal.py","route_id":"route-7db2e643362dfd6c","origin_key":"export:perovskite_sim.experiments.electrothermal.ElectrothermalJVProtocol","qualified_name":"perovskite_sim.experiments.electrothermal.ElectrothermalJVProtocol","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.electrothermal","callable":true}, +{"id":"export-7de9745d8b5ecf60","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/electrothermal.py","route_id":"route-7db2e643362dfd6c","origin_key":"export:perovskite_sim.experiments.electrothermal.ElectrothermalOperatingPointProtocol","qualified_name":"perovskite_sim.experiments.electrothermal.ElectrothermalOperatingPointProtocol","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.electrothermal","callable":true}, +{"id":"export-9be5dbdeb4766ad0","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/electrothermal.py","route_id":"route-7db2e643362dfd6c","origin_key":"export:perovskite_sim.experiments.electrothermal.ElectrothermalOperatingPointResult","qualified_name":"perovskite_sim.experiments.electrothermal.ElectrothermalOperatingPointResult","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.electrothermal","callable":true}, +{"id":"export-3d8c0e9149427047","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/electrothermal.py","route_id":"route-7db2e643362dfd6c","origin_key":"export:perovskite_sim.experiments.electrothermal.ElectrothermalSourceError","qualified_name":"perovskite_sim.experiments.electrothermal.ElectrothermalSourceError","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.electrothermal","callable":true}, +{"id":"export-9ab06d564b2a453e","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/electrothermal.py","route_id":"route-7db2e643362dfd6c","origin_key":"export:perovskite_sim.experiments.electrothermal.ElectrothermalTemperatureEvaluation","qualified_name":"perovskite_sim.experiments.electrothermal.ElectrothermalTemperatureEvaluation","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.electrothermal","callable":true}, +{"id":"export-77c850b8ba7e0f3e","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/electrothermal.py","route_id":"route-7db2e643362dfd6c","origin_key":"export:perovskite_sim.experiments.electrothermal.solve_electrothermal_operating_point","qualified_name":"perovskite_sim.experiments.electrothermal.solve_electrothermal_operating_point","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.electrothermal","callable":true}, +{"id":"export-8d9ee792f4c2f4ce","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/external_circuit.py","route_id":"route-f5899aee3f4d6b9e","origin_key":"export:perovskite_sim.experiments.external_circuit.ExternalCircuitBranch","qualified_name":"perovskite_sim.experiments.external_circuit.ExternalCircuitBranch","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.external_circuit","callable":true}, +{"id":"export-9b891521f29a68da","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/external_circuit.py","route_id":"route-f5899aee3f4d6b9e","origin_key":"export:perovskite_sim.experiments.external_circuit.ExternalCircuitError","qualified_name":"perovskite_sim.experiments.external_circuit.ExternalCircuitError","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.external_circuit","callable":true}, +{"id":"export-aed9ceec4edc35d1","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/external_circuit.py","route_id":"route-f5899aee3f4d6b9e","origin_key":"export:perovskite_sim.experiments.external_circuit.ExternalCircuitJVResult","qualified_name":"perovskite_sim.experiments.external_circuit.ExternalCircuitJVResult","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.external_circuit","callable":true}, +{"id":"export-aa224b392e927ed4","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/external_circuit.py","route_id":"route-f5899aee3f4d6b9e","origin_key":"export:perovskite_sim.experiments.external_circuit.ExternalCircuitProtocol","qualified_name":"perovskite_sim.experiments.external_circuit.ExternalCircuitProtocol","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.external_circuit","callable":true}, +{"id":"export-b1d57ba38d3c17b5","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/external_circuit.py","route_id":"route-f5899aee3f4d6b9e","origin_key":"export:perovskite_sim.experiments.external_circuit.ExternalCircuitSourceError","qualified_name":"perovskite_sim.experiments.external_circuit.ExternalCircuitSourceError","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.external_circuit","callable":true}, +{"id":"export-525247851b2929ef","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/external_circuit.py","route_id":"route-f5899aee3f4d6b9e","origin_key":"export:perovskite_sim.experiments.external_circuit.ExternalCircuitTopologyError","qualified_name":"perovskite_sim.experiments.external_circuit.ExternalCircuitTopologyError","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.external_circuit","callable":true}, +{"id":"export-15d79898964add55","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/external_circuit.py","route_id":"route-f5899aee3f4d6b9e","origin_key":"export:perovskite_sim.experiments.external_circuit.apply_external_circuit","qualified_name":"perovskite_sim.experiments.external_circuit.apply_external_circuit","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.external_circuit","callable":true}, +{"id":"export-56ac20a1ba5a2ed4","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/external_circuit.py","route_id":"route-f5899aee3f4d6b9e","origin_key":"export:perovskite_sim.experiments.external_circuit.map_external_circuit_branch","qualified_name":"perovskite_sim.experiments.external_circuit.map_external_circuit_branch","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.external_circuit","callable":true}, +{"id":"export-7807bceb4701ddd1","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/identifiability.py","route_id":"route-aabd8ca4f67f1c35","origin_key":"export:perovskite_sim.experiments.identifiability.IdentifiabilityError","qualified_name":"perovskite_sim.experiments.identifiability.IdentifiabilityError","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.identifiability","callable":true}, +{"id":"export-17f0ea115ae8cdb2","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/identifiability.py","route_id":"route-aabd8ca4f67f1c35","origin_key":"export:perovskite_sim.experiments.identifiability.IdentifiabilityFitAttempt","qualified_name":"perovskite_sim.experiments.identifiability.IdentifiabilityFitAttempt","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.identifiability","callable":true}, +{"id":"export-cc4adf5915d88875","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/identifiability.py","route_id":"route-aabd8ca4f67f1c35","origin_key":"export:perovskite_sim.experiments.identifiability.IdentifiabilityForwardError","qualified_name":"perovskite_sim.experiments.identifiability.IdentifiabilityForwardError","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.identifiability","callable":true}, +{"id":"export-3b3a5d5659be4c21","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/identifiability.py","route_id":"route-aabd8ca4f67f1c35","origin_key":"export:perovskite_sim.experiments.identifiability.IdentifiabilityParameter","qualified_name":"perovskite_sim.experiments.identifiability.IdentifiabilityParameter","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.identifiability","callable":true}, +{"id":"export-ac4a3d8628098ab6","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/identifiability.py","route_id":"route-aabd8ca4f67f1c35","origin_key":"export:perovskite_sim.experiments.identifiability.IdentifiabilityProfile","qualified_name":"perovskite_sim.experiments.identifiability.IdentifiabilityProfile","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.identifiability","callable":true}, +{"id":"export-82cfa1b63e79705f","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/identifiability.py","route_id":"route-aabd8ca4f67f1c35","origin_key":"export:perovskite_sim.experiments.identifiability.InterfaceCarrierCondition","qualified_name":"perovskite_sim.experiments.identifiability.InterfaceCarrierCondition","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.identifiability","callable":true}, +{"id":"export-e0a546bfdcb356e1","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/identifiability.py","route_id":"route-aabd8ca4f67f1c35","origin_key":"export:perovskite_sim.experiments.identifiability.InterfaceSRHIdentifiabilityProtocol","qualified_name":"perovskite_sim.experiments.identifiability.InterfaceSRHIdentifiabilityProtocol","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.identifiability","callable":true}, +{"id":"export-1271aa5951226246","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/identifiability.py","route_id":"route-aabd8ca4f67f1c35","origin_key":"export:perovskite_sim.experiments.identifiability.InterfaceSRHIdentifiabilityResult","qualified_name":"perovskite_sim.experiments.identifiability.InterfaceSRHIdentifiabilityResult","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.identifiability","callable":true}, +{"id":"export-f6ba2759b2c81b9d","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/identifiability.py","route_id":"route-aabd8ca4f67f1c35","origin_key":"export:perovskite_sim.experiments.identifiability.OBSERVABLE_FAMILIES","qualified_name":"perovskite_sim.experiments.identifiability.OBSERVABLE_FAMILIES","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-9d2563d6db6d4285","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/identifiability.py","route_id":"route-aabd8ca4f67f1c35","origin_key":"export:perovskite_sim.experiments.identifiability.PARAMETER_NAMES","qualified_name":"perovskite_sim.experiments.identifiability.PARAMETER_NAMES","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-a446d9eee60a394d","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/identifiability.py","route_id":"route-aabd8ca4f67f1c35","origin_key":"export:perovskite_sim.experiments.identifiability.build_interface_srh_identifiability_protocol","qualified_name":"perovskite_sim.experiments.identifiability.build_interface_srh_identifiability_protocol","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.identifiability","callable":true}, +{"id":"export-c6e5dc928c54f353","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/identifiability.py","route_id":"route-aabd8ca4f67f1c35","origin_key":"export:perovskite_sim.experiments.identifiability.run_interface_srh_identifiability","qualified_name":"perovskite_sim.experiments.identifiability.run_interface_srh_identifiability","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.identifiability","callable":true}, +{"id":"export-246f699c40b30164","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/impedance_frequency.py","route_id":"route-45c70ebb1a68590b","origin_key":"export:perovskite_sim.experiments.impedance_frequency.FrequencyWindowAssessment","qualified_name":"perovskite_sim.experiments.impedance_frequency.FrequencyWindowAssessment","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.impedance_frequency","callable":true}, +{"id":"export-f0845ed78e7a57e2","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/impedance_frequency.py","route_id":"route-45c70ebb1a68590b","origin_key":"export:perovskite_sim.experiments.impedance_frequency.IonicBranchCoverage","qualified_name":"perovskite_sim.experiments.impedance_frequency.IonicBranchCoverage","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.impedance_frequency","callable":true}, +{"id":"export-a68c92fb3df58dc5","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/impedance_frequency.py","route_id":"route-45c70ebb1a68590b","origin_key":"export:perovskite_sim.experiments.impedance_frequency.IonicTimescale","qualified_name":"perovskite_sim.experiments.impedance_frequency.IonicTimescale","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.impedance_frequency","callable":true}, +{"id":"export-e597f5096d4f1c8d","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/impedance_frequency.py","route_id":"route-45c70ebb1a68590b","origin_key":"export:perovskite_sim.experiments.impedance_frequency.assess_impedance_frequency_window","qualified_name":"perovskite_sim.experiments.impedance_frequency.assess_impedance_frequency_window","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.impedance_frequency","callable":true}, +{"id":"export-4dc2449500d17170","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/interface_charge_jv.py","route_id":"route-5e747a794c569195","origin_key":"export:perovskite_sim.experiments.interface_charge_jv.DEFAULT_INTERFACE_CHARGE_JV_LIMITATIONS","qualified_name":"perovskite_sim.experiments.interface_charge_jv.DEFAULT_INTERFACE_CHARGE_JV_LIMITATIONS","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-d7949a861850cb4d","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/interface_charge_jv.py","route_id":"route-5e747a794c569195","origin_key":"export:perovskite_sim.experiments.interface_charge_jv.INTERFACE_CHARGE_JV_CAPABILITY","qualified_name":"perovskite_sim.experiments.interface_charge_jv.INTERFACE_CHARGE_JV_CAPABILITY","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-89024c424af89d57","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/interface_charge_jv.py","route_id":"route-5e747a794c569195","origin_key":"export:perovskite_sim.experiments.interface_charge_jv.INTERFACE_CHARGE_JV_EVIDENCE_MODEL","qualified_name":"perovskite_sim.experiments.interface_charge_jv.INTERFACE_CHARGE_JV_EVIDENCE_MODEL","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-3f1aee85a9e7f0c4","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/interface_charge_jv.py","route_id":"route-5e747a794c569195","origin_key":"export:perovskite_sim.experiments.interface_charge_jv.INTERFACE_CHARGE_JV_PROTOCOL_SCHEMA","qualified_name":"perovskite_sim.experiments.interface_charge_jv.INTERFACE_CHARGE_JV_PROTOCOL_SCHEMA","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-8427911b950a2266","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/interface_charge_jv.py","route_id":"route-5e747a794c569195","origin_key":"export:perovskite_sim.experiments.interface_charge_jv.InterfaceChargeJVAcceptance","qualified_name":"perovskite_sim.experiments.interface_charge_jv.InterfaceChargeJVAcceptance","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.interface_charge_jv","callable":true}, +{"id":"export-46127e5750300486","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/interface_charge_jv.py","route_id":"route-5e747a794c569195","origin_key":"export:perovskite_sim.experiments.interface_charge_jv.InterfaceChargeJVCertificationError","qualified_name":"perovskite_sim.experiments.interface_charge_jv.InterfaceChargeJVCertificationError","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.interface_charge_jv","callable":true}, +{"id":"export-95cd1998ad5efdb8","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/interface_charge_jv.py","route_id":"route-5e747a794c569195","origin_key":"export:perovskite_sim.experiments.interface_charge_jv.InterfaceChargeJVEvidence","qualified_name":"perovskite_sim.experiments.interface_charge_jv.InterfaceChargeJVEvidence","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.interface_charge_jv","callable":true}, +{"id":"export-4a396803835b3ff6","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/interface_charge_jv.py","route_id":"route-5e747a794c569195","origin_key":"export:perovskite_sim.experiments.interface_charge_jv.InterfaceChargeJVExecution","qualified_name":"perovskite_sim.experiments.interface_charge_jv.InterfaceChargeJVExecution","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.interface_charge_jv","callable":true}, +{"id":"export-f9d87b67c796249d","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/interface_charge_jv.py","route_id":"route-5e747a794c569195","origin_key":"export:perovskite_sim.experiments.interface_charge_jv.InterfaceChargeJVPointEvidence","qualified_name":"perovskite_sim.experiments.interface_charge_jv.InterfaceChargeJVPointEvidence","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.interface_charge_jv","callable":true}, +{"id":"export-3e38c3923d5e07b7","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/interface_charge_jv.py","route_id":"route-5e747a794c569195","origin_key":"export:perovskite_sim.experiments.interface_charge_jv.InterfaceChargeJVProtocol","qualified_name":"perovskite_sim.experiments.interface_charge_jv.InterfaceChargeJVProtocol","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.interface_charge_jv","callable":true}, +{"id":"export-679c1378d60f9556","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/interface_charge_jv.py","route_id":"route-5e747a794c569195","origin_key":"export:perovskite_sim.experiments.interface_charge_jv.InterfaceChargeJVProtocolError","qualified_name":"perovskite_sim.experiments.interface_charge_jv.InterfaceChargeJVProtocolError","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.interface_charge_jv","callable":true}, +{"id":"export-c6f8ceee36253843","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/interface_charge_jv.py","route_id":"route-5e747a794c569195","origin_key":"export:perovskite_sim.experiments.interface_charge_jv.InterfaceChargeJVSolverControls","qualified_name":"perovskite_sim.experiments.interface_charge_jv.InterfaceChargeJVSolverControls","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.interface_charge_jv","callable":true}, +{"id":"export-6bb1603254af9c23","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/interface_charge_jv.py","route_id":"route-5e747a794c569195","origin_key":"export:perovskite_sim.experiments.interface_charge_jv.build_interface_charge_jv_protocol","qualified_name":"perovskite_sim.experiments.interface_charge_jv.build_interface_charge_jv_protocol","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.interface_charge_jv","callable":true}, +{"id":"export-f0f646f49dfd6323","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/interface_charge_jv.py","route_id":"route-5e747a794c569195","origin_key":"export:perovskite_sim.experiments.interface_charge_jv.solve_interface_charge_jv","qualified_name":"perovskite_sim.experiments.interface_charge_jv.solve_interface_charge_jv","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.interface_charge_jv","callable":true}, +{"id":"export-08a8ec14de68131c","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_aware_impedance.py","route_id":"route-0f4037cecfd2937f","origin_key":"export:perovskite_sim.experiments.interface_defect_aware_impedance.DEFAULT_REFINEMENT_FACTORS","qualified_name":"perovskite_sim.experiments.interface_defect_aware_impedance.DEFAULT_REFINEMENT_FACTORS","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-8f041dd0c6f34920","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_aware_impedance.py","route_id":"route-0f4037cecfd2937f","origin_key":"export:perovskite_sim.experiments.interface_defect_aware_impedance.INTERFACE_DEFECT_DEVICE_AC_SCOPE","qualified_name":"perovskite_sim.experiments.interface_defect_aware_impedance.INTERFACE_DEFECT_DEVICE_AC_SCOPE","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-906aff71a0b1336a","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_aware_impedance.py","route_id":"route-0f4037cecfd2937f","origin_key":"export:perovskite_sim.experiments.interface_defect_aware_impedance.INTERFACE_DEFECT_DEVICE_AC_VERSION","qualified_name":"perovskite_sim.experiments.interface_defect_aware_impedance.INTERFACE_DEFECT_DEVICE_AC_VERSION","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-22edcd25cd1e84a4","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_aware_impedance.py","route_id":"route-0f4037cecfd2937f","origin_key":"export:perovskite_sim.experiments.interface_defect_aware_impedance.InterfaceDefectDeviceACCertificate","qualified_name":"perovskite_sim.experiments.interface_defect_aware_impedance.InterfaceDefectDeviceACCertificate","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.interface_defect_aware_impedance","callable":true}, +{"id":"export-30df4499db98e870","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_aware_impedance.py","route_id":"route-0f4037cecfd2937f","origin_key":"export:perovskite_sim.experiments.interface_defect_aware_impedance.InterfaceDefectDeviceACCertificationError","qualified_name":"perovskite_sim.experiments.interface_defect_aware_impedance.InterfaceDefectDeviceACCertificationError","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.interface_defect_aware_impedance","callable":true}, +{"id":"export-91ef872f739d0cf3","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_aware_impedance.py","route_id":"route-0f4037cecfd2937f","origin_key":"export:perovskite_sim.experiments.interface_defect_aware_impedance.InterfaceDefectDeviceACError","qualified_name":"perovskite_sim.experiments.interface_defect_aware_impedance.InterfaceDefectDeviceACError","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.interface_defect_aware_impedance","callable":true}, +{"id":"export-2db4f4744b0e1ad7","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_aware_impedance.py","route_id":"route-0f4037cecfd2937f","origin_key":"export:perovskite_sim.experiments.interface_defect_aware_impedance.InterfaceDefectDeviceACResult","qualified_name":"perovskite_sim.experiments.interface_defect_aware_impedance.InterfaceDefectDeviceACResult","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.interface_defect_aware_impedance","callable":true}, +{"id":"export-3e12d6816ef3987c","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_aware_impedance.py","route_id":"route-0f4037cecfd2937f","origin_key":"export:perovskite_sim.experiments.interface_defect_aware_impedance.InterfaceDefectFrequencyWindow","qualified_name":"perovskite_sim.experiments.interface_defect_aware_impedance.InterfaceDefectFrequencyWindow","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.interface_defect_aware_impedance","callable":true}, +{"id":"export-e61f141a06f18d7f","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_aware_impedance.py","route_id":"route-0f4037cecfd2937f","origin_key":"export:perovskite_sim.experiments.interface_defect_aware_impedance.run_interface_defect_device_impedance","qualified_name":"perovskite_sim.experiments.interface_defect_aware_impedance.run_interface_defect_device_impedance","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.interface_defect_aware_impedance","callable":true}, +{"id":"export-06c40ded02fbbc64","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_ion_transient.py","route_id":"route-4a5beb0fdcf3619a","origin_key":"export:perovskite_sim.experiments.interface_defect_ion_transient.INTERFACE_DEFECT_ION_TRANSIENT_SCOPE","qualified_name":"perovskite_sim.experiments.interface_defect_ion_transient.INTERFACE_DEFECT_ION_TRANSIENT_SCOPE","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-569988714a59e320","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_ion_transient.py","route_id":"route-4a5beb0fdcf3619a","origin_key":"export:perovskite_sim.experiments.interface_defect_ion_transient.INTERFACE_DEFECT_ION_TRANSIENT_VERSION","qualified_name":"perovskite_sim.experiments.interface_defect_ion_transient.INTERFACE_DEFECT_ION_TRANSIENT_VERSION","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-37735af745059db6","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_ion_transient.py","route_id":"route-4a5beb0fdcf3619a","origin_key":"export:perovskite_sim.experiments.interface_defect_ion_transient.InterfaceDefectIonTransientCertificate","qualified_name":"perovskite_sim.experiments.interface_defect_ion_transient.InterfaceDefectIonTransientCertificate","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.interface_defect_ion_transient","callable":true}, +{"id":"export-5ab8f80458efaebf","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_ion_transient.py","route_id":"route-4a5beb0fdcf3619a","origin_key":"export:perovskite_sim.experiments.interface_defect_ion_transient.InterfaceDefectIonTransientCertificationError","qualified_name":"perovskite_sim.experiments.interface_defect_ion_transient.InterfaceDefectIonTransientCertificationError","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.interface_defect_ion_transient","callable":true}, +{"id":"export-b82a4abfd07807c3","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_ion_transient.py","route_id":"route-4a5beb0fdcf3619a","origin_key":"export:perovskite_sim.experiments.interface_defect_ion_transient.InterfaceDefectIonTransientError","qualified_name":"perovskite_sim.experiments.interface_defect_ion_transient.InterfaceDefectIonTransientError","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.interface_defect_ion_transient","callable":true}, +{"id":"export-abd83ec43abcaf5a","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_ion_transient.py","route_id":"route-4a5beb0fdcf3619a","origin_key":"export:perovskite_sim.experiments.interface_defect_ion_transient.InterfaceDefectIonTransientPolicy","qualified_name":"perovskite_sim.experiments.interface_defect_ion_transient.InterfaceDefectIonTransientPolicy","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.interface_defect_ion_transient","callable":true}, +{"id":"export-cd6b44c47fb7b2ed","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_ion_transient.py","route_id":"route-4a5beb0fdcf3619a","origin_key":"export:perovskite_sim.experiments.interface_defect_ion_transient.InterfaceDefectIonTransientResult","qualified_name":"perovskite_sim.experiments.interface_defect_ion_transient.InterfaceDefectIonTransientResult","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.interface_defect_ion_transient","callable":true}, +{"id":"export-60fdcd6accf4aca4","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_ion_transient.py","route_id":"route-4a5beb0fdcf3619a","origin_key":"export:perovskite_sim.experiments.interface_defect_ion_transient.InterfaceIonDarkReference","qualified_name":"perovskite_sim.experiments.interface_defect_ion_transient.InterfaceIonDarkReference","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.interface_defect_ion_transient","callable":true}, +{"id":"export-27d3f39808de61d2","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_ion_transient.py","route_id":"route-4a5beb0fdcf3619a","origin_key":"export:perovskite_sim.experiments.interface_defect_ion_transient.run_interface_defect_ion_device_transient","qualified_name":"perovskite_sim.experiments.interface_defect_ion_transient.run_interface_defect_ion_device_transient","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.interface_defect_ion_transient","callable":true}, +{"id":"export-f6682fe999d6becf","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_transient.py","route_id":"route-9b19d2ed844a6c53","origin_key":"export:perovskite_sim.experiments.interface_defect_transient.INTERFACE_DEFECT_TRANSIENT_SCOPE","qualified_name":"perovskite_sim.experiments.interface_defect_transient.INTERFACE_DEFECT_TRANSIENT_SCOPE","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-92136daa8cc600b1","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_transient.py","route_id":"route-9b19d2ed844a6c53","origin_key":"export:perovskite_sim.experiments.interface_defect_transient.INTERFACE_DEFECT_TRANSIENT_VERSION","qualified_name":"perovskite_sim.experiments.interface_defect_transient.INTERFACE_DEFECT_TRANSIENT_VERSION","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-8fc6df17314bb07f","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_transient.py","route_id":"route-9b19d2ed844a6c53","origin_key":"export:perovskite_sim.experiments.interface_defect_transient.InterfaceDefectTransientCertificate","qualified_name":"perovskite_sim.experiments.interface_defect_transient.InterfaceDefectTransientCertificate","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.interface_defect_transient","callable":true}, +{"id":"export-a2da019ab9c9b1ac","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_transient.py","route_id":"route-9b19d2ed844a6c53","origin_key":"export:perovskite_sim.experiments.interface_defect_transient.InterfaceDefectTransientCertificationError","qualified_name":"perovskite_sim.experiments.interface_defect_transient.InterfaceDefectTransientCertificationError","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.interface_defect_transient","callable":true}, +{"id":"export-72bc71648b982327","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_transient.py","route_id":"route-9b19d2ed844a6c53","origin_key":"export:perovskite_sim.experiments.interface_defect_transient.InterfaceDefectTransientError","qualified_name":"perovskite_sim.experiments.interface_defect_transient.InterfaceDefectTransientError","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.interface_defect_transient","callable":true}, +{"id":"export-3e95f1ba56bfb511","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_transient.py","route_id":"route-9b19d2ed844a6c53","origin_key":"export:perovskite_sim.experiments.interface_defect_transient.InterfaceDefectTransientPolicy","qualified_name":"perovskite_sim.experiments.interface_defect_transient.InterfaceDefectTransientPolicy","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.interface_defect_transient","callable":true}, +{"id":"export-7038228ea0241a9d","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_transient.py","route_id":"route-9b19d2ed844a6c53","origin_key":"export:perovskite_sim.experiments.interface_defect_transient.InterfaceDefectTransientResult","qualified_name":"perovskite_sim.experiments.interface_defect_transient.InterfaceDefectTransientResult","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.interface_defect_transient","callable":true}, +{"id":"export-d15ea4a2e5b953d0","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_transient.py","route_id":"route-9b19d2ed844a6c53","origin_key":"export:perovskite_sim.experiments.interface_defect_transient.run_interface_defect_device_transient","qualified_name":"perovskite_sim.experiments.interface_defect_transient.run_interface_defect_device_transient","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.interface_defect_transient","callable":true}, +{"id":"export-e19fefdb22066273","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_analytic_reaction.py","route_id":"route-2d70ff5a414a71bc","origin_key":"export:perovskite_sim.experiments.ion_aware_analytic_reaction.IonAwareAnalyticBulkReactionLinearization","qualified_name":"perovskite_sim.experiments.ion_aware_analytic_reaction.IonAwareAnalyticBulkReactionLinearization","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.ion_aware_analytic_reaction","callable":true}, +{"id":"export-e1febbfe9eea22ce","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_analytic_reaction.py","route_id":"route-2d70ff5a414a71bc","origin_key":"export:perovskite_sim.experiments.ion_aware_analytic_reaction.IonAwareAnalyticContactLinearization","qualified_name":"perovskite_sim.experiments.ion_aware_analytic_reaction.IonAwareAnalyticContactLinearization","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.ion_aware_analytic_reaction","callable":true}, +{"id":"export-622ef2f0784c3627","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_analytic_reaction.py","route_id":"route-2d70ff5a414a71bc","origin_key":"export:perovskite_sim.experiments.ion_aware_analytic_reaction.IonAwareAnalyticInterfaceReactionLinearization","qualified_name":"perovskite_sim.experiments.ion_aware_analytic_reaction.IonAwareAnalyticInterfaceReactionLinearization","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.ion_aware_analytic_reaction","callable":true}, +{"id":"export-b5fc2f6fb5e28b74","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_analytic_reaction.py","route_id":"route-2d70ff5a414a71bc","origin_key":"export:perovskite_sim.experiments.ion_aware_analytic_reaction.IonAwareAnalyticReactionCapabilityError","qualified_name":"perovskite_sim.experiments.ion_aware_analytic_reaction.IonAwareAnalyticReactionCapabilityError","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.ion_aware_analytic_reaction","callable":true}, +{"id":"export-60d68c5300c593c8","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_analytic_reaction.py","route_id":"route-2d70ff5a414a71bc","origin_key":"export:perovskite_sim.experiments.ion_aware_analytic_reaction.apply_analytic_bulk_reaction_linearization","qualified_name":"perovskite_sim.experiments.ion_aware_analytic_reaction.apply_analytic_bulk_reaction_linearization","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.ion_aware_analytic_reaction","callable":true}, +{"id":"export-986cf0ada96d9543","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_analytic_reaction.py","route_id":"route-2d70ff5a414a71bc","origin_key":"export:perovskite_sim.experiments.ion_aware_analytic_reaction.apply_analytic_contact_linearization","qualified_name":"perovskite_sim.experiments.ion_aware_analytic_reaction.apply_analytic_contact_linearization","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.ion_aware_analytic_reaction","callable":true}, +{"id":"export-332e7c0863d6e3b9","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_analytic_reaction.py","route_id":"route-2d70ff5a414a71bc","origin_key":"export:perovskite_sim.experiments.ion_aware_analytic_reaction.apply_analytic_interface_reaction_linearization","qualified_name":"perovskite_sim.experiments.ion_aware_analytic_reaction.apply_analytic_interface_reaction_linearization","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.ion_aware_analytic_reaction","callable":true}, +{"id":"export-95c2acc15aa6b36e","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_analytic_reaction.py","route_id":"route-2d70ff5a414a71bc","origin_key":"export:perovskite_sim.experiments.ion_aware_analytic_reaction.build_ion_aware_analytic_bulk_reaction_linearization","qualified_name":"perovskite_sim.experiments.ion_aware_analytic_reaction.build_ion_aware_analytic_bulk_reaction_linearization","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.ion_aware_analytic_reaction","callable":true}, +{"id":"export-4d8df6894290df1d","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_analytic_reaction.py","route_id":"route-2d70ff5a414a71bc","origin_key":"export:perovskite_sim.experiments.ion_aware_analytic_reaction.build_ion_aware_analytic_contact_linearization","qualified_name":"perovskite_sim.experiments.ion_aware_analytic_reaction.build_ion_aware_analytic_contact_linearization","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.ion_aware_analytic_reaction","callable":true}, +{"id":"export-d178af3579f0bafd","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_analytic_reaction.py","route_id":"route-2d70ff5a414a71bc","origin_key":"export:perovskite_sim.experiments.ion_aware_analytic_reaction.build_ion_aware_analytic_interface_reaction_linearization","qualified_name":"perovskite_sim.experiments.ion_aware_analytic_reaction.build_ion_aware_analytic_interface_reaction_linearization","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.ion_aware_analytic_reaction","callable":true}, +{"id":"export-7a2f9a56f546b744","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_analytic_transport.py","route_id":"route-0b685a0a6f8ded75","origin_key":"export:perovskite_sim.experiments.ion_aware_analytic_transport.AnalyticCurrentComponentLinearization","qualified_name":"perovskite_sim.experiments.ion_aware_analytic_transport.AnalyticCurrentComponentLinearization","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.ion_aware_analytic_transport","callable":true}, +{"id":"export-aa2e2d367e2399c2","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_analytic_transport.py","route_id":"route-0b685a0a6f8ded75","origin_key":"export:perovskite_sim.experiments.ion_aware_analytic_transport.IonAwareAnalyticFieldMobilityLinearization","qualified_name":"perovskite_sim.experiments.ion_aware_analytic_transport.IonAwareAnalyticFieldMobilityLinearization","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.ion_aware_analytic_transport","callable":true}, +{"id":"export-d17d4187527d8b2f","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_analytic_transport.py","route_id":"route-0b685a0a6f8ded75","origin_key":"export:perovskite_sim.experiments.ion_aware_analytic_transport.IonAwareAnalyticTransportCapabilityError","qualified_name":"perovskite_sim.experiments.ion_aware_analytic_transport.IonAwareAnalyticTransportCapabilityError","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.ion_aware_analytic_transport","callable":true}, +{"id":"export-b42c241b3a1b5653","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_analytic_transport.py","route_id":"route-0b685a0a6f8ded75","origin_key":"export:perovskite_sim.experiments.ion_aware_analytic_transport.IonAwareAnalyticTransportLinearization","qualified_name":"perovskite_sim.experiments.ion_aware_analytic_transport.IonAwareAnalyticTransportLinearization","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.ion_aware_analytic_transport","callable":true}, +{"id":"export-1ebf265c7f8d81a6","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_analytic_transport.py","route_id":"route-0b685a0a6f8ded75","origin_key":"export:perovskite_sim.experiments.ion_aware_analytic_transport.apply_analytic_transport_linearization","qualified_name":"perovskite_sim.experiments.ion_aware_analytic_transport.apply_analytic_transport_linearization","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.ion_aware_analytic_transport","callable":true}, +{"id":"export-ac4522e7cfcabf76","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_analytic_transport.py","route_id":"route-0b685a0a6f8ded75","origin_key":"export:perovskite_sim.experiments.ion_aware_analytic_transport.build_ion_aware_analytic_transport_linearization","qualified_name":"perovskite_sim.experiments.ion_aware_analytic_transport.build_ion_aware_analytic_transport_linearization","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.ion_aware_analytic_transport","callable":true}, +{"id":"export-e29c35436fd50fef","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_dc.py","route_id":"route-540527431655d5fb","origin_key":"export:perovskite_sim.experiments.ion_aware_dc.DEFAULT_SETTLE_END_TIMES_S","qualified_name":"perovskite_sim.experiments.ion_aware_dc.DEFAULT_SETTLE_END_TIMES_S","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-f069e4e6b4956a0e","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_dc.py","route_id":"route-540527431655d5fb","origin_key":"export:perovskite_sim.experiments.ion_aware_dc.ION_AWARE_DC_PROTOCOL_SCHEMA","qualified_name":"perovskite_sim.experiments.ion_aware_dc.ION_AWARE_DC_PROTOCOL_SCHEMA","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-4b9d57e4e61bf16b","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_dc.py","route_id":"route-540527431655d5fb","origin_key":"export:perovskite_sim.experiments.ion_aware_dc.ION_AWARE_DC_STATE_HASH_SCHEMA","qualified_name":"perovskite_sim.experiments.ion_aware_dc.ION_AWARE_DC_STATE_HASH_SCHEMA","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-88e8f30556faedfe","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_dc.py","route_id":"route-540527431655d5fb","origin_key":"export:perovskite_sim.experiments.ion_aware_dc.IonAwareDCAttempt","qualified_name":"perovskite_sim.experiments.ion_aware_dc.IonAwareDCAttempt","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.ion_aware_dc","callable":true}, +{"id":"export-a7fa786fcbaf408e","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_dc.py","route_id":"route-540527431655d5fb","origin_key":"export:perovskite_sim.experiments.ion_aware_dc.IonAwareDCCapabilityError","qualified_name":"perovskite_sim.experiments.ion_aware_dc.IonAwareDCCapabilityError","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.ion_aware_dc","callable":true}, +{"id":"export-e44839e6ce6f93ec","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_dc.py","route_id":"route-540527431655d5fb","origin_key":"export:perovskite_sim.experiments.ion_aware_dc.IonAwareDCCertificationError","qualified_name":"perovskite_sim.experiments.ion_aware_dc.IonAwareDCCertificationError","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.ion_aware_dc","callable":true}, +{"id":"export-22442ed9481fda80","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_dc.py","route_id":"route-540527431655d5fb","origin_key":"export:perovskite_sim.experiments.ion_aware_dc.IonAwareDCProtocol","qualified_name":"perovskite_sim.experiments.ion_aware_dc.IonAwareDCProtocol","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.ion_aware_dc","callable":true}, +{"id":"export-051721e779dd8d0b","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_dc.py","route_id":"route-540527431655d5fb","origin_key":"export:perovskite_sim.experiments.ion_aware_dc.IonAwareDCResult","qualified_name":"perovskite_sim.experiments.ion_aware_dc.IonAwareDCResult","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.ion_aware_dc","callable":true}, +{"id":"export-8efb48294cdcd0a3","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_dc.py","route_id":"route-540527431655d5fb","origin_key":"export:perovskite_sim.experiments.ion_aware_dc.IonAwareDCSolverError","qualified_name":"perovskite_sim.experiments.ion_aware_dc.IonAwareDCSolverError","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.ion_aware_dc","callable":true}, +{"id":"export-d35a34814cc77f1e","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_dc.py","route_id":"route-540527431655d5fb","origin_key":"export:perovskite_sim.experiments.ion_aware_dc.IonAwareDCStateCertificate","qualified_name":"perovskite_sim.experiments.ion_aware_dc.IonAwareDCStateCertificate","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.ion_aware_dc","callable":true}, +{"id":"export-304c593f4e6d43cd","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_dc.py","route_id":"route-540527431655d5fb","origin_key":"export:perovskite_sim.experiments.ion_aware_dc.IonAwareDCStep","qualified_name":"perovskite_sim.experiments.ion_aware_dc.IonAwareDCStep","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.ion_aware_dc","callable":true}, +{"id":"export-bacd8ca18bb7fb76","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_dc.py","route_id":"route-540527431655d5fb","origin_key":"export:perovskite_sim.experiments.ion_aware_dc.IonInventoryEvidence","qualified_name":"perovskite_sim.experiments.ion_aware_dc.IonInventoryEvidence","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.ion_aware_dc","callable":true}, +{"id":"export-585ed0ce5ccc439a","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_dc.py","route_id":"route-540527431655d5fb","origin_key":"export:perovskite_sim.experiments.ion_aware_dc.assess_ion_aware_dc_state","qualified_name":"perovskite_sim.experiments.ion_aware_dc.assess_ion_aware_dc_state","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.ion_aware_dc","callable":true}, +{"id":"export-f9fdf07407b3cb38","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_dc.py","route_id":"route-540527431655d5fb","origin_key":"export:perovskite_sim.experiments.ion_aware_dc.build_ion_aware_dc_protocol","qualified_name":"perovskite_sim.experiments.ion_aware_dc.build_ion_aware_dc_protocol","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.ion_aware_dc","callable":true}, +{"id":"export-7fb47e993b2c8f23","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_dc.py","route_id":"route-540527431655d5fb","origin_key":"export:perovskite_sim.experiments.ion_aware_dc.ion_aware_dc_state_sha256","qualified_name":"perovskite_sim.experiments.ion_aware_dc.ion_aware_dc_state_sha256","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.ion_aware_dc","callable":true}, +{"id":"export-c40c327898d502ac","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_dc.py","route_id":"route-540527431655d5fb","origin_key":"export:perovskite_sim.experiments.ion_aware_dc.solve_ion_aware_dc","qualified_name":"perovskite_sim.experiments.ion_aware_dc.solve_ion_aware_dc","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.ion_aware_dc","callable":true}, +{"id":"export-08d89c6464cbadfb","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/__init__.py","route_id":"route-13365bb015203d2c","origin_key":"export:perovskite_sim.experiments.ion_aware_dc_state_sha256","qualified_name":"perovskite_sim.experiments.ion_aware_dc_state_sha256","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.ion_aware_dc","callable":true}, +{"id":"export-0fb3a4c0d6af2e26","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance.py","route_id":"route-66a78cb7e2ee8eba","origin_key":"export:perovskite_sim.experiments.ion_aware_impedance.DEFAULT_REFINEMENT_FACTORS","qualified_name":"perovskite_sim.experiments.ion_aware_impedance.DEFAULT_REFINEMENT_FACTORS","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-3e6a374b58f6dbed","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance.py","route_id":"route-66a78cb7e2ee8eba","origin_key":"export:perovskite_sim.experiments.ion_aware_impedance.FrequencyPerturbationAssessment","qualified_name":"perovskite_sim.experiments.ion_aware_impedance.FrequencyPerturbationAssessment","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.ion_aware_impedance","callable":true}, +{"id":"export-387c4d32dbe755ae","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance.py","route_id":"route-66a78cb7e2ee8eba","origin_key":"export:perovskite_sim.experiments.ion_aware_impedance.FrequencyWindowAssessment","qualified_name":"perovskite_sim.experiments.ion_aware_impedance.FrequencyWindowAssessment","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.impedance_frequency","callable":true}, +{"id":"export-a226655c3ef636d1","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance.py","route_id":"route-66a78cb7e2ee8eba","origin_key":"export:perovskite_sim.experiments.ion_aware_impedance.ION_AWARE_IMPEDANCE_PROTOCOL_SCHEMA","qualified_name":"perovskite_sim.experiments.ion_aware_impedance.ION_AWARE_IMPEDANCE_PROTOCOL_SCHEMA","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-4a83515945f407eb","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance.py","route_id":"route-66a78cb7e2ee8eba","origin_key":"export:perovskite_sim.experiments.ion_aware_impedance.IonAwareImpedanceCapabilityError","qualified_name":"perovskite_sim.experiments.ion_aware_impedance.IonAwareImpedanceCapabilityError","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.ion_aware_impedance","callable":true}, +{"id":"export-c2ece84f9e8e01f7","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance.py","route_id":"route-66a78cb7e2ee8eba","origin_key":"export:perovskite_sim.experiments.ion_aware_impedance.IonAwareImpedanceCertificate","qualified_name":"perovskite_sim.experiments.ion_aware_impedance.IonAwareImpedanceCertificate","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.ion_aware_impedance","callable":true}, +{"id":"export-8590f0f258869bdb","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance.py","route_id":"route-66a78cb7e2ee8eba","origin_key":"export:perovskite_sim.experiments.ion_aware_impedance.IonAwareImpedanceCertificationError","qualified_name":"perovskite_sim.experiments.ion_aware_impedance.IonAwareImpedanceCertificationError","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.ion_aware_impedance","callable":true}, +{"id":"export-4a375dd9bfeeb2f6","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance.py","route_id":"route-66a78cb7e2ee8eba","origin_key":"export:perovskite_sim.experiments.ion_aware_impedance.IonAwareImpedanceError","qualified_name":"perovskite_sim.experiments.ion_aware_impedance.IonAwareImpedanceError","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.ion_aware_impedance","callable":true}, +{"id":"export-2128567eb83c20f0","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance.py","route_id":"route-66a78cb7e2ee8eba","origin_key":"export:perovskite_sim.experiments.ion_aware_impedance.IonAwareImpedanceFrequencyCertificate","qualified_name":"perovskite_sim.experiments.ion_aware_impedance.IonAwareImpedanceFrequencyCertificate","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.ion_aware_impedance","callable":true}, +{"id":"export-77b90f62f090a998","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance.py","route_id":"route-66a78cb7e2ee8eba","origin_key":"export:perovskite_sim.experiments.ion_aware_impedance.IonAwareImpedanceProtocol","qualified_name":"perovskite_sim.experiments.ion_aware_impedance.IonAwareImpedanceProtocol","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.ion_aware_impedance","callable":true}, +{"id":"export-09e2e77a8d326084","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance.py","route_id":"route-66a78cb7e2ee8eba","origin_key":"export:perovskite_sim.experiments.ion_aware_impedance.IonAwareImpedanceResult","qualified_name":"perovskite_sim.experiments.ion_aware_impedance.IonAwareImpedanceResult","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.ion_aware_impedance","callable":true}, +{"id":"export-eb07016f81f0f07b","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance.py","route_id":"route-66a78cb7e2ee8eba","origin_key":"export:perovskite_sim.experiments.ion_aware_impedance.IonAwareStateCoordinateLayout","qualified_name":"perovskite_sim.experiments.ion_aware_impedance.IonAwareStateCoordinateLayout","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.ion_aware_impedance","callable":true}, +{"id":"export-ad976c33f18e7067","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance.py","route_id":"route-66a78cb7e2ee8eba","origin_key":"export:perovskite_sim.experiments.ion_aware_impedance.MAX_LINEAR_PERTURBATION_V","qualified_name":"perovskite_sim.experiments.ion_aware_impedance.MAX_LINEAR_PERTURBATION_V","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-bdb24b053f465f96","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance.py","route_id":"route-66a78cb7e2ee8eba","origin_key":"export:perovskite_sim.experiments.ion_aware_impedance.PerturbationStepAssessment","qualified_name":"perovskite_sim.experiments.ion_aware_impedance.PerturbationStepAssessment","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.ion_aware_impedance","callable":true}, +{"id":"export-68c8edda3d436e2d","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance.py","route_id":"route-66a78cb7e2ee8eba","origin_key":"export:perovskite_sim.experiments.ion_aware_impedance.assess_impedance_frequency_window","qualified_name":"perovskite_sim.experiments.ion_aware_impedance.assess_impedance_frequency_window","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.impedance_frequency","callable":true}, +{"id":"export-fa8e157ca4632f5a","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance.py","route_id":"route-66a78cb7e2ee8eba","origin_key":"export:perovskite_sim.experiments.ion_aware_impedance.build_ion_aware_impedance_protocol","qualified_name":"perovskite_sim.experiments.ion_aware_impedance.build_ion_aware_impedance_protocol","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.ion_aware_impedance","callable":true}, +{"id":"export-7d6a5d65ff4d220f","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance.py","route_id":"route-66a78cb7e2ee8eba","origin_key":"export:perovskite_sim.experiments.ion_aware_impedance.run_ion_aware_impedance","qualified_name":"perovskite_sim.experiments.ion_aware_impedance.run_ion_aware_impedance","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.ion_aware_impedance","callable":true}, +{"id":"export-aac5d86c1581b8df","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance_grid.py","route_id":"route-3ca1dfa513a1e322","origin_key":"export:perovskite_sim.experiments.ion_aware_impedance_grid.GridFrequencyCertificate","qualified_name":"perovskite_sim.experiments.ion_aware_impedance_grid.GridFrequencyCertificate","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.ion_aware_impedance_grid","callable":true}, +{"id":"export-684d855e73c52415","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance_grid.py","route_id":"route-3ca1dfa513a1e322","origin_key":"export:perovskite_sim.experiments.ion_aware_impedance_grid.GridPairFrequencyAssessment","qualified_name":"perovskite_sim.experiments.ion_aware_impedance_grid.GridPairFrequencyAssessment","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.ion_aware_impedance_grid","callable":true}, +{"id":"export-e655ff70de88a6a1","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance_grid.py","route_id":"route-3ca1dfa513a1e322","origin_key":"export:perovskite_sim.experiments.ion_aware_impedance_grid.ION_AWARE_IMPEDANCE_GRID_HASH_SCHEMA","qualified_name":"perovskite_sim.experiments.ion_aware_impedance_grid.ION_AWARE_IMPEDANCE_GRID_HASH_SCHEMA","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-8f76c58785c12050","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance_grid.py","route_id":"route-3ca1dfa513a1e322","origin_key":"export:perovskite_sim.experiments.ion_aware_impedance_grid.ION_AWARE_IMPEDANCE_GRID_PROTOCOL_SCHEMA","qualified_name":"perovskite_sim.experiments.ion_aware_impedance_grid.ION_AWARE_IMPEDANCE_GRID_PROTOCOL_SCHEMA","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-7ee21285764d7e7a","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance_grid.py","route_id":"route-3ca1dfa513a1e322","origin_key":"export:perovskite_sim.experiments.ion_aware_impedance_grid.IonAwareImpedanceGridCapabilityError","qualified_name":"perovskite_sim.experiments.ion_aware_impedance_grid.IonAwareImpedanceGridCapabilityError","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.ion_aware_impedance_grid","callable":true}, +{"id":"export-ca61d38e61ca68a4","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance_grid.py","route_id":"route-3ca1dfa513a1e322","origin_key":"export:perovskite_sim.experiments.ion_aware_impedance_grid.IonAwareImpedanceGridCertificate","qualified_name":"perovskite_sim.experiments.ion_aware_impedance_grid.IonAwareImpedanceGridCertificate","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.ion_aware_impedance_grid","callable":true}, +{"id":"export-fd8cee3297bcd5f4","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance_grid.py","route_id":"route-3ca1dfa513a1e322","origin_key":"export:perovskite_sim.experiments.ion_aware_impedance_grid.IonAwareImpedanceGridCertificationError","qualified_name":"perovskite_sim.experiments.ion_aware_impedance_grid.IonAwareImpedanceGridCertificationError","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.ion_aware_impedance_grid","callable":true}, +{"id":"export-ed3ce2a9f10ef33c","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance_grid.py","route_id":"route-3ca1dfa513a1e322","origin_key":"export:perovskite_sim.experiments.ion_aware_impedance_grid.IonAwareImpedanceGridProtocol","qualified_name":"perovskite_sim.experiments.ion_aware_impedance_grid.IonAwareImpedanceGridProtocol","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.ion_aware_impedance_grid","callable":true}, +{"id":"export-907c5988196f8b4c","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance_grid.py","route_id":"route-3ca1dfa513a1e322","origin_key":"export:perovskite_sim.experiments.ion_aware_impedance_grid.IonAwareImpedanceGridResult","qualified_name":"perovskite_sim.experiments.ion_aware_impedance_grid.IonAwareImpedanceGridResult","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.ion_aware_impedance_grid","callable":true}, +{"id":"export-dd59fd00b8f25696","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance_grid.py","route_id":"route-3ca1dfa513a1e322","origin_key":"export:perovskite_sim.experiments.ion_aware_impedance_grid.build_ion_aware_impedance_grid_protocol","qualified_name":"perovskite_sim.experiments.ion_aware_impedance_grid.build_ion_aware_impedance_grid_protocol","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.ion_aware_impedance_grid","callable":true}, +{"id":"export-b557cc16e2d4b430","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance_grid.py","route_id":"route-3ca1dfa513a1e322","origin_key":"export:perovskite_sim.experiments.ion_aware_impedance_grid.ion_aware_impedance_grid_sha256","qualified_name":"perovskite_sim.experiments.ion_aware_impedance_grid.ion_aware_impedance_grid_sha256","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.ion_aware_impedance_grid","callable":true}, +{"id":"export-8be712bcfddf6335","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance_grid.py","route_id":"route-3ca1dfa513a1e322","origin_key":"export:perovskite_sim.experiments.ion_aware_impedance_grid.run_ion_aware_impedance_grid_ladder","qualified_name":"perovskite_sim.experiments.ion_aware_impedance_grid.run_ion_aware_impedance_grid_ladder","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.ion_aware_impedance_grid","callable":true}, +{"id":"export-c73ea34004b51ec8","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance_lockin.py","route_id":"route-e427668ae85b61ce","origin_key":"export:perovskite_sim.experiments.ion_aware_impedance_lockin.ION_AWARE_TRANSIENT_LOCKIN_PROTOCOL_SCHEMA","qualified_name":"perovskite_sim.experiments.ion_aware_impedance_lockin.ION_AWARE_TRANSIENT_LOCKIN_PROTOCOL_SCHEMA","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-c03e4be74bc66163","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance_lockin.py","route_id":"route-e427668ae85b61ce","origin_key":"export:perovskite_sim.experiments.ion_aware_impedance_lockin.IonAwareTransientLockInCapabilityError","qualified_name":"perovskite_sim.experiments.ion_aware_impedance_lockin.IonAwareTransientLockInCapabilityError","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.ion_aware_impedance_lockin","callable":true}, +{"id":"export-07d57e493b972bf5","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance_lockin.py","route_id":"route-e427668ae85b61ce","origin_key":"export:perovskite_sim.experiments.ion_aware_impedance_lockin.IonAwareTransientLockInCertificate","qualified_name":"perovskite_sim.experiments.ion_aware_impedance_lockin.IonAwareTransientLockInCertificate","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.ion_aware_impedance_lockin","callable":true}, +{"id":"export-53734c01c4b654e9","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance_lockin.py","route_id":"route-e427668ae85b61ce","origin_key":"export:perovskite_sim.experiments.ion_aware_impedance_lockin.IonAwareTransientLockInCertificationError","qualified_name":"perovskite_sim.experiments.ion_aware_impedance_lockin.IonAwareTransientLockInCertificationError","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.ion_aware_impedance_lockin","callable":true}, +{"id":"export-01a57ad40ffa36fe","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance_lockin.py","route_id":"route-e427668ae85b61ce","origin_key":"export:perovskite_sim.experiments.ion_aware_impedance_lockin.IonAwareTransientLockInError","qualified_name":"perovskite_sim.experiments.ion_aware_impedance_lockin.IonAwareTransientLockInError","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.ion_aware_impedance_lockin","callable":true}, +{"id":"export-0b07ac2bf1c4b6ca","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance_lockin.py","route_id":"route-e427668ae85b61ce","origin_key":"export:perovskite_sim.experiments.ion_aware_impedance_lockin.IonAwareTransientLockInProtocol","qualified_name":"perovskite_sim.experiments.ion_aware_impedance_lockin.IonAwareTransientLockInProtocol","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.ion_aware_impedance_lockin","callable":true}, +{"id":"export-0dca944174cf332d","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance_lockin.py","route_id":"route-e427668ae85b61ce","origin_key":"export:perovskite_sim.experiments.ion_aware_impedance_lockin.IonAwareTransientLockInResult","qualified_name":"perovskite_sim.experiments.ion_aware_impedance_lockin.IonAwareTransientLockInResult","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.ion_aware_impedance_lockin","callable":true}, +{"id":"export-9e4d339f67d7bdcf","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance_lockin.py","route_id":"route-e427668ae85b61ce","origin_key":"export:perovskite_sim.experiments.ion_aware_impedance_lockin.TransientLockInFrequencyCertificate","qualified_name":"perovskite_sim.experiments.ion_aware_impedance_lockin.TransientLockInFrequencyCertificate","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.ion_aware_impedance_lockin","callable":true}, +{"id":"export-54cf8c539cb32779","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance_lockin.py","route_id":"route-e427668ae85b61ce","origin_key":"export:perovskite_sim.experiments.ion_aware_impedance_lockin.TransientLockInFrequencyEvidence","qualified_name":"perovskite_sim.experiments.ion_aware_impedance_lockin.TransientLockInFrequencyEvidence","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.ion_aware_impedance_lockin","callable":true}, +{"id":"export-c54ca6022f0e2022","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance_lockin.py","route_id":"route-e427668ae85b61ce","origin_key":"export:perovskite_sim.experiments.ion_aware_impedance_lockin.TransientLockInResolutionEvidence","qualified_name":"perovskite_sim.experiments.ion_aware_impedance_lockin.TransientLockInResolutionEvidence","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.ion_aware_impedance_lockin","callable":true}, +{"id":"export-454f6d09df1f31d0","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance_lockin.py","route_id":"route-e427668ae85b61ce","origin_key":"export:perovskite_sim.experiments.ion_aware_impedance_lockin.build_ion_aware_transient_lockin_protocol","qualified_name":"perovskite_sim.experiments.ion_aware_impedance_lockin.build_ion_aware_transient_lockin_protocol","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.ion_aware_impedance_lockin","callable":true}, +{"id":"export-f66f26ac24a8c33a","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance_lockin.py","route_id":"route-e427668ae85b61ce","origin_key":"export:perovskite_sim.experiments.ion_aware_impedance_lockin.run_ion_aware_transient_lockin_crosscheck","qualified_name":"perovskite_sim.experiments.ion_aware_impedance_lockin.run_ion_aware_transient_lockin_crosscheck","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.ion_aware_impedance_lockin","callable":true}, +{"id":"export-5839272a877a3574","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_structured_jacobian.py","route_id":"route-d50045e506093dad","origin_key":"export:perovskite_sim.experiments.ion_aware_structured_jacobian.CurrentComponentComparison","qualified_name":"perovskite_sim.experiments.ion_aware_structured_jacobian.CurrentComponentComparison","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.ion_aware_structured_jacobian","callable":true}, +{"id":"export-652fda6ac690a12b","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_structured_jacobian.py","route_id":"route-d50045e506093dad","origin_key":"export:perovskite_sim.experiments.ion_aware_structured_jacobian.ION_AWARE_STRUCTURED_JACOBIAN_PROTOCOL_SCHEMA","qualified_name":"perovskite_sim.experiments.ion_aware_structured_jacobian.ION_AWARE_STRUCTURED_JACOBIAN_PROTOCOL_SCHEMA","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-deb250fa72b11de3","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_structured_jacobian.py","route_id":"route-d50045e506093dad","origin_key":"export:perovskite_sim.experiments.ion_aware_structured_jacobian.IonAwareStructuredJacobianCapabilityError","qualified_name":"perovskite_sim.experiments.ion_aware_structured_jacobian.IonAwareStructuredJacobianCapabilityError","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.ion_aware_structured_jacobian","callable":true}, +{"id":"export-4f824fee0af984ec","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_structured_jacobian.py","route_id":"route-d50045e506093dad","origin_key":"export:perovskite_sim.experiments.ion_aware_structured_jacobian.IonAwareStructuredJacobianCertificate","qualified_name":"perovskite_sim.experiments.ion_aware_structured_jacobian.IonAwareStructuredJacobianCertificate","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.ion_aware_structured_jacobian","callable":true}, +{"id":"export-eb43909e903429fd","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_structured_jacobian.py","route_id":"route-d50045e506093dad","origin_key":"export:perovskite_sim.experiments.ion_aware_structured_jacobian.IonAwareStructuredJacobianCertificationError","qualified_name":"perovskite_sim.experiments.ion_aware_structured_jacobian.IonAwareStructuredJacobianCertificationError","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.ion_aware_structured_jacobian","callable":true}, +{"id":"export-8f518254f0b7a134","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_structured_jacobian.py","route_id":"route-d50045e506093dad","origin_key":"export:perovskite_sim.experiments.ion_aware_structured_jacobian.IonAwareStructuredJacobianProtocol","qualified_name":"perovskite_sim.experiments.ion_aware_structured_jacobian.IonAwareStructuredJacobianProtocol","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.ion_aware_structured_jacobian","callable":true}, +{"id":"export-24b20185e6a7b73c","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_structured_jacobian.py","route_id":"route-d50045e506093dad","origin_key":"export:perovskite_sim.experiments.ion_aware_structured_jacobian.IonAwareStructuredJacobianResult","qualified_name":"perovskite_sim.experiments.ion_aware_structured_jacobian.IonAwareStructuredJacobianResult","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.ion_aware_structured_jacobian","callable":true}, +{"id":"export-59a026fe6f1ae9c7","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_structured_jacobian.py","route_id":"route-d50045e506093dad","origin_key":"export:perovskite_sim.experiments.ion_aware_structured_jacobian.MatrixColumnComparison","qualified_name":"perovskite_sim.experiments.ion_aware_structured_jacobian.MatrixColumnComparison","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.ion_aware_structured_jacobian","callable":true}, +{"id":"export-ce7a3cbd3973d887","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_structured_jacobian.py","route_id":"route-d50045e506093dad","origin_key":"export:perovskite_sim.experiments.ion_aware_structured_jacobian.PoissonImplicitSensitivity","qualified_name":"perovskite_sim.experiments.ion_aware_structured_jacobian.PoissonImplicitSensitivity","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.ion_aware_structured_jacobian","callable":true}, +{"id":"export-e27248e8eac37b1c","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_structured_jacobian.py","route_id":"route-d50045e506093dad","origin_key":"export:perovskite_sim.experiments.ion_aware_structured_jacobian.VectorComparison","qualified_name":"perovskite_sim.experiments.ion_aware_structured_jacobian.VectorComparison","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.ion_aware_structured_jacobian","callable":true}, +{"id":"export-140dd3510d0c4241","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_structured_jacobian.py","route_id":"route-d50045e506093dad","origin_key":"export:perovskite_sim.experiments.ion_aware_structured_jacobian.build_ion_aware_structured_jacobian_protocol","qualified_name":"perovskite_sim.experiments.ion_aware_structured_jacobian.build_ion_aware_structured_jacobian_protocol","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.ion_aware_structured_jacobian","callable":true}, +{"id":"export-6b1f961203615105","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_structured_jacobian.py","route_id":"route-d50045e506093dad","origin_key":"export:perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison","qualified_name":"perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.ion_aware_structured_jacobian","callable":true}, +{"id":"export-68826d787b492a4f","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/__init__.py","route_id":"route-13365bb015203d2c","origin_key":"export:perovskite_sim.experiments.map_external_circuit_branch","qualified_name":"perovskite_sim.experiments.map_external_circuit_branch","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.external_circuit","callable":true}, +{"id":"export-2fbe135bf36a4f5d","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/metastable_preparation.py","route_id":"route-122501331d596e6c","origin_key":"export:perovskite_sim.experiments.metastable_preparation.FrozenMetastableConfiguration","qualified_name":"perovskite_sim.experiments.metastable_preparation.FrozenMetastableConfiguration","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.metastable_preparation","callable":true}, +{"id":"export-8db20dbcf7302a46","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/metastable_preparation.py","route_id":"route-122501331d596e6c","origin_key":"export:perovskite_sim.experiments.metastable_preparation.METASTABLE_PREPARATION_VERSION","qualified_name":"perovskite_sim.experiments.metastable_preparation.METASTABLE_PREPARATION_VERSION","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-57d86d5e3532d8ce","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/metastable_preparation.py","route_id":"route-122501331d596e6c","origin_key":"export:perovskite_sim.experiments.metastable_preparation.MetastablePreparationError","qualified_name":"perovskite_sim.experiments.metastable_preparation.MetastablePreparationError","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.metastable_preparation","callable":true}, +{"id":"export-39020cc8f0d2f0cf","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/metastable_preparation.py","route_id":"route-122501331d596e6c","origin_key":"export:perovskite_sim.experiments.metastable_preparation.prepare_metastable_configuration","qualified_name":"perovskite_sim.experiments.metastable_preparation.prepare_metastable_configuration","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.metastable_preparation","callable":true}, +{"id":"export-e9d14ce1c0887012","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/metastable_preparation.py","route_id":"route-122501331d596e6c","origin_key":"export:perovskite_sim.experiments.metastable_preparation.solve_frozen_metastable_jv_sweep","qualified_name":"perovskite_sim.experiments.metastable_preparation.solve_frozen_metastable_jv_sweep","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.metastable_preparation","callable":true}, +{"id":"export-72b765e22a660b1a","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/metastable_preparation.py","route_id":"route-122501331d596e6c","origin_key":"export:perovskite_sim.experiments.metastable_preparation.solve_frozen_metastable_measurement","qualified_name":"perovskite_sim.experiments.metastable_preparation.solve_frozen_metastable_measurement","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.metastable_preparation","callable":true}, +{"id":"export-dbf5f45dd53487e8","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/metastable_transient.py","route_id":"route-ef61f462b2550dc9","origin_key":"export:perovskite_sim.experiments.metastable_transient.METASTABLE_TRANSIENT_VERSION","qualified_name":"perovskite_sim.experiments.metastable_transient.METASTABLE_TRANSIENT_VERSION","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-1e86008957c485de","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/metastable_transient.py","route_id":"route-ef61f462b2550dc9","origin_key":"export:perovskite_sim.experiments.metastable_transient.MetastableTransientCertificate","qualified_name":"perovskite_sim.experiments.metastable_transient.MetastableTransientCertificate","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.metastable_transient","callable":true}, +{"id":"export-8321bd0d48578759","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/metastable_transient.py","route_id":"route-ef61f462b2550dc9","origin_key":"export:perovskite_sim.experiments.metastable_transient.MetastableTransientError","qualified_name":"perovskite_sim.experiments.metastable_transient.MetastableTransientError","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.metastable_transient","callable":true}, +{"id":"export-b4d2fcb701b357c5","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/metastable_transient.py","route_id":"route-ef61f462b2550dc9","origin_key":"export:perovskite_sim.experiments.metastable_transient.MetastableTransientResult","qualified_name":"perovskite_sim.experiments.metastable_transient.MetastableTransientResult","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.metastable_transient","callable":true}, +{"id":"export-68a760608c9cd319","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/metastable_transient.py","route_id":"route-ef61f462b2550dc9","origin_key":"export:perovskite_sim.experiments.metastable_transient.run_metastable_configuration_transient","qualified_name":"perovskite_sim.experiments.metastable_transient.run_metastable_configuration_transient","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.metastable_transient","callable":true}, +{"id":"export-660fdd5f5f712158","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_admittance.py","route_id":"route-522d180395ae3094","origin_key":"export:perovskite_sim.experiments.one_dimensional_mechanism_r1_admittance.R1AdmittanceErrors","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_admittance.R1AdmittanceErrors","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.one_dimensional_mechanism_r1_admittance","callable":true}, +{"id":"export-d9c294936c04e6ee","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_admittance.py","route_id":"route-522d180395ae3094","origin_key":"export:perovskite_sim.experiments.one_dimensional_mechanism_r1_admittance.R1AdmittanceIntegrationError","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_admittance.R1AdmittanceIntegrationError","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.one_dimensional_mechanism_r1_admittance","callable":true}, +{"id":"export-cad9f8603fc2e331","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_admittance.py","route_id":"route-522d180395ae3094","origin_key":"export:perovskite_sim.experiments.one_dimensional_mechanism_r1_admittance.R1AdmittanceReconstruction","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_admittance.R1AdmittanceReconstruction","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.one_dimensional_mechanism_r1_admittance","callable":true}, +{"id":"export-d4268aafd53276ff","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_admittance.py","route_id":"route-522d180395ae3094","origin_key":"export:perovskite_sim.experiments.one_dimensional_mechanism_r1_admittance.linear_interpolation_integral_bound","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_admittance.linear_interpolation_integral_bound","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.one_dimensional_mechanism_r1_admittance","callable":true}, +{"id":"export-a3578e0c689c619c","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_admittance.py","route_id":"route-522d180395ae3094","origin_key":"export:perovskite_sim.experiments.one_dimensional_mechanism_r1_admittance.reconstruct_admittance","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_admittance.reconstruct_admittance","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.one_dimensional_mechanism_r1_admittance","callable":true}, +{"id":"export-1f15da96e6b27f3a","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_binding.py","route_id":"route-af422dae26465537","origin_key":"export:perovskite_sim.experiments.one_dimensional_mechanism_r1_binding.additional_failures_identity","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_binding.additional_failures_identity","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.one_dimensional_mechanism_r1_binding","callable":true}, +{"id":"export-f94e7ad44c17357e","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_binding.py","route_id":"route-af422dae26465537","origin_key":"export:perovskite_sim.experiments.one_dimensional_mechanism_r1_binding.execution_contract_identity","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_binding.execution_contract_identity","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.one_dimensional_mechanism_r1_binding","callable":true}, +{"id":"export-750a04e3add34daa","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_binding.py","route_id":"route-af422dae26465537","origin_key":"export:perovskite_sim.experiments.one_dimensional_mechanism_r1_binding.operator_criterion_identity","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_binding.operator_criterion_identity","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.one_dimensional_mechanism_r1_binding","callable":true}, +{"id":"export-ae69718f9c85c6b6","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_binding.py","route_id":"route-af422dae26465537","origin_key":"export:perovskite_sim.experiments.one_dimensional_mechanism_r1_binding.physics_protocol_identity","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_binding.physics_protocol_identity","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.one_dimensional_mechanism_r1_binding","callable":true}, +{"id":"export-6f35376e0b751630","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_binding.py","route_id":"route-af422dae26465537","origin_key":"export:perovskite_sim.experiments.one_dimensional_mechanism_r1_binding.standard_binding_record","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_binding.standard_binding_record","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.one_dimensional_mechanism_r1_binding","callable":true}, +{"id":"export-ef456dcca7812e1a","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_binding.py","route_id":"route-af422dae26465537","origin_key":"export:perovskite_sim.experiments.one_dimensional_mechanism_r1_binding.study_input_identity","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_binding.study_input_identity","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.one_dimensional_mechanism_r1_binding","callable":true}, +{"id":"export-99e72bd8371adc34","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_binding.py","route_id":"route-af422dae26465537","origin_key":"export:perovskite_sim.experiments.one_dimensional_mechanism_r1_binding.validate_r1_study_binding","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_binding.validate_r1_study_binding","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.one_dimensional_mechanism_r1_binding","callable":true}, +{"id":"export-6a913db8a7f6fe53","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_checkout.py","route_id":"route-d7705533e8467092","origin_key":"export:perovskite_sim.experiments.one_dimensional_mechanism_r1_checkout.PHYSICAL_STANDARD_RELATIVE_PATH","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_checkout.PHYSICAL_STANDARD_RELATIVE_PATH","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-2b20ae1982dd5b39","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_checkout.py","route_id":"route-d7705533e8467092","origin_key":"export:perovskite_sim.experiments.one_dimensional_mechanism_r1_checkout.R1CheckoutContext","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_checkout.R1CheckoutContext","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.one_dimensional_mechanism_r1_checkout","callable":true}, +{"id":"export-66c39f4301a41f2a","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_checkout.py","route_id":"route-d7705533e8467092","origin_key":"export:perovskite_sim.experiments.one_dimensional_mechanism_r1_checkout.R1CheckoutError","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_checkout.R1CheckoutError","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.one_dimensional_mechanism_r1_checkout","callable":true}, +{"id":"export-d30e898bddade7f6","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_checkout.py","route_id":"route-d7705533e8467092","origin_key":"export:perovskite_sim.experiments.one_dimensional_mechanism_r1_checkout.R1_SOURCE_DEPENDENCIES","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_checkout.R1_SOURCE_DEPENDENCIES","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-7203bedba21a5686","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_checkout.py","route_id":"route-d7705533e8467092","origin_key":"export:perovskite_sim.experiments.one_dimensional_mechanism_r1_checkout.REQUIRED_SOURCE_ANCHORS","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_checkout.REQUIRED_SOURCE_ANCHORS","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-31aa7d6064cb4981","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_checkout.py","route_id":"route-d7705533e8467092","origin_key":"export:perovskite_sim.experiments.one_dimensional_mechanism_r1_checkout.current_execution_context","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_checkout.current_execution_context","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.one_dimensional_mechanism_r1_checkout","callable":true}, +{"id":"export-e658ab3dd2551607","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_checkout.py","route_id":"route-d7705533e8467092","origin_key":"export:perovskite_sim.experiments.one_dimensional_mechanism_r1_checkout.git_environment","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_checkout.git_environment","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.one_dimensional_mechanism_r1_checkout","callable":true}, +{"id":"export-b28c738a6f93f16f","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_checkout.py","route_id":"route-d7705533e8467092","origin_key":"export:perovskite_sim.experiments.one_dimensional_mechanism_r1_checkout.record_frozen_source","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_checkout.record_frozen_source","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.one_dimensional_mechanism_r1_checkout","callable":true}, +{"id":"export-e4db81061a759d80","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_checkout.py","route_id":"route-d7705533e8467092","origin_key":"export:perovskite_sim.experiments.one_dimensional_mechanism_r1_checkout.record_source_reads","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_checkout.record_source_reads","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.one_dimensional_mechanism_r1_checkout","callable":true}, +{"id":"export-57029e651dc3597d","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_checkout.py","route_id":"route-d7705533e8467092","origin_key":"export:perovskite_sim.experiments.one_dimensional_mechanism_r1_checkout.require_r1_checkout","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_checkout.require_r1_checkout","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.one_dimensional_mechanism_r1_checkout","callable":true}, +{"id":"export-c13d894a8ca39ae6","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_checkout.py","route_id":"route-d7705533e8467092","origin_key":"export:perovskite_sim.experiments.one_dimensional_mechanism_r1_checkout.source_content_digest","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_checkout.source_content_digest","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.one_dimensional_mechanism_r1_checkout","callable":true}, +{"id":"export-686fbadc095ff6a4","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_checkout.py","route_id":"route-d7705533e8467092","origin_key":"export:perovskite_sim.experiments.one_dimensional_mechanism_r1_checkout.validate_source_coverage","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_checkout.validate_source_coverage","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.one_dimensional_mechanism_r1_checkout","callable":true}, +{"id":"export-a6b8a5e920b4db40","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_convergence.py","route_id":"route-755640e005444d99","origin_key":"export:perovskite_sim.experiments.one_dimensional_mechanism_r1_convergence.ALLOWED_INTERVALS","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_convergence.ALLOWED_INTERVALS","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-853b8524fef77b87","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_convergence.py","route_id":"route-755640e005444d99","origin_key":"export:perovskite_sim.experiments.one_dimensional_mechanism_r1_convergence.ALLOWED_NONLINEAR_FACTORS","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_convergence.ALLOWED_NONLINEAR_FACTORS","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-25531c0a12e2e624","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_convergence.py","route_id":"route-755640e005444d99","origin_key":"export:perovskite_sim.experiments.one_dimensional_mechanism_r1_convergence.ALLOWED_TIME_SUBSTEPS","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_convergence.ALLOWED_TIME_SUBSTEPS","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-60a949caecd1f6c4","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_convergence.py","route_id":"route-755640e005444d99","origin_key":"export:perovskite_sim.experiments.one_dimensional_mechanism_r1_convergence.AMPLITUDES_V","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_convergence.AMPLITUDES_V","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-bdaefcfdf34d080c","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_convergence.py","route_id":"route-755640e005444d99","origin_key":"export:perovskite_sim.experiments.one_dimensional_mechanism_r1_convergence.BASE_INTERVALS","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_convergence.BASE_INTERVALS","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-fbee0055985175de","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_convergence.py","route_id":"route-755640e005444d99","origin_key":"export:perovskite_sim.experiments.one_dimensional_mechanism_r1_convergence.BASE_NONLINEAR_FACTORS","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_convergence.BASE_NONLINEAR_FACTORS","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-8285863e468f0796","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_convergence.py","route_id":"route-755640e005444d99","origin_key":"export:perovskite_sim.experiments.one_dimensional_mechanism_r1_convergence.BASE_TIME_SUBSTEPS","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_convergence.BASE_TIME_SUBSTEPS","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-553381bd5bde78f5","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_convergence.py","route_id":"route-755640e005444d99","origin_key":"export:perovskite_sim.experiments.one_dimensional_mechanism_r1_convergence.R1ConvergenceCase","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_convergence.R1ConvergenceCase","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.one_dimensional_mechanism_r1_convergence","callable":true}, +{"id":"export-aac3b8067f7c9e48","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_convergence.py","route_id":"route-755640e005444d99","origin_key":"export:perovskite_sim.experiments.one_dimensional_mechanism_r1_convergence.R1Response","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_convergence.R1Response","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.one_dimensional_mechanism_r1_convergence","callable":true}, +{"id":"export-ec1981f867a770e0","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_convergence.py","route_id":"route-755640e005444d99","origin_key":"export:perovskite_sim.experiments.one_dimensional_mechanism_r1_convergence.base_convergence_cases","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_convergence.base_convergence_cases","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.one_dimensional_mechanism_r1_convergence","callable":true}, +{"id":"export-ec3539a84c90850a","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_convergence.py","route_id":"route-755640e005444d99","origin_key":"export:perovskite_sim.experiments.one_dimensional_mechanism_r1_convergence.compare_amplitude_halving","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_convergence.compare_amplitude_halving","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.one_dimensional_mechanism_r1_convergence","callable":true}, +{"id":"export-772a91af3fcba88c","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_convergence.py","route_id":"route-755640e005444d99","origin_key":"export:perovskite_sim.experiments.one_dimensional_mechanism_r1_convergence.compare_pair_step_current_charge","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_convergence.compare_pair_step_current_charge","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.one_dimensional_mechanism_r1_convergence","callable":true}, +{"id":"export-d7f8e08d3ba30b64","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_convergence.py","route_id":"route-755640e005444d99","origin_key":"export:perovskite_sim.experiments.one_dimensional_mechanism_r1_convergence.compare_responses","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_convergence.compare_responses","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.one_dimensional_mechanism_r1_convergence","callable":true}, +{"id":"export-1c4cbb5310cddc8f","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_convergence.py","route_id":"route-755640e005444d99","origin_key":"export:perovskite_sim.experiments.one_dimensional_mechanism_r1_convergence.compare_step_current_charge","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_convergence.compare_step_current_charge","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.one_dimensional_mechanism_r1_convergence","callable":true}, +{"id":"export-a86bcf5746626409","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_convergence.py","route_id":"route-755640e005444d99","origin_key":"export:perovskite_sim.experiments.one_dimensional_mechanism_r1_convergence.convergence_cases","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_convergence.convergence_cases","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.one_dimensional_mechanism_r1_convergence","callable":true}, +{"id":"export-90ba6d84d23d69e1","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_convergence.py","route_id":"route-755640e005444d99","origin_key":"export:perovskite_sim.experiments.one_dimensional_mechanism_r1_convergence.observation_times","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_convergence.observation_times","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.one_dimensional_mechanism_r1_convergence","callable":true}, +{"id":"export-ed36b297a8259507","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_convergence.py","route_id":"route-755640e005444d99","origin_key":"export:perovskite_sim.experiments.one_dimensional_mechanism_r1_convergence.pair_step_current_charge_responses","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_convergence.pair_step_current_charge_responses","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.one_dimensional_mechanism_r1_convergence","callable":true}, +{"id":"export-a4ff36c46a3db589","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_convergence.py","route_id":"route-755640e005444d99","origin_key":"export:perovskite_sim.experiments.one_dimensional_mechanism_r1_convergence.step_current_charge_responses","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_convergence.step_current_charge_responses","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.one_dimensional_mechanism_r1_convergence","callable":true}, +{"id":"export-d5117bd31ba75be1","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_convergence.py","route_id":"route-755640e005444d99","origin_key":"export:perovskite_sim.experiments.one_dimensional_mechanism_r1_convergence.validate_single_axis_comparison","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_convergence.validate_single_axis_comparison","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.one_dimensional_mechanism_r1_convergence","callable":true}, +{"id":"export-123e24293b578ce9","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_convergence.py","route_id":"route-755640e005444d99","origin_key":"export:perovskite_sim.experiments.one_dimensional_mechanism_r1_convergence.validate_time_substeps","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_convergence.validate_time_substeps","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.one_dimensional_mechanism_r1_convergence","callable":true}, +{"id":"export-1d3bcc38c4a4ddbf","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_dynamics.py","route_id":"route-575c23ed996d11ae","origin_key":"export:perovskite_sim.experiments.one_dimensional_mechanism_r1_dynamics.ControlledPhysicalInterfaceIonSystem","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_dynamics.ControlledPhysicalInterfaceIonSystem","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.one_dimensional_mechanism_r1_dynamics","callable":true}, +{"id":"export-a5933839b2f3e2ef","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_dynamics.py","route_id":"route-575c23ed996d11ae","origin_key":"export:perovskite_sim.experiments.one_dimensional_mechanism_r1_dynamics.R1DynamicsControls","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_dynamics.R1DynamicsControls","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.one_dimensional_mechanism_r1_dynamics","callable":true}, +{"id":"export-2536eaa63acac05a","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift.py","route_id":"route-ceb58bb22e2c813d","origin_key":"export:perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift.InputLiftState","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift.InputLiftState","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift","callable":true}, +{"id":"export-9cb58c56fa0ca2ab","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift.py","route_id":"route-ceb58bb22e2c813d","origin_key":"export:perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift.PRIMARY_FIELDS","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift.PRIMARY_FIELDS","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-ede256e03ae058d7","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift.py","route_id":"route-ceb58bb22e2c813d","origin_key":"export:perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift.REPRESENTATION","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift.REPRESENTATION","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-d5efddd81ca4e593","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift.py","route_id":"route-ceb58bb22e2c813d","origin_key":"export:perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift.RebasedInputLiftR1System","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift.RebasedInputLiftR1System","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift","callable":true}, +{"id":"export-7e595574f00c3f90","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift.py","route_id":"route-ceb58bb22e2c813d","origin_key":"export:perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift.from_accepted_state","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift.from_accepted_state","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift","callable":true}, +{"id":"export-6d677ed4c52c6c8b","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift.py","route_id":"route-ceb58bb22e2c813d","origin_key":"export:perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift.from_saved_step","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift.from_saved_step","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift","callable":true}, +{"id":"export-bbfbec20a6332c68","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift.py","route_id":"route-ceb58bb22e2c813d","origin_key":"export:perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift.independent_currents","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift.independent_currents","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift","callable":true}, +{"id":"export-93d07b1c5f0d9154","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift.py","route_id":"route-ceb58bb22e2c813d","origin_key":"export:perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift.independent_physics_row","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift.independent_physics_row","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift","callable":true}, +{"id":"export-3a4c8e0e30ed220e","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift.py","route_id":"route-ceb58bb22e2c813d","origin_key":"export:perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift.primary_inputs","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift.primary_inputs","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift","callable":true}, +{"id":"export-f974cc056ecaff21","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift.py","route_id":"route-ceb58bb22e2c813d","origin_key":"export:perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift.snapshot","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift.snapshot","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift","callable":true}, +{"id":"export-9519f65b69758678","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift_codec.py","route_id":"route-67f4fa91e8d361c2","origin_key":"export:perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_codec.InputLiftCheckpointError","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_codec.InputLiftCheckpointError","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_codec","callable":true}, +{"id":"export-1f041f80fd9ed1f8","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift_codec.py","route_id":"route-67f4fa91e8d361c2","origin_key":"export:perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_codec.SCHEMA","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_codec.SCHEMA","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-72d41faab7df35e4","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift_codec.py","route_id":"route-67f4fa91e8d361c2","origin_key":"export:perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_codec.import_snapshot","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_codec.import_snapshot","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_codec","callable":true}, +{"id":"export-9e60d86f148b8428","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift_codec.py","route_id":"route-67f4fa91e8d361c2","origin_key":"export:perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_codec.replay_saved_step","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_codec.replay_saved_step","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_codec","callable":true}, +{"id":"export-b48fd1ab42492a8b","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift_codec.py","route_id":"route-67f4fa91e8d361c2","origin_key":"export:perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_codec.restore_checkpoint","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_codec.restore_checkpoint","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_codec","callable":true}, +{"id":"export-97e168b8c9c69a0a","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift_codec.py","route_id":"route-67f4fa91e8d361c2","origin_key":"export:perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_codec.save_checkpoint","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_codec.save_checkpoint","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_codec","callable":true}, +{"id":"export-61db69a7e9220c3a","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift_continuous.py","route_id":"route-94c08e51c92c8c08","origin_key":"export:perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_continuous.StepResult","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_continuous.StepResult","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_continuous","callable":true}, +{"id":"export-d497eebc9cbc8ae5","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift_continuous.py","route_id":"route-94c08e51c92c8c08","origin_key":"export:perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_continuous.advance_step","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_continuous.advance_step","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_continuous","callable":true}, +{"id":"export-2455582ff352a621","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift_continuous.py","route_id":"route-94c08e51c92c8c08","origin_key":"export:perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_continuous.advance_steps","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_continuous.advance_steps","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_continuous","callable":true}, +{"id":"export-802273e0cf9d1122","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift_continuous.py","route_id":"route-94c08e51c92c8c08","origin_key":"export:perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_continuous.assess_step","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_continuous.assess_step","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_continuous","callable":true}, +{"id":"export-cf659e69ee70f7e7","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift_continuous.py","route_id":"route-94c08e51c92c8c08","origin_key":"export:perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_continuous.validate_schedule","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_continuous.validate_schedule","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_continuous","callable":true}, +{"id":"export-7c30c3e29276a201","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift_reference.py","route_id":"route-7e98c4ac49886b90","origin_key":"export:perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_reference.RebasedIonReferenceInputs","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_reference.RebasedIonReferenceInputs","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_reference","callable":true}, +{"id":"export-90e39dd2ed6329a4","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift_reference.py","route_id":"route-7e98c4ac49886b90","origin_key":"export:perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_reference.make_inputs","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_reference.make_inputs","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_reference","callable":true}, +{"id":"export-c00929d5f3d23532","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift_reference.py","route_id":"route-7e98c4ac49886b90","origin_key":"export:perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_reference.solve_rebased_ion_reference","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_reference.solve_rebased_ion_reference","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_reference","callable":true}, +{"id":"export-af91bd5900bd8916","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_local_carrier.py","route_id":"route-fe7edc51ffa8a34f","origin_key":"export:perovskite_sim.experiments.one_dimensional_mechanism_r1_local_carrier.LocalCarrierEvaluation","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_local_carrier.LocalCarrierEvaluation","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.one_dimensional_mechanism_r1_local_carrier","callable":true}, +{"id":"export-725f8a34bc163706","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_local_carrier.py","route_id":"route-fe7edc51ffa8a34f","origin_key":"export:perovskite_sim.experiments.one_dimensional_mechanism_r1_local_carrier.LocalCarrierInputs","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_local_carrier.LocalCarrierInputs","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.one_dimensional_mechanism_r1_local_carrier","callable":true}, +{"id":"export-203da60007d33f85","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_local_carrier.py","route_id":"route-fe7edc51ffa8a34f","origin_key":"export:perovskite_sim.experiments.one_dimensional_mechanism_r1_local_carrier.assemble_r1_carrier_source","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_local_carrier.assemble_r1_carrier_source","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.one_dimensional_mechanism_r1_local_carrier","callable":true}, +{"id":"export-6b9809def7b4e01d","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_local_carrier.py","route_id":"route-fe7edc51ffa8a34f","origin_key":"export:perovskite_sim.experiments.one_dimensional_mechanism_r1_local_carrier.build_r1_local_states","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_local_carrier.build_r1_local_states","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.one_dimensional_mechanism_r1_local_carrier","callable":true}, +{"id":"export-c5c5551a71239235","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_local_carrier.py","route_id":"route-fe7edc51ffa8a34f","origin_key":"export:perovskite_sim.experiments.one_dimensional_mechanism_r1_local_carrier.carrier_data","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_local_carrier.carrier_data","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.one_dimensional_mechanism_r1_local_carrier","callable":true}, +{"id":"export-db10b1c0d848690d","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_local_carrier.py","route_id":"route-fe7edc51ffa8a34f","origin_key":"export:perovskite_sim.experiments.one_dimensional_mechanism_r1_local_carrier.evaluate_interface_from_fine","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_local_carrier.evaluate_interface_from_fine","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.one_dimensional_mechanism_r1_local_carrier","callable":true}, +{"id":"export-d95e3dcd4bea8cfe","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_local_carrier.py","route_id":"route-fe7edc51ffa8a34f","origin_key":"export:perovskite_sim.experiments.one_dimensional_mechanism_r1_local_carrier.evaluate_local_carrier_inputs","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_local_carrier.evaluate_local_carrier_inputs","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.one_dimensional_mechanism_r1_local_carrier","callable":true}, +{"id":"export-9edaf6f69762de39","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_local_carrier.py","route_id":"route-fe7edc51ffa8a34f","origin_key":"export:perovskite_sim.experiments.one_dimensional_mechanism_r1_local_carrier.fine_local_carrier_inputs","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_local_carrier.fine_local_carrier_inputs","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.one_dimensional_mechanism_r1_local_carrier","callable":true}, +{"id":"export-ccd0d60804278ddb","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_local_carrier.py","route_id":"route-fe7edc51ffa8a34f","origin_key":"export:perovskite_sim.experiments.one_dimensional_mechanism_r1_local_carrier.float_local_carrier_inputs","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_local_carrier.float_local_carrier_inputs","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.one_dimensional_mechanism_r1_local_carrier","callable":true}, +{"id":"export-38d8b7b63134d6d0","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_local_carrier.py","route_id":"route-fe7edc51ffa8a34f","origin_key":"export:perovskite_sim.experiments.one_dimensional_mechanism_r1_local_carrier.independent_interface_evaluation","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_local_carrier.independent_interface_evaluation","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.one_dimensional_mechanism_r1_local_carrier","callable":true}, +{"id":"export-52088226c94c5e7b","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_local_carrier.py","route_id":"route-fe7edc51ffa8a34f","origin_key":"export:perovskite_sim.experiments.one_dimensional_mechanism_r1_local_carrier.interface_carrier_conduction_pair","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_local_carrier.interface_carrier_conduction_pair","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.one_dimensional_mechanism_r1_local_carrier","callable":true}, +{"id":"export-8881559c48517cd9","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_local_carrier.py","route_id":"route-fe7edc51ffa8a34f","origin_key":"export:perovskite_sim.experiments.one_dimensional_mechanism_r1_local_carrier.r1_carrier_rate_fields","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_local_carrier.r1_carrier_rate_fields","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.one_dimensional_mechanism_r1_local_carrier","callable":true}, +{"id":"export-bc4ac7496d9ac9f3","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_local_carrier.py","route_id":"route-fe7edc51ffa8a34f","origin_key":"export:perovskite_sim.experiments.one_dimensional_mechanism_r1_local_carrier.r1_local_carrier_jacobians","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_local_carrier.r1_local_carrier_jacobians","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.one_dimensional_mechanism_r1_local_carrier","callable":true}, +{"id":"export-2f21368cdd5dbdda","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_local_carrier.py","route_id":"route-fe7edc51ffa8a34f","origin_key":"export:perovskite_sim.experiments.one_dimensional_mechanism_r1_local_carrier.r1_reported_interface_currents","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_local_carrier.r1_reported_interface_currents","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.one_dimensional_mechanism_r1_local_carrier","callable":true}, +{"id":"export-a399546519addc0d","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_local_carrier.py","route_id":"route-fe7edc51ffa8a34f","origin_key":"export:perovskite_sim.experiments.one_dimensional_mechanism_r1_local_carrier.without_local_exchange","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_local_carrier.without_local_exchange","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.one_dimensional_mechanism_r1_local_carrier","callable":true}, +{"id":"export-1c613dda6cd310e0","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_precision_state.py","route_id":"route-479bfc89ba54017b","origin_key":"export:perovskite_sim.experiments.one_dimensional_mechanism_r1_precision_state.R1CommonStatePair","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_precision_state.R1CommonStatePair","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.one_dimensional_mechanism_r1_precision_state","callable":true}, +{"id":"export-88ad25bce3fee256","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_precision_state.py","route_id":"route-479bfc89ba54017b","origin_key":"export:perovskite_sim.experiments.one_dimensional_mechanism_r1_precision_state.REPRESENTATION","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_precision_state.REPRESENTATION","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-e9bd2bcb5cd735df","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_precision_state.py","route_id":"route-479bfc89ba54017b","origin_key":"export:perovskite_sim.experiments.one_dimensional_mechanism_r1_precision_state.SCHEMA","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_precision_state.SCHEMA","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-6ca893a470a60c4e","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_precision_state.py","route_id":"route-479bfc89ba54017b","origin_key":"export:perovskite_sim.experiments.one_dimensional_mechanism_r1_precision_state.build_hooks","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_precision_state.build_hooks","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.one_dimensional_mechanism_r1_precision_state","callable":true}, +{"id":"export-ee8c38dd72c3c0a4","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_protocol.py","route_id":"route-5574a77d963b18e7","origin_key":"export:perovskite_sim.experiments.one_dimensional_mechanism_r1_protocol.R1RunError","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_protocol.R1RunError","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.one_dimensional_mechanism_r1_protocol","callable":true}, +{"id":"export-f2c7d3407a4f29fc","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_protocol.py","route_id":"route-5574a77d963b18e7","origin_key":"export:perovskite_sim.experiments.one_dimensional_mechanism_r1_protocol.check_zero_excitation","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_protocol.check_zero_excitation","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.one_dimensional_mechanism_r1_protocol","callable":true}, +{"id":"export-a6e319bcaf566e50","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_protocol.py","route_id":"route-5574a77d963b18e7","origin_key":"export:perovskite_sim.experiments.one_dimensional_mechanism_r1_protocol.r1_policy","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_protocol.r1_policy","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.one_dimensional_mechanism_r1_protocol","callable":true}, +{"id":"export-2bb47a74f754df23","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_protocol.py","route_id":"route-5574a77d963b18e7","origin_key":"export:perovskite_sim.experiments.one_dimensional_mechanism_r1_protocol.run_r1_step","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_protocol.run_r1_step","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.one_dimensional_mechanism_r1_protocol","callable":true}, +{"id":"export-fe0684eeab40a400","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_qualification.py","route_id":"route-0ecc7ee40a381355","origin_key":"export:perovskite_sim.experiments.one_dimensional_mechanism_r1_qualification.DOUBLE_DOMAIN_PREREQUISITES","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_qualification.DOUBLE_DOMAIN_PREREQUISITES","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-b36f1c53d8956913","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_qualification.py","route_id":"route-0ecc7ee40a381355","origin_key":"export:perovskite_sim.experiments.one_dimensional_mechanism_r1_qualification.SCOPE_FIELDS","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_qualification.SCOPE_FIELDS","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-84e7837c00047af8","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_qualification.py","route_id":"route-0ecc7ee40a381355","origin_key":"export:perovskite_sim.experiments.one_dimensional_mechanism_r1_qualification.assess_current_error_budget","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_qualification.assess_current_error_budget","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.one_dimensional_mechanism_r1_qualification","callable":true}, +{"id":"export-dfedeb8442062cb4","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_qualification.py","route_id":"route-0ecc7ee40a381355","origin_key":"export:perovskite_sim.experiments.one_dimensional_mechanism_r1_qualification.assess_double_domain_prerequisites","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_qualification.assess_double_domain_prerequisites","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.one_dimensional_mechanism_r1_qualification","callable":true}, +{"id":"export-a632024135950aa3","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_qualification.py","route_id":"route-0ecc7ee40a381355","origin_key":"export:perovskite_sim.experiments.one_dimensional_mechanism_r1_qualification.assess_frequency_coverage","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_qualification.assess_frequency_coverage","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.one_dimensional_mechanism_r1_qualification","callable":true}, +{"id":"export-413bf18d85e9e882","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_qualification.py","route_id":"route-0ecc7ee40a381355","origin_key":"export:perovskite_sim.experiments.one_dimensional_mechanism_r1_qualification.assess_transient_linearity","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_qualification.assess_transient_linearity","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.one_dimensional_mechanism_r1_qualification","callable":true}, +{"id":"export-8c0c84174dabbcfd","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_qualification.py","route_id":"route-0ecc7ee40a381355","origin_key":"export:perovskite_sim.experiments.one_dimensional_mechanism_r1_qualification.device_response_gate","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_qualification.device_response_gate","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.one_dimensional_mechanism_r1_qualification","callable":true}, +{"id":"export-a289f0bec2850125","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_qualification.py","route_id":"route-0ecc7ee40a381355","origin_key":"export:perovskite_sim.experiments.one_dimensional_mechanism_r1_qualification.evidence_digest","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_qualification.evidence_digest","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.one_dimensional_mechanism_r1_qualification","callable":true}, +{"id":"export-b956e28c2442631c","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_qualification.py","route_id":"route-0ecc7ee40a381355","origin_key":"export:perovskite_sim.experiments.one_dimensional_mechanism_r1_qualification.qualification_scope","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_qualification.qualification_scope","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.one_dimensional_mechanism_r1_qualification","callable":true}, +{"id":"export-9610e3d24f42be38","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_qualification.py","route_id":"route-0ecc7ee40a381355","origin_key":"export:perovskite_sim.experiments.one_dimensional_mechanism_r1_qualification.select_response_amplitude","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_qualification.select_response_amplitude","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.one_dimensional_mechanism_r1_qualification","callable":true}, +{"id":"export-dc7e2bff1a8d9c28","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_response.py","route_id":"route-16e41e21eea34bf8","origin_key":"export:perovskite_sim.experiments.one_dimensional_mechanism_r1_response.R1DCResponse","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_response.R1DCResponse","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.one_dimensional_mechanism_r1_response","callable":true}, +{"id":"export-f6646b6cba2ad341","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_response.py","route_id":"route-16e41e21eea34bf8","origin_key":"export:perovskite_sim.experiments.one_dimensional_mechanism_r1_response.R1ResponseError","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_response.R1ResponseError","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.one_dimensional_mechanism_r1_response","callable":true}, +{"id":"export-913f2f8a77aac94e","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_response.py","route_id":"route-16e41e21eea34bf8","origin_key":"export:perovskite_sim.experiments.one_dimensional_mechanism_r1_response.assess_small_signal_response","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_response.assess_small_signal_response","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.one_dimensional_mechanism_r1_response","callable":true}, +{"id":"export-01268091d37a7382","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_response.py","route_id":"route-16e41e21eea34bf8","origin_key":"export:perovskite_sim.experiments.one_dimensional_mechanism_r1_response.compare_reconstructed_response","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_response.compare_reconstructed_response","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.one_dimensional_mechanism_r1_response","callable":true}, +{"id":"export-781e2125a83fcf22","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_response.py","route_id":"route-16e41e21eea34bf8","origin_key":"export:perovskite_sim.experiments.one_dimensional_mechanism_r1_response.compare_transient_tail","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_response.compare_transient_tail","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.one_dimensional_mechanism_r1_response","callable":true}, +{"id":"export-7df237bf255c4703","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_response.py","route_id":"route-16e41e21eea34bf8","origin_key":"export:perovskite_sim.experiments.one_dimensional_mechanism_r1_response.dc_amplitude_endpoint_study","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_response.dc_amplitude_endpoint_study","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.one_dimensional_mechanism_r1_response","callable":true}, +{"id":"export-6245877128faf63c","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_response.py","route_id":"route-16e41e21eea34bf8","origin_key":"export:perovskite_sim.experiments.one_dimensional_mechanism_r1_response.dc_conductance_study","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_response.dc_conductance_study","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.one_dimensional_mechanism_r1_response","callable":true}, +{"id":"export-42332fa9b13d89cc","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_response.py","route_id":"route-16e41e21eea34bf8","origin_key":"export:perovskite_sim.experiments.one_dimensional_mechanism_r1_response.descriptor_frequency_response","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_response.descriptor_frequency_response","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.one_dimensional_mechanism_r1_response","callable":true}, +{"id":"export-5bb71db2381ff5f4","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_response.py","route_id":"route-16e41e21eea34bf8","origin_key":"export:perovskite_sim.experiments.one_dimensional_mechanism_r1_response.physical_observations","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_response.physical_observations","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.one_dimensional_mechanism_r1_response","callable":true}, +{"id":"export-e1339d0a0b0d93f3","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_response.py","route_id":"route-16e41e21eea34bf8","origin_key":"export:perovskite_sim.experiments.one_dimensional_mechanism_r1_response.small_signal_response","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_response.small_signal_response","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.one_dimensional_mechanism_r1_response","callable":true}, +{"id":"export-ed8f185e57311484","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_response.py","route_id":"route-16e41e21eea34bf8","origin_key":"export:perovskite_sim.experiments.one_dimensional_mechanism_r1_response.solve_controlled_dc","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_response.solve_controlled_dc","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.one_dimensional_mechanism_r1_response","callable":true}, +{"id":"export-13120b4b06e3460f","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_response.py","route_id":"route-16e41e21eea34bf8","origin_key":"export:perovskite_sim.experiments.one_dimensional_mechanism_r1_response.verify_response_content","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_response.verify_response_content","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.one_dimensional_mechanism_r1_response","callable":true}, +{"id":"export-5d5350e4cc0aac95","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_spatial.py","route_id":"route-5db8498b026fe96d","origin_key":"export:perovskite_sim.experiments.one_dimensional_mechanism_r1_spatial.ConservativeIonProfile","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_spatial.ConservativeIonProfile","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.one_dimensional_mechanism_r1_spatial","callable":true}, +{"id":"export-dc37f9c1b567030a","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_spatial.py","route_id":"route-5db8498b026fe96d","origin_key":"export:perovskite_sim.experiments.one_dimensional_mechanism_r1_spatial.R1SpatialResponses","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_spatial.R1SpatialResponses","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.one_dimensional_mechanism_r1_spatial","callable":true}, +{"id":"export-630c73d8f5d7f291","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_spatial.py","route_id":"route-5db8498b026fe96d","origin_key":"export:perovskite_sim.experiments.one_dimensional_mechanism_r1_spatial.compare_convergence_responses","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_spatial.compare_convergence_responses","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.one_dimensional_mechanism_r1_spatial","callable":true}, +{"id":"export-a4c6c5963220db5b","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_spatial.py","route_id":"route-5db8498b026fe96d","origin_key":"export:perovskite_sim.experiments.one_dimensional_mechanism_r1_spatial.compare_spatial_responses","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_spatial.compare_spatial_responses","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.one_dimensional_mechanism_r1_spatial","callable":true}, +{"id":"export-056698edcf20117b","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_spatial.py","route_id":"route-5db8498b026fe96d","origin_key":"export:perovskite_sim.experiments.one_dimensional_mechanism_r1_spatial.sample_r1_state","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_spatial.sample_r1_state","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.one_dimensional_mechanism_r1_spatial","callable":true}, +{"id":"export-feb73b6d45c0024d","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_spatial.py","route_id":"route-5db8498b026fe96d","origin_key":"export:perovskite_sim.experiments.one_dimensional_mechanism_r1_spatial.sample_sg_density","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_spatial.sample_sg_density","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.one_dimensional_mechanism_r1_spatial","callable":true}, +{"id":"export-4b025104eba1e409","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_spatial.py","route_id":"route-5db8498b026fe96d","origin_key":"export:perovskite_sim.experiments.one_dimensional_mechanism_r1_spatial.spatial_responses_from_step","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_spatial.spatial_responses_from_step","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.one_dimensional_mechanism_r1_spatial","callable":true}, +{"id":"export-8233a41991a0a511","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_state.py","route_id":"route-3437e4b3d969b4d5","origin_key":"export:perovskite_sim.experiments.one_dimensional_mechanism_r1_state.R1PreparedState","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_state.R1PreparedState","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.one_dimensional_mechanism_r1_state","callable":true}, +{"id":"export-6f81867f026274cd","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_state.py","route_id":"route-3437e4b3d969b4d5","origin_key":"export:perovskite_sim.experiments.one_dimensional_mechanism_r1_state.R1StateError","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_state.R1StateError","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.one_dimensional_mechanism_r1_state","callable":true}, +{"id":"export-78c958a92cfb8aed","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_state.py","route_id":"route-3437e4b3d969b4d5","origin_key":"export:perovskite_sim.experiments.one_dimensional_mechanism_r1_state.equilibrium_checks","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_state.equilibrium_checks","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.one_dimensional_mechanism_r1_state","callable":true}, +{"id":"export-99bf4a384aab1e99","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_state.py","route_id":"route-3437e4b3d969b4d5","origin_key":"export:perovskite_sim.experiments.one_dimensional_mechanism_r1_state.prepare_common_state","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_state.prepare_common_state","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.one_dimensional_mechanism_r1_state","callable":true}, +{"id":"export-76c23cdd6a00a73a","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_state.py","route_id":"route-3437e4b3d969b4d5","origin_key":"export:perovskite_sim.experiments.one_dimensional_mechanism_r1_state.restore_common_state","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_state.restore_common_state","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.one_dimensional_mechanism_r1_state","callable":true}, +{"id":"export-37a517a34c78e0a2","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_state.py","route_id":"route-3437e4b3d969b4d5","origin_key":"export:perovskite_sim.experiments.one_dimensional_mechanism_r1_state.verify_prepared_physics","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_state.verify_prepared_physics","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.one_dimensional_mechanism_r1_state","callable":true}, +{"id":"export-1f3ecea7a02a74de","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_study_response.py","route_id":"route-dd89a27c87e2e3b2","origin_key":"export:perovskite_sim.experiments.one_dimensional_mechanism_r1_study_response.frequency_window_report","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_study_response.frequency_window_report","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.one_dimensional_mechanism_r1_study_response","callable":true}, +{"id":"export-bec9abf4f93d9c8d","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_study_response.py","route_id":"route-dd89a27c87e2e3b2","origin_key":"export:perovskite_sim.experiments.one_dimensional_mechanism_r1_study_response.reconstruct_study_response","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_study_response.reconstruct_study_response","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.one_dimensional_mechanism_r1_study_response","callable":true}, +{"id":"export-9fae08ce02af36c3","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_window.py","route_id":"route-1c4ca2bc1a62b894","origin_key":"export:perovskite_sim.experiments.one_dimensional_mechanism_r1_window.WINDOW_SCHEMA","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_window.WINDOW_SCHEMA","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-e79929eeb6d3a4df","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_window.py","route_id":"route-1c4ca2bc1a62b894","origin_key":"export:perovskite_sim.experiments.one_dimensional_mechanism_r1_window.build_window_spec","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_window.build_window_spec","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.one_dimensional_mechanism_r1_window","callable":true}, +{"id":"export-178b2befa339a4fc","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_window.py","route_id":"route-1c4ca2bc1a62b894","origin_key":"export:perovskite_sim.experiments.one_dimensional_mechanism_r1_window.validate_window_relation","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_window.validate_window_relation","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.one_dimensional_mechanism_r1_window","callable":true}, +{"id":"export-54197bc46eca4f77","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_window.py","route_id":"route-1c4ca2bc1a62b894","origin_key":"export:perovskite_sim.experiments.one_dimensional_mechanism_r1_window.validate_window_spec","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_window.validate_window_spec","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.one_dimensional_mechanism_r1_window","callable":true}, +{"id":"export-21df28d6b8089e6c","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_window.py","route_id":"route-1c4ca2bc1a62b894","origin_key":"export:perovskite_sim.experiments.one_dimensional_mechanism_r1_window.window_spec_digest","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_window.window_spec_digest","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.one_dimensional_mechanism_r1_window","callable":true}, +{"id":"export-144a315f4946be37","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/protocol.py","route_id":"route-ca59b5ef4a3f6fa3","origin_key":"export:perovskite_sim.experiments.protocol.ACExcitation","qualified_name":"perovskite_sim.experiments.protocol.ACExcitation","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.protocol","callable":true}, +{"id":"export-32143c65ac57905a","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/protocol.py","route_id":"route-ca59b5ef4a3f6fa3","origin_key":"export:perovskite_sim.experiments.protocol.DCSettleCriterion","qualified_name":"perovskite_sim.experiments.protocol.DCSettleCriterion","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.protocol","callable":true}, +{"id":"export-174bf8d66ff05b36","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/protocol.py","route_id":"route-ca59b5ef4a3f6fa3","origin_key":"export:perovskite_sim.experiments.protocol.ExperimentProtocol","qualified_name":"perovskite_sim.experiments.protocol.ExperimentProtocol","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.protocol","callable":true}, +{"id":"export-be0211afb8ef7531","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/protocol.py","route_id":"route-ca59b5ef4a3f6fa3","origin_key":"export:perovskite_sim.experiments.protocol.ExperimentProtocolError","qualified_name":"perovskite_sim.experiments.protocol.ExperimentProtocolError","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.protocol","callable":true}, +{"id":"export-ef8f26a3cab3aff4","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/protocol.py","route_id":"route-ca59b5ef4a3f6fa3","origin_key":"export:perovskite_sim.experiments.protocol.IlluminationStep","qualified_name":"perovskite_sim.experiments.protocol.IlluminationStep","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.protocol","callable":true}, +{"id":"export-90565fdd08e95279","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/protocol.py","route_id":"route-ca59b5ef4a3f6fa3","origin_key":"export:perovskite_sim.experiments.protocol.ImplicitProtocolError","qualified_name":"perovskite_sim.experiments.protocol.ImplicitProtocolError","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.protocol","callable":true}, +{"id":"export-7b49869f4603251a","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/protocol.py","route_id":"route-ca59b5ef4a3f6fa3","origin_key":"export:perovskite_sim.experiments.protocol.ProtocolMismatchError","qualified_name":"perovskite_sim.experiments.protocol.ProtocolMismatchError","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.protocol","callable":true}, +{"id":"export-ccc659b8e84e1e31","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/protocol.py","route_id":"route-ca59b5ef4a3f6fa3","origin_key":"export:perovskite_sim.experiments.protocol.ProtocolMode","qualified_name":"perovskite_sim.experiments.protocol.ProtocolMode","evidence_level":"cold_attribute_resolution","resolved_origin":"typing","callable":true}, +{"id":"export-4e847ac987e6e074","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/protocol.py","route_id":"route-ca59b5ef4a3f6fa3","origin_key":"export:perovskite_sim.experiments.protocol.SamplingProtocol","qualified_name":"perovskite_sim.experiments.protocol.SamplingProtocol","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.protocol","callable":true}, +{"id":"export-b7d71ac66635f2b6","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/protocol.py","route_id":"route-ca59b5ef4a3f6fa3","origin_key":"export:perovskite_sim.experiments.protocol.ScanProtocol","qualified_name":"perovskite_sim.experiments.protocol.ScanProtocol","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.protocol","callable":true}, +{"id":"export-1f822137aff4c034","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/protocol.py","route_id":"route-ca59b5ef4a3f6fa3","origin_key":"export:perovskite_sim.experiments.protocol.VocSearchProtocol","qualified_name":"perovskite_sim.experiments.protocol.VocSearchProtocol","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.protocol","callable":true}, +{"id":"export-d41c154294e9f2b7","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/protocol.py","route_id":"route-ca59b5ef4a3f6fa3","origin_key":"export:perovskite_sim.experiments.protocol.resolve_experiment_protocol","qualified_name":"perovskite_sim.experiments.protocol.resolve_experiment_protocol","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.protocol","callable":true}, +{"id":"export-04ecd3780b5295f4","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/quasi_fermi_impedance.py","route_id":"route-e8ca7a89ef09d514","origin_key":"export:perovskite_sim.experiments.quasi_fermi_impedance.DC_CONTINUATION_STEP_V","qualified_name":"perovskite_sim.experiments.quasi_fermi_impedance.DC_CONTINUATION_STEP_V","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-361ac48a1394003e","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/quasi_fermi_impedance.py","route_id":"route-e8ca7a89ef09d514","origin_key":"export:perovskite_sim.experiments.quasi_fermi_impedance.DEFAULT_MAX_BACKWARD_ERROR","qualified_name":"perovskite_sim.experiments.quasi_fermi_impedance.DEFAULT_MAX_BACKWARD_ERROR","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-dd75d3efe7f9abbe","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/quasi_fermi_impedance.py","route_id":"route-e8ca7a89ef09d514","origin_key":"export:perovskite_sim.experiments.quasi_fermi_impedance.DEFAULT_MAX_RELATIVE_FACE_SPREAD","qualified_name":"perovskite_sim.experiments.quasi_fermi_impedance.DEFAULT_MAX_RELATIVE_FACE_SPREAD","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-85343851bcf6cde1","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/quasi_fermi_impedance.py","route_id":"route-e8ca7a89ef09d514","origin_key":"export:perovskite_sim.experiments.quasi_fermi_impedance.MAX_LINEAR_PERTURBATION_V","qualified_name":"perovskite_sim.experiments.quasi_fermi_impedance.MAX_LINEAR_PERTURBATION_V","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-78310be79f306d74","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/quasi_fermi_impedance.py","route_id":"route-e8ca7a89ef09d514","origin_key":"export:perovskite_sim.experiments.quasi_fermi_impedance.QuasiFermiImpedanceError","qualified_name":"perovskite_sim.experiments.quasi_fermi_impedance.QuasiFermiImpedanceError","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.quasi_fermi_impedance","callable":true}, +{"id":"export-f0db3a4135be70a6","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/quasi_fermi_impedance.py","route_id":"route-e8ca7a89ef09d514","origin_key":"export:perovskite_sim.experiments.quasi_fermi_impedance.QuasiFermiImpedanceResult","qualified_name":"perovskite_sim.experiments.quasi_fermi_impedance.QuasiFermiImpedanceResult","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.quasi_fermi_impedance","callable":true}, +{"id":"export-268ca43d9be6f0a4","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/quasi_fermi_impedance.py","route_id":"route-e8ca7a89ef09d514","origin_key":"export:perovskite_sim.experiments.quasi_fermi_impedance.run_quasi_fermi_impedance","qualified_name":"perovskite_sim.experiments.quasi_fermi_impedance.run_quasi_fermi_impedance","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.quasi_fermi_impedance","callable":true}, +{"id":"export-ae51f524e9fbcd35","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/quasi_fermi_steady_state.py","route_id":"route-1c35c1275d46d863","origin_key":"export:perovskite_sim.experiments.quasi_fermi_steady_state.DEFAULT_ILLUMINATION_STEPS","qualified_name":"perovskite_sim.experiments.quasi_fermi_steady_state.DEFAULT_ILLUMINATION_STEPS","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-cab35fa9be8faf09","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/quasi_fermi_steady_state.py","route_id":"route-1c35c1275d46d863","origin_key":"export:perovskite_sim.experiments.quasi_fermi_steady_state.EquilibriumReferencedInterfaceChargeDarkReference","qualified_name":"perovskite_sim.experiments.quasi_fermi_steady_state.EquilibriumReferencedInterfaceChargeDarkReference","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.quasi_fermi_steady_state","callable":true}, +{"id":"export-272f6bb7b4ec967e","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/quasi_fermi_steady_state.py","route_id":"route-1c35c1275d46d863","origin_key":"export:perovskite_sim.experiments.quasi_fermi_steady_state.QuasiFermiJVSweepResult","qualified_name":"perovskite_sim.experiments.quasi_fermi_steady_state.QuasiFermiJVSweepResult","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.quasi_fermi_steady_state","callable":true}, +{"id":"export-58dcc45f0d64ca0e","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/quasi_fermi_steady_state.py","route_id":"route-1c35c1275d46d863","origin_key":"export:perovskite_sim.experiments.quasi_fermi_steady_state.QuasiFermiSteadyStateError","qualified_name":"perovskite_sim.experiments.quasi_fermi_steady_state.QuasiFermiSteadyStateError","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.quasi_fermi_steady_state","callable":true}, +{"id":"export-f11a726317c06531","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/quasi_fermi_steady_state.py","route_id":"route-1c35c1275d46d863","origin_key":"export:perovskite_sim.experiments.quasi_fermi_steady_state.QuasiFermiSteadyStateResult","qualified_name":"perovskite_sim.experiments.quasi_fermi_steady_state.QuasiFermiSteadyStateResult","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.quasi_fermi_steady_state","callable":true}, +{"id":"export-896bf45f3e997858","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/quasi_fermi_steady_state.py","route_id":"route-1c35c1275d46d863","origin_key":"export:perovskite_sim.experiments.quasi_fermi_steady_state.build_equilibrium_referenced_interface_charge_dark_reference","qualified_name":"perovskite_sim.experiments.quasi_fermi_steady_state.build_equilibrium_referenced_interface_charge_dark_reference","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.quasi_fermi_steady_state","callable":true}, +{"id":"export-712aa11bf3cc344f","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/quasi_fermi_steady_state.py","route_id":"route-1c35c1275d46d863","origin_key":"export:perovskite_sim.experiments.quasi_fermi_steady_state.solve_equilibrium_referenced_interface_charge_steady_state","qualified_name":"perovskite_sim.experiments.quasi_fermi_steady_state.solve_equilibrium_referenced_interface_charge_steady_state","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.quasi_fermi_steady_state","callable":true}, +{"id":"export-590c967a4e9e27ec","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/quasi_fermi_steady_state.py","route_id":"route-1c35c1275d46d863","origin_key":"export:perovskite_sim.experiments.quasi_fermi_steady_state.solve_quasi_fermi_jv_sweep","qualified_name":"perovskite_sim.experiments.quasi_fermi_steady_state.solve_quasi_fermi_jv_sweep","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.quasi_fermi_steady_state","callable":true}, +{"id":"export-1cbc28659e3cd0df","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/quasi_fermi_steady_state.py","route_id":"route-1c35c1275d46d863","origin_key":"export:perovskite_sim.experiments.quasi_fermi_steady_state.solve_quasi_fermi_steady_state","qualified_name":"perovskite_sim.experiments.quasi_fermi_steady_state.solve_quasi_fermi_steady_state","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.quasi_fermi_steady_state","callable":true}, +{"id":"export-5a1694a44ec7e81b","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/__init__.py","route_id":"route-13365bb015203d2c","origin_key":"export:perovskite_sim.experiments.resolve_experiment_protocol","qualified_name":"perovskite_sim.experiments.resolve_experiment_protocol","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.protocol","callable":true}, +{"id":"export-6638897bc06dc9e0","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/__init__.py","route_id":"route-13365bb015203d2c","origin_key":"export:perovskite_sim.experiments.run_dynamic_defect_impedance","qualified_name":"perovskite_sim.experiments.run_dynamic_defect_impedance","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.dynamic_defect_impedance","callable":true}, +{"id":"export-42aa89f8d5fa5d83","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/__init__.py","route_id":"route-13365bb015203d2c","origin_key":"export:perovskite_sim.experiments.run_dynamic_defect_transient","qualified_name":"perovskite_sim.experiments.run_dynamic_defect_transient","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.dynamic_defect_transient","callable":true}, +{"id":"export-c661e79f0986054b","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/__init__.py","route_id":"route-13365bb015203d2c","origin_key":"export:perovskite_sim.experiments.run_interface_srh_identifiability","qualified_name":"perovskite_sim.experiments.run_interface_srh_identifiability","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.identifiability","callable":true}, +{"id":"export-bc061ca8738502cc","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/__init__.py","route_id":"route-13365bb015203d2c","origin_key":"export:perovskite_sim.experiments.run_ion_aware_impedance","qualified_name":"perovskite_sim.experiments.run_ion_aware_impedance","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.ion_aware_impedance","callable":true}, +{"id":"export-06082d3c78f6b061","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/__init__.py","route_id":"route-13365bb015203d2c","origin_key":"export:perovskite_sim.experiments.run_ion_aware_structured_jacobian_comparison","qualified_name":"perovskite_sim.experiments.run_ion_aware_structured_jacobian_comparison","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.ion_aware_structured_jacobian","callable":true}, +{"id":"export-f4ba936958606062","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/__init__.py","route_id":"route-13365bb015203d2c","origin_key":"export:perovskite_sim.experiments.run_lumped_thermal_transient","qualified_name":"perovskite_sim.experiments.run_lumped_thermal_transient","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.thermal_balance","callable":true}, +{"id":"export-cf0e5da34a8fdd72","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/__init__.py","route_id":"route-13365bb015203d2c","origin_key":"export:perovskite_sim.experiments.run_tandem_jv","qualified_name":"perovskite_sim.experiments.run_tandem_jv","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.tandem_jv","callable":true}, +{"id":"export-9e9ac8aa580f27cd","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/__init__.py","route_id":"route-13365bb015203d2c","origin_key":"export:perovskite_sim.experiments.series_match_jv","qualified_name":"perovskite_sim.experiments.series_match_jv","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.tandem_jv","callable":true}, +{"id":"export-607f8e73c61faa8c","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/__init__.py","route_id":"route-13365bb015203d2c","origin_key":"export:perovskite_sim.experiments.solve_electrothermal_operating_point","qualified_name":"perovskite_sim.experiments.solve_electrothermal_operating_point","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.electrothermal","callable":true}, +{"id":"export-d5a8cfba1e58381d","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/__init__.py","route_id":"route-13365bb015203d2c","origin_key":"export:perovskite_sim.experiments.solve_interface_charge_jv","qualified_name":"perovskite_sim.experiments.solve_interface_charge_jv","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.interface_charge_jv","callable":true}, +{"id":"export-0d261e217ec377d7","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/__init__.py","route_id":"route-13365bb015203d2c","origin_key":"export:perovskite_sim.experiments.solve_ion_aware_dc","qualified_name":"perovskite_sim.experiments.solve_ion_aware_dc","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.ion_aware_dc","callable":true}, +{"id":"export-eed556eb23a65f78","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/__init__.py","route_id":"route-13365bb015203d2c","origin_key":"export:perovskite_sim.experiments.solve_lumped_thermal_steady_state","qualified_name":"perovskite_sim.experiments.solve_lumped_thermal_steady_state","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.thermal_balance","callable":true}, +{"id":"export-3e22af4be50cbd5f","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/thermal_balance.py","route_id":"route-f1a859a308a3d395","origin_key":"export:perovskite_sim.experiments.thermal_balance.LumpedThermalProtocol","qualified_name":"perovskite_sim.experiments.thermal_balance.LumpedThermalProtocol","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.thermal_balance","callable":true}, +{"id":"export-f61909184c1326cd","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/thermal_balance.py","route_id":"route-f1a859a308a3d395","origin_key":"export:perovskite_sim.experiments.thermal_balance.LumpedThermalSteadyStateResult","qualified_name":"perovskite_sim.experiments.thermal_balance.LumpedThermalSteadyStateResult","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.thermal_balance","callable":true}, +{"id":"export-3ef14636c7f95be3","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/thermal_balance.py","route_id":"route-f1a859a308a3d395","origin_key":"export:perovskite_sim.experiments.thermal_balance.LumpedThermalTransientResult","qualified_name":"perovskite_sim.experiments.thermal_balance.LumpedThermalTransientResult","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.thermal_balance","callable":true}, +{"id":"export-030d71f84379d733","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/thermal_balance.py","route_id":"route-f1a859a308a3d395","origin_key":"export:perovskite_sim.experiments.thermal_balance.STEFAN_BOLTZMANN_W_M2_K4","qualified_name":"perovskite_sim.experiments.thermal_balance.STEFAN_BOLTZMANN_W_M2_K4","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-2b9c8f5bf8a7c784","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/thermal_balance.py","route_id":"route-f1a859a308a3d395","origin_key":"export:perovskite_sim.experiments.thermal_balance.ThermalBalanceError","qualified_name":"perovskite_sim.experiments.thermal_balance.ThermalBalanceError","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.thermal_balance","callable":true}, +{"id":"export-f12028728449f8fb","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/thermal_balance.py","route_id":"route-f1a859a308a3d395","origin_key":"export:perovskite_sim.experiments.thermal_balance.ThermalEnergySourceError","qualified_name":"perovskite_sim.experiments.thermal_balance.ThermalEnergySourceError","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.thermal_balance","callable":true}, +{"id":"export-9afcecef61a46770","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/thermal_balance.py","route_id":"route-f1a859a308a3d395","origin_key":"export:perovskite_sim.experiments.thermal_balance.ThermalIntegrationProtocol","qualified_name":"perovskite_sim.experiments.thermal_balance.ThermalIntegrationProtocol","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.thermal_balance","callable":true}, +{"id":"export-2dc1c743369ef563","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/thermal_balance.py","route_id":"route-f1a859a308a3d395","origin_key":"export:perovskite_sim.experiments.thermal_balance.ThermalPowerLedger","qualified_name":"perovskite_sim.experiments.thermal_balance.ThermalPowerLedger","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.thermal_balance","callable":true}, +{"id":"export-93c5fa23f1496f38","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/thermal_balance.py","route_id":"route-f1a859a308a3d395","origin_key":"export:perovskite_sim.experiments.thermal_balance.ThermalSteadyStateError","qualified_name":"perovskite_sim.experiments.thermal_balance.ThermalSteadyStateError","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.thermal_balance","callable":true}, +{"id":"export-dd0791cfb3f7a11d","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/thermal_balance.py","route_id":"route-f1a859a308a3d395","origin_key":"export:perovskite_sim.experiments.thermal_balance.ThermalTransientError","qualified_name":"perovskite_sim.experiments.thermal_balance.ThermalTransientError","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.thermal_balance","callable":true}, +{"id":"export-5b2562a957fe4c3b","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/thermal_balance.py","route_id":"route-f1a859a308a3d395","origin_key":"export:perovskite_sim.experiments.thermal_balance.run_lumped_thermal_transient","qualified_name":"perovskite_sim.experiments.thermal_balance.run_lumped_thermal_transient","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.thermal_balance","callable":true}, +{"id":"export-b4151be43956602e","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/thermal_balance.py","route_id":"route-f1a859a308a3d395","origin_key":"export:perovskite_sim.experiments.thermal_balance.solve_lumped_thermal_steady_state","qualified_name":"perovskite_sim.experiments.thermal_balance.solve_lumped_thermal_steady_state","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.thermal_balance","callable":true}, +{"id":"export-5b5c0f4dccbafb23","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/thermal_balance.py","route_id":"route-f1a859a308a3d395","origin_key":"export:perovskite_sim.experiments.thermal_balance.thermal_power_ledger","qualified_name":"perovskite_sim.experiments.thermal_balance.thermal_power_ledger","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.thermal_balance","callable":true}, +{"id":"export-d13f449a302b7529","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/__init__.py","route_id":"route-13365bb015203d2c","origin_key":"export:perovskite_sim.experiments.thermal_power_ledger","qualified_name":"perovskite_sim.experiments.thermal_power_ledger","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.thermal_balance","callable":true}, +{"id":"export-21d4febb4685c286","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/trap_small_signal.py","route_id":"route-a2dac88b7495c3ed","origin_key":"export:perovskite_sim.experiments.trap_small_signal.DYNAMIC_CHARGED_TRAP_TRANSITIONS","qualified_name":"perovskite_sim.experiments.trap_small_signal.DYNAMIC_CHARGED_TRAP_TRANSITIONS","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-89a34d0fe1090d63","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/trap_small_signal.py","route_id":"route-a2dac88b7495c3ed","origin_key":"export:perovskite_sim.experiments.trap_small_signal.TRAP_PERTURBATION_SCHEMA","qualified_name":"perovskite_sim.experiments.trap_small_signal.TRAP_PERTURBATION_SCHEMA","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-c91a237f0b9ab031","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/trap_small_signal.py","route_id":"route-a2dac88b7495c3ed","origin_key":"export:perovskite_sim.experiments.trap_small_signal.TRAP_RESPONSE_NORMALIZATION","qualified_name":"perovskite_sim.experiments.trap_small_signal.TRAP_RESPONSE_NORMALIZATION","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-167d4b444d3ee1f6","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/trap_small_signal.py","route_id":"route-a2dac88b7495c3ed","origin_key":"export:perovskite_sim.experiments.trap_small_signal.TRAP_SMALL_SIGNAL_PROTOCOL_SCHEMA","qualified_name":"perovskite_sim.experiments.trap_small_signal.TRAP_SMALL_SIGNAL_PROTOCOL_SCHEMA","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-825a4d4cf3b829cc","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/trap_small_signal.py","route_id":"route-a2dac88b7495c3ed","origin_key":"export:perovskite_sim.experiments.trap_small_signal.TrapFrequencyWindowAssessment","qualified_name":"perovskite_sim.experiments.trap_small_signal.TrapFrequencyWindowAssessment","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.trap_small_signal","callable":true}, +{"id":"export-e1626f4e5f36adaa","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/trap_small_signal.py","route_id":"route-a2dac88b7495c3ed","origin_key":"export:perovskite_sim.experiments.trap_small_signal.TrapSmallSignalCertificate","qualified_name":"perovskite_sim.experiments.trap_small_signal.TrapSmallSignalCertificate","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.trap_small_signal","callable":true}, +{"id":"export-379f3b7c47dafcb1","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/trap_small_signal.py","route_id":"route-a2dac88b7495c3ed","origin_key":"export:perovskite_sim.experiments.trap_small_signal.TrapSmallSignalCertificationError","qualified_name":"perovskite_sim.experiments.trap_small_signal.TrapSmallSignalCertificationError","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.trap_small_signal","callable":true}, +{"id":"export-37796d371ec39042","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/trap_small_signal.py","route_id":"route-a2dac88b7495c3ed","origin_key":"export:perovskite_sim.experiments.trap_small_signal.TrapSmallSignalPerturbation","qualified_name":"perovskite_sim.experiments.trap_small_signal.TrapSmallSignalPerturbation","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.trap_small_signal","callable":true}, +{"id":"export-1063c3946da5222a","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/trap_small_signal.py","route_id":"route-a2dac88b7495c3ed","origin_key":"export:perovskite_sim.experiments.trap_small_signal.TrapSmallSignalProtocol","qualified_name":"perovskite_sim.experiments.trap_small_signal.TrapSmallSignalProtocol","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.trap_small_signal","callable":true}, +{"id":"export-c4977e42fcb806d7","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/trap_small_signal.py","route_id":"route-a2dac88b7495c3ed","origin_key":"export:perovskite_sim.experiments.trap_small_signal.TrapSmallSignalProtocolError","qualified_name":"perovskite_sim.experiments.trap_small_signal.TrapSmallSignalProtocolError","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.trap_small_signal","callable":true}, +{"id":"export-8e8d882c8a0c80eb","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/trap_small_signal.py","route_id":"route-a2dac88b7495c3ed","origin_key":"export:perovskite_sim.experiments.trap_small_signal.TrapSmallSignalResult","qualified_name":"perovskite_sim.experiments.trap_small_signal.TrapSmallSignalResult","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.trap_small_signal","callable":true}, +{"id":"export-9926241d4ca7990e","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/trap_small_signal.py","route_id":"route-a2dac88b7495c3ed","origin_key":"export:perovskite_sim.experiments.trap_small_signal.assess_trap_frequency_window","qualified_name":"perovskite_sim.experiments.trap_small_signal.assess_trap_frequency_window","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.trap_small_signal","callable":true}, +{"id":"export-95973c6a33cecc4e","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/trap_small_signal.py","route_id":"route-a2dac88b7495c3ed","origin_key":"export:perovskite_sim.experiments.trap_small_signal.build_trap_small_signal_protocol","qualified_name":"perovskite_sim.experiments.trap_small_signal.build_trap_small_signal_protocol","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.trap_small_signal","callable":true}, +{"id":"export-09ad7c017245725e","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/experiments/trap_small_signal.py","route_id":"route-a2dac88b7495c3ed","origin_key":"export:perovskite_sim.experiments.trap_small_signal.run_local_trap_small_signal","qualified_name":"perovskite_sim.experiments.trap_small_signal.run_local_trap_small_signal","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.experiments.trap_small_signal","callable":true}, +{"id":"export-877859d6ad2b3130","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/models/defects.py","route_id":"route-b800342e538ea2d1","origin_key":"export:perovskite_sim.models.defects.ACCEPTOR","qualified_name":"perovskite_sim.models.defects.ACCEPTOR","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-e8bf55145e21cc7e","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/models/defects.py","route_id":"route-b800342e538ea2d1","origin_key":"export:perovskite_sim.models.defects.BulkDefectDistribution","qualified_name":"perovskite_sim.models.defects.BulkDefectDistribution","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.models.defects","callable":true}, +{"id":"export-dc785f0818c22f77","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/models/defects.py","route_id":"route-b800342e538ea2d1","origin_key":"export:perovskite_sim.models.defects.BulkDefectDocument","qualified_name":"perovskite_sim.models.defects.BulkDefectDocument","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.models.defects","callable":true}, +{"id":"export-1287054150529669","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/models/defects.py","route_id":"route-b800342e538ea2d1","origin_key":"export:perovskite_sim.models.defects.BulkDefectKinetics","qualified_name":"perovskite_sim.models.defects.BulkDefectKinetics","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.models.defects","callable":true}, +{"id":"export-3abd395b9eca771a","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/models/defects.py","route_id":"route-b800342e538ea2d1","origin_key":"export:perovskite_sim.models.defects.BulkDefectSpatialKnot","qualified_name":"perovskite_sim.models.defects.BulkDefectSpatialKnot","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.models.defects","callable":true}, +{"id":"export-66e06bf409d1dd58","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/models/defects.py","route_id":"route-b800342e538ea2d1","origin_key":"export:perovskite_sim.models.defects.BulkDefectSpatialProfile","qualified_name":"perovskite_sim.models.defects.BulkDefectSpatialProfile","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.models.defects","callable":true}, +{"id":"export-dc373de8fc123c18","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/models/defects.py","route_id":"route-b800342e538ea2d1","origin_key":"export:perovskite_sim.models.defects.BulkDefectSpecies","qualified_name":"perovskite_sim.models.defects.BulkDefectSpecies","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.models.defects","callable":true}, +{"id":"export-90af10dfc2d0c507","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/models/defects.py","route_id":"route-b800342e538ea2d1","origin_key":"export:perovskite_sim.models.defects.CONDUCTION_BAND_TAIL","qualified_name":"perovskite_sim.models.defects.CONDUCTION_BAND_TAIL","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-9d016eab66c7fa5c","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/models/defects.py","route_id":"route-b800342e538ea2d1","origin_key":"export:perovskite_sim.models.defects.DONOR","qualified_name":"perovskite_sim.models.defects.DONOR","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-ed5e6d9d52d98dbe","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/models/defects.py","route_id":"route-b800342e538ea2d1","origin_key":"export:perovskite_sim.models.defects.EFFECTIVE_LIFETIME","qualified_name":"perovskite_sim.models.defects.EFFECTIVE_LIFETIME","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-ae3cf95b5a43fc3c","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/models/defects.py","route_id":"route-b800342e538ea2d1","origin_key":"export:perovskite_sim.models.defects.ENERGY_ABOVE_VALENCE_BAND","qualified_name":"perovskite_sim.models.defects.ENERGY_ABOVE_VALENCE_BAND","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-ddc40dfcc3cac61c","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/models/defects.py","route_id":"route-b800342e538ea2d1","origin_key":"export:perovskite_sim.models.defects.EXPLICIT_DEFECT_DISTRIBUTION_SCHEMA_VERSION","qualified_name":"perovskite_sim.models.defects.EXPLICIT_DEFECT_DISTRIBUTION_SCHEMA_VERSION","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-c31ab70886a59ddc","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/models/defects.py","route_id":"route-b800342e538ea2d1","origin_key":"export:perovskite_sim.models.defects.EXPLICIT_DEFECT_SCHEMA_VERSION","qualified_name":"perovskite_sim.models.defects.EXPLICIT_DEFECT_SCHEMA_VERSION","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-ad63794d2b4c6c02","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/models/defects.py","route_id":"route-b800342e538ea2d1","origin_key":"export:perovskite_sim.models.defects.EXPLICIT_DEFECT_SPATIAL_SCHEMA_VERSION","qualified_name":"perovskite_sim.models.defects.EXPLICIT_DEFECT_SPATIAL_SCHEMA_VERSION","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-092bc31c766891dd","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/models/defects.py","route_id":"route-b800342e538ea2d1","origin_key":"export:perovskite_sim.models.defects.EXPLICIT_DYNAMIC","qualified_name":"perovskite_sim.models.defects.EXPLICIT_DYNAMIC","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-7a0f40e8bc6fb9d8","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/models/defects.py","route_id":"route-b800342e538ea2d1","origin_key":"export:perovskite_sim.models.defects.EXPLICIT_QUASI_STEADY","qualified_name":"perovskite_sim.models.defects.EXPLICIT_QUASI_STEADY","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-bb77b93043f9b6a8","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/models/defects.py","route_id":"route-b800342e538ea2d1","origin_key":"export:perovskite_sim.models.defects.ExplicitDefectCapabilityError","qualified_name":"perovskite_sim.models.defects.ExplicitDefectCapabilityError","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.models.defects","callable":true}, +{"id":"export-0890f5a72128940a","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/models/defects.py","route_id":"route-b800342e538ea2d1","origin_key":"export:perovskite_sim.models.defects.ExplicitDefectSchemaError","qualified_name":"perovskite_sim.models.defects.ExplicitDefectSchemaError","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.models.defects","callable":true}, +{"id":"export-07dbf5ebed587313","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/models/defects.py","route_id":"route-b800342e538ea2d1","origin_key":"export:perovskite_sim.models.defects.GAUSSIAN","qualified_name":"perovskite_sim.models.defects.GAUSSIAN","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-ad2ccb8c50fc82aa","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/models/defects.py","route_id":"route-b800342e538ea2d1","origin_key":"export:perovskite_sim.models.defects.INTEGRATED_TOTAL","qualified_name":"perovskite_sim.models.defects.INTEGRATED_TOTAL","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-660428f9697c46d3","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/models/defects.py","route_id":"route-b800342e538ea2d1","origin_key":"export:perovskite_sim.models.defects.LAYER_AVERAGE_UNITY","qualified_name":"perovskite_sim.models.defects.LAYER_AVERAGE_UNITY","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-e0eee92c069dd785","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/models/defects.py","route_id":"route-b800342e538ea2d1","origin_key":"export:perovskite_sim.models.defects.NEUTRAL","qualified_name":"perovskite_sim.models.defects.NEUTRAL","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-1830c546f6689f0c","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/models/defects.py","route_id":"route-b800342e538ea2d1","origin_key":"export:perovskite_sim.models.defects.NEUTRAL_ALL_OCCUPANCIES","qualified_name":"perovskite_sim.models.defects.NEUTRAL_ALL_OCCUPANCIES","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-42de0d2f98324262","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/models/defects.py","route_id":"route-b800342e538ea2d1","origin_key":"export:perovskite_sim.models.defects.NEUTRAL_REFERENCE_UNRESOLVED","qualified_name":"perovskite_sim.models.defects.NEUTRAL_REFERENCE_UNRESOLVED","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-da8cf5aa4d880fb3","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/models/defects.py","route_id":"route-b800342e538ea2d1","origin_key":"export:perovskite_sim.models.defects.NEUTRAL_WHEN_EMPTY","qualified_name":"perovskite_sim.models.defects.NEUTRAL_WHEN_EMPTY","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-55e9e4a749b61b40","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/models/defects.py","route_id":"route-b800342e538ea2d1","origin_key":"export:perovskite_sim.models.defects.NEUTRAL_WHEN_FILLED","qualified_name":"perovskite_sim.models.defects.NEUTRAL_WHEN_FILLED","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-cee437238bc5f49f","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/models/defects.py","route_id":"route-b800342e538ea2d1","origin_key":"export:perovskite_sim.models.defects.NORMALIZED_LAYER_COORDINATE","qualified_name":"perovskite_sim.models.defects.NORMALIZED_LAYER_COORDINATE","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-c06d1fe923cf8a6d","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/models/defects.py","route_id":"route-b800342e538ea2d1","origin_key":"export:perovskite_sim.models.defects.PIECEWISE_LINEAR","qualified_name":"perovskite_sim.models.defects.PIECEWISE_LINEAR","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-5379aa634b1c9f73","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/models/defects.py","route_id":"route-b800342e538ea2d1","origin_key":"export:perovskite_sim.models.defects.SINGLE_LEVEL","qualified_name":"perovskite_sim.models.defects.SINGLE_LEVEL","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-c58abecafd47e094","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/models/defects.py","route_id":"route-b800342e538ea2d1","origin_key":"export:perovskite_sim.models.defects.SUPPORTED_EXPLICIT_DEFECT_SCHEMA_VERSIONS","qualified_name":"perovskite_sim.models.defects.SUPPORTED_EXPLICIT_DEFECT_SCHEMA_VERSIONS","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-7fe88aad297e332f","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/models/defects.py","route_id":"route-b800342e538ea2d1","origin_key":"export:perovskite_sim.models.defects.UNIFORM","qualified_name":"perovskite_sim.models.defects.UNIFORM","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-2e9f503e569581a5","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/models/defects.py","route_id":"route-b800342e538ea2d1","origin_key":"export:perovskite_sim.models.defects.UNRESOLVED","qualified_name":"perovskite_sim.models.defects.UNRESOLVED","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-12f1b0e84b93182c","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/models/defects.py","route_id":"route-b800342e538ea2d1","origin_key":"export:perovskite_sim.models.defects.VALENCE_BAND_TAIL","qualified_name":"perovskite_sim.models.defects.VALENCE_BAND_TAIL","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-e5a43a360679edb7","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/models/defects.py","route_id":"route-b800342e538ea2d1","origin_key":"export:perovskite_sim.models.defects.WIDTH_GAUSSIAN_SIGMA","qualified_name":"perovskite_sim.models.defects.WIDTH_GAUSSIAN_SIGMA","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-8a90788cecfb6013","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/models/defects.py","route_id":"route-b800342e538ea2d1","origin_key":"export:perovskite_sim.models.defects.WIDTH_NOT_APPLICABLE","qualified_name":"perovskite_sim.models.defects.WIDTH_NOT_APPLICABLE","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-6ad6d329d0673ad5","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/models/defects.py","route_id":"route-b800342e538ea2d1","origin_key":"export:perovskite_sim.models.defects.WIDTH_SCAPS_CHARACTERISTIC","qualified_name":"perovskite_sim.models.defects.WIDTH_SCAPS_CHARACTERISTIC","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-c4ea122e6b0d5aa1","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/models/defects.py","route_id":"route-b800342e538ea2d1","origin_key":"export:perovskite_sim.models.defects.WIDTH_UNIFORM_FULL","qualified_name":"perovskite_sim.models.defects.WIDTH_UNIFORM_FULL","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-2a0e93e26e39d1ec","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/models/defects.py","route_id":"route-b800342e538ea2d1","origin_key":"export:perovskite_sim.models.defects.WIDTH_UNRESOLVED","qualified_name":"perovskite_sim.models.defects.WIDTH_UNRESOLVED","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-899a4d647d6d0963","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/models/defects.py","route_id":"route-b800342e538ea2d1","origin_key":"export:perovskite_sim.models.defects.bulk_defect_document_from_layer_mapping","qualified_name":"perovskite_sim.models.defects.bulk_defect_document_from_layer_mapping","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.models.defects","callable":true}, +{"id":"export-ef4b2782d6a96c9c","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/models/defects.py","route_id":"route-b800342e538ea2d1","origin_key":"export:perovskite_sim.models.defects.bulk_defect_species_at_layer_position","qualified_name":"perovskite_sim.models.defects.bulk_defect_species_at_layer_position","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.models.defects","callable":true}, +{"id":"export-78526e197dc4497d","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/models/defects.py","route_id":"route-b800342e538ea2d1","origin_key":"export:perovskite_sim.models.defects.bulk_defect_species_from_scaps_mapping","qualified_name":"perovskite_sim.models.defects.bulk_defect_species_from_scaps_mapping","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.models.defects","callable":true}, +{"id":"export-ef65fdf350707118","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/models/interface_defects.py","route_id":"route-47275d8cae52d1c6","origin_key":"export:perovskite_sim.models.interface_defects.ENERGY_BELOW_REFERENCE_CONDUCTION_BAND","qualified_name":"perovskite_sim.models.interface_defects.ENERGY_BELOW_REFERENCE_CONDUCTION_BAND","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-934a1d98504c324d","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/models/interface_defects.py","route_id":"route-47275d8cae52d1c6","origin_key":"export:perovskite_sim.models.interface_defects.EQUILIBRIUM_REFERENCED_ELECTRON_OCCUPANCY","qualified_name":"perovskite_sim.models.interface_defects.EQUILIBRIUM_REFERENCED_ELECTRON_OCCUPANCY","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-77c161906458345e","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/models/interface_defects.py","route_id":"route-47275d8cae52d1c6","origin_key":"export:perovskite_sim.models.interface_defects.EXPLICIT_INTERFACE_DEFECT_SCHEMA_VERSION","qualified_name":"perovskite_sim.models.interface_defects.EXPLICIT_INTERFACE_DEFECT_SCHEMA_VERSION","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-8a8ba5cd141ff285","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/models/interface_defects.py","route_id":"route-47275d8cae52d1c6","origin_key":"export:perovskite_sim.models.interface_defects.ExplicitInterfaceDefectSchemaError","qualified_name":"perovskite_sim.models.interface_defects.ExplicitInterfaceDefectSchemaError","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.models.interface_defects","callable":true}, +{"id":"export-56ae5fa29d9d6770","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/models/interface_defects.py","route_id":"route-47275d8cae52d1c6","origin_key":"export:perovskite_sim.models.interface_defects.INTEGRATED_AREAL_TOTAL","qualified_name":"perovskite_sim.models.interface_defects.INTEGRATED_AREAL_TOTAL","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-9cc5a632543fa6c7","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/models/interface_defects.py","route_id":"route-47275d8cae52d1c6","origin_key":"export:perovskite_sim.models.interface_defects.InterfaceDefectDocument","qualified_name":"perovskite_sim.models.interface_defects.InterfaceDefectDocument","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.models.interface_defects","callable":true}, +{"id":"export-c7b837833140fcd2","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/models/interface_defects.py","route_id":"route-47275d8cae52d1c6","origin_key":"export:perovskite_sim.models.interface_defects.InterfaceDefectKinetics","qualified_name":"perovskite_sim.models.interface_defects.InterfaceDefectKinetics","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.models.interface_defects","callable":true}, +{"id":"export-aaee349ccb117db2","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/models/interface_defects.py","route_id":"route-47275d8cae52d1c6","origin_key":"export:perovskite_sim.models.interface_defects.REFERENCE_ABSORBER_ELSE_LOWER_GAP","qualified_name":"perovskite_sim.models.interface_defects.REFERENCE_ABSORBER_ELSE_LOWER_GAP","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-f8ca13620cd6e16e","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/models/multivalent_defects.py","route_id":"route-f2fb3894a767ab0b","origin_key":"export:perovskite_sim.models.multivalent_defects.AMPHOTERIC","qualified_name":"perovskite_sim.models.multivalent_defects.AMPHOTERIC","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-06252f1dac395c5a","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/models/multivalent_defects.py","route_id":"route-f2fb3894a767ab0b","origin_key":"export:perovskite_sim.models.multivalent_defects.CUSTOM_MULTILEVEL","qualified_name":"perovskite_sim.models.multivalent_defects.CUSTOM_MULTILEVEL","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-fcbe60ea5009e5a2","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/models/multivalent_defects.py","route_id":"route-f2fb3894a767ab0b","origin_key":"export:perovskite_sim.models.multivalent_defects.DOUBLE_ACCEPTOR","qualified_name":"perovskite_sim.models.multivalent_defects.DOUBLE_ACCEPTOR","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-c78d95e0490efab8","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/models/multivalent_defects.py","route_id":"route-f2fb3894a767ab0b","origin_key":"export:perovskite_sim.models.multivalent_defects.DOUBLE_DONOR","qualified_name":"perovskite_sim.models.multivalent_defects.DOUBLE_DONOR","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-d7d224daf30e8af5","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/models/multivalent_defects.py","route_id":"route-f2fb3894a767ab0b","origin_key":"export:perovskite_sim.models.multivalent_defects.DOUBLE_ELECTRON_CAPTURE","qualified_name":"perovskite_sim.models.multivalent_defects.DOUBLE_ELECTRON_CAPTURE","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-4710b7ab4c660b28","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/models/multivalent_defects.py","route_id":"route-f2fb3894a767ab0b","origin_key":"export:perovskite_sim.models.multivalent_defects.DOUBLE_HOLE_CAPTURE","qualified_name":"perovskite_sim.models.multivalent_defects.DOUBLE_HOLE_CAPTURE","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-0d558393ad7b9b61","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/models/multivalent_defects.py","route_id":"route-f2fb3894a767ab0b","origin_key":"export:perovskite_sim.models.multivalent_defects.ELECTRON_CAPTURE_HOLE_EMISSION","qualified_name":"perovskite_sim.models.multivalent_defects.ELECTRON_CAPTURE_HOLE_EMISSION","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-e6681a2d17ff0226","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/models/multivalent_defects.py","route_id":"route-f2fb3894a767ab0b","origin_key":"export:perovskite_sim.models.multivalent_defects.EXPLICIT","qualified_name":"perovskite_sim.models.multivalent_defects.EXPLICIT","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-4da7529f48fedc6d","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/models/multivalent_defects.py","route_id":"route-f2fb3894a767ab0b","origin_key":"export:perovskite_sim.models.multivalent_defects.EXPLICIT_METASTABLE_FROZEN","qualified_name":"perovskite_sim.models.multivalent_defects.EXPLICIT_METASTABLE_FROZEN","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-c17bf98cd675e037","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/models/multivalent_defects.py","route_id":"route-f2fb3894a767ab0b","origin_key":"export:perovskite_sim.models.multivalent_defects.FROZEN_BEFORE_MEASUREMENT","qualified_name":"perovskite_sim.models.multivalent_defects.FROZEN_BEFORE_MEASUREMENT","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-1346fc87f71477d7","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/models/multivalent_defects.py","route_id":"route-f2fb3894a767ab0b","origin_key":"export:perovskite_sim.models.multivalent_defects.HOLE_CAPTURE_ELECTRON_EMISSION","qualified_name":"perovskite_sim.models.multivalent_defects.HOLE_CAPTURE_ELECTRON_EMISSION","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-1619c44fc10e1da6","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/models/multivalent_defects.py","route_id":"route-f2fb3894a767ab0b","origin_key":"export:perovskite_sim.models.multivalent_defects.METASTABLE_DEFECT_SCHEMA_VERSION","qualified_name":"perovskite_sim.models.multivalent_defects.METASTABLE_DEFECT_SCHEMA_VERSION","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-2fd0777769c46562","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/models/multivalent_defects.py","route_id":"route-f2fb3894a767ab0b","origin_key":"export:perovskite_sim.models.multivalent_defects.METASTABLE_PREPARATION_SCHEMA_VERSION","qualified_name":"perovskite_sim.models.multivalent_defects.METASTABLE_PREPARATION_SCHEMA_VERSION","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-abae98a166f8a9ed","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/models/multivalent_defects.py","route_id":"route-f2fb3894a767ab0b","origin_key":"export:perovskite_sim.models.multivalent_defects.MULTIVALENT_DEFECT_SCHEMA_VERSION","qualified_name":"perovskite_sim.models.multivalent_defects.MULTIVALENT_DEFECT_SCHEMA_VERSION","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-8e42012881c04d94","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/models/multivalent_defects.py","route_id":"route-f2fb3894a767ab0b","origin_key":"export:perovskite_sim.models.multivalent_defects.MetastableConversionKinetics","qualified_name":"perovskite_sim.models.multivalent_defects.MetastableConversionKinetics","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.models.multivalent_defects","callable":true}, +{"id":"export-86205b78fa33d8a2","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/models/multivalent_defects.py","route_id":"route-f2fb3894a767ab0b","origin_key":"export:perovskite_sim.models.multivalent_defects.MetastableDefectDefinition","qualified_name":"perovskite_sim.models.multivalent_defects.MetastableDefectDefinition","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.models.multivalent_defects","callable":true}, +{"id":"export-4af5abdc2647b9e3","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/models/multivalent_defects.py","route_id":"route-f2fb3894a767ab0b","origin_key":"export:perovskite_sim.models.multivalent_defects.MetastableDefectDocument","qualified_name":"perovskite_sim.models.multivalent_defects.MetastableDefectDocument","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.models.multivalent_defects","callable":true}, +{"id":"export-83d1b258be8f6c4c","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/models/multivalent_defects.py","route_id":"route-f2fb3894a767ab0b","origin_key":"export:perovskite_sim.models.multivalent_defects.MetastablePreparationNumerics","qualified_name":"perovskite_sim.models.multivalent_defects.MetastablePreparationNumerics","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.models.multivalent_defects","callable":true}, +{"id":"export-57cf4c4b4ae65850","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/models/multivalent_defects.py","route_id":"route-f2fb3894a767ab0b","origin_key":"export:perovskite_sim.models.multivalent_defects.MetastablePreparationProtocol","qualified_name":"perovskite_sim.models.multivalent_defects.MetastablePreparationProtocol","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.models.multivalent_defects","callable":true}, +{"id":"export-80e523286c5639f4","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/models/multivalent_defects.py","route_id":"route-f2fb3894a767ab0b","origin_key":"export:perovskite_sim.models.multivalent_defects.MultivalentBulkDefectDocument","qualified_name":"perovskite_sim.models.multivalent_defects.MultivalentBulkDefectDocument","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.models.multivalent_defects","callable":true}, +{"id":"export-15efbfea30a2a21e","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/models/multivalent_defects.py","route_id":"route-f2fb3894a767ab0b","origin_key":"export:perovskite_sim.models.multivalent_defects.MultivalentBulkDefectSpecies","qualified_name":"perovskite_sim.models.multivalent_defects.MultivalentBulkDefectSpecies","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.models.multivalent_defects","callable":true}, +{"id":"export-552a167852aaa8bc","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/models/multivalent_defects.py","route_id":"route-f2fb3894a767ab0b","origin_key":"export:perovskite_sim.models.multivalent_defects.MultivalentDefectConfiguration","qualified_name":"perovskite_sim.models.multivalent_defects.MultivalentDefectConfiguration","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.models.multivalent_defects","callable":true}, +{"id":"export-2bbea7f18caa3697","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/models/multivalent_defects.py","route_id":"route-f2fb3894a767ab0b","origin_key":"export:perovskite_sim.models.multivalent_defects.MultivalentEnergyLevels","qualified_name":"perovskite_sim.models.multivalent_defects.MultivalentEnergyLevels","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.models.multivalent_defects","callable":true}, +{"id":"export-da1d8bf1dbbd031d","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/models/multivalent_defects.py","route_id":"route-f2fb3894a767ab0b","origin_key":"export:perovskite_sim.models.multivalent_defects.SCAPS_BINOMIAL","qualified_name":"perovskite_sim.models.multivalent_defects.SCAPS_BINOMIAL","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-68598e706a26a457","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/models/multivalent_defects.py","route_id":"route-f2fb3894a767ab0b","origin_key":"export:perovskite_sim.models.multivalent_defects.SINGLE_ACCEPTOR","qualified_name":"perovskite_sim.models.multivalent_defects.SINGLE_ACCEPTOR","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-dd3411cf9755cbf9","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/models/multivalent_defects.py","route_id":"route-f2fb3894a767ab0b","origin_key":"export:perovskite_sim.models.multivalent_defects.SINGLE_DONOR","qualified_name":"perovskite_sim.models.multivalent_defects.SINGLE_DONOR","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-784053a3a1febeed","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/models/multivalent_defects.py","route_id":"route-f2fb3894a767ab0b","origin_key":"export:perovskite_sim.models.multivalent_defects.STATIONARY_INFINITE_TIME","qualified_name":"perovskite_sim.models.multivalent_defects.STATIONARY_INFINITE_TIME","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-e53ce3d67528965d","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/models/multivalent_defects.py","route_id":"route-f2fb3894a767ab0b","origin_key":"export:perovskite_sim.models.multivalent_defects.UNITY","qualified_name":"perovskite_sim.models.multivalent_defects.UNITY","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-8c5a1d76b9f27249","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/models/multivalent_defects.py","route_id":"route-f2fb3894a767ab0b","origin_key":"export:perovskite_sim.models.multivalent_defects.multivalent_bulk_defect_document_from_layer_mapping","qualified_name":"perovskite_sim.models.multivalent_defects.multivalent_bulk_defect_document_from_layer_mapping","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.models.multivalent_defects","callable":true}, +{"id":"export-88993baa8f6e69c8","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/models/tunneling_channels.py","route_id":"route-e98430e35cbc35f0","origin_key":"export:perovskite_sim.models.tunneling_channels.BAND_TO_BAND","qualified_name":"perovskite_sim.models.tunneling_channels.BAND_TO_BAND","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-c6717aaec21dc481","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/models/tunneling_channels.py","route_id":"route-e98430e35cbc35f0","origin_key":"export:perovskite_sim.models.tunneling_channels.BOTH_CARRIERS","qualified_name":"perovskite_sim.models.tunneling_channels.BOTH_CARRIERS","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-e081d11ca714b330","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/models/tunneling_channels.py","route_id":"route-e98430e35cbc35f0","origin_key":"export:perovskite_sim.models.tunneling_channels.BOTH_SIDES","qualified_name":"perovskite_sim.models.tunneling_channels.BOTH_SIDES","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-e253cb405645db00","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/models/tunneling_channels.py","route_id":"route-e98430e35cbc35f0","origin_key":"export:perovskite_sim.models.tunneling_channels.BandToBandTunnellingChannel","qualified_name":"perovskite_sim.models.tunneling_channels.BandToBandTunnellingChannel","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.models.tunneling_channels","callable":true}, +{"id":"export-6da5f27771788391","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/models/tunneling_channels.py","route_id":"route-e98430e35cbc35f0","origin_key":"export:perovskite_sim.models.tunneling_channels.CHANNEL_NAMES","qualified_name":"perovskite_sim.models.tunneling_channels.CHANNEL_NAMES","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-df6a03eaa31d19b9","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/models/tunneling_channels.py","route_id":"route-e98430e35cbc35f0","origin_key":"export:perovskite_sim.models.tunneling_channels.CONTACT","qualified_name":"perovskite_sim.models.tunneling_channels.CONTACT","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-be180ec23f81f34e","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/models/tunneling_channels.py","route_id":"route-e98430e35cbc35f0","origin_key":"export:perovskite_sim.models.tunneling_channels.ContactTunnellingChannel","qualified_name":"perovskite_sim.models.tunneling_channels.ContactTunnellingChannel","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.models.tunneling_channels","callable":true}, +{"id":"export-d91a9e1bdeddf6c9","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/models/tunneling_channels.py","route_id":"route-e98430e35cbc35f0","origin_key":"export:perovskite_sim.models.tunneling_channels.ELECTRON","qualified_name":"perovskite_sim.models.tunneling_channels.ELECTRON","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-03303f8448353869","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/models/tunneling_channels.py","route_id":"route-e98430e35cbc35f0","origin_key":"export:perovskite_sim.models.tunneling_channels.HOLE","qualified_name":"perovskite_sim.models.tunneling_channels.HOLE","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-b90996b37a513ba7","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/models/tunneling_channels.py","route_id":"route-e98430e35cbc35f0","origin_key":"export:perovskite_sim.models.tunneling_channels.INTERFACE_DEFECT_ASSISTED","qualified_name":"perovskite_sim.models.tunneling_channels.INTERFACE_DEFECT_ASSISTED","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-7e86d83776eaebfc","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/models/tunneling_channels.py","route_id":"route-e98430e35cbc35f0","origin_key":"export:perovskite_sim.models.tunneling_channels.INTRABAND","qualified_name":"perovskite_sim.models.tunneling_channels.INTRABAND","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-4a77d343ca8ef012","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/models/tunneling_channels.py","route_id":"route-e98430e35cbc35f0","origin_key":"export:perovskite_sim.models.tunneling_channels.InterfaceDefectAssistedTunnellingChannel","qualified_name":"perovskite_sim.models.tunneling_channels.InterfaceDefectAssistedTunnellingChannel","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.models.tunneling_channels","callable":true}, +{"id":"export-d2b26cc0ee42da5f","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/models/tunneling_channels.py","route_id":"route-e98430e35cbc35f0","origin_key":"export:perovskite_sim.models.tunneling_channels.IntrabandTunnellingChannel","qualified_name":"perovskite_sim.models.tunneling_channels.IntrabandTunnellingChannel","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.models.tunneling_channels","callable":true}, +{"id":"export-22fe36d05132d9f9","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/models/tunneling_channels.py","route_id":"route-e98430e35cbc35f0","origin_key":"export:perovskite_sim.models.tunneling_channels.LEFT","qualified_name":"perovskite_sim.models.tunneling_channels.LEFT","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-4a15fca042c2c6c6","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/models/tunneling_channels.py","route_id":"route-e98430e35cbc35f0","origin_key":"export:perovskite_sim.models.tunneling_channels.RIGHT","qualified_name":"perovskite_sim.models.tunneling_channels.RIGHT","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-4f405961ed38f58a","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/models/tunneling_channels.py","route_id":"route-e98430e35cbc35f0","origin_key":"export:perovskite_sim.models.tunneling_channels.TUNNELLING_CHANNEL_SCHEMA_VERSION","qualified_name":"perovskite_sim.models.tunneling_channels.TUNNELLING_CHANNEL_SCHEMA_VERSION","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-bc93a05d55df9125","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/models/tunneling_channels.py","route_id":"route-e98430e35cbc35f0","origin_key":"export:perovskite_sim.models.tunneling_channels.TunnellingChannelDocument","qualified_name":"perovskite_sim.models.tunneling_channels.TunnellingChannelDocument","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.models.tunneling_channels","callable":true}, +{"id":"export-4e203b82f2350a54","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/models/tunneling_channels.py","route_id":"route-e98430e35cbc35f0","origin_key":"export:perovskite_sim.models.tunneling_channels.TunnellingChannelSchemaError","qualified_name":"perovskite_sim.models.tunneling_channels.TunnellingChannelSchemaError","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.models.tunneling_channels","callable":true}, +{"id":"export-ec872ffdbf27799f","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/models/tunneling_channels.py","route_id":"route-e98430e35cbc35f0","origin_key":"export:perovskite_sim.models.tunneling_channels.tunnelling_channel_document_from_mapping","qualified_name":"perovskite_sim.models.tunneling_channels.tunnelling_channel_document_from_mapping","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.models.tunneling_channels","callable":true}, +{"id":"export-08d04e1a4f0fc2da","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/band_gap_narrowing.py","route_id":"route-5b8181491d7bb5dc","origin_key":"export:perovskite_sim.physics.band_gap_narrowing.BAND_GAP_NARROWING_OFF","qualified_name":"perovskite_sim.physics.band_gap_narrowing.BAND_GAP_NARROWING_OFF","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-17bf4ff33b41ab79","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/band_gap_narrowing.py","route_id":"route-5b8181491d7bb5dc","origin_key":"export:perovskite_sim.physics.band_gap_narrowing.BandGapNarrowingModel","qualified_name":"perovskite_sim.physics.band_gap_narrowing.BandGapNarrowingModel","evidence_level":"cold_attribute_resolution","resolved_origin":"typing","callable":true}, +{"id":"export-df8df8e5271dfdf0","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/band_gap_narrowing.py","route_id":"route-5b8181491d7bb5dc","origin_key":"export:perovskite_sim.physics.band_gap_narrowing.BandGapNarrowingState","qualified_name":"perovskite_sim.physics.band_gap_narrowing.BandGapNarrowingState","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.band_gap_narrowing","callable":true}, +{"id":"export-76428cea83f47ed1","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/band_gap_narrowing.py","route_id":"route-5b8181491d7bb5dc","origin_key":"export:perovskite_sim.physics.band_gap_narrowing.SLOTBOOM","qualified_name":"perovskite_sim.physics.band_gap_narrowing.SLOTBOOM","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-08efe1b91806c577","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/band_gap_narrowing.py","route_id":"route-5b8181491d7bb5dc","origin_key":"export:perovskite_sim.physics.band_gap_narrowing.apply_band_gap_narrowing","qualified_name":"perovskite_sim.physics.band_gap_narrowing.apply_band_gap_narrowing","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.band_gap_narrowing","callable":true}, +{"id":"export-a89ea3e5c545b182","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/band_gap_narrowing.py","route_id":"route-5b8181491d7bb5dc","origin_key":"export:perovskite_sim.physics.band_gap_narrowing.normalize_band_gap_narrowing_model","qualified_name":"perovskite_sim.physics.band_gap_narrowing.normalize_band_gap_narrowing_model","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.band_gap_narrowing","callable":true}, +{"id":"export-5e72d03d894ce44d","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/band_gap_narrowing.py","route_id":"route-5b8181491d7bb5dc","origin_key":"export:perovskite_sim.physics.band_gap_narrowing.slotboom_band_gap_narrowing","qualified_name":"perovskite_sim.physics.band_gap_narrowing.slotboom_band_gap_narrowing","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.band_gap_narrowing","callable":true}, +{"id":"export-04ca96a6347a97e3","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/bulk_traps.py","route_id":"route-2a52f6493776c10e","origin_key":"export:perovskite_sim.physics.bulk_traps.ACCEPTOR","qualified_name":"perovskite_sim.physics.bulk_traps.ACCEPTOR","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-0ebd54da615cfd20","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/bulk_traps.py","route_id":"route-2a52f6493776c10e","origin_key":"export:perovskite_sim.physics.bulk_traps.BulkTrapChargeTransition","qualified_name":"perovskite_sim.physics.bulk_traps.BulkTrapChargeTransition","evidence_level":"cold_attribute_resolution","resolved_origin":"typing","callable":true}, +{"id":"export-e5155e8c0c8d980a","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/bulk_traps.py","route_id":"route-2a52f6493776c10e","origin_key":"export:perovskite_sim.physics.bulk_traps.BulkTrapDistribution","qualified_name":"perovskite_sim.physics.bulk_traps.BulkTrapDistribution","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.bulk_traps","callable":true}, +{"id":"export-28561436fef8fde4","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/bulk_traps.py","route_id":"route-2a52f6493776c10e","origin_key":"export:perovskite_sim.physics.bulk_traps.BulkTrapDistributionKind","qualified_name":"perovskite_sim.physics.bulk_traps.BulkTrapDistributionKind","evidence_level":"cold_attribute_resolution","resolved_origin":"typing","callable":true}, +{"id":"export-c63d9eb41452d77d","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/bulk_traps.py","route_id":"route-2a52f6493776c10e","origin_key":"export:perovskite_sim.physics.bulk_traps.BulkTrapNeutralityResult","qualified_name":"perovskite_sim.physics.bulk_traps.BulkTrapNeutralityResult","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.bulk_traps","callable":true}, +{"id":"export-5051e9dd1005678f","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/bulk_traps.py","route_id":"route-2a52f6493776c10e","origin_key":"export:perovskite_sim.physics.bulk_traps.BulkTrapQuadrature","qualified_name":"perovskite_sim.physics.bulk_traps.BulkTrapQuadrature","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.bulk_traps","callable":true}, +{"id":"export-aef18b723d7e1361","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/bulk_traps.py","route_id":"route-2a52f6493776c10e","origin_key":"export:perovskite_sim.physics.bulk_traps.BulkTrapState","qualified_name":"perovskite_sim.physics.bulk_traps.BulkTrapState","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.bulk_traps","callable":true}, +{"id":"export-6ce58b645a0a436f","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/bulk_traps.py","route_id":"route-2a52f6493776c10e","origin_key":"export:perovskite_sim.physics.bulk_traps.DEFAULT_BULK_TRAP_QUADRATURE_ORDER","qualified_name":"perovskite_sim.physics.bulk_traps.DEFAULT_BULK_TRAP_QUADRATURE_ORDER","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-db1683bfa7b575fa","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/bulk_traps.py","route_id":"route-2a52f6493776c10e","origin_key":"export:perovskite_sim.physics.bulk_traps.DONOR","qualified_name":"perovskite_sim.physics.bulk_traps.DONOR","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-a0667e0b70b3ff28","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/bulk_traps.py","route_id":"route-2a52f6493776c10e","origin_key":"export:perovskite_sim.physics.bulk_traps.GAUSSIAN","qualified_name":"perovskite_sim.physics.bulk_traps.GAUSSIAN","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-9921810428364d66","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/bulk_traps.py","route_id":"route-2a52f6493776c10e","origin_key":"export:perovskite_sim.physics.bulk_traps.SINGLE_LEVEL","qualified_name":"perovskite_sim.physics.bulk_traps.SINGLE_LEVEL","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-4cfb8170f3ddb35f","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/bulk_traps.py","route_id":"route-2a52f6493776c10e","origin_key":"export:perovskite_sim.physics.bulk_traps.build_bulk_trap_quadrature","qualified_name":"perovskite_sim.physics.bulk_traps.build_bulk_trap_quadrature","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.bulk_traps","callable":true}, +{"id":"export-8c0c74ca1319d540","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/bulk_traps.py","route_id":"route-2a52f6493776c10e","origin_key":"export:perovskite_sim.physics.bulk_traps.bulk_trap_distribution_from_mapping","qualified_name":"perovskite_sim.physics.bulk_traps.bulk_trap_distribution_from_mapping","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.bulk_traps","callable":true}, +{"id":"export-5538ae828c1fa1ab","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/bulk_traps.py","route_id":"route-2a52f6493776c10e","origin_key":"export:perovskite_sim.physics.bulk_traps.evaluate_bulk_trap_state","qualified_name":"perovskite_sim.physics.bulk_traps.evaluate_bulk_trap_state","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.bulk_traps","callable":true}, +{"id":"export-df0f2b627bf02b6c","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/bulk_traps.py","route_id":"route-2a52f6493776c10e","origin_key":"export:perovskite_sim.physics.bulk_traps.solve_bulk_trap_charge_neutrality","qualified_name":"perovskite_sim.physics.bulk_traps.solve_bulk_trap_charge_neutrality","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.bulk_traps","callable":true}, +{"id":"export-b0312ec85bb98042","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/compensated.py","route_id":"route-18b9fe1e2bc369d2","origin_key":"export:perovskite_sim.physics.compensated.DD","qualified_name":"perovskite_sim.physics.compensated.DD","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.compensated","callable":true}, +{"id":"export-077de3db633c0b91","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/compensated.py","route_id":"route-18b9fe1e2bc369d2","origin_key":"export:perovskite_sim.physics.compensated.exp","qualified_name":"perovskite_sim.physics.compensated.exp","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.compensated","callable":true}, +{"id":"export-ff6341b276717baf","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/compensated.py","route_id":"route-18b9fe1e2bc369d2","origin_key":"export:perovskite_sim.physics.compensated.expm1","qualified_name":"perovskite_sim.physics.compensated.expm1","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.compensated","callable":true}, +{"id":"export-8ad5e5b67392415c","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/compensated.py","route_id":"route-18b9fe1e2bc369d2","origin_key":"export:perovskite_sim.physics.compensated.log","qualified_name":"perovskite_sim.physics.compensated.log","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.compensated","callable":true}, +{"id":"export-458297e44ed1f6d2","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/compensated.py","route_id":"route-18b9fe1e2bc369d2","origin_key":"export:perovskite_sim.physics.compensated.log1p","qualified_name":"perovskite_sim.physics.compensated.log1p","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.compensated","callable":true}, +{"id":"export-d141f32c163522d5","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/compensated.py","route_id":"route-18b9fe1e2bc369d2","origin_key":"export:perovskite_sim.physics.compensated.sum","qualified_name":"perovskite_sim.physics.compensated.sum","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.compensated","callable":true}, +{"id":"export-1a14bf656f8b86e0","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/contacts.py","route_id":"route-4ee875fb4c7eec91","origin_key":"export:perovskite_sim.physics.contacts.CONTACT_THERMODYNAMIC_TOLERANCE_EV","qualified_name":"perovskite_sim.physics.contacts.CONTACT_THERMODYNAMIC_TOLERANCE_EV","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-474b2a2ed9302066","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/contacts.py","route_id":"route-4ee875fb4c7eec91","origin_key":"export:perovskite_sim.physics.contacts.ContactThermodynamicCertificate","qualified_name":"perovskite_sim.physics.contacts.ContactThermodynamicCertificate","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.contacts","callable":true}, +{"id":"export-044b6cfa68292884","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/contacts.py","route_id":"route-4ee875fb4c7eec91","origin_key":"export:perovskite_sim.physics.contacts.ContactThermodynamicError","qualified_name":"perovskite_sim.physics.contacts.ContactThermodynamicError","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.contacts","callable":true}, +{"id":"export-14a43a80de43fbc3","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/contacts.py","route_id":"route-4ee875fb4c7eec91","origin_key":"export:perovskite_sim.physics.contacts.SemiconductorContactState","qualified_name":"perovskite_sim.physics.contacts.SemiconductorContactState","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.contacts","callable":true}, +{"id":"export-0dc1a071d7a1d88a","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/contacts.py","route_id":"route-4ee875fb4c7eec91","origin_key":"export:perovskite_sim.physics.contacts.apply_selective_contacts","qualified_name":"perovskite_sim.physics.contacts.apply_selective_contacts","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.contacts","callable":true}, +{"id":"export-c8d328f4870f4143","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/contacts.py","route_id":"route-4ee875fb4c7eec91","origin_key":"export:perovskite_sim.physics.contacts.assess_contact_thermodynamics","qualified_name":"perovskite_sim.physics.contacts.assess_contact_thermodynamics","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.contacts","callable":true}, +{"id":"export-27014d0a3deb9cfb","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/contacts.py","route_id":"route-4ee875fb4c7eec91","origin_key":"export:perovskite_sim.physics.contacts.build_semiconductor_contact_state","qualified_name":"perovskite_sim.physics.contacts.build_semiconductor_contact_state","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.contacts","callable":true}, +{"id":"export-761207b9200a8494","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/contacts.py","route_id":"route-4ee875fb4c7eec91","origin_key":"export:perovskite_sim.physics.contacts.require_contact_thermodynamic_certificate","qualified_name":"perovskite_sim.physics.contacts.require_contact_thermodynamic_certificate","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.contacts","callable":true}, +{"id":"export-c1ee5385aad82cba","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/contacts.py","route_id":"route-4ee875fb4c7eec91","origin_key":"export:perovskite_sim.physics.contacts.resolved_contact_velocities","qualified_name":"perovskite_sim.physics.contacts.resolved_contact_velocities","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.contacts","callable":true}, +{"id":"export-37f62df71cf0e924","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/contacts.py","route_id":"route-4ee875fb4c7eec91","origin_key":"export:perovskite_sim.physics.contacts.schottky_equilibrium_n","qualified_name":"perovskite_sim.physics.contacts.schottky_equilibrium_n","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.contacts","callable":true}, +{"id":"export-8ac83288ee6abef7","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/contacts.py","route_id":"route-4ee875fb4c7eec91","origin_key":"export:perovskite_sim.physics.contacts.schottky_equilibrium_p","qualified_name":"perovskite_sim.physics.contacts.schottky_equilibrium_p","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.contacts","callable":true}, +{"id":"export-9512446fb6a5daf1","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/contacts.py","route_id":"route-4ee875fb4c7eec91","origin_key":"export:perovskite_sim.physics.contacts.selective_contact_flux","qualified_name":"perovskite_sim.physics.contacts.selective_contact_flux","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.contacts","callable":true}, +{"id":"export-a23591300c0b3259","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/defect_closure.py","route_id":"route-108317e3109dd879","origin_key":"export:perovskite_sim.physics.defect_closure.MONOVALENT_BULK_DEFECT_MODEL_VERSION","qualified_name":"perovskite_sim.physics.defect_closure.MONOVALENT_BULK_DEFECT_MODEL_VERSION","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-607b86dc8fa6128b","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/defect_closure.py","route_id":"route-108317e3109dd879","origin_key":"export:perovskite_sim.physics.defect_closure.MONOVALENT_DEFECT_CLOSURE_VERSION","qualified_name":"perovskite_sim.physics.defect_closure.MONOVALENT_DEFECT_CLOSURE_VERSION","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-ea1eb45c3ebd116e","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/defect_closure.py","route_id":"route-108317e3109dd879","origin_key":"export:perovskite_sim.physics.defect_closure.MonovalentBulkDefectEvaluation","qualified_name":"perovskite_sim.physics.defect_closure.MonovalentBulkDefectEvaluation","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.defect_closure","callable":true}, +{"id":"export-5b51105f87592b8d","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/defect_closure.py","route_id":"route-108317e3109dd879","origin_key":"export:perovskite_sim.physics.defect_closure.MonovalentBulkDefectModel","qualified_name":"perovskite_sim.physics.defect_closure.MonovalentBulkDefectModel","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.defect_closure","callable":true}, +{"id":"export-44e79a5bd4550bc0","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/defect_closure.py","route_id":"route-108317e3109dd879","origin_key":"export:perovskite_sim.physics.defect_closure.MonovalentDefectClosureCapabilityError","qualified_name":"perovskite_sim.physics.defect_closure.MonovalentDefectClosureCapabilityError","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.defect_closure","callable":true}, +{"id":"export-1a29970033714ff7","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/defect_closure.py","route_id":"route-108317e3109dd879","origin_key":"export:perovskite_sim.physics.defect_closure.MonovalentDefectClosureResult","qualified_name":"perovskite_sim.physics.defect_closure.MonovalentDefectClosureResult","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.defect_closure","callable":true}, +{"id":"export-af196c0279c0632b","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/defect_closure.py","route_id":"route-108317e3109dd879","origin_key":"export:perovskite_sim.physics.defect_closure.MonovalentDefectNeutralityResult","qualified_name":"perovskite_sim.physics.defect_closure.MonovalentDefectNeutralityResult","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.defect_closure","callable":true}, +{"id":"export-86f9165cfd3c9ba9","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/defect_closure.py","route_id":"route-108317e3109dd879","origin_key":"export:perovskite_sim.physics.defect_closure.MonovalentDefectRegion","qualified_name":"perovskite_sim.physics.defect_closure.MonovalentDefectRegion","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.defect_closure","callable":true}, +{"id":"export-56bfa6ba3b2a0b83","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/defect_closure.py","route_id":"route-108317e3109dd879","origin_key":"export:perovskite_sim.physics.defect_closure.evaluate_monovalent_bulk_defects","qualified_name":"perovskite_sim.physics.defect_closure.evaluate_monovalent_bulk_defects","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.defect_closure","callable":true}, +{"id":"export-b12d145a3cc2f723","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/defect_closure.py","route_id":"route-108317e3109dd879","origin_key":"export:perovskite_sim.physics.defect_closure.evaluate_monovalent_defect_closure","qualified_name":"perovskite_sim.physics.defect_closure.evaluate_monovalent_defect_closure","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.defect_closure","callable":true}, +{"id":"export-c348f8760bd9cba4","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/defect_closure.py","route_id":"route-108317e3109dd879","origin_key":"export:perovskite_sim.physics.defect_closure.evaluate_monovalent_source_defect_closure","qualified_name":"perovskite_sim.physics.defect_closure.evaluate_monovalent_source_defect_closure","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.defect_closure","callable":true}, +{"id":"export-1508bb1daf48c9ef","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/defect_closure.py","route_id":"route-108317e3109dd879","origin_key":"export:perovskite_sim.physics.defect_closure.solve_monovalent_defect_charge_neutrality","qualified_name":"perovskite_sim.physics.defect_closure.solve_monovalent_defect_charge_neutrality","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.defect_closure","callable":true}, +{"id":"export-d8ad7f7d531bd4b8","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/defect_distributions.py","route_id":"route-69cbc8c249cae851","origin_key":"export:perovskite_sim.physics.defect_distributions.DEFAULT_DEFECT_ENERGY_QUADRATURE_ORDER","qualified_name":"perovskite_sim.physics.defect_distributions.DEFAULT_DEFECT_ENERGY_QUADRATURE_ORDER","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-9c42ad6726384c28","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/defect_distributions.py","route_id":"route-69cbc8c249cae851","origin_key":"export:perovskite_sim.physics.defect_distributions.DEFECT_ENERGY_QUADRATURE_VERSION","qualified_name":"perovskite_sim.physics.defect_distributions.DEFECT_ENERGY_QUADRATURE_VERSION","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-fc4efbb3c84bf021","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/defect_distributions.py","route_id":"route-69cbc8c249cae851","origin_key":"export:perovskite_sim.physics.defect_distributions.DefectEnergyQuadrature","qualified_name":"perovskite_sim.physics.defect_distributions.DefectEnergyQuadrature","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.defect_distributions","callable":true}, +{"id":"export-af9ce756155ffbf9","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/defect_distributions.py","route_id":"route-69cbc8c249cae851","origin_key":"export:perovskite_sim.physics.defect_distributions.DefectSpeciesEnergyExpansion","qualified_name":"perovskite_sim.physics.defect_distributions.DefectSpeciesEnergyExpansion","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.defect_distributions","callable":true}, +{"id":"export-61ce74b6c83043ce","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/defect_distributions.py","route_id":"route-69cbc8c249cae851","origin_key":"export:perovskite_sim.physics.defect_distributions.build_defect_energy_quadrature","qualified_name":"perovskite_sim.physics.defect_distributions.build_defect_energy_quadrature","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.defect_distributions","callable":true}, +{"id":"export-1495076993c79f6b","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/defect_distributions.py","route_id":"route-69cbc8c249cae851","origin_key":"export:perovskite_sim.physics.defect_distributions.density_weighted_mean_occupancy","qualified_name":"perovskite_sim.physics.defect_distributions.density_weighted_mean_occupancy","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.defect_distributions","callable":true}, +{"id":"export-ee0b9caab94fab6f","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/defect_distributions.py","route_id":"route-69cbc8c249cae851","origin_key":"export:perovskite_sim.physics.defect_distributions.distribution_shape_integral_eV","qualified_name":"perovskite_sim.physics.defect_distributions.distribution_shape_integral_eV","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.defect_distributions","callable":true}, +{"id":"export-fb15ef5c95bc2fc0","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/defect_distributions.py","route_id":"route-69cbc8c249cae851","origin_key":"export:perovskite_sim.physics.defect_distributions.expand_bulk_defect_species_energy","qualified_name":"perovskite_sim.physics.defect_distributions.expand_bulk_defect_species_energy","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.defect_distributions","callable":true}, +{"id":"export-563612279ec15273","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/defect_distributions.py","route_id":"route-69cbc8c249cae851","origin_key":"export:perovskite_sim.physics.defect_distributions.integrated_density_from_peak_density","qualified_name":"perovskite_sim.physics.defect_distributions.integrated_density_from_peak_density","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.defect_distributions","callable":true}, +{"id":"export-643f8a7ee9f906be","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/defect_distributions.py","route_id":"route-69cbc8c249cae851","origin_key":"export:perovskite_sim.physics.defect_distributions.peak_density_from_integrated_density","qualified_name":"perovskite_sim.physics.defect_distributions.peak_density_from_integrated_density","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.defect_distributions","callable":true}, +{"id":"export-0afb9a0c0c1f1eb0","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/defect_distributions.py","route_id":"route-69cbc8c249cae851","origin_key":"export:perovskite_sim.physics.defect_distributions.validate_defect_energy_quadrature_order","qualified_name":"perovskite_sim.physics.defect_distributions.validate_defect_energy_quadrature_order","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.defect_distributions","callable":true}, +{"id":"export-5c41422086830661","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/degenerate_transport.py","route_id":"route-f7e8418017ccd1d1","origin_key":"export:perovskite_sim.physics.degenerate_transport.GeneralizedCarrierFaceStatistics","qualified_name":"perovskite_sim.physics.degenerate_transport.GeneralizedCarrierFaceStatistics","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.degenerate_transport","callable":true}, +{"id":"export-2f478eb8ddf877d7","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/degenerate_transport.py","route_id":"route-f7e8418017ccd1d1","origin_key":"export:perovskite_sim.physics.degenerate_transport.generalized_carrier_face_statistics","qualified_name":"perovskite_sim.physics.degenerate_transport.generalized_carrier_face_statistics","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.degenerate_transport","callable":true}, +{"id":"export-c53a6549d37ffa0d","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/degenerate_transport.py","route_id":"route-f7e8418017ccd1d1","origin_key":"export:perovskite_sim.physics.degenerate_transport.generalized_sg_fluxes_n","qualified_name":"perovskite_sim.physics.degenerate_transport.generalized_sg_fluxes_n","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.degenerate_transport","callable":true}, +{"id":"export-7271dca77b321c20","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/degenerate_transport.py","route_id":"route-f7e8418017ccd1d1","origin_key":"export:perovskite_sim.physics.degenerate_transport.generalized_sg_fluxes_p","qualified_name":"perovskite_sim.physics.degenerate_transport.generalized_sg_fluxes_p","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.degenerate_transport","callable":true}, +{"id":"export-b2e82b15576857d0","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/distributed_defect_closure.py","route_id":"route-716aea63eb4178e4","origin_key":"export:perovskite_sim.physics.distributed_defect_closure.ENERGY_DISTRIBUTED_DEFECT_CLOSURE_VERSION","qualified_name":"perovskite_sim.physics.distributed_defect_closure.ENERGY_DISTRIBUTED_DEFECT_CLOSURE_VERSION","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-e1e15e9fbb3ef61f","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/distributed_defect_closure.py","route_id":"route-716aea63eb4178e4","origin_key":"export:perovskite_sim.physics.distributed_defect_closure.EnergyDistributedDefectClosureCapabilityError","qualified_name":"perovskite_sim.physics.distributed_defect_closure.EnergyDistributedDefectClosureCapabilityError","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.distributed_defect_closure","callable":true}, +{"id":"export-c0dafc7d985c4b5a","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/distributed_defect_closure.py","route_id":"route-716aea63eb4178e4","origin_key":"export:perovskite_sim.physics.distributed_defect_closure.EnergyDistributedDefectClosureError","qualified_name":"perovskite_sim.physics.distributed_defect_closure.EnergyDistributedDefectClosureError","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.distributed_defect_closure","callable":true}, +{"id":"export-0f198e78733ead31","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/distributed_defect_closure.py","route_id":"route-716aea63eb4178e4","origin_key":"export:perovskite_sim.physics.distributed_defect_closure.EnergyDistributedDefectClosureResult","qualified_name":"perovskite_sim.physics.distributed_defect_closure.EnergyDistributedDefectClosureResult","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.distributed_defect_closure","callable":true}, +{"id":"export-1cf1e04b76e70f90","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/distributed_defect_closure.py","route_id":"route-716aea63eb4178e4","origin_key":"export:perovskite_sim.physics.distributed_defect_closure.EnergyResolvedSpeciesClosure","qualified_name":"perovskite_sim.physics.distributed_defect_closure.EnergyResolvedSpeciesClosure","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.distributed_defect_closure","callable":true}, +{"id":"export-b0caab2fb3c49fef","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/distributed_defect_closure.py","route_id":"route-716aea63eb4178e4","origin_key":"export:perovskite_sim.physics.distributed_defect_closure.evaluate_energy_distributed_defect_closure","qualified_name":"perovskite_sim.physics.distributed_defect_closure.evaluate_energy_distributed_defect_closure","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.distributed_defect_closure","callable":true}, +{"id":"export-ab87742783347174","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/dynamic_defect_state.py","route_id":"route-a1ddb1d3142ac66a","origin_key":"export:perovskite_sim.physics.dynamic_defect_state.DYNAMIC_BULK_TRAP_EVALUATION_VERSION","qualified_name":"perovskite_sim.physics.dynamic_defect_state.DYNAMIC_BULK_TRAP_EVALUATION_VERSION","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-e22f944aa40d99ac","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/dynamic_defect_state.py","route_id":"route-a1ddb1d3142ac66a","origin_key":"export:perovskite_sim.physics.dynamic_defect_state.DYNAMIC_BULK_TRAP_LAYOUT_VERSION","qualified_name":"perovskite_sim.physics.dynamic_defect_state.DYNAMIC_BULK_TRAP_LAYOUT_VERSION","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-93b5ba5cbd4e7b80","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/dynamic_defect_state.py","route_id":"route-a1ddb1d3142ac66a","origin_key":"export:perovskite_sim.physics.dynamic_defect_state.DynamicBulkTrapEvaluation","qualified_name":"perovskite_sim.physics.dynamic_defect_state.DynamicBulkTrapEvaluation","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.dynamic_defect_state","callable":true}, +{"id":"export-39c1d5a51440b8db","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/dynamic_defect_state.py","route_id":"route-a1ddb1d3142ac66a","origin_key":"export:perovskite_sim.physics.dynamic_defect_state.DynamicBulkTrapLayout","qualified_name":"perovskite_sim.physics.dynamic_defect_state.DynamicBulkTrapLayout","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.dynamic_defect_state","callable":true}, +{"id":"export-790a45f63df6e3dc","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/dynamic_defect_state.py","route_id":"route-a1ddb1d3142ac66a","origin_key":"export:perovskite_sim.physics.dynamic_defect_state.DynamicBulkTrapStateError","qualified_name":"perovskite_sim.physics.dynamic_defect_state.DynamicBulkTrapStateError","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.dynamic_defect_state","callable":true}, +{"id":"export-5ab9b01c6e07899a","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/dynamic_defect_state.py","route_id":"route-a1ddb1d3142ac66a","origin_key":"export:perovskite_sim.physics.dynamic_defect_state.bulk_trap_charge_density","qualified_name":"perovskite_sim.physics.dynamic_defect_state.bulk_trap_charge_density","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.dynamic_defect_state","callable":true}, +{"id":"export-6dd0cfd04c9b6497","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/dynamic_defect_state.py","route_id":"route-a1ddb1d3142ac66a","origin_key":"export:perovskite_sim.physics.dynamic_defect_state.compile_dynamic_bulk_trap_layout","qualified_name":"perovskite_sim.physics.dynamic_defect_state.compile_dynamic_bulk_trap_layout","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.dynamic_defect_state","callable":true}, +{"id":"export-2b24035456b6984e","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/dynamic_defect_state.py","route_id":"route-a1ddb1d3142ac66a","origin_key":"export:perovskite_sim.physics.dynamic_defect_state.evaluate_dynamic_bulk_traps","qualified_name":"perovskite_sim.physics.dynamic_defect_state.evaluate_dynamic_bulk_traps","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.dynamic_defect_state","callable":true}, +{"id":"export-5f716aed4c4abd09","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/dynamic_defect_state.py","route_id":"route-a1ddb1d3142ac66a","origin_key":"export:perovskite_sim.physics.dynamic_defect_state.evaluate_dynamic_bulk_traps_about_qss","qualified_name":"perovskite_sim.physics.dynamic_defect_state.evaluate_dynamic_bulk_traps_about_qss","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.dynamic_defect_state","callable":true}, +{"id":"export-837fd15ae2d18112","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/dynamic_defect_state.py","route_id":"route-a1ddb1d3142ac66a","origin_key":"export:perovskite_sim.physics.dynamic_defect_state.occupancy_from_logit_increment","qualified_name":"perovskite_sim.physics.dynamic_defect_state.occupancy_from_logit_increment","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.dynamic_defect_state","callable":true}, +{"id":"export-89b91e8f6e6f1d94","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/dynamic_defect_state.py","route_id":"route-a1ddb1d3142ac66a","origin_key":"export:perovskite_sim.physics.dynamic_defect_state.occupancy_logit","qualified_name":"perovskite_sim.physics.dynamic_defect_state.occupancy_logit","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.dynamic_defect_state","callable":true}, +{"id":"export-7edf5d42cc021668","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/dynamic_defect_state.py","route_id":"route-a1ddb1d3142ac66a","origin_key":"export:perovskite_sim.physics.dynamic_defect_state.quasi_steady_bulk_trap_occupancy","qualified_name":"perovskite_sim.physics.dynamic_defect_state.quasi_steady_bulk_trap_occupancy","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.dynamic_defect_state","callable":true}, +{"id":"export-b59a5660163a2f6c","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/dynamic_storage.py","route_id":"route-4a1ca1265630e4b8","origin_key":"export:perovskite_sim.physics.dynamic_storage.DynamicStorageIncrementError","qualified_name":"perovskite_sim.physics.dynamic_storage.DynamicStorageIncrementError","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.dynamic_storage","callable":true}, +{"id":"export-a3c92b4585eea6e1","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/dynamic_storage.py","route_id":"route-4a1ca1265630e4b8","origin_key":"export:perovskite_sim.physics.dynamic_storage.log_density_increment","qualified_name":"perovskite_sim.physics.dynamic_storage.log_density_increment","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.dynamic_storage","callable":true}, +{"id":"export-8939a53fe3ce61b6","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/dynamic_storage.py","route_id":"route-4a1ca1265630e4b8","origin_key":"export:perovskite_sim.physics.dynamic_storage.log_density_update","qualified_name":"perovskite_sim.physics.dynamic_storage.log_density_update","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.dynamic_storage","callable":true}, +{"id":"export-027e9ffbfb3d6394","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/dynamic_storage.py","route_id":"route-4a1ca1265630e4b8","origin_key":"export:perovskite_sim.physics.dynamic_storage.logit_occupancy_increment","qualified_name":"perovskite_sim.physics.dynamic_storage.logit_occupancy_increment","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.dynamic_storage","callable":true}, +{"id":"export-d2976e88f4256797","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/fermi_dirac.py","route_id":"route-1309d096349404ba","origin_key":"export:perovskite_sim.physics.fermi_dirac.fermi_dirac_half","qualified_name":"perovskite_sim.physics.fermi_dirac.fermi_dirac_half","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.fermi_dirac","callable":true}, +{"id":"export-8dcf20653db42b72","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/fermi_dirac.py","route_id":"route-1309d096349404ba","origin_key":"export:perovskite_sim.physics.fermi_dirac.fermi_dirac_half_log_derivative","qualified_name":"perovskite_sim.physics.fermi_dirac.fermi_dirac_half_log_derivative","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.fermi_dirac","callable":true}, +{"id":"export-4baa54f2dc396f4e","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/fermi_dirac.py","route_id":"route-1309d096349404ba","origin_key":"export:perovskite_sim.physics.fermi_dirac.fermi_dirac_one","qualified_name":"perovskite_sim.physics.fermi_dirac.fermi_dirac_one","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.fermi_dirac","callable":true}, +{"id":"export-8fed91f102e1a27a","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/fermi_dirac.py","route_id":"route-1309d096349404ba","origin_key":"export:perovskite_sim.physics.fermi_dirac.fermi_dirac_zero","qualified_name":"perovskite_sim.physics.fermi_dirac.fermi_dirac_zero","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.fermi_dirac","callable":true}, +{"id":"export-d4b9b21ec0b2d19d","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/fermi_dirac.py","route_id":"route-1309d096349404ba","origin_key":"export:perovskite_sim.physics.fermi_dirac.inverse_fermi_dirac_half","qualified_name":"perovskite_sim.physics.fermi_dirac.inverse_fermi_dirac_half","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.fermi_dirac","callable":true}, +{"id":"export-9f479d9c99125984","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/field_mobility.py","route_id":"route-f9d68986ba5bff64","origin_key":"export:perovskite_sim.physics.field_mobility.FieldMobilityLinearization","qualified_name":"perovskite_sim.physics.field_mobility.FieldMobilityLinearization","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.field_mobility","callable":true}, +{"id":"export-ed72784e2e7d5d76","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/field_mobility.py","route_id":"route-f9d68986ba5bff64","origin_key":"export:perovskite_sim.physics.field_mobility.apply_field_mobility","qualified_name":"perovskite_sim.physics.field_mobility.apply_field_mobility","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.field_mobility","callable":true}, +{"id":"export-92ff81a36f2c312a","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/field_mobility.py","route_id":"route-f9d68986ba5bff64","origin_key":"export:perovskite_sim.physics.field_mobility.caughey_thomas","qualified_name":"perovskite_sim.physics.field_mobility.caughey_thomas","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.field_mobility","callable":true}, +{"id":"export-20d2f15ffc2b1e33","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/field_mobility.py","route_id":"route-f9d68986ba5bff64","origin_key":"export:perovskite_sim.physics.field_mobility.linearize_field_mobility","qualified_name":"perovskite_sim.physics.field_mobility.linearize_field_mobility","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.field_mobility","callable":true}, +{"id":"export-346a9761dab79fba","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/field_mobility.py","route_id":"route-f9d68986ba5bff64","origin_key":"export:perovskite_sim.physics.field_mobility.poole_frenkel","qualified_name":"perovskite_sim.physics.field_mobility.poole_frenkel","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.field_mobility","callable":true}, +{"id":"export-04850ff6421b8b47","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/metastable_defect_closure.py","route_id":"route-d2fb47f08b8af2ba","origin_key":"export:perovskite_sim.physics.metastable_defect_closure.METASTABLE_CONFIGURATION_CLOSURE_VERSION","qualified_name":"perovskite_sim.physics.metastable_defect_closure.METASTABLE_CONFIGURATION_CLOSURE_VERSION","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-8465378bb5c1e760","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/metastable_defect_closure.py","route_id":"route-d2fb47f08b8af2ba","origin_key":"export:perovskite_sim.physics.metastable_defect_closure.MetastableConfigurationClosureError","qualified_name":"perovskite_sim.physics.metastable_defect_closure.MetastableConfigurationClosureError","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.metastable_defect_closure","callable":true}, +{"id":"export-7db80d4a79749fe2","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/metastable_defect_closure.py","route_id":"route-d2fb47f08b8af2ba","origin_key":"export:perovskite_sim.physics.metastable_defect_closure.MetastableConfigurationClosureResult","qualified_name":"perovskite_sim.physics.metastable_defect_closure.MetastableConfigurationClosureResult","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.metastable_defect_closure","callable":true}, +{"id":"export-aafe718e30e28798","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/metastable_defect_closure.py","route_id":"route-d2fb47f08b8af2ba","origin_key":"export:perovskite_sim.physics.metastable_defect_closure.evaluate_metastable_configuration_closure","qualified_name":"perovskite_sim.physics.metastable_defect_closure.evaluate_metastable_configuration_closure","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.metastable_defect_closure","callable":true}, +{"id":"export-a369e7bf54209aca","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/metastable_defect_device.py","route_id":"route-24d1f2b4bd711399","origin_key":"export:perovskite_sim.physics.metastable_defect_device.FROZEN_METASTABLE_MODEL_VERSION","qualified_name":"perovskite_sim.physics.metastable_defect_device.FROZEN_METASTABLE_MODEL_VERSION","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-51f599f5193e4c8c","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/metastable_defect_device.py","route_id":"route-24d1f2b4bd711399","origin_key":"export:perovskite_sim.physics.metastable_defect_device.FrozenMetastableBulkDefectModel","qualified_name":"perovskite_sim.physics.metastable_defect_device.FrozenMetastableBulkDefectModel","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.metastable_defect_device","callable":true}, +{"id":"export-10bf811d6a378f14","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/metastable_defect_device.py","route_id":"route-24d1f2b4bd711399","origin_key":"export:perovskite_sim.physics.metastable_defect_device.FrozenMetastableEvaluation","qualified_name":"perovskite_sim.physics.metastable_defect_device.FrozenMetastableEvaluation","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.metastable_defect_device","callable":true}, +{"id":"export-559dfc6900029d9a","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/metastable_defect_device.py","route_id":"route-24d1f2b4bd711399","origin_key":"export:perovskite_sim.physics.metastable_defect_device.FrozenMetastableModelError","qualified_name":"perovskite_sim.physics.metastable_defect_device.FrozenMetastableModelError","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.metastable_defect_device","callable":true}, +{"id":"export-104406c6fbe5b44a","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/metastable_defect_device.py","route_id":"route-24d1f2b4bd711399","origin_key":"export:perovskite_sim.physics.metastable_defect_device.FrozenMetastableRegion","qualified_name":"perovskite_sim.physics.metastable_defect_device.FrozenMetastableRegion","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.metastable_defect_device","callable":true}, +{"id":"export-2bfefff3be731f27","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/metastable_defect_device.py","route_id":"route-24d1f2b4bd711399","origin_key":"export:perovskite_sim.physics.metastable_defect_device.configuration_species","qualified_name":"perovskite_sim.physics.metastable_defect_device.configuration_species","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.metastable_defect_device","callable":true}, +{"id":"export-0c8c35fa94900e01","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/metastable_defect_device.py","route_id":"route-24d1f2b4bd711399","origin_key":"export:perovskite_sim.physics.metastable_defect_device.evaluate_frozen_metastable_bulk_defects","qualified_name":"perovskite_sim.physics.metastable_defect_device.evaluate_frozen_metastable_bulk_defects","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.metastable_defect_device","callable":true}, +{"id":"export-0b0820728993ca08","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/metastable_dynamic_state.py","route_id":"route-fa598cd61b2ea6b7","origin_key":"export:perovskite_sim.physics.metastable_dynamic_state.METASTABLE_DYNAMIC_STATE_VERSION","qualified_name":"perovskite_sim.physics.metastable_dynamic_state.METASTABLE_DYNAMIC_STATE_VERSION","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-beb46cb7172cc519","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/metastable_dynamic_state.py","route_id":"route-fa598cd61b2ea6b7","origin_key":"export:perovskite_sim.physics.metastable_dynamic_state.MetastableDynamicStateError","qualified_name":"perovskite_sim.physics.metastable_dynamic_state.MetastableDynamicStateError","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.metastable_dynamic_state","callable":true}, +{"id":"export-e97d2f71c4a956de","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/metastable_dynamic_state.py","route_id":"route-fa598cd61b2ea6b7","origin_key":"export:perovskite_sim.physics.metastable_dynamic_state.MetastableDynamicStep","qualified_name":"perovskite_sim.physics.metastable_dynamic_state.MetastableDynamicStep","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.metastable_dynamic_state","callable":true}, +{"id":"export-501ace6e625a0a57","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/metastable_dynamic_state.py","route_id":"route-fa598cd61b2ea6b7","origin_key":"export:perovskite_sim.physics.metastable_dynamic_state.advance_metastable_configuration","qualified_name":"perovskite_sim.physics.metastable_dynamic_state.advance_metastable_configuration","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.metastable_dynamic_state","callable":true}, +{"id":"export-b540af81bb22cc0a","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/metastable_dynamic_state.py","route_id":"route-fa598cd61b2ea6b7","origin_key":"export:perovskite_sim.physics.metastable_dynamic_state.configuration_charge_transfer_C_m3","qualified_name":"perovskite_sim.physics.metastable_dynamic_state.configuration_charge_transfer_C_m3","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.metastable_dynamic_state","callable":true}, +{"id":"export-08accd124c25a543","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/metastable_dynamic_state.py","route_id":"route-fa598cd61b2ea6b7","origin_key":"export:perovskite_sim.physics.metastable_dynamic_state.configuration_from_logit","qualified_name":"perovskite_sim.physics.metastable_dynamic_state.configuration_from_logit","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.metastable_dynamic_state","callable":true}, +{"id":"export-1716972b73214354","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/metastable_dynamic_state.py","route_id":"route-fa598cd61b2ea6b7","origin_key":"export:perovskite_sim.physics.metastable_dynamic_state.configuration_logit","qualified_name":"perovskite_sim.physics.metastable_dynamic_state.configuration_logit","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.metastable_dynamic_state","callable":true}, +{"id":"export-926a55ff2a5b676d","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/multivalent_defect_closure.py","route_id":"route-0345e88ff9597357","origin_key":"export:perovskite_sim.physics.multivalent_defect_closure.MULTIVALENT_DEFECT_CLOSURE_VERSION","qualified_name":"perovskite_sim.physics.multivalent_defect_closure.MULTIVALENT_DEFECT_CLOSURE_VERSION","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-26bfa062773fd19d","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/multivalent_defect_closure.py","route_id":"route-0345e88ff9597357","origin_key":"export:perovskite_sim.physics.multivalent_defect_closure.MultivalentDefectClosureError","qualified_name":"perovskite_sim.physics.multivalent_defect_closure.MultivalentDefectClosureError","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.multivalent_defect_closure","callable":true}, +{"id":"export-b2a2d65b158faaa7","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/multivalent_defect_closure.py","route_id":"route-0345e88ff9597357","origin_key":"export:perovskite_sim.physics.multivalent_defect_closure.MultivalentDefectClosureResult","qualified_name":"perovskite_sim.physics.multivalent_defect_closure.MultivalentDefectClosureResult","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.multivalent_defect_closure","callable":true}, +{"id":"export-86558ce958aa3ecb","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/multivalent_defect_closure.py","route_id":"route-0345e88ff9597357","origin_key":"export:perovskite_sim.physics.multivalent_defect_closure.evaluate_multivalent_defect_closure","qualified_name":"perovskite_sim.physics.multivalent_defect_closure.evaluate_multivalent_defect_closure","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.multivalent_defect_closure","callable":true}, +{"id":"export-66d9c3fc89d95b5a","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/multivalent_defect_device.py","route_id":"route-8dbbd61dabd00c1f","origin_key":"export:perovskite_sim.physics.multivalent_defect_device.MULTIVALENT_BULK_DEFECT_MODEL_VERSION","qualified_name":"perovskite_sim.physics.multivalent_defect_device.MULTIVALENT_BULK_DEFECT_MODEL_VERSION","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-91a73605d1fa023a","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/multivalent_defect_device.py","route_id":"route-8dbbd61dabd00c1f","origin_key":"export:perovskite_sim.physics.multivalent_defect_device.MultivalentBulkDefectEvaluation","qualified_name":"perovskite_sim.physics.multivalent_defect_device.MultivalentBulkDefectEvaluation","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.multivalent_defect_device","callable":true}, +{"id":"export-10b861f710b2d4e1","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/multivalent_defect_device.py","route_id":"route-8dbbd61dabd00c1f","origin_key":"export:perovskite_sim.physics.multivalent_defect_device.MultivalentBulkDefectModel","qualified_name":"perovskite_sim.physics.multivalent_defect_device.MultivalentBulkDefectModel","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.multivalent_defect_device","callable":true}, +{"id":"export-0af6f7cda6997f1c","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/multivalent_defect_device.py","route_id":"route-8dbbd61dabd00c1f","origin_key":"export:perovskite_sim.physics.multivalent_defect_device.MultivalentDefectNeutralityResult","qualified_name":"perovskite_sim.physics.multivalent_defect_device.MultivalentDefectNeutralityResult","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.multivalent_defect_device","callable":true}, +{"id":"export-9ed2e6898100ae6b","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/multivalent_defect_device.py","route_id":"route-8dbbd61dabd00c1f","origin_key":"export:perovskite_sim.physics.multivalent_defect_device.MultivalentDefectRegion","qualified_name":"perovskite_sim.physics.multivalent_defect_device.MultivalentDefectRegion","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.multivalent_defect_device","callable":true}, +{"id":"export-7af1c200b977925c","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/multivalent_defect_device.py","route_id":"route-8dbbd61dabd00c1f","origin_key":"export:perovskite_sim.physics.multivalent_defect_device.MultivalentSourceDefectClosureResult","qualified_name":"perovskite_sim.physics.multivalent_defect_device.MultivalentSourceDefectClosureResult","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.multivalent_defect_device","callable":true}, +{"id":"export-a1acbfbf66c0ae72","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/multivalent_defect_device.py","route_id":"route-8dbbd61dabd00c1f","origin_key":"export:perovskite_sim.physics.multivalent_defect_device.evaluate_multivalent_bulk_defects","qualified_name":"perovskite_sim.physics.multivalent_defect_device.evaluate_multivalent_bulk_defects","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.multivalent_defect_device","callable":true}, +{"id":"export-6bd188d22461932d","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/multivalent_defect_device.py","route_id":"route-8dbbd61dabd00c1f","origin_key":"export:perovskite_sim.physics.multivalent_defect_device.evaluate_multivalent_source_defect_closure","qualified_name":"perovskite_sim.physics.multivalent_defect_device.evaluate_multivalent_source_defect_closure","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.multivalent_defect_device","callable":true}, +{"id":"export-c25a3d4c508c19c9","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/multivalent_defect_device.py","route_id":"route-8dbbd61dabd00c1f","origin_key":"export:perovskite_sim.physics.multivalent_defect_device.solve_multivalent_defect_charge_neutrality","qualified_name":"perovskite_sim.physics.multivalent_defect_device.solve_multivalent_defect_charge_neutrality","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.multivalent_defect_device","callable":true}, +{"id":"export-06af0eb6c61a7b22","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/photon_recycling.py","route_id":"route-857ba4df243610e0","origin_key":"export:perovskite_sim.physics.photon_recycling.compute_p_esc","qualified_name":"perovskite_sim.physics.photon_recycling.compute_p_esc","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.photon_recycling","callable":true}, +{"id":"export-59d9d4af785be48e","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/photon_recycling.py","route_id":"route-857ba4df243610e0","origin_key":"export:perovskite_sim.physics.photon_recycling.compute_p_esc_for_absorber","qualified_name":"perovskite_sim.physics.photon_recycling.compute_p_esc_for_absorber","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.photon_recycling","callable":true}, +{"id":"export-c98b948bbbd699a5","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/photon_recycling.py","route_id":"route-857ba4df243610e0","origin_key":"export:perovskite_sim.physics.photon_recycling.wavelength_at_gap","qualified_name":"perovskite_sim.physics.photon_recycling.wavelength_at_gap","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.photon_recycling","callable":true}, +{"id":"export-377dc43976d10e14","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/regularization.py","route_id":"route-8e7abe0da216054d","origin_key":"export:perovskite_sim.physics.regularization.RHSRegularization","qualified_name":"perovskite_sim.physics.regularization.RHSRegularization","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.regularization","callable":true}, +{"id":"export-cea1a2d5b37d7deb","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/regularization.py","route_id":"route-8e7abe0da216054d","origin_key":"export:perovskite_sim.physics.regularization.compact_positive_part","qualified_name":"perovskite_sim.physics.regularization.compact_positive_part","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.regularization","callable":true}, +{"id":"export-6cdfcb1ba08858a7","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/regularization.py","route_id":"route-8e7abe0da216054d","origin_key":"export:perovskite_sim.physics.regularization.compact_sqrt_abs","qualified_name":"perovskite_sim.physics.regularization.compact_sqrt_abs","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.regularization","callable":true}, +{"id":"export-9b02ecfced777187","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/regularization.py","route_id":"route-8e7abe0da216054d","origin_key":"export:perovskite_sim.physics.regularization.direction_preserving_magnitude_min","qualified_name":"perovskite_sim.physics.regularization.direction_preserving_magnitude_min","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.regularization","callable":true}, +{"id":"export-afded9bdadc65e36","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/statistics.py","route_id":"route-35e97a37efe8ee31","origin_key":"export:perovskite_sim.physics.statistics.BulkChargeNeutralityState","qualified_name":"perovskite_sim.physics.statistics.BulkChargeNeutralityState","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.statistics","callable":true}, +{"id":"export-586aaf5a9d1f81d0","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/statistics.py","route_id":"route-35e97a37efe8ee31","origin_key":"export:perovskite_sim.physics.statistics.CHARGE_NEUTRALITY_RELATIVE_TOLERANCE","qualified_name":"perovskite_sim.physics.statistics.CHARGE_NEUTRALITY_RELATIVE_TOLERANCE","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-940e8c9904560743","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/statistics.py","route_id":"route-35e97a37efe8ee31","origin_key":"export:perovskite_sim.physics.statistics.CarrierStatistics","qualified_name":"perovskite_sim.physics.statistics.CarrierStatistics","evidence_level":"cold_attribute_resolution","resolved_origin":"typing","callable":true}, +{"id":"export-032e756e655d8adb","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/statistics.py","route_id":"route-35e97a37efe8ee31","origin_key":"export:perovskite_sim.physics.statistics.DISCRETE_LEVEL","qualified_name":"perovskite_sim.physics.statistics.DISCRETE_LEVEL","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-0e23e192195af9e2","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/statistics.py","route_id":"route-35e97a37efe8ee31","origin_key":"export:perovskite_sim.physics.statistics.DopantChargeState","qualified_name":"perovskite_sim.physics.statistics.DopantChargeState","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.statistics","callable":true}, +{"id":"export-3e35b42b77d62633","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/statistics.py","route_id":"route-35e97a37efe8ee31","origin_key":"export:perovskite_sim.physics.statistics.DopantIonizationModel","qualified_name":"perovskite_sim.physics.statistics.DopantIonizationModel","evidence_level":"cold_attribute_resolution","resolved_origin":"typing","callable":true}, +{"id":"export-23c6670b4221ac92","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/statistics.py","route_id":"route-35e97a37efe8ee31","origin_key":"export:perovskite_sim.physics.statistics.FERMI_DIRAC","qualified_name":"perovskite_sim.physics.statistics.FERMI_DIRAC","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-195f4a496dcf5493","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/statistics.py","route_id":"route-35e97a37efe8ee31","origin_key":"export:perovskite_sim.physics.statistics.FULLY_IONIZED","qualified_name":"perovskite_sim.physics.statistics.FULLY_IONIZED","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-5b67d5e851f17627","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/statistics.py","route_id":"route-35e97a37efe8ee31","origin_key":"export:perovskite_sim.physics.statistics.MAXWELL_BOLTZMANN","qualified_name":"perovskite_sim.physics.statistics.MAXWELL_BOLTZMANN","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-54e372490c91f689","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/statistics.py","route_id":"route-35e97a37efe8ee31","origin_key":"export:perovskite_sim.physics.statistics.carrier_density_derivative_reduced_fermi_level","qualified_name":"perovskite_sim.physics.statistics.carrier_density_derivative_reduced_fermi_level","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.statistics","callable":true}, +{"id":"export-d4cbd30e330adff6","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/statistics.py","route_id":"route-35e97a37efe8ee31","origin_key":"export:perovskite_sim.physics.statistics.carrier_density_from_reduced_fermi_level","qualified_name":"perovskite_sim.physics.statistics.carrier_density_from_reduced_fermi_level","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.statistics","callable":true}, +{"id":"export-2f2fa2397a6f6025","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/statistics.py","route_id":"route-35e97a37efe8ee31","origin_key":"export:perovskite_sim.physics.statistics.carrier_logarithmic_compressibility","qualified_name":"perovskite_sim.physics.statistics.carrier_logarithmic_compressibility","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.statistics","callable":true}, +{"id":"export-7cfc1065a53a2f05","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/statistics.py","route_id":"route-35e97a37efe8ee31","origin_key":"export:perovskite_sim.physics.statistics.carrier_occupation","qualified_name":"perovskite_sim.physics.statistics.carrier_occupation","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.statistics","callable":true}, +{"id":"export-9a208996cdd598dd","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/statistics.py","route_id":"route-35e97a37efe8ee31","origin_key":"export:perovskite_sim.physics.statistics.dopant_charge_state","qualified_name":"perovskite_sim.physics.statistics.dopant_charge_state","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.statistics","callable":true}, +{"id":"export-70efc11878ab4639","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/statistics.py","route_id":"route-35e97a37efe8ee31","origin_key":"export:perovskite_sim.physics.statistics.generalized_einstein_factor","qualified_name":"perovskite_sim.physics.statistics.generalized_einstein_factor","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.statistics","callable":true}, +{"id":"export-cb581b093bfdaf46","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/statistics.py","route_id":"route-35e97a37efe8ee31","origin_key":"export:perovskite_sim.physics.statistics.ionized_acceptor_fraction","qualified_name":"perovskite_sim.physics.statistics.ionized_acceptor_fraction","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.statistics","callable":true}, +{"id":"export-48166686773bcd9f","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/statistics.py","route_id":"route-35e97a37efe8ee31","origin_key":"export:perovskite_sim.physics.statistics.ionized_donor_fraction","qualified_name":"perovskite_sim.physics.statistics.ionized_donor_fraction","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.statistics","callable":true}, +{"id":"export-e85fdf13ad4ca1e7","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/statistics.py","route_id":"route-35e97a37efe8ee31","origin_key":"export:perovskite_sim.physics.statistics.normalize_carrier_statistics","qualified_name":"perovskite_sim.physics.statistics.normalize_carrier_statistics","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.statistics","callable":true}, +{"id":"export-60d31862000888a4","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/statistics.py","route_id":"route-35e97a37efe8ee31","origin_key":"export:perovskite_sim.physics.statistics.normalize_dopant_ionization_model","qualified_name":"perovskite_sim.physics.statistics.normalize_dopant_ionization_model","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.statistics","callable":true}, +{"id":"export-dcf731cd5dea36f0","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/statistics.py","route_id":"route-35e97a37efe8ee31","origin_key":"export:perovskite_sim.physics.statistics.reduced_fermi_level_from_density","qualified_name":"perovskite_sim.physics.statistics.reduced_fermi_level_from_density","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.statistics","callable":true}, +{"id":"export-28dfcdcc8fb093ae","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/statistics.py","route_id":"route-35e97a37efe8ee31","origin_key":"export:perovskite_sim.physics.statistics.solve_charge_neutrality","qualified_name":"perovskite_sim.physics.statistics.solve_charge_neutrality","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.statistics","callable":true}, +{"id":"export-4a89ab9148bdbe6b","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/statistics.py","route_id":"route-35e97a37efe8ee31","origin_key":"export:perovskite_sim.physics.statistics.solve_discrete_level_charge_neutrality","qualified_name":"perovskite_sim.physics.statistics.solve_discrete_level_charge_neutrality","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.statistics","callable":true}, +{"id":"export-0569735a5fb930ea","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/statistics.py","route_id":"route-35e97a37efe8ee31","origin_key":"export:perovskite_sim.physics.statistics.solve_fully_ionized_charge_neutrality","qualified_name":"perovskite_sim.physics.statistics.solve_fully_ionized_charge_neutrality","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.statistics","callable":true}, +{"id":"export-1fb52ad72b33e362","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/thermionic_constants.py","route_id":"route-8e06ca2231769bf9","origin_key":"export:perovskite_sim.physics.thermionic_constants.effective_mass_from_dos","qualified_name":"perovskite_sim.physics.thermionic_constants.effective_mass_from_dos","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.thermionic_constants","callable":true}, +{"id":"export-7ea12e6308823f69","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/thermionic_constants.py","route_id":"route-8e06ca2231769bf9","origin_key":"export:perovskite_sim.physics.thermionic_constants.emission_velocity","qualified_name":"perovskite_sim.physics.thermionic_constants.emission_velocity","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.thermionic_constants","callable":true}, +{"id":"export-1fd68177079bd237","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/thermionic_constants.py","route_id":"route-8e06ca2231769bf9","origin_key":"export:perovskite_sim.physics.thermionic_constants.is_free_electron_default","qualified_name":"perovskite_sim.physics.thermionic_constants.is_free_electron_default","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.thermionic_constants","callable":true}, +{"id":"export-6175a130a2398fcb","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/thermionic_constants.py","route_id":"route-8e06ca2231769bf9","origin_key":"export:perovskite_sim.physics.thermionic_constants.richardson_from_dos","qualified_name":"perovskite_sim.physics.thermionic_constants.richardson_from_dos","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.thermionic_constants","callable":true}, +{"id":"export-7e83a28083161b9c","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/trap_kinetics.py","route_id":"route-960df0ca64e33313","origin_key":"export:perovskite_sim.physics.trap_kinetics.SUPPORTED_TRAP_CHARGE_TRANSITIONS","qualified_name":"perovskite_sim.physics.trap_kinetics.SUPPORTED_TRAP_CHARGE_TRANSITIONS","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-5cbaeaab8cf9e33d","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/trap_kinetics.py","route_id":"route-960df0ca64e33313","origin_key":"export:perovskite_sim.physics.trap_kinetics.TRAP_PHASOR_CONVENTION","qualified_name":"perovskite_sim.physics.trap_kinetics.TRAP_PHASOR_CONVENTION","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-cc6b24432b178448","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/trap_kinetics.py","route_id":"route-960df0ca64e33313","origin_key":"export:perovskite_sim.physics.trap_kinetics.TRAP_RESERVOIR_KINETICS_SCHEMA","qualified_name":"perovskite_sim.physics.trap_kinetics.TRAP_RESERVOIR_KINETICS_SCHEMA","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-8e3cba3e68e0835b","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/trap_kinetics.py","route_id":"route-960df0ca64e33313","origin_key":"export:perovskite_sim.physics.trap_kinetics.TRAP_RESERVOIR_STATE_SCHEMA","qualified_name":"perovskite_sim.physics.trap_kinetics.TRAP_RESERVOIR_STATE_SCHEMA","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-6cb28ebd8be73ab5","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/trap_kinetics.py","route_id":"route-960df0ca64e33313","origin_key":"export:perovskite_sim.physics.trap_kinetics.TrapDCOperatingPoint","qualified_name":"perovskite_sim.physics.trap_kinetics.TrapDCOperatingPoint","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.trap_kinetics","callable":true}, +{"id":"export-3006afe16f8afd5b","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/trap_kinetics.py","route_id":"route-960df0ca64e33313","origin_key":"export:perovskite_sim.physics.trap_kinetics.TrapFrequencyResponse","qualified_name":"perovskite_sim.physics.trap_kinetics.TrapFrequencyResponse","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.trap_kinetics","callable":true}, +{"id":"export-bd473dcc8671efbc","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/trap_kinetics.py","route_id":"route-960df0ca64e33313","origin_key":"export:perovskite_sim.physics.trap_kinetics.TrapKineticsCertificationError","qualified_name":"perovskite_sim.physics.trap_kinetics.TrapKineticsCertificationError","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.trap_kinetics","callable":true}, +{"id":"export-5c0f9c5a07e1e19e","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/trap_kinetics.py","route_id":"route-960df0ca64e33313","origin_key":"export:perovskite_sim.physics.trap_kinetics.TrapKineticsError","qualified_name":"perovskite_sim.physics.trap_kinetics.TrapKineticsError","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.trap_kinetics","callable":true}, +{"id":"export-e93fd029e2439191","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/trap_kinetics.py","route_id":"route-960df0ca64e33313","origin_key":"export:perovskite_sim.physics.trap_kinetics.TrapLinearization","qualified_name":"perovskite_sim.physics.trap_kinetics.TrapLinearization","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.trap_kinetics","callable":true}, +{"id":"export-ab3f0bbed0a8493a","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/trap_kinetics.py","route_id":"route-960df0ca64e33313","origin_key":"export:perovskite_sim.physics.trap_kinetics.TrapReservoirKinetics","qualified_name":"perovskite_sim.physics.trap_kinetics.TrapReservoirKinetics","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.trap_kinetics","callable":true}, +{"id":"export-af2c9812fbefa662","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/trap_kinetics.py","route_id":"route-960df0ca64e33313","origin_key":"export:perovskite_sim.physics.trap_kinetics.TrapReservoirState","qualified_name":"perovskite_sim.physics.trap_kinetics.TrapReservoirState","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.trap_kinetics","callable":true}, +{"id":"export-7c2679aa860af4f6","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/trap_kinetics.py","route_id":"route-960df0ca64e33313","origin_key":"export:perovskite_sim.physics.trap_kinetics.evaluate_trap_dc_operating_point","qualified_name":"perovskite_sim.physics.trap_kinetics.evaluate_trap_dc_operating_point","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.trap_kinetics","callable":true}, +{"id":"export-db659ad73e1b4671","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/trap_kinetics.py","route_id":"route-960df0ca64e33313","origin_key":"export:perovskite_sim.physics.trap_kinetics.fixed_quasi_fermi_density_response_per_potential","qualified_name":"perovskite_sim.physics.trap_kinetics.fixed_quasi_fermi_density_response_per_potential","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.trap_kinetics","callable":true}, +{"id":"export-63e68de6f92a416e","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/trap_kinetics.py","route_id":"route-960df0ca64e33313","origin_key":"export:perovskite_sim.physics.trap_kinetics.linearize_trap_kinetics","qualified_name":"perovskite_sim.physics.trap_kinetics.linearize_trap_kinetics","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.trap_kinetics","callable":true}, +{"id":"export-5b8d32d7bc8c2fb5","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/trap_kinetics.py","route_id":"route-960df0ca64e33313","origin_key":"export:perovskite_sim.physics.trap_kinetics.solve_trap_frequency_response","qualified_name":"perovskite_sim.physics.trap_kinetics.solve_trap_frequency_response","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.trap_kinetics","callable":true}, +{"id":"export-7a3bfc6abddbba66","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/trap_population_response.py","route_id":"route-46c0d51d5bd93915","origin_key":"export:perovskite_sim.physics.trap_population_response.BULK_POPULATION_MEASURE","qualified_name":"perovskite_sim.physics.trap_population_response.BULK_POPULATION_MEASURE","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-661afdcb2481f8b2","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/trap_population_response.py","route_id":"route-46c0d51d5bd93915","origin_key":"export:perovskite_sim.physics.trap_population_response.BulkDefectPopulationFrequencyResponse","qualified_name":"perovskite_sim.physics.trap_population_response.BulkDefectPopulationFrequencyResponse","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.trap_population_response","callable":true}, +{"id":"export-b547abb52d332dde","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/trap_population_response.py","route_id":"route-46c0d51d5bd93915","origin_key":"export:perovskite_sim.physics.trap_population_response.INTERFACE_CAPTURE_FLUX_ORDER","qualified_name":"perovskite_sim.physics.trap_population_response.INTERFACE_CAPTURE_FLUX_ORDER","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-f2163216b62878b9","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/trap_population_response.py","route_id":"route-46c0d51d5bd93915","origin_key":"export:perovskite_sim.physics.trap_population_response.INTERFACE_POPULATION_MEASURE","qualified_name":"perovskite_sim.physics.trap_population_response.INTERFACE_POPULATION_MEASURE","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-de4cbf0de02f73bd","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/trap_population_response.py","route_id":"route-46c0d51d5bd93915","origin_key":"export:perovskite_sim.physics.trap_population_response.INTERFACE_RESERVOIR_ORDER","qualified_name":"perovskite_sim.physics.trap_population_response.INTERFACE_RESERVOIR_ORDER","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-10354ed615f7fe3b","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/trap_population_response.py","route_id":"route-46c0d51d5bd93915","origin_key":"export:perovskite_sim.physics.trap_population_response.InterfaceTrapPopulationFrequencyResponse","qualified_name":"perovskite_sim.physics.trap_population_response.InterfaceTrapPopulationFrequencyResponse","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.trap_population_response","callable":true}, +{"id":"export-366b5545ca39c189","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/trap_population_response.py","route_id":"route-46c0d51d5bd93915","origin_key":"export:perovskite_sim.physics.trap_population_response.LOCAL_POPULATION_BINDING_SCOPE","qualified_name":"perovskite_sim.physics.trap_population_response.LOCAL_POPULATION_BINDING_SCOPE","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-d325773e8ca50922","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/trap_population_response.py","route_id":"route-46c0d51d5bd93915","origin_key":"export:perovskite_sim.physics.trap_population_response.TRAP_POPULATION_RESPONSE_VERSION","qualified_name":"perovskite_sim.physics.trap_population_response.TRAP_POPULATION_RESPONSE_VERSION","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-a4cdb2ebe95b8a58","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/trap_population_response.py","route_id":"route-46c0d51d5bd93915","origin_key":"export:perovskite_sim.physics.trap_population_response.TrapPopulationCertificationError","qualified_name":"perovskite_sim.physics.trap_population_response.TrapPopulationCertificationError","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.trap_population_response","callable":true}, +{"id":"export-fcb9bdd91a213011","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/trap_population_response.py","route_id":"route-46c0d51d5bd93915","origin_key":"export:perovskite_sim.physics.trap_population_response.TrapPopulationResponseError","qualified_name":"perovskite_sim.physics.trap_population_response.TrapPopulationResponseError","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.trap_population_response","callable":true}, +{"id":"export-735e675a7186766e","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/trap_population_response.py","route_id":"route-46c0d51d5bd93915","origin_key":"export:perovskite_sim.physics.trap_population_response.solve_bulk_defect_population_frequency_response","qualified_name":"perovskite_sim.physics.trap_population_response.solve_bulk_defect_population_frequency_response","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.trap_population_response","callable":true}, +{"id":"export-2fcde1cef0796333","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/trap_population_response.py","route_id":"route-46c0d51d5bd93915","origin_key":"export:perovskite_sim.physics.trap_population_response.solve_two_sided_interface_trap_population_frequency_response","qualified_name":"perovskite_sim.physics.trap_population_response.solve_two_sided_interface_trap_population_frequency_response","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.trap_population_response","callable":true}, +{"id":"export-d31de8d3d09494d6","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/trap_transient.py","route_id":"route-c8e8f31424354d46","origin_key":"export:perovskite_sim.physics.trap_transient.ConstantReservoirTrapTrace","qualified_name":"perovskite_sim.physics.trap_transient.ConstantReservoirTrapTrace","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.trap_transient","callable":true}, +{"id":"export-0821d66ba3fd3f6a","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/trap_transient.py","route_id":"route-c8e8f31424354d46","origin_key":"export:perovskite_sim.physics.trap_transient.DYNAMIC_TRAP_TRANSIENT_VERSION","qualified_name":"perovskite_sim.physics.trap_transient.DYNAMIC_TRAP_TRANSIENT_VERSION","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-4d526859606d152f","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/trap_transient.py","route_id":"route-c8e8f31424354d46","origin_key":"export:perovskite_sim.physics.trap_transient.SUPPORTED_DYNAMIC_TRANSITIONS","qualified_name":"perovskite_sim.physics.trap_transient.SUPPORTED_DYNAMIC_TRANSITIONS","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-1d6bc2f29264a903","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/trap_transient.py","route_id":"route-c8e8f31424354d46","origin_key":"export:perovskite_sim.physics.trap_transient.TrapTransientError","qualified_name":"perovskite_sim.physics.trap_transient.TrapTransientError","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.trap_transient","callable":true}, +{"id":"export-d089cd21304690b1","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/trap_transient.py","route_id":"route-c8e8f31424354d46","origin_key":"export:perovskite_sim.physics.trap_transient.TrapTransientEvaluation","qualified_name":"perovskite_sim.physics.trap_transient.TrapTransientEvaluation","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.trap_transient","callable":true}, +{"id":"export-e3f45a45cc188c98","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/trap_transient.py","route_id":"route-c8e8f31424354d46","origin_key":"export:perovskite_sim.physics.trap_transient.TrapTransientTangent","qualified_name":"perovskite_sim.physics.trap_transient.TrapTransientTangent","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.trap_transient","callable":true}, +{"id":"export-f755d4903219db82","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/trap_transient.py","route_id":"route-c8e8f31424354d46","origin_key":"export:perovskite_sim.physics.trap_transient.constant_reservoir_trap_trace","qualified_name":"perovskite_sim.physics.trap_transient.constant_reservoir_trap_trace","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.trap_transient","callable":true}, +{"id":"export-8661de6b950f6762","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/trap_transient.py","route_id":"route-c8e8f31424354d46","origin_key":"export:perovskite_sim.physics.trap_transient.evaluate_trap_transient","qualified_name":"perovskite_sim.physics.trap_transient.evaluate_trap_transient","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.trap_transient","callable":true}, +{"id":"export-793ce2d0e54a83b4","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/trap_transient.py","route_id":"route-c8e8f31424354d46","origin_key":"export:perovskite_sim.physics.trap_transient.linearize_trap_transient","qualified_name":"perovskite_sim.physics.trap_transient.linearize_trap_transient","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.trap_transient","callable":true}, +{"id":"export-7c0ab82b58df35b2","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/trap_transient.py","route_id":"route-c8e8f31424354d46","origin_key":"export:perovskite_sim.physics.trap_transient.occupancy_from_logit","qualified_name":"perovskite_sim.physics.trap_transient.occupancy_from_logit","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.trap_transient","callable":true}, +{"id":"export-b04b9f06d8184744","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/trap_transient.py","route_id":"route-c8e8f31424354d46","origin_key":"export:perovskite_sim.physics.trap_transient.occupancy_logit","qualified_name":"perovskite_sim.physics.trap_transient.occupancy_logit","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.trap_transient","callable":true}, +{"id":"export-db77a519c0c84903","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/tunneling_channel_device.py","route_id":"route-90540c4c93c6e925","origin_key":"export:perovskite_sim.physics.tunneling_channel_device.CHANNEL_NAMES","qualified_name":"perovskite_sim.physics.tunneling_channel_device.CHANNEL_NAMES","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-e1ec2d3bc7add459","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/tunneling_channel_device.py","route_id":"route-90540c4c93c6e925","origin_key":"export:perovskite_sim.physics.tunneling_channel_device.CompiledTunnellingChannels","qualified_name":"perovskite_sim.physics.tunneling_channel_device.CompiledTunnellingChannels","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.tunneling_channel_device","callable":true}, +{"id":"export-06359a96be9a8209","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/tunneling_channel_device.py","route_id":"route-90540c4c93c6e925","origin_key":"export:perovskite_sim.physics.tunneling_channel_device.TUNNELLING_CHANNEL_DEVICE_VERSION","qualified_name":"perovskite_sim.physics.tunneling_channel_device.TUNNELLING_CHANNEL_DEVICE_VERSION","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-948f6de1ffb934a2","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/tunneling_channel_device.py","route_id":"route-90540c4c93c6e925","origin_key":"export:perovskite_sim.physics.tunneling_channel_device.TunnellingChannelCapabilityError","qualified_name":"perovskite_sim.physics.tunneling_channel_device.TunnellingChannelCapabilityError","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.tunneling_channel_device","callable":true}, +{"id":"export-34549f9cca85c199","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/tunneling_channel_device.py","route_id":"route-90540c4c93c6e925","origin_key":"export:perovskite_sim.physics.tunneling_channel_device.TunnellingChannelEvaluation","qualified_name":"perovskite_sim.physics.tunneling_channel_device.TunnellingChannelEvaluation","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.tunneling_channel_device","callable":true}, +{"id":"export-3daffe1fc81fdf9e","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/tunneling_channel_device.py","route_id":"route-90540c4c93c6e925","origin_key":"export:perovskite_sim.physics.tunneling_channel_device.compile_tunnelling_channels","qualified_name":"perovskite_sim.physics.tunneling_channel_device.compile_tunnelling_channels","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.tunneling_channel_device","callable":true}, +{"id":"export-e536be99ea575630","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/tunneling_channel_device.py","route_id":"route-90540c4c93c6e925","origin_key":"export:perovskite_sim.physics.tunneling_channel_device.evaluate_tunnelling_channels","qualified_name":"perovskite_sim.physics.tunneling_channel_device.evaluate_tunnelling_channels","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.tunneling_channel_device","callable":true}, +{"id":"export-690a837cf3c79742","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/tunneling_channel_device.py","route_id":"route-90540c4c93c6e925","origin_key":"export:perovskite_sim.physics.tunneling_channel_device.physical_quasi_fermi_levels_eV","qualified_name":"perovskite_sim.physics.tunneling_channel_device.physical_quasi_fermi_levels_eV","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.tunneling_channel_device","callable":true}, +{"id":"export-4c77dec78209954c","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/tunneling_channels.py","route_id":"route-5e56613ad2fca2db","origin_key":"export:perovskite_sim.physics.tunneling_channels.ChannelFlux","qualified_name":"perovskite_sim.physics.tunneling_channels.ChannelFlux","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.tunneling_channels","callable":true}, +{"id":"export-71ada6abb83fb47e","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/tunneling_channels.py","route_id":"route-5e56613ad2fca2db","origin_key":"export:perovskite_sim.physics.tunneling_channels.InterfaceDefectAssistedFlux","qualified_name":"perovskite_sim.physics.tunneling_channels.InterfaceDefectAssistedFlux","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.tunneling_channels","callable":true}, +{"id":"export-487071315e43bfd3","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/tunneling_channels.py","route_id":"route-5e56613ad2fca2db","origin_key":"export:perovskite_sim.physics.tunneling_channels.IntrabandBarrierRegion","qualified_name":"perovskite_sim.physics.tunneling_channels.IntrabandBarrierRegion","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.tunneling_channels","callable":true}, +{"id":"export-e0b82b36fc3ea314","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/tunneling_channels.py","route_id":"route-5e56613ad2fca2db","origin_key":"export:perovskite_sim.physics.tunneling_channels.IntrabandPathFlux","qualified_name":"perovskite_sim.physics.tunneling_channels.IntrabandPathFlux","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.tunneling_channels","callable":true}, +{"id":"export-dadbb7992d71a74e","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/tunneling_channels.py","route_id":"route-5e56613ad2fca2db","origin_key":"export:perovskite_sim.physics.tunneling_channels.TunnellingChannelError","qualified_name":"perovskite_sim.physics.tunneling_channels.TunnellingChannelError","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.tunneling_channels","callable":true}, +{"id":"export-4ff2373b26ad2d5d","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/tunneling_channels.py","route_id":"route-5e56613ad2fca2db","origin_key":"export:perovskite_sim.physics.tunneling_channels.band_to_band_flux","qualified_name":"perovskite_sim.physics.tunneling_channels.band_to_band_flux","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.tunneling_channels","callable":true}, +{"id":"export-6355760f4c557f86","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/tunneling_channels.py","route_id":"route-5e56613ad2fca2db","origin_key":"export:perovskite_sim.physics.tunneling_channels.conduction_band_eV","qualified_name":"perovskite_sim.physics.tunneling_channels.conduction_band_eV","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.tunneling_channels","callable":true}, +{"id":"export-f95776fd63351329","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/tunneling_channels.py","route_id":"route-5e56613ad2fca2db","origin_key":"export:perovskite_sim.physics.tunneling_channels.contact_tunnelling_flux","qualified_name":"perovskite_sim.physics.tunneling_channels.contact_tunnelling_flux","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.tunneling_channels","callable":true}, +{"id":"export-b82e2bbf233523a9","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/tunneling_channels.py","route_id":"route-5e56613ad2fca2db","origin_key":"export:perovskite_sim.physics.tunneling_channels.interface_defect_assisted_rate","qualified_name":"perovskite_sim.physics.tunneling_channels.interface_defect_assisted_rate","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.tunneling_channels","callable":true}, +{"id":"export-d32509f9df6d69d4","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/tunneling_channels.py","route_id":"route-5e56613ad2fca2db","origin_key":"export:perovskite_sim.physics.tunneling_channels.intraband_flux","qualified_name":"perovskite_sim.physics.tunneling_channels.intraband_flux","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.tunneling_channels","callable":true}, +{"id":"export-3ecc33c07a3d4202","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/tunneling_channels.py","route_id":"route-5e56613ad2fca2db","origin_key":"export:perovskite_sim.physics.tunneling_channels.intraband_path_flux","qualified_name":"perovskite_sim.physics.tunneling_channels.intraband_path_flux","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.tunneling_channels","callable":true}, +{"id":"export-e5df9a7e89a9df84","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/tunneling_channels.py","route_id":"route-5e56613ad2fca2db","origin_key":"export:perovskite_sim.physics.tunneling_channels.local_barrier_window","qualified_name":"perovskite_sim.physics.tunneling_channels.local_barrier_window","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.tunneling_channels","callable":true}, +{"id":"export-adec989d80201c9b","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/tunneling_channels.py","route_id":"route-5e56613ad2fca2db","origin_key":"export:perovskite_sim.physics.tunneling_channels.valence_band_eV","qualified_name":"perovskite_sim.physics.tunneling_channels.valence_band_eV","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.tunneling_channels","callable":true}, +{"id":"export-a01b4bef8c06ce3e","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface.py","route_id":"route-ebfb46505dfae15d","origin_key":"export:perovskite_sim.physics.two_sided_interface.ChargedElectrostaticTraceBalance","qualified_name":"perovskite_sim.physics.two_sided_interface.ChargedElectrostaticTraceBalance","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.two_sided_interface","callable":true}, +{"id":"export-35601f5d11760db7","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface.py","route_id":"route-ebfb46505dfae15d","origin_key":"export:perovskite_sim.physics.two_sided_interface.CoupledChargedInterfaceBalance","qualified_name":"perovskite_sim.physics.two_sided_interface.CoupledChargedInterfaceBalance","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.two_sided_interface","callable":true}, +{"id":"export-cf5134adbe6e5664","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface.py","route_id":"route-ebfb46505dfae15d","origin_key":"export:perovskite_sim.physics.two_sided_interface.DEDUPLICATED_QSS","qualified_name":"perovskite_sim.physics.two_sided_interface.DEDUPLICATED_QSS","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-63e5876c452eedf7","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface.py","route_id":"route-ebfb46505dfae15d","origin_key":"export:perovskite_sim.physics.two_sided_interface.EquilibriumReferencedMaterialQSSResult","qualified_name":"perovskite_sim.physics.two_sided_interface.EquilibriumReferencedMaterialQSSResult","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.two_sided_interface","callable":true}, +{"id":"export-4bf87539fb77a736","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface.py","route_id":"route-ebfb46505dfae15d","origin_key":"export:perovskite_sim.physics.two_sided_interface.EquilibriumReferencedSheetCharge","qualified_name":"perovskite_sim.physics.two_sided_interface.EquilibriumReferencedSheetCharge","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.two_sided_interface","callable":true}, +{"id":"export-123eb7a9317a6ad5","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface.py","route_id":"route-ebfb46505dfae15d","origin_key":"export:perovskite_sim.physics.two_sided_interface.EquilibriumReferencedTwoSidedInterfaceResult","qualified_name":"perovskite_sim.physics.two_sided_interface.EquilibriumReferencedTwoSidedInterfaceResult","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.two_sided_interface","callable":true}, +{"id":"export-5553703c9dac17dd","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface.py","route_id":"route-ebfb46505dfae15d","origin_key":"export:perovskite_sim.physics.two_sided_interface.FixedOccupancyCarrierTangent","qualified_name":"perovskite_sim.physics.two_sided_interface.FixedOccupancyCarrierTangent","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.two_sided_interface","callable":true}, +{"id":"export-00d4e3e6b42aa09d","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface.py","route_id":"route-ebfb46505dfae15d","origin_key":"export:perovskite_sim.physics.two_sided_interface.FixedOccupancyMaterialInterfaceResult","qualified_name":"perovskite_sim.physics.two_sided_interface.FixedOccupancyMaterialInterfaceResult","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.two_sided_interface","callable":true}, +{"id":"export-19b94034b78c9da9","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface.py","route_id":"route-ebfb46505dfae15d","origin_key":"export:perovskite_sim.physics.two_sided_interface.FixedOccupancyTwoSidedInterfaceResult","qualified_name":"perovskite_sim.physics.two_sided_interface.FixedOccupancyTwoSidedInterfaceResult","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.two_sided_interface","callable":true}, +{"id":"export-36f486d09639d89c","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface.py","route_id":"route-ebfb46505dfae15d","origin_key":"export:perovskite_sim.physics.two_sided_interface.INTERFACE_TOPOLOGIES","qualified_name":"perovskite_sim.physics.two_sided_interface.INTERFACE_TOPOLOGIES","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-fb2689594d2a89cd","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface.py","route_id":"route-ebfb46505dfae15d","origin_key":"export:perovskite_sim.physics.two_sided_interface.InterfaceTracePotentials","qualified_name":"perovskite_sim.physics.two_sided_interface.InterfaceTracePotentials","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.two_sided_interface","callable":true}, +{"id":"export-79393d38bc4a0a3d","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface.py","route_id":"route-ebfb46505dfae15d","origin_key":"export:perovskite_sim.physics.two_sided_interface.TWO_SIDED_TRACE","qualified_name":"perovskite_sim.physics.two_sided_interface.TWO_SIDED_TRACE","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-2e94573811a2fb10","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface.py","route_id":"route-ebfb46505dfae15d","origin_key":"export:perovskite_sim.physics.two_sided_interface.TwoSidedBulkState","qualified_name":"perovskite_sim.physics.two_sided_interface.TwoSidedBulkState","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.two_sided_interface","callable":true}, +{"id":"export-42ecafb16839535c","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface.py","route_id":"route-ebfb46505dfae15d","origin_key":"export:perovskite_sim.physics.two_sided_interface.TwoSidedCarrierBalance","qualified_name":"perovskite_sim.physics.two_sided_interface.TwoSidedCarrierBalance","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.two_sided_interface","callable":true}, +{"id":"export-9e87e6a472379b7e","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface.py","route_id":"route-ebfb46505dfae15d","origin_key":"export:perovskite_sim.physics.two_sided_interface.TwoSidedInterfaceGeometry","qualified_name":"perovskite_sim.physics.two_sided_interface.TwoSidedInterfaceGeometry","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.two_sided_interface","callable":true}, +{"id":"export-19f94f4cbf871b21","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface.py","route_id":"route-ebfb46505dfae15d","origin_key":"export:perovskite_sim.physics.two_sided_interface.TwoSidedInterfacePhysics","qualified_name":"perovskite_sim.physics.two_sided_interface.TwoSidedInterfacePhysics","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.two_sided_interface","callable":true}, +{"id":"export-b89fb3e843cfcf34","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface.py","route_id":"route-ebfb46505dfae15d","origin_key":"export:perovskite_sim.physics.two_sided_interface.TwoSidedInterfaceResult","qualified_name":"perovskite_sim.physics.two_sided_interface.TwoSidedInterfaceResult","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.two_sided_interface","callable":true}, +{"id":"export-d70e022c499c338e","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface.py","route_id":"route-ebfb46505dfae15d","origin_key":"export:perovskite_sim.physics.two_sided_interface.TwoSidedInterfaceStencil","qualified_name":"perovskite_sim.physics.two_sided_interface.TwoSidedInterfaceStencil","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.two_sided_interface","callable":true}, +{"id":"export-a5a21970fa4e98af","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface.py","route_id":"route-ebfb46505dfae15d","origin_key":"export:perovskite_sim.physics.two_sided_interface.TwoSidedMaterialQSSResult","qualified_name":"perovskite_sim.physics.two_sided_interface.TwoSidedMaterialQSSResult","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.two_sided_interface","callable":true}, +{"id":"export-ddce89ece80f4dff","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface.py","route_id":"route-ebfb46505dfae15d","origin_key":"export:perovskite_sim.physics.two_sided_interface.build_two_sided_interface_stencils","qualified_name":"perovskite_sim.physics.two_sided_interface.build_two_sided_interface_stencils","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.two_sided_interface","callable":true}, +{"id":"export-9eee8d617da1e6a1","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface.py","route_id":"route-ebfb46505dfae15d","origin_key":"export:perovskite_sim.physics.two_sided_interface.carrier_balance_and_jacobian","qualified_name":"perovskite_sim.physics.two_sided_interface.carrier_balance_and_jacobian","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.two_sided_interface","callable":true}, +{"id":"export-1b4c52ed10a347c6","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface.py","route_id":"route-ebfb46505dfae15d","origin_key":"export:perovskite_sim.physics.two_sided_interface.electrostatic_trace_residual_and_jacobian","qualified_name":"perovskite_sim.physics.two_sided_interface.electrostatic_trace_residual_and_jacobian","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.two_sided_interface","callable":true}, +{"id":"export-bf5d214e94fe1a93","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface.py","route_id":"route-ebfb46505dfae15d","origin_key":"export:perovskite_sim.physics.two_sided_interface.equilibrium_referenced_electrostatic_trace_balance","qualified_name":"perovskite_sim.physics.two_sided_interface.equilibrium_referenced_electrostatic_trace_balance","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.two_sided_interface","callable":true}, +{"id":"export-efed72b84c6e60f9","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface.py","route_id":"route-ebfb46505dfae15d","origin_key":"export:perovskite_sim.physics.two_sided_interface.equilibrium_referenced_two_sided_balance","qualified_name":"perovskite_sim.physics.two_sided_interface.equilibrium_referenced_two_sided_balance","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.two_sided_interface","callable":true}, +{"id":"export-d1fcff1ee6d3df7d","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface.py","route_id":"route-ebfb46505dfae15d","origin_key":"export:perovskite_sim.physics.two_sided_interface.fixed_occupancy_carrier_balance_and_jacobian","qualified_name":"perovskite_sim.physics.two_sided_interface.fixed_occupancy_carrier_balance_and_jacobian","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.two_sided_interface","callable":true}, +{"id":"export-d8a1051cacecd4c0","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface.py","route_id":"route-ebfb46505dfae15d","origin_key":"export:perovskite_sim.physics.two_sided_interface.fixed_occupancy_carrier_tangent","qualified_name":"perovskite_sim.physics.two_sided_interface.fixed_occupancy_carrier_tangent","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.two_sided_interface","callable":true}, +{"id":"export-d3fb70c77a08c2b4","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface.py","route_id":"route-ebfb46505dfae15d","origin_key":"export:perovskite_sim.physics.two_sided_interface.fixed_occupancy_carrier_tangent_from_density","qualified_name":"perovskite_sim.physics.two_sided_interface.fixed_occupancy_carrier_tangent_from_density","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.two_sided_interface","callable":true}, +{"id":"export-122cf43f145ef002","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface.py","route_id":"route-ebfb46505dfae15d","origin_key":"export:perovskite_sim.physics.two_sided_interface.fixed_occupancy_trap_capture_flux_and_log_jacobian","qualified_name":"perovskite_sim.physics.two_sided_interface.fixed_occupancy_trap_capture_flux_and_log_jacobian","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.two_sided_interface","callable":true}, +{"id":"export-ecce96a3d3a475f2","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface.py","route_id":"route-ebfb46505dfae15d","origin_key":"export:perovskite_sim.physics.two_sided_interface.remove_shared_interface_nodes","qualified_name":"perovskite_sim.physics.two_sided_interface.remove_shared_interface_nodes","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.two_sided_interface","callable":true}, +{"id":"export-a03308b5dbb2e638","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface.py","route_id":"route-ebfb46505dfae15d","origin_key":"export:perovskite_sim.physics.two_sided_interface.shared_trap_capture_flux","qualified_name":"perovskite_sim.physics.two_sided_interface.shared_trap_capture_flux","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.two_sided_interface","callable":true}, +{"id":"export-0c7f1db8b8a18cdf","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface.py","route_id":"route-ebfb46505dfae15d","origin_key":"export:perovskite_sim.physics.two_sided_interface.shared_trap_occupancy","qualified_name":"perovskite_sim.physics.two_sided_interface.shared_trap_occupancy","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.two_sided_interface","callable":true}, +{"id":"export-bac0104b171aecae","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface.py","route_id":"route-ebfb46505dfae15d","origin_key":"export:perovskite_sim.physics.two_sided_interface.shared_trap_occupancy_and_log_jacobian","qualified_name":"perovskite_sim.physics.two_sided_interface.shared_trap_occupancy_and_log_jacobian","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.two_sided_interface","callable":true}, +{"id":"export-88f2af98ca165efb","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface.py","route_id":"route-ebfb46505dfae15d","origin_key":"export:perovskite_sim.physics.two_sided_interface.solve_electrostatic_traces","qualified_name":"perovskite_sim.physics.two_sided_interface.solve_electrostatic_traces","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.two_sided_interface","callable":true}, +{"id":"export-d3e518bbfb95492f","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface.py","route_id":"route-ebfb46505dfae15d","origin_key":"export:perovskite_sim.physics.two_sided_interface.solve_equilibrium_referenced_two_sided_interface","qualified_name":"perovskite_sim.physics.two_sided_interface.solve_equilibrium_referenced_two_sided_interface","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.two_sided_interface","callable":true}, +{"id":"export-60656cb8ef1d2a23","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface.py","route_id":"route-ebfb46505dfae15d","origin_key":"export:perovskite_sim.physics.two_sided_interface.solve_fixed_occupancy_two_sided_interface","qualified_name":"perovskite_sim.physics.two_sided_interface.solve_fixed_occupancy_two_sided_interface","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.two_sided_interface","callable":true}, +{"id":"export-c854f3b5a807ae2d","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface.py","route_id":"route-ebfb46505dfae15d","origin_key":"export:perovskite_sim.physics.two_sided_interface.solve_material_equilibrium_referenced_two_sided_interfaces_qss","qualified_name":"perovskite_sim.physics.two_sided_interface.solve_material_equilibrium_referenced_two_sided_interfaces_qss","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.two_sided_interface","callable":true}, +{"id":"export-625826b292045695","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface.py","route_id":"route-ebfb46505dfae15d","origin_key":"export:perovskite_sim.physics.two_sided_interface.solve_material_fixed_occupancy_two_sided_interfaces","qualified_name":"perovskite_sim.physics.two_sided_interface.solve_material_fixed_occupancy_two_sided_interfaces","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.two_sided_interface","callable":true}, +{"id":"export-bc6f89ebbe1e7f94","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface.py","route_id":"route-ebfb46505dfae15d","origin_key":"export:perovskite_sim.physics.two_sided_interface.solve_material_two_sided_interfaces_qss","qualified_name":"perovskite_sim.physics.two_sided_interface.solve_material_two_sided_interfaces_qss","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.two_sided_interface","callable":true}, +{"id":"export-5c4799d428116423","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface.py","route_id":"route-ebfb46505dfae15d","origin_key":"export:perovskite_sim.physics.two_sided_interface.solve_two_sided_interface","qualified_name":"perovskite_sim.physics.two_sided_interface.solve_two_sided_interface","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.two_sided_interface","callable":true}, +{"id":"export-456532922363ebeb","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface.py","route_id":"route-ebfb46505dfae15d","origin_key":"export:perovskite_sim.physics.two_sided_interface.validate_interface_topology","qualified_name":"perovskite_sim.physics.two_sided_interface.validate_interface_topology","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.two_sided_interface","callable":true}, +{"id":"export-277f84699fff099f","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface_compensated.py","route_id":"route-681472f26b407b41","origin_key":"export:perovskite_sim.physics.two_sided_interface_compensated.FrozenLocalCoefficients","qualified_name":"perovskite_sim.physics.two_sided_interface_compensated.FrozenLocalCoefficients","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.two_sided_interface_compensated","callable":true}, +{"id":"export-032d4c84343dba0a","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface_compensated.py","route_id":"route-681472f26b407b41","origin_key":"export:perovskite_sim.physics.two_sided_interface_compensated.LocalCarrierEvaluation","qualified_name":"perovskite_sim.physics.two_sided_interface_compensated.LocalCarrierEvaluation","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.two_sided_interface_compensated","callable":true}, +{"id":"export-5f949d97c0271c22","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface_compensated.py","route_id":"route-681472f26b407b41","origin_key":"export:perovskite_sim.physics.two_sided_interface_compensated.UnsupportedCompensatedInterfaceDomain","qualified_name":"perovskite_sim.physics.two_sided_interface_compensated.UnsupportedCompensatedInterfaceDomain","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.two_sided_interface_compensated","callable":true}, +{"id":"export-22143961307e8210","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface_compensated.py","route_id":"route-681472f26b407b41","origin_key":"export:perovskite_sim.physics.two_sided_interface_compensated.default_fd_table","qualified_name":"perovskite_sim.physics.two_sided_interface_compensated.default_fd_table","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.two_sided_interface_compensated","callable":true}, +{"id":"export-acf3a0ffe148c9c7","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface_compensated.py","route_id":"route-681472f26b407b41","origin_key":"export:perovskite_sim.physics.two_sided_interface_compensated.evaluate_local_carrier_pair","qualified_name":"perovskite_sim.physics.two_sided_interface_compensated.evaluate_local_carrier_pair","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.two_sided_interface_compensated","callable":true}, +{"id":"export-115756809b95ca47","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface_compensated.py","route_id":"route-681472f26b407b41","origin_key":"export:perovskite_sim.physics.two_sided_interface_compensated.freeze_coefficients","qualified_name":"perovskite_sim.physics.two_sided_interface_compensated.freeze_coefficients","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.two_sided_interface_compensated","callable":true}, +{"id":"export-bb7ce3dc74659e5d","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface_compensated.py","route_id":"route-681472f26b407b41","origin_key":"export:perovskite_sim.physics.two_sided_interface_compensated.to_production_tangent","qualified_name":"perovskite_sim.physics.two_sided_interface_compensated.to_production_tangent","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.two_sided_interface_compensated","callable":true}, +{"id":"export-4248ccfa9fae6ea0","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/wkb_tunneling.py","route_id":"route-6bb3ba52a914c157","origin_key":"export:perovskite_sim.physics.wkb_tunneling.ELECTRON_MASS_KG","qualified_name":"perovskite_sim.physics.wkb_tunneling.ELECTRON_MASS_KG","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-84a2edda71a6f3ff","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/wkb_tunneling.py","route_id":"route-6bb3ba52a914c157","origin_key":"export:perovskite_sim.physics.wkb_tunneling.HBAR_J_S","qualified_name":"perovskite_sim.physics.wkb_tunneling.HBAR_J_S","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-51a924077711d892","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/wkb_tunneling.py","route_id":"route-6bb3ba52a914c157","origin_key":"export:perovskite_sim.physics.wkb_tunneling.MINIMUM_MEANINGFUL_ACTION","qualified_name":"perovskite_sim.physics.wkb_tunneling.MINIMUM_MEANINGFUL_ACTION","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-6a025489679bb32d","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/wkb_tunneling.py","route_id":"route-6bb3ba52a914c157","origin_key":"export:perovskite_sim.physics.wkb_tunneling.ReciprocalFlux","qualified_name":"perovskite_sim.physics.wkb_tunneling.ReciprocalFlux","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.wkb_tunneling","callable":true}, +{"id":"export-eb9a7dbc70ac4e62","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/wkb_tunneling.py","route_id":"route-6bb3ba52a914c157","origin_key":"export:perovskite_sim.physics.wkb_tunneling.WKBTunnellingError","qualified_name":"perovskite_sim.physics.wkb_tunneling.WKBTunnellingError","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.wkb_tunneling","callable":true}, +{"id":"export-08b93c6a1f6e7530","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/wkb_tunneling.py","route_id":"route-6bb3ba52a914c157","origin_key":"export:perovskite_sim.physics.wkb_tunneling.WKBValidity","qualified_name":"perovskite_sim.physics.wkb_tunneling.WKBValidity","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.wkb_tunneling","callable":true}, +{"id":"export-c790963db05f27ca","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/wkb_tunneling.py","route_id":"route-6bb3ba52a914c157","origin_key":"export:perovskite_sim.physics.wkb_tunneling.decay_constant_per_m","qualified_name":"perovskite_sim.physics.wkb_tunneling.decay_constant_per_m","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.wkb_tunneling","callable":true}, +{"id":"export-d4a14b59601ddf51","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/wkb_tunneling.py","route_id":"route-6bb3ba52a914c157","origin_key":"export:perovskite_sim.physics.wkb_tunneling.forbidden_run","qualified_name":"perovskite_sim.physics.wkb_tunneling.forbidden_run","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.wkb_tunneling","callable":true}, +{"id":"export-3e6379700c8edfc7","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/wkb_tunneling.py","route_id":"route-6bb3ba52a914c157","origin_key":"export:perovskite_sim.physics.wkb_tunneling.kane_uniform_field_action","qualified_name":"perovskite_sim.physics.wkb_tunneling.kane_uniform_field_action","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.wkb_tunneling","callable":true}, +{"id":"export-6b2f0c3305476d76","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/wkb_tunneling.py","route_id":"route-6bb3ba52a914c157","origin_key":"export:perovskite_sim.physics.wkb_tunneling.piecewise_linear_wkb_segment_actions","qualified_name":"perovskite_sim.physics.wkb_tunneling.piecewise_linear_wkb_segment_actions","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.wkb_tunneling","callable":true}, +{"id":"export-eb7d15fd4b16725d","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/wkb_tunneling.py","route_id":"route-6bb3ba52a914c157","origin_key":"export:perovskite_sim.physics.wkb_tunneling.reciprocal_net_flux","qualified_name":"perovskite_sim.physics.wkb_tunneling.reciprocal_net_flux","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.wkb_tunneling","callable":true}, +{"id":"export-ef1dcd956c317d05","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/wkb_tunneling.py","route_id":"route-6bb3ba52a914c157","origin_key":"export:perovskite_sim.physics.wkb_tunneling.triangular_barrier_action","qualified_name":"perovskite_sim.physics.wkb_tunneling.triangular_barrier_action","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.wkb_tunneling","callable":true}, +{"id":"export-3078e14be9fecb68","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/wkb_tunneling.py","route_id":"route-6bb3ba52a914c157","origin_key":"export:perovskite_sim.physics.wkb_tunneling.turning_point_levels","qualified_name":"perovskite_sim.physics.wkb_tunneling.turning_point_levels","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.wkb_tunneling","callable":true}, +{"id":"export-c53d3116abf22d3d","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/wkb_tunneling.py","route_id":"route-6bb3ba52a914c157","origin_key":"export:perovskite_sim.physics.wkb_tunneling.turning_point_nodes","qualified_name":"perovskite_sim.physics.wkb_tunneling.turning_point_nodes","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.wkb_tunneling","callable":true}, +{"id":"export-eead2961781c8c04","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/wkb_tunneling.py","route_id":"route-6bb3ba52a914c157","origin_key":"export:perovskite_sim.physics.wkb_tunneling.two_band_action","qualified_name":"perovskite_sim.physics.wkb_tunneling.two_band_action","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.wkb_tunneling","callable":true}, +{"id":"export-e263d5140c2c0ef8","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/wkb_tunneling.py","route_id":"route-6bb3ba52a914c157","origin_key":"export:perovskite_sim.physics.wkb_tunneling.two_band_decay_constant_per_m","qualified_name":"perovskite_sim.physics.wkb_tunneling.two_band_decay_constant_per_m","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.wkb_tunneling","callable":true}, +{"id":"export-d8464296f6dda8ae","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/wkb_tunneling.py","route_id":"route-6bb3ba52a914c157","origin_key":"export:perovskite_sim.physics.wkb_tunneling.two_band_transmission","qualified_name":"perovskite_sim.physics.wkb_tunneling.two_band_transmission","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.wkb_tunneling","callable":true}, +{"id":"export-135818503054b98e","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/wkb_tunneling.py","route_id":"route-6bb3ba52a914c157","origin_key":"export:perovskite_sim.physics.wkb_tunneling.two_band_turning_point_levels","qualified_name":"perovskite_sim.physics.wkb_tunneling.two_band_turning_point_levels","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.wkb_tunneling","callable":true}, +{"id":"export-f34353a6456d286f","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/wkb_tunneling.py","route_id":"route-6bb3ba52a914c157","origin_key":"export:perovskite_sim.physics.wkb_tunneling.two_band_turning_point_nodes","qualified_name":"perovskite_sim.physics.wkb_tunneling.two_band_turning_point_nodes","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.wkb_tunneling","callable":true}, +{"id":"export-cb8874657e249f5c","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/wkb_tunneling.py","route_id":"route-6bb3ba52a914c157","origin_key":"export:perovskite_sim.physics.wkb_tunneling.two_band_validity","qualified_name":"perovskite_sim.physics.wkb_tunneling.two_band_validity","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.wkb_tunneling","callable":true}, +{"id":"export-ab5bebf087687e6c","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/wkb_tunneling.py","route_id":"route-6bb3ba52a914c157","origin_key":"export:perovskite_sim.physics.wkb_tunneling.windowed_wkb_action","qualified_name":"perovskite_sim.physics.wkb_tunneling.windowed_wkb_action","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.wkb_tunneling","callable":true}, +{"id":"export-fe13d78a280a38e6","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/wkb_tunneling.py","route_id":"route-6bb3ba52a914c157","origin_key":"export:perovskite_sim.physics.wkb_tunneling.windowed_wkb_transmission","qualified_name":"perovskite_sim.physics.wkb_tunneling.windowed_wkb_transmission","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.wkb_tunneling","callable":true}, +{"id":"export-0a6b3b5a8f7e8755","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/wkb_tunneling.py","route_id":"route-6bb3ba52a914c157","origin_key":"export:perovskite_sim.physics.wkb_tunneling.wkb_action","qualified_name":"perovskite_sim.physics.wkb_tunneling.wkb_action","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.wkb_tunneling","callable":true}, +{"id":"export-346ea9ec96475766","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/wkb_tunneling.py","route_id":"route-6bb3ba52a914c157","origin_key":"export:perovskite_sim.physics.wkb_tunneling.wkb_transmission","qualified_name":"perovskite_sim.physics.wkb_tunneling.wkb_transmission","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.wkb_tunneling","callable":true}, +{"id":"export-b5d05ff37844ebab","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/physics/wkb_tunneling.py","route_id":"route-6bb3ba52a914c157","origin_key":"export:perovskite_sim.physics.wkb_tunneling.wkb_validity","qualified_name":"perovskite_sim.physics.wkb_tunneling.wkb_validity","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.physics.wkb_tunneling","callable":true}, +{"id":"export-81e23d55fbcdab93","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/scaps_compat/__init__.py","route_id":"route-d37babac643ca975","origin_key":"export:perovskite_sim.scaps_compat.ScapsDistributedDefectConversion","qualified_name":"perovskite_sim.scaps_compat.ScapsDistributedDefectConversion","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.scaps_compat.distributed_defects","callable":true}, +{"id":"export-56a8301d62db838b","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/scaps_compat/__init__.py","route_id":"route-d37babac643ca975","origin_key":"export:perovskite_sim.scaps_compat.cm3_to_m3","qualified_name":"perovskite_sim.scaps_compat.cm3_to_m3","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.sweeps.device_parameter_sweep","callable":true}, +{"id":"export-38f480ad27372ae5","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/scaps_compat/__init__.py","route_id":"route-d37babac643ca975","origin_key":"export:perovskite_sim.scaps_compat.cms_to_ms","qualified_name":"perovskite_sim.scaps_compat.cms_to_ms","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.sweeps.device_parameter_sweep","callable":true}, +{"id":"export-d9fb612922d3182a","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/scaps_compat/__init__.py","route_id":"route-d37babac643ca975","origin_key":"export:perovskite_sim.scaps_compat.convert_scaps_distributed_bulk_defect","qualified_name":"perovskite_sim.scaps_compat.convert_scaps_distributed_bulk_defect","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.scaps_compat.distributed_defects","callable":true}, +{"id":"export-4473ba16c7e0aa0f","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/scaps_compat/distributed_defects.py","route_id":"route-2cbeb7481b7e8b7a","origin_key":"export:perovskite_sim.scaps_compat.distributed_defects.SCAPS_DENSITY_RELATIVE_TOLERANCE","qualified_name":"perovskite_sim.scaps_compat.distributed_defects.SCAPS_DENSITY_RELATIVE_TOLERANCE","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-1c01fcdffd6f1aaf","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/scaps_compat/distributed_defects.py","route_id":"route-2cbeb7481b7e8b7a","origin_key":"export:perovskite_sim.scaps_compat.distributed_defects.SCAPS_DISTRIBUTED_DEFECT_ADAPTER_VERSION","qualified_name":"perovskite_sim.scaps_compat.distributed_defects.SCAPS_DISTRIBUTED_DEFECT_ADAPTER_VERSION","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-2840e7e593109573","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/scaps_compat/distributed_defects.py","route_id":"route-2cbeb7481b7e8b7a","origin_key":"export:perovskite_sim.scaps_compat.distributed_defects.SCAPS_ENERGY_ABOVE_INTRINSIC_LEVEL","qualified_name":"perovskite_sim.scaps_compat.distributed_defects.SCAPS_ENERGY_ABOVE_INTRINSIC_LEVEL","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-3f4c982927699d4a","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/scaps_compat/distributed_defects.py","route_id":"route-2cbeb7481b7e8b7a","origin_key":"export:perovskite_sim.scaps_compat.distributed_defects.SCAPS_ENERGY_ABOVE_VALENCE_BAND","qualified_name":"perovskite_sim.scaps_compat.distributed_defects.SCAPS_ENERGY_ABOVE_VALENCE_BAND","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-e54139cbf9d50020","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/scaps_compat/distributed_defects.py","route_id":"route-2cbeb7481b7e8b7a","origin_key":"export:perovskite_sim.scaps_compat.distributed_defects.SCAPS_ENERGY_BELOW_CONDUCTION_BAND","qualified_name":"perovskite_sim.scaps_compat.distributed_defects.SCAPS_ENERGY_BELOW_CONDUCTION_BAND","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-c2feba8adaedc1d7","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/scaps_compat/distributed_defects.py","route_id":"route-2cbeb7481b7e8b7a","origin_key":"export:perovskite_sim.scaps_compat.distributed_defects.ScapsDistributedDefectConversion","qualified_name":"perovskite_sim.scaps_compat.distributed_defects.ScapsDistributedDefectConversion","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.scaps_compat.distributed_defects","callable":true}, +{"id":"export-221abb6a74fbd91a","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/scaps_compat/distributed_defects.py","route_id":"route-2cbeb7481b7e8b7a","origin_key":"export:perovskite_sim.scaps_compat.distributed_defects.convert_scaps_distributed_bulk_defect","qualified_name":"perovskite_sim.scaps_compat.distributed_defects.convert_scaps_distributed_bulk_defect","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.scaps_compat.distributed_defects","callable":true}, +{"id":"export-21675e901780a4ce","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/scaps_compat/__init__.py","route_id":"route-d37babac643ca975","origin_key":"export:perovskite_sim.scaps_compat.interface_surface_velocity","qualified_name":"perovskite_sim.scaps_compat.interface_surface_velocity","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.scaps_compat.defects","callable":true}, +{"id":"export-8080f36327fe05c5","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/scaps_compat/__init__.py","route_id":"route-d37babac643ca975","origin_key":"export:perovskite_sim.scaps_compat.load_scaps_yaml","qualified_name":"perovskite_sim.scaps_compat.load_scaps_yaml","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.scaps_compat.loader","callable":true}, +{"id":"export-ca27f83ece5d22e3","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/scaps_compat/__init__.py","route_id":"route-d37babac643ca975","origin_key":"export:perovskite_sim.scaps_compat.ni_from_dos","qualified_name":"perovskite_sim.scaps_compat.ni_from_dos","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.scaps_compat.materials","callable":true}, +{"id":"export-e727d31cd5ae6602","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/scaps_compat/__init__.py","route_id":"route-d37babac643ca975","origin_key":"export:perovskite_sim.scaps_compat.srh_lifetime","qualified_name":"perovskite_sim.scaps_compat.srh_lifetime","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.scaps_compat.defects","callable":true}, +{"id":"export-f251688d44e09723","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/scaps_compat/__init__.py","route_id":"route-d37babac643ca975","origin_key":"export:perovskite_sim.scaps_compat.srh_n1_p1_from_trap_depth","qualified_name":"perovskite_sim.scaps_compat.srh_n1_p1_from_trap_depth","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.sweeps.device_parameter_sweep","callable":true}, +{"id":"export-29e1d08f05b2e3c5","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/screening/__init__.py","route_id":"route-71a8068fa5148b1d","origin_key":"export:perovskite_sim.screening.expand_sweep_manifest","qualified_name":"perovskite_sim.screening.expand_sweep_manifest","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.screening.solarscale","callable":true}, +{"id":"export-9cc4fa2f9533d1b0","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/screening/__init__.py","route_id":"route-71a8068fa5148b1d","origin_key":"export:perovskite_sim.screening.generate_solarlab_inputs","qualified_name":"perovskite_sim.screening.generate_solarlab_inputs","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.screening.solarscale","callable":true}, +{"id":"export-56f2e77222a64330","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/screening/__init__.py","route_id":"route-71a8068fa5148b1d","origin_key":"export:perovskite_sim.screening.load_material_records","qualified_name":"perovskite_sim.screening.load_material_records","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.screening.solarscale","callable":true}, +{"id":"export-310960d1f3aca90f","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/screening/__init__.py","route_id":"route-71a8068fa5148b1d","origin_key":"export:perovskite_sim.screening.parse_material_records","qualified_name":"perovskite_sim.screening.parse_material_records","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.screening.solarscale","callable":true}, +{"id":"export-2bce391b3036ed81","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/screening/__init__.py","route_id":"route-71a8068fa5148b1d","origin_key":"export:perovskite_sim.screening.plan_solarlab_import","qualified_name":"perovskite_sim.screening.plan_solarlab_import","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.screening.solarscale","callable":true}, +{"id":"export-16804a1f30210e4d","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/screening/__init__.py","route_id":"route-71a8068fa5148b1d","origin_key":"export:perovskite_sim.screening.run_material_evaluation_report","qualified_name":"perovskite_sim.screening.run_material_evaluation_report","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.screening.evaluation_report","callable":true}, +{"id":"export-6dea8ecf835954b0","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/screening/__init__.py","route_id":"route-71a8068fa5148b1d","origin_key":"export:perovskite_sim.screening.run_smoke_device_results","qualified_name":"perovskite_sim.screening.run_smoke_device_results","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.screening.solarscale","callable":true}, +{"id":"export-804ea7d15b877741","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/screening/__init__.py","route_id":"route-71a8068fa5148b1d","origin_key":"export:perovskite_sim.screening.run_smoke_jv","qualified_name":"perovskite_sim.screening.run_smoke_jv","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.screening.solarscale","callable":true}, +{"id":"export-f1ba4e38ba086e11","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/screening/__init__.py","route_id":"route-71a8068fa5148b1d","origin_key":"export:perovskite_sim.screening.write_device_results","qualified_name":"perovskite_sim.screening.write_device_results","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.screening.solarscale","callable":true}, +{"id":"export-b3cc02a0f2a60e16","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/solver/bulk_trap_equilibrium.py","route_id":"route-1129c9e5b90696a0","origin_key":"export:perovskite_sim.solver.bulk_trap_equilibrium.BulkTrapPNEquilibriumResult","qualified_name":"perovskite_sim.solver.bulk_trap_equilibrium.BulkTrapPNEquilibriumResult","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.solver.bulk_trap_equilibrium","callable":true}, +{"id":"export-5439b001bc438628","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/solver/bulk_trap_equilibrium.py","route_id":"route-1129c9e5b90696a0","origin_key":"export:perovskite_sim.solver.bulk_trap_equilibrium.solve_bulk_trap_pn_equilibrium","qualified_name":"perovskite_sim.solver.bulk_trap_equilibrium.solve_bulk_trap_pn_equilibrium","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.solver.bulk_trap_equilibrium","callable":true}, +{"id":"export-5b22512e4d129a40","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/solver/dae.py","route_id":"route-902dc4ac38f019c9","origin_key":"export:perovskite_sim.solver.dae.DAECapabilityError","qualified_name":"perovskite_sim.solver.dae.DAECapabilityError","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.solver.dae","callable":true}, +{"id":"export-ab425c165dd85e2f","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/solver/dae.py","route_id":"route-902dc4ac38f019c9","origin_key":"export:perovskite_sim.solver.dae.DAEConsistentInitialCondition","qualified_name":"perovskite_sim.solver.dae.DAEConsistentInitialCondition","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.solver.dae","callable":true}, +{"id":"export-8352491864e1ed10","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/solver/dae.py","route_id":"route-902dc4ac38f019c9","origin_key":"export:perovskite_sim.solver.dae.DAEResidualReport","qualified_name":"perovskite_sim.solver.dae.DAEResidualReport","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.solver.dae","callable":true}, +{"id":"export-995d78cb916944fa","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/solver/dae.py","route_id":"route-902dc4ac38f019c9","origin_key":"export:perovskite_sim.solver.dae.NoIonNoInterfaceDAE","qualified_name":"perovskite_sim.solver.dae.NoIonNoInterfaceDAE","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.solver.dae","callable":true}, +{"id":"export-1a2af7f00c5fe00c","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/solver/dae.py","route_id":"route-902dc4ac38f019c9","origin_key":"export:perovskite_sim.solver.dae.SemiExplicitDAELayout","qualified_name":"perovskite_sim.solver.dae.SemiExplicitDAELayout","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.solver.dae","callable":true}, +{"id":"export-3f74e0130d3181fc","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/solver/dae.py","route_id":"route-902dc4ac38f019c9","origin_key":"export:perovskite_sim.solver.dae.build_consistent_initial_condition","qualified_name":"perovskite_sim.solver.dae.build_consistent_initial_condition","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.solver.dae","callable":true}, +{"id":"export-e80f0533b2c7b783","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/solver/dae.py","route_id":"route-902dc4ac38f019c9","origin_key":"export:perovskite_sim.solver.dae.build_no_ion_no_interface_dae","qualified_name":"perovskite_sim.solver.dae.build_no_ion_no_interface_dae","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.solver.dae","callable":true}, +{"id":"export-e2f8e316675159a2","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/solver/dae.py","route_id":"route-902dc4ac38f019c9","origin_key":"export:perovskite_sim.solver.dae.finite_difference_derivative_jacobian","qualified_name":"perovskite_sim.solver.dae.finite_difference_derivative_jacobian","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.solver.dae","callable":true}, +{"id":"export-5669d5e78f523837","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/solver/dae.py","route_id":"route-902dc4ac38f019c9","origin_key":"export:perovskite_sim.solver.dae.finite_difference_state_jacobian","qualified_name":"perovskite_sim.solver.dae.finite_difference_state_jacobian","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.solver.dae","callable":true}, +{"id":"export-377eadee940d0629","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/solver/dae.py","route_id":"route-902dc4ac38f019c9","origin_key":"export:perovskite_sim.solver.dae.project_algebraic_state","qualified_name":"perovskite_sim.solver.dae.project_algebraic_state","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.solver.dae","callable":true}, +{"id":"export-7b57faf5d5955070","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/solver/dae_dual_ion_integrator.py","route_id":"route-fb0723324262c843","origin_key":"export:perovskite_sim.solver.dae_dual_ion_integrator.DualIonDAETimeStepReport","qualified_name":"perovskite_sim.solver.dae_dual_ion_integrator.DualIonDAETimeStepReport","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.solver.dae_dual_ion_integrator","callable":true}, +{"id":"export-0ba29d8e73bf256b","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/solver/dae_dual_ion_integrator.py","route_id":"route-fb0723324262c843","origin_key":"export:perovskite_sim.solver.dae_dual_ion_integrator.DualIonDAETransientResult","qualified_name":"perovskite_sim.solver.dae_dual_ion_integrator.DualIonDAETransientResult","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.solver.dae_dual_ion_integrator","callable":true}, +{"id":"export-b677d3b6b95b2cc2","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/solver/dae_dual_ion_integrator.py","route_id":"route-fb0723324262c843","origin_key":"export:perovskite_sim.solver.dae_dual_ion_integrator.dual_ion_backward_euler_derivative","qualified_name":"perovskite_sim.solver.dae_dual_ion_integrator.dual_ion_backward_euler_derivative","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.solver.dae_dual_ion_integrator","callable":true}, +{"id":"export-d1a5e8bcaadfcf85","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/solver/dae_dual_ion_integrator.py","route_id":"route-fb0723324262c843","origin_key":"export:perovskite_sim.solver.dae_dual_ion_integrator.dual_ion_density_difference_m3","qualified_name":"perovskite_sim.solver.dae_dual_ion_integrator.dual_ion_density_difference_m3","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.solver.dae_dual_ion_integrator","callable":true}, +{"id":"export-1472a78147f57c1f","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/solver/dae_dual_ion_integrator.py","route_id":"route-fb0723324262c843","origin_key":"export:perovskite_sim.solver.dae_dual_ion_integrator.finite_difference_dual_ion_backward_euler_jacobian","qualified_name":"perovskite_sim.solver.dae_dual_ion_integrator.finite_difference_dual_ion_backward_euler_jacobian","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.solver.dae_dual_ion_integrator","callable":true}, +{"id":"export-7d9208a57687bd1e","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/solver/dae_dual_ion_integrator.py","route_id":"route-fb0723324262c843","origin_key":"export:perovskite_sim.solver.dae_dual_ion_integrator.run_dual_ion_backward_euler_reference","qualified_name":"perovskite_sim.solver.dae_dual_ion_integrator.run_dual_ion_backward_euler_reference","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.solver.dae_dual_ion_integrator","callable":true}, +{"id":"export-a4cea871495c86e2","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/solver/dae_dual_ion_jacobian.py","route_id":"route-9108e77d43729c39","origin_key":"export:perovskite_sim.solver.dae_dual_ion_jacobian.DualIonDAEStructuredJacobian","qualified_name":"perovskite_sim.solver.dae_dual_ion_jacobian.DualIonDAEStructuredJacobian","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.solver.dae_dual_ion_jacobian","callable":true}, +{"id":"export-03be69458467c378","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/solver/dae_dual_ion_jacobian.py","route_id":"route-9108e77d43729c39","origin_key":"export:perovskite_sim.solver.dae_dual_ion_jacobian.build_dual_ion_structured_backward_euler_jacobian","qualified_name":"perovskite_sim.solver.dae_dual_ion_jacobian.build_dual_ion_structured_backward_euler_jacobian","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.solver.dae_dual_ion_jacobian","callable":true}, +{"id":"export-46f926c1936387bd","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/solver/dae_dual_ion_jacobian.py","route_id":"route-9108e77d43729c39","origin_key":"export:perovskite_sim.solver.dae_dual_ion_jacobian.build_dual_ion_structured_state_jacobian","qualified_name":"perovskite_sim.solver.dae_dual_ion_jacobian.build_dual_ion_structured_state_jacobian","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.solver.dae_dual_ion_jacobian","callable":true}, +{"id":"export-b43b15722dc40f8c","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/solver/dae_dual_ions.py","route_id":"route-fb0723324262c843","origin_key":"export:perovskite_sim.solver.dae_dual_ions.DualIonDAE","qualified_name":"perovskite_sim.solver.dae_dual_ions.DualIonDAE","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.solver.dae_dual_ions","callable":true}, +{"id":"export-96dc8c47698036c2","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/solver/dae_dual_ions.py","route_id":"route-fb0723324262c843","origin_key":"export:perovskite_sim.solver.dae_dual_ions.DualIonDAEConsistentInitialCondition","qualified_name":"perovskite_sim.solver.dae_dual_ions.DualIonDAEConsistentInitialCondition","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.solver.dae_dual_ions","callable":true}, +{"id":"export-5fa1b030a5ddc39f","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/solver/dae_dual_ions.py","route_id":"route-fb0723324262c843","origin_key":"export:perovskite_sim.solver.dae_dual_ions.DualIonDAELayout","qualified_name":"perovskite_sim.solver.dae_dual_ions.DualIonDAELayout","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.solver.dae_dual_ions","callable":true}, +{"id":"export-4e3768a5f5140db6","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/solver/dae_dual_ions.py","route_id":"route-fb0723324262c843","origin_key":"export:perovskite_sim.solver.dae_dual_ions.DualIonDAEResidualReport","qualified_name":"perovskite_sim.solver.dae_dual_ions.DualIonDAEResidualReport","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.solver.dae_dual_ions","callable":true}, +{"id":"export-49697e9e2a606820","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/solver/dae_dual_ions.py","route_id":"route-fb0723324262c843","origin_key":"export:perovskite_sim.solver.dae_dual_ions.build_dual_ion_consistent_initial_condition","qualified_name":"perovskite_sim.solver.dae_dual_ions.build_dual_ion_consistent_initial_condition","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.solver.dae_dual_ions","callable":true}, +{"id":"export-74e4d4afd8ebb782","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/solver/dae_dual_ions.py","route_id":"route-fb0723324262c843","origin_key":"export:perovskite_sim.solver.dae_dual_ions.build_dual_ion_dae","qualified_name":"perovskite_sim.solver.dae_dual_ions.build_dual_ion_dae","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.solver.dae_dual_ions","callable":true}, +{"id":"export-9dacf1e689166ac0","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/solver/dae_dual_ions.py","route_id":"route-fb0723324262c843","origin_key":"export:perovskite_sim.solver.dae_dual_ions.finite_difference_dual_ion_derivative_jacobian","qualified_name":"perovskite_sim.solver.dae_dual_ions.finite_difference_dual_ion_derivative_jacobian","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.solver.dae_dual_ions","callable":true}, +{"id":"export-9290d8519f241025","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/solver/dae_dual_ions.py","route_id":"route-fb0723324262c843","origin_key":"export:perovskite_sim.solver.dae_dual_ions.finite_difference_dual_ion_state_jacobian","qualified_name":"perovskite_sim.solver.dae_dual_ions.finite_difference_dual_ion_state_jacobian","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.solver.dae_dual_ions","callable":true}, +{"id":"export-2de9cb4325da8d1c","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/solver/dae_dual_ions.py","route_id":"route-fb0723324262c843","origin_key":"export:perovskite_sim.solver.dae_dual_ions.project_dual_ion_algebraic_state","qualified_name":"perovskite_sim.solver.dae_dual_ions.project_dual_ion_algebraic_state","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.solver.dae_dual_ions","callable":true}, +{"id":"export-10c4bbd4c6fe4e5c","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/solver/dae_integrator.py","route_id":"route-902dc4ac38f019c9","origin_key":"export:perovskite_sim.solver.dae_integrator.DAEIntegrationError","qualified_name":"perovskite_sim.solver.dae_integrator.DAEIntegrationError","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.solver.dae_integrator","callable":true}, +{"id":"export-697def95adb37a51","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/solver/dae_integrator.py","route_id":"route-902dc4ac38f019c9","origin_key":"export:perovskite_sim.solver.dae_integrator.DAETimeStepReport","qualified_name":"perovskite_sim.solver.dae_integrator.DAETimeStepReport","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.solver.dae_integrator","callable":true}, +{"id":"export-7c91007be88080cb","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/solver/dae_integrator.py","route_id":"route-902dc4ac38f019c9","origin_key":"export:perovskite_sim.solver.dae_integrator.DAETransientResult","qualified_name":"perovskite_sim.solver.dae_integrator.DAETransientResult","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.solver.dae_integrator","callable":true}, +{"id":"export-b0b097ba0a4767dc","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/solver/dae_integrator.py","route_id":"route-902dc4ac38f019c9","origin_key":"export:perovskite_sim.solver.dae_integrator.run_backward_euler_reference","qualified_name":"perovskite_sim.solver.dae_integrator.run_backward_euler_reference","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.solver.dae_integrator","callable":true}, +{"id":"export-3f96226ccae5eb8b","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/solver/dae_interface_integrator.py","route_id":"route-d19a044988a2dbd6","origin_key":"export:perovskite_sim.solver.dae_interface_integrator.AlgebraicInterfaceDAEIntegrationError","qualified_name":"perovskite_sim.solver.dae_interface_integrator.AlgebraicInterfaceDAEIntegrationError","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.solver.dae_interface_integrator","callable":true}, +{"id":"export-bd28f2f29b584b24","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/solver/dae_interface_integrator.py","route_id":"route-d19a044988a2dbd6","origin_key":"export:perovskite_sim.solver.dae_interface_integrator.AlgebraicInterfaceDAETimeStepReport","qualified_name":"perovskite_sim.solver.dae_interface_integrator.AlgebraicInterfaceDAETimeStepReport","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.solver.dae_interface_integrator","callable":true}, +{"id":"export-ab2d156feb468194","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/solver/dae_interface_integrator.py","route_id":"route-d19a044988a2dbd6","origin_key":"export:perovskite_sim.solver.dae_interface_integrator.AlgebraicInterfaceDAETransientResult","qualified_name":"perovskite_sim.solver.dae_interface_integrator.AlgebraicInterfaceDAETransientResult","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.solver.dae_interface_integrator","callable":true}, +{"id":"export-ca25c5f5f3a1efd1","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/solver/dae_interface_integrator.py","route_id":"route-d19a044988a2dbd6","origin_key":"export:perovskite_sim.solver.dae_interface_integrator.run_algebraic_interface_backward_euler_reference","qualified_name":"perovskite_sim.solver.dae_interface_integrator.run_algebraic_interface_backward_euler_reference","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.solver.dae_interface_integrator","callable":true}, +{"id":"export-8e8bfad446bf08db","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/solver/dae_interface_jacobian.py","route_id":"route-10298ac60ba2589c","origin_key":"export:perovskite_sim.solver.dae_interface_jacobian.AlgebraicInterfaceJacobianCapabilityError","qualified_name":"perovskite_sim.solver.dae_interface_jacobian.AlgebraicInterfaceJacobianCapabilityError","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.solver.dae_interface_jacobian","callable":true}, +{"id":"export-96ff74cd673a9b05","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/solver/dae_interface_jacobian.py","route_id":"route-10298ac60ba2589c","origin_key":"export:perovskite_sim.solver.dae_interface_jacobian.AlgebraicInterfaceLocalLinearization","qualified_name":"perovskite_sim.solver.dae_interface_jacobian.AlgebraicInterfaceLocalLinearization","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.solver.dae_interface_jacobian","callable":true}, +{"id":"export-8b3c2b96565f3c01","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/solver/dae_interface_jacobian.py","route_id":"route-10298ac60ba2589c","origin_key":"export:perovskite_sim.solver.dae_interface_jacobian.AlgebraicInterfaceStructuredJacobian","qualified_name":"perovskite_sim.solver.dae_interface_jacobian.AlgebraicInterfaceStructuredJacobian","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.solver.dae_interface_jacobian","callable":true}, +{"id":"export-37f782ca6bde413f","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/solver/dae_interface_jacobian.py","route_id":"route-10298ac60ba2589c","origin_key":"export:perovskite_sim.solver.dae_interface_jacobian.build_algebraic_interface_structured_backward_euler_jacobian","qualified_name":"perovskite_sim.solver.dae_interface_jacobian.build_algebraic_interface_structured_backward_euler_jacobian","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.solver.dae_interface_jacobian","callable":true}, +{"id":"export-74b868ed9f7145d3","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/solver/dae_interface_jacobian.py","route_id":"route-10298ac60ba2589c","origin_key":"export:perovskite_sim.solver.dae_interface_jacobian.build_algebraic_interface_structured_state_jacobian","qualified_name":"perovskite_sim.solver.dae_interface_jacobian.build_algebraic_interface_structured_state_jacobian","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.solver.dae_interface_jacobian","callable":true}, +{"id":"export-016c6f51ebed0268","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/solver/dae_interface_jacobian.py","route_id":"route-10298ac60ba2589c","origin_key":"export:perovskite_sim.solver.dae_interface_jacobian.linearize_algebraic_interface_response","qualified_name":"perovskite_sim.solver.dae_interface_jacobian.linearize_algebraic_interface_response","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.solver.dae_interface_jacobian","callable":true}, +{"id":"export-33de2cb72d5459e9","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/solver/dae_interface_states.py","route_id":"route-d19a044988a2dbd6","origin_key":"export:perovskite_sim.solver.dae_interface_states.AlgebraicInterfaceDAEConsistentInitialCondition","qualified_name":"perovskite_sim.solver.dae_interface_states.AlgebraicInterfaceDAEConsistentInitialCondition","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.solver.dae_interface_states","callable":true}, +{"id":"export-27b0282abba0a963","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/solver/dae_interface_states.py","route_id":"route-d19a044988a2dbd6","origin_key":"export:perovskite_sim.solver.dae_interface_states.AlgebraicInterfaceDAELayout","qualified_name":"perovskite_sim.solver.dae_interface_states.AlgebraicInterfaceDAELayout","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.solver.dae_interface_states","callable":true}, +{"id":"export-036f5e2e5c40aab9","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/solver/dae_interface_states.py","route_id":"route-d19a044988a2dbd6","origin_key":"export:perovskite_sim.solver.dae_interface_states.AlgebraicInterfaceDAEResidualReport","qualified_name":"perovskite_sim.solver.dae_interface_states.AlgebraicInterfaceDAEResidualReport","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.solver.dae_interface_states","callable":true}, +{"id":"export-1fcd144ceb87d062","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/solver/dae_interface_states.py","route_id":"route-d19a044988a2dbd6","origin_key":"export:perovskite_sim.solver.dae_interface_states.AlgebraicInterfaceStateDAE","qualified_name":"perovskite_sim.solver.dae_interface_states.AlgebraicInterfaceStateDAE","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.solver.dae_interface_states","callable":true}, +{"id":"export-b4270b2b7d944b32","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/solver/dae_interface_states.py","route_id":"route-d19a044988a2dbd6","origin_key":"export:perovskite_sim.solver.dae_interface_states.build_algebraic_interface_consistent_initial_condition","qualified_name":"perovskite_sim.solver.dae_interface_states.build_algebraic_interface_consistent_initial_condition","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.solver.dae_interface_states","callable":true}, +{"id":"export-9c65bfee2da3aff2","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/solver/dae_interface_states.py","route_id":"route-d19a044988a2dbd6","origin_key":"export:perovskite_sim.solver.dae_interface_states.build_algebraic_interface_state_dae","qualified_name":"perovskite_sim.solver.dae_interface_states.build_algebraic_interface_state_dae","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.solver.dae_interface_states","callable":true}, +{"id":"export-2f82dfefa88c4179","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/solver/dae_interface_states.py","route_id":"route-d19a044988a2dbd6","origin_key":"export:perovskite_sim.solver.dae_interface_states.compatible_derivative","qualified_name":"perovskite_sim.solver.dae_interface_states.compatible_derivative","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.solver.dae_interface_states","callable":true}, +{"id":"export-ae4bfa77426e08c5","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/solver/dae_interface_states.py","route_id":"route-d19a044988a2dbd6","origin_key":"export:perovskite_sim.solver.dae_interface_states.finite_difference_derivative_jacobian","qualified_name":"perovskite_sim.solver.dae_interface_states.finite_difference_derivative_jacobian","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.solver.dae_interface_states","callable":true}, +{"id":"export-eb7b4de33a46a968","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/solver/dae_interface_states.py","route_id":"route-d19a044988a2dbd6","origin_key":"export:perovskite_sim.solver.dae_interface_states.finite_difference_state_jacobian","qualified_name":"perovskite_sim.solver.dae_interface_states.finite_difference_state_jacobian","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.solver.dae_interface_states","callable":true}, +{"id":"export-26e706062e11d5a4","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/solver/dae_interface_states.py","route_id":"route-d19a044988a2dbd6","origin_key":"export:perovskite_sim.solver.dae_interface_states.prepare_algebraic_interface_material","qualified_name":"perovskite_sim.solver.dae_interface_states.prepare_algebraic_interface_material","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.solver.dae_interface_states","callable":true}, +{"id":"export-b3aaa5964c25d43b","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/solver/dae_interface_states.py","route_id":"route-d19a044988a2dbd6","origin_key":"export:perovskite_sim.solver.dae_interface_states.project_algebraic_interface_state","qualified_name":"perovskite_sim.solver.dae_interface_states.project_algebraic_interface_state","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.solver.dae_interface_states","callable":true}, +{"id":"export-b3d37cdd1170d81f","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/solver/dae_ion_integrator.py","route_id":"route-fb0723324262c843","origin_key":"export:perovskite_sim.solver.dae_ion_integrator.SingleIonDAETimeStepReport","qualified_name":"perovskite_sim.solver.dae_ion_integrator.SingleIonDAETimeStepReport","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.solver.dae_ion_integrator","callable":true}, +{"id":"export-dd6252b71f49c1fc","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/solver/dae_ion_integrator.py","route_id":"route-fb0723324262c843","origin_key":"export:perovskite_sim.solver.dae_ion_integrator.SingleIonDAETransientResult","qualified_name":"perovskite_sim.solver.dae_ion_integrator.SingleIonDAETransientResult","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.solver.dae_ion_integrator","callable":true}, +{"id":"export-6184a78f8692619a","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/solver/dae_ion_integrator.py","route_id":"route-fb0723324262c843","origin_key":"export:perovskite_sim.solver.dae_ion_integrator.finite_difference_single_ion_backward_euler_jacobian","qualified_name":"perovskite_sim.solver.dae_ion_integrator.finite_difference_single_ion_backward_euler_jacobian","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.solver.dae_ion_integrator","callable":true}, +{"id":"export-0de0ac30dd2ca278","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/solver/dae_ion_integrator.py","route_id":"route-fb0723324262c843","origin_key":"export:perovskite_sim.solver.dae_ion_integrator.run_single_ion_backward_euler_reference","qualified_name":"perovskite_sim.solver.dae_ion_integrator.run_single_ion_backward_euler_reference","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.solver.dae_ion_integrator","callable":true}, +{"id":"export-3e7ec2552d1bc4e4","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/solver/dae_ion_integrator.py","route_id":"route-fb0723324262c843","origin_key":"export:perovskite_sim.solver.dae_ion_integrator.single_ion_backward_euler_derivative","qualified_name":"perovskite_sim.solver.dae_ion_integrator.single_ion_backward_euler_derivative","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.solver.dae_ion_integrator","callable":true}, +{"id":"export-b48d44c8eb318f02","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/solver/dae_ion_integrator.py","route_id":"route-fb0723324262c843","origin_key":"export:perovskite_sim.solver.dae_ion_integrator.single_ion_backward_euler_derivative_chain","qualified_name":"perovskite_sim.solver.dae_ion_integrator.single_ion_backward_euler_derivative_chain","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.solver.dae_ion_integrator","callable":true}, +{"id":"export-b9b829d9efc2b674","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/solver/dae_ion_interface_integrator.py","route_id":"route-5ae54ca672a8ba3c","origin_key":"export:perovskite_sim.solver.dae_ion_interface_integrator.IonInterfaceDAEIntegrationError","qualified_name":"perovskite_sim.solver.dae_ion_interface_integrator.IonInterfaceDAEIntegrationError","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.solver.dae_ion_interface_integrator","callable":true}, +{"id":"export-b91ab3acd4a58ff0","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/solver/dae_ion_interface_integrator.py","route_id":"route-5ae54ca672a8ba3c","origin_key":"export:perovskite_sim.solver.dae_ion_interface_integrator.IonInterfaceDAETimeStepReport","qualified_name":"perovskite_sim.solver.dae_ion_interface_integrator.IonInterfaceDAETimeStepReport","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.solver.dae_ion_interface_integrator","callable":true}, +{"id":"export-200a701d7a3ee688","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/solver/dae_ion_interface_integrator.py","route_id":"route-5ae54ca672a8ba3c","origin_key":"export:perovskite_sim.solver.dae_ion_interface_integrator.IonInterfaceDAETransientResult","qualified_name":"perovskite_sim.solver.dae_ion_interface_integrator.IonInterfaceDAETransientResult","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.solver.dae_ion_interface_integrator","callable":true}, +{"id":"export-8ca7d8015a467e5a","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/solver/dae_ion_interface_integrator.py","route_id":"route-5ae54ca672a8ba3c","origin_key":"export:perovskite_sim.solver.dae_ion_interface_integrator.finite_difference_ion_interface_backward_euler_jacobian","qualified_name":"perovskite_sim.solver.dae_ion_interface_integrator.finite_difference_ion_interface_backward_euler_jacobian","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.solver.dae_ion_interface_integrator","callable":true}, +{"id":"export-00227e937c4b9b9b","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/solver/dae_ion_interface_integrator.py","route_id":"route-5ae54ca672a8ba3c","origin_key":"export:perovskite_sim.solver.dae_ion_interface_integrator.ion_interface_backward_euler_derivative","qualified_name":"perovskite_sim.solver.dae_ion_interface_integrator.ion_interface_backward_euler_derivative","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.solver.dae_ion_interface_integrator","callable":true}, +{"id":"export-71c4755d04f98d36","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/solver/dae_ion_interface_integrator.py","route_id":"route-5ae54ca672a8ba3c","origin_key":"export:perovskite_sim.solver.dae_ion_interface_integrator.ion_interface_backward_euler_derivative_chain","qualified_name":"perovskite_sim.solver.dae_ion_interface_integrator.ion_interface_backward_euler_derivative_chain","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.solver.dae_ion_interface_integrator","callable":true}, +{"id":"export-e07ee58cea9d15db","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/solver/dae_ion_interface_integrator.py","route_id":"route-5ae54ca672a8ba3c","origin_key":"export:perovskite_sim.solver.dae_ion_interface_integrator.run_ion_interface_backward_euler_reference","qualified_name":"perovskite_sim.solver.dae_ion_interface_integrator.run_ion_interface_backward_euler_reference","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.solver.dae_ion_interface_integrator","callable":true}, +{"id":"export-a576c92cbbc14c2f","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/solver/dae_ion_interface_jacobian.py","route_id":"route-bfba9a9733e990b2","origin_key":"export:perovskite_sim.solver.dae_ion_interface_jacobian.IonInterfaceJacobianCapabilityError","qualified_name":"perovskite_sim.solver.dae_ion_interface_jacobian.IonInterfaceJacobianCapabilityError","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.solver.dae_ion_interface_jacobian","callable":true}, +{"id":"export-ba6f3733dbd622d1","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/solver/dae_ion_interface_jacobian.py","route_id":"route-bfba9a9733e990b2","origin_key":"export:perovskite_sim.solver.dae_ion_interface_jacobian.IonInterfaceStructuredJacobian","qualified_name":"perovskite_sim.solver.dae_ion_interface_jacobian.IonInterfaceStructuredJacobian","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.solver.dae_ion_interface_jacobian","callable":true}, +{"id":"export-3fe061825bb4259a","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/solver/dae_ion_interface_jacobian.py","route_id":"route-bfba9a9733e990b2","origin_key":"export:perovskite_sim.solver.dae_ion_interface_jacobian.build_ion_interface_structured_backward_euler_jacobian","qualified_name":"perovskite_sim.solver.dae_ion_interface_jacobian.build_ion_interface_structured_backward_euler_jacobian","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.solver.dae_ion_interface_jacobian","callable":true}, +{"id":"export-8836ba2faf519057","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/solver/dae_ion_interface_jacobian.py","route_id":"route-bfba9a9733e990b2","origin_key":"export:perovskite_sim.solver.dae_ion_interface_jacobian.build_ion_interface_structured_state_jacobian","qualified_name":"perovskite_sim.solver.dae_ion_interface_jacobian.build_ion_interface_structured_state_jacobian","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.solver.dae_ion_interface_jacobian","callable":true}, +{"id":"export-5403749df9b8e681","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/solver/dae_ion_interface_states.py","route_id":"route-5ae54ca672a8ba3c","origin_key":"export:perovskite_sim.solver.dae_ion_interface_states.IonInterfaceDAEConsistentInitialCondition","qualified_name":"perovskite_sim.solver.dae_ion_interface_states.IonInterfaceDAEConsistentInitialCondition","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.solver.dae_ion_interface_states","callable":true}, +{"id":"export-4a160ef238a8959c","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/solver/dae_ion_interface_states.py","route_id":"route-5ae54ca672a8ba3c","origin_key":"export:perovskite_sim.solver.dae_ion_interface_states.IonInterfaceDAELayout","qualified_name":"perovskite_sim.solver.dae_ion_interface_states.IonInterfaceDAELayout","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.solver.dae_ion_interface_states","callable":true}, +{"id":"export-b58605502ee9df33","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/solver/dae_ion_interface_states.py","route_id":"route-5ae54ca672a8ba3c","origin_key":"export:perovskite_sim.solver.dae_ion_interface_states.IonInterfaceDAEResidualReport","qualified_name":"perovskite_sim.solver.dae_ion_interface_states.IonInterfaceDAEResidualReport","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.solver.dae_ion_interface_states","callable":true}, +{"id":"export-c602c8531bbd97cf","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/solver/dae_ion_interface_states.py","route_id":"route-5ae54ca672a8ba3c","origin_key":"export:perovskite_sim.solver.dae_ion_interface_states.SingleIonAlgebraicInterfaceDAE","qualified_name":"perovskite_sim.solver.dae_ion_interface_states.SingleIonAlgebraicInterfaceDAE","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.solver.dae_ion_interface_states","callable":true}, +{"id":"export-a4695be0d033d284","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/solver/dae_ion_interface_states.py","route_id":"route-5ae54ca672a8ba3c","origin_key":"export:perovskite_sim.solver.dae_ion_interface_states.build_single_ion_algebraic_interface_consistent_initial_condition","qualified_name":"perovskite_sim.solver.dae_ion_interface_states.build_single_ion_algebraic_interface_consistent_initial_condition","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.solver.dae_ion_interface_states","callable":true}, +{"id":"export-9ffde7918dc1481d","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/solver/dae_ion_interface_states.py","route_id":"route-5ae54ca672a8ba3c","origin_key":"export:perovskite_sim.solver.dae_ion_interface_states.build_single_ion_algebraic_interface_dae","qualified_name":"perovskite_sim.solver.dae_ion_interface_states.build_single_ion_algebraic_interface_dae","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.solver.dae_ion_interface_states","callable":true}, +{"id":"export-5e4f2cd33dfdd28d","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/solver/dae_ion_interface_states.py","route_id":"route-5ae54ca672a8ba3c","origin_key":"export:perovskite_sim.solver.dae_ion_interface_states.compatible_derivative","qualified_name":"perovskite_sim.solver.dae_ion_interface_states.compatible_derivative","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.solver.dae_ion_interface_states","callable":true}, +{"id":"export-fa9468807a555e34","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/solver/dae_ion_interface_states.py","route_id":"route-5ae54ca672a8ba3c","origin_key":"export:perovskite_sim.solver.dae_ion_interface_states.finite_difference_derivative_jacobian","qualified_name":"perovskite_sim.solver.dae_ion_interface_states.finite_difference_derivative_jacobian","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.solver.dae_ion_interface_states","callable":true}, +{"id":"export-ac58b8838a2eadfd","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/solver/dae_ion_interface_states.py","route_id":"route-5ae54ca672a8ba3c","origin_key":"export:perovskite_sim.solver.dae_ion_interface_states.finite_difference_state_jacobian","qualified_name":"perovskite_sim.solver.dae_ion_interface_states.finite_difference_state_jacobian","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.solver.dae_ion_interface_states","callable":true}, +{"id":"export-c5d3b977eb73a688","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/solver/dae_ion_interface_states.py","route_id":"route-5ae54ca672a8ba3c","origin_key":"export:perovskite_sim.solver.dae_ion_interface_states.project_single_ion_algebraic_interface_state","qualified_name":"perovskite_sim.solver.dae_ion_interface_states.project_single_ion_algebraic_interface_state","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.solver.dae_ion_interface_states","callable":true}, +{"id":"export-46eb56c0e69ba38c","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/solver/dae_ion_jacobian.py","route_id":"route-9108e77d43729c39","origin_key":"export:perovskite_sim.solver.dae_ion_jacobian.SingleIonDAEStructuredStateJacobian","qualified_name":"perovskite_sim.solver.dae_ion_jacobian.SingleIonDAEStructuredStateJacobian","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.solver.dae_ion_jacobian","callable":true}, +{"id":"export-b11f1832db26acfa","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/solver/dae_ion_jacobian.py","route_id":"route-9108e77d43729c39","origin_key":"export:perovskite_sim.solver.dae_ion_jacobian.build_single_ion_structured_state_jacobian","qualified_name":"perovskite_sim.solver.dae_ion_jacobian.build_single_ion_structured_state_jacobian","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.solver.dae_ion_jacobian","callable":true}, +{"id":"export-fac0bf231b2f9244","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/solver/dae_ions.py","route_id":"route-fb0723324262c843","origin_key":"export:perovskite_sim.solver.dae_ions.SingleIonDAEConsistentInitialCondition","qualified_name":"perovskite_sim.solver.dae_ions.SingleIonDAEConsistentInitialCondition","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.solver.dae_ions","callable":true}, +{"id":"export-a4595895873d7a7a","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/solver/dae_ions.py","route_id":"route-fb0723324262c843","origin_key":"export:perovskite_sim.solver.dae_ions.SingleIonDAELayout","qualified_name":"perovskite_sim.solver.dae_ions.SingleIonDAELayout","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.solver.dae_ions","callable":true}, +{"id":"export-0bf5a2098ef0bd2f","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/solver/dae_ions.py","route_id":"route-fb0723324262c843","origin_key":"export:perovskite_sim.solver.dae_ions.SingleIonDAEResidualReport","qualified_name":"perovskite_sim.solver.dae_ions.SingleIonDAEResidualReport","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.solver.dae_ions","callable":true}, +{"id":"export-faa7267fb5c2d619","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/solver/dae_ions.py","route_id":"route-fb0723324262c843","origin_key":"export:perovskite_sim.solver.dae_ions.SinglePositiveIonDAE","qualified_name":"perovskite_sim.solver.dae_ions.SinglePositiveIonDAE","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.solver.dae_ions","callable":true}, +{"id":"export-521cc5ab56b5033d","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/solver/dae_ions.py","route_id":"route-fb0723324262c843","origin_key":"export:perovskite_sim.solver.dae_ions.build_single_ion_consistent_initial_condition","qualified_name":"perovskite_sim.solver.dae_ions.build_single_ion_consistent_initial_condition","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.solver.dae_ions","callable":true}, +{"id":"export-8fed4590d74a7dbd","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/solver/dae_ions.py","route_id":"route-fb0723324262c843","origin_key":"export:perovskite_sim.solver.dae_ions.build_single_positive_ion_dae","qualified_name":"perovskite_sim.solver.dae_ions.build_single_positive_ion_dae","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.solver.dae_ions","callable":true}, +{"id":"export-cb83ee2f8688c459","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/solver/dae_ions.py","route_id":"route-fb0723324262c843","origin_key":"export:perovskite_sim.solver.dae_ions.finite_difference_single_ion_derivative_jacobian","qualified_name":"perovskite_sim.solver.dae_ions.finite_difference_single_ion_derivative_jacobian","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.solver.dae_ions","callable":true}, +{"id":"export-465ff52028b7bb60","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/solver/dae_ions.py","route_id":"route-fb0723324262c843","origin_key":"export:perovskite_sim.solver.dae_ions.finite_difference_single_ion_state_jacobian","qualified_name":"perovskite_sim.solver.dae_ions.finite_difference_single_ion_state_jacobian","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.solver.dae_ions","callable":true}, +{"id":"export-965553f8169b993b","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/solver/dae_ions.py","route_id":"route-fb0723324262c843","origin_key":"export:perovskite_sim.solver.dae_ions.project_single_ion_algebraic_state","qualified_name":"perovskite_sim.solver.dae_ions.project_single_ion_algebraic_state","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.solver.dae_ions","callable":true}, +{"id":"export-b276994e7e5a50db","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/solver/dae_jacobian.py","route_id":"route-8b07744af698a677","origin_key":"export:perovskite_sim.solver.dae_jacobian.DAEStructuredJacobianCapabilityError","qualified_name":"perovskite_sim.solver.dae_jacobian.DAEStructuredJacobianCapabilityError","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.solver.dae_jacobian","callable":true}, +{"id":"export-c3e04a424b9a6459","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/solver/dae_jacobian.py","route_id":"route-8b07744af698a677","origin_key":"export:perovskite_sim.solver.dae_jacobian.DAEStructuredStateJacobian","qualified_name":"perovskite_sim.solver.dae_jacobian.DAEStructuredStateJacobian","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.solver.dae_jacobian","callable":true}, +{"id":"export-ad5862f89d23026e","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/solver/dae_jacobian.py","route_id":"route-8b07744af698a677","origin_key":"export:perovskite_sim.solver.dae_jacobian.build_carrier_face_jacobians","qualified_name":"perovskite_sim.solver.dae_jacobian.build_carrier_face_jacobians","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.solver.dae_jacobian","callable":true}, +{"id":"export-813f3b399ddd1466","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/solver/dae_jacobian.py","route_id":"route-8b07744af698a677","origin_key":"export:perovskite_sim.solver.dae_jacobian.build_structured_state_jacobian","qualified_name":"perovskite_sim.solver.dae_jacobian.build_structured_state_jacobian","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.solver.dae_jacobian","callable":true}, +{"id":"export-94d075a27c7c0d85","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/solver/degenerate_equilibrium.py","route_id":"route-0064c8f5583b5846","origin_key":"export:perovskite_sim.solver.degenerate_equilibrium.DegeneratePNEquilibriumResult","qualified_name":"perovskite_sim.solver.degenerate_equilibrium.DegeneratePNEquilibriumResult","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.solver.degenerate_equilibrium","callable":true}, +{"id":"export-64a6465618c63d00","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/solver/degenerate_equilibrium.py","route_id":"route-0064c8f5583b5846","origin_key":"export:perovskite_sim.solver.degenerate_equilibrium.solve_degenerate_pn_equilibrium","qualified_name":"perovskite_sim.solver.degenerate_equilibrium.solve_degenerate_pn_equilibrium","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.solver.degenerate_equilibrium","callable":true}, +{"id":"export-0dae45464e687067","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/solver/numerical_diagnostics.py","route_id":"route-c393f0eb296301f6","origin_key":"export:perovskite_sim.solver.numerical_diagnostics.DensityMinima","qualified_name":"perovskite_sim.solver.numerical_diagnostics.DensityMinima","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.solver.numerical_diagnostics","callable":true}, +{"id":"export-43e0afa71727c79e","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/solver/numerical_diagnostics.py","route_id":"route-c393f0eb296301f6","origin_key":"export:perovskite_sim.solver.numerical_diagnostics.NegativeEntryCounts","qualified_name":"perovskite_sim.solver.numerical_diagnostics.NegativeEntryCounts","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.solver.numerical_diagnostics","callable":true}, +{"id":"export-21590258b73ce155","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/solver/numerical_diagnostics.py","route_id":"route-c393f0eb296301f6","origin_key":"export:perovskite_sim.solver.numerical_diagnostics.NumericalDiagnosticsError","qualified_name":"perovskite_sim.solver.numerical_diagnostics.NumericalDiagnosticsError","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.solver.numerical_diagnostics","callable":true}, +{"id":"export-9ed014b4baaf3d9e","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/solver/numerical_diagnostics.py","route_id":"route-c393f0eb296301f6","origin_key":"export:perovskite_sim.solver.numerical_diagnostics.NumericalDiagnosticsMonitor","qualified_name":"perovskite_sim.solver.numerical_diagnostics.NumericalDiagnosticsMonitor","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.solver.numerical_diagnostics","callable":true}, +{"id":"export-5ba3dceaf95c21ab","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/solver/numerical_diagnostics.py","route_id":"route-c393f0eb296301f6","origin_key":"export:perovskite_sim.solver.numerical_diagnostics.NumericalDiagnosticsPolicy","qualified_name":"perovskite_sim.solver.numerical_diagnostics.NumericalDiagnosticsPolicy","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.solver.numerical_diagnostics","callable":true}, +{"id":"export-7a17160e132e6351","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/solver/numerical_diagnostics.py","route_id":"route-c393f0eb296301f6","origin_key":"export:perovskite_sim.solver.numerical_diagnostics.NumericalDiagnosticsReport","qualified_name":"perovskite_sim.solver.numerical_diagnostics.NumericalDiagnosticsReport","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.solver.numerical_diagnostics","callable":true}, +{"id":"export-9b735ae5e1119ce3","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/solver/numerical_diagnostics.py","route_id":"route-c393f0eb296301f6","origin_key":"export:perovskite_sim.solver.numerical_diagnostics.StateLayout","qualified_name":"perovskite_sim.solver.numerical_diagnostics.StateLayout","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.solver.numerical_diagnostics","callable":true}, +{"id":"export-d010b6b68b1edefe","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/solver/small_signal.py","route_id":"route-43b4d856f72236b2","origin_key":"export:perovskite_sim.solver.small_signal.FrequencyDomainCurrentComponent","qualified_name":"perovskite_sim.solver.small_signal.FrequencyDomainCurrentComponent","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.solver.small_signal","callable":true}, +{"id":"export-12d5c74355dc1ec9","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/solver/small_signal.py","route_id":"route-43b4d856f72236b2","origin_key":"export:perovskite_sim.solver.small_signal.FrequencyDomainResult","qualified_name":"perovskite_sim.solver.small_signal.FrequencyDomainResult","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.solver.small_signal","callable":true}, +{"id":"export-6d69f777cace2d1e","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/solver/small_signal.py","route_id":"route-43b4d856f72236b2","origin_key":"export:perovskite_sim.solver.small_signal.SmallSignalCurrentComponent","qualified_name":"perovskite_sim.solver.small_signal.SmallSignalCurrentComponent","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.solver.small_signal","callable":true}, +{"id":"export-462e42b0afe9ff0d","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/solver/small_signal.py","route_id":"route-43b4d856f72236b2","origin_key":"export:perovskite_sim.solver.small_signal.SmallSignalEvaluation","qualified_name":"perovskite_sim.solver.small_signal.SmallSignalEvaluation","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.solver.small_signal","callable":true}, +{"id":"export-98cc9fb9168dcf0d","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/solver/small_signal.py","route_id":"route-43b4d856f72236b2","origin_key":"export:perovskite_sim.solver.small_signal.SmallSignalLinearizationError","qualified_name":"perovskite_sim.solver.small_signal.SmallSignalLinearizationError","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.solver.small_signal","callable":true}, +{"id":"export-d6bb7f51f65c2a10","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/solver/small_signal.py","route_id":"route-43b4d856f72236b2","origin_key":"export:perovskite_sim.solver.small_signal.solve_frequency_domain","qualified_name":"perovskite_sim.solver.small_signal.solve_frequency_domain","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.solver.small_signal","callable":true}, +{"id":"export-0d7085e2a5a4cef8","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/solver/trap_transient.py","route_id":"route-eca4a978bb80bc1e","origin_key":"export:perovskite_sim.solver.trap_transient.LocalTrapTransientCertificationError","qualified_name":"perovskite_sim.solver.trap_transient.LocalTrapTransientCertificationError","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.solver.trap_transient","callable":true}, +{"id":"export-42e1f2a2bd3588a9","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/solver/trap_transient.py","route_id":"route-eca4a978bb80bc1e","origin_key":"export:perovskite_sim.solver.trap_transient.LocalTrapTransientPolicy","qualified_name":"perovskite_sim.solver.trap_transient.LocalTrapTransientPolicy","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.solver.trap_transient","callable":true}, +{"id":"export-f713eb22ae7979a4","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/solver/trap_transient.py","route_id":"route-eca4a978bb80bc1e","origin_key":"export:perovskite_sim.solver.trap_transient.LocalTrapTransientResult","qualified_name":"perovskite_sim.solver.trap_transient.LocalTrapTransientResult","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.solver.trap_transient","callable":true}, +{"id":"export-88e26a6601d297d8","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/solver/trap_transient.py","route_id":"route-eca4a978bb80bc1e","origin_key":"export:perovskite_sim.solver.trap_transient.solve_local_trap_transient","qualified_name":"perovskite_sim.solver.trap_transient.solve_local_trap_transient","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.solver.trap_transient","callable":true}, +{"id":"export-7c0f9510ccc661ad","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/sweeps/__init__.py","route_id":"route-9d5644fa33ae640a","origin_key":"export:perovskite_sim.sweeps.SweepPoint","qualified_name":"perovskite_sim.sweeps.SweepPoint","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.sweeps.device_parameter_sweep","callable":true}, +{"id":"export-9209bb4720f0f83e","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/sweeps/__init__.py","route_id":"route-9d5644fa33ae640a","origin_key":"export:perovskite_sim.sweeps.apply_sweep_point","qualified_name":"perovskite_sim.sweeps.apply_sweep_point","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.sweeps.device_parameter_sweep","callable":true}, +{"id":"export-a5bb05f426217ac6","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/sweeps/__init__.py","route_id":"route-9d5644fa33ae640a","origin_key":"export:perovskite_sim.sweeps.cm3_to_m3","qualified_name":"perovskite_sim.sweeps.cm3_to_m3","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.sweeps.device_parameter_sweep","callable":true}, +{"id":"export-44554a50e1ca51da","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/sweeps/__init__.py","route_id":"route-9d5644fa33ae640a","origin_key":"export:perovskite_sim.sweeps.cms_to_ms","qualified_name":"perovskite_sim.sweeps.cms_to_ms","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.sweeps.device_parameter_sweep","callable":true}, +{"id":"export-6b131abdcb2d93a2","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/sweeps/__init__.py","route_id":"route-9d5644fa33ae640a","origin_key":"export:perovskite_sim.sweeps.make_coupled_points","qualified_name":"perovskite_sim.sweeps.make_coupled_points","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.sweeps.device_parameter_sweep","callable":true}, +{"id":"export-2837ec10e38eae03","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/sweeps/__init__.py","route_id":"route-9d5644fa33ae640a","origin_key":"export:perovskite_sim.sweeps.make_defect_matrix_points","qualified_name":"perovskite_sim.sweeps.make_defect_matrix_points","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.sweeps.device_parameter_sweep","callable":true}, +{"id":"export-a3f1a818ec0763f5","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/sweeps/__init__.py","route_id":"route-9d5644fa33ae640a","origin_key":"export:perovskite_sim.sweeps.make_full_one_factor_points","qualified_name":"perovskite_sim.sweeps.make_full_one_factor_points","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.sweeps.device_parameter_sweep","callable":true}, +{"id":"export-8e0dd6be1b381d1f","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/sweeps/__init__.py","route_id":"route-9d5644fa33ae640a","origin_key":"export:perovskite_sim.sweeps.make_pilot_points","qualified_name":"perovskite_sim.sweeps.make_pilot_points","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.sweeps.device_parameter_sweep","callable":true}, +{"id":"export-602df9bc0dce38e9","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/sweeps/__init__.py","route_id":"route-9d5644fa33ae640a","origin_key":"export:perovskite_sim.sweeps.run_sweep","qualified_name":"perovskite_sim.sweeps.run_sweep","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.sweeps.device_parameter_sweep","callable":true}, +{"id":"export-d0eb3acb590be4ec","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/sweeps/__init__.py","route_id":"route-9d5644fa33ae640a","origin_key":"export:perovskite_sim.sweeps.srh_n1_p1_from_trap_depth","qualified_name":"perovskite_sim.sweeps.srh_n1_p1_from_trap_depth","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.sweeps.device_parameter_sweep","callable":true}, +{"id":"export-7f49be044b561272","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/sweeps/__init__.py","route_id":"route-9d5644fa33ae640a","origin_key":"export:perovskite_sim.sweeps.write_results_csv","qualified_name":"perovskite_sim.sweeps.write_results_csv","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.sweeps.device_parameter_sweep","callable":true}, +{"id":"export-275f97b9326d90bd","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/sweeps/__init__.py","route_id":"route-9d5644fa33ae640a","origin_key":"export:perovskite_sim.sweeps.write_results_json","qualified_name":"perovskite_sim.sweeps.write_results_json","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.sweeps.device_parameter_sweep","callable":true}, +{"id":"export-8f73ac0bd2b09877","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/sweeps/__init__.py","route_id":"route-9d5644fa33ae640a","origin_key":"export:perovskite_sim.sweeps.write_summary_plots","qualified_name":"perovskite_sim.sweeps.write_summary_plots","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.sweeps.device_parameter_sweep","callable":true}, +{"id":"export-d6c14efa2284499f","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/twod/experiments/jv_protocol_2d.py","route_id":"route-f9fdf98fcf51218e","origin_key":"export:perovskite_sim.twod.experiments.jv_protocol_2d.JV2DAtolProtocol","qualified_name":"perovskite_sim.twod.experiments.jv_protocol_2d.JV2DAtolProtocol","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.twod.experiments.jv_protocol_2d","callable":true}, +{"id":"export-9f0a6cd59473d6f2","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/twod/experiments/jv_protocol_2d.py","route_id":"route-f9fdf98fcf51218e","origin_key":"export:perovskite_sim.twod.experiments.jv_protocol_2d.JV2DGrainBoundaryProtocol","qualified_name":"perovskite_sim.twod.experiments.jv_protocol_2d.JV2DGrainBoundaryProtocol","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.twod.experiments.jv_protocol_2d","callable":true}, +{"id":"export-199639232ad64c48","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/twod/experiments/jv_protocol_2d.py","route_id":"route-f9fdf98fcf51218e","origin_key":"export:perovskite_sim.twod.experiments.jv_protocol_2d.JV2DProtocol","qualified_name":"perovskite_sim.twod.experiments.jv_protocol_2d.JV2DProtocol","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.twod.experiments.jv_protocol_2d","callable":true}, +{"id":"export-daa71ecc1229972f","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/twod/experiments/jv_protocol_2d.py","route_id":"route-f9fdf98fcf51218e","origin_key":"export:perovskite_sim.twod.experiments.jv_protocol_2d.JV2D_PROTOCOL_SCHEMA","qualified_name":"perovskite_sim.twod.experiments.jv_protocol_2d.JV2D_PROTOCOL_SCHEMA","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-bf51939400fe7813","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/twod/experiments/jv_protocol_2d.py","route_id":"route-f9fdf98fcf51218e","origin_key":"export:perovskite_sim.twod.experiments.jv_protocol_2d.build_jv_2d_protocol","qualified_name":"perovskite_sim.twod.experiments.jv_protocol_2d.build_jv_2d_protocol","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.twod.experiments.jv_protocol_2d","callable":true}, +{"id":"export-5f9b628117be5d42","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/twod/experiments/jv_protocol_2d.py","route_id":"route-f9fdf98fcf51218e","origin_key":"export:perovskite_sim.twod.experiments.jv_protocol_2d.resolve_jv_2d_protocol","qualified_name":"perovskite_sim.twod.experiments.jv_protocol_2d.resolve_jv_2d_protocol","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.twod.experiments.jv_protocol_2d","callable":true}, +{"id":"export-68189db2c784cd1a","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/twod/field_mobility_2d.py","route_id":"route-3c9af4aa95a90ec1","origin_key":"export:perovskite_sim.twod.field_mobility_2d.FieldMobilityDEff","qualified_name":"perovskite_sim.twod.field_mobility_2d.FieldMobilityDEff","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.twod.field_mobility_2d","callable":true}, +{"id":"export-392c1ceb525e6273","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/twod/field_mobility_2d.py","route_id":"route-3c9af4aa95a90ec1","origin_key":"export:perovskite_sim.twod.field_mobility_2d.arith_mean_face_wrap","qualified_name":"perovskite_sim.twod.field_mobility_2d.arith_mean_face_wrap","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.twod.field_mobility_2d","callable":true}, +{"id":"export-07c7ff6fcc238b4c","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/twod/field_mobility_2d.py","route_id":"route-3c9af4aa95a90ec1","origin_key":"export:perovskite_sim.twod.field_mobility_2d.arith_mean_face_x","qualified_name":"perovskite_sim.twod.field_mobility_2d.arith_mean_face_x","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.twod.field_mobility_2d","callable":true}, +{"id":"export-6d8edfa570afd511","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/twod/field_mobility_2d.py","route_id":"route-3c9af4aa95a90ec1","origin_key":"export:perovskite_sim.twod.field_mobility_2d.arith_mean_face_y","qualified_name":"perovskite_sim.twod.field_mobility_2d.arith_mean_face_y","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.twod.field_mobility_2d","callable":true}, +{"id":"export-80ffa94fccac12ac","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/twod/field_mobility_2d.py","route_id":"route-3c9af4aa95a90ec1","origin_key":"export:perovskite_sim.twod.field_mobility_2d.recompute_d_eff_2d","qualified_name":"perovskite_sim.twod.field_mobility_2d.recompute_d_eff_2d","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.twod.field_mobility_2d","callable":true}, +{"id":"export-52612235d91d4e4a","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/twod/interface_recombination_2d.py","route_id":"route-77076e703f3ff9b4","origin_key":"export:perovskite_sim.twod.interface_recombination_2d.TwoSidedInterfaceSRHCoupling2D","qualified_name":"perovskite_sim.twod.interface_recombination_2d.TwoSidedInterfaceSRHCoupling2D","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.twod.interface_recombination_2d","callable":true}, +{"id":"export-839def80b90b2f96","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/twod/interface_recombination_2d.py","route_id":"route-77076e703f3ff9b4","origin_key":"export:perovskite_sim.twod.interface_recombination_2d.TwoSidedInterfaceSRHReport2D","qualified_name":"perovskite_sim.twod.interface_recombination_2d.TwoSidedInterfaceSRHReport2D","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.twod.interface_recombination_2d","callable":true}, +{"id":"export-a2211dd3a0107ce4","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/twod/interface_recombination_2d.py","route_id":"route-77076e703f3ff9b4","origin_key":"export:perovskite_sim.twod.interface_recombination_2d.build_two_sided_interface_srh_couplings_2d","qualified_name":"perovskite_sim.twod.interface_recombination_2d.build_two_sided_interface_srh_couplings_2d","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.twod.interface_recombination_2d","callable":true}, +{"id":"export-222078a15ebf4d5b","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/twod/interface_recombination_2d.py","route_id":"route-77076e703f3ff9b4","origin_key":"export:perovskite_sim.twod.interface_recombination_2d.evaluate_two_sided_interface_srh_2d","qualified_name":"perovskite_sim.twod.interface_recombination_2d.evaluate_two_sided_interface_srh_2d","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.twod.interface_recombination_2d","callable":true}, +{"id":"export-613efc29ce438217","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/twod/ion_migration_2d.py","route_id":"route-c13168d4a449764d","origin_key":"export:perovskite_sim.twod.ion_migration_2d.IonFluxes2D","qualified_name":"perovskite_sim.twod.ion_migration_2d.IonFluxes2D","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.twod.ion_migration_2d","callable":true}, +{"id":"export-ee6b3d39b77aeae4","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/twod/ion_migration_2d.py","route_id":"route-c13168d4a449764d","origin_key":"export:perovskite_sim.twod.ion_migration_2d.MobileIonDiagnostics2D","qualified_name":"perovskite_sim.twod.ion_migration_2d.MobileIonDiagnostics2D","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.twod.ion_migration_2d","callable":true}, +{"id":"export-557abee7db3ec02c","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/twod/ion_migration_2d.py","route_id":"route-c13168d4a449764d","origin_key":"export:perovskite_sim.twod.ion_migration_2d.assess_mobile_ion_terminal_2d","qualified_name":"perovskite_sim.twod.ion_migration_2d.assess_mobile_ion_terminal_2d","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.twod.ion_migration_2d","callable":true}, +{"id":"export-7bcef7c224145620","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/twod/ion_migration_2d.py","route_id":"route-c13168d4a449764d","origin_key":"export:perovskite_sim.twod.ion_migration_2d.control_volume_areas_2d","qualified_name":"perovskite_sim.twod.ion_migration_2d.control_volume_areas_2d","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.twod.ion_migration_2d","callable":true}, +{"id":"export-7b5f5ed2ca423ea7","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/twod/ion_migration_2d.py","route_id":"route-c13168d4a449764d","origin_key":"export:perovskite_sim.twod.ion_migration_2d.ion_inventory_2d","qualified_name":"perovskite_sim.twod.ion_migration_2d.ion_inventory_2d","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.twod.ion_migration_2d","callable":true}, +{"id":"export-dff8ba2d2240e1ac","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/twod/ion_migration_2d.py","route_id":"route-c13168d4a449764d","origin_key":"export:perovskite_sim.twod.ion_migration_2d.positive_ion_continuity_rhs_2d","qualified_name":"perovskite_sim.twod.ion_migration_2d.positive_ion_continuity_rhs_2d","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.twod.ion_migration_2d","callable":true}, +{"id":"export-0a6702c05b6f3932","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/twod/ion_migration_2d.py","route_id":"route-c13168d4a449764d","origin_key":"export:perovskite_sim.twod.ion_migration_2d.positive_ion_fluxes_2d","qualified_name":"perovskite_sim.twod.ion_migration_2d.positive_ion_fluxes_2d","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.twod.ion_migration_2d","callable":true}, +{"id":"export-2960eb92264f4a9c","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/twod/microstructure.py","route_id":"route-c6bb59ad824f3043","origin_key":"export:perovskite_sim.twod.microstructure.GrainBoundary","qualified_name":"perovskite_sim.twod.microstructure.GrainBoundary","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.twod.microstructure","callable":true}, +{"id":"export-98eeebccd220d45e","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/twod/microstructure.py","route_id":"route-c6bb59ad824f3043","origin_key":"export:perovskite_sim.twod.microstructure.GrainBoundaryRegion2D","qualified_name":"perovskite_sim.twod.microstructure.GrainBoundaryRegion2D","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.twod.microstructure","callable":true}, +{"id":"export-7dba8326398fcee6","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/twod/microstructure.py","route_id":"route-c6bb59ad824f3043","origin_key":"export:perovskite_sim.twod.microstructure.Microstructure","qualified_name":"perovskite_sim.twod.microstructure.Microstructure","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.twod.microstructure","callable":true}, +{"id":"export-5ea30c1b5d343d7f","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/twod/microstructure.py","route_id":"route-c6bb59ad824f3043","origin_key":"export:perovskite_sim.twod.microstructure.build_grain_boundary_regions","qualified_name":"perovskite_sim.twod.microstructure.build_grain_boundary_regions","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.twod.microstructure","callable":true}, +{"id":"export-6f0e12677f928d4a","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/twod/microstructure.py","route_id":"route-c6bb59ad824f3043","origin_key":"export:perovskite_sim.twod.microstructure.build_tau_field","qualified_name":"perovskite_sim.twod.microstructure.build_tau_field","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.twod.microstructure","callable":true}, +{"id":"export-4226906f754c4585","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/twod/microstructure.py","route_id":"route-c6bb59ad824f3043","origin_key":"export:perovskite_sim.twod.microstructure.lateral_dual_cell_bounds","qualified_name":"perovskite_sim.twod.microstructure.lateral_dual_cell_bounds","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.twod.microstructure","callable":true}, +{"id":"export-98d623e94e414f52","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/twod/microstructure.py","route_id":"route-c6bb59ad824f3043","origin_key":"export:perovskite_sim.twod.microstructure.lateral_dual_cell_widths","qualified_name":"perovskite_sim.twod.microstructure.lateral_dual_cell_widths","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.twod.microstructure","callable":true}, +{"id":"export-84b53cb93c69a175","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/twod/microstructure.py","route_id":"route-c6bb59ad824f3043","origin_key":"export:perovskite_sim.twod.microstructure.load_microstructure_from_yaml_block","qualified_name":"perovskite_sim.twod.microstructure.load_microstructure_from_yaml_block","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.twod.microstructure","callable":true}, +{"id":"export-d2ca233315d1aa8b","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/twod/mobile_ion_current_2d.py","route_id":"route-30a3fd6bc1163877","origin_key":"export:perovskite_sim.twod.mobile_ion_current_2d.MobileIonCurrentComponents2D","qualified_name":"perovskite_sim.twod.mobile_ion_current_2d.MobileIonCurrentComponents2D","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.twod.mobile_ion_current_2d","callable":true}, +{"id":"export-57ebba811f182857","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/twod/mobile_ion_current_2d.py","route_id":"route-30a3fd6bc1163877","origin_key":"export:perovskite_sim.twod.mobile_ion_current_2d.evaluate_mobile_ion_current_components_2d","qualified_name":"perovskite_sim.twod.mobile_ion_current_2d.evaluate_mobile_ion_current_components_2d","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.twod.mobile_ion_current_2d","callable":true}, +{"id":"export-199bedc7c8848297","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/twod/radiative_reabsorption_2d.py","route_id":"route-f9281ec0a9ef818c","origin_key":"export:perovskite_sim.twod.radiative_reabsorption_2d.recompute_g_with_rad_2d","qualified_name":"perovskite_sim.twod.radiative_reabsorption_2d.recompute_g_with_rad_2d","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.twod.radiative_reabsorption_2d","callable":true}, +{"id":"export-cde8bfc2647e32e0","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/validation/__init__.py","route_id":"route-ae2ab66fa7e4ce16","origin_key":"export:perovskite_sim.validation.CellResult","qualified_name":"perovskite_sim.validation.CellResult","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.validation.numerical_certificate","callable":true}, +{"id":"export-50b21edee7ea507b","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/validation/__init__.py","route_id":"route-ae2ab66fa7e4ce16","origin_key":"export:perovskite_sim.validation.ConvergenceSeries","qualified_name":"perovskite_sim.validation.ConvergenceSeries","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.validation.grid_convergence","callable":true}, +{"id":"export-bbe44e0de363b6a5","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/validation/__init__.py","route_id":"route-ae2ab66fa7e4ce16","origin_key":"export:perovskite_sim.validation.LaneDefinition","qualified_name":"perovskite_sim.validation.LaneDefinition","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.validation.numerical_certificate","callable":true}, +{"id":"export-4e71c74b4c26a31c","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/validation/__init__.py","route_id":"route-ae2ab66fa7e4ce16","origin_key":"export:perovskite_sim.validation.NumericalCertificate","qualified_name":"perovskite_sim.validation.NumericalCertificate","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.validation.numerical_certificate","callable":true}, +{"id":"export-24cc8aeec345ecb3","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/validation/bgn_refinement.py","route_id":"route-9e7c4634cac4c7b4","origin_key":"export:perovskite_sim.validation.bgn_refinement.run_incomplete_ionization_bgn_temperature_refinement","qualified_name":"perovskite_sim.validation.bgn_refinement.run_incomplete_ionization_bgn_temperature_refinement","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.validation.bgn_refinement","callable":true}, +{"id":"export-e519395cc032cbda","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/validation/bulk_trap_refinement.py","route_id":"route-6ffa0cc3ba17a777","origin_key":"export:perovskite_sim.validation.bulk_trap_refinement.run_bulk_trap_equilibrium_refinement","qualified_name":"perovskite_sim.validation.bulk_trap_refinement.run_bulk_trap_equilibrium_refinement","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.validation.bulk_trap_refinement","callable":true}, +{"id":"export-74a8f4c38545d9ce","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/validation/charged_defect_refinement.py","route_id":"route-a9b4d7e51e16d73e","origin_key":"export:perovskite_sim.validation.charged_defect_refinement.run_charged_defect_qf_dc_refinement","qualified_name":"perovskite_sim.validation.charged_defect_refinement.run_charged_defect_qf_dc_refinement","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.validation.charged_defect_refinement","callable":true}, +{"id":"export-f11b80d90fb05d38","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/validation/cigs_optics_refinement.py","route_id":"route-c81fb8dbd7f6b348","origin_key":"export:perovskite_sim.validation.cigs_optics_refinement.run_cigs_graded_optics_refinement","qualified_name":"perovskite_sim.validation.cigs_optics_refinement.run_cigs_graded_optics_refinement","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.validation.cigs_optics_refinement","callable":true}, +{"id":"export-ad7f36a711be8da6","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/validation/dae_dual_ion_refinement.py","route_id":"route-27dbc43d17be6d47","origin_key":"export:perovskite_sim.validation.dae_dual_ion_refinement.run_dual_ion_dae_transient","qualified_name":"perovskite_sim.validation.dae_dual_ion_refinement.run_dual_ion_dae_transient","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.validation.dae_dual_ion_refinement","callable":true}, +{"id":"export-f28976501cac956c","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/validation/dae_interface_refinement.py","route_id":"route-cf51d5ffeb5b1ab3","origin_key":"export:perovskite_sim.validation.dae_interface_refinement.run_algebraic_interface_dae_transient","qualified_name":"perovskite_sim.validation.dae_interface_refinement.run_algebraic_interface_dae_transient","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.validation.dae_interface_refinement","callable":true}, +{"id":"export-1bf685fc9d4c4b10","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/validation/dae_ion_interface_refinement.py","route_id":"route-cd1c256e6f6fda47","origin_key":"export:perovskite_sim.validation.dae_ion_interface_refinement.run_single_ion_algebraic_interface_dae_transient","qualified_name":"perovskite_sim.validation.dae_ion_interface_refinement.run_single_ion_algebraic_interface_dae_transient","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.validation.dae_ion_interface_refinement","callable":true}, +{"id":"export-f0530cda32ed27ce","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/validation/dae_ion_refinement.py","route_id":"route-3ce8678d93f128dc","origin_key":"export:perovskite_sim.validation.dae_ion_refinement.run_single_ion_dae_transient","qualified_name":"perovskite_sim.validation.dae_ion_refinement.run_single_ion_dae_transient","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.validation.dae_ion_refinement","callable":true}, +{"id":"export-d7d5a099bf6812ab","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/validation/dae_refinement.py","route_id":"route-ee6663ebc8f2dc49","origin_key":"export:perovskite_sim.validation.dae_refinement.run_no_ion_dae_transient","qualified_name":"perovskite_sim.validation.dae_refinement.run_no_ion_dae_transient","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.validation.dae_refinement","callable":true}, +{"id":"export-36a00d2ec319cb54","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/validation/defect_energy_refinement.py","route_id":"route-c829dfda2d1dc419","origin_key":"export:perovskite_sim.validation.defect_energy_refinement.DEFAULT_ENERGY_REFINEMENT_ORDERS","qualified_name":"perovskite_sim.validation.defect_energy_refinement.DEFAULT_ENERGY_REFINEMENT_ORDERS","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-96a0809c9d70bed5","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/validation/defect_energy_refinement.py","route_id":"route-c829dfda2d1dc419","origin_key":"export:perovskite_sim.validation.defect_energy_refinement.DEFAULT_ENERGY_REFINEMENT_THRESHOLD","qualified_name":"perovskite_sim.validation.defect_energy_refinement.DEFAULT_ENERGY_REFINEMENT_THRESHOLD","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-16ae4c8ebe4223d8","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/validation/defect_energy_refinement.py","route_id":"route-c829dfda2d1dc419","origin_key":"export:perovskite_sim.validation.defect_energy_refinement.DEFECT_ENERGY_REFINEMENT_VERSION","qualified_name":"perovskite_sim.validation.defect_energy_refinement.DEFECT_ENERGY_REFINEMENT_VERSION","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-82b4fa136a7c171b","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/validation/defect_energy_refinement.py","route_id":"route-c829dfda2d1dc419","origin_key":"export:perovskite_sim.validation.defect_energy_refinement.DefectEnergyRefinementComparison","qualified_name":"perovskite_sim.validation.defect_energy_refinement.DefectEnergyRefinementComparison","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.validation.defect_energy_refinement","callable":true}, +{"id":"export-f9ef90b2a5afc8b8","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/validation/defect_energy_refinement.py","route_id":"route-c829dfda2d1dc419","origin_key":"export:perovskite_sim.validation.defect_energy_refinement.DefectEnergyRefinementReport","qualified_name":"perovskite_sim.validation.defect_energy_refinement.DefectEnergyRefinementReport","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.validation.defect_energy_refinement","callable":true}, +{"id":"export-1b75024291c4993e","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/validation/defect_energy_refinement.py","route_id":"route-c829dfda2d1dc419","origin_key":"export:perovskite_sim.validation.defect_energy_refinement.assess_defect_energy_order_refinement","qualified_name":"perovskite_sim.validation.defect_energy_refinement.assess_defect_energy_order_refinement","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.validation.defect_energy_refinement","callable":true}, +{"id":"export-a55a66b7ec27b15d","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/validation/degenerate_refinement.py","route_id":"route-8ffd14c45b3812ea","origin_key":"export:perovskite_sim.validation.degenerate_refinement.run_degenerate_pn_equilibrium_refinement","qualified_name":"perovskite_sim.validation.degenerate_refinement.run_degenerate_pn_equilibrium_refinement","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.validation.degenerate_refinement","callable":true}, +{"id":"export-402358cc25e28301","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/validation/distributed_defect_refinement.py","route_id":"route-eac8eff18fe0b852","origin_key":"export:perovskite_sim.validation.distributed_defect_refinement.DISTRIBUTED_DEFECT_DEVICE_REFINEMENT_VERSION","qualified_name":"perovskite_sim.validation.distributed_defect_refinement.DISTRIBUTED_DEFECT_DEVICE_REFINEMENT_VERSION","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-0573d2401a878143","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/validation/distributed_defect_refinement.py","route_id":"route-eac8eff18fe0b852","origin_key":"export:perovskite_sim.validation.distributed_defect_refinement.run_distributed_defect_qf_dc_refinement","qualified_name":"perovskite_sim.validation.distributed_defect_refinement.run_distributed_defect_qf_dc_refinement","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.validation.distributed_defect_refinement","callable":true}, +{"id":"export-a21cdce55a459e5b","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/validation/dynamic_defect_transient_refinement.py","route_id":"route-aa22d20d2d639fc7","origin_key":"export:perovskite_sim.validation.dynamic_defect_transient_refinement.run_dynamic_defect_ion_transient_refinement","qualified_name":"perovskite_sim.validation.dynamic_defect_transient_refinement.run_dynamic_defect_ion_transient_refinement","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.validation.dynamic_defect_transient_refinement","callable":true}, +{"id":"export-cc3d86b1ff27231f","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/validation/electrothermal_refinement.py","route_id":"route-361c6018edd7103a","origin_key":"export:perovskite_sim.validation.electrothermal_refinement.run_electrothermal_terminal_mpp_refinement","qualified_name":"perovskite_sim.validation.electrothermal_refinement.run_electrothermal_terminal_mpp_refinement","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.validation.electrothermal_refinement","callable":true}, +{"id":"export-9bd9a3d83de8d962","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/validation/external_circuit_refinement.py","route_id":"route-95fa4d2e24de5a3e","origin_key":"export:perovskite_sim.validation.external_circuit_refinement.run_external_series_shunt_dc_operating_quadrant_refinement","qualified_name":"perovskite_sim.validation.external_circuit_refinement.run_external_series_shunt_dc_operating_quadrant_refinement","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.validation.external_circuit_refinement","callable":true}, +{"id":"export-ba83183a2dad4991","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/validation/external_circuit_refinement.py","route_id":"route-95fa4d2e24de5a3e","origin_key":"export:perovskite_sim.validation.external_circuit_refinement.run_external_series_shunt_dc_refinement","qualified_name":"perovskite_sim.validation.external_circuit_refinement.run_external_series_shunt_dc_refinement","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.validation.external_circuit_refinement","callable":true}, +{"id":"export-da2be19fc2fa2311","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/validation/identifiability_refinement.py","route_id":"route-70f2bc49c9d6f491","origin_key":"export:perovskite_sim.validation.identifiability_refinement.run_interface_srh_identifiability_refinement","qualified_name":"perovskite_sim.validation.identifiability_refinement.run_interface_srh_identifiability_refinement","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.validation.identifiability_refinement","callable":true}, +{"id":"export-6556de809b5be5f9","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/validation/incomplete_ionization_refinement.py","route_id":"route-e69f26a656e90120","origin_key":"export:perovskite_sim.validation.incomplete_ionization_refinement.run_incomplete_ionization_temperature_refinement","qualified_name":"perovskite_sim.validation.incomplete_ionization_refinement.run_incomplete_ionization_temperature_refinement","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.validation.incomplete_ionization_refinement","callable":true}, +{"id":"export-ac6745ae28a83fd6","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/validation/interface_charge_stress.py","route_id":"route-7b7398177c5163db","origin_key":"export:perovskite_sim.validation.interface_charge_stress.run_equilibrium_referenced_interface_charge_stress","qualified_name":"perovskite_sim.validation.interface_charge_stress.run_equilibrium_referenced_interface_charge_stress","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.validation.interface_charge_stress","callable":true}, +{"id":"export-723aae95bd106dee","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/validation/__init__.py","route_id":"route-ae2ab66fa7e4ce16","origin_key":"export:perovskite_sim.validation.load_refinement_registry","qualified_name":"perovskite_sim.validation.load_refinement_registry","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.validation.numerical_certificate","callable":true}, +{"id":"export-f310968c0ae20ca2","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/validation/multivalent_defect_refinement.py","route_id":"route-e8b25e6d8730e1e7","origin_key":"export:perovskite_sim.validation.multivalent_defect_refinement.run_multivalent_defect_qf_dc_refinement","qualified_name":"perovskite_sim.validation.multivalent_defect_refinement.run_multivalent_defect_qf_dc_refinement","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.validation.multivalent_defect_refinement","callable":true}, +{"id":"export-7aa3570fa889af83","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"export:perovskite_sim.validation.regularization_certificate.AppliedRunContext","qualified_name":"perovskite_sim.validation.regularization_certificate.AppliedRunContext","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.validation.regularization_certificate","callable":true}, +{"id":"export-bcd0a8d3680b4013","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"export:perovskite_sim.validation.regularization_certificate.CanonicalInput","qualified_name":"perovskite_sim.validation.regularization_certificate.CanonicalInput","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.validation.regularization_certificate","callable":true}, +{"id":"export-689b6391858e76b7","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"export:perovskite_sim.validation.regularization_certificate.CertificateCheck","qualified_name":"perovskite_sim.validation.regularization_certificate.CertificateCheck","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.validation.regularization_certificate","callable":true}, +{"id":"export-ba128fc4943c74ad","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"export:perovskite_sim.validation.regularization_certificate.MetricSpec","qualified_name":"perovskite_sim.validation.regularization_certificate.MetricSpec","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.validation.regularization_certificate","callable":true}, +{"id":"export-48c2269348144560","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"export:perovskite_sim.validation.regularization_certificate.MetricValue","qualified_name":"perovskite_sim.validation.regularization_certificate.MetricValue","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.validation.regularization_certificate","callable":true}, +{"id":"export-75b10fba32468d11","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"export:perovskite_sim.validation.regularization_certificate.OBSERVABLE_RELATIVE_LIMIT","qualified_name":"perovskite_sim.validation.regularization_certificate.OBSERVABLE_RELATIVE_LIMIT","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-a0b55a96164261e3","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"export:perovskite_sim.validation.regularization_certificate.ObservableSpec","qualified_name":"perovskite_sim.validation.regularization_certificate.ObservableSpec","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.validation.regularization_certificate","callable":true}, +{"id":"export-1613607fe367dfc6","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"export:perovskite_sim.validation.regularization_certificate.QualityGateSpec","qualified_name":"perovskite_sim.validation.regularization_certificate.QualityGateSpec","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.validation.regularization_certificate","callable":true}, +{"id":"export-4f95a846da95690b","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"export:perovskite_sim.validation.regularization_certificate.REGULARIZATION_CERTIFICATE_SCHEMA","qualified_name":"perovskite_sim.validation.regularization_certificate.REGULARIZATION_CERTIFICATE_SCHEMA","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-2d0875915b26dedb","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"export:perovskite_sim.validation.regularization_certificate.REGULARIZATION_EVALUATOR_VERSION","qualified_name":"perovskite_sim.validation.regularization_certificate.REGULARIZATION_EVALUATOR_VERSION","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-33f0686d7d2c9030","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"export:perovskite_sim.validation.regularization_certificate.REGULARIZATION_LADDER_FACTORS","qualified_name":"perovskite_sim.validation.regularization_certificate.REGULARIZATION_LADDER_FACTORS","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-97b6cafe955921ec","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"export:perovskite_sim.validation.regularization_certificate.REGULARIZATION_STUDY_SCHEMA","qualified_name":"perovskite_sim.validation.regularization_certificate.REGULARIZATION_STUDY_SCHEMA","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-c7de26cee8c5a2a5","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"export:perovskite_sim.validation.regularization_certificate.RegularizationCertificate","qualified_name":"perovskite_sim.validation.regularization_certificate.RegularizationCertificate","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.validation.regularization_certificate","callable":true}, +{"id":"export-01ebc8eb6611c117","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"export:perovskite_sim.validation.regularization_certificate.RegularizationCertificateError","qualified_name":"perovskite_sim.validation.regularization_certificate.RegularizationCertificateError","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.validation.regularization_certificate","callable":true}, +{"id":"export-d6f8bad562bc9fd8","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"export:perovskite_sim.validation.regularization_certificate.RegularizationMeasurement","qualified_name":"perovskite_sim.validation.regularization_certificate.RegularizationMeasurement","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.validation.regularization_certificate","callable":true}, +{"id":"export-f7e54f7c0388f542","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"export:perovskite_sim.validation.regularization_certificate.RegularizationRung","qualified_name":"perovskite_sim.validation.regularization_certificate.RegularizationRung","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.validation.regularization_certificate","callable":true}, +{"id":"export-1a7924861abf2007","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"export:perovskite_sim.validation.regularization_certificate.RegularizationRungRequest","qualified_name":"perovskite_sim.validation.regularization_certificate.RegularizationRungRequest","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.validation.regularization_certificate","callable":true}, +{"id":"export-56acdcefe0a48c4e","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"export:perovskite_sim.validation.regularization_certificate.RegularizationStudy","qualified_name":"perovskite_sim.validation.regularization_certificate.RegularizationStudy","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.validation.regularization_certificate","callable":true}, +{"id":"export-cf4e6e2f87cc76b9","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"export:perovskite_sim.validation.regularization_certificate.SolverWork","qualified_name":"perovskite_sim.validation.regularization_certificate.SolverWork","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.validation.regularization_certificate","callable":true}, +{"id":"export-71cb9f90daec6633","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"export:perovskite_sim.validation.regularization_certificate.build_regularization_certificate","qualified_name":"perovskite_sim.validation.regularization_certificate.build_regularization_certificate","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.validation.regularization_certificate","callable":true}, +{"id":"export-b99a1d799ae8412d","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"export:perovskite_sim.validation.regularization_certificate.policy_for_factor","qualified_name":"perovskite_sim.validation.regularization_certificate.policy_for_factor","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.validation.regularization_certificate","callable":true}, +{"id":"export-86979dcbe54048d4","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"export:perovskite_sim.validation.regularization_certificate.run_regularization_ladder","qualified_name":"perovskite_sim.validation.regularization_certificate.run_regularization_ladder","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.validation.regularization_certificate","callable":true}, +{"id":"export-e7f3b14d94fb7896","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/validation/regularization_executors.py","route_id":"route-e5a4af9dc081e1e4","origin_key":"export:perovskite_sim.validation.regularization_executors.DEVICE_REGULARIZATION_STUDY_IDS","qualified_name":"perovskite_sim.validation.regularization_executors.DEVICE_REGULARIZATION_STUDY_IDS","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-364f23117705491a","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/validation/regularization_executors.py","route_id":"route-e5a4af9dc081e1e4","origin_key":"export:perovskite_sim.validation.regularization_executors.DeviceRegularizationStudyId","qualified_name":"perovskite_sim.validation.regularization_executors.DeviceRegularizationStudyId","evidence_level":"cold_attribute_resolution","resolved_origin":"typing","callable":true}, +{"id":"export-4a28b27ade0d4c0b","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/validation/regularization_executors.py","route_id":"route-e5a4af9dc081e1e4","origin_key":"export:perovskite_sim.validation.regularization_executors.PreparedDeviceRegularizationStudy","qualified_name":"perovskite_sim.validation.regularization_executors.PreparedDeviceRegularizationStudy","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.validation.regularization_executors","callable":true}, +{"id":"export-42d31929668a80a0","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/validation/regularization_executors.py","route_id":"route-e5a4af9dc081e1e4","origin_key":"export:perovskite_sim.validation.regularization_executors.prepare_device_regularization_study","qualified_name":"perovskite_sim.validation.regularization_executors.prepare_device_regularization_study","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.validation.regularization_executors","callable":true}, +{"id":"export-681d6d33367dfa1f","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/validation/regularization_executors.py","route_id":"route-e5a4af9dc081e1e4","origin_key":"export:perovskite_sim.validation.regularization_executors.run_device_regularization_study","qualified_name":"perovskite_sim.validation.regularization_executors.run_device_regularization_study","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.validation.regularization_executors","callable":true}, +{"id":"export-f605e37ae6e1dd9d","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/validation/spatial_defect_refinement.py","route_id":"route-29ff125b420a5abf","origin_key":"export:perovskite_sim.validation.spatial_defect_refinement.SPATIAL_DEFECT_DEVICE_REFINEMENT_VERSION","qualified_name":"perovskite_sim.validation.spatial_defect_refinement.SPATIAL_DEFECT_DEVICE_REFINEMENT_VERSION","evidence_level":"cold_attribute_resolution","resolved_origin":null,"callable":false}, +{"id":"export-d9f3deb120904ce3","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/validation/spatial_defect_refinement.py","route_id":"route-29ff125b420a5abf","origin_key":"export:perovskite_sim.validation.spatial_defect_refinement.run_spatial_defect_qf_dc_refinement","qualified_name":"perovskite_sim.validation.spatial_defect_refinement.run_spatial_defect_qf_dc_refinement","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.validation.spatial_defect_refinement","callable":true}, +{"id":"export-ac84130d338edfb2","kind":"public_export","current_path":"perovskite-sim/perovskite_sim/validation/tunnelling_channel_refinement.py","route_id":"route-c69e6e9da1421924","origin_key":"export:perovskite_sim.validation.tunnelling_channel_refinement.run_tunnelling_channel_qf_dc_refinement","qualified_name":"perovskite_sim.validation.tunnelling_channel_refinement.run_tunnelling_channel_qf_dc_refinement","evidence_level":"cold_attribute_resolution","resolved_origin":"perovskite_sim.validation.tunnelling_channel_refinement","callable":true}, +{"id":"guard-0f3686691e717964","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"guard:backend.main.py:_build_interface_charge_research_result:222def8e6134","evidence_level":"source_guard_not_numerical_validation","source_line":1064,"reason":"ValueError('dark reference is not certified')","scope":"_build_interface_charge_research_result"}, +{"id":"guard-44110e8e91826994","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"guard:backend.main.py:_build_interface_charge_research_result:3373ece168e3","evidence_level":"source_guard_not_numerical_validation","source_line":1071,"reason":"ValueError('charged operating point is not certified')","scope":"_build_interface_charge_research_result"}, +{"id":"guard-b7c919eb854d0f40","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"guard:backend.main.py:_build_interface_charge_research_result:85c0b3e7236b","evidence_level":"source_guard_not_numerical_validation","source_line":1062,"reason":"ValueError('contact thermodynamic certificate is not certified')","scope":"_build_interface_charge_research_result"}, +{"id":"guard-0aa5e626130dcb19","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"guard:backend.main.py:_build_interface_charge_research_result:9a2f80413f1c","evidence_level":"source_guard_not_numerical_validation","source_line":1069,"reason":"ValueError('charged dark-reference validation is not certified')","scope":"_build_interface_charge_research_result"}, +{"id":"guard-ce4a97903c3964a7","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"guard:backend.main.py:_parse_jv_waveform:6e8fa1dcde75","evidence_level":"source_guard_not_numerical_validation","source_line":1586,"reason":"ValueError('waveform_controls requires waveform')","scope":"_parse_jv_waveform"}, +{"id":"guard-d8b4ae29ae87b78c","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"guard:backend.main.py:_parse_protocol_inputs:c3f5928ce7c5","evidence_level":"source_guard_not_numerical_validation","source_line":1418,"reason":"ImplicitProtocolError('research_strict protocol mode requires an explicit experiment history with implicit_legacy_protocol=False')","scope":"_parse_protocol_inputs"}, +{"id":"guard-42d758fa19079c46","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"guard:backend.main.py:_preflight_job_experiment_protocol:ae725974d6c1","evidence_level":"source_guard_not_numerical_validation","source_line":1729,"reason":"ValueError(f'unsupported protocol-bearing job kind {kind!r}')","scope":"_preflight_job_experiment_protocol"}, +{"id":"guard-5889d481ed878c16","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"guard:backend.main.py:_preflight_job_experiment_protocol:bdb84888b3a2","evidence_level":"source_guard_not_numerical_validation","source_line":1627,"reason":"ValueError('a continuous waveform requires an explicit V_max')","scope":"_preflight_job_experiment_protocol"}, +{"id":"guard-1122188bf33f6e73","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"guard:backend.main.py:_resolve_dynamic_defect_transient_protocol:d0a14f0de0bf","evidence_level":"source_guard_not_numerical_validation","source_line":1806,"reason":"dynamic_defect_transient_exp.DynamicDefectTransientProtocolError(f'dynamic_defect_transient_protocol requires method={dynamic_defect_transient_exp.DYNAMIC_DEFECT_TRANSIENT_METHOD!r}')","scope":"_resolve_dynamic_defect_transient_protocol"}, +{"id":"guard-56657584dc71d278","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"guard:backend.main.py:_resolve_interface_charge_jv_protocol:4ab35802dbbe","evidence_level":"source_guard_not_numerical_validation","source_line":1469,"reason":"interface_charge_jv_exp.InterfaceChargeJVProtocolError('unsupported interface-charge closure for J-V execution')","scope":"_resolve_interface_charge_jv_protocol"}, +{"id":"guard-8ca35862d88d9702","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"guard:backend.main.py:_resolve_interface_charge_jv_protocol:e0e72a96d2ed","evidence_level":"source_guard_not_numerical_validation","source_line":1462,"reason":"interface_charge_jv_exp.InterfaceChargeJVProtocolError(\"interface_charge_jv_protocol requires interface_charge_closure='equilibrium_referenced'\")","scope":"_resolve_interface_charge_jv_protocol"}, +{"id":"guard-80aaaf1cf9bb4651","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"guard:backend.main.py:_run_jv_dispatch:9431732e5306","evidence_level":"source_guard_not_numerical_validation","source_line":1970,"reason":"interface_charge_jv_exp.InterfaceChargeJVProtocolError('charged interface J-V requires a resolved protocol')","scope":"_run_jv_dispatch"}, +{"id":"guard-0d9c132be28d40f0","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"guard:backend.main.py:_run_jv_dispatch:9d1c8818ad16","evidence_level":"source_guard_not_numerical_validation","source_line":2045,"reason":"ValueError(\"interface_boundary requires solver='quasi_fermi'\")","scope":"_run_jv_dispatch"}, +{"id":"guard-d810fb0338d35d8f","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"guard:backend.main.py:_run_jv_dispatch:a97e8f083175","evidence_level":"source_guard_not_numerical_validation","source_line":2052,"reason":"ValueError('interface_transport_model requires interface_boundary=true')","scope":"_run_jv_dispatch"}, +{"id":"guard-d811b24ef2c9e5e3","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"guard:backend.main.py:_run_jv_dispatch:bdb84888b3a2","evidence_level":"source_guard_not_numerical_validation","source_line":1960,"reason":"ValueError('a continuous waveform requires an explicit V_max')","scope":"_run_jv_dispatch"}, +{"id":"guard-b7a2d817c9b7ed36","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"guard:backend.main.py:build_dynamic_defect_transient_stack:ed96a0b4a48d","evidence_level":"source_guard_not_numerical_validation","source_line":589,"reason":"HTTPException(status_code=422, detail=\"dynamic-defect transient requires exactly one of 'device' or 'config_path'\")","scope":"build_dynamic_defect_transient_stack"}, +{"id":"guard-247180044e501b11","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"guard:backend.main.py:build_jv_stack:871b5ab0209c","evidence_level":"source_guard_not_numerical_validation","source_line":553,"reason":"HTTPException(status_code=422, detail=\"charged interface J-V requires exactly one of 'device' or 'config_path'\")","scope":"build_jv_stack"}, +{"id":"guard-82c36c38b5d28adf","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"guard:backend.main.py:run_external_circuit_jv:b506be00537d","evidence_level":"source_guard_not_numerical_validation","source_line":2320,"reason":"ValueError('continuous waveforms are not supported by the DC external-circuit endpoint')","scope":"run_external_circuit_jv"}, +{"id":"guard-aa55a5471e173189","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"guard:backend.main.py:start_job._run:3db6eec820e8","evidence_level":"source_guard_not_numerical_validation","source_line":3676,"reason":"HTTPException(status_code=400, detail='voc_grain_sweep requires grain_sizes_nm (list of nm)')","scope":"start_job._run"}, +{"id":"guard-004080e5ca5411ba","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"guard:backend.main.py:start_job:240565a5ce53","evidence_level":"source_guard_not_numerical_validation","source_line":3559,"reason":"ImplicitProtocolError('mobile-ion or interface-SRH jv_2d requires an explicit research_strict protocol')","scope":"start_job"}, +{"id":"guard-f2a77878f44cbf5d","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"guard:backend.main.py:start_job:7dc51ed2e10d","evidence_level":"source_guard_not_numerical_validation","source_line":3357,"reason":"HTTPException(status_code=400, detail='tandem kind requires config_path')","scope":"start_job"}, +{"id":"guard-09fd92bfc07dd335","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/band_diagram.py","route_id":"route-5ca82577dfe50181","origin_key":"guard:perovskite_sim.experiments.band_diagram.py:_node_band_params:7bcdb420633c","evidence_level":"source_guard_not_numerical_validation","source_line":67,"reason":"ValueError('band_diagram requires per-layer Nc300/Nv300 (effective DOS); this config does not provide it (set N_C_cm3/N_V_cm3 or Nc300/Nv300).')","scope":"_node_band_params"}, +{"id":"guard-7c685c1c6c994985","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/bulk_defect_ion_transient.py","route_id":"route-6099117639558322","origin_key":"guard:perovskite_sim.experiments.bulk_defect_ion_transient.py:run_bulk_defect_ion_device_transient:371f9fa9a0f3","evidence_level":"source_guard_not_numerical_validation","source_line":1150,"reason":"BulkDefectIonTransientError('bulk defect/ion transient requires an explicit bulk defect')","scope":"run_bulk_defect_ion_device_transient"}, +{"id":"guard-69f90750810b13df","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/bulk_defect_ion_transient.py","route_id":"route-6099117639558322","origin_key":"guard:perovskite_sim.experiments.bulk_defect_ion_transient.py:run_bulk_defect_ion_device_transient:e2a268b99431","evidence_level":"source_guard_not_numerical_validation","source_line":1231,"reason":"BulkDefectIonTransientError('joint defect/ion DC state is not certified: ' + ', '.join(dc_state.certificate.reasons))","scope":"run_bulk_defect_ion_device_transient"}, +{"id":"guard-a13014d3d2bcbdd5","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/bulk_defect_transient.py","route_id":"route-7fdd0a08afe81954","origin_key":"guard:perovskite_sim.experiments.bulk_defect_transient.py:run_bulk_defect_device_transient:272da1b4dba7","evidence_level":"source_guard_not_numerical_validation","source_line":1468,"reason":"BulkDefectTransientError('bulk defect transient requires contact-thermodynamic certification')","scope":"run_bulk_defect_device_transient"}, +{"id":"guard-ea110d878da18d4c","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/bulk_defect_transient.py","route_id":"route-7fdd0a08afe81954","origin_key":"guard:perovskite_sim.experiments.bulk_defect_transient.py:run_bulk_defect_device_transient:5f9d2a463b00","evidence_level":"source_guard_not_numerical_validation","source_line":1425,"reason":"BulkDefectTransientError('bulk defect transient requires a compiled explicit-defect model')","scope":"run_bulk_defect_device_transient"}, +{"id":"guard-de36052ac5a58057","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/bulk_defect_transient.py","route_id":"route-7fdd0a08afe81954","origin_key":"guard:perovskite_sim.experiments.bulk_defect_transient.py:run_bulk_defect_device_transient:7023d4d1044c","evidence_level":"source_guard_not_numerical_validation","source_line":1464,"reason":"BulkDefectTransientError('bulk defect transient requires a certified QF DC state')","scope":"run_bulk_defect_device_transient"}, +{"id":"guard-187e4467401dd2cc","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/bulk_defect_transient.py","route_id":"route-7fdd0a08afe81954","origin_key":"guard:perovskite_sim.experiments.bulk_defect_transient.py:run_bulk_defect_device_transient:ae85864d78a2","evidence_level":"source_guard_not_numerical_validation","source_line":1416,"reason":"BulkDefectTransientError(f'bulk defect transient requires a supported explicit-defect model: {exc}')","scope":"run_bulk_defect_device_transient"}, +{"id":"guard-e1f451dcb84cdf08","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/cbo_scan.py","route_id":"route-ab8776e954576856","origin_key":"guard:perovskite_sim.experiments.cbo_scan.py:_validate_voltage_refinement_grids:c0fba84e6ac8","evidence_level":"source_guard_not_numerical_validation","source_line":824,"reason":"ValueError(f'point-local voltage refinement requires both ladders to contain exactly {minimum_voltage_grids} grids')","scope":"_validate_voltage_refinement_grids"}, +{"id":"guard-7217c1d3dab178cf","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/cbo_scan.py","route_id":"route-ab8776e954576856","origin_key":"guard:perovskite_sim.experiments.cbo_scan.py:solve_interface_cbo_scan:3228878855d7","evidence_level":"source_guard_not_numerical_validation","source_line":1859,"reason":"ValueError(f'two_sided_trace currently requires interface_transport_model={FERMI_DIRAC_RICHARDSON!r}')","scope":"solve_interface_cbo_scan"}, +{"id":"guard-a361f059cf8031bc","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/cbo_scan.py","route_id":"route-ab8776e954576856","origin_key":"guard:perovskite_sim.experiments.cbo_scan.py:solve_interface_cbo_scan:60dc27179414","evidence_level":"source_guard_not_numerical_validation","source_line":1893,"reason":"ValueError('voltage_grids_V requires calculate_jv_metrics=True')","scope":"solve_interface_cbo_scan"}, +{"id":"guard-dcbf7184bd5ebe51","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/cbo_scan.py","route_id":"route-ab8776e954576856","origin_key":"guard:perovskite_sim.experiments.cbo_scan.py:solve_interface_cbo_scan:b702d9432591","evidence_level":"source_guard_not_numerical_validation","source_line":1881,"reason":"ValueError('adaptive_jv_metrics requires calculate_jv_metrics=True')","scope":"solve_interface_cbo_scan"}, +{"id":"guard-407ceca2602c2cca","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/cbo_scan.py","route_id":"route-ab8776e954576856","origin_key":"guard:perovskite_sim.experiments.cbo_scan.py:solve_interface_cbo_scan:bbc8929e8ae1","evidence_level":"source_guard_not_numerical_validation","source_line":1790,"reason":"ValueError('reference_initial_state_grid requires reference_initial_state')","scope":"solve_interface_cbo_scan"}, +{"id":"guard-f7184a0135dd7964","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/cbo_scan.py","route_id":"route-ab8776e954576856","origin_key":"guard:perovskite_sim.experiments.cbo_scan.py:solve_interface_cbo_scan:d9271deb8003","evidence_level":"source_guard_not_numerical_validation","source_line":1889,"reason":"ValueError('voltage_refinement_grids_V requires voltage_grids_V')","scope":"solve_interface_cbo_scan"}, +{"id":"guard-d5b011230ebf3d5e","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/cbo_scan.py","route_id":"route-ab8776e954576856","origin_key":"guard:perovskite_sim.experiments.cbo_scan.py:validate_adaptive_jv_metrics:988acc61c001","evidence_level":"source_guard_not_numerical_validation","source_line":88,"reason":"ValueError(f'adaptive_jv_metrics must contain only {ADAPTIVE_JV_METRICS}; got {unsupported}')","scope":"validate_adaptive_jv_metrics"}, +{"id":"guard-207767559dab167d","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/defect_aware_impedance.py","route_id":"route-2accc863cbfb1452","origin_key":"guard:perovskite_sim.experiments.defect_aware_impedance.py:run_bulk_defect_device_impedance:3df36c3590af","evidence_level":"source_guard_not_numerical_validation","source_line":423,"reason":"BulkDefectDeviceACError('device AC requires a contact-thermodynamically certified DC state')","scope":"run_bulk_defect_device_impedance"}, +{"id":"guard-676ab1e97f87fe6e","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/defect_aware_impedance.py","route_id":"route-2accc863cbfb1452","origin_key":"guard:perovskite_sim.experiments.defect_aware_impedance.py:run_bulk_defect_device_impedance:85abc0e85967","evidence_level":"source_guard_not_numerical_validation","source_line":401,"reason":"BulkDefectDeviceACError('device AC requires a certified QF DC state')","scope":"run_bulk_defect_device_impedance"}, +{"id":"guard-c10fb8be20a2f5b6","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/defect_aware_impedance.py","route_id":"route-2accc863cbfb1452","origin_key":"guard:perovskite_sim.experiments.defect_aware_impedance.py:run_bulk_defect_device_impedance:8640a421bbef","evidence_level":"source_guard_not_numerical_validation","source_line":549,"reason":"BulkDefectDeviceACError('DC state is not certified on the AC device operator: ' + '; '.join(dc_failures))","scope":"run_bulk_defect_device_impedance"}, +{"id":"guard-104b30919ce457a4","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/defect_aware_impedance.py","route_id":"route-2accc863cbfb1452","origin_key":"guard:perovskite_sim.experiments.defect_aware_impedance.py:run_bulk_defect_device_impedance:ad5de4172056","evidence_level":"source_guard_not_numerical_validation","source_line":357,"reason":"BulkDefectDeviceACError(f'bulk defect device AC requires a supported explicit-defect model: {exc}')","scope":"run_bulk_defect_device_impedance"}, +{"id":"guard-62212b63e48736de","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/defect_aware_impedance.py","route_id":"route-2accc863cbfb1452","origin_key":"guard:perovskite_sim.experiments.defect_aware_impedance.py:run_bulk_defect_device_impedance:d7e1418d1ea8","evidence_level":"source_guard_not_numerical_validation","source_line":373,"reason":"BulkDefectDeviceACError('bulk defect device AC requires a compiled explicit-defect model')","scope":"run_bulk_defect_device_impedance"}, +{"id":"guard-a68f0c497c30f683","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/defect_ion_combined_impedance.py","route_id":"route-7e52697666c1d1db","origin_key":"guard:perovskite_sim.experiments.defect_ion_combined_impedance.py:_build_ion_layout:23d568ebbe8c","evidence_level":"source_guard_not_numerical_validation","source_line":375,"reason":"DefectIonCombinedError('combined defect/ion impedance requires an active mobile-ion species')","scope":"_build_ion_layout"}, +{"id":"guard-906c25910a9153b2","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/defect_ion_combined_impedance.py","route_id":"route-7e52697666c1d1db","origin_key":"guard:perovskite_sim.experiments.defect_ion_combined_impedance.py:run_defect_ion_combined_impedance:14c0ad3ac9dd","evidence_level":"source_guard_not_numerical_validation","source_line":1074,"reason":"DefectIonCombinedError(f'combined defect/ion impedance requires a certified contact thermodynamic reference: {exc}')","scope":"run_defect_ion_combined_impedance"}, +{"id":"guard-698ead3b53a95830","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/defect_ion_combined_impedance.py","route_id":"route-7e52697666c1d1db","origin_key":"guard:perovskite_sim.experiments.defect_ion_combined_impedance.py:run_defect_ion_combined_impedance:1fa05de8fb92","evidence_level":"source_guard_not_numerical_validation","source_line":1218,"reason":"DefectIonCombinedError('combined DC operating point is not certified: ' + ', '.join(dc_state.certificate.reasons))","scope":"run_defect_ion_combined_impedance"}, +{"id":"guard-80280b7b50e2a1c1","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/defect_ion_combined_impedance.py","route_id":"route-7e52697666c1d1db","origin_key":"guard:perovskite_sim.experiments.defect_ion_combined_impedance.py:run_defect_ion_combined_impedance:316c41ab8fe7","evidence_level":"source_guard_not_numerical_validation","source_line":1097,"reason":"DefectIonCombinedError('R1 AC requires the dark single-interface positive-ion lane')","scope":"run_defect_ion_combined_impedance"}, +{"id":"guard-eeac6d83d06fa291","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/defect_ion_combined_impedance.py","route_id":"route-7e52697666c1d1db","origin_key":"guard:perovskite_sim.experiments.defect_ion_combined_impedance.py:run_defect_ion_combined_impedance:4288204f282e","evidence_level":"source_guard_not_numerical_validation","source_line":1080,"reason":"DefectIonCombinedError('combined impedance requires an explicit bulk or interface defect')","scope":"run_defect_ion_combined_impedance"}, +{"id":"guard-e0b8ba87f9ea652e","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_impedance.py","route_id":"route-130393a19cff03be","origin_key":"guard:perovskite_sim.experiments.dynamic_defect_impedance.py:DynamicDefectImpedanceProtocol.__post_init__:0a54f7ee2d06","evidence_level":"source_guard_not_numerical_validation","source_line":289,"reason":"ValueError('unsupported dynamic-defect impedance schema')","scope":"DynamicDefectImpedanceProtocol.__post_init__"}, +{"id":"guard-fd5b75a8801acdc1","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_impedance.py","route_id":"route-130393a19cff03be","origin_key":"guard:perovskite_sim.experiments.dynamic_defect_impedance.py:DynamicDefectImpedanceProtocol.__post_init__:d8a36ad5ac8a","evidence_level":"source_guard_not_numerical_validation","source_line":291,"reason":"ValueError('unsupported dynamic-defect impedance method')","scope":"DynamicDefectImpedanceProtocol.__post_init__"}, +{"id":"guard-8d155f6dc71a5e2b","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_impedance.py","route_id":"route-130393a19cff03be","origin_key":"guard:perovskite_sim.experiments.dynamic_defect_impedance.py:_contact_certificate:29cf85375103","evidence_level":"source_guard_not_numerical_validation","source_line":745,"reason":"DynamicDefectImpedanceCapabilityError(f'production dynamic-defect impedance requires certified contact thermodynamics, got {certificate.status}: {certificate.message}')","scope":"_contact_certificate"}, +{"id":"guard-3f8f32f19df99ac7","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_impedance.py","route_id":"route-130393a19cff03be","origin_key":"guard:perovskite_sim.experiments.dynamic_defect_impedance.py:_json_ready:d34cd2cfff38","evidence_level":"source_guard_not_numerical_validation","source_line":149,"reason":"TypeError(f'dynamic-defect impedance protocol contains unsupported value {type(value).__name__}')","scope":"_json_ready"}, +{"id":"guard-4977f8554eac87a5","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_impedance.py","route_id":"route-130393a19cff03be","origin_key":"guard:perovskite_sim.experiments.dynamic_defect_impedance.py:classify_dynamic_defect_capability:590f4dbeb3b9","evidence_level":"source_guard_not_numerical_validation","source_line":552,"reason":"DynamicDefectImpedanceCapabilityError('dynamic-defect impedance requires an explicit bulk or canonical interface defect population')","scope":"classify_dynamic_defect_capability"}, +{"id":"guard-d4c3a506c706a294","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_impedance.py","route_id":"route-130393a19cff03be","origin_key":"guard:perovskite_sim.experiments.dynamic_defect_impedance.py:classify_dynamic_defect_capability:79632086541f","evidence_level":"source_guard_not_numerical_validation","source_line":571,"reason":"DynamicDefectImpedanceCapabilityError('bulk + interface dynamic defects without active mobile ions do not yet have a jointly certified production operator')","scope":"classify_dynamic_defect_capability"}, +{"id":"guard-78e8daaece718bc6","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_transient.py","route_id":"route-a56ff31ad57a1f0e","origin_key":"guard:perovskite_sim.experiments.dynamic_defect_transient.py:DynamicDefectTransientProtocol.__post_init__:05cdb19f27de","evidence_level":"source_guard_not_numerical_validation","source_line":220,"reason":"ValueError('unsupported dynamic-defect transient schema')","scope":"DynamicDefectTransientProtocol.__post_init__"}, +{"id":"guard-9f543f9e109ded4e","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_transient.py","route_id":"route-a56ff31ad57a1f0e","origin_key":"guard:perovskite_sim.experiments.dynamic_defect_transient.py:DynamicDefectTransientProtocol.__post_init__:119ef9444a8e","evidence_level":"source_guard_not_numerical_validation","source_line":224,"reason":"ValueError('unsupported dynamic-defect transient capability')","scope":"DynamicDefectTransientProtocol.__post_init__"}, +{"id":"guard-7a73057e3d8bd973","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_transient.py","route_id":"route-a56ff31ad57a1f0e","origin_key":"guard:perovskite_sim.experiments.dynamic_defect_transient.py:DynamicDefectTransientProtocol.__post_init__:184f2977ac4d","evidence_level":"source_guard_not_numerical_validation","source_line":261,"reason":"ValueError('v1 production transient requires exactly one interface defect')","scope":"DynamicDefectTransientProtocol.__post_init__"}, +{"id":"guard-a6457d39243398aa","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_transient.py","route_id":"route-a56ff31ad57a1f0e","origin_key":"guard:perovskite_sim.experiments.dynamic_defect_transient.py:DynamicDefectTransientProtocol.__post_init__:92fa303262bc","evidence_level":"source_guard_not_numerical_validation","source_line":233,"reason":"ValueError('unsupported voltage interpolation')","scope":"DynamicDefectTransientProtocol.__post_init__"}, +{"id":"guard-0d16f7d67ef5c73f","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_transient.py","route_id":"route-a56ff31ad57a1f0e","origin_key":"guard:perovskite_sim.experiments.dynamic_defect_transient.py:DynamicDefectTransientProtocol.__post_init__:9fc44a579822","evidence_level":"source_guard_not_numerical_validation","source_line":272,"reason":"ValueError('v1 production transient requires one active positive-ion layer')","scope":"DynamicDefectTransientProtocol.__post_init__"}, +{"id":"guard-d0648937056e4251","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_transient.py","route_id":"route-a56ff31ad57a1f0e","origin_key":"guard:perovskite_sim.experiments.dynamic_defect_transient.py:DynamicDefectTransientProtocol.__post_init__:a1420d9e753d","evidence_level":"source_guard_not_numerical_validation","source_line":284,"reason":"ValueError('v1 transient requires symmetric interface current observation')","scope":"DynamicDefectTransientProtocol.__post_init__"}, +{"id":"guard-776b546e7d7c8a41","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_transient.py","route_id":"route-a56ff31ad57a1f0e","origin_key":"guard:perovskite_sim.experiments.dynamic_defect_transient.py:DynamicDefectTransientProtocol.__post_init__:b824e661626c","evidence_level":"source_guard_not_numerical_validation","source_line":228,"reason":"ValueError('the v1 production transient capability is dark-only')","scope":"DynamicDefectTransientProtocol.__post_init__"}, +{"id":"guard-614860d25affbf1a","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_transient.py","route_id":"route-a56ff31ad57a1f0e","origin_key":"guard:perovskite_sim.experiments.dynamic_defect_transient.py:DynamicDefectTransientProtocol.__post_init__:e2f7530ff5ce","evidence_level":"source_guard_not_numerical_validation","source_line":222,"reason":"ValueError('unsupported dynamic-defect transient method')","scope":"DynamicDefectTransientProtocol.__post_init__"}, +{"id":"guard-0b92398416813ef6","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_transient.py","route_id":"route-a56ff31ad57a1f0e","origin_key":"guard:perovskite_sim.experiments.dynamic_defect_transient.py:_json_ready:350b521c6ee3","evidence_level":"source_guard_not_numerical_validation","source_line":123,"reason":"TypeError(f'dynamic-defect transient protocol contains unsupported value {type(value).__name__}')","scope":"_json_ready"}, +{"id":"guard-d532b136fe4d1752","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_transient.py","route_id":"route-a56ff31ad57a1f0e","origin_key":"guard:perovskite_sim.experiments.dynamic_defect_transient.py:_maximum_positive_ion_relative_motion:6f912b7c9eb9","evidence_level":"source_guard_not_numerical_validation","source_line":629,"reason":"DynamicDefectTransientCertificationError('positive-ion motion requires active ion nodes')","scope":"_maximum_positive_ion_relative_motion"}, +{"id":"guard-ec60ff23e7efb21d","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_transient.py","route_id":"route-a56ff31ad57a1f0e","origin_key":"guard:perovskite_sim.experiments.dynamic_defect_transient.py:_maximum_positive_ion_relative_motion:c18127344fd3","evidence_level":"source_guard_not_numerical_validation","source_line":634,"reason":"DynamicDefectTransientCertificationError('positive-ion motion requires a finite positive reference')","scope":"_maximum_positive_ion_relative_motion"}, +{"id":"guard-63bada09e4f646d1","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_transient.py","route_id":"route-a56ff31ad57a1f0e","origin_key":"guard:perovskite_sim.experiments.dynamic_defect_transient.py:_positive_ion_centroid:1aeb0d60688b","evidence_level":"source_guard_not_numerical_validation","source_line":609,"reason":"DynamicDefectTransientCertificationError('positive-ion centroid requires active ion nodes')","scope":"_positive_ion_centroid"}, +{"id":"guard-dde1252610b64766","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_transient.py","route_id":"route-a56ff31ad57a1f0e","origin_key":"guard:perovskite_sim.experiments.dynamic_defect_transient.py:_positive_ion_centroid:5972cd73c9f2","evidence_level":"source_guard_not_numerical_validation","source_line":616,"reason":"DynamicDefectTransientCertificationError('positive-ion centroid requires finite positive inventory')","scope":"_positive_ion_centroid"}, +{"id":"guard-16d72edbf7017572","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_transient.py","route_id":"route-a56ff31ad57a1f0e","origin_key":"guard:perovskite_sim.experiments.dynamic_defect_transient.py:build_dynamic_defect_transient_protocol:578f1039b42a","evidence_level":"source_guard_not_numerical_validation","source_line":537,"reason":"DynamicDefectTransientCapabilityError('the v1 certified dynamic-defect transient is dark-only')","scope":"build_dynamic_defect_transient_protocol"}, +{"id":"guard-3fbc14e5d66b9bd7","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_transient.py","route_id":"route-a56ff31ad57a1f0e","origin_key":"guard:perovskite_sim.experiments.dynamic_defect_transient.py:classify_dynamic_defect_transient_capability:0d42d2faa86a","evidence_level":"source_guard_not_numerical_validation","source_line":472,"reason":"DynamicDefectTransientCapabilityError('v1 production transient requires exactly one microscopic interface defect')","scope":"classify_dynamic_defect_transient_capability"}, +{"id":"guard-8c1c6dc64e941d08","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_transient.py","route_id":"route-a56ff31ad57a1f0e","origin_key":"guard:perovskite_sim.experiments.dynamic_defect_transient.py:classify_dynamic_defect_transient_capability:3ece14dde8bb","evidence_level":"source_guard_not_numerical_validation","source_line":461,"reason":"DynamicDefectTransientCapabilityError('v1 production transient requires exactly two electrical layers')","scope":"classify_dynamic_defect_transient_capability"}, +{"id":"guard-1075ad67bb496da7","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_transient.py","route_id":"route-a56ff31ad57a1f0e","origin_key":"guard:perovskite_sim.experiments.dynamic_defect_transient.py:classify_dynamic_defect_transient_capability:67c7a9f65b2d","evidence_level":"source_guard_not_numerical_validation","source_line":501,"reason":"DynamicDefectTransientCapabilityError('v1 production transient requires exactly one active positive-ion layer')","scope":"classify_dynamic_defect_transient_capability"}, +{"id":"guard-d798a8217879347b","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_transient.py","route_id":"route-a56ff31ad57a1f0e","origin_key":"guard:perovskite_sim.experiments.dynamic_defect_transient.py:classify_dynamic_defect_transient_capability:970c9cd90c2b","evidence_level":"source_guard_not_numerical_validation","source_line":483,"reason":"DynamicDefectTransientCapabilityError('v1 production transient requires equilibrium-referenced interface charge')","scope":"classify_dynamic_defect_transient_capability"}, +{"id":"guard-30207deffb311bee","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_transient.py","route_id":"route-a56ff31ad57a1f0e","origin_key":"guard:perovskite_sim.experiments.dynamic_defect_transient.py:classify_dynamic_defect_transient_capability:9fc30cd5e5b6","evidence_level":"source_guard_not_numerical_validation","source_line":487,"reason":"DynamicDefectTransientCapabilityError('v1 production transient requires interface charge rebaseline acknowledgement')","scope":"classify_dynamic_defect_transient_capability"}, +{"id":"guard-6817c0ae18a7d112","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/el_spectrum.py","route_id":"route-e54ce44407041288","origin_key":"guard:perovskite_sim.experiments.el_spectrum.py:_require_tmm_optical_data:506ae4a681da","evidence_level":"source_guard_not_numerical_validation","source_line":94,"reason":"ValueError('run_el_spectrum requires at least one layer with tabulated optical_material data or an active graded CIGS model.')","scope":"_require_tmm_optical_data"}, +{"id":"guard-3239f836a46fc7e3","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/electrothermal.py","route_id":"route-7db2e643362dfd6c","origin_key":"guard:perovskite_sim.experiments.electrothermal.py:ElectrothermalOperatingPointProtocol.__post_init__:d7b514c9d349","evidence_level":"source_guard_not_numerical_validation","source_line":267,"reason":"ValueError('unsupported electrothermal operating point')","scope":"ElectrothermalOperatingPointProtocol.__post_init__"}, +{"id":"guard-cc958c5375ac8ab9","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/electrothermal.py","route_id":"route-7db2e643362dfd6c","origin_key":"guard:perovskite_sim.experiments.electrothermal.py:_sampled_terminal_mpp:9fd7b039f718","evidence_level":"source_guard_not_numerical_validation","source_line":367,"reason":"ElectrothermalSourceError('electrothermal coupling requires a certified external J-V result')","scope":"_sampled_terminal_mpp"}, +{"id":"guard-d4facd5580e165a8","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/electrothermal.py","route_id":"route-7db2e643362dfd6c","origin_key":"guard:perovskite_sim.experiments.electrothermal.py:solve_electrothermal_operating_point:3d0988b897ab","evidence_level":"source_guard_not_numerical_validation","source_line":645,"reason":"ElectrothermalCapabilityError('electrothermal coupling requires a temperature-scaling simulation mode')","scope":"solve_electrothermal_operating_point"}, +{"id":"guard-23b14ab4c9de5bcd","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/eqe.py","route_id":"route-5a8723c98dfd6f67","origin_key":"guard:perovskite_sim.experiments.eqe.py:_require_tmm_optical_data:5e5336693390","evidence_level":"source_guard_not_numerical_validation","source_line":246,"reason":"ValueError('compute_eqe requires tabulated optical_material data or an active device.graded_optics CIGS model.')","scope":"_require_tmm_optical_data"}, +{"id":"guard-ec48b3446424da22","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/external_circuit.py","route_id":"route-f5899aee3f4d6b9e","origin_key":"guard:perovskite_sim.experiments.external_circuit.py:ExternalCircuitProtocol.__post_init__:2bca036b9381","evidence_level":"source_guard_not_numerical_validation","source_line":107,"reason":"ValueError('external circuit requires photovoltaic_output_positive current')","scope":"ExternalCircuitProtocol.__post_init__"}, +{"id":"guard-28cf4f1853c5bd59","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/external_circuit.py","route_id":"route-f5899aee3f4d6b9e","origin_key":"guard:perovskite_sim.experiments.external_circuit.py:apply_external_circuit:4d97239442e4","evidence_level":"source_guard_not_numerical_validation","source_line":448,"reason":"ExternalCircuitSourceError('external-circuit mapping requires a certified intrinsic JVResult')","scope":"apply_external_circuit"}, +{"id":"guard-c8e085b4a9578692","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/identifiability.py","route_id":"route-aabd8ca4f67f1c35","origin_key":"guard:perovskite_sim.experiments.identifiability.py:IdentifiabilityParameter.__post_init__:53a653247e6c","evidence_level":"source_guard_not_numerical_validation","source_line":161,"reason":"ValueError(f'unsupported identifiability parameter {self.name!r}')","scope":"IdentifiabilityParameter.__post_init__"}, +{"id":"guard-d9d4e470e1add43f","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/identifiability.py","route_id":"route-aabd8ca4f67f1c35","origin_key":"guard:perovskite_sim.experiments.identifiability.py:IdentifiabilityProfile.__post_init__:5cc741d2da82","evidence_level":"source_guard_not_numerical_validation","source_line":460,"reason":"ValueError('profile parameter is not supported')","scope":"IdentifiabilityProfile.__post_init__"}, +{"id":"guard-c42b86bcf5fd4e35","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/identifiability.py","route_id":"route-aabd8ca4f67f1c35","origin_key":"guard:perovskite_sim.experiments.identifiability.py:InterfaceSRHIdentifiabilityProtocol.__post_init__:12e455bfdc36","evidence_level":"source_guard_not_numerical_validation","source_line":262,"reason":"ValueError('unsupported profile method')","scope":"InterfaceSRHIdentifiabilityProtocol.__post_init__"}, +{"id":"guard-9877a3e7d90cf363","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/identifiability.py","route_id":"route-aabd8ca4f67f1c35","origin_key":"guard:perovskite_sim.experiments.identifiability.py:InterfaceSRHIdentifiabilityProtocol.__post_init__:4dc3664513ce","evidence_level":"source_guard_not_numerical_validation","source_line":256,"reason":"ValueError('unsupported identifiability forward model')","scope":"InterfaceSRHIdentifiabilityProtocol.__post_init__"}, +{"id":"guard-5a5398e2b3af4280","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/identifiability.py","route_id":"route-aabd8ca4f67f1c35","origin_key":"guard:perovskite_sim.experiments.identifiability.py:InterfaceSRHIdentifiabilityProtocol.__post_init__:9bb476d6f751","evidence_level":"source_guard_not_numerical_validation","source_line":268,"reason":"ValueError('unsupported observable family')","scope":"InterfaceSRHIdentifiabilityProtocol.__post_init__"}, +{"id":"guard-cf95edd643caed5f","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/identifiability.py","route_id":"route-aabd8ca4f67f1c35","origin_key":"guard:perovskite_sim.experiments.identifiability.py:InterfaceSRHIdentifiabilityProtocol.__post_init__:cfc2998ec085","evidence_level":"source_guard_not_numerical_validation","source_line":260,"reason":"ValueError('unsupported identifiability optimizer')","scope":"InterfaceSRHIdentifiabilityProtocol.__post_init__"}, +{"id":"guard-fb44dc06c41cc589","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/identifiability.py","route_id":"route-aabd8ca4f67f1c35","origin_key":"guard:perovskite_sim.experiments.identifiability.py:InterfaceSRHIdentifiabilityResult.__post_init__:c3cc22c00292","evidence_level":"source_guard_not_numerical_validation","source_line":633,"reason":"ValueError('full-rank result requires a finite condition number')","scope":"InterfaceSRHIdentifiabilityResult.__post_init__"}, +{"id":"guard-d95007b1e5c68383","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/identifiability.py","route_id":"route-aabd8ca4f67f1c35","origin_key":"guard:perovskite_sim.experiments.identifiability.py:build_interface_srh_identifiability_protocol:9bb476d6f751","evidence_level":"source_guard_not_numerical_validation","source_line":765,"reason":"ValueError('unsupported observable family')","scope":"build_interface_srh_identifiability_protocol"}, +{"id":"guard-669826b8c7bdedfe","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/identifiability.py","route_id":"route-aabd8ca4f67f1c35","origin_key":"guard:perovskite_sim.experiments.identifiability.py:build_interface_srh_identifiability_protocol:da9f62ec8ee1","evidence_level":"source_guard_not_numerical_validation","source_line":770,"reason":"ValueError('estimated_parameters contains an unsupported name')","scope":"build_interface_srh_identifiability_protocol"}, +{"id":"guard-0946665d3abf5a4a","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/impedance.py","route_id":"route-7476954ae0fdb534","origin_key":"guard:perovskite_sim.experiments.impedance.py:build_impedance_experiment_protocol:a18e31a0028d","evidence_level":"source_guard_not_numerical_validation","source_line":590,"reason":"TypeError('an explicit impedance protocol requires stack.T')","scope":"build_impedance_experiment_protocol"}, +{"id":"guard-3d013f4cb89e6609","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/impedance.py","route_id":"route-7476954ae0fdb534","origin_key":"guard:perovskite_sim.experiments.impedance.py:extract_impedance:f9e75e00727f","evidence_level":"source_guard_not_numerical_validation","source_line":247,"reason":"NotImplementedError('Full IS requires a DeviceStack argument.')","scope":"extract_impedance"}, +{"id":"guard-8243b468b3ed9eb9","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/impedance.py","route_id":"route-7476954ae0fdb534","origin_key":"guard:perovskite_sim.experiments.impedance.py:run_impedance:26a2b467710f","evidence_level":"source_guard_not_numerical_validation","source_line":1056,"reason":"ImpedanceCapabilityError('impedance does not support dynamic interface-state blocks until their residual and electrostatic charge are jointly certified')","scope":"run_impedance"}, +{"id":"guard-393423134af394d1","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/interface_charge_jv.py","route_id":"route-5e747a794c569195","origin_key":"guard:perovskite_sim.experiments.interface_charge_jv.py:InterfaceChargeJVAcceptance.__post_init__:118819264ecb","evidence_level":"source_guard_not_numerical_validation","source_line":245,"reason":"ValueError(f'interface-charge J-V v1 requires {name}=true')","scope":"InterfaceChargeJVAcceptance.__post_init__"}, +{"id":"guard-a73981a400ff4087","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/interface_charge_jv.py","route_id":"route-5e747a794c569195","origin_key":"guard:perovskite_sim.experiments.interface_charge_jv.py:InterfaceChargeJVProtocol.__post_init__:a598bdce4c2f","evidence_level":"source_guard_not_numerical_validation","source_line":334,"reason":"ValueError('interface-charge J-V v1 requires stop_after_voc=true')","scope":"InterfaceChargeJVProtocol.__post_init__"}, +{"id":"guard-56ab798fa920f953","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/interface_charge_jv.py","route_id":"route-5e747a794c569195","origin_key":"guard:perovskite_sim.experiments.interface_charge_jv.py:InterfaceChargeJVProtocol.__post_init__:b6f2fa34062e","evidence_level":"source_guard_not_numerical_validation","source_line":330,"reason":"ValueError(f'unsupported {name} for interface-charge J-V v1')","scope":"InterfaceChargeJVProtocol.__post_init__"}, +{"id":"guard-fb050c733561e85e","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/interface_charge_jv.py","route_id":"route-5e747a794c569195","origin_key":"guard:perovskite_sim.experiments.interface_charge_jv.py:InterfaceChargeJVProtocol.__post_init__:d23bf40e82f4","evidence_level":"source_guard_not_numerical_validation","source_line":332,"reason":"ValueError('interface-charge J-V v1 requires unit transmission')","scope":"InterfaceChargeJVProtocol.__post_init__"}, +{"id":"guard-ea429dafce0de02f","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_aware_impedance.py","route_id":"route-0f4037cecfd2937f","origin_key":"guard:perovskite_sim.experiments.interface_defect_aware_impedance.py:run_interface_defect_device_impedance:1cae5459c032","evidence_level":"source_guard_not_numerical_validation","source_line":384,"reason":"InterfaceDefectDeviceACError(f'interface device AC requires a microscopic charged-interface stack: {exc}')","scope":"run_interface_defect_device_impedance"}, +{"id":"guard-5ef1234546e4f677","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_aware_impedance.py","route_id":"route-0f4037cecfd2937f","origin_key":"guard:perovskite_sim.experiments.interface_defect_aware_impedance.py:run_interface_defect_device_impedance:49ca3f86db96","evidence_level":"source_guard_not_numerical_validation","source_line":702,"reason":"InterfaceDefectDeviceACError('DC state is not certified on the interface AC operator: ' + '; '.join(dc_failures))","scope":"run_interface_defect_device_impedance"}, +{"id":"guard-3d33a68768163627","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_aware_impedance.py","route_id":"route-0f4037cecfd2937f","origin_key":"guard:perovskite_sim.experiments.interface_defect_aware_impedance.py:run_interface_defect_device_impedance:6d065e4b8933","evidence_level":"source_guard_not_numerical_validation","source_line":486,"reason":"InterfaceDefectDeviceACError('device AC requires a certified QF DC state')","scope":"run_interface_defect_device_impedance"}, +{"id":"guard-6e46a7aa53a96811","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_aware_impedance.py","route_id":"route-0f4037cecfd2937f","origin_key":"guard:perovskite_sim.experiments.interface_defect_aware_impedance.py:run_interface_defect_device_impedance:89e4ea42056c","evidence_level":"source_guard_not_numerical_validation","source_line":389,"reason":"InterfaceDefectDeviceACError('interface device AC requires at least one microscopic interface defect')","scope":"run_interface_defect_device_impedance"}, +{"id":"guard-b2865b821a86a119","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_ion_transient.py","route_id":"route-4a5beb0fdcf3619a","origin_key":"guard:perovskite_sim.experiments.interface_defect_ion_transient.py:run_interface_defect_ion_device_transient:a85c33ebc8ae","evidence_level":"source_guard_not_numerical_validation","source_line":1369,"reason":"InterfaceDefectIonTransientError('physical R1 geometry requires its own fixed reference binding')","scope":"run_interface_defect_ion_device_transient"}, +{"id":"guard-5cadb1aec359f4e0","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_ion_transient.py","route_id":"route-4a5beb0fdcf3619a","origin_key":"guard:perovskite_sim.experiments.interface_defect_ion_transient.py:run_interface_defect_ion_device_transient:ab3c4efc0f98","evidence_level":"source_guard_not_numerical_validation","source_line":1326,"reason":"InterfaceDefectIonTransientError('interface/ion transient requires an explicit interface defect')","scope":"run_interface_defect_ion_device_transient"}, +{"id":"guard-eefec94fddc46e19","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_transient.py","route_id":"route-9b19d2ed844a6c53","origin_key":"guard:perovskite_sim.experiments.interface_defect_transient.py:_InterfaceTransientSystem.__init__:634665c869a3","evidence_level":"source_guard_not_numerical_validation","source_line":623,"reason":"InterfaceDefectTransientError('two-sided transient requires adjacent interior bulk reservoirs')","scope":"_InterfaceTransientSystem.__init__"}, +{"id":"guard-e725e646c896563d","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_transient.py","route_id":"route-9b19d2ed844a6c53","origin_key":"guard:perovskite_sim.experiments.interface_defect_transient.py:run_interface_defect_device_transient:02359d59cc73","evidence_level":"source_guard_not_numerical_validation","source_line":2633,"reason":"InterfaceDefectTransientError('interface transient requires a certified QF DC state')","scope":"run_interface_defect_device_transient"}, +{"id":"guard-b8dad5cc55ca0f99","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_transient.py","route_id":"route-9b19d2ed844a6c53","origin_key":"guard:perovskite_sim.experiments.interface_defect_transient.py:run_interface_defect_device_transient:2314f7f8896f","evidence_level":"source_guard_not_numerical_validation","source_line":2527,"reason":"InterfaceDefectTransientError('interface transient requires at least one microscopic interface defect')","scope":"run_interface_defect_device_transient"}, +{"id":"guard-e75430cc0e17dc46","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_transient.py","route_id":"route-9b19d2ed844a6c53","origin_key":"guard:perovskite_sim.experiments.interface_defect_transient.py:run_interface_defect_device_transient:617cc219226b","evidence_level":"source_guard_not_numerical_validation","source_line":2637,"reason":"InterfaceDefectTransientError('interface transient requires contact-thermodynamic certification')","scope":"run_interface_defect_device_transient"}, +{"id":"guard-e94ebe758221d28a","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_transient.py","route_id":"route-9b19d2ed844a6c53","origin_key":"guard:perovskite_sim.experiments.interface_defect_transient.py:run_interface_defect_device_transient:c230c53fc290","evidence_level":"source_guard_not_numerical_validation","source_line":2522,"reason":"InterfaceDefectTransientError(f'interface transient requires a microscopic charged-interface stack: {exc}')","scope":"run_interface_defect_device_transient"}, +{"id":"guard-47b9922f36748b65","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_analytic_reaction.py","route_id":"route-2d70ff5a414a71bc","origin_key":"guard:perovskite_sim.experiments.ion_aware_analytic_reaction.py:build_ion_aware_analytic_interface_reaction_linearization:0b40479c2899","evidence_level":"source_guard_not_numerical_validation","source_line":679,"reason":"IonAwareAnalyticReactionCapabilityError('cross-node interface sampling requires a declared InterfaceDefect')","scope":"build_ion_aware_analytic_interface_reaction_linearization"}, +{"id":"guard-9c1553e288ff7116","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_analytic_reaction.py","route_id":"route-2d70ff5a414a71bc","origin_key":"guard:perovskite_sim.experiments.ion_aware_analytic_reaction.py:build_ion_aware_analytic_interface_reaction_linearization:8484947a5348","evidence_level":"source_guard_not_numerical_validation","source_line":613,"reason":"IonAwareAnalyticReactionCapabilityError('interface projection requires a finite positive thermal voltage')","scope":"build_ion_aware_analytic_interface_reaction_linearization"}, +{"id":"guard-9ca80342e4d9bfac","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_analytic_transport.py","route_id":"route-0b685a0a6f8ded75","origin_key":"guard:perovskite_sim.experiments.ion_aware_analytic_transport.py:_add_field_mobility_tangent:1ef522eaca46","evidence_level":"source_guard_not_numerical_validation","source_line":329,"reason":"IonAwareAnalyticTransportCapabilityError('field-mobility SG chain requires non-negative finite mobility with a zero tangent on zero-mobility faces')","scope":"_add_field_mobility_tangent"}, +{"id":"guard-c11071b4e0e3d011","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_analytic_transport.py","route_id":"route-0b685a0a6f8ded75","origin_key":"guard:perovskite_sim.experiments.ion_aware_analytic_transport.py:_require_inactive_thermionic_caps:baef202306d5","evidence_level":"source_guard_not_numerical_validation","source_line":382,"reason":"IonAwareAnalyticTransportCapabilityError('smoothed thermionic-cap derivatives are not implemented')","scope":"_require_inactive_thermionic_caps"}, +{"id":"guard-1720c448a8293999","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_analytic_transport.py","route_id":"route-0b685a0a6f8ded75","origin_key":"guard:perovskite_sim.experiments.ion_aware_analytic_transport.py:build_ion_aware_analytic_transport_linearization:0e6d92892c8c","evidence_level":"source_guard_not_numerical_validation","source_line":564,"reason":"IonAwareAnalyticTransportCapabilityError('analytic transport requires the packed bulk ion-aware state')","scope":"build_ion_aware_analytic_transport_linearization"}, +{"id":"guard-8c22bec321cd97ca","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_dc.py","route_id":"route-540527431655d5fb","origin_key":"guard:perovskite_sim.experiments.ion_aware_dc.py:IonAwareDCProtocol.__post_init__:02dc7c73dc79","evidence_level":"source_guard_not_numerical_validation","source_line":187,"reason":"ValueError('illuminated ion-aware DC requires illumination_source')","scope":"IonAwareDCProtocol.__post_init__"}, +{"id":"guard-a4f794570353b438","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_dc.py","route_id":"route-540527431655d5fb","origin_key":"guard:perovskite_sim.experiments.ion_aware_dc.py:IonAwareDCProtocol.__post_init__:63b9fa0a8bac","evidence_level":"source_guard_not_numerical_validation","source_line":180,"reason":"ValueError('user_supplied_state requires a lowercase SHA-256 identity')","scope":"IonAwareDCProtocol.__post_init__"}, +{"id":"guard-4c9a54501f9826be","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_dc.py","route_id":"route-540527431655d5fb","origin_key":"guard:perovskite_sim.experiments.ion_aware_dc.py:IonAwareDCProtocol.__post_init__:9e6a66833fbd","evidence_level":"source_guard_not_numerical_validation","source_line":229,"reason":"ValueError('unsupported ion-aware DC protocol schema')","scope":"IonAwareDCProtocol.__post_init__"}, +{"id":"guard-02db3c1cbd5f7d5e","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_dc.py","route_id":"route-540527431655d5fb","origin_key":"guard:perovskite_sim.experiments.ion_aware_dc.py:assess_ion_aware_dc_state:347e82d22aaf","evidence_level":"source_guard_not_numerical_validation","source_line":514,"reason":"ValueError('ion-aware DC requires a one-dimensional grid with >=3 nodes')","scope":"assess_ion_aware_dc_state"}, +{"id":"guard-e16e2fe1ce5507d9","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_dc.py","route_id":"route-540527431655d5fb","origin_key":"guard:perovskite_sim.experiments.ion_aware_dc.py:ion_aware_dc_state_sha256:8162185798ad","evidence_level":"source_guard_not_numerical_validation","source_line":95,"reason":"ValueError('ion-aware DC state hash requires a finite 1-D array')","scope":"ion_aware_dc_state_sha256"}, +{"id":"guard-5b072e71bead19ae","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_dc.py","route_id":"route-540527431655d5fb","origin_key":"guard:perovskite_sim.experiments.ion_aware_dc.py:solve_ion_aware_dc:202015be2749","evidence_level":"source_guard_not_numerical_validation","source_line":755,"reason":"IonAwareDCCapabilityError('ion-aware DC requires at least one active mobile-ion species')","scope":"solve_ion_aware_dc"}, +{"id":"guard-7cd01894539ef497","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_dc.py","route_id":"route-540527431655d5fb","origin_key":"guard:perovskite_sim.experiments.ion_aware_dc.py:solve_ion_aware_dc:985ccae3a3c9","evidence_level":"source_guard_not_numerical_validation","source_line":760,"reason":"ValueError('user_supplied_state protocol requires y0')","scope":"solve_ion_aware_dc"}, +{"id":"guard-8744884a9a5492b6","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_dc.py","route_id":"route-540527431655d5fb","origin_key":"guard:perovskite_sim.experiments.ion_aware_dc.py:solve_ion_aware_dc:b32545fcc8d0","evidence_level":"source_guard_not_numerical_validation","source_line":764,"reason":"ValueError(\"supplying y0 requires initial_state_source='user_supplied_state'\")","scope":"solve_ion_aware_dc"}, +{"id":"guard-e93d6fa6ddb3cc5a","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_dc.py","route_id":"route-540527431655d5fb","origin_key":"guard:perovskite_sim.experiments.ion_aware_dc.py:solve_ion_aware_dc:e14346fa5012","evidence_level":"source_guard_not_numerical_validation","source_line":932,"reason":"IonAwareDCCertificationError(f'ion-aware DC contact thermodynamics is not certified; status={final_certificate.contact_thermodynamics.status}', result)","scope":"solve_ion_aware_dc"}, +{"id":"guard-bc9a53723189fe90","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance.py","route_id":"route-66a78cb7e2ee8eba","origin_key":"guard:perovskite_sim.experiments.ion_aware_impedance.py:IonAwareImpedanceProtocol.__post_init__:863d76c28769","evidence_level":"source_guard_not_numerical_validation","source_line":196,"reason":"ValueError('unsupported ion-aware impedance protocol schema')","scope":"IonAwareImpedanceProtocol.__post_init__"}, +{"id":"guard-81f6acac35331af3","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance.py","route_id":"route-66a78cb7e2ee8eba","origin_key":"guard:perovskite_sim.experiments.ion_aware_impedance.py:IonAwareImpedanceProtocol.__post_init__:c9d00596b3c2","evidence_level":"source_guard_not_numerical_validation","source_line":192,"reason":"ValueError('unsupported ion-aware impedance coordinate mode')","scope":"IonAwareImpedanceProtocol.__post_init__"}, +{"id":"guard-5855a95aa92195c0","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance.py","route_id":"route-66a78cb7e2ee8eba","origin_key":"guard:perovskite_sim.experiments.ion_aware_impedance.py:_state_coordinate_layout:5695dde02a55","evidence_level":"source_guard_not_numerical_validation","source_line":463,"reason":"IonAwareImpedanceCapabilityError('ion-aware impedance requires an active mobile-ion coordinate')","scope":"_state_coordinate_layout"}, +{"id":"guard-1001d3b239c841d1","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance.py","route_id":"route-66a78cb7e2ee8eba","origin_key":"guard:perovskite_sim.experiments.ion_aware_impedance.py:run_ion_aware_impedance:8571899dbb67","evidence_level":"source_guard_not_numerical_validation","source_line":896,"reason":"IonAwareImpedanceCapabilityError('frequency-domain ion-aware impedance requires a currently valid numerical DC certificate')","scope":"run_ion_aware_impedance"}, +{"id":"guard-07fc3b3d67939f8c","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance.py","route_id":"route-66a78cb7e2ee8eba","origin_key":"guard:perovskite_sim.experiments.ion_aware_impedance.py:run_ion_aware_impedance:d3d124ceaac8","evidence_level":"source_guard_not_numerical_validation","source_line":901,"reason":"IonAwareImpedanceCapabilityError('the requested strict physical lane requires certified contact thermodynamics')","scope":"run_ion_aware_impedance"}, +{"id":"guard-a8ade9b0c09df6a3","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance_grid.py","route_id":"route-3ca1dfa513a1e322","origin_key":"guard:perovskite_sim.experiments.ion_aware_impedance_grid.py:IonAwareImpedanceGridProtocol.__post_init__:0bbc12f1c4ee","evidence_level":"source_guard_not_numerical_validation","source_line":123,"reason":"ValueError('grid ladder requires at least three grids')","scope":"IonAwareImpedanceGridProtocol.__post_init__"}, +{"id":"guard-6dd0bd50e60466d1","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance_grid.py","route_id":"route-3ca1dfa513a1e322","origin_key":"guard:perovskite_sim.experiments.ion_aware_impedance_grid.py:IonAwareImpedanceGridProtocol.__post_init__:94c4021a8627","evidence_level":"source_guard_not_numerical_validation","source_line":194,"reason":"ValueError('unsupported ion-aware impedance grid protocol schema')","scope":"IonAwareImpedanceGridProtocol.__post_init__"}, +{"id":"guard-cc02eb440aad3e3e","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance_grid.py","route_id":"route-3ca1dfa513a1e322","origin_key":"guard:perovskite_sim.experiments.ion_aware_impedance_grid.py:build_ion_aware_impedance_grid_protocol:2c887112b48f","evidence_level":"source_guard_not_numerical_validation","source_line":286,"reason":"ValueError('grid ladder requires at least three DC states')","scope":"build_ion_aware_impedance_grid_protocol"}, +{"id":"guard-0a87c5264ea95063","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance_grid.py","route_id":"route-3ca1dfa513a1e322","origin_key":"guard:perovskite_sim.experiments.ion_aware_impedance_grid.py:ion_aware_impedance_grid_sha256:c72d8f96a12b","evidence_level":"source_guard_not_numerical_validation","source_line":76,"reason":"ValueError('ion-aware impedance grid hash requires a finite, strictly increasing 1-D grid with at least three nodes')","scope":"ion_aware_impedance_grid_sha256"}, +{"id":"guard-c5630bf5412de710","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance_lockin.py","route_id":"route-e427668ae85b61ce","origin_key":"guard:perovskite_sim.experiments.ion_aware_impedance_lockin.py:IonAwareTransientLockInProtocol.__post_init__:f342728ae051","evidence_level":"source_guard_not_numerical_validation","source_line":215,"reason":"ValueError('unsupported ion-aware transient lock-in schema')","scope":"IonAwareTransientLockInProtocol.__post_init__"}, +{"id":"guard-35c3dc8c79cfefd4","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance_lockin.py","route_id":"route-e427668ae85b61ce","origin_key":"guard:perovskite_sim.experiments.ion_aware_impedance_lockin.py:run_ion_aware_transient_lockin_crosscheck:4123bccb17ed","evidence_level":"source_guard_not_numerical_validation","source_line":833,"reason":"IonAwareTransientLockInCapabilityError('transient lock-in requires certified frequency-domain points')","scope":"run_ion_aware_transient_lockin_crosscheck"}, +{"id":"guard-57e913d62b72365d","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance_lockin.py","route_id":"route-e427668ae85b61ce","origin_key":"guard:perovskite_sim.experiments.ion_aware_impedance_lockin.py:run_ion_aware_transient_lockin_crosscheck:ab756a762718","evidence_level":"source_guard_not_numerical_validation","source_line":829,"reason":"IonAwareTransientLockInCapabilityError('transient lock-in requires a numerically certified DC state')","scope":"run_ion_aware_transient_lockin_crosscheck"}, +{"id":"guard-3c031773fe1768ab","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_structured_jacobian.py","route_id":"route-d50045e506093dad","origin_key":"guard:perovskite_sim.experiments.ion_aware_structured_jacobian.py:IonAwareStructuredJacobianProtocol.__post_init__:05cf084bf122","evidence_level":"source_guard_not_numerical_validation","source_line":278,"reason":"ValueError('unsupported interface two-sided linearization')","scope":"IonAwareStructuredJacobianProtocol.__post_init__"}, +{"id":"guard-f0ff0ea5627a735f","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_structured_jacobian.py","route_id":"route-d50045e506093dad","origin_key":"guard:perovskite_sim.experiments.ion_aware_structured_jacobian.py:IonAwareStructuredJacobianProtocol.__post_init__:0f8d5edd797c","evidence_level":"source_guard_not_numerical_validation","source_line":252,"reason":"ValueError('unsupported Poisson linearization')","scope":"IonAwareStructuredJacobianProtocol.__post_init__"}, +{"id":"guard-03cd8732d6676a5a","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_structured_jacobian.py","route_id":"route-d50045e506093dad","origin_key":"guard:perovskite_sim.experiments.ion_aware_structured_jacobian.py:IonAwareStructuredJacobianProtocol.__post_init__:809c57b42687","evidence_level":"source_guard_not_numerical_validation","source_line":288,"reason":"ValueError('unsupported structured Jacobian protocol schema')","scope":"IonAwareStructuredJacobianProtocol.__post_init__"}, +{"id":"guard-ca83f99f6131c1a9","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_structured_jacobian.py","route_id":"route-d50045e506093dad","origin_key":"guard:perovskite_sim.experiments.ion_aware_structured_jacobian.py:IonAwareStructuredJacobianProtocol.__post_init__:b066901c972f","evidence_level":"source_guard_not_numerical_validation","source_line":260,"reason":"ValueError('unsupported reaction linearization')","scope":"IonAwareStructuredJacobianProtocol.__post_init__"}, +{"id":"guard-03d94d9a975b38f3","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_structured_jacobian.py","route_id":"route-d50045e506093dad","origin_key":"guard:perovskite_sim.experiments.ion_aware_structured_jacobian.py:IonAwareStructuredJacobianProtocol.__post_init__:b2431355eb72","evidence_level":"source_guard_not_numerical_validation","source_line":268,"reason":"ValueError('unsupported interface projection linearization')","scope":"IonAwareStructuredJacobianProtocol.__post_init__"}, +{"id":"guard-1bc59fc2dd32bd14","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_structured_jacobian.py","route_id":"route-d50045e506093dad","origin_key":"guard:perovskite_sim.experiments.ion_aware_structured_jacobian.py:IonAwareStructuredJacobianProtocol.__post_init__:b2d92bd00bbf","evidence_level":"source_guard_not_numerical_validation","source_line":256,"reason":"ValueError('unsupported transport linearization')","scope":"IonAwareStructuredJacobianProtocol.__post_init__"}, +{"id":"guard-396c1d864f9d2155","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_structured_jacobian.py","route_id":"route-d50045e506093dad","origin_key":"guard:perovskite_sim.experiments.ion_aware_structured_jacobian.py:IonAwareStructuredJacobianProtocol.__post_init__:bebc76548f6d","evidence_level":"source_guard_not_numerical_validation","source_line":272,"reason":"ValueError('unsupported interface shared-occupancy linearization')","scope":"IonAwareStructuredJacobianProtocol.__post_init__"}, +{"id":"guard-528740e907424589","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_structured_jacobian.py","route_id":"route-d50045e506093dad","origin_key":"guard:perovskite_sim.experiments.ion_aware_structured_jacobian.py:IonAwareStructuredJacobianProtocol.__post_init__:c484aef05758","evidence_level":"source_guard_not_numerical_validation","source_line":264,"reason":"ValueError('unsupported interface clamp linearization')","scope":"IonAwareStructuredJacobianProtocol.__post_init__"}, +{"id":"guard-fc0e1441d48df1fe","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_structured_jacobian.py","route_id":"route-d50045e506093dad","origin_key":"guard:perovskite_sim.experiments.ion_aware_structured_jacobian.py:IonAwareStructuredJacobianProtocol.__post_init__:cad4561f14e4","evidence_level":"source_guard_not_numerical_validation","source_line":284,"reason":"ValueError('unsupported structured rate row scaling')","scope":"IonAwareStructuredJacobianProtocol.__post_init__"}, +{"id":"guard-dcf4bee10b10945e","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_structured_jacobian.py","route_id":"route-d50045e506093dad","origin_key":"guard:perovskite_sim.experiments.ion_aware_structured_jacobian.py:IonAwareStructuredJacobianProtocol.__post_init__:ccd4e5e91955","evidence_level":"source_guard_not_numerical_validation","source_line":286,"reason":"ValueError('unsupported structured column grouping')","scope":"IonAwareStructuredJacobianProtocol.__post_init__"}, +{"id":"guard-57fed9d8bb69022a","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_structured_jacobian.py","route_id":"route-d50045e506093dad","origin_key":"guard:perovskite_sim.experiments.ion_aware_structured_jacobian.py:IonAwareStructuredJacobianProtocol.__post_init__:f8ae81e4c868","evidence_level":"source_guard_not_numerical_validation","source_line":282,"reason":"ValueError('unsupported interface QSS linearization')","scope":"IonAwareStructuredJacobianProtocol.__post_init__"}, +{"id":"guard-9d6465417a3db35f","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/jv_sweep.py","route_id":"route-6110e3f0105bc8f1","origin_key":"guard:perovskite_sim.experiments.jv_sweep.py:JVBulkDefectEvidence.__post_init__:56ec7dc7df02","evidence_level":"source_guard_not_numerical_validation","source_line":290,"reason":"ValueError('unsupported spatial bulk-defect closure')","scope":"JVBulkDefectEvidence.__post_init__"}, +{"id":"guard-c6a2d8e1d2e7e9f9","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/jv_sweep.py","route_id":"route-6110e3f0105bc8f1","origin_key":"guard:perovskite_sim.experiments.jv_sweep.py:JVBulkDefectEvidence.__post_init__:ed94440f23f6","evidence_level":"source_guard_not_numerical_validation","source_line":230,"reason":"ValueError('unsupported J-V bulk-defect evidence model')","scope":"JVBulkDefectEvidence.__post_init__"}, +{"id":"guard-c5de2c821b148f63","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/jv_sweep.py","route_id":"route-6110e3f0105bc8f1","origin_key":"guard:perovskite_sim.experiments.jv_sweep.py:_custom_grid_parameters:5fc616ba3fb3","evidence_level":"source_guard_not_numerical_validation","source_line":1663,"reason":"ValueError('custom electrical grid requires both grid_interval_weights and grid_alphas')","scope":"_custom_grid_parameters"}, +{"id":"guard-a919da5187c8b874","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/jv_sweep.py","route_id":"route-6110e3f0105bc8f1","origin_key":"guard:perovskite_sim.experiments.jv_sweep.py:run_jv_sweep:91257b76ef38","evidence_level":"source_guard_not_numerical_validation","source_line":2066,"reason":"ProtocolMismatchError('an explicit research protocol requires a fixed J-V voltage window; v_max_max_attempts must be 1')","scope":"run_jv_sweep"}, +{"id":"guard-ccb9260638f4988c","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/metastable_preparation.py","route_id":"route-122501331d596e6c","origin_key":"guard:perovskite_sim.experiments.metastable_preparation.py:_build_model:6ef87f10bf8f","evidence_level":"source_guard_not_numerical_validation","source_line":185,"reason":"MetastablePreparationError(f'D7-E3 metastable preparation requires a uniform finite positive {name} across the prepared region')","scope":"_build_model"}, +{"id":"guard-1517c82d5f02df4c","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/metastable_preparation.py","route_id":"route-122501331d596e6c","origin_key":"guard:perovskite_sim.experiments.metastable_preparation.py:_measurement_material:cd03edd53ccd","evidence_level":"source_guard_not_numerical_validation","source_line":391,"reason":"MetastablePreparationError('measurement requires a protocol that freezes the configuration')","scope":"_measurement_material"}, +{"id":"guard-4b25790a11663bc8","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/metastable_transient.py","route_id":"route-ef61f462b2550dc9","origin_key":"guard:perovskite_sim.experiments.metastable_transient.py:run_metastable_configuration_transient:e72b12f05670","evidence_level":"source_guard_not_numerical_validation","source_line":290,"reason":"MetastableTransientError('a measurement temperature different from the preparation temperature requires the LEGACY tier, where band edges and DOS are not temperature scaled')","scope":"run_metastable_configuration_transient"}, +{"id":"guard-b45e4f930699dfda","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/mott_schottky.py","route_id":"route-f07791f6d464ccd9","origin_key":"guard:perovskite_sim.experiments.mott_schottky.py:run_mott_schottky:2490ec36466f","evidence_level":"source_guard_not_numerical_validation","source_line":334,"reason":"RuntimeError(f'Mott-Schottky requires finite positive capacitive susceptance; got Y={Y!r} at V_dc={V_dc:.6g} V')","scope":"run_mott_schottky"}, +{"id":"guard-b45b1d50c4208bc4","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_backend.py","route_id":"route-f9764d60842a3b96","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_backend.py:R1Backend.snapshot:d38c3f7d3e92","evidence_level":"source_guard_not_numerical_validation","source_line":90,"reason":"TypeError('pair backend requires an actual compensated state')","scope":"R1Backend.snapshot"}, +{"id":"guard-efe851fe6fff343d","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_baseline_electrostatics.py","route_id":"route-5c466e672224acb1","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_baseline_electrostatics.py:baseline_physical_electrostatic_rows:6dd8354ef59b","evidence_level":"source_guard_not_numerical_validation","source_line":46,"reason":"ValueError('baseline electrostatics requires a one-word positive-ion state')","scope":"baseline_physical_electrostatic_rows"}, +{"id":"guard-9781be7a9b59c42e","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_baseline_electrostatics.py","route_id":"route-5c466e672224acb1","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_baseline_electrostatics.py:baseline_physical_electrostatic_rows:91ba23ce09f6","evidence_level":"source_guard_not_numerical_validation","source_line":51,"reason":"ValueError('baseline electrostatics does not support additional bulk charge')","scope":"baseline_physical_electrostatic_rows"}, +{"id":"guard-89a9a660f05c5924","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_baseline_initial.py","route_id":"route-e2be6886e84bde25","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_baseline_initial.py:canonicalize_baseline_initial_dc:13aca590136d","evidence_level":"source_guard_not_numerical_validation","source_line":56,"reason":"ValueError('baseline initialization requires zero static sheet charge and trace jump')","scope":"canonicalize_baseline_initial_dc"}, +{"id":"guard-e1bbabc545c4b1eb","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_baseline_initial.py","route_id":"route-e2be6886e84bde25","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_baseline_initial.py:canonicalize_baseline_initial_dc:81deea5421e3","evidence_level":"source_guard_not_numerical_validation","source_line":47,"reason":"ValueError('baseline initialization requires the original single interface')","scope":"canonicalize_baseline_initial_dc"}, +{"id":"guard-cc70f2dacbc9e2d5","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_baseline_initial.py","route_id":"route-e2be6886e84bde25","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_baseline_initial.py:canonicalize_baseline_initial_dc:df54392c7755","evidence_level":"source_guard_not_numerical_validation","source_line":43,"reason":"ValueError('baseline initialization requires the original zero-voltage positive-ion model')","scope":"canonicalize_baseline_initial_dc"}, +{"id":"guard-d945411f4f4baecb","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_checkout.py","route_id":"route-d7705533e8467092","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_checkout.py:R1CheckoutContext.read_bytes:5663ca01ee4c","evidence_level":"source_guard_not_numerical_validation","source_line":131,"reason":"R1CheckoutError('R1 source read requires dependency classification: ' + relative)","scope":"R1CheckoutContext.read_bytes"}, +{"id":"guard-bab45158f07183f7","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_checkout.py","route_id":"route-d7705533e8467092","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_checkout.py:_git:08cfcfdeba38","evidence_level":"source_guard_not_numerical_validation","source_line":243,"reason":"R1CheckoutError('R1 research execution requires a Git checkout with its tracked study input; package-only and wheel installations are not formal execution contexts')","scope":"_git"}, +{"id":"guard-db50396c0536710b","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_checkout.py","route_id":"route-d7705533e8467092","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_checkout.py:_git:b18cd4223948","evidence_level":"source_guard_not_numerical_validation","source_line":233,"reason":"R1CheckoutError('R1 research execution requires Git and a source checkout')","scope":"_git"}, +{"id":"guard-84cfca6274c99afc","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_checkout.py","route_id":"route-d7705533e8467092","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_checkout.py:_install_controlled_context:3439918d8b34","evidence_level":"source_guard_not_numerical_validation","source_line":212,"reason":"R1CheckoutError('controlled startup requires a committed source context')","scope":"_install_controlled_context"}, +{"id":"guard-3e7b7ba1f9bec777","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_checkout.py","route_id":"route-d7705533e8467092","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_checkout.py:require_r1_checkout:c17eadecf7f4","evidence_level":"source_guard_not_numerical_validation","source_line":381,"reason":"R1CheckoutError('formal R1 execution requires an explicit caller source commit')","scope":"require_r1_checkout"}, +{"id":"guard-7f80ac2d01ba5f00","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_convergence.py","route_id":"route-755640e005444d99","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_convergence.py:_aligned:eaea3b6c2a2b","evidence_level":"source_guard_not_numerical_validation","source_line":225,"reason":"ValueError('this response quantity requires real values')","scope":"_aligned"}, +{"id":"guard-1018a90a805c4379","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_convergence.py","route_id":"route-755640e005444d99","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_convergence.py:_pair_contact_baseline.words:856407028fba","evidence_level":"source_guard_not_numerical_validation","source_line":405,"reason":"ValueError('pair DC baseline requires both high and low words: ' + name)","scope":"_pair_contact_baseline.words"}, +{"id":"guard-5facddb9dd5f9ee5","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_convergence.py","route_id":"route-755640e005444d99","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_convergence.py:_pair_contact_baseline:a304f6797417","evidence_level":"source_guard_not_numerical_validation","source_line":376,"reason":"ValueError('pair current/charge requires a matching pair step representation')","scope":"_pair_contact_baseline"}, +{"id":"guard-47a5e86d80400b53","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_convergence.py","route_id":"route-755640e005444d99","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_convergence.py:_step_current_charge_inputs:1a43255faee9","evidence_level":"source_guard_not_numerical_validation","source_line":343,"reason":"ValueError('integrated charge requires exactly one finest row at each output time')","scope":"_step_current_charge_inputs"}, +{"id":"guard-ae58fb6311cd8b98","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_convergence.py","route_id":"route-755640e005444d99","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_convergence.py:compare_amplitude_halving:54a2f28b386d","evidence_level":"source_guard_not_numerical_validation","source_line":496,"reason":"ValueError('amplitude comparison requires adjacent declared positive halving levels')","scope":"compare_amplitude_halving"}, +{"id":"guard-8ff03d16c8f7f9f4","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_convergence.py","route_id":"route-755640e005444d99","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_convergence.py:step_current_charge_responses:350405812fd6","evidence_level":"source_guard_not_numerical_validation","source_line":359,"reason":"ValueError('pair step current/charge requires the explicit pair DC baseline adapter')","scope":"step_current_charge_responses"}, +{"id":"guard-f9c1dc4a76f36d39","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_convergence.py","route_id":"route-755640e005444d99","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_convergence.py:validate_single_axis_comparison:2fb9e06b7006","evidence_level":"source_guard_not_numerical_validation","source_line":123,"reason":"ValueError('convergence requires identical explicit output times')","scope":"validate_single_axis_comparison"}, +{"id":"guard-7eefa53fc264557b","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_convergence.py","route_id":"route-755640e005444d99","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_convergence.py:validate_single_axis_comparison:ae8ad965de13","evidence_level":"source_guard_not_numerical_validation","source_line":142,"reason":"ValueError('convergence requires adjacent coarse-to-fine numerical levels')","scope":"validate_single_axis_comparison"}, +{"id":"guard-2c39ea94de2ca828","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_convergence.py","route_id":"route-755640e005444d99","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_convergence.py:validate_single_axis_comparison:ce577dc40002","evidence_level":"source_guard_not_numerical_validation","source_line":138,"reason":"ValueError('convergence requires exactly the declared axis to differ; self-comparison is not convergence')","scope":"validate_single_axis_comparison"}, +{"id":"guard-dd01d0f73ffa526a","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_convergence.py","route_id":"route-755640e005444d99","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_convergence.py:validate_single_axis_comparison:f65a64b7b98d","evidence_level":"source_guard_not_numerical_validation","source_line":117,"reason":"ValueError('comparison requires one declared numerical axis')","scope":"validate_single_axis_comparison"}, +{"id":"guard-076c3591c8edd50f","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_evidence.py","route_id":"route-a836659cba2bae29","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_evidence.py:_producer_evidence_revision:d069dee7f6bc","evidence_level":"source_guard_not_numerical_validation","source_line":191,"reason":"ValueError('anchored producer does not support the requested representation')","scope":"_producer_evidence_revision"}, +{"id":"guard-0c4ef3a229d7de0f","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_evidence.py","route_id":"route-a836659cba2bae29","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_evidence.py:_source_anchor:0e52c4274349","evidence_level":"source_guard_not_numerical_validation","source_line":461,"reason":"ValueError('revision-four acceptance requires a full caller source commit anchor')","scope":"_source_anchor"}, +{"id":"guard-603dae00f9021213","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_evidence.py","route_id":"route-a836659cba2bae29","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_evidence.py:_verification_anchor:bf6a7047f0ea","evidence_level":"source_guard_not_numerical_validation","source_line":79,"reason":"ValueError('acceptance requires an external manifest digest or ledger, ledger digest and run id')","scope":"_verification_anchor"}, +{"id":"guard-8cb1802abab0a979","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_evidence.py","route_id":"route-a836659cba2bae29","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_evidence.py:_verify_anchored_evidence:ecd9ee4f385f","evidence_level":"source_guard_not_numerical_validation","source_line":609,"reason":"ValueError('unsupported externally required evidence revision')","scope":"_verify_anchored_evidence"}, +{"id":"guard-74c84388224535d2","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_evidence.py","route_id":"route-a836659cba2bae29","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_evidence.py:_verify_controlled_evidence:98b3ce224e15","evidence_level":"source_guard_not_numerical_validation","source_line":281,"reason":"ValueError('formal acceptance requires controlled execution evidence')","scope":"_verify_controlled_evidence"}, +{"id":"guard-cfcdbb2e39088d8b","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_evidence.py","route_id":"route-a836659cba2bae29","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_evidence.py:verify_acceptance:a7a5fec28a09","evidence_level":"source_guard_not_numerical_validation","source_line":744,"reason":"ValueError('physical acceptance requires evidence revision 6 baseline or revision 7 pair')","scope":"verify_acceptance"}, +{"id":"guard-b94073c09742f83f","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_execution_validation.py","route_id":"route-256b9374ce35458e","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_execution_validation.py:verify_execution_parameters:02cf784fbd64","evidence_level":"source_guard_not_numerical_validation","source_line":78,"reason":"ValueError('current physical acceptance requires saved state-equation evidence')","scope":"verify_execution_parameters"}, +{"id":"guard-2358e73d7c458161","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_execution_validation.py","route_id":"route-256b9374ce35458e","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_execution_validation.py:verify_execution_parameters:a6f59654abf8","evidence_level":"source_guard_not_numerical_validation","source_line":68,"reason":"ValueError('diagnostic window requires the fixed N16 production pair short chain')","scope":"verify_execution_parameters"}, +{"id":"guard-a92b310e1ecb7c93","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_failure_reconstruction.py","route_id":"route-173ea680ef0651a4","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_failure_reconstruction.py:rebuild_failure_witness:4c9dd3948f94","evidence_level":"source_guard_not_numerical_validation","source_line":66,"reason":"ValueError('failed Newton witness requires the saved initial/accepted prefix')","scope":"rebuild_failure_witness"}, +{"id":"guard-d35a70e4f5dddf59","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_failure_registry.py","route_id":"route-a2e0063d98be8d87","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_failure_registry.py:merge_failure_registries:045a2171d4df","evidence_level":"source_guard_not_numerical_validation","source_line":49,"reason":"ValueError('supplemental R1 failure registry requires observations')","scope":"merge_failure_registries"}, +{"id":"guard-92e495dfdc3e5df7","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_failure_registry.py","route_id":"route-a2e0063d98be8d87","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_failure_registry.py:merge_failure_registries:89dd044d81db","evidence_level":"source_guard_not_numerical_validation","source_line":41,"reason":"ValueError('unsupported supplemental R1 failure registry')","scope":"merge_failure_registries"}, +{"id":"guard-dfffbb73fc94e3e2","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_failure_witness.py","route_id":"route-27c91396fc0bdb8a","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_failure_witness.py:newton_witness_available:6db181bba2b7","evidence_level":"source_guard_not_numerical_validation","source_line":25,"reason":"ValueError('failed Newton witness requires boolean terminal availability')","scope":"newton_witness_available"}, +{"id":"guard-2493c654a94435fe","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_global_reference.py","route_id":"route-eeccc2e764f79cbb","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_global_reference.py:_decode:179ee99aca29","evidence_level":"source_guard_not_numerical_validation","source_line":118,"reason":"ValueError('global reference requires zero static sheet charge and trace jump')","scope":"_decode"}, +{"id":"guard-85bf4ea60b116c2c","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_global_reference.py","route_id":"route-eeccc2e764f79cbb","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_global_reference.py:_decode:303a16049fe4","evidence_level":"source_guard_not_numerical_validation","source_line":153,"reason":"ValueError('global reference requires the original positive-ion model')","scope":"_decode"}, +{"id":"guard-f6e340bcc2f856b4","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_global_reference.py","route_id":"route-eeccc2e764f79cbb","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_global_reference.py:_decode:a7fce123912a","evidence_level":"source_guard_not_numerical_validation","source_line":94,"reason":"ValueError('global reference requires at least three nodes')","scope":"_decode"}, +{"id":"guard-8efdfa796c6f7240","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_global_reference.py","route_id":"route-eeccc2e764f79cbb","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_global_reference.py:_decode:ac616c3cdd8c","evidence_level":"source_guard_not_numerical_validation","source_line":90,"reason":"ValueError('global reference requires the original global-QF Poisson DTO')","scope":"_decode"}, +{"id":"guard-06db56a224bce194","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_global_reference.py","route_id":"route-eeccc2e764f79cbb","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_global_reference.py:baseline_eliminated_operator_diagnostics:99218a897b6a","evidence_level":"source_guard_not_numerical_validation","source_line":357,"reason":"TypeError('baseline reference adapter requires the actual binary64 state')","scope":"baseline_eliminated_operator_diagnostics"}, +{"id":"guard-b501ec8d8edd0f0a","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_global_reference.py","route_id":"route-eeccc2e764f79cbb","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_global_reference.py:evaluate_independent_ion_transport:7e7d6cad59ee","evidence_level":"source_guard_not_numerical_validation","source_line":251,"reason":"TypeError('independent transport requires isolated inputs and DD potential')","scope":"evaluate_independent_ion_transport"}, +{"id":"guard-3a694883653c7281","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_global_reference.py","route_id":"route-eeccc2e764f79cbb","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_global_reference.py:evaluate_independent_saved_high_ion_transport:a245d53438e1","evidence_level":"source_guard_not_numerical_validation","source_line":273,"reason":"ValueError('saved-high transport requires at least two nodes')","scope":"evaluate_independent_saved_high_ion_transport"}, +{"id":"guard-52e261f9ec019526","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_global_reference.py","route_id":"route-eeccc2e764f79cbb","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_global_reference.py:make_global_ion_reference_inputs:03c2640d8605","evidence_level":"source_guard_not_numerical_validation","source_line":200,"reason":"ValueError('global reference does not support additional charged bulk defects')","scope":"make_global_ion_reference_inputs"}, +{"id":"guard-f3a8dcf3152d95de","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_global_reference.py","route_id":"route-eeccc2e764f79cbb","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_global_reference.py:make_global_ion_reference_inputs:75d6b05d9ffe","evidence_level":"source_guard_not_numerical_validation","source_line":197,"reason":"ValueError('global reference requires Maxwell-Boltzmann pinned contacts')","scope":"make_global_ion_reference_inputs"}, +{"id":"guard-e20a774f1cf9c261","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_global_reference.py","route_id":"route-eeccc2e764f79cbb","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_global_reference.py:solve_global_ion_reference:f0fe720b1531","evidence_level":"source_guard_not_numerical_validation","source_line":335,"reason":"TypeError('global reference solve requires GlobalIonReferenceInputs')","scope":"solve_global_ion_reference"}, +{"id":"guard-5d2a1d9c7b76eeaa","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_history.py","route_id":"route-957776860bca25b0","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_history.py:historical_verifier_command:c7cd71c3e5ff","evidence_level":"source_guard_not_numerical_validation","source_line":54,"reason":"ValueError('unsupported historical evidence kind')","scope":"historical_verifier_command"}, +{"id":"guard-389b53e00a39d347","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_independent_physics.py","route_id":"route-6e34c8d8fbbe3985","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_independent_physics.py:_legacy_independent_physics_row:4c1b6007ad20","evidence_level":"source_guard_not_numerical_validation","source_line":255,"reason":"ValueError('independent physics requires a positive dt exactly for finite steps')","scope":"_legacy_independent_physics_row"}, +{"id":"guard-02b52db03a364979","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_independent_regular.py","route_id":"route-be90e1983fe18133","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_independent_regular.py:independent_regular_current:4892d1799ac4","evidence_level":"source_guard_not_numerical_validation","source_line":120,"reason":"ValueError('independent regular R1 assembly requires the positive-ion model')","scope":"independent_regular_current"}, +{"id":"guard-e2bcac48f0af9a6d","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift.py","route_id":"route-ceb58bb22e2c813d","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift.py:_electrostatic_sources:26bfa506126f","evidence_level":"source_guard_not_numerical_validation","source_line":138,"reason":"ValueError('physical electrostatic reference requires complete material and interface geometry')","scope":"_electrostatic_sources"}, +{"id":"guard-dad3b4b5559b9d07","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift.py","route_id":"route-ceb58bb22e2c813d","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift.py:_electrostatic_sources:32469a0e7dad","evidence_level":"source_guard_not_numerical_validation","source_line":100,"reason":"ValueError('physical electrostatic reference requires adjacent interior interface reservoirs')","scope":"_electrostatic_sources"}, +{"id":"guard-6730d3d964b23560","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift.py","route_id":"route-ceb58bb22e2c813d","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift.py:_electrostatic_sources:7b516c05a807","evidence_level":"source_guard_not_numerical_validation","source_line":104,"reason":"ValueError('physical electrostatic reference does not support additional charged bulk defects')","scope":"_electrostatic_sources"}, +{"id":"guard-294c20a50bbd2edb","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift.py","route_id":"route-ceb58bb22e2c813d","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift.py:_require_supported_model:64436320894f","evidence_level":"source_guard_not_numerical_validation","source_line":577,"reason":"ValueError('input lift requires pinned contacts, unmodified bulk recombination densities and no radiative reabsorption')","scope":"_require_supported_model"}, +{"id":"guard-1012aa14e446586e","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift.py","route_id":"route-ceb58bb22e2c813d","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift.py:_require_supported_model:b4d8f89512c2","evidence_level":"source_guard_not_numerical_validation","source_line":574,"reason":"ValueError('input lift does not support additional charged bulk-defect source laws')","scope":"_require_supported_model"}, +{"id":"guard-f4c8dac40c585de9","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift.py","route_id":"route-ceb58bb22e2c813d","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift.py:from_accepted_state:7de24d332189","evidence_level":"source_guard_not_numerical_validation","source_line":685,"reason":"TypeError('accepted input lift requires an explicit baseline or input-lift system')","scope":"from_accepted_state"}, +{"id":"guard-3ec7d360fa5a4fcc","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift.py","route_id":"route-ceb58bb22e2c813d","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift.py:from_accepted_state:c6ed93ac759c","evidence_level":"source_guard_not_numerical_validation","source_line":687,"reason":"TypeError('accepted input lift requires a baseline or InputLiftState, not a pair state')","scope":"from_accepted_state"}, +{"id":"guard-ef6850a254c7eacf","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift.py","route_id":"route-ceb58bb22e2c813d","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift.py:from_saved_step:f04c43824a11","evidence_level":"source_guard_not_numerical_validation","source_line":589,"reason":"ValueError('input lift requires the exact zero-coordinate restored step reference')","scope":"from_saved_step"}, +{"id":"guard-bbf102505bf12421","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift_codec.py","route_id":"route-67f4fa91e8d361c2","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_codec.py:_model_json:e6883f9b1509","evidence_level":"source_guard_not_numerical_validation","source_line":174,"reason":"InputLiftCheckpointError('unsupported physical coefficient type: ' + type(value).__name__)","scope":"_model_json"}, +{"id":"guard-eb483f2df71d185a","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift_continuous.py","route_id":"route-94c08e51c92c8c08","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_continuous.py:advance_step:2495983ad6f4","evidence_level":"source_guard_not_numerical_validation","source_line":99,"reason":"TypeError('continuation requires an explicit input-lift system')","scope":"advance_step"}, +{"id":"guard-5a3c38780a16fca1","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift_continuous.py","route_id":"route-94c08e51c92c8c08","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_continuous.py:validate_schedule:3923fae51ae7","evidence_level":"source_guard_not_numerical_validation","source_line":35,"reason":"ValueError('continuation requires at least one prescribed step')","scope":"validate_schedule"}, +{"id":"guard-839853133c273415","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift_reference.py","route_id":"route-7e98c4ac49886b90","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_reference.py:_decode:048a2eeb9ed4","evidence_level":"source_guard_not_numerical_validation","source_line":160,"reason":"ValueError('reference requires the frozen positive-ion steric model and flux switch')","scope":"_decode"}, +{"id":"guard-48ff15e6da7e5cf9","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift_reference.py","route_id":"route-7e98c4ac49886b90","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_reference.py:_decode:736e87582976","evidence_level":"source_guard_not_numerical_validation","source_line":129,"reason":"ValueError('reference requires zero static sheet charge and zero prescribed trace jump')","scope":"_decode"}, +{"id":"guard-e02804f95fd2d1ec","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift_reference.py","route_id":"route-7e98c4ac49886b90","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_reference.py:_decode:df8a3c63bcb4","evidence_level":"source_guard_not_numerical_validation","source_line":109,"reason":"ValueError('reference requires at least three potential nodes')","scope":"_decode"}, +{"id":"guard-44c55d4afa324514","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift_reference.py","route_id":"route-7e98c4ac49886b90","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_reference.py:make_inputs:0c2d652f20fe","evidence_level":"source_guard_not_numerical_validation","source_line":202,"reason":"TypeError('reference requires a frozen DD coordinate origin')","scope":"make_inputs"}, +{"id":"guard-8d5ddc35d79b7a58","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift_reference.py","route_id":"route-7e98c4ac49886b90","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_reference.py:make_inputs:1d401652ad7a","evidence_level":"source_guard_not_numerical_validation","source_line":219,"reason":"ValueError('reference does not support additional charged bulk defects')","scope":"make_inputs"}, +{"id":"guard-ccd60982e1a3a627","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift_reference.py","route_id":"route-7e98c4ac49886b90","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_reference.py:make_inputs:736e87582976","evidence_level":"source_guard_not_numerical_validation","source_line":229,"reason":"ValueError('reference requires zero static sheet charge and zero prescribed trace jump')","scope":"make_inputs"}, +{"id":"guard-364a90f9c8cec02f","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift_reference.py","route_id":"route-7e98c4ac49886b90","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_reference.py:make_inputs:8fd2298d0336","evidence_level":"source_guard_not_numerical_validation","source_line":216,"reason":"ValueError('reference requires the supported Maxwell-Boltzmann pinned-contact model')","scope":"make_inputs"}, +{"id":"guard-05d7b4f06b4b944e","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift_reference.py","route_id":"route-7e98c4ac49886b90","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_reference.py:solve_rebased_ion_reference:9582338b1930","evidence_level":"source_guard_not_numerical_validation","source_line":286,"reason":"TypeError('reference solve requires RebasedIonReferenceInputs')","scope":"solve_rebased_ion_reference"}, +{"id":"guard-f9fc19d4dc062293","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_local_carrier.py","route_id":"route-fe7edc51ffa8a34f","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_local_carrier.py:assemble_r1_carrier_source:c39a91891819","evidence_level":"source_guard_not_numerical_validation","source_line":269,"reason":"TypeError(\"R1 source requires the same call's stable aggregate\")","scope":"assemble_r1_carrier_source"}, +{"id":"guard-dcaa61f7c0c68f85","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_local_carrier.py","route_id":"route-fe7edc51ffa8a34f","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_local_carrier.py:evaluate_local_carrier_inputs:718d6bc1f388","evidence_level":"source_guard_not_numerical_validation","source_line":170,"reason":"TypeError('local carrier assembly requires explicit LocalCarrierInputs')","scope":"evaluate_local_carrier_inputs"}, +{"id":"guard-daffe19242e1ad0b","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_local_carrier.py","route_id":"route-fe7edc51ffa8a34f","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_local_carrier.py:fine_local_carrier_inputs:f7dd70da6709","evidence_level":"source_guard_not_numerical_validation","source_line":137,"reason":"ValueError('complete local carrier input requires its actual resolved trace density')","scope":"fine_local_carrier_inputs"}, +{"id":"guard-c5671731189cc1a5","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_local_carrier.py","route_id":"route-fe7edc51ffa8a34f","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_local_carrier.py:without_local_exchange:eaefdf07f16f","evidence_level":"source_guard_not_numerical_validation","source_line":263,"reason":"TypeError('R1 source requires an explicit stable interface aggregate')","scope":"without_local_exchange"}, +{"id":"guard-2a16fc07540c0f76","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_pair_codec.py","route_id":"route-883887b3dfdfe620","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_pair_codec.py:_structural_record:b510151da6d4","evidence_level":"source_guard_not_numerical_validation","source_line":101,"reason":"R1StateError('production pair requires its explicit V2 schema and representation')","scope":"_structural_record"}, +{"id":"guard-1d0d123ae81d6795","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_pair_codec.py","route_id":"route-883887b3dfdfe620","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_pair_codec.py:decode_prepared:649b5ba82220","evidence_level":"source_guard_not_numerical_validation","source_line":138,"reason":"R1StateError('unsupported requested preparation representation')","scope":"decode_prepared"}, +{"id":"guard-06b4bc26ddb3493e","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_pair_codec.py","route_id":"route-883887b3dfdfe620","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_pair_codec.py:finalize_record:954ca96bd9df","evidence_level":"source_guard_not_numerical_validation","source_line":213,"reason":"ValueError('unsupported production pair result kind')","scope":"finalize_record"}, +{"id":"guard-6286b296e32cddb5","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_pair_codec.py","route_id":"route-883887b3dfdfe620","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_pair_codec.py:state_sidecar_payload:a910883221c6","evidence_level":"source_guard_not_numerical_validation","source_line":350,"reason":"R1StateError('production sidecar requires actual eliminated precision records')","scope":"state_sidecar_payload"}, +{"id":"guard-f2d4e03b2ed2d631","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_pair_response.py","route_id":"route-5b3fb4c2e7faa4fd","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_pair_response.py:require_state:c885da145c2e","evidence_level":"source_guard_not_numerical_validation","source_line":46,"reason":"ValueError('pair response requires a complete compensated state and explicit matching backend')","scope":"require_state"}, +{"id":"guard-0cf79261d45e94c8","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_pair_spatial.py","route_id":"route-b7d154025070f63e","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_pair_spatial.py:spatial_responses:4b62f4ac7201","evidence_level":"source_guard_not_numerical_validation","source_line":195,"reason":"ValueError('pair response requires exactly one correctly phased finest output row')","scope":"spatial_responses"}, +{"id":"guard-77b95cb2f01552d0","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_precision.py","route_id":"route-f05686ba301ff5b5","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.py:CompensatedR1System.from_baseline:59e15714ccd6","evidence_level":"source_guard_not_numerical_validation","source_line":342,"reason":"ValueError('V7 prototype requires the frozen zero-static-sheet R1 model')","scope":"CompensatedR1System.from_baseline"}, +{"id":"guard-683b5c2917069d8f","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_precision.py","route_id":"route-f05686ba301ff5b5","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.py:precision_context:550b52e9d25b","evidence_level":"source_guard_not_numerical_validation","source_line":1078,"reason":"ValueError('precision context requires an unnested compensated run')","scope":"precision_context"}, +{"id":"guard-c9ded1a5490c94ba","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_precision.py","route_id":"route-f05686ba301ff5b5","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.py:solve_independent_poisson:dcc9fdbac1c8","evidence_level":"source_guard_not_numerical_validation","source_line":264,"reason":"TypeError('independent Poisson requires an isolated input bundle')","scope":"solve_independent_poisson"}, +{"id":"guard-c7114e0b85ccf613","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_precision_initial.py","route_id":"route-3b69a8e5eba379fd","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_precision_initial.py:initialize_fine_reference:8f9590f308b6","evidence_level":"source_guard_not_numerical_validation","source_line":73,"reason":"ValueError('fine initialization requires the frozen 300 K material')","scope":"initialize_fine_reference"}, +{"id":"guard-93cb4ac8bcdedc5b","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_precision_physics.py","route_id":"route-758f0230399db64d","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_precision_physics.py:_fine_inputs:c07b5e2ffd43","evidence_level":"source_guard_not_numerical_validation","source_line":41,"reason":"ValueError('independent fine assembly requires persistent state arrays')","scope":"_fine_inputs"}, +{"id":"guard-d9698b4013b99da2","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_precision_physics.py","route_id":"route-758f0230399db64d","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_precision_physics.py:_independent_physics_row_dd:44104a19e389","evidence_level":"source_guard_not_numerical_validation","source_line":74,"reason":"ValueError('independent R1 assembly requires the declared positive-ion model')","scope":"_independent_physics_row_dd"}, +{"id":"guard-2bfcf9948f476ad9","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_precision_physics.py","route_id":"route-758f0230399db64d","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_precision_physics.py:_independent_physics_row_dd:4c1b6007ad20","evidence_level":"source_guard_not_numerical_validation","source_line":72,"reason":"ValueError('independent physics requires a positive dt exactly for finite steps')","scope":"_independent_physics_row_dd"}, +{"id":"guard-4eabc9af5987e2bd","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_protocol.py","route_id":"route-5574a77d963b18e7","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_protocol.py:_trap_storage_check:69d92eae94e3","evidence_level":"source_guard_not_numerical_validation","source_line":163,"reason":"ValueError('R1 trap-storage check requires a finite positive time step')","scope":"_trap_storage_check"}, +{"id":"guard-a68b89fb8d52c50e","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_protocol.py","route_id":"route-5574a77d963b18e7","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_protocol.py:_trap_storage_summary:3773326a9bfa","evidence_level":"source_guard_not_numerical_validation","source_line":230,"reason":"ValueError('R1 trap-storage certificate requires finite-step evidence')","scope":"_trap_storage_summary"}, +{"id":"guard-7347721dc79df609","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_protocol.py","route_id":"route-5574a77d963b18e7","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_protocol.py:run_r1_step:0aad26cc03b2","evidence_level":"source_guard_not_numerical_validation","source_line":526,"reason":"ValueError('R1 step requires 0 < abs(amplitude_V) < .02; use zero-excitation check for zero')","scope":"run_r1_step"}, +{"id":"guard-2e2451832aef1312","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_protocol.py","route_id":"route-5574a77d963b18e7","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_protocol.py:run_r1_step:f8d1ced5b8ba","evidence_level":"source_guard_not_numerical_validation","source_line":531,"reason":"ValueError('R1 requires independent nested time-step comparison')","scope":"run_r1_step"}, +{"id":"guard-5f338f5096b594fd","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_qualification.py","route_id":"route-0ecc7ee40a381355","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_qualification.py:_amplitude_pair:042e49238cd6","evidence_level":"source_guard_not_numerical_validation","source_line":152,"reason":"ValueError('device qualification requires an externally declared amplitude ladder')","scope":"_amplitude_pair"}, +{"id":"guard-f06005e053af14a8","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_qualification.py","route_id":"route-0ecc7ee40a381355","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_qualification.py:_bound_window:21ab1790595a","evidence_level":"source_guard_not_numerical_validation","source_line":139,"reason":"ValueError('device qualification requires an externally bound window specification')","scope":"_bound_window"}, +{"id":"guard-9b2fa6e1fb0b5d72","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_qualification.py","route_id":"route-0ecc7ee40a381355","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_qualification.py:_measurement_consistency:b808694a9f8d","evidence_level":"source_guard_not_numerical_validation","source_line":302,"reason":"ValueError('measured numerical evidence requires two aligned errors and explicit axis verdicts')","scope":"_measurement_consistency"}, +{"id":"guard-2a610dde04e98297","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_qualification.py","route_id":"route-0ecc7ee40a381355","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_qualification.py:_plain:7bd3272736cf","evidence_level":"source_guard_not_numerical_validation","source_line":71,"reason":"ValueError('unsupported qualification evidence value')","scope":"_plain"}, +{"id":"guard-391ffc5f4f1c6034","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_qualification.py","route_id":"route-0ecc7ee40a381355","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_qualification.py:_scope:551ae14aafd2","evidence_level":"source_guard_not_numerical_validation","source_line":92,"reason":"ValueError('qualification scope requires a finite operating voltage')","scope":"_scope"}, +{"id":"guard-8c2a1b950d21e51b","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_qualification.py","route_id":"route-0ecc7ee40a381355","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_qualification.py:_scope:d04089e5aac4","evidence_level":"source_guard_not_numerical_validation","source_line":88,"reason":"ValueError('qualification scope requires an A-D control')","scope":"_scope"}, +{"id":"guard-5499cd3d6c16dfc1","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_qualification.py","route_id":"route-0ecc7ee40a381355","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_qualification.py:_scope:e4602f6fc653","evidence_level":"source_guard_not_numerical_validation","source_line":90,"reason":"ValueError('qualification scope requires a positive grid size')","scope":"_scope"}, +{"id":"guard-eb697d79338c9f4d","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_qualification.py","route_id":"route-0ecc7ee40a381355","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_qualification.py:assess_current_error_budget:b51b03325e03","evidence_level":"source_guard_not_numerical_validation","source_line":201,"reason":"ValueError('budget assessment requires an explicit response and evidence record')","scope":"assess_current_error_budget"}, +{"id":"guard-e5fca4d86eaee37b","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_qualification.py","route_id":"route-0ecc7ee40a381355","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_qualification.py:assess_double_domain_prerequisites:4a3d2ededd1a","evidence_level":"source_guard_not_numerical_validation","source_line":597,"reason":"ValueError('prerequisite requires an explicit boolean frequency mask')","scope":"assess_double_domain_prerequisites"}, +{"id":"guard-ac4f920cfff9d40c","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_qualification.py","route_id":"route-0ecc7ee40a381355","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_qualification.py:assess_frequency_coverage:ba161ec529d2","evidence_level":"source_guard_not_numerical_validation","source_line":502,"reason":"ValueError('turnover qualification requires evidence, not a pass flag')","scope":"assess_frequency_coverage"}, +{"id":"guard-b3a416d19fcef14c","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_qualification.py","route_id":"route-0ecc7ee40a381355","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_qualification.py:assess_transient_linearity:1677539f43e5","evidence_level":"source_guard_not_numerical_validation","source_line":375,"reason":"ValueError('linearity requires a complete increasing requested time axis')","scope":"assess_transient_linearity"}, +{"id":"guard-7ca778a7c45ff19a","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_qualification.py","route_id":"route-0ecc7ee40a381355","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_qualification.py:assess_transient_linearity:8b0fb5a6e5e7","evidence_level":"source_guard_not_numerical_validation","source_line":385,"reason":"ValueError('linearity requires adjacent declared amplitude levels')","scope":"assess_transient_linearity"}, +{"id":"guard-937c85bcbc01b0c4","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_qualification.py","route_id":"route-0ecc7ee40a381355","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_qualification.py:assess_transient_linearity:93058be78a73","evidence_level":"source_guard_not_numerical_validation","source_line":378,"reason":"ValueError('linearity requires controlled step records')","scope":"assess_transient_linearity"}, +{"id":"guard-280fd73ed8c3163a","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_qualification.py","route_id":"route-0ecc7ee40a381355","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_qualification.py:device_response_gate:3e73125cd6b0","evidence_level":"source_guard_not_numerical_validation","source_line":645,"reason":"ValueError('device stage requires a complete reconstructed response')","scope":"device_response_gate"}, +{"id":"guard-a091b7824d880034","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_qualification.py","route_id":"route-0ecc7ee40a381355","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_qualification.py:device_response_gate:9436db58892a","evidence_level":"source_guard_not_numerical_validation","source_line":667,"reason":"ValueError('device stage requires explicit increasing finite frequency axes')","scope":"device_response_gate"}, +{"id":"guard-561bf6289f814bb9","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_qualification.py","route_id":"route-0ecc7ee40a381355","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_qualification.py:device_response_gate:a9422ec9330b","evidence_level":"source_guard_not_numerical_validation","source_line":674,"reason":"ValueError('device stage requires explicit aligned boolean qualification masks')","scope":"device_response_gate"}, +{"id":"guard-1d6edc149883a57f","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_qualification.py","route_id":"route-0ecc7ee40a381355","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_qualification.py:device_response_gate:b4afed3422a8","evidence_level":"source_guard_not_numerical_validation","source_line":653,"reason":"ValueError('device stage requires a bound reconstruction application')","scope":"device_response_gate"}, +{"id":"guard-4591be2d9fbe953a","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_qualification.py","route_id":"route-0ecc7ee40a381355","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_qualification.py:device_response_gate:f3981fc06658","evidence_level":"source_guard_not_numerical_validation","source_line":648,"reason":"ValueError('device stage requires a qualification evidence report')","scope":"device_response_gate"}, +{"id":"guard-239f3fe0d7fdadb8","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_qualification.py","route_id":"route-0ecc7ee40a381355","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_qualification.py:qualification_scope:d3416d2854d2","evidence_level":"source_guard_not_numerical_validation","source_line":111,"reason":"ValueError('qualification scope requires a source-bound record')","scope":"qualification_scope"}, +{"id":"guard-fb4bd848639b816a","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_qualification_workflow.py","route_id":"route-5360935065a2e2ec","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_qualification_workflow.py:analysis_request:42635265c633","evidence_level":"source_guard_not_numerical_validation","source_line":68,"reason":"ValueError('double-domain analysis requires a frozen increasing frequency intersection')","scope":"analysis_request"}, +{"id":"guard-8eab003571637694","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_qualification_workflow.py","route_id":"route-5360935065a2e2ec","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_qualification_workflow.py:analysis_request:6856d1d0dfbe","evidence_level":"source_guard_not_numerical_validation","source_line":60,"reason":"ValueError('analysis requires explicit derived cases only')","scope":"analysis_request"}, +{"id":"guard-0309c87286496fce","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_qualification_workflow.py","route_id":"route-5360935065a2e2ec","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_qualification_workflow.py:require_digest:87cb5ad16e77","evidence_level":"source_guard_not_numerical_validation","source_line":42,"reason":"ValueError(label + ' requires an external SHA256')","scope":"require_digest"}, +{"id":"guard-6d79f9bfb7756315","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_qualification_workflow.py","route_id":"route-5360935065a2e2ec","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_qualification_workflow.py:verify_collection_receipt:44725d4552b9","evidence_level":"source_guard_not_numerical_validation","source_line":122,"reason":"ValueError('post-execution analysis requires a complete collection verification receipt')","scope":"verify_collection_receipt"}, +{"id":"guard-489394ffc1244e0f","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_response.py","route_id":"route-16e41e21eea34bf8","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_response.py:_response_backend:f9dab47c1580","evidence_level":"source_guard_not_numerical_validation","source_line":142,"reason":"ValueError('pair response requires an explicit matching backend; silent precision downgrade is forbidden')","scope":"_response_backend"}, +{"id":"guard-b5f69bdffd0b41f5","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_response.py","route_id":"route-16e41e21eea34bf8","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_response.py:assess_small_signal_response:8a62b0f82336","evidence_level":"source_guard_not_numerical_validation","source_line":641,"reason":"ValueError('unsupported small-signal response schema')","scope":"assess_small_signal_response"}, +{"id":"guard-ffdb5f5a993c37a2","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_response.py","route_id":"route-16e41e21eea34bf8","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_response.py:assess_small_signal_response:ad8f8894de05","evidence_level":"source_guard_not_numerical_validation","source_line":654,"reason":"ValueError('AC requires both physical contacts')","scope":"assess_small_signal_response"}, +{"id":"guard-d46a6215b22e8464","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_response.py","route_id":"route-16e41e21eea34bf8","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_response.py:compare_transient_tail:4fb40b516649","evidence_level":"source_guard_not_numerical_validation","source_line":1020,"reason":"ValueError('pair transient/DC tail requires an explicit matching backend')","scope":"compare_transient_tail"}, +{"id":"guard-e8122d05fded2371","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_response.py","route_id":"route-16e41e21eea34bf8","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_response.py:compare_transient_tail:62676384d728","evidence_level":"source_guard_not_numerical_validation","source_line":1017,"reason":"ValueError('tail comparison requires certified same-model DC')","scope":"compare_transient_tail"}, +{"id":"guard-c60563bcd84bcedd","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_response.py","route_id":"route-16e41e21eea34bf8","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_response.py:small_signal_response:3ca31014d1d8","evidence_level":"source_guard_not_numerical_validation","source_line":748,"reason":"ValueError('small signal requires a certified controlled DC result')","scope":"small_signal_response"}, +{"id":"guard-dad3535edf11e540","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_response.py","route_id":"route-16e41e21eea34bf8","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_response.py:verify_response_content:6f869a6fd12d","evidence_level":"source_guard_not_numerical_validation","source_line":994,"reason":"ValueError('unsupported response content schema')","scope":"verify_response_content"}, +{"id":"guard-424debbcfadcd4d0","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_result_validation.py","route_id":"route-032b079dc83b0429","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_result_validation.py:_legacy_contact_closure_scope:ab4d772e60ad","evidence_level":"source_guard_not_numerical_validation","source_line":75,"reason":"ValueError('unsupported recorded R1 current-metric implementation')","scope":"_legacy_contact_closure_scope"}, +{"id":"guard-8ce32db2d56f4abc","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_result_validation.py","route_id":"route-032b079dc83b0429","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_result_validation.py:_legacy_contact_closure_scope:e4a720ca291b","evidence_level":"source_guard_not_numerical_validation","source_line":55,"reason":"ValueError('legacy current metric requires its recorded producer source')","scope":"_legacy_contact_closure_scope"}, +{"id":"guard-6074b0164d5ce2f9","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_spatial.py","route_id":"route-5db8498b026fe96d","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_spatial.py:ConservativeIonProfile.__post_init__:c807af34caa5","evidence_level":"source_guard_not_numerical_validation","source_line":80,"reason":"ValueError('ion profile requires strictly increasing physical faces')","scope":"ConservativeIonProfile.__post_init__"}, +{"id":"guard-2ab8d5374fa2e99f","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_spatial.py","route_id":"route-5db8498b026fe96d","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_spatial.py:_geometry:d46cbde614b0","evidence_level":"source_guard_not_numerical_validation","source_line":170,"reason":"ValueError('R1 SG adapter requires electrical Maxwell-Boltzmann layers')","scope":"_geometry"}, +{"id":"guard-637dd82e914eece8","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_spatial.py","route_id":"route-5db8498b026fe96d","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_spatial.py:_record:a56711afe4fd","evidence_level":"source_guard_not_numerical_validation","source_line":151,"reason":"ValueError('spatial adapter requires an R1 common-state record')","scope":"_record"}, +{"id":"guard-5583025afecad08e","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_spatial.py","route_id":"route-5db8498b026fe96d","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_spatial.py:compare_convergence_responses:92cb6db45976","evidence_level":"source_guard_not_numerical_validation","source_line":390,"reason":"ValueError('convergence requires both electrical response quantities')","scope":"compare_convergence_responses"}, +{"id":"guard-8b19b0da5e2734f8","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_spatial.py","route_id":"route-5db8498b026fe96d","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_spatial.py:compare_spatial_responses:0d67854b1a89","evidence_level":"source_guard_not_numerical_validation","source_line":352,"reason":"TypeError('comparison requires R1SpatialResponses')","scope":"compare_spatial_responses"}, +{"id":"guard-1cbea34df209c25b","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_spatial.py","route_id":"route-5db8498b026fe96d","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_spatial.py:compare_spatial_responses:2587730f48f9","evidence_level":"source_guard_not_numerical_validation","source_line":363,"reason":"ValueError('spatial comparison requires both DC interface-side potentials')","scope":"compare_spatial_responses"}, +{"id":"guard-d122a737819c23e4","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_spatial.py","route_id":"route-5db8498b026fe96d","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_spatial.py:compare_spatial_responses:88347b5473ab","evidence_level":"source_guard_not_numerical_validation","source_line":361,"reason":"ValueError('spatial comparison requires the complete response quantity inventory')","scope":"compare_spatial_responses"}, +{"id":"guard-8ec8b07d74bea9c2","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_spatial.py","route_id":"route-5db8498b026fe96d","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_spatial.py:spatial_responses_from_step:0cd4bb4dd157","evidence_level":"source_guard_not_numerical_validation","source_line":307,"reason":"ValueError('each output time requires exactly one finest accepted snapshot')","scope":"spatial_responses_from_step"}, +{"id":"guard-ef11bc6a74b9dfef","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_standard.py","route_id":"route-d5586ec2f94adf38","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_standard.py:_checked_execution_contract:e4fa6bfacde6","evidence_level":"source_guard_not_numerical_validation","source_line":108,"reason":"R1CheckoutError('unsupported R1 execution standard')","scope":"_checked_execution_contract"}, +{"id":"guard-a0117a6367c35404","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_standard.py","route_id":"route-d5586ec2f94adf38","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_standard.py:load_physical_standard:e777cdcabf52","evidence_level":"source_guard_not_numerical_validation","source_line":29,"reason":"R1CheckoutError('unsupported R1 physical standard')","scope":"load_physical_standard"}, +{"id":"guard-f9706e2468f75f11","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_state.py","route_id":"route-3437e4b3d969b4d5","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_state.py:_recomputed_dc_certificate:0ecda5e16846","evidence_level":"source_guard_not_numerical_validation","source_line":359,"reason":"R1StateError('common-state DC contains unsupported ion or bulk-trap blocks')","scope":"_recomputed_dc_certificate"}, +{"id":"guard-0eeb1412cdac0359","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_state.py","route_id":"route-3437e4b3d969b4d5","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_state.py:restore_common_state:b0d93b2bb11e","evidence_level":"source_guard_not_numerical_validation","source_line":503,"reason":"R1StateError('formal common-state import requires an external preparation digest')","scope":"restore_common_state"}, +{"id":"guard-050eca87b81f11fc","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_step.py","route_id":"route-fe9f2c86a6fb4b9f","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_step.py:build_initial_step:fd5bbbc8e0a8","evidence_level":"source_guard_not_numerical_validation","source_line":434,"reason":"ValueError('R1-1 initial step requires physical control volumes')","scope":"build_initial_step"}, +{"id":"guard-49c7fe279ae5fd2b","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_study_request.py","route_id":"route-d0a73f45c47411ab","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_study_request.py:build_execution_plan:a4dcde4a09a4","evidence_level":"source_guard_not_numerical_validation","source_line":36,"reason":"ValueError('every planned case requires its exact request and scope')","scope":"build_execution_plan"}, +{"id":"guard-6c8b6b99dc7fd434","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_study_request.py","route_id":"route-d0a73f45c47411ab","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_study_request.py:load_execution_plan:ab49435110ab","evidence_level":"source_guard_not_numerical_validation","source_line":65,"reason":"ValueError('unsupported study execution plan')","scope":"load_execution_plan"}, +{"id":"guard-63b51b0cf8efd87a","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_study_request.py","route_id":"route-d0a73f45c47411ab","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_study_request.py:load_qualification_inputs:cc4da3268e8c","evidence_level":"source_guard_not_numerical_validation","source_line":132,"reason":"ValueError('qualification digest requires an external input file')","scope":"load_qualification_inputs"}, +{"id":"guard-06ee61f13d9b3dd4","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_study_response.py","route_id":"route-dd89a27c87e2e3b2","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_study_response.py:reconstruct_study_response:762d1363e0e3","evidence_level":"source_guard_not_numerical_validation","source_line":169,"reason":"ValueError('study reconstruction requires all three declared DC derivative levels')","scope":"reconstruct_study_response"}, +{"id":"guard-2ed60541114e6334","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_study_response.py","route_id":"route-dd89a27c87e2e3b2","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_study_response.py:reconstruct_study_response:9d3711617340","evidence_level":"source_guard_not_numerical_validation","source_line":160,"reason":"ValueError('study reconstruction requires controlled step and DC conductance records')","scope":"reconstruct_study_response"}, +{"id":"guard-b657315ce2df1ad8","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_study_response.py","route_id":"route-dd89a27c87e2e3b2","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_study_response.py:reconstruct_study_response:c45f7eea4573","evidence_level":"source_guard_not_numerical_validation","source_line":166,"reason":"ValueError('study reconstruction requires the same zero-bias operating state')","scope":"reconstruct_study_response"}, +{"id":"guard-0274b7d8267e6e47","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_window.py","route_id":"route-1c4ca2bc1a62b894","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_window.py:_time_axis:0aeb5d4a651f","evidence_level":"source_guard_not_numerical_validation","source_line":30,"reason":"ValueError('window requires 0+ and at least two finite increasing positive times')","scope":"_time_axis"}, +{"id":"guard-e0cd945ea8f0ffbb","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_window.py","route_id":"route-1c4ca2bc1a62b894","origin_key":"guard:perovskite_sim.experiments.one_dimensional_mechanism_r1_window.py:validate_window_spec:7f53bb249adf","evidence_level":"source_guard_not_numerical_validation","source_line":56,"reason":"ValueError('window specification requires exactly the declared fields')","scope":"validate_window_spec"}, +{"id":"guard-1ccbfffa0ccbcb3c","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/open_circuit.py","route_id":"route-3431bf7169601fdb","origin_key":"guard:perovskite_sim.experiments.open_circuit.py:OpenCircuitSystem.__init__:7d80364c2102","evidence_level":"source_guard_not_numerical_validation","source_line":60,"reason":"OpenCircuitError('open-circuit evolution requires a closed Poisson charge model; the interface-plane density-state charge is not implemented')","scope":"OpenCircuitSystem.__init__"}, +{"id":"guard-a604f0f363da6ac8","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/protocol.py","route_id":"route-ca59b5ef4a3f6fa3","origin_key":"guard:perovskite_sim.experiments.protocol.py:ACExcitation.__post_init__:12473a719481","evidence_level":"source_guard_not_numerical_validation","source_line":236,"reason":"ValueError(f'unsupported AC waveform {self.waveform!r}')","scope":"ACExcitation.__post_init__"}, +{"id":"guard-8c581d10a6c88a65","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/protocol.py","route_id":"route-ca59b5ef4a3f6fa3","origin_key":"guard:perovskite_sim.experiments.protocol.py:DCSettleCriterion.__post_init__:2033cc25d192","evidence_level":"source_guard_not_numerical_validation","source_line":294,"reason":"ValueError('finite_time DC settling requires duration_s')","scope":"DCSettleCriterion.__post_init__"}, +{"id":"guard-3c7a66a26e98b077","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/protocol.py","route_id":"route-ca59b5ef4a3f6fa3","origin_key":"guard:perovskite_sim.experiments.protocol.py:ExperimentProtocol.__post_init__:51271cb95cd7","evidence_level":"source_guard_not_numerical_validation","source_line":470,"reason":"ValueError('unsupported experiment protocol schema_version')","scope":"ExperimentProtocol.__post_init__"}, +{"id":"guard-45e4912750de7cc5","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/protocol.py","route_id":"route-ca59b5ef4a3f6fa3","origin_key":"guard:perovskite_sim.experiments.protocol.py:ExperimentProtocol.__post_init__:641d8e4676c7","evidence_level":"source_guard_not_numerical_validation","source_line":464,"reason":"ValueError(f'{self.experiment} protocol requires voc_search')","scope":"ExperimentProtocol.__post_init__"}, +{"id":"guard-3adc3f522a0a3a96","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/protocol.py","route_id":"route-ca59b5ef4a3f6fa3","origin_key":"guard:perovskite_sim.experiments.protocol.py:ScanProtocol.__post_init__:38439c330b0c","evidence_level":"source_guard_not_numerical_validation","source_line":205,"reason":"ValueError('a voltage scan requires rate_V_s')","scope":"ScanProtocol.__post_init__"}, +{"id":"guard-e62f1816f84d8091","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/protocol.py","route_id":"route-ca59b5ef4a3f6fa3","origin_key":"guard:perovskite_sim.experiments.protocol.py:VocSearchProtocol.__post_init__:5c40c11ffe5e","evidence_level":"source_guard_not_numerical_validation","source_line":389,"reason":"ValueError(f'unsupported Voc search fallback {self.fallback!r}')","scope":"VocSearchProtocol.__post_init__"}, +{"id":"guard-3187189d04ce7293","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/protocol.py","route_id":"route-ca59b5ef4a3f6fa3","origin_key":"guard:perovskite_sim.experiments.protocol.py:VocSearchProtocol.__post_init__:ca010308b341","evidence_level":"source_guard_not_numerical_validation","source_line":391,"reason":"ValueError(f'unsupported Voc search warm_start {self.warm_start!r}')","scope":"VocSearchProtocol.__post_init__"}, +{"id":"guard-ab32c430a52dabf6","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/protocol.py","route_id":"route-ca59b5ef4a3f6fa3","origin_key":"guard:perovskite_sim.experiments.protocol.py:resolve_experiment_protocol:bc3141d4d997","evidence_level":"source_guard_not_numerical_validation","source_line":582,"reason":"ImplicitProtocolError('research_strict protocol mode requires an explicit experiment history; the compatibility call generated implicit_legacy_protocol=True')","scope":"resolve_experiment_protocol"}, +{"id":"guard-9d54169448b7d08e","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/quasi_fermi_impedance.py","route_id":"route-e8ca7a89ef09d514","origin_key":"guard:perovskite_sim.experiments.quasi_fermi_impedance.py:run_quasi_fermi_impedance:84dde9c7cd84","evidence_level":"source_guard_not_numerical_validation","source_line":180,"reason":"QuasiFermiImpedanceError('frequency-domain impedance requires a certified DC state')","scope":"run_quasi_fermi_impedance"}, +{"id":"guard-98713d447920c503","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/quasi_fermi_steady_state.py","route_id":"route-1c35c1275d46d863","origin_key":"guard:perovskite_sim.experiments.quasi_fermi_steady_state.py:_QuasiFermiSystem.__init__:65ca977d45b7","evidence_level":"source_guard_not_numerical_validation","source_line":1113,"reason":"ValueError('equilibrium-referenced interface charge requires the two-sided interface boundary')","scope":"_QuasiFermiSystem.__init__"}, +{"id":"guard-9ba998b4df48c7b8","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/quasi_fermi_steady_state.py","route_id":"route-1c35c1275d46d863","origin_key":"guard:perovskite_sim.experiments.quasi_fermi_steady_state.py:_QuasiFermiSystem._bulk_space_charge_and_tangent:0a49409101b8","evidence_level":"source_guard_not_numerical_validation","source_line":1314,"reason":"QuasiFermiSteadyStateError('dynamic bulk charge is not certified with multivalent bulk defects')","scope":"_QuasiFermiSystem._bulk_space_charge_and_tangent"}, +{"id":"guard-01caa2d41f4b96ab","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/quasi_fermi_steady_state.py","route_id":"route-1c35c1275d46d863","origin_key":"guard:perovskite_sim.experiments.quasi_fermi_steady_state.py:_QuasiFermiSystem._bulk_space_charge_and_tangent:161e89c777ee","evidence_level":"source_guard_not_numerical_validation","source_line":1297,"reason":"QuasiFermiSteadyStateError('dynamic bulk charge is not certified with frozen metastable configurations')","scope":"_QuasiFermiSystem._bulk_space_charge_and_tangent"}, +{"id":"guard-ba42d5918168d2e2","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/quasi_fermi_steady_state.py","route_id":"route-1c35c1275d46d863","origin_key":"guard:perovskite_sim.experiments.quasi_fermi_steady_state.py:_QuasiFermiSystem._bulk_space_charge_and_tangent:202c775fe2ca","evidence_level":"source_guard_not_numerical_validation","source_line":1280,"reason":"QuasiFermiSteadyStateError('dynamic bulk charge requires a compiled defect model')","scope":"_QuasiFermiSystem._bulk_space_charge_and_tangent"}, +{"id":"guard-b38bc780ec27d52d","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/quasi_fermi_steady_state.py","route_id":"route-1c35c1275d46d863","origin_key":"guard:perovskite_sim.experiments.quasi_fermi_steady_state.py:_QuasiFermiSystem._evaluate_charged_poisson_system:f6165ca61c6c","evidence_level":"source_guard_not_numerical_validation","source_line":1403,"reason":"QuasiFermiSteadyStateError('charged Poisson evaluation requires an explicit dark reference')","scope":"_QuasiFermiSystem._evaluate_charged_poisson_system"}, +{"id":"guard-37fc9d018c50e5f0","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/quasi_fermi_steady_state.py","route_id":"route-1c35c1275d46d863","origin_key":"guard:perovskite_sim.experiments.quasi_fermi_steady_state.py:_QuasiFermiSystem._evaluate_fixed_interface_poisson_system:3ab1c915b048","evidence_level":"source_guard_not_numerical_validation","source_line":1552,"reason":"QuasiFermiSteadyStateError('fixed interface occupancy requires an explicit dark reference')","scope":"_QuasiFermiSystem._evaluate_fixed_interface_poisson_system"}, +{"id":"guard-099ddcc964dfc2b7","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/quasi_fermi_steady_state.py","route_id":"route-1c35c1275d46d863","origin_key":"guard:perovskite_sim.experiments.quasi_fermi_steady_state.py:_QuasiFermiSystem._evaluate_increments:8a167c328d42","evidence_level":"source_guard_not_numerical_validation","source_line":1863,"reason":"QuasiFermiSteadyStateError('frozen metastable configurations support only the prepared stationary measurement; dynamic occupancy and mobile-ion device states are not certified')","scope":"_QuasiFermiSystem._evaluate_increments"}, +{"id":"guard-ed44033826e01e1c","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/quasi_fermi_steady_state.py","route_id":"route-1c35c1275d46d863","origin_key":"guard:perovskite_sim.experiments.quasi_fermi_steady_state.py:_QuasiFermiSystem._evaluate_increments:964a77d71d81","evidence_level":"source_guard_not_numerical_validation","source_line":1871,"reason":"QuasiFermiSteadyStateError('dynamic interface occupancy requires two_sided_trace topology')","scope":"_QuasiFermiSystem._evaluate_increments"}, +{"id":"guard-f3f13e6826747814","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/quasi_fermi_steady_state.py","route_id":"route-1c35c1275d46d863","origin_key":"guard:perovskite_sim.experiments.quasi_fermi_steady_state.py:_QuasiFermiSystem._evaluate_increments:a768b62abcd5","evidence_level":"source_guard_not_numerical_validation","source_line":1883,"reason":"QuasiFermiSteadyStateError('dynamic bulk occupancy requires a compiled defect model')","scope":"_QuasiFermiSystem._evaluate_increments"}, +{"id":"guard-474f871cbc8f1ee1","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/quasi_fermi_steady_state.py","route_id":"route-1c35c1275d46d863","origin_key":"guard:perovskite_sim.experiments.quasi_fermi_steady_state.py:_QuasiFermiSystem._evaluate_increments:e8d811c0b68a","evidence_level":"source_guard_not_numerical_validation","source_line":1852,"reason":"QuasiFermiSteadyStateError('multivalent bulk defects support only the stationary QF/DC closure; dynamic occupancy and mobile-ion device states are not certified')","scope":"_QuasiFermiSystem._evaluate_increments"}, +{"id":"guard-6d4510f99348b6dd","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/quasi_fermi_steady_state.py","route_id":"route-1c35c1275d46d863","origin_key":"guard:perovskite_sim.experiments.quasi_fermi_steady_state.py:_QuasiFermiSystem._solve_charged_poisson:67c071e1b44c","evidence_level":"source_guard_not_numerical_validation","source_line":1473,"reason":"QuasiFermiSteadyStateError('charged Poisson solve requires an explicit dark reference')","scope":"_QuasiFermiSystem._solve_charged_poisson"}, +{"id":"guard-6df544c4d5fa9d31","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/quasi_fermi_steady_state.py","route_id":"route-1c35c1275d46d863","origin_key":"guard:perovskite_sim.experiments.quasi_fermi_steady_state.py:_prepare_two_sided_material:4ab86137de95","evidence_level":"source_guard_not_numerical_validation","source_line":442,"reason":"QuasiFermiSteadyStateError('two_sided_trace requires a grid without shared interface nodes; call build_two_sided_trace_grid first')","scope":"_prepare_two_sided_material"}, +{"id":"guard-d0511c895d2b4754","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/quasi_fermi_steady_state.py","route_id":"route-1c35c1275d46d863","origin_key":"guard:perovskite_sim.experiments.quasi_fermi_steady_state.py:_require_equilibrium_referenced_research_stack:238b0164f1e8","evidence_level":"source_guard_not_numerical_validation","source_line":3535,"reason":"ValueError('interface-charge research requires the rebaseline acknowledgement')","scope":"_require_equilibrium_referenced_research_stack"}, +{"id":"guard-810ea70094840c92","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/quasi_fermi_steady_state.py","route_id":"route-1c35c1275d46d863","origin_key":"guard:perovskite_sim.experiments.quasi_fermi_steady_state.py:_require_equilibrium_referenced_research_stack:5d506d27b8f0","evidence_level":"source_guard_not_numerical_validation","source_line":3530,"reason":"ValueError(\"interface-charge research requires interface_charge_closure='equilibrium_referenced'\")","scope":"_require_equilibrium_referenced_research_stack"}, +{"id":"guard-86f3df19f05a8cb5","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/quasi_fermi_steady_state.py","route_id":"route-1c35c1275d46d863","origin_key":"guard:perovskite_sim.experiments.quasi_fermi_steady_state.py:_require_material_defect_contract:74ee262302db","evidence_level":"source_guard_not_numerical_validation","source_line":604,"reason":"QuasiFermiSteadyStateError('multivalent explicit-defect stack requires a qf_dc material cache with a compiled multivalent model')","scope":"_require_material_defect_contract"}, +{"id":"guard-7ae1d9728100488e","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/quasi_fermi_steady_state.py","route_id":"route-1c35c1275d46d863","origin_key":"guard:perovskite_sim.experiments.quasi_fermi_steady_state.py:_require_material_defect_contract:bc52bbedede6","evidence_level":"source_guard_not_numerical_validation","source_line":627,"reason":"QuasiFermiSteadyStateError('charged, energy-distributed, or spatially graded explicit-defect stack requires a qf_dc material cache')","scope":"_require_material_defect_contract"}, +{"id":"guard-4c7816dcd4991f8e","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/quasi_fermi_steady_state.py","route_id":"route-1c35c1275d46d863","origin_key":"guard:perovskite_sim.experiments.quasi_fermi_steady_state.py:_require_supported:c9aa1de5f168","evidence_level":"source_guard_not_numerical_validation","source_line":777,"reason":"QuasiFermiSteadyStateError('quasi-Fermi steady-state solver does not support ' + ', '.join(unsupported))","scope":"_require_supported"}, +{"id":"guard-a9b5286029d0b377","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/quasi_fermi_steady_state.py","route_id":"route-1c35c1275d46d863","origin_key":"guard:perovskite_sim.experiments.quasi_fermi_steady_state.py:solve_quasi_fermi_jv_sweep:2af5905465aa","evidence_level":"source_guard_not_numerical_validation","source_line":3918,"reason":"ValueError('voc_stop_grid_V requires stop_after_voc=True')","scope":"solve_quasi_fermi_jv_sweep"}, +{"id":"guard-90d08a303404f91b","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/quasi_fermi_steady_state.py","route_id":"route-1c35c1275d46d863","origin_key":"guard:perovskite_sim.experiments.quasi_fermi_steady_state.py:solve_quasi_fermi_steady_state:0af01bc6205a","evidence_level":"source_guard_not_numerical_validation","source_line":2699,"reason":"ValueError('initial_state_grid requires initial_state')","scope":"solve_quasi_fermi_steady_state"}, +{"id":"guard-48685be1c514a73a","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/quasi_fermi_steady_state.py","route_id":"route-1c35c1275d46d863","origin_key":"guard:perovskite_sim.experiments.quasi_fermi_steady_state.py:solve_quasi_fermi_steady_state:3228878855d7","evidence_level":"source_guard_not_numerical_validation","source_line":2591,"reason":"ValueError(f'two_sided_trace currently requires interface_transport_model={FERMI_DIRAC_RICHARDSON!r}')","scope":"solve_quasi_fermi_steady_state"}, +{"id":"guard-4bfcc5f07ece8a76","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/quasi_fermi_steady_state.py","route_id":"route-1c35c1275d46d863","origin_key":"guard:perovskite_sim.experiments.quasi_fermi_steady_state.py:solve_quasi_fermi_steady_state:93dbb1ca9905","evidence_level":"source_guard_not_numerical_validation","source_line":2888,"reason":"QuasiFermiSteadyStateError('bulk density prediction requires ion-free classical transport without charged defects, metastable populations or tunnelling')","scope":"solve_quasi_fermi_steady_state"}, +{"id":"guard-557c3b2f0dedd12e","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/quasi_fermi_steady_state.py","route_id":"route-1c35c1275d46d863","origin_key":"guard:perovskite_sim.experiments.quasi_fermi_steady_state.py:solve_quasi_fermi_steady_state:acd8c40cbb4b","evidence_level":"source_guard_not_numerical_validation","source_line":2589,"reason":"ValueError('two_sided_trace requires interface_boundary=True')","scope":"solve_quasi_fermi_steady_state"}, +{"id":"guard-474c04d9c76def6c","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/quasi_fermi_steady_state.py","route_id":"route-1c35c1275d46d863","origin_key":"guard:perovskite_sim.experiments.quasi_fermi_steady_state.py:solve_quasi_fermi_steady_state:bca9b5b38776","evidence_level":"source_guard_not_numerical_validation","source_line":2563,"reason":"ValueError('density prediction requires an illuminated solve without an initial state')","scope":"solve_quasi_fermi_steady_state"}, +{"id":"guard-991f80875dfe8e71","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/quasi_fermi_steady_state.py","route_id":"route-1c35c1275d46d863","origin_key":"guard:perovskite_sim.experiments.quasi_fermi_steady_state.py:solve_quasi_fermi_steady_state:bd55c85b91bb","evidence_level":"source_guard_not_numerical_validation","source_line":2610,"reason":"ValueError(\"research interface charge requires interface_boundary=True and interface_topology='two_sided_trace'\")","scope":"solve_quasi_fermi_steady_state"}, +{"id":"guard-af3c1310f93e4b6b","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/quasi_fermi_steady_state.py","route_id":"route-1c35c1275d46d863","origin_key":"guard:perovskite_sim.experiments.quasi_fermi_steady_state.py:solve_quasi_fermi_steady_state:c1f3cc3fd065","evidence_level":"source_guard_not_numerical_validation","source_line":2676,"reason":"QuasiFermiSteadyStateError(f'{subject} requires a certified contact thermodynamic reference: {exc}')","scope":"solve_quasi_fermi_steady_state"}, +{"id":"guard-4c3620b846609d88","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/tpv.py","route_id":"route-a09f453482a461e1","origin_key":"guard:perovskite_sim.experiments.tpv.py:_find_voc:e67ce2495f76","evidence_level":"source_guard_not_numerical_validation","source_line":160,"reason":"ValueError('open-circuit search requires error fallback and fixed_lower_bracket_state')","scope":"_find_voc"}, +{"id":"guard-9ff3740f2eb203e2","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/trap_small_signal.py","route_id":"route-a2dac88b7495c3ed","origin_key":"guard:perovskite_sim.experiments.trap_small_signal.py:TrapSmallSignalPerturbation.__post_init__:8310f0af720d","evidence_level":"source_guard_not_numerical_validation","source_line":142,"reason":"TrapSmallSignalProtocolError('unsupported trap response normalization')","scope":"TrapSmallSignalPerturbation.__post_init__"}, +{"id":"guard-c28945c650803142","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/trap_small_signal.py","route_id":"route-a2dac88b7495c3ed","origin_key":"guard:perovskite_sim.experiments.trap_small_signal.py:TrapSmallSignalPerturbation.__post_init__:9b8078e13cba","evidence_level":"source_guard_not_numerical_validation","source_line":148,"reason":"TrapSmallSignalProtocolError('unsupported trap perturbation schema')","scope":"TrapSmallSignalPerturbation.__post_init__"}, +{"id":"guard-8ec03613262a0a29","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/trap_small_signal.py","route_id":"route-a2dac88b7495c3ed","origin_key":"guard:perovskite_sim.experiments.trap_small_signal.py:TrapSmallSignalPerturbation.__post_init__:ea6665d5b9dd","evidence_level":"source_guard_not_numerical_validation","source_line":146,"reason":"TrapSmallSignalProtocolError('unsupported trap phasor convention')","scope":"TrapSmallSignalPerturbation.__post_init__"}, +{"id":"guard-45282da6b5b294ad","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/trap_small_signal.py","route_id":"route-a2dac88b7495c3ed","origin_key":"guard:perovskite_sim.experiments.trap_small_signal.py:TrapSmallSignalProtocol.__post_init__:8310f0af720d","evidence_level":"source_guard_not_numerical_validation","source_line":261,"reason":"TrapSmallSignalProtocolError('unsupported trap response normalization')","scope":"TrapSmallSignalProtocol.__post_init__"}, +{"id":"guard-5394c4c157d59fcc","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/trap_small_signal.py","route_id":"route-a2dac88b7495c3ed","origin_key":"guard:perovskite_sim.experiments.trap_small_signal.py:TrapSmallSignalProtocol.__post_init__:bb247a9b68df","evidence_level":"source_guard_not_numerical_validation","source_line":267,"reason":"TrapSmallSignalProtocolError('unsupported trap protocol schema')","scope":"TrapSmallSignalProtocol.__post_init__"}, +{"id":"guard-f661c5dd646cbe3c","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/trap_small_signal.py","route_id":"route-a2dac88b7495c3ed","origin_key":"guard:perovskite_sim.experiments.trap_small_signal.py:TrapSmallSignalProtocol.__post_init__:bd5483b31535","evidence_level":"source_guard_not_numerical_validation","source_line":223,"reason":"TrapSmallSignalProtocolError(f'certified dynamic trap response requires an acceptor or donor charge transition, got {transition!r}')","scope":"TrapSmallSignalProtocol.__post_init__"}, +{"id":"guard-77cdcb560cd1f6c9","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/trap_small_signal.py","route_id":"route-a2dac88b7495c3ed","origin_key":"guard:perovskite_sim.experiments.trap_small_signal.py:TrapSmallSignalProtocol.__post_init__:ea6665d5b9dd","evidence_level":"source_guard_not_numerical_validation","source_line":265,"reason":"TrapSmallSignalProtocolError('unsupported trap phasor convention')","scope":"TrapSmallSignalProtocol.__post_init__"}, +{"id":"guard-c1fd0d9c41c582d2","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/trap_small_signal.py","route_id":"route-a2dac88b7495c3ed","origin_key":"guard:perovskite_sim.experiments.trap_small_signal.py:assess_trap_frequency_window:6dc995f77f5c","evidence_level":"source_guard_not_numerical_validation","source_line":380,"reason":"TrapSmallSignalProtocolError('frequency assessment requires at least three increasing values')","scope":"assess_trap_frequency_window"}, +{"id":"guard-bbb3210ac0d9895d","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/trap_small_signal.py","route_id":"route-a2dac88b7495c3ed","origin_key":"guard:perovskite_sim.experiments.trap_small_signal.py:build_trap_small_signal_protocol:b69e6e0202e8","evidence_level":"source_guard_not_numerical_validation","source_line":318,"reason":"TrapKineticsCertificationError('trap protocol requires a certified DC operating point')","scope":"build_trap_small_signal_protocol"}, +{"id":"guard-9e785f8170d42e05","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/waveform_jacobian.py","route_id":"route-565d1407a29fab5a","origin_key":"guard:perovskite_sim.experiments.waveform_jacobian.py:build_waveform_density_jacobian:ab79da92c9fe","evidence_level":"source_guard_not_numerical_validation","source_line":44,"reason":"WaveformJacobianCapabilityError('Unsupported analytic waveform Jacobian: ' + ', '.join(active))","scope":"build_waveform_density_jacobian"}, +{"id":"guard-90ffcad904eff24b","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/waveform_jv.py","route_id":"route-00e5ec97ad8c8b8a","origin_key":"guard:perovskite_sim.experiments.waveform_jv.py:JVWaveform.__post_init__:84ae3acaf49a","evidence_level":"source_guard_not_numerical_validation","source_line":54,"reason":"ValueError('unsupported J-V waveform schema_version')","scope":"JVWaveform.__post_init__"}, +{"id":"guard-814b0eb50664699b","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/waveform_jv.py","route_id":"route-00e5ec97ad8c8b8a","origin_key":"guard:perovskite_sim.experiments.waveform_jv.py:run_waveform_jv:35c467626920","evidence_level":"source_guard_not_numerical_validation","source_line":151,"reason":"ValueError('charged interface closure requires its dedicated driver')","scope":"run_waveform_jv"}, +{"id":"guard-23b9e326b344efad","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/experiments/waveform_jv.py","route_id":"route-00e5ec97ad8c8b8a","origin_key":"guard:perovskite_sim.experiments.waveform_jv.py:uniform_absorber_generation:ef8065c86509","evidence_level":"source_guard_not_numerical_validation","source_line":139,"reason":"ValueError('uniform generation requires an absorber layer')","scope":"uniform_absorber_generation"}, +{"id":"guard-008ce33bf3904930","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/models/config_loader.py","route_id":"route-5c68cb43cf0f80a0","origin_key":"guard:perovskite_sim.models.config_loader.py:built_in_potential_fields_from_device_dict:fbaf4cb0afec","evidence_level":"source_guard_not_numerical_validation","source_line":264,"reason":"ValueError('legacy_manual requires device.V_bi_override (device.V_bi is the deprecated compatibility alias)')","scope":"built_in_potential_fields_from_device_dict"}, +{"id":"guard-4b286f682b6ae987","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/models/config_loader.py","route_id":"route-5c68cb43cf0f80a0","origin_key":"guard:perovskite_sim.models.config_loader.py:electrical_grid_from_config_dict:643f0d77e434","evidence_level":"source_guard_not_numerical_validation","source_line":56,"reason":"ValueError('electrical_grid requires unique names for all electrical layers')","scope":"electrical_grid_from_config_dict"}, +{"id":"guard-464331c86d216b71","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/models/config_loader.py","route_id":"route-5c68cb43cf0f80a0","origin_key":"guard:perovskite_sim.models.config_loader.py:interfaces_from_device_dict:7546e7dfe91b","evidence_level":"source_guard_not_numerical_validation","source_line":161,"reason":"ValueError(f'device.interface_defects[{k}] requires the exact flat SCAPS adapter schema; missing={missing}, unknown={unknown}')","scope":"interfaces_from_device_dict"}, +{"id":"guard-e4261531fd31357d","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/models/defects.py","route_id":"route-b800342e538ea2d1","origin_key":"guard:perovskite_sim.models.defects.py:BulkDefectDocument.__post_init__:6ae9c91824e0","evidence_level":"source_guard_not_numerical_validation","source_line":859,"reason":"ExplicitDefectSchemaError(f'explicit_quasi_steady {self.schema_version!r} requires {requirement}; invalid={not_ready}')","scope":"BulkDefectDocument.__post_init__"}, +{"id":"guard-b4aa84b4a93fa342","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/models/defects.py","route_id":"route-b800342e538ea2d1","origin_key":"guard:perovskite_sim.models.defects.py:BulkDefectDocument.__post_init__:833d85c43c7a","evidence_level":"source_guard_not_numerical_validation","source_line":766,"reason":"ExplicitDefectSchemaError(f'unsupported explicit defect schema_version {self.schema_version!r}')","scope":"BulkDefectDocument.__post_init__"}, +{"id":"guard-3dc48c017d2f35b6","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/models/defects.py","route_id":"route-b800342e538ea2d1","origin_key":"guard:perovskite_sim.models.defects.py:BulkDefectDocument.__post_init__:a68233571b19","evidence_level":"source_guard_not_numerical_validation","source_line":832,"reason":"ExplicitDefectSchemaError('explicit_quasi_steady requires at least one bulk defect')","scope":"BulkDefectDocument.__post_init__"}, +{"id":"guard-2696e3dbf3cc9ffe","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/models/defects.py","route_id":"route-b800342e538ea2d1","origin_key":"guard:perovskite_sim.models.defects.py:BulkDefectDocument.__post_init__:abd7068d243d","evidence_level":"source_guard_not_numerical_validation","source_line":826,"reason":"ExplicitDefectSchemaError('explicit defect schema v3 requires at least one spatial_profile')","scope":"BulkDefectDocument.__post_init__"}, +{"id":"guard-9bcc7c8d24332364","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/models/defects.py","route_id":"route-b800342e538ea2d1","origin_key":"guard:perovskite_sim.models.defects.py:BulkDefectDocument.__post_init__:d500c54ca272","evidence_level":"source_guard_not_numerical_validation","source_line":806,"reason":"ExplicitDefectSchemaError(f'explicit defect schema v2 requires an explicit above-valence-band reference and complete finite support metadata; invalid={incomplete}')","scope":"BulkDefectDocument.__post_init__"}, +{"id":"guard-ce068b7a2fc5a13a","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/models/defects.py","route_id":"route-b800342e538ea2d1","origin_key":"guard:perovskite_sim.models.defects.py:BulkDefectDocument.__post_init__:e8257dc20d6e","evidence_level":"source_guard_not_numerical_validation","source_line":818,"reason":"ExplicitDefectSchemaError(f'explicit defect schema v3 requires named, charge-resolved normalized species; invalid={incomplete}')","scope":"BulkDefectDocument.__post_init__"}, +{"id":"guard-799ed109e384773a","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/models/defects.py","route_id":"route-b800342e538ea2d1","origin_key":"guard:perovskite_sim.models.defects.py:BulkDefectSpatialProfile.__post_init__:bed7e5b0d07e","evidence_level":"source_guard_not_numerical_validation","source_line":164,"reason":"ExplicitDefectSchemaError('spatial profile requires at least two typed knots')","scope":"BulkDefectSpatialProfile.__post_init__"}, +{"id":"guard-4c2b73d1dd455ba9","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/models/defects.py","route_id":"route-b800342e538ea2d1","origin_key":"guard:perovskite_sim.models.defects.py:BulkDefectSpecies.__post_init__:6156f9502c65","evidence_level":"source_guard_not_numerical_validation","source_line":668,"reason":"ExplicitDefectSchemaError(f'charge_transition={transition!r} requires neutral_reference={expected_reference!r}')","scope":"BulkDefectSpecies.__post_init__"}, +{"id":"guard-d1a3da810af8306d","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/models/defects.py","route_id":"route-b800342e538ea2d1","origin_key":"guard:perovskite_sim.models.defects.py:bulk_defect_document_from_layer_mapping:d11d5f689683","evidence_level":"source_guard_not_numerical_validation","source_line":921,"reason":"ExplicitDefectSchemaError(f'explicit defect layer contract requires defect_schema_version, defect_model, and bulk_defects together; missing={sorted(keys - present)}')","scope":"bulk_defect_document_from_layer_mapping"}, +{"id":"guard-73a3961a70c46d96","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/models/device.py","route_id":"route-7e81c448796358a6","origin_key":"guard:perovskite_sim.models.device.py:DeviceStack.__post_init__:564591a08db9","evidence_level":"source_guard_not_numerical_validation","source_line":425,"reason":"ValueError('equilibrium_referenced interface charge requires explicit interface_charge_rebaseline_acknowledged=true because the historical SCAPS calibration is no longer valid')","scope":"DeviceStack.__post_init__"}, +{"id":"guard-c44dea2f8b8918c0","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/models/device.py","route_id":"route-7e81c448796358a6","origin_key":"guard:perovskite_sim.models.device.py:DeviceStack.__post_init__:a195b209683f","evidence_level":"source_guard_not_numerical_validation","source_line":467,"reason":"ValueError(\"band-gap narrowing requires explicit built_in_potential_mode='semiconductor_work_function'; activated layers: \" + ', '.join(narrowing_layers))","scope":"DeviceStack.__post_init__"}, +{"id":"guard-d02a12617ff10193","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/models/device.py","route_id":"route-7e81c448796358a6","origin_key":"guard:perovskite_sim.models.device.py:DeviceStack.__post_init__:b37675d321d2","evidence_level":"source_guard_not_numerical_validation","source_line":500,"reason":"ValueError('metal_work_function requires work_function_left_eV and work_function_right_eV')","scope":"DeviceStack.__post_init__"}, +{"id":"guard-23246d7eb7d162cc","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/models/device.py","route_id":"route-7e81c448796358a6","origin_key":"guard:perovskite_sim.models.device.py:DeviceStack.__post_init__:fd4cdf38d0a0","evidence_level":"source_guard_not_numerical_validation","source_line":481,"reason":"ValueError(\"energy-resolved bulk trap charge requires explicit built_in_potential_mode='semiconductor_work_function'; activated layers: \" + ', '.join(bulk_trap_layers))","scope":"DeviceStack.__post_init__"}, +{"id":"guard-8b76e05904f68c0c","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/models/device.py","route_id":"route-7e81c448796358a6","origin_key":"guard:perovskite_sim.models.device.py:DeviceStack.compute_metal_V_bi:b2bc5151fca5","evidence_level":"source_guard_not_numerical_validation","source_line":591,"reason":"ValueError('metal_work_function requires both contact work functions')","scope":"DeviceStack.compute_metal_V_bi"}, +{"id":"guard-b161d3a98edcc20b","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/models/device.py","route_id":"route-7e81c448796358a6","origin_key":"guard:perovskite_sim.models.device.py:DeviceStack.compute_semiconductor_V_bi:3eca75b966ee","evidence_level":"source_guard_not_numerical_validation","source_line":561,"reason":"ValueError('semiconductor_work_function requires electrical layers')","scope":"DeviceStack.compute_semiconductor_V_bi"}, +{"id":"guard-bad29f4575dfa09e","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/models/device.py","route_id":"route-7e81c448796358a6","origin_key":"guard:perovskite_sim.models.device.py:_semiconductor_work_function:f1098b10d4d9","evidence_level":"source_guard_not_numerical_validation","source_line":1034,"reason":"ValueError(f\"semiconductor_work_function requires positive contact-layer {', '.join(invalid)}\")","scope":"_semiconductor_work_function"}, +{"id":"guard-8f1ae73c5d33c5db","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/models/device.py","route_id":"route-7e81c448796358a6","origin_key":"guard:perovskite_sim.models.device.py:_semiconductor_work_function:f99a57935e6c","evidence_level":"source_guard_not_numerical_validation","source_line":985,"reason":"ValueError('semiconductor_work_function requires material parameters on both electrical contact layers')","scope":"_semiconductor_work_function"}, +{"id":"guard-937cfd7d916ebdbb","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/models/device.py","route_id":"route-7e81c448796358a6","origin_key":"guard:perovskite_sim.models.device.py:_semiconductor_work_function:fbe06b68b3b9","evidence_level":"source_guard_not_numerical_validation","source_line":1042,"reason":"ValueError('semiconductor_work_function requires finite, non-negative contact doping densities')","scope":"_semiconductor_work_function"}, +{"id":"guard-37310cd6e7fe95f6","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/models/device.py","route_id":"route-7e81c448796358a6","origin_key":"guard:perovskite_sim.models.device.py:electrical_layers:534a056877bf","evidence_level":"source_guard_not_numerical_validation","source_line":711,"reason":"ValueError('substrate layers must form a contiguous prefix of stack.layers (mid-stack or trailing substrate layers are not supported)')","scope":"electrical_layers"}, +{"id":"guard-f98231767f8362bf","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/models/device.py","route_id":"route-7e81c448796358a6","origin_key":"guard:perovskite_sim.models.device.py:require_uncalibrated_microscopic_interface_defects:0f1ed28a7830","evidence_level":"source_guard_not_numerical_validation","source_line":813,"reason":"MicroscopicInterfaceDefectContractError(f'{label} requires a canonical microscopic defect document')","scope":"require_uncalibrated_microscopic_interface_defects"}, +{"id":"guard-7a6a7df91238767a","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/models/device.py","route_id":"route-7e81c448796358a6","origin_key":"guard:perovskite_sim.models.device.py:require_uncalibrated_microscopic_interface_defects:4447f6ac14ad","evidence_level":"source_guard_not_numerical_validation","source_line":826,"reason":"MicroscopicInterfaceDefectContractError(f'{label} requires degeneracy=1.0 because the v1 occupancy closure does not consume a degeneracy factor')","scope":"require_uncalibrated_microscopic_interface_defects"}, +{"id":"guard-044a2fe50b364862","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/models/device.py","route_id":"route-7e81c448796358a6","origin_key":"guard:perovskite_sim.models.device.py:require_uncalibrated_microscopic_interface_defects:9e6496084bb3","evidence_level":"source_guard_not_numerical_validation","source_line":833,"reason":"MicroscopicInterfaceDefectContractError(f'{label} requires material parameters on both adjacent layers')","scope":"require_uncalibrated_microscopic_interface_defects"}, +{"id":"guard-a7d39adf98d6026d","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/models/device.py","route_id":"route-7e81c448796358a6","origin_key":"guard:perovskite_sim.models.device.py:require_uncalibrated_microscopic_interface_defects:d88a47e0c04a","evidence_level":"source_guard_not_numerical_validation","source_line":793,"reason":"MicroscopicInterfaceDefectContractError(f'{consumer} requires at least one electrical interface')","scope":"require_uncalibrated_microscopic_interface_defects"}, +{"id":"guard-c976c9faf5d57b36","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/models/device.py","route_id":"route-7e81c448796358a6","origin_key":"guard:perovskite_sim.models.device.py:require_uncalibrated_microscopic_interface_defects:e32b5f1a29d7","evidence_level":"source_guard_not_numerical_validation","source_line":799,"reason":"MicroscopicInterfaceDefectContractError(f'{consumer} requires interface kinetics and defects aligned to all {interface_count} electrical interfaces')","scope":"require_uncalibrated_microscopic_interface_defects"}, +{"id":"guard-bf643dab6ec9a633","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/models/interface_defects.py","route_id":"route-47275d8cae52d1c6","origin_key":"guard:perovskite_sim.models.interface_defects.py:InterfaceDefectDocument.__post_init__:96b87f272cab","evidence_level":"source_guard_not_numerical_validation","source_line":176,"reason":"ExplicitInterfaceDefectSchemaError(f'unsupported interface defect schema_version {self.schema_version!r}')","scope":"InterfaceDefectDocument.__post_init__"}, +{"id":"guard-deaa88e8d08e7553","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/models/interface_defects.py","route_id":"route-47275d8cae52d1c6","origin_key":"guard:perovskite_sim.models.interface_defects.py:InterfaceDefectDocument.to_scaps_cgs_fields:35576b3c7a32","evidence_level":"source_guard_not_numerical_validation","source_line":334,"reason":"ExplicitInterfaceDefectSchemaError('the flat SCAPS adapter requires one shared thermal velocity')","scope":"InterfaceDefectDocument.to_scaps_cgs_fields"}, +{"id":"guard-2b3198e131405d19","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/models/interface_defects.py","route_id":"route-47275d8cae52d1c6","origin_key":"guard:perovskite_sim.models.interface_defects.py:_require_exact_keys:cdf0a2ccaff4","evidence_level":"source_guard_not_numerical_validation","source_line":83,"reason":"ExplicitInterfaceDefectSchemaError(f\"{where} requires an exact schema ({'; '.join(details)})\")","scope":"_require_exact_keys"}, +{"id":"guard-6076e811953692fd","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/models/multivalent_defects.py","route_id":"route-f2fb3894a767ab0b","origin_key":"guard:perovskite_sim.models.multivalent_defects.py:MetastableConversionKinetics.__post_init__:bcb102225e19","evidence_level":"source_guard_not_numerical_validation","source_line":602,"reason":"ExplicitDefectSchemaError(f'unsupported hole_capture_path {self.hole_capture_path!r}')","scope":"MetastableConversionKinetics.__post_init__"}, +{"id":"guard-5c8bb65c2a14a30a","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/models/multivalent_defects.py","route_id":"route-f2fb3894a767ab0b","origin_key":"guard:perovskite_sim.models.multivalent_defects.py:MetastableConversionKinetics.__post_init__:ce359e612999","evidence_level":"source_guard_not_numerical_validation","source_line":598,"reason":"ExplicitDefectSchemaError(f'unsupported electron_capture_path {self.electron_capture_path!r}')","scope":"MetastableConversionKinetics.__post_init__"}, +{"id":"guard-6706685d19bc0da6","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/models/multivalent_defects.py","route_id":"route-f2fb3894a767ab0b","origin_key":"guard:perovskite_sim.models.multivalent_defects.py:MetastableDefectDocument.__post_init__:44ac3cc95dcc","evidence_level":"source_guard_not_numerical_validation","source_line":811,"reason":"ExplicitDefectSchemaError('unsupported metastable defect schema_version')","scope":"MetastableDefectDocument.__post_init__"}, +{"id":"guard-56e8ea56945c1499","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/models/multivalent_defects.py","route_id":"route-f2fb3894a767ab0b","origin_key":"guard:perovskite_sim.models.multivalent_defects.py:MetastableDefectDocument.__post_init__:95a228bb55ed","evidence_level":"source_guard_not_numerical_validation","source_line":815,"reason":"ExplicitDefectSchemaError('metastable v1 requires explicit_metastable_frozen')","scope":"MetastableDefectDocument.__post_init__"}, +{"id":"guard-493ce93a0423c8c5","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/models/multivalent_defects.py","route_id":"route-f2fb3894a767ab0b","origin_key":"guard:perovskite_sim.models.multivalent_defects.py:MetastablePreparationProtocol.__post_init__:7c2801bf13bb","evidence_level":"source_guard_not_numerical_validation","source_line":974,"reason":"ExplicitDefectSchemaError('metastable preparation v1 requires a frozen measurement state')","scope":"MetastablePreparationProtocol.__post_init__"}, +{"id":"guard-a9bb68db7a2256f4","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/models/multivalent_defects.py","route_id":"route-f2fb3894a767ab0b","origin_key":"guard:perovskite_sim.models.multivalent_defects.py:MetastablePreparationProtocol.__post_init__:7c6748d688d2","evidence_level":"source_guard_not_numerical_validation","source_line":960,"reason":"ExplicitDefectSchemaError('unsupported metastable preparation schema_version')","scope":"MetastablePreparationProtocol.__post_init__"}, +{"id":"guard-cf49d86ac2904e74","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/models/multivalent_defects.py","route_id":"route-f2fb3894a767ab0b","origin_key":"guard:perovskite_sim.models.multivalent_defects.py:MultivalentBulkDefectDocument.__post_init__:d8cec100fdc1","evidence_level":"source_guard_not_numerical_validation","source_line":447,"reason":"ExplicitDefectSchemaError('unsupported multivalent bulk-defect schema_version')","scope":"MultivalentBulkDefectDocument.__post_init__"}, +{"id":"guard-0d2a4fa1e12b07fa","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/models/multivalent_defects.py","route_id":"route-f2fb3894a767ab0b","origin_key":"guard:perovskite_sim.models.multivalent_defects.py:MultivalentDefectConfiguration.__post_init__:00c44de30140","evidence_level":"source_guard_not_numerical_validation","source_line":279,"reason":"ExplicitDefectSchemaError(f'family={family!r} requires charge_states_e={predefined}')","scope":"MultivalentDefectConfiguration.__post_init__"}, +{"id":"guard-087c7be7e60e9dec","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/models/multivalent_defects.py","route_id":"route-f2fb3894a767ab0b","origin_key":"guard:perovskite_sim.models.multivalent_defects.py:MultivalentDefectConfiguration.__post_init__:a24d6dcb0502","evidence_level":"source_guard_not_numerical_validation","source_line":306,"reason":"ExplicitDefectSchemaError('unity degeneracy convention requires every value to equal 1')","scope":"MultivalentDefectConfiguration.__post_init__"}, +{"id":"guard-03d560c96cce8c73","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/models/multivalent_defects.py","route_id":"route-f2fb3894a767ab0b","origin_key":"guard:perovskite_sim.models.multivalent_defects.py:MultivalentDefectConfiguration.__post_init__:ebb9a63db57a","evidence_level":"source_guard_not_numerical_validation","source_line":302,"reason":"ExplicitDefectSchemaError(f'scaps_binomial requires binomial state degeneracies {expected}')","scope":"MultivalentDefectConfiguration.__post_init__"}, +{"id":"guard-83bb9d4d0cd21904","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/models/multivalent_defects.py","route_id":"route-f2fb3894a767ab0b","origin_key":"guard:perovskite_sim.models.multivalent_defects.py:multivalent_bulk_defect_document_from_layer_mapping:4558ad554758","evidence_level":"source_guard_not_numerical_validation","source_line":548,"reason":"ExplicitDefectSchemaError('multivalent layer parser requires the canonical v4 schema')","scope":"multivalent_bulk_defect_document_from_layer_mapping"}, +{"id":"guard-1fa9e421f9145a74","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/models/parameters.py","route_id":"route-874e0fb545d7dfb2","origin_key":"guard:perovskite_sim.models.parameters.py:MaterialParams.__post_init__:383b63158213","evidence_level":"source_guard_not_numerical_validation","source_line":244,"reason":"ValueError(\"explicit_quasi_steady requires carrier_statistics='maxwell_boltzmann'\")","scope":"MaterialParams.__post_init__"}, +{"id":"guard-0919c12434cadd11","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/models/parameters.py","route_id":"route-874e0fb545d7dfb2","origin_key":"guard:perovskite_sim.models.parameters.py:MaterialParams.__post_init__:3ff8ed150968","evidence_level":"source_guard_not_numerical_validation","source_line":316,"reason":"ValueError('discrete_level ionization requires finite non-negative N_A and N_D')","scope":"MaterialParams.__post_init__"}, +{"id":"guard-17ea741de86d2687","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/models/parameters.py","route_id":"route-874e0fb545d7dfb2","origin_key":"guard:perovskite_sim.models.parameters.py:MaterialParams.__post_init__:8d0e332805d1","evidence_level":"source_guard_not_numerical_validation","source_line":249,"reason":"ValueError(\"explicit_quasi_steady requires dopant_ionization_model='fully_ionized'\")","scope":"MaterialParams.__post_init__"}, +{"id":"guard-b16ed515ce15d251","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/models/tandem_config.py","route_id":"route-a49b47e146a02ef2","origin_key":"guard:perovskite_sim.models.tandem_config.py:load_tandem_from_yaml:3029879c959e","evidence_level":"source_guard_not_numerical_validation","source_line":100,"reason":"ValueError(f'light_direction={light_direction!r} not supported in v1. Supported: {sorted(SUPPORTED_LIGHT_DIRECTIONS)}')","scope":"load_tandem_from_yaml"}, +{"id":"guard-d792d3410d3598e2","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/models/tandem_config.py","route_id":"route-a49b47e146a02ef2","origin_key":"guard:perovskite_sim.models.tandem_config.py:load_tandem_from_yaml:8258f50d8e9e","evidence_level":"source_guard_not_numerical_validation","source_line":93,"reason":"ValueError(f'junction.model={junction_model!r} not supported in v1. Supported: {sorted(SUPPORTED_JUNCTION_MODELS)}')","scope":"load_tandem_from_yaml"}, +{"id":"guard-32e26a7808e75208","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/models/tunneling_channels.py","route_id":"route-e98430e35cbc35f0","origin_key":"guard:perovskite_sim.models.tunneling_channels.py:TunnellingChannelDocument.__post_init__:af97b142f60a","evidence_level":"source_guard_not_numerical_validation","source_line":379,"reason":"TunnellingChannelSchemaError('unsupported tunnelling channel schema_version')","scope":"TunnellingChannelDocument.__post_init__"}, +{"id":"guard-60d8bff0ae3460b8","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/physics/cigs_optics.py","route_id":"route-cb684c2791a2eadb","origin_key":"guard:perovskite_sim.physics.cigs_optics.py:CIGSGradedOptics.__post_init__:00f9f4b0cca8","evidence_level":"source_guard_not_numerical_validation","source_line":63,"reason":"ValueError(f'unsupported CIGS optical model {self.model!r}; expected {MINOURA_2015!r}')","scope":"CIGSGradedOptics.__post_init__"}, +{"id":"guard-ebbc90df30e02dc8","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/physics/cigs_optics.py","route_id":"route-cb684c2791a2eadb","origin_key":"guard:perovskite_sim.physics.cigs_optics.py:carron_absorption_coefficient:9c1e101779c2","evidence_level":"source_guard_not_numerical_validation","source_line":580,"reason":"ValueError('Carron absorption model requires cgi in [0.75, 1]')","scope":"carron_absorption_coefficient"}, +{"id":"guard-27304432037cd467","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/physics/compensated.py","route_id":"route-18b9fe1e2bc369d2","origin_key":"guard:perovskite_sim.physics.compensated.py:DD.__init__:68b8defdd0aa","evidence_level":"source_guard_not_numerical_validation","source_line":120,"reason":"ArithmeticError('DD requires finite real components')","scope":"DD.__init__"}, +{"id":"guard-22c30a90498732c5","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/physics/compensated.py","route_id":"route-18b9fe1e2bc369d2","origin_key":"guard:perovskite_sim.physics.compensated.py:_validate:68b8defdd0aa","evidence_level":"source_guard_not_numerical_validation","source_line":65,"reason":"ArithmeticError('DD requires finite real components')","scope":"_validate"}, +{"id":"guard-4eae85b644e2a8e4","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/physics/compensated.py","route_id":"route-18b9fe1e2bc369d2","origin_key":"guard:perovskite_sim.physics.compensated.py:log1p:fc3da4657918","evidence_level":"source_guard_not_numerical_validation","source_line":458,"reason":"ValueError('DD log1p requires x > -1')","scope":"log1p"}, +{"id":"guard-7b2ce7d0d43c1b79","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/physics/compensated.py","route_id":"route-18b9fe1e2bc369d2","origin_key":"guard:perovskite_sim.physics.compensated.py:log:79e1c4cbdcc6","evidence_level":"source_guard_not_numerical_validation","source_line":439,"reason":"ValueError('DD logarithm requires a positive argument')","scope":"log"}, +{"id":"guard-74b66a5aadd91246","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/physics/contacts.py","route_id":"route-4ee875fb4c7eec91","origin_key":"guard:perovskite_sim.physics.contacts.py:build_semiconductor_contact_state:810f39e7441e","evidence_level":"source_guard_not_numerical_validation","source_line":208,"reason":"ValueError('semiconductor contact state requires finite positive ' + ', '.join(invalid))","scope":"build_semiconductor_contact_state"}, +{"id":"guard-49b6f76ac29e53b7","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/physics/contacts.py","route_id":"route-4ee875fb4c7eec91","origin_key":"guard:perovskite_sim.physics.contacts.py:build_semiconductor_contact_state:c3e505618b87","evidence_level":"source_guard_not_numerical_validation","source_line":191,"reason":"ValueError('semiconductor contact state requires material parameters')","scope":"build_semiconductor_contact_state"}, +{"id":"guard-30e54e54e74170f2","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/physics/continuity.py","route_id":"route-6ea3c3d324eaee4c","origin_key":"guard:perovskite_sim.physics.continuity.py:carrier_face_currents:90f527b2bfcc","evidence_level":"source_guard_not_numerical_validation","source_line":138,"reason":"ValueError('Fermi-Dirac bulk transport requires an explicit compatible recombination closure')","scope":"carrier_face_currents"}, +{"id":"guard-ca0083819204bf92","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/physics/defect_closure.py","route_id":"route-108317e3109dd879","origin_key":"guard:perovskite_sim.physics.defect_closure.py:MonovalentBulkDefectEvaluation.__post_init__:44ce755480ed","evidence_level":"source_guard_not_numerical_validation","source_line":810,"reason":"ValueError('bulk-defect evaluation has an unsupported transition')","scope":"MonovalentBulkDefectEvaluation.__post_init__"}, +{"id":"guard-9cd95d17a3d17cab","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/physics/defect_closure.py","route_id":"route-108317e3109dd879","origin_key":"guard:perovskite_sim.physics.defect_closure.py:MonovalentBulkDefectModel.__post_init__:6d72defb2903","evidence_level":"source_guard_not_numerical_validation","source_line":599,"reason":"ValueError('monovalent bulk-defect model requires regions')","scope":"MonovalentBulkDefectModel.__post_init__"}, +{"id":"guard-c8da3a58730c2499","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/physics/defect_closure.py","route_id":"route-108317e3109dd879","origin_key":"guard:perovskite_sim.physics.defect_closure.py:MonovalentDefectClosureResult.__post_init__:16002f4e8edc","evidence_level":"source_guard_not_numerical_validation","source_line":139,"reason":"ValueError('closure result requires unique species identifiers')","scope":"MonovalentDefectClosureResult.__post_init__"}, +{"id":"guard-c5051b472926115a","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/physics/defect_closure.py","route_id":"route-108317e3109dd879","origin_key":"guard:perovskite_sim.physics.defect_closure.py:MonovalentDefectClosureResult.__post_init__:8863b549a512","evidence_level":"source_guard_not_numerical_validation","source_line":141,"reason":"ValueError('closure result has an unsupported charge transition')","scope":"MonovalentDefectClosureResult.__post_init__"}, +{"id":"guard-55723fe367076c7a","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/physics/defect_closure.py","route_id":"route-108317e3109dd879","origin_key":"guard:perovskite_sim.physics.defect_closure.py:_evaluate_spatial_defect_region:3c0f944555ec","evidence_level":"source_guard_not_numerical_validation","source_line":1412,"reason":"ValueError('spatial region evaluation requires a v3 region')","scope":"_evaluate_spatial_defect_region"}, +{"id":"guard-96735753f429a366","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/physics/defect_closure.py","route_id":"route-108317e3109dd879","origin_key":"guard:perovskite_sim.physics.defect_closure.py:_validate_source_species:24a6195fb049","evidence_level":"source_guard_not_numerical_validation","source_line":1077,"reason":"MonovalentDefectClosureCapabilityError(f'distributed production requires a complete normalized v2 source: {item.name}')","scope":"_validate_source_species"}, +{"id":"guard-a3a14ee3667374c2","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/physics/defect_closure.py","route_id":"route-108317e3109dd879","origin_key":"guard:perovskite_sim.physics.defect_closure.py:_validate_source_species:6942feacd1dc","evidence_level":"source_guard_not_numerical_validation","source_line":1057,"reason":"MonovalentDefectClosureCapabilityError('DEF-2 requires neutral, acceptor, or donor transitions')","scope":"_validate_source_species"}, +{"id":"guard-2e83653bbe8eb480","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/physics/defect_closure.py","route_id":"route-108317e3109dd879","origin_key":"guard:perovskite_sim.physics.defect_closure.py:_validate_source_species:bf4987596889","evidence_level":"source_guard_not_numerical_validation","source_line":1047,"reason":"MonovalentDefectClosureCapabilityError('DEF-2 requires unique named defect species')","scope":"_validate_source_species"}, +{"id":"guard-6eab2ac1e90e24f5","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/physics/defect_closure.py","route_id":"route-108317e3109dd879","origin_key":"guard:perovskite_sim.physics.defect_closure.py:_validate_species:bf4987596889","evidence_level":"source_guard_not_numerical_validation","source_line":1096,"reason":"MonovalentDefectClosureCapabilityError('DEF-2 requires unique named defect species')","scope":"_validate_species"}, +{"id":"guard-044a2d74679a6607","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/physics/defect_distributions.py","route_id":"route-69cbc8c249cae851","origin_key":"guard:perovskite_sim.physics.defect_distributions.py:DefectEnergyQuadrature.__post_init__:06f86eb30a8d","evidence_level":"source_guard_not_numerical_validation","source_line":158,"reason":"ValueError('distributed quadrature requires a shape integral')","scope":"DefectEnergyQuadrature.__post_init__"}, +{"id":"guard-ff9f66e05aa3900d","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/physics/defect_distributions.py","route_id":"route-69cbc8c249cae851","origin_key":"guard:perovskite_sim.physics.defect_distributions.py:build_defect_energy_quadrature:91005690698b","evidence_level":"source_guard_not_numerical_validation","source_line":374,"reason":"ExplicitDefectSchemaError(f'unsupported defect distribution {distribution.kind!r}')","scope":"build_defect_energy_quadrature"}, +{"id":"guard-5b6dc23fd7a187e0","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/physics/defect_distributions.py","route_id":"route-69cbc8c249cae851","origin_key":"guard:perovskite_sim.physics.defect_distributions.py:build_defect_energy_quadrature:ad960ddc42b2","evidence_level":"source_guard_not_numerical_validation","source_line":330,"reason":"ExplicitDefectSchemaError('distributed quadrature requires the complete v2 contract')","scope":"build_defect_energy_quadrature"}, +{"id":"guard-2be3161a16ff5eeb","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/physics/defect_distributions.py","route_id":"route-69cbc8c249cae851","origin_key":"guard:perovskite_sim.physics.defect_distributions.py:distribution_shape_integral_eV:574301543fcf","evidence_level":"source_guard_not_numerical_validation","source_line":256,"reason":"ExplicitDefectSchemaError('distributed density conversion requires the complete v2 contract')","scope":"distribution_shape_integral_eV"}, +{"id":"guard-4b880a97f3c958c4","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/physics/defect_distributions.py","route_id":"route-69cbc8c249cae851","origin_key":"guard:perovskite_sim.physics.defect_distributions.py:expand_bulk_defect_species_energy:81ed55c04132","evidence_level":"source_guard_not_numerical_validation","source_line":421,"reason":"ExplicitDefectSchemaError('distributed energy expansion requires a named species')","scope":"expand_bulk_defect_species_energy"}, +{"id":"guard-75584051ee92bf61","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/physics/distributed_defect_closure.py","route_id":"route-716aea63eb4178e4","origin_key":"guard:perovskite_sim.physics.distributed_defect_closure.py:EnergyDistributedDefectClosureResult.__post_init__:2f8dd28086fd","evidence_level":"source_guard_not_numerical_validation","source_line":284,"reason":"ValueError('distributed closure requires source closures')","scope":"EnergyDistributedDefectClosureResult.__post_init__"}, +{"id":"guard-ef23d16be50e61ee","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/physics/distributed_defect_closure.py","route_id":"route-716aea63eb4178e4","origin_key":"guard:perovskite_sim.physics.distributed_defect_closure.py:evaluate_energy_distributed_defect_closure:ae17a860395b","evidence_level":"source_guard_not_numerical_validation","source_line":536,"reason":"EnergyDistributedDefectClosureCapabilityError(f'unsupported energy distributions: {unsupported}')","scope":"evaluate_energy_distributed_defect_closure"}, +{"id":"guard-98494c76b0a2bd21","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/physics/distributed_defect_closure.py","route_id":"route-716aea63eb4178e4","origin_key":"guard:perovskite_sim.physics.distributed_defect_closure.py:evaluate_energy_distributed_defect_closure:bd04403f6f65","evidence_level":"source_guard_not_numerical_validation","source_line":606,"reason":"EnergyDistributedDefectClosureCapabilityError(f'energy-distributed source closure is unsupported for {source.name!r} ({source.distribution.kind}): {exc}')","scope":"evaluate_energy_distributed_defect_closure"}, +{"id":"guard-a15e88e0954e5b82","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/physics/distributed_defect_closure.py","route_id":"route-716aea63eb4178e4","origin_key":"guard:perovskite_sim.physics.distributed_defect_closure.py:evaluate_energy_distributed_defect_closure:ebcb6570a219","evidence_level":"source_guard_not_numerical_validation","source_line":527,"reason":"EnergyDistributedDefectClosureCapabilityError('energy-distributed closure requires unique named source species')","scope":"evaluate_energy_distributed_defect_closure"}, +{"id":"guard-ca86f65bcb87d4c3","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/physics/doping.py","route_id":"route-159eb00a9b62800b","origin_key":"guard:perovskite_sim.physics.doping.py:validate_doping_profile_params:85fd5bad45d4","evidence_level":"source_guard_not_numerical_validation","source_line":46,"reason":"ValueError('doping profile shape/decay length requires N_A_bulk or N_D_bulk')","scope":"validate_doping_profile_params"}, +{"id":"guard-4e2bbf72a0976446","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/physics/dynamic_defect_state.py","route_id":"route-a1ddb1d3142ac66a","origin_key":"guard:perovskite_sim.physics.dynamic_defect_state.py:DynamicBulkTrapEvaluation.__post_init__:6c0c07230dfa","evidence_level":"source_guard_not_numerical_validation","source_line":267,"reason":"DynamicBulkTrapStateError('unsupported dynamic evaluation version')","scope":"DynamicBulkTrapEvaluation.__post_init__"}, +{"id":"guard-d0f00bf31aa93cdf","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/physics/dynamic_defect_state.py","route_id":"route-a1ddb1d3142ac66a","origin_key":"guard:perovskite_sim.physics.dynamic_defect_state.py:DynamicBulkTrapLayout.__post_init__:06c7d938649a","evidence_level":"source_guard_not_numerical_validation","source_line":154,"reason":"DynamicBulkTrapStateError('unsupported dynamic trap layout version')","scope":"DynamicBulkTrapLayout.__post_init__"}, +{"id":"guard-46e25f083d9d3c5f","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/physics/dynamic_defect_state.py","route_id":"route-a1ddb1d3142ac66a","origin_key":"guard:perovskite_sim.physics.dynamic_defect_state.py:DynamicBulkTrapLayout.__post_init__:19d8d199346c","evidence_level":"source_guard_not_numerical_validation","source_line":131,"reason":"DynamicBulkTrapStateError('layout contains an unsupported transition')","scope":"DynamicBulkTrapLayout.__post_init__"}, +{"id":"guard-a0e16bf5a56e2ccd","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/physics/field_mobility.py","route_id":"route-f9d68986ba5bff64","origin_key":"guard:perovskite_sim.physics.field_mobility.py:linearize_field_mobility:8501e54dfa6d","evidence_level":"source_guard_not_numerical_validation","source_line":227,"reason":"ValueError('field-mobility linearization requires finite inputs and non-negative low-field mobility')","scope":"linearize_field_mobility"}, +{"id":"guard-9d80f1e1c7626664","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/physics/interface_plane.py","route_id":"route-637e7d01ee93a7e2","origin_key":"guard:perovskite_sim.physics.interface_plane.py:_interface_activity_steps:29e0019a2c25","evidence_level":"source_guard_not_numerical_validation","source_line":130,"reason":"ValueError('physical interface transport requires finite positive adjacent Nc and Nv data')","scope":"_interface_activity_steps"}, +{"id":"guard-c540180bf98a04db","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/physics/interface_plane.py","route_id":"route-637e7d01ee93a7e2","origin_key":"guard:perovskite_sim.physics.interface_plane.py:_interface_activity_steps:dfead60a4ea0","evidence_level":"source_guard_not_numerical_validation","source_line":120,"reason":"ValueError('physical interface transport requires adjacent Nc and Nv data')","scope":"_interface_activity_steps"}, +{"id":"guard-322b3466f939b3f0","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/physics/interface_plane.py","route_id":"route-637e7d01ee93a7e2","origin_key":"guard:perovskite_sim.physics.interface_plane.py:_interface_thermal_velocity:0e9fb1380686","evidence_level":"source_guard_not_numerical_validation","source_line":400,"reason":"ValueError('SCAPS thermionic transport requires finite positive adjacent thermal velocities')","scope":"_interface_thermal_velocity"}, +{"id":"guard-227d361029c72e5e","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/physics/interface_plane.py","route_id":"route-637e7d01ee93a7e2","origin_key":"guard:perovskite_sim.physics.interface_plane.py:solve_interface_states_live_qss:5015f9a73ff7","evidence_level":"source_guard_not_numerical_validation","source_line":1404,"reason":"ValueError('live QSS interface elimination requires physical band offsets')","scope":"solve_interface_states_live_qss"}, +{"id":"guard-5f7ff80a9aeed654","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/physics/multivalent_defect_closure.py","route_id":"route-0345e88ff9597357","origin_key":"guard:perovskite_sim.physics.multivalent_defect_closure.py:MultivalentDefectClosureResult.__post_init__:06fdd5f6f6fd","evidence_level":"source_guard_not_numerical_validation","source_line":152,"reason":"ValueError('closure requires aligned 2-5 state metadata')","scope":"MultivalentDefectClosureResult.__post_init__"}, +{"id":"guard-a1c25e732318299b","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/physics/optical_stack.py","route_id":"route-de685fc47e12df5e","origin_key":"guard:perovskite_sim.physics.optical_stack.py:_validate_graded_optics_activation:373d6bd59fd9","evidence_level":"source_guard_not_numerical_validation","source_line":49,"reason":"ValueError('graded_optics requires band_grading so optics and Eg/chi share the same composition coordinate')","scope":"_validate_graded_optics_activation"}, +{"id":"guard-b95ba15d6571bf81","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/physics/recombination.py","route_id":"route-d398307860e5c0dd","origin_key":"guard:perovskite_sim.physics.recombination.py:NeutralBulkDefectModel.__post_init__:b8e5cca1fb9f","evidence_level":"source_guard_not_numerical_validation","source_line":121,"reason":"ValueError('neutral bulk-defect model requires layer document hashes')","scope":"NeutralBulkDefectModel.__post_init__"}, +{"id":"guard-866bcb701b173898","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/physics/recombination.py","route_id":"route-d398307860e5c0dd","origin_key":"guard:perovskite_sim.physics.recombination.py:NeutralBulkDefectModel.__post_init__:e976627ad13b","evidence_level":"source_guard_not_numerical_validation","source_line":107,"reason":"ValueError('neutral bulk-defect model requires compiled species')","scope":"NeutralBulkDefectModel.__post_init__"}, +{"id":"guard-e6617580817a4d6e","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/physics/trap_kinetics.py","route_id":"route-960df0ca64e33313","origin_key":"guard:perovskite_sim.physics.trap_kinetics.py:TrapFrequencyResponse.__post_init__:66aade150022","evidence_level":"source_guard_not_numerical_validation","source_line":518,"reason":"TrapKineticsError('unsupported trap phasor convention')","scope":"TrapFrequencyResponse.__post_init__"}, +{"id":"guard-92d653d38eff3461","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/physics/trap_kinetics.py","route_id":"route-960df0ca64e33313","origin_key":"guard:perovskite_sim.physics.trap_kinetics.py:TrapFrequencyResponse.__post_init__:82608396bd9c","evidence_level":"source_guard_not_numerical_validation","source_line":515,"reason":"TrapKineticsError(f'unsupported charge transition {transition!r}')","scope":"TrapFrequencyResponse.__post_init__"}, +{"id":"guard-48cd95daa12597bd","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/physics/trap_kinetics.py","route_id":"route-960df0ca64e33313","origin_key":"guard:perovskite_sim.physics.trap_kinetics.py:TrapReservoirKinetics.__post_init__:f8148b2b2716","evidence_level":"source_guard_not_numerical_validation","source_line":168,"reason":"TrapKineticsError('unsupported trap reservoir kinetics schema')","scope":"TrapReservoirKinetics.__post_init__"}, +{"id":"guard-0f47ba21c2dac69b","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/physics/trap_kinetics.py","route_id":"route-960df0ca64e33313","origin_key":"guard:perovskite_sim.physics.trap_kinetics.py:TrapReservoirState.__post_init__:56b138e719ad","evidence_level":"source_guard_not_numerical_validation","source_line":254,"reason":"TrapKineticsError('unsupported trap reservoir state schema')","scope":"TrapReservoirState.__post_init__"}, +{"id":"guard-2870ff5ba55ec5a0","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/physics/trap_kinetics.py","route_id":"route-960df0ca64e33313","origin_key":"guard:perovskite_sim.physics.trap_kinetics.py:linearize_trap_kinetics:791c8bc29bb9","evidence_level":"source_guard_not_numerical_validation","source_line":600,"reason":"TrapKineticsCertificationError('frequency response requires a certified trap DC operating point')","scope":"linearize_trap_kinetics"}, +{"id":"guard-b9763fd0262f9c8d","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/physics/trap_kinetics.py","route_id":"route-960df0ca64e33313","origin_key":"guard:perovskite_sim.physics.trap_kinetics.py:solve_trap_frequency_response:82608396bd9c","evidence_level":"source_guard_not_numerical_validation","source_line":686,"reason":"TrapKineticsError(f'unsupported charge transition {transition!r}')","scope":"solve_trap_frequency_response"}, +{"id":"guard-10ea145e3bccd8ea","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/physics/trap_population_response.py","route_id":"route-46c0d51d5bd93915","origin_key":"guard:perovskite_sim.physics.trap_population_response.py:BulkDefectPopulationFrequencyResponse.__post_init__:26945fce20f1","evidence_level":"source_guard_not_numerical_validation","source_line":241,"reason":"TrapPopulationResponseError('bulk response requires a resolved charge transition')","scope":"BulkDefectPopulationFrequencyResponse.__post_init__"}, +{"id":"guard-ca73978d8f2c9fd5","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/physics/trap_population_response.py","route_id":"route-46c0d51d5bd93915","origin_key":"guard:perovskite_sim.physics.trap_population_response.py:BulkDefectPopulationFrequencyResponse.__post_init__:804f44f1fe4f","evidence_level":"source_guard_not_numerical_validation","source_line":365,"reason":"TrapPopulationResponseError('unsupported certification scope')","scope":"BulkDefectPopulationFrequencyResponse.__post_init__"}, +{"id":"guard-80218280571f21f5","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/physics/trap_population_response.py","route_id":"route-46c0d51d5bd93915","origin_key":"guard:perovskite_sim.physics.trap_population_response.py:BulkDefectPopulationFrequencyResponse.__post_init__:c7351dd63910","evidence_level":"source_guard_not_numerical_validation","source_line":367,"reason":"TrapPopulationResponseError('unsupported bulk population measure')","scope":"BulkDefectPopulationFrequencyResponse.__post_init__"}, +{"id":"guard-95255b468f063a0d","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/physics/trap_population_response.py","route_id":"route-46c0d51d5bd93915","origin_key":"guard:perovskite_sim.physics.trap_population_response.py:BulkDefectPopulationFrequencyResponse.__post_init__:f90deecad510","evidence_level":"source_guard_not_numerical_validation","source_line":369,"reason":"TrapPopulationResponseError('unsupported population response version')","scope":"BulkDefectPopulationFrequencyResponse.__post_init__"}, +{"id":"guard-2928edacf63e99bf","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/physics/trap_population_response.py","route_id":"route-46c0d51d5bd93915","origin_key":"guard:perovskite_sim.physics.trap_population_response.py:InterfaceTrapPopulationFrequencyResponse.__post_init__:2cc8cb7ea47b","evidence_level":"source_guard_not_numerical_validation","source_line":487,"reason":"TrapPopulationResponseError('unsupported interface population measure')","scope":"InterfaceTrapPopulationFrequencyResponse.__post_init__"}, +{"id":"guard-388864c9c582affa","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/physics/trap_population_response.py","route_id":"route-46c0d51d5bd93915","origin_key":"guard:perovskite_sim.physics.trap_population_response.py:InterfaceTrapPopulationFrequencyResponse.__post_init__:804f44f1fe4f","evidence_level":"source_guard_not_numerical_validation","source_line":479,"reason":"TrapPopulationResponseError('unsupported certification scope')","scope":"InterfaceTrapPopulationFrequencyResponse.__post_init__"}, +{"id":"guard-51a8f46e94158842","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/physics/trap_population_response.py","route_id":"route-46c0d51d5bd93915","origin_key":"guard:perovskite_sim.physics.trap_population_response.py:InterfaceTrapPopulationFrequencyResponse.__post_init__:864cd24c9ebf","evidence_level":"source_guard_not_numerical_validation","source_line":427,"reason":"TrapPopulationResponseError('interface response requires two electron and two hole reservoirs')","scope":"InterfaceTrapPopulationFrequencyResponse.__post_init__"}, +{"id":"guard-2e36b5e1110fa26d","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/physics/trap_population_response.py","route_id":"route-46c0d51d5bd93915","origin_key":"guard:perovskite_sim.physics.trap_population_response.py:InterfaceTrapPopulationFrequencyResponse.__post_init__:90ba7849231a","evidence_level":"source_guard_not_numerical_validation","source_line":483,"reason":"TrapPopulationResponseError('unsupported interface capture-flux order')","scope":"InterfaceTrapPopulationFrequencyResponse.__post_init__"}, +{"id":"guard-9df1f70d17ca9407","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/physics/trap_population_response.py","route_id":"route-46c0d51d5bd93915","origin_key":"guard:perovskite_sim.physics.trap_population_response.py:InterfaceTrapPopulationFrequencyResponse.__post_init__:921ffc59a6fb","evidence_level":"source_guard_not_numerical_validation","source_line":481,"reason":"TrapPopulationResponseError('unsupported interface reservoir order')","scope":"InterfaceTrapPopulationFrequencyResponse.__post_init__"}, +{"id":"guard-55729d4c2c82cd69","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/physics/trap_population_response.py","route_id":"route-46c0d51d5bd93915","origin_key":"guard:perovskite_sim.physics.trap_population_response.py:InterfaceTrapPopulationFrequencyResponse.__post_init__:f90deecad510","evidence_level":"source_guard_not_numerical_validation","source_line":491,"reason":"TrapPopulationResponseError('unsupported population response version')","scope":"InterfaceTrapPopulationFrequencyResponse.__post_init__"}, +{"id":"guard-99fbbadfe12d699d","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/physics/trap_population_response.py","route_id":"route-46c0d51d5bd93915","origin_key":"guard:perovskite_sim.physics.trap_population_response.py:solve_bulk_defect_population_frequency_response:221419f8d3ae","evidence_level":"source_guard_not_numerical_validation","source_line":514,"reason":"TrapPopulationResponseError('local bulk response requires a position-resolved species without a spatial_profile')","scope":"solve_bulk_defect_population_frequency_response"}, +{"id":"guard-042f5fb70d0b4ff0","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/physics/trap_population_response.py","route_id":"route-46c0d51d5bd93915","origin_key":"guard:perovskite_sim.physics.trap_population_response.py:solve_bulk_defect_population_frequency_response:4b791525d5b5","evidence_level":"source_guard_not_numerical_validation","source_line":519,"reason":"TrapPopulationResponseError('bulk response requires a named species')","scope":"solve_bulk_defect_population_frequency_response"}, +{"id":"guard-9ef96adef5f88e08","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/physics/trap_population_response.py","route_id":"route-46c0d51d5bd93915","origin_key":"guard:perovskite_sim.physics.trap_population_response.py:solve_two_sided_interface_trap_population_frequency_response:eba11b9d4907","evidence_level":"source_guard_not_numerical_validation","source_line":776,"reason":"TrapPopulationResponseError('interface trap response requires degeneracy=1.0')","scope":"solve_two_sided_interface_trap_population_frequency_response"}, +{"id":"guard-aa7b91d7ff7fb4a3","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/physics/trap_transient.py","route_id":"route-c8e8f31424354d46","origin_key":"guard:perovskite_sim.physics.trap_transient.py:TrapTransientEvaluation.__post_init__:dbcbe9c71c3b","evidence_level":"source_guard_not_numerical_validation","source_line":216,"reason":"TrapTransientError('unsupported dynamic trap transient version')","scope":"TrapTransientEvaluation.__post_init__"}, +{"id":"guard-e6640e0e5c2844e0","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/physics/trap_transient.py","route_id":"route-c8e8f31424354d46","origin_key":"guard:perovskite_sim.physics.trap_transient.py:_transition:6f55546a8d1a","evidence_level":"source_guard_not_numerical_validation","source_line":54,"reason":"TrapTransientError('dynamic charge closure requires an acceptor or donor transition')","scope":"_transition"}, +{"id":"guard-c0b938d9638f10eb","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/physics/tunneling_channel_device.py","route_id":"route-90540c4c93c6e925","origin_key":"guard:perovskite_sim.physics.tunneling_channel_device.py:compile_tunnelling_channels:50a3857bab27","evidence_level":"source_guard_not_numerical_validation","source_line":130,"reason":"TunnellingChannelCapabilityError(f'intraband device transport requires one isolated material conduction-band spike; found {len(candidates)}')","scope":"compile_tunnelling_channels"}, +{"id":"guard-8f669626af2726fb","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/physics/tunneling_channel_device.py","route_id":"route-90540c4c93c6e925","origin_key":"guard:perovskite_sim.physics.tunneling_channel_device.py:compile_tunnelling_channels:e0adadeb3068","evidence_level":"source_guard_not_numerical_validation","source_line":121,"reason":"TunnellingChannelCapabilityError('resolved intraband barrier requires at least three barrier nodes')","scope":"compile_tunnelling_channels"}, +{"id":"guard-4583549200bed539","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/physics/tunneling_channel_device.py","route_id":"route-90540c4c93c6e925","origin_key":"guard:perovskite_sim.physics.tunneling_channel_device.py:evaluate_tunnelling_channels:212cfff6b15e","evidence_level":"source_guard_not_numerical_validation","source_line":230,"reason":"TunnellingChannelCapabilityError('intraband channel requires compiled material and reservoir geometry')","scope":"evaluate_tunnelling_channels"}, +{"id":"guard-852038ef99ce8f86","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/physics/tunneling_channels.py","route_id":"route-5e56613ad2fca2db","origin_key":"guard:perovskite_sim.physics.tunneling_channels.py:band_to_band_flux:9fbc0a95ccc3","evidence_level":"source_guard_not_numerical_validation","source_line":442,"reason":"TunnellingChannelError('band-to-band tunnelling requires a positive gap everywhere')","scope":"band_to_band_flux"}, +{"id":"guard-3f22172814c14b1f","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/physics/tunneling_channels.py","route_id":"route-5e56613ad2fca2db","origin_key":"guard:perovskite_sim.physics.tunneling_channels.py:contact_tunnelling_flux:210fc1abef34","evidence_level":"source_guard_not_numerical_validation","source_line":741,"reason":"TunnellingChannelError('contact tunnelling requires a barrier above the contact level')","scope":"contact_tunnelling_flux"}, +{"id":"guard-670e42342972c067","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/physics/tunneling_channels.py","route_id":"route-5e56613ad2fca2db","origin_key":"guard:perovskite_sim.physics.tunneling_channels.py:intraband_flux:b125e99e22d8","evidence_level":"source_guard_not_numerical_validation","source_line":540,"reason":"TunnellingChannelError('intraband tunnelling requires a local barrier spike at this face')","scope":"intraband_flux"}, +{"id":"guard-f76c1b9393ca6a47","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/physics/tunneling_channels.py","route_id":"route-5e56613ad2fca2db","origin_key":"guard:perovskite_sim.physics.tunneling_channels.py:intraband_path_flux:b4f1a70b60bc","evidence_level":"source_guard_not_numerical_validation","source_line":334,"reason":"TunnellingChannelError('resolved intraband device transport currently requires one electron channel')","scope":"intraband_path_flux"}, +{"id":"guard-1f84d29c830bcd8d","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/physics/tunneling_channels.py","route_id":"route-5e56613ad2fca2db","origin_key":"guard:perovskite_sim.physics.tunneling_channels.py:intraband_path_flux:ce76c9ec6a6b","evidence_level":"source_guard_not_numerical_validation","source_line":347,"reason":"TunnellingChannelError('barrier identity requires its physical boundaries on the nodal grid')","scope":"intraband_path_flux"}, +{"id":"guard-948591d3b1a7432f","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface.py","route_id":"route-ebfb46505dfae15d","origin_key":"guard:perovskite_sim.physics.two_sided_interface.py:solve_material_equilibrium_referenced_two_sided_interfaces_qss:1830262848e4","evidence_level":"source_guard_not_numerical_validation","source_line":2065,"reason":"ValueError(f'equilibrium-referenced two_sided_trace requires interface_transport_model={FERMI_DIRAC_RICHARDSON!r}')","scope":"solve_material_equilibrium_referenced_two_sided_interfaces_qss"}, +{"id":"guard-568970e2202a42d5","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface.py","route_id":"route-ebfb46505dfae15d","origin_key":"guard:perovskite_sim.physics.two_sided_interface.py:solve_material_equilibrium_referenced_two_sided_interfaces_qss:5121613e519f","evidence_level":"source_guard_not_numerical_validation","source_line":2096,"reason":"ValueError('two-sided interface transport requires nodal diffusivity')","scope":"solve_material_equilibrium_referenced_two_sided_interfaces_qss"}, +{"id":"guard-b5dc63184913a61b","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface.py","route_id":"route-ebfb46505dfae15d","origin_key":"guard:perovskite_sim.physics.two_sided_interface.py:solve_material_equilibrium_referenced_two_sided_interfaces_qss:61608f7bfa22","evidence_level":"source_guard_not_numerical_validation","source_line":2104,"reason":"ValueError('two-sided interface transport requires DOS and A-star data')","scope":"solve_material_equilibrium_referenced_two_sided_interfaces_qss"}, +{"id":"guard-97908c2f691502d7","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface.py","route_id":"route-ebfb46505dfae15d","origin_key":"guard:perovskite_sim.physics.two_sided_interface.py:solve_material_fixed_occupancy_two_sided_interfaces:5121613e519f","evidence_level":"source_guard_not_numerical_validation","source_line":2266,"reason":"ValueError('two-sided interface transport requires nodal diffusivity')","scope":"solve_material_fixed_occupancy_two_sided_interfaces"}, +{"id":"guard-dba1fbbea7e49e3d","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface.py","route_id":"route-ebfb46505dfae15d","origin_key":"guard:perovskite_sim.physics.two_sided_interface.py:solve_material_fixed_occupancy_two_sided_interfaces:61608f7bfa22","evidence_level":"source_guard_not_numerical_validation","source_line":2274,"reason":"ValueError('two-sided interface transport requires DOS and A-star data')","scope":"solve_material_fixed_occupancy_two_sided_interfaces"}, +{"id":"guard-23261a0330203aab","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface.py","route_id":"route-ebfb46505dfae15d","origin_key":"guard:perovskite_sim.physics.two_sided_interface.py:solve_material_fixed_occupancy_two_sided_interfaces:e7c44dde9f85","evidence_level":"source_guard_not_numerical_validation","source_line":2234,"reason":"ValueError(f'fixed-occupancy two_sided_trace requires interface_transport_model={FERMI_DIRAC_RICHARDSON!r}')","scope":"solve_material_fixed_occupancy_two_sided_interfaces"}, +{"id":"guard-6400566a01cb5928","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface.py","route_id":"route-ebfb46505dfae15d","origin_key":"guard:perovskite_sim.physics.two_sided_interface.py:solve_material_two_sided_interfaces_qss:3228878855d7","evidence_level":"source_guard_not_numerical_validation","source_line":1946,"reason":"ValueError(f'two_sided_trace currently requires interface_transport_model={FERMI_DIRAC_RICHARDSON!r}')","scope":"solve_material_two_sided_interfaces_qss"}, +{"id":"guard-e800e7bb037883de","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface.py","route_id":"route-ebfb46505dfae15d","origin_key":"guard:perovskite_sim.physics.two_sided_interface.py:solve_material_two_sided_interfaces_qss:5121613e519f","evidence_level":"source_guard_not_numerical_validation","source_line":1980,"reason":"ValueError('two-sided interface transport requires nodal diffusivity')","scope":"solve_material_two_sided_interfaces_qss"}, +{"id":"guard-0f44880986c44b1a","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface.py","route_id":"route-ebfb46505dfae15d","origin_key":"guard:perovskite_sim.physics.two_sided_interface.py:solve_material_two_sided_interfaces_qss:61608f7bfa22","evidence_level":"source_guard_not_numerical_validation","source_line":1988,"reason":"ValueError('two-sided interface transport requires DOS and A-star data')","scope":"solve_material_two_sided_interfaces_qss"}, +{"id":"guard-b47bd0e7c39d97e7","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface_compensated.py","route_id":"route-681472f26b407b41","origin_key":"guard:perovskite_sim.physics.two_sided_interface_compensated.py:_bernoulli_values_and_derivatives:7b6f1501e5af","evidence_level":"source_guard_not_numerical_validation","source_line":226,"reason":"UnsupportedCompensatedInterfaceDomain('Bernoulli argument exceeds the compensated domain')","scope":"_bernoulli_values_and_derivatives"}, +{"id":"guard-1b2e50bdcba01c56","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface_compensated.py","route_id":"route-681472f26b407b41","origin_key":"guard:perovskite_sim.physics.two_sided_interface_compensated.py:_inverse_half:8240bb2205ac","evidence_level":"source_guard_not_numerical_validation","source_line":270,"reason":"UnsupportedCompensatedInterfaceDomain('compensated local carrier law does not implement the Sommerfeld inverse branch')","scope":"_inverse_half"}, +{"id":"guard-08a7bf1d885c38aa","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface_compensated.py","route_id":"route-681472f26b407b41","origin_key":"guard:perovskite_sim.physics.two_sided_interface_compensated.py:_supplies:4a0b4510623d","evidence_level":"source_guard_not_numerical_validation","source_line":303,"reason":"UnsupportedCompensatedInterfaceDomain('compensated local carrier law only covers the frozen twelve-term Fermi-one branch')","scope":"_supplies"}, +{"id":"guard-94968b4144720347","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/scaps_compat/distributed_defects.py","route_id":"route-2cbeb7481b7e8b7a","origin_key":"guard:perovskite_sim.scaps_compat.distributed_defects.py:ScapsDistributedDefectConversion.__post_init__:37545f1c5ae4","evidence_level":"source_guard_not_numerical_validation","source_line":236,"reason":"ValueError('conversion evidence requires a source density')","scope":"ScapsDistributedDefectConversion.__post_init__"}, +{"id":"guard-aeeb5c818c38913b","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/scaps_compat/distributed_defects.py","route_id":"route-2cbeb7481b7e8b7a","origin_key":"guard:perovskite_sim.scaps_compat.distributed_defects.py:convert_scaps_distributed_bulk_defect:bd0abd97bd90","evidence_level":"source_guard_not_numerical_validation","source_line":464,"reason":"ExplicitDefectSchemaError(f'{where}: {distribution_kind} requires {support_field}')","scope":"convert_scaps_distributed_bulk_defect"}, +{"id":"guard-331a5eb4a37f4461","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/screening/evaluation_report.py","route_id":"route-5dbec4a76395b5fc","origin_key":"guard:perovskite_sim.screening.evaluation_report.py:_validate_production_config:11a10cb2d5f4","evidence_level":"source_guard_not_numerical_validation","source_line":418,"reason":"ReportQualityError('Production report requires a SolarLab config with layers')","scope":"_validate_production_config"}, +{"id":"guard-d448a8a338e87933","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/screening/evaluation_report.py","route_id":"route-5dbec4a76395b5fc","origin_key":"guard:perovskite_sim.screening.evaluation_report.py:_validate_production_config:149be953f2ca","evidence_level":"source_guard_not_numerical_validation","source_line":415,"reason":"ReportQualityError('Production report requires activate_bandgap=True in the generated SolarLab config source')","scope":"_validate_production_config"}, +{"id":"guard-f5e61d7dc39493bc","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/screening/evaluation_report.py","route_id":"route-5dbec4a76395b5fc","origin_key":"guard:perovskite_sim.screening.evaluation_report.py:_validate_production_config:4e51895d9dcb","evidence_level":"source_guard_not_numerical_validation","source_line":437,"reason":"ReportQualityError('Production report requires absorber optical_material for EQE/TMM provenance')","scope":"_validate_production_config"}, +{"id":"guard-5a77894a3eba3e01","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/screening/evaluation_report.py","route_id":"route-5dbec4a76395b5fc","origin_key":"guard:perovskite_sim.screening.evaluation_report.py:_validate_production_config:e68f02e80a5c","evidence_level":"source_guard_not_numerical_validation","source_line":432,"reason":"ReportQualityError('Production report requires chi and positive Eg on every electrical layer; invalid layers: ' + ', '.join(invalid))","scope":"_validate_production_config"}, +{"id":"guard-42236af75a305839","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/screening/solarscale.py","route_id":"route-654ffdaede509b77","origin_key":"guard:perovskite_sim.screening.solarscale.py:_apply_sweep_values:206755a2e721","evidence_level":"source_guard_not_numerical_validation","source_line":1250,"reason":"ValueError(f'Unsupported sweep target {target!r}')","scope":"_apply_sweep_values"}, +{"id":"guard-a201641707a93a64","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/screening/solarscale.py","route_id":"route-654ffdaede509b77","origin_key":"guard:perovskite_sim.screening.solarscale.py:_validate_band_aligned_template:d3eb3631eba5","evidence_level":"source_guard_not_numerical_validation","source_line":1463,"reason":"ValueError('--activate-bandgap requires a fully band-aligned template with chi and positive Eg on every electrical layer; invalid layers: ' + ', '.join(invalid))","scope":"_validate_band_aligned_template"}, +{"id":"guard-99603a08a6224a53","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/solver/bulk_trap_equilibrium.py","route_id":"route-1129c9e5b90696a0","origin_key":"guard:perovskite_sim.solver.bulk_trap_equilibrium.py:_density_state:faea82260b5e","evidence_level":"source_guard_not_numerical_validation","source_line":98,"reason":"ValueError('bulk-trap equilibrium requires physical DOS arrays')","scope":"_density_state"}, +{"id":"guard-13e6147e62d2a962","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/solver/bulk_trap_equilibrium.py","route_id":"route-1129c9e5b90696a0","origin_key":"guard:perovskite_sim.solver.bulk_trap_equilibrium.py:solve_bulk_trap_pn_equilibrium:1b46d4f2ae92","evidence_level":"source_guard_not_numerical_validation","source_line":220,"reason":"ValueError('bulk-trap PN equilibrium requires material parameters on both layers')","scope":"solve_bulk_trap_pn_equilibrium"}, +{"id":"guard-f0e0bf1beeddfaca","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/solver/bulk_trap_equilibrium.py","route_id":"route-1129c9e5b90696a0","origin_key":"guard:perovskite_sim.solver.bulk_trap_equilibrium.py:solve_bulk_trap_pn_equilibrium:7a99c3b63b6c","evidence_level":"source_guard_not_numerical_validation","source_line":218,"reason":"ValueError('bulk-trap PN equilibrium requires exactly two layers')","scope":"solve_bulk_trap_pn_equilibrium"}, +{"id":"guard-500a06ffc02031cd","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/solver/bulk_trap_equilibrium.py","route_id":"route-1129c9e5b90696a0","origin_key":"guard:perovskite_sim.solver.bulk_trap_equilibrium.py:solve_bulk_trap_pn_equilibrium:ea988bedddd0","evidence_level":"source_guard_not_numerical_validation","source_line":234,"reason":"ValueError('bulk-trap PN equilibrium requires p-left and n-right')","scope":"solve_bulk_trap_pn_equilibrium"}, +{"id":"guard-ef71f0de53d5c360","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/solver/dae_dual_ion_integrator.py","route_id":"route-fb0723324262c843","origin_key":"guard:perovskite_sim.solver.dae_dual_ion_integrator.py:_validate_initial_condition:9e61e69f3491","evidence_level":"source_guard_not_numerical_validation","source_line":340,"reason":"ValueError('initial dual-ion DAE condition is not certified')","scope":"_validate_initial_condition"}, +{"id":"guard-034ed189d60d47f0","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/solver/dae_integrator.py","route_id":"route-902dc4ac38f019c9","origin_key":"guard:perovskite_sim.solver.dae_integrator.py:_validate_initial_condition:f82eb76d9a10","evidence_level":"source_guard_not_numerical_validation","source_line":201,"reason":"ValueError('initial DAE condition is not certified')","scope":"_validate_initial_condition"}, +{"id":"guard-b1ac8ff4039dbd84","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/solver/dae_interface_integrator.py","route_id":"route-d19a044988a2dbd6","origin_key":"guard:perovskite_sim.solver.dae_interface_integrator.py:_validate_initial_condition:7e852309c123","evidence_level":"source_guard_not_numerical_validation","source_line":205,"reason":"ValueError('initial algebraic-interface DAE condition is not certified')","scope":"_validate_initial_condition"}, +{"id":"guard-0a98820e1071e000","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/solver/dae_interface_jacobian.py","route_id":"route-10298ac60ba2589c","origin_key":"guard:perovskite_sim.solver.dae_interface_jacobian.py:_interface_srh_linearization:ccc71bb29cb2","evidence_level":"source_guard_not_numerical_validation","source_line":176,"reason":"AlgebraicInterfaceJacobianCapabilityError('the analytic interface tangent requires exactly one capture pair')","scope":"_interface_srh_linearization"}, +{"id":"guard-2e90e18456cc5bf7","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/solver/dae_interface_jacobian.py","route_id":"route-10298ac60ba2589c","origin_key":"guard:perovskite_sim.solver.dae_interface_jacobian.py:linearize_algebraic_interface_response:09d9dbeae900","evidence_level":"source_guard_not_numerical_validation","source_line":278,"reason":"AlgebraicInterfaceJacobianCapabilityError('the tangent requires unpartitioned physical Fermi-Richardson transport')","scope":"linearize_algebraic_interface_response"}, +{"id":"guard-76eea828f301daae","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/solver/dae_interface_states.py","route_id":"route-d19a044988a2dbd6","origin_key":"guard:perovskite_sim.solver.dae_interface_states.py:prepare_algebraic_interface_material:11fdb059de0d","evidence_level":"source_guard_not_numerical_validation","source_line":588,"reason":"DAECapabilityError('dynamic interface states are not supported')","scope":"prepare_algebraic_interface_material"}, +{"id":"guard-5bd4567d44e7d6b9","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/solver/dae_interface_states.py","route_id":"route-d19a044988a2dbd6","origin_key":"guard:perovskite_sim.solver.dae_interface_states.py:prepare_algebraic_interface_material:6eb499119ba4","evidence_level":"source_guard_not_numerical_validation","source_line":590,"reason":"DAECapabilityError('two-sided trace geometry is not supported')","scope":"prepare_algebraic_interface_material"}, +{"id":"guard-a503bfde416ecb0b","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/solver/dae_ion_integrator.py","route_id":"route-fb0723324262c843","origin_key":"guard:perovskite_sim.solver.dae_ion_integrator.py:_validate_initial_condition:7a5ea649f0e1","evidence_level":"source_guard_not_numerical_validation","source_line":285,"reason":"ValueError('initial single-ion DAE condition is not certified')","scope":"_validate_initial_condition"}, +{"id":"guard-f502e0a5b065d678","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/solver/dae_ion_interface_integrator.py","route_id":"route-5ae54ca672a8ba3c","origin_key":"guard:perovskite_sim.solver.dae_ion_interface_integrator.py:_validate_initial_condition:fef72483402a","evidence_level":"source_guard_not_numerical_validation","source_line":318,"reason":"ValueError('initial ion-interface DAE condition is not certified')","scope":"_validate_initial_condition"}, +{"id":"guard-7c529de729cf9ae8","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/solver/degenerate_equilibrium.py","route_id":"route-0064c8f5583b5846","origin_key":"guard:perovskite_sim.solver.degenerate_equilibrium.py:_density_state:d92454c5e332","evidence_level":"source_guard_not_numerical_validation","source_line":197,"reason":"ValueError('discrete-level equilibrium requires dopant parameter arrays')","scope":"_density_state"}, +{"id":"guard-49b1466bbe02df86","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/solver/degenerate_equilibrium.py","route_id":"route-0064c8f5583b5846","origin_key":"guard:perovskite_sim.solver.degenerate_equilibrium.py:solve_degenerate_pn_equilibrium:9eb6d461620d","evidence_level":"source_guard_not_numerical_validation","source_line":403,"reason":"ValueError('degenerate PN equilibrium requires exactly two layers')","scope":"solve_degenerate_pn_equilibrium"}, +{"id":"guard-269035690dcf5a2b","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/solver/degenerate_equilibrium.py","route_id":"route-0064c8f5583b5846","origin_key":"guard:perovskite_sim.solver.degenerate_equilibrium.py:solve_degenerate_pn_equilibrium:a1967f8fa273","evidence_level":"source_guard_not_numerical_validation","source_line":408,"reason":"ValueError('degenerate PN equilibrium requires p-left and n-right')","scope":"solve_degenerate_pn_equilibrium"}, +{"id":"guard-37c0b37e8b1089b0","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/solver/mol.py","route_id":"route-4e8545961ec9f79c","origin_key":"guard:perovskite_sim.solver.mol.py:MaterialArrays.carrier_params:0e97301921b8","evidence_level":"source_guard_not_numerical_validation","source_line":567,"reason":"BulkCarrierStatisticsCapabilityError('Fermi-Dirac carrier transport requires physical DOS arrays')","scope":"MaterialArrays.carrier_params"}, +{"id":"guard-0f499f03349b1f38","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/solver/mol.py","route_id":"route-4e8545961ec9f79c","origin_key":"guard:perovskite_sim.solver.mol.py:_compile_monovalent_bulk_defects:4a0ae65a1d74","evidence_level":"source_guard_not_numerical_validation","source_line":1075,"reason":"ExplicitDefectCapabilityError(f'DEF-3 QF/DC requires ni^2=Nc*Nv*exp(-Eg/kT) on every explicit node in {layer_id}; maximum relative mismatch={relative_intrinsic_mismatch:.6g}')","scope":"_compile_monovalent_bulk_defects"}, +{"id":"guard-7931dc0afb1e0a56","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/solver/mol.py","route_id":"route-4e8545961ec9f79c","origin_key":"guard:perovskite_sim.solver.mol.py:_compile_multivalent_bulk_defects:3094ee39b211","evidence_level":"source_guard_not_numerical_validation","source_line":1218,"reason":"ExplicitDefectCapabilityError(f'multivalent QF/DC requires ni^2=Nc*Nv*exp(-Eg/Vt); relative mismatch={relative_intrinsic_mismatch:.6g} in {layer_id}')","scope":"_compile_multivalent_bulk_defects"}, +{"id":"guard-9e0b78ecad3eacb4","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/solver/mol.py","route_id":"route-4e8545961ec9f79c","origin_key":"guard:perovskite_sim.solver.mol.py:_compile_multivalent_bulk_defects:cdb3dd4d1666","evidence_level":"source_guard_not_numerical_validation","source_line":1189,"reason":"ExplicitDefectCapabilityError(f\"D7-E1 multivalent QF/DC requires uniform finite positive {', '.join(invalid)} in {layer_id}; graded v4 regions require a separately certified node-local compiler\")","scope":"_compile_multivalent_bulk_defects"}, +{"id":"guard-aa1ae98f84886540","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/solver/mol.py","route_id":"route-4e8545961ec9f79c","origin_key":"guard:perovskite_sim.solver.mol.py:_compile_multivalent_bulk_defects:d0da63c8620c","evidence_level":"source_guard_not_numerical_validation","source_line":1204,"reason":"ExplicitDefectCapabilityError(f'D7-E1 multivalent QF/DC requires a uniform finite electron affinity in {layer_id}; graded v4 regions require a separately certified node-local compiler')","scope":"_compile_multivalent_bulk_defects"}, +{"id":"guard-af682fb9bfa7a2c7","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/solver/mol.py","route_id":"route-4e8545961ec9f79c","origin_key":"guard:perovskite_sim.solver.mol.py:_compile_neutral_bulk_defects:ff41406e8e92","evidence_level":"source_guard_not_numerical_validation","source_line":924,"reason":"ExplicitDefectCapabilityError(f'DEF-1 explicit neutral SRH requires a uniform positive band gap and intrinsic density in {layer_id}; spatial grading starts at D3')","scope":"_compile_neutral_bulk_defects"}, +{"id":"guard-c942c970c58ee5bb","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/solver/mol.py","route_id":"route-4e8545961ec9f79c","origin_key":"guard:perovskite_sim.solver.mol.py:build_material_arrays:2840564cfead","evidence_level":"source_guard_not_numerical_validation","source_line":1265,"reason":"ExplicitDefectCapabilityError(f'unsupported explicit bulk-defect models: {unsupported_models}')","scope":"build_material_arrays"}, +{"id":"guard-eb8f395ee6fda8f8","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/solver/mol.py","route_id":"route-4e8545961ec9f79c","origin_key":"guard:perovskite_sim.solver.mol.py:build_material_arrays:308c60bfa470","evidence_level":"source_guard_not_numerical_validation","source_line":1558,"reason":"BulkCarrierStatisticsCapabilityError('research degenerate transport requires material parameters and one carrier-statistics/dopant-ionization/BGN law on every electrical layer')","scope":"build_material_arrays"}, +{"id":"guard-928c18b6c47982b7","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/solver/mol.py","route_id":"route-4e8545961ec9f79c","origin_key":"guard:perovskite_sim.solver.mol.py:build_material_arrays:877a218295a9","evidence_level":"source_guard_not_numerical_validation","source_line":1478,"reason":"ExplicitDefectCapabilityError('qf_dc explicit-defect charge closure requires at least one acceptor, donor, energy-distributed, spatially graded, or multivalent species')","scope":"build_material_arrays"}, +{"id":"guard-f5b33a2a20ee0e1e","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/solver/mol.py","route_id":"route-4e8545961ec9f79c","origin_key":"guard:perovskite_sim.solver.mol.py:build_material_arrays:8e2890810471","evidence_level":"source_guard_not_numerical_validation","source_line":1467,"reason":"ExplicitDefectCapabilityError('DEF-1 explicit execution accepts neutral species only in its single-level form; charged, energy-distributed, spatially graded, or multivalent execution requires the guarded QF/DC closure. Activated layers: ' + ', '.join(explicit_qf_layers))","scope":"build_material_arrays"}, +{"id":"guard-8cb455965ec760fa","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/solver/mol.py","route_id":"route-4e8545961ec9f79c","origin_key":"guard:perovskite_sim.solver.mol.py:build_material_arrays:ada798528065","evidence_level":"source_guard_not_numerical_validation","source_line":2144,"reason":"BulkTrapChargeCapabilityError('research bulk-trap equilibrium requires ni, Nc, Nv, and Eg to satisfy the same Maxwell-Boltzmann mass-action law')","scope":"build_material_arrays"}, +{"id":"guard-3cbae1da872f028c","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/solver/mol.py","route_id":"route-4e8545961ec9f79c","origin_key":"guard:perovskite_sim.solver.mol.py:build_material_arrays:c884cfb9411d","evidence_level":"source_guard_not_numerical_validation","source_line":1532,"reason":"BulkTrapChargeCapabilityError('research bulk-trap equilibrium requires an explicit bulk_trap_distribution on every electrical layer')","scope":"build_material_arrays"}, +{"id":"guard-011951e53a824a9b","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/solver/mol.py","route_id":"route-4e8545961ec9f79c","origin_key":"guard:perovskite_sim.solver.mol.py:build_material_arrays:ca024d6715cc","evidence_level":"source_guard_not_numerical_validation","source_line":1511,"reason":"ExplicitDefectCapabilityError('explicit-defect QF/DC requires one carrier state per node; het_recomb_despike feeds recombination different densities than the Poisson charge closure')","scope":"build_material_arrays"}, +{"id":"guard-7a465664edee5dc4","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/solver/mol.py","route_id":"route-4e8545961ec9f79c","origin_key":"guard:perovskite_sim.solver.mol.py:build_material_arrays:efb78cec4d07","evidence_level":"source_guard_not_numerical_validation","source_line":1673,"reason":"BulkTrapChargeCapabilityError('research bulk-trap equilibrium requires material parameters on every electrical layer')","scope":"build_material_arrays"}, +{"id":"guard-67926ea97e15d921","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/solver/mol.py","route_id":"route-4e8545961ec9f79c","origin_key":"guard:perovskite_sim.solver.mol.py:run_transient:84cd392f02d9","evidence_level":"source_guard_not_numerical_validation","source_line":3817,"reason":"ValueError('supplied density Jacobian requires density coordinates and no RHS regularization')","scope":"run_transient"}, +{"id":"guard-db75872c2129301e","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/solver/numerical_diagnostics.py","route_id":"route-c393f0eb296301f6","origin_key":"guard:perovskite_sim.solver.numerical_diagnostics.py:LogDensityCoordinateTransform.__init__:2b83c62ae12b","evidence_level":"source_guard_not_numerical_validation","source_line":237,"reason":"LogDensityCoordinateError('research_log_density requires a finite initial state')","scope":"LogDensityCoordinateTransform.__init__"}, +{"id":"guard-552f174d39f8825a","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/solver/numerical_diagnostics.py","route_id":"route-c393f0eb296301f6","origin_key":"guard:perovskite_sim.solver.numerical_diagnostics.py:LogDensityCoordinateTransform.__init__:7681704dac52","evidence_level":"source_guard_not_numerical_validation","source_line":241,"reason":"LogDensityCoordinateError('research_log_density requires every active initial density to be strictly positive')","scope":"LogDensityCoordinateTransform.__init__"}, +{"id":"guard-7c0b13811c4d20c4","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/solver/trap_transient.py","route_id":"route-eca4a978bb80bc1e","origin_key":"guard:perovskite_sim.solver.trap_transient.py:LocalTrapTransientResult.__post_init__:41b693d4da62","evidence_level":"source_guard_not_numerical_validation","source_line":136,"reason":"TrapTransientError('local certified solve requires an analytic Jacobian')","scope":"LocalTrapTransientResult.__post_init__"}, +{"id":"guard-1171c735c3202f8c","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/twod/experiments/jv_protocol_2d.py","route_id":"route-f9fdf98fcf51218e","origin_key":"guard:perovskite_sim.twod.experiments.jv_protocol_2d.py:JV2DAtolProtocol.__post_init__:018f0d7f5197","evidence_level":"source_guard_not_numerical_validation","source_line":137,"reason":"ValueError(f'componentwise atol mode requires {name}')","scope":"JV2DAtolProtocol.__post_init__"}, +{"id":"guard-3e769f2f9aeed830","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/twod/experiments/jv_protocol_2d.py","route_id":"route-f9fdf98fcf51218e","origin_key":"guard:perovskite_sim.twod.experiments.jv_protocol_2d.py:JV2DAtolProtocol.__post_init__:6a69f52a08c9","evidence_level":"source_guard_not_numerical_validation","source_line":131,"reason":"ValueError(f'unsupported 2D atol mode {self.mode!r}')","scope":"JV2DAtolProtocol.__post_init__"}, +{"id":"guard-7ec5251694efaf2a","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/twod/experiments/jv_protocol_2d.py","route_id":"route-f9fdf98fcf51218e","origin_key":"guard:perovskite_sim.twod.experiments.jv_protocol_2d.py:JV2DAtolProtocol.__post_init__:81a673ac78ad","evidence_level":"source_guard_not_numerical_validation","source_line":121,"reason":"ValueError('scalar atol mode requires scalar_atol')","scope":"JV2DAtolProtocol.__post_init__"}, +{"id":"guard-ce3307d20c549dfe","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/twod/experiments/jv_protocol_2d.py","route_id":"route-f9fdf98fcf51218e","origin_key":"guard:perovskite_sim.twod.experiments.jv_protocol_2d.py:JV2DProtocol.__post_init__:00659d9498f6","evidence_level":"source_guard_not_numerical_validation","source_line":343,"reason":"ValueError(f'unsupported lateral_bc {self.lateral_bc!r}')","scope":"JV2DProtocol.__post_init__"}, +{"id":"guard-39302120c2717087","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/twod/experiments/jv_protocol_2d.py","route_id":"route-f9fdf98fcf51218e","origin_key":"guard:perovskite_sim.twod.experiments.jv_protocol_2d.py:JV2DProtocol.__post_init__:06e0873a4e5e","evidence_level":"source_guard_not_numerical_validation","source_line":364,"reason":"ValueError('mobile-ion 2D J-V requires Neumann-x topology')","scope":"JV2DProtocol.__post_init__"}, +{"id":"guard-0ebb2dc6359abaae","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/twod/experiments/jv_protocol_2d.py","route_id":"route-f9fdf98fcf51218e","origin_key":"guard:perovskite_sim.twod.experiments.jv_protocol_2d.py:JV2DProtocol.__post_init__:086599915815","evidence_level":"source_guard_not_numerical_validation","source_line":366,"reason":"ValueError('mobile-ion 2D J-V requires ohmic contacts')","scope":"JV2DProtocol.__post_init__"}, +{"id":"guard-71edc48e8a9c0a91","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/twod/experiments/jv_protocol_2d.py","route_id":"route-f9fdf98fcf51218e","origin_key":"guard:perovskite_sim.twod.experiments.jv_protocol_2d.py:JV2DProtocol.__post_init__:493283daf195","evidence_level":"source_guard_not_numerical_validation","source_line":362,"reason":"ValueError('mobile-ion 2D J-V requires blocking ion boundaries')","scope":"JV2DProtocol.__post_init__"}, +{"id":"guard-4a440d8b3755e66a","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/twod/experiments/jv_protocol_2d.py","route_id":"route-f9fdf98fcf51218e","origin_key":"guard:perovskite_sim.twod.experiments.jv_protocol_2d.py:JV2DProtocol.__post_init__:5a787f52235a","evidence_level":"source_guard_not_numerical_validation","source_line":298,"reason":"ValueError('dark 2D J-V requires dark-equilibrium initial state')","scope":"JV2DProtocol.__post_init__"}, +{"id":"guard-5a1b82d9e08dceea","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/twod/experiments/jv_protocol_2d.py","route_id":"route-f9fdf98fcf51218e","origin_key":"guard:perovskite_sim.twod.experiments.jv_protocol_2d.py:JV2DProtocol.__post_init__:827ebbe2cab1","evidence_level":"source_guard_not_numerical_validation","source_line":347,"reason":"ValueError(f'unsupported interface_srh {self.interface_srh!r}')","scope":"JV2DProtocol.__post_init__"}, +{"id":"guard-17a109e1eae1748a","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/twod/experiments/jv_protocol_2d.py","route_id":"route-f9fdf98fcf51218e","origin_key":"guard:perovskite_sim.twod.experiments.jv_protocol_2d.py:JV2DProtocol.__post_init__:85b108a83d25","evidence_level":"source_guard_not_numerical_validation","source_line":349,"reason":"ValueError('two-sided interface SRH requires Neumann-x topology')","scope":"JV2DProtocol.__post_init__"}, +{"id":"guard-e994327c651fa427","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/twod/experiments/jv_protocol_2d.py","route_id":"route-f9fdf98fcf51218e","origin_key":"guard:perovskite_sim.twod.experiments.jv_protocol_2d.py:JV2DProtocol.__post_init__:9ad835cad7f3","evidence_level":"source_guard_not_numerical_validation","source_line":427,"reason":"ValueError('unsupported 2D J-V protocol schema')","scope":"JV2DProtocol.__post_init__"}, +{"id":"guard-65f66d96209a5223","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/twod/experiments/jv_protocol_2d.py","route_id":"route-f9fdf98fcf51218e","origin_key":"guard:perovskite_sim.twod.experiments.jv_protocol_2d.py:JV2DProtocol.__post_init__:a134ec750942","evidence_level":"source_guard_not_numerical_validation","source_line":282,"reason":"ValueError('illuminated 2D J-V requires illumination_source')","scope":"JV2DProtocol.__post_init__"}, +{"id":"guard-14a6ed004e5e62af","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/twod/experiments/jv_protocol_2d.py","route_id":"route-f9fdf98fcf51218e","origin_key":"guard:perovskite_sim.twod.experiments.jv_protocol_2d.py:JV2DProtocol.__post_init__:c1738b7f3631","evidence_level":"source_guard_not_numerical_validation","source_line":358,"reason":"ValueError('two-sided interface-SRH J-V requires ohmic contacts')","scope":"JV2DProtocol.__post_init__"}, +{"id":"guard-45609fa85fd12207","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/twod/experiments/jv_protocol_2d.py","route_id":"route-f9fdf98fcf51218e","origin_key":"guard:perovskite_sim.twod.experiments.jv_protocol_2d.py:JV2DProtocol.__post_init__:cd56ab2916bc","evidence_level":"source_guard_not_numerical_validation","source_line":373,"reason":"ValueError(f'unsupported state_topology {self.state_topology!r}')","scope":"JV2DProtocol.__post_init__"}, +{"id":"guard-2fae745f2ad4229c","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/twod/experiments/jv_protocol_2d.py","route_id":"route-f9fdf98fcf51218e","origin_key":"guard:perovskite_sim.twod.experiments.jv_protocol_2d.py:JV2DProtocol.__post_init__:cf1dbc1488e1","evidence_level":"source_guard_not_numerical_validation","source_line":288,"reason":"ValueError('illuminated 1D initial state requires settle time')","scope":"JV2DProtocol.__post_init__"}, +{"id":"guard-e322f082dba2f475","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/twod/experiments/jv_protocol_2d.py","route_id":"route-f9fdf98fcf51218e","origin_key":"guard:perovskite_sim.twod.experiments.jv_protocol_2d.py:JV2DProtocol.__post_init__:e6a55bf15ba5","evidence_level":"source_guard_not_numerical_validation","source_line":379,"reason":"ValueError('unsupported 2D current sampling mode')","scope":"JV2DProtocol.__post_init__"}, +{"id":"guard-fc3f278c501a0ace","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/twod/experiments/jv_protocol_2d.py","route_id":"route-f9fdf98fcf51218e","origin_key":"guard:perovskite_sim.twod.experiments.jv_protocol_2d.py:JV2DProtocol.__post_init__:f3dfb2b7875c","evidence_level":"source_guard_not_numerical_validation","source_line":286,"reason":"ValueError('illuminated 2D J-V requires illuminated 1D initial state')","scope":"JV2DProtocol.__post_init__"}, +{"id":"guard-c742b741c463711b","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/twod/experiments/jv_protocol_2d.py","route_id":"route-f9fdf98fcf51218e","origin_key":"guard:perovskite_sim.twod.experiments.jv_protocol_2d.py:JV2DProtocol.__post_init__:f6143ae0dd8c","evidence_level":"source_guard_not_numerical_validation","source_line":370,"reason":"ValueError('frozen-ion topology requires frozen ion boundary label')","scope":"JV2DProtocol.__post_init__"}, +{"id":"guard-a555fb4c096f4c47","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/twod/experiments/jv_protocol_2d.py","route_id":"route-f9fdf98fcf51218e","origin_key":"guard:perovskite_sim.twod.experiments.jv_protocol_2d.py:resolve_jv_2d_protocol:92fa0daab43b","evidence_level":"source_guard_not_numerical_validation","source_line":586,"reason":"ImplicitProtocolError('research_strict 2D J-V requires an explicit execution protocol')","scope":"resolve_jv_2d_protocol"}, +{"id":"guard-753bccbfd6db9675","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/twod/experiments/jv_protocol_2d.py","route_id":"route-f9fdf98fcf51218e","origin_key":"guard:perovskite_sim.twod.experiments.jv_protocol_2d.py:resolve_jv_2d_protocol:face468f8638","evidence_level":"source_guard_not_numerical_validation","source_line":564,"reason":"ValueError(f'unsupported 2D J-V protocol mode {mode!r}')","scope":"resolve_jv_2d_protocol"}, +{"id":"guard-df43a3d0c4fdc801","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/twod/experiments/jv_sweep_2d.py","route_id":"route-3b814b18cfea71be","origin_key":"guard:perovskite_sim.twod.experiments.jv_sweep_2d.py:run_jv_sweep_2d:36cc7c84429b","evidence_level":"source_guard_not_numerical_validation","source_line":493,"reason":"ImplicitProtocolError(\"mobile-ion or interface-SRH 2D J-V requires protocol_mode='research_strict' and an explicit matching jv_2d_protocol\")","scope":"run_jv_sweep_2d"}, +{"id":"guard-cca02aa4491fe2b3","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/twod/field_mobility_2d.py","route_id":"route-3c9af4aa95a90ec1","origin_key":"guard:perovskite_sim.twod.field_mobility_2d.py:recompute_d_eff_2d:513d9d7056f4","evidence_level":"source_guard_not_numerical_validation","source_line":230,"reason":"ValueError(\"Stage B(c.2): lateral_bc='periodic' requires all six *_wrap face arrays to be provided.\")","scope":"recompute_d_eff_2d"}, +{"id":"guard-ddc4a2b95f20b06a","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/twod/interface_recombination_2d.py","route_id":"route-77076e703f3ff9b4","origin_key":"guard:perovskite_sim.twod.interface_recombination_2d.py:build_two_sided_interface_srh_couplings_2d:6f4b77a8ed44","evidence_level":"source_guard_not_numerical_validation","source_line":108,"reason":"ValueError('2D two-sided interface SRH does not support: ' + ', '.join(unsupported))","scope":"build_two_sided_interface_srh_couplings_2d"}, +{"id":"guard-0ce7e2ac6b42d065","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/twod/interface_recombination_2d.py","route_id":"route-77076e703f3ff9b4","origin_key":"guard:perovskite_sim.twod.interface_recombination_2d.py:build_two_sided_interface_srh_couplings_2d:9043b2b51088","evidence_level":"source_guard_not_numerical_validation","source_line":138,"reason":"ValueError('each active 2D two-sided interface requires an InterfaceDefect')","scope":"build_two_sided_interface_srh_couplings_2d"}, +{"id":"guard-de9a5d27aa6db909","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/twod/interface_recombination_2d.py","route_id":"route-77076e703f3ff9b4","origin_key":"guard:perovskite_sim.twod.interface_recombination_2d.py:build_two_sided_interface_srh_couplings_2d:946374b549d6","evidence_level":"source_guard_not_numerical_validation","source_line":100,"reason":"ValueError('2D two-sided interface SRH requires explicit DeviceStack.interface_two_sided=True')","scope":"build_two_sided_interface_srh_couplings_2d"}, +{"id":"guard-a38cf20b1cbb2e6c","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/twod/interface_recombination_2d.py","route_id":"route-77076e703f3ff9b4","origin_key":"guard:perovskite_sim.twod.interface_recombination_2d.py:build_two_sided_interface_srh_couplings_2d:c4828b3ba45a","evidence_level":"source_guard_not_numerical_validation","source_line":117,"reason":"ValueError('2D two-sided interface SRH requires one interface velocity pair per electrical interface')","scope":"build_two_sided_interface_srh_couplings_2d"}, +{"id":"guard-83e636fc18207f15","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/twod/interface_recombination_2d.py","route_id":"route-77076e703f3ff9b4","origin_key":"guard:perovskite_sim.twod.interface_recombination_2d.py:build_two_sided_interface_srh_couplings_2d:d0e600d2fd17","evidence_level":"source_guard_not_numerical_validation","source_line":149,"reason":"ValueError('2D two-sided interface SRH requires interior idx-1/idx+1 cross-node sampling')","scope":"build_two_sided_interface_srh_couplings_2d"}, +{"id":"guard-efab8e1b8bc102c7","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/twod/interface_recombination_2d.py","route_id":"route-77076e703f3ff9b4","origin_key":"guard:perovskite_sim.twod.interface_recombination_2d.py:build_two_sided_interface_srh_couplings_2d:f3503cbc54fe","evidence_level":"source_guard_not_numerical_validation","source_line":124,"reason":"ValueError(f'2D two-sided interface SRH requires {name} metadata for every electrical interface')","scope":"build_two_sided_interface_srh_couplings_2d"}, +{"id":"guard-1668d8088a3414d3","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/twod/ion_migration_2d.py","route_id":"route-c13168d4a449764d","origin_key":"guard:perovskite_sim.twod.ion_migration_2d.py:positive_ion_continuity_rhs_2d:af5834563f7b","evidence_level":"source_guard_not_numerical_validation","source_line":199,"reason":"ValueError(\"2D mobile-ion transport requires lateral_bc='neumann'; periodic-x is not topology-certified\")","scope":"positive_ion_continuity_rhs_2d"}, +{"id":"guard-07b5eb73f14e2b10","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/twod/microstructure.py","route_id":"route-c6bb59ad824f3043","origin_key":"guard:perovskite_sim.twod.microstructure.py:_validate_nonoverlapping_bands:add925612305","evidence_level":"source_guard_not_numerical_validation","source_line":147,"reason":"ValueError('overlapping grain-boundary bands in the same layer role are not supported')","scope":"_validate_nonoverlapping_bands"}, +{"id":"guard-e8dbf93dccca3490","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/twod/microstructure.py","route_id":"route-c6bb59ad824f3043","origin_key":"guard:perovskite_sim.twod.microstructure.py:build_grain_boundary_regions:94f35d03aba8","evidence_level":"source_guard_not_numerical_validation","source_line":171,"reason":"ValueError(\"grain-boundary area closure requires lateral_bc='neumann'; the duplicate-endpoint periodic topology is not area-certified\")","scope":"build_grain_boundary_regions"}, +{"id":"guard-b78a1a3a6577a22d","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/twod/mobile_ion_current_2d.py","route_id":"route-30a3fd6bc1163877","origin_key":"guard:perovskite_sim.twod.mobile_ion_current_2d.py:_validated_snapshot:0a290e0b1840","evidence_level":"source_guard_not_numerical_validation","source_line":107,"reason":"ValueError(f'mobile-ion current requires the ohmic {name} reservoir state')","scope":"_validated_snapshot"}, +{"id":"guard-835ad61ff71430ca","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/twod/mobile_ion_current_2d.py","route_id":"route-30a3fd6bc1163877","origin_key":"guard:perovskite_sim.twod.mobile_ion_current_2d.py:_validated_snapshot:73f2c0969de3","evidence_level":"source_guard_not_numerical_validation","source_line":57,"reason":"ValueError('mobile-ion current requires finite increasing 2D axes')","scope":"_validated_snapshot"}, +{"id":"guard-dc50e5a371fd0bce","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/twod/mobile_ion_current_2d.py","route_id":"route-30a3fd6bc1163877","origin_key":"guard:perovskite_sim.twod.mobile_ion_current_2d.py:_validated_snapshot:7902fd6cbb7d","evidence_level":"source_guard_not_numerical_validation","source_line":63,"reason":"ValueError('mobile-ion current requires an active 2D ion state')","scope":"_validated_snapshot"}, +{"id":"guard-92de2614a2fdb824","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/twod/mobile_ion_current_2d.py","route_id":"route-30a3fd6bc1163877","origin_key":"guard:perovskite_sim.twod.mobile_ion_current_2d.py:_validated_snapshot:98acf33a0fc4","evidence_level":"source_guard_not_numerical_validation","source_line":65,"reason":"ValueError('mobile-ion terminal current does not yet support Robin contacts')","scope":"_validated_snapshot"}, +{"id":"guard-28bd95dbfd028e96","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/twod/mobile_ion_current_2d.py","route_id":"route-30a3fd6bc1163877","origin_key":"guard:perovskite_sim.twod.mobile_ion_current_2d.py:_validated_snapshot:f1cf7d26bed8","evidence_level":"source_guard_not_numerical_validation","source_line":59,"reason":"ValueError('mobile-ion current requires the Neumann-x control-volume topology')","scope":"_validated_snapshot"}, +{"id":"guard-bca8e8a01438563a","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/twod/solver_2d.py","route_id":"route-28f189e6bd16ef71","origin_key":"guard:perovskite_sim.twod.solver_2d.py:_charge_density_2d:e4b2226eb6e5","evidence_level":"source_guard_not_numerical_validation","source_line":715,"reason":"ValueError('mobile-ion charge requires the P state block')","scope":"_charge_density_2d"}, +{"id":"guard-7d3d305f1330945b","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/twod/solver_2d.py","route_id":"route-28f189e6bd16ef71","origin_key":"guard:perovskite_sim.twod.solver_2d.py:build_material_arrays_2d:01b63eee5cbe","evidence_level":"source_guard_not_numerical_validation","source_line":271,"reason":"ValueError('single_mobile ion dynamics requires positive ionic diffusion')","scope":"build_material_arrays_2d"}, +{"id":"guard-14cd2e7983c07182","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/twod/solver_2d.py","route_id":"route-28f189e6bd16ef71","origin_key":"guard:perovskite_sim.twod.solver_2d.py:build_material_arrays_2d:3f3d17db6c8d","evidence_level":"source_guard_not_numerical_validation","source_line":235,"reason":"ValueError(\"2D single-mobile-ion dynamics requires lateral_bc='neumann'; periodic-x is not topology-certified\")","scope":"build_material_arrays_2d"}, +{"id":"guard-05d45bef7e681fd4","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/twod/solver_2d.py","route_id":"route-28f189e6bd16ef71","origin_key":"guard:perovskite_sim.twod.solver_2d.py:build_material_arrays_2d:984e3cbc5c95","evidence_level":"source_guard_not_numerical_validation","source_line":262,"reason":"ValueError('2D mobile-ion dynamics currently supports one positive species; dual-ion stacks are not certified')","scope":"build_material_arrays_2d"}, +{"id":"guard-6d82072cc1888b14","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/twod/solver_2d.py","route_id":"route-28f189e6bd16ef71","origin_key":"guard:perovskite_sim.twod.solver_2d.py:build_material_arrays_2d:b94b47f3b622","evidence_level":"source_guard_not_numerical_validation","source_line":240,"reason":"ValueError(\"2D two-sided interface SRH requires lateral_bc='neumann'; periodic-x sheet area is not topology-certified\")","scope":"build_material_arrays_2d"}, +{"id":"guard-a6a82681fb620b37","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/twod/solver_2d.py","route_id":"route-28f189e6bd16ef71","origin_key":"guard:perovskite_sim.twod.solver_2d.py:build_material_arrays_2d:bf1fa385fbb4","evidence_level":"source_guard_not_numerical_validation","source_line":252,"reason":"ExplicitDefectCapabilityError('DEF-1 explicit neutral defects are 1D-only; 2D execution remains fail-closed until its material and diagnostics contracts are defined')","scope":"build_material_arrays_2d"}, +{"id":"guard-5760c8d9f0c1af32","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/twod/solver_2d.py","route_id":"route-28f189e6bd16ef71","origin_key":"guard:perovskite_sim.twod.solver_2d.py:compute_mobile_ion_current_components_2d:916670377cea","evidence_level":"source_guard_not_numerical_validation","source_line":1303,"reason":"ValueError('complete mobile-ion current requires ion dynamics')","scope":"compute_mobile_ion_current_components_2d"}, +{"id":"guard-0713c281e791fc71","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/twod/solver_2d.py","route_id":"route-28f189e6bd16ef71","origin_key":"guard:perovskite_sim.twod.solver_2d.py:compute_terminal_current_2d:27efeeda76ce","evidence_level":"source_guard_not_numerical_validation","source_line":1327,"reason":"ValueError('2D terminal current is not mobile-ion complete: ionic and displacement-current terms are not implemented')","scope":"compute_terminal_current_2d"}, +{"id":"guard-d85c97515c2d7754","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/twod/solver_2d.py","route_id":"route-28f189e6bd16ef71","origin_key":"guard:perovskite_sim.twod.solver_2d.py:run_transient_2d:812559eb60a1","evidence_level":"source_guard_not_numerical_validation","source_line":1111,"reason":"ValueError('return_ion_diagnostics requires single-mobile-ion dynamics')","scope":"run_transient_2d"}, +{"id":"guard-123f923a7cfce6d3","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/validation/bgn_refinement.py","route_id":"route-9e7c4634cac4c7b4","origin_key":"guard:perovskite_sim.validation.bgn_refinement.py:run_incomplete_ionization_bgn_temperature_refinement:3f5c49cc115c","evidence_level":"source_guard_not_numerical_validation","source_line":127,"reason":"ValueError(\"BGN refinement requires config_loader='standard'\")","scope":"run_incomplete_ionization_bgn_temperature_refinement"}, +{"id":"guard-fd321e5a2c0fd6a4","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/validation/bulk_trap_refinement.py","route_id":"route-6ffa0cc3ba17a777","origin_key":"guard:perovskite_sim.validation.bulk_trap_refinement.py:run_bulk_trap_equilibrium_refinement:cad42e33d6b9","evidence_level":"source_guard_not_numerical_validation","source_line":165,"reason":"ValueError(\"bulk-trap refinement requires config_loader='standard'\")","scope":"run_bulk_trap_equilibrium_refinement"}, +{"id":"guard-f494800daa05ed5e","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/validation/cigs_optics_refinement.py","route_id":"route-c81fb8dbd7f6b348","origin_key":"guard:perovskite_sim.validation.cigs_optics_refinement.py:_replace_cigs_resolution:6b8ea51893dc","evidence_level":"source_guard_not_numerical_validation","source_line":74,"reason":"ValueError('CIGS optical refinement requires exactly one model block')","scope":"_replace_cigs_resolution"}, +{"id":"guard-3954e5f0b045b4df","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/validation/cigs_optics_refinement.py","route_id":"route-c81fb8dbd7f6b348","origin_key":"guard:perovskite_sim.validation.cigs_optics_refinement.py:run_cigs_graded_optics_refinement:1136c81350f1","evidence_level":"source_guard_not_numerical_validation","source_line":252,"reason":"ValueError(\"CIGS optical refinement requires config_loader='standard'\")","scope":"run_cigs_graded_optics_refinement"}, +{"id":"guard-bedb970387a85fd3","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/validation/dae_dual_ion_refinement.py","route_id":"route-27dbc43d17be6d47","origin_key":"guard:perovskite_sim.validation.dae_dual_ion_refinement.py:run_dual_ion_dae_transient:2bd6743aff68","evidence_level":"source_guard_not_numerical_validation","source_line":186,"reason":"ValueError(\"the dual-ion DAE lane requires config_loader='standard'\")","scope":"run_dual_ion_dae_transient"}, +{"id":"guard-817209320bef4640","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/validation/dae_dual_ion_refinement.py","route_id":"route-27dbc43d17be6d47","origin_key":"guard:perovskite_sim.validation.dae_dual_ion_refinement.py:run_dual_ion_dae_transient:864907fa39cf","evidence_level":"source_guard_not_numerical_validation","source_line":277,"reason":"ValueError('dual-ion source layer requires electrical parameters')","scope":"run_dual_ion_dae_transient"}, +{"id":"guard-6c7efc3b41b52413","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/validation/dae_dual_ion_refinement.py","route_id":"route-27dbc43d17be6d47","origin_key":"guard:perovskite_sim.validation.dae_dual_ion_refinement.py:run_dual_ion_dae_transient:8ca8b7e7dace","evidence_level":"source_guard_not_numerical_validation","source_line":221,"reason":"ValueError('the registered dual-ion DAE lane requires diffusion-only shared-site steric physics')","scope":"run_dual_ion_dae_transient"}, +{"id":"guard-3edb0a9439cb0d39","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/validation/dae_dual_ion_refinement.py","route_id":"route-27dbc43d17be6d47","origin_key":"guard:perovskite_sim.validation.dae_dual_ion_refinement.py:run_dual_ion_dae_transient:f7dde934481a","evidence_level":"source_guard_not_numerical_validation","source_line":321,"reason":"RuntimeError('dual-ion DAE initial condition is not certified')","scope":"run_dual_ion_dae_transient"}, +{"id":"guard-c1ff18e4687d2260","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/validation/dae_interface_refinement.py","route_id":"route-cf51d5ffeb5b1ab3","origin_key":"guard:perovskite_sim.validation.dae_interface_refinement.py:run_algebraic_interface_dae_transient:54e0eb581f2d","evidence_level":"source_guard_not_numerical_validation","source_line":304,"reason":"RuntimeError('algebraic-interface DAE consistent initial condition is not certified')","scope":"run_algebraic_interface_dae_transient"}, +{"id":"guard-30b5f00d04713701","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/validation/dae_interface_refinement.py","route_id":"route-cf51d5ffeb5b1ab3","origin_key":"guard:perovskite_sim.validation.dae_interface_refinement.py:run_algebraic_interface_dae_transient:70b698887f93","evidence_level":"source_guard_not_numerical_validation","source_line":191,"reason":"ValueError(\"the algebraic-interface DAE lane requires config_loader='standard'\")","scope":"run_algebraic_interface_dae_transient"}, +{"id":"guard-08b3b62fdf357fb6","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/validation/dae_ion_interface_refinement.py","route_id":"route-cd1c256e6f6fda47","origin_key":"guard:perovskite_sim.validation.dae_ion_interface_refinement.py:run_single_ion_algebraic_interface_dae_transient:3d7f60b630ef","evidence_level":"source_guard_not_numerical_validation","source_line":174,"reason":"ValueError(\"the combined DAE lane requires config_loader='standard'\")","scope":"run_single_ion_algebraic_interface_dae_transient"}, +{"id":"guard-a9555e5570993ba1","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/validation/dae_ion_interface_refinement.py","route_id":"route-cd1c256e6f6fda47","origin_key":"guard:perovskite_sim.validation.dae_ion_interface_refinement.py:run_single_ion_algebraic_interface_dae_transient:aaafc69cfdfa","evidence_level":"source_guard_not_numerical_validation","source_line":328,"reason":"RuntimeError('combined DAE consistent initial condition is not certified')","scope":"run_single_ion_algebraic_interface_dae_transient"}, +{"id":"guard-6904ac9fed11e9c8","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/validation/dae_ion_refinement.py","route_id":"route-3ce8678d93f128dc","origin_key":"guard:perovskite_sim.validation.dae_ion_refinement.py:_protocol_metadata:1e7cc4c55b27","evidence_level":"source_guard_not_numerical_validation","source_line":105,"reason":"ValueError('single-ion DAE protocol requires a schema_version')","scope":"_protocol_metadata"}, +{"id":"guard-4e626bbda29729e1","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/validation/dae_ion_refinement.py","route_id":"route-3ce8678d93f128dc","origin_key":"guard:perovskite_sim.validation.dae_ion_refinement.py:run_single_ion_dae_transient:6bd00ee1ddd0","evidence_level":"source_guard_not_numerical_validation","source_line":230,"reason":"ValueError(\"the single-ion DAE lane requires config_loader='standard'\")","scope":"run_single_ion_dae_transient"}, +{"id":"guard-dac97fd2c70866d4","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/validation/dae_ion_refinement.py","route_id":"route-3ce8678d93f128dc","origin_key":"guard:perovskite_sim.validation.dae_ion_refinement.py:run_single_ion_dae_transient:d497208d37a2","evidence_level":"source_guard_not_numerical_validation","source_line":309,"reason":"RuntimeError('single-ion DAE initial condition is not certified')","scope":"run_single_ion_dae_transient"}, +{"id":"guard-49229545b58395b7","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/validation/dae_ion_refinement.py","route_id":"route-3ce8678d93f128dc","origin_key":"guard:perovskite_sim.validation.dae_ion_refinement.py:run_single_ion_dae_transient:eb9d174ed4b8","evidence_level":"source_guard_not_numerical_validation","source_line":277,"reason":"ValueError('single-ion source layer requires electrical parameters')","scope":"run_single_ion_dae_transient"}, +{"id":"guard-3d1f51473fea1732","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/validation/dae_refinement.py","route_id":"route-ee6663ebc8f2dc49","origin_key":"guard:perovskite_sim.validation.dae_refinement.py:_protocol_metadata:362783c48506","evidence_level":"source_guard_not_numerical_validation","source_line":104,"reason":"ValueError('DAE refinement protocol requires a schema_version')","scope":"_protocol_metadata"}, +{"id":"guard-10d50b93d1904db5","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/validation/dae_refinement.py","route_id":"route-ee6663ebc8f2dc49","origin_key":"guard:perovskite_sim.validation.dae_refinement.py:run_no_ion_dae_transient:a0d410b73f4c","evidence_level":"source_guard_not_numerical_validation","source_line":301,"reason":"ValueError('the DAE source slice requires electrical material parameters')","scope":"run_no_ion_dae_transient"}, +{"id":"guard-6df3239be73b2fcf","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/validation/dae_refinement.py","route_id":"route-ee6663ebc8f2dc49","origin_key":"guard:perovskite_sim.validation.dae_refinement.py:run_no_ion_dae_transient:ca4b47925ebe","evidence_level":"source_guard_not_numerical_validation","source_line":232,"reason":"ValueError(\"the no-ion DAE lane requires config_loader='standard'\")","scope":"run_no_ion_dae_transient"}, +{"id":"guard-a9d296ece300e865","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/validation/dae_refinement.py","route_id":"route-ee6663ebc8f2dc49","origin_key":"guard:perovskite_sim.validation.dae_refinement.py:run_no_ion_dae_transient:d6fb30cfde6a","evidence_level":"source_guard_not_numerical_validation","source_line":337,"reason":"RuntimeError('DAE consistent initial condition is not certified')","scope":"run_no_ion_dae_transient"}, +{"id":"guard-44fe047f358ddb20","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/validation/defect_energy_refinement.py","route_id":"route-c829dfda2d1dc419","origin_key":"guard:perovskite_sim.validation.defect_energy_refinement.py:assess_defect_energy_order_refinement:9b1310fa0ea0","evidence_level":"source_guard_not_numerical_validation","source_line":341,"reason":"ValueError('energy refinement requires bulk defect species')","scope":"assess_defect_energy_order_refinement"}, +{"id":"guard-93c9b48009e464d1","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/validation/defect_energy_refinement.py","route_id":"route-c829dfda2d1dc419","origin_key":"guard:perovskite_sim.validation.defect_energy_refinement.py:assess_defect_energy_order_refinement:d756aefc2d34","evidence_level":"source_guard_not_numerical_validation","source_line":345,"reason":"ValueError('energy refinement requires at least one distributed species')","scope":"assess_defect_energy_order_refinement"}, +{"id":"guard-49ea4ebebaf58da5","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/validation/degenerate_refinement.py","route_id":"route-8ffd14c45b3812ea","origin_key":"guard:perovskite_sim.validation.degenerate_refinement.py:run_degenerate_pn_equilibrium_refinement:f8e9a4dfa572","evidence_level":"source_guard_not_numerical_validation","source_line":105,"reason":"ValueError(\"degenerate PN refinement requires config_loader='standard'\")","scope":"run_degenerate_pn_equilibrium_refinement"}, +{"id":"guard-fb53c592f102a7ef","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/validation/distributed_defect_refinement.py","route_id":"route-eac8eff18fe0b852","origin_key":"guard:perovskite_sim.validation.distributed_defect_refinement.py:_source_species:39a6a95c682b","evidence_level":"source_guard_not_numerical_validation","source_line":148,"reason":"ValueError('distributed-defect certificate requires physical contacts')","scope":"_source_species"}, +{"id":"guard-826a5a59bda700a7","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/validation/distributed_defect_refinement.py","route_id":"route-eac8eff18fe0b852","origin_key":"guard:perovskite_sim.validation.distributed_defect_refinement.py:_source_species:65fd6e478be5","evidence_level":"source_guard_not_numerical_validation","source_line":146,"reason":"ValueError('distributed-defect certificate requires two electrical layers')","scope":"_source_species"}, +{"id":"guard-cc5241908ba4d658","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/validation/dynamic_defect_transient_refinement.py","route_id":"route-aa22d20d2d639fc7","origin_key":"guard:perovskite_sim.validation.dynamic_defect_transient_refinement.py:_build_grid:3fd7930c7d0b","evidence_level":"source_guard_not_numerical_validation","source_line":414,"reason":"ValueError('D6-E3c requires at least two intervals per layer')","scope":"_build_grid"}, +{"id":"guard-c53f8081210a5768","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/validation/dynamic_defect_transient_refinement.py","route_id":"route-aa22d20d2d639fc7","origin_key":"guard:perovskite_sim.validation.dynamic_defect_transient_refinement.py:_case_identity:33d490bea0ed","evidence_level":"source_guard_not_numerical_validation","source_line":301,"reason":"ValueError('case identity requires microscopic interface documents')","scope":"_case_identity"}, +{"id":"guard-7a6d803729580c38","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/validation/dynamic_defect_transient_refinement.py","route_id":"route-aa22d20d2d639fc7","origin_key":"guard:perovskite_sim.validation.dynamic_defect_transient_refinement.py:_ion_centroid_trace:8194f84d0d0a","evidence_level":"source_guard_not_numerical_validation","source_line":428,"reason":"RuntimeError('positive-ion centroid requires an active component')","scope":"_ion_centroid_trace"}, +{"id":"guard-da85881d668a7c46","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/validation/dynamic_defect_transient_refinement.py","route_id":"route-aa22d20d2d639fc7","origin_key":"guard:perovskite_sim.validation.dynamic_defect_transient_refinement.py:_ion_centroid_trace:ffbb9bc5dc73","evidence_level":"source_guard_not_numerical_validation","source_line":434,"reason":"RuntimeError('positive-ion centroid requires finite positive inventory')","scope":"_ion_centroid_trace"}, +{"id":"guard-bdc95307b20482ee","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/validation/dynamic_defect_transient_refinement.py","route_id":"route-aa22d20d2d639fc7","origin_key":"guard:perovskite_sim.validation.dynamic_defect_transient_refinement.py:_motion_metrics:e866ec6a2f9f","evidence_level":"source_guard_not_numerical_validation","source_line":442,"reason":"RuntimeError('positive-ion motion requires a positive initial state')","scope":"_motion_metrics"}, +{"id":"guard-186d504d0c9f60b0","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/validation/dynamic_defect_transient_refinement.py","route_id":"route-aa22d20d2d639fc7","origin_key":"guard:perovskite_sim.validation.dynamic_defect_transient_refinement.py:_validate_lane_contract:095b9ed92a8e","evidence_level":"source_guard_not_numerical_validation","source_line":138,"reason":"ValueError(\"D6-E3c requires config_loader='standard'\")","scope":"_validate_lane_contract"}, +{"id":"guard-ca6ba595a83d0777","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/validation/dynamic_defect_transient_refinement.py","route_id":"route-aa22d20d2d639fc7","origin_key":"guard:perovskite_sim.validation.dynamic_defect_transient_refinement.py:_validate_lane_contract:42d0f6f897ea","evidence_level":"source_guard_not_numerical_validation","source_line":127,"reason":"ValueError(f'D6-E3c executor requires tolerance factors {_TOLERANCE_FACTORS!r}')","scope":"_validate_lane_contract"}, +{"id":"guard-1f0ee8fd4d87905d","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/validation/dynamic_defect_transient_refinement.py","route_id":"route-aa22d20d2d639fc7","origin_key":"guard:perovskite_sim.validation.dynamic_defect_transient_refinement.py:_validate_lane_contract:50be9a34ba77","evidence_level":"source_guard_not_numerical_validation","source_line":145,"reason":"ValueError('D6-E4 production lane requires the certified public transient method')","scope":"_validate_lane_contract"}, +{"id":"guard-97cac50f16d92844","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/validation/dynamic_defect_transient_refinement.py","route_id":"route-aa22d20d2d639fc7","origin_key":"guard:perovskite_sim.validation.dynamic_defect_transient_refinement.py:_validate_lane_contract:5cad051fa7b2","evidence_level":"source_guard_not_numerical_validation","source_line":119,"reason":"ValueError(f'D6-E3c executor requires grid parameter {_GRID_PARAMETER!r}')","scope":"_validate_lane_contract"}, +{"id":"guard-76ac35a9a2216f5e","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/validation/dynamic_defect_transient_refinement.py","route_id":"route-aa22d20d2d639fc7","origin_key":"guard:perovskite_sim.validation.dynamic_defect_transient_refinement.py:_validate_lane_contract:6315e3fefd70","evidence_level":"source_guard_not_numerical_validation","source_line":107,"reason":"ValueError('D6-E3c executor requires a registered v1, resolved-v2, or nonlinear-resolved-v3, absorber-resolved-v4, reference-resolved-v5, or production-v1 lane')","scope":"_validate_lane_contract"}, +{"id":"guard-f9f34de0c4ad3ed4","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/validation/dynamic_defect_transient_refinement.py","route_id":"route-aa22d20d2d639fc7","origin_key":"guard:perovskite_sim.validation.dynamic_defect_transient_refinement.py:_validate_lane_contract:b22e23aa26a2","evidence_level":"source_guard_not_numerical_validation","source_line":114,"reason":"ValueError(f'D6-E3c lane {lane.lane_id!r} requires executor_version={expected_version!r}')","scope":"_validate_lane_contract"}, +{"id":"guard-22a10dd0561d5721","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/validation/dynamic_defect_transient_refinement.py","route_id":"route-aa22d20d2d639fc7","origin_key":"guard:perovskite_sim.validation.dynamic_defect_transient_refinement.py:_validate_lane_contract:ca337a75c92d","evidence_level":"source_guard_not_numerical_validation","source_line":125,"reason":"ValueError(f'D6-E3c executor requires grid values {_GRID_VALUES!r}')","scope":"_validate_lane_contract"}, +{"id":"guard-2890aa9dbc5e49b4","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/validation/dynamic_defect_transient_refinement.py","route_id":"route-aa22d20d2d639fc7","origin_key":"guard:perovskite_sim.validation.dynamic_defect_transient_refinement.py:_validate_lane_contract:cec58c565f7e","evidence_level":"source_guard_not_numerical_validation","source_line":121,"reason":"ValueError(f'D6-E3c executor requires tolerance parameter {_TOLERANCE_PARAMETER!r}')","scope":"_validate_lane_contract"}, +{"id":"guard-683452210c3201e0","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/validation/dynamic_defect_transient_refinement.py","route_id":"route-aa22d20d2d639fc7","origin_key":"guard:perovskite_sim.validation.dynamic_defect_transient_refinement.py:_validate_lane_contract:f7142f4fe906","evidence_level":"source_guard_not_numerical_validation","source_line":140,"reason":"ValueError('D6-E3c requires protocol provenance')","scope":"_validate_lane_contract"}, +{"id":"guard-bd5948431fd6985b","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/validation/dynamic_defect_transient_refinement.py","route_id":"route-aa22d20d2d639fc7","origin_key":"guard:perovskite_sim.validation.dynamic_defect_transient_refinement.py:_with_interface_capture_scale:68cbea57d09d","evidence_level":"source_guard_not_numerical_validation","source_line":260,"reason":"ValueError('D6-E3c requires exactly one microscopic interface defect')","scope":"_with_interface_capture_scale"}, +{"id":"guard-f9515624834ec596","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/validation/dynamic_defect_transient_refinement.py","route_id":"route-aa22d20d2d639fc7","origin_key":"guard:perovskite_sim.validation.dynamic_defect_transient_refinement.py:_with_interface_capture_scale:78fcfd4808e3","evidence_level":"source_guard_not_numerical_validation","source_line":263,"reason":"ValueError('D6-E3c requires a canonical microscopic interface defect')","scope":"_with_interface_capture_scale"}, +{"id":"guard-069712128870cb78","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/validation/dynamic_defect_transient_refinement.py","route_id":"route-aa22d20d2d639fc7","origin_key":"guard:perovskite_sim.validation.dynamic_defect_transient_refinement.py:_with_ion_diffusivity:2f468fc97b5e","evidence_level":"source_guard_not_numerical_validation","source_line":243,"reason":"ValueError('ion diffusivity override requires an active source layer')","scope":"_with_ion_diffusivity"}, +{"id":"guard-c08d371e18884fa1","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/validation/electrothermal_refinement.py","route_id":"route-361c6018edd7103a","origin_key":"guard:perovskite_sim.validation.electrothermal_refinement.py:run_electrothermal_terminal_mpp_refinement:028448b33d0b","evidence_level":"source_guard_not_numerical_validation","source_line":255,"reason":"ValueError('the electrothermal lane requires temperature scaling')","scope":"run_electrothermal_terminal_mpp_refinement"}, +{"id":"guard-f0d145b7ea55b67d","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/validation/electrothermal_refinement.py","route_id":"route-361c6018edd7103a","origin_key":"guard:perovskite_sim.validation.electrothermal_refinement.py:run_electrothermal_terminal_mpp_refinement:7fa8f45f4af6","evidence_level":"source_guard_not_numerical_validation","source_line":132,"reason":"ValueError('the electrothermal lane requires an explicit protocol')","scope":"run_electrothermal_terminal_mpp_refinement"}, +{"id":"guard-76923708cf694495","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/validation/electrothermal_refinement.py","route_id":"route-361c6018edd7103a","origin_key":"guard:perovskite_sim.validation.electrothermal_refinement.py:run_electrothermal_terminal_mpp_refinement:e15c77cf1109","evidence_level":"source_guard_not_numerical_validation","source_line":130,"reason":"ValueError(\"the electrothermal lane requires config_loader='standard'\")","scope":"run_electrothermal_terminal_mpp_refinement"}, +{"id":"guard-d43df417e4c85825","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/validation/electrothermal_refinement.py","route_id":"route-361c6018edd7103a","origin_key":"guard:perovskite_sim.validation.electrothermal_refinement.py:run_electrothermal_terminal_mpp_refinement:ede42b0e436d","evidence_level":"source_guard_not_numerical_validation","source_line":265,"reason":"RuntimeError('electrothermal operating point is not certified')","scope":"run_electrothermal_terminal_mpp_refinement"}, +{"id":"guard-a7f51110b7f7c7c9","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/validation/external_circuit_refinement.py","route_id":"route-95fa4d2e24de5a3e","origin_key":"guard:perovskite_sim.validation.external_circuit_refinement.py:run_external_series_shunt_dc_refinement:33eef38a591a","evidence_level":"source_guard_not_numerical_validation","source_line":137,"reason":"ValueError('the external-circuit lane requires an explicit protocol')","scope":"run_external_series_shunt_dc_refinement"}, +{"id":"guard-a23efa68b9145604","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/validation/external_circuit_refinement.py","route_id":"route-95fa4d2e24de5a3e","origin_key":"guard:perovskite_sim.validation.external_circuit_refinement.py:run_external_series_shunt_dc_refinement:63a9ac339dfe","evidence_level":"source_guard_not_numerical_validation","source_line":203,"reason":"RuntimeError('intrinsic J-V source is not certified')","scope":"run_external_series_shunt_dc_refinement"}, +{"id":"guard-dd5decabfa985ff5","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/validation/external_circuit_refinement.py","route_id":"route-95fa4d2e24de5a3e","origin_key":"guard:perovskite_sim.validation.external_circuit_refinement.py:run_external_series_shunt_dc_refinement:9942982dfc37","evidence_level":"source_guard_not_numerical_validation","source_line":135,"reason":"ValueError(\"the external-circuit lane requires config_loader='standard'\")","scope":"run_external_series_shunt_dc_refinement"}, +{"id":"guard-8cf94bc5ef1758d0","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/validation/external_circuit_refinement.py","route_id":"route-95fa4d2e24de5a3e","origin_key":"guard:perovskite_sim.validation.external_circuit_refinement.py:run_external_series_shunt_dc_refinement:bc16599ccc9c","evidence_level":"source_guard_not_numerical_validation","source_line":217,"reason":"RuntimeError('external-circuit mapping is not certified')","scope":"run_external_series_shunt_dc_refinement"}, +{"id":"guard-c3b78f8640174003","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/validation/foundation_reference_refinement.py","route_id":"route-487d71b1fb2a772d","origin_key":"guard:perovskite_sim.validation.foundation_reference_refinement.py:_finest_relative_change:36994c4a8c4a","evidence_level":"source_guard_not_numerical_validation","source_line":149,"reason":"ValueError('the reference requires resolved, finite nonzero photovoltaic metrics')","scope":"_finest_relative_change"}, +{"id":"guard-4e89e4c98b077443","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/validation/foundation_reference_refinement.py","route_id":"route-487d71b1fb2a772d","origin_key":"guard:perovskite_sim.validation.foundation_reference_refinement.py:_sample_sg_density:a1adf9abf8e7","evidence_level":"source_guard_not_numerical_validation","source_line":114,"reason":"ValueError('SG sampling requires positive thermal voltage and a carrier charge sign')","scope":"_sample_sg_density"}, +{"id":"guard-9737c6d667ace08f","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/validation/foundation_reference_refinement.py","route_id":"route-487d71b1fb2a772d","origin_key":"guard:perovskite_sim.validation.foundation_reference_refinement.py:_sample_sg_density:f917da2bab9e","evidence_level":"source_guard_not_numerical_validation","source_line":131,"reason":"ValueError('SG sampling requires positive density on a finite increasing grid')","scope":"_sample_sg_density"}, +{"id":"guard-b6d15047e78a81d6","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/validation/foundation_reference_refinement.py","route_id":"route-487d71b1fb2a772d","origin_key":"guard:perovskite_sim.validation.foundation_reference_refinement.py:run_foundation_reference_steady_state:b8c287e6b74d","evidence_level":"source_guard_not_numerical_validation","source_line":164,"reason":"ValueError('the foundation reference requires three 300 K layers and 22*k intervals')","scope":"run_foundation_reference_steady_state"}, +{"id":"guard-529037ef82b4c6e6","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/validation/identifiability_refinement.py","route_id":"route-70f2bc49c9d6f491","origin_key":"guard:perovskite_sim.validation.identifiability_refinement.py:run_interface_srh_identifiability_refinement:2631de733e20","evidence_level":"source_guard_not_numerical_validation","source_line":206,"reason":"ValueError('identifiability lane requires raw_interface_anchor')","scope":"run_interface_srh_identifiability_refinement"}, +{"id":"guard-18b093a3d8ce2292","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/validation/identifiability_refinement.py","route_id":"route-70f2bc49c9d6f491","origin_key":"guard:perovskite_sim.validation.identifiability_refinement.py:run_interface_srh_identifiability_refinement:5f14428f4426","evidence_level":"source_guard_not_numerical_validation","source_line":208,"reason":"ValueError('identifiability lane requires an explicit protocol')","scope":"run_interface_srh_identifiability_refinement"}, +{"id":"guard-9d55975eee8b5411","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/validation/incomplete_ionization_refinement.py","route_id":"route-e69f26a656e90120","origin_key":"guard:perovskite_sim.validation.incomplete_ionization_refinement.py:run_incomplete_ionization_temperature_refinement:e3a7d39b8122","evidence_level":"source_guard_not_numerical_validation","source_line":129,"reason":"ValueError(\"incomplete-ionization refinement requires config_loader='standard'\")","scope":"run_incomplete_ionization_temperature_refinement"}, +{"id":"guard-6840b683a3f2a7da","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/validation/multivalent_defect_refinement.py","route_id":"route-e8b25e6d8730e1e7","origin_key":"guard:perovskite_sim.validation.multivalent_defect_refinement.py:_single_transition_pair:5b9d76df50cb","evidence_level":"source_guard_not_numerical_validation","source_line":278,"reason":"ValueError('equivalence probe requires layer parameters')","scope":"_single_transition_pair"}, +{"id":"guard-00f41aab96fef6f5","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/validation/numerical_certificate.py","route_id":"route-270572b713ec6865","origin_key":"guard:perovskite_sim.validation.numerical_certificate.py:MetricValue.__post_init__:571d57c25e56","evidence_level":"source_guard_not_numerical_validation","source_line":178,"reason":"NumericalCertificateError(f'metric {self.name}: shape {self.shape} requires {expected} values, got {len(self.values)}')","scope":"MetricValue.__post_init__"}, +{"id":"guard-04ebd3fa95b9d2ac","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/validation/numerical_certificate.py","route_id":"route-270572b713ec6865","origin_key":"guard:perovskite_sim.validation.numerical_certificate.py:NumericalCertificate.__post_init__:34ca0d12e21f","evidence_level":"source_guard_not_numerical_validation","source_line":1076,"reason":"NumericalCertificateError('partial status requires a complete matrix with failed gates')","scope":"NumericalCertificate.__post_init__"}, +{"id":"guard-bbc1171e2e01e239","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/validation/numerical_certificate.py","route_id":"route-270572b713ec6865","origin_key":"guard:perovskite_sim.validation.numerical_certificate.py:NumericalCertificate.__post_init__:835816a5b348","evidence_level":"source_guard_not_numerical_validation","source_line":1080,"reason":"NumericalCertificateError('failed status requires an explicit failed contract dimension')","scope":"NumericalCertificate.__post_init__"}, +{"id":"guard-ee30647be8d62c80","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/validation/numerical_certificate.py","route_id":"route-270572b713ec6865","origin_key":"guard:perovskite_sim.validation.numerical_certificate.py:NumericalCertificate.__post_init__:ae5cfe75d518","evidence_level":"source_guard_not_numerical_validation","source_line":1066,"reason":"NumericalCertificateError('certified status requires a complete, fully passing matrix')","scope":"NumericalCertificate.__post_init__"}, +{"id":"guard-9367fb078349a416","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/validation/numerical_certificate.py","route_id":"route-270572b713ec6865","origin_key":"guard:perovskite_sim.validation.numerical_certificate.py:ObservableGate.__post_init__:30cc2a0d1d0c","evidence_level":"source_guard_not_numerical_validation","source_line":267,"reason":"NumericalCertificateError(f'observable {self.metric}: unsupported comparison {self.comparison!r}')","scope":"ObservableGate.__post_init__"}, +{"id":"guard-194cd51b661bbd1a","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/validation/numerical_certificate.py","route_id":"route-270572b713ec6865","origin_key":"guard:perovskite_sim.validation.numerical_certificate.py:QualityGate.__post_init__:c7c6af86019e","evidence_level":"source_guard_not_numerical_validation","source_line":326,"reason":"NumericalCertificateError(f'quality {self.metric}: unsupported operator {self.operator!r}')","scope":"QualityGate.__post_init__"}, +{"id":"guard-a6823235a758dfd2","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/validation/refinement_executors.py","route_id":"route-611c81a4822db706","origin_key":"guard:perovskite_sim.validation.refinement_executors.py:_grain_boundary_width_relative_error:334317857731","evidence_level":"source_guard_not_numerical_validation","source_line":1936,"reason":"RuntimeError('combined 2D refinement requires a grain boundary')","scope":"_grain_boundary_width_relative_error"}, +{"id":"guard-2b93f23dbe419ecf","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/validation/refinement_executors.py","route_id":"route-611c81a4822db706","origin_key":"guard:perovskite_sim.validation.refinement_executors.py:_load_stack:ff3cde065993","evidence_level":"source_guard_not_numerical_validation","source_line":141,"reason":"ValueError(f'unsupported config_loader {loader!r}')","scope":"_load_stack"}, +{"id":"guard-44598ea030650a5e","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/validation/refinement_executors.py","route_id":"route-611c81a4822db706","origin_key":"guard:perovskite_sim.validation.refinement_executors.py:_nested_log_frequency_interpolation_error:87c7e757af08","evidence_level":"source_guard_not_numerical_validation","source_line":1138,"reason":"ValueError('frequency interpolation evidence requires aligned odd-length vectors')","scope":"_nested_log_frequency_interpolation_error"}, +{"id":"guard-907adb126d6c599c","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/validation/refinement_executors.py","route_id":"route-611c81a4822db706","origin_key":"guard:perovskite_sim.validation.refinement_executors.py:_one_d_conduction_current_from_snapshots:31ca8e3e667b","evidence_level":"source_guard_not_numerical_validation","source_line":1507,"reason":"RuntimeError('1-D uniform-limit comparison requires one saved snapshot per voltage')","scope":"_one_d_conduction_current_from_snapshots"}, +{"id":"guard-366df73332041b12","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/validation/refinement_executors.py","route_id":"route-611c81a4822db706","origin_key":"guard:perovskite_sim.validation.refinement_executors.py:_protocol_metadata:91db5b5b78c4","evidence_level":"source_guard_not_numerical_validation","source_line":160,"reason":"ValueError('refinement protocol requires a string schema_version')","scope":"_protocol_metadata"}, +{"id":"guard-a375a5f6807d9e0c","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/validation/refinement_executors.py","route_id":"route-611c81a4822db706","origin_key":"guard:perovskite_sim.validation.refinement_executors.py:run_dynamic_defect_impedance_production:0a1a715d28ff","evidence_level":"source_guard_not_numerical_validation","source_line":1220,"reason":"RuntimeError('registered defect-plus-ion lane requires bulk-trap and ion storage')","scope":"run_dynamic_defect_impedance_production"}, +{"id":"guard-257b79337ffad781","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/validation/refinement_executors.py","route_id":"route-611c81a4822db706","origin_key":"guard:perovskite_sim.validation.refinement_executors.py:run_dynamic_defect_impedance_production:1c091a24a928","evidence_level":"source_guard_not_numerical_validation","source_line":1180,"reason":"ValueError('dynamic-defect impedance requires logspace frequencies')","scope":"run_dynamic_defect_impedance_production"}, +{"id":"guard-719d11a1a6c5d368","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/validation/refinement_executors.py","route_id":"route-611c81a4822db706","origin_key":"guard:perovskite_sim.validation.refinement_executors.py:run_equilibrium_referenced_interface_charge:36c209042b82","evidence_level":"source_guard_not_numerical_validation","source_line":2684,"reason":"RuntimeError(\"charged reference requires charge_closure='equilibrium_referenced'\")","scope":"run_equilibrium_referenced_interface_charge"}, +{"id":"guard-a0232e5a2b232a0c","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/validation/refinement_executors.py","route_id":"route-611c81a4822db706","origin_key":"guard:perovskite_sim.validation.refinement_executors.py:run_equilibrium_referenced_interface_charge:f2ca4175205a","evidence_level":"source_guard_not_numerical_validation","source_line":2688,"reason":"RuntimeError('charged reference requires explicit rebaseline intent')","scope":"run_equilibrium_referenced_interface_charge"}, +{"id":"guard-42f61cac7b894711","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/validation/refinement_executors.py","route_id":"route-611c81a4822db706","origin_key":"guard:perovskite_sim.validation.refinement_executors.py:run_interface_recombination_charge_off:3b89b1b81558","evidence_level":"source_guard_not_numerical_validation","source_line":2313,"reason":"RuntimeError('charge-off reference requires explicit rebaseline intent')","scope":"run_interface_recombination_charge_off"}, +{"id":"guard-0362e83af18ea350","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/validation/refinement_executors.py","route_id":"route-611c81a4822db706","origin_key":"guard:perovskite_sim.validation.refinement_executors.py:run_interface_recombination_charge_off:721f541f3f3d","evidence_level":"source_guard_not_numerical_validation","source_line":2311,"reason":"RuntimeError(\"charge-off reference requires charge_closure='off'\")","scope":"run_interface_recombination_charge_off"}, +{"id":"guard-b975d542ce323224","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/validation/refinement_executors.py","route_id":"route-611c81a4822db706","origin_key":"guard:perovskite_sim.validation.refinement_executors.py:run_interface_recombination_charge_off:da65676bfea6","evidence_level":"source_guard_not_numerical_validation","source_line":2327,"reason":"RuntimeError('charge-off reference requires unity calibration factors')","scope":"run_interface_recombination_charge_off"}, +{"id":"guard-c12bd91e8ecb5844","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/validation/refinement_executors.py","route_id":"route-611c81a4822db706","origin_key":"guard:perovskite_sim.validation.refinement_executors.py:run_ion_aware_impedance_frequency_domain:d9945e630b58","evidence_level":"source_guard_not_numerical_validation","source_line":884,"reason":"ValueError('ion-aware impedance matrix requires logspace frequencies')","scope":"run_ion_aware_impedance_frequency_domain"}, +{"id":"guard-f0a21f62baa3e147","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/validation/refinement_executors.py","route_id":"route-611c81a4822db706","origin_key":"guard:perovskite_sim.validation.refinement_executors.py:run_twod_mobile_ion_interface_srh:5cc59709996b","evidence_level":"source_guard_not_numerical_validation","source_line":1996,"reason":"ValueError('combined 2D refinement requires exactly one grain boundary')","scope":"run_twod_mobile_ion_interface_srh"}, +{"id":"guard-4003900aad95f033","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"guard:perovskite_sim.validation.regularization_certificate.py:MetricValue.__post_init__:5118cac870bf","evidence_level":"source_guard_not_numerical_validation","source_line":619,"reason":"RegularizationCertificateError(f'metric {self.name}: shape {shape} requires {expected} values')","scope":"MetricValue.__post_init__"}, +{"id":"guard-3dedbaa66612f9da","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"guard:perovskite_sim.validation.regularization_certificate.py:QualityGateSpec.__post_init__:ce3213bb361a","evidence_level":"source_guard_not_numerical_validation","source_line":298,"reason":"RegularizationCertificateError(f'quality gate {self.name}: unsupported operator {self.operator!r}')","scope":"QualityGateSpec.__post_init__"}, +{"id":"guard-314605bee56c4c2c","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"guard:perovskite_sim.validation.regularization_certificate.py:RegularizationCertificate.from_dict:4ce95ad9e900","evidence_level":"source_guard_not_numerical_validation","source_line":1260,"reason":"RegularizationCertificateError('unsupported certificate schema')","scope":"RegularizationCertificate.from_dict"}, +{"id":"guard-abcba1b9828c1be1","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"guard:perovskite_sim.validation.regularization_certificate.py:RegularizationRung.__post_init__:0834a2c180ab","evidence_level":"source_guard_not_numerical_validation","source_line":1032,"reason":"RegularizationCertificateError('failed or missing rung requires a failure reason')","scope":"RegularizationRung.__post_init__"}, +{"id":"guard-c1e5d88f92861ede","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"guard:perovskite_sim.validation.regularization_certificate.py:RegularizationRung.__post_init__:357485032682","evidence_level":"source_guard_not_numerical_validation","source_line":1019,"reason":"RegularizationCertificateError('completed rung requires a complete measurement')","scope":"RegularizationRung.__post_init__"}, +{"id":"guard-2b3d2d2eeb465df8","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"guard:perovskite_sim.validation.regularization_certificate.py:RegularizationRung.completed:9307d39a2906","evidence_level":"source_guard_not_numerical_validation","source_line":1049,"reason":"RegularizationCertificateError('completed rung requires RegularizationMeasurement')","scope":"RegularizationRung.completed"}, +{"id":"guard-7b96a8e0a4c03918","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"guard:perovskite_sim.validation.regularization_certificate.py:RegularizationStudy.from_dict:1e47d6fe4767","evidence_level":"source_guard_not_numerical_validation","source_line":527,"reason":"RegularizationCertificateError('unsupported regularization evaluator version')","scope":"RegularizationStudy.from_dict"}, +{"id":"guard-75c35d4884767c93","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"guard:perovskite_sim.validation.regularization_certificate.py:RegularizationStudy.from_dict:9d88f1c09ea9","evidence_level":"source_guard_not_numerical_validation","source_line":523,"reason":"RegularizationCertificateError('unsupported regularization study schema')","scope":"RegularizationStudy.from_dict"}, +{"id":"guard-3ca25ee8ca460ec3","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/validation/resolved_tunnelling_refinement.py","route_id":"route-8f9aa816f1c87e00","origin_key":"guard:perovskite_sim.validation.resolved_tunnelling_refinement.py:_relative_ladder_change:7c37d53510dc","evidence_level":"source_guard_not_numerical_validation","source_line":47,"reason":"ValueError('the resolved reference requires a finite nonzero signal on every energy rung')","scope":"_relative_ladder_change"}, +{"id":"guard-c3e3e2408aa2096d","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/validation/resolved_tunnelling_refinement.py","route_id":"route-8f9aa816f1c87e00","origin_key":"guard:perovskite_sim.validation.resolved_tunnelling_refinement.py:run_resolved_intraband_refinement:1ca888e7ea0a","evidence_level":"source_guard_not_numerical_validation","source_line":68,"reason":"ValueError('the v2 reference requires exactly one intraband electron channel')","scope":"run_resolved_intraband_refinement"}, +{"id":"guard-2a46160e1e18d936","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/validation/resolved_tunnelling_refinement.py","route_id":"route-8f9aa816f1c87e00","origin_key":"guard:perovskite_sim.validation.resolved_tunnelling_refinement.py:run_resolved_intraband_refinement:d93b335cab65","evidence_level":"source_guard_not_numerical_validation","source_line":57,"reason":"ValueError(\"resolved tunnelling requires config_loader='standard'\")","scope":"run_resolved_intraband_refinement"}, +{"id":"guard-34ac228ab8adf443","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/validation/resolved_tunnelling_refinement.py","route_id":"route-8f9aa816f1c87e00","origin_key":"guard:perovskite_sim.validation.resolved_tunnelling_refinement.py:run_resolved_intraband_refinement:fdbfedec90f2","evidence_level":"source_guard_not_numerical_validation","source_line":71,"reason":"ValueError('the v2 reference requires two reservoirs and one intervening material barrier')","scope":"run_resolved_intraband_refinement"}, +{"id":"guard-f64e5ed5efebf718","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/validation/resolved_tunnelling_refinement.py","route_id":"route-8f9aa816f1c87e00","origin_key":"guard:perovskite_sim.validation.resolved_tunnelling_refinement.py:run_resolved_intraband_refinement:fe94ea63a301","evidence_level":"source_guard_not_numerical_validation","source_line":62,"reason":"ValueError('the dark conductance reference requires positive bias_V')","scope":"run_resolved_intraband_refinement"}, +{"id":"guard-ffd0dc705dea031c","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/validation/spatial_defect_refinement.py","route_id":"route-29ff125b420a5abf","origin_key":"guard:perovskite_sim.validation.spatial_defect_refinement.py:_source_species:29155f0e08e1","evidence_level":"source_guard_not_numerical_validation","source_line":118,"reason":"ValueError('spatial-defect certificate requires two electrical layers')","scope":"_source_species"}, +{"id":"guard-8e4fceaa62be698c","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/validation/spatial_defect_refinement.py","route_id":"route-29ff125b420a5abf","origin_key":"guard:perovskite_sim.validation.spatial_defect_refinement.py:_source_species:3e9272ea5757","evidence_level":"source_guard_not_numerical_validation","source_line":120,"reason":"ValueError('spatial-defect certificate requires physical contacts')","scope":"_source_species"}, +{"id":"guard-99bd46e8d628a462","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/validation/spatial_defect_refinement.py","route_id":"route-29ff125b420a5abf","origin_key":"guard:perovskite_sim.validation.spatial_defect_refinement.py:_source_species:fb5ddeb2aa13","evidence_level":"source_guard_not_numerical_validation","source_line":122,"reason":"ValueError('spatial-defect certificate requires grading and excludes interfaces')","scope":"_source_species"}, +{"id":"guard-5b75dad3eee09a6b","kind":"capability_or_schema_rejection","current_path":"perovskite-sim/perovskite_sim/validation/tunnelling_channel_refinement.py","route_id":"route-c69e6e9da1421924","origin_key":"guard:perovskite_sim.validation.tunnelling_channel_refinement.py:run_tunnelling_channel_qf_dc_refinement:03fada84ffd9","evidence_level":"source_guard_not_numerical_validation","source_line":178,"reason":"ValueError(\"tunnelling refinement requires config_loader='standard'\")","scope":"run_tunnelling_channel_qf_dc_refinement"}, +{"id":"http-3796f20fecf61767","kind":"http_route","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"http:GET:/api/configs","source_line":643,"route":"/api/configs","verb":"GET","handler_id":"python-0281c32b79520043","evidence_level":"source_and_cold_route_mount"}, +{"id":"http-ace741351ed84885","kind":"http_route","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"http:GET:/api/configs/{name}","source_line":795,"route":"/api/configs/{name}","verb":"GET","handler_id":"python-4e053f4ed9375224","evidence_level":"source_and_cold_route_mount"}, +{"id":"http-2398f859e7f7ca97","kind":"http_route","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"http:GET:/api/jobs/{job_id}/events","source_line":3714,"route":"/api/jobs/{job_id}/events","verb":"GET","handler_id":"python-34593d4e14f56330","evidence_level":"source_and_cold_route_mount"}, +{"id":"http-3acf2ad54eba581f","kind":"http_route","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"http:GET:/api/layer-templates","source_line":772,"route":"/api/layer-templates","verb":"GET","handler_id":"python-e921aa805ff3d526","evidence_level":"source_and_cold_route_mount"}, +{"id":"http-5dde131d059b9211","kind":"http_route","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"http:GET:/api/optical-materials","source_line":760,"route":"/api/optical-materials","verb":"GET","handler_id":"python-7a765fdcffc2e717","evidence_level":"source_and_cold_route_mount"}, +{"id":"http-6a38c5359d309d6b","kind":"http_route","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"http:POST:/api/configs/user","source_line":831,"route":"/api/configs/user","verb":"POST","handler_id":"python-502b6c2ba463d697","evidence_level":"source_and_cold_route_mount"}, +{"id":"http-aee81616b5782ef1","kind":"http_route","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"http:POST:/api/degradation","source_line":3759,"route":"/api/degradation","verb":"POST","handler_id":"python-3c5067e85553e4f7","evidence_level":"source_and_cold_route_mount"}, +{"id":"http-5a4eda4d3775f3e3","kind":"http_route","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"http:POST:/api/dynamic-defect-transient","source_line":2770,"route":"/api/dynamic-defect-transient","verb":"POST","handler_id":"python-5d6830e7f4679531","evidence_level":"source_and_cold_route_mount"}, +{"id":"http-cffa6be42b7e9b11","kind":"http_route","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"http:POST:/api/identifiability/interface-srh-synthetic","source_line":2429,"route":"/api/identifiability/interface-srh-synthetic","verb":"POST","handler_id":"python-8e9b65e645ae6d25","evidence_level":"source_and_cold_route_mount"}, +{"id":"http-ed6860b2c0ae2ec8","kind":"http_route","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"http:POST:/api/impedance","source_line":2672,"route":"/api/impedance","verb":"POST","handler_id":"python-d0a58bdcd9180b06","evidence_level":"source_and_cold_route_mount"}, +{"id":"http-cb26cfc6d83c01a5","kind":"http_route","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"http:POST:/api/jobs","source_line":2824,"route":"/api/jobs","verb":"POST","handler_id":"python-ac86bdc5dca6ce87","evidence_level":"source_and_cold_route_mount"}, +{"id":"http-5f211f8ab4366bd9","kind":"http_route","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"http:POST:/api/jv","source_line":2261,"route":"/api/jv","verb":"POST","handler_id":"python-f469c4475fd82dd7","evidence_level":"source_and_cold_route_mount"}, +{"id":"http-f3118c5c6389ca25","kind":"http_route","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"http:POST:/api/jv/electrothermal-operating-point","source_line":2374,"route":"/api/jv/electrothermal-operating-point","verb":"POST","handler_id":"python-02dace9ce4486f18","evidence_level":"source_and_cold_route_mount"}, +{"id":"http-f24b461a9d6b5cea","kind":"http_route","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"http:POST:/api/jv/external-circuit","source_line":2315,"route":"/api/jv/external-circuit","verb":"POST","handler_id":"python-f2eeb8a527799aea","evidence_level":"source_and_cold_route_mount"}, +{"id":"http-db26a147134cc9ee","kind":"http_route","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"http:POST:/api/research/interface-charge/steady-state","source_line":2454,"route":"/api/research/interface-charge/steady-state","verb":"POST","handler_id":"python-10465cadcf218681","evidence_level":"source_and_cold_route_mount"}, +{"id":"http-fe4870ac139bc8f5","kind":"http_route","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"http:POST:/api/tandem","source_line":2563,"route":"/api/tandem","verb":"POST","handler_id":"python-be443f03a189a11e","evidence_level":"source_and_cold_route_mount"}, +{"id":"job_kind-df87062759ea5a08","kind":"job_dispatch_kind","current_path":"perovskite-sim/backend/main.py","route_id":"route-21c31233450fa0fe","origin_key":"job_kind:current_decomp","source_line":3127,"primary_callable_id":"python-1b8a2512651eb291","kind_value":"current_decomp","evidence_level":"source_dispatch_branches_and_route_import"}, +{"id":"job_kind-53aef688e16fe0d0","kind":"job_dispatch_kind","current_path":"perovskite-sim/backend/main.py","route_id":"route-dfdc9b3cbd01507a","origin_key":"job_kind:dark_jv","source_line":3225,"primary_callable_id":"python-8b13c5f71f5f1831","kind_value":"dark_jv","evidence_level":"source_dispatch_branches_and_route_import"}, +{"id":"job_kind-f264d8690ace5b89","kind":"job_dispatch_kind","current_path":"perovskite-sim/backend/main.py","route_id":"route-5cacfd0b17816d38","origin_key":"job_kind:degradation","source_line":3110,"primary_callable_id":"python-81fcaa6731414439","kind_value":"degradation","evidence_level":"source_dispatch_branches_and_route_import"}, +{"id":"job_kind-8c1131855b3d9a1d","kind":"job_dispatch_kind","current_path":"perovskite-sim/backend/main.py","route_id":"route-5cacfd0b17816d38","origin_key":"job_kind:dynamic_defect_transient","source_line":2956,"primary_callable_id":"python-00412f969649154c","kind_value":"dynamic_defect_transient","evidence_level":"source_dispatch_branches_and_route_import"}, +{"id":"job_kind-7da027df4071fe36","kind":"job_dispatch_kind","current_path":"perovskite-sim/backend/main.py","route_id":"route-afe24ce5dc3d8ca5","origin_key":"job_kind:el","source_line":3304,"primary_callable_id":"python-a605e2f301ee63c2","kind_value":"el","evidence_level":"source_dispatch_branches_and_route_import"}, +{"id":"job_kind-b31850dbd29c2aac","kind":"job_dispatch_kind","current_path":"perovskite-sim/backend/main.py","route_id":"route-afe24ce5dc3d8ca5","origin_key":"job_kind:eqe","source_line":3275,"primary_callable_id":"python-c48be3847c79aaa4","kind_value":"eqe","evidence_level":"source_dispatch_branches_and_route_import"}, +{"id":"job_kind-d2e9b10633772e9a","kind":"job_dispatch_kind","current_path":"perovskite-sim/backend/main.py","route_id":"route-afe24ce5dc3d8ca5","origin_key":"job_kind:impedance","source_line":3014,"primary_callable_id":"python-2f04296eb85e4928","kind_value":"impedance","evidence_level":"source_dispatch_branches_and_route_import"}, +{"id":"job_kind-7e147e0e8c8f5f2f","kind":"job_dispatch_kind","current_path":"perovskite-sim/backend/main.py","route_id":"route-dfdc9b3cbd01507a","origin_key":"job_kind:jv","source_line":2987,"primary_callable_id":"python-993788ea66e68b41","kind_value":"jv","evidence_level":"source_dispatch_branches_and_route_import"}, +{"id":"job_kind-73e8645082ee1b1c","kind":"job_dispatch_kind","current_path":"perovskite-sim/backend/main.py","route_id":"route-d7ff5aa868c9ae70","origin_key":"job_kind:jv_2d","source_line":3407,"primary_callable_id":"python-e039565f0e0d8729","kind_value":"jv_2d","evidence_level":"source_dispatch_branches_and_route_import"}, +{"id":"job_kind-419d8db5b199acd6","kind":"job_dispatch_kind","current_path":"perovskite-sim/backend/main.py","route_id":"route-afe24ce5dc3d8ca5","origin_key":"job_kind:mott_schottky","source_line":3328,"primary_callable_id":"python-0db15afd3e820943","kind_value":"mott_schottky","evidence_level":"source_dispatch_branches_and_route_import"}, +{"id":"job_kind-207df364f391c590","kind":"job_dispatch_kind","current_path":"perovskite-sim/backend/main.py","route_id":"route-21c31233450fa0fe","origin_key":"job_kind:spatial","source_line":3162,"primary_callable_id":"python-e8cf4882ef03843a","kind_value":"spatial","evidence_level":"source_dispatch_branches_and_route_import"}, +{"id":"job_kind-31c5ca8f39344b48","kind":"job_dispatch_kind","current_path":"perovskite-sim/backend/main.py","route_id":"route-dfdc9b3cbd01507a","origin_key":"job_kind:suns_voc","source_line":3238,"primary_callable_id":"python-c1bf0dfcc099c480","kind_value":"suns_voc","evidence_level":"source_dispatch_branches_and_route_import"}, +{"id":"job_kind-2fad181ab6e43051","kind":"job_dispatch_kind","current_path":"perovskite-sim/backend/main.py","route_id":"route-5cacfd0b17816d38","origin_key":"job_kind:tandem","source_line":3351,"primary_callable_id":"python-ba72f9f105c61c2a","kind_value":"tandem","evidence_level":"source_dispatch_branches_and_route_import"}, +{"id":"job_kind-da0262dabf800def","kind":"job_dispatch_kind","current_path":"perovskite-sim/backend/main.py","route_id":"route-5cacfd0b17816d38","origin_key":"job_kind:tpv","source_line":3201,"primary_callable_id":"python-07e5db9fb30478a0","kind_value":"tpv","evidence_level":"source_dispatch_branches_and_route_import"}, +{"id":"job_kind-d21527f421734bc8","kind":"job_dispatch_kind","current_path":"perovskite-sim/backend/main.py","route_id":"route-d7ff5aa868c9ae70","origin_key":"job_kind:voc_grain_sweep","source_line":3670,"primary_callable_id":"python-5b2957298956c59e","kind_value":"voc_grain_sweep","evidence_level":"source_dispatch_branches_and_route_import"}, +{"id":"job_kind-6d10bacefe5f9e71","kind":"job_dispatch_kind","current_path":"perovskite-sim/backend/main.py","route_id":"route-dfdc9b3cbd01507a","origin_key":"job_kind:voc_t","source_line":3257,"primary_callable_id":"python-fd753ea02137ee94","kind_value":"voc_t","evidence_level":"source_dispatch_branches_and_route_import"}, +{"id":"json_schema-b871e03ed9662723","kind":"pydantic_runtime_schema","current_path":"perovskite-sim/backend/api_schema.py","route_id":"route-8b705c7e01d821a0","origin_key":"json_schema:backend.api_schema.DegradationResultOut","evidence_level":"cold_json_schema_export"}, +{"id":"json_schema-3dfcf117bcde7154","kind":"pydantic_runtime_schema","current_path":"perovskite-sim/backend/api_schema.py","route_id":"route-8b705c7e01d821a0","origin_key":"json_schema:backend.api_schema.DeviceIn","evidence_level":"cold_json_schema_export"}, +{"id":"json_schema-ae122f49ec07cde3","kind":"pydantic_runtime_schema","current_path":"perovskite-sim/backend/api_schema.py","route_id":"route-8b705c7e01d821a0","origin_key":"json_schema:backend.api_schema.ImpedanceResultOut","evidence_level":"cold_json_schema_export"}, +{"id":"json_schema-b34b8f71ddb2bfe9","kind":"pydantic_runtime_schema","current_path":"perovskite-sim/backend/api_schema.py","route_id":"route-8b705c7e01d821a0","origin_key":"json_schema:backend.api_schema.JVMetricsOut","evidence_level":"cold_json_schema_export"}, +{"id":"json_schema-1bf0eebbc2618567","kind":"pydantic_runtime_schema","current_path":"perovskite-sim/backend/api_schema.py","route_id":"route-8b705c7e01d821a0","origin_key":"json_schema:backend.api_schema.JVResultOut","evidence_level":"cold_json_schema_export"}, +{"id":"json_schema-b8da4a15c129f826","kind":"pydantic_runtime_schema","current_path":"perovskite-sim/backend/api_schema.py","route_id":"route-8b705c7e01d821a0","origin_key":"json_schema:backend.api_schema.JobStatusOut","evidence_level":"cold_json_schema_export"}, +{"id":"json_schema-5dbba1c82afeb48e","kind":"pydantic_runtime_schema","current_path":"perovskite-sim/backend/api_schema.py","route_id":"route-8b705c7e01d821a0","origin_key":"json_schema:backend.api_schema.LayerIn","evidence_level":"cold_json_schema_export"}, +{"id":"json_schema-5b92532d743d597c","kind":"pydantic_runtime_schema","current_path":"perovskite-sim/backend/api_schema.py","route_id":"route-8b705c7e01d821a0","origin_key":"json_schema:backend.api_schema.SimulateRequest","evidence_level":"cold_json_schema_export"}, +{"id":"json_schema-ccdfff0de8e93369","kind":"pydantic_runtime_schema","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"json_schema:backend.main.DegRequest","evidence_level":"cold_json_schema_export"}, +{"id":"json_schema-a039287f2141a3b0","kind":"pydantic_runtime_schema","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"json_schema:backend.main.DynamicDefectTransientRequest","evidence_level":"cold_json_schema_export"}, +{"id":"json_schema-36e28f3f91778e43","kind":"pydantic_runtime_schema","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"json_schema:backend.main.ElectrothermalOperatingPointRequest","evidence_level":"cold_json_schema_export"}, +{"id":"json_schema-b3c1b7b0fb9a1d4d","kind":"pydantic_runtime_schema","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"json_schema:backend.main.ExternalCircuitJVRequest","evidence_level":"cold_json_schema_export"}, +{"id":"json_schema-9e1b0840f0c1b941","kind":"pydantic_runtime_schema","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"json_schema:backend.main.ISRequest","evidence_level":"cold_json_schema_export"}, +{"id":"json_schema-1d5b37690d79f160","kind":"pydantic_runtime_schema","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"json_schema:backend.main.InterfaceChargeContactEvidence","evidence_level":"cold_json_schema_export"}, +{"id":"json_schema-f5efe3e61399a048","kind":"pydantic_runtime_schema","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"json_schema:backend.main.InterfaceChargeDarkReferenceEvidence","evidence_level":"cold_json_schema_export"}, +{"id":"json_schema-78bedf50aab9d194","kind":"pydantic_runtime_schema","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"json_schema:backend.main.InterfaceChargeOperatingPointEvidence","evidence_level":"cold_json_schema_export"}, +{"id":"json_schema-64c3897c44d17160","kind":"pydantic_runtime_schema","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"json_schema:backend.main.InterfaceChargePerInterfaceEvidence","evidence_level":"cold_json_schema_export"}, +{"id":"json_schema-75f05d8503272994","kind":"pydantic_runtime_schema","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"json_schema:backend.main.InterfaceChargeResearchProvenance","evidence_level":"cold_json_schema_export"}, +{"id":"json_schema-a1297ee42de7fc59","kind":"pydantic_runtime_schema","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"json_schema:backend.main.InterfaceChargeSolverControlsEvidence","evidence_level":"cold_json_schema_export"}, +{"id":"json_schema-ee9dccfa1e832962","kind":"pydantic_runtime_schema","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"json_schema:backend.main.InterfaceChargeSteadyStateResearchRequest","evidence_level":"cold_json_schema_export"}, +{"id":"json_schema-795a09aa5d8ac6c6","kind":"pydantic_runtime_schema","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"json_schema:backend.main.InterfaceChargeSteadyStateResearchResponse","evidence_level":"cold_json_schema_export"}, +{"id":"json_schema-0687725ca25cb4f3","kind":"pydantic_runtime_schema","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"json_schema:backend.main.InterfaceChargeSteadyStateResearchResult","evidence_level":"cold_json_schema_export"}, +{"id":"json_schema-2ddb2c63e5f86dbc","kind":"pydantic_runtime_schema","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"json_schema:backend.main.InterfaceSRHIdentifiabilityRequest","evidence_level":"cold_json_schema_export"}, +{"id":"json_schema-68894c740339cf5b","kind":"pydantic_runtime_schema","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"json_schema:backend.main.JVRequest","evidence_level":"cold_json_schema_export"}, +{"id":"json_schema-9d721cbd741dd8a2","kind":"pydantic_runtime_schema","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"json_schema:backend.main.JobRequest","evidence_level":"cold_json_schema_export"}, +{"id":"json_schema-bbbbe88e7f4a23d8","kind":"pydantic_runtime_schema","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"json_schema:backend.main.TandemRequest","evidence_level":"cold_json_schema_export"}, +{"id":"json_schema-0eb9bf0dc7c083dd","kind":"pydantic_runtime_schema","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"json_schema:backend.main.UserConfigPayload","evidence_level":"cold_json_schema_export"}, +{"id":"lane-3eb9325a1d09f96f","kind":"registered_model_driver_protocol_combination","current_path":"perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml","route_id":"route-1af17bb46d9794d0","origin_key":"lane:algebraic-interface-state-dae-transient-v1","source_key":"lanes.algebraic-interface-state-dae-transient-v1","config_id":"config-3cc522bdc594b20e","executor_id":"executor-3020a7be7b3302cf","scientific_execution":"not_run","evidence_level":"cold_registry_config_hash_and_executor_resolution","registered_contract":{"claim_level":"internal-numerical-candidate","config":"tests/fixtures/configs/interface_charge_research.yaml","config_sha256":"523449448807e4993f999300308096003c3eeaf280924b7af208915a3cf41a54","executor":"perovskite_sim.validation.dae_interface_refinement:run_algebraic_interface_dae_transient","executor_version":"v1","grid":{"parameter":"intervals_per_electrical_layer","values":[4,8,16]},"tolerance":{"parameter":"backward_euler_time_step_factor","factors":[1.0,0.5,0.25]},"observables":{"structured_dense_terminal_interface_state_relative_difference":{"comparison":"absolute_linf","limit":1e-10,"units":"1"},"structured_dense_terminal_log_density_difference":{"comparison":"absolute_linf","limit":1e-10,"units":"1"},"structured_dense_terminal_potential_difference_V":{"comparison":"absolute_linf","limit":1e-12,"units":"V"},"terminal_interface_state_relative_error":{"comparison":"absolute_linf","limit":0.004,"units":"1"},"terminal_interface_occupation":{"comparison":"pointwise_relative_linf","limit":0.02,"units":"1"},"terminal_log_density_error":{"comparison":"absolute_linf","limit":0.004,"units":"1"},"terminal_potential_error_V":{"comparison":"absolute_linf","limit":5e-13,"units":"V"}},"quality_gates":{"algebraic_interface_topology_verified":{"operator":"eq","limit":1.0,"units":"1"},"bulk_srh_denominator_positive":{"operator":"eq","limit":1.0,"units":"1"},"clamp_inactive_slice_verified":{"operator":"eq","limit":1.0,"units":"1"},"consistent_initial_condition_certified":{"operator":"eq","limit":1.0,"units":"1"},"dense_reference_success":{"operator":"eq","limit":1.0,"units":"1"},"max_electron_balance_defect_A_m2":{"operator":"le","limit":2e-08,"units":"A m-2"},"max_hole_balance_defect_A_m2":{"operator":"le","limit":2e-08,"units":"A m-2"},"max_interface_state_balance_A_m2":{"operator":"le","limit":2e-08,"units":"A m-2"},"max_normalized_algebraic_residual":{"operator":"le","limit":1e-08,"units":"1"},"max_normalized_carrier_residual":{"operator":"le","limit":5e-08,"units":"1"},"max_normalized_interface_residual":{"operator":"le","limit":1e-08,"units":"1"},"max_structured_dense_interface_state_relative_difference":{"operator":"le","limit":1e-10,"units":"1"},"max_structured_dense_log_density_difference":{"operator":"le","limit":1e-10,"units":"1"},"max_structured_dense_potential_difference_V":{"operator":"le","limit":1e-12,"units":"V"},"max_terminal_interface_state_relative_error":{"operator":"le","limit":0.005,"units":"1"},"max_terminal_log_density_error":{"operator":"le","limit":0.005,"units":"1"},"max_terminal_potential_error_V":{"operator":"le","limit":1e-10,"units":"V"},"mol_numerical_health_passed":{"operator":"eq","limit":1.0,"units":"1"},"mol_reference_success":{"operator":"eq","limit":1.0,"units":"1"},"structured_analytic_success":{"operator":"eq","limit":1.0,"units":"1"},"structured_csr_nonzeros_per_node":{"operator":"le","limit":20.0,"units":"1"},"structured_jacobian_condition_finite":{"operator":"eq","limit":1.0,"units":"1"},"structured_rhs_work_fraction":{"operator":"le","limit":0.1,"units":"1"},"terminal_densities_positive":{"operator":"eq","limit":1.0,"units":"1"},"terminal_interface_states_bounded":{"operator":"eq","limit":1.0,"units":"1"}},"options":{"config_loader":"standard","require_protocol":true,"applied_voltage_V":0.01,"final_time_s":1e-08,"carrier_reference_time_s":1e-07,"interface_velocity_m_s":"1.0e5","cross_transmission":1.0,"base_time_steps":2,"reference_grid_intervals_per_layer":4,"newton_residual_tolerance":5e-08,"max_newton_iterations":24,"max_line_search_backtracks":12,"max_log_density_update":2.0,"max_interface_logit_update":2.0,"finite_difference_relative_step":1e-06,"mol_rtol":1e-08,"mol_atol_m3":"1.0e4","mol_max_step_divisor":20},"limitations":["This lane certifies only a dark 10 mV two-layer ohmic research slice with one uncharged algebraic interface and four DOS-bounded Fermi-Richardson states.","InterfaceDefect, cross-node carrier sampling, dynamic interface states, interface electrostatic charge, mobile ions, selective contacts, two-sided trace geometry, field mobility, photon recycling, and clamp-active operating points remain excluded.","The eliminated-interface-state MoL comparison and dense-versus-structured agreement are internal numerical evidence, not external solver validation, experimental validation, SCAPS parity, or a general interface-physics certificate."]}}, +{"id":"lane-74c8fcdda1607b00","kind":"registered_model_driver_protocol_combination","current_path":"perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml","route_id":"route-7ae47088bbed9ed7","origin_key":"lane:bulk-energy-distributed-trap-equilibrium-v1","source_key":"lanes.bulk-energy-distributed-trap-equilibrium-v1","config_id":"config-a169223267f9bbf5","executor_id":"executor-8a07421a6eadde05","scientific_execution":"not_run","evidence_level":"cold_registry_config_hash_and_executor_resolution","registered_contract":{"claim_level":"internal-numerical-candidate","config":"tests/fixtures/configs/csi_gaussian_bulk_trap_pn_research.yaml","config_sha256":"7e8bf1ab6669bd8088cd402ef73aca1cd75c9ae1755d3137faf6650569ac481b","executor":"perovskite_sim.validation.bulk_trap_refinement:run_bulk_trap_equilibrium_refinement","executor_version":"v1","grid":{"parameter":"intervals_per_electrical_layer","values":[40,80,160]},"tolerance":{"parameter":"poisson_residual_tolerance_factor","factors":[1.0,0.1,0.01]},"observables":{"left_contact_trap_occupancy":{"comparison":"absolute_linf","limit":1e-12,"units":"1"},"normalized_integrated_bulk_trap_charge":{"comparison":"absolute_linf","limit":0.0005,"units":"1"},"peak_field_to_average_built_in_ratio":{"comparison":"absolute_linf","limit":0.05,"units":"1"},"right_contact_trap_occupancy":{"comparison":"absolute_linf","limit":1e-12,"units":"1"}},"quality_gates":{"bulk_trap_topology_verified":{"operator":"eq","limit":1.0,"units":"1"},"contact_thermodynamics_certified":{"operator":"eq","limit":1.0,"units":"1"},"default_production_path_rejected":{"operator":"eq","limit":1.0,"units":"1"},"energy_quadrature_orders_completed":{"operator":"eq","limit":3.0,"units":"1"},"max_energy_charge_relative_change":{"operator":"le","limit":0.005,"units":"1"},"max_energy_occupancy_relative_change":{"operator":"le","limit":0.005,"units":"1"},"max_energy_recombination_relative_change":{"operator":"le","limit":0.005,"units":"1"},"max_gauss_law_relative_error":{"operator":"le","limit":1e-07,"units":"1"},"max_mass_action_relative_error":{"operator":"le","limit":1e-12,"units":"1"},"max_normalized_poisson_residual":{"operator":"le","limit":1e-08,"units":"1"},"max_relative_face_current":{"operator":"le","limit":1e-12,"units":"1"},"maximum_newton_iterations":{"operator":"le","limit":25.0,"units":"1"},"minimum_absolute_integrated_bulk_trap_charge_C_m2":{"operator":"ge","limit":0.001,"units":"C/m2"},"terminal_densities_positive":{"operator":"eq","limit":1.0,"units":"1"},"trap_occupancy_bounded":{"operator":"eq","limit":1.0,"units":"1"}},"options":{"config_loader":"standard","require_protocol":true,"left_layer_name":"p_trap","right_layer_name":"n_trap","energy_quadrature_orders":[16,32,64],"probe_electron_density_m3":"2.0e20","probe_hole_density_m3":"2.0e20","grid_alpha":3.0,"base_poisson_tolerance":1e-08,"max_newton_iterations":100,"max_potential_step_V":0.1,"max_line_search_backtracks":20},"limitations":["This lane certifies only a dark homogeneous Maxwell-Boltzmann silicon p/n equilibrium with one spatially uniform truncated-Gaussian acceptor-like trap distribution and fully ionized dopants.","Recombination, occupancy, and absolute bulk-trap charge share one frozen 16/32/64 energy quadrature; legacy SCAPS gaussian metadata and lifetime-only trap profiles remain parked and are not reinterpreted.","Bias, illumination, transient occupancy, Fermi-Dirac trap kinetics, amphoteric or multi-charge defects, heterojunctions, ions, selective contacts, field mobility, and every production experiment route remain excluded.","This is internal numerical evidence against mass action, Gauss law, and refinement gates, not external TCAD validation, experimental validation, or a materials-parameter claim."]}}, +{"id":"lane-30c624efe3f8467f","kind":"registered_model_driver_protocol_combination","current_path":"perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml","route_id":"route-7ae47088bbed9ed7","origin_key":"lane:charged-explicit-defect-qf-dc-v1","source_key":"lanes.charged-explicit-defect-qf-dc-v1","config_id":"config-ec72e45346ce382c","executor_id":"executor-42fd06adb4f502af","scientific_execution":"not_run","evidence_level":"cold_registry_config_hash_and_executor_resolution","registered_contract":{"claim_level":"internal-numerical-candidate","config":"tests/fixtures/configs/scaps_defect_s1_acceptor_n.yaml","config_sha256":"f49900b296a2bfb3c5a28d9135b24dcf8f0d6c409f105a70d4dd27100ebcb681","executor":"perovskite_sim.validation.charged_defect_refinement:run_charged_defect_qf_dc_refinement","executor_version":"v1","grid":{"parameter":"intervals_per_electrical_layer","values":[32,64,128]},"tolerance":{"parameter":"qf_dc_residual_tolerance_factor","factors":[1.0,0.1,0.01]},"observables":{"acceptor_normalized_charge_profile":{"comparison":"absolute_linf","limit":0.0005,"units":"1"},"acceptor_occupancy_profile":{"comparison":"absolute_linf","limit":0.0005,"units":"1"},"donor_normalized_charge_profile":{"comparison":"absolute_linf","limit":0.0005,"units":"1"},"donor_occupancy_profile":{"comparison":"absolute_linf","limit":0.0005,"units":"1"},"pn_dark_electron_log10_profile":{"comparison":"absolute_linf","limit":0.005,"units":"log10(m-3)"},"pn_dark_hole_log10_profile":{"comparison":"absolute_linf","limit":0.005,"units":"log10(m-3)"},"pn_dark_potential_V":{"comparison":"absolute_linf","limit":0.0005,"units":"V"},"pn_ff":{"comparison":"relative_linf","limit":0.005,"units":"1"},"pn_jsc_A_m2":{"comparison":"relative_linf","limit":0.002,"units":"A m-2"},"pn_jv_current_A_m2":{"comparison":"relative_linf","limit":0.005,"units":"A m-2"},"pn_voc_V":{"comparison":"absolute_linf","limit":0.001,"units":"V"},"s1_integrated_defect_charge_C_m2":{"comparison":"relative_linf","limit":0.001,"units":"C m-2"},"s2_integrated_defect_charge_C_m2":{"comparison":"relative_linf","limit":0.001,"units":"C m-2"}},"quality_gates":{"all_states_certified":{"operator":"eq","limit":1.0,"units":"1"},"charged_model_hashes_verified":{"operator":"eq","limit":1.0,"units":"1"},"charge_signs_verified":{"operator":"eq","limit":1.0,"units":"1"},"contact_thermodynamics_certified":{"operator":"eq","limit":1.0,"units":"1"},"default_charged_path_rejected":{"operator":"eq","limit":1.0,"units":"1"},"max_continuity_bound_A_m2":{"operator":"le","limit":0.0002,"units":"A m-2"},"max_current_spread_A_m2":{"operator":"le","limit":0.0002,"units":"A m-2"},"max_dark_current_A_m2":{"operator":"le","limit":1e-08,"units":"A m-2"},"max_dark_qf_span_V":{"operator":"le","limit":1e-10,"units":"V"},"max_mass_action_relative_error":{"operator":"le","limit":1e-10,"units":"1"},"max_normalized_cell_residual":{"operator":"le","limit":1e-07,"units":"1"},"max_poisson_residual":{"operator":"le","limit":1e-08,"units":"1"},"minimum_absolute_defect_charge_C_m3":{"operator":"ge","limit":100.0,"units":"C m-3"},"minimum_kinetic_denominator_s1":{"operator":"ge","limit":1.0,"units":"s-1"},"minimum_short_circuit_current_A_m2":{"operator":"ge","limit":1.0,"units":"A m-2"},"monovalent_topology_verified":{"operator":"eq","limit":1.0,"units":"1"},"neutral_lifetime_bit_identical":{"operator":"eq","limit":1.0,"units":"1"},"occupancy_bounded_without_clipping":{"operator":"eq","limit":1.0,"units":"1"},"scenario_count":{"operator":"eq","limit":3.0,"units":"1"},"terminal_densities_positive":{"operator":"eq","limit":1.0,"units":"1"},"voc_bracketed":{"operator":"eq","limit":1.0,"units":"1"},"voltage_points_completed":{"operator":"eq","limit":7.0,"units":"1"}},"options":{"config_loader":"scaps_explicit_defect_suite_v1","require_protocol":true,"suite_manifest":"reproducibility/ScapsDefectS0S2Suite.json","suite_manifest_sha256":"d3a7486bc48f4cee8db309db25d96201d7e429325cbabd16ea6abccf591f6dd8","grid_alpha":2.0,"profile_points":17,"voltage_grid_V":[0.0,0.05,0.1,0.15,0.2,0.25,0.3],"illumination_steps":[0.0,0.0001,0.01,1.0],"base_newton_residual_tolerance":1e-08,"base_poisson_tolerance_V":1e-10,"base_finite_difference_step":1e-05,"continuity_tolerance_A_m2":0.0002,"current_spread_tolerance_A_m2":0.0002},"limitations":["This lane certifies only the frozen S0 neutral, S1 acceptor/n-type, S2 donor/p-type single-level Maxwell-Boltzmann slabs and an internal S2-p/S1-n illuminated homojunction under the public opt-in QF/DC charged-defect closure.","The 3x3 matrix covers spatial and nonlinear-tolerance refinement, shared occupancy/recombination/Poisson/contact model identity, dark equilibrium, and a seven-point illuminated J-V; it excludes ions, interface defects, energy distributions, metastability, AC, transient defect occupancy, tunnelling, and Fermi-Dirac carrier statistics.","The S0-S2 suite manifest defines a fail-closed external SCAPS export contract, but this lane contains SolarLab internal numerical evidence only. It is not SCAPS parity, experimental validation, or a materials-parameter claim."]}}, +{"id":"lane-d0db2268d3d111e7","kind":"registered_model_driver_protocol_combination","current_path":"perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml","route_id":"route-fc717d86c09ab83e","origin_key":"lane:cigs-graded-optics-v1","source_key":"lanes.cigs-graded-optics-v1","config_id":"config-b20df488cea4c952","executor_id":"executor-c898e6d7a21c6561","scientific_execution":"not_run","evidence_level":"cold_registry_config_hash_and_executor_resolution","registered_contract":{"claim_level":"internal-numerical-candidate","config":"tests/fixtures/configs/cigs_graded_optics.yaml","config_sha256":"9539deb2d0883838c9dac42dd95aae41eafb109e9d83205c3273fbd8df0e0fbd","executor":"perovskite_sim.validation.cigs_optics_refinement:run_cigs_graded_optics_refinement","executor_version":"v1","grid":{"parameter":"cigs_optical_slices","values":[8,16,32]},"tolerance":{"parameter":"inverse_kk_quadrature_order_factor","factors":[1.0,0.5,0.25]},"observables":{"absorbed_photon_flux_m2_s":{"comparison":"relative_linf","limit":0.001,"units":"m-2 s-1"},"generation_centroid_fraction":{"comparison":"absolute_linf","limit":0.001,"units":"1"},"mean_spectral_reflectance":{"comparison":"absolute_linf","limit":0.001,"units":"1"},"normalized_generation_profile":{"comparison":"absolute_linf","limit":0.005,"units":"1"}},"quality_gates":{"causal_nk_verified":{"operator":"eq","limit":1.0,"units":"1"},"cigs_optical_topology_verified":{"operator":"eq","limit":1.0,"units":"1"},"default_gate_off_inert":{"operator":"eq","limit":1.0,"units":"1"},"independent_carron_energy_points_completed":{"operator":"eq","limit":453.0,"units":"1"},"max_carron_composition_median_relative_error":{"operator":"le","limit":0.08,"units":"1"},"max_minoura_to_carron_ratio":{"operator":"le","limit":1.15,"units":"1"},"max_electrical_optical_gap_mismatch_eV":{"operator":"le","limit":0.01,"units":"eV"},"max_photon_budget_excess_fraction":{"operator":"le","limit":1e-12,"units":"1"},"max_reflectance_bound_violation":{"operator":"le","limit":1e-12,"units":"1"},"max_uniform_composition_reflectance_difference":{"operator":"le","limit":1e-12,"units":"1"},"min_minoura_to_carron_ratio":{"operator":"ge","limit":0.6,"units":"1"},"positive_absorbed_photon_flux":{"operator":"eq","limit":1.0,"units":"1"},"shared_composition_coordinate_verified":{"operator":"eq","limit":1.0,"units":"1"}},"options":{"config_loader":"standard","require_protocol":true,"absorber_layer_name":"CIGS_absorber","fixed_electrical_intervals_per_layer":32,"wavelength_points":100,"wavelength_min_nm":300.0,"wavelength_max_nm":1000.0,"base_kk_quadrature_order":96,"carron_energy_points_per_composition":151,"carron_minimum_excess_above_gap_eV":0.15},"limitations":["This lane certifies only the composition-resolved CIGS absorber optics in the frozen research preset; ZnO and CdS retain nominal scalar optical fallbacks.","Minoura n,k and the independent Carron alpha expression are literature models, not a measurement of this synthetic device or an external SCAPS/Setfos device reproduction.","The lane covers build-once AM1.5G generation, optical-slice and Kramers-Kronig refinement, causality, photon budget, uniform composition, and optical/electrical endpoint consistency; it does not solve transport or certify PCE optimization."]}}, +{"id":"lane-1c11f3ec305c3631","kind":"registered_model_driver_protocol_combination","current_path":"perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml","route_id":"route-1af17bb46d9794d0","origin_key":"lane:csi-qf-frequency-domain","source_key":"lanes.csi-qf-frequency-domain","config_id":"config-1b8adfa16822fda1","executor_id":"executor-b9be739a8a141120","scientific_execution":"not_run","evidence_level":"cold_registry_config_hash_and_executor_resolution","registered_contract":{"claim_level":"internal-numerical-candidate","config":"tests/fixtures/configs/cSi_homojunction.yaml","config_sha256":"c179e087a6623c7d19dfc7f6a3af056e6fcd5a0382e2e2b0e1e26dc08d883c99","executor":"perovskite_sim.validation.refinement_executors:run_csi_qf_frequency_domain","executor_version":"v3","grid":{"parameter":"N_grid","values":[100,200,300]},"tolerance":{"parameter":"finite_difference_step_factor","factors":[1.0,0.5,0.25]},"observables":{"cv_curve_F_m2":{"comparison":"relative_linf","limit":0.005,"units":"F m-2"},"mott_intercept_V":{"comparison":"absolute_linf","limit":0.002,"units":"V"},"effective_doping_m3":{"comparison":"relative_linf","limit":0.01,"units":"m-3"}},"quality_gates":{"max_relative_face_spread":{"operator":"le","limit":0.0005,"units":"1"},"max_backward_error":{"operator":"le","limit":1e-10,"units":"1"},"dc_residual_certified":{"operator":"eq","limit":1.0,"units":"1"}},"options":{"config_loader":"standard","require_protocol":true,"biases_V":[-0.3,-0.2,-0.1,0.0,0.1,0.2],"frequencies_Hz":["1.0e4","1.0e5","1.0e6"],"nominal_delta_V":0.01,"base_state_difference_step":1e-05,"base_voltage_difference_step_V":1e-05,"mott_schottky_eps_r":11.7,"temperature_K":300.0},"limitations":["N_grid=100 intentionally probes below the configured c-Si grid guard and remains fail-closed evidence.","This minimum-roadmap lane is not eligible for promotion when any cell fails; use the separately versioned resolved lane for a positive certificate.","This is an internal QF small-signal lane, not an external C-V comparison."]}}, +{"id":"lane-1f48a67f12b83f3b","kind":"registered_model_driver_protocol_combination","current_path":"perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml","route_id":"route-1af17bb46d9794d0","origin_key":"lane:csi-qf-frequency-domain-resolved-v2","source_key":"lanes.csi-qf-frequency-domain-resolved-v2","config_id":"config-1b8adfa16822fda1","executor_id":"executor-b9be739a8a141120","scientific_execution":"not_run","evidence_level":"cold_registry_config_hash_and_executor_resolution","registered_contract":{"claim_level":"internal-numerical-candidate","config":"tests/fixtures/configs/cSi_homojunction.yaml","config_sha256":"c179e087a6623c7d19dfc7f6a3af056e6fcd5a0382e2e2b0e1e26dc08d883c99","executor":"perovskite_sim.validation.refinement_executors:run_csi_qf_frequency_domain","executor_version":"v3","grid":{"parameter":"N_grid","values":[200,300,400]},"tolerance":{"parameter":"finite_difference_step_factor","factors":[1.0,0.5,0.25]},"observables":{"cv_curve_F_m2":{"comparison":"relative_linf","limit":0.005,"units":"F m-2"},"mott_intercept_V":{"comparison":"absolute_linf","limit":0.002,"units":"V"},"effective_doping_m3":{"comparison":"relative_linf","limit":0.01,"units":"m-3"}},"quality_gates":{"max_relative_face_spread":{"operator":"le","limit":0.0005,"units":"1"},"max_backward_error":{"operator":"le","limit":1e-10,"units":"1"},"dc_residual_certified":{"operator":"eq","limit":1.0,"units":"1"}},"options":{"config_loader":"standard","require_protocol":true,"biases_V":[-0.3,-0.2,-0.1,0.0,0.1,0.2],"frequencies_Hz":["1.0e4","1.0e5","1.0e6"],"nominal_delta_V":0.01,"base_state_difference_step":1e-05,"base_voltage_difference_step_V":1e-05,"mott_schottky_eps_r":11.7,"temperature_K":300.0},"limitations":["This versioned lane starts at the configured c-Si minimum grid and does not erase the N_grid=100 fail-close evidence.","Its certificate is internal QF small-signal convergence, not an external C-V validation or an independent contact-barrier measurement."]}}, +{"id":"lane-1dfc4e4b19df86e8","kind":"registered_model_driver_protocol_combination","current_path":"perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml","route_id":"route-fc717d86c09ab83e","origin_key":"lane:degenerate-pn-equilibrium-v1","source_key":"lanes.degenerate-pn-equilibrium-v1","config_id":"config-a70e9dce4d20e4a2","executor_id":"executor-2daf567fb4cbef33","scientific_execution":"not_run","evidence_level":"cold_registry_config_hash_and_executor_resolution","registered_contract":{"claim_level":"internal-numerical-candidate","config":"tests/fixtures/configs/csi_degenerate_pn_research.yaml","config_sha256":"6d707f97bc1632521b5176f55d6e004cc171636e0264e85aa4f20eadafe2dfcb","executor":"perovskite_sim.validation.degenerate_refinement:run_degenerate_pn_equilibrium_refinement","executor_version":"v1","grid":{"parameter":"intervals_per_electrical_layer","values":[40,80,160]},"tolerance":{"parameter":"poisson_residual_tolerance_factor","factors":[1.0,0.1,0.01]},"observables":{"depletion_width_to_analytic_ratio":{"comparison":"absolute_linf","limit":0.002,"units":"1"},"peak_field_to_analytic_ratio":{"comparison":"absolute_linf","limit":0.004,"units":"1"},"space_charge_balance_relative_error":{"comparison":"absolute_linf","limit":0.01,"units":"1"}},"quality_gates":{"contact_thermodynamics_certified":{"operator":"eq","limit":1.0,"units":"1"},"fd_recombination_off_topology_verified":{"operator":"eq","limit":1.0,"units":"1"},"max_depletion_approximation_relative_error":{"operator":"le","limit":0.05,"units":"1"},"max_normalized_carrier_rate":{"operator":"le","limit":1e-12,"units":"1"},"max_normalized_poisson_residual":{"operator":"le","limit":1e-08,"units":"1"},"max_peak_field_approximation_relative_error":{"operator":"le","limit":0.05,"units":"1"},"max_relative_face_current":{"operator":"le","limit":1e-12,"units":"1"},"max_space_charge_balance_relative_error":{"operator":"le","limit":0.02,"units":"1"},"newton_iterations":{"operator":"le","limit":20.0,"units":"1"},"terminal_densities_positive":{"operator":"eq","limit":1.0,"units":"1"}},"options":{"config_loader":"standard","require_protocol":true,"left_layer_name":"p_plus","right_layer_name":"n_plus","grid_alpha":3.0,"base_poisson_tolerance":1e-08,"max_newton_iterations":100,"max_potential_step_V":0.1,"max_line_search_backtracks":20},"limitations":["This lane certifies only a symmetric, dark, fully-ionized, homogeneous silicon p+/n+ equilibrium with Fermi-Dirac charge and generalized Scharfetter-Gummel transport.","Bulk recombination is explicitly disabled because the repository's historical np-ni^2 laws are Maxwell-Boltzmann closures; illumination, bias, heterojunctions, spatial doping profiles, ions, selective contacts, field mobility, and interface states remain excluded.","The abrupt depletion approximation is an internal analytic quality oracle. This is not external Sentaurus or PC1D validation, experimental validation, or a production J-V/C-V/impedance certificate."]}}, +{"id":"lane-b7e62a98398228f0","kind":"registered_model_driver_protocol_combination","current_path":"perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml","route_id":"route-7ae47088bbed9ed7","origin_key":"lane:distributed-explicit-defect-qf-dc-v1","source_key":"lanes.distributed-explicit-defect-qf-dc-v1","config_id":"config-f797930f7afd3a9f","executor_id":"executor-a16d164eb8c3f07e","scientific_execution":"not_run","evidence_level":"cold_registry_config_hash_and_executor_resolution","registered_contract":{"claim_level":"internal-numerical-candidate","config":"tests/fixtures/configs/distributed_defect_qf_dc_pn.yaml","config_sha256":"7a6b1c16d8ea313177e3a761660bd6b7bbb546b14aa23189f91a9187ff0904f8","executor":"perovskite_sim.validation.distributed_defect_refinement:run_distributed_defect_qf_dc_refinement","executor_version":"v1","grid":{"parameter":"intervals_per_electrical_layer","values":[16,32,64]},"tolerance":{"parameter":"qf_dc_residual_tolerance_factor","factors":[1.0,0.1,0.01]},"observables":{"built_in_potential_V":{"comparison":"absolute_linf","limit":0.0001,"units":"V"},"contact_reservoir_log10_m3":{"comparison":"absolute_linf","limit":0.005,"units":"log10(m-3)"},"dark_electron_log10_profile":{"comparison":"absolute_linf","limit":0.01,"units":"log10(m-3)"},"dark_hole_log10_profile":{"comparison":"absolute_linf","limit":0.01,"units":"log10(m-3)"},"dark_potential_V":{"comparison":"absolute_linf","limit":0.0005,"units":"V"},"dark_source_normalized_charge_profile":{"comparison":"absolute_linf","limit":0.005,"units":"1"},"dark_source_occupancy_profile":{"comparison":"absolute_linf","limit":0.005,"units":"1"},"integrated_source_charge_C_m2":{"comparison":"relative_linf","limit":0.005,"units":"C m-2"},"jv_current_A_m2":{"comparison":"relative_linf","limit":0.002,"units":"A m-2"},"short_circuit_current_A_m2":{"comparison":"relative_linf","limit":0.002,"units":"A m-2"}},"quality_gates":{"all_states_certified":{"operator":"eq","limit":1.0,"units":"1"},"contact_thermodynamics_certified":{"operator":"eq","limit":1.0,"units":"1"},"default_distributed_path_rejected":{"operator":"eq","limit":1.0,"units":"1"},"distributed_energy_metadata_verified":{"operator":"eq","limit":1.0,"units":"1"},"distributed_model_hashes_verified":{"operator":"eq","limit":1.0,"units":"1"},"distributed_topology_verified":{"operator":"eq","limit":1.0,"units":"1"},"energy_orders_completed":{"operator":"eq","limit":3.0,"units":"1"},"max_contact_fermi_level_span_eV":{"operator":"le","limit":1e-10,"units":"eV"},"max_continuity_bound_A_m2":{"operator":"le","limit":0.0002,"units":"A m-2"},"max_current_spread_A_m2":{"operator":"le","limit":0.0002,"units":"A m-2"},"max_dark_current_A_m2":{"operator":"le","limit":1e-06,"units":"A m-2"},"max_dark_qf_span_V":{"operator":"le","limit":1e-10,"units":"V"},"max_dark_recombination_rate_m3_s":{"operator":"le","limit":"1.0e12","units":"m-3 s-1"},"max_energy_contact_log10_change":{"operator":"le","limit":0.005,"units":"log10(m-3)"},"max_energy_current_relative_change":{"operator":"le","limit":0.005,"units":"1"},"max_energy_normalized_charge_change":{"operator":"le","limit":0.005,"units":"1"},"max_energy_occupancy_absolute_change":{"operator":"le","limit":0.005,"units":"1"},"max_energy_potential_change_V":{"operator":"le","limit":0.0005,"units":"V"},"max_energy_recombination_relative_change":{"operator":"le","limit":0.005,"units":"1"},"max_energy_tangent_relative_change":{"operator":"le","limit":0.005,"units":"1"},"max_mass_action_relative_error":{"operator":"le","limit":1e-10,"units":"1"},"max_normalized_cell_residual":{"operator":"le","limit":1e-07,"units":"1"},"max_poisson_residual":{"operator":"le","limit":1e-08,"units":"1"},"minimum_kinetic_denominator_s1":{"operator":"ge","limit":1.0,"units":"s-1"},"occupancy_bounded_without_clipping":{"operator":"eq","limit":1.0,"units":"1"},"source_species_count":{"operator":"eq","limit":4.0,"units":"1"},"terminal_densities_positive":{"operator":"eq","limit":1.0,"units":"1"},"voltage_points_completed":{"operator":"eq","limit":3.0,"units":"1"}},"options":{"config_loader":"standard","require_protocol":true,"energy_quadrature_orders":[16,32,64],"grid_alpha":2.0,"profile_points":17,"voltage_grid_V":[0.0,0.01,0.02],"illumination_steps":[0.0,0.0001,0.01,1.0],"base_newton_residual_tolerance":1e-08,"base_poisson_tolerance_V":1e-10,"base_finite_difference_step":1e-05,"continuity_tolerance_A_m2":0.0002,"current_spread_tolerance_A_m2":0.0002},"limitations":[{"This lane certifies a frozen uniform two-layer p/n Maxwell-Boltzmann device with four source species":"VB-tail donor, uniform neutral, Gaussian acceptor, and CB-tail neutral."},"Every outer spatial-grid and nonlinear-tolerance cell executes an inner 16/32/64 energy-order ladder. Contact neutrality, built-in potential, Poisson charge, continuity recombination, analytic tangent, diagnostics, and three-point illuminated J-V share the same order in each run.","Mobile ions, interfaces, selective contacts, field mobility, spatial grading, dynamic occupancy, Fermi-Dirac statistics, AC, transient defects, tunnelling, and multivalent defects remain excluded.","This is internal SolarLab convergence evidence, not external SCAPS parity, experimental validation, or unique microscopic parameter identification."]}}, +{"id":"lane-6c70228c5f2817ea","kind":"registered_model_driver_protocol_combination","current_path":"perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml","route_id":"route-1af17bb46d9794d0","origin_key":"lane:dual-mobile-ion-dae-transient-v1","source_key":"lanes.dual-mobile-ion-dae-transient-v1","config_id":"config-859da6c860403b26","executor_id":"executor-6a64ad98ab180d90","scientific_execution":"not_run","evidence_level":"cold_registry_config_hash_and_executor_resolution","registered_contract":{"claim_level":"internal-numerical-candidate","config":"tests/fixtures/configs/ionmonger_benchmark.yaml","config_sha256":"fbc82c9b85d121c459ab08d07d1c7f886eef36f4db669d354b79d260f43c8750","executor":"perovskite_sim.validation.dae_dual_ion_refinement:run_dual_ion_dae_transient","executor_version":"v1","grid":{"parameter":"single_layer_intervals","values":[8,16,32]},"tolerance":{"parameter":"backward_euler_time_step_factor","factors":[1.0,0.5,0.25]},"observables":{"structured_dense_terminal_log_density_difference":{"comparison":"absolute_linf","limit":1e-10,"units":"1"},"structured_dense_terminal_positive_ion_relative_difference":{"comparison":"absolute_linf","limit":1e-12,"units":"1"},"structured_dense_terminal_negative_ion_relative_difference":{"comparison":"absolute_linf","limit":1e-12,"units":"1"},"structured_dense_terminal_potential_difference_V":{"comparison":"absolute_linf","limit":1e-12,"units":"V"},"terminal_log_density_error":{"comparison":"absolute_linf","limit":1e-08,"units":"1"},"terminal_positive_ion_relative_error":{"comparison":"absolute_linf","limit":1.2e-10,"units":"1"},"terminal_negative_ion_relative_error":{"comparison":"absolute_linf","limit":1.2e-10,"units":"1"},"terminal_potential_error_V":{"comparison":"absolute_linf","limit":5e-10,"units":"V"}},"quality_gates":{"bulk_srh_denominator_positive":{"operator":"eq","limit":1.0,"units":"1"},"consistent_initial_condition_certified":{"operator":"eq","limit":1.0,"units":"1"},"dense_reference_success":{"operator":"eq","limit":1.0,"units":"1"},"dual_ion_topology_verified":{"operator":"eq","limit":1.0,"units":"1"},"max_electron_balance_defect_A_m2":{"operator":"le","limit":2e-08,"units":"A m-2"},"max_hole_balance_defect_A_m2":{"operator":"le","limit":2e-08,"units":"A m-2"},"max_negative_ion_balance_relative":{"operator":"le","limit":1e-12,"units":"1"},"max_negative_ion_inventory_relative_drift":{"operator":"le","limit":1e-12,"units":"1"},"max_negative_ion_rhs_inventory_relative":{"operator":"le","limit":1e-12,"units":"1"},"max_normalized_algebraic_residual":{"operator":"le","limit":1e-09,"units":"1"},"max_normalized_carrier_residual":{"operator":"le","limit":1e-09,"units":"1"},"max_normalized_negative_ion_residual":{"operator":"le","limit":1e-09,"units":"1"},"max_normalized_positive_ion_residual":{"operator":"le","limit":1e-09,"units":"1"},"max_positive_ion_balance_relative":{"operator":"le","limit":1e-12,"units":"1"},"max_positive_ion_inventory_relative_drift":{"operator":"le","limit":1e-12,"units":"1"},"max_positive_ion_rhs_inventory_relative":{"operator":"le","limit":1e-12,"units":"1"},"max_structured_dense_log_density_difference":{"operator":"le","limit":1e-10,"units":"1"},"max_structured_dense_negative_ion_relative_difference":{"operator":"le","limit":1e-12,"units":"1"},"max_structured_dense_positive_ion_relative_difference":{"operator":"le","limit":1e-12,"units":"1"},"max_structured_dense_potential_difference_V":{"operator":"le","limit":1e-12,"units":"V"},"max_terminal_log_density_error":{"operator":"le","limit":6e-08,"units":"1"},"max_terminal_negative_ion_relative_error":{"operator":"le","limit":3e-10,"units":"1"},"max_terminal_positive_ion_relative_error":{"operator":"le","limit":6e-10,"units":"1"},"max_terminal_potential_error_V":{"operator":"le","limit":1e-09,"units":"V"},"minimum_negative_ion_relative_motion":{"operator":"ge","limit":1e-07,"units":"1"},"minimum_positive_ion_relative_motion":{"operator":"ge","limit":1e-06,"units":"1"},"minimum_shared_site_vacancy_fraction":{"operator":"ge","limit":0.95,"units":"1"},"mol_numerical_health_passed":{"operator":"eq","limit":1.0,"units":"1"},"mol_reference_success":{"operator":"eq","limit":1.0,"units":"1"},"site_occupancy_admissible":{"operator":"eq","limit":1.0,"units":"1"},"structured_analytic_success":{"operator":"eq","limit":1.0,"units":"1"},"structured_csr_nonzeros_per_node":{"operator":"le","limit":40.0,"units":"1"},"structured_jacobian_condition_finite":{"operator":"eq","limit":1.0,"units":"1"},"structured_rhs_work_fraction":{"operator":"le","limit":0.1,"units":"1"},"terminal_densities_positive":{"operator":"eq","limit":1.0,"units":"1"}},"options":{"config_loader":"standard","require_protocol":true,"source_layer_index":1,"source_layer_name":"MAPbI3","applied_voltage_V":0.01,"final_time_s":0.01,"carrier_reference_time_s":1e-09,"ion_reference_time_s":1.0,"negative_ion_diffusion_m2_s":3.2e-18,"negative_ion_density_m3":"1.6e25","negative_ion_site_limit_m3":"1.6e27","ion_steric_diffusion_only":true,"ion_steric_shared_site":true,"base_time_steps":2,"reference_grid_intervals":8,"newton_residual_tolerance":1e-09,"max_newton_iterations":24,"max_line_search_backtracks":12,"max_log_density_update":2.0,"max_ion_coordinate_update":2.0,"finite_difference_relative_step":1e-06,"mol_rtol":1e-10,"mol_atol_m3":"1.0e2","mol_max_step_divisor":400},"limitations":["This lane certifies only the dark, 10 mV, single-layer ohmic, shared-site dual-mobile-ion blocking-boundary research DAE slice derived from the IonMonger absorber.","The negative-ion parameters are synthetic protocol inputs, not values claimed by the source IonMonger publication; the result is internal numerical equivalence rather than external solver or device validation.","Selective contacts, InterfaceDefect, cross-node interface sampling, algebraic interface states, experiment routes, and backend routes remain excluded."]}}, +{"id":"lane-5ff1ae9d34dfa46d","kind":"registered_model_driver_protocol_combination","current_path":"perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml","route_id":"route-1af17bb46d9794d0","origin_key":"lane:dynamic-defect-ion-impedance-production-v1","source_key":"lanes.dynamic-defect-ion-impedance-production-v1","config_id":"config-e067749541584fae","executor_id":"executor-7b828a158ee65d45","scientific_execution":"not_run","evidence_level":"cold_registry_config_hash_and_executor_resolution","registered_contract":{"claim_level":"internal-numerical-candidate","config":"tests/fixtures/configs/dynamic_defect_ion_impedance.yaml","config_sha256":"0b7424e4170d7d3792f40f97361edee3a881a04a39ad3a549fb7de621798422a","executor":"perovskite_sim.validation.refinement_executors:run_dynamic_defect_impedance_production","executor_version":"v1","grid":{"parameter":"N_grid","values":[8,12,16]},"tolerance":{"parameter":"finite_difference_step_factor","factors":[1.0,0.5,0.25]},"observables":{"impedance_magnitude_ohm_m2":{"comparison":"pointwise_relative_linf","limit":0.02,"units":"ohm m2"},"impedance_phase_deg":{"comparison":"absolute_linf","limit":1.0,"units":"deg"},"normalized_bulk_trap_storage":{"comparison":"absolute_linf","limit":0.02,"units":"1"},"positive_ion_inventory_storage_F_m2":{"comparison":"absolute_linf","limit":1e-12,"units":"F m-2"}},"quality_gates":{"contact_thermodynamics_certified":{"operator":"eq","limit":1.0,"units":"1"},"dc_operating_point_certified":{"operator":"eq","limit":1.0,"units":"1"},"dynamic_defect_certificate_verified":{"operator":"eq","limit":1.0,"units":"1"},"frequency_window_certified":{"operator":"eq","limit":1.0,"units":"1"},"max_all_face_admittance_spread":{"operator":"le","limit":0.0005,"units":"1"},"max_bulk_trap_balance_relative_error":{"operator":"le","limit":0.001,"units":"1"},"max_current_decomposition_relative_error":{"operator":"le","limit":1e-07,"units":"1"},"max_frequency_interpolation_relative_error":{"operator":"le","limit":0.01,"units":"1"},"max_ion_inventory_response_relative":{"operator":"le","limit":1e-08,"units":"1"},"max_limit_relative_error":{"operator":"le","limit":0.03,"units":"1"},"max_linear_solve_backward_error":{"operator":"le","limit":1e-10,"units":"1"},"max_qss_embedding_error":{"operator":"le","limit":1e-08,"units":"1"},"max_refinement_relative_change":{"operator":"le","limit":0.002,"units":"1"},"numerically_certified":{"operator":"eq","limit":1.0,"units":"1"},"protocol_identity_verified":{"operator":"eq","limit":1.0,"units":"1"}},"options":{"config_loader":"standard","require_protocol":true,"V_dc_V":0.1,"illuminated":false,"frequency_min_Hz":0.001,"frequency_max_Hz":1000000.0,"frequency_count":145,"frequency_spacing":"logspace","delta_V":0.01,"defect_energy_quadrature_order":32,"base_state_step":1e-05,"base_voltage_step":1e-05},"limitations":["This lane certifies the production dynamic-defect method on one synthetic single-level acceptor plus positive-ion slab; bulk-only and two-sided interface branches remain covered by their dedicated adapter and public-dispatch integration tests.","Each cell executes the full production certificate and also compares the retained 145-point response with its nested 73-point log-frequency sub-grid for impedance and trap-storage interpolation error; conserved ionic inventory storage is checked against an absolute SI floor instead of normalizing near-zero noise.","This is internal grid, finite-difference, and frequency-sampling convergence evidence, not external SCAPS parity, measured impedance validation, or unique defect-parameter identification."]}}, +{"id":"lane-def3952fd4d218a3","kind":"registered_model_driver_protocol_combination","current_path":"perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml","route_id":"route-7ae47088bbed9ed7","origin_key":"lane:dynamic-defect-ion-transient-production-v1","source_key":"lanes.dynamic-defect-ion-transient-production-v1","config_id":"config-6a5cafb2f67eb805","executor_id":"executor-5082ef6e08643764","scientific_execution":"not_run","evidence_level":"cold_registry_config_hash_and_executor_resolution","registered_contract":{"claim_level":"internal-numerical-candidate","config":"tests/fixtures/configs/dynamic_interface_defect_ion_transient_absorber_only.yaml","config_sha256":"f617f230b2d9c144573394e38fcc313225dc84c7b38f7670b97e9a0a7cc12a24","executor":"perovskite_sim.validation.dynamic_defect_transient_refinement:run_dynamic_defect_ion_transient_refinement","executor_version":"v6","grid":{"parameter":"intervals_per_layer","values":[4,6,8]},"tolerance":{"parameter":"backward_euler_time_step_factor","factors":[1.0,0.5,0.25]},"observables":{"combined_interface_occupancy_change":{"comparison":"absolute_linf","limit":1e-08,"units":"1"},"combined_positive_ion_centroid_shift_m":{"comparison":"absolute_linf","limit":5e-11,"units":"m"},"combined_left_terminal_current_A_m2":{"comparison":"absolute_linf","limit":1e-05,"units":"A m-2"},"combined_integrated_charge_change_C_m2":{"comparison":"absolute_linf","limit":1e-09,"units":"C m-2"},"defect_dominated_interface_occupancy_change":{"comparison":"absolute_linf","limit":1e-08,"units":"1"},"defect_dominated_positive_ion_centroid_shift_m":{"comparison":"absolute_linf","limit":5e-11,"units":"m"},"defect_dominated_left_terminal_current_A_m2":{"comparison":"absolute_linf","limit":1e-05,"units":"A m-2"},"defect_dominated_integrated_charge_change_C_m2":{"comparison":"absolute_linf","limit":1e-09,"units":"C m-2"},"ion_dominated_interface_occupancy_change":{"comparison":"absolute_linf","limit":1e-08,"units":"1"},"ion_dominated_positive_ion_centroid_shift_m":{"comparison":"absolute_linf","limit":5e-11,"units":"m"},"ion_dominated_left_terminal_current_A_m2":{"comparison":"absolute_linf","limit":1e-05,"units":"A m-2"},"ion_dominated_integrated_charge_change_C_m2":{"comparison":"absolute_linf","limit":1e-09,"units":"C m-2"}},"quality_gates":{"all_cases_certified":{"operator":"eq","limit":1.0,"units":"1"},"analytic_sparse_jacobian_verified":{"operator":"eq","limit":1.0,"units":"1"},"case_count":{"operator":"eq","limit":3.0,"units":"1"},"clipping_used":{"operator":"eq","limit":0.0,"units":"1"},"combined_interface_occupancy_motion":{"operator":"ge","limit":1e-09,"units":"1"},"combined_positive_ion_motion":{"operator":"ge","limit":1e-05,"units":"1"},"defect_dominated_interface_occupancy_motion":{"operator":"ge","limit":1e-09,"units":"1"},"defect_dominated_positive_ion_motion":{"operator":"le","limit":1e-07,"units":"1"},"fast_ion_failure_is_declared_nonlinear_stall":{"operator":"eq","limit":1.0,"units":"1"},"fast_ion_failure_iteration_reported":{"operator":"eq","limit":1.0,"units":"1"},"fast_ion_failure_iteration_within_policy":{"operator":"eq","limit":1.0,"units":"1"},"fast_ion_failure_residual_above_acceptance":{"operator":"eq","limit":1.0,"units":"1"},"fast_ion_stiffness_failed_closed":{"operator":"eq","limit":1.0,"units":"1"},"fast_ion_stiffness_failure_typed":{"operator":"eq","limit":1.0,"units":"1"},"ion_dominated_interface_occupancy_motion":{"operator":"le","limit":1e-12,"units":"1"},"ion_dominated_positive_ion_motion":{"operator":"ge","limit":1e-05,"units":"1"},"max_all_face_current_spread_relative":{"operator":"le","limit":2e-06,"units":"1"},"max_analytic_jacobian_column_relative_error":{"operator":"le","limit":0.0003,"units":"1"},"max_charge_balance_relative_error":{"operator":"le","limit":1e-10,"units":"1"},"max_current_decomposition_relative_error":{"operator":"le","limit":1e-14,"units":"1"},"max_eliminated_operator_relative_error":{"operator":"le","limit":1e-06,"units":"1"},"max_interface_total_current_relative_error":{"operator":"le","limit":2e-06,"units":"1"},"max_ion_inventory_relative_drift":{"operator":"le","limit":1e-09,"units":"1"},"max_local_carrier_normalized_residual":{"operator":"le","limit":1e-07,"units":"1"},"max_local_gauss_normalized_residual":{"operator":"le","limit":1e-07,"units":"1"},"max_near_acceptance_nonmonotone_step_count":{"operator":"le","limit":12.0,"units":"1"},"max_poisson_residual_C_m2":{"operator":"le","limit":1e-08,"units":"C m-2"},"max_refinement_current_relative_change":{"operator":"le","limit":0.05,"units":"1"},"max_refinement_state_change":{"operator":"le","limit":0.02,"units":"1"},"max_scaled_nonlinear_residual":{"operator":"le","limit":0.05,"units":"1"},"max_site_occupancy_fraction":{"operator":"le","limit":0.999,"units":"1"},"microscopic_binding_certified":{"operator":"eq","limit":1.0,"units":"1"},"operating_points_certified":{"operator":"eq","limit":1.0,"units":"1"},"protocol_identity_verified":{"operator":"eq","limit":1.0,"units":"1"},"public_projection_certified":{"operator":"eq","limit":1.0,"units":"1"},"public_protocol_identity_verified":{"operator":"eq","limit":1.0,"units":"1"},"reference_certificate_bound":{"operator":"eq","limit":1.0,"units":"1"},"source_case_identity_verified":{"operator":"eq","limit":1.0,"units":"1"}},"options":{"config_loader":"standard","require_protocol":true,"production_method":"dynamic_defect_transient_certified","times_s":[0.0,1e-08,1e-06,0.0001],"voltage_V":[0.0,0.05,0.05,0.05],"base_nested_substeps":[1,2,4],"grid_alpha":1.5,"slow_ion_diffusivity_m2_s":1e-20,"slow_capture_scale":1e-12,"fast_ion_diffusivity_m2_s":1e-12,"maximum_newton_iterations":100,"maximum_line_search_steps":40,"maximum_near_acceptance_nonmonotone_steps":2},"limitations":["Version 6 is the first lane that executes the production DynamicDefectTransientProtocol and run_dynamic_defect_transient public wrapper for all three physical cases and the typed fast-ion stiffness boundary; it does not inherit production status from the v5 internal adapter certificate.","The public capability remains dark, exactly two electrical layers, one canonical two-sided microscopic interface defect, exactly one absorber positive-ion layer, no active negative ions, and no explicit bulk defects. Each cell binds the E3c v5 reference certificate but must independently pass runtime projection and engine gates.","Observables and physical thresholds intentionally match v5 reference-relative convergence evidence; three additional per-cell gates verify public protocol round-trip/content identity, public projection certification, and exact reference-certificate binding.","This lane is internal SolarLab production-path numerical certification, not SCAPS transient parity, experimental validation, bulk-plus-ion coverage, dual-ion coverage, distributed dynamic defects, metastability, tunnelling, or unique parameter identification."]}}, +{"id":"lane-b61bf1fc1c5146b5","kind":"registered_model_driver_protocol_combination","current_path":"perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml","route_id":"route-7ae47088bbed9ed7","origin_key":"lane:dynamic-defect-ion-transient-timescale-absorber-resolved-v4","source_key":"lanes.dynamic-defect-ion-transient-timescale-absorber-resolved-v4","config_id":"config-6a5cafb2f67eb805","executor_id":"executor-5082ef6e08643764","scientific_execution":"not_run","evidence_level":"cold_registry_config_hash_and_executor_resolution","registered_contract":{"claim_level":"internal-numerical-candidate","config":"tests/fixtures/configs/dynamic_interface_defect_ion_transient_absorber_only.yaml","config_sha256":"f617f230b2d9c144573394e38fcc313225dc84c7b38f7670b97e9a0a7cc12a24","executor":"perovskite_sim.validation.dynamic_defect_transient_refinement:run_dynamic_defect_ion_transient_refinement","executor_version":"v4","grid":{"parameter":"intervals_per_layer","values":[4,6,8]},"tolerance":{"parameter":"backward_euler_time_step_factor","factors":[1.0,0.5,0.25]},"observables":{"combined_interface_occupancy":{"comparison":"absolute_linf","limit":1e-08,"units":"1"},"combined_positive_ion_centroid_shift_m":{"comparison":"absolute_linf","limit":5e-11,"units":"m"},"combined_left_terminal_current_A_m2":{"comparison":"absolute_linf","limit":1e-05,"units":"A m-2"},"combined_integrated_charge_change_C_m2":{"comparison":"absolute_linf","limit":1e-09,"units":"C m-2"},"defect_dominated_interface_occupancy":{"comparison":"absolute_linf","limit":1e-08,"units":"1"},"defect_dominated_positive_ion_centroid_shift_m":{"comparison":"absolute_linf","limit":5e-11,"units":"m"},"defect_dominated_left_terminal_current_A_m2":{"comparison":"absolute_linf","limit":1e-05,"units":"A m-2"},"defect_dominated_integrated_charge_change_C_m2":{"comparison":"absolute_linf","limit":1e-09,"units":"C m-2"},"ion_dominated_interface_occupancy":{"comparison":"absolute_linf","limit":1e-08,"units":"1"},"ion_dominated_positive_ion_centroid_shift_m":{"comparison":"absolute_linf","limit":5e-11,"units":"m"},"ion_dominated_left_terminal_current_A_m2":{"comparison":"absolute_linf","limit":1e-05,"units":"A m-2"},"ion_dominated_integrated_charge_change_C_m2":{"comparison":"absolute_linf","limit":1e-09,"units":"C m-2"}},"quality_gates":{"all_cases_certified":{"operator":"eq","limit":1.0,"units":"1"},"analytic_sparse_jacobian_verified":{"operator":"eq","limit":1.0,"units":"1"},"case_count":{"operator":"eq","limit":3.0,"units":"1"},"clipping_used":{"operator":"eq","limit":0.0,"units":"1"},"combined_interface_occupancy_motion":{"operator":"ge","limit":1e-09,"units":"1"},"combined_positive_ion_motion":{"operator":"ge","limit":1e-05,"units":"1"},"defect_dominated_interface_occupancy_motion":{"operator":"ge","limit":1e-09,"units":"1"},"defect_dominated_positive_ion_motion":{"operator":"le","limit":1e-07,"units":"1"},"fast_ion_failure_is_line_search_stall":{"operator":"eq","limit":1.0,"units":"1"},"fast_ion_failure_iteration_reported":{"operator":"eq","limit":1.0,"units":"1"},"fast_ion_failure_iteration_within_policy":{"operator":"eq","limit":1.0,"units":"1"},"fast_ion_stiffness_failed_closed":{"operator":"eq","limit":1.0,"units":"1"},"fast_ion_stiffness_failure_typed":{"operator":"eq","limit":1.0,"units":"1"},"ion_dominated_interface_occupancy_motion":{"operator":"le","limit":1e-12,"units":"1"},"ion_dominated_positive_ion_motion":{"operator":"ge","limit":1e-05,"units":"1"},"max_all_face_current_spread_relative":{"operator":"le","limit":2e-06,"units":"1"},"max_analytic_jacobian_column_relative_error":{"operator":"le","limit":0.0003,"units":"1"},"max_charge_balance_relative_error":{"operator":"le","limit":1e-10,"units":"1"},"max_current_decomposition_relative_error":{"operator":"le","limit":1e-14,"units":"1"},"max_eliminated_operator_relative_error":{"operator":"le","limit":1e-06,"units":"1"},"max_interface_total_current_relative_error":{"operator":"le","limit":2e-06,"units":"1"},"max_ion_inventory_relative_drift":{"operator":"le","limit":1e-09,"units":"1"},"max_local_carrier_normalized_residual":{"operator":"le","limit":1e-07,"units":"1"},"max_local_gauss_normalized_residual":{"operator":"le","limit":1e-07,"units":"1"},"max_near_acceptance_nonmonotone_step_count":{"operator":"le","limit":12.0,"units":"1"},"max_poisson_residual_C_m2":{"operator":"le","limit":1e-08,"units":"C m-2"},"max_refinement_current_relative_change":{"operator":"le","limit":0.05,"units":"1"},"max_refinement_state_change":{"operator":"le","limit":0.02,"units":"1"},"max_scaled_nonlinear_residual":{"operator":"le","limit":0.05,"units":"1"},"max_site_occupancy_fraction":{"operator":"le","limit":0.999,"units":"1"},"microscopic_binding_certified":{"operator":"eq","limit":1.0,"units":"1"},"operating_points_certified":{"operator":"eq","limit":1.0,"units":"1"},"protocol_identity_verified":{"operator":"eq","limit":1.0,"units":"1"},"source_case_identity_verified":{"operator":"eq","limit":1.0,"units":"1"}},"options":{"config_loader":"standard","require_protocol":true,"times_s":[0.0,1e-08,1e-06,0.0001],"voltage_V":[0.0,0.05,0.05,0.05],"base_nested_substeps":[1,2,4],"grid_alpha":1.5,"slow_ion_diffusivity_m2_s":1e-20,"slow_capture_scale":1e-12,"fast_ion_diffusivity_m2_s":1e-12,"maximum_newton_iterations":100,"maximum_line_search_steps":40,"maximum_near_acceptance_nonmonotone_steps":2},"limitations":["Version 4 keeps the v3 equations, 3x3 axes, time history, nonlinear policy, and every physical quality gate, but uses a physically scoped source fixture in which only the absorber has mobile ions and the ETL remains ion-inactive.","Cross-grid transient evidence compares reference-relative ion-centroid shift and integrated-charge change, not grid-dependent absolute DC baselines; every cell must still carry certified dark/operating points, component inventory, global charge, all-face/interface current, analytic sparse Jacobian, motion separation, and no clipping.",{"Version 3 remains immutable partial evidence":"all 9 cells executed, but absolute DC-sensitive ion-centroid and integrated-charge observables failed five terminal grid checks. Versions 1 and 2 retain their recorded execution failures."},"The D_ion=1e-12 m2/s typed line-search outcome remains a stiffness boundary, not a certified fast-ion physical solution; this lane is internal SolarLab convergence evidence, not SCAPS parity, experimental validation, production API certification, or unique parameter identification."]}}, +{"id":"lane-119dbf12fc26bf9b","kind":"registered_model_driver_protocol_combination","current_path":"perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml","route_id":"route-7ae47088bbed9ed7","origin_key":"lane:dynamic-defect-ion-transient-timescale-nonlinear-resolved-v3","source_key":"lanes.dynamic-defect-ion-transient-timescale-nonlinear-resolved-v3","config_id":"config-75337222ce16f757","executor_id":"executor-5082ef6e08643764","scientific_execution":"not_run","evidence_level":"cold_registry_config_hash_and_executor_resolution","registered_contract":{"claim_level":"internal-numerical-candidate","config":"tests/fixtures/configs/dynamic_interface_defect_ion_transient.yaml","config_sha256":"7aa464bc4772030318ebfa5fa7eb293e346ddf33f70f74083ba120f4240fd7c8","executor":"perovskite_sim.validation.dynamic_defect_transient_refinement:run_dynamic_defect_ion_transient_refinement","executor_version":"v3","grid":{"parameter":"intervals_per_layer","values":[4,6,8]},"tolerance":{"parameter":"backward_euler_time_step_factor","factors":[1.0,0.5,0.25]},"observables":{"combined_interface_occupancy":{"comparison":"absolute_linf","limit":1e-08,"units":"1"},"combined_positive_ion_centroid_m":{"comparison":"absolute_linf","limit":5e-11,"units":"m"},"combined_left_terminal_current_A_m2":{"comparison":"absolute_linf","limit":1e-05,"units":"A m-2"},"combined_integrated_charge_C_m2":{"comparison":"absolute_linf","limit":1e-09,"units":"C m-2"},"defect_dominated_interface_occupancy":{"comparison":"absolute_linf","limit":1e-08,"units":"1"},"defect_dominated_positive_ion_centroid_m":{"comparison":"absolute_linf","limit":5e-11,"units":"m"},"defect_dominated_left_terminal_current_A_m2":{"comparison":"absolute_linf","limit":1e-05,"units":"A m-2"},"defect_dominated_integrated_charge_C_m2":{"comparison":"absolute_linf","limit":1e-09,"units":"C m-2"},"ion_dominated_interface_occupancy":{"comparison":"absolute_linf","limit":1e-08,"units":"1"},"ion_dominated_positive_ion_centroid_m":{"comparison":"absolute_linf","limit":5e-11,"units":"m"},"ion_dominated_left_terminal_current_A_m2":{"comparison":"absolute_linf","limit":1e-05,"units":"A m-2"},"ion_dominated_integrated_charge_C_m2":{"comparison":"absolute_linf","limit":1e-09,"units":"C m-2"}},"quality_gates":{"all_cases_certified":{"operator":"eq","limit":1.0,"units":"1"},"analytic_sparse_jacobian_verified":{"operator":"eq","limit":1.0,"units":"1"},"case_count":{"operator":"eq","limit":3.0,"units":"1"},"clipping_used":{"operator":"eq","limit":0.0,"units":"1"},"combined_interface_occupancy_motion":{"operator":"ge","limit":1e-09,"units":"1"},"combined_positive_ion_motion":{"operator":"ge","limit":1e-05,"units":"1"},"defect_dominated_interface_occupancy_motion":{"operator":"ge","limit":1e-09,"units":"1"},"defect_dominated_positive_ion_motion":{"operator":"le","limit":1e-07,"units":"1"},"fast_ion_failure_is_line_search_stall":{"operator":"eq","limit":1.0,"units":"1"},"fast_ion_failure_iteration_reported":{"operator":"eq","limit":1.0,"units":"1"},"fast_ion_failure_iteration_within_policy":{"operator":"eq","limit":1.0,"units":"1"},"fast_ion_stiffness_failed_closed":{"operator":"eq","limit":1.0,"units":"1"},"fast_ion_stiffness_failure_typed":{"operator":"eq","limit":1.0,"units":"1"},"ion_dominated_interface_occupancy_motion":{"operator":"le","limit":1e-12,"units":"1"},"ion_dominated_positive_ion_motion":{"operator":"ge","limit":1e-05,"units":"1"},"max_all_face_current_spread_relative":{"operator":"le","limit":2e-06,"units":"1"},"max_analytic_jacobian_column_relative_error":{"operator":"le","limit":0.0003,"units":"1"},"max_charge_balance_relative_error":{"operator":"le","limit":1e-10,"units":"1"},"max_current_decomposition_relative_error":{"operator":"le","limit":1e-14,"units":"1"},"max_eliminated_operator_relative_error":{"operator":"le","limit":1e-06,"units":"1"},"max_interface_total_current_relative_error":{"operator":"le","limit":2e-06,"units":"1"},"max_ion_inventory_relative_drift":{"operator":"le","limit":1e-09,"units":"1"},"max_local_carrier_normalized_residual":{"operator":"le","limit":1e-07,"units":"1"},"max_local_gauss_normalized_residual":{"operator":"le","limit":1e-07,"units":"1"},"max_near_acceptance_nonmonotone_step_count":{"operator":"le","limit":12.0,"units":"1"},"max_poisson_residual_C_m2":{"operator":"le","limit":1e-08,"units":"C m-2"},"max_refinement_current_relative_change":{"operator":"le","limit":0.05,"units":"1"},"max_refinement_state_change":{"operator":"le","limit":0.02,"units":"1"},"max_scaled_nonlinear_residual":{"operator":"le","limit":0.05,"units":"1"},"max_site_occupancy_fraction":{"operator":"le","limit":0.999,"units":"1"},"microscopic_binding_certified":{"operator":"eq","limit":1.0,"units":"1"},"operating_points_certified":{"operator":"eq","limit":1.0,"units":"1"},"protocol_identity_verified":{"operator":"eq","limit":1.0,"units":"1"},"source_case_identity_verified":{"operator":"eq","limit":1.0,"units":"1"}},"options":{"config_loader":"standard","require_protocol":true,"times_s":[0.0,1e-08,1e-06,0.0001],"voltage_V":[0.0,0.05,0.05,0.05],"base_nested_substeps":[1,2,4],"grid_alpha":1.5,"slow_ion_diffusivity_m2_s":1e-20,"slow_capture_scale":1e-12,"fast_ion_diffusivity_m2_s":1e-12,"maximum_newton_iterations":100,"maximum_line_search_steps":40,"maximum_near_acceptance_nonmonotone_steps":2},"limitations":["Version 3 preserves every v2 equation, mesh, 3x3 axis, observable, physical gate, time history, and case override while adding only a registered near-acceptance nonlinear globalization control.","A BE solve may take at most two nonmonotone full analytic-sparse Newton steps only after its scaled residual is within the original gate and charge/current closure is within twice the original gate; every use is counted and bounded per cell. High-residual fast-ion failures remain ineligible.","Version 1 remains the alpha=2.0 partial contract and version 2 remains the alpha=1.5 monotone-Newton partial contract; neither failure is erased or reclassified as certified evidence.","The D_ion=1e-12 m2/s typed line-search outcome remains a stiffness boundary, not a certified fast-ion physical solution; this lane is internal SolarLab convergence evidence, not SCAPS parity, experimental validation, or production API certification."]}}, +{"id":"lane-c2f00d60b696be35","kind":"registered_model_driver_protocol_combination","current_path":"perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml","route_id":"route-7ae47088bbed9ed7","origin_key":"lane:dynamic-defect-ion-transient-timescale-reference-resolved-v5","source_key":"lanes.dynamic-defect-ion-transient-timescale-reference-resolved-v5","config_id":"config-6a5cafb2f67eb805","executor_id":"executor-5082ef6e08643764","scientific_execution":"not_run","evidence_level":"cold_registry_config_hash_and_executor_resolution","registered_contract":{"claim_level":"internal-numerical-candidate","config":"tests/fixtures/configs/dynamic_interface_defect_ion_transient_absorber_only.yaml","config_sha256":"f617f230b2d9c144573394e38fcc313225dc84c7b38f7670b97e9a0a7cc12a24","executor":"perovskite_sim.validation.dynamic_defect_transient_refinement:run_dynamic_defect_ion_transient_refinement","executor_version":"v5","grid":{"parameter":"intervals_per_layer","values":[4,6,8]},"tolerance":{"parameter":"backward_euler_time_step_factor","factors":[1.0,0.5,0.25]},"observables":{"combined_interface_occupancy_change":{"comparison":"absolute_linf","limit":1e-08,"units":"1"},"combined_positive_ion_centroid_shift_m":{"comparison":"absolute_linf","limit":5e-11,"units":"m"},"combined_left_terminal_current_A_m2":{"comparison":"absolute_linf","limit":1e-05,"units":"A m-2"},"combined_integrated_charge_change_C_m2":{"comparison":"absolute_linf","limit":1e-09,"units":"C m-2"},"defect_dominated_interface_occupancy_change":{"comparison":"absolute_linf","limit":1e-08,"units":"1"},"defect_dominated_positive_ion_centroid_shift_m":{"comparison":"absolute_linf","limit":5e-11,"units":"m"},"defect_dominated_left_terminal_current_A_m2":{"comparison":"absolute_linf","limit":1e-05,"units":"A m-2"},"defect_dominated_integrated_charge_change_C_m2":{"comparison":"absolute_linf","limit":1e-09,"units":"C m-2"},"ion_dominated_interface_occupancy_change":{"comparison":"absolute_linf","limit":1e-08,"units":"1"},"ion_dominated_positive_ion_centroid_shift_m":{"comparison":"absolute_linf","limit":5e-11,"units":"m"},"ion_dominated_left_terminal_current_A_m2":{"comparison":"absolute_linf","limit":1e-05,"units":"A m-2"},"ion_dominated_integrated_charge_change_C_m2":{"comparison":"absolute_linf","limit":1e-09,"units":"C m-2"}},"quality_gates":{"all_cases_certified":{"operator":"eq","limit":1.0,"units":"1"},"analytic_sparse_jacobian_verified":{"operator":"eq","limit":1.0,"units":"1"},"case_count":{"operator":"eq","limit":3.0,"units":"1"},"clipping_used":{"operator":"eq","limit":0.0,"units":"1"},"combined_interface_occupancy_motion":{"operator":"ge","limit":1e-09,"units":"1"},"combined_positive_ion_motion":{"operator":"ge","limit":1e-05,"units":"1"},"defect_dominated_interface_occupancy_motion":{"operator":"ge","limit":1e-09,"units":"1"},"defect_dominated_positive_ion_motion":{"operator":"le","limit":1e-07,"units":"1"},"fast_ion_failure_is_declared_nonlinear_stall":{"operator":"eq","limit":1.0,"units":"1"},"fast_ion_failure_iteration_reported":{"operator":"eq","limit":1.0,"units":"1"},"fast_ion_failure_iteration_within_policy":{"operator":"eq","limit":1.0,"units":"1"},"fast_ion_failure_residual_above_acceptance":{"operator":"eq","limit":1.0,"units":"1"},"fast_ion_stiffness_failed_closed":{"operator":"eq","limit":1.0,"units":"1"},"fast_ion_stiffness_failure_typed":{"operator":"eq","limit":1.0,"units":"1"},"ion_dominated_interface_occupancy_motion":{"operator":"le","limit":1e-12,"units":"1"},"ion_dominated_positive_ion_motion":{"operator":"ge","limit":1e-05,"units":"1"},"max_all_face_current_spread_relative":{"operator":"le","limit":2e-06,"units":"1"},"max_analytic_jacobian_column_relative_error":{"operator":"le","limit":0.0003,"units":"1"},"max_charge_balance_relative_error":{"operator":"le","limit":1e-10,"units":"1"},"max_current_decomposition_relative_error":{"operator":"le","limit":1e-14,"units":"1"},"max_eliminated_operator_relative_error":{"operator":"le","limit":1e-06,"units":"1"},"max_interface_total_current_relative_error":{"operator":"le","limit":2e-06,"units":"1"},"max_ion_inventory_relative_drift":{"operator":"le","limit":1e-09,"units":"1"},"max_local_carrier_normalized_residual":{"operator":"le","limit":1e-07,"units":"1"},"max_local_gauss_normalized_residual":{"operator":"le","limit":1e-07,"units":"1"},"max_near_acceptance_nonmonotone_step_count":{"operator":"le","limit":12.0,"units":"1"},"max_poisson_residual_C_m2":{"operator":"le","limit":1e-08,"units":"C m-2"},"max_refinement_current_relative_change":{"operator":"le","limit":0.05,"units":"1"},"max_refinement_state_change":{"operator":"le","limit":0.02,"units":"1"},"max_scaled_nonlinear_residual":{"operator":"le","limit":0.05,"units":"1"},"max_site_occupancy_fraction":{"operator":"le","limit":0.999,"units":"1"},"microscopic_binding_certified":{"operator":"eq","limit":1.0,"units":"1"},"operating_points_certified":{"operator":"eq","limit":1.0,"units":"1"},"protocol_identity_verified":{"operator":"eq","limit":1.0,"units":"1"},"source_case_identity_verified":{"operator":"eq","limit":1.0,"units":"1"}},"options":{"config_loader":"standard","require_protocol":true,"times_s":[0.0,1e-08,1e-06,0.0001],"voltage_V":[0.0,0.05,0.05,0.05],"base_nested_substeps":[1,2,4],"grid_alpha":1.5,"slow_ion_diffusivity_m2_s":1e-20,"slow_capture_scale":1e-12,"fast_ion_diffusivity_m2_s":1e-12,"maximum_newton_iterations":100,"maximum_line_search_steps":40,"maximum_near_acceptance_nonmonotone_steps":2},"limitations":["Version 5 preserves the v4 source fixture, equations, 3x3 axes, history, nonlinear policy, thresholds, and physical quality gates; it compares occupancy, ion-centroid, and integrated charge as changes from each cell's certified t=0 reference while retaining absolute terminal current.","The fast-ion stiffness boundary accepts only a typed line-search stall or typed Newton iteration limit with a machine-readable iteration and residual above the registered nonlinear acceptance threshold. Neither outcome is a certified fast-ion physical solution.",{"Version 4 remains immutable partial evidence":"all 9 cells executed, but absolute interface occupancy failed three terminal grid checks and two cells reached the declared Newton iteration limit rather than the narrower line-search-only outcome. Version 3 remains partial and versions 1-2 retain their recorded execution failures."},"This lane is internal SolarLab numerical convergence evidence, not SCAPS parity, experimental validation, production API certification, or unique parameter identification."]}}, +{"id":"lane-2e2c396de43bcf73","kind":"registered_model_driver_protocol_combination","current_path":"perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml","route_id":"route-7ae47088bbed9ed7","origin_key":"lane:dynamic-defect-ion-transient-timescale-resolved-v2","source_key":"lanes.dynamic-defect-ion-transient-timescale-resolved-v2","config_id":"config-75337222ce16f757","executor_id":"executor-5082ef6e08643764","scientific_execution":"not_run","evidence_level":"cold_registry_config_hash_and_executor_resolution","registered_contract":{"claim_level":"internal-numerical-candidate","config":"tests/fixtures/configs/dynamic_interface_defect_ion_transient.yaml","config_sha256":"7aa464bc4772030318ebfa5fa7eb293e346ddf33f70f74083ba120f4240fd7c8","executor":"perovskite_sim.validation.dynamic_defect_transient_refinement:run_dynamic_defect_ion_transient_refinement","executor_version":"v2","grid":{"parameter":"intervals_per_layer","values":[4,6,8]},"tolerance":{"parameter":"backward_euler_time_step_factor","factors":[1.0,0.5,0.25]},"observables":{"combined_interface_occupancy":{"comparison":"absolute_linf","limit":1e-08,"units":"1"},"combined_positive_ion_centroid_m":{"comparison":"absolute_linf","limit":5e-11,"units":"m"},"combined_left_terminal_current_A_m2":{"comparison":"absolute_linf","limit":1e-05,"units":"A m-2"},"combined_integrated_charge_C_m2":{"comparison":"absolute_linf","limit":1e-09,"units":"C m-2"},"defect_dominated_interface_occupancy":{"comparison":"absolute_linf","limit":1e-08,"units":"1"},"defect_dominated_positive_ion_centroid_m":{"comparison":"absolute_linf","limit":5e-11,"units":"m"},"defect_dominated_left_terminal_current_A_m2":{"comparison":"absolute_linf","limit":1e-05,"units":"A m-2"},"defect_dominated_integrated_charge_C_m2":{"comparison":"absolute_linf","limit":1e-09,"units":"C m-2"},"ion_dominated_interface_occupancy":{"comparison":"absolute_linf","limit":1e-08,"units":"1"},"ion_dominated_positive_ion_centroid_m":{"comparison":"absolute_linf","limit":5e-11,"units":"m"},"ion_dominated_left_terminal_current_A_m2":{"comparison":"absolute_linf","limit":1e-05,"units":"A m-2"},"ion_dominated_integrated_charge_C_m2":{"comparison":"absolute_linf","limit":1e-09,"units":"C m-2"}},"quality_gates":{"all_cases_certified":{"operator":"eq","limit":1.0,"units":"1"},"analytic_sparse_jacobian_verified":{"operator":"eq","limit":1.0,"units":"1"},"case_count":{"operator":"eq","limit":3.0,"units":"1"},"clipping_used":{"operator":"eq","limit":0.0,"units":"1"},"combined_interface_occupancy_motion":{"operator":"ge","limit":1e-09,"units":"1"},"combined_positive_ion_motion":{"operator":"ge","limit":1e-05,"units":"1"},"defect_dominated_interface_occupancy_motion":{"operator":"ge","limit":1e-09,"units":"1"},"defect_dominated_positive_ion_motion":{"operator":"le","limit":1e-07,"units":"1"},"fast_ion_failure_is_line_search_stall":{"operator":"eq","limit":1.0,"units":"1"},"fast_ion_failure_iteration_reported":{"operator":"eq","limit":1.0,"units":"1"},"fast_ion_failure_iteration_within_policy":{"operator":"eq","limit":1.0,"units":"1"},"fast_ion_stiffness_failed_closed":{"operator":"eq","limit":1.0,"units":"1"},"fast_ion_stiffness_failure_typed":{"operator":"eq","limit":1.0,"units":"1"},"ion_dominated_interface_occupancy_motion":{"operator":"le","limit":1e-12,"units":"1"},"ion_dominated_positive_ion_motion":{"operator":"ge","limit":1e-05,"units":"1"},"max_all_face_current_spread_relative":{"operator":"le","limit":2e-06,"units":"1"},"max_analytic_jacobian_column_relative_error":{"operator":"le","limit":0.0003,"units":"1"},"max_charge_balance_relative_error":{"operator":"le","limit":1e-10,"units":"1"},"max_current_decomposition_relative_error":{"operator":"le","limit":1e-14,"units":"1"},"max_eliminated_operator_relative_error":{"operator":"le","limit":1e-06,"units":"1"},"max_interface_total_current_relative_error":{"operator":"le","limit":2e-06,"units":"1"},"max_ion_inventory_relative_drift":{"operator":"le","limit":1e-09,"units":"1"},"max_local_carrier_normalized_residual":{"operator":"le","limit":1e-07,"units":"1"},"max_local_gauss_normalized_residual":{"operator":"le","limit":1e-07,"units":"1"},"max_poisson_residual_C_m2":{"operator":"le","limit":1e-08,"units":"C m-2"},"max_refinement_current_relative_change":{"operator":"le","limit":0.05,"units":"1"},"max_refinement_state_change":{"operator":"le","limit":0.02,"units":"1"},"max_scaled_nonlinear_residual":{"operator":"le","limit":0.05,"units":"1"},"max_site_occupancy_fraction":{"operator":"le","limit":0.999,"units":"1"},"microscopic_binding_certified":{"operator":"eq","limit":1.0,"units":"1"},"operating_points_certified":{"operator":"eq","limit":1.0,"units":"1"},"protocol_identity_verified":{"operator":"eq","limit":1.0,"units":"1"},"source_case_identity_verified":{"operator":"eq","limit":1.0,"units":"1"}},"options":{"config_loader":"standard","require_protocol":true,"times_s":[0.0,1e-08,1e-06,0.0001],"voltage_V":[0.0,0.05,0.05,0.05],"base_nested_substeps":[1,2,4],"grid_alpha":1.5,"slow_ion_diffusivity_m2_s":1e-20,"slow_capture_scale":1e-12,"fast_ion_diffusivity_m2_s":1e-12,"maximum_newton_iterations":100,"maximum_line_search_steps":40},"limitations":["This resolved lane preserves every v1 equation, 3x3 axis, trace observable, physical quality gate, time history, and case override while changing only the registered mesh clustering and nonlinear iteration budgets.",{"Version 1 remains the immutable partial contract":"alpha=2.0 over-clusters this smooth intrinsic fixture as the grid refines, producing grid-6/8 nonlinear failures without adding a physical screening-scale requirement. Version 2 uses alpha=1.5 and records 100/40 Newton/line-search limits explicitly."},"Every matrix cell executes the same two-sided index-1 DAE for combined, defect-dominated, and ion-dominated cases and requires component inventory, global charge, all-face/interface current, analytic sparse Jacobian, motion separation, and no clipping.","The D_ion=1e-12 m2/s typed line-search outcome remains a stiffness boundary, not a certified fast-ion physical solution; this lane is internal SolarLab convergence evidence, not SCAPS parity, experimental validation, or production API certification."]}}, +{"id":"lane-f63c8cad0bf211ec","kind":"registered_model_driver_protocol_combination","current_path":"perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml","route_id":"route-7ae47088bbed9ed7","origin_key":"lane:dynamic-defect-ion-transient-timescale-v1","source_key":"lanes.dynamic-defect-ion-transient-timescale-v1","config_id":"config-75337222ce16f757","executor_id":"executor-5082ef6e08643764","scientific_execution":"not_run","evidence_level":"cold_registry_config_hash_and_executor_resolution","registered_contract":{"claim_level":"internal-numerical-candidate","config":"tests/fixtures/configs/dynamic_interface_defect_ion_transient.yaml","config_sha256":"7aa464bc4772030318ebfa5fa7eb293e346ddf33f70f74083ba120f4240fd7c8","executor":"perovskite_sim.validation.dynamic_defect_transient_refinement:run_dynamic_defect_ion_transient_refinement","executor_version":"v1","grid":{"parameter":"intervals_per_layer","values":[4,6,8]},"tolerance":{"parameter":"backward_euler_time_step_factor","factors":[1.0,0.5,0.25]},"observables":{"combined_interface_occupancy":{"comparison":"absolute_linf","limit":1e-08,"units":"1"},"combined_positive_ion_centroid_m":{"comparison":"absolute_linf","limit":5e-11,"units":"m"},"combined_left_terminal_current_A_m2":{"comparison":"absolute_linf","limit":1e-05,"units":"A m-2"},"combined_integrated_charge_C_m2":{"comparison":"absolute_linf","limit":1e-09,"units":"C m-2"},"defect_dominated_interface_occupancy":{"comparison":"absolute_linf","limit":1e-08,"units":"1"},"defect_dominated_positive_ion_centroid_m":{"comparison":"absolute_linf","limit":5e-11,"units":"m"},"defect_dominated_left_terminal_current_A_m2":{"comparison":"absolute_linf","limit":1e-05,"units":"A m-2"},"defect_dominated_integrated_charge_C_m2":{"comparison":"absolute_linf","limit":1e-09,"units":"C m-2"},"ion_dominated_interface_occupancy":{"comparison":"absolute_linf","limit":1e-08,"units":"1"},"ion_dominated_positive_ion_centroid_m":{"comparison":"absolute_linf","limit":5e-11,"units":"m"},"ion_dominated_left_terminal_current_A_m2":{"comparison":"absolute_linf","limit":1e-05,"units":"A m-2"},"ion_dominated_integrated_charge_C_m2":{"comparison":"absolute_linf","limit":1e-09,"units":"C m-2"}},"quality_gates":{"all_cases_certified":{"operator":"eq","limit":1.0,"units":"1"},"analytic_sparse_jacobian_verified":{"operator":"eq","limit":1.0,"units":"1"},"case_count":{"operator":"eq","limit":3.0,"units":"1"},"clipping_used":{"operator":"eq","limit":0.0,"units":"1"},"combined_interface_occupancy_motion":{"operator":"ge","limit":1e-09,"units":"1"},"combined_positive_ion_motion":{"operator":"ge","limit":1e-05,"units":"1"},"defect_dominated_interface_occupancy_motion":{"operator":"ge","limit":1e-09,"units":"1"},"defect_dominated_positive_ion_motion":{"operator":"le","limit":1e-07,"units":"1"},"fast_ion_failure_is_line_search_stall":{"operator":"eq","limit":1.0,"units":"1"},"fast_ion_failure_iteration_reported":{"operator":"eq","limit":1.0,"units":"1"},"fast_ion_failure_iteration_within_policy":{"operator":"eq","limit":1.0,"units":"1"},"fast_ion_stiffness_failed_closed":{"operator":"eq","limit":1.0,"units":"1"},"fast_ion_stiffness_failure_typed":{"operator":"eq","limit":1.0,"units":"1"},"ion_dominated_interface_occupancy_motion":{"operator":"le","limit":1e-12,"units":"1"},"ion_dominated_positive_ion_motion":{"operator":"ge","limit":1e-05,"units":"1"},"max_all_face_current_spread_relative":{"operator":"le","limit":2e-06,"units":"1"},"max_analytic_jacobian_column_relative_error":{"operator":"le","limit":0.0003,"units":"1"},"max_charge_balance_relative_error":{"operator":"le","limit":1e-10,"units":"1"},"max_current_decomposition_relative_error":{"operator":"le","limit":1e-14,"units":"1"},"max_eliminated_operator_relative_error":{"operator":"le","limit":1e-06,"units":"1"},"max_interface_total_current_relative_error":{"operator":"le","limit":2e-06,"units":"1"},"max_ion_inventory_relative_drift":{"operator":"le","limit":1e-09,"units":"1"},"max_local_carrier_normalized_residual":{"operator":"le","limit":1e-07,"units":"1"},"max_local_gauss_normalized_residual":{"operator":"le","limit":1e-07,"units":"1"},"max_poisson_residual_C_m2":{"operator":"le","limit":1e-08,"units":"C m-2"},"max_refinement_current_relative_change":{"operator":"le","limit":0.05,"units":"1"},"max_refinement_state_change":{"operator":"le","limit":0.02,"units":"1"},"max_scaled_nonlinear_residual":{"operator":"le","limit":0.05,"units":"1"},"max_site_occupancy_fraction":{"operator":"le","limit":0.999,"units":"1"},"microscopic_binding_certified":{"operator":"eq","limit":1.0,"units":"1"},"operating_points_certified":{"operator":"eq","limit":1.0,"units":"1"},"protocol_identity_verified":{"operator":"eq","limit":1.0,"units":"1"},"source_case_identity_verified":{"operator":"eq","limit":1.0,"units":"1"}},"options":{"config_loader":"standard","require_protocol":true,"times_s":[0.0,1e-08,1e-06,0.0001],"voltage_V":[0.0,0.05,0.05,0.05],"base_nested_substeps":[1,2,4],"grid_alpha":2.0,"slow_ion_diffusivity_m2_s":1e-20,"slow_capture_scale":1e-12,"fast_ion_diffusivity_m2_s":1e-12},"limitations":["This lane certifies one frozen synthetic two-layer, one-interface, positive-ion device across combined, defect-dominated, and ion-dominated time-scale cases using the same two-sided index-1 DAE; it is not a fitted material stack.","Every matrix cell executes an inner nested backward-Euler ladder and requires the full interface-defect-ion transient certificate, component inventory, global charge, all-face and interface current, analytic sparse Jacobian, motion-separation, and no-clipping gates.","The D_ion=1e-12 m2/s case is required to fail closed with a typed line-search outcome and recorded Newton iteration; that outcome is a stiffness boundary, not a certified fast-ion physical solution.","This is internal SolarLab convergence evidence, not external SCAPS transient parity, experimental validation, production API certification, or unique defect/ion parameter identification."]}}, +{"id":"lane-5d1d62edf010a604","kind":"registered_model_driver_protocol_combination","current_path":"perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml","route_id":"route-fc717d86c09ab83e","origin_key":"lane:electrothermal-terminal-mpp-grid-resolved-v3","source_key":"lanes.electrothermal-terminal-mpp-grid-resolved-v3","config_id":"config-764c3f33e226386e","executor_id":"executor-6bc5e1f292e6f011","scientific_execution":"not_run","evidence_level":"cold_registry_config_hash_and_executor_resolution","registered_contract":{"claim_level":"internal-numerical-candidate","config":"tests/fixtures/configs/nip_MAPbI3.yaml","config_sha256":"20fa8a8097c965330ce7b0d7e8f9286fc1960585231c360841d24ba7a1845668","executor":"perovskite_sim.validation.electrothermal_refinement:run_electrothermal_terminal_mpp_refinement","executor_version":"v3","grid":{"parameter":"N_grid","values":[40,60,80]},"tolerance":{"parameter":"componentwise_atol_refinement_factor","factors":[1.0,0.1,0.01]},"observables":{"ambient_to_maximum_mpp_power_change_W_m2":{"comparison":"relative_linf","limit":0.02,"units":"W m-2"},"operating_temperature_K":{"comparison":"absolute_linf","limit":0.5,"units":"K"},"temperature_rise_K":{"comparison":"absolute_linf","limit":0.5,"units":"K"},"terminal_mpp_current_A_m2":{"comparison":"relative_linf","limit":0.02,"units":"A m-2"},"terminal_mpp_power_W_m2":{"comparison":"relative_linf","limit":0.02,"units":"W m-2"},"terminal_mpp_voltage_V":{"comparison":"absolute_linf","limit":0.05,"units":"V"}},"quality_gates":{"all_temperature_evaluations_certified":{"operator":"eq","limit":1.0,"units":"1"},"ambient_residual_positive":{"operator":"eq","limit":1.0,"units":"1"},"base_stack_immutable":{"operator":"eq","limit":1.0,"units":"1"},"circuit_protocol_hash_verified":{"operator":"eq","limit":1.0,"units":"1"},"electrical_protocol_hash_verified":{"operator":"eq","limit":1.0,"units":"1"},"electrothermal_certified":{"operator":"eq","limit":1.0,"units":"1"},"final_external_mapping_verified":{"operator":"eq","limit":1.0,"units":"1"},"first_law_reconstruction_error_W_m2":{"operator":"le","limit":1e-12,"units":"W m-2"},"maximum_residual_negative":{"operator":"eq","limit":1.0,"units":"1"},"mpp_series_voltage_drop_V":{"operator":"ge","limit":0.005,"units":"V"},"mpp_shunt_current_A_m2":{"operator":"ge","limit":1.0,"units":"A m-2"},"operating_protocol_hash_verified":{"operator":"eq","limit":1.0,"units":"1"},"power_balance_residual_W_m2":{"operator":"le","limit":0.2,"units":"W m-2"},"root_iterations":{"operator":"le","limit":30.0,"units":"1"},"temperature_evaluations":{"operator":"le","limit":12.0,"units":"1"},"temperature_evaluations_within_envelope":{"operator":"eq","limit":1.0,"units":"1"},"temperature_protocols_aligned":{"operator":"eq","limit":1.0,"units":"1"},"temperature_response_active_W_m2":{"operator":"ge","limit":1.0,"units":"W m-2"},"terminal_power_below_absorption":{"operator":"eq","limit":1.0,"units":"1"},"thermal_protocol_hash_verified":{"operator":"eq","limit":1.0,"units":"1"}},"options":{"config_loader":"standard","require_protocol":true,"V_max_V":1.2,"voltage_points":6,"scan_rate_V_s":20.0,"rtol":0.0001,"series_resistance_ohm_m2":0.0002,"shunt_resistance_ohm_m2":0.2,"incident_power_W_m2":1000.0,"absorbed_optical_power_W_m2":800.0,"ambient_temperature_K":300.0,"areal_heat_capacity_J_m2_K":2000.0,"heat_transfer_coefficient_W_m2_K":20.0,"emissivity":0.85,"maximum_temperature_K":380.0,"constant_internal_heat_W_m2":0.0,"steady_power_residual_tolerance_W_m2":0.2,"temperature_absolute_tolerance_K":0.005,"maximum_root_iterations":30,"operating_branch":"forward","carrier_atol_fraction":1e-12,"ion_atol_fraction":1e-12,"interface_atol_fraction":1e-12,"minimum_atol":1e-06},"limitations":["This grid-resolved lane raises only the spatial grid ladder to 40/60/80 after v1 and v2 completed 9/9 cells but remained partial on the 300-380 K MPP-power response; every observable, quality gate, circuit, thermal parameter, scan, and tolerance ladder is unchanged.","This lane certifies one fresh-state, protocol-conditioned forward-branch sampled terminal-MPP root; it does not certify voltage-sampling refinement or a continuously optimized MPP.","Each temperature restarts the complete transient J-V history, so the lane does not model a joint thermal-ion trajectory, thermal memory, or temperature ramp history.","The 800 W/m2 absorbed power, heat-transfer coefficient, emissivity, heat capacity, and series/shunt resistances are synthetic stress inputs, not measured parameters of the nip_MAPbI3 preset.","Passing is internal grid/tolerance, first-law, and provenance evidence; it is not external simulator validation, experimental validation, lifetime prediction, or validation of a real device temperature."]}}, +{"id":"lane-b37e800920a3345f","kind":"registered_model_driver_protocol_combination","current_path":"perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml","route_id":"route-fc717d86c09ab83e","origin_key":"lane:electrothermal-terminal-mpp-resolved-v2","source_key":"lanes.electrothermal-terminal-mpp-resolved-v2","config_id":"config-764c3f33e226386e","executor_id":"executor-6bc5e1f292e6f011","scientific_execution":"not_run","evidence_level":"cold_registry_config_hash_and_executor_resolution","registered_contract":{"claim_level":"internal-numerical-candidate","config":"tests/fixtures/configs/nip_MAPbI3.yaml","config_sha256":"20fa8a8097c965330ce7b0d7e8f9286fc1960585231c360841d24ba7a1845668","executor":"perovskite_sim.validation.electrothermal_refinement:run_electrothermal_terminal_mpp_refinement","executor_version":"v2","grid":{"parameter":"N_grid","values":[20,30,40]},"tolerance":{"parameter":"componentwise_atol_refinement_factor","factors":[1.0,0.1,0.01]},"observables":{"ambient_to_maximum_mpp_power_change_W_m2":{"comparison":"relative_linf","limit":0.02,"units":"W m-2"},"operating_temperature_K":{"comparison":"absolute_linf","limit":0.5,"units":"K"},"temperature_rise_K":{"comparison":"absolute_linf","limit":0.5,"units":"K"},"terminal_mpp_current_A_m2":{"comparison":"relative_linf","limit":0.02,"units":"A m-2"},"terminal_mpp_power_W_m2":{"comparison":"relative_linf","limit":0.02,"units":"W m-2"},"terminal_mpp_voltage_V":{"comparison":"absolute_linf","limit":0.05,"units":"V"}},"quality_gates":{"all_temperature_evaluations_certified":{"operator":"eq","limit":1.0,"units":"1"},"ambient_residual_positive":{"operator":"eq","limit":1.0,"units":"1"},"base_stack_immutable":{"operator":"eq","limit":1.0,"units":"1"},"circuit_protocol_hash_verified":{"operator":"eq","limit":1.0,"units":"1"},"electrical_protocol_hash_verified":{"operator":"eq","limit":1.0,"units":"1"},"electrothermal_certified":{"operator":"eq","limit":1.0,"units":"1"},"final_external_mapping_verified":{"operator":"eq","limit":1.0,"units":"1"},"first_law_reconstruction_error_W_m2":{"operator":"le","limit":1e-12,"units":"W m-2"},"maximum_residual_negative":{"operator":"eq","limit":1.0,"units":"1"},"mpp_series_voltage_drop_V":{"operator":"ge","limit":0.005,"units":"V"},"mpp_shunt_current_A_m2":{"operator":"ge","limit":1.0,"units":"A m-2"},"operating_protocol_hash_verified":{"operator":"eq","limit":1.0,"units":"1"},"power_balance_residual_W_m2":{"operator":"le","limit":0.2,"units":"W m-2"},"root_iterations":{"operator":"le","limit":30.0,"units":"1"},"temperature_evaluations":{"operator":"le","limit":12.0,"units":"1"},"temperature_evaluations_within_envelope":{"operator":"eq","limit":1.0,"units":"1"},"temperature_protocols_aligned":{"operator":"eq","limit":1.0,"units":"1"},"temperature_response_active_W_m2":{"operator":"ge","limit":1.0,"units":"W m-2"},"terminal_power_below_absorption":{"operator":"eq","limit":1.0,"units":"1"},"thermal_protocol_hash_verified":{"operator":"eq","limit":1.0,"units":"1"}},"options":{"config_loader":"standard","require_protocol":true,"V_max_V":1.2,"voltage_points":6,"scan_rate_V_s":20.0,"rtol":0.0001,"series_resistance_ohm_m2":0.0002,"shunt_resistance_ohm_m2":0.2,"incident_power_W_m2":1000.0,"absorbed_optical_power_W_m2":800.0,"ambient_temperature_K":300.0,"areal_heat_capacity_J_m2_K":2000.0,"heat_transfer_coefficient_W_m2_K":20.0,"emissivity":0.85,"maximum_temperature_K":380.0,"constant_internal_heat_W_m2":0.0,"steady_power_residual_tolerance_W_m2":0.2,"temperature_absolute_tolerance_K":0.005,"maximum_root_iterations":30,"operating_branch":"forward","carrier_atol_fraction":1e-12,"ion_atol_fraction":1e-12,"interface_atol_fraction":1e-12,"minimum_atol":1e-06},"limitations":["This resolved lane raises only the spatial grid ladder to 20/30/40 after v1 completed 9/9 cells but remained partial on the 300-380 K MPP-power response; every observable, quality gate, circuit, thermal parameter, scan, and tolerance ladder is unchanged.","This lane certifies one fresh-state, protocol-conditioned forward-branch sampled terminal-MPP root; it does not certify voltage-sampling refinement or a continuously optimized MPP.","Each temperature restarts the complete transient J-V history, so the lane does not model a joint thermal-ion trajectory, thermal memory, or temperature ramp history.","The 800 W/m2 absorbed power, heat-transfer coefficient, emissivity, heat capacity, and series/shunt resistances are synthetic stress inputs, not measured parameters of the nip_MAPbI3 preset.","Passing is internal grid/tolerance, first-law, and provenance evidence; it is not external simulator validation, experimental validation, lifetime prediction, or validation of a real device temperature."]}}, +{"id":"lane-b89615cfbbfe0045","kind":"registered_model_driver_protocol_combination","current_path":"perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml","route_id":"route-fc717d86c09ab83e","origin_key":"lane:electrothermal-terminal-mpp-v1","source_key":"lanes.electrothermal-terminal-mpp-v1","config_id":"config-764c3f33e226386e","executor_id":"executor-6bc5e1f292e6f011","scientific_execution":"not_run","evidence_level":"cold_registry_config_hash_and_executor_resolution","registered_contract":{"claim_level":"internal-numerical-candidate","config":"tests/fixtures/configs/nip_MAPbI3.yaml","config_sha256":"20fa8a8097c965330ce7b0d7e8f9286fc1960585231c360841d24ba7a1845668","executor":"perovskite_sim.validation.electrothermal_refinement:run_electrothermal_terminal_mpp_refinement","executor_version":"v1","grid":{"parameter":"N_grid","values":[10,15,20]},"tolerance":{"parameter":"componentwise_atol_refinement_factor","factors":[1.0,0.1,0.01]},"observables":{"ambient_to_maximum_mpp_power_change_W_m2":{"comparison":"relative_linf","limit":0.02,"units":"W m-2"},"operating_temperature_K":{"comparison":"absolute_linf","limit":0.5,"units":"K"},"temperature_rise_K":{"comparison":"absolute_linf","limit":0.5,"units":"K"},"terminal_mpp_current_A_m2":{"comparison":"relative_linf","limit":0.02,"units":"A m-2"},"terminal_mpp_power_W_m2":{"comparison":"relative_linf","limit":0.02,"units":"W m-2"},"terminal_mpp_voltage_V":{"comparison":"absolute_linf","limit":0.05,"units":"V"}},"quality_gates":{"all_temperature_evaluations_certified":{"operator":"eq","limit":1.0,"units":"1"},"ambient_residual_positive":{"operator":"eq","limit":1.0,"units":"1"},"base_stack_immutable":{"operator":"eq","limit":1.0,"units":"1"},"circuit_protocol_hash_verified":{"operator":"eq","limit":1.0,"units":"1"},"electrical_protocol_hash_verified":{"operator":"eq","limit":1.0,"units":"1"},"electrothermal_certified":{"operator":"eq","limit":1.0,"units":"1"},"final_external_mapping_verified":{"operator":"eq","limit":1.0,"units":"1"},"first_law_reconstruction_error_W_m2":{"operator":"le","limit":1e-12,"units":"W m-2"},"maximum_residual_negative":{"operator":"eq","limit":1.0,"units":"1"},"mpp_series_voltage_drop_V":{"operator":"ge","limit":0.005,"units":"V"},"mpp_shunt_current_A_m2":{"operator":"ge","limit":1.0,"units":"A m-2"},"operating_protocol_hash_verified":{"operator":"eq","limit":1.0,"units":"1"},"power_balance_residual_W_m2":{"operator":"le","limit":0.2,"units":"W m-2"},"root_iterations":{"operator":"le","limit":30.0,"units":"1"},"temperature_evaluations":{"operator":"le","limit":12.0,"units":"1"},"temperature_evaluations_within_envelope":{"operator":"eq","limit":1.0,"units":"1"},"temperature_protocols_aligned":{"operator":"eq","limit":1.0,"units":"1"},"temperature_response_active_W_m2":{"operator":"ge","limit":1.0,"units":"W m-2"},"terminal_power_below_absorption":{"operator":"eq","limit":1.0,"units":"1"},"thermal_protocol_hash_verified":{"operator":"eq","limit":1.0,"units":"1"}},"options":{"config_loader":"standard","require_protocol":true,"V_max_V":1.2,"voltage_points":6,"scan_rate_V_s":20.0,"rtol":0.0001,"series_resistance_ohm_m2":0.0002,"shunt_resistance_ohm_m2":0.2,"incident_power_W_m2":1000.0,"absorbed_optical_power_W_m2":800.0,"ambient_temperature_K":300.0,"areal_heat_capacity_J_m2_K":2000.0,"heat_transfer_coefficient_W_m2_K":20.0,"emissivity":0.85,"maximum_temperature_K":380.0,"constant_internal_heat_W_m2":0.0,"steady_power_residual_tolerance_W_m2":0.2,"temperature_absolute_tolerance_K":0.005,"maximum_root_iterations":30,"operating_branch":"forward","carrier_atol_fraction":1e-12,"ion_atol_fraction":1e-12,"interface_atol_fraction":1e-12,"minimum_atol":1e-06},"limitations":["This lane certifies one fresh-state, protocol-conditioned forward-branch sampled terminal-MPP root; it does not certify voltage-sampling refinement or a continuously optimized MPP.","Each temperature restarts the complete transient J-V history, so the lane does not model a joint thermal-ion trajectory, thermal memory, or temperature ramp history.","The 800 W/m2 absorbed power, heat-transfer coefficient, emissivity, heat capacity, and series/shunt resistances are synthetic stress inputs, not measured parameters of the nip_MAPbI3 preset.","The control volume is lumped and excludes a spatial heat equation, thermal contact resistance, spectral thermalization, temperature-dependent optical constants, and non-radiative heat localization.","Passing is internal grid/tolerance, first-law, and provenance evidence; it is not external simulator validation, experimental validation, lifetime prediction, or validation of a real device temperature."]}}, +{"id":"lane-8ecc1df7d72fa132","kind":"registered_model_driver_protocol_combination","current_path":"perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml","route_id":"route-fc717d86c09ab83e","origin_key":"lane:external-series-shunt-dc-operating-quadrant-v2","source_key":"lanes.external-series-shunt-dc-operating-quadrant-v2","config_id":"config-764c3f33e226386e","executor_id":"executor-27a50b681dce8474","scientific_execution":"not_run","evidence_level":"cold_registry_config_hash_and_executor_resolution","registered_contract":{"claim_level":"internal-numerical-candidate","config":"tests/fixtures/configs/nip_MAPbI3.yaml","config_sha256":"20fa8a8097c965330ce7b0d7e8f9286fc1960585231c360841d24ba7a1845668","executor":"perovskite_sim.validation.external_circuit_refinement:run_external_series_shunt_dc_operating_quadrant_refinement","executor_version":"v2","grid":{"parameter":"N_grid","values":[20,30,40]},"tolerance":{"parameter":"componentwise_atol_refinement_factor","factors":[1.0,0.1,0.01]},"observables":{"terminal_ff":{"comparison":"absolute_linf","limit":0.01,"units":"1"},"terminal_jsc_A_m2":{"comparison":"relative_linf","limit":0.01,"units":"A m-2"},"terminal_pce_percent":{"comparison":"relative_linf","limit":0.02,"units":"%"},"terminal_power_quadrant_normalized_trace":{"comparison":"absolute_linf","limit":0.005,"units":"1"},"terminal_voc_V":{"comparison":"absolute_linf","limit":0.005,"units":"V"}},"quality_gates":{"circuit_protocol_hash_verified":{"operator":"eq","limit":1.0,"units":"1"},"external_circuit_certified":{"operator":"eq","limit":1.0,"units":"1"},"intrinsic_jv_certified":{"operator":"eq","limit":1.0,"units":"1"},"max_current_balance_error_A_m2":{"operator":"eq","limit":0.0,"units":"A m-2"},"max_pce_loss_fraction":{"operator":"le","limit":0.5,"units":"1"},"max_voltage_balance_error_V":{"operator":"eq","limit":0.0,"units":"V"},"min_pce_loss_fraction":{"operator":"ge","limit":0.01,"units":"1"},"peak_series_voltage_drop_V":{"operator":"ge","limit":0.01,"units":"V"},"peak_shunt_current_A_m2":{"operator":"ge","limit":1.0,"units":"A m-2"},"power_quadrant_interpolation_verified":{"operator":"eq","limit":1.0,"units":"1"},"source_experiment_protocol_verified":{"operator":"eq","limit":1.0,"units":"1"},"terminal_branches_monotonic":{"operator":"eq","limit":1.0,"units":"1"},"terminal_quadrant_points_completed":{"operator":"eq","limit":42.0,"units":"1"},"terminal_voc_bracketed":{"operator":"eq","limit":1.0,"units":"1"},"voltage_points_per_branch_completed":{"operator":"eq","limit":12.0,"units":"1"},"zero_coupling_exact":{"operator":"eq","limit":1.0,"units":"1"}},"options":{"config_loader":"standard","require_protocol":true,"V_max_V":1.2,"voltage_points":12,"scan_rate_V_s":20.0,"rtol":0.0001,"series_resistance_ohm_m2":0.0002,"shunt_resistance_ohm_m2":0.2,"incident_power_W_m2":1000.0,"current_normalization_A_m2":250.0,"quadrant_voltage_fraction_points":21,"carrier_atol_fraction":1e-12,"ion_atol_fraction":1e-12,"interface_atol_fraction":1e-12,"minimum_atol":1e-06},"limitations":["This resolved lane compares the power-producing terminal quadrant on 21 fixed V_terminal/Voc_terminal coordinates per branch while retaining independent Voc, Jsc, FF, and PCE convergence checks.","The v1 full-trace lane remains partial because its deepest 1.2 V junction-bias sample reaches about 17.8 kA/m2 and a 3.55 V series drop; v2 does not claim convergence of that non-operating high-injection tail.","The 2e-4 ohm m2 series resistance and 0.2 ohm m2 shunt resistance are synthetic stress inputs and are not fitted or attributed to a measured MAPbI3 device.","The mapping remains an algebraic DC postprocess and excludes coupled circuit-device transients, capacitance, inductance, heating, and distributed resistance.","Passing is internal grid/tolerance, provenance, and Kirchhoff-balance evidence; it is not external simulator validation, experimental validation, SCAPS parity, or material-parameter validation."]}}, +{"id":"lane-c8c8e3698ef7d8d7","kind":"registered_model_driver_protocol_combination","current_path":"perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml","route_id":"route-fc717d86c09ab83e","origin_key":"lane:external-series-shunt-dc-v1","source_key":"lanes.external-series-shunt-dc-v1","config_id":"config-764c3f33e226386e","executor_id":"executor-b35165b53b3bd8b6","scientific_execution":"not_run","evidence_level":"cold_registry_config_hash_and_executor_resolution","registered_contract":{"claim_level":"internal-numerical-candidate","config":"tests/fixtures/configs/nip_MAPbI3.yaml","config_sha256":"20fa8a8097c965330ce7b0d7e8f9286fc1960585231c360841d24ba7a1845668","executor":"perovskite_sim.validation.external_circuit_refinement:run_external_series_shunt_dc_refinement","executor_version":"v1","grid":{"parameter":"N_grid","values":[20,30,40]},"tolerance":{"parameter":"componentwise_atol_refinement_factor","factors":[1.0,0.1,0.01]},"observables":{"series_voltage_drop_V":{"comparison":"absolute_linf","limit":0.002,"units":"V"},"terminal_current_normalized_trace":{"comparison":"absolute_linf","limit":0.01,"units":"1"},"terminal_ff":{"comparison":"absolute_linf","limit":0.01,"units":"1"},"terminal_jsc_A_m2":{"comparison":"relative_linf","limit":0.01,"units":"A m-2"},"terminal_pce_percent":{"comparison":"relative_linf","limit":0.02,"units":"%"},"terminal_voc_V":{"comparison":"absolute_linf","limit":0.005,"units":"V"},"terminal_voltage_trace_V":{"comparison":"absolute_linf","limit":0.01,"units":"V"}},"quality_gates":{"circuit_protocol_hash_verified":{"operator":"eq","limit":1.0,"units":"1"},"external_circuit_certified":{"operator":"eq","limit":1.0,"units":"1"},"intrinsic_jv_certified":{"operator":"eq","limit":1.0,"units":"1"},"max_current_balance_error_A_m2":{"operator":"eq","limit":0.0,"units":"A m-2"},"max_pce_loss_fraction":{"operator":"le","limit":0.5,"units":"1"},"max_voltage_balance_error_V":{"operator":"eq","limit":0.0,"units":"V"},"min_pce_loss_fraction":{"operator":"ge","limit":0.01,"units":"1"},"peak_series_voltage_drop_V":{"operator":"ge","limit":0.01,"units":"V"},"peak_shunt_current_A_m2":{"operator":"ge","limit":1.0,"units":"A m-2"},"source_experiment_protocol_verified":{"operator":"eq","limit":1.0,"units":"1"},"terminal_branches_monotonic":{"operator":"eq","limit":1.0,"units":"1"},"terminal_voc_bracketed":{"operator":"eq","limit":1.0,"units":"1"},"voltage_points_per_branch_completed":{"operator":"eq","limit":12.0,"units":"1"},"zero_coupling_exact":{"operator":"eq","limit":1.0,"units":"1"}},"options":{"config_loader":"standard","require_protocol":true,"V_max_V":1.2,"voltage_points":12,"scan_rate_V_s":20.0,"rtol":0.0001,"series_resistance_ohm_m2":0.0002,"shunt_resistance_ohm_m2":0.2,"incident_power_W_m2":1000.0,"current_normalization_A_m2":250.0,"carrier_atol_fraction":1e-12,"ion_atol_fraction":1e-12,"interface_atol_fraction":1e-12,"minimum_atol":1e-06},"limitations":["This lane certifies an algebraic area-normalized DC mapping applied to a certified intrinsic transient J-V curve; it does not solve a terminal-voltage-driven circuit-device transient.","The 2e-4 ohm m2 series resistance and 0.2 ohm m2 shunt resistance are synthetic stress inputs and are not fitted or attributed to a measured MAPbI3 device.","The mapping excludes capacitance, inductance, lead dynamics, distributed sheet resistance, contact heating, and bias-dependent parasitic elements.","Passing is internal grid/tolerance, provenance, and Kirchhoff-balance evidence; it is not external simulator validation, experimental validation, SCAPS parity, or material-parameter validation."]}}, +{"id":"lane-db3616410333cfd2","kind":"registered_model_driver_protocol_combination","current_path":"perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml","route_id":"route-fc717d86c09ab83e","origin_key":"lane:foundation-physical-homojunction-resolved-v2","source_key":"lanes.foundation-physical-homojunction-resolved-v2","config_id":"config-8cb68dc12f6a5ab6","executor_id":"executor-8e75d63c57fce000","scientific_execution":"not_run","evidence_level":"cold_registry_config_hash_and_executor_resolution","registered_contract":{"claim_level":"internal-numerical-candidate","config":"tests/fixtures/configs/tpv_physical_reference.yaml","config_sha256":"2e470b672f2b0ee6970ff169deedf7ce09ed0a45beb8ab9c55b48ab8da487c10","executor":"perovskite_sim.validation.foundation_reference_refinement:run_foundation_reference_steady_state","executor_version":"v2","grid":{"parameter":"total_interface_resolved_intervals","values":[88,176,352]},"tolerance":{"parameter":"nonlinear_poisson_tolerance_factor","factors":[1.0,0.1,0.01]},"limitations":["The material input, monochromatic power, current/recombination normalization and every observable/quality limit are identical to the retained partial v1 study.","Per-layer tanh grids match the physical cell spacing on both sides of each interface, preserving layer boundaries and the absorber dual-cell measure while resolving abrupt doping and optical boundaries.","Carrier profiles use constant-face-flux Scharfetter-Gummel reconstruction; physical quasi-Fermi levels and recombination are evaluated from the reconstructed densities. Extra fixed near-boundary positions are included.","The v1 uniform-grid/log-interpolation results remain partial evidence. The v2 requires its own complete spatial/tolerance/voltage matrix and does not inherit certification.","This is an ion-free 300 K classical p-i-n numerical reference, not atomic-scale contact physics, material calibration, AM1.5G efficiency, moving-ion or external validation. See docs/FoundationReferenceValidationContractV2.md."],"observables":{"voc_V":{"comparison":"absolute_linf","limit":0.001,"units":"V"},"jsc_A_m2":{"comparison":"relative_linf","limit":0.002,"units":"A m-2"},"fill_factor":{"comparison":"relative_linf","limit":0.005,"units":"1"},"power_conversion_fraction":{"comparison":"relative_linf","limit":0.005,"units":"1"},"open_circuit_root_V":{"comparison":"absolute_linf","limit":0.001,"units":"V"},"maximum_power_voltage_V":{"comparison":"absolute_linf","limit":0.001,"units":"V"},"photovoltaic_current_normalized_trace":{"comparison":"absolute_linf","limit":0.005,"units":"1"},"equilibrium_potential_V":{"comparison":"absolute_linf","limit":0.001,"units":"V"},"equilibrium_electron_log_density":{"comparison":"absolute_linf","limit":0.009950330853168092,"units":"1"},"equilibrium_hole_log_density":{"comparison":"absolute_linf","limit":0.009950330853168092,"units":"1"},"equilibrium_electron_fermi_eV":{"comparison":"absolute_linf","limit":0.001,"units":"eV"},"equilibrium_hole_fermi_eV":{"comparison":"absolute_linf","limit":0.001,"units":"eV"},"equilibrium_recombination_normalized":{"comparison":"absolute_linf","limit":0.01,"units":"1"},"short_circuit_potential_V":{"comparison":"absolute_linf","limit":0.001,"units":"V"},"short_circuit_electron_log_density":{"comparison":"absolute_linf","limit":0.009950330853168092,"units":"1"},"short_circuit_hole_log_density":{"comparison":"absolute_linf","limit":0.009950330853168092,"units":"1"},"short_circuit_electron_fermi_eV":{"comparison":"absolute_linf","limit":0.001,"units":"eV"},"short_circuit_hole_fermi_eV":{"comparison":"absolute_linf","limit":0.001,"units":"eV"},"short_circuit_recombination_normalized":{"comparison":"absolute_linf","limit":0.01,"units":"1"},"open_circuit_potential_V":{"comparison":"absolute_linf","limit":0.001,"units":"V"},"open_circuit_electron_log_density":{"comparison":"absolute_linf","limit":0.009950330853168092,"units":"1"},"open_circuit_hole_log_density":{"comparison":"absolute_linf","limit":0.009950330853168092,"units":"1"},"open_circuit_electron_fermi_eV":{"comparison":"absolute_linf","limit":0.001,"units":"eV"},"open_circuit_hole_fermi_eV":{"comparison":"absolute_linf","limit":0.001,"units":"eV"},"open_circuit_recombination_normalized":{"comparison":"absolute_linf","limit":0.01,"units":"1"},"maximum_power_potential_V":{"comparison":"absolute_linf","limit":0.001,"units":"V"},"maximum_power_electron_log_density":{"comparison":"absolute_linf","limit":0.009950330853168092,"units":"1"},"maximum_power_hole_log_density":{"comparison":"absolute_linf","limit":0.009950330853168092,"units":"1"},"maximum_power_electron_fermi_eV":{"comparison":"absolute_linf","limit":0.001,"units":"eV"},"maximum_power_hole_fermi_eV":{"comparison":"absolute_linf","limit":0.001,"units":"eV"},"maximum_power_recombination_normalized":{"comparison":"absolute_linf","limit":0.01,"units":"1"}},"quality_gates":{"all_states_certified":{"operator":"eq","limit":1.0,"units":"1"},"contacts_thermodynamically_consistent":{"operator":"eq","limit":1.0,"units":"1"},"maximum_continuity_bound_A_m2":{"operator":"le","limit":0.0001,"units":"A m-2"},"maximum_face_current_spread_A_m2":{"operator":"le","limit":0.0001,"units":"A m-2"},"maximum_poisson_residual_C_m2":{"operator":"le","limit":1e-12,"units":"C m-2"},"maximum_residual_over_limit":{"operator":"le","limit":1.0,"units":"1"},"equilibrium_current_A_m2":{"operator":"le","limit":0.0001,"units":"A m-2"},"equilibrium_fermi_span_eV":{"operator":"le","limit":1e-08,"units":"eV"},"open_circuit_current_A_m2":{"operator":"le","limit":0.0001,"units":"A m-2"},"maximum_density_over_dos":{"operator":"le","limit":0.05,"units":"1"},"carrier_densities_positive":{"operator":"eq","limit":1.0,"units":"1"},"absorbed_photon_fraction":{"operator":"le","limit":1.0,"units":"1"},"maximum_power_conversion_fraction":{"operator":"le","limit":1.0,"units":"1"},"voltage_voc_absolute_change_V":{"operator":"le","limit":0.001,"units":"V"},"voltage_jsc_relative_change":{"operator":"le","limit":0.002,"units":"1"},"voltage_ff_relative_change":{"operator":"le","limit":0.005,"units":"1"},"voltage_pce_relative_change":{"operator":"le","limit":0.005,"units":"1"},"sampled_voc_root_error_V":{"operator":"le","limit":0.001,"units":"V"},"sampled_power_relative_error":{"operator":"le","limit":0.005,"units":"1"}},"options":{"config_loader":"standard","photon_energy_eV":2.0,"base_newton_residual_tolerance":1e-08,"base_poisson_tolerance_V":1e-10,"base_finite_difference_step":1e-05,"require_protocol":true,"absorber_alpha":3.0}}}, +{"id":"lane-1bbf89ccef7a7815","kind":"registered_model_driver_protocol_combination","current_path":"perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml","route_id":"route-fc717d86c09ab83e","origin_key":"lane:foundation-physical-homojunction-steady-v1","source_key":"lanes.foundation-physical-homojunction-steady-v1","config_id":"config-8cb68dc12f6a5ab6","executor_id":"executor-8e75d63c57fce000","scientific_execution":"not_run","evidence_level":"cold_registry_config_hash_and_executor_resolution","registered_contract":{"claim_level":"internal-numerical-candidate","config":"tests/fixtures/configs/tpv_physical_reference.yaml","config_sha256":"2e470b672f2b0ee6970ff169deedf7ce09ed0a45beb8ab9c55b48ab8da487c10","executor":"perovskite_sim.validation.foundation_reference_refinement:run_foundation_reference_steady_state","executor_version":"v1","grid":{"parameter":"total_uniform_intervals","values":[44,88,176]},"tolerance":{"parameter":"nonlinear_poisson_tolerance_factor","factors":[1.0,0.1,0.01]},"limitations":["One synthetic 300 K Boltzmann p-i-n homojunction with SRH recombination and declared 2 eV monochromatic optical power; no material fitting or AM1.5G efficiency is claimed.","Uniform spacing preserves physical layer boundaries. Spatial, nonlinear/Poisson tolerance and nested voltage sampling are independent axes.","The fixed current and recombination scales are q*Phi and Phi/L. The positive photovoltaic current is compared at fixed voltages; complete signed curves and all operating-state profiles are retained.","This steady-state certificate excludes moving ions, interface barriers, optical emission balance and external validation. Dynamic and two-dimensional foundation checks are separate."],"observables":{"voc_V":{"comparison":"absolute_linf","limit":0.001,"units":"V"},"jsc_A_m2":{"comparison":"relative_linf","limit":0.002,"units":"A m-2"},"fill_factor":{"comparison":"relative_linf","limit":0.005,"units":"1"},"power_conversion_fraction":{"comparison":"relative_linf","limit":0.005,"units":"1"},"open_circuit_root_V":{"comparison":"absolute_linf","limit":0.001,"units":"V"},"maximum_power_voltage_V":{"comparison":"absolute_linf","limit":0.001,"units":"V"},"photovoltaic_current_normalized_trace":{"comparison":"absolute_linf","limit":0.005,"units":"1"},"equilibrium_potential_V":{"comparison":"absolute_linf","limit":0.001,"units":"V"},"equilibrium_electron_log_density":{"comparison":"absolute_linf","limit":0.009950330853168092,"units":"1"},"equilibrium_hole_log_density":{"comparison":"absolute_linf","limit":0.009950330853168092,"units":"1"},"equilibrium_electron_fermi_eV":{"comparison":"absolute_linf","limit":0.001,"units":"eV"},"equilibrium_hole_fermi_eV":{"comparison":"absolute_linf","limit":0.001,"units":"eV"},"equilibrium_recombination_normalized":{"comparison":"absolute_linf","limit":0.01,"units":"1"},"short_circuit_potential_V":{"comparison":"absolute_linf","limit":0.001,"units":"V"},"short_circuit_electron_log_density":{"comparison":"absolute_linf","limit":0.009950330853168092,"units":"1"},"short_circuit_hole_log_density":{"comparison":"absolute_linf","limit":0.009950330853168092,"units":"1"},"short_circuit_electron_fermi_eV":{"comparison":"absolute_linf","limit":0.001,"units":"eV"},"short_circuit_hole_fermi_eV":{"comparison":"absolute_linf","limit":0.001,"units":"eV"},"short_circuit_recombination_normalized":{"comparison":"absolute_linf","limit":0.01,"units":"1"},"open_circuit_potential_V":{"comparison":"absolute_linf","limit":0.001,"units":"V"},"open_circuit_electron_log_density":{"comparison":"absolute_linf","limit":0.009950330853168092,"units":"1"},"open_circuit_hole_log_density":{"comparison":"absolute_linf","limit":0.009950330853168092,"units":"1"},"open_circuit_electron_fermi_eV":{"comparison":"absolute_linf","limit":0.001,"units":"eV"},"open_circuit_hole_fermi_eV":{"comparison":"absolute_linf","limit":0.001,"units":"eV"},"open_circuit_recombination_normalized":{"comparison":"absolute_linf","limit":0.01,"units":"1"},"maximum_power_potential_V":{"comparison":"absolute_linf","limit":0.001,"units":"V"},"maximum_power_electron_log_density":{"comparison":"absolute_linf","limit":0.009950330853168092,"units":"1"},"maximum_power_hole_log_density":{"comparison":"absolute_linf","limit":0.009950330853168092,"units":"1"},"maximum_power_electron_fermi_eV":{"comparison":"absolute_linf","limit":0.001,"units":"eV"},"maximum_power_hole_fermi_eV":{"comparison":"absolute_linf","limit":0.001,"units":"eV"},"maximum_power_recombination_normalized":{"comparison":"absolute_linf","limit":0.01,"units":"1"}},"quality_gates":{"all_states_certified":{"operator":"eq","limit":1.0,"units":"1"},"contacts_thermodynamically_consistent":{"operator":"eq","limit":1.0,"units":"1"},"maximum_continuity_bound_A_m2":{"operator":"le","limit":0.0001,"units":"A m-2"},"maximum_face_current_spread_A_m2":{"operator":"le","limit":0.0001,"units":"A m-2"},"maximum_poisson_residual_C_m2":{"operator":"le","limit":1e-12,"units":"C m-2"},"maximum_residual_over_limit":{"operator":"le","limit":1.0,"units":"1"},"equilibrium_current_A_m2":{"operator":"le","limit":0.0001,"units":"A m-2"},"equilibrium_fermi_span_eV":{"operator":"le","limit":1e-08,"units":"eV"},"open_circuit_current_A_m2":{"operator":"le","limit":0.0001,"units":"A m-2"},"maximum_density_over_dos":{"operator":"le","limit":0.05,"units":"1"},"carrier_densities_positive":{"operator":"eq","limit":1.0,"units":"1"},"absorbed_photon_fraction":{"operator":"le","limit":1.0,"units":"1"},"maximum_power_conversion_fraction":{"operator":"le","limit":1.0,"units":"1"},"voltage_voc_absolute_change_V":{"operator":"le","limit":0.001,"units":"V"},"voltage_jsc_relative_change":{"operator":"le","limit":0.002,"units":"1"},"voltage_ff_relative_change":{"operator":"le","limit":0.005,"units":"1"},"voltage_pce_relative_change":{"operator":"le","limit":0.005,"units":"1"},"sampled_voc_root_error_V":{"operator":"le","limit":0.001,"units":"V"},"sampled_power_relative_error":{"operator":"le","limit":0.005,"units":"1"}},"options":{"config_loader":"standard","photon_energy_eV":2.0,"base_newton_residual_tolerance":1e-08,"base_poisson_tolerance_V":1e-10,"base_finite_difference_step":1e-05,"require_protocol":true}}}, +{"id":"lane-42bf2b940134e62c","kind":"registered_model_driver_protocol_combination","current_path":"perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml","route_id":"route-fc717d86c09ab83e","origin_key":"lane:incomplete-ionization-bgn-temperature-equilibrium-v1","source_key":"lanes.incomplete-ionization-bgn-temperature-equilibrium-v1","config_id":"config-506f7705b1a266e1","executor_id":"executor-a4459265c3ea8a60","scientific_execution":"not_run","evidence_level":"cold_registry_config_hash_and_executor_resolution","registered_contract":{"claim_level":"internal-numerical-candidate","config":"tests/fixtures/configs/csi_incomplete_ionization_bgn_pn_research.yaml","config_sha256":"2fb63bd79a0f0917083d887e80301712d65b9ca46ace02bedb9cb5c5336e789b","executor":"perovskite_sim.validation.bgn_refinement:run_incomplete_ionization_bgn_temperature_refinement","executor_version":"v1","grid":{"parameter":"intervals_per_electrical_layer","values":[40,80,160]},"tolerance":{"parameter":"poisson_residual_tolerance_factor","factors":[1.0,0.1,0.01]},"observables":{"acceptor_ionized_fraction_temperature_curve":{"comparison":"absolute_linf","limit":1e-12,"units":"1"},"band_gap_narrowing_temperature_curve_eV":{"comparison":"absolute_linf","limit":1e-12,"units":"eV"},"donor_ionized_fraction_temperature_curve":{"comparison":"absolute_linf","limit":1e-12,"units":"1"},"effective_band_gap_temperature_curve_eV":{"comparison":"absolute_linf","limit":1e-12,"units":"eV"},"normalized_integrated_charge_width_temperature_curve":{"comparison":"absolute_linf","limit":0.0005,"units":"1"},"normalized_peak_field_temperature_curve":{"comparison":"absolute_linf","limit":0.002,"units":"1"},"space_charge_balance_temperature_curve":{"comparison":"absolute_linf","limit":0.001,"units":"1"}},"quality_gates":{"bgn_chemical_doping_law_verified":{"operator":"eq","limit":1.0,"units":"1"},"combined_topology_verified":{"operator":"eq","limit":1.0,"units":"1"},"contact_thermodynamics_certified":{"operator":"eq","limit":1.0,"units":"1"},"freeze_out_monotone_with_temperature":{"operator":"eq","limit":1.0,"units":"1"},"ionized_fractions_bounded":{"operator":"eq","limit":1.0,"units":"1"},"max_normalized_carrier_rate":{"operator":"le","limit":1e-12,"units":"1"},"max_normalized_poisson_residual":{"operator":"le","limit":1e-08,"units":"1"},"max_relative_face_current":{"operator":"le","limit":1e-12,"units":"1"},"max_space_charge_balance_relative_error":{"operator":"le","limit":0.02,"units":"1"},"maximum_newton_iterations":{"operator":"le","limit":25.0,"units":"1"},"minimum_band_gap_narrowing_eV":{"operator":"ge","limit":0.02,"units":"eV"},"minimum_freeze_out_fraction_change":{"operator":"ge","limit":0.5,"units":"1"},"temperature_points_completed":{"operator":"eq","limit":5.0,"units":"1"},"terminal_densities_positive":{"operator":"eq","limit":1.0,"units":"1"}},"options":{"config_loader":"standard","require_protocol":true,"left_layer_name":"p_discrete_bgn","right_layer_name":"n_discrete_bgn","temperature_values_K":[100.0,150.0,200.0,250.0,300.0],"grid_alpha":3.0,"base_poisson_tolerance":1e-08,"max_newton_iterations":100,"max_potential_step_V":0.1,"max_line_search_backtracks":20},"limitations":["This lane certifies only a dark homogeneous silicon p/n equilibrium combining independent discrete donor/acceptor levels with the frozen Slotboom chemical-doping band-gap-narrowing law over 100-300 K.","The model excludes impurity bands, the Mott transition, alternate BGN parameterizations, dopant capture kinetics, bulk recombination, illumination, bias, heterojunctions, ions, selective contacts, and production experiment routes.","The temperature and refinement curves are internal numerical evidence, not Sentaurus or PC1D validation, experimental validation, or a production device certificate."]}}, +{"id":"lane-b0877f36f5bf04e5","kind":"registered_model_driver_protocol_combination","current_path":"perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml","route_id":"route-fc717d86c09ab83e","origin_key":"lane:incomplete-ionization-temperature-equilibrium-v1","source_key":"lanes.incomplete-ionization-temperature-equilibrium-v1","config_id":"config-7eb77602abeb4485","executor_id":"executor-ff5e68ab4e98d13e","scientific_execution":"not_run","evidence_level":"cold_registry_config_hash_and_executor_resolution","registered_contract":{"claim_level":"internal-numerical-candidate","config":"tests/fixtures/configs/csi_incomplete_ionization_pn_research.yaml","config_sha256":"d98b07049abfb17f44404eac91557338dad3a16341b6350d291d940c258abc72","executor":"perovskite_sim.validation.incomplete_ionization_refinement:run_incomplete_ionization_temperature_refinement","executor_version":"v1","grid":{"parameter":"intervals_per_electrical_layer","values":[40,80,160]},"tolerance":{"parameter":"poisson_residual_tolerance_factor","factors":[1.0,0.1,0.01]},"observables":{"acceptor_ionized_fraction_temperature_curve":{"comparison":"absolute_linf","limit":1e-12,"units":"1"},"donor_ionized_fraction_temperature_curve":{"comparison":"absolute_linf","limit":1e-12,"units":"1"},"normalized_integrated_charge_width_temperature_curve":{"comparison":"absolute_linf","limit":0.0005,"units":"1"},"normalized_peak_field_temperature_curve":{"comparison":"absolute_linf","limit":0.002,"units":"1"},"space_charge_balance_temperature_curve":{"comparison":"absolute_linf","limit":0.001,"units":"1"}},"quality_gates":{"contact_thermodynamics_certified":{"operator":"eq","limit":1.0,"units":"1"},"freeze_out_monotone_with_temperature":{"operator":"eq","limit":1.0,"units":"1"},"incomplete_ionization_topology_verified":{"operator":"eq","limit":1.0,"units":"1"},"ionized_fractions_bounded":{"operator":"eq","limit":1.0,"units":"1"},"max_normalized_carrier_rate":{"operator":"le","limit":1e-12,"units":"1"},"max_normalized_poisson_residual":{"operator":"le","limit":1e-08,"units":"1"},"max_relative_face_current":{"operator":"le","limit":1e-12,"units":"1"},"max_space_charge_balance_relative_error":{"operator":"le","limit":0.02,"units":"1"},"maximum_newton_iterations":{"operator":"le","limit":25.0,"units":"1"},"minimum_freeze_out_fraction_change":{"operator":"ge","limit":0.5,"units":"1"},"temperature_points_completed":{"operator":"eq","limit":5.0,"units":"1"},"terminal_densities_positive":{"operator":"eq","limit":1.0,"units":"1"}},"options":{"config_loader":"standard","require_protocol":true,"left_layer_name":"p_discrete","right_layer_name":"n_discrete","temperature_values_K":[100.0,150.0,200.0,250.0,300.0],"grid_alpha":3.0,"base_poisson_tolerance":1e-08,"max_newton_iterations":100,"max_potential_step_V":0.1,"max_line_search_backtracks":20},"limitations":["This lane certifies only a dark homogeneous silicon p/n equilibrium with independent discrete donor and acceptor levels over the frozen 100-300 K scan.","The model excludes impurity-band formation, the Mott transition, band-gap narrowing, dopant capture kinetics, recombination, illumination, bias, heterojunctions, ions, selective contacts, and production experiment routes.","Low-temperature depletion charge is state dependent, so the fully-ionized abrupt depletion formula is not used as a quality oracle. This is internal numerical evidence, not Sentaurus or PC1D validation or experimental validation."]}}, +{"id":"lane-f3d0d1307884e5e8","kind":"registered_model_driver_protocol_combination","current_path":"perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml","route_id":"route-fc717d86c09ab83e","origin_key":"lane:interface-charge-device-stress-resolved-v2","source_key":"lanes.interface-charge-device-stress-resolved-v2","config_id":"config-3cc522bdc594b20e","executor_id":"executor-10baa23e892b145e","scientific_execution":"not_run","evidence_level":"cold_registry_config_hash_and_executor_resolution","registered_contract":{"claim_level":"internal-numerical-candidate","config":"tests/fixtures/configs/interface_charge_research.yaml","config_sha256":"523449448807e4993f999300308096003c3eeaf280924b7af208915a3cf41a54","executor":"perovskite_sim.validation.interface_charge_stress:run_equilibrium_referenced_interface_charge_stress","executor_version":"v3","grid":{"parameter":"N_grid","values":[30,60,90]},"tolerance":{"parameter":"qf_residual_tolerance_factor","factors":[1.0,0.5]},"observables":{"stress_current_density_A_m2":{"comparison":"relative_linf","limit":0.01,"units":"A m-2"},"stress_equilibrium_occupancy":{"comparison":"absolute_linf","limit":0.0002,"units":"1"},"stress_interface_occupancy":{"comparison":"absolute_linf","limit":0.0002,"units":"1"},"stress_sheet_charge_C_m2":{"comparison":"pointwise_relative_linf","limit":0.01,"units":"C m-2"},"stress_trace_potential_shift_V":{"comparison":"absolute_linf","limit":0.001,"units":"V"}},"quality_gates":{"all_points_certified":{"operator":"eq","limit":1.0,"units":"1"},"barrier_shift_charge_sign_consistent":{"operator":"eq","limit":1.0,"units":"1"},"calibration_factors_unity":{"operator":"eq","limit":1.0,"units":"1"},"charge_law_consistent":{"operator":"eq","limit":1.0,"units":"1"},"contact_thermodynamics_certified":{"operator":"eq","limit":1.0,"units":"1"},"dark_charge_off_bit_identical":{"operator":"eq","limit":1.0,"units":"1"},"dark_incremental_charge_zero_C_m2":{"operator":"le","limit":0.0,"units":"C m-2"},"dark_reference_certified":{"operator":"eq","limit":1.0,"units":"1"},"dark_reference_hash_verified":{"operator":"eq","limit":1.0,"units":"1"},"dark_trace_shift_zero_V":{"operator":"le","limit":0.0,"units":"V"},"grid_geometry_aligned":{"operator":"eq","limit":1.0,"units":"1"},"interface_evidence_aligned":{"operator":"eq","limit":1.0,"units":"1"},"microscopic_defect_contract_verified":{"operator":"eq","limit":1.0,"units":"1"},"max_charge_fraction_of_one_electron":{"operator":"le","limit":1.0,"units":"1"},"max_continuity_bound_A_m2":{"operator":"le","limit":0.0001,"units":"A m-2"},"max_current_spread_A_m2":{"operator":"le","limit":0.0001,"units":"A m-2"},"max_interface_local_residual":{"operator":"le","limit":1e-07,"units":"1"},"max_normalized_cell_residual":{"operator":"le","limit":4e-07,"units":"1"},"max_normalized_gauss_residual":{"operator":"le","limit":1e-10,"units":"1"},"max_poisson_residual":{"operator":"le","limit":1e-08,"units":"1"},"max_scaled_local_jacobian_condition":{"operator":"le","limit":"1.0e8","units":"1"},"occupancy_bounded":{"operator":"eq","limit":1.0,"units":"1"},"parameter_values_applied":{"operator":"eq","limit":1.0,"units":"1"},"rebaseline_acknowledged":{"operator":"eq","limit":1.0,"units":"1"},"research_charge_closure_active":{"operator":"eq","limit":1.0,"units":"1"},"stress_point_count":{"operator":"eq","limit":9.0,"units":"1"},"two_sided_topology_active":{"operator":"eq","limit":1.0,"units":"1"},"variant_stack_identities_unique":{"operator":"eq","limit":1.0,"units":"1"}},"options":{"config_loader":"standard","require_protocol":true,"base_finite_difference_step":7e-06,"refine_finite_difference_step":false,"base_newton_residual_tolerance":4e-07,"max_newton_iterations":60,"base_poisson_tolerance_V":1e-12,"poisson_max_iterations":100,"continuity_tolerance_A_m2":0.0001,"current_spread_tolerance_A_m2":0.0001,"poisson_residual_tolerance":1e-08,"stress_points":[{"point_id":"baseline","axis":"baseline","label":"baseline Et=0.55 eV, CBO=-0.10 eV, Nd=0, Nt=1e13 cm-2","updates":{}},{"point_id":"et_shallow_0p20","axis":"trap_energy","label":"Et=0.20 eV below Ec","updates":{"interface_defect_E_t_eV":0.2,"interface_defect_target":"pvk/etl"}},{"point_id":"et_deep_1p20","axis":"trap_energy","label":"Et=1.20 eV below Ec","updates":{"interface_defect_E_t_eV":1.2,"interface_defect_target":"pvk/etl"}},{"point_id":"cbo_cliff_m0p25","axis":"conduction_band_offset","label":"CBO=-0.25 eV","updates":{"etl_delta_ec_eV":-0.25}},{"point_id":"cbo_spike_p0p20","axis":"conduction_band_offset","label":"CBO=+0.20 eV","updates":{"etl_delta_ec_eV":0.2}},{"point_id":"nd_1e14","axis":"etl_doping","label":"ETL Nd=1e14 cm-3","updates":{"etl_doping_cm3":"1.0e14"}},{"point_id":"nd_2e15","axis":"etl_doping","label":"ETL Nd=2e15 cm-3","updates":{"etl_doping_cm3":"2.0e15"}},{"point_id":"nt_1e8","axis":"trap_density","label":"Nt=1e8 cm-2","updates":{"interface_defect_N_t_cm2":"1.0e8","interface_defect_target":"pvk/etl"}},{"point_id":"nt_1e10","axis":"trap_density","label":"Nt=1e10 cm-2","updates":{"interface_defect_N_t_cm2":"1.0e10","interface_defect_target":"pvk/etl"}}]},"limitations":["This resolved companion retains every v1 stress point and acceptance gate while adding N90 as the terminal grid.","The finite-difference Jacobian probe is fixed at 7e-6 across tolerance factors; residual and Poisson tolerances remain refined by the matrix factor.","The v1 N30/N60 matrix is partial because the Nd=2e15 illuminated sheet charge changes by 1.4735 percent; it is not overwritten by this lane.","N120 at tolerance factor 0.5 fails closed for the Nd=2e15 dark-bias target and remains outside the supported solver basin.","This one-factor-at-a-time stress matrix does not establish interaction effects between Et, CBO, Nd, and Nt.","Charge-barrier sign consistency is an internal electrostatic law check, not an experimental trend validation.","The lane remains limited to the purpose-built two-layer stack and equilibrium-referenced incremental charge.","Transient, impedance, 2-D, production experiment routes, absolute trap charge, and whole-device neutrality remain out of scope."]}}, +{"id":"lane-e95ec3a450b16504","kind":"registered_model_driver_protocol_combination","current_path":"perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml","route_id":"route-fc717d86c09ab83e","origin_key":"lane:interface-charge-device-stress-v1","source_key":"lanes.interface-charge-device-stress-v1","config_id":"config-3cc522bdc594b20e","executor_id":"executor-10baa23e892b145e","scientific_execution":"not_run","evidence_level":"cold_registry_config_hash_and_executor_resolution","registered_contract":{"claim_level":"internal-numerical-candidate","config":"tests/fixtures/configs/interface_charge_research.yaml","config_sha256":"523449448807e4993f999300308096003c3eeaf280924b7af208915a3cf41a54","executor":"perovskite_sim.validation.interface_charge_stress:run_equilibrium_referenced_interface_charge_stress","executor_version":"v2","grid":{"parameter":"N_grid","values":[30,60]},"tolerance":{"parameter":"qf_residual_tolerance_factor","factors":[1.0,0.5]},"observables":{"stress_current_density_A_m2":{"comparison":"relative_linf","limit":0.01,"units":"A m-2"},"stress_equilibrium_occupancy":{"comparison":"absolute_linf","limit":0.0002,"units":"1"},"stress_interface_occupancy":{"comparison":"absolute_linf","limit":0.0002,"units":"1"},"stress_sheet_charge_C_m2":{"comparison":"pointwise_relative_linf","limit":0.01,"units":"C m-2"},"stress_trace_potential_shift_V":{"comparison":"absolute_linf","limit":0.001,"units":"V"}},"quality_gates":{"all_points_certified":{"operator":"eq","limit":1.0,"units":"1"},"barrier_shift_charge_sign_consistent":{"operator":"eq","limit":1.0,"units":"1"},"calibration_factors_unity":{"operator":"eq","limit":1.0,"units":"1"},"charge_law_consistent":{"operator":"eq","limit":1.0,"units":"1"},"contact_thermodynamics_certified":{"operator":"eq","limit":1.0,"units":"1"},"dark_charge_off_bit_identical":{"operator":"eq","limit":1.0,"units":"1"},"dark_incremental_charge_zero_C_m2":{"operator":"le","limit":0.0,"units":"C m-2"},"dark_reference_certified":{"operator":"eq","limit":1.0,"units":"1"},"dark_reference_hash_verified":{"operator":"eq","limit":1.0,"units":"1"},"dark_trace_shift_zero_V":{"operator":"le","limit":0.0,"units":"V"},"grid_geometry_aligned":{"operator":"eq","limit":1.0,"units":"1"},"interface_evidence_aligned":{"operator":"eq","limit":1.0,"units":"1"},"microscopic_defect_contract_verified":{"operator":"eq","limit":1.0,"units":"1"},"max_charge_fraction_of_one_electron":{"operator":"le","limit":1.0,"units":"1"},"max_continuity_bound_A_m2":{"operator":"le","limit":0.0001,"units":"A m-2"},"max_current_spread_A_m2":{"operator":"le","limit":0.0001,"units":"A m-2"},"max_interface_local_residual":{"operator":"le","limit":1e-07,"units":"1"},"max_normalized_cell_residual":{"operator":"le","limit":4e-07,"units":"1"},"max_normalized_gauss_residual":{"operator":"le","limit":1e-10,"units":"1"},"max_poisson_residual":{"operator":"le","limit":1e-08,"units":"1"},"max_scaled_local_jacobian_condition":{"operator":"le","limit":"1.0e8","units":"1"},"occupancy_bounded":{"operator":"eq","limit":1.0,"units":"1"},"parameter_values_applied":{"operator":"eq","limit":1.0,"units":"1"},"rebaseline_acknowledged":{"operator":"eq","limit":1.0,"units":"1"},"research_charge_closure_active":{"operator":"eq","limit":1.0,"units":"1"},"stress_point_count":{"operator":"eq","limit":9.0,"units":"1"},"two_sided_topology_active":{"operator":"eq","limit":1.0,"units":"1"},"variant_stack_identities_unique":{"operator":"eq","limit":1.0,"units":"1"}},"options":{"config_loader":"standard","require_protocol":true,"base_finite_difference_step":1e-05,"base_newton_residual_tolerance":4e-07,"max_newton_iterations":60,"base_poisson_tolerance_V":1e-12,"poisson_max_iterations":100,"continuity_tolerance_A_m2":0.0001,"current_spread_tolerance_A_m2":0.0001,"poisson_residual_tolerance":1e-08,"stress_points":[{"point_id":"baseline","axis":"baseline","label":"baseline Et=0.55 eV, CBO=-0.10 eV, Nd=0, Nt=1e13 cm-2","updates":{}},{"point_id":"et_shallow_0p20","axis":"trap_energy","label":"Et=0.20 eV below Ec","updates":{"interface_defect_E_t_eV":0.2,"interface_defect_target":"pvk/etl"}},{"point_id":"et_deep_1p20","axis":"trap_energy","label":"Et=1.20 eV below Ec","updates":{"interface_defect_E_t_eV":1.2,"interface_defect_target":"pvk/etl"}},{"point_id":"cbo_cliff_m0p25","axis":"conduction_band_offset","label":"CBO=-0.25 eV","updates":{"etl_delta_ec_eV":-0.25}},{"point_id":"cbo_spike_p0p20","axis":"conduction_band_offset","label":"CBO=+0.20 eV","updates":{"etl_delta_ec_eV":0.2}},{"point_id":"nd_1e14","axis":"etl_doping","label":"ETL Nd=1e14 cm-3","updates":{"etl_doping_cm3":"1.0e14"}},{"point_id":"nd_2e15","axis":"etl_doping","label":"ETL Nd=2e15 cm-3","updates":{"etl_doping_cm3":"2.0e15"}},{"point_id":"nt_1e8","axis":"trap_density","label":"Nt=1e8 cm-2","updates":{"interface_defect_N_t_cm2":"1.0e8","interface_defect_target":"pvk/etl"}},{"point_id":"nt_1e10","axis":"trap_density","label":"Nt=1e10 cm-2","updates":{"interface_defect_N_t_cm2":"1.0e10","interface_defect_target":"pvk/etl"}}]},"limitations":["This one-factor-at-a-time stress matrix does not establish interaction effects between Et, CBO, Nd, and Nt.","Charge-barrier sign consistency is an internal electrostatic law check, not an experimental trend validation.","The lane remains limited to the purpose-built two-layer stack and equilibrium-referenced incremental charge.","Transient, impedance, 2-D, production experiment routes, absolute trap charge, and whole-device neutrality remain out of scope.","Executor v2 binds every stress variant to an uncalibrated canonical microscopic v1 document; prior certificates are inherited evidence only."]}}, +{"id":"lane-5da5b7d376d6e06e","kind":"registered_model_driver_protocol_combination","current_path":"perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml","route_id":"route-1af17bb46d9794d0","origin_key":"lane:interface-charge-equilibrium-referenced-v1","source_key":"lanes.interface-charge-equilibrium-referenced-v1","config_id":"config-3cc522bdc594b20e","executor_id":"executor-2b8910c5d9a3d2a2","scientific_execution":"not_run","evidence_level":"cold_registry_config_hash_and_executor_resolution","registered_contract":{"claim_level":"internal-numerical-candidate","config":"tests/fixtures/configs/interface_charge_research.yaml","config_sha256":"523449448807e4993f999300308096003c3eeaf280924b7af208915a3cf41a54","executor":"perovskite_sim.validation.refinement_executors:run_equilibrium_referenced_interface_charge","executor_version":"v2","grid":{"parameter":"N_grid","values":[30,60,120]},"tolerance":{"parameter":"qf_residual_tolerance_factor","factors":[1.0,0.5,0.25]},"observables":{"charged_current_density_A_m2":{"comparison":"relative_linf","limit":0.005,"units":"A m-2"},"interface_occupancy":{"comparison":"absolute_linf","limit":0.0001,"units":"1"},"interface_sheet_charge_C_m2":{"comparison":"pointwise_relative_linf","limit":0.005,"units":"C m-2"},"interface_trace_potential_shift_V":{"comparison":"absolute_linf","limit":0.001,"units":"V"}},"quality_gates":{"all_points_certified":{"operator":"eq","limit":1.0,"units":"1"},"calibration_factors_unity":{"operator":"eq","limit":1.0,"units":"1"},"charge_law_consistent":{"operator":"eq","limit":1.0,"units":"1"},"contact_thermodynamics_certified":{"operator":"eq","limit":1.0,"units":"1"},"dark_charge_off_bit_identical":{"operator":"eq","limit":1.0,"units":"1"},"dark_incremental_charge_zero_C_m2":{"operator":"le","limit":0.0,"units":"C m-2"},"dark_reference_certified":{"operator":"eq","limit":1.0,"units":"1"},"dark_reference_hash_verified":{"operator":"eq","limit":1.0,"units":"1"},"dark_trace_shift_zero_V":{"operator":"le","limit":0.0,"units":"V"},"interface_evidence_aligned":{"operator":"eq","limit":1.0,"units":"1"},"microscopic_defect_contract_verified":{"operator":"eq","limit":1.0,"units":"1"},"max_charge_fraction_of_one_electron":{"operator":"le","limit":1.0,"units":"1"},"max_continuity_bound_A_m2":{"operator":"le","limit":0.0001,"units":"A m-2"},"max_current_spread_A_m2":{"operator":"le","limit":0.0001,"units":"A m-2"},"max_interface_local_residual":{"operator":"le","limit":1e-07,"units":"1"},"max_normalized_cell_residual":{"operator":"le","limit":4e-07,"units":"1"},"max_normalized_gauss_residual":{"operator":"le","limit":1e-10,"units":"1"},"max_poisson_residual":{"operator":"le","limit":1e-08,"units":"1"},"max_scaled_local_jacobian_condition":{"operator":"le","limit":"1.0e8","units":"1"},"occupancy_bounded":{"operator":"eq","limit":1.0,"units":"1"},"rebaseline_acknowledged":{"operator":"eq","limit":1.0,"units":"1"},"research_charge_closure_active":{"operator":"eq","limit":1.0,"units":"1"},"two_sided_topology_active":{"operator":"eq","limit":1.0,"units":"1"}},"options":{"config_loader":"standard","require_protocol":true,"bias_voltage_V":0.05,"illuminated_voltage_V":0.0,"base_finite_difference_step":1e-05,"base_newton_residual_tolerance":4e-07,"max_newton_iterations":60,"base_poisson_tolerance_V":1e-12,"poisson_max_iterations":100,"continuity_tolerance_A_m2":0.0001,"current_spread_tolerance_A_m2":0.0001,"poisson_residual_tolerance":1e-08},"limitations":["This lane certifies equilibrium-referenced incremental charge, not absolute trap charge, fixed countercharge, or whole-device neutrality.","The purpose-built two-layer stack is an internal numerical reference and makes no SCAPS or experimental-validation claim.","Only the QF steady-state research API is in scope; transient, impedance, 2-D, and production experiment routes remain parked.","Executor v2 requires one uncalibrated canonical microscopic v1 document per interface and exact sigma*v_th*N_t identity with the compatibility SRV; v1 certificates predate this contract."]}}, +{"id":"lane-54128f5212664526","kind":"registered_model_driver_protocol_combination","current_path":"perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml","route_id":"route-1af17bb46d9794d0","origin_key":"lane:interface-charge-qf-dc-jv-v1","source_key":"lanes.interface-charge-qf-dc-jv-v1","config_id":"config-be2fba72dc1e3066","executor_id":"executor-df2a34699217fddc","scientific_execution":"not_run","evidence_level":"cold_registry_config_hash_and_executor_resolution","registered_contract":{"claim_level":"internal-numerical-candidate","config":"tests/fixtures/configs/interface_charge_jv_research.yaml","config_sha256":"5f4bbf89cf2d95fb020cdc9ade111d838ed38cc1c14a722e5fd800e30c6590c1","executor":"perovskite_sim.validation.refinement_executors:run_equilibrium_referenced_interface_charge_jv","executor_version":"v1","grid":{"parameter":"N_grid","values":[30,60,90]},"tolerance":{"parameter":"qf_residual_tolerance_factor","factors":[1.0,0.5,0.25]},"observables":{"ff":{"comparison":"absolute_linf","limit":0.005,"units":"1"},"interface_occupancy":{"comparison":"absolute_linf","limit":0.0001,"units":"1"},"interface_sheet_charge_C_m2":{"comparison":"pointwise_relative_linf","limit":0.005,"units":"C m-2"},"interface_trace_potential_shift_V":{"comparison":"absolute_linf","limit":0.001,"units":"V"},"jsc_A_m2":{"comparison":"relative_linf","limit":0.005,"units":"A m-2"},"jv_normalized":{"comparison":"absolute_linf","limit":0.005,"units":"1"},"voc_V":{"comparison":"absolute_linf","limit":0.001,"units":"V"}},"quality_gates":{"all_points_certified":{"operator":"eq","limit":1.0,"units":"1"},"calibration_factors_unity":{"operator":"eq","limit":1.0,"units":"1"},"charge_law_consistent":{"operator":"eq","limit":1.0,"units":"1"},"contact_thermodynamics_certified":{"operator":"eq","limit":1.0,"units":"1"},"continuation_bridge_count":{"operator":"le","limit":8.0,"units":"1"},"dark_charge_off_bit_identical":{"operator":"eq","limit":1.0,"units":"1"},"dark_incremental_charge_zero_C_m2":{"operator":"le","limit":0.0,"units":"C m-2"},"dark_reference_certified":{"operator":"eq","limit":1.0,"units":"1"},"dark_reference_hash_verified":{"operator":"eq","limit":1.0,"units":"1"},"dark_trace_shift_zero_V":{"operator":"le","limit":0.0,"units":"V"},"grid_identity_verified":{"operator":"eq","limit":1.0,"units":"1"},"interface_evidence_aligned":{"operator":"eq","limit":1.0,"units":"1"},"max_charge_fraction_of_one_electron":{"operator":"le","limit":1.0,"units":"1"},"max_contact_fermi_level_span_eV":{"operator":"le","limit":0.005,"units":"eV"},"max_continuity_bound_A_m2":{"operator":"le","limit":0.0001,"units":"A m-2"},"max_current_spread_A_m2":{"operator":"le","limit":0.0001,"units":"A m-2"},"max_interface_local_residual":{"operator":"le","limit":1e-07,"units":"1"},"max_normalized_cell_residual":{"operator":"le","limit":4e-07,"units":"1"},"max_normalized_gauss_residual":{"operator":"le","limit":1e-10,"units":"1"},"max_poisson_residual":{"operator":"le","limit":1e-08,"units":"1"},"max_scaled_local_jacobian_condition":{"operator":"le","limit":"1.0e8","units":"1"},"microscopic_defect_contract_verified":{"operator":"eq","limit":1.0,"units":"1"},"occupancy_bounded":{"operator":"eq","limit":1.0,"units":"1"},"protocol_identity_verified":{"operator":"eq","limit":1.0,"units":"1"},"rebaseline_acknowledged":{"operator":"eq","limit":1.0,"units":"1"},"reported_point_count":{"operator":"eq","limit":5.0,"units":"1"},"research_charge_closure_active":{"operator":"eq","limit":1.0,"units":"1"},"stack_identity_verified":{"operator":"eq","limit":1.0,"units":"1"},"two_sided_topology_active":{"operator":"eq","limit":1.0,"units":"1"},"voc_bracketed":{"operator":"eq","limit":1.0,"units":"1"},"voltage_sampling_aligned":{"operator":"eq","limit":1.0,"units":"1"}},"options":{"config_loader":"standard","require_protocol":true,"V_max_V":0.1,"voltage_points":5},"limitations":["This lane recertifies the exact illuminated, ion-free, zero-scan-rate QF/DC J-V path admitted by the public charged-interface API.","It certifies the frozen 0.0 to 0.1 V five-point protocol on an uncalibrated synthetic two-layer reference; it does not establish device performance, SCAPS parity, external-solver validity, or experimental validity.","The charge law is equilibrium-referenced incremental sheet charge, not absolute trap charge, fixed countercharge, or whole-device neutrality.","Transient hysteresis, mobile ions, explicit bulk-defect composition, impedance, 2-D, degradation, external circuits, and electrothermal coupling remain outside this lane."]}}, +{"id":"lane-ee113ad477b8697e","kind":"registered_model_driver_protocol_combination","current_path":"perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml","route_id":"route-1af17bb46d9794d0","origin_key":"lane:interface-recombination-charge-off","source_key":"lanes.interface-recombination-charge-off","config_id":"config-d84c8112dd429b78","executor_id":"executor-cd5daa7fb87af0af","scientific_execution":"not_run","evidence_level":"cold_registry_config_hash_and_executor_resolution","registered_contract":{"claim_level":"internal-numerical-candidate","config":"tests/fixtures/configs/interface_charge_reference.yaml","config_sha256":"300f57a256dc764995b916a55b98b642ecd8244eccd2ca456624d9521e0e2705","executor":"perovskite_sim.validation.refinement_executors:run_interface_recombination_charge_off","executor_version":"v3","grid":{"parameter":"N_grid","values":[30,60,90]},"tolerance":{"parameter":"qf_residual_tolerance_factor","factors":[1.0,0.5,0.25]},"observables":{"interface_flux_A_m2":{"comparison":"absolute_linf","limit":1.0,"units":"A m-2"},"jv_normalized":{"comparison":"absolute_linf","limit":0.005,"units":"1"},"voc_V":{"comparison":"absolute_linf","limit":0.001,"units":"V"}},"quality_gates":{"all_points_certified":{"operator":"eq","limit":1.0,"units":"1"},"calibration_factors_unity":{"operator":"eq","limit":1.0,"units":"1"},"contact_thermodynamics_certified":{"operator":"eq","limit":1.0,"units":"1"},"dark_reference_certified":{"operator":"eq","limit":1.0,"units":"1"},"max_continuity_bound_A_m2":{"operator":"le","limit":0.0001,"units":"A m-2"},"max_current_spread_A_m2":{"operator":"le","limit":0.0001,"units":"A m-2"},"max_interface_carrier_balance_A_m2":{"operator":"le","limit":1e-08,"units":"A m-2"},"max_interface_local_residual":{"operator":"le","limit":1e-07,"units":"1"},"max_interface_state_residual_A_m2":{"operator":"le","limit":0.0001,"units":"A m-2"},"max_normalized_cell_residual":{"operator":"le","limit":4e-07,"units":"1"},"max_poisson_residual":{"operator":"le","limit":1e-08,"units":"1"},"occupancy_bounded":{"operator":"eq","limit":1.0,"units":"1"},"rebaseline_acknowledged":{"operator":"eq","limit":1.0,"units":"1"},"trap_electrostatic_charge_enabled":{"operator":"eq","limit":0.0,"units":"1"},"two_sided_topology_active":{"operator":"eq","limit":1.0,"units":"1"},"voc_bracketed":{"operator":"eq","limit":1.0,"units":"1"}},"options":{"config_loader":"scaps","require_protocol":true,"V_max_V":1.2,"voltage_points":25,"base_finite_difference_step":1e-05,"base_newton_residual_tolerance":4e-07,"max_newton_iterations":60,"base_poisson_tolerance_V":1e-12,"poisson_max_iterations":100,"continuity_tolerance_A_m2":0.0001,"current_spread_tolerance_A_m2":0.0001,"poisson_residual_tolerance":1e-08,"interface_qss_residual_tolerance":1e-07},"limitations":["Interface electrostatic trap charge remains parked and must stay disabled in this lane.","This uncalibrated reference deliberately makes no SCAPS-parity claim.","The two-sided trace lane certifies recombination flux convergence only; it makes no charged Gauss-jump claim."]}}, +{"id":"lane-84ef85f524daf74b","kind":"registered_model_driver_protocol_combination","current_path":"perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml","route_id":"route-fc717d86c09ab83e","origin_key":"lane:interface-srh-identifiability-synthetic-v1","source_key":"lanes.interface-srh-identifiability-synthetic-v1","config_id":"config-877a0fa11e2c2506","executor_id":"executor-3ee6181236bb5a2d","scientific_execution":"not_run","evidence_level":"cold_registry_config_hash_and_executor_resolution","registered_contract":{"claim_level":"internal-numerical-candidate","config":"configs/scaps_mirror_v2.yaml","config_sha256":"5500c9485f6a9518430511019546933277cdc3274fd3a005182394f39d2fcf67","executor":"perovskite_sim.validation.identifiability_refinement:run_interface_srh_identifiability_refinement","executor_version":"v1","grid":{"parameter":"carrier_condition_count","values":[5,7,9]},"tolerance":{"parameter":"finite_difference_step_factor","factors":[1.0,0.5,0.25]},"observables":{"full_rank_best_fit_log10":{"comparison":"absolute_linf","limit":0.0001,"units":"log10"},"full_rank_condition_number":{"comparison":"relative_linf","limit":0.02,"units":"1"},"full_rank_normalized_singular_values":{"comparison":"relative_linf","limit":0.02,"units":"1"},"rank_deficient_absolute_nullspace_vector":{"comparison":"absolute_linf","limit":0.0001,"units":"1"},"rank_deficient_normalized_nonzero_singular_values":{"comparison":"relative_linf","limit":0.025,"units":"1"}},"quality_gates":{"all_multistarts_converged":{"operator":"eq","limit":1.0,"units":"1"},"all_profiles_completed":{"operator":"eq","limit":1.0,"units":"1"},"config_anchor_verified":{"operator":"eq","limit":1.0,"units":"1"},"forward_failure_count":{"operator":"eq","limit":0.0,"units":"1"},"full_rank_analysis_certified":{"operator":"eq","limit":1.0,"units":"1"},"full_rank_condition_number":{"operator":"le","limit":10.0,"units":"1"},"full_rank_expected_rank":{"operator":"eq","limit":1.0,"units":"1"},"full_rank_parameters_identifiable":{"operator":"eq","limit":1.0,"units":"1"},"full_rank_truth_error_log10":{"operator":"le","limit":0.0001,"units":"log10"},"full_rank_truth_recovered":{"operator":"eq","limit":1.0,"units":"1"},"rank_deficient_analysis_certified":{"operator":"eq","limit":1.0,"units":"1"},"rank_deficient_capture_calibration_null_sum":{"operator":"le","limit":1e-08,"units":"1"},"rank_deficient_expected_rank":{"operator":"eq","limit":1.0,"units":"1"},"rank_deficient_parameter_claim_absent":{"operator":"eq","limit":1.0,"units":"1"},"rank_deficient_smallest_to_largest_singular_ratio":{"operator":"le","limit":1e-07,"units":"1"},"rank_deficient_trap_null_component":{"operator":"le","limit":1e-08,"units":"1"}},"options":{"base_finite_difference_step_log10":0.001,"calibration_field":"iface_state_calibration_factor","config_loader":"raw_interface_anchor","full_rank_estimated_parameters":["trap_density_cm2","calibration_factor"],"observable_family":"recombination_plus_charge","rank_deficient_estimated_parameters":["trap_density_cm2","capture_cross_section_scale","calibration_factor"],"require_protocol":true,"synthetic_noise_sigma_multiplier":0.0,"target_interface":"PVK/ETL"},"limitations":["This lane certifies only a deterministic, noise-free synthetic formula-local interface-SRH inverse problem; it does not solve a device J-V, TPV, impedance, ion, or electrostatic operating point.","The equilibrium-referenced sheet-charge observable is a research closure, not a production absolute interface-defect charge model, and the source YAML values are formula inputs rather than measured or material-truth claims.","The rank-deficient scenario must withhold a parameter claim for the exact capture-scale/calibration-factor product degeneracy; the full-rank recovery scenario fixes capture scale and estimates only trap density and calibration factor.","InterfaceDefect, het_recomb_despike, mobile ions, measured data, external solver validation, experimental validation, Bayesian inference, and uncertainty quantification remain excluded."]}}, +{"id":"lane-c5f63593f6609839","kind":"registered_model_driver_protocol_combination","current_path":"perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml","route_id":"route-1af17bb46d9794d0","origin_key":"lane:ionmonger-ion-aware-dc-resolved-v2","source_key":"lanes.ionmonger-ion-aware-dc-resolved-v2","config_id":"config-859da6c860403b26","executor_id":"executor-335693d399528f26","scientific_execution":"not_run","evidence_level":"cold_registry_config_hash_and_executor_resolution","registered_contract":{"claim_level":"internal-numerical-candidate","config":"tests/fixtures/configs/ionmonger_benchmark.yaml","config_sha256":"fbc82c9b85d121c459ab08d07d1c7f886eef36f4db669d354b79d260f43c8750","executor":"perovskite_sim.validation.refinement_executors:run_ion_aware_dc_operating_point","executor_version":"v1","grid":{"parameter":"N_grid","values":[60,90,120]},"tolerance":{"parameter":"componentwise_atol_refinement_factor","factors":[1.0,0.1,0.01]},"observables":{"dc_current_density_A_m2":{"comparison":"relative_linf","limit":0.005,"units":"A m-2"},"maximum_site_occupancy_fraction":{"comparison":"relative_linf","limit":0.01,"units":"1"},"positive_ion_centroid_fraction":{"comparison":"absolute_linf","limit":0.002,"units":"1"}},"quality_gates":{"candidate_diagnostics_pass":{"operator":"eq","limit":1.0,"units":"1"},"contact_not_inconsistent":{"operator":"eq","limit":1.0,"units":"1"},"diagnostics_complete":{"operator":"eq","limit":1.0,"units":"1"},"max_carrier_area_rate_A_m2":{"operator":"le","limit":0.1,"units":"A m-2"},"max_dc_face_current_spread_A_m2":{"operator":"le","limit":0.1,"units":"A m-2"},"max_ion_area_rate_A_m2":{"operator":"le","limit":1e-06,"units":"A m-2"},"max_ion_inventory_relative_drift":{"operator":"le","limit":1e-10,"units":"1"},"max_ionic_face_current_A_m2":{"operator":"le","limit":1e-06,"units":"A m-2"},"nonfinite_rhs_evaluations":{"operator":"eq","limit":0.0,"units":"1"},"nonfinite_trial_evaluations":{"operator":"eq","limit":0.0,"units":"1"},"required_consecutive_passes_met":{"operator":"eq","limit":1.0,"units":"1"},"site_occupancy_admissible":{"operator":"eq","limit":1.0,"units":"1"},"terminal_densities_positive":{"operator":"eq","limit":1.0,"units":"1"}},"options":{"config_loader":"standard","require_protocol":true,"V_dc_V":0.9,"illuminated":true,"settle_end_times_s":[0.001,0.01,0.1,1.0,10.0,32.0,64.0,128.0],"required_consecutive_passes":2,"max_carrier_area_rate_A_m2":0.1,"max_ion_area_rate_A_m2":1e-06,"max_ionic_face_current_A_m2":1e-06,"max_dc_face_current_spread_A_m2":0.1,"max_ion_inventory_relative_drift":1e-10,"max_nfev_per_attempt":20000,"rtol":0.0001,"carrier_atol_fraction":1e-12,"ion_atol_fraction":1e-12,"interface_atol_fraction":1e-12,"minimum_atol":1e-06},"limitations":["This resolved lane starts at N60 and does not erase the N30/N60/N90 v1 partial certificate or its 1.55 percent pointwise occupancy-grid discrepancy.","This lane certifies an internal fixed-bias mobile-ion numerical DC state, not the finite-rate J-V history or an external IonMonger curve.","The source deck lacks endpoint effective-DOS data, so contact thermodynamics remains compatible_unverified and the combined physical certificate is false.","Dynamic interface-state blocks remain excluded until their electrostatic charge closure is independently certified."]}}, +{"id":"lane-500d85c643804b4b","kind":"registered_model_driver_protocol_combination","current_path":"perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml","route_id":"route-1af17bb46d9794d0","origin_key":"lane:ionmonger-ion-aware-dc-v1","source_key":"lanes.ionmonger-ion-aware-dc-v1","config_id":"config-859da6c860403b26","executor_id":"executor-335693d399528f26","scientific_execution":"not_run","evidence_level":"cold_registry_config_hash_and_executor_resolution","registered_contract":{"claim_level":"internal-numerical-candidate","config":"tests/fixtures/configs/ionmonger_benchmark.yaml","config_sha256":"fbc82c9b85d121c459ab08d07d1c7f886eef36f4db669d354b79d260f43c8750","executor":"perovskite_sim.validation.refinement_executors:run_ion_aware_dc_operating_point","executor_version":"v1","grid":{"parameter":"N_grid","values":[30,60,90]},"tolerance":{"parameter":"componentwise_atol_refinement_factor","factors":[1.0,0.1,0.01]},"observables":{"dc_current_density_A_m2":{"comparison":"relative_linf","limit":0.005,"units":"A m-2"},"maximum_site_occupancy_fraction":{"comparison":"relative_linf","limit":0.01,"units":"1"},"positive_ion_centroid_fraction":{"comparison":"absolute_linf","limit":0.002,"units":"1"}},"quality_gates":{"candidate_diagnostics_pass":{"operator":"eq","limit":1.0,"units":"1"},"contact_not_inconsistent":{"operator":"eq","limit":1.0,"units":"1"},"diagnostics_complete":{"operator":"eq","limit":1.0,"units":"1"},"max_carrier_area_rate_A_m2":{"operator":"le","limit":0.1,"units":"A m-2"},"max_dc_face_current_spread_A_m2":{"operator":"le","limit":0.1,"units":"A m-2"},"max_ion_area_rate_A_m2":{"operator":"le","limit":1e-06,"units":"A m-2"},"max_ion_inventory_relative_drift":{"operator":"le","limit":1e-10,"units":"1"},"max_ionic_face_current_A_m2":{"operator":"le","limit":1e-06,"units":"A m-2"},"nonfinite_rhs_evaluations":{"operator":"eq","limit":0.0,"units":"1"},"nonfinite_trial_evaluations":{"operator":"eq","limit":0.0,"units":"1"},"required_consecutive_passes_met":{"operator":"eq","limit":1.0,"units":"1"},"site_occupancy_admissible":{"operator":"eq","limit":1.0,"units":"1"},"terminal_densities_positive":{"operator":"eq","limit":1.0,"units":"1"}},"options":{"config_loader":"standard","require_protocol":true,"V_dc_V":0.9,"illuminated":true,"settle_end_times_s":[0.001,0.01,0.1,1.0,10.0,32.0,64.0,128.0],"required_consecutive_passes":2,"max_carrier_area_rate_A_m2":0.1,"max_ion_area_rate_A_m2":1e-06,"max_ionic_face_current_A_m2":1e-06,"max_dc_face_current_spread_A_m2":0.1,"max_ion_inventory_relative_drift":1e-10,"max_nfev_per_attempt":20000,"rtol":0.0001,"carrier_atol_fraction":1e-12,"ion_atol_fraction":1e-12,"interface_atol_fraction":1e-12,"minimum_atol":1e-06},"limitations":["This lane certifies an internal fixed-bias mobile-ion numerical DC state, not the finite-rate J-V history or an external IonMonger curve.","The source deck lacks endpoint effective-DOS data, so contact thermodynamics remains compatible_unverified and the combined physical certificate is false.","Dynamic interface-state blocks remain excluded until their electrostatic charge closure is independently certified."]}}, +{"id":"lane-b59b8f0f474425b0","kind":"registered_model_driver_protocol_combination","current_path":"perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml","route_id":"route-1af17bb46d9794d0","origin_key":"lane:ionmonger-ion-aware-impedance-resolved-v1","source_key":"lanes.ionmonger-ion-aware-impedance-resolved-v1","config_id":"config-859da6c860403b26","executor_id":"executor-8a2224a08c58825a","scientific_execution":"not_run","evidence_level":"cold_registry_config_hash_and_executor_resolution","registered_contract":{"claim_level":"internal-numerical-candidate","config":"tests/fixtures/configs/ionmonger_benchmark.yaml","config_sha256":"fbc82c9b85d121c459ab08d07d1c7f886eef36f4db669d354b79d260f43c8750","executor":"perovskite_sim.validation.refinement_executors:run_ion_aware_impedance_frequency_domain","executor_version":"v1","grid":{"parameter":"N_grid","values":[60,90,120]},"tolerance":{"parameter":"finite_difference_step_factor","factors":[1.0,0.5,0.25]},"observables":{"impedance_magnitude_ohm_m2":{"comparison":"pointwise_relative_linf","limit":0.02,"units":"ohm m2"},"impedance_phase_deg":{"comparison":"absolute_linf","limit":1.0,"units":"deg"}},"quality_gates":{"all_frequency_points_certified":{"operator":"eq","limit":1.0,"units":"1"},"contact_not_inconsistent":{"operator":"eq","limit":1.0,"units":"1"},"dc_numerically_certified":{"operator":"eq","limit":1.0,"units":"1"},"frequency_window_certified":{"operator":"eq","limit":1.0,"units":"1"},"impedance_numerically_certified":{"operator":"eq","limit":1.0,"units":"1"},"max_backward_error":{"operator":"le","limit":1e-10,"units":"1"},"max_current_decomposition_relative_error":{"operator":"le","limit":1e-07,"units":"1"},"max_dc_ion_inventory_relative_drift":{"operator":"le","limit":1e-10,"units":"1"},"max_frequency_sampling_gap_decades":{"operator":"le","limit":0.5,"units":"1"},"max_ion_inventory_response_relative":{"operator":"le","limit":1e-08,"units":"1"},"max_mass_matrix_relative_error":{"operator":"le","limit":1e-08,"units":"1"},"max_relative_face_spread":{"operator":"le","limit":0.0005,"units":"1"},"site_occupancy_admissible":{"operator":"eq","limit":1.0,"units":"1"}},"options":{"config_loader":"standard","require_protocol":true,"V_dc_V":0.9,"illuminated":true,"settle_end_times_s":[0.001,0.01,0.1,1.0,10.0,32.0,64.0,128.0],"required_consecutive_passes":2,"max_carrier_area_rate_A_m2":0.1,"max_ion_area_rate_A_m2":1e-06,"max_ionic_face_current_A_m2":1e-06,"max_dc_face_current_spread_A_m2":0.1,"max_dc_ion_inventory_relative_drift":1e-10,"max_nfev_per_attempt":20000,"dc_rtol":0.0001,"carrier_atol_fraction":1e-12,"ion_atol_fraction":1e-12,"interface_atol_fraction":1e-12,"minimum_atol":1e-06,"frequency_min_Hz":1e-06,"frequency_max_Hz":10.0,"frequency_count":29,"frequency_spacing":"logspace","delta_V":0.01,"base_state_step":1e-05,"base_voltage_step":1e-05,"internal_refinement_factors":[1.0,0.5,0.25],"max_relative_face_spread":0.0005,"max_backward_error":1e-10,"max_impedance_magnitude_relative_change":0.01,"max_impedance_phase_change_deg":0.5,"max_mass_matrix_relative_error":1e-08,"max_ion_inventory_response_relative":1e-08,"max_current_decomposition_relative_error":1e-07,"frequency_branch_margin_decades":1.0,"max_frequency_sampling_gap_decades":0.5},"limitations":["This lane certifies internal ion-aware frequency-domain grid and finite-difference convergence, not an external impedance spectrum.","The source deck lacks endpoint effective-DOS data, so contact thermodynamics remains compatible_unverified even when numerical and frequency-window axes pass.","Dynamic interface-state blocks and transient lock-in agreement remain separate, fail-closed deliverables."]}}, +{"id":"lane-077aabd76066b531","kind":"registered_model_driver_protocol_combination","current_path":"perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml","route_id":"route-1af17bb46d9794d0","origin_key":"lane:ionmonger-mobile-ion-transient","source_key":"lanes.ionmonger-mobile-ion-transient","config_id":"config-859da6c860403b26","executor_id":"executor-b708406c0c69eac5","scientific_execution":"not_run","evidence_level":"cold_registry_config_hash_and_executor_resolution","registered_contract":{"claim_level":"internal-numerical-candidate","config":"tests/fixtures/configs/ionmonger_benchmark.yaml","config_sha256":"fbc82c9b85d121c459ab08d07d1c7f886eef36f4db669d354b79d260f43c8750","executor":"perovskite_sim.validation.refinement_executors:run_mobile_ion_transient_jv","executor_version":"v1","grid":{"parameter":"N_grid","values":[30,60,90]},"tolerance":{"parameter":"componentwise_atol_refinement_factor","factors":[1.0,0.1,0.01]},"observables":{"voc_reverse_V":{"comparison":"absolute_linf","limit":0.001,"units":"V"},"hysteresis_index":{"comparison":"absolute_linf","limit":0.005,"units":"1"},"terminal_current_normalized_trace":{"comparison":"absolute_linf","limit":0.005,"units":"1"},"positive_ion_inventory_relative_trace":{"comparison":"absolute_linf","limit":1e-10,"units":"1"}},"quality_gates":{"bulk_srh_denominator_positive":{"operator":"eq","limit":1.0,"units":"1"},"diagnostics_complete":{"operator":"eq","limit":1.0,"units":"1"},"interface_srh_denominator_positive":{"operator":"eq","limit":1.0,"units":"1"},"jv_certified":{"operator":"eq","limit":1.0,"units":"1"},"voc_bracketed":{"operator":"eq","limit":1.0,"units":"1"},"max_positive_ion_inventory_relative_drift":{"operator":"le","limit":1e-10,"units":"1"},"nonfinite_rhs_evaluations":{"operator":"eq","limit":0.0,"units":"1"},"nonfinite_trial_evaluations":{"operator":"eq","limit":0.0,"units":"1"},"terminal_densities_positive":{"operator":"eq","limit":1.0,"units":"1"},"zero_floor_diagnostics_pass":{"operator":"eq","limit":1.0,"units":"1"}},"options":{"config_loader":"standard","require_protocol":true,"V_max_V":1.5,"voltage_points":20,"scan_rate_V_s":5.0,"rtol":0.0001,"carrier_atol_fraction":1e-12,"ion_atol_fraction":1e-12,"interface_atol_fraction":1e-12,"minimum_atol":1e-06},"limitations":["This lane certifies the registered local scan protocol, not the Courtier publication protocol.","Positive-ion inventory is available in snapshots; dual-ion inventory requires a future snapshot schema extension."]}}, +{"id":"lane-f7e0f3e0963801d8","kind":"registered_model_driver_protocol_combination","current_path":"perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml","route_id":"route-7ae47088bbed9ed7","origin_key":"lane:multivalent-explicit-defect-qf-dc-v1","source_key":"lanes.multivalent-explicit-defect-qf-dc-v1","config_id":"config-a0a2d66216edf81e","executor_id":"executor-ff99a2bf3e80c9a9","scientific_execution":"not_run","evidence_level":"cold_registry_config_hash_and_executor_resolution","registered_contract":{"claim_level":"internal-numerical-candidate","config":"tests/fixtures/configs/scaps_defect_m1_double_donor_p.yaml","config_sha256":"43516a15f6ceeb6ba5fb4381c789e1c073ead4b101081d583da60c4bf9407290","executor":"perovskite_sim.validation.multivalent_defect_refinement:run_multivalent_defect_qf_dc_refinement","executor_version":"v1","grid":{"parameter":"intervals_per_electrical_layer","values":[24,48,96]},"tolerance":{"parameter":"qf_dc_residual_tolerance_factor","factors":[1.0,0.1,0.01]},"limitations":["Internal numerical convergence only; no SCAPS charge-state export is compared.","Uniform-layer stationary multivalent bulk defects; graded, metastable, dynamic, AC and mobile-ion routes are refused by the solver rather than certified here."],"observables":{"m1_integrated_defect_charge_C_m2":{"comparison":"relative_linf","limit":0.001,"units":"C m-2"},"m1_neutral_state_probability_profile":{"comparison":"absolute_linf","limit":0.0005,"units":"1"},"m1_normalized_charge_profile":{"comparison":"absolute_linf","limit":0.0005,"units":"1"},"m2_integrated_defect_charge_C_m2":{"comparison":"relative_linf","limit":0.001,"units":"C m-2"},"m2_neutral_state_probability_profile":{"comparison":"absolute_linf","limit":0.0005,"units":"1"},"m2_normalized_charge_profile":{"comparison":"absolute_linf","limit":0.0005,"units":"1"},"m3_integrated_defect_charge_C_m2":{"comparison":"relative_linf","limit":0.005,"units":"C m-2"},"m3_neutral_state_probability_profile":{"comparison":"absolute_linf","limit":0.0005,"units":"1"},"m3_normalized_charge_profile":{"comparison":"absolute_linf","limit":0.0005,"units":"1"},"pn_dark_electron_log10_profile":{"comparison":"absolute_linf","limit":0.005,"units":"log10(m-3)"},"pn_dark_hole_log10_profile":{"comparison":"absolute_linf","limit":0.005,"units":"log10(m-3)"},"pn_dark_potential_V":{"comparison":"absolute_linf","limit":0.0005,"units":"V"},"pn_ff":{"comparison":"relative_linf","limit":0.005,"units":"1"},"pn_jsc_A_m2":{"comparison":"relative_linf","limit":0.002,"units":"A m-2"},"pn_jv_current_A_m2":{"comparison":"relative_linf","limit":0.005,"units":"A m-2"},"pn_voc_V":{"comparison":"absolute_linf","limit":0.001,"units":"V"}},"options":{"base_finite_difference_step":1e-05,"base_newton_residual_tolerance":1e-08,"base_poisson_tolerance_V":1e-10,"config_loader":"scaps_multivalent_defect_suite_v1","continuity_tolerance_A_m2":0.0002,"current_spread_tolerance_A_m2":0.0002,"grid_alpha":2.0,"illumination_steps":[0.0,0.0001,0.01,1.0],"profile_points":17,"require_protocol":true,"suite_manifest":"reproducibility/ScapsMultivalentDefectSuite.json","suite_manifest_sha256":"031868a4c3709c280de1e64e88780c8defac6789687e625c5d479ee716291986","voltage_grid_V":[0.0,0.05,0.1,0.15,0.2,0.25,0.3]},"quality_gates":{"all_states_certified":{"operator":"eq","limit":1.0,"units":"1"},"charge_signs_verified":{"operator":"eq","limit":1.0,"units":"1"},"contact_thermodynamics_certified":{"operator":"eq","limit":1.0,"units":"1"},"default_multivalent_path_rejected":{"operator":"eq","limit":1.0,"units":"1"},"max_continuity_bound_A_m2":{"operator":"le","limit":0.0002,"units":"A m-2"},"max_current_spread_A_m2":{"operator":"le","limit":0.0002,"units":"A m-2"},"max_dark_current_A_m2":{"operator":"le","limit":1e-08,"units":"A m-2"},"max_dark_qf_span_V":{"operator":"le","limit":1e-10,"units":"V"},"max_mass_action_relative_error":{"operator":"le","limit":1e-10,"units":"1"},"max_master_equation_residual_s1":{"operator":"le","limit":1e-06,"units":"s-1"},"max_normalized_cell_residual":{"operator":"le","limit":1e-07,"units":"1"},"max_owned_probability_sum_error":{"operator":"le","limit":1e-12,"units":"1"},"max_poisson_residual":{"operator":"le","limit":1e-08,"units":"1"},"min_transition_rate_s1":{"operator":"ge","limit":0.0,"units":"s-1"},"multivalent_model_hashes_verified":{"operator":"eq","limit":1.0,"units":"1"},"multivalent_topology_verified":{"operator":"eq","limit":1.0,"units":"1"},"probability_bounded_without_clipping":{"operator":"eq","limit":1.0,"units":"1"},"scenario_count":{"operator":"eq","limit":3.0,"units":"1"},"single_transition_d2_potential_error_V":{"operator":"le","limit":1e-09,"units":"V"},"single_transition_d2_state_relative_error":{"operator":"le","limit":1e-08,"units":"1"},"terminal_densities_positive":{"operator":"eq","limit":1.0,"units":"1"},"voc_bracketed":{"operator":"eq","limit":1.0,"units":"1"},"voltage_points_completed":{"operator":"eq","limit":7.0,"units":"1"}}}}, +{"id":"lane-d78898d8e12e7813","kind":"registered_model_driver_protocol_combination","current_path":"perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml","route_id":"route-1af17bb46d9794d0","origin_key":"lane:no-ion-dae-transient-v1","source_key":"lanes.no-ion-dae-transient-v1","config_id":"config-cad7c517167453b3","executor_id":"executor-13431ab6bfabe2a7","scientific_execution":"not_run","evidence_level":"cold_registry_config_hash_and_executor_resolution","registered_contract":{"claim_level":"internal-numerical-candidate","config":"tests/fixtures/configs/csi_vannijen2025_pn_cv.yaml","config_sha256":"eb4806e7167c258bd6fb5e47fe02ebadc92e8963055c06a73a5775a20178f5ad","executor":"perovskite_sim.validation.dae_refinement:run_no_ion_dae_transient","executor_version":"v1","grid":{"parameter":"single_layer_intervals","values":[8,16,32]},"tolerance":{"parameter":"backward_euler_time_step_factor","factors":[1.0,0.5,0.25]},"observables":{"terminal_carrier_inventory_response":{"comparison":"absolute_linf","limit":0.04,"units":"1"},"terminal_log_density_error":{"comparison":"absolute_linf","limit":0.00011,"units":"1"},"terminal_potential_error_V":{"comparison":"absolute_linf","limit":5e-13,"units":"V"},"structured_dense_terminal_log_density_difference":{"comparison":"absolute_linf","limit":1e-10,"units":"1"},"structured_dense_terminal_potential_difference_V":{"comparison":"absolute_linf","limit":1e-12,"units":"V"}},"quality_gates":{"bulk_srh_denominator_positive":{"operator":"eq","limit":1.0,"units":"1"},"consistent_initial_condition_certified":{"operator":"eq","limit":1.0,"units":"1"},"dense_reference_success":{"operator":"eq","limit":1.0,"units":"1"},"first_slice_topology_verified":{"operator":"eq","limit":1.0,"units":"1"},"max_electron_balance_defect_A_m2":{"operator":"le","limit":2e-08,"units":"A m-2"},"max_hole_balance_defect_A_m2":{"operator":"le","limit":2e-08,"units":"A m-2"},"max_normalized_algebraic_residual":{"operator":"le","limit":1e-09,"units":"1"},"max_normalized_differential_residual":{"operator":"le","limit":1e-09,"units":"1"},"max_structured_dense_log_density_difference":{"operator":"le","limit":1e-10,"units":"1"},"max_structured_dense_potential_difference_V":{"operator":"le","limit":1e-12,"units":"V"},"max_terminal_log_density_error":{"operator":"le","limit":0.0005,"units":"1"},"max_terminal_potential_error_V":{"operator":"le","limit":1e-10,"units":"V"},"mol_numerical_health_passed":{"operator":"eq","limit":1.0,"units":"1"},"mol_reference_success":{"operator":"eq","limit":1.0,"units":"1"},"structured_analytic_success":{"operator":"eq","limit":1.0,"units":"1"},"structured_csr_nonzeros_per_node":{"operator":"le","limit":20.0,"units":"1"},"structured_jacobian_condition_finite":{"operator":"eq","limit":1.0,"units":"1"},"structured_rhs_work_fraction":{"operator":"le","limit":0.1,"units":"1"},"terminal_densities_positive":{"operator":"eq","limit":1.0,"units":"1"}},"options":{"config_loader":"standard","require_protocol":true,"source_layer_index":1,"source_layer_name":"n_base","alpha_m1":"2.0e4","photon_flux_m2_s":"1.0e17","final_time_s":1e-09,"reference_time_s":1e-09,"base_time_steps":8,"reference_grid_intervals":8,"newton_residual_tolerance":1e-09,"max_newton_iterations":16,"max_line_search_backtracks":12,"max_log_density_update":2.0,"finite_difference_relative_step":1e-06,"mol_rtol":1e-10,"mol_atol_m3":0.001,"mol_max_step_divisor":100},"limitations":["This lane certifies only the illuminated single-layer ohmic no-ion/no-interface research DAE slice extracted from the c-Si configuration.","Dense-central and structured-analytic backward Euler are compared to the same high-accuracy eliminated-Poisson MoL trajectory; this is internal numerical equivalence, not external device validation.","Selective contacts, InterfaceDefect, cross-node interface sampling, mobile ions, algebraic interface states, experiment routes, and backend routes remain excluded."]}}, +{"id":"lane-5547d9e78904e730","kind":"registered_model_driver_protocol_combination","current_path":"perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml","route_id":"route-1af17bb46d9794d0","origin_key":"lane:scaps-mirror-frozen-ion-ss","source_key":"lanes.scaps-mirror-frozen-ion-ss","config_id":"config-f6eea890796f5eb0","executor_id":"executor-f42ad925133ecfff","scientific_execution":"not_run","evidence_level":"cold_registry_config_hash_and_executor_resolution","registered_contract":{"claim_level":"internal-numerical-candidate","config":"tests/fixtures/configs/scaps_mirror.yaml","config_sha256":"7ad4968d9c8249b76ca4e649d41c39e26727f6818cb81a15fe75f6b74b11b881","executor":"perovskite_sim.validation.refinement_executors:run_frozen_ion_steady_jv","executor_version":"v2","grid":{"parameter":"N_grid","values":[30,60,90]},"tolerance":{"parameter":"steady_residual_tolerance_factor","factors":[1.0,0.1,0.01]},"observables":{"voc_V":{"comparison":"absolute_linf","limit":0.001,"units":"V"},"jsc_A_m2":{"comparison":"relative_linf","limit":0.002,"units":"A m-2"},"ff":{"comparison":"relative_linf","limit":0.005,"units":"1"},"pce_percent":{"comparison":"relative_linf","limit":0.005,"units":"%"},"jv_normalized":{"comparison":"absolute_linf","limit":0.005,"units":"1"}},"quality_gates":{"all_points_residual_converged":{"operator":"eq","limit":1.0,"units":"1"},"max_residual_per_s":{"operator":"le","limit":0.5,"units":"s-1"},"max_continuity_bound_A_m2":{"operator":"le","limit":0.1,"units":"A m-2"},"max_current_spread_A_m2":{"operator":"le","limit":0.01,"units":"A m-2"},"voc_bracketed":{"operator":"eq","limit":1.0,"units":"1"}},"options":{"config_loader":"scaps","require_protocol":true,"V_max_V":1.5,"voltage_points":31,"illuminated":true,"interface_states":false,"base_residual_tolerance_per_s":1e-06,"base_log_step_tolerance":1e-08,"base_stall_tolerance_per_s":0.5,"max_continuity_current_error_A_m2":0.1},"limitations":["This lane certifies internal frozen-ion carrier steady states, not SCAPS parity.","The initial transient is a Newton seed and is not itself a steady-state certificate."]}}, +{"id":"lane-0350f1d065d6fedc","kind":"registered_model_driver_protocol_combination","current_path":"perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml","route_id":"route-1af17bb46d9794d0","origin_key":"lane:single-ion-algebraic-interface-dae-transient-resolved-v2","source_key":"lanes.single-ion-algebraic-interface-dae-transient-resolved-v2","config_id":"config-3cc522bdc594b20e","executor_id":"executor-489eba518576c628","scientific_execution":"not_run","evidence_level":"cold_registry_config_hash_and_executor_resolution","registered_contract":{"claim_level":"internal-numerical-candidate","config":"tests/fixtures/configs/interface_charge_research.yaml","config_sha256":"523449448807e4993f999300308096003c3eeaf280924b7af208915a3cf41a54","executor":"perovskite_sim.validation.dae_ion_interface_refinement:run_single_ion_algebraic_interface_dae_transient","executor_version":"v2","grid":{"parameter":"intervals_per_electrical_layer","values":[4,8,16]},"tolerance":{"parameter":"backward_euler_time_step_factor","factors":[1.0,0.5,0.25]},"observables":{"structured_dense_terminal_interface_state_relative_difference":{"comparison":"absolute_linf","limit":1e-09,"units":"1"},"structured_dense_terminal_log_density_difference":{"comparison":"absolute_linf","limit":1e-09,"units":"1"},"structured_dense_terminal_positive_ion_relative_difference":{"comparison":"absolute_linf","limit":1e-10,"units":"1"},"structured_dense_terminal_potential_difference_V":{"comparison":"absolute_linf","limit":1e-11,"units":"V"},"terminal_interface_state_relative_error":{"comparison":"absolute_linf","limit":5e-07,"units":"1"},"terminal_interface_occupation":{"comparison":"pointwise_relative_linf","limit":0.03,"units":"1"},"terminal_log_density_error":{"comparison":"absolute_linf","limit":5e-07,"units":"1"},"terminal_positive_ion_relative_error":{"comparison":"absolute_linf","limit":3e-06,"units":"1"},"terminal_potential_error_V":{"comparison":"absolute_linf","limit":5e-09,"units":"V"}},"quality_gates":{"bulk_srh_denominator_positive":{"operator":"eq","limit":1.0,"units":"1"},"clamp_inactive_slice_verified":{"operator":"eq","limit":1.0,"units":"1"},"combined_ion_interface_topology_verified":{"operator":"eq","limit":1.0,"units":"1"},"consistent_initial_condition_certified":{"operator":"eq","limit":1.0,"units":"1"},"dense_reference_success":{"operator":"eq","limit":1.0,"units":"1"},"max_electron_balance_defect_A_m2":{"operator":"le","limit":2e-08,"units":"A m-2"},"max_hole_balance_defect_A_m2":{"operator":"le","limit":2e-08,"units":"A m-2"},"max_interface_state_balance_A_m2":{"operator":"le","limit":2e-08,"units":"A m-2"},"max_normalized_algebraic_residual":{"operator":"le","limit":2e-08,"units":"1"},"max_normalized_carrier_residual":{"operator":"le","limit":5e-08,"units":"1"},"max_normalized_interface_residual":{"operator":"le","limit":2e-08,"units":"1"},"max_normalized_positive_ion_residual":{"operator":"le","limit":2e-08,"units":"1"},"max_positive_ion_balance_relative":{"operator":"le","limit":1e-12,"units":"1"},"max_positive_ion_inventory_relative_drift":{"operator":"le","limit":1e-12,"units":"1"},"max_positive_ion_rhs_inventory_relative":{"operator":"le","limit":1e-12,"units":"1"},"max_structured_dense_interface_state_relative_difference":{"operator":"le","limit":1e-09,"units":"1"},"max_structured_dense_log_density_difference":{"operator":"le","limit":1e-09,"units":"1"},"max_structured_dense_positive_ion_relative_difference":{"operator":"le","limit":1e-10,"units":"1"},"max_structured_dense_potential_difference_V":{"operator":"le","limit":1e-11,"units":"V"},"max_terminal_interface_state_relative_error":{"operator":"le","limit":5e-07,"units":"1"},"max_terminal_log_density_error":{"operator":"le","limit":5e-07,"units":"1"},"max_terminal_positive_ion_relative_error":{"operator":"le","limit":1e-05,"units":"1"},"max_terminal_potential_error_V":{"operator":"le","limit":5e-09,"units":"V"},"minimum_interface_state_relative_motion":{"operator":"ge","limit":0.001,"units":"1"},"minimum_positive_ion_relative_motion":{"operator":"ge","limit":1e-06,"units":"1"},"mol_numerical_health_passed":{"operator":"eq","limit":1.0,"units":"1"},"mol_reference_success":{"operator":"eq","limit":1.0,"units":"1"},"site_occupancy_admissible":{"operator":"eq","limit":1.0,"units":"1"},"structured_analytic_success":{"operator":"eq","limit":1.0,"units":"1"},"structured_csr_nonzeros_per_node":{"operator":"le","limit":27.0,"units":"1"},"structured_jacobian_condition_finite":{"operator":"eq","limit":1.0,"units":"1"},"structured_rhs_work_fraction":{"operator":"le","limit":0.1,"units":"1"},"terminal_densities_positive":{"operator":"eq","limit":1.0,"units":"1"},"terminal_interface_states_bounded":{"operator":"eq","limit":1.0,"units":"1"}},"options":{"config_loader":"standard","require_protocol":true,"applied_voltage_V":0.01,"final_time_s":0.01,"carrier_reference_time_s":1e-07,"ion_reference_time_s":1.0,"positive_ion_diffusion_m2_s":1e-16,"positive_ion_reference_m3":1e+22,"positive_ion_site_limit_m3":1e+24,"interface_velocity_m_s":"1.0e5","cross_transmission":1.0,"base_time_steps":2,"reference_grid_intervals_per_layer":4,"newton_residual_tolerance":5e-08,"max_newton_iterations":24,"max_line_search_backtracks":12,"max_log_density_update":2.0,"max_ion_logit_update":2.0,"max_interface_logit_update":2.0,"finite_difference_relative_step":1e-06,"mol_rtol":1e-10,"mol_atol_m3":"1.0e2","mol_max_step_divisor":400},"limitations":["This lane certifies only a dark 10 mV, two-layer ohmic research slice with one synthetic positive mobile ion, blocking ion boundaries, one uncharged algebraic interface, and four DOS-bounded Fermi-Richardson states.","The positive-ion diffusion, reference density, and site limit are explicit synthetic protocol inputs injected into both electrical layers; they are not material parameters attributed to the source interface-charge configuration.","The 5e-8 carrier residual gate accounts for the measured float64 physical-rate subtraction floor on the 33-node grid; ion, interface, and algebraic residual gates remain 2e-8.","InterfaceDefect, configurable cross-node sampling, dynamic or charged interface states, dual ions, selective contacts, two-sided trace geometry, field mobility, photon recycling, experiments, and backend routes remain excluded.","The eliminated-interface-state MoL comparison and dense-versus-structured agreement are internal numerical evidence, not external solver validation, experimental validation, SCAPS parity, or a general ion/interface physics certificate."]}}, +{"id":"lane-1816209e76bb9ac0","kind":"registered_model_driver_protocol_combination","current_path":"perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml","route_id":"route-1af17bb46d9794d0","origin_key":"lane:single-ion-algebraic-interface-dae-transient-v1","source_key":"lanes.single-ion-algebraic-interface-dae-transient-v1","config_id":"config-3cc522bdc594b20e","executor_id":"executor-489eba518576c628","scientific_execution":"not_run","evidence_level":"cold_registry_config_hash_and_executor_resolution","registered_contract":{"claim_level":"internal-numerical-candidate","config":"tests/fixtures/configs/interface_charge_research.yaml","config_sha256":"523449448807e4993f999300308096003c3eeaf280924b7af208915a3cf41a54","executor":"perovskite_sim.validation.dae_ion_interface_refinement:run_single_ion_algebraic_interface_dae_transient","executor_version":"v1","grid":{"parameter":"intervals_per_electrical_layer","values":[4,8,16]},"tolerance":{"parameter":"backward_euler_time_step_factor","factors":[1.0,0.5,0.25]},"observables":{"structured_dense_terminal_interface_state_relative_difference":{"comparison":"absolute_linf","limit":1e-09,"units":"1"},"structured_dense_terminal_log_density_difference":{"comparison":"absolute_linf","limit":1e-09,"units":"1"},"structured_dense_terminal_positive_ion_relative_difference":{"comparison":"absolute_linf","limit":1e-10,"units":"1"},"structured_dense_terminal_potential_difference_V":{"comparison":"absolute_linf","limit":1e-11,"units":"V"},"terminal_interface_state_relative_error":{"comparison":"absolute_linf","limit":5e-07,"units":"1"},"terminal_interface_occupation":{"comparison":"pointwise_relative_linf","limit":0.03,"units":"1"},"terminal_log_density_error":{"comparison":"absolute_linf","limit":5e-07,"units":"1"},"terminal_positive_ion_relative_error":{"comparison":"absolute_linf","limit":1e-06,"units":"1"},"terminal_potential_error_V":{"comparison":"absolute_linf","limit":5e-09,"units":"V"}},"quality_gates":{"bulk_srh_denominator_positive":{"operator":"eq","limit":1.0,"units":"1"},"clamp_inactive_slice_verified":{"operator":"eq","limit":1.0,"units":"1"},"combined_ion_interface_topology_verified":{"operator":"eq","limit":1.0,"units":"1"},"consistent_initial_condition_certified":{"operator":"eq","limit":1.0,"units":"1"},"dense_reference_success":{"operator":"eq","limit":1.0,"units":"1"},"max_electron_balance_defect_A_m2":{"operator":"le","limit":2e-08,"units":"A m-2"},"max_hole_balance_defect_A_m2":{"operator":"le","limit":2e-08,"units":"A m-2"},"max_interface_state_balance_A_m2":{"operator":"le","limit":2e-08,"units":"A m-2"},"max_normalized_algebraic_residual":{"operator":"le","limit":2e-08,"units":"1"},"max_normalized_carrier_residual":{"operator":"le","limit":2e-08,"units":"1"},"max_normalized_interface_residual":{"operator":"le","limit":2e-08,"units":"1"},"max_normalized_positive_ion_residual":{"operator":"le","limit":2e-08,"units":"1"},"max_positive_ion_balance_relative":{"operator":"le","limit":1e-12,"units":"1"},"max_positive_ion_inventory_relative_drift":{"operator":"le","limit":1e-12,"units":"1"},"max_positive_ion_rhs_inventory_relative":{"operator":"le","limit":1e-12,"units":"1"},"max_structured_dense_interface_state_relative_difference":{"operator":"le","limit":1e-09,"units":"1"},"max_structured_dense_log_density_difference":{"operator":"le","limit":1e-09,"units":"1"},"max_structured_dense_positive_ion_relative_difference":{"operator":"le","limit":1e-10,"units":"1"},"max_structured_dense_potential_difference_V":{"operator":"le","limit":1e-11,"units":"V"},"max_terminal_interface_state_relative_error":{"operator":"le","limit":5e-07,"units":"1"},"max_terminal_log_density_error":{"operator":"le","limit":5e-07,"units":"1"},"max_terminal_positive_ion_relative_error":{"operator":"le","limit":1e-06,"units":"1"},"max_terminal_potential_error_V":{"operator":"le","limit":5e-09,"units":"V"},"minimum_interface_state_relative_motion":{"operator":"ge","limit":0.001,"units":"1"},"minimum_positive_ion_relative_motion":{"operator":"ge","limit":1e-06,"units":"1"},"mol_numerical_health_passed":{"operator":"eq","limit":1.0,"units":"1"},"mol_reference_success":{"operator":"eq","limit":1.0,"units":"1"},"site_occupancy_admissible":{"operator":"eq","limit":1.0,"units":"1"},"structured_analytic_success":{"operator":"eq","limit":1.0,"units":"1"},"structured_csr_nonzeros_per_node":{"operator":"le","limit":27.0,"units":"1"},"structured_jacobian_condition_finite":{"operator":"eq","limit":1.0,"units":"1"},"structured_rhs_work_fraction":{"operator":"le","limit":0.1,"units":"1"},"terminal_densities_positive":{"operator":"eq","limit":1.0,"units":"1"},"terminal_interface_states_bounded":{"operator":"eq","limit":1.0,"units":"1"}},"options":{"config_loader":"standard","require_protocol":true,"applied_voltage_V":0.01,"final_time_s":0.01,"carrier_reference_time_s":1e-07,"ion_reference_time_s":1.0,"positive_ion_diffusion_m2_s":1e-16,"positive_ion_reference_m3":1e+22,"positive_ion_site_limit_m3":1e+24,"interface_velocity_m_s":"1.0e5","cross_transmission":1.0,"base_time_steps":2,"reference_grid_intervals_per_layer":4,"newton_residual_tolerance":1e-08,"max_newton_iterations":24,"max_line_search_backtracks":12,"max_log_density_update":2.0,"max_ion_logit_update":2.0,"max_interface_logit_update":2.0,"finite_difference_relative_step":1e-06,"mol_rtol":1e-10,"mol_atol_m3":"1.0e2","mol_max_step_divisor":400},"limitations":["This lane certifies only a dark 10 mV, two-layer ohmic research slice with one synthetic positive mobile ion, blocking ion boundaries, one uncharged algebraic interface, and four DOS-bounded Fermi-Richardson states.","The positive-ion diffusion, reference density, and site limit are explicit synthetic protocol inputs injected into both electrical layers; they are not material parameters attributed to the source interface-charge configuration.","InterfaceDefect, configurable cross-node sampling, dynamic or charged interface states, dual ions, selective contacts, two-sided trace geometry, field mobility, photon recycling, experiments, and backend routes remain excluded.","The eliminated-interface-state MoL comparison and dense-versus-structured agreement are internal numerical evidence, not external solver validation, experimental validation, SCAPS parity, or a general ion/interface physics certificate."]}}, +{"id":"lane-db596cd22f67423d","kind":"registered_model_driver_protocol_combination","current_path":"perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml","route_id":"route-1af17bb46d9794d0","origin_key":"lane:single-positive-ion-dae-transient-v1","source_key":"lanes.single-positive-ion-dae-transient-v1","config_id":"config-859da6c860403b26","executor_id":"executor-04d382b2476a9e0d","scientific_execution":"not_run","evidence_level":"cold_registry_config_hash_and_executor_resolution","registered_contract":{"claim_level":"internal-numerical-candidate","config":"tests/fixtures/configs/ionmonger_benchmark.yaml","config_sha256":"fbc82c9b85d121c459ab08d07d1c7f886eef36f4db669d354b79d260f43c8750","executor":"perovskite_sim.validation.dae_ion_refinement:run_single_ion_dae_transient","executor_version":"v1","grid":{"parameter":"single_layer_intervals","values":[8,16,32]},"tolerance":{"parameter":"backward_euler_time_step_factor","factors":[1.0,0.5,0.25]},"observables":{"structured_dense_terminal_log_density_difference":{"comparison":"absolute_linf","limit":1e-10,"units":"1"},"structured_dense_terminal_positive_ion_relative_difference":{"comparison":"absolute_linf","limit":1e-12,"units":"1"},"structured_dense_terminal_potential_difference_V":{"comparison":"absolute_linf","limit":1e-12,"units":"V"},"terminal_log_density_error":{"comparison":"absolute_linf","limit":1e-08,"units":"1"},"terminal_positive_ion_relative_error":{"comparison":"absolute_linf","limit":1.1e-10,"units":"1"},"terminal_potential_error_V":{"comparison":"absolute_linf","limit":5e-10,"units":"V"}},"quality_gates":{"bulk_srh_denominator_positive":{"operator":"eq","limit":1.0,"units":"1"},"consistent_initial_condition_certified":{"operator":"eq","limit":1.0,"units":"1"},"dense_reference_success":{"operator":"eq","limit":1.0,"units":"1"},"max_electron_balance_defect_A_m2":{"operator":"le","limit":2e-08,"units":"A m-2"},"max_hole_balance_defect_A_m2":{"operator":"le","limit":2e-08,"units":"A m-2"},"max_normalized_algebraic_residual":{"operator":"le","limit":1e-09,"units":"1"},"max_normalized_carrier_residual":{"operator":"le","limit":1e-09,"units":"1"},"max_normalized_positive_ion_residual":{"operator":"le","limit":1e-09,"units":"1"},"max_positive_ion_balance_relative":{"operator":"le","limit":1e-12,"units":"1"},"max_positive_ion_inventory_relative_drift":{"operator":"le","limit":1e-12,"units":"1"},"max_positive_ion_rhs_inventory_relative":{"operator":"le","limit":1e-12,"units":"1"},"max_structured_dense_log_density_difference":{"operator":"le","limit":1e-10,"units":"1"},"max_structured_dense_positive_ion_relative_difference":{"operator":"le","limit":1e-12,"units":"1"},"max_structured_dense_potential_difference_V":{"operator":"le","limit":1e-12,"units":"V"},"max_terminal_log_density_error":{"operator":"le","limit":5e-08,"units":"1"},"max_terminal_positive_ion_relative_error":{"operator":"le","limit":5e-10,"units":"1"},"max_terminal_potential_error_V":{"operator":"le","limit":1e-09,"units":"V"},"minimum_positive_ion_relative_motion":{"operator":"ge","limit":1e-06,"units":"1"},"mol_numerical_health_passed":{"operator":"eq","limit":1.0,"units":"1"},"mol_reference_success":{"operator":"eq","limit":1.0,"units":"1"},"single_ion_topology_verified":{"operator":"eq","limit":1.0,"units":"1"},"site_occupancy_admissible":{"operator":"eq","limit":1.0,"units":"1"},"structured_analytic_success":{"operator":"eq","limit":1.0,"units":"1"},"structured_csr_nonzeros_per_node":{"operator":"le","limit":27.0,"units":"1"},"structured_jacobian_condition_finite":{"operator":"eq","limit":1.0,"units":"1"},"structured_rhs_work_fraction":{"operator":"le","limit":0.1,"units":"1"},"terminal_densities_positive":{"operator":"eq","limit":1.0,"units":"1"}},"options":{"config_loader":"standard","require_protocol":true,"source_layer_index":1,"source_layer_name":"MAPbI3","applied_voltage_V":0.01,"final_time_s":0.01,"carrier_reference_time_s":1e-09,"ion_reference_time_s":1.0,"base_time_steps":2,"reference_grid_intervals":8,"newton_residual_tolerance":1e-09,"max_newton_iterations":24,"max_line_search_backtracks":12,"max_log_density_update":2.0,"max_ion_logit_update":2.0,"finite_difference_relative_step":1e-06,"mol_rtol":1e-10,"mol_atol_m3":"1.0e2","mol_max_step_divisor":400},"limitations":["This lane certifies only the dark, 10 mV, single-layer ohmic, single-positive-ion blocking-boundary research DAE slice extracted from the IonMonger configuration.","Dense-central and structured-analytic backward Euler are compared to the same high-accuracy eliminated-Poisson MoL trajectory; this is internal numerical equivalence, not external device validation.","Negative mobile ions, selective contacts, InterfaceDefect, cross-node interface sampling, algebraic interface states, experiment routes, and backend routes remain excluded."]}}, +{"id":"lane-ea8013ec21a124fd","kind":"registered_model_driver_protocol_combination","current_path":"perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml","route_id":"route-7ae47088bbed9ed7","origin_key":"lane:spatially-graded-explicit-defect-qf-dc-v1","source_key":"lanes.spatially-graded-explicit-defect-qf-dc-v1","config_id":"config-8cdce5d5383e09ba","executor_id":"executor-4bc0c0235c83e955","scientific_execution":"not_run","evidence_level":"cold_registry_config_hash_and_executor_resolution","registered_contract":{"claim_level":"internal-numerical-candidate","config":"tests/fixtures/configs/graded_distributed_defect_qf_dc_pn.yaml","config_sha256":"b6db3b87c509bafc7dae5e84640b12a0277668d612b4f9933f848a3ad99a715f","executor":"perovskite_sim.validation.spatial_defect_refinement:run_spatial_defect_qf_dc_refinement","executor_version":"v1","grid":{"parameter":"intervals_per_electrical_layer","values":[16,32,64]},"tolerance":{"parameter":"qf_dc_residual_tolerance_factor","factors":[1.0,0.1,0.01]},"observables":{"built_in_potential_V":{"comparison":"absolute_linf","limit":0.0001,"units":"V"},"contact_reservoir_log10_m3":{"comparison":"absolute_linf","limit":0.005,"units":"log10(m-3)"},"dark_band_gap_eV_profile":{"comparison":"absolute_linf","limit":1e-12,"units":"eV"},"dark_electron_affinity_eV_profile":{"comparison":"absolute_linf","limit":1e-12,"units":"eV"},"dark_electron_log10_profile":{"comparison":"absolute_linf","limit":0.01,"units":"log10(m-3)"},"dark_hole_log10_profile":{"comparison":"absolute_linf","limit":0.01,"units":"log10(m-3)"},"dark_potential_V":{"comparison":"absolute_linf","limit":0.0005,"units":"V"},"dark_source_density_multiplier_profile":{"comparison":"absolute_linf","limit":1e-12,"units":"1"},"dark_source_normalized_charge_profile":{"comparison":"absolute_linf","limit":0.005,"units":"1"},"dark_source_occupancy_profile":{"comparison":"absolute_linf","limit":0.005,"units":"1"},"integrated_source_charge_C_m2":{"comparison":"relative_linf","limit":0.005,"units":"C m-2"},"jv_current_A_m2":{"comparison":"relative_linf","limit":0.002,"units":"A m-2"},"short_circuit_current_A_m2":{"comparison":"relative_linf","limit":0.002,"units":"A m-2"}},"quality_gates":{"all_states_certified":{"operator":"eq","limit":1.0,"units":"1"},"contact_endpoints_verified":{"operator":"eq","limit":1.0,"units":"1"},"contact_thermodynamics_certified":{"operator":"eq","limit":1.0,"units":"1"},"default_spatial_path_rejected":{"operator":"eq","limit":1.0,"units":"1"},"energy_orders_completed":{"operator":"eq","limit":3.0,"units":"1"},"graded_energy_metadata_verified":{"operator":"eq","limit":1.0,"units":"1"},"graded_model_hashes_verified":{"operator":"eq","limit":1.0,"units":"1"},"graded_profiles_compiled_verified":{"operator":"eq","limit":1.0,"units":"1"},"graded_topology_verified":{"operator":"eq","limit":1.0,"units":"1"},"max_contact_fermi_level_span_eV":{"operator":"le","limit":1e-10,"units":"eV"},"max_continuity_bound_A_m2":{"operator":"le","limit":0.0002,"units":"A m-2"},"max_continuous_density_normalization_error":{"operator":"le","limit":1e-12,"units":"1"},"max_current_spread_A_m2":{"operator":"le","limit":0.0002,"units":"A m-2"},"max_dark_current_A_m2":{"operator":"le","limit":1e-06,"units":"A m-2"},"max_dark_qf_span_V":{"operator":"le","limit":1e-10,"units":"V"},"max_dark_recombination_rate_m3_s":{"operator":"le","limit":"1.0e12","units":"m-3 s-1"},"max_energy_contact_log10_change":{"operator":"le","limit":0.005,"units":"log10(m-3)"},"max_energy_current_relative_change":{"operator":"le","limit":0.005,"units":"1"},"max_energy_normalized_charge_change":{"operator":"le","limit":0.005,"units":"1"},"max_energy_occupancy_absolute_change":{"operator":"le","limit":0.005,"units":"1"},"max_energy_potential_change_V":{"operator":"le","limit":0.0005,"units":"V"},"max_energy_recombination_relative_change":{"operator":"le","limit":0.005,"units":"1"},"max_energy_tangent_relative_change":{"operator":"le","limit":0.005,"units":"1"},"max_interface_band_discontinuity_eV":{"operator":"le","limit":1e-12,"units":"eV"},"max_mass_action_relative_error":{"operator":"le","limit":1e-10,"units":"1"},"max_normalized_cell_residual":{"operator":"le","limit":1e-07,"units":"1"},"max_poisson_residual":{"operator":"le","limit":1e-08,"units":"1"},"minimum_band_gap_span_eV":{"operator":"ge","limit":0.03,"units":"eV"},"minimum_density_multiplier":{"operator":"ge","limit":0.5,"units":"1"},"minimum_kinetic_denominator_s1":{"operator":"ge","limit":1.0,"units":"s-1"},"minimum_support_margin_eV":{"operator":"ge","limit":0.04,"units":"eV"},"occupancy_bounded_without_clipping":{"operator":"eq","limit":1.0,"units":"1"},"profiled_species_count":{"operator":"eq","limit":3.0,"units":"1"},"source_species_count":{"operator":"eq","limit":4.0,"units":"1"},"terminal_densities_positive":{"operator":"eq","limit":1.0,"units":"1"},"voltage_points_completed":{"operator":"eq","limit":3.0,"units":"1"}},"options":{"config_loader":"standard","require_protocol":true,"energy_quadrature_orders":[16,32,64],"grid_alpha":2.0,"profile_points":17,"voltage_grid_V":[0.0,0.01,0.02],"illumination_steps":[0.0,0.0001,0.01,1.0],"base_newton_residual_tolerance":1e-08,"base_poisson_tolerance_V":1e-10,"base_finite_difference_step":1e-05,"continuity_tolerance_A_m2":0.0002,"current_spread_tolerance_A_m2":0.0002},"limitations":["This lane certifies one frozen continuous V-shaped band-graded p/n device with four distributed source species, three independent conservative density profiles, and one explicitly uniform species inside v3 documents.","Every outer spatial-grid and nonlinear-tolerance cell executes an inner 16/32/64 energy-order ladder. Endpoint-localized contacts, local band edges, Poisson charge, continuity recombination, analytic tangent, diagnostics, and three-point illuminated J-V share the same source contract and order.","Mobile ions, interfaces, selective contacts, field mobility, dynamic occupancy, Fermi-Dirac statistics, AC, transient defects, tunnelling, multivalent defects, hard-zero profiles, and discontinuous profile steps remain excluded.","This is internal SolarLab convergence evidence, not external SCAPS parity, experimental validation, or unique microscopic parameter identification."]}}, +{"id":"lane-b6717f964e395329","kind":"registered_model_driver_protocol_combination","current_path":"perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml","route_id":"route-7ae47088bbed9ed7","origin_key":"lane:spatially-graded-explicit-defect-qf-dc-v2","source_key":"lanes.spatially-graded-explicit-defect-qf-dc-v2","config_id":"config-8cdce5d5383e09ba","executor_id":"executor-4bc0c0235c83e955","scientific_execution":"not_run","evidence_level":"cold_registry_config_hash_and_executor_resolution","registered_contract":{"claim_level":"internal-numerical-candidate","config":"tests/fixtures/configs/graded_distributed_defect_qf_dc_pn.yaml","config_sha256":"b6db3b87c509bafc7dae5e84640b12a0277668d612b4f9933f848a3ad99a715f","executor":"perovskite_sim.validation.spatial_defect_refinement:run_spatial_defect_qf_dc_refinement","executor_version":"v2","grid":{"parameter":"intervals_per_electrical_layer","values":[16,32,64]},"tolerance":{"parameter":"qf_dc_residual_tolerance_factor","factors":[1.0,0.1,0.01]},"observables":{"built_in_potential_V":{"comparison":"absolute_linf","limit":0.0001,"units":"V"},"contact_reservoir_log10_m3":{"comparison":"absolute_linf","limit":0.005,"units":"log10(m-3)"},"dark_band_gap_eV_profile":{"comparison":"absolute_linf","limit":1e-12,"units":"eV"},"dark_electron_affinity_eV_profile":{"comparison":"absolute_linf","limit":1e-12,"units":"eV"},"dark_electron_log10_profile":{"comparison":"absolute_linf","limit":0.01,"units":"log10(m-3)"},"dark_hole_log10_profile":{"comparison":"absolute_linf","limit":0.01,"units":"log10(m-3)"},"dark_potential_V":{"comparison":"absolute_linf","limit":0.0005,"units":"V"},"dark_source_density_multiplier_profile":{"comparison":"absolute_linf","limit":1e-12,"units":"1"},"dark_source_normalized_charge_profile":{"comparison":"absolute_linf","limit":0.005,"units":"1"},"dark_source_occupancy_profile":{"comparison":"absolute_linf","limit":0.005,"units":"1"},"integrated_source_charge_C_m2":{"comparison":"relative_linf","limit":0.005,"units":"C m-2"},"jv_current_A_m2":{"comparison":"relative_linf","limit":0.002,"units":"A m-2"},"short_circuit_current_A_m2":{"comparison":"relative_linf","limit":0.002,"units":"A m-2"}},"quality_gates":{"all_states_certified":{"operator":"eq","limit":1.0,"units":"1"},"contact_endpoints_verified":{"operator":"eq","limit":1.0,"units":"1"},"contact_thermodynamics_certified":{"operator":"eq","limit":1.0,"units":"1"},"default_spatial_path_rejected":{"operator":"eq","limit":1.0,"units":"1"},"energy_orders_completed":{"operator":"eq","limit":3.0,"units":"1"},"graded_energy_metadata_verified":{"operator":"eq","limit":1.0,"units":"1"},"graded_model_hashes_verified":{"operator":"eq","limit":1.0,"units":"1"},"graded_profiles_compiled_verified":{"operator":"eq","limit":1.0,"units":"1"},"graded_topology_verified":{"operator":"eq","limit":1.0,"units":"1"},"max_contact_fermi_level_span_eV":{"operator":"le","limit":1e-10,"units":"eV"},"max_continuity_bound_A_m2":{"operator":"le","limit":0.0002,"units":"A m-2"},"max_continuous_density_normalization_error":{"operator":"le","limit":1e-12,"units":"1"},"max_current_spread_A_m2":{"operator":"le","limit":0.0002,"units":"A m-2"},"max_dark_current_A_m2":{"operator":"le","limit":1e-06,"units":"A m-2"},"max_dark_qf_span_V":{"operator":"le","limit":1e-10,"units":"V"},"max_dark_recombination_rate_m3_s":{"operator":"le","limit":"1.0e12","units":"m-3 s-1"},"max_energy_contact_log10_change":{"operator":"le","limit":0.005,"units":"log10(m-3)"},"max_energy_current_relative_change":{"operator":"le","limit":0.005,"units":"1"},"max_energy_normalized_charge_change":{"operator":"le","limit":0.005,"units":"1"},"max_energy_occupancy_absolute_change":{"operator":"le","limit":0.005,"units":"1"},"max_energy_potential_change_V":{"operator":"le","limit":0.0005,"units":"V"},"max_energy_recombination_relative_change":{"operator":"le","limit":0.005,"units":"1"},"max_energy_tangent_relative_change":{"operator":"le","limit":0.005,"units":"1"},"max_interface_band_discontinuity_eV":{"operator":"le","limit":1e-12,"units":"eV"},"max_mass_action_relative_error":{"operator":"le","limit":1e-10,"units":"1"},"max_normalized_cell_residual":{"operator":"le","limit":1e-07,"units":"1"},"max_poisson_residual":{"operator":"le","limit":1e-08,"units":"1"},"minimum_band_gap_span_eV":{"operator":"ge","limit":0.03,"units":"eV"},"minimum_density_multiplier":{"operator":"ge","limit":0.5,"units":"1"},"minimum_kinetic_denominator_s1":{"operator":"ge","limit":1.0,"units":"s-1"},"minimum_support_margin_eV":{"operator":"ge","limit":0.04,"units":"eV"},"occupancy_bounded_without_clipping":{"operator":"eq","limit":1.0,"units":"1"},"profiled_species_count":{"operator":"eq","limit":3.0,"units":"1"},"source_species_count":{"operator":"eq","limit":4.0,"units":"1"},"terminal_densities_positive":{"operator":"eq","limit":1.0,"units":"1"},"voltage_points_completed":{"operator":"eq","limit":3.0,"units":"1"}},"options":{"config_loader":"standard","require_protocol":true,"energy_quadrature_orders":[16,32,64],"grid_alpha":2.0,"profile_points":17,"voltage_grid_V":[0.0,0.01,0.02],"illumination_steps":[0.0,0.0001,0.01,1.0],"base_newton_residual_tolerance":1e-09,"base_poisson_tolerance_V":1e-10,"base_finite_difference_step":1e-05,"continuity_tolerance_A_m2":0.0002,"current_spread_tolerance_A_m2":0.0002},"limitations":["This lane certifies one frozen continuous V-shaped band-graded p/n device with four distributed source species, three independent conservative density profiles, and one explicitly uniform species inside v3 documents.","Every outer spatial-grid and nonlinear-tolerance cell executes an inner 16/32/64 energy-order ladder. Endpoint-localized contacts, local band edges, Poisson charge, continuity recombination, analytic tangent, diagnostics, and three-point illuminated J-V share the same source contract and order.","Version 2 retains every v1 grid, factor, observable, and quality gate while tightening only the base Newton residual tolerance from 1e-8 to 1e-9 after the immutable v1 matrix remained partial at the coarsest grid-64 tolerance.","Mobile ions, interfaces, selective contacts, field mobility, dynamic occupancy, Fermi-Dirac statistics, AC, transient defects, tunnelling, multivalent defects, hard-zero profiles, and discontinuous profile steps remain excluded.","This is internal SolarLab convergence evidence, not external SCAPS parity, experimental validation, or unique microscopic parameter identification."]}}, +{"id":"lane-13c1b80fd89d147a","kind":"registered_model_driver_protocol_combination","current_path":"perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml","route_id":"route-1af17bb46d9794d0","origin_key":"lane:twod-mobile-ion-interface-srh-v1","source_key":"lanes.twod-mobile-ion-interface-srh-v1","config_id":"config-480c4d067ef71e0b","executor_id":"executor-6d4411ff1e1f5e70","scientific_execution":"not_run","evidence_level":"cold_registry_config_hash_and_executor_resolution","registered_contract":{"claim_level":"internal-numerical-candidate","config":"tests/fixtures/configs/twod/combined_mobile_interface_research.yaml","config_sha256":"08b0593cbd4e1c11d4603b521ddfb2e4590ef4daa41fbfa7fe4eac857eb606d1","executor":"perovskite_sim.validation.refinement_executors:run_twod_mobile_ion_interface_srh","executor_version":"v1","grid":{"parameter":"matched_xy_intervals_per_layer","values":[4,6,8]},"tolerance":{"parameter":"componentwise_atol_refinement_factor","factors":[1.0,0.1,0.01]},"observables":{"complete_terminal_current_A_m2":{"comparison":"absolute_linf","limit":0.0075,"units":"A m-2"},"interface_recombination_current_A_m2":{"comparison":"absolute_linf","limit":5e-09,"units":"A m-2"},"lateral_carrier_variation_relative":{"comparison":"absolute_linf","limit":0.0005,"units":"1"},"max_mobile_ion_site_fraction":{"comparison":"absolute_linf","limit":0.0001,"units":"1"},"mobile_ion_relative_redistribution":{"comparison":"absolute_linf","limit":0.0005,"units":"1"}},"quality_gates":{"active_ion_density_positive":{"operator":"eq","limit":1.0,"units":"1"},"clamp_inactive_slice_verified":{"operator":"eq","limit":1.0,"units":"1"},"combined_gb_ion_interface_topology_verified":{"operator":"eq","limit":1.0,"units":"1"},"explicit_execution_protocol_verified":{"operator":"eq","limit":1.0,"units":"1"},"ion_diagnostics_passed":{"operator":"eq","limit":1.0,"units":"1"},"interface_rates_finite":{"operator":"eq","limit":1.0,"units":"1"},"interface_rates_positive":{"operator":"eq","limit":1.0,"units":"1"},"max_complete_current_face_spread_A_m2":{"operator":"le","limit":1e-10,"units":"A m-2"},"max_current_decomposition_relative_error":{"operator":"le","limit":1e-12,"units":"1"},"max_grain_boundary_width_relative_error":{"operator":"le","limit":1e-12,"units":"1"},"max_ion_inventory_relative_drift":{"operator":"le","limit":1e-09,"units":"1"},"minimum_lateral_carrier_variation_relative":{"operator":"ge","limit":0.0001,"units":"1"},"minimum_mobile_ion_relative_redistribution":{"operator":"ge","limit":0.0001,"units":"1"},"site_occupancy_admissible":{"operator":"eq","limit":1.0,"units":"1"},"terminal_carrier_densities_positive":{"operator":"eq","limit":1.0,"units":"1"},"voltage_points_completed":{"operator":"eq","limit":3.0,"units":"1"}},"options":{"config_loader":"standard","require_protocol":true,"lateral_length_m":1e-07,"V_max_V":0.1,"V_step_V":0.05,"settle_time_s":1e-08,"initial_state_settle_s":1e-06,"rtol":1e-06,"max_nfev":50000,"max_bisect":2,"ion_inventory_rtol":1e-09,"carrier_atol_fraction":1e-12,"ion_atol_fraction":1e-12,"interface_atol_fraction":1e-12,"minimum_atol":1e-06},"limitations":["This lane certifies one illuminated 0.0/0.05/0.10 V finite-dwell slice with one synthetic fast positive ion, one finite-width grain boundary, and one clamp-inactive two-sided cross-node interface-SRH sheet.","The 1e-10 m2/s ion diffusivity and short protocol are numerical stress inputs, not material parameters attributed to MAPbI3 or another measured device.","Interface projection, shared or dynamic interface occupancy, interface charge, dual ions, selective contacts, field mobility, and photon recycling remain outside this certificate.","Passing is internal grid/tolerance and conservation evidence; it is not external solver validation, experimental validation, SCAPS parity, or validation of a real grain-boundary parameter set."]}}, +{"id":"lane-6dbb672b6062d764","kind":"registered_model_driver_protocol_combination","current_path":"perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml","route_id":"route-1af17bb46d9794d0","origin_key":"lane:twod-uniform-limit","source_key":"lanes.twod-uniform-limit","config_id":"config-e8fa66183b4163b4","executor_id":"executor-61ef7758ea9b3427","scientific_execution":"not_run","evidence_level":"cold_registry_config_hash_and_executor_resolution","registered_contract":{"claim_level":"internal-numerical-candidate","config":"tests/fixtures/configs/twod/nip_MAPbI3_uniform.yaml","config_sha256":"6a7e0022575e680e3b4348774eb604c3273930b7a0fe210994e6532cd6d59dcb","executor":"perovskite_sim.validation.refinement_executors:run_twod_uniform_limit","executor_version":"v2","grid":{"parameter":"matched_xy_refinement_multiplier","values":[1,2,4]},"tolerance":{"parameter":"componentwise_atol_refinement_factor","factors":[1.0,0.1,0.01]},"observables":{"jv_2d_to_1d_normalized_difference":{"comparison":"absolute_linf","limit":0.005,"units":"1"},"voc_2d_V":{"comparison":"absolute_linf","limit":0.001,"units":"V"},"jsc_2d_A_m2":{"comparison":"relative_linf","limit":0.002,"units":"A m-2"}},"quality_gates":{"max_abs_2d_to_1d_normalized_difference":{"operator":"le","limit":0.005,"units":"1"},"max_charge_residual_relative":{"operator":"le","limit":1e-06,"units":"1"},"max_current_conservation_relative":{"operator":"le","limit":0.005,"units":"1"},"max_lateral_carrier_variation_relative":{"operator":"le","limit":1e-08,"units":"1"},"frozen_ion_scope_declared":{"operator":"eq","limit":1.0,"units":"1"},"one_d_jv_certified":{"operator":"eq","limit":1.0,"units":"1"},"voc_bracketed":{"operator":"eq","limit":1.0,"units":"1"}},"options":{"config_loader":"standard","require_protocol":true,"lateral_boundary":"periodic","base_lateral_intervals":4,"base_vertical_intervals_per_layer":5,"lateral_length_m":5e-07,"V_max_V":1.2,"V_step_V":0.1,"settle_time_s":0.001,"rtol":1e-06,"max_nfev":200000,"max_bisect":6,"carrier_atol_fraction":1e-12,"ion_atol_fraction":1e-12,"interface_atol_fraction":1e-12,"minimum_atol":1e-06},"limitations":["The current 2-D model is frozen-ion and has no interface-plane physics.","The uniform-limit comparison uses electron-plus-hole conduction current and excludes ionic and displacement current on both sides.","Passing this lane certifies only the uniform 2-D to 1-D limit."]}}, +{"id":"lane-6b64d0fcde4053b6","kind":"registered_model_driver_protocol_combination","current_path":"perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml","route_id":"route-fc717d86c09ab83e","origin_key":"lane:wkb-resolved-intraband-qf-dc-v2","source_key":"lanes.wkb-resolved-intraband-qf-dc-v2","config_id":"config-345114448b5dc42c","executor_id":"executor-620fa531cf26caf4","scientific_execution":"not_run","evidence_level":"cold_registry_config_hash_and_executor_resolution","registered_contract":{"claim_level":"internal-numerical-candidate","config":"tests/fixtures/configs/wkb_resolved_electron_barrier.yaml","config_sha256":"891165e5ac68609b27dbe6c98b00e27d9b40b4df6edabde764ddda62d4788d27","executor":"perovskite_sim.validation.resolved_tunnelling_refinement:run_resolved_intraband_refinement","executor_version":"v2","grid":{"parameter":"intervals_per_electrical_layer","values":[24,48,96]},"tolerance":{"parameter":"qf_dc_residual_tolerance_factor","factors":[1.0,0.1,0.01]},"limitations":["Internal numerical evidence for one undoped 3 nm material electron barrier between two n-type semiconductor reservoirs at 300 K, in dark Boltzmann transport.","The 1 percent terminal-effect entry criterion is specific to this designed observable reference; it is not a physical law or a revision of the retired v1 threshold.","Physical per-node DOS and band energies set reservoir occupations. Open Gauss-Legendre quadrature and exact linear-band turning-point actions define the energy calculation.","Turning-point interpolation weights also distribute particle transfer; the same face current enters continuity and observation. No single-face injection identity is claimed.","The leading WKB exponent and its fixed unfitted supply prefactor are model assumptions. Small-action supply is bounded here; neither that bound nor numerical convergence constitutes external quantum-transport or SCAPS validation.","Hole, contact, band-to-band, defect-assisted occupancy, multiple material barriers, mobile ions, interface-plane composition, illumination and transient tunnelling are outside this certificate."],"observables":{"dark_terminal_current_A_m2":{"comparison":"relative_linf","limit":0.001,"units":"A m-2"},"disabled_terminal_current_A_m2":{"comparison":"relative_linf","limit":0.001,"units":"A m-2"},"terminal_tunnelling_effect_A_m2":{"comparison":"relative_linf","limit":0.01,"units":"A m-2"},"intraband_event_flux_m2_s":{"comparison":"relative_linf","limit":0.01,"units":"m-2 s-1"},"maximum_local_tunnelling_current_A_m2":{"comparison":"relative_linf","limit":0.01,"units":"A m-2"},"barrier_base_eV":{"comparison":"absolute_linf","limit":0.0001,"units":"eV"},"barrier_peak_eV":{"comparison":"absolute_linf","limit":0.0001,"units":"eV"},"action_at_energy_fractions":{"comparison":"relative_linf","limit":0.005,"units":"1"},"potential_profile_V":{"comparison":"absolute_linf","limit":0.0001,"units":"V"},"electron_log_density_profile":{"comparison":"absolute_linf","limit":0.01,"units":"1"},"physical_electron_fermi_profile_eV":{"comparison":"absolute_linf","limit":0.0001,"units":"eV"}},"quality_gates":{"all_states_certified":{"operator":"eq","limit":1.0,"units":"1"},"contact_thermodynamics_consistent":{"operator":"eq","limit":1.0,"units":"1"},"energy_orders_completed":{"operator":"eq","limit":3.0,"units":"1"},"max_energy_event_flux_relative_change":{"operator":"le","limit":0.005,"units":"1"},"max_energy_terminal_effect_relative_change":{"operator":"le","limit":0.005,"units":"1"},"terminal_effect_fraction":{"operator":"ge","limit":0.01,"units":"1"},"equilibrium_terminal_current_A_m2":{"operator":"le","limit":0.0001,"units":"A m-2"},"equilibrium_tunnelling_current_A_m2":{"operator":"le","limit":1e-08,"units":"A m-2"},"particle_balance_relative_error":{"operator":"le","limit":1e-12,"units":"1"},"path_current_relative_error":{"operator":"le","limit":1e-12,"units":"1"},"external_tunnelling_face_current_A_m2":{"operator":"le","limit":0.0,"units":"A m-2"},"dissipative_transfer":{"operator":"eq","limit":1.0,"units":"1"},"dark_electrical_power_consumption":{"operator":"eq","limit":1.0,"units":"1"},"injected_face_count":{"operator":"ge","limit":3.0,"units":"1"},"disabled_bit_identical":{"operator":"eq","limit":1.0,"units":"1"},"maximum_reservoir_occupation":{"operator":"le","limit":0.05,"units":"1"},"minimum_reservoir_occupation":{"operator":"ge","limit":1e-12,"units":"1"},"low_action_supply_fraction":{"operator":"le","limit":0.01,"units":"1"},"maximum_electron_density_over_dos":{"operator":"le","limit":0.05,"units":"1"},"maximum_carrier_continuity_bound_A_m2":{"operator":"le","limit":0.0001,"units":"A m-2"},"maximum_current_spread_A_m2":{"operator":"le","limit":0.0001,"units":"A m-2"},"maximum_poisson_residual_C_m2":{"operator":"le","limit":1e-12,"units":"C m-2"},"residual_over_solver_limit":{"operator":"le","limit":1.0,"units":"1"}},"options":{"config_loader":"standard","grid_alpha":5.0,"bias_V":0.02,"base_newton_residual_tolerance":1e-08,"base_poisson_tolerance_V":1e-10,"base_finite_difference_step":1e-05,"continuity_tolerance_A_m2":0.0001,"current_spread_tolerance_A_m2":0.0001,"max_newton_iterations":30,"energy_quadrature_orders":[96,192,384],"profile_points_per_layer":17,"require_protocol":true}}}, +{"id":"lane-16771a29387cfdae","kind":"registered_model_driver_protocol_combination","current_path":"perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml","route_id":"route-fc717d86c09ab83e","origin_key":"lane:wkb-tunnelling-channel-qf-dc-v1","source_key":"lanes.wkb-tunnelling-channel-qf-dc-v1","config_id":"config-89864c46531b604e","executor_id":"executor-ba3263b888fb943a","scientific_execution":"not_run","evidence_level":"cold_registry_config_hash_and_executor_resolution","registered_contract":{"claim_level":"internal-numerical-candidate","config":"tests/fixtures/configs/wkb_tunnelling_intraband_spike.yaml","config_sha256":"545067cfedc8598b62fd1991aeaf3cd13d3153151e427452d1b78f6d523df20b","executor":"perovskite_sim.validation.tunnelling_channel_refinement:run_tunnelling_channel_qf_dc_refinement","executor_version":"v1","grid":{"parameter":"intervals_per_electrical_layer","values":[24,48,96]},"tolerance":{"parameter":"qf_dc_residual_tolerance_factor","factors":[1.0,0.1,0.01]},"limitations":["Internal numerical convergence only. No SCAPS tunnelling deck is compared, and the channel's absolute magnitude is not validated against anything - the supply prefactor remains an unfitted estimate.","One intraband electron channel on one heterointerface of one synthetic spike stack. Band-to-band, defect-assisted and contact channels, the hole branch, multi-interface stacks, illumination, mobile ions, AC and transient routes are out of scope here rather than certified.","The terminal current is deliberately NOT the convergence observable. Enabling the channel moves it by only ~1e-5 relative, so a terminal-current gate would pass whether or not the channel worked.","RETRACTED 2026-09-01 (D8-E2R). Two magnitudes this lane reports are artifacts of a level-vs-potential convention error - the QF lane hands the channel `V_T*ln(n) - (phi+chi)` = `E_Fn + V_T*ln(N_C)`, a +1.4286 eV offset. The channel flux fraction of terminal current (~0.20 here) is 6.2e-7 with the true level, and `equilibrium_net_flux_m2_s` passes its exact-zero gate by float64 Fermi-factor saturation rather than by reciprocity, so that gate cannot currently fail. Convergence orders, the injection identity and the fail-closed routes are unaffected. Correcting the level fails three gates in this lane at once and needs a v2 lane whose entry condition - a config where the corrected channel clears `ge 0.01` - does not yet exist. See docs/WkbTunnellingFamilyContract.md section \"Retraction (D8-E2R)\"."],"observables":{"dark_electron_quasi_fermi_V":{"comparison":"absolute_linf","limit":0.002,"units":"V"},"dark_potential_V":{"comparison":"absolute_linf","limit":0.002,"units":"V"},"dark_terminal_current_A_m2":{"comparison":"relative_linf","limit":0.02,"units":"A m-2"},"intraband_electron_face_current_A_m2":{"comparison":"relative_linf","limit":0.1,"units":"A m-2"},"intraband_electron_maximum_action":{"comparison":"relative_linf","limit":0.05,"units":"1"},"intraband_electron_net_flux_m2_s":{"comparison":"relative_linf","limit":0.1,"units":"m-2 s-1"}},"quality_gates":{"certified":{"operator":"eq","limit":1.0,"units":"1"},"channel_flux_fraction_of_terminal_current":{"operator":"ge","limit":0.01,"units":"1"},"disabled_family_reports_nothing":{"operator":"eq","limit":1.0,"units":"1"},"energy_quadrature_orders_completed":{"operator":"eq","limit":3.0,"units":"1"},"equilibrium_certified":{"operator":"eq","limit":1.0,"units":"1"},"equilibrium_face_current_A_m2":{"operator":"le","limit":0.0,"units":"A m-2"},"equilibrium_net_flux_m2_s":{"operator":"le","limit":0.0,"units":"m-2 s-1"},"face_current_injection_relative_error":{"operator":"le","limit":1e-12,"units":"1"},"face_current_spread_A_m2":{"operator":"le","limit":0.0002,"units":"A m-2"},"injected_face_count":{"operator":"eq","limit":1.0,"units":"1"},"max_energy_flux_relative_change":{"operator":"le","limit":0.05,"units":"1"},"max_normalized_cell_residual":{"operator":"le","limit":1e-07,"units":"1"},"minimum_transmission_below_unity":{"operator":"eq","limit":1.0,"units":"1"},"newton_iterations":{"operator":"le","limit":30.0,"units":"1"},"poisson_residual_C_m2":{"operator":"le","limit":1e-12,"units":"C m-2"},"residual_over_solver_limit":{"operator":"le","limit":1.0,"units":"1"}},"options":{"base_finite_difference_step":1e-05,"base_newton_residual_tolerance":1e-08,"base_poisson_tolerance_V":1e-10,"bias_V":0.2,"config_loader":"standard","continuity_tolerance_A_m2":0.0002,"current_spread_tolerance_A_m2":0.0002,"energy_quadrature_orders":[96,192,384],"grid_alpha":2.0,"max_newton_iterations":30,"profile_points":17,"require_protocol":true}}}, +{"id":"model-2349ef0825324d5d","kind":"reviewed_model_or_combination_boundary","current_path":"perovskite-sim/perovskite_sim/sweeps/device_parameter_sweep.py","route_id":"route-10a93c77eb891674","origin_key":"model:analysis_sweeps","label":"CBO, device parameter sweep, SolarScale, evaluation reports and identifiability","support_boundary":"Preserve cold compilation vs parameter rebinding, provenance and stopped/failed point status","evidence_level":"source_and_existing_test_contracts","test_ids":["file-5a9fc68347dbbeaa","file-1c67a3e462828b10","file-dbaebe4e177d4b0a","file-3b9f5364b7c8b271","file-37223589fd34d622","file-d1c3344ad119290e","file-d296684f02672dec","file-f9d8c736910f7798","file-692d56df87451179","file-d5238fe8b6542b4c","file-2235215923728ac8","file-d1a4239e5256f1fa","file-f54b969153f33906","file-82691c6ee1f967df","file-9900e40c750a3bc5","file-6472690023d4fb4e","file-7ea410970770fe78","file-76fc82e6d32bb080","file-0f0fa8d7faadb95e","file-d12f4fa91e12621e","file-5752a83d075ea7ec"]}, +{"id":"model-e30545539a73788a","kind":"reviewed_model_or_combination_boundary","current_path":"perovskite-sim/perovskite_sim/physics/grading.py","route_id":"route-e165470d3885491a","origin_key":"model:band_structure","label":"Grading, spatial doping, BGN and incomplete ionization","support_boundary":"Keep frozen model versions, composition/spatial support and electrostatic charge derivatives","evidence_level":"source_and_existing_test_contracts","test_ids":["file-127446cbe73dcee3","file-777f9433382b8528","file-52fd6f111dc276be","file-03251f34b406c009","file-ea13c63d75f9fcab","file-7c1de333528cb367","file-0ef758978e891e8e","file-969bdab5df1bd5b1","file-48b79f01256e2dc7"]}, +{"id":"model-35d1a24b8b4f94da","kind":"reviewed_model_or_combination_boundary","current_path":"perovskite-sim/perovskite_sim/models/defects.py","route_id":"route-d9c856c156710764","origin_key":"model:bulk_defect_documents","label":"Explicit monovalent neutral/charged/distributed/spatial bulk defects","support_boundary":"Schema versions/units, populations and certified dimensional/driver support remain separate","evidence_level":"source_and_existing_test_contracts","test_ids":["file-18628861e2cafea1","file-75a79849cbcbcf26","file-be763e8e37bd8f45","file-5a08c224dae743fb","file-67081ef124251b85","file-a744c7f79c26d155","file-5e8bc48bc9007f08","file-eb7d9403259c987c","file-c0f5478555a1c817"]}, +{"id":"model-12498987410f19e3","kind":"reviewed_model_or_combination_boundary","current_path":"perovskite-sim/perovskite_sim/physics/recombination.py","route_id":"route-8325215ed6470da3","origin_key":"model:bulk_recombination","label":"Effective lifetime/SRH, radiative, Auger","support_boundary":"Keep enabled model and derivative conventions; dynamic trap storage is a separate capability","evidence_level":"source_and_existing_test_contracts","test_ids":["file-1c1644396a22c96f","file-8e659ef570f49656"]}, +{"id":"model-09525bcfc07e67a0","kind":"reviewed_model_or_combination_boundary","current_path":"perovskite-sim/perovskite_sim/physics/contacts.py","route_id":"route-82db92644ae84174","origin_key":"model:contacts","label":"Legacy/manual and physical work-function contacts; carrier reservoir/Robin conditions","support_boundary":"Historical scaps_mirror_v2 remains inconsistent; known 6.024958093 meV tilt is not a new <=5 meV certificate","evidence_level":"source_and_existing_test_contracts","test_ids":["file-0bdf6de291837723","file-35fdc9a725a914d9","file-cd3e44da01ec60ff","file-8e07ac6e2ef2e3e1","file-eb13e4ae5d91674e"]}, +{"id":"model-e0d4d8544e52d1f6","kind":"reviewed_model_or_combination_boundary","current_path":"perovskite-sim/perovskite_sim/solver/dae_dual_ions.py","route_id":"route-adafe12b780cb075","origin_key":"model:dual_ions","label":"Dual ion/shared-site steric DAE and transient","support_boundary":"Shared capacity is not independent clipping; current 2D mobile topology rejects dual ions","evidence_level":"source_and_existing_test_contracts","test_ids":["file-6e3744447bfd8653","file-f671f906acb61fb5","file-5d8da9bb4feeb3bf","file-1058e138801095ce","file-6d3f286be370f808","file-d239d164a00e3135","file-8ab9f28b607b4e66","file-9983b19e3c8a58fc","file-a1e325162cd52f9e"]}, +{"id":"model-14419ba8316d787b","kind":"reviewed_model_or_combination_boundary","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_impedance.py","route_id":"route-46768de238c10b26","origin_key":"model:dynamic_defect_ac","label":"Five classifier-backed bulk/interface/ion AC combinations","support_boundary":"bulk_dynamic_defect; interface_dynamic_defect; bulk_defect_plus_ions; interface_defect_plus_ions; bulk_interface_defect_plus_ions; bulk+interface without ions rejects","evidence_level":"source_and_existing_test_contracts","test_ids":["file-873182e6540b10a6","file-d40e8bf673dc8630","file-ad724b59b1213707"]}, +{"id":"model-bf1eccb456572cbb","kind":"reviewed_model_or_combination_boundary","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_transient.py","route_id":"route-a710012d4957cff3","origin_key":"model:dynamic_defect_transient","label":"Production dark two-layer single-interface positive-ion transient","support_boundary":"One active absorber positive-ion layer and unit microscopic interface calibration; illumination/negative ions/additional active layers reject","evidence_level":"source_and_existing_test_contracts","test_ids":["file-cec5c0dc91a03900","file-8126bacb4bbcbf72","file-d73239ac2ab47bbe","file-51a9ecad5af91bb1","file-dff1ed3fc2fce6f6"]}, +{"id":"model-c2f3be21ffc4db07","kind":"reviewed_model_or_combination_boundary","current_path":"perovskite-sim/perovskite_sim/physics/poisson.py","route_id":"route-d62e86f66bbfc4a7","origin_key":"model:electrostatics","label":"Poisson, physical finite volumes and contact displacement","support_boundary":"1D and tensor 2D; endpoint and interface geometry remain explicit; no unstructured or 3D claim","evidence_level":"source_and_existing_test_contracts","test_ids":["file-7be268258c3e2d28","file-48d8a762c88a1b8c"]}, +{"id":"model-3d61805d6505f665","kind":"reviewed_model_or_combination_boundary","current_path":"perovskite-sim/perovskite_sim/experiments/electrothermal.py","route_id":"route-1a753e47cd31526e","origin_key":"model:electrothermal","label":"Fresh-temperature sequential lumped thermal operating point","support_boundary":"Not a new simultaneous dynamic electrothermal PDE","evidence_level":"source_and_existing_test_contracts","test_ids":["file-2e2f4181e04a2a26","file-ce4f2563aea17e05","file-f60acd73e81e5846","file-78c3fb2cc0593d17","file-7e899c973301c22b"]}, +{"id":"model-4121df989e253bee","kind":"reviewed_model_or_combination_boundary","current_path":"perovskite-sim/perovskite_sim/experiments/interface_charge_jv.py","route_id":"route-8fa82108990208d6","origin_key":"model:equilibrium_interface_charge","label":"Explicit microscopic equilibrium-referenced sheet charge","support_boundary":"Acknowledgement, unit calibration, thermodynamic reference and QF driver gates remain","evidence_level":"source_and_existing_test_contracts","test_ids":["file-84cd4d1f05a0e4e6","file-811f3ea5871aee27","file-e90f855bd902a4d9","file-4cee3d2b7b615bb0","file-5fd8d0a1fff64137","file-2f33cd4e88efab77","file-d4652e19403d1520","file-6736a5cb5e395230"]}, +{"id":"model-d9a82159b8b0c451","kind":"reviewed_model_or_combination_boundary","current_path":"perovskite-sim/perovskite_sim/experiments/external_circuit.py","route_id":"route-3c9fbb8d992a2504","origin_key":"model:external_circuit","label":"Certified intrinsic JV mapping through static Rs/Rsh","support_boundary":"Preserve current sign, power accounting and negative-differential topology rejection","evidence_level":"source_and_existing_test_contracts","test_ids":["file-5a2c83ce29eab357","file-29bbe4e5d4a4f0d3","file-831c167580f3ccb2","file-b20293e3b3c0ff3f","file-300026b7896f446f"]}, +{"id":"model-efbb0ef5776a7ec3","kind":"reviewed_model_or_combination_boundary","current_path":"perovskite-sim/perovskite_sim/physics/degenerate_transport.py","route_id":"route-9f659d6ab05ae517","origin_key":"model:fd_transport","label":"Restricted Fermi-Dirac/generalized Einstein transport","support_boundary":"Thermal-equilibrium/QF and declared adapters only; no blanket FD support across drivers","evidence_level":"source_and_existing_test_contracts","test_ids":["file-c66504dc2f8a452a","file-0243df31cb52380b","file-57621643230ed27f","file-3b238e23df5e6c4d","file-8c65505ec52f8f60"]}, +{"id":"model-7efe0d79d585f48c","kind":"reviewed_model_or_combination_boundary","current_path":"perovskite-sim/perovskite_sim/physics/cigs_optics.py","route_id":"route-319cedcb93036ea4","origin_key":"model:graded_cigs","label":"Composition-dependent CIGS optics","support_boundary":"Existing absorber composition domain and external-data provenance limits remain","evidence_level":"source_and_existing_test_contracts","test_ids":["file-2d4c2c1958a51e1d","file-d7ed9cd70fe14d2e","file-91f021f9fb861cc7","file-c936c35b1206e4a8","file-ed69fa6cba2b0174"]}, +{"id":"model-2f6733546b06bf73","kind":"reviewed_model_or_combination_boundary","current_path":"perovskite-sim/perovskite_sim/physics/interface_plane.py","route_id":"route-0028b51c44273f6e","origin_key":"model:interface_srh","label":"Legacy projected/calibrated and two-sided interface SRH","support_boundary":"Do not merge unequal sampling, generation clamps, calibration and occupancy semantics","evidence_level":"source_and_existing_test_contracts","test_ids":["file-efdc30440c7b5ad9","file-8d7dda7adbf7a50a"]}, +{"id":"model-a23eeb784abe318e","kind":"reviewed_model_or_combination_boundary","current_path":"perovskite-sim/perovskite_sim/physics/continuity.py","route_id":"route-5d1c26da2dda74b7","origin_key":"model:mb_transport","label":"Boltzmann SG with DOS band potentials","support_boundary":"LEGACY forces DOS fold off; non-legacy fold needs DOS data","evidence_level":"source_and_existing_test_contracts","test_ids":["file-3457c314cd6bd1f8","file-6e9ab1673d3644ea"]}, +{"id":"model-f415f85948826e3d","kind":"reviewed_model_or_combination_boundary","current_path":"perovskite-sim/perovskite_sim/experiments/metastable_preparation.py","route_id":"route-495b76e93b3577ce","origin_key":"model:metastable","label":"Stationary preparation, frozen measurement and restricted configuration transient","support_boundary":"Preparation history cannot be replaced with a fresh equilibrium solve at each measurement","evidence_level":"source_and_existing_test_contracts","test_ids":["file-197585768eb0655e","file-f9a450f7a331a913","file-4337bce2761f9057"]}, +{"id":"model-a9c27f1e9a32d50b","kind":"reviewed_model_or_combination_boundary","current_path":"perovskite-sim/perovskite_sim/models/multivalent_defects.py","route_id":"route-8da2b10cdabff825","origin_key":"model:multivalent","label":"Multivalent configurations and stationary probability normalization","support_boundary":"No transient simplex support inferred from stationary schema alone","evidence_level":"source_and_existing_test_contracts","test_ids":["file-4a076d9bcf6fbfd0","file-0a84f3ae80deb633","file-c89a7859242338d0","file-2f55adfcd5fda411","file-d04da2e267a232a7","file-49a0b67eb6b9f101","file-586c44e62a34d59c"]}, +{"id":"model-4d79d5da1503d07c","kind":"reviewed_model_or_combination_boundary","current_path":"perovskite-sim/perovskite_sim/physics/photon_recycling.py","route_id":"route-3ca5aadbccd95430","origin_key":"model:photon_recycling","label":"Build-once recycling and nonlocal radiative reabsorption","support_boundary":"Nonlocal sparsity and 2D vertical-column approximation must remain explicit","evidence_level":"source_and_existing_test_contracts","test_ids":["file-835e2a0a6f24fbef","file-c8e92427a8381f1b","file-8adac4a2ed91dd7c","file-f86d34ea07b22ece"]}, +{"id":"model-cdca4a76a85e89ed","kind":"reviewed_model_or_combination_boundary","current_path":"perovskite-sim/perovskite_sim/physics/ion_migration.py","route_id":"route-7f630a1e3f93d84f","origin_key":"model:positive_ions","label":"Positive mobile ion, blocking contacts and inventory","support_boundary":"Per connected-domain inventory and finite site capacity; frozen charge and dynamic P block are distinct","evidence_level":"source_and_existing_test_contracts","test_ids":["file-72268c3f72b5bb58","file-06bbdb5d19953f93","file-0dc2c4e576c467a8","file-f10b5ffdb8ca74e4","file-28009e3f71a73b10"]}, +{"id":"model-ee04323676cd31ae","kind":"reviewed_model_or_combination_boundary","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_backend.py","route_id":"route-bab67146773d252f","origin_key":"model:r1_precision","label":"Baseline float64 and compensated pair numerical representation","support_boundary":"Public codec/increment extension; no private subclassing or core->research callback after migration; L1/L2/L3 remain separate","evidence_level":"source_and_existing_test_contracts","test_ids":["file-ebdb10d5fd849277","file-99090c16c99642f9","file-858ac00f21d84aeb","file-4213fd48c1d6c35a","file-fd6e9231a32f3510","file-33e4dc11fc49a82c","file-206d6c2e7c27a636","file-bec78e1d92034a8a","file-dd628ee21455c23b","file-b3e2e89e236a5860"]}, +{"id":"model-6869c69e7b6ea663","kind":"reviewed_model_or_combination_boundary","current_path":"perovskite-sim/perovskite_sim/physics/generation.py","route_id":"route-2284c44f7547afc8","origin_key":"model:scalar_beer_lambert","label":"Existing scalar Beer-Lambert/uniform generation","support_boundary":"No observed current spectral Beer-Lambert or profile-file entry; historical/new scope needs explicit binding","evidence_level":"source_and_existing_test_contracts","test_ids":["file-c83b07984525dc3e"]}, +{"id":"model-414d415fcc29e031","kind":"reviewed_model_or_combination_boundary","current_path":"perovskite-sim/perovskite_sim/experiments/tandem_jv.py","route_id":"route-3b0ea2bce48cedc0","origin_key":"model:tandem","label":"2T monolithic series matching with optical junction stack","support_boundary":"Preserve ideal-series/detailed optical semantics; no new tunnel-junction carrier model","evidence_level":"source_and_existing_test_contracts","test_ids":["file-07e9e5808596f127","file-bf574d42a27551a2","file-8c46dba5b85f5f93","file-a8be71f41320f2b1","file-a465de872d80b1b2","file-396f6ccdf039764c","file-1c9994183cf591ea","file-665991bde969677f"]}, +{"id":"model-a99890236b16dac4","kind":"reviewed_model_or_combination_boundary","current_path":"perovskite-sim/perovskite_sim/physics/temperature.py","route_id":"route-1d5406b5270c83c8","origin_key":"model:temperature_mobility","label":"Temperature scaling and face-normal field-dependent mobility","support_boundary":"Fresh temperature rebinding; 2D normal-field approximation is not isotropic field magnitude","evidence_level":"source_and_existing_test_contracts","test_ids":["file-091e6e28cf32ab9b","file-b044fe2d465aae4d","file-c6e383dce361ac12","file-b5ad4ea754b28b44","file-3f020b8d32420679","file-6449acdbbd777fd6","file-01a667c6530f48ef","file-9dd0e314a2bd919f"]}, +{"id":"model-4d19ee3cf724dee6","kind":"reviewed_model_or_combination_boundary","current_path":"perovskite-sim/perovskite_sim/physics/optics.py","route_id":"route-10514450877a74c6","origin_key":"model:tmm","label":"Coherent/incoherent multilayer optics and material nk resources","support_boundary":"TMM requires supplied optical data and tier ceiling; loader success is not optical certification","evidence_level":"source_and_existing_test_contracts","test_ids":["file-c8b43090eb10a630","file-cf19d811fa2d8172"]}, +{"id":"model-2fd923e3c36da07c","kind":"reviewed_model_or_combination_boundary","current_path":"perovskite-sim/perovskite_sim/physics/tunneling_channel_device.py","route_id":"route-37e2128a898867ec","origin_key":"model:tunnelling","label":"Named WKB channel schema and restricted intraband transport","support_boundary":"Channel declaration is not execution support; unsupported band-to-band/contact/defect-assisted combinations retain rejection guards","evidence_level":"source_and_existing_test_contracts","test_ids":["file-bf265a36275f9302","file-b21eee3b3bcc5c86","file-0b6740570ed6c913","file-2fb15e43646f6269","file-89bd7bee2cd707e0","file-1f947cc3b1a55050","file-e73603fefdd60414","file-0b66fb96755a23d9","file-3a6724652bd41545","file-a3605298ddb2f265","file-4edd3f02b791098b"]}, +{"id":"model-764c896a23aae6da","kind":"reviewed_model_or_combination_boundary","current_path":"perovskite-sim/perovskite_sim/twod/solver_2d.py","route_id":"route-ad39f1ba37895ec2","origin_key":"model:two_dimensional","label":"Tensor-grid frozen/mobile/interface/GB 2D experiments","support_boundary":"Mobile ions and interface-SRH require Neumann-x and explicit research protocol; complete-current adapter differs from legacy conduction-only helper","evidence_level":"source_and_existing_test_contracts","test_ids":["file-c32750789eed145b","file-e0b27620acaf9552","file-45fac48b0d4ea44e","file-b60e117bfe3d6589","file-469c9b2176ee0f8c","file-3b9f5364b7c8b271","file-37223589fd34d622","file-d1c3344ad119290e","file-0dd2e10e6a96766b","file-ed5fb9c84d1fa404","file-9dd0e314a2bd919f","file-e7fb6948a054eddb","file-d961d7cb0cb02ea0","file-8d7dda7adbf7a50a","file-f10b5ffdb8ca74e4","file-11fdb857dd8a1e4b","file-01c16a3830a43d14","file-28009e3f71a73b10","file-48d8a762c88a1b8c","file-f86d34ea07b22ece","file-3756153029a3ff65","file-c2b66990b8fd566b"]}, +{"id":"model-808805f5747b246b","kind":"reviewed_model_or_combination_boundary","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface.py","route_id":"route-05954cb31108b609","origin_key":"model:two_sided_transport","label":"Finite TE transport and independent left/right traces","support_boundary":"Finite transport permits QF jump; raw band offsets and DOS-normalized transport have separate roles","evidence_level":"source_and_existing_test_contracts","test_ids":["file-b1c094f60f81bd70","file-31d59e1de34c144f"]}, +{"id":"oracle-43431083ae91b1d5","kind":"independent_or_reference_oracle","current_path":"perovskite-sim/perovskite_sim/solver/dae_integrator.py","route_id":"route-cbbcfcb83fcae60f","origin_key":"oracle:be_reference","independence_scope":"Restricted conservative reference stepper and finite-difference Jacobian checks; cannot silently become the IDA implementation under test","symbol_hint":"run_backward_euler_reference","evidence_level":"source_semantics_review_not_full_oracle_execution","test_ids":["file-b97701ae33546a53","file-1eaa826b53b25cf9"]}, +{"id":"oracle-33512d14951f648d","kind":"independent_or_reference_oracle","current_path":"perovskite-sim/perovskite_sim/_compat/scipy_shim.py","route_id":"route-c0154fcbcec24727","origin_key":"oracle:compat_fallback","independence_scope":"SciPy-import fallback is an alternative numerical stack, not equivalent Radau; preserve behavior label and review consumers before retirement","symbol_hint":null,"evidence_level":"source_semantics_review_not_full_oracle_execution","test_ids":["file-7be268258c3e2d28","file-48d8a762c88a1b8c"]}, +{"id":"oracle-88ce0e7749381acf","kind":"independent_or_reference_oracle","current_path":"perovskite-sim/perovskite_sim/physics/poisson.py","route_id":"route-b42f1550cc73e93a","origin_key":"oracle:poisson","independence_scope":"Independent unfactored solve and analytic zero-charge/series-capacitance expectations; shared geometry limits physical independence","symbol_hint":"solve_poisson","evidence_level":"source_semantics_review_not_full_oracle_execution","test_ids":["file-7be268258c3e2d28","file-48d8a762c88a1b8c"]}, +{"id":"oracle-2859c329278ce3e0","kind":"independent_or_reference_oracle","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_independent_physics.py","route_id":"route-9703b76f135297b8","origin_key":"oracle:r1_independent_observation","independence_scope":"Independent saved-state current/Gauss observations; shared constitutive calls must be disclosed and are not a wholly independent carrier solver","symbol_hint":null,"evidence_level":"source_semantics_review_not_full_oracle_execution","test_ids":["file-4f1cdfa40fbce1a6","file-f3bef79d1b3d764e"]}, +{"id":"oracle-c749a00822ac300a","kind":"independent_or_reference_oracle","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_independent_regular.py","route_id":"route-14e199cb8da127e6","origin_key":"oracle:r1_regular_current","independence_scope":"Separate regular-current observer must preserve source identity and no projected equal terminal currents","symbol_hint":null,"evidence_level":"source_semantics_review_not_full_oracle_execution","test_ids":["file-4f1cdfa40fbce1a6","file-0f7292667f1f7ff7","file-f3bef79d1b3d764e"]}, +{"id":"oracle-c398ee1f8377a8ac","kind":"independent_or_reference_oracle","current_path":"perovskite-sim/perovskite_sim/discretization/fe_operators.py","route_id":"route-bcde79d2bee32047","origin_key":"oracle:sg_scalar","independence_scope":"Scalar-vs-vector algebra crosscheck shares Bernoulli; retain analytic symmetry/asymptote checks rather than claiming full independent physics","symbol_hint":"sg_flux_n","evidence_level":"source_semantics_review_not_full_oracle_execution","test_ids":["file-3457c314cd6bd1f8"]}, +{"id":"oracle-a34b44c50d3476cf","kind":"independent_or_reference_oracle","current_path":"perovskite-sim/perovskite_sim/physics/dynamic_storage.py","route_id":"route-067b237d97b48d83","origin_key":"oracle:storage_low_bits","independence_scope":"Frozen independent 90-digit references and sub-ULP increments; retain exact data and evaluation path","symbol_hint":"log_density_update","evidence_level":"source_semantics_review_not_full_oracle_execution","test_ids":["file-76649c8945be70ef","file-601f072a69f14460"]}, +{"id":"oracle-23a290eced9bdb76","kind":"independent_or_reference_oracle","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance_lockin.py","route_id":"route-c7a4b568f42d617d","origin_key":"oracle:time_domain_lockin","independence_scope":"Time-domain AC oracle vs direct frequency solve; same underlying physics, independent time/frequency discretization only","symbol_hint":"run_ion_aware_transient_lockin_crosscheck","evidence_level":"source_semantics_review_not_full_oracle_execution","test_ids":["file-1bdb5b827fc289ad","file-07e576763eefe18f"]}, +{"id":"oracle-798d4d77d48ec274","kind":"independent_or_reference_oracle","current_path":"perovskite-sim/perovskite_sim/validation/refinement_executors.py","route_id":"route-4e41c98b007cfc2f","origin_key":"oracle:twod_uniform","independence_scope":"Uniform 1D-limit and analytic area/current comparisons; 1D and 2D still share material builder so additional independent refinement is required","symbol_hint":null,"evidence_level":"source_semantics_review_not_full_oracle_execution","test_ids":["file-c32750789eed145b","file-e0b27620acaf9552","file-45fac48b0d4ea44e","file-b60e117bfe3d6589","file-469c9b2176ee0f8c","file-3b9f5364b7c8b271","file-37223589fd34d622","file-d1c3344ad119290e","file-0dd2e10e6a96766b","file-ed5fb9c84d1fa404","file-9dd0e314a2bd919f","file-e7fb6948a054eddb","file-d961d7cb0cb02ea0","file-8d7dda7adbf7a50a","file-f10b5ffdb8ca74e4","file-11fdb857dd8a1e4b","file-01c16a3830a43d14","file-28009e3f71a73b10","file-48d8a762c88a1b8c","file-f86d34ea07b22ece","file-3756153029a3ff65","file-c2b66990b8fd566b"]}, +{"id":"python-1a9e4c064e51924b","kind":"python_class","current_path":"perovskite-sim/backend/api_schema.py","route_id":"route-8b705c7e01d821a0","origin_key":"python:backend.api_schema.DegradationResultOut","qualified_name":"backend.api_schema.DegradationResultOut","visibility":"public","evidence_level":"source_static"}, +{"id":"python-86a93ec0be5d37fe","kind":"python_class","current_path":"perovskite-sim/backend/api_schema.py","route_id":"route-8b705c7e01d821a0","origin_key":"python:backend.api_schema.DeviceIn","qualified_name":"backend.api_schema.DeviceIn","visibility":"public","evidence_level":"source_static"}, +{"id":"python-c7832ccb01b11ba9","kind":"python_class","current_path":"perovskite-sim/backend/api_schema.py","route_id":"route-8b705c7e01d821a0","origin_key":"python:backend.api_schema.ImpedanceResultOut","qualified_name":"backend.api_schema.ImpedanceResultOut","visibility":"public","evidence_level":"source_static"}, +{"id":"python-efcd602d42f03f59","kind":"python_class","current_path":"perovskite-sim/backend/api_schema.py","route_id":"route-8b705c7e01d821a0","origin_key":"python:backend.api_schema.JVMetricsOut","qualified_name":"backend.api_schema.JVMetricsOut","visibility":"public","evidence_level":"source_static"}, +{"id":"python-098dd8d550bbc7e1","kind":"python_class","current_path":"perovskite-sim/backend/api_schema.py","route_id":"route-8b705c7e01d821a0","origin_key":"python:backend.api_schema.JVResultOut","qualified_name":"backend.api_schema.JVResultOut","visibility":"public","evidence_level":"source_static"}, +{"id":"python-f99d0329d74c9621","kind":"python_class","current_path":"perovskite-sim/backend/api_schema.py","route_id":"route-8b705c7e01d821a0","origin_key":"python:backend.api_schema.JobStatusOut","qualified_name":"backend.api_schema.JobStatusOut","visibility":"public","evidence_level":"source_static"}, +{"id":"python-6e5dd95bf5c8c71b","kind":"python_class","current_path":"perovskite-sim/backend/api_schema.py","route_id":"route-8b705c7e01d821a0","origin_key":"python:backend.api_schema.LayerIn","qualified_name":"backend.api_schema.LayerIn","visibility":"public","evidence_level":"source_static"}, +{"id":"python-43535492995597a5","kind":"python_class","current_path":"perovskite-sim/backend/api_schema.py","route_id":"route-8b705c7e01d821a0","origin_key":"python:backend.api_schema.SimulateRequest","qualified_name":"backend.api_schema.SimulateRequest","visibility":"public","evidence_level":"source_static"}, +{"id":"python-2c78af1424a3c234","kind":"python_callable","current_path":"perovskite-sim/backend/celery_app.py","route_id":"route-ed2463e7dc9ab7d3","origin_key":"python:backend.celery_app.run_degradation_task","qualified_name":"backend.celery_app.run_degradation_task","visibility":"public","evidence_level":"source_static"}, +{"id":"python-7224939c66652c41","kind":"python_callable","current_path":"perovskite-sim/backend/celery_app.py","route_id":"route-ed2463e7dc9ab7d3","origin_key":"python:backend.celery_app.run_impedance_task","qualified_name":"backend.celery_app.run_impedance_task","visibility":"public","evidence_level":"source_static"}, +{"id":"python-f682e05bcaf4323a","kind":"python_callable","current_path":"perovskite-sim/backend/celery_app.py","route_id":"route-ed2463e7dc9ab7d3","origin_key":"python:backend.celery_app.run_jv_task","qualified_name":"backend.celery_app.run_jv_task","visibility":"public","evidence_level":"source_static"}, +{"id":"python-65c601cba2aab72f","kind":"python_class","current_path":"perovskite-sim/backend/jobs.py","route_id":"route-3a78de72720cb482","origin_key":"python:backend.jobs.Job","qualified_name":"backend.jobs.Job","visibility":"public","evidence_level":"source_static"}, +{"id":"python-645fdb612c9e6179","kind":"python_class","current_path":"perovskite-sim/backend/jobs.py","route_id":"route-3a78de72720cb482","origin_key":"python:backend.jobs.JobRegistry","qualified_name":"backend.jobs.JobRegistry","visibility":"public","evidence_level":"source_static"}, +{"id":"python-e06525cfa2d9f43d","kind":"python_callable","current_path":"perovskite-sim/backend/jobs.py","route_id":"route-3a78de72720cb482","origin_key":"python:backend.jobs.JobRegistry.__init__","qualified_name":"backend.jobs.JobRegistry.__init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-a655763ad95d7b66","kind":"python_callable","current_path":"perovskite-sim/backend/jobs.py","route_id":"route-3a78de72720cb482","origin_key":"python:backend.jobs.JobRegistry.next_event","qualified_name":"backend.jobs.JobRegistry.next_event","visibility":"public","evidence_level":"source_static"}, +{"id":"python-df010df45332db25","kind":"python_callable","current_path":"perovskite-sim/backend/jobs.py","route_id":"route-3a78de72720cb482","origin_key":"python:backend.jobs.JobRegistry.status","qualified_name":"backend.jobs.JobRegistry.status","visibility":"public","evidence_level":"source_static"}, +{"id":"python-d72d6fe44bfccab1","kind":"python_callable","current_path":"perovskite-sim/backend/jobs.py","route_id":"route-3a78de72720cb482","origin_key":"python:backend.jobs.JobRegistry.submit","qualified_name":"backend.jobs.JobRegistry.submit","visibility":"public","evidence_level":"source_static"}, +{"id":"python-3ed98dcbf81da134","kind":"python_callable","current_path":"perovskite-sim/backend/jobs.py","route_id":"route-3a78de72720cb482","origin_key":"python:backend.jobs.JobRegistry.wait","qualified_name":"backend.jobs.JobRegistry.wait","visibility":"public","evidence_level":"source_static"}, +{"id":"python-0834fa4c546ad5a6","kind":"python_class","current_path":"perovskite-sim/backend/jobs.py","route_id":"route-3a78de72720cb482","origin_key":"python:backend.jobs.JobStatus","qualified_name":"backend.jobs.JobStatus","visibility":"public","evidence_level":"source_static"}, +{"id":"python-62ad79cd30b8ce1c","kind":"python_class","current_path":"perovskite-sim/backend/jobs.py","route_id":"route-3a78de72720cb482","origin_key":"python:backend.jobs._DrainTimeout","qualified_name":"backend.jobs._DrainTimeout","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-dd70865857b2342d","kind":"python_class","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"python:backend.main.DegRequest","qualified_name":"backend.main.DegRequest","visibility":"public","evidence_level":"source_static"}, +{"id":"python-ca9c3f34d521a14d","kind":"python_class","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"python:backend.main.DynamicDefectTransientRequest","qualified_name":"backend.main.DynamicDefectTransientRequest","visibility":"public","evidence_level":"source_static"}, +{"id":"python-baa2e49c35edfda6","kind":"python_class","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"python:backend.main.ElectrothermalOperatingPointRequest","qualified_name":"backend.main.ElectrothermalOperatingPointRequest","visibility":"public","evidence_level":"source_static"}, +{"id":"python-dc66f491f3f6be94","kind":"python_class","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"python:backend.main.ExternalCircuitJVRequest","qualified_name":"backend.main.ExternalCircuitJVRequest","visibility":"public","evidence_level":"source_static"}, +{"id":"python-f608aaaf70e3ec0e","kind":"python_class","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"python:backend.main.ISRequest","qualified_name":"backend.main.ISRequest","visibility":"public","evidence_level":"source_static"}, +{"id":"python-b044353ca17700bf","kind":"python_class","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"python:backend.main.InterfaceChargeContactEvidence","qualified_name":"backend.main.InterfaceChargeContactEvidence","visibility":"public","evidence_level":"source_static"}, +{"id":"python-6d0550e2ca524b9f","kind":"python_class","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"python:backend.main.InterfaceChargeDarkReferenceEvidence","qualified_name":"backend.main.InterfaceChargeDarkReferenceEvidence","visibility":"public","evidence_level":"source_static"}, +{"id":"python-0aecf16f63fc22a7","kind":"python_class","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"python:backend.main.InterfaceChargeOperatingPointEvidence","qualified_name":"backend.main.InterfaceChargeOperatingPointEvidence","visibility":"public","evidence_level":"source_static"}, +{"id":"python-37aaa44e1e7f0409","kind":"python_class","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"python:backend.main.InterfaceChargePerInterfaceEvidence","qualified_name":"backend.main.InterfaceChargePerInterfaceEvidence","visibility":"public","evidence_level":"source_static"}, +{"id":"python-d526f90a544ea7fd","kind":"python_class","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"python:backend.main.InterfaceChargeResearchProvenance","qualified_name":"backend.main.InterfaceChargeResearchProvenance","visibility":"public","evidence_level":"source_static"}, +{"id":"python-f8245b6f439b6e8d","kind":"python_class","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"python:backend.main.InterfaceChargeSolverControlsEvidence","qualified_name":"backend.main.InterfaceChargeSolverControlsEvidence","visibility":"public","evidence_level":"source_static"}, +{"id":"python-292e57d48625b679","kind":"python_class","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"python:backend.main.InterfaceChargeSteadyStateResearchRequest","qualified_name":"backend.main.InterfaceChargeSteadyStateResearchRequest","visibility":"public","evidence_level":"source_static"}, +{"id":"python-e9d800f3bd7b9d74","kind":"python_class","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"python:backend.main.InterfaceChargeSteadyStateResearchResponse","qualified_name":"backend.main.InterfaceChargeSteadyStateResearchResponse","visibility":"public","evidence_level":"source_static"}, +{"id":"python-e3deba9ee3d46c81","kind":"python_class","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"python:backend.main.InterfaceChargeSteadyStateResearchResult","qualified_name":"backend.main.InterfaceChargeSteadyStateResearchResult","visibility":"public","evidence_level":"source_static"}, +{"id":"python-431e1b4b99d64ad5","kind":"python_class","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"python:backend.main.InterfaceSRHIdentifiabilityRequest","qualified_name":"backend.main.InterfaceSRHIdentifiabilityRequest","visibility":"public","evidence_level":"source_static"}, +{"id":"python-6502ddc278ce5651","kind":"python_class","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"python:backend.main.JVRequest","qualified_name":"backend.main.JVRequest","visibility":"public","evidence_level":"source_static"}, +{"id":"python-d9e56c5d6b3ac49a","kind":"python_class","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"python:backend.main.JobRequest","qualified_name":"backend.main.JobRequest","visibility":"public","evidence_level":"source_static"}, +{"id":"python-986b72205fdc7ded","kind":"python_class","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"python:backend.main.TandemRequest","qualified_name":"backend.main.TandemRequest","visibility":"public","evidence_level":"source_static"}, +{"id":"python-88dac9f84d758f1f","kind":"python_class","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"python:backend.main.UserConfigPayload","qualified_name":"backend.main.UserConfigPayload","visibility":"public","evidence_level":"source_static"}, +{"id":"python-8a69dfa30081c977","kind":"python_callable","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"python:backend.main._backend_research_array_sha256","qualified_name":"backend.main._backend_research_array_sha256","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-92aed4d6c27d1bfa","kind":"python_callable","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"python:backend.main._build_interface_charge_research_result","qualified_name":"backend.main._build_interface_charge_research_result","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-e7024dc6b5c06d86","kind":"python_callable","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"python:backend.main._coerce_numbers","qualified_name":"backend.main._coerce_numbers","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-90434b3e0ef0ff1d","kind":"python_callable","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"python:backend.main._config_dict_from_path","qualified_name":"backend.main._config_dict_from_path","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-4f209909c747e9e1","kind":"python_callable","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"python:backend.main._describe_active_physics","qualified_name":"backend.main._describe_active_physics","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-a6462e61c860c6b2","kind":"python_callable","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"python:backend.main._flag","qualified_name":"backend.main._flag","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-13bbe838ff7acee2","kind":"python_callable","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"python:backend.main._interface_charge_research_solver_controls","qualified_name":"backend.main._interface_charge_research_solver_controls","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-9662abba984db5f9","kind":"python_callable","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"python:backend.main._is_scaps_schema","qualified_name":"backend.main._is_scaps_schema","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-9ee84961edccc4a1","kind":"python_callable","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"python:backend.main._load_stack","qualified_name":"backend.main._load_stack","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-543d7d74d6af442b","kind":"python_callable","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"python:backend.main._opt_S","qualified_name":"backend.main._opt_S","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-051fa83cc477ad81","kind":"python_callable","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"python:backend.main._parse_experiment_protocol","qualified_name":"backend.main._parse_experiment_protocol","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-bfcdfd74c95117fc","kind":"python_callable","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"python:backend.main._parse_jv_waveform","qualified_name":"backend.main._parse_jv_waveform","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-dc7aee46d77cf628","kind":"python_callable","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"python:backend.main._parse_protocol_inputs","qualified_name":"backend.main._parse_protocol_inputs","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-8de7060d5200f238","kind":"python_callable","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"python:backend.main._preflight_job_experiment_protocol","qualified_name":"backend.main._preflight_job_experiment_protocol","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-1cf41ae707bd7cd9","kind":"python_callable","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"python:backend.main._require_interface_charge_research_stack","qualified_name":"backend.main._require_interface_charge_research_stack","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-767e1ac9b8730a13","kind":"python_callable","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"python:backend.main._require_research_sha256","qualified_name":"backend.main._require_research_sha256","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-4668cbc097048229","kind":"python_callable","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"python:backend.main._resolve_dynamic_defect_impedance_protocol","qualified_name":"backend.main._resolve_dynamic_defect_impedance_protocol","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-a5647176b0c3dfbc","kind":"python_callable","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"python:backend.main._resolve_dynamic_defect_transient_protocol","qualified_name":"backend.main._resolve_dynamic_defect_transient_protocol","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-6f137002b336a4a4","kind":"python_callable","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"python:backend.main._resolve_interface_charge_jv_protocol","qualified_name":"backend.main._resolve_interface_charge_jv_protocol","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-29c3b21cbe0eba34","kind":"python_callable","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"python:backend.main._run_jv_dispatch","qualified_name":"backend.main._run_jv_dispatch","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-8d1449c3de89a59e","kind":"python_callable","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"python:backend.main._stack_to_config_dict","qualified_name":"backend.main._stack_to_config_dict","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-f937c8cc77a1fa73","kind":"python_callable","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"python:backend.main._summarize_qf_bulk_defect_evidence","qualified_name":"backend.main._summarize_qf_bulk_defect_evidence","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-fc08bd8e91367326","kind":"python_callable","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"python:backend.main._waveform_result_metadata","qualified_name":"backend.main._waveform_result_metadata","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-378229c7818f7f4f","kind":"python_callable","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"python:backend.main.build_dynamic_defect_transient_stack","qualified_name":"backend.main.build_dynamic_defect_transient_stack","visibility":"public","evidence_level":"source_static"}, +{"id":"python-ce407f60572aae3b","kind":"python_callable","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"python:backend.main.build_interface_charge_research_stack","qualified_name":"backend.main.build_interface_charge_research_stack","visibility":"public","evidence_level":"source_static"}, +{"id":"python-53535a5085e7d2f8","kind":"python_callable","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"python:backend.main.build_jv_stack","qualified_name":"backend.main.build_jv_stack","visibility":"public","evidence_level":"source_static"}, +{"id":"python-69a2e25131c54370","kind":"python_callable","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"python:backend.main.build_stack","qualified_name":"backend.main.build_stack","visibility":"public","evidence_level":"source_static"}, +{"id":"python-4e053f4ed9375224","kind":"python_callable","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"python:backend.main.get_config","qualified_name":"backend.main.get_config","visibility":"public","evidence_level":"source_static"}, +{"id":"python-34593d4e14f56330","kind":"python_callable","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"python:backend.main.job_events","qualified_name":"backend.main.job_events","visibility":"public","evidence_level":"source_static"}, +{"id":"python-0281c32b79520043","kind":"python_callable","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"python:backend.main.list_configs","qualified_name":"backend.main.list_configs","visibility":"public","evidence_level":"source_static"}, +{"id":"python-e921aa805ff3d526","kind":"python_callable","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"python:backend.main.list_layer_templates","qualified_name":"backend.main.list_layer_templates","visibility":"public","evidence_level":"source_static"}, +{"id":"python-7a765fdcffc2e717","kind":"python_callable","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"python:backend.main.list_optical_materials","qualified_name":"backend.main.list_optical_materials","visibility":"public","evidence_level":"source_static"}, +{"id":"python-1d535c207e583289","kind":"python_callable","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"python:backend.main.resolve_config_path","qualified_name":"backend.main.resolve_config_path","visibility":"public","evidence_level":"source_static"}, +{"id":"python-3c5067e85553e4f7","kind":"python_callable","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"python:backend.main.run_degradation_api","qualified_name":"backend.main.run_degradation_api","visibility":"public","evidence_level":"source_static"}, +{"id":"python-5d6830e7f4679531","kind":"python_callable","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"python:backend.main.run_dynamic_defect_transient_api","qualified_name":"backend.main.run_dynamic_defect_transient_api","visibility":"public","evidence_level":"source_static"}, +{"id":"python-02dace9ce4486f18","kind":"python_callable","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"python:backend.main.run_electrothermal_operating_point","qualified_name":"backend.main.run_electrothermal_operating_point","visibility":"public","evidence_level":"source_static"}, +{"id":"python-f2eeb8a527799aea","kind":"python_callable","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"python:backend.main.run_external_circuit_jv","qualified_name":"backend.main.run_external_circuit_jv","visibility":"public","evidence_level":"source_static"}, +{"id":"python-d0a58bdcd9180b06","kind":"python_callable","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"python:backend.main.run_impedance_api","qualified_name":"backend.main.run_impedance_api","visibility":"public","evidence_level":"source_static"}, +{"id":"python-10465cadcf218681","kind":"python_callable","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"python:backend.main.run_interface_charge_steady_state_research","qualified_name":"backend.main.run_interface_charge_steady_state_research","visibility":"public","evidence_level":"source_static"}, +{"id":"python-8e9b65e645ae6d25","kind":"python_callable","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"python:backend.main.run_interface_srh_identifiability","qualified_name":"backend.main.run_interface_srh_identifiability","visibility":"public","evidence_level":"source_static"}, +{"id":"python-f469c4475fd82dd7","kind":"python_callable","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"python:backend.main.run_jv","qualified_name":"backend.main.run_jv","visibility":"public","evidence_level":"source_static"}, +{"id":"python-be443f03a189a11e","kind":"python_callable","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"python:backend.main.run_tandem","qualified_name":"backend.main.run_tandem","visibility":"public","evidence_level":"source_static"}, +{"id":"python-502b6c2ba463d697","kind":"python_callable","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"python:backend.main.save_user_config","qualified_name":"backend.main.save_user_config","visibility":"public","evidence_level":"source_static"}, +{"id":"python-7a60a0e9395f840f","kind":"python_callable","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"python:backend.main.stack_from_dict","qualified_name":"backend.main.stack_from_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-ac86bdc5dca6ce87","kind":"python_callable","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"python:backend.main.start_job","qualified_name":"backend.main.start_job","visibility":"public","evidence_level":"source_static"}, +{"id":"python-c1df751947d1e149","kind":"python_callable","current_path":"perovskite-sim/backend/main.py","route_id":"route-7c9291c36e038114","origin_key":"python:backend.main.to_serializable","qualified_name":"backend.main.to_serializable","visibility":"public","evidence_level":"source_static"}, +{"id":"python-f499a1e9fd86bc59","kind":"python_class","current_path":"perovskite-sim/backend/progress.py","route_id":"route-3a78de72720cb482","origin_key":"python:backend.progress.ProgressEvent","qualified_name":"backend.progress.ProgressEvent","visibility":"public","evidence_level":"source_static"}, +{"id":"python-41be80c762034148","kind":"python_class","current_path":"perovskite-sim/backend/progress.py","route_id":"route-3a78de72720cb482","origin_key":"python:backend.progress.ProgressReporter","qualified_name":"backend.progress.ProgressReporter","visibility":"public","evidence_level":"source_static"}, +{"id":"python-2f3cc9460e6e2571","kind":"python_callable","current_path":"perovskite-sim/backend/progress.py","route_id":"route-3a78de72720cb482","origin_key":"python:backend.progress.ProgressReporter.__init__","qualified_name":"backend.progress.ProgressReporter.__init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-962042d5b9e9c1e7","kind":"python_callable","current_path":"perovskite-sim/backend/progress.py","route_id":"route-3a78de72720cb482","origin_key":"python:backend.progress.ProgressReporter.drain","qualified_name":"backend.progress.ProgressReporter.drain","visibility":"public","evidence_level":"source_static"}, +{"id":"python-9ad49b00f55166c8","kind":"python_callable","current_path":"perovskite-sim/backend/progress.py","route_id":"route-3a78de72720cb482","origin_key":"python:backend.progress.ProgressReporter.finish","qualified_name":"backend.progress.ProgressReporter.finish","visibility":"public","evidence_level":"source_static"}, +{"id":"python-7e068d6ca0a85b97","kind":"python_callable","current_path":"perovskite-sim/backend/progress.py","route_id":"route-3a78de72720cb482","origin_key":"python:backend.progress.ProgressReporter.report","qualified_name":"backend.progress.ProgressReporter.report","visibility":"public","evidence_level":"source_static"}, +{"id":"python-7719fb2e70d1fdb1","kind":"python_callable","current_path":"perovskite-sim/backend/user_configs.py","route_id":"route-0f115e12b65bb761","origin_key":"python:backend.user_configs.is_shipped_name","qualified_name":"backend.user_configs.is_shipped_name","visibility":"public","evidence_level":"source_static"}, +{"id":"python-a72de5257891e63b","kind":"python_callable","current_path":"perovskite-sim/backend/user_configs.py","route_id":"route-0f115e12b65bb761","origin_key":"python:backend.user_configs.list_user_configs","qualified_name":"backend.user_configs.list_user_configs","visibility":"public","evidence_level":"source_static"}, +{"id":"python-f785bc55bd7c0899","kind":"python_callable","current_path":"perovskite-sim/backend/user_configs.py","route_id":"route-0f115e12b65bb761","origin_key":"python:backend.user_configs.validate_user_filename","qualified_name":"backend.user_configs.validate_user_filename","visibility":"public","evidence_level":"source_static"}, +{"id":"python-28188daa6a463e8d","kind":"python_callable","current_path":"perovskite-sim/backend/user_configs.py","route_id":"route-0f115e12b65bb761","origin_key":"python:backend.user_configs.write_user_config","qualified_name":"backend.user_configs.write_user_config","visibility":"public","evidence_level":"source_static"}, +{"id":"python-2af65352b2198e60","kind":"python_callable","current_path":"perovskite-sim/notebooks/ComprehensiveBenchmark.py","route_id":"route-be01cae2a69ff3c8","origin_key":"python:notebooks.ComprehensiveBenchmark.check","qualified_name":"notebooks.ComprehensiveBenchmark.check","visibility":"public","evidence_level":"source_static"}, +{"id":"python-233bf6a288a7f515","kind":"python_callable","current_path":"perovskite-sim/notebooks/ComprehensiveBenchmark.py","route_id":"route-be01cae2a69ff3c8","origin_key":"python:notebooks.ComprehensiveBenchmark.modify_absorber","qualified_name":"notebooks.ComprehensiveBenchmark.modify_absorber","visibility":"public","evidence_level":"source_static"}, +{"id":"python-c135aa0bd909382d","kind":"python_callable","current_path":"perovskite-sim/notebooks/ComprehensiveBenchmark.py","route_id":"route-be01cae2a69ff3c8","origin_key":"python:notebooks.ComprehensiveBenchmark.quick_metrics","qualified_name":"notebooks.ComprehensiveBenchmark.quick_metrics","visibility":"public","evidence_level":"source_static"}, +{"id":"python-decce9a00b71079a","kind":"python_callable","current_path":"perovskite-sim/notebooks/E2eNotebookVsApi.py","route_id":"route-254d9d38890af92a","origin_key":"python:notebooks.E2eNotebookVsApi.arrays_match","qualified_name":"notebooks.E2eNotebookVsApi.arrays_match","visibility":"public","evidence_level":"source_static"}, +{"id":"python-1c0e4fd2b3928b75","kind":"python_callable","current_path":"perovskite-sim/notebooks/E2eNotebookVsApi.py","route_id":"route-254d9d38890af92a","origin_key":"python:notebooks.E2eNotebookVsApi.check","qualified_name":"notebooks.E2eNotebookVsApi.check","visibility":"public","evidence_level":"source_static"}, +{"id":"python-9d85d07ebd9315c8","kind":"python_callable","current_path":"perovskite-sim/notebooks/Phase2CharacterisationBenchmark.py","route_id":"route-b60fff3c38c1ca76","origin_key":"python:notebooks.Phase2CharacterisationBenchmark.banner","qualified_name":"notebooks.Phase2CharacterisationBenchmark.banner","visibility":"public","evidence_level":"source_static"}, +{"id":"python-3babf4eb5d5e28bb","kind":"python_callable","current_path":"perovskite-sim/notebooks/Phase2CharacterisationBenchmark.py","route_id":"route-b60fff3c38c1ca76","origin_key":"python:notebooks.Phase2CharacterisationBenchmark.check","qualified_name":"notebooks.Phase2CharacterisationBenchmark.check","visibility":"public","evidence_level":"source_static"}, +{"id":"python-2b8e4ab455171d46","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/_compat/numpy_compat.py","route_id":"route-1099ec0833036140","origin_key":"python:perovskite_sim._compat.numpy_compat.trapezoid","qualified_name":"perovskite_sim._compat.numpy_compat.trapezoid","visibility":"public","evidence_level":"source_static"}, +{"id":"python-489d2ba01264fbd5","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/_compat/scipy_shim.py","route_id":"route-3edbcca23dc45d5b","origin_key":"python:perovskite_sim._compat.scipy_shim.OdeResult","qualified_name":"perovskite_sim._compat.scipy_shim.OdeResult","visibility":"public","evidence_level":"source_static"}, +{"id":"python-bd03f376582ef6ba","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/_compat/scipy_shim.py","route_id":"route-3edbcca23dc45d5b","origin_key":"python:perovskite_sim._compat.scipy_shim._compute_jacobian","qualified_name":"perovskite_sim._compat.scipy_shim._compute_jacobian","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-ac67251afcd3e806","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/_compat/scipy_shim.py","route_id":"route-3edbcca23dc45d5b","origin_key":"python:perovskite_sim._compat.scipy_shim.diags","qualified_name":"perovskite_sim._compat.scipy_shim.diags","visibility":"public","evidence_level":"source_static"}, +{"id":"python-d40325a930df620f","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/_compat/scipy_shim.py","route_id":"route-3edbcca23dc45d5b","origin_key":"python:perovskite_sim._compat.scipy_shim.solve_ivp","qualified_name":"perovskite_sim._compat.scipy_shim.solve_ivp","visibility":"public","evidence_level":"source_static"}, +{"id":"python-d18a74ee86c2ddf9","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/_compat/scipy_shim.py","route_id":"route-3edbcca23dc45d5b","origin_key":"python:perovskite_sim._compat.scipy_shim.spsolve","qualified_name":"perovskite_sim._compat.scipy_shim.spsolve","visibility":"public","evidence_level":"source_static"}, +{"id":"python-77a35802f7822c1a","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/data/__init__.py","route_id":"route-c4ebf2c9549ec81b","origin_key":"python:perovskite_sim.data.load_am15g","qualified_name":"perovskite_sim.data.load_am15g","visibility":"public","evidence_level":"source_static"}, +{"id":"python-f414e78fc34e790a","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/data/__init__.py","route_id":"route-c4ebf2c9549ec81b","origin_key":"python:perovskite_sim.data.load_nk","qualified_name":"perovskite_sim.data.load_nk","visibility":"public","evidence_level":"source_static"}, +{"id":"python-041f472513404f4d","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/discretization/fe_operators.py","route_id":"route-bc24ba6e5b566e2e","origin_key":"python:perovskite_sim.discretization.fe_operators.ScharfetterGummelFaceJacobian","qualified_name":"perovskite_sim.discretization.fe_operators.ScharfetterGummelFaceJacobian","visibility":"public","evidence_level":"source_static"}, +{"id":"python-f1999681acd481bb","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/discretization/fe_operators.py","route_id":"route-bc24ba6e5b566e2e","origin_key":"python:perovskite_sim.discretization.fe_operators._validate_sg_jacobian_inputs","qualified_name":"perovskite_sim.discretization.fe_operators._validate_sg_jacobian_inputs","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-fbd470b37ddbf20a","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/discretization/fe_operators.py","route_id":"route-bc24ba6e5b566e2e","origin_key":"python:perovskite_sim.discretization.fe_operators.bernoulli","qualified_name":"perovskite_sim.discretization.fe_operators.bernoulli","visibility":"public","evidence_level":"source_static"}, +{"id":"python-17bd90a55464bfd5","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/discretization/fe_operators.py","route_id":"route-bc24ba6e5b566e2e","origin_key":"python:perovskite_sim.discretization.fe_operators.bernoulli_derivative","qualified_name":"perovskite_sim.discretization.fe_operators.bernoulli_derivative","visibility":"public","evidence_level":"source_static"}, +{"id":"python-28c5f0cb8030b500","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/discretization/fe_operators.py","route_id":"route-bc24ba6e5b566e2e","origin_key":"python:perovskite_sim.discretization.fe_operators.sg_flux_n","qualified_name":"perovskite_sim.discretization.fe_operators.sg_flux_n","visibility":"public","evidence_level":"source_static"}, +{"id":"python-1b71dfe225bc022e","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/discretization/fe_operators.py","route_id":"route-bc24ba6e5b566e2e","origin_key":"python:perovskite_sim.discretization.fe_operators.sg_flux_p","qualified_name":"perovskite_sim.discretization.fe_operators.sg_flux_p","visibility":"public","evidence_level":"source_static"}, +{"id":"python-d5f5c663d911219f","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/discretization/fe_operators.py","route_id":"route-bc24ba6e5b566e2e","origin_key":"python:perovskite_sim.discretization.fe_operators.sg_fluxes_n","qualified_name":"perovskite_sim.discretization.fe_operators.sg_fluxes_n","visibility":"public","evidence_level":"source_static"}, +{"id":"python-84b567ef430b3bdc","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/discretization/fe_operators.py","route_id":"route-bc24ba6e5b566e2e","origin_key":"python:perovskite_sim.discretization.fe_operators.sg_fluxes_n_jacobian","qualified_name":"perovskite_sim.discretization.fe_operators.sg_fluxes_n_jacobian","visibility":"public","evidence_level":"source_static"}, +{"id":"python-32c70fd4d6d63088","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/discretization/fe_operators.py","route_id":"route-bc24ba6e5b566e2e","origin_key":"python:perovskite_sim.discretization.fe_operators.sg_fluxes_p","qualified_name":"perovskite_sim.discretization.fe_operators.sg_fluxes_p","visibility":"public","evidence_level":"source_static"}, +{"id":"python-f135a3f47d0013bc","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/discretization/fe_operators.py","route_id":"route-bc24ba6e5b566e2e","origin_key":"python:perovskite_sim.discretization.fe_operators.sg_fluxes_p_jacobian","qualified_name":"perovskite_sim.discretization.fe_operators.sg_fluxes_p_jacobian","visibility":"public","evidence_level":"source_static"}, +{"id":"python-bb5393dcb02470a4","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/discretization/fe_operators.py","route_id":"route-bc24ba6e5b566e2e","origin_key":"python:perovskite_sim.discretization.fe_operators.thermionic_emission_flux","qualified_name":"perovskite_sim.discretization.fe_operators.thermionic_emission_flux","visibility":"public","evidence_level":"source_static"}, +{"id":"python-9049e208f24114de","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/discretization/grid.py","route_id":"route-8aeaca6e3aa45fbb","origin_key":"python:perovskite_sim.discretization.grid.GridResolutionError","qualified_name":"perovskite_sim.discretization.grid.GridResolutionError","visibility":"public","evidence_level":"source_static"}, +{"id":"python-5f8e30204a54a2f6","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/discretization/grid.py","route_id":"route-8aeaca6e3aa45fbb","origin_key":"python:perovskite_sim.discretization.grid.GridResolutionError.__init__","qualified_name":"perovskite_sim.discretization.grid.GridResolutionError.__init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-7f852e031b844c08","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/discretization/grid.py","route_id":"route-8aeaca6e3aa45fbb","origin_key":"python:perovskite_sim.discretization.grid.InterfaceGridDiagnostic","qualified_name":"perovskite_sim.discretization.grid.InterfaceGridDiagnostic","visibility":"public","evidence_level":"source_static"}, +{"id":"python-dd42f69d4a7fe52f","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/discretization/grid.py","route_id":"route-8aeaca6e3aa45fbb","origin_key":"python:perovskite_sim.discretization.grid.Layer","qualified_name":"perovskite_sim.discretization.grid.Layer","visibility":"public","evidence_level":"source_static"}, +{"id":"python-e123aa5a77031d9a","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/discretization/grid.py","route_id":"route-8aeaca6e3aa45fbb","origin_key":"python:perovskite_sim.discretization.grid._layer_debye_length","qualified_name":"perovskite_sim.discretization.grid._layer_debye_length","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-0068376111924fe0","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/discretization/grid.py","route_id":"route-8aeaca6e3aa45fbb","origin_key":"python:perovskite_sim.discretization.grid._solver_intrinsic_density_at_endpoint","qualified_name":"perovskite_sim.discretization.grid._solver_intrinsic_density_at_endpoint","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-21b5c8a747dff44d","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/discretization/grid.py","route_id":"route-8aeaca6e3aa45fbb","origin_key":"python:perovskite_sim.discretization.grid.interface_grid_diagnostics","qualified_name":"perovskite_sim.discretization.grid.interface_grid_diagnostics","visibility":"public","evidence_level":"source_static"}, +{"id":"python-b990d1dd6cc307f4","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/discretization/grid.py","route_id":"route-8aeaca6e3aa45fbb","origin_key":"python:perovskite_sim.discretization.grid.multilayer_grid","qualified_name":"perovskite_sim.discretization.grid.multilayer_grid","visibility":"public","evidence_level":"source_static"}, +{"id":"python-04696e18bc9aa3f3","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/discretization/grid.py","route_id":"route-8aeaca6e3aa45fbb","origin_key":"python:perovskite_sim.discretization.grid.require_thick_layer_interface_resolution","qualified_name":"perovskite_sim.discretization.grid.require_thick_layer_interface_resolution","visibility":"public","evidence_level":"source_static"}, +{"id":"python-f561b56e16019088","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/discretization/grid.py","route_id":"route-8aeaca6e3aa45fbb","origin_key":"python:perovskite_sim.discretization.grid.tanh_grid","qualified_name":"perovskite_sim.discretization.grid.tanh_grid","visibility":"public","evidence_level":"source_static"}, +{"id":"python-ada8310eac68a5c6","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/band_diagram.py","route_id":"route-5ca82577dfe50181","origin_key":"python:perovskite_sim.experiments.band_diagram.BandDiagram","qualified_name":"perovskite_sim.experiments.band_diagram.BandDiagram","visibility":"public","evidence_level":"source_static"}, +{"id":"python-d83801a820665e7e","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/band_diagram.py","route_id":"route-5ca82577dfe50181","origin_key":"python:perovskite_sim.experiments.band_diagram._node_band_params","qualified_name":"perovskite_sim.experiments.band_diagram._node_band_params","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-8e64690ed75d3a6a","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/band_diagram.py","route_id":"route-5ca82577dfe50181","origin_key":"python:perovskite_sim.experiments.band_diagram.compute_band_diagram","qualified_name":"perovskite_sim.experiments.band_diagram.compute_band_diagram","visibility":"public","evidence_level":"source_static"}, +{"id":"python-cd67003ffeb0412b","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/bulk_defect_ion_transient.py","route_id":"route-6099117639558322","origin_key":"python:perovskite_sim.experiments.bulk_defect_ion_transient.BulkDefectIonTransientCertificate","qualified_name":"perovskite_sim.experiments.bulk_defect_ion_transient.BulkDefectIonTransientCertificate","visibility":"public","evidence_level":"source_static"}, +{"id":"python-745b7bec5550d84d","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/bulk_defect_ion_transient.py","route_id":"route-6099117639558322","origin_key":"python:perovskite_sim.experiments.bulk_defect_ion_transient.BulkDefectIonTransientCertificationError","qualified_name":"perovskite_sim.experiments.bulk_defect_ion_transient.BulkDefectIonTransientCertificationError","visibility":"public","evidence_level":"source_static"}, +{"id":"python-9537234158b34438","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/bulk_defect_ion_transient.py","route_id":"route-6099117639558322","origin_key":"python:perovskite_sim.experiments.bulk_defect_ion_transient.BulkDefectIonTransientCertificationError.__init__","qualified_name":"perovskite_sim.experiments.bulk_defect_ion_transient.BulkDefectIonTransientCertificationError.__init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-e7b3eedf8b891907","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/bulk_defect_ion_transient.py","route_id":"route-6099117639558322","origin_key":"python:perovskite_sim.experiments.bulk_defect_ion_transient.BulkDefectIonTransientError","qualified_name":"perovskite_sim.experiments.bulk_defect_ion_transient.BulkDefectIonTransientError","visibility":"public","evidence_level":"source_static"}, +{"id":"python-60ae78ca7b027b3e","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/bulk_defect_ion_transient.py","route_id":"route-6099117639558322","origin_key":"python:perovskite_sim.experiments.bulk_defect_ion_transient.BulkDefectIonTransientPolicy","qualified_name":"perovskite_sim.experiments.bulk_defect_ion_transient.BulkDefectIonTransientPolicy","visibility":"public","evidence_level":"source_static"}, +{"id":"python-46041a1c3169b844","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/bulk_defect_ion_transient.py","route_id":"route-6099117639558322","origin_key":"python:perovskite_sim.experiments.bulk_defect_ion_transient.BulkDefectIonTransientPolicy.__post_init__","qualified_name":"perovskite_sim.experiments.bulk_defect_ion_transient.BulkDefectIonTransientPolicy.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-fd75abcbf1630f75","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/bulk_defect_ion_transient.py","route_id":"route-6099117639558322","origin_key":"python:perovskite_sim.experiments.bulk_defect_ion_transient.BulkDefectIonTransientResult","qualified_name":"perovskite_sim.experiments.bulk_defect_ion_transient.BulkDefectIonTransientResult","visibility":"public","evidence_level":"source_static"}, +{"id":"python-01c335a75ca75751","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/bulk_defect_ion_transient.py","route_id":"route-6099117639558322","origin_key":"python:perovskite_sim.experiments.bulk_defect_ion_transient.BulkDefectIonTransientResult.__post_init__","qualified_name":"perovskite_sim.experiments.bulk_defect_ion_transient.BulkDefectIonTransientResult.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-e04fded3f83ea71e","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/bulk_defect_ion_transient.py","route_id":"route-6099117639558322","origin_key":"python:perovskite_sim.experiments.bulk_defect_ion_transient._BulkIonDeviceState","qualified_name":"perovskite_sim.experiments.bulk_defect_ion_transient._BulkIonDeviceState","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-168eda8ff7b4ba2c","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/bulk_defect_ion_transient.py","route_id":"route-6099117639558322","origin_key":"python:perovskite_sim.experiments.bulk_defect_ion_transient._BulkIonTransientSystem","qualified_name":"perovskite_sim.experiments.bulk_defect_ion_transient._BulkIonTransientSystem","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-7cc54d7ceb903fd6","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/bulk_defect_ion_transient.py","route_id":"route-6099117639558322","origin_key":"python:perovskite_sim.experiments.bulk_defect_ion_transient._BulkIonTransientSystem.__init__","qualified_name":"perovskite_sim.experiments.bulk_defect_ion_transient._BulkIonTransientSystem.__init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-203ace1eb6af8a34","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/bulk_defect_ion_transient.py","route_id":"route-6099117639558322","origin_key":"python:perovskite_sim.experiments.bulk_defect_ion_transient._BulkIonTransientSystem._density_jacobian","qualified_name":"perovskite_sim.experiments.bulk_defect_ion_transient._BulkIonTransientSystem._density_jacobian","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-da5578ef39c4e7a9","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/bulk_defect_ion_transient.py","route_id":"route-6099117639558322","origin_key":"python:perovskite_sim.experiments.bulk_defect_ion_transient._BulkIonTransientSystem._ion_coordinates","qualified_name":"perovskite_sim.experiments.bulk_defect_ion_transient._BulkIonTransientSystem._ion_coordinates","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-2e2e0bd64928b4ca","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/bulk_defect_ion_transient.py","route_id":"route-6099117639558322","origin_key":"python:perovskite_sim.experiments.bulk_defect_ion_transient._BulkIonTransientSystem._ion_jacobians","qualified_name":"perovskite_sim.experiments.bulk_defect_ion_transient._BulkIonTransientSystem._ion_jacobians","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-b06ed7b1abbfe244","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/bulk_defect_ion_transient.py","route_id":"route-6099117639558322","origin_key":"python:perovskite_sim.experiments.bulk_defect_ion_transient._BulkIonTransientSystem._relative","qualified_name":"perovskite_sim.experiments.bulk_defect_ion_transient._BulkIonTransientSystem._relative","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-d16b0b44fa985fcc","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/bulk_defect_ion_transient.py","route_id":"route-6099117639558322","origin_key":"python:perovskite_sim.experiments.bulk_defect_ion_transient._BulkIonTransientSystem._site_fraction","qualified_name":"perovskite_sim.experiments.bulk_defect_ion_transient._BulkIonTransientSystem._site_fraction","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-680e20a8238113e7","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/bulk_defect_ion_transient.py","route_id":"route-6099117639558322","origin_key":"python:perovskite_sim.experiments.bulk_defect_ion_transient._BulkIonTransientSystem.eliminated_operator_error","qualified_name":"perovskite_sim.experiments.bulk_defect_ion_transient._BulkIonTransientSystem.eliminated_operator_error","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-8b7ed9a8dd94f72a","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/bulk_defect_ion_transient.py","route_id":"route-6099117639558322","origin_key":"python:perovskite_sim.experiments.bulk_defect_ion_transient._BulkIonTransientSystem.evaluate","qualified_name":"perovskite_sim.experiments.bulk_defect_ion_transient._BulkIonTransientSystem.evaluate","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-0052f5eee063400c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/bulk_defect_ion_transient.py","route_id":"route-6099117639558322","origin_key":"python:perovskite_sim.experiments.bulk_defect_ion_transient._BulkIonTransientSystem.integrated_charge","qualified_name":"perovskite_sim.experiments.bulk_defect_ion_transient._BulkIonTransientSystem.integrated_charge","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-66b2bf199cb79453","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/bulk_defect_ion_transient.py","route_id":"route-6099117639558322","origin_key":"python:perovskite_sim.experiments.bulk_defect_ion_transient._BulkIonTransientSystem.integrated_charge_increment","qualified_name":"perovskite_sim.experiments.bulk_defect_ion_transient._BulkIonTransientSystem.integrated_charge_increment","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-ec39cb4326d9911b","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/bulk_defect_ion_transient.py","route_id":"route-6099117639558322","origin_key":"python:perovskite_sim.experiments.bulk_defect_ion_transient._BulkIonTransientSystem.storage_increment","qualified_name":"perovskite_sim.experiments.bulk_defect_ion_transient._BulkIonTransientSystem.storage_increment","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-7973986c7cbeead6","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/bulk_defect_ion_transient.py","route_id":"route-6099117639558322","origin_key":"python:perovskite_sim.experiments.bulk_defect_ion_transient._BulkIonTransientSystem.storage_scale","qualified_name":"perovskite_sim.experiments.bulk_defect_ion_transient._BulkIonTransientSystem.storage_scale","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-43bc6c3810fc8a91","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/bulk_defect_ion_transient.py","route_id":"route-6099117639558322","origin_key":"python:perovskite_sim.experiments.bulk_defect_ion_transient._embedding_error","qualified_name":"perovskite_sim.experiments.bulk_defect_ion_transient._embedding_error","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-0647bafba6b348eb","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/bulk_defect_ion_transient.py","route_id":"route-6099117639558322","origin_key":"python:perovskite_sim.experiments.bulk_defect_ion_transient._inventory_drift","qualified_name":"perovskite_sim.experiments.bulk_defect_ion_transient._inventory_drift","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-c2873319b5bf629b","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/bulk_defect_ion_transient.py","route_id":"route-6099117639558322","origin_key":"python:perovskite_sim.experiments.bulk_defect_ion_transient._inventory_trace","qualified_name":"perovskite_sim.experiments.bulk_defect_ion_transient._inventory_trace","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-f3f512fc08d7d1a1","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/bulk_defect_ion_transient.py","route_id":"route-6099117639558322","origin_key":"python:perovskite_sim.experiments.bulk_defect_ion_transient._refinement_changes","qualified_name":"perovskite_sim.experiments.bulk_defect_ion_transient._refinement_changes","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-1dacff53aa7d33b7","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/bulk_defect_ion_transient.py","route_id":"route-6099117639558322","origin_key":"python:perovskite_sim.experiments.bulk_defect_ion_transient.run_bulk_defect_ion_device_transient","qualified_name":"perovskite_sim.experiments.bulk_defect_ion_transient.run_bulk_defect_ion_device_transient","visibility":"public","evidence_level":"source_static"}, +{"id":"python-42bd02319839fe4e","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/bulk_defect_transient.py","route_id":"route-7fdd0a08afe81954","origin_key":"python:perovskite_sim.experiments.bulk_defect_transient.BulkDefectTransientCertificate","qualified_name":"perovskite_sim.experiments.bulk_defect_transient.BulkDefectTransientCertificate","visibility":"public","evidence_level":"source_static"}, +{"id":"python-0d37389f01471cf0","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/bulk_defect_transient.py","route_id":"route-7fdd0a08afe81954","origin_key":"python:perovskite_sim.experiments.bulk_defect_transient.BulkDefectTransientCertificationError","qualified_name":"perovskite_sim.experiments.bulk_defect_transient.BulkDefectTransientCertificationError","visibility":"public","evidence_level":"source_static"}, +{"id":"python-2c382426621e3773","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/bulk_defect_transient.py","route_id":"route-7fdd0a08afe81954","origin_key":"python:perovskite_sim.experiments.bulk_defect_transient.BulkDefectTransientCertificationError.__init__","qualified_name":"perovskite_sim.experiments.bulk_defect_transient.BulkDefectTransientCertificationError.__init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-25f1ea14d556f080","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/bulk_defect_transient.py","route_id":"route-7fdd0a08afe81954","origin_key":"python:perovskite_sim.experiments.bulk_defect_transient.BulkDefectTransientError","qualified_name":"perovskite_sim.experiments.bulk_defect_transient.BulkDefectTransientError","visibility":"public","evidence_level":"source_static"}, +{"id":"python-697fd35cc83259b6","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/bulk_defect_transient.py","route_id":"route-7fdd0a08afe81954","origin_key":"python:perovskite_sim.experiments.bulk_defect_transient.BulkDefectTransientPolicy","qualified_name":"perovskite_sim.experiments.bulk_defect_transient.BulkDefectTransientPolicy","visibility":"public","evidence_level":"source_static"}, +{"id":"python-7899f6d581f7e8fc","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/bulk_defect_transient.py","route_id":"route-7fdd0a08afe81954","origin_key":"python:perovskite_sim.experiments.bulk_defect_transient.BulkDefectTransientPolicy.__post_init__","qualified_name":"perovskite_sim.experiments.bulk_defect_transient.BulkDefectTransientPolicy.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-674b78236c899037","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/bulk_defect_transient.py","route_id":"route-7fdd0a08afe81954","origin_key":"python:perovskite_sim.experiments.bulk_defect_transient.BulkDefectTransientResult","qualified_name":"perovskite_sim.experiments.bulk_defect_transient.BulkDefectTransientResult","visibility":"public","evidence_level":"source_static"}, +{"id":"python-51e01e7c14c47137","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/bulk_defect_transient.py","route_id":"route-7fdd0a08afe81954","origin_key":"python:perovskite_sim.experiments.bulk_defect_transient.BulkDefectTransientResult.__post_init__","qualified_name":"perovskite_sim.experiments.bulk_defect_transient.BulkDefectTransientResult.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-7fcb61f4ef26ae97","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/bulk_defect_transient.py","route_id":"route-7fdd0a08afe81954","origin_key":"python:perovskite_sim.experiments.bulk_defect_transient._BulkTransientSystem","qualified_name":"perovskite_sim.experiments.bulk_defect_transient._BulkTransientSystem","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-9993d7fc28c3b730","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/bulk_defect_transient.py","route_id":"route-7fdd0a08afe81954","origin_key":"python:perovskite_sim.experiments.bulk_defect_transient._BulkTransientSystem.__init__","qualified_name":"perovskite_sim.experiments.bulk_defect_transient._BulkTransientSystem.__init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-c7550ff21035120f","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/bulk_defect_transient.py","route_id":"route-7fdd0a08afe81954","origin_key":"python:perovskite_sim.experiments.bulk_defect_transient._BulkTransientSystem._build_divergence_matrix","qualified_name":"perovskite_sim.experiments.bulk_defect_transient._BulkTransientSystem._build_divergence_matrix","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-1501f10e675c693f","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/bulk_defect_transient.py","route_id":"route-7fdd0a08afe81954","origin_key":"python:perovskite_sim.experiments.bulk_defect_transient._BulkTransientSystem._build_poisson_laplacian","qualified_name":"perovskite_sim.experiments.bulk_defect_transient._BulkTransientSystem._build_poisson_laplacian","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-6f69b91db9812c46","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/bulk_defect_transient.py","route_id":"route-7fdd0a08afe81954","origin_key":"python:perovskite_sim.experiments.bulk_defect_transient._BulkTransientSystem._coordinates","qualified_name":"perovskite_sim.experiments.bulk_defect_transient._BulkTransientSystem._coordinates","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-ae7f324aace7c13c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/bulk_defect_transient.py","route_id":"route-7fdd0a08afe81954","origin_key":"python:perovskite_sim.experiments.bulk_defect_transient._BulkTransientSystem._currents","qualified_name":"perovskite_sim.experiments.bulk_defect_transient._BulkTransientSystem._currents","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-a73c27363f9beae6","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/bulk_defect_transient.py","route_id":"route-7fdd0a08afe81954","origin_key":"python:perovskite_sim.experiments.bulk_defect_transient._BulkTransientSystem._jacobians","qualified_name":"perovskite_sim.experiments.bulk_defect_transient._BulkTransientSystem._jacobians","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-9d44fc9e04ca4a98","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/bulk_defect_transient.py","route_id":"route-7fdd0a08afe81954","origin_key":"python:perovskite_sim.experiments.bulk_defect_transient._BulkTransientSystem._source_and_dynamic","qualified_name":"perovskite_sim.experiments.bulk_defect_transient._BulkTransientSystem._source_and_dynamic","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-729a3c2cc598e500","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/bulk_defect_transient.py","route_id":"route-7fdd0a08afe81954","origin_key":"python:perovskite_sim.experiments.bulk_defect_transient._BulkTransientSystem.charge_balance_metrics","qualified_name":"perovskite_sim.experiments.bulk_defect_transient._BulkTransientSystem.charge_balance_metrics","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-6d29030a24f25963","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/bulk_defect_transient.py","route_id":"route-7fdd0a08afe81954","origin_key":"python:perovskite_sim.experiments.bulk_defect_transient._BulkTransientSystem.eliminated_operator_error","qualified_name":"perovskite_sim.experiments.bulk_defect_transient._BulkTransientSystem.eliminated_operator_error","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-f4e0e3673180685d","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/bulk_defect_transient.py","route_id":"route-7fdd0a08afe81954","origin_key":"python:perovskite_sim.experiments.bulk_defect_transient._BulkTransientSystem.evaluate","qualified_name":"perovskite_sim.experiments.bulk_defect_transient._BulkTransientSystem.evaluate","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-3bdccd805c462b10","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/bulk_defect_transient.py","route_id":"route-7fdd0a08afe81954","origin_key":"python:perovskite_sim.experiments.bulk_defect_transient._BulkTransientSystem.initial_coordinate","qualified_name":"perovskite_sim.experiments.bulk_defect_transient._BulkTransientSystem.initial_coordinate","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-b245628eae009cb5","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/bulk_defect_transient.py","route_id":"route-7fdd0a08afe81954","origin_key":"python:perovskite_sim.experiments.bulk_defect_transient._BulkTransientSystem.integrated_charge","qualified_name":"perovskite_sim.experiments.bulk_defect_transient._BulkTransientSystem.integrated_charge","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-a227c941d82d0cbe","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/bulk_defect_transient.py","route_id":"route-7fdd0a08afe81954","origin_key":"python:perovskite_sim.experiments.bulk_defect_transient._BulkTransientSystem.integrated_charge_increment","qualified_name":"perovskite_sim.experiments.bulk_defect_transient._BulkTransientSystem.integrated_charge_increment","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-a15e6292c65f07cf","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/bulk_defect_transient.py","route_id":"route-7fdd0a08afe81954","origin_key":"python:perovskite_sim.experiments.bulk_defect_transient._BulkTransientSystem.poisson_scale","qualified_name":"perovskite_sim.experiments.bulk_defect_transient._BulkTransientSystem.poisson_scale","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-f2b04bb56ddb51fa","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/bulk_defect_transient.py","route_id":"route-7fdd0a08afe81954","origin_key":"python:perovskite_sim.experiments.bulk_defect_transient._BulkTransientSystem.potential_increment","qualified_name":"perovskite_sim.experiments.bulk_defect_transient._BulkTransientSystem.potential_increment","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-711cd7ee592c9d10","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/bulk_defect_transient.py","route_id":"route-7fdd0a08afe81954","origin_key":"python:perovskite_sim.experiments.bulk_defect_transient._BulkTransientSystem.residual_and_jacobian","qualified_name":"perovskite_sim.experiments.bulk_defect_transient._BulkTransientSystem.residual_and_jacobian","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-cc4e82439bf2fbe0","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/bulk_defect_transient.py","route_id":"route-7fdd0a08afe81954","origin_key":"python:perovskite_sim.experiments.bulk_defect_transient._BulkTransientSystem.storage_increment","qualified_name":"perovskite_sim.experiments.bulk_defect_transient._BulkTransientSystem.storage_increment","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-42e5b017f957da55","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/bulk_defect_transient.py","route_id":"route-7fdd0a08afe81954","origin_key":"python:perovskite_sim.experiments.bulk_defect_transient._BulkTransientSystem.storage_scale","qualified_name":"perovskite_sim.experiments.bulk_defect_transient._BulkTransientSystem.storage_scale","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-abc09e5ac0a06460","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/bulk_defect_transient.py","route_id":"route-7fdd0a08afe81954","origin_key":"python:perovskite_sim.experiments.bulk_defect_transient._DeviceState","qualified_name":"perovskite_sim.experiments.bulk_defect_transient._DeviceState","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-a0342343e41487f1","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/bulk_defect_transient.py","route_id":"route-7fdd0a08afe81954","origin_key":"python:perovskite_sim.experiments.bulk_defect_transient._Trace","qualified_name":"perovskite_sim.experiments.bulk_defect_transient._Trace","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-4ec5e1f33bc34920","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/bulk_defect_transient.py","route_id":"route-7fdd0a08afe81954","origin_key":"python:perovskite_sim.experiments.bulk_defect_transient._finite_positive","qualified_name":"perovskite_sim.experiments.bulk_defect_transient._finite_positive","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-48e67ba3d1b8934c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/bulk_defect_transient.py","route_id":"route-7fdd0a08afe81954","origin_key":"python:perovskite_sim.experiments.bulk_defect_transient._integrate_trace","qualified_name":"perovskite_sim.experiments.bulk_defect_transient._integrate_trace","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-0587f7bfa1f86cbe","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/bulk_defect_transient.py","route_id":"route-7fdd0a08afe81954","origin_key":"python:perovskite_sim.experiments.bulk_defect_transient._jacobian_error","qualified_name":"perovskite_sim.experiments.bulk_defect_transient._jacobian_error","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-c1590b58c57464b5","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/bulk_defect_transient.py","route_id":"route-7fdd0a08afe81954","origin_key":"python:perovskite_sim.experiments.bulk_defect_transient._readonly","qualified_name":"perovskite_sim.experiments.bulk_defect_transient._readonly","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-ad5a38e93f9abde0","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/bulk_defect_transient.py","route_id":"route-7fdd0a08afe81954","origin_key":"python:perovskite_sim.experiments.bulk_defect_transient._refinement_changes","qualified_name":"perovskite_sim.experiments.bulk_defect_transient._refinement_changes","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-c8307fc8a5b7ff61","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/bulk_defect_transient.py","route_id":"route-7fdd0a08afe81954","origin_key":"python:perovskite_sim.experiments.bulk_defect_transient._solve_step","qualified_name":"perovskite_sim.experiments.bulk_defect_transient._solve_step","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-84267812d4388588","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/bulk_defect_transient.py","route_id":"route-7fdd0a08afe81954","origin_key":"python:perovskite_sim.experiments.bulk_defect_transient._validate_refinement_substeps","qualified_name":"perovskite_sim.experiments.bulk_defect_transient._validate_refinement_substeps","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-266ea21a5526d2e6","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/bulk_defect_transient.py","route_id":"route-7fdd0a08afe81954","origin_key":"python:perovskite_sim.experiments.bulk_defect_transient._validate_trace_inputs","qualified_name":"perovskite_sim.experiments.bulk_defect_transient._validate_trace_inputs","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-fe2c4d8b53196ae3","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/bulk_defect_transient.py","route_id":"route-7fdd0a08afe81954","origin_key":"python:perovskite_sim.experiments.bulk_defect_transient.run_bulk_defect_device_transient","qualified_name":"perovskite_sim.experiments.bulk_defect_transient.run_bulk_defect_device_transient","visibility":"public","evidence_level":"source_static"}, +{"id":"python-8a2659b4f9e55c81","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/cbo_scan.py","route_id":"route-ab8776e954576856","origin_key":"python:perovskite_sim.experiments.cbo_scan.CBOCriticalInterval","qualified_name":"perovskite_sim.experiments.cbo_scan.CBOCriticalInterval","visibility":"public","evidence_level":"source_static"}, +{"id":"python-a5afdb1d83baa7ee","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/cbo_scan.py","route_id":"route-ab8776e954576856","origin_key":"python:perovskite_sim.experiments.cbo_scan.CBOExternalMetricCertificate","qualified_name":"perovskite_sim.experiments.cbo_scan.CBOExternalMetricCertificate","visibility":"public","evidence_level":"source_static"}, +{"id":"python-540afc4a7827dc9a","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/cbo_scan.py","route_id":"route-ab8776e954576856","origin_key":"python:perovskite_sim.experiments.cbo_scan.CBOExternalReferenceAudit","qualified_name":"perovskite_sim.experiments.cbo_scan.CBOExternalReferenceAudit","visibility":"public","evidence_level":"source_static"}, +{"id":"python-a1fe183f41e65e3b","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/cbo_scan.py","route_id":"route-ab8776e954576856","origin_key":"python:perovskite_sim.experiments.cbo_scan.CBOExternalValidation","qualified_name":"perovskite_sim.experiments.cbo_scan.CBOExternalValidation","visibility":"public","evidence_level":"source_static"}, +{"id":"python-cdcc187a59244942","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/cbo_scan.py","route_id":"route-ab8776e954576856","origin_key":"python:perovskite_sim.experiments.cbo_scan.CBOExternalValidation.certified","qualified_name":"perovskite_sim.experiments.cbo_scan.CBOExternalValidation.certified","visibility":"public","evidence_level":"source_static"}, +{"id":"python-3024b1b9fba431b3","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/cbo_scan.py","route_id":"route-ab8776e954576856","origin_key":"python:perovskite_sim.experiments.cbo_scan.CBOGridConvergenceCertificate","qualified_name":"perovskite_sim.experiments.cbo_scan.CBOGridConvergenceCertificate","visibility":"public","evidence_level":"source_static"}, +{"id":"python-30fad2d96f1de6a6","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/cbo_scan.py","route_id":"route-ab8776e954576856","origin_key":"python:perovskite_sim.experiments.cbo_scan.CBOJVMetricsGridSample","qualified_name":"perovskite_sim.experiments.cbo_scan.CBOJVMetricsGridSample","visibility":"public","evidence_level":"source_static"}, +{"id":"python-37db61d0c6a3a2d5","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/cbo_scan.py","route_id":"route-ab8776e954576856","origin_key":"python:perovskite_sim.experiments.cbo_scan.CBOMetricRefinementStep","qualified_name":"perovskite_sim.experiments.cbo_scan.CBOMetricRefinementStep","visibility":"public","evidence_level":"source_static"}, +{"id":"python-2b9a1b8d404f7e13","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/cbo_scan.py","route_id":"route-ab8776e954576856","origin_key":"python:perovskite_sim.experiments.cbo_scan.CBOScanPoint","qualified_name":"perovskite_sim.experiments.cbo_scan.CBOScanPoint","visibility":"public","evidence_level":"source_static"}, +{"id":"python-5044f0bd2cecc19b","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/cbo_scan.py","route_id":"route-ab8776e954576856","origin_key":"python:perovskite_sim.experiments.cbo_scan.CBOScanPoint.certified","qualified_name":"perovskite_sim.experiments.cbo_scan.CBOScanPoint.certified","visibility":"public","evidence_level":"source_static"}, +{"id":"python-1882e47fd1e3fa2b","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/cbo_scan.py","route_id":"route-ab8776e954576856","origin_key":"python:perovskite_sim.experiments.cbo_scan.CBOScanPoint.metrics","qualified_name":"perovskite_sim.experiments.cbo_scan.CBOScanPoint.metrics","visibility":"public","evidence_level":"source_static"}, +{"id":"python-f3141d93fd1f704c","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/cbo_scan.py","route_id":"route-ab8776e954576856","origin_key":"python:perovskite_sim.experiments.cbo_scan.CBOScanTermination","qualified_name":"perovskite_sim.experiments.cbo_scan.CBOScanTermination","visibility":"public","evidence_level":"source_static"}, +{"id":"python-26465c45d9d98563","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/cbo_scan.py","route_id":"route-ab8776e954576856","origin_key":"python:perovskite_sim.experiments.cbo_scan.CBOShortCircuitSample","qualified_name":"perovskite_sim.experiments.cbo_scan.CBOShortCircuitSample","visibility":"public","evidence_level":"source_static"}, +{"id":"python-1ed49a3d9dbf414a","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/cbo_scan.py","route_id":"route-ab8776e954576856","origin_key":"python:perovskite_sim.experiments.cbo_scan.CBOStatisticsValidityCertificate","qualified_name":"perovskite_sim.experiments.cbo_scan.CBOStatisticsValidityCertificate","visibility":"public","evidence_level":"source_static"}, +{"id":"python-e48ba82d9f4aa0d5","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/cbo_scan.py","route_id":"route-ab8776e954576856","origin_key":"python:perovskite_sim.experiments.cbo_scan.CBOVoltageGridConvergenceCertificate","qualified_name":"perovskite_sim.experiments.cbo_scan.CBOVoltageGridConvergenceCertificate","visibility":"public","evidence_level":"source_static"}, +{"id":"python-4e63269d252facbe","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/cbo_scan.py","route_id":"route-ab8776e954576856","origin_key":"python:perovskite_sim.experiments.cbo_scan.CBOVoltageGridConvergencePolicy","qualified_name":"perovskite_sim.experiments.cbo_scan.CBOVoltageGridConvergencePolicy","visibility":"public","evidence_level":"source_static"}, +{"id":"python-ea4648403f1d4ab5","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/cbo_scan.py","route_id":"route-ab8776e954576856","origin_key":"python:perovskite_sim.experiments.cbo_scan.CBOVoltageGridPointCertificate","qualified_name":"perovskite_sim.experiments.cbo_scan.CBOVoltageGridPointCertificate","visibility":"public","evidence_level":"source_static"}, +{"id":"python-5745a4ff0d074902","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/cbo_scan.py","route_id":"route-ab8776e954576856","origin_key":"python:perovskite_sim.experiments.cbo_scan.InterfaceCBOScanError","qualified_name":"perovskite_sim.experiments.cbo_scan.InterfaceCBOScanError","visibility":"public","evidence_level":"source_static"}, +{"id":"python-de7a232948a6c81e","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/cbo_scan.py","route_id":"route-ab8776e954576856","origin_key":"python:perovskite_sim.experiments.cbo_scan.InterfaceCBOScanResult","qualified_name":"perovskite_sim.experiments.cbo_scan.InterfaceCBOScanResult","visibility":"public","evidence_level":"source_static"}, +{"id":"python-177e833682c07476","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/cbo_scan.py","route_id":"route-ab8776e954576856","origin_key":"python:perovskite_sim.experiments.cbo_scan.InterfaceCBOScanResult.certified","qualified_name":"perovskite_sim.experiments.cbo_scan.InterfaceCBOScanResult.certified","visibility":"public","evidence_level":"source_static"}, +{"id":"python-fb9ca6575994e297","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/cbo_scan.py","route_id":"route-ab8776e954576856","origin_key":"python:perovskite_sim.experiments.cbo_scan.InterfaceCBOScanResult.complete","qualified_name":"perovskite_sim.experiments.cbo_scan.InterfaceCBOScanResult.complete","visibility":"public","evidence_level":"source_static"}, +{"id":"python-aa58fba47caf45ba","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/cbo_scan.py","route_id":"route-ab8776e954576856","origin_key":"python:perovskite_sim.experiments.cbo_scan.InterfaceCBOScanResult.sync_vbi","qualified_name":"perovskite_sim.experiments.cbo_scan.InterfaceCBOScanResult.sync_vbi","visibility":"public","evidence_level":"source_static"}, +{"id":"python-25e964738871c28c","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/cbo_scan.py","route_id":"route-ab8776e954576856","origin_key":"python:perovskite_sim.experiments.cbo_scan._ValidityLimit","qualified_name":"perovskite_sim.experiments.cbo_scan._ValidityLimit","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-4dd94db2a7582740","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/cbo_scan.py","route_id":"route-ab8776e954576856","origin_key":"python:perovskite_sim.experiments.cbo_scan._audit_scaps_cbo_reference","qualified_name":"perovskite_sim.experiments.cbo_scan._audit_scaps_cbo_reference","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-c788bbc73fde8251","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/cbo_scan.py","route_id":"route-ab8776e954576856","origin_key":"python:perovskite_sim.experiments.cbo_scan._certify_cbo_voltage_grid_point","qualified_name":"perovskite_sim.experiments.cbo_scan._certify_cbo_voltage_grid_point","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-1f5c4ed32f763b9d","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/cbo_scan.py","route_id":"route-ab8776e954576856","origin_key":"python:perovskite_sim.experiments.cbo_scan._critical_interval","qualified_name":"perovskite_sim.experiments.cbo_scan._critical_interval","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-5b185a1fbc77a15d","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/cbo_scan.py","route_id":"route-ab8776e954576856","origin_key":"python:perovskite_sim.experiments.cbo_scan._error_chain","qualified_name":"perovskite_sim.experiments.cbo_scan._error_chain","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-9eb78fc99418dc73","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/cbo_scan.py","route_id":"route-ab8776e954576856","origin_key":"python:perovskite_sim.experiments.cbo_scan._interval_distance","qualified_name":"perovskite_sim.experiments.cbo_scan._interval_distance","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-4c3463b9a741b5a7","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/cbo_scan.py","route_id":"route-ab8776e954576856","origin_key":"python:perovskite_sim.experiments.cbo_scan._interval_pair","qualified_name":"perovskite_sim.experiments.cbo_scan._interval_pair","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-68383eae8c554d8a","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/cbo_scan.py","route_id":"route-ab8776e954576856","origin_key":"python:perovskite_sim.experiments.cbo_scan._is_bulk_statistics_limit","qualified_name":"perovskite_sim.experiments.cbo_scan._is_bulk_statistics_limit","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-111959589ff11fad","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/cbo_scan.py","route_id":"route-ab8776e954576856","origin_key":"python:perovskite_sim.experiments.cbo_scan._is_sha256","qualified_name":"perovskite_sim.experiments.cbo_scan._is_sha256","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-441c85cabb9b6b2e","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/cbo_scan.py","route_id":"route-ab8776e954576856","origin_key":"python:perovskite_sim.experiments.cbo_scan._metric_interval","qualified_name":"perovskite_sim.experiments.cbo_scan._metric_interval","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-779b8041ca5c35f8","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/cbo_scan.py","route_id":"route-ab8776e954576856","origin_key":"python:perovskite_sim.experiments.cbo_scan._nested_voltage_grids","qualified_name":"perovskite_sim.experiments.cbo_scan._nested_voltage_grids","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-0054cab106c7fb43","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/cbo_scan.py","route_id":"route-ab8776e954576856","origin_key":"python:perovskite_sim.experiments.cbo_scan._reference_metric_samples","qualified_name":"perovskite_sim.experiments.cbo_scan._reference_metric_samples","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-34ee2e018577e8e2","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/cbo_scan.py","route_id":"route-ab8776e954576856","origin_key":"python:perovskite_sim.experiments.cbo_scan._simulation_metric_samples","qualified_name":"perovskite_sim.experiments.cbo_scan._simulation_metric_samples","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-bea38231da7dad5e","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/cbo_scan.py","route_id":"route-ab8776e954576856","origin_key":"python:perovskite_sim.experiments.cbo_scan._stack_at_cbo","qualified_name":"perovskite_sim.experiments.cbo_scan._stack_at_cbo","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-90421f88ecbbdce9","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/cbo_scan.py","route_id":"route-ab8776e954576856","origin_key":"python:perovskite_sim.experiments.cbo_scan._successive_absolute_changes","qualified_name":"perovskite_sim.experiments.cbo_scan._successive_absolute_changes","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-bac921b2e6a742ce","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/cbo_scan.py","route_id":"route-ab8776e954576856","origin_key":"python:perovskite_sim.experiments.cbo_scan._successive_change_ratios","qualified_name":"perovskite_sim.experiments.cbo_scan._successive_change_ratios","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-a9b80912bc19e72c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/cbo_scan.py","route_id":"route-ab8776e954576856","origin_key":"python:perovskite_sim.experiments.cbo_scan._validate_voltage_grid_convergence_policy","qualified_name":"perovskite_sim.experiments.cbo_scan._validate_voltage_grid_convergence_policy","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-130ee749d5ecd38b","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/cbo_scan.py","route_id":"route-ab8776e954576856","origin_key":"python:perovskite_sim.experiments.cbo_scan._validate_voltage_refinement_grids","qualified_name":"perovskite_sim.experiments.cbo_scan._validate_voltage_refinement_grids","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-142e91965c4e4b7c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/cbo_scan.py","route_id":"route-ab8776e954576856","origin_key":"python:perovskite_sim.experiments.cbo_scan.certify_cbo_grid_convergence","qualified_name":"perovskite_sim.experiments.cbo_scan.certify_cbo_grid_convergence","visibility":"public","evidence_level":"source_static"}, +{"id":"python-25e00537d9acbc99","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/cbo_scan.py","route_id":"route-ab8776e954576856","origin_key":"python:perovskite_sim.experiments.cbo_scan.certify_cbo_statistics_validity","qualified_name":"perovskite_sim.experiments.cbo_scan.certify_cbo_statistics_validity","visibility":"public","evidence_level":"source_static"}, +{"id":"python-03f8d7c7023c1418","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/cbo_scan.py","route_id":"route-ab8776e954576856","origin_key":"python:perovskite_sim.experiments.cbo_scan.certify_cbo_voltage_grid_convergence","qualified_name":"perovskite_sim.experiments.cbo_scan.certify_cbo_voltage_grid_convergence","visibility":"public","evidence_level":"source_static"}, +{"id":"python-147ea73ac60df531","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/cbo_scan.py","route_id":"route-ab8776e954576856","origin_key":"python:perovskite_sim.experiments.cbo_scan.compare_cbo_scan_to_scaps_reference","qualified_name":"perovskite_sim.experiments.cbo_scan.compare_cbo_scan_to_scaps_reference","visibility":"public","evidence_level":"source_static"}, +{"id":"python-f907ed340f19e3d1","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/cbo_scan.py","route_id":"route-ab8776e954576856","origin_key":"python:perovskite_sim.experiments.cbo_scan.solve_interface_cbo_scan","qualified_name":"perovskite_sim.experiments.cbo_scan.solve_interface_cbo_scan","visibility":"public","evidence_level":"source_static"}, +{"id":"python-e73d1a2a6b36807f","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/cbo_scan.py","route_id":"route-ab8776e954576856","origin_key":"python:perovskite_sim.experiments.cbo_scan.validate_adaptive_jv_metrics","qualified_name":"perovskite_sim.experiments.cbo_scan.validate_adaptive_jv_metrics","visibility":"public","evidence_level":"source_static"}, +{"id":"python-8c006f0c082da675","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/cbo_scan.py","route_id":"route-ab8776e954576856","origin_key":"python:perovskite_sim.experiments.cbo_scan.validate_cbo_boundary_policy","qualified_name":"perovskite_sim.experiments.cbo_scan.validate_cbo_boundary_policy","visibility":"public","evidence_level":"source_static"}, +{"id":"python-10e54555784ea56d","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/dark_jv.py","route_id":"route-637f1e727f89e31a","origin_key":"python:perovskite_sim.experiments.dark_jv.DarkJVResult","qualified_name":"perovskite_sim.experiments.dark_jv.DarkJVResult","visibility":"public","evidence_level":"source_static"}, +{"id":"python-503e68abadaf3596","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/dark_jv.py","route_id":"route-637f1e727f89e31a","origin_key":"python:perovskite_sim.experiments.dark_jv._fit_ideality_and_J0","qualified_name":"perovskite_sim.experiments.dark_jv._fit_ideality_and_J0","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-c595280086db4bea","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/dark_jv.py","route_id":"route-637f1e727f89e31a","origin_key":"python:perovskite_sim.experiments.dark_jv._select_diode_window","qualified_name":"perovskite_sim.experiments.dark_jv._select_diode_window","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-8b13c5f71f5f1831","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/dark_jv.py","route_id":"route-637f1e727f89e31a","origin_key":"python:perovskite_sim.experiments.dark_jv.run_dark_jv","qualified_name":"perovskite_sim.experiments.dark_jv.run_dark_jv","visibility":"public","evidence_level":"source_static"}, +{"id":"python-bb37940097915b71","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/defect_aware_impedance.py","route_id":"route-2accc863cbfb1452","origin_key":"python:perovskite_sim.experiments.defect_aware_impedance.BulkDefectDeviceACCertificate","qualified_name":"perovskite_sim.experiments.defect_aware_impedance.BulkDefectDeviceACCertificate","visibility":"public","evidence_level":"source_static"}, +{"id":"python-18082a00ce1f4b0b","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/defect_aware_impedance.py","route_id":"route-2accc863cbfb1452","origin_key":"python:perovskite_sim.experiments.defect_aware_impedance.BulkDefectDeviceACCertificationError","qualified_name":"perovskite_sim.experiments.defect_aware_impedance.BulkDefectDeviceACCertificationError","visibility":"public","evidence_level":"source_static"}, +{"id":"python-e1eecb0dc1fe1e94","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/defect_aware_impedance.py","route_id":"route-2accc863cbfb1452","origin_key":"python:perovskite_sim.experiments.defect_aware_impedance.BulkDefectDeviceACCertificationError.__init__","qualified_name":"perovskite_sim.experiments.defect_aware_impedance.BulkDefectDeviceACCertificationError.__init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-a8471b3e231b130e","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/defect_aware_impedance.py","route_id":"route-2accc863cbfb1452","origin_key":"python:perovskite_sim.experiments.defect_aware_impedance.BulkDefectDeviceACError","qualified_name":"perovskite_sim.experiments.defect_aware_impedance.BulkDefectDeviceACError","visibility":"public","evidence_level":"source_static"}, +{"id":"python-8b2876e8ec205fbe","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/defect_aware_impedance.py","route_id":"route-2accc863cbfb1452","origin_key":"python:perovskite_sim.experiments.defect_aware_impedance.BulkDefectDeviceACResult","qualified_name":"perovskite_sim.experiments.defect_aware_impedance.BulkDefectDeviceACResult","visibility":"public","evidence_level":"source_static"}, +{"id":"python-96b849dc87af10bf","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/defect_aware_impedance.py","route_id":"route-2accc863cbfb1452","origin_key":"python:perovskite_sim.experiments.defect_aware_impedance.BulkDefectFrequencyWindow","qualified_name":"perovskite_sim.experiments.defect_aware_impedance.BulkDefectFrequencyWindow","visibility":"public","evidence_level":"source_static"}, +{"id":"python-a11f7118991bb486","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/defect_aware_impedance.py","route_id":"route-2accc863cbfb1452","origin_key":"python:perovskite_sim.experiments.defect_aware_impedance._assess_frequency_window","qualified_name":"perovskite_sim.experiments.defect_aware_impedance._assess_frequency_window","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-941067c0f6ee0540","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/defect_aware_impedance.py","route_id":"route-2accc863cbfb1452","origin_key":"python:perovskite_sim.experiments.defect_aware_impedance._current_evaluation","qualified_name":"perovskite_sim.experiments.defect_aware_impedance._current_evaluation","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-1be33ca5a88d134f","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/defect_aware_impedance.py","route_id":"route-2accc863cbfb1452","origin_key":"python:perovskite_sim.experiments.defect_aware_impedance._readonly","qualified_name":"perovskite_sim.experiments.defect_aware_impedance._readonly","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-92b41a9cb02a27ac","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/defect_aware_impedance.py","route_id":"route-2accc863cbfb1452","origin_key":"python:perovskite_sim.experiments.defect_aware_impedance._symmetric_relative_error","qualified_name":"perovskite_sim.experiments.defect_aware_impedance._symmetric_relative_error","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-06777e841432a8c8","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/defect_aware_impedance.py","route_id":"route-2accc863cbfb1452","origin_key":"python:perovskite_sim.experiments.defect_aware_impedance._validate_frequencies","qualified_name":"perovskite_sim.experiments.defect_aware_impedance._validate_frequencies","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-19e8300151445a69","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/defect_aware_impedance.py","route_id":"route-2accc863cbfb1452","origin_key":"python:perovskite_sim.experiments.defect_aware_impedance._validate_refinement_factors","qualified_name":"perovskite_sim.experiments.defect_aware_impedance._validate_refinement_factors","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-98754518a1e880cb","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/defect_aware_impedance.py","route_id":"route-2accc863cbfb1452","origin_key":"python:perovskite_sim.experiments.defect_aware_impedance.run_bulk_defect_device_impedance","qualified_name":"perovskite_sim.experiments.defect_aware_impedance.run_bulk_defect_device_impedance","visibility":"public","evidence_level":"source_static"}, +{"id":"python-608cc60e7c6719fa","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/defect_ion_combined_impedance.py","route_id":"route-7e52697666c1d1db","origin_key":"python:perovskite_sim.experiments.defect_ion_combined_impedance.CombinedDCCertificate","qualified_name":"perovskite_sim.experiments.defect_ion_combined_impedance.CombinedDCCertificate","visibility":"public","evidence_level":"source_static"}, +{"id":"python-2a4408be8613813e","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/defect_ion_combined_impedance.py","route_id":"route-7e52697666c1d1db","origin_key":"python:perovskite_sim.experiments.defect_ion_combined_impedance.CombinedDCState","qualified_name":"perovskite_sim.experiments.defect_ion_combined_impedance.CombinedDCState","visibility":"public","evidence_level":"source_static"}, +{"id":"python-22158685c4ae8c93","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/defect_ion_combined_impedance.py","route_id":"route-7e52697666c1d1db","origin_key":"python:perovskite_sim.experiments.defect_ion_combined_impedance.CombinedFrequencyWindow","qualified_name":"perovskite_sim.experiments.defect_ion_combined_impedance.CombinedFrequencyWindow","visibility":"public","evidence_level":"source_static"}, +{"id":"python-38d9e86fd49aa47b","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/defect_ion_combined_impedance.py","route_id":"route-7e52697666c1d1db","origin_key":"python:perovskite_sim.experiments.defect_ion_combined_impedance.CombinedIonLayout","qualified_name":"perovskite_sim.experiments.defect_ion_combined_impedance.CombinedIonLayout","visibility":"public","evidence_level":"source_static"}, +{"id":"python-5f36d3ad594b95f7","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/defect_ion_combined_impedance.py","route_id":"route-7e52697666c1d1db","origin_key":"python:perovskite_sim.experiments.defect_ion_combined_impedance.CombinedIonLayout.negative_size","qualified_name":"perovskite_sim.experiments.defect_ion_combined_impedance.CombinedIonLayout.negative_size","visibility":"public","evidence_level":"source_static"}, +{"id":"python-1ab9557e32d170bb","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/defect_ion_combined_impedance.py","route_id":"route-7e52697666c1d1db","origin_key":"python:perovskite_sim.experiments.defect_ion_combined_impedance.CombinedIonLayout.positive_size","qualified_name":"perovskite_sim.experiments.defect_ion_combined_impedance.CombinedIonLayout.positive_size","visibility":"public","evidence_level":"source_static"}, +{"id":"python-04895a1261200dbf","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/defect_ion_combined_impedance.py","route_id":"route-7e52697666c1d1db","origin_key":"python:perovskite_sim.experiments.defect_ion_combined_impedance.CombinedIonLayout.size","qualified_name":"perovskite_sim.experiments.defect_ion_combined_impedance.CombinedIonLayout.size","visibility":"public","evidence_level":"source_static"}, +{"id":"python-a86bd00c96dcc37d","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/defect_ion_combined_impedance.py","route_id":"route-7e52697666c1d1db","origin_key":"python:perovskite_sim.experiments.defect_ion_combined_impedance.CombinedStateLayout","qualified_name":"perovskite_sim.experiments.defect_ion_combined_impedance.CombinedStateLayout","visibility":"public","evidence_level":"source_static"}, +{"id":"python-a8e447fbd77b0b90","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/defect_ion_combined_impedance.py","route_id":"route-7e52697666c1d1db","origin_key":"python:perovskite_sim.experiments.defect_ion_combined_impedance.CombinedStateLayout.bulk_trap_slice","qualified_name":"perovskite_sim.experiments.defect_ion_combined_impedance.CombinedStateLayout.bulk_trap_slice","visibility":"public","evidence_level":"source_static"}, +{"id":"python-1f0f3339415c4564","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/defect_ion_combined_impedance.py","route_id":"route-7e52697666c1d1db","origin_key":"python:perovskite_sim.experiments.defect_ion_combined_impedance.CombinedStateLayout.electron_slice","qualified_name":"perovskite_sim.experiments.defect_ion_combined_impedance.CombinedStateLayout.electron_slice","visibility":"public","evidence_level":"source_static"}, +{"id":"python-6624eec5ec4911fb","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/defect_ion_combined_impedance.py","route_id":"route-7e52697666c1d1db","origin_key":"python:perovskite_sim.experiments.defect_ion_combined_impedance.CombinedStateLayout.hole_slice","qualified_name":"perovskite_sim.experiments.defect_ion_combined_impedance.CombinedStateLayout.hole_slice","visibility":"public","evidence_level":"source_static"}, +{"id":"python-325d9cd26a91a256","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/defect_ion_combined_impedance.py","route_id":"route-7e52697666c1d1db","origin_key":"python:perovskite_sim.experiments.defect_ion_combined_impedance.CombinedStateLayout.interface_trap_slice","qualified_name":"perovskite_sim.experiments.defect_ion_combined_impedance.CombinedStateLayout.interface_trap_slice","visibility":"public","evidence_level":"source_static"}, +{"id":"python-f73436fe4d33a28e","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/defect_ion_combined_impedance.py","route_id":"route-7e52697666c1d1db","origin_key":"python:perovskite_sim.experiments.defect_ion_combined_impedance.CombinedStateLayout.negative_ion_slice","qualified_name":"perovskite_sim.experiments.defect_ion_combined_impedance.CombinedStateLayout.negative_ion_slice","visibility":"public","evidence_level":"source_static"}, +{"id":"python-7b245e937a5cfbf9","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/defect_ion_combined_impedance.py","route_id":"route-7e52697666c1d1db","origin_key":"python:perovskite_sim.experiments.defect_ion_combined_impedance.CombinedStateLayout.positive_ion_slice","qualified_name":"perovskite_sim.experiments.defect_ion_combined_impedance.CombinedStateLayout.positive_ion_slice","visibility":"public","evidence_level":"source_static"}, +{"id":"python-2632046e19b9d535","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/defect_ion_combined_impedance.py","route_id":"route-7e52697666c1d1db","origin_key":"python:perovskite_sim.experiments.defect_ion_combined_impedance.CombinedStateLayout.qss_size","qualified_name":"perovskite_sim.experiments.defect_ion_combined_impedance.CombinedStateLayout.qss_size","visibility":"public","evidence_level":"source_static"}, +{"id":"python-24a1459a1a9f6559","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/defect_ion_combined_impedance.py","route_id":"route-7e52697666c1d1db","origin_key":"python:perovskite_sim.experiments.defect_ion_combined_impedance.CombinedStateLayout.size","qualified_name":"perovskite_sim.experiments.defect_ion_combined_impedance.CombinedStateLayout.size","visibility":"public","evidence_level":"source_static"}, +{"id":"python-36dbf2acaadb4f9f","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/defect_ion_combined_impedance.py","route_id":"route-7e52697666c1d1db","origin_key":"python:perovskite_sim.experiments.defect_ion_combined_impedance.DefectIonCombinedCertificate","qualified_name":"perovskite_sim.experiments.defect_ion_combined_impedance.DefectIonCombinedCertificate","visibility":"public","evidence_level":"source_static"}, +{"id":"python-7539a0ca2346a84e","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/defect_ion_combined_impedance.py","route_id":"route-7e52697666c1d1db","origin_key":"python:perovskite_sim.experiments.defect_ion_combined_impedance.DefectIonCombinedCertificationError","qualified_name":"perovskite_sim.experiments.defect_ion_combined_impedance.DefectIonCombinedCertificationError","visibility":"public","evidence_level":"source_static"}, +{"id":"python-d81fbfb9a0363f5e","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/defect_ion_combined_impedance.py","route_id":"route-7e52697666c1d1db","origin_key":"python:perovskite_sim.experiments.defect_ion_combined_impedance.DefectIonCombinedCertificationError.__init__","qualified_name":"perovskite_sim.experiments.defect_ion_combined_impedance.DefectIonCombinedCertificationError.__init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-d76097e074e4d559","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/defect_ion_combined_impedance.py","route_id":"route-7e52697666c1d1db","origin_key":"python:perovskite_sim.experiments.defect_ion_combined_impedance.DefectIonCombinedError","qualified_name":"perovskite_sim.experiments.defect_ion_combined_impedance.DefectIonCombinedError","visibility":"public","evidence_level":"source_static"}, +{"id":"python-78d48b2385a4a8a2","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/defect_ion_combined_impedance.py","route_id":"route-7e52697666c1d1db","origin_key":"python:perovskite_sim.experiments.defect_ion_combined_impedance.DefectIonCombinedResult","qualified_name":"perovskite_sim.experiments.defect_ion_combined_impedance.DefectIonCombinedResult","visibility":"public","evidence_level":"source_static"}, +{"id":"python-7b9f1ab56cf57fe7","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/defect_ion_combined_impedance.py","route_id":"route-7e52697666c1d1db","origin_key":"python:perovskite_sim.experiments.defect_ion_combined_impedance._DCSolveContext","qualified_name":"perovskite_sim.experiments.defect_ion_combined_impedance._DCSolveContext","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-2a6a25f62d83c497","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/defect_ion_combined_impedance.py","route_id":"route-7e52697666c1d1db","origin_key":"python:perovskite_sim.experiments.defect_ion_combined_impedance._build_ion_layout","qualified_name":"perovskite_sim.experiments.defect_ion_combined_impedance._build_ion_layout","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-aba42480477077bb","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/defect_ion_combined_impedance.py","route_id":"route-7e52697666c1d1db","origin_key":"python:perovskite_sim.experiments.defect_ion_combined_impedance._chemical_potential","qualified_name":"perovskite_sim.experiments.defect_ion_combined_impedance._chemical_potential","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-c531d0a17cc9c6e7","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/defect_ion_combined_impedance.py","route_id":"route-7e52697666c1d1db","origin_key":"python:perovskite_sim.experiments.defect_ion_combined_impedance._component_inventories","qualified_name":"perovskite_sim.experiments.defect_ion_combined_impedance._component_inventories","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-a095e6dd26662d1a","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/defect_ion_combined_impedance.py","route_id":"route-7e52697666c1d1db","origin_key":"python:perovskite_sim.experiments.defect_ion_combined_impedance._contiguous_components","qualified_name":"perovskite_sim.experiments.defect_ion_combined_impedance._contiguous_components","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-3538660a55fbf969","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/defect_ion_combined_impedance.py","route_id":"route-7e52697666c1d1db","origin_key":"python:perovskite_sim.experiments.defect_ion_combined_impedance._interface_relaxation_rate","qualified_name":"perovskite_sim.experiments.defect_ion_combined_impedance._interface_relaxation_rate","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-d528c6a26b2862c2","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/defect_ion_combined_impedance.py","route_id":"route-7e52697666c1d1db","origin_key":"python:perovskite_sim.experiments.defect_ion_combined_impedance._ion_equilibrium_residual","qualified_name":"perovskite_sim.experiments.defect_ion_combined_impedance._ion_equilibrium_residual","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-4082a411710a0288","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/defect_ion_combined_impedance.py","route_id":"route-7e52697666c1d1db","origin_key":"python:perovskite_sim.experiments.defect_ion_combined_impedance._ion_fields","qualified_name":"perovskite_sim.experiments.defect_ion_combined_impedance._ion_fields","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-afb702c1ffbfb124","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/defect_ion_combined_impedance.py","route_id":"route-7e52697666c1d1db","origin_key":"python:perovskite_sim.experiments.defect_ion_combined_impedance._maximum_component_inventory_error","qualified_name":"perovskite_sim.experiments.defect_ion_combined_impedance._maximum_component_inventory_error","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-2088e5423da468c6","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/defect_ion_combined_impedance.py","route_id":"route-7e52697666c1d1db","origin_key":"python:perovskite_sim.experiments.defect_ion_combined_impedance._occupancy_from_increment","qualified_name":"perovskite_sim.experiments.defect_ion_combined_impedance._occupancy_from_increment","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-ce78308139206033","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/defect_ion_combined_impedance.py","route_id":"route-7e52697666c1d1db","origin_key":"python:perovskite_sim.experiments.defect_ion_combined_impedance._occupancy_logit","qualified_name":"perovskite_sim.experiments.defect_ion_combined_impedance._occupancy_logit","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-3a232995704a47a3","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/defect_ion_combined_impedance.py","route_id":"route-7e52697666c1d1db","origin_key":"python:perovskite_sim.experiments.defect_ion_combined_impedance._readonly","qualified_name":"perovskite_sim.experiments.defect_ion_combined_impedance._readonly","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-0542804947c05cba","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/defect_ion_combined_impedance.py","route_id":"route-7e52697666c1d1db","origin_key":"python:perovskite_sim.experiments.defect_ion_combined_impedance._relative_error","qualified_name":"perovskite_sim.experiments.defect_ion_combined_impedance._relative_error","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-8342412aa936fac9","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/defect_ion_combined_impedance.py","route_id":"route-7e52697666c1d1db","origin_key":"python:perovskite_sim.experiments.defect_ion_combined_impedance._solve_combined_dc","qualified_name":"perovskite_sim.experiments.defect_ion_combined_impedance._solve_combined_dc","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-c36cff2b9ce9469b","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/defect_ion_combined_impedance.py","route_id":"route-7e52697666c1d1db","origin_key":"python:perovskite_sim.experiments.defect_ion_combined_impedance._state_sha256","qualified_name":"perovskite_sim.experiments.defect_ion_combined_impedance._state_sha256","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-f531455eca075771","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/defect_ion_combined_impedance.py","route_id":"route-7e52697666c1d1db","origin_key":"python:perovskite_sim.experiments.defect_ion_combined_impedance._validate_frequencies","qualified_name":"perovskite_sim.experiments.defect_ion_combined_impedance._validate_frequencies","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-ae966fcdaa363f44","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/defect_ion_combined_impedance.py","route_id":"route-7e52697666c1d1db","origin_key":"python:perovskite_sim.experiments.defect_ion_combined_impedance._validate_refinement_factors","qualified_name":"perovskite_sim.experiments.defect_ion_combined_impedance._validate_refinement_factors","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-9cd015b8dc2ff5bc","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/defect_ion_combined_impedance.py","route_id":"route-7e52697666c1d1db","origin_key":"python:perovskite_sim.experiments.defect_ion_combined_impedance.run_defect_ion_combined_impedance","qualified_name":"perovskite_sim.experiments.defect_ion_combined_impedance.run_defect_ion_combined_impedance","visibility":"public","evidence_level":"source_static"}, +{"id":"python-01f91621c6eb61a2","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/degradation.py","route_id":"route-5f608c1296bb5da2","origin_key":"python:perovskite_sim.experiments.degradation.DegradationResult","qualified_name":"perovskite_sim.experiments.degradation.DegradationResult","visibility":"public","evidence_level":"source_static"}, +{"id":"python-c2376e626e8ea3c2","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/degradation.py","route_id":"route-5f608c1296bb5da2","origin_key":"python:perovskite_sim.experiments.degradation.FrozenIonSnapshot","qualified_name":"perovskite_sim.experiments.degradation.FrozenIonSnapshot","visibility":"public","evidence_level":"source_static"}, +{"id":"python-6689c22602d3ea66","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/degradation.py","route_id":"route-5f608c1296bb5da2","origin_key":"python:perovskite_sim.experiments.degradation._absorber_region","qualified_name":"perovskite_sim.experiments.degradation._absorber_region","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-120198505b2309ec","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/degradation.py","route_id":"route-5f608c1296bb5da2","origin_key":"python:perovskite_sim.experiments.degradation._advance_damage","qualified_name":"perovskite_sim.experiments.degradation._advance_damage","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-f47e686dc55b2fbf","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/degradation.py","route_id":"route-5f608c1296bb5da2","origin_key":"python:perovskite_sim.experiments.degradation._apply_absorber_damage","qualified_name":"perovskite_sim.experiments.degradation._apply_absorber_damage","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-a9870aad29eeb2ad","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/degradation.py","route_id":"route-5f608c1296bb5da2","origin_key":"python:perovskite_sim.experiments.degradation._freeze_ions","qualified_name":"perovskite_sim.experiments.degradation._freeze_ions","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-97c133deda7cba10","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/degradation.py","route_id":"route-5f608c1296bb5da2","origin_key":"python:perovskite_sim.experiments.degradation._measure_snapshot_metrics","qualified_name":"perovskite_sim.experiments.degradation._measure_snapshot_metrics","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-46e1cf4d0df22640","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/degradation.py","route_id":"route-5f608c1296bb5da2","origin_key":"python:perovskite_sim.experiments.degradation.measure_frozen_ion_snapshot","qualified_name":"perovskite_sim.experiments.degradation.measure_frozen_ion_snapshot","visibility":"public","evidence_level":"source_static"}, +{"id":"python-81fcaa6731414439","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/degradation.py","route_id":"route-5f608c1296bb5da2","origin_key":"python:perovskite_sim.experiments.degradation.run_degradation","qualified_name":"perovskite_sim.experiments.degradation.run_degradation","visibility":"public","evidence_level":"source_static"}, +{"id":"python-9d50c94eb2537c6a","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_impedance.py","route_id":"route-130393a19cff03be","origin_key":"python:perovskite_sim.experiments.dynamic_defect_impedance.DynamicDefectFrequencyWindowEvidence","qualified_name":"perovskite_sim.experiments.dynamic_defect_impedance.DynamicDefectFrequencyWindowEvidence","visibility":"public","evidence_level":"source_static"}, +{"id":"python-5b39ed053310eb14","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_impedance.py","route_id":"route-130393a19cff03be","origin_key":"python:perovskite_sim.experiments.dynamic_defect_impedance.DynamicDefectImpedanceCapabilityError","qualified_name":"perovskite_sim.experiments.dynamic_defect_impedance.DynamicDefectImpedanceCapabilityError","visibility":"public","evidence_level":"source_static"}, +{"id":"python-ed0b8f1d42aa1274","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_impedance.py","route_id":"route-130393a19cff03be","origin_key":"python:perovskite_sim.experiments.dynamic_defect_impedance.DynamicDefectImpedanceCertificationError","qualified_name":"perovskite_sim.experiments.dynamic_defect_impedance.DynamicDefectImpedanceCertificationError","visibility":"public","evidence_level":"source_static"}, +{"id":"python-23bf668e75991ebb","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_impedance.py","route_id":"route-130393a19cff03be","origin_key":"python:perovskite_sim.experiments.dynamic_defect_impedance.DynamicDefectImpedanceError","qualified_name":"perovskite_sim.experiments.dynamic_defect_impedance.DynamicDefectImpedanceError","visibility":"public","evidence_level":"source_static"}, +{"id":"python-08d72b0255004274","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_impedance.py","route_id":"route-130393a19cff03be","origin_key":"python:perovskite_sim.experiments.dynamic_defect_impedance.DynamicDefectImpedanceEvidence","qualified_name":"perovskite_sim.experiments.dynamic_defect_impedance.DynamicDefectImpedanceEvidence","visibility":"public","evidence_level":"source_static"}, +{"id":"python-c9db112e03c017d8","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_impedance.py","route_id":"route-130393a19cff03be","origin_key":"python:perovskite_sim.experiments.dynamic_defect_impedance.DynamicDefectImpedanceGates","qualified_name":"perovskite_sim.experiments.dynamic_defect_impedance.DynamicDefectImpedanceGates","visibility":"public","evidence_level":"source_static"}, +{"id":"python-16e7d7f4fe3058e3","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_impedance.py","route_id":"route-130393a19cff03be","origin_key":"python:perovskite_sim.experiments.dynamic_defect_impedance.DynamicDefectImpedanceGates.__post_init__","qualified_name":"perovskite_sim.experiments.dynamic_defect_impedance.DynamicDefectImpedanceGates.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-1840c72952f812ef","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_impedance.py","route_id":"route-130393a19cff03be","origin_key":"python:perovskite_sim.experiments.dynamic_defect_impedance.DynamicDefectImpedanceGates.from_dict","qualified_name":"perovskite_sim.experiments.dynamic_defect_impedance.DynamicDefectImpedanceGates.from_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-438d60ee81e0d0a9","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_impedance.py","route_id":"route-130393a19cff03be","origin_key":"python:perovskite_sim.experiments.dynamic_defect_impedance.DynamicDefectImpedanceProtocol","qualified_name":"perovskite_sim.experiments.dynamic_defect_impedance.DynamicDefectImpedanceProtocol","visibility":"public","evidence_level":"source_static"}, +{"id":"python-0f22d7bc53820e4f","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_impedance.py","route_id":"route-130393a19cff03be","origin_key":"python:perovskite_sim.experiments.dynamic_defect_impedance.DynamicDefectImpedanceProtocol.__post_init__","qualified_name":"perovskite_sim.experiments.dynamic_defect_impedance.DynamicDefectImpedanceProtocol.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-ff3f50f4d50ec602","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_impedance.py","route_id":"route-130393a19cff03be","origin_key":"python:perovskite_sim.experiments.dynamic_defect_impedance.DynamicDefectImpedanceProtocol.canonical_json","qualified_name":"perovskite_sim.experiments.dynamic_defect_impedance.DynamicDefectImpedanceProtocol.canonical_json","visibility":"public","evidence_level":"source_static"}, +{"id":"python-19f4d2ec8477ca2a","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_impedance.py","route_id":"route-130393a19cff03be","origin_key":"python:perovskite_sim.experiments.dynamic_defect_impedance.DynamicDefectImpedanceProtocol.from_dict","qualified_name":"perovskite_sim.experiments.dynamic_defect_impedance.DynamicDefectImpedanceProtocol.from_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-12ae1471a79d3c14","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_impedance.py","route_id":"route-130393a19cff03be","origin_key":"python:perovskite_sim.experiments.dynamic_defect_impedance.DynamicDefectImpedanceProtocol.from_json","qualified_name":"perovskite_sim.experiments.dynamic_defect_impedance.DynamicDefectImpedanceProtocol.from_json","visibility":"public","evidence_level":"source_static"}, +{"id":"python-21af1c1ef55b2b35","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_impedance.py","route_id":"route-130393a19cff03be","origin_key":"python:perovskite_sim.experiments.dynamic_defect_impedance.DynamicDefectImpedanceProtocol.protocol_hash","qualified_name":"perovskite_sim.experiments.dynamic_defect_impedance.DynamicDefectImpedanceProtocol.protocol_hash","visibility":"public","evidence_level":"source_static"}, +{"id":"python-202267e0581ea3ed","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_impedance.py","route_id":"route-130393a19cff03be","origin_key":"python:perovskite_sim.experiments.dynamic_defect_impedance.DynamicDefectImpedanceProtocol.to_dict","qualified_name":"perovskite_sim.experiments.dynamic_defect_impedance.DynamicDefectImpedanceProtocol.to_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-87a09fe087555cab","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_impedance.py","route_id":"route-130393a19cff03be","origin_key":"python:perovskite_sim.experiments.dynamic_defect_impedance.DynamicDefectImpedanceProtocolError","qualified_name":"perovskite_sim.experiments.dynamic_defect_impedance.DynamicDefectImpedanceProtocolError","visibility":"public","evidence_level":"source_static"}, +{"id":"python-e0074034c21b94e7","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_impedance.py","route_id":"route-130393a19cff03be","origin_key":"python:perovskite_sim.experiments.dynamic_defect_impedance.DynamicDefectProductionResult","qualified_name":"perovskite_sim.experiments.dynamic_defect_impedance.DynamicDefectProductionResult","visibility":"public","evidence_level":"source_static"}, +{"id":"python-cf8c1241285348b0","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_impedance.py","route_id":"route-130393a19cff03be","origin_key":"python:perovskite_sim.experiments.dynamic_defect_impedance._bulk_documents","qualified_name":"perovskite_sim.experiments.dynamic_defect_impedance._bulk_documents","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-a30ca788baae706a","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_impedance.py","route_id":"route-130393a19cff03be","origin_key":"python:perovskite_sim.experiments.dynamic_defect_impedance._contact_certificate","qualified_name":"perovskite_sim.experiments.dynamic_defect_impedance._contact_certificate","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-4866829d1edf7356","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_impedance.py","route_id":"route-130393a19cff03be","origin_key":"python:perovskite_sim.experiments.dynamic_defect_impedance._exact_keys","qualified_name":"perovskite_sim.experiments.dynamic_defect_impedance._exact_keys","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-75fed8b23ec166e2","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_impedance.py","route_id":"route-130393a19cff03be","origin_key":"python:perovskite_sim.experiments.dynamic_defect_impedance._finite","qualified_name":"perovskite_sim.experiments.dynamic_defect_impedance._finite","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-8915a9a87ad61f46","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_impedance.py","route_id":"route-130393a19cff03be","origin_key":"python:perovskite_sim.experiments.dynamic_defect_impedance._has_active_mobile_ions","qualified_name":"perovskite_sim.experiments.dynamic_defect_impedance._has_active_mobile_ions","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-a6c4d86d8b525cfd","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_impedance.py","route_id":"route-130393a19cff03be","origin_key":"python:perovskite_sim.experiments.dynamic_defect_impedance._interface_documents","qualified_name":"perovskite_sim.experiments.dynamic_defect_impedance._interface_documents","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-5a67b459d24b5ee2","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_impedance.py","route_id":"route-130393a19cff03be","origin_key":"python:perovskite_sim.experiments.dynamic_defect_impedance._json_ready","qualified_name":"perovskite_sim.experiments.dynamic_defect_impedance._json_ready","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-bf0d1394d713bcc5","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_impedance.py","route_id":"route-130393a19cff03be","origin_key":"python:perovskite_sim.experiments.dynamic_defect_impedance._positive_integer","qualified_name":"perovskite_sim.experiments.dynamic_defect_impedance._positive_integer","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-3a04a325218ece35","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_impedance.py","route_id":"route-130393a19cff03be","origin_key":"python:perovskite_sim.experiments.dynamic_defect_impedance._project_bulk","qualified_name":"perovskite_sim.experiments.dynamic_defect_impedance._project_bulk","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-9e03bf9d989c205b","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_impedance.py","route_id":"route-130393a19cff03be","origin_key":"python:perovskite_sim.experiments.dynamic_defect_impedance._project_combined","qualified_name":"perovskite_sim.experiments.dynamic_defect_impedance._project_combined","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-46c2e2c4efa213ee","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_impedance.py","route_id":"route-130393a19cff03be","origin_key":"python:perovskite_sim.experiments.dynamic_defect_impedance._project_interface","qualified_name":"perovskite_sim.experiments.dynamic_defect_impedance._project_interface","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-8abcc982f2076cce","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_impedance.py","route_id":"route-130393a19cff03be","origin_key":"python:perovskite_sim.experiments.dynamic_defect_impedance._sha256","qualified_name":"perovskite_sim.experiments.dynamic_defect_impedance._sha256","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-ee0c317f0c28a609","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_impedance.py","route_id":"route-130393a19cff03be","origin_key":"python:perovskite_sim.experiments.dynamic_defect_impedance._state_sha256","qualified_name":"perovskite_sim.experiments.dynamic_defect_impedance._state_sha256","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-ffb4e3a1a0bb1646","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_impedance.py","route_id":"route-130393a19cff03be","origin_key":"python:perovskite_sim.experiments.dynamic_defect_impedance._strict_float_tuple","qualified_name":"perovskite_sim.experiments.dynamic_defect_impedance._strict_float_tuple","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-88734d849d733b0f","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_impedance.py","route_id":"route-130393a19cff03be","origin_key":"python:perovskite_sim.experiments.dynamic_defect_impedance._window_evidence","qualified_name":"perovskite_sim.experiments.dynamic_defect_impedance._window_evidence","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-e6c8aab3c72ad431","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_impedance.py","route_id":"route-130393a19cff03be","origin_key":"python:perovskite_sim.experiments.dynamic_defect_impedance.build_dynamic_defect_impedance_protocol","qualified_name":"perovskite_sim.experiments.dynamic_defect_impedance.build_dynamic_defect_impedance_protocol","visibility":"public","evidence_level":"source_static"}, +{"id":"python-ee18a2d1193b0be0","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_impedance.py","route_id":"route-130393a19cff03be","origin_key":"python:perovskite_sim.experiments.dynamic_defect_impedance.classify_dynamic_defect_capability","qualified_name":"perovskite_sim.experiments.dynamic_defect_impedance.classify_dynamic_defect_capability","visibility":"public","evidence_level":"source_static"}, +{"id":"python-8fba31fa5f1ac182","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_impedance.py","route_id":"route-130393a19cff03be","origin_key":"python:perovskite_sim.experiments.dynamic_defect_impedance.default_dynamic_defect_impedance_gates","qualified_name":"perovskite_sim.experiments.dynamic_defect_impedance.default_dynamic_defect_impedance_gates","visibility":"public","evidence_level":"source_static"}, +{"id":"python-d86399490d6c431c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_impedance.py","route_id":"route-130393a19cff03be","origin_key":"python:perovskite_sim.experiments.dynamic_defect_impedance.resolve_dynamic_defect_impedance_protocol","qualified_name":"perovskite_sim.experiments.dynamic_defect_impedance.resolve_dynamic_defect_impedance_protocol","visibility":"public","evidence_level":"source_static"}, +{"id":"python-d30ce06363ae6cc5","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_impedance.py","route_id":"route-130393a19cff03be","origin_key":"python:perovskite_sim.experiments.dynamic_defect_impedance.run_dynamic_defect_impedance","qualified_name":"perovskite_sim.experiments.dynamic_defect_impedance.run_dynamic_defect_impedance","visibility":"public","evidence_level":"source_static"}, +{"id":"python-9825c8a1387300c2","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_transient.py","route_id":"route-a56ff31ad57a1f0e","origin_key":"python:perovskite_sim.experiments.dynamic_defect_transient.DynamicDefectTransientCapabilityError","qualified_name":"perovskite_sim.experiments.dynamic_defect_transient.DynamicDefectTransientCapabilityError","visibility":"public","evidence_level":"source_static"}, +{"id":"python-75654d05f293b664","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_transient.py","route_id":"route-a56ff31ad57a1f0e","origin_key":"python:perovskite_sim.experiments.dynamic_defect_transient.DynamicDefectTransientCertificationError","qualified_name":"perovskite_sim.experiments.dynamic_defect_transient.DynamicDefectTransientCertificationError","visibility":"public","evidence_level":"source_static"}, +{"id":"python-f967b31c18bf0377","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_transient.py","route_id":"route-a56ff31ad57a1f0e","origin_key":"python:perovskite_sim.experiments.dynamic_defect_transient.DynamicDefectTransientError","qualified_name":"perovskite_sim.experiments.dynamic_defect_transient.DynamicDefectTransientError","visibility":"public","evidence_level":"source_static"}, +{"id":"python-1e2a3c85148806cf","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_transient.py","route_id":"route-a56ff31ad57a1f0e","origin_key":"python:perovskite_sim.experiments.dynamic_defect_transient.DynamicDefectTransientEvidence","qualified_name":"perovskite_sim.experiments.dynamic_defect_transient.DynamicDefectTransientEvidence","visibility":"public","evidence_level":"source_static"}, +{"id":"python-c4ff27d1d368305b","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_transient.py","route_id":"route-a56ff31ad57a1f0e","origin_key":"python:perovskite_sim.experiments.dynamic_defect_transient.DynamicDefectTransientProductionResult","qualified_name":"perovskite_sim.experiments.dynamic_defect_transient.DynamicDefectTransientProductionResult","visibility":"public","evidence_level":"source_static"}, +{"id":"python-428d2d37bebe0e2f","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_transient.py","route_id":"route-a56ff31ad57a1f0e","origin_key":"python:perovskite_sim.experiments.dynamic_defect_transient.DynamicDefectTransientProductionResult.__post_init__","qualified_name":"perovskite_sim.experiments.dynamic_defect_transient.DynamicDefectTransientProductionResult.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-d1139367be638387","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_transient.py","route_id":"route-a56ff31ad57a1f0e","origin_key":"python:perovskite_sim.experiments.dynamic_defect_transient.DynamicDefectTransientProtocol","qualified_name":"perovskite_sim.experiments.dynamic_defect_transient.DynamicDefectTransientProtocol","visibility":"public","evidence_level":"source_static"}, +{"id":"python-02912f111424c569","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_transient.py","route_id":"route-a56ff31ad57a1f0e","origin_key":"python:perovskite_sim.experiments.dynamic_defect_transient.DynamicDefectTransientProtocol.__post_init__","qualified_name":"perovskite_sim.experiments.dynamic_defect_transient.DynamicDefectTransientProtocol.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-94669c7b332a0530","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_transient.py","route_id":"route-a56ff31ad57a1f0e","origin_key":"python:perovskite_sim.experiments.dynamic_defect_transient.DynamicDefectTransientProtocol.canonical_json","qualified_name":"perovskite_sim.experiments.dynamic_defect_transient.DynamicDefectTransientProtocol.canonical_json","visibility":"public","evidence_level":"source_static"}, +{"id":"python-0b0c660fad5e9410","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_transient.py","route_id":"route-a56ff31ad57a1f0e","origin_key":"python:perovskite_sim.experiments.dynamic_defect_transient.DynamicDefectTransientProtocol.from_dict","qualified_name":"perovskite_sim.experiments.dynamic_defect_transient.DynamicDefectTransientProtocol.from_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-1c8d0e41f5ec6a74","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_transient.py","route_id":"route-a56ff31ad57a1f0e","origin_key":"python:perovskite_sim.experiments.dynamic_defect_transient.DynamicDefectTransientProtocol.from_json","qualified_name":"perovskite_sim.experiments.dynamic_defect_transient.DynamicDefectTransientProtocol.from_json","visibility":"public","evidence_level":"source_static"}, +{"id":"python-a2167f12d40de135","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_transient.py","route_id":"route-a56ff31ad57a1f0e","origin_key":"python:perovskite_sim.experiments.dynamic_defect_transient.DynamicDefectTransientProtocol.protocol_hash","qualified_name":"perovskite_sim.experiments.dynamic_defect_transient.DynamicDefectTransientProtocol.protocol_hash","visibility":"public","evidence_level":"source_static"}, +{"id":"python-c53c0ceb30474f5c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_transient.py","route_id":"route-a56ff31ad57a1f0e","origin_key":"python:perovskite_sim.experiments.dynamic_defect_transient.DynamicDefectTransientProtocol.to_dict","qualified_name":"perovskite_sim.experiments.dynamic_defect_transient.DynamicDefectTransientProtocol.to_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-b75f778e073a0ccd","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_transient.py","route_id":"route-a56ff31ad57a1f0e","origin_key":"python:perovskite_sim.experiments.dynamic_defect_transient.DynamicDefectTransientProtocolError","qualified_name":"perovskite_sim.experiments.dynamic_defect_transient.DynamicDefectTransientProtocolError","visibility":"public","evidence_level":"source_static"}, +{"id":"python-90ed21d910db52d2","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_transient.py","route_id":"route-a56ff31ad57a1f0e","origin_key":"python:perovskite_sim.experiments.dynamic_defect_transient._active_positive_indices","qualified_name":"perovskite_sim.experiments.dynamic_defect_transient._active_positive_indices","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-b1db1cf6d8b80779","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_transient.py","route_id":"route-a56ff31ad57a1f0e","origin_key":"python:perovskite_sim.experiments.dynamic_defect_transient._bulk_defect_documents","qualified_name":"perovskite_sim.experiments.dynamic_defect_transient._bulk_defect_documents","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-c063fd6fa52c054a","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_transient.py","route_id":"route-a56ff31ad57a1f0e","origin_key":"python:perovskite_sim.experiments.dynamic_defect_transient._exact_keys","qualified_name":"perovskite_sim.experiments.dynamic_defect_transient._exact_keys","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-39e6a14a8a0a68d3","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_transient.py","route_id":"route-a56ff31ad57a1f0e","origin_key":"python:perovskite_sim.experiments.dynamic_defect_transient._finite","qualified_name":"perovskite_sim.experiments.dynamic_defect_transient._finite","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-1949d0264aa3732c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_transient.py","route_id":"route-a56ff31ad57a1f0e","origin_key":"python:perovskite_sim.experiments.dynamic_defect_transient._interface_documents","qualified_name":"perovskite_sim.experiments.dynamic_defect_transient._interface_documents","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-d950325d3b3ffde7","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_transient.py","route_id":"route-a56ff31ad57a1f0e","origin_key":"python:perovskite_sim.experiments.dynamic_defect_transient._json_ready","qualified_name":"perovskite_sim.experiments.dynamic_defect_transient._json_ready","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-189150578081b696","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_transient.py","route_id":"route-a56ff31ad57a1f0e","origin_key":"python:perovskite_sim.experiments.dynamic_defect_transient._maximum_positive_ion_relative_motion","qualified_name":"perovskite_sim.experiments.dynamic_defect_transient._maximum_positive_ion_relative_motion","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-05458a37d42917d2","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_transient.py","route_id":"route-a56ff31ad57a1f0e","origin_key":"python:perovskite_sim.experiments.dynamic_defect_transient._policy_from_dict","qualified_name":"perovskite_sim.experiments.dynamic_defect_transient._policy_from_dict","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-b3f90ad81707ff66","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_transient.py","route_id":"route-a56ff31ad57a1f0e","origin_key":"python:perovskite_sim.experiments.dynamic_defect_transient._positive_integer","qualified_name":"perovskite_sim.experiments.dynamic_defect_transient._positive_integer","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-72f1aa150175c2d8","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_transient.py","route_id":"route-a56ff31ad57a1f0e","origin_key":"python:perovskite_sim.experiments.dynamic_defect_transient._positive_ion_centroid","qualified_name":"perovskite_sim.experiments.dynamic_defect_transient._positive_ion_centroid","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-333cf636c5baee53","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_transient.py","route_id":"route-a56ff31ad57a1f0e","origin_key":"python:perovskite_sim.experiments.dynamic_defect_transient._readonly","qualified_name":"perovskite_sim.experiments.dynamic_defect_transient._readonly","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-8736f06d2abc960d","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_transient.py","route_id":"route-a56ff31ad57a1f0e","origin_key":"python:perovskite_sim.experiments.dynamic_defect_transient._sha256","qualified_name":"perovskite_sim.experiments.dynamic_defect_transient._sha256","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-3e39fbef4a3777a5","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_transient.py","route_id":"route-a56ff31ad57a1f0e","origin_key":"python:perovskite_sim.experiments.dynamic_defect_transient._state_sha256","qualified_name":"perovskite_sim.experiments.dynamic_defect_transient._state_sha256","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-db3b7bd8fe5dc23d","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_transient.py","route_id":"route-a56ff31ad57a1f0e","origin_key":"python:perovskite_sim.experiments.dynamic_defect_transient._trace_values","qualified_name":"perovskite_sim.experiments.dynamic_defect_transient._trace_values","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-7f57cc8d66ff37da","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_transient.py","route_id":"route-a56ff31ad57a1f0e","origin_key":"python:perovskite_sim.experiments.dynamic_defect_transient.build_dynamic_defect_transient_protocol","qualified_name":"perovskite_sim.experiments.dynamic_defect_transient.build_dynamic_defect_transient_protocol","visibility":"public","evidence_level":"source_static"}, +{"id":"python-25370a2ba5557871","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_transient.py","route_id":"route-a56ff31ad57a1f0e","origin_key":"python:perovskite_sim.experiments.dynamic_defect_transient.classify_dynamic_defect_transient_capability","qualified_name":"perovskite_sim.experiments.dynamic_defect_transient.classify_dynamic_defect_transient_capability","visibility":"public","evidence_level":"source_static"}, +{"id":"python-1d5012ec52be8a77","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_transient.py","route_id":"route-a56ff31ad57a1f0e","origin_key":"python:perovskite_sim.experiments.dynamic_defect_transient.default_dynamic_defect_transient_policy","qualified_name":"perovskite_sim.experiments.dynamic_defect_transient.default_dynamic_defect_transient_policy","visibility":"public","evidence_level":"source_static"}, +{"id":"python-5181b5a910807bea","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_transient.py","route_id":"route-a56ff31ad57a1f0e","origin_key":"python:perovskite_sim.experiments.dynamic_defect_transient.resolve_dynamic_defect_transient_protocol","qualified_name":"perovskite_sim.experiments.dynamic_defect_transient.resolve_dynamic_defect_transient_protocol","visibility":"public","evidence_level":"source_static"}, +{"id":"python-00412f969649154c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_transient.py","route_id":"route-a56ff31ad57a1f0e","origin_key":"python:perovskite_sim.experiments.dynamic_defect_transient.run_dynamic_defect_transient","qualified_name":"perovskite_sim.experiments.dynamic_defect_transient.run_dynamic_defect_transient","visibility":"public","evidence_level":"source_static"}, +{"id":"python-7cf3244ca86b24f8","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/el_spectrum.py","route_id":"route-e54ce44407041288","origin_key":"python:perovskite_sim.experiments.el_spectrum._absorber_mask","qualified_name":"perovskite_sim.experiments.el_spectrum._absorber_mask","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-921ad78828838aed","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/el_spectrum.py","route_id":"route-e54ce44407041288","origin_key":"python:perovskite_sim.experiments.el_spectrum._blackbody_photon_flux","qualified_name":"perovskite_sim.experiments.el_spectrum._blackbody_photon_flux","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-d24d616fcc46e0c8","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/el_spectrum.py","route_id":"route-e54ce44407041288","origin_key":"python:perovskite_sim.experiments.el_spectrum._build_tmm_layers","qualified_name":"perovskite_sim.experiments.el_spectrum._build_tmm_layers","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-58dc3b1f3cee4377","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/el_spectrum.py","route_id":"route-e54ce44407041288","origin_key":"python:perovskite_sim.experiments.el_spectrum._require_tmm_optical_data","qualified_name":"perovskite_sim.experiments.el_spectrum._require_tmm_optical_data","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-a605e2f301ee63c2","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/el_spectrum.py","route_id":"route-e54ce44407041288","origin_key":"python:perovskite_sim.experiments.el_spectrum.run_el_spectrum","qualified_name":"perovskite_sim.experiments.el_spectrum.run_el_spectrum","visibility":"public","evidence_level":"source_static"}, +{"id":"python-89646c078878b6ed","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/electrothermal.py","route_id":"route-7db2e643362dfd6c","origin_key":"python:perovskite_sim.experiments.electrothermal.ElectrothermalCapabilityError","qualified_name":"perovskite_sim.experiments.electrothermal.ElectrothermalCapabilityError","visibility":"public","evidence_level":"source_static"}, +{"id":"python-efe451242e35dde0","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/electrothermal.py","route_id":"route-7db2e643362dfd6c","origin_key":"python:perovskite_sim.experiments.electrothermal.ElectrothermalConvergenceError","qualified_name":"perovskite_sim.experiments.electrothermal.ElectrothermalConvergenceError","visibility":"public","evidence_level":"source_static"}, +{"id":"python-e319e900c84fc927","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/electrothermal.py","route_id":"route-7db2e643362dfd6c","origin_key":"python:perovskite_sim.experiments.electrothermal.ElectrothermalError","qualified_name":"perovskite_sim.experiments.electrothermal.ElectrothermalError","visibility":"public","evidence_level":"source_static"}, +{"id":"python-be340431eb180cb7","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/electrothermal.py","route_id":"route-7db2e643362dfd6c","origin_key":"python:perovskite_sim.experiments.electrothermal.ElectrothermalJVProtocol","qualified_name":"perovskite_sim.experiments.electrothermal.ElectrothermalJVProtocol","visibility":"public","evidence_level":"source_static"}, +{"id":"python-bf0d8040d2a756c8","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/electrothermal.py","route_id":"route-7db2e643362dfd6c","origin_key":"python:perovskite_sim.experiments.electrothermal.ElectrothermalJVProtocol.__post_init__","qualified_name":"perovskite_sim.experiments.electrothermal.ElectrothermalJVProtocol.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-04a9ed336662ff5a","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/electrothermal.py","route_id":"route-7db2e643362dfd6c","origin_key":"python:perovskite_sim.experiments.electrothermal.ElectrothermalJVProtocol.absolute_tolerance","qualified_name":"perovskite_sim.experiments.electrothermal.ElectrothermalJVProtocol.absolute_tolerance","visibility":"public","evidence_level":"source_static"}, +{"id":"python-2526da32487faba1","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/electrothermal.py","route_id":"route-7db2e643362dfd6c","origin_key":"python:perovskite_sim.experiments.electrothermal.ElectrothermalJVProtocol.canonical_json","qualified_name":"perovskite_sim.experiments.electrothermal.ElectrothermalJVProtocol.canonical_json","visibility":"public","evidence_level":"source_static"}, +{"id":"python-fc0248726c4867bf","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/electrothermal.py","route_id":"route-7db2e643362dfd6c","origin_key":"python:perovskite_sim.experiments.electrothermal.ElectrothermalJVProtocol.from_dict","qualified_name":"perovskite_sim.experiments.electrothermal.ElectrothermalJVProtocol.from_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-9412b6c018faded2","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/electrothermal.py","route_id":"route-7db2e643362dfd6c","origin_key":"python:perovskite_sim.experiments.electrothermal.ElectrothermalJVProtocol.sha256","qualified_name":"perovskite_sim.experiments.electrothermal.ElectrothermalJVProtocol.sha256","visibility":"public","evidence_level":"source_static"}, +{"id":"python-ce6ebbb4f9025e21","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/electrothermal.py","route_id":"route-7db2e643362dfd6c","origin_key":"python:perovskite_sim.experiments.electrothermal.ElectrothermalJVProtocol.to_dict","qualified_name":"perovskite_sim.experiments.electrothermal.ElectrothermalJVProtocol.to_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-199b9a5ae0b4b500","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/electrothermal.py","route_id":"route-7db2e643362dfd6c","origin_key":"python:perovskite_sim.experiments.electrothermal.ElectrothermalOperatingPointProtocol","qualified_name":"perovskite_sim.experiments.electrothermal.ElectrothermalOperatingPointProtocol","visibility":"public","evidence_level":"source_static"}, +{"id":"python-4eac76bb5565fbd7","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/electrothermal.py","route_id":"route-7db2e643362dfd6c","origin_key":"python:perovskite_sim.experiments.electrothermal.ElectrothermalOperatingPointProtocol.__post_init__","qualified_name":"perovskite_sim.experiments.electrothermal.ElectrothermalOperatingPointProtocol.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-bb62de286d84123d","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/electrothermal.py","route_id":"route-7db2e643362dfd6c","origin_key":"python:perovskite_sim.experiments.electrothermal.ElectrothermalOperatingPointProtocol.canonical_json","qualified_name":"perovskite_sim.experiments.electrothermal.ElectrothermalOperatingPointProtocol.canonical_json","visibility":"public","evidence_level":"source_static"}, +{"id":"python-a2f7eeb3b2502ba7","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/electrothermal.py","route_id":"route-7db2e643362dfd6c","origin_key":"python:perovskite_sim.experiments.electrothermal.ElectrothermalOperatingPointProtocol.from_dict","qualified_name":"perovskite_sim.experiments.electrothermal.ElectrothermalOperatingPointProtocol.from_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-89094fb23ebe069d","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/electrothermal.py","route_id":"route-7db2e643362dfd6c","origin_key":"python:perovskite_sim.experiments.electrothermal.ElectrothermalOperatingPointProtocol.sha256","qualified_name":"perovskite_sim.experiments.electrothermal.ElectrothermalOperatingPointProtocol.sha256","visibility":"public","evidence_level":"source_static"}, +{"id":"python-20cf3d2c1db1672b","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/electrothermal.py","route_id":"route-7db2e643362dfd6c","origin_key":"python:perovskite_sim.experiments.electrothermal.ElectrothermalOperatingPointProtocol.to_dict","qualified_name":"perovskite_sim.experiments.electrothermal.ElectrothermalOperatingPointProtocol.to_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-ad3407ed883d2970","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/electrothermal.py","route_id":"route-7db2e643362dfd6c","origin_key":"python:perovskite_sim.experiments.electrothermal.ElectrothermalOperatingPointResult","qualified_name":"perovskite_sim.experiments.electrothermal.ElectrothermalOperatingPointResult","visibility":"public","evidence_level":"source_static"}, +{"id":"python-2c7b23a7e00b604b","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/electrothermal.py","route_id":"route-7db2e643362dfd6c","origin_key":"python:perovskite_sim.experiments.electrothermal.ElectrothermalOperatingPointResult.__post_init__","qualified_name":"perovskite_sim.experiments.electrothermal.ElectrothermalOperatingPointResult.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-779450ee7f2d6a7b","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/electrothermal.py","route_id":"route-7db2e643362dfd6c","origin_key":"python:perovskite_sim.experiments.electrothermal.ElectrothermalSourceError","qualified_name":"perovskite_sim.experiments.electrothermal.ElectrothermalSourceError","visibility":"public","evidence_level":"source_static"}, +{"id":"python-ce846b7c5c4bbcdb","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/electrothermal.py","route_id":"route-7db2e643362dfd6c","origin_key":"python:perovskite_sim.experiments.electrothermal.ElectrothermalTemperatureEvaluation","qualified_name":"perovskite_sim.experiments.electrothermal.ElectrothermalTemperatureEvaluation","visibility":"public","evidence_level":"source_static"}, +{"id":"python-1ba33c96497d5c03","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/electrothermal.py","route_id":"route-7db2e643362dfd6c","origin_key":"python:perovskite_sim.experiments.electrothermal.ElectrothermalTemperatureEvaluation.__post_init__","qualified_name":"perovskite_sim.experiments.electrothermal.ElectrothermalTemperatureEvaluation.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-c04e9355cbe6062e","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/electrothermal.py","route_id":"route-7db2e643362dfd6c","origin_key":"python:perovskite_sim.experiments.electrothermal._canonical_json","qualified_name":"perovskite_sim.experiments.electrothermal._canonical_json","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-5a224e2257f8bc15","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/electrothermal.py","route_id":"route-7db2e643362dfd6c","origin_key":"python:perovskite_sim.experiments.electrothermal._exact_keys","qualified_name":"perovskite_sim.experiments.electrothermal._exact_keys","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-8397ae0bdbbc5acb","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/electrothermal.py","route_id":"route-7db2e643362dfd6c","origin_key":"python:perovskite_sim.experiments.electrothermal._finite","qualified_name":"perovskite_sim.experiments.electrothermal._finite","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-803f7023bf281e06","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/electrothermal.py","route_id":"route-7db2e643362dfd6c","origin_key":"python:perovskite_sim.experiments.electrothermal._integer","qualified_name":"perovskite_sim.experiments.electrothermal._integer","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-ce01830f8c454cf2","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/electrothermal.py","route_id":"route-7db2e643362dfd6c","origin_key":"python:perovskite_sim.experiments.electrothermal._json_ready","qualified_name":"perovskite_sim.experiments.electrothermal._json_ready","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-fbfe0d0d04e5f63a","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/electrothermal.py","route_id":"route-7db2e643362dfd6c","origin_key":"python:perovskite_sim.experiments.electrothermal._nonnegative","qualified_name":"perovskite_sim.experiments.electrothermal._nonnegative","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-3542ae4f5e84d34a","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/electrothermal.py","route_id":"route-7db2e643362dfd6c","origin_key":"python:perovskite_sim.experiments.electrothermal._positive","qualified_name":"perovskite_sim.experiments.electrothermal._positive","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-f2b98bfb112aeed8","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/electrothermal.py","route_id":"route-7db2e643362dfd6c","origin_key":"python:perovskite_sim.experiments.electrothermal._result_mapping_sha256","qualified_name":"perovskite_sim.experiments.electrothermal._result_mapping_sha256","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-892761a144204c77","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/electrothermal.py","route_id":"route-7db2e643362dfd6c","origin_key":"python:perovskite_sim.experiments.electrothermal._sampled_terminal_mpp","qualified_name":"perovskite_sim.experiments.electrothermal._sampled_terminal_mpp","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-55be433987077234","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/electrothermal.py","route_id":"route-7db2e643362dfd6c","origin_key":"python:perovskite_sim.experiments.electrothermal._sha256","qualified_name":"perovskite_sim.experiments.electrothermal._sha256","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-e92cfb920db6ca09","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/electrothermal.py","route_id":"route-7db2e643362dfd6c","origin_key":"python:perovskite_sim.experiments.electrothermal._stack_sha256","qualified_name":"perovskite_sim.experiments.electrothermal._stack_sha256","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-0b05693f6202a750","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/electrothermal.py","route_id":"route-7db2e643362dfd6c","origin_key":"python:perovskite_sim.experiments.electrothermal.solve_electrothermal_operating_point","qualified_name":"perovskite_sim.experiments.electrothermal.solve_electrothermal_operating_point","visibility":"public","evidence_level":"source_static"}, +{"id":"python-bf355024dc6f0a88","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/eqe.py","route_id":"route-5a8723c98dfd6f67","origin_key":"python:perovskite_sim.experiments.eqe.EQEResult","qualified_name":"perovskite_sim.experiments.eqe.EQEResult","visibility":"public","evidence_level":"source_static"}, +{"id":"python-5a17da535a7154d6","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/eqe.py","route_id":"route-5a8723c98dfd6f67","origin_key":"python:perovskite_sim.experiments.eqe._build_tmm_layers_single_wavelength","qualified_name":"perovskite_sim.experiments.eqe._build_tmm_layers_single_wavelength","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-7dc6be5bb0ba0507","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/eqe.py","route_id":"route-5a8723c98dfd6f67","origin_key":"python:perovskite_sim.experiments.eqe._require_tmm_optical_data","qualified_name":"perovskite_sim.experiments.eqe._require_tmm_optical_data","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-88b278e25a7baa8b","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/eqe.py","route_id":"route-5a8723c98dfd6f67","origin_key":"python:perovskite_sim.experiments.eqe._single_wavelength_generation","qualified_name":"perovskite_sim.experiments.eqe._single_wavelength_generation","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-785db5b46d8162b9","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/eqe.py","route_id":"route-5a8723c98dfd6f67","origin_key":"python:perovskite_sim.experiments.eqe.build_eqe_experiment_protocol","qualified_name":"perovskite_sim.experiments.eqe.build_eqe_experiment_protocol","visibility":"public","evidence_level":"source_static"}, +{"id":"python-c48be3847c79aaa4","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/eqe.py","route_id":"route-5a8723c98dfd6f67","origin_key":"python:perovskite_sim.experiments.eqe.compute_eqe","qualified_name":"perovskite_sim.experiments.eqe.compute_eqe","visibility":"public","evidence_level":"source_static"}, +{"id":"python-4e9b87b97ee62292","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/external_circuit.py","route_id":"route-f5899aee3f4d6b9e","origin_key":"python:perovskite_sim.experiments.external_circuit.ExternalCircuitBranch","qualified_name":"perovskite_sim.experiments.external_circuit.ExternalCircuitBranch","visibility":"public","evidence_level":"source_static"}, +{"id":"python-df3e21d333f1d752","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/external_circuit.py","route_id":"route-f5899aee3f4d6b9e","origin_key":"python:perovskite_sim.experiments.external_circuit.ExternalCircuitBranch.__post_init__","qualified_name":"perovskite_sim.experiments.external_circuit.ExternalCircuitBranch.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-8b2e1fbf70b325e6","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/external_circuit.py","route_id":"route-f5899aee3f4d6b9e","origin_key":"python:perovskite_sim.experiments.external_circuit.ExternalCircuitError","qualified_name":"perovskite_sim.experiments.external_circuit.ExternalCircuitError","visibility":"public","evidence_level":"source_static"}, +{"id":"python-6a27651d115f3faf","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/external_circuit.py","route_id":"route-f5899aee3f4d6b9e","origin_key":"python:perovskite_sim.experiments.external_circuit.ExternalCircuitJVResult","qualified_name":"perovskite_sim.experiments.external_circuit.ExternalCircuitJVResult","visibility":"public","evidence_level":"source_static"}, +{"id":"python-fea6961c02abf5ef","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/external_circuit.py","route_id":"route-f5899aee3f4d6b9e","origin_key":"python:perovskite_sim.experiments.external_circuit.ExternalCircuitJVResult.__post_init__","qualified_name":"perovskite_sim.experiments.external_circuit.ExternalCircuitJVResult.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-8d927aa3e6550b72","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/external_circuit.py","route_id":"route-f5899aee3f4d6b9e","origin_key":"python:perovskite_sim.experiments.external_circuit.ExternalCircuitProtocol","qualified_name":"perovskite_sim.experiments.external_circuit.ExternalCircuitProtocol","visibility":"public","evidence_level":"source_static"}, +{"id":"python-16b8db7dedc2eacc","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/external_circuit.py","route_id":"route-f5899aee3f4d6b9e","origin_key":"python:perovskite_sim.experiments.external_circuit.ExternalCircuitProtocol.__post_init__","qualified_name":"perovskite_sim.experiments.external_circuit.ExternalCircuitProtocol.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-cfd936c93664c55d","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/external_circuit.py","route_id":"route-f5899aee3f4d6b9e","origin_key":"python:perovskite_sim.experiments.external_circuit.ExternalCircuitProtocol.canonical_json","qualified_name":"perovskite_sim.experiments.external_circuit.ExternalCircuitProtocol.canonical_json","visibility":"public","evidence_level":"source_static"}, +{"id":"python-4fe95084e4614524","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/external_circuit.py","route_id":"route-f5899aee3f4d6b9e","origin_key":"python:perovskite_sim.experiments.external_circuit.ExternalCircuitProtocol.from_dict","qualified_name":"perovskite_sim.experiments.external_circuit.ExternalCircuitProtocol.from_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-9801aeac671a26b7","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/external_circuit.py","route_id":"route-f5899aee3f4d6b9e","origin_key":"python:perovskite_sim.experiments.external_circuit.ExternalCircuitProtocol.protocol_hash","qualified_name":"perovskite_sim.experiments.external_circuit.ExternalCircuitProtocol.protocol_hash","visibility":"public","evidence_level":"source_static"}, +{"id":"python-e611fb62c771cd52","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/external_circuit.py","route_id":"route-f5899aee3f4d6b9e","origin_key":"python:perovskite_sim.experiments.external_circuit.ExternalCircuitProtocol.sha256","qualified_name":"perovskite_sim.experiments.external_circuit.ExternalCircuitProtocol.sha256","visibility":"public","evidence_level":"source_static"}, +{"id":"python-4816e22e438424bc","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/external_circuit.py","route_id":"route-f5899aee3f4d6b9e","origin_key":"python:perovskite_sim.experiments.external_circuit.ExternalCircuitProtocol.to_dict","qualified_name":"perovskite_sim.experiments.external_circuit.ExternalCircuitProtocol.to_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-96f597b78c17fd44","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/external_circuit.py","route_id":"route-f5899aee3f4d6b9e","origin_key":"python:perovskite_sim.experiments.external_circuit.ExternalCircuitProtocol.zero_coupling","qualified_name":"perovskite_sim.experiments.external_circuit.ExternalCircuitProtocol.zero_coupling","visibility":"public","evidence_level":"source_static"}, +{"id":"python-a03b515d5a25f8dd","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/external_circuit.py","route_id":"route-f5899aee3f4d6b9e","origin_key":"python:perovskite_sim.experiments.external_circuit.ExternalCircuitSourceError","qualified_name":"perovskite_sim.experiments.external_circuit.ExternalCircuitSourceError","visibility":"public","evidence_level":"source_static"}, +{"id":"python-504f212eec06683d","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/external_circuit.py","route_id":"route-f5899aee3f4d6b9e","origin_key":"python:perovskite_sim.experiments.external_circuit.ExternalCircuitTopologyError","qualified_name":"perovskite_sim.experiments.external_circuit.ExternalCircuitTopologyError","visibility":"public","evidence_level":"source_static"}, +{"id":"python-4953530b5f1662d5","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/external_circuit.py","route_id":"route-f5899aee3f4d6b9e","origin_key":"python:perovskite_sim.experiments.external_circuit._finite_float","qualified_name":"perovskite_sim.experiments.external_circuit._finite_float","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-d36c06fbdde62252","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/external_circuit.py","route_id":"route-f5899aee3f4d6b9e","origin_key":"python:perovskite_sim.experiments.external_circuit._json_ready","qualified_name":"perovskite_sim.experiments.external_circuit._json_ready","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-a64d6c2146d0d613","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/external_circuit.py","route_id":"route-f5899aee3f4d6b9e","origin_key":"python:perovskite_sim.experiments.external_circuit._mapping_sha256","qualified_name":"perovskite_sim.experiments.external_circuit._mapping_sha256","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-357af181e6cea709","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/external_circuit.py","route_id":"route-f5899aee3f4d6b9e","origin_key":"python:perovskite_sim.experiments.external_circuit._orientation","qualified_name":"perovskite_sim.experiments.external_circuit._orientation","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-bb76f4200ae06ce0","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/external_circuit.py","route_id":"route-f5899aee3f4d6b9e","origin_key":"python:perovskite_sim.experiments.external_circuit._readonly_vector","qualified_name":"perovskite_sim.experiments.external_circuit._readonly_vector","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-4d98703341a0386e","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/external_circuit.py","route_id":"route-f5899aee3f4d6b9e","origin_key":"python:perovskite_sim.experiments.external_circuit._require_sha256","qualified_name":"perovskite_sim.experiments.external_circuit._require_sha256","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-a43b759ed8607b66","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/external_circuit.py","route_id":"route-f5899aee3f4d6b9e","origin_key":"python:perovskite_sim.experiments.external_circuit._source_result_sha256","qualified_name":"perovskite_sim.experiments.external_circuit._source_result_sha256","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-5b32b2a5890db17f","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/external_circuit.py","route_id":"route-f5899aee3f4d6b9e","origin_key":"python:perovskite_sim.experiments.external_circuit.apply_external_circuit","qualified_name":"perovskite_sim.experiments.external_circuit.apply_external_circuit","visibility":"public","evidence_level":"source_static"}, +{"id":"python-6978884029def753","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/external_circuit.py","route_id":"route-f5899aee3f4d6b9e","origin_key":"python:perovskite_sim.experiments.external_circuit.map_external_circuit_branch","qualified_name":"perovskite_sim.experiments.external_circuit.map_external_circuit_branch","visibility":"public","evidence_level":"source_static"}, +{"id":"python-d311834247f7bab9","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/identifiability.py","route_id":"route-aabd8ca4f67f1c35","origin_key":"python:perovskite_sim.experiments.identifiability.IdentifiabilityError","qualified_name":"perovskite_sim.experiments.identifiability.IdentifiabilityError","visibility":"public","evidence_level":"source_static"}, +{"id":"python-97ee8c323e3d713c","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/identifiability.py","route_id":"route-aabd8ca4f67f1c35","origin_key":"python:perovskite_sim.experiments.identifiability.IdentifiabilityFitAttempt","qualified_name":"perovskite_sim.experiments.identifiability.IdentifiabilityFitAttempt","visibility":"public","evidence_level":"source_static"}, +{"id":"python-565f3e67168f1210","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/identifiability.py","route_id":"route-aabd8ca4f67f1c35","origin_key":"python:perovskite_sim.experiments.identifiability.IdentifiabilityFitAttempt.__post_init__","qualified_name":"perovskite_sim.experiments.identifiability.IdentifiabilityFitAttempt.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-332c117b565aacfa","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/identifiability.py","route_id":"route-aabd8ca4f67f1c35","origin_key":"python:perovskite_sim.experiments.identifiability.IdentifiabilityForwardError","qualified_name":"perovskite_sim.experiments.identifiability.IdentifiabilityForwardError","visibility":"public","evidence_level":"source_static"}, +{"id":"python-a4e467fdda2fbbdc","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/identifiability.py","route_id":"route-aabd8ca4f67f1c35","origin_key":"python:perovskite_sim.experiments.identifiability.IdentifiabilityParameter","qualified_name":"perovskite_sim.experiments.identifiability.IdentifiabilityParameter","visibility":"public","evidence_level":"source_static"}, +{"id":"python-c95b3581d1182205","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/identifiability.py","route_id":"route-aabd8ca4f67f1c35","origin_key":"python:perovskite_sim.experiments.identifiability.IdentifiabilityParameter.__post_init__","qualified_name":"perovskite_sim.experiments.identifiability.IdentifiabilityParameter.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-87e3db6cb5dcc5c9","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/identifiability.py","route_id":"route-aabd8ca4f67f1c35","origin_key":"python:perovskite_sim.experiments.identifiability.IdentifiabilityParameter.from_dict","qualified_name":"perovskite_sim.experiments.identifiability.IdentifiabilityParameter.from_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-d34bf5c5f46f8589","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/identifiability.py","route_id":"route-aabd8ca4f67f1c35","origin_key":"python:perovskite_sim.experiments.identifiability.IdentifiabilityProfile","qualified_name":"perovskite_sim.experiments.identifiability.IdentifiabilityProfile","visibility":"public","evidence_level":"source_static"}, +{"id":"python-837e70ab49ee8fa3","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/identifiability.py","route_id":"route-aabd8ca4f67f1c35","origin_key":"python:perovskite_sim.experiments.identifiability.IdentifiabilityProfile.__post_init__","qualified_name":"perovskite_sim.experiments.identifiability.IdentifiabilityProfile.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-58c85bd982418151","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/identifiability.py","route_id":"route-aabd8ca4f67f1c35","origin_key":"python:perovskite_sim.experiments.identifiability.InterfaceCarrierCondition","qualified_name":"perovskite_sim.experiments.identifiability.InterfaceCarrierCondition","visibility":"public","evidence_level":"source_static"}, +{"id":"python-aed17842fcce869e","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/identifiability.py","route_id":"route-aabd8ca4f67f1c35","origin_key":"python:perovskite_sim.experiments.identifiability.InterfaceCarrierCondition.__post_init__","qualified_name":"perovskite_sim.experiments.identifiability.InterfaceCarrierCondition.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-735ee8e137dc2e83","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/identifiability.py","route_id":"route-aabd8ca4f67f1c35","origin_key":"python:perovskite_sim.experiments.identifiability.InterfaceCarrierCondition.from_dict","qualified_name":"perovskite_sim.experiments.identifiability.InterfaceCarrierCondition.from_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-4e69f6e8c4fe09c6","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/identifiability.py","route_id":"route-aabd8ca4f67f1c35","origin_key":"python:perovskite_sim.experiments.identifiability.InterfaceSRHIdentifiabilityProtocol","qualified_name":"perovskite_sim.experiments.identifiability.InterfaceSRHIdentifiabilityProtocol","visibility":"public","evidence_level":"source_static"}, +{"id":"python-8a3f2bde6eb21811","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/identifiability.py","route_id":"route-aabd8ca4f67f1c35","origin_key":"python:perovskite_sim.experiments.identifiability.InterfaceSRHIdentifiabilityProtocol.__post_init__","qualified_name":"perovskite_sim.experiments.identifiability.InterfaceSRHIdentifiabilityProtocol.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-ce8ae8b421dc1dca","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/identifiability.py","route_id":"route-aabd8ca4f67f1c35","origin_key":"python:perovskite_sim.experiments.identifiability.InterfaceSRHIdentifiabilityProtocol.canonical_json","qualified_name":"perovskite_sim.experiments.identifiability.InterfaceSRHIdentifiabilityProtocol.canonical_json","visibility":"public","evidence_level":"source_static"}, +{"id":"python-bc8b2feec9f93957","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/identifiability.py","route_id":"route-aabd8ca4f67f1c35","origin_key":"python:perovskite_sim.experiments.identifiability.InterfaceSRHIdentifiabilityProtocol.estimated_parameters","qualified_name":"perovskite_sim.experiments.identifiability.InterfaceSRHIdentifiabilityProtocol.estimated_parameters","visibility":"public","evidence_level":"source_static"}, +{"id":"python-4d11cccb184b2358","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/identifiability.py","route_id":"route-aabd8ca4f67f1c35","origin_key":"python:perovskite_sim.experiments.identifiability.InterfaceSRHIdentifiabilityProtocol.from_dict","qualified_name":"perovskite_sim.experiments.identifiability.InterfaceSRHIdentifiabilityProtocol.from_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-23e7e3ad3cbf4e02","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/identifiability.py","route_id":"route-aabd8ca4f67f1c35","origin_key":"python:perovskite_sim.experiments.identifiability.InterfaceSRHIdentifiabilityProtocol.sha256","qualified_name":"perovskite_sim.experiments.identifiability.InterfaceSRHIdentifiabilityProtocol.sha256","visibility":"public","evidence_level":"source_static"}, +{"id":"python-703c176f2003b910","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/identifiability.py","route_id":"route-aabd8ca4f67f1c35","origin_key":"python:perovskite_sim.experiments.identifiability.InterfaceSRHIdentifiabilityProtocol.to_dict","qualified_name":"perovskite_sim.experiments.identifiability.InterfaceSRHIdentifiabilityProtocol.to_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-41a009361f1eb62a","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/identifiability.py","route_id":"route-aabd8ca4f67f1c35","origin_key":"python:perovskite_sim.experiments.identifiability.InterfaceSRHIdentifiabilityResult","qualified_name":"perovskite_sim.experiments.identifiability.InterfaceSRHIdentifiabilityResult","visibility":"public","evidence_level":"source_static"}, +{"id":"python-ea60872036dcac8e","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/identifiability.py","route_id":"route-aabd8ca4f67f1c35","origin_key":"python:perovskite_sim.experiments.identifiability.InterfaceSRHIdentifiabilityResult.__post_init__","qualified_name":"perovskite_sim.experiments.identifiability.InterfaceSRHIdentifiabilityResult.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-3799d90441847a31","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/identifiability.py","route_id":"route-aabd8ca4f67f1c35","origin_key":"python:perovskite_sim.experiments.identifiability.InterfaceSRHIdentifiabilityResult.to_dict","qualified_name":"perovskite_sim.experiments.identifiability.InterfaceSRHIdentifiabilityResult.to_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-eb5b2b70f6825ecf","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/identifiability.py","route_id":"route-aabd8ca4f67f1c35","origin_key":"python:perovskite_sim.experiments.identifiability._ResidualEvaluator","qualified_name":"perovskite_sim.experiments.identifiability._ResidualEvaluator","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-b77eb806b0ede803","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/identifiability.py","route_id":"route-aabd8ca4f67f1c35","origin_key":"python:perovskite_sim.experiments.identifiability._ResidualEvaluator.__init__","qualified_name":"perovskite_sim.experiments.identifiability._ResidualEvaluator.__init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-85e462d817a5d0fa","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/identifiability.py","route_id":"route-aabd8ca4f67f1c35","origin_key":"python:perovskite_sim.experiments.identifiability._ResidualEvaluator.jacobian","qualified_name":"perovskite_sim.experiments.identifiability._ResidualEvaluator.jacobian","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-d3dc522c05a8dde2","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/identifiability.py","route_id":"route-aabd8ca4f67f1c35","origin_key":"python:perovskite_sim.experiments.identifiability._ResidualEvaluator.residual","qualified_name":"perovskite_sim.experiments.identifiability._ResidualEvaluator.residual","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-1f885a07045e5122","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/identifiability.py","route_id":"route-aabd8ca4f67f1c35","origin_key":"python:perovskite_sim.experiments.identifiability._block_standard_deviations","qualified_name":"perovskite_sim.experiments.identifiability._block_standard_deviations","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-62546f1ed3ebc852","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/identifiability.py","route_id":"route-aabd8ca4f67f1c35","origin_key":"python:perovskite_sim.experiments.identifiability._canonical_json","qualified_name":"perovskite_sim.experiments.identifiability._canonical_json","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-25168336e6ec21ab","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/identifiability.py","route_id":"route-aabd8ca4f67f1c35","origin_key":"python:perovskite_sim.experiments.identifiability._canonical_nullspace","qualified_name":"perovskite_sim.experiments.identifiability._canonical_nullspace","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-4db729ba9ce7abeb","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/identifiability.py","route_id":"route-aabd8ca4f67f1c35","origin_key":"python:perovskite_sim.experiments.identifiability._correlation_from_fisher","qualified_name":"perovskite_sim.experiments.identifiability._correlation_from_fisher","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-beae1cd62b2a4f73","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/identifiability.py","route_id":"route-aabd8ca4f67f1c35","origin_key":"python:perovskite_sim.experiments.identifiability._default_multistarts","qualified_name":"perovskite_sim.experiments.identifiability._default_multistarts","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-3230f5d3e9d5498b","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/identifiability.py","route_id":"route-aabd8ca4f67f1c35","origin_key":"python:perovskite_sim.experiments.identifiability._exact_keys","qualified_name":"perovskite_sim.experiments.identifiability._exact_keys","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-884bfc0b57895ac4","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/identifiability.py","route_id":"route-aabd8ca4f67f1c35","origin_key":"python:perovskite_sim.experiments.identifiability._expected_structural_rank","qualified_name":"perovskite_sim.experiments.identifiability._expected_structural_rank","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-c9eea537795cc785","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/identifiability.py","route_id":"route-aabd8ca4f67f1c35","origin_key":"python:perovskite_sim.experiments.identifiability._finite","qualified_name":"perovskite_sim.experiments.identifiability._finite","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-01761ce8f7a3f7a8","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/identifiability.py","route_id":"route-aabd8ca4f67f1c35","origin_key":"python:perovskite_sim.experiments.identifiability._finite_matrix","qualified_name":"perovskite_sim.experiments.identifiability._finite_matrix","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-50bd0eedda006d57","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/identifiability.py","route_id":"route-aabd8ca4f67f1c35","origin_key":"python:perovskite_sim.experiments.identifiability._fit","qualified_name":"perovskite_sim.experiments.identifiability._fit","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-d35097b7b5b3b700","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/identifiability.py","route_id":"route-aabd8ca4f67f1c35","origin_key":"python:perovskite_sim.experiments.identifiability._full_parameter_log_values","qualified_name":"perovskite_sim.experiments.identifiability._full_parameter_log_values","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-9f77a9cb08f89fc7","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/identifiability.py","route_id":"route-aabd8ca4f67f1c35","origin_key":"python:perovskite_sim.experiments.identifiability._integer","qualified_name":"perovskite_sim.experiments.identifiability._integer","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-6a5a582ae05fda0f","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/identifiability.py","route_id":"route-aabd8ca4f67f1c35","origin_key":"python:perovskite_sim.experiments.identifiability._json_ready","qualified_name":"perovskite_sim.experiments.identifiability._json_ready","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-acea5ce41d01c8ba","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/identifiability.py","route_id":"route-aabd8ca4f67f1c35","origin_key":"python:perovskite_sim.experiments.identifiability._nonnegative","qualified_name":"perovskite_sim.experiments.identifiability._nonnegative","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-a3c602ba49bfff1a","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/identifiability.py","route_id":"route-aabd8ca4f67f1c35","origin_key":"python:perovskite_sim.experiments.identifiability._positive","qualified_name":"perovskite_sim.experiments.identifiability._positive","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-c8a06813f770a37a","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/identifiability.py","route_id":"route-aabd8ca4f67f1c35","origin_key":"python:perovskite_sim.experiments.identifiability._predict_interface_srh_observables","qualified_name":"perovskite_sim.experiments.identifiability._predict_interface_srh_observables","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-f9d79976bc627270","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/identifiability.py","route_id":"route-aabd8ca4f67f1c35","origin_key":"python:perovskite_sim.experiments.identifiability._profile_parameter","qualified_name":"perovskite_sim.experiments.identifiability._profile_parameter","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-e489f4b6d31c9360","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/identifiability.py","route_id":"route-aabd8ca4f67f1c35","origin_key":"python:perovskite_sim.experiments.identifiability._result_unsigned_document","qualified_name":"perovskite_sim.experiments.identifiability._result_unsigned_document","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-871780bc9eafa05b","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/identifiability.py","route_id":"route-aabd8ca4f67f1c35","origin_key":"python:perovskite_sim.experiments.identifiability._sha256","qualified_name":"perovskite_sim.experiments.identifiability._sha256","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-044c3d92fbc592ed","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/identifiability.py","route_id":"route-aabd8ca4f67f1c35","origin_key":"python:perovskite_sim.experiments.identifiability.build_interface_srh_identifiability_protocol","qualified_name":"perovskite_sim.experiments.identifiability.build_interface_srh_identifiability_protocol","visibility":"public","evidence_level":"source_static"}, +{"id":"python-085101aa49c85cb7","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/identifiability.py","route_id":"route-aabd8ca4f67f1c35","origin_key":"python:perovskite_sim.experiments.identifiability.run_interface_srh_identifiability","qualified_name":"perovskite_sim.experiments.identifiability.run_interface_srh_identifiability","visibility":"public","evidence_level":"source_static"}, +{"id":"python-f04abf582f57a4c0","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/impedance.py","route_id":"route-7476954ae0fdb534","origin_key":"python:perovskite_sim.experiments.impedance.GridAssessment","qualified_name":"perovskite_sim.experiments.impedance.GridAssessment","visibility":"public","evidence_level":"source_static"}, +{"id":"python-5796c946c8f42aaf","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/impedance.py","route_id":"route-7476954ae0fdb534","origin_key":"python:perovskite_sim.experiments.impedance.ImpedanceCapabilityError","qualified_name":"perovskite_sim.experiments.impedance.ImpedanceCapabilityError","visibility":"public","evidence_level":"source_static"}, +{"id":"python-c9b56449efca1af8","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/impedance.py","route_id":"route-7476954ae0fdb534","origin_key":"python:perovskite_sim.experiments.impedance.ImpedanceCertificationError","qualified_name":"perovskite_sim.experiments.impedance.ImpedanceCertificationError","visibility":"public","evidence_level":"source_static"}, +{"id":"python-61c8cd5f611fc42e","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/impedance.py","route_id":"route-7476954ae0fdb534","origin_key":"python:perovskite_sim.experiments.impedance.ImpedanceDiagnostics","qualified_name":"perovskite_sim.experiments.impedance.ImpedanceDiagnostics","visibility":"public","evidence_level":"source_static"}, +{"id":"python-738abdb613d9a7f1","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/impedance.py","route_id":"route-7476954ae0fdb534","origin_key":"python:perovskite_sim.experiments.impedance.ImpedanceProtocol","qualified_name":"perovskite_sim.experiments.impedance.ImpedanceProtocol","visibility":"public","evidence_level":"source_static"}, +{"id":"python-6af6b0c2f0fcef99","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/impedance.py","route_id":"route-7476954ae0fdb534","origin_key":"python:perovskite_sim.experiments.impedance.ImpedanceResult","qualified_name":"perovskite_sim.experiments.impedance.ImpedanceResult","visibility":"public","evidence_level":"source_static"}, +{"id":"python-231ecb82dbe87fda","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/impedance.py","route_id":"route-7476954ae0fdb534","origin_key":"python:perovskite_sim.experiments.impedance.IonAwareImpedanceEvidence","qualified_name":"perovskite_sim.experiments.impedance.IonAwareImpedanceEvidence","visibility":"public","evidence_level":"source_static"}, +{"id":"python-45e73d76e6221f53","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/impedance.py","route_id":"route-7476954ae0fdb534","origin_key":"python:perovskite_sim.experiments.impedance.OperatingPointCertificate","qualified_name":"perovskite_sim.experiments.impedance.OperatingPointCertificate","visibility":"public","evidence_level":"source_static"}, +{"id":"python-fb9d955fa1fb76ce","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/impedance.py","route_id":"route-7476954ae0fdb534","origin_key":"python:perovskite_sim.experiments.impedance._assess_impedance_grid","qualified_name":"perovskite_sim.experiments.impedance._assess_impedance_grid","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-168c5906d0c155fa","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/impedance.py","route_id":"route-7476954ae0fdb534","origin_key":"python:perovskite_sim.experiments.impedance._ion_aware_operating_point_certificate","qualified_name":"perovskite_sim.experiments.impedance._ion_aware_operating_point_certificate","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-59857f5bd5eb756d","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/impedance.py","route_id":"route-7476954ae0fdb534","origin_key":"python:perovskite_sim.experiments.impedance._linear_detrend","qualified_name":"perovskite_sim.experiments.impedance._linear_detrend","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-a1d80529416043dc","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/impedance.py","route_id":"route-7476954ae0fdb534","origin_key":"python:perovskite_sim.experiments.impedance._lockin_extract","qualified_name":"perovskite_sim.experiments.impedance._lockin_extract","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-af1db68d3e8fdddd","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/impedance.py","route_id":"route-7476954ae0fdb534","origin_key":"python:perovskite_sim.experiments.impedance._qf_operating_point_certificate","qualified_name":"perovskite_sim.experiments.impedance._qf_operating_point_certificate","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-d8eaa6e7298511e3","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/impedance.py","route_id":"route-7476954ae0fdb534","origin_key":"python:perovskite_sim.experiments.impedance._transient_operating_point_certificate","qualified_name":"perovskite_sim.experiments.impedance._transient_operating_point_certificate","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-5a4d72146cdebf93","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/impedance.py","route_id":"route-7476954ae0fdb534","origin_key":"python:perovskite_sim.experiments.impedance.build_impedance_experiment_protocol","qualified_name":"perovskite_sim.experiments.impedance.build_impedance_experiment_protocol","visibility":"public","evidence_level":"source_static"}, +{"id":"python-391627b787026f81","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/impedance.py","route_id":"route-7476954ae0fdb534","origin_key":"python:perovskite_sim.experiments.impedance.extract_impedance","qualified_name":"perovskite_sim.experiments.impedance.extract_impedance","visibility":"public","evidence_level":"source_static"}, +{"id":"python-2f04296eb85e4928","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/impedance.py","route_id":"route-7476954ae0fdb534","origin_key":"python:perovskite_sim.experiments.impedance.run_impedance","qualified_name":"perovskite_sim.experiments.impedance.run_impedance","visibility":"public","evidence_level":"source_static"}, +{"id":"python-f4c2ce38a0db8dfd","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/impedance_frequency.py","route_id":"route-45c70ebb1a68590b","origin_key":"python:perovskite_sim.experiments.impedance_frequency.FrequencyWindowAssessment","qualified_name":"perovskite_sim.experiments.impedance_frequency.FrequencyWindowAssessment","visibility":"public","evidence_level":"source_static"}, +{"id":"python-cbf2bfbd835d5e1b","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/impedance_frequency.py","route_id":"route-45c70ebb1a68590b","origin_key":"python:perovskite_sim.experiments.impedance_frequency.IonicBranchCoverage","qualified_name":"perovskite_sim.experiments.impedance_frequency.IonicBranchCoverage","visibility":"public","evidence_level":"source_static"}, +{"id":"python-dd51ae5ddf475cc0","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/impedance_frequency.py","route_id":"route-45c70ebb1a68590b","origin_key":"python:perovskite_sim.experiments.impedance_frequency.IonicTimescale","qualified_name":"perovskite_sim.experiments.impedance_frequency.IonicTimescale","visibility":"public","evidence_level":"source_static"}, +{"id":"python-408576762d973e33","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/impedance_frequency.py","route_id":"route-45c70ebb1a68590b","origin_key":"python:perovskite_sim.experiments.impedance_frequency._contiguous_true_regions","qualified_name":"perovskite_sim.experiments.impedance_frequency._contiguous_true_regions","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-02ddbdfa6121e1fa","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/impedance_frequency.py","route_id":"route-45c70ebb1a68590b","origin_key":"python:perovskite_sim.experiments.impedance_frequency._node_values_from_faces","qualified_name":"perovskite_sim.experiments.impedance_frequency._node_values_from_faces","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-2fc3677aa326ea93","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/impedance_frequency.py","route_id":"route-45c70ebb1a68590b","origin_key":"python:perovskite_sim.experiments.impedance_frequency._positive","qualified_name":"perovskite_sim.experiments.impedance_frequency._positive","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-ef9a9b55e068bbe3","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/impedance_frequency.py","route_id":"route-45c70ebb1a68590b","origin_key":"python:perovskite_sim.experiments.impedance_frequency._species_data","qualified_name":"perovskite_sim.experiments.impedance_frequency._species_data","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-29c1dc4c691dcd19","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/impedance_frequency.py","route_id":"route-45c70ebb1a68590b","origin_key":"python:perovskite_sim.experiments.impedance_frequency.assess_impedance_frequency_window","qualified_name":"perovskite_sim.experiments.impedance_frequency.assess_impedance_frequency_window","visibility":"public","evidence_level":"source_static"}, +{"id":"python-2d505693ab1cdd49","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/interface_charge_jv.py","route_id":"route-5e747a794c569195","origin_key":"python:perovskite_sim.experiments.interface_charge_jv.InterfaceChargeJVAcceptance","qualified_name":"perovskite_sim.experiments.interface_charge_jv.InterfaceChargeJVAcceptance","visibility":"public","evidence_level":"source_static"}, +{"id":"python-89e933bf039e6f27","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/interface_charge_jv.py","route_id":"route-5e747a794c569195","origin_key":"python:perovskite_sim.experiments.interface_charge_jv.InterfaceChargeJVAcceptance.__post_init__","qualified_name":"perovskite_sim.experiments.interface_charge_jv.InterfaceChargeJVAcceptance.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-8ca4fe1729cc1ed7","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/interface_charge_jv.py","route_id":"route-5e747a794c569195","origin_key":"python:perovskite_sim.experiments.interface_charge_jv.InterfaceChargeJVAcceptance.from_dict","qualified_name":"perovskite_sim.experiments.interface_charge_jv.InterfaceChargeJVAcceptance.from_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-e0b68f97304af461","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/interface_charge_jv.py","route_id":"route-5e747a794c569195","origin_key":"python:perovskite_sim.experiments.interface_charge_jv.InterfaceChargeJVAcceptance.to_dict","qualified_name":"perovskite_sim.experiments.interface_charge_jv.InterfaceChargeJVAcceptance.to_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-2991f0d4700ca0d5","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/interface_charge_jv.py","route_id":"route-5e747a794c569195","origin_key":"python:perovskite_sim.experiments.interface_charge_jv.InterfaceChargeJVCertificationError","qualified_name":"perovskite_sim.experiments.interface_charge_jv.InterfaceChargeJVCertificationError","visibility":"public","evidence_level":"source_static"}, +{"id":"python-5e367018b7cc6282","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/interface_charge_jv.py","route_id":"route-5e747a794c569195","origin_key":"python:perovskite_sim.experiments.interface_charge_jv.InterfaceChargeJVEvidence","qualified_name":"perovskite_sim.experiments.interface_charge_jv.InterfaceChargeJVEvidence","visibility":"public","evidence_level":"source_static"}, +{"id":"python-aefadaa0ff86bfde","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/interface_charge_jv.py","route_id":"route-5e747a794c569195","origin_key":"python:perovskite_sim.experiments.interface_charge_jv.InterfaceChargeJVExecution","qualified_name":"perovskite_sim.experiments.interface_charge_jv.InterfaceChargeJVExecution","visibility":"public","evidence_level":"source_static"}, +{"id":"python-ec08c838fa4ac00f","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/interface_charge_jv.py","route_id":"route-5e747a794c569195","origin_key":"python:perovskite_sim.experiments.interface_charge_jv.InterfaceChargeJVPointEvidence","qualified_name":"perovskite_sim.experiments.interface_charge_jv.InterfaceChargeJVPointEvidence","visibility":"public","evidence_level":"source_static"}, +{"id":"python-96967114b642f553","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/interface_charge_jv.py","route_id":"route-5e747a794c569195","origin_key":"python:perovskite_sim.experiments.interface_charge_jv.InterfaceChargeJVProtocol","qualified_name":"perovskite_sim.experiments.interface_charge_jv.InterfaceChargeJVProtocol","visibility":"public","evidence_level":"source_static"}, +{"id":"python-aad117b390530c77","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/interface_charge_jv.py","route_id":"route-5e747a794c569195","origin_key":"python:perovskite_sim.experiments.interface_charge_jv.InterfaceChargeJVProtocol.__post_init__","qualified_name":"perovskite_sim.experiments.interface_charge_jv.InterfaceChargeJVProtocol.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-865d4495da80969e","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/interface_charge_jv.py","route_id":"route-5e747a794c569195","origin_key":"python:perovskite_sim.experiments.interface_charge_jv.InterfaceChargeJVProtocol.canonical_json","qualified_name":"perovskite_sim.experiments.interface_charge_jv.InterfaceChargeJVProtocol.canonical_json","visibility":"public","evidence_level":"source_static"}, +{"id":"python-441ceed7f8b8d81e","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/interface_charge_jv.py","route_id":"route-5e747a794c569195","origin_key":"python:perovskite_sim.experiments.interface_charge_jv.InterfaceChargeJVProtocol.from_dict","qualified_name":"perovskite_sim.experiments.interface_charge_jv.InterfaceChargeJVProtocol.from_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-0043a972be18ffac","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/interface_charge_jv.py","route_id":"route-5e747a794c569195","origin_key":"python:perovskite_sim.experiments.interface_charge_jv.InterfaceChargeJVProtocol.from_json","qualified_name":"perovskite_sim.experiments.interface_charge_jv.InterfaceChargeJVProtocol.from_json","visibility":"public","evidence_level":"source_static"}, +{"id":"python-d081f10a7c640bfc","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/interface_charge_jv.py","route_id":"route-5e747a794c569195","origin_key":"python:perovskite_sim.experiments.interface_charge_jv.InterfaceChargeJVProtocol.protocol_sha256","qualified_name":"perovskite_sim.experiments.interface_charge_jv.InterfaceChargeJVProtocol.protocol_sha256","visibility":"public","evidence_level":"source_static"}, +{"id":"python-808aef1558be3e9c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/interface_charge_jv.py","route_id":"route-5e747a794c569195","origin_key":"python:perovskite_sim.experiments.interface_charge_jv.InterfaceChargeJVProtocol.to_dict","qualified_name":"perovskite_sim.experiments.interface_charge_jv.InterfaceChargeJVProtocol.to_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-989b8361496bcba6","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/interface_charge_jv.py","route_id":"route-5e747a794c569195","origin_key":"python:perovskite_sim.experiments.interface_charge_jv.InterfaceChargeJVProtocolError","qualified_name":"perovskite_sim.experiments.interface_charge_jv.InterfaceChargeJVProtocolError","visibility":"public","evidence_level":"source_static"}, +{"id":"python-23e159c09f0911e1","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/interface_charge_jv.py","route_id":"route-5e747a794c569195","origin_key":"python:perovskite_sim.experiments.interface_charge_jv.InterfaceChargeJVSolverControls","qualified_name":"perovskite_sim.experiments.interface_charge_jv.InterfaceChargeJVSolverControls","visibility":"public","evidence_level":"source_static"}, +{"id":"python-9a668acb43e75693","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/interface_charge_jv.py","route_id":"route-5e747a794c569195","origin_key":"python:perovskite_sim.experiments.interface_charge_jv.InterfaceChargeJVSolverControls.__post_init__","qualified_name":"perovskite_sim.experiments.interface_charge_jv.InterfaceChargeJVSolverControls.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-42c201b4891a1a6b","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/interface_charge_jv.py","route_id":"route-5e747a794c569195","origin_key":"python:perovskite_sim.experiments.interface_charge_jv.InterfaceChargeJVSolverControls.from_dict","qualified_name":"perovskite_sim.experiments.interface_charge_jv.InterfaceChargeJVSolverControls.from_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-6ea8443a3da2ca18","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/interface_charge_jv.py","route_id":"route-5e747a794c569195","origin_key":"python:perovskite_sim.experiments.interface_charge_jv.InterfaceChargeJVSolverControls.refined","qualified_name":"perovskite_sim.experiments.interface_charge_jv.InterfaceChargeJVSolverControls.refined","visibility":"public","evidence_level":"source_static"}, +{"id":"python-7236f1f9cb9b0bc7","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/interface_charge_jv.py","route_id":"route-5e747a794c569195","origin_key":"python:perovskite_sim.experiments.interface_charge_jv.InterfaceChargeJVSolverControls.to_dict","qualified_name":"perovskite_sim.experiments.interface_charge_jv.InterfaceChargeJVSolverControls.to_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-85a414cf37ced9cc","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/interface_charge_jv.py","route_id":"route-5e747a794c569195","origin_key":"python:perovskite_sim.experiments.interface_charge_jv._build_evidence","qualified_name":"perovskite_sim.experiments.interface_charge_jv._build_evidence","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-15872f678e62c17d","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/interface_charge_jv.py","route_id":"route-5e747a794c569195","origin_key":"python:perovskite_sim.experiments.interface_charge_jv._dark_identity_verified","qualified_name":"perovskite_sim.experiments.interface_charge_jv._dark_identity_verified","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-0cc2330e8875825e","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/interface_charge_jv.py","route_id":"route-5e747a794c569195","origin_key":"python:perovskite_sim.experiments.interface_charge_jv._exact_mapping","qualified_name":"perovskite_sim.experiments.interface_charge_jv._exact_mapping","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-6123d7dabf56f213","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/interface_charge_jv.py","route_id":"route-5e747a794c569195","origin_key":"python:perovskite_sim.experiments.interface_charge_jv._finite","qualified_name":"perovskite_sim.experiments.interface_charge_jv._finite","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-0c44e28afb74f1e2","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/interface_charge_jv.py","route_id":"route-5e747a794c569195","origin_key":"python:perovskite_sim.experiments.interface_charge_jv._point_evidence","qualified_name":"perovskite_sim.experiments.interface_charge_jv._point_evidence","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-971d4d6e3a342282","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/interface_charge_jv.py","route_id":"route-5e747a794c569195","origin_key":"python:perovskite_sim.experiments.interface_charge_jv._positive","qualified_name":"perovskite_sim.experiments.interface_charge_jv._positive","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-3ec4ac9d7015a443","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/interface_charge_jv.py","route_id":"route-5e747a794c569195","origin_key":"python:perovskite_sim.experiments.interface_charge_jv._positive_integer","qualified_name":"perovskite_sim.experiments.interface_charge_jv._positive_integer","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-8bd82e9e4474ab6a","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/interface_charge_jv.py","route_id":"route-5e747a794c569195","origin_key":"python:perovskite_sim.experiments.interface_charge_jv._reject_duplicate_json_keys","qualified_name":"perovskite_sim.experiments.interface_charge_jv._reject_duplicate_json_keys","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-7a1fc3f279fe12aa","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/interface_charge_jv.py","route_id":"route-5e747a794c569195","origin_key":"python:perovskite_sim.experiments.interface_charge_jv.build_interface_charge_jv_protocol","qualified_name":"perovskite_sim.experiments.interface_charge_jv.build_interface_charge_jv_protocol","visibility":"public","evidence_level":"source_static"}, +{"id":"python-5826dc8ddf4a7918","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/interface_charge_jv.py","route_id":"route-5e747a794c569195","origin_key":"python:perovskite_sim.experiments.interface_charge_jv.solve_interface_charge_jv","qualified_name":"perovskite_sim.experiments.interface_charge_jv.solve_interface_charge_jv","visibility":"public","evidence_level":"source_static"}, +{"id":"python-5d1452f995496d53","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_aware_impedance.py","route_id":"route-0f4037cecfd2937f","origin_key":"python:perovskite_sim.experiments.interface_defect_aware_impedance.InterfaceDefectDeviceACCertificate","qualified_name":"perovskite_sim.experiments.interface_defect_aware_impedance.InterfaceDefectDeviceACCertificate","visibility":"public","evidence_level":"source_static"}, +{"id":"python-79fe04b8ef6b4719","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_aware_impedance.py","route_id":"route-0f4037cecfd2937f","origin_key":"python:perovskite_sim.experiments.interface_defect_aware_impedance.InterfaceDefectDeviceACCertificationError","qualified_name":"perovskite_sim.experiments.interface_defect_aware_impedance.InterfaceDefectDeviceACCertificationError","visibility":"public","evidence_level":"source_static"}, +{"id":"python-211f5c1d28932699","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_aware_impedance.py","route_id":"route-0f4037cecfd2937f","origin_key":"python:perovskite_sim.experiments.interface_defect_aware_impedance.InterfaceDefectDeviceACCertificationError.__init__","qualified_name":"perovskite_sim.experiments.interface_defect_aware_impedance.InterfaceDefectDeviceACCertificationError.__init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-663588fd95c04a2b","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_aware_impedance.py","route_id":"route-0f4037cecfd2937f","origin_key":"python:perovskite_sim.experiments.interface_defect_aware_impedance.InterfaceDefectDeviceACError","qualified_name":"perovskite_sim.experiments.interface_defect_aware_impedance.InterfaceDefectDeviceACError","visibility":"public","evidence_level":"source_static"}, +{"id":"python-c4df34c8cba1791d","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_aware_impedance.py","route_id":"route-0f4037cecfd2937f","origin_key":"python:perovskite_sim.experiments.interface_defect_aware_impedance.InterfaceDefectDeviceACResult","qualified_name":"perovskite_sim.experiments.interface_defect_aware_impedance.InterfaceDefectDeviceACResult","visibility":"public","evidence_level":"source_static"}, +{"id":"python-39b19a9039f4d5d3","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_aware_impedance.py","route_id":"route-0f4037cecfd2937f","origin_key":"python:perovskite_sim.experiments.interface_defect_aware_impedance.InterfaceDefectFrequencyWindow","qualified_name":"perovskite_sim.experiments.interface_defect_aware_impedance.InterfaceDefectFrequencyWindow","visibility":"public","evidence_level":"source_static"}, +{"id":"python-9cc26d328174a837","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_aware_impedance.py","route_id":"route-0f4037cecfd2937f","origin_key":"python:perovskite_sim.experiments.interface_defect_aware_impedance._assess_frequency_window","qualified_name":"perovskite_sim.experiments.interface_defect_aware_impedance._assess_frequency_window","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-5a934c0342c77864","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_aware_impedance.py","route_id":"route-0f4037cecfd2937f","origin_key":"python:perovskite_sim.experiments.interface_defect_aware_impedance._current_evaluation","qualified_name":"perovskite_sim.experiments.interface_defect_aware_impedance._current_evaluation","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-aa68d33dbb1eef2f","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_aware_impedance.py","route_id":"route-0f4037cecfd2937f","origin_key":"python:perovskite_sim.experiments.interface_defect_aware_impedance._occupancy_from_increment","qualified_name":"perovskite_sim.experiments.interface_defect_aware_impedance._occupancy_from_increment","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-5da8a1fafd840043","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_aware_impedance.py","route_id":"route-0f4037cecfd2937f","origin_key":"python:perovskite_sim.experiments.interface_defect_aware_impedance._occupancy_logit","qualified_name":"perovskite_sim.experiments.interface_defect_aware_impedance._occupancy_logit","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-c60509a63ec695dd","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_aware_impedance.py","route_id":"route-0f4037cecfd2937f","origin_key":"python:perovskite_sim.experiments.interface_defect_aware_impedance._readonly","qualified_name":"perovskite_sim.experiments.interface_defect_aware_impedance._readonly","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-df89ce42fc8377ff","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_aware_impedance.py","route_id":"route-0f4037cecfd2937f","origin_key":"python:perovskite_sim.experiments.interface_defect_aware_impedance._symmetric_relative_error","qualified_name":"perovskite_sim.experiments.interface_defect_aware_impedance._symmetric_relative_error","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-610a81efc07d0fe1","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_aware_impedance.py","route_id":"route-0f4037cecfd2937f","origin_key":"python:perovskite_sim.experiments.interface_defect_aware_impedance._validate_frequencies","qualified_name":"perovskite_sim.experiments.interface_defect_aware_impedance._validate_frequencies","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-0f9bb172e2c817a9","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_aware_impedance.py","route_id":"route-0f4037cecfd2937f","origin_key":"python:perovskite_sim.experiments.interface_defect_aware_impedance._validate_refinement_factors","qualified_name":"perovskite_sim.experiments.interface_defect_aware_impedance._validate_refinement_factors","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-99aa2cc84550d897","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_aware_impedance.py","route_id":"route-0f4037cecfd2937f","origin_key":"python:perovskite_sim.experiments.interface_defect_aware_impedance.run_interface_defect_device_impedance","qualified_name":"perovskite_sim.experiments.interface_defect_aware_impedance.run_interface_defect_device_impedance","visibility":"public","evidence_level":"source_static"}, +{"id":"python-05ac1f87e668adcc","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_ion_transient.py","route_id":"route-4a5beb0fdcf3619a","origin_key":"python:perovskite_sim.experiments.interface_defect_ion_transient.InterfaceDefectIonTransientCertificate","qualified_name":"perovskite_sim.experiments.interface_defect_ion_transient.InterfaceDefectIonTransientCertificate","visibility":"public","evidence_level":"source_static"}, +{"id":"python-67864777ef0369fe","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_ion_transient.py","route_id":"route-4a5beb0fdcf3619a","origin_key":"python:perovskite_sim.experiments.interface_defect_ion_transient.InterfaceDefectIonTransientCertificationError","qualified_name":"perovskite_sim.experiments.interface_defect_ion_transient.InterfaceDefectIonTransientCertificationError","visibility":"public","evidence_level":"source_static"}, +{"id":"python-cf2e7b1bacd18b56","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_ion_transient.py","route_id":"route-4a5beb0fdcf3619a","origin_key":"python:perovskite_sim.experiments.interface_defect_ion_transient.InterfaceDefectIonTransientCertificationError.__init__","qualified_name":"perovskite_sim.experiments.interface_defect_ion_transient.InterfaceDefectIonTransientCertificationError.__init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-9c29d857fd747ed1","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_ion_transient.py","route_id":"route-4a5beb0fdcf3619a","origin_key":"python:perovskite_sim.experiments.interface_defect_ion_transient.InterfaceDefectIonTransientError","qualified_name":"perovskite_sim.experiments.interface_defect_ion_transient.InterfaceDefectIonTransientError","visibility":"public","evidence_level":"source_static"}, +{"id":"python-da5af999d5e09208","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_ion_transient.py","route_id":"route-4a5beb0fdcf3619a","origin_key":"python:perovskite_sim.experiments.interface_defect_ion_transient.InterfaceDefectIonTransientPolicy","qualified_name":"perovskite_sim.experiments.interface_defect_ion_transient.InterfaceDefectIonTransientPolicy","visibility":"public","evidence_level":"source_static"}, +{"id":"python-1a3a433fbffaf91e","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_ion_transient.py","route_id":"route-4a5beb0fdcf3619a","origin_key":"python:perovskite_sim.experiments.interface_defect_ion_transient.InterfaceDefectIonTransientPolicy.__post_init__","qualified_name":"perovskite_sim.experiments.interface_defect_ion_transient.InterfaceDefectIonTransientPolicy.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-92777a67de8a12f5","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_ion_transient.py","route_id":"route-4a5beb0fdcf3619a","origin_key":"python:perovskite_sim.experiments.interface_defect_ion_transient.InterfaceDefectIonTransientResult","qualified_name":"perovskite_sim.experiments.interface_defect_ion_transient.InterfaceDefectIonTransientResult","visibility":"public","evidence_level":"source_static"}, +{"id":"python-5603d10fd940a9b0","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_ion_transient.py","route_id":"route-4a5beb0fdcf3619a","origin_key":"python:perovskite_sim.experiments.interface_defect_ion_transient.InterfaceDefectIonTransientResult.__post_init__","qualified_name":"perovskite_sim.experiments.interface_defect_ion_transient.InterfaceDefectIonTransientResult.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-4bc1e5ede9f350f6","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_ion_transient.py","route_id":"route-4a5beb0fdcf3619a","origin_key":"python:perovskite_sim.experiments.interface_defect_ion_transient.InterfaceIonDarkReference","qualified_name":"perovskite_sim.experiments.interface_defect_ion_transient.InterfaceIonDarkReference","visibility":"public","evidence_level":"source_static"}, +{"id":"python-67bbcd4ca2af2a24","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_ion_transient.py","route_id":"route-4a5beb0fdcf3619a","origin_key":"python:perovskite_sim.experiments.interface_defect_ion_transient.InterfaceIonDarkReference.__post_init__","qualified_name":"perovskite_sim.experiments.interface_defect_ion_transient.InterfaceIonDarkReference.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-d7f4ce9ae03dbe77","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_ion_transient.py","route_id":"route-4a5beb0fdcf3619a","origin_key":"python:perovskite_sim.experiments.interface_defect_ion_transient._InterfaceIonDeviceState","qualified_name":"perovskite_sim.experiments.interface_defect_ion_transient._InterfaceIonDeviceState","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-9c078f24557fb198","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_ion_transient.py","route_id":"route-4a5beb0fdcf3619a","origin_key":"python:perovskite_sim.experiments.interface_defect_ion_transient._InterfaceIonTransientSystem","qualified_name":"perovskite_sim.experiments.interface_defect_ion_transient._InterfaceIonTransientSystem","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-51e6880b14636562","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_ion_transient.py","route_id":"route-4a5beb0fdcf3619a","origin_key":"python:perovskite_sim.experiments.interface_defect_ion_transient._InterfaceIonTransientSystem.__init__","qualified_name":"perovskite_sim.experiments.interface_defect_ion_transient._InterfaceIonTransientSystem.__init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-af9eb7ed51e95219","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_ion_transient.py","route_id":"route-4a5beb0fdcf3619a","origin_key":"python:perovskite_sim.experiments.interface_defect_ion_transient._InterfaceIonTransientSystem._density_jacobian","qualified_name":"perovskite_sim.experiments.interface_defect_ion_transient._InterfaceIonTransientSystem._density_jacobian","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-c88bf858778e1dae","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_ion_transient.py","route_id":"route-4a5beb0fdcf3619a","origin_key":"python:perovskite_sim.experiments.interface_defect_ion_transient._InterfaceIonTransientSystem._increment_charge_density","qualified_name":"perovskite_sim.experiments.interface_defect_ion_transient._InterfaceIonTransientSystem._increment_charge_density","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-dbb837d01fe3ed1c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_ion_transient.py","route_id":"route-4a5beb0fdcf3619a","origin_key":"python:perovskite_sim.experiments.interface_defect_ion_transient._InterfaceIonTransientSystem._ion_coordinates","qualified_name":"perovskite_sim.experiments.interface_defect_ion_transient._InterfaceIonTransientSystem._ion_coordinates","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-d9c5d0e84e93b203","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_ion_transient.py","route_id":"route-4a5beb0fdcf3619a","origin_key":"python:perovskite_sim.experiments.interface_defect_ion_transient._InterfaceIonTransientSystem._ion_fields","qualified_name":"perovskite_sim.experiments.interface_defect_ion_transient._InterfaceIonTransientSystem._ion_fields","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-d928611ca96aada3","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_ion_transient.py","route_id":"route-4a5beb0fdcf3619a","origin_key":"python:perovskite_sim.experiments.interface_defect_ion_transient._InterfaceIonTransientSystem._ion_jacobians","qualified_name":"perovskite_sim.experiments.interface_defect_ion_transient._InterfaceIonTransientSystem._ion_jacobians","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-901309fa3c38d726","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_ion_transient.py","route_id":"route-4a5beb0fdcf3619a","origin_key":"python:perovskite_sim.experiments.interface_defect_ion_transient._InterfaceIonTransientSystem._relative","qualified_name":"perovskite_sim.experiments.interface_defect_ion_transient._InterfaceIonTransientSystem._relative","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-2ef15a18c7d27a10","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_ion_transient.py","route_id":"route-4a5beb0fdcf3619a","origin_key":"python:perovskite_sim.experiments.interface_defect_ion_transient._InterfaceIonTransientSystem._site_fraction","qualified_name":"perovskite_sim.experiments.interface_defect_ion_transient._InterfaceIonTransientSystem._site_fraction","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-ae01d042d2390153","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_ion_transient.py","route_id":"route-4a5beb0fdcf3619a","origin_key":"python:perovskite_sim.experiments.interface_defect_ion_transient._InterfaceIonTransientSystem.eliminated_operator_diagnostics","qualified_name":"perovskite_sim.experiments.interface_defect_ion_transient._InterfaceIonTransientSystem.eliminated_operator_diagnostics","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-cceb79b3eb5d0773","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_ion_transient.py","route_id":"route-4a5beb0fdcf3619a","origin_key":"python:perovskite_sim.experiments.interface_defect_ion_transient._InterfaceIonTransientSystem.eliminated_operator_error","qualified_name":"perovskite_sim.experiments.interface_defect_ion_transient._InterfaceIonTransientSystem.eliminated_operator_error","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-47361a9481267947","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_ion_transient.py","route_id":"route-4a5beb0fdcf3619a","origin_key":"python:perovskite_sim.experiments.interface_defect_ion_transient._InterfaceIonTransientSystem.evaluate","qualified_name":"perovskite_sim.experiments.interface_defect_ion_transient._InterfaceIonTransientSystem.evaluate","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-d7739f8612020bae","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_ion_transient.py","route_id":"route-4a5beb0fdcf3619a","origin_key":"python:perovskite_sim.experiments.interface_defect_ion_transient._InterfaceIonTransientSystem.integrated_charge","qualified_name":"perovskite_sim.experiments.interface_defect_ion_transient._InterfaceIonTransientSystem.integrated_charge","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-f416b8c9cb1ade2d","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_ion_transient.py","route_id":"route-4a5beb0fdcf3619a","origin_key":"python:perovskite_sim.experiments.interface_defect_ion_transient._InterfaceIonTransientSystem.integrated_charge_increment","qualified_name":"perovskite_sim.experiments.interface_defect_ion_transient._InterfaceIonTransientSystem.integrated_charge_increment","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-c2d274a900a3d9b9","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_ion_transient.py","route_id":"route-4a5beb0fdcf3619a","origin_key":"python:perovskite_sim.experiments.interface_defect_ion_transient._InterfaceIonTransientSystem.interface_current_sides","qualified_name":"perovskite_sim.experiments.interface_defect_ion_transient._InterfaceIonTransientSystem.interface_current_sides","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-95263a19c458f69b","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_ion_transient.py","route_id":"route-4a5beb0fdcf3619a","origin_key":"python:perovskite_sim.experiments.interface_defect_ion_transient._InterfaceIonTransientSystem.rebase","qualified_name":"perovskite_sim.experiments.interface_defect_ion_transient._InterfaceIonTransientSystem.rebase","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-e83d528908d25d48","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_ion_transient.py","route_id":"route-4a5beb0fdcf3619a","origin_key":"python:perovskite_sim.experiments.interface_defect_ion_transient._InterfaceIonTransientSystem.storage_increment","qualified_name":"perovskite_sim.experiments.interface_defect_ion_transient._InterfaceIonTransientSystem.storage_increment","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-0d5251a08ba8ff91","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_ion_transient.py","route_id":"route-4a5beb0fdcf3619a","origin_key":"python:perovskite_sim.experiments.interface_defect_ion_transient._InterfaceIonTransientSystem.storage_scale","qualified_name":"perovskite_sim.experiments.interface_defect_ion_transient._InterfaceIonTransientSystem.storage_scale","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-03bcecd4db615bbf","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_ion_transient.py","route_id":"route-4a5beb0fdcf3619a","origin_key":"python:perovskite_sim.experiments.interface_defect_ion_transient._embedding_error","qualified_name":"perovskite_sim.experiments.interface_defect_ion_transient._embedding_error","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-5a88c748f517648a","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_ion_transient.py","route_id":"route-4a5beb0fdcf3619a","origin_key":"python:perovskite_sim.experiments.interface_defect_ion_transient._inventory_drift","qualified_name":"perovskite_sim.experiments.interface_defect_ion_transient._inventory_drift","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-26a8d4c3c35b64e6","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_ion_transient.py","route_id":"route-4a5beb0fdcf3619a","origin_key":"python:perovskite_sim.experiments.interface_defect_ion_transient._inventory_trace","qualified_name":"perovskite_sim.experiments.interface_defect_ion_transient._inventory_trace","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-c5c39e10156287e0","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_ion_transient.py","route_id":"route-4a5beb0fdcf3619a","origin_key":"python:perovskite_sim.experiments.interface_defect_ion_transient._refinement_changes","qualified_name":"perovskite_sim.experiments.interface_defect_ion_transient._refinement_changes","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-9ca44b43b8687936","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_ion_transient.py","route_id":"route-4a5beb0fdcf3619a","origin_key":"python:perovskite_sim.experiments.interface_defect_ion_transient.run_interface_defect_ion_device_transient","qualified_name":"perovskite_sim.experiments.interface_defect_ion_transient.run_interface_defect_ion_device_transient","visibility":"public","evidence_level":"source_static"}, +{"id":"python-c9c365c8395568e3","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_transient.py","route_id":"route-9b19d2ed844a6c53","origin_key":"python:perovskite_sim.experiments.interface_defect_transient.InterfaceDefectTransientCertificate","qualified_name":"perovskite_sim.experiments.interface_defect_transient.InterfaceDefectTransientCertificate","visibility":"public","evidence_level":"source_static"}, +{"id":"python-5b76b2cda21a9ff9","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_transient.py","route_id":"route-9b19d2ed844a6c53","origin_key":"python:perovskite_sim.experiments.interface_defect_transient.InterfaceDefectTransientCertificationError","qualified_name":"perovskite_sim.experiments.interface_defect_transient.InterfaceDefectTransientCertificationError","visibility":"public","evidence_level":"source_static"}, +{"id":"python-02dcb5fea36e7d4e","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_transient.py","route_id":"route-9b19d2ed844a6c53","origin_key":"python:perovskite_sim.experiments.interface_defect_transient.InterfaceDefectTransientCertificationError.__init__","qualified_name":"perovskite_sim.experiments.interface_defect_transient.InterfaceDefectTransientCertificationError.__init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-2b4a70e1b1ef7f77","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_transient.py","route_id":"route-9b19d2ed844a6c53","origin_key":"python:perovskite_sim.experiments.interface_defect_transient.InterfaceDefectTransientError","qualified_name":"perovskite_sim.experiments.interface_defect_transient.InterfaceDefectTransientError","visibility":"public","evidence_level":"source_static"}, +{"id":"python-fb7164904675031b","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_transient.py","route_id":"route-9b19d2ed844a6c53","origin_key":"python:perovskite_sim.experiments.interface_defect_transient.InterfaceDefectTransientPolicy","qualified_name":"perovskite_sim.experiments.interface_defect_transient.InterfaceDefectTransientPolicy","visibility":"public","evidence_level":"source_static"}, +{"id":"python-6b5c26d1ca34b0a0","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_transient.py","route_id":"route-9b19d2ed844a6c53","origin_key":"python:perovskite_sim.experiments.interface_defect_transient.InterfaceDefectTransientPolicy.__post_init__","qualified_name":"perovskite_sim.experiments.interface_defect_transient.InterfaceDefectTransientPolicy.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-89a00be3fc7fe134","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_transient.py","route_id":"route-9b19d2ed844a6c53","origin_key":"python:perovskite_sim.experiments.interface_defect_transient.InterfaceDefectTransientResult","qualified_name":"perovskite_sim.experiments.interface_defect_transient.InterfaceDefectTransientResult","visibility":"public","evidence_level":"source_static"}, +{"id":"python-3a11c3828d7a4547","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_transient.py","route_id":"route-9b19d2ed844a6c53","origin_key":"python:perovskite_sim.experiments.interface_defect_transient.InterfaceDefectTransientResult.__post_init__","qualified_name":"perovskite_sim.experiments.interface_defect_transient.InterfaceDefectTransientResult.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-c29a57f04e6c8590","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_transient.py","route_id":"route-9b19d2ed844a6c53","origin_key":"python:perovskite_sim.experiments.interface_defect_transient._DeviceState","qualified_name":"perovskite_sim.experiments.interface_defect_transient._DeviceState","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-a96a1b1bcc4af6b0","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_transient.py","route_id":"route-9b19d2ed844a6c53","origin_key":"python:perovskite_sim.experiments.interface_defect_transient._InterfaceTransientSystem","qualified_name":"perovskite_sim.experiments.interface_defect_transient._InterfaceTransientSystem","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-5e881232aa1226bd","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_transient.py","route_id":"route-9b19d2ed844a6c53","origin_key":"python:perovskite_sim.experiments.interface_defect_transient._InterfaceTransientSystem.__init__","qualified_name":"perovskite_sim.experiments.interface_defect_transient._InterfaceTransientSystem.__init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-bb565ee2f04589fa","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_transient.py","route_id":"route-9b19d2ed844a6c53","origin_key":"python:perovskite_sim.experiments.interface_defect_transient._InterfaceTransientSystem._build_divergence_matrix","qualified_name":"perovskite_sim.experiments.interface_defect_transient._InterfaceTransientSystem._build_divergence_matrix","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-77d26d83da137e06","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_transient.py","route_id":"route-9b19d2ed844a6c53","origin_key":"python:perovskite_sim.experiments.interface_defect_transient._InterfaceTransientSystem._build_poisson_laplacian","qualified_name":"perovskite_sim.experiments.interface_defect_transient._InterfaceTransientSystem._build_poisson_laplacian","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-9d963d27aa6093ec","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_transient.py","route_id":"route-9b19d2ed844a6c53","origin_key":"python:perovskite_sim.experiments.interface_defect_transient._InterfaceTransientSystem._bulk_coordinate_chain","qualified_name":"perovskite_sim.experiments.interface_defect_transient._InterfaceTransientSystem._bulk_coordinate_chain","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-37ee02240482fe0d","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_transient.py","route_id":"route-9b19d2ed844a6c53","origin_key":"python:perovskite_sim.experiments.interface_defect_transient._InterfaceTransientSystem._bulk_density_coordinates","qualified_name":"perovskite_sim.experiments.interface_defect_transient._InterfaceTransientSystem._bulk_density_coordinates","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-36288a6d8a1f43e8","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_transient.py","route_id":"route-9b19d2ed844a6c53","origin_key":"python:perovskite_sim.experiments.interface_defect_transient._InterfaceTransientSystem._carrier_rate_fields","qualified_name":"perovskite_sim.experiments.interface_defect_transient._InterfaceTransientSystem._carrier_rate_fields","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-e958a4ec221d0593","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_transient.py","route_id":"route-9b19d2ed844a6c53","origin_key":"python:perovskite_sim.experiments.interface_defect_transient._InterfaceTransientSystem._coordinates","qualified_name":"perovskite_sim.experiments.interface_defect_transient._InterfaceTransientSystem._coordinates","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-97617828c7c441da","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_transient.py","route_id":"route-9b19d2ed844a6c53","origin_key":"python:perovskite_sim.experiments.interface_defect_transient._InterfaceTransientSystem._currents","qualified_name":"perovskite_sim.experiments.interface_defect_transient._InterfaceTransientSystem._currents","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-ae8bd53b5c2b5349","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_transient.py","route_id":"route-9b19d2ed844a6c53","origin_key":"python:perovskite_sim.experiments.interface_defect_transient._InterfaceTransientSystem._increment_charge_density","qualified_name":"perovskite_sim.experiments.interface_defect_transient._InterfaceTransientSystem._increment_charge_density","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-389d502dd6224803","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_transient.py","route_id":"route-9b19d2ed844a6c53","origin_key":"python:perovskite_sim.experiments.interface_defect_transient._InterfaceTransientSystem._interface_carrier_conduction","qualified_name":"perovskite_sim.experiments.interface_defect_transient._InterfaceTransientSystem._interface_carrier_conduction","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-247a3c26d84ff05a","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_transient.py","route_id":"route-9b19d2ed844a6c53","origin_key":"python:perovskite_sim.experiments.interface_defect_transient._InterfaceTransientSystem._jacobians","qualified_name":"perovskite_sim.experiments.interface_defect_transient._InterfaceTransientSystem._jacobians","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-e55033c78179cbf3","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_transient.py","route_id":"route-9b19d2ed844a6c53","origin_key":"python:perovskite_sim.experiments.interface_defect_transient._InterfaceTransientSystem._local_block_slice","qualified_name":"perovskite_sim.experiments.interface_defect_transient._InterfaceTransientSystem._local_block_slice","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-527b28cb8931c1ec","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_transient.py","route_id":"route-9b19d2ed844a6c53","origin_key":"python:perovskite_sim.experiments.interface_defect_transient._InterfaceTransientSystem._local_carrier_jacobians","qualified_name":"perovskite_sim.experiments.interface_defect_transient._InterfaceTransientSystem._local_carrier_jacobians","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-73453884b22d9724","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_transient.py","route_id":"route-9b19d2ed844a6c53","origin_key":"python:perovskite_sim.experiments.interface_defect_transient._InterfaceTransientSystem._local_states","qualified_name":"perovskite_sim.experiments.interface_defect_transient._InterfaceTransientSystem._local_states","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-d874e203b52493a1","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_transient.py","route_id":"route-9b19d2ed844a6c53","origin_key":"python:perovskite_sim.experiments.interface_defect_transient._InterfaceTransientSystem._sheet_weights","qualified_name":"perovskite_sim.experiments.interface_defect_transient._InterfaceTransientSystem._sheet_weights","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-91c0c1b6301c78df","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_transient.py","route_id":"route-9b19d2ed844a6c53","origin_key":"python:perovskite_sim.experiments.interface_defect_transient._InterfaceTransientSystem._source","qualified_name":"perovskite_sim.experiments.interface_defect_transient._InterfaceTransientSystem._source","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-991482b2a6beed5f","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_transient.py","route_id":"route-9b19d2ed844a6c53","origin_key":"python:perovskite_sim.experiments.interface_defect_transient._InterfaceTransientSystem._trace_density_coordinates","qualified_name":"perovskite_sim.experiments.interface_defect_transient._InterfaceTransientSystem._trace_density_coordinates","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-f5574b98752365e8","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_transient.py","route_id":"route-9b19d2ed844a6c53","origin_key":"python:perovskite_sim.experiments.interface_defect_transient._InterfaceTransientSystem._with_step_electrostatics","qualified_name":"perovskite_sim.experiments.interface_defect_transient._InterfaceTransientSystem._with_step_electrostatics","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-11510bbf08f01319","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_transient.py","route_id":"route-9b19d2ed844a6c53","origin_key":"python:perovskite_sim.experiments.interface_defect_transient._InterfaceTransientSystem.charge_balance_metrics","qualified_name":"perovskite_sim.experiments.interface_defect_transient._InterfaceTransientSystem.charge_balance_metrics","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-16d229b033458f19","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_transient.py","route_id":"route-9b19d2ed844a6c53","origin_key":"python:perovskite_sim.experiments.interface_defect_transient._InterfaceTransientSystem.eliminated_operator_error","qualified_name":"perovskite_sim.experiments.interface_defect_transient._InterfaceTransientSystem.eliminated_operator_error","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-04e600d0b24e26d9","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_transient.py","route_id":"route-9b19d2ed844a6c53","origin_key":"python:perovskite_sim.experiments.interface_defect_transient._InterfaceTransientSystem.evaluate","qualified_name":"perovskite_sim.experiments.interface_defect_transient._InterfaceTransientSystem.evaluate","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-c3fea75f3909fb69","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_transient.py","route_id":"route-9b19d2ed844a6c53","origin_key":"python:perovskite_sim.experiments.interface_defect_transient._InterfaceTransientSystem.initial_coordinate","qualified_name":"perovskite_sim.experiments.interface_defect_transient._InterfaceTransientSystem.initial_coordinate","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-a5bca8f6953ef603","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_transient.py","route_id":"route-9b19d2ed844a6c53","origin_key":"python:perovskite_sim.experiments.interface_defect_transient._InterfaceTransientSystem.integrated_charge","qualified_name":"perovskite_sim.experiments.interface_defect_transient._InterfaceTransientSystem.integrated_charge","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-81fc270b81aa9595","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_transient.py","route_id":"route-9b19d2ed844a6c53","origin_key":"python:perovskite_sim.experiments.interface_defect_transient._InterfaceTransientSystem.integrated_charge_increment","qualified_name":"perovskite_sim.experiments.interface_defect_transient._InterfaceTransientSystem.integrated_charge_increment","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-c120f513acd3050c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_transient.py","route_id":"route-9b19d2ed844a6c53","origin_key":"python:perovskite_sim.experiments.interface_defect_transient._InterfaceTransientSystem.interface_current_sides","qualified_name":"perovskite_sim.experiments.interface_defect_transient._InterfaceTransientSystem.interface_current_sides","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-4f517f5842eb87c7","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_transient.py","route_id":"route-9b19d2ed844a6c53","origin_key":"python:perovskite_sim.experiments.interface_defect_transient._InterfaceTransientSystem.local_algebraic_scale","qualified_name":"perovskite_sim.experiments.interface_defect_transient._InterfaceTransientSystem.local_algebraic_scale","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-6381f02062ed5638","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_transient.py","route_id":"route-9b19d2ed844a6c53","origin_key":"python:perovskite_sim.experiments.interface_defect_transient._InterfaceTransientSystem.local_normalized_residuals","qualified_name":"perovskite_sim.experiments.interface_defect_transient._InterfaceTransientSystem.local_normalized_residuals","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-72d04db19e10f25f","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_transient.py","route_id":"route-9b19d2ed844a6c53","origin_key":"python:perovskite_sim.experiments.interface_defect_transient._InterfaceTransientSystem.poisson_scale","qualified_name":"perovskite_sim.experiments.interface_defect_transient._InterfaceTransientSystem.poisson_scale","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-854b57ac13d593a0","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_transient.py","route_id":"route-9b19d2ed844a6c53","origin_key":"python:perovskite_sim.experiments.interface_defect_transient._InterfaceTransientSystem.potential_increment","qualified_name":"perovskite_sim.experiments.interface_defect_transient._InterfaceTransientSystem.potential_increment","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-b64015fa0208e78e","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_transient.py","route_id":"route-9b19d2ed844a6c53","origin_key":"python:perovskite_sim.experiments.interface_defect_transient._InterfaceTransientSystem.rebase","qualified_name":"perovskite_sim.experiments.interface_defect_transient._InterfaceTransientSystem.rebase","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-52cf797b7206e91c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_transient.py","route_id":"route-9b19d2ed844a6c53","origin_key":"python:perovskite_sim.experiments.interface_defect_transient._InterfaceTransientSystem.residual_and_jacobian","qualified_name":"perovskite_sim.experiments.interface_defect_transient._InterfaceTransientSystem.residual_and_jacobian","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-d6a4d3508212ec40","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_transient.py","route_id":"route-9b19d2ed844a6c53","origin_key":"python:perovskite_sim.experiments.interface_defect_transient._InterfaceTransientSystem.solver_current_metrics","qualified_name":"perovskite_sim.experiments.interface_defect_transient._InterfaceTransientSystem.solver_current_metrics","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-de653e481cce67f0","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_transient.py","route_id":"route-9b19d2ed844a6c53","origin_key":"python:perovskite_sim.experiments.interface_defect_transient._InterfaceTransientSystem.storage_increment","qualified_name":"perovskite_sim.experiments.interface_defect_transient._InterfaceTransientSystem.storage_increment","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-0b937edaa0bd3bc0","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_transient.py","route_id":"route-9b19d2ed844a6c53","origin_key":"python:perovskite_sim.experiments.interface_defect_transient._InterfaceTransientSystem.storage_scale","qualified_name":"perovskite_sim.experiments.interface_defect_transient._InterfaceTransientSystem.storage_scale","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-984a433582badd29","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_transient.py","route_id":"route-9b19d2ed844a6c53","origin_key":"python:perovskite_sim.experiments.interface_defect_transient._InterfaceTransientSystem.transient_current_metrics","qualified_name":"perovskite_sim.experiments.interface_defect_transient._InterfaceTransientSystem.transient_current_metrics","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-ea079d14e12a3721","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_transient.py","route_id":"route-9b19d2ed844a6c53","origin_key":"python:perovskite_sim.experiments.interface_defect_transient._LocalState","qualified_name":"perovskite_sim.experiments.interface_defect_transient._LocalState","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-1983a7db51ab16e1","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_transient.py","route_id":"route-9b19d2ed844a6c53","origin_key":"python:perovskite_sim.experiments.interface_defect_transient._Trace","qualified_name":"perovskite_sim.experiments.interface_defect_transient._Trace","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-21456f20b217f3ac","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_transient.py","route_id":"route-9b19d2ed844a6c53","origin_key":"python:perovskite_sim.experiments.interface_defect_transient._finite_positive","qualified_name":"perovskite_sim.experiments.interface_defect_transient._finite_positive","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-76dee1d296e98597","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_transient.py","route_id":"route-9b19d2ed844a6c53","origin_key":"python:perovskite_sim.experiments.interface_defect_transient._integrate_trace","qualified_name":"perovskite_sim.experiments.interface_defect_transient._integrate_trace","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-647d74264dbf1d7b","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_transient.py","route_id":"route-9b19d2ed844a6c53","origin_key":"python:perovskite_sim.experiments.interface_defect_transient._jacobian_error","qualified_name":"perovskite_sim.experiments.interface_defect_transient._jacobian_error","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-e4df7416ae06bf4d","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_transient.py","route_id":"route-9b19d2ed844a6c53","origin_key":"python:perovskite_sim.experiments.interface_defect_transient._occupancy_from_increment","qualified_name":"perovskite_sim.experiments.interface_defect_transient._occupancy_from_increment","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-a841fb11f16e8524","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_transient.py","route_id":"route-9b19d2ed844a6c53","origin_key":"python:perovskite_sim.experiments.interface_defect_transient._occupancy_logit","qualified_name":"perovskite_sim.experiments.interface_defect_transient._occupancy_logit","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-255b706d4a03c99e","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_transient.py","route_id":"route-9b19d2ed844a6c53","origin_key":"python:perovskite_sim.experiments.interface_defect_transient._readonly","qualified_name":"perovskite_sim.experiments.interface_defect_transient._readonly","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-73212ba97b7fa006","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_transient.py","route_id":"route-9b19d2ed844a6c53","origin_key":"python:perovskite_sim.experiments.interface_defect_transient._refinement_changes","qualified_name":"perovskite_sim.experiments.interface_defect_transient._refinement_changes","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-8f6f6e325e98654e","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_transient.py","route_id":"route-9b19d2ed844a6c53","origin_key":"python:perovskite_sim.experiments.interface_defect_transient._solve_step","qualified_name":"perovskite_sim.experiments.interface_defect_transient._solve_step","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-858402c66350d87c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_transient.py","route_id":"route-9b19d2ed844a6c53","origin_key":"python:perovskite_sim.experiments.interface_defect_transient._symmetric_relative_error","qualified_name":"perovskite_sim.experiments.interface_defect_transient._symmetric_relative_error","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-aa477f836f87ba2c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_transient.py","route_id":"route-9b19d2ed844a6c53","origin_key":"python:perovskite_sim.experiments.interface_defect_transient._validate_refinement_substeps","qualified_name":"perovskite_sim.experiments.interface_defect_transient._validate_refinement_substeps","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-bd62f1c488c14b8b","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_transient.py","route_id":"route-9b19d2ed844a6c53","origin_key":"python:perovskite_sim.experiments.interface_defect_transient._validate_trace_inputs","qualified_name":"perovskite_sim.experiments.interface_defect_transient._validate_trace_inputs","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-5a22ce3a70a1f7d9","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_transient.py","route_id":"route-9b19d2ed844a6c53","origin_key":"python:perovskite_sim.experiments.interface_defect_transient.effective_newton_acceptance_settings","qualified_name":"perovskite_sim.experiments.interface_defect_transient.effective_newton_acceptance_settings","visibility":"public","evidence_level":"source_static"}, +{"id":"python-adc2d71c85c2226c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_transient.py","route_id":"route-9b19d2ed844a6c53","origin_key":"python:perovskite_sim.experiments.interface_defect_transient.run_interface_defect_device_transient","qualified_name":"perovskite_sim.experiments.interface_defect_transient.run_interface_defect_device_transient","visibility":"public","evidence_level":"source_static"}, +{"id":"python-13fc636eff4a9556","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_analytic_reaction.py","route_id":"route-2d70ff5a414a71bc","origin_key":"python:perovskite_sim.experiments.ion_aware_analytic_reaction.IonAwareAnalyticBulkReactionLinearization","qualified_name":"perovskite_sim.experiments.ion_aware_analytic_reaction.IonAwareAnalyticBulkReactionLinearization","visibility":"public","evidence_level":"source_static"}, +{"id":"python-31711bb316f1adbc","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_analytic_reaction.py","route_id":"route-2d70ff5a414a71bc","origin_key":"python:perovskite_sim.experiments.ion_aware_analytic_reaction.IonAwareAnalyticContactLinearization","qualified_name":"perovskite_sim.experiments.ion_aware_analytic_reaction.IonAwareAnalyticContactLinearization","visibility":"public","evidence_level":"source_static"}, +{"id":"python-01347904d7e0d1c5","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_analytic_reaction.py","route_id":"route-2d70ff5a414a71bc","origin_key":"python:perovskite_sim.experiments.ion_aware_analytic_reaction.IonAwareAnalyticInterfaceReactionLinearization","qualified_name":"perovskite_sim.experiments.ion_aware_analytic_reaction.IonAwareAnalyticInterfaceReactionLinearization","visibility":"public","evidence_level":"source_static"}, +{"id":"python-af40e8bad0dbb0f7","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_analytic_reaction.py","route_id":"route-2d70ff5a414a71bc","origin_key":"python:perovskite_sim.experiments.ion_aware_analytic_reaction.IonAwareAnalyticReactionCapabilityError","qualified_name":"perovskite_sim.experiments.ion_aware_analytic_reaction.IonAwareAnalyticReactionCapabilityError","visibility":"public","evidence_level":"source_static"}, +{"id":"python-4b8d48d8a0d3aed3","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_analytic_reaction.py","route_id":"route-2d70ff5a414a71bc","origin_key":"python:perovskite_sim.experiments.ion_aware_analytic_reaction._QSSInteriorEvaluation","qualified_name":"perovskite_sim.experiments.ion_aware_analytic_reaction._QSSInteriorEvaluation","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-3b1634dbb760e8dc","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_analytic_reaction.py","route_id":"route-2d70ff5a414a71bc","origin_key":"python:perovskite_sim.experiments.ion_aware_analytic_reaction._apply_analytic_reaction_linearization","qualified_name":"perovskite_sim.experiments.ion_aware_analytic_reaction._apply_analytic_reaction_linearization","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-9b1f1aa4159d2412","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_analytic_reaction.py","route_id":"route-2d70ff5a414a71bc","origin_key":"python:perovskite_sim.experiments.ion_aware_analytic_reaction._complex_qss_interior_rate","qualified_name":"perovskite_sim.experiments.ion_aware_analytic_reaction._complex_qss_interior_rate","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-36de649a57fa4035","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_analytic_reaction.py","route_id":"route-2d70ff5a414a71bc","origin_key":"python:perovskite_sim.experiments.ion_aware_analytic_reaction._evaluate_qss_interior_rate","qualified_name":"perovskite_sim.experiments.ion_aware_analytic_reaction._evaluate_qss_interior_rate","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-914a306d6c065c2a","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_analytic_reaction.py","route_id":"route-2d70ff5a414a71bc","origin_key":"python:perovskite_sim.experiments.ion_aware_analytic_reaction._node_recombination_rate","qualified_name":"perovskite_sim.experiments.ion_aware_analytic_reaction._node_recombination_rate","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-7a349f54ec3d2311","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_analytic_reaction.py","route_id":"route-2d70ff5a414a71bc","origin_key":"python:perovskite_sim.experiments.ion_aware_analytic_reaction.apply_analytic_bulk_reaction_linearization","qualified_name":"perovskite_sim.experiments.ion_aware_analytic_reaction.apply_analytic_bulk_reaction_linearization","visibility":"public","evidence_level":"source_static"}, +{"id":"python-cf472740283ccb7b","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_analytic_reaction.py","route_id":"route-2d70ff5a414a71bc","origin_key":"python:perovskite_sim.experiments.ion_aware_analytic_reaction.apply_analytic_contact_linearization","qualified_name":"perovskite_sim.experiments.ion_aware_analytic_reaction.apply_analytic_contact_linearization","visibility":"public","evidence_level":"source_static"}, +{"id":"python-682e336cf665f1e1","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_analytic_reaction.py","route_id":"route-2d70ff5a414a71bc","origin_key":"python:perovskite_sim.experiments.ion_aware_analytic_reaction.apply_analytic_interface_reaction_linearization","qualified_name":"perovskite_sim.experiments.ion_aware_analytic_reaction.apply_analytic_interface_reaction_linearization","visibility":"public","evidence_level":"source_static"}, +{"id":"python-ac3bda0f8ef232df","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_analytic_reaction.py","route_id":"route-2d70ff5a414a71bc","origin_key":"python:perovskite_sim.experiments.ion_aware_analytic_reaction.build_ion_aware_analytic_bulk_reaction_linearization","qualified_name":"perovskite_sim.experiments.ion_aware_analytic_reaction.build_ion_aware_analytic_bulk_reaction_linearization","visibility":"public","evidence_level":"source_static"}, +{"id":"python-ffe88a523ebdf2db","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_analytic_reaction.py","route_id":"route-2d70ff5a414a71bc","origin_key":"python:perovskite_sim.experiments.ion_aware_analytic_reaction.build_ion_aware_analytic_contact_linearization","qualified_name":"perovskite_sim.experiments.ion_aware_analytic_reaction.build_ion_aware_analytic_contact_linearization","visibility":"public","evidence_level":"source_static"}, +{"id":"python-c778f26492904676","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_analytic_reaction.py","route_id":"route-2d70ff5a414a71bc","origin_key":"python:perovskite_sim.experiments.ion_aware_analytic_reaction.build_ion_aware_analytic_interface_reaction_linearization","qualified_name":"perovskite_sim.experiments.ion_aware_analytic_reaction.build_ion_aware_analytic_interface_reaction_linearization","visibility":"public","evidence_level":"source_static"}, +{"id":"python-6bb32252166cd688","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_analytic_transport.py","route_id":"route-0b685a0a6f8ded75","origin_key":"python:perovskite_sim.experiments.ion_aware_analytic_transport.AnalyticCurrentComponentLinearization","qualified_name":"perovskite_sim.experiments.ion_aware_analytic_transport.AnalyticCurrentComponentLinearization","visibility":"public","evidence_level":"source_static"}, +{"id":"python-3fa93986b51b3f82","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_analytic_transport.py","route_id":"route-0b685a0a6f8ded75","origin_key":"python:perovskite_sim.experiments.ion_aware_analytic_transport.IonAwareAnalyticFieldMobilityLinearization","qualified_name":"perovskite_sim.experiments.ion_aware_analytic_transport.IonAwareAnalyticFieldMobilityLinearization","visibility":"public","evidence_level":"source_static"}, +{"id":"python-6d812f8769dc5b5e","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_analytic_transport.py","route_id":"route-0b685a0a6f8ded75","origin_key":"python:perovskite_sim.experiments.ion_aware_analytic_transport.IonAwareAnalyticTransportCapabilityError","qualified_name":"perovskite_sim.experiments.ion_aware_analytic_transport.IonAwareAnalyticTransportCapabilityError","visibility":"public","evidence_level":"source_static"}, +{"id":"python-40998409591330f7","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_analytic_transport.py","route_id":"route-0b685a0a6f8ded75","origin_key":"python:perovskite_sim.experiments.ion_aware_analytic_transport.IonAwareAnalyticTransportLinearization","qualified_name":"perovskite_sim.experiments.ion_aware_analytic_transport.IonAwareAnalyticTransportLinearization","visibility":"public","evidence_level":"source_static"}, +{"id":"python-f073e5aa690180c6","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_analytic_transport.py","route_id":"route-0b685a0a6f8ded75","origin_key":"python:perovskite_sim.experiments.ion_aware_analytic_transport._add_direct_density_derivatives","qualified_name":"perovskite_sim.experiments.ion_aware_analytic_transport._add_direct_density_derivatives","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-5648e36e8b0df90e","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_analytic_transport.py","route_id":"route-0b685a0a6f8ded75","origin_key":"python:perovskite_sim.experiments.ion_aware_analytic_transport._add_field_mobility_tangent","qualified_name":"perovskite_sim.experiments.ion_aware_analytic_transport._add_field_mobility_tangent","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-8a477b62e6f8fbe5","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_analytic_transport.py","route_id":"route-0b685a0a6f8ded75","origin_key":"python:perovskite_sim.experiments.ion_aware_analytic_transport._face_component","qualified_name":"perovskite_sim.experiments.ion_aware_analytic_transport._face_component","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-8eb9fd04e7ace2d1","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_analytic_transport.py","route_id":"route-0b685a0a6f8ded75","origin_key":"python:perovskite_sim.experiments.ion_aware_analytic_transport._face_density_of_states","qualified_name":"perovskite_sim.experiments.ion_aware_analytic_transport._face_density_of_states","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-40d831372329525f","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_analytic_transport.py","route_id":"route-0b685a0a6f8ded75","origin_key":"python:perovskite_sim.experiments.ion_aware_analytic_transport._field_mobility_linearization","qualified_name":"perovskite_sim.experiments.ion_aware_analytic_transport._field_mobility_linearization","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-351f10bb9e2f528b","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_analytic_transport.py","route_id":"route-0b685a0a6f8ded75","origin_key":"python:perovskite_sim.experiments.ion_aware_analytic_transport._require_inactive_thermionic_caps","qualified_name":"perovskite_sim.experiments.ion_aware_analytic_transport._require_inactive_thermionic_caps","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-3142428d3704509b","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_analytic_transport.py","route_id":"route-0b685a0a6f8ded75","origin_key":"python:perovskite_sim.experiments.ion_aware_analytic_transport.apply_analytic_transport_linearization","qualified_name":"perovskite_sim.experiments.ion_aware_analytic_transport.apply_analytic_transport_linearization","visibility":"public","evidence_level":"source_static"}, +{"id":"python-4c700a66d8990fd6","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_analytic_transport.py","route_id":"route-0b685a0a6f8ded75","origin_key":"python:perovskite_sim.experiments.ion_aware_analytic_transport.build_ion_aware_analytic_transport_linearization","qualified_name":"perovskite_sim.experiments.ion_aware_analytic_transport.build_ion_aware_analytic_transport_linearization","visibility":"public","evidence_level":"source_static"}, +{"id":"python-b763f736b0884ab1","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_dc.py","route_id":"route-540527431655d5fb","origin_key":"python:perovskite_sim.experiments.ion_aware_dc.IonAwareDCAttempt","qualified_name":"perovskite_sim.experiments.ion_aware_dc.IonAwareDCAttempt","visibility":"public","evidence_level":"source_static"}, +{"id":"python-50b89fc6d276f71d","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_dc.py","route_id":"route-540527431655d5fb","origin_key":"python:perovskite_sim.experiments.ion_aware_dc.IonAwareDCCapabilityError","qualified_name":"perovskite_sim.experiments.ion_aware_dc.IonAwareDCCapabilityError","visibility":"public","evidence_level":"source_static"}, +{"id":"python-6523321a0208cb01","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_dc.py","route_id":"route-540527431655d5fb","origin_key":"python:perovskite_sim.experiments.ion_aware_dc.IonAwareDCCertificationError","qualified_name":"perovskite_sim.experiments.ion_aware_dc.IonAwareDCCertificationError","visibility":"public","evidence_level":"source_static"}, +{"id":"python-8111ff3680f9411b","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_dc.py","route_id":"route-540527431655d5fb","origin_key":"python:perovskite_sim.experiments.ion_aware_dc.IonAwareDCCertificationError.__init__","qualified_name":"perovskite_sim.experiments.ion_aware_dc.IonAwareDCCertificationError.__init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-933b32e1ebd1e3d3","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_dc.py","route_id":"route-540527431655d5fb","origin_key":"python:perovskite_sim.experiments.ion_aware_dc.IonAwareDCProtocol","qualified_name":"perovskite_sim.experiments.ion_aware_dc.IonAwareDCProtocol","visibility":"public","evidence_level":"source_static"}, +{"id":"python-bb8723dc2f2d2ac2","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_dc.py","route_id":"route-540527431655d5fb","origin_key":"python:perovskite_sim.experiments.ion_aware_dc.IonAwareDCProtocol.__post_init__","qualified_name":"perovskite_sim.experiments.ion_aware_dc.IonAwareDCProtocol.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-72276b9a56554ed8","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_dc.py","route_id":"route-540527431655d5fb","origin_key":"python:perovskite_sim.experiments.ion_aware_dc.IonAwareDCProtocol.canonical_json","qualified_name":"perovskite_sim.experiments.ion_aware_dc.IonAwareDCProtocol.canonical_json","visibility":"public","evidence_level":"source_static"}, +{"id":"python-d81da9d6e8e4d31b","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_dc.py","route_id":"route-540527431655d5fb","origin_key":"python:perovskite_sim.experiments.ion_aware_dc.IonAwareDCProtocol.from_dict","qualified_name":"perovskite_sim.experiments.ion_aware_dc.IonAwareDCProtocol.from_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-36976eb610aa1bfe","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_dc.py","route_id":"route-540527431655d5fb","origin_key":"python:perovskite_sim.experiments.ion_aware_dc.IonAwareDCProtocol.from_json","qualified_name":"perovskite_sim.experiments.ion_aware_dc.IonAwareDCProtocol.from_json","visibility":"public","evidence_level":"source_static"}, +{"id":"python-863733216fe3c2d8","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_dc.py","route_id":"route-540527431655d5fb","origin_key":"python:perovskite_sim.experiments.ion_aware_dc.IonAwareDCProtocol.protocol_hash","qualified_name":"perovskite_sim.experiments.ion_aware_dc.IonAwareDCProtocol.protocol_hash","visibility":"public","evidence_level":"source_static"}, +{"id":"python-1291f558a0d5f043","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_dc.py","route_id":"route-540527431655d5fb","origin_key":"python:perovskite_sim.experiments.ion_aware_dc.IonAwareDCProtocol.to_dict","qualified_name":"perovskite_sim.experiments.ion_aware_dc.IonAwareDCProtocol.to_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-44f5af233959e64c","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_dc.py","route_id":"route-540527431655d5fb","origin_key":"python:perovskite_sim.experiments.ion_aware_dc.IonAwareDCResult","qualified_name":"perovskite_sim.experiments.ion_aware_dc.IonAwareDCResult","visibility":"public","evidence_level":"source_static"}, +{"id":"python-233c6bc94ffdb2cf","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_dc.py","route_id":"route-540527431655d5fb","origin_key":"python:perovskite_sim.experiments.ion_aware_dc.IonAwareDCResult.protocol_hash","qualified_name":"perovskite_sim.experiments.ion_aware_dc.IonAwareDCResult.protocol_hash","visibility":"public","evidence_level":"source_static"}, +{"id":"python-cf2a61463b446034","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_dc.py","route_id":"route-540527431655d5fb","origin_key":"python:perovskite_sim.experiments.ion_aware_dc.IonAwareDCSolverError","qualified_name":"perovskite_sim.experiments.ion_aware_dc.IonAwareDCSolverError","visibility":"public","evidence_level":"source_static"}, +{"id":"python-f1e22e514fb571cd","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_dc.py","route_id":"route-540527431655d5fb","origin_key":"python:perovskite_sim.experiments.ion_aware_dc.IonAwareDCSolverError.__init__","qualified_name":"perovskite_sim.experiments.ion_aware_dc.IonAwareDCSolverError.__init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-25ffed37ea13a8d9","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_dc.py","route_id":"route-540527431655d5fb","origin_key":"python:perovskite_sim.experiments.ion_aware_dc.IonAwareDCStateCertificate","qualified_name":"perovskite_sim.experiments.ion_aware_dc.IonAwareDCStateCertificate","visibility":"public","evidence_level":"source_static"}, +{"id":"python-7f06ff42b1b5c952","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_dc.py","route_id":"route-540527431655d5fb","origin_key":"python:perovskite_sim.experiments.ion_aware_dc.IonAwareDCStep","qualified_name":"perovskite_sim.experiments.ion_aware_dc.IonAwareDCStep","visibility":"public","evidence_level":"source_static"}, +{"id":"python-ec3f92a064f4484c","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_dc.py","route_id":"route-540527431655d5fb","origin_key":"python:perovskite_sim.experiments.ion_aware_dc.IonInventoryEvidence","qualified_name":"perovskite_sim.experiments.ion_aware_dc.IonInventoryEvidence","visibility":"public","evidence_level":"source_static"}, +{"id":"python-3ad11879cc4bfb5f","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_dc.py","route_id":"route-540527431655d5fb","origin_key":"python:perovskite_sim.experiments.ion_aware_dc._active_minimum","qualified_name":"perovskite_sim.experiments.ion_aware_dc._active_minimum","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-b4047caefa23f287","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_dc.py","route_id":"route-540527431655d5fb","origin_key":"python:perovskite_sim.experiments.ion_aware_dc._finite","qualified_name":"perovskite_sim.experiments.ion_aware_dc._finite","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-812befa1520aafac","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_dc.py","route_id":"route-540527431655d5fb","origin_key":"python:perovskite_sim.experiments.ion_aware_dc._inventory_evidence","qualified_name":"perovskite_sim.experiments.ion_aware_dc._inventory_evidence","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-b4ae4b53e14b74e1","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_dc.py","route_id":"route-540527431655d5fb","origin_key":"python:perovskite_sim.experiments.ion_aware_dc._maximum_site_occupancy","qualified_name":"perovskite_sim.experiments.ion_aware_dc._maximum_site_occupancy","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-c5ff023994a96b34","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_dc.py","route_id":"route-540527431655d5fb","origin_key":"python:perovskite_sim.experiments.ion_aware_dc._nonnegative","qualified_name":"perovskite_sim.experiments.ion_aware_dc._nonnegative","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-bdbdac5b7fcf4f01","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_dc.py","route_id":"route-540527431655d5fb","origin_key":"python:perovskite_sim.experiments.ion_aware_dc._optional_count","qualified_name":"perovskite_sim.experiments.ion_aware_dc._optional_count","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-1243cdd4ec329d36","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_dc.py","route_id":"route-540527431655d5fb","origin_key":"python:perovskite_sim.experiments.ion_aware_dc._positive","qualified_name":"perovskite_sim.experiments.ion_aware_dc._positive","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-0f157db6db328dd5","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_dc.py","route_id":"route-540527431655d5fb","origin_key":"python:perovskite_sim.experiments.ion_aware_dc._validate_initial_state","qualified_name":"perovskite_sim.experiments.ion_aware_dc._validate_initial_state","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-86457ebf4b6d6b3b","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_dc.py","route_id":"route-540527431655d5fb","origin_key":"python:perovskite_sim.experiments.ion_aware_dc.assess_ion_aware_dc_state","qualified_name":"perovskite_sim.experiments.ion_aware_dc.assess_ion_aware_dc_state","visibility":"public","evidence_level":"source_static"}, +{"id":"python-cf1624277c028efb","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_dc.py","route_id":"route-540527431655d5fb","origin_key":"python:perovskite_sim.experiments.ion_aware_dc.build_ion_aware_dc_protocol","qualified_name":"perovskite_sim.experiments.ion_aware_dc.build_ion_aware_dc_protocol","visibility":"public","evidence_level":"source_static"}, +{"id":"python-83cefadb1d6ddbb2","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_dc.py","route_id":"route-540527431655d5fb","origin_key":"python:perovskite_sim.experiments.ion_aware_dc.ion_aware_dc_state_sha256","qualified_name":"perovskite_sim.experiments.ion_aware_dc.ion_aware_dc_state_sha256","visibility":"public","evidence_level":"source_static"}, +{"id":"python-0bd0148a2aa1f143","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_dc.py","route_id":"route-540527431655d5fb","origin_key":"python:perovskite_sim.experiments.ion_aware_dc.solve_ion_aware_dc","qualified_name":"perovskite_sim.experiments.ion_aware_dc.solve_ion_aware_dc","visibility":"public","evidence_level":"source_static"}, +{"id":"python-223f27886100dfd7","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance.py","route_id":"route-66a78cb7e2ee8eba","origin_key":"python:perovskite_sim.experiments.ion_aware_impedance.FrequencyPerturbationAssessment","qualified_name":"perovskite_sim.experiments.ion_aware_impedance.FrequencyPerturbationAssessment","visibility":"public","evidence_level":"source_static"}, +{"id":"python-6e68ebcdebce59d9","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance.py","route_id":"route-66a78cb7e2ee8eba","origin_key":"python:perovskite_sim.experiments.ion_aware_impedance.IonAwareImpedanceCapabilityError","qualified_name":"perovskite_sim.experiments.ion_aware_impedance.IonAwareImpedanceCapabilityError","visibility":"public","evidence_level":"source_static"}, +{"id":"python-4935118415e0725d","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance.py","route_id":"route-66a78cb7e2ee8eba","origin_key":"python:perovskite_sim.experiments.ion_aware_impedance.IonAwareImpedanceCertificate","qualified_name":"perovskite_sim.experiments.ion_aware_impedance.IonAwareImpedanceCertificate","visibility":"public","evidence_level":"source_static"}, +{"id":"python-d24b649dee4f12e6","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance.py","route_id":"route-66a78cb7e2ee8eba","origin_key":"python:perovskite_sim.experiments.ion_aware_impedance.IonAwareImpedanceCertificationError","qualified_name":"perovskite_sim.experiments.ion_aware_impedance.IonAwareImpedanceCertificationError","visibility":"public","evidence_level":"source_static"}, +{"id":"python-0744e7c21fcc295b","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance.py","route_id":"route-66a78cb7e2ee8eba","origin_key":"python:perovskite_sim.experiments.ion_aware_impedance.IonAwareImpedanceCertificationError.__init__","qualified_name":"perovskite_sim.experiments.ion_aware_impedance.IonAwareImpedanceCertificationError.__init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-adb9b67007abd1a8","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance.py","route_id":"route-66a78cb7e2ee8eba","origin_key":"python:perovskite_sim.experiments.ion_aware_impedance.IonAwareImpedanceError","qualified_name":"perovskite_sim.experiments.ion_aware_impedance.IonAwareImpedanceError","visibility":"public","evidence_level":"source_static"}, +{"id":"python-0ac7bdfe70e0cc97","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance.py","route_id":"route-66a78cb7e2ee8eba","origin_key":"python:perovskite_sim.experiments.ion_aware_impedance.IonAwareImpedanceFrequencyCertificate","qualified_name":"perovskite_sim.experiments.ion_aware_impedance.IonAwareImpedanceFrequencyCertificate","visibility":"public","evidence_level":"source_static"}, +{"id":"python-acd00c6cd697feb3","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance.py","route_id":"route-66a78cb7e2ee8eba","origin_key":"python:perovskite_sim.experiments.ion_aware_impedance.IonAwareImpedanceProtocol","qualified_name":"perovskite_sim.experiments.ion_aware_impedance.IonAwareImpedanceProtocol","visibility":"public","evidence_level":"source_static"}, +{"id":"python-49a7a980f479de4e","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance.py","route_id":"route-66a78cb7e2ee8eba","origin_key":"python:perovskite_sim.experiments.ion_aware_impedance.IonAwareImpedanceProtocol.__post_init__","qualified_name":"perovskite_sim.experiments.ion_aware_impedance.IonAwareImpedanceProtocol.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-6d8b1e5a5cd8a4ba","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance.py","route_id":"route-66a78cb7e2ee8eba","origin_key":"python:perovskite_sim.experiments.ion_aware_impedance.IonAwareImpedanceProtocol.canonical_json","qualified_name":"perovskite_sim.experiments.ion_aware_impedance.IonAwareImpedanceProtocol.canonical_json","visibility":"public","evidence_level":"source_static"}, +{"id":"python-4f8a2338058be078","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance.py","route_id":"route-66a78cb7e2ee8eba","origin_key":"python:perovskite_sim.experiments.ion_aware_impedance.IonAwareImpedanceProtocol.from_dict","qualified_name":"perovskite_sim.experiments.ion_aware_impedance.IonAwareImpedanceProtocol.from_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-e6f0682c4190a7de","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance.py","route_id":"route-66a78cb7e2ee8eba","origin_key":"python:perovskite_sim.experiments.ion_aware_impedance.IonAwareImpedanceProtocol.from_json","qualified_name":"perovskite_sim.experiments.ion_aware_impedance.IonAwareImpedanceProtocol.from_json","visibility":"public","evidence_level":"source_static"}, +{"id":"python-ab247854f39adf46","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance.py","route_id":"route-66a78cb7e2ee8eba","origin_key":"python:perovskite_sim.experiments.ion_aware_impedance.IonAwareImpedanceProtocol.protocol_hash","qualified_name":"perovskite_sim.experiments.ion_aware_impedance.IonAwareImpedanceProtocol.protocol_hash","visibility":"public","evidence_level":"source_static"}, +{"id":"python-3c166bc1fe904984","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance.py","route_id":"route-66a78cb7e2ee8eba","origin_key":"python:perovskite_sim.experiments.ion_aware_impedance.IonAwareImpedanceProtocol.to_dict","qualified_name":"perovskite_sim.experiments.ion_aware_impedance.IonAwareImpedanceProtocol.to_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-d042dee4256daa9d","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance.py","route_id":"route-66a78cb7e2ee8eba","origin_key":"python:perovskite_sim.experiments.ion_aware_impedance.IonAwareImpedanceResult","qualified_name":"perovskite_sim.experiments.ion_aware_impedance.IonAwareImpedanceResult","visibility":"public","evidence_level":"source_static"}, +{"id":"python-af1606e25a1b1124","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance.py","route_id":"route-66a78cb7e2ee8eba","origin_key":"python:perovskite_sim.experiments.ion_aware_impedance.IonAwareImpedanceResult.protocol_hash","qualified_name":"perovskite_sim.experiments.ion_aware_impedance.IonAwareImpedanceResult.protocol_hash","visibility":"public","evidence_level":"source_static"}, +{"id":"python-abfde7f678ca2959","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance.py","route_id":"route-66a78cb7e2ee8eba","origin_key":"python:perovskite_sim.experiments.ion_aware_impedance.IonAwareStateCoordinateLayout","qualified_name":"perovskite_sim.experiments.ion_aware_impedance.IonAwareStateCoordinateLayout","visibility":"public","evidence_level":"source_static"}, +{"id":"python-dcd44273df420c17","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance.py","route_id":"route-66a78cb7e2ee8eba","origin_key":"python:perovskite_sim.experiments.ion_aware_impedance.IonAwareStateCoordinateLayout.coordinate_slice","qualified_name":"perovskite_sim.experiments.ion_aware_impedance.IonAwareStateCoordinateLayout.coordinate_slice","visibility":"public","evidence_level":"source_static"}, +{"id":"python-cd23feb2f4287a93","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance.py","route_id":"route-66a78cb7e2ee8eba","origin_key":"python:perovskite_sim.experiments.ion_aware_impedance.IonAwareStateCoordinateLayout.node_indices","qualified_name":"perovskite_sim.experiments.ion_aware_impedance.IonAwareStateCoordinateLayout.node_indices","visibility":"public","evidence_level":"source_static"}, +{"id":"python-5e57c6be7d71fc25","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance.py","route_id":"route-66a78cb7e2ee8eba","origin_key":"python:perovskite_sim.experiments.ion_aware_impedance.IonAwareStateCoordinateLayout.size","qualified_name":"perovskite_sim.experiments.ion_aware_impedance.IonAwareStateCoordinateLayout.size","visibility":"public","evidence_level":"source_static"}, +{"id":"python-52e3d595ccaea247","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance.py","route_id":"route-66a78cb7e2ee8eba","origin_key":"python:perovskite_sim.experiments.ion_aware_impedance.IonAwareStateCoordinateLayout.state_indices","qualified_name":"perovskite_sim.experiments.ion_aware_impedance.IonAwareStateCoordinateLayout.state_indices","visibility":"public","evidence_level":"source_static"}, +{"id":"python-e0be790854fdb6ee","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance.py","route_id":"route-66a78cb7e2ee8eba","origin_key":"python:perovskite_sim.experiments.ion_aware_impedance.PerturbationStepAssessment","qualified_name":"perovskite_sim.experiments.ion_aware_impedance.PerturbationStepAssessment","visibility":"public","evidence_level":"source_static"}, +{"id":"python-b8a6a01638a25df3","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance.py","route_id":"route-66a78cb7e2ee8eba","origin_key":"python:perovskite_sim.experiments.ion_aware_impedance._build_reference_evaluator","qualified_name":"perovskite_sim.experiments.ion_aware_impedance._build_reference_evaluator","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-5180015e767bef5d","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance.py","route_id":"route-66a78cb7e2ee8eba","origin_key":"python:perovskite_sim.experiments.ion_aware_impedance._finite","qualified_name":"perovskite_sim.experiments.ion_aware_impedance._finite","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-9e10fb5076bfa33d","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance.py","route_id":"route-66a78cb7e2ee8eba","origin_key":"python:perovskite_sim.experiments.ion_aware_impedance._frequency_point_certificates","qualified_name":"perovskite_sim.experiments.ion_aware_impedance._frequency_point_certificates","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-77151340f84587dc","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance.py","route_id":"route-66a78cb7e2ee8eba","origin_key":"python:perovskite_sim.experiments.ion_aware_impedance._inventory_response_relative_by_frequency","qualified_name":"perovskite_sim.experiments.ion_aware_impedance._inventory_response_relative_by_frequency","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-cc85d4cd0ef56629","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance.py","route_id":"route-66a78cb7e2ee8eba","origin_key":"python:perovskite_sim.experiments.ion_aware_impedance._perturbation_assessment","qualified_name":"perovskite_sim.experiments.ion_aware_impedance._perturbation_assessment","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-f5080fe9048082aa","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance.py","route_id":"route-66a78cb7e2ee8eba","origin_key":"python:perovskite_sim.experiments.ion_aware_impedance._physical_state","qualified_name":"perovskite_sim.experiments.ion_aware_impedance._physical_state","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-adef5939f528b7ed","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance.py","route_id":"route-66a78cb7e2ee8eba","origin_key":"python:perovskite_sim.experiments.ion_aware_impedance._positive","qualified_name":"perovskite_sim.experiments.ion_aware_impedance._positive","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-06d1b20fddce6cb3","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance.py","route_id":"route-66a78cb7e2ee8eba","origin_key":"python:perovskite_sim.experiments.ion_aware_impedance._potential_increment","qualified_name":"perovskite_sim.experiments.ion_aware_impedance._potential_increment","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-55349234312fab0c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance.py","route_id":"route-66a78cb7e2ee8eba","origin_key":"python:perovskite_sim.experiments.ion_aware_impedance._sha256","qualified_name":"perovskite_sim.experiments.ion_aware_impedance._sha256","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-dbeabdfd6381333b","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance.py","route_id":"route-66a78cb7e2ee8eba","origin_key":"python:perovskite_sim.experiments.ion_aware_impedance._state_coordinate_layout","qualified_name":"perovskite_sim.experiments.ion_aware_impedance._state_coordinate_layout","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-d79bea6c4aabad95","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance.py","route_id":"route-66a78cb7e2ee8eba","origin_key":"python:perovskite_sim.experiments.ion_aware_impedance._stencil_occupancy_admissible","qualified_name":"perovskite_sim.experiments.ion_aware_impedance._stencil_occupancy_admissible","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-b62b98ba316d4755","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance.py","route_id":"route-66a78cb7e2ee8eba","origin_key":"python:perovskite_sim.experiments.ion_aware_impedance._storage_integral","qualified_name":"perovskite_sim.experiments.ion_aware_impedance._storage_integral","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-d1395c3e0d35d943","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance.py","route_id":"route-66a78cb7e2ee8eba","origin_key":"python:perovskite_sim.experiments.ion_aware_impedance.build_ion_aware_impedance_protocol","qualified_name":"perovskite_sim.experiments.ion_aware_impedance.build_ion_aware_impedance_protocol","visibility":"public","evidence_level":"source_static"}, +{"id":"python-67d79a9aa83a4725","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance.py","route_id":"route-66a78cb7e2ee8eba","origin_key":"python:perovskite_sim.experiments.ion_aware_impedance.run_ion_aware_impedance","qualified_name":"perovskite_sim.experiments.ion_aware_impedance.run_ion_aware_impedance","visibility":"public","evidence_level":"source_static"}, +{"id":"python-3308b4c75c86c7ca","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance_grid.py","route_id":"route-3ca1dfa513a1e322","origin_key":"python:perovskite_sim.experiments.ion_aware_impedance_grid.GridFrequencyCertificate","qualified_name":"perovskite_sim.experiments.ion_aware_impedance_grid.GridFrequencyCertificate","visibility":"public","evidence_level":"source_static"}, +{"id":"python-ec9f3a74028026d2","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance_grid.py","route_id":"route-3ca1dfa513a1e322","origin_key":"python:perovskite_sim.experiments.ion_aware_impedance_grid.GridPairFrequencyAssessment","qualified_name":"perovskite_sim.experiments.ion_aware_impedance_grid.GridPairFrequencyAssessment","visibility":"public","evidence_level":"source_static"}, +{"id":"python-14099317d540c6b9","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance_grid.py","route_id":"route-3ca1dfa513a1e322","origin_key":"python:perovskite_sim.experiments.ion_aware_impedance_grid.IonAwareImpedanceGridCapabilityError","qualified_name":"perovskite_sim.experiments.ion_aware_impedance_grid.IonAwareImpedanceGridCapabilityError","visibility":"public","evidence_level":"source_static"}, +{"id":"python-310011d376d44a19","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance_grid.py","route_id":"route-3ca1dfa513a1e322","origin_key":"python:perovskite_sim.experiments.ion_aware_impedance_grid.IonAwareImpedanceGridCertificate","qualified_name":"perovskite_sim.experiments.ion_aware_impedance_grid.IonAwareImpedanceGridCertificate","visibility":"public","evidence_level":"source_static"}, +{"id":"python-9e659a445e133094","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance_grid.py","route_id":"route-3ca1dfa513a1e322","origin_key":"python:perovskite_sim.experiments.ion_aware_impedance_grid.IonAwareImpedanceGridCertificationError","qualified_name":"perovskite_sim.experiments.ion_aware_impedance_grid.IonAwareImpedanceGridCertificationError","visibility":"public","evidence_level":"source_static"}, +{"id":"python-38eff9f727b1b630","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance_grid.py","route_id":"route-3ca1dfa513a1e322","origin_key":"python:perovskite_sim.experiments.ion_aware_impedance_grid.IonAwareImpedanceGridCertificationError.__init__","qualified_name":"perovskite_sim.experiments.ion_aware_impedance_grid.IonAwareImpedanceGridCertificationError.__init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-abd3c73bf65498fb","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance_grid.py","route_id":"route-3ca1dfa513a1e322","origin_key":"python:perovskite_sim.experiments.ion_aware_impedance_grid.IonAwareImpedanceGridProtocol","qualified_name":"perovskite_sim.experiments.ion_aware_impedance_grid.IonAwareImpedanceGridProtocol","visibility":"public","evidence_level":"source_static"}, +{"id":"python-a4bf9cd4875835f4","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance_grid.py","route_id":"route-3ca1dfa513a1e322","origin_key":"python:perovskite_sim.experiments.ion_aware_impedance_grid.IonAwareImpedanceGridProtocol.__post_init__","qualified_name":"perovskite_sim.experiments.ion_aware_impedance_grid.IonAwareImpedanceGridProtocol.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-41c6c2776426ee40","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance_grid.py","route_id":"route-3ca1dfa513a1e322","origin_key":"python:perovskite_sim.experiments.ion_aware_impedance_grid.IonAwareImpedanceGridProtocol.canonical_json","qualified_name":"perovskite_sim.experiments.ion_aware_impedance_grid.IonAwareImpedanceGridProtocol.canonical_json","visibility":"public","evidence_level":"source_static"}, +{"id":"python-c282c404d8deee36","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance_grid.py","route_id":"route-3ca1dfa513a1e322","origin_key":"python:perovskite_sim.experiments.ion_aware_impedance_grid.IonAwareImpedanceGridProtocol.frequencies_Hz","qualified_name":"perovskite_sim.experiments.ion_aware_impedance_grid.IonAwareImpedanceGridProtocol.frequencies_Hz","visibility":"public","evidence_level":"source_static"}, +{"id":"python-25079d96eeec1e68","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance_grid.py","route_id":"route-3ca1dfa513a1e322","origin_key":"python:perovskite_sim.experiments.ion_aware_impedance_grid.IonAwareImpedanceGridProtocol.from_dict","qualified_name":"perovskite_sim.experiments.ion_aware_impedance_grid.IonAwareImpedanceGridProtocol.from_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-d1d68ec974844fc1","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance_grid.py","route_id":"route-3ca1dfa513a1e322","origin_key":"python:perovskite_sim.experiments.ion_aware_impedance_grid.IonAwareImpedanceGridProtocol.from_json","qualified_name":"perovskite_sim.experiments.ion_aware_impedance_grid.IonAwareImpedanceGridProtocol.from_json","visibility":"public","evidence_level":"source_static"}, +{"id":"python-443827d6565d3419","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance_grid.py","route_id":"route-3ca1dfa513a1e322","origin_key":"python:perovskite_sim.experiments.ion_aware_impedance_grid.IonAwareImpedanceGridProtocol.protocol_hash","qualified_name":"perovskite_sim.experiments.ion_aware_impedance_grid.IonAwareImpedanceGridProtocol.protocol_hash","visibility":"public","evidence_level":"source_static"}, +{"id":"python-706f70499605e4d2","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance_grid.py","route_id":"route-3ca1dfa513a1e322","origin_key":"python:perovskite_sim.experiments.ion_aware_impedance_grid.IonAwareImpedanceGridProtocol.to_dict","qualified_name":"perovskite_sim.experiments.ion_aware_impedance_grid.IonAwareImpedanceGridProtocol.to_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-628d913558902857","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance_grid.py","route_id":"route-3ca1dfa513a1e322","origin_key":"python:perovskite_sim.experiments.ion_aware_impedance_grid.IonAwareImpedanceGridResult","qualified_name":"perovskite_sim.experiments.ion_aware_impedance_grid.IonAwareImpedanceGridResult","visibility":"public","evidence_level":"source_static"}, +{"id":"python-30c0b35d3bd43440","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance_grid.py","route_id":"route-3ca1dfa513a1e322","origin_key":"python:perovskite_sim.experiments.ion_aware_impedance_grid.IonAwareImpedanceGridResult.protocol_hash","qualified_name":"perovskite_sim.experiments.ion_aware_impedance_grid.IonAwareImpedanceGridResult.protocol_hash","visibility":"public","evidence_level":"source_static"}, +{"id":"python-8976361b60cbc439","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance_grid.py","route_id":"route-3ca1dfa513a1e322","origin_key":"python:perovskite_sim.experiments.ion_aware_impedance_grid._common_impedance_protocol_json","qualified_name":"perovskite_sim.experiments.ion_aware_impedance_grid._common_impedance_protocol_json","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-277d6511b54eb7b8","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance_grid.py","route_id":"route-3ca1dfa513a1e322","origin_key":"python:perovskite_sim.experiments.ion_aware_impedance_grid._grid_certificate","qualified_name":"perovskite_sim.experiments.ion_aware_impedance_grid._grid_certificate","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-bcf33fad8fec1876","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance_grid.py","route_id":"route-3ca1dfa513a1e322","origin_key":"python:perovskite_sim.experiments.ion_aware_impedance_grid._grid_pair_frequency_assessments","qualified_name":"perovskite_sim.experiments.ion_aware_impedance_grid._grid_pair_frequency_assessments","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-fe68666f2a05b198","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance_grid.py","route_id":"route-3ca1dfa513a1e322","origin_key":"python:perovskite_sim.experiments.ion_aware_impedance_grid._positive","qualified_name":"perovskite_sim.experiments.ion_aware_impedance_grid._positive","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-08d319fe1f44b72b","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance_grid.py","route_id":"route-3ca1dfa513a1e322","origin_key":"python:perovskite_sim.experiments.ion_aware_impedance_grid._sha256","qualified_name":"perovskite_sim.experiments.ion_aware_impedance_grid._sha256","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-b5d8342c71e5bf50","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance_grid.py","route_id":"route-3ca1dfa513a1e322","origin_key":"python:perovskite_sim.experiments.ion_aware_impedance_grid.build_ion_aware_impedance_grid_protocol","qualified_name":"perovskite_sim.experiments.ion_aware_impedance_grid.build_ion_aware_impedance_grid_protocol","visibility":"public","evidence_level":"source_static"}, +{"id":"python-3de6d635f184fab8","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance_grid.py","route_id":"route-3ca1dfa513a1e322","origin_key":"python:perovskite_sim.experiments.ion_aware_impedance_grid.ion_aware_impedance_grid_sha256","qualified_name":"perovskite_sim.experiments.ion_aware_impedance_grid.ion_aware_impedance_grid_sha256","visibility":"public","evidence_level":"source_static"}, +{"id":"python-9147c995b2109220","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance_grid.py","route_id":"route-3ca1dfa513a1e322","origin_key":"python:perovskite_sim.experiments.ion_aware_impedance_grid.run_ion_aware_impedance_grid_ladder","qualified_name":"perovskite_sim.experiments.ion_aware_impedance_grid.run_ion_aware_impedance_grid_ladder","visibility":"public","evidence_level":"source_static"}, +{"id":"python-e73bf38bc2686527","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance_lockin.py","route_id":"route-e427668ae85b61ce","origin_key":"python:perovskite_sim.experiments.ion_aware_impedance_lockin.IonAwareTransientLockInCapabilityError","qualified_name":"perovskite_sim.experiments.ion_aware_impedance_lockin.IonAwareTransientLockInCapabilityError","visibility":"public","evidence_level":"source_static"}, +{"id":"python-bd6d25501742b32b","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance_lockin.py","route_id":"route-e427668ae85b61ce","origin_key":"python:perovskite_sim.experiments.ion_aware_impedance_lockin.IonAwareTransientLockInCertificate","qualified_name":"perovskite_sim.experiments.ion_aware_impedance_lockin.IonAwareTransientLockInCertificate","visibility":"public","evidence_level":"source_static"}, +{"id":"python-38a7b2c6037c5cd7","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance_lockin.py","route_id":"route-e427668ae85b61ce","origin_key":"python:perovskite_sim.experiments.ion_aware_impedance_lockin.IonAwareTransientLockInCertificationError","qualified_name":"perovskite_sim.experiments.ion_aware_impedance_lockin.IonAwareTransientLockInCertificationError","visibility":"public","evidence_level":"source_static"}, +{"id":"python-eccc18e756c8095a","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance_lockin.py","route_id":"route-e427668ae85b61ce","origin_key":"python:perovskite_sim.experiments.ion_aware_impedance_lockin.IonAwareTransientLockInCertificationError.__init__","qualified_name":"perovskite_sim.experiments.ion_aware_impedance_lockin.IonAwareTransientLockInCertificationError.__init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-f1e417fc93fd8597","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance_lockin.py","route_id":"route-e427668ae85b61ce","origin_key":"python:perovskite_sim.experiments.ion_aware_impedance_lockin.IonAwareTransientLockInError","qualified_name":"perovskite_sim.experiments.ion_aware_impedance_lockin.IonAwareTransientLockInError","visibility":"public","evidence_level":"source_static"}, +{"id":"python-2a3b0caf4554296d","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance_lockin.py","route_id":"route-e427668ae85b61ce","origin_key":"python:perovskite_sim.experiments.ion_aware_impedance_lockin.IonAwareTransientLockInProtocol","qualified_name":"perovskite_sim.experiments.ion_aware_impedance_lockin.IonAwareTransientLockInProtocol","visibility":"public","evidence_level":"source_static"}, +{"id":"python-1809ee84693b7506","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance_lockin.py","route_id":"route-e427668ae85b61ce","origin_key":"python:perovskite_sim.experiments.ion_aware_impedance_lockin.IonAwareTransientLockInProtocol.__post_init__","qualified_name":"perovskite_sim.experiments.ion_aware_impedance_lockin.IonAwareTransientLockInProtocol.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-0da44323f875c170","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance_lockin.py","route_id":"route-e427668ae85b61ce","origin_key":"python:perovskite_sim.experiments.ion_aware_impedance_lockin.IonAwareTransientLockInProtocol.canonical_json","qualified_name":"perovskite_sim.experiments.ion_aware_impedance_lockin.IonAwareTransientLockInProtocol.canonical_json","visibility":"public","evidence_level":"source_static"}, +{"id":"python-9ebae3c22302d6c8","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance_lockin.py","route_id":"route-e427668ae85b61ce","origin_key":"python:perovskite_sim.experiments.ion_aware_impedance_lockin.IonAwareTransientLockInProtocol.from_dict","qualified_name":"perovskite_sim.experiments.ion_aware_impedance_lockin.IonAwareTransientLockInProtocol.from_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-f04848f6d9ea126d","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance_lockin.py","route_id":"route-e427668ae85b61ce","origin_key":"python:perovskite_sim.experiments.ion_aware_impedance_lockin.IonAwareTransientLockInProtocol.from_json","qualified_name":"perovskite_sim.experiments.ion_aware_impedance_lockin.IonAwareTransientLockInProtocol.from_json","visibility":"public","evidence_level":"source_static"}, +{"id":"python-eb5478f9b2d75b9c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance_lockin.py","route_id":"route-e427668ae85b61ce","origin_key":"python:perovskite_sim.experiments.ion_aware_impedance_lockin.IonAwareTransientLockInProtocol.protocol_hash","qualified_name":"perovskite_sim.experiments.ion_aware_impedance_lockin.IonAwareTransientLockInProtocol.protocol_hash","visibility":"public","evidence_level":"source_static"}, +{"id":"python-27fe2c4ebc2c049f","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance_lockin.py","route_id":"route-e427668ae85b61ce","origin_key":"python:perovskite_sim.experiments.ion_aware_impedance_lockin.IonAwareTransientLockInProtocol.to_dict","qualified_name":"perovskite_sim.experiments.ion_aware_impedance_lockin.IonAwareTransientLockInProtocol.to_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-9e246e569639349b","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance_lockin.py","route_id":"route-e427668ae85b61ce","origin_key":"python:perovskite_sim.experiments.ion_aware_impedance_lockin.IonAwareTransientLockInResult","qualified_name":"perovskite_sim.experiments.ion_aware_impedance_lockin.IonAwareTransientLockInResult","visibility":"public","evidence_level":"source_static"}, +{"id":"python-9c02ebb8b981294a","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance_lockin.py","route_id":"route-e427668ae85b61ce","origin_key":"python:perovskite_sim.experiments.ion_aware_impedance_lockin.IonAwareTransientLockInResult.protocol_hash","qualified_name":"perovskite_sim.experiments.ion_aware_impedance_lockin.IonAwareTransientLockInResult.protocol_hash","visibility":"public","evidence_level":"source_static"}, +{"id":"python-c385f70cb3efb466","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance_lockin.py","route_id":"route-e427668ae85b61ce","origin_key":"python:perovskite_sim.experiments.ion_aware_impedance_lockin.TransientLockInFrequencyCertificate","qualified_name":"perovskite_sim.experiments.ion_aware_impedance_lockin.TransientLockInFrequencyCertificate","visibility":"public","evidence_level":"source_static"}, +{"id":"python-688cb5c7221a3fe6","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance_lockin.py","route_id":"route-e427668ae85b61ce","origin_key":"python:perovskite_sim.experiments.ion_aware_impedance_lockin.TransientLockInFrequencyEvidence","qualified_name":"perovskite_sim.experiments.ion_aware_impedance_lockin.TransientLockInFrequencyEvidence","visibility":"public","evidence_level":"source_static"}, +{"id":"python-2504fb646ce21ddf","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance_lockin.py","route_id":"route-e427668ae85b61ce","origin_key":"python:perovskite_sim.experiments.ion_aware_impedance_lockin.TransientLockInResolutionEvidence","qualified_name":"perovskite_sim.experiments.ion_aware_impedance_lockin.TransientLockInResolutionEvidence","visibility":"public","evidence_level":"source_static"}, +{"id":"python-6d4ade2a11a919a2","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance_lockin.py","route_id":"route-e427668ae85b61ce","origin_key":"python:perovskite_sim.experiments.ion_aware_impedance_lockin._block_state_change","qualified_name":"perovskite_sim.experiments.ion_aware_impedance_lockin._block_state_change","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-8ad9a35e12b7dedd","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance_lockin.py","route_id":"route-e427668ae85b61ce","origin_key":"python:perovskite_sim.experiments.ion_aware_impedance_lockin._certificate","qualified_name":"perovskite_sim.experiments.ion_aware_impedance_lockin._certificate","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-60f870b8c18f5c5e","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance_lockin.py","route_id":"route-e427668ae85b61ce","origin_key":"python:perovskite_sim.experiments.ion_aware_impedance_lockin._ion_inventory_drift","qualified_name":"perovskite_sim.experiments.ion_aware_impedance_lockin._ion_inventory_drift","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-266b75e90bf4a9ac","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance_lockin.py","route_id":"route-e427668ae85b61ce","origin_key":"python:perovskite_sim.experiments.ion_aware_impedance_lockin._phase_change_deg","qualified_name":"perovskite_sim.experiments.ion_aware_impedance_lockin._phase_change_deg","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-5a202a489db03238","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance_lockin.py","route_id":"route-e427668ae85b61ce","origin_key":"python:perovskite_sim.experiments.ion_aware_impedance_lockin._positive","qualified_name":"perovskite_sim.experiments.ion_aware_impedance_lockin._positive","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-3d5c9ae4910ce2fe","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance_lockin.py","route_id":"route-e427668ae85b61ce","origin_key":"python:perovskite_sim.experiments.ion_aware_impedance_lockin._positive_integer","qualified_name":"perovskite_sim.experiments.ion_aware_impedance_lockin._positive_integer","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-ae37330ebdc6a1e0","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance_lockin.py","route_id":"route-e427668ae85b61ce","origin_key":"python:perovskite_sim.experiments.ion_aware_impedance_lockin._relative_magnitude_change","qualified_name":"perovskite_sim.experiments.ion_aware_impedance_lockin._relative_magnitude_change","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-a333db48bdfa7add","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance_lockin.py","route_id":"route-e427668ae85b61ce","origin_key":"python:perovskite_sim.experiments.ion_aware_impedance_lockin._run_frequency","qualified_name":"perovskite_sim.experiments.ion_aware_impedance_lockin._run_frequency","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-7efd56af7b423e14","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance_lockin.py","route_id":"route-e427668ae85b61ce","origin_key":"python:perovskite_sim.experiments.ion_aware_impedance_lockin._sha256","qualified_name":"perovskite_sim.experiments.ion_aware_impedance_lockin._sha256","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-b76856f605961325","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance_lockin.py","route_id":"route-e427668ae85b61ce","origin_key":"python:perovskite_sim.experiments.ion_aware_impedance_lockin.build_ion_aware_transient_lockin_protocol","qualified_name":"perovskite_sim.experiments.ion_aware_impedance_lockin.build_ion_aware_transient_lockin_protocol","visibility":"public","evidence_level":"source_static"}, +{"id":"python-e3d7b0ae79225ec0","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance_lockin.py","route_id":"route-e427668ae85b61ce","origin_key":"python:perovskite_sim.experiments.ion_aware_impedance_lockin.run_ion_aware_transient_lockin_crosscheck","qualified_name":"perovskite_sim.experiments.ion_aware_impedance_lockin.run_ion_aware_transient_lockin_crosscheck","visibility":"public","evidence_level":"source_static"}, +{"id":"python-27a64da42191d05a","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_structured_jacobian.py","route_id":"route-d50045e506093dad","origin_key":"python:perovskite_sim.experiments.ion_aware_structured_jacobian.CurrentComponentComparison","qualified_name":"perovskite_sim.experiments.ion_aware_structured_jacobian.CurrentComponentComparison","visibility":"public","evidence_level":"source_static"}, +{"id":"python-89027371a7a08d16","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_structured_jacobian.py","route_id":"route-d50045e506093dad","origin_key":"python:perovskite_sim.experiments.ion_aware_structured_jacobian.IonAwareStructuredJacobianCapabilityError","qualified_name":"perovskite_sim.experiments.ion_aware_structured_jacobian.IonAwareStructuredJacobianCapabilityError","visibility":"public","evidence_level":"source_static"}, +{"id":"python-d94204ddf7b7f024","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_structured_jacobian.py","route_id":"route-d50045e506093dad","origin_key":"python:perovskite_sim.experiments.ion_aware_structured_jacobian.IonAwareStructuredJacobianCertificate","qualified_name":"perovskite_sim.experiments.ion_aware_structured_jacobian.IonAwareStructuredJacobianCertificate","visibility":"public","evidence_level":"source_static"}, +{"id":"python-ee28dc2b06991e3b","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_structured_jacobian.py","route_id":"route-d50045e506093dad","origin_key":"python:perovskite_sim.experiments.ion_aware_structured_jacobian.IonAwareStructuredJacobianCertificationError","qualified_name":"perovskite_sim.experiments.ion_aware_structured_jacobian.IonAwareStructuredJacobianCertificationError","visibility":"public","evidence_level":"source_static"}, +{"id":"python-78e7d2a433055201","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_structured_jacobian.py","route_id":"route-d50045e506093dad","origin_key":"python:perovskite_sim.experiments.ion_aware_structured_jacobian.IonAwareStructuredJacobianCertificationError.__init__","qualified_name":"perovskite_sim.experiments.ion_aware_structured_jacobian.IonAwareStructuredJacobianCertificationError.__init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-605df341741dfc23","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_structured_jacobian.py","route_id":"route-d50045e506093dad","origin_key":"python:perovskite_sim.experiments.ion_aware_structured_jacobian.IonAwareStructuredJacobianProtocol","qualified_name":"perovskite_sim.experiments.ion_aware_structured_jacobian.IonAwareStructuredJacobianProtocol","visibility":"public","evidence_level":"source_static"}, +{"id":"python-fdf12b1e2c748c3b","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_structured_jacobian.py","route_id":"route-d50045e506093dad","origin_key":"python:perovskite_sim.experiments.ion_aware_structured_jacobian.IonAwareStructuredJacobianProtocol.__post_init__","qualified_name":"perovskite_sim.experiments.ion_aware_structured_jacobian.IonAwareStructuredJacobianProtocol.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-975427ba0776c0bb","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_structured_jacobian.py","route_id":"route-d50045e506093dad","origin_key":"python:perovskite_sim.experiments.ion_aware_structured_jacobian.IonAwareStructuredJacobianProtocol.canonical_json","qualified_name":"perovskite_sim.experiments.ion_aware_structured_jacobian.IonAwareStructuredJacobianProtocol.canonical_json","visibility":"public","evidence_level":"source_static"}, +{"id":"python-ac69861d4390c03c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_structured_jacobian.py","route_id":"route-d50045e506093dad","origin_key":"python:perovskite_sim.experiments.ion_aware_structured_jacobian.IonAwareStructuredJacobianProtocol.from_dict","qualified_name":"perovskite_sim.experiments.ion_aware_structured_jacobian.IonAwareStructuredJacobianProtocol.from_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-dab1bd8da174519f","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_structured_jacobian.py","route_id":"route-d50045e506093dad","origin_key":"python:perovskite_sim.experiments.ion_aware_structured_jacobian.IonAwareStructuredJacobianProtocol.from_json","qualified_name":"perovskite_sim.experiments.ion_aware_structured_jacobian.IonAwareStructuredJacobianProtocol.from_json","visibility":"public","evidence_level":"source_static"}, +{"id":"python-ba1735a632781ad9","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_structured_jacobian.py","route_id":"route-d50045e506093dad","origin_key":"python:perovskite_sim.experiments.ion_aware_structured_jacobian.IonAwareStructuredJacobianProtocol.protocol_hash","qualified_name":"perovskite_sim.experiments.ion_aware_structured_jacobian.IonAwareStructuredJacobianProtocol.protocol_hash","visibility":"public","evidence_level":"source_static"}, +{"id":"python-d74e0a5edef06575","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_structured_jacobian.py","route_id":"route-d50045e506093dad","origin_key":"python:perovskite_sim.experiments.ion_aware_structured_jacobian.IonAwareStructuredJacobianProtocol.to_dict","qualified_name":"perovskite_sim.experiments.ion_aware_structured_jacobian.IonAwareStructuredJacobianProtocol.to_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-1aa81fe89dc07a82","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_structured_jacobian.py","route_id":"route-d50045e506093dad","origin_key":"python:perovskite_sim.experiments.ion_aware_structured_jacobian.IonAwareStructuredJacobianResult","qualified_name":"perovskite_sim.experiments.ion_aware_structured_jacobian.IonAwareStructuredJacobianResult","visibility":"public","evidence_level":"source_static"}, +{"id":"python-b838673cda3e4016","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_structured_jacobian.py","route_id":"route-d50045e506093dad","origin_key":"python:perovskite_sim.experiments.ion_aware_structured_jacobian.IonAwareStructuredJacobianResult.protocol_hash","qualified_name":"perovskite_sim.experiments.ion_aware_structured_jacobian.IonAwareStructuredJacobianResult.protocol_hash","visibility":"public","evidence_level":"source_static"}, +{"id":"python-2a597f1645945b0a","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_structured_jacobian.py","route_id":"route-d50045e506093dad","origin_key":"python:perovskite_sim.experiments.ion_aware_structured_jacobian.MatrixColumnComparison","qualified_name":"perovskite_sim.experiments.ion_aware_structured_jacobian.MatrixColumnComparison","visibility":"public","evidence_level":"source_static"}, +{"id":"python-3b66918f7e74080b","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_structured_jacobian.py","route_id":"route-d50045e506093dad","origin_key":"python:perovskite_sim.experiments.ion_aware_structured_jacobian.PoissonImplicitSensitivity","qualified_name":"perovskite_sim.experiments.ion_aware_structured_jacobian.PoissonImplicitSensitivity","visibility":"public","evidence_level":"source_static"}, +{"id":"python-3465c14a4c3d3a74","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_structured_jacobian.py","route_id":"route-d50045e506093dad","origin_key":"python:perovskite_sim.experiments.ion_aware_structured_jacobian.VectorComparison","qualified_name":"perovskite_sim.experiments.ion_aware_structured_jacobian.VectorComparison","visibility":"public","evidence_level":"source_static"}, +{"id":"python-526990677faab3ff","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_structured_jacobian.py","route_id":"route-d50045e506093dad","origin_key":"python:perovskite_sim.experiments.ion_aware_structured_jacobian._build_poisson_implicit_sensitivity","qualified_name":"perovskite_sim.experiments.ion_aware_structured_jacobian._build_poisson_implicit_sensitivity","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-2951fcdbe55072be","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_structured_jacobian.py","route_id":"route-d50045e506093dad","origin_key":"python:perovskite_sim.experiments.ion_aware_structured_jacobian._component_comparisons","qualified_name":"perovskite_sim.experiments.ion_aware_structured_jacobian._component_comparisons","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-e0af373ae2dfee02","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_structured_jacobian.py","route_id":"route-d50045e506093dad","origin_key":"python:perovskite_sim.experiments.ion_aware_structured_jacobian._finite","qualified_name":"perovskite_sim.experiments.ion_aware_structured_jacobian._finite","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-5b05d2f3610e22fe","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_structured_jacobian.py","route_id":"route-d50045e506093dad","origin_key":"python:perovskite_sim.experiments.ion_aware_structured_jacobian._matrix_column_comparison","qualified_name":"perovskite_sim.experiments.ion_aware_structured_jacobian._matrix_column_comparison","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-57c098743038b5e1","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_structured_jacobian.py","route_id":"route-d50045e506093dad","origin_key":"python:perovskite_sim.experiments.ion_aware_structured_jacobian._poisson_componentwise_backward_error","qualified_name":"perovskite_sim.experiments.ion_aware_structured_jacobian._poisson_componentwise_backward_error","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-b80e2399fbd71062","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_structured_jacobian.py","route_id":"route-d50045e506093dad","origin_key":"python:perovskite_sim.experiments.ion_aware_structured_jacobian._positive","qualified_name":"perovskite_sim.experiments.ion_aware_structured_jacobian._positive","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-3593ff0343fc2fd8","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_structured_jacobian.py","route_id":"route-d50045e506093dad","origin_key":"python:perovskite_sim.experiments.ion_aware_structured_jacobian._sha256","qualified_name":"perovskite_sim.experiments.ion_aware_structured_jacobian._sha256","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-8d9e78c1f31bfe3b","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_structured_jacobian.py","route_id":"route-d50045e506093dad","origin_key":"python:perovskite_sim.experiments.ion_aware_structured_jacobian._structured_evaluator","qualified_name":"perovskite_sim.experiments.ion_aware_structured_jacobian._structured_evaluator","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-064c61cf3fb7336e","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_structured_jacobian.py","route_id":"route-d50045e506093dad","origin_key":"python:perovskite_sim.experiments.ion_aware_structured_jacobian._vector_comparison","qualified_name":"perovskite_sim.experiments.ion_aware_structured_jacobian._vector_comparison","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-3906d8ff5a195759","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_structured_jacobian.py","route_id":"route-d50045e506093dad","origin_key":"python:perovskite_sim.experiments.ion_aware_structured_jacobian.build_ion_aware_structured_jacobian_protocol","qualified_name":"perovskite_sim.experiments.ion_aware_structured_jacobian.build_ion_aware_structured_jacobian_protocol","visibility":"public","evidence_level":"source_static"}, +{"id":"python-55d514b405d9d1de","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_structured_jacobian.py","route_id":"route-d50045e506093dad","origin_key":"python:perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison","qualified_name":"perovskite_sim.experiments.ion_aware_structured_jacobian.run_ion_aware_structured_jacobian_comparison","visibility":"public","evidence_level":"source_static"}, +{"id":"python-2408e7c4e57fbdc1","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/jv_sweep.py","route_id":"route-6110e3f0105bc8f1","origin_key":"python:perovskite_sim.experiments.jv_sweep.JVAcceptedSolveDiagnostics","qualified_name":"perovskite_sim.experiments.jv_sweep.JVAcceptedSolveDiagnostics","visibility":"public","evidence_level":"source_static"}, +{"id":"python-065b985c4852ab8c","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/jv_sweep.py","route_id":"route-6110e3f0105bc8f1","origin_key":"python:perovskite_sim.experiments.jv_sweep.JVBulkDefectEvidence","qualified_name":"perovskite_sim.experiments.jv_sweep.JVBulkDefectEvidence","visibility":"public","evidence_level":"source_static"}, +{"id":"python-de88c7fa9108b73d","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/jv_sweep.py","route_id":"route-6110e3f0105bc8f1","origin_key":"python:perovskite_sim.experiments.jv_sweep.JVBulkDefectEvidence.__post_init__","qualified_name":"perovskite_sim.experiments.jv_sweep.JVBulkDefectEvidence.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-5790bce45159abd4","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/jv_sweep.py","route_id":"route-6110e3f0105bc8f1","origin_key":"python:perovskite_sim.experiments.jv_sweep.JVCertificationError","qualified_name":"perovskite_sim.experiments.jv_sweep.JVCertificationError","visibility":"public","evidence_level":"source_static"}, +{"id":"python-b7a744131d18cd27","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/jv_sweep.py","route_id":"route-6110e3f0105bc8f1","origin_key":"python:perovskite_sim.experiments.jv_sweep.JVCertificationError.__init__","qualified_name":"perovskite_sim.experiments.jv_sweep.JVCertificationError.__init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-d40e546f78838dbe","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/jv_sweep.py","route_id":"route-6110e3f0105bc8f1","origin_key":"python:perovskite_sim.experiments.jv_sweep.JVCertificationWarning","qualified_name":"perovskite_sim.experiments.jv_sweep.JVCertificationWarning","visibility":"public","evidence_level":"source_static"}, +{"id":"python-178b4a4e9d6ab803","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/jv_sweep.py","route_id":"route-6110e3f0105bc8f1","origin_key":"python:perovskite_sim.experiments.jv_sweep.JVCurrentDecomp","qualified_name":"perovskite_sim.experiments.jv_sweep.JVCurrentDecomp","visibility":"public","evidence_level":"source_static"}, +{"id":"python-341efbf261a52738","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/jv_sweep.py","route_id":"route-6110e3f0105bc8f1","origin_key":"python:perovskite_sim.experiments.jv_sweep.JVDriverCapabilityError","qualified_name":"perovskite_sim.experiments.jv_sweep.JVDriverCapabilityError","visibility":"public","evidence_level":"source_static"}, +{"id":"python-2e726f53cfc524a7","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/jv_sweep.py","route_id":"route-6110e3f0105bc8f1","origin_key":"python:perovskite_sim.experiments.jv_sweep.JVDriverCapabilityError.__init__","qualified_name":"perovskite_sim.experiments.jv_sweep.JVDriverCapabilityError.__init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-934a493674ef95b1","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/jv_sweep.py","route_id":"route-6110e3f0105bc8f1","origin_key":"python:perovskite_sim.experiments.jv_sweep.JVMetrics","qualified_name":"perovskite_sim.experiments.jv_sweep.JVMetrics","visibility":"public","evidence_level":"source_static"}, +{"id":"python-a6c3d505fb2c1ad3","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/jv_sweep.py","route_id":"route-6110e3f0105bc8f1","origin_key":"python:perovskite_sim.experiments.jv_sweep.JVPointStatus","qualified_name":"perovskite_sim.experiments.jv_sweep.JVPointStatus","visibility":"public","evidence_level":"source_static"}, +{"id":"python-42e8d16c98dc0d42","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/jv_sweep.py","route_id":"route-6110e3f0105bc8f1","origin_key":"python:perovskite_sim.experiments.jv_sweep.JVResult","qualified_name":"perovskite_sim.experiments.jv_sweep.JVResult","visibility":"public","evidence_level":"source_static"}, +{"id":"python-e462c963a6331bf5","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/jv_sweep.py","route_id":"route-6110e3f0105bc8f1","origin_key":"python:perovskite_sim.experiments.jv_sweep.JVResult.certified","qualified_name":"perovskite_sim.experiments.jv_sweep.JVResult.certified","visibility":"public","evidence_level":"source_static"}, +{"id":"python-2d1e7abbe1d4dc53","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/jv_sweep.py","route_id":"route-6110e3f0105bc8f1","origin_key":"python:perovskite_sim.experiments.jv_sweep._JVCandidateFailure","qualified_name":"perovskite_sim.experiments.jv_sweep._JVCandidateFailure","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-e1502cb01e601d9b","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/jv_sweep.py","route_id":"route-6110e3f0105bc8f1","origin_key":"python:perovskite_sim.experiments.jv_sweep._JVCandidateFailure.__init__","qualified_name":"perovskite_sim.experiments.jv_sweep._JVCandidateFailure.__init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-3ce98d01bbd63888","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/jv_sweep.py","route_id":"route-6110e3f0105bc8f1","origin_key":"python:perovskite_sim.experiments.jv_sweep._bake_radiative_reabsorption_step","qualified_name":"perovskite_sim.experiments.jv_sweep._bake_radiative_reabsorption_step","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-e278379fd7f741f6","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/jv_sweep.py","route_id":"route-6110e3f0105bc8f1","origin_key":"python:perovskite_sim.experiments.jv_sweep._branch_current_ceiling","qualified_name":"perovskite_sim.experiments.jv_sweep._branch_current_ceiling","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-49436d8738494b76","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/jv_sweep.py","route_id":"route-6110e3f0105bc8f1","origin_key":"python:perovskite_sim.experiments.jv_sweep._compute_current","qualified_name":"perovskite_sim.experiments.jv_sweep._compute_current","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-3daecac94fb5e969","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/jv_sweep.py","route_id":"route-6110e3f0105bc8f1","origin_key":"python:perovskite_sim.experiments.jv_sweep._compute_current_ss","qualified_name":"perovskite_sim.experiments.jv_sweep._compute_current_ss","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-0437f8e360b55588","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/jv_sweep.py","route_id":"route-6110e3f0105bc8f1","origin_key":"python:perovskite_sim.experiments.jv_sweep._compute_current_ss_with_spread","qualified_name":"perovskite_sim.experiments.jv_sweep._compute_current_ss_with_spread","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-6828f2b2bf8625d8","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/jv_sweep.py","route_id":"route-6110e3f0105bc8f1","origin_key":"python:perovskite_sim.experiments.jv_sweep._currents_agree","qualified_name":"perovskite_sim.experiments.jv_sweep._currents_agree","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-71538a882dee2bb1","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/jv_sweep.py","route_id":"route-6110e3f0105bc8f1","origin_key":"python:perovskite_sim.experiments.jv_sweep._custom_grid_parameters","qualified_name":"perovskite_sim.experiments.jv_sweep._custom_grid_parameters","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-6d9635ac00c8c6b6","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/jv_sweep.py","route_id":"route-6110e3f0105bc8f1","origin_key":"python:perovskite_sim.experiments.jv_sweep._default_V_max","qualified_name":"perovskite_sim.experiments.jv_sweep._default_V_max","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-426da4b5865c51f8","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/jv_sweep.py","route_id":"route-6110e3f0105bc8f1","origin_key":"python:perovskite_sim.experiments.jv_sweep._fixed_generation_reference","qualified_name":"perovskite_sim.experiments.jv_sweep._fixed_generation_reference","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-c87aef0d5039c0fb","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/jv_sweep.py","route_id":"route-6110e3f0105bc8f1","origin_key":"python:perovskite_sim.experiments.jv_sweep._grid_node_count","qualified_name":"perovskite_sim.experiments.jv_sweep._grid_node_count","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-e90c2f6eb9dc637a","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/jv_sweep.py","route_id":"route-6110e3f0105bc8f1","origin_key":"python:perovskite_sim.experiments.jv_sweep._integrate_step","qualified_name":"perovskite_sim.experiments.jv_sweep._integrate_step","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-15a7d61220940dab","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/jv_sweep.py","route_id":"route-6110e3f0105bc8f1","origin_key":"python:perovskite_sim.experiments.jv_sweep._ionic_current_components_from_fields","qualified_name":"perovskite_sim.experiments.jv_sweep._ionic_current_components_from_fields","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-9e8c034187e9bccb","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/jv_sweep.py","route_id":"route-6110e3f0105bc8f1","origin_key":"python:perovskite_sim.experiments.jv_sweep._largest_remainder_interval_counts","qualified_name":"perovskite_sim.experiments.jv_sweep._largest_remainder_interval_counts","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-6e77697ebea7a177","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/jv_sweep.py","route_id":"route-6110e3f0105bc8f1","origin_key":"python:perovskite_sim.experiments.jv_sweep._layer_node_counts","qualified_name":"perovskite_sim.experiments.jv_sweep._layer_node_counts","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-7174b4a6ad981b09","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/jv_sweep.py","route_id":"route-6110e3f0105bc8f1","origin_key":"python:perovskite_sim.experiments.jv_sweep._optional_solver_count","qualified_name":"perovskite_sim.experiments.jv_sweep._optional_solver_count","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-6313230b613b33bd","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/jv_sweep.py","route_id":"route-6110e3f0105bc8f1","origin_key":"python:perovskite_sim.experiments.jv_sweep._refinements_agree","qualified_name":"perovskite_sim.experiments.jv_sweep._refinements_agree","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-5a02dda0957f9568","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/jv_sweep.py","route_id":"route-6110e3f0105bc8f1","origin_key":"python:perovskite_sim.experiments.jv_sweep._state_fields","qualified_name":"perovskite_sim.experiments.jv_sweep._state_fields","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-05ea3ecac704b7ef","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/jv_sweep.py","route_id":"route-6110e3f0105bc8f1","origin_key":"python:perovskite_sim.experiments.jv_sweep._states_agree","qualified_name":"perovskite_sim.experiments.jv_sweep._states_agree","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-11749b166a4910c8","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/jv_sweep.py","route_id":"route-6110e3f0105bc8f1","origin_key":"python:perovskite_sim.experiments.jv_sweep._sum_accepted_solver_count","qualified_name":"perovskite_sim.experiments.jv_sweep._sum_accepted_solver_count","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-ea6533b83f3ea0c0","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/jv_sweep.py","route_id":"route-6110e3f0105bc8f1","origin_key":"python:perovskite_sim.experiments.jv_sweep._total_current_faces","qualified_name":"perovskite_sim.experiments.jv_sweep._total_current_faces","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-4210e4a1dac3926b","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/jv_sweep.py","route_id":"route-6110e3f0105bc8f1","origin_key":"python:perovskite_sim.experiments.jv_sweep._unavailable_metrics","qualified_name":"perovskite_sim.experiments.jv_sweep._unavailable_metrics","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-e8cbf92403e9431c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/jv_sweep.py","route_id":"route-6110e3f0105bc8f1","origin_key":"python:perovskite_sim.experiments.jv_sweep.build_electrical_grid","qualified_name":"perovskite_sim.experiments.jv_sweep.build_electrical_grid","visibility":"public","evidence_level":"source_static"}, +{"id":"python-89c4d44b376a31d8","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/jv_sweep.py","route_id":"route-6110e3f0105bc8f1","origin_key":"python:perovskite_sim.experiments.jv_sweep.build_jv_experiment_protocol","qualified_name":"perovskite_sim.experiments.jv_sweep.build_jv_experiment_protocol","visibility":"public","evidence_level":"source_static"}, +{"id":"python-1b8a2512651eb291","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/jv_sweep.py","route_id":"route-6110e3f0105bc8f1","origin_key":"python:perovskite_sim.experiments.jv_sweep.compute_current_components","qualified_name":"perovskite_sim.experiments.jv_sweep.compute_current_components","visibility":"public","evidence_level":"source_static"}, +{"id":"python-b4672100092727ee","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/jv_sweep.py","route_id":"route-6110e3f0105bc8f1","origin_key":"python:perovskite_sim.experiments.jv_sweep.compute_ionic_current_components","qualified_name":"perovskite_sim.experiments.jv_sweep.compute_ionic_current_components","visibility":"public","evidence_level":"source_static"}, +{"id":"python-5b840c038b5e9530","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/jv_sweep.py","route_id":"route-6110e3f0105bc8f1","origin_key":"python:perovskite_sim.experiments.jv_sweep.compute_metrics","qualified_name":"perovskite_sim.experiments.jv_sweep.compute_metrics","visibility":"public","evidence_level":"source_static"}, +{"id":"python-e8cf4882ef03843a","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/jv_sweep.py","route_id":"route-6110e3f0105bc8f1","origin_key":"python:perovskite_sim.experiments.jv_sweep.extract_spatial_snapshot","qualified_name":"perovskite_sim.experiments.jv_sweep.extract_spatial_snapshot","visibility":"public","evidence_level":"source_static"}, +{"id":"python-e1133dd3ea39bc5d","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/jv_sweep.py","route_id":"route-6110e3f0105bc8f1","origin_key":"python:perovskite_sim.experiments.jv_sweep.hysteresis_index","qualified_name":"perovskite_sim.experiments.jv_sweep.hysteresis_index","visibility":"public","evidence_level":"source_static"}, +{"id":"python-402ee327e94ec1b7","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/jv_sweep.py","route_id":"route-6110e3f0105bc8f1","origin_key":"python:perovskite_sim.experiments.jv_sweep.quasi_static_sweep","qualified_name":"perovskite_sim.experiments.jv_sweep.quasi_static_sweep","visibility":"public","evidence_level":"source_static"}, +{"id":"python-8802995d599ad8d2","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/jv_sweep.py","route_id":"route-6110e3f0105bc8f1","origin_key":"python:perovskite_sim.experiments.jv_sweep.require_jv_driver_capability","qualified_name":"perovskite_sim.experiments.jv_sweep.require_jv_driver_capability","visibility":"public","evidence_level":"source_static"}, +{"id":"python-993788ea66e68b41","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/jv_sweep.py","route_id":"route-6110e3f0105bc8f1","origin_key":"python:perovskite_sim.experiments.jv_sweep.run_jv_sweep","qualified_name":"perovskite_sim.experiments.jv_sweep.run_jv_sweep","visibility":"public","evidence_level":"source_static"}, +{"id":"python-f532145373f51f79","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/jv_sweep.py","route_id":"route-6110e3f0105bc8f1","origin_key":"python:perovskite_sim.experiments.jv_sweep.thermodynamic_voc_ceiling","qualified_name":"perovskite_sim.experiments.jv_sweep.thermodynamic_voc_ceiling","visibility":"public","evidence_level":"source_static"}, +{"id":"python-d408d992d8648f82","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/metastable_preparation.py","route_id":"route-122501331d596e6c","origin_key":"python:perovskite_sim.experiments.metastable_preparation.FrozenMetastableConfiguration","qualified_name":"perovskite_sim.experiments.metastable_preparation.FrozenMetastableConfiguration","visibility":"public","evidence_level":"source_static"}, +{"id":"python-a10e0a46175eea81","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/metastable_preparation.py","route_id":"route-122501331d596e6c","origin_key":"python:perovskite_sim.experiments.metastable_preparation.FrozenMetastableConfiguration.frozen","qualified_name":"perovskite_sim.experiments.metastable_preparation.FrozenMetastableConfiguration.frozen","visibility":"public","evidence_level":"source_static"}, +{"id":"python-0bf592604d0f7a40","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/metastable_preparation.py","route_id":"route-122501331d596e6c","origin_key":"python:perovskite_sim.experiments.metastable_preparation.MetastablePreparationError","qualified_name":"perovskite_sim.experiments.metastable_preparation.MetastablePreparationError","visibility":"public","evidence_level":"source_static"}, +{"id":"python-fec5e6b779a7f17e","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/metastable_preparation.py","route_id":"route-122501331d596e6c","origin_key":"python:perovskite_sim.experiments.metastable_preparation._array_sha256","qualified_name":"perovskite_sim.experiments.metastable_preparation._array_sha256","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-00c32e5e59362659","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/metastable_preparation.py","route_id":"route-122501331d596e6c","origin_key":"python:perovskite_sim.experiments.metastable_preparation._build_model","qualified_name":"perovskite_sim.experiments.metastable_preparation._build_model","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-6405a12a78a49887","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/metastable_preparation.py","route_id":"route-122501331d596e6c","origin_key":"python:perovskite_sim.experiments.metastable_preparation._layer_mask","qualified_name":"perovskite_sim.experiments.metastable_preparation._layer_mask","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-5f637a96765ba2f8","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/metastable_preparation.py","route_id":"route-122501331d596e6c","origin_key":"python:perovskite_sim.experiments.metastable_preparation._measurement_material","qualified_name":"perovskite_sim.experiments.metastable_preparation._measurement_material","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-018e5c599ff6eeb1","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/metastable_preparation.py","route_id":"route-122501331d596e6c","origin_key":"python:perovskite_sim.experiments.metastable_preparation._payload_sha256","qualified_name":"perovskite_sim.experiments.metastable_preparation._payload_sha256","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-84c7fca5a342971d","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/metastable_preparation.py","route_id":"route-122501331d596e6c","origin_key":"python:perovskite_sim.experiments.metastable_preparation._prepared_stack","qualified_name":"perovskite_sim.experiments.metastable_preparation._prepared_stack","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-5445246e85ef264c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/metastable_preparation.py","route_id":"route-122501331d596e6c","origin_key":"python:perovskite_sim.experiments.metastable_preparation._region_layer_index","qualified_name":"perovskite_sim.experiments.metastable_preparation._region_layer_index","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-4ee65d13b4b35ba3","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/metastable_preparation.py","route_id":"route-122501331d596e6c","origin_key":"python:perovskite_sim.experiments.metastable_preparation.prepare_metastable_configuration","qualified_name":"perovskite_sim.experiments.metastable_preparation.prepare_metastable_configuration","visibility":"public","evidence_level":"source_static"}, +{"id":"python-aed19c59c19affd4","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/metastable_preparation.py","route_id":"route-122501331d596e6c","origin_key":"python:perovskite_sim.experiments.metastable_preparation.solve_frozen_metastable_jv_sweep","qualified_name":"perovskite_sim.experiments.metastable_preparation.solve_frozen_metastable_jv_sweep","visibility":"public","evidence_level":"source_static"}, +{"id":"python-baf415834638603e","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/metastable_preparation.py","route_id":"route-122501331d596e6c","origin_key":"python:perovskite_sim.experiments.metastable_preparation.solve_frozen_metastable_measurement","qualified_name":"perovskite_sim.experiments.metastable_preparation.solve_frozen_metastable_measurement","visibility":"public","evidence_level":"source_static"}, +{"id":"python-588650814e28f7af","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/metastable_transient.py","route_id":"route-ef61f462b2550dc9","origin_key":"python:perovskite_sim.experiments.metastable_transient.MetastableTransientCertificate","qualified_name":"perovskite_sim.experiments.metastable_transient.MetastableTransientCertificate","visibility":"public","evidence_level":"source_static"}, +{"id":"python-f948a0e9e2d6e779","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/metastable_transient.py","route_id":"route-ef61f462b2550dc9","origin_key":"python:perovskite_sim.experiments.metastable_transient.MetastableTransientError","qualified_name":"perovskite_sim.experiments.metastable_transient.MetastableTransientError","visibility":"public","evidence_level":"source_static"}, +{"id":"python-fe279305d59276d0","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/metastable_transient.py","route_id":"route-ef61f462b2550dc9","origin_key":"python:perovskite_sim.experiments.metastable_transient.MetastableTransientResult","qualified_name":"perovskite_sim.experiments.metastable_transient.MetastableTransientResult","visibility":"public","evidence_level":"source_static"}, +{"id":"python-35d94c5b12b42b86","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/metastable_transient.py","route_id":"route-ef61f462b2550dc9","origin_key":"python:perovskite_sim.experiments.metastable_transient._model_at","qualified_name":"perovskite_sim.experiments.metastable_transient._model_at","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-9557f0796ead4e52","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/metastable_transient.py","route_id":"route-ef61f462b2550dc9","origin_key":"python:perovskite_sim.experiments.metastable_transient._trace","qualified_name":"perovskite_sim.experiments.metastable_transient._trace","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-f800e9b0e97ef0b2","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/metastable_transient.py","route_id":"route-ef61f462b2550dc9","origin_key":"python:perovskite_sim.experiments.metastable_transient._validate_times","qualified_name":"perovskite_sim.experiments.metastable_transient._validate_times","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-04c182a16f0966e7","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/metastable_transient.py","route_id":"route-ef61f462b2550dc9","origin_key":"python:perovskite_sim.experiments.metastable_transient.run_metastable_configuration_transient","qualified_name":"perovskite_sim.experiments.metastable_transient.run_metastable_configuration_transient","visibility":"public","evidence_level":"source_static"}, +{"id":"python-57393746aa499f17","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/mott_schottky.py","route_id":"route-f07791f6d464ccd9","origin_key":"python:perovskite_sim.experiments.mott_schottky.MottSchottkyResult","qualified_name":"perovskite_sim.experiments.mott_schottky.MottSchottkyResult","visibility":"public","evidence_level":"source_static"}, +{"id":"python-5fa657975b7fc267","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/mott_schottky.py","route_id":"route-f07791f6d464ccd9","origin_key":"python:perovskite_sim.experiments.mott_schottky._fit_mott_schottky","qualified_name":"perovskite_sim.experiments.mott_schottky._fit_mott_schottky","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-269e1818092887b8","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/mott_schottky.py","route_id":"route-f07791f6d464ccd9","origin_key":"python:perovskite_sim.experiments.mott_schottky._resolve_eps_r","qualified_name":"perovskite_sim.experiments.mott_schottky._resolve_eps_r","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-dd04ddb82c427203","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/mott_schottky.py","route_id":"route-f07791f6d464ccd9","origin_key":"python:perovskite_sim.experiments.mott_schottky._select_ms_window","qualified_name":"perovskite_sim.experiments.mott_schottky._select_ms_window","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-0db15afd3e820943","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/mott_schottky.py","route_id":"route-f07791f6d464ccd9","origin_key":"python:perovskite_sim.experiments.mott_schottky.run_mott_schottky","qualified_name":"perovskite_sim.experiments.mott_schottky.run_mott_schottky","visibility":"public","evidence_level":"source_static"}, +{"id":"python-c8aea84be1a3aee5","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1.py","route_id":"route-aad6beda6ef7111b","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1.PhysicalInterfaceIonSystem","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1.PhysicalInterfaceIonSystem","visibility":"public","evidence_level":"source_static"}, +{"id":"python-3ab0a99aba8afcea","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1.py","route_id":"route-aad6beda6ef7111b","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1.PhysicalInterfaceIonSystem._coordinates","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1.PhysicalInterfaceIonSystem._coordinates","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-14e4e71f3913b291","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1.py","route_id":"route-aad6beda6ef7111b","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1.PhysicalInterfaceIonSystem._with_step_electrostatics","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1.PhysicalInterfaceIonSystem._with_step_electrostatics","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-2b90d6afd998da14","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1.py","route_id":"route-aad6beda6ef7111b","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1.PhysicalInterfaceIonSystem.interface_current_sides","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1.PhysicalInterfaceIonSystem.interface_current_sides","visibility":"public","evidence_level":"source_static"}, +{"id":"python-57096923cd786a62","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1.py","route_id":"route-aad6beda6ef7111b","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1.PhysicalInterfaceIonSystem.potential_increment","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1.PhysicalInterfaceIonSystem.potential_increment","visibility":"public","evidence_level":"source_static"}, +{"id":"python-242ebcc77fba15c2","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1.py","route_id":"route-aad6beda6ef7111b","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1.PhysicalInterfaceIonSystem.set_voltage_lift","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1.PhysicalInterfaceIonSystem.set_voltage_lift","visibility":"public","evidence_level":"source_static"}, +{"id":"python-f0bb8b7c5fbb6ece","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1.py","route_id":"route-aad6beda6ef7111b","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1._digest","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1._digest","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-905ab1bb2e7b8efe","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1.py","route_id":"route-aad6beda6ef7111b","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1.build_r1_material","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1.build_r1_material","visibility":"public","evidence_level":"source_static"}, +{"id":"python-0cdc301eeae6ffa5","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1.py","route_id":"route-aad6beda6ef7111b","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1.physical_ac_observation","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1.physical_ac_observation","visibility":"public","evidence_level":"source_static"}, +{"id":"python-53645f64223b495f","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1.py","route_id":"route-aad6beda6ef7111b","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1.physical_step_record","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1.physical_step_record","visibility":"public","evidence_level":"source_static"}, +{"id":"python-5d5f6ea1cd90b46e","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1.py","route_id":"route-aad6beda6ef7111b","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1.prepare_reference","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1.prepare_reference","visibility":"public","evidence_level":"source_static"}, +{"id":"python-2b7e7c1c5d224cc8","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1.py","route_id":"route-aad6beda6ef7111b","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1.run_coupled","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1.run_coupled","visibility":"public","evidence_level":"source_static"}, +{"id":"python-8c20409497e36a83","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1.py","route_id":"route-aad6beda6ef7111b","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1.solve_r1_dc","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1.solve_r1_dc","visibility":"public","evidence_level":"source_static"}, +{"id":"python-e798082829860329","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1.py","route_id":"route-aad6beda6ef7111b","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1.validate_binding","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1.validate_binding","visibility":"public","evidence_level":"source_static"}, +{"id":"python-e0c5130021dc7658","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1.py","route_id":"route-aad6beda6ef7111b","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1.validate_physical_material","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1.validate_physical_material","visibility":"public","evidence_level":"source_static"}, +{"id":"python-3fac26be93925740","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_admittance.py","route_id":"route-522d180395ae3094","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_admittance.R1AdmittanceErrors","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_admittance.R1AdmittanceErrors","visibility":"public","evidence_level":"source_static"}, +{"id":"python-0b9b3befb55e7b44","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_admittance.py","route_id":"route-522d180395ae3094","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_admittance.R1AdmittanceIntegrationError","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_admittance.R1AdmittanceIntegrationError","visibility":"public","evidence_level":"source_static"}, +{"id":"python-6f15dba62fcb18c3","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_admittance.py","route_id":"route-522d180395ae3094","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_admittance.R1AdmittanceReconstruction","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_admittance.R1AdmittanceReconstruction","visibility":"public","evidence_level":"source_static"}, +{"id":"python-33076044e43709b0","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_admittance.py","route_id":"route-522d180395ae3094","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_admittance.R1AdmittanceReconstruction.__post_init__","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_admittance.R1AdmittanceReconstruction.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-34aa4558c6af7f37","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_admittance.py","route_id":"route-522d180395ae3094","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_admittance._integrate_piecewise_linear","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_admittance._integrate_piecewise_linear","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-56ede8339ff41223","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_admittance.py","route_id":"route-522d180395ae3094","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_admittance._nonnegative_array","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_admittance._nonnegative_array","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-d7799674a96e17c4","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_admittance.py","route_id":"route-522d180395ae3094","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_admittance._readonly","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_admittance._readonly","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-7f4b6b12d886d497","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_admittance.py","route_id":"route-522d180395ae3094","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_admittance._scalar","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_admittance._scalar","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-c096ee984ace8cf6","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_admittance.py","route_id":"route-522d180395ae3094","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_admittance._times","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_admittance._times","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-fd9029281003153d","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_admittance.py","route_id":"route-522d180395ae3094","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_admittance._vector","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_admittance._vector","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-3fbeea1e5a958cec","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_admittance.py","route_id":"route-522d180395ae3094","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_admittance.linear_interpolation_integral_bound","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_admittance.linear_interpolation_integral_bound","visibility":"public","evidence_level":"source_static"}, +{"id":"python-22c0f429f9087ced","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_admittance.py","route_id":"route-522d180395ae3094","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_admittance.reconstruct_admittance","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_admittance.reconstruct_admittance","visibility":"public","evidence_level":"source_static"}, +{"id":"python-e3b7f2ff7888426b","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_backend.py","route_id":"route-f9764d60842a3b96","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_backend.R1Backend","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_backend.R1Backend","visibility":"public","evidence_level":"source_static"}, +{"id":"python-19419743504efc34","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_backend.py","route_id":"route-f9764d60842a3b96","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_backend.R1Backend.bind","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_backend.R1Backend.bind","visibility":"public","evidence_level":"source_static"}, +{"id":"python-1e92ea4337759d5a","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_backend.py","route_id":"route-f9764d60842a3b96","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_backend.R1Backend.controlled","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_backend.R1Backend.controlled","visibility":"public","evidence_level":"source_static"}, +{"id":"python-d9fc0218e5b2ec2e","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_backend.py","route_id":"route-f9764d60842a3b96","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_backend.R1Backend.decode_prepared","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_backend.R1Backend.decode_prepared","visibility":"public","evidence_level":"source_static"}, +{"id":"python-19bb5420e88fe4d3","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_backend.py","route_id":"route-f9764d60842a3b96","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_backend.R1Backend.finalize_initial","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_backend.R1Backend.finalize_initial","visibility":"public","evidence_level":"source_static"}, +{"id":"python-05d2c85da6d5974f","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_backend.py","route_id":"route-f9764d60842a3b96","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_backend.R1Backend.finalize_record","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_backend.R1Backend.finalize_record","visibility":"public","evidence_level":"source_static"}, +{"id":"python-60f0b382c41f6a10","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_backend.py","route_id":"route-f9764d60842a3b96","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_backend.R1Backend.fine_factory","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_backend.R1Backend.fine_factory","visibility":"public","evidence_level":"source_static"}, +{"id":"python-866f664fd214eaae","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_backend.py","route_id":"route-f9764d60842a3b96","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_backend.R1Backend.initial_local_solved","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_backend.R1Backend.initial_local_solved","visibility":"public","evidence_level":"source_static"}, +{"id":"python-372e1c926af65844","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_backend.py","route_id":"route-f9764d60842a3b96","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_backend.R1Backend.is_pair","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_backend.R1Backend.is_pair","visibility":"public","evidence_level":"source_static"}, +{"id":"python-9624718ffb885aab","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_backend.py","route_id":"route-f9764d60842a3b96","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_backend.R1Backend.output_states","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_backend.R1Backend.output_states","visibility":"public","evidence_level":"source_static"}, +{"id":"python-bd290cb596f37cdc","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_backend.py","route_id":"route-f9764d60842a3b96","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_backend.R1Backend.prepare","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_backend.R1Backend.prepare","visibility":"public","evidence_level":"source_static"}, +{"id":"python-0a70fcd0c0a78c03","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_backend.py","route_id":"route-f9764d60842a3b96","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_backend.R1Backend.snapshot","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_backend.R1Backend.snapshot","visibility":"public","evidence_level":"source_static"}, +{"id":"python-6186885fcfeef690","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_backend.py","route_id":"route-f9764d60842a3b96","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_backend.R1Backend.solve_step","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_backend.R1Backend.solve_step","visibility":"public","evidence_level":"source_static"}, +{"id":"python-f1084eef21b43995","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_backend.py","route_id":"route-f9764d60842a3b96","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_backend.R1Backend.verify","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_backend.R1Backend.verify","visibility":"public","evidence_level":"source_static"}, +{"id":"python-094d8b8103e473d1","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_backend.py","route_id":"route-f9764d60842a3b96","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_backend._legacy_prepare","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_backend._legacy_prepare","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-4b601d7aeb170858","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_backend.py","route_id":"route-f9764d60842a3b96","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_backend._legacy_verify","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_backend._legacy_verify","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-64fbc8cd6b58baa0","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_backend.py","route_id":"route-f9764d60842a3b96","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_backend.backend_for","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_backend.backend_for","visibility":"public","evidence_level":"source_static"}, +{"id":"python-b278776804921f1b","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_backend.py","route_id":"route-f9764d60842a3b96","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_backend.get_backend","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_backend.get_backend","visibility":"public","evidence_level":"source_static"}, +{"id":"python-5e5c2df118bd0440","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_baseline_electrostatics.py","route_id":"route-5c466e672224acb1","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_baseline_electrostatics.BaselineElectrostaticRows","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_baseline_electrostatics.BaselineElectrostaticRows","visibility":"public","evidence_level":"source_static"}, +{"id":"python-902e9d4aa3b3cf14","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_baseline_electrostatics.py","route_id":"route-5c466e672224acb1","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_baseline_electrostatics._diff","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_baseline_electrostatics._diff","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-fbd4d1a358e24f7a","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_baseline_electrostatics.py","route_id":"route-5c466e672224acb1","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_baseline_electrostatics._put","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_baseline_electrostatics._put","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-9997abb3b30c85c2","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_baseline_electrostatics.py","route_id":"route-5c466e672224acb1","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_baseline_electrostatics.baseline_electrostatic_diagnostics","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_baseline_electrostatics.baseline_electrostatic_diagnostics","visibility":"public","evidence_level":"source_static"}, +{"id":"python-c3dc75b6f70e08d9","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_baseline_electrostatics.py","route_id":"route-5c466e672224acb1","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_baseline_electrostatics.baseline_incremental_electrostatic_defect","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_baseline_electrostatics.baseline_incremental_electrostatic_defect","visibility":"public","evidence_level":"source_static"}, +{"id":"python-5fb53967128129e0","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_baseline_electrostatics.py","route_id":"route-5c466e672224acb1","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_baseline_electrostatics.baseline_physical_electrostatic_rows","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_baseline_electrostatics.baseline_physical_electrostatic_rows","visibility":"public","evidence_level":"source_static"}, +{"id":"python-2e1a829b5f4016e1","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_baseline_initial.py","route_id":"route-e2be6886e84bde25","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_baseline_initial._words","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_baseline_initial._words","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-2dd776df2e85d053","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_baseline_initial.py","route_id":"route-e2be6886e84bde25","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_baseline_initial.canonicalize_baseline_initial_dc","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_baseline_initial.canonicalize_baseline_initial_dc","visibility":"public","evidence_level":"source_static"}, +{"id":"python-31335bbfdd53acee","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_binding.py","route_id":"route-af422dae26465537","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_binding._checked_study_input","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_binding._checked_study_input","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-0db0c9e4488fc6c2","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_binding.py","route_id":"route-af422dae26465537","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_binding.additional_failures_identity","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_binding.additional_failures_identity","visibility":"public","evidence_level":"source_static"}, +{"id":"python-78d9c93682ae6a4f","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_binding.py","route_id":"route-af422dae26465537","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_binding.additional_failures_v2_identity","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_binding.additional_failures_v2_identity","visibility":"public","evidence_level":"source_static"}, +{"id":"python-838cb9e24d493fd0","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_binding.py","route_id":"route-af422dae26465537","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_binding.execution_contract_identity","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_binding.execution_contract_identity","visibility":"public","evidence_level":"source_static"}, +{"id":"python-b629e30c4b09d103","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_binding.py","route_id":"route-af422dae26465537","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_binding.operator_criterion_identity","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_binding.operator_criterion_identity","visibility":"public","evidence_level":"source_static"}, +{"id":"python-7f826b456d848830","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_binding.py","route_id":"route-af422dae26465537","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_binding.physics_protocol_identity","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_binding.physics_protocol_identity","visibility":"public","evidence_level":"source_static"}, +{"id":"python-258cbf80da50ab3a","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_binding.py","route_id":"route-af422dae26465537","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_binding.standard_binding_record","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_binding.standard_binding_record","visibility":"public","evidence_level":"source_static"}, +{"id":"python-27f68ba695406c0b","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_binding.py","route_id":"route-af422dae26465537","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_binding.study_input_identity","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_binding.study_input_identity","visibility":"public","evidence_level":"source_static"}, +{"id":"python-11cf7e359593e594","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_binding.py","route_id":"route-af422dae26465537","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_binding.validate_r1_study_binding","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_binding.validate_r1_study_binding","visibility":"public","evidence_level":"source_static"}, +{"id":"python-5511717fea5de553","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_checkout.py","route_id":"route-d7705533e8467092","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_checkout.R1CheckoutContext","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_checkout.R1CheckoutContext","visibility":"public","evidence_level":"source_static"}, +{"id":"python-e29e192ff43f8987","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_checkout.py","route_id":"route-d7705533e8467092","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_checkout.R1CheckoutContext.package_source_hashes","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_checkout.R1CheckoutContext.package_source_hashes","visibility":"public","evidence_level":"source_static"}, +{"id":"python-0841de9f97f880d7","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_checkout.py","route_id":"route-d7705533e8467092","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_checkout.R1CheckoutContext.read_bytes","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_checkout.R1CheckoutContext.read_bytes","visibility":"public","evidence_level":"source_static"}, +{"id":"python-6203cd01374c2f29","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_checkout.py","route_id":"route-d7705533e8467092","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_checkout.R1CheckoutContext.study_input","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_checkout.R1CheckoutContext.study_input","visibility":"public","evidence_level":"source_static"}, +{"id":"python-dc7708c972e2b566","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_checkout.py","route_id":"route-d7705533e8467092","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_checkout.R1CheckoutContext.to_dict","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_checkout.R1CheckoutContext.to_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-7026e01ecc2dabc5","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_checkout.py","route_id":"route-d7705533e8467092","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_checkout.R1CheckoutError","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_checkout.R1CheckoutError","visibility":"public","evidence_level":"source_static"}, +{"id":"python-5507c43d5c393026","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_checkout.py","route_id":"route-d7705533e8467092","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_checkout._atomic_bytes","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_checkout._atomic_bytes","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-6a1425557eca5553","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_checkout.py","route_id":"route-d7705533e8467092","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_checkout._commit_bytes","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_checkout._commit_bytes","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-3ae46cfd67a44695","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_checkout.py","route_id":"route-d7705533e8467092","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_checkout._commit_tree","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_checkout._commit_tree","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-b782269227331c65","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_checkout.py","route_id":"route-d7705533e8467092","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_checkout._file_identity","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_checkout._file_identity","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-99184cf34836358a","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_checkout.py","route_id":"route-d7705533e8467092","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_checkout._git","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_checkout._git","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-98e473325a6d9aa5","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_checkout.py","route_id":"route-d7705533e8467092","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_checkout._identity","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_checkout._identity","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-6d1cbe73e9d347cf","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_checkout.py","route_id":"route-d7705533e8467092","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_checkout._install_controlled_context","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_checkout._install_controlled_context","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-56b6b25ccf8c1e74","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_checkout.py","route_id":"route-d7705533e8467092","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_checkout._require_exact_path","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_checkout._require_exact_path","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-c4a5213b820487eb","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_checkout.py","route_id":"route-d7705533e8467092","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_checkout._require_import_origins","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_checkout._require_import_origins","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-1da050fa758586df","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_checkout.py","route_id":"route-d7705533e8467092","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_checkout._same_file","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_checkout._same_file","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-d45deae68222f364","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_checkout.py","route_id":"route-d7705533e8467092","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_checkout._source_patch","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_checkout._source_patch","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-c6aa507f0dbd8351","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_checkout.py","route_id":"route-d7705533e8467092","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_checkout.current_execution_context","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_checkout.current_execution_context","visibility":"public","evidence_level":"source_static"}, +{"id":"python-76faf4e66b55bbc6","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_checkout.py","route_id":"route-d7705533e8467092","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_checkout.declaration_coverage","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_checkout.declaration_coverage","visibility":"public","evidence_level":"source_static"}, +{"id":"python-3b313500c88f6f17","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_checkout.py","route_id":"route-d7705533e8467092","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_checkout.git_environment","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_checkout.git_environment","visibility":"public","evidence_level":"source_static"}, +{"id":"python-feb05dacf8009214","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_checkout.py","route_id":"route-d7705533e8467092","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_checkout.record_frozen_source","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_checkout.record_frozen_source","visibility":"public","evidence_level":"source_static"}, +{"id":"python-7d1469fa93e80fbe","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_checkout.py","route_id":"route-d7705533e8467092","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_checkout.record_source_reads","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_checkout.record_source_reads","visibility":"public","evidence_level":"source_static"}, +{"id":"python-555153684336380e","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_checkout.py","route_id":"route-d7705533e8467092","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_checkout.require_r1_checkout","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_checkout.require_r1_checkout","visibility":"public","evidence_level":"source_static"}, +{"id":"python-299f1532ba9ed1e8","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_checkout.py","route_id":"route-d7705533e8467092","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_checkout.source_content_digest","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_checkout.source_content_digest","visibility":"public","evidence_level":"source_static"}, +{"id":"python-17a433bae499fda5","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_checkout.py","route_id":"route-d7705533e8467092","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_checkout.validate_source_coverage","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_checkout.validate_source_coverage","visibility":"public","evidence_level":"source_static"}, +{"id":"python-974238aebffe1ed4","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_convergence.py","route_id":"route-755640e005444d99","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_convergence.R1ConvergenceCase","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_convergence.R1ConvergenceCase","visibility":"public","evidence_level":"source_static"}, +{"id":"python-b423694864c2110d","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_convergence.py","route_id":"route-755640e005444d99","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_convergence.R1ConvergenceCase.__post_init__","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_convergence.R1ConvergenceCase.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-25036c5db494906a","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_convergence.py","route_id":"route-755640e005444d99","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_convergence.R1Response","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_convergence.R1Response","visibility":"public","evidence_level":"source_static"}, +{"id":"python-45df96bab6edebb4","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_convergence.py","route_id":"route-755640e005444d99","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_convergence.R1Response.__post_init__","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_convergence.R1Response.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-1f0c7c20ebefad1a","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_convergence.py","route_id":"route-755640e005444d99","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_convergence._aligned","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_convergence._aligned","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-fcc65d9239a620b7","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_convergence.py","route_id":"route-755640e005444d99","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_convergence._evidence_array","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_convergence._evidence_array","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-827658ed9bd97019","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_convergence.py","route_id":"route-755640e005444d99","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_convergence._evidence_number","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_convergence._evidence_number","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-9727bf6be72548e6","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_convergence.py","route_id":"route-755640e005444d99","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_convergence._integer","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_convergence._integer","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-3e06326ebfd7b7cd","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_convergence.py","route_id":"route-755640e005444d99","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_convergence._location","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_convergence._location","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-28e53ce7277fea50","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_convergence.py","route_id":"route-755640e005444d99","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_convergence._numeric_array","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_convergence._numeric_array","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-2ec5b1ea735de9c1","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_convergence.py","route_id":"route-755640e005444d99","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_convergence._pair_contact_baseline","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_convergence._pair_contact_baseline","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-5beebb884aaa8232","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_convergence.py","route_id":"route-755640e005444d99","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_convergence._pointwise","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_convergence._pointwise","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-b329e2f5ed483e0b","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_convergence.py","route_id":"route-755640e005444d99","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_convergence._real_scalar","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_convergence._real_scalar","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-9f04a14b58cc26c9","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_convergence.py","route_id":"route-755640e005444d99","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_convergence._step_current_charge_inputs","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_convergence._step_current_charge_inputs","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-33307ef5f853e0b0","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_convergence.py","route_id":"route-755640e005444d99","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_convergence.base_convergence_cases","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_convergence.base_convergence_cases","visibility":"public","evidence_level":"source_static"}, +{"id":"python-5bf4f4f7a0d9c5ff","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_convergence.py","route_id":"route-755640e005444d99","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_convergence.compare_amplitude_halving","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_convergence.compare_amplitude_halving","visibility":"public","evidence_level":"source_static"}, +{"id":"python-fd2bba299ba7327a","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_convergence.py","route_id":"route-755640e005444d99","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_convergence.compare_pair_step_current_charge","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_convergence.compare_pair_step_current_charge","visibility":"public","evidence_level":"source_static"}, +{"id":"python-5b461c00c661d6fb","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_convergence.py","route_id":"route-755640e005444d99","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_convergence.compare_responses","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_convergence.compare_responses","visibility":"public","evidence_level":"source_static"}, +{"id":"python-0e119bc6127bc59c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_convergence.py","route_id":"route-755640e005444d99","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_convergence.compare_step_current_charge","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_convergence.compare_step_current_charge","visibility":"public","evidence_level":"source_static"}, +{"id":"python-da0edd30e0c7cf25","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_convergence.py","route_id":"route-755640e005444d99","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_convergence.convergence_cases","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_convergence.convergence_cases","visibility":"public","evidence_level":"source_static"}, +{"id":"python-33c8593920717b02","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_convergence.py","route_id":"route-755640e005444d99","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_convergence.observation_times","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_convergence.observation_times","visibility":"public","evidence_level":"source_static"}, +{"id":"python-2adc3a45bae2f508","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_convergence.py","route_id":"route-755640e005444d99","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_convergence.pair_step_current_charge_responses","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_convergence.pair_step_current_charge_responses","visibility":"public","evidence_level":"source_static"}, +{"id":"python-b6ce3f259971cbff","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_convergence.py","route_id":"route-755640e005444d99","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_convergence.step_current_charge_responses","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_convergence.step_current_charge_responses","visibility":"public","evidence_level":"source_static"}, +{"id":"python-1a84c9b16cd0e4dc","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_convergence.py","route_id":"route-755640e005444d99","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_convergence.validate_single_axis_comparison","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_convergence.validate_single_axis_comparison","visibility":"public","evidence_level":"source_static"}, +{"id":"python-730984b4dc2bc7e5","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_convergence.py","route_id":"route-755640e005444d99","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_convergence.validate_time_substeps","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_convergence.validate_time_substeps","visibility":"public","evidence_level":"source_static"}, +{"id":"python-fd0e69743e243cae","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_dynamics.py","route_id":"route-575c23ed996d11ae","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_dynamics.ControlledPhysicalInterfaceIonSystem","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_dynamics.ControlledPhysicalInterfaceIonSystem","visibility":"public","evidence_level":"source_static"}, +{"id":"python-704393434fe6a839","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_dynamics.py","route_id":"route-575c23ed996d11ae","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_dynamics.ControlledPhysicalInterfaceIonSystem.__init__","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_dynamics.ControlledPhysicalInterfaceIonSystem.__init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-05381b3035a3cd39","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_dynamics.py","route_id":"route-575c23ed996d11ae","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_dynamics.ControlledPhysicalInterfaceIonSystem._bulk_density_coordinates","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_dynamics.ControlledPhysicalInterfaceIonSystem._bulk_density_coordinates","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-a2ae293b7d4f2a40","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_dynamics.py","route_id":"route-575c23ed996d11ae","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_dynamics.ControlledPhysicalInterfaceIonSystem._carrier_rate_fields","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_dynamics.ControlledPhysicalInterfaceIonSystem._carrier_rate_fields","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-1222e478005cf967","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_dynamics.py","route_id":"route-575c23ed996d11ae","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_dynamics.ControlledPhysicalInterfaceIonSystem._coordinates","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_dynamics.ControlledPhysicalInterfaceIonSystem._coordinates","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-427ecbd100d5b96c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_dynamics.py","route_id":"route-575c23ed996d11ae","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_dynamics.ControlledPhysicalInterfaceIonSystem._currents","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_dynamics.ControlledPhysicalInterfaceIonSystem._currents","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-68117e3278283fdb","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_dynamics.py","route_id":"route-575c23ed996d11ae","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_dynamics.ControlledPhysicalInterfaceIonSystem._interface_carrier_conduction","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_dynamics.ControlledPhysicalInterfaceIonSystem._interface_carrier_conduction","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-f6c07a46c1ef7f7d","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_dynamics.py","route_id":"route-575c23ed996d11ae","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_dynamics.ControlledPhysicalInterfaceIonSystem._ion_fields","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_dynamics.ControlledPhysicalInterfaceIonSystem._ion_fields","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-45529704d37bda21","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_dynamics.py","route_id":"route-575c23ed996d11ae","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_dynamics.ControlledPhysicalInterfaceIonSystem._ion_jacobians","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_dynamics.ControlledPhysicalInterfaceIonSystem._ion_jacobians","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-46adee72d339e8c0","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_dynamics.py","route_id":"route-575c23ed996d11ae","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_dynamics.ControlledPhysicalInterfaceIonSystem._local_carrier_inputs","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_dynamics.ControlledPhysicalInterfaceIonSystem._local_carrier_inputs","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-44f9a243b5e6b19d","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_dynamics.py","route_id":"route-575c23ed996d11ae","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_dynamics.ControlledPhysicalInterfaceIonSystem._local_carrier_jacobians","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_dynamics.ControlledPhysicalInterfaceIonSystem._local_carrier_jacobians","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-8ced9873a9b8d9e6","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_dynamics.py","route_id":"route-575c23ed996d11ae","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_dynamics.ControlledPhysicalInterfaceIonSystem._local_states","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_dynamics.ControlledPhysicalInterfaceIonSystem._local_states","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-4ce98f24db5309e0","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_dynamics.py","route_id":"route-575c23ed996d11ae","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_dynamics.ControlledPhysicalInterfaceIonSystem._source","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_dynamics.ControlledPhysicalInterfaceIonSystem._source","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-b05ad3c55fd4d1ed","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_dynamics.py","route_id":"route-575c23ed996d11ae","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_dynamics.ControlledPhysicalInterfaceIonSystem._trace_density_coordinates","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_dynamics.ControlledPhysicalInterfaceIonSystem._trace_density_coordinates","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-f1320045634f47e4","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_dynamics.py","route_id":"route-575c23ed996d11ae","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_dynamics.ControlledPhysicalInterfaceIonSystem._with_step_electrostatics","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_dynamics.ControlledPhysicalInterfaceIonSystem._with_step_electrostatics","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-0ab01d26cdbcca4e","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_dynamics.py","route_id":"route-575c23ed996d11ae","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_dynamics.ControlledPhysicalInterfaceIonSystem.controls","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_dynamics.ControlledPhysicalInterfaceIonSystem.controls","visibility":"public","evidence_level":"source_static"}, +{"id":"python-b21cc7f776e0bca9","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_dynamics.py","route_id":"route-575c23ed996d11ae","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_dynamics.ControlledPhysicalInterfaceIonSystem.eliminated_operator_diagnostics","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_dynamics.ControlledPhysicalInterfaceIonSystem.eliminated_operator_diagnostics","visibility":"public","evidence_level":"source_static"}, +{"id":"python-04ee59bb57ec1efa","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_dynamics.py","route_id":"route-575c23ed996d11ae","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_dynamics.ControlledPhysicalInterfaceIonSystem.failure_evidence","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_dynamics.ControlledPhysicalInterfaceIonSystem.failure_evidence","visibility":"public","evidence_level":"source_static"}, +{"id":"python-ba654f896092d2fe","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_dynamics.py","route_id":"route-575c23ed996d11ae","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_dynamics.ControlledPhysicalInterfaceIonSystem.newton_direction_eligible","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_dynamics.ControlledPhysicalInterfaceIonSystem.newton_direction_eligible","visibility":"public","evidence_level":"source_static"}, +{"id":"python-6eec3018e64bf0ac","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_dynamics.py","route_id":"route-575c23ed996d11ae","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_dynamics.ControlledPhysicalInterfaceIonSystem.newton_direction_rhs","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_dynamics.ControlledPhysicalInterfaceIonSystem.newton_direction_rhs","visibility":"public","evidence_level":"source_static"}, +{"id":"python-3298b53e4f8be260","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_dynamics.py","route_id":"route-575c23ed996d11ae","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_dynamics.ControlledPhysicalInterfaceIonSystem.newton_residual_target","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_dynamics.ControlledPhysicalInterfaceIonSystem.newton_residual_target","visibility":"public","evidence_level":"source_static"}, +{"id":"python-de110cf4b9419dd1","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_dynamics.py","route_id":"route-575c23ed996d11ae","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_dynamics.ControlledPhysicalInterfaceIonSystem.representable_line_search_candidate","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_dynamics.ControlledPhysicalInterfaceIonSystem.representable_line_search_candidate","visibility":"public","evidence_level":"source_static"}, +{"id":"python-cbb48a0af1ff8231","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_dynamics.py","route_id":"route-575c23ed996d11ae","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_dynamics.ControlledPhysicalInterfaceIonSystem.solver_current_metrics","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_dynamics.ControlledPhysicalInterfaceIonSystem.solver_current_metrics","visibility":"public","evidence_level":"source_static"}, +{"id":"python-23dbf029a9c373a1","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_dynamics.py","route_id":"route-575c23ed996d11ae","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_dynamics.R1DynamicsControls","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_dynamics.R1DynamicsControls","visibility":"public","evidence_level":"source_static"}, +{"id":"python-996a49f1c758eec5","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_dynamics.py","route_id":"route-575c23ed996d11ae","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_dynamics.R1DynamicsControls.__post_init__","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_dynamics.R1DynamicsControls.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-b3d157ddf47f1bf9","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_dynamics.py","route_id":"route-575c23ed996d11ae","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_dynamics.R1DynamicsControls.from_label","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_dynamics.R1DynamicsControls.from_label","visibility":"public","evidence_level":"source_static"}, +{"id":"python-77eddf0dda69d72a","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_dynamics.py","route_id":"route-575c23ed996d11ae","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_dynamics.R1DynamicsControls.label","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_dynamics.R1DynamicsControls.label","visibility":"public","evidence_level":"source_static"}, +{"id":"python-60967fdd86117259","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_evidence.py","route_id":"route-a836659cba2bae29","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_evidence._canonical","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_evidence._canonical","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-b7ccdb99ec3c53de","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_evidence.py","route_id":"route-a836659cba2bae29","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_evidence._digest_argument","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_evidence._digest_argument","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-2ddafce0b84b2595","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_evidence.py","route_id":"route-a836659cba2bae29","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_evidence._producer_evidence_revision","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_evidence._producer_evidence_revision","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-6f31b372cb9e4026","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_evidence.py","route_id":"route-a836659cba2bae29","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_evidence._read_json_bytes","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_evidence._read_json_bytes","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-4bb41fd76da08e7c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_evidence.py","route_id":"route-a836659cba2bae29","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_evidence._reject_constant","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_evidence._reject_constant","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-4f997d43446a35cd","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_evidence.py","route_id":"route-a836659cba2bae29","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_evidence._required_bytes","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_evidence._required_bytes","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-b7679cb1627b2e41","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_evidence.py","route_id":"route-a836659cba2bae29","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_evidence._source_anchor","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_evidence._source_anchor","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-238541638cd7c88e","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_evidence.py","route_id":"route-a836659cba2bae29","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_evidence._unique_pairs","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_evidence._unique_pairs","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-61aa5c7398a2693c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_evidence.py","route_id":"route-a836659cba2bae29","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_evidence._verification_anchor","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_evidence._verification_anchor","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-766f7e6314106ae3","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_evidence.py","route_id":"route-a836659cba2bae29","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_evidence._verify_anchored_evidence","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_evidence._verify_anchored_evidence","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-a637c9ddd676b14a","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_evidence.py","route_id":"route-a836659cba2bae29","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_evidence._verify_archived_source_identity","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_evidence._verify_archived_source_identity","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-58e412481d7b7ceb","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_evidence.py","route_id":"route-a836659cba2bae29","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_evidence._verify_controlled_evidence","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_evidence._verify_controlled_evidence","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-7647c5d83d50c2a8","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_evidence.py","route_id":"route-a836659cba2bae29","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_evidence._verify_preparation_chain","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_evidence._verify_preparation_chain","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-da50f69626cd1213","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_evidence.py","route_id":"route-a836659cba2bae29","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_evidence._verify_prepared_record","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_evidence._verify_prepared_record","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-40a041b047b3c629","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_evidence.py","route_id":"route-a836659cba2bae29","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_evidence.evidence_file_scope","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_evidence.evidence_file_scope","visibility":"public","evidence_level":"source_static"}, +{"id":"python-358ca9df4a097cbe","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_evidence.py","route_id":"route-a836659cba2bae29","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_evidence.inspect_legacy_evidence","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_evidence.inspect_legacy_evidence","visibility":"public","evidence_level":"source_static"}, +{"id":"python-cbe97ed4e5bd7a45","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_evidence.py","route_id":"route-a836659cba2bae29","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_evidence.read_json","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_evidence.read_json","visibility":"public","evidence_level":"source_static"}, +{"id":"python-396b5c51e05db007","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_evidence.py","route_id":"route-a836659cba2bae29","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_evidence.sha256","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_evidence.sha256","visibility":"public","evidence_level":"source_static"}, +{"id":"python-6f44ddece5f2e380","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_evidence.py","route_id":"route-a836659cba2bae29","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_evidence.verify_acceptance","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_evidence.verify_acceptance","visibility":"public","evidence_level":"source_static"}, +{"id":"python-4f2be17ca1a0cdf9","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_evidence.py","route_id":"route-a836659cba2bae29","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_evidence.verify_output","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_evidence.verify_output","visibility":"public","evidence_level":"source_static"}, +{"id":"python-9ad96789a14f597c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_evidence.py","route_id":"route-a836659cba2bae29","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_evidence.verify_source_reads","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_evidence.verify_source_reads","visibility":"public","evidence_level":"source_static"}, +{"id":"python-614c7541a0287902","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_execution_validation.py","route_id":"route-256b9374ce35458e","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_execution_validation._same","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_execution_validation._same","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-e457ce1a3ed5a1e9","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_execution_validation.py","route_id":"route-256b9374ce35458e","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_execution_validation.verify_execution_parameters","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_execution_validation.verify_execution_parameters","visibility":"public","evidence_level":"source_static"}, +{"id":"python-26075b4745495e8c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_failure_reconstruction.py","route_id":"route-173ea680ef0651a4","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_failure_reconstruction.rebuild_failure_witness","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_failure_reconstruction.rebuild_failure_witness","visibility":"public","evidence_level":"source_static"}, +{"id":"python-527068383d5671c6","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_failure_registry.py","route_id":"route-a2e0063d98be8d87","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_failure_registry.exact_conditions","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_failure_registry.exact_conditions","visibility":"public","evidence_level":"source_static"}, +{"id":"python-8c12e223c96494c4","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_failure_registry.py","route_id":"route-a2e0063d98be8d87","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_failure_registry.historical_observation","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_failure_registry.historical_observation","visibility":"public","evidence_level":"source_static"}, +{"id":"python-41c87192c6228496","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_failure_registry.py","route_id":"route-a2e0063d98be8d87","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_failure_registry.load_failure_registry","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_failure_registry.load_failure_registry","visibility":"public","evidence_level":"source_static"}, +{"id":"python-856730b995404dde","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_failure_registry.py","route_id":"route-a2e0063d98be8d87","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_failure_registry.merge_failure_registries","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_failure_registry.merge_failure_registries","visibility":"public","evidence_level":"source_static"}, +{"id":"python-33fd231a25923c1f","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_failure_witness.py","route_id":"route-27c91396fc0bdb8a","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_failure_witness._digest","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_failure_witness._digest","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-06faf67bc9da5565","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_failure_witness.py","route_id":"route-27c91396fc0bdb8a","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_failure_witness._row_identity","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_failure_witness._row_identity","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-a1a7e22653b7fdaf","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_failure_witness.py","route_id":"route-27c91396fc0bdb8a","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_failure_witness.build_failure_witness","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_failure_witness.build_failure_witness","visibility":"public","evidence_level":"source_static"}, +{"id":"python-cfbb0aab12c3fd3a","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_failure_witness.py","route_id":"route-27c91396fc0bdb8a","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_failure_witness.newton_witness_available","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_failure_witness.newton_witness_available","visibility":"public","evidence_level":"source_static"}, +{"id":"python-c832a09ad46d75ff","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_failure_witness.py","route_id":"route-27c91396fc0bdb8a","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_failure_witness.verify_failure_witness","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_failure_witness.verify_failure_witness","visibility":"public","evidence_level":"source_static"}, +{"id":"python-e769d5de1cd02df9","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_global_reference.py","route_id":"route-eeccc2e764f79cbb","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_global_reference.GlobalIonReferenceInputs","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_global_reference.GlobalIonReferenceInputs","visibility":"public","evidence_level":"source_static"}, +{"id":"python-21e76a2d55abcf95","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_global_reference.py","route_id":"route-eeccc2e764f79cbb","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_global_reference.GlobalIonReferenceInputs.__post_init__","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_global_reference.GlobalIonReferenceInputs.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-ef5afe3877250ced","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_global_reference.py","route_id":"route-eeccc2e764f79cbb","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_global_reference.GlobalIonReferenceInputs.poisson_inputs","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_global_reference.GlobalIonReferenceInputs.poisson_inputs","visibility":"public","evidence_level":"source_static"}, +{"id":"python-f5c9b32438c35f4f","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_global_reference.py","route_id":"route-eeccc2e764f79cbb","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_global_reference.GlobalIonReferenceInputs.to_dict","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_global_reference.GlobalIonReferenceInputs.to_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-729baf4b06dc1704","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_global_reference.py","route_id":"route-eeccc2e764f79cbb","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_global_reference._array","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_global_reference._array","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-869cbeb800b5f39f","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_global_reference.py","route_id":"route-eeccc2e764f79cbb","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_global_reference._canonical","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_global_reference._canonical","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-179959c2265bc73b","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_global_reference.py","route_id":"route-eeccc2e764f79cbb","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_global_reference._comparison","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_global_reference._comparison","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-2b3689d7a11e4ed8","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_global_reference.py","route_id":"route-eeccc2e764f79cbb","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_global_reference._decode","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_global_reference._decode","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-69905bf7d12e9b8a","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_global_reference.py","route_id":"route-eeccc2e764f79cbb","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_global_reference._full_root_comparison","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_global_reference._full_root_comparison","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-1b2140386ea3f70c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_global_reference.py","route_id":"route-eeccc2e764f79cbb","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_global_reference._independent_sg_fv","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_global_reference._independent_sg_fv","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-53cdba3e5f7677a1","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_global_reference.py","route_id":"route-eeccc2e764f79cbb","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_global_reference._json","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_global_reference._json","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-b9f554ed0fb000be","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_global_reference.py","route_id":"route-eeccc2e764f79cbb","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_global_reference._keys","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_global_reference._keys","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-c6c6f6407e37f57f","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_global_reference.py","route_id":"route-eeccc2e764f79cbb","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_global_reference._legacy_binary64_ion_comparisons","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_global_reference._legacy_binary64_ion_comparisons","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-06f7f273c1a192c6","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_global_reference.py","route_id":"route-eeccc2e764f79cbb","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_global_reference._pair","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_global_reference._pair","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-62bb6ae1d6563fda","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_global_reference.py","route_id":"route-eeccc2e764f79cbb","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_global_reference._put","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_global_reference._put","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-b86a65dc0d2b342b","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_global_reference.py","route_id":"route-eeccc2e764f79cbb","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_global_reference._words","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_global_reference._words","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-254540fb24704427","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_global_reference.py","route_id":"route-eeccc2e764f79cbb","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_global_reference.baseline_eliminated_operator_diagnostics","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_global_reference.baseline_eliminated_operator_diagnostics","visibility":"public","evidence_level":"source_static"}, +{"id":"python-2cd398f9e70c4702","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_global_reference.py","route_id":"route-eeccc2e764f79cbb","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_global_reference.evaluate_independent_ion_transport","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_global_reference.evaluate_independent_ion_transport","visibility":"public","evidence_level":"source_static"}, +{"id":"python-e7a338b447328f51","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_global_reference.py","route_id":"route-eeccc2e764f79cbb","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_global_reference.evaluate_independent_saved_high_ion_transport","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_global_reference.evaluate_independent_saved_high_ion_transport","visibility":"public","evidence_level":"source_static"}, +{"id":"python-8f2fb90edafc03c9","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_global_reference.py","route_id":"route-eeccc2e764f79cbb","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_global_reference.make_global_ion_reference_inputs","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_global_reference.make_global_ion_reference_inputs","visibility":"public","evidence_level":"source_static"}, +{"id":"python-ff6e053d682a2e8b","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_global_reference.py","route_id":"route-eeccc2e764f79cbb","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_global_reference.solve_global_ion_reference","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_global_reference.solve_global_ion_reference","visibility":"public","evidence_level":"source_static"}, +{"id":"python-738ebd68f95460e3","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_history.py","route_id":"route-957776860bca25b0","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_history._digest","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_history._digest","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-f90a2b0d54e3bc30","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_history.py","route_id":"route-957776860bca25b0","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_history.historical_verifier_command","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_history.historical_verifier_command","visibility":"public","evidence_level":"source_static"}, +{"id":"python-46aef304a4bd8518","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_history.py","route_id":"route-957776860bca25b0","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_history.inspect_historical_evidence","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_history.inspect_historical_evidence","visibility":"public","evidence_level":"source_static"}, +{"id":"python-92a4481fa78bdbc0","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_independent_physics.py","route_id":"route-6e34c8d8fbbe3985","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_independent_physics._assessment","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_independent_physics._assessment","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-88d088d1e340f510","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_independent_physics.py","route_id":"route-6e34c8d8fbbe3985","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_independent_physics._currents","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_independent_physics._currents","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-f202af20da8dedea","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_independent_physics.py","route_id":"route-6e34c8d8fbbe3985","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_independent_physics._difference","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_independent_physics._difference","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-a5ecfca40f15eed7","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_independent_physics.py","route_id":"route-6e34c8d8fbbe3985","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_independent_physics._increments","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_independent_physics._increments","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-63081c4d32d5e675","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_independent_physics.py","route_id":"route-6e34c8d8fbbe3985","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_independent_physics._interface_balance","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_independent_physics._interface_balance","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-520fbb75a95da25d","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_independent_physics.py","route_id":"route-6e34c8d8fbbe3985","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_independent_physics._json","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_independent_physics._json","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-d90532815f2303bc","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_independent_physics.py","route_id":"route-6e34c8d8fbbe3985","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_independent_physics._legacy_independent_physics_row","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_independent_physics._legacy_independent_physics_row","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-397e1493976798cd","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_independent_physics.py","route_id":"route-6e34c8d8fbbe3985","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_independent_physics._metric_checks","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_independent_physics._metric_checks","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-d9820672d91cd453","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_independent_physics.py","route_id":"route-6e34c8d8fbbe3985","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_independent_physics._spread","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_independent_physics._spread","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-795e71e3df475dad","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_independent_physics.py","route_id":"route-6e34c8d8fbbe3985","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_independent_physics._uses_stable_baseline_ion_transport","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_independent_physics._uses_stable_baseline_ion_transport","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-69a3452984ed6b92","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_independent_physics.py","route_id":"route-6e34c8d8fbbe3985","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_independent_physics._volumes","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_independent_physics._volumes","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-29c444c751066304","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_independent_physics.py","route_id":"route-6e34c8d8fbbe3985","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_independent_physics.independent_physics_row","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_independent_physics.independent_physics_row","visibility":"public","evidence_level":"source_static"}, +{"id":"python-ce530782aef899d1","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_independent_physics.py","route_id":"route-6e34c8d8fbbe3985","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_independent_physics.shared_constitutive_dependencies","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_independent_physics.shared_constitutive_dependencies","visibility":"public","evidence_level":"source_static"}, +{"id":"python-82575928311f9a2e","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_independent_regular.py","route_id":"route-be90e1983fe18133","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_independent_regular._gauss_derivative","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_independent_regular._gauss_derivative","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-8c3a37e1fc21c624","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_independent_regular.py","route_id":"route-be90e1983fe18133","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_independent_regular._geometry","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_independent_regular._geometry","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-55d8cfbc52cbfe5e","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_independent_regular.py","route_id":"route-be90e1983fe18133","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_independent_regular._rates","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_independent_regular._rates","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-afae186e4815659d","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_independent_regular.py","route_id":"route-be90e1983fe18133","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_independent_regular.effective_regular_limits","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_independent_regular.effective_regular_limits","visibility":"public","evidence_level":"source_static"}, +{"id":"python-8c230e9a6a5164c7","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_independent_regular.py","route_id":"route-be90e1983fe18133","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_independent_regular.independent_regular_current","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_independent_regular.independent_regular_current","visibility":"public","evidence_level":"source_static"}, +{"id":"python-cafb8a01616589c3","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift.py","route_id":"route-ceb58bb22e2c813d","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift.InputLiftState","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift.InputLiftState","visibility":"public","evidence_level":"source_static"}, +{"id":"python-5a51689d01bfcc02","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift.py","route_id":"route-ceb58bb22e2c813d","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift.RebasedInputLiftR1System","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift.RebasedInputLiftR1System","visibility":"public","evidence_level":"source_static"}, +{"id":"python-91c48f247fba84b6","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift.py","route_id":"route-ceb58bb22e2c813d","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift.RebasedInputLiftR1System.__init__","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift.RebasedInputLiftR1System.__init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-96a413e770b86fea","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift.py","route_id":"route-ceb58bb22e2c813d","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift.RebasedInputLiftR1System._carrier_rate_fields","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift.RebasedInputLiftR1System._carrier_rate_fields","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-8806cb5ebcdb1420","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift.py","route_id":"route-ceb58bb22e2c813d","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift.RebasedInputLiftR1System._coordinates","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift.RebasedInputLiftR1System._coordinates","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-8f881c31313b4424","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift.py","route_id":"route-ceb58bb22e2c813d","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift.RebasedInputLiftR1System._currents","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift.RebasedInputLiftR1System._currents","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-434df04c469f993a","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift.py","route_id":"route-ceb58bb22e2c813d","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift.RebasedInputLiftR1System._ion_coordinates","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift.RebasedInputLiftR1System._ion_coordinates","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-3286fcb00bd3897e","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift.py","route_id":"route-ceb58bb22e2c813d","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift.RebasedInputLiftR1System._ion_fields","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift.RebasedInputLiftR1System._ion_fields","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-d677d38c8e1baa54","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift.py","route_id":"route-ceb58bb22e2c813d","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift.RebasedInputLiftR1System._local_carrier_inputs","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift.RebasedInputLiftR1System._local_carrier_inputs","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-35317c20d66de35a","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift.py","route_id":"route-ceb58bb22e2c813d","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift.RebasedInputLiftR1System._refresh_fine_constants","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift.RebasedInputLiftR1System._refresh_fine_constants","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-f188491d00a2b33c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift.py","route_id":"route-ceb58bb22e2c813d","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift.RebasedInputLiftR1System._source","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift.RebasedInputLiftR1System._source","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-4d785d94d2554657","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift.py","route_id":"route-ceb58bb22e2c813d","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift.RebasedInputLiftR1System._trace_capacitances","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift.RebasedInputLiftR1System._trace_capacitances","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-0ec5682cf1402966","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift.py","route_id":"route-ceb58bb22e2c813d","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift.RebasedInputLiftR1System._trace_density_coordinates","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift.RebasedInputLiftR1System._trace_density_coordinates","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-7c38b117a4205d70","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift.py","route_id":"route-ceb58bb22e2c813d","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift.RebasedInputLiftR1System._with_step_electrostatics","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift.RebasedInputLiftR1System._with_step_electrostatics","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-aab4ba640a2c2b62","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift.py","route_id":"route-ceb58bb22e2c813d","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift.RebasedInputLiftR1System.eliminated_operator_diagnostics","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift.RebasedInputLiftR1System.eliminated_operator_diagnostics","visibility":"public","evidence_level":"source_static"}, +{"id":"python-1aebf8017c0eb61e","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift.py","route_id":"route-ceb58bb22e2c813d","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift.RebasedInputLiftR1System.evaluate","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift.RebasedInputLiftR1System.evaluate","visibility":"public","evidence_level":"source_static"}, +{"id":"python-a0107f9da4da049c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift.py","route_id":"route-ceb58bb22e2c813d","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift.RebasedInputLiftR1System.failure_evidence","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift.RebasedInputLiftR1System.failure_evidence","visibility":"public","evidence_level":"source_static"}, +{"id":"python-e7ae91353a2a643e","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift.py","route_id":"route-ceb58bb22e2c813d","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift.RebasedInputLiftR1System.integrated_charge","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift.RebasedInputLiftR1System.integrated_charge","visibility":"public","evidence_level":"source_static"}, +{"id":"python-a01c3ced7d44114d","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift.py","route_id":"route-ceb58bb22e2c813d","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift.RebasedInputLiftR1System.integrated_charge_increment","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift.RebasedInputLiftR1System.integrated_charge_increment","visibility":"public","evidence_level":"source_static"}, +{"id":"python-48d7c8b06df7b7d0","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift.py","route_id":"route-ceb58bb22e2c813d","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift.RebasedInputLiftR1System.interface_current_sides","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift.RebasedInputLiftR1System.interface_current_sides","visibility":"public","evidence_level":"source_static"}, +{"id":"python-7fbc57299c377601","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift.py","route_id":"route-ceb58bb22e2c813d","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift.RebasedInputLiftR1System.potential_increment","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift.RebasedInputLiftR1System.potential_increment","visibility":"public","evidence_level":"source_static"}, +{"id":"python-b92d33ed36867e6e","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift.py","route_id":"route-ceb58bb22e2c813d","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift.RebasedInputLiftR1System.rebase","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift.RebasedInputLiftR1System.rebase","visibility":"public","evidence_level":"source_static"}, +{"id":"python-425fdf45a140cd65","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift.py","route_id":"route-ceb58bb22e2c813d","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift.RebasedInputLiftR1System.residual_and_jacobian","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift.RebasedInputLiftR1System.residual_and_jacobian","visibility":"public","evidence_level":"source_static"}, +{"id":"python-c7c1d0a0f132c6dd","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift.py","route_id":"route-ceb58bb22e2c813d","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift.RebasedInputLiftR1System.solver_current_metrics","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift.RebasedInputLiftR1System.solver_current_metrics","visibility":"public","evidence_level":"source_static"}, +{"id":"python-789e2bae3d878e73","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift.py","route_id":"route-ceb58bb22e2c813d","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift.RebasedInputLiftR1System.storage_increment","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift.RebasedInputLiftR1System.storage_increment","visibility":"public","evidence_level":"source_static"}, +{"id":"python-5e06577c7578f834","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift.py","route_id":"route-ceb58bb22e2c813d","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift.RebasedInputLiftR1System.transient_current_metrics","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift.RebasedInputLiftR1System.transient_current_metrics","visibility":"public","evidence_level":"source_static"}, +{"id":"python-9a8b23ce642cdacc","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift.py","route_id":"route-ceb58bb22e2c813d","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift._accepted_values","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift._accepted_values","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-10c0986c20823158","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift.py","route_id":"route-ceb58bb22e2c813d","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift._assemble_physical_electrostatic_reference","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift._assemble_physical_electrostatic_reference","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-f2f09eae7a031727","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift.py","route_id":"route-ceb58bb22e2c813d","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift._electrostatic_sources","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift._electrostatic_sources","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-fed6fafd7cd92250","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift.py","route_id":"route-ceb58bb22e2c813d","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift._identity","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift._identity","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-b8996ab11ed54e52","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift.py","route_id":"route-ceb58bb22e2c813d","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift._physical_electrostatic_rows","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift._physical_electrostatic_rows","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-28caf78c6ccef783","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift.py","route_id":"route-ceb58bb22e2c813d","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift._recombination","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift._recombination","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-e4ef59079ba53068","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift.py","route_id":"route-ceb58bb22e2c813d","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift._require_supported_model","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift._require_supported_model","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-ba717dff66dc2093","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift.py","route_id":"route-ceb58bb22e2c813d","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift._storage","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift._storage","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-6b94ac7a482257ff","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift.py","route_id":"route-ceb58bb22e2c813d","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift._words","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift._words","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-0f87f07ae7a21fc7","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift.py","route_id":"route-ceb58bb22e2c813d","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift.from_accepted_state","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift.from_accepted_state","visibility":"public","evidence_level":"source_static"}, +{"id":"python-a634f15946b096a4","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift.py","route_id":"route-ceb58bb22e2c813d","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift.from_saved_step","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift.from_saved_step","visibility":"public","evidence_level":"source_static"}, +{"id":"python-3e050ada7c251089","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift.py","route_id":"route-ceb58bb22e2c813d","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift.independent_currents","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift.independent_currents","visibility":"public","evidence_level":"source_static"}, +{"id":"python-27e7a4d19ea19384","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift.py","route_id":"route-ceb58bb22e2c813d","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift.independent_physics_row","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift.independent_physics_row","visibility":"public","evidence_level":"source_static"}, +{"id":"python-fa282418877a8f88","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift.py","route_id":"route-ceb58bb22e2c813d","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift.physical_electrostatic_reference","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift.physical_electrostatic_reference","visibility":"public","evidence_level":"source_static"}, +{"id":"python-7c1ad41758739772","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift.py","route_id":"route-ceb58bb22e2c813d","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift.primary_inputs","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift.primary_inputs","visibility":"public","evidence_level":"source_static"}, +{"id":"python-2e7130e0bfd07f41","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift.py","route_id":"route-ceb58bb22e2c813d","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift.snapshot","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift.snapshot","visibility":"public","evidence_level":"source_static"}, +{"id":"python-90ca836f8e11948f","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift_codec.py","route_id":"route-67f4fa91e8d361c2","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_codec.InputLiftCheckpointError","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_codec.InputLiftCheckpointError","visibility":"public","evidence_level":"source_static"}, +{"id":"python-64260b01e57d6f79","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift_codec.py","route_id":"route-67f4fa91e8d361c2","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_codec._array","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_codec._array","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-fca0051f506e550e","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift_codec.py","route_id":"route-67f4fa91e8d361c2","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_codec._attributes","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_codec._attributes","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-d4d4786e2b9822c5","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift_codec.py","route_id":"route-67f4fa91e8d361c2","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_codec._canonical","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_codec._canonical","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-cbde656690f10421","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift_codec.py","route_id":"route-67f4fa91e8d361c2","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_codec._digest","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_codec._digest","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-b99d4e6940a53342","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift_codec.py","route_id":"route-67f4fa91e8d361c2","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_codec._model_json","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_codec._model_json","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-1f2add5d20cc2b88","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift_codec.py","route_id":"route-67f4fa91e8d361c2","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_codec._number","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_codec._number","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-9f53b139686f53da","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift_codec.py","route_id":"route-67f4fa91e8d361c2","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_codec._physical_model","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_codec._physical_model","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-cde886556a579f3a","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift_codec.py","route_id":"route-67f4fa91e8d361c2","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_codec._populate_template","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_codec._populate_template","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-815a14947855de1c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift_codec.py","route_id":"route-67f4fa91e8d361c2","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_codec._restore","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_codec._restore","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-8d6a068c701e9181","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift_codec.py","route_id":"route-67f4fa91e8d361c2","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_codec._same_words","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_codec._same_words","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-27f56b8a452bd9d8","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift_codec.py","route_id":"route-67f4fa91e8d361c2","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_codec._shapes","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_codec._shapes","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-91f2d70095fea003","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift_codec.py","route_id":"route-67f4fa91e8d361c2","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_codec._validate_snapshot","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_codec._validate_snapshot","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-dcc15dd03e8dfeb6","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift_codec.py","route_id":"route-67f4fa91e8d361c2","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_codec.import_snapshot","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_codec.import_snapshot","visibility":"public","evidence_level":"source_static"}, +{"id":"python-63f000e7345bc6a4","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift_codec.py","route_id":"route-67f4fa91e8d361c2","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_codec.replay_saved_step","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_codec.replay_saved_step","visibility":"public","evidence_level":"source_static"}, +{"id":"python-0661ff82e5ee3b3a","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift_codec.py","route_id":"route-67f4fa91e8d361c2","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_codec.restore_checkpoint","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_codec.restore_checkpoint","visibility":"public","evidence_level":"source_static"}, +{"id":"python-e97255aafefd9c98","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift_codec.py","route_id":"route-67f4fa91e8d361c2","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_codec.save_checkpoint","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_codec.save_checkpoint","visibility":"public","evidence_level":"source_static"}, +{"id":"python-7d4c6fe7ae3435a8","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift_continuous.py","route_id":"route-94c08e51c92c8c08","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_continuous.StepResult","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_continuous.StepResult","visibility":"public","evidence_level":"source_static"}, +{"id":"python-d9507262f38ba0ff","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift_continuous.py","route_id":"route-94c08e51c92c8c08","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_continuous.advance_step","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_continuous.advance_step","visibility":"public","evidence_level":"source_static"}, +{"id":"python-3c2ce354867a6928","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift_continuous.py","route_id":"route-94c08e51c92c8c08","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_continuous.advance_steps","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_continuous.advance_steps","visibility":"public","evidence_level":"source_static"}, +{"id":"python-a1dd63f5b3c5b527","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift_continuous.py","route_id":"route-94c08e51c92c8c08","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_continuous.assess_step","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_continuous.assess_step","visibility":"public","evidence_level":"source_static"}, +{"id":"python-40b454dcb231730c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift_continuous.py","route_id":"route-94c08e51c92c8c08","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_continuous.validate_schedule","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_continuous.validate_schedule","visibility":"public","evidence_level":"source_static"}, +{"id":"python-ef9dce769b921679","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift_reference.py","route_id":"route-7e98c4ac49886b90","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_reference.RebasedIonReferenceInputs","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_reference.RebasedIonReferenceInputs","visibility":"public","evidence_level":"source_static"}, +{"id":"python-7becca3c3ca4031e","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift_reference.py","route_id":"route-7e98c4ac49886b90","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_reference.RebasedIonReferenceInputs.__post_init__","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_reference.RebasedIonReferenceInputs.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-a750f2e452ff1198","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift_reference.py","route_id":"route-7e98c4ac49886b90","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_reference.RebasedIonReferenceInputs.to_dict","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_reference.RebasedIonReferenceInputs.to_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-046b84fcf437ccd3","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift_reference.py","route_id":"route-7e98c4ac49886b90","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_reference._array","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_reference._array","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-7bfc642437e3c2d0","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift_reference.py","route_id":"route-7e98c4ac49886b90","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_reference._canonical","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_reference._canonical","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-21256411c761fb16","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift_reference.py","route_id":"route-7e98c4ac49886b90","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_reference._decode","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_reference._decode","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-4c75856611f2fa2a","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift_reference.py","route_id":"route-7e98c4ac49886b90","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_reference._digest","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_reference._digest","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-251c8d93dec3cecc","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift_reference.py","route_id":"route-7e98c4ac49886b90","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_reference._ion_flux","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_reference._ion_flux","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-5bcc0409f02578e2","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift_reference.py","route_id":"route-7e98c4ac49886b90","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_reference._json","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_reference._json","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-2d9c59310b2abba3","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift_reference.py","route_id":"route-7e98c4ac49886b90","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_reference._keys","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_reference._keys","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-3dc454a5029a6d8a","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift_reference.py","route_id":"route-7e98c4ac49886b90","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_reference._pair","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_reference._pair","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-4ff551439054cbc4","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift_reference.py","route_id":"route-7e98c4ac49886b90","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_reference._positive","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_reference._positive","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-c792aa3ca47e693e","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift_reference.py","route_id":"route-7e98c4ac49886b90","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_reference._put","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_reference._put","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-6c5d72b4c73d282e","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift_reference.py","route_id":"route-7e98c4ac49886b90","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_reference._words","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_reference._words","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-1110d2e8d48239d1","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift_reference.py","route_id":"route-7e98c4ac49886b90","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_reference.make_inputs","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_reference.make_inputs","visibility":"public","evidence_level":"source_static"}, +{"id":"python-58da29870afc5e4d","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift_reference.py","route_id":"route-7e98c4ac49886b90","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_reference.solve_rebased_ion_reference","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_reference.solve_rebased_ion_reference","visibility":"public","evidence_level":"source_static"}, +{"id":"python-8a08aed1e68447f9","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_local_carrier.py","route_id":"route-fe7edc51ffa8a34f","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_local_carrier.LocalCarrierEvaluation","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_local_carrier.LocalCarrierEvaluation","visibility":"public","evidence_level":"source_static"}, +{"id":"python-75666859187ed1d6","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_local_carrier.py","route_id":"route-fe7edc51ffa8a34f","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_local_carrier.LocalCarrierEvaluation.__deepcopy__","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_local_carrier.LocalCarrierEvaluation.__deepcopy__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-0236506f01c6e5c7","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_local_carrier.py","route_id":"route-fe7edc51ffa8a34f","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_local_carrier.LocalCarrierEvaluation.as_evaluation","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_local_carrier.LocalCarrierEvaluation.as_evaluation","visibility":"public","evidence_level":"source_static"}, +{"id":"python-1a2afb82a160c14d","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_local_carrier.py","route_id":"route-fe7edc51ffa8a34f","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_local_carrier.LocalCarrierEvaluation.production_tangent","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_local_carrier.LocalCarrierEvaluation.production_tangent","visibility":"public","evidence_level":"source_static"}, +{"id":"python-a37abdbfe4f5d603","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_local_carrier.py","route_id":"route-fe7edc51ffa8a34f","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_local_carrier.LocalCarrierInputs","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_local_carrier.LocalCarrierInputs","visibility":"public","evidence_level":"source_static"}, +{"id":"python-9aed8a60c4112af5","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_local_carrier.py","route_id":"route-fe7edc51ffa8a34f","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_local_carrier.LocalCarrierInputs.__deepcopy__","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_local_carrier.LocalCarrierInputs.__deepcopy__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-de0cac256cf81bd5","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_local_carrier.py","route_id":"route-fe7edc51ffa8a34f","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_local_carrier.LocalCarrierInputs.__post_init__","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_local_carrier.LocalCarrierInputs.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-f25a78a13775b0a3","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_local_carrier.py","route_id":"route-fe7edc51ffa8a34f","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_local_carrier._StableInterfaceQSS","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_local_carrier._StableInterfaceQSS","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-91ddb1500e3c84ea","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_local_carrier.py","route_id":"route-fe7edc51ffa8a34f","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_local_carrier._StableLocalState","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_local_carrier._StableLocalState","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-996f1f9f1b20ea9c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_local_carrier.py","route_id":"route-fe7edc51ffa8a34f","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_local_carrier._cat","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_local_carrier._cat","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-9408cafa49866cc5","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_local_carrier.py","route_id":"route-fe7edc51ffa8a34f","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_local_carrier._coefficients","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_local_carrier._coefficients","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-accd8479f937a0b6","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_local_carrier.py","route_id":"route-fe7edc51ffa8a34f","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_local_carrier._csr","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_local_carrier._csr","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-4eb354e7fbe79cc0","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_local_carrier.py","route_id":"route-fe7edc51ffa8a34f","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_local_carrier._divergence","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_local_carrier._divergence","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-2de3475f466308bd","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_local_carrier.py","route_id":"route-fe7edc51ffa8a34f","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_local_carrier._global_chain","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_local_carrier._global_chain","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-8bb61a1c36177957","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_local_carrier.py","route_id":"route-fe7edc51ffa8a34f","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_local_carrier._put","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_local_carrier._put","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-2358862e7a553c78","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_local_carrier.py","route_id":"route-fe7edc51ffa8a34f","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_local_carrier.assemble_r1_carrier_source","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_local_carrier.assemble_r1_carrier_source","visibility":"public","evidence_level":"source_static"}, +{"id":"python-3fdc811a453b512b","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_local_carrier.py","route_id":"route-fe7edc51ffa8a34f","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_local_carrier.build_r1_local_states","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_local_carrier.build_r1_local_states","visibility":"public","evidence_level":"source_static"}, +{"id":"python-2fac43c697bd6efe","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_local_carrier.py","route_id":"route-fe7edc51ffa8a34f","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_local_carrier.carrier_data","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_local_carrier.carrier_data","visibility":"public","evidence_level":"source_static"}, +{"id":"python-9889cb57fa136041","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_local_carrier.py","route_id":"route-fe7edc51ffa8a34f","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_local_carrier.evaluate_interface_from_fine","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_local_carrier.evaluate_interface_from_fine","visibility":"public","evidence_level":"source_static"}, +{"id":"python-3b3634a04031dc34","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_local_carrier.py","route_id":"route-fe7edc51ffa8a34f","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_local_carrier.evaluate_local_carrier_inputs","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_local_carrier.evaluate_local_carrier_inputs","visibility":"public","evidence_level":"source_static"}, +{"id":"python-5ae17106f36b98e6","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_local_carrier.py","route_id":"route-fe7edc51ffa8a34f","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_local_carrier.fine_local_carrier_inputs","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_local_carrier.fine_local_carrier_inputs","visibility":"public","evidence_level":"source_static"}, +{"id":"python-02c7bd699ffa071c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_local_carrier.py","route_id":"route-fe7edc51ffa8a34f","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_local_carrier.float_local_carrier_inputs","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_local_carrier.float_local_carrier_inputs","visibility":"public","evidence_level":"source_static"}, +{"id":"python-c9ed4092bf0f835e","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_local_carrier.py","route_id":"route-fe7edc51ffa8a34f","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_local_carrier.independent_interface_evaluation","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_local_carrier.independent_interface_evaluation","visibility":"public","evidence_level":"source_static"}, +{"id":"python-d1f46f79dc052fda","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_local_carrier.py","route_id":"route-fe7edc51ffa8a34f","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_local_carrier.interface_carrier_conduction_pair","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_local_carrier.interface_carrier_conduction_pair","visibility":"public","evidence_level":"source_static"}, +{"id":"python-2597d8a789668b7f","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_local_carrier.py","route_id":"route-fe7edc51ffa8a34f","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_local_carrier.r1_carrier_rate_fields","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_local_carrier.r1_carrier_rate_fields","visibility":"public","evidence_level":"source_static"}, +{"id":"python-4095dd786881eab3","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_local_carrier.py","route_id":"route-fe7edc51ffa8a34f","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_local_carrier.r1_local_carrier_jacobians","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_local_carrier.r1_local_carrier_jacobians","visibility":"public","evidence_level":"source_static"}, +{"id":"python-8b99f7b29bd00b9c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_local_carrier.py","route_id":"route-fe7edc51ffa8a34f","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_local_carrier.r1_reported_interface_currents","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_local_carrier.r1_reported_interface_currents","visibility":"public","evidence_level":"source_static"}, +{"id":"python-047cc35dad56b20f","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_local_carrier.py","route_id":"route-fe7edc51ffa8a34f","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_local_carrier.without_local_exchange","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_local_carrier.without_local_exchange","visibility":"public","evidence_level":"source_static"}, +{"id":"python-cbc108ce31667257","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_pair_codec.py","route_id":"route-883887b3dfdfe620","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_pair_codec.R1CommonStatePairV2","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_pair_codec.R1CommonStatePairV2","visibility":"public","evidence_level":"source_static"}, +{"id":"python-27cf0bc2dd95ac67","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_pair_codec.py","route_id":"route-883887b3dfdfe620","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_pair_codec.R1CommonStatePairV2.__post_init__","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_pair_codec.R1CommonStatePairV2.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-e2cf7deb1b90f414","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_pair_codec.py","route_id":"route-883887b3dfdfe620","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_pair_codec._checks","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_pair_codec._checks","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-eb0ba630463b2b25","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_pair_codec.py","route_id":"route-883887b3dfdfe620","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_pair_codec._collect_numeric_arrays","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_pair_codec._collect_numeric_arrays","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-93d782daf2ba839b","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_pair_codec.py","route_id":"route-883887b3dfdfe620","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_pair_codec._fine","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_pair_codec._fine","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-c7955d7198efcfdc","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_pair_codec.py","route_id":"route-883887b3dfdfe620","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_pair_codec._stack","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_pair_codec._stack","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-92e27ddc8cc9b6e5","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_pair_codec.py","route_id":"route-883887b3dfdfe620","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_pair_codec._stack_arrays","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_pair_codec._stack_arrays","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-1b1fc34a843803cf","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_pair_codec.py","route_id":"route-883887b3dfdfe620","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_pair_codec._structural_record","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_pair_codec._structural_record","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-36f976078081a0c6","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_pair_codec.py","route_id":"route-883887b3dfdfe620","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_pair_codec._validated_snapshot_arrays","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_pair_codec._validated_snapshot_arrays","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-7149d4ece25c8407","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_pair_codec.py","route_id":"route-883887b3dfdfe620","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_pair_codec.contains_nonfinite_tags","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_pair_codec.contains_nonfinite_tags","visibility":"public","evidence_level":"source_static"}, +{"id":"python-a291cd1daf3e1016","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_pair_codec.py","route_id":"route-883887b3dfdfe620","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_pair_codec.decode_prepared","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_pair_codec.decode_prepared","visibility":"public","evidence_level":"source_static"}, +{"id":"python-2083303e18dc2903","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_pair_codec.py","route_id":"route-883887b3dfdfe620","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_pair_codec.finalize_record","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_pair_codec.finalize_record","visibility":"public","evidence_level":"source_static"}, +{"id":"python-fc9666d7d997a4b2","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_pair_codec.py","route_id":"route-883887b3dfdfe620","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_pair_codec.numeric_arrays","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_pair_codec.numeric_arrays","visibility":"public","evidence_level":"source_static"}, +{"id":"python-48c9db09b1991408","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_pair_codec.py","route_id":"route-883887b3dfdfe620","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_pair_codec.prepare_pair_state","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_pair_codec.prepare_pair_state","visibility":"public","evidence_level":"source_static"}, +{"id":"python-591e878d5c129878","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_pair_codec.py","route_id":"route-883887b3dfdfe620","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_pair_codec.state_sidecar_payload","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_pair_codec.state_sidecar_payload","visibility":"public","evidence_level":"source_static"}, +{"id":"python-fdc72c37a1769000","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_pair_codec.py","route_id":"route-883887b3dfdfe620","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_pair_codec.validate_snapshot","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_pair_codec.validate_snapshot","visibility":"public","evidence_level":"source_static"}, +{"id":"python-4876067e104d6b97","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_pair_codec.py","route_id":"route-883887b3dfdfe620","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_pair_codec.verification_contract","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_pair_codec.verification_contract","visibility":"public","evidence_level":"source_static"}, +{"id":"python-54329da67c73a44c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_pair_codec.py","route_id":"route-883887b3dfdfe620","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_pair_codec.verify_failed_numeric_sidecar","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_pair_codec.verify_failed_numeric_sidecar","visibility":"public","evidence_level":"source_static"}, +{"id":"python-100468e95c73e1d6","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_pair_codec.py","route_id":"route-883887b3dfdfe620","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_pair_codec.verify_numeric_sidecar","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_pair_codec.verify_numeric_sidecar","visibility":"public","evidence_level":"source_static"}, +{"id":"python-26e0130e67099bb9","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_pair_codec.py","route_id":"route-883887b3dfdfe620","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_pair_codec.verify_pair_state","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_pair_codec.verify_pair_state","visibility":"public","evidence_level":"source_static"}, +{"id":"python-871a71da24bd6ba4","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_pair_codec.py","route_id":"route-883887b3dfdfe620","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_pair_codec.write_numeric_sidecar","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_pair_codec.write_numeric_sidecar","visibility":"public","evidence_level":"source_static"}, +{"id":"python-4bae76d4aee8893a","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_pair_response.py","route_id":"route-5b3fb4c2e7faa4fd","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_pair_response.dc_precision_evidence","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_pair_response.dc_precision_evidence","visibility":"public","evidence_level":"source_static"}, +{"id":"python-db27471d94dd58af","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_pair_response.py","route_id":"route-5b3fb4c2e7faa4fd","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_pair_response.dynamic_rate","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_pair_response.dynamic_rate","visibility":"public","evidence_level":"source_static"}, +{"id":"python-6f299762b91445f0","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_pair_response.py","route_id":"route-5b3fb4c2e7faa4fd","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_pair_response.equation_vector","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_pair_response.equation_vector","visibility":"public","evidence_level":"source_static"}, +{"id":"python-0374689abc39d242","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_pair_response.py","route_id":"route-5b3fb4c2e7faa4fd","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_pair_response.inventory_rows","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_pair_response.inventory_rows","visibility":"public","evidence_level":"source_static"}, +{"id":"python-a38f8f1b52bc41e6","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_pair_response.py","route_id":"route-5b3fb4c2e7faa4fd","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_pair_response.numerical_contract","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_pair_response.numerical_contract","visibility":"public","evidence_level":"source_static"}, +{"id":"python-02989a837bd2d7e9","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_pair_response.py","route_id":"route-5b3fb4c2e7faa4fd","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_pair_response.observations","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_pair_response.observations","visibility":"public","evidence_level":"source_static"}, +{"id":"python-67f5f60b985706e8","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_pair_response.py","route_id":"route-5b3fb4c2e7faa4fd","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_pair_response.require_state","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_pair_response.require_state","visibility":"public","evidence_level":"source_static"}, +{"id":"python-f0ac7e71868be43b","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_pair_response.py","route_id":"route-5b3fb4c2e7faa4fd","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_pair_response.stamp","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_pair_response.stamp","visibility":"public","evidence_level":"source_static"}, +{"id":"python-9cae2d305f113e9f","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_pair_response.py","route_id":"route-5b3fb4c2e7faa4fd","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_pair_response.state_difference","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_pair_response.state_difference","visibility":"public","evidence_level":"source_static"}, +{"id":"python-27f54a8373837de7","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_pair_response.py","route_id":"route-5b3fb4c2e7faa4fd","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_pair_response.tail_arrays","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_pair_response.tail_arrays","visibility":"public","evidence_level":"source_static"}, +{"id":"python-5da47242953a2f82","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_pair_response.py","route_id":"route-5b3fb4c2e7faa4fd","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_pair_response.terminal_current","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_pair_response.terminal_current","visibility":"public","evidence_level":"source_static"}, +{"id":"python-ca9e7b61f51f3a6b","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_pair_response.py","route_id":"route-5b3fb4c2e7faa4fd","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_pair_response.validate_schema","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_pair_response.validate_schema","visibility":"public","evidence_level":"source_static"}, +{"id":"python-4801be49263c8e7d","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_pair_spatial.py","route_id":"route-b7d154025070f63e","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_pair_spatial.PairIonProfile","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_pair_spatial.PairIonProfile","visibility":"public","evidence_level":"source_static"}, +{"id":"python-c7383404a71427bb","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_pair_spatial.py","route_id":"route-b7d154025070f63e","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_pair_spatial.PairIonProfile.__init__","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_pair_spatial.PairIonProfile.__init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-2f8874d31c3c6583","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_pair_spatial.py","route_id":"route-b7d154025070f63e","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_pair_spatial.PairIonProfile.moments","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_pair_spatial.PairIonProfile.moments","visibility":"public","evidence_level":"source_static"}, +{"id":"python-90310fd22df40a7f","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_pair_spatial.py","route_id":"route-b7d154025070f63e","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_pair_spatial.PairIonProfile.sample","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_pair_spatial.PairIonProfile.sample","visibility":"public","evidence_level":"source_static"}, +{"id":"python-0a4678479aa447cb","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_pair_spatial.py","route_id":"route-b7d154025070f63e","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_pair_spatial._geometry","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_pair_spatial._geometry","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-fa754a421f91c8f7","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_pair_spatial.py","route_id":"route-b7d154025070f63e","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_pair_spatial.centroids_from_profile","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_pair_spatial.centroids_from_profile","visibility":"public","evidence_level":"source_static"}, +{"id":"python-93e7f4a6bddd49cf","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_pair_spatial.py","route_id":"route-b7d154025070f63e","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_pair_spatial.concatenate","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_pair_spatial.concatenate","visibility":"public","evidence_level":"source_static"}, +{"id":"python-f0188265ed3f89f9","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_pair_spatial.py","route_id":"route-b7d154025070f63e","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_pair_spatial.conservative_centroids","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_pair_spatial.conservative_centroids","visibility":"public","evidence_level":"source_static"}, +{"id":"python-765f2db6ac4f3279","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_pair_spatial.py","route_id":"route-b7d154025070f63e","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_pair_spatial.field","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_pair_spatial.field","visibility":"public","evidence_level":"source_static"}, +{"id":"python-22f8df581316f7a1","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_pair_spatial.py","route_id":"route-b7d154025070f63e","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_pair_spatial.sample_pair_state","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_pair_spatial.sample_pair_state","visibility":"public","evidence_level":"source_static"}, +{"id":"python-08f09c39c09999d5","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_pair_spatial.py","route_id":"route-b7d154025070f63e","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_pair_spatial.sample_sg_pair","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_pair_spatial.sample_sg_pair","visibility":"public","evidence_level":"source_static"}, +{"id":"python-69bb889a7138ce90","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_pair_spatial.py","route_id":"route-b7d154025070f63e","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_pair_spatial.spatial_responses","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_pair_spatial.spatial_responses","visibility":"public","evidence_level":"source_static"}, +{"id":"python-61e0f8ff1cdd5fd2","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_pair_spatial.py","route_id":"route-b7d154025070f63e","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_pair_spatial.stack","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_pair_spatial.stack","visibility":"public","evidence_level":"source_static"}, +{"id":"python-f956daf25e1b96b1","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_physics_validation.py","route_id":"route-2c7423ecd5b7cfb3","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_physics_validation.R1PhysicsValidationError","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_physics_validation.R1PhysicsValidationError","visibility":"public","evidence_level":"source_static"}, +{"id":"python-53e1354ef7204f3b","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_physics_validation.py","route_id":"route-2c7423ecd5b7cfb3","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_physics_validation.R1PhysicsValidationError.__init__","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_physics_validation.R1PhysicsValidationError.__init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-be89e552c1da47ba","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_physics_validation.py","route_id":"route-2c7423ecd5b7cfb3","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_physics_validation._level","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_physics_validation._level","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-4ffa4798ebffa090","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_physics_validation.py","route_id":"route-2c7423ecd5b7cfb3","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_physics_validation._physical","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_physics_validation._physical","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-38bbb9378e5f426e","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_physics_validation.py","route_id":"route-2c7423ecd5b7cfb3","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_physics_validation._replay_rows_digest","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_physics_validation._replay_rows_digest","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-3f4ccda8dcd2a56e","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_physics_validation.py","route_id":"route-2c7423ecd5b7cfb3","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_physics_validation._same","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_physics_validation._same","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-ab8f02ec45de0458","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_physics_validation.py","route_id":"route-2c7423ecd5b7cfb3","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_physics_validation._same_accepted_state_arrays","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_physics_validation._same_accepted_state_arrays","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-be3861909d8c3d85","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_physics_validation.py","route_id":"route-2c7423ecd5b7cfb3","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_physics_validation.capture_r1_physics_row","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_physics_validation.capture_r1_physics_row","visibility":"public","evidence_level":"source_static"}, +{"id":"python-e3f8f92c080c488f","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_physics_validation.py","route_id":"route-2c7423ecd5b7cfb3","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_physics_validation.reconstruction_context","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_physics_validation.reconstruction_context","visibility":"public","evidence_level":"source_static"}, +{"id":"python-e89de7b10b2821c1","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_physics_validation.py","route_id":"route-2c7423ecd5b7cfb3","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_physics_validation.verify_r1_step_physics","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_physics_validation.verify_r1_step_physics","visibility":"public","evidence_level":"source_static"}, +{"id":"python-8b3a9b8f7e2460ec","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_precision.py","route_id":"route-f05686ba301ff5b5","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.CompensatedR1System","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.CompensatedR1System","visibility":"public","evidence_level":"source_static"}, +{"id":"python-f488e04043ddf83a","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_precision.py","route_id":"route-f05686ba301ff5b5","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.CompensatedR1System.__init__","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.CompensatedR1System.__init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-0cf0e6b7ce25f07e","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_precision.py","route_id":"route-f05686ba301ff5b5","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.CompensatedR1System._bulk_density_coordinates","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.CompensatedR1System._bulk_density_coordinates","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-721d01262c1060fc","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_precision.py","route_id":"route-f05686ba301ff5b5","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.CompensatedR1System._coordinates","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.CompensatedR1System._coordinates","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-575d05e0b0de7d52","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_precision.py","route_id":"route-f05686ba301ff5b5","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.CompensatedR1System._currents","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.CompensatedR1System._currents","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-4a27decdab52eccc","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_precision.py","route_id":"route-f05686ba301ff5b5","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.CompensatedR1System._eliminated_flux_potential","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.CompensatedR1System._eliminated_flux_potential","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-fbaa3defa68d1fe7","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_precision.py","route_id":"route-f05686ba301ff5b5","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.CompensatedR1System._independent_eliminated_phi","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.CompensatedR1System._independent_eliminated_phi","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-194e5ae35a1392f1","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_precision.py","route_id":"route-f05686ba301ff5b5","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.CompensatedR1System._independent_eliminated_state","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.CompensatedR1System._independent_eliminated_state","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-ea708e8502100caf","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_precision.py","route_id":"route-f05686ba301ff5b5","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.CompensatedR1System._ion_boundary_flux","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.CompensatedR1System._ion_boundary_flux","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-3ee2ee6693cbd417","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_precision.py","route_id":"route-f05686ba301ff5b5","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.CompensatedR1System._ion_coordinates","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.CompensatedR1System._ion_coordinates","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-66d0cd176c389bbc","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_precision.py","route_id":"route-f05686ba301ff5b5","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.CompensatedR1System._ion_fields","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.CompensatedR1System._ion_fields","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-1bf7786db8b50b40","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_precision.py","route_id":"route-f05686ba301ff5b5","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.CompensatedR1System._ion_jacobians","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.CompensatedR1System._ion_jacobians","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-a42e02b18713a67e","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_precision.py","route_id":"route-f05686ba301ff5b5","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.CompensatedR1System._local_carrier_inputs","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.CompensatedR1System._local_carrier_inputs","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-debabf5e9b9f3853","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_precision.py","route_id":"route-f05686ba301ff5b5","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.CompensatedR1System._newton_electrostatic_residuals","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.CompensatedR1System._newton_electrostatic_residuals","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-9d26fab2b5636f8d","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_precision.py","route_id":"route-f05686ba301ff5b5","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.CompensatedR1System._poisson_pair","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.CompensatedR1System._poisson_pair","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-39f73434aec3d3a5","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_precision.py","route_id":"route-f05686ba301ff5b5","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.CompensatedR1System._refresh_fine_constants","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.CompensatedR1System._refresh_fine_constants","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-7f191e741677117c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_precision.py","route_id":"route-f05686ba301ff5b5","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.CompensatedR1System._trace_density_coordinates","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.CompensatedR1System._trace_density_coordinates","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-bc5d6f9e98166aba","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_precision.py","route_id":"route-f05686ba301ff5b5","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.CompensatedR1System._with_step_electrostatics","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.CompensatedR1System._with_step_electrostatics","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-4fce5f753419cc9b","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_precision.py","route_id":"route-f05686ba301ff5b5","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.CompensatedR1System.eliminated_operator_diagnostics","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.CompensatedR1System.eliminated_operator_diagnostics","visibility":"public","evidence_level":"source_static"}, +{"id":"python-22edea8eaa7583de","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_precision.py","route_id":"route-f05686ba301ff5b5","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.CompensatedR1System.enable_reference_quantization","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.CompensatedR1System.enable_reference_quantization","visibility":"public","evidence_level":"source_static"}, +{"id":"python-86c895c1af6646ac","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_precision.py","route_id":"route-f05686ba301ff5b5","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.CompensatedR1System.from_baseline","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.CompensatedR1System.from_baseline","visibility":"public","evidence_level":"source_static"}, +{"id":"python-c68b32819e26ebfd","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_precision.py","route_id":"route-f05686ba301ff5b5","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.CompensatedR1System.independent_poisson_inputs","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.CompensatedR1System.independent_poisson_inputs","visibility":"public","evidence_level":"source_static"}, +{"id":"python-46b7aa888075e977","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_precision.py","route_id":"route-f05686ba301ff5b5","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.CompensatedR1System.integrated_charge","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.CompensatedR1System.integrated_charge","visibility":"public","evidence_level":"source_static"}, +{"id":"python-842137cefa2c025f","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_precision.py","route_id":"route-f05686ba301ff5b5","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.CompensatedR1System.integrated_charge_increment","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.CompensatedR1System.integrated_charge_increment","visibility":"public","evidence_level":"source_static"}, +{"id":"python-63d677016cade54a","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_precision.py","route_id":"route-f05686ba301ff5b5","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.CompensatedR1System.interface_current_sides","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.CompensatedR1System.interface_current_sides","visibility":"public","evidence_level":"source_static"}, +{"id":"python-9842001ec5548da3","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_precision.py","route_id":"route-f05686ba301ff5b5","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.CompensatedR1System.newton_direction_rhs","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.CompensatedR1System.newton_direction_rhs","visibility":"public","evidence_level":"source_static"}, +{"id":"python-82207014a58d581c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_precision.py","route_id":"route-f05686ba301ff5b5","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.CompensatedR1System.newton_residual_target","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.CompensatedR1System.newton_residual_target","visibility":"public","evidence_level":"source_static"}, +{"id":"python-4dbebf41103e0c76","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_precision.py","route_id":"route-f05686ba301ff5b5","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.CompensatedR1System.potential_increment","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.CompensatedR1System.potential_increment","visibility":"public","evidence_level":"source_static"}, +{"id":"python-78576c32b2ef9f9a","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_precision.py","route_id":"route-f05686ba301ff5b5","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.CompensatedR1System.precision_arithmetic_context","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.CompensatedR1System.precision_arithmetic_context","visibility":"public","evidence_level":"source_static"}, +{"id":"python-f9ae410702b39b0c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_precision.py","route_id":"route-f05686ba301ff5b5","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.CompensatedR1System.rebase","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.CompensatedR1System.rebase","visibility":"public","evidence_level":"source_static"}, +{"id":"python-2ab303acca59ed67","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_precision.py","route_id":"route-f05686ba301ff5b5","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.CompensatedR1System.set_voltage_lift","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.CompensatedR1System.set_voltage_lift","visibility":"public","evidence_level":"source_static"}, +{"id":"python-7db1144fc264641a","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_precision.py","route_id":"route-f05686ba301ff5b5","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.CompensatedR1System.solver_current_metrics","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.CompensatedR1System.solver_current_metrics","visibility":"public","evidence_level":"source_static"}, +{"id":"python-bac2b946626fda0a","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_precision.py","route_id":"route-f05686ba301ff5b5","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.CompensatedR1System.storage_increment","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.CompensatedR1System.storage_increment","visibility":"public","evidence_level":"source_static"}, +{"id":"python-847f3fcb883e6990","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_precision.py","route_id":"route-f05686ba301ff5b5","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.CompensatedR1System.transient_current_metrics","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.CompensatedR1System.transient_current_metrics","visibility":"public","evidence_level":"source_static"}, +{"id":"python-d82a83079769ce31","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_precision.py","route_id":"route-f05686ba301ff5b5","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.EliminatedDiagnostics","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.EliminatedDiagnostics","visibility":"public","evidence_level":"source_static"}, +{"id":"python-356cc54eb5ef8219","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_precision.py","route_id":"route-f05686ba301ff5b5","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.EliminatedDiagnostics.__init__","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.EliminatedDiagnostics.__init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-7af1fa7e09a08edb","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_precision.py","route_id":"route-f05686ba301ff5b5","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.IndependentPoissonInputs","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.IndependentPoissonInputs","visibility":"public","evidence_level":"source_static"}, +{"id":"python-6f9c9eff4622cffa","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_precision.py","route_id":"route-f05686ba301ff5b5","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.IndependentPoissonInputs.__post_init__","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.IndependentPoissonInputs.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-3e3d6f233d9e9d28","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_precision.py","route_id":"route-f05686ba301ff5b5","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.IndependentPoissonInputs.to_dict","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.IndependentPoissonInputs.to_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-7fb2c46374701100","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_precision.py","route_id":"route-f05686ba301ff5b5","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.PrecisionState","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.PrecisionState","visibility":"public","evidence_level":"source_static"}, +{"id":"python-dd3981321ac06d28","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_precision.py","route_id":"route-f05686ba301ff5b5","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_precision._choose_pair","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_precision._choose_pair","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-d7f6af6c03014511","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_precision.py","route_id":"route-f05686ba301ff5b5","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_precision._ion_terms","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_precision._ion_terms","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-36595dbe42ae12cd","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_precision.py","route_id":"route-f05686ba301ff5b5","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_precision._precision_solve_step","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_precision._precision_solve_step","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-7aa635694d28a7d2","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_precision.py","route_id":"route-f05686ba301ff5b5","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.bernoulli_derivative_pair","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.bernoulli_derivative_pair","visibility":"public","evidence_level":"source_static"}, +{"id":"python-d954b970007fb209","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_precision.py","route_id":"route-f05686ba301ff5b5","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.bernoulli_derivative_signed_pair","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.bernoulli_derivative_signed_pair","visibility":"public","evidence_level":"source_static"}, +{"id":"python-2c9cb6499b8fb765","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_precision.py","route_id":"route-f05686ba301ff5b5","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.bernoulli_pair","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.bernoulli_pair","visibility":"public","evidence_level":"source_static"}, +{"id":"python-52e14aa82c737d28","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_precision.py","route_id":"route-f05686ba301ff5b5","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.bernoulli_signed_pair","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.bernoulli_signed_pair","visibility":"public","evidence_level":"source_static"}, +{"id":"python-c8585d780feaca41","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_precision.py","route_id":"route-f05686ba301ff5b5","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.capture_initial_local_context","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.capture_initial_local_context","visibility":"public","evidence_level":"source_static"}, +{"id":"python-12cde699b3c7a3ef","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_precision.py","route_id":"route-f05686ba301ff5b5","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.carrier_currents_pair","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.carrier_currents_pair","visibility":"public","evidence_level":"source_static"}, +{"id":"python-c477c7a7548d227d","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_precision.py","route_id":"route-f05686ba301ff5b5","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.cat","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.cat","visibility":"public","evidence_level":"source_static"}, +{"id":"python-751450df4fca778a","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_precision.py","route_id":"route-f05686ba301ff5b5","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.diff","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.diff","visibility":"public","evidence_level":"source_static"}, +{"id":"python-a7b9cd0d628a394c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_precision.py","route_id":"route-f05686ba301ff5b5","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.finalize_initial_precision","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.finalize_initial_precision","visibility":"public","evidence_level":"source_static"}, +{"id":"python-b2c0dbe93bdea9a5","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_precision.py","route_id":"route-f05686ba301ff5b5","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.fine_identity","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.fine_identity","visibility":"public","evidence_level":"source_static"}, +{"id":"python-de797699c2f4806e","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_precision.py","route_id":"route-f05686ba301ff5b5","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.independent_currents_pair","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.independent_currents_pair","visibility":"public","evidence_level":"source_static"}, +{"id":"python-16d5ea7637961615","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_precision.py","route_id":"route-f05686ba301ff5b5","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.independent_increments_pair","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.independent_increments_pair","visibility":"public","evidence_level":"source_static"}, +{"id":"python-7af035e100105802","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_precision.py","route_id":"route-f05686ba301ff5b5","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.ion_flux_pair","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.ion_flux_pair","visibility":"public","evidence_level":"source_static"}, +{"id":"python-4c1cd394713545c1","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_precision.py","route_id":"route-f05686ba301ff5b5","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.number","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.number","visibility":"public","evidence_level":"source_static"}, +{"id":"python-e9044dba989fe395","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_precision.py","route_id":"route-f05686ba301ff5b5","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.pair_words","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.pair_words","visibility":"public","evidence_level":"source_static"}, +{"id":"python-fa39573ee581d22a","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_precision.py","route_id":"route-f05686ba301ff5b5","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.precision_capabilities","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.precision_capabilities","visibility":"public","evidence_level":"source_static"}, +{"id":"python-43b187cf045ca380","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_precision.py","route_id":"route-f05686ba301ff5b5","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.precision_context","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.precision_context","visibility":"public","evidence_level":"source_static"}, +{"id":"python-a56b492e0cf8fb8f","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_precision.py","route_id":"route-f05686ba301ff5b5","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.put","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.put","visibility":"public","evidence_level":"source_static"}, +{"id":"python-2ca7e5730faf8972","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_precision.py","route_id":"route-f05686ba301ff5b5","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.solve_independent_poisson","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_precision.solve_independent_poisson","visibility":"public","evidence_level":"source_static"}, +{"id":"python-f74d009d392c4065","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_precision_initial.py","route_id":"route-3b69a8e5eba379fd","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_precision_initial._maximum","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_precision_initial._maximum","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-0ac958d307609463","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_precision_initial.py","route_id":"route-3b69a8e5eba379fd","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_precision_initial._put","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_precision_initial._put","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-de9e7d98dea45287","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_precision_initial.py","route_id":"route-3b69a8e5eba379fd","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_precision_initial._words","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_precision_initial._words","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-f564fd992ca664c0","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_precision_initial.py","route_id":"route-3b69a8e5eba379fd","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_precision_initial.initialize_fine_reference","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_precision_initial.initialize_fine_reference","visibility":"public","evidence_level":"source_static"}, +{"id":"python-1a41926018480aba","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_precision_physics.py","route_id":"route-758f0230399db64d","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_precision_physics._difference","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_precision_physics._difference","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-4b3e8f506706430a","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_precision_physics.py","route_id":"route-758f0230399db64d","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_precision_physics._fine_inputs","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_precision_physics._fine_inputs","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-432eec3eaff504bd","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_precision_physics.py","route_id":"route-758f0230399db64d","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_precision_physics._independent_physics_row_dd","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_precision_physics._independent_physics_row_dd","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-2616b929c061a77e","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_precision_physics.py","route_id":"route-758f0230399db64d","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_precision_physics.independent_physics_row_pair","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_precision_physics.independent_physics_row_pair","visibility":"public","evidence_level":"source_static"}, +{"id":"python-0c267e1c4e0aefbe","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_precision_state.py","route_id":"route-479bfc89ba54017b","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_precision_state.R1CommonStatePair","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_precision_state.R1CommonStatePair","visibility":"public","evidence_level":"source_static"}, +{"id":"python-03422564a429114c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_precision_state.py","route_id":"route-479bfc89ba54017b","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_precision_state.R1CommonStatePair.__post_init__","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_precision_state.R1CommonStatePair.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-7271f9e4b220be97","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_precision_state.py","route_id":"route-479bfc89ba54017b","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_precision_state._checks","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_precision_state._checks","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-2bd580081b09cb02","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_precision_state.py","route_id":"route-479bfc89ba54017b","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_precision_state._fine_snapshot","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_precision_state._fine_snapshot","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-6cd9f236fad9318f","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_precision_state.py","route_id":"route-479bfc89ba54017b","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_precision_state._qf_references","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_precision_state._qf_references","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-339cb845839d7993","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_precision_state.py","route_id":"route-479bfc89ba54017b","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_precision_state._require_checks","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_precision_state._require_checks","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-3991ed82a4c94a57","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_precision_state.py","route_id":"route-479bfc89ba54017b","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_precision_state._snapshot_fields","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_precision_state._snapshot_fields","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-2c078c9254e35414","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_precision_state.py","route_id":"route-479bfc89ba54017b","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_precision_state._structural_record","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_precision_state._structural_record","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-6631bcddfc5d3f4c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_precision_state.py","route_id":"route-479bfc89ba54017b","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_precision_state.build_hooks","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_precision_state.build_hooks","visibility":"public","evidence_level":"source_static"}, +{"id":"python-76e7c6ed34267876","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_precision_state.py","route_id":"route-479bfc89ba54017b","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_precision_state.verification_contract","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_precision_state.verification_contract","visibility":"public","evidence_level":"source_static"}, +{"id":"python-b7b3c5f70c979aa0","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_protocol.py","route_id":"route-5574a77d963b18e7","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_protocol.R1RunError","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_protocol.R1RunError","visibility":"public","evidence_level":"source_static"}, +{"id":"python-f5beddcec9aec355","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_protocol.py","route_id":"route-5574a77d963b18e7","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_protocol.R1RunError.__init__","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_protocol.R1RunError.__init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-822cbec54e6e1287","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_protocol.py","route_id":"route-5574a77d963b18e7","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_protocol._physical_step_checks","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_protocol._physical_step_checks","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-bd317ae52b17574b","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_protocol.py","route_id":"route-5574a77d963b18e7","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_protocol._prepared","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_protocol._prepared","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-88d24f344b610b6e","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_protocol.py","route_id":"route-5574a77d963b18e7","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_protocol._require_finite_result","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_protocol._require_finite_result","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-fb8f3630d2ed7766","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_protocol.py","route_id":"route-5574a77d963b18e7","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_protocol._trace_certificate","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_protocol._trace_certificate","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-ed977cf04c86c16e","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_protocol.py","route_id":"route-5574a77d963b18e7","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_protocol._trap_storage_check","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_protocol._trap_storage_check","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-a46e16cf88fa2914","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_protocol.py","route_id":"route-5574a77d963b18e7","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_protocol._trap_storage_summary","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_protocol._trap_storage_summary","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-56f51cadcaa57251","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_protocol.py","route_id":"route-5574a77d963b18e7","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_protocol.check_zero_excitation","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_protocol.check_zero_excitation","visibility":"public","evidence_level":"source_static"}, +{"id":"python-c0e16e71409e3cbe","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_protocol.py","route_id":"route-5574a77d963b18e7","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_protocol.effective_physical_row_limits","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_protocol.effective_physical_row_limits","visibility":"public","evidence_level":"source_static"}, +{"id":"python-f3a0d975dd86726e","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_protocol.py","route_id":"route-5574a77d963b18e7","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_protocol.nonfinite_numeric_paths","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_protocol.nonfinite_numeric_paths","visibility":"public","evidence_level":"source_static"}, +{"id":"python-41f45e845af0e3b1","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_protocol.py","route_id":"route-5574a77d963b18e7","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_protocol.r1_policy","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_protocol.r1_policy","visibility":"public","evidence_level":"source_static"}, +{"id":"python-3a80651db6a981a2","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_protocol.py","route_id":"route-5574a77d963b18e7","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_protocol.run_r1_step","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_protocol.run_r1_step","visibility":"public","evidence_level":"source_static"}, +{"id":"python-e4d069ddc1f8e60c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_qualification.py","route_id":"route-0ecc7ee40a381355","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_qualification._amplitude_pair","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_qualification._amplitude_pair","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-65b7614c611344ce","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_qualification.py","route_id":"route-0ecc7ee40a381355","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_qualification._base_report","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_qualification._base_report","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-a2a455bb60703532","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_qualification.py","route_id":"route-0ecc7ee40a381355","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_qualification._bound_window","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_qualification._bound_window","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-7e7df511ab34dcd6","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_qualification.py","route_id":"route-0ecc7ee40a381355","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_qualification._checked_record","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_qualification._checked_record","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-c9b10862751d8499","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_qualification.py","route_id":"route-0ecc7ee40a381355","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_qualification._halving_diagnostic","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_qualification._halving_diagnostic","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-1e37a2ed621ecb2b","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_qualification.py","route_id":"route-0ecc7ee40a381355","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_qualification._measured_error","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_qualification._measured_error","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-cd6b08093937021c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_qualification.py","route_id":"route-0ecc7ee40a381355","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_qualification._measurement_consistency","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_qualification._measurement_consistency","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-ce3046d560ade143","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_qualification.py","route_id":"route-0ecc7ee40a381355","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_qualification._plain","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_qualification._plain","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-1b6a0cf80ad48eb2","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_qualification.py","route_id":"route-0ecc7ee40a381355","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_qualification._scope","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_qualification._scope","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-979624976d3c68d5","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_qualification.py","route_id":"route-0ecc7ee40a381355","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_qualification._trusted","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_qualification._trusted","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-cf00db9af92f2c62","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_qualification.py","route_id":"route-0ecc7ee40a381355","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_qualification.assess_current_error_budget","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_qualification.assess_current_error_budget","visibility":"public","evidence_level":"source_static"}, +{"id":"python-f0bc41430fa24992","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_qualification.py","route_id":"route-0ecc7ee40a381355","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_qualification.assess_double_domain_prerequisites","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_qualification.assess_double_domain_prerequisites","visibility":"public","evidence_level":"source_static"}, +{"id":"python-6b05ea9db828a40c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_qualification.py","route_id":"route-0ecc7ee40a381355","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_qualification.assess_frequency_coverage","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_qualification.assess_frequency_coverage","visibility":"public","evidence_level":"source_static"}, +{"id":"python-ac7d6dbff28d432c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_qualification.py","route_id":"route-0ecc7ee40a381355","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_qualification.assess_transient_linearity","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_qualification.assess_transient_linearity","visibility":"public","evidence_level":"source_static"}, +{"id":"python-8998dbebfde4ccc6","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_qualification.py","route_id":"route-0ecc7ee40a381355","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_qualification.device_response_gate","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_qualification.device_response_gate","visibility":"public","evidence_level":"source_static"}, +{"id":"python-affa55af32efa4ad","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_qualification.py","route_id":"route-0ecc7ee40a381355","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_qualification.evidence_digest","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_qualification.evidence_digest","visibility":"public","evidence_level":"source_static"}, +{"id":"python-a3f5407b62a898c8","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_qualification.py","route_id":"route-0ecc7ee40a381355","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_qualification.qualification_scope","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_qualification.qualification_scope","visibility":"public","evidence_level":"source_static"}, +{"id":"python-4a70ca7a10ba4679","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_qualification.py","route_id":"route-0ecc7ee40a381355","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_qualification.select_response_amplitude","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_qualification.select_response_amplitude","visibility":"public","evidence_level":"source_static"}, +{"id":"python-ea97ed1ac343b528","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_qualification_workflow.py","route_id":"route-5360935065a2e2ec","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_qualification_workflow.analysis_cases","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_qualification_workflow.analysis_cases","visibility":"public","evidence_level":"source_static"}, +{"id":"python-e3aa7d8040548e91","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_qualification_workflow.py","route_id":"route-5360935065a2e2ec","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_qualification_workflow.analysis_request","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_qualification_workflow.analysis_request","visibility":"public","evidence_level":"source_static"}, +{"id":"python-37ae18b9d6851996","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_qualification_workflow.py","route_id":"route-5360935065a2e2ec","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_qualification_workflow.load_analysis_request","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_qualification_workflow.load_analysis_request","visibility":"public","evidence_level":"source_static"}, +{"id":"python-43ec3b7717c17728","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_qualification_workflow.py","route_id":"route-5360935065a2e2ec","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_qualification_workflow.read_only_derivation","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_qualification_workflow.read_only_derivation","visibility":"public","evidence_level":"source_static"}, +{"id":"python-40c8b25964535664","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_qualification_workflow.py","route_id":"route-5360935065a2e2ec","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_qualification_workflow.require_collection_phase","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_qualification_workflow.require_collection_phase","visibility":"public","evidence_level":"source_static"}, +{"id":"python-9446c9b6ded10abe","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_qualification_workflow.py","route_id":"route-5360935065a2e2ec","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_qualification_workflow.require_digest","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_qualification_workflow.require_digest","visibility":"public","evidence_level":"source_static"}, +{"id":"python-95516fd2b240e60d","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_qualification_workflow.py","route_id":"route-5360935065a2e2ec","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_qualification_workflow.verify_collection_receipt","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_qualification_workflow.verify_collection_receipt","visibility":"public","evidence_level":"source_static"}, +{"id":"python-92ba253dbd48028c","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_replay_receipt.py","route_id":"route-718e16bc1bd22606","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_replay_receipt.R1PhysicsReplayReceipt","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_replay_receipt.R1PhysicsReplayReceipt","visibility":"public","evidence_level":"source_static"}, +{"id":"python-b14052341e9d2c77","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_replay_receipt.py","route_id":"route-718e16bc1bd22606","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_replay_receipt.R1PhysicsReplayReceipt.__init__","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_replay_receipt.R1PhysicsReplayReceipt.__init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-85d5781e722af36c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_replay_receipt.py","route_id":"route-718e16bc1bd22606","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_replay_receipt.R1PhysicsReplayReceipt.to_dict","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_replay_receipt.R1PhysicsReplayReceipt.to_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-826ebf83cfa3196f","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_replay_receipt.py","route_id":"route-718e16bc1bd22606","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_replay_receipt.R1PhysicsReplayReport","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_replay_receipt.R1PhysicsReplayReport","visibility":"public","evidence_level":"source_static"}, +{"id":"python-1b37abb1d7f5b8b4","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_replay_receipt.py","route_id":"route-718e16bc1bd22606","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_replay_receipt.R1PhysicsReplayReport.__init__","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_replay_receipt.R1PhysicsReplayReport.__init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-4c2103d0e58a978c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_replay_receipt.py","route_id":"route-718e16bc1bd22606","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_replay_receipt._issue_replay_receipt","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_replay_receipt._issue_replay_receipt","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-7cbaf797a767eb64","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_response.py","route_id":"route-16e41e21eea34bf8","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_response.R1DCResponse","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_response.R1DCResponse","visibility":"public","evidence_level":"source_static"}, +{"id":"python-11d88775d2eb3641","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_response.py","route_id":"route-16e41e21eea34bf8","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_response.R1ResponseError","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_response.R1ResponseError","visibility":"public","evidence_level":"source_static"}, +{"id":"python-8fbd8a21a7426dcd","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_response.py","route_id":"route-16e41e21eea34bf8","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_response.R1ResponseError.__init__","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_response.R1ResponseError.__init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-9bad670dec62194e","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_response.py","route_id":"route-16e41e21eea34bf8","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_response._backward_error","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_response._backward_error","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-789b5ce72c7462c0","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_response.py","route_id":"route-16e41e21eea34bf8","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_response._constrained_descriptor","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_response._constrained_descriptor","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-0cf09dd7d851863f","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_response.py","route_id":"route-16e41e21eea34bf8","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_response._dc_equations","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_response._dc_equations","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-5d62886dbbc5136a","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_response.py","route_id":"route-16e41e21eea34bf8","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_response._dc_metrics","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_response._dc_metrics","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-e36d49d6e7c91dae","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_response.py","route_id":"route-16e41e21eea34bf8","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_response._finite_scalar","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_response._finite_scalar","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-41a413b53aad4f86","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_response.py","route_id":"route-16e41e21eea34bf8","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_response._frequencies","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_response._frequencies","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-68acd3d08a2a6551","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_response.py","route_id":"route-16e41e21eea34bf8","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_response._inventory_rows","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_response._inventory_rows","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-9afe2d557e9f0784","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_response.py","route_id":"route-16e41e21eea34bf8","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_response._linear_coefficients","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_response._linear_coefficients","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-8559412bf539d0a7","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_response.py","route_id":"route-16e41e21eea34bf8","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_response._response_array","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_response._response_array","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-fd2d259f64572846","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_response.py","route_id":"route-16e41e21eea34bf8","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_response._response_backend","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_response._response_backend","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-03f687b2f7847cd3","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_response.py","route_id":"route-16e41e21eea34bf8","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_response._same_response_content","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_response._same_response_content","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-0ad585062b23015c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_response.py","route_id":"route-16e41e21eea34bf8","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_response._solve","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_response._solve","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-f1333ba75ef8d326","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_response.py","route_id":"route-16e41e21eea34bf8","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_response.assess_small_signal_response","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_response.assess_small_signal_response","visibility":"public","evidence_level":"source_static"}, +{"id":"python-7f1bdcdeedd3636a","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_response.py","route_id":"route-16e41e21eea34bf8","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_response.compare_reconstructed_response","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_response.compare_reconstructed_response","visibility":"public","evidence_level":"source_static"}, +{"id":"python-355a0a0e5f1a5b2d","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_response.py","route_id":"route-16e41e21eea34bf8","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_response.compare_transient_tail","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_response.compare_transient_tail","visibility":"public","evidence_level":"source_static"}, +{"id":"python-ffc97a45910df2ae","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_response.py","route_id":"route-16e41e21eea34bf8","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_response.dc_amplitude_endpoint_study","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_response.dc_amplitude_endpoint_study","visibility":"public","evidence_level":"source_static"}, +{"id":"python-92a253f841e8117c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_response.py","route_id":"route-16e41e21eea34bf8","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_response.dc_conductance_study","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_response.dc_conductance_study","visibility":"public","evidence_level":"source_static"}, +{"id":"python-2d0bae0fa6bc816c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_response.py","route_id":"route-16e41e21eea34bf8","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_response.descriptor_frequency_response","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_response.descriptor_frequency_response","visibility":"public","evidence_level":"source_static"}, +{"id":"python-5b0a37bb47c0604d","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_response.py","route_id":"route-16e41e21eea34bf8","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_response.physical_observations","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_response.physical_observations","visibility":"public","evidence_level":"source_static"}, +{"id":"python-adf0d09e9450ad17","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_response.py","route_id":"route-16e41e21eea34bf8","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_response.restore_controlled_dc","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_response.restore_controlled_dc","visibility":"public","evidence_level":"source_static"}, +{"id":"python-6a2a860c1730a485","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_response.py","route_id":"route-16e41e21eea34bf8","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_response.small_signal_response","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_response.small_signal_response","visibility":"public","evidence_level":"source_static"}, +{"id":"python-e743c7f7942c6bd2","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_response.py","route_id":"route-16e41e21eea34bf8","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_response.solve_controlled_dc","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_response.solve_controlled_dc","visibility":"public","evidence_level":"source_static"}, +{"id":"python-c57a2b8f12f765c0","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_response.py","route_id":"route-16e41e21eea34bf8","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_response.verify_response_content","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_response.verify_response_content","visibility":"public","evidence_level":"source_static"}, +{"id":"python-e89a422a7fc21e28","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_result_contract.py","route_id":"route-36d6f9d50bdbdde5","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_result_contract._closed","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_result_contract._closed","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-3ca1e7b94b053cfa","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_result_contract.py","route_id":"route-36d6f9d50bdbdde5","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_result_contract.verify_failure_metadata","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_result_contract.verify_failure_metadata","visibility":"public","evidence_level":"source_static"}, +{"id":"python-1ea647634b480cb8","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_result_contract.py","route_id":"route-36d6f9d50bdbdde5","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_result_contract.verify_prepared_metadata","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_result_contract.verify_prepared_metadata","visibility":"public","evidence_level":"source_static"}, +{"id":"python-0eb0a7ead71bbabb","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_result_contract.py","route_id":"route-36d6f9d50bdbdde5","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_result_contract.verify_step_metadata","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_result_contract.verify_step_metadata","visibility":"public","evidence_level":"source_static"}, +{"id":"python-1181c2c121637c1c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_result_contract.py","route_id":"route-36d6f9d50bdbdde5","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_result_contract.verify_zero_metadata","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_result_contract.verify_zero_metadata","visibility":"public","evidence_level":"source_static"}, +{"id":"python-d9af701bc91ca706","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_result_validation.py","route_id":"route-032b079dc83b0429","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_result_validation._array","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_result_validation._array","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-7215a96ee24f9293","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_result_validation.py","route_id":"route-032b079dc83b0429","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_result_validation._counts","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_result_validation._counts","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-5ba3e9a94b1d4ed1","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_result_validation.py","route_id":"route-032b079dc83b0429","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_result_validation._current_report","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_result_validation._current_report","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-849f5be1865d518f","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_result_validation.py","route_id":"route-032b079dc83b0429","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_result_validation._failed_pair_preparation_physics","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_result_validation._failed_pair_preparation_physics","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-a9fb4c6b20220dfa","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_result_validation.py","route_id":"route-032b079dc83b0429","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_result_validation._failed_preparation_physics","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_result_validation._failed_preparation_physics","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-16a91a82d2bb9679","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_result_validation.py","route_id":"route-032b079dc83b0429","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_result_validation._failed_sidecar","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_result_validation._failed_sidecar","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-cf596e38fd0cf8e2","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_result_validation.py","route_id":"route-032b079dc83b0429","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_result_validation._failed_zero_physics","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_result_validation._failed_zero_physics","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-76f5b065f38c01f8","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_result_validation.py","route_id":"route-032b079dc83b0429","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_result_validation._legacy_contact_closure_scope","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_result_validation._legacy_contact_closure_scope","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-e318cd33d58eb813","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_result_validation.py","route_id":"route-032b079dc83b0429","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_result_validation._npz_matches_json","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_result_validation._npz_matches_json","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-118245c2f9ac98e7","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_result_validation.py","route_id":"route-032b079dc83b0429","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_result_validation._pair_zero_physics","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_result_validation._pair_zero_physics","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-f9f4ffd384af81d4","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_result_validation.py","route_id":"route-032b079dc83b0429","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_result_validation._same","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_result_validation._same","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-f23ae31c6635349c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_result_validation.py","route_id":"route-032b079dc83b0429","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_result_validation._saved_face_current_spread","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_result_validation._saved_face_current_spread","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-74443b44c7b9b582","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_result_validation.py","route_id":"route-032b079dc83b0429","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_result_validation._scope","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_result_validation._scope","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-5ac55e790342bb73","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_result_validation.py","route_id":"route-032b079dc83b0429","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_result_validation._sealed","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_result_validation._sealed","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-6fab93372c9ced93","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_result_validation.py","route_id":"route-032b079dc83b0429","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_result_validation._step","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_result_validation._step","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-48bc922286d4f9df","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_result_validation.py","route_id":"route-032b079dc83b0429","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_result_validation._system","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_result_validation._system","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-846c38e6382bedd8","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_result_validation.py","route_id":"route-032b079dc83b0429","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_result_validation._tagged_numeric","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_result_validation._tagged_numeric","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-c6df28ebf706e7b8","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_result_validation.py","route_id":"route-032b079dc83b0429","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_result_validation._trap_check","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_result_validation._trap_check","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-a67678ac411ede47","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_result_validation.py","route_id":"route-032b079dc83b0429","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_result_validation._verify_legacy_result_records","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_result_validation._verify_legacy_result_records","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-24502a3ae2189ab5","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_result_validation.py","route_id":"route-032b079dc83b0429","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_result_validation._verify_physical_result_records","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_result_validation._verify_physical_result_records","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-8f76aeeb0ee85972","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_result_validation.py","route_id":"route-032b079dc83b0429","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_result_validation.failure_scope_report","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_result_validation.failure_scope_report","visibility":"public","evidence_level":"source_static"}, +{"id":"python-2a4ae0d631013ffc","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_result_validation.py","route_id":"route-032b079dc83b0429","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_result_validation.verify_result_records","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_result_validation.verify_result_records","visibility":"public","evidence_level":"source_static"}, +{"id":"python-3295cc87c372714f","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_run_record.py","route_id":"route-0795c1cf0fb254d6","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_run_record._file_record","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_run_record._file_record","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-14dfc6e13f5c2d4e","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_run_record.py","route_id":"route-0795c1cf0fb254d6","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_run_record._sha","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_run_record._sha","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-930a89b7853f05be","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_run_record.py","route_id":"route-0795c1cf0fb254d6","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_run_record.capture_run_source","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_run_record.capture_run_source","visibility":"public","evidence_level":"source_static"}, +{"id":"python-d345ebee03c9b8d8","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_run_record.py","route_id":"route-0795c1cf0fb254d6","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_run_record.compare_run_snapshots","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_run_record.compare_run_snapshots","visibility":"public","evidence_level":"source_static"}, +{"id":"python-6dca80cf870dc034","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_spatial.py","route_id":"route-5db8498b026fe96d","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_spatial.ConservativeIonProfile","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_spatial.ConservativeIonProfile","visibility":"public","evidence_level":"source_static"}, +{"id":"python-f4a052a957bf7dd8","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_spatial.py","route_id":"route-5db8498b026fe96d","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_spatial.ConservativeIonProfile.__post_init__","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_spatial.ConservativeIonProfile.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-0e4aa28868f3ff7c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_spatial.py","route_id":"route-5db8498b026fe96d","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_spatial.ConservativeIonProfile.moments","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_spatial.ConservativeIonProfile.moments","visibility":"public","evidence_level":"source_static"}, +{"id":"python-3f4f9fb82ee85a86","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_spatial.py","route_id":"route-5db8498b026fe96d","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_spatial.ConservativeIonProfile.sample","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_spatial.ConservativeIonProfile.sample","visibility":"public","evidence_level":"source_static"}, +{"id":"python-09be17dc68101018","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_spatial.py","route_id":"route-5db8498b026fe96d","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_spatial.R1SpatialResponses","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_spatial.R1SpatialResponses","visibility":"public","evidence_level":"source_static"}, +{"id":"python-bfff3ea9ddb682f2","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_spatial.py","route_id":"route-5db8498b026fe96d","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_spatial.R1SpatialResponses.__post_init__","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_spatial.R1SpatialResponses.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-d14a43264a5f8c48","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_spatial.py","route_id":"route-5db8498b026fe96d","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_spatial._array","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_spatial._array","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-9f04132fefd78024","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_spatial.py","route_id":"route-5db8498b026fe96d","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_spatial._geometry","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_spatial._geometry","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-6e4278ac691c3099","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_spatial.py","route_id":"route-5db8498b026fe96d","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_spatial._readonly","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_spatial._readonly","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-bff9835c940e26bd","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_spatial.py","route_id":"route-5db8498b026fe96d","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_spatial._record","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_spatial._record","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-d6ac77ed0760415d","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_spatial.py","route_id":"route-5db8498b026fe96d","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_spatial.compare_convergence_responses","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_spatial.compare_convergence_responses","visibility":"public","evidence_level":"source_static"}, +{"id":"python-c852245eb9568706","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_spatial.py","route_id":"route-5db8498b026fe96d","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_spatial.compare_spatial_responses","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_spatial.compare_spatial_responses","visibility":"public","evidence_level":"source_static"}, +{"id":"python-63f43151c07d88f1","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_spatial.py","route_id":"route-5db8498b026fe96d","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_spatial.sample_r1_state","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_spatial.sample_r1_state","visibility":"public","evidence_level":"source_static"}, +{"id":"python-1dd645e74cd1b4ae","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_spatial.py","route_id":"route-5db8498b026fe96d","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_spatial.sample_sg_density","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_spatial.sample_sg_density","visibility":"public","evidence_level":"source_static"}, +{"id":"python-478e7a3687df96f7","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_spatial.py","route_id":"route-5db8498b026fe96d","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_spatial.spatial_responses_from_step","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_spatial.spatial_responses_from_step","visibility":"public","evidence_level":"source_static"}, +{"id":"python-08f0d17086558d77","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_standard.py","route_id":"route-d5586ec2f94adf38","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_standard._checked_execution_contract","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_standard._checked_execution_contract","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-21c602f718642cd7","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_standard.py","route_id":"route-d5586ec2f94adf38","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_standard._development_execution_bytes","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_standard._development_execution_bytes","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-042d041ba0397cae","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_standard.py","route_id":"route-d5586ec2f94adf38","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_standard._effective_iteration_limits","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_standard._effective_iteration_limits","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-18afefab98501dbc","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_standard.py","route_id":"route-d5586ec2f94adf38","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_standard._execution_limits","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_standard._execution_limits","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-de67ca95b962efc1","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_standard.py","route_id":"route-d5586ec2f94adf38","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_standard.load_execution_standard","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_standard.load_execution_standard","visibility":"public","evidence_level":"source_static"}, +{"id":"python-062863924aaea4b7","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_standard.py","route_id":"route-d5586ec2f94adf38","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_standard.load_physical_standard","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_standard.load_physical_standard","visibility":"public","evidence_level":"source_static"}, +{"id":"python-94fe651b13146708","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_standard.py","route_id":"route-d5586ec2f94adf38","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_standard.physical_standard_binding","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_standard.physical_standard_binding","visibility":"public","evidence_level":"source_static"}, +{"id":"python-828f1787e388c599","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_standard.py","route_id":"route-d5586ec2f94adf38","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_standard.runtime_execution_contract","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_standard.runtime_execution_contract","visibility":"public","evidence_level":"source_static"}, +{"id":"python-22cf3e0395c5448d","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_standard.py","route_id":"route-d5586ec2f94adf38","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_standard.runtime_standard_contract","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_standard.runtime_standard_contract","visibility":"public","evidence_level":"source_static"}, +{"id":"python-446d0ba5c02da3f7","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_standard.py","route_id":"route-d5586ec2f94adf38","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_standard.verify_execution_policy","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_standard.verify_execution_policy","visibility":"public","evidence_level":"source_static"}, +{"id":"python-ddb0cc6205884deb","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_standard.py","route_id":"route-d5586ec2f94adf38","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_standard.verify_runtime_execution_standard","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_standard.verify_runtime_execution_standard","visibility":"public","evidence_level":"source_static"}, +{"id":"python-f9d92aec578a6dec","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_standard.py","route_id":"route-d5586ec2f94adf38","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_standard.verify_runtime_standard","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_standard.verify_runtime_standard","visibility":"public","evidence_level":"source_static"}, +{"id":"python-23f341b6dbcdb851","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_standard.py","route_id":"route-d5586ec2f94adf38","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_standard.verify_used_execution_limits","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_standard.verify_used_execution_limits","visibility":"public","evidence_level":"source_static"}, +{"id":"python-853389d660f26d8d","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_state.py","route_id":"route-3437e4b3d969b4d5","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_state.R1PreparedState","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_state.R1PreparedState","visibility":"public","evidence_level":"source_static"}, +{"id":"python-f28de3499ca4903d","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_state.py","route_id":"route-3437e4b3d969b4d5","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_state.R1PreparedState.__post_init__","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_state.R1PreparedState.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-ca6aa9c8c1f1f175","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_state.py","route_id":"route-3437e4b3d969b4d5","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_state.R1PreparedState.from_dict","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_state.R1PreparedState.from_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-7d96b127c2d2da6e","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_state.py","route_id":"route-3437e4b3d969b4d5","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_state.R1PreparedState.sha256","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_state.R1PreparedState.sha256","visibility":"public","evidence_level":"source_static"}, +{"id":"python-7993b5597cd3348d","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_state.py","route_id":"route-3437e4b3d969b4d5","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_state.R1PreparedState.to_dict","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_state.R1PreparedState.to_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-20e6bcc9f89d34cf","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_state.py","route_id":"route-3437e4b3d969b4d5","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_state.R1StateError","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_state.R1StateError","visibility":"public","evidence_level":"source_static"}, +{"id":"python-c3968dceaafbc3e3","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_state.py","route_id":"route-3437e4b3d969b4d5","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_state._decode_dc","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_state._decode_dc","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-907cb0bc90cd53f0","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_state.py","route_id":"route-3437e4b3d969b4d5","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_state._grid_identity","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_state._grid_identity","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-7c7f4a27f95dc704","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_state.py","route_id":"route-3437e4b3d969b4d5","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_state._make_system","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_state._make_system","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-575ae06d8dbf02bf","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_state.py","route_id":"route-3437e4b3d969b4d5","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_state._preparation_history","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_state._preparation_history","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-d06bef60038005b1","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_state.py","route_id":"route-3437e4b3d969b4d5","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_state._preparation_policy","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_state._preparation_policy","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-b8affd60c9e0eddb","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_state.py","route_id":"route-3437e4b3d969b4d5","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_state._preparation_verification","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_state._preparation_verification","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-72a0b1e730c24437","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_state.py","route_id":"route-3437e4b3d969b4d5","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_state._recomputed_dc_certificate","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_state._recomputed_dc_certificate","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-b785267ebc709502","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_state.py","route_id":"route-3437e4b3d969b4d5","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_state._require_finite_preparation","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_state._require_finite_preparation","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-10a1a89addf02691","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_state.py","route_id":"route-3437e4b3d969b4d5","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_state._snapshot_legacy","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_state._snapshot_legacy","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-72c8c69871c031a7","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_state.py","route_id":"route-3437e4b3d969b4d5","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_state.canonical","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_state.canonical","visibility":"public","evidence_level":"source_static"}, +{"id":"python-9bede93e7029df53","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_state.py","route_id":"route-3437e4b3d969b4d5","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_state.digest","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_state.digest","visibility":"public","evidence_level":"source_static"}, +{"id":"python-ff7b2e29e8207ef7","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_state.py","route_id":"route-3437e4b3d969b4d5","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_state.equilibrium_checks","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_state.equilibrium_checks","visibility":"public","evidence_level":"source_static"}, +{"id":"python-81dd34e46fb9ac4d","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_state.py","route_id":"route-3437e4b3d969b4d5","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_state.execution_source","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_state.execution_source","visibility":"public","evidence_level":"source_static"}, +{"id":"python-604944171ec99ba1","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_state.py","route_id":"route-3437e4b3d969b4d5","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_state.json_data","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_state.json_data","visibility":"public","evidence_level":"source_static"}, +{"id":"python-b251d86e9189ec28","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_state.py","route_id":"route-3437e4b3d969b4d5","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_state.physical_preparation_identity","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_state.physical_preparation_identity","visibility":"public","evidence_level":"source_static"}, +{"id":"python-d1e7340afe1e77c8","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_state.py","route_id":"route-3437e4b3d969b4d5","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_state.prepare_common_state","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_state.prepare_common_state","visibility":"public","evidence_level":"source_static"}, +{"id":"python-d1b707c653f63f4e","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_state.py","route_id":"route-3437e4b3d969b4d5","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_state.restore_common_state","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_state.restore_common_state","visibility":"public","evidence_level":"source_static"}, +{"id":"python-99dfe03acb05b04f","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_state.py","route_id":"route-3437e4b3d969b4d5","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_state.snapshot","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_state.snapshot","visibility":"public","evidence_level":"source_static"}, +{"id":"python-7d40bea4ee9afb60","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_state.py","route_id":"route-3437e4b3d969b4d5","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_state.streaming_digest","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_state.streaming_digest","visibility":"public","evidence_level":"source_static"}, +{"id":"python-0af038f36428cf1e","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_state.py","route_id":"route-3437e4b3d969b4d5","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_state.verify_prepared_physics","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_state.verify_prepared_physics","visibility":"public","evidence_level":"source_static"}, +{"id":"python-c620c39aa24dc3d8","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_step.py","route_id":"route-fe9f2c86a6fb4b9f","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_step.CurrentAtState","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_step.CurrentAtState","visibility":"public","evidence_level":"source_static"}, +{"id":"python-f8fb85bf4a694070","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_step.py","route_id":"route-fe9f2c86a6fb4b9f","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_step.InitialStepResult","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_step.InitialStepResult","visibility":"public","evidence_level":"source_static"}, +{"id":"python-a573685c95d9915f","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_step.py","route_id":"route-fe9f2c86a6fb4b9f","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_step._check_algebraic","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_step._check_algebraic","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-9a55eae414eda066","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_step.py","route_id":"route-fe9f2c86a6fb4b9f","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_step._check_pair_word_identity","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_step._check_pair_word_identity","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-1a6d4a4d9b563458","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_step.py","route_id":"route-fe9f2c86a6fb4b9f","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_step._electrostatics","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_step._electrostatics","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-4665f85c31e2acec","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_step.py","route_id":"route-fe9f2c86a6fb4b9f","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_step._fail","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_step._fail","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-2b1cce7a634ba4cb","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_step.py","route_id":"route-fe9f2c86a6fb4b9f","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_step._fixed_population_electrostatic_correction","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_step._fixed_population_electrostatic_correction","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-2924e287c6ce88ad","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_step.py","route_id":"route-fe9f2c86a6fb4b9f","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_step._json_array","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_step._json_array","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-237258226c2c9674","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_step.py","route_id":"route-fe9f2c86a6fb4b9f","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_step._pair_word_snapshot","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_step._pair_word_snapshot","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-4406b52934a642b5","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_step.py","route_id":"route-fe9f2c86a6fb4b9f","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_step._solve_local_carriers","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_step._solve_local_carriers","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-15ffcb99411a8f7b","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_step.py","route_id":"route-fe9f2c86a6fb4b9f","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_step._state_record","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_step._state_record","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-de68c7a688ffacb5","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_step.py","route_id":"route-fe9f2c86a6fb4b9f","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_step.build_initial_step","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_step.build_initial_step","visibility":"public","evidence_level":"source_static"}, +{"id":"python-ce46fdede21516ca","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_step.py","route_id":"route-fe9f2c86a6fb4b9f","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_step.effective_regular_limits","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_step.effective_regular_limits","visibility":"public","evidence_level":"source_static"}, +{"id":"python-f895ead07a35d727","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_step.py","route_id":"route-fe9f2c86a6fb4b9f","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_step.regular_current_at_state","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_step.regular_current_at_state","visibility":"public","evidence_level":"source_static"}, +{"id":"python-309908c1d81cb583","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_study_request.py","route_id":"route-d0a73f45c47411ab","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_study_request._case_key","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_study_request._case_key","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-59c5487dd36cc442","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_study_request.py","route_id":"route-d0a73f45c47411ab","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_study_request.build_execution_plan","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_study_request.build_execution_plan","visibility":"public","evidence_level":"source_static"}, +{"id":"python-610d89d2be8b580d","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_study_request.py","route_id":"route-d0a73f45c47411ab","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_study_request.canonical_bytes","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_study_request.canonical_bytes","visibility":"public","evidence_level":"source_static"}, +{"id":"python-bfc829dbaf3d0b2a","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_study_request.py","route_id":"route-d0a73f45c47411ab","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_study_request.inventory_coverage","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_study_request.inventory_coverage","visibility":"public","evidence_level":"source_static"}, +{"id":"python-c59908c7ed310044","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_study_request.py","route_id":"route-d0a73f45c47411ab","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_study_request.load_execution_plan","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_study_request.load_execution_plan","visibility":"public","evidence_level":"source_static"}, +{"id":"python-a9be99fd1a576d11","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_study_request.py","route_id":"route-d0a73f45c47411ab","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_study_request.load_qualification_inputs","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_study_request.load_qualification_inputs","visibility":"public","evidence_level":"source_static"}, +{"id":"python-a9c2af376cff70f6","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_study_request.py","route_id":"route-d0a73f45c47411ab","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_study_request.verify_invocation_attempts","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_study_request.verify_invocation_attempts","visibility":"public","evidence_level":"source_static"}, +{"id":"python-16ba6bba36e5ea9b","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_study_response.py","route_id":"route-dd89a27c87e2e3b2","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_study_response._bands","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_study_response._bands","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-b23122d97fc97dd5","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_study_response.py","route_id":"route-dd89a27c87e2e3b2","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_study_response._matching_identity","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_study_response._matching_identity","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-98b07b08ac951ba9","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_study_response.py","route_id":"route-dd89a27c87e2e3b2","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_study_response._ready","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_study_response._ready","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-6537159fe62e0542","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_study_response.py","route_id":"route-dd89a27c87e2e3b2","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_study_response.frequency_window_report","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_study_response.frequency_window_report","visibility":"public","evidence_level":"source_static"}, +{"id":"python-13cac5e94cf84b7e","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_study_response.py","route_id":"route-dd89a27c87e2e3b2","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_study_response.reconstruct_study_response","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_study_response.reconstruct_study_response","visibility":"public","evidence_level":"source_static"}, +{"id":"python-a8c2d8b628e6283e","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_window.py","route_id":"route-1c4ca2bc1a62b894","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_window._time_axis","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_window._time_axis","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-d4184537929fb508","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_window.py","route_id":"route-1c4ca2bc1a62b894","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_window.build_window_spec","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_window.build_window_spec","visibility":"public","evidence_level":"source_static"}, +{"id":"python-b9f49da57937d900","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_window.py","route_id":"route-1c4ca2bc1a62b894","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_window.validate_window_relation","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_window.validate_window_relation","visibility":"public","evidence_level":"source_static"}, +{"id":"python-0f91eaeb95611e27","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_window.py","route_id":"route-1c4ca2bc1a62b894","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_window.validate_window_spec","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_window.validate_window_spec","visibility":"public","evidence_level":"source_static"}, +{"id":"python-3a6473a88aa49ec6","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_window.py","route_id":"route-1c4ca2bc1a62b894","origin_key":"python:perovskite_sim.experiments.one_dimensional_mechanism_r1_window.window_spec_digest","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_window.window_spec_digest","visibility":"public","evidence_level":"source_static"}, +{"id":"python-37dd440b85c8a091","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/open_circuit.py","route_id":"route-3431bf7169601fdb","origin_key":"python:perovskite_sim.experiments.open_circuit.OpenCircuitError","qualified_name":"perovskite_sim.experiments.open_circuit.OpenCircuitError","visibility":"public","evidence_level":"source_static"}, +{"id":"python-e69146a5e4088d18","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/open_circuit.py","route_id":"route-3431bf7169601fdb","origin_key":"python:perovskite_sim.experiments.open_circuit.OpenCircuitSystem","qualified_name":"perovskite_sim.experiments.open_circuit.OpenCircuitSystem","visibility":"public","evidence_level":"source_static"}, +{"id":"python-610dc732cab32a64","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/open_circuit.py","route_id":"route-3431bf7169601fdb","origin_key":"python:perovskite_sim.experiments.open_circuit.OpenCircuitSystem.__init__","qualified_name":"perovskite_sim.experiments.open_circuit.OpenCircuitSystem.__init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-ef7631f734305331","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/open_circuit.py","route_id":"route-3431bf7169601fdb","origin_key":"python:perovskite_sim.experiments.open_circuit.OpenCircuitSystem._displacement","qualified_name":"perovskite_sim.experiments.open_circuit.OpenCircuitSystem._displacement","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-4747adc8c6c3440e","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/open_circuit.py","route_id":"route-3431bf7169601fdb","origin_key":"python:perovskite_sim.experiments.open_circuit.OpenCircuitSystem.canonical_state","qualified_name":"perovskite_sim.experiments.open_circuit.OpenCircuitSystem.canonical_state","visibility":"public","evidence_level":"source_static"}, +{"id":"python-db82f6310ebb7781","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/open_circuit.py","route_id":"route-3431bf7169601fdb","origin_key":"python:perovskite_sim.experiments.open_circuit.OpenCircuitSystem.conduction_current","qualified_name":"perovskite_sim.experiments.open_circuit.OpenCircuitSystem.conduction_current","visibility":"public","evidence_level":"source_static"}, +{"id":"python-0eaccf3d9428b4ea","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/open_circuit.py","route_id":"route-3431bf7169601fdb","origin_key":"python:perovskite_sim.experiments.open_circuit.OpenCircuitSystem.displacement_change","qualified_name":"perovskite_sim.experiments.open_circuit.OpenCircuitSystem.displacement_change","visibility":"public","evidence_level":"source_static"}, +{"id":"python-19d1cccc07a417e4","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/open_circuit.py","route_id":"route-3431bf7169601fdb","origin_key":"python:perovskite_sim.experiments.open_circuit.OpenCircuitSystem.rates","qualified_name":"perovskite_sim.experiments.open_circuit.OpenCircuitSystem.rates","visibility":"public","evidence_level":"source_static"}, +{"id":"python-428c3183151993de","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/open_circuit.py","route_id":"route-3431bf7169601fdb","origin_key":"python:perovskite_sim.experiments.open_circuit.OpenCircuitSystem.validate_state","qualified_name":"perovskite_sim.experiments.open_circuit.OpenCircuitSystem.validate_state","visibility":"public","evidence_level":"source_static"}, +{"id":"python-63133064c2bcd415","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/open_circuit.py","route_id":"route-3431bf7169601fdb","origin_key":"python:perovskite_sim.experiments.open_circuit.OpenCircuitTrace","qualified_name":"perovskite_sim.experiments.open_circuit.OpenCircuitTrace","visibility":"public","evidence_level":"source_static"}, +{"id":"python-63bde09a82651ce8","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/open_circuit.py","route_id":"route-3431bf7169601fdb","origin_key":"python:perovskite_sim.experiments.open_circuit.integrate_open_circuit","qualified_name":"perovskite_sim.experiments.open_circuit.integrate_open_circuit","visibility":"public","evidence_level":"source_static"}, +{"id":"python-c9ad2fc5f16d5812","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/protocol.py","route_id":"route-ca59b5ef4a3f6fa3","origin_key":"python:perovskite_sim.experiments.protocol.ACExcitation","qualified_name":"perovskite_sim.experiments.protocol.ACExcitation","visibility":"public","evidence_level":"source_static"}, +{"id":"python-4f53502e23c4a216","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/protocol.py","route_id":"route-ca59b5ef4a3f6fa3","origin_key":"python:perovskite_sim.experiments.protocol.ACExcitation.__post_init__","qualified_name":"perovskite_sim.experiments.protocol.ACExcitation.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-4b5d0ea4172ec0e7","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/protocol.py","route_id":"route-ca59b5ef4a3f6fa3","origin_key":"python:perovskite_sim.experiments.protocol.ACExcitation.from_dict","qualified_name":"perovskite_sim.experiments.protocol.ACExcitation.from_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-05a3aac16a993538","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/protocol.py","route_id":"route-ca59b5ef4a3f6fa3","origin_key":"python:perovskite_sim.experiments.protocol.DCSettleCriterion","qualified_name":"perovskite_sim.experiments.protocol.DCSettleCriterion","visibility":"public","evidence_level":"source_static"}, +{"id":"python-afff7d443eed9e80","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/protocol.py","route_id":"route-ca59b5ef4a3f6fa3","origin_key":"python:perovskite_sim.experiments.protocol.DCSettleCriterion.__post_init__","qualified_name":"perovskite_sim.experiments.protocol.DCSettleCriterion.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-342dbdaac9545012","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/protocol.py","route_id":"route-ca59b5ef4a3f6fa3","origin_key":"python:perovskite_sim.experiments.protocol.DCSettleCriterion.from_dict","qualified_name":"perovskite_sim.experiments.protocol.DCSettleCriterion.from_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-e26a2c19217f7fbc","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/protocol.py","route_id":"route-ca59b5ef4a3f6fa3","origin_key":"python:perovskite_sim.experiments.protocol.ExperimentProtocol","qualified_name":"perovskite_sim.experiments.protocol.ExperimentProtocol","visibility":"public","evidence_level":"source_static"}, +{"id":"python-0e579e1441005c30","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/protocol.py","route_id":"route-ca59b5ef4a3f6fa3","origin_key":"python:perovskite_sim.experiments.protocol.ExperimentProtocol.__post_init__","qualified_name":"perovskite_sim.experiments.protocol.ExperimentProtocol.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-94dcc2896ec8b364","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/protocol.py","route_id":"route-ca59b5ef4a3f6fa3","origin_key":"python:perovskite_sim.experiments.protocol.ExperimentProtocol.as_explicit","qualified_name":"perovskite_sim.experiments.protocol.ExperimentProtocol.as_explicit","visibility":"public","evidence_level":"source_static"}, +{"id":"python-b2151ade67015f62","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/protocol.py","route_id":"route-ca59b5ef4a3f6fa3","origin_key":"python:perovskite_sim.experiments.protocol.ExperimentProtocol.canonical_json","qualified_name":"perovskite_sim.experiments.protocol.ExperimentProtocol.canonical_json","visibility":"public","evidence_level":"source_static"}, +{"id":"python-be0858086bb4a431","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/protocol.py","route_id":"route-ca59b5ef4a3f6fa3","origin_key":"python:perovskite_sim.experiments.protocol.ExperimentProtocol.from_dict","qualified_name":"perovskite_sim.experiments.protocol.ExperimentProtocol.from_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-1eac82b7ef90450a","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/protocol.py","route_id":"route-ca59b5ef4a3f6fa3","origin_key":"python:perovskite_sim.experiments.protocol.ExperimentProtocol.from_json","qualified_name":"perovskite_sim.experiments.protocol.ExperimentProtocol.from_json","visibility":"public","evidence_level":"source_static"}, +{"id":"python-ad076f3ac5b05218","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/protocol.py","route_id":"route-ca59b5ef4a3f6fa3","origin_key":"python:perovskite_sim.experiments.protocol.ExperimentProtocol.protocol_hash","qualified_name":"perovskite_sim.experiments.protocol.ExperimentProtocol.protocol_hash","visibility":"public","evidence_level":"source_static"}, +{"id":"python-099db1a930a9a064","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/protocol.py","route_id":"route-ca59b5ef4a3f6fa3","origin_key":"python:perovskite_sim.experiments.protocol.ExperimentProtocol.sha256","qualified_name":"perovskite_sim.experiments.protocol.ExperimentProtocol.sha256","visibility":"public","evidence_level":"source_static"}, +{"id":"python-1b435566938593b5","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/protocol.py","route_id":"route-ca59b5ef4a3f6fa3","origin_key":"python:perovskite_sim.experiments.protocol.ExperimentProtocol.to_dict","qualified_name":"perovskite_sim.experiments.protocol.ExperimentProtocol.to_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-ad1b2c48cdf0595a","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/protocol.py","route_id":"route-ca59b5ef4a3f6fa3","origin_key":"python:perovskite_sim.experiments.protocol.ExperimentProtocol.to_json","qualified_name":"perovskite_sim.experiments.protocol.ExperimentProtocol.to_json","visibility":"public","evidence_level":"source_static"}, +{"id":"python-f44380139214d2f7","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/protocol.py","route_id":"route-ca59b5ef4a3f6fa3","origin_key":"python:perovskite_sim.experiments.protocol.ExperimentProtocolError","qualified_name":"perovskite_sim.experiments.protocol.ExperimentProtocolError","visibility":"public","evidence_level":"source_static"}, +{"id":"python-5eeba71298b18ddd","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/protocol.py","route_id":"route-ca59b5ef4a3f6fa3","origin_key":"python:perovskite_sim.experiments.protocol.IlluminationStep","qualified_name":"perovskite_sim.experiments.protocol.IlluminationStep","visibility":"public","evidence_level":"source_static"}, +{"id":"python-f5b6486b9fd297b8","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/protocol.py","route_id":"route-ca59b5ef4a3f6fa3","origin_key":"python:perovskite_sim.experiments.protocol.IlluminationStep.__post_init__","qualified_name":"perovskite_sim.experiments.protocol.IlluminationStep.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-8b4ea9072247ee3b","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/protocol.py","route_id":"route-ca59b5ef4a3f6fa3","origin_key":"python:perovskite_sim.experiments.protocol.IlluminationStep.from_dict","qualified_name":"perovskite_sim.experiments.protocol.IlluminationStep.from_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-939fdea9d9ec6992","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/protocol.py","route_id":"route-ca59b5ef4a3f6fa3","origin_key":"python:perovskite_sim.experiments.protocol.ImplicitProtocolError","qualified_name":"perovskite_sim.experiments.protocol.ImplicitProtocolError","visibility":"public","evidence_level":"source_static"}, +{"id":"python-78cb485fe87b6047","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/protocol.py","route_id":"route-ca59b5ef4a3f6fa3","origin_key":"python:perovskite_sim.experiments.protocol.ProtocolMismatchError","qualified_name":"perovskite_sim.experiments.protocol.ProtocolMismatchError","visibility":"public","evidence_level":"source_static"}, +{"id":"python-c87e3fe315021c39","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/protocol.py","route_id":"route-ca59b5ef4a3f6fa3","origin_key":"python:perovskite_sim.experiments.protocol.SamplingProtocol","qualified_name":"perovskite_sim.experiments.protocol.SamplingProtocol","visibility":"public","evidence_level":"source_static"}, +{"id":"python-47f90f47e077cf7a","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/protocol.py","route_id":"route-ca59b5ef4a3f6fa3","origin_key":"python:perovskite_sim.experiments.protocol.SamplingProtocol.__post_init__","qualified_name":"perovskite_sim.experiments.protocol.SamplingProtocol.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-7f9d13f9a840ab4f","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/protocol.py","route_id":"route-ca59b5ef4a3f6fa3","origin_key":"python:perovskite_sim.experiments.protocol.SamplingProtocol.from_dict","qualified_name":"perovskite_sim.experiments.protocol.SamplingProtocol.from_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-6040a2afbf06ff04","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/protocol.py","route_id":"route-ca59b5ef4a3f6fa3","origin_key":"python:perovskite_sim.experiments.protocol.ScanProtocol","qualified_name":"perovskite_sim.experiments.protocol.ScanProtocol","visibility":"public","evidence_level":"source_static"}, +{"id":"python-f5db09bdd028684e","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/protocol.py","route_id":"route-ca59b5ef4a3f6fa3","origin_key":"python:perovskite_sim.experiments.protocol.ScanProtocol.__post_init__","qualified_name":"perovskite_sim.experiments.protocol.ScanProtocol.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-a1b8f1b5a2512433","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/protocol.py","route_id":"route-ca59b5ef4a3f6fa3","origin_key":"python:perovskite_sim.experiments.protocol.ScanProtocol.from_dict","qualified_name":"perovskite_sim.experiments.protocol.ScanProtocol.from_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-86abecaeb77c322f","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/protocol.py","route_id":"route-ca59b5ef4a3f6fa3","origin_key":"python:perovskite_sim.experiments.protocol.VocSearchProtocol","qualified_name":"perovskite_sim.experiments.protocol.VocSearchProtocol","visibility":"public","evidence_level":"source_static"}, +{"id":"python-a7a4921926c30faf","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/protocol.py","route_id":"route-ca59b5ef4a3f6fa3","origin_key":"python:perovskite_sim.experiments.protocol.VocSearchProtocol.__post_init__","qualified_name":"perovskite_sim.experiments.protocol.VocSearchProtocol.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-1b34501aa6d9b684","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/protocol.py","route_id":"route-ca59b5ef4a3f6fa3","origin_key":"python:perovskite_sim.experiments.protocol.VocSearchProtocol.from_dict","qualified_name":"perovskite_sim.experiments.protocol.VocSearchProtocol.from_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-290a1abe22c35c03","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/protocol.py","route_id":"route-ca59b5ef4a3f6fa3","origin_key":"python:perovskite_sim.experiments.protocol._finite_float","qualified_name":"perovskite_sim.experiments.protocol._finite_float","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-894edc630c80fca7","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/protocol.py","route_id":"route-ca59b5ef4a3f6fa3","origin_key":"python:perovskite_sim.experiments.protocol._json_ready","qualified_name":"perovskite_sim.experiments.protocol._json_ready","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-bbf23cfdcdbcaccd","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/protocol.py","route_id":"route-ca59b5ef4a3f6fa3","origin_key":"python:perovskite_sim.experiments.protocol._nonnegative_optional","qualified_name":"perovskite_sim.experiments.protocol._nonnegative_optional","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-af3c747faa858de4","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/protocol.py","route_id":"route-ca59b5ef4a3f6fa3","origin_key":"python:perovskite_sim.experiments.protocol._optional_finite_float","qualified_name":"perovskite_sim.experiments.protocol._optional_finite_float","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-66379394b6383594","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/protocol.py","route_id":"route-ca59b5ef4a3f6fa3","origin_key":"python:perovskite_sim.experiments.protocol._positive_optional","qualified_name":"perovskite_sim.experiments.protocol._positive_optional","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-aa0a3ed950c924e4","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/protocol.py","route_id":"route-ca59b5ef4a3f6fa3","origin_key":"python:perovskite_sim.experiments.protocol._require_exact_keys","qualified_name":"perovskite_sim.experiments.protocol._require_exact_keys","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-04a0ceee4e044bec","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/protocol.py","route_id":"route-ca59b5ef4a3f6fa3","origin_key":"python:perovskite_sim.experiments.protocol.resolve_experiment_protocol","qualified_name":"perovskite_sim.experiments.protocol.resolve_experiment_protocol","visibility":"public","evidence_level":"source_static"}, +{"id":"python-013ff70e410a0dfb","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/quasi_fermi_impedance.py","route_id":"route-e8ca7a89ef09d514","origin_key":"python:perovskite_sim.experiments.quasi_fermi_impedance.QuasiFermiImpedanceError","qualified_name":"perovskite_sim.experiments.quasi_fermi_impedance.QuasiFermiImpedanceError","visibility":"public","evidence_level":"source_static"}, +{"id":"python-5bc4be61b080ebb5","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/quasi_fermi_impedance.py","route_id":"route-e8ca7a89ef09d514","origin_key":"python:perovskite_sim.experiments.quasi_fermi_impedance.QuasiFermiImpedanceResult","qualified_name":"perovskite_sim.experiments.quasi_fermi_impedance.QuasiFermiImpedanceResult","visibility":"public","evidence_level":"source_static"}, +{"id":"python-709f4d315ed53459","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/quasi_fermi_impedance.py","route_id":"route-e8ca7a89ef09d514","origin_key":"python:perovskite_sim.experiments.quasi_fermi_impedance._contact_quasi_fermi_increments","qualified_name":"perovskite_sim.experiments.quasi_fermi_impedance._contact_quasi_fermi_increments","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-f09d5fbf1dd0b901","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/quasi_fermi_impedance.py","route_id":"route-e8ca7a89ef09d514","origin_key":"python:perovskite_sim.experiments.quasi_fermi_impedance.run_quasi_fermi_impedance","qualified_name":"perovskite_sim.experiments.quasi_fermi_impedance.run_quasi_fermi_impedance","visibility":"public","evidence_level":"source_static"}, +{"id":"python-34f6251926daa58b","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/quasi_fermi_steady_state.py","route_id":"route-1c35c1275d46d863","origin_key":"python:perovskite_sim.experiments.quasi_fermi_steady_state.EquilibriumReferencedInterfaceChargeDarkReference","qualified_name":"perovskite_sim.experiments.quasi_fermi_steady_state.EquilibriumReferencedInterfaceChargeDarkReference","visibility":"public","evidence_level":"source_static"}, +{"id":"python-12b2b1ddad5b0390","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/quasi_fermi_steady_state.py","route_id":"route-1c35c1275d46d863","origin_key":"python:perovskite_sim.experiments.quasi_fermi_steady_state.QuasiFermiJVSweepResult","qualified_name":"perovskite_sim.experiments.quasi_fermi_steady_state.QuasiFermiJVSweepResult","visibility":"public","evidence_level":"source_static"}, +{"id":"python-d07461904775ded9","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/quasi_fermi_steady_state.py","route_id":"route-1c35c1275d46d863","origin_key":"python:perovskite_sim.experiments.quasi_fermi_steady_state.QuasiFermiJVSweepResult.certified","qualified_name":"perovskite_sim.experiments.quasi_fermi_steady_state.QuasiFermiJVSweepResult.certified","visibility":"public","evidence_level":"source_static"}, +{"id":"python-62aed9dac9cf849b","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/quasi_fermi_steady_state.py","route_id":"route-1c35c1275d46d863","origin_key":"python:perovskite_sim.experiments.quasi_fermi_steady_state.QuasiFermiJVSweepResult.metrics_certified","qualified_name":"perovskite_sim.experiments.quasi_fermi_steady_state.QuasiFermiJVSweepResult.metrics_certified","visibility":"public","evidence_level":"source_static"}, +{"id":"python-d8961f3946d3655f","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/quasi_fermi_steady_state.py","route_id":"route-1c35c1275d46d863","origin_key":"python:perovskite_sim.experiments.quasi_fermi_steady_state.QuasiFermiSteadyStateError","qualified_name":"perovskite_sim.experiments.quasi_fermi_steady_state.QuasiFermiSteadyStateError","visibility":"public","evidence_level":"source_static"}, +{"id":"python-ec2a1546676a92bc","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/quasi_fermi_steady_state.py","route_id":"route-1c35c1275d46d863","origin_key":"python:perovskite_sim.experiments.quasi_fermi_steady_state.QuasiFermiSteadyStateResult","qualified_name":"perovskite_sim.experiments.quasi_fermi_steady_state.QuasiFermiSteadyStateResult","visibility":"public","evidence_level":"source_static"}, +{"id":"python-66e3d376c5f4fb5f","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/quasi_fermi_steady_state.py","route_id":"route-1c35c1275d46d863","origin_key":"python:perovskite_sim.experiments.quasi_fermi_steady_state._Evaluation","qualified_name":"perovskite_sim.experiments.quasi_fermi_steady_state._Evaluation","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-bcd27ed879c40bea","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/quasi_fermi_steady_state.py","route_id":"route-1c35c1275d46d863","origin_key":"python:perovskite_sim.experiments.quasi_fermi_steady_state._QuasiFermiSystem","qualified_name":"perovskite_sim.experiments.quasi_fermi_steady_state._QuasiFermiSystem","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-02a9e71d5c530851","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/quasi_fermi_steady_state.py","route_id":"route-1c35c1275d46d863","origin_key":"python:perovskite_sim.experiments.quasi_fermi_steady_state._QuasiFermiSystem.__init__","qualified_name":"perovskite_sim.experiments.quasi_fermi_steady_state._QuasiFermiSystem.__init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-4d3a65ba0d40e6c5","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/quasi_fermi_steady_state.py","route_id":"route-1c35c1275d46d863","origin_key":"python:perovskite_sim.experiments.quasi_fermi_steady_state._QuasiFermiSystem._add_interface_sheet_charge_to_poisson","qualified_name":"perovskite_sim.experiments.quasi_fermi_steady_state._QuasiFermiSystem._add_interface_sheet_charge_to_poisson","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-5ca1c0a6f4579723","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/quasi_fermi_steady_state.py","route_id":"route-1c35c1275d46d863","origin_key":"python:perovskite_sim.experiments.quasi_fermi_steady_state._QuasiFermiSystem._bulk_space_charge_and_tangent","qualified_name":"perovskite_sim.experiments.quasi_fermi_steady_state._QuasiFermiSystem._bulk_space_charge_and_tangent","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-ba65c0e0751738f1","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/quasi_fermi_steady_state.py","route_id":"route-1c35c1275d46d863","origin_key":"python:perovskite_sim.experiments.quasi_fermi_steady_state._QuasiFermiSystem._evaluate_charged_poisson_system","qualified_name":"perovskite_sim.experiments.quasi_fermi_steady_state._QuasiFermiSystem._evaluate_charged_poisson_system","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-69c5c69621fbccca","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/quasi_fermi_steady_state.py","route_id":"route-1c35c1275d46d863","origin_key":"python:perovskite_sim.experiments.quasi_fermi_steady_state._QuasiFermiSystem._evaluate_fixed_interface_poisson_system","qualified_name":"perovskite_sim.experiments.quasi_fermi_steady_state._QuasiFermiSystem._evaluate_fixed_interface_poisson_system","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-32d508c7b9e6ae20","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/quasi_fermi_steady_state.py","route_id":"route-1c35c1275d46d863","origin_key":"python:perovskite_sim.experiments.quasi_fermi_steady_state._QuasiFermiSystem._evaluate_increments","qualified_name":"perovskite_sim.experiments.quasi_fermi_steady_state._QuasiFermiSystem._evaluate_increments","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-78bdc952ec691b54","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/quasi_fermi_steady_state.py","route_id":"route-1c35c1275d46d863","origin_key":"python:perovskite_sim.experiments.quasi_fermi_steady_state._QuasiFermiSystem._expand_independent_edge_drops","qualified_name":"perovskite_sim.experiments.quasi_fermi_steady_state._QuasiFermiSystem._expand_independent_edge_drops","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-3148ab88503e13b1","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/quasi_fermi_steady_state.py","route_id":"route-1c35c1275d46d863","origin_key":"python:perovskite_sim.experiments.quasi_fermi_steady_state._QuasiFermiSystem._solve_charged_poisson","qualified_name":"perovskite_sim.experiments.quasi_fermi_steady_state._QuasiFermiSystem._solve_charged_poisson","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-a67c4b69dce2573a","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/quasi_fermi_steady_state.py","route_id":"route-1c35c1275d46d863","origin_key":"python:perovskite_sim.experiments.quasi_fermi_steady_state._QuasiFermiSystem._solve_fixed_interface_poisson","qualified_name":"perovskite_sim.experiments.quasi_fermi_steady_state._QuasiFermiSystem._solve_fixed_interface_poisson","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-b2e327c5e770fd11","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/quasi_fermi_steady_state.py","route_id":"route-1c35c1275d46d863","origin_key":"python:perovskite_sim.experiments.quasi_fermi_steady_state._QuasiFermiSystem._solve_poisson","qualified_name":"perovskite_sim.experiments.quasi_fermi_steady_state._QuasiFermiSystem._solve_poisson","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-4114a370c327a3fd","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/quasi_fermi_steady_state.py","route_id":"route-1c35c1275d46d863","origin_key":"python:perovskite_sim.experiments.quasi_fermi_steady_state._QuasiFermiSystem._stable_difference","qualified_name":"perovskite_sim.experiments.quasi_fermi_steady_state._QuasiFermiSystem._stable_difference","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-c310c35a28e3d83c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/quasi_fermi_steady_state.py","route_id":"route-1c35c1275d46d863","origin_key":"python:perovskite_sim.experiments.quasi_fermi_steady_state._QuasiFermiSystem.edge_coordinates_to_increments","qualified_name":"perovskite_sim.experiments.quasi_fermi_steady_state._QuasiFermiSystem.edge_coordinates_to_increments","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-7a33e763e65606d5","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/quasi_fermi_steady_state.py","route_id":"route-1c35c1275d46d863","origin_key":"python:perovskite_sim.experiments.quasi_fermi_steady_state._QuasiFermiSystem.evaluate","qualified_name":"perovskite_sim.experiments.quasi_fermi_steady_state._QuasiFermiSystem.evaluate","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-46107b5187024489","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/quasi_fermi_steady_state.py","route_id":"route-1c35c1275d46d863","origin_key":"python:perovskite_sim.experiments.quasi_fermi_steady_state._QuasiFermiSystem.evaluate_edge_coordinates","qualified_name":"perovskite_sim.experiments.quasi_fermi_steady_state._QuasiFermiSystem.evaluate_edge_coordinates","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-52fc99843a670ad5","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/quasi_fermi_steady_state.py","route_id":"route-1c35c1275d46d863","origin_key":"python:perovskite_sim.experiments.quasi_fermi_steady_state._QuasiFermiSystem.evaluate_quasi_fermi","qualified_name":"perovskite_sim.experiments.quasi_fermi_steady_state._QuasiFermiSystem.evaluate_quasi_fermi","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-e6abff419da8abd8","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/quasi_fermi_steady_state.py","route_id":"route-1c35c1275d46d863","origin_key":"python:perovskite_sim.experiments.quasi_fermi_steady_state._QuasiFermiSystem.evaluate_quasi_fermi_increments","qualified_name":"perovskite_sim.experiments.quasi_fermi_steady_state._QuasiFermiSystem.evaluate_quasi_fermi_increments","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-3a36ffdb99f3c547","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/quasi_fermi_steady_state.py","route_id":"route-1c35c1275d46d863","origin_key":"python:perovskite_sim.experiments.quasi_fermi_steady_state._QuasiFermiSystem.evaluate_quasi_fermi_increments_defect_ion_combined","qualified_name":"perovskite_sim.experiments.quasi_fermi_steady_state._QuasiFermiSystem.evaluate_quasi_fermi_increments_defect_ion_combined","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-2018266f9c4068b6","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/quasi_fermi_steady_state.py","route_id":"route-1c35c1275d46d863","origin_key":"python:perovskite_sim.experiments.quasi_fermi_steady_state._QuasiFermiSystem.evaluate_quasi_fermi_increments_dynamic_bulk","qualified_name":"perovskite_sim.experiments.quasi_fermi_steady_state._QuasiFermiSystem.evaluate_quasi_fermi_increments_dynamic_bulk","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-ef942be56a719e73","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/quasi_fermi_steady_state.py","route_id":"route-1c35c1275d46d863","origin_key":"python:perovskite_sim.experiments.quasi_fermi_steady_state._QuasiFermiSystem.evaluate_quasi_fermi_increments_dynamic_interface","qualified_name":"perovskite_sim.experiments.quasi_fermi_steady_state._QuasiFermiSystem.evaluate_quasi_fermi_increments_dynamic_interface","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-7dbd825f94746682","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/quasi_fermi_steady_state.py","route_id":"route-1c35c1275d46d863","origin_key":"python:perovskite_sim.experiments.quasi_fermi_steady_state._abrupt_interface_faces","qualified_name":"perovskite_sim.experiments.quasi_fermi_steady_state._abrupt_interface_faces","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-321baccd3c9144c1","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/quasi_fermi_steady_state.py","route_id":"route-1c35c1275d46d863","origin_key":"python:perovskite_sim.experiments.quasi_fermi_steady_state._build_qf_material","qualified_name":"perovskite_sim.experiments.quasi_fermi_steady_state._build_qf_material","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-734ef29e4152fdc2","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/quasi_fermi_steady_state.py","route_id":"route-1c35c1275d46d863","origin_key":"python:perovskite_sim.experiments.quasi_fermi_steady_state._defect_aware_neutral_carriers","qualified_name":"perovskite_sim.experiments.quasi_fermi_steady_state._defect_aware_neutral_carriers","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-0062e5f43e09fb2f","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/quasi_fermi_steady_state.py","route_id":"route-1c35c1275d46d863","origin_key":"python:perovskite_sim.experiments.quasi_fermi_steady_state._density_from_log","qualified_name":"perovskite_sim.experiments.quasi_fermi_steady_state._density_from_log","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-33f1c7d75880f3db","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/quasi_fermi_steady_state.py","route_id":"route-1c35c1275d46d863","origin_key":"python:perovskite_sim.experiments.quasi_fermi_steady_state._interface_positions","qualified_name":"perovskite_sim.experiments.quasi_fermi_steady_state._interface_positions","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-4b37f6ea73388c86","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/quasi_fermi_steady_state.py","route_id":"route-1c35c1275d46d863","origin_key":"python:perovskite_sim.experiments.quasi_fermi_steady_state._layer_is_multivalent","qualified_name":"perovskite_sim.experiments.quasi_fermi_steady_state._layer_is_multivalent","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-5c9b72aac17d8d31","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/quasi_fermi_steady_state.py","route_id":"route-1c35c1275d46d863","origin_key":"python:perovskite_sim.experiments.quasi_fermi_steady_state._pin_mask","qualified_name":"perovskite_sim.experiments.quasi_fermi_steady_state._pin_mask","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-7799ea7fe061547e","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/quasi_fermi_steady_state.py","route_id":"route-1c35c1275d46d863","origin_key":"python:perovskite_sim.experiments.quasi_fermi_steady_state._prepare_two_sided_material","qualified_name":"perovskite_sim.experiments.quasi_fermi_steady_state._prepare_two_sided_material","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-0e56b20356b44d18","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/quasi_fermi_steady_state.py","route_id":"route-1c35c1275d46d863","origin_key":"python:perovskite_sim.experiments.quasi_fermi_steady_state._regrid_edge_drops","qualified_name":"perovskite_sim.experiments.quasi_fermi_steady_state._regrid_edge_drops","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-a2f0863955ad2f9a","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/quasi_fermi_steady_state.py","route_id":"route-1c35c1275d46d863","origin_key":"python:perovskite_sim.experiments.quasi_fermi_steady_state._require_equilibrium_referenced_research_stack","qualified_name":"perovskite_sim.experiments.quasi_fermi_steady_state._require_equilibrium_referenced_research_stack","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-12358c244097ae9b","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/quasi_fermi_steady_state.py","route_id":"route-1c35c1275d46d863","origin_key":"python:perovskite_sim.experiments.quasi_fermi_steady_state._require_material_defect_contract","qualified_name":"perovskite_sim.experiments.quasi_fermi_steady_state._require_material_defect_contract","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-509190b15f32ec48","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/quasi_fermi_steady_state.py","route_id":"route-1c35c1275d46d863","origin_key":"python:perovskite_sim.experiments.quasi_fermi_steady_state._require_supported","qualified_name":"perovskite_sim.experiments.quasi_fermi_steady_state._require_supported","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-765672b6c3e8a287","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/quasi_fermi_steady_state.py","route_id":"route-1c35c1275d46d863","origin_key":"python:perovskite_sim.experiments.quasi_fermi_steady_state._research_array_sha256","qualified_name":"perovskite_sim.experiments.quasi_fermi_steady_state._research_array_sha256","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-9ce46275fdc0b110","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/quasi_fermi_steady_state.py","route_id":"route-1c35c1275d46d863","origin_key":"python:perovskite_sim.experiments.quasi_fermi_steady_state._research_charge_off_stack","qualified_name":"perovskite_sim.experiments.quasi_fermi_steady_state._research_charge_off_stack","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-0c8bf2af33bdc35f","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/quasi_fermi_steady_state.py","route_id":"route-1c35c1275d46d863","origin_key":"python:perovskite_sim.experiments.quasi_fermi_steady_state._solve_newton_stage","qualified_name":"perovskite_sim.experiments.quasi_fermi_steady_state._solve_newton_stage","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-344a7261ae7d323d","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/quasi_fermi_steady_state.py","route_id":"route-1c35c1275d46d863","origin_key":"python:perovskite_sim.experiments.quasi_fermi_steady_state._stack_has_charged_explicit_defects","qualified_name":"perovskite_sim.experiments.quasi_fermi_steady_state._stack_has_charged_explicit_defects","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-e6d76287a12b2d2e","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/quasi_fermi_steady_state.py","route_id":"route-1c35c1275d46d863","origin_key":"python:perovskite_sim.experiments.quasi_fermi_steady_state._stack_has_distributed_explicit_defects","qualified_name":"perovskite_sim.experiments.quasi_fermi_steady_state._stack_has_distributed_explicit_defects","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-852f2e282b083c61","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/quasi_fermi_steady_state.py","route_id":"route-1c35c1275d46d863","origin_key":"python:perovskite_sim.experiments.quasi_fermi_steady_state._stack_has_multivalent_explicit_defects","qualified_name":"perovskite_sim.experiments.quasi_fermi_steady_state._stack_has_multivalent_explicit_defects","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-7e2ea8d5ca0407bb","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/quasi_fermi_steady_state.py","route_id":"route-1c35c1275d46d863","origin_key":"python:perovskite_sim.experiments.quasi_fermi_steady_state._stack_has_spatial_explicit_defects","qualified_name":"perovskite_sim.experiments.quasi_fermi_steady_state._stack_has_spatial_explicit_defects","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-b5bb70c3fb09fd3b","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/quasi_fermi_steady_state.py","route_id":"route-1c35c1275d46d863","origin_key":"python:perovskite_sim.experiments.quasi_fermi_steady_state._stack_requires_monovalent_qf_dc","qualified_name":"perovskite_sim.experiments.quasi_fermi_steady_state._stack_requires_monovalent_qf_dc","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-848c34674e965704","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/quasi_fermi_steady_state.py","route_id":"route-1c35c1275d46d863","origin_key":"python:perovskite_sim.experiments.quasi_fermi_steady_state._transport_balanced_seed","qualified_name":"perovskite_sim.experiments.quasi_fermi_steady_state._transport_balanced_seed","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-897144288ae6e76f","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/quasi_fermi_steady_state.py","route_id":"route-1c35c1275d46d863","origin_key":"python:perovskite_sim.experiments.quasi_fermi_steady_state._validate_illumination_steps","qualified_name":"perovskite_sim.experiments.quasi_fermi_steady_state._validate_illumination_steps","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-198807da38094da0","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/quasi_fermi_steady_state.py","route_id":"route-1c35c1275d46d863","origin_key":"python:perovskite_sim.experiments.quasi_fermi_steady_state.build_equilibrium_referenced_interface_charge_dark_reference","qualified_name":"perovskite_sim.experiments.quasi_fermi_steady_state.build_equilibrium_referenced_interface_charge_dark_reference","visibility":"public","evidence_level":"source_static"}, +{"id":"python-08334a67d0197d58","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/quasi_fermi_steady_state.py","route_id":"route-1c35c1275d46d863","origin_key":"python:perovskite_sim.experiments.quasi_fermi_steady_state.build_two_sided_trace_grid","qualified_name":"perovskite_sim.experiments.quasi_fermi_steady_state.build_two_sided_trace_grid","visibility":"public","evidence_level":"source_static"}, +{"id":"python-028fc9f2796c4dd8","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/quasi_fermi_steady_state.py","route_id":"route-1c35c1275d46d863","origin_key":"python:perovskite_sim.experiments.quasi_fermi_steady_state.solve_equilibrium_referenced_interface_charge_steady_state","qualified_name":"perovskite_sim.experiments.quasi_fermi_steady_state.solve_equilibrium_referenced_interface_charge_steady_state","visibility":"public","evidence_level":"source_static"}, +{"id":"python-e9c756b463ab3c35","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/quasi_fermi_steady_state.py","route_id":"route-1c35c1275d46d863","origin_key":"python:perovskite_sim.experiments.quasi_fermi_steady_state.solve_quasi_fermi_jv_sweep","qualified_name":"perovskite_sim.experiments.quasi_fermi_steady_state.solve_quasi_fermi_jv_sweep","visibility":"public","evidence_level":"source_static"}, +{"id":"python-29f5d0e884e65b0e","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/quasi_fermi_steady_state.py","route_id":"route-1c35c1275d46d863","origin_key":"python:perovskite_sim.experiments.quasi_fermi_steady_state.solve_quasi_fermi_steady_state","qualified_name":"perovskite_sim.experiments.quasi_fermi_steady_state.solve_quasi_fermi_steady_state","visibility":"public","evidence_level":"source_static"}, +{"id":"python-8b2e9e01eeb37904","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/steady_state.py","route_id":"route-e968e8702b679dff","origin_key":"python:perovskite_sim.experiments.steady_state.JVSweepSSResult","qualified_name":"perovskite_sim.experiments.steady_state.JVSweepSSResult","visibility":"public","evidence_level":"source_static"}, +{"id":"python-496115a4e34917a6","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/steady_state.py","route_id":"route-e968e8702b679dff","origin_key":"python:perovskite_sim.experiments.steady_state.SteadyStateError","qualified_name":"perovskite_sim.experiments.steady_state.SteadyStateError","visibility":"public","evidence_level":"source_static"}, +{"id":"python-125c6f4aedd05e71","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/steady_state.py","route_id":"route-e968e8702b679dff","origin_key":"python:perovskite_sim.experiments.steady_state.SteadyStateError.__init__","qualified_name":"perovskite_sim.experiments.steady_state.SteadyStateError.__init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-32b8366faf093164","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/steady_state.py","route_id":"route-e968e8702b679dff","origin_key":"python:perovskite_sim.experiments.steady_state.SteadyStateResult","qualified_name":"perovskite_sim.experiments.steady_state.SteadyStateResult","visibility":"public","evidence_level":"source_static"}, +{"id":"python-97452e3ccb623ff2","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/steady_state.py","route_id":"route-e968e8702b679dff","origin_key":"python:perovskite_sim.experiments.steady_state.SteadyStateResult.residual_converged","qualified_name":"perovskite_sim.experiments.steady_state.SteadyStateResult.residual_converged","visibility":"public","evidence_level":"source_static"}, +{"id":"python-560155bf2abd25ab","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/steady_state.py","route_id":"route-e968e8702b679dff","origin_key":"python:perovskite_sim.experiments.steady_state._damped_newton","qualified_name":"perovskite_sim.experiments.steady_state._damped_newton","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-6b15a6dcacf036b5","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/steady_state.py","route_id":"route-e968e8702b679dff","origin_key":"python:perovskite_sim.experiments.steady_state._enable_iface_states","qualified_name":"perovskite_sim.experiments.steady_state._enable_iface_states","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-51eebf4266b93a50","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/steady_state.py","route_id":"route-e968e8702b679dff","origin_key":"python:perovskite_sim.experiments.steady_state._ensure_iface_block","qualified_name":"perovskite_sim.experiments.steady_state._ensure_iface_block","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-cbeb168e4e0ad439","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/steady_state.py","route_id":"route-e968e8702b679dff","origin_key":"python:perovskite_sim.experiments.steady_state._grid_for","qualified_name":"perovskite_sim.experiments.steady_state._grid_for","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-ceb8f01187b51151","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/steady_state.py","route_id":"route-e968e8702b679dff","origin_key":"python:perovskite_sim.experiments.steady_state._gummel_point","qualified_name":"perovskite_sim.experiments.steady_state._gummel_point","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-10869b68bbb63b6f","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/steady_state.py","route_id":"route-e968e8702b679dff","origin_key":"python:perovskite_sim.experiments.steady_state._phi_from_y","qualified_name":"perovskite_sim.experiments.steady_state._phi_from_y","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-0a873b932485e7ae","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/steady_state.py","route_id":"route-e968e8702b679dff","origin_key":"python:perovskite_sim.experiments.steady_state._pin_mask","qualified_name":"perovskite_sim.experiments.steady_state._pin_mask","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-ab8abe7be7913a4e","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/steady_state.py","route_id":"route-e968e8702b679dff","origin_key":"python:perovskite_sim.experiments.steady_state._qfl_poisson_relax","qualified_name":"perovskite_sim.experiments.steady_state._qfl_poisson_relax","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-e5e9cc7be5ba88b1","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/steady_state.py","route_id":"route-e968e8702b679dff","origin_key":"python:perovskite_sim.experiments.steady_state._relative_log_residual_fn","qualified_name":"perovskite_sim.experiments.steady_state._relative_log_residual_fn","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-419832d5ac68c516","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/steady_state.py","route_id":"route-e968e8702b679dff","origin_key":"python:perovskite_sim.experiments.steady_state._residual_fn","qualified_name":"perovskite_sim.experiments.steady_state._residual_fn","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-b83be92343095423","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/steady_state.py","route_id":"route-e968e8702b679dff","origin_key":"python:perovskite_sim.experiments.steady_state._transient_point_fallback","qualified_name":"perovskite_sim.experiments.steady_state._transient_point_fallback","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-36d4bb6a94a719f4","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/steady_state.py","route_id":"route-e968e8702b679dff","origin_key":"python:perovskite_sim.experiments.steady_state.run_jv_sweep_ss","qualified_name":"perovskite_sim.experiments.steady_state.run_jv_sweep_ss","visibility":"public","evidence_level":"source_static"}, +{"id":"python-cbad1107542f737b","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/steady_state.py","route_id":"route-e968e8702b679dff","origin_key":"python:perovskite_sim.experiments.steady_state.solve_steady_state","qualified_name":"perovskite_sim.experiments.steady_state.solve_steady_state","visibility":"public","evidence_level":"source_static"}, +{"id":"python-d28d7cf9a4e763c1","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/steady_state.py","route_id":"route-e968e8702b679dff","origin_key":"python:perovskite_sim.experiments.steady_state.solve_voc_ss","qualified_name":"perovskite_sim.experiments.steady_state.solve_voc_ss","visibility":"public","evidence_level":"source_static"}, +{"id":"python-b698d4793189a6c6","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/suns_voc.py","route_id":"route-dad900bc285405c9","origin_key":"python:perovskite_sim.experiments.suns_voc.SunsVocResult","qualified_name":"perovskite_sim.experiments.suns_voc.SunsVocResult","visibility":"public","evidence_level":"source_static"}, +{"id":"python-32f6be9f63bb8836","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/suns_voc.py","route_id":"route-dad900bc285405c9","origin_key":"python:perovskite_sim.experiments.suns_voc._compute_pseudo_ff","qualified_name":"perovskite_sim.experiments.suns_voc._compute_pseudo_ff","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-0747725df26a8f96","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/suns_voc.py","route_id":"route-dad900bc285405c9","origin_key":"python:perovskite_sim.experiments.suns_voc._materialise_G_optical","qualified_name":"perovskite_sim.experiments.suns_voc._materialise_G_optical","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-7308dd9d0261e3e4","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/suns_voc.py","route_id":"route-dad900bc285405c9","origin_key":"python:perovskite_sim.experiments.suns_voc._solve_illuminated_ss_with_mat","qualified_name":"perovskite_sim.experiments.suns_voc._solve_illuminated_ss_with_mat","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-df6342e83467778f","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/suns_voc.py","route_id":"route-dad900bc285405c9","origin_key":"python:perovskite_sim.experiments.suns_voc.build_suns_voc_experiment_protocol","qualified_name":"perovskite_sim.experiments.suns_voc.build_suns_voc_experiment_protocol","visibility":"public","evidence_level":"source_static"}, +{"id":"python-c1bf0dfcc099c480","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/suns_voc.py","route_id":"route-dad900bc285405c9","origin_key":"python:perovskite_sim.experiments.suns_voc.run_suns_voc","qualified_name":"perovskite_sim.experiments.suns_voc.run_suns_voc","visibility":"public","evidence_level":"source_static"}, +{"id":"python-a430f6cf16ded76c","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/tandem_jv.py","route_id":"route-c0ff0a667c4cc9dd","origin_key":"python:perovskite_sim.experiments.tandem_jv.TandemJVResult","qualified_name":"perovskite_sim.experiments.tandem_jv.TandemJVResult","visibility":"public","evidence_level":"source_static"}, +{"id":"python-ba72f9f105c61c2a","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/tandem_jv.py","route_id":"route-c0ff0a667c4cc9dd","origin_key":"python:perovskite_sim.experiments.tandem_jv.run_tandem_jv","qualified_name":"perovskite_sim.experiments.tandem_jv.run_tandem_jv","visibility":"public","evidence_level":"source_static"}, +{"id":"python-25be5b071db63058","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/tandem_jv.py","route_id":"route-c0ff0a667c4cc9dd","origin_key":"python:perovskite_sim.experiments.tandem_jv.series_match_jv","qualified_name":"perovskite_sim.experiments.tandem_jv.series_match_jv","visibility":"public","evidence_level":"source_static"}, +{"id":"python-0f46203ceba6f449","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/thermal_balance.py","route_id":"route-f1a859a308a3d395","origin_key":"python:perovskite_sim.experiments.thermal_balance.LumpedThermalProtocol","qualified_name":"perovskite_sim.experiments.thermal_balance.LumpedThermalProtocol","visibility":"public","evidence_level":"source_static"}, +{"id":"python-fdcd7f24d7c19d9b","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/thermal_balance.py","route_id":"route-f1a859a308a3d395","origin_key":"python:perovskite_sim.experiments.thermal_balance.LumpedThermalProtocol.__post_init__","qualified_name":"perovskite_sim.experiments.thermal_balance.LumpedThermalProtocol.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-3038a99dbcf693fd","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/thermal_balance.py","route_id":"route-f1a859a308a3d395","origin_key":"python:perovskite_sim.experiments.thermal_balance.LumpedThermalProtocol.canonical_json","qualified_name":"perovskite_sim.experiments.thermal_balance.LumpedThermalProtocol.canonical_json","visibility":"public","evidence_level":"source_static"}, +{"id":"python-db6b29d7ceeab2b8","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/thermal_balance.py","route_id":"route-f1a859a308a3d395","origin_key":"python:perovskite_sim.experiments.thermal_balance.LumpedThermalProtocol.from_dict","qualified_name":"perovskite_sim.experiments.thermal_balance.LumpedThermalProtocol.from_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-399dfc5a5dbc9206","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/thermal_balance.py","route_id":"route-f1a859a308a3d395","origin_key":"python:perovskite_sim.experiments.thermal_balance.LumpedThermalProtocol.sha256","qualified_name":"perovskite_sim.experiments.thermal_balance.LumpedThermalProtocol.sha256","visibility":"public","evidence_level":"source_static"}, +{"id":"python-dcb9ca3e99d86cee","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/thermal_balance.py","route_id":"route-f1a859a308a3d395","origin_key":"python:perovskite_sim.experiments.thermal_balance.LumpedThermalProtocol.to_dict","qualified_name":"perovskite_sim.experiments.thermal_balance.LumpedThermalProtocol.to_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-2ef9167029b3d4a1","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/thermal_balance.py","route_id":"route-f1a859a308a3d395","origin_key":"python:perovskite_sim.experiments.thermal_balance.LumpedThermalSteadyStateResult","qualified_name":"perovskite_sim.experiments.thermal_balance.LumpedThermalSteadyStateResult","visibility":"public","evidence_level":"source_static"}, +{"id":"python-be9e702b2a5c7fa4","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/thermal_balance.py","route_id":"route-f1a859a308a3d395","origin_key":"python:perovskite_sim.experiments.thermal_balance.LumpedThermalSteadyStateResult.__post_init__","qualified_name":"perovskite_sim.experiments.thermal_balance.LumpedThermalSteadyStateResult.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-8cc744a585dfcfc0","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/thermal_balance.py","route_id":"route-f1a859a308a3d395","origin_key":"python:perovskite_sim.experiments.thermal_balance.LumpedThermalTransientResult","qualified_name":"perovskite_sim.experiments.thermal_balance.LumpedThermalTransientResult","visibility":"public","evidence_level":"source_static"}, +{"id":"python-c610568d2184b0b6","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/thermal_balance.py","route_id":"route-f1a859a308a3d395","origin_key":"python:perovskite_sim.experiments.thermal_balance.LumpedThermalTransientResult.__post_init__","qualified_name":"perovskite_sim.experiments.thermal_balance.LumpedThermalTransientResult.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-e3309070459cf0b4","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/thermal_balance.py","route_id":"route-f1a859a308a3d395","origin_key":"python:perovskite_sim.experiments.thermal_balance.ThermalBalanceError","qualified_name":"perovskite_sim.experiments.thermal_balance.ThermalBalanceError","visibility":"public","evidence_level":"source_static"}, +{"id":"python-32f4ad047abf8cab","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/thermal_balance.py","route_id":"route-f1a859a308a3d395","origin_key":"python:perovskite_sim.experiments.thermal_balance.ThermalEnergySourceError","qualified_name":"perovskite_sim.experiments.thermal_balance.ThermalEnergySourceError","visibility":"public","evidence_level":"source_static"}, +{"id":"python-496c13f3a773968c","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/thermal_balance.py","route_id":"route-f1a859a308a3d395","origin_key":"python:perovskite_sim.experiments.thermal_balance.ThermalIntegrationProtocol","qualified_name":"perovskite_sim.experiments.thermal_balance.ThermalIntegrationProtocol","visibility":"public","evidence_level":"source_static"}, +{"id":"python-4f0322d0d5c1ad6d","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/thermal_balance.py","route_id":"route-f1a859a308a3d395","origin_key":"python:perovskite_sim.experiments.thermal_balance.ThermalIntegrationProtocol.__post_init__","qualified_name":"perovskite_sim.experiments.thermal_balance.ThermalIntegrationProtocol.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-60bb3be53dc5ef09","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/thermal_balance.py","route_id":"route-f1a859a308a3d395","origin_key":"python:perovskite_sim.experiments.thermal_balance.ThermalIntegrationProtocol.canonical_json","qualified_name":"perovskite_sim.experiments.thermal_balance.ThermalIntegrationProtocol.canonical_json","visibility":"public","evidence_level":"source_static"}, +{"id":"python-8fb82ea161d04c0a","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/thermal_balance.py","route_id":"route-f1a859a308a3d395","origin_key":"python:perovskite_sim.experiments.thermal_balance.ThermalIntegrationProtocol.from_dict","qualified_name":"perovskite_sim.experiments.thermal_balance.ThermalIntegrationProtocol.from_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-2d5c53c6158e0efa","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/thermal_balance.py","route_id":"route-f1a859a308a3d395","origin_key":"python:perovskite_sim.experiments.thermal_balance.ThermalIntegrationProtocol.sha256","qualified_name":"perovskite_sim.experiments.thermal_balance.ThermalIntegrationProtocol.sha256","visibility":"public","evidence_level":"source_static"}, +{"id":"python-ca219fc688b03b21","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/thermal_balance.py","route_id":"route-f1a859a308a3d395","origin_key":"python:perovskite_sim.experiments.thermal_balance.ThermalIntegrationProtocol.to_dict","qualified_name":"perovskite_sim.experiments.thermal_balance.ThermalIntegrationProtocol.to_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-0819edbcb31f0e63","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/thermal_balance.py","route_id":"route-f1a859a308a3d395","origin_key":"python:perovskite_sim.experiments.thermal_balance.ThermalPowerLedger","qualified_name":"perovskite_sim.experiments.thermal_balance.ThermalPowerLedger","visibility":"public","evidence_level":"source_static"}, +{"id":"python-bde86fb3019ffc13","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/thermal_balance.py","route_id":"route-f1a859a308a3d395","origin_key":"python:perovskite_sim.experiments.thermal_balance.ThermalPowerLedger.__post_init__","qualified_name":"perovskite_sim.experiments.thermal_balance.ThermalPowerLedger.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-360e3bb0e1ef93a9","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/thermal_balance.py","route_id":"route-f1a859a308a3d395","origin_key":"python:perovskite_sim.experiments.thermal_balance.ThermalSteadyStateError","qualified_name":"perovskite_sim.experiments.thermal_balance.ThermalSteadyStateError","visibility":"public","evidence_level":"source_static"}, +{"id":"python-b3509d651e21cc94","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/thermal_balance.py","route_id":"route-f1a859a308a3d395","origin_key":"python:perovskite_sim.experiments.thermal_balance.ThermalTransientError","qualified_name":"perovskite_sim.experiments.thermal_balance.ThermalTransientError","visibility":"public","evidence_level":"source_static"}, +{"id":"python-28115098391daa80","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/thermal_balance.py","route_id":"route-f1a859a308a3d395","origin_key":"python:perovskite_sim.experiments.thermal_balance._canonical_json","qualified_name":"perovskite_sim.experiments.thermal_balance._canonical_json","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-8b5a23733a5611bd","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/thermal_balance.py","route_id":"route-f1a859a308a3d395","origin_key":"python:perovskite_sim.experiments.thermal_balance._electrical_output","qualified_name":"perovskite_sim.experiments.thermal_balance._electrical_output","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-16f29a4e11ba0596","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/thermal_balance.py","route_id":"route-f1a859a308a3d395","origin_key":"python:perovskite_sim.experiments.thermal_balance._finite_real","qualified_name":"perovskite_sim.experiments.thermal_balance._finite_real","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-d1b057c321751621","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/thermal_balance.py","route_id":"route-f1a859a308a3d395","origin_key":"python:perovskite_sim.experiments.thermal_balance._json_ready","qualified_name":"perovskite_sim.experiments.thermal_balance._json_ready","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-22ee76543d1e5467","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/thermal_balance.py","route_id":"route-f1a859a308a3d395","origin_key":"python:perovskite_sim.experiments.thermal_balance._mapping_sha256","qualified_name":"perovskite_sim.experiments.thermal_balance._mapping_sha256","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-ec51369a2d0989c2","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/thermal_balance.py","route_id":"route-f1a859a308a3d395","origin_key":"python:perovskite_sim.experiments.thermal_balance._nonnegative","qualified_name":"perovskite_sim.experiments.thermal_balance._nonnegative","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-8c4ed0f18539edbb","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/thermal_balance.py","route_id":"route-f1a859a308a3d395","origin_key":"python:perovskite_sim.experiments.thermal_balance._positive","qualified_name":"perovskite_sim.experiments.thermal_balance._positive","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-5b3d2a4f3467020d","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/thermal_balance.py","route_id":"route-f1a859a308a3d395","origin_key":"python:perovskite_sim.experiments.thermal_balance._positive_integer","qualified_name":"perovskite_sim.experiments.thermal_balance._positive_integer","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-073f811d429bcb5a","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/thermal_balance.py","route_id":"route-f1a859a308a3d395","origin_key":"python:perovskite_sim.experiments.thermal_balance._readonly_vector","qualified_name":"perovskite_sim.experiments.thermal_balance._readonly_vector","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-040eccec3145146b","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/thermal_balance.py","route_id":"route-f1a859a308a3d395","origin_key":"python:perovskite_sim.experiments.thermal_balance._require_exact_keys","qualified_name":"perovskite_sim.experiments.thermal_balance._require_exact_keys","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-c7b062be1a443ce4","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/thermal_balance.py","route_id":"route-f1a859a308a3d395","origin_key":"python:perovskite_sim.experiments.thermal_balance._require_sha256","qualified_name":"perovskite_sim.experiments.thermal_balance._require_sha256","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-38459a7404b39334","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/thermal_balance.py","route_id":"route-f1a859a308a3d395","origin_key":"python:perovskite_sim.experiments.thermal_balance.run_lumped_thermal_transient","qualified_name":"perovskite_sim.experiments.thermal_balance.run_lumped_thermal_transient","visibility":"public","evidence_level":"source_static"}, +{"id":"python-c4c911501972a261","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/thermal_balance.py","route_id":"route-f1a859a308a3d395","origin_key":"python:perovskite_sim.experiments.thermal_balance.solve_lumped_thermal_steady_state","qualified_name":"perovskite_sim.experiments.thermal_balance.solve_lumped_thermal_steady_state","visibility":"public","evidence_level":"source_static"}, +{"id":"python-9358019e3e74b986","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/thermal_balance.py","route_id":"route-f1a859a308a3d395","origin_key":"python:perovskite_sim.experiments.thermal_balance.thermal_power_ledger","qualified_name":"perovskite_sim.experiments.thermal_balance.thermal_power_ledger","visibility":"public","evidence_level":"source_static"}, +{"id":"python-0016a52e9594366c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/tpv.py","route_id":"route-a09f453482a461e1","origin_key":"python:perovskite_sim.experiments.tpv._find_voc","qualified_name":"perovskite_sim.experiments.tpv._find_voc","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-ab97ed3d72d84e13","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/tpv.py","route_id":"route-a09f453482a461e1","origin_key":"python:perovskite_sim.experiments.tpv._fit_decay_tau","qualified_name":"perovskite_sim.experiments.tpv._fit_decay_tau","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-f4d0daf9b1e380d3","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/tpv.py","route_id":"route-a09f453482a461e1","origin_key":"python:perovskite_sim.experiments.tpv._tpv_sampling_times","qualified_name":"perovskite_sim.experiments.tpv._tpv_sampling_times","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-5c3a80f98c51c76a","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/tpv.py","route_id":"route-a09f453482a461e1","origin_key":"python:perovskite_sim.experiments.tpv.build_tpv_experiment_protocol","qualified_name":"perovskite_sim.experiments.tpv.build_tpv_experiment_protocol","visibility":"public","evidence_level":"source_static"}, +{"id":"python-a2cf99946a4cb08c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/tpv.py","route_id":"route-a09f453482a461e1","origin_key":"python:perovskite_sim.experiments.tpv.fit_tpv_decay","qualified_name":"perovskite_sim.experiments.tpv.fit_tpv_decay","visibility":"public","evidence_level":"source_static"}, +{"id":"python-07e5db9fb30478a0","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/tpv.py","route_id":"route-a09f453482a461e1","origin_key":"python:perovskite_sim.experiments.tpv.run_tpv","qualified_name":"perovskite_sim.experiments.tpv.run_tpv","visibility":"public","evidence_level":"source_static"}, +{"id":"python-5d8e902138ef2c9c","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/trap_small_signal.py","route_id":"route-a2dac88b7495c3ed","origin_key":"python:perovskite_sim.experiments.trap_small_signal.TrapFrequencyWindowAssessment","qualified_name":"perovskite_sim.experiments.trap_small_signal.TrapFrequencyWindowAssessment","visibility":"public","evidence_level":"source_static"}, +{"id":"python-82f48362010bad74","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/trap_small_signal.py","route_id":"route-a2dac88b7495c3ed","origin_key":"python:perovskite_sim.experiments.trap_small_signal.TrapSmallSignalCertificate","qualified_name":"perovskite_sim.experiments.trap_small_signal.TrapSmallSignalCertificate","visibility":"public","evidence_level":"source_static"}, +{"id":"python-416e8a884e04de2e","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/trap_small_signal.py","route_id":"route-a2dac88b7495c3ed","origin_key":"python:perovskite_sim.experiments.trap_small_signal.TrapSmallSignalCertificationError","qualified_name":"perovskite_sim.experiments.trap_small_signal.TrapSmallSignalCertificationError","visibility":"public","evidence_level":"source_static"}, +{"id":"python-9f28433618bfcde9","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/trap_small_signal.py","route_id":"route-a2dac88b7495c3ed","origin_key":"python:perovskite_sim.experiments.trap_small_signal.TrapSmallSignalCertificationError.__init__","qualified_name":"perovskite_sim.experiments.trap_small_signal.TrapSmallSignalCertificationError.__init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-d8484a2da9deed9f","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/trap_small_signal.py","route_id":"route-a2dac88b7495c3ed","origin_key":"python:perovskite_sim.experiments.trap_small_signal.TrapSmallSignalPerturbation","qualified_name":"perovskite_sim.experiments.trap_small_signal.TrapSmallSignalPerturbation","visibility":"public","evidence_level":"source_static"}, +{"id":"python-45a7003967a00e32","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/trap_small_signal.py","route_id":"route-a2dac88b7495c3ed","origin_key":"python:perovskite_sim.experiments.trap_small_signal.TrapSmallSignalPerturbation.__post_init__","qualified_name":"perovskite_sim.experiments.trap_small_signal.TrapSmallSignalPerturbation.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-bfe1e9e512932e5b","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/trap_small_signal.py","route_id":"route-a2dac88b7495c3ed","origin_key":"python:perovskite_sim.experiments.trap_small_signal.TrapSmallSignalPerturbation.canonical_json","qualified_name":"perovskite_sim.experiments.trap_small_signal.TrapSmallSignalPerturbation.canonical_json","visibility":"public","evidence_level":"source_static"}, +{"id":"python-5675aae8d13c28e8","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/trap_small_signal.py","route_id":"route-a2dac88b7495c3ed","origin_key":"python:perovskite_sim.experiments.trap_small_signal.TrapSmallSignalPerturbation.from_dict","qualified_name":"perovskite_sim.experiments.trap_small_signal.TrapSmallSignalPerturbation.from_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-9213436ffb1b7345","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/trap_small_signal.py","route_id":"route-a2dac88b7495c3ed","origin_key":"python:perovskite_sim.experiments.trap_small_signal.TrapSmallSignalPerturbation.from_json","qualified_name":"perovskite_sim.experiments.trap_small_signal.TrapSmallSignalPerturbation.from_json","visibility":"public","evidence_level":"source_static"}, +{"id":"python-02e8f893b18a8616","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/trap_small_signal.py","route_id":"route-a2dac88b7495c3ed","origin_key":"python:perovskite_sim.experiments.trap_small_signal.TrapSmallSignalPerturbation.sha256","qualified_name":"perovskite_sim.experiments.trap_small_signal.TrapSmallSignalPerturbation.sha256","visibility":"public","evidence_level":"source_static"}, +{"id":"python-25bbc958b075bf2b","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/trap_small_signal.py","route_id":"route-a2dac88b7495c3ed","origin_key":"python:perovskite_sim.experiments.trap_small_signal.TrapSmallSignalPerturbation.to_dict","qualified_name":"perovskite_sim.experiments.trap_small_signal.TrapSmallSignalPerturbation.to_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-9d334fc6907b0be3","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/trap_small_signal.py","route_id":"route-a2dac88b7495c3ed","origin_key":"python:perovskite_sim.experiments.trap_small_signal.TrapSmallSignalProtocol","qualified_name":"perovskite_sim.experiments.trap_small_signal.TrapSmallSignalProtocol","visibility":"public","evidence_level":"source_static"}, +{"id":"python-d849c9503ed2861c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/trap_small_signal.py","route_id":"route-a2dac88b7495c3ed","origin_key":"python:perovskite_sim.experiments.trap_small_signal.TrapSmallSignalProtocol.__post_init__","qualified_name":"perovskite_sim.experiments.trap_small_signal.TrapSmallSignalProtocol.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-bd4c70003eb94ca0","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/trap_small_signal.py","route_id":"route-a2dac88b7495c3ed","origin_key":"python:perovskite_sim.experiments.trap_small_signal.TrapSmallSignalProtocol.canonical_json","qualified_name":"perovskite_sim.experiments.trap_small_signal.TrapSmallSignalProtocol.canonical_json","visibility":"public","evidence_level":"source_static"}, +{"id":"python-7d0937dbaeb9fe28","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/trap_small_signal.py","route_id":"route-a2dac88b7495c3ed","origin_key":"python:perovskite_sim.experiments.trap_small_signal.TrapSmallSignalProtocol.from_dict","qualified_name":"perovskite_sim.experiments.trap_small_signal.TrapSmallSignalProtocol.from_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-24786dda9baa5ba8","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/trap_small_signal.py","route_id":"route-a2dac88b7495c3ed","origin_key":"python:perovskite_sim.experiments.trap_small_signal.TrapSmallSignalProtocol.from_json","qualified_name":"perovskite_sim.experiments.trap_small_signal.TrapSmallSignalProtocol.from_json","visibility":"public","evidence_level":"source_static"}, +{"id":"python-639b1f2688d42a98","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/trap_small_signal.py","route_id":"route-a2dac88b7495c3ed","origin_key":"python:perovskite_sim.experiments.trap_small_signal.TrapSmallSignalProtocol.protocol_hash","qualified_name":"perovskite_sim.experiments.trap_small_signal.TrapSmallSignalProtocol.protocol_hash","visibility":"public","evidence_level":"source_static"}, +{"id":"python-53d13eaf847ac2a9","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/trap_small_signal.py","route_id":"route-a2dac88b7495c3ed","origin_key":"python:perovskite_sim.experiments.trap_small_signal.TrapSmallSignalProtocol.to_dict","qualified_name":"perovskite_sim.experiments.trap_small_signal.TrapSmallSignalProtocol.to_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-677f12fc1227dc40","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/trap_small_signal.py","route_id":"route-a2dac88b7495c3ed","origin_key":"python:perovskite_sim.experiments.trap_small_signal.TrapSmallSignalProtocolError","qualified_name":"perovskite_sim.experiments.trap_small_signal.TrapSmallSignalProtocolError","visibility":"public","evidence_level":"source_static"}, +{"id":"python-e6a854e693db5091","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/trap_small_signal.py","route_id":"route-a2dac88b7495c3ed","origin_key":"python:perovskite_sim.experiments.trap_small_signal.TrapSmallSignalResult","qualified_name":"perovskite_sim.experiments.trap_small_signal.TrapSmallSignalResult","visibility":"public","evidence_level":"source_static"}, +{"id":"python-c265ca1c21d14977","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/trap_small_signal.py","route_id":"route-a2dac88b7495c3ed","origin_key":"python:perovskite_sim.experiments.trap_small_signal._canonical_json","qualified_name":"perovskite_sim.experiments.trap_small_signal._canonical_json","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-62526b8d62a9f7d4","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/trap_small_signal.py","route_id":"route-a2dac88b7495c3ed","origin_key":"python:perovskite_sim.experiments.trap_small_signal._conjugate_symmetry_error","qualified_name":"perovskite_sim.experiments.trap_small_signal._conjugate_symmetry_error","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-037a5ead8b3b8e5f","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/trap_small_signal.py","route_id":"route-a2dac88b7495c3ed","origin_key":"python:perovskite_sim.experiments.trap_small_signal._exact_schema","qualified_name":"perovskite_sim.experiments.trap_small_signal._exact_schema","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-200c598a7a5ccc75","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/trap_small_signal.py","route_id":"route-a2dac88b7495c3ed","origin_key":"python:perovskite_sim.experiments.trap_small_signal._finite","qualified_name":"perovskite_sim.experiments.trap_small_signal._finite","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-4115da76368ca24e","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/trap_small_signal.py","route_id":"route-a2dac88b7495c3ed","origin_key":"python:perovskite_sim.experiments.trap_small_signal._nonnegative","qualified_name":"perovskite_sim.experiments.trap_small_signal._nonnegative","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-fad2fff18c251c66","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/trap_small_signal.py","route_id":"route-a2dac88b7495c3ed","origin_key":"python:perovskite_sim.experiments.trap_small_signal._positive","qualified_name":"perovskite_sim.experiments.trap_small_signal._positive","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-7faa89c321b8c9c6","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/trap_small_signal.py","route_id":"route-a2dac88b7495c3ed","origin_key":"python:perovskite_sim.experiments.trap_small_signal._relative_error","qualified_name":"perovskite_sim.experiments.trap_small_signal._relative_error","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-f3f8533738a3e3ef","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/trap_small_signal.py","route_id":"route-a2dac88b7495c3ed","origin_key":"python:perovskite_sim.experiments.trap_small_signal._sha256","qualified_name":"perovskite_sim.experiments.trap_small_signal._sha256","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-e7e591a59a93647a","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/trap_small_signal.py","route_id":"route-a2dac88b7495c3ed","origin_key":"python:perovskite_sim.experiments.trap_small_signal.assess_trap_frequency_window","qualified_name":"perovskite_sim.experiments.trap_small_signal.assess_trap_frequency_window","visibility":"public","evidence_level":"source_static"}, +{"id":"python-41c9e44f69acc7d2","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/trap_small_signal.py","route_id":"route-a2dac88b7495c3ed","origin_key":"python:perovskite_sim.experiments.trap_small_signal.build_trap_small_signal_protocol","qualified_name":"perovskite_sim.experiments.trap_small_signal.build_trap_small_signal_protocol","visibility":"public","evidence_level":"source_static"}, +{"id":"python-355b4b4ae7584a2b","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/trap_small_signal.py","route_id":"route-a2dac88b7495c3ed","origin_key":"python:perovskite_sim.experiments.trap_small_signal.run_local_trap_small_signal","qualified_name":"perovskite_sim.experiments.trap_small_signal.run_local_trap_small_signal","visibility":"public","evidence_level":"source_static"}, +{"id":"python-3eeec57dd487483d","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/voc_t.py","route_id":"route-e0172633acf9b737","origin_key":"python:perovskite_sim.experiments.voc_t._linear_fit","qualified_name":"perovskite_sim.experiments.voc_t._linear_fit","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-fd753ea02137ee94","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/voc_t.py","route_id":"route-e0172633acf9b737","origin_key":"python:perovskite_sim.experiments.voc_t.run_voc_t","qualified_name":"perovskite_sim.experiments.voc_t.run_voc_t","visibility":"public","evidence_level":"source_static"}, +{"id":"python-7902c6b5ecca77b6","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/waveform_jacobian.py","route_id":"route-565d1407a29fab5a","origin_key":"python:perovskite_sim.experiments.waveform_jacobian.WaveformJacobianCapabilityError","qualified_name":"perovskite_sim.experiments.waveform_jacobian.WaveformJacobianCapabilityError","visibility":"public","evidence_level":"source_static"}, +{"id":"python-fe0ab601b35047a8","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/waveform_jacobian.py","route_id":"route-565d1407a29fab5a","origin_key":"python:perovskite_sim.experiments.waveform_jacobian.build_waveform_density_jacobian","qualified_name":"perovskite_sim.experiments.waveform_jacobian.build_waveform_density_jacobian","visibility":"public","evidence_level":"source_static"}, +{"id":"python-d1174caa871ab0c5","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/waveform_jv.py","route_id":"route-00e5ec97ad8c8b8a","origin_key":"python:perovskite_sim.experiments.waveform_jv.JVWaveform","qualified_name":"perovskite_sim.experiments.waveform_jv.JVWaveform","visibility":"public","evidence_level":"source_static"}, +{"id":"python-6b736d68c97962b5","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/waveform_jv.py","route_id":"route-00e5ec97ad8c8b8a","origin_key":"python:perovskite_sim.experiments.waveform_jv.JVWaveform.__post_init__","qualified_name":"perovskite_sim.experiments.waveform_jv.JVWaveform.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-6ee563a7abd86438","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/waveform_jv.py","route_id":"route-00e5ec97ad8c8b8a","origin_key":"python:perovskite_sim.experiments.waveform_jv.JVWaveform.from_dict","qualified_name":"perovskite_sim.experiments.waveform_jv.JVWaveform.from_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-5b48caab024b5332","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/experiments/waveform_jv.py","route_id":"route-00e5ec97ad8c8b8a","origin_key":"python:perovskite_sim.experiments.waveform_jv.WaveformJVResult","qualified_name":"perovskite_sim.experiments.waveform_jv.WaveformJVResult","visibility":"public","evidence_level":"source_static"}, +{"id":"python-603ad1b2465233ae","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/waveform_jv.py","route_id":"route-00e5ec97ad8c8b8a","origin_key":"python:perovskite_sim.experiments.waveform_jv.build_waveform_protocol","qualified_name":"perovskite_sim.experiments.waveform_jv.build_waveform_protocol","visibility":"public","evidence_level":"source_static"}, +{"id":"python-ecf61c4b86783cfa","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/waveform_jv.py","route_id":"route-00e5ec97ad8c8b8a","origin_key":"python:perovskite_sim.experiments.waveform_jv.run_waveform_jv","qualified_name":"perovskite_sim.experiments.waveform_jv.run_waveform_jv","visibility":"public","evidence_level":"source_static"}, +{"id":"python-41e77daf6353695c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/waveform_jv.py","route_id":"route-00e5ec97ad8c8b8a","origin_key":"python:perovskite_sim.experiments.waveform_jv.uniform_absorber_generation","qualified_name":"perovskite_sim.experiments.waveform_jv.uniform_absorber_generation","visibility":"public","evidence_level":"source_static"}, +{"id":"python-c7b903fbc308b7c6","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/experiments/waveform_jv.py","route_id":"route-00e5ec97ad8c8b8a","origin_key":"python:perovskite_sim.experiments.waveform_jv.voltage_samples","qualified_name":"perovskite_sim.experiments.waveform_jv.voltage_samples","visibility":"public","evidence_level":"source_static"}, +{"id":"python-431a77ca2713768c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/config_loader.py","route_id":"route-5c68cb43cf0f80a0","origin_key":"python:perovskite_sim.models.config_loader._f","qualified_name":"perovskite_sim.models.config_loader._f","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-d73d06b89b153e1f","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/config_loader.py","route_id":"route-5c68cb43cf0f80a0","origin_key":"python:perovskite_sim.models.config_loader._parse_bool","qualified_name":"perovskite_sim.models.config_loader._parse_bool","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-d245017f38846b34","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/config_loader.py","route_id":"route-5c68cb43cf0f80a0","origin_key":"python:perovskite_sim.models.config_loader.built_in_potential_fields_from_device_dict","qualified_name":"perovskite_sim.models.config_loader.built_in_potential_fields_from_device_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-34f1a6211cb96eb1","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/config_loader.py","route_id":"route-5c68cb43cf0f80a0","origin_key":"python:perovskite_sim.models.config_loader.electrical_grid_from_config_dict","qualified_name":"perovskite_sim.models.config_loader.electrical_grid_from_config_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-a57d40b5bae10832","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/config_loader.py","route_id":"route-5c68cb43cf0f80a0","origin_key":"python:perovskite_sim.models.config_loader.interface_charge_fields_from_device_dict","qualified_name":"perovskite_sim.models.config_loader.interface_charge_fields_from_device_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-6264b86835695c0d","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/config_loader.py","route_id":"route-5c68cb43cf0f80a0","origin_key":"python:perovskite_sim.models.config_loader.interfaces_from_device_dict","qualified_name":"perovskite_sim.models.config_loader.interfaces_from_device_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-e1905a713cc9b714","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/config_loader.py","route_id":"route-5c68cb43cf0f80a0","origin_key":"python:perovskite_sim.models.config_loader.load_device_from_yaml","qualified_name":"perovskite_sim.models.config_loader.load_device_from_yaml","visibility":"public","evidence_level":"source_static"}, +{"id":"python-dd86e2016b025b31","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/config_loader.py","route_id":"route-5c68cb43cf0f80a0","origin_key":"python:perovskite_sim.models.config_loader.load_simulation_hints","qualified_name":"perovskite_sim.models.config_loader.load_simulation_hints","visibility":"public","evidence_level":"source_static"}, +{"id":"python-16d28d2065b88c22","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/config_loader.py","route_id":"route-5c68cb43cf0f80a0","origin_key":"python:perovskite_sim.models.config_loader.material_params_from_dict","qualified_name":"perovskite_sim.models.config_loader.material_params_from_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-1cb2c481c050f570","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/models/current.py","route_id":"route-6ae8e3c7ef27223f","origin_key":"python:perovskite_sim.models.current.CurrentComponents","qualified_name":"perovskite_sim.models.current.CurrentComponents","visibility":"public","evidence_level":"source_static"}, +{"id":"python-f74465351e70de93","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/models/current.py","route_id":"route-6ae8e3c7ef27223f","origin_key":"python:perovskite_sim.models.current.IonicCurrentComponents","qualified_name":"perovskite_sim.models.current.IonicCurrentComponents","visibility":"public","evidence_level":"source_static"}, +{"id":"python-c99c0ad797293dc4","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/models/defects.py","route_id":"route-b800342e538ea2d1","origin_key":"python:perovskite_sim.models.defects.BulkDefectDistribution","qualified_name":"perovskite_sim.models.defects.BulkDefectDistribution","visibility":"public","evidence_level":"source_static"}, +{"id":"python-b243a0aed42aad18","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/defects.py","route_id":"route-b800342e538ea2d1","origin_key":"python:perovskite_sim.models.defects.BulkDefectDistribution.__post_init__","qualified_name":"perovskite_sim.models.defects.BulkDefectDistribution.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-07e8d90f46496564","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/defects.py","route_id":"route-b800342e538ea2d1","origin_key":"python:perovskite_sim.models.defects.BulkDefectDistribution.from_dict","qualified_name":"perovskite_sim.models.defects.BulkDefectDistribution.from_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-97efea37b921898f","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/defects.py","route_id":"route-b800342e538ea2d1","origin_key":"python:perovskite_sim.models.defects.BulkDefectDistribution.support_bounds_eV","qualified_name":"perovskite_sim.models.defects.BulkDefectDistribution.support_bounds_eV","visibility":"public","evidence_level":"source_static"}, +{"id":"python-d922909d8ffacc61","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/defects.py","route_id":"route-b800342e538ea2d1","origin_key":"python:perovskite_sim.models.defects.BulkDefectDistribution.to_dict","qualified_name":"perovskite_sim.models.defects.BulkDefectDistribution.to_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-f814c87c852fb0c8","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/defects.py","route_id":"route-b800342e538ea2d1","origin_key":"python:perovskite_sim.models.defects.BulkDefectDistribution.v1_compatible","qualified_name":"perovskite_sim.models.defects.BulkDefectDistribution.v1_compatible","visibility":"public","evidence_level":"source_static"}, +{"id":"python-3a22ba1682c542dd","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/defects.py","route_id":"route-b800342e538ea2d1","origin_key":"python:perovskite_sim.models.defects.BulkDefectDistribution.v2_ready","qualified_name":"perovskite_sim.models.defects.BulkDefectDistribution.v2_ready","visibility":"public","evidence_level":"source_static"}, +{"id":"python-0ca29d9430271dbf","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/defects.py","route_id":"route-b800342e538ea2d1","origin_key":"python:perovskite_sim.models.defects.BulkDefectDistribution.validate_band_gap","qualified_name":"perovskite_sim.models.defects.BulkDefectDistribution.validate_band_gap","visibility":"public","evidence_level":"source_static"}, +{"id":"python-668efab673ea9a0c","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/models/defects.py","route_id":"route-b800342e538ea2d1","origin_key":"python:perovskite_sim.models.defects.BulkDefectDocument","qualified_name":"perovskite_sim.models.defects.BulkDefectDocument","visibility":"public","evidence_level":"source_static"}, +{"id":"python-dac4eaac771b0deb","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/defects.py","route_id":"route-b800342e538ea2d1","origin_key":"python:perovskite_sim.models.defects.BulkDefectDocument.__post_init__","qualified_name":"perovskite_sim.models.defects.BulkDefectDocument.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-f4c7ebce39bbc5bf","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/defects.py","route_id":"route-b800342e538ea2d1","origin_key":"python:perovskite_sim.models.defects.BulkDefectDocument.canonical_json","qualified_name":"perovskite_sim.models.defects.BulkDefectDocument.canonical_json","visibility":"public","evidence_level":"source_static"}, +{"id":"python-74c633df3327d580","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/defects.py","route_id":"route-b800342e538ea2d1","origin_key":"python:perovskite_sim.models.defects.BulkDefectDocument.from_dict","qualified_name":"perovskite_sim.models.defects.BulkDefectDocument.from_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-3cde7efab209e8fc","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/defects.py","route_id":"route-b800342e538ea2d1","origin_key":"python:perovskite_sim.models.defects.BulkDefectDocument.sha256","qualified_name":"perovskite_sim.models.defects.BulkDefectDocument.sha256","visibility":"public","evidence_level":"source_static"}, +{"id":"python-b9230f1a5a827c4a","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/defects.py","route_id":"route-b800342e538ea2d1","origin_key":"python:perovskite_sim.models.defects.BulkDefectDocument.to_dict","qualified_name":"perovskite_sim.models.defects.BulkDefectDocument.to_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-5aa65039f4e1a7a2","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/defects.py","route_id":"route-b800342e538ea2d1","origin_key":"python:perovskite_sim.models.defects.BulkDefectDocument.validate_band_gap","qualified_name":"perovskite_sim.models.defects.BulkDefectDocument.validate_band_gap","visibility":"public","evidence_level":"source_static"}, +{"id":"python-60dbfa26265ec2ce","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/models/defects.py","route_id":"route-b800342e538ea2d1","origin_key":"python:perovskite_sim.models.defects.BulkDefectKinetics","qualified_name":"perovskite_sim.models.defects.BulkDefectKinetics","visibility":"public","evidence_level":"source_static"}, +{"id":"python-66f9e67352208e99","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/defects.py","route_id":"route-b800342e538ea2d1","origin_key":"python:perovskite_sim.models.defects.BulkDefectKinetics.__post_init__","qualified_name":"perovskite_sim.models.defects.BulkDefectKinetics.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-62e564ab30a91d65","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/defects.py","route_id":"route-b800342e538ea2d1","origin_key":"python:perovskite_sim.models.defects.BulkDefectKinetics.from_dict","qualified_name":"perovskite_sim.models.defects.BulkDefectKinetics.from_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-6fa4d226da544184","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/defects.py","route_id":"route-b800342e538ea2d1","origin_key":"python:perovskite_sim.models.defects.BulkDefectKinetics.to_dict","qualified_name":"perovskite_sim.models.defects.BulkDefectKinetics.to_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-db261619458f70e9","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/models/defects.py","route_id":"route-b800342e538ea2d1","origin_key":"python:perovskite_sim.models.defects.BulkDefectSpatialKnot","qualified_name":"perovskite_sim.models.defects.BulkDefectSpatialKnot","visibility":"public","evidence_level":"source_static"}, +{"id":"python-965098a6ac6bf0f7","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/defects.py","route_id":"route-b800342e538ea2d1","origin_key":"python:perovskite_sim.models.defects.BulkDefectSpatialKnot.__post_init__","qualified_name":"perovskite_sim.models.defects.BulkDefectSpatialKnot.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-99b7b0931253b27f","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/defects.py","route_id":"route-b800342e538ea2d1","origin_key":"python:perovskite_sim.models.defects.BulkDefectSpatialKnot.from_dict","qualified_name":"perovskite_sim.models.defects.BulkDefectSpatialKnot.from_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-a1112cbea0e1183d","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/defects.py","route_id":"route-b800342e538ea2d1","origin_key":"python:perovskite_sim.models.defects.BulkDefectSpatialKnot.to_dict","qualified_name":"perovskite_sim.models.defects.BulkDefectSpatialKnot.to_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-7c56ec17604b9e3c","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/models/defects.py","route_id":"route-b800342e538ea2d1","origin_key":"python:perovskite_sim.models.defects.BulkDefectSpatialProfile","qualified_name":"perovskite_sim.models.defects.BulkDefectSpatialProfile","visibility":"public","evidence_level":"source_static"}, +{"id":"python-2f10ea6cac44e438","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/defects.py","route_id":"route-b800342e538ea2d1","origin_key":"python:perovskite_sim.models.defects.BulkDefectSpatialProfile.__post_init__","qualified_name":"perovskite_sim.models.defects.BulkDefectSpatialProfile.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-5efcba74710edf43","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/defects.py","route_id":"route-b800342e538ea2d1","origin_key":"python:perovskite_sim.models.defects.BulkDefectSpatialProfile.canonical_json","qualified_name":"perovskite_sim.models.defects.BulkDefectSpatialProfile.canonical_json","visibility":"public","evidence_level":"source_static"}, +{"id":"python-b95c1167de2aa2fb","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/defects.py","route_id":"route-b800342e538ea2d1","origin_key":"python:perovskite_sim.models.defects.BulkDefectSpatialProfile.density_multiplier_at","qualified_name":"perovskite_sim.models.defects.BulkDefectSpatialProfile.density_multiplier_at","visibility":"public","evidence_level":"source_static"}, +{"id":"python-a50fff0adb3872ad","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/defects.py","route_id":"route-b800342e538ea2d1","origin_key":"python:perovskite_sim.models.defects.BulkDefectSpatialProfile.from_dict","qualified_name":"perovskite_sim.models.defects.BulkDefectSpatialProfile.from_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-09524be7bda8d63a","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/defects.py","route_id":"route-b800342e538ea2d1","origin_key":"python:perovskite_sim.models.defects.BulkDefectSpatialProfile.is_uniform","qualified_name":"perovskite_sim.models.defects.BulkDefectSpatialProfile.is_uniform","visibility":"public","evidence_level":"source_static"}, +{"id":"python-1385afabcac7ae63","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/defects.py","route_id":"route-b800342e538ea2d1","origin_key":"python:perovskite_sim.models.defects.BulkDefectSpatialProfile.layer_average_multiplier","qualified_name":"perovskite_sim.models.defects.BulkDefectSpatialProfile.layer_average_multiplier","visibility":"public","evidence_level":"source_static"}, +{"id":"python-a023aa7e4153e99d","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/defects.py","route_id":"route-b800342e538ea2d1","origin_key":"python:perovskite_sim.models.defects.BulkDefectSpatialProfile.sha256","qualified_name":"perovskite_sim.models.defects.BulkDefectSpatialProfile.sha256","visibility":"public","evidence_level":"source_static"}, +{"id":"python-8e0742f5a156d614","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/defects.py","route_id":"route-b800342e538ea2d1","origin_key":"python:perovskite_sim.models.defects.BulkDefectSpatialProfile.to_dict","qualified_name":"perovskite_sim.models.defects.BulkDefectSpatialProfile.to_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-14ad2751fa8e5f47","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/models/defects.py","route_id":"route-b800342e538ea2d1","origin_key":"python:perovskite_sim.models.defects.BulkDefectSpecies","qualified_name":"perovskite_sim.models.defects.BulkDefectSpecies","visibility":"public","evidence_level":"source_static"}, +{"id":"python-087775255f802c97","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/defects.py","route_id":"route-b800342e538ea2d1","origin_key":"python:perovskite_sim.models.defects.BulkDefectSpecies.__post_init__","qualified_name":"perovskite_sim.models.defects.BulkDefectSpecies.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-61b3119dacb60612","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/defects.py","route_id":"route-b800342e538ea2d1","origin_key":"python:perovskite_sim.models.defects.BulkDefectSpecies.distributed_explicit_ready","qualified_name":"perovskite_sim.models.defects.BulkDefectSpecies.distributed_explicit_ready","visibility":"public","evidence_level":"source_static"}, +{"id":"python-e22cc64818a61805","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/defects.py","route_id":"route-b800342e538ea2d1","origin_key":"python:perovskite_sim.models.defects.BulkDefectSpecies.explicit_ready","qualified_name":"perovskite_sim.models.defects.BulkDefectSpecies.explicit_ready","visibility":"public","evidence_level":"source_static"}, +{"id":"python-5785620db1e33e9d","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/defects.py","route_id":"route-b800342e538ea2d1","origin_key":"python:perovskite_sim.models.defects.BulkDefectSpecies.from_dict","qualified_name":"perovskite_sim.models.defects.BulkDefectSpecies.from_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-aa1307566963d35a","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/defects.py","route_id":"route-b800342e538ea2d1","origin_key":"python:perovskite_sim.models.defects.BulkDefectSpecies.spatial_explicit_ready","qualified_name":"perovskite_sim.models.defects.BulkDefectSpecies.spatial_explicit_ready","visibility":"public","evidence_level":"source_static"}, +{"id":"python-4f03067ae5713e7f","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/defects.py","route_id":"route-b800342e538ea2d1","origin_key":"python:perovskite_sim.models.defects.BulkDefectSpecies.to_dict","qualified_name":"perovskite_sim.models.defects.BulkDefectSpecies.to_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-189b4d89d40350bb","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/defects.py","route_id":"route-b800342e538ea2d1","origin_key":"python:perovskite_sim.models.defects.BulkDefectSpecies.validate_band_gap","qualified_name":"perovskite_sim.models.defects.BulkDefectSpecies.validate_band_gap","visibility":"public","evidence_level":"source_static"}, +{"id":"python-e03cc4a1306119cf","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/models/defects.py","route_id":"route-b800342e538ea2d1","origin_key":"python:perovskite_sim.models.defects.ExplicitDefectCapabilityError","qualified_name":"perovskite_sim.models.defects.ExplicitDefectCapabilityError","visibility":"public","evidence_level":"source_static"}, +{"id":"python-efb2662740b48a48","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/models/defects.py","route_id":"route-b800342e538ea2d1","origin_key":"python:perovskite_sim.models.defects.ExplicitDefectSchemaError","qualified_name":"perovskite_sim.models.defects.ExplicitDefectSchemaError","visibility":"public","evidence_level":"source_static"}, +{"id":"python-7b4d5adf6e9cc589","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/defects.py","route_id":"route-b800342e538ea2d1","origin_key":"python:perovskite_sim.models.defects._decimal_scale","qualified_name":"perovskite_sim.models.defects._decimal_scale","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-34aeb848ee9ab61c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/defects.py","route_id":"route-b800342e538ea2d1","origin_key":"python:perovskite_sim.models.defects._finite_nonnegative","qualified_name":"perovskite_sim.models.defects._finite_nonnegative","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-7a767f9a61075c96","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/defects.py","route_id":"route-b800342e538ea2d1","origin_key":"python:perovskite_sim.models.defects._finite_positive","qualified_name":"perovskite_sim.models.defects._finite_positive","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-a196c01cbc21af6c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/defects.py","route_id":"route-b800342e538ea2d1","origin_key":"python:perovskite_sim.models.defects._require_exact_keys","qualified_name":"perovskite_sim.models.defects._require_exact_keys","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-4ab7e505edaced42","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/defects.py","route_id":"route-b800342e538ea2d1","origin_key":"python:perovskite_sim.models.defects.bulk_defect_document_from_layer_mapping","qualified_name":"perovskite_sim.models.defects.bulk_defect_document_from_layer_mapping","visibility":"public","evidence_level":"source_static"}, +{"id":"python-9484bda39a80f2ee","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/defects.py","route_id":"route-b800342e538ea2d1","origin_key":"python:perovskite_sim.models.defects.bulk_defect_species_at_layer_position","qualified_name":"perovskite_sim.models.defects.bulk_defect_species_at_layer_position","visibility":"public","evidence_level":"source_static"}, +{"id":"python-3236a6f767136d6e","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/defects.py","route_id":"route-b800342e538ea2d1","origin_key":"python:perovskite_sim.models.defects.bulk_defect_species_from_scaps_mapping","qualified_name":"perovskite_sim.models.defects.bulk_defect_species_from_scaps_mapping","visibility":"public","evidence_level":"source_static"}, +{"id":"python-0677c5953e03044c","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/models/device.py","route_id":"route-7e81c448796358a6","origin_key":"python:perovskite_sim.models.device.DeviceStack","qualified_name":"perovskite_sim.models.device.DeviceStack","visibility":"public","evidence_level":"source_static"}, +{"id":"python-1c174a768c2894e7","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/device.py","route_id":"route-7e81c448796358a6","origin_key":"python:perovskite_sim.models.device.DeviceStack.__post_init__","qualified_name":"perovskite_sim.models.device.DeviceStack.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-e04ac55ce4baed96","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/device.py","route_id":"route-7e81c448796358a6","origin_key":"python:perovskite_sim.models.device.DeviceStack.compute_V_bi","qualified_name":"perovskite_sim.models.device.DeviceStack.compute_V_bi","visibility":"public","evidence_level":"source_static"}, +{"id":"python-6e33395bf18bd41f","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/device.py","route_id":"route-7e81c448796358a6","origin_key":"python:perovskite_sim.models.device.DeviceStack.compute_metal_V_bi","qualified_name":"perovskite_sim.models.device.DeviceStack.compute_metal_V_bi","visibility":"public","evidence_level":"source_static"}, +{"id":"python-b5c1567741b6cfde","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/device.py","route_id":"route-7e81c448796358a6","origin_key":"python:perovskite_sim.models.device.DeviceStack.compute_semiconductor_V_bi","qualified_name":"perovskite_sim.models.device.DeviceStack.compute_semiconductor_V_bi","visibility":"public","evidence_level":"source_static"}, +{"id":"python-6bdb0eb6ae96c821","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/device.py","route_id":"route-7e81c448796358a6","origin_key":"python:perovskite_sim.models.device.DeviceStack.operating_built_in_potential","qualified_name":"perovskite_sim.models.device.DeviceStack.operating_built_in_potential","visibility":"public","evidence_level":"source_static"}, +{"id":"python-6e963d6a75312660","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/device.py","route_id":"route-7e81c448796358a6","origin_key":"python:perovskite_sim.models.device.DeviceStack.phi_right","qualified_name":"perovskite_sim.models.device.DeviceStack.phi_right","visibility":"public","evidence_level":"source_static"}, +{"id":"python-a815bdc67c304828","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/device.py","route_id":"route-7e81c448796358a6","origin_key":"python:perovskite_sim.models.device.DeviceStack.poisson_built_in_potential","qualified_name":"perovskite_sim.models.device.DeviceStack.poisson_built_in_potential","visibility":"public","evidence_level":"source_static"}, +{"id":"python-ec3952440c76c584","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/device.py","route_id":"route-7e81c448796358a6","origin_key":"python:perovskite_sim.models.device.DeviceStack.require_interface_charge_off","qualified_name":"perovskite_sim.models.device.DeviceStack.require_interface_charge_off","visibility":"public","evidence_level":"source_static"}, +{"id":"python-1fe8437a2d702e7d","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/device.py","route_id":"route-7e81c448796358a6","origin_key":"python:perovskite_sim.models.device.DeviceStack.resolved_built_in_potential_mode","qualified_name":"perovskite_sim.models.device.DeviceStack.resolved_built_in_potential_mode","visibility":"public","evidence_level":"source_static"}, +{"id":"python-ce4781370dab41bb","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/device.py","route_id":"route-7e81c448796358a6","origin_key":"python:perovskite_sim.models.device.DeviceStack.total_thickness","qualified_name":"perovskite_sim.models.device.DeviceStack.total_thickness","visibility":"public","evidence_level":"source_static"}, +{"id":"python-e69ad408a5460fe1","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/models/device.py","route_id":"route-7e81c448796358a6","origin_key":"python:perovskite_sim.models.device.InterfaceChargeClosureParkedError","qualified_name":"perovskite_sim.models.device.InterfaceChargeClosureParkedError","visibility":"public","evidence_level":"source_static"}, +{"id":"python-59d639445778f886","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/models/device.py","route_id":"route-7e81c448796358a6","origin_key":"python:perovskite_sim.models.device.InterfaceDefect","qualified_name":"perovskite_sim.models.device.InterfaceDefect","visibility":"public","evidence_level":"source_static"}, +{"id":"python-6eb123825e833d79","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/device.py","route_id":"route-7e81c448796358a6","origin_key":"python:perovskite_sim.models.device.InterfaceDefect.__post_init__","qualified_name":"perovskite_sim.models.device.InterfaceDefect.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-c26aa81ac16536c4","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/device.py","route_id":"route-7e81c448796358a6","origin_key":"python:perovskite_sim.models.device.InterfaceDefect.microscopic_capture_velocities_m_s","qualified_name":"perovskite_sim.models.device.InterfaceDefect.microscopic_capture_velocities_m_s","visibility":"public","evidence_level":"source_static"}, +{"id":"python-820fec26a3f032d3","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/models/device.py","route_id":"route-7e81c448796358a6","origin_key":"python:perovskite_sim.models.device.LayerSpec","qualified_name":"perovskite_sim.models.device.LayerSpec","visibility":"public","evidence_level":"source_static"}, +{"id":"python-00cddb64d59a6bff","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/models/device.py","route_id":"route-7e81c448796358a6","origin_key":"python:perovskite_sim.models.device.MicroscopicInterfaceDefectContractError","qualified_name":"perovskite_sim.models.device.MicroscopicInterfaceDefectContractError","visibility":"public","evidence_level":"source_static"}, +{"id":"python-bcb8b850de50628d","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/models/device.py","route_id":"route-7e81c448796358a6","origin_key":"python:perovskite_sim.models.device.UncalibratedMicroscopicInterfaceDefectContract","qualified_name":"perovskite_sim.models.device.UncalibratedMicroscopicInterfaceDefectContract","visibility":"public","evidence_level":"source_static"}, +{"id":"python-6f554b4175bf2c2c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/device.py","route_id":"route-7e81c448796358a6","origin_key":"python:perovskite_sim.models.device._edge_params","qualified_name":"perovskite_sim.models.device._edge_params","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-a28681011d285986","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/device.py","route_id":"route-7e81c448796358a6","origin_key":"python:perovskite_sim.models.device._fermi_level","qualified_name":"perovskite_sim.models.device._fermi_level","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-7a83b956a95140e9","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/device.py","route_id":"route-7e81c448796358a6","origin_key":"python:perovskite_sim.models.device._semiconductor_work_function","qualified_name":"perovskite_sim.models.device._semiconductor_work_function","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-f42a2d1d9c744c07","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/device.py","route_id":"route-7e81c448796358a6","origin_key":"python:perovskite_sim.models.device.bind_uncalibrated_microscopic_interface_defects","qualified_name":"perovskite_sim.models.device.bind_uncalibrated_microscopic_interface_defects","visibility":"public","evidence_level":"source_static"}, +{"id":"python-fe5874f2b27e6f9a","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/device.py","route_id":"route-7e81c448796358a6","origin_key":"python:perovskite_sim.models.device.electrical_interface_defects","qualified_name":"perovskite_sim.models.device.electrical_interface_defects","visibility":"public","evidence_level":"source_static"}, +{"id":"python-038d526692e82387","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/device.py","route_id":"route-7e81c448796358a6","origin_key":"python:perovskite_sim.models.device.electrical_interfaces","qualified_name":"perovskite_sim.models.device.electrical_interfaces","visibility":"public","evidence_level":"source_static"}, +{"id":"python-6cf2afd4c5fb3d08","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/device.py","route_id":"route-7e81c448796358a6","origin_key":"python:perovskite_sim.models.device.electrical_layers","qualified_name":"perovskite_sim.models.device.electrical_layers","visibility":"public","evidence_level":"source_static"}, +{"id":"python-51b627cb16608f26","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/device.py","route_id":"route-7e81c448796358a6","origin_key":"python:perovskite_sim.models.device.require_uncalibrated_microscopic_interface_defects","qualified_name":"perovskite_sim.models.device.require_uncalibrated_microscopic_interface_defects","visibility":"public","evidence_level":"source_static"}, +{"id":"python-daa4374f68b7a2a0","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/models/el.py","route_id":"route-ec4497e18dbf69e3","origin_key":"python:perovskite_sim.models.el.ELResult","qualified_name":"perovskite_sim.models.el.ELResult","visibility":"public","evidence_level":"source_static"}, +{"id":"python-3431fed8dd86e267","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/models/interface_defects.py","route_id":"route-47275d8cae52d1c6","origin_key":"python:perovskite_sim.models.interface_defects.ExplicitInterfaceDefectSchemaError","qualified_name":"perovskite_sim.models.interface_defects.ExplicitInterfaceDefectSchemaError","visibility":"public","evidence_level":"source_static"}, +{"id":"python-4772df55a449bc63","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/models/interface_defects.py","route_id":"route-47275d8cae52d1c6","origin_key":"python:perovskite_sim.models.interface_defects.InterfaceDefectDocument","qualified_name":"perovskite_sim.models.interface_defects.InterfaceDefectDocument","visibility":"public","evidence_level":"source_static"}, +{"id":"python-8d395ab1241d2bf8","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/interface_defects.py","route_id":"route-47275d8cae52d1c6","origin_key":"python:perovskite_sim.models.interface_defects.InterfaceDefectDocument.__post_init__","qualified_name":"perovskite_sim.models.interface_defects.InterfaceDefectDocument.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-97bcc45353a94107","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/interface_defects.py","route_id":"route-47275d8cae52d1c6","origin_key":"python:perovskite_sim.models.interface_defects.InterfaceDefectDocument.canonical_json","qualified_name":"perovskite_sim.models.interface_defects.InterfaceDefectDocument.canonical_json","visibility":"public","evidence_level":"source_static"}, +{"id":"python-98a913b9c21b74e8","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/interface_defects.py","route_id":"route-47275d8cae52d1c6","origin_key":"python:perovskite_sim.models.interface_defects.InterfaceDefectDocument.capture_velocities_m_s","qualified_name":"perovskite_sim.models.interface_defects.InterfaceDefectDocument.capture_velocities_m_s","visibility":"public","evidence_level":"source_static"}, +{"id":"python-90a7ac022c573c09","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/interface_defects.py","route_id":"route-47275d8cae52d1c6","origin_key":"python:perovskite_sim.models.interface_defects.InterfaceDefectDocument.capture_velocity_n_m_s","qualified_name":"perovskite_sim.models.interface_defects.InterfaceDefectDocument.capture_velocity_n_m_s","visibility":"public","evidence_level":"source_static"}, +{"id":"python-c8bc05138d4a0e10","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/interface_defects.py","route_id":"route-47275d8cae52d1c6","origin_key":"python:perovskite_sim.models.interface_defects.InterfaceDefectDocument.capture_velocity_p_m_s","qualified_name":"perovskite_sim.models.interface_defects.InterfaceDefectDocument.capture_velocity_p_m_s","visibility":"public","evidence_level":"source_static"}, +{"id":"python-a9afee1fe2efebb5","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/interface_defects.py","route_id":"route-47275d8cae52d1c6","origin_key":"python:perovskite_sim.models.interface_defects.InterfaceDefectDocument.from_dict","qualified_name":"perovskite_sim.models.interface_defects.InterfaceDefectDocument.from_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-91eca36320eb427e","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/interface_defects.py","route_id":"route-47275d8cae52d1c6","origin_key":"python:perovskite_sim.models.interface_defects.InterfaceDefectDocument.from_scaps_cgs","qualified_name":"perovskite_sim.models.interface_defects.InterfaceDefectDocument.from_scaps_cgs","visibility":"public","evidence_level":"source_static"}, +{"id":"python-07a8c6f4eff61ff0","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/interface_defects.py","route_id":"route-47275d8cae52d1c6","origin_key":"python:perovskite_sim.models.interface_defects.InterfaceDefectDocument.sha256","qualified_name":"perovskite_sim.models.interface_defects.InterfaceDefectDocument.sha256","visibility":"public","evidence_level":"source_static"}, +{"id":"python-8aab1b62387dd17f","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/interface_defects.py","route_id":"route-47275d8cae52d1c6","origin_key":"python:perovskite_sim.models.interface_defects.InterfaceDefectDocument.to_dict","qualified_name":"perovskite_sim.models.interface_defects.InterfaceDefectDocument.to_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-ebd4ede2faed1488","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/interface_defects.py","route_id":"route-47275d8cae52d1c6","origin_key":"python:perovskite_sim.models.interface_defects.InterfaceDefectDocument.to_scaps_cgs_fields","qualified_name":"perovskite_sim.models.interface_defects.InterfaceDefectDocument.to_scaps_cgs_fields","visibility":"public","evidence_level":"source_static"}, +{"id":"python-2a4a32adfd890a42","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/models/interface_defects.py","route_id":"route-47275d8cae52d1c6","origin_key":"python:perovskite_sim.models.interface_defects.InterfaceDefectKinetics","qualified_name":"perovskite_sim.models.interface_defects.InterfaceDefectKinetics","visibility":"public","evidence_level":"source_static"}, +{"id":"python-a2eb2b211b51d10a","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/interface_defects.py","route_id":"route-47275d8cae52d1c6","origin_key":"python:perovskite_sim.models.interface_defects.InterfaceDefectKinetics.__post_init__","qualified_name":"perovskite_sim.models.interface_defects.InterfaceDefectKinetics.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-439073066cdc4caa","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/interface_defects.py","route_id":"route-47275d8cae52d1c6","origin_key":"python:perovskite_sim.models.interface_defects.InterfaceDefectKinetics.capture_coefficient_n_m3_s","qualified_name":"perovskite_sim.models.interface_defects.InterfaceDefectKinetics.capture_coefficient_n_m3_s","visibility":"public","evidence_level":"source_static"}, +{"id":"python-608c2d25d5d724b8","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/interface_defects.py","route_id":"route-47275d8cae52d1c6","origin_key":"python:perovskite_sim.models.interface_defects.InterfaceDefectKinetics.capture_coefficient_p_m3_s","qualified_name":"perovskite_sim.models.interface_defects.InterfaceDefectKinetics.capture_coefficient_p_m3_s","visibility":"public","evidence_level":"source_static"}, +{"id":"python-2a1198364d75ce0b","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/interface_defects.py","route_id":"route-47275d8cae52d1c6","origin_key":"python:perovskite_sim.models.interface_defects.InterfaceDefectKinetics.from_dict","qualified_name":"perovskite_sim.models.interface_defects.InterfaceDefectKinetics.from_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-d55ef90c8b71bea3","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/interface_defects.py","route_id":"route-47275d8cae52d1c6","origin_key":"python:perovskite_sim.models.interface_defects.InterfaceDefectKinetics.to_dict","qualified_name":"perovskite_sim.models.interface_defects.InterfaceDefectKinetics.to_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-4ff9fb3cc2677ed0","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/interface_defects.py","route_id":"route-47275d8cae52d1c6","origin_key":"python:perovskite_sim.models.interface_defects._decimal_scale","qualified_name":"perovskite_sim.models.interface_defects._decimal_scale","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-dde3214c37ad83a7","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/interface_defects.py","route_id":"route-47275d8cae52d1c6","origin_key":"python:perovskite_sim.models.interface_defects._finite_nonnegative","qualified_name":"perovskite_sim.models.interface_defects._finite_nonnegative","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-e81436e72b938c5f","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/interface_defects.py","route_id":"route-47275d8cae52d1c6","origin_key":"python:perovskite_sim.models.interface_defects._finite_positive","qualified_name":"perovskite_sim.models.interface_defects._finite_positive","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-f9c523423779b655","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/interface_defects.py","route_id":"route-47275d8cae52d1c6","origin_key":"python:perovskite_sim.models.interface_defects._require_exact_keys","qualified_name":"perovskite_sim.models.interface_defects._require_exact_keys","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-b701feedd0df18ee","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/models/mode.py","route_id":"route-b981852fd14f7111","origin_key":"python:perovskite_sim.models.mode.SimulationMode","qualified_name":"perovskite_sim.models.mode.SimulationMode","visibility":"public","evidence_level":"source_static"}, +{"id":"python-bd918da8b773b0ae","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/mode.py","route_id":"route-b981852fd14f7111","origin_key":"python:perovskite_sim.models.mode.resolve_mode","qualified_name":"perovskite_sim.models.mode.resolve_mode","visibility":"public","evidence_level":"source_static"}, +{"id":"python-7bc2c87d5fffc435","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/models/multivalent_defects.py","route_id":"route-f2fb3894a767ab0b","origin_key":"python:perovskite_sim.models.multivalent_defects.MetastableConversionKinetics","qualified_name":"perovskite_sim.models.multivalent_defects.MetastableConversionKinetics","visibility":"public","evidence_level":"source_static"}, +{"id":"python-feedc8a34cabcd61","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/multivalent_defects.py","route_id":"route-f2fb3894a767ab0b","origin_key":"python:perovskite_sim.models.multivalent_defects.MetastableConversionKinetics.__post_init__","qualified_name":"perovskite_sim.models.multivalent_defects.MetastableConversionKinetics.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-2f51abd4b01d133d","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/multivalent_defects.py","route_id":"route-f2fb3894a767ab0b","origin_key":"python:perovskite_sim.models.multivalent_defects.MetastableConversionKinetics.from_dict","qualified_name":"perovskite_sim.models.multivalent_defects.MetastableConversionKinetics.from_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-052bec53ac409397","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/multivalent_defects.py","route_id":"route-f2fb3894a767ab0b","origin_key":"python:perovskite_sim.models.multivalent_defects.MetastableConversionKinetics.to_dict","qualified_name":"perovskite_sim.models.multivalent_defects.MetastableConversionKinetics.to_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-663d960764542028","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/multivalent_defects.py","route_id":"route-f2fb3894a767ab0b","origin_key":"python:perovskite_sim.models.multivalent_defects.MetastableConversionKinetics.validate_detailed_balance","qualified_name":"perovskite_sim.models.multivalent_defects.MetastableConversionKinetics.validate_detailed_balance","visibility":"public","evidence_level":"source_static"}, +{"id":"python-fb62423504213423","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/models/multivalent_defects.py","route_id":"route-f2fb3894a767ab0b","origin_key":"python:perovskite_sim.models.multivalent_defects.MetastableDefectDefinition","qualified_name":"perovskite_sim.models.multivalent_defects.MetastableDefectDefinition","visibility":"public","evidence_level":"source_static"}, +{"id":"python-36e426d38ca69359","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/multivalent_defects.py","route_id":"route-f2fb3894a767ab0b","origin_key":"python:perovskite_sim.models.multivalent_defects.MetastableDefectDefinition.__post_init__","qualified_name":"perovskite_sim.models.multivalent_defects.MetastableDefectDefinition.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-a86c6ceb447506a0","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/multivalent_defects.py","route_id":"route-f2fb3894a767ab0b","origin_key":"python:perovskite_sim.models.multivalent_defects.MetastableDefectDefinition.from_dict","qualified_name":"perovskite_sim.models.multivalent_defects.MetastableDefectDefinition.from_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-c8022b4327728780","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/multivalent_defects.py","route_id":"route-f2fb3894a767ab0b","origin_key":"python:perovskite_sim.models.multivalent_defects.MetastableDefectDefinition.to_dict","qualified_name":"perovskite_sim.models.multivalent_defects.MetastableDefectDefinition.to_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-a6a9732756a34119","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/multivalent_defects.py","route_id":"route-f2fb3894a767ab0b","origin_key":"python:perovskite_sim.models.multivalent_defects.MetastableDefectDefinition.validate_band_gap","qualified_name":"perovskite_sim.models.multivalent_defects.MetastableDefectDefinition.validate_band_gap","visibility":"public","evidence_level":"source_static"}, +{"id":"python-6c3db3fdd9638a42","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/models/multivalent_defects.py","route_id":"route-f2fb3894a767ab0b","origin_key":"python:perovskite_sim.models.multivalent_defects.MetastableDefectDocument","qualified_name":"perovskite_sim.models.multivalent_defects.MetastableDefectDocument","visibility":"public","evidence_level":"source_static"}, +{"id":"python-1838e37d6049f3d8","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/multivalent_defects.py","route_id":"route-f2fb3894a767ab0b","origin_key":"python:perovskite_sim.models.multivalent_defects.MetastableDefectDocument.__post_init__","qualified_name":"perovskite_sim.models.multivalent_defects.MetastableDefectDocument.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-b31b0d112ad6094d","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/multivalent_defects.py","route_id":"route-f2fb3894a767ab0b","origin_key":"python:perovskite_sim.models.multivalent_defects.MetastableDefectDocument.canonical_json","qualified_name":"perovskite_sim.models.multivalent_defects.MetastableDefectDocument.canonical_json","visibility":"public","evidence_level":"source_static"}, +{"id":"python-710eb7e7e7f8c1a1","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/multivalent_defects.py","route_id":"route-f2fb3894a767ab0b","origin_key":"python:perovskite_sim.models.multivalent_defects.MetastableDefectDocument.from_dict","qualified_name":"perovskite_sim.models.multivalent_defects.MetastableDefectDocument.from_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-87f7c2e0c6c018d7","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/multivalent_defects.py","route_id":"route-f2fb3894a767ab0b","origin_key":"python:perovskite_sim.models.multivalent_defects.MetastableDefectDocument.sha256","qualified_name":"perovskite_sim.models.multivalent_defects.MetastableDefectDocument.sha256","visibility":"public","evidence_level":"source_static"}, +{"id":"python-603c2746be3a4e52","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/multivalent_defects.py","route_id":"route-f2fb3894a767ab0b","origin_key":"python:perovskite_sim.models.multivalent_defects.MetastableDefectDocument.to_dict","qualified_name":"perovskite_sim.models.multivalent_defects.MetastableDefectDocument.to_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-065fac6536591de1","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/multivalent_defects.py","route_id":"route-f2fb3894a767ab0b","origin_key":"python:perovskite_sim.models.multivalent_defects.MetastableDefectDocument.validate_band_gap","qualified_name":"perovskite_sim.models.multivalent_defects.MetastableDefectDocument.validate_band_gap","visibility":"public","evidence_level":"source_static"}, +{"id":"python-08b2f7d8e68b3a6a","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/models/multivalent_defects.py","route_id":"route-f2fb3894a767ab0b","origin_key":"python:perovskite_sim.models.multivalent_defects.MetastablePreparationNumerics","qualified_name":"perovskite_sim.models.multivalent_defects.MetastablePreparationNumerics","visibility":"public","evidence_level":"source_static"}, +{"id":"python-ef997962be3f3607","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/multivalent_defects.py","route_id":"route-f2fb3894a767ab0b","origin_key":"python:perovskite_sim.models.multivalent_defects.MetastablePreparationNumerics.__post_init__","qualified_name":"perovskite_sim.models.multivalent_defects.MetastablePreparationNumerics.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-108ecd220292c215","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/multivalent_defects.py","route_id":"route-f2fb3894a767ab0b","origin_key":"python:perovskite_sim.models.multivalent_defects.MetastablePreparationNumerics.from_dict","qualified_name":"perovskite_sim.models.multivalent_defects.MetastablePreparationNumerics.from_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-e01c70b29776f373","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/multivalent_defects.py","route_id":"route-f2fb3894a767ab0b","origin_key":"python:perovskite_sim.models.multivalent_defects.MetastablePreparationNumerics.to_dict","qualified_name":"perovskite_sim.models.multivalent_defects.MetastablePreparationNumerics.to_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-4854290f3dbcbf4f","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/models/multivalent_defects.py","route_id":"route-f2fb3894a767ab0b","origin_key":"python:perovskite_sim.models.multivalent_defects.MetastablePreparationProtocol","qualified_name":"perovskite_sim.models.multivalent_defects.MetastablePreparationProtocol","visibility":"public","evidence_level":"source_static"}, +{"id":"python-d9eb7fc807563fd2","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/multivalent_defects.py","route_id":"route-f2fb3894a767ab0b","origin_key":"python:perovskite_sim.models.multivalent_defects.MetastablePreparationProtocol.__post_init__","qualified_name":"perovskite_sim.models.multivalent_defects.MetastablePreparationProtocol.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-e09ca52203f25a8c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/multivalent_defects.py","route_id":"route-f2fb3894a767ab0b","origin_key":"python:perovskite_sim.models.multivalent_defects.MetastablePreparationProtocol.canonical_json","qualified_name":"perovskite_sim.models.multivalent_defects.MetastablePreparationProtocol.canonical_json","visibility":"public","evidence_level":"source_static"}, +{"id":"python-cb15071b3b6b9b4c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/multivalent_defects.py","route_id":"route-f2fb3894a767ab0b","origin_key":"python:perovskite_sim.models.multivalent_defects.MetastablePreparationProtocol.from_dict","qualified_name":"perovskite_sim.models.multivalent_defects.MetastablePreparationProtocol.from_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-868a63c1a6631ab3","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/multivalent_defects.py","route_id":"route-f2fb3894a767ab0b","origin_key":"python:perovskite_sim.models.multivalent_defects.MetastablePreparationProtocol.sha256","qualified_name":"perovskite_sim.models.multivalent_defects.MetastablePreparationProtocol.sha256","visibility":"public","evidence_level":"source_static"}, +{"id":"python-9209178275f6c8d7","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/multivalent_defects.py","route_id":"route-f2fb3894a767ab0b","origin_key":"python:perovskite_sim.models.multivalent_defects.MetastablePreparationProtocol.to_dict","qualified_name":"perovskite_sim.models.multivalent_defects.MetastablePreparationProtocol.to_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-0af052eb6ab2af8d","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/models/multivalent_defects.py","route_id":"route-f2fb3894a767ab0b","origin_key":"python:perovskite_sim.models.multivalent_defects.MultivalentBulkDefectDocument","qualified_name":"perovskite_sim.models.multivalent_defects.MultivalentBulkDefectDocument","visibility":"public","evidence_level":"source_static"}, +{"id":"python-8870c3bb1a81ef89","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/multivalent_defects.py","route_id":"route-f2fb3894a767ab0b","origin_key":"python:perovskite_sim.models.multivalent_defects.MultivalentBulkDefectDocument.__post_init__","qualified_name":"perovskite_sim.models.multivalent_defects.MultivalentBulkDefectDocument.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-232c3cad4c10d341","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/multivalent_defects.py","route_id":"route-f2fb3894a767ab0b","origin_key":"python:perovskite_sim.models.multivalent_defects.MultivalentBulkDefectDocument.canonical_json","qualified_name":"perovskite_sim.models.multivalent_defects.MultivalentBulkDefectDocument.canonical_json","visibility":"public","evidence_level":"source_static"}, +{"id":"python-4786eb1faa93c200","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/multivalent_defects.py","route_id":"route-f2fb3894a767ab0b","origin_key":"python:perovskite_sim.models.multivalent_defects.MultivalentBulkDefectDocument.from_dict","qualified_name":"perovskite_sim.models.multivalent_defects.MultivalentBulkDefectDocument.from_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-23e4324ee4cb0055","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/multivalent_defects.py","route_id":"route-f2fb3894a767ab0b","origin_key":"python:perovskite_sim.models.multivalent_defects.MultivalentBulkDefectDocument.sha256","qualified_name":"perovskite_sim.models.multivalent_defects.MultivalentBulkDefectDocument.sha256","visibility":"public","evidence_level":"source_static"}, +{"id":"python-13990af0ac01ed02","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/multivalent_defects.py","route_id":"route-f2fb3894a767ab0b","origin_key":"python:perovskite_sim.models.multivalent_defects.MultivalentBulkDefectDocument.to_dict","qualified_name":"perovskite_sim.models.multivalent_defects.MultivalentBulkDefectDocument.to_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-446263916027802e","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/multivalent_defects.py","route_id":"route-f2fb3894a767ab0b","origin_key":"python:perovskite_sim.models.multivalent_defects.MultivalentBulkDefectDocument.validate_band_gap","qualified_name":"perovskite_sim.models.multivalent_defects.MultivalentBulkDefectDocument.validate_band_gap","visibility":"public","evidence_level":"source_static"}, +{"id":"python-3410cc00abd1b868","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/models/multivalent_defects.py","route_id":"route-f2fb3894a767ab0b","origin_key":"python:perovskite_sim.models.multivalent_defects.MultivalentBulkDefectSpecies","qualified_name":"perovskite_sim.models.multivalent_defects.MultivalentBulkDefectSpecies","visibility":"public","evidence_level":"source_static"}, +{"id":"python-8e04340750f56482","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/multivalent_defects.py","route_id":"route-f2fb3894a767ab0b","origin_key":"python:perovskite_sim.models.multivalent_defects.MultivalentBulkDefectSpecies.__post_init__","qualified_name":"perovskite_sim.models.multivalent_defects.MultivalentBulkDefectSpecies.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-af6836ff80868ad8","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/multivalent_defects.py","route_id":"route-f2fb3894a767ab0b","origin_key":"python:perovskite_sim.models.multivalent_defects.MultivalentBulkDefectSpecies.from_dict","qualified_name":"perovskite_sim.models.multivalent_defects.MultivalentBulkDefectSpecies.from_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-2faef1353edf7b6f","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/multivalent_defects.py","route_id":"route-f2fb3894a767ab0b","origin_key":"python:perovskite_sim.models.multivalent_defects.MultivalentBulkDefectSpecies.to_dict","qualified_name":"perovskite_sim.models.multivalent_defects.MultivalentBulkDefectSpecies.to_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-f7daf9471dc2b567","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/multivalent_defects.py","route_id":"route-f2fb3894a767ab0b","origin_key":"python:perovskite_sim.models.multivalent_defects.MultivalentBulkDefectSpecies.validate_band_gap","qualified_name":"perovskite_sim.models.multivalent_defects.MultivalentBulkDefectSpecies.validate_band_gap","visibility":"public","evidence_level":"source_static"}, +{"id":"python-00bb37beaaae7789","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/models/multivalent_defects.py","route_id":"route-f2fb3894a767ab0b","origin_key":"python:perovskite_sim.models.multivalent_defects.MultivalentDefectConfiguration","qualified_name":"perovskite_sim.models.multivalent_defects.MultivalentDefectConfiguration","visibility":"public","evidence_level":"source_static"}, +{"id":"python-080865154a430f27","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/multivalent_defects.py","route_id":"route-f2fb3894a767ab0b","origin_key":"python:perovskite_sim.models.multivalent_defects.MultivalentDefectConfiguration.__post_init__","qualified_name":"perovskite_sim.models.multivalent_defects.MultivalentDefectConfiguration.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-2a4b6ebd0bf11d36","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/multivalent_defects.py","route_id":"route-f2fb3894a767ab0b","origin_key":"python:perovskite_sim.models.multivalent_defects.MultivalentDefectConfiguration.from_dict","qualified_name":"perovskite_sim.models.multivalent_defects.MultivalentDefectConfiguration.from_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-3065a0511b7a007d","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/multivalent_defects.py","route_id":"route-f2fb3894a767ab0b","origin_key":"python:perovskite_sim.models.multivalent_defects.MultivalentDefectConfiguration.to_dict","qualified_name":"perovskite_sim.models.multivalent_defects.MultivalentDefectConfiguration.to_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-3908bd057a4a1be1","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/multivalent_defects.py","route_id":"route-f2fb3894a767ab0b","origin_key":"python:perovskite_sim.models.multivalent_defects.MultivalentDefectConfiguration.validate_band_gap","qualified_name":"perovskite_sim.models.multivalent_defects.MultivalentDefectConfiguration.validate_band_gap","visibility":"public","evidence_level":"source_static"}, +{"id":"python-d2837328524a8990","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/models/multivalent_defects.py","route_id":"route-f2fb3894a767ab0b","origin_key":"python:perovskite_sim.models.multivalent_defects.MultivalentEnergyLevels","qualified_name":"perovskite_sim.models.multivalent_defects.MultivalentEnergyLevels","visibility":"public","evidence_level":"source_static"}, +{"id":"python-ee068823b5a9dc11","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/multivalent_defects.py","route_id":"route-f2fb3894a767ab0b","origin_key":"python:perovskite_sim.models.multivalent_defects.MultivalentEnergyLevels.__post_init__","qualified_name":"perovskite_sim.models.multivalent_defects.MultivalentEnergyLevels.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-ea394aabb0c1b494","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/multivalent_defects.py","route_id":"route-f2fb3894a767ab0b","origin_key":"python:perovskite_sim.models.multivalent_defects.MultivalentEnergyLevels.from_dict","qualified_name":"perovskite_sim.models.multivalent_defects.MultivalentEnergyLevels.from_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-920dd0ca6e934775","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/multivalent_defects.py","route_id":"route-f2fb3894a767ab0b","origin_key":"python:perovskite_sim.models.multivalent_defects.MultivalentEnergyLevels.to_dict","qualified_name":"perovskite_sim.models.multivalent_defects.MultivalentEnergyLevels.to_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-34ada155128d793f","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/multivalent_defects.py","route_id":"route-f2fb3894a767ab0b","origin_key":"python:perovskite_sim.models.multivalent_defects.MultivalentEnergyLevels.transition_energies_eV_above_vb","qualified_name":"perovskite_sim.models.multivalent_defects.MultivalentEnergyLevels.transition_energies_eV_above_vb","visibility":"public","evidence_level":"source_static"}, +{"id":"python-d6f972d77db7c209","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/multivalent_defects.py","route_id":"route-f2fb3894a767ab0b","origin_key":"python:perovskite_sim.models.multivalent_defects.MultivalentEnergyLevels.validate_band_gap","qualified_name":"perovskite_sim.models.multivalent_defects.MultivalentEnergyLevels.validate_band_gap","visibility":"public","evidence_level":"source_static"}, +{"id":"python-238a01c6b1aa6122","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/multivalent_defects.py","route_id":"route-f2fb3894a767ab0b","origin_key":"python:perovskite_sim.models.multivalent_defects.MultivalentEnergyLevels.validate_transition_count","qualified_name":"perovskite_sim.models.multivalent_defects.MultivalentEnergyLevels.validate_transition_count","visibility":"public","evidence_level":"source_static"}, +{"id":"python-bc3074f61f13e480","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/multivalent_defects.py","route_id":"route-f2fb3894a767ab0b","origin_key":"python:perovskite_sim.models.multivalent_defects._canonical_json","qualified_name":"perovskite_sim.models.multivalent_defects._canonical_json","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-4625581869f809f7","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/multivalent_defects.py","route_id":"route-f2fb3894a767ab0b","origin_key":"python:perovskite_sim.models.multivalent_defects._coerce_yaml_scalars","qualified_name":"perovskite_sim.models.multivalent_defects._coerce_yaml_scalars","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-e28564494cc22c5f","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/multivalent_defects.py","route_id":"route-f2fb3894a767ab0b","origin_key":"python:perovskite_sim.models.multivalent_defects._finite","qualified_name":"perovskite_sim.models.multivalent_defects._finite","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-1528bf71205cf72a","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/multivalent_defects.py","route_id":"route-f2fb3894a767ab0b","origin_key":"python:perovskite_sim.models.multivalent_defects._integer","qualified_name":"perovskite_sim.models.multivalent_defects._integer","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-de3d73b7a9ac9afd","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/multivalent_defects.py","route_id":"route-f2fb3894a767ab0b","origin_key":"python:perovskite_sim.models.multivalent_defects._name","qualified_name":"perovskite_sim.models.multivalent_defects._name","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-f700e55c8b4d9c36","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/multivalent_defects.py","route_id":"route-f2fb3894a767ab0b","origin_key":"python:perovskite_sim.models.multivalent_defects._nonnegative","qualified_name":"perovskite_sim.models.multivalent_defects._nonnegative","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-d215f2051fe370df","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/multivalent_defects.py","route_id":"route-f2fb3894a767ab0b","origin_key":"python:perovskite_sim.models.multivalent_defects._positive","qualified_name":"perovskite_sim.models.multivalent_defects._positive","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-34bfd28bb078086a","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/multivalent_defects.py","route_id":"route-f2fb3894a767ab0b","origin_key":"python:perovskite_sim.models.multivalent_defects._require_exact_keys","qualified_name":"perovskite_sim.models.multivalent_defects._require_exact_keys","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-9678571cc286758b","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/multivalent_defects.py","route_id":"route-f2fb3894a767ab0b","origin_key":"python:perovskite_sim.models.multivalent_defects._sha256","qualified_name":"perovskite_sim.models.multivalent_defects._sha256","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-25307886bb5b75c9","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/multivalent_defects.py","route_id":"route-f2fb3894a767ab0b","origin_key":"python:perovskite_sim.models.multivalent_defects._validate_sha256","qualified_name":"perovskite_sim.models.multivalent_defects._validate_sha256","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-8471ebd4769601ee","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/multivalent_defects.py","route_id":"route-f2fb3894a767ab0b","origin_key":"python:perovskite_sim.models.multivalent_defects.multivalent_bulk_defect_document_from_layer_mapping","qualified_name":"perovskite_sim.models.multivalent_defects.multivalent_bulk_defect_document_from_layer_mapping","visibility":"public","evidence_level":"source_static"}, +{"id":"python-7492866cf6d0ab96","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/models/parameters.py","route_id":"route-874e0fb545d7dfb2","origin_key":"python:perovskite_sim.models.parameters.MaterialParams","qualified_name":"perovskite_sim.models.parameters.MaterialParams","visibility":"public","evidence_level":"source_static"}, +{"id":"python-7aa43057311c5dab","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/parameters.py","route_id":"route-874e0fb545d7dfb2","origin_key":"python:perovskite_sim.models.parameters.MaterialParams.D_n","qualified_name":"perovskite_sim.models.parameters.MaterialParams.D_n","visibility":"public","evidence_level":"source_static"}, +{"id":"python-6c9dd6f3cf25e034","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/parameters.py","route_id":"route-874e0fb545d7dfb2","origin_key":"python:perovskite_sim.models.parameters.MaterialParams.D_p","qualified_name":"perovskite_sim.models.parameters.MaterialParams.D_p","visibility":"public","evidence_level":"source_static"}, +{"id":"python-c6c82e1854e873d4","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/parameters.py","route_id":"route-874e0fb545d7dfb2","origin_key":"python:perovskite_sim.models.parameters.MaterialParams.__post_init__","qualified_name":"perovskite_sim.models.parameters.MaterialParams.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-6798d13e2bc51d3c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/parameters.py","route_id":"route-874e0fb545d7dfb2","origin_key":"python:perovskite_sim.models.parameters.MaterialParams.defect_document","qualified_name":"perovskite_sim.models.parameters.MaterialParams.defect_document","visibility":"public","evidence_level":"source_static"}, +{"id":"python-95d2b10668182ee2","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/parameters.py","route_id":"route-874e0fb545d7dfb2","origin_key":"python:perovskite_sim.models.parameters.MaterialParams.ni_sq","qualified_name":"perovskite_sim.models.parameters.MaterialParams.ni_sq","visibility":"public","evidence_level":"source_static"}, +{"id":"python-3075f4ce2aeb92fe","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/models/parameters.py","route_id":"route-874e0fb545d7dfb2","origin_key":"python:perovskite_sim.models.parameters.SolverConfig","qualified_name":"perovskite_sim.models.parameters.SolverConfig","visibility":"public","evidence_level":"source_static"}, +{"id":"python-e8c6d71c4c5ba953","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/parameters.py","route_id":"route-874e0fb545d7dfb2","origin_key":"python:perovskite_sim.models.parameters.load_config","qualified_name":"perovskite_sim.models.parameters.load_config","visibility":"public","evidence_level":"source_static"}, +{"id":"python-c52239eb6ca2fe16","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/models/spatial.py","route_id":"route-dd6d44a89b46f80d","origin_key":"python:perovskite_sim.models.spatial.SpatialSnapshot","qualified_name":"perovskite_sim.models.spatial.SpatialSnapshot","visibility":"public","evidence_level":"source_static"}, +{"id":"python-b97932d28b2b3eca","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/models/tandem_config.py","route_id":"route-a49b47e146a02ef2","origin_key":"python:perovskite_sim.models.tandem_config.JunctionLayer","qualified_name":"perovskite_sim.models.tandem_config.JunctionLayer","visibility":"public","evidence_level":"source_static"}, +{"id":"python-570eee1eb59581dc","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/models/tandem_config.py","route_id":"route-a49b47e146a02ef2","origin_key":"python:perovskite_sim.models.tandem_config.TandemConfig","qualified_name":"perovskite_sim.models.tandem_config.TandemConfig","visibility":"public","evidence_level":"source_static"}, +{"id":"python-2eec139efab82f95","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/tandem_config.py","route_id":"route-a49b47e146a02ef2","origin_key":"python:perovskite_sim.models.tandem_config._resolve","qualified_name":"perovskite_sim.models.tandem_config._resolve","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-677e6175cb255390","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/tandem_config.py","route_id":"route-a49b47e146a02ef2","origin_key":"python:perovskite_sim.models.tandem_config.load_tandem_from_yaml","qualified_name":"perovskite_sim.models.tandem_config.load_tandem_from_yaml","visibility":"public","evidence_level":"source_static"}, +{"id":"python-a7999b49a4baf27c","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/models/tpv.py","route_id":"route-17806e03bd172ef3","origin_key":"python:perovskite_sim.models.tpv.TPVDecayFit","qualified_name":"perovskite_sim.models.tpv.TPVDecayFit","visibility":"public","evidence_level":"source_static"}, +{"id":"python-da20362d1c9de31b","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/models/tpv.py","route_id":"route-17806e03bd172ef3","origin_key":"python:perovskite_sim.models.tpv.TPVNumericalSettings","qualified_name":"perovskite_sim.models.tpv.TPVNumericalSettings","visibility":"public","evidence_level":"source_static"}, +{"id":"python-004c9ce5cae28013","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/models/tpv.py","route_id":"route-17806e03bd172ef3","origin_key":"python:perovskite_sim.models.tpv.TPVResult","qualified_name":"perovskite_sim.models.tpv.TPVResult","visibility":"public","evidence_level":"source_static"}, +{"id":"python-968ffa74f1c9f113","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/models/tunneling_channels.py","route_id":"route-e98430e35cbc35f0","origin_key":"python:perovskite_sim.models.tunneling_channels.BandToBandTunnellingChannel","qualified_name":"perovskite_sim.models.tunneling_channels.BandToBandTunnellingChannel","visibility":"public","evidence_level":"source_static"}, +{"id":"python-ab790f1afb74ed45","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/tunneling_channels.py","route_id":"route-e98430e35cbc35f0","origin_key":"python:perovskite_sim.models.tunneling_channels.BandToBandTunnellingChannel.__post_init__","qualified_name":"perovskite_sim.models.tunneling_channels.BandToBandTunnellingChannel.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-a10f258ce010c949","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/tunneling_channels.py","route_id":"route-e98430e35cbc35f0","origin_key":"python:perovskite_sim.models.tunneling_channels.BandToBandTunnellingChannel.from_dict","qualified_name":"perovskite_sim.models.tunneling_channels.BandToBandTunnellingChannel.from_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-73e5db8d51583b6e","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/tunneling_channels.py","route_id":"route-e98430e35cbc35f0","origin_key":"python:perovskite_sim.models.tunneling_channels.BandToBandTunnellingChannel.to_dict","qualified_name":"perovskite_sim.models.tunneling_channels.BandToBandTunnellingChannel.to_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-0b044e86ec6c1a8a","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/models/tunneling_channels.py","route_id":"route-e98430e35cbc35f0","origin_key":"python:perovskite_sim.models.tunneling_channels.ContactTunnellingChannel","qualified_name":"perovskite_sim.models.tunneling_channels.ContactTunnellingChannel","visibility":"public","evidence_level":"source_static"}, +{"id":"python-c89cbeb96d16a561","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/tunneling_channels.py","route_id":"route-e98430e35cbc35f0","origin_key":"python:perovskite_sim.models.tunneling_channels.ContactTunnellingChannel.__post_init__","qualified_name":"perovskite_sim.models.tunneling_channels.ContactTunnellingChannel.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-cbabc32ce9b534ba","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/tunneling_channels.py","route_id":"route-e98430e35cbc35f0","origin_key":"python:perovskite_sim.models.tunneling_channels.ContactTunnellingChannel.from_dict","qualified_name":"perovskite_sim.models.tunneling_channels.ContactTunnellingChannel.from_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-c0f087466b7b7a39","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/tunneling_channels.py","route_id":"route-e98430e35cbc35f0","origin_key":"python:perovskite_sim.models.tunneling_channels.ContactTunnellingChannel.to_dict","qualified_name":"perovskite_sim.models.tunneling_channels.ContactTunnellingChannel.to_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-15daeb2e9b809df4","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/models/tunneling_channels.py","route_id":"route-e98430e35cbc35f0","origin_key":"python:perovskite_sim.models.tunneling_channels.InterfaceDefectAssistedTunnellingChannel","qualified_name":"perovskite_sim.models.tunneling_channels.InterfaceDefectAssistedTunnellingChannel","visibility":"public","evidence_level":"source_static"}, +{"id":"python-3efd6af95d7c9289","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/tunneling_channels.py","route_id":"route-e98430e35cbc35f0","origin_key":"python:perovskite_sim.models.tunneling_channels.InterfaceDefectAssistedTunnellingChannel.__post_init__","qualified_name":"perovskite_sim.models.tunneling_channels.InterfaceDefectAssistedTunnellingChannel.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-dba262237b8e7ade","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/tunneling_channels.py","route_id":"route-e98430e35cbc35f0","origin_key":"python:perovskite_sim.models.tunneling_channels.InterfaceDefectAssistedTunnellingChannel.from_dict","qualified_name":"perovskite_sim.models.tunneling_channels.InterfaceDefectAssistedTunnellingChannel.from_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-f1a13e065e2f6146","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/tunneling_channels.py","route_id":"route-e98430e35cbc35f0","origin_key":"python:perovskite_sim.models.tunneling_channels.InterfaceDefectAssistedTunnellingChannel.to_dict","qualified_name":"perovskite_sim.models.tunneling_channels.InterfaceDefectAssistedTunnellingChannel.to_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-9bda2c26dd1a8f3b","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/models/tunneling_channels.py","route_id":"route-e98430e35cbc35f0","origin_key":"python:perovskite_sim.models.tunneling_channels.IntrabandTunnellingChannel","qualified_name":"perovskite_sim.models.tunneling_channels.IntrabandTunnellingChannel","visibility":"public","evidence_level":"source_static"}, +{"id":"python-ae21d60e12310ff3","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/tunneling_channels.py","route_id":"route-e98430e35cbc35f0","origin_key":"python:perovskite_sim.models.tunneling_channels.IntrabandTunnellingChannel.__post_init__","qualified_name":"perovskite_sim.models.tunneling_channels.IntrabandTunnellingChannel.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-96114c9217ea06a5","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/tunneling_channels.py","route_id":"route-e98430e35cbc35f0","origin_key":"python:perovskite_sim.models.tunneling_channels.IntrabandTunnellingChannel.from_dict","qualified_name":"perovskite_sim.models.tunneling_channels.IntrabandTunnellingChannel.from_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-5f201fa211010c3f","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/tunneling_channels.py","route_id":"route-e98430e35cbc35f0","origin_key":"python:perovskite_sim.models.tunneling_channels.IntrabandTunnellingChannel.to_dict","qualified_name":"perovskite_sim.models.tunneling_channels.IntrabandTunnellingChannel.to_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-02541abeaf8c020b","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/models/tunneling_channels.py","route_id":"route-e98430e35cbc35f0","origin_key":"python:perovskite_sim.models.tunneling_channels.TunnellingChannelDocument","qualified_name":"perovskite_sim.models.tunneling_channels.TunnellingChannelDocument","visibility":"public","evidence_level":"source_static"}, +{"id":"python-99cdc814fb856fb2","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/tunneling_channels.py","route_id":"route-e98430e35cbc35f0","origin_key":"python:perovskite_sim.models.tunneling_channels.TunnellingChannelDocument.__post_init__","qualified_name":"perovskite_sim.models.tunneling_channels.TunnellingChannelDocument.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-6c960826af2c58d9","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/tunneling_channels.py","route_id":"route-e98430e35cbc35f0","origin_key":"python:perovskite_sim.models.tunneling_channels.TunnellingChannelDocument.any_enabled","qualified_name":"perovskite_sim.models.tunneling_channels.TunnellingChannelDocument.any_enabled","visibility":"public","evidence_level":"source_static"}, +{"id":"python-04d0b2288a8f7eaf","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/tunneling_channels.py","route_id":"route-e98430e35cbc35f0","origin_key":"python:perovskite_sim.models.tunneling_channels.TunnellingChannelDocument.canonical_json","qualified_name":"perovskite_sim.models.tunneling_channels.TunnellingChannelDocument.canonical_json","visibility":"public","evidence_level":"source_static"}, +{"id":"python-a3f1d9d38d4b5b10","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/tunneling_channels.py","route_id":"route-e98430e35cbc35f0","origin_key":"python:perovskite_sim.models.tunneling_channels.TunnellingChannelDocument.enabled_channels","qualified_name":"perovskite_sim.models.tunneling_channels.TunnellingChannelDocument.enabled_channels","visibility":"public","evidence_level":"source_static"}, +{"id":"python-436399f45c12542c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/tunneling_channels.py","route_id":"route-e98430e35cbc35f0","origin_key":"python:perovskite_sim.models.tunneling_channels.TunnellingChannelDocument.from_dict","qualified_name":"perovskite_sim.models.tunneling_channels.TunnellingChannelDocument.from_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-598c9802d16dccd9","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/tunneling_channels.py","route_id":"route-e98430e35cbc35f0","origin_key":"python:perovskite_sim.models.tunneling_channels.TunnellingChannelDocument.sha256","qualified_name":"perovskite_sim.models.tunneling_channels.TunnellingChannelDocument.sha256","visibility":"public","evidence_level":"source_static"}, +{"id":"python-5cb86cc388875d83","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/tunneling_channels.py","route_id":"route-e98430e35cbc35f0","origin_key":"python:perovskite_sim.models.tunneling_channels.TunnellingChannelDocument.to_dict","qualified_name":"perovskite_sim.models.tunneling_channels.TunnellingChannelDocument.to_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-70f80ce12be8b777","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/models/tunneling_channels.py","route_id":"route-e98430e35cbc35f0","origin_key":"python:perovskite_sim.models.tunneling_channels.TunnellingChannelSchemaError","qualified_name":"perovskite_sim.models.tunneling_channels.TunnellingChannelSchemaError","visibility":"public","evidence_level":"source_static"}, +{"id":"python-61253a19e8e3ee49","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/tunneling_channels.py","route_id":"route-e98430e35cbc35f0","origin_key":"python:perovskite_sim.models.tunneling_channels._boolean","qualified_name":"perovskite_sim.models.tunneling_channels._boolean","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-df0c31bc376577e5","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/tunneling_channels.py","route_id":"route-e98430e35cbc35f0","origin_key":"python:perovskite_sim.models.tunneling_channels._canonical_json","qualified_name":"perovskite_sim.models.tunneling_channels._canonical_json","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-bc2914bd49d17627","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/tunneling_channels.py","route_id":"route-e98430e35cbc35f0","origin_key":"python:perovskite_sim.models.tunneling_channels._coerce_scalars","qualified_name":"perovskite_sim.models.tunneling_channels._coerce_scalars","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-88835fda77fea2ac","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/tunneling_channels.py","route_id":"route-e98430e35cbc35f0","origin_key":"python:perovskite_sim.models.tunneling_channels._finite","qualified_name":"perovskite_sim.models.tunneling_channels._finite","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-558c7b1d912d7263","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/tunneling_channels.py","route_id":"route-e98430e35cbc35f0","origin_key":"python:perovskite_sim.models.tunneling_channels._integer","qualified_name":"perovskite_sim.models.tunneling_channels._integer","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-97f20b8cf1322e59","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/tunneling_channels.py","route_id":"route-e98430e35cbc35f0","origin_key":"python:perovskite_sim.models.tunneling_channels._nonnegative","qualified_name":"perovskite_sim.models.tunneling_channels._nonnegative","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-835e20d0e4d82251","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/tunneling_channels.py","route_id":"route-e98430e35cbc35f0","origin_key":"python:perovskite_sim.models.tunneling_channels._positive","qualified_name":"perovskite_sim.models.tunneling_channels._positive","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-373fb6ef15cc843a","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/tunneling_channels.py","route_id":"route-e98430e35cbc35f0","origin_key":"python:perovskite_sim.models.tunneling_channels._require_exact_keys","qualified_name":"perovskite_sim.models.tunneling_channels._require_exact_keys","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-d01d0d3d107b950e","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/tunneling_channels.py","route_id":"route-e98430e35cbc35f0","origin_key":"python:perovskite_sim.models.tunneling_channels._sha256","qualified_name":"perovskite_sim.models.tunneling_channels._sha256","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-a53bbf3dd88f0d90","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/models/tunneling_channels.py","route_id":"route-e98430e35cbc35f0","origin_key":"python:perovskite_sim.models.tunneling_channels.tunnelling_channel_document_from_mapping","qualified_name":"perovskite_sim.models.tunneling_channels.tunnelling_channel_document_from_mapping","visibility":"public","evidence_level":"source_static"}, +{"id":"python-094edaea12aa8d3f","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/models/voc_t.py","route_id":"route-ddb81b9050da9068","origin_key":"python:perovskite_sim.models.voc_t.VocTResult","qualified_name":"perovskite_sim.models.voc_t.VocTResult","visibility":"public","evidence_level":"source_static"}, +{"id":"python-b39ca8840f55e34f","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/physics/band_gap_narrowing.py","route_id":"route-5b8181491d7bb5dc","origin_key":"python:perovskite_sim.physics.band_gap_narrowing.BandGapNarrowingState","qualified_name":"perovskite_sim.physics.band_gap_narrowing.BandGapNarrowingState","visibility":"public","evidence_level":"source_static"}, +{"id":"python-321b28e6b53b26ca","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/band_gap_narrowing.py","route_id":"route-5b8181491d7bb5dc","origin_key":"python:perovskite_sim.physics.band_gap_narrowing._finite_nonnegative","qualified_name":"perovskite_sim.physics.band_gap_narrowing._finite_nonnegative","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-a6ef8eb7073a6555","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/band_gap_narrowing.py","route_id":"route-5b8181491d7bb5dc","origin_key":"python:perovskite_sim.physics.band_gap_narrowing._finite_positive","qualified_name":"perovskite_sim.physics.band_gap_narrowing._finite_positive","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-65b407c342b5d933","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/band_gap_narrowing.py","route_id":"route-5b8181491d7bb5dc","origin_key":"python:perovskite_sim.physics.band_gap_narrowing.apply_band_gap_narrowing","qualified_name":"perovskite_sim.physics.band_gap_narrowing.apply_band_gap_narrowing","visibility":"public","evidence_level":"source_static"}, +{"id":"python-00226dd46bb0c0dd","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/band_gap_narrowing.py","route_id":"route-5b8181491d7bb5dc","origin_key":"python:perovskite_sim.physics.band_gap_narrowing.normalize_band_gap_narrowing_model","qualified_name":"perovskite_sim.physics.band_gap_narrowing.normalize_band_gap_narrowing_model","visibility":"public","evidence_level":"source_static"}, +{"id":"python-b97e67a8f3429bed","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/band_gap_narrowing.py","route_id":"route-5b8181491d7bb5dc","origin_key":"python:perovskite_sim.physics.band_gap_narrowing.slotboom_band_gap_narrowing","qualified_name":"perovskite_sim.physics.band_gap_narrowing.slotboom_band_gap_narrowing","visibility":"public","evidence_level":"source_static"}, +{"id":"python-3a1f68452d9a50ea","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/physics/bulk_traps.py","route_id":"route-2a52f6493776c10e","origin_key":"python:perovskite_sim.physics.bulk_traps.BulkTrapDistribution","qualified_name":"perovskite_sim.physics.bulk_traps.BulkTrapDistribution","visibility":"public","evidence_level":"source_static"}, +{"id":"python-bba74833132f9b48","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/bulk_traps.py","route_id":"route-2a52f6493776c10e","origin_key":"python:perovskite_sim.physics.bulk_traps.BulkTrapDistribution.__post_init__","qualified_name":"perovskite_sim.physics.bulk_traps.BulkTrapDistribution.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-8c6588cb3c964ee1","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/bulk_traps.py","route_id":"route-2a52f6493776c10e","origin_key":"python:perovskite_sim.physics.bulk_traps.BulkTrapDistribution.validate_band_gap","qualified_name":"perovskite_sim.physics.bulk_traps.BulkTrapDistribution.validate_band_gap","visibility":"public","evidence_level":"source_static"}, +{"id":"python-802b2df1fa9fe072","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/physics/bulk_traps.py","route_id":"route-2a52f6493776c10e","origin_key":"python:perovskite_sim.physics.bulk_traps.BulkTrapNeutralityResult","qualified_name":"perovskite_sim.physics.bulk_traps.BulkTrapNeutralityResult","visibility":"public","evidence_level":"source_static"}, +{"id":"python-9853dffc6769b070","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/physics/bulk_traps.py","route_id":"route-2a52f6493776c10e","origin_key":"python:perovskite_sim.physics.bulk_traps.BulkTrapQuadrature","qualified_name":"perovskite_sim.physics.bulk_traps.BulkTrapQuadrature","visibility":"public","evidence_level":"source_static"}, +{"id":"python-b8937c089b142938","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/bulk_traps.py","route_id":"route-2a52f6493776c10e","origin_key":"python:perovskite_sim.physics.bulk_traps.BulkTrapQuadrature.order","qualified_name":"perovskite_sim.physics.bulk_traps.BulkTrapQuadrature.order","visibility":"public","evidence_level":"source_static"}, +{"id":"python-4b6f1cc291ef10b7","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/physics/bulk_traps.py","route_id":"route-2a52f6493776c10e","origin_key":"python:perovskite_sim.physics.bulk_traps.BulkTrapState","qualified_name":"perovskite_sim.physics.bulk_traps.BulkTrapState","visibility":"public","evidence_level":"source_static"}, +{"id":"python-9e78525a3ebb7e8b","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/bulk_traps.py","route_id":"route-2a52f6493776c10e","origin_key":"python:perovskite_sim.physics.bulk_traps.BulkTrapState.__post_init__","qualified_name":"perovskite_sim.physics.bulk_traps.BulkTrapState.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-9ab41dd3eb13c659","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/bulk_traps.py","route_id":"route-2a52f6493776c10e","origin_key":"python:perovskite_sim.physics.bulk_traps._finite_nonnegative","qualified_name":"perovskite_sim.physics.bulk_traps._finite_nonnegative","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-de6035d3530778c0","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/bulk_traps.py","route_id":"route-2a52f6493776c10e","origin_key":"python:perovskite_sim.physics.bulk_traps._finite_positive","qualified_name":"perovskite_sim.physics.bulk_traps._finite_positive","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-01412fbf0561f457","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/bulk_traps.py","route_id":"route-2a52f6493776c10e","origin_key":"python:perovskite_sim.physics.bulk_traps._readonly_float_array","qualified_name":"perovskite_sim.physics.bulk_traps._readonly_float_array","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-4e605e4fcfbbd14f","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/bulk_traps.py","route_id":"route-2a52f6493776c10e","origin_key":"python:perovskite_sim.physics.bulk_traps.build_bulk_trap_quadrature","qualified_name":"perovskite_sim.physics.bulk_traps.build_bulk_trap_quadrature","visibility":"public","evidence_level":"source_static"}, +{"id":"python-e566405c76a51de2","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/bulk_traps.py","route_id":"route-2a52f6493776c10e","origin_key":"python:perovskite_sim.physics.bulk_traps.bulk_trap_distribution_from_mapping","qualified_name":"perovskite_sim.physics.bulk_traps.bulk_trap_distribution_from_mapping","visibility":"public","evidence_level":"source_static"}, +{"id":"python-83febed29e840488","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/bulk_traps.py","route_id":"route-2a52f6493776c10e","origin_key":"python:perovskite_sim.physics.bulk_traps.evaluate_bulk_trap_state","qualified_name":"perovskite_sim.physics.bulk_traps.evaluate_bulk_trap_state","visibility":"public","evidence_level":"source_static"}, +{"id":"python-ce46b08e48572320","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/bulk_traps.py","route_id":"route-2a52f6493776c10e","origin_key":"python:perovskite_sim.physics.bulk_traps.solve_bulk_trap_charge_neutrality","qualified_name":"perovskite_sim.physics.bulk_traps.solve_bulk_trap_charge_neutrality","visibility":"public","evidence_level":"source_static"}, +{"id":"python-e893f0e3fdfef618","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/physics/cigs_optics.py","route_id":"route-cb684c2791a2eadb","origin_key":"python:perovskite_sim.physics.cigs_optics.CIGSGradedOptics","qualified_name":"perovskite_sim.physics.cigs_optics.CIGSGradedOptics","visibility":"public","evidence_level":"source_static"}, +{"id":"python-4d89e941558dba67","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/cigs_optics.py","route_id":"route-cb684c2791a2eadb","origin_key":"python:perovskite_sim.physics.cigs_optics.CIGSGradedOptics.__post_init__","qualified_name":"perovskite_sim.physics.cigs_optics.CIGSGradedOptics.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-46af5bc37be50bc8","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/physics/cigs_optics.py","route_id":"route-cb684c2791a2eadb","origin_key":"python:perovskite_sim.physics.cigs_optics._ReferenceSpectrum","qualified_name":"perovskite_sim.physics.cigs_optics._ReferenceSpectrum","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-35ea8e5e19a1b25d","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/physics/cigs_optics.py","route_id":"route-cb684c2791a2eadb","origin_key":"python:perovskite_sim.physics.cigs_optics._TaucLorentzPeak","qualified_name":"perovskite_sim.physics.cigs_optics._TaucLorentzPeak","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-b9b75170bee88815","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/cigs_optics.py","route_id":"route-cb684c2791a2eadb","origin_key":"python:perovskite_sim.physics.cigs_optics._bracket","qualified_name":"perovskite_sim.physics.cigs_optics._bracket","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-cd3f6e2222e38d26","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/cigs_optics.py","route_id":"route-cb684c2791a2eadb","origin_key":"python:perovskite_sim.physics.cigs_optics._finite_schema_value","qualified_name":"perovskite_sim.physics.cigs_optics._finite_schema_value","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-16e6e0b825c032b9","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/cigs_optics.py","route_id":"route-cb684c2791a2eadb","origin_key":"python:perovskite_sim.physics.cigs_optics._integer_schema_value","qualified_name":"perovskite_sim.physics.cigs_optics._integer_schema_value","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-08f8f4ad4c10205f","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/cigs_optics.py","route_id":"route-cb684c2791a2eadb","origin_key":"python:perovskite_sim.physics.cigs_optics._kk_nodes","qualified_name":"perovskite_sim.physics.cigs_optics._kk_nodes","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-6dbcb0c45862f172","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/cigs_optics.py","route_id":"route-cb684c2791a2eadb","origin_key":"python:perovskite_sim.physics.cigs_optics._map_target_to_reference_energy","qualified_name":"perovskite_sim.physics.cigs_optics._map_target_to_reference_energy","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-efd22c754eeb8380","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/cigs_optics.py","route_id":"route-cb684c2791a2eadb","origin_key":"python:perovskite_sim.physics.cigs_optics._peaks","qualified_name":"perovskite_sim.physics.cigs_optics._peaks","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-97d37fb2fbb4f237","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/cigs_optics.py","route_id":"route-cb684c2791a2eadb","origin_key":"python:perovskite_sim.physics.cigs_optics._spectrum_at_cgi_anchor","qualified_name":"perovskite_sim.physics.cigs_optics._spectrum_at_cgi_anchor","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-ff52dce32309972d","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/cigs_optics.py","route_id":"route-cb684c2791a2eadb","origin_key":"python:perovskite_sim.physics.cigs_optics._target_epsilon2_and_infinity","qualified_name":"perovskite_sim.physics.cigs_optics._target_epsilon2_and_infinity","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-42296724539c278b","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/cigs_optics.py","route_id":"route-cb684c2791a2eadb","origin_key":"python:perovskite_sim.physics.cigs_optics._tauc_lorentz_epsilon2","qualified_name":"perovskite_sim.physics.cigs_optics._tauc_lorentz_epsilon2","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-47b998106d70084b","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/cigs_optics.py","route_id":"route-cb684c2791a2eadb","origin_key":"python:perovskite_sim.physics.cigs_optics.carron_absorption_coefficient","qualified_name":"perovskite_sim.physics.cigs_optics.carron_absorption_coefficient","visibility":"public","evidence_level":"source_static"}, +{"id":"python-f815587dc3821e87","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/cigs_optics.py","route_id":"route-cb684c2791a2eadb","origin_key":"python:perovskite_sim.physics.cigs_optics.carron_band_gap_eV","qualified_name":"perovskite_sim.physics.cigs_optics.carron_band_gap_eV","visibility":"public","evidence_level":"source_static"}, +{"id":"python-ac71813b2e755a69","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/cigs_optics.py","route_id":"route-cb684c2791a2eadb","origin_key":"python:perovskite_sim.physics.cigs_optics.cigs_graded_optics_from_mapping","qualified_name":"perovskite_sim.physics.cigs_optics.cigs_graded_optics_from_mapping","visibility":"public","evidence_level":"source_static"}, +{"id":"python-c04ee681e6f00865","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/cigs_optics.py","route_id":"route-cb684c2791a2eadb","origin_key":"python:perovskite_sim.physics.cigs_optics.ggi_profile_from_coordinate","qualified_name":"perovskite_sim.physics.cigs_optics.ggi_profile_from_coordinate","visibility":"public","evidence_level":"source_static"}, +{"id":"python-ac9686a6dca9d5cc","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/cigs_optics.py","route_id":"route-cb684c2791a2eadb","origin_key":"python:perovskite_sim.physics.cigs_optics.minoura_critical_points","qualified_name":"perovskite_sim.physics.cigs_optics.minoura_critical_points","visibility":"public","evidence_level":"source_static"}, +{"id":"python-2095ce512e9ae39b","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/cigs_optics.py","route_id":"route-cb684c2791a2eadb","origin_key":"python:perovskite_sim.physics.cigs_optics.minoura_dielectric_function","qualified_name":"perovskite_sim.physics.cigs_optics.minoura_dielectric_function","visibility":"public","evidence_level":"source_static"}, +{"id":"python-336c7d4e6a3a151b","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/cigs_optics.py","route_id":"route-cb684c2791a2eadb","origin_key":"python:perovskite_sim.physics.cigs_optics.minoura_nk","qualified_name":"perovskite_sim.physics.cigs_optics.minoura_nk","visibility":"public","evidence_level":"source_static"}, +{"id":"python-011969026991e2b3","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/physics/compensated.py","route_id":"route-18b9fe1e2bc369d2","origin_key":"python:perovskite_sim.physics.compensated.DD","qualified_name":"perovskite_sim.physics.compensated.DD","visibility":"public","evidence_level":"source_static"}, +{"id":"python-3c164a9a3190615e","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/compensated.py","route_id":"route-18b9fe1e2bc369d2","origin_key":"python:perovskite_sim.physics.compensated.DD.__abs__","qualified_name":"perovskite_sim.physics.compensated.DD.__abs__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-9402d30315897724","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/compensated.py","route_id":"route-18b9fe1e2bc369d2","origin_key":"python:perovskite_sim.physics.compensated.DD.__add__","qualified_name":"perovskite_sim.physics.compensated.DD.__add__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-3bf84efe4af711db","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/compensated.py","route_id":"route-18b9fe1e2bc369d2","origin_key":"python:perovskite_sim.physics.compensated.DD.__array__","qualified_name":"perovskite_sim.physics.compensated.DD.__array__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-a9bfd730487d172e","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/compensated.py","route_id":"route-18b9fe1e2bc369d2","origin_key":"python:perovskite_sim.physics.compensated.DD.__bool__","qualified_name":"perovskite_sim.physics.compensated.DD.__bool__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-63cb3a5261442363","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/compensated.py","route_id":"route-18b9fe1e2bc369d2","origin_key":"python:perovskite_sim.physics.compensated.DD.__eq__","qualified_name":"perovskite_sim.physics.compensated.DD.__eq__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-a25a577907f19160","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/compensated.py","route_id":"route-18b9fe1e2bc369d2","origin_key":"python:perovskite_sim.physics.compensated.DD.__float__","qualified_name":"perovskite_sim.physics.compensated.DD.__float__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-8cfccd767e398850","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/compensated.py","route_id":"route-18b9fe1e2bc369d2","origin_key":"python:perovskite_sim.physics.compensated.DD.__ge__","qualified_name":"perovskite_sim.physics.compensated.DD.__ge__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-51352f71d15ccd50","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/compensated.py","route_id":"route-18b9fe1e2bc369d2","origin_key":"python:perovskite_sim.physics.compensated.DD.__getitem__","qualified_name":"perovskite_sim.physics.compensated.DD.__getitem__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-45ff1cd10b8e91d2","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/compensated.py","route_id":"route-18b9fe1e2bc369d2","origin_key":"python:perovskite_sim.physics.compensated.DD.__gt__","qualified_name":"perovskite_sim.physics.compensated.DD.__gt__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-d4b06284f80e9d7b","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/compensated.py","route_id":"route-18b9fe1e2bc369d2","origin_key":"python:perovskite_sim.physics.compensated.DD.__init__","qualified_name":"perovskite_sim.physics.compensated.DD.__init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-371687a540043285","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/compensated.py","route_id":"route-18b9fe1e2bc369d2","origin_key":"python:perovskite_sim.physics.compensated.DD.__le__","qualified_name":"perovskite_sim.physics.compensated.DD.__le__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-748703ef2b77e39b","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/compensated.py","route_id":"route-18b9fe1e2bc369d2","origin_key":"python:perovskite_sim.physics.compensated.DD.__len__","qualified_name":"perovskite_sim.physics.compensated.DD.__len__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-d615092c57723995","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/compensated.py","route_id":"route-18b9fe1e2bc369d2","origin_key":"python:perovskite_sim.physics.compensated.DD.__lt__","qualified_name":"perovskite_sim.physics.compensated.DD.__lt__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-8f966223face4388","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/compensated.py","route_id":"route-18b9fe1e2bc369d2","origin_key":"python:perovskite_sim.physics.compensated.DD.__mul__","qualified_name":"perovskite_sim.physics.compensated.DD.__mul__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-87c2e444d6b23fc4","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/compensated.py","route_id":"route-18b9fe1e2bc369d2","origin_key":"python:perovskite_sim.physics.compensated.DD.__ne__","qualified_name":"perovskite_sim.physics.compensated.DD.__ne__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-21911f35047dc4b0","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/compensated.py","route_id":"route-18b9fe1e2bc369d2","origin_key":"python:perovskite_sim.physics.compensated.DD.__neg__","qualified_name":"perovskite_sim.physics.compensated.DD.__neg__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-26b39a8e01251b69","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/compensated.py","route_id":"route-18b9fe1e2bc369d2","origin_key":"python:perovskite_sim.physics.compensated.DD.__pos__","qualified_name":"perovskite_sim.physics.compensated.DD.__pos__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-710a8495bde3bf2a","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/compensated.py","route_id":"route-18b9fe1e2bc369d2","origin_key":"python:perovskite_sim.physics.compensated.DD.__repr__","qualified_name":"perovskite_sim.physics.compensated.DD.__repr__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-cb09b2b4fa39fb38","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/compensated.py","route_id":"route-18b9fe1e2bc369d2","origin_key":"python:perovskite_sim.physics.compensated.DD.__rsub__","qualified_name":"perovskite_sim.physics.compensated.DD.__rsub__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-6636edb6f63a5b4c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/compensated.py","route_id":"route-18b9fe1e2bc369d2","origin_key":"python:perovskite_sim.physics.compensated.DD.__rtruediv__","qualified_name":"perovskite_sim.physics.compensated.DD.__rtruediv__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-3b880b00654c30cf","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/compensated.py","route_id":"route-18b9fe1e2bc369d2","origin_key":"python:perovskite_sim.physics.compensated.DD.__sub__","qualified_name":"perovskite_sim.physics.compensated.DD.__sub__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-0124d067d6770c85","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/compensated.py","route_id":"route-18b9fe1e2bc369d2","origin_key":"python:perovskite_sim.physics.compensated.DD.__truediv__","qualified_name":"perovskite_sim.physics.compensated.DD.__truediv__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-0d2da2f286b90c91","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/compensated.py","route_id":"route-18b9fe1e2bc369d2","origin_key":"python:perovskite_sim.physics.compensated.DD._normalized","qualified_name":"perovskite_sim.physics.compensated.DD._normalized","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-30f1f7df56b76714","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/compensated.py","route_id":"route-18b9fe1e2bc369d2","origin_key":"python:perovskite_sim.physics.compensated.DD._trusted_parts","qualified_name":"perovskite_sim.physics.compensated.DD._trusted_parts","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-3a1753a7647a1922","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/compensated.py","route_id":"route-18b9fe1e2bc369d2","origin_key":"python:perovskite_sim.physics.compensated.DD.copy","qualified_name":"perovskite_sim.physics.compensated.DD.copy","visibility":"public","evidence_level":"source_static"}, +{"id":"python-a9bb192524ff7fd9","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/compensated.py","route_id":"route-18b9fe1e2bc369d2","origin_key":"python:perovskite_sim.physics.compensated.DD.exp","qualified_name":"perovskite_sim.physics.compensated.DD.exp","visibility":"public","evidence_level":"source_static"}, +{"id":"python-8de446a35d0b9946","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/compensated.py","route_id":"route-18b9fe1e2bc369d2","origin_key":"python:perovskite_sim.physics.compensated.DD.expm1","qualified_name":"perovskite_sim.physics.compensated.DD.expm1","visibility":"public","evidence_level":"source_static"}, +{"id":"python-888e29677a1cc063","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/compensated.py","route_id":"route-18b9fe1e2bc369d2","origin_key":"python:perovskite_sim.physics.compensated.DD.from_float","qualified_name":"perovskite_sim.physics.compensated.DD.from_float","visibility":"public","evidence_level":"source_static"}, +{"id":"python-2ef1cad688756751","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/compensated.py","route_id":"route-18b9fe1e2bc369d2","origin_key":"python:perovskite_sim.physics.compensated.DD.hi","qualified_name":"perovskite_sim.physics.compensated.DD.hi","visibility":"public","evidence_level":"source_static"}, +{"id":"python-1e5aac7d4ee63b25","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/compensated.py","route_id":"route-18b9fe1e2bc369d2","origin_key":"python:perovskite_sim.physics.compensated.DD.lo","qualified_name":"perovskite_sim.physics.compensated.DD.lo","visibility":"public","evidence_level":"source_static"}, +{"id":"python-caf2ce368b6875b8","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/compensated.py","route_id":"route-18b9fe1e2bc369d2","origin_key":"python:perovskite_sim.physics.compensated.DD.log","qualified_name":"perovskite_sim.physics.compensated.DD.log","visibility":"public","evidence_level":"source_static"}, +{"id":"python-6b375f7558d3919b","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/compensated.py","route_id":"route-18b9fe1e2bc369d2","origin_key":"python:perovskite_sim.physics.compensated.DD.log1p","qualified_name":"perovskite_sim.physics.compensated.DD.log1p","visibility":"public","evidence_level":"source_static"}, +{"id":"python-585fd8b7c89f6649","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/compensated.py","route_id":"route-18b9fe1e2bc369d2","origin_key":"python:perovskite_sim.physics.compensated.DD.ndim","qualified_name":"perovskite_sim.physics.compensated.DD.ndim","visibility":"public","evidence_level":"source_static"}, +{"id":"python-ef1db82eb901201a","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/compensated.py","route_id":"route-18b9fe1e2bc369d2","origin_key":"python:perovskite_sim.physics.compensated.DD.ravel","qualified_name":"perovskite_sim.physics.compensated.DD.ravel","visibility":"public","evidence_level":"source_static"}, +{"id":"python-0961861431817006","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/compensated.py","route_id":"route-18b9fe1e2bc369d2","origin_key":"python:perovskite_sim.physics.compensated.DD.reshape","qualified_name":"perovskite_sim.physics.compensated.DD.reshape","visibility":"public","evidence_level":"source_static"}, +{"id":"python-f20d89e3abf7e590","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/compensated.py","route_id":"route-18b9fe1e2bc369d2","origin_key":"python:perovskite_sim.physics.compensated.DD.shape","qualified_name":"perovskite_sim.physics.compensated.DD.shape","visibility":"public","evidence_level":"source_static"}, +{"id":"python-8d7f33aea381654c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/compensated.py","route_id":"route-18b9fe1e2bc369d2","origin_key":"python:perovskite_sim.physics.compensated.DD.size","qualified_name":"perovskite_sim.physics.compensated.DD.size","visibility":"public","evidence_level":"source_static"}, +{"id":"python-39e1974affed9eaa","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/compensated.py","route_id":"route-18b9fe1e2bc369d2","origin_key":"python:perovskite_sim.physics.compensated.DD.sum","qualified_name":"perovskite_sim.physics.compensated.DD.sum","visibility":"public","evidence_level":"source_static"}, +{"id":"python-9d3c46a21b2f24dc","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/compensated.py","route_id":"route-18b9fe1e2bc369d2","origin_key":"python:perovskite_sim.physics.compensated.DD.to_float","qualified_name":"perovskite_sim.physics.compensated.DD.to_float","visibility":"public","evidence_level":"source_static"}, +{"id":"python-2da48c4f7ab855fd","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/compensated.py","route_id":"route-18b9fe1e2bc369d2","origin_key":"python:perovskite_sim.physics.compensated._as_dd","qualified_name":"perovskite_sim.physics.compensated._as_dd","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-2a006307c16849f6","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/compensated.py","route_id":"route-18b9fe1e2bc369d2","origin_key":"python:perovskite_sim.physics.compensated._general_reduced_expm1","qualified_name":"perovskite_sim.physics.compensated._general_reduced_expm1","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-4d09b1b39ab5a223","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/compensated.py","route_id":"route-18b9fe1e2bc369d2","origin_key":"python:perovskite_sim.physics.compensated._immutable_array","qualified_name":"perovskite_sim.physics.compensated._immutable_array","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-001335f7140e48c3","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/compensated.py","route_id":"route-18b9fe1e2bc369d2","origin_key":"python:perovskite_sim.physics.compensated._reduced_expm1","qualified_name":"perovskite_sim.physics.compensated._reduced_expm1","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-dc4b87001f683953","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/compensated.py","route_id":"route-18b9fe1e2bc369d2","origin_key":"python:perovskite_sim.physics.compensated._scalar_constant","qualified_name":"perovskite_sim.physics.compensated._scalar_constant","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-29695b4d98476a6f","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/compensated.py","route_id":"route-18b9fe1e2bc369d2","origin_key":"python:perovskite_sim.physics.compensated._scale_two","qualified_name":"perovskite_sim.physics.compensated._scale_two","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-32b8e365f842ec78","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/compensated.py","route_id":"route-18b9fe1e2bc369d2","origin_key":"python:perovskite_sim.physics.compensated._small_expm1","qualified_name":"perovskite_sim.physics.compensated._small_expm1","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-10884c288d17e03f","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/compensated.py","route_id":"route-18b9fe1e2bc369d2","origin_key":"python:perovskite_sim.physics.compensated._small_log1p","qualified_name":"perovskite_sim.physics.compensated._small_log1p","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-8803a8a24e598b72","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/compensated.py","route_id":"route-18b9fe1e2bc369d2","origin_key":"python:perovskite_sim.physics.compensated._two_product","qualified_name":"perovskite_sim.physics.compensated._two_product","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-d0ecbfe44529331c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/compensated.py","route_id":"route-18b9fe1e2bc369d2","origin_key":"python:perovskite_sim.physics.compensated._two_sum","qualified_name":"perovskite_sim.physics.compensated._two_sum","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-0bfa95f59d70127b","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/compensated.py","route_id":"route-18b9fe1e2bc369d2","origin_key":"python:perovskite_sim.physics.compensated._validate","qualified_name":"perovskite_sim.physics.compensated._validate","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-41adfdc5d687384e","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/compensated.py","route_id":"route-18b9fe1e2bc369d2","origin_key":"python:perovskite_sim.physics.compensated.exp","qualified_name":"perovskite_sim.physics.compensated.exp","visibility":"public","evidence_level":"source_static"}, +{"id":"python-99592db9aa4a69ea","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/compensated.py","route_id":"route-18b9fe1e2bc369d2","origin_key":"python:perovskite_sim.physics.compensated.expm1","qualified_name":"perovskite_sim.physics.compensated.expm1","visibility":"public","evidence_level":"source_static"}, +{"id":"python-d602947e5ff73ce2","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/compensated.py","route_id":"route-18b9fe1e2bc369d2","origin_key":"python:perovskite_sim.physics.compensated.log","qualified_name":"perovskite_sim.physics.compensated.log","visibility":"public","evidence_level":"source_static"}, +{"id":"python-307cee486d20db4a","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/compensated.py","route_id":"route-18b9fe1e2bc369d2","origin_key":"python:perovskite_sim.physics.compensated.log1p","qualified_name":"perovskite_sim.physics.compensated.log1p","visibility":"public","evidence_level":"source_static"}, +{"id":"python-304fcb1415cfefcb","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/compensated.py","route_id":"route-18b9fe1e2bc369d2","origin_key":"python:perovskite_sim.physics.compensated.sum","qualified_name":"perovskite_sim.physics.compensated.sum","visibility":"public","evidence_level":"source_static"}, +{"id":"python-2858f2a4eebbf850","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/physics/contacts.py","route_id":"route-4ee875fb4c7eec91","origin_key":"python:perovskite_sim.physics.contacts.ContactThermodynamicCertificate","qualified_name":"perovskite_sim.physics.contacts.ContactThermodynamicCertificate","visibility":"public","evidence_level":"source_static"}, +{"id":"python-e7633740b8d8514f","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/contacts.py","route_id":"route-4ee875fb4c7eec91","origin_key":"python:perovskite_sim.physics.contacts.ContactThermodynamicCertificate.certified","qualified_name":"perovskite_sim.physics.contacts.ContactThermodynamicCertificate.certified","visibility":"public","evidence_level":"source_static"}, +{"id":"python-aa3f8150256ce0bc","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/physics/contacts.py","route_id":"route-4ee875fb4c7eec91","origin_key":"python:perovskite_sim.physics.contacts.ContactThermodynamicError","qualified_name":"perovskite_sim.physics.contacts.ContactThermodynamicError","visibility":"public","evidence_level":"source_static"}, +{"id":"python-db4b58063422cf2e","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/physics/contacts.py","route_id":"route-4ee875fb4c7eec91","origin_key":"python:perovskite_sim.physics.contacts.SemiconductorContactState","qualified_name":"perovskite_sim.physics.contacts.SemiconductorContactState","visibility":"public","evidence_level":"source_static"}, +{"id":"python-560dcc8100d8e4f6","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/contacts.py","route_id":"route-4ee875fb4c7eec91","origin_key":"python:perovskite_sim.physics.contacts.SemiconductorContactState.electron_density_m3","qualified_name":"perovskite_sim.physics.contacts.SemiconductorContactState.electron_density_m3","visibility":"public","evidence_level":"source_static"}, +{"id":"python-216ed560e4c20e78","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/contacts.py","route_id":"route-4ee875fb4c7eec91","origin_key":"python:perovskite_sim.physics.contacts.SemiconductorContactState.hole_density_m3","qualified_name":"perovskite_sim.physics.contacts.SemiconductorContactState.hole_density_m3","visibility":"public","evidence_level":"source_static"}, +{"id":"python-c5b2114069c540af","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/contacts.py","route_id":"route-4ee875fb4c7eec91","origin_key":"python:perovskite_sim.physics.contacts.SemiconductorContactState.reduced_electron_fermi_level","qualified_name":"perovskite_sim.physics.contacts.SemiconductorContactState.reduced_electron_fermi_level","visibility":"public","evidence_level":"source_static"}, +{"id":"python-6a45f21f138a60e6","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/contacts.py","route_id":"route-4ee875fb4c7eec91","origin_key":"python:perovskite_sim.physics.contacts.SemiconductorContactState.reduced_hole_fermi_level","qualified_name":"perovskite_sim.physics.contacts.SemiconductorContactState.reduced_hole_fermi_level","visibility":"public","evidence_level":"source_static"}, +{"id":"python-61daaeff1f9da6fb","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/contacts.py","route_id":"route-4ee875fb4c7eec91","origin_key":"python:perovskite_sim.physics.contacts.apply_selective_contacts","qualified_name":"perovskite_sim.physics.contacts.apply_selective_contacts","visibility":"public","evidence_level":"source_static"}, +{"id":"python-3ddcb4979169da94","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/contacts.py","route_id":"route-4ee875fb4c7eec91","origin_key":"python:perovskite_sim.physics.contacts.assess_contact_thermodynamics","qualified_name":"perovskite_sim.physics.contacts.assess_contact_thermodynamics","visibility":"public","evidence_level":"source_static"}, +{"id":"python-5d60e87ce520d508","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/contacts.py","route_id":"route-4ee875fb4c7eec91","origin_key":"python:perovskite_sim.physics.contacts.build_semiconductor_contact_state","qualified_name":"perovskite_sim.physics.contacts.build_semiconductor_contact_state","visibility":"public","evidence_level":"source_static"}, +{"id":"python-dfe9fec50dba2f3a","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/contacts.py","route_id":"route-4ee875fb4c7eec91","origin_key":"python:perovskite_sim.physics.contacts.require_contact_thermodynamic_certificate","qualified_name":"perovskite_sim.physics.contacts.require_contact_thermodynamic_certificate","visibility":"public","evidence_level":"source_static"}, +{"id":"python-c9a938667ea012f2","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/contacts.py","route_id":"route-4ee875fb4c7eec91","origin_key":"python:perovskite_sim.physics.contacts.resolved_contact_velocities","qualified_name":"perovskite_sim.physics.contacts.resolved_contact_velocities","visibility":"public","evidence_level":"source_static"}, +{"id":"python-1d62f9af7bf36d1b","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/contacts.py","route_id":"route-4ee875fb4c7eec91","origin_key":"python:perovskite_sim.physics.contacts.schottky_equilibrium_n","qualified_name":"perovskite_sim.physics.contacts.schottky_equilibrium_n","visibility":"public","evidence_level":"source_static"}, +{"id":"python-b5d7cfcca22498ff","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/contacts.py","route_id":"route-4ee875fb4c7eec91","origin_key":"python:perovskite_sim.physics.contacts.schottky_equilibrium_p","qualified_name":"perovskite_sim.physics.contacts.schottky_equilibrium_p","visibility":"public","evidence_level":"source_static"}, +{"id":"python-7396d8851a8a55cc","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/contacts.py","route_id":"route-4ee875fb4c7eec91","origin_key":"python:perovskite_sim.physics.contacts.selective_contact_flux","qualified_name":"perovskite_sim.physics.contacts.selective_contact_flux","visibility":"public","evidence_level":"source_static"}, +{"id":"python-f8eb91f0472a89e7","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/continuity.py","route_id":"route-6ea3c3d324eaee4c","origin_key":"python:perovskite_sim.physics.continuity.carrier_continuity_rhs","qualified_name":"perovskite_sim.physics.continuity.carrier_continuity_rhs","visibility":"public","evidence_level":"source_static"}, +{"id":"python-236d3fbbdc27906f","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/continuity.py","route_id":"route-6ea3c3d324eaee4c","origin_key":"python:perovskite_sim.physics.continuity.carrier_face_currents","qualified_name":"perovskite_sim.physics.continuity.carrier_face_currents","visibility":"public","evidence_level":"source_static"}, +{"id":"python-a1b410a16e486e72","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/continuity.py","route_id":"route-6ea3c3d324eaee4c","origin_key":"python:perovskite_sim.physics.continuity.split_interface_flux","qualified_name":"perovskite_sim.physics.continuity.split_interface_flux","visibility":"public","evidence_level":"source_static"}, +{"id":"python-16ea2cb01e5b841b","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/continuity.py","route_id":"route-6ea3c3d324eaee4c","origin_key":"python:perovskite_sim.physics.continuity.split_interface_flux_p","qualified_name":"perovskite_sim.physics.continuity.split_interface_flux_p","visibility":"public","evidence_level":"source_static"}, +{"id":"python-78405242d1e4c8b3","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/physics/defect_closure.py","route_id":"route-108317e3109dd879","origin_key":"python:perovskite_sim.physics.defect_closure.MonovalentBulkDefectEvaluation","qualified_name":"perovskite_sim.physics.defect_closure.MonovalentBulkDefectEvaluation","visibility":"public","evidence_level":"source_static"}, +{"id":"python-db85e9699fc0d5e3","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/defect_closure.py","route_id":"route-108317e3109dd879","origin_key":"python:perovskite_sim.physics.defect_closure.MonovalentBulkDefectEvaluation.__post_init__","qualified_name":"perovskite_sim.physics.defect_closure.MonovalentBulkDefectEvaluation.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-08e5179f81922924","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/defect_closure.py","route_id":"route-108317e3109dd879","origin_key":"python:perovskite_sim.physics.defect_closure.MonovalentBulkDefectEvaluation.to_dict","qualified_name":"perovskite_sim.physics.defect_closure.MonovalentBulkDefectEvaluation.to_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-fa6c6c815f4fae4d","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/physics/defect_closure.py","route_id":"route-108317e3109dd879","origin_key":"python:perovskite_sim.physics.defect_closure.MonovalentBulkDefectModel","qualified_name":"perovskite_sim.physics.defect_closure.MonovalentBulkDefectModel","visibility":"public","evidence_level":"source_static"}, +{"id":"python-cde722cc22e6e6b8","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/defect_closure.py","route_id":"route-108317e3109dd879","origin_key":"python:perovskite_sim.physics.defect_closure.MonovalentBulkDefectModel.__post_init__","qualified_name":"perovskite_sim.physics.defect_closure.MonovalentBulkDefectModel.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-74c479b20a7b6fb0","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/defect_closure.py","route_id":"route-108317e3109dd879","origin_key":"python:perovskite_sim.physics.defect_closure.MonovalentBulkDefectModel.charge_transitions","qualified_name":"perovskite_sim.physics.defect_closure.MonovalentBulkDefectModel.charge_transitions","visibility":"public","evidence_level":"source_static"}, +{"id":"python-1ad839e72332442c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/defect_closure.py","route_id":"route-108317e3109dd879","origin_key":"python:perovskite_sim.physics.defect_closure.MonovalentBulkDefectModel.distribution_kinds","qualified_name":"perovskite_sim.physics.defect_closure.MonovalentBulkDefectModel.distribution_kinds","visibility":"public","evidence_level":"source_static"}, +{"id":"python-7d44c990842a6d63","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/defect_closure.py","route_id":"route-108317e3109dd879","origin_key":"python:perovskite_sim.physics.defect_closure.MonovalentBulkDefectModel.explicit_node_mask","qualified_name":"perovskite_sim.physics.defect_closure.MonovalentBulkDefectModel.explicit_node_mask","visibility":"public","evidence_level":"source_static"}, +{"id":"python-e87781bc174b4b91","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/defect_closure.py","route_id":"route-108317e3109dd879","origin_key":"python:perovskite_sim.physics.defect_closure.MonovalentBulkDefectModel.has_distributed_species","qualified_name":"perovskite_sim.physics.defect_closure.MonovalentBulkDefectModel.has_distributed_species","visibility":"public","evidence_level":"source_static"}, +{"id":"python-965edeb54a96c9ba","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/defect_closure.py","route_id":"route-108317e3109dd879","origin_key":"python:perovskite_sim.physics.defect_closure.MonovalentBulkDefectModel.has_spatial_profiles","qualified_name":"perovskite_sim.physics.defect_closure.MonovalentBulkDefectModel.has_spatial_profiles","visibility":"public","evidence_level":"source_static"}, +{"id":"python-15bada63be9c1fca","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/defect_closure.py","route_id":"route-108317e3109dd879","origin_key":"python:perovskite_sim.physics.defect_closure.MonovalentBulkDefectModel.identity_sha256","qualified_name":"perovskite_sim.physics.defect_closure.MonovalentBulkDefectModel.identity_sha256","visibility":"public","evidence_level":"source_static"}, +{"id":"python-a55388dce441358c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/defect_closure.py","route_id":"route-108317e3109dd879","origin_key":"python:perovskite_sim.physics.defect_closure.MonovalentBulkDefectModel.node_count","qualified_name":"perovskite_sim.physics.defect_closure.MonovalentBulkDefectModel.node_count","visibility":"public","evidence_level":"source_static"}, +{"id":"python-3030c4f943842908","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/defect_closure.py","route_id":"route-108317e3109dd879","origin_key":"python:perovskite_sim.physics.defect_closure.MonovalentBulkDefectModel.source_density_multiplier_bounds","qualified_name":"perovskite_sim.physics.defect_closure.MonovalentBulkDefectModel.source_density_multiplier_bounds","visibility":"public","evidence_level":"source_static"}, +{"id":"python-40092e347fe25687","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/defect_closure.py","route_id":"route-108317e3109dd879","origin_key":"python:perovskite_sim.physics.defect_closure.MonovalentBulkDefectModel.source_energy_orders","qualified_name":"perovskite_sim.physics.defect_closure.MonovalentBulkDefectModel.source_energy_orders","visibility":"public","evidence_level":"source_static"}, +{"id":"python-f41be46edad56f87","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/defect_closure.py","route_id":"route-108317e3109dd879","origin_key":"python:perovskite_sim.physics.defect_closure.MonovalentBulkDefectModel.source_node_identifiers","qualified_name":"perovskite_sim.physics.defect_closure.MonovalentBulkDefectModel.source_node_identifiers","visibility":"public","evidence_level":"source_static"}, +{"id":"python-f07ed8e3eb512edb","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/defect_closure.py","route_id":"route-108317e3109dd879","origin_key":"python:perovskite_sim.physics.defect_closure.MonovalentBulkDefectModel.spatial_profile_sha256s","qualified_name":"perovskite_sim.physics.defect_closure.MonovalentBulkDefectModel.spatial_profile_sha256s","visibility":"public","evidence_level":"source_static"}, +{"id":"python-89ac35085f3120c9","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/defect_closure.py","route_id":"route-108317e3109dd879","origin_key":"python:perovskite_sim.physics.defect_closure.MonovalentBulkDefectModel.species_identifiers","qualified_name":"perovskite_sim.physics.defect_closure.MonovalentBulkDefectModel.species_identifiers","visibility":"public","evidence_level":"source_static"}, +{"id":"python-5ce2298714dcb74d","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/physics/defect_closure.py","route_id":"route-108317e3109dd879","origin_key":"python:perovskite_sim.physics.defect_closure.MonovalentDefectClosureCapabilityError","qualified_name":"perovskite_sim.physics.defect_closure.MonovalentDefectClosureCapabilityError","visibility":"public","evidence_level":"source_static"}, +{"id":"python-8639bc5ca2990f37","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/physics/defect_closure.py","route_id":"route-108317e3109dd879","origin_key":"python:perovskite_sim.physics.defect_closure.MonovalentDefectClosureResult","qualified_name":"perovskite_sim.physics.defect_closure.MonovalentDefectClosureResult","visibility":"public","evidence_level":"source_static"}, +{"id":"python-100f2397117e207e","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/defect_closure.py","route_id":"route-108317e3109dd879","origin_key":"python:perovskite_sim.physics.defect_closure.MonovalentDefectClosureResult.__post_init__","qualified_name":"perovskite_sim.physics.defect_closure.MonovalentDefectClosureResult.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-c451a3763fab3ffa","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/defect_closure.py","route_id":"route-108317e3109dd879","origin_key":"python:perovskite_sim.physics.defect_closure.MonovalentDefectClosureResult.to_dict","qualified_name":"perovskite_sim.physics.defect_closure.MonovalentDefectClosureResult.to_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-3d5685e2fc53c3a7","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/physics/defect_closure.py","route_id":"route-108317e3109dd879","origin_key":"python:perovskite_sim.physics.defect_closure.MonovalentDefectNeutralityResult","qualified_name":"perovskite_sim.physics.defect_closure.MonovalentDefectNeutralityResult","visibility":"public","evidence_level":"source_static"}, +{"id":"python-39d771cbee4b7bd1","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/physics/defect_closure.py","route_id":"route-108317e3109dd879","origin_key":"python:perovskite_sim.physics.defect_closure.MonovalentDefectRegion","qualified_name":"perovskite_sim.physics.defect_closure.MonovalentDefectRegion","visibility":"public","evidence_level":"source_static"}, +{"id":"python-cfd5a5b7b78c36b2","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/defect_closure.py","route_id":"route-108317e3109dd879","origin_key":"python:perovskite_sim.physics.defect_closure.MonovalentDefectRegion.__post_init__","qualified_name":"perovskite_sim.physics.defect_closure.MonovalentDefectRegion.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-67b98bb6ab341d4c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/defect_closure.py","route_id":"route-108317e3109dd879","origin_key":"python:perovskite_sim.physics.defect_closure.MonovalentDefectRegion.distribution_kinds","qualified_name":"perovskite_sim.physics.defect_closure.MonovalentDefectRegion.distribution_kinds","visibility":"public","evidence_level":"source_static"}, +{"id":"python-1c0bcce4c6f34d7d","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/defect_closure.py","route_id":"route-108317e3109dd879","origin_key":"python:perovskite_sim.physics.defect_closure.MonovalentDefectRegion.has_distributed_species","qualified_name":"perovskite_sim.physics.defect_closure.MonovalentDefectRegion.has_distributed_species","visibility":"public","evidence_level":"source_static"}, +{"id":"python-15b551076590e758","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/defect_closure.py","route_id":"route-108317e3109dd879","origin_key":"python:perovskite_sim.physics.defect_closure.MonovalentDefectRegion.has_spatial_profiles","qualified_name":"perovskite_sim.physics.defect_closure.MonovalentDefectRegion.has_spatial_profiles","visibility":"public","evidence_level":"source_static"}, +{"id":"python-8e4270e13d494a6f","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/defect_closure.py","route_id":"route-108317e3109dd879","origin_key":"python:perovskite_sim.physics.defect_closure.MonovalentDefectRegion.source_density_multiplier_bounds","qualified_name":"perovskite_sim.physics.defect_closure.MonovalentDefectRegion.source_density_multiplier_bounds","visibility":"public","evidence_level":"source_static"}, +{"id":"python-6c1612fe93ee9ed4","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/defect_closure.py","route_id":"route-108317e3109dd879","origin_key":"python:perovskite_sim.physics.defect_closure.MonovalentDefectRegion.source_energy_orders","qualified_name":"perovskite_sim.physics.defect_closure.MonovalentDefectRegion.source_energy_orders","visibility":"public","evidence_level":"source_static"}, +{"id":"python-8c2e58d68e2e8e96","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/defect_closure.py","route_id":"route-108317e3109dd879","origin_key":"python:perovskite_sim.physics.defect_closure.MonovalentDefectRegion.source_node_identifiers","qualified_name":"perovskite_sim.physics.defect_closure.MonovalentDefectRegion.source_node_identifiers","visibility":"public","evidence_level":"source_static"}, +{"id":"python-1ef6b0ae28865638","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/defect_closure.py","route_id":"route-108317e3109dd879","origin_key":"python:perovskite_sim.physics.defect_closure.MonovalentDefectRegion.spatial_profile_sha256s","qualified_name":"perovskite_sim.physics.defect_closure.MonovalentDefectRegion.spatial_profile_sha256s","visibility":"public","evidence_level":"source_static"}, +{"id":"python-fd68ae43dc771c41","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/defect_closure.py","route_id":"route-108317e3109dd879","origin_key":"python:perovskite_sim.physics.defect_closure.MonovalentDefectRegion.species_at_local_node","qualified_name":"perovskite_sim.physics.defect_closure.MonovalentDefectRegion.species_at_local_node","visibility":"public","evidence_level":"source_static"}, +{"id":"python-056e45072a855090","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/physics/defect_closure.py","route_id":"route-108317e3109dd879","origin_key":"python:perovskite_sim.physics.defect_closure._SpatialDefectRegionEvaluation","qualified_name":"perovskite_sim.physics.defect_closure._SpatialDefectRegionEvaluation","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-bb011f021ce67ed5","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/defect_closure.py","route_id":"route-108317e3109dd879","origin_key":"python:perovskite_sim.physics.defect_closure._closure_identity","qualified_name":"perovskite_sim.physics.defect_closure._closure_identity","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-782107c37fca6fb2","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/defect_closure.py","route_id":"route-108317e3109dd879","origin_key":"python:perovskite_sim.physics.defect_closure._evaluate_spatial_defect_region","qualified_name":"perovskite_sim.physics.defect_closure._evaluate_spatial_defect_region","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-cdb471429b0454a1","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/defect_closure.py","route_id":"route-108317e3109dd879","origin_key":"python:perovskite_sim.physics.defect_closure._finite_positive","qualified_name":"perovskite_sim.physics.defect_closure._finite_positive","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-62fb66ec3ca0d443","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/defect_closure.py","route_id":"route-108317e3109dd879","origin_key":"python:perovskite_sim.physics.defect_closure._readonly","qualified_name":"perovskite_sim.physics.defect_closure._readonly","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-d1348d3974ad6ef0","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/defect_closure.py","route_id":"route-108317e3109dd879","origin_key":"python:perovskite_sim.physics.defect_closure._validate_source_species","qualified_name":"perovskite_sim.physics.defect_closure._validate_source_species","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-7fa592ee5f66daaf","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/defect_closure.py","route_id":"route-108317e3109dd879","origin_key":"python:perovskite_sim.physics.defect_closure._validate_species","qualified_name":"perovskite_sim.physics.defect_closure._validate_species","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-16587fc2f40de382","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/defect_closure.py","route_id":"route-108317e3109dd879","origin_key":"python:perovskite_sim.physics.defect_closure.evaluate_monovalent_bulk_defects","qualified_name":"perovskite_sim.physics.defect_closure.evaluate_monovalent_bulk_defects","visibility":"public","evidence_level":"source_static"}, +{"id":"python-0573f62b2050eb1b","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/defect_closure.py","route_id":"route-108317e3109dd879","origin_key":"python:perovskite_sim.physics.defect_closure.evaluate_monovalent_defect_closure","qualified_name":"perovskite_sim.physics.defect_closure.evaluate_monovalent_defect_closure","visibility":"public","evidence_level":"source_static"}, +{"id":"python-79cdae9ffecf6769","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/defect_closure.py","route_id":"route-108317e3109dd879","origin_key":"python:perovskite_sim.physics.defect_closure.evaluate_monovalent_source_defect_closure","qualified_name":"perovskite_sim.physics.defect_closure.evaluate_monovalent_source_defect_closure","visibility":"public","evidence_level":"source_static"}, +{"id":"python-aed09e359711636c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/defect_closure.py","route_id":"route-108317e3109dd879","origin_key":"python:perovskite_sim.physics.defect_closure.solve_monovalent_defect_charge_neutrality","qualified_name":"perovskite_sim.physics.defect_closure.solve_monovalent_defect_charge_neutrality","visibility":"public","evidence_level":"source_static"}, +{"id":"python-7edad699a1444d23","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/physics/defect_distributions.py","route_id":"route-69cbc8c249cae851","origin_key":"python:perovskite_sim.physics.defect_distributions.DefectEnergyQuadrature","qualified_name":"perovskite_sim.physics.defect_distributions.DefectEnergyQuadrature","visibility":"public","evidence_level":"source_static"}, +{"id":"python-38ea45216ad10b1c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/defect_distributions.py","route_id":"route-69cbc8c249cae851","origin_key":"python:perovskite_sim.physics.defect_distributions.DefectEnergyQuadrature.__post_init__","qualified_name":"perovskite_sim.physics.defect_distributions.DefectEnergyQuadrature.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-04fc1c9ebc2e5a77","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/defect_distributions.py","route_id":"route-69cbc8c249cae851","origin_key":"python:perovskite_sim.physics.defect_distributions.DefectEnergyQuadrature.integrated_density_m3","qualified_name":"perovskite_sim.physics.defect_distributions.DefectEnergyQuadrature.integrated_density_m3","visibility":"public","evidence_level":"source_static"}, +{"id":"python-7679efea92657eb4","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/defect_distributions.py","route_id":"route-69cbc8c249cae851","origin_key":"python:perovskite_sim.physics.defect_distributions.DefectEnergyQuadrature.order","qualified_name":"perovskite_sim.physics.defect_distributions.DefectEnergyQuadrature.order","visibility":"public","evidence_level":"source_static"}, +{"id":"python-ee715393e64c4dd1","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/defect_distributions.py","route_id":"route-69cbc8c249cae851","origin_key":"python:perovskite_sim.physics.defect_distributions.DefectEnergyQuadrature.to_dict","qualified_name":"perovskite_sim.physics.defect_distributions.DefectEnergyQuadrature.to_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-b2257009e2287b92","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/physics/defect_distributions.py","route_id":"route-69cbc8c249cae851","origin_key":"python:perovskite_sim.physics.defect_distributions.DefectSpeciesEnergyExpansion","qualified_name":"perovskite_sim.physics.defect_distributions.DefectSpeciesEnergyExpansion","visibility":"public","evidence_level":"source_static"}, +{"id":"python-987dc86ec793315b","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/defect_distributions.py","route_id":"route-69cbc8c249cae851","origin_key":"python:perovskite_sim.physics.defect_distributions.DefectSpeciesEnergyExpansion.__post_init__","qualified_name":"perovskite_sim.physics.defect_distributions.DefectSpeciesEnergyExpansion.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-3d13a12f7cc70787","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/defect_distributions.py","route_id":"route-69cbc8c249cae851","origin_key":"python:perovskite_sim.physics.defect_distributions._density_weights","qualified_name":"perovskite_sim.physics.defect_distributions._density_weights","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-6b844724b825ac3a","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/defect_distributions.py","route_id":"route-69cbc8c249cae851","origin_key":"python:perovskite_sim.physics.defect_distributions._finite_positive","qualified_name":"perovskite_sim.physics.defect_distributions._finite_positive","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-318ef2c7fd08d6d1","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/defect_distributions.py","route_id":"route-69cbc8c249cae851","origin_key":"python:perovskite_sim.physics.defect_distributions.build_defect_energy_quadrature","qualified_name":"perovskite_sim.physics.defect_distributions.build_defect_energy_quadrature","visibility":"public","evidence_level":"source_static"}, +{"id":"python-99a4e8fd75805d1d","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/defect_distributions.py","route_id":"route-69cbc8c249cae851","origin_key":"python:perovskite_sim.physics.defect_distributions.density_weighted_mean_occupancy","qualified_name":"perovskite_sim.physics.defect_distributions.density_weighted_mean_occupancy","visibility":"public","evidence_level":"source_static"}, +{"id":"python-556ac03ec30c58d7","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/defect_distributions.py","route_id":"route-69cbc8c249cae851","origin_key":"python:perovskite_sim.physics.defect_distributions.distribution_shape_integral_eV","qualified_name":"perovskite_sim.physics.defect_distributions.distribution_shape_integral_eV","visibility":"public","evidence_level":"source_static"}, +{"id":"python-baa6c969722985f5","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/defect_distributions.py","route_id":"route-69cbc8c249cae851","origin_key":"python:perovskite_sim.physics.defect_distributions.expand_bulk_defect_species_energy","qualified_name":"perovskite_sim.physics.defect_distributions.expand_bulk_defect_species_energy","visibility":"public","evidence_level":"source_static"}, +{"id":"python-d4357a4f43ed30cf","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/defect_distributions.py","route_id":"route-69cbc8c249cae851","origin_key":"python:perovskite_sim.physics.defect_distributions.integrated_density_from_peak_density","qualified_name":"perovskite_sim.physics.defect_distributions.integrated_density_from_peak_density","visibility":"public","evidence_level":"source_static"}, +{"id":"python-c14cfd5afc0da9f6","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/defect_distributions.py","route_id":"route-69cbc8c249cae851","origin_key":"python:perovskite_sim.physics.defect_distributions.peak_density_from_integrated_density","qualified_name":"perovskite_sim.physics.defect_distributions.peak_density_from_integrated_density","visibility":"public","evidence_level":"source_static"}, +{"id":"python-1b7a430987e15300","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/defect_distributions.py","route_id":"route-69cbc8c249cae851","origin_key":"python:perovskite_sim.physics.defect_distributions.validate_defect_energy_quadrature_order","qualified_name":"perovskite_sim.physics.defect_distributions.validate_defect_energy_quadrature_order","visibility":"public","evidence_level":"source_static"}, +{"id":"python-91f93185f9d4425e","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/physics/degenerate_transport.py","route_id":"route-f7e8418017ccd1d1","origin_key":"python:perovskite_sim.physics.degenerate_transport.GeneralizedCarrierFaceStatistics","qualified_name":"perovskite_sim.physics.degenerate_transport.GeneralizedCarrierFaceStatistics","visibility":"public","evidence_level":"source_static"}, +{"id":"python-6302b95b0eea89a1","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/degenerate_transport.py","route_id":"route-f7e8418017ccd1d1","origin_key":"python:perovskite_sim.physics.degenerate_transport._validated_flux_inputs","qualified_name":"perovskite_sim.physics.degenerate_transport._validated_flux_inputs","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-2156656c4e52489e","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/degenerate_transport.py","route_id":"route-f7e8418017ccd1d1","origin_key":"python:perovskite_sim.physics.degenerate_transport.generalized_carrier_face_statistics","qualified_name":"perovskite_sim.physics.degenerate_transport.generalized_carrier_face_statistics","visibility":"public","evidence_level":"source_static"}, +{"id":"python-6592d826e3e3119c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/degenerate_transport.py","route_id":"route-f7e8418017ccd1d1","origin_key":"python:perovskite_sim.physics.degenerate_transport.generalized_sg_fluxes_n","qualified_name":"perovskite_sim.physics.degenerate_transport.generalized_sg_fluxes_n","visibility":"public","evidence_level":"source_static"}, +{"id":"python-b3c60eccca4bae6a","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/degenerate_transport.py","route_id":"route-f7e8418017ccd1d1","origin_key":"python:perovskite_sim.physics.degenerate_transport.generalized_sg_fluxes_p","qualified_name":"perovskite_sim.physics.degenerate_transport.generalized_sg_fluxes_p","visibility":"public","evidence_level":"source_static"}, +{"id":"python-570266318a2bb789","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/physics/distributed_defect_closure.py","route_id":"route-716aea63eb4178e4","origin_key":"python:perovskite_sim.physics.distributed_defect_closure.EnergyDistributedDefectClosureCapabilityError","qualified_name":"perovskite_sim.physics.distributed_defect_closure.EnergyDistributedDefectClosureCapabilityError","visibility":"public","evidence_level":"source_static"}, +{"id":"python-3edc882789552856","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/physics/distributed_defect_closure.py","route_id":"route-716aea63eb4178e4","origin_key":"python:perovskite_sim.physics.distributed_defect_closure.EnergyDistributedDefectClosureError","qualified_name":"perovskite_sim.physics.distributed_defect_closure.EnergyDistributedDefectClosureError","visibility":"public","evidence_level":"source_static"}, +{"id":"python-872f46598cf44ee5","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/physics/distributed_defect_closure.py","route_id":"route-716aea63eb4178e4","origin_key":"python:perovskite_sim.physics.distributed_defect_closure.EnergyDistributedDefectClosureResult","qualified_name":"perovskite_sim.physics.distributed_defect_closure.EnergyDistributedDefectClosureResult","visibility":"public","evidence_level":"source_static"}, +{"id":"python-191b386935037053","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/distributed_defect_closure.py","route_id":"route-716aea63eb4178e4","origin_key":"python:perovskite_sim.physics.distributed_defect_closure.EnergyDistributedDefectClosureResult.__post_init__","qualified_name":"perovskite_sim.physics.distributed_defect_closure.EnergyDistributedDefectClosureResult.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-183fa2a798263424","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/distributed_defect_closure.py","route_id":"route-716aea63eb4178e4","origin_key":"python:perovskite_sim.physics.distributed_defect_closure.EnergyDistributedDefectClosureResult.distribution_kinds","qualified_name":"perovskite_sim.physics.distributed_defect_closure.EnergyDistributedDefectClosureResult.distribution_kinds","visibility":"public","evidence_level":"source_static"}, +{"id":"python-6cbfa44ef24f9fea","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/distributed_defect_closure.py","route_id":"route-716aea63eb4178e4","origin_key":"python:perovskite_sim.physics.distributed_defect_closure.EnergyDistributedDefectClosureResult.energy_orders","qualified_name":"perovskite_sim.physics.distributed_defect_closure.EnergyDistributedDefectClosureResult.energy_orders","visibility":"public","evidence_level":"source_static"}, +{"id":"python-8602865d911b2ab5","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/distributed_defect_closure.py","route_id":"route-716aea63eb4178e4","origin_key":"python:perovskite_sim.physics.distributed_defect_closure.EnergyDistributedDefectClosureResult.source_identifiers","qualified_name":"perovskite_sim.physics.distributed_defect_closure.EnergyDistributedDefectClosureResult.source_identifiers","visibility":"public","evidence_level":"source_static"}, +{"id":"python-bf0970b55dec4c6f","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/distributed_defect_closure.py","route_id":"route-716aea63eb4178e4","origin_key":"python:perovskite_sim.physics.distributed_defect_closure.EnergyDistributedDefectClosureResult.to_dict","qualified_name":"perovskite_sim.physics.distributed_defect_closure.EnergyDistributedDefectClosureResult.to_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-2bc400924706824b","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/physics/distributed_defect_closure.py","route_id":"route-716aea63eb4178e4","origin_key":"python:perovskite_sim.physics.distributed_defect_closure.EnergyResolvedSpeciesClosure","qualified_name":"perovskite_sim.physics.distributed_defect_closure.EnergyResolvedSpeciesClosure","visibility":"public","evidence_level":"source_static"}, +{"id":"python-9f862ff801f3416d","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/distributed_defect_closure.py","route_id":"route-716aea63eb4178e4","origin_key":"python:perovskite_sim.physics.distributed_defect_closure.EnergyResolvedSpeciesClosure.__post_init__","qualified_name":"perovskite_sim.physics.distributed_defect_closure.EnergyResolvedSpeciesClosure.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-fe33b46379143c40","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/distributed_defect_closure.py","route_id":"route-716aea63eb4178e4","origin_key":"python:perovskite_sim.physics.distributed_defect_closure.EnergyResolvedSpeciesClosure.distribution_kind","qualified_name":"perovskite_sim.physics.distributed_defect_closure.EnergyResolvedSpeciesClosure.distribution_kind","visibility":"public","evidence_level":"source_static"}, +{"id":"python-e1da6c61c0e2ac95","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/distributed_defect_closure.py","route_id":"route-716aea63eb4178e4","origin_key":"python:perovskite_sim.physics.distributed_defect_closure.EnergyResolvedSpeciesClosure.source_identifier","qualified_name":"perovskite_sim.physics.distributed_defect_closure.EnergyResolvedSpeciesClosure.source_identifier","visibility":"public","evidence_level":"source_static"}, +{"id":"python-795256997ff09017","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/distributed_defect_closure.py","route_id":"route-716aea63eb4178e4","origin_key":"python:perovskite_sim.physics.distributed_defect_closure.EnergyResolvedSpeciesClosure.to_dict","qualified_name":"perovskite_sim.physics.distributed_defect_closure.EnergyResolvedSpeciesClosure.to_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-09c61cbd939c0dc5","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/distributed_defect_closure.py","route_id":"route-716aea63eb4178e4","origin_key":"python:perovskite_sim.physics.distributed_defect_closure._closure_identity","qualified_name":"perovskite_sim.physics.distributed_defect_closure._closure_identity","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-89ca0f40c6f435ad","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/distributed_defect_closure.py","route_id":"route-716aea63eb4178e4","origin_key":"python:perovskite_sim.physics.distributed_defect_closure._finite_positive","qualified_name":"perovskite_sim.physics.distributed_defect_closure._finite_positive","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-afa510a03e5f4114","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/distributed_defect_closure.py","route_id":"route-716aea63eb4178e4","origin_key":"python:perovskite_sim.physics.distributed_defect_closure._integrate_source","qualified_name":"perovskite_sim.physics.distributed_defect_closure._integrate_source","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-6a27f7ed7d05a3af","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/distributed_defect_closure.py","route_id":"route-716aea63eb4178e4","origin_key":"python:perovskite_sim.physics.distributed_defect_closure._readonly","qualified_name":"perovskite_sim.physics.distributed_defect_closure._readonly","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-76ab4c6034b73fd2","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/distributed_defect_closure.py","route_id":"route-716aea63eb4178e4","origin_key":"python:perovskite_sim.physics.distributed_defect_closure._stable_source_sum","qualified_name":"perovskite_sim.physics.distributed_defect_closure._stable_source_sum","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-6550552a525a1cc7","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/distributed_defect_closure.py","route_id":"route-716aea63eb4178e4","origin_key":"python:perovskite_sim.physics.distributed_defect_closure.evaluate_energy_distributed_defect_closure","qualified_name":"perovskite_sim.physics.distributed_defect_closure.evaluate_energy_distributed_defect_closure","visibility":"public","evidence_level":"source_static"}, +{"id":"python-4889f13e87248204","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/doping.py","route_id":"route-159eb00a9b62800b","origin_key":"python:perovskite_sim.physics.doping.doping_at_position","qualified_name":"perovskite_sim.physics.doping.doping_at_position","visibility":"public","evidence_level":"source_static"}, +{"id":"python-b74c75ee4f6f0c13","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/doping.py","route_id":"route-159eb00a9b62800b","origin_key":"python:perovskite_sim.physics.doping.gaussian_doping_profile","qualified_name":"perovskite_sim.physics.doping.gaussian_doping_profile","visibility":"public","evidence_level":"source_static"}, +{"id":"python-a6ed9aa9655ee968","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/doping.py","route_id":"route-159eb00a9b62800b","origin_key":"python:perovskite_sim.physics.doping.has_doping_profile_params","qualified_name":"perovskite_sim.physics.doping.has_doping_profile_params","visibility":"public","evidence_level":"source_static"}, +{"id":"python-a0155af7d9f43278","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/doping.py","route_id":"route-159eb00a9b62800b","origin_key":"python:perovskite_sim.physics.doping.layer_doping_profiles","qualified_name":"perovskite_sim.physics.doping.layer_doping_profiles","visibility":"public","evidence_level":"source_static"}, +{"id":"python-365091edcf032654","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/doping.py","route_id":"route-159eb00a9b62800b","origin_key":"python:perovskite_sim.physics.doping.validate_doping_profile_params","qualified_name":"perovskite_sim.physics.doping.validate_doping_profile_params","visibility":"public","evidence_level":"source_static"}, +{"id":"python-31f4f3eb32734994","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/physics/dynamic_defect_state.py","route_id":"route-a1ddb1d3142ac66a","origin_key":"python:perovskite_sim.physics.dynamic_defect_state.DynamicBulkTrapEvaluation","qualified_name":"perovskite_sim.physics.dynamic_defect_state.DynamicBulkTrapEvaluation","visibility":"public","evidence_level":"source_static"}, +{"id":"python-ea71a79beeb649fb","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/dynamic_defect_state.py","route_id":"route-a1ddb1d3142ac66a","origin_key":"python:perovskite_sim.physics.dynamic_defect_state.DynamicBulkTrapEvaluation.__post_init__","qualified_name":"perovskite_sim.physics.dynamic_defect_state.DynamicBulkTrapEvaluation.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-a0ab9749c287b600","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/physics/dynamic_defect_state.py","route_id":"route-a1ddb1d3142ac66a","origin_key":"python:perovskite_sim.physics.dynamic_defect_state.DynamicBulkTrapLayout","qualified_name":"perovskite_sim.physics.dynamic_defect_state.DynamicBulkTrapLayout","visibility":"public","evidence_level":"source_static"}, +{"id":"python-8343aa487aafd099","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/dynamic_defect_state.py","route_id":"route-a1ddb1d3142ac66a","origin_key":"python:perovskite_sim.physics.dynamic_defect_state.DynamicBulkTrapLayout.__post_init__","qualified_name":"perovskite_sim.physics.dynamic_defect_state.DynamicBulkTrapLayout.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-64490d9ff1e4e679","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/dynamic_defect_state.py","route_id":"route-a1ddb1d3142ac66a","origin_key":"python:perovskite_sim.physics.dynamic_defect_state.DynamicBulkTrapLayout.charged_state_mask","qualified_name":"perovskite_sim.physics.dynamic_defect_state.DynamicBulkTrapLayout.charged_state_mask","visibility":"public","evidence_level":"source_static"}, +{"id":"python-09601495a03926cb","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/dynamic_defect_state.py","route_id":"route-a1ddb1d3142ac66a","origin_key":"python:perovskite_sim.physics.dynamic_defect_state.DynamicBulkTrapLayout.identity_sha256","qualified_name":"perovskite_sim.physics.dynamic_defect_state.DynamicBulkTrapLayout.identity_sha256","visibility":"public","evidence_level":"source_static"}, +{"id":"python-37bd5105e278a897","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/dynamic_defect_state.py","route_id":"route-a1ddb1d3142ac66a","origin_key":"python:perovskite_sim.physics.dynamic_defect_state.DynamicBulkTrapLayout.size","qualified_name":"perovskite_sim.physics.dynamic_defect_state.DynamicBulkTrapLayout.size","visibility":"public","evidence_level":"source_static"}, +{"id":"python-381c90533bf31c00","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/physics/dynamic_defect_state.py","route_id":"route-a1ddb1d3142ac66a","origin_key":"python:perovskite_sim.physics.dynamic_defect_state.DynamicBulkTrapStateError","qualified_name":"perovskite_sim.physics.dynamic_defect_state.DynamicBulkTrapStateError","visibility":"public","evidence_level":"source_static"}, +{"id":"python-ffb1cc618b84b95a","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/dynamic_defect_state.py","route_id":"route-a1ddb1d3142ac66a","origin_key":"python:perovskite_sim.physics.dynamic_defect_state._build_dynamic_evaluation","qualified_name":"perovskite_sim.physics.dynamic_defect_state._build_dynamic_evaluation","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-ffe55550785e7bc0","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/dynamic_defect_state.py","route_id":"route-a1ddb1d3142ac66a","origin_key":"python:perovskite_sim.physics.dynamic_defect_state._canonical_sha256","qualified_name":"perovskite_sim.physics.dynamic_defect_state._canonical_sha256","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-f7608b52c4b70502","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/dynamic_defect_state.py","route_id":"route-a1ddb1d3142ac66a","origin_key":"python:perovskite_sim.physics.dynamic_defect_state._readonly","qualified_name":"perovskite_sim.physics.dynamic_defect_state._readonly","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-f085fb840fb3e823","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/dynamic_defect_state.py","route_id":"route-a1ddb1d3142ac66a","origin_key":"python:perovskite_sim.physics.dynamic_defect_state._stable_expit","qualified_name":"perovskite_sim.physics.dynamic_defect_state._stable_expit","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-825f7c926a967809","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/dynamic_defect_state.py","route_id":"route-a1ddb1d3142ac66a","origin_key":"python:perovskite_sim.physics.dynamic_defect_state._validate_carriers","qualified_name":"perovskite_sim.physics.dynamic_defect_state._validate_carriers","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-076b31d705193075","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/dynamic_defect_state.py","route_id":"route-a1ddb1d3142ac66a","origin_key":"python:perovskite_sim.physics.dynamic_defect_state.bulk_trap_charge_density","qualified_name":"perovskite_sim.physics.dynamic_defect_state.bulk_trap_charge_density","visibility":"public","evidence_level":"source_static"}, +{"id":"python-122547606a185dc7","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/dynamic_defect_state.py","route_id":"route-a1ddb1d3142ac66a","origin_key":"python:perovskite_sim.physics.dynamic_defect_state.compile_dynamic_bulk_trap_layout","qualified_name":"perovskite_sim.physics.dynamic_defect_state.compile_dynamic_bulk_trap_layout","visibility":"public","evidence_level":"source_static"}, +{"id":"python-04b8e221e6e6bf14","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/dynamic_defect_state.py","route_id":"route-a1ddb1d3142ac66a","origin_key":"python:perovskite_sim.physics.dynamic_defect_state.evaluate_dynamic_bulk_traps","qualified_name":"perovskite_sim.physics.dynamic_defect_state.evaluate_dynamic_bulk_traps","visibility":"public","evidence_level":"source_static"}, +{"id":"python-7925874661e23aa4","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/dynamic_defect_state.py","route_id":"route-a1ddb1d3142ac66a","origin_key":"python:perovskite_sim.physics.dynamic_defect_state.evaluate_dynamic_bulk_traps_about_qss","qualified_name":"perovskite_sim.physics.dynamic_defect_state.evaluate_dynamic_bulk_traps_about_qss","visibility":"public","evidence_level":"source_static"}, +{"id":"python-603ae38612d08fa2","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/dynamic_defect_state.py","route_id":"route-a1ddb1d3142ac66a","origin_key":"python:perovskite_sim.physics.dynamic_defect_state.occupancy_from_logit_increment","qualified_name":"perovskite_sim.physics.dynamic_defect_state.occupancy_from_logit_increment","visibility":"public","evidence_level":"source_static"}, +{"id":"python-cb7896a0a9b1709f","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/dynamic_defect_state.py","route_id":"route-a1ddb1d3142ac66a","origin_key":"python:perovskite_sim.physics.dynamic_defect_state.occupancy_logit","qualified_name":"perovskite_sim.physics.dynamic_defect_state.occupancy_logit","visibility":"public","evidence_level":"source_static"}, +{"id":"python-2b564908c494fb07","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/dynamic_defect_state.py","route_id":"route-a1ddb1d3142ac66a","origin_key":"python:perovskite_sim.physics.dynamic_defect_state.quasi_steady_bulk_trap_occupancy","qualified_name":"perovskite_sim.physics.dynamic_defect_state.quasi_steady_bulk_trap_occupancy","visibility":"public","evidence_level":"source_static"}, +{"id":"python-7dd642c80f890be9","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/physics/dynamic_storage.py","route_id":"route-4a1ca1265630e4b8","origin_key":"python:perovskite_sim.physics.dynamic_storage.DynamicStorageIncrementError","qualified_name":"perovskite_sim.physics.dynamic_storage.DynamicStorageIncrementError","visibility":"public","evidence_level":"source_static"}, +{"id":"python-3c2e8cd9d7f8b787","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/dynamic_storage.py","route_id":"route-4a1ca1265630e4b8","origin_key":"python:perovskite_sim.physics.dynamic_storage.log_density_increment","qualified_name":"perovskite_sim.physics.dynamic_storage.log_density_increment","visibility":"public","evidence_level":"source_static"}, +{"id":"python-87508201edaaac0b","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/dynamic_storage.py","route_id":"route-4a1ca1265630e4b8","origin_key":"python:perovskite_sim.physics.dynamic_storage.log_density_update","qualified_name":"perovskite_sim.physics.dynamic_storage.log_density_update","visibility":"public","evidence_level":"source_static"}, +{"id":"python-05785cb1c1251c04","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/dynamic_storage.py","route_id":"route-4a1ca1265630e4b8","origin_key":"python:perovskite_sim.physics.dynamic_storage.logit_occupancy_increment","qualified_name":"perovskite_sim.physics.dynamic_storage.logit_occupancy_increment","visibility":"public","evidence_level":"source_static"}, +{"id":"python-1279c0b1c7eb68e4","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/fermi_dirac.py","route_id":"route-1309d096349404ba","origin_key":"python:perovskite_sim.physics.fermi_dirac._half_sommerfeld","qualified_name":"perovskite_sim.physics.fermi_dirac._half_sommerfeld","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-ae02c857157a6003","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/fermi_dirac.py","route_id":"route-1309d096349404ba","origin_key":"python:perovskite_sim.physics.fermi_dirac._half_table","qualified_name":"perovskite_sim.physics.fermi_dirac._half_table","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-fc1314ca5c2ac858","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/fermi_dirac.py","route_id":"route-1309d096349404ba","origin_key":"python:perovskite_sim.physics.fermi_dirac.fermi_dirac_half","qualified_name":"perovskite_sim.physics.fermi_dirac.fermi_dirac_half","visibility":"public","evidence_level":"source_static"}, +{"id":"python-afa494dcdbb540a9","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/fermi_dirac.py","route_id":"route-1309d096349404ba","origin_key":"python:perovskite_sim.physics.fermi_dirac.fermi_dirac_half_log_derivative","qualified_name":"perovskite_sim.physics.fermi_dirac.fermi_dirac_half_log_derivative","visibility":"public","evidence_level":"source_static"}, +{"id":"python-02e1bbc3957e4c4e","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/fermi_dirac.py","route_id":"route-1309d096349404ba","origin_key":"python:perovskite_sim.physics.fermi_dirac.fermi_dirac_one","qualified_name":"perovskite_sim.physics.fermi_dirac.fermi_dirac_one","visibility":"public","evidence_level":"source_static"}, +{"id":"python-a05d12c1348f1f5d","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/fermi_dirac.py","route_id":"route-1309d096349404ba","origin_key":"python:perovskite_sim.physics.fermi_dirac.fermi_dirac_zero","qualified_name":"perovskite_sim.physics.fermi_dirac.fermi_dirac_zero","visibility":"public","evidence_level":"source_static"}, +{"id":"python-956deaf5387530f5","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/fermi_dirac.py","route_id":"route-1309d096349404ba","origin_key":"python:perovskite_sim.physics.fermi_dirac.inverse_fermi_dirac_half","qualified_name":"perovskite_sim.physics.fermi_dirac.inverse_fermi_dirac_half","visibility":"public","evidence_level":"source_static"}, +{"id":"python-738712918d633be4","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/physics/field_mobility.py","route_id":"route-f9d68986ba5bff64","origin_key":"python:perovskite_sim.physics.field_mobility.FieldMobilityLinearization","qualified_name":"perovskite_sim.physics.field_mobility.FieldMobilityLinearization","visibility":"public","evidence_level":"source_static"}, +{"id":"python-ed7faf87887091d2","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/field_mobility.py","route_id":"route-f9d68986ba5bff64","origin_key":"python:perovskite_sim.physics.field_mobility.apply_field_mobility","qualified_name":"perovskite_sim.physics.field_mobility.apply_field_mobility","visibility":"public","evidence_level":"source_static"}, +{"id":"python-be5ea719f49c8dae","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/field_mobility.py","route_id":"route-f9d68986ba5bff64","origin_key":"python:perovskite_sim.physics.field_mobility.caughey_thomas","qualified_name":"perovskite_sim.physics.field_mobility.caughey_thomas","visibility":"public","evidence_level":"source_static"}, +{"id":"python-b05ce177e9f5f196","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/field_mobility.py","route_id":"route-f9d68986ba5bff64","origin_key":"python:perovskite_sim.physics.field_mobility.linearize_field_mobility","qualified_name":"perovskite_sim.physics.field_mobility.linearize_field_mobility","visibility":"public","evidence_level":"source_static"}, +{"id":"python-3041e5fe06b0f202","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/field_mobility.py","route_id":"route-f9d68986ba5bff64","origin_key":"python:perovskite_sim.physics.field_mobility.poole_frenkel","qualified_name":"perovskite_sim.physics.field_mobility.poole_frenkel","visibility":"public","evidence_level":"source_static"}, +{"id":"python-08c9e7a234a25123","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/generation.py","route_id":"route-127e79f3664fb2f8","origin_key":"python:perovskite_sim.physics.generation._cumulative_optical_depth","qualified_name":"perovskite_sim.physics.generation._cumulative_optical_depth","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-c937a1b69e3c9796","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/generation.py","route_id":"route-127e79f3664fb2f8","origin_key":"python:perovskite_sim.physics.generation.beer_lambert_generation","qualified_name":"perovskite_sim.physics.generation.beer_lambert_generation","visibility":"public","evidence_level":"source_static"}, +{"id":"python-b8a706484e23195a","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/generation.py","route_id":"route-127e79f3664fb2f8","origin_key":"python:perovskite_sim.physics.generation.dual_cell_faces","qualified_name":"perovskite_sim.physics.generation.dual_cell_faces","visibility":"public","evidence_level":"source_static"}, +{"id":"python-7ec6ce793954d4d3","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/generation.py","route_id":"route-127e79f3664fb2f8","origin_key":"python:perovskite_sim.physics.generation.dual_cell_integral","qualified_name":"perovskite_sim.physics.generation.dual_cell_integral","visibility":"public","evidence_level":"source_static"}, +{"id":"python-20cd6d9d21d76baa","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/generation.py","route_id":"route-127e79f3664fb2f8","origin_key":"python:perovskite_sim.physics.generation.dual_cell_widths","qualified_name":"perovskite_sim.physics.generation.dual_cell_widths","visibility":"public","evidence_level":"source_static"}, +{"id":"python-31de4cd6e863522f","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/grading.py","route_id":"route-f6ecf92ffc73d293","origin_key":"python:perovskite_sim.physics.grading.affinity_profile","qualified_name":"perovskite_sim.physics.grading.affinity_profile","visibility":"public","evidence_level":"source_static"}, +{"id":"python-689860315b1c9460","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/grading.py","route_id":"route-f6ecf92ffc73d293","origin_key":"python:perovskite_sim.physics.grading.band_gap_profile","qualified_name":"perovskite_sim.physics.grading.band_gap_profile","visibility":"public","evidence_level":"source_static"}, +{"id":"python-0fbe0b8e42237c3d","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/grading.py","route_id":"route-f6ecf92ffc73d293","origin_key":"python:perovskite_sim.physics.grading.grade_n1_p1","qualified_name":"perovskite_sim.physics.grading.grade_n1_p1","visibility":"public","evidence_level":"source_static"}, +{"id":"python-236781c3fd926027","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/grading.py","route_id":"route-f6ecf92ffc73d293","origin_key":"python:perovskite_sim.physics.grading.grade_ni_sq","qualified_name":"perovskite_sim.physics.grading.grade_ni_sq","visibility":"public","evidence_level":"source_static"}, +{"id":"python-9b647d30c77c7e84","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/grading.py","route_id":"route-f6ecf92ffc73d293","origin_key":"python:perovskite_sim.physics.grading.grading_coordinate","qualified_name":"perovskite_sim.physics.grading.grading_coordinate","visibility":"public","evidence_level":"source_static"}, +{"id":"python-fbafa15176f1882a","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/grading.py","route_id":"route-f6ecf92ffc73d293","origin_key":"python:perovskite_sim.physics.grading.has_grading_params","qualified_name":"perovskite_sim.physics.grading.has_grading_params","visibility":"public","evidence_level":"source_static"}, +{"id":"python-24a61e9ff74a97b4","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/grading.py","route_id":"route-f6ecf92ffc73d293","origin_key":"python:perovskite_sim.physics.grading.minimum_band_gap_eV","qualified_name":"perovskite_sim.physics.grading.minimum_band_gap_eV","visibility":"public","evidence_level":"source_static"}, +{"id":"python-cac92fcb117d07e5","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/physics/interface_plane.py","route_id":"route-637e7d01ee93a7e2","origin_key":"python:perovskite_sim.physics.interface_plane.InterfaceStateQSSResult","qualified_name":"perovskite_sim.physics.interface_plane.InterfaceStateQSSResult","visibility":"public","evidence_level":"source_static"}, +{"id":"python-3d9d5c102a8c5191","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/physics/interface_plane.py","route_id":"route-637e7d01ee93a7e2","origin_key":"python:perovskite_sim.physics.interface_plane.PlaneInterfaceParams","qualified_name":"perovskite_sim.physics.interface_plane.PlaneInterfaceParams","visibility":"public","evidence_level":"source_static"}, +{"id":"python-29d0b93a5e772aa8","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/interface_plane.py","route_id":"route-637e7d01ee93a7e2","origin_key":"python:perovskite_sim.physics.interface_plane._barrier_occupation_from_state","qualified_name":"perovskite_sim.physics.interface_plane._barrier_occupation_from_state","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-5c9cde00e0ae43f6","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/interface_plane.py","route_id":"route-637e7d01ee93a7e2","origin_key":"python:perovskite_sim.physics.interface_plane._bounded_reciprocal_density_flux","qualified_name":"perovskite_sim.physics.interface_plane._bounded_reciprocal_density_flux","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-1e6ee015e8fa2f97","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/interface_plane.py","route_id":"route-637e7d01ee93a7e2","origin_key":"python:perovskite_sim.physics.interface_plane._fermi_dirac_richardson_cross_fluxes","qualified_name":"perovskite_sim.physics.interface_plane._fermi_dirac_richardson_cross_fluxes","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-82e1ef79cb236bbb","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/interface_plane.py","route_id":"route-637e7d01ee93a7e2","origin_key":"python:perovskite_sim.physics.interface_plane._fermi_edge_occupation","qualified_name":"perovskite_sim.physics.interface_plane._fermi_edge_occupation","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-1fc6ab848af4bb49","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/interface_plane.py","route_id":"route-637e7d01ee93a7e2","origin_key":"python:perovskite_sim.physics.interface_plane._hole_density_step","qualified_name":"perovskite_sim.physics.interface_plane._hole_density_step","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-e8c94cb7be162c4f","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/interface_plane.py","route_id":"route-637e7d01ee93a7e2","origin_key":"python:perovskite_sim.physics.interface_plane._interface_activity_steps","qualified_name":"perovskite_sim.physics.interface_plane._interface_activity_steps","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-66be57c8bdbf83aa","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/interface_plane.py","route_id":"route-637e7d01ee93a7e2","origin_key":"python:perovskite_sim.physics.interface_plane._interface_thermal_velocity","qualified_name":"perovskite_sim.physics.interface_plane._interface_thermal_velocity","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-c10a0347852c1fd2","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/interface_plane.py","route_id":"route-637e7d01ee93a7e2","origin_key":"python:perovskite_sim.physics.interface_plane._physical_cross_fluxes","qualified_name":"perovskite_sim.physics.interface_plane._physical_cross_fluxes","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-98de0fe575629716","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/interface_plane.py","route_id":"route-637e7d01ee93a7e2","origin_key":"python:perovskite_sim.physics.interface_plane._project_density_for_transport_model","qualified_name":"perovskite_sim.physics.interface_plane._project_density_for_transport_model","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-aa98c2e5275bd469","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/interface_plane.py","route_id":"route-637e7d01ee93a7e2","origin_key":"python:perovskite_sim.physics.interface_plane._project_density_to_plane","qualified_name":"perovskite_sim.physics.interface_plane._project_density_to_plane","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-5be421a71311e77f","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/interface_plane.py","route_id":"route-637e7d01ee93a7e2","origin_key":"python:perovskite_sim.physics.interface_plane._project_density_to_plane_fermi_dirac","qualified_name":"perovskite_sim.physics.interface_plane._project_density_to_plane_fermi_dirac","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-019e8d9c172f4508","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/interface_plane.py","route_id":"route-637e7d01ee93a7e2","origin_key":"python:perovskite_sim.physics.interface_plane._reciprocal_fermi_edge_cross_fluxes","qualified_name":"perovskite_sim.physics.interface_plane._reciprocal_fermi_edge_cross_fluxes","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-a13114c282de0f30","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/interface_plane.py","route_id":"route-637e7d01ee93a7e2","origin_key":"python:perovskite_sim.physics.interface_plane._scaps_boltzmann_cross_fluxes","qualified_name":"perovskite_sim.physics.interface_plane._scaps_boltzmann_cross_fluxes","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-83a06ca9bb86352f","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/interface_plane.py","route_id":"route-637e7d01ee93a7e2","origin_key":"python:perovskite_sim.physics.interface_plane._scaps_thermal_velocity_cross_fluxes","qualified_name":"perovskite_sim.physics.interface_plane._scaps_thermal_velocity_cross_fluxes","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-ccb4ce69aaf2a643","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/interface_plane.py","route_id":"route-637e7d01ee93a7e2","origin_key":"python:perovskite_sim.physics.interface_plane.build_plane_params","qualified_name":"perovskite_sim.physics.interface_plane.build_plane_params","visibility":"public","evidence_level":"source_static"}, +{"id":"python-fefe7fb9d88ffc0e","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/interface_plane.py","route_id":"route-637e7d01ee93a7e2","origin_key":"python:perovskite_sim.physics.interface_plane.compute_interface_srh_occupancy_on_state","qualified_name":"perovskite_sim.physics.interface_plane.compute_interface_srh_occupancy_on_state","visibility":"public","evidence_level":"source_static"}, +{"id":"python-f9a717dcaf50c06f","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/interface_plane.py","route_id":"route-637e7d01ee93a7e2","origin_key":"python:perovskite_sim.physics.interface_plane.compute_interface_srh_on_state","qualified_name":"perovskite_sim.physics.interface_plane.compute_interface_srh_on_state","visibility":"public","evidence_level":"source_static"}, +{"id":"python-9c952bf99b7a8d04","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/interface_plane.py","route_id":"route-637e7d01ee93a7e2","origin_key":"python:perovskite_sim.physics.interface_plane.compute_interface_srh_shared_on_state","qualified_name":"perovskite_sim.physics.interface_plane.compute_interface_srh_shared_on_state","visibility":"public","evidence_level":"source_static"}, +{"id":"python-c59d60130d4ae526","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/interface_plane.py","route_id":"route-637e7d01ee93a7e2","origin_key":"python:perovskite_sim.physics.interface_plane.compute_interface_te_fluxes","qualified_name":"perovskite_sim.physics.interface_plane.compute_interface_te_fluxes","visibility":"public","evidence_level":"source_static"}, +{"id":"python-002b6c49cfa812dd","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/interface_plane.py","route_id":"route-637e7d01ee93a7e2","origin_key":"python:perovskite_sim.physics.interface_plane.compute_interface_te_fluxes_live","qualified_name":"perovskite_sim.physics.interface_plane.compute_interface_te_fluxes_live","visibility":"public","evidence_level":"source_static"}, +{"id":"python-aef98e24e6bdbeb2","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/interface_plane.py","route_id":"route-637e7d01ee93a7e2","origin_key":"python:perovskite_sim.physics.interface_plane.compute_interface_trap_charge","qualified_name":"perovskite_sim.physics.interface_plane.compute_interface_trap_charge","visibility":"public","evidence_level":"source_static"}, +{"id":"python-2e97d60690962ac8","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/interface_plane.py","route_id":"route-637e7d01ee93a7e2","origin_key":"python:perovskite_sim.physics.interface_plane.equilibrium_referenced_interface_trap_charge","qualified_name":"perovskite_sim.physics.interface_plane.equilibrium_referenced_interface_trap_charge","visibility":"public","evidence_level":"source_static"}, +{"id":"python-e94f1a46b27074fc","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/interface_plane.py","route_id":"route-637e7d01ee93a7e2","origin_key":"python:perovskite_sim.physics.interface_plane.plane_rate","qualified_name":"perovskite_sim.physics.interface_plane.plane_rate","visibility":"public","evidence_level":"source_static"}, +{"id":"python-112689b59f54319b","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/interface_plane.py","route_id":"route-637e7d01ee93a7e2","origin_key":"python:perovskite_sim.physics.interface_plane.solve_interface_states_live_qss","qualified_name":"perovskite_sim.physics.interface_plane.solve_interface_states_live_qss","visibility":"public","evidence_level":"source_static"}, +{"id":"python-a6e8f4747a194fd5","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/interface_plane.py","route_id":"route-637e7d01ee93a7e2","origin_key":"python:perovskite_sim.physics.interface_plane.solve_plane_densities","qualified_name":"perovskite_sim.physics.interface_plane.solve_plane_densities","visibility":"public","evidence_level":"source_static"}, +{"id":"python-831cf6df72675b30","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/interface_plane.py","route_id":"route-637e7d01ee93a7e2","origin_key":"python:perovskite_sim.physics.interface_plane.te_flux","qualified_name":"perovskite_sim.physics.interface_plane.te_flux","visibility":"public","evidence_level":"source_static"}, +{"id":"python-53c121f378d8fadb","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/interface_plane.py","route_id":"route-637e7d01ee93a7e2","origin_key":"python:perovskite_sim.physics.interface_plane.validate_interface_transport_model","qualified_name":"perovskite_sim.physics.interface_plane.validate_interface_transport_model","visibility":"public","evidence_level":"source_static"}, +{"id":"python-96206897309b6dfc","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/physics/ion_migration.py","route_id":"route-7f42234b0878607e","origin_key":"python:perovskite_sim.physics.ion_migration.IonFaceFluxJacobian","qualified_name":"perovskite_sim.physics.ion_migration.IonFaceFluxJacobian","visibility":"public","evidence_level":"source_static"}, +{"id":"python-66920e8070089ebb","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/ion_migration.py","route_id":"route-7f42234b0878607e","origin_key":"python:perovskite_sim.physics.ion_migration._steric_diffusion_only_flux","qualified_name":"perovskite_sim.physics.ion_migration._steric_diffusion_only_flux","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-4acd2fac05ab885c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/ion_migration.py","route_id":"route-7f42234b0878607e","origin_key":"python:perovskite_sim.physics.ion_migration.ion_continuity_rhs","qualified_name":"perovskite_sim.physics.ion_migration.ion_continuity_rhs","visibility":"public","evidence_level":"source_static"}, +{"id":"python-12f78ca6a87fd1f0","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/ion_migration.py","route_id":"route-7f42234b0878607e","origin_key":"python:perovskite_sim.physics.ion_migration.ion_continuity_rhs_neg","qualified_name":"perovskite_sim.physics.ion_migration.ion_continuity_rhs_neg","visibility":"public","evidence_level":"source_static"}, +{"id":"python-ad17db868134017c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/ion_migration.py","route_id":"route-7f42234b0878607e","origin_key":"python:perovskite_sim.physics.ion_migration.ion_face_flux","qualified_name":"perovskite_sim.physics.ion_migration.ion_face_flux","visibility":"public","evidence_level":"source_static"}, +{"id":"python-e08cee6507116a11","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/ion_migration.py","route_id":"route-7f42234b0878607e","origin_key":"python:perovskite_sim.physics.ion_migration.ion_face_flux_jacobian","qualified_name":"perovskite_sim.physics.ion_migration.ion_face_flux_jacobian","visibility":"public","evidence_level":"source_static"}, +{"id":"python-86ec765680d5a9c4","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/ion_migration.py","route_id":"route-7f42234b0878607e","origin_key":"python:perovskite_sim.physics.ion_migration.ion_flux_steric","qualified_name":"perovskite_sim.physics.ion_migration.ion_flux_steric","visibility":"public","evidence_level":"source_static"}, +{"id":"python-a278547e5f918908","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/physics/metastable_defect_closure.py","route_id":"route-d2fb47f08b8af2ba","origin_key":"python:perovskite_sim.physics.metastable_defect_closure.MetastableConfigurationClosureError","qualified_name":"perovskite_sim.physics.metastable_defect_closure.MetastableConfigurationClosureError","visibility":"public","evidence_level":"source_static"}, +{"id":"python-eb55d34ed91c4094","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/physics/metastable_defect_closure.py","route_id":"route-d2fb47f08b8af2ba","origin_key":"python:perovskite_sim.physics.metastable_defect_closure.MetastableConfigurationClosureResult","qualified_name":"perovskite_sim.physics.metastable_defect_closure.MetastableConfigurationClosureResult","visibility":"public","evidence_level":"source_static"}, +{"id":"python-c88bae88aac2daaa","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/metastable_defect_closure.py","route_id":"route-d2fb47f08b8af2ba","origin_key":"python:perovskite_sim.physics.metastable_defect_closure.MetastableConfigurationClosureResult.__post_init__","qualified_name":"perovskite_sim.physics.metastable_defect_closure.MetastableConfigurationClosureResult.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-6d6c8a785bbc4ac9","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/metastable_defect_closure.py","route_id":"route-d2fb47f08b8af2ba","origin_key":"python:perovskite_sim.physics.metastable_defect_closure._identity","qualified_name":"perovskite_sim.physics.metastable_defect_closure._identity","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-ed0a983273153c5d","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/metastable_defect_closure.py","route_id":"route-d2fb47f08b8af2ba","origin_key":"python:perovskite_sim.physics.metastable_defect_closure._positive","qualified_name":"perovskite_sim.physics.metastable_defect_closure._positive","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-f3a0ba80b08a93a9","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/metastable_defect_closure.py","route_id":"route-d2fb47f08b8af2ba","origin_key":"python:perovskite_sim.physics.metastable_defect_closure._readonly","qualified_name":"perovskite_sim.physics.metastable_defect_closure._readonly","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-fc1cd99a4e473be1","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/metastable_defect_closure.py","route_id":"route-d2fb47f08b8af2ba","origin_key":"python:perovskite_sim.physics.metastable_defect_closure.evaluate_metastable_configuration_closure","qualified_name":"perovskite_sim.physics.metastable_defect_closure.evaluate_metastable_configuration_closure","visibility":"public","evidence_level":"source_static"}, +{"id":"python-f48c720198d34d81","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/physics/metastable_defect_device.py","route_id":"route-24d1f2b4bd711399","origin_key":"python:perovskite_sim.physics.metastable_defect_device.FrozenMetastableBulkDefectModel","qualified_name":"perovskite_sim.physics.metastable_defect_device.FrozenMetastableBulkDefectModel","visibility":"public","evidence_level":"source_static"}, +{"id":"python-2807ce3b351a4f17","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/metastable_defect_device.py","route_id":"route-24d1f2b4bd711399","origin_key":"python:perovskite_sim.physics.metastable_defect_device.FrozenMetastableBulkDefectModel.__post_init__","qualified_name":"perovskite_sim.physics.metastable_defect_device.FrozenMetastableBulkDefectModel.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-eaef168b5ea592df","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/metastable_defect_device.py","route_id":"route-24d1f2b4bd711399","origin_key":"python:perovskite_sim.physics.metastable_defect_device.FrozenMetastableBulkDefectModel.explicit_node_mask","qualified_name":"perovskite_sim.physics.metastable_defect_device.FrozenMetastableBulkDefectModel.explicit_node_mask","visibility":"public","evidence_level":"source_static"}, +{"id":"python-ef558e252c78018e","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/metastable_defect_device.py","route_id":"route-24d1f2b4bd711399","origin_key":"python:perovskite_sim.physics.metastable_defect_device.FrozenMetastableBulkDefectModel.identity_sha256","qualified_name":"perovskite_sim.physics.metastable_defect_device.FrozenMetastableBulkDefectModel.identity_sha256","visibility":"public","evidence_level":"source_static"}, +{"id":"python-5e7436b2bbcc1d4e","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/metastable_defect_device.py","route_id":"route-24d1f2b4bd711399","origin_key":"python:perovskite_sim.physics.metastable_defect_device.FrozenMetastableBulkDefectModel.node_count","qualified_name":"perovskite_sim.physics.metastable_defect_device.FrozenMetastableBulkDefectModel.node_count","visibility":"public","evidence_level":"source_static"}, +{"id":"python-51bd18e3b442f0e5","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/metastable_defect_device.py","route_id":"route-24d1f2b4bd711399","origin_key":"python:perovskite_sim.physics.metastable_defect_device.FrozenMetastableBulkDefectModel.preparation_protocol_sha256s","qualified_name":"perovskite_sim.physics.metastable_defect_device.FrozenMetastableBulkDefectModel.preparation_protocol_sha256s","visibility":"public","evidence_level":"source_static"}, +{"id":"python-b70bb7c61b17d541","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/metastable_defect_device.py","route_id":"route-24d1f2b4bd711399","origin_key":"python:perovskite_sim.physics.metastable_defect_device.FrozenMetastableBulkDefectModel.species_identifiers","qualified_name":"perovskite_sim.physics.metastable_defect_device.FrozenMetastableBulkDefectModel.species_identifiers","visibility":"public","evidence_level":"source_static"}, +{"id":"python-462b784105dad7a8","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/physics/metastable_defect_device.py","route_id":"route-24d1f2b4bd711399","origin_key":"python:perovskite_sim.physics.metastable_defect_device.FrozenMetastableEvaluation","qualified_name":"perovskite_sim.physics.metastable_defect_device.FrozenMetastableEvaluation","visibility":"public","evidence_level":"source_static"}, +{"id":"python-9a94bd0138130613","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/physics/metastable_defect_device.py","route_id":"route-24d1f2b4bd711399","origin_key":"python:perovskite_sim.physics.metastable_defect_device.FrozenMetastableModelError","qualified_name":"perovskite_sim.physics.metastable_defect_device.FrozenMetastableModelError","visibility":"public","evidence_level":"source_static"}, +{"id":"python-74b6b0c5a9b7647e","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/physics/metastable_defect_device.py","route_id":"route-24d1f2b4bd711399","origin_key":"python:perovskite_sim.physics.metastable_defect_device.FrozenMetastableRegion","qualified_name":"perovskite_sim.physics.metastable_defect_device.FrozenMetastableRegion","visibility":"public","evidence_level":"source_static"}, +{"id":"python-07b80b1a1fb5538f","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/metastable_defect_device.py","route_id":"route-24d1f2b4bd711399","origin_key":"python:perovskite_sim.physics.metastable_defect_device.FrozenMetastableRegion.__post_init__","qualified_name":"perovskite_sim.physics.metastable_defect_device.FrozenMetastableRegion.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-65ab8f526ed35a4d","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/metastable_defect_device.py","route_id":"route-24d1f2b4bd711399","origin_key":"python:perovskite_sim.physics.metastable_defect_device.FrozenMetastableRegion.species_identifier","qualified_name":"perovskite_sim.physics.metastable_defect_device.FrozenMetastableRegion.species_identifier","visibility":"public","evidence_level":"source_static"}, +{"id":"python-95d8f9d4fd98a7e5","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/metastable_defect_device.py","route_id":"route-24d1f2b4bd711399","origin_key":"python:perovskite_sim.physics.metastable_defect_device._digest","qualified_name":"perovskite_sim.physics.metastable_defect_device._digest","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-90f84cd699a379b9","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/metastable_defect_device.py","route_id":"route-24d1f2b4bd711399","origin_key":"python:perovskite_sim.physics.metastable_defect_device._positive","qualified_name":"perovskite_sim.physics.metastable_defect_device._positive","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-94b2e16d84553006","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/metastable_defect_device.py","route_id":"route-24d1f2b4bd711399","origin_key":"python:perovskite_sim.physics.metastable_defect_device._readonly","qualified_name":"perovskite_sim.physics.metastable_defect_device._readonly","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-e8625186494cb044","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/metastable_defect_device.py","route_id":"route-24d1f2b4bd711399","origin_key":"python:perovskite_sim.physics.metastable_defect_device._sha256","qualified_name":"perovskite_sim.physics.metastable_defect_device._sha256","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-0d6b3837b215af54","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/metastable_defect_device.py","route_id":"route-24d1f2b4bd711399","origin_key":"python:perovskite_sim.physics.metastable_defect_device.configuration_species","qualified_name":"perovskite_sim.physics.metastable_defect_device.configuration_species","visibility":"public","evidence_level":"source_static"}, +{"id":"python-d28430a8b3d40b42","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/metastable_defect_device.py","route_id":"route-24d1f2b4bd711399","origin_key":"python:perovskite_sim.physics.metastable_defect_device.evaluate_frozen_metastable_bulk_defects","qualified_name":"perovskite_sim.physics.metastable_defect_device.evaluate_frozen_metastable_bulk_defects","visibility":"public","evidence_level":"source_static"}, +{"id":"python-22a882af8109155c","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/physics/metastable_dynamic_state.py","route_id":"route-fa598cd61b2ea6b7","origin_key":"python:perovskite_sim.physics.metastable_dynamic_state.MetastableDynamicStateError","qualified_name":"perovskite_sim.physics.metastable_dynamic_state.MetastableDynamicStateError","visibility":"public","evidence_level":"source_static"}, +{"id":"python-e8e89d65f6f4f165","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/physics/metastable_dynamic_state.py","route_id":"route-fa598cd61b2ea6b7","origin_key":"python:perovskite_sim.physics.metastable_dynamic_state.MetastableDynamicStep","qualified_name":"perovskite_sim.physics.metastable_dynamic_state.MetastableDynamicStep","visibility":"public","evidence_level":"source_static"}, +{"id":"python-260d05d30a1d18da","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/metastable_dynamic_state.py","route_id":"route-fa598cd61b2ea6b7","origin_key":"python:perovskite_sim.physics.metastable_dynamic_state._readonly","qualified_name":"perovskite_sim.physics.metastable_dynamic_state._readonly","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-b745ca25746a5339","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/metastable_dynamic_state.py","route_id":"route-fa598cd61b2ea6b7","origin_key":"python:perovskite_sim.physics.metastable_dynamic_state.advance_metastable_configuration","qualified_name":"perovskite_sim.physics.metastable_dynamic_state.advance_metastable_configuration","visibility":"public","evidence_level":"source_static"}, +{"id":"python-16fb308c0b91a5f2","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/metastable_dynamic_state.py","route_id":"route-fa598cd61b2ea6b7","origin_key":"python:perovskite_sim.physics.metastable_dynamic_state.configuration_charge_transfer_C_m3","qualified_name":"perovskite_sim.physics.metastable_dynamic_state.configuration_charge_transfer_C_m3","visibility":"public","evidence_level":"source_static"}, +{"id":"python-3d36c701601dd436","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/metastable_dynamic_state.py","route_id":"route-fa598cd61b2ea6b7","origin_key":"python:perovskite_sim.physics.metastable_dynamic_state.configuration_from_logit","qualified_name":"perovskite_sim.physics.metastable_dynamic_state.configuration_from_logit","visibility":"public","evidence_level":"source_static"}, +{"id":"python-2cb6d087a28d8089","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/metastable_dynamic_state.py","route_id":"route-fa598cd61b2ea6b7","origin_key":"python:perovskite_sim.physics.metastable_dynamic_state.configuration_logit","qualified_name":"perovskite_sim.physics.metastable_dynamic_state.configuration_logit","visibility":"public","evidence_level":"source_static"}, +{"id":"python-66783956133c80f5","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/physics/multivalent_defect_closure.py","route_id":"route-0345e88ff9597357","origin_key":"python:perovskite_sim.physics.multivalent_defect_closure.MultivalentDefectClosureError","qualified_name":"perovskite_sim.physics.multivalent_defect_closure.MultivalentDefectClosureError","visibility":"public","evidence_level":"source_static"}, +{"id":"python-dcae2c187ac66317","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/physics/multivalent_defect_closure.py","route_id":"route-0345e88ff9597357","origin_key":"python:perovskite_sim.physics.multivalent_defect_closure.MultivalentDefectClosureResult","qualified_name":"perovskite_sim.physics.multivalent_defect_closure.MultivalentDefectClosureResult","visibility":"public","evidence_level":"source_static"}, +{"id":"python-155e57838b13199f","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/multivalent_defect_closure.py","route_id":"route-0345e88ff9597357","origin_key":"python:perovskite_sim.physics.multivalent_defect_closure.MultivalentDefectClosureResult.__post_init__","qualified_name":"perovskite_sim.physics.multivalent_defect_closure.MultivalentDefectClosureResult.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-c835e1b7c992b8af","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/multivalent_defect_closure.py","route_id":"route-0345e88ff9597357","origin_key":"python:perovskite_sim.physics.multivalent_defect_closure.MultivalentDefectClosureResult.to_dict","qualified_name":"perovskite_sim.physics.multivalent_defect_closure.MultivalentDefectClosureResult.to_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-bf7371169c0ee4ec","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/multivalent_defect_closure.py","route_id":"route-0345e88ff9597357","origin_key":"python:perovskite_sim.physics.multivalent_defect_closure._identity","qualified_name":"perovskite_sim.physics.multivalent_defect_closure._identity","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-d9208412149d2428","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/multivalent_defect_closure.py","route_id":"route-0345e88ff9597357","origin_key":"python:perovskite_sim.physics.multivalent_defect_closure._positive","qualified_name":"perovskite_sim.physics.multivalent_defect_closure._positive","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-51393a1c72dc72bc","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/multivalent_defect_closure.py","route_id":"route-0345e88ff9597357","origin_key":"python:perovskite_sim.physics.multivalent_defect_closure._readonly","qualified_name":"perovskite_sim.physics.multivalent_defect_closure._readonly","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-3160941fb806b655","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/multivalent_defect_closure.py","route_id":"route-0345e88ff9597357","origin_key":"python:perovskite_sim.physics.multivalent_defect_closure.evaluate_multivalent_defect_closure","qualified_name":"perovskite_sim.physics.multivalent_defect_closure.evaluate_multivalent_defect_closure","visibility":"public","evidence_level":"source_static"}, +{"id":"python-ede6020899c5a449","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/physics/multivalent_defect_device.py","route_id":"route-8dbbd61dabd00c1f","origin_key":"python:perovskite_sim.physics.multivalent_defect_device.MultivalentBulkDefectEvaluation","qualified_name":"perovskite_sim.physics.multivalent_defect_device.MultivalentBulkDefectEvaluation","visibility":"public","evidence_level":"source_static"}, +{"id":"python-67f8a6385e673413","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/physics/multivalent_defect_device.py","route_id":"route-8dbbd61dabd00c1f","origin_key":"python:perovskite_sim.physics.multivalent_defect_device.MultivalentBulkDefectModel","qualified_name":"perovskite_sim.physics.multivalent_defect_device.MultivalentBulkDefectModel","visibility":"public","evidence_level":"source_static"}, +{"id":"python-b15393933aa21133","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/multivalent_defect_device.py","route_id":"route-8dbbd61dabd00c1f","origin_key":"python:perovskite_sim.physics.multivalent_defect_device.MultivalentBulkDefectModel.__post_init__","qualified_name":"perovskite_sim.physics.multivalent_defect_device.MultivalentBulkDefectModel.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-a26625087413b935","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/multivalent_defect_device.py","route_id":"route-8dbbd61dabd00c1f","origin_key":"python:perovskite_sim.physics.multivalent_defect_device.MultivalentBulkDefectModel.explicit_node_mask","qualified_name":"perovskite_sim.physics.multivalent_defect_device.MultivalentBulkDefectModel.explicit_node_mask","visibility":"public","evidence_level":"source_static"}, +{"id":"python-14ed021cf35df34c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/multivalent_defect_device.py","route_id":"route-8dbbd61dabd00c1f","origin_key":"python:perovskite_sim.physics.multivalent_defect_device.MultivalentBulkDefectModel.identity_sha256","qualified_name":"perovskite_sim.physics.multivalent_defect_device.MultivalentBulkDefectModel.identity_sha256","visibility":"public","evidence_level":"source_static"}, +{"id":"python-94a603e80d49e8f9","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/multivalent_defect_device.py","route_id":"route-8dbbd61dabd00c1f","origin_key":"python:perovskite_sim.physics.multivalent_defect_device.MultivalentBulkDefectModel.layer_document_sha256","qualified_name":"perovskite_sim.physics.multivalent_defect_device.MultivalentBulkDefectModel.layer_document_sha256","visibility":"public","evidence_level":"source_static"}, +{"id":"python-5ed6d95f2de0ceb2","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/multivalent_defect_device.py","route_id":"route-8dbbd61dabd00c1f","origin_key":"python:perovskite_sim.physics.multivalent_defect_device.MultivalentBulkDefectModel.node_count","qualified_name":"perovskite_sim.physics.multivalent_defect_device.MultivalentBulkDefectModel.node_count","visibility":"public","evidence_level":"source_static"}, +{"id":"python-d4e609334df38212","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/multivalent_defect_device.py","route_id":"route-8dbbd61dabd00c1f","origin_key":"python:perovskite_sim.physics.multivalent_defect_device.MultivalentBulkDefectModel.species_identifiers","qualified_name":"perovskite_sim.physics.multivalent_defect_device.MultivalentBulkDefectModel.species_identifiers","visibility":"public","evidence_level":"source_static"}, +{"id":"python-f3d1299b40810f75","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/multivalent_defect_device.py","route_id":"route-8dbbd61dabd00c1f","origin_key":"python:perovskite_sim.physics.multivalent_defect_device.MultivalentBulkDefectModel.state_counts","qualified_name":"perovskite_sim.physics.multivalent_defect_device.MultivalentBulkDefectModel.state_counts","visibility":"public","evidence_level":"source_static"}, +{"id":"python-f3912cd223b0cdf2","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/physics/multivalent_defect_device.py","route_id":"route-8dbbd61dabd00c1f","origin_key":"python:perovskite_sim.physics.multivalent_defect_device.MultivalentDefectNeutralityResult","qualified_name":"perovskite_sim.physics.multivalent_defect_device.MultivalentDefectNeutralityResult","visibility":"public","evidence_level":"source_static"}, +{"id":"python-8f99c3753726af70","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/physics/multivalent_defect_device.py","route_id":"route-8dbbd61dabd00c1f","origin_key":"python:perovskite_sim.physics.multivalent_defect_device.MultivalentDefectRegion","qualified_name":"perovskite_sim.physics.multivalent_defect_device.MultivalentDefectRegion","visibility":"public","evidence_level":"source_static"}, +{"id":"python-bd78e0e9d2ceeec9","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/multivalent_defect_device.py","route_id":"route-8dbbd61dabd00c1f","origin_key":"python:perovskite_sim.physics.multivalent_defect_device.MultivalentDefectRegion.__post_init__","qualified_name":"perovskite_sim.physics.multivalent_defect_device.MultivalentDefectRegion.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-41162fd13ecccdee","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/multivalent_defect_device.py","route_id":"route-8dbbd61dabd00c1f","origin_key":"python:perovskite_sim.physics.multivalent_defect_device.MultivalentDefectRegion.species_identifiers","qualified_name":"perovskite_sim.physics.multivalent_defect_device.MultivalentDefectRegion.species_identifiers","visibility":"public","evidence_level":"source_static"}, +{"id":"python-f40cbed252a3e96c","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/physics/multivalent_defect_device.py","route_id":"route-8dbbd61dabd00c1f","origin_key":"python:perovskite_sim.physics.multivalent_defect_device.MultivalentSourceDefectClosureResult","qualified_name":"perovskite_sim.physics.multivalent_defect_device.MultivalentSourceDefectClosureResult","visibility":"public","evidence_level":"source_static"}, +{"id":"python-258135d5b409d99a","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/multivalent_defect_device.py","route_id":"route-8dbbd61dabd00c1f","origin_key":"python:perovskite_sim.physics.multivalent_defect_device._positive","qualified_name":"perovskite_sim.physics.multivalent_defect_device._positive","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-12bde10842bec83f","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/multivalent_defect_device.py","route_id":"route-8dbbd61dabd00c1f","origin_key":"python:perovskite_sim.physics.multivalent_defect_device._readonly","qualified_name":"perovskite_sim.physics.multivalent_defect_device._readonly","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-32e656145d189d16","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/multivalent_defect_device.py","route_id":"route-8dbbd61dabd00c1f","origin_key":"python:perovskite_sim.physics.multivalent_defect_device._sha256","qualified_name":"perovskite_sim.physics.multivalent_defect_device._sha256","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-736ce5c97114c769","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/multivalent_defect_device.py","route_id":"route-8dbbd61dabd00c1f","origin_key":"python:perovskite_sim.physics.multivalent_defect_device.evaluate_multivalent_bulk_defects","qualified_name":"perovskite_sim.physics.multivalent_defect_device.evaluate_multivalent_bulk_defects","visibility":"public","evidence_level":"source_static"}, +{"id":"python-d500cef739b6c6b7","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/multivalent_defect_device.py","route_id":"route-8dbbd61dabd00c1f","origin_key":"python:perovskite_sim.physics.multivalent_defect_device.evaluate_multivalent_source_defect_closure","qualified_name":"perovskite_sim.physics.multivalent_defect_device.evaluate_multivalent_source_defect_closure","visibility":"public","evidence_level":"source_static"}, +{"id":"python-7383b71b0e50c4d8","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/multivalent_defect_device.py","route_id":"route-8dbbd61dabd00c1f","origin_key":"python:perovskite_sim.physics.multivalent_defect_device.solve_multivalent_defect_charge_neutrality","qualified_name":"perovskite_sim.physics.multivalent_defect_device.solve_multivalent_defect_charge_neutrality","visibility":"public","evidence_level":"source_static"}, +{"id":"python-c2acb50cf150033b","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/physics/optical_stack.py","route_id":"route-de685fc47e12df5e","origin_key":"python:perovskite_sim.physics.optical_stack.DeviceOpticalStack","qualified_name":"perovskite_sim.physics.optical_stack.DeviceOpticalStack","visibility":"public","evidence_level":"source_static"}, +{"id":"python-f1ea0c91f0a78439","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/optical_stack.py","route_id":"route-de685fc47e12df5e","origin_key":"python:perovskite_sim.physics.optical_stack._validate_graded_optics_activation","qualified_name":"perovskite_sim.physics.optical_stack._validate_graded_optics_activation","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-03e9d6e429de3723","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/optical_stack.py","route_id":"route-de685fc47e12df5e","origin_key":"python:perovskite_sim.physics.optical_stack.build_device_optical_stack","qualified_name":"perovskite_sim.physics.optical_stack.build_device_optical_stack","visibility":"public","evidence_level":"source_static"}, +{"id":"python-381ba5dd41731008","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/optical_stack.py","route_id":"route-de685fc47e12df5e","origin_key":"python:perovskite_sim.physics.optical_stack.cigs_nk_at_electrical_gap_edge","qualified_name":"perovskite_sim.physics.optical_stack.cigs_nk_at_electrical_gap_edge","visibility":"public","evidence_level":"source_static"}, +{"id":"python-3aee4645c463b1c6","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/optical_stack.py","route_id":"route-de685fc47e12df5e","origin_key":"python:perovskite_sim.physics.optical_stack.has_wavelength_resolved_optics","qualified_name":"perovskite_sim.physics.optical_stack.has_wavelength_resolved_optics","visibility":"public","evidence_level":"source_static"}, +{"id":"python-65b29dc9cc2f062a","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/physics/optics.py","route_id":"route-a8520f5ebebb99a6","origin_key":"python:perovskite_sim.physics.optics.TMMLayer","qualified_name":"perovskite_sim.physics.optics.TMMLayer","visibility":"public","evidence_level":"source_static"}, +{"id":"python-a9f2b765001223bb","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/optics.py","route_id":"route-a8520f5ebebb99a6","origin_key":"python:perovskite_sim.physics.optics.TMMLayer.n_complex","qualified_name":"perovskite_sim.physics.optics.TMMLayer.n_complex","visibility":"public","evidence_level":"source_static"}, +{"id":"python-d04179d748067764","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/optics.py","route_id":"route-a8520f5ebebb99a6","origin_key":"python:perovskite_sim.physics.optics._assert_absorptance_bounded","qualified_name":"perovskite_sim.physics.optics._assert_absorptance_bounded","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-e62306d3e7ef163f","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/optics.py","route_id":"route-a8520f5ebebb99a6","origin_key":"python:perovskite_sim.physics.optics._electric_field_profile","qualified_name":"perovskite_sim.physics.optics._electric_field_profile","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-6e88bf21bb78a534","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/optics.py","route_id":"route-a8520f5ebebb99a6","origin_key":"python:perovskite_sim.physics.optics._incoherent_front_factors","qualified_name":"perovskite_sim.physics.optics._incoherent_front_factors","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-a754981c71ff7ad2","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/optics.py","route_id":"route-a8520f5ebebb99a6","origin_key":"python:perovskite_sim.physics.optics._inv2x2","qualified_name":"perovskite_sim.physics.optics._inv2x2","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-313b2e994e0b61a4","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/optics.py","route_id":"route-a8520f5ebebb99a6","origin_key":"python:perovskite_sim.physics.optics._layer_absorbed_fraction","qualified_name":"perovskite_sim.physics.optics._layer_absorbed_fraction","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-80efdf318eb4af26","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/optics.py","route_id":"route-a8520f5ebebb99a6","origin_key":"python:perovskite_sim.physics.optics._layer_field_amplitudes","qualified_name":"perovskite_sim.physics.optics._layer_field_amplitudes","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-7355ebae7bc1de25","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/optics.py","route_id":"route-a8520f5ebebb99a6","origin_key":"python:perovskite_sim.physics.optics._map_to_layers","qualified_name":"perovskite_sim.physics.optics._map_to_layers","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-047dd4d33e3fc754","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/optics.py","route_id":"route-a8520f5ebebb99a6","origin_key":"python:perovskite_sim.physics.optics._transfer_matrix_stack","qualified_name":"perovskite_sim.physics.optics._transfer_matrix_stack","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-4476f032cb274ef3","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/optics.py","route_id":"route-a8520f5ebebb99a6","origin_key":"python:perovskite_sim.physics.optics.tmm_absorbed_photon_flux_per_cell","qualified_name":"perovskite_sim.physics.optics.tmm_absorbed_photon_flux_per_cell","visibility":"public","evidence_level":"source_static"}, +{"id":"python-86e2cff12b47f0fa","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/optics.py","route_id":"route-a8520f5ebebb99a6","origin_key":"python:perovskite_sim.physics.optics.tmm_absorption_profile","qualified_name":"perovskite_sim.physics.optics.tmm_absorption_profile","visibility":"public","evidence_level":"source_static"}, +{"id":"python-05afa208c9a50087","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/optics.py","route_id":"route-a8520f5ebebb99a6","origin_key":"python:perovskite_sim.physics.optics.tmm_cumulative_absorptance","qualified_name":"perovskite_sim.physics.optics.tmm_cumulative_absorptance","visibility":"public","evidence_level":"source_static"}, +{"id":"python-35c876d0b0166b1d","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/optics.py","route_id":"route-a8520f5ebebb99a6","origin_key":"python:perovskite_sim.physics.optics.tmm_generation","qualified_name":"perovskite_sim.physics.optics.tmm_generation","visibility":"public","evidence_level":"source_static"}, +{"id":"python-e92996588a50c604","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/optics.py","route_id":"route-a8520f5ebebb99a6","origin_key":"python:perovskite_sim.physics.optics.tmm_reflectance","qualified_name":"perovskite_sim.physics.optics.tmm_reflectance","visibility":"public","evidence_level":"source_static"}, +{"id":"python-cbb8cbcf5dccf0d4","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/photon_recycling.py","route_id":"route-857ba4df243610e0","origin_key":"python:perovskite_sim.physics.photon_recycling._clamp","qualified_name":"perovskite_sim.physics.photon_recycling._clamp","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-0f9aa78b2cf34b06","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/photon_recycling.py","route_id":"route-857ba4df243610e0","origin_key":"python:perovskite_sim.physics.photon_recycling._interp_absorbance_at_gap","qualified_name":"perovskite_sim.physics.photon_recycling._interp_absorbance_at_gap","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-10f176b2cef38cb4","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/photon_recycling.py","route_id":"route-857ba4df243610e0","origin_key":"python:perovskite_sim.physics.photon_recycling.compute_p_esc","qualified_name":"perovskite_sim.physics.photon_recycling.compute_p_esc","visibility":"public","evidence_level":"source_static"}, +{"id":"python-66e9c5483c37958c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/photon_recycling.py","route_id":"route-857ba4df243610e0","origin_key":"python:perovskite_sim.physics.photon_recycling.compute_p_esc_for_absorber","qualified_name":"perovskite_sim.physics.photon_recycling.compute_p_esc_for_absorber","visibility":"public","evidence_level":"source_static"}, +{"id":"python-bc9a3100695a3e0f","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/photon_recycling.py","route_id":"route-857ba4df243610e0","origin_key":"python:perovskite_sim.physics.photon_recycling.wavelength_at_gap","qualified_name":"perovskite_sim.physics.photon_recycling.wavelength_at_gap","visibility":"public","evidence_level":"source_static"}, +{"id":"python-1da7291c436f571b","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/physical_control_volume.py","route_id":"route-14fc913b79be59b1","origin_key":"python:perovskite_sim.physics.physical_control_volume.flux_divergence","qualified_name":"perovskite_sim.physics.physical_control_volume.flux_divergence","visibility":"public","evidence_level":"source_static"}, +{"id":"python-27d2aa42e69ffbe1","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/physical_control_volume.py","route_id":"route-14fc913b79be59b1","origin_key":"python:perovskite_sim.physics.physical_control_volume.physical_cell_faces","qualified_name":"perovskite_sim.physics.physical_control_volume.physical_cell_faces","visibility":"public","evidence_level":"source_static"}, +{"id":"python-07a253466bef4b43","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/physical_control_volume.py","route_id":"route-14fc913b79be59b1","origin_key":"python:perovskite_sim.physics.physical_control_volume.physical_contact_displacement","qualified_name":"perovskite_sim.physics.physical_control_volume.physical_contact_displacement","visibility":"public","evidence_level":"source_static"}, +{"id":"python-af820068890d36f4","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/physics/poisson.py","route_id":"route-7058094fb55440e5","origin_key":"python:perovskite_sim.physics.poisson.PoissonFactor","qualified_name":"perovskite_sim.physics.poisson.PoissonFactor","visibility":"public","evidence_level":"source_static"}, +{"id":"python-ea84ad1469f7573f","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/poisson.py","route_id":"route-7058094fb55440e5","origin_key":"python:perovskite_sim.physics.poisson.factor_poisson","qualified_name":"perovskite_sim.physics.poisson.factor_poisson","visibility":"public","evidence_level":"source_static"}, +{"id":"python-0b1437a348960e79","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/poisson.py","route_id":"route-7058094fb55440e5","origin_key":"python:perovskite_sim.physics.poisson.factor_poisson_from_finite_volume","qualified_name":"perovskite_sim.physics.poisson.factor_poisson_from_finite_volume","visibility":"public","evidence_level":"source_static"}, +{"id":"python-eb8ccff294f972e1","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/poisson.py","route_id":"route-7058094fb55440e5","origin_key":"python:perovskite_sim.physics.poisson.solve_poisson","qualified_name":"perovskite_sim.physics.poisson.solve_poisson","visibility":"public","evidence_level":"source_static"}, +{"id":"python-29ecb2f0f46e90fb","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/poisson.py","route_id":"route-7058094fb55440e5","origin_key":"python:perovskite_sim.physics.poisson.solve_poisson_prefactored","qualified_name":"perovskite_sim.physics.poisson.solve_poisson_prefactored","visibility":"public","evidence_level":"source_static"}, +{"id":"python-04e3e7cef3991add","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/physics/recombination.py","route_id":"route-d398307860e5c0dd","origin_key":"python:perovskite_sim.physics.recombination.CompiledNeutralDefectSpecies","qualified_name":"perovskite_sim.physics.recombination.CompiledNeutralDefectSpecies","visibility":"public","evidence_level":"source_static"}, +{"id":"python-d22e0c6915e16657","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/recombination.py","route_id":"route-d398307860e5c0dd","origin_key":"python:perovskite_sim.physics.recombination.CompiledNeutralDefectSpecies.__post_init__","qualified_name":"perovskite_sim.physics.recombination.CompiledNeutralDefectSpecies.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-5e8498d03085dde4","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/recombination.py","route_id":"route-d398307860e5c0dd","origin_key":"python:perovskite_sim.physics.recombination.CompiledNeutralDefectSpecies.cycle_active","qualified_name":"perovskite_sim.physics.recombination.CompiledNeutralDefectSpecies.cycle_active","visibility":"public","evidence_level":"source_static"}, +{"id":"python-3c04e5e24e4cad0c","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/physics/recombination.py","route_id":"route-d398307860e5c0dd","origin_key":"python:perovskite_sim.physics.recombination.NeutralBulkDefectEvaluation","qualified_name":"perovskite_sim.physics.recombination.NeutralBulkDefectEvaluation","visibility":"public","evidence_level":"source_static"}, +{"id":"python-60e310cf57b178a0","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/recombination.py","route_id":"route-d398307860e5c0dd","origin_key":"python:perovskite_sim.physics.recombination.NeutralBulkDefectEvaluation.__post_init__","qualified_name":"perovskite_sim.physics.recombination.NeutralBulkDefectEvaluation.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-f3d4bfd77fc6e1c3","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/recombination.py","route_id":"route-d398307860e5c0dd","origin_key":"python:perovskite_sim.physics.recombination.NeutralBulkDefectEvaluation.to_dict","qualified_name":"perovskite_sim.physics.recombination.NeutralBulkDefectEvaluation.to_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-f6130217b44e5613","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/physics/recombination.py","route_id":"route-d398307860e5c0dd","origin_key":"python:perovskite_sim.physics.recombination.NeutralBulkDefectModel","qualified_name":"perovskite_sim.physics.recombination.NeutralBulkDefectModel","visibility":"public","evidence_level":"source_static"}, +{"id":"python-0fb18ed3cf019eef","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/recombination.py","route_id":"route-d398307860e5c0dd","origin_key":"python:perovskite_sim.physics.recombination.NeutralBulkDefectModel.__post_init__","qualified_name":"perovskite_sim.physics.recombination.NeutralBulkDefectModel.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-2f366c78d5e3eb20","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/recombination.py","route_id":"route-d398307860e5c0dd","origin_key":"python:perovskite_sim.physics.recombination.NeutralBulkDefectModel.identity_sha256","qualified_name":"perovskite_sim.physics.recombination.NeutralBulkDefectModel.identity_sha256","visibility":"public","evidence_level":"source_static"}, +{"id":"python-f9816e71d1dadd89","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/recombination.py","route_id":"route-d398307860e5c0dd","origin_key":"python:perovskite_sim.physics.recombination.NeutralBulkDefectModel.node_count","qualified_name":"perovskite_sim.physics.recombination.NeutralBulkDefectModel.node_count","visibility":"public","evidence_level":"source_static"}, +{"id":"python-20960642b1d4d385","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/physics/recombination.py","route_id":"route-d398307860e5c0dd","origin_key":"python:perovskite_sim.physics.recombination.RecombinationDerivatives","qualified_name":"perovskite_sim.physics.recombination.RecombinationDerivatives","visibility":"public","evidence_level":"source_static"}, +{"id":"python-cf594560c238086f","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/recombination.py","route_id":"route-d398307860e5c0dd","origin_key":"python:perovskite_sim.physics.recombination._broadcast_bulk_inputs","qualified_name":"perovskite_sim.physics.recombination._broadcast_bulk_inputs","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-b8915990466af6ca","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/recombination.py","route_id":"route-d398307860e5c0dd","origin_key":"python:perovskite_sim.physics.recombination._broadcast_monovalent_bulk_inputs","qualified_name":"perovskite_sim.physics.recombination._broadcast_monovalent_bulk_inputs","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-14a33164dcf89e8a","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/recombination.py","route_id":"route-d398307860e5c0dd","origin_key":"python:perovskite_sim.physics.recombination._frozen_metastable_srh_recombination","qualified_name":"perovskite_sim.physics.recombination._frozen_metastable_srh_recombination","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-183b597ea1e13da5","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/recombination.py","route_id":"route-d398307860e5c0dd","origin_key":"python:perovskite_sim.physics.recombination._mixed_monovalent_srh_recombination","qualified_name":"perovskite_sim.physics.recombination._mixed_monovalent_srh_recombination","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-5d49019e69d7d0b4","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/recombination.py","route_id":"route-d398307860e5c0dd","origin_key":"python:perovskite_sim.physics.recombination._mixed_monovalent_srh_recombination_derivatives","qualified_name":"perovskite_sim.physics.recombination._mixed_monovalent_srh_recombination_derivatives","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-2046afae257b9663","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/recombination.py","route_id":"route-d398307860e5c0dd","origin_key":"python:perovskite_sim.physics.recombination._mixed_multivalent_srh_recombination","qualified_name":"perovskite_sim.physics.recombination._mixed_multivalent_srh_recombination","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-004bc60d27a3528a","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/recombination.py","route_id":"route-d398307860e5c0dd","origin_key":"python:perovskite_sim.physics.recombination._mixed_multivalent_srh_recombination_derivatives","qualified_name":"perovskite_sim.physics.recombination._mixed_multivalent_srh_recombination_derivatives","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-366ffa9e1ad7b649","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/recombination.py","route_id":"route-d398307860e5c0dd","origin_key":"python:perovskite_sim.physics.recombination._mixed_srh_recombination","qualified_name":"perovskite_sim.physics.recombination._mixed_srh_recombination","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-1f15e7e972b6ffa6","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/recombination.py","route_id":"route-d398307860e5c0dd","origin_key":"python:perovskite_sim.physics.recombination._mixed_srh_recombination_derivatives","qualified_name":"perovskite_sim.physics.recombination._mixed_srh_recombination_derivatives","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-df52a33cd9478be4","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/recombination.py","route_id":"route-d398307860e5c0dd","origin_key":"python:perovskite_sim.physics.recombination._multivalent_mixed_inputs","qualified_name":"perovskite_sim.physics.recombination._multivalent_mixed_inputs","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-c6f13f4676656f3d","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/recombination.py","route_id":"route-d398307860e5c0dd","origin_key":"python:perovskite_sim.physics.recombination._observe_srh_denominators","qualified_name":"perovskite_sim.physics.recombination._observe_srh_denominators","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-78ecae35267d2035","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/recombination.py","route_id":"route-d398307860e5c0dd","origin_key":"python:perovskite_sim.physics.recombination._readonly_array","qualified_name":"perovskite_sim.physics.recombination._readonly_array","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-520e8c7817f8fc4b","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/recombination.py","route_id":"route-d398307860e5c0dd","origin_key":"python:perovskite_sim.physics.recombination._record_srh_denominator","qualified_name":"perovskite_sim.physics.recombination._record_srh_denominator","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-f5968a57aba66c76","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/recombination.py","route_id":"route-d398307860e5c0dd","origin_key":"python:perovskite_sim.physics.recombination._require_metastable_exclusivity","qualified_name":"perovskite_sim.physics.recombination._require_metastable_exclusivity","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-70da945e28b39314","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/recombination.py","route_id":"route-d398307860e5c0dd","origin_key":"python:perovskite_sim.physics.recombination.auger_recombination","qualified_name":"perovskite_sim.physics.recombination.auger_recombination","visibility":"public","evidence_level":"source_static"}, +{"id":"python-9028914e65d74db5","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/recombination.py","route_id":"route-d398307860e5c0dd","origin_key":"python:perovskite_sim.physics.recombination.auger_recombination_derivatives","qualified_name":"perovskite_sim.physics.recombination.auger_recombination_derivatives","visibility":"public","evidence_level":"source_static"}, +{"id":"python-575f050b66d46334","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/recombination.py","route_id":"route-d398307860e5c0dd","origin_key":"python:perovskite_sim.physics.recombination.bulk_recombination_denominators","qualified_name":"perovskite_sim.physics.recombination.bulk_recombination_denominators","visibility":"public","evidence_level":"source_static"}, +{"id":"python-3404d3e1f777e40c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/recombination.py","route_id":"route-d398307860e5c0dd","origin_key":"python:perovskite_sim.physics.recombination.bulk_srh_denominator","qualified_name":"perovskite_sim.physics.recombination.bulk_srh_denominator","visibility":"public","evidence_level":"source_static"}, +{"id":"python-2eb831f869e53c7d","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/recombination.py","route_id":"route-d398307860e5c0dd","origin_key":"python:perovskite_sim.physics.recombination.evaluate_neutral_bulk_defects","qualified_name":"perovskite_sim.physics.recombination.evaluate_neutral_bulk_defects","visibility":"public","evidence_level":"source_static"}, +{"id":"python-2891c7e46819ad00","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/recombination.py","route_id":"route-d398307860e5c0dd","origin_key":"python:perovskite_sim.physics.recombination.interface_recombination","qualified_name":"perovskite_sim.physics.recombination.interface_recombination","visibility":"public","evidence_level":"source_static"}, +{"id":"python-e8d224adf3bde874","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/recombination.py","route_id":"route-d398307860e5c0dd","origin_key":"python:perovskite_sim.physics.recombination.interface_recombination_derivatives","qualified_name":"perovskite_sim.physics.recombination.interface_recombination_derivatives","visibility":"public","evidence_level":"source_static"}, +{"id":"python-c5e583b04e3aed2d","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/recombination.py","route_id":"route-d398307860e5c0dd","origin_key":"python:perovskite_sim.physics.recombination.interface_srh_denominator","qualified_name":"perovskite_sim.physics.recombination.interface_srh_denominator","visibility":"public","evidence_level":"source_static"}, +{"id":"python-f6f61ea8d4cdc589","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/recombination.py","route_id":"route-d398307860e5c0dd","origin_key":"python:perovskite_sim.physics.recombination.radiative_recombination","qualified_name":"perovskite_sim.physics.recombination.radiative_recombination","visibility":"public","evidence_level":"source_static"}, +{"id":"python-156cfb1302cb63a3","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/recombination.py","route_id":"route-d398307860e5c0dd","origin_key":"python:perovskite_sim.physics.recombination.radiative_recombination_derivatives","qualified_name":"perovskite_sim.physics.recombination.radiative_recombination_derivatives","visibility":"public","evidence_level":"source_static"}, +{"id":"python-8e3d00d0bd628b67","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/recombination.py","route_id":"route-d398307860e5c0dd","origin_key":"python:perovskite_sim.physics.recombination.srh_recombination","qualified_name":"perovskite_sim.physics.recombination.srh_recombination","visibility":"public","evidence_level":"source_static"}, +{"id":"python-5cb56625f56ae569","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/recombination.py","route_id":"route-d398307860e5c0dd","origin_key":"python:perovskite_sim.physics.recombination.srh_recombination_derivatives","qualified_name":"perovskite_sim.physics.recombination.srh_recombination_derivatives","visibility":"public","evidence_level":"source_static"}, +{"id":"python-5b717f59bfe905a9","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/recombination.py","route_id":"route-d398307860e5c0dd","origin_key":"python:perovskite_sim.physics.recombination.total_recombination","qualified_name":"perovskite_sim.physics.recombination.total_recombination","visibility":"public","evidence_level":"source_static"}, +{"id":"python-c724d8066d38f699","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/recombination.py","route_id":"route-d398307860e5c0dd","origin_key":"python:perovskite_sim.physics.recombination.total_recombination_at_node","qualified_name":"perovskite_sim.physics.recombination.total_recombination_at_node","visibility":"public","evidence_level":"source_static"}, +{"id":"python-b896496ee74482cf","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/recombination.py","route_id":"route-d398307860e5c0dd","origin_key":"python:perovskite_sim.physics.recombination.total_recombination_derivatives","qualified_name":"perovskite_sim.physics.recombination.total_recombination_derivatives","visibility":"public","evidence_level":"source_static"}, +{"id":"python-7f841d975268ba04","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/physics/regularization.py","route_id":"route-8e7abe0da216054d","origin_key":"python:perovskite_sim.physics.regularization.RHSRegularization","qualified_name":"perovskite_sim.physics.regularization.RHSRegularization","visibility":"public","evidence_level":"source_static"}, +{"id":"python-885519aa4ded9ade","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/regularization.py","route_id":"route-8e7abe0da216054d","origin_key":"python:perovskite_sim.physics.regularization.RHSRegularization.__post_init__","qualified_name":"perovskite_sim.physics.regularization.RHSRegularization.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-ea4fff0f740bd402","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/regularization.py","route_id":"route-8e7abe0da216054d","origin_key":"python:perovskite_sim.physics.regularization.RHSRegularization.active","qualified_name":"perovskite_sim.physics.regularization.RHSRegularization.active","visibility":"public","evidence_level":"source_static"}, +{"id":"python-e7674805f97bdf29","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/regularization.py","route_id":"route-8e7abe0da216054d","origin_key":"python:perovskite_sim.physics.regularization.RHSRegularization.refined","qualified_name":"perovskite_sim.physics.regularization.RHSRegularization.refined","visibility":"public","evidence_level":"source_static"}, +{"id":"python-fdac7909fd4631f1","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/regularization.py","route_id":"route-8e7abe0da216054d","origin_key":"python:perovskite_sim.physics.regularization._finite_nonnegative","qualified_name":"perovskite_sim.physics.regularization._finite_nonnegative","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-69148bb13e2bf325","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/regularization.py","route_id":"route-8e7abe0da216054d","origin_key":"python:perovskite_sim.physics.regularization.compact_positive_part","qualified_name":"perovskite_sim.physics.regularization.compact_positive_part","visibility":"public","evidence_level":"source_static"}, +{"id":"python-1e3225488b7b7ccc","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/regularization.py","route_id":"route-8e7abe0da216054d","origin_key":"python:perovskite_sim.physics.regularization.compact_sqrt_abs","qualified_name":"perovskite_sim.physics.regularization.compact_sqrt_abs","visibility":"public","evidence_level":"source_static"}, +{"id":"python-621939f74955834c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/regularization.py","route_id":"route-8e7abe0da216054d","origin_key":"python:perovskite_sim.physics.regularization.direction_preserving_magnitude_min","qualified_name":"perovskite_sim.physics.regularization.direction_preserving_magnitude_min","visibility":"public","evidence_level":"source_static"}, +{"id":"python-ce06baba7169b57b","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/physics/statistics.py","route_id":"route-35e97a37efe8ee31","origin_key":"python:perovskite_sim.physics.statistics.BulkChargeNeutralityState","qualified_name":"perovskite_sim.physics.statistics.BulkChargeNeutralityState","visibility":"public","evidence_level":"source_static"}, +{"id":"python-c928dc68e40278c8","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/statistics.py","route_id":"route-35e97a37efe8ee31","origin_key":"python:perovskite_sim.physics.statistics.BulkChargeNeutralityState.electron_degeneracy_ratio","qualified_name":"perovskite_sim.physics.statistics.BulkChargeNeutralityState.electron_degeneracy_ratio","visibility":"public","evidence_level":"source_static"}, +{"id":"python-1baec38cdd7f48e7","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/statistics.py","route_id":"route-35e97a37efe8ee31","origin_key":"python:perovskite_sim.physics.statistics.BulkChargeNeutralityState.fermi_level_above_conduction_eV","qualified_name":"perovskite_sim.physics.statistics.BulkChargeNeutralityState.fermi_level_above_conduction_eV","visibility":"public","evidence_level":"source_static"}, +{"id":"python-4a2101b348f5965c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/statistics.py","route_id":"route-35e97a37efe8ee31","origin_key":"python:perovskite_sim.physics.statistics.BulkChargeNeutralityState.hole_degeneracy_ratio","qualified_name":"perovskite_sim.physics.statistics.BulkChargeNeutralityState.hole_degeneracy_ratio","visibility":"public","evidence_level":"source_static"}, +{"id":"python-020068f782b2f3f7","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/physics/statistics.py","route_id":"route-35e97a37efe8ee31","origin_key":"python:perovskite_sim.physics.statistics.DopantChargeState","qualified_name":"perovskite_sim.physics.statistics.DopantChargeState","visibility":"public","evidence_level":"source_static"}, +{"id":"python-6846072a876af02b","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/statistics.py","route_id":"route-35e97a37efe8ee31","origin_key":"python:perovskite_sim.physics.statistics._boltzmann_activity","qualified_name":"perovskite_sim.physics.statistics._boltzmann_activity","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-53c835eceead67cd","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/statistics.py","route_id":"route-35e97a37efe8ee31","origin_key":"python:perovskite_sim.physics.statistics._finite_nonnegative","qualified_name":"perovskite_sim.physics.statistics._finite_nonnegative","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-f0f672c81197a0f1","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/statistics.py","route_id":"route-35e97a37efe8ee31","origin_key":"python:perovskite_sim.physics.statistics._finite_positive","qualified_name":"perovskite_sim.physics.statistics._finite_positive","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-4e0246f78111fff6","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/statistics.py","route_id":"route-35e97a37efe8ee31","origin_key":"python:perovskite_sim.physics.statistics._inverse_one_plus_exp","qualified_name":"perovskite_sim.physics.statistics._inverse_one_plus_exp","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-b8cb94aa8dd5736c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/statistics.py","route_id":"route-35e97a37efe8ee31","origin_key":"python:perovskite_sim.physics.statistics.carrier_density_derivative_reduced_fermi_level","qualified_name":"perovskite_sim.physics.statistics.carrier_density_derivative_reduced_fermi_level","visibility":"public","evidence_level":"source_static"}, +{"id":"python-416cded531721e52","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/statistics.py","route_id":"route-35e97a37efe8ee31","origin_key":"python:perovskite_sim.physics.statistics.carrier_density_from_reduced_fermi_level","qualified_name":"perovskite_sim.physics.statistics.carrier_density_from_reduced_fermi_level","visibility":"public","evidence_level":"source_static"}, +{"id":"python-4ec6d87375e5a90f","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/statistics.py","route_id":"route-35e97a37efe8ee31","origin_key":"python:perovskite_sim.physics.statistics.carrier_logarithmic_compressibility","qualified_name":"perovskite_sim.physics.statistics.carrier_logarithmic_compressibility","visibility":"public","evidence_level":"source_static"}, +{"id":"python-c118dbd94203f406","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/statistics.py","route_id":"route-35e97a37efe8ee31","origin_key":"python:perovskite_sim.physics.statistics.carrier_occupation","qualified_name":"perovskite_sim.physics.statistics.carrier_occupation","visibility":"public","evidence_level":"source_static"}, +{"id":"python-d1cfdc37357ae149","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/statistics.py","route_id":"route-35e97a37efe8ee31","origin_key":"python:perovskite_sim.physics.statistics.dopant_charge_state","qualified_name":"perovskite_sim.physics.statistics.dopant_charge_state","visibility":"public","evidence_level":"source_static"}, +{"id":"python-c212ad1513ec6fcd","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/statistics.py","route_id":"route-35e97a37efe8ee31","origin_key":"python:perovskite_sim.physics.statistics.generalized_einstein_factor","qualified_name":"perovskite_sim.physics.statistics.generalized_einstein_factor","visibility":"public","evidence_level":"source_static"}, +{"id":"python-77e067e31a49db74","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/statistics.py","route_id":"route-35e97a37efe8ee31","origin_key":"python:perovskite_sim.physics.statistics.ionized_acceptor_fraction","qualified_name":"perovskite_sim.physics.statistics.ionized_acceptor_fraction","visibility":"public","evidence_level":"source_static"}, +{"id":"python-146ec68787f4d78e","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/statistics.py","route_id":"route-35e97a37efe8ee31","origin_key":"python:perovskite_sim.physics.statistics.ionized_donor_fraction","qualified_name":"perovskite_sim.physics.statistics.ionized_donor_fraction","visibility":"public","evidence_level":"source_static"}, +{"id":"python-d8683e07759e35d7","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/statistics.py","route_id":"route-35e97a37efe8ee31","origin_key":"python:perovskite_sim.physics.statistics.normalize_carrier_statistics","qualified_name":"perovskite_sim.physics.statistics.normalize_carrier_statistics","visibility":"public","evidence_level":"source_static"}, +{"id":"python-c6558012cb5efd48","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/statistics.py","route_id":"route-35e97a37efe8ee31","origin_key":"python:perovskite_sim.physics.statistics.normalize_dopant_ionization_model","qualified_name":"perovskite_sim.physics.statistics.normalize_dopant_ionization_model","visibility":"public","evidence_level":"source_static"}, +{"id":"python-da9e4328b7d94eb2","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/statistics.py","route_id":"route-35e97a37efe8ee31","origin_key":"python:perovskite_sim.physics.statistics.reduced_fermi_level_from_density","qualified_name":"perovskite_sim.physics.statistics.reduced_fermi_level_from_density","visibility":"public","evidence_level":"source_static"}, +{"id":"python-271b38568a10ab32","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/statistics.py","route_id":"route-35e97a37efe8ee31","origin_key":"python:perovskite_sim.physics.statistics.solve_charge_neutrality","qualified_name":"perovskite_sim.physics.statistics.solve_charge_neutrality","visibility":"public","evidence_level":"source_static"}, +{"id":"python-0f61e46934da7d8f","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/statistics.py","route_id":"route-35e97a37efe8ee31","origin_key":"python:perovskite_sim.physics.statistics.solve_discrete_level_charge_neutrality","qualified_name":"perovskite_sim.physics.statistics.solve_discrete_level_charge_neutrality","visibility":"public","evidence_level":"source_static"}, +{"id":"python-ab00c700edeb2026","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/statistics.py","route_id":"route-35e97a37efe8ee31","origin_key":"python:perovskite_sim.physics.statistics.solve_fully_ionized_charge_neutrality","qualified_name":"perovskite_sim.physics.statistics.solve_fully_ionized_charge_neutrality","visibility":"public","evidence_level":"source_static"}, +{"id":"python-5b0a82ddce0a44e9","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/physics/tandem_optics.py","route_id":"route-773079f3fd7c7161","origin_key":"python:perovskite_sim.physics.tandem_optics.TandemGeneration","qualified_name":"perovskite_sim.physics.tandem_optics.TandemGeneration","visibility":"public","evidence_level":"source_static"}, +{"id":"python-cc84f72f6fc220ab","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/tandem_optics.py","route_id":"route-773079f3fd7c7161","origin_key":"python:perovskite_sim.physics.tandem_optics._build_tmm_layers_from_stack","qualified_name":"perovskite_sim.physics.tandem_optics._build_tmm_layers_from_stack","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-81fcf2b04533fc4a","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/tandem_optics.py","route_id":"route-773079f3fd7c7161","origin_key":"python:perovskite_sim.physics.tandem_optics._generation_on_grid","qualified_name":"perovskite_sim.physics.tandem_optics._generation_on_grid","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-8e8e39dcbf04066e","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/tandem_optics.py","route_id":"route-773079f3fd7c7161","origin_key":"python:perovskite_sim.physics.tandem_optics._substrate_prefix_thickness","qualified_name":"perovskite_sim.physics.tandem_optics._substrate_prefix_thickness","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-0f6c1dfc503232d4","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/tandem_optics.py","route_id":"route-773079f3fd7c7161","origin_key":"python:perovskite_sim.physics.tandem_optics._tmm_layer_from_junction_layer","qualified_name":"perovskite_sim.physics.tandem_optics._tmm_layer_from_junction_layer","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-aec0256ea75eaeff","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/tandem_optics.py","route_id":"route-773079f3fd7c7161","origin_key":"python:perovskite_sim.physics.tandem_optics.compute_tandem_generation","qualified_name":"perovskite_sim.physics.tandem_optics.compute_tandem_generation","visibility":"public","evidence_level":"source_static"}, +{"id":"python-1e8d2f91e7f8c797","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/tandem_optics.py","route_id":"route-773079f3fd7c7161","origin_key":"python:perovskite_sim.physics.tandem_optics.partition_absorption","qualified_name":"perovskite_sim.physics.tandem_optics.partition_absorption","visibility":"public","evidence_level":"source_static"}, +{"id":"python-14ab26e0f200d6b5","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/temperature.py","route_id":"route-aac7c5a444668673","origin_key":"python:perovskite_sim.physics.temperature.B_rad_at_T","qualified_name":"perovskite_sim.physics.temperature.B_rad_at_T","visibility":"public","evidence_level":"source_static"}, +{"id":"python-17495ebd54926a2e","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/temperature.py","route_id":"route-aac7c5a444668673","origin_key":"python:perovskite_sim.physics.temperature.D_ion_at_T","qualified_name":"perovskite_sim.physics.temperature.D_ion_at_T","visibility":"public","evidence_level":"source_static"}, +{"id":"python-5a35303ffa0a397a","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/temperature.py","route_id":"route-aac7c5a444668673","origin_key":"python:perovskite_sim.physics.temperature.eg_at_T","qualified_name":"perovskite_sim.physics.temperature.eg_at_T","visibility":"public","evidence_level":"source_static"}, +{"id":"python-db7d0197b03fa3c5","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/temperature.py","route_id":"route-aac7c5a444668673","origin_key":"python:perovskite_sim.physics.temperature.mu_at_T","qualified_name":"perovskite_sim.physics.temperature.mu_at_T","visibility":"public","evidence_level":"source_static"}, +{"id":"python-92920439e39887e6","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/temperature.py","route_id":"route-aac7c5a444668673","origin_key":"python:perovskite_sim.physics.temperature.ni_at_T","qualified_name":"perovskite_sim.physics.temperature.ni_at_T","visibility":"public","evidence_level":"source_static"}, +{"id":"python-5de1823f902b8fce","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/temperature.py","route_id":"route-aac7c5a444668673","origin_key":"python:perovskite_sim.physics.temperature.thermal_voltage","qualified_name":"perovskite_sim.physics.temperature.thermal_voltage","visibility":"public","evidence_level":"source_static"}, +{"id":"python-11ec181a2b16261d","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/thermionic_constants.py","route_id":"route-8e06ca2231769bf9","origin_key":"python:perovskite_sim.physics.thermionic_constants.effective_mass_from_dos","qualified_name":"perovskite_sim.physics.thermionic_constants.effective_mass_from_dos","visibility":"public","evidence_level":"source_static"}, +{"id":"python-7aa09f3d89690c8a","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/thermionic_constants.py","route_id":"route-8e06ca2231769bf9","origin_key":"python:perovskite_sim.physics.thermionic_constants.emission_velocity","qualified_name":"perovskite_sim.physics.thermionic_constants.emission_velocity","visibility":"public","evidence_level":"source_static"}, +{"id":"python-ffc00b65f6729157","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/thermionic_constants.py","route_id":"route-8e06ca2231769bf9","origin_key":"python:perovskite_sim.physics.thermionic_constants.is_free_electron_default","qualified_name":"perovskite_sim.physics.thermionic_constants.is_free_electron_default","visibility":"public","evidence_level":"source_static"}, +{"id":"python-7e97a4ccfcd1be97","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/thermionic_constants.py","route_id":"route-8e06ca2231769bf9","origin_key":"python:perovskite_sim.physics.thermionic_constants.richardson_from_dos","qualified_name":"perovskite_sim.physics.thermionic_constants.richardson_from_dos","visibility":"public","evidence_level":"source_static"}, +{"id":"python-f981dfb6c630380c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/thermionic_transport.py","route_id":"route-6882b9e2febf7e69","origin_key":"python:perovskite_sim.physics.thermionic_transport.apply_thermionic_caps","qualified_name":"perovskite_sim.physics.thermionic_transport.apply_thermionic_caps","visibility":"public","evidence_level":"source_static"}, +{"id":"python-30ccc2dbf1a3829d","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/thermionic_transport.py","route_id":"route-6882b9e2febf7e69","origin_key":"python:perovskite_sim.physics.thermionic_transport.thermionic_normalization_status","qualified_name":"perovskite_sim.physics.thermionic_transport.thermionic_normalization_status","visibility":"public","evidence_level":"source_static"}, +{"id":"python-9eb3e71eea51ae06","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/physics/trap_kinetics.py","route_id":"route-960df0ca64e33313","origin_key":"python:perovskite_sim.physics.trap_kinetics.TrapDCOperatingPoint","qualified_name":"perovskite_sim.physics.trap_kinetics.TrapDCOperatingPoint","visibility":"public","evidence_level":"source_static"}, +{"id":"python-1890ca3283aa3e41","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/trap_kinetics.py","route_id":"route-960df0ca64e33313","origin_key":"python:perovskite_sim.physics.trap_kinetics.TrapDCOperatingPoint.__post_init__","qualified_name":"perovskite_sim.physics.trap_kinetics.TrapDCOperatingPoint.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-63b541d6e25c23fc","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/trap_kinetics.py","route_id":"route-960df0ca64e33313","origin_key":"python:perovskite_sim.physics.trap_kinetics.TrapDCOperatingPoint.sha256","qualified_name":"perovskite_sim.physics.trap_kinetics.TrapDCOperatingPoint.sha256","visibility":"public","evidence_level":"source_static"}, +{"id":"python-8dd2d06349afcdf6","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/trap_kinetics.py","route_id":"route-960df0ca64e33313","origin_key":"python:perovskite_sim.physics.trap_kinetics.TrapDCOperatingPoint.to_dict","qualified_name":"perovskite_sim.physics.trap_kinetics.TrapDCOperatingPoint.to_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-a270469c12994394","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/physics/trap_kinetics.py","route_id":"route-960df0ca64e33313","origin_key":"python:perovskite_sim.physics.trap_kinetics.TrapFrequencyResponse","qualified_name":"perovskite_sim.physics.trap_kinetics.TrapFrequencyResponse","visibility":"public","evidence_level":"source_static"}, +{"id":"python-e46a94bda22f7628","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/trap_kinetics.py","route_id":"route-960df0ca64e33313","origin_key":"python:perovskite_sim.physics.trap_kinetics.TrapFrequencyResponse.__post_init__","qualified_name":"perovskite_sim.physics.trap_kinetics.TrapFrequencyResponse.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-ee56b6fe34759d6d","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/physics/trap_kinetics.py","route_id":"route-960df0ca64e33313","origin_key":"python:perovskite_sim.physics.trap_kinetics.TrapKineticsCertificationError","qualified_name":"perovskite_sim.physics.trap_kinetics.TrapKineticsCertificationError","visibility":"public","evidence_level":"source_static"}, +{"id":"python-4b1bd2dfca3bdaaa","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/physics/trap_kinetics.py","route_id":"route-960df0ca64e33313","origin_key":"python:perovskite_sim.physics.trap_kinetics.TrapKineticsError","qualified_name":"perovskite_sim.physics.trap_kinetics.TrapKineticsError","visibility":"public","evidence_level":"source_static"}, +{"id":"python-1be818e56c9605a1","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/physics/trap_kinetics.py","route_id":"route-960df0ca64e33313","origin_key":"python:perovskite_sim.physics.trap_kinetics.TrapLinearization","qualified_name":"perovskite_sim.physics.trap_kinetics.TrapLinearization","visibility":"public","evidence_level":"source_static"}, +{"id":"python-7b686984d7734a23","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/trap_kinetics.py","route_id":"route-960df0ca64e33313","origin_key":"python:perovskite_sim.physics.trap_kinetics.TrapLinearization.__post_init__","qualified_name":"perovskite_sim.physics.trap_kinetics.TrapLinearization.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-2e6b0b76bd6db24b","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/physics/trap_kinetics.py","route_id":"route-960df0ca64e33313","origin_key":"python:perovskite_sim.physics.trap_kinetics.TrapReservoirKinetics","qualified_name":"perovskite_sim.physics.trap_kinetics.TrapReservoirKinetics","visibility":"public","evidence_level":"source_static"}, +{"id":"python-6220f47ef85768a1","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/trap_kinetics.py","route_id":"route-960df0ca64e33313","origin_key":"python:perovskite_sim.physics.trap_kinetics.TrapReservoirKinetics.__post_init__","qualified_name":"perovskite_sim.physics.trap_kinetics.TrapReservoirKinetics.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-f963ea7a93d1a0e9","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/trap_kinetics.py","route_id":"route-960df0ca64e33313","origin_key":"python:perovskite_sim.physics.trap_kinetics.TrapReservoirKinetics.canonical_json","qualified_name":"perovskite_sim.physics.trap_kinetics.TrapReservoirKinetics.canonical_json","visibility":"public","evidence_level":"source_static"}, +{"id":"python-cb51ab27116ee9a0","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/trap_kinetics.py","route_id":"route-960df0ca64e33313","origin_key":"python:perovskite_sim.physics.trap_kinetics.TrapReservoirKinetics.electron_reservoir_count","qualified_name":"perovskite_sim.physics.trap_kinetics.TrapReservoirKinetics.electron_reservoir_count","visibility":"public","evidence_level":"source_static"}, +{"id":"python-a18406333e0b4774","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/trap_kinetics.py","route_id":"route-960df0ca64e33313","origin_key":"python:perovskite_sim.physics.trap_kinetics.TrapReservoirKinetics.from_dict","qualified_name":"perovskite_sim.physics.trap_kinetics.TrapReservoirKinetics.from_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-3ca99810cc7c663c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/trap_kinetics.py","route_id":"route-960df0ca64e33313","origin_key":"python:perovskite_sim.physics.trap_kinetics.TrapReservoirKinetics.from_json","qualified_name":"perovskite_sim.physics.trap_kinetics.TrapReservoirKinetics.from_json","visibility":"public","evidence_level":"source_static"}, +{"id":"python-e9d2b4213172f1ab","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/trap_kinetics.py","route_id":"route-960df0ca64e33313","origin_key":"python:perovskite_sim.physics.trap_kinetics.TrapReservoirKinetics.hole_reservoir_count","qualified_name":"perovskite_sim.physics.trap_kinetics.TrapReservoirKinetics.hole_reservoir_count","visibility":"public","evidence_level":"source_static"}, +{"id":"python-13847e54f36a51b3","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/trap_kinetics.py","route_id":"route-960df0ca64e33313","origin_key":"python:perovskite_sim.physics.trap_kinetics.TrapReservoirKinetics.sha256","qualified_name":"perovskite_sim.physics.trap_kinetics.TrapReservoirKinetics.sha256","visibility":"public","evidence_level":"source_static"}, +{"id":"python-2ae1029b75a78066","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/trap_kinetics.py","route_id":"route-960df0ca64e33313","origin_key":"python:perovskite_sim.physics.trap_kinetics.TrapReservoirKinetics.to_dict","qualified_name":"perovskite_sim.physics.trap_kinetics.TrapReservoirKinetics.to_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-510cd706af84d57a","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/physics/trap_kinetics.py","route_id":"route-960df0ca64e33313","origin_key":"python:perovskite_sim.physics.trap_kinetics.TrapReservoirState","qualified_name":"perovskite_sim.physics.trap_kinetics.TrapReservoirState","visibility":"public","evidence_level":"source_static"}, +{"id":"python-5570d9229ef5e07d","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/trap_kinetics.py","route_id":"route-960df0ca64e33313","origin_key":"python:perovskite_sim.physics.trap_kinetics.TrapReservoirState.__post_init__","qualified_name":"perovskite_sim.physics.trap_kinetics.TrapReservoirState.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-c196091aa892d1d7","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/trap_kinetics.py","route_id":"route-960df0ca64e33313","origin_key":"python:perovskite_sim.physics.trap_kinetics.TrapReservoirState.canonical_json","qualified_name":"perovskite_sim.physics.trap_kinetics.TrapReservoirState.canonical_json","visibility":"public","evidence_level":"source_static"}, +{"id":"python-191bbd8af16e7e46","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/trap_kinetics.py","route_id":"route-960df0ca64e33313","origin_key":"python:perovskite_sim.physics.trap_kinetics.TrapReservoirState.from_dict","qualified_name":"perovskite_sim.physics.trap_kinetics.TrapReservoirState.from_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-f231efcb163ec8f4","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/trap_kinetics.py","route_id":"route-960df0ca64e33313","origin_key":"python:perovskite_sim.physics.trap_kinetics.TrapReservoirState.from_json","qualified_name":"perovskite_sim.physics.trap_kinetics.TrapReservoirState.from_json","visibility":"public","evidence_level":"source_static"}, +{"id":"python-5257b377b464625f","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/trap_kinetics.py","route_id":"route-960df0ca64e33313","origin_key":"python:perovskite_sim.physics.trap_kinetics.TrapReservoirState.sha256","qualified_name":"perovskite_sim.physics.trap_kinetics.TrapReservoirState.sha256","visibility":"public","evidence_level":"source_static"}, +{"id":"python-052f1752e9542e8b","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/trap_kinetics.py","route_id":"route-960df0ca64e33313","origin_key":"python:perovskite_sim.physics.trap_kinetics.TrapReservoirState.to_dict","qualified_name":"perovskite_sim.physics.trap_kinetics.TrapReservoirState.to_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-4b04eb777a5fdfd3","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/trap_kinetics.py","route_id":"route-960df0ca64e33313","origin_key":"python:perovskite_sim.physics.trap_kinetics._broadcast_density_response","qualified_name":"perovskite_sim.physics.trap_kinetics._broadcast_density_response","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-70d143f4c124b126","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/trap_kinetics.py","route_id":"route-960df0ca64e33313","origin_key":"python:perovskite_sim.physics.trap_kinetics._canonical_sha256","qualified_name":"perovskite_sim.physics.trap_kinetics._canonical_sha256","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-fc14ccd39f9e9392","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/trap_kinetics.py","route_id":"route-960df0ca64e33313","origin_key":"python:perovskite_sim.physics.trap_kinetics._finite_nonnegative","qualified_name":"perovskite_sim.physics.trap_kinetics._finite_nonnegative","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-960a7ce4c9a144b3","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/trap_kinetics.py","route_id":"route-960df0ca64e33313","origin_key":"python:perovskite_sim.physics.trap_kinetics._finite_positive","qualified_name":"perovskite_sim.physics.trap_kinetics._finite_positive","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-9c642c64815c1daa","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/trap_kinetics.py","route_id":"route-960df0ca64e33313","origin_key":"python:perovskite_sim.physics.trap_kinetics._finite_real","qualified_name":"perovskite_sim.physics.trap_kinetics._finite_real","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-dfb09e88f2e42741","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/trap_kinetics.py","route_id":"route-960df0ca64e33313","origin_key":"python:perovskite_sim.physics.trap_kinetics._readonly_complex","qualified_name":"perovskite_sim.physics.trap_kinetics._readonly_complex","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-eb0ff0d7e85eede8","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/trap_kinetics.py","route_id":"route-960df0ca64e33313","origin_key":"python:perovskite_sim.physics.trap_kinetics._readonly_vector","qualified_name":"perovskite_sim.physics.trap_kinetics._readonly_vector","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-3bb8731ab91ec3bb","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/trap_kinetics.py","route_id":"route-960df0ca64e33313","origin_key":"python:perovskite_sim.physics.trap_kinetics._require_exact_keys","qualified_name":"perovskite_sim.physics.trap_kinetics._require_exact_keys","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-544f18a8f58ca179","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/trap_kinetics.py","route_id":"route-960df0ca64e33313","origin_key":"python:perovskite_sim.physics.trap_kinetics._validate_alignment","qualified_name":"perovskite_sim.physics.trap_kinetics._validate_alignment","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-e50bfc5f5521f324","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/trap_kinetics.py","route_id":"route-960df0ca64e33313","origin_key":"python:perovskite_sim.physics.trap_kinetics.evaluate_trap_dc_operating_point","qualified_name":"perovskite_sim.physics.trap_kinetics.evaluate_trap_dc_operating_point","visibility":"public","evidence_level":"source_static"}, +{"id":"python-744b0e9dff9fad4c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/trap_kinetics.py","route_id":"route-960df0ca64e33313","origin_key":"python:perovskite_sim.physics.trap_kinetics.fixed_quasi_fermi_density_response_per_potential","qualified_name":"perovskite_sim.physics.trap_kinetics.fixed_quasi_fermi_density_response_per_potential","visibility":"public","evidence_level":"source_static"}, +{"id":"python-ee9ba190e9a49ae0","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/trap_kinetics.py","route_id":"route-960df0ca64e33313","origin_key":"python:perovskite_sim.physics.trap_kinetics.linearize_trap_kinetics","qualified_name":"perovskite_sim.physics.trap_kinetics.linearize_trap_kinetics","visibility":"public","evidence_level":"source_static"}, +{"id":"python-83c01a6a60044cad","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/trap_kinetics.py","route_id":"route-960df0ca64e33313","origin_key":"python:perovskite_sim.physics.trap_kinetics.solve_trap_frequency_response","qualified_name":"perovskite_sim.physics.trap_kinetics.solve_trap_frequency_response","visibility":"public","evidence_level":"source_static"}, +{"id":"python-12db4f114e40ce0f","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/physics/trap_population_response.py","route_id":"route-46c0d51d5bd93915","origin_key":"python:perovskite_sim.physics.trap_population_response.BulkDefectPopulationFrequencyResponse","qualified_name":"perovskite_sim.physics.trap_population_response.BulkDefectPopulationFrequencyResponse","visibility":"public","evidence_level":"source_static"}, +{"id":"python-4fc7d7e58b42c91e","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/trap_population_response.py","route_id":"route-46c0d51d5bd93915","origin_key":"python:perovskite_sim.physics.trap_population_response.BulkDefectPopulationFrequencyResponse.__post_init__","qualified_name":"perovskite_sim.physics.trap_population_response.BulkDefectPopulationFrequencyResponse.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-7e4784c37d431459","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/physics/trap_population_response.py","route_id":"route-46c0d51d5bd93915","origin_key":"python:perovskite_sim.physics.trap_population_response.InterfaceTrapPopulationFrequencyResponse","qualified_name":"perovskite_sim.physics.trap_population_response.InterfaceTrapPopulationFrequencyResponse","visibility":"public","evidence_level":"source_static"}, +{"id":"python-e6e88e8e197a1c64","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/trap_population_response.py","route_id":"route-46c0d51d5bd93915","origin_key":"python:perovskite_sim.physics.trap_population_response.InterfaceTrapPopulationFrequencyResponse.__post_init__","qualified_name":"perovskite_sim.physics.trap_population_response.InterfaceTrapPopulationFrequencyResponse.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-f94e714dc834dd27","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/physics/trap_population_response.py","route_id":"route-46c0d51d5bd93915","origin_key":"python:perovskite_sim.physics.trap_population_response.TrapPopulationCertificationError","qualified_name":"perovskite_sim.physics.trap_population_response.TrapPopulationCertificationError","visibility":"public","evidence_level":"source_static"}, +{"id":"python-89cb185f36d7ffea","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/trap_population_response.py","route_id":"route-46c0d51d5bd93915","origin_key":"python:perovskite_sim.physics.trap_population_response.TrapPopulationCertificationError.__init__","qualified_name":"perovskite_sim.physics.trap_population_response.TrapPopulationCertificationError.__init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-22c55d150df10eed","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/physics/trap_population_response.py","route_id":"route-46c0d51d5bd93915","origin_key":"python:perovskite_sim.physics.trap_population_response.TrapPopulationResponseError","qualified_name":"perovskite_sim.physics.trap_population_response.TrapPopulationResponseError","visibility":"public","evidence_level":"source_static"}, +{"id":"python-ad55e54d8fd7ff43","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/trap_population_response.py","route_id":"route-46c0d51d5bd93915","origin_key":"python:perovskite_sim.physics.trap_population_response._canonical_sha256","qualified_name":"perovskite_sim.physics.trap_population_response._canonical_sha256","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-0adfa5c86aa3e3ce","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/trap_population_response.py","route_id":"route-46c0d51d5bd93915","origin_key":"python:perovskite_sim.physics.trap_population_response._density_response","qualified_name":"perovskite_sim.physics.trap_population_response._density_response","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-fab8a092dcfd2969","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/trap_population_response.py","route_id":"route-46c0d51d5bd93915","origin_key":"python:perovskite_sim.physics.trap_population_response._finite","qualified_name":"perovskite_sim.physics.trap_population_response._finite","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-fa8d5b0cbff57cdc","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/trap_population_response.py","route_id":"route-46c0d51d5bd93915","origin_key":"python:perovskite_sim.physics.trap_population_response._frequencies","qualified_name":"perovskite_sim.physics.trap_population_response._frequencies","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-e444b7a25cd42732","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/trap_population_response.py","route_id":"route-46c0d51d5bd93915","origin_key":"python:perovskite_sim.physics.trap_population_response._interface_binding_sha256","qualified_name":"perovskite_sim.physics.trap_population_response._interface_binding_sha256","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-c3df0c289339ac2d","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/trap_population_response.py","route_id":"route-46c0d51d5bd93915","origin_key":"python:perovskite_sim.physics.trap_population_response._positive","qualified_name":"perovskite_sim.physics.trap_population_response._positive","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-600fd3c7c897a6e9","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/trap_population_response.py","route_id":"route-46c0d51d5bd93915","origin_key":"python:perovskite_sim.physics.trap_population_response._readonly","qualified_name":"perovskite_sim.physics.trap_population_response._readonly","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-12976ddf89aa7693","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/trap_population_response.py","route_id":"route-46c0d51d5bd93915","origin_key":"python:perovskite_sim.physics.trap_population_response._relative_error","qualified_name":"perovskite_sim.physics.trap_population_response._relative_error","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-790bc597af2fbce5","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/trap_population_response.py","route_id":"route-46c0d51d5bd93915","origin_key":"python:perovskite_sim.physics.trap_population_response._sha256","qualified_name":"perovskite_sim.physics.trap_population_response._sha256","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-94dfdbc12eca6cab","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/trap_population_response.py","route_id":"route-46c0d51d5bd93915","origin_key":"python:perovskite_sim.physics.trap_population_response._trap_balance_relative_error","qualified_name":"perovskite_sim.physics.trap_population_response._trap_balance_relative_error","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-92d8d4189c406758","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/trap_population_response.py","route_id":"route-46c0d51d5bd93915","origin_key":"python:perovskite_sim.physics.trap_population_response.solve_bulk_defect_population_frequency_response","qualified_name":"perovskite_sim.physics.trap_population_response.solve_bulk_defect_population_frequency_response","visibility":"public","evidence_level":"source_static"}, +{"id":"python-ffcf37cad5d25728","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/trap_population_response.py","route_id":"route-46c0d51d5bd93915","origin_key":"python:perovskite_sim.physics.trap_population_response.solve_two_sided_interface_trap_population_frequency_response","qualified_name":"perovskite_sim.physics.trap_population_response.solve_two_sided_interface_trap_population_frequency_response","visibility":"public","evidence_level":"source_static"}, +{"id":"python-9dd1443e847afdfd","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/physics/trap_transient.py","route_id":"route-c8e8f31424354d46","origin_key":"python:perovskite_sim.physics.trap_transient.ConstantReservoirTrapTrace","qualified_name":"perovskite_sim.physics.trap_transient.ConstantReservoirTrapTrace","visibility":"public","evidence_level":"source_static"}, +{"id":"python-da2a0ba086cb72b5","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/trap_transient.py","route_id":"route-c8e8f31424354d46","origin_key":"python:perovskite_sim.physics.trap_transient.ConstantReservoirTrapTrace.__post_init__","qualified_name":"perovskite_sim.physics.trap_transient.ConstantReservoirTrapTrace.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-e82da5080244c924","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/physics/trap_transient.py","route_id":"route-c8e8f31424354d46","origin_key":"python:perovskite_sim.physics.trap_transient.TrapTransientError","qualified_name":"perovskite_sim.physics.trap_transient.TrapTransientError","visibility":"public","evidence_level":"source_static"}, +{"id":"python-23826591bc6b1a50","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/physics/trap_transient.py","route_id":"route-c8e8f31424354d46","origin_key":"python:perovskite_sim.physics.trap_transient.TrapTransientEvaluation","qualified_name":"perovskite_sim.physics.trap_transient.TrapTransientEvaluation","visibility":"public","evidence_level":"source_static"}, +{"id":"python-0b56f3e782f0f5e1","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/trap_transient.py","route_id":"route-c8e8f31424354d46","origin_key":"python:perovskite_sim.physics.trap_transient.TrapTransientEvaluation.__post_init__","qualified_name":"perovskite_sim.physics.trap_transient.TrapTransientEvaluation.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-a9cc7815a9c23c26","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/physics/trap_transient.py","route_id":"route-c8e8f31424354d46","origin_key":"python:perovskite_sim.physics.trap_transient.TrapTransientTangent","qualified_name":"perovskite_sim.physics.trap_transient.TrapTransientTangent","visibility":"public","evidence_level":"source_static"}, +{"id":"python-6029475749909c28","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/trap_transient.py","route_id":"route-c8e8f31424354d46","origin_key":"python:perovskite_sim.physics.trap_transient.TrapTransientTangent.__post_init__","qualified_name":"perovskite_sim.physics.trap_transient.TrapTransientTangent.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-3ac66ba707d5dc47","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/trap_transient.py","route_id":"route-c8e8f31424354d46","origin_key":"python:perovskite_sim.physics.trap_transient._finite_open_occupancy","qualified_name":"perovskite_sim.physics.trap_transient._finite_open_occupancy","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-36db96031537ab5f","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/trap_transient.py","route_id":"route-c8e8f31424354d46","origin_key":"python:perovskite_sim.physics.trap_transient._readonly","qualified_name":"perovskite_sim.physics.trap_transient._readonly","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-f3c71e66db2b5a8b","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/trap_transient.py","route_id":"route-c8e8f31424354d46","origin_key":"python:perovskite_sim.physics.trap_transient._transition","qualified_name":"perovskite_sim.physics.trap_transient._transition","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-8e499376a334b33d","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/trap_transient.py","route_id":"route-c8e8f31424354d46","origin_key":"python:perovskite_sim.physics.trap_transient.constant_reservoir_trap_trace","qualified_name":"perovskite_sim.physics.trap_transient.constant_reservoir_trap_trace","visibility":"public","evidence_level":"source_static"}, +{"id":"python-d43604645e14a0a3","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/trap_transient.py","route_id":"route-c8e8f31424354d46","origin_key":"python:perovskite_sim.physics.trap_transient.evaluate_trap_transient","qualified_name":"perovskite_sim.physics.trap_transient.evaluate_trap_transient","visibility":"public","evidence_level":"source_static"}, +{"id":"python-51f4dad6a4273a82","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/trap_transient.py","route_id":"route-c8e8f31424354d46","origin_key":"python:perovskite_sim.physics.trap_transient.linearize_trap_transient","qualified_name":"perovskite_sim.physics.trap_transient.linearize_trap_transient","visibility":"public","evidence_level":"source_static"}, +{"id":"python-1a5a1da4b1856dda","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/trap_transient.py","route_id":"route-c8e8f31424354d46","origin_key":"python:perovskite_sim.physics.trap_transient.occupancy_from_logit","qualified_name":"perovskite_sim.physics.trap_transient.occupancy_from_logit","visibility":"public","evidence_level":"source_static"}, +{"id":"python-4a1de6b6dcafa765","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/trap_transient.py","route_id":"route-c8e8f31424354d46","origin_key":"python:perovskite_sim.physics.trap_transient.occupancy_logit","qualified_name":"perovskite_sim.physics.trap_transient.occupancy_logit","visibility":"public","evidence_level":"source_static"}, +{"id":"python-b4fc343b459cf2e4","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/traps.py","route_id":"route-d818782ce582c5dd","origin_key":"python:perovskite_sim.physics.traps._combine_edge_kernel","qualified_name":"perovskite_sim.physics.traps._combine_edge_kernel","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-e7e989d8859ec5ee","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/traps.py","route_id":"route-d818782ce582c5dd","origin_key":"python:perovskite_sim.physics.traps.exponential_edge_profile","qualified_name":"perovskite_sim.physics.traps.exponential_edge_profile","visibility":"public","evidence_level":"source_static"}, +{"id":"python-36f5d486e613655d","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/traps.py","route_id":"route-d818782ce582c5dd","origin_key":"python:perovskite_sim.physics.traps.gaussian_edge_profile","qualified_name":"perovskite_sim.physics.traps.gaussian_edge_profile","visibility":"public","evidence_level":"source_static"}, +{"id":"python-bb94323981e3532e","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/traps.py","route_id":"route-d818782ce582c5dd","origin_key":"python:perovskite_sim.physics.traps.has_trap_profile_params","qualified_name":"perovskite_sim.physics.traps.has_trap_profile_params","visibility":"public","evidence_level":"source_static"}, +{"id":"python-5c7d12a02fef46a6","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/traps.py","route_id":"route-d818782ce582c5dd","origin_key":"python:perovskite_sim.physics.traps.tau_from_trap_density","qualified_name":"perovskite_sim.physics.traps.tau_from_trap_density","visibility":"public","evidence_level":"source_static"}, +{"id":"python-9e88d6d39e8edf10","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/tunneling.py","route_id":"route-b88673dddab4e477","origin_key":"python:perovskite_sim.physics.tunneling._coth","qualified_name":"perovskite_sim.physics.tunneling._coth","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-e181d072e65cb46d","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/tunneling.py","route_id":"route-b88673dddab4e477","origin_key":"python:perovskite_sim.physics.tunneling.tfe_gamma","qualified_name":"perovskite_sim.physics.tunneling.tfe_gamma","visibility":"public","evidence_level":"source_static"}, +{"id":"python-0d0d4f5bb2b367ec","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/physics/tunneling_channel_device.py","route_id":"route-90540c4c93c6e925","origin_key":"python:perovskite_sim.physics.tunneling_channel_device.CompiledTunnellingChannels","qualified_name":"perovskite_sim.physics.tunneling_channel_device.CompiledTunnellingChannels","visibility":"public","evidence_level":"source_static"}, +{"id":"python-d902e2cda932f172","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/tunneling_channel_device.py","route_id":"route-90540c4c93c6e925","origin_key":"python:perovskite_sim.physics.tunneling_channel_device.CompiledTunnellingChannels.__post_init__","qualified_name":"perovskite_sim.physics.tunneling_channel_device.CompiledTunnellingChannels.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-f5d39f95845bbdc7","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/tunneling_channel_device.py","route_id":"route-90540c4c93c6e925","origin_key":"python:perovskite_sim.physics.tunneling_channel_device.CompiledTunnellingChannels.enabled_channels","qualified_name":"perovskite_sim.physics.tunneling_channel_device.CompiledTunnellingChannels.enabled_channels","visibility":"public","evidence_level":"source_static"}, +{"id":"python-dc65b24a6a033974","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/tunneling_channel_device.py","route_id":"route-90540c4c93c6e925","origin_key":"python:perovskite_sim.physics.tunneling_channel_device.CompiledTunnellingChannels.identity_sha256","qualified_name":"perovskite_sim.physics.tunneling_channel_device.CompiledTunnellingChannels.identity_sha256","visibility":"public","evidence_level":"source_static"}, +{"id":"python-66b3a100f1e20a99","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/physics/tunneling_channel_device.py","route_id":"route-90540c4c93c6e925","origin_key":"python:perovskite_sim.physics.tunneling_channel_device.TunnellingChannelCapabilityError","qualified_name":"perovskite_sim.physics.tunneling_channel_device.TunnellingChannelCapabilityError","visibility":"public","evidence_level":"source_static"}, +{"id":"python-020cbd8d49368582","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/physics/tunneling_channel_device.py","route_id":"route-90540c4c93c6e925","origin_key":"python:perovskite_sim.physics.tunneling_channel_device.TunnellingChannelEvaluation","qualified_name":"perovskite_sim.physics.tunneling_channel_device.TunnellingChannelEvaluation","visibility":"public","evidence_level":"source_static"}, +{"id":"python-d1904620db90628b","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/tunneling_channel_device.py","route_id":"route-90540c4c93c6e925","origin_key":"python:perovskite_sim.physics.tunneling_channel_device._readonly","qualified_name":"perovskite_sim.physics.tunneling_channel_device._readonly","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-79b238129dd9eab6","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/tunneling_channel_device.py","route_id":"route-90540c4c93c6e925","origin_key":"python:perovskite_sim.physics.tunneling_channel_device.compile_tunnelling_channels","qualified_name":"perovskite_sim.physics.tunneling_channel_device.compile_tunnelling_channels","visibility":"public","evidence_level":"source_static"}, +{"id":"python-a19e1e7b4782b8c3","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/tunneling_channel_device.py","route_id":"route-90540c4c93c6e925","origin_key":"python:perovskite_sim.physics.tunneling_channel_device.evaluate_tunnelling_channels","qualified_name":"perovskite_sim.physics.tunneling_channel_device.evaluate_tunnelling_channels","visibility":"public","evidence_level":"source_static"}, +{"id":"python-c743e8b34166718c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/tunneling_channel_device.py","route_id":"route-90540c4c93c6e925","origin_key":"python:perovskite_sim.physics.tunneling_channel_device.physical_quasi_fermi_levels_eV","qualified_name":"perovskite_sim.physics.tunneling_channel_device.physical_quasi_fermi_levels_eV","visibility":"public","evidence_level":"source_static"}, +{"id":"python-70ae9dbb9d4d58fd","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/physics/tunneling_channels.py","route_id":"route-5e56613ad2fca2db","origin_key":"python:perovskite_sim.physics.tunneling_channels.ChannelFlux","qualified_name":"perovskite_sim.physics.tunneling_channels.ChannelFlux","visibility":"public","evidence_level":"source_static"}, +{"id":"python-11bffbcebc26a83f","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/physics/tunneling_channels.py","route_id":"route-5e56613ad2fca2db","origin_key":"python:perovskite_sim.physics.tunneling_channels.InterfaceDefectAssistedFlux","qualified_name":"perovskite_sim.physics.tunneling_channels.InterfaceDefectAssistedFlux","visibility":"public","evidence_level":"source_static"}, +{"id":"python-bcb0bc11ff5fdd86","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/physics/tunneling_channels.py","route_id":"route-5e56613ad2fca2db","origin_key":"python:perovskite_sim.physics.tunneling_channels.IntrabandBarrierRegion","qualified_name":"perovskite_sim.physics.tunneling_channels.IntrabandBarrierRegion","visibility":"public","evidence_level":"source_static"}, +{"id":"python-f5c41cbcbf9eb647","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/tunneling_channels.py","route_id":"route-5e56613ad2fca2db","origin_key":"python:perovskite_sim.physics.tunneling_channels.IntrabandBarrierRegion.__post_init__","qualified_name":"perovskite_sim.physics.tunneling_channels.IntrabandBarrierRegion.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-004907819d37de7d","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/physics/tunneling_channels.py","route_id":"route-5e56613ad2fca2db","origin_key":"python:perovskite_sim.physics.tunneling_channels.IntrabandPathFlux","qualified_name":"perovskite_sim.physics.tunneling_channels.IntrabandPathFlux","visibility":"public","evidence_level":"source_static"}, +{"id":"python-277871225d08616a","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/physics/tunneling_channels.py","route_id":"route-5e56613ad2fca2db","origin_key":"python:perovskite_sim.physics.tunneling_channels.TunnellingChannelError","qualified_name":"perovskite_sim.physics.tunneling_channels.TunnellingChannelError","visibility":"public","evidence_level":"source_static"}, +{"id":"python-c753b458636daf63","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/tunneling_channels.py","route_id":"route-5e56613ad2fca2db","origin_key":"python:perovskite_sim.physics.tunneling_channels._channel_flux","qualified_name":"perovskite_sim.physics.tunneling_channels._channel_flux","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-d1a307b4239c842a","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/tunneling_channels.py","route_id":"route-5e56613ad2fca2db","origin_key":"python:perovskite_sim.physics.tunneling_channels._fermi","qualified_name":"perovskite_sim.physics.tunneling_channels._fermi","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-5583c0deba3d3654","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/tunneling_channels.py","route_id":"route-5e56613ad2fca2db","origin_key":"python:perovskite_sim.physics.tunneling_channels._legendre_energy_rule","qualified_name":"perovskite_sim.physics.tunneling_channels._legendre_energy_rule","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-e5ae4362f232becb","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/tunneling_channels.py","route_id":"route-5e56613ad2fca2db","origin_key":"python:perovskite_sim.physics.tunneling_channels._turning_point_levels","qualified_name":"perovskite_sim.physics.tunneling_channels._turning_point_levels","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-557007fab1eae719","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/tunneling_channels.py","route_id":"route-5e56613ad2fca2db","origin_key":"python:perovskite_sim.physics.tunneling_channels._two_band_turning_point_levels","qualified_name":"perovskite_sim.physics.tunneling_channels._two_band_turning_point_levels","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-3463d33e6b0fad5a","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/tunneling_channels.py","route_id":"route-5e56613ad2fca2db","origin_key":"python:perovskite_sim.physics.tunneling_channels.band_to_band_flux","qualified_name":"perovskite_sim.physics.tunneling_channels.band_to_band_flux","visibility":"public","evidence_level":"source_static"}, +{"id":"python-fcd91c0c3432452b","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/tunneling_channels.py","route_id":"route-5e56613ad2fca2db","origin_key":"python:perovskite_sim.physics.tunneling_channels.conduction_band_eV","qualified_name":"perovskite_sim.physics.tunneling_channels.conduction_band_eV","visibility":"public","evidence_level":"source_static"}, +{"id":"python-98e3fcdb35971c47","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/tunneling_channels.py","route_id":"route-5e56613ad2fca2db","origin_key":"python:perovskite_sim.physics.tunneling_channels.contact_tunnelling_flux","qualified_name":"perovskite_sim.physics.tunneling_channels.contact_tunnelling_flux","visibility":"public","evidence_level":"source_static"}, +{"id":"python-5f0ae12d964aaa48","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/tunneling_channels.py","route_id":"route-5e56613ad2fca2db","origin_key":"python:perovskite_sim.physics.tunneling_channels.interface_defect_assisted_rate","qualified_name":"perovskite_sim.physics.tunneling_channels.interface_defect_assisted_rate","visibility":"public","evidence_level":"source_static"}, +{"id":"python-1fb9fd1e8bf4e90a","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/tunneling_channels.py","route_id":"route-5e56613ad2fca2db","origin_key":"python:perovskite_sim.physics.tunneling_channels.intraband_flux","qualified_name":"perovskite_sim.physics.tunneling_channels.intraband_flux","visibility":"public","evidence_level":"source_static"}, +{"id":"python-b5997e5b833ee298","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/tunneling_channels.py","route_id":"route-5e56613ad2fca2db","origin_key":"python:perovskite_sim.physics.tunneling_channels.intraband_path_flux","qualified_name":"perovskite_sim.physics.tunneling_channels.intraband_path_flux","visibility":"public","evidence_level":"source_static"}, +{"id":"python-7a815a5d09f45cee","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/tunneling_channels.py","route_id":"route-5e56613ad2fca2db","origin_key":"python:perovskite_sim.physics.tunneling_channels.local_barrier_window","qualified_name":"perovskite_sim.physics.tunneling_channels.local_barrier_window","visibility":"public","evidence_level":"source_static"}, +{"id":"python-05f5b9da9759cd4e","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/tunneling_channels.py","route_id":"route-5e56613ad2fca2db","origin_key":"python:perovskite_sim.physics.tunneling_channels.valence_band_eV","qualified_name":"perovskite_sim.physics.tunneling_channels.valence_band_eV","visibility":"public","evidence_level":"source_static"}, +{"id":"python-e2ab006aec19772a","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface.py","route_id":"route-ebfb46505dfae15d","origin_key":"python:perovskite_sim.physics.two_sided_interface.ChargedElectrostaticTraceBalance","qualified_name":"perovskite_sim.physics.two_sided_interface.ChargedElectrostaticTraceBalance","visibility":"public","evidence_level":"source_static"}, +{"id":"python-4972a3cbdf002aca","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface.py","route_id":"route-ebfb46505dfae15d","origin_key":"python:perovskite_sim.physics.two_sided_interface.CoupledChargedInterfaceBalance","qualified_name":"perovskite_sim.physics.two_sided_interface.CoupledChargedInterfaceBalance","visibility":"public","evidence_level":"source_static"}, +{"id":"python-d2ebcb51f6ddfff0","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface.py","route_id":"route-ebfb46505dfae15d","origin_key":"python:perovskite_sim.physics.two_sided_interface.EquilibriumReferencedMaterialQSSResult","qualified_name":"perovskite_sim.physics.two_sided_interface.EquilibriumReferencedMaterialQSSResult","visibility":"public","evidence_level":"source_static"}, +{"id":"python-7412d92a26fa88fb","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface.py","route_id":"route-ebfb46505dfae15d","origin_key":"python:perovskite_sim.physics.two_sided_interface.EquilibriumReferencedSheetCharge","qualified_name":"perovskite_sim.physics.two_sided_interface.EquilibriumReferencedSheetCharge","visibility":"public","evidence_level":"source_static"}, +{"id":"python-caee876c777f87da","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface.py","route_id":"route-ebfb46505dfae15d","origin_key":"python:perovskite_sim.physics.two_sided_interface.EquilibriumReferencedSheetCharge.__post_init__","qualified_name":"perovskite_sim.physics.two_sided_interface.EquilibriumReferencedSheetCharge.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-1032f2d9baae4038","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface.py","route_id":"route-ebfb46505dfae15d","origin_key":"python:perovskite_sim.physics.two_sided_interface.EquilibriumReferencedTwoSidedInterfaceResult","qualified_name":"perovskite_sim.physics.two_sided_interface.EquilibriumReferencedTwoSidedInterfaceResult","visibility":"public","evidence_level":"source_static"}, +{"id":"python-8256e07e33fbc218","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface.py","route_id":"route-ebfb46505dfae15d","origin_key":"python:perovskite_sim.physics.two_sided_interface.FixedOccupancyCarrierTangent","qualified_name":"perovskite_sim.physics.two_sided_interface.FixedOccupancyCarrierTangent","visibility":"public","evidence_level":"source_static"}, +{"id":"python-0c8434f3f5fff653","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface.py","route_id":"route-ebfb46505dfae15d","origin_key":"python:perovskite_sim.physics.two_sided_interface.FixedOccupancyMaterialInterfaceResult","qualified_name":"perovskite_sim.physics.two_sided_interface.FixedOccupancyMaterialInterfaceResult","visibility":"public","evidence_level":"source_static"}, +{"id":"python-e27512b82249fc70","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface.py","route_id":"route-ebfb46505dfae15d","origin_key":"python:perovskite_sim.physics.two_sided_interface.FixedOccupancyTwoSidedInterfaceResult","qualified_name":"perovskite_sim.physics.two_sided_interface.FixedOccupancyTwoSidedInterfaceResult","visibility":"public","evidence_level":"source_static"}, +{"id":"python-d74b68784aac91d4","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface.py","route_id":"route-ebfb46505dfae15d","origin_key":"python:perovskite_sim.physics.two_sided_interface.InterfaceTracePotentials","qualified_name":"perovskite_sim.physics.two_sided_interface.InterfaceTracePotentials","visibility":"public","evidence_level":"source_static"}, +{"id":"python-89dc77d1aa33cd68","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface.py","route_id":"route-ebfb46505dfae15d","origin_key":"python:perovskite_sim.physics.two_sided_interface.TwoSidedBulkState","qualified_name":"perovskite_sim.physics.two_sided_interface.TwoSidedBulkState","visibility":"public","evidence_level":"source_static"}, +{"id":"python-f170907d58c2518f","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface.py","route_id":"route-ebfb46505dfae15d","origin_key":"python:perovskite_sim.physics.two_sided_interface.TwoSidedCarrierBalance","qualified_name":"perovskite_sim.physics.two_sided_interface.TwoSidedCarrierBalance","visibility":"public","evidence_level":"source_static"}, +{"id":"python-54c7248fda25d55f","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface.py","route_id":"route-ebfb46505dfae15d","origin_key":"python:perovskite_sim.physics.two_sided_interface.TwoSidedInterfaceGeometry","qualified_name":"perovskite_sim.physics.two_sided_interface.TwoSidedInterfaceGeometry","visibility":"public","evidence_level":"source_static"}, +{"id":"python-cb0ba241c99fff89","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface.py","route_id":"route-ebfb46505dfae15d","origin_key":"python:perovskite_sim.physics.two_sided_interface.TwoSidedInterfacePhysics","qualified_name":"perovskite_sim.physics.two_sided_interface.TwoSidedInterfacePhysics","visibility":"public","evidence_level":"source_static"}, +{"id":"python-4bd89f207ff9c31f","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface.py","route_id":"route-ebfb46505dfae15d","origin_key":"python:perovskite_sim.physics.two_sided_interface.TwoSidedInterfaceResult","qualified_name":"perovskite_sim.physics.two_sided_interface.TwoSidedInterfaceResult","visibility":"public","evidence_level":"source_static"}, +{"id":"python-b02b036825c9dded","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface.py","route_id":"route-ebfb46505dfae15d","origin_key":"python:perovskite_sim.physics.two_sided_interface.TwoSidedInterfaceStencil","qualified_name":"perovskite_sim.physics.two_sided_interface.TwoSidedInterfaceStencil","visibility":"public","evidence_level":"source_static"}, +{"id":"python-f601395770a1e51e","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface.py","route_id":"route-ebfb46505dfae15d","origin_key":"python:perovskite_sim.physics.two_sided_interface.TwoSidedMaterialQSSResult","qualified_name":"perovskite_sim.physics.two_sided_interface.TwoSidedMaterialQSSResult","visibility":"public","evidence_level":"source_static"}, +{"id":"python-791c5e01eb3e0fa2","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface.py","route_id":"route-ebfb46505dfae15d","origin_key":"python:perovskite_sim.physics.two_sided_interface._bernoulli_pair_with_derivative","qualified_name":"perovskite_sim.physics.two_sided_interface._bernoulli_pair_with_derivative","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-f712b36f16ab768f","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface.py","route_id":"route-ebfb46505dfae15d","origin_key":"python:perovskite_sim.physics.two_sided_interface._bulk_flux_and_log_jacobian","qualified_name":"perovskite_sim.physics.two_sided_interface._bulk_flux_and_log_jacobian","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-ce1ddcddfff24989","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface.py","route_id":"route-ebfb46505dfae15d","origin_key":"python:perovskite_sim.physics.two_sided_interface._capture_flux_and_log_jacobian","qualified_name":"perovskite_sim.physics.two_sided_interface._capture_flux_and_log_jacobian","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-f8bd67538ea9f77e","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface.py","route_id":"route-ebfb46505dfae15d","origin_key":"python:perovskite_sim.physics.two_sided_interface._coordinate_tolerance","qualified_name":"perovskite_sim.physics.two_sided_interface._coordinate_tolerance","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-4c4deaf61d45c30a","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface.py","route_id":"route-ebfb46505dfae15d","origin_key":"python:perovskite_sim.physics.two_sided_interface._cross_flux_and_log_derivatives","qualified_name":"perovskite_sim.physics.two_sided_interface._cross_flux_and_log_derivatives","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-1ea5cacd7042c0e3","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface.py","route_id":"route-ebfb46505dfae15d","origin_key":"python:perovskite_sim.physics.two_sided_interface._fixed_occupancy_carrier_balance_from_density","qualified_name":"perovskite_sim.physics.two_sided_interface._fixed_occupancy_carrier_balance_from_density","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-0195fa3c17d8dea3","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface.py","route_id":"route-ebfb46505dfae15d","origin_key":"python:perovskite_sim.physics.two_sided_interface._material_two_sided_interface_problem","qualified_name":"perovskite_sim.physics.two_sided_interface._material_two_sided_interface_problem","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-398db37dbb51b714","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface.py","route_id":"route-ebfb46505dfae15d","origin_key":"python:perovskite_sim.physics.two_sided_interface._one_way_fermi_supply","qualified_name":"perovskite_sim.physics.two_sided_interface._one_way_fermi_supply","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-a8472e2db13511fd","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface.py","route_id":"route-ebfb46505dfae15d","origin_key":"python:perovskite_sim.physics.two_sided_interface._product_difference","qualified_name":"perovskite_sim.physics.two_sided_interface._product_difference","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-d3fd3fc2aabea0ce","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface.py","route_id":"route-ebfb46505dfae15d","origin_key":"python:perovskite_sim.physics.two_sided_interface._product_roundoff","qualified_name":"perovskite_sim.physics.two_sided_interface._product_roundoff","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-4ac86f286e1a377d","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface.py","route_id":"route-ebfb46505dfae15d","origin_key":"python:perovskite_sim.physics.two_sided_interface._require_nonnegative","qualified_name":"perovskite_sim.physics.two_sided_interface._require_nonnegative","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-52bbd7b84a11dead","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface.py","route_id":"route-ebfb46505dfae15d","origin_key":"python:perovskite_sim.physics.two_sided_interface._require_positive","qualified_name":"perovskite_sim.physics.two_sided_interface._require_positive","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-c5fe1821e627794f","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface.py","route_id":"route-ebfb46505dfae15d","origin_key":"python:perovskite_sim.physics.two_sided_interface._shared_trap_occupancy_and_denominator","qualified_name":"perovskite_sim.physics.two_sided_interface._shared_trap_occupancy_and_denominator","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-0facdbb096a6ffbd","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface.py","route_id":"route-ebfb46505dfae15d","origin_key":"python:perovskite_sim.physics.two_sided_interface._shared_trap_occupancy_and_linear_jacobian","qualified_name":"perovskite_sim.physics.two_sided_interface._shared_trap_occupancy_and_linear_jacobian","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-80902e594789724a","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface.py","route_id":"route-ebfb46505dfae15d","origin_key":"python:perovskite_sim.physics.two_sided_interface._validate_inputs","qualified_name":"perovskite_sim.physics.two_sided_interface._validate_inputs","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-bb315fe6ebedbab2","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface.py","route_id":"route-ebfb46505dfae15d","origin_key":"python:perovskite_sim.physics.two_sided_interface._zero_bulk_flux_seed","qualified_name":"perovskite_sim.physics.two_sided_interface._zero_bulk_flux_seed","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-746e56f87daff73d","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface.py","route_id":"route-ebfb46505dfae15d","origin_key":"python:perovskite_sim.physics.two_sided_interface.build_two_sided_interface_stencils","qualified_name":"perovskite_sim.physics.two_sided_interface.build_two_sided_interface_stencils","visibility":"public","evidence_level":"source_static"}, +{"id":"python-67a64c41cc3d1815","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface.py","route_id":"route-ebfb46505dfae15d","origin_key":"python:perovskite_sim.physics.two_sided_interface.carrier_balance_and_jacobian","qualified_name":"perovskite_sim.physics.two_sided_interface.carrier_balance_and_jacobian","visibility":"public","evidence_level":"source_static"}, +{"id":"python-547be11f8a340ac4","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface.py","route_id":"route-ebfb46505dfae15d","origin_key":"python:perovskite_sim.physics.two_sided_interface.electrostatic_trace_residual_and_jacobian","qualified_name":"perovskite_sim.physics.two_sided_interface.electrostatic_trace_residual_and_jacobian","visibility":"public","evidence_level":"source_static"}, +{"id":"python-53d1cce17cd510f2","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface.py","route_id":"route-ebfb46505dfae15d","origin_key":"python:perovskite_sim.physics.two_sided_interface.equilibrium_referenced_electrostatic_trace_balance","qualified_name":"perovskite_sim.physics.two_sided_interface.equilibrium_referenced_electrostatic_trace_balance","visibility":"public","evidence_level":"source_static"}, +{"id":"python-a8c766d023125580","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface.py","route_id":"route-ebfb46505dfae15d","origin_key":"python:perovskite_sim.physics.two_sided_interface.equilibrium_referenced_two_sided_balance","qualified_name":"perovskite_sim.physics.two_sided_interface.equilibrium_referenced_two_sided_balance","visibility":"public","evidence_level":"source_static"}, +{"id":"python-07bb0ac993a8bae6","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface.py","route_id":"route-ebfb46505dfae15d","origin_key":"python:perovskite_sim.physics.two_sided_interface.fixed_occupancy_carrier_balance_and_jacobian","qualified_name":"perovskite_sim.physics.two_sided_interface.fixed_occupancy_carrier_balance_and_jacobian","visibility":"public","evidence_level":"source_static"}, +{"id":"python-a88ddf7ab3b6abc0","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface.py","route_id":"route-ebfb46505dfae15d","origin_key":"python:perovskite_sim.physics.two_sided_interface.fixed_occupancy_carrier_tangent","qualified_name":"perovskite_sim.physics.two_sided_interface.fixed_occupancy_carrier_tangent","visibility":"public","evidence_level":"source_static"}, +{"id":"python-6c7c30b26b0521f3","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface.py","route_id":"route-ebfb46505dfae15d","origin_key":"python:perovskite_sim.physics.two_sided_interface.fixed_occupancy_carrier_tangent_from_density","qualified_name":"perovskite_sim.physics.two_sided_interface.fixed_occupancy_carrier_tangent_from_density","visibility":"public","evidence_level":"source_static"}, +{"id":"python-3150b16dd46b0d24","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface.py","route_id":"route-ebfb46505dfae15d","origin_key":"python:perovskite_sim.physics.two_sided_interface.fixed_occupancy_trap_capture_flux_and_log_jacobian","qualified_name":"perovskite_sim.physics.two_sided_interface.fixed_occupancy_trap_capture_flux_and_log_jacobian","visibility":"public","evidence_level":"source_static"}, +{"id":"python-41f9019e02227d4c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface.py","route_id":"route-ebfb46505dfae15d","origin_key":"python:perovskite_sim.physics.two_sided_interface.remove_shared_interface_nodes","qualified_name":"perovskite_sim.physics.two_sided_interface.remove_shared_interface_nodes","visibility":"public","evidence_level":"source_static"}, +{"id":"python-0ad48ea642ea27af","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface.py","route_id":"route-ebfb46505dfae15d","origin_key":"python:perovskite_sim.physics.two_sided_interface.shared_trap_capture_flux","qualified_name":"perovskite_sim.physics.two_sided_interface.shared_trap_capture_flux","visibility":"public","evidence_level":"source_static"}, +{"id":"python-c267825af11be416","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface.py","route_id":"route-ebfb46505dfae15d","origin_key":"python:perovskite_sim.physics.two_sided_interface.shared_trap_occupancy","qualified_name":"perovskite_sim.physics.two_sided_interface.shared_trap_occupancy","visibility":"public","evidence_level":"source_static"}, +{"id":"python-c4ea40729407750e","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface.py","route_id":"route-ebfb46505dfae15d","origin_key":"python:perovskite_sim.physics.two_sided_interface.shared_trap_occupancy_and_log_jacobian","qualified_name":"perovskite_sim.physics.two_sided_interface.shared_trap_occupancy_and_log_jacobian","visibility":"public","evidence_level":"source_static"}, +{"id":"python-b2f7c6f0c40bf7b9","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface.py","route_id":"route-ebfb46505dfae15d","origin_key":"python:perovskite_sim.physics.two_sided_interface.solve_electrostatic_traces","qualified_name":"perovskite_sim.physics.two_sided_interface.solve_electrostatic_traces","visibility":"public","evidence_level":"source_static"}, +{"id":"python-ddb1fff792b66f93","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface.py","route_id":"route-ebfb46505dfae15d","origin_key":"python:perovskite_sim.physics.two_sided_interface.solve_equilibrium_referenced_two_sided_interface","qualified_name":"perovskite_sim.physics.two_sided_interface.solve_equilibrium_referenced_two_sided_interface","visibility":"public","evidence_level":"source_static"}, +{"id":"python-ae5590af0c77bab0","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface.py","route_id":"route-ebfb46505dfae15d","origin_key":"python:perovskite_sim.physics.two_sided_interface.solve_fixed_occupancy_two_sided_interface","qualified_name":"perovskite_sim.physics.two_sided_interface.solve_fixed_occupancy_two_sided_interface","visibility":"public","evidence_level":"source_static"}, +{"id":"python-4ed431fca90bff7a","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface.py","route_id":"route-ebfb46505dfae15d","origin_key":"python:perovskite_sim.physics.two_sided_interface.solve_material_equilibrium_referenced_two_sided_interfaces_qss","qualified_name":"perovskite_sim.physics.two_sided_interface.solve_material_equilibrium_referenced_two_sided_interfaces_qss","visibility":"public","evidence_level":"source_static"}, +{"id":"python-97bbbd24e92f2bfb","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface.py","route_id":"route-ebfb46505dfae15d","origin_key":"python:perovskite_sim.physics.two_sided_interface.solve_material_fixed_occupancy_two_sided_interfaces","qualified_name":"perovskite_sim.physics.two_sided_interface.solve_material_fixed_occupancy_two_sided_interfaces","visibility":"public","evidence_level":"source_static"}, +{"id":"python-0356d2a5b8433e76","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface.py","route_id":"route-ebfb46505dfae15d","origin_key":"python:perovskite_sim.physics.two_sided_interface.solve_material_two_sided_interfaces_qss","qualified_name":"perovskite_sim.physics.two_sided_interface.solve_material_two_sided_interfaces_qss","visibility":"public","evidence_level":"source_static"}, +{"id":"python-a924e6331f4ab0d5","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface.py","route_id":"route-ebfb46505dfae15d","origin_key":"python:perovskite_sim.physics.two_sided_interface.solve_two_sided_interface","qualified_name":"perovskite_sim.physics.two_sided_interface.solve_two_sided_interface","visibility":"public","evidence_level":"source_static"}, +{"id":"python-1499391e09dc3eca","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface.py","route_id":"route-ebfb46505dfae15d","origin_key":"python:perovskite_sim.physics.two_sided_interface.validate_interface_topology","qualified_name":"perovskite_sim.physics.two_sided_interface.validate_interface_topology","visibility":"public","evidence_level":"source_static"}, +{"id":"python-b2d3a60173805825","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface_compensated.py","route_id":"route-681472f26b407b41","origin_key":"python:perovskite_sim.physics.two_sided_interface_compensated.FrozenLocalCoefficients","qualified_name":"perovskite_sim.physics.two_sided_interface_compensated.FrozenLocalCoefficients","visibility":"public","evidence_level":"source_static"}, +{"id":"python-cb28372e5eed2cc6","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface_compensated.py","route_id":"route-681472f26b407b41","origin_key":"python:perovskite_sim.physics.two_sided_interface_compensated.FrozenLocalCoefficients.__deepcopy__","qualified_name":"perovskite_sim.physics.two_sided_interface_compensated.FrozenLocalCoefficients.__deepcopy__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-f3ee6e22a97ff403","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface_compensated.py","route_id":"route-681472f26b407b41","origin_key":"python:perovskite_sim.physics.two_sided_interface_compensated.FrozenLocalCoefficients.log_half_search","qualified_name":"perovskite_sim.physics.two_sided_interface_compensated.FrozenLocalCoefficients.log_half_search","visibility":"public","evidence_level":"source_static"}, +{"id":"python-b3617978ae364969","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface_compensated.py","route_id":"route-681472f26b407b41","origin_key":"python:perovskite_sim.physics.two_sided_interface_compensated.LocalCarrierEvaluation","qualified_name":"perovskite_sim.physics.two_sided_interface_compensated.LocalCarrierEvaluation","visibility":"public","evidence_level":"source_static"}, +{"id":"python-86ef232fa208f9e8","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface_compensated.py","route_id":"route-681472f26b407b41","origin_key":"python:perovskite_sim.physics.two_sided_interface_compensated.LocalCarrierEvaluation.__deepcopy__","qualified_name":"perovskite_sim.physics.two_sided_interface_compensated.LocalCarrierEvaluation.__deepcopy__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-c44308c24462d4ec","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface_compensated.py","route_id":"route-681472f26b407b41","origin_key":"python:perovskite_sim.physics.two_sided_interface_compensated.LocalCarrierEvaluation.__getitem__","qualified_name":"perovskite_sim.physics.two_sided_interface_compensated.LocalCarrierEvaluation.__getitem__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-66ae3ded636f9a6d","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface_compensated.py","route_id":"route-681472f26b407b41","origin_key":"python:perovskite_sim.physics.two_sided_interface_compensated.LocalCarrierEvaluation.__iter__","qualified_name":"perovskite_sim.physics.two_sided_interface_compensated.LocalCarrierEvaluation.__iter__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-027da059ae526c6b","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface_compensated.py","route_id":"route-681472f26b407b41","origin_key":"python:perovskite_sim.physics.two_sided_interface_compensated.LocalCarrierEvaluation.__len__","qualified_name":"perovskite_sim.physics.two_sided_interface_compensated.LocalCarrierEvaluation.__len__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-45e00c65800451cf","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface_compensated.py","route_id":"route-681472f26b407b41","origin_key":"python:perovskite_sim.physics.two_sided_interface_compensated.LocalCarrierEvaluation.__post_init__","qualified_name":"perovskite_sim.physics.two_sided_interface_compensated.LocalCarrierEvaluation.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-ccf58f54d1a864b7","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface_compensated.py","route_id":"route-681472f26b407b41","origin_key":"python:perovskite_sim.physics.two_sided_interface_compensated.UnsupportedCompensatedInterfaceDomain","qualified_name":"perovskite_sim.physics.two_sided_interface_compensated.UnsupportedCompensatedInterfaceDomain","visibility":"public","evidence_level":"source_static"}, +{"id":"python-19cb9b49c53c5c49","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface_compensated.py","route_id":"route-681472f26b407b41","origin_key":"python:perovskite_sim.physics.two_sided_interface_compensated._bernoulli_values_and_derivatives","qualified_name":"perovskite_sim.physics.two_sided_interface_compensated._bernoulli_values_and_derivatives","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-c0a163e4c6ca3b65","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface_compensated.py","route_id":"route-681472f26b407b41","origin_key":"python:perovskite_sim.physics.two_sided_interface_compensated._cat","qualified_name":"perovskite_sim.physics.two_sided_interface_compensated._cat","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-cd6a5707afd7792f","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface_compensated.py","route_id":"route-681472f26b407b41","origin_key":"python:perovskite_sim.physics.two_sided_interface_compensated._choose","qualified_name":"perovskite_sim.physics.two_sided_interface_compensated._choose","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-7ef70059f60ae332","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface_compensated.py","route_id":"route-681472f26b407b41","origin_key":"python:perovskite_sim.physics.two_sided_interface_compensated._diagonal","qualified_name":"perovskite_sim.physics.two_sided_interface_compensated._diagonal","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-d65f52520de31148","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface_compensated.py","route_id":"route-681472f26b407b41","origin_key":"python:perovskite_sim.physics.two_sided_interface_compensated._freeze_value","qualified_name":"perovskite_sim.physics.two_sided_interface_compensated._freeze_value","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-22cd7e0ef7104759","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface_compensated.py","route_id":"route-681472f26b407b41","origin_key":"python:perovskite_sim.physics.two_sided_interface_compensated._frozen_array","qualified_name":"perovskite_sim.physics.two_sided_interface_compensated._frozen_array","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-59e4094a7771e495","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface_compensated.py","route_id":"route-681472f26b407b41","origin_key":"python:perovskite_sim.physics.two_sided_interface_compensated._inverse_half","qualified_name":"perovskite_sim.physics.two_sided_interface_compensated._inverse_half","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-8a9ee035a85da131","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface_compensated.py","route_id":"route-681472f26b407b41","origin_key":"python:perovskite_sim.physics.two_sided_interface_compensated._put","qualified_name":"perovskite_sim.physics.two_sided_interface_compensated._put","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-626195e4bafd9955","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface_compensated.py","route_id":"route-681472f26b407b41","origin_key":"python:perovskite_sim.physics.two_sided_interface_compensated._require_dd","qualified_name":"perovskite_sim.physics.two_sided_interface_compensated._require_dd","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-4287af78d5d30abf","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface_compensated.py","route_id":"route-681472f26b407b41","origin_key":"python:perovskite_sim.physics.two_sided_interface_compensated._supplies","qualified_name":"perovskite_sim.physics.two_sided_interface_compensated._supplies","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-5473621c0f46f0c4","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface_compensated.py","route_id":"route-681472f26b407b41","origin_key":"python:perovskite_sim.physics.two_sided_interface_compensated.default_fd_table","qualified_name":"perovskite_sim.physics.two_sided_interface_compensated.default_fd_table","visibility":"public","evidence_level":"source_static"}, +{"id":"python-7c061b4ddbd9efc2","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface_compensated.py","route_id":"route-681472f26b407b41","origin_key":"python:perovskite_sim.physics.two_sided_interface_compensated.evaluate_local_carrier_pair","qualified_name":"perovskite_sim.physics.two_sided_interface_compensated.evaluate_local_carrier_pair","visibility":"public","evidence_level":"source_static"}, +{"id":"python-b42812e6de8ce02e","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface_compensated.py","route_id":"route-681472f26b407b41","origin_key":"python:perovskite_sim.physics.two_sided_interface_compensated.freeze_coefficients","qualified_name":"perovskite_sim.physics.two_sided_interface_compensated.freeze_coefficients","visibility":"public","evidence_level":"source_static"}, +{"id":"python-1247437737c31e30","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface_compensated.py","route_id":"route-681472f26b407b41","origin_key":"python:perovskite_sim.physics.two_sided_interface_compensated.to_production_tangent","qualified_name":"perovskite_sim.physics.two_sided_interface_compensated.to_production_tangent","visibility":"public","evidence_level":"source_static"}, +{"id":"python-4cad157bdd1d7b28","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/physics/wkb_tunneling.py","route_id":"route-6bb3ba52a914c157","origin_key":"python:perovskite_sim.physics.wkb_tunneling.ReciprocalFlux","qualified_name":"perovskite_sim.physics.wkb_tunneling.ReciprocalFlux","visibility":"public","evidence_level":"source_static"}, +{"id":"python-f4b84831706728ad","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/physics/wkb_tunneling.py","route_id":"route-6bb3ba52a914c157","origin_key":"python:perovskite_sim.physics.wkb_tunneling.WKBTunnellingError","qualified_name":"perovskite_sim.physics.wkb_tunneling.WKBTunnellingError","visibility":"public","evidence_level":"source_static"}, +{"id":"python-3dcdcf97977b792e","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/physics/wkb_tunneling.py","route_id":"route-6bb3ba52a914c157","origin_key":"python:perovskite_sim.physics.wkb_tunneling.WKBValidity","qualified_name":"perovskite_sim.physics.wkb_tunneling.WKBValidity","visibility":"public","evidence_level":"source_static"}, +{"id":"python-6e5d397d19eae9e4","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/wkb_tunneling.py","route_id":"route-6bb3ba52a914c157","origin_key":"python:perovskite_sim.physics.wkb_tunneling.WKBValidity.valid","qualified_name":"perovskite_sim.physics.wkb_tunneling.WKBValidity.valid","visibility":"public","evidence_level":"source_static"}, +{"id":"python-868f539b61937525","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/wkb_tunneling.py","route_id":"route-6bb3ba52a914c157","origin_key":"python:perovskite_sim.physics.wkb_tunneling._interpolate_at_crossing","qualified_name":"perovskite_sim.physics.wkb_tunneling._interpolate_at_crossing","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-89fe392fcde4d5db","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/wkb_tunneling.py","route_id":"route-6bb3ba52a914c157","origin_key":"python:perovskite_sim.physics.wkb_tunneling._positive","qualified_name":"perovskite_sim.physics.wkb_tunneling._positive","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-d59c6d6633e705cf","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/wkb_tunneling.py","route_id":"route-6bb3ba52a914c157","origin_key":"python:perovskite_sim.physics.wkb_tunneling._readonly","qualified_name":"perovskite_sim.physics.wkb_tunneling._readonly","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-e37f47ba26172b58","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/wkb_tunneling.py","route_id":"route-6bb3ba52a914c157","origin_key":"python:perovskite_sim.physics.wkb_tunneling._validity_from_kappa","qualified_name":"perovskite_sim.physics.wkb_tunneling._validity_from_kappa","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-2d3e7000ccd6df00","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/wkb_tunneling.py","route_id":"route-6bb3ba52a914c157","origin_key":"python:perovskite_sim.physics.wkb_tunneling.decay_constant_per_m","qualified_name":"perovskite_sim.physics.wkb_tunneling.decay_constant_per_m","visibility":"public","evidence_level":"source_static"}, +{"id":"python-b05dc8591c243222","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/wkb_tunneling.py","route_id":"route-6bb3ba52a914c157","origin_key":"python:perovskite_sim.physics.wkb_tunneling.forbidden_run","qualified_name":"perovskite_sim.physics.wkb_tunneling.forbidden_run","visibility":"public","evidence_level":"source_static"}, +{"id":"python-8a71cfc49569b2bc","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/wkb_tunneling.py","route_id":"route-6bb3ba52a914c157","origin_key":"python:perovskite_sim.physics.wkb_tunneling.kane_uniform_field_action","qualified_name":"perovskite_sim.physics.wkb_tunneling.kane_uniform_field_action","visibility":"public","evidence_level":"source_static"}, +{"id":"python-6cfa4ae7a75201b8","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/wkb_tunneling.py","route_id":"route-6bb3ba52a914c157","origin_key":"python:perovskite_sim.physics.wkb_tunneling.piecewise_linear_wkb_segment_actions","qualified_name":"perovskite_sim.physics.wkb_tunneling.piecewise_linear_wkb_segment_actions","visibility":"public","evidence_level":"source_static"}, +{"id":"python-3ee2c0a25846da9a","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/wkb_tunneling.py","route_id":"route-6bb3ba52a914c157","origin_key":"python:perovskite_sim.physics.wkb_tunneling.reciprocal_net_flux","qualified_name":"perovskite_sim.physics.wkb_tunneling.reciprocal_net_flux","visibility":"public","evidence_level":"source_static"}, +{"id":"python-2c867f4818e915e7","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/wkb_tunneling.py","route_id":"route-6bb3ba52a914c157","origin_key":"python:perovskite_sim.physics.wkb_tunneling.triangular_barrier_action","qualified_name":"perovskite_sim.physics.wkb_tunneling.triangular_barrier_action","visibility":"public","evidence_level":"source_static"}, +{"id":"python-ad571adc0f21f232","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/wkb_tunneling.py","route_id":"route-6bb3ba52a914c157","origin_key":"python:perovskite_sim.physics.wkb_tunneling.turning_point_levels","qualified_name":"perovskite_sim.physics.wkb_tunneling.turning_point_levels","visibility":"public","evidence_level":"source_static"}, +{"id":"python-cecba1db7cc27fa7","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/wkb_tunneling.py","route_id":"route-6bb3ba52a914c157","origin_key":"python:perovskite_sim.physics.wkb_tunneling.turning_point_nodes","qualified_name":"perovskite_sim.physics.wkb_tunneling.turning_point_nodes","visibility":"public","evidence_level":"source_static"}, +{"id":"python-279114e11dba579d","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/wkb_tunneling.py","route_id":"route-6bb3ba52a914c157","origin_key":"python:perovskite_sim.physics.wkb_tunneling.two_band_action","qualified_name":"perovskite_sim.physics.wkb_tunneling.two_band_action","visibility":"public","evidence_level":"source_static"}, +{"id":"python-d93ebe8624f1e2e6","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/wkb_tunneling.py","route_id":"route-6bb3ba52a914c157","origin_key":"python:perovskite_sim.physics.wkb_tunneling.two_band_decay_constant_per_m","qualified_name":"perovskite_sim.physics.wkb_tunneling.two_band_decay_constant_per_m","visibility":"public","evidence_level":"source_static"}, +{"id":"python-817f5bc837dfaa4d","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/wkb_tunneling.py","route_id":"route-6bb3ba52a914c157","origin_key":"python:perovskite_sim.physics.wkb_tunneling.two_band_transmission","qualified_name":"perovskite_sim.physics.wkb_tunneling.two_band_transmission","visibility":"public","evidence_level":"source_static"}, +{"id":"python-4663b0588f78e20e","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/wkb_tunneling.py","route_id":"route-6bb3ba52a914c157","origin_key":"python:perovskite_sim.physics.wkb_tunneling.two_band_turning_point_levels","qualified_name":"perovskite_sim.physics.wkb_tunneling.two_band_turning_point_levels","visibility":"public","evidence_level":"source_static"}, +{"id":"python-c3408b8e9fa11440","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/wkb_tunneling.py","route_id":"route-6bb3ba52a914c157","origin_key":"python:perovskite_sim.physics.wkb_tunneling.two_band_turning_point_nodes","qualified_name":"perovskite_sim.physics.wkb_tunneling.two_band_turning_point_nodes","visibility":"public","evidence_level":"source_static"}, +{"id":"python-88e2b27b3edfe046","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/wkb_tunneling.py","route_id":"route-6bb3ba52a914c157","origin_key":"python:perovskite_sim.physics.wkb_tunneling.two_band_validity","qualified_name":"perovskite_sim.physics.wkb_tunneling.two_band_validity","visibility":"public","evidence_level":"source_static"}, +{"id":"python-13055338a08832a9","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/wkb_tunneling.py","route_id":"route-6bb3ba52a914c157","origin_key":"python:perovskite_sim.physics.wkb_tunneling.windowed_wkb_action","qualified_name":"perovskite_sim.physics.wkb_tunneling.windowed_wkb_action","visibility":"public","evidence_level":"source_static"}, +{"id":"python-233b53761b453363","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/wkb_tunneling.py","route_id":"route-6bb3ba52a914c157","origin_key":"python:perovskite_sim.physics.wkb_tunneling.windowed_wkb_transmission","qualified_name":"perovskite_sim.physics.wkb_tunneling.windowed_wkb_transmission","visibility":"public","evidence_level":"source_static"}, +{"id":"python-03d686db26428898","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/wkb_tunneling.py","route_id":"route-6bb3ba52a914c157","origin_key":"python:perovskite_sim.physics.wkb_tunneling.wkb_action","qualified_name":"perovskite_sim.physics.wkb_tunneling.wkb_action","visibility":"public","evidence_level":"source_static"}, +{"id":"python-fe8ad99a23b6f76a","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/wkb_tunneling.py","route_id":"route-6bb3ba52a914c157","origin_key":"python:perovskite_sim.physics.wkb_tunneling.wkb_transmission","qualified_name":"perovskite_sim.physics.wkb_tunneling.wkb_transmission","visibility":"public","evidence_level":"source_static"}, +{"id":"python-8f1c63d3736ad829","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/physics/wkb_tunneling.py","route_id":"route-6bb3ba52a914c157","origin_key":"python:perovskite_sim.physics.wkb_tunneling.wkb_validity","qualified_name":"perovskite_sim.physics.wkb_tunneling.wkb_validity","visibility":"public","evidence_level":"source_static"}, +{"id":"python-8d2f3d43cd9d798c","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/reproducibility.py","route_id":"route-ffde87533d2c6d5c","origin_key":"python:perovskite_sim.reproducibility.ReproducibilityError","qualified_name":"perovskite_sim.reproducibility.ReproducibilityError","visibility":"public","evidence_level":"source_static"}, +{"id":"python-18d9352837e1335a","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/reproducibility.py","route_id":"route-ffde87533d2c6d5c","origin_key":"python:perovskite_sim.reproducibility._canonical","qualified_name":"perovskite_sim.reproducibility._canonical","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-6ba8bc5c498994a1","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/reproducibility.py","route_id":"route-ffde87533d2c6d5c","origin_key":"python:perovskite_sim.reproducibility._check_required","qualified_name":"perovskite_sim.reproducibility._check_required","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-824259417a20b836","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/reproducibility.py","route_id":"route-ffde87533d2c6d5c","origin_key":"python:perovskite_sim.reproducibility._dataless_loose_object","qualified_name":"perovskite_sim.reproducibility._dataless_loose_object","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-ed3943e3cf98ab64","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/reproducibility.py","route_id":"route-ffde87533d2c6d5c","origin_key":"python:perovskite_sim.reproducibility._finite_positive","qualified_name":"perovskite_sim.reproducibility._finite_positive","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-31b25f9bd5596651","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/reproducibility.py","route_id":"route-ffde87533d2c6d5c","origin_key":"python:perovskite_sim.reproducibility._git_blob_oid","qualified_name":"perovskite_sim.reproducibility._git_blob_oid","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-dfea61e34a4396c3","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/reproducibility.py","route_id":"route-ffde87533d2c6d5c","origin_key":"python:perovskite_sim.reproducibility._git_common_dir","qualified_name":"perovskite_sim.reproducibility._git_common_dir","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-75f32b8a37219973","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/reproducibility.py","route_id":"route-ffde87533d2c6d5c","origin_key":"python:perovskite_sim.reproducibility._load_declared_config","qualified_name":"perovskite_sim.reproducibility._load_declared_config","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-43021f28f13d87af","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/reproducibility.py","route_id":"route-ffde87533d2c6d5c","origin_key":"python:perovskite_sim.reproducibility._load_mapping","qualified_name":"perovskite_sim.reproducibility._load_mapping","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-d9d0d381441b4287","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/reproducibility.py","route_id":"route-ffde87533d2c6d5c","origin_key":"python:perovskite_sim.reproducibility._mapping_value_at_path","qualified_name":"perovskite_sim.reproducibility._mapping_value_at_path","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-f33fdfc2f628272e","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/reproducibility.py","route_id":"route-ffde87533d2c6d5c","origin_key":"python:perovskite_sim.reproducibility._optical_materials","qualified_name":"perovskite_sim.reproducibility._optical_materials","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-f30db48f245abbb7","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/reproducibility.py","route_id":"route-ffde87533d2c6d5c","origin_key":"python:perovskite_sim.reproducibility._patch_blob_ids","qualified_name":"perovskite_sim.reproducibility._patch_blob_ids","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-a48aa3459734f978","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/reproducibility.py","route_id":"route-ffde87533d2c6d5c","origin_key":"python:perovskite_sim.reproducibility._read_local_git_blob","qualified_name":"perovskite_sim.reproducibility._read_local_git_blob","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-e670563090f70844","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/reproducibility.py","route_id":"route-ffde87533d2c6d5c","origin_key":"python:perovskite_sim.reproducibility._recover_base_blob_from_patch_target","qualified_name":"perovskite_sim.reproducibility._recover_base_blob_from_patch_target","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-bfbaf5c8f43d8ff3","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/reproducibility.py","route_id":"route-ffde87533d2c6d5c","origin_key":"python:perovskite_sim.reproducibility._validate_stack","qualified_name":"perovskite_sim.reproducibility._validate_stack","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-fc342ebed7e4ea73","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/reproducibility.py","route_id":"route-ffde87533d2c6d5c","origin_key":"python:perovskite_sim.reproducibility.detect_config_schema","qualified_name":"perovskite_sim.reproducibility.detect_config_schema","visibility":"public","evidence_level":"source_static"}, +{"id":"python-442f25d1dcfa72db","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/reproducibility.py","route_id":"route-ffde87533d2c6d5c","origin_key":"python:perovskite_sim.reproducibility.project_root","qualified_name":"perovskite_sim.reproducibility.project_root","visibility":"public","evidence_level":"source_static"}, +{"id":"python-6b14ba41bf8e91f6","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/reproducibility.py","route_id":"route-ffde87533d2c6d5c","origin_key":"python:perovskite_sim.reproducibility.semantic_sha256","qualified_name":"perovskite_sim.reproducibility.semantic_sha256","visibility":"public","evidence_level":"source_static"}, +{"id":"python-f90c37a2e7e56f11","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/reproducibility.py","route_id":"route-ffde87533d2c6d5c","origin_key":"python:perovskite_sim.reproducibility.sha256_file","qualified_name":"perovskite_sim.reproducibility.sha256_file","visibility":"public","evidence_level":"source_static"}, +{"id":"python-fe479b09cd5dc8c1","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/reproducibility.py","route_id":"route-ffde87533d2c6d5c","origin_key":"python:perovskite_sim.reproducibility.validate_matrix","qualified_name":"perovskite_sim.reproducibility.validate_matrix","visibility":"public","evidence_level":"source_static"}, +{"id":"python-317c6ab78552e1df","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/reproducibility.py","route_id":"route-ffde87533d2c6d5c","origin_key":"python:perovskite_sim.reproducibility.verify_baseline","qualified_name":"perovskite_sim.reproducibility.verify_baseline","visibility":"public","evidence_level":"source_static"}, +{"id":"python-cf13c40747c8cee8","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/scaps_compat/defects.py","route_id":"route-5eaec7d1ce392f48","origin_key":"python:perovskite_sim.scaps_compat.defects.interface_surface_velocity","qualified_name":"perovskite_sim.scaps_compat.defects.interface_surface_velocity","visibility":"public","evidence_level":"source_static"}, +{"id":"python-69aabca7cb416259","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/scaps_compat/defects.py","route_id":"route-5eaec7d1ce392f48","origin_key":"python:perovskite_sim.scaps_compat.defects.srh_lifetime","qualified_name":"perovskite_sim.scaps_compat.defects.srh_lifetime","visibility":"public","evidence_level":"source_static"}, +{"id":"python-ec193854a9007e13","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/scaps_compat/distributed_defects.py","route_id":"route-2cbeb7481b7e8b7a","origin_key":"python:perovskite_sim.scaps_compat.distributed_defects.ScapsDistributedDefectConversion","qualified_name":"perovskite_sim.scaps_compat.distributed_defects.ScapsDistributedDefectConversion","visibility":"public","evidence_level":"source_static"}, +{"id":"python-55ee764898efcee4","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/scaps_compat/distributed_defects.py","route_id":"route-2cbeb7481b7e8b7a","origin_key":"python:perovskite_sim.scaps_compat.distributed_defects.ScapsDistributedDefectConversion.__post_init__","qualified_name":"perovskite_sim.scaps_compat.distributed_defects.ScapsDistributedDefectConversion.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-3763041e8a51cd70","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/scaps_compat/distributed_defects.py","route_id":"route-2cbeb7481b7e8b7a","origin_key":"python:perovskite_sim.scaps_compat.distributed_defects.ScapsDistributedDefectConversion._unsigned_dict","qualified_name":"perovskite_sim.scaps_compat.distributed_defects.ScapsDistributedDefectConversion._unsigned_dict","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-a248f5b3845eb548","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/scaps_compat/distributed_defects.py","route_id":"route-2cbeb7481b7e8b7a","origin_key":"python:perovskite_sim.scaps_compat.distributed_defects.ScapsDistributedDefectConversion.to_dict","qualified_name":"perovskite_sim.scaps_compat.distributed_defects.ScapsDistributedDefectConversion.to_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-e6fc757b4c75cd7e","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/scaps_compat/distributed_defects.py","route_id":"route-2cbeb7481b7e8b7a","origin_key":"python:perovskite_sim.scaps_compat.distributed_defects._canonical_sha256","qualified_name":"perovskite_sim.scaps_compat.distributed_defects._canonical_sha256","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-c480fd909367fa1e","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/scaps_compat/distributed_defects.py","route_id":"route-2cbeb7481b7e8b7a","origin_key":"python:perovskite_sim.scaps_compat.distributed_defects._decimal_scale","qualified_name":"perovskite_sim.scaps_compat.distributed_defects._decimal_scale","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-99142c56a06cdcd3","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/scaps_compat/distributed_defects.py","route_id":"route-2cbeb7481b7e8b7a","origin_key":"python:perovskite_sim.scaps_compat.distributed_defects._finite","qualified_name":"perovskite_sim.scaps_compat.distributed_defects._finite","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-235f82ca34934d9f","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/scaps_compat/distributed_defects.py","route_id":"route-2cbeb7481b7e8b7a","origin_key":"python:perovskite_sim.scaps_compat.distributed_defects._finite_nonnegative","qualified_name":"perovskite_sim.scaps_compat.distributed_defects._finite_nonnegative","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-f5400b3eddc62409","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/scaps_compat/distributed_defects.py","route_id":"route-2cbeb7481b7e8b7a","origin_key":"python:perovskite_sim.scaps_compat.distributed_defects._finite_positive","qualified_name":"perovskite_sim.scaps_compat.distributed_defects._finite_positive","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-ee3c82015692a718","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/scaps_compat/distributed_defects.py","route_id":"route-2cbeb7481b7e8b7a","origin_key":"python:perovskite_sim.scaps_compat.distributed_defects.convert_scaps_distributed_bulk_defect","qualified_name":"perovskite_sim.scaps_compat.distributed_defects.convert_scaps_distributed_bulk_defect","visibility":"public","evidence_level":"source_static"}, +{"id":"python-76333719813d1694","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/scaps_compat/loader.py","route_id":"route-9204a3ecd16c559e","origin_key":"python:perovskite_sim.scaps_compat.loader._ParsedBulkDefect","qualified_name":"perovskite_sim.scaps_compat.loader._ParsedBulkDefect","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-c553ade020ccbd7c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/scaps_compat/loader.py","route_id":"route-9204a3ecd16c559e","origin_key":"python:perovskite_sim.scaps_compat.loader._check_keys","qualified_name":"perovskite_sim.scaps_compat.loader._check_keys","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-884150f00a45072c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/scaps_compat/loader.py","route_id":"route-9204a3ecd16c559e","origin_key":"python:perovskite_sim.scaps_compat.loader._check_keys_strict","qualified_name":"perovskite_sim.scaps_compat.loader._check_keys_strict","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-c4677ffc94d8db25","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/scaps_compat/loader.py","route_id":"route-9204a3ecd16c559e","origin_key":"python:perovskite_sim.scaps_compat.loader._combine_bulk_defects","qualified_name":"perovskite_sim.scaps_compat.loader._combine_bulk_defects","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-209ebd3574abb664","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/scaps_compat/loader.py","route_id":"route-9204a3ecd16c559e","origin_key":"python:perovskite_sim.scaps_compat.loader._layer_from_scaps_row","qualified_name":"perovskite_sim.scaps_compat.loader._layer_from_scaps_row","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-18680872b9c44ab5","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/scaps_compat/loader.py","route_id":"route-9204a3ecd16c559e","origin_key":"python:perovskite_sim.scaps_compat.loader._opt_S","qualified_name":"perovskite_sim.scaps_compat.loader._opt_S","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-d7bab15f910785ee","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/scaps_compat/loader.py","route_id":"route-9204a3ecd16c559e","origin_key":"python:perovskite_sim.scaps_compat.loader._parse_interfaces_block","qualified_name":"perovskite_sim.scaps_compat.loader._parse_interfaces_block","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-9956d600afc7cd7b","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/scaps_compat/loader.py","route_id":"route-9204a3ecd16c559e","origin_key":"python:perovskite_sim.scaps_compat.loader._parse_one_bulk_defect","qualified_name":"perovskite_sim.scaps_compat.loader._parse_one_bulk_defect","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-b88ea90b8835be81","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/scaps_compat/loader.py","route_id":"route-9204a3ecd16c559e","origin_key":"python:perovskite_sim.scaps_compat.loader._resolve_distribution","qualified_name":"perovskite_sim.scaps_compat.loader._resolve_distribution","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-fb9a2f65eb280149","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/scaps_compat/loader.py","route_id":"route-9204a3ecd16c559e","origin_key":"python:perovskite_sim.scaps_compat.loader._resolve_interface_index","qualified_name":"perovskite_sim.scaps_compat.loader._resolve_interface_index","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-bcf3f8c92bfaff67","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/scaps_compat/loader.py","route_id":"route-9204a3ecd16c559e","origin_key":"python:perovskite_sim.scaps_compat.loader._resolve_trap_depth","qualified_name":"perovskite_sim.scaps_compat.loader._resolve_trap_depth","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-68fa58fa4b85aef0","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/scaps_compat/loader.py","route_id":"route-9204a3ecd16c559e","origin_key":"python:perovskite_sim.scaps_compat.loader.load_scaps_yaml","qualified_name":"perovskite_sim.scaps_compat.loader.load_scaps_yaml","visibility":"public","evidence_level":"source_static"}, +{"id":"python-989b7c73d25c35d6","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/scaps_compat/materials.py","route_id":"route-74d80b701f095802","origin_key":"python:perovskite_sim.scaps_compat.materials.ni_from_dos","qualified_name":"perovskite_sim.scaps_compat.materials.ni_from_dos","visibility":"public","evidence_level":"source_static"}, +{"id":"python-ee0bf343bd971313","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/screening/evaluation_report.py","route_id":"route-5dbec4a76395b5fc","origin_key":"python:perovskite_sim.screening.evaluation_report.ReportQualityError","qualified_name":"perovskite_sim.screening.evaluation_report.ReportQualityError","visibility":"public","evidence_level":"source_static"}, +{"id":"python-c62c05bdab646634","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/screening/evaluation_report.py","route_id":"route-5dbec4a76395b5fc","origin_key":"python:perovskite_sim.screening.evaluation_report._config_absorber_layer","qualified_name":"perovskite_sim.screening.evaluation_report._config_absorber_layer","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-989e03df9deaf395","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/screening/evaluation_report.py","route_id":"route-5dbec4a76395b5fc","origin_key":"python:perovskite_sim.screening.evaluation_report._config_material_id","qualified_name":"perovskite_sim.screening.evaluation_report._config_material_id","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-8b9e3e5bdf923748","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/screening/evaluation_report.py","route_id":"route-5dbec4a76395b5fc","origin_key":"python:perovskite_sim.screening.evaluation_report._device_metrics_summary","qualified_name":"perovskite_sim.screening.evaluation_report._device_metrics_summary","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-e8c9e61ecdebc92a","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/screening/evaluation_report.py","route_id":"route-5dbec4a76395b5fc","origin_key":"python:perovskite_sim.screening.evaluation_report._dft_parameter_summary","qualified_name":"perovskite_sim.screening.evaluation_report._dft_parameter_summary","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-f19116a62f86098c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/screening/evaluation_report.py","route_id":"route-5dbec4a76395b5fc","origin_key":"python:perovskite_sim.screening.evaluation_report._diagnostic_settings","qualified_name":"perovskite_sim.screening.evaluation_report._diagnostic_settings","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-ab6677bfd60fb9c5","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/screening/evaluation_report.py","route_id":"route-5dbec4a76395b5fc","origin_key":"python:perovskite_sim.screening.evaluation_report._dict_get","qualified_name":"perovskite_sim.screening.evaluation_report._dict_get","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-3d2fb74b137fa636","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/screening/evaluation_report.py","route_id":"route-5dbec4a76395b5fc","origin_key":"python:perovskite_sim.screening.evaluation_report._first_record_id","qualified_name":"perovskite_sim.screening.evaluation_report._first_record_id","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-6f9d642dc5286c20","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/screening/evaluation_report.py","route_id":"route-5dbec4a76395b5fc","origin_key":"python:perovskite_sim.screening.evaluation_report._fmt_float","qualified_name":"perovskite_sim.screening.evaluation_report._fmt_float","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-eac5626158d45351","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/screening/evaluation_report.py","route_id":"route-5dbec4a76395b5fc","origin_key":"python:perovskite_sim.screening.evaluation_report._gate_status","qualified_name":"perovskite_sim.screening.evaluation_report._gate_status","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-c1bc604e8464db74","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/screening/evaluation_report.py","route_id":"route-5dbec4a76395b5fc","origin_key":"python:perovskite_sim.screening.evaluation_report._j_to_mA_cm2","qualified_name":"perovskite_sim.screening.evaluation_report._j_to_mA_cm2","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-f6805f4ac737dc29","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/screening/evaluation_report.py","route_id":"route-5dbec4a76395b5fc","origin_key":"python:perovskite_sim.screening.evaluation_report._json_number","qualified_name":"perovskite_sim.screening.evaluation_report._json_number","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-ebe280fd9799619c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/screening/evaluation_report.py","route_id":"route-5dbec4a76395b5fc","origin_key":"python:perovskite_sim.screening.evaluation_report._jsonable_dataclass","qualified_name":"perovskite_sim.screening.evaluation_report._jsonable_dataclass","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-b1000ca26f36ac9b","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/screening/evaluation_report.py","route_id":"route-5dbec4a76395b5fc","origin_key":"python:perovskite_sim.screening.evaluation_report._jv_metrics_dict","qualified_name":"perovskite_sim.screening.evaluation_report._jv_metrics_dict","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-8bae0de21e299260","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/screening/evaluation_report.py","route_id":"route-5dbec4a76395b5fc","origin_key":"python:perovskite_sim.screening.evaluation_report._load_json","qualified_name":"perovskite_sim.screening.evaluation_report._load_json","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-2429f766541f4194","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/screening/evaluation_report.py","route_id":"route-5dbec4a76395b5fc","origin_key":"python:perovskite_sim.screening.evaluation_report._load_yaml","qualified_name":"perovskite_sim.screening.evaluation_report._load_yaml","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-01cdb1f3e16f1223","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/screening/evaluation_report.py","route_id":"route-5dbec4a76395b5fc","origin_key":"python:perovskite_sim.screening.evaluation_report._optional_float","qualified_name":"perovskite_sim.screening.evaluation_report._optional_float","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-ff14a4461e259486","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/screening/evaluation_report.py","route_id":"route-5dbec4a76395b5fc","origin_key":"python:perovskite_sim.screening.evaluation_report._physics_quality_status","qualified_name":"perovskite_sim.screening.evaluation_report._physics_quality_status","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-fe61f0687b05ca1f","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/screening/evaluation_report.py","route_id":"route-5dbec4a76395b5fc","origin_key":"python:perovskite_sim.screening.evaluation_report._plot_degradation","qualified_name":"perovskite_sim.screening.evaluation_report._plot_degradation","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-c7f4d5bdce764538","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/screening/evaluation_report.py","route_id":"route-5dbec4a76395b5fc","origin_key":"python:perovskite_sim.screening.evaluation_report._plot_eqe","qualified_name":"perovskite_sim.screening.evaluation_report._plot_eqe","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-f6e61b45da5ad32c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/screening/evaluation_report.py","route_id":"route-5dbec4a76395b5fc","origin_key":"python:perovskite_sim.screening.evaluation_report._plot_error","qualified_name":"perovskite_sim.screening.evaluation_report._plot_error","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-e3114d09d724974c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/screening/evaluation_report.py","route_id":"route-5dbec4a76395b5fc","origin_key":"python:perovskite_sim.screening.evaluation_report._plot_jv","qualified_name":"perovskite_sim.screening.evaluation_report._plot_jv","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-2d9b9e78411db957","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/screening/evaluation_report.py","route_id":"route-5dbec4a76395b5fc","origin_key":"python:perovskite_sim.screening.evaluation_report._plot_pseudo_jv","qualified_name":"perovskite_sim.screening.evaluation_report._plot_pseudo_jv","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-0de79b7171a4804d","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/screening/evaluation_report.py","route_id":"route-5dbec4a76395b5fc","origin_key":"python:perovskite_sim.screening.evaluation_report._plot_screening_gates","qualified_name":"perovskite_sim.screening.evaluation_report._plot_screening_gates","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-6964e9107a92f9b0","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/screening/evaluation_report.py","route_id":"route-5dbec4a76395b5fc","origin_key":"python:perovskite_sim.screening.evaluation_report._plot_suns_voc","qualified_name":"perovskite_sim.screening.evaluation_report._plot_suns_voc","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-5fc476b3ad397a09","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/screening/evaluation_report.py","route_id":"route-5dbec4a76395b5fc","origin_key":"python:perovskite_sim.screening.evaluation_report._production_band_alignment_blocking_reasons","qualified_name":"perovskite_sim.screening.evaluation_report._production_band_alignment_blocking_reasons","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-3eec7a5f8b75a4b1","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/screening/evaluation_report.py","route_id":"route-5dbec4a76395b5fc","origin_key":"python:perovskite_sim.screening.evaluation_report._production_jv_blocking_reasons","qualified_name":"perovskite_sim.screening.evaluation_report._production_jv_blocking_reasons","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-41cd13da85ac1f95","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/screening/evaluation_report.py","route_id":"route-5dbec4a76395b5fc","origin_key":"python:perovskite_sim.screening.evaluation_report._production_optical_blocking_reasons","qualified_name":"perovskite_sim.screening.evaluation_report._production_optical_blocking_reasons","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-273bf2f3881ab51c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/screening/evaluation_report.py","route_id":"route-5dbec4a76395b5fc","origin_key":"python:perovskite_sim.screening.evaluation_report._production_settings","qualified_name":"perovskite_sim.screening.evaluation_report._production_settings","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-f69770ad565a2b7c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/screening/evaluation_report.py","route_id":"route-5dbec4a76395b5fc","origin_key":"python:perovskite_sim.screening.evaluation_report._profile_settings","qualified_name":"perovskite_sim.screening.evaluation_report._profile_settings","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-2ce5ee02770b7a01","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/screening/evaluation_report.py","route_id":"route-5dbec4a76395b5fc","origin_key":"python:perovskite_sim.screening.evaluation_report._record_figure_quality","qualified_name":"perovskite_sim.screening.evaluation_report._record_figure_quality","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-6e251d20dc1fe039","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/screening/evaluation_report.py","route_id":"route-5dbec4a76395b5fc","origin_key":"python:perovskite_sim.screening.evaluation_report._render_report_md","qualified_name":"perovskite_sim.screening.evaluation_report._render_report_md","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-860c2d4a1c02f2fa","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/screening/evaluation_report.py","route_id":"route-5dbec4a76395b5fc","origin_key":"python:perovskite_sim.screening.evaluation_report._resolve_profile","qualified_name":"perovskite_sim.screening.evaluation_report._resolve_profile","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-0ee37efba297b912","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/screening/evaluation_report.py","route_id":"route-5dbec4a76395b5fc","origin_key":"python:perovskite_sim.screening.evaluation_report._run_experiment","qualified_name":"perovskite_sim.screening.evaluation_report._run_experiment","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-f32e236da7bb3ec9","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/screening/evaluation_report.py","route_id":"route-5dbec4a76395b5fc","origin_key":"python:perovskite_sim.screening.evaluation_report._savefig","qualified_name":"perovskite_sim.screening.evaluation_report._savefig","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-e99aacb22ebd863c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/screening/evaluation_report.py","route_id":"route-5dbec4a76395b5fc","origin_key":"python:perovskite_sim.screening.evaluation_report._select_device_result","qualified_name":"perovskite_sim.screening.evaluation_report._select_device_result","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-11539e05ed2fc48e","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/screening/evaluation_report.py","route_id":"route-5dbec4a76395b5fc","origin_key":"python:perovskite_sim.screening.evaluation_report._select_material_record","qualified_name":"perovskite_sim.screening.evaluation_report._select_material_record","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-ff90653008c3ac1e","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/screening/evaluation_report.py","route_id":"route-5dbec4a76395b5fc","origin_key":"python:perovskite_sim.screening.evaluation_report._smoke_settings","qualified_name":"perovskite_sim.screening.evaluation_report._smoke_settings","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-73946d9e61de8198","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/screening/evaluation_report.py","route_id":"route-5dbec4a76395b5fc","origin_key":"python:perovskite_sim.screening.evaluation_report._validate_production_config","qualified_name":"perovskite_sim.screening.evaluation_report._validate_production_config","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-e670fec949a664e6","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/screening/evaluation_report.py","route_id":"route-5dbec4a76395b5fc","origin_key":"python:perovskite_sim.screening.evaluation_report._write_dft_summary_csv","qualified_name":"perovskite_sim.screening.evaluation_report._write_dft_summary_csv","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-c486cc8227438473","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/screening/evaluation_report.py","route_id":"route-5dbec4a76395b5fc","origin_key":"python:perovskite_sim.screening.evaluation_report.run_material_evaluation_report","qualified_name":"perovskite_sim.screening.evaluation_report.run_material_evaluation_report","visibility":"public","evidence_level":"source_static"}, +{"id":"python-cbdff2c39a6cde60","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/screening/solarscale.py","route_id":"route-654ffdaede509b77","origin_key":"python:perovskite_sim.screening.solarscale.CandidatePlan","qualified_name":"perovskite_sim.screening.solarscale.CandidatePlan","visibility":"public","evidence_level":"source_static"}, +{"id":"python-804724c500a3abe7","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/screening/solarscale.py","route_id":"route-654ffdaede509b77","origin_key":"python:perovskite_sim.screening.solarscale.MaterialProperty","qualified_name":"perovskite_sim.screening.solarscale.MaterialProperty","visibility":"public","evidence_level":"source_static"}, +{"id":"python-ce61edb5e70c7a71","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/screening/solarscale.py","route_id":"route-654ffdaede509b77","origin_key":"python:perovskite_sim.screening.solarscale.MaterialRecord","qualified_name":"perovskite_sim.screening.solarscale.MaterialRecord","visibility":"public","evidence_level":"source_static"}, +{"id":"python-a005ae474acc6147","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/screening/solarscale.py","route_id":"route-654ffdaede509b77","origin_key":"python:perovskite_sim.screening.solarscale.PropertyProvenance","qualified_name":"perovskite_sim.screening.solarscale.PropertyProvenance","visibility":"public","evidence_level":"source_static"}, +{"id":"python-e7fd2ae4a6412c39","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/screening/solarscale.py","route_id":"route-654ffdaede509b77","origin_key":"python:perovskite_sim.screening.solarscale._absorber_layer","qualified_name":"perovskite_sim.screening.solarscale._absorber_layer","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-a8534f880ad9f7d3","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/screening/solarscale.py","route_id":"route-654ffdaede509b77","origin_key":"python:perovskite_sim.screening.solarscale._apply_sweep_values","qualified_name":"perovskite_sim.screening.solarscale._apply_sweep_values","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-fd508cc96fa7a576","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/screening/solarscale.py","route_id":"route-654ffdaede509b77","origin_key":"python:perovskite_sim.screening.solarscale._build_config","qualified_name":"perovskite_sim.screening.solarscale._build_config","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-cc9871d5d2d721dd","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/screening/solarscale.py","route_id":"route-654ffdaede509b77","origin_key":"python:perovskite_sim.screening.solarscale._candidate_plan","qualified_name":"perovskite_sim.screening.solarscale._candidate_plan","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-47700cd53ec0255c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/screening/solarscale.py","route_id":"route-654ffdaede509b77","origin_key":"python:perovskite_sim.screening.solarscale._candidate_sort_key","qualified_name":"perovskite_sim.screening.solarscale._candidate_sort_key","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-f04a5b86d7bb0f32","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/screening/solarscale.py","route_id":"route-654ffdaede509b77","origin_key":"python:perovskite_sim.screening.solarscale._candidate_to_dict","qualified_name":"perovskite_sim.screening.solarscale._candidate_to_dict","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-2cea231e09532ed8","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/screening/solarscale.py","route_id":"route-654ffdaede509b77","origin_key":"python:perovskite_sim.screening.solarscale._coerce_numeric","qualified_name":"perovskite_sim.screening.solarscale._coerce_numeric","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-58617e33dfa533b5","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/screening/solarscale.py","route_id":"route-654ffdaede509b77","origin_key":"python:perovskite_sim.screening.solarscale._device_result_base","qualified_name":"perovskite_sim.screening.solarscale._device_result_base","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-e4592ae4e0c8b88f","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/screening/solarscale.py","route_id":"route-654ffdaede509b77","origin_key":"python:perovskite_sim.screening.solarscale._device_result_csv_row","qualified_name":"perovskite_sim.screening.solarscale._device_result_csv_row","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-ae80e0d1881e752e","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/screening/solarscale.py","route_id":"route-654ffdaede509b77","origin_key":"python:perovskite_sim.screening.solarscale._device_result_record","qualified_name":"perovskite_sim.screening.solarscale._device_result_record","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-696589927e9dbee0","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/screening/solarscale.py","route_id":"route-654ffdaede509b77","origin_key":"python:perovskite_sim.screening.solarscale._device_results_summary","qualified_name":"perovskite_sim.screening.solarscale._device_results_summary","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-4878f46351f9347d","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/screening/solarscale.py","route_id":"route-654ffdaede509b77","origin_key":"python:perovskite_sim.screening.solarscale._dict_get","qualified_name":"perovskite_sim.screening.solarscale._dict_get","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-5abd704c75efdb10","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/screening/solarscale.py","route_id":"route-654ffdaede509b77","origin_key":"python:perovskite_sim.screening.solarscale._failed_device_result_record","qualified_name":"perovskite_sim.screening.solarscale._failed_device_result_record","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-bb9b5b65dd8225c9","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/screening/solarscale.py","route_id":"route-654ffdaede509b77","origin_key":"python:perovskite_sim.screening.solarscale._gate_status","qualified_name":"perovskite_sim.screening.solarscale._gate_status","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-cf815c776d5d4262","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/screening/solarscale.py","route_id":"route-654ffdaede509b77","origin_key":"python:perovskite_sim.screening.solarscale._gate_summary","qualified_name":"perovskite_sim.screening.solarscale._gate_summary","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-feb8665bd61b4c27","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/screening/solarscale.py","route_id":"route-654ffdaede509b77","origin_key":"python:perovskite_sim.screening.solarscale._git_commit","qualified_name":"perovskite_sim.screening.solarscale._git_commit","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-8aa6e61fb55f779c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/screening/solarscale.py","route_id":"route-654ffdaede509b77","origin_key":"python:perovskite_sim.screening.solarscale._inverse_scaled","qualified_name":"perovskite_sim.screening.solarscale._inverse_scaled","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-f7e18081b479bb92","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/screening/solarscale.py","route_id":"route-654ffdaede509b77","origin_key":"python:perovskite_sim.screening.solarscale._is_device_ready","qualified_name":"perovskite_sim.screening.solarscale._is_device_ready","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-0f79966d768b201d","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/screening/solarscale.py","route_id":"route-654ffdaede509b77","origin_key":"python:perovskite_sim.screening.solarscale._iter_sweep_values","qualified_name":"perovskite_sim.screening.solarscale._iter_sweep_values","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-f3addde6e7a08daf","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/screening/solarscale.py","route_id":"route-654ffdaede509b77","origin_key":"python:perovskite_sim.screening.solarscale._legacy_dft_properties","qualified_name":"perovskite_sim.screening.solarscale._legacy_dft_properties","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-469cfe8a6c5de813","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/screening/solarscale.py","route_id":"route-654ffdaede509b77","origin_key":"python:perovskite_sim.screening.solarscale._legacy_md_properties","qualified_name":"perovskite_sim.screening.solarscale._legacy_md_properties","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-361c0cf4dea3b6bb","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/screening/solarscale.py","route_id":"route-654ffdaede509b77","origin_key":"python:perovskite_sim.screening.solarscale._load_yaml","qualified_name":"perovskite_sim.screening.solarscale._load_yaml","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-6739306aa3e363e6","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/screening/solarscale.py","route_id":"route-654ffdaede509b77","origin_key":"python:perovskite_sim.screening.solarscale._manifest_sweep_grid","qualified_name":"perovskite_sim.screening.solarscale._manifest_sweep_grid","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-f18120f516cd2cd2","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/screening/solarscale.py","route_id":"route-654ffdaede509b77","origin_key":"python:perovskite_sim.screening.solarscale._mapped_parameters","qualified_name":"perovskite_sim.screening.solarscale._mapped_parameters","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-37f1b22485ec567e","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/screening/solarscale.py","route_id":"route-654ffdaede509b77","origin_key":"python:perovskite_sim.screening.solarscale._material_metadata","qualified_name":"perovskite_sim.screening.solarscale._material_metadata","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-b13532265d94f943","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/screening/solarscale.py","route_id":"route-654ffdaede509b77","origin_key":"python:perovskite_sim.screening.solarscale._metric_value","qualified_name":"perovskite_sim.screening.solarscale._metric_value","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-e74b72ef61350969","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/screening/solarscale.py","route_id":"route-654ffdaede509b77","origin_key":"python:perovskite_sim.screening.solarscale._numeric_property","qualified_name":"perovskite_sim.screening.solarscale._numeric_property","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-8453af511ebb4137","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/screening/solarscale.py","route_id":"route-654ffdaede509b77","origin_key":"python:perovskite_sim.screening.solarscale._optional_float","qualified_name":"perovskite_sim.screening.solarscale._optional_float","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-15c6fc02699821a8","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/screening/solarscale.py","route_id":"route-654ffdaede509b77","origin_key":"python:perovskite_sim.screening.solarscale._parse_property","qualified_name":"perovskite_sim.screening.solarscale._parse_property","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-85cb9e01e0761607","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/screening/solarscale.py","route_id":"route-654ffdaede509b77","origin_key":"python:perovskite_sim.screening.solarscale._parse_record","qualified_name":"perovskite_sim.screening.solarscale._parse_record","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-9b90828b03c2a42e","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/screening/solarscale.py","route_id":"route-654ffdaede509b77","origin_key":"python:perovskite_sim.screening.solarscale._property_value","qualified_name":"perovskite_sim.screening.solarscale._property_value","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-b9a8672f6581e893","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/screening/solarscale.py","route_id":"route-654ffdaede509b77","origin_key":"python:perovskite_sim.screening.solarscale._ranking_score","qualified_name":"perovskite_sim.screening.solarscale._ranking_score","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-206d08faf623c33c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/screening/solarscale.py","route_id":"route-654ffdaede509b77","origin_key":"python:perovskite_sim.screening.solarscale._replace_candidate","qualified_name":"perovskite_sim.screening.solarscale._replace_candidate","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-0d7f121523f83407","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/screening/solarscale.py","route_id":"route-654ffdaede509b77","origin_key":"python:perovskite_sim.screening.solarscale._resolve_sweep_grid","qualified_name":"perovskite_sim.screening.solarscale._resolve_sweep_grid","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-9aedb4a84e7b2ea1","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/screening/solarscale.py","route_id":"route-654ffdaede509b77","origin_key":"python:perovskite_sim.screening.solarscale._safe_name","qualified_name":"perovskite_sim.screening.solarscale._safe_name","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-dba7f3d5f76bcb7c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/screening/solarscale.py","route_id":"route-654ffdaede509b77","origin_key":"python:perovskite_sim.screening.solarscale._screening_evidence","qualified_name":"perovskite_sim.screening.solarscale._screening_evidence","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-325918be8e882a52","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/screening/solarscale.py","route_id":"route-654ffdaede509b77","origin_key":"python:perovskite_sim.screening.solarscale._screening_summary","qualified_name":"perovskite_sim.screening.solarscale._screening_summary","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-bdd2433693187f9b","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/screening/solarscale.py","route_id":"route-654ffdaede509b77","origin_key":"python:perovskite_sim.screening.solarscale._sweep_dimension_names","qualified_name":"perovskite_sim.screening.solarscale._sweep_dimension_names","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-d666c8ea2bec7a2b","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/screening/solarscale.py","route_id":"route-654ffdaede509b77","origin_key":"python:perovskite_sim.screening.solarscale._sweep_dimensions","qualified_name":"perovskite_sim.screening.solarscale._sweep_dimensions","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-0e86781f83faa4a0","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/screening/solarscale.py","route_id":"route-654ffdaede509b77","origin_key":"python:perovskite_sim.screening.solarscale._sweep_parameters","qualified_name":"perovskite_sim.screening.solarscale._sweep_parameters","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-89064c39c8533b24","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/screening/solarscale.py","route_id":"route-654ffdaede509b77","origin_key":"python:perovskite_sim.screening.solarscale._template_assumptions","qualified_name":"perovskite_sim.screening.solarscale._template_assumptions","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-f64a90f9da6232b5","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/screening/solarscale.py","route_id":"route-654ffdaede509b77","origin_key":"python:perovskite_sim.screening.solarscale._text_property","qualified_name":"perovskite_sim.screening.solarscale._text_property","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-c2654927e5f0e005","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/screening/solarscale.py","route_id":"route-654ffdaede509b77","origin_key":"python:perovskite_sim.screening.solarscale._utc_timestamp","qualified_name":"perovskite_sim.screening.solarscale._utc_timestamp","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-bf99e787eebe51c2","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/screening/solarscale.py","route_id":"route-654ffdaede509b77","origin_key":"python:perovskite_sim.screening.solarscale._validate_band_aligned_template","qualified_name":"perovskite_sim.screening.solarscale._validate_band_aligned_template","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-d690ffadf7a765ef","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/screening/solarscale.py","route_id":"route-654ffdaede509b77","origin_key":"python:perovskite_sim.screening.solarscale._validate_sweep_grid","qualified_name":"perovskite_sim.screening.solarscale._validate_sweep_grid","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-f9f2288f7b75c25b","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/screening/solarscale.py","route_id":"route-654ffdaede509b77","origin_key":"python:perovskite_sim.screening.solarscale._write_yaml","qualified_name":"perovskite_sim.screening.solarscale._write_yaml","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-2f727aec64da8299","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/screening/solarscale.py","route_id":"route-654ffdaede509b77","origin_key":"python:perovskite_sim.screening.solarscale.expand_sweep_manifest","qualified_name":"perovskite_sim.screening.solarscale.expand_sweep_manifest","visibility":"public","evidence_level":"source_static"}, +{"id":"python-f71ed53ccc18924b","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/screening/solarscale.py","route_id":"route-654ffdaede509b77","origin_key":"python:perovskite_sim.screening.solarscale.generate_solarlab_inputs","qualified_name":"perovskite_sim.screening.solarscale.generate_solarlab_inputs","visibility":"public","evidence_level":"source_static"}, +{"id":"python-36b996d7fdb0f530","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/screening/solarscale.py","route_id":"route-654ffdaede509b77","origin_key":"python:perovskite_sim.screening.solarscale.load_material_records","qualified_name":"perovskite_sim.screening.solarscale.load_material_records","visibility":"public","evidence_level":"source_static"}, +{"id":"python-bfd010d010dfbd6d","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/screening/solarscale.py","route_id":"route-654ffdaede509b77","origin_key":"python:perovskite_sim.screening.solarscale.parse_material_records","qualified_name":"perovskite_sim.screening.solarscale.parse_material_records","visibility":"public","evidence_level":"source_static"}, +{"id":"python-4bc60558b4dbfb05","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/screening/solarscale.py","route_id":"route-654ffdaede509b77","origin_key":"python:perovskite_sim.screening.solarscale.plan_solarlab_import","qualified_name":"perovskite_sim.screening.solarscale.plan_solarlab_import","visibility":"public","evidence_level":"source_static"}, +{"id":"python-15e64ec4cc784f4f","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/screening/solarscale.py","route_id":"route-654ffdaede509b77","origin_key":"python:perovskite_sim.screening.solarscale.run_smoke_device_results","qualified_name":"perovskite_sim.screening.solarscale.run_smoke_device_results","visibility":"public","evidence_level":"source_static"}, +{"id":"python-fc474cea16bc6989","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/screening/solarscale.py","route_id":"route-654ffdaede509b77","origin_key":"python:perovskite_sim.screening.solarscale.run_smoke_jv","qualified_name":"perovskite_sim.screening.solarscale.run_smoke_jv","visibility":"public","evidence_level":"source_static"}, +{"id":"python-29382586b753d7ed","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/screening/solarscale.py","route_id":"route-654ffdaede509b77","origin_key":"python:perovskite_sim.screening.solarscale.write_device_results","qualified_name":"perovskite_sim.screening.solarscale.write_device_results","visibility":"public","evidence_level":"source_static"}, +{"id":"python-a42092664fd07824","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/solver/bulk_trap_equilibrium.py","route_id":"route-1129c9e5b90696a0","origin_key":"python:perovskite_sim.solver.bulk_trap_equilibrium.BulkTrapPNEquilibriumResult","qualified_name":"perovskite_sim.solver.bulk_trap_equilibrium.BulkTrapPNEquilibriumResult","visibility":"public","evidence_level":"source_static"}, +{"id":"python-ad58924b5fff60e5","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/solver/bulk_trap_equilibrium.py","route_id":"route-1129c9e5b90696a0","origin_key":"python:perovskite_sim.solver.bulk_trap_equilibrium._DensityState","qualified_name":"perovskite_sim.solver.bulk_trap_equilibrium._DensityState","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-92f8e6457ecf192d","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/bulk_trap_equilibrium.py","route_id":"route-1129c9e5b90696a0","origin_key":"python:perovskite_sim.solver.bulk_trap_equilibrium._DensityState.charge_density_C_m3","qualified_name":"perovskite_sim.solver.bulk_trap_equilibrium._DensityState.charge_density_C_m3","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-c99234ad7e2da697","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/bulk_trap_equilibrium.py","route_id":"route-1129c9e5b90696a0","origin_key":"python:perovskite_sim.solver.bulk_trap_equilibrium._DensityState.charge_derivative_potential_C_m3_V","qualified_name":"perovskite_sim.solver.bulk_trap_equilibrium._DensityState.charge_derivative_potential_C_m3_V","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-7f8667e14897aad1","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/bulk_trap_equilibrium.py","route_id":"route-1129c9e5b90696a0","origin_key":"python:perovskite_sim.solver.bulk_trap_equilibrium._density_state","qualified_name":"perovskite_sim.solver.bulk_trap_equilibrium._density_state","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-b5e334628377d234","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/bulk_trap_equilibrium.py","route_id":"route-1129c9e5b90696a0","origin_key":"python:perovskite_sim.solver.bulk_trap_equilibrium._normalized_poisson_residual","qualified_name":"perovskite_sim.solver.bulk_trap_equilibrium._normalized_poisson_residual","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-69a7b6e1c222a128","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/bulk_trap_equilibrium.py","route_id":"route-1129c9e5b90696a0","origin_key":"python:perovskite_sim.solver.bulk_trap_equilibrium._poisson_residual","qualified_name":"perovskite_sim.solver.bulk_trap_equilibrium._poisson_residual","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-c8eb949a5d2b3f9a","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/bulk_trap_equilibrium.py","route_id":"route-1129c9e5b90696a0","origin_key":"python:perovskite_sim.solver.bulk_trap_equilibrium._relative_face_current","qualified_name":"perovskite_sim.solver.bulk_trap_equilibrium._relative_face_current","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-38105a5c578b2833","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/bulk_trap_equilibrium.py","route_id":"route-1129c9e5b90696a0","origin_key":"python:perovskite_sim.solver.bulk_trap_equilibrium.solve_bulk_trap_pn_equilibrium","qualified_name":"perovskite_sim.solver.bulk_trap_equilibrium.solve_bulk_trap_pn_equilibrium","visibility":"public","evidence_level":"source_static"}, +{"id":"python-f8443501e25b0a28","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/solver/dae.py","route_id":"route-902dc4ac38f019c9","origin_key":"python:perovskite_sim.solver.dae.DAECapabilityError","qualified_name":"perovskite_sim.solver.dae.DAECapabilityError","visibility":"public","evidence_level":"source_static"}, +{"id":"python-d782ab5b628ccbdb","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/solver/dae.py","route_id":"route-902dc4ac38f019c9","origin_key":"python:perovskite_sim.solver.dae.DAEConsistentInitialCondition","qualified_name":"perovskite_sim.solver.dae.DAEConsistentInitialCondition","visibility":"public","evidence_level":"source_static"}, +{"id":"python-6e1d3b1a2795aca4","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/solver/dae.py","route_id":"route-902dc4ac38f019c9","origin_key":"python:perovskite_sim.solver.dae.DAEResidualReport","qualified_name":"perovskite_sim.solver.dae.DAEResidualReport","visibility":"public","evidence_level":"source_static"}, +{"id":"python-de3bba2d8d0768a2","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/solver/dae.py","route_id":"route-902dc4ac38f019c9","origin_key":"python:perovskite_sim.solver.dae.NoIonNoInterfaceDAE","qualified_name":"perovskite_sim.solver.dae.NoIonNoInterfaceDAE","visibility":"public","evidence_level":"source_static"}, +{"id":"python-62f2a6e1db41fa9e","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae.py","route_id":"route-902dc4ac38f019c9","origin_key":"python:perovskite_sim.solver.dae.NoIonNoInterfaceDAE.algebraic_state_jacobian","qualified_name":"perovskite_sim.solver.dae.NoIonNoInterfaceDAE.algebraic_state_jacobian","visibility":"public","evidence_level":"source_static"}, +{"id":"python-c20f117298dada85","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae.py","route_id":"route-902dc4ac38f019c9","origin_key":"python:perovskite_sim.solver.dae.NoIonNoInterfaceDAE.derivative_jacobian","qualified_name":"perovskite_sim.solver.dae.NoIonNoInterfaceDAE.derivative_jacobian","visibility":"public","evidence_level":"source_static"}, +{"id":"python-2b946b763535fca2","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae.py","route_id":"route-902dc4ac38f019c9","origin_key":"python:perovskite_sim.solver.dae.NoIonNoInterfaceDAE.derivative_jacobian_diagonal","qualified_name":"perovskite_sim.solver.dae.NoIonNoInterfaceDAE.derivative_jacobian_diagonal","visibility":"public","evidence_level":"source_static"}, +{"id":"python-5656feb4880b8b56","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae.py","route_id":"route-902dc4ac38f019c9","origin_key":"python:perovskite_sim.solver.dae.NoIonNoInterfaceDAE.packed_physical_state","qualified_name":"perovskite_sim.solver.dae.NoIonNoInterfaceDAE.packed_physical_state","visibility":"public","evidence_level":"source_static"}, +{"id":"python-808b921003f55ef3","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae.py","route_id":"route-902dc4ac38f019c9","origin_key":"python:perovskite_sim.solver.dae.NoIonNoInterfaceDAE.physical_fields","qualified_name":"perovskite_sim.solver.dae.NoIonNoInterfaceDAE.physical_fields","visibility":"public","evidence_level":"source_static"}, +{"id":"python-cbaed59ff357e330","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae.py","route_id":"route-902dc4ac38f019c9","origin_key":"python:perovskite_sim.solver.dae.NoIonNoInterfaceDAE.residual","qualified_name":"perovskite_sim.solver.dae.NoIonNoInterfaceDAE.residual","visibility":"public","evidence_level":"source_static"}, +{"id":"python-d916ab652a9a87f9","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae.py","route_id":"route-902dc4ac38f019c9","origin_key":"python:perovskite_sim.solver.dae.NoIonNoInterfaceDAE.residual_report","qualified_name":"perovskite_sim.solver.dae.NoIonNoInterfaceDAE.residual_report","visibility":"public","evidence_level":"source_static"}, +{"id":"python-9dc9e63db207d165","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/solver/dae.py","route_id":"route-902dc4ac38f019c9","origin_key":"python:perovskite_sim.solver.dae.SemiExplicitDAELayout","qualified_name":"perovskite_sim.solver.dae.SemiExplicitDAELayout","visibility":"public","evidence_level":"source_static"}, +{"id":"python-f2c88e953936f629","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae.py","route_id":"route-902dc4ac38f019c9","origin_key":"python:perovskite_sim.solver.dae.SemiExplicitDAELayout.electron_slice","qualified_name":"perovskite_sim.solver.dae.SemiExplicitDAELayout.electron_slice","visibility":"public","evidence_level":"source_static"}, +{"id":"python-c6ea717a706b4263","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae.py","route_id":"route-902dc4ac38f019c9","origin_key":"python:perovskite_sim.solver.dae.SemiExplicitDAELayout.hole_slice","qualified_name":"perovskite_sim.solver.dae.SemiExplicitDAELayout.hole_slice","visibility":"public","evidence_level":"source_static"}, +{"id":"python-422ea185cd14cb87","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae.py","route_id":"route-902dc4ac38f019c9","origin_key":"python:perovskite_sim.solver.dae.SemiExplicitDAELayout.potential_slice","qualified_name":"perovskite_sim.solver.dae.SemiExplicitDAELayout.potential_slice","visibility":"public","evidence_level":"source_static"}, +{"id":"python-a688e455fd7eeeb6","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae.py","route_id":"route-902dc4ac38f019c9","origin_key":"python:perovskite_sim.solver.dae.SemiExplicitDAELayout.size","qualified_name":"perovskite_sim.solver.dae.SemiExplicitDAELayout.size","visibility":"public","evidence_level":"source_static"}, +{"id":"python-fa8738adffab0c89","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae.py","route_id":"route-902dc4ac38f019c9","origin_key":"python:perovskite_sim.solver.dae._readonly_f64","qualified_name":"perovskite_sim.solver.dae._readonly_f64","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-def79dc8f52991b5","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae.py","route_id":"route-902dc4ac38f019c9","origin_key":"python:perovskite_sim.solver.dae._state_sha256","qualified_name":"perovskite_sim.solver.dae._state_sha256","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-6187bf4d0edadb34","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae.py","route_id":"route-902dc4ac38f019c9","origin_key":"python:perovskite_sim.solver.dae._validate_first_slice_capability","qualified_name":"perovskite_sim.solver.dae._validate_first_slice_capability","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-10a10ba937cbb97c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae.py","route_id":"route-902dc4ac38f019c9","origin_key":"python:perovskite_sim.solver.dae.build_consistent_initial_condition","qualified_name":"perovskite_sim.solver.dae.build_consistent_initial_condition","visibility":"public","evidence_level":"source_static"}, +{"id":"python-68c5ef0abc5daf02","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae.py","route_id":"route-902dc4ac38f019c9","origin_key":"python:perovskite_sim.solver.dae.build_no_ion_no_interface_dae","qualified_name":"perovskite_sim.solver.dae.build_no_ion_no_interface_dae","visibility":"public","evidence_level":"source_static"}, +{"id":"python-f9737981c0eac19b","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae.py","route_id":"route-902dc4ac38f019c9","origin_key":"python:perovskite_sim.solver.dae.finite_difference_derivative_jacobian","qualified_name":"perovskite_sim.solver.dae.finite_difference_derivative_jacobian","visibility":"public","evidence_level":"source_static"}, +{"id":"python-76e7edec31cabb66","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae.py","route_id":"route-902dc4ac38f019c9","origin_key":"python:perovskite_sim.solver.dae.finite_difference_state_jacobian","qualified_name":"perovskite_sim.solver.dae.finite_difference_state_jacobian","visibility":"public","evidence_level":"source_static"}, +{"id":"python-235ed8a45bf11fb4","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae.py","route_id":"route-902dc4ac38f019c9","origin_key":"python:perovskite_sim.solver.dae.project_algebraic_state","qualified_name":"perovskite_sim.solver.dae.project_algebraic_state","visibility":"public","evidence_level":"source_static"}, +{"id":"python-15f603072d1c6ef5","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/solver/dae_dual_ion_integrator.py","route_id":"route-fb0723324262c843","origin_key":"python:perovskite_sim.solver.dae_dual_ion_integrator.DualIonDAETimeStepReport","qualified_name":"perovskite_sim.solver.dae_dual_ion_integrator.DualIonDAETimeStepReport","visibility":"public","evidence_level":"source_static"}, +{"id":"python-e063349d267139a5","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/solver/dae_dual_ion_integrator.py","route_id":"route-fb0723324262c843","origin_key":"python:perovskite_sim.solver.dae_dual_ion_integrator.DualIonDAETransientResult","qualified_name":"perovskite_sim.solver.dae_dual_ion_integrator.DualIonDAETransientResult","visibility":"public","evidence_level":"source_static"}, +{"id":"python-837c97d14c1b3541","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_dual_ion_integrator.py","route_id":"route-fb0723324262c843","origin_key":"python:perovskite_sim.solver.dae_dual_ion_integrator._independent_logistic_density_difference_m3","qualified_name":"perovskite_sim.solver.dae_dual_ion_integrator._independent_logistic_density_difference_m3","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-4fe47f3a388db7d5","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_dual_ion_integrator.py","route_id":"route-fb0723324262c843","origin_key":"python:perovskite_sim.solver.dae_dual_ion_integrator._max_abs","qualified_name":"perovskite_sim.solver.dae_dual_ion_integrator._max_abs","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-80ee2991deaa9ba9","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_dual_ion_integrator.py","route_id":"route-fb0723324262c843","origin_key":"python:perovskite_sim.solver.dae_dual_ion_integrator._minimum_site_vacancy_fraction","qualified_name":"perovskite_sim.solver.dae_dual_ion_integrator._minimum_site_vacancy_fraction","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-b403b1b3c7a042f9","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_dual_ion_integrator.py","route_id":"route-fb0723324262c843","origin_key":"python:perovskite_sim.solver.dae_dual_ion_integrator._readonly_f64","qualified_name":"perovskite_sim.solver.dae_dual_ion_integrator._readonly_f64","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-a03d118bed910480","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_dual_ion_integrator.py","route_id":"route-fb0723324262c843","origin_key":"python:perovskite_sim.solver.dae_dual_ion_integrator._step_scale","qualified_name":"perovskite_sim.solver.dae_dual_ion_integrator._step_scale","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-0c8623f062a02ba2","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_dual_ion_integrator.py","route_id":"route-fb0723324262c843","origin_key":"python:perovskite_sim.solver.dae_dual_ion_integrator._trajectory_sha256","qualified_name":"perovskite_sim.solver.dae_dual_ion_integrator._trajectory_sha256","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-7952faeb474da9f8","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_dual_ion_integrator.py","route_id":"route-fb0723324262c843","origin_key":"python:perovskite_sim.solver.dae_dual_ion_integrator._validate_initial_condition","qualified_name":"perovskite_sim.solver.dae_dual_ion_integrator._validate_initial_condition","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-f26340816e8a7be2","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_dual_ion_integrator.py","route_id":"route-fb0723324262c843","origin_key":"python:perovskite_sim.solver.dae_dual_ion_integrator._validate_time_grid","qualified_name":"perovskite_sim.solver.dae_dual_ion_integrator._validate_time_grid","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-a9049be9cd6aeed4","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_dual_ion_integrator.py","route_id":"route-fb0723324262c843","origin_key":"python:perovskite_sim.solver.dae_dual_ion_integrator.dual_ion_backward_euler_derivative","qualified_name":"perovskite_sim.solver.dae_dual_ion_integrator.dual_ion_backward_euler_derivative","visibility":"public","evidence_level":"source_static"}, +{"id":"python-5c100bdffdb238f9","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_dual_ion_integrator.py","route_id":"route-fb0723324262c843","origin_key":"python:perovskite_sim.solver.dae_dual_ion_integrator.dual_ion_density_difference_m3","qualified_name":"perovskite_sim.solver.dae_dual_ion_integrator.dual_ion_density_difference_m3","visibility":"public","evidence_level":"source_static"}, +{"id":"python-9f2c3f8d698b5f09","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_dual_ion_integrator.py","route_id":"route-fb0723324262c843","origin_key":"python:perovskite_sim.solver.dae_dual_ion_integrator.finite_difference_dual_ion_backward_euler_jacobian","qualified_name":"perovskite_sim.solver.dae_dual_ion_integrator.finite_difference_dual_ion_backward_euler_jacobian","visibility":"public","evidence_level":"source_static"}, +{"id":"python-fc0424f7be811435","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_dual_ion_integrator.py","route_id":"route-fb0723324262c843","origin_key":"python:perovskite_sim.solver.dae_dual_ion_integrator.run_dual_ion_backward_euler_reference","qualified_name":"perovskite_sim.solver.dae_dual_ion_integrator.run_dual_ion_backward_euler_reference","visibility":"public","evidence_level":"source_static"}, +{"id":"python-4b886ce015e61ed1","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/solver/dae_dual_ion_jacobian.py","route_id":"route-9108e77d43729c39","origin_key":"python:perovskite_sim.solver.dae_dual_ion_jacobian.DualIonDAEStructuredJacobian","qualified_name":"perovskite_sim.solver.dae_dual_ion_jacobian.DualIonDAEStructuredJacobian","visibility":"public","evidence_level":"source_static"}, +{"id":"python-21c697e2aabb5643","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_dual_ion_jacobian.py","route_id":"route-9108e77d43729c39","origin_key":"python:perovskite_sim.solver.dae_dual_ion_jacobian._assemble_dual_ion_structured_jacobian","qualified_name":"perovskite_sim.solver.dae_dual_ion_jacobian._assemble_dual_ion_structured_jacobian","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-d49610a92c8eaf39","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_dual_ion_jacobian.py","route_id":"route-9108e77d43729c39","origin_key":"python:perovskite_sim.solver.dae_dual_ion_jacobian.build_dual_ion_structured_backward_euler_jacobian","qualified_name":"perovskite_sim.solver.dae_dual_ion_jacobian.build_dual_ion_structured_backward_euler_jacobian","visibility":"public","evidence_level":"source_static"}, +{"id":"python-7ea81bf226ddd8f5","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_dual_ion_jacobian.py","route_id":"route-9108e77d43729c39","origin_key":"python:perovskite_sim.solver.dae_dual_ion_jacobian.build_dual_ion_structured_state_jacobian","qualified_name":"perovskite_sim.solver.dae_dual_ion_jacobian.build_dual_ion_structured_state_jacobian","visibility":"public","evidence_level":"source_static"}, +{"id":"python-deb620a39f408ad8","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/solver/dae_dual_ions.py","route_id":"route-fb0723324262c843","origin_key":"python:perovskite_sim.solver.dae_dual_ions.DualIonDAE","qualified_name":"perovskite_sim.solver.dae_dual_ions.DualIonDAE","visibility":"public","evidence_level":"source_static"}, +{"id":"python-a03f8a7e621584cc","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_dual_ions.py","route_id":"route-fb0723324262c843","origin_key":"python:perovskite_sim.solver.dae_dual_ions.DualIonDAE._shared_site_fractions","qualified_name":"perovskite_sim.solver.dae_dual_ions.DualIonDAE._shared_site_fractions","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-b3fb79be26480813","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_dual_ions.py","route_id":"route-fb0723324262c843","origin_key":"python:perovskite_sim.solver.dae_dual_ions.DualIonDAE.algebraic_state_jacobian","qualified_name":"perovskite_sim.solver.dae_dual_ions.DualIonDAE.algebraic_state_jacobian","visibility":"public","evidence_level":"source_static"}, +{"id":"python-be5c640f91325105","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_dual_ions.py","route_id":"route-fb0723324262c843","origin_key":"python:perovskite_sim.solver.dae_dual_ions.DualIonDAE.compatible_derivative","qualified_name":"perovskite_sim.solver.dae_dual_ions.DualIonDAE.compatible_derivative","visibility":"public","evidence_level":"source_static"}, +{"id":"python-f74b4ccdd77d7313","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_dual_ions.py","route_id":"route-fb0723324262c843","origin_key":"python:perovskite_sim.solver.dae_dual_ions.DualIonDAE.derivative_jacobian","qualified_name":"perovskite_sim.solver.dae_dual_ions.DualIonDAE.derivative_jacobian","visibility":"public","evidence_level":"source_static"}, +{"id":"python-30d75c8793e8bb63","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_dual_ions.py","route_id":"route-fb0723324262c843","origin_key":"python:perovskite_sim.solver.dae_dual_ions.DualIonDAE.ion_coordinate_hessian_m3","qualified_name":"perovskite_sim.solver.dae_dual_ions.DualIonDAE.ion_coordinate_hessian_m3","visibility":"public","evidence_level":"source_static"}, +{"id":"python-5709dcdbb611b7e9","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_dual_ions.py","route_id":"route-fb0723324262c843","origin_key":"python:perovskite_sim.solver.dae_dual_ions.DualIonDAE.ion_coordinate_jacobian_m3","qualified_name":"perovskite_sim.solver.dae_dual_ions.DualIonDAE.ion_coordinate_jacobian_m3","visibility":"public","evidence_level":"source_static"}, +{"id":"python-2e5ed00410a8c95a","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_dual_ions.py","route_id":"route-fb0723324262c843","origin_key":"python:perovskite_sim.solver.dae_dual_ions.DualIonDAE.packed_physical_state","qualified_name":"perovskite_sim.solver.dae_dual_ions.DualIonDAE.packed_physical_state","visibility":"public","evidence_level":"source_static"}, +{"id":"python-29e39ba19aa86c78","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_dual_ions.py","route_id":"route-fb0723324262c843","origin_key":"python:perovskite_sim.solver.dae_dual_ions.DualIonDAE.physical_fields","qualified_name":"perovskite_sim.solver.dae_dual_ions.DualIonDAE.physical_fields","visibility":"public","evidence_level":"source_static"}, +{"id":"python-d8cf70528ea80f15","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_dual_ions.py","route_id":"route-fb0723324262c843","origin_key":"python:perovskite_sim.solver.dae_dual_ions.DualIonDAE.residual","qualified_name":"perovskite_sim.solver.dae_dual_ions.DualIonDAE.residual","visibility":"public","evidence_level":"source_static"}, +{"id":"python-21bdd3e94b3d8c42","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_dual_ions.py","route_id":"route-fb0723324262c843","origin_key":"python:perovskite_sim.solver.dae_dual_ions.DualIonDAE.residual_report","qualified_name":"perovskite_sim.solver.dae_dual_ions.DualIonDAE.residual_report","visibility":"public","evidence_level":"source_static"}, +{"id":"python-324871b12ffca4e0","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/solver/dae_dual_ions.py","route_id":"route-fb0723324262c843","origin_key":"python:perovskite_sim.solver.dae_dual_ions.DualIonDAEConsistentInitialCondition","qualified_name":"perovskite_sim.solver.dae_dual_ions.DualIonDAEConsistentInitialCondition","visibility":"public","evidence_level":"source_static"}, +{"id":"python-9ce6f963f1d2a174","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/solver/dae_dual_ions.py","route_id":"route-fb0723324262c843","origin_key":"python:perovskite_sim.solver.dae_dual_ions.DualIonDAELayout","qualified_name":"perovskite_sim.solver.dae_dual_ions.DualIonDAELayout","visibility":"public","evidence_level":"source_static"}, +{"id":"python-6b68d6c9ee971bcf","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_dual_ions.py","route_id":"route-fb0723324262c843","origin_key":"python:perovskite_sim.solver.dae_dual_ions.DualIonDAELayout.electron_slice","qualified_name":"perovskite_sim.solver.dae_dual_ions.DualIonDAELayout.electron_slice","visibility":"public","evidence_level":"source_static"}, +{"id":"python-0f443172cb7e2b1a","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_dual_ions.py","route_id":"route-fb0723324262c843","origin_key":"python:perovskite_sim.solver.dae_dual_ions.DualIonDAELayout.hole_slice","qualified_name":"perovskite_sim.solver.dae_dual_ions.DualIonDAELayout.hole_slice","visibility":"public","evidence_level":"source_static"}, +{"id":"python-c930c6f8f725aa33","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_dual_ions.py","route_id":"route-fb0723324262c843","origin_key":"python:perovskite_sim.solver.dae_dual_ions.DualIonDAELayout.negative_ion_slice","qualified_name":"perovskite_sim.solver.dae_dual_ions.DualIonDAELayout.negative_ion_slice","visibility":"public","evidence_level":"source_static"}, +{"id":"python-8753eca0ae926183","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_dual_ions.py","route_id":"route-fb0723324262c843","origin_key":"python:perovskite_sim.solver.dae_dual_ions.DualIonDAELayout.positive_ion_slice","qualified_name":"perovskite_sim.solver.dae_dual_ions.DualIonDAELayout.positive_ion_slice","visibility":"public","evidence_level":"source_static"}, +{"id":"python-e52ec307f51518af","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_dual_ions.py","route_id":"route-fb0723324262c843","origin_key":"python:perovskite_sim.solver.dae_dual_ions.DualIonDAELayout.potential_slice","qualified_name":"perovskite_sim.solver.dae_dual_ions.DualIonDAELayout.potential_slice","visibility":"public","evidence_level":"source_static"}, +{"id":"python-787a24e01cbfcb12","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_dual_ions.py","route_id":"route-fb0723324262c843","origin_key":"python:perovskite_sim.solver.dae_dual_ions.DualIonDAELayout.size","qualified_name":"perovskite_sim.solver.dae_dual_ions.DualIonDAELayout.size","visibility":"public","evidence_level":"source_static"}, +{"id":"python-b51500e30e865ef0","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/solver/dae_dual_ions.py","route_id":"route-fb0723324262c843","origin_key":"python:perovskite_sim.solver.dae_dual_ions.DualIonDAEResidualReport","qualified_name":"perovskite_sim.solver.dae_dual_ions.DualIonDAEResidualReport","visibility":"public","evidence_level":"source_static"}, +{"id":"python-d78948c0d51f256c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_dual_ions.py","route_id":"route-fb0723324262c843","origin_key":"python:perovskite_sim.solver.dae_dual_ions._readonly_f64","qualified_name":"perovskite_sim.solver.dae_dual_ions._readonly_f64","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-35a56f54abb371e7","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_dual_ions.py","route_id":"route-fb0723324262c843","origin_key":"python:perovskite_sim.solver.dae_dual_ions._shifted_logistic_density","qualified_name":"perovskite_sim.solver.dae_dual_ions._shifted_logistic_density","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-f291e3dff5d906c7","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_dual_ions.py","route_id":"route-fb0723324262c843","origin_key":"python:perovskite_sim.solver.dae_dual_ions._state_sha256","qualified_name":"perovskite_sim.solver.dae_dual_ions._state_sha256","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-0b7832be71cd07bb","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_dual_ions.py","route_id":"route-fb0723324262c843","origin_key":"python:perovskite_sim.solver.dae_dual_ions._validate_dual_ion_capability","qualified_name":"perovskite_sim.solver.dae_dual_ions._validate_dual_ion_capability","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-f337a61ef02df563","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_dual_ions.py","route_id":"route-fb0723324262c843","origin_key":"python:perovskite_sim.solver.dae_dual_ions.build_dual_ion_consistent_initial_condition","qualified_name":"perovskite_sim.solver.dae_dual_ions.build_dual_ion_consistent_initial_condition","visibility":"public","evidence_level":"source_static"}, +{"id":"python-522e82189e1ea73b","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_dual_ions.py","route_id":"route-fb0723324262c843","origin_key":"python:perovskite_sim.solver.dae_dual_ions.build_dual_ion_dae","qualified_name":"perovskite_sim.solver.dae_dual_ions.build_dual_ion_dae","visibility":"public","evidence_level":"source_static"}, +{"id":"python-366a5a8c19e0ba7b","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_dual_ions.py","route_id":"route-fb0723324262c843","origin_key":"python:perovskite_sim.solver.dae_dual_ions.finite_difference_dual_ion_derivative_jacobian","qualified_name":"perovskite_sim.solver.dae_dual_ions.finite_difference_dual_ion_derivative_jacobian","visibility":"public","evidence_level":"source_static"}, +{"id":"python-2132f6b5e5bb425c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_dual_ions.py","route_id":"route-fb0723324262c843","origin_key":"python:perovskite_sim.solver.dae_dual_ions.finite_difference_dual_ion_state_jacobian","qualified_name":"perovskite_sim.solver.dae_dual_ions.finite_difference_dual_ion_state_jacobian","visibility":"public","evidence_level":"source_static"}, +{"id":"python-fa29eba627a00c17","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_dual_ions.py","route_id":"route-fb0723324262c843","origin_key":"python:perovskite_sim.solver.dae_dual_ions.project_dual_ion_algebraic_state","qualified_name":"perovskite_sim.solver.dae_dual_ions.project_dual_ion_algebraic_state","visibility":"public","evidence_level":"source_static"}, +{"id":"python-0658f69d154d1306","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/solver/dae_integrator.py","route_id":"route-902dc4ac38f019c9","origin_key":"python:perovskite_sim.solver.dae_integrator.DAEIntegrationError","qualified_name":"perovskite_sim.solver.dae_integrator.DAEIntegrationError","visibility":"public","evidence_level":"source_static"}, +{"id":"python-90b0d47df1973b5c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_integrator.py","route_id":"route-902dc4ac38f019c9","origin_key":"python:perovskite_sim.solver.dae_integrator.DAEIntegrationError.__init__","qualified_name":"perovskite_sim.solver.dae_integrator.DAEIntegrationError.__init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-0be972933b317468","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/solver/dae_integrator.py","route_id":"route-902dc4ac38f019c9","origin_key":"python:perovskite_sim.solver.dae_integrator.DAETimeStepReport","qualified_name":"perovskite_sim.solver.dae_integrator.DAETimeStepReport","visibility":"public","evidence_level":"source_static"}, +{"id":"python-dc146d96febdf926","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/solver/dae_integrator.py","route_id":"route-902dc4ac38f019c9","origin_key":"python:perovskite_sim.solver.dae_integrator.DAETransientResult","qualified_name":"perovskite_sim.solver.dae_integrator.DAETransientResult","visibility":"public","evidence_level":"source_static"}, +{"id":"python-9a6e88cdc0a28a68","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_integrator.py","route_id":"route-902dc4ac38f019c9","origin_key":"python:perovskite_sim.solver.dae_integrator._backward_euler_derivative","qualified_name":"perovskite_sim.solver.dae_integrator._backward_euler_derivative","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-269bd577858e4034","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_integrator.py","route_id":"route-902dc4ac38f019c9","origin_key":"python:perovskite_sim.solver.dae_integrator._backward_euler_derivative_chain","qualified_name":"perovskite_sim.solver.dae_integrator._backward_euler_derivative_chain","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-f04ea12d450d3f84","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_integrator.py","route_id":"route-902dc4ac38f019c9","origin_key":"python:perovskite_sim.solver.dae_integrator._max_abs","qualified_name":"perovskite_sim.solver.dae_integrator._max_abs","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-18607df2bfc1fe17","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_integrator.py","route_id":"route-902dc4ac38f019c9","origin_key":"python:perovskite_sim.solver.dae_integrator._readonly_f64","qualified_name":"perovskite_sim.solver.dae_integrator._readonly_f64","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-3ae2066cf36f5790","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_integrator.py","route_id":"route-902dc4ac38f019c9","origin_key":"python:perovskite_sim.solver.dae_integrator._transient_sha256","qualified_name":"perovskite_sim.solver.dae_integrator._transient_sha256","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-973b43a5bc2ac553","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_integrator.py","route_id":"route-902dc4ac38f019c9","origin_key":"python:perovskite_sim.solver.dae_integrator._validate_initial_condition","qualified_name":"perovskite_sim.solver.dae_integrator._validate_initial_condition","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-da62fcdaf1603368","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_integrator.py","route_id":"route-902dc4ac38f019c9","origin_key":"python:perovskite_sim.solver.dae_integrator._validate_time_grid","qualified_name":"perovskite_sim.solver.dae_integrator._validate_time_grid","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-e636b094579fde29","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_integrator.py","route_id":"route-902dc4ac38f019c9","origin_key":"python:perovskite_sim.solver.dae_integrator.run_backward_euler_reference","qualified_name":"perovskite_sim.solver.dae_integrator.run_backward_euler_reference","visibility":"public","evidence_level":"source_static"}, +{"id":"python-3ae242313f7bd9a4","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/solver/dae_interface_integrator.py","route_id":"route-d19a044988a2dbd6","origin_key":"python:perovskite_sim.solver.dae_interface_integrator.AlgebraicInterfaceDAEIntegrationError","qualified_name":"perovskite_sim.solver.dae_interface_integrator.AlgebraicInterfaceDAEIntegrationError","visibility":"public","evidence_level":"source_static"}, +{"id":"python-0f57d7a3296b1cfc","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_interface_integrator.py","route_id":"route-d19a044988a2dbd6","origin_key":"python:perovskite_sim.solver.dae_interface_integrator.AlgebraicInterfaceDAEIntegrationError.__init__","qualified_name":"perovskite_sim.solver.dae_interface_integrator.AlgebraicInterfaceDAEIntegrationError.__init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-8d26d35e838ae3bf","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/solver/dae_interface_integrator.py","route_id":"route-d19a044988a2dbd6","origin_key":"python:perovskite_sim.solver.dae_interface_integrator.AlgebraicInterfaceDAETimeStepReport","qualified_name":"perovskite_sim.solver.dae_interface_integrator.AlgebraicInterfaceDAETimeStepReport","visibility":"public","evidence_level":"source_static"}, +{"id":"python-18537e6af327f380","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/solver/dae_interface_integrator.py","route_id":"route-d19a044988a2dbd6","origin_key":"python:perovskite_sim.solver.dae_interface_integrator.AlgebraicInterfaceDAETransientResult","qualified_name":"perovskite_sim.solver.dae_interface_integrator.AlgebraicInterfaceDAETransientResult","visibility":"public","evidence_level":"source_static"}, +{"id":"python-f5e73f74d27a628f","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_interface_integrator.py","route_id":"route-d19a044988a2dbd6","origin_key":"python:perovskite_sim.solver.dae_interface_integrator._backward_euler_derivative","qualified_name":"perovskite_sim.solver.dae_interface_integrator._backward_euler_derivative","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-905ae4f43de135a1","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_interface_integrator.py","route_id":"route-d19a044988a2dbd6","origin_key":"python:perovskite_sim.solver.dae_interface_integrator._backward_euler_derivative_chain","qualified_name":"perovskite_sim.solver.dae_interface_integrator._backward_euler_derivative_chain","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-f6e08b9d2ff0d011","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_interface_integrator.py","route_id":"route-d19a044988a2dbd6","origin_key":"python:perovskite_sim.solver.dae_interface_integrator._max_abs","qualified_name":"perovskite_sim.solver.dae_interface_integrator._max_abs","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-1bd11bd2701dddbf","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_interface_integrator.py","route_id":"route-d19a044988a2dbd6","origin_key":"python:perovskite_sim.solver.dae_interface_integrator._readonly_f64","qualified_name":"perovskite_sim.solver.dae_interface_integrator._readonly_f64","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-cdc2283799eb89ab","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_interface_integrator.py","route_id":"route-d19a044988a2dbd6","origin_key":"python:perovskite_sim.solver.dae_interface_integrator._trajectory_sha256","qualified_name":"perovskite_sim.solver.dae_interface_integrator._trajectory_sha256","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-a89d2c64428d520e","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_interface_integrator.py","route_id":"route-d19a044988a2dbd6","origin_key":"python:perovskite_sim.solver.dae_interface_integrator._validate_initial_condition","qualified_name":"perovskite_sim.solver.dae_interface_integrator._validate_initial_condition","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-1b50f049b03db09a","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_interface_integrator.py","route_id":"route-d19a044988a2dbd6","origin_key":"python:perovskite_sim.solver.dae_interface_integrator._validate_time_grid","qualified_name":"perovskite_sim.solver.dae_interface_integrator._validate_time_grid","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-53a65d41aabc9ef3","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_interface_integrator.py","route_id":"route-d19a044988a2dbd6","origin_key":"python:perovskite_sim.solver.dae_interface_integrator.run_algebraic_interface_backward_euler_reference","qualified_name":"perovskite_sim.solver.dae_interface_integrator.run_algebraic_interface_backward_euler_reference","visibility":"public","evidence_level":"source_static"}, +{"id":"python-7ae314af935a4824","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/solver/dae_interface_jacobian.py","route_id":"route-10298ac60ba2589c","origin_key":"python:perovskite_sim.solver.dae_interface_jacobian.AlgebraicInterfaceJacobianCapabilityError","qualified_name":"perovskite_sim.solver.dae_interface_jacobian.AlgebraicInterfaceJacobianCapabilityError","visibility":"public","evidence_level":"source_static"}, +{"id":"python-6c4a56e198b60e42","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/solver/dae_interface_jacobian.py","route_id":"route-10298ac60ba2589c","origin_key":"python:perovskite_sim.solver.dae_interface_jacobian.AlgebraicInterfaceLocalLinearization","qualified_name":"perovskite_sim.solver.dae_interface_jacobian.AlgebraicInterfaceLocalLinearization","visibility":"public","evidence_level":"source_static"}, +{"id":"python-c934b7ddddd08183","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/solver/dae_interface_jacobian.py","route_id":"route-10298ac60ba2589c","origin_key":"python:perovskite_sim.solver.dae_interface_jacobian.AlgebraicInterfaceStructuredJacobian","qualified_name":"perovskite_sim.solver.dae_interface_jacobian.AlgebraicInterfaceStructuredJacobian","visibility":"public","evidence_level":"source_static"}, +{"id":"python-e137c813ee6999ab","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_interface_jacobian.py","route_id":"route-10298ac60ba2589c","origin_key":"python:perovskite_sim.solver.dae_interface_jacobian._assemble_algebraic_interface_structured_jacobian","qualified_name":"perovskite_sim.solver.dae_interface_jacobian._assemble_algebraic_interface_structured_jacobian","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-5a0e83e42c488606","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_interface_jacobian.py","route_id":"route-10298ac60ba2589c","origin_key":"python:perovskite_sim.solver.dae_interface_jacobian._barrier_occupation","qualified_name":"perovskite_sim.solver.dae_interface_jacobian._barrier_occupation","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-2ac37400051b37a1","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_interface_jacobian.py","route_id":"route-10298ac60ba2589c","origin_key":"python:perovskite_sim.solver.dae_interface_jacobian._fermi_projection","qualified_name":"perovskite_sim.solver.dae_interface_jacobian._fermi_projection","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-cf2ec260e0413d11","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_interface_jacobian.py","route_id":"route-10298ac60ba2589c","origin_key":"python:perovskite_sim.solver.dae_interface_jacobian._interface_srh_linearization","qualified_name":"perovskite_sim.solver.dae_interface_jacobian._interface_srh_linearization","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-fe4f306240fd0930","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_interface_jacobian.py","route_id":"route-10298ac60ba2589c","origin_key":"python:perovskite_sim.solver.dae_interface_jacobian._readonly","qualified_name":"perovskite_sim.solver.dae_interface_jacobian._readonly","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-8bd7af884018a1b7","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_interface_jacobian.py","route_id":"route-10298ac60ba2589c","origin_key":"python:perovskite_sim.solver.dae_interface_jacobian.build_algebraic_interface_structured_backward_euler_jacobian","qualified_name":"perovskite_sim.solver.dae_interface_jacobian.build_algebraic_interface_structured_backward_euler_jacobian","visibility":"public","evidence_level":"source_static"}, +{"id":"python-e2526d106ae948e2","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_interface_jacobian.py","route_id":"route-10298ac60ba2589c","origin_key":"python:perovskite_sim.solver.dae_interface_jacobian.build_algebraic_interface_structured_state_jacobian","qualified_name":"perovskite_sim.solver.dae_interface_jacobian.build_algebraic_interface_structured_state_jacobian","visibility":"public","evidence_level":"source_static"}, +{"id":"python-3572a5f88549284c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_interface_jacobian.py","route_id":"route-10298ac60ba2589c","origin_key":"python:perovskite_sim.solver.dae_interface_jacobian.linearize_algebraic_interface_response","qualified_name":"perovskite_sim.solver.dae_interface_jacobian.linearize_algebraic_interface_response","visibility":"public","evidence_level":"source_static"}, +{"id":"python-2bcf7951a35b7a0d","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/solver/dae_interface_states.py","route_id":"route-d19a044988a2dbd6","origin_key":"python:perovskite_sim.solver.dae_interface_states.AlgebraicInterfaceDAEConsistentInitialCondition","qualified_name":"perovskite_sim.solver.dae_interface_states.AlgebraicInterfaceDAEConsistentInitialCondition","visibility":"public","evidence_level":"source_static"}, +{"id":"python-e648e6438fe863d2","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/solver/dae_interface_states.py","route_id":"route-d19a044988a2dbd6","origin_key":"python:perovskite_sim.solver.dae_interface_states.AlgebraicInterfaceDAELayout","qualified_name":"perovskite_sim.solver.dae_interface_states.AlgebraicInterfaceDAELayout","visibility":"public","evidence_level":"source_static"}, +{"id":"python-f42ed6f4a8b42955","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_interface_states.py","route_id":"route-d19a044988a2dbd6","origin_key":"python:perovskite_sim.solver.dae_interface_states.AlgebraicInterfaceDAELayout.electron_slice","qualified_name":"perovskite_sim.solver.dae_interface_states.AlgebraicInterfaceDAELayout.electron_slice","visibility":"public","evidence_level":"source_static"}, +{"id":"python-756d5065d11a03e7","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_interface_states.py","route_id":"route-d19a044988a2dbd6","origin_key":"python:perovskite_sim.solver.dae_interface_states.AlgebraicInterfaceDAELayout.hole_slice","qualified_name":"perovskite_sim.solver.dae_interface_states.AlgebraicInterfaceDAELayout.hole_slice","visibility":"public","evidence_level":"source_static"}, +{"id":"python-9dd7cf3a367ac30d","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_interface_states.py","route_id":"route-d19a044988a2dbd6","origin_key":"python:perovskite_sim.solver.dae_interface_states.AlgebraicInterfaceDAELayout.interface_slice","qualified_name":"perovskite_sim.solver.dae_interface_states.AlgebraicInterfaceDAELayout.interface_slice","visibility":"public","evidence_level":"source_static"}, +{"id":"python-1d3a693615edf719","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_interface_states.py","route_id":"route-d19a044988a2dbd6","origin_key":"python:perovskite_sim.solver.dae_interface_states.AlgebraicInterfaceDAELayout.interface_state_count","qualified_name":"perovskite_sim.solver.dae_interface_states.AlgebraicInterfaceDAELayout.interface_state_count","visibility":"public","evidence_level":"source_static"}, +{"id":"python-87c6b686ab151141","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_interface_states.py","route_id":"route-d19a044988a2dbd6","origin_key":"python:perovskite_sim.solver.dae_interface_states.AlgebraicInterfaceDAELayout.potential_slice","qualified_name":"perovskite_sim.solver.dae_interface_states.AlgebraicInterfaceDAELayout.potential_slice","visibility":"public","evidence_level":"source_static"}, +{"id":"python-6df9a45b5e4d4ada","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_interface_states.py","route_id":"route-d19a044988a2dbd6","origin_key":"python:perovskite_sim.solver.dae_interface_states.AlgebraicInterfaceDAELayout.size","qualified_name":"perovskite_sim.solver.dae_interface_states.AlgebraicInterfaceDAELayout.size","visibility":"public","evidence_level":"source_static"}, +{"id":"python-2be7c9cd2d147efd","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/solver/dae_interface_states.py","route_id":"route-d19a044988a2dbd6","origin_key":"python:perovskite_sim.solver.dae_interface_states.AlgebraicInterfaceDAEResidualReport","qualified_name":"perovskite_sim.solver.dae_interface_states.AlgebraicInterfaceDAEResidualReport","visibility":"public","evidence_level":"source_static"}, +{"id":"python-ad130ae8a54aebdd","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/solver/dae_interface_states.py","route_id":"route-d19a044988a2dbd6","origin_key":"python:perovskite_sim.solver.dae_interface_states.AlgebraicInterfaceStateDAE","qualified_name":"perovskite_sim.solver.dae_interface_states.AlgebraicInterfaceStateDAE","visibility":"public","evidence_level":"source_static"}, +{"id":"python-dc00d704d8684a8c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_interface_states.py","route_id":"route-d19a044988a2dbd6","origin_key":"python:perovskite_sim.solver.dae_interface_states.AlgebraicInterfaceStateDAE.boundary_poisson_state_jacobian","qualified_name":"perovskite_sim.solver.dae_interface_states.AlgebraicInterfaceStateDAE.boundary_poisson_state_jacobian","visibility":"public","evidence_level":"source_static"}, +{"id":"python-10f9171c98648efe","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_interface_states.py","route_id":"route-d19a044988a2dbd6","origin_key":"python:perovskite_sim.solver.dae_interface_states.AlgebraicInterfaceStateDAE.derivative_jacobian","qualified_name":"perovskite_sim.solver.dae_interface_states.AlgebraicInterfaceStateDAE.derivative_jacobian","visibility":"public","evidence_level":"source_static"}, +{"id":"python-b973098b2bf59259","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_interface_states.py","route_id":"route-d19a044988a2dbd6","origin_key":"python:perovskite_sim.solver.dae_interface_states.AlgebraicInterfaceStateDAE.interface_coordinate_jacobian_m3","qualified_name":"perovskite_sim.solver.dae_interface_states.AlgebraicInterfaceStateDAE.interface_coordinate_jacobian_m3","visibility":"public","evidence_level":"source_static"}, +{"id":"python-4cfe5fa4110e1d13","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_interface_states.py","route_id":"route-d19a044988a2dbd6","origin_key":"python:perovskite_sim.solver.dae_interface_states.AlgebraicInterfaceStateDAE.interface_coordinates_from_state","qualified_name":"perovskite_sim.solver.dae_interface_states.AlgebraicInterfaceStateDAE.interface_coordinates_from_state","visibility":"public","evidence_level":"source_static"}, +{"id":"python-1c35764a6a59b516","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_interface_states.py","route_id":"route-d19a044988a2dbd6","origin_key":"python:perovskite_sim.solver.dae_interface_states.AlgebraicInterfaceStateDAE.interface_response","qualified_name":"perovskite_sim.solver.dae_interface_states.AlgebraicInterfaceStateDAE.interface_response","visibility":"public","evidence_level":"source_static"}, +{"id":"python-b8275bdb38696c9a","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_interface_states.py","route_id":"route-d19a044988a2dbd6","origin_key":"python:perovskite_sim.solver.dae_interface_states.AlgebraicInterfaceStateDAE.packed_physical_state","qualified_name":"perovskite_sim.solver.dae_interface_states.AlgebraicInterfaceStateDAE.packed_physical_state","visibility":"public","evidence_level":"source_static"}, +{"id":"python-4526221ef68c8ea1","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_interface_states.py","route_id":"route-d19a044988a2dbd6","origin_key":"python:perovskite_sim.solver.dae_interface_states.AlgebraicInterfaceStateDAE.physical_fields","qualified_name":"perovskite_sim.solver.dae_interface_states.AlgebraicInterfaceStateDAE.physical_fields","visibility":"public","evidence_level":"source_static"}, +{"id":"python-074763b96d575995","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_interface_states.py","route_id":"route-d19a044988a2dbd6","origin_key":"python:perovskite_sim.solver.dae_interface_states.AlgebraicInterfaceStateDAE.residual","qualified_name":"perovskite_sim.solver.dae_interface_states.AlgebraicInterfaceStateDAE.residual","visibility":"public","evidence_level":"source_static"}, +{"id":"python-f45a10e1b9bc217f","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_interface_states.py","route_id":"route-d19a044988a2dbd6","origin_key":"python:perovskite_sim.solver.dae_interface_states.AlgebraicInterfaceStateDAE.residual_report","qualified_name":"perovskite_sim.solver.dae_interface_states.AlgebraicInterfaceStateDAE.residual_report","visibility":"public","evidence_level":"source_static"}, +{"id":"python-e13130a7fdadce84","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_interface_states.py","route_id":"route-d19a044988a2dbd6","origin_key":"python:perovskite_sim.solver.dae_interface_states._interface_capacity","qualified_name":"perovskite_sim.solver.dae_interface_states._interface_capacity","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-0e0d639d1577256d","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_interface_states.py","route_id":"route-d19a044988a2dbd6","origin_key":"python:perovskite_sim.solver.dae_interface_states._readonly_f64","qualified_name":"perovskite_sim.solver.dae_interface_states._readonly_f64","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-dcedfc50270589d6","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_interface_states.py","route_id":"route-d19a044988a2dbd6","origin_key":"python:perovskite_sim.solver.dae_interface_states._shifted_logistic_density","qualified_name":"perovskite_sim.solver.dae_interface_states._shifted_logistic_density","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-89550a82bd72d8c2","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_interface_states.py","route_id":"route-d19a044988a2dbd6","origin_key":"python:perovskite_sim.solver.dae_interface_states._state_sha256","qualified_name":"perovskite_sim.solver.dae_interface_states._state_sha256","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-d6a8a398f3d625bc","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_interface_states.py","route_id":"route-d19a044988a2dbd6","origin_key":"python:perovskite_sim.solver.dae_interface_states._validate_interface_capability","qualified_name":"perovskite_sim.solver.dae_interface_states._validate_interface_capability","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-5f1bdb0a666abf80","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_interface_states.py","route_id":"route-d19a044988a2dbd6","origin_key":"python:perovskite_sim.solver.dae_interface_states.build_algebraic_interface_consistent_initial_condition","qualified_name":"perovskite_sim.solver.dae_interface_states.build_algebraic_interface_consistent_initial_condition","visibility":"public","evidence_level":"source_static"}, +{"id":"python-6abbe601aded1dcc","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_interface_states.py","route_id":"route-d19a044988a2dbd6","origin_key":"python:perovskite_sim.solver.dae_interface_states.build_algebraic_interface_state_dae","qualified_name":"perovskite_sim.solver.dae_interface_states.build_algebraic_interface_state_dae","visibility":"public","evidence_level":"source_static"}, +{"id":"python-c7c9031ac1ce8b4e","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_interface_states.py","route_id":"route-d19a044988a2dbd6","origin_key":"python:perovskite_sim.solver.dae_interface_states.compatible_derivative","qualified_name":"perovskite_sim.solver.dae_interface_states.compatible_derivative","visibility":"public","evidence_level":"source_static"}, +{"id":"python-c367991613e9d13e","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_interface_states.py","route_id":"route-d19a044988a2dbd6","origin_key":"python:perovskite_sim.solver.dae_interface_states.finite_difference_derivative_jacobian","qualified_name":"perovskite_sim.solver.dae_interface_states.finite_difference_derivative_jacobian","visibility":"public","evidence_level":"source_static"}, +{"id":"python-12b791e977992e86","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_interface_states.py","route_id":"route-d19a044988a2dbd6","origin_key":"python:perovskite_sim.solver.dae_interface_states.finite_difference_state_jacobian","qualified_name":"perovskite_sim.solver.dae_interface_states.finite_difference_state_jacobian","visibility":"public","evidence_level":"source_static"}, +{"id":"python-39bdbc862fa60d69","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_interface_states.py","route_id":"route-d19a044988a2dbd6","origin_key":"python:perovskite_sim.solver.dae_interface_states.prepare_algebraic_interface_material","qualified_name":"perovskite_sim.solver.dae_interface_states.prepare_algebraic_interface_material","visibility":"public","evidence_level":"source_static"}, +{"id":"python-c6ed058dc67e76af","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_interface_states.py","route_id":"route-d19a044988a2dbd6","origin_key":"python:perovskite_sim.solver.dae_interface_states.project_algebraic_interface_state","qualified_name":"perovskite_sim.solver.dae_interface_states.project_algebraic_interface_state","visibility":"public","evidence_level":"source_static"}, +{"id":"python-c9af8230f6970468","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/solver/dae_ion_integrator.py","route_id":"route-fb0723324262c843","origin_key":"python:perovskite_sim.solver.dae_ion_integrator.SingleIonDAETimeStepReport","qualified_name":"perovskite_sim.solver.dae_ion_integrator.SingleIonDAETimeStepReport","visibility":"public","evidence_level":"source_static"}, +{"id":"python-1638e89e8db19d8e","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/solver/dae_ion_integrator.py","route_id":"route-fb0723324262c843","origin_key":"python:perovskite_sim.solver.dae_ion_integrator.SingleIonDAETransientResult","qualified_name":"perovskite_sim.solver.dae_ion_integrator.SingleIonDAETransientResult","visibility":"public","evidence_level":"source_static"}, +{"id":"python-d7de3ffb7c6f0228","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_ion_integrator.py","route_id":"route-fb0723324262c843","origin_key":"python:perovskite_sim.solver.dae_ion_integrator._max_abs","qualified_name":"perovskite_sim.solver.dae_ion_integrator._max_abs","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-ae814fd240f6f96c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_ion_integrator.py","route_id":"route-fb0723324262c843","origin_key":"python:perovskite_sim.solver.dae_ion_integrator._positive_ion_density_difference_m3","qualified_name":"perovskite_sim.solver.dae_ion_integrator._positive_ion_density_difference_m3","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-6c0cc758f95d335e","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_ion_integrator.py","route_id":"route-fb0723324262c843","origin_key":"python:perovskite_sim.solver.dae_ion_integrator._readonly_f64","qualified_name":"perovskite_sim.solver.dae_ion_integrator._readonly_f64","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-d7a27964c46f2a76","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_ion_integrator.py","route_id":"route-fb0723324262c843","origin_key":"python:perovskite_sim.solver.dae_ion_integrator._step_scale","qualified_name":"perovskite_sim.solver.dae_ion_integrator._step_scale","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-505778d234607bad","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_ion_integrator.py","route_id":"route-fb0723324262c843","origin_key":"python:perovskite_sim.solver.dae_ion_integrator._trajectory_sha256","qualified_name":"perovskite_sim.solver.dae_ion_integrator._trajectory_sha256","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-bd4f4d661a3d7d0f","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_ion_integrator.py","route_id":"route-fb0723324262c843","origin_key":"python:perovskite_sim.solver.dae_ion_integrator._validate_initial_condition","qualified_name":"perovskite_sim.solver.dae_ion_integrator._validate_initial_condition","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-ac9554c162a62546","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_ion_integrator.py","route_id":"route-fb0723324262c843","origin_key":"python:perovskite_sim.solver.dae_ion_integrator._validate_time_grid","qualified_name":"perovskite_sim.solver.dae_ion_integrator._validate_time_grid","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-41bb70b846d2bc43","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_ion_integrator.py","route_id":"route-fb0723324262c843","origin_key":"python:perovskite_sim.solver.dae_ion_integrator.finite_difference_single_ion_backward_euler_jacobian","qualified_name":"perovskite_sim.solver.dae_ion_integrator.finite_difference_single_ion_backward_euler_jacobian","visibility":"public","evidence_level":"source_static"}, +{"id":"python-47dfbaae038e34f8","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_ion_integrator.py","route_id":"route-fb0723324262c843","origin_key":"python:perovskite_sim.solver.dae_ion_integrator.run_single_ion_backward_euler_reference","qualified_name":"perovskite_sim.solver.dae_ion_integrator.run_single_ion_backward_euler_reference","visibility":"public","evidence_level":"source_static"}, +{"id":"python-6b3f395feff068e0","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_ion_integrator.py","route_id":"route-fb0723324262c843","origin_key":"python:perovskite_sim.solver.dae_ion_integrator.single_ion_backward_euler_derivative","qualified_name":"perovskite_sim.solver.dae_ion_integrator.single_ion_backward_euler_derivative","visibility":"public","evidence_level":"source_static"}, +{"id":"python-4a369ab95d2802b3","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_ion_integrator.py","route_id":"route-fb0723324262c843","origin_key":"python:perovskite_sim.solver.dae_ion_integrator.single_ion_backward_euler_derivative_chain","qualified_name":"perovskite_sim.solver.dae_ion_integrator.single_ion_backward_euler_derivative_chain","visibility":"public","evidence_level":"source_static"}, +{"id":"python-ad190d1abd7a1cc2","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/solver/dae_ion_interface_integrator.py","route_id":"route-5ae54ca672a8ba3c","origin_key":"python:perovskite_sim.solver.dae_ion_interface_integrator.IonInterfaceDAEIntegrationError","qualified_name":"perovskite_sim.solver.dae_ion_interface_integrator.IonInterfaceDAEIntegrationError","visibility":"public","evidence_level":"source_static"}, +{"id":"python-d81ef481b7840c4c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_ion_interface_integrator.py","route_id":"route-5ae54ca672a8ba3c","origin_key":"python:perovskite_sim.solver.dae_ion_interface_integrator.IonInterfaceDAEIntegrationError.__init__","qualified_name":"perovskite_sim.solver.dae_ion_interface_integrator.IonInterfaceDAEIntegrationError.__init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-a758ad92a97204a9","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/solver/dae_ion_interface_integrator.py","route_id":"route-5ae54ca672a8ba3c","origin_key":"python:perovskite_sim.solver.dae_ion_interface_integrator.IonInterfaceDAETimeStepReport","qualified_name":"perovskite_sim.solver.dae_ion_interface_integrator.IonInterfaceDAETimeStepReport","visibility":"public","evidence_level":"source_static"}, +{"id":"python-95932c14b5356ef4","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/solver/dae_ion_interface_integrator.py","route_id":"route-5ae54ca672a8ba3c","origin_key":"python:perovskite_sim.solver.dae_ion_interface_integrator.IonInterfaceDAETransientResult","qualified_name":"perovskite_sim.solver.dae_ion_interface_integrator.IonInterfaceDAETransientResult","visibility":"public","evidence_level":"source_static"}, +{"id":"python-0793b41b103be099","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_ion_interface_integrator.py","route_id":"route-5ae54ca672a8ba3c","origin_key":"python:perovskite_sim.solver.dae_ion_interface_integrator._max_abs","qualified_name":"perovskite_sim.solver.dae_ion_interface_integrator._max_abs","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-2e38c5cd18b509d6","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_ion_interface_integrator.py","route_id":"route-5ae54ca672a8ba3c","origin_key":"python:perovskite_sim.solver.dae_ion_interface_integrator._positive_ion_density_difference_m3","qualified_name":"perovskite_sim.solver.dae_ion_interface_integrator._positive_ion_density_difference_m3","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-11ae390498ec1a68","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_ion_interface_integrator.py","route_id":"route-5ae54ca672a8ba3c","origin_key":"python:perovskite_sim.solver.dae_ion_interface_integrator._readonly_f64","qualified_name":"perovskite_sim.solver.dae_ion_interface_integrator._readonly_f64","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-53ac084994ccb1c3","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_ion_interface_integrator.py","route_id":"route-5ae54ca672a8ba3c","origin_key":"python:perovskite_sim.solver.dae_ion_interface_integrator._step_scale","qualified_name":"perovskite_sim.solver.dae_ion_interface_integrator._step_scale","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-8691c03823af22bc","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_ion_interface_integrator.py","route_id":"route-5ae54ca672a8ba3c","origin_key":"python:perovskite_sim.solver.dae_ion_interface_integrator._trajectory_sha256","qualified_name":"perovskite_sim.solver.dae_ion_interface_integrator._trajectory_sha256","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-9705d11b42a32210","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_ion_interface_integrator.py","route_id":"route-5ae54ca672a8ba3c","origin_key":"python:perovskite_sim.solver.dae_ion_interface_integrator._validate_initial_condition","qualified_name":"perovskite_sim.solver.dae_ion_interface_integrator._validate_initial_condition","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-654443a2d64e826d","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_ion_interface_integrator.py","route_id":"route-5ae54ca672a8ba3c","origin_key":"python:perovskite_sim.solver.dae_ion_interface_integrator._validate_time_grid","qualified_name":"perovskite_sim.solver.dae_ion_interface_integrator._validate_time_grid","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-edc80f3e7ed866f7","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_ion_interface_integrator.py","route_id":"route-5ae54ca672a8ba3c","origin_key":"python:perovskite_sim.solver.dae_ion_interface_integrator.finite_difference_ion_interface_backward_euler_jacobian","qualified_name":"perovskite_sim.solver.dae_ion_interface_integrator.finite_difference_ion_interface_backward_euler_jacobian","visibility":"public","evidence_level":"source_static"}, +{"id":"python-a0b9f246930ce0d7","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_ion_interface_integrator.py","route_id":"route-5ae54ca672a8ba3c","origin_key":"python:perovskite_sim.solver.dae_ion_interface_integrator.ion_interface_backward_euler_derivative","qualified_name":"perovskite_sim.solver.dae_ion_interface_integrator.ion_interface_backward_euler_derivative","visibility":"public","evidence_level":"source_static"}, +{"id":"python-69c2da8411cf23e1","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_ion_interface_integrator.py","route_id":"route-5ae54ca672a8ba3c","origin_key":"python:perovskite_sim.solver.dae_ion_interface_integrator.ion_interface_backward_euler_derivative_chain","qualified_name":"perovskite_sim.solver.dae_ion_interface_integrator.ion_interface_backward_euler_derivative_chain","visibility":"public","evidence_level":"source_static"}, +{"id":"python-555595f2b7744b00","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_ion_interface_integrator.py","route_id":"route-5ae54ca672a8ba3c","origin_key":"python:perovskite_sim.solver.dae_ion_interface_integrator.run_ion_interface_backward_euler_reference","qualified_name":"perovskite_sim.solver.dae_ion_interface_integrator.run_ion_interface_backward_euler_reference","visibility":"public","evidence_level":"source_static"}, +{"id":"python-796a15db96a4a58b","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/solver/dae_ion_interface_jacobian.py","route_id":"route-bfba9a9733e990b2","origin_key":"python:perovskite_sim.solver.dae_ion_interface_jacobian.IonInterfaceJacobianCapabilityError","qualified_name":"perovskite_sim.solver.dae_ion_interface_jacobian.IonInterfaceJacobianCapabilityError","visibility":"public","evidence_level":"source_static"}, +{"id":"python-08a09dc43101811e","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/solver/dae_ion_interface_jacobian.py","route_id":"route-bfba9a9733e990b2","origin_key":"python:perovskite_sim.solver.dae_ion_interface_jacobian.IonInterfaceStructuredJacobian","qualified_name":"perovskite_sim.solver.dae_ion_interface_jacobian.IonInterfaceStructuredJacobian","visibility":"public","evidence_level":"source_static"}, +{"id":"python-0052d5b46076efb9","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_ion_interface_jacobian.py","route_id":"route-bfba9a9733e990b2","origin_key":"python:perovskite_sim.solver.dae_ion_interface_jacobian._assemble_ion_interface_structured_jacobian","qualified_name":"perovskite_sim.solver.dae_ion_interface_jacobian._assemble_ion_interface_structured_jacobian","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-0bdb7cabbe7b6066","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_ion_interface_jacobian.py","route_id":"route-bfba9a9733e990b2","origin_key":"python:perovskite_sim.solver.dae_ion_interface_jacobian._interface_view","qualified_name":"perovskite_sim.solver.dae_ion_interface_jacobian._interface_view","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-82b5b0058ae350db","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_ion_interface_jacobian.py","route_id":"route-bfba9a9733e990b2","origin_key":"python:perovskite_sim.solver.dae_ion_interface_jacobian._ion_face_columns","qualified_name":"perovskite_sim.solver.dae_ion_interface_jacobian._ion_face_columns","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-024290bf07cda311","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_ion_interface_jacobian.py","route_id":"route-bfba9a9733e990b2","origin_key":"python:perovskite_sim.solver.dae_ion_interface_jacobian._readonly","qualified_name":"perovskite_sim.solver.dae_ion_interface_jacobian._readonly","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-a4404fb9998cf423","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_ion_interface_jacobian.py","route_id":"route-bfba9a9733e990b2","origin_key":"python:perovskite_sim.solver.dae_ion_interface_jacobian.build_ion_interface_structured_backward_euler_jacobian","qualified_name":"perovskite_sim.solver.dae_ion_interface_jacobian.build_ion_interface_structured_backward_euler_jacobian","visibility":"public","evidence_level":"source_static"}, +{"id":"python-3dcf9bf232fffb4e","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_ion_interface_jacobian.py","route_id":"route-bfba9a9733e990b2","origin_key":"python:perovskite_sim.solver.dae_ion_interface_jacobian.build_ion_interface_structured_state_jacobian","qualified_name":"perovskite_sim.solver.dae_ion_interface_jacobian.build_ion_interface_structured_state_jacobian","visibility":"public","evidence_level":"source_static"}, +{"id":"python-158a67de0f92e6f0","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/solver/dae_ion_interface_states.py","route_id":"route-5ae54ca672a8ba3c","origin_key":"python:perovskite_sim.solver.dae_ion_interface_states.IonInterfaceDAEConsistentInitialCondition","qualified_name":"perovskite_sim.solver.dae_ion_interface_states.IonInterfaceDAEConsistentInitialCondition","visibility":"public","evidence_level":"source_static"}, +{"id":"python-07ee8224d617b93c","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/solver/dae_ion_interface_states.py","route_id":"route-5ae54ca672a8ba3c","origin_key":"python:perovskite_sim.solver.dae_ion_interface_states.IonInterfaceDAELayout","qualified_name":"perovskite_sim.solver.dae_ion_interface_states.IonInterfaceDAELayout","visibility":"public","evidence_level":"source_static"}, +{"id":"python-24c65454220a84e7","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_ion_interface_states.py","route_id":"route-5ae54ca672a8ba3c","origin_key":"python:perovskite_sim.solver.dae_ion_interface_states.IonInterfaceDAELayout.electron_slice","qualified_name":"perovskite_sim.solver.dae_ion_interface_states.IonInterfaceDAELayout.electron_slice","visibility":"public","evidence_level":"source_static"}, +{"id":"python-9b3beefb8b5c2480","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_ion_interface_states.py","route_id":"route-5ae54ca672a8ba3c","origin_key":"python:perovskite_sim.solver.dae_ion_interface_states.IonInterfaceDAELayout.hole_slice","qualified_name":"perovskite_sim.solver.dae_ion_interface_states.IonInterfaceDAELayout.hole_slice","visibility":"public","evidence_level":"source_static"}, +{"id":"python-a089943cad86d32d","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_ion_interface_states.py","route_id":"route-5ae54ca672a8ba3c","origin_key":"python:perovskite_sim.solver.dae_ion_interface_states.IonInterfaceDAELayout.interface_slice","qualified_name":"perovskite_sim.solver.dae_ion_interface_states.IonInterfaceDAELayout.interface_slice","visibility":"public","evidence_level":"source_static"}, +{"id":"python-7194a2b3cac55dc1","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_ion_interface_states.py","route_id":"route-5ae54ca672a8ba3c","origin_key":"python:perovskite_sim.solver.dae_ion_interface_states.IonInterfaceDAELayout.interface_state_count","qualified_name":"perovskite_sim.solver.dae_ion_interface_states.IonInterfaceDAELayout.interface_state_count","visibility":"public","evidence_level":"source_static"}, +{"id":"python-5eafeec3d8e5da8f","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_ion_interface_states.py","route_id":"route-5ae54ca672a8ba3c","origin_key":"python:perovskite_sim.solver.dae_ion_interface_states.IonInterfaceDAELayout.positive_ion_slice","qualified_name":"perovskite_sim.solver.dae_ion_interface_states.IonInterfaceDAELayout.positive_ion_slice","visibility":"public","evidence_level":"source_static"}, +{"id":"python-3b6f720b84778103","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_ion_interface_states.py","route_id":"route-5ae54ca672a8ba3c","origin_key":"python:perovskite_sim.solver.dae_ion_interface_states.IonInterfaceDAELayout.potential_slice","qualified_name":"perovskite_sim.solver.dae_ion_interface_states.IonInterfaceDAELayout.potential_slice","visibility":"public","evidence_level":"source_static"}, +{"id":"python-88d1ad06ac2ab527","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_ion_interface_states.py","route_id":"route-5ae54ca672a8ba3c","origin_key":"python:perovskite_sim.solver.dae_ion_interface_states.IonInterfaceDAELayout.size","qualified_name":"perovskite_sim.solver.dae_ion_interface_states.IonInterfaceDAELayout.size","visibility":"public","evidence_level":"source_static"}, +{"id":"python-3788930510d62189","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/solver/dae_ion_interface_states.py","route_id":"route-5ae54ca672a8ba3c","origin_key":"python:perovskite_sim.solver.dae_ion_interface_states.IonInterfaceDAEResidualReport","qualified_name":"perovskite_sim.solver.dae_ion_interface_states.IonInterfaceDAEResidualReport","visibility":"public","evidence_level":"source_static"}, +{"id":"python-5e4e345c26f32d44","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/solver/dae_ion_interface_states.py","route_id":"route-5ae54ca672a8ba3c","origin_key":"python:perovskite_sim.solver.dae_ion_interface_states.SingleIonAlgebraicInterfaceDAE","qualified_name":"perovskite_sim.solver.dae_ion_interface_states.SingleIonAlgebraicInterfaceDAE","visibility":"public","evidence_level":"source_static"}, +{"id":"python-e9c53a51bd6bd9b7","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_ion_interface_states.py","route_id":"route-5ae54ca672a8ba3c","origin_key":"python:perovskite_sim.solver.dae_ion_interface_states.SingleIonAlgebraicInterfaceDAE.boundary_poisson_state_jacobian","qualified_name":"perovskite_sim.solver.dae_ion_interface_states.SingleIonAlgebraicInterfaceDAE.boundary_poisson_state_jacobian","visibility":"public","evidence_level":"source_static"}, +{"id":"python-9974fcf51cfd5ec5","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_ion_interface_states.py","route_id":"route-5ae54ca672a8ba3c","origin_key":"python:perovskite_sim.solver.dae_ion_interface_states.SingleIonAlgebraicInterfaceDAE.compatible_derivative","qualified_name":"perovskite_sim.solver.dae_ion_interface_states.SingleIonAlgebraicInterfaceDAE.compatible_derivative","visibility":"public","evidence_level":"source_static"}, +{"id":"python-173a4438e3ec1729","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_ion_interface_states.py","route_id":"route-5ae54ca672a8ba3c","origin_key":"python:perovskite_sim.solver.dae_ion_interface_states.SingleIonAlgebraicInterfaceDAE.derivative_jacobian","qualified_name":"perovskite_sim.solver.dae_ion_interface_states.SingleIonAlgebraicInterfaceDAE.derivative_jacobian","visibility":"public","evidence_level":"source_static"}, +{"id":"python-c413581db1864b41","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_ion_interface_states.py","route_id":"route-5ae54ca672a8ba3c","origin_key":"python:perovskite_sim.solver.dae_ion_interface_states.SingleIonAlgebraicInterfaceDAE.derivative_jacobian_diagonal","qualified_name":"perovskite_sim.solver.dae_ion_interface_states.SingleIonAlgebraicInterfaceDAE.derivative_jacobian_diagonal","visibility":"public","evidence_level":"source_static"}, +{"id":"python-abdc8534346ebbcb","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_ion_interface_states.py","route_id":"route-5ae54ca672a8ba3c","origin_key":"python:perovskite_sim.solver.dae_ion_interface_states.SingleIonAlgebraicInterfaceDAE.interface_coordinate_jacobian_m3","qualified_name":"perovskite_sim.solver.dae_ion_interface_states.SingleIonAlgebraicInterfaceDAE.interface_coordinate_jacobian_m3","visibility":"public","evidence_level":"source_static"}, +{"id":"python-6e75f9ca301e3f73","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_ion_interface_states.py","route_id":"route-5ae54ca672a8ba3c","origin_key":"python:perovskite_sim.solver.dae_ion_interface_states.SingleIonAlgebraicInterfaceDAE.interface_coordinates_from_state","qualified_name":"perovskite_sim.solver.dae_ion_interface_states.SingleIonAlgebraicInterfaceDAE.interface_coordinates_from_state","visibility":"public","evidence_level":"source_static"}, +{"id":"python-7150e7539b944b5a","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_ion_interface_states.py","route_id":"route-5ae54ca672a8ba3c","origin_key":"python:perovskite_sim.solver.dae_ion_interface_states.SingleIonAlgebraicInterfaceDAE.interface_response","qualified_name":"perovskite_sim.solver.dae_ion_interface_states.SingleIonAlgebraicInterfaceDAE.interface_response","visibility":"public","evidence_level":"source_static"}, +{"id":"python-3dc37dc603bf037e","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_ion_interface_states.py","route_id":"route-5ae54ca672a8ba3c","origin_key":"python:perovskite_sim.solver.dae_ion_interface_states.SingleIonAlgebraicInterfaceDAE.packed_physical_state","qualified_name":"perovskite_sim.solver.dae_ion_interface_states.SingleIonAlgebraicInterfaceDAE.packed_physical_state","visibility":"public","evidence_level":"source_static"}, +{"id":"python-1f1537df62259465","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_ion_interface_states.py","route_id":"route-5ae54ca672a8ba3c","origin_key":"python:perovskite_sim.solver.dae_ion_interface_states.SingleIonAlgebraicInterfaceDAE.physical_fields","qualified_name":"perovskite_sim.solver.dae_ion_interface_states.SingleIonAlgebraicInterfaceDAE.physical_fields","visibility":"public","evidence_level":"source_static"}, +{"id":"python-bd0e3d74e4288b59","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_ion_interface_states.py","route_id":"route-5ae54ca672a8ba3c","origin_key":"python:perovskite_sim.solver.dae_ion_interface_states.SingleIonAlgebraicInterfaceDAE.positive_ion_coordinate_derivative_m3","qualified_name":"perovskite_sim.solver.dae_ion_interface_states.SingleIonAlgebraicInterfaceDAE.positive_ion_coordinate_derivative_m3","visibility":"public","evidence_level":"source_static"}, +{"id":"python-355c02a2fee1d81c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_ion_interface_states.py","route_id":"route-5ae54ca672a8ba3c","origin_key":"python:perovskite_sim.solver.dae_ion_interface_states.SingleIonAlgebraicInterfaceDAE.residual","qualified_name":"perovskite_sim.solver.dae_ion_interface_states.SingleIonAlgebraicInterfaceDAE.residual","visibility":"public","evidence_level":"source_static"}, +{"id":"python-828bc8c712957e90","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_ion_interface_states.py","route_id":"route-5ae54ca672a8ba3c","origin_key":"python:perovskite_sim.solver.dae_ion_interface_states.SingleIonAlgebraicInterfaceDAE.residual_report","qualified_name":"perovskite_sim.solver.dae_ion_interface_states.SingleIonAlgebraicInterfaceDAE.residual_report","visibility":"public","evidence_level":"source_static"}, +{"id":"python-8561e9a87786719a","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_ion_interface_states.py","route_id":"route-5ae54ca672a8ba3c","origin_key":"python:perovskite_sim.solver.dae_ion_interface_states._bounded_density","qualified_name":"perovskite_sim.solver.dae_ion_interface_states._bounded_density","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-793a90f949393da5","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_ion_interface_states.py","route_id":"route-5ae54ca672a8ba3c","origin_key":"python:perovskite_sim.solver.dae_ion_interface_states._interface_capacity_m3","qualified_name":"perovskite_sim.solver.dae_ion_interface_states._interface_capacity_m3","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-aa743ca90d4e83c8","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_ion_interface_states.py","route_id":"route-5ae54ca672a8ba3c","origin_key":"python:perovskite_sim.solver.dae_ion_interface_states._logit_coordinates","qualified_name":"perovskite_sim.solver.dae_ion_interface_states._logit_coordinates","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-1ffcb1035bdd7039","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_ion_interface_states.py","route_id":"route-5ae54ca672a8ba3c","origin_key":"python:perovskite_sim.solver.dae_ion_interface_states._readonly_f64","qualified_name":"perovskite_sim.solver.dae_ion_interface_states._readonly_f64","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-1fcea8dad208fd1a","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_ion_interface_states.py","route_id":"route-5ae54ca672a8ba3c","origin_key":"python:perovskite_sim.solver.dae_ion_interface_states._state_sha256","qualified_name":"perovskite_sim.solver.dae_ion_interface_states._state_sha256","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-de770cea75484324","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_ion_interface_states.py","route_id":"route-5ae54ca672a8ba3c","origin_key":"python:perovskite_sim.solver.dae_ion_interface_states._validate_capability","qualified_name":"perovskite_sim.solver.dae_ion_interface_states._validate_capability","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-b465cdec7eb3adb8","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_ion_interface_states.py","route_id":"route-5ae54ca672a8ba3c","origin_key":"python:perovskite_sim.solver.dae_ion_interface_states.build_single_ion_algebraic_interface_consistent_initial_condition","qualified_name":"perovskite_sim.solver.dae_ion_interface_states.build_single_ion_algebraic_interface_consistent_initial_condition","visibility":"public","evidence_level":"source_static"}, +{"id":"python-62d1bbfe603bdef0","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_ion_interface_states.py","route_id":"route-5ae54ca672a8ba3c","origin_key":"python:perovskite_sim.solver.dae_ion_interface_states.build_single_ion_algebraic_interface_dae","qualified_name":"perovskite_sim.solver.dae_ion_interface_states.build_single_ion_algebraic_interface_dae","visibility":"public","evidence_level":"source_static"}, +{"id":"python-470c03f3351cfc1c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_ion_interface_states.py","route_id":"route-5ae54ca672a8ba3c","origin_key":"python:perovskite_sim.solver.dae_ion_interface_states.compatible_derivative","qualified_name":"perovskite_sim.solver.dae_ion_interface_states.compatible_derivative","visibility":"public","evidence_level":"source_static"}, +{"id":"python-4fad0016685ca13c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_ion_interface_states.py","route_id":"route-5ae54ca672a8ba3c","origin_key":"python:perovskite_sim.solver.dae_ion_interface_states.finite_difference_derivative_jacobian","qualified_name":"perovskite_sim.solver.dae_ion_interface_states.finite_difference_derivative_jacobian","visibility":"public","evidence_level":"source_static"}, +{"id":"python-63ae29b066090978","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_ion_interface_states.py","route_id":"route-5ae54ca672a8ba3c","origin_key":"python:perovskite_sim.solver.dae_ion_interface_states.finite_difference_state_jacobian","qualified_name":"perovskite_sim.solver.dae_ion_interface_states.finite_difference_state_jacobian","visibility":"public","evidence_level":"source_static"}, +{"id":"python-89a81973b3942c6e","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_ion_interface_states.py","route_id":"route-5ae54ca672a8ba3c","origin_key":"python:perovskite_sim.solver.dae_ion_interface_states.project_single_ion_algebraic_interface_state","qualified_name":"perovskite_sim.solver.dae_ion_interface_states.project_single_ion_algebraic_interface_state","visibility":"public","evidence_level":"source_static"}, +{"id":"python-a9a1c0359214b638","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/solver/dae_ion_jacobian.py","route_id":"route-9108e77d43729c39","origin_key":"python:perovskite_sim.solver.dae_ion_jacobian.SingleIonDAEStructuredStateJacobian","qualified_name":"perovskite_sim.solver.dae_ion_jacobian.SingleIonDAEStructuredStateJacobian","visibility":"public","evidence_level":"source_static"}, +{"id":"python-272c59f08a00bf97","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_ion_jacobian.py","route_id":"route-9108e77d43729c39","origin_key":"python:perovskite_sim.solver.dae_ion_jacobian.build_single_ion_structured_state_jacobian","qualified_name":"perovskite_sim.solver.dae_ion_jacobian.build_single_ion_structured_state_jacobian","visibility":"public","evidence_level":"source_static"}, +{"id":"python-9f7f1c5edf6fd4dd","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/solver/dae_ions.py","route_id":"route-fb0723324262c843","origin_key":"python:perovskite_sim.solver.dae_ions.SingleIonDAEConsistentInitialCondition","qualified_name":"perovskite_sim.solver.dae_ions.SingleIonDAEConsistentInitialCondition","visibility":"public","evidence_level":"source_static"}, +{"id":"python-70972a61dc7ea540","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/solver/dae_ions.py","route_id":"route-fb0723324262c843","origin_key":"python:perovskite_sim.solver.dae_ions.SingleIonDAELayout","qualified_name":"perovskite_sim.solver.dae_ions.SingleIonDAELayout","visibility":"public","evidence_level":"source_static"}, +{"id":"python-3ba9576ced86542e","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_ions.py","route_id":"route-fb0723324262c843","origin_key":"python:perovskite_sim.solver.dae_ions.SingleIonDAELayout.electron_slice","qualified_name":"perovskite_sim.solver.dae_ions.SingleIonDAELayout.electron_slice","visibility":"public","evidence_level":"source_static"}, +{"id":"python-fe05f791c937f2df","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_ions.py","route_id":"route-fb0723324262c843","origin_key":"python:perovskite_sim.solver.dae_ions.SingleIonDAELayout.hole_slice","qualified_name":"perovskite_sim.solver.dae_ions.SingleIonDAELayout.hole_slice","visibility":"public","evidence_level":"source_static"}, +{"id":"python-296429149aca38e0","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_ions.py","route_id":"route-fb0723324262c843","origin_key":"python:perovskite_sim.solver.dae_ions.SingleIonDAELayout.positive_ion_slice","qualified_name":"perovskite_sim.solver.dae_ions.SingleIonDAELayout.positive_ion_slice","visibility":"public","evidence_level":"source_static"}, +{"id":"python-3c1eb347228dc0d7","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_ions.py","route_id":"route-fb0723324262c843","origin_key":"python:perovskite_sim.solver.dae_ions.SingleIonDAELayout.potential_slice","qualified_name":"perovskite_sim.solver.dae_ions.SingleIonDAELayout.potential_slice","visibility":"public","evidence_level":"source_static"}, +{"id":"python-2dfa4568ddefc3b1","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_ions.py","route_id":"route-fb0723324262c843","origin_key":"python:perovskite_sim.solver.dae_ions.SingleIonDAELayout.size","qualified_name":"perovskite_sim.solver.dae_ions.SingleIonDAELayout.size","visibility":"public","evidence_level":"source_static"}, +{"id":"python-86bd62181fd45f35","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/solver/dae_ions.py","route_id":"route-fb0723324262c843","origin_key":"python:perovskite_sim.solver.dae_ions.SingleIonDAEResidualReport","qualified_name":"perovskite_sim.solver.dae_ions.SingleIonDAEResidualReport","visibility":"public","evidence_level":"source_static"}, +{"id":"python-520ce8443cdb30fa","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/solver/dae_ions.py","route_id":"route-fb0723324262c843","origin_key":"python:perovskite_sim.solver.dae_ions.SinglePositiveIonDAE","qualified_name":"perovskite_sim.solver.dae_ions.SinglePositiveIonDAE","visibility":"public","evidence_level":"source_static"}, +{"id":"python-05f254f240311d08","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_ions.py","route_id":"route-fb0723324262c843","origin_key":"python:perovskite_sim.solver.dae_ions.SinglePositiveIonDAE.algebraic_state_jacobian","qualified_name":"perovskite_sim.solver.dae_ions.SinglePositiveIonDAE.algebraic_state_jacobian","visibility":"public","evidence_level":"source_static"}, +{"id":"python-a7e3c154c9f0aaba","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_ions.py","route_id":"route-fb0723324262c843","origin_key":"python:perovskite_sim.solver.dae_ions.SinglePositiveIonDAE.compatible_derivative","qualified_name":"perovskite_sim.solver.dae_ions.SinglePositiveIonDAE.compatible_derivative","visibility":"public","evidence_level":"source_static"}, +{"id":"python-ffd94efe7d1d3b1a","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_ions.py","route_id":"route-fb0723324262c843","origin_key":"python:perovskite_sim.solver.dae_ions.SinglePositiveIonDAE.derivative_jacobian","qualified_name":"perovskite_sim.solver.dae_ions.SinglePositiveIonDAE.derivative_jacobian","visibility":"public","evidence_level":"source_static"}, +{"id":"python-d2f2408f90d40110","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_ions.py","route_id":"route-fb0723324262c843","origin_key":"python:perovskite_sim.solver.dae_ions.SinglePositiveIonDAE.derivative_jacobian_diagonal","qualified_name":"perovskite_sim.solver.dae_ions.SinglePositiveIonDAE.derivative_jacobian_diagonal","visibility":"public","evidence_level":"source_static"}, +{"id":"python-c686250bf797f351","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_ions.py","route_id":"route-fb0723324262c843","origin_key":"python:perovskite_sim.solver.dae_ions.SinglePositiveIonDAE.packed_physical_state","qualified_name":"perovskite_sim.solver.dae_ions.SinglePositiveIonDAE.packed_physical_state","visibility":"public","evidence_level":"source_static"}, +{"id":"python-e0cb3c3bc6b51867","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_ions.py","route_id":"route-fb0723324262c843","origin_key":"python:perovskite_sim.solver.dae_ions.SinglePositiveIonDAE.physical_fields","qualified_name":"perovskite_sim.solver.dae_ions.SinglePositiveIonDAE.physical_fields","visibility":"public","evidence_level":"source_static"}, +{"id":"python-8b31db8ed37f2a8c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_ions.py","route_id":"route-fb0723324262c843","origin_key":"python:perovskite_sim.solver.dae_ions.SinglePositiveIonDAE.positive_ion_coordinate_derivative_m3","qualified_name":"perovskite_sim.solver.dae_ions.SinglePositiveIonDAE.positive_ion_coordinate_derivative_m3","visibility":"public","evidence_level":"source_static"}, +{"id":"python-834abea2642fe5dd","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_ions.py","route_id":"route-fb0723324262c843","origin_key":"python:perovskite_sim.solver.dae_ions.SinglePositiveIonDAE.residual","qualified_name":"perovskite_sim.solver.dae_ions.SinglePositiveIonDAE.residual","visibility":"public","evidence_level":"source_static"}, +{"id":"python-86dffe74f19f40d5","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_ions.py","route_id":"route-fb0723324262c843","origin_key":"python:perovskite_sim.solver.dae_ions.SinglePositiveIonDAE.residual_report","qualified_name":"perovskite_sim.solver.dae_ions.SinglePositiveIonDAE.residual_report","visibility":"public","evidence_level":"source_static"}, +{"id":"python-fd52bea27a3218ed","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_ions.py","route_id":"route-fb0723324262c843","origin_key":"python:perovskite_sim.solver.dae_ions._readonly_f64","qualified_name":"perovskite_sim.solver.dae_ions._readonly_f64","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-fa754b1d4b4cf53f","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_ions.py","route_id":"route-fb0723324262c843","origin_key":"python:perovskite_sim.solver.dae_ions._state_sha256","qualified_name":"perovskite_sim.solver.dae_ions._state_sha256","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-e0d45847459ba201","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_ions.py","route_id":"route-fb0723324262c843","origin_key":"python:perovskite_sim.solver.dae_ions._validate_single_positive_ion_capability","qualified_name":"perovskite_sim.solver.dae_ions._validate_single_positive_ion_capability","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-1292a414fb60f5c7","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_ions.py","route_id":"route-fb0723324262c843","origin_key":"python:perovskite_sim.solver.dae_ions.build_single_ion_consistent_initial_condition","qualified_name":"perovskite_sim.solver.dae_ions.build_single_ion_consistent_initial_condition","visibility":"public","evidence_level":"source_static"}, +{"id":"python-0a05b35588d51fe3","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_ions.py","route_id":"route-fb0723324262c843","origin_key":"python:perovskite_sim.solver.dae_ions.build_single_positive_ion_dae","qualified_name":"perovskite_sim.solver.dae_ions.build_single_positive_ion_dae","visibility":"public","evidence_level":"source_static"}, +{"id":"python-7c97bb746ea045e8","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_ions.py","route_id":"route-fb0723324262c843","origin_key":"python:perovskite_sim.solver.dae_ions.finite_difference_single_ion_derivative_jacobian","qualified_name":"perovskite_sim.solver.dae_ions.finite_difference_single_ion_derivative_jacobian","visibility":"public","evidence_level":"source_static"}, +{"id":"python-acc8376b94322fcb","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_ions.py","route_id":"route-fb0723324262c843","origin_key":"python:perovskite_sim.solver.dae_ions.finite_difference_single_ion_state_jacobian","qualified_name":"perovskite_sim.solver.dae_ions.finite_difference_single_ion_state_jacobian","visibility":"public","evidence_level":"source_static"}, +{"id":"python-8e71681bcfa72237","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_ions.py","route_id":"route-fb0723324262c843","origin_key":"python:perovskite_sim.solver.dae_ions.project_single_ion_algebraic_state","qualified_name":"perovskite_sim.solver.dae_ions.project_single_ion_algebraic_state","visibility":"public","evidence_level":"source_static"}, +{"id":"python-efb24796dcbe5b19","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/solver/dae_jacobian.py","route_id":"route-8b07744af698a677","origin_key":"python:perovskite_sim.solver.dae_jacobian.DAEStructuredJacobianCapabilityError","qualified_name":"perovskite_sim.solver.dae_jacobian.DAEStructuredJacobianCapabilityError","visibility":"public","evidence_level":"source_static"}, +{"id":"python-724230f6d50501ab","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/solver/dae_jacobian.py","route_id":"route-8b07744af698a677","origin_key":"python:perovskite_sim.solver.dae_jacobian.DAEStructuredStateJacobian","qualified_name":"perovskite_sim.solver.dae_jacobian.DAEStructuredStateJacobian","visibility":"public","evidence_level":"source_static"}, +{"id":"python-49a8657db1609830","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_jacobian.py","route_id":"route-8b07744af698a677","origin_key":"python:perovskite_sim.solver.dae_jacobian._with_field_mobility_tangent","qualified_name":"perovskite_sim.solver.dae_jacobian._with_field_mobility_tangent","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-a85e108735b9df4f","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_jacobian.py","route_id":"route-8b07744af698a677","origin_key":"python:perovskite_sim.solver.dae_jacobian.build_carrier_face_jacobians","qualified_name":"perovskite_sim.solver.dae_jacobian.build_carrier_face_jacobians","visibility":"public","evidence_level":"source_static"}, +{"id":"python-f97c19363d2ec9c5","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_jacobian.py","route_id":"route-8b07744af698a677","origin_key":"python:perovskite_sim.solver.dae_jacobian.build_structured_state_jacobian","qualified_name":"perovskite_sim.solver.dae_jacobian.build_structured_state_jacobian","visibility":"public","evidence_level":"source_static"}, +{"id":"python-439335eedcdf1b90","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/dae_jacobian.py","route_id":"route-8b07744af698a677","origin_key":"python:perovskite_sim.solver.dae_jacobian.require_neutral_only_defect_inventory","qualified_name":"perovskite_sim.solver.dae_jacobian.require_neutral_only_defect_inventory","visibility":"public","evidence_level":"source_static"}, +{"id":"python-a5aeb5b7e24d528a","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/solver/degenerate_equilibrium.py","route_id":"route-0064c8f5583b5846","origin_key":"python:perovskite_sim.solver.degenerate_equilibrium.DegeneratePNEquilibriumResult","qualified_name":"perovskite_sim.solver.degenerate_equilibrium.DegeneratePNEquilibriumResult","visibility":"public","evidence_level":"source_static"}, +{"id":"python-c99160afd8630bd9","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/degenerate_equilibrium.py","route_id":"route-0064c8f5583b5846","origin_key":"python:perovskite_sim.solver.degenerate_equilibrium.DegeneratePNEquilibriumResult.depletion_width_relative_error","qualified_name":"perovskite_sim.solver.degenerate_equilibrium.DegeneratePNEquilibriumResult.depletion_width_relative_error","visibility":"public","evidence_level":"source_static"}, +{"id":"python-4ca7bc9721ff5c4c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/degenerate_equilibrium.py","route_id":"route-0064c8f5583b5846","origin_key":"python:perovskite_sim.solver.degenerate_equilibrium.DegeneratePNEquilibriumResult.peak_field_relative_error","qualified_name":"perovskite_sim.solver.degenerate_equilibrium.DegeneratePNEquilibriumResult.peak_field_relative_error","visibility":"public","evidence_level":"source_static"}, +{"id":"python-e06f9d6ce40995b0","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/solver/degenerate_equilibrium.py","route_id":"route-0064c8f5583b5846","origin_key":"python:perovskite_sim.solver.degenerate_equilibrium._EquilibriumDensityState","qualified_name":"perovskite_sim.solver.degenerate_equilibrium._EquilibriumDensityState","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-87c7bb759e91802e","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/degenerate_equilibrium.py","route_id":"route-0064c8f5583b5846","origin_key":"python:perovskite_sim.solver.degenerate_equilibrium._EquilibriumDensityState.charge_density_C_m3","qualified_name":"perovskite_sim.solver.degenerate_equilibrium._EquilibriumDensityState.charge_density_C_m3","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-6082caa53c8b5c12","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/degenerate_equilibrium.py","route_id":"route-0064c8f5583b5846","origin_key":"python:perovskite_sim.solver.degenerate_equilibrium._EquilibriumDensityState.charge_derivative_potential_C_m3_V","qualified_name":"perovskite_sim.solver.degenerate_equilibrium._EquilibriumDensityState.charge_derivative_potential_C_m3_V","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-12dbcaea4ccd02f3","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/degenerate_equilibrium.py","route_id":"route-0064c8f5583b5846","origin_key":"python:perovskite_sim.solver.degenerate_equilibrium._contact_states","qualified_name":"perovskite_sim.solver.degenerate_equilibrium._contact_states","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-16094fd78908b44a","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/degenerate_equilibrium.py","route_id":"route-0064c8f5583b5846","origin_key":"python:perovskite_sim.solver.degenerate_equilibrium._density_state","qualified_name":"perovskite_sim.solver.degenerate_equilibrium._density_state","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-af8429ec576808a1","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/degenerate_equilibrium.py","route_id":"route-0064c8f5583b5846","origin_key":"python:perovskite_sim.solver.degenerate_equilibrium._normalized_poisson_residual","qualified_name":"perovskite_sim.solver.degenerate_equilibrium._normalized_poisson_residual","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-c2441b51c50d2661","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/degenerate_equilibrium.py","route_id":"route-0064c8f5583b5846","origin_key":"python:perovskite_sim.solver.degenerate_equilibrium._poisson_residual","qualified_name":"perovskite_sim.solver.degenerate_equilibrium._poisson_residual","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-28d2ec4efde2abfa","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/degenerate_equilibrium.py","route_id":"route-0064c8f5583b5846","origin_key":"python:perovskite_sim.solver.degenerate_equilibrium._transport_residual_metrics","qualified_name":"perovskite_sim.solver.degenerate_equilibrium._transport_residual_metrics","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-4c227330f9492ab6","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/degenerate_equilibrium.py","route_id":"route-0064c8f5583b5846","origin_key":"python:perovskite_sim.solver.degenerate_equilibrium.solve_degenerate_pn_equilibrium","qualified_name":"perovskite_sim.solver.degenerate_equilibrium.solve_degenerate_pn_equilibrium","visibility":"public","evidence_level":"source_static"}, +{"id":"python-53840d068b553163","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/solver/illuminated_ss.py","route_id":"route-9e0083b6bc509a08","origin_key":"python:perovskite_sim.solver.illuminated_ss.IlluminatedPreconditionerDiagnostics","qualified_name":"perovskite_sim.solver.illuminated_ss.IlluminatedPreconditionerDiagnostics","visibility":"public","evidence_level":"source_static"}, +{"id":"python-194f38ad46c89a8d","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/solver/illuminated_ss.py","route_id":"route-9e0083b6bc509a08","origin_key":"python:perovskite_sim.solver.illuminated_ss.IlluminatedSteadyStateError","qualified_name":"perovskite_sim.solver.illuminated_ss.IlluminatedSteadyStateError","visibility":"public","evidence_level":"source_static"}, +{"id":"python-4ddedf94b12ec8b9","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/illuminated_ss.py","route_id":"route-9e0083b6bc509a08","origin_key":"python:perovskite_sim.solver.illuminated_ss.IlluminatedSteadyStateError.__init__","qualified_name":"perovskite_sim.solver.illuminated_ss.IlluminatedSteadyStateError.__init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-d296d831c7242a5d","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/illuminated_ss.py","route_id":"route-9e0083b6bc509a08","origin_key":"python:perovskite_sim.solver.illuminated_ss._optional_solver_count","qualified_name":"perovskite_sim.solver.illuminated_ss._optional_solver_count","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-38c2e73989fb7b51","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/illuminated_ss.py","route_id":"route-9e0083b6bc509a08","origin_key":"python:perovskite_sim.solver.illuminated_ss.solve_illuminated_ss","qualified_name":"perovskite_sim.solver.illuminated_ss.solve_illuminated_ss","visibility":"public","evidence_level":"source_static"}, +{"id":"python-f9d3b18ab1e3f619","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/solver/mol.py","route_id":"route-4e8545961ec9f79c","origin_key":"python:perovskite_sim.solver.mol.BulkCarrierStatisticsCapabilityError","qualified_name":"perovskite_sim.solver.mol.BulkCarrierStatisticsCapabilityError","visibility":"public","evidence_level":"source_static"}, +{"id":"python-5ac6e52c543e2eef","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/solver/mol.py","route_id":"route-4e8545961ec9f79c","origin_key":"python:perovskite_sim.solver.mol.BulkTrapChargeCapabilityError","qualified_name":"perovskite_sim.solver.mol.BulkTrapChargeCapabilityError","visibility":"public","evidence_level":"source_static"}, +{"id":"python-fc92766a0e8bf130","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/solver/mol.py","route_id":"route-7c6a610f78c23573","origin_key":"python:perovskite_sim.solver.mol.MaterialArrays","qualified_name":"perovskite_sim.solver.mol.MaterialArrays","visibility":"public","evidence_level":"source_static"}, +{"id":"python-95fb61aeca64595b","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/mol.py","route_id":"route-4e8545961ec9f79c","origin_key":"python:perovskite_sim.solver.mol.MaterialArrays.carrier_params","qualified_name":"perovskite_sim.solver.mol.MaterialArrays.carrier_params","visibility":"public","evidence_level":"source_static"}, +{"id":"python-b61856d4e84466c9","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/mol.py","route_id":"route-4e8545961ec9f79c","origin_key":"python:perovskite_sim.solver.mol.MaterialArrays.thermionic_normalization_status","qualified_name":"perovskite_sim.solver.mol.MaterialArrays.thermionic_normalization_status","visibility":"public","evidence_level":"source_static"}, +{"id":"python-ec8a7057888ae630","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/solver/mol.py","route_id":"route-39b5928c928017c8","origin_key":"python:perovskite_sim.solver.mol.StateVec","qualified_name":"perovskite_sim.solver.mol.StateVec","visibility":"public","evidence_level":"source_static"}, +{"id":"python-f5cd086a853fc22c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/mol.py","route_id":"route-4e8545961ec9f79c","origin_key":"python:perovskite_sim.solver.mol.StateVec.pack","qualified_name":"perovskite_sim.solver.mol.StateVec.pack","visibility":"public","evidence_level":"source_static"}, +{"id":"python-df3e25cb4fbacf5b","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/mol.py","route_id":"route-4e8545961ec9f79c","origin_key":"python:perovskite_sim.solver.mol.StateVec.unpack","qualified_name":"perovskite_sim.solver.mol.StateVec.unpack","visibility":"public","evidence_level":"source_static"}, +{"id":"python-e10a648a2ae66a59","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/solver/mol.py","route_id":"route-4e8545961ec9f79c","origin_key":"python:perovskite_sim.solver.mol._NfevExceeded","qualified_name":"perovskite_sim.solver.mol._NfevExceeded","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-5fc8ce922cc31d43","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/solver/mol.py","route_id":"route-4e8545961ec9f79c","origin_key":"python:perovskite_sim.solver.mol._RhsNonFinite","qualified_name":"perovskite_sim.solver.mol._RhsNonFinite","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-7368d235b2220847","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/mol.py","route_id":"route-4e8545961ec9f79c","origin_key":"python:perovskite_sim.solver.mol._apply_interface_recombination","qualified_name":"perovskite_sim.solver.mol._apply_interface_recombination","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-ca902d4f57c87247","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/mol.py","route_id":"route-4e8545961ec9f79c","origin_key":"python:perovskite_sim.solver.mol._assert_finite_rhs","qualified_name":"perovskite_sim.solver.mol._assert_finite_rhs","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-ca7b2773483908b9","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/mol.py","route_id":"route-4e8545961ec9f79c","origin_key":"python:perovskite_sim.solver.mol._charge_density","qualified_name":"perovskite_sim.solver.mol._charge_density","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-e83dd07a85e6ab24","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/mol.py","route_id":"route-4e8545961ec9f79c","origin_key":"python:perovskite_sim.solver.mol._compile_monovalent_bulk_defects","qualified_name":"perovskite_sim.solver.mol._compile_monovalent_bulk_defects","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-d2c4a63a72ee2dce","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/mol.py","route_id":"route-4e8545961ec9f79c","origin_key":"python:perovskite_sim.solver.mol._compile_multivalent_bulk_defects","qualified_name":"perovskite_sim.solver.mol._compile_multivalent_bulk_defects","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-794ff737cf0b4cda","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/mol.py","route_id":"route-4e8545961ec9f79c","origin_key":"python:perovskite_sim.solver.mol._compile_neutral_bulk_defects","qualified_name":"perovskite_sim.solver.mol._compile_neutral_bulk_defects","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-d9a4c57b9aca415a","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/mol.py","route_id":"route-4e8545961ec9f79c","origin_key":"python:perovskite_sim.solver.mol._compute_iface_state_dark_eq","qualified_name":"perovskite_sim.solver.mol._compute_iface_state_dark_eq","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-c47286a514a92452","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/mol.py","route_id":"route-4e8545961ec9f79c","origin_key":"python:perovskite_sim.solver.mol._compute_tmm_generation","qualified_name":"perovskite_sim.solver.mol._compute_tmm_generation","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-ec17d6b092183b69","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/mol.py","route_id":"route-4e8545961ec9f79c","origin_key":"python:perovskite_sim.solver.mol._harmonic_face_average","qualified_name":"perovskite_sim.solver.mol._harmonic_face_average","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-2cb7da69001e7e4d","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/mol.py","route_id":"route-4e8545961ec9f79c","origin_key":"python:perovskite_sim.solver.mol._interface_plane_state_active","qualified_name":"perovskite_sim.solver.mol._interface_plane_state_active","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-cfe0ab834f130b32","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/mol.py","route_id":"route-4e8545961ec9f79c","origin_key":"python:perovskite_sim.solver.mol._layer_boundary_padding","qualified_name":"perovskite_sim.solver.mol._layer_boundary_padding","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-3c1e2668f4302910","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/mol.py","route_id":"route-4e8545961ec9f79c","origin_key":"python:perovskite_sim.solver.mol._layer_node_masks","qualified_name":"perovskite_sim.solver.mol._layer_node_masks","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-46bc7dd148decaf0","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/mol.py","route_id":"route-4e8545961ec9f79c","origin_key":"python:perovskite_sim.solver.mol._qss_interface_R","qualified_name":"perovskite_sim.solver.mol._qss_interface_R","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-f4a63a3b27fa4390","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/mol.py","route_id":"route-4e8545961ec9f79c","origin_key":"python:perovskite_sim.solver.mol.assemble_rhs","qualified_name":"perovskite_sim.solver.mol.assemble_rhs","visibility":"public","evidence_level":"source_static"}, +{"id":"python-cb7abef885fcd455","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/mol.py","route_id":"route-7c6a610f78c23573","origin_key":"python:perovskite_sim.solver.mol.build_material_arrays","qualified_name":"perovskite_sim.solver.mol.build_material_arrays","visibility":"public","evidence_level":"source_static"}, +{"id":"python-bfca3edbfd6729e3","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/mol.py","route_id":"route-4e8545961ec9f79c","origin_key":"python:perovskite_sim.solver.mol.poisson_right_boundary","qualified_name":"perovskite_sim.solver.mol.poisson_right_boundary","visibility":"public","evidence_level":"source_static"}, +{"id":"python-37adaa902dfc9e88","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/mol.py","route_id":"route-d8730a918e25946e","origin_key":"python:perovskite_sim.solver.mol.run_transient","qualified_name":"perovskite_sim.solver.mol.run_transient","visibility":"public","evidence_level":"source_static"}, +{"id":"python-2ac8e08f1859e391","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/mol.py","route_id":"route-d8730a918e25946e","origin_key":"python:perovskite_sim.solver.mol.split_step","qualified_name":"perovskite_sim.solver.mol.split_step","visibility":"public","evidence_level":"source_static"}, +{"id":"python-3acda755aba2c801","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/newton.py","route_id":"route-e09714387d2b8bd8","origin_key":"python:perovskite_sim.solver.newton.solve_equilibrium","qualified_name":"perovskite_sim.solver.newton.solve_equilibrium","visibility":"public","evidence_level":"source_static"}, +{"id":"python-cbc3c77dbbd1939f","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/solver/numerical_diagnostics.py","route_id":"route-c393f0eb296301f6","origin_key":"python:perovskite_sim.solver.numerical_diagnostics.DensityMinima","qualified_name":"perovskite_sim.solver.numerical_diagnostics.DensityMinima","visibility":"public","evidence_level":"source_static"}, +{"id":"python-2acb62e801390f4a","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/solver/numerical_diagnostics.py","route_id":"route-c393f0eb296301f6","origin_key":"python:perovskite_sim.solver.numerical_diagnostics.IonInventoryDiagnostics","qualified_name":"perovskite_sim.solver.numerical_diagnostics.IonInventoryDiagnostics","visibility":"public","evidence_level":"source_static"}, +{"id":"python-5903c7304662020b","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/solver/numerical_diagnostics.py","route_id":"route-c393f0eb296301f6","origin_key":"python:perovskite_sim.solver.numerical_diagnostics.LogDensityCoordinateError","qualified_name":"perovskite_sim.solver.numerical_diagnostics.LogDensityCoordinateError","visibility":"public","evidence_level":"source_static"}, +{"id":"python-fe8d0619fd328072","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/solver/numerical_diagnostics.py","route_id":"route-c393f0eb296301f6","origin_key":"python:perovskite_sim.solver.numerical_diagnostics.LogDensityCoordinateReport","qualified_name":"perovskite_sim.solver.numerical_diagnostics.LogDensityCoordinateReport","visibility":"public","evidence_level":"source_static"}, +{"id":"python-777b5979dfd0548c","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/solver/numerical_diagnostics.py","route_id":"route-c393f0eb296301f6","origin_key":"python:perovskite_sim.solver.numerical_diagnostics.LogDensityCoordinateTransform","qualified_name":"perovskite_sim.solver.numerical_diagnostics.LogDensityCoordinateTransform","visibility":"public","evidence_level":"source_static"}, +{"id":"python-109d79d96387c481","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/numerical_diagnostics.py","route_id":"route-c393f0eb296301f6","origin_key":"python:perovskite_sim.solver.numerical_diagnostics.LogDensityCoordinateTransform.__init__","qualified_name":"perovskite_sim.solver.numerical_diagnostics.LogDensityCoordinateTransform.__init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-d66d5a7e6006dc0d","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/numerical_diagnostics.py","route_id":"route-c393f0eb296301f6","origin_key":"python:perovskite_sim.solver.numerical_diagnostics.LogDensityCoordinateTransform._state_vector","qualified_name":"perovskite_sim.solver.numerical_diagnostics.LogDensityCoordinateTransform._state_vector","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-a6c82b5a54942b58","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/numerical_diagnostics.py","route_id":"route-c393f0eb296301f6","origin_key":"python:perovskite_sim.solver.numerical_diagnostics.LogDensityCoordinateTransform.initial_coordinates","qualified_name":"perovskite_sim.solver.numerical_diagnostics.LogDensityCoordinateTransform.initial_coordinates","visibility":"public","evidence_level":"source_static"}, +{"id":"python-fd63568fab076cce","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/numerical_diagnostics.py","route_id":"route-c393f0eb296301f6","origin_key":"python:perovskite_sim.solver.numerical_diagnostics.LogDensityCoordinateTransform.report","qualified_name":"perovskite_sim.solver.numerical_diagnostics.LogDensityCoordinateTransform.report","visibility":"public","evidence_level":"source_static"}, +{"id":"python-34c7c7dfe4c251a3","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/numerical_diagnostics.py","route_id":"route-c393f0eb296301f6","origin_key":"python:perovskite_sim.solver.numerical_diagnostics.LogDensityCoordinateTransform.rhs_to_coordinates","qualified_name":"perovskite_sim.solver.numerical_diagnostics.LogDensityCoordinateTransform.rhs_to_coordinates","visibility":"public","evidence_level":"source_static"}, +{"id":"python-00b28009c5b2625c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/numerical_diagnostics.py","route_id":"route-c393f0eb296301f6","origin_key":"python:perovskite_sim.solver.numerical_diagnostics.LogDensityCoordinateTransform.solution_to_physical","qualified_name":"perovskite_sim.solver.numerical_diagnostics.LogDensityCoordinateTransform.solution_to_physical","visibility":"public","evidence_level":"source_static"}, +{"id":"python-c323fce72d144357","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/numerical_diagnostics.py","route_id":"route-c393f0eb296301f6","origin_key":"python:perovskite_sim.solver.numerical_diagnostics.LogDensityCoordinateTransform.to_physical","qualified_name":"perovskite_sim.solver.numerical_diagnostics.LogDensityCoordinateTransform.to_physical","visibility":"public","evidence_level":"source_static"}, +{"id":"python-326d8fd8968d159d","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/solver/numerical_diagnostics.py","route_id":"route-c393f0eb296301f6","origin_key":"python:perovskite_sim.solver.numerical_diagnostics.NegativeEntryCounts","qualified_name":"perovskite_sim.solver.numerical_diagnostics.NegativeEntryCounts","visibility":"public","evidence_level":"source_static"}, +{"id":"python-85641836cf4e6004","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/solver/numerical_diagnostics.py","route_id":"route-c393f0eb296301f6","origin_key":"python:perovskite_sim.solver.numerical_diagnostics.NumericalDiagnosticsError","qualified_name":"perovskite_sim.solver.numerical_diagnostics.NumericalDiagnosticsError","visibility":"public","evidence_level":"source_static"}, +{"id":"python-420f6233dd034921","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/numerical_diagnostics.py","route_id":"route-c393f0eb296301f6","origin_key":"python:perovskite_sim.solver.numerical_diagnostics.NumericalDiagnosticsError.__init__","qualified_name":"perovskite_sim.solver.numerical_diagnostics.NumericalDiagnosticsError.__init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-360afa3c7ff1af00","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/solver/numerical_diagnostics.py","route_id":"route-c393f0eb296301f6","origin_key":"python:perovskite_sim.solver.numerical_diagnostics.NumericalDiagnosticsMonitor","qualified_name":"perovskite_sim.solver.numerical_diagnostics.NumericalDiagnosticsMonitor","visibility":"public","evidence_level":"source_static"}, +{"id":"python-475762657a63a781","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/numerical_diagnostics.py","route_id":"route-c393f0eb296301f6","origin_key":"python:perovskite_sim.solver.numerical_diagnostics.NumericalDiagnosticsMonitor.__init__","qualified_name":"perovskite_sim.solver.numerical_diagnostics.NumericalDiagnosticsMonitor.__init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-841076d012ee01ab","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/numerical_diagnostics.py","route_id":"route-c393f0eb296301f6","origin_key":"python:perovskite_sim.solver.numerical_diagnostics.NumericalDiagnosticsMonitor._active_minimum","qualified_name":"perovskite_sim.solver.numerical_diagnostics.NumericalDiagnosticsMonitor._active_minimum","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-57e22f8de34f4a66","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/numerical_diagnostics.py","route_id":"route-c393f0eb296301f6","origin_key":"python:perovskite_sim.solver.numerical_diagnostics.NumericalDiagnosticsMonitor._density_minima","qualified_name":"perovskite_sim.solver.numerical_diagnostics.NumericalDiagnosticsMonitor._density_minima","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-ec6cd6e27578ddd6","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/numerical_diagnostics.py","route_id":"route-c393f0eb296301f6","origin_key":"python:perovskite_sim.solver.numerical_diagnostics.NumericalDiagnosticsMonitor._density_minima_from_values","qualified_name":"perovskite_sim.solver.numerical_diagnostics.NumericalDiagnosticsMonitor._density_minima_from_values","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-1be215e927962131","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/numerical_diagnostics.py","route_id":"route-c393f0eb296301f6","origin_key":"python:perovskite_sim.solver.numerical_diagnostics.NumericalDiagnosticsMonitor._finite_minimum","qualified_name":"perovskite_sim.solver.numerical_diagnostics.NumericalDiagnosticsMonitor._finite_minimum","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-ed61fa2077316885","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/numerical_diagnostics.py","route_id":"route-c393f0eb296301f6","origin_key":"python:perovskite_sim.solver.numerical_diagnostics.NumericalDiagnosticsMonitor._minimum","qualified_name":"perovskite_sim.solver.numerical_diagnostics.NumericalDiagnosticsMonitor._minimum","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-eec530547ecf9e62","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/numerical_diagnostics.py","route_id":"route-c393f0eb296301f6","origin_key":"python:perovskite_sim.solver.numerical_diagnostics.NumericalDiagnosticsMonitor._raise_strict","qualified_name":"perovskite_sim.solver.numerical_diagnostics.NumericalDiagnosticsMonitor._raise_strict","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-ce5fc8a7f31af725","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/numerical_diagnostics.py","route_id":"route-c393f0eb296301f6","origin_key":"python:perovskite_sim.solver.numerical_diagnostics.NumericalDiagnosticsMonitor._terminal_violations","qualified_name":"perovskite_sim.solver.numerical_diagnostics.NumericalDiagnosticsMonitor._terminal_violations","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-27b313edca9a4260","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/numerical_diagnostics.py","route_id":"route-c393f0eb296301f6","origin_key":"python:perovskite_sim.solver.numerical_diagnostics.NumericalDiagnosticsMonitor._update_minimum","qualified_name":"perovskite_sim.solver.numerical_diagnostics.NumericalDiagnosticsMonitor._update_minimum","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-bafde2f0a84bdf90","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/numerical_diagnostics.py","route_id":"route-c393f0eb296301f6","origin_key":"python:perovskite_sim.solver.numerical_diagnostics.NumericalDiagnosticsMonitor._violations","qualified_name":"perovskite_sim.solver.numerical_diagnostics.NumericalDiagnosticsMonitor._violations","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-04e4bfca9cb9f2f9","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/numerical_diagnostics.py","route_id":"route-c393f0eb296301f6","origin_key":"python:perovskite_sim.solver.numerical_diagnostics.NumericalDiagnosticsMonitor.finalize","qualified_name":"perovskite_sim.solver.numerical_diagnostics.NumericalDiagnosticsMonitor.finalize","visibility":"public","evidence_level":"source_static"}, +{"id":"python-cee1cbf331ebe2b6","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/numerical_diagnostics.py","route_id":"route-c393f0eb296301f6","origin_key":"python:perovskite_sim.solver.numerical_diagnostics.NumericalDiagnosticsMonitor.observe_nonfinite_rhs_exception","qualified_name":"perovskite_sim.solver.numerical_diagnostics.NumericalDiagnosticsMonitor.observe_nonfinite_rhs_exception","visibility":"public","evidence_level":"source_static"}, +{"id":"python-fda11c75ac5fbce0","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/numerical_diagnostics.py","route_id":"route-c393f0eb296301f6","origin_key":"python:perovskite_sim.solver.numerical_diagnostics.NumericalDiagnosticsMonitor.observe_rhs","qualified_name":"perovskite_sim.solver.numerical_diagnostics.NumericalDiagnosticsMonitor.observe_rhs","visibility":"public","evidence_level":"source_static"}, +{"id":"python-c8ace8a366ca9814","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/numerical_diagnostics.py","route_id":"route-c393f0eb296301f6","origin_key":"python:perovskite_sim.solver.numerical_diagnostics.NumericalDiagnosticsMonitor.observe_srh_denominator","qualified_name":"perovskite_sim.solver.numerical_diagnostics.NumericalDiagnosticsMonitor.observe_srh_denominator","visibility":"public","evidence_level":"source_static"}, +{"id":"python-31a0ae374c4a4719","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/numerical_diagnostics.py","route_id":"route-c393f0eb296301f6","origin_key":"python:perovskite_sim.solver.numerical_diagnostics.NumericalDiagnosticsMonitor.observe_trial_state","qualified_name":"perovskite_sim.solver.numerical_diagnostics.NumericalDiagnosticsMonitor.observe_trial_state","visibility":"public","evidence_level":"source_static"}, +{"id":"python-3196b49e92fb837f","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/numerical_diagnostics.py","route_id":"route-c393f0eb296301f6","origin_key":"python:perovskite_sim.solver.numerical_diagnostics.NumericalDiagnosticsMonitor.report","qualified_name":"perovskite_sim.solver.numerical_diagnostics.NumericalDiagnosticsMonitor.report","visibility":"public","evidence_level":"source_static"}, +{"id":"python-56809c882af10cc4","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/solver/numerical_diagnostics.py","route_id":"route-c393f0eb296301f6","origin_key":"python:perovskite_sim.solver.numerical_diagnostics.NumericalDiagnosticsPolicy","qualified_name":"perovskite_sim.solver.numerical_diagnostics.NumericalDiagnosticsPolicy","visibility":"public","evidence_level":"source_static"}, +{"id":"python-a797d50f792e33fc","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/numerical_diagnostics.py","route_id":"route-c393f0eb296301f6","origin_key":"python:perovskite_sim.solver.numerical_diagnostics.NumericalDiagnosticsPolicy.__post_init__","qualified_name":"perovskite_sim.solver.numerical_diagnostics.NumericalDiagnosticsPolicy.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-ca4c9b9dc21817eb","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/numerical_diagnostics.py","route_id":"route-c393f0eb296301f6","origin_key":"python:perovskite_sim.solver.numerical_diagnostics.NumericalDiagnosticsPolicy.research_strict","qualified_name":"perovskite_sim.solver.numerical_diagnostics.NumericalDiagnosticsPolicy.research_strict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-5cac5b627b9d9be7","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/numerical_diagnostics.py","route_id":"route-c393f0eb296301f6","origin_key":"python:perovskite_sim.solver.numerical_diagnostics.NumericalDiagnosticsPolicy.strict","qualified_name":"perovskite_sim.solver.numerical_diagnostics.NumericalDiagnosticsPolicy.strict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-d8724a6ec5d4d30c","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/solver/numerical_diagnostics.py","route_id":"route-c393f0eb296301f6","origin_key":"python:perovskite_sim.solver.numerical_diagnostics.NumericalDiagnosticsReport","qualified_name":"perovskite_sim.solver.numerical_diagnostics.NumericalDiagnosticsReport","visibility":"public","evidence_level":"source_static"}, +{"id":"python-d692d67a672923d5","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/solver/numerical_diagnostics.py","route_id":"route-c393f0eb296301f6","origin_key":"python:perovskite_sim.solver.numerical_diagnostics.SplitStepDiagnosticsError","qualified_name":"perovskite_sim.solver.numerical_diagnostics.SplitStepDiagnosticsError","visibility":"public","evidence_level":"source_static"}, +{"id":"python-2ce7b9778a7c731c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/numerical_diagnostics.py","route_id":"route-c393f0eb296301f6","origin_key":"python:perovskite_sim.solver.numerical_diagnostics.SplitStepDiagnosticsError.__init__","qualified_name":"perovskite_sim.solver.numerical_diagnostics.SplitStepDiagnosticsError.__init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-230538a0221d087f","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/solver/numerical_diagnostics.py","route_id":"route-c393f0eb296301f6","origin_key":"python:perovskite_sim.solver.numerical_diagnostics.SplitStepDiagnosticsMonitor","qualified_name":"perovskite_sim.solver.numerical_diagnostics.SplitStepDiagnosticsMonitor","visibility":"public","evidence_level":"source_static"}, +{"id":"python-03f97cf5ee4d54fa","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/numerical_diagnostics.py","route_id":"route-c393f0eb296301f6","origin_key":"python:perovskite_sim.solver.numerical_diagnostics.SplitStepDiagnosticsMonitor.__init__","qualified_name":"perovskite_sim.solver.numerical_diagnostics.SplitStepDiagnosticsMonitor.__init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-9626a2ad78bed7d5","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/numerical_diagnostics.py","route_id":"route-c393f0eb296301f6","origin_key":"python:perovskite_sim.solver.numerical_diagnostics.SplitStepDiagnosticsMonitor._bound_counts","qualified_name":"perovskite_sim.solver.numerical_diagnostics.SplitStepDiagnosticsMonitor._bound_counts","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-e2a5a360faff3a7a","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/numerical_diagnostics.py","route_id":"route-c393f0eb296301f6","origin_key":"python:perovskite_sim.solver.numerical_diagnostics.SplitStepDiagnosticsMonitor._finite_extreme","qualified_name":"perovskite_sim.solver.numerical_diagnostics.SplitStepDiagnosticsMonitor._finite_extreme","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-a50fe791dfe7c5c4","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/numerical_diagnostics.py","route_id":"route-c393f0eb296301f6","origin_key":"python:perovskite_sim.solver.numerical_diagnostics.SplitStepDiagnosticsMonitor._inventory","qualified_name":"perovskite_sim.solver.numerical_diagnostics.SplitStepDiagnosticsMonitor._inventory","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-2264ee5bfe51e931","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/numerical_diagnostics.py","route_id":"route-c393f0eb296301f6","origin_key":"python:perovskite_sim.solver.numerical_diagnostics.SplitStepDiagnosticsMonitor._maximum","qualified_name":"perovskite_sim.solver.numerical_diagnostics.SplitStepDiagnosticsMonitor._maximum","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-c85baf57ce5c776a","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/numerical_diagnostics.py","route_id":"route-c393f0eb296301f6","origin_key":"python:perovskite_sim.solver.numerical_diagnostics.SplitStepDiagnosticsMonitor._minimum","qualified_name":"perovskite_sim.solver.numerical_diagnostics.SplitStepDiagnosticsMonitor._minimum","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-9de0543f4017e5ba","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/numerical_diagnostics.py","route_id":"route-c393f0eb296301f6","origin_key":"python:perovskite_sim.solver.numerical_diagnostics.SplitStepDiagnosticsMonitor._one_dimensional","qualified_name":"perovskite_sim.solver.numerical_diagnostics.SplitStepDiagnosticsMonitor._one_dimensional","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-bc2b057a32a47939","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/numerical_diagnostics.py","route_id":"route-c393f0eb296301f6","origin_key":"python:perovskite_sim.solver.numerical_diagnostics.SplitStepDiagnosticsMonitor._positive_state_health","qualified_name":"perovskite_sim.solver.numerical_diagnostics.SplitStepDiagnosticsMonitor._positive_state_health","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-3bcee87124927d32","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/numerical_diagnostics.py","route_id":"route-c393f0eb296301f6","origin_key":"python:perovskite_sim.solver.numerical_diagnostics.SplitStepDiagnosticsMonitor._raise","qualified_name":"perovskite_sim.solver.numerical_diagnostics.SplitStepDiagnosticsMonitor._raise","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-e1a9d7306a8ac3e4","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/numerical_diagnostics.py","route_id":"route-c393f0eb296301f6","origin_key":"python:perovskite_sim.solver.numerical_diagnostics.SplitStepDiagnosticsMonitor._raise_if_strict_rejected","qualified_name":"perovskite_sim.solver.numerical_diagnostics.SplitStepDiagnosticsMonitor._raise_if_strict_rejected","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-7a44ea0216716e84","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/numerical_diagnostics.py","route_id":"route-c393f0eb296301f6","origin_key":"python:perovskite_sim.solver.numerical_diagnostics.SplitStepDiagnosticsMonitor._record_initial_projection_events","qualified_name":"perovskite_sim.solver.numerical_diagnostics.SplitStepDiagnosticsMonitor._record_initial_projection_events","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-e2651af92f7efe30","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/numerical_diagnostics.py","route_id":"route-c393f0eb296301f6","origin_key":"python:perovskite_sim.solver.numerical_diagnostics.SplitStepDiagnosticsMonitor._relative_drift","qualified_name":"perovskite_sim.solver.numerical_diagnostics.SplitStepDiagnosticsMonitor._relative_drift","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-3e944d03d9214b30","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/numerical_diagnostics.py","route_id":"route-c393f0eb296301f6","origin_key":"python:perovskite_sim.solver.numerical_diagnostics.SplitStepDiagnosticsMonitor._species_report","qualified_name":"perovskite_sim.solver.numerical_diagnostics.SplitStepDiagnosticsMonitor._species_report","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-6f48d84f36aef58e","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/numerical_diagnostics.py","route_id":"route-c393f0eb296301f6","origin_key":"python:perovskite_sim.solver.numerical_diagnostics.SplitStepDiagnosticsMonitor._species_report_without_violations","qualified_name":"perovskite_sim.solver.numerical_diagnostics.SplitStepDiagnosticsMonitor._species_report_without_violations","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-fc097a049ec064b4","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/numerical_diagnostics.py","route_id":"route-c393f0eb296301f6","origin_key":"python:perovskite_sim.solver.numerical_diagnostics.SplitStepDiagnosticsMonitor._species_values","qualified_name":"perovskite_sim.solver.numerical_diagnostics.SplitStepDiagnosticsMonitor._species_values","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-16bceffd2d60a7ef","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/numerical_diagnostics.py","route_id":"route-c393f0eb296301f6","origin_key":"python:perovskite_sim.solver.numerical_diagnostics.SplitStepDiagnosticsMonitor._validated_limit","qualified_name":"perovskite_sim.solver.numerical_diagnostics.SplitStepDiagnosticsMonitor._validated_limit","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-7fa05b1ec3ccbc0d","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/numerical_diagnostics.py","route_id":"route-c393f0eb296301f6","origin_key":"python:perovskite_sim.solver.numerical_diagnostics.SplitStepDiagnosticsMonitor._violations","qualified_name":"perovskite_sim.solver.numerical_diagnostics.SplitStepDiagnosticsMonitor._violations","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-e70c59e001b56f6d","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/numerical_diagnostics.py","route_id":"route-c393f0eb296301f6","origin_key":"python:perovskite_sim.solver.numerical_diagnostics.SplitStepDiagnosticsMonitor.finalize","qualified_name":"perovskite_sim.solver.numerical_diagnostics.SplitStepDiagnosticsMonitor.finalize","visibility":"public","evidence_level":"source_static"}, +{"id":"python-6beb854f9aefcd8a","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/numerical_diagnostics.py","route_id":"route-c393f0eb296301f6","origin_key":"python:perovskite_sim.solver.numerical_diagnostics.SplitStepDiagnosticsMonitor.observe_projected_terminal","qualified_name":"perovskite_sim.solver.numerical_diagnostics.SplitStepDiagnosticsMonitor.observe_projected_terminal","visibility":"public","evidence_level":"source_static"}, +{"id":"python-d3108b764763c2f7","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/numerical_diagnostics.py","route_id":"route-c393f0eb296301f6","origin_key":"python:perovskite_sim.solver.numerical_diagnostics.SplitStepDiagnosticsMonitor.observe_raw_terminal","qualified_name":"perovskite_sim.solver.numerical_diagnostics.SplitStepDiagnosticsMonitor.observe_raw_terminal","visibility":"public","evidence_level":"source_static"}, +{"id":"python-a4235075e88160c6","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/numerical_diagnostics.py","route_id":"route-c393f0eb296301f6","origin_key":"python:perovskite_sim.solver.numerical_diagnostics.SplitStepDiagnosticsMonitor.observe_trial","qualified_name":"perovskite_sim.solver.numerical_diagnostics.SplitStepDiagnosticsMonitor.observe_trial","visibility":"public","evidence_level":"source_static"}, +{"id":"python-669351b29797a68a","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/numerical_diagnostics.py","route_id":"route-c393f0eb296301f6","origin_key":"python:perovskite_sim.solver.numerical_diagnostics.SplitStepDiagnosticsMonitor.report","qualified_name":"perovskite_sim.solver.numerical_diagnostics.SplitStepDiagnosticsMonitor.report","visibility":"public","evidence_level":"source_static"}, +{"id":"python-369f473241bf3793","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/solver/numerical_diagnostics.py","route_id":"route-c393f0eb296301f6","origin_key":"python:perovskite_sim.solver.numerical_diagnostics.SplitStepDiagnosticsPolicy","qualified_name":"perovskite_sim.solver.numerical_diagnostics.SplitStepDiagnosticsPolicy","visibility":"public","evidence_level":"source_static"}, +{"id":"python-2d4a821676965f9f","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/numerical_diagnostics.py","route_id":"route-c393f0eb296301f6","origin_key":"python:perovskite_sim.solver.numerical_diagnostics.SplitStepDiagnosticsPolicy.__post_init__","qualified_name":"perovskite_sim.solver.numerical_diagnostics.SplitStepDiagnosticsPolicy.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-1f0ed034a01c89cf","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/numerical_diagnostics.py","route_id":"route-c393f0eb296301f6","origin_key":"python:perovskite_sim.solver.numerical_diagnostics.SplitStepDiagnosticsPolicy.research_strict","qualified_name":"perovskite_sim.solver.numerical_diagnostics.SplitStepDiagnosticsPolicy.research_strict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-2c2206d09fefebea","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/numerical_diagnostics.py","route_id":"route-c393f0eb296301f6","origin_key":"python:perovskite_sim.solver.numerical_diagnostics.SplitStepDiagnosticsPolicy.strict","qualified_name":"perovskite_sim.solver.numerical_diagnostics.SplitStepDiagnosticsPolicy.strict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-941cf42c678b26c1","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/solver/numerical_diagnostics.py","route_id":"route-c393f0eb296301f6","origin_key":"python:perovskite_sim.solver.numerical_diagnostics.SplitStepDiagnosticsReport","qualified_name":"perovskite_sim.solver.numerical_diagnostics.SplitStepDiagnosticsReport","visibility":"public","evidence_level":"source_static"}, +{"id":"python-9c2cdca7d1ca1fff","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/solver/numerical_diagnostics.py","route_id":"route-c393f0eb296301f6","origin_key":"python:perovskite_sim.solver.numerical_diagnostics.SplitStepIonDiagnostics","qualified_name":"perovskite_sim.solver.numerical_diagnostics.SplitStepIonDiagnostics","visibility":"public","evidence_level":"source_static"}, +{"id":"python-e6af517650fdb32e","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/solver/numerical_diagnostics.py","route_id":"route-c393f0eb296301f6","origin_key":"python:perovskite_sim.solver.numerical_diagnostics.StateLayout","qualified_name":"perovskite_sim.solver.numerical_diagnostics.StateLayout","visibility":"public","evidence_level":"source_static"}, +{"id":"python-c7bb2615850df748","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/numerical_diagnostics.py","route_id":"route-c393f0eb296301f6","origin_key":"python:perovskite_sim.solver.numerical_diagnostics.StateLayout.__post_init__","qualified_name":"perovskite_sim.solver.numerical_diagnostics.StateLayout.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-ef80e5cd074d6d83","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/numerical_diagnostics.py","route_id":"route-c393f0eb296301f6","origin_key":"python:perovskite_sim.solver.numerical_diagnostics.StateLayout._normalize_mask","qualified_name":"perovskite_sim.solver.numerical_diagnostics.StateLayout._normalize_mask","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-2f8ce4f34d17f885","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/numerical_diagnostics.py","route_id":"route-c393f0eb296301f6","origin_key":"python:perovskite_sim.solver.numerical_diagnostics.StateLayout.active_density_mask","qualified_name":"perovskite_sim.solver.numerical_diagnostics.StateLayout.active_density_mask","visibility":"public","evidence_level":"source_static"}, +{"id":"python-04eca3fbeedfa361","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/numerical_diagnostics.py","route_id":"route-c393f0eb296301f6","origin_key":"python:perovskite_sim.solver.numerical_diagnostics.StateLayout.expected_size","qualified_name":"perovskite_sim.solver.numerical_diagnostics.StateLayout.expected_size","visibility":"public","evidence_level":"source_static"}, +{"id":"python-817f2eb3930a86f4","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/numerical_diagnostics.py","route_id":"route-c393f0eb296301f6","origin_key":"python:perovskite_sim.solver.numerical_diagnostics.StateLayout.split","qualified_name":"perovskite_sim.solver.numerical_diagnostics.StateLayout.split","visibility":"public","evidence_level":"source_static"}, +{"id":"python-1c48370966f550f0","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/solver/small_signal.py","route_id":"route-43b4d856f72236b2","origin_key":"python:perovskite_sim.solver.small_signal.FrequencyDomainCurrentComponent","qualified_name":"perovskite_sim.solver.small_signal.FrequencyDomainCurrentComponent","visibility":"public","evidence_level":"source_static"}, +{"id":"python-ed52a55172e20e58","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/solver/small_signal.py","route_id":"route-43b4d856f72236b2","origin_key":"python:perovskite_sim.solver.small_signal.FrequencyDomainResult","qualified_name":"perovskite_sim.solver.small_signal.FrequencyDomainResult","visibility":"public","evidence_level":"source_static"}, +{"id":"python-144e246c1b71199b","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/solver/small_signal.py","route_id":"route-43b4d856f72236b2","origin_key":"python:perovskite_sim.solver.small_signal.SmallSignalCurrentComponent","qualified_name":"perovskite_sim.solver.small_signal.SmallSignalCurrentComponent","visibility":"public","evidence_level":"source_static"}, +{"id":"python-8582b3a461847916","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/solver/small_signal.py","route_id":"route-43b4d856f72236b2","origin_key":"python:perovskite_sim.solver.small_signal.SmallSignalEvaluation","qualified_name":"perovskite_sim.solver.small_signal.SmallSignalEvaluation","visibility":"public","evidence_level":"source_static"}, +{"id":"python-bfe12e7e97542053","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/solver/small_signal.py","route_id":"route-43b4d856f72236b2","origin_key":"python:perovskite_sim.solver.small_signal.SmallSignalLinearizationError","qualified_name":"perovskite_sim.solver.small_signal.SmallSignalLinearizationError","visibility":"public","evidence_level":"source_static"}, +{"id":"python-56fb8cace3cf6286","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/small_signal.py","route_id":"route-43b4d856f72236b2","origin_key":"python:perovskite_sim.solver.small_signal._as_finite_vector","qualified_name":"perovskite_sim.solver.small_signal._as_finite_vector","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-e72e3bf167704fe3","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/small_signal.py","route_id":"route-43b4d856f72236b2","origin_key":"python:perovskite_sim.solver.small_signal._validate_evaluation","qualified_name":"perovskite_sim.solver.small_signal._validate_evaluation","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-6b230ccacd66cfcd","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/small_signal.py","route_id":"route-43b4d856f72236b2","origin_key":"python:perovskite_sim.solver.small_signal.solve_frequency_domain","qualified_name":"perovskite_sim.solver.small_signal.solve_frequency_domain","visibility":"public","evidence_level":"source_static"}, +{"id":"python-80b82fb0324e951f","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/solver/tolerances.py","route_id":"route-71d172f439a80d3c","origin_key":"python:perovskite_sim.solver.tolerances.ComponentwiseAtol","qualified_name":"perovskite_sim.solver.tolerances.ComponentwiseAtol","visibility":"public","evidence_level":"source_static"}, +{"id":"python-fcd8ef718747b5c0","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/tolerances.py","route_id":"route-71d172f439a80d3c","origin_key":"python:perovskite_sim.solver.tolerances.ComponentwiseAtol.__post_init__","qualified_name":"perovskite_sim.solver.tolerances.ComponentwiseAtol.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-d80a606e8bcfc2db","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/tolerances.py","route_id":"route-71d172f439a80d3c","origin_key":"python:perovskite_sim.solver.tolerances.ComponentwiseAtol.refined","qualified_name":"perovskite_sim.solver.tolerances.ComponentwiseAtol.refined","visibility":"public","evidence_level":"source_static"}, +{"id":"python-4a39956326199931","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/tolerances.py","route_id":"route-71d172f439a80d3c","origin_key":"python:perovskite_sim.solver.tolerances._carrier_reference_scales","qualified_name":"perovskite_sim.solver.tolerances._carrier_reference_scales","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-888cf6746479a1bd","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/tolerances.py","route_id":"route-71d172f439a80d3c","origin_key":"python:perovskite_sim.solver.tolerances._finite_vector","qualified_name":"perovskite_sim.solver.tolerances._finite_vector","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-dfd1c8ff1285826d","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/tolerances.py","route_id":"route-71d172f439a80d3c","origin_key":"python:perovskite_sim.solver.tolerances._matching_vector","qualified_name":"perovskite_sim.solver.tolerances._matching_vector","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-a02e24fe7cc2692f","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/tolerances.py","route_id":"route-71d172f439a80d3c","origin_key":"python:perovskite_sim.solver.tolerances._scaled_atol","qualified_name":"perovskite_sim.solver.tolerances._scaled_atol","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-9511f1f520fcdcea","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/tolerances.py","route_id":"route-71d172f439a80d3c","origin_key":"python:perovskite_sim.solver.tolerances.build_componentwise_atol_1d","qualified_name":"perovskite_sim.solver.tolerances.build_componentwise_atol_1d","visibility":"public","evidence_level":"source_static"}, +{"id":"python-8cfca892cecaa554","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/tolerances.py","route_id":"route-71d172f439a80d3c","origin_key":"python:perovskite_sim.solver.tolerances.build_componentwise_atol_2d","qualified_name":"perovskite_sim.solver.tolerances.build_componentwise_atol_2d","visibility":"public","evidence_level":"source_static"}, +{"id":"python-a39b0999ee9d4bb1","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/tolerances.py","route_id":"route-71d172f439a80d3c","origin_key":"python:perovskite_sim.solver.tolerances.build_componentwise_atol_ions","qualified_name":"perovskite_sim.solver.tolerances.build_componentwise_atol_ions","visibility":"public","evidence_level":"source_static"}, +{"id":"python-4a627043db59cbd3","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/solver/trap_transient.py","route_id":"route-eca4a978bb80bc1e","origin_key":"python:perovskite_sim.solver.trap_transient.LocalTrapTransientCertificationError","qualified_name":"perovskite_sim.solver.trap_transient.LocalTrapTransientCertificationError","visibility":"public","evidence_level":"source_static"}, +{"id":"python-299bb59ab47f47fc","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/solver/trap_transient.py","route_id":"route-eca4a978bb80bc1e","origin_key":"python:perovskite_sim.solver.trap_transient.LocalTrapTransientPolicy","qualified_name":"perovskite_sim.solver.trap_transient.LocalTrapTransientPolicy","visibility":"public","evidence_level":"source_static"}, +{"id":"python-31edbcd0235b7e47","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/trap_transient.py","route_id":"route-eca4a978bb80bc1e","origin_key":"python:perovskite_sim.solver.trap_transient.LocalTrapTransientPolicy.__post_init__","qualified_name":"perovskite_sim.solver.trap_transient.LocalTrapTransientPolicy.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-0219333b55879887","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/solver/trap_transient.py","route_id":"route-eca4a978bb80bc1e","origin_key":"python:perovskite_sim.solver.trap_transient.LocalTrapTransientResult","qualified_name":"perovskite_sim.solver.trap_transient.LocalTrapTransientResult","visibility":"public","evidence_level":"source_static"}, +{"id":"python-eb6545a21031d249","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/trap_transient.py","route_id":"route-eca4a978bb80bc1e","origin_key":"python:perovskite_sim.solver.trap_transient.LocalTrapTransientResult.__post_init__","qualified_name":"perovskite_sim.solver.trap_transient.LocalTrapTransientResult.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-d82b9971b6ced17a","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/solver/trap_transient.py","route_id":"route-eca4a978bb80bc1e","origin_key":"python:perovskite_sim.solver.trap_transient.solve_local_trap_transient","qualified_name":"perovskite_sim.solver.trap_transient.solve_local_trap_transient","visibility":"public","evidence_level":"source_static"}, +{"id":"python-115edb5bd6f191ce","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/sweeps/device_parameter_sweep.py","route_id":"route-10a93c77eb891674","origin_key":"python:perovskite_sim.sweeps.device_parameter_sweep.SweepPoint","qualified_name":"perovskite_sim.sweeps.device_parameter_sweep.SweepPoint","visibility":"public","evidence_level":"source_static"}, +{"id":"python-5ce8fb63e2170add","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/sweeps/device_parameter_sweep.py","route_id":"route-10a93c77eb891674","origin_key":"python:perovskite_sim.sweeps.device_parameter_sweep._apply_absorber_defect_density","qualified_name":"perovskite_sim.sweeps.device_parameter_sweep._apply_absorber_defect_density","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-36bf891f212a629f","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/sweeps/device_parameter_sweep.py","route_id":"route-10a93c77eb891674","origin_key":"python:perovskite_sim.sweeps.device_parameter_sweep._apply_absorber_defect_depth","qualified_name":"perovskite_sim.sweeps.device_parameter_sweep._apply_absorber_defect_depth","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-4d1c8c3fdd1cb1a9","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/sweeps/device_parameter_sweep.py","route_id":"route-10a93c77eb891674","origin_key":"python:perovskite_sim.sweeps.device_parameter_sweep._apply_absorber_interface_trap_density","qualified_name":"perovskite_sim.sweeps.device_parameter_sweep._apply_absorber_interface_trap_density","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-75b0f7d757a43448","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/sweeps/device_parameter_sweep.py","route_id":"route-10a93c77eb891674","origin_key":"python:perovskite_sim.sweeps.device_parameter_sweep._apply_etl_delta_ec","qualified_name":"perovskite_sim.sweeps.device_parameter_sweep._apply_etl_delta_ec","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-ccec2c1c29729439","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/sweeps/device_parameter_sweep.py","route_id":"route-10a93c77eb891674","origin_key":"python:perovskite_sim.sweeps.device_parameter_sweep._apply_htl_delta_ev","qualified_name":"perovskite_sim.sweeps.device_parameter_sweep._apply_htl_delta_ev","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-9c8164663f536fe4","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/sweeps/device_parameter_sweep.py","route_id":"route-10a93c77eb891674","origin_key":"python:perovskite_sim.sweeps.device_parameter_sweep._apply_interface_defect_E_t_eV","qualified_name":"perovskite_sim.sweeps.device_parameter_sweep._apply_interface_defect_E_t_eV","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-1c01a77ec86c395a","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/sweeps/device_parameter_sweep.py","route_id":"route-10a93c77eb891674","origin_key":"python:perovskite_sim.sweeps.device_parameter_sweep._apply_interface_defect_N_t_cm2","qualified_name":"perovskite_sim.sweeps.device_parameter_sweep._apply_interface_defect_N_t_cm2","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-3fe55b78d74219ce","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/sweeps/device_parameter_sweep.py","route_id":"route-10a93c77eb891674","origin_key":"python:perovskite_sim.sweeps.device_parameter_sweep._apply_internal_interface_srv","qualified_name":"perovskite_sim.sweeps.device_parameter_sweep._apply_internal_interface_srv","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-16fcee9dc83b2f8c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/sweeps/device_parameter_sweep.py","route_id":"route-10a93c77eb891674","origin_key":"python:perovskite_sim.sweeps.device_parameter_sweep._axis_label","qualified_name":"perovskite_sim.sweeps.device_parameter_sweep._axis_label","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-b3d87f8b7226abb6","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/sweeps/device_parameter_sweep.py","route_id":"route-10a93c77eb891674","origin_key":"python:perovskite_sim.sweeps.device_parameter_sweep._axis_x_value","qualified_name":"perovskite_sim.sweeps.device_parameter_sweep._axis_x_value","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-d98a33e33d246c17","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/sweeps/device_parameter_sweep.py","route_id":"route-10a93c77eb891674","origin_key":"python:perovskite_sim.sweeps.device_parameter_sweep._csv_row","qualified_name":"perovskite_sim.sweeps.device_parameter_sweep._csv_row","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-dc69fd442042e53b","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/sweeps/device_parameter_sweep.py","route_id":"route-10a93c77eb891674","origin_key":"python:perovskite_sim.sweeps.device_parameter_sweep._decades","qualified_name":"perovskite_sim.sweeps.device_parameter_sweep._decades","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-d1502340224ca6e0","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/sweeps/device_parameter_sweep.py","route_id":"route-10a93c77eb891674","origin_key":"python:perovskite_sim.sweeps.device_parameter_sweep._float_range","qualified_name":"perovskite_sim.sweeps.device_parameter_sweep._float_range","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-4b2e42b52ddb7d68","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/sweeps/device_parameter_sweep.py","route_id":"route-10a93c77eb891674","origin_key":"python:perovskite_sim.sweeps.device_parameter_sweep._is_log_axis","qualified_name":"perovskite_sim.sweeps.device_parameter_sweep._is_log_axis","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-7185816c94f1b7ad","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/sweeps/device_parameter_sweep.py","route_id":"route-10a93c77eb891674","origin_key":"python:perovskite_sim.sweeps.device_parameter_sweep._metric_slug","qualified_name":"perovskite_sim.sweeps.device_parameter_sweep._metric_slug","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-7d707b6e9bf59da6","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/sweeps/device_parameter_sweep.py","route_id":"route-10a93c77eb891674","origin_key":"python:perovskite_sim.sweeps.device_parameter_sweep._metric_value","qualified_name":"perovskite_sim.sweeps.device_parameter_sweep._metric_value","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-9fc6006e80108d88","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/sweeps/device_parameter_sweep.py","route_id":"route-10a93c77eb891674","origin_key":"python:perovskite_sim.sweeps.device_parameter_sweep._optional_float","qualified_name":"perovskite_sim.sweeps.device_parameter_sweep._optional_float","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-90abdc5ca77fa829","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/sweeps/device_parameter_sweep.py","route_id":"route-10a93c77eb891674","origin_key":"python:perovskite_sim.sweeps.device_parameter_sweep._params_by_role","qualified_name":"perovskite_sim.sweeps.device_parameter_sweep._params_by_role","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-4f5ee722edc0089b","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/sweeps/device_parameter_sweep.py","route_id":"route-10a93c77eb891674","origin_key":"python:perovskite_sim.sweeps.device_parameter_sweep._replace_layer_params_by_role","qualified_name":"perovskite_sim.sweeps.device_parameter_sweep._replace_layer_params_by_role","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-b3854bf0434a8700","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/sweeps/device_parameter_sweep.py","route_id":"route-10a93c77eb891674","origin_key":"python:perovskite_sim.sweeps.device_parameter_sweep._require_params_by_role","qualified_name":"perovskite_sim.sweeps.device_parameter_sweep._require_params_by_role","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-1f4158e1fbdd29c8","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/sweeps/device_parameter_sweep.py","route_id":"route-10a93c77eb891674","origin_key":"python:perovskite_sim.sweeps.device_parameter_sweep._resolve_existing_path","qualified_name":"perovskite_sim.sweeps.device_parameter_sweep._resolve_existing_path","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-ce9822bcbcb17e9b","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/sweeps/device_parameter_sweep.py","route_id":"route-10a93c77eb891674","origin_key":"python:perovskite_sim.sweeps.device_parameter_sweep._resolve_interface_sweep_target","qualified_name":"perovskite_sim.sweeps.device_parameter_sweep._resolve_interface_sweep_target","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-aac7c7d09bdb135c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/sweeps/device_parameter_sweep.py","route_id":"route-10a93c77eb891674","origin_key":"python:perovskite_sim.sweeps.device_parameter_sweep._sci_slug","qualified_name":"perovskite_sim.sweeps.device_parameter_sweep._sci_slug","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-ffae4f91fecd54cf","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/sweeps/device_parameter_sweep.py","route_id":"route-10a93c77eb891674","origin_key":"python:perovskite_sim.sweeps.device_parameter_sweep._slug","qualified_name":"perovskite_sim.sweeps.device_parameter_sweep._slug","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-eace3dc623f89783","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/sweeps/device_parameter_sweep.py","route_id":"route-10a93c77eb891674","origin_key":"python:perovskite_sim.sweeps.device_parameter_sweep._summarise_records","qualified_name":"perovskite_sim.sweeps.device_parameter_sweep._summarise_records","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-ff4d40bd790aacab","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/sweeps/device_parameter_sweep.py","route_id":"route-10a93c77eb891674","origin_key":"python:perovskite_sim.sweeps.device_parameter_sweep._trap_tau_scale","qualified_name":"perovskite_sim.sweeps.device_parameter_sweep._trap_tau_scale","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-40a1296762623992","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/sweeps/device_parameter_sweep.py","route_id":"route-10a93c77eb891674","origin_key":"python:perovskite_sim.sweeps.device_parameter_sweep.apply_sweep_point","qualified_name":"perovskite_sim.sweeps.device_parameter_sweep.apply_sweep_point","visibility":"public","evidence_level":"source_static"}, +{"id":"python-e8676ab5b823a6da","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/sweeps/device_parameter_sweep.py","route_id":"route-10a93c77eb891674","origin_key":"python:perovskite_sim.sweeps.device_parameter_sweep.cm3_to_m3","qualified_name":"perovskite_sim.sweeps.device_parameter_sweep.cm3_to_m3","visibility":"public","evidence_level":"source_static"}, +{"id":"python-455b7a370f4d011e","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/sweeps/device_parameter_sweep.py","route_id":"route-10a93c77eb891674","origin_key":"python:perovskite_sim.sweeps.device_parameter_sweep.cms_to_ms","qualified_name":"perovskite_sim.sweeps.device_parameter_sweep.cms_to_ms","visibility":"public","evidence_level":"source_static"}, +{"id":"python-50d42571e4c18af8","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/sweeps/device_parameter_sweep.py","route_id":"route-10a93c77eb891674","origin_key":"python:perovskite_sim.sweeps.device_parameter_sweep.describe_stack","qualified_name":"perovskite_sim.sweeps.device_parameter_sweep.describe_stack","visibility":"public","evidence_level":"source_static"}, +{"id":"python-d2d8ef6af72344e9","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/sweeps/device_parameter_sweep.py","route_id":"route-10a93c77eb891674","origin_key":"python:perovskite_sim.sweeps.device_parameter_sweep.make_coupled_points","qualified_name":"perovskite_sim.sweeps.device_parameter_sweep.make_coupled_points","visibility":"public","evidence_level":"source_static"}, +{"id":"python-e9ff345c601952d4","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/sweeps/device_parameter_sweep.py","route_id":"route-10a93c77eb891674","origin_key":"python:perovskite_sim.sweeps.device_parameter_sweep.make_defect_matrix_points","qualified_name":"perovskite_sim.sweeps.device_parameter_sweep.make_defect_matrix_points","visibility":"public","evidence_level":"source_static"}, +{"id":"python-e4a9836aa7f605a4","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/sweeps/device_parameter_sweep.py","route_id":"route-10a93c77eb891674","origin_key":"python:perovskite_sim.sweeps.device_parameter_sweep.make_full_one_factor_points","qualified_name":"perovskite_sim.sweeps.device_parameter_sweep.make_full_one_factor_points","visibility":"public","evidence_level":"source_static"}, +{"id":"python-c4d513cc02a416f0","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/sweeps/device_parameter_sweep.py","route_id":"route-10a93c77eb891674","origin_key":"python:perovskite_sim.sweeps.device_parameter_sweep.make_pilot_points","qualified_name":"perovskite_sim.sweeps.device_parameter_sweep.make_pilot_points","visibility":"public","evidence_level":"source_static"}, +{"id":"python-dddd2c4928065d50","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/sweeps/device_parameter_sweep.py","route_id":"route-10a93c77eb891674","origin_key":"python:perovskite_sim.sweeps.device_parameter_sweep.run_sweep","qualified_name":"perovskite_sim.sweeps.device_parameter_sweep.run_sweep","visibility":"public","evidence_level":"source_static"}, +{"id":"python-689ab482338c321a","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/sweeps/device_parameter_sweep.py","route_id":"route-10a93c77eb891674","origin_key":"python:perovskite_sim.sweeps.device_parameter_sweep.run_sweep_point","qualified_name":"perovskite_sim.sweeps.device_parameter_sweep.run_sweep_point","visibility":"public","evidence_level":"source_static"}, +{"id":"python-b7f1f991bce844b5","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/sweeps/device_parameter_sweep.py","route_id":"route-10a93c77eb891674","origin_key":"python:perovskite_sim.sweeps.device_parameter_sweep.srh_n1_p1_from_trap_depth","qualified_name":"perovskite_sim.sweeps.device_parameter_sweep.srh_n1_p1_from_trap_depth","visibility":"public","evidence_level":"source_static"}, +{"id":"python-23613591e81d5e3b","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/sweeps/device_parameter_sweep.py","route_id":"route-10a93c77eb891674","origin_key":"python:perovskite_sim.sweeps.device_parameter_sweep.write_results_csv","qualified_name":"perovskite_sim.sweeps.device_parameter_sweep.write_results_csv","visibility":"public","evidence_level":"source_static"}, +{"id":"python-e3460e74fdcfc2f4","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/sweeps/device_parameter_sweep.py","route_id":"route-10a93c77eb891674","origin_key":"python:perovskite_sim.sweeps.device_parameter_sweep.write_results_json","qualified_name":"perovskite_sim.sweeps.device_parameter_sweep.write_results_json","visibility":"public","evidence_level":"source_static"}, +{"id":"python-f5e36d66aed00fa2","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/sweeps/device_parameter_sweep.py","route_id":"route-10a93c77eb891674","origin_key":"python:perovskite_sim.sweeps.device_parameter_sweep.write_summary_plots","qualified_name":"perovskite_sim.sweeps.device_parameter_sweep.write_summary_plots","visibility":"public","evidence_level":"source_static"}, +{"id":"python-b78517410e876025","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/twod/continuity_2d.py","route_id":"route-844c1e34b65a763f","origin_key":"python:perovskite_sim.twod.continuity_2d.apply_thermionic_caps_y","qualified_name":"perovskite_sim.twod.continuity_2d.apply_thermionic_caps_y","visibility":"public","evidence_level":"source_static"}, +{"id":"python-01e97e3e3a074274","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/twod/continuity_2d.py","route_id":"route-844c1e34b65a763f","origin_key":"python:perovskite_sim.twod.continuity_2d.continuity_rhs_2d","qualified_name":"perovskite_sim.twod.continuity_2d.continuity_rhs_2d","visibility":"public","evidence_level":"source_static"}, +{"id":"python-ad7bf11110236b25","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/twod/experiments/jv_protocol_2d.py","route_id":"route-f9fdf98fcf51218e","origin_key":"python:perovskite_sim.twod.experiments.jv_protocol_2d.JV2DAtolProtocol","qualified_name":"perovskite_sim.twod.experiments.jv_protocol_2d.JV2DAtolProtocol","visibility":"public","evidence_level":"source_static"}, +{"id":"python-36b9ed1c218f0d08","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/twod/experiments/jv_protocol_2d.py","route_id":"route-f9fdf98fcf51218e","origin_key":"python:perovskite_sim.twod.experiments.jv_protocol_2d.JV2DAtolProtocol.__post_init__","qualified_name":"perovskite_sim.twod.experiments.jv_protocol_2d.JV2DAtolProtocol.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-6fd043d7172715d1","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/twod/experiments/jv_protocol_2d.py","route_id":"route-f9fdf98fcf51218e","origin_key":"python:perovskite_sim.twod.experiments.jv_protocol_2d.JV2DAtolProtocol.from_absolute_tolerance","qualified_name":"perovskite_sim.twod.experiments.jv_protocol_2d.JV2DAtolProtocol.from_absolute_tolerance","visibility":"public","evidence_level":"source_static"}, +{"id":"python-f10bf462536bdbf2","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/twod/experiments/jv_protocol_2d.py","route_id":"route-f9fdf98fcf51218e","origin_key":"python:perovskite_sim.twod.experiments.jv_protocol_2d.JV2DAtolProtocol.from_dict","qualified_name":"perovskite_sim.twod.experiments.jv_protocol_2d.JV2DAtolProtocol.from_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-13e08b18880e1493","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/twod/experiments/jv_protocol_2d.py","route_id":"route-f9fdf98fcf51218e","origin_key":"python:perovskite_sim.twod.experiments.jv_protocol_2d.JV2DAtolProtocol.to_absolute_tolerance","qualified_name":"perovskite_sim.twod.experiments.jv_protocol_2d.JV2DAtolProtocol.to_absolute_tolerance","visibility":"public","evidence_level":"source_static"}, +{"id":"python-9ae6cd12f01d7a3f","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/twod/experiments/jv_protocol_2d.py","route_id":"route-f9fdf98fcf51218e","origin_key":"python:perovskite_sim.twod.experiments.jv_protocol_2d.JV2DGrainBoundaryProtocol","qualified_name":"perovskite_sim.twod.experiments.jv_protocol_2d.JV2DGrainBoundaryProtocol","visibility":"public","evidence_level":"source_static"}, +{"id":"python-130718d17c04dc31","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/twod/experiments/jv_protocol_2d.py","route_id":"route-f9fdf98fcf51218e","origin_key":"python:perovskite_sim.twod.experiments.jv_protocol_2d.JV2DGrainBoundaryProtocol.__post_init__","qualified_name":"perovskite_sim.twod.experiments.jv_protocol_2d.JV2DGrainBoundaryProtocol.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-bc7b00fa95c5230f","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/twod/experiments/jv_protocol_2d.py","route_id":"route-f9fdf98fcf51218e","origin_key":"python:perovskite_sim.twod.experiments.jv_protocol_2d.JV2DGrainBoundaryProtocol.from_dict","qualified_name":"perovskite_sim.twod.experiments.jv_protocol_2d.JV2DGrainBoundaryProtocol.from_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-bea7031d32bfc223","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/twod/experiments/jv_protocol_2d.py","route_id":"route-f9fdf98fcf51218e","origin_key":"python:perovskite_sim.twod.experiments.jv_protocol_2d.JV2DGrainBoundaryProtocol.from_grain_boundary","qualified_name":"perovskite_sim.twod.experiments.jv_protocol_2d.JV2DGrainBoundaryProtocol.from_grain_boundary","visibility":"public","evidence_level":"source_static"}, +{"id":"python-6aff08e8305424ac","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/twod/experiments/jv_protocol_2d.py","route_id":"route-f9fdf98fcf51218e","origin_key":"python:perovskite_sim.twod.experiments.jv_protocol_2d.JV2DProtocol","qualified_name":"perovskite_sim.twod.experiments.jv_protocol_2d.JV2DProtocol","visibility":"public","evidence_level":"source_static"}, +{"id":"python-3d436a21a64b6a5d","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/twod/experiments/jv_protocol_2d.py","route_id":"route-f9fdf98fcf51218e","origin_key":"python:perovskite_sim.twod.experiments.jv_protocol_2d.JV2DProtocol.__post_init__","qualified_name":"perovskite_sim.twod.experiments.jv_protocol_2d.JV2DProtocol.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-cba6f52aa12ed51d","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/twod/experiments/jv_protocol_2d.py","route_id":"route-f9fdf98fcf51218e","origin_key":"python:perovskite_sim.twod.experiments.jv_protocol_2d.JV2DProtocol.as_explicit","qualified_name":"perovskite_sim.twod.experiments.jv_protocol_2d.JV2DProtocol.as_explicit","visibility":"public","evidence_level":"source_static"}, +{"id":"python-6d0f0f68f2565a50","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/twod/experiments/jv_protocol_2d.py","route_id":"route-f9fdf98fcf51218e","origin_key":"python:perovskite_sim.twod.experiments.jv_protocol_2d.JV2DProtocol.canonical_json","qualified_name":"perovskite_sim.twod.experiments.jv_protocol_2d.JV2DProtocol.canonical_json","visibility":"public","evidence_level":"source_static"}, +{"id":"python-223b988f0d615794","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/twod/experiments/jv_protocol_2d.py","route_id":"route-f9fdf98fcf51218e","origin_key":"python:perovskite_sim.twod.experiments.jv_protocol_2d.JV2DProtocol.from_dict","qualified_name":"perovskite_sim.twod.experiments.jv_protocol_2d.JV2DProtocol.from_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-c45a6f5a9b526bb9","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/twod/experiments/jv_protocol_2d.py","route_id":"route-f9fdf98fcf51218e","origin_key":"python:perovskite_sim.twod.experiments.jv_protocol_2d.JV2DProtocol.from_json","qualified_name":"perovskite_sim.twod.experiments.jv_protocol_2d.JV2DProtocol.from_json","visibility":"public","evidence_level":"source_static"}, +{"id":"python-c7852798c7505ecf","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/twod/experiments/jv_protocol_2d.py","route_id":"route-f9fdf98fcf51218e","origin_key":"python:perovskite_sim.twod.experiments.jv_protocol_2d.JV2DProtocol.protocol_hash","qualified_name":"perovskite_sim.twod.experiments.jv_protocol_2d.JV2DProtocol.protocol_hash","visibility":"public","evidence_level":"source_static"}, +{"id":"python-2b0ad8940d52a7cd","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/twod/experiments/jv_protocol_2d.py","route_id":"route-f9fdf98fcf51218e","origin_key":"python:perovskite_sim.twod.experiments.jv_protocol_2d.JV2DProtocol.sha256","qualified_name":"perovskite_sim.twod.experiments.jv_protocol_2d.JV2DProtocol.sha256","visibility":"public","evidence_level":"source_static"}, +{"id":"python-a53353316c8038cf","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/twod/experiments/jv_protocol_2d.py","route_id":"route-f9fdf98fcf51218e","origin_key":"python:perovskite_sim.twod.experiments.jv_protocol_2d.JV2DProtocol.to_dict","qualified_name":"perovskite_sim.twod.experiments.jv_protocol_2d.JV2DProtocol.to_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-67ace2d6a30c86b5","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/twod/experiments/jv_protocol_2d.py","route_id":"route-f9fdf98fcf51218e","origin_key":"python:perovskite_sim.twod.experiments.jv_protocol_2d._finite","qualified_name":"perovskite_sim.twod.experiments.jv_protocol_2d._finite","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-beed1985ffff8b4a","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/twod/experiments/jv_protocol_2d.py","route_id":"route-f9fdf98fcf51218e","origin_key":"python:perovskite_sim.twod.experiments.jv_protocol_2d._finite_tuple","qualified_name":"perovskite_sim.twod.experiments.jv_protocol_2d._finite_tuple","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-8472250d0603d143","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/twod/experiments/jv_protocol_2d.py","route_id":"route-f9fdf98fcf51218e","origin_key":"python:perovskite_sim.twod.experiments.jv_protocol_2d._nonnegative","qualified_name":"perovskite_sim.twod.experiments.jv_protocol_2d._nonnegative","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-f3ac6ecda634912b","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/twod/experiments/jv_protocol_2d.py","route_id":"route-f9fdf98fcf51218e","origin_key":"python:perovskite_sim.twod.experiments.jv_protocol_2d._nonnegative_integer","qualified_name":"perovskite_sim.twod.experiments.jv_protocol_2d._nonnegative_integer","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-de97ddfa5700cd3a","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/twod/experiments/jv_protocol_2d.py","route_id":"route-f9fdf98fcf51218e","origin_key":"python:perovskite_sim.twod.experiments.jv_protocol_2d._positive","qualified_name":"perovskite_sim.twod.experiments.jv_protocol_2d._positive","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-b89dc9cecc82fd9d","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/twod/experiments/jv_protocol_2d.py","route_id":"route-f9fdf98fcf51218e","origin_key":"python:perovskite_sim.twod.experiments.jv_protocol_2d._positive_integer","qualified_name":"perovskite_sim.twod.experiments.jv_protocol_2d._positive_integer","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-1a25298bf2fbba0c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/twod/experiments/jv_protocol_2d.py","route_id":"route-f9fdf98fcf51218e","origin_key":"python:perovskite_sim.twod.experiments.jv_protocol_2d._strict_keys","qualified_name":"perovskite_sim.twod.experiments.jv_protocol_2d._strict_keys","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-11683f3022563916","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/twod/experiments/jv_protocol_2d.py","route_id":"route-f9fdf98fcf51218e","origin_key":"python:perovskite_sim.twod.experiments.jv_protocol_2d.build_jv_2d_protocol","qualified_name":"perovskite_sim.twod.experiments.jv_protocol_2d.build_jv_2d_protocol","visibility":"public","evidence_level":"source_static"}, +{"id":"python-fd941acc85d5e1f4","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/twod/experiments/jv_protocol_2d.py","route_id":"route-f9fdf98fcf51218e","origin_key":"python:perovskite_sim.twod.experiments.jv_protocol_2d.resolve_jv_2d_protocol","qualified_name":"perovskite_sim.twod.experiments.jv_protocol_2d.resolve_jv_2d_protocol","visibility":"public","evidence_level":"source_static"}, +{"id":"python-163294d5f52f9edb","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/twod/experiments/jv_sweep_2d.py","route_id":"route-3b814b18cfea71be","origin_key":"python:perovskite_sim.twod.experiments.jv_sweep_2d.JV2DResult","qualified_name":"perovskite_sim.twod.experiments.jv_sweep_2d.JV2DResult","visibility":"public","evidence_level":"source_static"}, +{"id":"python-46e8baa00a74ab4f","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/twod/experiments/jv_sweep_2d.py","route_id":"route-3b814b18cfea71be","origin_key":"python:perovskite_sim.twod.experiments.jv_sweep_2d._bake_radiative_reabsorption_step_2d","qualified_name":"perovskite_sim.twod.experiments.jv_sweep_2d._bake_radiative_reabsorption_step_2d","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-31758aa36e498819","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/twod/experiments/jv_sweep_2d.py","route_id":"route-3b814b18cfea71be","origin_key":"python:perovskite_sim.twod.experiments.jv_sweep_2d._carrier_boundary_condition","qualified_name":"perovskite_sim.twod.experiments.jv_sweep_2d._carrier_boundary_condition","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-5907ba3ad5b79ae0","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/twod/experiments/jv_sweep_2d.py","route_id":"route-3b814b18cfea71be","origin_key":"python:perovskite_sim.twod.experiments.jv_sweep_2d._integrate_step_2d","qualified_name":"perovskite_sim.twod.experiments.jv_sweep_2d._integrate_step_2d","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-81be7d2836fc5a06","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/twod/experiments/jv_sweep_2d.py","route_id":"route-3b814b18cfea71be","origin_key":"python:perovskite_sim.twod.experiments.jv_sweep_2d._jv_2d_grid","qualified_name":"perovskite_sim.twod.experiments.jv_sweep_2d._jv_2d_grid","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-51745a680b68e3d3","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/twod/experiments/jv_sweep_2d.py","route_id":"route-3b814b18cfea71be","origin_key":"python:perovskite_sim.twod.experiments.jv_sweep_2d._jv_2d_voltage_values","qualified_name":"perovskite_sim.twod.experiments.jv_sweep_2d._jv_2d_voltage_values","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-a30526eb7b4d6a98","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/twod/experiments/jv_sweep_2d.py","route_id":"route-3b814b18cfea71be","origin_key":"python:perovskite_sim.twod.experiments.jv_sweep_2d._resolve_microstructure","qualified_name":"perovskite_sim.twod.experiments.jv_sweep_2d._resolve_microstructure","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-71529cb9eb6e1e01","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/twod/experiments/jv_sweep_2d.py","route_id":"route-3b814b18cfea71be","origin_key":"python:perovskite_sim.twod.experiments.jv_sweep_2d.build_jv_2d_execution_protocol","qualified_name":"perovskite_sim.twod.experiments.jv_sweep_2d.build_jv_2d_execution_protocol","visibility":"public","evidence_level":"source_static"}, +{"id":"python-e039565f0e0d8729","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/twod/experiments/jv_sweep_2d.py","route_id":"route-3b814b18cfea71be","origin_key":"python:perovskite_sim.twod.experiments.jv_sweep_2d.run_jv_sweep_2d","qualified_name":"perovskite_sim.twod.experiments.jv_sweep_2d.run_jv_sweep_2d","visibility":"public","evidence_level":"source_static"}, +{"id":"python-77dbf84027a4e6e2","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/twod/experiments/voc_grain_sweep.py","route_id":"route-b425dc190363a785","origin_key":"python:perovskite_sim.twod.experiments.voc_grain_sweep.VocGrainSweepResult","qualified_name":"perovskite_sim.twod.experiments.voc_grain_sweep.VocGrainSweepResult","visibility":"public","evidence_level":"source_static"}, +{"id":"python-5b2957298956c59e","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/twod/experiments/voc_grain_sweep.py","route_id":"route-b425dc190363a785","origin_key":"python:perovskite_sim.twod.experiments.voc_grain_sweep.run_voc_grain_sweep","qualified_name":"perovskite_sim.twod.experiments.voc_grain_sweep.run_voc_grain_sweep","visibility":"public","evidence_level":"source_static"}, +{"id":"python-c84f7217fe6348b1","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/twod/field_mobility_2d.py","route_id":"route-3c9af4aa95a90ec1","origin_key":"python:perovskite_sim.twod.field_mobility_2d.FieldMobilityDEff","qualified_name":"perovskite_sim.twod.field_mobility_2d.FieldMobilityDEff","visibility":"public","evidence_level":"source_static"}, +{"id":"python-90810b3bcaba769b","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/twod/field_mobility_2d.py","route_id":"route-3c9af4aa95a90ec1","origin_key":"python:perovskite_sim.twod.field_mobility_2d._check_wrap","qualified_name":"perovskite_sim.twod.field_mobility_2d._check_wrap","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-635caf894590b8b9","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/twod/field_mobility_2d.py","route_id":"route-3c9af4aa95a90ec1","origin_key":"python:perovskite_sim.twod.field_mobility_2d._check_x_face","qualified_name":"perovskite_sim.twod.field_mobility_2d._check_x_face","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-8c7d283db49505a8","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/twod/field_mobility_2d.py","route_id":"route-3c9af4aa95a90ec1","origin_key":"python:perovskite_sim.twod.field_mobility_2d._check_y_face","qualified_name":"perovskite_sim.twod.field_mobility_2d._check_y_face","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-7f4558de48806770","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/twod/field_mobility_2d.py","route_id":"route-3c9af4aa95a90ec1","origin_key":"python:perovskite_sim.twod.field_mobility_2d._harmonic_face_wrap","qualified_name":"perovskite_sim.twod.field_mobility_2d._harmonic_face_wrap","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-2a28f6ec6f7bcebb","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/twod/field_mobility_2d.py","route_id":"route-3c9af4aa95a90ec1","origin_key":"python:perovskite_sim.twod.field_mobility_2d._harmonic_face_x","qualified_name":"perovskite_sim.twod.field_mobility_2d._harmonic_face_x","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-5d59d9e8c2fd0529","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/twod/field_mobility_2d.py","route_id":"route-3c9af4aa95a90ec1","origin_key":"python:perovskite_sim.twod.field_mobility_2d._harmonic_face_y","qualified_name":"perovskite_sim.twod.field_mobility_2d._harmonic_face_y","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-9da0e5253e7655b5","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/twod/field_mobility_2d.py","route_id":"route-3c9af4aa95a90ec1","origin_key":"python:perovskite_sim.twod.field_mobility_2d.arith_mean_face_wrap","qualified_name":"perovskite_sim.twod.field_mobility_2d.arith_mean_face_wrap","visibility":"public","evidence_level":"source_static"}, +{"id":"python-82c1ed7ff079561c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/twod/field_mobility_2d.py","route_id":"route-3c9af4aa95a90ec1","origin_key":"python:perovskite_sim.twod.field_mobility_2d.arith_mean_face_x","qualified_name":"perovskite_sim.twod.field_mobility_2d.arith_mean_face_x","visibility":"public","evidence_level":"source_static"}, +{"id":"python-664edceab739b3e1","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/twod/field_mobility_2d.py","route_id":"route-3c9af4aa95a90ec1","origin_key":"python:perovskite_sim.twod.field_mobility_2d.arith_mean_face_y","qualified_name":"perovskite_sim.twod.field_mobility_2d.arith_mean_face_y","visibility":"public","evidence_level":"source_static"}, +{"id":"python-1db536548bbd7737","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/twod/field_mobility_2d.py","route_id":"route-3c9af4aa95a90ec1","origin_key":"python:perovskite_sim.twod.field_mobility_2d.recompute_d_eff_2d","qualified_name":"perovskite_sim.twod.field_mobility_2d.recompute_d_eff_2d","visibility":"public","evidence_level":"source_static"}, +{"id":"python-5fd22674fe05ca2c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/twod/flux_2d.py","route_id":"route-efcdc5733981d9ea","origin_key":"python:perovskite_sim.twod.flux_2d.sg_fluxes_2d_n","qualified_name":"perovskite_sim.twod.flux_2d.sg_fluxes_2d_n","visibility":"public","evidence_level":"source_static"}, +{"id":"python-7ef5e9e566a6d664","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/twod/flux_2d.py","route_id":"route-efcdc5733981d9ea","origin_key":"python:perovskite_sim.twod.flux_2d.sg_fluxes_2d_p","qualified_name":"perovskite_sim.twod.flux_2d.sg_fluxes_2d_p","visibility":"public","evidence_level":"source_static"}, +{"id":"python-1a8f6e8faf1ed953","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/twod/grid_2d.py","route_id":"route-f1926abcdb56e6c5","origin_key":"python:perovskite_sim.twod.grid_2d.Grid2D","qualified_name":"perovskite_sim.twod.grid_2d.Grid2D","visibility":"public","evidence_level":"source_static"}, +{"id":"python-f72df2e4e3f62c8a","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/twod/grid_2d.py","route_id":"route-f1926abcdb56e6c5","origin_key":"python:perovskite_sim.twod.grid_2d.Grid2D.Nx","qualified_name":"perovskite_sim.twod.grid_2d.Grid2D.Nx","visibility":"public","evidence_level":"source_static"}, +{"id":"python-790ea03ce05b7473","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/twod/grid_2d.py","route_id":"route-f1926abcdb56e6c5","origin_key":"python:perovskite_sim.twod.grid_2d.Grid2D.Ny","qualified_name":"perovskite_sim.twod.grid_2d.Grid2D.Ny","visibility":"public","evidence_level":"source_static"}, +{"id":"python-b318143575539a2d","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/twod/grid_2d.py","route_id":"route-f1926abcdb56e6c5","origin_key":"python:perovskite_sim.twod.grid_2d.Grid2D.n_nodes","qualified_name":"perovskite_sim.twod.grid_2d.Grid2D.n_nodes","visibility":"public","evidence_level":"source_static"}, +{"id":"python-c69d9380db37fb57","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/twod/grid_2d.py","route_id":"route-f1926abcdb56e6c5","origin_key":"python:perovskite_sim.twod.grid_2d.build_grid_2d","qualified_name":"perovskite_sim.twod.grid_2d.build_grid_2d","visibility":"public","evidence_level":"source_static"}, +{"id":"python-29709ca6db2fba9a","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/twod/interface_recombination_2d.py","route_id":"route-77076e703f3ff9b4","origin_key":"python:perovskite_sim.twod.interface_recombination_2d.TwoSidedInterfaceSRHCoupling2D","qualified_name":"perovskite_sim.twod.interface_recombination_2d.TwoSidedInterfaceSRHCoupling2D","visibility":"public","evidence_level":"source_static"}, +{"id":"python-c363c4813af45c2a","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/twod/interface_recombination_2d.py","route_id":"route-77076e703f3ff9b4","origin_key":"python:perovskite_sim.twod.interface_recombination_2d.TwoSidedInterfaceSRHReport2D","qualified_name":"perovskite_sim.twod.interface_recombination_2d.TwoSidedInterfaceSRHReport2D","visibility":"public","evidence_level":"source_static"}, +{"id":"python-85d51e49f7e6c922","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/twod/interface_recombination_2d.py","route_id":"route-77076e703f3ff9b4","origin_key":"python:perovskite_sim.twod.interface_recombination_2d._finite_nonnegative","qualified_name":"perovskite_sim.twod.interface_recombination_2d._finite_nonnegative","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-5327f8b1742b62b4","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/twod/interface_recombination_2d.py","route_id":"route-77076e703f3ff9b4","origin_key":"python:perovskite_sim.twod.interface_recombination_2d._finite_positive","qualified_name":"perovskite_sim.twod.interface_recombination_2d._finite_positive","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-468e0cfb1f07d1b5","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/twod/interface_recombination_2d.py","route_id":"route-77076e703f3ff9b4","origin_key":"python:perovskite_sim.twod.interface_recombination_2d._normal_control_volume_widths","qualified_name":"perovskite_sim.twod.interface_recombination_2d._normal_control_volume_widths","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-4b4e037adcaff46b","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/twod/interface_recombination_2d.py","route_id":"route-77076e703f3ff9b4","origin_key":"python:perovskite_sim.twod.interface_recombination_2d._read_only","qualified_name":"perovskite_sim.twod.interface_recombination_2d._read_only","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-7a0ee119713d21b3","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/twod/interface_recombination_2d.py","route_id":"route-77076e703f3ff9b4","origin_key":"python:perovskite_sim.twod.interface_recombination_2d._unsupported_interface_modes","qualified_name":"perovskite_sim.twod.interface_recombination_2d._unsupported_interface_modes","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-c7ab4496c82ddaf6","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/twod/interface_recombination_2d.py","route_id":"route-77076e703f3ff9b4","origin_key":"python:perovskite_sim.twod.interface_recombination_2d.build_two_sided_interface_srh_couplings_2d","qualified_name":"perovskite_sim.twod.interface_recombination_2d.build_two_sided_interface_srh_couplings_2d","visibility":"public","evidence_level":"source_static"}, +{"id":"python-d134ad6c1e4ce13c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/twod/interface_recombination_2d.py","route_id":"route-77076e703f3ff9b4","origin_key":"python:perovskite_sim.twod.interface_recombination_2d.evaluate_two_sided_interface_srh_2d","qualified_name":"perovskite_sim.twod.interface_recombination_2d.evaluate_two_sided_interface_srh_2d","visibility":"public","evidence_level":"source_static"}, +{"id":"python-aced0eef6db21d9f","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/twod/ion_migration_2d.py","route_id":"route-c13168d4a449764d","origin_key":"python:perovskite_sim.twod.ion_migration_2d.IonFluxes2D","qualified_name":"perovskite_sim.twod.ion_migration_2d.IonFluxes2D","visibility":"public","evidence_level":"source_static"}, +{"id":"python-cc7fc64e6daf6dec","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/twod/ion_migration_2d.py","route_id":"route-c13168d4a449764d","origin_key":"python:perovskite_sim.twod.ion_migration_2d.MobileIonDiagnostics2D","qualified_name":"perovskite_sim.twod.ion_migration_2d.MobileIonDiagnostics2D","visibility":"public","evidence_level":"source_static"}, +{"id":"python-16c8ac6947492a7d","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/twod/ion_migration_2d.py","route_id":"route-c13168d4a449764d","origin_key":"python:perovskite_sim.twod.ion_migration_2d._axis_control_volume_widths","qualified_name":"perovskite_sim.twod.ion_migration_2d._axis_control_volume_widths","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-8800702f9c566ac3","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/twod/ion_migration_2d.py","route_id":"route-c13168d4a449764d","origin_key":"python:perovskite_sim.twod.ion_migration_2d._harmonic_faces_x","qualified_name":"perovskite_sim.twod.ion_migration_2d._harmonic_faces_x","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-1582794ea2542c14","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/twod/ion_migration_2d.py","route_id":"route-c13168d4a449764d","origin_key":"python:perovskite_sim.twod.ion_migration_2d._harmonic_faces_y","qualified_name":"perovskite_sim.twod.ion_migration_2d._harmonic_faces_y","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-afc436a11adb8be1","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/twod/ion_migration_2d.py","route_id":"route-c13168d4a449764d","origin_key":"python:perovskite_sim.twod.ion_migration_2d._validated_axis","qualified_name":"perovskite_sim.twod.ion_migration_2d._validated_axis","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-1027eae53fec57cf","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/twod/ion_migration_2d.py","route_id":"route-c13168d4a449764d","origin_key":"python:perovskite_sim.twod.ion_migration_2d.assess_mobile_ion_terminal_2d","qualified_name":"perovskite_sim.twod.ion_migration_2d.assess_mobile_ion_terminal_2d","visibility":"public","evidence_level":"source_static"}, +{"id":"python-e387d406e06db6b3","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/twod/ion_migration_2d.py","route_id":"route-c13168d4a449764d","origin_key":"python:perovskite_sim.twod.ion_migration_2d.control_volume_areas_2d","qualified_name":"perovskite_sim.twod.ion_migration_2d.control_volume_areas_2d","visibility":"public","evidence_level":"source_static"}, +{"id":"python-0f4462ce55fe9cc1","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/twod/ion_migration_2d.py","route_id":"route-c13168d4a449764d","origin_key":"python:perovskite_sim.twod.ion_migration_2d.ion_inventory_2d","qualified_name":"perovskite_sim.twod.ion_migration_2d.ion_inventory_2d","visibility":"public","evidence_level":"source_static"}, +{"id":"python-f6b84c32a77a6b76","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/twod/ion_migration_2d.py","route_id":"route-c13168d4a449764d","origin_key":"python:perovskite_sim.twod.ion_migration_2d.positive_ion_continuity_rhs_2d","qualified_name":"perovskite_sim.twod.ion_migration_2d.positive_ion_continuity_rhs_2d","visibility":"public","evidence_level":"source_static"}, +{"id":"python-eb7d9f58097c4c59","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/twod/ion_migration_2d.py","route_id":"route-c13168d4a449764d","origin_key":"python:perovskite_sim.twod.ion_migration_2d.positive_ion_fluxes_2d","qualified_name":"perovskite_sim.twod.ion_migration_2d.positive_ion_fluxes_2d","visibility":"public","evidence_level":"source_static"}, +{"id":"python-e4db0b7e50f69184","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/twod/microstructure.py","route_id":"route-c6bb59ad824f3043","origin_key":"python:perovskite_sim.twod.microstructure.GrainBoundary","qualified_name":"perovskite_sim.twod.microstructure.GrainBoundary","visibility":"public","evidence_level":"source_static"}, +{"id":"python-070164e6ca42e8ac","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/twod/microstructure.py","route_id":"route-c6bb59ad824f3043","origin_key":"python:perovskite_sim.twod.microstructure.GrainBoundary.__post_init__","qualified_name":"perovskite_sim.twod.microstructure.GrainBoundary.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-7b89131fd3f414cc","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/twod/microstructure.py","route_id":"route-c6bb59ad824f3043","origin_key":"python:perovskite_sim.twod.microstructure.GrainBoundaryRegion2D","qualified_name":"perovskite_sim.twod.microstructure.GrainBoundaryRegion2D","visibility":"public","evidence_level":"source_static"}, +{"id":"python-8dcabc7dbd52f60a","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/twod/microstructure.py","route_id":"route-c6bb59ad824f3043","origin_key":"python:perovskite_sim.twod.microstructure.Microstructure","qualified_name":"perovskite_sim.twod.microstructure.Microstructure","visibility":"public","evidence_level":"source_static"}, +{"id":"python-6ded019ab945c71d","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/twod/microstructure.py","route_id":"route-c6bb59ad824f3043","origin_key":"python:perovskite_sim.twod.microstructure._immutable_array","qualified_name":"perovskite_sim.twod.microstructure._immutable_array","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-436d7e8d1be97e46","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/twod/microstructure.py","route_id":"route-c6bb59ad824f3043","origin_key":"python:perovskite_sim.twod.microstructure._validate_nonoverlapping_bands","qualified_name":"perovskite_sim.twod.microstructure._validate_nonoverlapping_bands","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-bab648fa71a5e7aa","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/twod/microstructure.py","route_id":"route-c6bb59ad824f3043","origin_key":"python:perovskite_sim.twod.microstructure.build_grain_boundary_regions","qualified_name":"perovskite_sim.twod.microstructure.build_grain_boundary_regions","visibility":"public","evidence_level":"source_static"}, +{"id":"python-e4b2f6d448feaecc","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/twod/microstructure.py","route_id":"route-c6bb59ad824f3043","origin_key":"python:perovskite_sim.twod.microstructure.build_tau_field","qualified_name":"perovskite_sim.twod.microstructure.build_tau_field","visibility":"public","evidence_level":"source_static"}, +{"id":"python-58691459aaa9a965","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/twod/microstructure.py","route_id":"route-c6bb59ad824f3043","origin_key":"python:perovskite_sim.twod.microstructure.lateral_dual_cell_bounds","qualified_name":"perovskite_sim.twod.microstructure.lateral_dual_cell_bounds","visibility":"public","evidence_level":"source_static"}, +{"id":"python-425a23060f38a160","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/twod/microstructure.py","route_id":"route-c6bb59ad824f3043","origin_key":"python:perovskite_sim.twod.microstructure.lateral_dual_cell_widths","qualified_name":"perovskite_sim.twod.microstructure.lateral_dual_cell_widths","visibility":"public","evidence_level":"source_static"}, +{"id":"python-d8c091450135d6ba","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/twod/microstructure.py","route_id":"route-c6bb59ad824f3043","origin_key":"python:perovskite_sim.twod.microstructure.load_microstructure_from_yaml_block","qualified_name":"perovskite_sim.twod.microstructure.load_microstructure_from_yaml_block","visibility":"public","evidence_level":"source_static"}, +{"id":"python-9f13c7523e7992f1","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/twod/mobile_ion_current_2d.py","route_id":"route-30a3fd6bc1163877","origin_key":"python:perovskite_sim.twod.mobile_ion_current_2d.MobileIonCurrentComponents2D","qualified_name":"perovskite_sim.twod.mobile_ion_current_2d.MobileIonCurrentComponents2D","visibility":"public","evidence_level":"source_static"}, +{"id":"python-0e5942d0cc3f4297","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/twod/mobile_ion_current_2d.py","route_id":"route-30a3fd6bc1163877","origin_key":"python:perovskite_sim.twod.mobile_ion_current_2d._lateral_average","qualified_name":"perovskite_sim.twod.mobile_ion_current_2d._lateral_average","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-f706fbc07ffc59ed","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/twod/mobile_ion_current_2d.py","route_id":"route-30a3fd6bc1163877","origin_key":"python:perovskite_sim.twod.mobile_ion_current_2d._read_only","qualified_name":"perovskite_sim.twod.mobile_ion_current_2d._read_only","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-830d957f72956dad","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/twod/mobile_ion_current_2d.py","route_id":"route-30a3fd6bc1163877","origin_key":"python:perovskite_sim.twod.mobile_ion_current_2d._terminal_decomposition_is_roundoff_consistent","qualified_name":"perovskite_sim.twod.mobile_ion_current_2d._terminal_decomposition_is_roundoff_consistent","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-4642619e0b12ee90","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/twod/mobile_ion_current_2d.py","route_id":"route-30a3fd6bc1163877","origin_key":"python:perovskite_sim.twod.mobile_ion_current_2d._validated_snapshot","qualified_name":"perovskite_sim.twod.mobile_ion_current_2d._validated_snapshot","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-f6c8ffe539b6bf55","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/twod/mobile_ion_current_2d.py","route_id":"route-30a3fd6bc1163877","origin_key":"python:perovskite_sim.twod.mobile_ion_current_2d.evaluate_mobile_ion_current_components_2d","qualified_name":"perovskite_sim.twod.mobile_ion_current_2d.evaluate_mobile_ion_current_components_2d","visibility":"public","evidence_level":"source_static"}, +{"id":"python-5bc8569a4bfcd097","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/twod/poisson_2d.py","route_id":"route-966f30a6d3b0d99a","origin_key":"python:perovskite_sim.twod.poisson_2d.Poisson2DFactor","qualified_name":"perovskite_sim.twod.poisson_2d.Poisson2DFactor","visibility":"public","evidence_level":"source_static"}, +{"id":"python-b89f55469f9e479f","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/twod/poisson_2d.py","route_id":"route-966f30a6d3b0d99a","origin_key":"python:perovskite_sim.twod.poisson_2d._harmonic_mean","qualified_name":"perovskite_sim.twod.poisson_2d._harmonic_mean","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-bbf4bff18bfb2fc5","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/twod/poisson_2d.py","route_id":"route-966f30a6d3b0d99a","origin_key":"python:perovskite_sim.twod.poisson_2d.build_poisson_2d_factor","qualified_name":"perovskite_sim.twod.poisson_2d.build_poisson_2d_factor","visibility":"public","evidence_level":"source_static"}, +{"id":"python-7328191aa6a02c3c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/twod/poisson_2d.py","route_id":"route-966f30a6d3b0d99a","origin_key":"python:perovskite_sim.twod.poisson_2d.solve_poisson_2d","qualified_name":"perovskite_sim.twod.poisson_2d.solve_poisson_2d","visibility":"public","evidence_level":"source_static"}, +{"id":"python-60c836f58416e62a","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/twod/radiative_reabsorption_2d.py","route_id":"route-f9281ec0a9ef818c","origin_key":"python:perovskite_sim.twod.radiative_reabsorption_2d._check_2d_shape","qualified_name":"perovskite_sim.twod.radiative_reabsorption_2d._check_2d_shape","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-57d063f842b0dd9c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/twod/radiative_reabsorption_2d.py","route_id":"route-f9281ec0a9ef818c","origin_key":"python:perovskite_sim.twod.radiative_reabsorption_2d.recompute_g_with_rad_2d","qualified_name":"perovskite_sim.twod.radiative_reabsorption_2d.recompute_g_with_rad_2d","visibility":"public","evidence_level":"source_static"}, +{"id":"python-5e6cf7e309ac0130","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/twod/snapshot.py","route_id":"route-d08845022ad48916","origin_key":"python:perovskite_sim.twod.snapshot.SpatialSnapshot2D","qualified_name":"perovskite_sim.twod.snapshot.SpatialSnapshot2D","visibility":"public","evidence_level":"source_static"}, +{"id":"python-45cd12344911ae0e","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/twod/solver_2d.py","route_id":"route-28f189e6bd16ef71","origin_key":"python:perovskite_sim.twod.solver_2d.MaterialArrays2D","qualified_name":"perovskite_sim.twod.solver_2d.MaterialArrays2D","visibility":"public","evidence_level":"source_static"}, +{"id":"python-d599340b3066545b","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/twod/solver_2d.py","route_id":"route-28f189e6bd16ef71","origin_key":"python:perovskite_sim.twod.solver_2d.MaterialArrays2D.thermionic_normalization_status","qualified_name":"perovskite_sim.twod.solver_2d.MaterialArrays2D.thermionic_normalization_status","visibility":"public","evidence_level":"source_static"}, +{"id":"python-e2d548a23e44bccf","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/twod/solver_2d.py","route_id":"route-28f189e6bd16ef71","origin_key":"python:perovskite_sim.twod.solver_2d._NfevExceeded2D","qualified_name":"perovskite_sim.twod.solver_2d._NfevExceeded2D","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-cb704587fe93341d","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/twod/solver_2d.py","route_id":"route-28f189e6bd16ef71","origin_key":"python:perovskite_sim.twod.solver_2d._RhsNonFinite2D","qualified_name":"perovskite_sim.twod.solver_2d._RhsNonFinite2D","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-fb60c27dbe29b9a2","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/twod/solver_2d.py","route_id":"route-28f189e6bd16ef71","origin_key":"python:perovskite_sim.twod.solver_2d._apply_robin_contacts_2d","qualified_name":"perovskite_sim.twod.solver_2d._apply_robin_contacts_2d","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-dfb7d89c98fc38e0","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/twod/solver_2d.py","route_id":"route-28f189e6bd16ef71","origin_key":"python:perovskite_sim.twod.solver_2d._assert_finite_2d","qualified_name":"perovskite_sim.twod.solver_2d._assert_finite_2d","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-2a305f551fd64c1a","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/twod/solver_2d.py","route_id":"route-28f189e6bd16ef71","origin_key":"python:perovskite_sim.twod.solver_2d._charge_density_2d","qualified_name":"perovskite_sim.twod.solver_2d._charge_density_2d","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-1a4db2dc8d962496","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/twod/solver_2d.py","route_id":"route-28f189e6bd16ef71","origin_key":"python:perovskite_sim.twod.solver_2d._diffusion_per_node","qualified_name":"perovskite_sim.twod.solver_2d._diffusion_per_node","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-974414c278c100ab","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/twod/solver_2d.py","route_id":"route-28f189e6bd16ef71","origin_key":"python:perovskite_sim.twod.solver_2d._layer_role_at_each_y","qualified_name":"perovskite_sim.twod.solver_2d._layer_role_at_each_y","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-59896bdf6a3aae59","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/twod/solver_2d.py","route_id":"route-28f189e6bd16ef71","origin_key":"python:perovskite_sim.twod.solver_2d._to_2d_dual_cell","qualified_name":"perovskite_sim.twod.solver_2d._to_2d_dual_cell","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-82f8545e3c40f8ba","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/twod/solver_2d.py","route_id":"route-28f189e6bd16ef71","origin_key":"python:perovskite_sim.twod.solver_2d._unpack_state_2d","qualified_name":"perovskite_sim.twod.solver_2d._unpack_state_2d","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-134a5682bc2ff87f","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/twod/solver_2d.py","route_id":"route-28f189e6bd16ef71","origin_key":"python:perovskite_sim.twod.solver_2d.assemble_rhs_2d","qualified_name":"perovskite_sim.twod.solver_2d.assemble_rhs_2d","visibility":"public","evidence_level":"source_static"}, +{"id":"python-ec3f69ca7a5411df","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/twod/solver_2d.py","route_id":"route-28f189e6bd16ef71","origin_key":"python:perovskite_sim.twod.solver_2d.build_material_arrays_2d","qualified_name":"perovskite_sim.twod.solver_2d.build_material_arrays_2d","visibility":"public","evidence_level":"source_static"}, +{"id":"python-4b6dadcd334d4995","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/twod/solver_2d.py","route_id":"route-28f189e6bd16ef71","origin_key":"python:perovskite_sim.twod.solver_2d.compute_mobile_ion_current_components_2d","qualified_name":"perovskite_sim.twod.solver_2d.compute_mobile_ion_current_components_2d","visibility":"public","evidence_level":"source_static"}, +{"id":"python-c04ad13c287900a0","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/twod/solver_2d.py","route_id":"route-28f189e6bd16ef71","origin_key":"python:perovskite_sim.twod.solver_2d.compute_terminal_current_2d","qualified_name":"perovskite_sim.twod.solver_2d.compute_terminal_current_2d","visibility":"public","evidence_level":"source_static"}, +{"id":"python-f112da7a7669528f","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/twod/solver_2d.py","route_id":"route-28f189e6bd16ef71","origin_key":"python:perovskite_sim.twod.solver_2d.extract_snapshot_2d","qualified_name":"perovskite_sim.twod.solver_2d.extract_snapshot_2d","visibility":"public","evidence_level":"source_static"}, +{"id":"python-803cf0d6c8902d31","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/twod/solver_2d.py","route_id":"route-28f189e6bd16ef71","origin_key":"python:perovskite_sim.twod.solver_2d.recombination_rate_2d","qualified_name":"perovskite_sim.twod.solver_2d.recombination_rate_2d","visibility":"public","evidence_level":"source_static"}, +{"id":"python-a6d0896aac9f7dec","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/twod/solver_2d.py","route_id":"route-28f189e6bd16ef71","origin_key":"python:perovskite_sim.twod.solver_2d.run_transient_2d","qualified_name":"perovskite_sim.twod.solver_2d.run_transient_2d","visibility":"public","evidence_level":"source_static"}, +{"id":"python-d81a81d6bb417718","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/bgn_refinement.py","route_id":"route-9e7c4634cac4c7b4","origin_key":"python:perovskite_sim.validation.bgn_refinement._execution_protocol","qualified_name":"perovskite_sim.validation.bgn_refinement._execution_protocol","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-584ac5b30716d92d","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/bgn_refinement.py","route_id":"route-9e7c4634cac4c7b4","origin_key":"python:perovskite_sim.validation.bgn_refinement.run_incomplete_ionization_bgn_temperature_refinement","qualified_name":"perovskite_sim.validation.bgn_refinement.run_incomplete_ionization_bgn_temperature_refinement","visibility":"public","evidence_level":"source_static"}, +{"id":"python-96fd13eff5e3b0d2","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/bulk_trap_refinement.py","route_id":"route-6ffa0cc3ba17a777","origin_key":"python:perovskite_sim.validation.bulk_trap_refinement._execution_protocol","qualified_name":"perovskite_sim.validation.bulk_trap_refinement._execution_protocol","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-af8ea89cc4f2e3c4","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/bulk_trap_refinement.py","route_id":"route-6ffa0cc3ba17a777","origin_key":"python:perovskite_sim.validation.bulk_trap_refinement._probe_recombination","qualified_name":"perovskite_sim.validation.bulk_trap_refinement._probe_recombination","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-ae24996aa93057dc","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/bulk_trap_refinement.py","route_id":"route-6ffa0cc3ba17a777","origin_key":"python:perovskite_sim.validation.bulk_trap_refinement._quadrature_orders","qualified_name":"perovskite_sim.validation.bulk_trap_refinement._quadrature_orders","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-7fffd63c0555d56a","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/bulk_trap_refinement.py","route_id":"route-6ffa0cc3ba17a777","origin_key":"python:perovskite_sim.validation.bulk_trap_refinement._relative_change","qualified_name":"perovskite_sim.validation.bulk_trap_refinement._relative_change","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-0a10f84d99181fde","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/bulk_trap_refinement.py","route_id":"route-6ffa0cc3ba17a777","origin_key":"python:perovskite_sim.validation.bulk_trap_refinement.run_bulk_trap_equilibrium_refinement","qualified_name":"perovskite_sim.validation.bulk_trap_refinement.run_bulk_trap_equilibrium_refinement","visibility":"public","evidence_level":"source_static"}, +{"id":"python-8d5b7b1c0956e168","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/validation/charged_defect_refinement.py","route_id":"route-a9b4d7e51e16d73e","origin_key":"python:perovskite_sim.validation.charged_defect_refinement._Scenario","qualified_name":"perovskite_sim.validation.charged_defect_refinement._Scenario","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-c61d4bc51a08bbf2","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/charged_defect_refinement.py","route_id":"route-a9b4d7e51e16d73e","origin_key":"python:perovskite_sim.validation.charged_defect_refinement._build_derived_pn","qualified_name":"perovskite_sim.validation.charged_defect_refinement._build_derived_pn","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-9266a496579806c2","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/charged_defect_refinement.py","route_id":"route-a9b4d7e51e16d73e","origin_key":"python:perovskite_sim.validation.charged_defect_refinement._execution_protocol","qualified_name":"perovskite_sim.validation.charged_defect_refinement._execution_protocol","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-31fec73348ebd3e2","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/charged_defect_refinement.py","route_id":"route-a9b4d7e51e16d73e","origin_key":"python:perovskite_sim.validation.charged_defect_refinement._file_sha256","qualified_name":"perovskite_sim.validation.charged_defect_refinement._file_sha256","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-ea3dbcf143d16155","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/charged_defect_refinement.py","route_id":"route-a9b4d7e51e16d73e","origin_key":"python:perovskite_sim.validation.charged_defect_refinement._fixed_profile","qualified_name":"perovskite_sim.validation.charged_defect_refinement._fixed_profile","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-f46ec24d94e9dbe0","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/charged_defect_refinement.py","route_id":"route-a9b4d7e51e16d73e","origin_key":"python:perovskite_sim.validation.charged_defect_refinement._grid","qualified_name":"perovskite_sim.validation.charged_defect_refinement._grid","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-9139c90ca46402a6","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/charged_defect_refinement.py","route_id":"route-a9b4d7e51e16d73e","origin_key":"python:perovskite_sim.validation.charged_defect_refinement._illumination_steps","qualified_name":"perovskite_sim.validation.charged_defect_refinement._illumination_steps","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-6a9cdba3a67a9033","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/charged_defect_refinement.py","route_id":"route-a9b4d7e51e16d73e","origin_key":"python:perovskite_sim.validation.charged_defect_refinement._load_suite","qualified_name":"perovskite_sim.validation.charged_defect_refinement._load_suite","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-46a6a975cf4cc150","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/charged_defect_refinement.py","route_id":"route-a9b4d7e51e16d73e","origin_key":"python:perovskite_sim.validation.charged_defect_refinement._mass_action_error","qualified_name":"perovskite_sim.validation.charged_defect_refinement._mass_action_error","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-99fdba9abf10ae39","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/charged_defect_refinement.py","route_id":"route-a9b4d7e51e16d73e","origin_key":"python:perovskite_sim.validation.charged_defect_refinement._qf_span","qualified_name":"perovskite_sim.validation.charged_defect_refinement._qf_span","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-1340d3016ba1093e","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/charged_defect_refinement.py","route_id":"route-a9b4d7e51e16d73e","origin_key":"python:perovskite_sim.validation.charged_defect_refinement._require_exact_keys","qualified_name":"perovskite_sim.validation.charged_defect_refinement._require_exact_keys","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-d7c099ecc9e7506f","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/charged_defect_refinement.py","route_id":"route-a9b4d7e51e16d73e","origin_key":"python:perovskite_sim.validation.charged_defect_refinement._safe_project_file","qualified_name":"perovskite_sim.validation.charged_defect_refinement._safe_project_file","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-e531776843d6992c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/charged_defect_refinement.py","route_id":"route-a9b4d7e51e16d73e","origin_key":"python:perovskite_sim.validation.charged_defect_refinement._state_sha256","qualified_name":"perovskite_sim.validation.charged_defect_refinement._state_sha256","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-ef286c95a1149d5d","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/charged_defect_refinement.py","route_id":"route-a9b4d7e51e16d73e","origin_key":"python:perovskite_sim.validation.charged_defect_refinement._voltage_grid","qualified_name":"perovskite_sim.validation.charged_defect_refinement._voltage_grid","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-5336cadcbf91cdc1","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/charged_defect_refinement.py","route_id":"route-a9b4d7e51e16d73e","origin_key":"python:perovskite_sim.validation.charged_defect_refinement.run_charged_defect_qf_dc_refinement","qualified_name":"perovskite_sim.validation.charged_defect_refinement.run_charged_defect_qf_dc_refinement","visibility":"public","evidence_level":"source_static"}, +{"id":"python-45341da39b0c1fac","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/cigs_optics_refinement.py","route_id":"route-c81fb8dbd7f6b348","origin_key":"python:perovskite_sim.validation.cigs_optics_refinement._carron_benchmark","qualified_name":"perovskite_sim.validation.cigs_optics_refinement._carron_benchmark","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-066ba06e622b27fa","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/cigs_optics_refinement.py","route_id":"route-c81fb8dbd7f6b348","origin_key":"python:perovskite_sim.validation.cigs_optics_refinement._execution_protocol","qualified_name":"perovskite_sim.validation.cigs_optics_refinement._execution_protocol","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-0ad379c5cda4ceff","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/cigs_optics_refinement.py","route_id":"route-c81fb8dbd7f6b348","origin_key":"python:perovskite_sim.validation.cigs_optics_refinement._kk_quadrature_order","qualified_name":"perovskite_sim.validation.cigs_optics_refinement._kk_quadrature_order","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-0c6542d454f291f0","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/cigs_optics_refinement.py","route_id":"route-c81fb8dbd7f6b348","origin_key":"python:perovskite_sim.validation.cigs_optics_refinement._replace_cigs_model","qualified_name":"perovskite_sim.validation.cigs_optics_refinement._replace_cigs_model","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-49442c7497668137","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/cigs_optics_refinement.py","route_id":"route-c81fb8dbd7f6b348","origin_key":"python:perovskite_sim.validation.cigs_optics_refinement._replace_cigs_resolution","qualified_name":"perovskite_sim.validation.cigs_optics_refinement._replace_cigs_resolution","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-86270ea056d90142","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/cigs_optics_refinement.py","route_id":"route-c81fb8dbd7f6b348","origin_key":"python:perovskite_sim.validation.cigs_optics_refinement._uniform_composition_reflectance_error","qualified_name":"perovskite_sim.validation.cigs_optics_refinement._uniform_composition_reflectance_error","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-507f4a3fd5326221","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/cigs_optics_refinement.py","route_id":"route-c81fb8dbd7f6b348","origin_key":"python:perovskite_sim.validation.cigs_optics_refinement.run_cigs_graded_optics_refinement","qualified_name":"perovskite_sim.validation.cigs_optics_refinement.run_cigs_graded_optics_refinement","visibility":"public","evidence_level":"source_static"}, +{"id":"python-6349d0d9f0eaf3a2","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/dae_dual_ion_refinement.py","route_id":"route-27dbc43d17be6d47","origin_key":"python:perovskite_sim.validation.dae_dual_ion_refinement._boolean_option","qualified_name":"perovskite_sim.validation.dae_dual_ion_refinement._boolean_option","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-1d6a154fdbc793dd","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/dae_dual_ion_refinement.py","route_id":"route-27dbc43d17be6d47","origin_key":"python:perovskite_sim.validation.dae_dual_ion_refinement._execution_protocol","qualified_name":"perovskite_sim.validation.dae_dual_ion_refinement._execution_protocol","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-ab207ef7b67ce5a5","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/dae_dual_ion_refinement.py","route_id":"route-27dbc43d17be6d47","origin_key":"python:perovskite_sim.validation.dae_dual_ion_refinement._max_relative_species_difference","qualified_name":"perovskite_sim.validation.dae_dual_ion_refinement._max_relative_species_difference","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-34e401eea8473674","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/dae_dual_ion_refinement.py","route_id":"route-27dbc43d17be6d47","origin_key":"python:perovskite_sim.validation.dae_dual_ion_refinement.run_dual_ion_dae_transient","qualified_name":"perovskite_sim.validation.dae_dual_ion_refinement.run_dual_ion_dae_transient","visibility":"public","evidence_level":"source_static"}, +{"id":"python-318f06646e088c55","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/dae_interface_refinement.py","route_id":"route-cf51d5ffeb5b1ab3","origin_key":"python:perovskite_sim.validation.dae_interface_refinement._execution_protocol","qualified_name":"perovskite_sim.validation.dae_interface_refinement._execution_protocol","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-0ed69b90ebb278a6","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/dae_interface_refinement.py","route_id":"route-cf51d5ffeb5b1ab3","origin_key":"python:perovskite_sim.validation.dae_interface_refinement._max_relative_interface_difference","qualified_name":"perovskite_sim.validation.dae_interface_refinement._max_relative_interface_difference","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-893dcee22776854b","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/dae_interface_refinement.py","route_id":"route-cf51d5ffeb5b1ab3","origin_key":"python:perovskite_sim.validation.dae_interface_refinement._terminal_carriers","qualified_name":"perovskite_sim.validation.dae_interface_refinement._terminal_carriers","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-be2683ec231d8988","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/dae_interface_refinement.py","route_id":"route-cf51d5ffeb5b1ab3","origin_key":"python:perovskite_sim.validation.dae_interface_refinement.run_algebraic_interface_dae_transient","qualified_name":"perovskite_sim.validation.dae_interface_refinement.run_algebraic_interface_dae_transient","visibility":"public","evidence_level":"source_static"}, +{"id":"python-62c7f55862c9f920","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/dae_ion_interface_refinement.py","route_id":"route-cd1c256e6f6fda47","origin_key":"python:perovskite_sim.validation.dae_ion_interface_refinement._execution_protocol","qualified_name":"perovskite_sim.validation.dae_ion_interface_refinement._execution_protocol","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-191daeaf2591a789","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/dae_ion_interface_refinement.py","route_id":"route-cd1c256e6f6fda47","origin_key":"python:perovskite_sim.validation.dae_ion_interface_refinement.run_single_ion_algebraic_interface_dae_transient","qualified_name":"perovskite_sim.validation.dae_ion_interface_refinement.run_single_ion_algebraic_interface_dae_transient","visibility":"public","evidence_level":"source_static"}, +{"id":"python-052a46542c275abc","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/dae_ion_refinement.py","route_id":"route-3ce8678d93f128dc","origin_key":"python:perovskite_sim.validation.dae_ion_refinement._execution_protocol","qualified_name":"perovskite_sim.validation.dae_ion_refinement._execution_protocol","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-95d40766039b172a","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/dae_ion_refinement.py","route_id":"route-3ce8678d93f128dc","origin_key":"python:perovskite_sim.validation.dae_ion_refinement._finite_option","qualified_name":"perovskite_sim.validation.dae_ion_refinement._finite_option","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-62f6e0759eabd9b9","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/dae_ion_refinement.py","route_id":"route-3ce8678d93f128dc","origin_key":"python:perovskite_sim.validation.dae_ion_refinement._integer_option","qualified_name":"perovskite_sim.validation.dae_ion_refinement._integer_option","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-ef947efe2fbf0099","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/dae_ion_refinement.py","route_id":"route-3ce8678d93f128dc","origin_key":"python:perovskite_sim.validation.dae_ion_refinement._max_log_carrier_difference","qualified_name":"perovskite_sim.validation.dae_ion_refinement._max_log_carrier_difference","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-3f118c2ccd27aaff","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/dae_ion_refinement.py","route_id":"route-3ce8678d93f128dc","origin_key":"python:perovskite_sim.validation.dae_ion_refinement._max_relative_ion_difference","qualified_name":"perovskite_sim.validation.dae_ion_refinement._max_relative_ion_difference","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-850ae872ab0f44e1","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/dae_ion_refinement.py","route_id":"route-3ce8678d93f128dc","origin_key":"python:perovskite_sim.validation.dae_ion_refinement._protocol_metadata","qualified_name":"perovskite_sim.validation.dae_ion_refinement._protocol_metadata","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-02ea5cb087672ad1","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/dae_ion_refinement.py","route_id":"route-3ce8678d93f128dc","origin_key":"python:perovskite_sim.validation.dae_ion_refinement._string_option","qualified_name":"perovskite_sim.validation.dae_ion_refinement._string_option","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-c45632cab94f8169","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/dae_ion_refinement.py","route_id":"route-3ce8678d93f128dc","origin_key":"python:perovskite_sim.validation.dae_ion_refinement._time_step_count","qualified_name":"perovskite_sim.validation.dae_ion_refinement._time_step_count","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-8605a8c1bc6af0c7","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/dae_ion_refinement.py","route_id":"route-3ce8678d93f128dc","origin_key":"python:perovskite_sim.validation.dae_ion_refinement.run_single_ion_dae_transient","qualified_name":"perovskite_sim.validation.dae_ion_refinement.run_single_ion_dae_transient","visibility":"public","evidence_level":"source_static"}, +{"id":"python-38e45c8363179a88","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/dae_refinement.py","route_id":"route-ee6663ebc8f2dc49","origin_key":"python:perovskite_sim.validation.dae_refinement._execution_protocol","qualified_name":"perovskite_sim.validation.dae_refinement._execution_protocol","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-0d43c28fe6860127","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/dae_refinement.py","route_id":"route-ee6663ebc8f2dc49","origin_key":"python:perovskite_sim.validation.dae_refinement._finite_option","qualified_name":"perovskite_sim.validation.dae_refinement._finite_option","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-1d8ef8be8904846f","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/dae_refinement.py","route_id":"route-ee6663ebc8f2dc49","origin_key":"python:perovskite_sim.validation.dae_refinement._integer_option","qualified_name":"perovskite_sim.validation.dae_refinement._integer_option","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-7529fb2b34c5714b","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/dae_refinement.py","route_id":"route-ee6663ebc8f2dc49","origin_key":"python:perovskite_sim.validation.dae_refinement._max_log_carrier_difference","qualified_name":"perovskite_sim.validation.dae_refinement._max_log_carrier_difference","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-b18049923b48509b","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/dae_refinement.py","route_id":"route-ee6663ebc8f2dc49","origin_key":"python:perovskite_sim.validation.dae_refinement._protocol_metadata","qualified_name":"perovskite_sim.validation.dae_refinement._protocol_metadata","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-8ed90f7f561f965b","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/dae_refinement.py","route_id":"route-ee6663ebc8f2dc49","origin_key":"python:perovskite_sim.validation.dae_refinement._string_option","qualified_name":"perovskite_sim.validation.dae_refinement._string_option","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-99411090c31a2902","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/dae_refinement.py","route_id":"route-ee6663ebc8f2dc49","origin_key":"python:perovskite_sim.validation.dae_refinement._terminal_carriers","qualified_name":"perovskite_sim.validation.dae_refinement._terminal_carriers","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-09b7b686d67e5d8f","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/dae_refinement.py","route_id":"route-ee6663ebc8f2dc49","origin_key":"python:perovskite_sim.validation.dae_refinement._time_step_count","qualified_name":"perovskite_sim.validation.dae_refinement._time_step_count","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-cd82e1234f9cf4c7","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/dae_refinement.py","route_id":"route-ee6663ebc8f2dc49","origin_key":"python:perovskite_sim.validation.dae_refinement.run_no_ion_dae_transient","qualified_name":"perovskite_sim.validation.dae_refinement.run_no_ion_dae_transient","visibility":"public","evidence_level":"source_static"}, +{"id":"python-3d090ac16e00b6bf","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/validation/defect_energy_refinement.py","route_id":"route-c829dfda2d1dc419","origin_key":"python:perovskite_sim.validation.defect_energy_refinement.DefectEnergyRefinementComparison","qualified_name":"perovskite_sim.validation.defect_energy_refinement.DefectEnergyRefinementComparison","visibility":"public","evidence_level":"source_static"}, +{"id":"python-d1c9ce39a0b6bca6","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/defect_energy_refinement.py","route_id":"route-c829dfda2d1dc419","origin_key":"python:perovskite_sim.validation.defect_energy_refinement.DefectEnergyRefinementComparison.__post_init__","qualified_name":"perovskite_sim.validation.defect_energy_refinement.DefectEnergyRefinementComparison.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-d53573f5d6c3b92a","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/defect_energy_refinement.py","route_id":"route-c829dfda2d1dc419","origin_key":"python:perovskite_sim.validation.defect_energy_refinement.DefectEnergyRefinementComparison.to_dict","qualified_name":"perovskite_sim.validation.defect_energy_refinement.DefectEnergyRefinementComparison.to_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-c027cfbbd9320b39","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/validation/defect_energy_refinement.py","route_id":"route-c829dfda2d1dc419","origin_key":"python:perovskite_sim.validation.defect_energy_refinement.DefectEnergyRefinementReport","qualified_name":"perovskite_sim.validation.defect_energy_refinement.DefectEnergyRefinementReport","visibility":"public","evidence_level":"source_static"}, +{"id":"python-408a7c979ebd01a0","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/defect_energy_refinement.py","route_id":"route-c829dfda2d1dc419","origin_key":"python:perovskite_sim.validation.defect_energy_refinement.DefectEnergyRefinementReport.__post_init__","qualified_name":"perovskite_sim.validation.defect_energy_refinement.DefectEnergyRefinementReport.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-e04eeb3cd3afff2a","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/defect_energy_refinement.py","route_id":"route-c829dfda2d1dc419","origin_key":"python:perovskite_sim.validation.defect_energy_refinement.DefectEnergyRefinementReport.terminal_comparison","qualified_name":"perovskite_sim.validation.defect_energy_refinement.DefectEnergyRefinementReport.terminal_comparison","visibility":"public","evidence_level":"source_static"}, +{"id":"python-58206e0d7c80521a","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/defect_energy_refinement.py","route_id":"route-c829dfda2d1dc419","origin_key":"python:perovskite_sim.validation.defect_energy_refinement.DefectEnergyRefinementReport.to_dict","qualified_name":"perovskite_sim.validation.defect_energy_refinement.DefectEnergyRefinementReport.to_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-366ac2453faf3e49","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/defect_energy_refinement.py","route_id":"route-c829dfda2d1dc419","origin_key":"python:perovskite_sim.validation.defect_energy_refinement._comparison","qualified_name":"perovskite_sim.validation.defect_energy_refinement._comparison","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-ccda3b1af64b8a59","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/defect_energy_refinement.py","route_id":"route-c829dfda2d1dc419","origin_key":"python:perovskite_sim.validation.defect_energy_refinement._finite_positive","qualified_name":"perovskite_sim.validation.defect_energy_refinement._finite_positive","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-1a441529e0d6fa3f","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/defect_energy_refinement.py","route_id":"route-c829dfda2d1dc419","origin_key":"python:perovskite_sim.validation.defect_energy_refinement._input_identity","qualified_name":"perovskite_sim.validation.defect_energy_refinement._input_identity","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-dd0de21eba2e75fc","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/defect_energy_refinement.py","route_id":"route-c829dfda2d1dc419","origin_key":"python:perovskite_sim.validation.defect_energy_refinement._maximum_absolute_difference","qualified_name":"perovskite_sim.validation.defect_energy_refinement._maximum_absolute_difference","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-0385faf3089a0b2f","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/defect_energy_refinement.py","route_id":"route-c829dfda2d1dc419","origin_key":"python:perovskite_sim.validation.defect_energy_refinement._maximum_relative_difference","qualified_name":"perovskite_sim.validation.defect_energy_refinement._maximum_relative_difference","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-b3b283ff76393574","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/defect_energy_refinement.py","route_id":"route-c829dfda2d1dc419","origin_key":"python:perovskite_sim.validation.defect_energy_refinement._orders","qualified_name":"perovskite_sim.validation.defect_energy_refinement._orders","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-db90a2c5b860964f","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/defect_energy_refinement.py","route_id":"route-c829dfda2d1dc419","origin_key":"python:perovskite_sim.validation.defect_energy_refinement.assess_defect_energy_order_refinement","qualified_name":"perovskite_sim.validation.defect_energy_refinement.assess_defect_energy_order_refinement","visibility":"public","evidence_level":"source_static"}, +{"id":"python-293e2378476d2bfe","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/degenerate_refinement.py","route_id":"route-8ffd14c45b3812ea","origin_key":"python:perovskite_sim.validation.degenerate_refinement._execution_protocol","qualified_name":"perovskite_sim.validation.degenerate_refinement._execution_protocol","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-39f5841b40051835","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/degenerate_refinement.py","route_id":"route-8ffd14c45b3812ea","origin_key":"python:perovskite_sim.validation.degenerate_refinement.run_degenerate_pn_equilibrium_refinement","qualified_name":"perovskite_sim.validation.degenerate_refinement.run_degenerate_pn_equilibrium_refinement","visibility":"public","evidence_level":"source_static"}, +{"id":"python-4adf0ae5c2114efd","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/validation/distributed_defect_refinement.py","route_id":"route-eac8eff18fe0b852","origin_key":"python:perovskite_sim.validation.distributed_defect_refinement._EnergyRun","qualified_name":"perovskite_sim.validation.distributed_defect_refinement._EnergyRun","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-0627ff7ceb547fba","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/distributed_defect_refinement.py","route_id":"route-eac8eff18fe0b852","origin_key":"python:perovskite_sim.validation.distributed_defect_refinement._diagnostics","qualified_name":"perovskite_sim.validation.distributed_defect_refinement._diagnostics","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-ab6a02131602d7a8","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/distributed_defect_refinement.py","route_id":"route-eac8eff18fe0b852","origin_key":"python:perovskite_sim.validation.distributed_defect_refinement._energy_changes","qualified_name":"perovskite_sim.validation.distributed_defect_refinement._energy_changes","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-0b9ec07ca3509b2f","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/distributed_defect_refinement.py","route_id":"route-eac8eff18fe0b852","origin_key":"python:perovskite_sim.validation.distributed_defect_refinement._energy_orders","qualified_name":"perovskite_sim.validation.distributed_defect_refinement._energy_orders","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-54c782e6591c3d5b","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/distributed_defect_refinement.py","route_id":"route-eac8eff18fe0b852","origin_key":"python:perovskite_sim.validation.distributed_defect_refinement._execution_protocol","qualified_name":"perovskite_sim.validation.distributed_defect_refinement._execution_protocol","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-69c003f8966b506f","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/distributed_defect_refinement.py","route_id":"route-eac8eff18fe0b852","origin_key":"python:perovskite_sim.validation.distributed_defect_refinement._fixed_profile","qualified_name":"perovskite_sim.validation.distributed_defect_refinement._fixed_profile","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-406eb60a09c658c1","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/distributed_defect_refinement.py","route_id":"route-eac8eff18fe0b852","origin_key":"python:perovskite_sim.validation.distributed_defect_refinement._grid","qualified_name":"perovskite_sim.validation.distributed_defect_refinement._grid","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-a091a779fcc4a504","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/distributed_defect_refinement.py","route_id":"route-eac8eff18fe0b852","origin_key":"python:perovskite_sim.validation.distributed_defect_refinement._illumination_steps","qualified_name":"perovskite_sim.validation.distributed_defect_refinement._illumination_steps","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-f9b3c0f493e5dd22","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/distributed_defect_refinement.py","route_id":"route-eac8eff18fe0b852","origin_key":"python:perovskite_sim.validation.distributed_defect_refinement._mass_action_error","qualified_name":"perovskite_sim.validation.distributed_defect_refinement._mass_action_error","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-534314a050a8c227","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/distributed_defect_refinement.py","route_id":"route-eac8eff18fe0b852","origin_key":"python:perovskite_sim.validation.distributed_defect_refinement._normalized_source_charge","qualified_name":"perovskite_sim.validation.distributed_defect_refinement._normalized_source_charge","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-f3251e3a3dd832c5","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/distributed_defect_refinement.py","route_id":"route-eac8eff18fe0b852","origin_key":"python:perovskite_sim.validation.distributed_defect_refinement._qf_span","qualified_name":"perovskite_sim.validation.distributed_defect_refinement._qf_span","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-3fd44af3744e24c9","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/distributed_defect_refinement.py","route_id":"route-eac8eff18fe0b852","origin_key":"python:perovskite_sim.validation.distributed_defect_refinement._relative_change","qualified_name":"perovskite_sim.validation.distributed_defect_refinement._relative_change","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-d7950163af393ca3","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/distributed_defect_refinement.py","route_id":"route-eac8eff18fe0b852","origin_key":"python:perovskite_sim.validation.distributed_defect_refinement._safe_config_path","qualified_name":"perovskite_sim.validation.distributed_defect_refinement._safe_config_path","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-624bd10a56e40e7c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/distributed_defect_refinement.py","route_id":"route-eac8eff18fe0b852","origin_key":"python:perovskite_sim.validation.distributed_defect_refinement._source_species","qualified_name":"perovskite_sim.validation.distributed_defect_refinement._source_species","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-e56f7acf5e589348","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/distributed_defect_refinement.py","route_id":"route-eac8eff18fe0b852","origin_key":"python:perovskite_sim.validation.distributed_defect_refinement._state_sha256","qualified_name":"perovskite_sim.validation.distributed_defect_refinement._state_sha256","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-5a066f7628bb324c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/distributed_defect_refinement.py","route_id":"route-eac8eff18fe0b852","origin_key":"python:perovskite_sim.validation.distributed_defect_refinement._voltage_grid","qualified_name":"perovskite_sim.validation.distributed_defect_refinement._voltage_grid","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-d9605216461fa04f","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/distributed_defect_refinement.py","route_id":"route-eac8eff18fe0b852","origin_key":"python:perovskite_sim.validation.distributed_defect_refinement.run_distributed_defect_qf_dc_refinement","qualified_name":"perovskite_sim.validation.distributed_defect_refinement.run_distributed_defect_qf_dc_refinement","visibility":"public","evidence_level":"source_static"}, +{"id":"python-138010b678a7f37d","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/dynamic_defect_transient_refinement.py","route_id":"route-aa22d20d2d639fc7","origin_key":"python:perovskite_sim.validation.dynamic_defect_transient_refinement._build_grid","qualified_name":"perovskite_sim.validation.dynamic_defect_transient_refinement._build_grid","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-8005d41815d3287d","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/dynamic_defect_transient_refinement.py","route_id":"route-aa22d20d2d639fc7","origin_key":"python:perovskite_sim.validation.dynamic_defect_transient_refinement._case_identity","qualified_name":"perovskite_sim.validation.dynamic_defect_transient_refinement._case_identity","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-c476e264c89a9ed5","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/dynamic_defect_transient_refinement.py","route_id":"route-aa22d20d2d639fc7","origin_key":"python:perovskite_sim.validation.dynamic_defect_transient_refinement._case_stacks","qualified_name":"perovskite_sim.validation.dynamic_defect_transient_refinement._case_stacks","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-fa6007df911339b0","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/dynamic_defect_transient_refinement.py","route_id":"route-aa22d20d2d639fc7","origin_key":"python:perovskite_sim.validation.dynamic_defect_transient_refinement._execution_protocol","qualified_name":"perovskite_sim.validation.dynamic_defect_transient_refinement._execution_protocol","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-437fff161ece8df6","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/dynamic_defect_transient_refinement.py","route_id":"route-aa22d20d2d639fc7","origin_key":"python:perovskite_sim.validation.dynamic_defect_transient_refinement._integer_vector_option","qualified_name":"perovskite_sim.validation.dynamic_defect_transient_refinement._integer_vector_option","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-13ea5152aae5c725","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/dynamic_defect_transient_refinement.py","route_id":"route-aa22d20d2d639fc7","origin_key":"python:perovskite_sim.validation.dynamic_defect_transient_refinement._ion_centroid_trace","qualified_name":"perovskite_sim.validation.dynamic_defect_transient_refinement._ion_centroid_trace","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-35798f82760eb140","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/dynamic_defect_transient_refinement.py","route_id":"route-aa22d20d2d639fc7","origin_key":"python:perovskite_sim.validation.dynamic_defect_transient_refinement._line_search_iteration","qualified_name":"perovskite_sim.validation.dynamic_defect_transient_refinement._line_search_iteration","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-14a1f5765332607e","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/dynamic_defect_transient_refinement.py","route_id":"route-aa22d20d2d639fc7","origin_key":"python:perovskite_sim.validation.dynamic_defect_transient_refinement._motion_metrics","qualified_name":"perovskite_sim.validation.dynamic_defect_transient_refinement._motion_metrics","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-108075ed49043c01","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/dynamic_defect_transient_refinement.py","route_id":"route-aa22d20d2d639fc7","origin_key":"python:perovskite_sim.validation.dynamic_defect_transient_refinement._nested_substeps","qualified_name":"perovskite_sim.validation.dynamic_defect_transient_refinement._nested_substeps","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-56727b2efaa258fa","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/dynamic_defect_transient_refinement.py","route_id":"route-aa22d20d2d639fc7","origin_key":"python:perovskite_sim.validation.dynamic_defect_transient_refinement._nonlinear_failure_iteration","qualified_name":"perovskite_sim.validation.dynamic_defect_transient_refinement._nonlinear_failure_iteration","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-f549bafd73c58e7b","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/dynamic_defect_transient_refinement.py","route_id":"route-aa22d20d2d639fc7","origin_key":"python:perovskite_sim.validation.dynamic_defect_transient_refinement._nonlinear_failure_outcome","qualified_name":"perovskite_sim.validation.dynamic_defect_transient_refinement._nonlinear_failure_outcome","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-e32d7fdec338cd56","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/dynamic_defect_transient_refinement.py","route_id":"route-aa22d20d2d639fc7","origin_key":"python:perovskite_sim.validation.dynamic_defect_transient_refinement._nonlinear_failure_residual","qualified_name":"perovskite_sim.validation.dynamic_defect_transient_refinement._nonlinear_failure_residual","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-a8ee0a595b3f3e2d","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/dynamic_defect_transient_refinement.py","route_id":"route-aa22d20d2d639fc7","origin_key":"python:perovskite_sim.validation.dynamic_defect_transient_refinement._numeric_vector_option","qualified_name":"perovskite_sim.validation.dynamic_defect_transient_refinement._numeric_vector_option","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-727436d0f9bf14df","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/dynamic_defect_transient_refinement.py","route_id":"route-aa22d20d2d639fc7","origin_key":"python:perovskite_sim.validation.dynamic_defect_transient_refinement._option","qualified_name":"perovskite_sim.validation.dynamic_defect_transient_refinement._option","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-fee331c13448c591","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/dynamic_defect_transient_refinement.py","route_id":"route-aa22d20d2d639fc7","origin_key":"python:perovskite_sim.validation.dynamic_defect_transient_refinement._source_case_identity_verified","qualified_name":"perovskite_sim.validation.dynamic_defect_transient_refinement._source_case_identity_verified","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-411d3ba2201014a5","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/dynamic_defect_transient_refinement.py","route_id":"route-aa22d20d2d639fc7","origin_key":"python:perovskite_sim.validation.dynamic_defect_transient_refinement._validate_lane_contract","qualified_name":"perovskite_sim.validation.dynamic_defect_transient_refinement._validate_lane_contract","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-706f8419ac31e15e","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/dynamic_defect_transient_refinement.py","route_id":"route-aa22d20d2d639fc7","origin_key":"python:perovskite_sim.validation.dynamic_defect_transient_refinement._with_interface_capture_scale","qualified_name":"perovskite_sim.validation.dynamic_defect_transient_refinement._with_interface_capture_scale","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-7168efe24f3a2cfc","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/dynamic_defect_transient_refinement.py","route_id":"route-aa22d20d2d639fc7","origin_key":"python:perovskite_sim.validation.dynamic_defect_transient_refinement._with_ion_diffusivity","qualified_name":"perovskite_sim.validation.dynamic_defect_transient_refinement._with_ion_diffusivity","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-404556965ba3efb9","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/dynamic_defect_transient_refinement.py","route_id":"route-aa22d20d2d639fc7","origin_key":"python:perovskite_sim.validation.dynamic_defect_transient_refinement.run_dynamic_defect_ion_transient_refinement","qualified_name":"perovskite_sim.validation.dynamic_defect_transient_refinement.run_dynamic_defect_ion_transient_refinement","visibility":"public","evidence_level":"source_static"}, +{"id":"python-5be7be1f83ac5698","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/electrothermal_refinement.py","route_id":"route-361c6018edd7103a","origin_key":"python:perovskite_sim.validation.electrothermal_refinement._final_mpp_index","qualified_name":"perovskite_sim.validation.electrothermal_refinement._final_mpp_index","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-adcf879de9d56c62","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/electrothermal_refinement.py","route_id":"route-361c6018edd7103a","origin_key":"python:perovskite_sim.validation.electrothermal_refinement._study_protocol","qualified_name":"perovskite_sim.validation.electrothermal_refinement._study_protocol","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-7021357fcfab5ff4","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/electrothermal_refinement.py","route_id":"route-361c6018edd7103a","origin_key":"python:perovskite_sim.validation.electrothermal_refinement.run_electrothermal_terminal_mpp_refinement","qualified_name":"perovskite_sim.validation.electrothermal_refinement.run_electrothermal_terminal_mpp_refinement","visibility":"public","evidence_level":"source_static"}, +{"id":"python-57dab62adb8bb9d0","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/external_circuit_refinement.py","route_id":"route-95fa4d2e24de5a3e","origin_key":"python:perovskite_sim.validation.external_circuit_refinement._componentwise_policy","qualified_name":"perovskite_sim.validation.external_circuit_refinement._componentwise_policy","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-f6baa5e83a3f6e39","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/external_circuit_refinement.py","route_id":"route-95fa4d2e24de5a3e","origin_key":"python:perovskite_sim.validation.external_circuit_refinement._measurement_metric","qualified_name":"perovskite_sim.validation.external_circuit_refinement._measurement_metric","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-35cd8ea430ff559b","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/external_circuit_refinement.py","route_id":"route-95fa4d2e24de5a3e","origin_key":"python:perovskite_sim.validation.external_circuit_refinement._pce_loss_fraction","qualified_name":"perovskite_sim.validation.external_circuit_refinement._pce_loss_fraction","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-5d8720a9cc8f3538","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/external_circuit_refinement.py","route_id":"route-95fa4d2e24de5a3e","origin_key":"python:perovskite_sim.validation.external_circuit_refinement._study_protocol","qualified_name":"perovskite_sim.validation.external_circuit_refinement._study_protocol","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-ce9dc7af67d25059","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/external_circuit_refinement.py","route_id":"route-95fa4d2e24de5a3e","origin_key":"python:perovskite_sim.validation.external_circuit_refinement._zero_coupling_exact","qualified_name":"perovskite_sim.validation.external_circuit_refinement._zero_coupling_exact","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-4b67ebc1ff050123","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/external_circuit_refinement.py","route_id":"route-95fa4d2e24de5a3e","origin_key":"python:perovskite_sim.validation.external_circuit_refinement.run_external_series_shunt_dc_operating_quadrant_refinement","qualified_name":"perovskite_sim.validation.external_circuit_refinement.run_external_series_shunt_dc_operating_quadrant_refinement","visibility":"public","evidence_level":"source_static"}, +{"id":"python-65dae02d36201791","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/external_circuit_refinement.py","route_id":"route-95fa4d2e24de5a3e","origin_key":"python:perovskite_sim.validation.external_circuit_refinement.run_external_series_shunt_dc_refinement","qualified_name":"perovskite_sim.validation.external_circuit_refinement.run_external_series_shunt_dc_refinement","visibility":"public","evidence_level":"source_static"}, +{"id":"python-49ff7dd4ae9c3c2a","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/foundation_reference_refinement.py","route_id":"route-487d71b1fb2a772d","origin_key":"python:perovskite_sim.validation.foundation_reference_refinement._balanced_reference_grid","qualified_name":"perovskite_sim.validation.foundation_reference_refinement._balanced_reference_grid","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-1caf4c4a56d9dd51","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/foundation_reference_refinement.py","route_id":"route-487d71b1fb2a772d","origin_key":"python:perovskite_sim.validation.foundation_reference_refinement._finest_relative_change","qualified_name":"perovskite_sim.validation.foundation_reference_refinement._finest_relative_change","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-3479c5884e06f399","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/foundation_reference_refinement.py","route_id":"route-487d71b1fb2a772d","origin_key":"python:perovskite_sim.validation.foundation_reference_refinement._sample_sg_density","qualified_name":"perovskite_sim.validation.foundation_reference_refinement._sample_sg_density","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-d932bd5be140030f","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/foundation_reference_refinement.py","route_id":"route-487d71b1fb2a772d","origin_key":"python:perovskite_sim.validation.foundation_reference_refinement.foundation_reference_protocol","qualified_name":"perovskite_sim.validation.foundation_reference_refinement.foundation_reference_protocol","visibility":"public","evidence_level":"source_static"}, +{"id":"python-58a9825a4f29c0c4","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/foundation_reference_refinement.py","route_id":"route-487d71b1fb2a772d","origin_key":"python:perovskite_sim.validation.foundation_reference_refinement.run_foundation_reference_steady_state","qualified_name":"perovskite_sim.validation.foundation_reference_refinement.run_foundation_reference_steady_state","visibility":"public","evidence_level":"source_static"}, +{"id":"python-87fc57d409b39ae4","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/validation/grid_convergence.py","route_id":"route-3fd97637f22d6330","origin_key":"python:perovskite_sim.validation.grid_convergence.ConvergenceSeries","qualified_name":"perovskite_sim.validation.grid_convergence.ConvergenceSeries","visibility":"public","evidence_level":"source_static"}, +{"id":"python-6d32dd1d0d823415","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/grid_convergence.py","route_id":"route-3fd97637f22d6330","origin_key":"python:perovskite_sim.validation.grid_convergence.ConvergenceSeries.__post_init__","qualified_name":"perovskite_sim.validation.grid_convergence.ConvergenceSeries.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-07b31da71d145bbe","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/grid_convergence.py","route_id":"route-3fd97637f22d6330","origin_key":"python:perovskite_sim.validation.grid_convergence.ConvergenceSeries.contraction","qualified_name":"perovskite_sim.validation.grid_convergence.ConvergenceSeries.contraction","visibility":"public","evidence_level":"source_static"}, +{"id":"python-1e6b156992f627cb","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/grid_convergence.py","route_id":"route-3fd97637f22d6330","origin_key":"python:perovskite_sim.validation.grid_convergence.ConvergenceSeries.contracts","qualified_name":"perovskite_sim.validation.grid_convergence.ConvergenceSeries.contracts","visibility":"public","evidence_level":"source_static"}, +{"id":"python-23557cdd42f33b32","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/grid_convergence.py","route_id":"route-3fd97637f22d6330","origin_key":"python:perovskite_sim.validation.grid_convergence.ConvergenceSeries.differences","qualified_name":"perovskite_sim.validation.grid_convergence.ConvergenceSeries.differences","visibility":"public","evidence_level":"source_static"}, +{"id":"python-ee4a42fd471f3860","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/grid_convergence.py","route_id":"route-3fd97637f22d6330","origin_key":"python:perovskite_sim.validation.grid_convergence.ConvergenceSeries.observed_order","qualified_name":"perovskite_sim.validation.grid_convergence.ConvergenceSeries.observed_order","visibility":"public","evidence_level":"source_static"}, +{"id":"python-5921603ea22b3683","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/grid_convergence.py","route_id":"route-3fd97637f22d6330","origin_key":"python:perovskite_sim.validation.grid_convergence.ConvergenceSeries.refinement_ratio","qualified_name":"perovskite_sim.validation.grid_convergence.ConvergenceSeries.refinement_ratio","visibility":"public","evidence_level":"source_static"}, +{"id":"python-402c7034028d01fa","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/grid_convergence.py","route_id":"route-3fd97637f22d6330","origin_key":"python:perovskite_sim.validation.grid_convergence.ConvergenceSeries.richardson_residual","qualified_name":"perovskite_sim.validation.grid_convergence.ConvergenceSeries.richardson_residual","visibility":"public","evidence_level":"source_static"}, +{"id":"python-682e490791e0f572","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/grid_convergence.py","route_id":"route-3fd97637f22d6330","origin_key":"python:perovskite_sim.validation.grid_convergence.prolong_packed_state","qualified_name":"perovskite_sim.validation.grid_convergence.prolong_packed_state","visibility":"public","evidence_level":"source_static"}, +{"id":"python-3a88cac39806ea54","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/identifiability_refinement.py","route_id":"route-70f2bc49c9d6f491","origin_key":"python:perovskite_sim.validation.identifiability_refinement._anchored_protocol","qualified_name":"perovskite_sim.validation.identifiability_refinement._anchored_protocol","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-89bd9d04915bc7fb","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/identifiability_refinement.py","route_id":"route-70f2bc49c9d6f491","origin_key":"python:perovskite_sim.validation.identifiability_refinement._finite_positive","qualified_name":"perovskite_sim.validation.identifiability_refinement._finite_positive","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-1735a5bea98f9e55","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/identifiability_refinement.py","route_id":"route-70f2bc49c9d6f491","origin_key":"python:perovskite_sim.validation.identifiability_refinement._load_interface_anchor","qualified_name":"perovskite_sim.validation.identifiability_refinement._load_interface_anchor","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-cd97bcbdf2189daa","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/identifiability_refinement.py","route_id":"route-70f2bc49c9d6f491","origin_key":"python:perovskite_sim.validation.identifiability_refinement._normalized_nonzero_singular_values","qualified_name":"perovskite_sim.validation.identifiability_refinement._normalized_nonzero_singular_values","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-de908b1e3319614c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/identifiability_refinement.py","route_id":"route-70f2bc49c9d6f491","origin_key":"python:perovskite_sim.validation.identifiability_refinement._parameter_names","qualified_name":"perovskite_sim.validation.identifiability_refinement._parameter_names","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-a370fa54e55e58e8","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/identifiability_refinement.py","route_id":"route-70f2bc49c9d6f491","origin_key":"python:perovskite_sim.validation.identifiability_refinement._study_protocol","qualified_name":"perovskite_sim.validation.identifiability_refinement._study_protocol","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-ad65ef7518df1884","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/identifiability_refinement.py","route_id":"route-70f2bc49c9d6f491","origin_key":"python:perovskite_sim.validation.identifiability_refinement.run_interface_srh_identifiability_refinement","qualified_name":"perovskite_sim.validation.identifiability_refinement.run_interface_srh_identifiability_refinement","visibility":"public","evidence_level":"source_static"}, +{"id":"python-37c71d2e06903ee4","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/incomplete_ionization_refinement.py","route_id":"route-e69f26a656e90120","origin_key":"python:perovskite_sim.validation.incomplete_ionization_refinement._execution_protocol","qualified_name":"perovskite_sim.validation.incomplete_ionization_refinement._execution_protocol","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-77a2df89edc0ed63","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/incomplete_ionization_refinement.py","route_id":"route-e69f26a656e90120","origin_key":"python:perovskite_sim.validation.incomplete_ionization_refinement._temperature_values","qualified_name":"perovskite_sim.validation.incomplete_ionization_refinement._temperature_values","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-4b396cc674efce8c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/incomplete_ionization_refinement.py","route_id":"route-e69f26a656e90120","origin_key":"python:perovskite_sim.validation.incomplete_ionization_refinement.run_incomplete_ionization_temperature_refinement","qualified_name":"perovskite_sim.validation.incomplete_ionization_refinement.run_incomplete_ionization_temperature_refinement","visibility":"public","evidence_level":"source_static"}, +{"id":"python-ec17f6a6aef323d3","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/interface_charge_stress.py","route_id":"route-7b7398177c5163db","origin_key":"python:perovskite_sim.validation.interface_charge_stress._integer_option","qualified_name":"perovskite_sim.validation.interface_charge_stress._integer_option","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-cba4284a0fe0d615","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/interface_charge_stress.py","route_id":"route-7b7398177c5163db","origin_key":"python:perovskite_sim.validation.interface_charge_stress._number_option","qualified_name":"perovskite_sim.validation.interface_charge_stress._number_option","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-cdc9d585af34957b","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/interface_charge_stress.py","route_id":"route-7b7398177c5163db","origin_key":"python:perovskite_sim.validation.interface_charge_stress._point_applied","qualified_name":"perovskite_sim.validation.interface_charge_stress._point_applied","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-036e603a4aecb66f","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/interface_charge_stress.py","route_id":"route-7b7398177c5163db","origin_key":"python:perovskite_sim.validation.interface_charge_stress._protocol","qualified_name":"perovskite_sim.validation.interface_charge_stress._protocol","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-a254e84dfaf5cd8d","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/interface_charge_stress.py","route_id":"route-7b7398177c5163db","origin_key":"python:perovskite_sim.validation.interface_charge_stress._refine_finite_difference_step","qualified_name":"perovskite_sim.validation.interface_charge_stress._refine_finite_difference_step","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-a2c3689d03745727","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/interface_charge_stress.py","route_id":"route-7b7398177c5163db","origin_key":"python:perovskite_sim.validation.interface_charge_stress._require_research_stack","qualified_name":"perovskite_sim.validation.interface_charge_stress._require_research_stack","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-03f25c19abb727d6","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/interface_charge_stress.py","route_id":"route-7b7398177c5163db","origin_key":"python:perovskite_sim.validation.interface_charge_stress._solve_variant","qualified_name":"perovskite_sim.validation.interface_charge_stress._solve_variant","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-b844fe2d38c9c628","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/interface_charge_stress.py","route_id":"route-7b7398177c5163db","origin_key":"python:perovskite_sim.validation.interface_charge_stress._solver_controls","qualified_name":"perovskite_sim.validation.interface_charge_stress._solver_controls","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-c7e3b8cb0a7b4725","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/interface_charge_stress.py","route_id":"route-7b7398177c5163db","origin_key":"python:perovskite_sim.validation.interface_charge_stress._stress_points","qualified_name":"perovskite_sim.validation.interface_charge_stress._stress_points","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-0e28342db0f37f60","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/interface_charge_stress.py","route_id":"route-7b7398177c5163db","origin_key":"python:perovskite_sim.validation.interface_charge_stress.run_equilibrium_referenced_interface_charge_stress","qualified_name":"perovskite_sim.validation.interface_charge_stress.run_equilibrium_referenced_interface_charge_stress","visibility":"public","evidence_level":"source_static"}, +{"id":"python-0afceeeef3b1918b","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/validation/multivalent_defect_refinement.py","route_id":"route-e8b25e6d8730e1e7","origin_key":"python:perovskite_sim.validation.multivalent_defect_refinement._Scenario","qualified_name":"perovskite_sim.validation.multivalent_defect_refinement._Scenario","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-64dcdf728277ce31","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/multivalent_defect_refinement.py","route_id":"route-e8b25e6d8730e1e7","origin_key":"python:perovskite_sim.validation.multivalent_defect_refinement._build_derived_pn","qualified_name":"perovskite_sim.validation.multivalent_defect_refinement._build_derived_pn","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-0b87b993fdf5038d","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/multivalent_defect_refinement.py","route_id":"route-e8b25e6d8730e1e7","origin_key":"python:perovskite_sim.validation.multivalent_defect_refinement._execution_protocol","qualified_name":"perovskite_sim.validation.multivalent_defect_refinement._execution_protocol","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-7821371b74085af9","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/multivalent_defect_refinement.py","route_id":"route-e8b25e6d8730e1e7","origin_key":"python:perovskite_sim.validation.multivalent_defect_refinement._file_sha256","qualified_name":"perovskite_sim.validation.multivalent_defect_refinement._file_sha256","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-e4af6d095e3eea74","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/multivalent_defect_refinement.py","route_id":"route-e8b25e6d8730e1e7","origin_key":"python:perovskite_sim.validation.multivalent_defect_refinement._illumination_steps","qualified_name":"perovskite_sim.validation.multivalent_defect_refinement._illumination_steps","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-9854dc45007a4fcc","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/multivalent_defect_refinement.py","route_id":"route-e8b25e6d8730e1e7","origin_key":"python:perovskite_sim.validation.multivalent_defect_refinement._load_suite","qualified_name":"perovskite_sim.validation.multivalent_defect_refinement._load_suite","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-39a7dec3b73f6390","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/multivalent_defect_refinement.py","route_id":"route-e8b25e6d8730e1e7","origin_key":"python:perovskite_sim.validation.multivalent_defect_refinement._require_exact_keys","qualified_name":"perovskite_sim.validation.multivalent_defect_refinement._require_exact_keys","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-ac179e7ebd69bf34","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/multivalent_defect_refinement.py","route_id":"route-e8b25e6d8730e1e7","origin_key":"python:perovskite_sim.validation.multivalent_defect_refinement._single_transition_pair","qualified_name":"perovskite_sim.validation.multivalent_defect_refinement._single_transition_pair","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-c7d047bd2ddcbab9","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/multivalent_defect_refinement.py","route_id":"route-e8b25e6d8730e1e7","origin_key":"python:perovskite_sim.validation.multivalent_defect_refinement._voltage_grid","qualified_name":"perovskite_sim.validation.multivalent_defect_refinement._voltage_grid","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-99b113bf19e8aa11","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/multivalent_defect_refinement.py","route_id":"route-e8b25e6d8730e1e7","origin_key":"python:perovskite_sim.validation.multivalent_defect_refinement.run_multivalent_defect_qf_dc_refinement","qualified_name":"perovskite_sim.validation.multivalent_defect_refinement.run_multivalent_defect_qf_dc_refinement","visibility":"public","evidence_level":"source_static"}, +{"id":"python-f5eb6a3b60544548","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/validation/numerical_certificate.py","route_id":"route-270572b713ec6865","origin_key":"python:perovskite_sim.validation.numerical_certificate.CellResult","qualified_name":"perovskite_sim.validation.numerical_certificate.CellResult","visibility":"public","evidence_level":"source_static"}, +{"id":"python-9a8834811b374ed1","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/numerical_certificate.py","route_id":"route-270572b713ec6865","origin_key":"python:perovskite_sim.validation.numerical_certificate.CellResult.__post_init__","qualified_name":"perovskite_sim.validation.numerical_certificate.CellResult.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-348317ea9ffde5c3","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/numerical_certificate.py","route_id":"route-270572b713ec6865","origin_key":"python:perovskite_sim.validation.numerical_certificate.CellResult.from_dict","qualified_name":"perovskite_sim.validation.numerical_certificate.CellResult.from_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-5146f54c12104204","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/numerical_certificate.py","route_id":"route-270572b713ec6865","origin_key":"python:perovskite_sim.validation.numerical_certificate.CellResult.metric","qualified_name":"perovskite_sim.validation.numerical_certificate.CellResult.metric","visibility":"public","evidence_level":"source_static"}, +{"id":"python-d7ae493bfa32fb0c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/numerical_certificate.py","route_id":"route-270572b713ec6865","origin_key":"python:perovskite_sim.validation.numerical_certificate.CellResult.to_dict","qualified_name":"perovskite_sim.validation.numerical_certificate.CellResult.to_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-9e2c2386ed881f00","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/validation/numerical_certificate.py","route_id":"route-270572b713ec6865","origin_key":"python:perovskite_sim.validation.numerical_certificate.ConvergenceCheck","qualified_name":"perovskite_sim.validation.numerical_certificate.ConvergenceCheck","visibility":"public","evidence_level":"source_static"}, +{"id":"python-ccb9e3db269329cb","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/numerical_certificate.py","route_id":"route-270572b713ec6865","origin_key":"python:perovskite_sim.validation.numerical_certificate.ConvergenceCheck.__post_init__","qualified_name":"perovskite_sim.validation.numerical_certificate.ConvergenceCheck.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-c39d127886f04c70","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/numerical_certificate.py","route_id":"route-270572b713ec6865","origin_key":"python:perovskite_sim.validation.numerical_certificate.ConvergenceCheck.from_dict","qualified_name":"perovskite_sim.validation.numerical_certificate.ConvergenceCheck.from_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-c8a4598a1103437f","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/numerical_certificate.py","route_id":"route-270572b713ec6865","origin_key":"python:perovskite_sim.validation.numerical_certificate.ConvergenceCheck.to_dict","qualified_name":"perovskite_sim.validation.numerical_certificate.ConvergenceCheck.to_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-c7c61e46e7cdd55b","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/validation/numerical_certificate.py","route_id":"route-270572b713ec6865","origin_key":"python:perovskite_sim.validation.numerical_certificate.LaneDefinition","qualified_name":"perovskite_sim.validation.numerical_certificate.LaneDefinition","visibility":"public","evidence_level":"source_static"}, +{"id":"python-2f73bb8babd38cd8","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/numerical_certificate.py","route_id":"route-270572b713ec6865","origin_key":"python:perovskite_sim.validation.numerical_certificate.LaneDefinition.__post_init__","qualified_name":"perovskite_sim.validation.numerical_certificate.LaneDefinition.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-84c6a9dcbe25d452","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/numerical_certificate.py","route_id":"route-270572b713ec6865","origin_key":"python:perovskite_sim.validation.numerical_certificate.LaneDefinition.definition_sha256","qualified_name":"perovskite_sim.validation.numerical_certificate.LaneDefinition.definition_sha256","visibility":"public","evidence_level":"source_static"}, +{"id":"python-49368fcd42407b56","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/numerical_certificate.py","route_id":"route-270572b713ec6865","origin_key":"python:perovskite_sim.validation.numerical_certificate.LaneDefinition.from_mapping","qualified_name":"perovskite_sim.validation.numerical_certificate.LaneDefinition.from_mapping","visibility":"public","evidence_level":"source_static"}, +{"id":"python-0e909cf58604a080","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/numerical_certificate.py","route_id":"route-270572b713ec6865","origin_key":"python:perovskite_sim.validation.numerical_certificate.LaneDefinition.matrix_points","qualified_name":"perovskite_sim.validation.numerical_certificate.LaneDefinition.matrix_points","visibility":"public","evidence_level":"source_static"}, +{"id":"python-6e2333a42cb60197","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/numerical_certificate.py","route_id":"route-270572b713ec6865","origin_key":"python:perovskite_sim.validation.numerical_certificate.LaneDefinition.options","qualified_name":"perovskite_sim.validation.numerical_certificate.LaneDefinition.options","visibility":"public","evidence_level":"source_static"}, +{"id":"python-89f3071c30b72145","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/numerical_certificate.py","route_id":"route-270572b713ec6865","origin_key":"python:perovskite_sim.validation.numerical_certificate.LaneDefinition.to_dict","qualified_name":"perovskite_sim.validation.numerical_certificate.LaneDefinition.to_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-b412adf01c39d964","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/validation/numerical_certificate.py","route_id":"route-270572b713ec6865","origin_key":"python:perovskite_sim.validation.numerical_certificate.MatrixPoint","qualified_name":"perovskite_sim.validation.numerical_certificate.MatrixPoint","visibility":"public","evidence_level":"source_static"}, +{"id":"python-2a3521fdf25c6e02","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/numerical_certificate.py","route_id":"route-270572b713ec6865","origin_key":"python:perovskite_sim.validation.numerical_certificate.MatrixPoint.__post_init__","qualified_name":"perovskite_sim.validation.numerical_certificate.MatrixPoint.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-059ac63599e7218c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/numerical_certificate.py","route_id":"route-270572b713ec6865","origin_key":"python:perovskite_sim.validation.numerical_certificate.MatrixPoint.key","qualified_name":"perovskite_sim.validation.numerical_certificate.MatrixPoint.key","visibility":"public","evidence_level":"source_static"}, +{"id":"python-38599726892f3aa8","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/numerical_certificate.py","route_id":"route-270572b713ec6865","origin_key":"python:perovskite_sim.validation.numerical_certificate.MatrixPoint.to_dict","qualified_name":"perovskite_sim.validation.numerical_certificate.MatrixPoint.to_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-720c6cccf4c20337","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/validation/numerical_certificate.py","route_id":"route-270572b713ec6865","origin_key":"python:perovskite_sim.validation.numerical_certificate.MetricValue","qualified_name":"perovskite_sim.validation.numerical_certificate.MetricValue","visibility":"public","evidence_level":"source_static"}, +{"id":"python-4c0d1fd8ba9f31d9","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/numerical_certificate.py","route_id":"route-270572b713ec6865","origin_key":"python:perovskite_sim.validation.numerical_certificate.MetricValue.__post_init__","qualified_name":"perovskite_sim.validation.numerical_certificate.MetricValue.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-69c4a2700139fd08","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/numerical_certificate.py","route_id":"route-270572b713ec6865","origin_key":"python:perovskite_sim.validation.numerical_certificate.MetricValue.from_dict","qualified_name":"perovskite_sim.validation.numerical_certificate.MetricValue.from_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-4c257117ed55d5ad","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/numerical_certificate.py","route_id":"route-270572b713ec6865","origin_key":"python:perovskite_sim.validation.numerical_certificate.MetricValue.from_value","qualified_name":"perovskite_sim.validation.numerical_certificate.MetricValue.from_value","visibility":"public","evidence_level":"source_static"}, +{"id":"python-bea471fd64e5cccb","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/numerical_certificate.py","route_id":"route-270572b713ec6865","origin_key":"python:perovskite_sim.validation.numerical_certificate.MetricValue.to_dict","qualified_name":"perovskite_sim.validation.numerical_certificate.MetricValue.to_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-f3b1b435a40a9309","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/validation/numerical_certificate.py","route_id":"route-270572b713ec6865","origin_key":"python:perovskite_sim.validation.numerical_certificate.NumericalCertificate","qualified_name":"perovskite_sim.validation.numerical_certificate.NumericalCertificate","visibility":"public","evidence_level":"source_static"}, +{"id":"python-f901d055c64f47f9","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/numerical_certificate.py","route_id":"route-270572b713ec6865","origin_key":"python:perovskite_sim.validation.numerical_certificate.NumericalCertificate.__post_init__","qualified_name":"perovskite_sim.validation.numerical_certificate.NumericalCertificate.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-1acc824ad938e4b6","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/numerical_certificate.py","route_id":"route-270572b713ec6865","origin_key":"python:perovskite_sim.validation.numerical_certificate.NumericalCertificate._unsigned_dict","qualified_name":"perovskite_sim.validation.numerical_certificate.NumericalCertificate._unsigned_dict","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-813f3db761572865","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/numerical_certificate.py","route_id":"route-270572b713ec6865","origin_key":"python:perovskite_sim.validation.numerical_certificate.NumericalCertificate.from_dict","qualified_name":"perovskite_sim.validation.numerical_certificate.NumericalCertificate.from_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-debbb0f45c2db0c8","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/numerical_certificate.py","route_id":"route-270572b713ec6865","origin_key":"python:perovskite_sim.validation.numerical_certificate.NumericalCertificate.to_dict","qualified_name":"perovskite_sim.validation.numerical_certificate.NumericalCertificate.to_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-66f6125425ec4cd9","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/validation/numerical_certificate.py","route_id":"route-270572b713ec6865","origin_key":"python:perovskite_sim.validation.numerical_certificate.NumericalCertificateError","qualified_name":"perovskite_sim.validation.numerical_certificate.NumericalCertificateError","visibility":"public","evidence_level":"source_static"}, +{"id":"python-34a222db37168284","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/validation/numerical_certificate.py","route_id":"route-270572b713ec6865","origin_key":"python:perovskite_sim.validation.numerical_certificate.ObservableGate","qualified_name":"perovskite_sim.validation.numerical_certificate.ObservableGate","visibility":"public","evidence_level":"source_static"}, +{"id":"python-0fe63dab6f047a63","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/numerical_certificate.py","route_id":"route-270572b713ec6865","origin_key":"python:perovskite_sim.validation.numerical_certificate.ObservableGate.__post_init__","qualified_name":"perovskite_sim.validation.numerical_certificate.ObservableGate.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-9b105a93b2172ac7","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/numerical_certificate.py","route_id":"route-270572b713ec6865","origin_key":"python:perovskite_sim.validation.numerical_certificate.ObservableGate.from_mapping","qualified_name":"perovskite_sim.validation.numerical_certificate.ObservableGate.from_mapping","visibility":"public","evidence_level":"source_static"}, +{"id":"python-04e294b90792f7ec","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/numerical_certificate.py","route_id":"route-270572b713ec6865","origin_key":"python:perovskite_sim.validation.numerical_certificate.ObservableGate.to_dict","qualified_name":"perovskite_sim.validation.numerical_certificate.ObservableGate.to_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-888db022dcb09cf6","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/validation/numerical_certificate.py","route_id":"route-270572b713ec6865","origin_key":"python:perovskite_sim.validation.numerical_certificate.QualityGate","qualified_name":"perovskite_sim.validation.numerical_certificate.QualityGate","visibility":"public","evidence_level":"source_static"}, +{"id":"python-ec94ac659b2fff73","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/numerical_certificate.py","route_id":"route-270572b713ec6865","origin_key":"python:perovskite_sim.validation.numerical_certificate.QualityGate.__post_init__","qualified_name":"perovskite_sim.validation.numerical_certificate.QualityGate.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-14658865e4b5513b","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/numerical_certificate.py","route_id":"route-270572b713ec6865","origin_key":"python:perovskite_sim.validation.numerical_certificate.QualityGate.from_mapping","qualified_name":"perovskite_sim.validation.numerical_certificate.QualityGate.from_mapping","visibility":"public","evidence_level":"source_static"}, +{"id":"python-2271ed6a2bab9e73","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/numerical_certificate.py","route_id":"route-270572b713ec6865","origin_key":"python:perovskite_sim.validation.numerical_certificate.QualityGate.passes","qualified_name":"perovskite_sim.validation.numerical_certificate.QualityGate.passes","visibility":"public","evidence_level":"source_static"}, +{"id":"python-c56ace40e82fedb9","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/numerical_certificate.py","route_id":"route-270572b713ec6865","origin_key":"python:perovskite_sim.validation.numerical_certificate.QualityGate.to_dict","qualified_name":"perovskite_sim.validation.numerical_certificate.QualityGate.to_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-2a9a96a49dc9a87e","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/validation/numerical_certificate.py","route_id":"route-270572b713ec6865","origin_key":"python:perovskite_sim.validation.numerical_certificate.RefinementRegistry","qualified_name":"perovskite_sim.validation.numerical_certificate.RefinementRegistry","visibility":"public","evidence_level":"source_static"}, +{"id":"python-a41226e6b5a0814e","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/numerical_certificate.py","route_id":"route-270572b713ec6865","origin_key":"python:perovskite_sim.validation.numerical_certificate.RefinementRegistry.__post_init__","qualified_name":"perovskite_sim.validation.numerical_certificate.RefinementRegistry.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-ccb134d0279897d7","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/numerical_certificate.py","route_id":"route-270572b713ec6865","origin_key":"python:perovskite_sim.validation.numerical_certificate.RefinementRegistry.lane","qualified_name":"perovskite_sim.validation.numerical_certificate.RefinementRegistry.lane","visibility":"public","evidence_level":"source_static"}, +{"id":"python-f988be88a2eeb952","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/numerical_certificate.py","route_id":"route-270572b713ec6865","origin_key":"python:perovskite_sim.validation.numerical_certificate._finite_number","qualified_name":"perovskite_sim.validation.numerical_certificate._finite_number","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-0da7ce346ce4f684","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/numerical_certificate.py","route_id":"route-270572b713ec6865","origin_key":"python:perovskite_sim.validation.numerical_certificate._finite_positive","qualified_name":"perovskite_sim.validation.numerical_certificate._finite_positive","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-8f60d90b13db5c21","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/numerical_certificate.py","route_id":"route-270572b713ec6865","origin_key":"python:perovskite_sim.validation.numerical_certificate._integer_at_least","qualified_name":"perovskite_sim.validation.numerical_certificate._integer_at_least","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-2b06875e58d2a29d","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/numerical_certificate.py","route_id":"route-270572b713ec6865","origin_key":"python:perovskite_sim.validation.numerical_certificate._matrix_metric_contract","qualified_name":"perovskite_sim.validation.numerical_certificate._matrix_metric_contract","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-a718e23138b2cc1f","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/numerical_certificate.py","route_id":"route-270572b713ec6865","origin_key":"python:perovskite_sim.validation.numerical_certificate._observable_delta","qualified_name":"perovskite_sim.validation.numerical_certificate._observable_delta","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-0404c745ab619bcb","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/numerical_certificate.py","route_id":"route-270572b713ec6865","origin_key":"python:perovskite_sim.validation.numerical_certificate._protocol_contract","qualified_name":"perovskite_sim.validation.numerical_certificate._protocol_contract","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-3c47e41de7aaffdb","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/numerical_certificate.py","route_id":"route-270572b713ec6865","origin_key":"python:perovskite_sim.validation.numerical_certificate._require_identifier","qualified_name":"perovskite_sim.validation.numerical_certificate._require_identifier","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-6193406e46a4d3e4","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/numerical_certificate.py","route_id":"route-270572b713ec6865","origin_key":"python:perovskite_sim.validation.numerical_certificate._require_mapping_keys","qualified_name":"perovskite_sim.validation.numerical_certificate._require_mapping_keys","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-d79c1d4947378f91","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/numerical_certificate.py","route_id":"route-270572b713ec6865","origin_key":"python:perovskite_sim.validation.numerical_certificate._require_sha256","qualified_name":"perovskite_sim.validation.numerical_certificate._require_sha256","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-16a22f4534ab49ed","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/numerical_certificate.py","route_id":"route-270572b713ec6865","origin_key":"python:perovskite_sim.validation.numerical_certificate.canonical_json_bytes","qualified_name":"perovskite_sim.validation.numerical_certificate.canonical_json_bytes","visibility":"public","evidence_level":"source_static"}, +{"id":"python-5595613e5f745ee8","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/numerical_certificate.py","route_id":"route-270572b713ec6865","origin_key":"python:perovskite_sim.validation.numerical_certificate.content_sha256","qualified_name":"perovskite_sim.validation.numerical_certificate.content_sha256","visibility":"public","evidence_level":"source_static"}, +{"id":"python-6ac8b98e4d95f5eb","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/numerical_certificate.py","route_id":"route-270572b713ec6865","origin_key":"python:perovskite_sim.validation.numerical_certificate.evaluate_numerical_certificate","qualified_name":"perovskite_sim.validation.numerical_certificate.evaluate_numerical_certificate","visibility":"public","evidence_level":"source_static"}, +{"id":"python-eaa668c0b0b642ba","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/numerical_certificate.py","route_id":"route-270572b713ec6865","origin_key":"python:perovskite_sim.validation.numerical_certificate.load_refinement_registry","qualified_name":"perovskite_sim.validation.numerical_certificate.load_refinement_registry","visibility":"public","evidence_level":"source_static"}, +{"id":"python-5ba85677a2be5c0a","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/refinement_executors.py","route_id":"route-611c81a4822db706","origin_key":"python:perovskite_sim.validation.refinement_executors._complex_metadata","qualified_name":"perovskite_sim.validation.refinement_executors._complex_metadata","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-2694277af4c48f30","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/refinement_executors.py","route_id":"route-611c81a4822db706","origin_key":"python:perovskite_sim.validation.refinement_executors._componentwise_policy","qualified_name":"perovskite_sim.validation.refinement_executors._componentwise_policy","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-00b3386ef84cb789","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/refinement_executors.py","route_id":"route-611c81a4822db706","origin_key":"python:perovskite_sim.validation.refinement_executors._current_decomposition_relative_error","qualified_name":"perovskite_sim.validation.refinement_executors._current_decomposition_relative_error","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-1db7dd41347e8240","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/refinement_executors.py","route_id":"route-611c81a4822db706","origin_key":"python:perovskite_sim.validation.refinement_executors._dark_charge_reference_arrays_are_bit_identical","qualified_name":"perovskite_sim.validation.refinement_executors._dark_charge_reference_arrays_are_bit_identical","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-3c979ce4b610ea64","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/refinement_executors.py","route_id":"route-611c81a4822db706","origin_key":"python:perovskite_sim.validation.refinement_executors._freeze_ions","qualified_name":"perovskite_sim.validation.refinement_executors._freeze_ions","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-0745f395aecaa5fe","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/refinement_executors.py","route_id":"route-611c81a4822db706","origin_key":"python:perovskite_sim.validation.refinement_executors._grain_boundary_width_relative_error","qualified_name":"perovskite_sim.validation.refinement_executors._grain_boundary_width_relative_error","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-03d39b7fd67e1534","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/refinement_executors.py","route_id":"route-611c81a4822db706","origin_key":"python:perovskite_sim.validation.refinement_executors._interface_charge_off_protocol","qualified_name":"perovskite_sim.validation.refinement_executors._interface_charge_off_protocol","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-13e3e0b0b8a4781c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/refinement_executors.py","route_id":"route-611c81a4822db706","origin_key":"python:perovskite_sim.validation.refinement_executors._interface_charge_research_protocol","qualified_name":"perovskite_sim.validation.refinement_executors._interface_charge_research_protocol","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-932443135c8b2a16","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/refinement_executors.py","route_id":"route-611c81a4822db706","origin_key":"python:perovskite_sim.validation.refinement_executors._interface_recombination_evidence","qualified_name":"perovskite_sim.validation.refinement_executors._interface_recombination_evidence","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-4be2f6d8957da611","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/refinement_executors.py","route_id":"route-611c81a4822db706","origin_key":"python:perovskite_sim.validation.refinement_executors._load_stack","qualified_name":"perovskite_sim.validation.refinement_executors._load_stack","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-ae12ea96f61400c3","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/refinement_executors.py","route_id":"route-611c81a4822db706","origin_key":"python:perovskite_sim.validation.refinement_executors._max_lateral_carrier_variation_relative","qualified_name":"perovskite_sim.validation.refinement_executors._max_lateral_carrier_variation_relative","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-1baa0d80f5f16d97","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/refinement_executors.py","route_id":"route-611c81a4822db706","origin_key":"python:perovskite_sim.validation.refinement_executors._nested_log_frequency_interpolation_error","qualified_name":"perovskite_sim.validation.refinement_executors._nested_log_frequency_interpolation_error","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-d007826a01e6f61a","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/refinement_executors.py","route_id":"route-611c81a4822db706","origin_key":"python:perovskite_sim.validation.refinement_executors._normalized_complex_magnitude","qualified_name":"perovskite_sim.validation.refinement_executors._normalized_complex_magnitude","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-afec9ba65dea23c0","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/refinement_executors.py","route_id":"route-611c81a4822db706","origin_key":"python:perovskite_sim.validation.refinement_executors._normalized_current_parity","qualified_name":"perovskite_sim.validation.refinement_executors._normalized_current_parity","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-ec2fc99fcea601a8","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/refinement_executors.py","route_id":"route-611c81a4822db706","origin_key":"python:perovskite_sim.validation.refinement_executors._numeric_array_option","qualified_name":"perovskite_sim.validation.refinement_executors._numeric_array_option","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-61e9db10f912e3d3","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/refinement_executors.py","route_id":"route-611c81a4822db706","origin_key":"python:perovskite_sim.validation.refinement_executors._one_d_conduction_current_from_snapshots","qualified_name":"perovskite_sim.validation.refinement_executors._one_d_conduction_current_from_snapshots","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-8d5f056313bb747e","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/refinement_executors.py","route_id":"route-611c81a4822db706","origin_key":"python:perovskite_sim.validation.refinement_executors._option","qualified_name":"perovskite_sim.validation.refinement_executors._option","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-47733681c1041dd5","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/refinement_executors.py","route_id":"route-611c81a4822db706","origin_key":"python:perovskite_sim.validation.refinement_executors._poisson_relative_residual","qualified_name":"perovskite_sim.validation.refinement_executors._poisson_relative_residual","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-1794390c19a2f21c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/refinement_executors.py","route_id":"route-611c81a4822db706","origin_key":"python:perovskite_sim.validation.refinement_executors._protocol_metadata","qualified_name":"perovskite_sim.validation.refinement_executors._protocol_metadata","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-f641e4d6f74ff180","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/refinement_executors.py","route_id":"route-611c81a4822db706","origin_key":"python:perovskite_sim.validation.refinement_executors._require_interface_charge_jv_lane_stack","qualified_name":"perovskite_sim.validation.refinement_executors._require_interface_charge_jv_lane_stack","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-bdbf31aba4a5a2bf","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/refinement_executors.py","route_id":"route-611c81a4822db706","origin_key":"python:perovskite_sim.validation.refinement_executors._settle_2d_with_tolerance","qualified_name":"perovskite_sim.validation.refinement_executors._settle_2d_with_tolerance","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-27c3ab0f6abff97f","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/refinement_executors.py","route_id":"route-611c81a4822db706","origin_key":"python:perovskite_sim.validation.refinement_executors._steady_jv_numerical_protocol","qualified_name":"perovskite_sim.validation.refinement_executors._steady_jv_numerical_protocol","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-7f21731afe850d46","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/refinement_executors.py","route_id":"route-611c81a4822db706","origin_key":"python:perovskite_sim.validation.refinement_executors._two_sided_interface_evidence","qualified_name":"perovskite_sim.validation.refinement_executors._two_sided_interface_evidence","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-afd6ae635a8edc58","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/refinement_executors.py","route_id":"route-611c81a4822db706","origin_key":"python:perovskite_sim.validation.refinement_executors._twod_mobile_interface_refinement_protocol","qualified_name":"perovskite_sim.validation.refinement_executors._twod_mobile_interface_refinement_protocol","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-2062954b19d1ca0b","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/refinement_executors.py","route_id":"route-611c81a4822db706","origin_key":"python:perovskite_sim.validation.refinement_executors.run_csi_qf_frequency_domain","qualified_name":"perovskite_sim.validation.refinement_executors.run_csi_qf_frequency_domain","visibility":"public","evidence_level":"source_static"}, +{"id":"python-34c7b13e16853d85","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/refinement_executors.py","route_id":"route-611c81a4822db706","origin_key":"python:perovskite_sim.validation.refinement_executors.run_dynamic_defect_impedance_production","qualified_name":"perovskite_sim.validation.refinement_executors.run_dynamic_defect_impedance_production","visibility":"public","evidence_level":"source_static"}, +{"id":"python-d8b2458d0a41e9a8","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/refinement_executors.py","route_id":"route-611c81a4822db706","origin_key":"python:perovskite_sim.validation.refinement_executors.run_equilibrium_referenced_interface_charge","qualified_name":"perovskite_sim.validation.refinement_executors.run_equilibrium_referenced_interface_charge","visibility":"public","evidence_level":"source_static"}, +{"id":"python-7de145bb06fb676f","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/refinement_executors.py","route_id":"route-611c81a4822db706","origin_key":"python:perovskite_sim.validation.refinement_executors.run_equilibrium_referenced_interface_charge_jv","qualified_name":"perovskite_sim.validation.refinement_executors.run_equilibrium_referenced_interface_charge_jv","visibility":"public","evidence_level":"source_static"}, +{"id":"python-9df3d97a4914c2ef","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/refinement_executors.py","route_id":"route-611c81a4822db706","origin_key":"python:perovskite_sim.validation.refinement_executors.run_frozen_ion_steady_jv","qualified_name":"perovskite_sim.validation.refinement_executors.run_frozen_ion_steady_jv","visibility":"public","evidence_level":"source_static"}, +{"id":"python-96f9e62d44212702","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/refinement_executors.py","route_id":"route-611c81a4822db706","origin_key":"python:perovskite_sim.validation.refinement_executors.run_interface_recombination_charge_off","qualified_name":"perovskite_sim.validation.refinement_executors.run_interface_recombination_charge_off","visibility":"public","evidence_level":"source_static"}, +{"id":"python-1838a35981626477","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/refinement_executors.py","route_id":"route-611c81a4822db706","origin_key":"python:perovskite_sim.validation.refinement_executors.run_ion_aware_dc_operating_point","qualified_name":"perovskite_sim.validation.refinement_executors.run_ion_aware_dc_operating_point","visibility":"public","evidence_level":"source_static"}, +{"id":"python-02bc2e4975cd932e","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/refinement_executors.py","route_id":"route-611c81a4822db706","origin_key":"python:perovskite_sim.validation.refinement_executors.run_ion_aware_impedance_frequency_domain","qualified_name":"perovskite_sim.validation.refinement_executors.run_ion_aware_impedance_frequency_domain","visibility":"public","evidence_level":"source_static"}, +{"id":"python-161f49eb6953df36","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/refinement_executors.py","route_id":"route-611c81a4822db706","origin_key":"python:perovskite_sim.validation.refinement_executors.run_mobile_ion_transient_jv","qualified_name":"perovskite_sim.validation.refinement_executors.run_mobile_ion_transient_jv","visibility":"public","evidence_level":"source_static"}, +{"id":"python-75f567a04c30b1a7","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/refinement_executors.py","route_id":"route-611c81a4822db706","origin_key":"python:perovskite_sim.validation.refinement_executors.run_twod_mobile_ion_interface_srh","qualified_name":"perovskite_sim.validation.refinement_executors.run_twod_mobile_ion_interface_srh","visibility":"public","evidence_level":"source_static"}, +{"id":"python-5ccf16d8cf24544f","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/refinement_executors.py","route_id":"route-611c81a4822db706","origin_key":"python:perovskite_sim.validation.refinement_executors.run_twod_uniform_limit","qualified_name":"perovskite_sim.validation.refinement_executors.run_twod_uniform_limit","visibility":"public","evidence_level":"source_static"}, +{"id":"python-c922c4b97f80ad52","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/validation/refinement_runner.py","route_id":"route-713848b2efca9ebf","origin_key":"python:perovskite_sim.validation.refinement_runner.ArtifactReference","qualified_name":"perovskite_sim.validation.refinement_runner.ArtifactReference","visibility":"public","evidence_level":"source_static"}, +{"id":"python-17a3daabbaaaff51","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/refinement_runner.py","route_id":"route-713848b2efca9ebf","origin_key":"python:perovskite_sim.validation.refinement_runner.ArtifactReference.__post_init__","qualified_name":"perovskite_sim.validation.refinement_runner.ArtifactReference.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-8a5af1d706288c81","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/refinement_runner.py","route_id":"route-713848b2efca9ebf","origin_key":"python:perovskite_sim.validation.refinement_runner.ArtifactReference.from_mapping","qualified_name":"perovskite_sim.validation.refinement_runner.ArtifactReference.from_mapping","visibility":"public","evidence_level":"source_static"}, +{"id":"python-28f423f1c6cff151","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/refinement_runner.py","route_id":"route-713848b2efca9ebf","origin_key":"python:perovskite_sim.validation.refinement_runner.ArtifactReference.to_dict","qualified_name":"perovskite_sim.validation.refinement_runner.ArtifactReference.to_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-a4776c408ea00cdc","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/validation/refinement_runner.py","route_id":"route-713848b2efca9ebf","origin_key":"python:perovskite_sim.validation.refinement_runner.CellMeasurement","qualified_name":"perovskite_sim.validation.refinement_runner.CellMeasurement","visibility":"public","evidence_level":"source_static"}, +{"id":"python-71ca7a512c3bbd6f","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/refinement_runner.py","route_id":"route-713848b2efca9ebf","origin_key":"python:perovskite_sim.validation.refinement_runner.CellMeasurement.__post_init__","qualified_name":"perovskite_sim.validation.refinement_runner.CellMeasurement.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-b44d01d49a4ebdf1","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/refinement_runner.py","route_id":"route-713848b2efca9ebf","origin_key":"python:perovskite_sim.validation.refinement_runner.CellMeasurement.from_mapping","qualified_name":"perovskite_sim.validation.refinement_runner.CellMeasurement.from_mapping","visibility":"public","evidence_level":"source_static"}, +{"id":"python-33d49652acc766a4","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/validation/refinement_runner.py","route_id":"route-713848b2efca9ebf","origin_key":"python:perovskite_sim.validation.refinement_runner.RefinementExecutor","qualified_name":"perovskite_sim.validation.refinement_runner.RefinementExecutor","visibility":"public","evidence_level":"source_static"}, +{"id":"python-dc6e235ce694f1ac","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/refinement_runner.py","route_id":"route-713848b2efca9ebf","origin_key":"python:perovskite_sim.validation.refinement_runner.RefinementExecutor.__call__","qualified_name":"perovskite_sim.validation.refinement_runner.RefinementExecutor.__call__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-83aa3c1acc8f9ae6","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/validation/refinement_runner.py","route_id":"route-713848b2efca9ebf","origin_key":"python:perovskite_sim.validation.refinement_runner.RefinementPlan","qualified_name":"perovskite_sim.validation.refinement_runner.RefinementPlan","visibility":"public","evidence_level":"source_static"}, +{"id":"python-6d908fb53dfc6cb6","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/refinement_runner.py","route_id":"route-713848b2efca9ebf","origin_key":"python:perovskite_sim.validation.refinement_runner.RefinementPlan.environment","qualified_name":"perovskite_sim.validation.refinement_runner.RefinementPlan.environment","visibility":"public","evidence_level":"source_static"}, +{"id":"python-3c5d77bb7d7986ce","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/refinement_runner.py","route_id":"route-713848b2efca9ebf","origin_key":"python:perovskite_sim.validation.refinement_runner.RefinementPlan.source","qualified_name":"perovskite_sim.validation.refinement_runner.RefinementPlan.source","visibility":"public","evidence_level":"source_static"}, +{"id":"python-209a6916e65cd451","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/refinement_runner.py","route_id":"route-713848b2efca9ebf","origin_key":"python:perovskite_sim.validation.refinement_runner.RefinementPlan.to_dict","qualified_name":"perovskite_sim.validation.refinement_runner.RefinementPlan.to_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-1e580dc32c32aea2","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/validation/refinement_runner.py","route_id":"route-713848b2efca9ebf","origin_key":"python:perovskite_sim.validation.refinement_runner.RefinementRunnerError","qualified_name":"perovskite_sim.validation.refinement_runner.RefinementRunnerError","visibility":"public","evidence_level":"source_static"}, +{"id":"python-55696b6db7a6ae31","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/validation/refinement_runner.py","route_id":"route-713848b2efca9ebf","origin_key":"python:perovskite_sim.validation.refinement_runner.RunOutcome","qualified_name":"perovskite_sim.validation.refinement_runner.RunOutcome","visibility":"public","evidence_level":"source_static"}, +{"id":"python-fe33b199b0a5fd82","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/refinement_runner.py","route_id":"route-713848b2efca9ebf","origin_key":"python:perovskite_sim.validation.refinement_runner._atomic_write_json","qualified_name":"perovskite_sim.validation.refinement_runner._atomic_write_json","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-eed5de028d882a62","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/refinement_runner.py","route_id":"route-713848b2efca9ebf","origin_key":"python:perovskite_sim.validation.refinement_runner._execute_cell","qualified_name":"perovskite_sim.validation.refinement_runner._execute_cell","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-6e51c5a3d06f2889","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/refinement_runner.py","route_id":"route-713848b2efca9ebf","origin_key":"python:perovskite_sim.validation.refinement_runner._executor_identity","qualified_name":"perovskite_sim.validation.refinement_runner._executor_identity","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-8e6c4247ccea33ef","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/refinement_runner.py","route_id":"route-713848b2efca9ebf","origin_key":"python:perovskite_sim.validation.refinement_runner._executor_source_sha256","qualified_name":"perovskite_sim.validation.refinement_runner._executor_source_sha256","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-5d112ef8f7aedcd4","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/refinement_runner.py","route_id":"route-713848b2efca9ebf","origin_key":"python:perovskite_sim.validation.refinement_runner._file_sha256","qualified_name":"perovskite_sim.validation.refinement_runner._file_sha256","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-7cbfa2d37409ec34","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/refinement_runner.py","route_id":"route-713848b2efca9ebf","origin_key":"python:perovskite_sim.validation.refinement_runner._is_sha256","qualified_name":"perovskite_sim.validation.refinement_runner._is_sha256","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-822c8bbbc05dff26","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/refinement_runner.py","route_id":"route-713848b2efca9ebf","origin_key":"python:perovskite_sim.validation.refinement_runner._load_cells","qualified_name":"perovskite_sim.validation.refinement_runner._load_cells","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-06274a29bca19467","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/refinement_runner.py","route_id":"route-713848b2efca9ebf","origin_key":"python:perovskite_sim.validation.refinement_runner._load_existing_references","qualified_name":"perovskite_sim.validation.refinement_runner._load_existing_references","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-6698df72bae35fda","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/refinement_runner.py","route_id":"route-713848b2efca9ebf","origin_key":"python:perovskite_sim.validation.refinement_runner._manifest_payload","qualified_name":"perovskite_sim.validation.refinement_runner._manifest_payload","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-0d128dc9f3b4a504","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/refinement_runner.py","route_id":"route-713848b2efca9ebf","origin_key":"python:perovskite_sim.validation.refinement_runner._manifest_protocol_records","qualified_name":"perovskite_sim.validation.refinement_runner._manifest_protocol_records","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-d85edd12a530dc07","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/refinement_runner.py","route_id":"route-713848b2efca9ebf","origin_key":"python:perovskite_sim.validation.refinement_runner._persist_manifest","qualified_name":"perovskite_sim.validation.refinement_runner._persist_manifest","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-4dc7dd55814dc317","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/refinement_runner.py","route_id":"route-713848b2efca9ebf","origin_key":"python:perovskite_sim.validation.refinement_runner._read_json","qualified_name":"perovskite_sim.validation.refinement_runner._read_json","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-967d52eb7e3d087d","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/refinement_runner.py","route_id":"route-713848b2efca9ebf","origin_key":"python:perovskite_sim.validation.refinement_runner._require_exact_keys","qualified_name":"perovskite_sim.validation.refinement_runner._require_exact_keys","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-68341a6bcf68700c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/refinement_runner.py","route_id":"route-713848b2efca9ebf","origin_key":"python:perovskite_sim.validation.refinement_runner._run_git","qualified_name":"perovskite_sim.validation.refinement_runner._run_git","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-c154e93f615ab8e5","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/refinement_runner.py","route_id":"route-713848b2efca9ebf","origin_key":"python:perovskite_sim.validation.refinement_runner._safe_output_root","qualified_name":"perovskite_sim.validation.refinement_runner._safe_output_root","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-8aabea59a9d38550","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/refinement_runner.py","route_id":"route-713848b2efca9ebf","origin_key":"python:perovskite_sim.validation.refinement_runner._validate_measurement_contract","qualified_name":"perovskite_sim.validation.refinement_runner._validate_measurement_contract","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-4ba4d1af132fa3ba","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/refinement_runner.py","route_id":"route-713848b2efca9ebf","origin_key":"python:perovskite_sim.validation.refinement_runner._write_immutable_json","qualified_name":"perovskite_sim.validation.refinement_runner._write_immutable_json","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-b63751aa984e3973","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/refinement_runner.py","route_id":"route-713848b2efca9ebf","origin_key":"python:perovskite_sim.validation.refinement_runner._write_named_immutable_json","qualified_name":"perovskite_sim.validation.refinement_runner._write_named_immutable_json","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-17a16df1c577a5f3","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/refinement_runner.py","route_id":"route-713848b2efca9ebf","origin_key":"python:perovskite_sim.validation.refinement_runner.load_executor","qualified_name":"perovskite_sim.validation.refinement_runner.load_executor","visibility":"public","evidence_level":"source_static"}, +{"id":"python-3bfc9504c7b91324","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/refinement_runner.py","route_id":"route-713848b2efca9ebf","origin_key":"python:perovskite_sim.validation.refinement_runner.plan_refinement","qualified_name":"perovskite_sim.validation.refinement_runner.plan_refinement","visibility":"public","evidence_level":"source_static"}, +{"id":"python-5d94d94405fcd0fd","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/refinement_runner.py","route_id":"route-713848b2efca9ebf","origin_key":"python:perovskite_sim.validation.refinement_runner.run_refinement","qualified_name":"perovskite_sim.validation.refinement_runner.run_refinement","visibility":"public","evidence_level":"source_static"}, +{"id":"python-6c1ab9ab8a245fb6","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/refinement_runner.py","route_id":"route-713848b2efca9ebf","origin_key":"python:perovskite_sim.validation.refinement_runner.runtime_environment","qualified_name":"perovskite_sim.validation.refinement_runner.runtime_environment","visibility":"public","evidence_level":"source_static"}, +{"id":"python-07c892b8eef3681a","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/refinement_runner.py","route_id":"route-713848b2efca9ebf","origin_key":"python:perovskite_sim.validation.refinement_runner.source_provenance","qualified_name":"perovskite_sim.validation.refinement_runner.source_provenance","visibility":"public","evidence_level":"source_static"}, +{"id":"python-d03ccc9ef6845cb5","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"python:perovskite_sim.validation.regularization_certificate.AppliedRunContext","qualified_name":"perovskite_sim.validation.regularization_certificate.AppliedRunContext","visibility":"public","evidence_level":"source_static"}, +{"id":"python-8cb313f8e9c3d857","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"python:perovskite_sim.validation.regularization_certificate.AppliedRunContext.__post_init__","qualified_name":"perovskite_sim.validation.regularization_certificate.AppliedRunContext.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-5f64cd057f8e9d55","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"python:perovskite_sim.validation.regularization_certificate.AppliedRunContext.from_dict","qualified_name":"perovskite_sim.validation.regularization_certificate.AppliedRunContext.from_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-92512e0e9fd97345","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"python:perovskite_sim.validation.regularization_certificate.AppliedRunContext.to_dict","qualified_name":"perovskite_sim.validation.regularization_certificate.AppliedRunContext.to_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-b26572739054b675","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"python:perovskite_sim.validation.regularization_certificate.CanonicalInput","qualified_name":"perovskite_sim.validation.regularization_certificate.CanonicalInput","visibility":"public","evidence_level":"source_static"}, +{"id":"python-c6a31bd1e0ae4290","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"python:perovskite_sim.validation.regularization_certificate.CanonicalInput.__post_init__","qualified_name":"perovskite_sim.validation.regularization_certificate.CanonicalInput.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-18220515eff41957","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"python:perovskite_sim.validation.regularization_certificate.CanonicalInput.from_dict","qualified_name":"perovskite_sim.validation.regularization_certificate.CanonicalInput.from_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-24bfd81646f8e65f","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"python:perovskite_sim.validation.regularization_certificate.CanonicalInput.from_value","qualified_name":"perovskite_sim.validation.regularization_certificate.CanonicalInput.from_value","visibility":"public","evidence_level":"source_static"}, +{"id":"python-d57ccf86e53f3639","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"python:perovskite_sim.validation.regularization_certificate.CanonicalInput.to_dict","qualified_name":"perovskite_sim.validation.regularization_certificate.CanonicalInput.to_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-389d332045dde776","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"python:perovskite_sim.validation.regularization_certificate.CanonicalInput.value","qualified_name":"perovskite_sim.validation.regularization_certificate.CanonicalInput.value","visibility":"public","evidence_level":"source_static"}, +{"id":"python-e84cbe460b3e75e9","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"python:perovskite_sim.validation.regularization_certificate.CertificateCheck","qualified_name":"perovskite_sim.validation.regularization_certificate.CertificateCheck","visibility":"public","evidence_level":"source_static"}, +{"id":"python-5675dcf2dd086070","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"python:perovskite_sim.validation.regularization_certificate.CertificateCheck.__post_init__","qualified_name":"perovskite_sim.validation.regularization_certificate.CertificateCheck.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-48cef616522421e7","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"python:perovskite_sim.validation.regularization_certificate.CertificateCheck.to_dict","qualified_name":"perovskite_sim.validation.regularization_certificate.CertificateCheck.to_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-c8fa5dee2d852208","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"python:perovskite_sim.validation.regularization_certificate.MetricSpec","qualified_name":"perovskite_sim.validation.regularization_certificate.MetricSpec","visibility":"public","evidence_level":"source_static"}, +{"id":"python-400e38c2d4dea50b","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"python:perovskite_sim.validation.regularization_certificate.MetricSpec.__post_init__","qualified_name":"perovskite_sim.validation.regularization_certificate.MetricSpec.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-2dbdd89707738ba5","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"python:perovskite_sim.validation.regularization_certificate.MetricSpec.from_dict","qualified_name":"perovskite_sim.validation.regularization_certificate.MetricSpec.from_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-12642c71883bbafd","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"python:perovskite_sim.validation.regularization_certificate.MetricSpec.to_dict","qualified_name":"perovskite_sim.validation.regularization_certificate.MetricSpec.to_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-9a378715a4d34b9b","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"python:perovskite_sim.validation.regularization_certificate.MetricValue","qualified_name":"perovskite_sim.validation.regularization_certificate.MetricValue","visibility":"public","evidence_level":"source_static"}, +{"id":"python-05850654d4e3670b","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"python:perovskite_sim.validation.regularization_certificate.MetricValue.__post_init__","qualified_name":"perovskite_sim.validation.regularization_certificate.MetricValue.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-be09e92b298c502a","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"python:perovskite_sim.validation.regularization_certificate.MetricValue.from_dict","qualified_name":"perovskite_sim.validation.regularization_certificate.MetricValue.from_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-7330e509727e494e","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"python:perovskite_sim.validation.regularization_certificate.MetricValue.from_value","qualified_name":"perovskite_sim.validation.regularization_certificate.MetricValue.from_value","visibility":"public","evidence_level":"source_static"}, +{"id":"python-de73cef0c2f41b54","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"python:perovskite_sim.validation.regularization_certificate.MetricValue.scalar","qualified_name":"perovskite_sim.validation.regularization_certificate.MetricValue.scalar","visibility":"public","evidence_level":"source_static"}, +{"id":"python-887ff1c47769cc30","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"python:perovskite_sim.validation.regularization_certificate.MetricValue.to_dict","qualified_name":"perovskite_sim.validation.regularization_certificate.MetricValue.to_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-41e9681b90055ff3","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"python:perovskite_sim.validation.regularization_certificate.ObservableSpec","qualified_name":"perovskite_sim.validation.regularization_certificate.ObservableSpec","visibility":"public","evidence_level":"source_static"}, +{"id":"python-d14d4fb614cd0832","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"python:perovskite_sim.validation.regularization_certificate.ObservableSpec.__post_init__","qualified_name":"perovskite_sim.validation.regularization_certificate.ObservableSpec.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-a81cd8142d9f21aa","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"python:perovskite_sim.validation.regularization_certificate.ObservableSpec.from_dict","qualified_name":"perovskite_sim.validation.regularization_certificate.ObservableSpec.from_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-49790039a3449c98","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"python:perovskite_sim.validation.regularization_certificate.ObservableSpec.to_dict","qualified_name":"perovskite_sim.validation.regularization_certificate.ObservableSpec.to_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-99bf7a8d49afa3a6","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"python:perovskite_sim.validation.regularization_certificate.QualityGateSpec","qualified_name":"perovskite_sim.validation.regularization_certificate.QualityGateSpec","visibility":"public","evidence_level":"source_static"}, +{"id":"python-a004a1cc937a6752","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"python:perovskite_sim.validation.regularization_certificate.QualityGateSpec.__post_init__","qualified_name":"perovskite_sim.validation.regularization_certificate.QualityGateSpec.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-0b3317429f731065","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"python:perovskite_sim.validation.regularization_certificate.QualityGateSpec.from_dict","qualified_name":"perovskite_sim.validation.regularization_certificate.QualityGateSpec.from_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-8770e8594dcf24c3","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"python:perovskite_sim.validation.regularization_certificate.QualityGateSpec.passes","qualified_name":"perovskite_sim.validation.regularization_certificate.QualityGateSpec.passes","visibility":"public","evidence_level":"source_static"}, +{"id":"python-e2200837b723f812","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"python:perovskite_sim.validation.regularization_certificate.QualityGateSpec.to_dict","qualified_name":"perovskite_sim.validation.regularization_certificate.QualityGateSpec.to_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-4fd47503e22c8358","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"python:perovskite_sim.validation.regularization_certificate.RegularizationCertificate","qualified_name":"perovskite_sim.validation.regularization_certificate.RegularizationCertificate","visibility":"public","evidence_level":"source_static"}, +{"id":"python-c810b9b393a88d5c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"python:perovskite_sim.validation.regularization_certificate.RegularizationCertificate.__post_init__","qualified_name":"perovskite_sim.validation.regularization_certificate.RegularizationCertificate.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-d93fa888cdbed4bd","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"python:perovskite_sim.validation.regularization_certificate.RegularizationCertificate._unsigned_dict","qualified_name":"perovskite_sim.validation.regularization_certificate.RegularizationCertificate._unsigned_dict","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-c073fb3c6bedde4d","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"python:perovskite_sim.validation.regularization_certificate.RegularizationCertificate.canonical_json","qualified_name":"perovskite_sim.validation.regularization_certificate.RegularizationCertificate.canonical_json","visibility":"public","evidence_level":"source_static"}, +{"id":"python-0d4128ce008403b3","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"python:perovskite_sim.validation.regularization_certificate.RegularizationCertificate.from_dict","qualified_name":"perovskite_sim.validation.regularization_certificate.RegularizationCertificate.from_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-ae5eddee885589ce","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"python:perovskite_sim.validation.regularization_certificate.RegularizationCertificate.to_dict","qualified_name":"perovskite_sim.validation.regularization_certificate.RegularizationCertificate.to_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-760ce6a73580b13c","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"python:perovskite_sim.validation.regularization_certificate.RegularizationCertificateError","qualified_name":"perovskite_sim.validation.regularization_certificate.RegularizationCertificateError","visibility":"public","evidence_level":"source_static"}, +{"id":"python-9b4f38f76d5858de","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"python:perovskite_sim.validation.regularization_certificate.RegularizationMeasurement","qualified_name":"perovskite_sim.validation.regularization_certificate.RegularizationMeasurement","visibility":"public","evidence_level":"source_static"}, +{"id":"python-0d99cf0c253de46a","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"python:perovskite_sim.validation.regularization_certificate.RegularizationMeasurement.__post_init__","qualified_name":"perovskite_sim.validation.regularization_certificate.RegularizationMeasurement.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-35f83c1c975cd48b","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"python:perovskite_sim.validation.regularization_certificate.RegularizationMeasurement.from_dict","qualified_name":"perovskite_sim.validation.regularization_certificate.RegularizationMeasurement.from_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-15ab1bf89b9c9d4a","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"python:perovskite_sim.validation.regularization_certificate.RegularizationMeasurement.from_values","qualified_name":"perovskite_sim.validation.regularization_certificate.RegularizationMeasurement.from_values","visibility":"public","evidence_level":"source_static"}, +{"id":"python-21409482f84b27b7","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"python:perovskite_sim.validation.regularization_certificate.RegularizationMeasurement.to_dict","qualified_name":"perovskite_sim.validation.regularization_certificate.RegularizationMeasurement.to_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-8c1ce39ccf17647e","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"python:perovskite_sim.validation.regularization_certificate.RegularizationRung","qualified_name":"perovskite_sim.validation.regularization_certificate.RegularizationRung","visibility":"public","evidence_level":"source_static"}, +{"id":"python-d09eee89be0c76eb","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"python:perovskite_sim.validation.regularization_certificate.RegularizationRung.__post_init__","qualified_name":"perovskite_sim.validation.regularization_certificate.RegularizationRung.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-458dbb0c2d4f0de7","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"python:perovskite_sim.validation.regularization_certificate.RegularizationRung.completed","qualified_name":"perovskite_sim.validation.regularization_certificate.RegularizationRung.completed","visibility":"public","evidence_level":"source_static"}, +{"id":"python-11ee250a39e61f8a","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"python:perovskite_sim.validation.regularization_certificate.RegularizationRung.failed","qualified_name":"perovskite_sim.validation.regularization_certificate.RegularizationRung.failed","visibility":"public","evidence_level":"source_static"}, +{"id":"python-5f8092cd87acae7e","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"python:perovskite_sim.validation.regularization_certificate.RegularizationRung.from_dict","qualified_name":"perovskite_sim.validation.regularization_certificate.RegularizationRung.from_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-86edca8872ea5017","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"python:perovskite_sim.validation.regularization_certificate.RegularizationRung.missing","qualified_name":"perovskite_sim.validation.regularization_certificate.RegularizationRung.missing","visibility":"public","evidence_level":"source_static"}, +{"id":"python-44aa52adc0043e10","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"python:perovskite_sim.validation.regularization_certificate.RegularizationRung.to_dict","qualified_name":"perovskite_sim.validation.regularization_certificate.RegularizationRung.to_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-300492df94ad6b6e","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"python:perovskite_sim.validation.regularization_certificate.RegularizationRungRequest","qualified_name":"perovskite_sim.validation.regularization_certificate.RegularizationRungRequest","visibility":"public","evidence_level":"source_static"}, +{"id":"python-486b3a1ea00b4646","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"python:perovskite_sim.validation.regularization_certificate.RegularizationRungRequest.__post_init__","qualified_name":"perovskite_sim.validation.regularization_certificate.RegularizationRungRequest.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-243806e2b88d20a6","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"python:perovskite_sim.validation.regularization_certificate.RegularizationRungRequest.for_factor","qualified_name":"perovskite_sim.validation.regularization_certificate.RegularizationRungRequest.for_factor","visibility":"public","evidence_level":"source_static"}, +{"id":"python-438d51e3f0cb4ba9","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"python:perovskite_sim.validation.regularization_certificate.RegularizationStudy","qualified_name":"perovskite_sim.validation.regularization_certificate.RegularizationStudy","visibility":"public","evidence_level":"source_static"}, +{"id":"python-989a4af9d7bac481","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"python:perovskite_sim.validation.regularization_certificate.RegularizationStudy.__post_init__","qualified_name":"perovskite_sim.validation.regularization_certificate.RegularizationStudy.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-7637299a5e8750cf","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"python:perovskite_sim.validation.regularization_certificate.RegularizationStudy.definition_sha256","qualified_name":"perovskite_sim.validation.regularization_certificate.RegularizationStudy.definition_sha256","visibility":"public","evidence_level":"source_static"}, +{"id":"python-194dcf4e7094d33b","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"python:perovskite_sim.validation.regularization_certificate.RegularizationStudy.from_dict","qualified_name":"perovskite_sim.validation.regularization_certificate.RegularizationStudy.from_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-ee8f9469ced6221c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"python:perovskite_sim.validation.regularization_certificate.RegularizationStudy.from_values","qualified_name":"perovskite_sim.validation.regularization_certificate.RegularizationStudy.from_values","visibility":"public","evidence_level":"source_static"}, +{"id":"python-f84894daad8b954c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"python:perovskite_sim.validation.regularization_certificate.RegularizationStudy.to_dict","qualified_name":"perovskite_sim.validation.regularization_certificate.RegularizationStudy.to_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-91422f876ca188fe","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"python:perovskite_sim.validation.regularization_certificate.SolverWork","qualified_name":"perovskite_sim.validation.regularization_certificate.SolverWork","visibility":"public","evidence_level":"source_static"}, +{"id":"python-493a1af734161407","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"python:perovskite_sim.validation.regularization_certificate.SolverWork.__post_init__","qualified_name":"perovskite_sim.validation.regularization_certificate.SolverWork.__post_init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-839181a352f4a5da","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"python:perovskite_sim.validation.regularization_certificate.SolverWork.complete","qualified_name":"perovskite_sim.validation.regularization_certificate.SolverWork.complete","visibility":"public","evidence_level":"source_static"}, +{"id":"python-9a98b2fecb6aac35","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"python:perovskite_sim.validation.regularization_certificate.SolverWork.from_dict","qualified_name":"perovskite_sim.validation.regularization_certificate.SolverWork.from_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-3bb7e269ec217c81","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"python:perovskite_sim.validation.regularization_certificate.SolverWork.to_dict","qualified_name":"perovskite_sim.validation.regularization_certificate.SolverWork.to_dict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-bf3bf06fe926a2b8","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"python:perovskite_sim.validation.regularization_certificate._absolute_linf","qualified_name":"perovskite_sim.validation.regularization_certificate._absolute_linf","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-1918f3510a0bcf26","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"python:perovskite_sim.validation.regularization_certificate._absolute_quality_check","qualified_name":"perovskite_sim.validation.regularization_certificate._absolute_quality_check","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-d50f2d53430e897a","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"python:perovskite_sim.validation.regularization_certificate._canonical_json_bytes","qualified_name":"perovskite_sim.validation.regularization_certificate._canonical_json_bytes","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-7debe5fd12bcecda","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"python:perovskite_sim.validation.regularization_certificate._content_sha256","qualified_name":"perovskite_sim.validation.regularization_certificate._content_sha256","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-263c63938a24b27d","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"python:perovskite_sim.validation.regularization_certificate._context_check","qualified_name":"perovskite_sim.validation.regularization_certificate._context_check","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-10a1cc38bbfaae3e","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"python:perovskite_sim.validation.regularization_certificate._count","qualified_name":"perovskite_sim.validation.regularization_certificate._count","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-a6a0a087885cfaa8","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"python:perovskite_sim.validation.regularization_certificate._derive_checks_and_status","qualified_name":"perovskite_sim.validation.regularization_certificate._derive_checks_and_status","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-0156046967686430","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"python:perovskite_sim.validation.regularization_certificate._evidence_check","qualified_name":"perovskite_sim.validation.regularization_certificate._evidence_check","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-3776ce7bfe3620d2","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"python:perovskite_sim.validation.regularization_certificate._execution_check","qualified_name":"perovskite_sim.validation.regularization_certificate._execution_check","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-3d2584a6509970a3","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"python:perovskite_sim.validation.regularization_certificate._finite","qualified_name":"perovskite_sim.validation.regularization_certificate._finite","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-c8eda77963ad925b","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"python:perovskite_sim.validation.regularization_certificate._health_check","qualified_name":"perovskite_sim.validation.regularization_certificate._health_check","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-7bce14c04e43f61f","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"python:perovskite_sim.validation.regularization_certificate._identifier","qualified_name":"perovskite_sim.validation.regularization_certificate._identifier","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-956e2e475614d5e2","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"python:perovskite_sim.validation.regularization_certificate._mapping","qualified_name":"perovskite_sim.validation.regularization_certificate._mapping","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-cf1695fc21d1d643","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"python:perovskite_sim.validation.regularization_certificate._measurement","qualified_name":"perovskite_sim.validation.regularization_certificate._measurement","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-6fc1b83fdf3aae75","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"python:perovskite_sim.validation.regularization_certificate._metric_contract_reasons","qualified_name":"perovskite_sim.validation.regularization_certificate._metric_contract_reasons","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-e316ab1f41be8039","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"python:perovskite_sim.validation.regularization_certificate._metric_map","qualified_name":"perovskite_sim.validation.regularization_certificate._metric_map","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-71448689c1f2e47c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"python:perovskite_sim.validation.regularization_certificate._metrics_from_dict","qualified_name":"perovskite_sim.validation.regularization_certificate._metrics_from_dict","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-c4c18f2d8d6bc01f","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"python:perovskite_sim.validation.regularization_certificate._metrics_from_values","qualified_name":"perovskite_sim.validation.regularization_certificate._metrics_from_values","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-f372857c12ec0c02","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"python:perovskite_sim.validation.regularization_certificate._non_worsening_check","qualified_name":"perovskite_sim.validation.regularization_certificate._non_worsening_check","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-a97240286208efb6","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"python:perovskite_sim.validation.regularization_certificate._nonnegative","qualified_name":"perovskite_sim.validation.regularization_certificate._nonnegative","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-423a20560abfd865","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"python:perovskite_sim.validation.regularization_certificate._observable_check","qualified_name":"perovskite_sim.validation.regularization_certificate._observable_check","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-e6c2edae25b4204c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"python:perovskite_sim.validation.regularization_certificate._optional_count","qualified_name":"perovskite_sim.validation.regularization_certificate._optional_count","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-fc4c019da5c03d60","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"python:perovskite_sim.validation.regularization_certificate._optional_nonnegative","qualified_name":"perovskite_sim.validation.regularization_certificate._optional_nonnegative","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-1b591a433d3b6322","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"python:perovskite_sim.validation.regularization_certificate._policy_check","qualified_name":"perovskite_sim.validation.regularization_certificate._policy_check","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-091e0dd723ae6f94","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"python:perovskite_sim.validation.regularization_certificate._policy_from_dict","qualified_name":"perovskite_sim.validation.regularization_certificate._policy_from_dict","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-111adf7d0bb1dba9","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"python:perovskite_sim.validation.regularization_certificate._policy_to_dict","qualified_name":"perovskite_sim.validation.regularization_certificate._policy_to_dict","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-176e1c821e77fad7","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"python:perovskite_sim.validation.regularization_certificate._relative_linf","qualified_name":"perovskite_sim.validation.regularization_certificate._relative_linf","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-cd4460d8ee444b6f","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"python:perovskite_sim.validation.regularization_certificate._sequence","qualified_name":"perovskite_sim.validation.regularization_certificate._sequence","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-ca0ab0dbd999cc3f","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"python:perovskite_sim.validation.regularization_certificate._sha256","qualified_name":"perovskite_sim.validation.regularization_certificate._sha256","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-cb2ded7e1a7d1160","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"python:perovskite_sim.validation.regularization_certificate._zero_closure_check","qualified_name":"perovskite_sim.validation.regularization_certificate._zero_closure_check","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-9a3c9f4562c50eda","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"python:perovskite_sim.validation.regularization_certificate._zero_limit_check","qualified_name":"perovskite_sim.validation.regularization_certificate._zero_limit_check","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-1947326aa671fd2d","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"python:perovskite_sim.validation.regularization_certificate.build_regularization_certificate","qualified_name":"perovskite_sim.validation.regularization_certificate.build_regularization_certificate","visibility":"public","evidence_level":"source_static"}, +{"id":"python-e706d5a3d4bc2631","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"python:perovskite_sim.validation.regularization_certificate.policy_for_factor","qualified_name":"perovskite_sim.validation.regularization_certificate.policy_for_factor","visibility":"public","evidence_level":"source_static"}, +{"id":"python-b0386d83aa351a0c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"python:perovskite_sim.validation.regularization_certificate.run_regularization_ladder","qualified_name":"perovskite_sim.validation.regularization_certificate.run_regularization_ladder","visibility":"public","evidence_level":"source_static"}, +{"id":"python-83e309815cfb9b96","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/validation/regularization_executors.py","route_id":"route-e5a4af9dc081e1e4","origin_key":"python:perovskite_sim.validation.regularization_executors.PreparedDeviceRegularizationStudy","qualified_name":"perovskite_sim.validation.regularization_executors.PreparedDeviceRegularizationStudy","visibility":"public","evidence_level":"source_static"}, +{"id":"python-ff821e347422d651","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/validation/regularization_executors.py","route_id":"route-e5a4af9dc081e1e4","origin_key":"python:perovskite_sim.validation.regularization_executors._TransientProtocol","qualified_name":"perovskite_sim.validation.regularization_executors._TransientProtocol","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-df526d7aae851af2","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/regularization_executors.py","route_id":"route-e5a4af9dc081e1e4","origin_key":"python:perovskite_sim.validation.regularization_executors._device_grid","qualified_name":"perovskite_sim.validation.regularization_executors._device_grid","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-9086a984aab8561c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/regularization_executors.py","route_id":"route-e5a4af9dc081e1e4","origin_key":"python:perovskite_sim.validation.regularization_executors._file_sha256","qualified_name":"perovskite_sim.validation.regularization_executors._file_sha256","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-55e2771c5f09c419","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/regularization_executors.py","route_id":"route-e5a4af9dc081e1e4","origin_key":"python:perovskite_sim.validation.regularization_executors._prepare_stack","qualified_name":"perovskite_sim.validation.regularization_executors._prepare_stack","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-3dc4fb51a4dd5aa2","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/regularization_executors.py","route_id":"route-e5a4af9dc081e1e4","origin_key":"python:perovskite_sim.validation.regularization_executors._source_manifest","qualified_name":"perovskite_sim.validation.regularization_executors._source_manifest","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-6ec04fabe9df1793","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/regularization_executors.py","route_id":"route-e5a4af9dc081e1e4","origin_key":"python:perovskite_sim.validation.regularization_executors._state_minima","qualified_name":"perovskite_sim.validation.regularization_executors._state_minima","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-67579de4b71f135a","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/regularization_executors.py","route_id":"route-e5a4af9dc081e1e4","origin_key":"python:perovskite_sim.validation.regularization_executors._study_parameters","qualified_name":"perovskite_sim.validation.regularization_executors._study_parameters","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-c3fa195c89178bda","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/regularization_executors.py","route_id":"route-e5a4af9dc081e1e4","origin_key":"python:perovskite_sim.validation.regularization_executors._temporary_environment","qualified_name":"perovskite_sim.validation.regularization_executors._temporary_environment","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-64a6430038a1d13c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/regularization_executors.py","route_id":"route-e5a4af9dc081e1e4","origin_key":"python:perovskite_sim.validation.regularization_executors._terminal_rhs_rate","qualified_name":"perovskite_sim.validation.regularization_executors._terminal_rhs_rate","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-6d7260c0224c3ae0","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/regularization_executors.py","route_id":"route-e5a4af9dc081e1e4","origin_key":"python:perovskite_sim.validation.regularization_executors._with_poole_frenkel","qualified_name":"perovskite_sim.validation.regularization_executors._with_poole_frenkel","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-b20bacd634fa5ce4","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/regularization_executors.py","route_id":"route-e5a4af9dc081e1e4","origin_key":"python:perovskite_sim.validation.regularization_executors.prepare_device_regularization_study","qualified_name":"perovskite_sim.validation.regularization_executors.prepare_device_regularization_study","visibility":"public","evidence_level":"source_static"}, +{"id":"python-c9dd208b02627b89","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/regularization_executors.py","route_id":"route-e5a4af9dc081e1e4","origin_key":"python:perovskite_sim.validation.regularization_executors.run_device_regularization_study","qualified_name":"perovskite_sim.validation.regularization_executors.run_device_regularization_study","visibility":"public","evidence_level":"source_static"}, +{"id":"python-2488c339fd4945fd","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/resolved_tunnelling_refinement.py","route_id":"route-8f9aa816f1c87e00","origin_key":"python:perovskite_sim.validation.resolved_tunnelling_refinement._relative_ladder_change","qualified_name":"perovskite_sim.validation.resolved_tunnelling_refinement._relative_ladder_change","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-2f55feb40a1bb26c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/resolved_tunnelling_refinement.py","route_id":"route-8f9aa816f1c87e00","origin_key":"python:perovskite_sim.validation.resolved_tunnelling_refinement.resolved_tunnelling_protocol","qualified_name":"perovskite_sim.validation.resolved_tunnelling_refinement.resolved_tunnelling_protocol","visibility":"public","evidence_level":"source_static"}, +{"id":"python-b38b51640a1bb884","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/resolved_tunnelling_refinement.py","route_id":"route-8f9aa816f1c87e00","origin_key":"python:perovskite_sim.validation.resolved_tunnelling_refinement.run_resolved_intraband_refinement","qualified_name":"perovskite_sim.validation.resolved_tunnelling_refinement.run_resolved_intraband_refinement","visibility":"public","evidence_level":"source_static"}, +{"id":"python-0d41b4bba5b6659e","kind":"python_class","current_path":"perovskite-sim/perovskite_sim/validation/spatial_defect_refinement.py","route_id":"route-29ff125b420a5abf","origin_key":"python:perovskite_sim.validation.spatial_defect_refinement._SpatialContractEvidence","qualified_name":"perovskite_sim.validation.spatial_defect_refinement._SpatialContractEvidence","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-e4e9d2aa4e70ab2a","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/spatial_defect_refinement.py","route_id":"route-29ff125b420a5abf","origin_key":"python:perovskite_sim.validation.spatial_defect_refinement._compiled_profiles_verified","qualified_name":"perovskite_sim.validation.spatial_defect_refinement._compiled_profiles_verified","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-32614af96e1f5827","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/spatial_defect_refinement.py","route_id":"route-29ff125b420a5abf","origin_key":"python:perovskite_sim.validation.spatial_defect_refinement._contact_endpoints_verified","qualified_name":"perovskite_sim.validation.spatial_defect_refinement._contact_endpoints_verified","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-474f4e8f92f20341","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/spatial_defect_refinement.py","route_id":"route-29ff125b420a5abf","origin_key":"python:perovskite_sim.validation.spatial_defect_refinement._execution_protocol","qualified_name":"perovskite_sim.validation.spatial_defect_refinement._execution_protocol","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-eaf27b4fa23f3c07","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/spatial_defect_refinement.py","route_id":"route-29ff125b420a5abf","origin_key":"python:perovskite_sim.validation.spatial_defect_refinement._minimum_support_margin","qualified_name":"perovskite_sim.validation.spatial_defect_refinement._minimum_support_margin","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-e248bf3657b7471a","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/spatial_defect_refinement.py","route_id":"route-29ff125b420a5abf","origin_key":"python:perovskite_sim.validation.spatial_defect_refinement._profile_integral_error","qualified_name":"perovskite_sim.validation.spatial_defect_refinement._profile_integral_error","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-cf1ad7cc01af9c6f","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/spatial_defect_refinement.py","route_id":"route-29ff125b420a5abf","origin_key":"python:perovskite_sim.validation.spatial_defect_refinement._safe_config_path","qualified_name":"perovskite_sim.validation.spatial_defect_refinement._safe_config_path","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-1cab2a1cfab7781c","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/spatial_defect_refinement.py","route_id":"route-29ff125b420a5abf","origin_key":"python:perovskite_sim.validation.spatial_defect_refinement._source_multiplier_profile","qualified_name":"perovskite_sim.validation.spatial_defect_refinement._source_multiplier_profile","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-eb1980177f1d7f4e","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/spatial_defect_refinement.py","route_id":"route-29ff125b420a5abf","origin_key":"python:perovskite_sim.validation.spatial_defect_refinement._source_species","qualified_name":"perovskite_sim.validation.spatial_defect_refinement._source_species","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-1a64db7d2ac4f2b5","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/spatial_defect_refinement.py","route_id":"route-29ff125b420a5abf","origin_key":"python:perovskite_sim.validation.spatial_defect_refinement._spatial_contract_evidence","qualified_name":"perovskite_sim.validation.spatial_defect_refinement._spatial_contract_evidence","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-95fc355c99866236","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/spatial_defect_refinement.py","route_id":"route-29ff125b420a5abf","origin_key":"python:perovskite_sim.validation.spatial_defect_refinement.run_spatial_defect_qf_dc_refinement","qualified_name":"perovskite_sim.validation.spatial_defect_refinement.run_spatial_defect_qf_dc_refinement","visibility":"public","evidence_level":"source_static"}, +{"id":"python-d0fe41e20c62e5f1","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/tunnelling_channel_refinement.py","route_id":"route-c69e6e9da1421924","origin_key":"python:perovskite_sim.validation.tunnelling_channel_refinement._execution_protocol","qualified_name":"perovskite_sim.validation.tunnelling_channel_refinement._execution_protocol","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-bc020093c83f92e7","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/tunnelling_channel_refinement.py","route_id":"route-c69e6e9da1421924","origin_key":"python:perovskite_sim.validation.tunnelling_channel_refinement._quadrature_orders","qualified_name":"perovskite_sim.validation.tunnelling_channel_refinement._quadrature_orders","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-98118065533be2bc","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/tunnelling_channel_refinement.py","route_id":"route-c69e6e9da1421924","origin_key":"python:perovskite_sim.validation.tunnelling_channel_refinement._resample","qualified_name":"perovskite_sim.validation.tunnelling_channel_refinement._resample","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-fc76523ebe14327d","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/tunnelling_channel_refinement.py","route_id":"route-c69e6e9da1421924","origin_key":"python:perovskite_sim.validation.tunnelling_channel_refinement._state_sha256","qualified_name":"perovskite_sim.validation.tunnelling_channel_refinement._state_sha256","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-70676aab21a01ca7","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/tunnelling_channel_refinement.py","route_id":"route-c69e6e9da1421924","origin_key":"python:perovskite_sim.validation.tunnelling_channel_refinement._with_order","qualified_name":"perovskite_sim.validation.tunnelling_channel_refinement._with_order","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-7d6fb42d14169fdc","kind":"python_callable","current_path":"perovskite-sim/perovskite_sim/validation/tunnelling_channel_refinement.py","route_id":"route-c69e6e9da1421924","origin_key":"python:perovskite_sim.validation.tunnelling_channel_refinement.run_tunnelling_channel_qf_dc_refinement","qualified_name":"perovskite_sim.validation.tunnelling_channel_refinement.run_tunnelling_channel_qf_dc_refinement","visibility":"public","evidence_level":"source_static"}, +{"id":"python-7ceefe8e2b849e87","kind":"python_callable","current_path":"perovskite-sim/scripts/analyze_r1_v11_responses.py","route_id":"route-c21b39ba175ec933","origin_key":"python:scripts.analyze_r1_v11_responses.analyze","qualified_name":"scripts.analyze_r1_v11_responses.analyze","visibility":"public","evidence_level":"source_static"}, +{"id":"python-1c9ce7081958f169","kind":"python_callable","current_path":"perovskite-sim/scripts/analyze_r1_v11_responses.py","route_id":"route-c21b39ba175ec933","origin_key":"python:scripts.analyze_r1_v11_responses.collect_dc","qualified_name":"scripts.analyze_r1_v11_responses.collect_dc","visibility":"public","evidence_level":"source_static"}, +{"id":"python-409338b28631038b","kind":"python_callable","current_path":"perovskite-sim/scripts/analyze_r1_v11_responses.py","route_id":"route-c21b39ba175ec933","origin_key":"python:scripts.analyze_r1_v11_responses.electrical_responses","qualified_name":"scripts.analyze_r1_v11_responses.electrical_responses","visibility":"public","evidence_level":"source_static"}, +{"id":"python-73859c2760a4f5c7","kind":"python_callable","current_path":"perovskite-sim/scripts/analyze_r1_v11_responses.py","route_id":"route-c21b39ba175ec933","origin_key":"python:scripts.analyze_r1_v11_responses.load_baselines","qualified_name":"scripts.analyze_r1_v11_responses.load_baselines","visibility":"public","evidence_level":"source_static"}, +{"id":"python-c6ede5921598ce06","kind":"python_callable","current_path":"perovskite-sim/scripts/analyze_r1_v11_responses.py","route_id":"route-c21b39ba175ec933","origin_key":"python:scripts.analyze_r1_v11_responses.load_cases","qualified_name":"scripts.analyze_r1_v11_responses.load_cases","visibility":"public","evidence_level":"source_static"}, +{"id":"python-b0f5f4b5b3fd23af","kind":"python_callable","current_path":"perovskite-sim/scripts/analyze_r1_v11_responses.py","route_id":"route-c21b39ba175ec933","origin_key":"python:scripts.analyze_r1_v11_responses.load_request","qualified_name":"scripts.analyze_r1_v11_responses.load_request","visibility":"public","evidence_level":"source_static"}, +{"id":"python-016472a77a5ddc72","kind":"python_callable","current_path":"perovskite-sim/scripts/analyze_r1_v11_responses.py","route_id":"route-c21b39ba175ec933","origin_key":"python:scripts.analyze_r1_v11_responses.load_verified_result","qualified_name":"scripts.analyze_r1_v11_responses.load_verified_result","visibility":"public","evidence_level":"source_static"}, +{"id":"python-200e6454a1a08c22","kind":"python_callable","current_path":"perovskite-sim/scripts/analyze_r1_v11_responses.py","route_id":"route-c21b39ba175ec933","origin_key":"python:scripts.analyze_r1_v11_responses.main","qualified_name":"scripts.analyze_r1_v11_responses.main","visibility":"public","evidence_level":"source_static"}, +{"id":"python-2f3dbc5aa6674c17","kind":"python_callable","current_path":"perovskite-sim/scripts/analyze_r1_v11_responses.py","route_id":"route-c21b39ba175ec933","origin_key":"python:scripts.analyze_r1_v11_responses.pair_report","qualified_name":"scripts.analyze_r1_v11_responses.pair_report","visibility":"public","evidence_level":"source_static"}, +{"id":"python-cdf5b5549bc738dd","kind":"python_callable","current_path":"perovskite-sim/scripts/analyze_r1_v11_responses.py","route_id":"route-c21b39ba175ec933","origin_key":"python:scripts.analyze_r1_v11_responses.preparation_identity","qualified_name":"scripts.analyze_r1_v11_responses.preparation_identity","visibility":"public","evidence_level":"source_static"}, +{"id":"python-a837e99d05e6ad26","kind":"python_callable","current_path":"perovskite-sim/scripts/analyze_r1_v11_responses.py","route_id":"route-c21b39ba175ec933","origin_key":"python:scripts.analyze_r1_v11_responses.run","qualified_name":"scripts.analyze_r1_v11_responses.run","visibility":"public","evidence_level":"source_static"}, +{"id":"python-031df012bea7c117","kind":"python_callable","current_path":"perovskite-sim/scripts/analyze_r1_v12_responses.py","route_id":"route-df3c9c7665f365bc","origin_key":"python:scripts.analyze_r1_v12_responses.analyze","qualified_name":"scripts.analyze_r1_v12_responses.analyze","visibility":"public","evidence_level":"source_static"}, +{"id":"python-b458a61fbad002d4","kind":"python_callable","current_path":"perovskite-sim/scripts/analyze_r1_v12_responses.py","route_id":"route-df3c9c7665f365bc","origin_key":"python:scripts.analyze_r1_v12_responses.collect_dc","qualified_name":"scripts.analyze_r1_v12_responses.collect_dc","visibility":"public","evidence_level":"source_static"}, +{"id":"python-6786305fdcf6e268","kind":"python_callable","current_path":"perovskite-sim/scripts/analyze_r1_v12_responses.py","route_id":"route-df3c9c7665f365bc","origin_key":"python:scripts.analyze_r1_v12_responses.electrical_responses","qualified_name":"scripts.analyze_r1_v12_responses.electrical_responses","visibility":"public","evidence_level":"source_static"}, +{"id":"python-9c44b8221d46d872","kind":"python_callable","current_path":"perovskite-sim/scripts/analyze_r1_v12_responses.py","route_id":"route-df3c9c7665f365bc","origin_key":"python:scripts.analyze_r1_v12_responses.load_baselines","qualified_name":"scripts.analyze_r1_v12_responses.load_baselines","visibility":"public","evidence_level":"source_static"}, +{"id":"python-915bc907e9e1a581","kind":"python_callable","current_path":"perovskite-sim/scripts/analyze_r1_v12_responses.py","route_id":"route-df3c9c7665f365bc","origin_key":"python:scripts.analyze_r1_v12_responses.load_cases","qualified_name":"scripts.analyze_r1_v12_responses.load_cases","visibility":"public","evidence_level":"source_static"}, +{"id":"python-57fdf9d843d245ef","kind":"python_callable","current_path":"perovskite-sim/scripts/analyze_r1_v12_responses.py","route_id":"route-df3c9c7665f365bc","origin_key":"python:scripts.analyze_r1_v12_responses.load_request","qualified_name":"scripts.analyze_r1_v12_responses.load_request","visibility":"public","evidence_level":"source_static"}, +{"id":"python-6c2412142e9447c2","kind":"python_callable","current_path":"perovskite-sim/scripts/analyze_r1_v12_responses.py","route_id":"route-df3c9c7665f365bc","origin_key":"python:scripts.analyze_r1_v12_responses.load_verified_result","qualified_name":"scripts.analyze_r1_v12_responses.load_verified_result","visibility":"public","evidence_level":"source_static"}, +{"id":"python-16579ec8b79c7fed","kind":"python_callable","current_path":"perovskite-sim/scripts/analyze_r1_v12_responses.py","route_id":"route-df3c9c7665f365bc","origin_key":"python:scripts.analyze_r1_v12_responses.main","qualified_name":"scripts.analyze_r1_v12_responses.main","visibility":"public","evidence_level":"source_static"}, +{"id":"python-65282d4cd9d62d97","kind":"python_callable","current_path":"perovskite-sim/scripts/analyze_r1_v12_responses.py","route_id":"route-df3c9c7665f365bc","origin_key":"python:scripts.analyze_r1_v12_responses.pair_report","qualified_name":"scripts.analyze_r1_v12_responses.pair_report","visibility":"public","evidence_level":"source_static"}, +{"id":"python-f809c9cd724f53f9","kind":"python_callable","current_path":"perovskite-sim/scripts/analyze_r1_v12_responses.py","route_id":"route-df3c9c7665f365bc","origin_key":"python:scripts.analyze_r1_v12_responses.preparation_identity","qualified_name":"scripts.analyze_r1_v12_responses.preparation_identity","visibility":"public","evidence_level":"source_static"}, +{"id":"python-d997ccea64e0cd3d","kind":"python_callable","current_path":"perovskite-sim/scripts/analyze_r1_v12_responses.py","route_id":"route-df3c9c7665f365bc","origin_key":"python:scripts.analyze_r1_v12_responses.run","qualified_name":"scripts.analyze_r1_v12_responses.run","visibility":"public","evidence_level":"source_static"}, +{"id":"python-126f21d4821af277","kind":"python_class","current_path":"perovskite-sim/scripts/analyze_r1_v5_responses.py","route_id":"route-e522fe481f8b1b10","origin_key":"python:scripts.analyze_r1_v5_responses.SealedBundle","qualified_name":"scripts.analyze_r1_v5_responses.SealedBundle","visibility":"public","evidence_level":"source_static"}, +{"id":"python-86b9d60bddb8a2f1","kind":"python_callable","current_path":"perovskite-sim/scripts/analyze_r1_v5_responses.py","route_id":"route-e522fe481f8b1b10","origin_key":"python:scripts.analyze_r1_v5_responses.SealedBundle.__init__","qualified_name":"scripts.analyze_r1_v5_responses.SealedBundle.__init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-4c04b4155a8f375f","kind":"python_callable","current_path":"perovskite-sim/scripts/analyze_r1_v5_responses.py","route_id":"route-e522fe481f8b1b10","origin_key":"python:scripts.analyze_r1_v5_responses.SealedBundle.checked_path","qualified_name":"scripts.analyze_r1_v5_responses.SealedBundle.checked_path","visibility":"public","evidence_level":"source_static"}, +{"id":"python-4e2519776efae604","kind":"python_callable","current_path":"perovskite-sim/scripts/analyze_r1_v5_responses.py","route_id":"route-e522fe481f8b1b10","origin_key":"python:scripts.analyze_r1_v5_responses.SealedBundle.read","qualified_name":"scripts.analyze_r1_v5_responses.SealedBundle.read","visibility":"public","evidence_level":"source_static"}, +{"id":"python-d94ee8b84edff25d","kind":"python_callable","current_path":"perovskite-sim/scripts/analyze_r1_v5_responses.py","route_id":"route-e522fe481f8b1b10","origin_key":"python:scripts.analyze_r1_v5_responses.SealedBundle.verify","qualified_name":"scripts.analyze_r1_v5_responses.SealedBundle.verify","visibility":"public","evidence_level":"source_static"}, +{"id":"python-418acac3f96b9534","kind":"python_callable","current_path":"perovskite-sim/scripts/analyze_r1_v5_responses.py","route_id":"route-e522fe481f8b1b10","origin_key":"python:scripts.analyze_r1_v5_responses.analyze","qualified_name":"scripts.analyze_r1_v5_responses.analyze","visibility":"public","evidence_level":"source_static"}, +{"id":"python-07a62b15978b1717","kind":"python_callable","current_path":"perovskite-sim/scripts/analyze_r1_v5_responses.py","route_id":"route-e522fe481f8b1b10","origin_key":"python:scripts.analyze_r1_v5_responses.axis_estimate","qualified_name":"scripts.analyze_r1_v5_responses.axis_estimate","visibility":"public","evidence_level":"source_static"}, +{"id":"python-966049582a8c7b6c","kind":"python_callable","current_path":"perovskite-sim/scripts/analyze_r1_v5_responses.py","route_id":"route-e522fe481f8b1b10","origin_key":"python:scripts.analyze_r1_v5_responses.case_name","qualified_name":"scripts.analyze_r1_v5_responses.case_name","visibility":"public","evidence_level":"source_static"}, +{"id":"python-4d9e63297ffad23d","kind":"python_callable","current_path":"perovskite-sim/scripts/analyze_r1_v5_responses.py","route_id":"route-e522fe481f8b1b10","origin_key":"python:scripts.analyze_r1_v5_responses.collect_dc","qualified_name":"scripts.analyze_r1_v5_responses.collect_dc","visibility":"public","evidence_level":"source_static"}, +{"id":"python-12ba16997e53592f","kind":"python_callable","current_path":"perovskite-sim/scripts/analyze_r1_v5_responses.py","route_id":"route-e522fe481f8b1b10","origin_key":"python:scripts.analyze_r1_v5_responses.digest_text","qualified_name":"scripts.analyze_r1_v5_responses.digest_text","visibility":"public","evidence_level":"source_static"}, +{"id":"python-db3b5d846e80901f","kind":"python_callable","current_path":"perovskite-sim/scripts/analyze_r1_v5_responses.py","route_id":"route-e522fe481f8b1b10","origin_key":"python:scripts.analyze_r1_v5_responses.load_baselines","qualified_name":"scripts.analyze_r1_v5_responses.load_baselines","visibility":"public","evidence_level":"source_static"}, +{"id":"python-776a7d6fe765164f","kind":"python_callable","current_path":"perovskite-sim/scripts/analyze_r1_v5_responses.py","route_id":"route-e522fe481f8b1b10","origin_key":"python:scripts.analyze_r1_v5_responses.load_cases","qualified_name":"scripts.analyze_r1_v5_responses.load_cases","visibility":"public","evidence_level":"source_static"}, +{"id":"python-ca395ca026fdac45","kind":"python_callable","current_path":"perovskite-sim/scripts/analyze_r1_v5_responses.py","route_id":"route-e522fe481f8b1b10","origin_key":"python:scripts.analyze_r1_v5_responses.load_request","qualified_name":"scripts.analyze_r1_v5_responses.load_request","visibility":"public","evidence_level":"source_static"}, +{"id":"python-f32b529f3c1bcd22","kind":"python_callable","current_path":"perovskite-sim/scripts/analyze_r1_v5_responses.py","route_id":"route-e522fe481f8b1b10","origin_key":"python:scripts.analyze_r1_v5_responses.main","qualified_name":"scripts.analyze_r1_v5_responses.main","visibility":"public","evidence_level":"source_static"}, +{"id":"python-26e48bef735f8186","kind":"python_callable","current_path":"perovskite-sim/scripts/analyze_r1_v5_responses.py","route_id":"route-e522fe481f8b1b10","origin_key":"python:scripts.analyze_r1_v5_responses.pair_report","qualified_name":"scripts.analyze_r1_v5_responses.pair_report","visibility":"public","evidence_level":"source_static"}, +{"id":"python-fe7d41816cd668bf","kind":"python_callable","current_path":"perovskite-sim/scripts/analyze_r1_v5_responses.py","route_id":"route-e522fe481f8b1b10","origin_key":"python:scripts.analyze_r1_v5_responses.parse","qualified_name":"scripts.analyze_r1_v5_responses.parse","visibility":"public","evidence_level":"source_static"}, +{"id":"python-c730a39178024e28","kind":"python_callable","current_path":"perovskite-sim/scripts/analyze_r1_v5_responses.py","route_id":"route-e522fe481f8b1b10","origin_key":"python:scripts.analyze_r1_v5_responses.require_separate_output","qualified_name":"scripts.analyze_r1_v5_responses.require_separate_output","visibility":"public","evidence_level":"source_static"}, +{"id":"python-bdafc4b94f0151a0","kind":"python_callable","current_path":"perovskite-sim/scripts/analyze_r1_v5_responses.py","route_id":"route-e522fe481f8b1b10","origin_key":"python:scripts.analyze_r1_v5_responses.response_chains","qualified_name":"scripts.analyze_r1_v5_responses.response_chains","visibility":"public","evidence_level":"source_static"}, +{"id":"python-a34a7c6b6d7fb119","kind":"python_callable","current_path":"perovskite-sim/scripts/analyze_r1_v5_responses.py","route_id":"route-e522fe481f8b1b10","origin_key":"python:scripts.analyze_r1_v5_responses.run","qualified_name":"scripts.analyze_r1_v5_responses.run","visibility":"public","evidence_level":"source_static"}, +{"id":"python-323e301e2595f861","kind":"python_callable","current_path":"perovskite-sim/scripts/analyze_r1_v5_responses.py","route_id":"route-e522fe481f8b1b10","origin_key":"python:scripts.analyze_r1_v5_responses.seal","qualified_name":"scripts.analyze_r1_v5_responses.seal","visibility":"public","evidence_level":"source_static"}, +{"id":"python-81fd9e8a077bef90","kind":"python_callable","current_path":"perovskite-sim/scripts/analyze_r1_v5_responses.py","route_id":"route-e522fe481f8b1b10","origin_key":"python:scripts.analyze_r1_v5_responses.sha","qualified_name":"scripts.analyze_r1_v5_responses.sha","visibility":"public","evidence_level":"source_static"}, +{"id":"python-1b8549fb83dce77f","kind":"python_callable","current_path":"perovskite-sim/scripts/analyze_r1_v5_responses.py","route_id":"route-e522fe481f8b1b10","origin_key":"python:scripts.analyze_r1_v5_responses.source_context","qualified_name":"scripts.analyze_r1_v5_responses.source_context","visibility":"public","evidence_level":"source_static"}, +{"id":"python-9e50088db18a2a53","kind":"python_callable","current_path":"perovskite-sim/scripts/analyze_r1_v5_responses.py","route_id":"route-e522fe481f8b1b10","origin_key":"python:scripts.analyze_r1_v5_responses.validate_chains","qualified_name":"scripts.analyze_r1_v5_responses.validate_chains","visibility":"public","evidence_level":"source_static"}, +{"id":"python-9e46424755328082","kind":"python_callable","current_path":"perovskite-sim/scripts/analyze_r1_v5_responses.py","route_id":"route-e522fe481f8b1b10","origin_key":"python:scripts.analyze_r1_v5_responses.write","qualified_name":"scripts.analyze_r1_v5_responses.write","visibility":"public","evidence_level":"source_static"}, +{"id":"python-3d745e57e91a7d1f","kind":"python_callable","current_path":"perovskite-sim/scripts/analyze_r1_v5_saved_window.py","route_id":"route-a62767efdd912181","origin_key":"python:scripts.analyze_r1_v5_saved_window.digest","qualified_name":"scripts.analyze_r1_v5_saved_window.digest","visibility":"public","evidence_level":"source_static"}, +{"id":"python-5dfb1c92732b4101","kind":"python_callable","current_path":"perovskite-sim/scripts/analyze_r1_v5_saved_window.py","route_id":"route-a62767efdd912181","origin_key":"python:scripts.analyze_r1_v5_saved_window.main","qualified_name":"scripts.analyze_r1_v5_saved_window.main","visibility":"public","evidence_level":"source_static"}, +{"id":"python-2a2068804346cd1d","kind":"python_callable","current_path":"perovskite-sim/scripts/analyze_r1_v5_saved_window.py","route_id":"route-a62767efdd912181","origin_key":"python:scripts.analyze_r1_v5_saved_window.write","qualified_name":"scripts.analyze_r1_v5_saved_window.write","visibility":"public","evidence_level":"source_static"}, +{"id":"python-186ea904238b3f20","kind":"python_callable","current_path":"perovskite-sim/scripts/analyze_r1_v6_crosscode.py","route_id":"route-1f12568fcd3c3c90","origin_key":"python:scripts.analyze_r1_v6_crosscode.build_report","qualified_name":"scripts.analyze_r1_v6_crosscode.build_report","visibility":"public","evidence_level":"source_static"}, +{"id":"python-9aafeaba7549eb3e","kind":"python_callable","current_path":"perovskite-sim/scripts/analyze_r1_v6_crosscode.py","route_id":"route-1f12568fcd3c3c90","origin_key":"python:scripts.analyze_r1_v6_crosscode.classify_fault","qualified_name":"scripts.analyze_r1_v6_crosscode.classify_fault","visibility":"public","evidence_level":"source_static"}, +{"id":"python-1469c54133e56858","kind":"python_callable","current_path":"perovskite-sim/scripts/analyze_r1_v6_crosscode.py","route_id":"route-1f12568fcd3c3c90","origin_key":"python:scripts.analyze_r1_v6_crosscode.df_rows","qualified_name":"scripts.analyze_r1_v6_crosscode.df_rows","visibility":"public","evidence_level":"source_static"}, +{"id":"python-dc6f02ecb3974922","kind":"python_callable","current_path":"perovskite-sim/scripts/analyze_r1_v6_crosscode.py","route_id":"route-1f12568fcd3c3c90","origin_key":"python:scripts.analyze_r1_v6_crosscode.digest","qualified_name":"scripts.analyze_r1_v6_crosscode.digest","visibility":"public","evidence_level":"source_static"}, +{"id":"python-bb054f19dcb82b2b","kind":"python_callable","current_path":"perovskite-sim/scripts/analyze_r1_v6_crosscode.py","route_id":"route-1f12568fcd3c3c90","origin_key":"python:scripts.analyze_r1_v6_crosscode.envelope","qualified_name":"scripts.analyze_r1_v6_crosscode.envelope","visibility":"public","evidence_level":"source_static"}, +{"id":"python-ed039de0d197f5c4","kind":"python_callable","current_path":"perovskite-sim/scripts/analyze_r1_v6_crosscode.py","route_id":"route-1f12568fcd3c3c90","origin_key":"python:scripts.analyze_r1_v6_crosscode.main","qualified_name":"scripts.analyze_r1_v6_crosscode.main","visibility":"public","evidence_level":"source_static"}, +{"id":"python-28345dfe33a53e19","kind":"python_callable","current_path":"perovskite-sim/scripts/analyze_r1_v6_crosscode.py","route_id":"route-1f12568fcd3c3c90","origin_key":"python:scripts.analyze_r1_v6_crosscode.observable","qualified_name":"scripts.analyze_r1_v6_crosscode.observable","visibility":"public","evidence_level":"source_static"}, +{"id":"python-3af5be694fd9a620","kind":"python_callable","current_path":"perovskite-sim/scripts/analyze_r1_v6_crosscode.py","route_id":"route-1f12568fcd3c3c90","origin_key":"python:scripts.analyze_r1_v6_crosscode.qualification","qualified_name":"scripts.analyze_r1_v6_crosscode.qualification","visibility":"public","evidence_level":"source_static"}, +{"id":"python-e0580c496fd2bf83","kind":"python_callable","current_path":"perovskite-sim/scripts/analyze_r1_v6_crosscode.py","route_id":"route-1f12568fcd3c3c90","origin_key":"python:scripts.analyze_r1_v6_crosscode.r1_rows","qualified_name":"scripts.analyze_r1_v6_crosscode.r1_rows","visibility":"public","evidence_level":"source_static"}, +{"id":"python-6dc3264b14d1b851","kind":"python_callable","current_path":"perovskite-sim/scripts/analyze_r1_v6_crosscode.py","route_id":"route-1f12568fcd3c3c90","origin_key":"python:scripts.analyze_r1_v6_crosscode.read","qualified_name":"scripts.analyze_r1_v6_crosscode.read","visibility":"public","evidence_level":"source_static"}, +{"id":"python-6c75288ec03c3c3d","kind":"python_callable","current_path":"perovskite-sim/scripts/analyze_r1_v6_crosscode.py","route_id":"route-1f12568fcd3c3c90","origin_key":"python:scripts.analyze_r1_v6_crosscode.validate_new_df","qualified_name":"scripts.analyze_r1_v6_crosscode.validate_new_df","visibility":"public","evidence_level":"source_static"}, +{"id":"python-ac0f7e55637f0630","kind":"python_callable","current_path":"perovskite-sim/scripts/analyze_r1_v7_prototype.py","route_id":"route-2ac26a31ae812295","origin_key":"python:scripts.analyze_r1_v7_prototype._shape_flat","qualified_name":"scripts.analyze_r1_v7_prototype._shape_flat","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-54e1fe7da4d62391","kind":"python_callable","current_path":"perovskite-sim/scripts/analyze_r1_v7_prototype.py","route_id":"route-2ac26a31ae812295","origin_key":"python:scripts.analyze_r1_v7_prototype.analyze","qualified_name":"scripts.analyze_r1_v7_prototype.analyze","visibility":"public","evidence_level":"source_static"}, +{"id":"python-63392a3a314c0c01","kind":"python_callable","current_path":"perovskite-sim/scripts/analyze_r1_v7_prototype.py","route_id":"route-2ac26a31ae812295","origin_key":"python:scripts.analyze_r1_v7_prototype.canonical","qualified_name":"scripts.analyze_r1_v7_prototype.canonical","visibility":"public","evidence_level":"source_static"}, +{"id":"python-a038249a66b522e3","kind":"python_callable","current_path":"perovskite-sim/scripts/analyze_r1_v7_prototype.py","route_id":"route-2ac26a31ae812295","origin_key":"python:scripts.analyze_r1_v7_prototype.compare_state_arithmetic","qualified_name":"scripts.analyze_r1_v7_prototype.compare_state_arithmetic","visibility":"public","evidence_level":"source_static"}, +{"id":"python-efaf0d0cc24d2f97","kind":"python_callable","current_path":"perovskite-sim/scripts/analyze_r1_v7_prototype.py","route_id":"route-2ac26a31ae812295","origin_key":"python:scripts.analyze_r1_v7_prototype.expected_schedule","qualified_name":"scripts.analyze_r1_v7_prototype.expected_schedule","visibility":"public","evidence_level":"source_static"}, +{"id":"python-0b28acf207f8a1ca","kind":"python_callable","current_path":"perovskite-sim/scripts/analyze_r1_v7_prototype.py","route_id":"route-2ac26a31ae812295","origin_key":"python:scripts.analyze_r1_v7_prototype.find_budget","qualified_name":"scripts.analyze_r1_v7_prototype.find_budget","visibility":"public","evidence_level":"source_static"}, +{"id":"python-752b122ba33afed0","kind":"python_callable","current_path":"perovskite-sim/scripts/analyze_r1_v7_prototype.py","route_id":"route-2ac26a31ae812295","origin_key":"python:scripts.analyze_r1_v7_prototype.load","qualified_name":"scripts.analyze_r1_v7_prototype.load","visibility":"public","evidence_level":"source_static"}, +{"id":"python-df925aee37ce0fe8","kind":"python_callable","current_path":"perovskite-sim/scripts/analyze_r1_v7_prototype.py","route_id":"route-2ac26a31ae812295","origin_key":"python:scripts.analyze_r1_v7_prototype.main","qualified_name":"scripts.analyze_r1_v7_prototype.main","visibility":"public","evidence_level":"source_static"}, +{"id":"python-b0e8071953c07dd5","kind":"python_callable","current_path":"perovskite-sim/scripts/analyze_r1_v7_prototype.py","route_id":"route-2ac26a31ae812295","origin_key":"python:scripts.analyze_r1_v7_prototype.observed_words","qualified_name":"scripts.analyze_r1_v7_prototype.observed_words","visibility":"public","evidence_level":"source_static"}, +{"id":"python-70762cd414e6338d","kind":"python_callable","current_path":"perovskite-sim/scripts/analyze_r1_v7_prototype.py","route_id":"route-2ac26a31ae812295","origin_key":"python:scripts.analyze_r1_v7_prototype.original_gate","qualified_name":"scripts.analyze_r1_v7_prototype.original_gate","visibility":"public","evidence_level":"source_static"}, +{"id":"python-1b3e14f57467859d","kind":"python_callable","current_path":"perovskite-sim/scripts/analyze_r1_v7_prototype.py","route_id":"route-2ac26a31ae812295","origin_key":"python:scripts.analyze_r1_v7_prototype.precise_field","qualified_name":"scripts.analyze_r1_v7_prototype.precise_field","visibility":"public","evidence_level":"source_static"}, +{"id":"python-d020fe9af4245837","kind":"python_callable","current_path":"perovskite-sim/scripts/analyze_r1_v7_prototype.py","route_id":"route-2ac26a31ae812295","origin_key":"python:scripts.analyze_r1_v7_prototype.reconstruct_expected","qualified_name":"scripts.analyze_r1_v7_prototype.reconstruct_expected","visibility":"public","evidence_level":"source_static"}, +{"id":"python-4b51ff16d1b01710","kind":"python_callable","current_path":"perovskite-sim/scripts/analyze_r1_v7_prototype.py","route_id":"route-2ac26a31ae812295","origin_key":"python:scripts.analyze_r1_v7_prototype.sha","qualified_name":"scripts.analyze_r1_v7_prototype.sha","visibility":"public","evidence_level":"source_static"}, +{"id":"python-abafa2ae27784304","kind":"python_callable","current_path":"perovskite-sim/scripts/analyze_r1_v7_prototype.py","route_id":"route-2ac26a31ae812295","origin_key":"python:scripts.analyze_r1_v7_prototype.verify_manifest","qualified_name":"scripts.analyze_r1_v7_prototype.verify_manifest","visibility":"public","evidence_level":"source_static"}, +{"id":"python-fae1c0ac7f0a09d5","kind":"python_callable","current_path":"perovskite-sim/scripts/analyze_r1_v7_prototype.py","route_id":"route-2ac26a31ae812295","origin_key":"python:scripts.analyze_r1_v7_prototype.verify_run_inputs","qualified_name":"scripts.analyze_r1_v7_prototype.verify_run_inputs","visibility":"public","evidence_level":"source_static"}, +{"id":"python-3bbfc77c9ca8c70e","kind":"python_callable","current_path":"perovskite-sim/scripts/analyze_r1_v7_prototype.py","route_id":"route-2ac26a31ae812295","origin_key":"python:scripts.analyze_r1_v7_prototype.write","qualified_name":"scripts.analyze_r1_v7_prototype.write","visibility":"public","evidence_level":"source_static"}, +{"id":"python-6909de4203619d9a","kind":"python_callable","current_path":"perovskite-sim/scripts/analyze_r1_v8_prototype.py","route_id":"route-676175075072bc8e","origin_key":"python:scripts.analyze_r1_v8_prototype.analyze","qualified_name":"scripts.analyze_r1_v8_prototype.analyze","visibility":"public","evidence_level":"source_static"}, +{"id":"python-96633b27551d66e0","kind":"python_callable","current_path":"perovskite-sim/scripts/analyze_r1_v8_prototype.py","route_id":"route-676175075072bc8e","origin_key":"python:scripts.analyze_r1_v8_prototype.initial_checks","qualified_name":"scripts.analyze_r1_v8_prototype.initial_checks","visibility":"public","evidence_level":"source_static"}, +{"id":"python-2f5b1ac23e2b991d","kind":"python_callable","current_path":"perovskite-sim/scripts/analyze_r1_v8_prototype.py","route_id":"route-676175075072bc8e","origin_key":"python:scripts.analyze_r1_v8_prototype.main","qualified_name":"scripts.analyze_r1_v8_prototype.main","visibility":"public","evidence_level":"source_static"}, +{"id":"python-445b4f02e7f0ffab","kind":"python_callable","current_path":"perovskite-sim/scripts/analyze_r1_v8_prototype.py","route_id":"route-676175075072bc8e","origin_key":"python:scripts.analyze_r1_v8_prototype.validate_budget","qualified_name":"scripts.analyze_r1_v8_prototype.validate_budget","visibility":"public","evidence_level":"source_static"}, +{"id":"python-ca49dbd5956fbdef","kind":"python_callable","current_path":"perovskite-sim/scripts/analyze_r1_v8_prototype.py","route_id":"route-676175075072bc8e","origin_key":"python:scripts.analyze_r1_v8_prototype.verify_inputs","qualified_name":"scripts.analyze_r1_v8_prototype.verify_inputs","visibility":"public","evidence_level":"source_static"}, +{"id":"python-a14be27530b6f69a","kind":"python_callable","current_path":"perovskite-sim/scripts/analyze_r1_v9_prototype.py","route_id":"route-0365977731097a3d","origin_key":"python:scripts.analyze_r1_v9_prototype.analyze_records","qualified_name":"scripts.analyze_r1_v9_prototype.analyze_records","visibility":"public","evidence_level":"source_static"}, +{"id":"python-f63dc90c755c2e3d","kind":"python_callable","current_path":"perovskite-sim/scripts/analyze_r1_v9_prototype.py","route_id":"route-0365977731097a3d","origin_key":"python:scripts.analyze_r1_v9_prototype.capability_intervals","qualified_name":"scripts.analyze_r1_v9_prototype.capability_intervals","visibility":"public","evidence_level":"source_static"}, +{"id":"python-e66ea188cecbe8c7","kind":"python_callable","current_path":"perovskite-sim/scripts/analyze_r1_v9_prototype.py","route_id":"route-0365977731097a3d","origin_key":"python:scripts.analyze_r1_v9_prototype.main","qualified_name":"scripts.analyze_r1_v9_prototype.main","visibility":"public","evidence_level":"source_static"}, +{"id":"python-3c7d0d208171331d","kind":"python_callable","current_path":"perovskite-sim/scripts/analyze_r1_v9_prototype.py","route_id":"route-0365977731097a3d","origin_key":"python:scripts.analyze_r1_v9_prototype.observed_analysis_phase","qualified_name":"scripts.analyze_r1_v9_prototype.observed_analysis_phase","visibility":"public","evidence_level":"source_static"}, +{"id":"python-5465524bb907bfc8","kind":"python_callable","current_path":"perovskite-sim/scripts/analyze_r1_v9_prototype.py","route_id":"route-0365977731097a3d","origin_key":"python:scripts.analyze_r1_v9_prototype.validate_analysis_context","qualified_name":"scripts.analyze_r1_v9_prototype.validate_analysis_context","visibility":"public","evidence_level":"source_static"}, +{"id":"python-00a8fd17b59541f4","kind":"python_callable","current_path":"perovskite-sim/scripts/archive_one_dimensional_mechanism_r1.py","route_id":"route-ab4b6afc02bb4c08","origin_key":"python:scripts.archive_one_dimensional_mechanism_r1.camel","qualified_name":"scripts.archive_one_dimensional_mechanism_r1.camel","visibility":"public","evidence_level":"source_static"}, +{"id":"python-913ff76d14f13ba4","kind":"python_callable","current_path":"perovskite-sim/scripts/archive_one_dimensional_mechanism_r1.py","route_id":"route-ab4b6afc02bb4c08","origin_key":"python:scripts.archive_one_dimensional_mechanism_r1.counts","qualified_name":"scripts.archive_one_dimensional_mechanism_r1.counts","visibility":"public","evidence_level":"source_static"}, +{"id":"python-4105ea6b4a2a7603","kind":"python_callable","current_path":"perovskite-sim/scripts/archive_one_dimensional_mechanism_r1.py","route_id":"route-ab4b6afc02bb4c08","origin_key":"python:scripts.archive_one_dimensional_mechanism_r1.main","qualified_name":"scripts.archive_one_dimensional_mechanism_r1.main","visibility":"public","evidence_level":"source_static"}, +{"id":"python-f5df8ca4d1f6e37f","kind":"python_callable","current_path":"perovskite-sim/scripts/audit_ion_parameter_flow.py","route_id":"route-aef91e23a529a42c","origin_key":"python:scripts.audit_ion_parameter_flow.jsonable","qualified_name":"scripts.audit_ion_parameter_flow.jsonable","visibility":"public","evidence_level":"source_static"}, +{"id":"python-8cf892e07a506b39","kind":"python_callable","current_path":"perovskite-sim/scripts/audit_ion_parameter_flow.py","route_id":"route-aef91e23a529a42c","origin_key":"python:scripts.audit_ion_parameter_flow.main","qualified_name":"scripts.audit_ion_parameter_flow.main","visibility":"public","evidence_level":"source_static"}, +{"id":"python-483645a1b0d5865c","kind":"python_callable","current_path":"perovskite-sim/scripts/benchmark_dae_jacobian.py","route_id":"route-1545d82a68679f8f","origin_key":"python:scripts.benchmark_dae_jacobian._measure","qualified_name":"scripts.benchmark_dae_jacobian._measure","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-c4da42b7314886ad","kind":"python_callable","current_path":"perovskite-sim/scripts/benchmark_dae_jacobian.py","route_id":"route-1545d82a68679f8f","origin_key":"python:scripts.benchmark_dae_jacobian._parser","qualified_name":"scripts.benchmark_dae_jacobian._parser","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-eacb5f88475e2015","kind":"python_callable","current_path":"perovskite-sim/scripts/benchmark_dae_jacobian.py","route_id":"route-1545d82a68679f8f","origin_key":"python:scripts.benchmark_dae_jacobian._problem","qualified_name":"scripts.benchmark_dae_jacobian._problem","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-b115ffe31a0a9e2e","kind":"python_callable","current_path":"perovskite-sim/scripts/benchmark_dae_jacobian.py","route_id":"route-1545d82a68679f8f","origin_key":"python:scripts.benchmark_dae_jacobian.main","qualified_name":"scripts.benchmark_dae_jacobian.main","visibility":"public","evidence_level":"source_static"}, +{"id":"python-90b6c8366e0763ba","kind":"python_callable","current_path":"perovskite-sim/scripts/check_r1_physics_mutations.py","route_id":"route-4506b688c7de3899","origin_key":"python:scripts.check_r1_physics_mutations.main","qualified_name":"scripts.check_r1_physics_mutations.main","visibility":"public","evidence_level":"source_static"}, +{"id":"python-20b722983cc9cf5c","kind":"python_class","current_path":"perovskite-sim/scripts/check_r1_v7_precision_consumers.py","route_id":"route-4c295e2a4966aeed","origin_key":"python:scripts.check_r1_v7_precision_consumers._BoundedDecimal","qualified_name":"scripts.check_r1_v7_precision_consumers._BoundedDecimal","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-eb5637ecb9daabe4","kind":"python_callable","current_path":"perovskite-sim/scripts/check_r1_v7_precision_consumers.py","route_id":"route-4c295e2a4966aeed","origin_key":"python:scripts.check_r1_v7_precision_consumers._BoundedDecimal.__add__","qualified_name":"scripts.check_r1_v7_precision_consumers._BoundedDecimal.__add__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-4a6c66b5bcf7b93d","kind":"python_callable","current_path":"perovskite-sim/scripts/check_r1_v7_precision_consumers.py","route_id":"route-4c295e2a4966aeed","origin_key":"python:scripts.check_r1_v7_precision_consumers._BoundedDecimal.__mul__","qualified_name":"scripts.check_r1_v7_precision_consumers._BoundedDecimal.__mul__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-91d1b82ab5572608","kind":"python_callable","current_path":"perovskite-sim/scripts/check_r1_v7_precision_consumers.py","route_id":"route-4c295e2a4966aeed","origin_key":"python:scripts.check_r1_v7_precision_consumers._BoundedDecimal.__sub__","qualified_name":"scripts.check_r1_v7_precision_consumers._BoundedDecimal.__sub__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-982688bf3874670d","kind":"python_callable","current_path":"perovskite-sim/scripts/check_r1_v7_precision_consumers.py","route_id":"route-4c295e2a4966aeed","origin_key":"python:scripts.check_r1_v7_precision_consumers._poisson_roundoff_bounds","qualified_name":"scripts.check_r1_v7_precision_consumers._poisson_roundoff_bounds","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-3c6965c251345a2b","kind":"python_callable","current_path":"perovskite-sim/scripts/check_r1_v7_precision_consumers.py","route_id":"route-4c295e2a4966aeed","origin_key":"python:scripts.check_r1_v7_precision_consumers.absolute_response_report","qualified_name":"scripts.check_r1_v7_precision_consumers.absolute_response_report","visibility":"public","evidence_level":"source_static"}, +{"id":"python-fba4a29e41c3e536","kind":"python_callable","current_path":"perovskite-sim/scripts/check_r1_v7_precision_consumers.py","route_id":"route-4c295e2a4966aeed","origin_key":"python:scripts.check_r1_v7_precision_consumers.capture_jacobian_arguments","qualified_name":"scripts.check_r1_v7_precision_consumers.capture_jacobian_arguments","visibility":"public","evidence_level":"source_static"}, +{"id":"python-d4759973588bde74","kind":"python_callable","current_path":"perovskite-sim/scripts/check_r1_v7_precision_consumers.py","route_id":"route-4c295e2a4966aeed","origin_key":"python:scripts.check_r1_v7_precision_consumers.changed_reference","qualified_name":"scripts.check_r1_v7_precision_consumers.changed_reference","visibility":"public","evidence_level":"source_static"}, +{"id":"python-1d75688bc09d5add","kind":"python_callable","current_path":"perovskite-sim/scripts/check_r1_v7_precision_consumers.py","route_id":"route-4c295e2a4966aeed","origin_key":"python:scripts.check_r1_v7_precision_consumers.decimals","qualified_name":"scripts.check_r1_v7_precision_consumers.decimals","visibility":"public","evidence_level":"source_static"}, +{"id":"python-f91a16f99dd6de1d","kind":"python_callable","current_path":"perovskite-sim/scripts/check_r1_v7_precision_consumers.py","route_id":"route-4c295e2a4966aeed","origin_key":"python:scripts.check_r1_v7_precision_consumers.delta_report","qualified_name":"scripts.check_r1_v7_precision_consumers.delta_report","visibility":"public","evidence_level":"source_static"}, +{"id":"python-2dcf32292eaee71f","kind":"python_callable","current_path":"perovskite-sim/scripts/check_r1_v7_precision_consumers.py","route_id":"route-4c295e2a4966aeed","origin_key":"python:scripts.check_r1_v7_precision_consumers.jacobian_checks","qualified_name":"scripts.check_r1_v7_precision_consumers.jacobian_checks","visibility":"public","evidence_level":"source_static"}, +{"id":"python-670edeed290c6778","kind":"python_callable","current_path":"perovskite-sim/scripts/check_r1_v7_precision_consumers.py","route_id":"route-4c295e2a4966aeed","origin_key":"python:scripts.check_r1_v7_precision_consumers.magnitude","qualified_name":"scripts.check_r1_v7_precision_consumers.magnitude","visibility":"public","evidence_level":"source_static"}, +{"id":"python-ad7ec90012114c64","kind":"python_callable","current_path":"perovskite-sim/scripts/check_r1_v7_precision_consumers.py","route_id":"route-4c295e2a4966aeed","origin_key":"python:scripts.check_r1_v7_precision_consumers.main","qualified_name":"scripts.check_r1_v7_precision_consumers.main","visibility":"public","evidence_level":"source_static"}, +{"id":"python-4b1176dcde0e6fb4","kind":"python_callable","current_path":"perovskite-sim/scripts/check_r1_v7_precision_consumers.py","route_id":"route-4c295e2a4966aeed","origin_key":"python:scripts.check_r1_v7_precision_consumers.observed","qualified_name":"scripts.check_r1_v7_precision_consumers.observed","visibility":"public","evidence_level":"source_static"}, +{"id":"python-171f8121166ef104","kind":"python_callable","current_path":"perovskite-sim/scripts/check_r1_v7_precision_consumers.py","route_id":"route-4c295e2a4966aeed","origin_key":"python:scripts.check_r1_v7_precision_consumers.poisson_low_response_report","qualified_name":"scripts.check_r1_v7_precision_consumers.poisson_low_response_report","visibility":"public","evidence_level":"source_static"}, +{"id":"python-c912169be174fd9c","kind":"python_callable","current_path":"perovskite-sim/scripts/check_r1_v7_precision_consumers.py","route_id":"route-4c295e2a4966aeed","origin_key":"python:scripts.check_r1_v7_precision_consumers.prepare_real_system","qualified_name":"scripts.check_r1_v7_precision_consumers.prepare_real_system","visibility":"public","evidence_level":"source_static"}, +{"id":"python-6b7ff62745449709","kind":"python_callable","current_path":"perovskite-sim/scripts/check_r1_v7_precision_consumers.py","route_id":"route-4c295e2a4966aeed","origin_key":"python:scripts.check_r1_v7_precision_consumers.run_checks","qualified_name":"scripts.check_r1_v7_precision_consumers.run_checks","visibility":"public","evidence_level":"source_static"}, +{"id":"python-388010108e427174","kind":"python_callable","current_path":"perovskite-sim/scripts/check_r1_v7_precision_consumers.py","route_id":"route-4c295e2a4966aeed","origin_key":"python:scripts.check_r1_v7_precision_consumers.sha","qualified_name":"scripts.check_r1_v7_precision_consumers.sha","visibility":"public","evidence_level":"source_static"}, +{"id":"python-f6d7b729888f25ea","kind":"python_callable","current_path":"perovskite-sim/scripts/check_r1_v7_precision_consumers.py","route_id":"route-4c295e2a4966aeed","origin_key":"python:scripts.check_r1_v7_precision_consumers.source_identity","qualified_name":"scripts.check_r1_v7_precision_consumers.source_identity","visibility":"public","evidence_level":"source_static"}, +{"id":"python-8b530b627dbae3b6","kind":"python_callable","current_path":"perovskite-sim/scripts/check_r1_v7_precision_consumers.py","route_id":"route-4c295e2a4966aeed","origin_key":"python:scripts.check_r1_v7_precision_consumers.state_record","qualified_name":"scripts.check_r1_v7_precision_consumers.state_record","visibility":"public","evidence_level":"source_static"}, +{"id":"python-46162a51addaf2fc","kind":"python_callable","current_path":"perovskite-sim/scripts/check_r1_v7_precision_consumers.py","route_id":"route-4c295e2a4966aeed","origin_key":"python:scripts.check_r1_v7_precision_consumers.words","qualified_name":"scripts.check_r1_v7_precision_consumers.words","visibility":"public","evidence_level":"source_static"}, +{"id":"python-db6132f574081540","kind":"python_callable","current_path":"perovskite-sim/scripts/check_r1_v8_legacy.py","route_id":"route-7e2d0a7de14630d1","origin_key":"python:scripts.check_r1_v8_legacy.canonical","qualified_name":"scripts.check_r1_v8_legacy.canonical","visibility":"public","evidence_level":"source_static"}, +{"id":"python-839e79aef64e9c8f","kind":"python_callable","current_path":"perovskite-sim/scripts/check_r1_v8_legacy.py","route_id":"route-7e2d0a7de14630d1","origin_key":"python:scripts.check_r1_v8_legacy.clean_source","qualified_name":"scripts.check_r1_v8_legacy.clean_source","visibility":"public","evidence_level":"source_static"}, +{"id":"python-400a801fe4c39720","kind":"python_callable","current_path":"perovskite-sim/scripts/check_r1_v8_legacy.py","route_id":"route-7e2d0a7de14630d1","origin_key":"python:scripts.check_r1_v8_legacy.git","qualified_name":"scripts.check_r1_v8_legacy.git","visibility":"public","evidence_level":"source_static"}, +{"id":"python-60e1a68ccf29adb1","kind":"python_callable","current_path":"perovskite-sim/scripts/check_r1_v8_legacy.py","route_id":"route-7e2d0a7de14630d1","origin_key":"python:scripts.check_r1_v8_legacy.main","qualified_name":"scripts.check_r1_v8_legacy.main","visibility":"public","evidence_level":"source_static"}, +{"id":"python-3b225a2878263c0d","kind":"python_callable","current_path":"perovskite-sim/scripts/check_r1_v8_legacy.py","route_id":"route-7e2d0a7de14630d1","origin_key":"python:scripts.check_r1_v8_legacy.predecessor_contract","qualified_name":"scripts.check_r1_v8_legacy.predecessor_contract","visibility":"public","evidence_level":"source_static"}, +{"id":"python-f2449dc1b301f92b","kind":"python_callable","current_path":"perovskite-sim/scripts/check_r1_v8_legacy.py","route_id":"route-7e2d0a7de14630d1","origin_key":"python:scripts.check_r1_v8_legacy.read","qualified_name":"scripts.check_r1_v8_legacy.read","visibility":"public","evidence_level":"source_static"}, +{"id":"python-4cf978d041c3d341","kind":"python_callable","current_path":"perovskite-sim/scripts/check_r1_v8_legacy.py","route_id":"route-7e2d0a7de14630d1","origin_key":"python:scripts.check_r1_v8_legacy.sha","qualified_name":"scripts.check_r1_v8_legacy.sha","visibility":"public","evidence_level":"source_static"}, +{"id":"python-c6bcbdb9a55aa583","kind":"python_callable","current_path":"perovskite-sim/scripts/check_r1_v8_legacy.py","route_id":"route-7e2d0a7de14630d1","origin_key":"python:scripts.check_r1_v8_legacy.stale_predecessor","qualified_name":"scripts.check_r1_v8_legacy.stale_predecessor","visibility":"public","evidence_level":"source_static"}, +{"id":"python-d6ac3b38200656e4","kind":"python_callable","current_path":"perovskite-sim/scripts/check_r1_v8_legacy.py","route_id":"route-7e2d0a7de14630d1","origin_key":"python:scripts.check_r1_v8_legacy.validate_attempt","qualified_name":"scripts.check_r1_v8_legacy.validate_attempt","visibility":"public","evidence_level":"source_static"}, +{"id":"python-fdaf56b3470c740d","kind":"python_callable","current_path":"perovskite-sim/scripts/check_r1_v8_legacy.py","route_id":"route-7e2d0a7de14630d1","origin_key":"python:scripts.check_r1_v8_legacy.worker","qualified_name":"scripts.check_r1_v8_legacy.worker","visibility":"public","evidence_level":"source_static"}, +{"id":"python-b4ce81f8bde9b5fb","kind":"python_callable","current_path":"perovskite-sim/scripts/check_r1_v8_legacy.py","route_id":"route-7e2d0a7de14630d1","origin_key":"python:scripts.check_r1_v8_legacy.write","qualified_name":"scripts.check_r1_v8_legacy.write","visibility":"public","evidence_level":"source_static"}, +{"id":"python-a61adf1b92582098","kind":"python_callable","current_path":"perovskite-sim/scripts/check_r1_v8_precision_consumers.py","route_id":"route-21bf7df06b84a569","origin_key":"python:scripts.check_r1_v8_precision_consumers.actual_two_sides","qualified_name":"scripts.check_r1_v8_precision_consumers.actual_two_sides","visibility":"public","evidence_level":"source_static"}, +{"id":"python-79bdf2aa70382908","kind":"python_callable","current_path":"perovskite-sim/scripts/check_r1_v8_precision_consumers.py","route_id":"route-21bf7df06b84a569","origin_key":"python:scripts.check_r1_v8_precision_consumers.changed_reference","qualified_name":"scripts.check_r1_v8_precision_consumers.changed_reference","visibility":"public","evidence_level":"source_static"}, +{"id":"python-305af3a4371125fb","kind":"python_callable","current_path":"perovskite-sim/scripts/check_r1_v8_precision_consumers.py","route_id":"route-21bf7df06b84a569","origin_key":"python:scripts.check_r1_v8_precision_consumers.current_source","qualified_name":"scripts.check_r1_v8_precision_consumers.current_source","visibility":"public","evidence_level":"source_static"}, +{"id":"python-af179276e36de3f6","kind":"python_callable","current_path":"perovskite-sim/scripts/check_r1_v8_precision_consumers.py","route_id":"route-21bf7df06b84a569","origin_key":"python:scripts.check_r1_v8_precision_consumers.decode","qualified_name":"scripts.check_r1_v8_precision_consumers.decode","visibility":"public","evidence_level":"source_static"}, +{"id":"python-d9b39cf868ed4378","kind":"python_callable","current_path":"perovskite-sim/scripts/check_r1_v8_precision_consumers.py","route_id":"route-21bf7df06b84a569","origin_key":"python:scripts.check_r1_v8_precision_consumers.execution_source_matches","qualified_name":"scripts.check_r1_v8_precision_consumers.execution_source_matches","visibility":"public","evidence_level":"source_static"}, +{"id":"python-f768ae56b40d17de","kind":"python_callable","current_path":"perovskite-sim/scripts/check_r1_v8_precision_consumers.py","route_id":"route-21bf7df06b84a569","origin_key":"python:scripts.check_r1_v8_precision_consumers.hashlib_state","qualified_name":"scripts.check_r1_v8_precision_consumers.hashlib_state","visibility":"public","evidence_level":"source_static"}, +{"id":"python-1182b30d032a242d","kind":"python_callable","current_path":"perovskite-sim/scripts/check_r1_v8_precision_consumers.py","route_id":"route-21bf7df06b84a569","origin_key":"python:scripts.check_r1_v8_precision_consumers.late_ion_column","qualified_name":"scripts.check_r1_v8_precision_consumers.late_ion_column","visibility":"public","evidence_level":"source_static"}, +{"id":"python-9d0f2a3e9467e00c","kind":"python_callable","current_path":"perovskite-sim/scripts/check_r1_v8_precision_consumers.py","route_id":"route-21bf7df06b84a569","origin_key":"python:scripts.check_r1_v8_precision_consumers.low_part_consumers","qualified_name":"scripts.check_r1_v8_precision_consumers.low_part_consumers","visibility":"public","evidence_level":"source_static"}, +{"id":"python-ebaeebd6151ba56b","kind":"python_callable","current_path":"perovskite-sim/scripts/check_r1_v8_precision_consumers.py","route_id":"route-21bf7df06b84a569","origin_key":"python:scripts.check_r1_v8_precision_consumers.main","qualified_name":"scripts.check_r1_v8_precision_consumers.main","visibility":"public","evidence_level":"source_static"}, +{"id":"python-6038e2a08d4d5d53","kind":"python_callable","current_path":"perovskite-sim/scripts/check_r1_v8_precision_consumers.py","route_id":"route-21bf7df06b84a569","origin_key":"python:scripts.check_r1_v8_precision_consumers.rebuild_context","qualified_name":"scripts.check_r1_v8_precision_consumers.rebuild_context","visibility":"public","evidence_level":"source_static"}, +{"id":"python-a4c755ac9511b4b6","kind":"python_callable","current_path":"perovskite-sim/scripts/check_r1_v8_precision_consumers.py","route_id":"route-21bf7df06b84a569","origin_key":"python:scripts.check_r1_v8_precision_consumers.reconstruct_selected","qualified_name":"scripts.check_r1_v8_precision_consumers.reconstruct_selected","visibility":"public","evidence_level":"source_static"}, +{"id":"python-8771845a10d8d348","kind":"python_callable","current_path":"perovskite-sim/scripts/check_r1_v8_precision_consumers.py","route_id":"route-21bf7df06b84a569","origin_key":"python:scripts.check_r1_v8_precision_consumers.replace_method","qualified_name":"scripts.check_r1_v8_precision_consumers.replace_method","visibility":"public","evidence_level":"source_static"}, +{"id":"python-b41eb7e67120044f","kind":"python_callable","current_path":"perovskite-sim/scripts/check_r1_v8_precision_consumers.py","route_id":"route-21bf7df06b84a569","origin_key":"python:scripts.check_r1_v8_precision_consumers.run_case_matrix","qualified_name":"scripts.check_r1_v8_precision_consumers.run_case_matrix","visibility":"public","evidence_level":"source_static"}, +{"id":"python-162c14ddfebd2c06","kind":"python_callable","current_path":"perovskite-sim/scripts/check_r1_v8_precision_consumers.py","route_id":"route-21bf7df06b84a569","origin_key":"python:scripts.check_r1_v8_precision_consumers.select_rows","qualified_name":"scripts.check_r1_v8_precision_consumers.select_rows","visibility":"public","evidence_level":"source_static"}, +{"id":"python-1b3f2e2355c0fcfb","kind":"python_callable","current_path":"perovskite-sim/scripts/check_r1_v8_precision_consumers.py","route_id":"route-21bf7df06b84a569","origin_key":"python:scripts.check_r1_v8_precision_consumers.snapshot","qualified_name":"scripts.check_r1_v8_precision_consumers.snapshot","visibility":"public","evidence_level":"source_static"}, +{"id":"python-3543c8a29bc8696d","kind":"python_callable","current_path":"perovskite-sim/scripts/check_r1_v8_precision_consumers.py","route_id":"route-21bf7df06b84a569","origin_key":"python:scripts.check_r1_v8_precision_consumers.validate_case_contract","qualified_name":"scripts.check_r1_v8_precision_consumers.validate_case_contract","visibility":"public","evidence_level":"source_static"}, +{"id":"python-1be9a638d8f4f34a","kind":"python_callable","current_path":"perovskite-sim/scripts/check_r1_v8_replay.py","route_id":"route-9a1366cd09422499","origin_key":"python:scripts.check_r1_v8_replay._at","qualified_name":"scripts.check_r1_v8_replay._at","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-291abf56939f0592","kind":"python_callable","current_path":"perovskite-sim/scripts/check_r1_v8_replay.py","route_id":"route-9a1366cd09422499","origin_key":"python:scripts.check_r1_v8_replay._matching_snapshot_paths","qualified_name":"scripts.check_r1_v8_replay._matching_snapshot_paths","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-77bf70d0f1cb759d","kind":"python_callable","current_path":"perovskite-sim/scripts/check_r1_v8_replay.py","route_id":"route-9a1366cd09422499","origin_key":"python:scripts.check_r1_v8_replay._mutate_snapshot","qualified_name":"scripts.check_r1_v8_replay._mutate_snapshot","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-cb5ef6984d3e1fb1","kind":"python_callable","current_path":"perovskite-sim/scripts/check_r1_v8_replay.py","route_id":"route-9a1366cd09422499","origin_key":"python:scripts.check_r1_v8_replay.bounded_prefix","qualified_name":"scripts.check_r1_v8_replay.bounded_prefix","visibility":"public","evidence_level":"source_static"}, +{"id":"python-654f6fa230981105","kind":"python_callable","current_path":"perovskite-sim/scripts/check_r1_v8_replay.py","route_id":"route-9a1366cd09422499","origin_key":"python:scripts.check_r1_v8_replay.canonical","qualified_name":"scripts.check_r1_v8_replay.canonical","visibility":"public","evidence_level":"source_static"}, +{"id":"python-e3d0684040a9d464","kind":"python_callable","current_path":"perovskite-sim/scripts/check_r1_v8_replay.py","route_id":"route-9a1366cd09422499","origin_key":"python:scripts.check_r1_v8_replay.digest","qualified_name":"scripts.check_r1_v8_replay.digest","visibility":"public","evidence_level":"source_static"}, +{"id":"python-818aa00c22e2a516","kind":"python_callable","current_path":"perovskite-sim/scripts/check_r1_v8_replay.py","route_id":"route-9a1366cd09422499","origin_key":"python:scripts.check_r1_v8_replay.expect_reconstruction_rejection","qualified_name":"scripts.check_r1_v8_replay.expect_reconstruction_rejection","visibility":"public","evidence_level":"source_static"}, +{"id":"python-67b95fb27ddd324a","kind":"python_callable","current_path":"perovskite-sim/scripts/check_r1_v8_replay.py","route_id":"route-9a1366cd09422499","origin_key":"python:scripts.check_r1_v8_replay.main","qualified_name":"scripts.check_r1_v8_replay.main","visibility":"public","evidence_level":"source_static"}, +{"id":"python-1b72a5c19bbe8a91","kind":"python_callable","current_path":"perovskite-sim/scripts/check_r1_v8_replay.py","route_id":"route-9a1366cd09422499","origin_key":"python:scripts.check_r1_v8_replay.mutate_preparation","qualified_name":"scripts.check_r1_v8_replay.mutate_preparation","visibility":"public","evidence_level":"source_static"}, +{"id":"python-6d3f721998cabb5e","kind":"python_callable","current_path":"perovskite-sim/scripts/check_r1_v8_replay.py","route_id":"route-9a1366cd09422499","origin_key":"python:scripts.check_r1_v8_replay.mutate_trajectory","qualified_name":"scripts.check_r1_v8_replay.mutate_trajectory","visibility":"public","evidence_level":"source_static"}, +{"id":"python-42869409993f479e","kind":"python_callable","current_path":"perovskite-sim/scripts/check_r1_v8_replay.py","route_id":"route-9a1366cd09422499","origin_key":"python:scripts.check_r1_v8_replay.mutation_contract","qualified_name":"scripts.check_r1_v8_replay.mutation_contract","visibility":"public","evidence_level":"source_static"}, +{"id":"python-bf96d8b2e0718104","kind":"python_callable","current_path":"perovskite-sim/scripts/check_r1_v8_replay.py","route_id":"route-9a1366cd09422499","origin_key":"python:scripts.check_r1_v8_replay.read","qualified_name":"scripts.check_r1_v8_replay.read","visibility":"public","evidence_level":"source_static"}, +{"id":"python-9effe6b45968eab3","kind":"python_callable","current_path":"perovskite-sim/scripts/check_r1_v8_replay.py","route_id":"route-9a1366cd09422499","origin_key":"python:scripts.check_r1_v8_replay.require_sealed","qualified_name":"scripts.check_r1_v8_replay.require_sealed","visibility":"public","evidence_level":"source_static"}, +{"id":"python-fc647bf7390dd4fe","kind":"python_callable","current_path":"perovskite-sim/scripts/check_r1_v8_replay.py","route_id":"route-9a1366cd09422499","origin_key":"python:scripts.check_r1_v8_replay.reseal","qualified_name":"scripts.check_r1_v8_replay.reseal","visibility":"public","evidence_level":"source_static"}, +{"id":"python-a80ee299ae503df8","kind":"python_callable","current_path":"perovskite-sim/scripts/check_r1_v8_replay.py","route_id":"route-9a1366cd09422499","origin_key":"python:scripts.check_r1_v8_replay.run_campaign","qualified_name":"scripts.check_r1_v8_replay.run_campaign","visibility":"public","evidence_level":"source_static"}, +{"id":"python-8dc317cc9b5e84d4","kind":"python_callable","current_path":"perovskite-sim/scripts/check_r1_v8_replay.py","route_id":"route-9a1366cd09422499","origin_key":"python:scripts.check_r1_v8_replay.save_case","qualified_name":"scripts.check_r1_v8_replay.save_case","visibility":"public","evidence_level":"source_static"}, +{"id":"python-fe4a34094e9e5d19","kind":"python_callable","current_path":"perovskite-sim/scripts/check_r1_v8_replay.py","route_id":"route-9a1366cd09422499","origin_key":"python:scripts.check_r1_v8_replay.sha","qualified_name":"scripts.check_r1_v8_replay.sha","visibility":"public","evidence_level":"source_static"}, +{"id":"python-16da41e693385180","kind":"python_callable","current_path":"perovskite-sim/scripts/check_r1_v8_replay.py","route_id":"route-9a1366cd09422499","origin_key":"python:scripts.check_r1_v8_replay.write","qualified_name":"scripts.check_r1_v8_replay.write","visibility":"public","evidence_level":"source_static"}, +{"id":"python-79b4b163294e5f32","kind":"python_callable","current_path":"perovskite-sim/scripts/check_r1_v9_performance_equivalence.py","route_id":"route-aee4e32dd86ca61e","origin_key":"python:scripts.check_r1_v9_performance_equivalence.bit_digest","qualified_name":"scripts.check_r1_v9_performance_equivalence.bit_digest","visibility":"public","evidence_level":"source_static"}, +{"id":"python-558818d8448e01ec","kind":"python_callable","current_path":"perovskite-sim/scripts/check_r1_v9_performance_equivalence.py","route_id":"route-aee4e32dd86ca61e","origin_key":"python:scripts.check_r1_v9_performance_equivalence.bit_tree","qualified_name":"scripts.check_r1_v9_performance_equivalence.bit_tree","visibility":"public","evidence_level":"source_static"}, +{"id":"python-88c442e1c0802700","kind":"python_callable","current_path":"perovskite-sim/scripts/check_r1_v9_performance_equivalence.py","route_id":"route-aee4e32dd86ca61e","origin_key":"python:scripts.check_r1_v9_performance_equivalence.compare","qualified_name":"scripts.check_r1_v9_performance_equivalence.compare","visibility":"public","evidence_level":"source_static"}, +{"id":"python-c8fd7aa746b33d67","kind":"python_callable","current_path":"perovskite-sim/scripts/check_r1_v9_performance_equivalence.py","route_id":"route-aee4e32dd86ca61e","origin_key":"python:scripts.check_r1_v9_performance_equivalence.evaluate_points","qualified_name":"scripts.check_r1_v9_performance_equivalence.evaluate_points","visibility":"public","evidence_level":"source_static"}, +{"id":"python-9cd71d70ceb768c0","kind":"python_callable","current_path":"perovskite-sim/scripts/check_r1_v9_performance_equivalence.py","route_id":"route-aee4e32dd86ca61e","origin_key":"python:scripts.check_r1_v9_performance_equivalence.fine_words","qualified_name":"scripts.check_r1_v9_performance_equivalence.fine_words","visibility":"public","evidence_level":"source_static"}, +{"id":"python-a2e2e8173c26f13e","kind":"python_callable","current_path":"perovskite-sim/scripts/check_r1_v9_performance_equivalence.py","route_id":"route-aee4e32dd86ca61e","origin_key":"python:scripts.check_r1_v9_performance_equivalence.main","qualified_name":"scripts.check_r1_v9_performance_equivalence.main","visibility":"public","evidence_level":"source_static"}, +{"id":"python-776294fd1ee06179","kind":"python_callable","current_path":"perovskite-sim/scripts/check_r1_v9_performance_equivalence.py","route_id":"route-aee4e32dd86ca61e","origin_key":"python:scripts.check_r1_v9_performance_equivalence.near_projection","qualified_name":"scripts.check_r1_v9_performance_equivalence.near_projection","visibility":"public","evidence_level":"source_static"}, +{"id":"python-8cab176a92709f36","kind":"python_callable","current_path":"perovskite-sim/scripts/check_r1_v9_performance_equivalence.py","route_id":"route-aee4e32dd86ca61e","origin_key":"python:scripts.check_r1_v9_performance_equivalence.read_parent","qualified_name":"scripts.check_r1_v9_performance_equivalence.read_parent","visibility":"public","evidence_level":"source_static"}, +{"id":"python-2eaa711f0b81a051","kind":"python_callable","current_path":"perovskite-sim/scripts/check_r1_v9_performance_equivalence.py","route_id":"route-aee4e32dd86ca61e","origin_key":"python:scripts.check_r1_v9_performance_equivalence.side_projection","qualified_name":"scripts.check_r1_v9_performance_equivalence.side_projection","visibility":"public","evidence_level":"source_static"}, +{"id":"python-e85bac40213d1442","kind":"python_callable","current_path":"perovskite-sim/scripts/check_r1_v9_performance_equivalence.py","route_id":"route-aee4e32dd86ca61e","origin_key":"python:scripts.check_r1_v9_performance_equivalence.source_identity","qualified_name":"scripts.check_r1_v9_performance_equivalence.source_identity","visibility":"public","evidence_level":"source_static"}, +{"id":"python-66b7552eb2139f49","kind":"python_callable","current_path":"perovskite-sim/scripts/check_r1_v9_performance_equivalence.py","route_id":"route-aee4e32dd86ca61e","origin_key":"python:scripts.check_r1_v9_performance_equivalence.verify_case_manifest","qualified_name":"scripts.check_r1_v9_performance_equivalence.verify_case_manifest","visibility":"public","evidence_level":"source_static"}, +{"id":"python-54e0c8d96e54a01c","kind":"python_callable","current_path":"perovskite-sim/scripts/check_r1_v9_precision_consumers.py","route_id":"route-037a6103c9d8e141","origin_key":"python:scripts.check_r1_v9_precision_consumers.actual_sides","qualified_name":"scripts.check_r1_v9_precision_consumers.actual_sides","visibility":"public","evidence_level":"source_static"}, +{"id":"python-b68dd64b1ded0ead","kind":"python_callable","current_path":"perovskite-sim/scripts/check_r1_v9_precision_consumers.py","route_id":"route-037a6103c9d8e141","origin_key":"python:scripts.check_r1_v9_precision_consumers.campaign","qualified_name":"scripts.check_r1_v9_precision_consumers.campaign","visibility":"public","evidence_level":"source_static"}, +{"id":"python-ac08b7fe72c56aa3","kind":"python_callable","current_path":"perovskite-sim/scripts/check_r1_v9_precision_consumers.py","route_id":"route-037a6103c9d8e141","origin_key":"python:scripts.check_r1_v9_precision_consumers.changed_oracle_coefficient","qualified_name":"scripts.check_r1_v9_precision_consumers.changed_oracle_coefficient","visibility":"public","evidence_level":"source_static"}, +{"id":"python-97978c8e42eaa09a","kind":"python_callable","current_path":"perovskite-sim/scripts/check_r1_v9_precision_consumers.py","route_id":"route-037a6103c9d8e141","origin_key":"python:scripts.check_r1_v9_precision_consumers.copied_result_negative","qualified_name":"scripts.check_r1_v9_precision_consumers.copied_result_negative","visibility":"public","evidence_level":"source_static"}, +{"id":"python-9526f7c2e6ccd2b0","kind":"python_callable","current_path":"perovskite-sim/scripts/check_r1_v9_precision_consumers.py","route_id":"route-037a6103c9d8e141","origin_key":"python:scripts.check_r1_v9_precision_consumers.copy_campaign","qualified_name":"scripts.check_r1_v9_precision_consumers.copy_campaign","visibility":"public","evidence_level":"source_static"}, +{"id":"python-9b0ad1ad870878bd","kind":"python_callable","current_path":"perovskite-sim/scripts/check_r1_v9_precision_consumers.py","route_id":"route-037a6103c9d8e141","origin_key":"python:scripts.check_r1_v9_precision_consumers.current_source","qualified_name":"scripts.check_r1_v9_precision_consumers.current_source","visibility":"public","evidence_level":"source_static"}, +{"id":"python-6a1718a7f1fc95d2","kind":"python_callable","current_path":"perovskite-sim/scripts/check_r1_v9_precision_consumers.py","route_id":"route-037a6103c9d8e141","origin_key":"python:scripts.check_r1_v9_precision_consumers.floor_specimens","qualified_name":"scripts.check_r1_v9_precision_consumers.floor_specimens","visibility":"public","evidence_level":"source_static"}, +{"id":"python-41d67369098615fc","kind":"python_callable","current_path":"perovskite-sim/scripts/check_r1_v9_precision_consumers.py","route_id":"route-037a6103c9d8e141","origin_key":"python:scripts.check_r1_v9_precision_consumers.load_contract","qualified_name":"scripts.check_r1_v9_precision_consumers.load_contract","visibility":"public","evidence_level":"source_static"}, +{"id":"python-88ce182109d411ec","kind":"python_callable","current_path":"perovskite-sim/scripts/check_r1_v9_precision_consumers.py","route_id":"route-037a6103c9d8e141","origin_key":"python:scripts.check_r1_v9_precision_consumers.load_runtime","qualified_name":"scripts.check_r1_v9_precision_consumers.load_runtime","visibility":"public","evidence_level":"source_static"}, +{"id":"python-3fd8653a923c507e","kind":"python_callable","current_path":"perovskite-sim/scripts/check_r1_v9_precision_consumers.py","route_id":"route-037a6103c9d8e141","origin_key":"python:scripts.check_r1_v9_precision_consumers.main","qualified_name":"scripts.check_r1_v9_precision_consumers.main","visibility":"public","evidence_level":"source_static"}, +{"id":"python-922efadf4a38bbb5","kind":"python_callable","current_path":"perovskite-sim/scripts/check_r1_v9_precision_consumers.py","route_id":"route-037a6103c9d8e141","origin_key":"python:scripts.check_r1_v9_precision_consumers.request_material_guard","qualified_name":"scripts.check_r1_v9_precision_consumers.request_material_guard","visibility":"public","evidence_level":"source_static"}, +{"id":"python-de949214c23e76f3","kind":"python_callable","current_path":"perovskite-sim/scripts/check_r1_v9_precision_consumers.py","route_id":"route-037a6103c9d8e141","origin_key":"python:scripts.check_r1_v9_precision_consumers.runtime_identity","qualified_name":"scripts.check_r1_v9_precision_consumers.runtime_identity","visibility":"public","evidence_level":"source_static"}, +{"id":"python-a5e28a65aeb9e196","kind":"python_callable","current_path":"perovskite-sim/scripts/check_r1_v9_replay.py","route_id":"route-34303dab8522f6a4","origin_key":"python:scripts.check_r1_v9_replay.check_case","qualified_name":"scripts.check_r1_v9_replay.check_case","visibility":"public","evidence_level":"source_static"}, +{"id":"python-5bcc9f78e35c62a8","kind":"python_callable","current_path":"perovskite-sim/scripts/check_r1_v9_replay.py","route_id":"route-34303dab8522f6a4","origin_key":"python:scripts.check_r1_v9_replay.main","qualified_name":"scripts.check_r1_v9_replay.main","visibility":"public","evidence_level":"source_static"}, +{"id":"python-13201f31eca5554a","kind":"python_callable","current_path":"perovskite-sim/scripts/check_r1_v9_replay.py","route_id":"route-34303dab8522f6a4","origin_key":"python:scripts.check_r1_v9_replay.perturb_low","qualified_name":"scripts.check_r1_v9_replay.perturb_low","visibility":"public","evidence_level":"source_static"}, +{"id":"python-2a1e508b020016eb","kind":"python_callable","current_path":"perovskite-sim/scripts/check_r1_v9_replay.py","route_id":"route-34303dab8522f6a4","origin_key":"python:scripts.check_r1_v9_replay.seal","qualified_name":"scripts.check_r1_v9_replay.seal","visibility":"public","evidence_level":"source_static"}, +{"id":"python-94f011d24bfbaf9c","kind":"python_callable","current_path":"perovskite-sim/scripts/check_r1_v9_replay.py","route_id":"route-34303dab8522f6a4","origin_key":"python:scripts.check_r1_v9_replay.write","qualified_name":"scripts.check_r1_v9_replay.write","visibility":"public","evidence_level":"source_static"}, +{"id":"python-7acae6f6eccc480b","kind":"python_callable","current_path":"perovskite-sim/scripts/compare_scaps_defect_reference.py","route_id":"route-411e3957a2ac2a5c","origin_key":"python:scripts.compare_scaps_defect_reference._anchored","qualified_name":"scripts.compare_scaps_defect_reference._anchored","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-5c9dd8a2ae0a29b3","kind":"python_callable","current_path":"perovskite-sim/scripts/compare_scaps_defect_reference.py","route_id":"route-411e3957a2ac2a5c","origin_key":"python:scripts.compare_scaps_defect_reference._column_metrics","qualified_name":"scripts.compare_scaps_defect_reference._column_metrics","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-926669d3c0ced6f5","kind":"python_callable","current_path":"perovskite-sim/scripts/compare_scaps_defect_reference.py","route_id":"route-411e3957a2ac2a5c","origin_key":"python:scripts.compare_scaps_defect_reference._content_sha256","qualified_name":"scripts.compare_scaps_defect_reference._content_sha256","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-a65035855d5382eb","kind":"python_callable","current_path":"perovskite-sim/scripts/compare_scaps_defect_reference.py","route_id":"route-411e3957a2ac2a5c","origin_key":"python:scripts.compare_scaps_defect_reference._file_sha256","qualified_name":"scripts.compare_scaps_defect_reference._file_sha256","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-af1ac4ad3d46cdff","kind":"python_callable","current_path":"perovskite-sim/scripts/compare_scaps_defect_reference.py","route_id":"route-411e3957a2ac2a5c","origin_key":"python:scripts.compare_scaps_defect_reference._interpolate_columns","qualified_name":"scripts.compare_scaps_defect_reference._interpolate_columns","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-67c09853f20e72c2","kind":"python_callable","current_path":"perovskite-sim/scripts/compare_scaps_defect_reference.py","route_id":"route-411e3957a2ac2a5c","origin_key":"python:scripts.compare_scaps_defect_reference._linf","qualified_name":"scripts.compare_scaps_defect_reference._linf","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-5a5fc5bedbff2731","kind":"python_callable","current_path":"perovskite-sim/scripts/compare_scaps_defect_reference.py","route_id":"route-411e3957a2ac2a5c","origin_key":"python:scripts.compare_scaps_defect_reference._load_json_object","qualified_name":"scripts.compare_scaps_defect_reference._load_json_object","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-d1615ad9f7c4e369","kind":"python_callable","current_path":"perovskite-sim/scripts/compare_scaps_defect_reference.py","route_id":"route-411e3957a2ac2a5c","origin_key":"python:scripts.compare_scaps_defect_reference._load_scenarios","qualified_name":"scripts.compare_scaps_defect_reference._load_scenarios","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-b878e2c3b9a9da28","kind":"python_callable","current_path":"perovskite-sim/scripts/compare_scaps_defect_reference.py","route_id":"route-411e3957a2ac2a5c","origin_key":"python:scripts.compare_scaps_defect_reference._load_thresholds","qualified_name":"scripts.compare_scaps_defect_reference._load_thresholds","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-e3ecd8f8bca85d71","kind":"python_callable","current_path":"perovskite-sim/scripts/compare_scaps_defect_reference.py","route_id":"route-411e3957a2ac2a5c","origin_key":"python:scripts.compare_scaps_defect_reference._neutral_occupancy","qualified_name":"scripts.compare_scaps_defect_reference._neutral_occupancy","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-8299e06c28573cef","kind":"python_callable","current_path":"perovskite-sim/scripts/compare_scaps_defect_reference.py","route_id":"route-411e3957a2ac2a5c","origin_key":"python:scripts.compare_scaps_defect_reference._reference_profile","qualified_name":"scripts.compare_scaps_defect_reference._reference_profile","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-03f40979af3289d2","kind":"python_callable","current_path":"perovskite-sim/scripts/compare_scaps_defect_reference.py","route_id":"route-411e3957a2ac2a5c","origin_key":"python:scripts.compare_scaps_defect_reference._solve_columns","qualified_name":"scripts.compare_scaps_defect_reference._solve_columns","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-63a5b83f7ef420ef","kind":"python_callable","current_path":"perovskite-sim/scripts/compare_scaps_defect_reference.py","route_id":"route-411e3957a2ac2a5c","origin_key":"python:scripts.compare_scaps_defect_reference._total_density_cm3","qualified_name":"scripts.compare_scaps_defect_reference._total_density_cm3","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-4e5242f1911695c6","kind":"python_callable","current_path":"perovskite-sim/scripts/compare_scaps_defect_reference.py","route_id":"route-411e3957a2ac2a5c","origin_key":"python:scripts.compare_scaps_defect_reference._validate_reference","qualified_name":"scripts.compare_scaps_defect_reference._validate_reference","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-46e1dec96a1ae5b9","kind":"python_callable","current_path":"perovskite-sim/scripts/compare_scaps_defect_reference.py","route_id":"route-411e3957a2ac2a5c","origin_key":"python:scripts.compare_scaps_defect_reference.build_parser","qualified_name":"scripts.compare_scaps_defect_reference.build_parser","visibility":"public","evidence_level":"source_static"}, +{"id":"python-f256788c165046df","kind":"python_callable","current_path":"perovskite-sim/scripts/compare_scaps_defect_reference.py","route_id":"route-411e3957a2ac2a5c","origin_key":"python:scripts.compare_scaps_defect_reference.compute_solarlab_profile","qualified_name":"scripts.compare_scaps_defect_reference.compute_solarlab_profile","visibility":"public","evidence_level":"source_static"}, +{"id":"python-32eec7e2b679fe4b","kind":"python_callable","current_path":"perovskite-sim/scripts/compare_scaps_defect_reference.py","route_id":"route-411e3957a2ac2a5c","origin_key":"python:scripts.compare_scaps_defect_reference.main","qualified_name":"scripts.compare_scaps_defect_reference.main","visibility":"public","evidence_level":"source_static"}, +{"id":"python-70931e6f54d1af09","kind":"python_class","current_path":"perovskite-sim/scripts/diagnose_one_dimensional_mechanism_r1_numerics.py","route_id":"route-274279a19efe24a5","origin_key":"python:scripts.diagnose_one_dimensional_mechanism_r1_numerics.SolverTrace","qualified_name":"scripts.diagnose_one_dimensional_mechanism_r1_numerics.SolverTrace","visibility":"public","evidence_level":"source_static"}, +{"id":"python-ef41a65066ee152c","kind":"python_callable","current_path":"perovskite-sim/scripts/diagnose_one_dimensional_mechanism_r1_numerics.py","route_id":"route-274279a19efe24a5","origin_key":"python:scripts.diagnose_one_dimensional_mechanism_r1_numerics.SolverTrace.__init__","qualified_name":"scripts.diagnose_one_dimensional_mechanism_r1_numerics.SolverTrace.__init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-3c4ea9ae485aa10a","kind":"python_callable","current_path":"perovskite-sim/scripts/diagnose_one_dimensional_mechanism_r1_numerics.py","route_id":"route-274279a19efe24a5","origin_key":"python:scripts.diagnose_one_dimensional_mechanism_r1_numerics.SolverTrace._trace","qualified_name":"scripts.diagnose_one_dimensional_mechanism_r1_numerics.SolverTrace._trace","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-3359888d2c8fc898","kind":"python_callable","current_path":"perovskite-sim/scripts/diagnose_one_dimensional_mechanism_r1_numerics.py","route_id":"route-274279a19efe24a5","origin_key":"python:scripts.diagnose_one_dimensional_mechanism_r1_numerics.SolverTrace.trace","qualified_name":"scripts.diagnose_one_dimensional_mechanism_r1_numerics.SolverTrace.trace","visibility":"public","evidence_level":"source_static"}, +{"id":"python-5eb74b649b320482","kind":"python_callable","current_path":"perovskite-sim/scripts/diagnose_one_dimensional_mechanism_r1_numerics.py","route_id":"route-274279a19efe24a5","origin_key":"python:scripts.diagnose_one_dimensional_mechanism_r1_numerics.main","qualified_name":"scripts.diagnose_one_dimensional_mechanism_r1_numerics.main","visibility":"public","evidence_level":"source_static"}, +{"id":"python-e5bdeaace785fa23","kind":"python_callable","current_path":"perovskite-sim/scripts/diagnose_one_dimensional_mechanism_r1_weak_flux.py","route_id":"route-8ede9f63edc41bb0","origin_key":"python:scripts.diagnose_one_dimensional_mechanism_r1_weak_flux.decimal_flux","qualified_name":"scripts.diagnose_one_dimensional_mechanism_r1_weak_flux.decimal_flux","visibility":"public","evidence_level":"source_static"}, +{"id":"python-fd823cd0a200c5c0","kind":"python_callable","current_path":"perovskite-sim/scripts/diagnose_one_dimensional_mechanism_r1_weak_flux.py","route_id":"route-8ede9f63edc41bb0","origin_key":"python:scripts.diagnose_one_dimensional_mechanism_r1_weak_flux.main","qualified_name":"scripts.diagnose_one_dimensional_mechanism_r1_weak_flux.main","visibility":"public","evidence_level":"source_static"}, +{"id":"python-618ddc45b9720a04","kind":"python_callable","current_path":"perovskite-sim/scripts/diagnose_r1_saved_iterates.py","route_id":"route-601c17aaf78ba011","origin_key":"python:scripts.diagnose_r1_saved_iterates.main","qualified_name":"scripts.diagnose_r1_saved_iterates.main","visibility":"public","evidence_level":"source_static"}, +{"id":"python-46faa59b257a8cab","kind":"python_callable","current_path":"perovskite-sim/scripts/diagnose_r1_saved_iterates.py","route_id":"route-601c17aaf78ba011","origin_key":"python:scripts.diagnose_r1_saved_iterates.rebuild","qualified_name":"scripts.diagnose_r1_saved_iterates.rebuild","visibility":"public","evidence_level":"source_static"}, +{"id":"python-fcc3463232fd6240","kind":"python_callable","current_path":"perovskite-sim/scripts/diagnose_r1_saved_iterates.py","route_id":"route-601c17aaf78ba011","origin_key":"python:scripts.diagnose_r1_saved_iterates.sha","qualified_name":"scripts.diagnose_r1_saved_iterates.sha","visibility":"public","evidence_level":"source_static"}, +{"id":"python-9dbece91faa314f3","kind":"python_callable","current_path":"perovskite-sim/scripts/diagnose_r1_saved_iterates.py","route_id":"route-601c17aaf78ba011","origin_key":"python:scripts.diagnose_r1_saved_iterates.trace_density","qualified_name":"scripts.diagnose_r1_saved_iterates.trace_density","visibility":"public","evidence_level":"source_static"}, +{"id":"python-1acb0170b972f6d9","kind":"python_callable","current_path":"perovskite-sim/scripts/diagnose_r1_v6_coupled_sensitivity.py","route_id":"route-69ace6871eb4e4b5","origin_key":"python:scripts.diagnose_r1_v6_coupled_sensitivity.digest","qualified_name":"scripts.diagnose_r1_v6_coupled_sensitivity.digest","visibility":"public","evidence_level":"source_static"}, +{"id":"python-9dedaf78d8b3dc41","kind":"python_callable","current_path":"perovskite-sim/scripts/diagnose_r1_v6_coupled_sensitivity.py","route_id":"route-69ace6871eb4e4b5","origin_key":"python:scripts.diagnose_r1_v6_coupled_sensitivity.main","qualified_name":"scripts.diagnose_r1_v6_coupled_sensitivity.main","visibility":"public","evidence_level":"source_static"}, +{"id":"python-d2dbfb80c1bac607","kind":"python_callable","current_path":"perovskite-sim/scripts/diagnose_r1_v6_coupled_sensitivity.py","route_id":"route-69ace6871eb4e4b5","origin_key":"python:scripts.diagnose_r1_v6_coupled_sensitivity.read","qualified_name":"scripts.diagnose_r1_v6_coupled_sensitivity.read","visibility":"public","evidence_level":"source_static"}, +{"id":"python-cfc5b4399ad379a4","kind":"python_callable","current_path":"perovskite-sim/scripts/diagnose_r1_v6_coupled_sensitivity.py","route_id":"route-69ace6871eb4e4b5","origin_key":"python:scripts.diagnose_r1_v6_coupled_sensitivity.solve_conditional_tangent","qualified_name":"scripts.diagnose_r1_v6_coupled_sensitivity.solve_conditional_tangent","visibility":"public","evidence_level":"source_static"}, +{"id":"python-c85cedb6c9077b90","kind":"python_callable","current_path":"perovskite-sim/scripts/diagnose_r1_v6_coupled_sensitivity.py","route_id":"route-69ace6871eb4e4b5","origin_key":"python:scripts.diagnose_r1_v6_coupled_sensitivity.validate_manifest_coverage","qualified_name":"scripts.diagnose_r1_v6_coupled_sensitivity.validate_manifest_coverage","visibility":"public","evidence_level":"source_static"}, +{"id":"python-7cb271b2b9b2add7","kind":"python_callable","current_path":"perovskite-sim/scripts/diagnose_r1_v6_coupled_sensitivity.py","route_id":"route-69ace6871eb4e4b5","origin_key":"python:scripts.diagnose_r1_v6_coupled_sensitivity.validate_recorded_source","qualified_name":"scripts.diagnose_r1_v6_coupled_sensitivity.validate_recorded_source","visibility":"public","evidence_level":"source_static"}, +{"id":"python-586e791329dcf567","kind":"python_callable","current_path":"perovskite-sim/scripts/diagnose_r1_v9_residuals.py","route_id":"route-16b114c4f71c32cf","origin_key":"python:scripts.diagnose_r1_v9_residuals.decimal_components","qualified_name":"scripts.diagnose_r1_v9_residuals.decimal_components","visibility":"public","evidence_level":"source_static"}, +{"id":"python-3cf84f5d3dfc41da","kind":"python_callable","current_path":"perovskite-sim/scripts/diagnose_r1_v9_residuals.py","route_id":"route-16b114c4f71c32cf","origin_key":"python:scripts.diagnose_r1_v9_residuals.diagnose","qualified_name":"scripts.diagnose_r1_v9_residuals.diagnose","visibility":"public","evidence_level":"source_static"}, +{"id":"python-59ffa93df9609436","kind":"python_callable","current_path":"perovskite-sim/scripts/diagnose_r1_v9_residuals.py","route_id":"route-16b114c4f71c32cf","origin_key":"python:scripts.diagnose_r1_v9_residuals.main","qualified_name":"scripts.diagnose_r1_v9_residuals.main","visibility":"public","evidence_level":"source_static"}, +{"id":"python-fc7287eb870fc908","kind":"python_callable","current_path":"perovskite-sim/scripts/diagnose_r1_v9_residuals.py","route_id":"route-16b114c4f71c32cf","origin_key":"python:scripts.diagnose_r1_v9_residuals.vector_difference","qualified_name":"scripts.diagnose_r1_v9_residuals.vector_difference","visibility":"public","evidence_level":"source_static"}, +{"id":"python-3f8a4f2b87bcd7de","kind":"python_callable","current_path":"perovskite-sim/scripts/extract_calado_fig1_reference.py","route_id":"route-0938d829987e012a","origin_key":"python:scripts.extract_calado_fig1_reference.compare_jv","qualified_name":"scripts.extract_calado_fig1_reference.compare_jv","visibility":"public","evidence_level":"source_static"}, +{"id":"python-69db6691a890c8bc","kind":"python_callable","current_path":"perovskite-sim/scripts/extract_calado_fig1_reference.py","route_id":"route-0938d829987e012a","origin_key":"python:scripts.extract_calado_fig1_reference.compare_reference_samples","qualified_name":"scripts.extract_calado_fig1_reference.compare_reference_samples","visibility":"public","evidence_level":"source_static"}, +{"id":"python-ee84179793297164","kind":"python_callable","current_path":"perovskite-sim/scripts/extract_calado_fig1_reference.py","route_id":"route-0938d829987e012a","origin_key":"python:scripts.extract_calado_fig1_reference.extract_potentials","qualified_name":"scripts.extract_calado_fig1_reference.extract_potentials","visibility":"public","evidence_level":"source_static"}, +{"id":"python-0b65f666f4baedae","kind":"python_callable","current_path":"perovskite-sim/scripts/extract_calado_fig1_reference.py","route_id":"route-0938d829987e012a","origin_key":"python:scripts.extract_calado_fig1_reference.extract_supplementary_ions","qualified_name":"scripts.extract_calado_fig1_reference.extract_supplementary_ions","visibility":"public","evidence_level":"source_static"}, +{"id":"python-0868a1e995d10f5b","kind":"python_callable","current_path":"perovskite-sim/scripts/extract_calado_fig1_reference.py","route_id":"route-0938d829987e012a","origin_key":"python:scripts.extract_calado_fig1_reference.main","qualified_name":"scripts.extract_calado_fig1_reference.main","visibility":"public","evidence_level":"source_static"}, +{"id":"python-a9d50817b0944bfd","kind":"python_callable","current_path":"perovskite-sim/scripts/extract_calado_fig1_reference.py","route_id":"route-0938d829987e012a","origin_key":"python:scripts.extract_calado_fig1_reference.outline_points","qualified_name":"scripts.extract_calado_fig1_reference.outline_points","visibility":"public","evidence_level":"source_static"}, +{"id":"python-674c2583374653ab","kind":"python_callable","current_path":"perovskite-sim/scripts/extract_calado_fig1_reference.py","route_id":"route-0938d829987e012a","origin_key":"python:scripts.extract_calado_fig1_reference.reference_sample_masks","qualified_name":"scripts.extract_calado_fig1_reference.reference_sample_masks","visibility":"public","evidence_level":"source_static"}, +{"id":"python-9d4edaf34061d9bc","kind":"python_callable","current_path":"perovskite-sim/scripts/extract_calado_fig1_reference.py","route_id":"route-0938d829987e012a","origin_key":"python:scripts.extract_calado_fig1_reference.slice_outline","qualified_name":"scripts.extract_calado_fig1_reference.slice_outline","visibility":"public","evidence_level":"source_static"}, +{"id":"python-9d1552e743267a66","kind":"python_callable","current_path":"perovskite-sim/scripts/extract_calado_fig1_reference.py","route_id":"route-0938d829987e012a","origin_key":"python:scripts.extract_calado_fig1_reference.stroke_endcaps","qualified_name":"scripts.extract_calado_fig1_reference.stroke_endcaps","visibility":"public","evidence_level":"source_static"}, +{"id":"python-d139bcd02ccaf7e4","kind":"python_callable","current_path":"perovskite-sim/scripts/extract_scaps_reference.py","route_id":"route-13ab3bac96b3505e","origin_key":"python:scripts.extract_scaps_reference._clean_metrics","qualified_name":"scripts.extract_scaps_reference._clean_metrics","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-ba9f5566f8b1ca13","kind":"python_callable","current_path":"perovskite-sim/scripts/extract_scaps_reference.py","route_id":"route-13ab3bac96b3505e","origin_key":"python:scripts.extract_scaps_reference._row_dict","qualified_name":"scripts.extract_scaps_reference._row_dict","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-7cf5db21e3c7f0ce","kind":"python_callable","current_path":"perovskite-sim/scripts/extract_scaps_reference.py","route_id":"route-13ab3bac96b3505e","origin_key":"python:scripts.extract_scaps_reference.extract_pair","qualified_name":"scripts.extract_scaps_reference.extract_pair","visibility":"public","evidence_level":"source_static"}, +{"id":"python-3737c62d12f5479f","kind":"python_callable","current_path":"perovskite-sim/scripts/extract_scaps_reference.py","route_id":"route-13ab3bac96b3505e","origin_key":"python:scripts.extract_scaps_reference.extract_scalar","qualified_name":"scripts.extract_scaps_reference.extract_scalar","visibility":"public","evidence_level":"source_static"}, +{"id":"python-08bf050482333150","kind":"python_callable","current_path":"perovskite-sim/scripts/extract_scaps_reference.py","route_id":"route-13ab3bac96b3505e","origin_key":"python:scripts.extract_scaps_reference.main","qualified_name":"scripts.extract_scaps_reference.main","visibility":"public","evidence_level":"source_static"}, +{"id":"python-5f6d148ffc56163d","kind":"python_callable","current_path":"scripts/generate_readme_figures.py","route_id":"route-d6dd912a0096f071","origin_key":"python:scripts.generate_readme_figures.generate_device_structure","qualified_name":"scripts.generate_readme_figures.generate_device_structure","visibility":"public","evidence_level":"source_static"}, +{"id":"python-581196f193521f5e","kind":"python_callable","current_path":"scripts/generate_readme_figures.py","route_id":"route-d6dd912a0096f071","origin_key":"python:scripts.generate_readme_figures.generate_solver_pipeline","qualified_name":"scripts.generate_readme_figures.generate_solver_pipeline","visibility":"public","evidence_level":"source_static"}, +{"id":"python-d672476bbb400f1d","kind":"python_callable","current_path":"scripts/generate_readme_figures.py","route_id":"route-d6dd912a0096f071","origin_key":"python:scripts.generate_readme_figures.generate_transport_equations","qualified_name":"scripts.generate_readme_figures.generate_transport_equations","visibility":"public","evidence_level":"source_static"}, +{"id":"python-01459482bde41083","kind":"python_callable","current_path":"scripts/generate_readme_figures.py","route_id":"route-d6dd912a0096f071","origin_key":"python:scripts.generate_readme_figures.generate_ui_layout","qualified_name":"scripts.generate_readme_figures.generate_ui_layout","visibility":"public","evidence_level":"source_static"}, +{"id":"python-a96e89a684cdbef9","kind":"python_callable","current_path":"scripts/generate_readme_figures.py","route_id":"route-d6dd912a0096f071","origin_key":"python:scripts.generate_readme_figures.main","qualified_name":"scripts.generate_readme_figures.main","visibility":"public","evidence_level":"source_static"}, +{"id":"python-1f2aa0e9597c56c3","kind":"python_callable","current_path":"scripts/generate_readme_figures.py","route_id":"route-d6dd912a0096f071","origin_key":"python:scripts.generate_readme_figures.panel","qualified_name":"scripts.generate_readme_figures.panel","visibility":"public","evidence_level":"source_static"}, +{"id":"python-5e137c24eb22d9da","kind":"python_callable","current_path":"scripts/generate_readme_figures.py","route_id":"route-d6dd912a0096f071","origin_key":"python:scripts.generate_readme_figures.pill","qualified_name":"scripts.generate_readme_figures.pill","visibility":"public","evidence_level":"source_static"}, +{"id":"python-7b3b6642ca97acb6","kind":"python_callable","current_path":"scripts/generate_readme_figures.py","route_id":"route-d6dd912a0096f071","origin_key":"python:scripts.generate_readme_figures.save","qualified_name":"scripts.generate_readme_figures.save","visibility":"public","evidence_level":"source_static"}, +{"id":"python-4e5619612789d038","kind":"python_callable","current_path":"scripts/generate_readme_figures.py","route_id":"route-d6dd912a0096f071","origin_key":"python:scripts.generate_readme_figures.setup","qualified_name":"scripts.generate_readme_figures.setup","visibility":"public","evidence_level":"source_static"}, +{"id":"python-22e7f1fd6517281c","kind":"python_callable","current_path":"scripts/generate_readme_figures.py","route_id":"route-d6dd912a0096f071","origin_key":"python:scripts.generate_readme_figures.text","qualified_name":"scripts.generate_readme_figures.text","visibility":"public","evidence_level":"source_static"}, +{"id":"python-40c9117513634775","kind":"python_callable","current_path":"perovskite-sim/scripts/generate_solarscale_inputs.py","route_id":"route-482bdcdcf8ba5490","origin_key":"python:scripts.generate_solarscale_inputs.build_parser","qualified_name":"scripts.generate_solarscale_inputs.build_parser","visibility":"public","evidence_level":"source_static"}, +{"id":"python-be39a9c266e76790","kind":"python_callable","current_path":"perovskite-sim/scripts/generate_solarscale_inputs.py","route_id":"route-482bdcdcf8ba5490","origin_key":"python:scripts.generate_solarscale_inputs.main","qualified_name":"scripts.generate_solarscale_inputs.main","visibility":"public","evidence_level":"source_static"}, +{"id":"python-e16b374101f2d0f0","kind":"python_callable","current_path":"perovskite-sim/scripts/import_scaps_cbo_reference.py","route_id":"route-866e3e98e4d69516","origin_key":"python:scripts.import_scaps_cbo_reference._finite_float","qualified_name":"scripts.import_scaps_cbo_reference._finite_float","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-3023026f34926ed5","kind":"python_callable","current_path":"perovskite-sim/scripts/import_scaps_cbo_reference.py","route_id":"route-866e3e98e4d69516","origin_key":"python:scripts.import_scaps_cbo_reference._load_manifest","qualified_name":"scripts.import_scaps_cbo_reference._load_manifest","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-04d28ccf8993d878","kind":"python_callable","current_path":"perovskite-sim/scripts/import_scaps_cbo_reference.py","route_id":"route-866e3e98e4d69516","origin_key":"python:scripts.import_scaps_cbo_reference._load_points","qualified_name":"scripts.import_scaps_cbo_reference._load_points","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-af72a98c017bb74c","kind":"python_callable","current_path":"perovskite-sim/scripts/import_scaps_cbo_reference.py","route_id":"route-866e3e98e4d69516","origin_key":"python:scripts.import_scaps_cbo_reference._sha256","qualified_name":"scripts.import_scaps_cbo_reference._sha256","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-e9df8c71e0320bb7","kind":"python_callable","current_path":"perovskite-sim/scripts/import_scaps_cbo_reference.py","route_id":"route-866e3e98e4d69516","origin_key":"python:scripts.import_scaps_cbo_reference.build_parser","qualified_name":"scripts.import_scaps_cbo_reference.build_parser","visibility":"public","evidence_level":"source_static"}, +{"id":"python-b64502bf05f52993","kind":"python_callable","current_path":"perovskite-sim/scripts/import_scaps_cbo_reference.py","route_id":"route-866e3e98e4d69516","origin_key":"python:scripts.import_scaps_cbo_reference.main","qualified_name":"scripts.import_scaps_cbo_reference.main","visibility":"public","evidence_level":"source_static"}, +{"id":"python-3c840eee0e119ed4","kind":"python_callable","current_path":"perovskite-sim/scripts/import_scaps_defect_reference.py","route_id":"route-c443bc6cf8127da3","origin_key":"python:scripts.import_scaps_defect_reference._canonical_bytes","qualified_name":"scripts.import_scaps_defect_reference._canonical_bytes","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-0be8c97419890741","kind":"python_callable","current_path":"perovskite-sim/scripts/import_scaps_defect_reference.py","route_id":"route-c443bc6cf8127da3","origin_key":"python:scripts.import_scaps_defect_reference._content_sha256","qualified_name":"scripts.import_scaps_defect_reference._content_sha256","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-3b174e1e48eb9ed0","kind":"python_callable","current_path":"perovskite-sim/scripts/import_scaps_defect_reference.py","route_id":"route-c443bc6cf8127da3","origin_key":"python:scripts.import_scaps_defect_reference._finite_csv_value","qualified_name":"scripts.import_scaps_defect_reference._finite_csv_value","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-3320cf278e62ae76","kind":"python_callable","current_path":"perovskite-sim/scripts/import_scaps_defect_reference.py","route_id":"route-c443bc6cf8127da3","origin_key":"python:scripts.import_scaps_defect_reference._finite_positive","qualified_name":"scripts.import_scaps_defect_reference._finite_positive","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-1a0deada142fcc91","kind":"python_callable","current_path":"perovskite-sim/scripts/import_scaps_defect_reference.py","route_id":"route-c443bc6cf8127da3","origin_key":"python:scripts.import_scaps_defect_reference._load_json_object","qualified_name":"scripts.import_scaps_defect_reference._load_json_object","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-ecc87b6b01e594d6","kind":"python_callable","current_path":"perovskite-sim/scripts/import_scaps_defect_reference.py","route_id":"route-c443bc6cf8127da3","origin_key":"python:scripts.import_scaps_defect_reference._load_parameter_manifest","qualified_name":"scripts.import_scaps_defect_reference._load_parameter_manifest","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-cb968fe59ff9f0f4","kind":"python_callable","current_path":"perovskite-sim/scripts/import_scaps_defect_reference.py","route_id":"route-c443bc6cf8127da3","origin_key":"python:scripts.import_scaps_defect_reference._load_profile","qualified_name":"scripts.import_scaps_defect_reference._load_profile","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-e5841c86d56553b5","kind":"python_callable","current_path":"perovskite-sim/scripts/import_scaps_defect_reference.py","route_id":"route-c443bc6cf8127da3","origin_key":"python:scripts.import_scaps_defect_reference._load_suite","qualified_name":"scripts.import_scaps_defect_reference._load_suite","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-0d895bc954d44577","kind":"python_callable","current_path":"perovskite-sim/scripts/import_scaps_defect_reference.py","route_id":"route-c443bc6cf8127da3","origin_key":"python:scripts.import_scaps_defect_reference._require_exact_keys","qualified_name":"scripts.import_scaps_defect_reference._require_exact_keys","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-4ff33f27d884df70","kind":"python_callable","current_path":"perovskite-sim/scripts/import_scaps_defect_reference.py","route_id":"route-c443bc6cf8127da3","origin_key":"python:scripts.import_scaps_defect_reference._safe_project_file","qualified_name":"scripts.import_scaps_defect_reference._safe_project_file","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-1c88f418808cad10","kind":"python_callable","current_path":"perovskite-sim/scripts/import_scaps_defect_reference.py","route_id":"route-c443bc6cf8127da3","origin_key":"python:scripts.import_scaps_defect_reference._sha256","qualified_name":"scripts.import_scaps_defect_reference._sha256","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-f0c828ed5912f789","kind":"python_callable","current_path":"perovskite-sim/scripts/import_scaps_defect_reference.py","route_id":"route-c443bc6cf8127da3","origin_key":"python:scripts.import_scaps_defect_reference.build_parser","qualified_name":"scripts.import_scaps_defect_reference.build_parser","visibility":"public","evidence_level":"source_static"}, +{"id":"python-a5cace92678aece7","kind":"python_callable","current_path":"perovskite-sim/scripts/import_scaps_defect_reference.py","route_id":"route-c443bc6cf8127da3","origin_key":"python:scripts.import_scaps_defect_reference.main","qualified_name":"scripts.import_scaps_defect_reference.main","visibility":"public","evidence_level":"source_static"}, +{"id":"python-dc22cf490e3d5fa2","kind":"python_callable","current_path":"perovskite-sim/scripts/import_scaps_multivalent_defect_reference.py","route_id":"route-322eeeb695a998e9","origin_key":"python:scripts.import_scaps_multivalent_defect_reference._canonical_bytes","qualified_name":"scripts.import_scaps_multivalent_defect_reference._canonical_bytes","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-7c9095bf7d8d309e","kind":"python_callable","current_path":"perovskite-sim/scripts/import_scaps_multivalent_defect_reference.py","route_id":"route-322eeeb695a998e9","origin_key":"python:scripts.import_scaps_multivalent_defect_reference._content_sha256","qualified_name":"scripts.import_scaps_multivalent_defect_reference._content_sha256","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-8f507c84e4062208","kind":"python_callable","current_path":"perovskite-sim/scripts/import_scaps_multivalent_defect_reference.py","route_id":"route-322eeeb695a998e9","origin_key":"python:scripts.import_scaps_multivalent_defect_reference._finite_csv_value","qualified_name":"scripts.import_scaps_multivalent_defect_reference._finite_csv_value","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-b812c690eadd30b8","kind":"python_callable","current_path":"perovskite-sim/scripts/import_scaps_multivalent_defect_reference.py","route_id":"route-322eeeb695a998e9","origin_key":"python:scripts.import_scaps_multivalent_defect_reference._finite_positive","qualified_name":"scripts.import_scaps_multivalent_defect_reference._finite_positive","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-ec1c1f937ce67e8f","kind":"python_callable","current_path":"perovskite-sim/scripts/import_scaps_multivalent_defect_reference.py","route_id":"route-322eeeb695a998e9","origin_key":"python:scripts.import_scaps_multivalent_defect_reference._load_json_object","qualified_name":"scripts.import_scaps_multivalent_defect_reference._load_json_object","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-fd0e3bda3867467a","kind":"python_callable","current_path":"perovskite-sim/scripts/import_scaps_multivalent_defect_reference.py","route_id":"route-322eeeb695a998e9","origin_key":"python:scripts.import_scaps_multivalent_defect_reference._load_parameter_manifest","qualified_name":"scripts.import_scaps_multivalent_defect_reference._load_parameter_manifest","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-6af117a6a0f60412","kind":"python_callable","current_path":"perovskite-sim/scripts/import_scaps_multivalent_defect_reference.py","route_id":"route-322eeeb695a998e9","origin_key":"python:scripts.import_scaps_multivalent_defect_reference._load_profile","qualified_name":"scripts.import_scaps_multivalent_defect_reference._load_profile","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-6b718ecd9d99d16f","kind":"python_callable","current_path":"perovskite-sim/scripts/import_scaps_multivalent_defect_reference.py","route_id":"route-322eeeb695a998e9","origin_key":"python:scripts.import_scaps_multivalent_defect_reference._load_suite","qualified_name":"scripts.import_scaps_multivalent_defect_reference._load_suite","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-d400833326154ad8","kind":"python_callable","current_path":"perovskite-sim/scripts/import_scaps_multivalent_defect_reference.py","route_id":"route-322eeeb695a998e9","origin_key":"python:scripts.import_scaps_multivalent_defect_reference._parse_fraction_cell","qualified_name":"scripts.import_scaps_multivalent_defect_reference._parse_fraction_cell","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-a8870e53c2468c92","kind":"python_callable","current_path":"perovskite-sim/scripts/import_scaps_multivalent_defect_reference.py","route_id":"route-322eeeb695a998e9","origin_key":"python:scripts.import_scaps_multivalent_defect_reference._require_exact_keys","qualified_name":"scripts.import_scaps_multivalent_defect_reference._require_exact_keys","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-d0805c4088381596","kind":"python_callable","current_path":"perovskite-sim/scripts/import_scaps_multivalent_defect_reference.py","route_id":"route-322eeeb695a998e9","origin_key":"python:scripts.import_scaps_multivalent_defect_reference._safe_project_file","qualified_name":"scripts.import_scaps_multivalent_defect_reference._safe_project_file","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-0eebccf4089ed5ca","kind":"python_callable","current_path":"perovskite-sim/scripts/import_scaps_multivalent_defect_reference.py","route_id":"route-322eeeb695a998e9","origin_key":"python:scripts.import_scaps_multivalent_defect_reference._sha256","qualified_name":"scripts.import_scaps_multivalent_defect_reference._sha256","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-d4162a21a77f3004","kind":"python_callable","current_path":"perovskite-sim/scripts/import_scaps_multivalent_defect_reference.py","route_id":"route-322eeeb695a998e9","origin_key":"python:scripts.import_scaps_multivalent_defect_reference._validate_scenario_defect_contract","qualified_name":"scripts.import_scaps_multivalent_defect_reference._validate_scenario_defect_contract","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-659b1caeace709fe","kind":"python_callable","current_path":"perovskite-sim/scripts/import_scaps_multivalent_defect_reference.py","route_id":"route-322eeeb695a998e9","origin_key":"python:scripts.import_scaps_multivalent_defect_reference.build_parser","qualified_name":"scripts.import_scaps_multivalent_defect_reference.build_parser","visibility":"public","evidence_level":"source_static"}, +{"id":"python-a688b076d6212c8b","kind":"python_callable","current_path":"perovskite-sim/scripts/import_scaps_multivalent_defect_reference.py","route_id":"route-322eeeb695a998e9","origin_key":"python:scripts.import_scaps_multivalent_defect_reference.main","qualified_name":"scripts.import_scaps_multivalent_defect_reference.main","visibility":"public","evidence_level":"source_static"}, +{"id":"python-d8d3454621a98c73","kind":"python_callable","current_path":"perovskite-sim/scripts/inspect_one_dimensional_mechanism_r1_history.py","route_id":"route-7f53fc2e77e462db","origin_key":"python:scripts.inspect_one_dimensional_mechanism_r1_history.main","qualified_name":"scripts.inspect_one_dimensional_mechanism_r1_history.main","visibility":"public","evidence_level":"source_static"}, +{"id":"python-4c99425c35bd3669","kind":"python_callable","current_path":"perovskite-sim/scripts/md_physics_typography.py","route_id":"route-927032e054544e22","origin_key":"python:scripts.md_physics_typography._sup","qualified_name":"scripts.md_physics_typography._sup","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-a0351d23365f81b2","kind":"python_callable","current_path":"perovskite-sim/scripts/md_physics_typography.py","route_id":"route-927032e054544e22","origin_key":"python:scripts.md_physics_typography.convert","qualified_name":"scripts.md_physics_typography.convert","visibility":"public","evidence_level":"source_static"}, +{"id":"python-648a139ba9b02689","kind":"python_callable","current_path":"perovskite-sim/scripts/md_physics_typography.py","route_id":"route-927032e054544e22","origin_key":"python:scripts.md_physics_typography.convert_prose","qualified_name":"scripts.md_physics_typography.convert_prose","visibility":"public","evidence_level":"source_static"}, +{"id":"python-c0eb5ab46f5b6e76","kind":"python_callable","current_path":"perovskite-sim/scripts/md_physics_typography.py","route_id":"route-927032e054544e22","origin_key":"python:scripts.md_physics_typography.main","qualified_name":"scripts.md_physics_typography.main","visibility":"public","evidence_level":"source_static"}, +{"id":"python-ef24a908c9733caf","kind":"python_callable","current_path":"perovskite-sim/scripts/plot_band_diagram.py","route_id":"route-e6386ee5190bb5a5","origin_key":"python:scripts.plot_band_diagram.draw","qualified_name":"scripts.plot_band_diagram.draw","visibility":"public","evidence_level":"source_static"}, +{"id":"python-b9cc27104f1c19f0","kind":"python_class","current_path":"perovskite-sim/scripts/plot_calado_fig1f.py","route_id":"route-beb4cf386a7f5c02","origin_key":"python:scripts.plot_calado_fig1f.BranchMetrics","qualified_name":"scripts.plot_calado_fig1f.BranchMetrics","visibility":"public","evidence_level":"source_static"}, +{"id":"python-c8d0c5a451c86241","kind":"python_class","current_path":"perovskite-sim/scripts/plot_calado_fig1f.py","route_id":"route-beb4cf386a7f5c02","origin_key":"python:scripts.plot_calado_fig1f.ProtocolResult","qualified_name":"scripts.plot_calado_fig1f.ProtocolResult","visibility":"public","evidence_level":"source_static"}, +{"id":"python-d92e4341073004b9","kind":"python_callable","current_path":"perovskite-sim/scripts/plot_calado_fig1f.py","route_id":"route-beb4cf386a7f5c02","origin_key":"python:scripts.plot_calado_fig1f._deviation","qualified_name":"scripts.plot_calado_fig1f._deviation","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-d1fdc2885f4bfe2d","kind":"python_callable","current_path":"perovskite-sim/scripts/plot_calado_fig1f.py","route_id":"route-beb4cf386a7f5c02","origin_key":"python:scripts.plot_calado_fig1f._integrate","qualified_name":"scripts.plot_calado_fig1f._integrate","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-88010949162875db","kind":"python_callable","current_path":"perovskite-sim/scripts/plot_calado_fig1f.py","route_id":"route-beb4cf386a7f5c02","origin_key":"python:scripts.plot_calado_fig1f._load_curves","qualified_name":"scripts.plot_calado_fig1f._load_curves","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-6ecee99de7f121e2","kind":"python_callable","current_path":"perovskite-sim/scripts/plot_calado_fig1f.py","route_id":"route-beb4cf386a7f5c02","origin_key":"python:scripts.plot_calado_fig1f._save_curves","qualified_name":"scripts.plot_calado_fig1f._save_curves","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-cbbebdfacedeee5e","kind":"python_callable","current_path":"perovskite-sim/scripts/plot_calado_fig1f.py","route_id":"route-beb4cf386a7f5c02","origin_key":"python:scripts.plot_calado_fig1f._staircase","qualified_name":"scripts.plot_calado_fig1f._staircase","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-902e45831f85aaaf","kind":"python_callable","current_path":"perovskite-sim/scripts/plot_calado_fig1f.py","route_id":"route-beb4cf386a7f5c02","origin_key":"python:scripts.plot_calado_fig1f.branch_metrics","qualified_name":"scripts.plot_calado_fig1f.branch_metrics","visibility":"public","evidence_level":"source_static"}, +{"id":"python-5a6736836ea5fd52","kind":"python_callable","current_path":"perovskite-sim/scripts/plot_calado_fig1f.py","route_id":"route-beb4cf386a7f5c02","origin_key":"python:scripts.plot_calado_fig1f.control_stack","qualified_name":"scripts.plot_calado_fig1f.control_stack","visibility":"public","evidence_level":"source_static"}, +{"id":"python-3ae94eff04578373","kind":"python_callable","current_path":"perovskite-sim/scripts/plot_calado_fig1f.py","route_id":"route-beb4cf386a7f5c02","origin_key":"python:scripts.plot_calado_fig1f.despike_current","qualified_name":"scripts.plot_calado_fig1f.despike_current","visibility":"public","evidence_level":"source_static"}, +{"id":"python-dde834e217953720","kind":"python_callable","current_path":"perovskite-sim/scripts/plot_calado_fig1f.py","route_id":"route-beb4cf386a7f5c02","origin_key":"python:scripts.plot_calado_fig1f.hysteresis_index_paper","qualified_name":"scripts.plot_calado_fig1f.hysteresis_index_paper","visibility":"public","evidence_level":"source_static"}, +{"id":"python-dce4183042c872cb","kind":"python_callable","current_path":"perovskite-sim/scripts/plot_calado_fig1f.py","route_id":"route-beb4cf386a7f5c02","origin_key":"python:scripts.plot_calado_fig1f.hysteresis_index_solarlab","qualified_name":"scripts.plot_calado_fig1f.hysteresis_index_solarlab","visibility":"public","evidence_level":"source_static"}, +{"id":"python-4146d5f9420709ad","kind":"python_callable","current_path":"perovskite-sim/scripts/plot_calado_fig1f.py","route_id":"route-beb4cf386a7f5c02","origin_key":"python:scripts.plot_calado_fig1f.main","qualified_name":"scripts.plot_calado_fig1f.main","visibility":"public","evidence_level":"source_static"}, +{"id":"python-1f10037465975752","kind":"python_callable","current_path":"perovskite-sim/scripts/plot_calado_fig1f.py","route_id":"route-beb4cf386a7f5c02","origin_key":"python:scripts.plot_calado_fig1f.photocurrent_scale","qualified_name":"scripts.plot_calado_fig1f.photocurrent_scale","visibility":"public","evidence_level":"source_static"}, +{"id":"python-c4ea5646b7256d4d","kind":"python_callable","current_path":"perovskite-sim/scripts/plot_calado_fig1f.py","route_id":"route-beb4cf386a7f5c02","origin_key":"python:scripts.plot_calado_fig1f.plot","qualified_name":"scripts.plot_calado_fig1f.plot","visibility":"public","evidence_level":"source_static"}, +{"id":"python-ca338b037cca17e9","kind":"python_callable","current_path":"perovskite-sim/scripts/plot_calado_fig1f.py","route_id":"route-beb4cf386a7f5c02","origin_key":"python:scripts.plot_calado_fig1f.run_protocol","qualified_name":"scripts.plot_calado_fig1f.run_protocol","visibility":"public","evidence_level":"source_static"}, +{"id":"python-6f25f49837adb5a2","kind":"python_callable","current_path":"perovskite-sim/scripts/plot_calado_fig1f.py","route_id":"route-beb4cf386a7f5c02","origin_key":"python:scripts.plot_calado_fig1f.summarise","qualified_name":"scripts.plot_calado_fig1f.summarise","visibility":"public","evidence_level":"source_static"}, +{"id":"python-02c1151a80bdf65c","kind":"python_callable","current_path":"perovskite-sim/scripts/plot_calado_fig1f.py","route_id":"route-beb4cf386a7f5c02","origin_key":"python:scripts.plot_calado_fig1f.uniform_generation","qualified_name":"scripts.plot_calado_fig1f.uniform_generation","visibility":"public","evidence_level":"source_static"}, +{"id":"python-db488003080c6aa9","kind":"python_callable","current_path":"perovskite-sim/scripts/plot_calado_fig1f_scan_rate.py","route_id":"route-3fe4f501df41c6f9","origin_key":"python:scripts.plot_calado_fig1f_scan_rate._load","qualified_name":"scripts.plot_calado_fig1f_scan_rate._load","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-c05aa805b17b5128","kind":"python_callable","current_path":"perovskite-sim/scripts/plot_calado_fig1f_scan_rate.py","route_id":"route-3fe4f501df41c6f9","origin_key":"python:scripts.plot_calado_fig1f_scan_rate._run_one","qualified_name":"scripts.plot_calado_fig1f_scan_rate._run_one","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-e7845e8592ea0b5b","kind":"python_callable","current_path":"perovskite-sim/scripts/plot_calado_fig1f_scan_rate.py","route_id":"route-3fe4f501df41c6f9","origin_key":"python:scripts.plot_calado_fig1f_scan_rate.main","qualified_name":"scripts.plot_calado_fig1f_scan_rate.main","visibility":"public","evidence_level":"source_static"}, +{"id":"python-70f32023ea335a81","kind":"python_callable","current_path":"perovskite-sim/scripts/plot_calado_fig1f_scan_rate.py","route_id":"route-3fe4f501df41c6f9","origin_key":"python:scripts.plot_calado_fig1f_scan_rate.paper_protocol_point","qualified_name":"scripts.plot_calado_fig1f_scan_rate.paper_protocol_point","visibility":"public","evidence_level":"source_static"}, +{"id":"python-605f2a5c6f50e51c","kind":"python_callable","current_path":"perovskite-sim/scripts/plot_calado_fig1f_scan_rate.py","route_id":"route-3fe4f501df41c6f9","origin_key":"python:scripts.plot_calado_fig1f_scan_rate.plot","qualified_name":"scripts.plot_calado_fig1f_scan_rate.plot","visibility":"public","evidence_level":"source_static"}, +{"id":"python-591f77f0ea47b0d7","kind":"python_callable","current_path":"perovskite-sim/scripts/plot_calado_fig1f_scan_rate.py","route_id":"route-3fe4f501df41c6f9","origin_key":"python:scripts.plot_calado_fig1f_scan_rate.rate_tag","qualified_name":"scripts.plot_calado_fig1f_scan_rate.rate_tag","visibility":"public","evidence_level":"source_static"}, +{"id":"python-5ff3eeec9971fb86","kind":"python_callable","current_path":"perovskite-sim/scripts/plot_calado_fig1f_scan_rate.py","route_id":"route-3fe4f501df41c6f9","origin_key":"python:scripts.plot_calado_fig1f_scan_rate.run_ladder","qualified_name":"scripts.plot_calado_fig1f_scan_rate.run_ladder","visibility":"public","evidence_level":"source_static"}, +{"id":"python-3ea1321b388d35d9","kind":"python_callable","current_path":"perovskite-sim/scripts/plot_calado_fig1f_scan_rate.py","route_id":"route-3fe4f501df41c6f9","origin_key":"python:scripts.plot_calado_fig1f_scan_rate.select_display_rates","qualified_name":"scripts.plot_calado_fig1f_scan_rate.select_display_rates","visibility":"public","evidence_level":"source_static"}, +{"id":"python-a89a0d75bf339fc8","kind":"python_callable","current_path":"perovskite-sim/scripts/plot_charge_distribution.py","route_id":"route-03c5010f991cc545","origin_key":"python:scripts.plot_charge_distribution.draw_dens","qualified_name":"scripts.plot_charge_distribution.draw_dens","visibility":"public","evidence_level":"source_static"}, +{"id":"python-e01164cb99ad8a21","kind":"python_callable","current_path":"perovskite-sim/scripts/plot_charge_distribution.py","route_id":"route-03c5010f991cc545","origin_key":"python:scripts.plot_charge_distribution.draw_rho","qualified_name":"scripts.plot_charge_distribution.draw_rho","visibility":"public","evidence_level":"source_static"}, +{"id":"python-3ad6713ad19761a9","kind":"python_callable","current_path":"perovskite-sim/scripts/plot_charge_distribution.py","route_id":"route-03c5010f991cc545","origin_key":"python:scripts.plot_charge_distribution.shade_layers","qualified_name":"scripts.plot_charge_distribution.shade_layers","visibility":"public","evidence_level":"source_static"}, +{"id":"python-4ecbe78fd55e0952","kind":"python_callable","current_path":"perovskite-sim/scripts/plot_charge_distribution.py","route_id":"route-03c5010f991cc545","origin_key":"python:scripts.plot_charge_distribution.snapshot","qualified_name":"scripts.plot_charge_distribution.snapshot","visibility":"public","evidence_level":"source_static"}, +{"id":"python-246d9b3cf951808a","kind":"python_callable","current_path":"perovskite-sim/scripts/plot_eqe.py","route_id":"route-20aac14e51841adf","origin_key":"python:scripts.plot_eqe._progress","qualified_name":"scripts.plot_eqe._progress","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-82b343a027ff6dfb","kind":"python_callable","current_path":"perovskite-sim/scripts/plot_generation_recombination.py","route_id":"route-ab4fa2be7e60cd23","origin_key":"python:scripts.plot_generation_recombination.despiked","qualified_name":"scripts.plot_generation_recombination.despiked","visibility":"public","evidence_level":"source_static"}, +{"id":"python-2600f3e6e6336f81","kind":"python_callable","current_path":"perovskite-sim/scripts/plot_generation_recombination.py","route_id":"route-ab4fa2be7e60cd23","origin_key":"python:scripts.plot_generation_recombination.region_labels","qualified_name":"scripts.plot_generation_recombination.region_labels","visibility":"public","evidence_level":"source_static"}, +{"id":"python-4e72d9a750be03f7","kind":"python_callable","current_path":"perovskite-sim/scripts/plot_generation_recombination.py","route_id":"route-ab4fa2be7e60cd23","origin_key":"python:scripts.plot_generation_recombination.shade_layers","qualified_name":"scripts.plot_generation_recombination.shade_layers","visibility":"public","evidence_level":"source_static"}, +{"id":"python-9530746173bb1ff3","kind":"python_class","current_path":"scripts/plot_paper_validation.py","route_id":"route-48affd446b830065","origin_key":"python:scripts.plot_paper_validation.ComparisonBundle","qualified_name":"scripts.plot_paper_validation.ComparisonBundle","visibility":"public","evidence_level":"source_static"}, +{"id":"python-01a38fa134cc415b","kind":"python_class","current_path":"scripts/plot_paper_validation.py","route_id":"route-48affd446b830065","origin_key":"python:scripts.plot_paper_validation.DriftfusionPaperReference","qualified_name":"scripts.plot_paper_validation.DriftfusionPaperReference","visibility":"public","evidence_level":"source_static"}, +{"id":"python-ed9113f62753cdea","kind":"python_class","current_path":"scripts/plot_paper_validation.py","route_id":"route-48affd446b830065","origin_key":"python:scripts.plot_paper_validation.IonMongerPaperReference","qualified_name":"scripts.plot_paper_validation.IonMongerPaperReference","visibility":"public","evidence_level":"source_static"}, +{"id":"python-da76bfb01ace8ef0","kind":"python_class","current_path":"scripts/plot_paper_validation.py","route_id":"route-48affd446b830065","origin_key":"python:scripts.plot_paper_validation.PaperMetric","qualified_name":"scripts.plot_paper_validation.PaperMetric","visibility":"public","evidence_level":"source_static"}, +{"id":"python-8415f7c6f5da8ce2","kind":"python_callable","current_path":"scripts/plot_paper_validation.py","route_id":"route-48affd446b830065","origin_key":"python:scripts.plot_paper_validation._add_panel_note","qualified_name":"scripts.plot_paper_validation._add_panel_note","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-5be9126591c2cb54","kind":"python_callable","current_path":"scripts/plot_paper_validation.py","route_id":"route-48affd446b830065","origin_key":"python:scripts.plot_paper_validation._apply_style","qualified_name":"scripts.plot_paper_validation._apply_style","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-5c8e39b397e2a332","kind":"python_callable","current_path":"scripts/plot_paper_validation.py","route_id":"route-48affd446b830065","origin_key":"python:scripts.plot_paper_validation._arial_font","qualified_name":"scripts.plot_paper_validation._arial_font","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-ca632604a3ae8181","kind":"python_callable","current_path":"scripts/plot_paper_validation.py","route_id":"route-48affd446b830065","origin_key":"python:scripts.plot_paper_validation._current_density_ma_cm2","qualified_name":"scripts.plot_paper_validation._current_density_ma_cm2","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-d38dfa78dfcbaef6","kind":"python_callable","current_path":"scripts/plot_paper_validation.py","route_id":"route-48affd446b830065","origin_key":"python:scripts.plot_paper_validation._draw_device_configurations","qualified_name":"scripts.plot_paper_validation._draw_device_configurations","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-23d60fa6a4136147","kind":"python_callable","current_path":"scripts/plot_paper_validation.py","route_id":"route-48affd446b830065","origin_key":"python:scripts.plot_paper_validation._draw_metric_table","qualified_name":"scripts.plot_paper_validation._draw_metric_table","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-df70fcbcb16a41f2","kind":"python_callable","current_path":"scripts/plot_paper_validation.py","route_id":"route-48affd446b830065","origin_key":"python:scripts.plot_paper_validation._draw_mismatch_causes","qualified_name":"scripts.plot_paper_validation._draw_mismatch_causes","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-dcce1fdf78fe8b34","kind":"python_callable","current_path":"scripts/plot_paper_validation.py","route_id":"route-48affd446b830065","origin_key":"python:scripts.plot_paper_validation._draw_optics_panel","qualified_name":"scripts.plot_paper_validation._draw_optics_panel","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-c7c0f52bf2de27b0","kind":"python_callable","current_path":"scripts/plot_paper_validation.py","route_id":"route-48affd446b830065","origin_key":"python:scripts.plot_paper_validation._draw_suns_panel","qualified_name":"scripts.plot_paper_validation._draw_suns_panel","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-01536c008899f520","kind":"python_callable","current_path":"scripts/plot_paper_validation.py","route_id":"route-48affd446b830065","origin_key":"python:scripts.plot_paper_validation._format_delta","qualified_name":"scripts.plot_paper_validation._format_delta","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-f170b31c4c3f3d91","kind":"python_callable","current_path":"scripts/plot_paper_validation.py","route_id":"route-48affd446b830065","origin_key":"python:scripts.plot_paper_validation._format_paper_value","qualified_name":"scripts.plot_paper_validation._format_paper_value","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-b8a7b78e903df5e9","kind":"python_callable","current_path":"scripts/plot_paper_validation.py","route_id":"route-48affd446b830065","origin_key":"python:scripts.plot_paper_validation._load_driftfusion_flatband","qualified_name":"scripts.plot_paper_validation._load_driftfusion_flatband","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-a2e1d774a4175233","kind":"python_callable","current_path":"scripts/plot_paper_validation.py","route_id":"route-48affd446b830065","origin_key":"python:scripts.plot_paper_validation._metric_delta","qualified_name":"scripts.plot_paper_validation._metric_delta","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-45e55db0995572ee","kind":"python_callable","current_path":"scripts/plot_paper_validation.py","route_id":"route-48affd446b830065","origin_key":"python:scripts.plot_paper_validation._panel_label","qualified_name":"scripts.plot_paper_validation._panel_label","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-505846c845086a7b","kind":"python_callable","current_path":"scripts/plot_paper_validation.py","route_id":"route-48affd446b830065","origin_key":"python:scripts.plot_paper_validation._plot_jv_panel","qualified_name":"scripts.plot_paper_validation._plot_jv_panel","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-2e53b1f65524568f","kind":"python_callable","current_path":"scripts/plot_paper_validation.py","route_id":"route-48affd446b830065","origin_key":"python:scripts.plot_paper_validation._run_jv","qualified_name":"scripts.plot_paper_validation._run_jv","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-7181385bc7d2f269","kind":"python_callable","current_path":"scripts/plot_paper_validation.py","route_id":"route-48affd446b830065","origin_key":"python:scripts.plot_paper_validation.collect_comparison_data","qualified_name":"scripts.plot_paper_validation.collect_comparison_data","visibility":"public","evidence_level":"source_static"}, +{"id":"python-f81567909830ac45","kind":"python_callable","current_path":"scripts/plot_paper_validation.py","route_id":"route-48affd446b830065","origin_key":"python:scripts.plot_paper_validation.main","qualified_name":"scripts.plot_paper_validation.main","visibility":"public","evidence_level":"source_static"}, +{"id":"python-60ccfc8eb961221d","kind":"python_callable","current_path":"scripts/plot_paper_validation.py","route_id":"route-48affd446b830065","origin_key":"python:scripts.plot_paper_validation.render_figure","qualified_name":"scripts.plot_paper_validation.render_figure","visibility":"public","evidence_level":"source_static"}, +{"id":"python-e965d6ee5e1c39f0","kind":"python_callable","current_path":"perovskite-sim/scripts/plot_physics_verification.py","route_id":"route-42dc52e290b9b1bb","origin_key":"python:scripts.plot_physics_verification.despiked","qualified_name":"scripts.plot_physics_verification.despiked","visibility":"public","evidence_level":"source_static"}, +{"id":"python-abe9298798d386cb","kind":"python_callable","current_path":"perovskite-sim/scripts/plot_physics_verification.py","route_id":"route-42dc52e290b9b1bb","origin_key":"python:scripts.plot_physics_verification.shade_layers","qualified_name":"scripts.plot_physics_verification.shade_layers","visibility":"public","evidence_level":"source_static"}, +{"id":"python-8c93bc4b20c30257","kind":"python_callable","current_path":"perovskite-sim/scripts/plot_spatial_overlay.py","route_id":"route-d6ecf2b642365b19","origin_key":"python:scripts.plot_spatial_overlay.plot_curve","qualified_name":"scripts.plot_spatial_overlay.plot_curve","visibility":"public","evidence_level":"source_static"}, +{"id":"python-d9a0f169a2c2ce59","kind":"python_callable","current_path":"perovskite-sim/scripts/plot_spatial_overlay.py","route_id":"route-d6ecf2b642365b19","origin_key":"python:scripts.plot_spatial_overlay.region_labels","qualified_name":"scripts.plot_spatial_overlay.region_labels","visibility":"public","evidence_level":"source_static"}, +{"id":"python-32e12ac142d4dd02","kind":"python_callable","current_path":"perovskite-sim/scripts/plot_spatial_overlay.py","route_id":"route-d6ecf2b642365b19","origin_key":"python:scripts.plot_spatial_overlay.shade_layers","qualified_name":"scripts.plot_spatial_overlay.shade_layers","visibility":"public","evidence_level":"source_static"}, +{"id":"python-a7e58fabe0c11e3c","kind":"python_callable","current_path":"perovskite-sim/scripts/plot_spatial_overlay.py","route_id":"route-d6ecf2b642365b19","origin_key":"python:scripts.plot_spatial_overlay.smooth","qualified_name":"scripts.plot_spatial_overlay.smooth","visibility":"public","evidence_level":"source_static"}, +{"id":"python-2f0e5c62bc5a5f5e","kind":"python_callable","current_path":"scripts/plot_validation_trends.py","route_id":"route-73d22757b0b4f2e4","origin_key":"python:scripts.plot_validation_trends._above_gap_flux","qualified_name":"scripts.plot_validation_trends._above_gap_flux","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-b0e5d653c3421af2","kind":"python_callable","current_path":"scripts/plot_validation_trends.py","route_id":"route-73d22757b0b4f2e4","origin_key":"python:scripts.plot_validation_trends._ni_for_eg","qualified_name":"scripts.plot_validation_trends._ni_for_eg","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-9d2a1fd372f7d15f","kind":"python_callable","current_path":"scripts/plot_validation_trends.py","route_id":"route-73d22757b0b4f2e4","origin_key":"python:scripts.plot_validation_trends._run_jv","qualified_name":"scripts.plot_validation_trends._run_jv","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-67021ad2eb5828de","kind":"python_callable","current_path":"scripts/plot_validation_trends.py","route_id":"route-73d22757b0b4f2e4","origin_key":"python:scripts.plot_validation_trends._vary_absorber_param","qualified_name":"scripts.plot_validation_trends._vary_absorber_param","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-fb09f2a457e67e66","kind":"python_callable","current_path":"scripts/plot_validation_trends.py","route_id":"route-73d22757b0b4f2e4","origin_key":"python:scripts.plot_validation_trends._vary_absorber_thickness","qualified_name":"scripts.plot_validation_trends._vary_absorber_thickness","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-9555e97ac34f0965","kind":"python_callable","current_path":"scripts/plot_validation_trends.py","route_id":"route-73d22757b0b4f2e4","origin_key":"python:scripts.plot_validation_trends._vary_all_layers_param","qualified_name":"scripts.plot_validation_trends._vary_all_layers_param","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-0d5ae369958b3ea2","kind":"python_callable","current_path":"perovskite-sim/scripts/prepare_r1_v6_evidence.py","route_id":"route-a916e8292c03f9ce","origin_key":"python:scripts.prepare_r1_v6_evidence.case_key","qualified_name":"scripts.prepare_r1_v6_evidence.case_key","visibility":"public","evidence_level":"source_static"}, +{"id":"python-a92cf0189ef505bf","kind":"python_callable","current_path":"perovskite-sim/scripts/prepare_r1_v6_evidence.py","route_id":"route-a916e8292c03f9ce","origin_key":"python:scripts.prepare_r1_v6_evidence.case_name","qualified_name":"scripts.prepare_r1_v6_evidence.case_name","visibility":"public","evidence_level":"source_static"}, +{"id":"python-4f10c25f5d99dd31","kind":"python_callable","current_path":"perovskite-sim/scripts/prepare_r1_v6_evidence.py","route_id":"route-a916e8292c03f9ce","origin_key":"python:scripts.prepare_r1_v6_evidence.case_spec","qualified_name":"scripts.prepare_r1_v6_evidence.case_spec","visibility":"public","evidence_level":"source_static"}, +{"id":"python-b702d2bf27666cf2","kind":"python_callable","current_path":"perovskite-sim/scripts/prepare_r1_v6_evidence.py","route_id":"route-a916e8292c03f9ce","origin_key":"python:scripts.prepare_r1_v6_evidence.identity","qualified_name":"scripts.prepare_r1_v6_evidence.identity","visibility":"public","evidence_level":"source_static"}, +{"id":"python-bcb4560567d3eb81","kind":"python_callable","current_path":"perovskite-sim/scripts/prepare_r1_v6_evidence.py","route_id":"route-a916e8292c03f9ce","origin_key":"python:scripts.prepare_r1_v6_evidence.main","qualified_name":"scripts.prepare_r1_v6_evidence.main","visibility":"public","evidence_level":"source_static"}, +{"id":"python-cbdfb54b6ffe2580","kind":"python_callable","current_path":"perovskite-sim/scripts/prepare_r1_v6_evidence.py","route_id":"route-a916e8292c03f9ce","origin_key":"python:scripts.prepare_r1_v6_evidence.prepare","qualified_name":"scripts.prepare_r1_v6_evidence.prepare","visibility":"public","evidence_level":"source_static"}, +{"id":"python-1cd0c586008a647c","kind":"python_callable","current_path":"perovskite-sim/scripts/prepare_r1_v6_evidence.py","route_id":"route-a916e8292c03f9ce","origin_key":"python:scripts.prepare_r1_v6_evidence.read","qualified_name":"scripts.prepare_r1_v6_evidence.read","visibility":"public","evidence_level":"source_static"}, +{"id":"python-8536575009b00631","kind":"python_callable","current_path":"perovskite-sim/scripts/prepare_r1_v6_evidence.py","route_id":"route-a916e8292c03f9ce","origin_key":"python:scripts.prepare_r1_v6_evidence.sha","qualified_name":"scripts.prepare_r1_v6_evidence.sha","visibility":"public","evidence_level":"source_static"}, +{"id":"python-dffdbf8e24f0f012","kind":"python_callable","current_path":"perovskite-sim/scripts/prepare_r1_v6_evidence.py","route_id":"route-a916e8292c03f9ce","origin_key":"python:scripts.prepare_r1_v6_evidence.summarize_f01","qualified_name":"scripts.prepare_r1_v6_evidence.summarize_f01","visibility":"public","evidence_level":"source_static"}, +{"id":"python-58b18bf86363bd24","kind":"python_callable","current_path":"perovskite-sim/scripts/prepare_r1_v6_evidence.py","route_id":"route-a916e8292c03f9ce","origin_key":"python:scripts.prepare_r1_v6_evidence.verify_delivery","qualified_name":"scripts.prepare_r1_v6_evidence.verify_delivery","visibility":"public","evidence_level":"source_static"}, +{"id":"python-2e5defe2c46e711f","kind":"python_callable","current_path":"perovskite-sim/scripts/prepare_r1_v6_evidence.py","route_id":"route-a916e8292c03f9ce","origin_key":"python:scripts.prepare_r1_v6_evidence.write","qualified_name":"scripts.prepare_r1_v6_evidence.write","visibility":"public","evidence_level":"source_static"}, +{"id":"python-61d9f9a8c839bf0c","kind":"python_callable","current_path":"perovskite-sim/scripts/probe_calado_optical_inputs.py","route_id":"route-106777c0879f5df2","origin_key":"python:scripts.probe_calado_optical_inputs.main","qualified_name":"scripts.probe_calado_optical_inputs.main","visibility":"public","evidence_level":"source_static"}, +{"id":"python-afd83a8340774a07","kind":"python_callable","current_path":"perovskite-sim/scripts/probe_calado_optical_inputs.py","route_id":"route-106777c0879f5df2","origin_key":"python:scripts.probe_calado_optical_inputs.optical_cases","qualified_name":"scripts.probe_calado_optical_inputs.optical_cases","visibility":"public","evidence_level":"source_static"}, +{"id":"python-4801ec53f3c71bbc","kind":"python_callable","current_path":"perovskite-sim/scripts/probe_calado_optical_inputs.py","route_id":"route-106777c0879f5df2","origin_key":"python:scripts.probe_calado_optical_inputs.write_json","qualified_name":"scripts.probe_calado_optical_inputs.write_json","visibility":"public","evidence_level":"source_static"}, +{"id":"python-fa17d22681b4cd85","kind":"python_callable","current_path":"perovskite-sim/scripts/probe_calado_paper_alignment.py","route_id":"route-1b1d959678330bb1","origin_key":"python:scripts.probe_calado_paper_alignment.main","qualified_name":"scripts.probe_calado_paper_alignment.main","visibility":"public","evidence_level":"source_static"}, +{"id":"python-eaa22537d24554f5","kind":"python_callable","current_path":"perovskite-sim/scripts/probe_interface_face_densities.py","route_id":"route-e4f38ab7eccb3747","origin_key":"python:scripts.probe_interface_face_densities.main","qualified_name":"scripts.probe_interface_face_densities.main","visibility":"public","evidence_level":"source_static"}, +{"id":"python-c5dcc00129106dfa","kind":"python_callable","current_path":"perovskite-sim/scripts/probe_interface_face_densities.py","route_id":"route-e4f38ab7eccb3747","origin_key":"python:scripts.probe_interface_face_densities.probe_one_point","qualified_name":"scripts.probe_interface_face_densities.probe_one_point","visibility":"public","evidence_level":"source_static"}, +{"id":"python-af846ee413fb58c4","kind":"python_callable","current_path":"perovskite-sim/scripts/probe_interface_face_densities.py","route_id":"route-e4f38ab7eccb3747","origin_key":"python:scripts.probe_interface_face_densities.sg_face_density_n","qualified_name":"scripts.probe_interface_face_densities.sg_face_density_n","visibility":"public","evidence_level":"source_static"}, +{"id":"python-4fc3709b981bbce6","kind":"python_callable","current_path":"perovskite-sim/scripts/probe_interface_face_densities.py","route_id":"route-e4f38ab7eccb3747","origin_key":"python:scripts.probe_interface_face_densities.sg_face_density_p","qualified_name":"scripts.probe_interface_face_densities.sg_face_density_p","visibility":"public","evidence_level":"source_static"}, +{"id":"python-1cba800f64cb3daa","kind":"python_callable","current_path":"perovskite-sim/scripts/probe_r1_v5_window_flux.py","route_id":"route-532dd1f544aec5f7","origin_key":"python:scripts.probe_r1_v5_window_flux.main","qualified_name":"scripts.probe_r1_v5_window_flux.main","visibility":"public","evidence_level":"source_static"}, +{"id":"python-d9c337cb25e8ef46","kind":"python_callable","current_path":"perovskite-sim/scripts/probe_r1_v5_window_flux.py","route_id":"route-532dd1f544aec5f7","origin_key":"python:scripts.probe_r1_v5_window_flux.maximum","qualified_name":"scripts.probe_r1_v5_window_flux.maximum","visibility":"public","evidence_level":"source_static"}, +{"id":"python-27ea6bf88d699c2c","kind":"python_callable","current_path":"perovskite-sim/scripts/probe_r1_v5_window_flux.py","route_id":"route-532dd1f544aec5f7","origin_key":"python:scripts.probe_r1_v5_window_flux.number","qualified_name":"scripts.probe_r1_v5_window_flux.number","visibility":"public","evidence_level":"source_static"}, +{"id":"python-2f5dcc05751c477b","kind":"python_callable","current_path":"perovskite-sim/scripts/probe_r1_v6_ion_precision.py","route_id":"route-923fdeeb584e04c5","origin_key":"python:scripts.probe_r1_v6_ion_precision.balanced_float_flux","qualified_name":"scripts.probe_r1_v6_ion_precision.balanced_float_flux","visibility":"public","evidence_level":"source_static"}, +{"id":"python-19f3a8549a6c8f42","kind":"python_callable","current_path":"perovskite-sim/scripts/probe_r1_v6_ion_precision.py","route_id":"route-923fdeeb584e04c5","origin_key":"python:scripts.probe_r1_v6_ion_precision.comparison","qualified_name":"scripts.probe_r1_v6_ion_precision.comparison","visibility":"public","evidence_level":"source_static"}, +{"id":"python-4f7240439bb103a2","kind":"python_callable","current_path":"perovskite-sim/scripts/probe_r1_v6_ion_precision.py","route_id":"route-923fdeeb584e04c5","origin_key":"python:scripts.probe_r1_v6_ion_precision.dec","qualified_name":"scripts.probe_r1_v6_ion_precision.dec","visibility":"public","evidence_level":"source_static"}, +{"id":"python-609e14cf24965cc4","kind":"python_callable","current_path":"perovskite-sim/scripts/probe_r1_v6_ion_precision.py","route_id":"route-923fdeeb584e04c5","origin_key":"python:scripts.probe_r1_v6_ion_precision.decimal_sg_flux","qualified_name":"scripts.probe_r1_v6_ion_precision.decimal_sg_flux","visibility":"public","evidence_level":"source_static"}, +{"id":"python-17045140a1acaf6f","kind":"python_callable","current_path":"perovskite-sim/scripts/probe_r1_v6_ion_precision.py","route_id":"route-923fdeeb584e04c5","origin_key":"python:scripts.probe_r1_v6_ion_precision.direct_split_inputs","qualified_name":"scripts.probe_r1_v6_ion_precision.direct_split_inputs","visibility":"public","evidence_level":"source_static"}, +{"id":"python-6ab043d73fadd464","kind":"python_callable","current_path":"perovskite-sim/scripts/probe_r1_v6_ion_precision.py","route_id":"route-923fdeeb584e04c5","origin_key":"python:scripts.probe_r1_v6_ion_precision.divergence","qualified_name":"scripts.probe_r1_v6_ion_precision.divergence","visibility":"public","evidence_level":"source_static"}, +{"id":"python-7212106182ae726c","kind":"python_callable","current_path":"perovskite-sim/scripts/probe_r1_v6_ion_precision.py","route_id":"route-923fdeeb584e04c5","origin_key":"python:scripts.probe_r1_v6_ion_precision.main","qualified_name":"scripts.probe_r1_v6_ion_precision.main","visibility":"public","evidence_level":"source_static"}, +{"id":"python-032d82009c435e97","kind":"python_callable","current_path":"perovskite-sim/scripts/probe_r1_v6_ion_precision.py","route_id":"route-923fdeeb584e04c5","origin_key":"python:scripts.probe_r1_v6_ion_precision.peak","qualified_name":"scripts.probe_r1_v6_ion_precision.peak","visibility":"public","evidence_level":"source_static"}, +{"id":"python-20eb2196e2f694a1","kind":"python_callable","current_path":"perovskite-sim/scripts/probe_r1_v6_ion_precision.py","route_id":"route-923fdeeb584e04c5","origin_key":"python:scripts.probe_r1_v6_ion_precision.poisson_project","qualified_name":"scripts.probe_r1_v6_ion_precision.poisson_project","visibility":"public","evidence_level":"source_static"}, +{"id":"python-97769b7f810508c6","kind":"python_callable","current_path":"perovskite-sim/scripts/probe_r1_v6_ion_precision.py","route_id":"route-923fdeeb584e04c5","origin_key":"python:scripts.probe_r1_v6_ion_precision.retain_saved_increments","qualified_name":"scripts.probe_r1_v6_ion_precision.retain_saved_increments","visibility":"public","evidence_level":"source_static"}, +{"id":"python-96ce7db22f06d0de","kind":"python_callable","current_path":"perovskite-sim/scripts/probe_r1_v6_ion_precision.py","route_id":"route-923fdeeb584e04c5","origin_key":"python:scripts.probe_r1_v6_ion_precision.sha","qualified_name":"scripts.probe_r1_v6_ion_precision.sha","visibility":"public","evidence_level":"source_static"}, +{"id":"python-363d44b6e6eaab05","kind":"python_callable","current_path":"perovskite-sim/scripts/probe_r1_v6_ion_precision.py","route_id":"route-923fdeeb584e04c5","origin_key":"python:scripts.probe_r1_v6_ion_precision.solve_tridiagonal","qualified_name":"scripts.probe_r1_v6_ion_precision.solve_tridiagonal","visibility":"public","evidence_level":"source_static"}, +{"id":"python-496e2f2bf4dbf5e9","kind":"python_callable","current_path":"perovskite-sim/scripts/probes/e11_qss_math.py","route_id":"route-2381c5278e777ba2","origin_key":"python:scripts.probes.e11_qss_math.main","qualified_name":"scripts.probes.e11_qss_math.main","visibility":"public","evidence_level":"source_static"}, +{"id":"python-6506fd8bcb1846f8","kind":"python_callable","current_path":"perovskite-sim/scripts/probes/e11_qss_math.py","route_id":"route-2381c5278e777ba2","origin_key":"python:scripts.probes.e11_qss_math.srh_qss_R","qualified_name":"scripts.probes.e11_qss_math.srh_qss_R","visibility":"public","evidence_level":"source_static"}, +{"id":"python-94ae3680d8607f50","kind":"python_callable","current_path":"perovskite-sim/scripts/probes/e7_probe_a_pvk_doping.py","route_id":"route-9c5223914eabeb49","origin_key":"python:scripts.probes.e7_probe_a_pvk_doping.main","qualified_name":"scripts.probes.e7_probe_a_pvk_doping.main","visibility":"public","evidence_level":"source_static"}, +{"id":"python-20a6259aa9253d7b","kind":"python_callable","current_path":"perovskite-sim/scripts/probes/e7_probe_a_star_tune.py","route_id":"route-2a6f795395a7504b","origin_key":"python:scripts.probes.e7_probe_a_star_tune._override_a_star","qualified_name":"scripts.probes.e7_probe_a_star_tune._override_a_star","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-fcbcf7aec1fd1054","kind":"python_callable","current_path":"perovskite-sim/scripts/probes/e7_probe_a_star_tune.py","route_id":"route-2a6f795395a7504b","origin_key":"python:scripts.probes.e7_probe_a_star_tune.main","qualified_name":"scripts.probes.e7_probe_a_star_tune.main","visibility":"public","evidence_level":"source_static"}, +{"id":"python-e4b11d04028218cd","kind":"python_callable","current_path":"perovskite-sim/scripts/probes/e7_probe_b_srh_collapse.py","route_id":"route-0e00c468b73c2c8d","origin_key":"python:scripts.probes.e7_probe_b_srh_collapse._n1_p1_below_cb","qualified_name":"scripts.probes.e7_probe_b_srh_collapse._n1_p1_below_cb","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-b77b24e4d038e071","kind":"python_callable","current_path":"perovskite-sim/scripts/probes/e7_probe_b_srh_collapse.py","route_id":"route-0e00c468b73c2c8d","origin_key":"python:scripts.probes.e7_probe_b_srh_collapse._srh_rate","qualified_name":"scripts.probes.e7_probe_b_srh_collapse._srh_rate","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-e2380c9971fbd0fb","kind":"python_callable","current_path":"perovskite-sim/scripts/probes/e7_probe_b_srh_collapse.py","route_id":"route-0e00c468b73c2c8d","origin_key":"python:scripts.probes.e7_probe_b_srh_collapse.main","qualified_name":"scripts.probes.e7_probe_b_srh_collapse.main","visibility":"public","evidence_level":"source_static"}, +{"id":"python-a897ca7357d0d9e3","kind":"python_callable","current_path":"perovskite-sim/scripts/probes/e7_probe_c_robin_nd_etl.py","route_id":"route-33ef1e6becf2ae17","origin_key":"python:scripts.probes.e7_probe_c_robin_nd_etl.main","qualified_name":"scripts.probes.e7_probe_c_robin_nd_etl.main","visibility":"public","evidence_level":"source_static"}, +{"id":"python-0fd6df4da4657bbd","kind":"python_callable","current_path":"perovskite-sim/scripts/probes/e7_y1_probe_cascade_confirm.py","route_id":"route-226c4f7fd73682e2","origin_key":"python:scripts.probes.e7_y1_probe_cascade_confirm._write_variant","qualified_name":"scripts.probes.e7_y1_probe_cascade_confirm._write_variant","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-e6fdf8561a0a59a2","kind":"python_callable","current_path":"perovskite-sim/scripts/probes/e7_y1_probe_cascade_confirm.py","route_id":"route-226c4f7fd73682e2","origin_key":"python:scripts.probes.e7_y1_probe_cascade_confirm.main","qualified_name":"scripts.probes.e7_y1_probe_cascade_confirm.main","visibility":"public","evidence_level":"source_static"}, +{"id":"python-6ae7c94bb2e086d4","kind":"python_callable","current_path":"perovskite-sim/scripts/probes/e7_y1_probe_kill_auger.py","route_id":"route-ae5a577f9d8e4a1d","origin_key":"python:scripts.probes.e7_y1_probe_kill_auger._write_variant","qualified_name":"scripts.probes.e7_y1_probe_kill_auger._write_variant","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-cb18aff93ce2373c","kind":"python_callable","current_path":"perovskite-sim/scripts/probes/e7_y1_probe_kill_auger.py","route_id":"route-ae5a577f9d8e4a1d","origin_key":"python:scripts.probes.e7_y1_probe_kill_auger.main","qualified_name":"scripts.probes.e7_y1_probe_kill_auger.main","visibility":"public","evidence_level":"source_static"}, +{"id":"python-eb50a6d28e8d778e","kind":"python_callable","current_path":"perovskite-sim/scripts/probes/e7_y1_probe_srv_tune.py","route_id":"route-67b05068ca903114","origin_key":"python:scripts.probes.e7_y1_probe_srv_tune._write_variant","qualified_name":"scripts.probes.e7_y1_probe_srv_tune._write_variant","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-c32595549210d0d3","kind":"python_callable","current_path":"perovskite-sim/scripts/probes/e7_y1_probe_srv_tune.py","route_id":"route-67b05068ca903114","origin_key":"python:scripts.probes.e7_y1_probe_srv_tune.main","qualified_name":"scripts.probes.e7_y1_probe_srv_tune.main","visibility":"public","evidence_level":"source_static"}, +{"id":"python-2a9f63bd926c2a2d","kind":"python_callable","current_path":"perovskite-sim/scripts/propagate_r1_saved_field_differences.py","route_id":"route-93a8e8cf78490301","origin_key":"python:scripts.propagate_r1_saved_field_differences.currents","qualified_name":"scripts.propagate_r1_saved_field_differences.currents","visibility":"public","evidence_level":"source_static"}, +{"id":"python-109dc46f5982baae","kind":"python_callable","current_path":"perovskite-sim/scripts/propagate_r1_saved_field_differences.py","route_id":"route-93a8e8cf78490301","origin_key":"python:scripts.propagate_r1_saved_field_differences.dec","qualified_name":"scripts.propagate_r1_saved_field_differences.dec","visibility":"public","evidence_level":"source_static"}, +{"id":"python-3a0ef0269af7567e","kind":"python_callable","current_path":"perovskite-sim/scripts/propagate_r1_saved_field_differences.py","route_id":"route-93a8e8cf78490301","origin_key":"python:scripts.propagate_r1_saved_field_differences.main","qualified_name":"scripts.propagate_r1_saved_field_differences.main","visibility":"public","evidence_level":"source_static"}, +{"id":"python-fe87f653c49b5edf","kind":"python_callable","current_path":"perovskite-sim/scripts/propagate_r1_saved_field_differences.py","route_id":"route-93a8e8cf78490301","origin_key":"python:scripts.propagate_r1_saved_field_differences.serial","qualified_name":"scripts.propagate_r1_saved_field_differences.serial","visibility":"public","evidence_level":"source_static"}, +{"id":"python-19d6b65b758b8c7f","kind":"python_callable","current_path":"perovskite-sim/scripts/propagate_r1_saved_field_differences.py","route_id":"route-93a8e8cf78490301","origin_key":"python:scripts.propagate_r1_saved_field_differences.sha","qualified_name":"scripts.propagate_r1_saved_field_differences.sha","visibility":"public","evidence_level":"source_static"}, +{"id":"python-4a46a48683f09acd","kind":"python_callable","current_path":"perovskite-sim/scripts/qss_golden_master.py","route_id":"route-6409421438dd6b7f","origin_key":"python:scripts.qss_golden_master.capture","qualified_name":"scripts.qss_golden_master.capture","visibility":"public","evidence_level":"source_static"}, +{"id":"python-c5b02ebbc4bb9c77","kind":"python_callable","current_path":"perovskite-sim/scripts/qss_golden_master.py","route_id":"route-6409421438dd6b7f","origin_key":"python:scripts.qss_golden_master.check","qualified_name":"scripts.qss_golden_master.check","visibility":"public","evidence_level":"source_static"}, +{"id":"python-535e0368724cfdff","kind":"python_callable","current_path":"perovskite-sim/scripts/qss_golden_master.py","route_id":"route-6409421438dd6b7f","origin_key":"python:scripts.qss_golden_master.main","qualified_name":"scripts.qss_golden_master.main","visibility":"public","evidence_level":"source_static"}, +{"id":"python-d98693e7d55b9b12","kind":"python_callable","current_path":"perovskite-sim/scripts/qss_golden_master.py","route_id":"route-6409421438dd6b7f","origin_key":"python:scripts.qss_golden_master.run_one","qualified_name":"scripts.qss_golden_master.run_one","visibility":"public","evidence_level":"source_static"}, +{"id":"python-44890b1b8ace2b98","kind":"python_callable","current_path":"perovskite-sim/scripts/r1_v10_extent.py","route_id":"route-ea68872eabc8ba03","origin_key":"python:scripts.r1_v10_extent._case_axes","qualified_name":"scripts.r1_v10_extent._case_axes","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-42eeeb87972b085d","kind":"python_callable","current_path":"perovskite-sim/scripts/r1_v10_extent.py","route_id":"route-ea68872eabc8ba03","origin_key":"python:scripts.r1_v10_extent._finite","qualified_name":"scripts.r1_v10_extent._finite","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-c7a7d7d42a2a37b8","kind":"python_callable","current_path":"perovskite-sim/scripts/r1_v10_extent.py","route_id":"route-ea68872eabc8ba03","origin_key":"python:scripts.r1_v10_extent._row_key","qualified_name":"scripts.r1_v10_extent._row_key","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-aa0819aa85d5592a","kind":"python_callable","current_path":"perovskite-sim/scripts/r1_v10_extent.py","route_id":"route-ea68872eabc8ba03","origin_key":"python:scripts.r1_v10_extent.expected_schedule","qualified_name":"scripts.r1_v10_extent.expected_schedule","visibility":"public","evidence_level":"source_static"}, +{"id":"python-018bf0c73cb55477","kind":"python_callable","current_path":"perovskite-sim/scripts/r1_v10_extent.py","route_id":"route-ea68872eabc8ba03","origin_key":"python:scripts.r1_v10_extent.extent","qualified_name":"scripts.r1_v10_extent.extent","visibility":"public","evidence_level":"source_static"}, +{"id":"python-c453e68307cc9289","kind":"python_callable","current_path":"perovskite-sim/scripts/r1_v10_extent.py","route_id":"route-ea68872eabc8ba03","origin_key":"python:scripts.r1_v10_extent.schedule_index_map","qualified_name":"scripts.r1_v10_extent.schedule_index_map","visibility":"public","evidence_level":"source_static"}, +{"id":"python-16ad95bcd044263a","kind":"python_class","current_path":"perovskite-sim/scripts/r1_v16_memory.py","route_id":"route-97ef29ec41e0fdb0","origin_key":"python:scripts.r1_v16_memory.MemoryObservationError","qualified_name":"scripts.r1_v16_memory.MemoryObservationError","visibility":"public","evidence_level":"source_static"}, +{"id":"python-208ac1df53499546","kind":"python_class","current_path":"perovskite-sim/scripts/r1_v16_memory.py","route_id":"route-97ef29ec41e0fdb0","origin_key":"python:scripts.r1_v16_memory.NativeMemoryObserver","qualified_name":"scripts.r1_v16_memory.NativeMemoryObserver","visibility":"public","evidence_level":"source_static"}, +{"id":"python-20a5810a684faac3","kind":"python_callable","current_path":"perovskite-sim/scripts/r1_v16_memory.py","route_id":"route-97ef29ec41e0fdb0","origin_key":"python:scripts.r1_v16_memory.NativeMemoryObserver.__call__","qualified_name":"scripts.r1_v16_memory.NativeMemoryObserver.__call__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-2a7f2d67b4671b99","kind":"python_callable","current_path":"perovskite-sim/scripts/r1_v16_memory.py","route_id":"route-97ef29ec41e0fdb0","origin_key":"python:scripts.r1_v16_memory.NativeMemoryObserver.__init__","qualified_name":"scripts.r1_v16_memory.NativeMemoryObserver.__init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-4cc64fbf95d8bef9","kind":"python_callable","current_path":"perovskite-sim/scripts/r1_v16_memory.py","route_id":"route-97ef29ec41e0fdb0","origin_key":"python:scripts.r1_v16_memory.NativeMemoryObserver.close","qualified_name":"scripts.r1_v16_memory.NativeMemoryObserver.close","visibility":"public","evidence_level":"source_static"}, +{"id":"python-6d10197bf6952b25","kind":"python_callable","current_path":"perovskite-sim/scripts/r1_v16_memory.py","route_id":"route-97ef29ec41e0fdb0","origin_key":"python:scripts.r1_v16_memory.NativeMemoryObserver.summary","qualified_name":"scripts.r1_v16_memory.NativeMemoryObserver.summary","visibility":"public","evidence_level":"source_static"}, +{"id":"python-00ac216917ff4dea","kind":"python_class","current_path":"perovskite-sim/scripts/r1_v16_memory.py","route_id":"route-97ef29ec41e0fdb0","origin_key":"python:scripts.r1_v16_memory._ProcTaskInfo","qualified_name":"scripts.r1_v16_memory._ProcTaskInfo","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-68533861fb29f800","kind":"python_callable","current_path":"perovskite-sim/scripts/r1_v16_memory.py","route_id":"route-97ef29ec41e0fdb0","origin_key":"python:scripts.r1_v16_memory._children","qualified_name":"scripts.r1_v16_memory._children","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-664f54434178a4d5","kind":"python_callable","current_path":"perovskite-sim/scripts/r1_v16_memory.py","route_id":"route-97ef29ec41e0fdb0","origin_key":"python:scripts.r1_v16_memory._current_rss_reader","qualified_name":"scripts.r1_v16_memory._current_rss_reader","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-b7d225aea4a783d7","kind":"python_callable","current_path":"perovskite-sim/scripts/r1_v16_memory.py","route_id":"route-97ef29ec41e0fdb0","origin_key":"python:scripts.r1_v16_memory._descriptor","qualified_name":"scripts.r1_v16_memory._descriptor","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-324ff3bf25888560","kind":"python_callable","current_path":"perovskite-sim/scripts/r1_v16_memory.py","route_id":"route-97ef29ec41e0fdb0","origin_key":"python:scripts.r1_v16_memory._high_water_bytes","qualified_name":"scripts.r1_v16_memory._high_water_bytes","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-6b97305328f02151","kind":"python_callable","current_path":"perovskite-sim/scripts/r1_v16_memory.py","route_id":"route-97ef29ec41e0fdb0","origin_key":"python:scripts.r1_v16_memory._sequence_indices","qualified_name":"scripts.r1_v16_memory._sequence_indices","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-b3c9842398b75ef8","kind":"python_callable","current_path":"perovskite-sim/scripts/r1_v16_memory.py","route_id":"route-97ef29ec41e0fdb0","origin_key":"python:scripts.r1_v16_memory._stored_dataclass_fields","qualified_name":"scripts.r1_v16_memory._stored_dataclass_fields","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-288eb8379e25c4af","kind":"python_callable","current_path":"perovskite-sim/scripts/r1_v16_memory.py","route_id":"route-97ef29ec41e0fdb0","origin_key":"python:scripts.r1_v16_memory._type_name","qualified_name":"scripts.r1_v16_memory._type_name","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-bf2acc39030b1be9","kind":"python_callable","current_path":"perovskite-sim/scripts/r1_v16_memory.py","route_id":"route-97ef29ec41e0fdb0","origin_key":"python:scripts.r1_v16_memory.summarize_root","qualified_name":"scripts.r1_v16_memory.summarize_root","visibility":"public","evidence_level":"source_static"}, +{"id":"python-6f3ff427f34bfe35","kind":"python_class","current_path":"perovskite-sim/scripts/r1_v19_observation.py","route_id":"route-de55bb93e1e5f309","origin_key":"python:scripts.r1_v19_observation.TailObservation","qualified_name":"scripts.r1_v19_observation.TailObservation","visibility":"public","evidence_level":"source_static"}, +{"id":"python-e12e0ab7582d506a","kind":"python_callable","current_path":"perovskite-sim/scripts/r1_v19_observation.py","route_id":"route-de55bb93e1e5f309","origin_key":"python:scripts.r1_v19_observation.TailObservation.__init__","qualified_name":"scripts.r1_v19_observation.TailObservation.__init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-576bd890d9d545d7","kind":"python_callable","current_path":"perovskite-sim/scripts/r1_v19_observation.py","route_id":"route-de55bb93e1e5f309","origin_key":"python:scripts.r1_v19_observation.TailObservation.event","qualified_name":"scripts.r1_v19_observation.TailObservation.event","visibility":"public","evidence_level":"source_static"}, +{"id":"python-779e05e5083f6cb8","kind":"python_callable","current_path":"perovskite-sim/scripts/r1_v19_observation.py","route_id":"route-de55bb93e1e5f309","origin_key":"python:scripts.r1_v19_observation.TailObservation.finish","qualified_name":"scripts.r1_v19_observation.TailObservation.finish","visibility":"public","evidence_level":"source_static"}, +{"id":"python-e437e6e9b34284a7","kind":"python_callable","current_path":"perovskite-sim/scripts/r1_v19_observation.py","route_id":"route-de55bb93e1e5f309","origin_key":"python:scripts.r1_v19_observation.TailObservation.phase","qualified_name":"scripts.r1_v19_observation.TailObservation.phase","visibility":"public","evidence_level":"source_static"}, +{"id":"python-d663cb16bb1c1899","kind":"python_callable","current_path":"perovskite-sim/scripts/r1_v23_json_writer.py","route_id":"route-a63b22ed6fed8f47","origin_key":"python:scripts.r1_v23_json_writer._close_preserving_primary","qualified_name":"scripts.r1_v23_json_writer._close_preserving_primary","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-0c79b623db468429","kind":"python_callable","current_path":"perovskite-sim/scripts/r1_v23_json_writer.py","route_id":"route-a63b22ed6fed8f47","origin_key":"python:scripts.r1_v23_json_writer._encoder","qualified_name":"scripts.r1_v23_json_writer._encoder","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-e14cb32d2d06f119","kind":"python_callable","current_path":"perovskite-sim/scripts/r1_v23_json_writer.py","route_id":"route-a63b22ed6fed8f47","origin_key":"python:scripts.r1_v23_json_writer._note","qualified_name":"scripts.r1_v23_json_writer._note","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-7187afcec64a8d72","kind":"python_callable","current_path":"perovskite-sim/scripts/r1_v23_json_writer.py","route_id":"route-a63b22ed6fed8f47","origin_key":"python:scripts.r1_v23_json_writer._phase","qualified_name":"scripts.r1_v23_json_writer._phase","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-c7604ae5402bbcbb","kind":"python_callable","current_path":"perovskite-sim/scripts/r1_v23_json_writer.py","route_id":"route-a63b22ed6fed8f47","origin_key":"python:scripts.r1_v23_json_writer._text_batches","qualified_name":"scripts.r1_v23_json_writer._text_batches","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-2fa3a21693baa7e3","kind":"python_callable","current_path":"perovskite-sim/scripts/r1_v23_json_writer.py","route_id":"route-a63b22ed6fed8f47","origin_key":"python:scripts.r1_v23_json_writer.write_result_json","qualified_name":"scripts.r1_v23_json_writer.write_result_json","visibility":"public","evidence_level":"source_static"}, +{"id":"python-c868038cc35bb9e4","kind":"python_callable","current_path":"perovskite-sim/scripts/r1_v23_storage_observation.py","route_id":"route-06fb328019336b29","origin_key":"python:scripts.r1_v23_storage_observation.persist_numeric_observed","qualified_name":"scripts.r1_v23_storage_observation.persist_numeric_observed","visibility":"public","evidence_level":"source_static"}, +{"id":"python-dee0ebebf04e0242","kind":"python_callable","current_path":"perovskite-sim/scripts/r1_v23_storage_observation.py","route_id":"route-06fb328019336b29","origin_key":"python:scripts.r1_v23_storage_observation.storage_phase","qualified_name":"scripts.r1_v23_storage_observation.storage_phase","visibility":"public","evidence_level":"source_static"}, +{"id":"python-b9e71e1a50994548","kind":"python_class","current_path":"perovskite-sim/scripts/r1_v8_timing.py","route_id":"route-fe052cc26c54d840","origin_key":"python:scripts.r1_v8_timing.CoarseInstrumentation","qualified_name":"scripts.r1_v8_timing.CoarseInstrumentation","visibility":"public","evidence_level":"source_static"}, +{"id":"python-f31a7982ae6be016","kind":"python_callable","current_path":"perovskite-sim/scripts/r1_v8_timing.py","route_id":"route-fe052cc26c54d840","origin_key":"python:scripts.r1_v8_timing.CoarseInstrumentation.visit_Assign","qualified_name":"scripts.r1_v8_timing.CoarseInstrumentation.visit_Assign","visibility":"public","evidence_level":"source_static"}, +{"id":"python-8f058a444e3fc070","kind":"python_callable","current_path":"perovskite-sim/scripts/r1_v8_timing.py","route_id":"route-fe052cc26c54d840","origin_key":"python:scripts.r1_v8_timing.CoarseInstrumentation.visit_Call","qualified_name":"scripts.r1_v8_timing.CoarseInstrumentation.visit_Call","visibility":"public","evidence_level":"source_static"}, +{"id":"python-39362823211b2d1e","kind":"python_callable","current_path":"perovskite-sim/scripts/r1_v8_timing.py","route_id":"route-fe052cc26c54d840","origin_key":"python:scripts.r1_v8_timing.CoarseInstrumentation.visit_FunctionDef","qualified_name":"scripts.r1_v8_timing.CoarseInstrumentation.visit_FunctionDef","visibility":"public","evidence_level":"source_static"}, +{"id":"python-be83c652f870daca","kind":"python_class","current_path":"perovskite-sim/scripts/r1_v8_timing.py","route_id":"route-fe052cc26c54d840","origin_key":"python:scripts.r1_v8_timing.ExclusiveTimer","qualified_name":"scripts.r1_v8_timing.ExclusiveTimer","visibility":"public","evidence_level":"source_static"}, +{"id":"python-b25691cf67f1ff20","kind":"python_callable","current_path":"perovskite-sim/scripts/r1_v8_timing.py","route_id":"route-fe052cc26c54d840","origin_key":"python:scripts.r1_v8_timing.ExclusiveTimer.__init__","qualified_name":"scripts.r1_v8_timing.ExclusiveTimer.__init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-26538799b554659c","kind":"python_callable","current_path":"perovskite-sim/scripts/r1_v8_timing.py","route_id":"route-fe052cc26c54d840","origin_key":"python:scripts.r1_v8_timing.ExclusiveTimer.call","qualified_name":"scripts.r1_v8_timing.ExclusiveTimer.call","visibility":"public","evidence_level":"source_static"}, +{"id":"python-90d20fc8357d0b41","kind":"python_callable","current_path":"perovskite-sim/scripts/r1_v8_timing.py","route_id":"route-fe052cc26c54d840","origin_key":"python:scripts.r1_v8_timing.ExclusiveTimer.decorate","qualified_name":"scripts.r1_v8_timing.ExclusiveTimer.decorate","visibility":"public","evidence_level":"source_static"}, +{"id":"python-11e9f9b94711f558","kind":"python_callable","current_path":"perovskite-sim/scripts/r1_v8_timing.py","route_id":"route-fe052cc26c54d840","origin_key":"python:scripts.r1_v8_timing.ExclusiveTimer.phase","qualified_name":"scripts.r1_v8_timing.ExclusiveTimer.phase","visibility":"public","evidence_level":"source_static"}, +{"id":"python-0549fd5bfe581f87","kind":"python_callable","current_path":"perovskite-sim/scripts/r1_v8_timing.py","route_id":"route-fe052cc26c54d840","origin_key":"python:scripts.r1_v8_timing.ExclusiveTimer.report","qualified_name":"scripts.r1_v8_timing.ExclusiveTimer.report","visibility":"public","evidence_level":"source_static"}, +{"id":"python-8dbe5a305b0f4817","kind":"python_callable","current_path":"perovskite-sim/scripts/r1_v8_timing.py","route_id":"route-fe052cc26c54d840","origin_key":"python:scripts.r1_v8_timing.instrument","qualified_name":"scripts.r1_v8_timing.instrument","visibility":"public","evidence_level":"source_static"}, +{"id":"python-dc89190d10e35575","kind":"python_callable","current_path":"perovskite-sim/scripts/r1_v8_timing.py","route_id":"route-fe052cc26c54d840","origin_key":"python:scripts.r1_v8_timing.wrap_expression","qualified_name":"scripts.r1_v8_timing.wrap_expression","visibility":"public","evidence_level":"source_static"}, +{"id":"python-af1bfe0ad46079e6","kind":"python_callable","current_path":"perovskite-sim/scripts/run_device_parameter_sweep.py","route_id":"route-e994c10181a0048e","origin_key":"python:scripts.run_device_parameter_sweep._points_for_preset","qualified_name":"scripts.run_device_parameter_sweep._points_for_preset","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-faf8c455a2c18be9","kind":"python_callable","current_path":"perovskite-sim/scripts/run_device_parameter_sweep.py","route_id":"route-e994c10181a0048e","origin_key":"python:scripts.run_device_parameter_sweep.build_parser","qualified_name":"scripts.run_device_parameter_sweep.build_parser","visibility":"public","evidence_level":"source_static"}, +{"id":"python-43612ec5f02ed1a2","kind":"python_callable","current_path":"perovskite-sim/scripts/run_device_parameter_sweep.py","route_id":"route-e994c10181a0048e","origin_key":"python:scripts.run_device_parameter_sweep.main","qualified_name":"scripts.run_device_parameter_sweep.main","visibility":"public","evidence_level":"source_static"}, +{"id":"python-e290b3186191c448","kind":"python_callable","current_path":"perovskite-sim/scripts/run_interface_cbo_scan.py","route_id":"route-98f7fa9e6acfe674","origin_key":"python:scripts.run_interface_cbo_scan._axis","qualified_name":"scripts.run_interface_cbo_scan._axis","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-a81d03b8d542ff30","kind":"python_callable","current_path":"perovskite-sim/scripts/run_interface_cbo_scan.py","route_id":"route-98f7fa9e6acfe674","origin_key":"python:scripts.run_interface_cbo_scan._build_scan_grid","qualified_name":"scripts.run_interface_cbo_scan._build_scan_grid","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-cc5452ad6ee03abd","kind":"python_callable","current_path":"perovskite-sim/scripts/run_interface_cbo_scan.py","route_id":"route-98f7fa9e6acfe674","origin_key":"python:scripts.run_interface_cbo_scan._summary","qualified_name":"scripts.run_interface_cbo_scan._summary","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-e1a72d8d6199a441","kind":"python_callable","current_path":"perovskite-sim/scripts/run_interface_cbo_scan.py","route_id":"route-98f7fa9e6acfe674","origin_key":"python:scripts.run_interface_cbo_scan.build_parser","qualified_name":"scripts.run_interface_cbo_scan.build_parser","visibility":"public","evidence_level":"source_static"}, +{"id":"python-cb930084494b2f79","kind":"python_callable","current_path":"perovskite-sim/scripts/run_interface_cbo_scan.py","route_id":"route-98f7fa9e6acfe674","origin_key":"python:scripts.run_interface_cbo_scan.main","qualified_name":"scripts.run_interface_cbo_scan.main","visibility":"public","evidence_level":"source_static"}, +{"id":"python-68f762f691d91d26","kind":"python_callable","current_path":"perovskite-sim/scripts/run_interface_cbo_sensitivity.py","route_id":"route-9db9efed751ed8d9","origin_key":"python:scripts.run_interface_cbo_sensitivity._axis","qualified_name":"scripts.run_interface_cbo_sensitivity._axis","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-d87fd63602d72993","kind":"python_callable","current_path":"perovskite-sim/scripts/run_interface_cbo_sensitivity.py","route_id":"route-9db9efed751ed8d9","origin_key":"python:scripts.run_interface_cbo_sensitivity._classify_single_grid_candidate","qualified_name":"scripts.run_interface_cbo_sensitivity._classify_single_grid_candidate","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-3beb40b5c31690a8","kind":"python_callable","current_path":"perovskite-sim/scripts/run_interface_cbo_sensitivity.py","route_id":"route-9db9efed751ed8d9","origin_key":"python:scripts.run_interface_cbo_sensitivity._external_validation_payload","qualified_name":"scripts.run_interface_cbo_sensitivity._external_validation_payload","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-4f1aaf8e1ccf3712","kind":"python_callable","current_path":"perovskite-sim/scripts/run_interface_cbo_sensitivity.py","route_id":"route-9db9efed751ed8d9","origin_key":"python:scripts.run_interface_cbo_sensitivity._requested_trace","qualified_name":"scripts.run_interface_cbo_sensitivity._requested_trace","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-111616625bcd58a0","kind":"python_callable","current_path":"perovskite-sim/scripts/run_interface_cbo_sensitivity.py","route_id":"route-9db9efed751ed8d9","origin_key":"python:scripts.run_interface_cbo_sensitivity.build_parser","qualified_name":"scripts.run_interface_cbo_sensitivity.build_parser","visibility":"public","evidence_level":"source_static"}, +{"id":"python-2f5584073adeb0db","kind":"python_callable","current_path":"perovskite-sim/scripts/run_interface_cbo_sensitivity.py","route_id":"route-9db9efed751ed8d9","origin_key":"python:scripts.run_interface_cbo_sensitivity.main","qualified_name":"scripts.run_interface_cbo_sensitivity.main","visibility":"public","evidence_level":"source_static"}, +{"id":"python-6ca1b5e3c09f701d","kind":"python_callable","current_path":"perovskite-sim/scripts/run_interface_srh_identifiability.py","route_id":"route-21df8dc419578bbc","origin_key":"python:scripts.run_interface_srh_identifiability._builder_overrides","qualified_name":"scripts.run_interface_srh_identifiability._builder_overrides","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-982c27ec326791e4","kind":"python_callable","current_path":"perovskite-sim/scripts/run_interface_srh_identifiability.py","route_id":"route-21df8dc419578bbc","origin_key":"python:scripts.run_interface_srh_identifiability._load_protocol","qualified_name":"scripts.run_interface_srh_identifiability._load_protocol","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-bc8770d4741819e7","kind":"python_callable","current_path":"perovskite-sim/scripts/run_interface_srh_identifiability.py","route_id":"route-21df8dc419578bbc","origin_key":"python:scripts.run_interface_srh_identifiability.build_parser","qualified_name":"scripts.run_interface_srh_identifiability.build_parser","visibility":"public","evidence_level":"source_static"}, +{"id":"python-e7e7dbd0d911bbd6","kind":"python_callable","current_path":"perovskite-sim/scripts/run_interface_srh_identifiability.py","route_id":"route-21df8dc419578bbc","origin_key":"python:scripts.run_interface_srh_identifiability.main","qualified_name":"scripts.run_interface_srh_identifiability.main","visibility":"public","evidence_level":"source_static"}, +{"id":"python-bd5a09729632b3ad","kind":"python_callable","current_path":"perovskite-sim/scripts/run_material_evaluation_report.py","route_id":"route-5e935a22a77d489e","origin_key":"python:scripts.run_material_evaluation_report.build_parser","qualified_name":"scripts.run_material_evaluation_report.build_parser","visibility":"public","evidence_level":"source_static"}, +{"id":"python-72d485b17b927855","kind":"python_callable","current_path":"perovskite-sim/scripts/run_material_evaluation_report.py","route_id":"route-5e935a22a77d489e","origin_key":"python:scripts.run_material_evaluation_report.main","qualified_name":"scripts.run_material_evaluation_report.main","visibility":"public","evidence_level":"source_static"}, +{"id":"python-aacbcfd2939ca8fd","kind":"python_callable","current_path":"perovskite-sim/scripts/run_material_screening.py","route_id":"route-f79ec38813753afa","origin_key":"python:scripts.run_material_screening._print_dry_run_summary","qualified_name":"scripts.run_material_screening._print_dry_run_summary","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-2efbc4cae43f9758","kind":"python_callable","current_path":"perovskite-sim/scripts/run_material_screening.py","route_id":"route-f79ec38813753afa","origin_key":"python:scripts.run_material_screening.build_parser","qualified_name":"scripts.run_material_screening.build_parser","visibility":"public","evidence_level":"source_static"}, +{"id":"python-ecd63e5049ce8f83","kind":"python_callable","current_path":"perovskite-sim/scripts/run_material_screening.py","route_id":"route-f79ec38813753afa","origin_key":"python:scripts.run_material_screening.main","qualified_name":"scripts.run_material_screening.main","visibility":"public","evidence_level":"source_static"}, +{"id":"python-111341a0e1d97fbb","kind":"python_callable","current_path":"perovskite-sim/scripts/run_numerical_refinement.py","route_id":"route-857fb23146aed13c","origin_key":"python:scripts.run_numerical_refinement._parser","qualified_name":"scripts.run_numerical_refinement._parser","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-fdd54155889f4f2a","kind":"python_callable","current_path":"perovskite-sim/scripts/run_numerical_refinement.py","route_id":"route-857fb23146aed13c","origin_key":"python:scripts.run_numerical_refinement.main","qualified_name":"scripts.run_numerical_refinement.main","visibility":"public","evidence_level":"source_static"}, +{"id":"python-96aa5a6437dcfc4e","kind":"python_callable","current_path":"perovskite-sim/scripts/run_one_dimensional_mechanism_r0.py","route_id":"route-84a688f131b85833","origin_key":"python:scripts.run_one_dimensional_mechanism_r0.json_ready","qualified_name":"scripts.run_one_dimensional_mechanism_r0.json_ready","visibility":"public","evidence_level":"source_static"}, +{"id":"python-db6025ed3303fcbb","kind":"python_callable","current_path":"perovskite-sim/scripts/run_one_dimensional_mechanism_r0.py","route_id":"route-84a688f131b85833","origin_key":"python:scripts.run_one_dimensional_mechanism_r0.main","qualified_name":"scripts.run_one_dimensional_mechanism_r0.main","visibility":"public","evidence_level":"source_static"}, +{"id":"python-c7d4f04c4e921988","kind":"python_callable","current_path":"perovskite-sim/scripts/run_one_dimensional_mechanism_r0.py","route_id":"route-84a688f131b85833","origin_key":"python:scripts.run_one_dimensional_mechanism_r0.run_baseline","qualified_name":"scripts.run_one_dimensional_mechanism_r0.run_baseline","visibility":"public","evidence_level":"source_static"}, +{"id":"python-485f5078bd9ca824","kind":"python_callable","current_path":"perovskite-sim/scripts/run_one_dimensional_mechanism_r0.py","route_id":"route-84a688f131b85833","origin_key":"python:scripts.run_one_dimensional_mechanism_r0.run_checks","qualified_name":"scripts.run_one_dimensional_mechanism_r0.run_checks","visibility":"public","evidence_level":"source_static"}, +{"id":"python-e2ac967d6a71e7d0","kind":"python_callable","current_path":"perovskite-sim/scripts/run_one_dimensional_mechanism_r0.py","route_id":"route-84a688f131b85833","origin_key":"python:scripts.run_one_dimensional_mechanism_r0.sha256","qualified_name":"scripts.run_one_dimensional_mechanism_r0.sha256","visibility":"public","evidence_level":"source_static"}, +{"id":"python-d85aad28ede347b1","kind":"python_callable","current_path":"perovskite-sim/scripts/run_one_dimensional_mechanism_r0.py","route_id":"route-84a688f131b85833","origin_key":"python:scripts.run_one_dimensional_mechanism_r0.write_json","qualified_name":"scripts.run_one_dimensional_mechanism_r0.write_json","visibility":"public","evidence_level":"source_static"}, +{"id":"python-e64704a0b63b7baf","kind":"python_callable","current_path":"perovskite-sim/scripts/run_one_dimensional_mechanism_r1.py","route_id":"route-bfc8896670411219","origin_key":"python:scripts.run_one_dimensional_mechanism_r1.geometry_records","qualified_name":"scripts.run_one_dimensional_mechanism_r1.geometry_records","visibility":"public","evidence_level":"source_static"}, +{"id":"python-b7d51f3591677b52","kind":"python_callable","current_path":"perovskite-sim/scripts/run_one_dimensional_mechanism_r1.py","route_id":"route-bfc8896670411219","origin_key":"python:scripts.run_one_dimensional_mechanism_r1.json_ready","qualified_name":"scripts.run_one_dimensional_mechanism_r1.json_ready","visibility":"public","evidence_level":"source_static"}, +{"id":"python-40c30603c520a1af","kind":"python_callable","current_path":"perovskite-sim/scripts/run_one_dimensional_mechanism_r1.py","route_id":"route-bfc8896670411219","origin_key":"python:scripts.run_one_dimensional_mechanism_r1.main","qualified_name":"scripts.run_one_dimensional_mechanism_r1.main","visibility":"public","evidence_level":"source_static"}, +{"id":"python-b6c571f1f5bc9fea","kind":"python_callable","current_path":"perovskite-sim/scripts/run_one_dimensional_mechanism_r1.py","route_id":"route-bfc8896670411219","origin_key":"python:scripts.run_one_dimensional_mechanism_r1.manifest","qualified_name":"scripts.run_one_dimensional_mechanism_r1.manifest","visibility":"public","evidence_level":"source_static"}, +{"id":"python-7c1516015d0cf1ba","kind":"python_callable","current_path":"perovskite-sim/scripts/run_one_dimensional_mechanism_r1.py","route_id":"route-bfc8896670411219","origin_key":"python:scripts.run_one_dimensional_mechanism_r1.require_geometry_evidence","qualified_name":"scripts.run_one_dimensional_mechanism_r1.require_geometry_evidence","visibility":"public","evidence_level":"source_static"}, +{"id":"python-2b3d6e40acf3c9af","kind":"python_callable","current_path":"perovskite-sim/scripts/run_one_dimensional_mechanism_r1.py","route_id":"route-bfc8896670411219","origin_key":"python:scripts.run_one_dimensional_mechanism_r1.source_record","qualified_name":"scripts.run_one_dimensional_mechanism_r1.source_record","visibility":"public","evidence_level":"source_static"}, +{"id":"python-a33961ed31dd186f","kind":"python_callable","current_path":"perovskite-sim/scripts/run_one_dimensional_mechanism_r1.py","route_id":"route-bfc8896670411219","origin_key":"python:scripts.run_one_dimensional_mechanism_r1.write_json","qualified_name":"scripts.run_one_dimensional_mechanism_r1.write_json","visibility":"public","evidence_level":"source_static"}, +{"id":"python-e35586b70bf307a4","kind":"python_class","current_path":"perovskite-sim/scripts/run_one_dimensional_mechanism_r1_controlled.py","route_id":"route-22ba77a4483724a0","origin_key":"python:scripts.run_one_dimensional_mechanism_r1_controlled.FrozenSourceFinder","qualified_name":"scripts.run_one_dimensional_mechanism_r1_controlled.FrozenSourceFinder","visibility":"public","evidence_level":"source_static"}, +{"id":"python-8ad548540ea7a8f3","kind":"python_callable","current_path":"perovskite-sim/scripts/run_one_dimensional_mechanism_r1_controlled.py","route_id":"route-22ba77a4483724a0","origin_key":"python:scripts.run_one_dimensional_mechanism_r1_controlled.FrozenSourceFinder.__init__","qualified_name":"scripts.run_one_dimensional_mechanism_r1_controlled.FrozenSourceFinder.__init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-8969b9f5b27b8a90","kind":"python_callable","current_path":"perovskite-sim/scripts/run_one_dimensional_mechanism_r1_controlled.py","route_id":"route-22ba77a4483724a0","origin_key":"python:scripts.run_one_dimensional_mechanism_r1_controlled.FrozenSourceFinder.find_spec","qualified_name":"scripts.run_one_dimensional_mechanism_r1_controlled.FrozenSourceFinder.find_spec","visibility":"public","evidence_level":"source_static"}, +{"id":"python-242b5f60c4ecabfc","kind":"python_class","current_path":"perovskite-sim/scripts/run_one_dimensional_mechanism_r1_controlled.py","route_id":"route-22ba77a4483724a0","origin_key":"python:scripts.run_one_dimensional_mechanism_r1_controlled.FrozenSourceLoader","qualified_name":"scripts.run_one_dimensional_mechanism_r1_controlled.FrozenSourceLoader","visibility":"public","evidence_level":"source_static"}, +{"id":"python-a691a92eacb8c1ba","kind":"python_callable","current_path":"perovskite-sim/scripts/run_one_dimensional_mechanism_r1_controlled.py","route_id":"route-22ba77a4483724a0","origin_key":"python:scripts.run_one_dimensional_mechanism_r1_controlled.FrozenSourceLoader.__init__","qualified_name":"scripts.run_one_dimensional_mechanism_r1_controlled.FrozenSourceLoader.__init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-01ac6962c378ca73","kind":"python_callable","current_path":"perovskite-sim/scripts/run_one_dimensional_mechanism_r1_controlled.py","route_id":"route-22ba77a4483724a0","origin_key":"python:scripts.run_one_dimensional_mechanism_r1_controlled.FrozenSourceLoader.create_module","qualified_name":"scripts.run_one_dimensional_mechanism_r1_controlled.FrozenSourceLoader.create_module","visibility":"public","evidence_level":"source_static"}, +{"id":"python-321b2bd73ba33778","kind":"python_callable","current_path":"perovskite-sim/scripts/run_one_dimensional_mechanism_r1_controlled.py","route_id":"route-22ba77a4483724a0","origin_key":"python:scripts.run_one_dimensional_mechanism_r1_controlled.FrozenSourceLoader.exec_module","qualified_name":"scripts.run_one_dimensional_mechanism_r1_controlled.FrozenSourceLoader.exec_module","visibility":"public","evidence_level":"source_static"}, +{"id":"python-887099e852ddeece","kind":"python_callable","current_path":"perovskite-sim/scripts/run_one_dimensional_mechanism_r1_controlled.py","route_id":"route-22ba77a4483724a0","origin_key":"python:scripts.run_one_dimensional_mechanism_r1_controlled.FrozenSourceLoader.get_filename","qualified_name":"scripts.run_one_dimensional_mechanism_r1_controlled.FrozenSourceLoader.get_filename","visibility":"public","evidence_level":"source_static"}, +{"id":"python-0ce7e6f8d75f826e","kind":"python_callable","current_path":"perovskite-sim/scripts/run_one_dimensional_mechanism_r1_controlled.py","route_id":"route-22ba77a4483724a0","origin_key":"python:scripts.run_one_dimensional_mechanism_r1_controlled.FrozenSourceLoader.get_source","qualified_name":"scripts.run_one_dimensional_mechanism_r1_controlled.FrozenSourceLoader.get_source","visibility":"public","evidence_level":"source_static"}, +{"id":"python-a549a0e20b91575e","kind":"python_callable","current_path":"perovskite-sim/scripts/run_one_dimensional_mechanism_r1_controlled.py","route_id":"route-22ba77a4483724a0","origin_key":"python:scripts.run_one_dimensional_mechanism_r1_controlled._bootstrap_checkout","qualified_name":"scripts.run_one_dimensional_mechanism_r1_controlled._bootstrap_checkout","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-9f16ca5282fe60ed","kind":"python_callable","current_path":"perovskite-sim/scripts/run_one_dimensional_mechanism_r1_controlled.py","route_id":"route-22ba77a4483724a0","origin_key":"python:scripts.run_one_dimensional_mechanism_r1_controlled._bootstrap_git","qualified_name":"scripts.run_one_dimensional_mechanism_r1_controlled._bootstrap_git","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-35cf54a0c28baeb9","kind":"python_callable","current_path":"perovskite-sim/scripts/run_one_dimensional_mechanism_r1_controlled.py","route_id":"route-22ba77a4483724a0","origin_key":"python:scripts.run_one_dimensional_mechanism_r1_controlled._write_startup_failure","qualified_name":"scripts.run_one_dimensional_mechanism_r1_controlled._write_startup_failure","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-238de5a2bccb8c42","kind":"python_callable","current_path":"perovskite-sim/scripts/run_one_dimensional_mechanism_r1_controlled.py","route_id":"route-22ba77a4483724a0","origin_key":"python:scripts.run_one_dimensional_mechanism_r1_controlled.main","qualified_name":"scripts.run_one_dimensional_mechanism_r1_controlled.main","visibility":"public","evidence_level":"source_static"}, +{"id":"python-b4665d4d9add3e02","kind":"python_class","current_path":"perovskite-sim/scripts/run_one_dimensional_mechanism_r1_physics_study.py","route_id":"route-5f7d3d3ecf3328f1","origin_key":"python:scripts.run_one_dimensional_mechanism_r1_physics_study.CaseBudgetExhausted","qualified_name":"scripts.run_one_dimensional_mechanism_r1_physics_study.CaseBudgetExhausted","visibility":"public","evidence_level":"source_static"}, +{"id":"python-5ee4ef8cf68bbb2c","kind":"python_class","current_path":"perovskite-sim/scripts/run_one_dimensional_mechanism_r1_physics_study.py","route_id":"route-5f7d3d3ecf3328f1","origin_key":"python:scripts.run_one_dimensional_mechanism_r1_physics_study.QualificationStudy","qualified_name":"scripts.run_one_dimensional_mechanism_r1_physics_study.QualificationStudy","visibility":"public","evidence_level":"source_static"}, +{"id":"python-e061e2430bd6d3cc","kind":"python_callable","current_path":"perovskite-sim/scripts/run_one_dimensional_mechanism_r1_physics_study.py","route_id":"route-5f7d3d3ecf3328f1","origin_key":"python:scripts.run_one_dimensional_mechanism_r1_physics_study.QualificationStudy.__init__","qualified_name":"scripts.run_one_dimensional_mechanism_r1_physics_study.QualificationStudy.__init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-a21719913f30cf9b","kind":"python_callable","current_path":"perovskite-sim/scripts/run_one_dimensional_mechanism_r1_physics_study.py","route_id":"route-5f7d3d3ecf3328f1","origin_key":"python:scripts.run_one_dimensional_mechanism_r1_physics_study.QualificationStudy.case","qualified_name":"scripts.run_one_dimensional_mechanism_r1_physics_study.QualificationStudy.case","visibility":"public","evidence_level":"source_static"}, +{"id":"python-03c356b191da89b4","kind":"python_callable","current_path":"perovskite-sim/scripts/run_one_dimensional_mechanism_r1_physics_study.py","route_id":"route-5f7d3d3ecf3328f1","origin_key":"python:scripts.run_one_dimensional_mechanism_r1_physics_study.QualificationStudy.prepared","qualified_name":"scripts.run_one_dimensional_mechanism_r1_physics_study.QualificationStudy.prepared","visibility":"public","evidence_level":"source_static"}, +{"id":"python-bd8fab027e5efa4a","kind":"python_callable","current_path":"perovskite-sim/scripts/run_one_dimensional_mechanism_r1_physics_study.py","route_id":"route-5f7d3d3ecf3328f1","origin_key":"python:scripts.run_one_dimensional_mechanism_r1_physics_study.QualificationStudy.qualified_amplitude","qualified_name":"scripts.run_one_dimensional_mechanism_r1_physics_study.QualificationStudy.qualified_amplitude","visibility":"public","evidence_level":"source_static"}, +{"id":"python-aa39935ca563096b","kind":"python_callable","current_path":"perovskite-sim/scripts/run_one_dimensional_mechanism_r1_physics_study.py","route_id":"route-5f7d3d3ecf3328f1","origin_key":"python:scripts.run_one_dimensional_mechanism_r1_physics_study.QualificationStudy.record_dependency","qualified_name":"scripts.run_one_dimensional_mechanism_r1_physics_study.QualificationStudy.record_dependency","visibility":"public","evidence_level":"source_static"}, +{"id":"python-a843a1ccc22aa640","kind":"python_callable","current_path":"perovskite-sim/scripts/run_one_dimensional_mechanism_r1_physics_study.py","route_id":"route-5f7d3d3ecf3328f1","origin_key":"python:scripts.run_one_dimensional_mechanism_r1_physics_study.QualificationStudy.result_record","qualified_name":"scripts.run_one_dimensional_mechanism_r1_physics_study.QualificationStudy.result_record","visibility":"public","evidence_level":"source_static"}, +{"id":"python-34fcb427cbc5e7dd","kind":"python_callable","current_path":"perovskite-sim/scripts/run_one_dimensional_mechanism_r1_physics_study.py","route_id":"route-5f7d3d3ecf3328f1","origin_key":"python:scripts.run_one_dimensional_mechanism_r1_physics_study.QualificationStudy.saved","qualified_name":"scripts.run_one_dimensional_mechanism_r1_physics_study.QualificationStudy.saved","visibility":"public","evidence_level":"source_static"}, +{"id":"python-2ee2924dc5298bd3","kind":"python_callable","current_path":"perovskite-sim/scripts/run_one_dimensional_mechanism_r1_physics_study.py","route_id":"route-5f7d3d3ecf3328f1","origin_key":"python:scripts.run_one_dimensional_mechanism_r1_physics_study.QualificationStudy.selected","qualified_name":"scripts.run_one_dimensional_mechanism_r1_physics_study.QualificationStudy.selected","visibility":"public","evidence_level":"source_static"}, +{"id":"python-f46dfd7a8a0d5fc3","kind":"python_callable","current_path":"perovskite-sim/scripts/run_one_dimensional_mechanism_r1_physics_study.py","route_id":"route-5f7d3d3ecf3328f1","origin_key":"python:scripts.run_one_dimensional_mechanism_r1_physics_study.QualificationStudy.solve_dc_state","qualified_name":"scripts.run_one_dimensional_mechanism_r1_physics_study.QualificationStudy.solve_dc_state","visibility":"public","evidence_level":"source_static"}, +{"id":"python-762a2b3947f79927","kind":"python_callable","current_path":"perovskite-sim/scripts/run_one_dimensional_mechanism_r1_physics_study.py","route_id":"route-5f7d3d3ecf3328f1","origin_key":"python:scripts.run_one_dimensional_mechanism_r1_physics_study.QualificationStudy.step","qualified_name":"scripts.run_one_dimensional_mechanism_r1_physics_study.QualificationStudy.step","visibility":"public","evidence_level":"source_static"}, +{"id":"python-af8cad7d82f92e9e","kind":"python_class","current_path":"perovskite-sim/scripts/run_one_dimensional_mechanism_r1_physics_study.py","route_id":"route-5f7d3d3ecf3328f1","origin_key":"python:scripts.run_one_dimensional_mechanism_r1_physics_study.Study","qualified_name":"scripts.run_one_dimensional_mechanism_r1_physics_study.Study","visibility":"public","evidence_level":"source_static"}, +{"id":"python-91d4e7462275c066","kind":"python_callable","current_path":"perovskite-sim/scripts/run_one_dimensional_mechanism_r1_physics_study.py","route_id":"route-5f7d3d3ecf3328f1","origin_key":"python:scripts.run_one_dimensional_mechanism_r1_physics_study.Study.__init__","qualified_name":"scripts.run_one_dimensional_mechanism_r1_physics_study.Study.__init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-3b59cea58399eac2","kind":"python_callable","current_path":"perovskite-sim/scripts/run_one_dimensional_mechanism_r1_physics_study.py","route_id":"route-5f7d3d3ecf3328f1","origin_key":"python:scripts.run_one_dimensional_mechanism_r1_physics_study.Study.ac_mesh_comparison","qualified_name":"scripts.run_one_dimensional_mechanism_r1_physics_study.Study.ac_mesh_comparison","visibility":"public","evidence_level":"source_static"}, +{"id":"python-349d2257aaa89736","kind":"python_callable","current_path":"perovskite-sim/scripts/run_one_dimensional_mechanism_r1_physics_study.py","route_id":"route-5f7d3d3ecf3328f1","origin_key":"python:scripts.run_one_dimensional_mechanism_r1_physics_study.Study.amplitude_cases","qualified_name":"scripts.run_one_dimensional_mechanism_r1_physics_study.Study.amplitude_cases","visibility":"public","evidence_level":"source_static"}, +{"id":"python-7e6bba836d7e6675","kind":"python_callable","current_path":"perovskite-sim/scripts/run_one_dimensional_mechanism_r1_physics_study.py","route_id":"route-5f7d3d3ecf3328f1","origin_key":"python:scripts.run_one_dimensional_mechanism_r1_physics_study.Study.amplitude_error","qualified_name":"scripts.run_one_dimensional_mechanism_r1_physics_study.Study.amplitude_error","visibility":"public","evidence_level":"source_static"}, +{"id":"python-bf6370a12b735e3a","kind":"python_callable","current_path":"perovskite-sim/scripts/run_one_dimensional_mechanism_r1_physics_study.py","route_id":"route-5f7d3d3ecf3328f1","origin_key":"python:scripts.run_one_dimensional_mechanism_r1_physics_study.Study.amplitude_key","qualified_name":"scripts.run_one_dimensional_mechanism_r1_physics_study.Study.amplitude_key","visibility":"public","evidence_level":"source_static"}, +{"id":"python-b39eaf60b4435b2e","kind":"python_callable","current_path":"perovskite-sim/scripts/run_one_dimensional_mechanism_r1_physics_study.py","route_id":"route-5f7d3d3ecf3328f1","origin_key":"python:scripts.run_one_dimensional_mechanism_r1_physics_study.Study.amplitude_record","qualified_name":"scripts.run_one_dimensional_mechanism_r1_physics_study.Study.amplitude_record","visibility":"public","evidence_level":"source_static"}, +{"id":"python-5279ed9233e993e9","kind":"python_callable","current_path":"perovskite-sim/scripts/run_one_dimensional_mechanism_r1_physics_study.py","route_id":"route-5f7d3d3ecf3328f1","origin_key":"python:scripts.run_one_dimensional_mechanism_r1_physics_study.Study.audit_failed","qualified_name":"scripts.run_one_dimensional_mechanism_r1_physics_study.Study.audit_failed","visibility":"public","evidence_level":"source_static"}, +{"id":"python-434cfaabab17f918","kind":"python_callable","current_path":"perovskite-sim/scripts/run_one_dimensional_mechanism_r1_physics_study.py","route_id":"route-5f7d3d3ecf3328f1","origin_key":"python:scripts.run_one_dimensional_mechanism_r1_physics_study.Study.audit_result","qualified_name":"scripts.run_one_dimensional_mechanism_r1_physics_study.Study.audit_result","visibility":"public","evidence_level":"source_static"}, +{"id":"python-a7be36f5f0d12816","kind":"python_callable","current_path":"perovskite-sim/scripts/run_one_dimensional_mechanism_r1_physics_study.py","route_id":"route-5f7d3d3ecf3328f1","origin_key":"python:scripts.run_one_dimensional_mechanism_r1_physics_study.Study.audit_saved","qualified_name":"scripts.run_one_dimensional_mechanism_r1_physics_study.Study.audit_saved","visibility":"public","evidence_level":"source_static"}, +{"id":"python-aad1575cbdda284c","kind":"python_callable","current_path":"perovskite-sim/scripts/run_one_dimensional_mechanism_r1_physics_study.py","route_id":"route-5f7d3d3ecf3328f1","origin_key":"python:scripts.run_one_dimensional_mechanism_r1_physics_study.Study.case","qualified_name":"scripts.run_one_dimensional_mechanism_r1_physics_study.Study.case","visibility":"public","evidence_level":"source_static"}, +{"id":"python-bcb5c75921102b35","kind":"python_callable","current_path":"perovskite-sim/scripts/run_one_dimensional_mechanism_r1_physics_study.py","route_id":"route-5f7d3d3ecf3328f1","origin_key":"python:scripts.run_one_dimensional_mechanism_r1_physics_study.Study.compare_available","qualified_name":"scripts.run_one_dimensional_mechanism_r1_physics_study.Study.compare_available","visibility":"public","evidence_level":"source_static"}, +{"id":"python-279c0fbff3a124b8","kind":"python_callable","current_path":"perovskite-sim/scripts/run_one_dimensional_mechanism_r1_physics_study.py","route_id":"route-5f7d3d3ecf3328f1","origin_key":"python:scripts.run_one_dimensional_mechanism_r1_physics_study.Study.current_response","qualified_name":"scripts.run_one_dimensional_mechanism_r1_physics_study.Study.current_response","visibility":"public","evidence_level":"source_static"}, +{"id":"python-454de5239187e2c6","kind":"python_callable","current_path":"perovskite-sim/scripts/run_one_dimensional_mechanism_r1_physics_study.py","route_id":"route-5f7d3d3ecf3328f1","origin_key":"python:scripts.run_one_dimensional_mechanism_r1_physics_study.Study.dc_record","qualified_name":"scripts.run_one_dimensional_mechanism_r1_physics_study.Study.dc_record","visibility":"public","evidence_level":"source_static"}, +{"id":"python-0e2575f8af2cfbad","kind":"python_callable","current_path":"perovskite-sim/scripts/run_one_dimensional_mechanism_r1_physics_study.py","route_id":"route-5f7d3d3ecf3328f1","origin_key":"python:scripts.run_one_dimensional_mechanism_r1_physics_study.Study.dc_state_request","qualified_name":"scripts.run_one_dimensional_mechanism_r1_physics_study.Study.dc_state_request","visibility":"public","evidence_level":"source_static"}, +{"id":"python-d289ba78496b348d","kind":"python_callable","current_path":"perovskite-sim/scripts/run_one_dimensional_mechanism_r1_physics_study.py","route_id":"route-5f7d3d3ecf3328f1","origin_key":"python:scripts.run_one_dimensional_mechanism_r1_physics_study.Study.dc_study_request","qualified_name":"scripts.run_one_dimensional_mechanism_r1_physics_study.Study.dc_study_request","visibility":"public","evidence_level":"source_static"}, +{"id":"python-e5075049640a9471","kind":"python_callable","current_path":"perovskite-sim/scripts/run_one_dimensional_mechanism_r1_physics_study.py","route_id":"route-5f7d3d3ecf3328f1","origin_key":"python:scripts.run_one_dimensional_mechanism_r1_physics_study.Study.electrical_comparison","qualified_name":"scripts.run_one_dimensional_mechanism_r1_physics_study.Study.electrical_comparison","visibility":"public","evidence_level":"source_static"}, +{"id":"python-971c38c6f8b99fdc","kind":"python_callable","current_path":"perovskite-sim/scripts/run_one_dimensional_mechanism_r1_physics_study.py","route_id":"route-5f7d3d3ecf3328f1","origin_key":"python:scripts.run_one_dimensional_mechanism_r1_physics_study.Study.failure_protocol","qualified_name":"scripts.run_one_dimensional_mechanism_r1_physics_study.Study.failure_protocol","visibility":"public","evidence_level":"source_static"}, +{"id":"python-55346708e6464ae5","kind":"python_callable","current_path":"perovskite-sim/scripts/run_one_dimensional_mechanism_r1_physics_study.py","route_id":"route-5f7d3d3ecf3328f1","origin_key":"python:scripts.run_one_dimensional_mechanism_r1_physics_study.Study.finish","qualified_name":"scripts.run_one_dimensional_mechanism_r1_physics_study.Study.finish","visibility":"public","evidence_level":"source_static"}, +{"id":"python-68475d5d148edbc2","kind":"python_callable","current_path":"perovskite-sim/scripts/run_one_dimensional_mechanism_r1_physics_study.py","route_id":"route-5f7d3d3ecf3328f1","origin_key":"python:scripts.run_one_dimensional_mechanism_r1_physics_study.Study.frequency_record","qualified_name":"scripts.run_one_dimensional_mechanism_r1_physics_study.Study.frequency_record","visibility":"public","evidence_level":"source_static"}, +{"id":"python-578ee9c844e5c0a9","kind":"python_callable","current_path":"perovskite-sim/scripts/run_one_dimensional_mechanism_r1_physics_study.py","route_id":"route-5f7d3d3ecf3328f1","origin_key":"python:scripts.run_one_dimensional_mechanism_r1_physics_study.Study.latest","qualified_name":"scripts.run_one_dimensional_mechanism_r1_physics_study.Study.latest","visibility":"public","evidence_level":"source_static"}, +{"id":"python-e4751112402a984a","kind":"python_callable","current_path":"perovskite-sim/scripts/run_one_dimensional_mechanism_r1_physics_study.py","route_id":"route-5f7d3d3ecf3328f1","origin_key":"python:scripts.run_one_dimensional_mechanism_r1_physics_study.Study.make_plan","qualified_name":"scripts.run_one_dimensional_mechanism_r1_physics_study.Study.make_plan","visibility":"public","evidence_level":"source_static"}, +{"id":"python-6ce435befdf2265b","kind":"python_callable","current_path":"perovskite-sim/scripts/run_one_dimensional_mechanism_r1_physics_study.py","route_id":"route-5f7d3d3ecf3328f1","origin_key":"python:scripts.run_one_dimensional_mechanism_r1_physics_study.Study.matrix_cases","qualified_name":"scripts.run_one_dimensional_mechanism_r1_physics_study.Study.matrix_cases","visibility":"public","evidence_level":"source_static"}, +{"id":"python-66504d9be50c4d35","kind":"python_callable","current_path":"perovskite-sim/scripts/run_one_dimensional_mechanism_r1_physics_study.py","route_id":"route-5f7d3d3ecf3328f1","origin_key":"python:scripts.run_one_dimensional_mechanism_r1_physics_study.Study.matrix_comparison","qualified_name":"scripts.run_one_dimensional_mechanism_r1_physics_study.Study.matrix_comparison","visibility":"public","evidence_level":"source_static"}, +{"id":"python-5ef7fe745cdbe1f6","kind":"python_callable","current_path":"perovskite-sim/scripts/run_one_dimensional_mechanism_r1_physics_study.py","route_id":"route-5f7d3d3ecf3328f1","origin_key":"python:scripts.run_one_dimensional_mechanism_r1_physics_study.Study.matrix_comparisons","qualified_name":"scripts.run_one_dimensional_mechanism_r1_physics_study.Study.matrix_comparisons","visibility":"public","evidence_level":"source_static"}, +{"id":"python-e343be37c3965cd5","kind":"python_callable","current_path":"perovskite-sim/scripts/run_one_dimensional_mechanism_r1_physics_study.py","route_id":"route-5f7d3d3ecf3328f1","origin_key":"python:scripts.run_one_dimensional_mechanism_r1_physics_study.Study.matrix_key","qualified_name":"scripts.run_one_dimensional_mechanism_r1_physics_study.Study.matrix_key","visibility":"public","evidence_level":"source_static"}, +{"id":"python-2a8fa1aec92c8d81","kind":"python_callable","current_path":"perovskite-sim/scripts/run_one_dimensional_mechanism_r1_physics_study.py","route_id":"route-5f7d3d3ecf3328f1","origin_key":"python:scripts.run_one_dimensional_mechanism_r1_physics_study.Study.numerics","qualified_name":"scripts.run_one_dimensional_mechanism_r1_physics_study.Study.numerics","visibility":"public","evidence_level":"source_static"}, +{"id":"python-2be4f2c1479b5be2","kind":"python_callable","current_path":"perovskite-sim/scripts/run_one_dimensional_mechanism_r1_physics_study.py","route_id":"route-5f7d3d3ecf3328f1","origin_key":"python:scripts.run_one_dimensional_mechanism_r1_physics_study.Study.prepared","qualified_name":"scripts.run_one_dimensional_mechanism_r1_physics_study.Study.prepared","visibility":"public","evidence_level":"source_static"}, +{"id":"python-e3a94d61c347b7f3","kind":"python_callable","current_path":"perovskite-sim/scripts/run_one_dimensional_mechanism_r1_physics_study.py","route_id":"route-5f7d3d3ecf3328f1","origin_key":"python:scripts.run_one_dimensional_mechanism_r1_physics_study.Study.qualified_amplitude","qualified_name":"scripts.run_one_dimensional_mechanism_r1_physics_study.Study.qualified_amplitude","visibility":"public","evidence_level":"source_static"}, +{"id":"python-a088454be6352954","kind":"python_callable","current_path":"perovskite-sim/scripts/run_one_dimensional_mechanism_r1_physics_study.py","route_id":"route-5f7d3d3ecf3328f1","origin_key":"python:scripts.run_one_dimensional_mechanism_r1_physics_study.Study.reconstruction_comparison","qualified_name":"scripts.run_one_dimensional_mechanism_r1_physics_study.Study.reconstruction_comparison","visibility":"public","evidence_level":"source_static"}, +{"id":"python-3d612c90a813a397","kind":"python_callable","current_path":"perovskite-sim/scripts/run_one_dimensional_mechanism_r1_physics_study.py","route_id":"route-5f7d3d3ecf3328f1","origin_key":"python:scripts.run_one_dimensional_mechanism_r1_physics_study.Study.reconstruction_record","qualified_name":"scripts.run_one_dimensional_mechanism_r1_physics_study.Study.reconstruction_record","visibility":"public","evidence_level":"source_static"}, +{"id":"python-d0f9d9833cf4ab4c","kind":"python_callable","current_path":"perovskite-sim/scripts/run_one_dimensional_mechanism_r1_physics_study.py","route_id":"route-5f7d3d3ecf3328f1","origin_key":"python:scripts.run_one_dimensional_mechanism_r1_physics_study.Study.record_dependency","qualified_name":"scripts.run_one_dimensional_mechanism_r1_physics_study.Study.record_dependency","visibility":"public","evidence_level":"source_static"}, +{"id":"python-2dc385d4cb135cf4","kind":"python_callable","current_path":"perovskite-sim/scripts/run_one_dimensional_mechanism_r1_physics_study.py","route_id":"route-5f7d3d3ecf3328f1","origin_key":"python:scripts.run_one_dimensional_mechanism_r1_physics_study.Study.response_scope","qualified_name":"scripts.run_one_dimensional_mechanism_r1_physics_study.Study.response_scope","visibility":"public","evidence_level":"source_static"}, +{"id":"python-40dadcec259bca19","kind":"python_callable","current_path":"perovskite-sim/scripts/run_one_dimensional_mechanism_r1_physics_study.py","route_id":"route-5f7d3d3ecf3328f1","origin_key":"python:scripts.run_one_dimensional_mechanism_r1_physics_study.Study.run","qualified_name":"scripts.run_one_dimensional_mechanism_r1_physics_study.Study.run","visibility":"public","evidence_level":"source_static"}, +{"id":"python-086ba6914497cfc5","kind":"python_callable","current_path":"perovskite-sim/scripts/run_one_dimensional_mechanism_r1_physics_study.py","route_id":"route-5f7d3d3ecf3328f1","origin_key":"python:scripts.run_one_dimensional_mechanism_r1_physics_study.Study.saved","qualified_name":"scripts.run_one_dimensional_mechanism_r1_physics_study.Study.saved","visibility":"public","evidence_level":"source_static"}, +{"id":"python-518d42315689b1c8","kind":"python_callable","current_path":"perovskite-sim/scripts/run_one_dimensional_mechanism_r1_physics_study.py","route_id":"route-5f7d3d3ecf3328f1","origin_key":"python:scripts.run_one_dimensional_mechanism_r1_physics_study.Study.selected","qualified_name":"scripts.run_one_dimensional_mechanism_r1_physics_study.Study.selected","visibility":"public","evidence_level":"source_static"}, +{"id":"python-e2a6240e1358ab68","kind":"python_callable","current_path":"perovskite-sim/scripts/run_one_dimensional_mechanism_r1_physics_study.py","route_id":"route-5f7d3d3ecf3328f1","origin_key":"python:scripts.run_one_dimensional_mechanism_r1_physics_study.Study.short_comparison","qualified_name":"scripts.run_one_dimensional_mechanism_r1_physics_study.Study.short_comparison","visibility":"public","evidence_level":"source_static"}, +{"id":"python-68ded52b38cbbc97","kind":"python_callable","current_path":"perovskite-sim/scripts/run_one_dimensional_mechanism_r1_physics_study.py","route_id":"route-5f7d3d3ecf3328f1","origin_key":"python:scripts.run_one_dimensional_mechanism_r1_physics_study.Study.solve_dc_state","qualified_name":"scripts.run_one_dimensional_mechanism_r1_physics_study.Study.solve_dc_state","visibility":"public","evidence_level":"source_static"}, +{"id":"python-1554fb69e16196af","kind":"python_callable","current_path":"perovskite-sim/scripts/run_one_dimensional_mechanism_r1_physics_study.py","route_id":"route-5f7d3d3ecf3328f1","origin_key":"python:scripts.run_one_dimensional_mechanism_r1_physics_study.Study.source_unchanged","qualified_name":"scripts.run_one_dimensional_mechanism_r1_physics_study.Study.source_unchanged","visibility":"public","evidence_level":"source_static"}, +{"id":"python-d80541b0ca69fa9c","kind":"python_callable","current_path":"perovskite-sim/scripts/run_one_dimensional_mechanism_r1_physics_study.py","route_id":"route-5f7d3d3ecf3328f1","origin_key":"python:scripts.run_one_dimensional_mechanism_r1_physics_study.Study.step","qualified_name":"scripts.run_one_dimensional_mechanism_r1_physics_study.Study.step","visibility":"public","evidence_level":"source_static"}, +{"id":"python-140c3b3b81c6496d","kind":"python_callable","current_path":"perovskite-sim/scripts/run_one_dimensional_mechanism_r1_physics_study.py","route_id":"route-5f7d3d3ecf3328f1","origin_key":"python:scripts.run_one_dimensional_mechanism_r1_physics_study.Study.tail_record","qualified_name":"scripts.run_one_dimensional_mechanism_r1_physics_study.Study.tail_record","visibility":"public","evidence_level":"source_static"}, +{"id":"python-e9aec90497d25782","kind":"python_callable","current_path":"perovskite-sim/scripts/run_one_dimensional_mechanism_r1_physics_study.py","route_id":"route-5f7d3d3ecf3328f1","origin_key":"python:scripts.run_one_dimensional_mechanism_r1_physics_study.Study.target_dc","qualified_name":"scripts.run_one_dimensional_mechanism_r1_physics_study.Study.target_dc","visibility":"public","evidence_level":"source_static"}, +{"id":"python-b40ff43f5b9cc9d8","kind":"python_callable","current_path":"perovskite-sim/scripts/run_one_dimensional_mechanism_r1_physics_study.py","route_id":"route-5f7d3d3ecf3328f1","origin_key":"python:scripts.run_one_dimensional_mechanism_r1_physics_study.Study.target_dc_key","qualified_name":"scripts.run_one_dimensional_mechanism_r1_physics_study.Study.target_dc_key","visibility":"public","evidence_level":"source_static"}, +{"id":"python-0b7d8ab85602ba50","kind":"python_callable","current_path":"perovskite-sim/scripts/run_one_dimensional_mechanism_r1_physics_study.py","route_id":"route-5f7d3d3ecf3328f1","origin_key":"python:scripts.run_one_dimensional_mechanism_r1_physics_study.Study.verify_recorded_invocations","qualified_name":"scripts.run_one_dimensional_mechanism_r1_physics_study.Study.verify_recorded_invocations","visibility":"public","evidence_level":"source_static"}, +{"id":"python-26b112b1e72e1c1d","kind":"python_callable","current_path":"perovskite-sim/scripts/run_one_dimensional_mechanism_r1_physics_study.py","route_id":"route-5f7d3d3ecf3328f1","origin_key":"python:scripts.run_one_dimensional_mechanism_r1_physics_study.Study.zero_dc","qualified_name":"scripts.run_one_dimensional_mechanism_r1_physics_study.Study.zero_dc","visibility":"public","evidence_level":"source_static"}, +{"id":"python-207dc6576ac26bc3","kind":"python_callable","current_path":"perovskite-sim/scripts/run_one_dimensional_mechanism_r1_physics_study.py","route_id":"route-5f7d3d3ecf3328f1","origin_key":"python:scripts.run_one_dimensional_mechanism_r1_physics_study.checked_read","qualified_name":"scripts.run_one_dimensional_mechanism_r1_physics_study.checked_read","visibility":"public","evidence_level":"source_static"}, +{"id":"python-39a3db1ea2255662","kind":"python_callable","current_path":"perovskite-sim/scripts/run_one_dimensional_mechanism_r1_physics_study.py","route_id":"route-5f7d3d3ecf3328f1","origin_key":"python:scripts.run_one_dimensional_mechanism_r1_physics_study.compare_step_current_charge","qualified_name":"scripts.run_one_dimensional_mechanism_r1_physics_study.compare_step_current_charge","visibility":"public","evidence_level":"source_static"}, +{"id":"python-88dc2e4ebbf628f8","kind":"python_callable","current_path":"perovskite-sim/scripts/run_one_dimensional_mechanism_r1_physics_study.py","route_id":"route-5f7d3d3ecf3328f1","origin_key":"python:scripts.run_one_dimensional_mechanism_r1_physics_study.expanded_sections","qualified_name":"scripts.run_one_dimensional_mechanism_r1_physics_study.expanded_sections","visibility":"public","evidence_level":"source_static"}, +{"id":"python-a4526d5d036a35d7","kind":"python_callable","current_path":"perovskite-sim/scripts/run_one_dimensional_mechanism_r1_physics_study.py","route_id":"route-5f7d3d3ecf3328f1","origin_key":"python:scripts.run_one_dimensional_mechanism_r1_physics_study.main","qualified_name":"scripts.run_one_dimensional_mechanism_r1_physics_study.main","visibility":"public","evidence_level":"source_static"}, +{"id":"python-f68b96de1990b2ca","kind":"python_callable","current_path":"perovskite-sim/scripts/run_one_dimensional_mechanism_r1_physics_study.py","route_id":"route-5f7d3d3ecf3328f1","origin_key":"python:scripts.run_one_dimensional_mechanism_r1_physics_study.pair_ready","qualified_name":"scripts.run_one_dimensional_mechanism_r1_physics_study.pair_ready","visibility":"public","evidence_level":"source_static"}, +{"id":"python-fc4c523b561f5694","kind":"python_callable","current_path":"perovskite-sim/scripts/run_one_dimensional_mechanism_r1_physics_study.py","route_id":"route-5f7d3d3ecf3328f1","origin_key":"python:scripts.run_one_dimensional_mechanism_r1_physics_study.raw_json","qualified_name":"scripts.run_one_dimensional_mechanism_r1_physics_study.raw_json","visibility":"public","evidence_level":"source_static"}, +{"id":"python-ff08d024818bd25b","kind":"python_callable","current_path":"perovskite-sim/scripts/run_one_dimensional_mechanism_r1_physics_study.py","route_id":"route-5f7d3d3ecf3328f1","origin_key":"python:scripts.run_one_dimensional_mechanism_r1_physics_study.ready","qualified_name":"scripts.run_one_dimensional_mechanism_r1_physics_study.ready","visibility":"public","evidence_level":"source_static"}, +{"id":"python-5eb79170ec895633","kind":"python_callable","current_path":"perovskite-sim/scripts/run_one_dimensional_mechanism_r1_physics_study.py","route_id":"route-5f7d3d3ecf3328f1","origin_key":"python:scripts.run_one_dimensional_mechanism_r1_physics_study.run_post_execution_analysis","qualified_name":"scripts.run_one_dimensional_mechanism_r1_physics_study.run_post_execution_analysis","visibility":"public","evidence_level":"source_static"}, +{"id":"python-b4e5ecb624f30a7f","kind":"python_callable","current_path":"perovskite-sim/scripts/run_one_dimensional_mechanism_r1_physics_study.py","route_id":"route-5f7d3d3ecf3328f1","origin_key":"python:scripts.run_one_dimensional_mechanism_r1_physics_study.scientific_checks","qualified_name":"scripts.run_one_dimensional_mechanism_r1_physics_study.scientific_checks","visibility":"public","evidence_level":"source_static"}, +{"id":"python-55b2b5d427585ab6","kind":"python_callable","current_path":"perovskite-sim/scripts/run_one_dimensional_mechanism_r1_physics_study.py","route_id":"route-5f7d3d3ecf3328f1","origin_key":"python:scripts.run_one_dimensional_mechanism_r1_physics_study.seal","qualified_name":"scripts.run_one_dimensional_mechanism_r1_physics_study.seal","visibility":"public","evidence_level":"source_static"}, +{"id":"python-31bc48c335fcb7d4","kind":"python_callable","current_path":"perovskite-sim/scripts/run_one_dimensional_mechanism_r1_physics_study.py","route_id":"route-5f7d3d3ecf3328f1","origin_key":"python:scripts.run_one_dimensional_mechanism_r1_physics_study.sha","qualified_name":"scripts.run_one_dimensional_mechanism_r1_physics_study.sha","visibility":"public","evidence_level":"source_static"}, +{"id":"python-e6788b9a99516999","kind":"python_callable","current_path":"perovskite-sim/scripts/run_one_dimensional_mechanism_r1_physics_study.py","route_id":"route-5f7d3d3ecf3328f1","origin_key":"python:scripts.run_one_dimensional_mechanism_r1_physics_study.verify_study_source","qualified_name":"scripts.run_one_dimensional_mechanism_r1_physics_study.verify_study_source","visibility":"public","evidence_level":"source_static"}, +{"id":"python-501f8360e671f4a6","kind":"python_callable","current_path":"perovskite-sim/scripts/run_one_dimensional_mechanism_r1_physics_study.py","route_id":"route-5f7d3d3ecf3328f1","origin_key":"python:scripts.run_one_dimensional_mechanism_r1_physics_study.write_json","qualified_name":"scripts.run_one_dimensional_mechanism_r1_physics_study.write_json","visibility":"public","evidence_level":"source_static"}, +{"id":"python-a16ef71be126c89b","kind":"python_callable","current_path":"perovskite-sim/scripts/run_one_dimensional_mechanism_r1_stage_one.py","route_id":"route-dda09d034ca380b4","origin_key":"python:scripts.run_one_dimensional_mechanism_r1_stage_one._historical_case_observation","qualified_name":"scripts.run_one_dimensional_mechanism_r1_stage_one._historical_case_observation","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-633e0dcb0302e266","kind":"python_callable","current_path":"perovskite-sim/scripts/run_one_dimensional_mechanism_r1_stage_one.py","route_id":"route-dda09d034ca380b4","origin_key":"python:scripts.run_one_dimensional_mechanism_r1_stage_one._import_preparation","qualified_name":"scripts.run_one_dimensional_mechanism_r1_stage_one._import_preparation","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-dd626e3fa31f949f","kind":"python_callable","current_path":"perovskite-sim/scripts/run_one_dimensional_mechanism_r1_stage_one.py","route_id":"route-dda09d034ca380b4","origin_key":"python:scripts.run_one_dimensional_mechanism_r1_stage_one._merge_additional_failures","qualified_name":"scripts.run_one_dimensional_mechanism_r1_stage_one._merge_additional_failures","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-c9dd20b42dbc0f77","kind":"python_callable","current_path":"perovskite-sim/scripts/run_one_dimensional_mechanism_r1_stage_one.py","route_id":"route-dda09d034ca380b4","origin_key":"python:scripts.run_one_dimensional_mechanism_r1_stage_one._record_execution_source","qualified_name":"scripts.run_one_dimensional_mechanism_r1_stage_one._record_execution_source","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-3747aedc3507cc25","kind":"python_callable","current_path":"perovskite-sim/scripts/run_one_dimensional_mechanism_r1_stage_one.py","route_id":"route-dda09d034ca380b4","origin_key":"python:scripts.run_one_dimensional_mechanism_r1_stage_one._record_failure_result","qualified_name":"scripts.run_one_dimensional_mechanism_r1_stage_one._record_failure_result","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-b40d1ac7bcace896","kind":"python_callable","current_path":"perovskite-sim/scripts/run_one_dimensional_mechanism_r1_stage_one.py","route_id":"route-dda09d034ca380b4","origin_key":"python:scripts.run_one_dimensional_mechanism_r1_stage_one._write_evidence","qualified_name":"scripts.run_one_dimensional_mechanism_r1_stage_one._write_evidence","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-ef59bf6bd667d5df","kind":"python_callable","current_path":"perovskite-sim/scripts/run_one_dimensional_mechanism_r1_stage_one.py","route_id":"route-dda09d034ca380b4","origin_key":"python:scripts.run_one_dimensional_mechanism_r1_stage_one.main","qualified_name":"scripts.run_one_dimensional_mechanism_r1_stage_one.main","visibility":"public","evidence_level":"source_static"}, +{"id":"python-a4c9220ca079c766","kind":"python_callable","current_path":"perovskite-sim/scripts/run_one_dimensional_mechanism_r1_stage_one.py","route_id":"route-dda09d034ca380b4","origin_key":"python:scripts.run_one_dimensional_mechanism_r1_stage_one.manifest","qualified_name":"scripts.run_one_dimensional_mechanism_r1_stage_one.manifest","visibility":"public","evidence_level":"source_static"}, +{"id":"python-fc9e23c8f1f78fc8","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v10_cases.py","route_id":"route-9d294781b1c47384","origin_key":"python:scripts.run_r1_v10_cases.external_json","qualified_name":"scripts.run_r1_v10_cases.external_json","visibility":"public","evidence_level":"source_static"}, +{"id":"python-66b007a5924ee10e","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v10_cases.py","route_id":"route-9d294781b1c47384","origin_key":"python:scripts.run_r1_v10_cases.finalize_manifest","qualified_name":"scripts.run_r1_v10_cases.finalize_manifest","visibility":"public","evidence_level":"source_static"}, +{"id":"python-50daaed08a9accdf","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v10_cases.py","route_id":"route-9d294781b1c47384","origin_key":"python:scripts.run_r1_v10_cases.load_request","qualified_name":"scripts.run_r1_v10_cases.load_request","visibility":"public","evidence_level":"source_static"}, +{"id":"python-44bd17b88a6cb147","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v10_cases.py","route_id":"route-9d294781b1c47384","origin_key":"python:scripts.run_r1_v10_cases.main","qualified_name":"scripts.run_r1_v10_cases.main","visibility":"public","evidence_level":"source_static"}, +{"id":"python-da5ec6d03f15bb9f","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v10_cases.py","route_id":"route-9d294781b1c47384","origin_key":"python:scripts.run_r1_v10_cases.relative_cost","qualified_name":"scripts.run_r1_v10_cases.relative_cost","visibility":"public","evidence_level":"source_static"}, +{"id":"python-f2891e051ac74dac","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v10_cases.py","route_id":"route-9d294781b1c47384","origin_key":"python:scripts.run_r1_v10_cases.run","qualified_name":"scripts.run_r1_v10_cases.run","visibility":"public","evidence_level":"source_static"}, +{"id":"python-b71ffc5871368be1","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v10_cases.py","route_id":"route-9d294781b1c47384","origin_key":"python:scripts.run_r1_v10_cases.validate_result_request","qualified_name":"scripts.run_r1_v10_cases.validate_result_request","visibility":"public","evidence_level":"source_static"}, +{"id":"python-be5d14c856086bff","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v11_cases.py","route_id":"route-84b836f3b8e313c4","origin_key":"python:scripts.run_r1_v11_cases.absolute_cost","qualified_name":"scripts.run_r1_v11_cases.absolute_cost","visibility":"public","evidence_level":"source_static"}, +{"id":"python-f671a10e39bced5f","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v11_cases.py","route_id":"route-84b836f3b8e313c4","origin_key":"python:scripts.run_r1_v11_cases.case_name","qualified_name":"scripts.run_r1_v11_cases.case_name","visibility":"public","evidence_level":"source_static"}, +{"id":"python-4e6e83a02ef974ba","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v11_cases.py","route_id":"route-84b836f3b8e313c4","origin_key":"python:scripts.run_r1_v11_cases.external_json","qualified_name":"scripts.run_r1_v11_cases.external_json","visibility":"public","evidence_level":"source_static"}, +{"id":"python-caea6fd3126aa327","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v11_cases.py","route_id":"route-84b836f3b8e313c4","origin_key":"python:scripts.run_r1_v11_cases.finalize_manifest","qualified_name":"scripts.run_r1_v11_cases.finalize_manifest","visibility":"public","evidence_level":"source_static"}, +{"id":"python-92acd845b5f079a2","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v11_cases.py","route_id":"route-84b836f3b8e313c4","origin_key":"python:scripts.run_r1_v11_cases.load_request","qualified_name":"scripts.run_r1_v11_cases.load_request","visibility":"public","evidence_level":"source_static"}, +{"id":"python-9813d622f1a4a716","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v11_cases.py","route_id":"route-84b836f3b8e313c4","origin_key":"python:scripts.run_r1_v11_cases.main","qualified_name":"scripts.run_r1_v11_cases.main","visibility":"public","evidence_level":"source_static"}, +{"id":"python-5e039857723d6dad","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v11_cases.py","route_id":"route-84b836f3b8e313c4","origin_key":"python:scripts.run_r1_v11_cases.make_request","qualified_name":"scripts.run_r1_v11_cases.make_request","visibility":"public","evidence_level":"source_static"}, +{"id":"python-977709e061802218","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v11_cases.py","route_id":"route-84b836f3b8e313c4","origin_key":"python:scripts.run_r1_v11_cases.relative_cost","qualified_name":"scripts.run_r1_v11_cases.relative_cost","visibility":"public","evidence_level":"source_static"}, +{"id":"python-b711f1f10431ccf7","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v11_cases.py","route_id":"route-84b836f3b8e313c4","origin_key":"python:scripts.run_r1_v11_cases.run","qualified_name":"scripts.run_r1_v11_cases.run","visibility":"public","evidence_level":"source_static"}, +{"id":"python-7911ed060b8bc4f4","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v11_cases.py","route_id":"route-84b836f3b8e313c4","origin_key":"python:scripts.run_r1_v11_cases.validate_absolute_limits","qualified_name":"scripts.run_r1_v11_cases.validate_absolute_limits","visibility":"public","evidence_level":"source_static"}, +{"id":"python-5ba567bf9e051562","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v11_cases.py","route_id":"route-84b836f3b8e313c4","origin_key":"python:scripts.run_r1_v11_cases.validate_required_preparation","qualified_name":"scripts.run_r1_v11_cases.validate_required_preparation","visibility":"public","evidence_level":"source_static"}, +{"id":"python-833795d8c26764f7","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v11_cases.py","route_id":"route-84b836f3b8e313c4","origin_key":"python:scripts.run_r1_v11_cases.validate_result_request","qualified_name":"scripts.run_r1_v11_cases.validate_result_request","visibility":"public","evidence_level":"source_static"}, +{"id":"python-fef7fa3976df10be","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v12_cases.py","route_id":"route-aaa0c5171f15bb37","origin_key":"python:scripts.run_r1_v12_cases.absolute_cost","qualified_name":"scripts.run_r1_v12_cases.absolute_cost","visibility":"public","evidence_level":"source_static"}, +{"id":"python-00879a8d2f1fe104","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v12_cases.py","route_id":"route-aaa0c5171f15bb37","origin_key":"python:scripts.run_r1_v12_cases.case_name","qualified_name":"scripts.run_r1_v12_cases.case_name","visibility":"public","evidence_level":"source_static"}, +{"id":"python-167a77ef3f8146c7","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v12_cases.py","route_id":"route-aaa0c5171f15bb37","origin_key":"python:scripts.run_r1_v12_cases.external_json","qualified_name":"scripts.run_r1_v12_cases.external_json","visibility":"public","evidence_level":"source_static"}, +{"id":"python-ff7134143ed25883","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v12_cases.py","route_id":"route-aaa0c5171f15bb37","origin_key":"python:scripts.run_r1_v12_cases.finalize_manifest","qualified_name":"scripts.run_r1_v12_cases.finalize_manifest","visibility":"public","evidence_level":"source_static"}, +{"id":"python-7549b1ba82286e92","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v12_cases.py","route_id":"route-aaa0c5171f15bb37","origin_key":"python:scripts.run_r1_v12_cases.load_request","qualified_name":"scripts.run_r1_v12_cases.load_request","visibility":"public","evidence_level":"source_static"}, +{"id":"python-2673e94c1534031b","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v12_cases.py","route_id":"route-aaa0c5171f15bb37","origin_key":"python:scripts.run_r1_v12_cases.main","qualified_name":"scripts.run_r1_v12_cases.main","visibility":"public","evidence_level":"source_static"}, +{"id":"python-0eecd980b880afb2","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v12_cases.py","route_id":"route-aaa0c5171f15bb37","origin_key":"python:scripts.run_r1_v12_cases.make_request","qualified_name":"scripts.run_r1_v12_cases.make_request","visibility":"public","evidence_level":"source_static"}, +{"id":"python-ec3eb832490146c1","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v12_cases.py","route_id":"route-aaa0c5171f15bb37","origin_key":"python:scripts.run_r1_v12_cases.memory_observation_passed","qualified_name":"scripts.run_r1_v12_cases.memory_observation_passed","visibility":"public","evidence_level":"source_static"}, +{"id":"python-1789c44372561f64","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v12_cases.py","route_id":"route-aaa0c5171f15bb37","origin_key":"python:scripts.run_r1_v12_cases.memory_profile_mode","qualified_name":"scripts.run_r1_v12_cases.memory_profile_mode","visibility":"public","evidence_level":"source_static"}, +{"id":"python-c6e282333987422d","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v12_cases.py","route_id":"route-aaa0c5171f15bb37","origin_key":"python:scripts.run_r1_v12_cases.relative_cost","qualified_name":"scripts.run_r1_v12_cases.relative_cost","visibility":"public","evidence_level":"source_static"}, +{"id":"python-53f215dced56d796","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v12_cases.py","route_id":"route-aaa0c5171f15bb37","origin_key":"python:scripts.run_r1_v12_cases.run","qualified_name":"scripts.run_r1_v12_cases.run","visibility":"public","evidence_level":"source_static"}, +{"id":"python-609cc7c4383868d2","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v12_cases.py","route_id":"route-aaa0c5171f15bb37","origin_key":"python:scripts.run_r1_v12_cases.update_qualification","qualified_name":"scripts.run_r1_v12_cases.update_qualification","visibility":"public","evidence_level":"source_static"}, +{"id":"python-4d665e655527d62f","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v12_cases.py","route_id":"route-aaa0c5171f15bb37","origin_key":"python:scripts.run_r1_v12_cases.validate_absolute_limits","qualified_name":"scripts.run_r1_v12_cases.validate_absolute_limits","visibility":"public","evidence_level":"source_static"}, +{"id":"python-f745a6ca36dc946a","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v12_cases.py","route_id":"route-aaa0c5171f15bb37","origin_key":"python:scripts.run_r1_v12_cases.validate_required_preparation","qualified_name":"scripts.run_r1_v12_cases.validate_required_preparation","visibility":"public","evidence_level":"source_static"}, +{"id":"python-e34a322a3275a0bd","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v12_cases.py","route_id":"route-aaa0c5171f15bb37","origin_key":"python:scripts.run_r1_v12_cases.validate_result_request","qualified_name":"scripts.run_r1_v12_cases.validate_result_request","visibility":"public","evidence_level":"source_static"}, +{"id":"python-36547c50a0f51162","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v4_representatives.py","route_id":"route-cfb8ebbb6139042f","origin_key":"python:scripts.run_r1_v4_representatives.main","qualified_name":"scripts.run_r1_v4_representatives.main","visibility":"public","evidence_level":"source_static"}, +{"id":"python-fe2dc5824f7c9d2b","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v4_representatives.py","route_id":"route-cfb8ebbb6139042f","origin_key":"python:scripts.run_r1_v4_representatives.write","qualified_name":"scripts.run_r1_v4_representatives.write","visibility":"public","evidence_level":"source_static"}, +{"id":"python-76d55931d41931ee","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v5_cases.py","route_id":"route-f53773639fed1b44","origin_key":"python:scripts.run_r1_v5_cases.case_name","qualified_name":"scripts.run_r1_v5_cases.case_name","visibility":"public","evidence_level":"source_static"}, +{"id":"python-c1075a51d35eec64","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v5_cases.py","route_id":"route-f53773639fed1b44","origin_key":"python:scripts.run_r1_v5_cases.digest","qualified_name":"scripts.run_r1_v5_cases.digest","visibility":"public","evidence_level":"source_static"}, +{"id":"python-6ccafb4dddf9a67d","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v5_cases.py","route_id":"route-f53773639fed1b44","origin_key":"python:scripts.run_r1_v5_cases.exception_record","qualified_name":"scripts.run_r1_v5_cases.exception_record","visibility":"public","evidence_level":"source_static"}, +{"id":"python-227b9b94a2f5d247","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v5_cases.py","route_id":"route-f53773639fed1b44","origin_key":"python:scripts.run_r1_v5_cases.git","qualified_name":"scripts.run_r1_v5_cases.git","visibility":"public","evidence_level":"source_static"}, +{"id":"python-2e3d4ea119e7a2d5","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v5_cases.py","route_id":"route-f53773639fed1b44","origin_key":"python:scripts.run_r1_v5_cases.load_request","qualified_name":"scripts.run_r1_v5_cases.load_request","visibility":"public","evidence_level":"source_static"}, +{"id":"python-e06a447464803039","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v5_cases.py","route_id":"route-f53773639fed1b44","origin_key":"python:scripts.run_r1_v5_cases.main","qualified_name":"scripts.run_r1_v5_cases.main","visibility":"public","evidence_level":"source_static"}, +{"id":"python-0311ece3e3080aa0","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v5_cases.py","route_id":"route-f53773639fed1b44","origin_key":"python:scripts.run_r1_v5_cases.run","qualified_name":"scripts.run_r1_v5_cases.run","visibility":"public","evidence_level":"source_static"}, +{"id":"python-6c1211cb5f368c1e","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v5_cases.py","route_id":"route-f53773639fed1b44","origin_key":"python:scripts.run_r1_v5_cases.seal","qualified_name":"scripts.run_r1_v5_cases.seal","visibility":"public","evidence_level":"source_static"}, +{"id":"python-0db89c1a07d3840a","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v5_cases.py","route_id":"route-f53773639fed1b44","origin_key":"python:scripts.run_r1_v5_cases.source_files","qualified_name":"scripts.run_r1_v5_cases.source_files","visibility":"public","evidence_level":"source_static"}, +{"id":"python-abb42309f6e5230c","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v5_cases.py","route_id":"route-f53773639fed1b44","origin_key":"python:scripts.run_r1_v5_cases.write","qualified_name":"scripts.run_r1_v5_cases.write","visibility":"public","evidence_level":"source_static"}, +{"id":"python-702d12eade9a8688","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v6_crosscode.py","route_id":"route-c38d173e7d94a30c","origin_key":"python:scripts.run_r1_v6_crosscode.contract","qualified_name":"scripts.run_r1_v6_crosscode.contract","visibility":"public","evidence_level":"source_static"}, +{"id":"python-3fdd02449bc2af3d","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v6_crosscode.py","route_id":"route-c38d173e7d94a30c","origin_key":"python:scripts.run_r1_v6_crosscode.digest","qualified_name":"scripts.run_r1_v6_crosscode.digest","visibility":"public","evidence_level":"source_static"}, +{"id":"python-b8a18f79d310a471","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v6_crosscode.py","route_id":"route-c38d173e7d94a30c","origin_key":"python:scripts.run_r1_v6_crosscode.extract_rows","qualified_name":"scripts.run_r1_v6_crosscode.extract_rows","visibility":"public","evidence_level":"source_static"}, +{"id":"python-2da7308555f4bec3","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v6_crosscode.py","route_id":"route-c38d173e7d94a30c","origin_key":"python:scripts.run_r1_v6_crosscode.main","qualified_name":"scripts.run_r1_v6_crosscode.main","visibility":"public","evidence_level":"source_static"}, +{"id":"python-ef61ca3d37796248","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v6_crosscode.py","route_id":"route-c38d173e7d94a30c","origin_key":"python:scripts.run_r1_v6_crosscode.run_r1","qualified_name":"scripts.run_r1_v6_crosscode.run_r1","visibility":"public","evidence_level":"source_static"}, +{"id":"python-e3cc4958603c8460","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v6_crosscode.py","route_id":"route-c38d173e7d94a30c","origin_key":"python:scripts.run_r1_v6_crosscode.write","qualified_name":"scripts.run_r1_v6_crosscode.write","visibility":"public","evidence_level":"source_static"}, +{"id":"python-4b57112b69ec21b8","kind":"python_class","current_path":"perovskite-sim/scripts/run_r1_v6_verification.py","route_id":"route-b63242cdca55c44a","origin_key":"python:scripts.run_r1_v6_verification.VerificationPlugin","qualified_name":"scripts.run_r1_v6_verification.VerificationPlugin","visibility":"public","evidence_level":"source_static"}, +{"id":"python-ee653485bff06a54","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v6_verification.py","route_id":"route-b63242cdca55c44a","origin_key":"python:scripts.run_r1_v6_verification.VerificationPlugin.__init__","qualified_name":"scripts.run_r1_v6_verification.VerificationPlugin.__init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-cc3f6d5fa3aec29d","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v6_verification.py","route_id":"route-b63242cdca55c44a","origin_key":"python:scripts.run_r1_v6_verification.VerificationPlugin.pytest_collection_modifyitems","qualified_name":"scripts.run_r1_v6_verification.VerificationPlugin.pytest_collection_modifyitems","visibility":"public","evidence_level":"source_static"}, +{"id":"python-ab25b27f08c13de5","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v6_verification.py","route_id":"route-b63242cdca55c44a","origin_key":"python:scripts.run_r1_v6_verification.VerificationPlugin.pytest_collectreport","qualified_name":"scripts.run_r1_v6_verification.VerificationPlugin.pytest_collectreport","visibility":"public","evidence_level":"source_static"}, +{"id":"python-888a1336293325d2","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v6_verification.py","route_id":"route-b63242cdca55c44a","origin_key":"python:scripts.run_r1_v6_verification.VerificationPlugin.pytest_runtest_logreport","qualified_name":"scripts.run_r1_v6_verification.VerificationPlugin.pytest_runtest_logreport","visibility":"public","evidence_level":"source_static"}, +{"id":"python-1e3450679dd826b8","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v6_verification.py","route_id":"route-b63242cdca55c44a","origin_key":"python:scripts.run_r1_v6_verification.VerificationPlugin.pytest_sessionfinish","qualified_name":"scripts.run_r1_v6_verification.VerificationPlugin.pytest_sessionfinish","visibility":"public","evidence_level":"source_static"}, +{"id":"python-107741a538c74ce2","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v6_verification.py","route_id":"route-b63242cdca55c44a","origin_key":"python:scripts.run_r1_v6_verification.child_code","qualified_name":"scripts.run_r1_v6_verification.child_code","visibility":"public","evidence_level":"source_static"}, +{"id":"python-d82b12f358816e94","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v6_verification.py","route_id":"route-b63242cdca55c44a","origin_key":"python:scripts.run_r1_v6_verification.content_digest","qualified_name":"scripts.run_r1_v6_verification.content_digest","visibility":"public","evidence_level":"source_static"}, +{"id":"python-671d3930f75ccb87","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v6_verification.py","route_id":"route-b63242cdca55c44a","origin_key":"python:scripts.run_r1_v6_verification.execute_pytest","qualified_name":"scripts.run_r1_v6_verification.execute_pytest","visibility":"public","evidence_level":"source_static"}, +{"id":"python-aad51cbcc32f66c4","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v6_verification.py","route_id":"route-b63242cdca55c44a","origin_key":"python:scripts.run_r1_v6_verification.freeze","qualified_name":"scripts.run_r1_v6_verification.freeze","visibility":"public","evidence_level":"source_static"}, +{"id":"python-b348968232fd7754","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v6_verification.py","route_id":"route-b63242cdca55c44a","origin_key":"python:scripts.run_r1_v6_verification.junit_assessment","qualified_name":"scripts.run_r1_v6_verification.junit_assessment","visibility":"public","evidence_level":"source_static"}, +{"id":"python-deb1cc840a4adc71","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v6_verification.py","route_id":"route-b63242cdca55c44a","origin_key":"python:scripts.run_r1_v6_verification.main","qualified_name":"scripts.run_r1_v6_verification.main","visibility":"public","evidence_level":"source_static"}, +{"id":"python-9aabd27ca1bcae26","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v6_verification.py","route_id":"route-b63242cdca55c44a","origin_key":"python:scripts.run_r1_v6_verification.phase_status","qualified_name":"scripts.run_r1_v6_verification.phase_status","visibility":"public","evidence_level":"source_static"}, +{"id":"python-b4c5507d1e629a52","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v6_verification.py","route_id":"route-b63242cdca55c44a","origin_key":"python:scripts.run_r1_v6_verification.read","qualified_name":"scripts.run_r1_v6_verification.read","visibility":"public","evidence_level":"source_static"}, +{"id":"python-1ee9300434760479","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v6_verification.py","route_id":"route-b63242cdca55c44a","origin_key":"python:scripts.run_r1_v6_verification.response_requests","qualified_name":"scripts.run_r1_v6_verification.response_requests","visibility":"public","evidence_level":"source_static"}, +{"id":"python-1ab5465d9f179c36","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v6_verification.py","route_id":"route-b63242cdca55c44a","origin_key":"python:scripts.run_r1_v6_verification.run","qualified_name":"scripts.run_r1_v6_verification.run","visibility":"public","evidence_level":"source_static"}, +{"id":"python-a457acdb88d84829","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v6_verification.py","route_id":"route-b63242cdca55c44a","origin_key":"python:scripts.run_r1_v6_verification.sha","qualified_name":"scripts.run_r1_v6_verification.sha","visibility":"public","evidence_level":"source_static"}, +{"id":"python-7006e6d6e70ee900","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v6_verification.py","route_id":"route-b63242cdca55c44a","origin_key":"python:scripts.run_r1_v6_verification.snapshot","qualified_name":"scripts.run_r1_v6_verification.snapshot","visibility":"public","evidence_level":"source_static"}, +{"id":"python-73fcf86f3ef93607","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v6_verification.py","route_id":"route-b63242cdca55c44a","origin_key":"python:scripts.run_r1_v6_verification.summarize","qualified_name":"scripts.run_r1_v6_verification.summarize","visibility":"public","evidence_level":"source_static"}, +{"id":"python-912ed05a38fcbded","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v6_verification.py","route_id":"route-b63242cdca55c44a","origin_key":"python:scripts.run_r1_v6_verification.write","qualified_name":"scripts.run_r1_v6_verification.write","visibility":"public","evidence_level":"source_static"}, +{"id":"python-0a45179d84654008","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v7_prototype.py","route_id":"route-f60540dff4a5bd5d","origin_key":"python:scripts.run_r1_v7_prototype.canonical","qualified_name":"scripts.run_r1_v7_prototype.canonical","visibility":"public","evidence_level":"source_static"}, +{"id":"python-7071c4a6b32c2688","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v7_prototype.py","route_id":"route-f60540dff4a5bd5d","origin_key":"python:scripts.run_r1_v7_prototype.certificate_check","qualified_name":"scripts.run_r1_v7_prototype.certificate_check","visibility":"public","evidence_level":"source_static"}, +{"id":"python-3302c11b5b427fce","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v7_prototype.py","route_id":"route-f60540dff4a5bd5d","origin_key":"python:scripts.run_r1_v7_prototype.cost_comparison","qualified_name":"scripts.run_r1_v7_prototype.cost_comparison","visibility":"public","evidence_level":"source_static"}, +{"id":"python-ae09d7a2bccf426a","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v7_prototype.py","route_id":"route-f60540dff4a5bd5d","origin_key":"python:scripts.run_r1_v7_prototype.error_record","qualified_name":"scripts.run_r1_v7_prototype.error_record","visibility":"public","evidence_level":"source_static"}, +{"id":"python-16dced22ece84bb3","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v7_prototype.py","route_id":"route-f60540dff4a5bd5d","origin_key":"python:scripts.run_r1_v7_prototype.extent","qualified_name":"scripts.run_r1_v7_prototype.extent","visibility":"public","evidence_level":"source_static"}, +{"id":"python-06addabb536e8510","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v7_prototype.py","route_id":"route-f60540dff4a5bd5d","origin_key":"python:scripts.run_r1_v7_prototype.fault_contract","qualified_name":"scripts.run_r1_v7_prototype.fault_contract","visibility":"public","evidence_level":"source_static"}, +{"id":"python-23937a99a94f2c3f","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v7_prototype.py","route_id":"route-f60540dff4a5bd5d","origin_key":"python:scripts.run_r1_v7_prototype.git","qualified_name":"scripts.run_r1_v7_prototype.git","visibility":"public","evidence_level":"source_static"}, +{"id":"python-d131e347361096a3","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v7_prototype.py","route_id":"route-f60540dff4a5bd5d","origin_key":"python:scripts.run_r1_v7_prototype.load_contract","qualified_name":"scripts.run_r1_v7_prototype.load_contract","visibility":"public","evidence_level":"source_static"}, +{"id":"python-7d72f96eab850b54","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v7_prototype.py","route_id":"route-f60540dff4a5bd5d","origin_key":"python:scripts.run_r1_v7_prototype.main","qualified_name":"scripts.run_r1_v7_prototype.main","visibility":"public","evidence_level":"source_static"}, +{"id":"python-b8e856347ad0c792","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v7_prototype.py","route_id":"route-f60540dff4a5bd5d","origin_key":"python:scripts.run_r1_v7_prototype.make_contract","qualified_name":"scripts.run_r1_v7_prototype.make_contract","visibility":"public","evidence_level":"source_static"}, +{"id":"python-faee901c54454ad7","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v7_prototype.py","route_id":"route-f60540dff4a5bd5d","origin_key":"python:scripts.run_r1_v7_prototype.peak_rss_bytes","qualified_name":"scripts.run_r1_v7_prototype.peak_rss_bytes","visibility":"public","evidence_level":"source_static"}, +{"id":"python-5fcc13653b027ff1","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v7_prototype.py","route_id":"route-f60540dff4a5bd5d","origin_key":"python:scripts.run_r1_v7_prototype.precision_record_check","qualified_name":"scripts.run_r1_v7_prototype.precision_record_check","visibility":"public","evidence_level":"source_static"}, +{"id":"python-bdb7e74a5ac5f721","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v7_prototype.py","route_id":"route-f60540dff4a5bd5d","origin_key":"python:scripts.run_r1_v7_prototype.run","qualified_name":"scripts.run_r1_v7_prototype.run","visibility":"public","evidence_level":"source_static"}, +{"id":"python-690cf47d4b4e1983","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v7_prototype.py","route_id":"route-f60540dff4a5bd5d","origin_key":"python:scripts.run_r1_v7_prototype.run_trajectory","qualified_name":"scripts.run_r1_v7_prototype.run_trajectory","visibility":"public","evidence_level":"source_static"}, +{"id":"python-161421c69aa498ac","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v7_prototype.py","route_id":"route-f60540dff4a5bd5d","origin_key":"python:scripts.run_r1_v7_prototype.sha","qualified_name":"scripts.run_r1_v7_prototype.sha","visibility":"public","evidence_level":"source_static"}, +{"id":"python-c272c8da59282559","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v7_prototype.py","route_id":"route-f60540dff4a5bd5d","origin_key":"python:scripts.run_r1_v7_prototype.source_snapshot","qualified_name":"scripts.run_r1_v7_prototype.source_snapshot","visibility":"public","evidence_level":"source_static"}, +{"id":"python-370e97c85f5dbe94","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v7_prototype.py","route_id":"route-f60540dff4a5bd5d","origin_key":"python:scripts.run_r1_v7_prototype.validate_digest","qualified_name":"scripts.run_r1_v7_prototype.validate_digest","visibility":"public","evidence_level":"source_static"}, +{"id":"python-9e9d983fbc20150c","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v7_prototype.py","route_id":"route-f60540dff4a5bd5d","origin_key":"python:scripts.run_r1_v7_prototype.write","qualified_name":"scripts.run_r1_v7_prototype.write","visibility":"public","evidence_level":"source_static"}, +{"id":"python-05afdef0bac19bf8","kind":"python_class","current_path":"perovskite-sim/scripts/run_r1_v8_ablation.py","route_id":"route-685e6833fbc35d6c","origin_key":"python:scripts.run_r1_v8_ablation.AblationRowFailure","qualified_name":"scripts.run_r1_v8_ablation.AblationRowFailure","visibility":"public","evidence_level":"source_static"}, +{"id":"python-f205072111762ba2","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v8_ablation.py","route_id":"route-685e6833fbc35d6c","origin_key":"python:scripts.run_r1_v8_ablation.attempt_inputs","qualified_name":"scripts.run_r1_v8_ablation.attempt_inputs","visibility":"public","evidence_level":"source_static"}, +{"id":"python-8ed6ee3ce51ffaed","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v8_ablation.py","route_id":"route-685e6833fbc35d6c","origin_key":"python:scripts.run_r1_v8_ablation.bounded_scientific_outcome","qualified_name":"scripts.run_r1_v8_ablation.bounded_scientific_outcome","visibility":"public","evidence_level":"source_static"}, +{"id":"python-5fd2fddf9101a212","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v8_ablation.py","route_id":"route-685e6833fbc35d6c","origin_key":"python:scripts.run_r1_v8_ablation.capture_solver_attempt","qualified_name":"scripts.run_r1_v8_ablation.capture_solver_attempt","visibility":"public","evidence_level":"source_static"}, +{"id":"python-07602b254cc07946","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v8_ablation.py","route_id":"route-685e6833fbc35d6c","origin_key":"python:scripts.run_r1_v8_ablation.contract","qualified_name":"scripts.run_r1_v8_ablation.contract","visibility":"public","evidence_level":"source_static"}, +{"id":"python-fa5e3fab28e62979","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v8_ablation.py","route_id":"route-685e6833fbc35d6c","origin_key":"python:scripts.run_r1_v8_ablation.failure_record","qualified_name":"scripts.run_r1_v8_ablation.failure_record","visibility":"public","evidence_level":"source_static"}, +{"id":"python-472a6128d8b501ff","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v8_ablation.py","route_id":"route-685e6833fbc35d6c","origin_key":"python:scripts.run_r1_v8_ablation.main","qualified_name":"scripts.run_r1_v8_ablation.main","visibility":"public","evidence_level":"source_static"}, +{"id":"python-4bea260fe96a3442","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v8_ablation.py","route_id":"route-685e6833fbc35d6c","origin_key":"python:scripts.run_r1_v8_ablation.make_row","qualified_name":"scripts.run_r1_v8_ablation.make_row","visibility":"public","evidence_level":"source_static"}, +{"id":"python-9944c0a5d172a641","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v8_ablation.py","route_id":"route-685e6833fbc35d6c","origin_key":"python:scripts.run_r1_v8_ablation.replay_trace","qualified_name":"scripts.run_r1_v8_ablation.replay_trace","visibility":"public","evidence_level":"source_static"}, +{"id":"python-0f373e8347c61cc6","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v8_ablation.py","route_id":"route-685e6833fbc35d6c","origin_key":"python:scripts.run_r1_v8_ablation.row_gates","qualified_name":"scripts.run_r1_v8_ablation.row_gates","visibility":"public","evidence_level":"source_static"}, +{"id":"python-c74b37d3efd7eb1a","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v8_ablation.py","route_id":"route-685e6833fbc35d6c","origin_key":"python:scripts.run_r1_v8_ablation.run","qualified_name":"scripts.run_r1_v8_ablation.run","visibility":"public","evidence_level":"source_static"}, +{"id":"python-4103659b6c58abf2","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v8_ablation.py","route_id":"route-685e6833fbc35d6c","origin_key":"python:scripts.run_r1_v8_ablation.run_trace","qualified_name":"scripts.run_r1_v8_ablation.run_trace","visibility":"public","evidence_level":"source_static"}, +{"id":"python-5045e997dd5736f9","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v8_ablation.py","route_id":"route-685e6833fbc35d6c","origin_key":"python:scripts.run_r1_v8_ablation.setup","qualified_name":"scripts.run_r1_v8_ablation.setup","visibility":"public","evidence_level":"source_static"}, +{"id":"python-00611e48985bef4b","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v8_ablation.py","route_id":"route-685e6833fbc35d6c","origin_key":"python:scripts.run_r1_v8_ablation.time_schedule","qualified_name":"scripts.run_r1_v8_ablation.time_schedule","visibility":"public","evidence_level":"source_static"}, +{"id":"python-b0db65afdde0d271","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v8_ablation.py","route_id":"route-685e6833fbc35d6c","origin_key":"python:scripts.run_r1_v8_ablation.validate_replay_header","qualified_name":"scripts.run_r1_v8_ablation.validate_replay_header","visibility":"public","evidence_level":"source_static"}, +{"id":"python-2d9cd54293a390f4","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v8_ablation.py","route_id":"route-685e6833fbc35d6c","origin_key":"python:scripts.run_r1_v8_ablation.validate_times","qualified_name":"scripts.run_r1_v8_ablation.validate_times","visibility":"public","evidence_level":"source_static"}, +{"id":"python-67e0ede360e2f229","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v8_prototype.py","route_id":"route-8a5c1300ec2f4ddc","origin_key":"python:scripts.run_r1_v8_prototype.canonical","qualified_name":"scripts.run_r1_v8_prototype.canonical","visibility":"public","evidence_level":"source_static"}, +{"id":"python-961f9f4c95b2e5e1","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v8_prototype.py","route_id":"route-8a5c1300ec2f4ddc","origin_key":"python:scripts.run_r1_v8_prototype.certificate_check","qualified_name":"scripts.run_r1_v8_prototype.certificate_check","visibility":"public","evidence_level":"source_static"}, +{"id":"python-be79fd224a47bc01","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v8_prototype.py","route_id":"route-8a5c1300ec2f4ddc","origin_key":"python:scripts.run_r1_v8_prototype.cost_comparison","qualified_name":"scripts.run_r1_v8_prototype.cost_comparison","visibility":"public","evidence_level":"source_static"}, +{"id":"python-85de65921d5a1123","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v8_prototype.py","route_id":"route-8a5c1300ec2f4ddc","origin_key":"python:scripts.run_r1_v8_prototype.error_record","qualified_name":"scripts.run_r1_v8_prototype.error_record","visibility":"public","evidence_level":"source_static"}, +{"id":"python-e47ffc6d06bd7484","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v8_prototype.py","route_id":"route-8a5c1300ec2f4ddc","origin_key":"python:scripts.run_r1_v8_prototype.extent","qualified_name":"scripts.run_r1_v8_prototype.extent","visibility":"public","evidence_level":"source_static"}, +{"id":"python-cb1f61d5ed87b53e","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v8_prototype.py","route_id":"route-8a5c1300ec2f4ddc","origin_key":"python:scripts.run_r1_v8_prototype.fault_contract","qualified_name":"scripts.run_r1_v8_prototype.fault_contract","visibility":"public","evidence_level":"source_static"}, +{"id":"python-22b2dbbe1ec902cf","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v8_prototype.py","route_id":"route-8a5c1300ec2f4ddc","origin_key":"python:scripts.run_r1_v8_prototype.git","qualified_name":"scripts.run_r1_v8_prototype.git","visibility":"public","evidence_level":"source_static"}, +{"id":"python-81d36f7e7dc30910","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v8_prototype.py","route_id":"route-8a5c1300ec2f4ddc","origin_key":"python:scripts.run_r1_v8_prototype.load_contract","qualified_name":"scripts.run_r1_v8_prototype.load_contract","visibility":"public","evidence_level":"source_static"}, +{"id":"python-b67d24e415827531","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v8_prototype.py","route_id":"route-8a5c1300ec2f4ddc","origin_key":"python:scripts.run_r1_v8_prototype.main","qualified_name":"scripts.run_r1_v8_prototype.main","visibility":"public","evidence_level":"source_static"}, +{"id":"python-410037678227e679","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v8_prototype.py","route_id":"route-8a5c1300ec2f4ddc","origin_key":"python:scripts.run_r1_v8_prototype.make_contract","qualified_name":"scripts.run_r1_v8_prototype.make_contract","visibility":"public","evidence_level":"source_static"}, +{"id":"python-e7be8881f7e9cbea","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v8_prototype.py","route_id":"route-8a5c1300ec2f4ddc","origin_key":"python:scripts.run_r1_v8_prototype.peak_rss_bytes","qualified_name":"scripts.run_r1_v8_prototype.peak_rss_bytes","visibility":"public","evidence_level":"source_static"}, +{"id":"python-5d265274205878b3","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v8_prototype.py","route_id":"route-8a5c1300ec2f4ddc","origin_key":"python:scripts.run_r1_v8_prototype.precision_record_check","qualified_name":"scripts.run_r1_v8_prototype.precision_record_check","visibility":"public","evidence_level":"source_static"}, +{"id":"python-1534b4c1a0366118","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v8_prototype.py","route_id":"route-8a5c1300ec2f4ddc","origin_key":"python:scripts.run_r1_v8_prototype.run","qualified_name":"scripts.run_r1_v8_prototype.run","visibility":"public","evidence_level":"source_static"}, +{"id":"python-8aff65c5a4a3e232","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v8_prototype.py","route_id":"route-8a5c1300ec2f4ddc","origin_key":"python:scripts.run_r1_v8_prototype.run_trajectory","qualified_name":"scripts.run_r1_v8_prototype.run_trajectory","visibility":"public","evidence_level":"source_static"}, +{"id":"python-dfa2d7b9697b0226","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v8_prototype.py","route_id":"route-8a5c1300ec2f4ddc","origin_key":"python:scripts.run_r1_v8_prototype.sha","qualified_name":"scripts.run_r1_v8_prototype.sha","visibility":"public","evidence_level":"source_static"}, +{"id":"python-b0178d9fb3dfbc8a","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v8_prototype.py","route_id":"route-8a5c1300ec2f4ddc","origin_key":"python:scripts.run_r1_v8_prototype.source_snapshot","qualified_name":"scripts.run_r1_v8_prototype.source_snapshot","visibility":"public","evidence_level":"source_static"}, +{"id":"python-31b44147c97268d9","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v8_prototype.py","route_id":"route-8a5c1300ec2f4ddc","origin_key":"python:scripts.run_r1_v8_prototype.validate_digest","qualified_name":"scripts.run_r1_v8_prototype.validate_digest","visibility":"public","evidence_level":"source_static"}, +{"id":"python-bed1571a42e1b80b","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v8_prototype.py","route_id":"route-8a5c1300ec2f4ddc","origin_key":"python:scripts.run_r1_v8_prototype.validation_contract","qualified_name":"scripts.run_r1_v8_prototype.validation_contract","visibility":"public","evidence_level":"source_static"}, +{"id":"python-0ab5136afa0423bf","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v8_prototype.py","route_id":"route-8a5c1300ec2f4ddc","origin_key":"python:scripts.run_r1_v8_prototype.write","qualified_name":"scripts.run_r1_v8_prototype.write","visibility":"public","evidence_level":"source_static"}, +{"id":"python-a72be6985c416274","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v9_prototype.py","route_id":"route-2db75d95400c1c0c","origin_key":"python:scripts.run_r1_v9_prototype.absolute_cost_check","qualified_name":"scripts.run_r1_v9_prototype.absolute_cost_check","visibility":"public","evidence_level":"source_static"}, +{"id":"python-27dde02b64db8a2d","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v9_prototype.py","route_id":"route-2db75d95400c1c0c","origin_key":"python:scripts.run_r1_v9_prototype.baseline_readiness","qualified_name":"scripts.run_r1_v9_prototype.baseline_readiness","visibility":"public","evidence_level":"source_static"}, +{"id":"python-e70d922b95c465fc","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v9_prototype.py","route_id":"route-2db75d95400c1c0c","origin_key":"python:scripts.run_r1_v9_prototype.check_functions","qualified_name":"scripts.run_r1_v9_prototype.check_functions","visibility":"public","evidence_level":"source_static"}, +{"id":"python-c53a806933e495e2","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v9_prototype.py","route_id":"route-2db75d95400c1c0c","origin_key":"python:scripts.run_r1_v9_prototype.comparison","qualified_name":"scripts.run_r1_v9_prototype.comparison","visibility":"public","evidence_level":"source_static"}, +{"id":"python-85fc12d7e6769d80","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v9_prototype.py","route_id":"route-2db75d95400c1c0c","origin_key":"python:scripts.run_r1_v9_prototype.external_json","qualified_name":"scripts.run_r1_v9_prototype.external_json","visibility":"public","evidence_level":"source_static"}, +{"id":"python-291d4e599f7ac2e2","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v9_prototype.py","route_id":"route-2db75d95400c1c0c","origin_key":"python:scripts.run_r1_v9_prototype.finalize_manifest","qualified_name":"scripts.run_r1_v9_prototype.finalize_manifest","visibility":"public","evidence_level":"source_static"}, +{"id":"python-320fa36787ba0be4","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v9_prototype.py","route_id":"route-2db75d95400c1c0c","origin_key":"python:scripts.run_r1_v9_prototype.function_snapshot","qualified_name":"scripts.run_r1_v9_prototype.function_snapshot","visibility":"public","evidence_level":"source_static"}, +{"id":"python-7ace474c5512ad15","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v9_prototype.py","route_id":"route-2db75d95400c1c0c","origin_key":"python:scripts.run_r1_v9_prototype.load_contract","qualified_name":"scripts.run_r1_v9_prototype.load_contract","visibility":"public","evidence_level":"source_static"}, +{"id":"python-29166ace080adc67","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v9_prototype.py","route_id":"route-2db75d95400c1c0c","origin_key":"python:scripts.run_r1_v9_prototype.main","qualified_name":"scripts.run_r1_v9_prototype.main","visibility":"public","evidence_level":"source_static"}, +{"id":"python-60589e4b9432f9ad","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v9_prototype.py","route_id":"route-2db75d95400c1c0c","origin_key":"python:scripts.run_r1_v9_prototype.read_persisted_rows","qualified_name":"scripts.run_r1_v9_prototype.read_persisted_rows","visibility":"public","evidence_level":"source_static"}, +{"id":"python-dab491734ac931ab","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v9_prototype.py","route_id":"route-2db75d95400c1c0c","origin_key":"python:scripts.run_r1_v9_prototype.run","qualified_name":"scripts.run_r1_v9_prototype.run","visibility":"public","evidence_level":"source_static"}, +{"id":"python-032b11aa0a88a435","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v9_prototype.py","route_id":"route-2db75d95400c1c0c","origin_key":"python:scripts.run_r1_v9_prototype.run_trajectory","qualified_name":"scripts.run_r1_v9_prototype.run_trajectory","visibility":"public","evidence_level":"source_static"}, +{"id":"python-13129d4618595e13","kind":"python_callable","current_path":"perovskite-sim/scripts/run_r1_v9_prototype.py","route_id":"route-2db75d95400c1c0c","origin_key":"python:scripts.run_r1_v9_prototype.tag_nonfinite","qualified_name":"scripts.run_r1_v9_prototype.tag_nonfinite","visibility":"public","evidence_level":"source_static"}, +{"id":"python-e9a62fa3993eea41","kind":"python_callable","current_path":"perovskite-sim/scripts/run_regularization_ladders.py","route_id":"route-5487ec38a33e7d2f","origin_key":"python:scripts.run_regularization_ladders._parser","qualified_name":"scripts.run_regularization_ladders._parser","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-cef346cbdf94bdee","kind":"python_callable","current_path":"perovskite-sim/scripts/run_regularization_ladders.py","route_id":"route-5487ec38a33e7d2f","origin_key":"python:scripts.run_regularization_ladders._write_immutable","qualified_name":"scripts.run_regularization_ladders._write_immutable","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-75ccb717de3265d5","kind":"python_callable","current_path":"perovskite-sim/scripts/run_regularization_ladders.py","route_id":"route-5487ec38a33e7d2f","origin_key":"python:scripts.run_regularization_ladders.main","qualified_name":"scripts.run_regularization_ladders.main","visibility":"public","evidence_level":"source_static"}, +{"id":"python-93ffbfaba60652b0","kind":"python_callable","current_path":"perovskite-sim/scripts/run_scaps_full_regression.py","route_id":"route-70083637365da619","origin_key":"python:scripts.run_scaps_full_regression._updates_bulk_et_cb","qualified_name":"scripts.run_scaps_full_regression._updates_bulk_et_cb","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-03b3c59b82518b2e","kind":"python_callable","current_path":"perovskite-sim/scripts/run_scaps_full_regression.py","route_id":"route-70083637365da619","origin_key":"python:scripts.run_scaps_full_regression._updates_bulk_et_vb","qualified_name":"scripts.run_scaps_full_regression._updates_bulk_et_vb","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-09b3436873ddcb0c","kind":"python_callable","current_path":"perovskite-sim/scripts/run_scaps_full_regression.py","route_id":"route-70083637365da619","origin_key":"python:scripts.run_scaps_full_regression._updates_bulk_nt","qualified_name":"scripts.run_scaps_full_regression._updates_bulk_nt","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-1b32208ac0fb66ca","kind":"python_callable","current_path":"perovskite-sim/scripts/run_scaps_full_regression.py","route_id":"route-70083637365da619","origin_key":"python:scripts.run_scaps_full_regression._updates_chi_etl","qualified_name":"scripts.run_scaps_full_regression._updates_chi_etl","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-17a6fcf295311b28","kind":"python_callable","current_path":"perovskite-sim/scripts/run_scaps_full_regression.py","route_id":"route-70083637365da619","origin_key":"python:scripts.run_scaps_full_regression._updates_iface_et_htl_pvk","qualified_name":"scripts.run_scaps_full_regression._updates_iface_et_htl_pvk","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-747255bdde68cf66","kind":"python_callable","current_path":"perovskite-sim/scripts/run_scaps_full_regression.py","route_id":"route-70083637365da619","origin_key":"python:scripts.run_scaps_full_regression._updates_iface_et_pvk_etl","qualified_name":"scripts.run_scaps_full_regression._updates_iface_et_pvk_etl","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-6544a3f8f5eab5b3","kind":"python_callable","current_path":"perovskite-sim/scripts/run_scaps_full_regression.py","route_id":"route-70083637365da619","origin_key":"python:scripts.run_scaps_full_regression._updates_iface_nt_htl_pvk","qualified_name":"scripts.run_scaps_full_regression._updates_iface_nt_htl_pvk","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-85a85c7563df8281","kind":"python_callable","current_path":"perovskite-sim/scripts/run_scaps_full_regression.py","route_id":"route-70083637365da619","origin_key":"python:scripts.run_scaps_full_regression._updates_iface_nt_pvk_etl","qualified_name":"scripts.run_scaps_full_regression._updates_iface_nt_pvk_etl","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-7c06fe65a92ca8cc","kind":"python_callable","current_path":"perovskite-sim/scripts/run_scaps_full_regression.py","route_id":"route-70083637365da619","origin_key":"python:scripts.run_scaps_full_regression._updates_nd_etl","qualified_name":"scripts.run_scaps_full_regression._updates_nd_etl","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-5655be09f4f08e6e","kind":"python_callable","current_path":"perovskite-sim/scripts/run_scaps_full_regression.py","route_id":"route-70083637365da619","origin_key":"python:scripts.run_scaps_full_regression.main","qualified_name":"scripts.run_scaps_full_regression.main","visibility":"public","evidence_level":"source_static"}, +{"id":"python-2a734dbd8859dcb3","kind":"python_callable","current_path":"perovskite-sim/scripts/run_scaps_full_regression.py","route_id":"route-70083637365da619","origin_key":"python:scripts.run_scaps_full_regression.run_sheet","qualified_name":"scripts.run_scaps_full_regression.run_sheet","visibility":"public","evidence_level":"source_static"}, +{"id":"python-c2dcb35748fab682","kind":"python_callable","current_path":"perovskite-sim/scripts/run_scaps_full_regression.py","route_id":"route-70083637365da619","origin_key":"python:scripts.run_scaps_full_regression.trend_stats","qualified_name":"scripts.run_scaps_full_regression.trend_stats","visibility":"public","evidence_level":"source_static"}, +{"id":"python-1c86ec62eae4e397","kind":"python_callable","current_path":"perovskite-sim/scripts/run_scaps_full_regression.py","route_id":"route-70083637365da619","origin_key":"python:scripts.run_scaps_full_regression.verdict","qualified_name":"scripts.run_scaps_full_regression.verdict","visibility":"public","evidence_level":"source_static"}, +{"id":"python-a974c0462a88b369","kind":"python_class","current_path":"perovskite-sim/scripts/run_scaps_v2_regression.py","route_id":"route-45dccf3352277655","origin_key":"python:scripts.run_scaps_v2_regression.PointResult","qualified_name":"scripts.run_scaps_v2_regression.PointResult","visibility":"public","evidence_level":"source_static"}, +{"id":"python-dec146f243971456","kind":"python_callable","current_path":"perovskite-sim/scripts/run_scaps_v2_regression.py","route_id":"route-45dccf3352277655","origin_key":"python:scripts.run_scaps_v2_regression._scaps_jsc_A_m2","qualified_name":"scripts.run_scaps_v2_regression._scaps_jsc_A_m2","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-c28a83d64b6c1110","kind":"python_callable","current_path":"perovskite-sim/scripts/run_scaps_v2_regression.py","route_id":"route-45dccf3352277655","origin_key":"python:scripts.run_scaps_v2_regression.main","qualified_name":"scripts.run_scaps_v2_regression.main","visibility":"public","evidence_level":"source_static"}, +{"id":"python-90a016e5b4881e80","kind":"python_callable","current_path":"perovskite-sim/scripts/run_scaps_v2_regression.py","route_id":"route-45dccf3352277655","origin_key":"python:scripts.run_scaps_v2_regression.run_sweep","qualified_name":"scripts.run_scaps_v2_regression.run_sweep","visibility":"public","evidence_level":"source_static"}, +{"id":"python-ee78d3cf97e4089d","kind":"python_callable","current_path":"perovskite-sim/scripts/run_scaps_v2_regression.py","route_id":"route-45dccf3352277655","origin_key":"python:scripts.run_scaps_v2_regression.summarize","qualified_name":"scripts.run_scaps_v2_regression.summarize","visibility":"public","evidence_level":"source_static"}, +{"id":"python-b7b30286dec462e6","kind":"python_callable","current_path":"perovskite-sim/scripts/run_scaps_v2_regression.py","route_id":"route-45dccf3352277655","origin_key":"python:scripts.run_scaps_v2_regression.write_csv","qualified_name":"scripts.run_scaps_v2_regression.write_csv","visibility":"public","evidence_level":"source_static"}, +{"id":"python-a04fd43799340dc7","kind":"python_callable","current_path":"perovskite-sim/scripts/run_scaps_validation.py","route_id":"route-ef99f0d79906429b","origin_key":"python:scripts.run_scaps_validation._build_sweep_point","qualified_name":"scripts.run_scaps_validation._build_sweep_point","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-4599ac359ca83b28","kind":"python_callable","current_path":"perovskite-sim/scripts/run_scaps_validation.py","route_id":"route-ef99f0d79906429b","origin_key":"python:scripts.run_scaps_validation._direction_label","qualified_name":"scripts.run_scaps_validation._direction_label","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-4af5cd31f5233633","kind":"python_callable","current_path":"perovskite-sim/scripts/run_scaps_validation.py","route_id":"route-ef99f0d79906429b","origin_key":"python:scripts.run_scaps_validation._radiative_voc_ceiling","qualified_name":"scripts.run_scaps_validation._radiative_voc_ceiling","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-b79224e5963a583b","kind":"python_callable","current_path":"perovskite-sim/scripts/run_scaps_validation.py","route_id":"route-ef99f0d79906429b","origin_key":"python:scripts.run_scaps_validation.main","qualified_name":"scripts.run_scaps_validation.main","visibility":"public","evidence_level":"source_static"}, +{"id":"python-bf6189a6331c4f95","kind":"python_callable","current_path":"perovskite-sim/scripts/run_scaps_validation.py","route_id":"route-ef99f0d79906429b","origin_key":"python:scripts.run_scaps_validation.run_axis","qualified_name":"scripts.run_scaps_validation.run_axis","visibility":"public","evidence_level":"source_static"}, +{"id":"python-80dacb5f2fa93ccb","kind":"python_callable","current_path":"perovskite-sim/scripts/run_scaps_validation.py","route_id":"route-ef99f0d79906429b","origin_key":"python:scripts.run_scaps_validation.run_base_jv","qualified_name":"scripts.run_scaps_validation.run_base_jv","visibility":"public","evidence_level":"source_static"}, +{"id":"python-5c622e468c72c02b","kind":"python_callable","current_path":"perovskite-sim/scripts/run_scaps_validation.py","route_id":"route-ef99f0d79906429b","origin_key":"python:scripts.run_scaps_validation.write_csv","qualified_name":"scripts.run_scaps_validation.write_csv","visibility":"public","evidence_level":"source_static"}, +{"id":"python-52934cc2694646be","kind":"python_callable","current_path":"perovskite-sim/scripts/run_scaps_validation.py","route_id":"route-ef99f0d79906429b","origin_key":"python:scripts.run_scaps_validation.write_plot","qualified_name":"scripts.run_scaps_validation.write_plot","visibility":"public","evidence_level":"source_static"}, +{"id":"python-8514ca94ad3cb90b","kind":"python_callable","current_path":"perovskite-sim/scripts/run_scaps_validation.py","route_id":"route-ef99f0d79906429b","origin_key":"python:scripts.run_scaps_validation.write_report","qualified_name":"scripts.run_scaps_validation.write_report","visibility":"public","evidence_level":"source_static"}, +{"id":"python-fdf7aec4798dfdd3","kind":"python_callable","current_path":"perovskite-sim/scripts/scaps_absolute_scorecard.py","route_id":"route-2c7e7d553470797c","origin_key":"python:scripts.scaps_absolute_scorecard.grade","qualified_name":"scripts.scaps_absolute_scorecard.grade","visibility":"public","evidence_level":"source_static"}, +{"id":"python-5ad0e0cf48c31d92","kind":"python_callable","current_path":"perovskite-sim/scripts/scaps_absolute_scorecard.py","route_id":"route-2c7e7d553470797c","origin_key":"python:scripts.scaps_absolute_scorecard.main","qualified_name":"scripts.scaps_absolute_scorecard.main","visibility":"public","evidence_level":"source_static"}, +{"id":"python-88735cb98c8e8350","kind":"python_callable","current_path":"perovskite-sim/scripts/scaps_absolute_scorecard.py","route_id":"route-2c7e7d553470797c","origin_key":"python:scripts.scaps_absolute_scorecard.read_xlsx_sheet","qualified_name":"scripts.scaps_absolute_scorecard.read_xlsx_sheet","visibility":"public","evidence_level":"source_static"}, +{"id":"python-0093efa03092d61a","kind":"python_callable","current_path":"perovskite-sim/scripts/scaps_validation_figures.py","route_id":"route-9cd56efcdb05e166","origin_key":"python:scripts.scaps_validation_figures.main","qualified_name":"scripts.scaps_validation_figures.main","visibility":"public","evidence_level":"source_static"}, +{"id":"python-4c9009f7985b0fb5","kind":"python_callable","current_path":"perovskite-sim/scripts/scaps_validation_figures.py","route_id":"route-9cd56efcdb05e166","origin_key":"python:scripts.scaps_validation_figures.plot_sheet","qualified_name":"scripts.scaps_validation_figures.plot_sheet","visibility":"public","evidence_level":"source_static"}, +{"id":"python-3607d662726a48f6","kind":"python_callable","current_path":"perovskite-sim/scripts/scaps_validation_figures.py","route_id":"route-9cd56efcdb05e166","origin_key":"python:scripts.scaps_validation_figures.read_sheet","qualified_name":"scripts.scaps_validation_figures.read_sheet","visibility":"public","evidence_level":"source_static"}, +{"id":"python-d8f242adc896ea09","kind":"python_callable","current_path":"perovskite-sim/scripts/scaps_validation_figures.py","route_id":"route-9cd56efcdb05e166","origin_key":"python:scripts.scaps_validation_figures.run_sl","qualified_name":"scripts.scaps_validation_figures.run_sl","visibility":"public","evidence_level":"source_static"}, +{"id":"python-2f13b2bef9a40037","kind":"python_callable","current_path":"perovskite-sim/scripts/summarize_ion_frontend_matrix.py","route_id":"route-9e73563a753e9a5e","origin_key":"python:scripts.summarize_ion_frontend_matrix.audit_record","qualified_name":"scripts.summarize_ion_frontend_matrix.audit_record","visibility":"public","evidence_level":"source_static"}, +{"id":"python-2b73690d7908c0d9","kind":"python_callable","current_path":"perovskite-sim/scripts/summarize_ion_frontend_matrix.py","route_id":"route-9e73563a753e9a5e","origin_key":"python:scripts.summarize_ion_frontend_matrix.branch_memory","qualified_name":"scripts.summarize_ion_frontend_matrix.branch_memory","visibility":"public","evidence_level":"source_static"}, +{"id":"python-3d1485f7f6d91206","kind":"python_callable","current_path":"perovskite-sim/scripts/summarize_ion_frontend_matrix.py","route_id":"route-9e73563a753e9a5e","origin_key":"python:scripts.summarize_ion_frontend_matrix.compare_neutral_controls","qualified_name":"scripts.summarize_ion_frontend_matrix.compare_neutral_controls","visibility":"public","evidence_level":"source_static"}, +{"id":"python-2293c88ba797a298","kind":"python_callable","current_path":"perovskite-sim/scripts/summarize_ion_frontend_matrix.py","route_id":"route-9e73563a753e9a5e","origin_key":"python:scripts.summarize_ion_frontend_matrix.current_summary","qualified_name":"scripts.summarize_ion_frontend_matrix.current_summary","visibility":"public","evidence_level":"source_static"}, +{"id":"python-17fbe62d24f4b595","kind":"python_callable","current_path":"perovskite-sim/scripts/summarize_ion_frontend_matrix.py","route_id":"route-9e73563a753e9a5e","origin_key":"python:scripts.summarize_ion_frontend_matrix.expected_generation_budget","qualified_name":"scripts.summarize_ion_frontend_matrix.expected_generation_budget","visibility":"public","evidence_level":"source_static"}, +{"id":"python-71f4d104e38bc930","kind":"python_callable","current_path":"perovskite-sim/scripts/summarize_ion_frontend_matrix.py","route_id":"route-9e73563a753e9a5e","origin_key":"python:scripts.summarize_ion_frontend_matrix.main","qualified_name":"scripts.summarize_ion_frontend_matrix.main","visibility":"public","evidence_level":"source_static"}, +{"id":"python-386a3536bb5bb688","kind":"python_callable","current_path":"perovskite-sim/scripts/summarize_ion_frontend_matrix.py","route_id":"route-9e73563a753e9a5e","origin_key":"python:scripts.summarize_ion_frontend_matrix.population_summary","qualified_name":"scripts.summarize_ion_frontend_matrix.population_summary","visibility":"public","evidence_level":"source_static"}, +{"id":"python-59d92438f9a92295","kind":"python_callable","current_path":"perovskite-sim/scripts/summarize_ion_frontend_matrix.py","route_id":"route-9e73563a753e9a5e","origin_key":"python:scripts.summarize_ion_frontend_matrix.render_plot","qualified_name":"scripts.summarize_ion_frontend_matrix.render_plot","visibility":"public","evidence_level":"source_static"}, +{"id":"python-147e0fa919870730","kind":"python_callable","current_path":"perovskite-sim/scripts/summarize_ion_frontend_matrix.py","route_id":"route-9e73563a753e9a5e","origin_key":"python:scripts.summarize_ion_frontend_matrix.snapshots","qualified_name":"scripts.summarize_ion_frontend_matrix.snapshots","visibility":"public","evidence_level":"source_static"}, +{"id":"python-41ffec66b19d44d2","kind":"python_callable","current_path":"perovskite-sim/scripts/summarize_ion_frontend_matrix.py","route_id":"route-9e73563a753e9a5e","origin_key":"python:scripts.summarize_ion_frontend_matrix.validate_matrix","qualified_name":"scripts.summarize_ion_frontend_matrix.validate_matrix","visibility":"public","evidence_level":"source_static"}, +{"id":"python-0d8c03f6c0d0f458","kind":"python_callable","current_path":"perovskite-sim/scripts/summarize_r1_v8_gates.py","route_id":"route-a2d42e5c973a854f","origin_key":"python:scripts.summarize_r1_v8_gates.aggregate","qualified_name":"scripts.summarize_r1_v8_gates.aggregate","visibility":"public","evidence_level":"source_static"}, +{"id":"python-616881084f304847","kind":"python_callable","current_path":"perovskite-sim/scripts/summarize_r1_v8_gates.py","route_id":"route-a2d42e5c973a854f","origin_key":"python:scripts.summarize_r1_v8_gates.at","qualified_name":"scripts.summarize_r1_v8_gates.at","visibility":"public","evidence_level":"source_static"}, +{"id":"python-1e8fe9c91b34ef7b","kind":"python_callable","current_path":"perovskite-sim/scripts/summarize_r1_v8_gates.py","route_id":"route-a2d42e5c973a854f","origin_key":"python:scripts.summarize_r1_v8_gates.load","qualified_name":"scripts.summarize_r1_v8_gates.load","visibility":"public","evidence_level":"source_static"}, +{"id":"python-f6e9d977878c082f","kind":"python_callable","current_path":"perovskite-sim/scripts/summarize_r1_v8_gates.py","route_id":"route-a2d42e5c973a854f","origin_key":"python:scripts.summarize_r1_v8_gates.location","qualified_name":"scripts.summarize_r1_v8_gates.location","visibility":"public","evidence_level":"source_static"}, +{"id":"python-d7668d6472902631","kind":"python_callable","current_path":"perovskite-sim/scripts/summarize_r1_v8_gates.py","route_id":"route-a2d42e5c973a854f","origin_key":"python:scripts.summarize_r1_v8_gates.main","qualified_name":"scripts.summarize_r1_v8_gates.main","visibility":"public","evidence_level":"source_static"}, +{"id":"python-9848f2926604fc74","kind":"python_callable","current_path":"perovskite-sim/scripts/summarize_r1_v8_gates.py","route_id":"route-a2d42e5c973a854f","origin_key":"python:scripts.summarize_r1_v8_gates.margin","qualified_name":"scripts.summarize_r1_v8_gates.margin","visibility":"public","evidence_level":"source_static"}, +{"id":"python-48fef1dc92f7eff0","kind":"python_callable","current_path":"perovskite-sim/scripts/summarize_r1_v8_gates.py","route_id":"route-a2d42e5c973a854f","origin_key":"python:scripts.summarize_r1_v8_gates.metric_values","qualified_name":"scripts.summarize_r1_v8_gates.metric_values","visibility":"public","evidence_level":"source_static"}, +{"id":"python-04e834240011c477","kind":"python_callable","current_path":"perovskite-sim/scripts/summarize_r1_v8_gates.py","route_id":"route-a2d42e5c973a854f","origin_key":"python:scripts.summarize_r1_v8_gates.peak","qualified_name":"scripts.summarize_r1_v8_gates.peak","visibility":"public","evidence_level":"source_static"}, +{"id":"python-dc92097d1f158b5f","kind":"python_callable","current_path":"perovskite-sim/scripts/summarize_r1_v8_gates.py","route_id":"route-a2d42e5c973a854f","origin_key":"python:scripts.summarize_r1_v8_gates.summarize","qualified_name":"scripts.summarize_r1_v8_gates.summarize","visibility":"public","evidence_level":"source_static"}, +{"id":"python-e9d8cd13dcdd1ec5","kind":"python_callable","current_path":"perovskite-sim/scripts/verify_r1_v7_precision.py","route_id":"route-a48e6461253013d3","origin_key":"python:scripts.verify_r1_v7_precision._assert_binary_equal","qualified_name":"scripts.verify_r1_v7_precision._assert_binary_equal","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-2d225b6836b8dcdd","kind":"python_callable","current_path":"perovskite-sim/scripts/verify_r1_v7_precision.py","route_id":"route-a48e6461253013d3","origin_key":"python:scripts.verify_r1_v7_precision._bernoulli_decimal","qualified_name":"scripts.verify_r1_v7_precision._bernoulli_decimal","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-a3e11e110095f80b","kind":"python_callable","current_path":"perovskite-sim/scripts/verify_r1_v7_precision.py","route_id":"route-a48e6461253013d3","origin_key":"python:scripts.verify_r1_v7_precision._check_frozen","qualified_name":"scripts.verify_r1_v7_precision._check_frozen","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-7b0d42daed290979","kind":"python_callable","current_path":"perovskite-sim/scripts/verify_r1_v7_precision.py","route_id":"route-a48e6461253013d3","origin_key":"python:scripts.verify_r1_v7_precision._digest","qualified_name":"scripts.verify_r1_v7_precision._digest","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-05f122bdea9f1a4d","kind":"python_callable","current_path":"perovskite-sim/scripts/verify_r1_v7_precision.py","route_id":"route-a48e6461253013d3","origin_key":"python:scripts.verify_r1_v7_precision._evaluate","qualified_name":"scripts.verify_r1_v7_precision._evaluate","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-121e82990f6c4b80","kind":"python_callable","current_path":"perovskite-sim/scripts/verify_r1_v7_precision.py","route_id":"route-a48e6461253013d3","origin_key":"python:scripts.verify_r1_v7_precision._float_vector","qualified_name":"scripts.verify_r1_v7_precision._float_vector","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-e2674ce972a292ec","kind":"python_callable","current_path":"perovskite-sim/scripts/verify_r1_v7_precision.py","route_id":"route-a48e6461253013d3","origin_key":"python:scripts.verify_r1_v7_precision._state_vectors","qualified_name":"scripts.verify_r1_v7_precision._state_vectors","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-75c1e45ffdcc9e3b","kind":"python_callable","current_path":"perovskite-sim/scripts/verify_r1_v7_precision.py","route_id":"route-a48e6461253013d3","origin_key":"python:scripts.verify_r1_v7_precision._strings","qualified_name":"scripts.verify_r1_v7_precision._strings","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-837ecfa704161be4","kind":"python_callable","current_path":"perovskite-sim/scripts/verify_r1_v7_precision.py","route_id":"route-a48e6461253013d3","origin_key":"python:scripts.verify_r1_v7_precision._vector","qualified_name":"scripts.verify_r1_v7_precision._vector","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-689d4dc37dae2b5b","kind":"python_callable","current_path":"perovskite-sim/scripts/verify_r1_v7_precision.py","route_id":"route-a48e6461253013d3","origin_key":"python:scripts.verify_r1_v7_precision.compare_vectors","qualified_name":"scripts.verify_r1_v7_precision.compare_vectors","visibility":"public","evidence_level":"source_static"}, +{"id":"python-c2c49ed10e976621","kind":"python_callable","current_path":"perovskite-sim/scripts/verify_r1_v7_precision.py","route_id":"route-a48e6461253013d3","origin_key":"python:scripts.verify_r1_v7_precision.dec","qualified_name":"scripts.verify_r1_v7_precision.dec","visibility":"public","evidence_level":"source_static"}, +{"id":"python-f0e76ead019acd29","kind":"python_callable","current_path":"perovskite-sim/scripts/verify_r1_v7_precision.py","route_id":"route-a48e6461253013d3","origin_key":"python:scripts.verify_r1_v7_precision.evaluate_state","qualified_name":"scripts.verify_r1_v7_precision.evaluate_state","visibility":"public","evidence_level":"source_static"}, +{"id":"python-8d88e61b0cd5260f","kind":"python_callable","current_path":"perovskite-sim/scripts/verify_r1_v7_precision.py","route_id":"route-a48e6461253013d3","origin_key":"python:scripts.verify_r1_v7_precision.freeze_healthy_material","qualified_name":"scripts.verify_r1_v7_precision.freeze_healthy_material","visibility":"public","evidence_level":"source_static"}, +{"id":"python-d3218613d1931b4a","kind":"python_callable","current_path":"perovskite-sim/scripts/verify_r1_v7_precision.py","route_id":"route-a48e6461253013d3","origin_key":"python:scripts.verify_r1_v7_precision.main","qualified_name":"scripts.verify_r1_v7_precision.main","visibility":"public","evidence_level":"source_static"}, +{"id":"python-8841dc6dda70aead","kind":"python_callable","current_path":"perovskite-sim/scripts/verify_r1_v7_precision.py","route_id":"route-a48e6461253013d3","origin_key":"python:scripts.verify_r1_v7_precision.verify_pair","qualified_name":"scripts.verify_r1_v7_precision.verify_pair","visibility":"public","evidence_level":"source_static"}, +{"id":"python-96678720cc92656b","kind":"python_callable","current_path":"perovskite-sim/scripts/verify_r1_v7_precision.py","route_id":"route-a48e6461253013d3","origin_key":"python:scripts.verify_r1_v7_precision.verify_side","qualified_name":"scripts.verify_r1_v7_precision.verify_side","visibility":"public","evidence_level":"source_static"}, +{"id":"python-8440bd5cb08c7043","kind":"python_callable","current_path":"perovskite-sim/scripts/verify_r1_v8_precision.py","route_id":"route-f900147eb6d0d205","origin_key":"python:scripts.verify_r1_v8_precision.arithmetic_comparison","qualified_name":"scripts.verify_r1_v8_precision.arithmetic_comparison","visibility":"public","evidence_level":"source_static"}, +{"id":"python-44537a5e74962b29","kind":"python_callable","current_path":"perovskite-sim/scripts/verify_r1_v8_precision.py","route_id":"route-f900147eb6d0d205","origin_key":"python:scripts.verify_r1_v8_precision.as_snapshot","qualified_name":"scripts.verify_r1_v8_precision.as_snapshot","visibility":"public","evidence_level":"source_static"}, +{"id":"python-ac97853a8f2435c3","kind":"python_callable","current_path":"perovskite-sim/scripts/verify_r1_v8_precision.py","route_id":"route-f900147eb6d0d205","origin_key":"python:scripts.verify_r1_v8_precision.canonical","qualified_name":"scripts.verify_r1_v8_precision.canonical","visibility":"public","evidence_level":"source_static"}, +{"id":"python-f0708ae21c7208c7","kind":"python_callable","current_path":"perovskite-sim/scripts/verify_r1_v8_precision.py","route_id":"route-f900147eb6d0d205","origin_key":"python:scripts.verify_r1_v8_precision.digest","qualified_name":"scripts.verify_r1_v8_precision.digest","visibility":"public","evidence_level":"source_static"}, +{"id":"python-82191a4f4ba852f0","kind":"python_callable","current_path":"perovskite-sim/scripts/verify_r1_v8_precision.py","route_id":"route-f900147eb6d0d205","origin_key":"python:scripts.verify_r1_v8_precision.flatten","qualified_name":"scripts.verify_r1_v8_precision.flatten","visibility":"public","evidence_level":"source_static"}, +{"id":"python-e5ffbc23c2a82b23","kind":"python_callable","current_path":"perovskite-sim/scripts/verify_r1_v8_precision.py","route_id":"route-f900147eb6d0d205","origin_key":"python:scripts.verify_r1_v8_precision.observed","qualified_name":"scripts.verify_r1_v8_precision.observed","visibility":"public","evidence_level":"source_static"}, +{"id":"python-ae9b6a481a86ba8e","kind":"python_callable","current_path":"perovskite-sim/scripts/verify_r1_v8_precision.py","route_id":"route-f900147eb6d0d205","origin_key":"python:scripts.verify_r1_v8_precision.precision_fields","qualified_name":"scripts.verify_r1_v8_precision.precision_fields","visibility":"public","evidence_level":"source_static"}, +{"id":"python-c23e6c184d8eda80","kind":"python_callable","current_path":"perovskite-sim/scripts/verify_r1_v8_precision.py","route_id":"route-f900147eb6d0d205","origin_key":"python:scripts.verify_r1_v8_precision.represented","qualified_name":"scripts.verify_r1_v8_precision.represented","visibility":"public","evidence_level":"source_static"}, +{"id":"python-79d12bfa17681fd3","kind":"python_callable","current_path":"perovskite-sim/scripts/verify_r1_v8_precision.py","route_id":"route-f900147eb6d0d205","origin_key":"python:scripts.verify_r1_v8_precision.side_construction","qualified_name":"scripts.verify_r1_v8_precision.side_construction","visibility":"public","evidence_level":"source_static"}, +{"id":"python-fb693d99610e1f46","kind":"python_callable","current_path":"perovskite-sim/scripts/verify_r1_v8_precision.py","route_id":"route-f900147eb6d0d205","origin_key":"python:scripts.verify_r1_v8_precision.state_identity","qualified_name":"scripts.verify_r1_v8_precision.state_identity","visibility":"public","evidence_level":"source_static"}, +{"id":"python-6b6aff396fd505bc","kind":"python_callable","current_path":"perovskite-sim/scripts/verify_r1_v8_precision.py","route_id":"route-f900147eb6d0d205","origin_key":"python:scripts.verify_r1_v8_precision.verify_initial_arithmetic","qualified_name":"scripts.verify_r1_v8_precision.verify_initial_arithmetic","visibility":"public","evidence_level":"source_static"}, +{"id":"python-6b0ec3919d3bb1d0","kind":"python_callable","current_path":"perovskite-sim/scripts/verify_r1_v8_precision.py","route_id":"route-f900147eb6d0d205","origin_key":"python:scripts.verify_r1_v8_precision.verify_initial_update","qualified_name":"scripts.verify_r1_v8_precision.verify_initial_update","visibility":"public","evidence_level":"source_static"}, +{"id":"python-fe7dd890f3691f98","kind":"python_callable","current_path":"perovskite-sim/scripts/verify_r1_v8_precision.py","route_id":"route-f900147eb6d0d205","origin_key":"python:scripts.verify_r1_v8_precision.verify_two_sides","qualified_name":"scripts.verify_r1_v8_precision.verify_two_sides","visibility":"public","evidence_level":"source_static"}, +{"id":"python-d1e90255673dbc5c","kind":"python_class","current_path":"perovskite-sim/scripts/verify_r1_v9_precision.py","route_id":"route-d8727c3da104d882","origin_key":"python:scripts.verify_r1_v9_precision.ActualRecomputation","qualified_name":"scripts.verify_r1_v9_precision.ActualRecomputation","visibility":"public","evidence_level":"source_static"}, +{"id":"python-28739936577399d0","kind":"python_callable","current_path":"perovskite-sim/scripts/verify_r1_v9_precision.py","route_id":"route-d8727c3da104d882","origin_key":"python:scripts.verify_r1_v9_precision.ActualRecomputation.__init__","qualified_name":"scripts.verify_r1_v9_precision.ActualRecomputation.__init__","visibility":"private_cross_boundary_audit","evidence_level":"source_static"}, +{"id":"python-7f998d0ef1941bcc","kind":"python_callable","current_path":"perovskite-sim/scripts/verify_r1_v9_precision.py","route_id":"route-d8727c3da104d882","origin_key":"python:scripts.verify_r1_v9_precision.archived_v8_witnesses","qualified_name":"scripts.verify_r1_v9_precision.archived_v8_witnesses","visibility":"public","evidence_level":"source_static"}, +{"id":"python-ed8d3b1b0bad2536","kind":"python_callable","current_path":"perovskite-sim/scripts/verify_r1_v9_precision.py","route_id":"route-d8727c3da104d882","origin_key":"python:scripts.verify_r1_v9_precision.bind_replay_receipt","qualified_name":"scripts.verify_r1_v9_precision.bind_replay_receipt","visibility":"public","evidence_level":"source_static"}, +{"id":"python-f3179a8a034bcb3d","kind":"python_callable","current_path":"perovskite-sim/scripts/verify_r1_v9_precision.py","route_id":"route-d8727c3da104d882","origin_key":"python:scripts.verify_r1_v9_precision.capture_actual_recomputation","qualified_name":"scripts.verify_r1_v9_precision.capture_actual_recomputation","visibility":"public","evidence_level":"source_static"}, +{"id":"python-06efc546116beb46","kind":"python_callable","current_path":"perovskite-sim/scripts/verify_r1_v9_precision.py","route_id":"route-d8727c3da104d882","origin_key":"python:scripts.verify_r1_v9_precision.floor_capability","qualified_name":"scripts.verify_r1_v9_precision.floor_capability","visibility":"public","evidence_level":"source_static"}, +{"id":"python-a34179f99e830211","kind":"python_callable","current_path":"perovskite-sim/scripts/verify_r1_v9_precision.py","route_id":"route-d8727c3da104d882","origin_key":"python:scripts.verify_r1_v9_precision.record_binding","qualified_name":"scripts.verify_r1_v9_precision.record_binding","visibility":"public","evidence_level":"source_static"}, +{"id":"python-c3c63863f8a20348","kind":"python_callable","current_path":"perovskite-sim/scripts/verify_r1_v9_precision.py","route_id":"route-d8727c3da104d882","origin_key":"python:scripts.verify_r1_v9_precision.role_check","qualified_name":"scripts.verify_r1_v9_precision.role_check","visibility":"public","evidence_level":"source_static"}, +{"id":"python-5797d4faa1a58af1","kind":"python_callable","current_path":"perovskite-sim/scripts/verify_r1_v9_precision.py","route_id":"route-d8727c3da104d882","origin_key":"python:scripts.verify_r1_v9_precision.v2_bindings","qualified_name":"scripts.verify_r1_v9_precision.v2_bindings","visibility":"public","evidence_level":"source_static"}, +{"id":"python-3f339e7c64b2a33c","kind":"python_callable","current_path":"perovskite-sim/scripts/verify_r1_v9_precision.py","route_id":"route-d8727c3da104d882","origin_key":"python:scripts.verify_r1_v9_precision.verify_live_receipt","qualified_name":"scripts.verify_r1_v9_precision.verify_live_receipt","visibility":"public","evidence_level":"source_static"}, +{"id":"python-7432126d13b071ad","kind":"python_callable","current_path":"perovskite-sim/scripts/verify_r1_v9_precision.py","route_id":"route-d8727c3da104d882","origin_key":"python:scripts.verify_r1_v9_precision.verify_two_sides","qualified_name":"scripts.verify_r1_v9_precision.verify_two_sides","visibility":"public","evidence_level":"source_static"}, +{"id":"python-b507d8ef354ea3ba","kind":"python_callable","current_path":"perovskite-sim/scripts/verify_reproducibility.py","route_id":"route-09fdd2fe1e6061d4","origin_key":"python:scripts.verify_reproducibility.main","qualified_name":"scripts.verify_reproducibility.main","visibility":"public","evidence_level":"source_static"}, +{"id":"resource-9a3bcd422e391c05","kind":"registered_resource","current_path":"perovskite-sim/perovskite_sim/data/am15g.csv","route_id":"route-b63c99741b391fa6","origin_key":"resource:perovskite_sim/data/am15g.csv","evidence_level":"registered_content_hash_verified","registered_contract":{"path":"perovskite_sim/data/am15g.csv","sha256":"efa3f5ef4e71fbbd981e2741c296ee461b2421f50fa4819ba64a6cb026fae6a8"}}, +{"id":"resource-af78d4756cf1dcda","kind":"registered_resource","current_path":"perovskite-sim/perovskite_sim/data/layer_templates.yaml","route_id":"route-3888862d5670589f","origin_key":"resource:perovskite_sim/data/layer_templates.yaml","evidence_level":"registered_content_hash_verified","registered_contract":{"path":"perovskite_sim/data/layer_templates.yaml","sha256":"6a3dc2be4af2f2967230d17c7b39ff2be87bd3eec225eaa669520149189c3e5d"}}, +{"id":"resource-696d1fe606e19b2c","kind":"registered_resource","current_path":"perovskite-sim/perovskite_sim/data/nk/Ag.csv","route_id":"route-e755bd13d9c4a442","origin_key":"resource:perovskite_sim/data/nk/Ag.csv","evidence_level":"registered_content_hash_verified","registered_contract":{"path":"perovskite_sim/data/nk/Ag.csv","sha256":"4df8c2b7ca90d24be74477bc9e8a27ef83c2e7d42e2885465cdd87c70abbd3f3"}}, +{"id":"resource-e21265de102295a7","kind":"registered_resource","current_path":"perovskite-sim/perovskite_sim/data/nk/Au.csv","route_id":"route-71a05a55d5491409","origin_key":"resource:perovskite_sim/data/nk/Au.csv","evidence_level":"registered_content_hash_verified","registered_contract":{"path":"perovskite_sim/data/nk/Au.csv","sha256":"f573ae5583ec88e572b97bac5bf4f4629e17ad2d52c5ed7d8afc815d952ee7f1"}}, +{"id":"resource-fea27045bd1b6925","kind":"registered_resource","current_path":"perovskite-sim/perovskite_sim/data/nk/C60.csv","route_id":"route-bec743f78135c736","origin_key":"resource:perovskite_sim/data/nk/C60.csv","evidence_level":"registered_content_hash_verified","registered_contract":{"path":"perovskite_sim/data/nk/C60.csv","sha256":"60f7accc2cb26faac8d041861d1c4be5a15c244480c0e6d920acc980d938a68d"}}, +{"id":"resource-a7feeaca92f4c0df","kind":"registered_resource","current_path":"perovskite-sim/perovskite_sim/data/nk/Cu.csv","route_id":"route-d587d66b58526f43","origin_key":"resource:perovskite_sim/data/nk/Cu.csv","evidence_level":"registered_content_hash_verified","registered_contract":{"path":"perovskite_sim/data/nk/Cu.csv","sha256":"09fd0124c6d015d975a5eca1e9973b8416f02194e54df2cae63a322fbb013824"}}, +{"id":"resource-dfaa9c16e1957d12","kind":"registered_resource","current_path":"perovskite-sim/perovskite_sim/data/nk/FA_Cs_1p77.csv","route_id":"route-790eb532ed603b4a","origin_key":"resource:perovskite_sim/data/nk/FA_Cs_1p77.csv","evidence_level":"registered_content_hash_verified","registered_contract":{"path":"perovskite_sim/data/nk/FA_Cs_1p77.csv","sha256":"0ee7387604904b252319a8e538bac101af3dad2b5c8a05b50fa2bda883578013"}}, +{"id":"resource-9047d665300ad0e2","kind":"registered_resource","current_path":"perovskite-sim/perovskite_sim/data/nk/FTO.csv","route_id":"route-c967c225572391c9","origin_key":"resource:perovskite_sim/data/nk/FTO.csv","evidence_level":"registered_content_hash_verified","registered_contract":{"path":"perovskite_sim/data/nk/FTO.csv","sha256":"481cc65eb23e22cebe924324cbe9f4553a09c53a8f3429d1600fad1c7bd6e1e9"}}, +{"id":"resource-74bf9897d0ced4fd","kind":"registered_resource","current_path":"perovskite-sim/perovskite_sim/data/nk/ITO.csv","route_id":"route-e0e06212cf5c0b5b","origin_key":"resource:perovskite_sim/data/nk/ITO.csv","evidence_level":"registered_content_hash_verified","registered_contract":{"path":"perovskite_sim/data/nk/ITO.csv","sha256":"d75e26ff9979d7db96b45035a3540914a1fb9ca3cf2cde3c3edaead70c3cef2e"}}, +{"id":"resource-65d3de4015a4999c","kind":"registered_resource","current_path":"perovskite-sim/perovskite_sim/data/nk/MAPbI3.csv","route_id":"route-9fea75c6e2e5a994","origin_key":"resource:perovskite_sim/data/nk/MAPbI3.csv","evidence_level":"registered_content_hash_verified","registered_contract":{"path":"perovskite_sim/data/nk/MAPbI3.csv","sha256":"3e5e2b19c5563ba8132ab949270831c0aaa660be38aa26070c364a7414b9f6c7"}}, +{"id":"resource-7ab676e0242a0da0","kind":"registered_resource","current_path":"perovskite-sim/perovskite_sim/data/nk/NiOx.csv","route_id":"route-3ab50cee89ba4fd5","origin_key":"resource:perovskite_sim/data/nk/NiOx.csv","evidence_level":"registered_content_hash_verified","registered_contract":{"path":"perovskite_sim/data/nk/NiOx.csv","sha256":"b01357aca6a8eee41b2e22c87ec8ab5be4eca67254becf76af92d268ece8be81"}}, +{"id":"resource-e10745692d565744","kind":"registered_resource","current_path":"perovskite-sim/perovskite_sim/data/nk/PCBM.csv","route_id":"route-1947ebbe94feae55","origin_key":"resource:perovskite_sim/data/nk/PCBM.csv","evidence_level":"registered_content_hash_verified","registered_contract":{"path":"perovskite_sim/data/nk/PCBM.csv","sha256":"b03a78c4b97e2f8472266f4d3b5e7c9e1f23526531edd68b9dc80f95cd91ba56"}}, +{"id":"resource-1f1251e5d229a82e","kind":"registered_resource","current_path":"perovskite-sim/perovskite_sim/data/nk/PEDOT_PSS.csv","route_id":"route-8001b82ca83e9ebb","origin_key":"resource:perovskite_sim/data/nk/PEDOT_PSS.csv","evidence_level":"registered_content_hash_verified","registered_contract":{"path":"perovskite_sim/data/nk/PEDOT_PSS.csv","sha256":"0ccca48126dd4d27053e6c154f398c32873d0b935c40a3cda5672979cd578eb3"}}, +{"id":"resource-7a1df2020065f7f6","kind":"registered_resource","current_path":"perovskite-sim/perovskite_sim/data/nk/SnO2.csv","route_id":"route-59f4c6ae4520e730","origin_key":"resource:perovskite_sim/data/nk/SnO2.csv","evidence_level":"registered_content_hash_verified","registered_contract":{"path":"perovskite_sim/data/nk/SnO2.csv","sha256":"f3ba07ff715ceca647099c67eb478bad1281e0cb20d9118591f9b566938bafa2"}}, +{"id":"resource-fcbbf7caf7faaa9d","kind":"registered_resource","current_path":"perovskite-sim/perovskite_sim/data/nk/SnPb_1p22.csv","route_id":"route-0ce731ae30aa26d1","origin_key":"resource:perovskite_sim/data/nk/SnPb_1p22.csv","evidence_level":"registered_content_hash_verified","registered_contract":{"path":"perovskite_sim/data/nk/SnPb_1p22.csv","sha256":"29ab6df37a81e4425cbcaba4ea11df94e2117a0228ebd3a39fe38a9ca7d2799f"}}, +{"id":"resource-71fa53e0169a13f7","kind":"registered_resource","current_path":"perovskite-sim/perovskite_sim/data/nk/TiO2.csv","route_id":"route-8ff135567013105a","origin_key":"resource:perovskite_sim/data/nk/TiO2.csv","evidence_level":"registered_content_hash_verified","registered_contract":{"path":"perovskite_sim/data/nk/TiO2.csv","sha256":"d0773f2042cff4819d432fd07fbc560f2f894afa51fe2dc42f54aa4db24b2de6"}}, +{"id":"resource-f81c04cd24b7fa4d","kind":"registered_resource","current_path":"perovskite-sim/perovskite_sim/data/nk/glass.csv","route_id":"route-3772d9ddfb637a59","origin_key":"resource:perovskite_sim/data/nk/glass.csv","evidence_level":"registered_content_hash_verified","registered_contract":{"path":"perovskite_sim/data/nk/glass.csv","sha256":"767eeb506dab6f90722a61178649b5c59eb767a915a759db8d30b9160b8d452d"}}, +{"id":"resource-55c48a296a502813","kind":"registered_resource","current_path":"perovskite-sim/perovskite_sim/data/nk/manifest.yaml","route_id":"route-d074d2f27bcdd4b7","origin_key":"resource:perovskite_sim/data/nk/manifest.yaml","evidence_level":"registered_content_hash_verified","registered_contract":{"path":"perovskite_sim/data/nk/manifest.yaml","sha256":"9fa638d24385a4602a8752a26a9affd55c9083e9680024902a7bd430f5c76ea1"}}, +{"id":"resource-eedc6024b4c22dd7","kind":"registered_resource","current_path":"perovskite-sim/perovskite_sim/data/nk/spiro_OMeTAD.csv","route_id":"route-4a0f6f10869296c3","origin_key":"resource:perovskite_sim/data/nk/spiro_OMeTAD.csv","evidence_level":"registered_content_hash_verified","registered_contract":{"path":"perovskite_sim/data/nk/spiro_OMeTAD.csv","sha256":"45d4eff61f7be07371ce089b7d665bd670bf4e05e2c2950baab8592a9adccd31"}}, +{"id":"resource-448517dc062a781e","kind":"registered_resource","current_path":"perovskite-sim/perovskite_sim/data/references/csi_pn_cv_intercept.yaml","route_id":"route-2f7926ec845746ce","origin_key":"resource:perovskite_sim/data/references/csi_pn_cv_intercept.yaml","evidence_level":"registered_content_hash_verified","registered_contract":{"path":"perovskite_sim/data/references/csi_pn_cv_intercept.yaml","sha256":"14e38316eea8c65e1af81e578198f3c07dbacfb86ef239157840d519bf6320d7"}}, +{"id":"resource-7e2e1d0f62ea69f9","kind":"registered_resource","current_path":"perovskite-sim/perovskite_sim/data/references/csi_vannijen2025_pn_cv.yaml","route_id":"route-8d34172f85a01638","origin_key":"resource:perovskite_sim/data/references/csi_vannijen2025_pn_cv.yaml","evidence_level":"registered_content_hash_verified","registered_contract":{"path":"perovskite_sim/data/references/csi_vannijen2025_pn_cv.yaml","sha256":"b4cd86bc232bd9b22a8aee80e564d9c3a19899f93cdb413965e801d3fab7c81c"}}, +{"id":"schema_constant-3e8770efc5039dfc","kind":"schema_or_dispatch_constant","current_path":"perovskite-sim/perovskite_sim/experiments/bulk_defect_ion_transient.py","route_id":"route-6099117639558322","origin_key":"schema_constant:perovskite_sim.experiments.bulk_defect_ion_transient.BULK_DEFECT_ION_TRANSIENT_VERSION","qualified_name":"perovskite_sim.experiments.bulk_defect_ion_transient.BULK_DEFECT_ION_TRANSIENT_VERSION","source_line":68,"value":"bulk-defect-ion-device-transient-v1","evidence_level":"source_static"}, +{"id":"schema_constant-7ff25771fc488977","kind":"schema_or_dispatch_constant","current_path":"perovskite-sim/perovskite_sim/experiments/bulk_defect_transient.py","route_id":"route-7fdd0a08afe81954","origin_key":"schema_constant:perovskite_sim.experiments.bulk_defect_transient.BULK_DEFECT_TRANSIENT_VERSION","qualified_name":"perovskite_sim.experiments.bulk_defect_transient.BULK_DEFECT_TRANSIENT_VERSION","source_line":77,"value":"bulk-dynamic-defect-device-transient-v1","evidence_level":"source_static"}, +{"id":"schema_constant-46209aee8c1d049d","kind":"schema_or_dispatch_constant","current_path":"perovskite-sim/perovskite_sim/experiments/defect_aware_impedance.py","route_id":"route-2accc863cbfb1452","origin_key":"schema_constant:perovskite_sim.experiments.defect_aware_impedance.BULK_DEFECT_DEVICE_AC_VERSION","qualified_name":"perovskite_sim.experiments.defect_aware_impedance.BULK_DEFECT_DEVICE_AC_VERSION","source_line":63,"value":"bulk-dynamic-defect-device-ac-v1","evidence_level":"source_static"}, +{"id":"schema_constant-fe15e9267cf76ebe","kind":"schema_or_dispatch_constant","current_path":"perovskite-sim/perovskite_sim/experiments/defect_ion_combined_impedance.py","route_id":"route-7e52697666c1d1db","origin_key":"schema_constant:perovskite_sim.experiments.defect_ion_combined_impedance.DEFECT_ION_COMBINED_VERSION","qualified_name":"perovskite_sim.experiments.defect_ion_combined_impedance.DEFECT_ION_COMBINED_VERSION","source_line":82,"value":"defect-ion-combined-device-ac-v1","evidence_level":"source_static"}, +{"id":"schema_constant-daf6dda770d88947","kind":"schema_or_dispatch_constant","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_impedance.py","route_id":"route-130393a19cff03be","origin_key":"schema_constant:perovskite_sim.experiments.dynamic_defect_impedance.DYNAMIC_DEFECT_IMPEDANCE_SCHEMA","qualified_name":"perovskite_sim.experiments.dynamic_defect_impedance.DYNAMIC_DEFECT_IMPEDANCE_SCHEMA","source_line":60,"value":"dynamic-defect-impedance-protocol-v1","evidence_level":"source_static"}, +{"id":"schema_constant-836dc308dd9f35de","kind":"schema_or_dispatch_constant","current_path":"perovskite-sim/perovskite_sim/experiments/dynamic_defect_transient.py","route_id":"route-a56ff31ad57a1f0e","origin_key":"schema_constant:perovskite_sim.experiments.dynamic_defect_transient.DYNAMIC_DEFECT_TRANSIENT_SCHEMA","qualified_name":"perovskite_sim.experiments.dynamic_defect_transient.DYNAMIC_DEFECT_TRANSIENT_SCHEMA","source_line":39,"value":"dynamic-defect-transient-protocol-v1","evidence_level":"source_static"}, +{"id":"schema_constant-ec464074fef78956","kind":"schema_or_dispatch_constant","current_path":"perovskite-sim/perovskite_sim/experiments/interface_charge_jv.py","route_id":"route-5e747a794c569195","origin_key":"schema_constant:perovskite_sim.experiments.interface_charge_jv.INTERFACE_CHARGE_JV_PROTOCOL_SCHEMA","qualified_name":"perovskite_sim.experiments.interface_charge_jv.INTERFACE_CHARGE_JV_PROTOCOL_SCHEMA","source_line":42,"value":"interface-charge-jv-protocol-v1","evidence_level":"source_static"}, +{"id":"schema_constant-c01b840704227a8a","kind":"schema_or_dispatch_constant","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_aware_impedance.py","route_id":"route-0f4037cecfd2937f","origin_key":"schema_constant:perovskite_sim.experiments.interface_defect_aware_impedance.INTERFACE_DEFECT_DEVICE_AC_VERSION","qualified_name":"perovskite_sim.experiments.interface_defect_aware_impedance.INTERFACE_DEFECT_DEVICE_AC_VERSION","source_line":55,"value":"two-sided-dynamic-interface-device-ac-v1","evidence_level":"source_static"}, +{"id":"schema_constant-f2a25b52611204c7","kind":"schema_or_dispatch_constant","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_ion_transient.py","route_id":"route-4a5beb0fdcf3619a","origin_key":"schema_constant:perovskite_sim.experiments.interface_defect_ion_transient.INTERFACE_DEFECT_ION_TRANSIENT_VERSION","qualified_name":"perovskite_sim.experiments.interface_defect_ion_transient.INTERFACE_DEFECT_ION_TRANSIENT_VERSION","source_line":70,"value":"interface-defect-ion-transient-v2","evidence_level":"source_static"}, +{"id":"schema_constant-57efc426daaa42d5","kind":"schema_or_dispatch_constant","current_path":"perovskite-sim/perovskite_sim/experiments/interface_defect_transient.py","route_id":"route-9b19d2ed844a6c53","origin_key":"schema_constant:perovskite_sim.experiments.interface_defect_transient.INTERFACE_DEFECT_TRANSIENT_VERSION","qualified_name":"perovskite_sim.experiments.interface_defect_transient.INTERFACE_DEFECT_TRANSIENT_VERSION","source_line":82,"value":"two-sided-dynamic-interface-transient-v2","evidence_level":"source_static"}, +{"id":"schema_constant-9c8a4c2c9243a23d","kind":"schema_or_dispatch_constant","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_dc.py","route_id":"route-540527431655d5fb","origin_key":"schema_constant:perovskite_sim.experiments.ion_aware_dc.ION_AWARE_DC_PROTOCOL_SCHEMA","qualified_name":"perovskite_sim.experiments.ion_aware_dc.ION_AWARE_DC_PROTOCOL_SCHEMA","source_line":49,"value":"ion-aware-dc-protocol-v1","evidence_level":"source_static"}, +{"id":"schema_constant-25d9f83c50d93968","kind":"schema_or_dispatch_constant","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_dc.py","route_id":"route-540527431655d5fb","origin_key":"schema_constant:perovskite_sim.experiments.ion_aware_dc.ION_AWARE_DC_STATE_HASH_SCHEMA","qualified_name":"perovskite_sim.experiments.ion_aware_dc.ION_AWARE_DC_STATE_HASH_SCHEMA","source_line":50,"value":"ion-aware-dc-state-f64le-v1","evidence_level":"source_static"}, +{"id":"schema_constant-9cea31d6177513f4","kind":"schema_or_dispatch_constant","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance.py","route_id":"route-66a78cb7e2ee8eba","origin_key":"schema_constant:perovskite_sim.experiments.ion_aware_impedance.ION_AWARE_IMPEDANCE_PROTOCOL_SCHEMA","qualified_name":"perovskite_sim.experiments.ion_aware_impedance.ION_AWARE_IMPEDANCE_PROTOCOL_SCHEMA","source_line":53,"value":"ion-aware-impedance-protocol-v2","evidence_level":"source_static"}, +{"id":"schema_constant-c4cac9d72b51fb67","kind":"schema_or_dispatch_constant","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance_grid.py","route_id":"route-3ca1dfa513a1e322","origin_key":"schema_constant:perovskite_sim.experiments.ion_aware_impedance_grid.ION_AWARE_IMPEDANCE_GRID_HASH_SCHEMA","qualified_name":"perovskite_sim.experiments.ion_aware_impedance_grid.ION_AWARE_IMPEDANCE_GRID_HASH_SCHEMA","source_line":28,"value":"ion-aware-impedance-grid-f64-v1","evidence_level":"source_static"}, +{"id":"schema_constant-75d39f61131b8b1c","kind":"schema_or_dispatch_constant","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance_grid.py","route_id":"route-3ca1dfa513a1e322","origin_key":"schema_constant:perovskite_sim.experiments.ion_aware_impedance_grid.ION_AWARE_IMPEDANCE_GRID_PROTOCOL_SCHEMA","qualified_name":"perovskite_sim.experiments.ion_aware_impedance_grid.ION_AWARE_IMPEDANCE_GRID_PROTOCOL_SCHEMA","source_line":25,"value":"ion-aware-impedance-grid-protocol-v1","evidence_level":"source_static"}, +{"id":"schema_constant-7a03d3eb1e026a1c","kind":"schema_or_dispatch_constant","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_impedance_lockin.py","route_id":"route-e427668ae85b61ce","origin_key":"schema_constant:perovskite_sim.experiments.ion_aware_impedance_lockin.ION_AWARE_TRANSIENT_LOCKIN_PROTOCOL_SCHEMA","qualified_name":"perovskite_sim.experiments.ion_aware_impedance_lockin.ION_AWARE_TRANSIENT_LOCKIN_PROTOCOL_SCHEMA","source_line":44,"value":"ion-aware-transient-lockin-protocol-v1","evidence_level":"source_static"}, +{"id":"schema_constant-92b774715de45790","kind":"schema_or_dispatch_constant","current_path":"perovskite-sim/perovskite_sim/experiments/ion_aware_structured_jacobian.py","route_id":"route-d50045e506093dad","origin_key":"schema_constant:perovskite_sim.experiments.ion_aware_structured_jacobian.ION_AWARE_STRUCTURED_JACOBIAN_PROTOCOL_SCHEMA","qualified_name":"perovskite_sim.experiments.ion_aware_structured_jacobian.ION_AWARE_STRUCTURED_JACOBIAN_PROTOCOL_SCHEMA","source_line":82,"value":"ion-aware-structured-jacobian-protocol-v11","evidence_level":"source_static"}, +{"id":"schema_constant-a77388a4cadc836c","kind":"schema_or_dispatch_constant","current_path":"perovskite-sim/perovskite_sim/experiments/metastable_preparation.py","route_id":"route-122501331d596e6c","origin_key":"schema_constant:perovskite_sim.experiments.metastable_preparation.METASTABLE_PREPARATION_VERSION","qualified_name":"perovskite_sim.experiments.metastable_preparation.METASTABLE_PREPARATION_VERSION","source_line":66,"value":"metastable-stationary-preparation-v1","evidence_level":"source_static"}, +{"id":"schema_constant-b4686ec574e02d6e","kind":"schema_or_dispatch_constant","current_path":"perovskite-sim/perovskite_sim/experiments/metastable_transient.py","route_id":"route-ef61f462b2550dc9","origin_key":"schema_constant:perovskite_sim.experiments.metastable_transient.METASTABLE_TRANSIENT_VERSION","qualified_name":"perovskite_sim.experiments.metastable_transient.METASTABLE_TRANSIENT_VERSION","source_line":72,"value":"metastable-operator-split-transient-v1","evidence_level":"source_static"}, +{"id":"schema_constant-fbb5dd4f1b50aeb5","kind":"schema_or_dispatch_constant","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_independent_physics.py","route_id":"route-6e34c8d8fbbe3985","origin_key":"schema_constant:perovskite_sim.experiments.one_dimensional_mechanism_r1_independent_physics.SCHEMA","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_independent_physics.SCHEMA","source_line":17,"value":"R1IndependentPhysicsRowV1","evidence_level":"source_static"}, +{"id":"schema_constant-1b9f6bc186da73fc","kind":"schema_or_dispatch_constant","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_independent_regular.py","route_id":"route-be90e1983fe18133","origin_key":"schema_constant:perovskite_sim.experiments.one_dimensional_mechanism_r1_independent_regular.SCHEMA","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_independent_regular.SCHEMA","source_line":18,"value":"R1IndependentRegularCurrentV1","evidence_level":"source_static"}, +{"id":"schema_constant-bdfd7d13e580299d","kind":"schema_or_dispatch_constant","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift_codec.py","route_id":"route-67f4fa91e8d361c2","origin_key":"schema_constant:perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_codec.SCHEMA","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_codec.SCHEMA","source_line":29,"value":"R1InputLiftCheckpointV1","evidence_level":"source_static"}, +{"id":"schema_constant-56413030ccf9e634","kind":"schema_or_dispatch_constant","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift_codec.py","route_id":"route-67f4fa91e8d361c2","origin_key":"schema_constant:perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_codec.SNAPSHOT_SCHEMA","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_input_lift_codec.SNAPSHOT_SCHEMA","source_line":30,"value":"R1InputLiftStateV1","evidence_level":"source_static"}, +{"id":"schema_constant-5d51f4c2efe9f589","kind":"schema_or_dispatch_constant","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_pair_codec.py","route_id":"route-883887b3dfdfe620","origin_key":"schema_constant:perovskite_sim.experiments.one_dimensional_mechanism_r1_pair_codec.FAILED_PREPARATION_SCHEMA","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_pair_codec.FAILED_PREPARATION_SCHEMA","source_line":22,"value":"R1FailedPreparationPairV2","evidence_level":"source_static"}, +{"id":"schema_constant-ff4fade051a04857","kind":"schema_or_dispatch_constant","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_pair_codec.py","route_id":"route-883887b3dfdfe620","origin_key":"schema_constant:perovskite_sim.experiments.one_dimensional_mechanism_r1_pair_codec.SCHEMA","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_pair_codec.SCHEMA","source_line":19,"value":"R1CommonStatePairV2","evidence_level":"source_static"}, +{"id":"schema_constant-fbd09fd350090e51","kind":"schema_or_dispatch_constant","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_pair_codec.py","route_id":"route-883887b3dfdfe620","origin_key":"schema_constant:perovskite_sim.experiments.one_dimensional_mechanism_r1_pair_codec.STEP_SCHEMA","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_pair_codec.STEP_SCHEMA","source_line":20,"value":"R1ControlledStepV2","evidence_level":"source_static"}, +{"id":"schema_constant-debde3f3d3596c1d","kind":"schema_or_dispatch_constant","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_pair_codec.py","route_id":"route-883887b3dfdfe620","origin_key":"schema_constant:perovskite_sim.experiments.one_dimensional_mechanism_r1_pair_codec.ZERO_SCHEMA","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_pair_codec.ZERO_SCHEMA","source_line":21,"value":"R1ZeroExcitationV2","evidence_level":"source_static"}, +{"id":"schema_constant-6163284da016e2ba","kind":"schema_or_dispatch_constant","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_pair_response.py","route_id":"route-5b3fb4c2e7faa4fd","origin_key":"schema_constant:perovskite_sim.experiments.one_dimensional_mechanism_r1_pair_response.SCHEMAS","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_pair_response.SCHEMAS","source_line":21,"value":{"R1ControlledDCResponseV1":"R1ControlledDCResponseV2","R1DCConductanceStudyV1":"R1DCConductanceStudyV2","R1DCEndpointAmplitudeStudyV1":"R1DCEndpointAmplitudeStudyV2","R1ControlledSmallSignalV1":"R1ControlledSmallSignalV2"},"evidence_level":"source_static"}, +{"id":"schema_constant-bb69c989f03c95fa","kind":"schema_or_dispatch_constant","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_physics_validation.py","route_id":"route-2c7423ecd5b7cfb3","origin_key":"schema_constant:perovskite_sim.experiments.one_dimensional_mechanism_r1_physics_validation.ROW_SCHEMA","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_physics_validation.ROW_SCHEMA","source_line":29,"value":"R1StateEquationRowV1","evidence_level":"source_static"}, +{"id":"schema_constant-a2f15a342978e71d","kind":"schema_or_dispatch_constant","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_physics_validation.py","route_id":"route-2c7423ecd5b7cfb3","origin_key":"schema_constant:perovskite_sim.experiments.one_dimensional_mechanism_r1_physics_validation.SCHEMA","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_physics_validation.SCHEMA","source_line":28,"value":"R1StateEquationReconstructionV1","evidence_level":"source_static"}, +{"id":"schema_constant-f09b6b603af86d66","kind":"schema_or_dispatch_constant","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_precision_state.py","route_id":"route-479bfc89ba54017b","origin_key":"schema_constant:perovskite_sim.experiments.one_dimensional_mechanism_r1_precision_state.SCHEMA","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_precision_state.SCHEMA","source_line":19,"value":"R1CommonStatePairV1","evidence_level":"source_static"}, +{"id":"schema_constant-ebd39b429d4103e4","kind":"schema_or_dispatch_constant","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_precision_state.py","route_id":"route-479bfc89ba54017b","origin_key":"schema_constant:perovskite_sim.experiments.one_dimensional_mechanism_r1_precision_state.SEED_SCHEMA","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_precision_state.SEED_SCHEMA","source_line":21,"value":"R1CommonStateV1","evidence_level":"source_static"}, +{"id":"schema_constant-3bcfc9aa6a8cd159","kind":"schema_or_dispatch_constant","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_protocol.py","route_id":"route-5574a77d963b18e7","origin_key":"schema_constant:perovskite_sim.experiments.one_dimensional_mechanism_r1_protocol.VERSION","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_protocol.VERSION","source_line":29,"value":"r1-1-controls-and-initial-charge-v5-independent-physics","evidence_level":"source_static"}, +{"id":"schema_constant-57ae53587f231509","kind":"schema_or_dispatch_constant","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_state.py","route_id":"route-3437e4b3d969b4d5","origin_key":"schema_constant:perovskite_sim.experiments.one_dimensional_mechanism_r1_state.STATE_SCHEMA","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_state.STATE_SCHEMA","source_line":46,"value":"R1CommonStateV1","evidence_level":"source_static"}, +{"id":"schema_constant-35a834aedc37aafc","kind":"schema_or_dispatch_constant","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_study_request.py","route_id":"route-d0a73f45c47411ab","origin_key":"schema_constant:perovskite_sim.experiments.one_dimensional_mechanism_r1_study_request.SCHEMA","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_study_request.SCHEMA","source_line":13,"value":"R1StudyExecutionPlanV1","evidence_level":"source_static"}, +{"id":"schema_constant-2b10d7e290c2ca56","kind":"schema_or_dispatch_constant","current_path":"perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_window.py","route_id":"route-1c4ca2bc1a62b894","origin_key":"schema_constant:perovskite_sim.experiments.one_dimensional_mechanism_r1_window.WINDOW_SCHEMA","qualified_name":"perovskite_sim.experiments.one_dimensional_mechanism_r1_window.WINDOW_SCHEMA","source_line":18,"value":"R1ObservationWindowV1","evidence_level":"source_static"}, +{"id":"schema_constant-e6685ad3047b80e6","kind":"schema_or_dispatch_constant","current_path":"perovskite-sim/perovskite_sim/experiments/protocol.py","route_id":"route-ca59b5ef4a3f6fa3","origin_key":"schema_constant:perovskite_sim.experiments.protocol._EXPERIMENT_KINDS","qualified_name":"perovskite_sim.experiments.protocol._EXPERIMENT_KINDS","source_line":23,"value":["eqe","impedance","jv_hysteresis","suns_voc","tpv"],"evidence_level":"source_static"}, +{"id":"schema_constant-9c9e14dca161d089","kind":"schema_or_dispatch_constant","current_path":"perovskite-sim/perovskite_sim/experiments/trap_small_signal.py","route_id":"route-a2dac88b7495c3ed","origin_key":"schema_constant:perovskite_sim.experiments.trap_small_signal.TRAP_PERTURBATION_SCHEMA","qualified_name":"perovskite_sim.experiments.trap_small_signal.TRAP_PERTURBATION_SCHEMA","source_line":34,"value":"solarlab-local-trap-perturbation-v1","evidence_level":"source_static"}, +{"id":"schema_constant-24e3447f2872410a","kind":"schema_or_dispatch_constant","current_path":"perovskite-sim/perovskite_sim/experiments/trap_small_signal.py","route_id":"route-a2dac88b7495c3ed","origin_key":"schema_constant:perovskite_sim.experiments.trap_small_signal.TRAP_SMALL_SIGNAL_PROTOCOL_SCHEMA","qualified_name":"perovskite_sim.experiments.trap_small_signal.TRAP_SMALL_SIGNAL_PROTOCOL_SCHEMA","source_line":33,"value":"solarlab-local-trap-small-signal-v1","evidence_level":"source_static"}, +{"id":"schema_constant-3a69d46808da8717","kind":"schema_or_dispatch_constant","current_path":"perovskite-sim/perovskite_sim/models/defects.py","route_id":"route-b800342e538ea2d1","origin_key":"schema_constant:perovskite_sim.models.defects.EXPLICIT_DEFECT_DISTRIBUTION_SCHEMA_VERSION","qualified_name":"perovskite_sim.models.defects.EXPLICIT_DEFECT_DISTRIBUTION_SCHEMA_VERSION","source_line":20,"value":"solarlab-explicit-bulk-defects-v2","evidence_level":"source_static"}, +{"id":"schema_constant-314f3770ca33db21","kind":"schema_or_dispatch_constant","current_path":"perovskite-sim/perovskite_sim/models/defects.py","route_id":"route-b800342e538ea2d1","origin_key":"schema_constant:perovskite_sim.models.defects.EXPLICIT_DEFECT_SCHEMA_VERSION","qualified_name":"perovskite_sim.models.defects.EXPLICIT_DEFECT_SCHEMA_VERSION","source_line":19,"value":"solarlab-explicit-bulk-defects-v1","evidence_level":"source_static"}, +{"id":"schema_constant-2d7b70d381a4c40e","kind":"schema_or_dispatch_constant","current_path":"perovskite-sim/perovskite_sim/models/defects.py","route_id":"route-b800342e538ea2d1","origin_key":"schema_constant:perovskite_sim.models.defects.EXPLICIT_DEFECT_SPATIAL_SCHEMA_VERSION","qualified_name":"perovskite_sim.models.defects.EXPLICIT_DEFECT_SPATIAL_SCHEMA_VERSION","source_line":23,"value":"solarlab-explicit-bulk-defects-v3","evidence_level":"source_static"}, +{"id":"schema_constant-a9cbeac3786fe4dd","kind":"schema_or_dispatch_constant","current_path":"perovskite-sim/perovskite_sim/models/defects.py","route_id":"route-b800342e538ea2d1","origin_key":"schema_constant:perovskite_sim.models.defects.SUPPORTED_EXPLICIT_DEFECT_SCHEMA_VERSIONS","qualified_name":"perovskite_sim.models.defects.SUPPORTED_EXPLICIT_DEFECT_SCHEMA_VERSIONS","source_line":24,"value":"frozenset({EXPLICIT_DEFECT_SCHEMA_VERSION, EXPLICIT_DEFECT_DISTRIBUTION_SCHEMA_VERSION, EXPLICIT_DEFECT_SPATIAL_SCHEMA_VERSION})","evidence_level":"source_static"}, +{"id":"schema_constant-149445ac1ac1c911","kind":"schema_or_dispatch_constant","current_path":"perovskite-sim/perovskite_sim/models/interface_defects.py","route_id":"route-47275d8cae52d1c6","origin_key":"schema_constant:perovskite_sim.models.interface_defects.EXPLICIT_INTERFACE_DEFECT_SCHEMA_VERSION","qualified_name":"perovskite_sim.models.interface_defects.EXPLICIT_INTERFACE_DEFECT_SCHEMA_VERSION","source_line":20,"value":"solarlab-explicit-interface-defects-v1","evidence_level":"source_static"}, +{"id":"schema_constant-99d72843161ebc5a","kind":"schema_or_dispatch_constant","current_path":"perovskite-sim/perovskite_sim/models/multivalent_defects.py","route_id":"route-f2fb3894a767ab0b","origin_key":"schema_constant:perovskite_sim.models.multivalent_defects.METASTABLE_DEFECT_SCHEMA_VERSION","qualified_name":"perovskite_sim.models.multivalent_defects.METASTABLE_DEFECT_SCHEMA_VERSION","source_line":29,"value":"solarlab-metastable-bulk-defects-v1","evidence_level":"source_static"}, +{"id":"schema_constant-a1fac976cb73ecc2","kind":"schema_or_dispatch_constant","current_path":"perovskite-sim/perovskite_sim/models/multivalent_defects.py","route_id":"route-f2fb3894a767ab0b","origin_key":"schema_constant:perovskite_sim.models.multivalent_defects.METASTABLE_PREPARATION_SCHEMA_VERSION","qualified_name":"perovskite_sim.models.multivalent_defects.METASTABLE_PREPARATION_SCHEMA_VERSION","source_line":30,"value":"solarlab-metastable-preparation-v1","evidence_level":"source_static"}, +{"id":"schema_constant-bc6a8f1ef577ac3c","kind":"schema_or_dispatch_constant","current_path":"perovskite-sim/perovskite_sim/models/multivalent_defects.py","route_id":"route-f2fb3894a767ab0b","origin_key":"schema_constant:perovskite_sim.models.multivalent_defects.MULTIVALENT_DEFECT_SCHEMA_VERSION","qualified_name":"perovskite_sim.models.multivalent_defects.MULTIVALENT_DEFECT_SCHEMA_VERSION","source_line":28,"value":"solarlab-explicit-bulk-defects-v4","evidence_level":"source_static"}, +{"id":"schema_constant-a69632e9f2df91bb","kind":"schema_or_dispatch_constant","current_path":"perovskite-sim/perovskite_sim/models/tunneling_channels.py","route_id":"route-e98430e35cbc35f0","origin_key":"schema_constant:perovskite_sim.models.tunneling_channels.TUNNELLING_CHANNEL_SCHEMA_VERSION","qualified_name":"perovskite_sim.models.tunneling_channels.TUNNELLING_CHANNEL_SCHEMA_VERSION","source_line":45,"value":"solarlab-wkb-tunnelling-channels-v1","evidence_level":"source_static"}, +{"id":"schema_constant-9cfabed709690056","kind":"schema_or_dispatch_constant","current_path":"perovskite-sim/perovskite_sim/physics/defect_closure.py","route_id":"route-108317e3109dd879","origin_key":"schema_constant:perovskite_sim.physics.defect_closure.MONOVALENT_BULK_DEFECT_MODEL_VERSION","qualified_name":"perovskite_sim.physics.defect_closure.MONOVALENT_BULK_DEFECT_MODEL_VERSION","source_line":53,"value":"monovalent-device-mb-qf-dc-v1","evidence_level":"source_static"}, +{"id":"schema_constant-dc889d5934c1cd08","kind":"schema_or_dispatch_constant","current_path":"perovskite-sim/perovskite_sim/physics/defect_closure.py","route_id":"route-108317e3109dd879","origin_key":"schema_constant:perovskite_sim.physics.defect_closure.MONOVALENT_DEFECT_CLOSURE_VERSION","qualified_name":"perovskite_sim.physics.defect_closure.MONOVALENT_DEFECT_CLOSURE_VERSION","source_line":52,"value":"monovalent-local-mb-v1","evidence_level":"source_static"}, +{"id":"schema_constant-55b08b941e2ce463","kind":"schema_or_dispatch_constant","current_path":"perovskite-sim/perovskite_sim/physics/defect_distributions.py","route_id":"route-69cbc8c249cae851","origin_key":"schema_constant:perovskite_sim.physics.defect_distributions.DEFECT_ENERGY_QUADRATURE_VERSION","qualified_name":"perovskite_sim.physics.defect_distributions.DEFECT_ENERGY_QUADRATURE_VERSION","source_line":32,"value":"normalized-finite-support-v1","evidence_level":"source_static"}, +{"id":"schema_constant-07ec562e5ce20e4e","kind":"schema_or_dispatch_constant","current_path":"perovskite-sim/perovskite_sim/physics/distributed_defect_closure.py","route_id":"route-716aea63eb4178e4","origin_key":"schema_constant:perovskite_sim.physics.distributed_defect_closure.ENERGY_DISTRIBUTED_DEFECT_CLOSURE_VERSION","qualified_name":"perovskite_sim.physics.distributed_defect_closure.ENERGY_DISTRIBUTED_DEFECT_CLOSURE_VERSION","source_line":43,"value":"monovalent-energy-distributed-mb-v1","evidence_level":"source_static"}, +{"id":"schema_constant-e622b50ace00009d","kind":"schema_or_dispatch_constant","current_path":"perovskite-sim/perovskite_sim/physics/dynamic_defect_state.py","route_id":"route-a1ddb1d3142ac66a","origin_key":"schema_constant:perovskite_sim.physics.dynamic_defect_state.DYNAMIC_BULK_TRAP_EVALUATION_VERSION","qualified_name":"perovskite_sim.physics.dynamic_defect_state.DYNAMIC_BULK_TRAP_EVALUATION_VERSION","source_line":29,"value":"monovalent-bulk-dynamic-evaluation-v1","evidence_level":"source_static"}, +{"id":"schema_constant-0135e2e52d171414","kind":"schema_or_dispatch_constant","current_path":"perovskite-sim/perovskite_sim/physics/dynamic_defect_state.py","route_id":"route-a1ddb1d3142ac66a","origin_key":"schema_constant:perovskite_sim.physics.dynamic_defect_state.DYNAMIC_BULK_TRAP_LAYOUT_VERSION","qualified_name":"perovskite_sim.physics.dynamic_defect_state.DYNAMIC_BULK_TRAP_LAYOUT_VERSION","source_line":28,"value":"monovalent-bulk-dynamic-layout-v1","evidence_level":"source_static"}, +{"id":"schema_constant-ef69309f5d860204","kind":"schema_or_dispatch_constant","current_path":"perovskite-sim/perovskite_sim/physics/metastable_defect_closure.py","route_id":"route-d2fb47f08b8af2ba","origin_key":"schema_constant:perovskite_sim.physics.metastable_defect_closure.METASTABLE_CONFIGURATION_CLOSURE_VERSION","qualified_name":"perovskite_sim.physics.metastable_defect_closure.METASTABLE_CONFIGURATION_CLOSURE_VERSION","source_line":63,"value":"metastable-local-configuration-v1","evidence_level":"source_static"}, +{"id":"schema_constant-1d50c3d5a8ed32ec","kind":"schema_or_dispatch_constant","current_path":"perovskite-sim/perovskite_sim/physics/metastable_defect_device.py","route_id":"route-24d1f2b4bd711399","origin_key":"schema_constant:perovskite_sim.physics.metastable_defect_device.FROZEN_METASTABLE_MODEL_VERSION","qualified_name":"perovskite_sim.physics.metastable_defect_device.FROZEN_METASTABLE_MODEL_VERSION","source_line":44,"value":"metastable-frozen-configuration-device-v1","evidence_level":"source_static"}, +{"id":"schema_constant-3c6da9e3b644527b","kind":"schema_or_dispatch_constant","current_path":"perovskite-sim/perovskite_sim/physics/metastable_dynamic_state.py","route_id":"route-fa598cd61b2ea6b7","origin_key":"schema_constant:perovskite_sim.physics.metastable_dynamic_state.METASTABLE_DYNAMIC_STATE_VERSION","qualified_name":"perovskite_sim.physics.metastable_dynamic_state.METASTABLE_DYNAMIC_STATE_VERSION","source_line":51,"value":"metastable-dynamic-configuration-v1","evidence_level":"source_static"}, +{"id":"schema_constant-c633835c60f9b5f9","kind":"schema_or_dispatch_constant","current_path":"perovskite-sim/perovskite_sim/physics/multivalent_defect_closure.py","route_id":"route-0345e88ff9597357","origin_key":"schema_constant:perovskite_sim.physics.multivalent_defect_closure.MULTIVALENT_DEFECT_CLOSURE_VERSION","qualified_name":"perovskite_sim.physics.multivalent_defect_closure.MULTIVALENT_DEFECT_CLOSURE_VERSION","source_line":27,"value":"multivalent-local-mb-master-v1","evidence_level":"source_static"}, +{"id":"schema_constant-6da877bbbfcf8c2c","kind":"schema_or_dispatch_constant","current_path":"perovskite-sim/perovskite_sim/physics/multivalent_defect_device.py","route_id":"route-8dbbd61dabd00c1f","origin_key":"schema_constant:perovskite_sim.physics.multivalent_defect_device.MULTIVALENT_BULK_DEFECT_MODEL_VERSION","qualified_name":"perovskite_sim.physics.multivalent_defect_device.MULTIVALENT_BULK_DEFECT_MODEL_VERSION","source_line":36,"value":"multivalent-device-mb-qf-dc-v1","evidence_level":"source_static"}, +{"id":"schema_constant-d2198c83a2c9e423","kind":"schema_or_dispatch_constant","current_path":"perovskite-sim/perovskite_sim/physics/trap_kinetics.py","route_id":"route-960df0ca64e33313","origin_key":"schema_constant:perovskite_sim.physics.trap_kinetics.TRAP_RESERVOIR_KINETICS_SCHEMA","qualified_name":"perovskite_sim.physics.trap_kinetics.TRAP_RESERVOIR_KINETICS_SCHEMA","source_line":36,"value":"solarlab-trap-reservoir-kinetics-v1","evidence_level":"source_static"}, +{"id":"schema_constant-ca0d10d86798eb90","kind":"schema_or_dispatch_constant","current_path":"perovskite-sim/perovskite_sim/physics/trap_kinetics.py","route_id":"route-960df0ca64e33313","origin_key":"schema_constant:perovskite_sim.physics.trap_kinetics.TRAP_RESERVOIR_STATE_SCHEMA","qualified_name":"perovskite_sim.physics.trap_kinetics.TRAP_RESERVOIR_STATE_SCHEMA","source_line":37,"value":"solarlab-trap-reservoir-state-v1","evidence_level":"source_static"}, +{"id":"schema_constant-5868252b328c1225","kind":"schema_or_dispatch_constant","current_path":"perovskite-sim/perovskite_sim/physics/trap_population_response.py","route_id":"route-46c0d51d5bd93915","origin_key":"schema_constant:perovskite_sim.physics.trap_population_response.TRAP_POPULATION_RESPONSE_VERSION","qualified_name":"perovskite_sim.physics.trap_population_response.TRAP_POPULATION_RESPONSE_VERSION","source_line":56,"value":"local-trap-population-frequency-v1","evidence_level":"source_static"}, +{"id":"schema_constant-644841d1d54ec974","kind":"schema_or_dispatch_constant","current_path":"perovskite-sim/perovskite_sim/physics/trap_transient.py","route_id":"route-c8e8f31424354d46","origin_key":"schema_constant:perovskite_sim.physics.trap_transient.DYNAMIC_TRAP_TRANSIENT_VERSION","qualified_name":"perovskite_sim.physics.trap_transient.DYNAMIC_TRAP_TRANSIENT_VERSION","source_line":25,"value":"monovalent-local-trap-transient-v1","evidence_level":"source_static"}, +{"id":"schema_constant-0e192b00af874030","kind":"schema_or_dispatch_constant","current_path":"perovskite-sim/perovskite_sim/physics/tunneling_channel_device.py","route_id":"route-90540c4c93c6e925","origin_key":"schema_constant:perovskite_sim.physics.tunneling_channel_device.TUNNELLING_CHANNEL_DEVICE_VERSION","qualified_name":"perovskite_sim.physics.tunneling_channel_device.TUNNELLING_CHANNEL_DEVICE_VERSION","source_line":29,"value":"wkb-tunnelling-channel-device-v2","evidence_level":"source_static"}, +{"id":"schema_constant-a752a954960f181b","kind":"schema_or_dispatch_constant","current_path":"perovskite-sim/perovskite_sim/physics/two_sided_interface_compensated.py","route_id":"route-681472f26b407b41","origin_key":"schema_constant:perovskite_sim.physics.two_sided_interface_compensated.SCHEMA","qualified_name":"perovskite_sim.physics.two_sided_interface_compensated.SCHEMA","source_line":34,"value":"TwoSidedInterfaceCompensatedV1","evidence_level":"source_static"}, +{"id":"schema_constant-f2823f82a598c1ab","kind":"schema_or_dispatch_constant","current_path":"perovskite-sim/perovskite_sim/scaps_compat/distributed_defects.py","route_id":"route-2cbeb7481b7e8b7a","origin_key":"schema_constant:perovskite_sim.scaps_compat.distributed_defects.SCAPS_DISTRIBUTED_DEFECT_ADAPTER_VERSION","qualified_name":"perovskite_sim.scaps_compat.distributed_defects.SCAPS_DISTRIBUTED_DEFECT_ADAPTER_VERSION","source_line":42,"value":"scaps-distributed-bulk-defect-v1","evidence_level":"source_static"}, +{"id":"schema_constant-3888137a081287eb","kind":"schema_or_dispatch_constant","current_path":"perovskite-sim/perovskite_sim/twod/experiments/jv_protocol_2d.py","route_id":"route-f9fdf98fcf51218e","origin_key":"schema_constant:perovskite_sim.twod.experiments.jv_protocol_2d.JV2D_PROTOCOL_SCHEMA","qualified_name":"perovskite_sim.twod.experiments.jv_protocol_2d.JV2D_PROTOCOL_SCHEMA","source_line":25,"value":"jv-2d-execution-protocol-v1","evidence_level":"source_static"}, +{"id":"schema_constant-982856899764b6bd","kind":"schema_or_dispatch_constant","current_path":"perovskite-sim/perovskite_sim/validation/charged_defect_refinement.py","route_id":"route-a9b4d7e51e16d73e","origin_key":"schema_constant:perovskite_sim.validation.charged_defect_refinement._SUITE_SCHEMA","qualified_name":"perovskite_sim.validation.charged_defect_refinement._SUITE_SCHEMA","source_line":40,"value":"solarlab.scaps_explicit_defect_reference_suite","evidence_level":"source_static"}, +{"id":"schema_constant-538034d316fc4bac","kind":"schema_or_dispatch_constant","current_path":"perovskite-sim/perovskite_sim/validation/defect_energy_refinement.py","route_id":"route-c829dfda2d1dc419","origin_key":"schema_constant:perovskite_sim.validation.defect_energy_refinement.DEFECT_ENERGY_REFINEMENT_VERSION","qualified_name":"perovskite_sim.validation.defect_energy_refinement.DEFECT_ENERGY_REFINEMENT_VERSION","source_line":21,"value":"local-defect-energy-order-v1","evidence_level":"source_static"}, +{"id":"schema_constant-736dc736b967bf05","kind":"schema_or_dispatch_constant","current_path":"perovskite-sim/perovskite_sim/validation/distributed_defect_refinement.py","route_id":"route-eac8eff18fe0b852","origin_key":"schema_constant:perovskite_sim.validation.distributed_defect_refinement.DISTRIBUTED_DEFECT_DEVICE_REFINEMENT_VERSION","qualified_name":"perovskite_sim.validation.distributed_defect_refinement.DISTRIBUTED_DEFECT_DEVICE_REFINEMENT_VERSION","source_line":52,"value":"distributed-defect-qf-dc-three-axis-v1","evidence_level":"source_static"}, +{"id":"schema_constant-fb90cfe311f3aaf6","kind":"schema_or_dispatch_constant","current_path":"perovskite-sim/perovskite_sim/validation/multivalent_defect_refinement.py","route_id":"route-e8b25e6d8730e1e7","origin_key":"schema_constant:perovskite_sim.validation.multivalent_defect_refinement._SUITE_SCHEMA","qualified_name":"perovskite_sim.validation.multivalent_defect_refinement._SUITE_SCHEMA","source_line":77,"value":"solarlab.scaps_multivalent_defect_reference_suite","evidence_level":"source_static"}, +{"id":"schema_constant-87ba23712e34025c","kind":"schema_or_dispatch_constant","current_path":"perovskite-sim/perovskite_sim/validation/numerical_certificate.py","route_id":"route-270572b713ec6865","origin_key":"schema_constant:perovskite_sim.validation.numerical_certificate.CELL_SCHEMA","qualified_name":"perovskite_sim.validation.numerical_certificate.CELL_SCHEMA","source_line":25,"value":"numerical-refinement-cell-v1","evidence_level":"source_static"}, +{"id":"schema_constant-20cb710c6537adbe","kind":"schema_or_dispatch_constant","current_path":"perovskite-sim/perovskite_sim/validation/numerical_certificate.py","route_id":"route-270572b713ec6865","origin_key":"schema_constant:perovskite_sim.validation.numerical_certificate.CERTIFICATE_SCHEMA","qualified_name":"perovskite_sim.validation.numerical_certificate.CERTIFICATE_SCHEMA","source_line":23,"value":"numerical-certificate-v1","evidence_level":"source_static"}, +{"id":"schema_constant-7c5dd0e651268cfa","kind":"schema_or_dispatch_constant","current_path":"perovskite-sim/perovskite_sim/validation/numerical_certificate.py","route_id":"route-270572b713ec6865","origin_key":"schema_constant:perovskite_sim.validation.numerical_certificate.REGISTRY_SCHEMA","qualified_name":"perovskite_sim.validation.numerical_certificate.REGISTRY_SCHEMA","source_line":24,"value":"numerical-refinement-registry-v1","evidence_level":"source_static"}, +{"id":"schema_constant-c86a0f7f2a4cf94e","kind":"schema_or_dispatch_constant","current_path":"perovskite-sim/perovskite_sim/validation/refinement_runner.py","route_id":"route-713848b2efca9ebf","origin_key":"schema_constant:perovskite_sim.validation.refinement_runner.MANIFEST_SCHEMA","qualified_name":"perovskite_sim.validation.refinement_runner.MANIFEST_SCHEMA","source_line":36,"value":"numerical-refinement-manifest-v1","evidence_level":"source_static"}, +{"id":"schema_constant-e9019423f08e976b","kind":"schema_or_dispatch_constant","current_path":"perovskite-sim/perovskite_sim/validation/refinement_runner.py","route_id":"route-713848b2efca9ebf","origin_key":"schema_constant:perovskite_sim.validation.refinement_runner.STATE_SCHEMA","qualified_name":"perovskite_sim.validation.refinement_runner.STATE_SCHEMA","source_line":37,"value":"numerical-refinement-state-v1","evidence_level":"source_static"}, +{"id":"schema_constant-e30d6a4256ac4ea1","kind":"schema_or_dispatch_constant","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"schema_constant:perovskite_sim.validation.regularization_certificate.REGULARIZATION_CERTIFICATE_SCHEMA","qualified_name":"perovskite_sim.validation.regularization_certificate.REGULARIZATION_CERTIFICATE_SCHEMA","source_line":27,"value":"rhs-regularization-certificate-v1","evidence_level":"source_static"}, +{"id":"schema_constant-01aed3e52a19469f","kind":"schema_or_dispatch_constant","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"schema_constant:perovskite_sim.validation.regularization_certificate.REGULARIZATION_EVALUATOR_VERSION","qualified_name":"perovskite_sim.validation.regularization_certificate.REGULARIZATION_EVALUATOR_VERSION","source_line":29,"value":"rhs-regularization-evaluator-v1","evidence_level":"source_static"}, +{"id":"schema_constant-afc0f04341331daf","kind":"schema_or_dispatch_constant","current_path":"perovskite-sim/perovskite_sim/validation/regularization_certificate.py","route_id":"route-3921f4bbba2b3750","origin_key":"schema_constant:perovskite_sim.validation.regularization_certificate.REGULARIZATION_STUDY_SCHEMA","qualified_name":"perovskite_sim.validation.regularization_certificate.REGULARIZATION_STUDY_SCHEMA","source_line":28,"value":"rhs-regularization-study-v1","evidence_level":"source_static"}, +{"id":"schema_constant-f4cb54d656844d6c","kind":"schema_or_dispatch_constant","current_path":"perovskite-sim/perovskite_sim/validation/spatial_defect_refinement.py","route_id":"route-29ff125b420a5abf","origin_key":"schema_constant:perovskite_sim.validation.spatial_defect_refinement.SPATIAL_DEFECT_DEVICE_REFINEMENT_VERSION","qualified_name":"perovskite_sim.validation.spatial_defect_refinement.SPATIAL_DEFECT_DEVICE_REFINEMENT_VERSION","source_line":63,"value":"spatial-defect-qf-dc-three-axis-v1","evidence_level":"source_static"}, +{"id":"schema_constant-a6066cdca08ce265","kind":"schema_or_dispatch_constant","current_path":"perovskite-sim/scripts/analyze_r1_v11_responses.py","route_id":"route-c21b39ba175ec933","origin_key":"schema_constant:scripts.analyze_r1_v11_responses.SCHEMAS","qualified_name":"scripts.analyze_r1_v11_responses.SCHEMAS","source_line":28,"value":{"collect-dc":"R1V11DCBaselineRequestV1","analyze":"R1V11ResponseAnalysisRequestV1"},"evidence_level":"source_static"}, +{"id":"schema_constant-3fcc5ab698700e29","kind":"schema_or_dispatch_constant","current_path":"perovskite-sim/scripts/analyze_r1_v12_responses.py","route_id":"route-df3c9c7665f365bc","origin_key":"schema_constant:scripts.analyze_r1_v12_responses.SCHEMAS","qualified_name":"scripts.analyze_r1_v12_responses.SCHEMAS","source_line":28,"value":{"collect-dc":"R1V12DCBaselineRequestV1","analyze":"R1V12ResponseAnalysisRequestV1"},"evidence_level":"source_static"}, +{"id":"schema_constant-f853e6b7d19394d4","kind":"schema_or_dispatch_constant","current_path":"perovskite-sim/scripts/compare_scaps_defect_reference.py","route_id":"route-411e3957a2ac2a5c","origin_key":"schema_constant:scripts.compare_scaps_defect_reference._REPORT_SCHEMA","qualified_name":"scripts.compare_scaps_defect_reference._REPORT_SCHEMA","source_line":51,"value":"solarlab.scaps_defect_comparison_report","evidence_level":"source_static"}, +{"id":"schema_constant-4a8154c5dc274cab","kind":"schema_or_dispatch_constant","current_path":"perovskite-sim/scripts/compare_scaps_defect_reference.py","route_id":"route-411e3957a2ac2a5c","origin_key":"schema_constant:scripts.compare_scaps_defect_reference._THRESHOLDS_SCHEMA","qualified_name":"scripts.compare_scaps_defect_reference._THRESHOLDS_SCHEMA","source_line":52,"value":"solarlab.scaps_defect_comparison_thresholds","evidence_level":"source_static"}, +{"id":"schema_constant-109e02dde78ea63b","kind":"schema_or_dispatch_constant","current_path":"perovskite-sim/scripts/import_scaps_defect_reference.py","route_id":"route-c443bc6cf8127da3","origin_key":"schema_constant:scripts.import_scaps_defect_reference._PARAMETER_SCHEMA","qualified_name":"scripts.import_scaps_defect_reference._PARAMETER_SCHEMA","source_line":17,"value":"solarlab.scaps_explicit_defect_parameter_manifest","evidence_level":"source_static"}, +{"id":"schema_constant-fd3440a5bc6fa15a","kind":"schema_or_dispatch_constant","current_path":"perovskite-sim/scripts/import_scaps_defect_reference.py","route_id":"route-c443bc6cf8127da3","origin_key":"schema_constant:scripts.import_scaps_defect_reference._REFERENCE_SCHEMA","qualified_name":"scripts.import_scaps_defect_reference._REFERENCE_SCHEMA","source_line":18,"value":"solarlab.scaps_explicit_defect_reference","evidence_level":"source_static"}, +{"id":"schema_constant-589c133253e03110","kind":"schema_or_dispatch_constant","current_path":"perovskite-sim/scripts/import_scaps_defect_reference.py","route_id":"route-c443bc6cf8127da3","origin_key":"schema_constant:scripts.import_scaps_defect_reference._SUITE_SCHEMA","qualified_name":"scripts.import_scaps_defect_reference._SUITE_SCHEMA","source_line":16,"value":"solarlab.scaps_explicit_defect_reference_suite","evidence_level":"source_static"}, +{"id":"schema_constant-1a0a37893bfcaec5","kind":"schema_or_dispatch_constant","current_path":"perovskite-sim/scripts/import_scaps_multivalent_defect_reference.py","route_id":"route-322eeeb695a998e9","origin_key":"schema_constant:scripts.import_scaps_multivalent_defect_reference._PARAMETER_SCHEMA","qualified_name":"scripts.import_scaps_multivalent_defect_reference._PARAMETER_SCHEMA","source_line":17,"value":"solarlab.scaps_multivalent_defect_parameter_manifest","evidence_level":"source_static"}, +{"id":"schema_constant-603476ffa2e37c04","kind":"schema_or_dispatch_constant","current_path":"perovskite-sim/scripts/import_scaps_multivalent_defect_reference.py","route_id":"route-322eeeb695a998e9","origin_key":"schema_constant:scripts.import_scaps_multivalent_defect_reference._REFERENCE_SCHEMA","qualified_name":"scripts.import_scaps_multivalent_defect_reference._REFERENCE_SCHEMA","source_line":18,"value":"solarlab.scaps_multivalent_defect_reference","evidence_level":"source_static"}, +{"id":"schema_constant-56b0808349776f26","kind":"schema_or_dispatch_constant","current_path":"perovskite-sim/scripts/import_scaps_multivalent_defect_reference.py","route_id":"route-322eeeb695a998e9","origin_key":"schema_constant:scripts.import_scaps_multivalent_defect_reference._SUITE_SCHEMA","qualified_name":"scripts.import_scaps_multivalent_defect_reference._SUITE_SCHEMA","source_line":16,"value":"solarlab.scaps_multivalent_defect_reference_suite","evidence_level":"source_static"}, +{"id":"schema_constant-f608325c9105a724","kind":"schema_or_dispatch_constant","current_path":"perovskite-sim/scripts/r1_v16_memory.py","route_id":"route-97ef29ec41e0fdb0","origin_key":"schema_constant:scripts.r1_v16_memory.SCHEMA","qualified_name":"scripts.r1_v16_memory.SCHEMA","source_line":23,"value":"R1V16NativeMemoryObservationV1","evidence_level":"source_static"}, +{"id":"schema_constant-4a31fad308b326af","kind":"schema_or_dispatch_constant","current_path":"perovskite-sim/scripts/run_r1_v10_cases.py","route_id":"route-9d294781b1c47384","origin_key":"schema_constant:scripts.run_r1_v10_cases.SCHEMA","qualified_name":"scripts.run_r1_v10_cases.SCHEMA","source_line":25,"value":"R1V10CaseRequestV1","evidence_level":"source_static"}, +{"id":"schema_constant-a52c312fa2067edb","kind":"schema_or_dispatch_constant","current_path":"perovskite-sim/scripts/run_r1_v11_cases.py","route_id":"route-84b836f3b8e313c4","origin_key":"schema_constant:scripts.run_r1_v11_cases.SCHEMA","qualified_name":"scripts.run_r1_v11_cases.SCHEMA","source_line":25,"value":"R1V11CaseRequestV1","evidence_level":"source_static"}, +{"id":"schema_constant-2fee114f16c27579","kind":"schema_or_dispatch_constant","current_path":"perovskite-sim/scripts/run_r1_v12_cases.py","route_id":"route-aaa0c5171f15bb37","origin_key":"schema_constant:scripts.run_r1_v12_cases.SCHEMA","qualified_name":"scripts.run_r1_v12_cases.SCHEMA","source_line":26,"value":"R1V12CaseRequestV1","evidence_level":"source_static"}, +{"id":"schema_constant-9da042753ee73caf","kind":"schema_or_dispatch_constant","current_path":"perovskite-sim/scripts/run_r1_v7_prototype.py","route_id":"route-f60540dff4a5bd5d","origin_key":"schema_constant:scripts.run_r1_v7_prototype.SCHEMA","qualified_name":"scripts.run_r1_v7_prototype.SCHEMA","source_line":28,"value":"R1V7PrototypeContractV1","evidence_level":"source_static"}, +{"id":"schema_constant-20ef128a06e2e92a","kind":"schema_or_dispatch_constant","current_path":"perovskite-sim/scripts/run_r1_v8_ablation.py","route_id":"route-685e6833fbc35d6c","origin_key":"schema_constant:scripts.run_r1_v8_ablation.SCHEMA","qualified_name":"scripts.run_r1_v8_ablation.SCHEMA","source_line":23,"value":"R1V8ReferenceAblationV1","evidence_level":"source_static"}, +{"id":"schema_constant-629c43e5ba934613","kind":"schema_or_dispatch_constant","current_path":"perovskite-sim/scripts/run_r1_v8_prototype.py","route_id":"route-8a5c1300ec2f4ddc","origin_key":"schema_constant:scripts.run_r1_v8_prototype.SCHEMA","qualified_name":"scripts.run_r1_v8_prototype.SCHEMA","source_line":28,"value":"R1V8PrototypeContractV1","evidence_level":"source_static"}, +{"id":"schema_constant-1e37423b49321f6a","kind":"schema_or_dispatch_constant","current_path":"perovskite-sim/scripts/run_r1_v9_prototype.py","route_id":"route-2db75d95400c1c0c","origin_key":"schema_constant:scripts.run_r1_v9_prototype.SCHEMA","qualified_name":"scripts.run_r1_v9_prototype.SCHEMA","source_line":28,"value":"R1V9ProductionValidationContractV1","evidence_level":"source_static"}, +{"id":"schema_constant-edfd0b91c9585cc4","kind":"schema_or_dispatch_constant","current_path":"perovskite-sim/scripts/verify_r1_v7_precision.py","route_id":"route-a48e6461253013d3","origin_key":"schema_constant:scripts.verify_r1_v7_precision.MATERIAL_SCHEMA","qualified_name":"scripts.verify_r1_v7_precision.MATERIAL_SCHEMA","source_line":23,"value":"R1V7FrozenHealthyMaterialV1","evidence_level":"source_static"}, +{"id":"schema_registry-4a10a15e0bed21a4","kind":"registered_input_schema","current_path":"perovskite-sim/reproducibility/SchemaRegistry.yaml","route_id":"route-8e5c3557b65e10ad","origin_key":"schema_registry:numerical-certificate-v1","source_key":"schemas.numerical-certificate-v1","evidence_level":"source_static","registered_contract":{"detector":"schema_version_equals_numerical-certificate-v1","loader":"perovskite_sim.validation.numerical_certificate.NumericalCertificate.from_dict","units":"per-metric-explicit","required_top_keys":["schema_version","certificate_sha256","run_id","lane_id","lane_definition_sha256","config_path","config_sha256","source_commit","source_fingerprint_sha256","environment","manifest_sha256","protocol_sha256","status","expected_cells","completed_cells","failed_cells","missing_cells","unconverged_dimensions","checks","cell_artifact_sha256","limitations"],"required_device_keys":[],"required_layer_keys":[],"status_values":["certified","partial","failed"],"invariants":["failed means one or more required cells or fields are missing or failed","partial means the matrix completed but at least one pre-registered gate failed","certified means both terminal grid and tolerance pairs and every quality gate passed","certificate content is immutable and references an immutable manifest snapshot"],"unknown_key_policy":"strict"}}, +{"id":"schema_registry-7f2a01a2a17fb779","kind":"registered_input_schema","current_path":"perovskite-sim/reproducibility/SchemaRegistry.yaml","route_id":"route-8e5c3557b65e10ad","origin_key":"schema_registry:numerical-refinement-manifest-v1","source_key":"schemas.numerical-refinement-manifest-v1","evidence_level":"source_static","registered_contract":{"detector":"schema_version_equals_numerical-refinement-manifest-v1","loader":"perovskite_sim.validation.refinement_runner._read_json","units":"per-metric-explicit","required_top_keys":["schema_version","run_id","lane_id","lane_definition_sha256","executor","executor_source_sha256","source","environment","expected_cells","artifacts","protocols","pending_cells","failed_cells","status"],"required_device_keys":[],"required_layer_keys":[],"status_values":["running","complete","complete_with_failures"],"invariants":["every completed cell artifact path equals cells/.json","canonical protocol documents and hashes are stored without threshold tuning","pending, failed, and complete state is recomputed during resume"],"unknown_key_policy":"strict"}}, +{"id":"schema_registry-a2c067533c7d9ffa","kind":"registered_input_schema","current_path":"perovskite-sim/reproducibility/SchemaRegistry.yaml","route_id":"route-8e5c3557b65e10ad","origin_key":"schema_registry:numerical-refinement-registry-v1","source_key":"schemas.numerical-refinement-registry-v1","evidence_level":"source_static","registered_contract":{"detector":"schema_version_equals_numerical-refinement-registry-v1","loader":"perovskite_sim.validation.numerical_certificate.load_refinement_registry","units":"per-metric-explicit","required_top_keys":["schema_version","certificate_schema","policy","lanes"],"required_device_keys":[],"required_layer_keys":[],"invariants":["every config is repository-relative and content-addressed by SHA-256","grid values are strictly increasing positive integers","tolerance factors are strictly decreasing positive values","observable and quality thresholds are declared before execution","changing a threshold requires a new lane ID"],"unknown_key_policy":"strict"}}, +{"id":"schema_registry-7782af1c7445891e","kind":"registered_input_schema","current_path":"perovskite-sim/reproducibility/SchemaRegistry.yaml","route_id":"route-8e5c3557b65e10ad","origin_key":"schema_registry:scaps-device-v1","source_key":"schemas.scaps-device-v1","evidence_level":"source_static","registered_contract":{"detector":"scaps_cgs_layers","loader":"perovskite_sim.scaps_compat.loader.load_scaps_yaml","units":"SCAPS-compatible cm/eV input converted to SI","required_top_keys":["device","layers"],"required_device_keys":["Phi","mode"],"optional_device_groups":{"built_in_potential":{"selector":"built_in_potential_mode","supported_modes":["semiconductor_work_function","metal_work_function","legacy_manual"],"compatibility_key":"V_bi"}},"required_layer_keys":["name","role","thickness_nm","E_g_eV","chi_eV","eps_r","mu_n_cm2","mu_p_cm2","N_C_cm3","N_V_cm3","N_D_cm3","N_A_cm3","v_th_cm_s"],"parked_defect_metadata":{"fields":["distribution","E_char_eV","N_peak_cm3"],"capability":"parked","reason":"imported Gaussian peak/total normalization is ambiguous"},"unknown_key_policy":"strict-for-defect-records"}}, +{"id":"schema_registry-3dcffeb796dc0f69","kind":"registered_input_schema","current_path":"perovskite-sim/reproducibility/SchemaRegistry.yaml","route_id":"route-8e5c3557b65e10ad","origin_key":"schema_registry:standard-device-v1","source_key":"schemas.standard-device-v1","evidence_level":"source_static","registered_contract":{"detector":"standard_si_layers","loader":"perovskite_sim.models.config_loader.load_device_from_yaml","units":"SI","required_top_keys":["device","layers"],"required_device_keys":[],"required_layer_keys":["name","role","thickness","eps_r","mu_n","mu_p","D_ion","P_lim","P0","ni","tau_n","tau_p","n1","p1","B_rad","C_n","C_p","alpha","N_A","N_D"],"optional_device_groups":{"graded_cigs_optics":{"selector":"graded_optics","default":false,"required_companion_key":"band_grading","required_layer_block":"cigs_graded_optics","capability":"research-build-once-optics"}},"optional_layer_groups":{"bulk_carrier_statistics":{"selector":"carrier_statistics","default":"maxwell_boltzmann","supported_modes":["maxwell_boltzmann","fermi_dirac"],"fermi_dirac_required_keys":["Eg","Nc300","Nv300"]},"dopant_ionization":{"selector":"dopant_ionization_model","default":"fully_ionized","supported_modes":["fully_ionized","discrete_level"],"discrete_level_required_material_keys":["Eg","Nc300","Nv300"],"donor_keys":["donor_binding_energy_eV","donor_degeneracy"],"acceptor_keys":["acceptor_binding_energy_eV","acceptor_degeneracy"],"binding_energy_units":"eV"},"band_gap_narrowing":{"selector":"band_gap_narrowing_model","default":"off","supported_modes":["off","slotboom"],"slotboom_required_material_keys":["Eg","Nc300","Nv300"],"companion_keys":["bgn_reference_energy_eV","bgn_reference_density_m3","bgn_log_shape","bgn_conduction_band_fraction"],"energy_units":"eV","density_units":"m-3"},"bulk_trap_energy_distribution":{"block":"bulk_trap_distribution","selector":"distribution","supported_modes":["single_level","gaussian"],"required_keys":["total_density_m3","center_eV_above_vb","sigma_n_m2","sigma_p_m2","thermal_velocity_m_s","charge_transition"],"gaussian_required_keys":["energy_sigma_eV"],"supported_charge_transitions":["acceptor","donor"],"capability":"research-equilibrium-only","density_units":"m-3","energy_units":"eV"},"graded_cigs_optics":{"block":"cigs_graded_optics","selector":"model","supported_modes":["minoura_2015"],"required_keys":["ggi_front","ggi_back","cgi"],"companion_keys":["slices","kk_quadrature_order"],"composition_domains":{"ggi":[0.0,1.0],"cgi":[0.75,1.0]},"wavelength_domain_nm":[190.745,1771.203],"independent_absorption_benchmark":"carron_2018","capability":"absorber-only-shared-electrical-grade"},"spatial_doping_profile":{"activation_keys":["N_A_bulk","N_D_bulk"],"companion_keys":["doping_profile_shape","doping_decay_length","doping_edge"],"supported_shapes":["gaussian"],"supported_edges":["front","back"],"density_units":"m-3","length_units":"m"}},"unknown_key_policy":"loader-permissive"}}, +{"id":"schema_registry-b7359f8c6981edb2","kind":"registered_input_schema","current_path":"perovskite-sim/reproducibility/SchemaRegistry.yaml","route_id":"route-8e5c3557b65e10ad","origin_key":"schema_registry:tandem-v1","source_key":"schemas.tandem-v1","evidence_level":"source_static","registered_contract":{"detector":"tandem_2T_monolithic","loader":"perovskite_sim.models.tandem_config.load_tandem_from_yaml","units":"mixed-explicit","required_top_keys":["schema_version","device_type","tandem"],"required_device_keys":[],"required_layer_keys":[],"unknown_key_policy":"loader-permissive"}}, +{"id":"test-4f312ab067016d9c","kind":"registered_test_node","current_path":"perovskite-sim/tests/integration/backend/test_user_configs_api.py","route_id":"route-3a91e5a492db3520","origin_key":"test:perovskite-sim/tests/integration/backend/test_user_configs_api.py::test_csi_underresolved_grid_returns_actionable_client_error","node_id":"perovskite-sim/tests/integration/backend/test_user_configs_api.py::test_csi_underresolved_grid_returns_actionable_client_error","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-7c3a65c4824b57be","kind":"registered_test_node","current_path":"perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py","route_id":"route-b806b563615b069b","origin_key":"test:perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_mixed_distributed_species_close_in_illuminated_qf_jv","node_id":"perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_mixed_distributed_species_close_in_illuminated_qf_jv","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-63ff29b3d21a55d5","kind":"registered_test_node","current_path":"perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py","route_id":"route-b806b563615b069b","origin_key":"test:perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_public_qf_jv_sweep_retains_charged_defect_certificates","node_id":"perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_public_qf_jv_sweep_retains_charged_defect_certificates","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-5f73e4a920474139","kind":"registered_test_node","current_path":"perovskite-sim/tests/integration/test_cigs_graded_optics.py","route_id":"route-fcafc4a7718c3edb","origin_key":"test:perovskite-sim/tests/integration/test_cigs_graded_optics.py::test_minoura_high_energy_absorption_agrees_with_independent_carron_model","node_id":"perovskite-sim/tests/integration/test_cigs_graded_optics.py::test_minoura_high_energy_absorption_agrees_with_independent_carron_model","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-3055e3986c75d0d3","kind":"registered_test_node","current_path":"perovskite-sim/tests/integration/test_cigs_graded_optics.py","route_id":"route-fcafc4a7718c3edb","origin_key":"test:perovskite-sim/tests/integration/test_cigs_graded_optics.py::test_shipped_research_config_builds_finite_photon_bounded_generation","node_id":"perovskite-sim/tests/integration/test_cigs_graded_optics.py::test_shipped_research_config_builds_finite_photon_bounded_generation","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-03fed0a28f081a18","kind":"registered_test_node","current_path":"perovskite-sim/tests/integration/test_cigs_graded_optics.py","route_id":"route-fcafc4a7718c3edb","origin_key":"test:perovskite-sim/tests/integration/test_cigs_graded_optics.py::test_uniform_composition_slice_limit_matches_one_homogeneous_layer","node_id":"perovskite-sim/tests/integration/test_cigs_graded_optics.py::test_uniform_composition_slice_limit_matches_one_homogeneous_layer","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-9250a63a993b2c94","kind":"registered_test_node","current_path":"perovskite-sim/tests/integration/test_degradation_snapshot_refinement.py","route_id":"route-8180e6a42c8cc31e","origin_key":"test:perovskite-sim/tests/integration/test_degradation_snapshot_refinement.py::test_snapshot_metrics_are_independent_of_preparation_step_size","node_id":"perovskite-sim/tests/integration/test_degradation_snapshot_refinement.py::test_snapshot_metrics_are_independent_of_preparation_step_size","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-917793d6c1152d4a","kind":"registered_test_node","current_path":"perovskite-sim/tests/integration/test_degradation_snapshot_refinement.py","route_id":"route-8180e6a42c8cc31e","origin_key":"test:perovskite-sim/tests/integration/test_degradation_snapshot_refinement.py::test_snapshot_voltage_sampling_resolves_voc_jsc_and_ff","node_id":"perovskite-sim/tests/integration/test_degradation_snapshot_refinement.py::test_snapshot_voltage_sampling_resolves_voc_jsc_and_ff","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-aa38aa44614c6a39","kind":"registered_test_node","current_path":"perovskite-sim/tests/integration/test_dynamic_defect_impedance.py","route_id":"route-b1447a4fec5c0b30","origin_key":"test:perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_bulk_dynamic_defect_impedance_is_protocol_bound_and_certified","node_id":"perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_bulk_dynamic_defect_impedance_is_protocol_bound_and_certified","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-5022410942c288c2","kind":"registered_test_node","current_path":"perovskite-sim/tests/integration/test_dynamic_defect_impedance.py","route_id":"route-b1447a4fec5c0b30","origin_key":"test:perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_interface_dynamic_defect_impedance_uses_two_sided_faces","node_id":"perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_interface_dynamic_defect_impedance_uses_two_sided_faces","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-c266ef46a5d09e19","kind":"registered_test_node","current_path":"perovskite-sim/tests/integration/test_dynamic_defect_impedance.py","route_id":"route-b1447a4fec5c0b30","origin_key":"test:perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_triple_coupled_defect_ion_impedance_is_certified","node_id":"perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_triple_coupled_defect_ion_impedance_is_certified","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-fea61e2a199b12b9","kind":"registered_test_node","current_path":"perovskite-sim/tests/integration/test_dynamic_defect_impedance.py","route_id":"route-b1447a4fec5c0b30","origin_key":"test:perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_registered_production_executor_emits_exact_metrics_and_protocol","node_id":"perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_registered_production_executor_emits_exact_metrics_and_protocol","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-93ba21a37217ae64","kind":"registered_test_node","current_path":"perovskite-sim/tests/integration/test_dynamic_defect_impedance_api.py","route_id":"route-5092c30773a52c7f","origin_key":"test:perovskite-sim/tests/integration/test_dynamic_defect_impedance_api.py::test_real_dynamic_defect_impedance_api_serializes_protocol_and_evidence","node_id":"perovskite-sim/tests/integration/test_dynamic_defect_impedance_api.py::test_real_dynamic_defect_impedance_api_serializes_protocol_and_evidence","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-b62f526de14eadca","kind":"registered_test_node","current_path":"perovskite-sim/tests/integration/test_dynamic_defect_transient.py","route_id":"route-988e460287fd9346","origin_key":"test:perovskite-sim/tests/integration/test_dynamic_defect_transient.py::test_public_dynamic_defect_transient_is_protocol_bound_and_certified","node_id":"perovskite-sim/tests/integration/test_dynamic_defect_transient.py::test_public_dynamic_defect_transient_is_protocol_bound_and_certified","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-c05eb905eb899cd1","kind":"registered_test_node","current_path":"perovskite-sim/tests/integration/test_dynamic_defect_transient_api.py","route_id":"route-6f8d4f5d4e5cb364","origin_key":"test:perovskite-sim/tests/integration/test_dynamic_defect_transient_api.py::test_real_dynamic_defect_transient_api_serializes_protocol_and_evidence","node_id":"perovskite-sim/tests/integration/test_dynamic_defect_transient_api.py::test_real_dynamic_defect_transient_api_serializes_protocol_and_evidence","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-31c40f1f59ae8824","kind":"registered_test_node","current_path":"perovskite-sim/tests/integration/test_external_circuit_refinement.py","route_id":"route-c649a12407ab45c9","origin_key":"test:perovskite-sim/tests/integration/test_external_circuit_refinement.py::test_real_registered_external_circuit_cell_returns_all_certificate_axes","node_id":"perovskite-sim/tests/integration/test_external_circuit_refinement.py::test_real_registered_external_circuit_cell_returns_all_certificate_axes","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-9b88349c86e4c172","kind":"registered_test_node","current_path":"perovskite-sim/tests/integration/test_external_circuit_refinement.py","route_id":"route-c649a12407ab45c9","origin_key":"test:perovskite-sim/tests/integration/test_external_circuit_refinement.py::test_real_resolved_external_circuit_cell_covers_operating_quadrant","node_id":"perovskite-sim/tests/integration/test_external_circuit_refinement.py::test_real_resolved_external_circuit_cell_covers_operating_quadrant","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-0df678c273d21304","kind":"registered_test_node","current_path":"perovskite-sim/tests/integration/test_foundation_mobile_refinement.py","route_id":"route-e50cccf095e95962","origin_key":"test:perovskite-sim/tests/integration/test_foundation_mobile_refinement.py::test_space_refinement_preserves_each_ion_inventory_and_profiles","node_id":"perovskite-sim/tests/integration/test_foundation_mobile_refinement.py::test_space_refinement_preserves_each_ion_inventory_and_profiles","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-13ea5bbdb630c806","kind":"registered_test_node","current_path":"perovskite-sim/tests/integration/test_foundation_mobile_refinement.py","route_id":"route-e50cccf095e95962","origin_key":"test:perovskite-sim/tests/integration/test_foundation_mobile_refinement.py::test_time_refinement_preserves_the_same_ramp_and_hold","node_id":"perovskite-sim/tests/integration/test_foundation_mobile_refinement.py::test_time_refinement_preserves_the_same_ramp_and_hold","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-f7ce48a243699b53","kind":"registered_test_node","current_path":"perovskite-sim/tests/integration/test_foundation_mobile_refinement.py","route_id":"route-e50cccf095e95962","origin_key":"test:perovskite-sim/tests/integration/test_foundation_mobile_refinement.py::test_tolerance_refinement_preserves_mobile_and_electronic_states","node_id":"perovskite-sim/tests/integration/test_foundation_mobile_refinement.py::test_tolerance_refinement_preserves_mobile_and_electronic_states","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-3fb40181fa7529da","kind":"registered_test_node","current_path":"perovskite-sim/tests/integration/test_foundation_tpv_spatial_refinement.py","route_id":"route-a09065616cd4ffe7","origin_key":"test:perovskite-sim/tests/integration/test_foundation_tpv_spatial_refinement.py::test_three_spatial_levels_resolve_the_same_physical_tpv","node_id":"perovskite-sim/tests/integration/test_foundation_tpv_spatial_refinement.py::test_three_spatial_levels_resolve_the_same_physical_tpv","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-05da3d62869dd717","kind":"registered_test_node","current_path":"perovskite-sim/tests/integration/test_foundation_twod_axis_refinement.py","route_id":"route-c9e542353aa3dfe7","origin_key":"test:perovskite-sim/tests/integration/test_foundation_twod_axis_refinement.py::test_lateral_refinement_preserves_the_uniform_state_and_currents","node_id":"perovskite-sim/tests/integration/test_foundation_twod_axis_refinement.py::test_lateral_refinement_preserves_the_uniform_state_and_currents","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-05ca1530e5b77103","kind":"registered_test_node","current_path":"perovskite-sim/tests/integration/test_foundation_twod_axis_refinement.py","route_id":"route-c9e542353aa3dfe7","origin_key":"test:perovskite-sim/tests/integration/test_foundation_twod_axis_refinement.py::test_vertical_refinement_approaches_the_same_active_transport_limit","node_id":"perovskite-sim/tests/integration/test_foundation_twod_axis_refinement.py::test_vertical_refinement_approaches_the_same_active_transport_limit","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-86453863ed237b32","kind":"registered_test_node","current_path":"perovskite-sim/tests/integration/test_interface_defect_ion_transient.py","route_id":"route-d7e5d70def0ab980","origin_key":"test:perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_deep_time_refinement_retains_charge_and_all_face_current_closure","node_id":"perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_deep_time_refinement_retains_charge_and_all_face_current_closure","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-f697167932acd8d5","kind":"registered_test_node","current_path":"perovskite-sim/tests/integration/test_multivalent_explicit_defects_qf.py","route_id":"route-f3704acc92eb4df8","origin_key":"test:perovskite-sim/tests/integration/test_multivalent_explicit_defects_qf.py::test_single_transition_v4_device_recovers_the_monovalent_qf_dc_route","node_id":"perovskite-sim/tests/integration/test_multivalent_explicit_defects_qf.py::test_single_transition_v4_device_recovers_the_monovalent_qf_dc_route","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-04994ff7ad70511e","kind":"registered_test_node","current_path":"perovskite-sim/tests/integration/test_scaps_mirror_cbo_trend.py","route_id":"route-3af1b70058a60bb2","origin_key":"test:perovskite-sim/tests/integration/test_scaps_mirror_cbo_trend.py::test_cbo_voc_drops_at_cliff","node_id":"perovskite-sim/tests/integration/test_scaps_mirror_cbo_trend.py::test_cbo_voc_drops_at_cliff","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-d2596d66add6ccfc","kind":"registered_test_node","current_path":"perovskite-sim/tests/integration/test_scaps_mirror_cbo_trend.py","route_id":"route-3af1b70058a60bb2","origin_key":"test:perovskite-sim/tests/integration/test_scaps_mirror_cbo_trend.py::test_cbo_voc_holds_at_spike","node_id":"perovskite-sim/tests/integration/test_scaps_mirror_cbo_trend.py::test_cbo_voc_holds_at_spike","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-d40fbf340c5becaa","kind":"registered_test_node","current_path":"perovskite-sim/tests/integration/test_scaps_mirror_cbo_trend.py","route_id":"route-3af1b70058a60bb2","origin_key":"test:perovskite-sim/tests/integration/test_scaps_mirror_cbo_trend.py::test_cbo_voc_range_at_least_200mV","node_id":"perovskite-sim/tests/integration/test_scaps_mirror_cbo_trend.py::test_cbo_voc_range_at_least_200mV","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-0e334a72823d9f7f","kind":"registered_test_node","current_path":"perovskite-sim/tests/integration/test_spatially_graded_explicit_defects_qf.py","route_id":"route-7c9018435c0cda2c","origin_key":"test:perovskite-sim/tests/integration/test_spatially_graded_explicit_defects_qf.py::test_spatially_graded_dark_qf_state_and_small_jv_are_certified","node_id":"perovskite-sim/tests/integration/test_spatially_graded_explicit_defects_qf.py::test_spatially_graded_dark_qf_state_and_small_jv_are_certified","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-47b1d0b40ff926aa","kind":"registered_test_node","current_path":"perovskite-sim/tests/integration/test_tandem_lin2019.py","route_id":"route-a174f9fa1758f45c","origin_key":"test:perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_absorber_thicknesses_follow_paper","node_id":"perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_absorber_thicknesses_follow_paper","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-3ddfcf1614473314","kind":"registered_test_node","current_path":"perovskite-sim/tests/integration/test_tandem_lin2019.py","route_id":"route-a174f9fa1758f45c","origin_key":"test:perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_cu_optics_cover_protocol_from_native_source","node_id":"perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_cu_optics_cover_protocol_from_native_source","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-cbbfe8d50275e2e0","kind":"registered_test_node","current_path":"perovskite-sim/tests/integration/test_tandem_lin2019.py","route_id":"route-a174f9fa1758f45c","origin_key":"test:perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_jsc_within_tolerance","node_id":"perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_jsc_within_tolerance","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-882c522004448454","kind":"registered_test_node","current_path":"perovskite-sim/tests/integration/test_tandem_lin2019.py","route_id":"route-a174f9fa1758f45c","origin_key":"test:perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_observations_match_reproducibility_registry","node_id":"perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_observations_match_reproducibility_registry","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-8e551ed96134ab29","kind":"registered_test_node","current_path":"perovskite-sim/tests/integration/test_tandem_lin2019.py","route_id":"route-a174f9fa1758f45c","origin_key":"test:perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_pce_within_tolerance","node_id":"perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_pce_within_tolerance","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-764854a355426d9a","kind":"registered_test_node","current_path":"perovskite-sim/tests/integration/test_tandem_lin2019.py","route_id":"route-a174f9fa1758f45c","origin_key":"test:perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_source_stack_and_reported_thicknesses","node_id":"perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_source_stack_and_reported_thicknesses","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-bdf9b8f65e01b1eb","kind":"registered_test_node","current_path":"perovskite-sim/tests/integration/test_tandem_lin2019.py","route_id":"route-a174f9fa1758f45c","origin_key":"test:perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_subcell_currents_match_within_two_percent","node_id":"perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_subcell_currents_match_within_two_percent","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-877dbbff3291ea5c","kind":"registered_test_node","current_path":"perovskite-sim/tests/integration/test_tandem_lin2019.py","route_id":"route-a174f9fa1758f45c","origin_key":"test:perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_subcells_respect_their_photon_budgets","node_id":"perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_subcells_respect_their_photon_budgets","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-18140084831578e4","kind":"registered_test_node","current_path":"perovskite-sim/tests/integration/test_tandem_lin2019.py","route_id":"route-a174f9fa1758f45c","origin_key":"test:perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_voc_and_ff_within_tolerance","node_id":"perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_voc_and_ff_within_tolerance","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-d979d6733e0a52f4","kind":"registered_test_node","current_path":"perovskite-sim/tests/integration/test_tpv_open_circuit_refinement.py","route_id":"route-7ab03f31d5b1ed86","origin_key":"test:perovskite-sim/tests/integration/test_tpv_open_circuit_refinement.py::test_three_time_levels_preserve_the_same_pulse_and_preparation","node_id":"perovskite-sim/tests/integration/test_tpv_open_circuit_refinement.py::test_three_time_levels_preserve_the_same_pulse_and_preparation","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-604ba80c70fb9dfa","kind":"registered_test_node","current_path":"perovskite-sim/tests/integration/test_tpv_open_circuit_refinement.py","route_id":"route-7ab03f31d5b1ed86","origin_key":"test:perovskite-sim/tests/integration/test_tpv_open_circuit_refinement.py::test_three_tolerance_levels_resolve_the_same_waveform","node_id":"perovskite-sim/tests/integration/test_tpv_open_circuit_refinement.py::test_three_tolerance_levels_resolve_the_same_waveform","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-1b5f7c8515814c35","kind":"registered_test_node","current_path":"perovskite-sim/tests/integration/test_tpv_open_circuit_refinement.py","route_id":"route-7ab03f31d5b1ed86","origin_key":"test:perovskite-sim/tests/integration/test_tpv_open_circuit_refinement.py::test_two_amplitude_halvings_recover_the_small_signal_limit","node_id":"perovskite-sim/tests/integration/test_tpv_open_circuit_refinement.py::test_two_amplitude_halvings_recover_the_small_signal_limit","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-f346fcabe697689f","kind":"registered_test_node","current_path":"perovskite-sim/tests/integration/test_tunnelling_channels_device.py","route_id":"route-494eef5ee9e21e7d","origin_key":"test:perovskite-sim/tests/integration/test_tunnelling_channels_device.py::test_equilibrium_device_current_is_bounded_without_saturated_occupations","node_id":"perovskite-sim/tests/integration/test_tunnelling_channels_device.py::test_equilibrium_device_current_is_bounded_without_saturated_occupations","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-6bc4461cf644e882","kind":"registered_test_node","current_path":"perovskite-sim/tests/integration/test_tunnelling_channels_device.py","route_id":"route-494eef5ee9e21e7d","origin_key":"test:perovskite-sim/tests/integration/test_tunnelling_channels_device.py::test_retracted_fixture_does_not_retain_the_old_large_flux_claim","node_id":"perovskite-sim/tests/integration/test_tunnelling_channels_device.py::test_retracted_fixture_does_not_retain_the_old_large_flux_claim","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-f24da9bccf254e3e","kind":"registered_test_node","current_path":"perovskite-sim/tests/integration/test_tunnelling_channels_device.py","route_id":"route-494eef5ee9e21e7d","origin_key":"test:perovskite-sim/tests/integration/test_tunnelling_channels_device.py::test_the_channel_is_driven_by_the_local_drop_not_the_contact_split","node_id":"perovskite-sim/tests/integration/test_tunnelling_channels_device.py::test_the_channel_is_driven_by_the_local_drop_not_the_contact_split","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-54bfba2285db2397","kind":"registered_test_node","current_path":"perovskite-sim/tests/integration/test_twod_combined_refinement.py","route_id":"route-a4f83b68a7a648b3","origin_key":"test:perovskite-sim/tests/integration/test_twod_combined_refinement.py::test_real_registered_combined_twod_cell_returns_all_certificate_axes","node_id":"perovskite-sim/tests/integration/test_twod_combined_refinement.py::test_real_registered_combined_twod_cell_returns_all_certificate_axes","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-40d459ace312e426","kind":"registered_test_node","current_path":"perovskite-sim/tests/integration/test_twod_combined_refinement.py","route_id":"route-a4f83b68a7a648b3","origin_key":"test:perovskite-sim/tests/integration/test_twod_combined_refinement.py::test_registered_twod_matrix_keeps_every_accepted_state_physical","node_id":"perovskite-sim/tests/integration/test_twod_combined_refinement.py::test_registered_twod_matrix_keeps_every_accepted_state_physical","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-12ae29e0d4e4199a","kind":"registered_test_node","current_path":"perovskite-sim/tests/integration/twod/test_jv_sweep_2d_microstructure.py","route_id":"route-c9579d64266782a1","origin_key":"test:perovskite-sim/tests/integration/twod/test_jv_sweep_2d_microstructure.py::test_jv_sweep_2d_singleGB_runs_to_completion","node_id":"perovskite-sim/tests/integration/twod/test_jv_sweep_2d_microstructure.py::test_jv_sweep_2d_singleGB_runs_to_completion","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-99f8f205f9fdde54","kind":"registered_test_node","current_path":"perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py","route_id":"route-dbb0aa115a1d4a9c","origin_key":"test:perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py::test_csi_apparent_intercept_shift_matches_published_pn_range","node_id":"perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py::test_csi_apparent_intercept_shift_matches_published_pn_range","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-09ceca74aa5fa208","kind":"registered_test_node","current_path":"perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py","route_id":"route-dbb0aa115a1d4a9c","origin_key":"test:perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py::test_csi_depletion_cv_curve_converges_on_registered_grid_ladder","node_id":"perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py::test_csi_depletion_cv_curve_converges_on_registered_grid_ladder","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-d85fbeff2dca4ed7","kind":"registered_test_node","current_path":"perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py","route_id":"route-dbb0aa115a1d4a9c","origin_key":"test:perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py::test_csi_depletion_cv_has_frequency_and_all_face_plateaus","node_id":"perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py::test_csi_depletion_cv_has_frequency_and_all_face_plateaus","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-2c199db715c37e77","kind":"registered_test_node","current_path":"perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py","route_id":"route-dbb0aa115a1d4a9c","origin_key":"test:perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py::test_csi_frequency_domain_has_capacitance_plateau_and_current_certificate","node_id":"perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py::test_csi_frequency_domain_has_capacitance_plateau_and_current_certificate","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-5ace3e207fb6ebf1","kind":"registered_test_node","current_path":"perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py","route_id":"route-dbb0aa115a1d4a9c","origin_key":"test:perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py::test_csi_frequency_domain_is_stable_to_steps_and_nominal_amplitude","node_id":"perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py::test_csi_frequency_domain_is_stable_to_steps_and_nominal_amplitude","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-3d2dac257c36a80a","kind":"registered_test_node","current_path":"perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py","route_id":"route-dbb0aa115a1d4a9c","origin_key":"test:perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py::test_csi_frequency_domain_matches_independent_dc_carrier_inventory","node_id":"perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py::test_csi_frequency_domain_matches_independent_dc_carrier_inventory","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-bd55b3e8663216be","kind":"registered_test_node","current_path":"perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py","route_id":"route-dbb0aa115a1d4a9c","origin_key":"test:perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py::test_csi_frequency_domain_observations_match_registry","node_id":"perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py::test_csi_frequency_domain_observations_match_registry","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-3e7ac696b5fb9cee","kind":"registered_test_node","current_path":"perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py","route_id":"route-dbb0aa115a1d4a9c","origin_key":"test:perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py::test_csi_frequency_domain_recovers_depletion_not_geometric_capacitance","node_id":"perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py::test_csi_frequency_domain_recovers_depletion_not_geometric_capacitance","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-34ca08eb4c0b986e","kind":"registered_test_node","current_path":"perovskite-sim/tests/regression/test_csi_generic_state_cancellation.py","route_id":"route-14d178f38457e0fb","origin_key":"test:perovskite-sim/tests/regression/test_csi_generic_state_cancellation.py::test_certified_qf_state_exposes_density_sg_cancellation_boundary","node_id":"perovskite-sim/tests/regression/test_csi_generic_state_cancellation.py::test_certified_qf_state_exposes_density_sg_cancellation_boundary","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-3599c21ddb9b8f57","kind":"registered_test_node","current_path":"perovskite-sim/tests/regression/test_csi_grid_envelope.py","route_id":"route-8ac3157f4f457483","origin_key":"test:perovskite-sim/tests/regression/test_csi_grid_envelope.py::test_declared_csi_minimum_meets_debye_guard_and_has_finite_seed","node_id":"perovskite-sim/tests/regression/test_csi_grid_envelope.py::test_declared_csi_minimum_meets_debye_guard_and_has_finite_seed","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-6e6e9535fde4336f","kind":"registered_test_node","current_path":"perovskite-sim/tests/regression/test_csi_grid_envelope.py","route_id":"route-8ac3157f4f457483","origin_key":"test:perovskite-sim/tests/regression/test_csi_grid_envelope.py::test_default_jv_grid_is_outside_csi_declared_envelope","node_id":"perovskite-sim/tests/regression/test_csi_grid_envelope.py::test_default_jv_grid_is_outside_csi_declared_envelope","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-f2b3dfc77ecf7fb8","kind":"registered_test_node","current_path":"perovskite-sim/tests/regression/test_csi_grid_envelope.py","route_id":"route-8ac3157f4f457483","origin_key":"test:perovskite-sim/tests/regression/test_csi_grid_envelope.py::test_thin_film_smoke_mesh_is_not_misrepresented_as_globally_certified","node_id":"perovskite-sim/tests/regression/test_csi_grid_envelope.py::test_thin_film_smoke_mesh_is_not_misrepresented_as_globally_certified","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-ac70cea85fdf3449","kind":"registered_test_node","current_path":"perovskite-sim/tests/regression/test_csi_grid_envelope.py","route_id":"route-8ac3157f4f457483","origin_key":"test:perovskite-sim/tests/regression/test_csi_grid_envelope.py::test_underresolved_overrides_are_explicit_and_reach_both_drivers","node_id":"perovskite-sim/tests/regression/test_csi_grid_envelope.py::test_underresolved_overrides_are_explicit_and_reach_both_drivers","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-1ab9f4e2a80da7de","kind":"registered_test_node","current_path":"perovskite-sim/tests/regression/test_csi_grid_envelope.py","route_id":"route-8ac3157f4f457483","origin_key":"test:perovskite-sim/tests/regression/test_csi_grid_envelope.py::test_underresolved_transient_and_ss_jv_fail_before_integration","node_id":"perovskite-sim/tests/regression/test_csi_grid_envelope.py::test_underresolved_transient_and_ss_jv_fail_before_integration","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-70f44f0fda90c98e","kind":"registered_test_node","current_path":"perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py","route_id":"route-5f30ea99440df61c","origin_key":"test:perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py::test_csi_config_and_registered_voltage_protocol","node_id":"perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py::test_csi_config_and_registered_voltage_protocol","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-f12f9c2eadf1762d","kind":"registered_test_node","current_path":"perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py","route_id":"route-5f30ea99440df61c","origin_key":"test:perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py::test_csi_full_jv_curve_and_metrics_converge","node_id":"perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py::test_csi_full_jv_curve_and_metrics_converge","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-91198eb2b6fc5a37","kind":"registered_test_node","current_path":"perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py","route_id":"route-5f30ea99440df61c","origin_key":"test:perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py::test_csi_jv_curves_are_physical_and_bracket_open_circuit","node_id":"perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py::test_csi_jv_curves_are_physical_and_bracket_open_circuit","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-fffd4f0eeba151b8","kind":"registered_test_node","current_path":"perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py","route_id":"route-5f30ea99440df61c","origin_key":"test:perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py::test_csi_jv_observations_match_reproducibility_registry","node_id":"perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py::test_csi_jv_observations_match_reproducibility_registry","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-ae61cabf4328c95f","kind":"registered_test_node","current_path":"perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py","route_id":"route-5f30ea99440df61c","origin_key":"test:perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py::test_csi_voltage_sampling_resolves_maximum_power","node_id":"perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py::test_csi_voltage_sampling_resolves_maximum_power","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-9d6c9dec9c5d82d4","kind":"registered_test_node","current_path":"perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py","route_id":"route-5f30ea99440df61c","origin_key":"test:perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py::test_every_csi_jv_point_has_independent_physics_certificate","node_id":"perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py::test_every_csi_jv_point_has_independent_physics_certificate","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-6a9ce24f4979c14f","kind":"registered_test_node","current_path":"perovskite-sim/tests/regression/test_grading_cigs_notch.py","route_id":"route-8680740070b5338b","origin_key":"test:perovskite-sim/tests/regression/test_grading_cigs_notch.py::test_cigs_back_grading_certifies_at_production_grid","node_id":"perovskite-sim/tests/regression/test_grading_cigs_notch.py::test_cigs_back_grading_certifies_at_production_grid","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-e16a2dc6810328e6","kind":"registered_test_node","current_path":"perovskite-sim/tests/regression/test_grading_cigs_notch.py","route_id":"route-8680740070b5338b","origin_key":"test:perovskite-sim/tests/regression/test_grading_cigs_notch.py::test_cigs_back_grading_raises_voc_without_jsc_collapse","node_id":"perovskite-sim/tests/regression/test_grading_cigs_notch.py::test_cigs_back_grading_raises_voc_without_jsc_collapse","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-c9c63663fcd6120d","kind":"registered_test_node","current_path":"perovskite-sim/tests/regression/test_grading_cigs_notch.py","route_id":"route-8680740070b5338b","origin_key":"test:perovskite-sim/tests/regression/test_grading_cigs_notch.py::test_cigs_n_left_voltage_conventions_are_explicit","node_id":"perovskite-sim/tests/regression/test_grading_cigs_notch.py::test_cigs_n_left_voltage_conventions_are_explicit","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-f6edf5c78619bdbf","kind":"registered_test_node","current_path":"perovskite-sim/tests/regression/test_grading_cigs_notch.py","route_id":"route-8680740070b5338b","origin_key":"test:perovskite-sim/tests/regression/test_grading_cigs_notch.py::test_cigs_observations_match_reproducibility_registry","node_id":"perovskite-sim/tests/regression/test_grading_cigs_notch.py::test_cigs_observations_match_reproducibility_registry","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-1dcb441559410f3c","kind":"registered_test_node","current_path":"perovskite-sim/tests/regression/test_grading_cigs_notch.py","route_id":"route-8680740070b5338b","origin_key":"test:perovskite-sim/tests/regression/test_grading_cigs_notch.py::test_cigs_ungraded_production_grid_ladder_is_physical","node_id":"perovskite-sim/tests/regression/test_grading_cigs_notch.py::test_cigs_ungraded_production_grid_ladder_is_physical","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-b4f2e2bf2b4a4665","kind":"registered_test_node","current_path":"perovskite-sim/tests/regression/test_grading_cigs_notch.py","route_id":"route-8680740070b5338b","origin_key":"test:perovskite-sim/tests/regression/test_grading_cigs_notch.py::test_cigs_ungraded_production_grid_metrics_converge","node_id":"perovskite-sim/tests/regression/test_grading_cigs_notch.py::test_cigs_ungraded_production_grid_metrics_converge","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-241665d222e61d06","kind":"registered_test_node","current_path":"perovskite-sim/tests/regression/test_grading_cigs_notch.py","route_id":"route-8680740070b5338b","origin_key":"test:perovskite-sim/tests/regression/test_grading_cigs_notch.py::test_cigs_ungraded_thickness_continuation_certifies","node_id":"perovskite-sim/tests/regression/test_grading_cigs_notch.py::test_cigs_ungraded_thickness_continuation_certifies","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-1a104400cc5e0284","kind":"registered_test_node","current_path":"perovskite-sim/tests/regression/test_grading_cigs_notch.py","route_id":"route-8680740070b5338b","origin_key":"test:perovskite-sim/tests/regression/test_grading_cigs_notch.py::test_dynamic_cigs_grading_matches_the_shipped_config","node_id":"perovskite-sim/tests/regression/test_grading_cigs_notch.py::test_dynamic_cigs_grading_matches_the_shipped_config","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-19f78ec23fa3a2cb","kind":"registered_test_node","current_path":"perovskite-sim/tests/regression/test_mesh_convergence.py","route_id":"route-029e5b8b0f40fcb9","origin_key":"test:perovskite-sim/tests/regression/test_mesh_convergence.py::test_ff_converges","node_id":"perovskite-sim/tests/regression/test_mesh_convergence.py::test_ff_converges","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-7a04d8b14d20a025","kind":"registered_test_node","current_path":"perovskite-sim/tests/regression/test_mesh_convergence.py","route_id":"route-029e5b8b0f40fcb9","origin_key":"test:perovskite-sim/tests/regression/test_mesh_convergence.py::test_generation_integral_converges","node_id":"perovskite-sim/tests/regression/test_mesh_convergence.py::test_generation_integral_converges","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-0e9226a2e11b054b","kind":"registered_test_node","current_path":"perovskite-sim/tests/regression/test_mesh_convergence.py","route_id":"route-029e5b8b0f40fcb9","origin_key":"test:perovskite-sim/tests/regression/test_mesh_convergence.py::test_generation_integral_respects_photon_flux_ceiling","node_id":"perovskite-sim/tests/regression/test_mesh_convergence.py::test_generation_integral_respects_photon_flux_ceiling","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-25756f05d1d78ca8","kind":"registered_test_node","current_path":"perovskite-sim/tests/regression/test_mesh_convergence.py","route_id":"route-029e5b8b0f40fcb9","origin_key":"test:perovskite-sim/tests/regression/test_mesh_convergence.py::test_guard_interface_cells_actually_refine","node_id":"perovskite-sim/tests/regression/test_mesh_convergence.py::test_guard_interface_cells_actually_refine","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-c9bb60730ec34a60","kind":"registered_test_node","current_path":"perovskite-sim/tests/regression/test_mesh_convergence.py","route_id":"route-029e5b8b0f40fcb9","origin_key":"test:perovskite-sim/tests/regression/test_mesh_convergence.py::test_guard_interface_formulation_is_pinned","node_id":"perovskite-sim/tests/regression/test_mesh_convergence.py::test_guard_interface_formulation_is_pinned","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-416c24227fdcf67f","kind":"registered_test_node","current_path":"perovskite-sim/tests/regression/test_mesh_convergence.py","route_id":"route-029e5b8b0f40fcb9","origin_key":"test:perovskite-sim/tests/regression/test_mesh_convergence.py::test_guard_no_flat_band_spike_at_any_mesh_level","node_id":"perovskite-sim/tests/regression/test_mesh_convergence.py::test_guard_no_flat_band_spike_at_any_mesh_level","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-a52c0049825d29c5","kind":"registered_test_node","current_path":"perovskite-sim/tests/regression/test_mesh_convergence.py","route_id":"route-029e5b8b0f40fcb9","origin_key":"test:perovskite-sim/tests/regression/test_mesh_convergence.py::test_guard_no_silent_dark_fallback","node_id":"perovskite-sim/tests/regression/test_mesh_convergence.py::test_guard_no_silent_dark_fallback","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-57dec28a7bb95fad","kind":"registered_test_node","current_path":"perovskite-sim/tests/regression/test_mesh_convergence.py","route_id":"route-029e5b8b0f40fcb9","origin_key":"test:perovskite-sim/tests/regression/test_mesh_convergence.py::test_guard_voc_is_bracketed","node_id":"perovskite-sim/tests/regression/test_mesh_convergence.py::test_guard_voc_is_bracketed","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-2b404245ec1d7374","kind":"registered_test_node","current_path":"perovskite-sim/tests/regression/test_mesh_convergence.py","route_id":"route-029e5b8b0f40fcb9","origin_key":"test:perovskite-sim/tests/regression/test_mesh_convergence.py::test_interface_recombination_current_converges","node_id":"perovskite-sim/tests/regression/test_mesh_convergence.py::test_interface_recombination_current_converges","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-cd6f5a9ef3ae4325","kind":"registered_test_node","current_path":"perovskite-sim/tests/regression/test_mesh_convergence.py","route_id":"route-029e5b8b0f40fcb9","origin_key":"test:perovskite-sim/tests/regression/test_mesh_convergence.py::test_jsc_converges","node_id":"perovskite-sim/tests/regression/test_mesh_convergence.py::test_jsc_converges","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-641484e062ebff1a","kind":"registered_test_node","current_path":"perovskite-sim/tests/regression/test_mesh_convergence.py","route_id":"route-029e5b8b0f40fcb9","origin_key":"test:perovskite-sim/tests/regression/test_mesh_convergence.py::test_power_quadrant_current_converges","node_id":"perovskite-sim/tests/regression/test_mesh_convergence.py::test_power_quadrant_current_converges","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-5c21bc07beff21f5","kind":"registered_test_node","current_path":"perovskite-sim/tests/regression/test_mesh_convergence.py","route_id":"route-029e5b8b0f40fcb9","origin_key":"test:perovskite-sim/tests/regression/test_mesh_convergence.py::test_short_circuit_current_converges","node_id":"perovskite-sim/tests/regression/test_mesh_convergence.py::test_short_circuit_current_converges","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-34a0c94200709776","kind":"registered_test_node","current_path":"perovskite-sim/tests/regression/test_mesh_convergence.py","route_id":"route-029e5b8b0f40fcb9","origin_key":"test:perovskite-sim/tests/regression/test_mesh_convergence.py::test_voc_converges","node_id":"perovskite-sim/tests/regression/test_mesh_convergence.py::test_voc_converges","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-a21b25e26ce8aca9","kind":"registered_test_node","current_path":"perovskite-sim/tests/regression/test_p1_steady_state_mesh_convergence.py","route_id":"route-7d06c5aa1467192b","origin_key":"test:perovskite-sim/tests/regression/test_p1_steady_state_mesh_convergence.py::test_actual_interval_ladder_and_residual_certificates","node_id":"perovskite-sim/tests/regression/test_p1_steady_state_mesh_convergence.py::test_actual_interval_ladder_and_residual_certificates","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-6b0be3873366e933","kind":"registered_test_node","current_path":"perovskite-sim/tests/regression/test_p1_steady_state_mesh_convergence.py","route_id":"route-7d06c5aa1467192b","origin_key":"test:perovskite-sim/tests/regression/test_p1_steady_state_mesh_convergence.py::test_certified_short_circuit_current_contracts","node_id":"perovskite-sim/tests/regression/test_p1_steady_state_mesh_convergence.py::test_certified_short_circuit_current_contracts","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-2d179f10d80fbe84","kind":"registered_test_node","current_path":"perovskite-sim/tests/regression/test_p1_steady_state_mesh_convergence.py","route_id":"route-7d06c5aa1467192b","origin_key":"test:perovskite-sim/tests/regression/test_p1_steady_state_mesh_convergence.py::test_observations_match_reproducibility_registry","node_id":"perovskite-sim/tests/regression/test_p1_steady_state_mesh_convergence.py::test_observations_match_reproducibility_registry","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-580b89cac50abc81","kind":"registered_test_node","current_path":"perovskite-sim/tests/regression/test_p1_steady_state_mesh_convergence.py","route_id":"route-7d06c5aa1467192b","origin_key":"test:perovskite-sim/tests/regression/test_p1_steady_state_mesh_convergence.py::test_prolonged_fine_grid_current_changes_contract","node_id":"perovskite-sim/tests/regression/test_p1_steady_state_mesh_convergence.py::test_prolonged_fine_grid_current_changes_contract","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-4227aee7634adb01","kind":"registered_test_node","current_path":"perovskite-sim/tests/regression/test_tmm_baseline.py","route_id":"route-72ce1cb2cad2c1b6","origin_key":"test:perovskite-sim/tests/regression/test_tmm_baseline.py::test_nip_tmm_baseline_jsc","node_id":"perovskite-sim/tests/regression/test_tmm_baseline.py::test_nip_tmm_baseline_jsc","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-dd3faa491f91527b","kind":"registered_test_node","current_path":"perovskite-sim/tests/regression/test_tmm_baseline.py","route_id":"route-72ce1cb2cad2c1b6","origin_key":"test:perovskite-sim/tests/regression/test_tmm_baseline.py::test_pin_tmm_baseline_jsc","node_id":"perovskite-sim/tests/regression/test_tmm_baseline.py::test_pin_tmm_baseline_jsc","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-101a3119fa8ae8cf","kind":"registered_test_node","current_path":"perovskite-sim/tests/regression/test_tolerance_grid_refinement.py","route_id":"route-0ced7d59e4531b29","origin_key":"test:perovskite-sim/tests/regression/test_tolerance_grid_refinement.py::test_certificate_distinguishes_certified_partial_and_failed","node_id":"perovskite-sim/tests/regression/test_tolerance_grid_refinement.py::test_certificate_distinguishes_certified_partial_and_failed","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-3801c23e9f68f657","kind":"registered_test_node","current_path":"perovskite-sim/tests/regression/test_tolerance_grid_refinement.py","route_id":"route-0ced7d59e4531b29","origin_key":"test:perovskite-sim/tests/regression/test_tolerance_grid_refinement.py::test_failed_cell_can_be_retried_without_deleting_prior_artifact","node_id":"perovskite-sim/tests/regression/test_tolerance_grid_refinement.py::test_failed_cell_can_be_retried_without_deleting_prior_artifact","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-4ec9637341e22aeb","kind":"registered_test_node","current_path":"perovskite-sim/tests/regression/test_tolerance_grid_refinement.py","route_id":"route-0ced7d59e4531b29","origin_key":"test:perovskite-sim/tests/regression/test_tolerance_grid_refinement.py::test_plan_refinement_is_read_only","node_id":"perovskite-sim/tests/regression/test_tolerance_grid_refinement.py::test_plan_refinement_is_read_only","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-7abd2273c4a7c2e5","kind":"registered_test_node","current_path":"perovskite-sim/tests/regression/test_tolerance_grid_refinement.py","route_id":"route-0ced7d59e4531b29","origin_key":"test:perovskite-sim/tests/regression/test_tolerance_grid_refinement.py::test_preregistered_numerical_lanes_and_thresholds_are_immutable","node_id":"perovskite-sim/tests/regression/test_tolerance_grid_refinement.py::test_preregistered_numerical_lanes_and_thresholds_are_immutable","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-90b969ea51243a64","kind":"registered_test_node","current_path":"perovskite-sim/tests/regression/test_tolerance_grid_refinement.py","route_id":"route-0ced7d59e4531b29","origin_key":"test:perovskite-sim/tests/regression/test_tolerance_grid_refinement.py::test_protocol_hash_is_manifested_and_inconsistency_fails_closed","node_id":"perovskite-sim/tests/regression/test_tolerance_grid_refinement.py::test_protocol_hash_is_manifested_and_inconsistency_fails_closed","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-27268d6eb219f174","kind":"registered_test_node","current_path":"perovskite-sim/tests/regression/test_tolerance_grid_refinement.py","route_id":"route-0ced7d59e4531b29","origin_key":"test:perovskite-sim/tests/regression/test_tolerance_grid_refinement.py::test_refinement_runner_rejects_historical_reference_output_root","node_id":"perovskite-sim/tests/regression/test_tolerance_grid_refinement.py::test_refinement_runner_rejects_historical_reference_output_root","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-18c933b9c116fd90","kind":"registered_test_node","current_path":"perovskite-sim/tests/regression/test_tolerance_grid_refinement.py","route_id":"route-0ced7d59e4531b29","origin_key":"test:perovskite-sim/tests/regression/test_tolerance_grid_refinement.py::test_refinement_runner_resumes_content_addressed_cells_without_overwrite","node_id":"perovskite-sim/tests/regression/test_tolerance_grid_refinement.py::test_refinement_runner_resumes_content_addressed_cells_without_overwrite","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-fa3de159acdbcfa3","kind":"registered_test_node","current_path":"perovskite-sim/tests/regression/test_twod_validation.py","route_id":"route-e11dbb007279157c","origin_key":"test:perovskite-sim/tests/regression/test_twod_validation.py::test_twod_radiative_reabsorption_voc_boost_in_literature_window","node_id":"perovskite-sim/tests/regression/test_twod_validation.py::test_twod_radiative_reabsorption_voc_boost_in_literature_window","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-700d0989e03ec470","kind":"registered_test_node","current_path":"perovskite-sim/tests/regression/test_twod_validation.py","route_id":"route-e11dbb007279157c","origin_key":"test:perovskite-sim/tests/regression/test_twod_validation.py::test_twod_uniform_matches_1d_within_tolerance","node_id":"perovskite-sim/tests/regression/test_twod_validation.py::test_twod_uniform_matches_1d_within_tolerance","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-afa5dd66798c55a0","kind":"registered_test_node","current_path":"perovskite-sim/tests/reproducibility/test_matrix.py","route_id":"route-37061a3f3e85e9e9","origin_key":"test:perovskite-sim/tests/reproducibility/test_matrix.py::test_matrix_covers_and_loads_every_shipped_config","node_id":"perovskite-sim/tests/reproducibility/test_matrix.py::test_matrix_covers_and_loads_every_shipped_config","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-0096022cc5e5dfaf","kind":"registered_test_node","current_path":"perovskite-sim/tests/unit/backend/test_dynamic_defect_transient_api.py","route_id":"route-ae2d3995d135a011","origin_key":"test:perovskite-sim/tests/unit/backend/test_dynamic_defect_transient_api.py::test_job_rejects_invalid_contract_before_submit","node_id":"perovskite-sim/tests/unit/backend/test_dynamic_defect_transient_api.py::test_job_rejects_invalid_contract_before_submit","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-997c80005794fc4d","kind":"registered_test_node","current_path":"perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py","route_id":"route-76803f4bc08b09bc","origin_key":"test:perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py::test_charged_protocol_resolver_builds_the_canonical_zero_scan_contract","node_id":"perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py::test_charged_protocol_resolver_builds_the_canonical_zero_scan_contract","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-ab105fd5266255e1","kind":"registered_test_node","current_path":"perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py","route_id":"route-76803f4bc08b09bc","origin_key":"test:perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py::test_real_async_charged_jv_worker_preserves_protocol_and_evidence","node_id":"perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py::test_real_async_charged_jv_worker_preserves_protocol_and_evidence","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-125e67ace1168a75","kind":"registered_test_node","current_path":"perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py","route_id":"route-76803f4bc08b09bc","origin_key":"test:perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py::test_real_sync_charged_jv_api_returns_certified_point_evidence","node_id":"perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py::test_real_sync_charged_jv_api_returns_certified_point_evidence","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-b232797bd57e412f","kind":"registered_test_node","current_path":"perovskite-sim/tests/unit/backend/test_solver_dispatch.py","route_id":"route-9521ef6731a5b9af","origin_key":"test:perovskite-sim/tests/unit/backend/test_solver_dispatch.py::test_dispatch_quasi_fermi_rejects_dark_jv","node_id":"perovskite-sim/tests/unit/backend/test_solver_dispatch.py::test_dispatch_quasi_fermi_rejects_dark_jv","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-6ba18e56866bf745","kind":"registered_test_node","current_path":"perovskite-sim/tests/unit/backend/test_solver_dispatch.py","route_id":"route-9521ef6731a5b9af","origin_key":"test:perovskite-sim/tests/unit/backend/test_solver_dispatch.py::test_dispatch_quasi_fermi_returns_certificate_bearing_jvresult","node_id":"perovskite-sim/tests/unit/backend/test_solver_dispatch.py::test_dispatch_quasi_fermi_returns_certificate_bearing_jvresult","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-af4ae210d4d5e9fa","kind":"registered_test_node","current_path":"perovskite-sim/tests/unit/backend/test_solver_dispatch.py","route_id":"route-9521ef6731a5b9af","origin_key":"test:perovskite-sim/tests/unit/backend/test_solver_dispatch.py::test_jv_api_returns_422_for_policy_rejected_driver","node_id":"perovskite-sim/tests/unit/backend/test_solver_dispatch.py::test_jv_api_returns_422_for_policy_rejected_driver","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-2da1175ed0af190e","kind":"registered_test_node","current_path":"perovskite-sim/tests/unit/backend/test_solver_dispatch.py","route_id":"route-9521ef6731a5b9af","origin_key":"test:perovskite-sim/tests/unit/backend/test_solver_dispatch.py::test_stack_from_dict_plumbs_jv_solver_policy","node_id":"perovskite-sim/tests/unit/backend/test_solver_dispatch.py::test_stack_from_dict_plumbs_jv_solver_policy","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-62caf3ff0c34f5cd","kind":"registered_test_node","current_path":"perovskite-sim/tests/unit/experiments/test_degradation_frozen_ions.py","route_id":"route-6a14c98e1f097127","origin_key":"test:perovskite-sim/tests/unit/experiments/test_degradation_frozen_ions.py::test_nonuniform_ions_have_zero_frozen_flux_and_never_move","node_id":"perovskite-sim/tests/unit/experiments/test_degradation_frozen_ions.py::test_nonuniform_ions_have_zero_frozen_flux_and_never_move","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-99eccb58b23031e9","kind":"registered_test_node","current_path":"perovskite-sim/tests/unit/experiments/test_dynamic_defect_impedance.py","route_id":"route-bd7280435384f514","origin_key":"test:perovskite-sim/tests/unit/experiments/test_dynamic_defect_impedance.py::test_capability_classifier_routes_every_certified_combination","node_id":"perovskite-sim/tests/unit/experiments/test_dynamic_defect_impedance.py::test_capability_classifier_routes_every_certified_combination","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-94c4b5bc91e669ec","kind":"registered_test_node","current_path":"perovskite-sim/tests/unit/experiments/test_dynamic_defect_impedance.py","route_id":"route-bd7280435384f514","origin_key":"test:perovskite-sim/tests/unit/experiments/test_dynamic_defect_impedance.py::test_effective_lifetime_only_stack_has_no_dynamic_defect_capability","node_id":"perovskite-sim/tests/unit/experiments/test_dynamic_defect_impedance.py::test_effective_lifetime_only_stack_has_no_dynamic_defect_capability","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-f889af2a2265063a","kind":"registered_test_node","current_path":"perovskite-sim/tests/unit/experiments/test_dynamic_defect_transient.py","route_id":"route-2cca08f36106a7c3","origin_key":"test:perovskite-sim/tests/unit/experiments/test_dynamic_defect_transient.py::test_protocol_round_trip_is_strict_canonical_and_content_addressed","node_id":"perovskite-sim/tests/unit/experiments/test_dynamic_defect_transient.py::test_protocol_round_trip_is_strict_canonical_and_content_addressed","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-01d38566fcea91d0","kind":"registered_test_node","current_path":"perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py","route_id":"route-9375ac408e069055","origin_key":"test:perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_protocol_round_trip_and_hash_bind_every_field","node_id":"perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_protocol_round_trip_and_hash_bind_every_field","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-2753c891a0cf1e03","kind":"registered_test_node","current_path":"perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py","route_id":"route-9375ac408e069055","origin_key":"test:perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_real_small_grid_charged_jv_has_pointwise_evidence","node_id":"perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_real_small_grid_charged_jv_has_pointwise_evidence","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-e5df28d00bd12f63","kind":"registered_test_node","current_path":"perovskite-sim/tests/unit/experiments/test_jv_driver_capability.py","route_id":"route-e80cf2912dbb511c","origin_key":"test:perovskite-sim/tests/unit/experiments/test_jv_driver_capability.py::test_qf_required_policy_rejects_general_drivers_before_solve","node_id":"perovskite-sim/tests/unit/experiments/test_jv_driver_capability.py::test_qf_required_policy_rejects_general_drivers_before_solve","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-83ae51f2f0ea3a2d","kind":"registered_test_node","current_path":"perovskite-sim/tests/unit/experiments/test_jv_driver_capability.py","route_id":"route-e80cf2912dbb511c","origin_key":"test:perovskite-sim/tests/unit/experiments/test_jv_driver_capability.py::test_shipped_csi_config_enforces_grid_then_qf_driver_capability","node_id":"perovskite-sim/tests/unit/experiments/test_jv_driver_capability.py::test_shipped_csi_config_enforces_grid_then_qf_driver_capability","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-321eb1726e5e6672","kind":"registered_test_node","current_path":"perovskite-sim/tests/unit/experiments/test_jv_driver_capability.py","route_id":"route-e80cf2912dbb511c","origin_key":"test:perovskite-sim/tests/unit/experiments/test_jv_driver_capability.py::test_unvalidated_driver_override_is_explicit_and_diagnostic_only","node_id":"perovskite-sim/tests/unit/experiments/test_jv_driver_capability.py::test_unvalidated_driver_override_is_explicit_and_diagnostic_only","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-e09f27e839246b3c","kind":"registered_test_node","current_path":"perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py","route_id":"route-91b8bb746585f554","origin_key":"test:perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py::test_charged_outer_poisson_closes_and_reference_state_has_zero_charge","node_id":"perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py::test_charged_outer_poisson_closes_and_reference_state_has_zero_charge","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-c909ed06e0a53ec3","kind":"registered_test_node","current_path":"perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py","route_id":"route-91b8bb746585f554","origin_key":"test:perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py::test_research_api_binds_dark_reference_and_keeps_production_gate_parked","node_id":"perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py::test_research_api_binds_dark_reference_and_keeps_production_gate_parked","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-c9dfe6dac85324d6","kind":"registered_test_node","current_path":"perovskite-sim/tests/unit/experiments/test_steady_state.py","route_id":"route-3f3425cee9fae9dd","origin_key":"test:perovskite-sim/tests/unit/experiments/test_steady_state.py::test_low_doping_etl_metal_reservoir_brackets_physical_voc","node_id":"perovskite-sim/tests/unit/experiments/test_steady_state.py::test_low_doping_etl_metal_reservoir_brackets_physical_voc","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-dd647da643bee392","kind":"registered_test_node","current_path":"perovskite-sim/tests/unit/experiments/test_steady_state.py","route_id":"route-3f3425cee9fae9dd","origin_key":"test:perovskite-sim/tests/unit/experiments/test_steady_state.py::test_low_doping_etl_without_metal_reservoir_is_explicit_no_crossing","node_id":"perovskite-sim/tests/unit/experiments/test_steady_state.py::test_low_doping_etl_without_metal_reservoir_is_explicit_no_crossing","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-2ecff5da6dc212a0","kind":"registered_test_node","current_path":"perovskite-sim/tests/unit/models/test_bulk_trap_schema.py","route_id":"route-6ab6765e69066eea","origin_key":"test:perovskite-sim/tests/unit/models/test_bulk_trap_schema.py::test_default_material_and_mol_paths_fail_closed","node_id":"perovskite-sim/tests/unit/models/test_bulk_trap_schema.py::test_default_material_and_mol_paths_fail_closed","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-c451a4d9535617b3","kind":"registered_test_node","current_path":"perovskite-sim/tests/unit/models/test_explicit_defect_schema.py","route_id":"route-b8de3750831132bf","origin_key":"test:perovskite-sim/tests/unit/models/test_explicit_defect_schema.py::test_canonical_document_roundtrip_and_hash_are_stable","node_id":"perovskite-sim/tests/unit/models/test_explicit_defect_schema.py::test_canonical_document_roundtrip_and_hash_are_stable","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-2498209dd01fa0e5","kind":"registered_test_node","current_path":"perovskite-sim/tests/unit/models/test_multivalent_defect_loader.py","route_id":"route-5cd5c6f2e8aef072","origin_key":"test:perovskite-sim/tests/unit/models/test_multivalent_defect_loader.py::test_layer_parser_builds_the_canonical_v4_document","node_id":"perovskite-sim/tests/unit/models/test_multivalent_defect_loader.py::test_layer_parser_builds_the_canonical_v4_document","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-3896c0e046725431","kind":"registered_test_node","current_path":"perovskite-sim/tests/unit/models/test_multivalent_defect_schema.py","route_id":"route-b6f0631586d98fdb","origin_key":"test:perovskite-sim/tests/unit/models/test_multivalent_defect_schema.py::test_v4_document_roundtrip_hash_and_shared_density_are_stable","node_id":"perovskite-sim/tests/unit/models/test_multivalent_defect_schema.py::test_v4_document_roundtrip_hash_and_shared_density_are_stable","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-bd5675ca85376b09","kind":"registered_test_node","current_path":"perovskite-sim/tests/unit/physics/test_band_gap_narrowing.py","route_id":"route-dec3e9c669acfaea","origin_key":"test:perovskite-sim/tests/unit/physics/test_band_gap_narrowing.py::test_slotboom_is_monotone_and_stable_below_ratio_underflow","node_id":"perovskite-sim/tests/unit/physics/test_band_gap_narrowing.py::test_slotboom_is_monotone_and_stable_below_ratio_underflow","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-509fd38f00ff5582","kind":"registered_test_node","current_path":"perovskite-sim/tests/unit/physics/test_bulk_traps.py","route_id":"route-5e20968aaa8293ec","origin_key":"test:perovskite-sim/tests/unit/physics/test_bulk_traps.py::test_gaussian_delta_limit_recovers_the_single_level_model","node_id":"perovskite-sim/tests/unit/physics/test_bulk_traps.py::test_gaussian_delta_limit_recovers_the_single_level_model","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-9b55cec4d24a1ce9","kind":"registered_test_node","current_path":"perovskite-sim/tests/unit/physics/test_bulk_traps.py","route_id":"route-5e20968aaa8293ec","origin_key":"test:perovskite-sim/tests/unit/physics/test_bulk_traps.py::test_recombination_and_charge_tangents_match_centered_differences","node_id":"perovskite-sim/tests/unit/physics/test_bulk_traps.py::test_recombination_and_charge_tangents_match_centered_differences","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-1f64cf6e4a4764e3","kind":"registered_test_node","current_path":"perovskite-sim/tests/unit/physics/test_contact_statistics.py","route_id":"route-08388d5ce6054b7e","origin_key":"test:perovskite-sim/tests/unit/physics/test_contact_statistics.py::test_discrete_donor_contact_state_resolves_temperature_freeze_out","node_id":"perovskite-sim/tests/unit/physics/test_contact_statistics.py::test_discrete_donor_contact_state_resolves_temperature_freeze_out","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-ee15076452680647","kind":"registered_test_node","current_path":"perovskite-sim/tests/unit/physics/test_contact_statistics.py","route_id":"route-08388d5ce6054b7e","origin_key":"test:perovskite-sim/tests/unit/physics/test_contact_statistics.py::test_slotboom_contact_state_uses_narrowed_band_edges","node_id":"perovskite-sim/tests/unit/physics/test_contact_statistics.py::test_slotboom_contact_state_uses_narrowed_band_edges","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-d8903cb8e3fb1bfc","kind":"registered_test_node","current_path":"perovskite-sim/tests/unit/physics/test_defect_distributions.py","route_id":"route-6efb119d75705d3b","origin_key":"test:perovskite-sim/tests/unit/physics/test_defect_distributions.py::test_distributed_species_expansion_is_auditable_and_conservative","node_id":"perovskite-sim/tests/unit/physics/test_defect_distributions.py::test_distributed_species_expansion_is_auditable_and_conservative","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-5dac0f92416fc11b","kind":"registered_test_node","current_path":"perovskite-sim/tests/unit/physics/test_degenerate_transport.py","route_id":"route-646e10995ce5d015","origin_key":"test:perovskite-sim/tests/unit/physics/test_degenerate_transport.py::test_fd_flux_vanishes_for_constant_quasi_fermi_potentials","node_id":"perovskite-sim/tests/unit/physics/test_degenerate_transport.py::test_fd_flux_vanishes_for_constant_quasi_fermi_potentials","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-251960f41591839e","kind":"registered_test_node","current_path":"perovskite-sim/tests/unit/physics/test_distributed_defect_closure.py","route_id":"route-08ce1f24c4c21352","origin_key":"test:perovskite-sim/tests/unit/physics/test_distributed_defect_closure.py::test_nearly_saturated_tail_mean_stays_bounded_without_clipping","node_id":"perovskite-sim/tests/unit/physics/test_distributed_defect_closure.py::test_nearly_saturated_tail_mean_stays_bounded_without_clipping","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-28ee723a96a5283e","kind":"registered_test_node","current_path":"perovskite-sim/tests/unit/physics/test_distributed_defect_closure.py","route_id":"route-08ce1f24c4c21352","origin_key":"test:perovskite-sim/tests/unit/physics/test_distributed_defect_closure.py::test_source_aggregation_is_the_exact_sum_of_d2_energy_nodes","node_id":"perovskite-sim/tests/unit/physics/test_distributed_defect_closure.py::test_source_aggregation_is_the_exact_sum_of_d2_energy_nodes","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-94568656628db5aa","kind":"registered_test_node","current_path":"perovskite-sim/tests/unit/physics/test_distributed_defect_device.py","route_id":"route-4e62e85b41af2f4e","origin_key":"test:perovskite-sim/tests/unit/physics/test_distributed_defect_device.py::test_compiled_device_and_contact_neutrality_reuse_energy_expansions","node_id":"perovskite-sim/tests/unit/physics/test_distributed_defect_device.py::test_compiled_device_and_contact_neutrality_reuse_energy_expansions","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-f48111c63c540291","kind":"registered_test_node","current_path":"perovskite-sim/tests/unit/physics/test_dynamic_storage.py","route_id":"route-19209a30d5e964e3","origin_key":"test:perovskite-sim/tests/unit/physics/test_dynamic_storage.py::test_log_density_increment_resolves_sub_ulp_relative_motion","node_id":"perovskite-sim/tests/unit/physics/test_dynamic_storage.py::test_log_density_increment_resolves_sub_ulp_relative_motion","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-8a140de5f686130c","kind":"registered_test_node","current_path":"perovskite-sim/tests/unit/physics/test_intraband_nonlocal_transfer.py","route_id":"route-303c66f9bbddb0fd","origin_key":"test:perovskite-sim/tests/unit/physics/test_intraband_nonlocal_transfer.py::test_equal_nonsaturated_occupations_give_exactly_zero_transfer","node_id":"perovskite-sim/tests/unit/physics/test_intraband_nonlocal_transfer.py::test_equal_nonsaturated_occupations_give_exactly_zero_transfer","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-cac5e095f697ae2e","kind":"registered_test_node","current_path":"perovskite-sim/tests/unit/physics/test_intraband_nonlocal_transfer.py","route_id":"route-303c66f9bbddb0fd","origin_key":"test:perovskite-sim/tests/unit/physics/test_intraband_nonlocal_transfer.py::test_transfer_conserves_particles_and_dissipates_the_chemical_drive","node_id":"perovskite-sim/tests/unit/physics/test_intraband_nonlocal_transfer.py::test_transfer_conserves_particles_and_dissipates_the_chemical_drive","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-f5841910848da259","kind":"registered_test_node","current_path":"perovskite-sim/tests/unit/physics/test_monovalent_defect_closure.py","route_id":"route-b3f7f560e302d790","origin_key":"test:perovskite-sim/tests/unit/physics/test_monovalent_defect_closure.py::test_donor_and_acceptor_share_occupancy_but_use_distinct_charge_reference","node_id":"perovskite-sim/tests/unit/physics/test_monovalent_defect_closure.py::test_donor_and_acceptor_share_occupancy_but_use_distinct_charge_reference","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-03c7f68122391a1f","kind":"registered_test_node","current_path":"perovskite-sim/tests/unit/physics/test_multivalent_defect_closure.py","route_id":"route-a7427329864623b5","origin_key":"test:perovskite-sim/tests/unit/physics/test_multivalent_defect_closure.py::test_single_transition_unity_limit_recovers_d2_exact_local_closure","node_id":"perovskite-sim/tests/unit/physics/test_multivalent_defect_closure.py::test_single_transition_unity_limit_recovers_d2_exact_local_closure","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-a2263556cc482513","kind":"registered_test_node","current_path":"perovskite-sim/tests/unit/physics/test_multivalent_defect_device.py","route_id":"route-e18cac36a5c3bb62","origin_key":"test:perovskite-sim/tests/unit/physics/test_multivalent_defect_device.py::test_full_grid_evaluation_matches_the_region_source_closure","node_id":"perovskite-sim/tests/unit/physics/test_multivalent_defect_device.py::test_full_grid_evaluation_matches_the_region_source_closure","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-e04687ed076e43f8","kind":"registered_test_node","current_path":"perovskite-sim/tests/unit/physics/test_statistics.py","route_id":"route-5cc232479c13eb2f","origin_key":"test:perovskite-sim/tests/unit/physics/test_statistics.py::test_discrete_donor_neutrality_closes_and_resolves_freeze_out","node_id":"perovskite-sim/tests/unit/physics/test_statistics.py::test_discrete_donor_neutrality_closes_and_resolves_freeze_out","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-2dc34d63483b5839","kind":"registered_test_node","current_path":"perovskite-sim/tests/unit/physics/test_tunneling_channels.py","route_id":"route-afda7243d5547184","origin_key":"test:perovskite-sim/tests/unit/physics/test_tunneling_channels.py::test_a_disabled_channel_refuses_rather_than_returning_zero","node_id":"perovskite-sim/tests/unit/physics/test_tunneling_channels.py::test_a_disabled_channel_refuses_rather_than_returning_zero","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-d744ff5f768c6f14","kind":"registered_test_node","current_path":"perovskite-sim/tests/unit/physics/test_tunnelling_physical_levels.py","route_id":"route-8dd1af8cdb80ef64","origin_key":"test:perovskite-sim/tests/unit/physics/test_tunnelling_physical_levels.py::test_device_supplies_physical_levels_with_dos_contrast","node_id":"perovskite-sim/tests/unit/physics/test_tunnelling_physical_levels.py::test_device_supplies_physical_levels_with_dos_contrast","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-c15bb839196212cd","kind":"registered_test_node","current_path":"perovskite-sim/tests/unit/physics/test_wkb_local_windows.py","route_id":"route-616d8b4cbb2d3074","origin_key":"test:perovskite-sim/tests/unit/physics/test_wkb_local_windows.py::test_forbidden_run_isolates_the_barrier_containing_the_face","node_id":"perovskite-sim/tests/unit/physics/test_wkb_local_windows.py::test_forbidden_run_isolates_the_barrier_containing_the_face","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-191fb19892ce9a5b","kind":"registered_test_node","current_path":"perovskite-sim/tests/unit/physics/test_wkb_local_windows.py","route_id":"route-616d8b4cbb2d3074","origin_key":"test:perovskite-sim/tests/unit/physics/test_wkb_local_windows.py::test_two_band_action_matches_the_closed_form_zener_exponent","node_id":"perovskite-sim/tests/unit/physics/test_wkb_local_windows.py::test_two_band_action_matches_the_closed_form_zener_exponent","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-7e222f6602ca6f76","kind":"registered_test_node","current_path":"perovskite-sim/tests/unit/physics/test_wkb_tunneling.py","route_id":"route-979cfe7ef3df9d27","origin_key":"test:perovskite-sim/tests/unit/physics/test_wkb_tunneling.py::test_equal_occupations_give_an_exactly_zero_net_flux","node_id":"perovskite-sim/tests/unit/physics/test_wkb_tunneling.py::test_equal_occupations_give_an_exactly_zero_net_flux","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-c2e0a6d9ae79f33d","kind":"registered_test_node","current_path":"perovskite-sim/tests/unit/physics/test_wkb_turning_point_action.py","route_id":"route-97608f6a1a1df2e9","origin_key":"test:perovskite-sim/tests/unit/physics/test_wkb_turning_point_action.py::test_single_forbidden_node_is_a_finite_triangle_not_a_transparent_path","node_id":"perovskite-sim/tests/unit/physics/test_wkb_turning_point_action.py::test_single_forbidden_node_is_a_finite_triangle_not_a_transparent_path","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-e311ebc9e3b21d0a","kind":"registered_test_node","current_path":"perovskite-sim/tests/unit/solver/test_bulk_trap_equilibrium.py","route_id":"route-f597f9e988504c6d","origin_key":"test:perovskite-sim/tests/unit/solver/test_bulk_trap_equilibrium.py::test_real_equilibrium_closes_poisson_transport_traps_and_gauss_law","node_id":"perovskite-sim/tests/unit/solver/test_bulk_trap_equilibrium.py::test_real_equilibrium_closes_poisson_transport_traps_and_gauss_law","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-2e3cb8f383715552","kind":"registered_test_node","current_path":"perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py","route_id":"route-590cbd2f74a63ba1","origin_key":"test:perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py::test_high_doping_fd_pn_equilibrium_closes_across_grid_and_tolerance","node_id":"perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py::test_high_doping_fd_pn_equilibrium_closes_across_grid_and_tolerance","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-ae1c2c77a5fccb17","kind":"registered_test_node","current_path":"perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py","route_id":"route-590cbd2f74a63ba1","origin_key":"test:perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py::test_incomplete_ionization_and_bgn_equilibrium_close_together","node_id":"perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py::test_incomplete_ionization_and_bgn_equilibrium_close_together","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-f1a88da895bca499","kind":"registered_test_node","current_path":"perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py","route_id":"route-590cbd2f74a63ba1","origin_key":"test:perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py::test_incomplete_ionization_equilibrium_closes_across_temperature","node_id":"perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py::test_incomplete_ionization_equilibrium_closes_across_temperature","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-d34199abd275c40a","kind":"registered_test_node","current_path":"perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py","route_id":"route-590cbd2f74a63ba1","origin_key":"test:perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py::test_incomplete_ionization_poisson_derivative_matches_finite_difference","node_id":"perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py::test_incomplete_ionization_poisson_derivative_matches_finite_difference","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-b98594b5738e2c7b","kind":"registered_test_node","current_path":"perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py","route_id":"route-590cbd2f74a63ba1","origin_key":"test:perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py::test_research_material_composes_bgn_with_incomplete_ionization","node_id":"perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py::test_research_material_composes_bgn_with_incomplete_ionization","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-bd7607f3f0c6203f","kind":"registered_test_node","current_path":"perovskite-sim/tests/unit/sweeps/test_interface_defect_sweep.py","route_id":"route-74be308e859c2fe0","origin_key":"test:perovskite-sim/tests/unit/sweeps/test_interface_defect_sweep.py::test_interface_defect_N_t_cm2_updates_charge_capacity_and_preserves_srv_ratio","node_id":"perovskite-sim/tests/unit/sweeps/test_interface_defect_sweep.py::test_interface_defect_N_t_cm2_updates_charge_capacity_and_preserves_srv_ratio","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-b376e13d9be4964a","kind":"registered_test_node","current_path":"perovskite-sim/tests/unit/validation/test_accepted_trajectory.py","route_id":"route-be6008fe21482721","origin_key":"test:perovskite-sim/tests/unit/validation/test_accepted_trajectory.py::test_capacity_excursion_is_detected_between_admissible_output_samples","node_id":"perovskite-sim/tests/unit/validation/test_accepted_trajectory.py::test_capacity_excursion_is_detected_between_admissible_output_samples","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-5eedbe4d911ee074","kind":"registered_test_node","current_path":"perovskite-sim/tests/unit/validation/test_accepted_trajectory.py","route_id":"route-be6008fe21482721","origin_key":"test:perovskite-sim/tests/unit/validation/test_accepted_trajectory.py::test_negative_accepted_density_is_detected_between_positive_output_samples","node_id":"perovskite-sim/tests/unit/validation/test_accepted_trajectory.py::test_negative_accepted_density_is_detected_between_positive_output_samples","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-38c2402525df7cd8","kind":"registered_test_node","current_path":"perovskite-sim/tests/unit/validation/test_accepted_trajectory.py","route_id":"route-be6008fe21482721","origin_key":"test:perovskite-sim/tests/unit/validation/test_accepted_trajectory.py::test_observing_accepted_states_preserves_samples_steps_and_rhs_counts","node_id":"perovskite-sim/tests/unit/validation/test_accepted_trajectory.py::test_observing_accepted_states_preserves_samples_steps_and_rhs_counts","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-3b1d4ca1d50d64cf","kind":"registered_test_node","current_path":"perovskite-sim/tests/unit/validation/test_bgn_refinement.py","route_id":"route-526b660f36929d2c","origin_key":"test:perovskite-sim/tests/unit/validation/test_bgn_refinement.py::test_registered_executor_real_temperature_cell_matches_contract","node_id":"perovskite-sim/tests/unit/validation/test_bgn_refinement.py::test_registered_executor_real_temperature_cell_matches_contract","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-59d0bc76c13aee96","kind":"registered_test_node","current_path":"perovskite-sim/tests/unit/validation/test_bulk_trap_refinement.py","route_id":"route-006d8e96c7c1a08e","origin_key":"test:perovskite-sim/tests/unit/validation/test_bulk_trap_refinement.py::test_registered_executor_real_cell_matches_exact_contract","node_id":"perovskite-sim/tests/unit/validation/test_bulk_trap_refinement.py::test_registered_executor_real_cell_matches_exact_contract","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-0703e3fd8ebec9ae","kind":"registered_test_node","current_path":"perovskite-sim/tests/unit/validation/test_charged_defect_refinement.py","route_id":"route-f8a69037f1b73c07","origin_key":"test:perovskite-sim/tests/unit/validation/test_charged_defect_refinement.py::test_registered_executor_real_cell_matches_exact_contract","node_id":"perovskite-sim/tests/unit/validation/test_charged_defect_refinement.py::test_registered_executor_real_cell_matches_exact_contract","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-b5ec18719455aef3","kind":"registered_test_node","current_path":"perovskite-sim/tests/unit/validation/test_cigs_optics_refinement.py","route_id":"route-9a5e6c59a7d96ad1","origin_key":"test:perovskite-sim/tests/unit/validation/test_cigs_optics_refinement.py::test_registered_executor_real_cell_matches_exact_contract","node_id":"perovskite-sim/tests/unit/validation/test_cigs_optics_refinement.py::test_registered_executor_real_cell_matches_exact_contract","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-2b0ba646aeba8c85","kind":"registered_test_node","current_path":"perovskite-sim/tests/unit/validation/test_degenerate_refinement.py","route_id":"route-307dbf7ba359e774","origin_key":"test:perovskite-sim/tests/unit/validation/test_degenerate_refinement.py::test_registered_executor_real_cell_matches_exact_contract","node_id":"perovskite-sim/tests/unit/validation/test_degenerate_refinement.py::test_registered_executor_real_cell_matches_exact_contract","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-281ed1035a42c6a4","kind":"registered_test_node","current_path":"perovskite-sim/tests/unit/validation/test_distributed_defect_refinement.py","route_id":"route-7d9043b233e15280","origin_key":"test:perovskite-sim/tests/unit/validation/test_distributed_defect_refinement.py::test_registered_executor_real_cell_matches_exact_contract","node_id":"perovskite-sim/tests/unit/validation/test_distributed_defect_refinement.py::test_registered_executor_real_cell_matches_exact_contract","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-e18b2e6356dd93d4","kind":"registered_test_node","current_path":"perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py","route_id":"route-58c3b6b1d279e02c","origin_key":"test:perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py::test_production_executor_cell_runs_public_protocol_and_projection","node_id":"perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py::test_production_executor_cell_runs_public_protocol_and_projection","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-19f117b7f3c7e466","kind":"registered_test_node","current_path":"perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py","route_id":"route-58c3b6b1d279e02c","origin_key":"test:perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py::test_production_v1_adds_only_public_wrapper_identity_gates","node_id":"perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py::test_production_v1_adds_only_public_wrapper_identity_gates","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-b668e476a2d68221","kind":"registered_test_node","current_path":"perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py","route_id":"route-58c3b6b1d279e02c","origin_key":"test:perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py::test_reference_resolved_v5_changes_only_reference_and_stiffness_contract","node_id":"perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py::test_reference_resolved_v5_changes_only_reference_and_stiffness_contract","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-b0d18f9eb71fb934","kind":"registered_test_node","current_path":"perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py","route_id":"route-58c3b6b1d279e02c","origin_key":"test:perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py::test_registered_lane_freezes_three_by_three_timescale_contract","node_id":"perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py::test_registered_lane_freezes_three_by_three_timescale_contract","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-5c5e3af97f6172a1","kind":"registered_test_node","current_path":"perovskite-sim/tests/unit/validation/test_external_circuit_refinement.py","route_id":"route-3a9981201fd875af","origin_key":"test:perovskite-sim/tests/unit/validation/test_external_circuit_refinement.py::test_executor_fails_closed_on_source_protocol_mismatch","node_id":"perovskite-sim/tests/unit/validation/test_external_circuit_refinement.py::test_executor_fails_closed_on_source_protocol_mismatch","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-306302da8a54b3a1","kind":"registered_test_node","current_path":"perovskite-sim/tests/unit/validation/test_external_circuit_refinement.py","route_id":"route-3a9981201fd875af","origin_key":"test:perovskite-sim/tests/unit/validation/test_external_circuit_refinement.py::test_executor_matches_registry_and_binds_explicit_protocol","node_id":"perovskite-sim/tests/unit/validation/test_external_circuit_refinement.py::test_executor_matches_registry_and_binds_explicit_protocol","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-467572eeb8fe5014","kind":"registered_test_node","current_path":"perovskite-sim/tests/unit/validation/test_external_circuit_refinement.py","route_id":"route-3a9981201fd875af","origin_key":"test:perovskite-sim/tests/unit/validation/test_external_circuit_refinement.py::test_resolved_executor_samples_fixed_terminal_power_quadrant","node_id":"perovskite-sim/tests/unit/validation/test_external_circuit_refinement.py::test_resolved_executor_samples_fixed_terminal_power_quadrant","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-f4bc485cda41b40e","kind":"registered_test_node","current_path":"perovskite-sim/tests/unit/validation/test_external_circuit_refinement.py","route_id":"route-3a9981201fd875af","origin_key":"test:perovskite-sim/tests/unit/validation/test_external_circuit_refinement.py::test_study_protocol_is_identical_across_matrix_cells","node_id":"perovskite-sim/tests/unit/validation/test_external_circuit_refinement.py::test_study_protocol_is_identical_across_matrix_cells","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-62cadf90010683f7","kind":"registered_test_node","current_path":"perovskite-sim/tests/unit/validation/test_foundation_reference_refinement.py","route_id":"route-99e9f4e9a864f5b4","origin_key":"test:perovskite-sim/tests/unit/validation/test_foundation_reference_refinement.py::test_definition_keeps_physical_scales_and_independent_refinements","node_id":"perovskite-sim/tests/unit/validation/test_foundation_reference_refinement.py::test_definition_keeps_physical_scales_and_independent_refinements","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-8753e8db16e42746","kind":"registered_test_node","current_path":"perovskite-sim/tests/unit/validation/test_foundation_reference_refinement.py","route_id":"route-99e9f4e9a864f5b4","origin_key":"test:perovskite-sim/tests/unit/validation/test_foundation_reference_refinement.py::test_equilibrium_preserves_subunit_contact_density_and_mass_action","node_id":"perovskite-sim/tests/unit/validation/test_foundation_reference_refinement.py::test_equilibrium_preserves_subunit_contact_density_and_mass_action","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-e908ab2695dec96c","kind":"registered_test_node","current_path":"perovskite-sim/tests/unit/validation/test_foundation_reference_refinement.py","route_id":"route-99e9f4e9a864f5b4","origin_key":"test:perovskite-sim/tests/unit/validation/test_foundation_reference_refinement.py::test_real_reference_cell_certifies_all_operating_points_and_optical_power","node_id":"perovskite-sim/tests/unit/validation/test_foundation_reference_refinement.py::test_real_reference_cell_certifies_all_operating_points_and_optical_power","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-885f0cca69f15da0","kind":"registered_test_node","current_path":"perovskite-sim/tests/unit/validation/test_foundation_reference_refinement.py","route_id":"route-99e9f4e9a864f5b4","origin_key":"test:perovskite-sim/tests/unit/validation/test_foundation_reference_refinement.py::test_resolved_reference_keeps_all_original_physical_limits","node_id":"perovskite-sim/tests/unit/validation/test_foundation_reference_refinement.py::test_resolved_reference_keeps_all_original_physical_limits","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-2c7f9ad9f17fe2c5","kind":"registered_test_node","current_path":"perovskite-sim/tests/unit/validation/test_foundation_reference_sampling.py","route_id":"route-b311e4efe8523e7d","origin_key":"test:perovskite-sim/tests/unit/validation/test_foundation_reference_sampling.py::test_balanced_mesh_preserves_physical_absorber_volume","node_id":"perovskite-sim/tests/unit/validation/test_foundation_reference_sampling.py::test_balanced_mesh_preserves_physical_absorber_volume","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-34bc87acbb9b3084","kind":"registered_test_node","current_path":"perovskite-sim/tests/unit/validation/test_foundation_reference_sampling.py","route_id":"route-b311e4efe8523e7d","origin_key":"test:perovskite-sim/tests/unit/validation/test_foundation_reference_sampling.py::test_subdivision_preserves_the_same_nonzero_face_current","node_id":"perovskite-sim/tests/unit/validation/test_foundation_reference_sampling.py::test_subdivision_preserves_the_same_nonzero_face_current","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-50cb6d1e8c40d1b3","kind":"registered_test_node","current_path":"perovskite-sim/tests/unit/validation/test_import_scaps_defect_reference.py","route_id":"route-ea9e842e5124c927","origin_key":"test:perovskite-sim/tests/unit/validation/test_import_scaps_defect_reference.py::test_importer_hashes_all_raw_exports_decks_manifest_and_suite","node_id":"perovskite-sim/tests/unit/validation/test_import_scaps_defect_reference.py::test_importer_hashes_all_raw_exports_decks_manifest_and_suite","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-b0b6fdce5445d43b","kind":"registered_test_node","current_path":"perovskite-sim/tests/unit/validation/test_incomplete_ionization_refinement.py","route_id":"route-48a779def1adea38","origin_key":"test:perovskite-sim/tests/unit/validation/test_incomplete_ionization_refinement.py::test_registered_executor_real_temperature_cell_matches_contract","node_id":"perovskite-sim/tests/unit/validation/test_incomplete_ionization_refinement.py::test_registered_executor_real_temperature_cell_matches_contract","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-ca05903ef4e1d89f","kind":"registered_test_node","current_path":"perovskite-sim/tests/unit/validation/test_interface_charge_stress.py","route_id":"route-15d3fb17a577a78a","origin_key":"test:perovskite-sim/tests/unit/validation/test_interface_charge_stress.py::test_interface_charge_stress_executor_smoke","node_id":"perovskite-sim/tests/unit/validation/test_interface_charge_stress.py::test_interface_charge_stress_executor_smoke","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-0e123b1fd44a7884","kind":"registered_test_node","current_path":"perovskite-sim/tests/unit/validation/test_multivalent_defect_refinement.py","route_id":"route-a4df2873c86f552b","origin_key":"test:perovskite-sim/tests/unit/validation/test_multivalent_defect_refinement.py::test_registered_executor_real_cell_matches_exact_contract","node_id":"perovskite-sim/tests/unit/validation/test_multivalent_defect_refinement.py::test_registered_executor_real_cell_matches_exact_contract","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-136e6416c60b68e9","kind":"registered_test_node","current_path":"perovskite-sim/tests/unit/validation/test_refinement_executors.py","route_id":"route-1fc03cea8e292893","origin_key":"test:perovskite-sim/tests/unit/validation/test_refinement_executors.py::test_equilibrium_referenced_interface_charge_executor_smoke","node_id":"perovskite-sim/tests/unit/validation/test_refinement_executors.py::test_equilibrium_referenced_interface_charge_executor_smoke","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-cda5260c8eb57a0b","kind":"registered_test_node","current_path":"perovskite-sim/tests/unit/validation/test_refinement_executors.py","route_id":"route-1fc03cea8e292893","origin_key":"test:perovskite-sim/tests/unit/validation/test_refinement_executors.py::test_interface_charge_off_executor_smoke","node_id":"perovskite-sim/tests/unit/validation/test_refinement_executors.py::test_interface_charge_off_executor_smoke","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-5e901f40a179e52b","kind":"registered_test_node","current_path":"perovskite-sim/tests/unit/validation/test_refinement_executors.py","route_id":"route-1fc03cea8e292893","origin_key":"test:perovskite-sim/tests/unit/validation/test_refinement_executors.py::test_two_sided_interface_evidence_checks_carrier_and_state_balance","node_id":"perovskite-sim/tests/unit/validation/test_refinement_executors.py::test_two_sided_interface_evidence_checks_carrier_and_state_balance","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-86307db968070b8b","kind":"registered_test_node","current_path":"perovskite-sim/tests/unit/validation/test_resolved_tunnelling_refinement.py","route_id":"route-f2bbdfc3313080a5","origin_key":"test:perovskite-sim/tests/unit/validation/test_resolved_tunnelling_refinement.py::test_real_resolved_cell_has_a_conservative_observable_electron_channel","node_id":"perovskite-sim/tests/unit/validation/test_resolved_tunnelling_refinement.py::test_real_resolved_cell_has_a_conservative_observable_electron_channel","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-219a38c6e8b35660","kind":"registered_test_node","current_path":"perovskite-sim/tests/unit/validation/test_spatial_defect_refinement.py","route_id":"route-eb6a265f66d286ce","origin_key":"test:perovskite-sim/tests/unit/validation/test_spatial_defect_refinement.py::test_registered_executor_real_cell_matches_exact_contract","node_id":"perovskite-sim/tests/unit/validation/test_spatial_defect_refinement.py::test_registered_executor_real_cell_matches_exact_contract","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-4ad819acd4a567d9","kind":"registered_test_node","current_path":"perovskite-sim/tests/unit/validation/test_tunnelling_channel_refinement.py","route_id":"route-7b656802468076c8","origin_key":"test:perovskite-sim/tests/unit/validation/test_tunnelling_channel_refinement.py::test_lane_declares_a_three_by_three_matrix_and_an_energy_ladder","node_id":"perovskite-sim/tests/unit/validation/test_tunnelling_channel_refinement.py::test_lane_declares_a_three_by_three_matrix_and_an_energy_ladder","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-e0ae2ffbeba74e64","kind":"registered_test_node","current_path":"perovskite-sim/tests/unit/validation/test_tunnelling_channel_refinement.py","route_id":"route-7b656802468076c8","origin_key":"test:perovskite-sim/tests/unit/validation/test_tunnelling_channel_refinement.py::test_the_channel_flux_is_an_observable_not_only_the_terminal_current","node_id":"perovskite-sim/tests/unit/validation/test_tunnelling_channel_refinement.py::test_the_channel_flux_is_an_observable_not_only_the_terminal_current","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-a075116e8ea6424c","kind":"registered_test_node","current_path":"perovskite-sim/tests/unit/validation/test_twod_combined_refinement.py","route_id":"route-052455e87172b648","origin_key":"test:perovskite-sim/tests/unit/validation/test_twod_combined_refinement.py::test_combined_twod_executor_fails_closed_on_missing_point_evidence","node_id":"perovskite-sim/tests/unit/validation/test_twod_combined_refinement.py::test_combined_twod_executor_fails_closed_on_missing_point_evidence","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-d29d0fb4d837f616","kind":"registered_test_node","current_path":"perovskite-sim/tests/unit/validation/test_twod_combined_refinement.py","route_id":"route-052455e87172b648","origin_key":"test:perovskite-sim/tests/unit/validation/test_twod_combined_refinement.py::test_combined_twod_executor_matches_registry_and_explicit_protocol","node_id":"perovskite-sim/tests/unit/validation/test_twod_combined_refinement.py::test_combined_twod_executor_matches_registry_and_explicit_protocol","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-95631c3fb0b691b0","kind":"registered_test_node","current_path":"perovskite-sim/tests/unit/validation/test_twod_combined_refinement.py","route_id":"route-052455e87172b648","origin_key":"test:perovskite-sim/tests/unit/validation/test_twod_combined_refinement.py::test_combined_twod_executor_rejects_malformed_clamp_evidence","node_id":"perovskite-sim/tests/unit/validation/test_twod_combined_refinement.py::test_combined_twod_executor_rejects_malformed_clamp_evidence","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-dcb38ee897e3b8df","kind":"registered_test_node","current_path":"perovskite-sim/tests/validation/test_csi_vannijen2025_cv.py","route_id":"route-dd72355af5e37942","origin_key":"test:perovskite-sim/tests/validation/test_csi_vannijen2025_cv.py::test_vannijen_config_maps_published_profile_without_curve_calibration","node_id":"perovskite-sim/tests/validation/test_csi_vannijen2025_cv.py::test_vannijen_config_maps_published_profile_without_curve_calibration","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-afc4550957d51480","kind":"registered_test_node","current_path":"perovskite-sim/tests/validation/test_csi_vannijen2025_cv.py","route_id":"route-dd72355af5e37942","origin_key":"test:perovskite-sim/tests/validation/test_csi_vannijen2025_cv.py::test_vannijen_cv_records_partial_agreement_not_pointwise_parity","node_id":"perovskite-sim/tests/validation/test_csi_vannijen2025_cv.py::test_vannijen_cv_records_partial_agreement_not_pointwise_parity","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-e38d99a5ef51e5ec","kind":"registered_test_node","current_path":"perovskite-sim/tests/validation/test_csi_vannijen2025_cv.py","route_id":"route-dd72355af5e37942","origin_key":"test:perovskite-sim/tests/validation/test_csi_vannijen2025_cv.py::test_vannijen_local_cv_is_residual_certified_and_grid_converged","node_id":"perovskite-sim/tests/validation/test_csi_vannijen2025_cv.py::test_vannijen_local_cv_is_residual_certified_and_grid_converged","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-4c9b1d78bbdfcd66","kind":"registered_test_node","current_path":"perovskite-sim/tests/validation/test_csi_vannijen2025_cv.py","route_id":"route-dd72355af5e37942","origin_key":"test:perovskite-sim/tests/validation/test_csi_vannijen2025_cv.py::test_vannijen_observations_match_reproducibility_registry","node_id":"perovskite-sim/tests/validation/test_csi_vannijen2025_cv.py::test_vannijen_observations_match_reproducibility_registry","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-d6cc7ae906ba281f","kind":"registered_test_node","current_path":"perovskite-sim/tests/validation/test_csi_vannijen2025_cv.py","route_id":"route-dd72355af5e37942","origin_key":"test:perovskite-sim/tests/validation/test_csi_vannijen2025_cv.py::test_vannijen_source_rows_reproduce_frozen_author_extraction","node_id":"perovskite-sim/tests/validation/test_csi_vannijen2025_cv.py::test_vannijen_source_rows_reproduce_frozen_author_extraction","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-0f73e6238996eec6","kind":"registered_test_node","current_path":"perovskite-sim/tests/validation/test_paper_configurations.py","route_id":"route-d982a585da9c5623","origin_key":"test:perovskite-sim/tests/validation/test_paper_configurations.py::test_driftfusion_ff_in_expected_range","node_id":"perovskite-sim/tests/validation/test_paper_configurations.py::test_driftfusion_ff_in_expected_range","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-b280244ce63845b5","kind":"registered_test_node","current_path":"perovskite-sim/tests/validation/test_paper_configurations.py","route_id":"route-d982a585da9c5623","origin_key":"test:perovskite-sim/tests/validation/test_paper_configurations.py::test_driftfusion_hysteresis_increases_with_scan_rate","node_id":"perovskite-sim/tests/validation/test_paper_configurations.py::test_driftfusion_hysteresis_increases_with_scan_rate","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-f519cd4f3242052d","kind":"registered_test_node","current_path":"perovskite-sim/tests/validation/test_paper_configurations.py","route_id":"route-d982a585da9c5623","origin_key":"test:perovskite-sim/tests/validation/test_paper_configurations.py::test_driftfusion_illumination_slope_physical","node_id":"perovskite-sim/tests/validation/test_paper_configurations.py::test_driftfusion_illumination_slope_physical","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-3f238fb641ef8d3d","kind":"registered_test_node","current_path":"perovskite-sim/tests/validation/test_paper_configurations.py","route_id":"route-d982a585da9c5623","origin_key":"test:perovskite-sim/tests/validation/test_paper_configurations.py::test_driftfusion_jsc_matches_beer_lambert","node_id":"perovskite-sim/tests/validation/test_paper_configurations.py::test_driftfusion_jsc_matches_beer_lambert","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-838e934bbce98c16","kind":"registered_test_node","current_path":"perovskite-sim/tests/validation/test_paper_configurations.py","route_id":"route-d982a585da9c5623","origin_key":"test:perovskite-sim/tests/validation/test_paper_configurations.py::test_driftfusion_paper_comparison_quantifies_low_voc_offset","node_id":"perovskite-sim/tests/validation/test_paper_configurations.py::test_driftfusion_paper_comparison_quantifies_low_voc_offset","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-dd388d011a271d9c","kind":"registered_test_node","current_path":"perovskite-sim/tests/validation/test_paper_configurations.py","route_id":"route-d982a585da9c5623","origin_key":"test:perovskite-sim/tests/validation/test_paper_configurations.py::test_driftfusion_repro_matches_paper_metrics","node_id":"perovskite-sim/tests/validation/test_paper_configurations.py::test_driftfusion_repro_matches_paper_metrics","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-cd3b425f62097cc6","kind":"registered_test_node","current_path":"perovskite-sim/tests/validation/test_paper_configurations.py","route_id":"route-d982a585da9c5623","origin_key":"test:perovskite-sim/tests/validation/test_paper_configurations.py::test_driftfusion_voc_in_expected_range","node_id":"perovskite-sim/tests/validation/test_paper_configurations.py::test_driftfusion_voc_in_expected_range","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-c9121d965ed064b3","kind":"registered_test_node","current_path":"perovskite-sim/tests/validation/test_paper_configurations.py","route_id":"route-d982a585da9c5623","origin_key":"test:perovskite-sim/tests/validation/test_paper_configurations.py::test_ionmonger_ff_in_paper_range","node_id":"perovskite-sim/tests/validation/test_paper_configurations.py::test_ionmonger_ff_in_paper_range","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-30b2463f2e65a945","kind":"registered_test_node","current_path":"perovskite-sim/tests/validation/test_paper_configurations.py","route_id":"route-d982a585da9c5623","origin_key":"test:perovskite-sim/tests/validation/test_paper_configurations.py::test_ionmonger_jsc_matches_paper","node_id":"perovskite-sim/tests/validation/test_paper_configurations.py::test_ionmonger_jsc_matches_paper","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-4157991ac72b8d59","kind":"registered_test_node","current_path":"perovskite-sim/tests/validation/test_paper_configurations.py","route_id":"route-d982a585da9c5623","origin_key":"test:perovskite-sim/tests/validation/test_paper_configurations.py::test_ionmonger_jsc_near_beer_lambert_limit","node_id":"perovskite-sim/tests/validation/test_paper_configurations.py::test_ionmonger_jsc_near_beer_lambert_limit","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-95d151c48b468791","kind":"registered_test_node","current_path":"perovskite-sim/tests/validation/test_paper_configurations.py","route_id":"route-d982a585da9c5623","origin_key":"test:perovskite-sim/tests/validation/test_paper_configurations.py::test_ionmonger_legacy_full_voc_agree_within_tolerance","node_id":"perovskite-sim/tests/validation/test_paper_configurations.py::test_ionmonger_legacy_full_voc_agree_within_tolerance","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-7467aed3c4843bbe","kind":"registered_test_node","current_path":"perovskite-sim/tests/validation/test_paper_configurations.py","route_id":"route-d982a585da9c5623","origin_key":"test:perovskite-sim/tests/validation/test_paper_configurations.py::test_ionmonger_paper_comparison_quantifies_known_voc_offset","node_id":"perovskite-sim/tests/validation/test_paper_configurations.py::test_ionmonger_paper_comparison_quantifies_known_voc_offset","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-0e83a3dcfd89dde0","kind":"registered_test_node","current_path":"perovskite-sim/tests/validation/test_paper_configurations.py","route_id":"route-d982a585da9c5623","origin_key":"test:perovskite-sim/tests/validation/test_paper_configurations.py::test_ionmonger_repro_matches_paper_metrics","node_id":"perovskite-sim/tests/validation/test_paper_configurations.py::test_ionmonger_repro_matches_paper_metrics","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-cd4db0fd3db4ed5a","kind":"registered_test_node","current_path":"perovskite-sim/tests/validation/test_paper_configurations.py","route_id":"route-d982a585da9c5623","origin_key":"test:perovskite-sim/tests/validation/test_paper_configurations.py::test_ionmonger_tmm_bounded_shift_from_bl","node_id":"perovskite-sim/tests/validation/test_paper_configurations.py::test_ionmonger_tmm_bounded_shift_from_bl","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-3643cfd95da137a2","kind":"registered_test_node","current_path":"perovskite-sim/tests/validation/test_paper_configurations.py","route_id":"route-d982a585da9c5623","origin_key":"test:perovskite-sim/tests/validation/test_paper_configurations.py::test_ionmonger_tmm_jsc_physically_bounded","node_id":"perovskite-sim/tests/validation/test_paper_configurations.py::test_ionmonger_tmm_jsc_physically_bounded","evidence_level":"registry_validator_ast_node_check"}, +{"id":"test-9b7d945e5f3d560b","kind":"registered_test_node","current_path":"perovskite-sim/tests/validation/test_paper_configurations.py","route_id":"route-d982a585da9c5623","origin_key":"test:perovskite-sim/tests/validation/test_paper_configurations.py::test_ionmonger_voc_in_band_offset_range","node_id":"perovskite-sim/tests/validation/test_paper_configurations.py::test_ionmonger_voc_in_band_offset_range","evidence_level":"registry_validator_ast_node_check"}, +{"id":"typescript-1398abcd6f250c4c","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/active-physics.ts","route_id":"route-5461e8f004c9de41","origin_key":"typescript:perovskite-sim/frontend/src/active-physics.ts:describeActivePhysics","name":"describeActivePhysics","evidence_level":"source_static"}, +{"id":"typescript-e7bb57fd139f69c6","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/active-physics.ts","route_id":"route-5461e8f004c9de41","origin_key":"typescript:perovskite-sim/frontend/src/active-physics.ts:resolveTierFlags","name":"resolveTierFlags","evidence_level":"source_static"}, +{"id":"typescript-a47128b979df3703","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/active-physics.ts","route_id":"route-5461e8f004c9de41","origin_key":"typescript:perovskite-sim/frontend/src/active-physics.ts:tierPhysicsSummary","name":"tierPhysicsSummary","evidence_level":"source_static"}, +{"id":"typescript-c28d8f9e6b7c1e96","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/api.ts","route_id":"route-f757d9ac00e9efd7","origin_key":"typescript:perovskite-sim/frontend/src/api.ts:BASE","name":"BASE","evidence_level":"source_static"}, +{"id":"typescript-b6caf1695af5b7b3","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/api.ts","route_id":"route-f757d9ac00e9efd7","origin_key":"typescript:perovskite-sim/frontend/src/api.ts:SaveUserConfigError","name":"SaveUserConfigError","evidence_level":"source_static"}, +{"id":"typescript-df443ea7306be532","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/api.ts","route_id":"route-f757d9ac00e9efd7","origin_key":"typescript:perovskite-sim/frontend/src/api.ts:SaveUserConfigResponse","name":"SaveUserConfigResponse","evidence_level":"source_static"}, +{"id":"typescript-d8b4852ad45f0726","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/api.ts","route_id":"route-f757d9ac00e9efd7","origin_key":"typescript:perovskite-sim/frontend/src/api.ts:SaveUserConfigResult","name":"SaveUserConfigResult","evidence_level":"source_static"}, +{"id":"typescript-042ca12b69135faa","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/api.ts","route_id":"route-f757d9ac00e9efd7","origin_key":"typescript:perovskite-sim/frontend/src/api.ts:checkUserConfigExists","name":"checkUserConfigExists","evidence_level":"source_static"}, +{"id":"typescript-e0384ccbfe78eb42","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/api.ts","route_id":"route-f757d9ac00e9efd7","origin_key":"typescript:perovskite-sim/frontend/src/api.ts:fetchLayerTemplates","name":"fetchLayerTemplates","evidence_level":"source_static"}, +{"id":"typescript-5a28057cce97d701","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/api.ts","route_id":"route-f757d9ac00e9efd7","origin_key":"typescript:perovskite-sim/frontend/src/api.ts:fetchOpticalMaterials","name":"fetchOpticalMaterials","evidence_level":"source_static"}, +{"id":"typescript-72639be054e9fee8","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/api.ts","route_id":"route-f757d9ac00e9efd7","origin_key":"typescript:perovskite-sim/frontend/src/api.ts:getConfig","name":"getConfig","evidence_level":"source_static"}, +{"id":"typescript-1c153d3f18c3de37","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/api.ts","route_id":"route-f757d9ac00e9efd7","origin_key":"typescript:perovskite-sim/frontend/src/api.ts:listConfigs","name":"listConfigs","evidence_level":"source_static"}, +{"id":"typescript-1ac4b98390e11edf","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/api.ts","route_id":"route-f757d9ac00e9efd7","origin_key":"typescript:perovskite-sim/frontend/src/api.ts:runDegradation","name":"runDegradation","evidence_level":"source_static"}, +{"id":"typescript-3e1d0cf05f3ce224","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/api.ts","route_id":"route-f757d9ac00e9efd7","origin_key":"typescript:perovskite-sim/frontend/src/api.ts:runImpedance","name":"runImpedance","evidence_level":"source_static"}, +{"id":"typescript-9a20a438b4ef53c4","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/api.ts","route_id":"route-f757d9ac00e9efd7","origin_key":"typescript:perovskite-sim/frontend/src/api.ts:runJV","name":"runJV","evidence_level":"source_static"}, +{"id":"typescript-ea40bf79ba756308","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/api.ts","route_id":"route-f757d9ac00e9efd7","origin_key":"typescript:perovskite-sim/frontend/src/api.ts:runTandem","name":"runTandem","evidence_level":"source_static"}, +{"id":"typescript-a4be96085ef345c6","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/api.ts","route_id":"route-f757d9ac00e9efd7","origin_key":"typescript:perovskite-sim/frontend/src/api.ts:saveUserConfig","name":"saveUserConfig","evidence_level":"source_static"}, +{"id":"typescript-4918adca2b1ac5fb","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/config-editor.ts","route_id":"route-cbe99b453d5d89e8","origin_key":"typescript:perovskite-sim/frontend/src/config-editor.ts:readDeviceEditor","name":"readDeviceEditor","evidence_level":"source_static"}, +{"id":"typescript-8ea24cea41bc5bd3","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/config-editor.ts","route_id":"route-cbe99b453d5d89e8","origin_key":"typescript:perovskite-sim/frontend/src/config-editor.ts:renderDeviceEditor","name":"renderDeviceEditor","evidence_level":"source_static"}, +{"id":"typescript-58efaa8c150b2678","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/config-editor.ts","route_id":"route-cbe99b453d5d89e8","origin_key":"typescript:perovskite-sim/frontend/src/config-editor.ts:setOpticalMaterialOptions","name":"setOpticalMaterialOptions","evidence_level":"source_static"}, +{"id":"typescript-124b53da458cdbad","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/device-panel.ts","route_id":"route-b7eaf8697db983ff","origin_key":"typescript:perovskite-sim/frontend/src/device-panel.ts:DevicePanel","name":"DevicePanel","evidence_level":"source_static"}, +{"id":"typescript-5fbeaa6fe5467ce7","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/device-panel.ts","route_id":"route-b7eaf8697db983ff","origin_key":"typescript:perovskite-sim/frontend/src/device-panel.ts:MountDevicePanelOptions","name":"MountDevicePanelOptions","evidence_level":"source_static"}, +{"id":"typescript-790cf822d116c27f","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/device-panel.ts","route_id":"route-b7eaf8697db983ff","origin_key":"typescript:perovskite-sim/frontend/src/device-panel.ts:computeTmmBadge","name":"computeTmmBadge","evidence_level":"source_static"}, +{"id":"typescript-68057531778de302","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/device-panel.ts","route_id":"route-b7eaf8697db983ff","origin_key":"typescript:perovskite-sim/frontend/src/device-panel.ts:mountDevicePanel","name":"mountDevicePanel","evidence_level":"source_static"}, +{"id":"typescript-87287c37a17f68e2","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/device-utils.ts","route_id":"route-94eeb44968452d54","origin_key":"typescript:perovskite-sim/frontend/src/device-utils.ts:hasTMMOptics","name":"hasTMMOptics","evidence_level":"source_static"}, +{"id":"typescript-effc0fb33d73f67f","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/dynamic-defect-transient-evidence.ts","route_id":"route-632db8749e2d8b2a","origin_key":"typescript:perovskite-sim/frontend/src/dynamic-defect-transient-evidence.ts:collectDynamicDefectTransientEvidenceWarnings","name":"collectDynamicDefectTransientEvidenceWarnings","evidence_level":"source_static"}, +{"id":"typescript-fd128b5faece7826","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/dynamic-defect-transient-evidence.ts","route_id":"route-632db8749e2d8b2a","origin_key":"typescript:perovskite-sim/frontend/src/dynamic-defect-transient-evidence.ts:summarizeDynamicDefectTransientEvidence","name":"summarizeDynamicDefectTransientEvidence","evidence_level":"source_static"}, +{"id":"typescript-0377625ab321fb82","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/explicit-defect-capability.ts","route_id":"route-350fae4387b8ab65","origin_key":"typescript:perovskite-sim/frontend/src/explicit-defect-capability.ts:DynamicDefectImpedancePreset","name":"DynamicDefectImpedancePreset","evidence_level":"source_static"}, +{"id":"typescript-927664545b7be43c","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/explicit-defect-capability.ts","route_id":"route-350fae4387b8ab65","origin_key":"typescript:perovskite-sim/frontend/src/explicit-defect-capability.ts:DynamicDefectTransientEligibility","name":"DynamicDefectTransientEligibility","evidence_level":"source_static"}, +{"id":"typescript-679db9231ee5bb1d","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/explicit-defect-capability.ts","route_id":"route-350fae4387b8ab65","origin_key":"typescript:perovskite-sim/frontend/src/explicit-defect-capability.ts:dynamicDefectImpedancePreset","name":"dynamicDefectImpedancePreset","evidence_level":"source_static"}, +{"id":"typescript-1c1c6bee43cea65f","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/explicit-defect-capability.ts","route_id":"route-350fae4387b8ab65","origin_key":"typescript:perovskite-sim/frontend/src/explicit-defect-capability.ts:dynamicDefectTransientEligibility","name":"dynamicDefectTransientEligibility","evidence_level":"source_static"}, +{"id":"typescript-464fcf8cd929b1f4","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/explicit-defect-capability.ts","route_id":"route-350fae4387b8ab65","origin_key":"typescript:perovskite-sim/frontend/src/explicit-defect-capability.ts:hasActiveMobileIons","name":"hasActiveMobileIons","evidence_level":"source_static"}, +{"id":"typescript-974e1802e6b792bb","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/explicit-defect-capability.ts","route_id":"route-350fae4387b8ab65","origin_key":"typescript:perovskite-sim/frontend/src/explicit-defect-capability.ts:hasExplicitBulkDefects","name":"hasExplicitBulkDefects","evidence_level":"source_static"}, +{"id":"typescript-fbf5b3beaf6e3986","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/explicit-defect-capability.ts","route_id":"route-350fae4387b8ab65","origin_key":"typescript:perovskite-sim/frontend/src/explicit-defect-capability.ts:hasExplicitInterfaceDefects","name":"hasExplicitInterfaceDefects","evidence_level":"source_static"}, +{"id":"typescript-352f3059858b33b2","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/explicit-defect-capability.ts","route_id":"route-350fae4387b8ab65","origin_key":"typescript:perovskite-sim/frontend/src/explicit-defect-capability.ts:requiresChargedInterfaceJVSolver","name":"requiresChargedInterfaceJVSolver","evidence_level":"source_static"}, +{"id":"typescript-00b1fb7d8d514046","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/explicit-defect-capability.ts","route_id":"route-350fae4387b8ab65","origin_key":"typescript:perovskite-sim/frontend/src/explicit-defect-capability.ts:requiresQuasiFermiBulkDefectSolver","name":"requiresQuasiFermiBulkDefectSolver","evidence_level":"source_static"}, +{"id":"typescript-694cce67e9d2ad47","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/explicit-defect-capability.ts","route_id":"route-350fae4387b8ab65","origin_key":"typescript:perovskite-sim/frontend/src/explicit-defect-capability.ts:requiresQuasiFermiJVSolver","name":"requiresQuasiFermiJVSolver","evidence_level":"source_static"}, +{"id":"typescript-cae6ed4ee885f71b","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/impedance-evidence.ts","route_id":"route-babbe57249616e52","origin_key":"typescript:perovskite-sim/frontend/src/impedance-evidence.ts:LEGACY_IMPEDANCE_EVIDENCE_WARNING","name":"LEGACY_IMPEDANCE_EVIDENCE_WARNING","evidence_level":"source_static"}, +{"id":"typescript-40dac77c7661f7ce","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/impedance-evidence.ts","route_id":"route-babbe57249616e52","origin_key":"typescript:perovskite-sim/frontend/src/impedance-evidence.ts:collectImpedanceEvidenceWarnings","name":"collectImpedanceEvidenceWarnings","evidence_level":"source_static"}, +{"id":"typescript-cef81c67249e34de","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/impedance-evidence.ts","route_id":"route-babbe57249616e52","origin_key":"typescript:perovskite-sim/frontend/src/impedance-evidence.ts:summarizeImpedanceEvidence","name":"summarizeImpedanceEvidence","evidence_level":"source_static"}, +{"id":"typescript-d3368df5915c0c74","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/interface-charge-jv-evidence.ts","route_id":"route-8448fd8971926afb","origin_key":"typescript:perovskite-sim/frontend/src/interface-charge-jv-evidence.ts:interfaceChargeJVEvidenceTitle","name":"interfaceChargeJVEvidenceTitle","evidence_level":"source_static"}, +{"id":"typescript-35deec54b08a487d","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/interface-charge-jv-evidence.ts","route_id":"route-8448fd8971926afb","origin_key":"typescript:perovskite-sim/frontend/src/interface-charge-jv-evidence.ts:summarizeInterfaceChargeJVEvidence","name":"summarizeInterfaceChargeJVEvidence","evidence_level":"source_static"}, +{"id":"typescript-21f4a2d36c8e0b55","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/job-stream.ts","route_id":"route-47adb7a14ff1c660","origin_key":"typescript:perovskite-sim/frontend/src/job-stream.ts:startJob","name":"startJob","evidence_level":"source_static"}, +{"id":"typescript-53892184a8339aca","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/job-stream.ts","route_id":"route-47adb7a14ff1c660","origin_key":"typescript:perovskite-sim/frontend/src/job-stream.ts:streamJobEvents","name":"streamJobEvents","evidence_level":"source_static"}, +{"id":"typescript-5ae5b22e220f688d","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/jv-defect-evidence.ts","route_id":"route-a55598579f364362","origin_key":"typescript:perovskite-sim/frontend/src/jv-defect-evidence.ts:summarizeJVBulkDefectEvidence","name":"summarizeJVBulkDefectEvidence","evidence_level":"source_static"}, +{"id":"typescript-68e37787343a1c3e","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/jv-waveform-controls.ts","route_id":"route-eac9d81293965315","origin_key":"typescript:perovskite-sim/frontend/src/jv-waveform-controls.ts:appendWaveformEvidence","name":"appendWaveformEvidence","evidence_level":"source_static"}, +{"id":"typescript-8780e3897e51bee0","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/jv-waveform-controls.ts","route_id":"route-eac9d81293965315","origin_key":"typescript:perovskite-sim/frontend/src/jv-waveform-controls.ts:mountJVWaveformControls","name":"mountJVWaveformControls","evidence_level":"source_static"}, +{"id":"typescript-21f471190ab69d55","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/number-input.ts","route_id":"route-653e2eed26ead27d","origin_key":"typescript:perovskite-sim/frontend/src/number-input.ts:NumberInputNotation","name":"NumberInputNotation","evidence_level":"source_static"}, +{"id":"typescript-ccf5d24b66bb7263","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/number-input.ts","route_id":"route-653e2eed26ead27d","origin_key":"typescript:perovskite-sim/frontend/src/number-input.ts:formatNumberInput","name":"formatNumberInput","evidence_level":"source_static"}, +{"id":"typescript-4ad76ad5696eefdc","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/number-input.ts","route_id":"route-653e2eed26ead27d","origin_key":"typescript:perovskite-sim/frontend/src/number-input.ts:numberInputAttributes","name":"numberInputAttributes","evidence_level":"source_static"}, +{"id":"typescript-64486077c7565a06","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/number-input.ts","route_id":"route-653e2eed26ead27d","origin_key":"typescript:perovskite-sim/frontend/src/number-input.ts:readNumberInput","name":"readNumberInput","evidence_level":"source_static"}, +{"id":"typescript-ac7d7276b7340c01","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/number-input.ts","route_id":"route-653e2eed26ead27d","origin_key":"typescript:perovskite-sim/frontend/src/number-input.ts:setNumberInputValue","name":"setNumberInputValue","evidence_level":"source_static"}, +{"id":"typescript-979946f3430fbcd4","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/panels/algorithm.ts","route_id":"route-d22336f969ea99be","origin_key":"typescript:perovskite-sim/frontend/src/panels/algorithm.ts:algorithmHTML","name":"algorithmHTML","evidence_level":"source_static"}, +{"id":"typescript-6fc0b1dd615a20f2","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/panels/algorithm.ts","route_id":"route-d22336f969ea99be","origin_key":"typescript:perovskite-sim/frontend/src/panels/algorithm.ts:mountAlgorithmPanel","name":"mountAlgorithmPanel","evidence_level":"source_static"}, +{"id":"typescript-b44e63f8393af64c","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/panels/degradation.ts","route_id":"route-1ac9c53320f5ec47","origin_key":"typescript:perovskite-sim/frontend/src/panels/degradation.ts:mountDegradationPanel","name":"mountDegradationPanel","evidence_level":"source_static"}, +{"id":"typescript-6b0a209e40cb4187","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/panels/impedance.ts","route_id":"route-a7deeee117b3f51a","origin_key":"typescript:perovskite-sim/frontend/src/panels/impedance.ts:mountImpedancePanel","name":"mountImpedancePanel","evidence_level":"source_static"}, +{"id":"typescript-4834add84011f188","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/panels/jv.ts","route_id":"route-003af88342060b3f","origin_key":"typescript:perovskite-sim/frontend/src/panels/jv.ts:mountJVPanel","name":"mountJVPanel","evidence_level":"source_static"}, +{"id":"typescript-e7d930c48764bd32","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/panels/jv.ts","route_id":"route-003af88342060b3f","origin_key":"typescript:perovskite-sim/frontend/src/panels/jv.ts:renderJVResults","name":"renderJVResults","evidence_level":"source_static"}, +{"id":"typescript-163a145617f644c0","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/panels/parameters.ts","route_id":"route-7ef81c52668a0ecc","origin_key":"typescript:perovskite-sim/frontend/src/panels/parameters.ts:mountParametersPanel","name":"mountParametersPanel","evidence_level":"source_static"}, +{"id":"typescript-361229be97b24892","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/panels/parameters.ts","route_id":"route-7ef81c52668a0ecc","origin_key":"typescript:perovskite-sim/frontend/src/panels/parameters.ts:parametersHTML","name":"parametersHTML","evidence_level":"source_static"}, +{"id":"typescript-bb87eedd55dde43c","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/panels/tutorial.ts","route_id":"route-8bcf67e514ab4920","origin_key":"typescript:perovskite-sim/frontend/src/panels/tutorial.ts:mountTutorialPanel","name":"mountTutorialPanel","evidence_level":"source_static"}, +{"id":"typescript-e6fe448dad410097","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/panels/tutorial.ts","route_id":"route-8bcf67e514ab4920","origin_key":"typescript:perovskite-sim/frontend/src/panels/tutorial.ts:tutorialHTML","name":"tutorialHTML","evidence_level":"source_static"}, +{"id":"typescript-35fab12b8a8f67fe","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/plot-theme.ts","route_id":"route-e3f780201d5ec12b","origin_key":"typescript:perovskite-sim/frontend/src/plot-theme.ts:AXIS_TITLE_FONT","name":"AXIS_TITLE_FONT","evidence_level":"source_static"}, +{"id":"typescript-817beeb8b73cc3c3","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/plot-theme.ts","route_id":"route-e3f780201d5ec12b","origin_key":"typescript:perovskite-sim/frontend/src/plot-theme.ts:LINE","name":"LINE","evidence_level":"source_static"}, +{"id":"typescript-3c7968c755a3187a","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/plot-theme.ts","route_id":"route-e3f780201d5ec12b","origin_key":"typescript:perovskite-sim/frontend/src/plot-theme.ts:MARKER","name":"MARKER","evidence_level":"source_static"}, +{"id":"typescript-839ae7d57d7231bf","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/plot-theme.ts","route_id":"route-e3f780201d5ec12b","origin_key":"typescript:perovskite-sim/frontend/src/plot-theme.ts:MetricAnnotationOpts","name":"MetricAnnotationOpts","evidence_level":"source_static"}, +{"id":"typescript-e93ae3de11d996c5","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/plot-theme.ts","route_id":"route-e3f780201d5ec12b","origin_key":"typescript:perovskite-sim/frontend/src/plot-theme.ts:PALETTE","name":"PALETTE","evidence_level":"source_static"}, +{"id":"typescript-792bb0b19ed60a2b","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/plot-theme.ts","route_id":"route-e3f780201d5ec12b","origin_key":"typescript:perovskite-sim/frontend/src/plot-theme.ts:PUBLICATION_FONT_FAMILY","name":"PUBLICATION_FONT_FAMILY","evidence_level":"source_static"}, +{"id":"typescript-000dc5d582614bee","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/plot-theme.ts","route_id":"route-e3f780201d5ec12b","origin_key":"typescript:perovskite-sim/frontend/src/plot-theme.ts:PUBLICATION_LINE_WIDTH","name":"PUBLICATION_LINE_WIDTH","evidence_level":"source_static"}, +{"id":"typescript-0a446c96cbd0a693","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/plot-theme.ts","route_id":"route-e3f780201d5ec12b","origin_key":"typescript:perovskite-sim/frontend/src/plot-theme.ts:PUBLICATION_MARKER_SIZE","name":"PUBLICATION_MARKER_SIZE","evidence_level":"source_static"}, +{"id":"typescript-cffb8912c21895a8","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/plot-theme.ts","route_id":"route-e3f780201d5ec12b","origin_key":"typescript:perovskite-sim/frontend/src/plot-theme.ts:PUBLICATION_PALETTE","name":"PUBLICATION_PALETTE","evidence_level":"source_static"}, +{"id":"typescript-9f40110f1e86b2b0","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/plot-theme.ts","route_id":"route-e3f780201d5ec12b","origin_key":"typescript:perovskite-sim/frontend/src/plot-theme.ts:PublicationAxisOpts","name":"PublicationAxisOpts","evidence_level":"source_static"}, +{"id":"typescript-8aac43d9a66887d2","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/plot-theme.ts","route_id":"route-e3f780201d5ec12b","origin_key":"typescript:perovskite-sim/frontend/src/plot-theme.ts:PublicationTraceStyleOpts","name":"PublicationTraceStyleOpts","evidence_level":"source_static"}, +{"id":"typescript-ad75f9a77ae5c774","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/plot-theme.ts","route_id":"route-e3f780201d5ec12b","origin_key":"typescript:perovskite-sim/frontend/src/plot-theme.ts:axisTitle","name":"axisTitle","evidence_level":"source_static"}, +{"id":"typescript-ac47bca93d13f583","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/plot-theme.ts","route_id":"route-e3f780201d5ec12b","origin_key":"typescript:perovskite-sim/frontend/src/plot-theme.ts:baseLayout","name":"baseLayout","evidence_level":"source_static"}, +{"id":"typescript-9c8e5a2e97b0847c","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/plot-theme.ts","route_id":"route-e3f780201d5ec12b","origin_key":"typescript:perovskite-sim/frontend/src/plot-theme.ts:metricAnnotation","name":"metricAnnotation","evidence_level":"source_static"}, +{"id":"typescript-96f57f0435a88fe8","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/plot-theme.ts","route_id":"route-e3f780201d5ec12b","origin_key":"typescript:perovskite-sim/frontend/src/plot-theme.ts:plotConfig","name":"plotConfig","evidence_level":"source_static"}, +{"id":"typescript-a14ef41e7ebc901e","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/plot-theme.ts","route_id":"route-e3f780201d5ec12b","origin_key":"typescript:perovskite-sim/frontend/src/plot-theme.ts:publicationAxis","name":"publicationAxis","evidence_level":"source_static"}, +{"id":"typescript-c913b33d055c7360","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/plot-theme.ts","route_id":"route-e3f780201d5ec12b","origin_key":"typescript:perovskite-sim/frontend/src/plot-theme.ts:publicationAxisTitle","name":"publicationAxisTitle","evidence_level":"source_static"}, +{"id":"typescript-9cfcb0997372da5d","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/plot-theme.ts","route_id":"route-e3f780201d5ec12b","origin_key":"typescript:perovskite-sim/frontend/src/plot-theme.ts:publicationConfig","name":"publicationConfig","evidence_level":"source_static"}, +{"id":"typescript-f9b1d83c3c47802f","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/plot-theme.ts","route_id":"route-e3f780201d5ec12b","origin_key":"typescript:perovskite-sim/frontend/src/plot-theme.ts:publicationLayout","name":"publicationLayout","evidence_level":"source_static"}, +{"id":"typescript-e4202e9a3b1e419d","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/plot-theme.ts","route_id":"route-e3f780201d5ec12b","origin_key":"typescript:perovskite-sim/frontend/src/plot-theme.ts:publicationTraceStyle","name":"publicationTraceStyle","evidence_level":"source_static"}, +{"id":"typescript-b7fa73a027716d5e","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/preset-catalog.ts","route_id":"route-6e974a0a5ebc5295","origin_key":"typescript:perovskite-sim/frontend/src/preset-catalog.ts:RESEARCH_PRESETS","name":"RESEARCH_PRESETS","evidence_level":"source_static"}, +{"id":"typescript-fcc39073e5c7abaf","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/preset-catalog.ts","route_id":"route-6e974a0a5ebc5295","origin_key":"typescript:perovskite-sim/frontend/src/preset-catalog.ts:ReferenceModelDescription","name":"ReferenceModelDescription","evidence_level":"source_static"}, +{"id":"typescript-bc976d68bde325d1","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/preset-catalog.ts","route_id":"route-6e974a0a5ebc5295","origin_key":"typescript:perovskite-sim/frontend/src/preset-catalog.ts:presetDescription","name":"presetDescription","evidence_level":"source_static"}, +{"id":"typescript-c600206eb7e0df51","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/preset-catalog.ts","route_id":"route-6e974a0a5ebc5295","origin_key":"typescript:perovskite-sim/frontend/src/preset-catalog.ts:presetLabel","name":"presetLabel","evidence_level":"source_static"}, +{"id":"typescript-eee7abb2f69f8328","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/preset-catalog.ts","route_id":"route-6e974a0a5ebc5295","origin_key":"typescript:perovskite-sim/frontend/src/preset-catalog.ts:presetPreferredMode","name":"presetPreferredMode","evidence_level":"source_static"}, +{"id":"typescript-3cefc8ca80b04ef5","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/preset-catalog.ts","route_id":"route-6e974a0a5ebc5295","origin_key":"typescript:perovskite-sim/frontend/src/preset-catalog.ts:researchPresetEntries","name":"researchPresetEntries","evidence_level":"source_static"}, +{"id":"typescript-547605b46bc0e436","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/progress.ts","route_id":"route-91ed380301bdd595","origin_key":"typescript:perovskite-sim/frontend/src/progress.ts:ProgressBarHandle","name":"ProgressBarHandle","evidence_level":"source_static"}, +{"id":"typescript-45435ad3130a368f","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/progress.ts","route_id":"route-91ed380301bdd595","origin_key":"typescript:perovskite-sim/frontend/src/progress.ts:SubscriptPart","name":"SubscriptPart","evidence_level":"source_static"}, +{"id":"typescript-2abe789359af79f6","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/progress.ts","route_id":"route-91ed380301bdd595","origin_key":"typescript:perovskite-sim/frontend/src/progress.ts:createProgressBar","name":"createProgressBar","evidence_level":"source_static"}, +{"id":"typescript-3ab6f0dedf44cd7f","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/progress.ts","route_id":"route-91ed380301bdd595","origin_key":"typescript:perovskite-sim/frontend/src/progress.ts:renderProgressMessage","name":"renderProgressMessage","evidence_level":"source_static"}, +{"id":"typescript-982b1588967bfd1e","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/progress.ts","route_id":"route-91ed380301bdd595","origin_key":"typescript:perovskite-sim/frontend/src/progress.ts:tokeniseProgressMessage","name":"tokeniseProgressMessage","evidence_level":"source_static"}, +{"id":"typescript-c71a5d41405ac549","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/signal-smooth.ts","route_id":"route-c98dd57da20c4d6a","origin_key":"typescript:perovskite-sim/frontend/src/signal-smooth.ts:medfilt","name":"medfilt","evidence_level":"source_static"}, +{"id":"typescript-ad0e08aedfebdc6f","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/signal-smooth.ts","route_id":"route-c98dd57da20c4d6a","origin_key":"typescript:perovskite-sim/frontend/src/signal-smooth.ts:savgol11","name":"savgol11","evidence_level":"source_static"}, +{"id":"typescript-22aabda00820761e","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/signal-smooth.ts","route_id":"route-c98dd57da20c4d6a","origin_key":"typescript:perovskite-sim/frontend/src/signal-smooth.ts:smoothEQE","name":"smoothEQE","evidence_level":"source_static"}, +{"id":"typescript-164d713a6a82674c","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/stack/add-layer-dialog.ts","route_id":"route-946ec501a9d0087d","origin_key":"typescript:perovskite-sim/frontend/src/stack/add-layer-dialog.ts:openAddLayerDialog","name":"openAddLayerDialog","evidence_level":"source_static"}, +{"id":"typescript-2a496fc1040070a1","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/stack/dirty-state.ts","route_id":"route-6339f819bedb3590","origin_key":"typescript:perovskite-sim/frontend/src/stack/dirty-state.ts:isDirty","name":"isDirty","evidence_level":"source_static"}, +{"id":"typescript-d35369ed8b898506","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/stack/log-scale-height.ts","route_id":"route-0cef01505fd6c412","origin_key":"typescript:perovskite-sim/frontend/src/stack/log-scale-height.ts:MAX_M","name":"MAX_M","evidence_level":"source_static"}, +{"id":"typescript-d398d500a1e36d7f","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/stack/log-scale-height.ts","route_id":"route-0cef01505fd6c412","origin_key":"typescript:perovskite-sim/frontend/src/stack/log-scale-height.ts:MAX_PX","name":"MAX_PX","evidence_level":"source_static"}, +{"id":"typescript-06197eabcaea7b07","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/stack/log-scale-height.ts","route_id":"route-0cef01505fd6c412","origin_key":"typescript:perovskite-sim/frontend/src/stack/log-scale-height.ts:MIN_M","name":"MIN_M","evidence_level":"source_static"}, +{"id":"typescript-5b34a5bee6f232fa","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/stack/log-scale-height.ts","route_id":"route-0cef01505fd6c412","origin_key":"typescript:perovskite-sim/frontend/src/stack/log-scale-height.ts:MIN_PX","name":"MIN_PX","evidence_level":"source_static"}, +{"id":"typescript-d23a71185a144917","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/stack/log-scale-height.ts","route_id":"route-0cef01505fd6c412","origin_key":"typescript:perovskite-sim/frontend/src/stack/log-scale-height.ts:logScaleHeight","name":"logScaleHeight","evidence_level":"source_static"}, +{"id":"typescript-7255ce8d909c218d","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/stack/reconcile-interfaces.ts","route_id":"route-bd9966aa031e9571","origin_key":"typescript:perovskite-sim/frontend/src/stack/reconcile-interfaces.ts:reconcileInterfaces","name":"reconcileInterfaces","evidence_level":"source_static"}, +{"id":"typescript-ff4113e9e727dbac","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/stack/save-as-dialog.ts","route_id":"route-db731fb3c86dff54","origin_key":"typescript:perovskite-sim/frontend/src/stack/save-as-dialog.ts:SaveAsResult","name":"SaveAsResult","evidence_level":"source_static"}, +{"id":"typescript-9dda31a5e2ae99cc","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/stack/save-as-dialog.ts","route_id":"route-db731fb3c86dff54","origin_key":"typescript:perovskite-sim/frontend/src/stack/save-as-dialog.ts:openSaveAsDialog","name":"openSaveAsDialog","evidence_level":"source_static"}, +{"id":"typescript-5bb2517b657d4884","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/stack/stack-interface-strip.ts","route_id":"route-10fb5a121c5313b3","origin_key":"typescript:perovskite-sim/frontend/src/stack/stack-interface-strip.ts:renderInterfaceStrip","name":"renderInterfaceStrip","evidence_level":"source_static"}, +{"id":"typescript-67eb81f602b7d559","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/stack/stack-layer-card.ts","route_id":"route-55ef33b451a04a83","origin_key":"typescript:perovskite-sim/frontend/src/stack/stack-layer-card.ts:prettyFormula","name":"prettyFormula","evidence_level":"source_static"}, +{"id":"typescript-5327d9cff64cc11d","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/stack/stack-layer-card.ts","route_id":"route-55ef33b451a04a83","origin_key":"typescript:perovskite-sim/frontend/src/stack/stack-layer-card.ts:renderLayerCard","name":"renderLayerCard","evidence_level":"source_static"}, +{"id":"typescript-13d133ec49d0cf24","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/stack/stack-validator.ts","route_id":"route-22c4007e8dd725a9","origin_key":"typescript:perovskite-sim/frontend/src/stack/stack-validator.ts:validate","name":"validate","evidence_level":"source_static"}, +{"id":"typescript-151cdec8b198addd","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/stack/stack-visualizer.ts","route_id":"route-d1965a383ba9309d","origin_key":"typescript:perovskite-sim/frontend/src/stack/stack-visualizer.ts:StackVisualizerHandle","name":"StackVisualizerHandle","evidence_level":"source_static"}, +{"id":"typescript-f41137b32d65bd0a","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/stack/stack-visualizer.ts","route_id":"route-d1965a383ba9309d","origin_key":"typescript:perovskite-sim/frontend/src/stack/stack-visualizer.ts:mountStackVisualizer","name":"mountStackVisualizer","evidence_level":"source_static"}, +{"id":"typescript-c722faae5066d0a7","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/stack/tandem-stack-visualizer.ts","route_id":"route-3d092eb5004b0f59","origin_key":"typescript:perovskite-sim/frontend/src/stack/tandem-stack-visualizer.ts:TandemStackVisualizerHandle","name":"TandemStackVisualizerHandle","evidence_level":"source_static"}, +{"id":"typescript-0917fe47ebfc20fe","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/stack/tandem-stack-visualizer.ts","route_id":"route-3d092eb5004b0f59","origin_key":"typescript:perovskite-sim/frontend/src/stack/tandem-stack-visualizer.ts:mountTandemStackVisualizer","name":"mountTandemStackVisualizer","evidence_level":"source_static"}, +{"id":"typescript-3dc1c8dcb7632620","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/types.ts","route_id":"route-fa5dde7cc753e4f9","origin_key":"typescript:perovskite-sim/frontend/src/types.ts:BuiltInPotentialMode","name":"BuiltInPotentialMode","evidence_level":"source_static"}, +{"id":"typescript-9936a7ba59218991","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/types.ts","route_id":"route-fa5dde7cc753e4f9","origin_key":"typescript:perovskite-sim/frontend/src/types.ts:BulkDefectChargeTransition","name":"BulkDefectChargeTransition","evidence_level":"source_static"}, +{"id":"typescript-f56f9b3a6a9a72c9","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/types.ts","route_id":"route-fa5dde7cc753e4f9","origin_key":"typescript:perovskite-sim/frontend/src/types.ts:BulkDefectDistribution","name":"BulkDefectDistribution","evidence_level":"source_static"}, +{"id":"typescript-84f7393f3748ad6c","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/types.ts","route_id":"route-fa5dde7cc753e4f9","origin_key":"typescript:perovskite-sim/frontend/src/types.ts:BulkDefectDistributionKind","name":"BulkDefectDistributionKind","evidence_level":"source_static"}, +{"id":"typescript-786c5045a651964b","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/types.ts","route_id":"route-fa5dde7cc753e4f9","origin_key":"typescript:perovskite-sim/frontend/src/types.ts:BulkDefectKinetics","name":"BulkDefectKinetics","evidence_level":"source_static"}, +{"id":"typescript-4993a0bc24e1ff81","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/types.ts","route_id":"route-fa5dde7cc753e4f9","origin_key":"typescript:perovskite-sim/frontend/src/types.ts:BulkDefectModel","name":"BulkDefectModel","evidence_level":"source_static"}, +{"id":"typescript-c7d1bd1644331295","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/types.ts","route_id":"route-fa5dde7cc753e4f9","origin_key":"typescript:perovskite-sim/frontend/src/types.ts:BulkDefectNeutralReference","name":"BulkDefectNeutralReference","evidence_level":"source_static"}, +{"id":"typescript-a26bd7bd8bd040f4","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/types.ts","route_id":"route-fa5dde7cc753e4f9","origin_key":"typescript:perovskite-sim/frontend/src/types.ts:BulkDefectSchemaVersion","name":"BulkDefectSchemaVersion","evidence_level":"source_static"}, +{"id":"typescript-31e340920f45ba57","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/types.ts","route_id":"route-fa5dde7cc753e4f9","origin_key":"typescript:perovskite-sim/frontend/src/types.ts:BulkDefectSpatialKnot","name":"BulkDefectSpatialKnot","evidence_level":"source_static"}, +{"id":"typescript-c57c70c4939b35b2","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/types.ts","route_id":"route-fa5dde7cc753e4f9","origin_key":"typescript:perovskite-sim/frontend/src/types.ts:BulkDefectSpatialProfile","name":"BulkDefectSpatialProfile","evidence_level":"source_static"}, +{"id":"typescript-7632daef5c3ca618","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/types.ts","route_id":"route-fa5dde7cc753e4f9","origin_key":"typescript:perovskite-sim/frontend/src/types.ts:BulkDefectSpecies","name":"BulkDefectSpecies","evidence_level":"source_static"}, +{"id":"typescript-6de0ef17cc65cadd","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/types.ts","route_id":"route-fa5dde7cc753e4f9","origin_key":"typescript:perovskite-sim/frontend/src/types.ts:BulkDefectWidthConvention","name":"BulkDefectWidthConvention","evidence_level":"source_static"}, +{"id":"typescript-782bf305d1d6de87","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/types.ts","route_id":"route-fa5dde7cc753e4f9","origin_key":"typescript:perovskite-sim/frontend/src/types.ts:ComplexNumber","name":"ComplexNumber","evidence_level":"source_static"}, +{"id":"typescript-d766f2c348990416","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/types.ts","route_id":"route-fa5dde7cc753e4f9","origin_key":"typescript:perovskite-sim/frontend/src/types.ts:ConfigEntry","name":"ConfigEntry","evidence_level":"source_static"}, +{"id":"typescript-a2eaa3294d277619","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/types.ts","route_id":"route-fa5dde7cc753e4f9","origin_key":"typescript:perovskite-sim/frontend/src/types.ts:ContactThermodynamicCertificate","name":"ContactThermodynamicCertificate","evidence_level":"source_static"}, +{"id":"typescript-6736c4b6871a097f","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/types.ts","route_id":"route-fa5dde7cc753e4f9","origin_key":"typescript:perovskite-sim/frontend/src/types.ts:CurrentDecompResult","name":"CurrentDecompResult","evidence_level":"source_static"}, +{"id":"typescript-858c5c8e84fce859","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/types.ts","route_id":"route-fa5dde7cc753e4f9","origin_key":"typescript:perovskite-sim/frontend/src/types.ts:DarkJVResult","name":"DarkJVResult","evidence_level":"source_static"}, +{"id":"typescript-95773ff808976fc7","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/types.ts","route_id":"route-fa5dde7cc753e4f9","origin_key":"typescript:perovskite-sim/frontend/src/types.ts:DegParams","name":"DegParams","evidence_level":"source_static"}, +{"id":"typescript-cbacf565c3ef6c9b","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/types.ts","route_id":"route-fa5dde7cc753e4f9","origin_key":"typescript:perovskite-sim/frontend/src/types.ts:DegResult","name":"DegResult","evidence_level":"source_static"}, +{"id":"typescript-a276cc347bea66be","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/types.ts","route_id":"route-fa5dde7cc753e4f9","origin_key":"typescript:perovskite-sim/frontend/src/types.ts:DeviceConfig","name":"DeviceConfig","evidence_level":"source_static"}, +{"id":"typescript-067f9897ef788836","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/types.ts","route_id":"route-fa5dde7cc753e4f9","origin_key":"typescript:perovskite-sim/frontend/src/types.ts:DynamicDefectCapability","name":"DynamicDefectCapability","evidence_level":"source_static"}, +{"id":"typescript-a0e5d9f02240990e","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/types.ts","route_id":"route-fa5dde7cc753e4f9","origin_key":"typescript:perovskite-sim/frontend/src/types.ts:DynamicDefectFrequencyWindowEvidence","name":"DynamicDefectFrequencyWindowEvidence","evidence_level":"source_static"}, +{"id":"typescript-b24e9db7b79fe223","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/types.ts","route_id":"route-fa5dde7cc753e4f9","origin_key":"typescript:perovskite-sim/frontend/src/types.ts:DynamicDefectImpedanceEvidence","name":"DynamicDefectImpedanceEvidence","evidence_level":"source_static"}, +{"id":"typescript-e65a356d9aeccb14","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/types.ts","route_id":"route-fa5dde7cc753e4f9","origin_key":"typescript:perovskite-sim/frontend/src/types.ts:DynamicDefectImpedanceGates","name":"DynamicDefectImpedanceGates","evidence_level":"source_static"}, +{"id":"typescript-8a3beb70ffefca3f","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/types.ts","route_id":"route-fa5dde7cc753e4f9","origin_key":"typescript:perovskite-sim/frontend/src/types.ts:DynamicDefectImpedanceProtocol","name":"DynamicDefectImpedanceProtocol","evidence_level":"source_static"}, +{"id":"typescript-6d528aa2c0e2559a","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/types.ts","route_id":"route-fa5dde7cc753e4f9","origin_key":"typescript:perovskite-sim/frontend/src/types.ts:DynamicDefectTransientEngineCertificate","name":"DynamicDefectTransientEngineCertificate","evidence_level":"source_static"}, +{"id":"typescript-21d372b17777d2c6","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/types.ts","route_id":"route-fa5dde7cc753e4f9","origin_key":"typescript:perovskite-sim/frontend/src/types.ts:DynamicDefectTransientEvidence","name":"DynamicDefectTransientEvidence","evidence_level":"source_static"}, +{"id":"typescript-b059f1f94bef0f2b","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/types.ts","route_id":"route-fa5dde7cc753e4f9","origin_key":"typescript:perovskite-sim/frontend/src/types.ts:DynamicDefectTransientProtocol","name":"DynamicDefectTransientProtocol","evidence_level":"source_static"}, +{"id":"typescript-33e5f0cd20f40432","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/types.ts","route_id":"route-fa5dde7cc753e4f9","origin_key":"typescript:perovskite-sim/frontend/src/types.ts:DynamicDefectTransientResult","name":"DynamicDefectTransientResult","evidence_level":"source_static"}, +{"id":"typescript-ab1672409d054354","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/types.ts","route_id":"route-fa5dde7cc753e4f9","origin_key":"typescript:perovskite-sim/frontend/src/types.ts:DynamicDefectTransientSolverPolicy","name":"DynamicDefectTransientSolverPolicy","evidence_level":"source_static"}, +{"id":"typescript-f915f3090238f912","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/types.ts","route_id":"route-fa5dde7cc753e4f9","origin_key":"typescript:perovskite-sim/frontend/src/types.ts:ELResult","name":"ELResult","evidence_level":"source_static"}, +{"id":"typescript-f14598b449ce68ca","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/types.ts","route_id":"route-fa5dde7cc753e4f9","origin_key":"typescript:perovskite-sim/frontend/src/types.ts:EQEResult","name":"EQEResult","evidence_level":"source_static"}, +{"id":"typescript-84a18916ae1d6aca","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/types.ts","route_id":"route-fa5dde7cc753e4f9","origin_key":"typescript:perovskite-sim/frontend/src/types.ts:FrequencyWindowAssessment","name":"FrequencyWindowAssessment","evidence_level":"source_static"}, +{"id":"typescript-b973d76204cc408f","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/types.ts","route_id":"route-fa5dde7cc753e4f9","origin_key":"typescript:perovskite-sim/frontend/src/types.ts:GridAssessment","name":"GridAssessment","evidence_level":"source_static"}, +{"id":"typescript-e7b708cc52f3eaff","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/types.ts","route_id":"route-fa5dde7cc753e4f9","origin_key":"typescript:perovskite-sim/frontend/src/types.ts:ISParams","name":"ISParams","evidence_level":"source_static"}, +{"id":"typescript-cec8ff80eea96492","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/types.ts","route_id":"route-fa5dde7cc753e4f9","origin_key":"typescript:perovskite-sim/frontend/src/types.ts:ISResult","name":"ISResult","evidence_level":"source_static"}, +{"id":"typescript-a865ceec4668a3a0","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/types.ts","route_id":"route-fa5dde7cc753e4f9","origin_key":"typescript:perovskite-sim/frontend/src/types.ts:ImpedanceDiagnostics","name":"ImpedanceDiagnostics","evidence_level":"source_static"}, +{"id":"typescript-0f49b44ede2fb894","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/types.ts","route_id":"route-fa5dde7cc753e4f9","origin_key":"typescript:perovskite-sim/frontend/src/types.ts:ImpedanceProtocol","name":"ImpedanceProtocol","evidence_level":"source_static"}, +{"id":"typescript-5ebfb99aafc43a7a","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/types.ts","route_id":"route-fa5dde7cc753e4f9","origin_key":"typescript:perovskite-sim/frontend/src/types.ts:InterfaceChargeJVAcceptance","name":"InterfaceChargeJVAcceptance","evidence_level":"source_static"}, +{"id":"typescript-ad8959f15a3981d2","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/types.ts","route_id":"route-fa5dde7cc753e4f9","origin_key":"typescript:perovskite-sim/frontend/src/types.ts:InterfaceChargeJVEvidence","name":"InterfaceChargeJVEvidence","evidence_level":"source_static"}, +{"id":"typescript-bbb51f968a84f3d4","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/types.ts","route_id":"route-fa5dde7cc753e4f9","origin_key":"typescript:perovskite-sim/frontend/src/types.ts:InterfaceChargeJVPointEvidence","name":"InterfaceChargeJVPointEvidence","evidence_level":"source_static"}, +{"id":"typescript-a7a2f850db2eec57","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/types.ts","route_id":"route-fa5dde7cc753e4f9","origin_key":"typescript:perovskite-sim/frontend/src/types.ts:InterfaceChargeJVProtocol","name":"InterfaceChargeJVProtocol","evidence_level":"source_static"}, +{"id":"typescript-be5d73ef5fa1f4de","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/types.ts","route_id":"route-fa5dde7cc753e4f9","origin_key":"typescript:perovskite-sim/frontend/src/types.ts:InterfaceChargeJVSolverControls","name":"InterfaceChargeJVSolverControls","evidence_level":"source_static"}, +{"id":"typescript-9d4b45c523b6ecf7","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/types.ts","route_id":"route-fa5dde7cc753e4f9","origin_key":"typescript:perovskite-sim/frontend/src/types.ts:InterfaceDefectFields","name":"InterfaceDefectFields","evidence_level":"source_static"}, +{"id":"typescript-b6fbf0d9f59987ec","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/types.ts","route_id":"route-fa5dde7cc753e4f9","origin_key":"typescript:perovskite-sim/frontend/src/types.ts:IonAwareFrequencyPerturbationAssessment","name":"IonAwareFrequencyPerturbationAssessment","evidence_level":"source_static"}, +{"id":"typescript-b23d18b2685aa2c2","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/types.ts","route_id":"route-fa5dde7cc753e4f9","origin_key":"typescript:perovskite-sim/frontend/src/types.ts:IonAwareFrequencyPointCertificate","name":"IonAwareFrequencyPointCertificate","evidence_level":"source_static"}, +{"id":"typescript-086cfd4af36b5195","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/types.ts","route_id":"route-fa5dde7cc753e4f9","origin_key":"typescript:perovskite-sim/frontend/src/types.ts:IonAwareImpedanceEvidence","name":"IonAwareImpedanceEvidence","evidence_level":"source_static"}, +{"id":"typescript-0475c38bc08c63e3","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/types.ts","route_id":"route-fa5dde7cc753e4f9","origin_key":"typescript:perovskite-sim/frontend/src/types.ts:IonAwarePerturbationStepAssessment","name":"IonAwarePerturbationStepAssessment","evidence_level":"source_static"}, +{"id":"typescript-7b0e63ac57d73c0f","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/types.ts","route_id":"route-fa5dde7cc753e4f9","origin_key":"typescript:perovskite-sim/frontend/src/types.ts:IonicBranchCoverage","name":"IonicBranchCoverage","evidence_level":"source_static"}, +{"id":"typescript-bd5ec6517bec52a0","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/types.ts","route_id":"route-fa5dde7cc753e4f9","origin_key":"typescript:perovskite-sim/frontend/src/types.ts:IonicTimescale","name":"IonicTimescale","evidence_level":"source_static"}, +{"id":"typescript-b25a746ab7873d28","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/types.ts","route_id":"route-fa5dde7cc753e4f9","origin_key":"typescript:perovskite-sim/frontend/src/types.ts:JV2DCurrentDiagnostic","name":"JV2DCurrentDiagnostic","evidence_level":"source_static"}, +{"id":"typescript-278b2c6eaf92bf8a","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/types.ts","route_id":"route-fa5dde7cc753e4f9","origin_key":"typescript:perovskite-sim/frontend/src/types.ts:JV2DInterfaceSRHDiagnostic","name":"JV2DInterfaceSRHDiagnostic","evidence_level":"source_static"}, +{"id":"typescript-e987431167dceb03","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/types.ts","route_id":"route-fa5dde7cc753e4f9","origin_key":"typescript:perovskite-sim/frontend/src/types.ts:JV2DIonDiagnostic","name":"JV2DIonDiagnostic","evidence_level":"source_static"}, +{"id":"typescript-8b333273eb958317","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/types.ts","route_id":"route-fa5dde7cc753e4f9","origin_key":"typescript:perovskite-sim/frontend/src/types.ts:JV2DResult","name":"JV2DResult","evidence_level":"source_static"}, +{"id":"typescript-f549c7e9f8bed742","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/types.ts","route_id":"route-fa5dde7cc753e4f9","origin_key":"typescript:perovskite-sim/frontend/src/types.ts:JVBulkDefectEvidence","name":"JVBulkDefectEvidence","evidence_level":"source_static"}, +{"id":"typescript-a961134ed260f54f","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/types.ts","route_id":"route-fa5dde7cc753e4f9","origin_key":"typescript:perovskite-sim/frontend/src/types.ts:JVMetrics","name":"JVMetrics","evidence_level":"source_static"}, +{"id":"typescript-27ccd4ff7ca8fcef","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/types.ts","route_id":"route-fa5dde7cc753e4f9","origin_key":"typescript:perovskite-sim/frontend/src/types.ts:JVParams","name":"JVParams","evidence_level":"source_static"}, +{"id":"typescript-364fc83036ce63ca","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/types.ts","route_id":"route-fa5dde7cc753e4f9","origin_key":"typescript:perovskite-sim/frontend/src/types.ts:JVResult","name":"JVResult","evidence_level":"source_static"}, +{"id":"typescript-b7887119c48b1ffd","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/types.ts","route_id":"route-fa5dde7cc753e4f9","origin_key":"typescript:perovskite-sim/frontend/src/types.ts:JVSweepDefaults","name":"JVSweepDefaults","evidence_level":"source_static"}, +{"id":"typescript-7ca7d0bfee2eb05c","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/types.ts","route_id":"route-fa5dde7cc753e4f9","origin_key":"typescript:perovskite-sim/frontend/src/types.ts:JVWaveform","name":"JVWaveform","evidence_level":"source_static"}, +{"id":"typescript-40b2f225540f35a8","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/types.ts","route_id":"route-fa5dde7cc753e4f9","origin_key":"typescript:perovskite-sim/frontend/src/types.ts:JVWaveformEvidence","name":"JVWaveformEvidence","evidence_level":"source_static"}, +{"id":"typescript-49e2a86c2aff0fc2","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/types.ts","route_id":"route-fa5dde7cc753e4f9","origin_key":"typescript:perovskite-sim/frontend/src/types.ts:JobStartResponse","name":"JobStartResponse","evidence_level":"source_static"}, +{"id":"typescript-3f7621baca2d9a37","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/types.ts","route_id":"route-fa5dde7cc753e4f9","origin_key":"typescript:perovskite-sim/frontend/src/types.ts:JobStreamHandlers","name":"JobStreamHandlers","evidence_level":"source_static"}, +{"id":"typescript-fb768a3e318f5fc4","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/types.ts","route_id":"route-fa5dde7cc753e4f9","origin_key":"typescript:perovskite-sim/frontend/src/types.ts:LAYER_ROLES","name":"LAYER_ROLES","evidence_level":"source_static"}, +{"id":"typescript-499bbadb48f35472","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/types.ts","route_id":"route-fa5dde7cc753e4f9","origin_key":"typescript:perovskite-sim/frontend/src/types.ts:LayerConfig","name":"LayerConfig","evidence_level":"source_static"}, +{"id":"typescript-e9cf15ba6e2bf9b5","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/types.ts","route_id":"route-fa5dde7cc753e4f9","origin_key":"typescript:perovskite-sim/frontend/src/types.ts:LayerRole","name":"LayerRole","evidence_level":"source_static"}, +{"id":"typescript-953eeaa2e2fc6057","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/types.ts","route_id":"route-fa5dde7cc753e4f9","origin_key":"typescript:perovskite-sim/frontend/src/types.ts:LayerTemplate","name":"LayerTemplate","evidence_level":"source_static"}, +{"id":"typescript-f6c745e93c19fc4c","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/types.ts","route_id":"route-fa5dde7cc753e4f9","origin_key":"typescript:perovskite-sim/frontend/src/types.ts:MottSchottkyResult","name":"MottSchottkyResult","evidence_level":"source_static"}, +{"id":"typescript-80addcb4f6a62ef1","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/types.ts","route_id":"route-fa5dde7cc753e4f9","origin_key":"typescript:perovskite-sim/frontend/src/types.ts:Namespace","name":"Namespace","evidence_level":"source_static"}, +{"id":"typescript-887b274b3bec64df","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/types.ts","route_id":"route-fa5dde7cc753e4f9","origin_key":"typescript:perovskite-sim/frontend/src/types.ts:OperatingPointCertificate","name":"OperatingPointCertificate","evidence_level":"source_static"}, +{"id":"typescript-d065f121ed28a10e","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/types.ts","route_id":"route-fa5dde7cc753e4f9","origin_key":"typescript:perovskite-sim/frontend/src/types.ts:ProgressEvent","name":"ProgressEvent","evidence_level":"source_static"}, +{"id":"typescript-6c45ac013d107b69","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/types.ts","route_id":"route-fa5dde7cc753e4f9","origin_key":"typescript:perovskite-sim/frontend/src/types.ts:SimulationModeName","name":"SimulationModeName","evidence_level":"source_static"}, +{"id":"typescript-d66e0b4ee4195a38","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/types.ts","route_id":"route-fa5dde7cc753e4f9","origin_key":"typescript:perovskite-sim/frontend/src/types.ts:SpatialProfileResult","name":"SpatialProfileResult","evidence_level":"source_static"}, +{"id":"typescript-36797063ebe19a4a","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/types.ts","route_id":"route-fa5dde7cc753e4f9","origin_key":"typescript:perovskite-sim/frontend/src/types.ts:SpatialSnapshot","name":"SpatialSnapshot","evidence_level":"source_static"}, +{"id":"typescript-37e39c286e884f97","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/types.ts","route_id":"route-fa5dde7cc753e4f9","origin_key":"typescript:perovskite-sim/frontend/src/types.ts:SpatialSnapshot2D","name":"SpatialSnapshot2D","evidence_level":"source_static"}, +{"id":"typescript-27df644e43e9489e","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/types.ts","route_id":"route-fa5dde7cc753e4f9","origin_key":"typescript:perovskite-sim/frontend/src/types.ts:StackAction","name":"StackAction","evidence_level":"source_static"}, +{"id":"typescript-bdee0e6c0c589c7e","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/types.ts","route_id":"route-fa5dde7cc753e4f9","origin_key":"typescript:perovskite-sim/frontend/src/types.ts:SunsVocResult","name":"SunsVocResult","evidence_level":"source_static"}, +{"id":"typescript-1202499ae6a2ccd7","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/types.ts","route_id":"route-fa5dde7cc753e4f9","origin_key":"typescript:perovskite-sim/frontend/src/types.ts:TPVResult","name":"TPVResult","evidence_level":"source_static"}, +{"id":"typescript-9fd18d6479b7f088","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/types.ts","route_id":"route-fa5dde7cc753e4f9","origin_key":"typescript:perovskite-sim/frontend/src/types.ts:TandemBenchmark","name":"TandemBenchmark","evidence_level":"source_static"}, +{"id":"typescript-6b7d3b602fc43ab7","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/types.ts","route_id":"route-fa5dde7cc753e4f9","origin_key":"typescript:perovskite-sim/frontend/src/types.ts:TandemConfigView","name":"TandemConfigView","evidence_level":"source_static"}, +{"id":"typescript-0f80d1cb75501df4","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/types.ts","route_id":"route-fa5dde7cc753e4f9","origin_key":"typescript:perovskite-sim/frontend/src/types.ts:TandemJVMetrics","name":"TandemJVMetrics","evidence_level":"source_static"}, +{"id":"typescript-95969aad524fcc90","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/types.ts","route_id":"route-fa5dde7cc753e4f9","origin_key":"typescript:perovskite-sim/frontend/src/types.ts:TandemJVPayload","name":"TandemJVPayload","evidence_level":"source_static"}, +{"id":"typescript-399e833ef35dc155","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/types.ts","route_id":"route-fa5dde7cc753e4f9","origin_key":"typescript:perovskite-sim/frontend/src/types.ts:TandemJunctionLayer","name":"TandemJunctionLayer","evidence_level":"source_static"}, +{"id":"typescript-76d08d119345d999","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/types.ts","route_id":"route-fa5dde7cc753e4f9","origin_key":"typescript:perovskite-sim/frontend/src/types.ts:ValidationIssue","name":"ValidationIssue","evidence_level":"source_static"}, +{"id":"typescript-9751cee09b5c82f3","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/types.ts","route_id":"route-fa5dde7cc753e4f9","origin_key":"typescript:perovskite-sim/frontend/src/types.ts:ValidationReport","name":"ValidationReport","evidence_level":"source_static"}, +{"id":"typescript-c3d1a8fedd4b489d","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/types.ts","route_id":"route-fa5dde7cc753e4f9","origin_key":"typescript:perovskite-sim/frontend/src/types.ts:VocGrainSweepResult","name":"VocGrainSweepResult","evidence_level":"source_static"}, +{"id":"typescript-8ae43dfffd83af20","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/types.ts","route_id":"route-fa5dde7cc753e4f9","origin_key":"typescript:perovskite-sim/frontend/src/types.ts:VocTResult","name":"VocTResult","evidence_level":"source_static"}, +{"id":"typescript-00bf305e23177af2","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/types.ts","route_id":"route-fa5dde7cc753e4f9","origin_key":"typescript:perovskite-sim/frontend/src/types.ts:isLayerRole","name":"isLayerRole","evidence_level":"source_static"}, +{"id":"typescript-1467a961dc7201f9","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/ui-helpers.ts","route_id":"route-982b838ddf57d643","origin_key":"typescript:perovskite-sim/frontend/src/ui-helpers.ts:checkField","name":"checkField","evidence_level":"source_static"}, +{"id":"typescript-8b634ecf7583870a","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/ui-helpers.ts","route_id":"route-982b838ddf57d643","origin_key":"typescript:perovskite-sim/frontend/src/ui-helpers.ts:metricCard","name":"metricCard","evidence_level":"source_static"}, +{"id":"typescript-b075693472690e0e","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/ui-helpers.ts","route_id":"route-982b838ddf57d643","origin_key":"typescript:perovskite-sim/frontend/src/ui-helpers.ts:numField","name":"numField","evidence_level":"source_static"}, +{"id":"typescript-0e17ee57fa741604","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/ui-helpers.ts","route_id":"route-982b838ddf57d643","origin_key":"typescript:perovskite-sim/frontend/src/ui-helpers.ts:readCheck","name":"readCheck","evidence_level":"source_static"}, +{"id":"typescript-0eb911d36002d6d4","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/ui-helpers.ts","route_id":"route-982b838ddf57d643","origin_key":"typescript:perovskite-sim/frontend/src/ui-helpers.ts:readNum","name":"readNum","evidence_level":"source_static"}, +{"id":"typescript-0a319830cccd234f","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/ui-helpers.ts","route_id":"route-982b838ddf57d643","origin_key":"typescript:perovskite-sim/frontend/src/ui-helpers.ts:setStatus","name":"setStatus","evidence_level":"source_static"}, +{"id":"typescript-a406dc59a93f580e","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/workstation/console.ts","route_id":"route-d0feaeef97ab1c5e","origin_key":"typescript:perovskite-sim/frontend/src/workstation/console.ts:ConsoleHandle","name":"ConsoleHandle","evidence_level":"source_static"}, +{"id":"typescript-d658eb42690178c8","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/workstation/console.ts","route_id":"route-d0feaeef97ab1c5e","origin_key":"typescript:perovskite-sim/frontend/src/workstation/console.ts:mountConsole","name":"mountConsole","evidence_level":"source_static"}, +{"id":"typescript-79928c2bfeb345b5","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/workstation/layout-persistence.ts","route_id":"route-71620fb4500ed0d3","origin_key":"typescript:perovskite-sim/frontend/src/workstation/layout-persistence.ts:configureDockLayout","name":"configureDockLayout","evidence_level":"source_static"}, +{"id":"typescript-ad7cb25d7fce602b","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/workstation/layout-persistence.ts","route_id":"route-71620fb4500ed0d3","origin_key":"typescript:perovskite-sim/frontend/src/workstation/layout-persistence.ts:restoreLayoutConfig","name":"restoreLayoutConfig","evidence_level":"source_static"}, +{"id":"typescript-fda5515388fecead","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/workstation/mobile-sidebar.ts","route_id":"route-127d4f1f887306f0","origin_key":"typescript:perovskite-sim/frontend/src/workstation/mobile-sidebar.ts:bindMobileSidebarToggle","name":"bindMobileSidebarToggle","evidence_level":"source_static"}, +{"id":"typescript-cf2fe2235f97cd50","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/workstation/panes/current-decomp-pane.ts","route_id":"route-e93a0138adf37900","origin_key":"typescript:perovskite-sim/frontend/src/workstation/panes/current-decomp-pane.ts:CurrentDecompPaneOptions","name":"CurrentDecompPaneOptions","evidence_level":"source_static"}, +{"id":"typescript-39778ddcb0f0e77a","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/workstation/panes/current-decomp-pane.ts","route_id":"route-e93a0138adf37900","origin_key":"typescript:perovskite-sim/frontend/src/workstation/panes/current-decomp-pane.ts:mountCurrentDecompPane","name":"mountCurrentDecompPane","evidence_level":"source_static"}, +{"id":"typescript-2d94537e5e496cb0","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/workstation/panes/dark-jv-pane.ts","route_id":"route-e0a5c9b5e771c97a","origin_key":"typescript:perovskite-sim/frontend/src/workstation/panes/dark-jv-pane.ts:DarkJVPaneOptions","name":"DarkJVPaneOptions","evidence_level":"source_static"}, +{"id":"typescript-49feb1f356dd6084","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/workstation/panes/dark-jv-pane.ts","route_id":"route-e0a5c9b5e771c97a","origin_key":"typescript:perovskite-sim/frontend/src/workstation/panes/dark-jv-pane.ts:mountDarkJVPane","name":"mountDarkJVPane","evidence_level":"source_static"}, +{"id":"typescript-f64ffccd929b96b5","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/workstation/panes/degradation-pane.ts","route_id":"route-09e19db25407b09c","origin_key":"typescript:perovskite-sim/frontend/src/workstation/panes/degradation-pane.ts:DegradationPaneOptions","name":"DegradationPaneOptions","evidence_level":"source_static"}, +{"id":"typescript-f30554ddc097c0af","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/workstation/panes/degradation-pane.ts","route_id":"route-09e19db25407b09c","origin_key":"typescript:perovskite-sim/frontend/src/workstation/panes/degradation-pane.ts:mountDegradationPane","name":"mountDegradationPane","evidence_level":"source_static"}, +{"id":"typescript-676bf8bf743ca6b3","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/workstation/panes/device-pane.ts","route_id":"route-bc3b3ca66ee08252","origin_key":"typescript:perovskite-sim/frontend/src/workstation/panes/device-pane.ts:mountDevicePane","name":"mountDevicePane","evidence_level":"source_static"}, +{"id":"typescript-af4d95ade7b6c0eb","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/workstation/panes/dynamic-defect-transient-pane.ts","route_id":"route-573d321f190405f3","origin_key":"typescript:perovskite-sim/frontend/src/workstation/panes/dynamic-defect-transient-pane.ts:DynamicDefectTransientPaneOptions","name":"DynamicDefectTransientPaneOptions","evidence_level":"source_static"}, +{"id":"typescript-6cd47266365addee","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/workstation/panes/dynamic-defect-transient-pane.ts","route_id":"route-573d321f190405f3","origin_key":"typescript:perovskite-sim/frontend/src/workstation/panes/dynamic-defect-transient-pane.ts:mountDynamicDefectTransientPane","name":"mountDynamicDefectTransientPane","evidence_level":"source_static"}, +{"id":"typescript-d6e94a7a1c04218b","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/workstation/panes/el-pane.ts","route_id":"route-bfd8cf2d812afc3a","origin_key":"typescript:perovskite-sim/frontend/src/workstation/panes/el-pane.ts:ELPaneOptions","name":"ELPaneOptions","evidence_level":"source_static"}, +{"id":"typescript-bd4fc6cd8e1343a3","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/workstation/panes/el-pane.ts","route_id":"route-bfd8cf2d812afc3a","origin_key":"typescript:perovskite-sim/frontend/src/workstation/panes/el-pane.ts:mountELPane","name":"mountELPane","evidence_level":"source_static"}, +{"id":"typescript-f3dc11eb12f7eb09","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/workstation/panes/eqe-pane.ts","route_id":"route-79114fe5ecc3818f","origin_key":"typescript:perovskite-sim/frontend/src/workstation/panes/eqe-pane.ts:EQEPaneOptions","name":"EQEPaneOptions","evidence_level":"source_static"}, +{"id":"typescript-119c53b1a0cea7db","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/workstation/panes/eqe-pane.ts","route_id":"route-79114fe5ecc3818f","origin_key":"typescript:perovskite-sim/frontend/src/workstation/panes/eqe-pane.ts:mountEQEPane","name":"mountEQEPane","evidence_level":"source_static"}, +{"id":"typescript-fb69421804230382","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/workstation/panes/experiment-pane.ts","route_id":"route-4c3e8ab98b46f6f0","origin_key":"typescript:perovskite-sim/frontend/src/workstation/panes/experiment-pane.ts:ExperimentPaneHandle","name":"ExperimentPaneHandle","evidence_level":"source_static"}, +{"id":"typescript-2ac28733d848b24c","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/workstation/panes/experiment-pane.ts","route_id":"route-4c3e8ab98b46f6f0","origin_key":"typescript:perovskite-sim/frontend/src/workstation/panes/experiment-pane.ts:ExperimentPaneOptions","name":"ExperimentPaneOptions","evidence_level":"source_static"}, +{"id":"typescript-af2063093047fbc8","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/workstation/panes/experiment-pane.ts","route_id":"route-4c3e8ab98b46f6f0","origin_key":"typescript:perovskite-sim/frontend/src/workstation/panes/experiment-pane.ts:mountExperimentPane","name":"mountExperimentPane","evidence_level":"source_static"}, +{"id":"typescript-0adb5e1cbafdae13","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/workstation/panes/help-pane.ts","route_id":"route-e261cb351f78ba6b","origin_key":"typescript:perovskite-sim/frontend/src/workstation/panes/help-pane.ts:mountHelpPane","name":"mountHelpPane","evidence_level":"source_static"}, +{"id":"typescript-f01e700fc6d97fc5","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/workstation/panes/impedance-pane.ts","route_id":"route-dbc65d65da6caf91","origin_key":"typescript:perovskite-sim/frontend/src/workstation/panes/impedance-pane.ts:ImpedancePaneOptions","name":"ImpedancePaneOptions","evidence_level":"source_static"}, +{"id":"typescript-daf028e27a003555","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/workstation/panes/impedance-pane.ts","route_id":"route-dbc65d65da6caf91","origin_key":"typescript:perovskite-sim/frontend/src/workstation/panes/impedance-pane.ts:mountImpedancePane","name":"mountImpedancePane","evidence_level":"source_static"}, +{"id":"typescript-52dab8acbb7f5642","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/workstation/panes/jv-2d-pane.ts","route_id":"route-0f6c145883357692","origin_key":"typescript:perovskite-sim/frontend/src/workstation/panes/jv-2d-pane.ts:JV2DPaneOptions","name":"JV2DPaneOptions","evidence_level":"source_static"}, +{"id":"typescript-bfa768eefa941a6d","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/workstation/panes/jv-2d-pane.ts","route_id":"route-0f6c145883357692","origin_key":"typescript:perovskite-sim/frontend/src/workstation/panes/jv-2d-pane.ts:mountJV2DPane","name":"mountJV2DPane","evidence_level":"source_static"}, +{"id":"typescript-ec825e380fcdc1ff","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/workstation/panes/jv-pane.ts","route_id":"route-a13a25dd661a76e7","origin_key":"typescript:perovskite-sim/frontend/src/workstation/panes/jv-pane.ts:JVPaneHandle","name":"JVPaneHandle","evidence_level":"source_static"}, +{"id":"typescript-37c9bc3a6523c8d2","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/workstation/panes/jv-pane.ts","route_id":"route-a13a25dd661a76e7","origin_key":"typescript:perovskite-sim/frontend/src/workstation/panes/jv-pane.ts:JVPaneOptions","name":"JVPaneOptions","evidence_level":"source_static"}, +{"id":"typescript-2dfd4e9f99a991ed","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/workstation/panes/jv-pane.ts","route_id":"route-a13a25dd661a76e7","origin_key":"typescript:perovskite-sim/frontend/src/workstation/panes/jv-pane.ts:mountJVPane","name":"mountJVPane","evidence_level":"source_static"}, +{"id":"typescript-a4a2e318755f150c","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/workstation/panes/main-plot-pane.ts","route_id":"route-6f5e2d5e37797703","origin_key":"typescript:perovskite-sim/frontend/src/workstation/panes/main-plot-pane.ts:MainPlotHandle","name":"MainPlotHandle","evidence_level":"source_static"}, +{"id":"typescript-944accd3bc4717a1","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/workstation/panes/main-plot-pane.ts","route_id":"route-6f5e2d5e37797703","origin_key":"typescript:perovskite-sim/frontend/src/workstation/panes/main-plot-pane.ts:mountMainPlotPane","name":"mountMainPlotPane","evidence_level":"source_static"}, +{"id":"typescript-4ab78dbbc46310d2","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/workstation/panes/main-plot-pane.ts","route_id":"route-6f5e2d5e37797703","origin_key":"typescript:perovskite-sim/frontend/src/workstation/panes/main-plot-pane.ts:renderDarkJV","name":"renderDarkJV","evidence_level":"source_static"}, +{"id":"typescript-ea50e87c959a2920","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/workstation/panes/main-plot-pane.ts","route_id":"route-6f5e2d5e37797703","origin_key":"typescript:perovskite-sim/frontend/src/workstation/panes/main-plot-pane.ts:renderDegradation","name":"renderDegradation","evidence_level":"source_static"}, +{"id":"typescript-15d3148fc270a993","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/workstation/panes/main-plot-pane.ts","route_id":"route-6f5e2d5e37797703","origin_key":"typescript:perovskite-sim/frontend/src/workstation/panes/main-plot-pane.ts:renderDynamicDefectTransient","name":"renderDynamicDefectTransient","evidence_level":"source_static"}, +{"id":"typescript-6800218a6c7affff","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/workstation/panes/main-plot-pane.ts","route_id":"route-6f5e2d5e37797703","origin_key":"typescript:perovskite-sim/frontend/src/workstation/panes/main-plot-pane.ts:renderEL","name":"renderEL","evidence_level":"source_static"}, +{"id":"typescript-ac70f09b563c2aab","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/workstation/panes/main-plot-pane.ts","route_id":"route-6f5e2d5e37797703","origin_key":"typescript:perovskite-sim/frontend/src/workstation/panes/main-plot-pane.ts:renderEQE","name":"renderEQE","evidence_level":"source_static"}, +{"id":"typescript-92aa7b016675c5d9","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/workstation/panes/main-plot-pane.ts","route_id":"route-6f5e2d5e37797703","origin_key":"typescript:perovskite-sim/frontend/src/workstation/panes/main-plot-pane.ts:renderImpedance","name":"renderImpedance","evidence_level":"source_static"}, +{"id":"typescript-56e6d83d494fd380","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/workstation/panes/main-plot-pane.ts","route_id":"route-6f5e2d5e37797703","origin_key":"typescript:perovskite-sim/frontend/src/workstation/panes/main-plot-pane.ts:renderJV","name":"renderJV","evidence_level":"source_static"}, +{"id":"typescript-d22acbf4761d8180","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/workstation/panes/main-plot-pane.ts","route_id":"route-6f5e2d5e37797703","origin_key":"typescript:perovskite-sim/frontend/src/workstation/panes/main-plot-pane.ts:renderJV2D","name":"renderJV2D","evidence_level":"source_static"}, +{"id":"typescript-c599a9b828b7c773","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/workstation/panes/main-plot-pane.ts","route_id":"route-6f5e2d5e37797703","origin_key":"typescript:perovskite-sim/frontend/src/workstation/panes/main-plot-pane.ts:renderMottSchottky","name":"renderMottSchottky","evidence_level":"source_static"}, +{"id":"typescript-6030c4ebc546f364","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/workstation/panes/main-plot-pane.ts","route_id":"route-6f5e2d5e37797703","origin_key":"typescript:perovskite-sim/frontend/src/workstation/panes/main-plot-pane.ts:renderSpatialProfiles","name":"renderSpatialProfiles","evidence_level":"source_static"}, +{"id":"typescript-c29d65ce394c9f5c","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/workstation/panes/main-plot-pane.ts","route_id":"route-6f5e2d5e37797703","origin_key":"typescript:perovskite-sim/frontend/src/workstation/panes/main-plot-pane.ts:renderSunsVoc","name":"renderSunsVoc","evidence_level":"source_static"}, +{"id":"typescript-6e2e67f91c7bcc47","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/workstation/panes/main-plot-pane.ts","route_id":"route-6f5e2d5e37797703","origin_key":"typescript:perovskite-sim/frontend/src/workstation/panes/main-plot-pane.ts:renderTPV","name":"renderTPV","evidence_level":"source_static"}, +{"id":"typescript-ec3900d977e531c2","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/workstation/panes/main-plot-pane.ts","route_id":"route-6f5e2d5e37797703","origin_key":"typescript:perovskite-sim/frontend/src/workstation/panes/main-plot-pane.ts:renderVocGrainSweep","name":"renderVocGrainSweep","evidence_level":"source_static"}, +{"id":"typescript-c2ea565ef37fb163","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/workstation/panes/main-plot-pane.ts","route_id":"route-6f5e2d5e37797703","origin_key":"typescript:perovskite-sim/frontend/src/workstation/panes/main-plot-pane.ts:renderVocT","name":"renderVocT","evidence_level":"source_static"}, +{"id":"typescript-aa0577b8b08f6f46","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/workstation/panes/mott-schottky-pane.ts","route_id":"route-0581bdd3b9617fd7","origin_key":"typescript:perovskite-sim/frontend/src/workstation/panes/mott-schottky-pane.ts:MottSchottkyPaneOptions","name":"MottSchottkyPaneOptions","evidence_level":"source_static"}, +{"id":"typescript-baa75b93a1614731","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/workstation/panes/mott-schottky-pane.ts","route_id":"route-0581bdd3b9617fd7","origin_key":"typescript:perovskite-sim/frontend/src/workstation/panes/mott-schottky-pane.ts:mountMottSchottkyPane","name":"mountMottSchottkyPane","evidence_level":"source_static"}, +{"id":"typescript-b7a01ac0a2bd776b","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/workstation/panes/spatial-pane.ts","route_id":"route-3774b9c2e1a64a01","origin_key":"typescript:perovskite-sim/frontend/src/workstation/panes/spatial-pane.ts:SpatialPaneOptions","name":"SpatialPaneOptions","evidence_level":"source_static"}, +{"id":"typescript-4e16900ceff876be","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/workstation/panes/spatial-pane.ts","route_id":"route-3774b9c2e1a64a01","origin_key":"typescript:perovskite-sim/frontend/src/workstation/panes/spatial-pane.ts:mountSpatialPane","name":"mountSpatialPane","evidence_level":"source_static"}, +{"id":"typescript-25438639fe067b62","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/workstation/panes/suns-voc-pane.ts","route_id":"route-b31ba249974097be","origin_key":"typescript:perovskite-sim/frontend/src/workstation/panes/suns-voc-pane.ts:SunsVocPaneOptions","name":"SunsVocPaneOptions","evidence_level":"source_static"}, +{"id":"typescript-ffb56ef53c11dbb0","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/workstation/panes/suns-voc-pane.ts","route_id":"route-b31ba249974097be","origin_key":"typescript:perovskite-sim/frontend/src/workstation/panes/suns-voc-pane.ts:mountSunsVocPane","name":"mountSunsVocPane","evidence_level":"source_static"}, +{"id":"typescript-7e65901ecf9513d5","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/workstation/panes/tandem-pane.ts","route_id":"route-e9392bef5a9a5084","origin_key":"typescript:perovskite-sim/frontend/src/workstation/panes/tandem-pane.ts:mountTandemPane","name":"mountTandemPane","evidence_level":"source_static"}, +{"id":"typescript-18f247912ae59658","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/workstation/panes/tpv-pane.ts","route_id":"route-2454fac1f685d922","origin_key":"typescript:perovskite-sim/frontend/src/workstation/panes/tpv-pane.ts:TPVPaneOptions","name":"TPVPaneOptions","evidence_level":"source_static"}, +{"id":"typescript-fff15e1e796971e5","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/workstation/panes/tpv-pane.ts","route_id":"route-2454fac1f685d922","origin_key":"typescript:perovskite-sim/frontend/src/workstation/panes/tpv-pane.ts:mountTPVPane","name":"mountTPVPane","evidence_level":"source_static"}, +{"id":"typescript-217810f59850d55e","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/workstation/panes/voc-grain-sweep-pane.ts","route_id":"route-4b6c8cf954aa6566","origin_key":"typescript:perovskite-sim/frontend/src/workstation/panes/voc-grain-sweep-pane.ts:VocGrainSweepPaneOptions","name":"VocGrainSweepPaneOptions","evidence_level":"source_static"}, +{"id":"typescript-b8ebefa1aa717fc4","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/workstation/panes/voc-grain-sweep-pane.ts","route_id":"route-4b6c8cf954aa6566","origin_key":"typescript:perovskite-sim/frontend/src/workstation/panes/voc-grain-sweep-pane.ts:mountVocGrainSweepPane","name":"mountVocGrainSweepPane","evidence_level":"source_static"}, +{"id":"typescript-06a72ef7308bb4b7","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/workstation/panes/voc-t-pane.ts","route_id":"route-65e4196be9e005c9","origin_key":"typescript:perovskite-sim/frontend/src/workstation/panes/voc-t-pane.ts:VocTPaneOptions","name":"VocTPaneOptions","evidence_level":"source_static"}, +{"id":"typescript-44bbd27aef576b7e","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/workstation/panes/voc-t-pane.ts","route_id":"route-65e4196be9e005c9","origin_key":"typescript:perovskite-sim/frontend/src/workstation/panes/voc-t-pane.ts:mountVocTPane","name":"mountVocTPane","evidence_level":"source_static"}, +{"id":"typescript-f4ec5c71e548dd6c","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/workstation/shell.ts","route_id":"route-b135a466cd30a840","origin_key":"typescript:perovskite-sim/frontend/src/workstation/shell.ts:mountWorkstation","name":"mountWorkstation","evidence_level":"source_static"}, +{"id":"typescript-b1c13943da9a1e34","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/workstation/state.ts","route_id":"route-798231762f49ac49","origin_key":"typescript:perovskite-sim/frontend/src/workstation/state.ts:STORAGE_KEY","name":"STORAGE_KEY","evidence_level":"source_static"}, +{"id":"typescript-0b727e54487cdc87","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/workstation/state.ts","route_id":"route-798231762f49ac49","origin_key":"typescript:perovskite-sim/frontend/src/workstation/state.ts:addDevice","name":"addDevice","evidence_level":"source_static"}, +{"id":"typescript-e2f9b070a80f8bc6","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/workstation/state.ts","route_id":"route-798231762f49ac49","origin_key":"typescript:perovskite-sim/frontend/src/workstation/state.ts:addExperiment","name":"addExperiment","evidence_level":"source_static"}, +{"id":"typescript-bff50ff05591eace","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/workstation/state.ts","route_id":"route-798231762f49ac49","origin_key":"typescript:perovskite-sim/frontend/src/workstation/state.ts:addRun","name":"addRun","evidence_level":"source_static"}, +{"id":"typescript-f94d2f619659a1c1","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/workstation/state.ts","route_id":"route-798231762f49ac49","origin_key":"typescript:perovskite-sim/frontend/src/workstation/state.ts:createEmptyWorkspace","name":"createEmptyWorkspace","evidence_level":"source_static"}, +{"id":"typescript-8fe6762fa7906387","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/workstation/state.ts","route_id":"route-798231762f49ac49","origin_key":"typescript:perovskite-sim/frontend/src/workstation/state.ts:findRun","name":"findRun","evidence_level":"source_static"}, +{"id":"typescript-6e6702bba84f4763","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/workstation/state.ts","route_id":"route-798231762f49ac49","origin_key":"typescript:perovskite-sim/frontend/src/workstation/state.ts:loadWorkspace","name":"loadWorkspace","evidence_level":"source_static"}, +{"id":"typescript-44a9e558fe9903cf","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/workstation/state.ts","route_id":"route-798231762f49ac49","origin_key":"typescript:perovskite-sim/frontend/src/workstation/state.ts:removeDevice","name":"removeDevice","evidence_level":"source_static"}, +{"id":"typescript-6b0e2d06ea18e7b9","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/workstation/state.ts","route_id":"route-798231762f49ac49","origin_key":"typescript:perovskite-sim/frontend/src/workstation/state.ts:removeExperiment","name":"removeExperiment","evidence_level":"source_static"}, +{"id":"typescript-63278f3e20abb4cd","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/workstation/state.ts","route_id":"route-798231762f49ac49","origin_key":"typescript:perovskite-sim/frontend/src/workstation/state.ts:removeRun","name":"removeRun","evidence_level":"source_static"}, +{"id":"typescript-0ce6b08040fed203","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/workstation/state.ts","route_id":"route-798231762f49ac49","origin_key":"typescript:perovskite-sim/frontend/src/workstation/state.ts:saveWorkspace","name":"saveWorkspace","evidence_level":"source_static"}, +{"id":"typescript-d1c95753b5f62a76","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/workstation/state.ts","route_id":"route-798231762f49ac49","origin_key":"typescript:perovskite-sim/frontend/src/workstation/state.ts:setActiveDevice","name":"setActiveDevice","evidence_level":"source_static"}, +{"id":"typescript-38e1ee994dcbdd97","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/workstation/state.ts","route_id":"route-798231762f49ac49","origin_key":"typescript:perovskite-sim/frontend/src/workstation/state.ts:setActiveExperiment","name":"setActiveExperiment","evidence_level":"source_static"}, +{"id":"typescript-59fe5660bc40b051","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/workstation/state.ts","route_id":"route-798231762f49ac49","origin_key":"typescript:perovskite-sim/frontend/src/workstation/state.ts:setActiveRun","name":"setActiveRun","evidence_level":"source_static"}, +{"id":"typescript-21b05cf66929aeb3","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/workstation/tier-gating.ts","route_id":"route-01a9547791743ea4","origin_key":"typescript:perovskite-sim/frontend/src/workstation/tier-gating.ts:hiddenKeysForTier","name":"hiddenKeysForTier","evidence_level":"source_static"}, +{"id":"typescript-f363fbf83bc5c8c0","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/workstation/tier-gating.ts","route_id":"route-01a9547791743ea4","origin_key":"typescript:perovskite-sim/frontend/src/workstation/tier-gating.ts:isFieldVisible","name":"isFieldVisible","evidence_level":"source_static"}, +{"id":"typescript-3e77b38f1327b80f","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/workstation/tier-gating.ts","route_id":"route-01a9547791743ea4","origin_key":"typescript:perovskite-sim/frontend/src/workstation/tier-gating.ts:isLayerBuilderEnabled","name":"isLayerBuilderEnabled","evidence_level":"source_static"}, +{"id":"typescript-a5c32bde15bebcda","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/workstation/tree.ts","route_id":"route-9086396511c0d3f1","origin_key":"typescript:perovskite-sim/frontend/src/workstation/tree.ts:TreeHandlers","name":"TreeHandlers","evidence_level":"source_static"}, +{"id":"typescript-77d67005f47bdef0","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/workstation/tree.ts","route_id":"route-9086396511c0d3f1","origin_key":"typescript:perovskite-sim/frontend/src/workstation/tree.ts:attachTreeHandlers","name":"attachTreeHandlers","evidence_level":"source_static"}, +{"id":"typescript-667da041a17a290a","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/workstation/tree.ts","route_id":"route-9086396511c0d3f1","origin_key":"typescript:perovskite-sim/frontend/src/workstation/tree.ts:renderTreeHTML","name":"renderTreeHTML","evidence_level":"source_static"}, +{"id":"typescript-8d7b47d202abce24","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/workstation/types.ts","route_id":"route-fa5dde7cc753e4f9","origin_key":"typescript:perovskite-sim/frontend/src/workstation/types.ts:CompareView","name":"CompareView","evidence_level":"source_static"}, +{"id":"typescript-a8d030c98722e7d0","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/workstation/types.ts","route_id":"route-fa5dde7cc753e4f9","origin_key":"typescript:perovskite-sim/frontend/src/workstation/types.ts:Device","name":"Device","evidence_level":"source_static"}, +{"id":"typescript-1e71bbe2e7032cd6","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/workstation/types.ts","route_id":"route-fa5dde7cc753e4f9","origin_key":"typescript:perovskite-sim/frontend/src/workstation/types.ts:Experiment","name":"Experiment","evidence_level":"source_static"}, +{"id":"typescript-77e7e8f0d80f5d21","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/workstation/types.ts","route_id":"route-fa5dde7cc753e4f9","origin_key":"typescript:perovskite-sim/frontend/src/workstation/types.ts:ExperimentKind","name":"ExperimentKind","evidence_level":"source_static"}, +{"id":"typescript-eb69dcef2f212068","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/workstation/types.ts","route_id":"route-fa5dde7cc753e4f9","origin_key":"typescript:perovskite-sim/frontend/src/workstation/types.ts:Run","name":"Run","evidence_level":"source_static"}, +{"id":"typescript-53362cee25bdd19c","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/workstation/types.ts","route_id":"route-fa5dde7cc753e4f9","origin_key":"typescript:perovskite-sim/frontend/src/workstation/types.ts:RunResult","name":"RunResult","evidence_level":"source_static"}, +{"id":"typescript-3fc3620316de13ac","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/workstation/types.ts","route_id":"route-fa5dde7cc753e4f9","origin_key":"typescript:perovskite-sim/frontend/src/workstation/types.ts:Workspace","name":"Workspace","evidence_level":"source_static"}, +{"id":"typescript-b27681bc1683e36e","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/workstation/wizard.ts","route_id":"route-755705afa4c1dc44","origin_key":"typescript:perovskite-sim/frontend/src/workstation/wizard.ts:WizardPreset","name":"WizardPreset","evidence_level":"source_static"}, +{"id":"typescript-6b1486d539bb9dd7","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/workstation/wizard.ts","route_id":"route-755705afa4c1dc44","origin_key":"typescript:perovskite-sim/frontend/src/workstation/wizard.ts:WizardResult","name":"WizardResult","evidence_level":"source_static"}, +{"id":"typescript-7b2cbc62dfb366e4","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/workstation/wizard.ts","route_id":"route-755705afa4c1dc44","origin_key":"typescript:perovskite-sim/frontend/src/workstation/wizard.ts:WizardSelection","name":"WizardSelection","evidence_level":"source_static"}, +{"id":"typescript-f0b86a1beebb90b9","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/workstation/wizard.ts","route_id":"route-755705afa4c1dc44","origin_key":"typescript:perovskite-sim/frontend/src/workstation/wizard.ts:applyTierCompat","name":"applyTierCompat","evidence_level":"source_static"}, +{"id":"typescript-f2cc2fcbc05d2550","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/workstation/wizard.ts","route_id":"route-755705afa4c1dc44","origin_key":"typescript:perovskite-sim/frontend/src/workstation/wizard.ts:buildWizardHTML","name":"buildWizardHTML","evidence_level":"source_static"}, +{"id":"typescript-685abac6a6157211","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/workstation/wizard.ts","route_id":"route-755705afa4c1dc44","origin_key":"typescript:perovskite-sim/frontend/src/workstation/wizard.ts:parseWizardSelection","name":"parseWizardSelection","evidence_level":"source_static"}, +{"id":"typescript-57e0935b07cb2adb","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/workstation/wizard.ts","route_id":"route-755705afa4c1dc44","origin_key":"typescript:perovskite-sim/frontend/src/workstation/wizard.ts:presetsFromEntries","name":"presetsFromEntries","evidence_level":"source_static"}, +{"id":"typescript-bd27dc132654bf28","kind":"frontend_export","current_path":"perovskite-sim/frontend/src/workstation/wizard.ts","route_id":"route-755705afa4c1dc44","origin_key":"typescript:perovskite-sim/frontend/src/workstation/wizard.ts:showWizard","name":"showWizard","evidence_level":"source_static"}, +{"id":"environment-a8839346c723dded","kind":"environment_behavior_or_execution_setting","current_path":"perovskite-sim/frontend/src/api.ts","route_id":"route-74e27c5215c2f23c","origin_key":"environment:VITE_API_BASE","name_or_expression":"VITE_API_BASE","computed_name":false,"value":{"default":"http://127.0.0.1:8000","resolution":"import.meta.env.VITE_API_BASE ?? default"},"source_line":14,"evidence_level":"source_static"} +], +"task_catalog": [ +{"id":"P00-01","title":"固定代码、环境与现有运行身份","source_path":"plans/Impl/ArchitectureRefactorExecutionV1.md","source_line":116,"dependency_contract":"无。**负责人:** 集成者。**目标:** 活动执行 manifest 和来源核对表。"}, +{"id":"P00-02","title":"建立能力与全部消费者清单","source_path":"plans/Impl/ArchitectureRefactorExecutionV1.md","source_line":127,"dependency_contract":"P00-01。**源:** 原方案附录 A–C、包源码、配置、前后端、脚本、notebook、登记表。"}, +{"id":"P00-03","title":"冻结参考集合、比较器和误差预算","source_path":"plans/Impl/ArchitectureRefactorExecutionV1.md","source_line":139,"dependency_contract":"P00-01/P00-02。**源:** 已有 golden、NumericalRefinementRegistry、审核 F08/F23/F24。"}, +{"id":"P00-04","title":"冻结 183/309 见证与 R1 合同","source_path":"plans/Impl/ArchitectureRefactorExecutionV1.md","source_line":151,"dependency_contract":"P00-01。**源:** V52/V53 原件、V53 Request、FailureWitness、StateArrays、Prepared 和 SourceReceipt。"}, +{"id":"P01-01","title":"重建定点,不推进新轨迹","source_path":"plans/Impl/ArchitectureRefactorExecutionV1.md","source_line":164,"dependency_contract":"P00-04。**源:** R1 failure reconstruction、input lift、baseline direction/local carrier 代码。"}, +{"id":"P01-02","title":"查明候选为何未被接受并作处置决定","source_path":"plans/Impl/ArchitectureRefactorExecutionV1.md","source_line":174,"dependency_contract":"P01-01。**目标:** 有界诊断,关闭“盲目重跑”路径。"}, +{"id":"P01-03","title":"条件分支:局部修复与一次原生单步","source_path":"plans/Impl/ArchitectureRefactorExecutionV1.md","source_line":187,"dependency_contract":"P01-02 支持局部、同物理/同表示修复。**条件:** 执行范围包含该修复及单步验证。"}, +{"id":"P01-04","title":"条件分支:补齐旧实现双侧 100 s","source_path":"plans/Impl/ArchitectureRefactorExecutionV1.md","source_line":198,"dependency_contract":"P01-03 通过、短窗/DC 先决证据适用性重验,以及包含该完整序列的执行范围。**不是 G2/G3 的必需依赖。**"}, +{"id":"P02-01","title":"锁定环境并建立分层检查","source_path":"plans/Impl/ArchitectureRefactorExecutionV1.md","source_line":213,"dependency_contract":"P00-01。**源:** `OLD/pyproject.toml`、前端 package/lock、conftest。"}, +{"id":"P02-02","title":"验证最小公共合同","source_path":"plans/Impl/ArchitectureRefactorExecutionV1.md","source_line":225,"dependency_contract":"P00-02/P00-03/P02-01。**目标:** `VariableSpec/EquationSpec/StateView/StateIncrement/StorageLaw/TerminalPort/AcceptedStep` 的可运行最小接口。"}, +{"id":"P02-03","title":"选择守恒存储与坐标路线(F01)","source_path":"plans/Impl/ArchitectureRefactorExecutionV1.md","source_line":235,"dependency_contract":"P02-02。**步骤:**"}, +{"id":"P02-04","title":"一致初值与协议切换(F02)","source_path":"plans/Impl/ArchitectureRefactorExecutionV1.md","source_line":246,"dependency_contract":"P02-03。**步骤:**"}, +{"id":"P02-05","title":"完整 Jacobian、缩放和物理误差权重(F03)","source_path":"plans/Impl/ArchitectureRefactorExecutionV1.md","source_line":256,"dependency_contract":"P02-02/P02-03。**步骤:**"}, +{"id":"P02-06","title":"电极存储、接受步与测量历史(F04)","source_path":"plans/Impl/ArchitectureRefactorExecutionV1.md","source_line":266,"dependency_contract":"P02-04/P02-05。**步骤:**"}, +{"id":"P02-07","title":"真实稀疏图与非局部结构(F05)","source_path":"plans/Impl/ArchitectureRefactorExecutionV1.md","source_line":276,"dependency_contract":"P02-02/P02-05。**步骤:**"}, +{"id":"P02-08","title":"保留微小驱动力与研究精度(F06)","source_path":"plans/Impl/ArchitectureRefactorExecutionV1.md","source_line":287,"dependency_contract":"P00-04/P02-02。**步骤:**"}, +{"id":"P02-09","title":"核实后端能力并作技术决策","source_path":"plans/Impl/ArchitectureRefactorExecutionV1.md","source_line":297,"dependency_contract":"P02-01 至 P02-08;涉及实际旧核心改动前还需 G1。**步骤:**"}, +{"id":"P03-01","title":"建立正式包与受控过渡边界","source_path":"plans/Impl/ArchitectureRefactorExecutionV1.md","source_line":310,"dependency_contract":"G1/G2。**源→目标:** 原包/项目构建 → 根 `pyproject.toml`、`src/solarlab/`、伴生包与公开协议。"}, +{"id":"P03-02","title":"冻结模型和实验元数据注册表","source_path":"plans/Impl/ArchitectureRefactorExecutionV1.md","source_line":322,"dependency_contract":"P03-01/P00-02。**目标:** `physics/{registry,selection,presets}.py`、`experiments/registry.py`。"}, +{"id":"P03-03","title":"输入 schema、单位、深不可变与材料解析","source_path":"plans/Impl/ArchitectureRefactorExecutionV1.md","source_line":334,"dependency_contract":"P03-02。**源→目标:** `models/{parameters,device,config_loader}.py`、`scaps_compat/` → `device/`、`config/`、`materials/`。"}, +{"id":"P03-04","title":"显式旧行为上下文及配置迁移","source_path":"plans/Impl/ArchitectureRefactorExecutionV1.md","source_line":346,"dependency_contract":"P03-03/P00-03。**目标:** 唯一 v1→v2 迁移器、v2→旧调用适配器。"}, +{"id":"P03-05","title":"三种身份与四层缓存","source_path":"plans/Impl/ArchitectureRefactorExecutionV1.md","source_line":357,"dependency_contract":"P03-03/P03-04。**目标:** `config/identity.py`、`equations/binding.py`、执行 manifest。"}, +{"id":"P03-06","title":"活动登记表、证据与路径迁移","source_path":"plans/Impl/ArchitectureRefactorExecutionV1.md","source_line":371,"dependency_contract":"P03-04/P03-05。**源→目标:** 当前两个 registry → 活动 `ConfigBenchmarkMatrixV2.yaml`、`NumericalRefinementRegistryV2.yaml`。"}, +{"id":"P03-07","title":"配置与旧 UI 的过渡闭环","source_path":"plans/Impl/ArchitectureRefactorExecutionV1.md","source_line":381,"dependency_contract":"P03-02 至 P03-06。**目标:** 单一版本化 wire adapter 与真实端到端短流程。"}, +{"id":"P04-01","title":"几何、Poisson 与共享离散基础","source_path":"plans/Impl/ArchitectureRefactorExecutionV1.md","source_line":396,"dependency_contract":"G3/P02-07。**源→目标:** `discretization/grid.py`、`physics/{poisson,physical_control_volume,generation,two_sided_interface}.py` → `mesh/`、`physics/electrostatics/`、`discretization/`。"}, +{"id":"P04-02","title":"生产方程布局、存储和稀疏装配","source_path":"plans/Impl/ArchitectureRefactorExecutionV1.md","source_line":407,"dependency_contract":"P04-01/P03-02/P03-05。**源→目标:** `solver/mol.py`、各 DAE 布局/Jacobian → `equations/{layout,terms,state,storage,assembly,scaling}.py`。"}, +{"id":"P04-03","title":"MB/受限 FD、接触和基本漂移扩散","source_path":"plans/Impl/ArchitectureRefactorExecutionV1.md","source_line":418,"dependency_contract":"P04-02。**源→目标:** `physics/{statistics,fermi_dirac,degenerate_transport,doping,contacts,continuity}.py`、QF 通量 → `physics/statistics/`、`transport/`、`contacts/`。"}, +{"id":"P04-04","title":"通用平衡、稳态 Newton 和延拓","source_path":"plans/Impl/ArchitectureRefactorExecutionV1.md","source_line":429,"dependency_contract":"P04-02/P04-03。**源→目标:** 现有平衡/密度/QF 稳态驱动 → `solvers/nonlinear/` 和工作点准备。"}, +{"id":"P04-05","title":"生产时间积分器与协议事件","source_path":"plans/Impl/ArchitectureRefactorExecutionV1.md","source_line":440,"dependency_contract":"P04-04/P02-03 至 P02-09。**目标:** `solvers/time/`、接受步接口。"}, +{"id":"P04-06","title":"DC 线性化、AC 与完整端口输出","source_path":"plans/Impl/ArchitectureRefactorExecutionV1.md","source_line":452,"dependency_contract":"P04-04/P04-05。**源→目标:** `solver/small_signal.py`、ion/defect aware 算子 → `solvers/small_signal/`。"}, +{"id":"P04-07","title":"体复合与已有光生成","source_path":"plans/Impl/ArchitectureRefactorExecutionV1.md","source_line":463,"dependency_contract":"P04-03 至 P04-06。**源→目标:** `physics/{recombination,traps,bulk_traps,generation,optics,optical_stack}.py` → `physics/recombination/`、`generation/`。"}, +{"id":"P04-08","title":"单/双离子、容量与逐域库存","source_path":"plans/Impl/ArchitectureRefactorExecutionV1.md","source_line":474,"dependency_contract":"P04-05/P04-07。**源→目标:** 原离子输运/DAE、combined impedance 库存逻辑 → `physics/ions/` 与公共约束。"}, +{"id":"P04-09","title":"有限界面输运、界面复合与左右迹","source_path":"plans/Impl/ArchitectureRefactorExecutionV1.md","source_line":485,"dependency_contract":"P04-01/P04-05/P04-08。**源→目标:** `thermionic_transport`、`interface_plane`、`two_sided_interface`、interface-state DAE → `physics/interface_transport/`、`recombination/interface/`。"}, +{"id":"P04-10","title":"动态缺陷、多价与亚稳状态","source_path":"plans/Impl/ArchitectureRefactorExecutionV1.md","source_line":497,"dependency_contract":"P04-06/P04-08/P04-09。**源→目标:** defect closure/distribution/dynamic/multivalent/metastable 模块及组合 DAE → `physics/defects/`。"}, +{"id":"P04-11","title":"温度、掺杂、组分与场依赖参数","source_path":"plans/Impl/ArchitectureRefactorExecutionV1.md","source_line":509,"dependency_contract":"P04-03/P04-07/P04-08/P04-10。**源→目标:** doping/narrowing/grading/temperature/field_mobility → `band_structure/`、`transport/` 和参数绑定。"}, +{"id":"P04-12","title":"非局部回收与受限隧穿","source_path":"plans/Impl/ArchitectureRefactorExecutionV1.md","source_line":520,"dependency_contract":"P04-07/P04-09/P04-11/P02-07。**源→目标:** mol/twod 的再吸收、已有 tunnelling → 对应物理模型与非局部项。"}, +{"id":"P04-13","title":"电路、热与叠层既有语义","source_path":"plans/Impl/ArchitectureRefactorExecutionV1.md","source_line":531,"dependency_contract":"P04-06/P04-07/P04-11。**源→目标:** external_circuit/thermal_balance/electrothermal/tandem → 物理参数/端口和原测量配方。"}, +{"id":"P05-01","title":"协议、工作点、状态传递和结果基类","source_path":"plans/Impl/ArchitectureRefactorExecutionV1.md","source_line":545,"dependency_contract":"P03-02/P03-05/P04-04 至 P04-06。**源→目标:** `experiments/protocol.py`、各 Result/prepare/run → `experiments/{base,protocol,runner,results}.py`。"}, +{"id":"P05-02","title":"J–V、Voc 与波形实验","source_path":"plans/Impl/ArchitectureRefactorExecutionV1.md","source_line":557,"dependency_contract":"P05-01 和所需 P04 模型切片。**源→目标:** jv_sweep/steady_state/quasi_fermi_steady_state/dark_jv/suns_voc/voc_t/waveform_jv → 通用实验配方。"}, +{"id":"P05-03","title":"频谱、CV/CF、EQE 与 EL","source_path":"plans/Impl/ArchitectureRefactorExecutionV1.md","source_line":568,"dependency_contract":"P05-01/P04-06/P04-07,及相应慢状态/非局部能力。"}, +{"id":"P05-04","title":"TPV、动态缺陷、退化、热和叠层历史","source_path":"plans/Impl/ArchitectureRefactorExecutionV1.md","source_line":579,"dependency_contract":"P05-01/P04-10/P04-13 及各自模型范围。"}, +{"id":"P05-05","title":"分析、扫描、筛选和可辨识性","source_path":"plans/Impl/ArchitectureRefactorExecutionV1.md","source_line":591,"dependency_contract":"P05-01/P05-02/P05-03/P03-05。"}, +{"id":"P06-01","title":"2D 几何与共享组装","source_path":"plans/Impl/ArchitectureRefactorExecutionV1.md","source_line":605,"dependency_contract":"P04-01/P04-02。**源→目标:** `twod/{grid_2d,flux_2d,continuity_2d,poisson_2d,solver_2d}.py` → 低层 mesh/discretization/equations。"}, +{"id":"P06-02","title":"2D 既有模型和实验能力","source_path":"plans/Impl/ArchitectureRefactorExecutionV1.md","source_line":616,"dependency_contract":"P06-01/相应 P04 模型/P05-01。**源→目标:** twod 的 mobility/RR/ion/interface/microstructure 及 experiments → 共享模型+高层 two_dimensional。"}, +{"id":"P06-03","title":"2D 独立细化与规模性能","source_path":"plans/Impl/ArchitectureRefactorExecutionV1.md","source_line":628,"dependency_contract":"P06-02。**步骤:**"}, +{"id":"P06-04","title":"RunStore、artifact 和唯一终态","source_path":"plans/Impl/ArchitectureRefactorExecutionV1.md","source_line":638,"dependency_contract":"P03-05/P05-01。**源→目标:** 内存 jobs、零散扫描文件 → `io/` 档案实现及共享 runtime。"}, +{"id":"P06-05","title":"有界执行、取消、超时和扫描","source_path":"plans/Impl/ArchitectureRefactorExecutionV1.md","source_line":650,"dependency_contract":"P06-04/P05-05。**源→目标:** 线程式 jobs 与扫参运行 → 模块级 worker+有界进程监督。"}, +{"id":"P06-06","title":"注册表路由与可重连 SSE","source_path":"plans/Impl/ArchitectureRefactorExecutionV1.md","source_line":663,"dependency_contract":"P06-05/P03-07/已迁实验。**源→目标:** `backend/main.py`、jobs/progress → `src/solarlab_server/routes/`。"}, +{"id":"P06-07","title":"前端生成、表单与稳定路径","source_path":"plans/Impl/ArchitectureRefactorExecutionV1.md","source_line":675,"dependency_contract":"P03-02/P03-03/P03-07;可与 P04/P05 后半段并行。**源→目标:** `frontend/` → `web/`。"}, +{"id":"P06-08","title":"实验面板、结果绘图与完整入口测试","source_path":"plans/Impl/ArchitectureRefactorExecutionV1.md","source_line":686,"dependency_contract":"P06-06/P06-07/P05 各实验、2D 面板另需 P06-02。"}, +{"id":"P07-01","title":"研究扩展与公共接口迁移","source_path":"plans/Impl/ArchitectureRefactorExecutionV1.md","source_line":699,"dependency_contract":"P04 的 R1 必要模型/P05-01/P03-06;不依赖全部 UI 完成。"}, +{"id":"P07-02","title":"新架构下重验准备、短例和原步合同","source_path":"plans/Impl/ArchitectureRefactorExecutionV1.md","source_line":711,"dependency_contract":"P07-01/P01 定点证据/P04-05。"}, +{"id":"P07-03","title":"新架构的正式双侧 100 s","source_path":"plans/Impl/ArchitectureRefactorExecutionV1.md","source_line":722,"dependency_contract":"P07-02、完整可复现执行 bundle、适用的冻结 Request/预算。"}, +{"id":"P07-04","title":"完整 R1-2 科学资格","source_path":"plans/Impl/ArchitectureRefactorExecutionV1.md","source_line":734,"dependency_contract":"P07-03,及固定研究请求所需全部证据。**权威:** 现有 R1 Qualification/PhysicsProtocol/Admittance/StudyRequest 合同。"}, +{"id":"P07-05","title":"研究入口、独立复核与迁移收口","source_path":"plans/Impl/ArchitectureRefactorExecutionV1.md","source_line":747,"dependency_contract":"P07-01 至 P07-04。"}, +{"id":"P08-01","title":"冻结各修正的科学问题和反证","source_path":"plans/Impl/ArchitectureRefactorExecutionV1.md","source_line":762,"dependency_contract":"G7;涉及 2D 的项还需 P06-03。"}, +{"id":"P08-02","title":"几何、介电与方向约定修正","source_path":"plans/Impl/ArchitectureRefactorExecutionV1.md","source_line":773,"dependency_contract":"P08-01 和相关维度已迁移。"}, +{"id":"P08-03","title":"TE 与接触的独立详细平衡","source_path":"plans/Impl/ArchitectureRefactorExecutionV1.md","source_line":783,"dependency_contract":"P08-01/P04-09。"}, +{"id":"P08-04","title":"光谱 Beer–Lambert 与光学默认","source_path":"plans/Impl/ArchitectureRefactorExecutionV1.md","source_line":794,"dependency_contract":"P08-01/P04-07,真实历史源已找到或明确按范围新增。"}, +{"id":"P08-05","title":"修正后再认证与版本收口","source_path":"plans/Impl/ArchitectureRefactorExecutionV1.md","source_line":805,"dependency_contract":"所有实际实施的 P08 修正。"}, +{"id":"P09-01","title":"冻结候选并完成全产品验收","source_path":"plans/Impl/ArchitectureRefactorExecutionV1.md","source_line":817,"dependency_contract":"G5/G6/G7/G8。"}, +{"id":"P09-02","title":"完成一次用户入口切换","source_path":"plans/Impl/ArchitectureRefactorExecutionV1.md","source_line":830,"dependency_contract":"P09-01。"}, +{"id":"P09-03","title":"按消费者闭包删除旧实现","source_path":"plans/Impl/ArchitectureRefactorExecutionV1.md","source_line":841,"dependency_contract":"P09-02、每个待删对象的全部消费者验收通过。"}, +{"id":"P09-04","title":"干净安装、文档和交付收口","source_path":"plans/Impl/ArchitectureRefactorExecutionV1.md","source_line":853,"dependency_contract":"P09-03。"} +], +"driver_and_calibration_policies": [ + { + "id": "driver:mol", + "source": "perovskite-sim/perovskite_sim/solver/mol.py", + "facts": [ + "MaterialArrays.te_softness defaults 0.0", + "run_transient rtol=1e-4, atol=1e-6", + "LEGACY disables DOS/physical-TE/steric-diffusion gates despite config/env opt-in", + "SOLARLAB_QSS_VTH defaults 1e5; interface generation clamp defaults on" + ], + "tasks": [ + "P00-03", + "P03-04", + "P04-05", + "P04-09" + ] + }, + { + "id": "driver:density_steady", + "source": "perovskite-sim/perovskite_sim/experiments/steady_state.py", + "facts": [ + "_TE_SOFTNESS=0.02", + "_IFACE_STATE_V_TH=1e5", + "SOLARLAB_SS_JAC_REUSE defaults enabled at module import", + "Frozen ions; explicit interface-state calibration; separate transient assists/fallback stack" + ], + "tasks": [ + "P00-03", + "P03-04", + "P04-04" + ] + }, + { + "id": "driver:qf_steady", + "source": "perovskite-sim/perovskite_sim/experiments/quasi_fermi_steady_state.py", + "facts": [ + "Seed/predictor material uses te_softness=0.02", + "Final QF/current/trace/contact certificates and nonlinear guards remain separate from seed settings" + ], + "tasks": [ + "P00-03", + "P04-04", + "P04-09" + ] + }, + { + "id": "driver:jv_transient", + "source": "perovskite-sim/perovskite_sim/experiments/jv_sweep.py", + "facts": [ + "rtol=1e-4, atol=1e-6", + "Radau nfev cap 100000, time bisection and last BDF fallback", + "Wrong-branch and continuous-history rules retained; supplied protocol/atol can override defaults" + ], + "tasks": [ + "P00-03", + "P03-04", + "P04-05", + "P05-02" + ] + }, + { + "id": "calibration:interface", + "source": "perovskite-sim/perovskite_sim/models/device.py", + "facts": [ + "InterfaceDefect.calibration_factor=1.0", + "InterfaceDefect.iface_state_calibration_factor=1.0", + "N_t_cm2=0.0 sentinel preserves historical fallback; microscopic charged paths require unity factors" + ], + "tasks": [ + "P00-03", + "P03-04", + "P04-09", + "P04-10" + ] + }, + { + "id": "calibration:scaps_mirror_v2", + "source": "perovskite-sim/configs/scaps_mirror_v2.yaml", + "facts": [ + "het_recomb_despike=0.53", + "contact_phi_B_eV=0.42", + "interface-state factors 0.02 and 0.10", + "Calibrated reproduction remains a separate evidence level" + ], + "tasks": [ + "P00-03", + "P03-04", + "P08-03" + ] + }, + { + "id": "driver:twod", + "source": "perovskite-sim/perovskite_sim/twod/experiments/jv_sweep_2d.py", + "facts": [ + "Warm start uses 1D illuminated_ss/newton and StateVec; preserve actual finite settle history", + "Mobile/interface topology requires explicit research_strict protocol and Neumann-x", + "Legacy compute_terminal_current_2d rejects mobile completeness; complete adapter includes ionic/displacement current" + ], + "tasks": [ + "P00-03", + "P06-01", + "P06-02", + "P06-03" + ] + } +], +"unresolved_serialized_reference_candidates": [ + { + "path": "perovskite-sim/configs/README.md", + "line": 11, + "value": "tests/fixtures/configs/" + }, + { + "path": "perovskite-sim/configs/scaps_mirror_v2.yaml", + "line": 3, + "value": "configs/scaps_mirror.yaml" + }, + { + "path": "perovskite-sim/reproducibility/README.md", + "line": 15, + "value": "tests/fixtures/configs/" + }, + { + "path": "perovskite-sim/reproducibility/baselines/p0-certified-2026-08-01/README.md", + "line": 43, + "value": "perovskite-sim/perovskite_sim/experiments" + }, + { + "path": "perovskite-sim/reproducibility/baselines/p0-certified-2026-08-01/README.md", + "line": 48, + "value": "perovskite-sim/tests/unit/experiments" + }, + { + "path_base": "archive", + "path": "develop/Manual/ManualFigures.py", + "line": 32, + "value": "perovskite-sim/reproducibility/config_benchmark_matrix.yaml", + "candidate_current_path": "perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "tasks": [ + "P03-06", + "P09-04" + ], + "status": "stale_path_not_executed" + } +], +"check_summary": { + "registry": { + "loaders_ok": 55, + "lanes_with_hashes_ok": 47, + "executors_resolved_ok": 34 + }, + "exports_resolved": 1218, + "http_api_config_listing": "200, 3 shipped configs, 0 jobs", + "cli_help": "5 selected public script entrypoints exited 0", + "guard_tests": "7 passed in 1.47s", + "guard_test_node_ids": [ + "tests/unit/experiments/test_dynamic_defect_impedance.py::test_capability_classifier_routes_every_certified_combination", + "tests/unit/experiments/test_dynamic_defect_impedance.py::test_bulk_and_interface_without_ions_fail_closed", + "tests/unit/experiments/test_dynamic_defect_impedance.py::test_effective_lifetime_only_stack_has_no_dynamic_defect_capability", + "tests/unit/experiments/test_dynamic_defect_transient.py::test_classifier_accepts_only_absorber_positive_ion_interface_slice", + "tests/unit/experiments/test_dynamic_defect_transient.py::test_illuminated_public_transient_fails_before_execution", + "tests/unit/twod/test_jv_protocol_2d.py::test_topology_and_current_composition_must_agree", + "tests/unit/twod/test_jv_protocol_2d.py::test_mobile_runner_requires_explicit_research_protocol" + ], + "python311_grammar": "906 parsed; runtime support not tested", + "simulation_executed": false, + "performance_executed": false +}, +"unresolved_gaps": [ + { + "id": "GAP-P00-SOURCE-ACCEPTANCE", + "tasks": [ + "P00-01", + "P00-02" + ], + "status": "resolved_by_coordinator", + "issue": "Coordinator msg_e157e0b0c9f9 confirms P00-01 passed and HEAD 37ff363 contains only the CLAUDE.md workflow change; scientific source hashes remain unchanged. This worker does not write activity state." + }, + { + "id": "GAP-PYTHON-LOWEST", + "tasks": [ + "P02-01" + ], + "status": "runtime_test_required", + "issue": "Declared >=3.11, design 3.12+, observed 3.13.15; installed NumPy 2.5.3 and SciPy 1.18.1 each require >=3.12. All 906 files parse under Python 3.11 grammar, but that is not a 3.11 runtime/dependency test. Preserve declared minimum until explicit supported-version decision and isolated minimum-version smoke." + }, + { + "id": "GAP-ENV-TOOLING", + "tasks": [ + "P02-01" + ], + "status": "implementation_followup", + "issue": "uv absent from PATH, no Python lock/CI, threadpoolctl directly used but undeclared, root tests/conftest.py imports backend.jobs in an autouse fixture. No .venv changes were made." + }, + { + "id": "GAP-IDA-CONTRACT", + "tasks": [ + "P02-01", + "P02-03", + "P02-04", + "P02-05", + "P02-06", + "P02-07", + "P02-08", + "P02-09" + ], + "status": "isolated_probe_required", + "issue": "Existing isolated scikit-SUNDAE 1.1.3 sources and cp313 binary are inventoried by content; callback/sparse/accepted-step/failure semantics were not tested here and it is absent from baseline .venv." + }, + { + "id": "GAP-RESEARCH-BOUNDARY", + "tasks": [ + "P02-08", + "P07-01", + "P07-05", + "P09-03" + ], + "status": "migration_required", + "issue": "R1 inherits private transient systems and mutates __class__ for pair backend; interface_defect_ion_transient and defect_ion_combined_impedance have lazy reverse research imports. Public protocol/facade inversion must precede retirement." + }, + { + "id": "GAP-2D-CLOSURE", + "tasks": [ + "P04-01", + "P04-04", + "P04-09", + "P06-01", + "P06-02", + "P06-03", + "P09-03" + ], + "status": "migration_required", + "issue": "2D consumes mol.build_material_arrays, StateVec, illuminated_ss.solve_illuminated_ss, newton.solve_equilibrium and interface_two_sided. Its extended topology and complete-current adapters must migrate together; legacy helpers remain available." + }, + { + "id": "GAP-ARCHIVE-REBIND", + "tasks": [ + "P03-06", + "P07-05", + "P09-03" + ], + "status": "bounded_static_inventory_only", + "issue": "4448 archive script paths source-scanned; frozen snapshots/external reference code are lineage evidence, not active migration items. Support-documentation scripts remain indexed active consumers. Historical controllers with checkout/dynamic references need bound replay decisions before P09 retirement; no replay executed. ManualFigures.py:32 still resolves the lowercase legacy matrix under archive ROOT; the real current registry is a candidate mapping only, pending explicit support-script path repair." + }, + { + "id": "GAP-ARCHIVE-NONPYTHON", + "tasks": [ + "P03-06", + "P07-05" + ], + "status": "retained_historical_text", + "issue": "HistoricalCrossCodeV1/mine/variants.py contains only the text \"variants written\" and is not Python. Its path/hash and parse limitation remain recorded; it is not executed or repaired." + }, + { + "id": "GAP-STATIC-DYNAMIC-LIMIT", + "tasks": [ + "P00-02", + "P03-06", + "P07-05", + "P09-03" + ], + "status": "retirement_blocker_until_downstream_evidence", + "issue": "Static imports and literal references are conservative potential consumers; lexical aliases are not full data-flow analysis. Cold checks cover registry executors, exports, backend route mount/config listing, R1 aliases and five safe CLI help paths. Remaining dynamic request/file-based targets need bound-entrypoint evidence before removal." + }, + { + "id": "GAP-SPECTRAL-BL", + "tasks": [ + "P00-01", + "P04-07", + "P08-04" + ], + "status": "not_observed_in_current_sources", + "issue": "Current physics/generation.py provides scalar Beer-Lambert; current loader/device sources expose no spectral/profile-file generation entry. Do not fabricate the earlier Beer-Lambert WIP; historical or new feature scope needs its own source record." + }, + { + "id": "GAP-SCIENTIFIC-REFERENCE", + "tasks": [ + "P00-03", + "P07-02", + "P07-03", + "P07-04", + "P08-01", + "P08-03" + ], + "status": "no_new_scientific_qualification", + "issue": "Historical contact inconsistency, nonsmooth TE, shared geometry/oracle limitations and V53 309 failure remain explicit. This read-only inventory does not establish that the separately bound R1 model can or cannot satisfy full qualification; no thresholds, failure labels or L1/L2/L3 distinctions are changed." + }, + { + "id": "GAP-DORMANT-PUBLIC-APIS", + "tasks": [ + "P06-06", + "P06-08", + "P09-03" + ], + "status": "retain_pending_consumer_review", + "issue": "backend/api_schema.py and celery_app.py remain documented/deep-importable despite no active route consumption; celery is not installed. Old TS panels, __all__-only helpers and test-only entrypoints are retained, not auto-retired." + }, + { + "id": "GAP-ORACLE-INDEPENDENCE", + "tasks": [ + "P00-03", + "P04-01", + "P05-03", + "P06-03", + "P07-05", + "P09-03" + ], + "status": "independence_scope_frozen_for_followup", + "issue": "Shared Bernoulli/geometry/material/constitutive paths are labeled partial independence. Dedicated oracle IDs prevent copied implementation comparisons or test-only status from justifying deletion." + } +], +"p02_01_preparation": { + "status": "prepared_not_applied", + "implementation_requires": [ + "P00-01 accepted by integrator", + "fresh followup Dispatch" + ], + "owned_followup_paths": [ + "perovskite-sim/pyproject.toml", + "perovskite-sim/uv.lock", + ".github/workflows/ci.yml", + "perovskite-sim/tests/conftest.py", + "perovskite-sim/tests/unit/backend/conftest.py", + "perovskite-sim/tests/integration/backend/conftest.py" + ], + "root_package_boundary": "Root pyproject/src flattening belongs to P03-01; first lock belongs alongside the existing perovskite-sim/pyproject.toml per coordinator instruction.", + "python_decision": { + "declared": ">=3.11", + "design": "3.12+", + "observed": "3.13.15", + "observed_numpy_requires": ">=3.12", + "observed_scipy_requires": ">=3.12", + "action": "Do not raise requires-python incidentally. Resolve a conditional lock for 3.11 and 3.13 or explicitly decide 3.12+; run the chosen lowest runtime in a separate environment before claiming support." + }, + "direct_dependencies": { + "core_existing": [ + "numpy", + "scipy", + "PyYAML", + "matplotlib" + ], + "execution_thread_control": [ + "threadpoolctl" + ], + "server_extra": [ + "fastapi", + "uvicorn", + "pydantic" + ], + "research_extra": [ + "threadpoolctl", + "openpyxl (only scripts that read workbook references)", + "PyMuPDF (only the observed PDF inspection script; optional tooling)" + ], + "dev_extra": [ + "pytest", + "pytest-cov", + "httpx or version-compatible test client", + "ruff", + "mypy", + "import-linter", + "pytest-timeout if actual per-type timeout enforcement uses it" + ], + "ida_probe_extra": [ + "scikit-sundae==1.1.3 in isolated environment; freeze build/SUNDIALS/sparse capability identity before promotion" + ], + "notebook_extra": [ + "jupyterlab" + ], + "legacy_optional": [ + "celery", + "redis; preserve optional documented route until P09 decision, never make ordinary core install import it" + ] + }, + "ci_jobs": [ + { + "name": "source_static", + "checks": [ + "ruff check on touched/new scopes", + "ruff format --check on touched/new scopes", + "mypy new/prototype contracts only", + "import-linter contracts after actual boundary modules exist" + ], + "timeout_minutes": 10 + }, + { + "name": "fast_python", + "checks": [ + "uv sync --frozen in job-local environment", + "core-only selected smoke on chosen minimum and 3.13", + "separate server smoke with server extra", + "all five BLAS environment variables=1", + "pytest cache and temporary outputs scoped to job" + ], + "timeout_minutes": 15 + }, + { + "name": "web", + "checks": [ + "npm ci in perovskite-sim/frontend using existing package-lock", + "npm run test:run", + "npm run build" + ], + "timeout_minutes": 15 + }, + { + "name": "coverage", + "checks": [ + "independent pytest --cov job, no hidden coverage overhead in numerical timings" + ], + "timeout_minutes": 30 + }, + { + "name": "numerical_slow", + "checks": [ + "explicit manually/scheduled selected slow lane only", + "retain -m slow semantics", + "separate scenario-specific budgets; no universal five-minute timeout" + ], + "timeout_minutes": null + }, + { + "name": "ida_binding_contract", + "checks": [ + "isolated known source pin", + "callback residual/status", + "sparse matrix path and linked solver availability", + "one accepted native step observation", + "failure propagation, dense output and tstop semantics" + ], + "timeout_minutes": 10 + } + ], + "conftest_change": "Move finish_background_jobs autouse fixture into scoped backend conftests or explicit opt-in shared fixture; preserve completion before monkeypatch teardown and serve_all_presets behavior. Core default smoke must not import backend jobs implicitly.", + "isolation": "Use UV_PROJECT_ENVIRONMENT or explicit alternate --python environment outside baseline .venv; do not replace .venv or globally reformat; numerical baseline dependency identity stays distinct.", + "source_pin_available": { + "scikit_sundae-1.1.3.dist-info/METADATA": { + "path": "/private/tmp/solarlab-numerics-external/runtime/scikit_sundae-1.1.3.dist-info/METADATA", + "sha256": "ffa940514ffe7ce3e5672121e6c8a1b0e5470184923b9cc663c21bf69ebc0687" + }, + "sksundae/ida/_solver.py": { + "path": "/private/tmp/solarlab-numerics-external/runtime/sksundae/ida/_solver.py", + "sha256": "03f96bf1c50a196f12a91c87dee0e38b397801c8a6533c87f3b45e55ab6f34d5" + }, + "sksundae/_cy_ida.pyx": { + "path": "/private/tmp/solarlab-numerics-external/runtime/sksundae/_cy_ida.pyx", + "sha256": "d1a8a6e49699d2312a90e44e5c5c8f132db66f84e6979fe17d400f58ccc40638" + }, + "sksundae/_cy_ida.cpython-313-darwin.so": { + "path": "/private/tmp/solarlab-numerics-external/runtime/sksundae/_cy_ida.cpython-313-darwin.so", + "sha256": "8720eaf4e4c5a7b4f0ef0d5849b9b32798d47625bbb795a3c9ce1ef2c14a626f" + } + }, + "acceptance_commands_prepared_not_run": [ + "uv lock", + "UV_PROJECT_ENVIRONMENT=/private/tmp/solarlab_p02_01_py311_run_b01db3902366 uv sync --frozen --python 3.11 --extra dev", + "UV_PROJECT_ENVIRONMENT=/private/tmp/solarlab_p02_01_py313_run_b01db3902366 uv sync --frozen --python 3.13 --extra dev --extra server", + "npm ci", + "npm run test:run", + "npm run build" + ], + "remaining": "Resolve uv/tool provenance and Python compatibility; construct lock and scoped CI in followup; isolate IDA probes; no performance runs." +}, +"integrity": { + "all_current_paths_exist": true, + "ids_unique": true, + "consumer_edges_resolve": true, + "all_64_task_ids_mapped": true, + "production_code_changed": false, + "git_mutations_performed": false, + "baseline_venv_changed": false, + "activity_state_changed": false, + "registered_test_nodes_ast_verified": 217, + "source_paths_and_hashes_verified": 1273 +} +} diff --git a/reproducibility/RefactorReferenceManifestV1.json b/reproducibility/RefactorReferenceManifestV1.json new file mode 100644 index 00000000..858ca6fe --- /dev/null +++ b/reproducibility/RefactorReferenceManifestV1.json @@ -0,0 +1,36847 @@ +{ + "schema": "solarlab.refactor_reference_manifest.v1", + "version": 1, + "created_at": "2026-10-05T08:23:25.726457+00:00", + "task": "P00-03", + "run_id": "run_b01db3902366", + "status": "reference_map_and_prospective_contracts_prepared_with_qualification_gaps", + "roots": { + "repository": "/Users/bytedance/Intern/SolarLab", + "archive": "/Users/bytedance/Library/Mobile Documents/com~apple~CloudDocs/projects/solarlab" + }, + "runtime_verification": { + "session_id": "01a10b14-a153-7030-8f8b-fa18b15ffaf7", + "turn_id": "01a10b15-937f-7430-bdcd-9c09c7187e94", + "evidence": "/Users/bytedance/.codex/sessions/2026/10/05/rollout-2026-10-05T16-01-03-01a10b14-a153-7030-8f8b-fa18b15ffaf7.jsonl turn_context", + "model": "gpt-6-astra", + "effort": "max", + "sandbox": "danger-full-access", + "approval": "never", + "real_network_probe": { + "url": "https://www.python.org/", + "method": "HEAD", + "status": 200, + "checked_at": "2026-10-05T08:02:37.979537+00:00" + }, + "file_access": "Repository and archive read verified; temporary file created, read back and removed", + "inventory_python": "3.12.14", + "host": "macOS-26.6.2-arm64-arm-64bit", + "branch_before_writes": "devel", + "head_before_first_writes": "99dcc1f1ea9272622d974096290fd4b0830aa805", + "head_at_manifest_write": "37ff3639291018d9bb7203bd9f8fa0b4ebf66a59", + "head_transition_authorization": "Coordinator Orca ask reply: 37ff363 is authorized documentation-only P00-01 M commit; computational sources unchanged; preserve original identity separately", + "initial_worktree": [ + "?? .codex/" + ], + "concurrent_nonowned_change_observed": "CLAUDE.md changed by coordinator; preserved" + }, + "dependencies": [ + { + "task": "P00-01", + "status": "startup_passed_in_authoritative_ledger", + "source_id": "startup_manifest", + "remaining_limit": "Historical SCAPS/HI execution identities and actual BLAS threads are not certified by startup acceptance" + }, + { + "task": "P00-02", + "status": "passed_in_authoritative_ledger", + "gap": "none_for_inventory; per-slice scientific reference qualifications still required" + }, + { + "id": "independent_scan_budgets", + "status": "awaiting_independent_review", + "gap": "No full/new-solver SCAPS/HI budget is frozen; do not launch acceptance first and tune later" + } + ], + "sources": [ + { + "id": "scaps_pdf", + "root": "archive", + "path": "reference/ScapsReport.pdf", + "sha256": "c212366e137d7a57bc70261af255481ad1b2fa3f3145cc9035978283336a62db", + "bytes": 4637100, + "role": "partner_report", + "status": "present_digest_recorded", + "pages": 21 + }, + { + "id": "scaps_workbook", + "root": "archive", + "path": "reference/ScapsParams.xlsx", + "sha256": "862cf0216b08558253268f4ec99fad3e93842c7ce1e9006874ecf03096e9ae3c", + "bytes": 27006, + "role": "partner_numeric_tables", + "status": "present_digest_recorded" + }, + { + "id": "scaps_workbook_repository", + "root": "repository", + "path": "perovskite-sim/reproducibility/ScapsParams.xlsx", + "sha256": "862cf0216b08558253268f4ec99fad3e93842c7ce1e9006874ecf03096e9ae3c", + "bytes": 27006, + "role": "same_bytes_runtime_input", + "status": "present_digest_recorded" + }, + { + "id": "scaps_fixture", + "root": "repository", + "path": "perovskite-sim/tests/integration/ScapsReference.json", + "sha256": "b1ae276c62e3ba1d44e7ffbb7e4cbf7bde76a070b01c552e23570a4180e62c84", + "bytes": 68225, + "role": "historical_partial_extraction", + "status": "present_digest_recorded" + }, + { + "id": "scaps_extractor", + "root": "repository", + "path": "perovskite-sim/scripts/extract_scaps_reference.py", + "sha256": "936400b2ac54363de9c98ce6af5667a71885f00ca71253f05844f8349df04c27", + "bytes": 4637, + "role": "historical_extractor_omits_Nd_PVK", + "status": "present_digest_recorded" + }, + { + "id": "scaps_full_script", + "root": "repository", + "path": "perovskite-sim/scripts/run_scaps_full_regression.py", + "sha256": "2eaf17529a25432d20f35b9806e200e42eda798b77b4ecad3e0ca84b25e54407", + "bytes": 8658, + "role": "historical_combined_CB_VB_sweep", + "status": "present_digest_recorded" + }, + { + "id": "scaps_figure_script", + "root": "repository", + "path": "perovskite-sim/scripts/scaps_validation_figures.py", + "sha256": "7d93f754d2db7a310f0a400c3ee4704ed43d851286d26b65bca0ac9cae943ad7", + "bytes": 7615, + "role": "historical_combined_CB_VB_sweep", + "status": "present_digest_recorded" + }, + { + "id": "scaps_mirror_v2", + "root": "repository", + "path": "perovskite-sim/configs/scaps_mirror_v2.yaml", + "sha256": "5500c9485f6a9518430511019546933277cdc3274fd3a005182394f39d2fcf67", + "bytes": 7712, + "role": "calibrated_historical_configuration", + "status": "present_digest_recorded" + }, + { + "id": "scaps_old_scan2d", + "root": "archive", + "path": "results/Scan2d/Scan2dResults.json", + "sha256": "3e6e47be77f2cabc7e6db02566128fbc6ba497f46225964dbafa9c4872d2912b", + "bytes": 13552, + "role": "historical_SolarLab_grid_outputs", + "status": "present_digest_recorded" + }, + { + "id": "scaps_digitized", + "root": "archive", + "path": "results/Scan2d/ScapsDigitized.json", + "sha256": "f26f283fddd5df0e1c1d2038fc9fd69cee3e6e698e6e7021714b43b98959b5b5", + "bytes": 9931, + "role": "plot_color_digitization_not_native_reference", + "status": "present_digest_recorded" + }, + { + "id": "scaps_sparse_comparison", + "root": "archive", + "path": "results/ScapsAnalysis/SolarlabSparseScapsParameterComparison.csv", + "sha256": "b846120c13cfd94a48ef26e9c8024bdc68af445e7a58f41a6d0acc512140afd7", + "bytes": 5360, + "role": "derived_comparison_not_original_export", + "status": "present_digest_recorded" + }, + { + "id": "scaps_input_audit", + "root": "archive", + "path": "plans/Specs/E2aYamlAudit.md", + "sha256": "9eb1bbe5a4d9970dbab9e39ad130230c2795dcc33d1ab4824ba1b6f5783cbb8e", + "bytes": 6726, + "role": "historical_input_uncertainty_evidence", + "status": "present_digest_recorded" + }, + { + "id": "hi_figure_contract", + "root": "repository", + "path": "perovskite-sim/docs/IonSweepFigureReference.md", + "sha256": "a068a50962ed14a6863496c54e98bf4cdfaddcc623f74063ede9c7b20cc7f3ef", + "bytes": 2881, + "role": "limited_same_grid_contract", + "status": "present_digest_recorded" + }, + { + "id": "hi_checkpoint", + "root": "repository", + "path": "perovskite-sim/docs/Calado2016ReproductionCheckpoint.md", + "sha256": "ff320cc1c9e1dd215ab9ea4fd79a2738e68208eca480e1851e2bd0cf0017a089", + "bytes": 91715, + "role": "historical_scope_and_refinement_evidence", + "status": "present_digest_recorded" + }, + { + "id": "hi_fixture", + "root": "repository", + "path": "perovskite-sim/tests/fixtures/IonDiffusivityFigureReference.json", + "sha256": "5d40c90880097fd0f2814ff397a5f816facca4385b56adca45ff8109fffc9666", + "bytes": 55753, + "role": "four_recorded_curve_pairs", + "status": "present_digest_recorded" + }, + { + "id": "hi_existing_test", + "root": "repository", + "path": "perovskite-sim/tests/integration/test_ion_diffusivity_figure.py", + "sha256": "eb8e9402314c53ef35752f3686c9013dd7def00038c1ef4587544e89e42b8fc4", + "bytes": 2939, + "role": "existing_four_case_threshold_source", + "status": "present_digest_recorded" + }, + { + "id": "hi_preset", + "root": "repository", + "path": "perovskite-sim/configs/calado2016_ion_sweep.yaml", + "sha256": "2b436f161a62c9edb2f0b1bbbcf0d2d6a5f27471d2a5d296952173c4baadea9c", + "bytes": 2034, + "role": "current_frontend_entry", + "status": "present_digest_recorded" + }, + { + "id": "hi_dense_matrix", + "root": "archive", + "path": "results/CaladoRepro/DenseIonMatrixV1/Matrix.json", + "sha256": "63942ee5fc3e89eb6403a01d10bff5dbb2b096e4de3f3cab201f3808369f127a", + "bytes": 750550, + "role": "42_recorded_curve_pairs_and_audits", + "status": "present_digest_recorded" + }, + { + "id": "hi_dense_provenance", + "root": "archive", + "path": "results/CaladoRepro/DenseIonMatrixV1/Provenance.json", + "sha256": "9f6c1f1193c29460458ca5a7eefb6e807d86ed856e8d5614fb140ba204360da2", + "bytes": 1805, + "role": "historical_code_and_request_pins", + "status": "present_digest_recorded" + }, + { + "id": "hi_rate_matrix", + "root": "archive", + "path": "results/CaladoRepro/UiProtocol/RateMatrixV1/Matrix.json", + "sha256": "f9dd7757622d95a9d4b91b2b93911d1fc365c65895ef7e65b962748350d126cd", + "bytes": 5075, + "role": "three_rate_audits", + "status": "present_digest_recorded" + }, + { + "id": "hi_original_curves", + "root": "archive", + "path": "results/CaladoRepro/UiProtocol/JvMatrixDisplayV1/CurvesAndAudit.json", + "sha256": "fbe80c3e0c81bb7d63c61d8e8b2d8122fb321a89ee03f0945621de9f3166bdaf", + "bytes": 155092, + "role": "stored_state_current_reconstruction", + "status": "present_digest_recorded" + }, + { + "id": "hi_dense_script", + "root": "archive", + "path": "results/CaladoRepro/RunDenseIonMatrix.py", + "sha256": "e11fa35c48d2ac19502e0e36056af384fd2ae69ba0adc1d5de92c37ee5d431a2", + "bytes": 8939, + "role": "historical_reconstruction_and_launch_script_not_executed", + "status": "present_digest_recorded" + }, + { + "id": "hi_pchip_script", + "root": "archive", + "path": "results/DenseIonResults/Build/PrepareSmoothHi.py", + "sha256": "852575744dfec27cf8547fc84cbb78aa0938aedafd832ab5552cf361ac4961a5", + "bytes": 1645, + "role": "presentation_interpolation_only", + "status": "present_digest_recorded" + }, + { + "id": "formal_deck", + "root": "archive", + "path": "present/260907Formal.pptx", + "sha256": "5036e0c4ae365c9bdfc045e11e030c88dc800d7cf903b3fddf857949d68250ee", + "bytes": 3639847, + "role": "presentation_lineage_only", + "status": "present_digest_recorded", + "slides": 41 + }, + { + "id": "refinement_registry", + "root": "repository", + "path": "perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "sha256": "b808fb2c7e44b282fe5e8a7d55a8f23a12101451104c6c639e2991fec34a2dff", + "bytes": 206279, + "role": "existing_lane_contracts", + "status": "present_digest_recorded" + }, + { + "id": "audit_f08_f23_f24", + "root": "archive", + "path": "plans/Audit/ArchitectureRefactorReviewV1.md", + "sha256": "5b73723f7b7a39dce57e0f65bb97fcb635ccb507f6168238afe51cdcd68d3d47", + "bytes": 68461, + "role": "audit_findings", + "status": "present_digest_recorded" + }, + { + "id": "audit_evidence", + "root": "archive", + "path": "plans/Notes/ArchitectureRefactorReviewEvidenceV1.json", + "sha256": "a3fb5ae026fe12f8b50eebb74e8012b0e749507602609a543e3047ca8974bf56", + "bytes": 17501, + "role": "previous_bounded_evidence_not_new_execution", + "status": "present_digest_recorded" + }, + { + "id": "execution_plan", + "root": "archive", + "path": "plans/Impl/ArchitectureRefactorExecutionV1.md", + "sha256": "8acd5423e1ab6c16ba517c2e3380df7d74489c9fbe17af84a62caa65a9ae8b33", + "bytes": 133179, + "role": "P00_03_and_section_14_contract", + "status": "mutable_control_document_snapshot_not_an_acceptance_gate" + }, + { + "id": "startup_manifest", + "root": "archive", + "path": "test/ArchitectureRefactor/Stage00/StartupManifestV1.json", + "sha256": "a24a303e7c058c54500e5f399cae4c8cea4e1406289edc9d038555be6e4a941b", + "bytes": 43152, + "role": "P00_01_startup_source_binding", + "status": "present_digest_recorded" + }, + { + "id": "analytic_gates", + "root": "repository", + "path": "tests/numerical_contracts/AnalyticGatesV1.json", + "sha256": "43c9ba4ab1b6a95b3e278efcd8eed9a67dc4d5e258295c8e6961c53f7ee57201", + "bytes": 29210, + "role": "coordinator_owned_analytic_prerequisites_separate_from_SCAPS_HI", + "status": "frozen_independently_reviewed_analytic_contract" + }, + { + "id": "analytic_design", + "root": "archive", + "path": "test/ArchitectureRefactor/Stage02/ContractDesignV1.md", + "sha256": "3670228d90ee3b7616255b3bc9ed32e6c4a5dcb4d4f3c45d53744d15664affce", + "bytes": 7557, + "role": "coordinator_owned_design_record_not_acceptance", + "status": "mutable_control_document_snapshot_not_an_acceptance_gate" + }, + { + "id": "hi_diffusivity_00_raw", + "root": "archive", + "path": "results/CaladoRepro/DenseIonMatrixV1/Diffusivity/Ratio00.json", + "sha256": "3da4e5effd5ef045e86c7c7afda36f319da2c10b94787b5c91628e6ab814cbcc", + "bytes": 2949631, + "role": "historical_spatial_request_and_result", + "status": "present_digest_recorded" + }, + { + "id": "hi_diffusivity_01_raw", + "root": "archive", + "path": "results/CaladoRepro/DenseIonMatrixV1/Diffusivity/Ratio01.json", + "sha256": "2e32a0bd6b71cdb3ad1d7a6d6fa07c2fde65e548ca3da84a56189075918744c1", + "bytes": 3018577, + "role": "historical_spatial_request_and_result", + "status": "present_digest_recorded" + }, + { + "id": "hi_diffusivity_02_raw", + "root": "archive", + "path": "results/CaladoRepro/DenseIonMatrixV1/Diffusivity/Ratio02.json", + "sha256": "b519c419c46c591cd28acf8e4d23cb25bb0b0551d9f34cc1308c27f28126fd48", + "bytes": 3019633, + "role": "historical_spatial_request_and_result", + "status": "present_digest_recorded" + }, + { + "id": "hi_diffusivity_03_raw", + "root": "archive", + "path": "results/CaladoRepro/DenseIonMatrixV1/Diffusivity/Ratio03.json", + "sha256": "4aca0d87eca3c6bd88c5c67a6acfa6e82b1e381cf593c1637f6a4ddb8811b90f", + "bytes": 3020892, + "role": "historical_spatial_request_and_result", + "status": "present_digest_recorded" + }, + { + "id": "hi_diffusivity_04_raw", + "root": "archive", + "path": "results/CaladoRepro/DenseIonMatrixV1/Diffusivity/Ratio04.json", + "sha256": "93f8321af09d69eac26674f95fad651183a2e72a286fb86692e288551ff65605", + "bytes": 3024884, + "role": "historical_spatial_request_and_result", + "status": "present_digest_recorded" + }, + { + "id": "hi_diffusivity_05_raw", + "root": "archive", + "path": "results/CaladoRepro/DenseIonMatrixV1/Diffusivity/Ratio05.json", + "sha256": "58ccc62de76e2ec321458a110959256c8ff28f94c3501d5157e61befd8fd1533", + "bytes": 3021911, + "role": "historical_spatial_request_and_result", + "status": "present_digest_recorded" + }, + { + "id": "hi_diffusivity_06_raw", + "root": "archive", + "path": "results/CaladoRepro/DenseIonMatrixV1/Diffusivity/Ratio06.json", + "sha256": "85d6c793ebcaf8fd460daf24c27c538ab123dbe25225b432a49281a23c78084b", + "bytes": 3022159, + "role": "historical_spatial_request_and_result", + "status": "present_digest_recorded" + }, + { + "id": "hi_diffusivity_07_raw", + "root": "archive", + "path": "results/CaladoRepro/DenseIonMatrixV1/Diffusivity/Ratio07.json", + "sha256": "b769ee625f2fbcc2d19b721895eddbde561fef7dbcd7c46c9500e6848efc566d", + "bytes": 3022849, + "role": "historical_spatial_request_and_result", + "status": "present_digest_recorded" + }, + { + "id": "hi_diffusivity_08_raw", + "root": "archive", + "path": "results/CaladoRepro/DenseIonMatrixV1/Diffusivity/Ratio08.json", + "sha256": "d233795a7bbdeba2e18eb167cb445092f1cb100d19ef5ac0c42cda1cb5323b77", + "bytes": 3027612, + "role": "historical_spatial_request_and_result", + "status": "present_digest_recorded" + }, + { + "id": "hi_diffusivity_09_raw", + "root": "archive", + "path": "results/CaladoRepro/DenseIonMatrixV1/Diffusivity/Ratio09.json", + "sha256": "7b673d798bb9306f24fbf01ed2a1aa713ac9b958eaea3ed8b1a4a7d61373a82e", + "bytes": 3031415, + "role": "historical_spatial_request_and_result", + "status": "present_digest_recorded" + }, + { + "id": "hi_diffusivity_10_raw", + "root": "archive", + "path": "results/CaladoRepro/DenseIonMatrixV1/Diffusivity/Ratio10.json", + "sha256": "96dd30c4f488bcfe36c8b34ca2e8e3ca144688cb154468d440f9c4835d3fc25d", + "bytes": 3031500, + "role": "historical_spatial_request_and_result", + "status": "present_digest_recorded" + }, + { + "id": "hi_diffusivity_11_raw", + "root": "archive", + "path": "results/CaladoRepro/DenseIonMatrixV1/Diffusivity/Ratio11.json", + "sha256": "a43f6165eaa9d72209f0415580853bc3bb84ca5e80339fde0f9f5646d4f3d6c3", + "bytes": 3032168, + "role": "historical_spatial_request_and_result", + "status": "present_digest_recorded" + }, + { + "id": "hi_diffusivity_12_raw", + "root": "archive", + "path": "results/CaladoRepro/DenseIonMatrixV1/Diffusivity/Ratio12.json", + "sha256": "f3e3b3099a8c19f549cd763aee6600f95d497a0a29532dd27e31fe6fcf817a6f", + "bytes": 3032255, + "role": "historical_spatial_request_and_result", + "status": "present_digest_recorded" + }, + { + "id": "hi_diffusivity_13_raw", + "root": "archive", + "path": "results/CaladoRepro/DenseIonMatrixV1/Diffusivity/Ratio13.json", + "sha256": "d045bf209c9d5ffb93247d9cfea0532f5051335d10b41e7d678009f8e34cc573", + "bytes": 3032538, + "role": "historical_spatial_request_and_result", + "status": "present_digest_recorded" + }, + { + "id": "hi_diffusivity_14_raw", + "root": "archive", + "path": "results/CaladoRepro/DenseIonMatrixV1/Diffusivity/Ratio14.json", + "sha256": "5bc02275cb3d8acf59d5b9984a21b1741a58eb9b99b9d71ccb1756b5d42719e9", + "bytes": 3037541, + "role": "historical_spatial_request_and_result", + "status": "present_digest_recorded" + }, + { + "id": "hi_diffusivity_15_raw", + "root": "archive", + "path": "results/CaladoRepro/DenseIonMatrixV1/Diffusivity/Ratio15.json", + "sha256": "265bda6967191186a789dca5a55504e69647f36b303785433d19ab75c9adeef3", + "bytes": 3036879, + "role": "historical_spatial_request_and_result", + "status": "present_digest_recorded" + }, + { + "id": "hi_diffusivity_16_raw", + "root": "archive", + "path": "results/CaladoRepro/DenseIonMatrixV1/Diffusivity/Ratio16.json", + "sha256": "8ecc2cdd93b77b8d5798ffac597eb4b12063940805f1f0d0ab961ec381515920", + "bytes": 3037760, + "role": "historical_spatial_request_and_result", + "status": "present_digest_recorded" + }, + { + "id": "hi_diffusivity_17_raw", + "root": "archive", + "path": "results/CaladoRepro/DenseIonMatrixV1/Diffusivity/Ratio17.json", + "sha256": "a4c8018277e8f2610d4d26259a490a468bf18e8ac0599f771e41c7b230da60a5", + "bytes": 3037434, + "role": "historical_spatial_request_and_result", + "status": "present_digest_recorded" + }, + { + "id": "hi_diffusivity_18_raw", + "root": "archive", + "path": "results/CaladoRepro/DenseIonMatrixV1/Diffusivity/Ratio18.json", + "sha256": "779588e7f64d559e7ef3a24fd1abf615adbe82a76ec79cff3d126bc850aa66f5", + "bytes": 3038314, + "role": "historical_spatial_request_and_result", + "status": "present_digest_recorded" + }, + { + "id": "hi_diffusivity_19_raw", + "root": "archive", + "path": "results/CaladoRepro/DenseIonMatrixV1/Diffusivity/Ratio19.json", + "sha256": "d4044bdaac14667cfcc0e88bc046d0c4b18feac629007757152f2789f9234f86", + "bytes": 3038025, + "role": "historical_spatial_request_and_result", + "status": "present_digest_recorded" + }, + { + "id": "hi_diffusivity_20_raw", + "root": "archive", + "path": "results/CaladoRepro/DenseIonMatrixV1/Diffusivity/Ratio20.json", + "sha256": "b334f3333c51f9c850462cd1fb72cb7e536c08850ab28bd8c0a8cdd803a4be99", + "bytes": 3038047, + "role": "historical_spatial_request_and_result", + "status": "present_digest_recorded" + }, + { + "id": "hi_density_00_raw", + "root": "archive", + "path": "results/CaladoRepro/DenseIonMatrixV1/Density/Ratio00.json", + "sha256": "b5c0685f6e6ea3d03eea7ebcb3d43e4d2d4c455be8bf53dbfcf54461109a5cd9", + "bytes": 2940764, + "role": "historical_spatial_request_and_result", + "status": "present_digest_recorded" + }, + { + "id": "hi_density_01_raw", + "root": "archive", + "path": "results/CaladoRepro/DenseIonMatrixV1/Density/Ratio01.json", + "sha256": "8df6f5c60e8c789d5daa604220046c8ac4c7efb9111b16ac4f932d505a6cb275", + "bytes": 3018855, + "role": "historical_spatial_request_and_result", + "status": "present_digest_recorded" + }, + { + "id": "hi_density_02_raw", + "root": "archive", + "path": "results/CaladoRepro/DenseIonMatrixV1/Density/Ratio02.json", + "sha256": "f51a8d189cab989b5ed158b6950d9d01fd53b9b415ba393757cccad7cf609e35", + "bytes": 3020819, + "role": "historical_spatial_request_and_result", + "status": "present_digest_recorded" + }, + { + "id": "hi_density_03_raw", + "root": "archive", + "path": "results/CaladoRepro/DenseIonMatrixV1/Density/Ratio03.json", + "sha256": "50c197461dc4f6b343b407c9e1e92489c06fb0194b13d63f8a2b5418e39882fa", + "bytes": 3025250, + "role": "historical_spatial_request_and_result", + "status": "present_digest_recorded" + }, + { + "id": "hi_density_04_raw", + "root": "archive", + "path": "results/CaladoRepro/DenseIonMatrixV1/Density/Ratio04.json", + "sha256": "0f38e0f31f751dc1b98ea3577b585e9819ad565a7aa3d986abc215b1b47eac3f", + "bytes": 3021423, + "role": "historical_spatial_request_and_result", + "status": "present_digest_recorded" + }, + { + "id": "hi_density_05_raw", + "root": "archive", + "path": "results/CaladoRepro/DenseIonMatrixV1/Density/Ratio05.json", + "sha256": "2c0a8c848d065861ffe2bf0b90693001b0466ec00ae1576ed9929293cc328dec", + "bytes": 3020041, + "role": "historical_spatial_request_and_result", + "status": "present_digest_recorded" + }, + { + "id": "hi_density_06_raw", + "root": "archive", + "path": "results/CaladoRepro/DenseIonMatrixV1/Density/Ratio06.json", + "sha256": "aef3c2d9ccef834490ac67bbd29b09783a472ebeef70ee39c381e4a64c7ba95f", + "bytes": 3020105, + "role": "historical_spatial_request_and_result", + "status": "present_digest_recorded" + }, + { + "id": "hi_density_07_raw", + "root": "archive", + "path": "results/CaladoRepro/DenseIonMatrixV1/Density/Ratio07.json", + "sha256": "97ecaa6d0dc8fce7f52fa1817d926fda5350da68946bd00b39dd66759b8edecc", + "bytes": 3025012, + "role": "historical_spatial_request_and_result", + "status": "present_digest_recorded" + }, + { + "id": "hi_density_08_raw", + "root": "archive", + "path": "results/CaladoRepro/DenseIonMatrixV1/Density/Ratio08.json", + "sha256": "b899accbba0bbd0b04a49fd088b3b5ab18333fbee609d5bd5530f9e6db298f40", + "bytes": 3030319, + "role": "historical_spatial_request_and_result", + "status": "present_digest_recorded" + }, + { + "id": "hi_density_09_raw", + "root": "archive", + "path": "results/CaladoRepro/DenseIonMatrixV1/Density/Ratio09.json", + "sha256": "b9b89a83d7458883df8b31412f29f2c6b9befb0eaf8bddc0299eb21ae0d304da", + "bytes": 3030393, + "role": "historical_spatial_request_and_result", + "status": "present_digest_recorded" + }, + { + "id": "hi_density_10_raw", + "root": "archive", + "path": "results/CaladoRepro/DenseIonMatrixV1/Density/Ratio10.json", + "sha256": "6417f9e85a745569bffce770ff2a1ad93f059e489e879b29d067ace4849bea97", + "bytes": 3031489, + "role": "historical_spatial_request_and_result", + "status": "present_digest_recorded" + }, + { + "id": "hi_density_11_raw", + "root": "archive", + "path": "results/CaladoRepro/DenseIonMatrixV1/Density/Ratio11.json", + "sha256": "1495b017a6a0d5a6acad2781fe0230412ac68ccb5bb1fd645961c7c0dcd205e0", + "bytes": 3033439, + "role": "historical_spatial_request_and_result", + "status": "present_digest_recorded" + }, + { + "id": "hi_density_12_raw", + "root": "archive", + "path": "results/CaladoRepro/DenseIonMatrixV1/Density/Ratio12.json", + "sha256": "be51edd61127a2e648f1c08d0bf1d82d484f485e6ee0b030d6dbc2a3990a2c0d", + "bytes": 3034006, + "role": "historical_spatial_request_and_result", + "status": "present_digest_recorded" + }, + { + "id": "hi_density_13_raw", + "root": "archive", + "path": "results/CaladoRepro/DenseIonMatrixV1/Density/Ratio13.json", + "sha256": "2c936503e176354007bc752efb1c12e178c88c837ef1b1c4d5b1347dfeabbe51", + "bytes": 3034249, + "role": "historical_spatial_request_and_result", + "status": "present_digest_recorded" + }, + { + "id": "hi_density_14_raw", + "root": "archive", + "path": "results/CaladoRepro/DenseIonMatrixV1/Density/Ratio14.json", + "sha256": "7bdd15fbf6660f670e94ee19b6de069e6dbe61a9f1bc726f29d2e331fbbf5bf7", + "bytes": 3035142, + "role": "historical_spatial_request_and_result", + "status": "present_digest_recorded" + }, + { + "id": "hi_density_15_raw", + "root": "archive", + "path": "results/CaladoRepro/DenseIonMatrixV1/Density/Ratio15.json", + "sha256": "f30631d5462f6b04cc48a19ef163050bef8fd0edaafd78207e86ec329174babf", + "bytes": 3039333, + "role": "historical_spatial_request_and_result", + "status": "present_digest_recorded" + }, + { + "id": "hi_density_16_raw", + "root": "archive", + "path": "results/CaladoRepro/DenseIonMatrixV1/Density/Ratio16.json", + "sha256": "ca2fd1440d8562c567b845c7ba7f61d40c292e20293eac3477a4419fe871a830", + "bytes": 3040018, + "role": "historical_spatial_request_and_result", + "status": "present_digest_recorded" + }, + { + "id": "hi_density_17_raw", + "root": "archive", + "path": "results/CaladoRepro/DenseIonMatrixV1/Density/Ratio17.json", + "sha256": "8599e2a8dd8c478222547fbb9dc8a7c6f59112033025c71de5577371c4c10030", + "bytes": 3039686, + "role": "historical_spatial_request_and_result", + "status": "present_digest_recorded" + }, + { + "id": "hi_density_18_raw", + "root": "archive", + "path": "results/CaladoRepro/DenseIonMatrixV1/Density/Ratio18.json", + "sha256": "e95a1b3b7e987c56f2e142483958a838bcccae1acdf7c3637c664f2b1361b913", + "bytes": 3040988, + "role": "historical_spatial_request_and_result", + "status": "present_digest_recorded" + }, + { + "id": "hi_density_19_raw", + "root": "archive", + "path": "results/CaladoRepro/DenseIonMatrixV1/Density/Ratio19.json", + "sha256": "ccb3f2059a26d37e8c9ad26a02abdc6f2be7d31ceb313eecbd7448b6719c27c3", + "bytes": 3040120, + "role": "historical_spatial_request_and_result", + "status": "present_digest_recorded" + }, + { + "id": "hi_density_20_raw", + "root": "archive", + "path": "results/CaladoRepro/DenseIonMatrixV1/Density/Ratio20.json", + "sha256": "550dbfc74f5d0d649ecdd5ba0199114567a7e16d1dc5beb2a1bd85d9e25fd7f6", + "bytes": 3039606, + "role": "historical_spatial_request_and_result", + "status": "present_digest_recorded" + }, + { + "id": "hi_rate_20_raw", + "root": "archive", + "path": "results/CaladoRepro/UiProtocol/WaveformRate0p02SpatialFrontend.json", + "sha256": "b842de157e8422b01388517cc0f9e0155bd9f8f5648864c5371e946f984a05c6", + "bytes": 2959266, + "role": "historical_spatial_request_and_result", + "status": "present_digest_recorded" + }, + { + "id": "hi_rate_40_raw", + "root": "archive", + "path": "results/CaladoRepro/UiProtocol/WaveformNominalSpatialFrontend.json", + "sha256": "dc3fb2c7bf2de13baf809f29663fe9e362adbd9cd066fc3891d8e1c82d6a51b4", + "bytes": 2957462, + "role": "historical_spatial_request_and_result", + "status": "present_digest_recorded" + }, + { + "id": "hi_rate_80_raw", + "root": "archive", + "path": "results/CaladoRepro/UiProtocol/WaveformRate0p08SpatialFrontend.json", + "sha256": "bd26075c8b0eb20e8ddcac2af41549c82c1a601bfb49afe7263f1c539ffae3a8", + "bytes": 2956658, + "role": "historical_spatial_request_and_result", + "status": "present_digest_recorded" + }, + { + "id": "hi_code_1", + "root": "repository", + "path": "perovskite-sim/backend/main.py", + "sha256": "7dd1292f6f34f0f065a50686802c20a8484edcc9e4a7d98287799c076f9da01f", + "bytes": 157026, + "role": "current_file_compared_to_historical_code_pin", + "status": "present_digest_recorded" + }, + { + "id": "hi_code_2", + "root": "repository", + "path": "perovskite-sim/backend/jobs.py", + "sha256": "73d6076c07b51395c75e47d96c546790595aa256cf822efc420aa789960d9691", + "bytes": 4625, + "role": "current_file_compared_to_historical_code_pin", + "status": "present_digest_recorded" + }, + { + "id": "hi_code_3", + "root": "repository", + "path": "perovskite-sim/perovskite_sim/experiments/waveform_jv.py", + "sha256": "cac7648c136190db6bca65697cdb3200ab7b57e81787736a67d706cda333d1e7", + "bytes": 14117, + "role": "current_file_compared_to_historical_code_pin", + "status": "present_digest_recorded" + }, + { + "id": "hi_code_4", + "root": "repository", + "path": "perovskite-sim/perovskite_sim/experiments/waveform_jacobian.py", + "sha256": "dbf0f40dc191c75a35d01575c27db0e46daa64af522a6635b4218327c4909226", + "bytes": 6824, + "role": "current_file_compared_to_historical_code_pin", + "status": "present_digest_recorded" + }, + { + "id": "hi_code_5", + "root": "repository", + "path": "perovskite-sim/perovskite_sim/solver/mol.py", + "sha256": "1c02ff41356cfaf75245e3e9e3a0101064d43a766e9e416053ea1e75ef54b61a", + "bytes": 191794, + "role": "current_file_compared_to_historical_code_pin", + "status": "present_digest_recorded" + }, + { + "id": "hi_peak_diffusivity-n60-p441", + "root": "archive", + "path": "results/CaladoRepro/DenseIonMatrixV1/PeakChecks/DiffusivityN60P441.json", + "sha256": "4191676193b50e74fa2f23ebc761eed6869d0d2eed3aecd433a1545f903e4ec3", + "bytes": 11967125, + "role": "existing_local_peak_refinement_only", + "status": "present_digest_recorded" + }, + { + "id": "hi_peak_summary_diffusivity-n60-p441", + "root": "archive", + "path": "results/CaladoRepro/DenseIonMatrixV1/PeakChecks/DiffusivityN60P441.summary.json", + "sha256": "eee3626c4c85f47809e96aeeadce486e75b00c7c36dba44f4d91943782efb17e", + "bytes": 46818, + "role": "historical_peak_summary_with_original_raw_pin", + "status": "present_digest_recorded" + }, + { + "id": "hi_peak_diffusivity-n120-p441", + "root": "archive", + "path": "results/CaladoRepro/DenseIonMatrixV1/PeakChecks/DiffusivityN120P441.json", + "sha256": "4e55ee11c221979095a88c2fa8c7f115071307f6fe87452b7eff7c9bd4e43b0e", + "bytes": 23631874, + "role": "existing_local_peak_refinement_only", + "status": "present_digest_recorded" + }, + { + "id": "hi_peak_summary_diffusivity-n120-p441", + "root": "archive", + "path": "results/CaladoRepro/DenseIonMatrixV1/PeakChecks/DiffusivityN120P441.summary.json", + "sha256": "c459783fffd772603aef0ba966fa31a570c7db3e3289097f8ba50ca27e408fbe", + "bytes": 46821, + "role": "historical_peak_summary_with_original_raw_pin", + "status": "present_digest_recorded" + }, + { + "id": "hi_peak_density-n60-p441", + "root": "archive", + "path": "results/CaladoRepro/DenseIonMatrixV1/PeakChecks/DensityN60P441.json", + "sha256": "f058c5899026f17cb2ee8a6a69cab40aad4bf5f0006fadd78236b3f1d6b21873", + "bytes": 11971198, + "role": "existing_local_peak_refinement_only", + "status": "present_digest_recorded" + }, + { + "id": "hi_peak_summary_density-n60-p441", + "root": "archive", + "path": "results/CaladoRepro/DenseIonMatrixV1/PeakChecks/DensityN60P441.summary.json", + "sha256": "8da305fd0f2db01a5f6e7e55cd5bedde8b38e42fef19c9850f92589dc7b77b71", + "bytes": 46820, + "role": "historical_peak_summary_with_original_raw_pin", + "status": "present_digest_recorded" + }, + { + "id": "hi_peak_density-n120-p441", + "root": "archive", + "path": "results/CaladoRepro/DenseIonMatrixV1/PeakChecks/DensityN120P441.json", + "sha256": "6e14a44c440d88f76ffbfb5e05f9ba0cb318b9ceee1546f5b6f80cbcf3a6d048", + "bytes": 23643295, + "role": "existing_local_peak_refinement_only", + "status": "present_digest_recorded" + }, + { + "id": "hi_peak_summary_density-n120-p441", + "root": "archive", + "path": "results/CaladoRepro/DenseIonMatrixV1/PeakChecks/DensityN120P441.summary.json", + "sha256": "12ca31b05c75ab2af22c6c7501d707926674d4d699ee88676dcbcaaaae4f64f8", + "bytes": 46847, + "role": "historical_peak_summary_with_original_raw_pin", + "status": "present_digest_recorded" + }, + { + "id": "hi_peak_provenance_diagnostic", + "root": "archive", + "path": "test/ArchitectureRefactor/Stage00/PeakProvenanceV1.json", + "sha256": "5b075ce4b069cf7533d533337deef3bbecf3350840ae0bdb0cd3e7c87355e83b", + "bytes": 9869, + "role": "bounded_hash_verified_path_only_provenance_recovery", + "status": "present_digest_recorded" + }, + { + "id": "scaps_manual", + "root": "archive", + "path": "reference/ScapsManual.pdf", + "sha256": "30a06527672e5f13cb506e62ab8f8602eca7c7db06f6be350d88ccdd850727c1", + "bytes": 5137665, + "role": "manual_general_semantics_not_original_device_settings", + "status": "present_digest_recorded", + "pages": 111 + }, + { + "id": "scaps_table_provenance", + "root": "archive", + "path": "test/ArchitectureRefactor/Stage00/ScapsTableProvenanceV1.json", + "sha256": "8a822fbfaa373629488342a971a7188d3a490fb6022e943dd587f030ec4734db", + "bytes": 494761, + "role": "bounded_raw_cell_precision_and_reconstruction_alias_diagnostics", + "status": "present_digest_recorded" + }, + { + "id": "scaps_comparison_contract", + "root": "repository", + "path": "reproducibility/ScapsComparisonContractV1.json", + "sha256": "5beaf9096866cd98896d0300425e107aa9323dfc3e7a1fd8d8ca5d1ceed2e3b5", + "bytes": 227923, + "role": "prospective_external_reported_table_standards", + "status": "frozen_standard_reference_qualification_pending" + }, + { + "id": "hi_reference_contract", + "root": "repository", + "path": "reproducibility/HysteresisReferenceContractV1.json", + "sha256": "bec9fff7f5194a81492b9697f354d460413293a84aa66667c97cf5371adf8d67", + "bytes": 43782, + "role": "frozen_prospective_HI_thresholds_and_reference_plan", + "status": "frozen_standard_reference_qualification_pending" + }, + { + "id": "hi_power_precondition", + "root": "archive", + "path": "test/ArchitectureRefactor/Stage00/HIPowerPreconditionV1.py", + "sha256": "90c7ed2722448874968361f1fd07fe1dfb5bb81b5e8ff582dc74483891bda6ff", + "bytes": 4077, + "role": "required_executable_reference_power_budget", + "status": "present_digest_recorded" + }, + { + "id": "hi_independent_review", + "root": "archive", + "path": "test/ArchitectureRefactor/Stage00/HIIndependentReviewV1.json", + "sha256": "548fe81a5ebea29c518a21df2dfb08aa7365030853d501f4882159c0deeb40a0", + "bytes": 7065, + "role": "independent_max_review_of_corrected_HI_plan", + "status": "present_digest_recorded" + }, + { + "id": "performance_cases", + "root": "repository", + "path": "reproducibility/PerformanceCasesV1.json", + "sha256": "c8037703f7f946669b4571d9a1ec3e4adf7960cb4f7b2674a19ab8891542870a", + "bytes": 267476, + "role": "five_prospective_performance_input_and_measurement_cases", + "status": "frozen_prospective_spec_baseline_qualification_pending" + }, + { + "id": "performance_input_resolution", + "root": "archive", + "path": "test/ArchitectureRefactor/Stage00/PerformanceInputResolutionV1.json", + "sha256": "bc52e014dcb95d0e159866b974f6ddb56f91903b001ae3b7f06f342ae4af9053", + "bytes": 194475, + "role": "guarded_pure_configuration_grid_protocol_resolution", + "status": "present_digest_recorded" + } + ], + "scaps": { + "scope": "11 distinct single-parameter groups plus Nt x Et and Nt x CBO at PVK/ETL", + "coverage": { + "groups": 13, + "single_parameter_groups": 11, + "two_parameter_groups": 2, + "expected_points": 261, + "numeric_points": 247, + "reference_missing_points": 14, + "fixture_numeric_rows_verified": 241, + "additional_Nd_PVK_rows_from_workbook": 6 + }, + "metric_units": { + "Voc_V": "V", + "Jsc_mA_cm2": "mA/cm^2", + "FF_percent": "%", + "PCE_percent": "%" + }, + "base": { + "source_id": "scaps_pdf", + "page": 2, + "values": { + "Voc_V": 1.1676, + "Jsc_mA_cm2": 26.281994, + "FF_percent": 86.99, + "PCE_percent": 26.69 + }, + "raw_device_name": "def/PVK-xy.scaps" + }, + "lineage": { + "original_fixture_source_xlsx": "docs/superpowers/references/ScapsParams.xlsx", + "original_fixture_source_pdf": "docs/superpowers/references/scaps_1d_simulation_report.pdf", + "resolved_workbook_source_id": "scaps_workbook", + "resolved_pdf_source_id": "scaps_pdf", + "workbook_repository_bytes_equal_archive": true, + "extractor_gap": "13 workbook sheets exist; old extractor/fixture contain 10 singles plus 2 pairs and omit all 6 Nd_PVK values" + }, + "coordinate_policy": { + "CBO": "Delta_E_C = chi_PVK - chi_ETL; chi_PVK=3.94 eV; base=-0.16 eV", + "single_CBO_canonical_column": "Workbook B scan_value, also the PDF page 3 Delta_E_C labels", + "derived_column_preserved": "Workbook D delta_E_C_eV has floating arithmetic offsets and is retained per point; the old fixture uses D", + "comparison": "Join named physical coordinates; explicit source-column mapping is required before exact comparison; never array position", + "legacy_pair_axis_name_aliases": { + "Delta_E_C": "CBO", + "Et": "Et", + "Nt": "Nt" + } + }, + "groups": [ + { + "id": "scaps_cbo", + "kind": "curve", + "location": "ETL/PVK", + "axes": [ + { + "name": "CBO", + "unit_as_reported": "eV" + } + ], + "source_id": "scaps_workbook", + "worksheet": "CHI_ETL", + "coordinate_columns": [ + "B" + ], + "metric_columns": { + "Voc_V": "F", + "Jsc_mA_cm2": "H", + "FF_percent": "G", + "PCE_percent": "E" + }, + "pdf_source_id": "scaps_pdf", + "pdf_page": 3, + "fixture_key": "CHI_ETL", + "expected_points": 16, + "numeric_points": 14, + "status": "source_inventory_only", + "acceptance_gate_id": "scaps_external_pending", + "points": [ + { + "coordinates": [ + -1 + ], + "worksheet_row": 2, + "status": "ok", + "values": { + "Voc_V": 0.332353, + "Jsc_mA_cm2": 26.30453758, + "FF_percent": 67.1265, + "PCE_percent": 5.8685 + }, + "original_delta_E_C_eV_cell": -0.999999999999999 + }, + { + "coordinates": [ + -0.75 + ], + "worksheet_row": 3, + "status": "ok", + "values": { + "Voc_V": 0.580953, + "Jsc_mA_cm2": 26.28893747, + "FF_percent": 77.4679, + "PCE_percent": 11.8314 + }, + "original_delta_E_C_eV_cell": -0.749999999999999 + }, + { + "coordinates": [ + -0.5 + ], + "worksheet_row": 4, + "status": "ok", + "values": { + "Voc_V": 0.83085, + "Jsc_mA_cm2": 26.28440831, + "FF_percent": 82.791, + "PCE_percent": 18.0802 + }, + "original_delta_E_C_eV_cell": -0.499999999999999 + }, + { + "coordinates": [ + -0.25 + ], + "worksheet_row": 5, + "status": "ok", + "values": { + "Voc_V": 1.080493, + "Jsc_mA_cm2": 26.28239324, + "FF_percent": 85.9878, + "PCE_percent": 24.4188 + }, + "original_delta_E_C_eV_cell": -0.249999999999999 + }, + { + "coordinates": [ + -0.2 + ], + "worksheet_row": 6, + "status": "ok", + "values": { + "Voc_V": 1.129308, + "Jsc_mA_cm2": 26.28208431, + "FF_percent": 86.5152, + "PCE_percent": 25.6782 + }, + "original_delta_E_C_eV_cell": -0.199999999999999 + }, + { + "coordinates": [ + -0.16 + ], + "worksheet_row": 7, + "status": "ok", + "values": { + "Voc_V": 1.16755, + "Jsc_mA_cm2": 26.28199376, + "FF_percent": 86.9876, + "PCE_percent": 26.6926 + }, + "original_delta_E_C_eV_cell": -0.159999999999999 + }, + { + "coordinates": [ + -0.1 + ], + "worksheet_row": 8, + "status": "ok", + "values": { + "Voc_V": 1.217203, + "Jsc_mA_cm2": 26.28153965, + "FF_percent": 88.0108, + "PCE_percent": 28.1546 + }, + "original_delta_E_C_eV_cell": -0.1 + }, + { + "coordinates": [ + -0.05 + ], + "worksheet_row": 9, + "status": "ok", + "values": { + "Voc_V": 1.240043, + "Jsc_mA_cm2": 26.28156065, + "FF_percent": 89.4021, + "PCE_percent": 29.1364 + }, + "original_delta_E_C_eV_cell": -0.0499999999999998 + }, + { + "coordinates": [ + 0 + ], + "worksheet_row": 10, + "status": "ok", + "values": { + "Voc_V": 1.247696, + "Jsc_mA_cm2": 26.28148444, + "FF_percent": 90.424, + "PCE_percent": 29.6512 + }, + "original_delta_E_C_eV_cell": 0 + }, + { + "coordinates": [ + 0.1 + ], + "worksheet_row": 11, + "status": "ok", + "values": { + "Voc_V": 1.250391, + "Jsc_mA_cm2": 26.28116069, + "FF_percent": 90.7313, + "PCE_percent": 29.8159 + }, + "original_delta_E_C_eV_cell": 0.1 + }, + { + "coordinates": [ + 0.2 + ], + "worksheet_row": 12, + "status": "ok", + "values": { + "Voc_V": 1.250158, + "Jsc_mA_cm2": 26.28140832, + "FF_percent": 90.7096, + "PCE_percent": 29.8035 + }, + "original_delta_E_C_eV_cell": 0.2 + }, + { + "coordinates": [ + 0.3 + ], + "worksheet_row": 13, + "status": "ok", + "values": { + "Voc_V": 1.249937, + "Jsc_mA_cm2": 26.28168179, + "FF_percent": 90.4411, + "PCE_percent": 29.7103 + }, + "original_delta_E_C_eV_cell": 0.299999999999999 + }, + { + "coordinates": [ + 0.4 + ], + "worksheet_row": 14, + "status": "ok", + "values": { + "Voc_V": 1.248839, + "Jsc_mA_cm2": 26.28238752, + "FF_percent": 65.1522, + "PCE_percent": 21.3846 + }, + "original_delta_E_C_eV_cell": 0.399999999999999 + }, + { + "coordinates": [ + 0.5 + ], + "worksheet_row": 15, + "status": "ok", + "values": { + "Voc_V": 1.228325, + "Jsc_mA_cm2": 2.45338907, + "FF_percent": 23.7528, + "PCE_percent": 0.7158 + }, + "original_delta_E_C_eV_cell": 0.5 + }, + { + "coordinates": [ + 0.6 + ], + "worksheet_row": 16, + "status": "reference_missing", + "values": { + "Voc_V": null, + "Jsc_mA_cm2": null, + "FF_percent": null, + "PCE_percent": null + }, + "original_delta_E_C_eV_cell": 0.6, + "reason": "source_summary_not_parsed", + "solver_execution_status": "unknown" + }, + { + "coordinates": [ + 0.7 + ], + "worksheet_row": 17, + "status": "reference_missing", + "values": { + "Voc_V": null, + "Jsc_mA_cm2": null, + "FF_percent": null, + "PCE_percent": null + }, + "original_delta_E_C_eV_cell": 0.699999999999999, + "reason": "source_summary_not_parsed", + "solver_execution_status": "unknown" + } + ] + }, + { + "id": "scaps_etl_donor", + "kind": "curve", + "location": "ETL", + "axes": [ + { + "name": "N_D", + "unit_as_reported": "cm^-3" + } + ], + "source_id": "scaps_workbook", + "worksheet": "Nd_ETL", + "coordinate_columns": [ + "B" + ], + "metric_columns": { + "Voc_V": "E", + "Jsc_mA_cm2": "G", + "FF_percent": "F", + "PCE_percent": "D" + }, + "pdf_source_id": "scaps_pdf", + "pdf_page": 5, + "fixture_key": "Nd_ETL", + "expected_points": 11, + "numeric_points": 11, + "status": "source_inventory_only", + "acceptance_gate_id": "scaps_external_pending", + "points": [ + { + "coordinates": [ + 10000000000 + ], + "worksheet_row": 2, + "status": "ok", + "values": { + "Voc_V": 1.100196, + "Jsc_mA_cm2": 26.29049969, + "FF_percent": 60.8285, + "PCE_percent": 17.5945 + } + }, + { + "coordinates": [ + 100000000000 + ], + "worksheet_row": 3, + "status": "ok", + "values": { + "Voc_V": 1.12464, + "Jsc_mA_cm2": 26.28959355, + "FF_percent": 64.3912, + "PCE_percent": 19.0381 + } + }, + { + "coordinates": [ + 1000000000000 + ], + "worksheet_row": 4, + "status": "ok", + "values": { + "Voc_V": 1.132448, + "Jsc_mA_cm2": 26.28887261, + "FF_percent": 68.8235, + "PCE_percent": 20.4893 + } + }, + { + "coordinates": [ + 10000000000000 + ], + "worksheet_row": 5, + "status": "ok", + "values": { + "Voc_V": 1.137615, + "Jsc_mA_cm2": 26.28758643, + "FF_percent": 73.3378, + "PCE_percent": 21.9318 + } + }, + { + "coordinates": [ + 100000000000000 + ], + "worksheet_row": 6, + "status": "ok", + "values": { + "Voc_V": 1.141248, + "Jsc_mA_cm2": 26.2870558, + "FF_percent": 77.5039, + "PCE_percent": 23.2512 + } + }, + { + "coordinates": [ + 1000000000000000 + ], + "worksheet_row": 7, + "status": "ok", + "values": { + "Voc_V": 1.143994, + "Jsc_mA_cm2": 26.28631476, + "FF_percent": 80.3336, + "PCE_percent": 24.1574 + } + }, + { + "coordinates": [ + 1e+16 + ], + "worksheet_row": 8, + "status": "ok", + "values": { + "Voc_V": 1.14637, + "Jsc_mA_cm2": 26.28571211, + "FF_percent": 82.1615, + "PCE_percent": 24.7579 + } + }, + { + "coordinates": [ + 1e+17 + ], + "worksheet_row": 9, + "status": "ok", + "values": { + "Voc_V": 1.151017, + "Jsc_mA_cm2": 26.28415867, + "FF_percent": 84.3099, + "PCE_percent": 25.5067 + } + }, + { + "coordinates": [ + 1e+18 + ], + "worksheet_row": 10, + "status": "ok", + "values": { + "Voc_V": 1.16755, + "Jsc_mA_cm2": 26.28199376, + "FF_percent": 86.9876, + "PCE_percent": 26.6926 + } + }, + { + "coordinates": [ + 1e+19 + ], + "worksheet_row": 11, + "status": "ok", + "values": { + "Voc_V": 1.202403, + "Jsc_mA_cm2": 26.28131988, + "FF_percent": 88.9143, + "PCE_percent": 28.0976 + } + }, + { + "coordinates": [ + 1e+20 + ], + "worksheet_row": 12, + "status": "ok", + "values": { + "Voc_V": 1.237259, + "Jsc_mA_cm2": 26.28120163, + "FF_percent": 90.063, + "PCE_percent": 29.2855 + } + } + ] + }, + { + "id": "scaps_pvk_donor", + "kind": "curve", + "location": "PVK", + "axes": [ + { + "name": "N_D", + "unit_as_reported": "cm^-3" + } + ], + "source_id": "scaps_workbook", + "worksheet": "Nd_PVK", + "coordinate_columns": [ + "B" + ], + "metric_columns": { + "Voc_V": "E", + "Jsc_mA_cm2": "G", + "FF_percent": "F", + "PCE_percent": "D" + }, + "pdf_source_id": "scaps_pdf", + "pdf_page": 6, + "fixture_key": null, + "expected_points": 6, + "numeric_points": 6, + "status": "source_inventory_only", + "acceptance_gate_id": "scaps_external_pending", + "points": [ + { + "coordinates": [ + 100000000 + ], + "worksheet_row": 2, + "status": "ok", + "values": { + "Voc_V": 1.16755, + "Jsc_mA_cm2": 26.282, + "FF_percent": 86.9875, + "PCE_percent": 26.6926 + } + }, + { + "coordinates": [ + 10000000000 + ], + "worksheet_row": 3, + "status": "ok", + "values": { + "Voc_V": 1.16755, + "Jsc_mA_cm2": 26.282, + "FF_percent": 86.9875, + "PCE_percent": 26.6926 + } + }, + { + "coordinates": [ + 1000000000000 + ], + "worksheet_row": 4, + "status": "ok", + "values": { + "Voc_V": 1.16755, + "Jsc_mA_cm2": 26.282, + "FF_percent": 86.9876, + "PCE_percent": 26.6926 + } + }, + { + "coordinates": [ + 100000000000000 + ], + "worksheet_row": 5, + "status": "ok", + "values": { + "Voc_V": 1.16758, + "Jsc_mA_cm2": 26.2818, + "FF_percent": 86.996, + "PCE_percent": 26.6957 + } + }, + { + "coordinates": [ + 1e+16 + ], + "worksheet_row": 6, + "status": "ok", + "values": { + "Voc_V": 1.17073, + "Jsc_mA_cm2": 26.2783, + "FF_percent": 87.3175, + "PCE_percent": 26.863 + } + }, + { + "coordinates": [ + 1e+18 + ], + "worksheet_row": 7, + "status": "ok", + "values": { + "Voc_V": 1.20157, + "Jsc_mA_cm2": 20.9425, + "FF_percent": 65.8337, + "PCE_percent": 16.5663 + } + } + ] + }, + { + "id": "scaps_nt_htl_pvk", + "kind": "curve", + "location": "HTL/PVK", + "axes": [ + { + "name": "Nt", + "unit_as_reported": "cm^-3" + } + ], + "source_id": "scaps_workbook", + "worksheet": "Nt_HTL PVK", + "coordinate_columns": [ + "B" + ], + "metric_columns": { + "Voc_V": "E", + "Jsc_mA_cm2": "G", + "FF_percent": "F", + "PCE_percent": "D" + }, + "pdf_source_id": "scaps_pdf", + "pdf_page": 8, + "fixture_key": "Nt_HTL PVK", + "expected_points": 7, + "numeric_points": 7, + "status": "source_inventory_only", + "acceptance_gate_id": "scaps_external_pending", + "points": [ + { + "coordinates": [ + 1000000000 + ], + "worksheet_row": 2, + "status": "ok", + "values": { + "Voc_V": 1.167556, + "Jsc_mA_cm2": 26.28199633, + "FF_percent": 86.9873, + "PCE_percent": 26.6927 + } + }, + { + "coordinates": [ + 10000000000 + ], + "worksheet_row": 3, + "status": "ok", + "values": { + "Voc_V": 1.167556, + "Jsc_mA_cm2": 26.28199631, + "FF_percent": 86.9873, + "PCE_percent": 26.6927 + } + }, + { + "coordinates": [ + 100000000000 + ], + "worksheet_row": 4, + "status": "ok", + "values": { + "Voc_V": 1.167555, + "Jsc_mA_cm2": 26.28199608, + "FF_percent": 86.9873, + "PCE_percent": 26.6927 + } + }, + { + "coordinates": [ + 1000000000000 + ], + "worksheet_row": 5, + "status": "ok", + "values": { + "Voc_V": 1.16755, + "Jsc_mA_cm2": 26.28199376, + "FF_percent": 86.9876, + "PCE_percent": 26.6926 + } + }, + { + "coordinates": [ + 10000000000000 + ], + "worksheet_row": 6, + "status": "ok", + "values": { + "Voc_V": 1.167495, + "Jsc_mA_cm2": 26.28197063, + "FF_percent": 86.9904, + "PCE_percent": 26.6922 + } + }, + { + "coordinates": [ + 100000000000000 + ], + "worksheet_row": 7, + "status": "ok", + "values": { + "Voc_V": 1.166958, + "Jsc_mA_cm2": 26.28173937, + "FF_percent": 87.018, + "PCE_percent": 26.6882 + } + }, + { + "coordinates": [ + 1000000000000000 + ], + "worksheet_row": 8, + "status": "ok", + "values": { + "Voc_V": 1.16235, + "Jsc_mA_cm2": 26.27943401, + "FF_percent": 87.2429, + "PCE_percent": 26.6491 + } + } + ] + }, + { + "id": "scaps_nt_pvk_cb", + "kind": "curve", + "location": "Perovskite-CB", + "axes": [ + { + "name": "Nt", + "unit_as_reported": "cm^-3" + } + ], + "source_id": "scaps_workbook", + "worksheet": "Nt_C_PVK", + "coordinate_columns": [ + "B" + ], + "metric_columns": { + "Voc_V": "E", + "Jsc_mA_cm2": "G", + "FF_percent": "F", + "PCE_percent": "D" + }, + "pdf_source_id": "scaps_pdf", + "pdf_page": 9, + "fixture_key": "Nt_C_PVK", + "expected_points": 7, + "numeric_points": 7, + "status": "source_inventory_only", + "acceptance_gate_id": "scaps_external_pending", + "points": [ + { + "coordinates": [ + 1000000000 + ], + "worksheet_row": 2, + "status": "ok", + "values": { + "Voc_V": 1.167649, + "Jsc_mA_cm2": 26.28199434, + "FF_percent": 86.9829, + "PCE_percent": 26.6934 + } + }, + { + "coordinates": [ + 10000000000 + ], + "worksheet_row": 3, + "status": "ok", + "values": { + "Voc_V": 1.167648, + "Jsc_mA_cm2": 26.28199434, + "FF_percent": 86.983, + "PCE_percent": 26.6934 + } + }, + { + "coordinates": [ + 100000000000 + ], + "worksheet_row": 4, + "status": "ok", + "values": { + "Voc_V": 1.167639, + "Jsc_mA_cm2": 26.28199429, + "FF_percent": 86.9834, + "PCE_percent": 26.6934 + } + }, + { + "coordinates": [ + 1000000000000 + ], + "worksheet_row": 5, + "status": "ok", + "values": { + "Voc_V": 1.16755, + "Jsc_mA_cm2": 26.28199376, + "FF_percent": 86.9876, + "PCE_percent": 26.6926 + } + }, + { + "coordinates": [ + 10000000000000 + ], + "worksheet_row": 6, + "status": "ok", + "values": { + "Voc_V": 1.166683, + "Jsc_mA_cm2": 26.28198853, + "FF_percent": 87.0283, + "PCE_percent": 26.6853 + } + }, + { + "coordinates": [ + 100000000000000 + ], + "worksheet_row": 7, + "status": "ok", + "values": { + "Voc_V": 1.159563, + "Jsc_mA_cm2": 26.2819362, + "FF_percent": 87.3396, + "PCE_percent": 26.6172 + } + }, + { + "coordinates": [ + 1000000000000000 + ], + "worksheet_row": 8, + "status": "ok", + "values": { + "Voc_V": 1.129075, + "Jsc_mA_cm2": 26.28141294, + "FF_percent": 88.0927, + "PCE_percent": 26.1403 + } + } + ] + }, + { + "id": "scaps_nt_pvk_vb", + "kind": "curve", + "location": "Perovskite-VB", + "axes": [ + { + "name": "Nt", + "unit_as_reported": "cm^-3" + } + ], + "source_id": "scaps_workbook", + "worksheet": "Nt_V_PVK", + "coordinate_columns": [ + "B" + ], + "metric_columns": { + "Voc_V": "E", + "Jsc_mA_cm2": "G", + "FF_percent": "F", + "PCE_percent": "D" + }, + "pdf_source_id": "scaps_pdf", + "pdf_page": 11, + "fixture_key": "Nt_V_PVK", + "expected_points": 7, + "numeric_points": 7, + "status": "source_inventory_only", + "acceptance_gate_id": "scaps_external_pending", + "points": [ + { + "coordinates": [ + 1000000000 + ], + "worksheet_row": 2, + "status": "ok", + "values": { + "Voc_V": 1.167564, + "Jsc_mA_cm2": 26.28199389, + "FF_percent": 86.9868, + "PCE_percent": 26.6927 + } + }, + { + "coordinates": [ + 10000000000 + ], + "worksheet_row": 3, + "status": "ok", + "values": { + "Voc_V": 1.167564, + "Jsc_mA_cm2": 26.28199389, + "FF_percent": 86.9869, + "PCE_percent": 26.6927 + } + }, + { + "coordinates": [ + 100000000000 + ], + "worksheet_row": 4, + "status": "ok", + "values": { + "Voc_V": 1.167563, + "Jsc_mA_cm2": 26.28199388, + "FF_percent": 86.9869, + "PCE_percent": 26.6927 + } + }, + { + "coordinates": [ + 1000000000000 + ], + "worksheet_row": 5, + "status": "ok", + "values": { + "Voc_V": 1.16755, + "Jsc_mA_cm2": 26.28199376, + "FF_percent": 86.9876, + "PCE_percent": 26.6926 + } + }, + { + "coordinates": [ + 10000000000000 + ], + "worksheet_row": 6, + "status": "ok", + "values": { + "Voc_V": 1.167422, + "Jsc_mA_cm2": 26.28199259, + "FF_percent": 86.9942, + "PCE_percent": 26.6917 + } + }, + { + "coordinates": [ + 100000000000000 + ], + "worksheet_row": 7, + "status": "ok", + "values": { + "Voc_V": 1.16619, + "Jsc_mA_cm2": 26.2819808, + "FF_percent": 87.0572, + "PCE_percent": 26.6829 + } + }, + { + "coordinates": [ + 1000000000000000 + ], + "worksheet_row": 8, + "status": "ok", + "values": { + "Voc_V": 1.156805, + "Jsc_mA_cm2": 26.28186293, + "FF_percent": 87.4982, + "PCE_percent": 26.6021 + } + } + ] + }, + { + "id": "scaps_nt_pvk_etl", + "kind": "curve", + "location": "PVK/ETL", + "axes": [ + { + "name": "Nt", + "unit_as_reported": "cm^-3" + } + ], + "source_id": "scaps_workbook", + "worksheet": "Nt_PVK ETL", + "coordinate_columns": [ + "B" + ], + "metric_columns": { + "Voc_V": "E", + "Jsc_mA_cm2": "G", + "FF_percent": "F", + "PCE_percent": "D" + }, + "pdf_source_id": "scaps_pdf", + "pdf_page": 12, + "fixture_key": "Nt_PVK ETL", + "expected_points": 7, + "numeric_points": 7, + "status": "source_inventory_only", + "acceptance_gate_id": "scaps_external_pending", + "points": [ + { + "coordinates": [ + 1000000000 + ], + "worksheet_row": 2, + "status": "ok", + "values": { + "Voc_V": 1.249473, + "Jsc_mA_cm2": 26.28199622, + "FF_percent": 90.7999, + "PCE_percent": 29.8175 + } + }, + { + "coordinates": [ + 10000000000 + ], + "worksheet_row": 3, + "status": "ok", + "values": { + "Voc_V": 1.248254, + "Jsc_mA_cm2": 26.2819962, + "FF_percent": 90.2795, + "PCE_percent": 29.6176 + } + }, + { + "coordinates": [ + 100000000000 + ], + "worksheet_row": 4, + "status": "ok", + "values": { + "Voc_V": 1.23572, + "Jsc_mA_cm2": 26.28199597, + "FF_percent": 87.6373, + "PCE_percent": 28.4621 + } + }, + { + "coordinates": [ + 1000000000000 + ], + "worksheet_row": 5, + "status": "ok", + "values": { + "Voc_V": 1.167551, + "Jsc_mA_cm2": 26.28199376, + "FF_percent": 86.9876, + "PCE_percent": 26.6926 + } + }, + { + "coordinates": [ + 10000000000000 + ], + "worksheet_row": 6, + "status": "ok", + "values": { + "Voc_V": 1.088511, + "Jsc_mA_cm2": 26.28197167, + "FF_percent": 87.5539, + "PCE_percent": 25.0476 + } + }, + { + "coordinates": [ + 100000000000000 + ], + "worksheet_row": 7, + "status": "ok", + "values": { + "Voc_V": 1.022812, + "Jsc_mA_cm2": 26.28175152, + "FF_percent": 87.2634, + "PCE_percent": 23.4575 + } + }, + { + "coordinates": [ + 1000000000000000 + ], + "worksheet_row": 8, + "status": "ok", + "values": { + "Voc_V": 0.967755, + "Jsc_mA_cm2": 26.27962552, + "FF_percent": 86.2206, + "PCE_percent": 21.9278 + } + } + ] + }, + { + "id": "scaps_et_htl_pvk", + "kind": "curve", + "location": "HTL/PVK", + "axes": [ + { + "name": "Et", + "unit_as_reported": "eV" + } + ], + "source_id": "scaps_workbook", + "worksheet": "Et_HTL PVK", + "coordinate_columns": [ + "B" + ], + "metric_columns": { + "Voc_V": "E", + "Jsc_mA_cm2": "G", + "FF_percent": "F", + "PCE_percent": "D" + }, + "pdf_source_id": "scaps_pdf", + "pdf_page": 14, + "fixture_key": "Et_HTL PVK", + "expected_points": 8, + "numeric_points": 8, + "status": "source_inventory_only", + "acceptance_gate_id": "scaps_external_pending", + "points": [ + { + "coordinates": [ + 0.01 + ], + "worksheet_row": 2, + "status": "ok", + "values": { + "Voc_V": 1.167556, + "Jsc_mA_cm2": 26.28199611, + "FF_percent": 86.9873, + "PCE_percent": 26.6927 + } + }, + { + "coordinates": [ + 0.05 + ], + "worksheet_row": 3, + "status": "ok", + "values": { + "Voc_V": 1.167554, + "Jsc_mA_cm2": 26.28199554, + "FF_percent": 86.9874, + "PCE_percent": 26.6926 + } + }, + { + "coordinates": [ + 0.1 + ], + "worksheet_row": 4, + "status": "ok", + "values": { + "Voc_V": 1.167551, + "Jsc_mA_cm2": 26.28199439, + "FF_percent": 86.9875, + "PCE_percent": 26.6926 + } + }, + { + "coordinates": [ + 0.2 + ], + "worksheet_row": 5, + "status": "ok", + "values": { + "Voc_V": 1.16755, + "Jsc_mA_cm2": 26.28199378, + "FF_percent": 86.9876, + "PCE_percent": 26.6926 + } + }, + { + "coordinates": [ + 0.3 + ], + "worksheet_row": 6, + "status": "ok", + "values": { + "Voc_V": 1.16755, + "Jsc_mA_cm2": 26.28199376, + "FF_percent": 86.9876, + "PCE_percent": 26.6926 + } + }, + { + "coordinates": [ + 0.4 + ], + "worksheet_row": 7, + "status": "ok", + "values": { + "Voc_V": 1.16755, + "Jsc_mA_cm2": 26.28199376, + "FF_percent": 86.9876, + "PCE_percent": 26.6926 + } + }, + { + "coordinates": [ + 0.5 + ], + "worksheet_row": 8, + "status": "ok", + "values": { + "Voc_V": 1.16755, + "Jsc_mA_cm2": 26.28199376, + "FF_percent": 86.9876, + "PCE_percent": 26.6926 + } + }, + { + "coordinates": [ + 0.6 + ], + "worksheet_row": 9, + "status": "ok", + "values": { + "Voc_V": 1.16755, + "Jsc_mA_cm2": 26.28199376, + "FF_percent": 86.9876, + "PCE_percent": 26.6926 + } + } + ] + }, + { + "id": "scaps_et_pvk_cb", + "kind": "curve", + "location": "Perovskite-CB", + "axes": [ + { + "name": "Et", + "unit_as_reported": "eV" + } + ], + "source_id": "scaps_workbook", + "worksheet": "Et_C_PVK", + "coordinate_columns": [ + "B" + ], + "metric_columns": { + "Voc_V": "E", + "Jsc_mA_cm2": "G", + "FF_percent": "F", + "PCE_percent": "D" + }, + "pdf_source_id": "scaps_pdf", + "pdf_page": 15, + "fixture_key": "Et_C_PVK", + "expected_points": 8, + "numeric_points": 8, + "status": "source_inventory_only", + "acceptance_gate_id": "scaps_external_pending", + "points": [ + { + "coordinates": [ + 0.01 + ], + "worksheet_row": 2, + "status": "ok", + "values": { + "Voc_V": 1.167645, + "Jsc_mA_cm2": 26.2819943, + "FF_percent": 86.9831, + "PCE_percent": 26.6934 + } + }, + { + "coordinates": [ + 0.05 + ], + "worksheet_row": 3, + "status": "ok", + "values": { + "Voc_V": 1.16763, + "Jsc_mA_cm2": 26.28199418, + "FF_percent": 86.9839, + "PCE_percent": 26.6933 + } + }, + { + "coordinates": [ + 0.1 + ], + "worksheet_row": 4, + "status": "ok", + "values": { + "Voc_V": 1.16755, + "Jsc_mA_cm2": 26.28199376, + "FF_percent": 86.9876, + "PCE_percent": 26.6926 + } + }, + { + "coordinates": [ + 0.2 + ], + "worksheet_row": 5, + "status": "ok", + "values": { + "Voc_V": 1.167246, + "Jsc_mA_cm2": 26.2819914, + "FF_percent": 86.9736, + "PCE_percent": 26.6814 + } + }, + { + "coordinates": [ + 0.3 + ], + "worksheet_row": 6, + "status": "ok", + "values": { + "Voc_V": 1.167217, + "Jsc_mA_cm2": 26.28198587, + "FF_percent": 86.9563, + "PCE_percent": 26.6754 + } + }, + { + "coordinates": [ + 0.4 + ], + "worksheet_row": 7, + "status": "ok", + "values": { + "Voc_V": 1.167216, + "Jsc_mA_cm2": 26.28196862, + "FF_percent": 86.9558, + "PCE_percent": 26.6752 + } + }, + { + "coordinates": [ + 0.5 + ], + "worksheet_row": 8, + "status": "ok", + "values": { + "Voc_V": 1.167216, + "Jsc_mA_cm2": 26.28196368, + "FF_percent": 86.9558, + "PCE_percent": 26.6752 + } + }, + { + "coordinates": [ + 0.6 + ], + "worksheet_row": 9, + "status": "ok", + "values": { + "Voc_V": 1.167216, + "Jsc_mA_cm2": 26.28196354, + "FF_percent": 86.9558, + "PCE_percent": 26.6752 + } + } + ] + }, + { + "id": "scaps_et_pvk_vb", + "kind": "curve", + "location": "Perovskite-VB", + "axes": [ + { + "name": "Et", + "unit_as_reported": "eV" + } + ], + "source_id": "scaps_workbook", + "worksheet": "Et_V_PVK", + "coordinate_columns": [ + "B" + ], + "metric_columns": { + "Voc_V": "E", + "Jsc_mA_cm2": "G", + "FF_percent": "F", + "PCE_percent": "D" + }, + "pdf_source_id": "scaps_pdf", + "pdf_page": 17, + "fixture_key": "Et_V_PVK", + "expected_points": 8, + "numeric_points": 8, + "status": "source_inventory_only", + "acceptance_gate_id": "scaps_external_pending", + "points": [ + { + "coordinates": [ + 0.01 + ], + "worksheet_row": 2, + "status": "ok", + "values": { + "Voc_V": 1.167564, + "Jsc_mA_cm2": 26.28199389, + "FF_percent": 86.9869, + "PCE_percent": 26.6927 + } + }, + { + "coordinates": [ + 0.05 + ], + "worksheet_row": 3, + "status": "ok", + "values": { + "Voc_V": 1.167562, + "Jsc_mA_cm2": 26.28199387, + "FF_percent": 86.987, + "PCE_percent": 26.6927 + } + }, + { + "coordinates": [ + 0.1 + ], + "worksheet_row": 4, + "status": "ok", + "values": { + "Voc_V": 1.16755, + "Jsc_mA_cm2": 26.28199376, + "FF_percent": 86.9876, + "PCE_percent": 26.6926 + } + }, + { + "coordinates": [ + 0.2 + ], + "worksheet_row": 5, + "status": "ok", + "values": { + "Voc_V": 1.167305, + "Jsc_mA_cm2": 26.28199256, + "FF_percent": 86.9949, + "PCE_percent": 26.6892 + } + }, + { + "coordinates": [ + 0.3 + ], + "worksheet_row": 6, + "status": "ok", + "values": { + "Voc_V": 1.167139, + "Jsc_mA_cm2": 26.28198922, + "FF_percent": 86.9645, + "PCE_percent": 26.6761 + } + }, + { + "coordinates": [ + 0.4 + ], + "worksheet_row": 7, + "status": "ok", + "values": { + "Voc_V": 1.167133, + "Jsc_mA_cm2": 26.28197931, + "FF_percent": 86.9597, + "PCE_percent": 26.6745 + } + }, + { + "coordinates": [ + 0.5 + ], + "worksheet_row": 8, + "status": "ok", + "values": { + "Voc_V": 1.167133, + "Jsc_mA_cm2": 26.2819643, + "FF_percent": 86.9597, + "PCE_percent": 26.6745 + } + }, + { + "coordinates": [ + 0.6 + ], + "worksheet_row": 9, + "status": "ok", + "values": { + "Voc_V": 1.167133, + "Jsc_mA_cm2": 26.28196311, + "FF_percent": 86.9597, + "PCE_percent": 26.6745 + } + } + ] + }, + { + "id": "scaps_et_pvk_etl", + "kind": "curve", + "location": "PVK/ETL", + "axes": [ + { + "name": "Et", + "unit_as_reported": "eV" + } + ], + "source_id": "scaps_workbook", + "worksheet": "Et_PVK ETL", + "coordinate_columns": [ + "B" + ], + "metric_columns": { + "Voc_V": "E", + "Jsc_mA_cm2": "G", + "FF_percent": "F", + "PCE_percent": "D" + }, + "pdf_source_id": "scaps_pdf", + "pdf_page": 18, + "fixture_key": "Et_PVK ETL", + "expected_points": 8, + "numeric_points": 8, + "status": "source_inventory_only", + "acceptance_gate_id": "scaps_external_pending", + "points": [ + { + "coordinates": [ + 0.01 + ], + "worksheet_row": 2, + "status": "ok", + "values": { + "Voc_V": 1.201974, + "Jsc_mA_cm2": 26.28199587, + "FF_percent": 87.7951, + "PCE_percent": 27.7347 + } + }, + { + "coordinates": [ + 0.05 + ], + "worksheet_row": 3, + "status": "ok", + "values": { + "Voc_V": 1.187526, + "Jsc_mA_cm2": 26.2819956, + "FF_percent": 87.6463, + "PCE_percent": 27.3549 + } + }, + { + "coordinates": [ + 0.1 + ], + "worksheet_row": 4, + "status": "ok", + "values": { + "Voc_V": 1.177299, + "Jsc_mA_cm2": 26.28199504, + "FF_percent": 87.2819, + "PCE_percent": 27.0066 + } + }, + { + "coordinates": [ + 0.2 + ], + "worksheet_row": 5, + "status": "ok", + "values": { + "Voc_V": 1.168613, + "Jsc_mA_cm2": 26.28199408, + "FF_percent": 87.0458, + "PCE_percent": 26.7348 + } + }, + { + "coordinates": [ + 0.3 + ], + "worksheet_row": 6, + "status": "ok", + "values": { + "Voc_V": 1.16755, + "Jsc_mA_cm2": 26.28199376, + "FF_percent": 86.9876, + "PCE_percent": 26.6926 + } + }, + { + "coordinates": [ + 0.4 + ], + "worksheet_row": 7, + "status": "ok", + "values": { + "Voc_V": 1.167495, + "Jsc_mA_cm2": 26.28199374, + "FF_percent": 86.9831, + "PCE_percent": 26.69 + } + }, + { + "coordinates": [ + 0.5 + ], + "worksheet_row": 8, + "status": "ok", + "values": { + "Voc_V": 1.167494, + "Jsc_mA_cm2": 26.28199374, + "FF_percent": 86.9829, + "PCE_percent": 26.6899 + } + }, + { + "coordinates": [ + 0.6 + ], + "worksheet_row": 9, + "status": "ok", + "values": { + "Voc_V": 1.167494, + "Jsc_mA_cm2": 26.28199374, + "FF_percent": 86.9829, + "PCE_percent": 26.6899 + } + } + ] + }, + { + "id": "scaps_nt_et", + "kind": "parameter_grid", + "location": "PVK/ETL", + "axes": [ + { + "name": "Nt", + "unit_as_reported": "cm^-3" + }, + { + "name": "Et", + "unit_as_reported": "eV" + } + ], + "source_id": "scaps_workbook", + "worksheet": "pair-nt-et-pvk-etl", + "coordinate_columns": [ + "E", + "B" + ], + "metric_columns": { + "Voc_V": "H", + "Jsc_mA_cm2": "J", + "FF_percent": "I", + "PCE_percent": "G" + }, + "pdf_source_id": "scaps_pdf", + "pdf_page": 20, + "fixture_key": "pair-nt-et-pvk-etl", + "expected_shape": [ + 7, + 8 + ], + "expected_points": 56, + "numeric_points": 56, + "status": "source_inventory_only", + "acceptance_gate_id": "scaps_external_pending", + "points": [ + { + "coordinates": [ + 1000000000, + 0.01 + ], + "worksheet_row": 2, + "status": "ok", + "values": { + "Voc_V": 1.24954, + "Jsc_mA_cm2": 26.28199622, + "FF_percent": 90.8441, + "PCE_percent": 29.8336 + } + }, + { + "coordinates": [ + 1000000000, + 0.05 + ], + "worksheet_row": 3, + "status": "ok", + "values": { + "Voc_V": 1.249513, + "Jsc_mA_cm2": 26.28199622, + "FF_percent": 90.8309, + "PCE_percent": 29.8286 + } + }, + { + "coordinates": [ + 1000000000, + 0.1 + ], + "worksheet_row": 4, + "status": "ok", + "values": { + "Voc_V": 1.249493, + "Jsc_mA_cm2": 26.28199622, + "FF_percent": 90.8162, + "PCE_percent": 29.8233 + } + }, + { + "coordinates": [ + 1000000000, + 0.2 + ], + "worksheet_row": 5, + "status": "ok", + "values": { + "Voc_V": 1.249475, + "Jsc_mA_cm2": 26.28199622, + "FF_percent": 90.802, + "PCE_percent": 29.8182 + } + }, + { + "coordinates": [ + 1000000000, + 0.3 + ], + "worksheet_row": 6, + "status": "ok", + "values": { + "Voc_V": 1.249473, + "Jsc_mA_cm2": 26.28199622, + "FF_percent": 90.7999, + "PCE_percent": 29.8175 + } + }, + { + "coordinates": [ + 1000000000, + 0.4 + ], + "worksheet_row": 7, + "status": "ok", + "values": { + "Voc_V": 1.249473, + "Jsc_mA_cm2": 26.28199622, + "FF_percent": 90.7998, + "PCE_percent": 29.8174 + } + }, + { + "coordinates": [ + 1000000000, + 0.5 + ], + "worksheet_row": 8, + "status": "ok", + "values": { + "Voc_V": 1.249473, + "Jsc_mA_cm2": 26.28199622, + "FF_percent": 90.7998, + "PCE_percent": 29.8174 + } + }, + { + "coordinates": [ + 1000000000, + 0.6 + ], + "worksheet_row": 9, + "status": "ok", + "values": { + "Voc_V": 1.249473, + "Jsc_mA_cm2": 26.28199622, + "FF_percent": 90.7998, + "PCE_percent": 29.8174 + } + }, + { + "coordinates": [ + 10000000000, + 0.01 + ], + "worksheet_row": 10, + "status": "ok", + "values": { + "Voc_V": 1.248922, + "Jsc_mA_cm2": 26.28199622, + "FF_percent": 90.6869, + "PCE_percent": 29.7672 + } + }, + { + "coordinates": [ + 10000000000, + 0.05 + ], + "worksheet_row": 11, + "status": "ok", + "values": { + "Voc_V": 1.248653, + "Jsc_mA_cm2": 26.28199621, + "FF_percent": 90.5643, + "PCE_percent": 29.7206 + } + }, + { + "coordinates": [ + 10000000000, + 0.1 + ], + "worksheet_row": 12, + "status": "ok", + "values": { + "Voc_V": 1.248454, + "Jsc_mA_cm2": 26.28199621, + "FF_percent": 90.4278, + "PCE_percent": 29.6711 + } + }, + { + "coordinates": [ + 10000000000, + 0.2 + ], + "worksheet_row": 13, + "status": "ok", + "values": { + "Voc_V": 1.24827, + "Jsc_mA_cm2": 26.2819962, + "FF_percent": 90.2989, + "PCE_percent": 29.6244 + } + }, + { + "coordinates": [ + 10000000000, + 0.3 + ], + "worksheet_row": 14, + "status": "ok", + "values": { + "Voc_V": 1.248254, + "Jsc_mA_cm2": 26.2819962, + "FF_percent": 90.2795, + "PCE_percent": 29.6176 + } + }, + { + "coordinates": [ + 10000000000, + 0.4 + ], + "worksheet_row": 15, + "status": "ok", + "values": { + "Voc_V": 1.248253, + "Jsc_mA_cm2": 26.28199619, + "FF_percent": 90.2785, + "PCE_percent": 29.6173 + } + }, + { + "coordinates": [ + 10000000000, + 0.5 + ], + "worksheet_row": 16, + "status": "ok", + "values": { + "Voc_V": 1.248253, + "Jsc_mA_cm2": 26.28199619, + "FF_percent": 90.2784, + "PCE_percent": 29.6173 + } + }, + { + "coordinates": [ + 10000000000, + 0.6 + ], + "worksheet_row": 17, + "status": "ok", + "values": { + "Voc_V": 1.248253, + "Jsc_mA_cm2": 26.28199619, + "FF_percent": 90.2784, + "PCE_percent": 29.6173 + } + }, + { + "coordinates": [ + 100000000000, + 0.01 + ], + "worksheet_row": 18, + "status": "ok", + "values": { + "Voc_V": 1.243024, + "Jsc_mA_cm2": 26.28199618, + "FF_percent": 89.433, + "PCE_percent": 29.217 + } + }, + { + "coordinates": [ + 100000000000, + 0.05 + ], + "worksheet_row": 19, + "status": "ok", + "values": { + "Voc_V": 1.240401, + "Jsc_mA_cm2": 26.28199616, + "FF_percent": 88.8509, + "PCE_percent": 28.9656 + } + }, + { + "coordinates": [ + 100000000000, + 0.1 + ], + "worksheet_row": 20, + "status": "ok", + "values": { + "Voc_V": 1.238132, + "Jsc_mA_cm2": 26.2819961, + "FF_percent": 88.1552, + "PCE_percent": 28.6862 + } + }, + { + "coordinates": [ + 100000000000, + 0.2 + ], + "worksheet_row": 21, + "status": "ok", + "values": { + "Voc_V": 1.235926, + "Jsc_mA_cm2": 26.28199601, + "FF_percent": 87.7169, + "PCE_percent": 28.4927 + } + }, + { + "coordinates": [ + 100000000000, + 0.3 + ], + "worksheet_row": 22, + "status": "ok", + "values": { + "Voc_V": 1.23572, + "Jsc_mA_cm2": 26.28199597, + "FF_percent": 87.6373, + "PCE_percent": 28.4621 + } + }, + { + "coordinates": [ + 100000000000, + 0.4 + ], + "worksheet_row": 23, + "status": "ok", + "values": { + "Voc_V": 1.235711, + "Jsc_mA_cm2": 26.28199597, + "FF_percent": 87.6324, + "PCE_percent": 28.4603 + } + }, + { + "coordinates": [ + 100000000000, + 0.5 + ], + "worksheet_row": 24, + "status": "ok", + "values": { + "Voc_V": 1.235711, + "Jsc_mA_cm2": 26.28199597, + "FF_percent": 87.6323, + "PCE_percent": 28.4603 + } + }, + { + "coordinates": [ + 100000000000, + 0.6 + ], + "worksheet_row": 25, + "status": "ok", + "values": { + "Voc_V": 1.235711, + "Jsc_mA_cm2": 26.28199597, + "FF_percent": 87.6323, + "PCE_percent": 28.4603 + } + }, + { + "coordinates": [ + 1000000000000, + 0.01 + ], + "worksheet_row": 26, + "status": "ok", + "values": { + "Voc_V": 1.201975, + "Jsc_mA_cm2": 26.28199587, + "FF_percent": 87.7951, + "PCE_percent": 27.7347 + } + }, + { + "coordinates": [ + 1000000000000, + 0.05 + ], + "worksheet_row": 27, + "status": "ok", + "values": { + "Voc_V": 1.187526, + "Jsc_mA_cm2": 26.2819956, + "FF_percent": 87.6463, + "PCE_percent": 27.3549 + } + }, + { + "coordinates": [ + 1000000000000, + 0.1 + ], + "worksheet_row": 28, + "status": "ok", + "values": { + "Voc_V": 1.1773, + "Jsc_mA_cm2": 26.28199504, + "FF_percent": 87.2819, + "PCE_percent": 27.0066 + } + }, + { + "coordinates": [ + 1000000000000, + 0.2 + ], + "worksheet_row": 29, + "status": "ok", + "values": { + "Voc_V": 1.168613, + "Jsc_mA_cm2": 26.28199408, + "FF_percent": 87.0458, + "PCE_percent": 26.7348 + } + }, + { + "coordinates": [ + 1000000000000, + 0.3 + ], + "worksheet_row": 30, + "status": "ok", + "values": { + "Voc_V": 1.167551, + "Jsc_mA_cm2": 26.28199376, + "FF_percent": 86.9876, + "PCE_percent": 26.6926 + } + }, + { + "coordinates": [ + 1000000000000, + 0.4 + ], + "worksheet_row": 31, + "status": "ok", + "values": { + "Voc_V": 1.167496, + "Jsc_mA_cm2": 26.28199374, + "FF_percent": 86.9831, + "PCE_percent": 26.69 + } + }, + { + "coordinates": [ + 1000000000000, + 0.5 + ], + "worksheet_row": 32, + "status": "ok", + "values": { + "Voc_V": 1.167494, + "Jsc_mA_cm2": 26.28199374, + "FF_percent": 86.9829, + "PCE_percent": 26.6899 + } + }, + { + "coordinates": [ + 1000000000000, + 0.6 + ], + "worksheet_row": 33, + "status": "ok", + "values": { + "Voc_V": 1.167494, + "Jsc_mA_cm2": 26.28199374, + "FF_percent": 86.9829, + "PCE_percent": 26.6899 + } + }, + { + "coordinates": [ + 10000000000000, + 0.01 + ], + "worksheet_row": 34, + "status": "ok", + "values": { + "Voc_V": 1.12948, + "Jsc_mA_cm2": 26.28199276, + "FF_percent": 87.9148, + "PCE_percent": 26.0975 + } + }, + { + "coordinates": [ + 10000000000000, + 0.05 + ], + "worksheet_row": 35, + "status": "ok", + "values": { + "Voc_V": 1.113681, + "Jsc_mA_cm2": 26.28199003, + "FF_percent": 87.8929, + "PCE_percent": 25.726 + } + }, + { + "coordinates": [ + 10000000000000, + 0.1 + ], + "worksheet_row": 36, + "status": "ok", + "values": { + "Voc_V": 1.099984, + "Jsc_mA_cm2": 26.28198445, + "FF_percent": 87.7718, + "PCE_percent": 25.3746 + } + }, + { + "coordinates": [ + 10000000000000, + 0.2 + ], + "worksheet_row": 37, + "status": "ok", + "values": { + "Voc_V": 1.090078, + "Jsc_mA_cm2": 26.28197479, + "FF_percent": 87.5821, + "PCE_percent": 25.0917 + } + }, + { + "coordinates": [ + 10000000000000, + 0.3 + ], + "worksheet_row": 38, + "status": "ok", + "values": { + "Voc_V": 1.088511, + "Jsc_mA_cm2": 26.28197167, + "FF_percent": 87.5539, + "PCE_percent": 25.0476 + } + }, + { + "coordinates": [ + 10000000000000, + 0.4 + ], + "worksheet_row": 39, + "status": "ok", + "values": { + "Voc_V": 1.088416, + "Jsc_mA_cm2": 26.28197141, + "FF_percent": 87.5516, + "PCE_percent": 25.0448 + } + }, + { + "coordinates": [ + 10000000000000, + 0.5 + ], + "worksheet_row": 40, + "status": "ok", + "values": { + "Voc_V": 1.088414, + "Jsc_mA_cm2": 26.2819714, + "FF_percent": 87.5515, + "PCE_percent": 25.0447 + } + }, + { + "coordinates": [ + 10000000000000, + 0.6 + ], + "worksheet_row": 41, + "status": "ok", + "values": { + "Voc_V": 1.088414, + "Jsc_mA_cm2": 26.2819714, + "FF_percent": 87.5515, + "PCE_percent": 25.0447 + } + }, + { + "coordinates": [ + 100000000000000, + 0.01 + ], + "worksheet_row": 42, + "status": "ok", + "values": { + "Voc_V": 1.062408, + "Jsc_mA_cm2": 26.28196162, + "FF_percent": 87.7784, + "PCE_percent": 24.5096 + } + }, + { + "coordinates": [ + 100000000000000, + 0.05 + ], + "worksheet_row": 43, + "status": "ok", + "values": { + "Voc_V": 1.048187, + "Jsc_mA_cm2": 26.28193439, + "FF_percent": 87.6436, + "PCE_percent": 24.1444 + } + }, + { + "coordinates": [ + 100000000000000, + 0.1 + ], + "worksheet_row": 44, + "status": "ok", + "values": { + "Voc_V": 1.033979, + "Jsc_mA_cm2": 26.28187868, + "FF_percent": 87.55, + "PCE_percent": 23.7916 + } + }, + { + "coordinates": [ + 100000000000000, + 0.2 + ], + "worksheet_row": 45, + "status": "ok", + "values": { + "Voc_V": 1.024478, + "Jsc_mA_cm2": 26.28178255, + "FF_percent": 87.2914, + "PCE_percent": 23.5033 + } + }, + { + "coordinates": [ + 100000000000000, + 0.3 + ], + "worksheet_row": 46, + "status": "ok", + "values": { + "Voc_V": 1.022812, + "Jsc_mA_cm2": 26.28175152, + "FF_percent": 87.2634, + "PCE_percent": 23.4575 + } + }, + { + "coordinates": [ + 100000000000000, + 0.4 + ], + "worksheet_row": 47, + "status": "ok", + "values": { + "Voc_V": 1.022706, + "Jsc_mA_cm2": 26.2817489, + "FF_percent": 87.2613, + "PCE_percent": 23.4545 + } + }, + { + "coordinates": [ + 100000000000000, + 0.5 + ], + "worksheet_row": 48, + "status": "ok", + "values": { + "Voc_V": 1.022703, + "Jsc_mA_cm2": 26.2817488, + "FF_percent": 87.2612, + "PCE_percent": 23.4544 + } + }, + { + "coordinates": [ + 100000000000000, + 0.6 + ], + "worksheet_row": 49, + "status": "ok", + "values": { + "Voc_V": 1.022703, + "Jsc_mA_cm2": 26.2817488, + "FF_percent": 87.2612, + "PCE_percent": 23.4544 + } + }, + { + "coordinates": [ + 1000000000000000, + 0.01 + ], + "worksheet_row": 50, + "status": "ok", + "values": { + "Voc_V": 1.002145, + "Jsc_mA_cm2": 26.28165183, + "FF_percent": 87.1367, + "PCE_percent": 22.9501 + } + }, + { + "coordinates": [ + 1000000000000000, + 0.05 + ], + "worksheet_row": 51, + "status": "ok", + "values": { + "Voc_V": 0.989725, + "Jsc_mA_cm2": 26.28138296, + "FF_percent": 86.8705, + "PCE_percent": 22.5962 + } + }, + { + "coordinates": [ + 1000000000000000, + 0.1 + ], + "worksheet_row": 52, + "status": "ok", + "values": { + "Voc_V": 0.977273, + "Jsc_mA_cm2": 26.28083877, + "FF_percent": 86.635, + "PCE_percent": 22.2509 + } + }, + { + "coordinates": [ + 1000000000000000, + 0.2 + ], + "worksheet_row": 53, + "status": "ok", + "values": { + "Voc_V": 0.96917, + "Jsc_mA_cm2": 26.27991793, + "FF_percent": 86.2702, + "PCE_percent": 21.9728 + } + }, + { + "coordinates": [ + 1000000000000000, + 0.3 + ], + "worksheet_row": 54, + "status": "ok", + "values": { + "Voc_V": 0.967755, + "Jsc_mA_cm2": 26.27962552, + "FF_percent": 86.2206, + "PCE_percent": 21.9278 + } + }, + { + "coordinates": [ + 1000000000000000, + 0.4 + ], + "worksheet_row": 55, + "status": "ok", + "values": { + "Voc_V": 0.967663, + "Jsc_mA_cm2": 26.27960093, + "FF_percent": 86.2172, + "PCE_percent": 21.9249 + } + }, + { + "coordinates": [ + 1000000000000000, + 0.5 + ], + "worksheet_row": 56, + "status": "ok", + "values": { + "Voc_V": 0.967661, + "Jsc_mA_cm2": 26.27960006, + "FF_percent": 86.2171, + "PCE_percent": 21.9248 + } + }, + { + "coordinates": [ + 1000000000000000, + 0.6 + ], + "worksheet_row": 57, + "status": "ok", + "values": { + "Voc_V": 0.967661, + "Jsc_mA_cm2": 26.27960004, + "FF_percent": 86.2171, + "PCE_percent": 21.9248 + } + } + ] + }, + { + "id": "scaps_nt_cbo", + "kind": "parameter_grid", + "location": "PVK/ETL", + "axes": [ + { + "name": "Nt", + "unit_as_reported": "cm^-3" + }, + { + "name": "CBO", + "unit_as_reported": "eV" + } + ], + "source_id": "scaps_workbook", + "worksheet": "pair-nt-cbo-pvk-etl", + "coordinate_columns": [ + "E", + "B" + ], + "metric_columns": { + "Voc_V": "H", + "Jsc_mA_cm2": "J", + "FF_percent": "I", + "PCE_percent": "G" + }, + "pdf_source_id": "scaps_pdf", + "pdf_page": 21, + "fixture_key": "pair-nt-cbo-pvk-etl", + "expected_shape": [ + 7, + 16 + ], + "expected_points": 112, + "numeric_points": 100, + "status": "source_inventory_only", + "acceptance_gate_id": "scaps_external_pending", + "points": [ + { + "coordinates": [ + 1000000000, + -1 + ], + "worksheet_row": 2, + "status": "ok", + "values": { + "Voc_V": 0.664506, + "Jsc_mA_cm2": 26.30464934, + "FF_percent": 73.5977, + "PCE_percent": 12.8646 + } + }, + { + "coordinates": [ + 1000000000, + -0.75 + ], + "worksheet_row": 3, + "status": "ok", + "values": { + "Voc_V": 0.914418, + "Jsc_mA_cm2": 26.28895045, + "FF_percent": 78.7563, + "PCE_percent": 18.9323 + } + }, + { + "coordinates": [ + 1000000000, + -0.5 + ], + "worksheet_row": 4, + "status": "ok", + "values": { + "Voc_V": 1.160944, + "Jsc_mA_cm2": 26.2844136, + "FF_percent": 82.3826, + "PCE_percent": 25.1388 + } + }, + { + "coordinates": [ + 1000000000, + -0.25 + ], + "worksheet_row": 5, + "status": "ok", + "values": { + "Voc_V": 1.245841, + "Jsc_mA_cm2": 26.28239616, + "FF_percent": 90.4232, + "PCE_percent": 29.6079 + } + }, + { + "coordinates": [ + 1000000000, + -0.2 + ], + "worksheet_row": 6, + "status": "ok", + "values": { + "Voc_V": 1.248232, + "Jsc_mA_cm2": 26.28208695, + "FF_percent": 90.7157, + "PCE_percent": 29.7603 + } + }, + { + "coordinates": [ + 1000000000, + -0.16 + ], + "worksheet_row": 7, + "status": "ok", + "values": { + "Voc_V": 1.249473, + "Jsc_mA_cm2": 26.28199622, + "FF_percent": 90.7999, + "PCE_percent": 29.8175 + } + }, + { + "coordinates": [ + 1000000000, + -0.1 + ], + "worksheet_row": 8, + "status": "ok", + "values": { + "Voc_V": 1.250607, + "Jsc_mA_cm2": 26.28154186, + "FF_percent": 90.8265, + "PCE_percent": 29.8527 + } + }, + { + "coordinates": [ + 1000000000, + -0.05 + ], + "worksheet_row": 9, + "status": "ok", + "values": { + "Voc_V": 1.251081, + "Jsc_mA_cm2": 26.28156267, + "FF_percent": 90.8172, + "PCE_percent": 29.861 + } + }, + { + "coordinates": [ + 1000000000, + 0 + ], + "worksheet_row": 10, + "status": "ok", + "values": { + "Voc_V": 1.251236, + "Jsc_mA_cm2": 26.28148627, + "FF_percent": 90.8027, + "PCE_percent": 29.8599 + } + }, + { + "coordinates": [ + 1000000000, + 0.1 + ], + "worksheet_row": 11, + "status": "ok", + "values": { + "Voc_V": 1.250901, + "Jsc_mA_cm2": 26.28116192, + "FF_percent": 90.7667, + "PCE_percent": 29.8397 + } + }, + { + "coordinates": [ + 1000000000, + 0.2 + ], + "worksheet_row": 12, + "status": "ok", + "values": { + "Voc_V": 1.250334, + "Jsc_mA_cm2": 26.28140909, + "FF_percent": 90.7195, + "PCE_percent": 29.8109 + } + }, + { + "coordinates": [ + 1000000000, + 0.3 + ], + "worksheet_row": 13, + "status": "ok", + "values": { + "Voc_V": 1.250061, + "Jsc_mA_cm2": 26.2816825, + "FF_percent": 90.4474, + "PCE_percent": 29.7153 + } + }, + { + "coordinates": [ + 1000000000, + 0.4 + ], + "worksheet_row": 14, + "status": "ok", + "values": { + "Voc_V": 1.249792, + "Jsc_mA_cm2": 26.28239245, + "FF_percent": 65.1571, + "PCE_percent": 21.4025 + } + }, + { + "coordinates": [ + 1000000000, + 0.5 + ], + "worksheet_row": 15, + "status": "ok", + "values": { + "Voc_V": 1.249524, + "Jsc_mA_cm2": 2.47117501, + "FF_percent": 23.6153, + "PCE_percent": 0.7292 + } + }, + { + "coordinates": [ + 1000000000, + 0.6 + ], + "worksheet_row": 16, + "status": "ok", + "values": { + "Voc_V": 1.256639, + "Jsc_mA_cm2": 0.06524981, + "FF_percent": 29.1372, + "PCE_percent": 0.0239 + } + }, + { + "coordinates": [ + 1000000000, + 0.7 + ], + "worksheet_row": 17, + "status": "ok", + "values": { + "Voc_V": 1.281537, + "Jsc_mA_cm2": 0.00823184, + "FF_percent": 67.5488, + "PCE_percent": 0.0071 + } + }, + { + "coordinates": [ + 10000000000, + -1 + ], + "worksheet_row": 18, + "status": "ok", + "values": { + "Voc_V": 0.547257, + "Jsc_mA_cm2": 26.30464833, + "FF_percent": 70.5188, + "PCE_percent": 10.1515 + } + }, + { + "coordinates": [ + 10000000000, + -0.75 + ], + "worksheet_row": 19, + "status": "ok", + "values": { + "Voc_V": 0.79715, + "Jsc_mA_cm2": 26.28895033, + "FF_percent": 77.1578, + "PCE_percent": 16.1694 + } + }, + { + "coordinates": [ + 10000000000, + -0.5 + ], + "worksheet_row": 20, + "status": "ok", + "values": { + "Voc_V": 1.047041, + "Jsc_mA_cm2": 26.28441355, + "FF_percent": 81.261, + "PCE_percent": 22.3637 + } + }, + { + "coordinates": [ + 10000000000, + -0.25 + ], + "worksheet_row": 21, + "status": "ok", + "values": { + "Voc_V": 1.238579, + "Jsc_mA_cm2": 26.28239613, + "FF_percent": 87.4311, + "PCE_percent": 28.4613 + } + }, + { + "coordinates": [ + 10000000000, + -0.2 + ], + "worksheet_row": 22, + "status": "ok", + "values": { + "Voc_V": 1.245536, + "Jsc_mA_cm2": 26.28208693, + "FF_percent": 89.336, + "PCE_percent": 29.2444 + } + }, + { + "coordinates": [ + 10000000000, + -0.16 + ], + "worksheet_row": 23, + "status": "ok", + "values": { + "Voc_V": 1.248254, + "Jsc_mA_cm2": 26.2819962, + "FF_percent": 90.2795, + "PCE_percent": 29.6176 + } + }, + { + "coordinates": [ + 10000000000, + -0.1 + ], + "worksheet_row": 24, + "status": "ok", + "values": { + "Voc_V": 1.250264, + "Jsc_mA_cm2": 26.28154184, + "FF_percent": 90.7243, + "PCE_percent": 29.811 + } + }, + { + "coordinates": [ + 10000000000, + -0.05 + ], + "worksheet_row": 25, + "status": "ok", + "values": { + "Voc_V": 1.250973, + "Jsc_mA_cm2": 26.28156265, + "FF_percent": 90.7962, + "PCE_percent": 29.8515 + } + }, + { + "coordinates": [ + 10000000000, + 0 + ], + "worksheet_row": 26, + "status": "ok", + "values": { + "Voc_V": 1.251203, + "Jsc_mA_cm2": 26.28148625, + "FF_percent": 90.7986, + "PCE_percent": 29.8577 + } + }, + { + "coordinates": [ + 10000000000, + 0.1 + ], + "worksheet_row": 27, + "status": "ok", + "values": { + "Voc_V": 1.250897, + "Jsc_mA_cm2": 26.28116191, + "FF_percent": 90.7664, + "PCE_percent": 29.8395 + } + }, + { + "coordinates": [ + 10000000000, + 0.2 + ], + "worksheet_row": 28, + "status": "ok", + "values": { + "Voc_V": 1.250332, + "Jsc_mA_cm2": 26.28140909, + "FF_percent": 90.7194, + "PCE_percent": 29.8108 + } + }, + { + "coordinates": [ + 10000000000, + 0.3 + ], + "worksheet_row": 29, + "status": "ok", + "values": { + "Voc_V": 1.250059, + "Jsc_mA_cm2": 26.2816825, + "FF_percent": 90.4474, + "PCE_percent": 29.7153 + } + }, + { + "coordinates": [ + 10000000000, + 0.4 + ], + "worksheet_row": 30, + "status": "ok", + "values": { + "Voc_V": 1.249783, + "Jsc_mA_cm2": 26.28239241, + "FF_percent": 65.157, + "PCE_percent": 21.4023 + } + }, + { + "coordinates": [ + 10000000000, + 0.5 + ], + "worksheet_row": 31, + "status": "ok", + "values": { + "Voc_V": 1.249272, + "Jsc_mA_cm2": 2.47099087, + "FF_percent": 23.6172, + "PCE_percent": 0.729 + } + }, + { + "coordinates": [ + 10000000000, + 0.6 + ], + "worksheet_row": 32, + "status": "ok", + "values": { + "Voc_V": 1.254062, + "Jsc_mA_cm2": 0.06495456, + "FF_percent": 28.92, + "PCE_percent": 0.0236 + } + }, + { + "coordinates": [ + 10000000000, + 0.7 + ], + "worksheet_row": 33, + "status": "ok", + "values": { + "Voc_V": 1.274227, + "Jsc_mA_cm2": 0.00773455, + "FF_percent": 67.7314, + "PCE_percent": 0.0067 + } + }, + { + "coordinates": [ + 100000000000, + -1 + ], + "worksheet_row": 34, + "status": "ok", + "values": { + "Voc_V": 0.433252, + "Jsc_mA_cm2": 26.30463826, + "FF_percent": 68.2335, + "PCE_percent": 7.7763 + } + }, + { + "coordinates": [ + 100000000000, + -0.75 + ], + "worksheet_row": 35, + "status": "ok", + "values": { + "Voc_V": 0.682719, + "Jsc_mA_cm2": 26.28894917, + "FF_percent": 76.6372, + "PCE_percent": 13.7548 + } + }, + { + "coordinates": [ + 100000000000, + -0.5 + ], + "worksheet_row": 36, + "status": "ok", + "values": { + "Voc_V": 0.932644, + "Jsc_mA_cm2": 26.28441308, + "FF_percent": 81.4971, + "PCE_percent": 19.9782 + } + }, + { + "coordinates": [ + 100000000000, + -0.25 + ], + "worksheet_row": 37, + "status": "ok", + "values": { + "Voc_V": 1.178869, + "Jsc_mA_cm2": 26.28239587, + "FF_percent": 84.8559, + "PCE_percent": 26.2913 + } + }, + { + "coordinates": [ + 100000000000, + -0.2 + ], + "worksheet_row": 38, + "status": "ok", + "values": { + "Voc_V": 1.217672, + "Jsc_mA_cm2": 26.28208669, + "FF_percent": 86.0221, + "PCE_percent": 27.5296 + } + }, + { + "coordinates": [ + 100000000000, + -0.16 + ], + "worksheet_row": 39, + "status": "ok", + "values": { + "Voc_V": 1.23572, + "Jsc_mA_cm2": 26.28199597, + "FF_percent": 87.6373, + "PCE_percent": 28.4621 + } + }, + { + "coordinates": [ + 100000000000, + -0.1 + ], + "worksheet_row": 40, + "status": "ok", + "values": { + "Voc_V": 1.2469, + "Jsc_mA_cm2": 26.28154164, + "FF_percent": 89.7683, + "PCE_percent": 29.4175 + } + }, + { + "coordinates": [ + 100000000000, + -0.05 + ], + "worksheet_row": 41, + "status": "ok", + "values": { + "Voc_V": 1.249894, + "Jsc_mA_cm2": 26.28156247, + "FF_percent": 90.6011, + "PCE_percent": 29.7617 + } + }, + { + "coordinates": [ + 100000000000, + 0 + ], + "worksheet_row": 42, + "status": "ok", + "values": { + "Voc_V": 1.250872, + "Jsc_mA_cm2": 26.28148608, + "FF_percent": 90.7583, + "PCE_percent": 29.8366 + } + }, + { + "coordinates": [ + 100000000000, + 0.1 + ], + "worksheet_row": 43, + "status": "ok", + "values": { + "Voc_V": 1.25085, + "Jsc_mA_cm2": 26.2811618, + "FF_percent": 90.7631, + "PCE_percent": 29.8373 + } + }, + { + "coordinates": [ + 100000000000, + 0.2 + ], + "worksheet_row": 44, + "status": "ok", + "values": { + "Voc_V": 1.250316, + "Jsc_mA_cm2": 26.28140902, + "FF_percent": 90.7185, + "PCE_percent": 29.8102 + } + }, + { + "coordinates": [ + 100000000000, + 0.3 + ], + "worksheet_row": 45, + "status": "ok", + "values": { + "Voc_V": 1.250048, + "Jsc_mA_cm2": 26.28168243, + "FF_percent": 90.4468, + "PCE_percent": 29.7148 + } + }, + { + "coordinates": [ + 100000000000, + 0.4 + ], + "worksheet_row": 46, + "status": "ok", + "values": { + "Voc_V": 1.249696, + "Jsc_mA_cm2": 26.28239197, + "FF_percent": 65.1566, + "PCE_percent": 21.4007 + } + }, + { + "coordinates": [ + 100000000000, + 0.5 + ], + "worksheet_row": 47, + "status": "ok", + "values": { + "Voc_V": 1.246841, + "Jsc_mA_cm2": 2.46953935, + "FF_percent": 23.6319, + "PCE_percent": 0.7277 + } + }, + { + "coordinates": [ + 100000000000, + 0.6 + ], + "worksheet_row": 48, + "status": "ok", + "values": { + "Voc_V": 1.226926, + "Jsc_mA_cm2": 0.063076, + "FF_percent": 27.9876, + "PCE_percent": 0.0217 + } + }, + { + "coordinates": [ + 100000000000, + 0.7 + ], + "worksheet_row": 49, + "status": "reference_missing", + "values": { + "Voc_V": null, + "Jsc_mA_cm2": null, + "FF_percent": null, + "PCE_percent": null + }, + "reason": "four_blank_metric_cells_in_original_workbook", + "solver_execution_status": "unknown", + "classification": "reference_missing_not_evidence_of_solver_failure" + }, + { + "coordinates": [ + 1000000000000, + -1 + ], + "worksheet_row": 50, + "status": "ok", + "values": { + "Voc_V": 0.332354, + "Jsc_mA_cm2": 26.30453758, + "FF_percent": 67.1265, + "PCE_percent": 5.8685 + } + }, + { + "coordinates": [ + 1000000000000, + -0.75 + ], + "worksheet_row": 51, + "status": "ok", + "values": { + "Voc_V": 0.580954, + "Jsc_mA_cm2": 26.28893747, + "FF_percent": 77.4679, + "PCE_percent": 11.8314 + } + }, + { + "coordinates": [ + 1000000000000, + -0.5 + ], + "worksheet_row": 52, + "status": "ok", + "values": { + "Voc_V": 0.830851, + "Jsc_mA_cm2": 26.28440831, + "FF_percent": 82.791, + "PCE_percent": 18.0802 + } + }, + { + "coordinates": [ + 1000000000000, + -0.25 + ], + "worksheet_row": 53, + "status": "ok", + "values": { + "Voc_V": 1.080494, + "Jsc_mA_cm2": 26.28239324, + "FF_percent": 85.9878, + "PCE_percent": 24.4188 + } + }, + { + "coordinates": [ + 1000000000000, + -0.2 + ], + "worksheet_row": 54, + "status": "ok", + "values": { + "Voc_V": 1.129309, + "Jsc_mA_cm2": 26.28208431, + "FF_percent": 86.5151, + "PCE_percent": 25.6782 + } + }, + { + "coordinates": [ + 1000000000000, + -0.16 + ], + "worksheet_row": 55, + "status": "ok", + "values": { + "Voc_V": 1.167551, + "Jsc_mA_cm2": 26.28199376, + "FF_percent": 86.9876, + "PCE_percent": 26.6926 + } + }, + { + "coordinates": [ + 1000000000000, + -0.1 + ], + "worksheet_row": 56, + "status": "ok", + "values": { + "Voc_V": 1.217204, + "Jsc_mA_cm2": 26.28153965, + "FF_percent": 88.0108, + "PCE_percent": 28.1547 + } + }, + { + "coordinates": [ + 1000000000000, + -0.05 + ], + "worksheet_row": 57, + "status": "ok", + "values": { + "Voc_V": 1.240043, + "Jsc_mA_cm2": 26.28156065, + "FF_percent": 89.4021, + "PCE_percent": 29.1364 + } + }, + { + "coordinates": [ + 1000000000000, + 0 + ], + "worksheet_row": 58, + "status": "ok", + "values": { + "Voc_V": 1.247696, + "Jsc_mA_cm2": 26.28148444, + "FF_percent": 90.424, + "PCE_percent": 29.6512 + } + }, + { + "coordinates": [ + 1000000000000, + 0.1 + ], + "worksheet_row": 59, + "status": "ok", + "values": { + "Voc_V": 1.250391, + "Jsc_mA_cm2": 26.28116069, + "FF_percent": 90.7313, + "PCE_percent": 29.8159 + } + }, + { + "coordinates": [ + 1000000000000, + 0.2 + ], + "worksheet_row": 60, + "status": "ok", + "values": { + "Voc_V": 1.250158, + "Jsc_mA_cm2": 26.28140832, + "FF_percent": 90.7096, + "PCE_percent": 29.8035 + } + }, + { + "coordinates": [ + 1000000000000, + 0.3 + ], + "worksheet_row": 61, + "status": "ok", + "values": { + "Voc_V": 1.249937, + "Jsc_mA_cm2": 26.28168179, + "FF_percent": 90.4411, + "PCE_percent": 29.7103 + } + }, + { + "coordinates": [ + 1000000000000, + 0.4 + ], + "worksheet_row": 62, + "status": "ok", + "values": { + "Voc_V": 1.248839, + "Jsc_mA_cm2": 26.28238752, + "FF_percent": 65.1522, + "PCE_percent": 21.3846 + } + }, + { + "coordinates": [ + 1000000000000, + 0.5 + ], + "worksheet_row": 63, + "status": "ok", + "values": { + "Voc_V": 1.228325, + "Jsc_mA_cm2": 2.45339088, + "FF_percent": 23.7528, + "PCE_percent": 0.7158 + } + }, + { + "coordinates": [ + 1000000000000, + 0.6 + ], + "worksheet_row": 64, + "status": "reference_missing", + "values": { + "Voc_V": null, + "Jsc_mA_cm2": null, + "FF_percent": null, + "PCE_percent": null + }, + "reason": "four_blank_metric_cells_in_original_workbook", + "solver_execution_status": "unknown", + "classification": "reference_missing_not_evidence_of_solver_failure" + }, + { + "coordinates": [ + 1000000000000, + 0.7 + ], + "worksheet_row": 65, + "status": "reference_missing", + "values": { + "Voc_V": null, + "Jsc_mA_cm2": null, + "FF_percent": null, + "PCE_percent": null + }, + "reason": "four_blank_metric_cells_in_original_workbook", + "solver_execution_status": "unknown", + "classification": "reference_missing_not_evidence_of_solver_failure" + }, + { + "coordinates": [ + 10000000000000, + -1 + ], + "worksheet_row": 66, + "status": "ok", + "values": { + "Voc_V": 0.251814, + "Jsc_mA_cm2": 26.30353246, + "FF_percent": 64.2968, + "PCE_percent": 4.2588 + } + }, + { + "coordinates": [ + 10000000000000, + -0.75 + ], + "worksheet_row": 67, + "status": "ok", + "values": { + "Voc_V": 0.499805, + "Jsc_mA_cm2": 26.28882065, + "FF_percent": 77.5971, + "PCE_percent": 10.1957 + } + }, + { + "coordinates": [ + 10000000000000, + -0.5 + ], + "worksheet_row": 68, + "status": "ok", + "values": { + "Voc_V": 0.749663, + "Jsc_mA_cm2": 26.28436064, + "FF_percent": 83.3992, + "PCE_percent": 16.4333 + } + }, + { + "coordinates": [ + 10000000000000, + -0.25 + ], + "worksheet_row": 69, + "status": "ok", + "values": { + "Voc_V": 0.999736, + "Jsc_mA_cm2": 26.28236694, + "FF_percent": 86.6566, + "PCE_percent": 22.7694 + } + }, + { + "coordinates": [ + 10000000000000, + -0.2 + ], + "worksheet_row": 70, + "status": "ok", + "values": { + "Voc_V": 1.049312, + "Jsc_mA_cm2": 26.28206049, + "FF_percent": 87.1191, + "PCE_percent": 24.0258 + } + }, + { + "coordinates": [ + 10000000000000, + -0.16 + ], + "worksheet_row": 71, + "status": "ok", + "values": { + "Voc_V": 1.088511, + "Jsc_mA_cm2": 26.28197167, + "FF_percent": 87.5539, + "PCE_percent": 25.0476 + } + }, + { + "coordinates": [ + 10000000000000, + -0.1 + ], + "worksheet_row": 72, + "status": "ok", + "values": { + "Voc_V": 1.145684, + "Jsc_mA_cm2": 26.28151982, + "FF_percent": 88.221, + "PCE_percent": 26.5636 + } + }, + { + "coordinates": [ + 10000000000000, + -0.05 + ], + "worksheet_row": 73, + "status": "ok", + "values": { + "Voc_V": 1.189756, + "Jsc_mA_cm2": 26.28154249, + "FF_percent": 88.7024, + "PCE_percent": 27.736 + } + }, + { + "coordinates": [ + 10000000000000, + 0 + ], + "worksheet_row": 74, + "status": "ok", + "values": { + "Voc_V": 1.223625, + "Jsc_mA_cm2": 26.28146801, + "FF_percent": 89.3356, + "PCE_percent": 28.7291 + } + }, + { + "coordinates": [ + 10000000000000, + 0.1 + ], + "worksheet_row": 75, + "status": "ok", + "values": { + "Voc_V": 1.246155, + "Jsc_mA_cm2": 26.28114965, + "FF_percent": 90.4733, + "PCE_percent": 29.6304 + } + }, + { + "coordinates": [ + 10000000000000, + 0.2 + ], + "worksheet_row": 76, + "status": "ok", + "values": { + "Voc_V": 1.248631, + "Jsc_mA_cm2": 26.28140141, + "FF_percent": 90.6275, + "PCE_percent": 29.7401 + } + }, + { + "coordinates": [ + 10000000000000, + 0.3 + ], + "worksheet_row": 77, + "status": "ok", + "values": { + "Voc_V": 1.248844, + "Jsc_mA_cm2": 26.28167539, + "FF_percent": 90.3863, + "PCE_percent": 29.6664 + } + }, + { + "coordinates": [ + 10000000000000, + 0.4 + ], + "worksheet_row": 78, + "status": "ok", + "values": { + "Voc_V": 1.241369, + "Jsc_mA_cm2": 26.28234313, + "FF_percent": 65.1022, + "PCE_percent": 21.2403 + } + }, + { + "coordinates": [ + 10000000000000, + 0.5 + ], + "worksheet_row": 79, + "status": "reference_missing", + "values": { + "Voc_V": null, + "Jsc_mA_cm2": null, + "FF_percent": null, + "PCE_percent": null + }, + "reason": "four_blank_metric_cells_in_original_workbook", + "solver_execution_status": "unknown", + "classification": "reference_missing_not_evidence_of_solver_failure" + }, + { + "coordinates": [ + 10000000000000, + 0.6 + ], + "worksheet_row": 80, + "status": "reference_missing", + "values": { + "Voc_V": null, + "Jsc_mA_cm2": null, + "FF_percent": null, + "PCE_percent": null + }, + "reason": "four_blank_metric_cells_in_original_workbook", + "solver_execution_status": "unknown", + "classification": "reference_missing_not_evidence_of_solver_failure" + }, + { + "coordinates": [ + 10000000000000, + 0.7 + ], + "worksheet_row": 81, + "status": "reference_missing", + "values": { + "Voc_V": null, + "Jsc_mA_cm2": null, + "FF_percent": null, + "PCE_percent": null + }, + "reason": "four_blank_metric_cells_in_original_workbook", + "solver_execution_status": "unknown", + "classification": "reference_missing_not_evidence_of_solver_failure" + }, + { + "coordinates": [ + 100000000000000, + -1 + ], + "worksheet_row": 82, + "status": "ok", + "values": { + "Voc_V": 0.185522, + "Jsc_mA_cm2": 26.29364861, + "FF_percent": 59.242, + "PCE_percent": 2.8899 + } + }, + { + "coordinates": [ + 100000000000000, + -0.75 + ], + "worksheet_row": 83, + "status": "ok", + "values": { + "Voc_V": 0.43314, + "Jsc_mA_cm2": 26.28766165, + "FF_percent": 76.0716, + "PCE_percent": 8.6617 + } + }, + { + "coordinates": [ + 100000000000000, + -0.5 + ], + "worksheet_row": 84, + "status": "ok", + "values": { + "Voc_V": 0.683242, + "Jsc_mA_cm2": 26.28388642, + "FF_percent": 82.771, + "PCE_percent": 14.8642 + } + }, + { + "coordinates": [ + 100000000000000, + -0.25 + ], + "worksheet_row": 85, + "status": "ok", + "values": { + "Voc_V": 0.933117, + "Jsc_mA_cm2": 26.282105, + "FF_percent": 86.3752, + "PCE_percent": 21.1829 + } + }, + { + "coordinates": [ + 100000000000000, + -0.2 + ], + "worksheet_row": 86, + "status": "ok", + "values": { + "Voc_V": 0.983141, + "Jsc_mA_cm2": 26.28182317, + "FF_percent": 86.8314, + "PCE_percent": 22.4361 + } + }, + { + "coordinates": [ + 100000000000000, + -0.16 + ], + "worksheet_row": 87, + "status": "ok", + "values": { + "Voc_V": 1.022812, + "Jsc_mA_cm2": 26.28175152, + "FF_percent": 87.2634, + "PCE_percent": 23.4575 + } + }, + { + "coordinates": [ + 100000000000000, + -0.1 + ], + "worksheet_row": 88, + "status": "ok", + "values": { + "Voc_V": 1.080609, + "Jsc_mA_cm2": 26.28132213, + "FF_percent": 87.9629, + "PCE_percent": 24.9813 + } + }, + { + "coordinates": [ + 100000000000000, + -0.05 + ], + "worksheet_row": 89, + "status": "ok", + "values": { + "Voc_V": 1.125616, + "Jsc_mA_cm2": 26.28136146, + "FF_percent": 88.5094, + "PCE_percent": 26.1835 + } + }, + { + "coordinates": [ + 100000000000000, + 0 + ], + "worksheet_row": 90, + "status": "ok", + "values": { + "Voc_V": 1.166318, + "Jsc_mA_cm2": 26.28130424, + "FF_percent": 88.9637, + "PCE_percent": 27.2695 + } + }, + { + "coordinates": [ + 100000000000000, + 0.1 + ], + "worksheet_row": 91, + "status": "ok", + "values": { + "Voc_V": 1.219504, + "Jsc_mA_cm2": 26.28103946, + "FF_percent": 89.6365, + "PCE_percent": 28.7284 + } + }, + { + "coordinates": [ + 100000000000000, + 0.2 + ], + "worksheet_row": 92, + "status": "ok", + "values": { + "Voc_V": 1.236181, + "Jsc_mA_cm2": 26.28133234, + "FF_percent": 90.0549, + "PCE_percent": 29.2575 + } + }, + { + "coordinates": [ + 100000000000000, + 0.3 + ], + "worksheet_row": 93, + "status": "ok", + "values": { + "Voc_V": 1.239642, + "Jsc_mA_cm2": 26.28161147, + "FF_percent": 89.8976, + "PCE_percent": 29.2885 + } + }, + { + "coordinates": [ + 100000000000000, + 0.4 + ], + "worksheet_row": 94, + "status": "ok", + "values": { + "Voc_V": 1.221623, + "Jsc_mA_cm2": 26.28190526, + "FF_percent": 63.9285, + "PCE_percent": 20.5253 + } + }, + { + "coordinates": [ + 100000000000000, + 0.5 + ], + "worksheet_row": 95, + "status": "reference_missing", + "values": { + "Voc_V": null, + "Jsc_mA_cm2": null, + "FF_percent": null, + "PCE_percent": null + }, + "reason": "four_blank_metric_cells_in_original_workbook", + "solver_execution_status": "unknown", + "classification": "reference_missing_not_evidence_of_solver_failure" + }, + { + "coordinates": [ + 100000000000000, + 0.6 + ], + "worksheet_row": 96, + "status": "reference_missing", + "values": { + "Voc_V": null, + "Jsc_mA_cm2": null, + "FF_percent": null, + "PCE_percent": null + }, + "reason": "four_blank_metric_cells_in_original_workbook", + "solver_execution_status": "unknown", + "classification": "reference_missing_not_evidence_of_solver_failure" + }, + { + "coordinates": [ + 100000000000000, + 0.7 + ], + "worksheet_row": 97, + "status": "reference_missing", + "values": { + "Voc_V": null, + "Jsc_mA_cm2": null, + "FF_percent": null, + "PCE_percent": null + }, + "reason": "four_blank_metric_cells_in_original_workbook", + "solver_execution_status": "unknown", + "classification": "reference_missing_not_evidence_of_solver_failure" + }, + { + "coordinates": [ + 1000000000000000, + -1 + ], + "worksheet_row": 98, + "status": "ok", + "values": { + "Voc_V": 0.130181, + "Jsc_mA_cm2": 26.20909853, + "FF_percent": 49.5847, + "PCE_percent": 1.6918 + } + }, + { + "coordinates": [ + 1000000000000000, + -0.75 + ], + "worksheet_row": 99, + "status": "ok", + "values": { + "Voc_V": 0.37814, + "Jsc_mA_cm2": 26.27692507, + "FF_percent": 72.8533, + "PCE_percent": 7.239 + } + }, + { + "coordinates": [ + 1000000000000000, + -0.5 + ], + "worksheet_row": 100, + "status": "ok", + "values": { + "Voc_V": 0.628059, + "Jsc_mA_cm2": 26.27937815, + "FF_percent": 81.0608, + "PCE_percent": 13.3791 + } + }, + { + "coordinates": [ + 1000000000000000, + -0.25 + ], + "worksheet_row": 101, + "status": "ok", + "values": { + "Voc_V": 0.878124, + "Jsc_mA_cm2": 26.27958331, + "FF_percent": 85.2041, + "PCE_percent": 19.6623 + } + }, + { + "coordinates": [ + 1000000000000000, + -0.2 + ], + "worksheet_row": 102, + "status": "ok", + "values": { + "Voc_V": 0.927991, + "Jsc_mA_cm2": 26.27953443, + "FF_percent": 85.746, + "PCE_percent": 20.911 + } + }, + { + "coordinates": [ + 1000000000000000, + -0.16 + ], + "worksheet_row": 103, + "status": "ok", + "values": { + "Voc_V": 0.967755, + "Jsc_mA_cm2": 26.27962552, + "FF_percent": 86.2206, + "PCE_percent": 21.9278 + } + }, + { + "coordinates": [ + 1000000000000000, + -0.1 + ], + "worksheet_row": 104, + "status": "ok", + "values": { + "Voc_V": 1.02565, + "Jsc_mA_cm2": 26.27940961, + "FF_percent": 86.9931, + "PCE_percent": 23.4477 + } + }, + { + "coordinates": [ + 1000000000000000, + -0.05 + ], + "worksheet_row": 105, + "status": "ok", + "values": { + "Voc_V": 1.069473, + "Jsc_mA_cm2": 26.27960757, + "FF_percent": 87.7317, + "PCE_percent": 24.6573 + } + }, + { + "coordinates": [ + 1000000000000000, + 0 + ], + "worksheet_row": 106, + "status": "ok", + "values": { + "Voc_V": 1.108523, + "Jsc_mA_cm2": 26.27971488, + "FF_percent": 88.4092, + "PCE_percent": 25.7551 + } + }, + { + "coordinates": [ + 1000000000000000, + 0.1 + ], + "worksheet_row": 107, + "status": "ok", + "values": { + "Voc_V": 1.165637, + "Jsc_mA_cm2": 26.27996302, + "FF_percent": 89.1305, + "PCE_percent": 27.3033 + } + }, + { + "coordinates": [ + 1000000000000000, + 0.2 + ], + "worksheet_row": 108, + "status": "ok", + "values": { + "Voc_V": 1.193058, + "Jsc_mA_cm2": 26.28065349, + "FF_percent": 89.5086, + "PCE_percent": 28.0649 + } + }, + { + "coordinates": [ + 1000000000000000, + 0.3 + ], + "worksheet_row": 109, + "status": "ok", + "values": { + "Voc_V": 1.201529, + "Jsc_mA_cm2": 26.2809836, + "FF_percent": 89.2966, + "PCE_percent": 28.1975 + } + }, + { + "coordinates": [ + 1000000000000000, + 0.4 + ], + "worksheet_row": 110, + "status": "ok", + "values": { + "Voc_V": 1.206672, + "Jsc_mA_cm2": 26.27805506, + "FF_percent": 60.7846, + "PCE_percent": 19.2742 + } + }, + { + "coordinates": [ + 1000000000000000, + 0.5 + ], + "worksheet_row": 111, + "status": "reference_missing", + "values": { + "Voc_V": null, + "Jsc_mA_cm2": null, + "FF_percent": null, + "PCE_percent": null + }, + "reason": "four_blank_metric_cells_in_original_workbook", + "solver_execution_status": "unknown", + "classification": "reference_missing_not_evidence_of_solver_failure" + }, + { + "coordinates": [ + 1000000000000000, + 0.6 + ], + "worksheet_row": 112, + "status": "reference_missing", + "values": { + "Voc_V": null, + "Jsc_mA_cm2": null, + "FF_percent": null, + "PCE_percent": null + }, + "reason": "four_blank_metric_cells_in_original_workbook", + "solver_execution_status": "unknown", + "classification": "reference_missing_not_evidence_of_solver_failure" + }, + { + "coordinates": [ + 1000000000000000, + 0.7 + ], + "worksheet_row": 113, + "status": "reference_missing", + "values": { + "Voc_V": null, + "Jsc_mA_cm2": null, + "FF_percent": null, + "PCE_percent": null + }, + "reason": "four_blank_metric_cells_in_original_workbook", + "solver_execution_status": "unknown", + "classification": "reference_missing_not_evidence_of_solver_failure" + } + ] + } + ], + "legacy_two_parameter_join": { + "source_id": "scaps_old_scan2d", + "old_CBO_axis_eV": [ + -1.0, + -0.75, + -0.5, + -0.25, + -0.16, + -0.1, + -0.05, + 0.0, + 0.05, + 0.1, + 0.2, + 0.3, + 0.4, + 0.5, + 0.6, + 0.7 + ], + "reference_CBO_axis_eV": [ + -1, + -0.75, + -0.5, + -0.25, + -0.2, + -0.16, + -0.1, + -0.05, + 0, + 0.1, + 0.2, + 0.3, + 0.4, + 0.5, + 0.6, + 0.7 + ], + "shared_coordinates": 105, + "shared_numeric_reference_coordinates": 93, + "reference_coordinates_without_old_solver": [ + [ + 1000000000, + -0.2 + ], + [ + 10000000000, + -0.2 + ], + [ + 100000000000, + -0.2 + ], + [ + 1000000000000, + -0.2 + ], + [ + 10000000000000, + -0.2 + ], + [ + 100000000000000, + -0.2 + ], + [ + 1000000000000000, + -0.2 + ] + ], + "old_solver_coordinates_without_reference": [ + [ + 1000000000.0, + 0.05 + ], + [ + 10000000000.0, + 0.05 + ], + [ + 100000000000.0, + 0.05 + ], + [ + 1000000000000.0, + 0.05 + ], + [ + 10000000000000.0, + 0.05 + ], + [ + 100000000000000.0, + 0.05 + ], + [ + 1000000000000000.0, + 0.05 + ] + ], + "status": "coordinate_mismatch_blocks_full_grid_acceptance", + "digitized_source_policy": "ScapsDigitized.json is plot-derived with no embedded coordinate/source uncertainty; its filled white cells never replace workbook nulls" + }, + "input_uncertainties": [ + { + "field": "interface_Nt", + "reported": "cm^-3 on PDF and workbook", + "legacy_SolarLab": "N_t_cm2", + "status": "unresolved", + "required_evidence": "Native defect entry and physical topology/thickness; do not infer an areal conversion" + }, + { + "field": "capture_cross_sections", + "reported": "cm^-3 in PDF page 1 header", + "legacy_SolarLab": "sigma_n_cm2 and sigma_p_cm2", + "status": "general_area_unit_verified_native_entry_unavailable", + "required_evidence": "Native SCAPS cross-section fields; cm^-3 is not an area unit", + "general_unit_evidence": { + "source_id": "scaps_manual", + "PDF_pages": [ + 92, + 93 + ], + "meaning": "bulk and interface sigma use cm^2; report header remains inconsistent" + } + }, + { + "field": "trap_energy_reference", + "reported": "Et=0.1 at CB/VB labels and Et=0.6 at interfaces", + "status": "native_reference_unconfirmed", + "required_evidence": "CB/VB/midgap convention for each of four distinct defects" + }, + { + "field": "Gaussian_normalization", + "reported": { + "N_total": 1000000000000.0, + "N_peak": 564000000.0, + "E_char_eV": 0.1 + }, + "status": "report_total_peak_width_inconsistent_native_choice_unavailable", + "required_evidence": "Native total-vs-peak density, energy unit, support/width and interface topology; no guessed normalization", + "general_definition_evidence": { + "source_id": "scaps_manual", + "PDF_page": 33, + "meaning": "Ntotal=Npeak*Echar*sqrt(pi)*erf(3) before bandgap clipping for the default +/-3Echar support" + }, + "diagnostic_contract_source_id": "scaps_comparison_contract" + } + ], + "missing_original_inputs": [ + { + "id": "native_device", + "status": "not_available_in_inspected_source_roots", + "scope_effect": "Preserve as an unavailable-input field; resolve or explicitly scope it in the independently reviewed comparison channel, without assuming native inputs or continuum certification", + "unavailable_source_or_field": "def/PVK-xy.scaps and linked layer/defect files" + }, + { + "id": "native_result_exports", + "status": "not_available_in_inspected_source_roots", + "scope_effect": "Preserve as an unavailable-input field; resolve or explicitly scope it in the independently reviewed comparison channel, without assuming native inputs or continuum certification", + "unavailable_source_or_field": "pair-nt-et-pvk-etl-xy_results.csv and pair-nt-cbo-pvk-etl-xy_results.csv, full JV curves and per-point solver logs" + }, + { + "id": "runtime_identity", + "status": "not_available_in_inspected_source_roots", + "scope_effect": "Preserve as an unavailable-input field; resolve or explicitly scope it in the independently reviewed comparison channel, without assuming native inputs or continuum certification", + "unavailable_source_or_field": "SCAPS version, executable, source input deck and mesh/convergence controls" + }, + { + "id": "temperature_statistics", + "status": "not_available_in_inspected_source_roots", + "scope_effect": "Preserve as an unavailable-input field; resolve or explicitly scope it in the independently reviewed comparison channel, without assuming native inputs or continuum certification", + "unavailable_source_or_field": "Actual temperature, carrier statistics and thermal/DOS conventions" + }, + { + "id": "contacts", + "status": "not_available_in_inspected_source_roots", + "scope_effect": "Preserve as an unavailable-input field; resolve or explicitly scope it in the independently reviewed comparison channel, without assuming native inputs or continuum certification", + "unavailable_source_or_field": "Left/right work functions, carrier reservoirs, barriers, velocities and boundary conditions" + }, + { + "id": "light_optics", + "status": "not_available_in_inspected_source_roots", + "scope_effect": "Preserve as an unavailable-input field; resolve or explicitly scope it in the independently reviewed comparison channel, without assuming native inputs or continuum certification", + "unavailable_source_or_field": "Spectrum/content, intensity, illumination side, reflection/transmission, optical generation, absorption data and optical-only layers" + }, + { + "id": "ion_state", + "status": "not_available_in_inspected_source_roots", + "scope_effect": "Preserve as an unavailable-input field; resolve or explicitly scope it in the independently reviewed comparison channel, without assuming native inputs or continuum certification", + "unavailable_source_or_field": "Native ion-free/immobile inventory state and background assumptions" + }, + { + "id": "steady_protocol", + "status": "not_available_in_inspected_source_roots", + "scope_effect": "Preserve as an unavailable-input field; resolve or explicitly scope it in the independently reviewed comparison channel, without assuming native inputs or continuum certification", + "unavailable_source_or_field": "Initial state, bias path, continuation/stopping rules, fallback, full output sampling and convergence evidence" + } + ], + "inspected_native_input_roots": [ + "reference", + "results/Scan2d", + "results/ScapsAnalysis", + "results/ScapsValid", + "results/ScapsValidE17" + ], + "legacy_effective_physics": { + "source_id": "scaps_mirror_v2", + "evidence_level": "calibrated_historical_reproduction", + "device": { + "het_recomb_despike": 0.53, + "contact_phi_B_eV": 0.42, + "mode": "fast", + "V_bi": 1.3, + "dos_band_potentials": true, + "flat_band_metal_contacts": true + }, + "steady_interface_calibration": { + "HTL/PVK": 0.02, + "PVK/ETL": 0.1 + }, + "driver_variants": { + "steady_state": "TE softness 0.02 without explicit regularization; frozen ions; optional calibrated interface states; fallback must be captured per point", + "transient": "Different TE/default/state path; cannot treat same YAML as same effective experiment", + "LEGACY": "Force-disabled DOS/tier hooks must be captured, not inferred from YAML" + }, + "topology_difference": "Current mirror adds optical-only glass; report native model is LIGHT -> HTL/PVK/ETL", + "CB_VB_merge_gap": "Old full/figure scripts apply the same absorber_defect_density_cm3 handler to distinct Nt_C_PVK and Nt_V_PVK; preserve both source curves and separate future defect-instance targets", + "contact_certificate": { + "historical_status": "inconsistent", + "QF_span_meV": 6.024958093, + "compatible_contact_certification_limit_meV": 5.0, + "threshold_relaxation_allowed": false, + "not_an_external_SCAPS_scan_tolerance": true + } + }, + "reported_base_parameters": { + "source_id": "scaps_pdf", + "page": 1, + "scope": "Transcribed report values; not an original executable input deck", + "layers": [ + "HTL", + "PVK", + "ETL" + ], + "parameters": { + "thickness_nm": [ + 20, + 800, + 25 + ], + "bandgap_eV": [ + 3.25, + 1.53, + 1.9 + ], + "electron_affinity_eV": [ + 2.4, + 3.94, + 4.1 + ], + "relative_permittivity": [ + 11.75, + 31, + 4.2 + ], + "NC_cm3": [ + 2.5e+20, + 1e+19, + 8e+19 + ], + "NV_cm3": [ + 2.5e+20, + 1e+19, + 8e+19 + ], + "electron_thermal_velocity_cm_s": [ + 10000000.0, + 10000000.0, + 10000000.0 + ], + "hole_thermal_velocity_cm_s": [ + 10000000.0, + 10000000.0, + 10000000.0 + ], + "electron_mobility_cm2_Vs": [ + 0.001, + 20, + 0.01 + ], + "hole_mobility_cm2_Vs": [ + 0.001, + 20, + 1e-05 + ], + "donor_density_cm3": [ + 0, + 100000000000000.0, + 1e+18 + ], + "acceptor_density_cm3": [ + 1e+18, + 0, + 0 + ], + "radiative_coefficient_cm3_s": [ + 0, + 1e-12, + 0 + ], + "Auger_electron_coefficient_cm6_s": [ + 0, + 2.3e-29, + 0 + ], + "Auger_hole_coefficient_cm6_s": [ + 0, + 2.3e-29, + 0 + ] + }, + "defect_columns": [ + "HTL/Perovskite", + "Perovskite-CB", + "Perovskite-VB", + "Perovskite/ETL" + ], + "defect_parameters_as_reported": { + "type": [ + "Neutral", + "Neutral", + "Neutral", + "Neutral" + ], + "sigma_electrons": [ + 1e-19, + 1e-15, + 1e-15, + 1e-19 + ], + "sigma_holes": [ + 1e-19, + 1e-15, + 1e-15, + 1e-19 + ], + "sigma_header_unit": "cm^-3 (inconsistent with a cross-section; not silently corrected)", + "distribution": [ + "Single", + "Single", + "Single", + "Gaussian" + ], + "energy_level_eV": [ + 0.6, + 0.1, + 0.1, + 0.6 + ], + "characteristic_energy_eV": [ + null, + null, + null, + 0.1 + ], + "total_density_as_reported_cm3": [ + 1000000000000.0, + 1000000000000.0, + 1000000000000.0, + 1000000000000.0 + ], + "peak_density_as_reported_cm3": [ + null, + null, + null, + 564000000.0 + ] + }, + "native_energy_reference_and_interface_topology": "unconfirmed; requires original defect records" + }, + "input_scope_policy": "Native input and full-JV absence is reported, not a universal veto on metric/table comparison; original unknowns, inferred reconstruction and historical calibration must be explicit and independently reviewed", + "comparison_preparation": { + "contract_source_id": "scaps_comparison_contract", + "source_precision_diagnostic_id": "scaps_table_provenance", + "scope": "All 247 numeric reported rows and PDF base record; retain all 14 reference-missing coordinates and conditional native-JV comparison", + "all_988_metric_cells_match_workbook_binary_values": true, + "reconstructed_alias_discrepant_metrics": 20, + "reconstructed_alias_discrepant_conditions": 7, + "alias_policy": "Preserve all source rows and keep possibly equal reconstructed conditions in one calibration partition; native physical/protocol equivalence remains unproved", + "known_coupling_rectangles": { + "scaps_nt_et": 42, + "scaps_nt_cbo": 78 + }, + "reference_missing_coupling_rectangles": { + "scaps_nt_et": 0, + "scaps_nt_cbo": 12 + }, + "contract_status": "frozen_standard_reference_qualification_pending" + } + }, + "hi": { + "scope": "Finite-time internal figure reference; quantitative Calado paper reproduction remains unresolved and is not expanded by this task", + "reference_D_m2_s": 2.585e-18, + "reference_c0_m3": 1e+25, + "temperature_K": 300, + "nominal_request": { + "config_path": null, + "device": { + "device": { + "Phi": 2.5e+22, + "S_n_left": null, + "S_n_right": null, + "S_p_left": null, + "S_p_right": null, + "T": 300, + "V_bi": 1.3, + "interfaces": [ + [ + 0, + 0 + ], + [ + 0, + 0 + ] + ], + "mode": "full" + }, + "layers": [ + { + "B_rad": 1e-16, + "C_n": 0, + "C_p": 0, + "D_ion": 0, + "Eg": 0, + "N_A": 2.9999999999999997e+23, + "N_D": 0, + "P0": 0, + "P_lim": 1e+30, + "alpha": 0, + "chi": 0, + "ct_beta_n": 0, + "ct_beta_p": 0, + "eps_r": 20, + "incoherent": false, + "mu_n": 0.002, + "mu_p": 0.002, + "n1": 305, + "name": "p_contact", + "ni": 3620000000000, + "optical_material": null, + "p1": 4.36e+22, + "pf_gamma_n": 0, + "pf_gamma_p": 0, + "role": "HTL", + "tau_n": 2e-15, + "tau_p": 2e-15, + "thickness": 2e-07, + "v_sat_n": 0, + "v_sat_p": 0 + }, + { + "B_rad": 1e-16, + "C_n": 0, + "C_p": 0, + "D_ion": 2.585e-18, + "Eg": 0, + "N_A": 0, + "N_D": 0, + "P0": 1e+25, + "P_lim": 1e+30, + "alpha": 100000, + "chi": 0, + "ct_beta_n": 0, + "ct_beta_p": 0, + "eps_r": 20, + "incoherent": false, + "mu_n": 0.002, + "mu_p": 0.002, + "n1": 3620000000000, + "name": "MAPbI3", + "ni": 3620000000000, + "optical_material": null, + "p1": 3620000000000, + "pf_gamma_n": 0, + "pf_gamma_p": 0, + "role": "absorber", + "tau_n": 1, + "tau_p": 1, + "thickness": 4e-07, + "v_sat_n": 0, + "v_sat_p": 0 + }, + { + "B_rad": 1e-16, + "C_n": 0, + "C_p": 0, + "D_ion": 0, + "Eg": 0, + "N_A": 0, + "N_D": 2.9999999999999997e+23, + "P0": 0, + "P_lim": 1e+30, + "alpha": 0, + "chi": 0, + "ct_beta_n": 0, + "ct_beta_p": 0, + "eps_r": 20, + "incoherent": false, + "mu_n": 0.002, + "mu_p": 0.002, + "n1": 4.36e+22, + "name": "n_contact", + "ni": 3620000000000, + "optical_material": null, + "p1": 305, + "pf_gamma_n": 0, + "pf_gamma_p": 0, + "role": "ETL", + "tau_n": 2e-15, + "tau_p": 2e-15, + "thickness": 2e-07, + "v_sat_n": 0, + "v_sat_p": 0 + } + ] + }, + "kind": "spatial", + "params": { + "N_grid": 60, + "V_max": 1.2, + "iface_states": false, + "illuminated": true, + "interface_boundary": false, + "interface_transport_model": "fermi_richardson", + "n_points": 111, + "solver": "transient", + "v_rate": 0.04, + "waveform": { + "branch_dwell_s": 0.5, + "dark_prep_s": 30, + "dark_seed_s": 120, + "schema_version": 1, + "start_voltage_V": -1, + "turnaround_dark": true, + "turnaround_s": 3, + "uniform_generation_rate_m3_s": 2.5e+27 + }, + "waveform_controls": { + "atol_m3": 1, + "rtol": 0.0001 + } + } + }, + "nominal_request_sha256": "f85b35f9926a85b31bb8c865c91d1ab093abdca5dbcf06a906b940aa0ee13d6d", + "coverage": { + "nominal_records": 45, + "diffusivity_records": 21, + "density_records": 21, + "rate_records": 3, + "distinct_exact_request_hashes": 43, + "records_removed_by_deduplication": 0, + "full_source_identity_deduplication": "not_performed_missing_full_historical_environment_and_preseed_state_binding", + "all_45_raw_sha256_pins_verified": true, + "all_45_stored_curve_pairs_available": true, + "recorded_voltage_samples_per_branch": 111, + "current_samples_per_branch": 110, + "actual_nodes": 61 + }, + "request_identity_relations": [ + { + "request_sha256": "f85b35f9926a85b31bb8c865c91d1ab093abdca5dbcf06a906b940aa0ee13d6d", + "case_ids": [ + "hi_diffusivity_10", + "hi_density_10", + "hi_rate_40" + ], + "relation": "same_exact_request_not_proven_same_full_run_identity" + } + ], + "protocol": { + "dark_seed": { + "voltage_V": 0, + "duration_s": 120 + }, + "dark_preparation": { + "voltage_V": -1, + "duration_s": 30 + }, + "forward_light_dwell_s": 0.5, + "forward": [ + -1, + 1.2 + ], + "dark_turnaround_s": 3, + "reverse_light_dwell_s": 0.5, + "reverse": [ + 1.2, + -1 + ], + "rates_V_s": [ + 0.02, + 0.04, + 0.08 + ], + "branch_durations_s": [ + 110, + 55, + 27.5 + ], + "uniform_generation_m3_s": 2.5e+27, + "driver": "continuous waveform, finite-time Radau; no substitution of a steady solve", + "all_four_contact_S": null, + "contact_semantics": "Original all-carrier Dirichlet; not paper mixed-minority contacts", + "effective_material_input": "Exact nominal_request.device retained; alter only the selected absorber field", + "numerics": { + "requested_N_grid": 60, + "actual_nodes": 61, + "samples_per_branch": 111, + "rtol": 0.0001, + "atol_m3": 1 + } + }, + "controls": { + "diffusivity": { + "ratios": [ + 0.0, + 0.1, + 0.2, + 0.3, + 0.4, + 0.5, + 0.6, + 0.7, + 0.8, + 0.9, + 1.0, + 1.1, + 1.2, + 1.3, + 1.4, + 1.5, + 1.6, + 1.7, + 1.8, + 1.9, + 2.0 + ], + "varied_field": "absorber.D_ion", + "fixed_c0_m3": 1e+25, + "zero_meaning": "D=0 keeps the uniform mobile-ion population and equal negative background" + }, + "density": { + "ratios": [ + 0.0, + 0.1, + 0.2, + 0.3, + 0.4, + 0.5, + 0.6, + 0.7, + 0.8, + 0.9, + 1.0, + 1.1, + 1.2, + 1.3, + 1.4, + 1.5, + 1.6, + 1.7, + 1.8, + 1.9, + 2.0 + ], + "varied_field": "absorber.P0", + "fixed_D_m2_s": 2.585e-18, + "zero_meaning": "c0=0 removes initial mobile inventory and fixed countercharge", + "coupling": "Every c0 change updates both fixed negative background and initial mobile population" + } + }, + "metric_contract": { + "HI_P": "Pmax_reverse/Pmax_forward - 1", + "HI_normalized": "(Pmax_reverse-Pmax_forward)/Pmax_reverse", + "zero_denominator": "unknown with null value and reason; never filled with zero", + "weak_forward_power": "Propagate independent Pmax uncertainty before accepting a large HI; do not enlarge floors from candidate results", + "required_acceptance_outputs": [ + "both full native J-V branches including negative bias and injection", + "Pmax on each branch", + "Jsc on each branch", + "Voc and bracket/slope on each branch", + "FF and PCE when defined", + "both explicitly named HI definitions", + "inventory/current components and first-point status" + ], + "first_point": "Original stored-state current reconstruction omitted index 0 on each branch because its predecessor was not exported; this omission is tagged and does not authorize new solvers to discard first points", + "PCHIP": "401-point display guides are not new simulations, observations, or accepted sample counts" + }, + "cases": [ + { + "id": "hi_diffusivity_00", + "axis": "diffusivity", + "parameter_value": 0.0, + "source_id": "hi_diffusivity_00_raw", + "original_source_path": "/Users/shane/Library/CloudStorage/OneDrive-HKUST(Guangzhou)/SolarLab/perovskite-sim/outputs/calado-reproduction/DenseIonMatrixV1/diffusivity/Ratio00.json", + "archived_job_id": "b3190e8e2edb4597959dfdfbc095a578", + "archived_status": "done", + "request_sha256": "1874637035543170d5aff7b76da1229dd5557cd68e4976a52ac1d5b181740845", + "device_input_sha256": "0d29b86107343a565e8538380c23874abc4a7f94c9da2e290aa4ed0a8f0a2106", + "protocol_sha256": "69f70d018b738d2cd9fce99f36bc2cab6137c23717da36752b9d071d8721a592", + "protocol_json_sha256": "69f70d018b738d2cd9fce99f36bc2cab6137c23717da36752b9d071d8721a592", + "numerical_controls_sha256": "96c0a3bdb7c9d5e33403bf90f556698e592259e63747c2e02f68cd3b5c0a82a3", + "available_first_forward_snapshot_sha256": "5d85994276baddbadd6a4af0fabc36ad5c8b89f7219af2b1a1628807c004380e", + "available_first_reverse_snapshot_sha256": "61baa3d3bcb2f36fa0471132c486674e690f38425fd904f0b0edcfa78476ff59", + "initial_state_before_dark_seed_sha256": null, + "environment_sha256": null, + "full_runtime_source_sha256": null, + "jacobian_evaluator": "analytic_single_ion_density", + "jacobian_fallback_reason": null, + "recorded_elapsed_s": 9.491677291924134, + "D_ion_m2_s": 0.0, + "c0_m3": 1e+25, + "scan_rate_V_s": 0.04, + "recorded_voltage_samples_per_branch": 111, + "stored_current_samples_per_branch": 110, + "curve_source": { + "source_id": "hi_dense_matrix", + "json_pointer": "/groups/diffusivity/cases/0/curves" + }, + "curve_sha256": "07b3b7e5f383228005435f8f4c4d148b2515f617c5fe7f72774c99fa5513e3c3", + "branch_sampling_sha256": { + "fwd": "a4c48da6b4cc6af60783f57162c7c3c2e04634a72a4068d2343a8f077f0940d7", + "rev": "3ad0546425c3956638f28ddd1bedabbc7a8b7d3ba60dba4447d7de6e57706749" + }, + "metrics": { + "HI_P_recorded": 2.8735776202992724e-07, + "HI_P_from_stored_currents": 2.8735776202992724e-07, + "HI_normalized_recorded": 2.873576794145009e-07, + "HI_normalized_from_stored_currents": 2.8735767939768684e-07, + "Pmax_forward_W_m2": 112.2497461919141, + "Pmax_reverse_W_m2": 112.24977844774995 + }, + "metric_extraction": "Independent scalar arithmetic on already stored current arrays; no current reconstruction or integration executed", + "power_uncertainty": null, + "HI_resolution_status": "unknown_pending_independent_power_uncertainty", + "snapshot_inventory_relative_drift": 2.5613022346908697e-16, + "reference_inventory_m2": 3.997966292812723e+18, + "comparison_status": "historical_reference_only_not_acceptance_qualified" + }, + { + "id": "hi_diffusivity_01", + "axis": "diffusivity", + "parameter_value": 0.1, + "source_id": "hi_diffusivity_01_raw", + "original_source_path": "/Users/shane/Library/CloudStorage/OneDrive-HKUST(Guangzhou)/SolarLab/perovskite-sim/outputs/calado-reproduction/DenseIonMatrixV1/diffusivity/Ratio01.json", + "archived_job_id": "6832adc24ff342b7b5ca12b862c5f7e7", + "archived_status": "done", + "request_sha256": "54f909af7f5d99e6d5d84c515100ac58e876e1eaa7345e0bd2b95c27622dd02a", + "device_input_sha256": "09814fdac33bf20fda455bcca6eeb7d7d560426245cd540feb904171b1987ca5", + "protocol_sha256": "69f70d018b738d2cd9fce99f36bc2cab6137c23717da36752b9d071d8721a592", + "protocol_json_sha256": "69f70d018b738d2cd9fce99f36bc2cab6137c23717da36752b9d071d8721a592", + "numerical_controls_sha256": "96c0a3bdb7c9d5e33403bf90f556698e592259e63747c2e02f68cd3b5c0a82a3", + "available_first_forward_snapshot_sha256": "608263b535cc8242716ce91c074a170f655df41093db8d26185c7afbbe368196", + "available_first_reverse_snapshot_sha256": "1d2c20f7bc1cbada0b682fb17dca8ff8bc1d05df689239638c21da59136f5975", + "initial_state_before_dark_seed_sha256": null, + "environment_sha256": null, + "full_runtime_source_sha256": null, + "jacobian_evaluator": "analytic_single_ion_density", + "jacobian_fallback_reason": null, + "recorded_elapsed_s": 13.255729416850954, + "D_ion_m2_s": 2.585e-19, + "c0_m3": 1e+25, + "scan_rate_V_s": 0.04, + "recorded_voltage_samples_per_branch": 111, + "stored_current_samples_per_branch": 110, + "curve_source": { + "source_id": "hi_dense_matrix", + "json_pointer": "/groups/diffusivity/cases/1/curves" + }, + "curve_sha256": "77fb0f562865a5d7872ad9bec6eeab3af248c654f6bce73647b9af75781980f4", + "branch_sampling_sha256": { + "fwd": "a4c48da6b4cc6af60783f57162c7c3c2e04634a72a4068d2343a8f077f0940d7", + "rev": "3ad0546425c3956638f28ddd1bedabbc7a8b7d3ba60dba4447d7de6e57706749" + }, + "metrics": { + "HI_P_recorded": 51.546464203412725, + "HI_P_from_stored_currents": 51.546464203412725, + "HI_normalized_recorded": 0.9809692238067836, + "HI_normalized_from_stored_currents": 0.9809692238067836, + "Pmax_forward_W_m2": 1.2665893159445412, + "Pmax_reverse_W_m2": 66.55479015070485 + }, + "metric_extraction": "Independent scalar arithmetic on already stored current arrays; no current reconstruction or integration executed", + "power_uncertainty": null, + "HI_resolution_status": "unknown_pending_independent_power_uncertainty", + "snapshot_inventory_relative_drift": 2.8174324581599568e-15, + "reference_inventory_m2": 3.997966292812723e+18, + "comparison_status": "historical_reference_only_not_acceptance_qualified" + }, + { + "id": "hi_diffusivity_02", + "axis": "diffusivity", + "parameter_value": 0.2, + "source_id": "hi_diffusivity_02_raw", + "original_source_path": "/Users/shane/Library/CloudStorage/OneDrive-HKUST(Guangzhou)/SolarLab/perovskite-sim/outputs/calado-reproduction/DenseIonMatrixV1/diffusivity/Ratio02.json", + "archived_job_id": "77861c949dc6402383ffa4caf6a09352", + "archived_status": "done", + "request_sha256": "8ee6414af963bb9f9134e7a168b02904134514285b69985b66ffbde5f044555a", + "device_input_sha256": "c342bd3d714746f451741167b1d72f48f8533492a884c449cdbd96580ad719f0", + "protocol_sha256": "69f70d018b738d2cd9fce99f36bc2cab6137c23717da36752b9d071d8721a592", + "protocol_json_sha256": "69f70d018b738d2cd9fce99f36bc2cab6137c23717da36752b9d071d8721a592", + "numerical_controls_sha256": "96c0a3bdb7c9d5e33403bf90f556698e592259e63747c2e02f68cd3b5c0a82a3", + "available_first_forward_snapshot_sha256": "3bf8bcfc520875ed6725005d16ec8bd5488d98056b8ad28626d625b5d761b2bd", + "available_first_reverse_snapshot_sha256": "42781d7964175462d7f21e56de270d28a0383794174f09e3c17c644cc32eb885", + "initial_state_before_dark_seed_sha256": null, + "environment_sha256": null, + "full_runtime_source_sha256": null, + "jacobian_evaluator": "analytic_single_ion_density", + "jacobian_fallback_reason": null, + "recorded_elapsed_s": 13.534756958950311, + "D_ion_m2_s": 5.17e-19, + "c0_m3": 1e+25, + "scan_rate_V_s": 0.04, + "recorded_voltage_samples_per_branch": 111, + "stored_current_samples_per_branch": 110, + "curve_source": { + "source_id": "hi_dense_matrix", + "json_pointer": "/groups/diffusivity/cases/2/curves" + }, + "curve_sha256": "28d6a17b110d17e7642753b1cdf9806871a2a85311132c3c2921614723d883b8", + "branch_sampling_sha256": { + "fwd": "a4c48da6b4cc6af60783f57162c7c3c2e04634a72a4068d2343a8f077f0940d7", + "rev": "3ad0546425c3956638f28ddd1bedabbc7a8b7d3ba60dba4447d7de6e57706749" + }, + "metrics": { + "HI_P_recorded": 96.20383321514848, + "HI_P_from_stored_currents": 96.20383321514848, + "HI_normalized_recorded": 0.9897123398643486, + "HI_normalized_from_stored_currents": 0.9897123398643485, + "Pmax_forward_W_m2": 0.8051574747501198, + "Pmax_reverse_W_m2": 78.26439288754077 + }, + "metric_extraction": "Independent scalar arithmetic on already stored current arrays; no current reconstruction or integration executed", + "power_uncertainty": null, + "HI_resolution_status": "unknown_pending_independent_power_uncertainty", + "snapshot_inventory_relative_drift": 1.6648464525490652e-15, + "reference_inventory_m2": 3.997966292812723e+18, + "comparison_status": "historical_reference_only_not_acceptance_qualified" + }, + { + "id": "hi_diffusivity_03", + "axis": "diffusivity", + "parameter_value": 0.3, + "source_id": "hi_diffusivity_03_raw", + "original_source_path": "/Users/shane/Library/CloudStorage/OneDrive-HKUST(Guangzhou)/SolarLab/perovskite-sim/outputs/calado-reproduction/DenseIonMatrixV1/diffusivity/Ratio03.json", + "archived_job_id": "ea8d90b587634166be544762e85c4aff", + "archived_status": "done", + "request_sha256": "b298723cc2269943adc417704212f3cbcf63ec42e1b83a3de556c2304edf8b1b", + "device_input_sha256": "e3e88a3ffe5aefbffb9215a2810a8539644d9353ab26dbca7aa9124f2f92dcfd", + "protocol_sha256": "69f70d018b738d2cd9fce99f36bc2cab6137c23717da36752b9d071d8721a592", + "protocol_json_sha256": "69f70d018b738d2cd9fce99f36bc2cab6137c23717da36752b9d071d8721a592", + "numerical_controls_sha256": "96c0a3bdb7c9d5e33403bf90f556698e592259e63747c2e02f68cd3b5c0a82a3", + "available_first_forward_snapshot_sha256": "8511262c27b33d431812456bb324fd835fda63dcadcea14916ea5bcb461d43f0", + "available_first_reverse_snapshot_sha256": "b0c96aa0526ba23e84b4fce65a13a434f69ca76bfe941f742e2a639da3518ab6", + "initial_state_before_dark_seed_sha256": null, + "environment_sha256": null, + "full_runtime_source_sha256": null, + "jacobian_evaluator": "analytic_single_ion_density", + "jacobian_fallback_reason": null, + "recorded_elapsed_s": 13.645294624846429, + "D_ion_m2_s": 7.755e-19, + "c0_m3": 1e+25, + "scan_rate_V_s": 0.04, + "recorded_voltage_samples_per_branch": 111, + "stored_current_samples_per_branch": 110, + "curve_source": { + "source_id": "hi_dense_matrix", + "json_pointer": "/groups/diffusivity/cases/3/curves" + }, + "curve_sha256": "f45bfe870346056985ea5f2a3efce42220541f631f6b75fde071d46b939d1f1d", + "branch_sampling_sha256": { + "fwd": "a4c48da6b4cc6af60783f57162c7c3c2e04634a72a4068d2343a8f077f0940d7", + "rev": "3ad0546425c3956638f28ddd1bedabbc7a8b7d3ba60dba4447d7de6e57706749" + }, + "metrics": { + "HI_P_recorded": 31.346813937146543, + "HI_P_from_stored_currents": 31.346813937146543, + "HI_normalized_recorded": 0.9690850541897847, + "HI_normalized_from_stored_currents": 0.9690850541897847, + "Pmax_forward_W_m2": 2.47100283080939, + "Pmax_reverse_W_m2": 79.92906880635374 + }, + "metric_extraction": "Independent scalar arithmetic on already stored current arrays; no current reconstruction or integration executed", + "power_uncertainty": null, + "HI_resolution_status": "unknown_pending_independent_power_uncertainty", + "snapshot_inventory_relative_drift": 1.792911564283609e-15, + "reference_inventory_m2": 3.997966292812723e+18, + "comparison_status": "historical_reference_only_not_acceptance_qualified" + }, + { + "id": "hi_diffusivity_04", + "axis": "diffusivity", + "parameter_value": 0.4, + "source_id": "hi_diffusivity_04_raw", + "original_source_path": "/Users/shane/Library/CloudStorage/OneDrive-HKUST(Guangzhou)/SolarLab/perovskite-sim/outputs/calado-reproduction/DenseIonMatrixV1/diffusivity/Ratio04.json", + "archived_job_id": "e66307952cda4b76a416657ebb20d3f9", + "archived_status": "done", + "request_sha256": "0484dbe15c07fc6ae0fec3adc508a5d1bd1e3a40e799a5e5d6fcc076473e6b24", + "device_input_sha256": "67459064fc7f57377e21aea08ed84a1ad3b1cbe0033811da509ed4f064e4cb65", + "protocol_sha256": "69f70d018b738d2cd9fce99f36bc2cab6137c23717da36752b9d071d8721a592", + "protocol_json_sha256": "69f70d018b738d2cd9fce99f36bc2cab6137c23717da36752b9d071d8721a592", + "numerical_controls_sha256": "96c0a3bdb7c9d5e33403bf90f556698e592259e63747c2e02f68cd3b5c0a82a3", + "available_first_forward_snapshot_sha256": "593121f37ae24c01888e97137d16bcb7aed424d8781ccf014685f6a871d51bd3", + "available_first_reverse_snapshot_sha256": "7f013abff5cf116e40035970a884feb0884056da3bf3d7b10ff87fca55559f3f", + "initial_state_before_dark_seed_sha256": null, + "environment_sha256": null, + "full_runtime_source_sha256": null, + "jacobian_evaluator": "analytic_single_ion_density", + "jacobian_fallback_reason": null, + "recorded_elapsed_s": 13.505559916840866, + "D_ion_m2_s": 1.034e-18, + "c0_m3": 1e+25, + "scan_rate_V_s": 0.04, + "recorded_voltage_samples_per_branch": 111, + "stored_current_samples_per_branch": 110, + "curve_source": { + "source_id": "hi_dense_matrix", + "json_pointer": "/groups/diffusivity/cases/4/curves" + }, + "curve_sha256": "8a6efc709d75f8821886059d56a3efa23a075d4c14ceebceadb93986196aa617", + "branch_sampling_sha256": { + "fwd": "a4c48da6b4cc6af60783f57162c7c3c2e04634a72a4068d2343a8f077f0940d7", + "rev": "3ad0546425c3956638f28ddd1bedabbc7a8b7d3ba60dba4447d7de6e57706749" + }, + "metrics": { + "HI_P_recorded": 9.057256121022913, + "HI_P_from_stored_currents": 9.057256121022913, + "HI_normalized_recorded": 0.9005693016100409, + "HI_normalized_from_stored_currents": 0.9005693016100409, + "Pmax_forward_W_m2": 8.041158553356956, + "Pmax_reverse_W_m2": 80.871991080865 + }, + "metric_extraction": "Independent scalar arithmetic on already stored current arrays; no current reconstruction or integration executed", + "power_uncertainty": null, + "HI_resolution_status": "unknown_pending_independent_power_uncertainty", + "snapshot_inventory_relative_drift": 1.280651117345435e-15, + "reference_inventory_m2": 3.997966292812723e+18, + "comparison_status": "historical_reference_only_not_acceptance_qualified" + }, + { + "id": "hi_diffusivity_05", + "axis": "diffusivity", + "parameter_value": 0.5, + "source_id": "hi_diffusivity_05_raw", + "original_source_path": "/Users/shane/Library/CloudStorage/OneDrive-HKUST(Guangzhou)/SolarLab/perovskite-sim/outputs/calado-reproduction/DenseIonMatrixV1/diffusivity/Ratio05.json", + "archived_job_id": "858e99f072324ddda9681d074370b7d0", + "archived_status": "done", + "request_sha256": "32912b3ca87c5733def6ec05c3388fca29d637a3b6d0fbd931f9ffec7b537e5f", + "device_input_sha256": "6098d7d1f994e58822d7ec9dc7fd7b037a21518d87225a780ccddb588011ab7e", + "protocol_sha256": "69f70d018b738d2cd9fce99f36bc2cab6137c23717da36752b9d071d8721a592", + "protocol_json_sha256": "69f70d018b738d2cd9fce99f36bc2cab6137c23717da36752b9d071d8721a592", + "numerical_controls_sha256": "96c0a3bdb7c9d5e33403bf90f556698e592259e63747c2e02f68cd3b5c0a82a3", + "available_first_forward_snapshot_sha256": "7922bb313af7d6e30e6a92cbf62217c1d26c5c3b3a1b646ce75b0784937a9e20", + "available_first_reverse_snapshot_sha256": "6f866f3ea981e312d18585444956a858197e9349d780c095e82e0a5ec539d252", + "initial_state_before_dark_seed_sha256": null, + "environment_sha256": null, + "full_runtime_source_sha256": null, + "jacobian_evaluator": "analytic_single_ion_density", + "jacobian_fallback_reason": null, + "recorded_elapsed_s": 13.890216167084873, + "D_ion_m2_s": 1.2925e-18, + "c0_m3": 1e+25, + "scan_rate_V_s": 0.04, + "recorded_voltage_samples_per_branch": 111, + "stored_current_samples_per_branch": 110, + "curve_source": { + "source_id": "hi_dense_matrix", + "json_pointer": "/groups/diffusivity/cases/5/curves" + }, + "curve_sha256": "704c2a8d0b2ae47aeee232b5f62b432cdfe1869e01c83389e1357b62afa60842", + "branch_sampling_sha256": { + "fwd": "a4c48da6b4cc6af60783f57162c7c3c2e04634a72a4068d2343a8f077f0940d7", + "rev": "3ad0546425c3956638f28ddd1bedabbc7a8b7d3ba60dba4447d7de6e57706749" + }, + "metrics": { + "HI_P_recorded": 3.3588430472577926, + "HI_P_from_stored_currents": 3.3588430472577917, + "HI_normalized_recorded": 0.7705813241820868, + "HI_normalized_from_stored_currents": 0.7705813241820869, + "Pmax_forward_W_m2": 18.752297620461903, + "Pmax_reverse_W_m2": 81.7383221030592 + }, + "metric_extraction": "Independent scalar arithmetic on already stored current arrays; no current reconstruction or integration executed", + "power_uncertainty": null, + "HI_resolution_status": "unknown_pending_independent_power_uncertainty", + "snapshot_inventory_relative_drift": 1.6648464525490652e-15, + "reference_inventory_m2": 3.997966292812723e+18, + "comparison_status": "historical_reference_only_not_acceptance_qualified" + }, + { + "id": "hi_diffusivity_06", + "axis": "diffusivity", + "parameter_value": 0.6, + "source_id": "hi_diffusivity_06_raw", + "original_source_path": "/Users/shane/Library/CloudStorage/OneDrive-HKUST(Guangzhou)/SolarLab/perovskite-sim/outputs/calado-reproduction/DenseIonMatrixV1/diffusivity/Ratio06.json", + "archived_job_id": "7cd2d30239c945b3ba72a8805c046c01", + "archived_status": "done", + "request_sha256": "5a645261d3218fdcea00a354cf5c5e7a47a4ab5ec7fdeb99d9e68a600ecdd09c", + "device_input_sha256": "7893da50251216861d625bde3ddae08d7662cab45c9d2a6d9ff0433d82df2b7b", + "protocol_sha256": "69f70d018b738d2cd9fce99f36bc2cab6137c23717da36752b9d071d8721a592", + "protocol_json_sha256": "69f70d018b738d2cd9fce99f36bc2cab6137c23717da36752b9d071d8721a592", + "numerical_controls_sha256": "96c0a3bdb7c9d5e33403bf90f556698e592259e63747c2e02f68cd3b5c0a82a3", + "available_first_forward_snapshot_sha256": "0deaa9e97c980b408d76405e7e8fcf8c344a1dfe94d6245e6c49235aa56f7033", + "available_first_reverse_snapshot_sha256": "1473ceaa4a2a2ef1fb2573083e23615c56ca0e9f3c3b583fdeb24cbe80f83cb7", + "initial_state_before_dark_seed_sha256": null, + "environment_sha256": null, + "full_runtime_source_sha256": null, + "jacobian_evaluator": "analytic_single_ion_density", + "jacobian_fallback_reason": null, + "recorded_elapsed_s": 14.112556708045304, + "D_ion_m2_s": 1.551e-18, + "c0_m3": 1e+25, + "scan_rate_V_s": 0.04, + "recorded_voltage_samples_per_branch": 111, + "stored_current_samples_per_branch": 110, + "curve_source": { + "source_id": "hi_dense_matrix", + "json_pointer": "/groups/diffusivity/cases/6/curves" + }, + "curve_sha256": "2bd1c9b5f8096ef40b4ebb9f8934e8b17aaeffe96daec7aff45ec6ab6e9f5890", + "branch_sampling_sha256": { + "fwd": "a4c48da6b4cc6af60783f57162c7c3c2e04634a72a4068d2343a8f077f0940d7", + "rev": "3ad0546425c3956638f28ddd1bedabbc7a8b7d3ba60dba4447d7de6e57706749" + }, + "metrics": { + "HI_P_recorded": 1.6861160215588518, + "HI_P_from_stored_currents": 1.6861160215588518, + "HI_normalized_recorded": 0.6277152617482014, + "HI_normalized_from_stored_currents": 0.6277152617482012, + "Pmax_forward_W_m2": 30.58475414161716, + "Pmax_reverse_W_m2": 82.1541981152363 + }, + "metric_extraction": "Independent scalar arithmetic on already stored current arrays; no current reconstruction or integration executed", + "power_uncertainty": null, + "HI_resolution_status": "unknown_pending_independent_power_uncertainty", + "snapshot_inventory_relative_drift": 2.689367346425413e-15, + "reference_inventory_m2": 3.997966292812723e+18, + "comparison_status": "historical_reference_only_not_acceptance_qualified" + }, + { + "id": "hi_diffusivity_07", + "axis": "diffusivity", + "parameter_value": 0.7, + "source_id": "hi_diffusivity_07_raw", + "original_source_path": "/Users/shane/Library/CloudStorage/OneDrive-HKUST(Guangzhou)/SolarLab/perovskite-sim/outputs/calado-reproduction/DenseIonMatrixV1/diffusivity/Ratio07.json", + "archived_job_id": "5725afa01c7141f39d7a1bfc8b9efa79", + "archived_status": "done", + "request_sha256": "1129e87cfe52daca38eeb9b6d5f8166b9504f7da7954328f1c06591b2ae9ecf4", + "device_input_sha256": "54bfabccfcbe4f59bf294bbf3d0ec914fcf7359911a61da9de9a6284cec973a8", + "protocol_sha256": "69f70d018b738d2cd9fce99f36bc2cab6137c23717da36752b9d071d8721a592", + "protocol_json_sha256": "69f70d018b738d2cd9fce99f36bc2cab6137c23717da36752b9d071d8721a592", + "numerical_controls_sha256": "96c0a3bdb7c9d5e33403bf90f556698e592259e63747c2e02f68cd3b5c0a82a3", + "available_first_forward_snapshot_sha256": "c85af8f75ccf60d61d7e01ea5e94fda535e2a3cd30a9159bd8dca1e6f5b476ee", + "available_first_reverse_snapshot_sha256": "fd613d8ab654891a8c47456989fa11d4a15e58d74a43689d67d1739707328615", + "initial_state_before_dark_seed_sha256": null, + "environment_sha256": null, + "full_runtime_source_sha256": null, + "jacobian_evaluator": "analytic_single_ion_density", + "jacobian_fallback_reason": null, + "recorded_elapsed_s": 14.233587000053376, + "D_ion_m2_s": 1.8095e-18, + "c0_m3": 1e+25, + "scan_rate_V_s": 0.04, + "recorded_voltage_samples_per_branch": 111, + "stored_current_samples_per_branch": 110, + "curve_source": { + "source_id": "hi_dense_matrix", + "json_pointer": "/groups/diffusivity/cases/7/curves" + }, + "curve_sha256": "1ed91a4374f20b0c4f38f0bc32802ce84b0a691087718536877b0e968507d21a", + "branch_sampling_sha256": { + "fwd": "a4c48da6b4cc6af60783f57162c7c3c2e04634a72a4068d2343a8f077f0940d7", + "rev": "3ad0546425c3956638f28ddd1bedabbc7a8b7d3ba60dba4447d7de6e57706749" + }, + "metrics": { + "HI_P_recorded": 1.0485098116755842, + "HI_P_from_stored_currents": 1.0485098116755842, + "HI_normalized_recorded": 0.5118402683255653, + "HI_normalized_from_stored_currents": 0.5118402683255653, + "Pmax_forward_W_m2": 40.17835888328485, + "Pmax_reverse_W_m2": 82.30576238943189 + }, + "metric_extraction": "Independent scalar arithmetic on already stored current arrays; no current reconstruction or integration executed", + "power_uncertainty": null, + "HI_resolution_status": "unknown_pending_independent_power_uncertainty", + "snapshot_inventory_relative_drift": 2.3051720112217826e-15, + "reference_inventory_m2": 3.997966292812723e+18, + "comparison_status": "historical_reference_only_not_acceptance_qualified" + }, + { + "id": "hi_diffusivity_08", + "axis": "diffusivity", + "parameter_value": 0.8, + "source_id": "hi_diffusivity_08_raw", + "original_source_path": "/Users/shane/Library/CloudStorage/OneDrive-HKUST(Guangzhou)/SolarLab/perovskite-sim/outputs/calado-reproduction/DenseIonMatrixV1/diffusivity/Ratio08.json", + "archived_job_id": "a332362c20db4d5ebbca6ba0f04cf066", + "archived_status": "done", + "request_sha256": "170821f894c8633b28b6940b950acc18104fed352966627c73134099debe7f8e", + "device_input_sha256": "b0ff8f575ac2c11b5dfd400e242df64e630eca9c4dc7c34e5132929080f6070f", + "protocol_sha256": "69f70d018b738d2cd9fce99f36bc2cab6137c23717da36752b9d071d8721a592", + "protocol_json_sha256": "69f70d018b738d2cd9fce99f36bc2cab6137c23717da36752b9d071d8721a592", + "numerical_controls_sha256": "96c0a3bdb7c9d5e33403bf90f556698e592259e63747c2e02f68cd3b5c0a82a3", + "available_first_forward_snapshot_sha256": "8ae7b2507518fc82d965c04cebb95ec629cd20e95a9bd7ae926b629e654e0899", + "available_first_reverse_snapshot_sha256": "681d9ba866598e54a0547c4c4b9ff08af697a49230c60d87dda8a3f6e5db92ce", + "initial_state_before_dark_seed_sha256": null, + "environment_sha256": null, + "full_runtime_source_sha256": null, + "jacobian_evaluator": "analytic_single_ion_density", + "jacobian_fallback_reason": null, + "recorded_elapsed_s": 14.43473399989307, + "D_ion_m2_s": 2.068e-18, + "c0_m3": 1e+25, + "scan_rate_V_s": 0.04, + "recorded_voltage_samples_per_branch": 111, + "stored_current_samples_per_branch": 110, + "curve_source": { + "source_id": "hi_dense_matrix", + "json_pointer": "/groups/diffusivity/cases/8/curves" + }, + "curve_sha256": "f1bc246e44e5eb1086bf495ddc862417dc0a6fa125c7105d3760adab90cc9ef1", + "branch_sampling_sha256": { + "fwd": "a4c48da6b4cc6af60783f57162c7c3c2e04634a72a4068d2343a8f077f0940d7", + "rev": "3ad0546425c3956638f28ddd1bedabbc7a8b7d3ba60dba4447d7de6e57706749" + }, + "metrics": { + "HI_P_recorded": 0.7493602890742717, + "HI_P_from_stored_currents": 0.7493602890742717, + "HI_normalized_recorded": 0.428362466985471, + "HI_normalized_from_stored_currents": 0.4283624669854709, + "Pmax_forward_W_m2": 46.961001299949956, + "Pmax_reverse_W_m2": 82.1517108092977 + }, + "metric_extraction": "Independent scalar arithmetic on already stored current arrays; no current reconstruction or integration executed", + "power_uncertainty": null, + "HI_resolution_status": "unknown_pending_independent_power_uncertainty", + "snapshot_inventory_relative_drift": 1.5367813408145218e-15, + "reference_inventory_m2": 3.997966292812723e+18, + "comparison_status": "historical_reference_only_not_acceptance_qualified" + }, + { + "id": "hi_diffusivity_09", + "axis": "diffusivity", + "parameter_value": 0.9, + "source_id": "hi_diffusivity_09_raw", + "original_source_path": "/Users/shane/Library/CloudStorage/OneDrive-HKUST(Guangzhou)/SolarLab/perovskite-sim/outputs/calado-reproduction/DenseIonMatrixV1/diffusivity/Ratio09.json", + "archived_job_id": "3c067a11b942470e92aa8af594b78e6b", + "archived_status": "done", + "request_sha256": "25ced2a0a5647747618ce1e76860163f93d790dd0a8b53a7ac7410b00a164585", + "device_input_sha256": "366d1b1d6806bfb7f3eaec3f8185cf5cd20cae9eb6e233a5c2cb46e271a72344", + "protocol_sha256": "69f70d018b738d2cd9fce99f36bc2cab6137c23717da36752b9d071d8721a592", + "protocol_json_sha256": "69f70d018b738d2cd9fce99f36bc2cab6137c23717da36752b9d071d8721a592", + "numerical_controls_sha256": "96c0a3bdb7c9d5e33403bf90f556698e592259e63747c2e02f68cd3b5c0a82a3", + "available_first_forward_snapshot_sha256": "90568af33f7fb7db00a60c1a7bb053f660887685a5e738d0d1079f71a76c7f49", + "available_first_reverse_snapshot_sha256": "fd5654d2ce465ffe05cf5f58a35e1789e3882230f01fae588a3c99547359d9b0", + "initial_state_before_dark_seed_sha256": null, + "environment_sha256": null, + "full_runtime_source_sha256": null, + "jacobian_evaluator": "analytic_single_ion_density", + "jacobian_fallback_reason": null, + "recorded_elapsed_s": 14.125112291891128, + "D_ion_m2_s": 2.3265000000000003e-18, + "c0_m3": 1e+25, + "scan_rate_V_s": 0.04, + "recorded_voltage_samples_per_branch": 111, + "stored_current_samples_per_branch": 110, + "curve_source": { + "source_id": "hi_dense_matrix", + "json_pointer": "/groups/diffusivity/cases/9/curves" + }, + "curve_sha256": "a46cccef00afa44958ead28fde112aec84d09566a32b506c3b6ee9110cb2a23f", + "branch_sampling_sha256": { + "fwd": "a4c48da6b4cc6af60783f57162c7c3c2e04634a72a4068d2343a8f077f0940d7", + "rev": "3ad0546425c3956638f28ddd1bedabbc7a8b7d3ba60dba4447d7de6e57706749" + }, + "metrics": { + "HI_P_recorded": 0.5853887023596918, + "HI_P_from_stored_currents": 0.5853887023596915, + "HI_normalized_recorded": 0.3692398599084247, + "HI_normalized_from_stored_currents": 0.3692398599084246, + "Pmax_forward_W_m2": 51.59836381161405, + "Pmax_reverse_W_m2": 81.80346304717807 + }, + "metric_extraction": "Independent scalar arithmetic on already stored current arrays; no current reconstruction or integration executed", + "power_uncertainty": null, + "HI_resolution_status": "unknown_pending_independent_power_uncertainty", + "snapshot_inventory_relative_drift": 3.585823128567218e-15, + "reference_inventory_m2": 3.997966292812723e+18, + "comparison_status": "historical_reference_only_not_acceptance_qualified" + }, + { + "id": "hi_diffusivity_10", + "axis": "diffusivity", + "parameter_value": 1.0, + "source_id": "hi_diffusivity_10_raw", + "original_source_path": "/Users/shane/Library/CloudStorage/OneDrive-HKUST(Guangzhou)/SolarLab/perovskite-sim/outputs/calado-reproduction/DenseIonMatrixV1/diffusivity/Ratio10.json", + "archived_job_id": "1d37792379a4440c916803ca41260cab", + "archived_status": "done", + "request_sha256": "f85b35f9926a85b31bb8c865c91d1ab093abdca5dbcf06a906b940aa0ee13d6d", + "device_input_sha256": "8c5e91737577c7f61f3dc9df83b967934764c4b85fd296bbf16602aace76568a", + "protocol_sha256": "69f70d018b738d2cd9fce99f36bc2cab6137c23717da36752b9d071d8721a592", + "protocol_json_sha256": "69f70d018b738d2cd9fce99f36bc2cab6137c23717da36752b9d071d8721a592", + "numerical_controls_sha256": "96c0a3bdb7c9d5e33403bf90f556698e592259e63747c2e02f68cd3b5c0a82a3", + "available_first_forward_snapshot_sha256": "5abed333afdbacf587b185ab943110a9ebbacabe87842ef1866485110a3297b7", + "available_first_reverse_snapshot_sha256": "695f76fc0599a63794b4b46eded8fa829f6c6a2b40d6509d49309c571e3ca8c9", + "initial_state_before_dark_seed_sha256": null, + "environment_sha256": null, + "full_runtime_source_sha256": null, + "jacobian_evaluator": "analytic_single_ion_density", + "jacobian_fallback_reason": null, + "recorded_elapsed_s": 14.530299624893814, + "D_ion_m2_s": 2.585e-18, + "c0_m3": 1e+25, + "scan_rate_V_s": 0.04, + "recorded_voltage_samples_per_branch": 111, + "stored_current_samples_per_branch": 110, + "curve_source": { + "source_id": "hi_dense_matrix", + "json_pointer": "/groups/diffusivity/cases/10/curves" + }, + "curve_sha256": "d01a23dea58d4e60a46d14a130f94bab7595eb02e550aa788c3ad55cc690d7c6", + "branch_sampling_sha256": { + "fwd": "a4c48da6b4cc6af60783f57162c7c3c2e04634a72a4068d2343a8f077f0940d7", + "rev": "3ad0546425c3956638f28ddd1bedabbc7a8b7d3ba60dba4447d7de6e57706749" + }, + "metrics": { + "HI_P_recorded": 0.47949249988031095, + "HI_P_from_stored_currents": 0.47949249988031095, + "HI_normalized_recorded": 0.3240925519521737, + "HI_normalized_from_stored_currents": 0.3240925519521736, + "Pmax_forward_W_m2": 54.98619583612564, + "Pmax_reverse_W_m2": 81.35166433649786 + }, + "metric_extraction": "Independent scalar arithmetic on already stored current arrays; no current reconstruction or integration executed", + "power_uncertainty": null, + "HI_resolution_status": "unknown_pending_independent_power_uncertainty", + "snapshot_inventory_relative_drift": 3.3296929050981305e-15, + "reference_inventory_m2": 3.997966292812723e+18, + "comparison_status": "historical_reference_only_not_acceptance_qualified" + }, + { + "id": "hi_diffusivity_11", + "axis": "diffusivity", + "parameter_value": 1.1, + "source_id": "hi_diffusivity_11_raw", + "original_source_path": "/Users/shane/Library/CloudStorage/OneDrive-HKUST(Guangzhou)/SolarLab/perovskite-sim/outputs/calado-reproduction/DenseIonMatrixV1/diffusivity/Ratio11.json", + "archived_job_id": "ec2a24b2640143bab052870ee797ab37", + "archived_status": "done", + "request_sha256": "3f226c8eb3ea40557b18711ba781a295363a666edc2f0c7d4fafccadfbdf4ee8", + "device_input_sha256": "5964ca14739c16a0237fdc54c8e37af076749d1e6ac74a5cdecad42f1005c0a8", + "protocol_sha256": "69f70d018b738d2cd9fce99f36bc2cab6137c23717da36752b9d071d8721a592", + "protocol_json_sha256": "69f70d018b738d2cd9fce99f36bc2cab6137c23717da36752b9d071d8721a592", + "numerical_controls_sha256": "96c0a3bdb7c9d5e33403bf90f556698e592259e63747c2e02f68cd3b5c0a82a3", + "available_first_forward_snapshot_sha256": "7a550d7e5ba65bd86cb4b6fb972e49a521c873063c5687d306edc47108a2b7e9", + "available_first_reverse_snapshot_sha256": "b733db77c2598a0f24ee2f14aa94dc070207f166230c8d5535f8eb11b1520687", + "initial_state_before_dark_seed_sha256": null, + "environment_sha256": null, + "full_runtime_source_sha256": null, + "jacobian_evaluator": "analytic_single_ion_density", + "jacobian_fallback_reason": null, + "recorded_elapsed_s": 14.545617208816111, + "D_ion_m2_s": 2.8435000000000003e-18, + "c0_m3": 1e+25, + "scan_rate_V_s": 0.04, + "recorded_voltage_samples_per_branch": 111, + "stored_current_samples_per_branch": 110, + "curve_source": { + "source_id": "hi_dense_matrix", + "json_pointer": "/groups/diffusivity/cases/11/curves" + }, + "curve_sha256": "35449df609573aaacf108fba138136b6cf4e1507ad21b44390056aa1b7131953", + "branch_sampling_sha256": { + "fwd": "a4c48da6b4cc6af60783f57162c7c3c2e04634a72a4068d2343a8f077f0940d7", + "rev": "3ad0546425c3956638f28ddd1bedabbc7a8b7d3ba60dba4447d7de6e57706749" + }, + "metrics": { + "HI_P_recorded": 0.4112774595882518, + "HI_P_from_stored_currents": 0.4112774595882518, + "HI_normalized_recorded": 0.29142211320249123, + "HI_normalized_from_stored_currents": 0.2914221132024913, + "Pmax_forward_W_m2": 57.36540272113788, + "Pmax_reverse_W_m2": 80.95849982054446 + }, + "metric_extraction": "Independent scalar arithmetic on already stored current arrays; no current reconstruction or integration executed", + "power_uncertainty": null, + "HI_resolution_status": "unknown_pending_independent_power_uncertainty", + "snapshot_inventory_relative_drift": 3.841953352036304e-15, + "reference_inventory_m2": 3.997966292812723e+18, + "comparison_status": "historical_reference_only_not_acceptance_qualified" + }, + { + "id": "hi_diffusivity_12", + "axis": "diffusivity", + "parameter_value": 1.2, + "source_id": "hi_diffusivity_12_raw", + "original_source_path": "/Users/shane/Library/CloudStorage/OneDrive-HKUST(Guangzhou)/SolarLab/perovskite-sim/outputs/calado-reproduction/DenseIonMatrixV1/diffusivity/Ratio12.json", + "archived_job_id": "b79d6cc8661c4e9b857df398f416524e", + "archived_status": "done", + "request_sha256": "a42d830962a4d7766180a2961bcc32e18252eae0534f1f76c44d99801fd69fe7", + "device_input_sha256": "f10d2c7e4c1670325f41257f411f3258107c49954f89798323520cdcfc2d5cc0", + "protocol_sha256": "69f70d018b738d2cd9fce99f36bc2cab6137c23717da36752b9d071d8721a592", + "protocol_json_sha256": "69f70d018b738d2cd9fce99f36bc2cab6137c23717da36752b9d071d8721a592", + "numerical_controls_sha256": "96c0a3bdb7c9d5e33403bf90f556698e592259e63747c2e02f68cd3b5c0a82a3", + "available_first_forward_snapshot_sha256": "590170100abbeeee2a164a5f1e01fdbfc148559ca020abe055d037e57142e691", + "available_first_reverse_snapshot_sha256": "d5f25d59079cbac96073789ef823d9e9065be093e057bbe4c02edf6469fcf9ad", + "initial_state_before_dark_seed_sha256": null, + "environment_sha256": null, + "full_runtime_source_sha256": null, + "jacobian_evaluator": "analytic_single_ion_density", + "jacobian_fallback_reason": null, + "recorded_elapsed_s": 14.806587042054161, + "D_ion_m2_s": 3.102e-18, + "c0_m3": 1e+25, + "scan_rate_V_s": 0.04, + "recorded_voltage_samples_per_branch": 111, + "stored_current_samples_per_branch": 110, + "curve_source": { + "source_id": "hi_dense_matrix", + "json_pointer": "/groups/diffusivity/cases/12/curves" + }, + "curve_sha256": "56b2c316cbbb68ca84864aa1c34fcc057469d1a5d445a8ad3b1a9550479f5498", + "branch_sampling_sha256": { + "fwd": "a4c48da6b4cc6af60783f57162c7c3c2e04634a72a4068d2343a8f077f0940d7", + "rev": "3ad0546425c3956638f28ddd1bedabbc7a8b7d3ba60dba4447d7de6e57706749" + }, + "metrics": { + "HI_P_recorded": 0.35770205267462374, + "HI_P_from_stored_currents": 0.35770205267462374, + "HI_normalized_recorded": 0.26346137723660623, + "HI_normalized_from_stored_currents": 0.26346137723660623, + "Pmax_forward_W_m2": 59.30855426115769, + "Pmax_reverse_W_m2": 80.52334586153809 + }, + "metric_extraction": "Independent scalar arithmetic on already stored current arrays; no current reconstruction or integration executed", + "power_uncertainty": null, + "HI_resolution_status": "unknown_pending_independent_power_uncertainty", + "snapshot_inventory_relative_drift": 1.920976676018152e-15, + "reference_inventory_m2": 3.997966292812723e+18, + "comparison_status": "historical_reference_only_not_acceptance_qualified" + }, + { + "id": "hi_diffusivity_13", + "axis": "diffusivity", + "parameter_value": 1.3, + "source_id": "hi_diffusivity_13_raw", + "original_source_path": "/Users/shane/Library/CloudStorage/OneDrive-HKUST(Guangzhou)/SolarLab/perovskite-sim/outputs/calado-reproduction/DenseIonMatrixV1/diffusivity/Ratio13.json", + "archived_job_id": "98debea155254d4285584dbc47e4a333", + "archived_status": "done", + "request_sha256": "8a36bb8d3d5053bba2d8ebcfeacb67988ed4363df5ded70c6ce38f9219dcca5e", + "device_input_sha256": "dc45050c988117e9ee3f4b68af1251eec77f0ea0a96c5c355b2fee8bce1254fb", + "protocol_sha256": "69f70d018b738d2cd9fce99f36bc2cab6137c23717da36752b9d071d8721a592", + "protocol_json_sha256": "69f70d018b738d2cd9fce99f36bc2cab6137c23717da36752b9d071d8721a592", + "numerical_controls_sha256": "96c0a3bdb7c9d5e33403bf90f556698e592259e63747c2e02f68cd3b5c0a82a3", + "available_first_forward_snapshot_sha256": "dc79f9a0bb653d58cdf1cf618361d9b0a26e89deb92425909d32f68937a38584", + "available_first_reverse_snapshot_sha256": "5f39f0f7fdb655168c3792e5e9995ae3a1034ed9c4f07b6e1f4abb162ea989ed", + "initial_state_before_dark_seed_sha256": null, + "environment_sha256": null, + "full_runtime_source_sha256": null, + "jacobian_evaluator": "analytic_single_ion_density", + "jacobian_fallback_reason": null, + "recorded_elapsed_s": 14.763868750073016, + "D_ion_m2_s": 3.3605000000000003e-18, + "c0_m3": 1e+25, + "scan_rate_V_s": 0.04, + "recorded_voltage_samples_per_branch": 111, + "stored_current_samples_per_branch": 110, + "curve_source": { + "source_id": "hi_dense_matrix", + "json_pointer": "/groups/diffusivity/cases/13/curves" + }, + "curve_sha256": "0268725729f409e7c6003dfe5466e262464f35292ed801cb80da42568412a591", + "branch_sampling_sha256": { + "fwd": "a4c48da6b4cc6af60783f57162c7c3c2e04634a72a4068d2343a8f077f0940d7", + "rev": "3ad0546425c3956638f28ddd1bedabbc7a8b7d3ba60dba4447d7de6e57706749" + }, + "metrics": { + "HI_P_recorded": 0.3212073272601188, + "HI_P_from_stored_currents": 0.3212073272601188, + "HI_normalized_recorded": 0.24311651974124998, + "HI_normalized_from_stored_currents": 0.24311651974124995, + "Pmax_forward_W_m2": 60.73342725675764, + "Pmax_reverse_W_m2": 80.24144910124761 + }, + "metric_extraction": "Independent scalar arithmetic on already stored current arrays; no current reconstruction or integration executed", + "power_uncertainty": null, + "HI_resolution_status": "unknown_pending_independent_power_uncertainty", + "snapshot_inventory_relative_drift": 5.12260446938174e-15, + "reference_inventory_m2": 3.997966292812723e+18, + "comparison_status": "historical_reference_only_not_acceptance_qualified" + }, + { + "id": "hi_diffusivity_14", + "axis": "diffusivity", + "parameter_value": 1.4, + "source_id": "hi_diffusivity_14_raw", + "original_source_path": "/Users/shane/Library/CloudStorage/OneDrive-HKUST(Guangzhou)/SolarLab/perovskite-sim/outputs/calado-reproduction/DenseIonMatrixV1/diffusivity/Ratio14.json", + "archived_job_id": "69d9444c2ac94cc49663015827b3caa2", + "archived_status": "done", + "request_sha256": "396cd3e5b60ab3e331f1e6952e24353d519a9b58b245a1da4ab6fd6774943dbb", + "device_input_sha256": "c0c862f67f50cb5ed176ffd12be8f74a4dc8e429575e9f7b8e9b82977163c7ad", + "protocol_sha256": "69f70d018b738d2cd9fce99f36bc2cab6137c23717da36752b9d071d8721a592", + "protocol_json_sha256": "69f70d018b738d2cd9fce99f36bc2cab6137c23717da36752b9d071d8721a592", + "numerical_controls_sha256": "96c0a3bdb7c9d5e33403bf90f556698e592259e63747c2e02f68cd3b5c0a82a3", + "available_first_forward_snapshot_sha256": "d81dc79c6a2413b4c64b517ad8d5c1494672dd9cdd05aebd406effd06862180c", + "available_first_reverse_snapshot_sha256": "79ac78df11e1d8983be81323a89a5406c688377ae6f582ccab3ab81109b7e1b7", + "initial_state_before_dark_seed_sha256": null, + "environment_sha256": null, + "full_runtime_source_sha256": null, + "jacobian_evaluator": "analytic_single_ion_density", + "jacobian_fallback_reason": null, + "recorded_elapsed_s": 14.73800737503916, + "D_ion_m2_s": 3.619e-18, + "c0_m3": 1e+25, + "scan_rate_V_s": 0.04, + "recorded_voltage_samples_per_branch": 111, + "stored_current_samples_per_branch": 110, + "curve_source": { + "source_id": "hi_dense_matrix", + "json_pointer": "/groups/diffusivity/cases/14/curves" + }, + "curve_sha256": "f4ea4d68548e9ad422a35f2cfb2e1f4c6b1de3d9b30bb2a86b34020cf863c8db", + "branch_sampling_sha256": { + "fwd": "a4c48da6b4cc6af60783f57162c7c3c2e04634a72a4068d2343a8f077f0940d7", + "rev": "3ad0546425c3956638f28ddd1bedabbc7a8b7d3ba60dba4447d7de6e57706749" + }, + "metrics": { + "HI_P_recorded": 0.2929828898424034, + "HI_P_from_stored_currents": 0.2929828898424036, + "HI_normalized_recorded": 0.22659456064272743, + "HI_normalized_from_stored_currents": 0.22659456064272748, + "Pmax_forward_W_m2": 61.844141951429584, + "Pmax_reverse_W_m2": 79.96341738018324 + }, + "metric_extraction": "Independent scalar arithmetic on already stored current arrays; no current reconstruction or integration executed", + "power_uncertainty": null, + "HI_resolution_status": "unknown_pending_independent_power_uncertainty", + "snapshot_inventory_relative_drift": 2.8174324581599568e-15, + "reference_inventory_m2": 3.997966292812723e+18, + "comparison_status": "historical_reference_only_not_acceptance_qualified" + }, + { + "id": "hi_diffusivity_15", + "axis": "diffusivity", + "parameter_value": 1.5, + "source_id": "hi_diffusivity_15_raw", + "original_source_path": "/Users/shane/Library/CloudStorage/OneDrive-HKUST(Guangzhou)/SolarLab/perovskite-sim/outputs/calado-reproduction/DenseIonMatrixV1/diffusivity/Ratio15.json", + "archived_job_id": "93921594dd134183a0a192bf3475304b", + "archived_status": "done", + "request_sha256": "6792e6edeb5021db05bf23e25618accfe762520e5b2da6f5b21f730c9ac80167", + "device_input_sha256": "7b4763d531d89e079b6cc1e31fbeae591f9c75aa7cbcf77e153adf464253eb47", + "protocol_sha256": "69f70d018b738d2cd9fce99f36bc2cab6137c23717da36752b9d071d8721a592", + "protocol_json_sha256": "69f70d018b738d2cd9fce99f36bc2cab6137c23717da36752b9d071d8721a592", + "numerical_controls_sha256": "96c0a3bdb7c9d5e33403bf90f556698e592259e63747c2e02f68cd3b5c0a82a3", + "available_first_forward_snapshot_sha256": "2fbbefd6328b5b2df05c4eace0c00e64391c627ab0d8dede3ff9d4d9cad98bc8", + "available_first_reverse_snapshot_sha256": "92653110d25580effe228b090fded7889df7aaa8d55011b92a0f3a0bdd48fd10", + "initial_state_before_dark_seed_sha256": null, + "environment_sha256": null, + "full_runtime_source_sha256": null, + "jacobian_evaluator": "analytic_single_ion_density", + "jacobian_fallback_reason": null, + "recorded_elapsed_s": 14.387824583100155, + "D_ion_m2_s": 3.8775e-18, + "c0_m3": 1e+25, + "scan_rate_V_s": 0.04, + "recorded_voltage_samples_per_branch": 111, + "stored_current_samples_per_branch": 110, + "curve_source": { + "source_id": "hi_dense_matrix", + "json_pointer": "/groups/diffusivity/cases/15/curves" + }, + "curve_sha256": "f2ca3303905ba694faebbbfcad550caddc830b5e85cb69c4e0b7589b85f25527", + "branch_sampling_sha256": { + "fwd": "a4c48da6b4cc6af60783f57162c7c3c2e04634a72a4068d2343a8f077f0940d7", + "rev": "3ad0546425c3956638f28ddd1bedabbc7a8b7d3ba60dba4447d7de6e57706749" + }, + "metrics": { + "HI_P_recorded": 0.26838814762418006, + "HI_P_from_stored_currents": 0.26838814762418006, + "HI_normalized_recorded": 0.21159780476260234, + "HI_normalized_from_stored_currents": 0.21159780476260237, + "Pmax_forward_W_m2": 62.9137430577395, + "Pmax_reverse_W_m2": 79.79904601710983 + }, + "metric_extraction": "Independent scalar arithmetic on already stored current arrays; no current reconstruction or integration executed", + "power_uncertainty": null, + "HI_resolution_status": "unknown_pending_independent_power_uncertainty", + "snapshot_inventory_relative_drift": 1.1525860056108913e-15, + "reference_inventory_m2": 3.997966292812723e+18, + "comparison_status": "historical_reference_only_not_acceptance_qualified" + }, + { + "id": "hi_diffusivity_16", + "axis": "diffusivity", + "parameter_value": 1.6, + "source_id": "hi_diffusivity_16_raw", + "original_source_path": "/Users/shane/Library/CloudStorage/OneDrive-HKUST(Guangzhou)/SolarLab/perovskite-sim/outputs/calado-reproduction/DenseIonMatrixV1/diffusivity/Ratio16.json", + "archived_job_id": "875600897861405182186418674be7c5", + "archived_status": "done", + "request_sha256": "b28c617d8b69af0ae463548e8181e43d85e76658dbb7d94315a41de71609806d", + "device_input_sha256": "f63add3560a616081ad17d5edc725caca25851a9b929041cf9bd92a599527ee1", + "protocol_sha256": "69f70d018b738d2cd9fce99f36bc2cab6137c23717da36752b9d071d8721a592", + "protocol_json_sha256": "69f70d018b738d2cd9fce99f36bc2cab6137c23717da36752b9d071d8721a592", + "numerical_controls_sha256": "96c0a3bdb7c9d5e33403bf90f556698e592259e63747c2e02f68cd3b5c0a82a3", + "available_first_forward_snapshot_sha256": "f635c22c5878174158680f42de8c3dfd0e75bee9f149a04da98ee9f005403640", + "available_first_reverse_snapshot_sha256": "32921a9b521c4ee174b98e1a13686578edccafa0576fbb6e4a11906a7c7baf5c", + "initial_state_before_dark_seed_sha256": null, + "environment_sha256": null, + "full_runtime_source_sha256": null, + "jacobian_evaluator": "analytic_single_ion_density", + "jacobian_fallback_reason": null, + "recorded_elapsed_s": 14.351106832968071, + "D_ion_m2_s": 4.136e-18, + "c0_m3": 1e+25, + "scan_rate_V_s": 0.04, + "recorded_voltage_samples_per_branch": 111, + "stored_current_samples_per_branch": 110, + "curve_source": { + "source_id": "hi_dense_matrix", + "json_pointer": "/groups/diffusivity/cases/16/curves" + }, + "curve_sha256": "a5c5c83abba3abbaa3dba684c14f3dca44a3b29dbeb43afbc84e28a9ad825103", + "branch_sampling_sha256": { + "fwd": "a4c48da6b4cc6af60783f57162c7c3c2e04634a72a4068d2343a8f077f0940d7", + "rev": "3ad0546425c3956638f28ddd1bedabbc7a8b7d3ba60dba4447d7de6e57706749" + }, + "metrics": { + "HI_P_recorded": 0.24909810907520158, + "HI_P_from_stored_currents": 0.24909810907520158, + "HI_normalized_recorded": 0.19942237304292057, + "HI_normalized_from_stored_currents": 0.19942237304292063, + "Pmax_forward_W_m2": 63.76906897028961, + "Pmax_reverse_W_m2": 79.65382346827487 + }, + "metric_extraction": "Independent scalar arithmetic on already stored current arrays; no current reconstruction or integration executed", + "power_uncertainty": null, + "HI_resolution_status": "unknown_pending_independent_power_uncertainty", + "snapshot_inventory_relative_drift": 1.0245208938763479e-15, + "reference_inventory_m2": 3.997966292812723e+18, + "comparison_status": "historical_reference_only_not_acceptance_qualified" + }, + { + "id": "hi_diffusivity_17", + "axis": "diffusivity", + "parameter_value": 1.7, + "source_id": "hi_diffusivity_17_raw", + "original_source_path": "/Users/shane/Library/CloudStorage/OneDrive-HKUST(Guangzhou)/SolarLab/perovskite-sim/outputs/calado-reproduction/DenseIonMatrixV1/diffusivity/Ratio17.json", + "archived_job_id": "db3e28803f9945c3a3e0c57caa19874b", + "archived_status": "done", + "request_sha256": "ae35f37c02bc5891b26fefca63831a6ec38f6be040b5638dfec2b0e7bd88d52f", + "device_input_sha256": "e7917675c7d3eeac05ae48ea3c9501b5c5638123d46e584ec13eae9fdf66af74", + "protocol_sha256": "69f70d018b738d2cd9fce99f36bc2cab6137c23717da36752b9d071d8721a592", + "protocol_json_sha256": "69f70d018b738d2cd9fce99f36bc2cab6137c23717da36752b9d071d8721a592", + "numerical_controls_sha256": "96c0a3bdb7c9d5e33403bf90f556698e592259e63747c2e02f68cd3b5c0a82a3", + "available_first_forward_snapshot_sha256": "3722203e189c7001c107a5eccfa677cd1fedd11561f88fcc6dd35c5037af0bb9", + "available_first_reverse_snapshot_sha256": "1c4ccf47cac5598e715d712553dc0eb213fef9ec9566b35d0dac7ecfadcf10ca", + "initial_state_before_dark_seed_sha256": null, + "environment_sha256": null, + "full_runtime_source_sha256": null, + "jacobian_evaluator": "analytic_single_ion_density", + "jacobian_fallback_reason": null, + "recorded_elapsed_s": 14.604931958951056, + "D_ion_m2_s": 4.3945e-18, + "c0_m3": 1e+25, + "scan_rate_V_s": 0.04, + "recorded_voltage_samples_per_branch": 111, + "stored_current_samples_per_branch": 110, + "curve_source": { + "source_id": "hi_dense_matrix", + "json_pointer": "/groups/diffusivity/cases/17/curves" + }, + "curve_sha256": "77ef8bbc529b39303a2e624bf99b1a7ebbe0aff162250d61486a8fe54241b635", + "branch_sampling_sha256": { + "fwd": "a4c48da6b4cc6af60783f57162c7c3c2e04634a72a4068d2343a8f077f0940d7", + "rev": "3ad0546425c3956638f28ddd1bedabbc7a8b7d3ba60dba4447d7de6e57706749" + }, + "metrics": { + "HI_P_recorded": 0.23310061141169647, + "HI_P_from_stored_currents": 0.23310061141169625, + "HI_normalized_recorded": 0.18903616562547537, + "HI_normalized_from_stored_currents": 0.1890361656254753, + "Pmax_forward_W_m2": 64.46538656818822, + "Pmax_reverse_W_m2": 79.49230759212425 + }, + "metric_extraction": "Independent scalar arithmetic on already stored current arrays; no current reconstruction or integration executed", + "power_uncertainty": null, + "HI_resolution_status": "unknown_pending_independent_power_uncertainty", + "snapshot_inventory_relative_drift": 2.0490417877526958e-15, + "reference_inventory_m2": 3.997966292812723e+18, + "comparison_status": "historical_reference_only_not_acceptance_qualified" + }, + { + "id": "hi_diffusivity_18", + "axis": "diffusivity", + "parameter_value": 1.8, + "source_id": "hi_diffusivity_18_raw", + "original_source_path": "/Users/shane/Library/CloudStorage/OneDrive-HKUST(Guangzhou)/SolarLab/perovskite-sim/outputs/calado-reproduction/DenseIonMatrixV1/diffusivity/Ratio18.json", + "archived_job_id": "3f84c54c635f491d96014a7e151098cc", + "archived_status": "done", + "request_sha256": "ee9d3ea88cf68c45550b77d6aff72adf305c7c705faeb95430998eb6863d1382", + "device_input_sha256": "c3c5c36637f0ef0d428af5ebc9e9a347218b01e490da1a92038197980c90fb2f", + "protocol_sha256": "69f70d018b738d2cd9fce99f36bc2cab6137c23717da36752b9d071d8721a592", + "protocol_json_sha256": "69f70d018b738d2cd9fce99f36bc2cab6137c23717da36752b9d071d8721a592", + "numerical_controls_sha256": "96c0a3bdb7c9d5e33403bf90f556698e592259e63747c2e02f68cd3b5c0a82a3", + "available_first_forward_snapshot_sha256": "0287bd72db54069308d39c671ffe048578190abb8d0a8b3414ea3b918fe8cef1", + "available_first_reverse_snapshot_sha256": "b4de590b9fc81195567478f525abed4c41d1c8f864d578ac5a7fd7b796c20ebe", + "initial_state_before_dark_seed_sha256": null, + "environment_sha256": null, + "full_runtime_source_sha256": null, + "jacobian_evaluator": "analytic_single_ion_density", + "jacobian_fallback_reason": null, + "recorded_elapsed_s": 14.701270082965493, + "D_ion_m2_s": 4.6530000000000006e-18, + "c0_m3": 1e+25, + "scan_rate_V_s": 0.04, + "recorded_voltage_samples_per_branch": 111, + "stored_current_samples_per_branch": 110, + "curve_source": { + "source_id": "hi_dense_matrix", + "json_pointer": "/groups/diffusivity/cases/18/curves" + }, + "curve_sha256": "f515c0fa19aa8f6898a6901ef3ef6be20338747cad6aa885ab7cba25b076a92e", + "branch_sampling_sha256": { + "fwd": "a4c48da6b4cc6af60783f57162c7c3c2e04634a72a4068d2343a8f077f0940d7", + "rev": "3ad0546425c3956638f28ddd1bedabbc7a8b7d3ba60dba4447d7de6e57706749" + }, + "metrics": { + "HI_P_recorded": 0.21952150162866202, + "HI_P_from_stored_currents": 0.21952150162866202, + "HI_normalized_recorded": 0.18000625764735806, + "HI_normalized_from_stored_currents": 0.1800062576473581, + "Pmax_forward_W_m2": 65.0411728960461, + "Pmax_reverse_W_m2": 79.31910883787558 + }, + "metric_extraction": "Independent scalar arithmetic on already stored current arrays; no current reconstruction or integration executed", + "power_uncertainty": null, + "HI_resolution_status": "unknown_pending_independent_power_uncertainty", + "snapshot_inventory_relative_drift": 2.8174324581599568e-15, + "reference_inventory_m2": 3.997966292812723e+18, + "comparison_status": "historical_reference_only_not_acceptance_qualified" + }, + { + "id": "hi_diffusivity_19", + "axis": "diffusivity", + "parameter_value": 1.9, + "source_id": "hi_diffusivity_19_raw", + "original_source_path": "/Users/shane/Library/CloudStorage/OneDrive-HKUST(Guangzhou)/SolarLab/perovskite-sim/outputs/calado-reproduction/DenseIonMatrixV1/diffusivity/Ratio19.json", + "archived_job_id": "6625625c57cd46cb8f36d9d2f0cfaebd", + "archived_status": "done", + "request_sha256": "2699107b1dcd004d26ef852d8abefcd3eb0ab3d52434867073f9166987611b72", + "device_input_sha256": "f4f3b2e2d8ce00835228ab048e065cf6ca724f063dbb8b7471f0cc293a32ab34", + "protocol_sha256": "69f70d018b738d2cd9fce99f36bc2cab6137c23717da36752b9d071d8721a592", + "protocol_json_sha256": "69f70d018b738d2cd9fce99f36bc2cab6137c23717da36752b9d071d8721a592", + "numerical_controls_sha256": "96c0a3bdb7c9d5e33403bf90f556698e592259e63747c2e02f68cd3b5c0a82a3", + "available_first_forward_snapshot_sha256": "3bc99ae4218f97482cbd5e1916a03f8203122560ff3bb8ae07f24f0045ea568a", + "available_first_reverse_snapshot_sha256": "f6b1aeb5303f0926ba92cdbf1f41fd1103e4061ef04c713e935a114fcf92c826", + "initial_state_before_dark_seed_sha256": null, + "environment_sha256": null, + "full_runtime_source_sha256": null, + "jacobian_evaluator": "analytic_single_ion_density", + "jacobian_fallback_reason": null, + "recorded_elapsed_s": 15.094095417065546, + "D_ion_m2_s": 4.9115e-18, + "c0_m3": 1e+25, + "scan_rate_V_s": 0.04, + "recorded_voltage_samples_per_branch": 111, + "stored_current_samples_per_branch": 110, + "curve_source": { + "source_id": "hi_dense_matrix", + "json_pointer": "/groups/diffusivity/cases/19/curves" + }, + "curve_sha256": "69df281c38407ca55cee1084f5625a9ed1a42198fbf18392a4fc4a4408f1cfcd", + "branch_sampling_sha256": { + "fwd": "a4c48da6b4cc6af60783f57162c7c3c2e04634a72a4068d2343a8f077f0940d7", + "rev": "3ad0546425c3956638f28ddd1bedabbc7a8b7d3ba60dba4447d7de6e57706749" + }, + "metrics": { + "HI_P_recorded": 0.20920303486494252, + "HI_P_from_stored_currents": 0.2092030348649423, + "HI_normalized_recorded": 0.17300902233371312, + "HI_normalized_from_stored_currents": 0.17300902233371301, + "Pmax_forward_W_m2": 65.52384684441826, + "Pmax_reverse_W_m2": 79.23163446029623 + }, + "metric_extraction": "Independent scalar arithmetic on already stored current arrays; no current reconstruction or integration executed", + "power_uncertainty": null, + "HI_resolution_status": "unknown_pending_independent_power_uncertainty", + "snapshot_inventory_relative_drift": 1.280651117345435e-15, + "reference_inventory_m2": 3.997966292812723e+18, + "comparison_status": "historical_reference_only_not_acceptance_qualified" + }, + { + "id": "hi_diffusivity_20", + "axis": "diffusivity", + "parameter_value": 2.0, + "source_id": "hi_diffusivity_20_raw", + "original_source_path": "/Users/shane/Library/CloudStorage/OneDrive-HKUST(Guangzhou)/SolarLab/perovskite-sim/outputs/calado-reproduction/DenseIonMatrixV1/diffusivity/Ratio20.json", + "archived_job_id": "f6ee4395bdc44871b1743eb7953833d2", + "archived_status": "done", + "request_sha256": "7bc766637290a4626f97d12c4c6da912cde4a21169c55150b6daf3ccae52ecef", + "device_input_sha256": "68b1bd27c6e2df9ffb47009535f05925742f8b36ff3a79a432306193bfe05de1", + "protocol_sha256": "69f70d018b738d2cd9fce99f36bc2cab6137c23717da36752b9d071d8721a592", + "protocol_json_sha256": "69f70d018b738d2cd9fce99f36bc2cab6137c23717da36752b9d071d8721a592", + "numerical_controls_sha256": "96c0a3bdb7c9d5e33403bf90f556698e592259e63747c2e02f68cd3b5c0a82a3", + "available_first_forward_snapshot_sha256": "f1d104f1d2704c610abf28b8b33fd91d73ae1eec5c32eed0632aaa799dc80679", + "available_first_reverse_snapshot_sha256": "98709ce58fadd7c58836ebfcb6ad13fc4ae1806065245550bd6d6548a8c2c9ca", + "initial_state_before_dark_seed_sha256": null, + "environment_sha256": null, + "full_runtime_source_sha256": null, + "jacobian_evaluator": "analytic_single_ion_density", + "jacobian_fallback_reason": null, + "recorded_elapsed_s": 14.847214875044301, + "D_ion_m2_s": 5.17e-18, + "c0_m3": 1e+25, + "scan_rate_V_s": 0.04, + "recorded_voltage_samples_per_branch": 111, + "stored_current_samples_per_branch": 110, + "curve_source": { + "source_id": "hi_dense_matrix", + "json_pointer": "/groups/diffusivity/cases/20/curves" + }, + "curve_sha256": "90a07c0bc0e78e7cdfd76254856cea31c69f2e171a4fb185723065c665df84a4", + "branch_sampling_sha256": { + "fwd": "a4c48da6b4cc6af60783f57162c7c3c2e04634a72a4068d2343a8f077f0940d7", + "rev": "3ad0546425c3956638f28ddd1bedabbc7a8b7d3ba60dba4447d7de6e57706749" + }, + "metrics": { + "HI_P_recorded": 0.1986760456062968, + "HI_P_from_stored_currents": 0.1986760456062968, + "HI_normalized_recorded": 0.1657462383890432, + "HI_normalized_from_stored_currents": 0.1657462383890432, + "Pmax_forward_W_m2": 66.0151619476389, + "Pmax_reverse_W_m2": 79.13079327345508 + }, + "metric_extraction": "Independent scalar arithmetic on already stored current arrays; no current reconstruction or integration executed", + "power_uncertainty": null, + "HI_resolution_status": "unknown_pending_independent_power_uncertainty", + "snapshot_inventory_relative_drift": 4.610344022443565e-15, + "reference_inventory_m2": 3.997966292812723e+18, + "comparison_status": "historical_reference_only_not_acceptance_qualified" + }, + { + "id": "hi_density_00", + "axis": "density", + "parameter_value": 0.0, + "source_id": "hi_density_00_raw", + "original_source_path": "/Users/shane/Library/CloudStorage/OneDrive-HKUST(Guangzhou)/SolarLab/perovskite-sim/outputs/calado-reproduction/DenseIonMatrixV1/density/Ratio00.json", + "archived_job_id": "76f773509e83449d827b8a028cafd8ef", + "archived_status": "done", + "request_sha256": "4b1948c248431aba55385d3b0340a1277febb927754a6acdb763a47f519fc535", + "device_input_sha256": "9d721ea895a1032f079160540da0437277880d513eef23e4293c4c39ab7d4eaa", + "protocol_sha256": "69f70d018b738d2cd9fce99f36bc2cab6137c23717da36752b9d071d8721a592", + "protocol_json_sha256": "69f70d018b738d2cd9fce99f36bc2cab6137c23717da36752b9d071d8721a592", + "numerical_controls_sha256": "96c0a3bdb7c9d5e33403bf90f556698e592259e63747c2e02f68cd3b5c0a82a3", + "available_first_forward_snapshot_sha256": "42c5ad8a600298d90fb04c45f1f272403439b059e22c27e88feff8e4b02ce432", + "available_first_reverse_snapshot_sha256": "816447235096b3301eb128d45f6232827f13e2537ac0f9d915cc10eb34f32814", + "initial_state_before_dark_seed_sha256": null, + "environment_sha256": null, + "full_runtime_source_sha256": null, + "jacobian_evaluator": "analytic_single_ion_density", + "jacobian_fallback_reason": null, + "recorded_elapsed_s": 9.291110874852166, + "D_ion_m2_s": 2.585e-18, + "c0_m3": 0.0, + "scan_rate_V_s": 0.04, + "recorded_voltage_samples_per_branch": 111, + "stored_current_samples_per_branch": 110, + "curve_source": { + "source_id": "hi_dense_matrix", + "json_pointer": "/groups/density/cases/0/curves" + }, + "curve_sha256": "6bf405265612424d024eb35d1515d304ea0cb1c1d275b5df8185336e6814113d", + "branch_sampling_sha256": { + "fwd": "a4c48da6b4cc6af60783f57162c7c3c2e04634a72a4068d2343a8f077f0940d7", + "rev": "3ad0546425c3956638f28ddd1bedabbc7a8b7d3ba60dba4447d7de6e57706749" + }, + "metrics": { + "HI_P_recorded": 2.9222822761632017e-07, + "HI_P_from_stored_currents": 2.9222822761632017e-07, + "HI_normalized_recorded": 2.9222814223624564e-07, + "HI_normalized_from_stored_currents": 2.922281422065737e-07, + "Pmax_forward_W_m2": 112.24974673862283, + "Pmax_reverse_W_m2": 112.24977954116737 + }, + "metric_extraction": "Independent scalar arithmetic on already stored current arrays; no current reconstruction or integration executed", + "power_uncertainty": null, + "HI_resolution_status": "unknown_pending_independent_power_uncertainty", + "snapshot_inventory_relative_drift": 0.0, + "reference_inventory_m2": 0.0, + "comparison_status": "historical_reference_only_not_acceptance_qualified" + }, + { + "id": "hi_density_01", + "axis": "density", + "parameter_value": 0.1, + "source_id": "hi_density_01_raw", + "original_source_path": "/Users/shane/Library/CloudStorage/OneDrive-HKUST(Guangzhou)/SolarLab/perovskite-sim/outputs/calado-reproduction/DenseIonMatrixV1/density/Ratio01.json", + "archived_job_id": "4c9d3d260fa44f3f97ab5215bba8c596", + "archived_status": "done", + "request_sha256": "31d8b6e7db7e7394e069694db0c610bd18711e6d7e6b2833e6f1c15bb9ad8613", + "device_input_sha256": "45d696866a2cca9f8c5e131c1448222cde7539e847af9d0dd5bef14b7a18cca4", + "protocol_sha256": "69f70d018b738d2cd9fce99f36bc2cab6137c23717da36752b9d071d8721a592", + "protocol_json_sha256": "69f70d018b738d2cd9fce99f36bc2cab6137c23717da36752b9d071d8721a592", + "numerical_controls_sha256": "96c0a3bdb7c9d5e33403bf90f556698e592259e63747c2e02f68cd3b5c0a82a3", + "available_first_forward_snapshot_sha256": "ebfa5a15f02f421ff4ba80ce001f5138710c72f060a6a573d9ae58c3d3b302c4", + "available_first_reverse_snapshot_sha256": "777d047b9f638bd4a06c87a46d3390ee323ce8b70e5620522cb3fd5f7d307ec7", + "initial_state_before_dark_seed_sha256": null, + "environment_sha256": null, + "full_runtime_source_sha256": null, + "jacobian_evaluator": "analytic_single_ion_density", + "jacobian_fallback_reason": null, + "recorded_elapsed_s": 16.0281858749222, + "D_ion_m2_s": 2.585e-18, + "c0_m3": 1.0000000000000001e+24, + "scan_rate_V_s": 0.04, + "recorded_voltage_samples_per_branch": 111, + "stored_current_samples_per_branch": 110, + "curve_source": { + "source_id": "hi_dense_matrix", + "json_pointer": "/groups/density/cases/1/curves" + }, + "curve_sha256": "0aebd6b9b5a0f32a3e35ae249facad7270d87350864e3fbd37d357f9d92a0eaa", + "branch_sampling_sha256": { + "fwd": "a4c48da6b4cc6af60783f57162c7c3c2e04634a72a4068d2343a8f077f0940d7", + "rev": "3ad0546425c3956638f28ddd1bedabbc7a8b7d3ba60dba4447d7de6e57706749" + }, + "metrics": { + "HI_P_recorded": 3.7670958388715308, + "HI_P_from_stored_currents": 3.7670958388715308, + "HI_normalized_recorded": 0.790228677207228, + "HI_normalized_from_stored_currents": 0.790228677207228, + "Pmax_forward_W_m2": 14.005936700064355, + "Pmax_reverse_W_m2": 66.76764256237485 + }, + "metric_extraction": "Independent scalar arithmetic on already stored current arrays; no current reconstruction or integration executed", + "power_uncertainty": null, + "HI_resolution_status": "unknown_pending_independent_power_uncertainty", + "snapshot_inventory_relative_drift": 1.6008138966817936e-15, + "reference_inventory_m2": 3.997966292812723e+17, + "comparison_status": "historical_reference_only_not_acceptance_qualified" + }, + { + "id": "hi_density_02", + "axis": "density", + "parameter_value": 0.2, + "source_id": "hi_density_02_raw", + "original_source_path": "/Users/shane/Library/CloudStorage/OneDrive-HKUST(Guangzhou)/SolarLab/perovskite-sim/outputs/calado-reproduction/DenseIonMatrixV1/density/Ratio02.json", + "archived_job_id": "fab953ce40c048a09497c14bb27884c5", + "archived_status": "done", + "request_sha256": "6fdde26ebda520ebe4c28d1e0bde4ba912a96d8646ee65910920af0008db5470", + "device_input_sha256": "57ab5c1f89f0c913c46c97c75aeb7a3553ba0628ef90dee75120632d30b1a229", + "protocol_sha256": "69f70d018b738d2cd9fce99f36bc2cab6137c23717da36752b9d071d8721a592", + "protocol_json_sha256": "69f70d018b738d2cd9fce99f36bc2cab6137c23717da36752b9d071d8721a592", + "numerical_controls_sha256": "96c0a3bdb7c9d5e33403bf90f556698e592259e63747c2e02f68cd3b5c0a82a3", + "available_first_forward_snapshot_sha256": "ddaad81e9727b56755d51bc5589fcf7db114f67189fd12ea5eb23a62d9e77301", + "available_first_reverse_snapshot_sha256": "05b2239d64026a7c8ca78ffd8c41514ab9415c54f14c4c9c07b800fe389563a9", + "initial_state_before_dark_seed_sha256": null, + "environment_sha256": null, + "full_runtime_source_sha256": null, + "jacobian_evaluator": "analytic_single_ion_density", + "jacobian_fallback_reason": null, + "recorded_elapsed_s": 15.585227333009243, + "D_ion_m2_s": 2.585e-18, + "c0_m3": 2.0000000000000002e+24, + "scan_rate_V_s": 0.04, + "recorded_voltage_samples_per_branch": 111, + "stored_current_samples_per_branch": 110, + "curve_source": { + "source_id": "hi_dense_matrix", + "json_pointer": "/groups/density/cases/2/curves" + }, + "curve_sha256": "4b0d3855369e3ccdf406c9da92a2a21013a02015921ae0bc3849b07c1ae8f7ef", + "branch_sampling_sha256": { + "fwd": "a4c48da6b4cc6af60783f57162c7c3c2e04634a72a4068d2343a8f077f0940d7", + "rev": "3ad0546425c3956638f28ddd1bedabbc7a8b7d3ba60dba4447d7de6e57706749" + }, + "metrics": { + "HI_P_recorded": 9.995070793047917, + "HI_P_from_stored_currents": 9.995070793047915, + "HI_normalized_recorded": 0.9090501535804307, + "HI_normalized_from_stored_currents": 0.9090501535804307, + "Pmax_forward_W_m2": 7.21770469251955, + "Pmax_reverse_W_m2": 79.35917405756659 + }, + "metric_extraction": "Independent scalar arithmetic on already stored current arrays; no current reconstruction or integration executed", + "power_uncertainty": null, + "HI_resolution_status": "unknown_pending_independent_power_uncertainty", + "snapshot_inventory_relative_drift": 2.4012208450226902e-15, + "reference_inventory_m2": 7.995932585625446e+17, + "comparison_status": "historical_reference_only_not_acceptance_qualified" + }, + { + "id": "hi_density_03", + "axis": "density", + "parameter_value": 0.3, + "source_id": "hi_density_03_raw", + "original_source_path": "/Users/shane/Library/CloudStorage/OneDrive-HKUST(Guangzhou)/SolarLab/perovskite-sim/outputs/calado-reproduction/DenseIonMatrixV1/density/Ratio03.json", + "archived_job_id": "5c5e2325750049d1a3dec561a9360a73", + "archived_status": "done", + "request_sha256": "8e80d457238509130a635896b329cd2c123fcc05773cb261c1811977a27ae4bd", + "device_input_sha256": "3cfad17c0b4f59e6793a8e20fcc5fa4654c5088492724d413975c26a6e20c3bc", + "protocol_sha256": "69f70d018b738d2cd9fce99f36bc2cab6137c23717da36752b9d071d8721a592", + "protocol_json_sha256": "69f70d018b738d2cd9fce99f36bc2cab6137c23717da36752b9d071d8721a592", + "numerical_controls_sha256": "96c0a3bdb7c9d5e33403bf90f556698e592259e63747c2e02f68cd3b5c0a82a3", + "available_first_forward_snapshot_sha256": "23a3413dc24998d2a529b54eff946eecd6bf9f599f57f34b556d7606ca7a3e70", + "available_first_reverse_snapshot_sha256": "41cc907521286c2be81ae4a7521419e0270e11b252fd854d11f57121f4f4a81a", + "initial_state_before_dark_seed_sha256": null, + "environment_sha256": null, + "full_runtime_source_sha256": null, + "jacobian_evaluator": "analytic_single_ion_density", + "jacobian_fallback_reason": null, + "recorded_elapsed_s": 15.104806249961257, + "D_ion_m2_s": 2.585e-18, + "c0_m3": 3e+24, + "scan_rate_V_s": 0.04, + "recorded_voltage_samples_per_branch": 111, + "stored_current_samples_per_branch": 110, + "curve_source": { + "source_id": "hi_dense_matrix", + "json_pointer": "/groups/density/cases/3/curves" + }, + "curve_sha256": "3457f8f8e1f83764fb491c4c008e2248780df44c00bfbf6a3ea866d38f7a7459", + "branch_sampling_sha256": { + "fwd": "a4c48da6b4cc6af60783f57162c7c3c2e04634a72a4068d2343a8f077f0940d7", + "rev": "3ad0546425c3956638f28ddd1bedabbc7a8b7d3ba60dba4447d7de6e57706749" + }, + "metrics": { + "HI_P_recorded": 8.49863272308802, + "HI_P_from_stored_currents": 8.49863272308802, + "HI_normalized_recorded": 0.8947216900418381, + "HI_normalized_from_stored_currents": 0.894721690041838, + "Pmax_forward_W_m2": 8.552793179201323, + "Pmax_reverse_W_m2": 81.23984116576571 + }, + "metric_extraction": "Independent scalar arithmetic on already stored current arrays; no current reconstruction or integration executed", + "power_uncertainty": null, + "HI_resolution_status": "unknown_pending_independent_power_uncertainty", + "snapshot_inventory_relative_drift": 1.9209766760181517e-15, + "reference_inventory_m2": 1.1993898878438172e+18, + "comparison_status": "historical_reference_only_not_acceptance_qualified" + }, + { + "id": "hi_density_04", + "axis": "density", + "parameter_value": 0.4, + "source_id": "hi_density_04_raw", + "original_source_path": "/Users/shane/Library/CloudStorage/OneDrive-HKUST(Guangzhou)/SolarLab/perovskite-sim/outputs/calado-reproduction/DenseIonMatrixV1/density/Ratio04.json", + "archived_job_id": "d3ee48d42e9447009701c770d7a24cd1", + "archived_status": "done", + "request_sha256": "f2d01c0eaf6f3752abe9c397fdc7ab80ed11fb88a3d893cec4e9e029d9984d79", + "device_input_sha256": "91b058e2bcfe5c32a7f64ea8e0ac43b16b03c60ffe7cf58c0fb236dc35af421c", + "protocol_sha256": "69f70d018b738d2cd9fce99f36bc2cab6137c23717da36752b9d071d8721a592", + "protocol_json_sha256": "69f70d018b738d2cd9fce99f36bc2cab6137c23717da36752b9d071d8721a592", + "numerical_controls_sha256": "96c0a3bdb7c9d5e33403bf90f556698e592259e63747c2e02f68cd3b5c0a82a3", + "available_first_forward_snapshot_sha256": "b9a4369e54e8d62173c71da97d13b3b651f3c8529b8c3757b86769059f96c8e9", + "available_first_reverse_snapshot_sha256": "9d4c682bb425d5a262188b8f9eee569b8cca0b96a29d46c592a1ac063857c133", + "initial_state_before_dark_seed_sha256": null, + "environment_sha256": null, + "full_runtime_source_sha256": null, + "jacobian_evaluator": "analytic_single_ion_density", + "jacobian_fallback_reason": null, + "recorded_elapsed_s": 15.13117383304052, + "D_ion_m2_s": 2.585e-18, + "c0_m3": 4.0000000000000005e+24, + "scan_rate_V_s": 0.04, + "recorded_voltage_samples_per_branch": 111, + "stored_current_samples_per_branch": 110, + "curve_source": { + "source_id": "hi_dense_matrix", + "json_pointer": "/groups/density/cases/4/curves" + }, + "curve_sha256": "67de7de818829ba5a5c1f5879e23e8be9013b3cb2e241ae0c7801468676fc386", + "branch_sampling_sha256": { + "fwd": "a4c48da6b4cc6af60783f57162c7c3c2e04634a72a4068d2343a8f077f0940d7", + "rev": "3ad0546425c3956638f28ddd1bedabbc7a8b7d3ba60dba4447d7de6e57706749" + }, + "metrics": { + "HI_P_recorded": 4.586301756578303, + "HI_P_from_stored_currents": 4.586301756578304, + "HI_normalized_recorded": 0.8209906940987528, + "HI_normalized_from_stored_currents": 0.8209906940987528, + "Pmax_forward_W_m2": 14.678504150805598, + "Pmax_reverse_W_m2": 81.99855352158723 + }, + "metric_extraction": "Independent scalar arithmetic on already stored current arrays; no current reconstruction or integration executed", + "power_uncertainty": null, + "HI_resolution_status": "unknown_pending_independent_power_uncertainty", + "snapshot_inventory_relative_drift": 1.6008138966817936e-15, + "reference_inventory_m2": 1.5991865171250893e+18, + "comparison_status": "historical_reference_only_not_acceptance_qualified" + }, + { + "id": "hi_density_05", + "axis": "density", + "parameter_value": 0.5, + "source_id": "hi_density_05_raw", + "original_source_path": "/Users/shane/Library/CloudStorage/OneDrive-HKUST(Guangzhou)/SolarLab/perovskite-sim/outputs/calado-reproduction/DenseIonMatrixV1/density/Ratio05.json", + "archived_job_id": "aa440eac9d15467f8cc707c514adaf20", + "archived_status": "done", + "request_sha256": "32727bb6f394adc9a189262ad0233d5ebc0e39f1edde7f9988b6b94755aa54a4", + "device_input_sha256": "45d396d1b24a34e7f8fec319fa0eb9276c7d2166e1e04a4ea605a374aa8aa1d2", + "protocol_sha256": "69f70d018b738d2cd9fce99f36bc2cab6137c23717da36752b9d071d8721a592", + "protocol_json_sha256": "69f70d018b738d2cd9fce99f36bc2cab6137c23717da36752b9d071d8721a592", + "numerical_controls_sha256": "96c0a3bdb7c9d5e33403bf90f556698e592259e63747c2e02f68cd3b5c0a82a3", + "available_first_forward_snapshot_sha256": "bc85b76a3d98904e1bac013ebf1352d1ce77cdcd750ff0e7e0fdbfd539ab8793", + "available_first_reverse_snapshot_sha256": "e0b82ac807a07971e4457aabb686ac742d5707718a2d1d085bec3867d353a353", + "initial_state_before_dark_seed_sha256": null, + "environment_sha256": null, + "full_runtime_source_sha256": null, + "jacobian_evaluator": "analytic_single_ion_density", + "jacobian_fallback_reason": null, + "recorded_elapsed_s": 14.653593000024557, + "D_ion_m2_s": 2.585e-18, + "c0_m3": 5e+24, + "scan_rate_V_s": 0.04, + "recorded_voltage_samples_per_branch": 111, + "stored_current_samples_per_branch": 110, + "curve_source": { + "source_id": "hi_dense_matrix", + "json_pointer": "/groups/density/cases/5/curves" + }, + "curve_sha256": "626cbd44d48c55d6813708837d3c7c94625b5b192a89815892dad39bb4ae6202", + "branch_sampling_sha256": { + "fwd": "a4c48da6b4cc6af60783f57162c7c3c2e04634a72a4068d2343a8f077f0940d7", + "rev": "3ad0546425c3956638f28ddd1bedabbc7a8b7d3ba60dba4447d7de6e57706749" + }, + "metrics": { + "HI_P_recorded": 2.3635309124836223, + "HI_P_from_stored_currents": 2.363530912483623, + "HI_normalized_recorded": 0.7026933820383405, + "HI_normalized_from_stored_currents": 0.7026933820383406, + "Pmax_forward_W_m2": 24.53690662715543, + "Pmax_reverse_W_m2": 82.53064393716156 + }, + "metric_extraction": "Independent scalar arithmetic on already stored current arrays; no current reconstruction or integration executed", + "power_uncertainty": null, + "HI_resolution_status": "unknown_pending_independent_power_uncertainty", + "snapshot_inventory_relative_drift": 1.5367813408145218e-15, + "reference_inventory_m2": 1.9989831464063616e+18, + "comparison_status": "historical_reference_only_not_acceptance_qualified" + }, + { + "id": "hi_density_06", + "axis": "density", + "parameter_value": 0.6, + "source_id": "hi_density_06_raw", + "original_source_path": "/Users/shane/Library/CloudStorage/OneDrive-HKUST(Guangzhou)/SolarLab/perovskite-sim/outputs/calado-reproduction/DenseIonMatrixV1/density/Ratio06.json", + "archived_job_id": "81dd1d3853224c35acf64f3cce0599e0", + "archived_status": "done", + "request_sha256": "00b5f8deffd33f7d0352e1246942b5deb7f172f0db02095b60e2e7915ec67f9e", + "device_input_sha256": "d87a4ecab918c3b001fabcf304514783e34b5f01f51f5d3297a42a290649c206", + "protocol_sha256": "69f70d018b738d2cd9fce99f36bc2cab6137c23717da36752b9d071d8721a592", + "protocol_json_sha256": "69f70d018b738d2cd9fce99f36bc2cab6137c23717da36752b9d071d8721a592", + "numerical_controls_sha256": "96c0a3bdb7c9d5e33403bf90f556698e592259e63747c2e02f68cd3b5c0a82a3", + "available_first_forward_snapshot_sha256": "fb38870a5e1f39b9471b846b8fa5dc3ed12d6ea3f2435575b740101c95a0a3f2", + "available_first_reverse_snapshot_sha256": "232c79220a28c753df96cc776f61ca8f6a1b9c1f96d88492576e0e2fdbcfc254", + "initial_state_before_dark_seed_sha256": null, + "environment_sha256": null, + "full_runtime_source_sha256": null, + "jacobian_evaluator": "analytic_single_ion_density", + "jacobian_fallback_reason": null, + "recorded_elapsed_s": 14.592421791981906, + "D_ion_m2_s": 2.585e-18, + "c0_m3": 6e+24, + "scan_rate_V_s": 0.04, + "recorded_voltage_samples_per_branch": 111, + "stored_current_samples_per_branch": 110, + "curve_source": { + "source_id": "hi_dense_matrix", + "json_pointer": "/groups/density/cases/6/curves" + }, + "curve_sha256": "3923d27a72f83473b42061c92bf4bbd9c88060d1d2e86bcb87c3433d29ac3b9b", + "branch_sampling_sha256": { + "fwd": "a4c48da6b4cc6af60783f57162c7c3c2e04634a72a4068d2343a8f077f0940d7", + "rev": "3ad0546425c3956638f28ddd1bedabbc7a8b7d3ba60dba4447d7de6e57706749" + }, + "metrics": { + "HI_P_recorded": 1.4008993421979388, + "HI_P_from_stored_currents": 1.4008993421979392, + "HI_normalized_recorded": 0.583489410645373, + "HI_normalized_from_stored_currents": 0.583489410645373, + "Pmax_forward_W_m2": 34.46623649460016, + "Pmax_reverse_W_m2": 82.74996452792413 + }, + "metric_extraction": "Independent scalar arithmetic on already stored current arrays; no current reconstruction or integration executed", + "power_uncertainty": null, + "HI_resolution_status": "unknown_pending_independent_power_uncertainty", + "snapshot_inventory_relative_drift": 2.3478603817999634e-15, + "reference_inventory_m2": 2.3987797756876344e+18, + "comparison_status": "historical_reference_only_not_acceptance_qualified" + }, + { + "id": "hi_density_07", + "axis": "density", + "parameter_value": 0.7, + "source_id": "hi_density_07_raw", + "original_source_path": "/Users/shane/Library/CloudStorage/OneDrive-HKUST(Guangzhou)/SolarLab/perovskite-sim/outputs/calado-reproduction/DenseIonMatrixV1/density/Ratio07.json", + "archived_job_id": "d2f807b447d4447aa4d38d395b24f0cb", + "archived_status": "done", + "request_sha256": "c526052cb48f8e200879e1c60445a47cc0ba036a87b221d241ae2bc3bc67e041", + "device_input_sha256": "5656d9ae151cf6f08dc1ab543e8115c833db997bd16afa67fd3bc1f50972d93f", + "protocol_sha256": "69f70d018b738d2cd9fce99f36bc2cab6137c23717da36752b9d071d8721a592", + "protocol_json_sha256": "69f70d018b738d2cd9fce99f36bc2cab6137c23717da36752b9d071d8721a592", + "numerical_controls_sha256": "96c0a3bdb7c9d5e33403bf90f556698e592259e63747c2e02f68cd3b5c0a82a3", + "available_first_forward_snapshot_sha256": "ad87359435bdbbd50e635066ef15f3f26fcd9f4682b5c168997bd18aabde0645", + "available_first_reverse_snapshot_sha256": "5d5ac3ed8ef70e4c9ec85629263f73e58b4135ecabf275a63d4240316ff62fd4", + "initial_state_before_dark_seed_sha256": null, + "environment_sha256": null, + "full_runtime_source_sha256": null, + "jacobian_evaluator": "analytic_single_ion_density", + "jacobian_fallback_reason": null, + "recorded_elapsed_s": 14.730586915975437, + "D_ion_m2_s": 2.585e-18, + "c0_m3": 7e+24, + "scan_rate_V_s": 0.04, + "recorded_voltage_samples_per_branch": 111, + "stored_current_samples_per_branch": 110, + "curve_source": { + "source_id": "hi_dense_matrix", + "json_pointer": "/groups/density/cases/7/curves" + }, + "curve_sha256": "736542b06fb0e34478f9e49d0c74f8e75a21bdc6afb6869f9f909f58dfcf3299", + "branch_sampling_sha256": { + "fwd": "a4c48da6b4cc6af60783f57162c7c3c2e04634a72a4068d2343a8f077f0940d7", + "rev": "3ad0546425c3956638f28ddd1bedabbc7a8b7d3ba60dba4447d7de6e57706749" + }, + "metrics": { + "HI_P_recorded": 0.9538030335180128, + "HI_P_from_stored_currents": 0.9538030335180128, + "HI_normalized_recorded": 0.4881776807361167, + "HI_normalized_from_stored_currents": 0.4881776807361167, + "Pmax_forward_W_m2": 42.32098242634426, + "Pmax_reverse_W_m2": 82.68686384605392 + }, + "metric_extraction": "Independent scalar arithmetic on already stored current arrays; no current reconstruction or integration executed", + "power_uncertainty": null, + "HI_resolution_status": "unknown_pending_independent_power_uncertainty", + "snapshot_inventory_relative_drift": 1.8295015962077634e-15, + "reference_inventory_m2": 2.7985764049689073e+18, + "comparison_status": "historical_reference_only_not_acceptance_qualified" + }, + { + "id": "hi_density_08", + "axis": "density", + "parameter_value": 0.8, + "source_id": "hi_density_08_raw", + "original_source_path": "/Users/shane/Library/CloudStorage/OneDrive-HKUST(Guangzhou)/SolarLab/perovskite-sim/outputs/calado-reproduction/DenseIonMatrixV1/density/Ratio08.json", + "archived_job_id": "26684de0a4164f9096b244782b777794", + "archived_status": "done", + "request_sha256": "4de90f0d802e2ec4d56e9e7e98b585e9868db0e4ebec16767722034f3891312d", + "device_input_sha256": "e3d82c3883e49ca6fd50542e39410e14ffcb3319dbdcea0d3a9be76b5f78f0cd", + "protocol_sha256": "69f70d018b738d2cd9fce99f36bc2cab6137c23717da36752b9d071d8721a592", + "protocol_json_sha256": "69f70d018b738d2cd9fce99f36bc2cab6137c23717da36752b9d071d8721a592", + "numerical_controls_sha256": "96c0a3bdb7c9d5e33403bf90f556698e592259e63747c2e02f68cd3b5c0a82a3", + "available_first_forward_snapshot_sha256": "3a8be08ea4aa89ac2af609cd20b94850ec61bbd82165200fd4e25c9d4ae369d6", + "available_first_reverse_snapshot_sha256": "bed4bec99af60c1a600506a09e8845aed218a77a34e5f5047887b70052351ac0", + "initial_state_before_dark_seed_sha256": null, + "environment_sha256": null, + "full_runtime_source_sha256": null, + "jacobian_evaluator": "analytic_single_ion_density", + "jacobian_fallback_reason": null, + "recorded_elapsed_s": 14.933347292011604, + "D_ion_m2_s": 2.585e-18, + "c0_m3": 8.000000000000001e+24, + "scan_rate_V_s": 0.04, + "recorded_voltage_samples_per_branch": 111, + "stored_current_samples_per_branch": 110, + "curve_source": { + "source_id": "hi_dense_matrix", + "json_pointer": "/groups/density/cases/8/curves" + }, + "curve_sha256": "e1d10a3b594b1cefd5b294b04f12618f27e73e52a3c7a607fea88113bd57c010", + "branch_sampling_sha256": { + "fwd": "a4c48da6b4cc6af60783f57162c7c3c2e04634a72a4068d2343a8f077f0940d7", + "rev": "3ad0546425c3956638f28ddd1bedabbc7a8b7d3ba60dba4447d7de6e57706749" + }, + "metrics": { + "HI_P_recorded": 0.7168752937493705, + "HI_P_from_stored_currents": 0.7168752937493703, + "HI_normalized_recorded": 0.41754651392520997, + "HI_normalized_from_stored_currents": 0.4175465139252099, + "Pmax_forward_W_m2": 47.98113323633843, + "Pmax_reverse_W_m2": 82.37762221956622 + }, + "metric_extraction": "Independent scalar arithmetic on already stored current arrays; no current reconstruction or integration executed", + "power_uncertainty": null, + "HI_resolution_status": "unknown_pending_independent_power_uncertainty", + "snapshot_inventory_relative_drift": 2.721383624359049e-15, + "reference_inventory_m2": 3.1983730342501786e+18, + "comparison_status": "historical_reference_only_not_acceptance_qualified" + }, + { + "id": "hi_density_09", + "axis": "density", + "parameter_value": 0.9, + "source_id": "hi_density_09_raw", + "original_source_path": "/Users/shane/Library/CloudStorage/OneDrive-HKUST(Guangzhou)/SolarLab/perovskite-sim/outputs/calado-reproduction/DenseIonMatrixV1/density/Ratio09.json", + "archived_job_id": "ace63570551441a0b17dc71fbe8a5654", + "archived_status": "done", + "request_sha256": "ec677a7b4222adae694cddac3cde52e12021d1ba4afd4885d4cda7623efcdabb", + "device_input_sha256": "3f9d0e4dc84afb8279b66eb7e20093547c7e9a629759d9f1b2931131d792ed2d", + "protocol_sha256": "69f70d018b738d2cd9fce99f36bc2cab6137c23717da36752b9d071d8721a592", + "protocol_json_sha256": "69f70d018b738d2cd9fce99f36bc2cab6137c23717da36752b9d071d8721a592", + "numerical_controls_sha256": "96c0a3bdb7c9d5e33403bf90f556698e592259e63747c2e02f68cd3b5c0a82a3", + "available_first_forward_snapshot_sha256": "3f160791d6c1d9571e996a672457b43984b39cb107767a40e19f82209c47e08b", + "available_first_reverse_snapshot_sha256": "2aa25dac040b54c8692586d612ffe57d60bf16aaea9ce8e7ef299c7d64e4b7e9", + "initial_state_before_dark_seed_sha256": null, + "environment_sha256": null, + "full_runtime_source_sha256": null, + "jacobian_evaluator": "analytic_single_ion_density", + "jacobian_fallback_reason": null, + "recorded_elapsed_s": 15.412599792005494, + "D_ion_m2_s": 2.585e-18, + "c0_m3": 9.000000000000001e+24, + "scan_rate_V_s": 0.04, + "recorded_voltage_samples_per_branch": 111, + "stored_current_samples_per_branch": 110, + "curve_source": { + "source_id": "hi_dense_matrix", + "json_pointer": "/groups/density/cases/9/curves" + }, + "curve_sha256": "49dd811a1365e2b0df6d9def040a6e0faf197ee789eb2add44917187ecbee9b0", + "branch_sampling_sha256": { + "fwd": "a4c48da6b4cc6af60783f57162c7c3c2e04634a72a4068d2343a8f077f0940d7", + "rev": "3ad0546425c3956638f28ddd1bedabbc7a8b7d3ba60dba4447d7de6e57706749" + }, + "metrics": { + "HI_P_recorded": 0.5760196009518193, + "HI_P_from_stored_currents": 0.5760196009518195, + "HI_normalized_recorded": 0.3654901249984066, + "HI_normalized_from_stored_currents": 0.36549012499840666, + "Pmax_forward_W_m2": 51.970687695896096, + "Pmax_reverse_W_m2": 81.9068224836778 + }, + "metric_extraction": "Independent scalar arithmetic on already stored current arrays; no current reconstruction or integration executed", + "power_uncertainty": null, + "HI_resolution_status": "unknown_pending_independent_power_uncertainty", + "snapshot_inventory_relative_drift": 4.2688370578181157e-16, + "reference_inventory_m2": 3.5981696635314514e+18, + "comparison_status": "historical_reference_only_not_acceptance_qualified" + }, + { + "id": "hi_density_10", + "axis": "density", + "parameter_value": 1.0, + "source_id": "hi_density_10_raw", + "original_source_path": "/Users/shane/Library/CloudStorage/OneDrive-HKUST(Guangzhou)/SolarLab/perovskite-sim/outputs/calado-reproduction/DenseIonMatrixV1/density/Ratio10.json", + "archived_job_id": "14fa73f835f04583bc3d49d4d7e6c031", + "archived_status": "done", + "request_sha256": "f85b35f9926a85b31bb8c865c91d1ab093abdca5dbcf06a906b940aa0ee13d6d", + "device_input_sha256": "8c5e91737577c7f61f3dc9df83b967934764c4b85fd296bbf16602aace76568a", + "protocol_sha256": "69f70d018b738d2cd9fce99f36bc2cab6137c23717da36752b9d071d8721a592", + "protocol_json_sha256": "69f70d018b738d2cd9fce99f36bc2cab6137c23717da36752b9d071d8721a592", + "numerical_controls_sha256": "96c0a3bdb7c9d5e33403bf90f556698e592259e63747c2e02f68cd3b5c0a82a3", + "available_first_forward_snapshot_sha256": "5abed333afdbacf587b185ab943110a9ebbacabe87842ef1866485110a3297b7", + "available_first_reverse_snapshot_sha256": "695f76fc0599a63794b4b46eded8fa829f6c6a2b40d6509d49309c571e3ca8c9", + "initial_state_before_dark_seed_sha256": null, + "environment_sha256": null, + "full_runtime_source_sha256": null, + "jacobian_evaluator": "analytic_single_ion_density", + "jacobian_fallback_reason": null, + "recorded_elapsed_s": 14.945163832977414, + "D_ion_m2_s": 2.585e-18, + "c0_m3": 1e+25, + "scan_rate_V_s": 0.04, + "recorded_voltage_samples_per_branch": 111, + "stored_current_samples_per_branch": 110, + "curve_source": { + "source_id": "hi_dense_matrix", + "json_pointer": "/groups/density/cases/10/curves" + }, + "curve_sha256": "d01a23dea58d4e60a46d14a130f94bab7595eb02e550aa788c3ad55cc690d7c6", + "branch_sampling_sha256": { + "fwd": "a4c48da6b4cc6af60783f57162c7c3c2e04634a72a4068d2343a8f077f0940d7", + "rev": "3ad0546425c3956638f28ddd1bedabbc7a8b7d3ba60dba4447d7de6e57706749" + }, + "metrics": { + "HI_P_recorded": 0.47949249988031095, + "HI_P_from_stored_currents": 0.47949249988031095, + "HI_normalized_recorded": 0.3240925519521737, + "HI_normalized_from_stored_currents": 0.3240925519521736, + "Pmax_forward_W_m2": 54.98619583612564, + "Pmax_reverse_W_m2": 81.35166433649786 + }, + "metric_extraction": "Independent scalar arithmetic on already stored current arrays; no current reconstruction or integration executed", + "power_uncertainty": null, + "HI_resolution_status": "unknown_pending_independent_power_uncertainty", + "snapshot_inventory_relative_drift": 3.3296929050981305e-15, + "reference_inventory_m2": 3.997966292812723e+18, + "comparison_status": "historical_reference_only_not_acceptance_qualified" + }, + { + "id": "hi_density_11", + "axis": "density", + "parameter_value": 1.1, + "source_id": "hi_density_11_raw", + "original_source_path": "/Users/shane/Library/CloudStorage/OneDrive-HKUST(Guangzhou)/SolarLab/perovskite-sim/outputs/calado-reproduction/DenseIonMatrixV1/density/Ratio11.json", + "archived_job_id": "45675f6e80ef421cb9d1c1b4d546810b", + "archived_status": "done", + "request_sha256": "26bd2d2e2c0881d6d77a92bac0d45c216637c3e3f18718d2a9c3f96670fcfba4", + "device_input_sha256": "7de3553b5b8a252b353e6090c3ebdb21727bad686c9de1ed38e4bb52b8faf4b0", + "protocol_sha256": "69f70d018b738d2cd9fce99f36bc2cab6137c23717da36752b9d071d8721a592", + "protocol_json_sha256": "69f70d018b738d2cd9fce99f36bc2cab6137c23717da36752b9d071d8721a592", + "numerical_controls_sha256": "96c0a3bdb7c9d5e33403bf90f556698e592259e63747c2e02f68cd3b5c0a82a3", + "available_first_forward_snapshot_sha256": "15a7654e02df9f8ba8637bc1c09d3e4ed24a1d1497d73cdcb2906c696c24f01e", + "available_first_reverse_snapshot_sha256": "1e8fc62d6209786ee5341be19faab462b4bab291195a0f6eeca1f614e15225cb", + "initial_state_before_dark_seed_sha256": null, + "environment_sha256": null, + "full_runtime_source_sha256": null, + "jacobian_evaluator": "analytic_single_ion_density", + "jacobian_fallback_reason": null, + "recorded_elapsed_s": 15.283599416026846, + "D_ion_m2_s": 2.585e-18, + "c0_m3": 1.1000000000000002e+25, + "scan_rate_V_s": 0.04, + "recorded_voltage_samples_per_branch": 111, + "stored_current_samples_per_branch": 110, + "curve_source": { + "source_id": "hi_dense_matrix", + "json_pointer": "/groups/density/cases/11/curves" + }, + "curve_sha256": "7e3d33eaf84c6924289c7280d03694d0cf9ebdba2d1650adba85d3d6fd92966c", + "branch_sampling_sha256": { + "fwd": "a4c48da6b4cc6af60783f57162c7c3c2e04634a72a4068d2343a8f077f0940d7", + "rev": "3ad0546425c3956638f28ddd1bedabbc7a8b7d3ba60dba4447d7de6e57706749" + }, + "metrics": { + "HI_P_recorded": 0.4150443289236283, + "HI_P_from_stored_currents": 0.4150443289236281, + "HI_normalized_recorded": 0.2933083582189521, + "HI_normalized_from_stored_currents": 0.29330835821895207, + "Pmax_forward_W_m2": 57.15437171052679, + "Pmax_reverse_W_m2": 80.87596956217398 + }, + "metric_extraction": "Independent scalar arithmetic on already stored current arrays; no current reconstruction or integration executed", + "power_uncertainty": null, + "HI_resolution_status": "unknown_pending_independent_power_uncertainty", + "snapshot_inventory_relative_drift": 1.1642282884958494e-15, + "reference_inventory_m2": 4.397762922093997e+18, + "comparison_status": "historical_reference_only_not_acceptance_qualified" + }, + { + "id": "hi_density_12", + "axis": "density", + "parameter_value": 1.2, + "source_id": "hi_density_12_raw", + "original_source_path": "/Users/shane/Library/CloudStorage/OneDrive-HKUST(Guangzhou)/SolarLab/perovskite-sim/outputs/calado-reproduction/DenseIonMatrixV1/density/Ratio12.json", + "archived_job_id": "c975d1d239f24eeaaf90277be6440411", + "archived_status": "done", + "request_sha256": "2c667ac164b3c6d6b26b6713249d53e16c5a0623dc292a723acfbd106915b5fd", + "device_input_sha256": "00e3fb7aaad94b62b300dcf62f7780fc04d9560a16bc8964ec4ebd6bc6fa1711", + "protocol_sha256": "69f70d018b738d2cd9fce99f36bc2cab6137c23717da36752b9d071d8721a592", + "protocol_json_sha256": "69f70d018b738d2cd9fce99f36bc2cab6137c23717da36752b9d071d8721a592", + "numerical_controls_sha256": "96c0a3bdb7c9d5e33403bf90f556698e592259e63747c2e02f68cd3b5c0a82a3", + "available_first_forward_snapshot_sha256": "139c7cc0d2413dba033a3c3b9d203b21fb0055a37baf53e15437c79e1d459632", + "available_first_reverse_snapshot_sha256": "936663e542b582bd9d843fc12947a32e609d73aaa0372d013f65713ef79c6c7f", + "initial_state_before_dark_seed_sha256": null, + "environment_sha256": null, + "full_runtime_source_sha256": null, + "jacobian_evaluator": "analytic_single_ion_density", + "jacobian_fallback_reason": null, + "recorded_elapsed_s": 15.564548375084996, + "D_ion_m2_s": 2.585e-18, + "c0_m3": 1.2e+25, + "scan_rate_V_s": 0.04, + "recorded_voltage_samples_per_branch": 111, + "stored_current_samples_per_branch": 110, + "curve_source": { + "source_id": "hi_dense_matrix", + "json_pointer": "/groups/density/cases/12/curves" + }, + "curve_sha256": "54faddc8ee7783267530d5dd0b6745c9a99af647220d49f6115066781e682e18", + "branch_sampling_sha256": { + "fwd": "a4c48da6b4cc6af60783f57162c7c3c2e04634a72a4068d2343a8f077f0940d7", + "rev": "3ad0546425c3956638f28ddd1bedabbc7a8b7d3ba60dba4447d7de6e57706749" + }, + "metrics": { + "HI_P_recorded": 0.36248996191633753, + "HI_P_from_stored_currents": 0.36248996191633753, + "HI_normalized_recorded": 0.2660496385650406, + "HI_normalized_from_stored_currents": 0.2660496385650406, + "Pmax_forward_W_m2": 58.984101257552965, + "Pmax_reverse_W_m2": 80.36524587607273 + }, + "metric_extraction": "Independent scalar arithmetic on already stored current arrays; no current reconstruction or integration executed", + "power_uncertainty": null, + "HI_resolution_status": "unknown_pending_independent_power_uncertainty", + "snapshot_inventory_relative_drift": 1.9209766760181517e-15, + "reference_inventory_m2": 4.797559551375269e+18, + "comparison_status": "historical_reference_only_not_acceptance_qualified" + }, + { + "id": "hi_density_13", + "axis": "density", + "parameter_value": 1.3, + "source_id": "hi_density_13_raw", + "original_source_path": "/Users/shane/Library/CloudStorage/OneDrive-HKUST(Guangzhou)/SolarLab/perovskite-sim/outputs/calado-reproduction/DenseIonMatrixV1/density/Ratio13.json", + "archived_job_id": "f2d82b3708eb4fd295dcd9cca185221d", + "archived_status": "done", + "request_sha256": "0c987e06663a63b40133f12b1bdc7689a918b8bcfd472e6db162f0a216f6c517", + "device_input_sha256": "aa72b5051a723cc4387f87c66aafccb09593a8f9d1a3d7efc9952d8e44011828", + "protocol_sha256": "69f70d018b738d2cd9fce99f36bc2cab6137c23717da36752b9d071d8721a592", + "protocol_json_sha256": "69f70d018b738d2cd9fce99f36bc2cab6137c23717da36752b9d071d8721a592", + "numerical_controls_sha256": "96c0a3bdb7c9d5e33403bf90f556698e592259e63747c2e02f68cd3b5c0a82a3", + "available_first_forward_snapshot_sha256": "fe77413570c873f91a10de11642fbb48b264d641b493baaf0fde3dac2ac98bf4", + "available_first_reverse_snapshot_sha256": "96d6e5187ea8c9eef28d9e4d07f1fb990e6abb200a95f0af2cca98e6bd21e885", + "initial_state_before_dark_seed_sha256": null, + "environment_sha256": null, + "full_runtime_source_sha256": null, + "jacobian_evaluator": "analytic_single_ion_density", + "jacobian_fallback_reason": null, + "recorded_elapsed_s": 14.222211000043899, + "D_ion_m2_s": 2.585e-18, + "c0_m3": 1.3000000000000001e+25, + "scan_rate_V_s": 0.04, + "recorded_voltage_samples_per_branch": 111, + "stored_current_samples_per_branch": 110, + "curve_source": { + "source_id": "hi_dense_matrix", + "json_pointer": "/groups/density/cases/13/curves" + }, + "curve_sha256": "1bdb580b1101355aacb0262da6e57dabcb03a733cddd6377b660b796e7705d6c", + "branch_sampling_sha256": { + "fwd": "a4c48da6b4cc6af60783f57162c7c3c2e04634a72a4068d2343a8f077f0940d7", + "rev": "3ad0546425c3956638f28ddd1bedabbc7a8b7d3ba60dba4447d7de6e57706749" + }, + "metrics": { + "HI_P_recorded": 0.3262803553151401, + "HI_P_from_stored_currents": 0.3262803553151399, + "HI_normalized_recorded": 0.24601160230380695, + "HI_normalized_from_stored_currents": 0.24601160230380692, + "Pmax_forward_W_m2": 60.34885463719439, + "Pmax_reverse_W_m2": 80.03950037107991 + }, + "metric_extraction": "Independent scalar arithmetic on already stored current arrays; no current reconstruction or integration executed", + "power_uncertainty": null, + "HI_resolution_status": "unknown_pending_independent_power_uncertainty", + "snapshot_inventory_relative_drift": 7.8809299528949835e-16, + "reference_inventory_m2": 5.197356180656541e+18, + "comparison_status": "historical_reference_only_not_acceptance_qualified" + }, + { + "id": "hi_density_14", + "axis": "density", + "parameter_value": 1.4, + "source_id": "hi_density_14_raw", + "original_source_path": "/Users/shane/Library/CloudStorage/OneDrive-HKUST(Guangzhou)/SolarLab/perovskite-sim/outputs/calado-reproduction/DenseIonMatrixV1/density/Ratio14.json", + "archived_job_id": "70df93445dcb4507b5fefb82ed4c06bf", + "archived_status": "done", + "request_sha256": "346492c93f083620c5461acff3bb2b32a7f3fe8fb942802a8b6298cb4aa3dac4", + "device_input_sha256": "512f486d12ad2674ce007792a2ae7f5f23bd47225e8d809e0806cd44f2fed612", + "protocol_sha256": "69f70d018b738d2cd9fce99f36bc2cab6137c23717da36752b9d071d8721a592", + "protocol_json_sha256": "69f70d018b738d2cd9fce99f36bc2cab6137c23717da36752b9d071d8721a592", + "numerical_controls_sha256": "96c0a3bdb7c9d5e33403bf90f556698e592259e63747c2e02f68cd3b5c0a82a3", + "available_first_forward_snapshot_sha256": "2b0b4503bc917ba117b0419e2a61945390027c0de4e38393cd9cb77eee8cb685", + "available_first_reverse_snapshot_sha256": "2f800e1e3d4e01bf4502cfc379d45b68eb92969847000f0b5d723eb66c57c1b3", + "initial_state_before_dark_seed_sha256": null, + "environment_sha256": null, + "full_runtime_source_sha256": null, + "jacobian_evaluator": "analytic_single_ion_density", + "jacobian_fallback_reason": null, + "recorded_elapsed_s": 14.333631000015885, + "D_ion_m2_s": 2.585e-18, + "c0_m3": 1.4e+25, + "scan_rate_V_s": 0.04, + "recorded_voltage_samples_per_branch": 111, + "stored_current_samples_per_branch": 110, + "curve_source": { + "source_id": "hi_dense_matrix", + "json_pointer": "/groups/density/cases/14/curves" + }, + "curve_sha256": "354eca4e714eea4766d386ed0433ec1a08616adc48b081f68ebea33f8e3590e2", + "branch_sampling_sha256": { + "fwd": "a4c48da6b4cc6af60783f57162c7c3c2e04634a72a4068d2343a8f077f0940d7", + "rev": "3ad0546425c3956638f28ddd1bedabbc7a8b7d3ba60dba4447d7de6e57706749" + }, + "metrics": { + "HI_P_recorded": 0.2983039968961463, + "HI_P_from_stored_currents": 0.29830399689614606, + "HI_normalized_recorded": 0.22976436767452096, + "HI_normalized_from_stored_currents": 0.22976436767452088, + "Pmax_forward_W_m2": 61.3939329739984, + "Pmax_reverse_W_m2": 79.70798856531623 + }, + "metric_extraction": "Independent scalar arithmetic on already stored current arrays; no current reconstruction or integration executed", + "power_uncertainty": null, + "HI_resolution_status": "unknown_pending_independent_power_uncertainty", + "snapshot_inventory_relative_drift": 1.2806511173454344e-15, + "reference_inventory_m2": 5.597152809937815e+18, + "comparison_status": "historical_reference_only_not_acceptance_qualified" + }, + { + "id": "hi_density_15", + "axis": "density", + "parameter_value": 1.5, + "source_id": "hi_density_15_raw", + "original_source_path": "/Users/shane/Library/CloudStorage/OneDrive-HKUST(Guangzhou)/SolarLab/perovskite-sim/outputs/calado-reproduction/DenseIonMatrixV1/density/Ratio15.json", + "archived_job_id": "5f6407d8bca1470a9f7ac163dd8ad16d", + "archived_status": "done", + "request_sha256": "1f3293b5572fbbedb69572f57b2d0eeb09490e4c956e7cfbd8d8f0bc47b9fcfd", + "device_input_sha256": "cc3e1059ad993f38c9699f8363ed7a4eaf60741fbccbe64d7fe749f68bf4ca8f", + "protocol_sha256": "69f70d018b738d2cd9fce99f36bc2cab6137c23717da36752b9d071d8721a592", + "protocol_json_sha256": "69f70d018b738d2cd9fce99f36bc2cab6137c23717da36752b9d071d8721a592", + "numerical_controls_sha256": "96c0a3bdb7c9d5e33403bf90f556698e592259e63747c2e02f68cd3b5c0a82a3", + "available_first_forward_snapshot_sha256": "3e0b1713d6f1aca6765711886993953431cbb092405ded14731e56a4d3fc5f1b", + "available_first_reverse_snapshot_sha256": "8d11bcf3feee4870c6370a68572a0612c80bf4b12fde5bf33d61cdd91aedac30", + "initial_state_before_dark_seed_sha256": null, + "environment_sha256": null, + "full_runtime_source_sha256": null, + "jacobian_evaluator": "analytic_single_ion_density", + "jacobian_fallback_reason": null, + "recorded_elapsed_s": 14.169024999951944, + "D_ion_m2_s": 2.585e-18, + "c0_m3": 1.5000000000000002e+25, + "scan_rate_V_s": 0.04, + "recorded_voltage_samples_per_branch": 111, + "stored_current_samples_per_branch": 110, + "curve_source": { + "source_id": "hi_dense_matrix", + "json_pointer": "/groups/density/cases/15/curves" + }, + "curve_sha256": "967397b4a23b5ebfca1657450e3c951cefd5070466ce9b8b8314b94b37963d34", + "branch_sampling_sha256": { + "fwd": "a4c48da6b4cc6af60783f57162c7c3c2e04634a72a4068d2343a8f077f0940d7", + "rev": "3ad0546425c3956638f28ddd1bedabbc7a8b7d3ba60dba4447d7de6e57706749" + }, + "metrics": { + "HI_P_recorded": 0.27398995309270124, + "HI_P_from_stored_currents": 0.27398995309270147, + "HI_normalized_recorded": 0.21506445355206386, + "HI_normalized_from_stored_currents": 0.2150644535520639, + "Pmax_forward_W_m2": 62.43246391362765, + "Pmax_reverse_W_m2": 79.53833177278426 + }, + "metric_extraction": "Independent scalar arithmetic on already stored current arrays; no current reconstruction or integration executed", + "power_uncertainty": null, + "HI_resolution_status": "unknown_pending_independent_power_uncertainty", + "snapshot_inventory_relative_drift": 2.390548752378145e-15, + "reference_inventory_m2": 5.996949439219085e+18, + "comparison_status": "historical_reference_only_not_acceptance_qualified" + }, + { + "id": "hi_density_16", + "axis": "density", + "parameter_value": 1.6, + "source_id": "hi_density_16_raw", + "original_source_path": "/Users/shane/Library/CloudStorage/OneDrive-HKUST(Guangzhou)/SolarLab/perovskite-sim/outputs/calado-reproduction/DenseIonMatrixV1/density/Ratio16.json", + "archived_job_id": "564f325413804fcebe25766e6085a060", + "archived_status": "done", + "request_sha256": "56be002ef01b0e560952ae17e04c26d8150bcfca70e9f74d0a4f38cf44461750", + "device_input_sha256": "8af8adf7eb9880e26185b5bb9deb4a070c3a4aa4eb9acc92f9e8d2f51a535483", + "protocol_sha256": "69f70d018b738d2cd9fce99f36bc2cab6137c23717da36752b9d071d8721a592", + "protocol_json_sha256": "69f70d018b738d2cd9fce99f36bc2cab6137c23717da36752b9d071d8721a592", + "numerical_controls_sha256": "96c0a3bdb7c9d5e33403bf90f556698e592259e63747c2e02f68cd3b5c0a82a3", + "available_first_forward_snapshot_sha256": "cba906e9b5b06f9eb8d73ea18ca76b1c1c0d31683a5714932445df9e8ab618cc", + "available_first_reverse_snapshot_sha256": "495ecc9b0be509d4ad5786591ecb51ab767cf4762534d5c4b608784c1fd1d8ab", + "initial_state_before_dark_seed_sha256": null, + "environment_sha256": null, + "full_runtime_source_sha256": null, + "jacobian_evaluator": "analytic_single_ion_density", + "jacobian_fallback_reason": null, + "recorded_elapsed_s": 14.071160916937515, + "D_ion_m2_s": 2.585e-18, + "c0_m3": 1.6000000000000002e+25, + "scan_rate_V_s": 0.04, + "recorded_voltage_samples_per_branch": 111, + "stored_current_samples_per_branch": 110, + "curve_source": { + "source_id": "hi_dense_matrix", + "json_pointer": "/groups/density/cases/16/curves" + }, + "curve_sha256": "07f786ac761bc8110c36f40b1c8f932956482c9ec81e9db6a3d1bb7208ea7b7b", + "branch_sampling_sha256": { + "fwd": "a4c48da6b4cc6af60783f57162c7c3c2e04634a72a4068d2343a8f077f0940d7", + "rev": "3ad0546425c3956638f28ddd1bedabbc7a8b7d3ba60dba4447d7de6e57706749" + }, + "metrics": { + "HI_P_recorded": 0.2540708507804905, + "HI_P_from_stored_currents": 0.25407085078049074, + "HI_normalized_recorded": 0.2025968872670675, + "HI_normalized_from_stored_currents": 0.20259688726706762, + "Pmax_forward_W_m2": 63.2781560259899, + "Pmax_reverse_W_m2": 79.35529096333379 + }, + "metric_extraction": "Independent scalar arithmetic on already stored current arrays; no current reconstruction or integration executed", + "power_uncertainty": null, + "HI_resolution_status": "unknown_pending_independent_power_uncertainty", + "snapshot_inventory_relative_drift": 8.004069483408968e-16, + "reference_inventory_m2": 6.396746068500357e+18, + "comparison_status": "historical_reference_only_not_acceptance_qualified" + }, + { + "id": "hi_density_17", + "axis": "density", + "parameter_value": 1.7, + "source_id": "hi_density_17_raw", + "original_source_path": "/Users/shane/Library/CloudStorage/OneDrive-HKUST(Guangzhou)/SolarLab/perovskite-sim/outputs/calado-reproduction/DenseIonMatrixV1/density/Ratio17.json", + "archived_job_id": "4f1405a225724c45bf6cb78dc555ba9f", + "archived_status": "done", + "request_sha256": "c59f55c7c5aaa707a0ef069e33ec3c8c22dfcef51036e48417b1c8ea5f3bde5a", + "device_input_sha256": "7def6f8986abb5145c39b2eb0e0c3996eed92c0149c2c5ff91f8b0fb6932dbfb", + "protocol_sha256": "69f70d018b738d2cd9fce99f36bc2cab6137c23717da36752b9d071d8721a592", + "protocol_json_sha256": "69f70d018b738d2cd9fce99f36bc2cab6137c23717da36752b9d071d8721a592", + "numerical_controls_sha256": "96c0a3bdb7c9d5e33403bf90f556698e592259e63747c2e02f68cd3b5c0a82a3", + "available_first_forward_snapshot_sha256": "f7a155e8b79bd20686a3c2d94dc5f02576c14ba841dd1f41594a36e1b9844cf8", + "available_first_reverse_snapshot_sha256": "2c65e055873e5c64780dd023c21607d8956789f417c9f8054fc0b3b30e22fab2", + "initial_state_before_dark_seed_sha256": null, + "environment_sha256": null, + "full_runtime_source_sha256": null, + "jacobian_evaluator": "analytic_single_ion_density", + "jacobian_fallback_reason": null, + "recorded_elapsed_s": 13.799783792113885, + "D_ion_m2_s": 2.585e-18, + "c0_m3": 1.7000000000000001e+25, + "scan_rate_V_s": 0.04, + "recorded_voltage_samples_per_branch": 111, + "stored_current_samples_per_branch": 110, + "curve_source": { + "source_id": "hi_dense_matrix", + "json_pointer": "/groups/density/cases/17/curves" + }, + "curve_sha256": "b912698d2254d0b32074ba310797a8d8e2d1074799d7cff682cc39ebdefbac9a", + "branch_sampling_sha256": { + "fwd": "a4c48da6b4cc6af60783f57162c7c3c2e04634a72a4068d2343a8f077f0940d7", + "rev": "3ad0546425c3956638f28ddd1bedabbc7a8b7d3ba60dba4447d7de6e57706749" + }, + "metrics": { + "HI_P_recorded": 0.2374243750766849, + "HI_P_from_stored_currents": 0.2374243750766849, + "HI_normalized_recorded": 0.19186980623520636, + "HI_normalized_from_stored_currents": 0.19186980623520633, + "Pmax_forward_W_m2": 63.971096166823145, + "Pmax_reverse_W_m2": 79.15939369720164 + }, + "metric_extraction": "Independent scalar arithmetic on already stored current arrays; no current reconstruction or integration executed", + "power_uncertainty": null, + "HI_resolution_status": "unknown_pending_independent_power_uncertainty", + "snapshot_inventory_relative_drift": 1.5066483733475701e-15, + "reference_inventory_m2": 6.796542697781631e+18, + "comparison_status": "historical_reference_only_not_acceptance_qualified" + }, + { + "id": "hi_density_18", + "axis": "density", + "parameter_value": 1.8, + "source_id": "hi_density_18_raw", + "original_source_path": "/Users/shane/Library/CloudStorage/OneDrive-HKUST(Guangzhou)/SolarLab/perovskite-sim/outputs/calado-reproduction/DenseIonMatrixV1/density/Ratio18.json", + "archived_job_id": "ff05bb43d29a485dafddee7f6f87583f", + "archived_status": "done", + "request_sha256": "5d6bac589db947ece337c32e54aef9a3db562506817afcb590c3611a6d8adcf9", + "device_input_sha256": "2d72190f6fc00a2417a330c5b566af0d037ea48e0f9b63a96559bce7cdb1fd2c", + "protocol_sha256": "69f70d018b738d2cd9fce99f36bc2cab6137c23717da36752b9d071d8721a592", + "protocol_json_sha256": "69f70d018b738d2cd9fce99f36bc2cab6137c23717da36752b9d071d8721a592", + "numerical_controls_sha256": "96c0a3bdb7c9d5e33403bf90f556698e592259e63747c2e02f68cd3b5c0a82a3", + "available_first_forward_snapshot_sha256": "c662a3316580e93006e4fa97a7b6112f1eab6b7310ceb6bb2adba59539da3593", + "available_first_reverse_snapshot_sha256": "280fd1c7dd1a02b3df8954b64ba14015b3da7e944b1ddd73ad57ed8f5a585f51", + "initial_state_before_dark_seed_sha256": null, + "environment_sha256": null, + "full_runtime_source_sha256": null, + "jacobian_evaluator": "analytic_single_ion_density", + "jacobian_fallback_reason": null, + "recorded_elapsed_s": 13.971388458972797, + "D_ion_m2_s": 2.585e-18, + "c0_m3": 1.8000000000000003e+25, + "scan_rate_V_s": 0.04, + "recorded_voltage_samples_per_branch": 111, + "stored_current_samples_per_branch": 110, + "curve_source": { + "source_id": "hi_dense_matrix", + "json_pointer": "/groups/density/cases/18/curves" + }, + "curve_sha256": "06894fe61c15b4309e287512e55620235cf8dedb031f9f2f09a278fdeb36bfd5", + "branch_sampling_sha256": { + "fwd": "a4c48da6b4cc6af60783f57162c7c3c2e04634a72a4068d2343a8f077f0940d7", + "rev": "3ad0546425c3956638f28ddd1bedabbc7a8b7d3ba60dba4447d7de6e57706749" + }, + "metrics": { + "HI_P_recorded": 0.22455334698232554, + "HI_P_from_stored_currents": 0.22455334698232554, + "HI_normalized_recorded": 0.18337571616270848, + "HI_normalized_from_stored_currents": 0.18337571616270845, + "Pmax_forward_W_m2": 64.54717421844802, + "Pmax_reverse_W_m2": 79.0414582274518 + }, + "metric_extraction": "Independent scalar arithmetic on already stored current arrays; no current reconstruction or integration executed", + "power_uncertainty": null, + "HI_resolution_status": "unknown_pending_independent_power_uncertainty", + "snapshot_inventory_relative_drift": 1.7075348231272463e-15, + "reference_inventory_m2": 7.196339327062903e+18, + "comparison_status": "historical_reference_only_not_acceptance_qualified" + }, + { + "id": "hi_density_19", + "axis": "density", + "parameter_value": 1.9, + "source_id": "hi_density_19_raw", + "original_source_path": "/Users/shane/Library/CloudStorage/OneDrive-HKUST(Guangzhou)/SolarLab/perovskite-sim/outputs/calado-reproduction/DenseIonMatrixV1/density/Ratio19.json", + "archived_job_id": "d2323a4281b14be49dcdd2ac1839cb1c", + "archived_status": "done", + "request_sha256": "c35a0525a873114451facfe90b19e45e99e2ececae2f0154bf7de23d3aba315f", + "device_input_sha256": "196402c0f9d32063f751db1a26da0141bda9086efdd6d62b037faaba384c246b", + "protocol_sha256": "69f70d018b738d2cd9fce99f36bc2cab6137c23717da36752b9d071d8721a592", + "protocol_json_sha256": "69f70d018b738d2cd9fce99f36bc2cab6137c23717da36752b9d071d8721a592", + "numerical_controls_sha256": "96c0a3bdb7c9d5e33403bf90f556698e592259e63747c2e02f68cd3b5c0a82a3", + "available_first_forward_snapshot_sha256": "9bc8e8da9d71bfafd9bf704f05674477999efa049e403397e26fbf8f8044cc67", + "available_first_reverse_snapshot_sha256": "5b0962f2fa9043b9e2f159ba5650e63a3edbb85a56143faadce7776a6c4e2cd3", + "initial_state_before_dark_seed_sha256": null, + "environment_sha256": null, + "full_runtime_source_sha256": null, + "jacobian_evaluator": "analytic_single_ion_density", + "jacobian_fallback_reason": null, + "recorded_elapsed_s": 13.887731333030388, + "D_ion_m2_s": 2.585e-18, + "c0_m3": 1.9e+25, + "scan_rate_V_s": 0.04, + "recorded_voltage_samples_per_branch": 111, + "stored_current_samples_per_branch": 110, + "curve_source": { + "source_id": "hi_dense_matrix", + "json_pointer": "/groups/density/cases/19/curves" + }, + "curve_sha256": "df85d5c5e8e1a58b43eaf13b23d1fd7a0138375c564c9d48ff496f4a8c409996", + "branch_sampling_sha256": { + "fwd": "a4c48da6b4cc6af60783f57162c7c3c2e04634a72a4068d2343a8f077f0940d7", + "rev": "3ad0546425c3956638f28ddd1bedabbc7a8b7d3ba60dba4447d7de6e57706749" + }, + "metrics": { + "HI_P_recorded": 0.21377257766022373, + "HI_P_from_stored_currents": 0.21377257766022373, + "HI_normalized_recorded": 0.176122431495619, + "HI_normalized_from_stored_currents": 0.17612243149561907, + "Pmax_forward_W_m2": 65.03226400426816, + "Pmax_reverse_W_m2": 78.93437871154075 + }, + "metric_extraction": "Independent scalar arithmetic on already stored current arrays; no current reconstruction or integration executed", + "power_uncertainty": null, + "HI_resolution_status": "unknown_pending_independent_power_uncertainty", + "snapshot_inventory_relative_drift": 1.617664569278444e-15, + "reference_inventory_m2": 7.596135956344175e+18, + "comparison_status": "historical_reference_only_not_acceptance_qualified" + }, + { + "id": "hi_density_20", + "axis": "density", + "parameter_value": 2.0, + "source_id": "hi_density_20_raw", + "original_source_path": "/Users/shane/Library/CloudStorage/OneDrive-HKUST(Guangzhou)/SolarLab/perovskite-sim/outputs/calado-reproduction/DenseIonMatrixV1/density/Ratio20.json", + "archived_job_id": "2dd175f85b864ff687a374b9d59a387b", + "archived_status": "done", + "request_sha256": "4e6c8acef159975271ec21f4ffe7c3c167d8ff5514d7c1572a7baec4fa759ba7", + "device_input_sha256": "695eb6a4ccb7c3a04dd3139dcc1792fe1e63079fc781150d608e3263b159564d", + "protocol_sha256": "69f70d018b738d2cd9fce99f36bc2cab6137c23717da36752b9d071d8721a592", + "protocol_json_sha256": "69f70d018b738d2cd9fce99f36bc2cab6137c23717da36752b9d071d8721a592", + "numerical_controls_sha256": "96c0a3bdb7c9d5e33403bf90f556698e592259e63747c2e02f68cd3b5c0a82a3", + "available_first_forward_snapshot_sha256": "8b2c4b903c27f7dc03a03df0ff2e1ac10f36cd5a3b53668a14ff6e06b7455c20", + "available_first_reverse_snapshot_sha256": "2fba2404f0c73cd02e9cc2abbef31fb2ed32848e74f87be09ef072217dd7112c", + "initial_state_before_dark_seed_sha256": null, + "environment_sha256": null, + "full_runtime_source_sha256": null, + "jacobian_evaluator": "analytic_single_ion_density", + "jacobian_fallback_reason": null, + "recorded_elapsed_s": 13.847584166098386, + "D_ion_m2_s": 2.585e-18, + "c0_m3": 2e+25, + "scan_rate_V_s": 0.04, + "recorded_voltage_samples_per_branch": 111, + "stored_current_samples_per_branch": 110, + "curve_source": { + "source_id": "hi_dense_matrix", + "json_pointer": "/groups/density/cases/20/curves" + }, + "curve_sha256": "2afe7904e6f8423aeb14bad046e9d7c60970f03be3aaf3f913002a5373f7fdb3", + "branch_sampling_sha256": { + "fwd": "a4c48da6b4cc6af60783f57162c7c3c2e04634a72a4068d2343a8f077f0940d7", + "rev": "3ad0546425c3956638f28ddd1bedabbc7a8b7d3ba60dba4447d7de6e57706749" + }, + "metrics": { + "HI_P_recorded": 0.20428753696491753, + "HI_P_from_stored_currents": 0.20428753696491753, + "HI_normalized_recorded": 0.16963352247235672, + "HI_normalized_from_stored_currents": 0.16963352247235672, + "Pmax_forward_W_m2": 65.44537755200446, + "Pmax_reverse_W_m2": 78.81505253784255 + }, + "metric_extraction": "Independent scalar arithmetic on already stored current arrays; no current reconstruction or integration executed", + "power_uncertainty": null, + "HI_resolution_status": "unknown_pending_independent_power_uncertainty", + "snapshot_inventory_relative_drift": 3.3296929050981305e-15, + "reference_inventory_m2": 7.995932585625446e+18, + "comparison_status": "historical_reference_only_not_acceptance_qualified" + }, + { + "id": "hi_rate_20", + "axis": "scan_rate", + "parameter_value": 0.02, + "source_id": "hi_rate_20_raw", + "original_source_path": "/Users/shane/Library/CloudStorage/OneDrive-HKUST(Guangzhou)/SolarLab/perovskite-sim/outputs/calado-reproduction/ui-protocol/WaveformRate0p02SpatialFrontend.json", + "archived_job_id": "fca7fb9568b947e59dada9fed1bcc140", + "archived_status": "result_present_no_top_level_status", + "request_sha256": "c09881de95debab03e95fa677f5c2f82cbbe681b237e26947dd5d541e0c6466f", + "device_input_sha256": "8c5e91737577c7f61f3dc9df83b967934764c4b85fd296bbf16602aace76568a", + "protocol_sha256": "e960583a16c0ca9d4a69cf6d173cfd3ef615d99d51fe644b9c37473f5fef6fbc", + "protocol_json_sha256": "ee306c51d267104fa0d049465f29420289fe4352efe641f8afc1a456ab1fc90a", + "numerical_controls_sha256": "96c0a3bdb7c9d5e33403bf90f556698e592259e63747c2e02f68cd3b5c0a82a3", + "available_first_forward_snapshot_sha256": "bdfeed494bf1eda88a6cfd555fb96923dbe498d829863b377c14ff97a43ff576", + "available_first_reverse_snapshot_sha256": "d456d6b60e0be6c6a64761f0169a8aa677666bf8b740f8c9dff8a77cfc4d2656", + "initial_state_before_dark_seed_sha256": null, + "environment_sha256": null, + "full_runtime_source_sha256": null, + "jacobian_evaluator": null, + "jacobian_fallback_reason": null, + "recorded_elapsed_s": null, + "D_ion_m2_s": 2.585e-18, + "c0_m3": 1e+25, + "scan_rate_V_s": 0.02, + "recorded_voltage_samples_per_branch": 111, + "stored_current_samples_per_branch": 110, + "curve_source": { + "source_id": "hi_original_curves", + "json_pointer": "/groups/rate/20mV~1s/curves" + }, + "curve_sha256": "5f86e76d585d23e9d4f04cdff7b0c5c6fbbf831d0e434487f83399c6118ee36b", + "branch_sampling_sha256": { + "fwd": "137d8946780dd1f0443944210a0c2eee5fb41bf8bbf9dd8a7c76172608ea65fb", + "rev": "846f7db73c35f987336f56b2551647f416471f17457aadf38e6d27607bf19fd7" + }, + "metrics": { + "HI_P_recorded": 0.1983174650775592, + "HI_P_from_stored_currents": 0.1983174649202879, + "HI_normalized_recorded": 0.1654965990708676, + "HI_normalized_from_stored_currents": 0.16549659896134458, + "Pmax_forward_W_m2": 66.0151770368595, + "Pmax_reverse_W_m2": 79.10713959307348 + }, + "metric_extraction": "Independent scalar arithmetic on already stored current arrays; no current reconstruction or integration executed", + "power_uncertainty": null, + "HI_resolution_status": "unknown_pending_independent_power_uncertainty", + "snapshot_inventory_relative_drift": 1.242231583825072e-13, + "reference_inventory_m2": 3.997966292812723e+18, + "comparison_status": "historical_reference_only_not_acceptance_qualified" + }, + { + "id": "hi_rate_40", + "axis": "scan_rate", + "parameter_value": 0.04, + "source_id": "hi_rate_40_raw", + "original_source_path": "/Users/shane/Library/CloudStorage/OneDrive-HKUST(Guangzhou)/SolarLab/perovskite-sim/outputs/calado-reproduction/ui-protocol/WaveformNominalSpatialFrontend.json", + "archived_job_id": "0cc97c9c824540b19f364a29d13c8e4a", + "archived_status": "result_present_no_top_level_status", + "request_sha256": "f85b35f9926a85b31bb8c865c91d1ab093abdca5dbcf06a906b940aa0ee13d6d", + "device_input_sha256": "8c5e91737577c7f61f3dc9df83b967934764c4b85fd296bbf16602aace76568a", + "protocol_sha256": "69f70d018b738d2cd9fce99f36bc2cab6137c23717da36752b9d071d8721a592", + "protocol_json_sha256": "aaf30400f4cd7c103a9022539b6d8d82ad0d06abbaec10d64c22572254eb8078", + "numerical_controls_sha256": "96c0a3bdb7c9d5e33403bf90f556698e592259e63747c2e02f68cd3b5c0a82a3", + "available_first_forward_snapshot_sha256": "bdfeed494bf1eda88a6cfd555fb96923dbe498d829863b377c14ff97a43ff576", + "available_first_reverse_snapshot_sha256": "c76982d698a0c82f764a04e647fa66e5cb609718e07f8a1038c691755811453f", + "initial_state_before_dark_seed_sha256": null, + "environment_sha256": null, + "full_runtime_source_sha256": null, + "jacobian_evaluator": null, + "jacobian_fallback_reason": null, + "recorded_elapsed_s": null, + "D_ion_m2_s": 2.585e-18, + "c0_m3": 1e+25, + "scan_rate_V_s": 0.04, + "recorded_voltage_samples_per_branch": 111, + "stored_current_samples_per_branch": 110, + "curve_source": { + "source_id": "hi_original_curves", + "json_pointer": "/groups/rate/40mV~1s/curves" + }, + "curve_sha256": "80a4b7e4a29864e9aaec2c1e403b0ef2829ff3acf8d15e581b3cd47f041daa13", + "branch_sampling_sha256": { + "fwd": "137d8946780dd1f0443944210a0c2eee5fb41bf8bbf9dd8a7c76172608ea65fb", + "rev": "846f7db73c35f987336f56b2551647f416471f17457aadf38e6d27607bf19fd7" + }, + "metrics": { + "HI_P_recorded": 0.4794925075686314, + "HI_P_from_stored_currents": 0.4794924998286023, + "HI_normalized_recorded": 0.3240925554645896, + "HI_normalized_from_stored_currents": 0.3240925519285505, + "Pmax_forward_W_m2": 54.98619669719185, + "Pmax_reverse_W_m2": 81.3516656075956 + }, + "metric_extraction": "Independent scalar arithmetic on already stored current arrays; no current reconstruction or integration executed", + "power_uncertainty": null, + "HI_resolution_status": "unknown_pending_independent_power_uncertainty", + "snapshot_inventory_relative_drift": 1.2383896304730355e-13, + "reference_inventory_m2": 3.997966292812723e+18, + "comparison_status": "historical_reference_only_not_acceptance_qualified" + }, + { + "id": "hi_rate_80", + "axis": "scan_rate", + "parameter_value": 0.08, + "source_id": "hi_rate_80_raw", + "original_source_path": "/Users/shane/Library/CloudStorage/OneDrive-HKUST(Guangzhou)/SolarLab/perovskite-sim/outputs/calado-reproduction/ui-protocol/WaveformRate0p08SpatialFrontend.json", + "archived_job_id": "b3e23b6f8af44184bb41d26c4217c536", + "archived_status": "result_present_no_top_level_status", + "request_sha256": "61c0811a66291540ea61443334fbeadd9246d4ffacae7a964726d27b9a69352e", + "device_input_sha256": "8c5e91737577c7f61f3dc9df83b967934764c4b85fd296bbf16602aace76568a", + "protocol_sha256": "74ec3960f4133474754034462449ac5abcbf961c8df30ce26ff6743e257cd3e4", + "protocol_json_sha256": "f5c38977794e26d02cec22368df7a8143b8438a3ffb0deae5aabe978e50c814c", + "numerical_controls_sha256": "96c0a3bdb7c9d5e33403bf90f556698e592259e63747c2e02f68cd3b5c0a82a3", + "available_first_forward_snapshot_sha256": "bdfeed494bf1eda88a6cfd555fb96923dbe498d829863b377c14ff97a43ff576", + "available_first_reverse_snapshot_sha256": "4a9fb49097d5751a1fd9aa079e5ce604709df6d71405d3f1f0232d781eb9c3ca", + "initial_state_before_dark_seed_sha256": null, + "environment_sha256": null, + "full_runtime_source_sha256": null, + "jacobian_evaluator": null, + "jacobian_fallback_reason": null, + "recorded_elapsed_s": null, + "D_ion_m2_s": 2.585e-18, + "c0_m3": 1e+25, + "scan_rate_V_s": 0.08, + "recorded_voltage_samples_per_branch": 111, + "stored_current_samples_per_branch": 110, + "curve_source": { + "source_id": "hi_original_curves", + "json_pointer": "/groups/rate/80mV~1s/curves" + }, + "curve_sha256": "118831c40400270718731dd087f3fd17d070b7fd47da1660369c1b9958150068", + "branch_sampling_sha256": { + "fwd": "137d8946780dd1f0443944210a0c2eee5fb41bf8bbf9dd8a7c76172608ea65fb", + "rev": "846f7db73c35f987336f56b2551647f416471f17457aadf38e6d27607bf19fd7" + }, + "metrics": { + "HI_P_recorded": 3.4445829294309585, + "HI_P_from_stored_currents": 3.444582904089465, + "HI_normalized_recorded": 0.7750070105839986, + "HI_normalized_from_stored_currents": 0.7750070093011655, + "Pmax_forward_W_m2": 18.698290522088502, + "Pmax_reverse_W_m2": 83.10610239017264 + }, + "metric_extraction": "Independent scalar arithmetic on already stored current arrays; no current reconstruction or integration executed", + "power_uncertainty": null, + "HI_resolution_status": "unknown_pending_independent_power_uncertainty", + "snapshot_inventory_relative_drift": 1.2409509327077265e-13, + "reference_inventory_m2": 3.997966292812723e+18, + "comparison_status": "historical_reference_only_not_acceptance_qualified" + } + ], + "historical_code_identity_checks": [ + { + "original_path": "/Users/shane/Library/CloudStorage/OneDrive-HKUST(Guangzhou)/SolarLab/perovskite-sim/outputs/calado-reproduction/RunDenseIonMatrix.py", + "original_sha256": "6db38eed2d8f4a3b8bcf7acbd1499ab65c1c0d231f84366751cfbc7abca6688b", + "current_source_id": "hi_dense_script", + "current_sha256": "e11fa35c48d2ac19502e0e36056af384fd2ae69ba0adc1d5de92c37ee5d431a2", + "byte_identical": false + }, + { + "original_path": "/Users/shane/Library/CloudStorage/OneDrive-HKUST(Guangzhou)/SolarLab/perovskite-sim/backend/main.py", + "original_sha256": "e8e34eaefe0107a8d09580e8b04bb453bd5f3d4b61d7ea28740b9ddf349588d0", + "current_source_id": "hi_code_1", + "current_sha256": "7dd1292f6f34f0f065a50686802c20a8484edcc9e4a7d98287799c076f9da01f", + "byte_identical": false + }, + { + "original_path": "/Users/shane/Library/CloudStorage/OneDrive-HKUST(Guangzhou)/SolarLab/perovskite-sim/backend/jobs.py", + "original_sha256": "9a059b7916dc3464229e24bfeafaffd43d3fe31234a13c3dc3b3f4d6a7b57785", + "current_source_id": "hi_code_2", + "current_sha256": "73d6076c07b51395c75e47d96c546790595aa256cf822efc420aa789960d9691", + "byte_identical": false + }, + { + "original_path": "/Users/shane/Library/CloudStorage/OneDrive-HKUST(Guangzhou)/SolarLab/perovskite-sim/perovskite_sim/experiments/waveform_jv.py", + "original_sha256": "cac7648c136190db6bca65697cdb3200ab7b57e81787736a67d706cda333d1e7", + "current_source_id": "hi_code_3", + "current_sha256": "cac7648c136190db6bca65697cdb3200ab7b57e81787736a67d706cda333d1e7", + "byte_identical": true + }, + { + "original_path": "/Users/shane/Library/CloudStorage/OneDrive-HKUST(Guangzhou)/SolarLab/perovskite-sim/perovskite_sim/experiments/waveform_jacobian.py", + "original_sha256": "dbf0f40dc191c75a35d01575c27db0e46daa64af522a6635b4218327c4909226", + "current_source_id": "hi_code_4", + "current_sha256": "dbf0f40dc191c75a35d01575c27db0e46daa64af522a6635b4218327c4909226", + "byte_identical": true + }, + { + "original_path": "/Users/shane/Library/CloudStorage/OneDrive-HKUST(Guangzhou)/SolarLab/perovskite-sim/perovskite_sim/solver/mol.py", + "original_sha256": "796a276e6fff0fbe4d080e46c06f6f7679a274ccd49d8256d84de3674235f789", + "current_source_id": "hi_code_5", + "current_sha256": "1c02ff41356cfaf75245e3e9e3a0101064d43a766e9e416053ea1e75ef54b61a", + "byte_identical": false + } + ], + "existing_refinement": { + "peak_checks": [ + { + "id": "diffusivity-n60-p441", + "source_id": "hi_peak_diffusivity-n60-p441", + "HI_P": 95.82511400224004, + "summary_source_id": "hi_peak_summary_diffusivity-n60-p441", + "historical_raw_sha256": "747b43762ac5788dc7ef272007f834217e99df30b5b17b156f79a23affacd5b3", + "current_raw_sha256": "4191676193b50e74fa2f23ebc761eed6869d0d2eed3aecd433a1545f903e4ec3", + "hash_binding_status": "original_raw_digest_reconstructed_by_documented_path_only_change", + "summary_and_matrix_old_pins_equal": true, + "current_raw_HI_equals_recorded_HI": true, + "relative_change_from_61_nodes_111_samples": -0.003936633294657543, + "qualifies_full_scan_or_new_solver": false, + "payload_equivalence_provenance_source_id": "hi_peak_provenance_diagnostic", + "full_request_and_result_equal_to_checked_original": true + }, + { + "id": "diffusivity-n120-p441", + "source_id": "hi_peak_diffusivity-n120-p441", + "HI_P": 99.90353066128499, + "summary_source_id": "hi_peak_summary_diffusivity-n120-p441", + "historical_raw_sha256": "4710a28ddf78f0079d757bdefd549ac2be831e1267f14e06ab8fd8b67265c96c", + "current_raw_sha256": "4e55ee11c221979095a88c2fa8c7f115071307f6fe87452b7eff7c9bd4e43b0e", + "hash_binding_status": "original_raw_digest_reconstructed_by_documented_path_only_change", + "summary_and_matrix_old_pins_equal": true, + "current_raw_HI_equals_recorded_HI": true, + "relative_change_from_61_nodes_111_samples": 0.03845686104692492, + "qualifies_full_scan_or_new_solver": false, + "payload_equivalence_provenance_source_id": "hi_peak_provenance_diagnostic", + "full_request_and_result_equal_to_checked_original": true + }, + { + "id": "density-n60-p441", + "source_id": "hi_peak_density-n60-p441", + "HI_P": 9.999269339935275, + "summary_source_id": "hi_peak_summary_density-n60-p441", + "historical_raw_sha256": "c482b29e41bb6ce864243eed2413508b2e09baa2070be3c5f658a726210da143", + "current_raw_sha256": "f058c5899026f17cb2ee8a6a69cab40aad4bf5f0006fadd78236b3f1d6b21873", + "hash_binding_status": "original_raw_digest_reconstructed_by_documented_path_only_change", + "summary_and_matrix_old_pins_equal": true, + "current_raw_HI_equals_recorded_HI": true, + "relative_change_from_61_nodes_111_samples": 0.0004200617458636202, + "qualifies_full_scan_or_new_solver": false, + "payload_equivalence_provenance_source_id": "hi_peak_provenance_diagnostic", + "full_request_and_result_equal_to_checked_original": true + }, + { + "id": "density-n120-p441", + "source_id": "hi_peak_density-n120-p441", + "HI_P": 9.974490727513183, + "summary_source_id": "hi_peak_summary_density-n120-p441", + "historical_raw_sha256": "4237eb0de8ad635ac38cef3a47e2a24442eb019606d3d0d2dc81fffdd86f68fd", + "current_raw_sha256": "6e14a44c440d88f76ffbfb5e05f9ba0cb318b9ceee1546f5b6f80cbcf3a6d048", + "hash_binding_status": "original_raw_digest_reconstructed_by_documented_path_only_change", + "summary_and_matrix_old_pins_equal": true, + "current_raw_HI_equals_recorded_HI": true, + "relative_change_from_61_nodes_111_samples": -0.002059021487776591, + "qualifies_full_scan_or_new_solver": false, + "payload_equivalence_provenance_source_id": "hi_peak_provenance_diagnostic", + "full_request_and_result_equal_to_checked_original": true + } + ], + "status": "peak_numerical_payload_lineage_recovered_limited_refinement_scope", + "binding_gap": "Four literal raw-file hash differences remain, but a hash-verified path-only inverse accounts for all bytes; full runtime/environment and complete scan refinement remain unqualified", + "new_solver_budget_status": "awaiting_prior_independent_refinement_and_review" + }, + "presentation": { + "source_id": "formal_deck", + "slides": [ + { + "slide": 35, + "axis": "scan_rate", + "source_id": "formal_deck", + "xml_part": "ppt/slides/slide35.xml", + "xml_sha256": "c686cf646cf42c5584a870df504753fa66b9fa04dad3d476ad2f682ad227ad3a", + "prior_extraction_text_verified": true, + "chart_parts": [ + "ppt/charts/chart2.xml", + "ppt/charts/chart1.xml" + ] + }, + { + "slide": 36, + "axis": "diffusivity", + "source_id": "formal_deck", + "xml_part": "ppt/slides/slide36.xml", + "xml_sha256": "f7a0f65d24bb2460badeba474f4d590d1146b0fce4ad1285c95632e562fdc9a4", + "prior_extraction_text_verified": true, + "chart_parts": [ + "ppt/charts/chart5.xml", + "ppt/charts/chart4.xml", + "ppt/charts/chart3.xml" + ] + }, + { + "slide": 37, + "axis": "density", + "source_id": "formal_deck", + "xml_part": "ppt/slides/slide37.xml", + "xml_sha256": "682ba73e69b5ef21b6e9714ad42730a0d88c7f4c01bf4d69aad26dd65e9c3020", + "prior_extraction_text_verified": true, + "chart_parts": [ + "ppt/charts/chart8.xml", + "ppt/charts/chart7.xml", + "ppt/charts/chart6.xml" + ] + } + ], + "charts": [ + { + "part": "ppt/charts/chart1.xml", + "sha256": "2ba529436c48ad5b242f0a749decab282ee1f69edc91ad38ba2a8d713fcd8dcf", + "series_count": 6, + "point_counts": [ + { + "xVal": 35, + "yVal": 35 + }, + { + "xVal": 40, + "yVal": 40 + }, + { + "xVal": 32, + "yVal": 32 + }, + { + "xVal": 41, + "yVal": 41 + }, + { + "xVal": 25, + "yVal": 25 + }, + { + "xVal": 41, + "yVal": 41 + } + ], + "role": "cropped_operational_JV_not_full_branches", + "sampled_values": null, + "prior_extraction_numeric_cache_verified": true + }, + { + "part": "ppt/charts/chart2.xml", + "sha256": "b364d047a9b0c8015644fdeb017ae126077ac4e9d68d87b6f329e2b5908d7369", + "series_count": 1, + "point_counts": [ + { + "cat": 3, + "val": 3 + } + ], + "role": "sampled_HI_values", + "sampled_values": [ + { + "name": "HI", + "cat": [ + "20", + "40", + "80" + ], + "val": [ + "0.198317465078", + "0.479492507569", + "3.44458292943" + ] + } + ], + "prior_extraction_numeric_cache_verified": true + }, + { + "part": "ppt/charts/chart3.xml", + "sha256": "ef52de256b0c55f6c639593e46ca5373b0ba7d2ad630935ef137482691722d8c", + "series_count": 42, + "point_counts": [ + { + "xVal": 15, + "yVal": 15 + }, + { + "xVal": 31, + "yVal": 31 + }, + { + "xVal": 15, + "yVal": 15 + }, + { + "xVal": 36, + "yVal": 36 + }, + { + "xVal": 18, + "yVal": 18 + }, + { + "xVal": 38, + "yVal": 38 + }, + { + "xVal": 22, + "yVal": 22 + }, + { + "xVal": 40, + "yVal": 40 + }, + { + "xVal": 25, + "yVal": 25 + }, + { + "xVal": 40, + "yVal": 40 + }, + { + "xVal": 28, + "yVal": 28 + }, + { + "xVal": 41, + "yVal": 41 + }, + { + "xVal": 29, + "yVal": 29 + }, + { + "xVal": 41, + "yVal": 41 + }, + { + "xVal": 30, + "yVal": 30 + }, + { + "xVal": 41, + "yVal": 41 + }, + { + "xVal": 31, + "yVal": 31 + }, + { + "xVal": 41, + "yVal": 41 + }, + { + "xVal": 32, + "yVal": 32 + }, + { + "xVal": 41, + "yVal": 41 + }, + { + "xVal": 33, + "yVal": 33 + }, + { + "xVal": 41, + "yVal": 41 + }, + { + "xVal": 33, + "yVal": 33 + }, + { + "xVal": 41, + "yVal": 41 + }, + { + "xVal": 33, + "yVal": 33 + }, + { + "xVal": 41, + "yVal": 41 + }, + { + "xVal": 34, + "yVal": 34 + }, + { + "xVal": 41, + "yVal": 41 + }, + { + "xVal": 34, + "yVal": 34 + }, + { + "xVal": 41, + "yVal": 41 + }, + { + "xVal": 34, + "yVal": 34 + }, + { + "xVal": 41, + "yVal": 41 + }, + { + "xVal": 34, + "yVal": 34 + }, + { + "xVal": 41, + "yVal": 41 + }, + { + "xVal": 34, + "yVal": 34 + }, + { + "xVal": 40, + "yVal": 40 + }, + { + "xVal": 35, + "yVal": 35 + }, + { + "xVal": 40, + "yVal": 40 + }, + { + "xVal": 47, + "yVal": 47 + }, + { + "xVal": 47, + "yVal": 47 + }, + { + "xVal": 32, + "yVal": 32 + }, + { + "xVal": 41, + "yVal": 41 + } + ], + "role": "cropped_operational_JV_not_full_branches", + "sampled_values": null, + "prior_extraction_numeric_cache_verified": true + }, + { + "part": "ppt/charts/chart4.xml", + "sha256": "6feb54ece06aeb224d1f24ee3b5d2c8acb84cacd3583407acc341c26669a3c03", + "series_count": 1, + "point_counts": [ + { + "cat": 21, + "val": 21 + } + ], + "role": "sampled_HI_values", + "sampled_values": [ + { + "name": "HI", + "cat": [ + "0", + "0.1", + "0.2", + "0.3", + "0.4", + "0.5", + "0.6", + "0.7", + "0.8", + "0.9", + "1", + "1.1", + "1.2", + "1.3", + "1.4", + "1.5", + "1.6", + "1.7", + "1.8", + "1.9", + "2" + ], + "val": [ + "2.8735776203e-7", + "51.5464642034", + "96.2038332151", + "31.3468139371", + "9.05725612102", + "3.35884304726", + "1.68611602156", + "1.04850981168", + "0.749360289074", + "0.58538870236", + "0.47949249988", + "0.411277459588", + "0.357702052675", + "0.32120732726", + "0.292982889842", + "0.268388147624", + "0.249098109075", + "0.233100611412", + "0.219521501629", + "0.209203034865", + "0.198676045606" + ] + } + ], + "prior_extraction_numeric_cache_verified": true + }, + { + "part": "ppt/charts/chart5.xml", + "sha256": "881c0a6584c6109ee0be748498180eb87301fa283de4c22cb4a57772e6867c29", + "series_count": 1, + "point_counts": [ + { + "xVal": 401, + "yVal": 401 + } + ], + "role": "PCHIP_visual_guide_not_samples", + "sampled_values": null, + "prior_extraction_numeric_cache_verified": true + }, + { + "part": "ppt/charts/chart6.xml", + "sha256": "823861abf9a8c5319a2452e9ae0f1ccb9c09007b1615f7778ff27c3071047efd", + "series_count": 42, + "point_counts": [ + { + "xVal": 22, + "yVal": 22 + }, + { + "xVal": 32, + "yVal": 32 + }, + { + "xVal": 20, + "yVal": 20 + }, + { + "xVal": 37, + "yVal": 37 + }, + { + "xVal": 21, + "yVal": 21 + }, + { + "xVal": 39, + "yVal": 39 + }, + { + "xVal": 24, + "yVal": 24 + }, + { + "xVal": 40, + "yVal": 40 + }, + { + "xVal": 26, + "yVal": 26 + }, + { + "xVal": 40, + "yVal": 40 + }, + { + "xVal": 28, + "yVal": 28 + }, + { + "xVal": 41, + "yVal": 41 + }, + { + "xVal": 29, + "yVal": 29 + }, + { + "xVal": 41, + "yVal": 41 + }, + { + "xVal": 30, + "yVal": 30 + }, + { + "xVal": 41, + "yVal": 41 + }, + { + "xVal": 31, + "yVal": 31 + }, + { + "xVal": 41, + "yVal": 41 + }, + { + "xVal": 32, + "yVal": 32 + }, + { + "xVal": 41, + "yVal": 41 + }, + { + "xVal": 33, + "yVal": 33 + }, + { + "xVal": 41, + "yVal": 41 + }, + { + "xVal": 33, + "yVal": 33 + }, + { + "xVal": 41, + "yVal": 41 + }, + { + "xVal": 33, + "yVal": 33 + }, + { + "xVal": 41, + "yVal": 41 + }, + { + "xVal": 34, + "yVal": 34 + }, + { + "xVal": 41, + "yVal": 41 + }, + { + "xVal": 34, + "yVal": 34 + }, + { + "xVal": 41, + "yVal": 41 + }, + { + "xVal": 34, + "yVal": 34 + }, + { + "xVal": 41, + "yVal": 41 + }, + { + "xVal": 34, + "yVal": 34 + }, + { + "xVal": 41, + "yVal": 41 + }, + { + "xVal": 34, + "yVal": 34 + }, + { + "xVal": 40, + "yVal": 40 + }, + { + "xVal": 34, + "yVal": 34 + }, + { + "xVal": 40, + "yVal": 40 + }, + { + "xVal": 47, + "yVal": 47 + }, + { + "xVal": 47, + "yVal": 47 + }, + { + "xVal": 32, + "yVal": 32 + }, + { + "xVal": 41, + "yVal": 41 + } + ], + "role": "cropped_operational_JV_not_full_branches", + "sampled_values": null, + "prior_extraction_numeric_cache_verified": true + }, + { + "part": "ppt/charts/chart7.xml", + "sha256": "c3ae9a7cbc50455b81fd836c81b21b7df4497d99c625b8d40fc5e0dfe445ecc0", + "series_count": 1, + "point_counts": [ + { + "cat": 21, + "val": 21 + } + ], + "role": "sampled_HI_values", + "sampled_values": [ + { + "name": "HI", + "cat": [ + "0", + "0.1", + "0.2", + "0.3", + "0.4", + "0.5", + "0.6", + "0.7", + "0.8", + "0.9", + "1", + "1.1", + "1.2", + "1.3", + "1.4", + "1.5", + "1.6", + "1.7", + "1.8", + "1.9", + "2" + ], + "val": [ + "2.92228227616e-7", + "3.76709583887", + "9.99507079305", + "8.49863272309", + "4.58630175658", + "2.36353091248", + "1.4008993422", + "0.953803033518", + "0.716875293749", + "0.576019600952", + "0.47949249988", + "0.415044328924", + "0.362489961916", + "0.326280355315", + "0.298303996896", + "0.273989953093", + "0.25407085078", + "0.237424375077", + "0.224553346982", + "0.21377257766", + "0.204287536965" + ] + } + ], + "prior_extraction_numeric_cache_verified": true + }, + { + "part": "ppt/charts/chart8.xml", + "sha256": "f7930ba37632448f93fe86b215006929e7a182799374babbcb8055a2f61007d3", + "series_count": 1, + "point_counts": [ + { + "xVal": 401, + "yVal": 401 + } + ], + "role": "PCHIP_visual_guide_not_samples", + "sampled_values": null, + "prior_extraction_numeric_cache_verified": true + } + ], + "rounding_note": "Slides use rounded Dref=2.60e-18; captured request value 2.585e-18 is authoritative", + "prior_extraction_reused": "slides.json/charts.json verified against the current deck XML and cached numeric values; no dependency on temporary extracted files" + }, + "comparison_preparation": { + "contract_source_id": "hi_reference_contract", + "scope": "All 45 original records retained; 43 equal-request groups do not prove full runtime identity", + "historical_same_grid_contract": "unchanged and limited to four cases", + "prospective_numerical_budget": "retains section14 targets plus explicit dimensional floors, source-error and weak-HI power constraints", + "refinement_status": "frozen_corrected_plan; future_driver_unimplemented_and_reference_qualification_pending", + "first_point_gap": "90 archived branch-start currents lack a predecessor-based current reference; new output must restore physical prestate and instantaneous current", + "contract_status": "frozen_standard_reference_qualification_pending", + "power_precondition_source_id": "hi_power_precondition" + } + }, + "budgets": { + "policy": "Freeze budgets and exact scope before candidate production; missing thresholds, source/coordinate mismatches, or unknown reference errors reject acceptance", + "historical_migration": { + "M": "Bitwise numeric payload equivalence with explicit metadata mapping; known failures and the 6.024958093 meV contact label remain historical", + "N": "A separately reviewed mixed budget for the exact driver/input/protocol/model/initial-state scope; never require identical internal adaptive steps", + "status": "per_scope_bindings_pending" + }, + "internal_numerical": { + "reference_error_fraction_max": 0.3333333333333333, + "plan_targets_not_complete_gates": { + "Voc_atol_V": 0.0001, + "Jsc_FF_PCE_rtol": 0.0001, + "HI_atol": 0.001 + }, + "status": "awaiting_independent_grid_time_nonlinear_error_and_dimensional_floors", + "existing_SCAPS_registry_lane": { + "source_id": "refinement_registry", + "lane": "scaps-mirror-frozen-ion-ss", + "config": "tests/fixtures/configs/scaps_mirror.yaml", + "grids": [ + 30, + 60, + 90 + ], + "tolerance_factors": [ + 1, + 0.1, + 0.01 + ], + "reuse_limit": "Different configuration and restricted internal frozen-ion lane; does not qualify all mirror_v2 scans or external SCAPS parity" + }, + "followup_proposal_sources": [ + "scaps_comparison_contract", + "hi_reference_contract" + ] + }, + "external_scaps": { + "id": "scaps_external_pending", + "status": "standard_frozen_reference_qualification_pending", + "thresholds": { + "Voc_V": { + "atol": null, + "rtol": null, + "fixed_scale": null, + "reference_error": null + }, + "Jsc_mA_cm2": { + "atol": null, + "rtol": null, + "fixed_scale": null, + "reference_error": null + }, + "FF_percent": { + "atol": null, + "rtol": null, + "fixed_scale": null, + "reference_error": null + }, + "PCE_percent": { + "atol": null, + "rtol": null, + "fixed_scale": null, + "reference_error": null + } + }, + "required_before_freezing": [ + "Bind the reported SCAPS source version, worksheet rows, coordinate mapping, metric units/definitions and available/missing status", + "Independently review the intended claim channel and all reconstructed, inferred, calibrated or unknown physical inputs; resolve unit/energy/topology ambiguity or define an explicit permitted scope", + "Freeze report-table extraction and rounding uncertainty separately from undisclosed SCAPS continuum discretization error", + "Establish independent SolarLab mesh/bias or time/nonlinear precision appropriate to the claim and declare its budget", + "Freeze per-metric thresholds and absolute weak-signal limits before candidate run start, with reviewer and evidence binding" + ], + "forbidden_substitutes": [ + "internal 1e-4 targets", + "5 meV contact certificate", + "mirror_v2 calibration agreement", + "digitized color cells or chart interpolation" + ], + "claim_channels": [ + { + "id": "reported_table_comparison", + "scope": "Compare all available reported SCAPS scalar/sweep/grid metrics with preserved missing coordinates and explicit input reconstruction/calibration status; no continuum-accuracy or independent-no-fit claim" + }, + { + "id": "historical_calibrated_reproduction", + "scope": "Compare the declared historical calibrated SolarLab model with reported results; calibration and effective driver identity remain visible" + }, + { + "id": "independent_physics_validation", + "scope": "Requires independently qualified physical inputs, numerical reference accuracy and appropriate native evidence; not granted by table agreement" + } + ], + "reported_table_comparison_required": true, + "native_JV_policy": { + "condition": "When original SCAPS J-V arrays are available", + "required": "Compare the complete supplied curves on bound coordinates, together with metric and knee/bracket consistency; no clipping away difficult supplied points", + "when_unavailable": "Continue required report/table metric comparison under its reviewed evidence scope; list the absent curves without turning them into a universal blocker or inventing them" + }, + "SCAPS_refinement_policy": { + "status": "own continuum discretization uncertainty undisclosed", + "universal_new_SCAPS_run_required": false, + "conditional_requirement": "Only a claim that certifies third-party continuum accuracy can require additional SCAPS mesh/bias/nonlinear evidence, and only through an available authorized native input/runtime route", + "unavailable_route": "Keep that stronger qualification unresolved; do not reverse-certify inaccessible third-party calculations or substitute fitted agreement" + }, + "uncertainty_components": { + "reported_values": { + "source": "SCAPS workbook and PDF as reported", + "extraction": "241 existing fixture rows reconciled exactly to workbook cells; 6 additional Nd_PVK rows extracted; 14 missing rows remain explicit", + "rounding": "Per-source/per-metric resolution and binary-to-decimal interpretation must be assessed and frozen before comparison", + "budget_status": "awaiting_independent_review", + "proposal_source_id": "scaps_table_provenance" + }, + "SolarLab_numerical": { + "source": "Independent spatial, bias/time and nonlinear refinement for the exact effective SolarLab execution", + "budget_status": "awaiting_independent_review", + "proposal_source_id": "scaps_comparison_contract" + }, + "SCAPS_continuum": { + "source": "Native SCAPS discretization/solver accuracy, not recoverable from table precision alone", + "budget_status": "unknown_not_automatically_required_for_reported_table_comparison", + "claim_limit": "No independent continuum or no-fit validation claim" + } + }, + "proposal_source_id": "scaps_comparison_contract", + "proposal_pointer": "/pointwise_gates", + "thresholds_policy": "Null thresholds here deliberately remain inactive; the separate proposal is not a frozen GateSpec and cannot authorize acceptance", + "freeze_receipt": { + "frozen_at": "2026-10-05T09:32:01.471161+00:00", + "reviewer_session": "01a10b53-17dc-7bf2-a3e0-f3902e5b5d96", + "reviewed_sha256": "30176e5af29d6b5a51eed398c57b4166cb5053b24479aea31e1c6934e9825966", + "current_sha256": "5beaf9096866cd98896d0300425e107aa9323dfc3e7a1fd8d8ca5d1ceed2e3b5" + } + }, + "existing_HI_same_grid_only": { + "source_id": "hi_existing_test", + "fixture_source_id": "hi_fixture", + "ratios": [ + 0, + 0.2, + 1, + 2 + ], + "J": { + "unit": "A/m^2", + "atol": 0.001, + "rtol": 1e-05, + "rule": "sum" + }, + "HI_P": { + "unit": "1", + "atol": 1e-05, + "rtol": 0.0002, + "rule": "max_existing_pytest_approx" + }, + "voltage": { + "unit": "V", + "atol": 1e-12, + "rtol": 0 + }, + "mask": "Only the inherited [1:] stored-current scope on both branches; original omission remains visible", + "qualification": "historical four-case same-grid regression only; no full scan or new solver certification" + }, + "full_HI_or_new_solver": { + "status": "standard_and_reference_plan_frozen_reference_qualification_pending", + "J_atol": null, + "J_rtol": null, + "HI_atol": null, + "HI_rtol": null, + "required_evidence": [ + "all three rates and both 21-point axes", + "independent space/time/bias/nonlinear refinements", + "Pmax and weak-denominator error propagation", + "full first-point current and preconditioned state lineage", + "complete effective source/environment/model manifest" + ], + "proposal_source_id": "hi_reference_contract", + "proposal_pointer": "/evidence_channels/numerical_and_new_algorithm/proposed_gates", + "freeze_receipt": { + "frozen_at": "2026-10-05T09:51:28.332696+00:00", + "reviewer_session": "01a10b6e-1a04-79f3-8852-5d182fe6be54", + "reviewed_corrected_sha256": "ee35db8311a423afd10c5dca72d5f7985deb97b1848118732ac1eceec8c926fe", + "frozen_sha256": "bec9fff7f5194a81492b9697f354d460413293a84aa66667c97cf5371adf8d67", + "independent_receipt_sha256": "548fe81a5ebea29c518a21df2dfb08aa7365030853d501f4882159c0deeb40a0" + } + }, + "independent_analytic_prerequisites": { + "source_id": "analytic_gates", + "design_source_id": "analytic_design", + "status_at_capture": "frozen", + "scope": "Coordinator-owned small analytic systems NC01-NC08; never substitutes for SCAPS/HI or full G0", + "frozen_at": "2026-10-05T08:32:55.457547+00:00", + "sha256": "43c9ba4ab1b6a95b3e278efcd8eed9a67dc4d5e258295c8e6961c53f7ee57201", + "independent_review": { + "status": "approved_with_conditions_applied", + "reviewer_session": "01a10b2f-45dd-7021-818a-3feec5cd361c", + "model": "gpt-6-astra", + "effort": "max", + "reviewed_sha256": "98a9ce6fc248852e4ba85a4ac4dcb7d1a0e6360de78fb342390840539fbe8c0d", + "scope": "small analytic reference gates only", + "conditions_applied": [ + "NC06 analytic and quadrature errors separately recorded", + "NC06 IDA observation times separated from native BE grid maxima" + ], + "frozen_at": "2026-10-05T08:32:55.457547+00:00" + }, + "scope_prerequisite_rule": "eligible_for_isolated_T1_only_after_own_source_environment_coverage_binding_task_prerequisites" + }, + "out_of_comparator_scope": [ + "gauge-aligned CV potential norms", + "density log ratios and inventories", + "conservative cross-grid projection with separate interface traces", + "complex admittance and circular phase above frozen amplitude floor", + "R1 per-step storage/charge qualification" + ], + "out_of_scope_policy": "Their section 14 rules are retained; this scalar/curve/grid helper does not claim these comparators are implemented or passed", + "performance": { + "status": "five_exact_prospective_cases_prepared_baselines_and_review_pending", + "rules": [ + "same physical/numerical protocol, machine, threads, and output budget", + "at least three independent repeats after correctness, except expensive original-window repetition contracts", + "report time distribution, failures, DOF, nnz(J), nnz(L+U), factor rebuilds, RSS", + "no speedup ratio for failed old cases; no macOS/Linux timing equivalence" + ], + "proposal_source_id": "performance_cases", + "input_resolution_source_id": "performance_input_resolution", + "targets": { + "N80_JV": 3, + "N200_JV": 5, + "SCAPS_steady": 5, + "spatial_2D_StageA": 10, + "AC60_vs_qualified_lockin": 10 + }, + "existing_denominator_policy": "None of the located old runs/notes is an eligible denominator for all exact cases; failed/mismatched/unqualified runs remain excluded" + } + }, + "comparison_helper": { + "path": "tests/refactor/reference_comparison.py", + "implementation": "Python standard library, no simulator imports", + "supported": [ + "scalar", + "one-parameter curve", + "two-parameter coordinate grid", + "explicit HI definitions" + ], + "status_model": { + "reference": [ + "ok", + "reference_missing", + "unknown" + ], + "candidate": [ + "ok", + "solver_failed", + "unknown" + ] + }, + "source_binding_rule": "Each table must match its independently frozen identity; a planned new source needs its own explicit expected identity", + "acceptance_rule": "No missing/extra/duplicate coordinates, no implicit conversions/interpolation, no missing thresholds or unreviewed gate; freeze must precede actual run_started_at, which precedes artifact created_at", + "power_resolution": "HI requires supplied forward/reverse absolute power-error bounds; absent bounds or a denominator interval including zero return unknown, never a fitted floor", + "limits": "Pure comparator trusts the caller to load hash-verified source data and reviewed gates; it does not discover sources or authenticate reviewers", + "sha256": "4f023a2dd24c4853e5f3414000861b9e40558e35980d849a3808b1ef833a91d3", + "test_source_sha256": "cbb957567ec306b592117eaa7f09d786de9629797049618973b0b0043acc075a" + }, + "verification": { + "solver_runs": 0, + "new_full_scans": 0, + "new_long_windows": 0, + "numeric_fixture_rows_reconciled": 241, + "raw_HI_source_pins_verified": 45, + "executed_tests": [ + { + "command": "PYTHONDONTWRITEBYTECODE=1 python3 -m unittest discover -s tests/refactor -p 'test_reference_comparison.py' -v", + "selected": 34, + "passed": 34, + "skipped": 0, + "deselected": 0, + "exit_code": 0, + "reported_runtime_s": 0.008, + "scope": "small synthetic non-solver comparison contracts", + "node_ids": [ + "test_reference_comparison.ReferenceComparisonTests.test_scalar_mixed_budget_and_margin", + "test_reference_comparison.ReferenceComparisonTests.test_limit_is_inclusive", + "test_reference_comparison.ReferenceComparisonTests.test_candidate_cannot_set_relative_scale", + "test_reference_comparison.ReferenceComparisonTests.test_fixed_physical_scale_is_supported", + "test_reference_comparison.ReferenceComparisonTests.test_curve_is_joined_by_coordinate", + "test_reference_comparison.ReferenceComparisonTests.test_curve_position_swap_is_not_equivalence", + "test_reference_comparison.ReferenceComparisonTests.test_two_parameter_grid_joins_both_coordinates", + "test_reference_comparison.ReferenceComparisonTests.test_cbo_minus_point_two_cannot_be_point_zero_five", + "test_reference_comparison.ReferenceComparisonTests.test_no_implicit_coordinate_rounding", + "test_reference_comparison.ReferenceComparisonTests.test_large_integer_coordinates_do_not_collapse", + "test_reference_comparison.ReferenceComparisonTests.test_missing_extra_and_duplicate_coordinates_rejected", + "test_reference_comparison.ReferenceComparisonTests.test_both_table_and_gate_coordinates_must_be_nonempty_unique", + "test_reference_comparison.ReferenceComparisonTests.test_source_and_every_execution_identity_field_are_checked", + "test_reference_comparison.ReferenceComparisonTests.test_explicitly_bound_new_source_can_be_compared", + "test_reference_comparison.ReferenceComparisonTests.test_unknown_identity_is_not_a_wildcard", + "test_reference_comparison.ReferenceComparisonTests.test_missing_thresholds_or_reference_budget_fail_closed", + "test_reference_comparison.ReferenceComparisonTests.test_unreviewed_proposal_cannot_accept", + "test_reference_comparison.ReferenceComparisonTests.test_results_dependent_gate_and_timezone_ambiguity_rejected", + "test_reference_comparison.ReferenceComparisonTests.test_gate_between_run_start_and_artifact_creation_is_posthoc", + "test_reference_comparison.ReferenceComparisonTests.test_reference_error_must_fit_one_third_budget", + "test_reference_comparison.ReferenceComparisonTests.test_missing_reference_failed_solver_and_unknown_remain_distinct", + "test_reference_comparison.ReferenceComparisonTests.test_unknown_needs_reason_and_cannot_carry_zero_fill", + "test_reference_comparison.ReferenceComparisonTests.test_nonfinite_values_boolean_and_negative_budget_rejected", + "test_reference_comparison.ReferenceComparisonTests.test_unit_metric_branch_scope_and_axis_name_mismatches_rejected", + "test_reference_comparison.ReferenceComparisonTests.test_interpolation_does_not_count_as_measured_or_computed_points", + "test_reference_comparison.ReferenceComparisonTests.test_zero_signal_uses_declared_absolute_limit", + "test_reference_comparison.ReferenceComparisonTests.test_existing_max_envelope_is_not_relaxed_into_sum", + "test_reference_comparison.ReferenceComparisonTests.test_bitwise_historical_migration_preserves_signed_zero", + "test_reference_comparison.ReferenceComparisonTests.test_bitwise_cannot_certify_new_physics_or_different_numerics", + "test_reference_comparison.ReferenceComparisonTests.test_bitwise_does_not_round_large_integers_or_change_numeric_type", + "test_reference_comparison.ReferenceComparisonTests.test_hysteresis_definitions_are_separate", + "test_reference_comparison.ReferenceComparisonTests.test_hysteresis_zero_denominators_are_unknown_not_zero", + "test_reference_comparison.ReferenceComparisonTests.test_nonzero_unresolved_power_denominator_is_not_accepted", + "test_reference_comparison.ReferenceComparisonTests.test_hi_needs_supplied_uncertainty_and_propagates_it" + ], + "python_executable": "/Library/Developer/CommandLineTools/usr/bin/python3", + "python_version": "3.9.6", + "implementation_sha256": "4f023a2dd24c4853e5f3414000861b9e40558e35980d849a3808b1ef833a91d3", + "tests_sha256": "cbb957567ec306b592117eaa7f09d786de9629797049618973b0b0043acc075a" + } + ], + "inventory_check": { + "checked_at": "2026-10-05T08:30:29.067685+00:00", + "reference_and_code_files_checked": 86, + "reference_and_code_digest_matches": 86, + "mutable_control_document_snapshots": 3, + "reference_group_coordinate_checks": "passed", + "report_links": "all_resolve", + "historical_peak_raw_pin_matches": 0, + "historical_peak_raw_pin_mismatches": 4, + "analytic_proposals": "pending_and_mutable_not_acceptance_qualified", + "followup_note": "Historical snapshot retained: literal PeakChecks file mismatches are now causally explained by the separately hash-verified path inverse, and the analytic gate source has since been independently frozen; neither grants device qualification" + }, + "scope_review": { + "review_message": "msg_fb5c066113e5", + "applied_at": "2026-10-05T08:32:47.076863+00:00", + "changes": "Native SCAPS curves and third-party refinements are conditional on availability and scientific claim; reported-table comparison stays mandatory; source/report/SolarLab/continuum uncertainties remain distinct" + }, + "preparation_followup": { + "recorded_at": "2026-10-05T09:03:17.269293+00:00", + "bounded_peak_provenance_elapsed_s": 59.132756, + "bounded_peak_provenance_budget_s": 600, + "peak_path_only_proofs": 4, + "scaps_metric_cells_verified": 988, + "new_simulations": 0, + "comparator_implementation_changed": false, + "comparator_tests_reused": "34/34 prior synthetic tests, independently reviewed and rerun by coordinator; no unchanged suite rerun claimed in this preparation", + "contract_review": "required_before_any_acceptance_candidate", + "qualification_report": { + "root": "archive", + "path": "test/ArchitectureRefactor/Stage00/ReferenceQualificationV1.md", + "sha256": "f1fe37fd2f50cac9e54242bb8b444019012e066c123b55187750168d580e0e7f" + }, + "bounded_contract_checks": { + "path": "test/ArchitectureRefactor/Stage00/ReferenceQualificationChecksV1.json", + "sha256": "ba850bce2d20f4efa7444408cb76df62b3ccb55c8a5619b150fa21d7d43470e6", + "checker_path": "test/ArchitectureRefactor/Stage00/ReferenceQualificationChecksV1.py", + "checker_sha256": "93cf7ce004b5f3a3ae634c3ca0bac56eeddf85830ab4c0877f9e9c76546fa4ca", + "passed": 32, + "elapsed_wall_s": 0.37379850000000003, + "source_files_hashed": 558, + "prior_diagnostic_failure": "Fixture pair axis order was incorrectly assumed; corrected with source-declared name/unit mapping, no numeric or gate changes", + "scope": "bounded source/contract checks only" + } + }, + "review_followup": { + "task_id": "task_7d300e222a52", + "dispatch_id": "ctx_287497c6cfed", + "actual_turn_id": "01a10b5c-c7d4-7473-aea5-35129378fc69", + "actual_runtime": "gpt-6-astra/max/danger-full-access/never", + "access_verified_at": "2026-10-05T09:20:04.544437+00:00", + "file_temp_access": true, + "HTTPS_HEAD_status": 200, + "review_application_path": "test/ArchitectureRefactor/Stage00/ReferenceReviewApplicationV1.json", + "source_heads_observed": [ + "72c3c0876ac07bc1a68d23b6ac27c71a92684ae7", + "9224f652aa2527db9139579f25033d93aafc77f4", + "1d9362b4d6e60961a204785cddc117379b400322" + ], + "head_delta_scope": "Root-owned saved-R1 diagnostics and isolated precision prototype/tests; existing device sources unchanged; original captures preserved", + "simulations_run": 0, + "current_head_at_finalization": "1d9362b4d6e60961a204785cddc117379b400322", + "hi_prospective_freeze_applied": true, + "scaps_prospective_freeze_applied": true, + "performance_cases_prepared": 5, + "performance_variants": 11, + "planned_capture_commands": 34, + "command_execution_count": 0, + "input_resolution_runtime_s": 4.261812208, + "input_resolution_scope": "Only pure configs/grids/protocols; solver functions guarded; baseline .venv not changed", + "original_model_counts_note": "N80 resolves to79 nodes, N200 to199; 2D Nx is intervals so actual lateral nodes=Nx+1", + "latest_head_delta_scope": "Root-only storage/IDA prototypes and environment/test/CI integration added after9224f; old device engines and physical configuration source files remain hash-bound", + "final_checks": { + "path": "test/ArchitectureRefactor/Stage00/ReferenceQualificationChecksV1.json", + "sha256": "865debcb1c11f3e7a9813fc4e9380757e65e77106f78bf373a589f9b01df3e8f", + "checker_sha256": "4ef20e68ac666247eb763d5fdbbb61f75e84ddb88d2930e6e8cf0d674a6fd25a", + "passed": 50, + "elapsed_s": 1.061735833, + "source_files_hashed": 573, + "historical_completed_receipts_retained": 2 + }, + "reports": [ + { + "path": "test/ArchitectureRefactor/Stage00/ReferenceQualificationV1.md", + "sha256": "007cb2196ec5303a95899b9ccda0f0b65ce4bfcc2c28870d3a832cb6c9745321" + }, + { + "path": "test/ArchitectureRefactor/Stage00/PerformanceCasesV1.md", + "sha256": "d34a2023b1a05a738fa4885c4bbce4940f9cfa4887f4a28566236a7322a3f7cb" + }, + { + "path": "test/ArchitectureRefactor/Stage00/ReferenceReviewApplicationV1.json", + "sha256": "8cd720dd6279705a0a952280cb9f4323ddb837618a2028d7e3a0a0e830c09fdf" + }, + { + "path": "test/ArchitectureRefactor/Stage00/ReferenceReviewChangesV1.diff", + "sha256": "ce5cb2db6cdaa202875f4b4a785eb1ff7703a064d34f79044ac5eed769b1e9f1" + } + ], + "reviewer_test_evidence": "Independent corrected-plan reviewer:34tests/40subtests passed; this dispatch final50 bounded checks; no device/benchmark execution" + } + }, + "digest_policy": { + "files": "SHA-256 of original bytes, without reserialization", + "structured_json": "SHA-256 of UTF-8 json.dumps(value, sort_keys=True, separators=(comma, colon), ensure_ascii=True, allow_nan=False); parsed integer/float values retained; not an RFC 8785 claim" + }, + "plan_sections_at_verification": { + "### P00-03": { + "sha256": "6779431c17e87bd45eff9144c7109b95a9ecd79e2555d74f1e6ed6d7a359a923", + "role": "rechecked unchanged P00-03 and error-contract rules; section 19 added by coordinator" + }, + "### 14.3": { + "sha256": "8c7e96662aea67b6d895a0d17a828f6ebd5d1a0decc754f07d267c5160ce52b3", + "role": "rechecked unchanged P00-03 and error-contract rules; section 19 added by coordinator" + } + }, + "followup_runtime_verification": { + "turn_id": "01a10b36-1e93-7743-b157-6894968d282e", + "model": "gpt-6-astra", + "effort": "max", + "sandbox": "danger-full-access", + "approval": "never", + "branch": "devel", + "head": "37ff3639291018d9bb7203bd9f8fa0b4ebf66a59", + "https_probe_status": 200, + "checked_at": "2026-10-05T08:37:55.759741+00:00", + "file_and_temp_access": "verified", + "source_delta": "only root CLAUDE.md committed since original 99dcc1f; nonowned README and new files preserved", + "subsequent_checks": [ + { + "turn_context_timestamp": "2026-10-05T08:51:48.685Z", + "model": "gpt-6-astra", + "effort": "max", + "sandbox": "danger-full-access", + "approval": "never", + "real_file_and_temp_access": "verified", + "https_HEAD_status": 200, + "checked_at": "2026-10-05T08:52:24.292953+00:00", + "branch": "devel", + "head": "55d10afd6e088a567a182498090499fda73ffc36" + }, + { + "branch": "devel", + "head": "0acc9d6cb7bd2e5c69cb3299a88522623c22bb37", + "checked_at": "2026-10-05T09:03:17.269293+00:00", + "production_SCAPS_HI_source_delta": "none_since_original_capture", + "nonowned_worktree_changes": "preserved; root isolated prototypes and separate test/environment work remain outside ownership" + } + ], + "source_deltas": [ + { + "from": "99dcc1f1ea9272622d974096290fd4b0830aa805", + "to": "37ff3639291018d9bb7203bd9f8fa0b4ebf66a59", + "paths": [ + "CLAUDE.md" + ], + "scope": "coordinator-authorized documentation-only M commit" + }, + { + "from": "37ff3639291018d9bb7203bd9f8fa0b4ebf66a59", + "to": "55d10afd6e088a567a182498090499fda73ffc36", + "paths": [ + "reproducibility/RefactorCoverageV1.json" + ], + "scope": "reviewed P00-02 M inventory integration", + "coordinator_message": "msg_fe6e9a1c581c" + }, + { + "from": "55d10afd6e088a567a182498090499fda73ffc36", + "to": "0acc9d6cb7bd2e5c69cb3299a88522623c22bb37", + "paths": [ + "scripts/benchmarks/contract_prototype.py", + "tests/numerical_contracts/AnalyticGatesV1.json", + "tests/numerical_contracts/test_contracts.py" + ], + "scope": "root-owned isolated T1 N prototype/gates/tests; existing production SCAPS/HI sources unchanged", + "coordinator_message": "msg_f18434c9f15d" + } + ] + }, + "capability_reconciliation": { + "comparison_map": { + "path": "reproducibility/RefactorComparisonMapV1.json", + "sha256": "c26213460be41893434078502387f8dacdaa1b9109fda4a772a14505d9bbd838", + "schema": "solarlab.refactor_comparison_map.v1", + "status": "planning_map_with_explicit_blocked_prospective_comparisons", + "validator": "scripts/benchmarks/reference_map.py", + "scope": "Source-bound original gate/assertion links and explicitly blocked prospective obligations; no new scientific qualification." + }, + "method": "Use the P00-02 published index/graph and registered contracts; no source recrawl or simulator execution", + "coverage_index": { + "root": "repository", + "path": "reproducibility/RefactorCoverageV1.json", + "sha256": "5f7b4a44f5a23dfc307746d6c02698c3375e6b19773939cf3bdd0028da889509", + "role": "published_capability_index" + }, + "consumer_graph": { + "root": "archive", + "path": "test/ArchitectureRefactor/Stage00/ConsumerDiscoveryV1.json", + "sha256": "3713816554995bd90b36f3aa92ba720a90c4152be659b59639a528e3a5c5772f", + "role": "published_consumer_graph" + }, + "current_source_head": "55d10afd6e088a567a182498090499fda73ffc36", + "scanned_endpoint_scope": "Only registered config/test/oracle files and State->latest Manifest/Certificate per existing refinement run; no Cells or deep archive crawl", + "slice_references": [ + { + "capability_id": "benchmark-4105876c56341ee0", + "origin_key": "benchmark:bulk-trap-energy-distribution-internal-closure", + "kind": "benchmark", + "config_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/csi_gaussian_bulk_trap_pn_research.yaml", + "sha256": "7e8bf1ab6669bd8088cd402ef73aca1cd75c9ae1755d3137faf6650569ac481b", + "role": "registered_input" + } + ], + "test_ids": [ + "test-2ecff5da6dc212a0", + "test-509fd38f00ff5582", + "test-9b55cec4d24a1ce9", + "test-e311ebc9e3b21d0a", + "test-59d0bc76c13aee96" + ], + "test_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/unit/physics/test_bulk_traps.py", + "sha256": "8f251e69c7cc59e151ffdf22a798007f17dc79ffc4aab3d91fd217bf9c5db38e", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/unit/models/test_bulk_trap_schema.py", + "sha256": "2ace6903f6788c74b52a541c92626123dc2958d56ecf703f866822dde09fd876", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/unit/solver/test_bulk_trap_equilibrium.py", + "sha256": "177f6b0abfedd0521231ff665e2e0780f886bcd863e0677f43c6a5852426784c", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/unit/validation/test_bulk_trap_refinement.py", + "sha256": "8203bed826898e45e589e8afb3c39b51120cd5c7ba0f972e2ee86060a378ad4b", + "role": "registered_input" + } + ], + "reference_inputs": [ + { + "kind": "registered_contract", + "source": { + "root": "repository", + "path": "perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "sha256": "35165f16511bcf61a3eecec1c2391780249206aecc97fe17dd1cf30c046681be", + "role": "benchmark_registry" + }, + "json_pointer": "/benchmarks/bulk-trap-energy-distribution-internal-closure", + "identity_sha256": "6848a9bb8bf6548d598de5bc54f8be8825fc83d5038788a1d79b3c5c32ef7846" + } + ], + "inherited_evidence_level": "internal-numerical-candidate", + "scope_limitations": [ + "the source-clean 3x3 matrix is internally certified at commit d336e45 with certificate SHA-256 bd385f0a01db4ad769f6fc1591c5cd79acafef5663d60f81ddee6cb9987991fc", + "the lane is restricted to a dark homogeneous Maxwell-Boltzmann equilibrium with one Gaussian acceptor-like distribution and fully ionized dopants", + "legacy SCAPS Gaussian metadata remains parked, and external TCAD or experimental validation is absent" + ], + "qualification_gaps": [ + "Inherited registry label is not a rerun or qualification of the refactor source", + "Bind actual driver/protocol/initial state/environment before source migration", + "Assign per-observable migration thresholds and independent reference-error bounds before this slice switches" + ], + "new_source_qualified": false + }, + { + "capability_id": "benchmark-f2d15ebbf5e588cf", + "origin_key": "benchmark:calado2016-driftfusion", + "kind": "benchmark", + "config_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/driftfusion_calado2016_repro.yaml", + "sha256": "536dc33d42e214072bbeb14256582682ed0efd8ffaa39b1a3ee716217923c7dd", + "role": "registered_input" + } + ], + "test_ids": [ + "test-dd388d011a271d9c" + ], + "test_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/validation/test_paper_configurations.py", + "sha256": "a6889042842095ced7f3d8d24d6c5e478a6c7335051b42a98cf8bd775d4d4b6a", + "role": "registered_input" + } + ], + "reference_inputs": [ + { + "kind": "registered_contract", + "source": { + "root": "repository", + "path": "perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "sha256": "35165f16511bcf61a3eecec1c2391780249206aecc97fe17dd1cf30c046681be", + "role": "benchmark_registry" + }, + "json_pointer": "/benchmarks/calado2016-driftfusion", + "identity_sha256": "399912451de40fd2eeef6975696c43499a35da67f97a36107aeac812d8080ee1" + }, + { + "kind": "registry_value_or_original_source_declaration", + "field": "source_url", + "pointer": "/benchmarks/calado2016-driftfusion/source_url", + "value": "https://doi.org/10.1038/ncomms13831" + }, + { + "kind": "registry_value_or_original_source_declaration", + "field": "source_solver", + "pointer": "/benchmarks/calado2016-driftfusion/source_solver", + "value": { + "repository_url": "https://github.com/barnesgroupICL/Driftfusion", + "archived_release": "https://doi.org/10.5281/zenodo.3670155", + "archived_release_version": "v1.0.0", + "exact_version_frozen": false, + "limitation": "the 2020 release is not the exact 2016 publication artifact" + } + }, + { + "kind": "registry_value_or_original_source_declaration", + "field": "observed_reverse", + "pointer": "/benchmarks/calado2016-driftfusion/observed_reverse", + "value": { + "Voc_V": 1.028533819, + "Jsc_A_m2": 222.853672, + "FF": 0.749050055, + "PCE_percent": 17.169166 + } + }, + { + "kind": "registry_value_or_original_source_declaration", + "field": "regression_tolerance", + "pointer": "/benchmarks/calado2016-driftfusion/regression_tolerance", + "value": { + "Voc_V": 0.005, + "Jsc_A_m2": 1.0, + "FF": 0.01, + "PCE_percent": 0.5 + } + } + ], + "inherited_evidence_level": "calibrated_reproduction", + "scope_limitations": [ + "V_bi=1.42 V is calibrated against the reported Voc", + "the automated scan rate is 125 times the approximately 0.04 V/s paper protocol", + "no digitized source curve or extraction uncertainty is stored in the repository" + ], + "qualification_gaps": [ + "Inherited registry label is not a rerun or qualification of the refactor source", + "Bind actual driver/protocol/initial state/environment before source migration", + "Assign per-observable migration thresholds and independent reference-error bounds before this slice switches", + "Keep source version/extraction uncertainty/calibration limitations; external label is not independent validation" + ], + "new_source_qualified": false + }, + { + "capability_id": "benchmark-83c17bf82672772f", + "origin_key": "benchmark:charged-explicit-defect-internal-closure", + "kind": "benchmark", + "config_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/scaps_defect_s0_neutral.yaml", + "sha256": "77b89e16c365cd5c4cf9f7aa439f0200ec9ad9b814e60bbe81895afef65025c7", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/scaps_defect_s1_acceptor_n.yaml", + "sha256": "f49900b296a2bfb3c5a28d9135b24dcf8f0d6c409f105a70d4dd27100ebcb681", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/scaps_defect_s2_donor_p.yaml", + "sha256": "7fff245d23a99cb1128124d073269a3b3f1d8ee9a9f07730ce558ab4eb3d8066", + "role": "registered_input" + } + ], + "test_ids": [ + "test-63ff29b3d21a55d5", + "test-c451a4d9535617b3", + "test-f5841910848da259", + "test-0703e3fd8ebec9ae", + "test-50cb6d1e8c40d1b3" + ], + "test_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/unit/models/test_explicit_defect_schema.py", + "sha256": "05a2bd6261cbe1af21ef3cd7c32e22ad61684d3c46fb11149b040dce0a5d3fdd", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/unit/physics/test_monovalent_defect_closure.py", + "sha256": "0efd3f56e5cf5f7440d3c7a117033ed8b9873b51fc7ac00ee3cdbeb2450ac456", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "sha256": "ea5ba30ac493eac2f6f77b02e4fbbd3fb1e6baddc6727a25bcf3c82b4757fccb", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/unit/validation/test_charged_defect_refinement.py", + "sha256": "39a1ac7e889d10fb5ce7b2efd79f4215b79555ea27611bd43ddc0ae2b67d212b", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/unit/validation/test_import_scaps_defect_reference.py", + "sha256": "d671874893102ac6a7a982d5d948a4bc28d12df17e934959eaa4f123404ed64e", + "role": "registered_input" + } + ], + "reference_inputs": [ + { + "kind": "registered_contract", + "source": { + "root": "repository", + "path": "perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "sha256": "35165f16511bcf61a3eecec1c2391780249206aecc97fe17dd1cf30c046681be", + "role": "benchmark_registry" + }, + "json_pointer": "/benchmarks/charged-explicit-defect-internal-closure", + "identity_sha256": "e0d710ffbba24ca4d950061abcdcf0d7da7bfc52dad73a0e36608e8b871aa1b4" + } + ], + "inherited_evidence_level": "internal-numerical-candidate", + "scope_limitations": [ + "the source-clean 3x3 lane is internal SolarLab grid and tolerance evidence, not SCAPS parity or experimental validation", + "charged explicit defects are enabled only through the opt-in QF/DC path; the density-form transient path remains fail-closed", + "ions, interface defects, energy distributions, tunnelling, metastability, AC, and dynamic occupancy remain excluded" + ], + "qualification_gaps": [ + "Inherited registry label is not a rerun or qualification of the refactor source", + "Bind actual driver/protocol/initial state/environment before source migration", + "Assign per-observable migration thresholds and independent reference-error bounds before this slice switches" + ], + "new_source_qualified": false + }, + { + "capability_id": "benchmark-ee312eb2fea8c21f", + "origin_key": "benchmark:cigs-graded-optics-internal-closure", + "kind": "benchmark", + "config_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/cigs_graded_optics.yaml", + "sha256": "9539deb2d0883838c9dac42dd95aae41eafb109e9d83205c3273fbd8df0e0fbd", + "role": "registered_input" + } + ], + "test_ids": [ + "test-5f73e4a920474139", + "test-3055e3986c75d0d3", + "test-03fed0a28f081a18", + "test-b5ec18719455aef3" + ], + "test_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/integration/test_cigs_graded_optics.py", + "sha256": "28bc9f956a021822eb9faf656ac4c7a8e98b73707fa4d417393f64e8f2014fb3", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/unit/validation/test_cigs_optics_refinement.py", + "sha256": "f390e40c52008e31ca4f8d54416a212028e740926778a76d6dcde3656a135035", + "role": "registered_input" + } + ], + "reference_inputs": [ + { + "kind": "registered_contract", + "source": { + "root": "repository", + "path": "perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "sha256": "35165f16511bcf61a3eecec1c2391780249206aecc97fe17dd1cf30c046681be", + "role": "benchmark_registry" + }, + "json_pointer": "/benchmarks/cigs-graded-optics-internal-closure", + "identity_sha256": "23509e064c75fdc88ca8cae84ebdd613ae3cc2b22036132be64a3ee82538bf2c" + } + ], + "inherited_evidence_level": "internal-numerical-candidate", + "scope_limitations": [ + "the source-clean registered 3x3 matrix is internally certified at commit 6ba9055 with certificate SHA-256 e14e9f6f50c958e2e18dd514984e026d430688e785a9986892d0e21dfcff9958", + "this is a literature-model and internal numerical closure, not a measured-device, external simulator, or PCE-optimization certificate", + "ZnO and CdS retain nominal scalar optical fallbacks, so the claim is restricted to the graded CIGS absorber" + ], + "qualification_gaps": [ + "Inherited registry label is not a rerun or qualification of the refactor source", + "Bind actual driver/protocol/initial state/environment before source migration", + "Assign per-observable migration thresholds and independent reference-error bounds before this slice switches" + ], + "new_source_qualified": false + }, + { + "capability_id": "benchmark-ffe6aa8aa40ed1bc", + "origin_key": "benchmark:cigs-internal-validation", + "kind": "benchmark", + "config_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/cigs_baseline.yaml", + "sha256": "46dabc8418b7060a2124206793f3b6f07a01f35826b6b537591c64dbd2abe4af", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/cigs_graded_notch.yaml", + "sha256": "d622f92e21face4e9a9e1780300566e1cda8c77d0e5e10171882f6cb8d7a5185", + "role": "registered_input" + } + ], + "test_ids": [ + "test-6a9ce24f4979c14f", + "test-e16a2dc6810328e6", + "test-c9c63663fcd6120d", + "test-f6edf5c78619bdbf", + "test-1dcb441559410f3c", + "test-b4f2e2bf2b4a4665", + "test-241665d222e61d06", + "test-1a104400cc5e0284" + ], + "test_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/regression/test_grading_cigs_notch.py", + "sha256": "7c3b101ef973cfab53e8c4c4bfb2c38a64ed5a5c91d529e83fae21ec0920efc0", + "role": "registered_input" + } + ], + "reference_inputs": [ + { + "kind": "registered_contract", + "source": { + "root": "repository", + "path": "perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "sha256": "35165f16511bcf61a3eecec1c2391780249206aecc97fe17dd1cf30c046681be", + "role": "benchmark_registry" + }, + "json_pointer": "/benchmarks/cigs-internal-validation", + "identity_sha256": "315a787d29423f2ef648424d8e64c1c08cdd596baadff8d43245b920bc931229" + }, + { + "kind": "registry_value_or_original_source_declaration", + "field": "observed_ungraded_forward", + "pointer": "/benchmarks/cigs-internal-validation/observed_ungraded_forward", + "value": [ + { + "N_grid": 40, + "intervals": 39, + "Voc_V": 0.954965375281, + "Jsc_A_m2": 397.615483456, + "FF": 0.837117937595, + "PCE_percent": 31.7861231187 + }, + { + "N_grid": 80, + "intervals": 78, + "Voc_V": 0.955110677361, + "Jsc_A_m2": 397.365258465, + "FF": 0.836823558796, + "PCE_percent": 31.7597805239 + }, + { + "N_grid": 120, + "intervals": 120, + "Voc_V": 0.955140536776, + "Jsc_A_m2": 397.353071277, + "FF": 0.836702364795, + "PCE_percent": 31.7551996684 + } + ] + }, + { + "kind": "registry_value_or_original_source_declaration", + "field": "observed_production_grading", + "pointer": "/benchmarks/cigs-internal-validation/observed_production_grading", + "value": { + "ungraded_robin": { + "intervals": 120, + "Voc_V": 0.956142307528, + "Jsc_A_m2": 397.440103718, + "FF": 0.837446926522, + "PCE_percent": 31.8237618554 + }, + "graded_robin": { + "intervals": 160, + "Voc_V": 1.00860478869, + "Jsc_A_m2": 398.483691012, + "FF": 0.83796379759, + "PCE_percent": 33.6788174214 + } + } + }, + { + "kind": "registry_value_or_original_source_declaration", + "field": "regression_tolerance", + "pointer": "/benchmarks/cigs-internal-validation/regression_tolerance", + "value": { + "Voc_V": 5e-06, + "Jsc_A_m2": 0.01, + "FF": 5e-05, + "PCE_percent": 0.01 + } + } + ], + "inherited_evidence_level": "numerical-grid-and-qualitative-grading", + "scope_limitations": [ + "this is internal numerical and qualitative-trend validation, not an external CIGS benchmark", + "the contact-potential magnitudes are synchronized to compute_V_bi from the current material parameters, not independent work-function measurements", + "Nc300 and Nv300 are absent and the SI provenance of ni, n1, and p1 is unresolved", + "the Beer-Lambert alpha and photon flux are uniform proxies and do not grade with composition", + "the roughly 31.8 to 33.7 percent PCE values are highly idealized and must not be compared directly with experiment" + ], + "qualification_gaps": [ + "Inherited registry label is not a rerun or qualification of the refactor source", + "Bind actual driver/protocol/initial state/environment before source migration", + "Assign per-observable migration thresholds and independent reference-error bounds before this slice switches" + ], + "new_source_qualified": false + }, + { + "capability_id": "benchmark-a12ead2b6fe7e734", + "origin_key": "benchmark:courtier2019-ionmonger", + "kind": "benchmark", + "config_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/ionmonger_courtier2019_repro.yaml", + "sha256": "ea88b2d05bca4f617b001092630b3de6e55293b6707c7083c7ee25efa3a5242f", + "role": "registered_input" + } + ], + "test_ids": [ + "test-0e83a3dcfd89dde0" + ], + "test_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/validation/test_paper_configurations.py", + "sha256": "a6889042842095ced7f3d8d24d6c5e478a6c7335051b42a98cf8bd775d4d4b6a", + "role": "registered_input" + } + ], + "reference_inputs": [ + { + "kind": "registered_contract", + "source": { + "root": "repository", + "path": "perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "sha256": "35165f16511bcf61a3eecec1c2391780249206aecc97fe17dd1cf30c046681be", + "role": "benchmark_registry" + }, + "json_pointer": "/benchmarks/courtier2019-ionmonger", + "identity_sha256": "1571b026363195874e710d6a99be99930496d37ca0aad274bd541c7ef24f5785" + }, + { + "kind": "registry_value_or_original_source_declaration", + "field": "source_url", + "pointer": "/benchmarks/courtier2019-ionmonger/source_url", + "value": "https://doi.org/10.1039/C8EE01576G" + }, + { + "kind": "registry_value_or_original_source_declaration", + "field": "source_solver", + "pointer": "/benchmarks/courtier2019-ionmonger/source_solver", + "value": { + "repository_url": "https://github.com/PerovskiteSCModelling/IonMonger", + "exact_version_frozen": false, + "limitation": "the exact publication-era commit and MATLAB output are not stored locally" + } + }, + { + "kind": "registry_value_or_original_source_declaration", + "field": "observed_reverse", + "pointer": "/benchmarks/courtier2019-ionmonger/observed_reverse", + "value": { + "Voc_V": 1.073879325, + "Jsc_A_m2": 222.77814, + "FF": 0.753781846, + "PCE_percent": 18.033239 + } + }, + { + "kind": "registry_value_or_original_source_declaration", + "field": "regression_tolerance", + "pointer": "/benchmarks/courtier2019-ionmonger/regression_tolerance", + "value": { + "Voc_V": 0.005, + "Jsc_A_m2": 1.0, + "FF": 0.01, + "PCE_percent": 0.5 + } + } + ], + "inherited_evidence_level": "calibrated_reproduction", + "scope_limitations": [ + "V_bi=0.98 V is calibrated against the reported Voc", + "the automated scan rate is about 67 times the representative 0.075 V/s paper protocol", + "the paper preconditioning protocol is not reproduced", + "no digitized source curve or extraction uncertainty is stored in the repository" + ], + "qualification_gaps": [ + "Inherited registry label is not a rerun or qualification of the refactor source", + "Bind actual driver/protocol/initial state/environment before source migration", + "Assign per-observable migration thresholds and independent reference-error bounds before this slice switches", + "Keep source version/extraction uncertainty/calibration limitations; external label is not independent validation" + ], + "new_source_qualified": false + }, + { + "capability_id": "benchmark-f050f4122cc07b66", + "origin_key": "benchmark:csi-grid-envelope-gap", + "kind": "benchmark", + "config_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/cSi_homojunction.yaml", + "sha256": "c179e087a6623c7d19dfc7f6a3af056e6fcd5a0382e2e2b0e1e26dc08d883c99", + "role": "registered_input" + } + ], + "test_ids": [ + "test-4f312ab067016d9c", + "test-3599c21ddb9b8f57", + "test-6e6e9535fde4336f", + "test-f2b3dfc77ecf7fb8", + "test-ac70cea85fdf3449", + "test-1ab9f4e2a80da7de" + ], + "test_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/regression/test_csi_grid_envelope.py", + "sha256": "6afedf5488fb7c1826cbd02ca0e04982598a72312ec00f3dba6e0899dab09c99", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/integration/backend/test_user_configs_api.py", + "sha256": "3a8c71165b1f08c0988615b6dc06c910a52974bc49731e7b578aa11c96097733", + "role": "registered_input" + } + ], + "reference_inputs": [ + { + "kind": "registered_contract", + "source": { + "root": "repository", + "path": "perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "sha256": "35165f16511bcf61a3eecec1c2391780249206aecc97fe17dd1cf30c046681be", + "role": "benchmark_registry" + }, + "json_pointer": "/benchmarks/csi-grid-envelope-gap", + "identity_sha256": "3fbacc966ae15ec3cf097e469b371d624c29f0618286f816c9e4df319b6023af" + } + ], + "inherited_evidence_level": "grid-envelope-characterization", + "scope_limitations": [ + "the Debye guard is necessary but does not certify depletion-region resolution", + "closure applies only to executable grid allocation, loader parity, and pre-integration guarding", + "physical steady-state evidence is tracked separately by csi-qf-internal-validation" + ], + "qualification_gaps": [ + "Inherited registry label is not a rerun or qualification of the refactor source", + "Bind actual driver/protocol/initial state/environment before source migration", + "Assign per-observable migration thresholds and independent reference-error bounds before this slice switches" + ], + "new_source_qualified": false + }, + { + "capability_id": "benchmark-2944ea519ddd6969", + "origin_key": "benchmark:csi-jv-driver-capability-boundary", + "kind": "benchmark", + "config_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/cSi_homojunction.yaml", + "sha256": "c179e087a6623c7d19dfc7f6a3af056e6fcd5a0382e2e2b0e1e26dc08d883c99", + "role": "registered_input" + } + ], + "test_ids": [ + "test-34ca08eb4c0b986e", + "test-b232797bd57e412f", + "test-6ba18e56866bf745", + "test-af4ae210d4d5e9fa", + "test-2da1175ed0af190e", + "test-e5df28d00bd12f63", + "test-83ae51f2f0ea3a2d", + "test-321eb1726e5e6672" + ], + "test_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/unit/experiments/test_jv_driver_capability.py", + "sha256": "caeb2914f4e61f3c3d247da985d2144cdc927e546ffa4693588623638ca97acd", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/unit/backend/test_solver_dispatch.py", + "sha256": "9b255f0b3ef5f49727404817bd1fb711e0a448d57ca2db907b6a4cf6164b0556", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/regression/test_csi_generic_state_cancellation.py", + "sha256": "817a5afa9c60e4c01e622567661c7b988cc579701408a9724a75fceef6c06589", + "role": "registered_input" + } + ], + "reference_inputs": [ + { + "kind": "registered_contract", + "source": { + "root": "repository", + "path": "perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "sha256": "35165f16511bcf61a3eecec1c2391780249206aecc97fe17dd1cf30c046681be", + "role": "benchmark_registry" + }, + "json_pointer": "/benchmarks/csi-jv-driver-capability-boundary", + "identity_sha256": "edfcc2727d0eb12a55c3884644f03bc4bf0d66f60a8c45a3054cd4c4271302ca" + }, + { + "kind": "registry_value_or_original_source_declaration", + "field": "observed", + "pointer": "/benchmarks/csi-jv-driver-capability-boundary/observed", + "value": { + "N_grid": 200, + "V_app_V": 0.0, + "illumination": "one_sun", + "qf_max_normalized_cell_residual": 5.822024703712662e-13, + "qf_electron_continuity_bound_A_m2": 5.802618467417451e-10, + "qf_hole_continuity_bound_A_m2": 3.5128574702171873e-09, + "qf_face_current_spread_A_m2": 3.4140157367801294e-10, + "generic_density_sg_max_peak_scaled_residual": 33.081875833442986, + "generic_density_sg_electron_continuity_bound_A_m2": 3.1847756389691453, + "generic_density_sg_hole_continuity_bound_A_m2": 0.0007097273912835721 + } + } + ], + "inherited_evidence_level": "explicit-production-driver-capability-boundary", + "scope_limitations": [ + "fail-closed routing does not repair the transient or algebraic driver root cause", + "the same certified QF state produces an O(1) density-SG continuity defect after its split QF increments are collapsed", + "the QF solver remains limited to its audited local homojunction physics subset", + "this is a software capability contract, not an external c-Si validation" + ], + "qualification_gaps": [ + "Inherited registry label is not a rerun or qualification of the refactor source", + "Bind actual driver/protocol/initial state/environment before source migration", + "Assign per-observable migration thresholds and independent reference-error bounds before this slice switches" + ], + "new_source_qualified": false + }, + { + "capability_id": "benchmark-3ece4d3a78f8823e", + "origin_key": "benchmark:csi-qf-frequency-domain-cv", + "kind": "benchmark", + "config_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/cSi_homojunction.yaml", + "sha256": "c179e087a6623c7d19dfc7f6a3af056e6fcd5a0382e2e2b0e1e26dc08d883c99", + "role": "registered_input" + } + ], + "test_ids": [ + "test-99f8f205f9fdde54", + "test-09ceca74aa5fa208", + "test-d85fbeff2dca4ed7", + "test-2c199db715c37e77", + "test-5ace3e207fb6ebf1", + "test-3d2dac257c36a80a", + "test-bd55b3e8663216be", + "test-3e7ac696b5fb9cee" + ], + "test_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py", + "sha256": "e7de07eceed77c4356a758d317baf9996a9f97c1db5368a1c04e8cc7caf65ebd", + "role": "registered_input" + } + ], + "reference_inputs": [ + { + "kind": "registered_contract", + "source": { + "root": "repository", + "path": "perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "sha256": "35165f16511bcf61a3eecec1c2391780249206aecc97fe17dd1cf30c046681be", + "role": "benchmark_registry" + }, + "json_pointer": "/benchmarks/csi-qf-frequency-domain-cv", + "identity_sha256": "0d1ec4cb170f70ecf4daddb7d258c028b91cf0ab4007fc84b7f627fca0b2fd5b" + }, + { + "kind": "registry_value_or_original_source_declaration", + "field": "source_urls", + "pointer": "/benchmarks/csi-qf-frequency-domain-cv/source_urls", + "value": [ + "https://doi.org/10.1016/0038-1101(67)90014-7", + "https://arxiv.org/abs/1605.00778v1" + ] + }, + { + "kind": "registry_value_or_original_source_declaration", + "field": "reference_resource", + "pointer": "/benchmarks/csi-qf-frequency-domain-cv/reference_resource", + "value": "perovskite_sim/data/references/csi_pn_cv_intercept.yaml" + }, + { + "kind": "registry_value_or_original_source_declaration", + "field": "observed", + "pointer": "/benchmarks/csi-qf-frequency-domain-cv/observed", + "value": { + "grids": [ + { + "N_grid": 200, + "capacitance_100k_F_m2": [ + 0.000274726491440768, + 0.000288624745329369, + 0.000304846123800362, + 0.000324527085290347, + 0.00034909866825579, + 0.000380798512357247 + ], + "mott_intercept_100k_V": 0.797515474092975, + "effective_doping_100k_m3": 9.4928050013698e+21 + }, + { + "N_grid": 300, + "capacitance_100k_F_m2": [ + 0.000276373700515714, + 0.000290707316032776, + 0.000307622901215925, + 0.000327999964567817, + 0.000353212955314808, + 0.000385582502417237 + ], + "mott_intercept_100k_V": 0.781100968586903, + "effective_doping_100k_m3": 9.46604140288772e+21 + }, + { + "N_grid": 400, + "capacitance_100k_F_m2": [ + 0.000277495953617242, + 0.000291910777428012, + 0.000308890470136823, + 0.00032931511044597, + 0.000354563980640025, + 0.000386974029432062 + ], + "mott_intercept_100k_V": 0.782065810414121, + "effective_doping_100k_m3": 9.55366131395795e+21 + } + ], + "adjacent_max_capacitance_changes": [ + 0.012407176233359, + 0.00412270285406913 + ], + "finest_max_frequency_change": 4.81757492936887e-05, + "finest_mott_intercepts_V": [ + 0.782060588977083, + 0.782065810414121, + 0.782117026159675 + ], + "finest_effective_doping_m3": [ + 9.5536094648552e+21, + 9.55366131395795e+21, + 9.55384545830395e+21 + ], + "charge_identity_200": { + "V_dc_V": -0.2, + "frequency_Hz": 100000.0, + "electron_inventory_capacitance_F_m2": 0.0002886247542200275, + "hole_inventory_capacitance_F_m2": 0.0002886247548487356 + }, + "apparent_intercept_gap_V": 0.110830629570881 + } + }, + { + "kind": "registry_value_or_original_source_declaration", + "field": "regression_tolerance", + "pointer": "/benchmarks/csi-qf-frequency-domain-cv/regression_tolerance", + "value": { + "capacitance_relative": 1e-06, + "mott_intercept_V": 1e-05, + "effective_doping_relative": 1e-05, + "convergence_metric_relative": 0.0001, + "charge_identity_relative": 2e-05 + } + }, + { + "root": "repository", + "path": "perovskite-sim/perovskite_sim/data/references/csi_pn_cv_intercept.yaml", + "sha256": "14e38316eea8c65e1af81e578198f3c07dbacfb86ef239157840d519bf6320d7", + "role": "registered_input" + } + ], + "inherited_evidence_level": "residual-certified-qf-small-signal-cv-and-charge-identity", + "scope_limitations": [ + "the frequency-domain adapter is restricted to the audited local ion-free QF model and fails closed for unsupported physics", + "this new path does not repair or validate the legacy endpoint-sampled transient impedance algorithm", + "the corrected 0.782 V apparent Mott intercept remains 0.111 V below the configured 0.892896 V contact-potential magnitude", + "this config has no geometry-compatible pointwise external curve; the separate van Nijen config is an explicitly partial geometry-mismatched comparison", + "this is internal numerical validation, not an external c-Si C-V comparison" + ], + "qualification_gaps": [ + "Inherited registry label is not a rerun or qualification of the refactor source", + "Bind actual driver/protocol/initial state/environment before source migration", + "Assign per-observable migration thresholds and independent reference-error bounds before this slice switches" + ], + "new_source_qualified": false + }, + { + "capability_id": "benchmark-3ca07445f8402d7d", + "origin_key": "benchmark:csi-qf-internal-validation", + "kind": "benchmark", + "config_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/cSi_homojunction.yaml", + "sha256": "c179e087a6623c7d19dfc7f6a3af056e6fcd5a0382e2e2b0e1e26dc08d883c99", + "role": "registered_input" + } + ], + "test_ids": [ + "test-70f44f0fda90c98e", + "test-f12f9c2eadf1762d", + "test-91198eb2b6fc5a37", + "test-fffd4f0eeba151b8", + "test-ae61cabf4328c95f", + "test-9d6c9dec9c5d82d4" + ], + "test_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py", + "sha256": "732d2dc3ea15d875bfcca226cc36532b5f464597a3c78917a48dcedc3593d0a1", + "role": "registered_input" + } + ], + "reference_inputs": [ + { + "kind": "registered_contract", + "source": { + "root": "repository", + "path": "perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "sha256": "35165f16511bcf61a3eecec1c2391780249206aecc97fe17dd1cf30c046681be", + "role": "benchmark_registry" + }, + "json_pointer": "/benchmarks/csi-qf-internal-validation", + "identity_sha256": "06d7c63b03aa1528d93fefd5c5ab6c70107b7e99f9ad2d8a3d440fe14b4c38ab" + }, + { + "kind": "registry_value_or_original_source_declaration", + "field": "observed", + "pointer": "/benchmarks/csi-qf-internal-validation/observed", + "value": { + "grids": [ + { + "N_grid": 200, + "layer_intervals": [ + 40, + 160 + ], + "Jsc_A_m2": 356.970188362382, + "Voc_V": 0.592163472704436, + "sign_change_Voc_V": 0.592163472704436, + "sign_bracket_V": [ + 0.592, + 0.59225 + ], + "FF": 0.824721940835148, + "PCE_percent": 17.4333605318994, + "nested_10mV_PCE_percent": 17.4272114330258, + "max_continuity_bound_A_m2": 5.41222661287546e-08, + "max_all_face_current_spread_A_m2": 3.58953684553853e-08, + "max_normalized_poisson_residual": 2.41528442701492e-11 + }, + { + "N_grid": 300, + "layer_intervals": [ + 60, + 240 + ], + "Jsc_A_m2": 356.888188515021, + "Voc_V": 0.5925, + "sign_change_Voc_V": 0.592518199015055, + "sign_bracket_V": [ + 0.5925, + 0.59275 + ], + "FF": 0.824894121797697, + "PCE_percent": 17.4429019040704, + "nested_10mV_PCE_percent": 17.4343617239613, + "max_continuity_bound_A_m2": 9.39861794154563e-09, + "max_all_face_current_spread_A_m2": 2.63195687466578e-09, + "max_normalized_poisson_residual": 1.14738942108883e-11 + }, + { + "N_grid": 400, + "layer_intervals": [ + 80, + 320 + ], + "Jsc_A_m2": 356.842861528302, + "Voc_V": 0.592683579101202, + "sign_change_Voc_V": 0.592683579101202, + "sign_bracket_V": [ + 0.5925, + 0.59275 + ], + "FF": 0.824938377504146, + "PCE_percent": 17.4470263242664, + "nested_10mV_PCE_percent": 17.437383311563, + "max_continuity_bound_A_m2": 1.66726672172219e-08, + "max_all_face_current_spread_A_m2": 4.18622647657685e-09, + "max_normalized_poisson_residual": 6.48374144448101e-12 + } + ], + "adjacent_curve_changes": [ + { + "N_grid": [ + 200, + 300 + ], + "max_abs_current_A_m2": 6.48172047461399, + "rms_current_A_m2": 2.34329791208499 + }, + { + "N_grid": [ + 300, + 400 + ], + "max_abs_current_A_m2": 2.99954434397439, + "rms_current_A_m2": 1.0833054712974 + } + ], + "finest_changes": { + "Jsc_relative": 0.000127022259951, + "Voc_absolute_V": 0.000183579101202, + "FF_relative": 5.3647287671e-05, + "PCE_relative": 0.00023639674288, + "max_curve_current_relative_to_Jsc": 0.00840578491924, + "curve_change_contraction": 0.462769777827, + "max_nested_mpp_PCE_relative": 0.000552702364522 + } + } + }, + { + "kind": "registry_value_or_original_source_declaration", + "field": "regression_tolerance", + "pointer": "/benchmarks/csi-qf-internal-validation/regression_tolerance", + "value": { + "Jsc_A_m2": 0.02, + "Voc_V": 5e-05, + "sign_change_Voc_V": 5e-05, + "FF": 5e-05, + "PCE_percent": 0.005, + "diagnostic_A_m2": 1e-06 + } + } + ], + "inherited_evidence_level": "residual-certified-qf-terminal-jv-grid-convergence", + "scope_limitations": [ + "the QF solver is opt-in and supports only an audited local homojunction physics subset", + "this certificate does not establish convergence of the default transient or algebraic J-V drivers", + "this is an internal numerical validation, not an external c-Si device comparison", + "Beer-Lambert absorption, ideal ohmic contacts, and the simplified interface SRV limit experimental interpretation" + ], + "qualification_gaps": [ + "Inherited registry label is not a rerun or qualification of the refactor source", + "Bind actual driver/protocol/initial state/environment before source migration", + "Assign per-observable migration thresholds and independent reference-error bounds before this slice switches" + ], + "new_source_qualified": false + }, + { + "capability_id": "benchmark-9ffebfadd845315b", + "origin_key": "benchmark:degenerate-pn-internal-closure", + "kind": "benchmark", + "config_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/csi_degenerate_pn_research.yaml", + "sha256": "6d707f97bc1632521b5176f55d6e004cc171636e0264e85aa4f20eadafe2dfcb", + "role": "registered_input" + } + ], + "test_ids": [ + "test-5dac0f92416fc11b", + "test-2e3cb8f383715552", + "test-2b0ba646aeba8c85" + ], + "test_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/unit/physics/test_degenerate_transport.py", + "sha256": "6834fee203cec300d0f2d24e3e30a62bf3982ea8247361cabf560f05eabd9611", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py", + "sha256": "1798e8af9794fe0c8fe2f9e4ed02ddcf2d304dc516a4b9d2f3651e1485a4bdfb", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/unit/validation/test_degenerate_refinement.py", + "sha256": "c597e964303d96ddea72e38774b82b9684b69b7082be1d7c7456f18b94fc00b9", + "role": "registered_input" + } + ], + "reference_inputs": [ + { + "kind": "registered_contract", + "source": { + "root": "repository", + "path": "perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "sha256": "35165f16511bcf61a3eecec1c2391780249206aecc97fe17dd1cf30c046681be", + "role": "benchmark_registry" + }, + "json_pointer": "/benchmarks/degenerate-pn-internal-closure", + "identity_sha256": "9b93a96a406737531341746af9573f778a2ab7e5eba8f26bf19cdb318a7f8cf1" + } + ], + "inherited_evidence_level": "internal-numerical-candidate", + "scope_limitations": [ + "the source-clean 3x3 matrix is internally certified at commit d756c76 with certificate SHA-256 968ad3bb67dc696b841a6bb8544c16eba3f9d5748b2fe737e20b8c7e30f8373f", + "the registered path is fully ionized, dark, recombination-off, homojunction-only, and not a production experiment route", + "the depletion approximation is an internal analytic oracle rather than external Sentaurus or PC1D validation" + ], + "qualification_gaps": [ + "Inherited registry label is not a rerun or qualification of the refactor source", + "Bind actual driver/protocol/initial state/environment before source migration", + "Assign per-observable migration thresholds and independent reference-error bounds before this slice switches" + ], + "new_source_qualified": false + }, + { + "capability_id": "benchmark-f55a467e6d6c9e27", + "origin_key": "benchmark:distributed-explicit-defect-internal-closure", + "kind": "benchmark", + "config_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/distributed_defect_qf_dc_pn.yaml", + "sha256": "7a6b1c16d8ea313177e3a761660bd6b7bbb546b14aa23189f91a9187ff0904f8", + "role": "registered_input" + } + ], + "test_ids": [ + "test-7c3a65c4824b57be", + "test-d8903cb8e3fb1bfc", + "test-28ee723a96a5283e", + "test-94568656628db5aa", + "test-281ed1035a42c6a4" + ], + "test_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/unit/physics/test_defect_distributions.py", + "sha256": "0df5e547acd7d7a1cdfd436c699fa2eccbbf011427c61744c98a03bb6690ed6c", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/unit/physics/test_distributed_defect_closure.py", + "sha256": "d90062218499940df53214ba591b7784847f53896a37361c5e4f58b140bc1e9e", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/unit/physics/test_distributed_defect_device.py", + "sha256": "ec82b454d816f197f92c920f9389fa22f79021d7890bed9b7c0508d5a7f44260", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "sha256": "ea5ba30ac493eac2f6f77b02e4fbbd3fb1e6baddc6727a25bcf3c82b4757fccb", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/unit/validation/test_distributed_defect_refinement.py", + "sha256": "3dbd87674a52a06712940c49def0bfe701baf65962590abac914c42f0893bb15", + "role": "registered_input" + } + ], + "reference_inputs": [ + { + "kind": "registered_contract", + "source": { + "root": "repository", + "path": "perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "sha256": "35165f16511bcf61a3eecec1c2391780249206aecc97fe17dd1cf30c046681be", + "role": "benchmark_registry" + }, + "json_pointer": "/benchmarks/distributed-explicit-defect-internal-closure", + "identity_sha256": "f3b2f71eac3b45a1cb47edff6e72d3bc184b169688e593c2d2c96ac89d1abdc9" + } + ], + "inherited_evidence_level": "internal-numerical-candidate", + "scope_limitations": [ + "the source-clean 3x3 matrix at commit 8c1f7be997c0cb243229eda3d0c246ed45a0c340 completed 9/9 cells and 272/272 checks with certificate SHA-256 7d21a2c257c00660f6a2e9d5990820c29580c6b5c1315b00eb27eaa15c0b121f", + "the lane is restricted to uniform-layer Maxwell-Boltzmann quasi-steady QF/DC with frozen/no mobile ions", + "spatial grading, interfaces, AC, transient occupancy, tunnelling, multivalent defects, external SCAPS parity, and experimental validation remain absent" + ], + "qualification_gaps": [ + "Inherited registry label is not a rerun or qualification of the refactor source", + "Bind actual driver/protocol/initial state/environment before source migration", + "Assign per-observable migration thresholds and independent reference-error bounds before this slice switches" + ], + "new_source_qualified": false + }, + { + "capability_id": "benchmark-94f2fd2efa41f878", + "origin_key": "benchmark:driftfusion-physical-regression", + "kind": "benchmark", + "config_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/driftfusion_benchmark.yaml", + "sha256": "3e4cea0244bcb71072194d24ff5a31e50eb780d8d93dc8bc2343a8032de3fbf7", + "role": "registered_input" + } + ], + "test_ids": [ + "test-0f73e6238996eec6", + "test-b280244ce63845b5", + "test-f519cd4f3242052d", + "test-3f238fb641ef8d3d", + "test-838e934bbce98c16", + "test-cd3b425f62097cc6" + ], + "test_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/validation/test_paper_configurations.py", + "sha256": "a6889042842095ced7f3d8d24d6c5e478a6c7335051b42a98cf8bd775d4d4b6a", + "role": "registered_input" + } + ], + "reference_inputs": [ + { + "kind": "registered_contract", + "source": { + "root": "repository", + "path": "perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "sha256": "35165f16511bcf61a3eecec1c2391780249206aecc97fe17dd1cf30c046681be", + "role": "benchmark_registry" + }, + "json_pointer": "/benchmarks/driftfusion-physical-regression", + "identity_sha256": "24c1cfbba0cd1de9dc4e4219917af0a2d38f9b1f5e6081aa23c087c68128f931" + }, + { + "kind": "registry_value_or_original_source_declaration", + "field": "observed_reverse", + "pointer": "/benchmarks/driftfusion-physical-regression/observed_reverse", + "value": { + "Voc_V": 0.662930538, + "Jsc_A_m2": 220.91789, + "FF": 0.761666727, + "PCE_percent": 11.154854 + } + } + ], + "inherited_evidence_level": "paper-informed-physical-regression", + "scope_limitations": [ + "hysteresis and illumination trends are internal qualitative guards", + "no digitized Calado transient curve is stored in the repository" + ], + "qualification_gaps": [ + "Inherited registry label is not a rerun or qualification of the refactor source", + "Bind actual driver/protocol/initial state/environment before source migration", + "Assign per-observable migration thresholds and independent reference-error bounds before this slice switches" + ], + "new_source_qualified": false + }, + { + "capability_id": "benchmark-f2259e41f3b75254", + "origin_key": "benchmark:dynamic-defect-ion-impedance-production-closure", + "kind": "benchmark", + "config_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/dynamic_defect_ion_impedance.yaml", + "sha256": "0b7424e4170d7d3792f40f97361edee3a881a04a39ad3a549fb7de621798422a", + "role": "registered_input" + } + ], + "test_ids": [ + "test-aa38aa44614c6a39", + "test-5022410942c288c2", + "test-c266ef46a5d09e19", + "test-fea61e2a199b12b9", + "test-93ba21a37217ae64", + "test-99eccb58b23031e9", + "test-94c4b5bc91e669ec" + ], + "test_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/unit/experiments/test_dynamic_defect_impedance.py", + "sha256": "1ac676ee6d2da5a9af0713cb23041ce606dafa2754fc4aadbc97bfecb6963feb", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/integration/test_dynamic_defect_impedance.py", + "sha256": "9f09812d69177e475ca15b300ebeee3087281fe287e6c0c30e637ef1dc195601", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/integration/test_dynamic_defect_impedance_api.py", + "sha256": "b5299272f9ddd7249947f4b112ed18870f5b6c4f4a6e2637cee31cd0df18811b", + "role": "registered_input" + } + ], + "reference_inputs": [ + { + "kind": "registered_contract", + "source": { + "root": "repository", + "path": "perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "sha256": "35165f16511bcf61a3eecec1c2391780249206aecc97fe17dd1cf30c046681be", + "role": "benchmark_registry" + }, + "json_pointer": "/benchmarks/dynamic-defect-ion-impedance-production-closure", + "identity_sha256": "22a3f05b17cb01a0166c09bee98e2a323b7496503ed8d41e728077cf98982539" + } + ], + "inherited_evidence_level": "internal-numerical-candidate", + "scope_limitations": [ + "the source-bound 3x3 production matrix certifies grid, finite-difference, frequency-sampling, conservation, decomposition, DC-state, contact, and frequency-window gates; its current certificate identity is tracked in the explicit-defect development roadmap", + "the synthetic fixture contains one single-level acceptor plus one positive mobile-ion species; bulk-only and two-sided interface dispatch are covered by dedicated real integration tests", + "this is internal numerical evidence, not SCAPS parity, measured impedance validation, or unique defect-parameter identification" + ], + "qualification_gaps": [ + "Inherited registry label is not a rerun or qualification of the refactor source", + "Bind actual driver/protocol/initial state/environment before source migration", + "Assign per-observable migration thresholds and independent reference-error bounds before this slice switches" + ], + "new_source_qualified": false + }, + { + "capability_id": "benchmark-4322a9e3b442d931", + "origin_key": "benchmark:dynamic-defect-ion-transient-production-closure", + "kind": "benchmark", + "config_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/dynamic_interface_defect_ion_transient_absorber_only.yaml", + "sha256": "f617f230b2d9c144573394e38fcc313225dc84c7b38f7670b97e9a0a7cc12a24", + "role": "registered_input" + } + ], + "test_ids": [ + "test-b62f526de14eadca", + "test-c05eb905eb899cd1", + "test-0096022cc5e5dfaf", + "test-f889af2a2265063a", + "test-e18b2e6356dd93d4", + "test-19f117b7f3c7e466" + ], + "test_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/unit/experiments/test_dynamic_defect_transient.py", + "sha256": "dc8263f2c846fad445ed82e3890623740b4c9882568df5931e3f7d42434bab4f", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/integration/test_dynamic_defect_transient.py", + "sha256": "0fd4b533cbe9e113a3712df0223c6f1e11b81e430a276ce18f55c213601a4937", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/unit/backend/test_dynamic_defect_transient_api.py", + "sha256": "31ec444bc28c359f9009345048b379c98621c9fb80cfaacc4523c752ebd38d88", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/integration/test_dynamic_defect_transient_api.py", + "sha256": "375f71f7fa31487373b468a3720ec70f890592b2f38fe1f6a49bdb20a3ed840c", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py", + "sha256": "b9f5abf5bba35da64353f3d90d0ebdcdcffc48abce09bc820c71a2f23356841c", + "role": "registered_input" + } + ], + "reference_inputs": [ + { + "kind": "registered_contract", + "source": { + "root": "repository", + "path": "perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "sha256": "35165f16511bcf61a3eecec1c2391780249206aecc97fe17dd1cf30c046681be", + "role": "benchmark_registry" + }, + "json_pointer": "/benchmarks/dynamic-defect-ion-transient-production-closure", + "identity_sha256": "1bd1da42cba99535624f5af30f9fb7b133b18051c6d2e1e812c378a791e43d29" + } + ], + "inherited_evidence_level": "internal-numerical-candidate", + "scope_limitations": [ + "the source-clean v6 3x3 matrix at commit 4f13a4bebfc71275bb83394e184144965d1359a6 completed 9/9 cells without failure, missing cells, or reuse and passed 366/366 checks; run ID 464da3ec6e0bb94fbd40a82bdc9325b29eabbb6622dc8fcad699b505a4434f5f and certificate SHA-256 52c63f74e5e139487aebce1e3ebe576d4861fb566788261e40d594e8f76f703b", + "the v6 lane must execute the public wrapper independently for combined, defect-dominated, and ion-dominated cases and cannot inherit production certification from the E3c v5 internal adapter certificate", + "this is dark two-layer, one microscopic interface defect, absorber-positive-ion internal numerical evidence; it is not SCAPS transient parity, experimental validation, bulk-plus-ion or dual-ion production coverage" + ], + "qualification_gaps": [ + "Inherited registry label is not a rerun or qualification of the refactor source", + "Bind actual driver/protocol/initial state/environment before source migration", + "Assign per-observable migration thresholds and independent reference-error bounds before this slice switches" + ], + "new_source_qualified": false + }, + { + "capability_id": "benchmark-cc91d2d42ff5757d", + "origin_key": "benchmark:dynamic-defect-ion-transient-timescale-closure", + "kind": "benchmark", + "config_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/dynamic_interface_defect_ion_transient.yaml", + "sha256": "7aa464bc4772030318ebfa5fa7eb293e346ddf33f70f74083ba120f4240fd7c8", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/dynamic_interface_defect_ion_transient_absorber_only.yaml", + "sha256": "f617f230b2d9c144573394e38fcc313225dc84c7b38f7670b97e9a0a7cc12a24", + "role": "registered_input" + } + ], + "test_ids": [ + "test-86453863ed237b32", + "test-f48111c63c540291", + "test-b668e476a2d68221", + "test-b0d18f9eb71fb934" + ], + "test_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/unit/physics/test_dynamic_storage.py", + "sha256": "c64d413721ca87074eaa3a4524b504026c262356e5a2ced0834c5ae106c62df1", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py", + "sha256": "b9f5abf5bba35da64353f3d90d0ebdcdcffc48abce09bc820c71a2f23356841c", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/integration/test_interface_defect_ion_transient.py", + "sha256": "f400ae246a2d1daad561901370026b9ea13e2724c656c7b99ea1943d1468df74", + "role": "registered_input" + } + ], + "reference_inputs": [ + { + "kind": "registered_contract", + "source": { + "root": "repository", + "path": "perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "sha256": "35165f16511bcf61a3eecec1c2391780249206aecc97fe17dd1cf30c046681be", + "role": "benchmark_registry" + }, + "json_pointer": "/benchmarks/dynamic-defect-ion-transient-timescale-closure", + "identity_sha256": "3331988902897bc84db1830a147ccd32bffee9e49ed545bba0d3051a94ef2b49" + } + ], + "inherited_evidence_level": "internal-numerical-candidate", + "scope_limitations": [ + "the source-clean v5 3x3 matrix at commit ba54ce2 completed 9/9 cells and 339/339 checks with certificate SHA-256 9eab2f9e251b8d4c0f7f3f07e0baeea9bb6497126ef8d8111eba1803947e5beb", + "v3 and v4 partial artifacts remain immutable evidence for absolute-DC-baseline and overly narrow stiffness-outcome failures; they are not reclassified by v5", + "the certified range is one absorber-mobile-ion, single-level two-sided-interface fixture and three registered timescale cases; the accelerated-ion probe is only a typed fail-closed stiffness boundary", + "this is internal numerical evidence, not SCAPS transient parity, experimental validation, production API certification, or unique parameter identification" + ], + "qualification_gaps": [ + "Inherited registry label is not a rerun or qualification of the refactor source", + "Bind actual driver/protocol/initial state/environment before source migration", + "Assign per-observable migration thresholds and independent reference-error bounds before this slice switches" + ], + "new_source_qualified": false + }, + { + "capability_id": "benchmark-86e2e70943004434", + "origin_key": "benchmark:external-series-shunt-dc-internal-closure", + "kind": "benchmark", + "config_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/nip_MAPbI3.yaml", + "sha256": "20fa8a8097c965330ce7b0d7e8f9286fc1960585231c360841d24ba7a1845668", + "role": "registered_input" + } + ], + "test_ids": [ + "test-31c40f1f59ae8824", + "test-9b88349c86e4c172", + "test-5c5e3af97f6172a1", + "test-306302da8a54b3a1", + "test-467572eeb8fe5014", + "test-f4bc485cda41b40e" + ], + "test_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/integration/test_external_circuit_refinement.py", + "sha256": "25319fc8ce4d3c090c7c12af166b219e3cc967d94b7765d1f169c4be0671294c", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/unit/validation/test_external_circuit_refinement.py", + "sha256": "425b2654955a9a7d55124595dd45d1d6e8fb1c9a15d413fc2108238793134643", + "role": "registered_input" + } + ], + "reference_inputs": [ + { + "kind": "registered_contract", + "source": { + "root": "repository", + "path": "perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "sha256": "35165f16511bcf61a3eecec1c2391780249206aecc97fe17dd1cf30c046681be", + "role": "benchmark_registry" + }, + "json_pointer": "/benchmarks/external-series-shunt-dc-internal-closure", + "identity_sha256": "2fe5bc1b25491963cd9e576a06a04dd98f5edccfab754283d2bf74dfc38973b9" + } + ], + "inherited_evidence_level": "internal-numerical-candidate", + "scope_limitations": [ + "the v1 full-trace matrix remains partial in its deep-forward-injection tail with certificate SHA-256 3eb975c938cd8bae2d022a37a4f6d2732a149d4dd63bb62ae7f4e0042ab5dc70", + "the source-clean v2 power-quadrant 3x3 matrix is internally certified at commit 2392ba3 with certificate SHA-256 a9f6d63a229ec613594d78d73a2ac94e6d0aea756c10e960948dc31123e1bf26", + "the area-normalized series and shunt resistance values are synthetic stress inputs, not fitted device parameters", + "this is an algebraic DC postprocess and excludes coupled circuit-device transients, heating, distributed resistance, and experimental validation" + ], + "qualification_gaps": [ + "Inherited registry label is not a rerun or qualification of the refactor source", + "Bind actual driver/protocol/initial state/environment before source migration", + "Assign per-observable migration thresholds and independent reference-error bounds before this slice switches" + ], + "new_source_qualified": false + }, + { + "capability_id": "benchmark-00cbe610b0bd55b6", + "origin_key": "benchmark:foundation-mobile-ion-reference", + "kind": "benchmark", + "config_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/tpv_physical_reference.yaml", + "sha256": "2e470b672f2b0ee6970ff169deedf7ce09ed0a45beb8ab9c55b48ab8da487c10", + "role": "registered_input" + } + ], + "test_ids": [ + "test-0df678c273d21304", + "test-13ea5bbdb630c806", + "test-f7ce48a243699b53", + "test-b376e13d9be4964a", + "test-5eedbe4d911ee074", + "test-38c2402525df7cd8" + ], + "test_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/unit/validation/test_accepted_trajectory.py", + "sha256": "2df8b07811aa6a5f5b38f2d8a7303cf95b6b9f685187d32cb94dd2377c4da663", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/integration/test_foundation_mobile_refinement.py", + "sha256": "7bfe34a63a4b831409f5aab5f4b7016a2d3d287920f7a8cb8f4bc91c4dbf37a8", + "role": "registered_input" + } + ], + "reference_inputs": [ + { + "kind": "registered_contract", + "source": { + "root": "repository", + "path": "perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "sha256": "35165f16511bcf61a3eecec1c2391780249206aecc97fe17dd1cf30c046681be", + "role": "benchmark_registry" + }, + "json_pointer": "/benchmarks/foundation-mobile-ion-reference", + "identity_sha256": "6aa2a79af6ef979249cf2ae58f24adb1e5dd2b61f99e20acc84c9f418a78a528" + } + ], + "inherited_evidence_level": "internal-numerical-candidate", + "scope_limitations": [ + "Prepared uniform compensated single/dual ions, fixed light step and voltage ramp/hold on the synthetic physical p-i-n input. Diffusivities are accelerated numerical inputs, not material migration coefficients.", + "The complete early-time carrier, potential, current and ionic histories must pass 176/352/704 lead-resolved spatial refinement plus independent internal time-step and tolerance refinements. Earlier unresolved meshes remain failed evidence.", + "Per-species particle numbers and physical limits are retained throughout. This is internal numerical evidence, not chemical lifetime or experimental validation. See docs/FoundationReferenceValidationContractV2.md.", + "Sampled-history convergence and the additional every-accepted-step domain audit pass in both recorded environments under docs/AcceptedTrajectoryValidationContractV1.md. The observer preserves the original returned states and solver evaluations." + ], + "qualification_gaps": [ + "Inherited registry label is not a rerun or qualification of the refactor source", + "Bind actual driver/protocol/initial state/environment before source migration", + "Assign per-observable migration thresholds and independent reference-error bounds before this slice switches" + ], + "new_source_qualified": false + }, + { + "capability_id": "benchmark-5c45d777007899c9", + "origin_key": "benchmark:foundation-physical-homojunction-reference", + "kind": "benchmark", + "config_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/tpv_physical_reference.yaml", + "sha256": "2e470b672f2b0ee6970ff169deedf7ce09ed0a45beb8ab9c55b48ab8da487c10", + "role": "registered_input" + } + ], + "test_ids": [ + "test-62cadf90010683f7", + "test-8753e8db16e42746", + "test-e908ab2695dec96c", + "test-885f0cca69f15da0", + "test-2c7f9ad9f17fe2c5", + "test-34bc87acbb9b3084" + ], + "test_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/unit/validation/test_foundation_reference_refinement.py", + "sha256": "ff57c80cb62abce866b2e0d1072e9909099fd8223cb00cfcb9e1940774aa36b9", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/unit/validation/test_foundation_reference_sampling.py", + "sha256": "3deb7c9344c001712d542f2d6e56d99a0602126df0bb8e54eb1d435a078abf34", + "role": "registered_input" + } + ], + "reference_inputs": [ + { + "kind": "registered_contract", + "source": { + "root": "repository", + "path": "perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "sha256": "35165f16511bcf61a3eecec1c2391780249206aecc97fe17dd1cf30c046681be", + "role": "benchmark_registry" + }, + "json_pointer": "/benchmarks/foundation-physical-homojunction-reference", + "identity_sha256": "4ce3120339bd95ca188fce3fb1fed000a1251344b3d4a9fd1fb4c1fdf082c393" + } + ], + "inherited_evidence_level": "internal-numerical-candidate", + "scope_limitations": [ + "Synthetic 300 K p-i-n homojunction with declared 2 eV monochromatic power and fixed physical normalization. The v1 uniform/log-sampling matrix remains partial; v2 passes its separate source-bound matrix under identical limits in two numerical environments. This does not complete dynamic or full foundation validation.", + "This numerical reference excludes material fitting, AM1.5G efficiency, optical emission balance, mobile ions and external validation. See docs/FoundationReferenceValidationContractV2.md." + ], + "qualification_gaps": [ + "Inherited registry label is not a rerun or qualification of the refactor source", + "Bind actual driver/protocol/initial state/environment before source migration", + "Assign per-observable migration thresholds and independent reference-error bounds before this slice switches" + ], + "new_source_qualified": false + }, + { + "capability_id": "benchmark-5223cbf1b1ff2fbd", + "origin_key": "benchmark:foundation-tpv-frozen-ion-reference", + "kind": "benchmark", + "config_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/tpv_physical_reference.yaml", + "sha256": "2e470b672f2b0ee6970ff169deedf7ce09ed0a45beb8ab9c55b48ab8da487c10", + "role": "registered_input" + } + ], + "test_ids": [ + "test-9250a63a993b2c94", + "test-917793d6c1152d4a", + "test-3fb40181fa7529da", + "test-d979d6733e0a52f4", + "test-604ba80c70fb9dfa", + "test-1b5f7c8515814c35", + "test-62caf3ff0c34f5cd" + ], + "test_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/integration/test_tpv_open_circuit_refinement.py", + "sha256": "ef6f29fc7d51ac6e3d036c869744ee81a837798164d3388cbfb0e31e118ebbc3", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/integration/test_foundation_tpv_spatial_refinement.py", + "sha256": "2f4215c817c2ab1a412fef97923bfad87ab55e0a9774ff6b0b99f6d430ca9a08", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/integration/test_degradation_snapshot_refinement.py", + "sha256": "ecdf042f3c92a4135b8acef933702c5108f3cdd2a9f378cd9fbcd7386435f672", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/unit/experiments/test_degradation_frozen_ions.py", + "sha256": "f997629f8a5e79035e0f09bd40d9606b08988628e2af882fcb7d4c584039817e", + "role": "registered_input" + } + ], + "reference_inputs": [ + { + "kind": "registered_contract", + "source": { + "root": "repository", + "path": "perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "sha256": "35165f16511bcf61a3eecec1c2391780249206aecc97fe17dd1cf30c046681be", + "role": "benchmark_registry" + }, + "json_pointer": "/benchmarks/foundation-tpv-frozen-ion-reference", + "identity_sha256": "60831da912b68ba5d74aaef4ebbc7496d91bac3cbb0fae6c5e4da68e6649650b" + } + ], + "inherited_evidence_level": "internal-numerical-candidate", + "scope_limitations": [ + "Synthetic p-i-n input for internal TPV and frozen-ion numerical checks. No optical-spectrum, material-parameter or experimental calibration is claimed.", + "TPV time/tolerance/amplitude and spatial checks plus frozen-ion snapshot time/voltage checks are internally verified. Browser rendering and full foundation-stage completion are separate." + ], + "qualification_gaps": [ + "Inherited registry label is not a rerun or qualification of the refactor source", + "Bind actual driver/protocol/initial state/environment before source migration", + "Assign per-observable migration thresholds and independent reference-error bounds before this slice switches" + ], + "new_source_qualified": false + }, + { + "capability_id": "benchmark-d84b2405628c3df6", + "origin_key": "benchmark:foundation-twod-active-transport-reference", + "kind": "benchmark", + "config_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/twod/nip_MAPbI3_singleGB.yaml", + "sha256": "01870c441a410f0c99a6d71ee363e862798ee05fdaaf03156bb657a16b6cf5b6", + "role": "registered_input" + } + ], + "test_ids": [ + "test-05da3d62869dd717", + "test-05ca1530e5b77103", + "test-40d459ace312e426", + "test-12ae29e0d4e4199a", + "test-38c2402525df7cd8" + ], + "test_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/unit/validation/test_accepted_trajectory.py", + "sha256": "2df8b07811aa6a5f5b38f2d8a7303cf95b6b9f685187d32cb94dd2377c4da663", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/integration/test_foundation_twod_axis_refinement.py", + "sha256": "90fbe9ebb86ccb23f1f946f1374ff78a9d529339bce16e3468a8cc4378163497", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/integration/test_twod_combined_refinement.py", + "sha256": "87a77097b4cdaacb47c0763f2e430306fe09f8e59939f2ef437a3d737f3720ee", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/integration/twod/test_jv_sweep_2d_microstructure.py", + "sha256": "c91c91e4e2e7bc70135cf21df42c0a856514298df2e09e12cee841c506502fae", + "role": "registered_input" + } + ], + "reference_inputs": [ + { + "kind": "registered_contract", + "source": { + "root": "repository", + "path": "perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "sha256": "35165f16511bcf61a3eecec1c2391780249206aecc97fe17dd1cf30c046681be", + "role": "benchmark_registry" + }, + "json_pointer": "/benchmarks/foundation-twod-active-transport-reference", + "identity_sha256": "f479102cd8c38cc9bfe4cee289a5a87b8fd932bc510434d135b1fae148c6b5ed" + } + ], + "inherited_evidence_level": "internal-numerical-candidate", + "scope_limitations": [ + "The independent-axis case is defined by explicit synthetic material parameters in the test, with mixed carrier contacts, active physically normalized thermionic caps and no moving ions.", + "The YAML is used only for the separate five-nanometre grain-boundary/no-boundary control. Its former unsupported 0.1 percent suppression assertion is withdrawn; causal response must exceed measured numerical uncertainty.", + "These checks do not extend the registered heterogeneous 2D mobile-ion scope or establish material-specific grain-boundary predictions. See docs/TwodTransportContract.md.", + "The accepted-step audit also covers the declared one-dimensional preparation of the heterogeneous matrix and passes in both recorded environments under docs/AcceptedTrajectoryValidationContractV1.md. Its original numerical and physical scope is unchanged." + ], + "qualification_gaps": [ + "Inherited registry label is not a rerun or qualification of the refactor source", + "Bind actual driver/protocol/initial state/environment before source migration", + "Assign per-observable migration thresholds and independent reference-error bounds before this slice switches" + ], + "new_source_qualified": false + }, + { + "capability_id": "benchmark-ae94b012055aa10b", + "origin_key": "benchmark:incomplete-ionization-bgn-internal-closure", + "kind": "benchmark", + "config_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/csi_incomplete_ionization_bgn_pn_research.yaml", + "sha256": "2fb63bd79a0f0917083d887e80301712d65b9ca46ace02bedb9cb5c5336e789b", + "role": "registered_input" + } + ], + "test_ids": [ + "test-bd5675ca85376b09", + "test-ee15076452680647", + "test-ae1c2c77a5fccb17", + "test-b98594b5738e2c7b", + "test-3b1d4ca1d50d64cf" + ], + "test_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/unit/physics/test_band_gap_narrowing.py", + "sha256": "381aef0d7abc3e4e3ef97063725737f8675b46f25dc54c5e17e3e433f2e62ceb", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/unit/physics/test_contact_statistics.py", + "sha256": "ac8c7717528263829774ff1ba9187f8c032475e11cfad3db608eacd03b2e18b4", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py", + "sha256": "1798e8af9794fe0c8fe2f9e4ed02ddcf2d304dc516a4b9d2f3651e1485a4bdfb", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/unit/validation/test_bgn_refinement.py", + "sha256": "ce65c9cfe8f8b4403b6c9a895e555722721290a1a4d9aa8be17917e674ac1ef3", + "role": "registered_input" + } + ], + "reference_inputs": [ + { + "kind": "registered_contract", + "source": { + "root": "repository", + "path": "perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "sha256": "35165f16511bcf61a3eecec1c2391780249206aecc97fe17dd1cf30c046681be", + "role": "benchmark_registry" + }, + "json_pointer": "/benchmarks/incomplete-ionization-bgn-internal-closure", + "identity_sha256": "71532e888e71d9feecdb5f38ad965d08b4ddc76499a8a9565168cf46082ded32" + } + ], + "inherited_evidence_level": "internal-numerical-candidate", + "scope_limitations": [ + "the source-clean 3x3 matrix is internally certified at commit d34ef7f with certificate SHA-256 bc1285a3ef9d42e1e6346aedad33ad3871b5597a7b409f4ea002bf029f024ce6", + "the lane is a dark, homogeneous, recombination-off research equilibrium and not a production J-V, C-V, or impedance route", + "Slotboom coefficients are an empirical silicon closure; external Sentaurus or PC1D validation and experimental validation remain absent" + ], + "qualification_gaps": [ + "Inherited registry label is not a rerun or qualification of the refactor source", + "Bind actual driver/protocol/initial state/environment before source migration", + "Assign per-observable migration thresholds and independent reference-error bounds before this slice switches" + ], + "new_source_qualified": false + }, + { + "capability_id": "benchmark-afaed356d2fa81de", + "origin_key": "benchmark:incomplete-ionization-internal-closure", + "kind": "benchmark", + "config_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/csi_incomplete_ionization_pn_research.yaml", + "sha256": "d98b07049abfb17f44404eac91557338dad3a16341b6350d291d940c258abc72", + "role": "registered_input" + } + ], + "test_ids": [ + "test-1f64cf6e4a4764e3", + "test-e04687ed076e43f8", + "test-f1a88da895bca499", + "test-d34199abd275c40a", + "test-b0b6fdce5445d43b" + ], + "test_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/unit/physics/test_statistics.py", + "sha256": "915e5773ffd805b8f8f13e0fa7f6288ed5289b775a4c402e1859b7b666be7c9c", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/unit/physics/test_contact_statistics.py", + "sha256": "ac8c7717528263829774ff1ba9187f8c032475e11cfad3db608eacd03b2e18b4", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py", + "sha256": "1798e8af9794fe0c8fe2f9e4ed02ddcf2d304dc516a4b9d2f3651e1485a4bdfb", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/unit/validation/test_incomplete_ionization_refinement.py", + "sha256": "f0971da57a4e50a51c23e2c077ca87e0938977e4fb1180b5cd915a567dc445a0", + "role": "registered_input" + } + ], + "reference_inputs": [ + { + "kind": "registered_contract", + "source": { + "root": "repository", + "path": "perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "sha256": "35165f16511bcf61a3eecec1c2391780249206aecc97fe17dd1cf30c046681be", + "role": "benchmark_registry" + }, + "json_pointer": "/benchmarks/incomplete-ionization-internal-closure", + "identity_sha256": "1034c8967115b5ea72b333b6fabfbb843604f9441dce52460461d07c3076e998" + } + ], + "inherited_evidence_level": "internal-numerical-candidate", + "scope_limitations": [ + "the source-clean 3x3 matrix is internally certified at commit 1090354 with certificate SHA-256 902ae0f91b77cf7403349d4d54553c2d43c3c774b1f2a62530e2a27c9fbc0254", + "the discrete-level model excludes impurity bands, the Mott transition, band-gap narrowing, recombination, bias, and production experiment routes", + "the temperature curve and refinement checks are internal evidence rather than external solver or experimental validation" + ], + "qualification_gaps": [ + "Inherited registry label is not a rerun or qualification of the refactor source", + "Bind actual driver/protocol/initial state/environment before source migration", + "Assign per-observable migration thresholds and independent reference-error bounds before this slice switches" + ], + "new_source_qualified": false + }, + { + "capability_id": "benchmark-8d1003366b1bcb44", + "origin_key": "benchmark:interface-charge-device-stress", + "kind": "benchmark", + "config_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/interface_charge_research.yaml", + "sha256": "523449448807e4993f999300308096003c3eeaf280924b7af208915a3cf41a54", + "role": "registered_input" + } + ], + "test_ids": [ + "test-bd7607f3f0c6203f", + "test-ca05903ef4e1d89f" + ], + "test_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/unit/validation/test_interface_charge_stress.py", + "sha256": "1504a10d1bf7c35532c251f3c7417dcdb7380644ff4fa3e79e8737acfc0e3138", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/unit/sweeps/test_interface_defect_sweep.py", + "sha256": "ec30ea88aa9b8f3175808af5356b0389af436760d59e24a9fc26fe12124b28b2", + "role": "registered_input" + } + ], + "reference_inputs": [ + { + "kind": "registered_contract", + "source": { + "root": "repository", + "path": "perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "sha256": "35165f16511bcf61a3eecec1c2391780249206aecc97fe17dd1cf30c046681be", + "role": "benchmark_registry" + }, + "json_pointer": "/benchmarks/interface-charge-device-stress", + "identity_sha256": "238a38f91cbc6b8045f5dda86c4f71f5eb82718ecc4347a299f14ace24797ae7" + } + ], + "inherited_evidence_level": "internal-numerical-candidate", + "scope_limitations": [ + "the v1 N30/N60 matrix completes all four cells but remains partial because one pointwise sheet-charge grid difference is 1.4735 percent against a fixed 1 percent gate", + "the resolved-v2 N30/N60/N90 companion is internally certified at commit a3c6b30 with certificate SHA-256 f6e214307fe73fbc9d866d5e2537658cdb563134df78a419ecb6f4f873bd0844", + "the matrix is one-factor-at-a-time and does not certify Et/CBO/Nd/Nt interactions", + "Nd=5e15 and 1e16 cm-3 fail different tight-residual grid cells, while 1e17 and 1e18 cm-3 remain outside the local-QSS basin", + "N120 at factor 0.5 fails closed for the Nd=2e15 cm-3 dark-bias target and is outside the current solver basin", + "this is internal numerical evidence with no SCAPS or experimental-validation claim" + ], + "qualification_gaps": [ + "Inherited registry label is not a rerun or qualification of the refactor source", + "Bind actual driver/protocol/initial state/environment before source migration", + "Assign per-observable migration thresholds and independent reference-error bounds before this slice switches" + ], + "new_source_qualified": false + }, + { + "capability_id": "benchmark-66079d06baa87db2", + "origin_key": "benchmark:interface-charge-jv-api-integration", + "kind": "benchmark", + "config_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/interface_charge_jv_research.yaml", + "sha256": "5f4bbf89cf2d95fb020cdc9ade111d838ed38cc1c14a722e5fd800e30c6590c1", + "role": "registered_input" + } + ], + "test_ids": [ + "test-997c80005794fc4d", + "test-ab105fd5266255e1", + "test-125e67ace1168a75", + "test-01d38566fcea91d0", + "test-2753c891a0cf1e03" + ], + "test_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py", + "sha256": "ed915eef1fa7f63ee1b774fd798e1cadcbdb5afb45707be6c1af46328eb7521f", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py", + "sha256": "4ccbc045ce2d7c91f26d0a19024f515a34c80e7cb6ce92aa9c1e05cdd7ffda8e", + "role": "registered_input" + } + ], + "reference_inputs": [ + { + "kind": "registered_contract", + "source": { + "root": "repository", + "path": "perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "sha256": "35165f16511bcf61a3eecec1c2391780249206aecc97fe17dd1cf30c046681be", + "role": "benchmark_registry" + }, + "json_pointer": "/benchmarks/interface-charge-jv-api-integration", + "identity_sha256": "73cb74a2568187397278be38391a1b011d3a88706f52c474370a90b121cbf758" + } + ], + "inherited_evidence_level": "internal-protocol-bound-route", + "scope_limitations": [ + "this benchmark binds the exact illuminated ion-free zero-scan-rate QF protocol and its sync/async API evidence route", + "the D4-E3c source-clean N30/N60/N90 by tolerance 1/0.5/0.25 matrix at commit 3fa71d6 completed 9/9 cells and 293/293 checks with certificate SHA-256 b08bd323e50c8efb9ee7f51428c35a480960c0c39edc65b8500831c4eee5a52d", + "the fixture is an uncalibrated synthetic numerical reference with no SCAPS, experimental, or device-performance claim" + ], + "qualification_gaps": [ + "Inherited registry label is not a rerun or qualification of the refactor source", + "Bind actual driver/protocol/initial state/environment before source migration", + "Assign per-observable migration thresholds and independent reference-error bounds before this slice switches" + ], + "new_source_qualified": false + }, + { + "capability_id": "benchmark-d421981a0850b957", + "origin_key": "benchmark:interface-charge-off-qf-reference", + "kind": "benchmark", + "config_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/interface_charge_reference.yaml", + "sha256": "300f57a256dc764995b916a55b98b642ecd8244eccd2ca456624d9521e0e2705", + "role": "registered_input" + } + ], + "test_ids": [ + "test-cda5260c8eb57a0b", + "test-5e901f40a179e52b" + ], + "test_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/unit/validation/test_refinement_executors.py", + "sha256": "b3da804ee34c977891951564c1d71d354a304a356db66c0851d20dfd336e9bd5", + "role": "registered_input" + } + ], + "reference_inputs": [ + { + "kind": "registered_contract", + "source": { + "root": "repository", + "path": "perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "sha256": "35165f16511bcf61a3eecec1c2391780249206aecc97fe17dd1cf30c046681be", + "role": "benchmark_registry" + }, + "json_pointer": "/benchmarks/interface-charge-off-qf-reference", + "identity_sha256": "2d26aa90bbf6b82315b8b07db80942044c683e3a342ae8ae85c507d563caf709" + } + ], + "inherited_evidence_level": "internal-numerical-candidate", + "scope_limitations": [ + "the content-addressed 3x3 matrix is internally certified for source commit 29c94b4 with certificate SHA-256 0a4fdebdf18eb0237eaa1a4bef599872745697d148461f6de25d10a6985a950b", + "interface electrostatic trap charge remains disabled, so this benchmark makes no charged Gauss-jump claim", + "the uncalibrated reference makes no SCAPS-parity claim" + ], + "qualification_gaps": [ + "Inherited registry label is not a rerun or qualification of the refactor source", + "Bind actual driver/protocol/initial state/environment before source migration", + "Assign per-observable migration thresholds and independent reference-error bounds before this slice switches" + ], + "new_source_qualified": false + }, + { + "capability_id": "benchmark-1006540a4310894f", + "origin_key": "benchmark:interface-charge-qf-research", + "kind": "benchmark", + "config_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/interface_charge_research.yaml", + "sha256": "523449448807e4993f999300308096003c3eeaf280924b7af208915a3cf41a54", + "role": "registered_input" + } + ], + "test_ids": [ + "test-e09f27e839246b3c", + "test-c909ed06e0a53ec3", + "test-136e6416c60b68e9" + ], + "test_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py", + "sha256": "c051719cd0e25ed9a851ef4a0369c2bc9a4d9eddff71997ea3b081090066457a", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/unit/validation/test_refinement_executors.py", + "sha256": "b3da804ee34c977891951564c1d71d354a304a356db66c0851d20dfd336e9bd5", + "role": "registered_input" + } + ], + "reference_inputs": [ + { + "kind": "registered_contract", + "source": { + "root": "repository", + "path": "perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "sha256": "35165f16511bcf61a3eecec1c2391780249206aecc97fe17dd1cf30c046681be", + "role": "benchmark_registry" + }, + "json_pointer": "/benchmarks/interface-charge-qf-research", + "identity_sha256": "6965398e02450f3a9818a5f9a7a9cd36a3ffc1c9bdf447fe1839ec6f22edf3ca" + } + ], + "inherited_evidence_level": "internal-numerical-candidate", + "scope_limitations": [ + "dark, biased, and illuminated device solves close through the research-only QF API", + "the source-clean 3x3 matrix is internally certified at commit 23783a3 with certificate SHA-256 1691eaee87208f2494207c94a6f8c484299e34c4ac99c952b6c8df7915cf1921", + "this is an internal numerical reference with no SCAPS or experimental-validation claim" + ], + "qualification_gaps": [ + "Inherited registry label is not a rerun or qualification of the refactor source", + "Bind actual driver/protocol/initial state/environment before source migration", + "Assign per-observable migration thresholds and independent reference-error bounds before this slice switches" + ], + "new_source_qualified": false + }, + { + "capability_id": "benchmark-ccce54aef1456ee8", + "origin_key": "benchmark:ionmonger-mesh", + "kind": "benchmark", + "config_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/ionmonger_benchmark.yaml", + "sha256": "fbc82c9b85d121c459ab08d07d1c7f886eef36f4db669d354b79d260f43c8750", + "role": "registered_input" + } + ], + "test_ids": [ + "test-19f78ec23fa3a2cb", + "test-7a04d8b14d20a025", + "test-0e9226a2e11b054b", + "test-25756f05d1d78ca8", + "test-c9bb60730ec34a60", + "test-416c24227fdcf67f", + "test-a52c0049825d29c5", + "test-57dec28a7bb95fad", + "test-2b404245ec1d7374", + "test-cd6f5a9ef3ae4325", + "test-641484e062ebff1a", + "test-5c21bc07beff21f5", + "test-34a0c94200709776" + ], + "test_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/regression/test_mesh_convergence.py", + "sha256": "1f82b82527137b61a34b55e371ef727d606dfa070cfd734d1574db5ff44fe9b9", + "role": "registered_input" + } + ], + "reference_inputs": [ + { + "kind": "registered_contract", + "source": { + "root": "repository", + "path": "perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "sha256": "35165f16511bcf61a3eecec1c2391780249206aecc97fe17dd1cf30c046681be", + "role": "benchmark_registry" + }, + "json_pointer": "/benchmarks/ionmonger-mesh", + "identity_sha256": "ef658208e981347a8b2b93c332c4882110aca774a8dfcf8fbc21b03d0114e336" + } + ], + "inherited_evidence_level": "finite-time-protocol-grid-convergence", + "scope_limitations": [ + "fixed-bias states use a 1 ms illuminated preconditioner, not residual steady state", + "conduction-current spread is diagnostic and is not a steady-state certificate" + ], + "qualification_gaps": [ + "Inherited registry label is not a rerun or qualification of the refactor source", + "Bind actual driver/protocol/initial state/environment before source migration", + "Assign per-observable migration thresholds and independent reference-error bounds before this slice switches" + ], + "new_source_qualified": false + }, + { + "capability_id": "benchmark-9413c6e9be031fbb", + "origin_key": "benchmark:ionmonger-physical-regression", + "kind": "benchmark", + "config_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/ionmonger_benchmark.yaml", + "sha256": "fbc82c9b85d121c459ab08d07d1c7f886eef36f4db669d354b79d260f43c8750", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/ionmonger_benchmark_tmm.yaml", + "sha256": "09728fba308a206b3bdcd0874fdfc1775ac125dcfa42d10f70e9db8887c46fea", + "role": "registered_input" + } + ], + "test_ids": [ + "test-c9121d965ed064b3", + "test-30b2463f2e65a945", + "test-4157991ac72b8d59", + "test-95d151c48b468791", + "test-7467aed3c4843bbe", + "test-cd4db0fd3db4ed5a", + "test-3643cfd95da137a2", + "test-9b7d945e5f3d560b" + ], + "test_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/validation/test_paper_configurations.py", + "sha256": "a6889042842095ced7f3d8d24d6c5e478a6c7335051b42a98cf8bd775d4d4b6a", + "role": "registered_input" + } + ], + "reference_inputs": [ + { + "kind": "registered_contract", + "source": { + "root": "repository", + "path": "perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "sha256": "35165f16511bcf61a3eecec1c2391780249206aecc97fe17dd1cf30c046681be", + "role": "benchmark_registry" + }, + "json_pointer": "/benchmarks/ionmonger-physical-regression", + "identity_sha256": "49462a3e9f7e4ccc21ef263fadf3a40ee1d4370c31d2adc4f41c9e6696975caa" + }, + { + "kind": "registry_value_or_original_source_declaration", + "field": "observed_reverse", + "pointer": "/benchmarks/ionmonger-physical-regression/observed_reverse", + "value": { + "Voc_V": 1.185118271, + "Jsc_A_m2": 222.885105, + "FF": 0.770458459, + "PCE_percent": 20.351291 + } + } + ], + "inherited_evidence_level": "paper-informed-physical-regression", + "scope_limitations": [ + "the FULL preset has a documented Voc offset from Courtier 2019", + "paper values define broad envelopes rather than a digitized curve fit", + "the certified forward crossing is 1.192193501 V; reverse Voc depends on the high-bias state history" + ], + "qualification_gaps": [ + "Inherited registry label is not a rerun or qualification of the refactor source", + "Bind actual driver/protocol/initial state/environment before source migration", + "Assign per-observable migration thresholds and independent reference-error bounds before this slice switches" + ], + "new_source_qualified": false + }, + { + "capability_id": "benchmark-a9fb1ab48c74827c", + "origin_key": "benchmark:ionmonger-residual-ss-mesh", + "kind": "benchmark", + "config_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/ionmonger_benchmark.yaml", + "sha256": "fbc82c9b85d121c459ab08d07d1c7f886eef36f4db669d354b79d260f43c8750", + "role": "registered_input" + } + ], + "test_ids": [ + "test-a21b25e26ce8aca9", + "test-6b0be3873366e933", + "test-2d179f10d80fbe84", + "test-580b89cac50abc81" + ], + "test_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/regression/test_p1_steady_state_mesh_convergence.py", + "sha256": "956a52da2a10e93fc90acae028e2dfa2214082000dbe7e343f75de769282a30a", + "role": "registered_input" + } + ], + "reference_inputs": [ + { + "kind": "registered_contract", + "source": { + "root": "repository", + "path": "perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "sha256": "35165f16511bcf61a3eecec1c2391780249206aecc97fe17dd1cf30c046681be", + "role": "benchmark_registry" + }, + "json_pointer": "/benchmarks/ionmonger-residual-ss-mesh", + "identity_sha256": "b6d5422a02d0bf4e8876e2719bf7b2bb07d7a895ad30b2de309affbaed3d677f" + }, + { + "kind": "registry_value_or_original_source_declaration", + "field": "observed_short_circuit", + "pointer": "/benchmarks/ionmonger-residual-ss-mesh/observed_short_circuit", + "value": [ + { + "intervals": 12, + "residual_per_s": 0.00202651322938, + "continuity_bound_A_m2": 0.000227278250122, + "current_A_m2": 216.180645154669, + "current_spread_A_m2": 0.00242027340391 + }, + { + "intervals": 24, + "residual_per_s": 0.0214496133696, + "continuity_bound_A_m2": 0.00240562485444, + "current_A_m2": 220.594546333324, + "current_spread_A_m2": 0.00259612583847 + }, + { + "intervals": 48, + "residual_per_s": 0.295561020412, + "continuity_bound_A_m2": 0.0331478798364, + "current_A_m2": 221.956341941292, + "current_spread_A_m2": 0.00257154927257 + }, + { + "intervals": 72, + "residual_per_s": 0.0453226566184, + "continuity_bound_A_m2": 0.00508304309974, + "current_A_m2": 222.17253370755, + "current_spread_A_m2": 0.00256003810875 + }, + { + "intervals": 96, + "residual_per_s": 0.251430973507, + "continuity_bound_A_m2": 0.0281985781572, + "current_A_m2": 222.230784183868, + "current_spread_A_m2": 0.00256089907717 + } + ] + }, + { + "kind": "registry_value_or_original_source_declaration", + "field": "observed_fine_grid_change", + "pointer": "/benchmarks/ionmonger-residual-ss-mesh/observed_fine_grid_change", + "value": { + "change_48_to_72_A_m2": 0.216191766258, + "change_72_to_96_A_m2": 0.058250476318, + "contraction": 0.26944, + "finest_relative_change_percent": 0.0262 + } + }, + { + "kind": "registry_value_or_original_source_declaration", + "field": "regression_tolerance", + "pointer": "/benchmarks/ionmonger-residual-ss-mesh/regression_tolerance", + "value": { + "residual_per_s": 0.05, + "continuity_bound_A_m2": 0.01, + "current_A_m2": 0.05, + "current_spread_A_m2": 0.001, + "fine_change_A_m2": 0.01, + "contraction": 0.02, + "finest_relative_change_percent": 0.01 + } + } + ], + "inherited_evidence_level": "residual-certified-short-circuit-current-grid-convergence", + "scope_limitations": [ + "this certifies the carrier steady state at V=0 with the ion profile frozen", + "72/96 use a certified 48-interval state prolongation and relative-log coordinates", + "no spatial-profile convergence norm for n, p, or electrostatic potential is claimed", + "no full ionic-equilibrium or voltage-dependent J-V convergence claim is made" + ], + "qualification_gaps": [ + "Inherited registry label is not a rerun or qualification of the refactor source", + "Bind actual driver/protocol/initial state/environment before source migration", + "Assign per-observable migration thresholds and independent reference-error bounds before this slice switches" + ], + "new_source_qualified": false + }, + { + "capability_id": "benchmark-ac54a8e323f74ee0", + "origin_key": "benchmark:lin2019-tandem", + "kind": "benchmark", + "config_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/nip_SnPb_1p22.yaml", + "sha256": "2b5271f1c0f943074ea8de647e0e57c1d456e43f785e6123eb73d616c3e11c1d", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/nip_wideGap_FACs_1p77.yaml", + "sha256": "063c10f521a9943bd63728687ca383b2693ae437071aaedbeb98cdbe26e96147", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/tandem_lin2019.yaml", + "sha256": "2eb26eb1902d0b9fbaf6e1b019dc79a163d2989adb13654c90ef508b4fdaded0", + "role": "registered_input" + } + ], + "test_ids": [ + "test-47b1d0b40ff926aa", + "test-3ddfcf1614473314", + "test-cbbfe8d50275e2e0", + "test-882c522004448454", + "test-8e551ed96134ab29", + "test-764854a355426d9a", + "test-bdf9b8f65e01b1eb", + "test-877dbbff3291ea5c", + "test-18140084831578e4" + ], + "test_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/integration/test_tandem_lin2019.py", + "sha256": "050d91e5ada7f625d4e706f06793d140158f6b23ab4b6614c64cabf07eee68bb", + "role": "registered_input" + } + ], + "reference_inputs": [ + { + "kind": "registered_contract", + "source": { + "root": "repository", + "path": "perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "sha256": "35165f16511bcf61a3eecec1c2391780249206aecc97fe17dd1cf30c046681be", + "role": "benchmark_registry" + }, + "json_pointer": "/benchmarks/lin2019-tandem", + "identity_sha256": "f68d5db104c4e97a9737bd3445b2766255588295b7f4541581136c6b045bcb99" + }, + { + "kind": "registry_value_or_original_source_declaration", + "field": "source_url", + "pointer": "/benchmarks/lin2019-tandem/source_url", + "value": "https://doi.org/10.1038/s41560-019-0466-3" + }, + { + "kind": "registry_value_or_original_source_declaration", + "field": "observed", + "pointer": "/benchmarks/lin2019-tandem/observed", + "value": { + "Voc_V": 2.015846286901602, + "Jsc_A_m2": 145.74744780860283, + "FF": 0.7705290211429362, + "PCE_percent": 22.638485641430208, + "top_photon_budget_A_m2": 152.71911970548558, + "bottom_photon_budget_A_m2": 152.76325835909432, + "top_subcell_Jsc_A_m2": 145.74744780860283, + "bottom_subcell_Jsc_A_m2": 146.49032957761924, + "subcell_current_mismatch_percent": 0.5084091287996708 + } + }, + { + "kind": "registry_value_or_original_source_declaration", + "field": "regression_tolerance", + "pointer": "/benchmarks/lin2019-tandem/regression_tolerance", + "value": { + "Voc_V": 0.005, + "Jsc_A_m2": 0.5, + "FF": 0.005, + "PCE_percent": 0.1, + "top_photon_budget_A_m2": 0.5, + "bottom_photon_budget_A_m2": 0.5, + "top_subcell_Jsc_A_m2": 0.5, + "bottom_subcell_Jsc_A_m2": 0.5, + "subcell_current_mismatch_percent": 0.2 + } + } + ], + "inherited_evidence_level": "partial_external_comparison", + "scope_limitations": [ + "wide-gap and SnPb optical constants are rigid-shift placeholders", + "the source layer sequence and reported thicknesses are transcribed, while unreported ITO/PTAA/PEDOT thicknesses remain explicit assumptions", + "PTAA and BCP optical data and several electrical parameters remain explicit proxies", + "all four tandem metrics pass a broad 10 percent paper window", + "both photon budgets pass and the sub-cell currents match within 0.508 percent", + "the proxy-optics budgets remain about 2.1 percent below the champion 15.6 mA/cm2 central value, so exact champion parity is not claimed" + ], + "qualification_gaps": [ + "Inherited registry label is not a rerun or qualification of the refactor source", + "Bind actual driver/protocol/initial state/environment before source migration", + "Assign per-observable migration thresholds and independent reference-error bounds before this slice switches", + "Keep source version/extraction uncertainty/calibration limitations; external label is not independent validation" + ], + "new_source_qualified": false + }, + { + "capability_id": "benchmark-5ddcacfc324796c7", + "origin_key": "benchmark:loader-contract", + "kind": "benchmark", + "config_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/cSi_homojunction.yaml", + "sha256": "c179e087a6623c7d19dfc7f6a3af056e6fcd5a0382e2e2b0e1e26dc08d883c99", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/configs/calado2016_fig1f.yaml", + "sha256": "825d77f15bcfb3e550cc601231a9b6ce07ca11fe185a3eb7d7ef121d54c0ec2a", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/configs/calado2016_ion_sweep.yaml", + "sha256": "2b436f161a62c9edb2f0b1bbbcf0d2d6a5f27471d2a5d296952173c4baadea9c", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/csi_gaussian_bulk_trap_pn_research.yaml", + "sha256": "7e8bf1ab6669bd8088cd402ef73aca1cd75c9ae1755d3137faf6650569ac481b", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/csi_degenerate_pn_research.yaml", + "sha256": "6d707f97bc1632521b5176f55d6e004cc171636e0264e85aa4f20eadafe2dfcb", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/csi_incomplete_ionization_bgn_pn_research.yaml", + "sha256": "2fb63bd79a0f0917083d887e80301712d65b9ca46ace02bedb9cb5c5336e789b", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/csi_incomplete_ionization_pn_research.yaml", + "sha256": "d98b07049abfb17f44404eac91557338dad3a16341b6350d291d940c258abc72", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/csi_vannijen2025_pn_cv.yaml", + "sha256": "eb4806e7167c258bd6fb5e47fe02ebadc92e8963055c06a73a5775a20178f5ad", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/cigs_baseline.yaml", + "sha256": "46dabc8418b7060a2124206793f3b6f07a01f35826b6b537591c64dbd2abe4af", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/cigs_graded_optics.yaml", + "sha256": "9539deb2d0883838c9dac42dd95aae41eafb109e9d83205c3273fbd8df0e0fbd", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/cigs_graded_notch.yaml", + "sha256": "d622f92e21face4e9a9e1780300566e1cda8c77d0e5e10171882f6cb8d7a5185", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/dual_ion_demo.yaml", + "sha256": "a52ded5f1a674dfcd12e20ea51db9bddcfb035a199d4610639569dd797597064", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/driftfusion_benchmark.yaml", + "sha256": "3e4cea0244bcb71072194d24ff5a31e50eb780d8d93dc8bc2343a8032de3fbf7", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/driftfusion_benchmark_tmm.yaml", + "sha256": "bf0a186c772f5aadff9cfc1c4471534945e9849f42bea75f8097859f4c7350ce", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/driftfusion_calado2016_repro.yaml", + "sha256": "536dc33d42e214072bbeb14256582682ed0efd8ffaa39b1a3ee716217923c7dd", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/distributed_defect_qf_dc_pn.yaml", + "sha256": "7a6b1c16d8ea313177e3a761660bd6b7bbb546b14aa23189f91a9187ff0904f8", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/dynamic_defect_ion_impedance.yaml", + "sha256": "0b7424e4170d7d3792f40f97361edee3a881a04a39ad3a549fb7de621798422a", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/dynamic_interface_defect_ion_transient.yaml", + "sha256": "7aa464bc4772030318ebfa5fa7eb293e346ddf33f70f74083ba120f4240fd7c8", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/dynamic_interface_defect_ion_transient_absorber_only.yaml", + "sha256": "f617f230b2d9c144573394e38fcc313225dc84c7b38f7670b97e9a0a7cc12a24", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/graded_distributed_defect_qf_dc_pn.yaml", + "sha256": "b6db3b87c509bafc7dae5e84640b12a0277668d612b4f9933f848a3ad99a715f", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/field_mobility_demo.yaml", + "sha256": "7ca86a8d5d35c50d0892de55e2375eaf8e9d0966477cd378ace6cae1a5e88edd", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/interface_charge_jv_research.yaml", + "sha256": "5f4bbf89cf2d95fb020cdc9ade111d838ed38cc1c14a722e5fd800e30c6590c1", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/interface_charge_reference.yaml", + "sha256": "300f57a256dc764995b916a55b98b642ecd8244eccd2ca456624d9521e0e2705", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/interface_charge_research.yaml", + "sha256": "523449448807e4993f999300308096003c3eeaf280924b7af208915a3cf41a54", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/ionmonger_benchmark.yaml", + "sha256": "fbc82c9b85d121c459ab08d07d1c7f886eef36f4db669d354b79d260f43c8750", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/ionmonger_benchmark_tmm.yaml", + "sha256": "09728fba308a206b3bdcd0874fdfc1775ac125dcfa42d10f70e9db8887c46fea", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/ionmonger_courtier2019_repro.yaml", + "sha256": "ea88b2d05bca4f617b001092630b3de6e55293b6707c7083c7ee25efa3a5242f", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/nip_MAPbI3.yaml", + "sha256": "20fa8a8097c965330ce7b0d7e8f9286fc1960585231c360841d24ba7a1845668", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/nip_MAPbI3_tmm.yaml", + "sha256": "4624f6923ffc10fbd401ce37702250f72b558d3e4ecdbd5d8e766ab84e21b1b2", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/nip_SnPb_1p22.yaml", + "sha256": "2b5271f1c0f943074ea8de647e0e57c1d456e43f785e6123eb73d616c3e11c1d", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/nip_wideGap_FACs_1p77.yaml", + "sha256": "063c10f521a9943bd63728687ca383b2693ae437071aaedbeb98cdbe26e96147", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/pin_MAPbI3.yaml", + "sha256": "3881eda9e5d7d4c71e1215e11b01f113a4764b1c74b4932e4c7932f69eb3d605", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/pin_MAPbI3_tmm.yaml", + "sha256": "984b5f8bb9858994a1100de70896fc4a9474b43ef1857d633beb14f75a9a22df", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/radiative_limit.yaml", + "sha256": "8d529e4321fb1bb3c32d1d516946aa768f641982d4ab6e12059c46fa5e1fb8c9", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/scaps_defect_m1_double_donor_p.yaml", + "sha256": "43516a15f6ceeb6ba5fb4381c789e1c073ead4b101081d583da60c4bf9407290", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/scaps_defect_m2_double_acceptor_n.yaml", + "sha256": "32c7828624f482259d681aeca4d148d882483719de43dc72ce0b117d4f27d223", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/scaps_defect_m3_amphoteric_i.yaml", + "sha256": "7e772e2e92a5d862ac8b54f0b5cd684829bbe9ae34eb3aee607ab78a3586915c", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/scaps_defect_s0_neutral.yaml", + "sha256": "77b89e16c365cd5c4cf9f7aa439f0200ec9ad9b814e60bbe81895afef65025c7", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/scaps_defect_s1_acceptor_n.yaml", + "sha256": "f49900b296a2bfb3c5a28d9135b24dcf8f0d6c409f105a70d4dd27100ebcb681", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/scaps_defect_s2_donor_p.yaml", + "sha256": "7fff245d23a99cb1128124d073269a3b3f1d8ee9a9f07730ce558ab4eb3d8066", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/scaps_mirror.yaml", + "sha256": "7ad4968d9c8249b76ca4e649d41c39e26727f6818cb81a15fe75f6b74b11b881", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/configs/scaps_mirror_v2.yaml", + "sha256": "5500c9485f6a9518430511019546933277cdc3274fd3a005182394f39d2fcf67", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/scaps_mirror_v2_robin_moderate.yaml", + "sha256": "2d0d25a59802cac9c85f2b4a84ee49f9b42100fe0f87cb00f647462b475a0f95", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/scaps_mirror_v2_robin_strong.yaml", + "sha256": "2b35b8e0a8efdc1e3432dc55b00f03b6f6bcf53d43e699502ef3c903152057ee", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/selective_contacts_demo.yaml", + "sha256": "731b5a77435484ff638183e83e77a7479da4c7b16aadfe79f15ae966764f682d", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/solarscale_nip_band_aligned.yaml", + "sha256": "8b0d9cadfb1d198cf32ea647c95ed25fa38928d8b2f5770bcf49902114402088", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/solarscale_nip_band_aligned_iface.yaml", + "sha256": "538fed52f0d40123ecc1b8a4c1391616f9f35a93637157f3374e90fc8f43c344", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/tandem_lin2019.yaml", + "sha256": "2eb26eb1902d0b9fbaf6e1b019dc79a163d2989adb13654c90ef508b4fdaded0", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/wkb_tunnelling_intraband_spike.yaml", + "sha256": "545067cfedc8598b62fd1991aeaf3cd13d3153151e427452d1b78f6d523df20b", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/wkb_resolved_electron_barrier.yaml", + "sha256": "891165e5ac68609b27dbe6c98b00e27d9b40b4df6edabde764ddda62d4788d27", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/tpv_physical_reference.yaml", + "sha256": "2e470b672f2b0ee6970ff169deedf7ce09ed0a45beb8ab9c55b48ab8da487c10", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/twod/bcx_combined_demo.yaml", + "sha256": "de41a3ea4547a2c97a4327f2c2edaeab4b162e6a51ed43aae4e40ef3047c46dc", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/twod/combined_mobile_interface_research.yaml", + "sha256": "08b0593cbd4e1c11d4603b521ddfb2e4590ef4daa41fbfa7fe4eac857eb606d1", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/twod/nip_MAPbI3_singleGB.yaml", + "sha256": "01870c441a410f0c99a6d71ee363e862798ee05fdaaf03156bb657a16b6cf5b6", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/twod/nip_MAPbI3_uniform.yaml", + "sha256": "6a7e0022575e680e3b4348774eb604c3273930b7a0fe210994e6532cd6d59dcb", + "role": "registered_input" + } + ], + "test_ids": [ + "test-afa5dd66798c55a0" + ], + "test_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/reproducibility/test_matrix.py", + "sha256": "8fdf0c4a63a8cd28be91002090a8357c49ed0b483f3dad1ecfe0c4dd07ae2498", + "role": "registered_input" + } + ], + "reference_inputs": [ + { + "kind": "registered_contract", + "source": { + "root": "repository", + "path": "perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "sha256": "35165f16511bcf61a3eecec1c2391780249206aecc97fe17dd1cf30c046681be", + "role": "benchmark_registry" + }, + "json_pointer": "/benchmarks/loader-contract", + "identity_sha256": "9071ed5350fc8394173e2c6fdc5c4e73a6cc69209a80ca1c957332aa2f321638" + } + ], + "inherited_evidence_level": "structural", + "scope_limitations": [], + "qualification_gaps": [ + "Engineering schema/loader checks only; no physical result oracle is implied" + ], + "new_source_qualified": false + }, + { + "capability_id": "benchmark-f243dcb4f5a72c41", + "origin_key": "benchmark:multivalent-explicit-defect-internal-closure", + "kind": "benchmark", + "config_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/scaps_defect_m1_double_donor_p.yaml", + "sha256": "43516a15f6ceeb6ba5fb4381c789e1c073ead4b101081d583da60c4bf9407290", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/scaps_defect_m2_double_acceptor_n.yaml", + "sha256": "32c7828624f482259d681aeca4d148d882483719de43dc72ce0b117d4f27d223", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/scaps_defect_m3_amphoteric_i.yaml", + "sha256": "7e772e2e92a5d862ac8b54f0b5cd684829bbe9ae34eb3aee607ab78a3586915c", + "role": "registered_input" + } + ], + "test_ids": [ + "test-f697167932acd8d5", + "test-2498209dd01fa0e5", + "test-3896c0e046725431", + "test-03c7f68122391a1f", + "test-a2263556cc482513", + "test-0e123b1fd44a7884" + ], + "test_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/unit/models/test_multivalent_defect_schema.py", + "sha256": "845e84ad77d3429e833e2d84a01bbb7bba01cd7ab41429e1ac10dbbfce39da0a", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/unit/models/test_multivalent_defect_loader.py", + "sha256": "6c7414e07e742f084044f4341cb333d4d5aa2a5c116f186f7c56916af54cf79e", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/unit/physics/test_multivalent_defect_closure.py", + "sha256": "bc4bb57fd0ab87d000dbb2c8f5693a8bf5e943da0c9a244d43910de1e15a21f6", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/unit/physics/test_multivalent_defect_device.py", + "sha256": "46a462d6b9579d5c1b72d5ff71d11802cc835971ddd5e307a037f56c5f3f56c6", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/integration/test_multivalent_explicit_defects_qf.py", + "sha256": "ee9cfaf9bdf99214603e5f1bd1708cd4759372a3e14bbe33fe3075f6edcd5ee0", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/unit/validation/test_multivalent_defect_refinement.py", + "sha256": "1883fd0e1ce16cb80b2ebe270560726913295b323e9e1790018d55de73dafe75", + "role": "registered_input" + } + ], + "reference_inputs": [ + { + "kind": "registered_contract", + "source": { + "root": "repository", + "path": "perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "sha256": "35165f16511bcf61a3eecec1c2391780249206aecc97fe17dd1cf30c046681be", + "role": "benchmark_registry" + }, + "json_pointer": "/benchmarks/multivalent-explicit-defect-internal-closure", + "identity_sha256": "595c5174359eadc726d2c808cfdc3af8429c6c89ae8f3dae2ea72f3e2f5d3d3f" + } + ], + "inherited_evidence_level": "internal-numerical-candidate", + "scope_limitations": [ + "the source-clean 3x3 lane is internal SolarLab grid and tolerance evidence, not SCAPS parity or experimental validation", + "multivalent defects execute only through the opt-in QF/DC path on uniform layers; graded, dynamic, AC, transient, interface, mobile-ion and structured-DAE routes remain fail-closed", + "metastable configurations are contract-only at this checkpoint and are not executed by this lane" + ], + "qualification_gaps": [ + "Inherited registry label is not a rerun or qualification of the refactor source", + "Bind actual driver/protocol/initial state/environment before source migration", + "Assign per-observable migration thresholds and independent reference-error bounds before this slice switches" + ], + "new_source_qualified": false + }, + { + "capability_id": "benchmark-ac91c699b18d14f4", + "origin_key": "benchmark:phase1-refinement-contract", + "kind": "benchmark", + "config_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/cSi_homojunction.yaml", + "sha256": "c179e087a6623c7d19dfc7f6a3af056e6fcd5a0382e2e2b0e1e26dc08d883c99", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/csi_gaussian_bulk_trap_pn_research.yaml", + "sha256": "7e8bf1ab6669bd8088cd402ef73aca1cd75c9ae1755d3137faf6650569ac481b", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/csi_degenerate_pn_research.yaml", + "sha256": "6d707f97bc1632521b5176f55d6e004cc171636e0264e85aa4f20eadafe2dfcb", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/csi_incomplete_ionization_bgn_pn_research.yaml", + "sha256": "2fb63bd79a0f0917083d887e80301712d65b9ca46ace02bedb9cb5c5336e789b", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/csi_incomplete_ionization_pn_research.yaml", + "sha256": "d98b07049abfb17f44404eac91557338dad3a16341b6350d291d940c258abc72", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/csi_vannijen2025_pn_cv.yaml", + "sha256": "eb4806e7167c258bd6fb5e47fe02ebadc92e8963055c06a73a5775a20178f5ad", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/cigs_graded_optics.yaml", + "sha256": "9539deb2d0883838c9dac42dd95aae41eafb109e9d83205c3273fbd8df0e0fbd", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/distributed_defect_qf_dc_pn.yaml", + "sha256": "7a6b1c16d8ea313177e3a761660bd6b7bbb546b14aa23189f91a9187ff0904f8", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/dynamic_defect_ion_impedance.yaml", + "sha256": "0b7424e4170d7d3792f40f97361edee3a881a04a39ad3a549fb7de621798422a", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/dynamic_interface_defect_ion_transient.yaml", + "sha256": "7aa464bc4772030318ebfa5fa7eb293e346ddf33f70f74083ba120f4240fd7c8", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/dynamic_interface_defect_ion_transient_absorber_only.yaml", + "sha256": "f617f230b2d9c144573394e38fcc313225dc84c7b38f7670b97e9a0a7cc12a24", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/graded_distributed_defect_qf_dc_pn.yaml", + "sha256": "b6db3b87c509bafc7dae5e84640b12a0277668d612b4f9933f848a3ad99a715f", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/interface_charge_jv_research.yaml", + "sha256": "5f4bbf89cf2d95fb020cdc9ade111d838ed38cc1c14a722e5fd800e30c6590c1", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/interface_charge_reference.yaml", + "sha256": "300f57a256dc764995b916a55b98b642ecd8244eccd2ca456624d9521e0e2705", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/interface_charge_research.yaml", + "sha256": "523449448807e4993f999300308096003c3eeaf280924b7af208915a3cf41a54", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/ionmonger_benchmark.yaml", + "sha256": "fbc82c9b85d121c459ab08d07d1c7f886eef36f4db669d354b79d260f43c8750", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/nip_MAPbI3.yaml", + "sha256": "20fa8a8097c965330ce7b0d7e8f9286fc1960585231c360841d24ba7a1845668", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/scaps_defect_m1_double_donor_p.yaml", + "sha256": "43516a15f6ceeb6ba5fb4381c789e1c073ead4b101081d583da60c4bf9407290", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/scaps_defect_s1_acceptor_n.yaml", + "sha256": "f49900b296a2bfb3c5a28d9135b24dcf8f0d6c409f105a70d4dd27100ebcb681", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/scaps_mirror.yaml", + "sha256": "7ad4968d9c8249b76ca4e649d41c39e26727f6818cb81a15fe75f6b74b11b881", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/configs/scaps_mirror_v2.yaml", + "sha256": "5500c9485f6a9518430511019546933277cdc3274fd3a005182394f39d2fcf67", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/wkb_tunnelling_intraband_spike.yaml", + "sha256": "545067cfedc8598b62fd1991aeaf3cd13d3153151e427452d1b78f6d523df20b", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/wkb_resolved_electron_barrier.yaml", + "sha256": "891165e5ac68609b27dbe6c98b00e27d9b40b4df6edabde764ddda62d4788d27", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/twod/combined_mobile_interface_research.yaml", + "sha256": "08b0593cbd4e1c11d4603b521ddfb2e4590ef4daa41fbfa7fe4eac857eb606d1", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/tpv_physical_reference.yaml", + "sha256": "2e470b672f2b0ee6970ff169deedf7ce09ed0a45beb8ab9c55b48ab8da487c10", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/twod/nip_MAPbI3_uniform.yaml", + "sha256": "6a7e0022575e680e3b4348774eb604c3273930b7a0fe210994e6532cd6d59dcb", + "role": "registered_input" + } + ], + "test_ids": [ + "test-101a3119fa8ae8cf", + "test-3801c23e9f68f657", + "test-4ec9637341e22aeb", + "test-7abd2273c4a7c2e5", + "test-90b969ea51243a64", + "test-27268d6eb219f174", + "test-18c933b9c116fd90" + ], + "test_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/regression/test_tolerance_grid_refinement.py", + "sha256": "1315df4db5dc09beebe293629e042406ff56c701491ef9ec567229a35c223995", + "role": "registered_input" + } + ], + "reference_inputs": [ + { + "kind": "registered_contract", + "source": { + "root": "repository", + "path": "perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "sha256": "35165f16511bcf61a3eecec1c2391780249206aecc97fe17dd1cf30c046681be", + "role": "benchmark_registry" + }, + "json_pointer": "/benchmarks/phase1-refinement-contract", + "identity_sha256": "3a52fdcb18a1b60bc0d218a142e83a51d04dffa2f732c733bc50c77ea4d90c65" + } + ], + "inherited_evidence_level": "structural-numerical-contract", + "scope_limitations": [ + "this passing benchmark certifies the immutable schema and runner mechanics only", + "no pre-registered physical lane is promoted until its content-addressed matrix closes" + ], + "qualification_gaps": [ + "Engineering schema/loader checks only; no physical result oracle is implied" + ], + "new_source_qualified": false + }, + { + "capability_id": "benchmark-beb35201a660895f", + "origin_key": "benchmark:scaps-cbo-trend", + "kind": "benchmark", + "config_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/scaps_mirror.yaml", + "sha256": "7ad4968d9c8249b76ca4e649d41c39e26727f6818cb81a15fe75f6b74b11b881", + "role": "registered_input" + } + ], + "test_ids": [ + "test-04994ff7ad70511e", + "test-d2596d66add6ccfc", + "test-d40fbf340c5becaa" + ], + "test_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/integration/test_scaps_mirror_cbo_trend.py", + "sha256": "b3fe147e70577ecc1c045fe76513fc1b53eb9f2f3d46d2784193628e4806e398", + "role": "registered_input" + } + ], + "reference_inputs": [ + { + "kind": "registered_contract", + "source": { + "root": "repository", + "path": "perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "sha256": "35165f16511bcf61a3eecec1c2391780249206aecc97fe17dd1cf30c046681be", + "role": "benchmark_registry" + }, + "json_pointer": "/benchmarks/scaps-cbo-trend", + "identity_sha256": "bd94751ed3e57f6265e83fc3ecd0e2a2fdf2c5ae6edf02110f508ae59022ffa4" + }, + { + "kind": "requested_report_reference", + "manifest_source_ids": [ + "scaps_workbook", + "scaps_pdf", + "scaps_fixture" + ], + "prospective_contract": "reproducibility/ScapsComparisonContractV1.json", + "scope_warning": "Existing trend or calibrated-boundary test does not prove 13-group table agreement" + } + ], + "inherited_evidence_level": "qualitative-trend", + "scope_limitations": [], + "qualification_gaps": [ + "Inherited registry label is not a rerun or qualification of the refactor source", + "Bind actual driver/protocol/initial state/environment before source migration", + "Assign per-observable migration thresholds and independent reference-error bounds before this slice switches" + ], + "new_source_qualified": false + }, + { + "capability_id": "benchmark-64d717e2afaf62b7", + "origin_key": "benchmark:scaps-low-doping-etl-boundary", + "kind": "benchmark", + "config_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/configs/scaps_mirror_v2.yaml", + "sha256": "5500c9485f6a9518430511019546933277cdc3274fd3a005182394f39d2fcf67", + "role": "registered_input" + } + ], + "test_ids": [ + "test-c9dfe6dac85324d6", + "test-dd647da643bee392" + ], + "test_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/unit/experiments/test_steady_state.py", + "sha256": "1bd95145058440d09a46c16a27aee490749dc5d51ce9ba8b91b9eff4a33ee17c", + "role": "registered_input" + } + ], + "reference_inputs": [ + { + "kind": "registered_contract", + "source": { + "root": "repository", + "path": "perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "sha256": "35165f16511bcf61a3eecec1c2391780249206aecc97fe17dd1cf30c046681be", + "role": "benchmark_registry" + }, + "json_pointer": "/benchmarks/scaps-low-doping-etl-boundary", + "identity_sha256": "fb9f0539afb9c1ce08798f6f4ec733f8610494e7bdd4a78a3d3be26d676ea4a9" + }, + { + "kind": "requested_report_reference", + "manifest_source_ids": [ + "scaps_workbook", + "scaps_pdf", + "scaps_fixture" + ], + "prospective_contract": "reproducibility/ScapsComparisonContractV1.json", + "scope_warning": "Existing trend or calibrated-boundary test does not prove 13-group table agreement" + } + ], + "inherited_evidence_level": "calibrated-boundary-condition-regression", + "scope_limitations": [ + "the metal-reservoir contact barrier is a calibrated model parameter", + "the 60 mV SCAPS comparison window is not an independent holdout validation" + ], + "qualification_gaps": [ + "Inherited registry label is not a rerun or qualification of the refactor source", + "Bind actual driver/protocol/initial state/environment before source migration", + "Assign per-observable migration thresholds and independent reference-error bounds before this slice switches" + ], + "new_source_qualified": false + }, + { + "capability_id": "benchmark-4e5dfc48e60736d0", + "origin_key": "benchmark:spatial-explicit-defect-internal-closure", + "kind": "benchmark", + "config_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/graded_distributed_defect_qf_dc_pn.yaml", + "sha256": "b6db3b87c509bafc7dae5e84640b12a0277668d612b4f9933f848a3ad99a715f", + "role": "registered_input" + } + ], + "test_ids": [ + "test-0e334a72823d9f7f", + "test-251960f41591839e", + "test-219a38c6e8b35660" + ], + "test_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/unit/physics/test_distributed_defect_closure.py", + "sha256": "d90062218499940df53214ba591b7784847f53896a37361c5e4f58b140bc1e9e", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/integration/test_spatially_graded_explicit_defects_qf.py", + "sha256": "b22b39212ccdf1de8e4243078bb227ded7f498b2dad4c979620cd92ebaa4c7bf", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/unit/validation/test_spatial_defect_refinement.py", + "sha256": "08ebf37928dfd7f649568a5fa8796ab71d6cf6edcdddc28edace2fc611993f6c", + "role": "registered_input" + } + ], + "reference_inputs": [ + { + "kind": "registered_contract", + "source": { + "root": "repository", + "path": "perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "sha256": "35165f16511bcf61a3eecec1c2391780249206aecc97fe17dd1cf30c046681be", + "role": "benchmark_registry" + }, + "json_pointer": "/benchmarks/spatial-explicit-defect-internal-closure", + "identity_sha256": "dfc286c5e52c75148405ff9f9b26cf9c3813dd1b10bab1668dd9d4319c49a486" + } + ], + "inherited_evidence_level": "internal-numerical-candidate", + "scope_limitations": [ + "the immutable v1 source-clean matrix completed 9/9 cells and 349/350 checks but remains partial because the coarsest grid-64 solve exceeded the frozen dark-current gate", + "v2 retains every v1 grid, factor, observable, and gate while tightening only the base Newton residual tolerance from 1e-8 to 1e-9", + "the v2 source-clean matrix at commit 1c356b6 completed 9/9 cells and 350/350 checks with certificate SHA-256 a46cc7c190402225dab099ac59ed3ea555b01e337534699ca30f3263ae149bc1", + "the lane is restricted to a two-layer band-graded Maxwell-Boltzmann quasi-steady QF/DC device with frozen/no mobile ions", + "interfaces, AC, transient occupancy, tunnelling, multivalent defects, external SCAPS parity, and experimental validation remain absent" + ], + "qualification_gaps": [ + "Inherited registry label is not a rerun or qualification of the refactor source", + "Bind actual driver/protocol/initial state/environment before source migration", + "Assign per-observable migration thresholds and independent reference-error bounds before this slice switches" + ], + "new_source_qualified": false + }, + { + "capability_id": "benchmark-a8032d8160a5c7e3", + "origin_key": "benchmark:tmm-jsc-regression", + "kind": "benchmark", + "config_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/nip_MAPbI3_tmm.yaml", + "sha256": "4624f6923ffc10fbd401ce37702250f72b558d3e4ecdbd5d8e766ab84e21b1b2", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/pin_MAPbI3_tmm.yaml", + "sha256": "984b5f8bb9858994a1100de70896fc4a9474b43ef1857d633beb14f75a9a22df", + "role": "registered_input" + } + ], + "test_ids": [ + "test-4227aee7634adb01", + "test-dd3faa491f91527b" + ], + "test_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/regression/test_tmm_baseline.py", + "sha256": "70d6dc28667ff97ad787327a8800d954bdb0c4de56d9f8d40e45910f3cf9fe46", + "role": "registered_input" + } + ], + "reference_inputs": [ + { + "kind": "registered_contract", + "source": { + "root": "repository", + "path": "perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "sha256": "35165f16511bcf61a3eecec1c2391780249206aecc97fe17dd1cf30c046681be", + "role": "benchmark_registry" + }, + "json_pointer": "/benchmarks/tmm-jsc-regression", + "identity_sha256": "5717110052d1f721dabe39c0b200ed22a4f1d31814ea952abbf064fc3b812986" + } + ], + "inherited_evidence_level": "pinned-regression", + "scope_limitations": [ + "fixtures explicitly use the historical whole-flux steric-ion protocol", + "this isolates the optical TMM pin and does not certify shipped-default ionic transport" + ], + "qualification_gaps": [ + "Inherited registry label is not a rerun or qualification of the refactor source", + "Bind actual driver/protocol/initial state/environment before source migration", + "Assign per-observable migration thresholds and independent reference-error bounds before this slice switches" + ], + "new_source_qualified": false + }, + { + "capability_id": "benchmark-63f25334baabb168", + "origin_key": "benchmark:twod-combined-mobile-interface-internal-closure", + "kind": "benchmark", + "config_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/twod/combined_mobile_interface_research.yaml", + "sha256": "08b0593cbd4e1c11d4603b521ddfb2e4590ef4daa41fbfa7fe4eac857eb606d1", + "role": "registered_input" + } + ], + "test_ids": [ + "test-54bfba2285db2397", + "test-a075116e8ea6424c", + "test-d29d0fb4d837f616", + "test-95631c3fb0b691b0" + ], + "test_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/integration/test_twod_combined_refinement.py", + "sha256": "87a77097b4cdaacb47c0763f2e430306fe09f8e59939f2ef437a3d737f3720ee", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/unit/validation/test_twod_combined_refinement.py", + "sha256": "b6a45c4e1d82f9c0c6b5333ff1e7b24fe075bbd3f6572947af51c90b6c7c22c5", + "role": "registered_input" + } + ], + "reference_inputs": [ + { + "kind": "registered_contract", + "source": { + "root": "repository", + "path": "perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "sha256": "35165f16511bcf61a3eecec1c2391780249206aecc97fe17dd1cf30c046681be", + "role": "benchmark_registry" + }, + "json_pointer": "/benchmarks/twod-combined-mobile-interface-internal-closure", + "identity_sha256": "e01f80d954eb5432d02228006e4855004014cf653d7d0c8362a8682c693fd029" + } + ], + "inherited_evidence_level": "internal-numerical-candidate", + "scope_limitations": [ + "the source-clean 3x3 matrix is internally certified at commit 0c9eb26 with certificate SHA-256 b02bc4f8b3b5d470d599f6dacde746b26c263591aafecd14cc6c890a94b677dd", + "the fast positive-ion diffusivity and all interface and grain-boundary parameters are synthetic numerical stress inputs", + "this is internal conservation and convergence evidence, not an external simulator, measured-device, or material-parameter validation" + ], + "qualification_gaps": [ + "Inherited registry label is not a rerun or qualification of the refactor source", + "Bind actual driver/protocol/initial state/environment before source migration", + "Assign per-observable migration thresholds and independent reference-error bounds before this slice switches" + ], + "new_source_qualified": false + }, + { + "capability_id": "benchmark-979ee3060444ba30", + "origin_key": "benchmark:twod-radiative-reabsorption", + "kind": "benchmark", + "config_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/radiative_limit.yaml", + "sha256": "8d529e4321fb1bb3c32d1d516946aa768f641982d4ab6e12059c46fa5e1fb8c9", + "role": "registered_input" + } + ], + "test_ids": [ + "test-fa3de159acdbcfa3" + ], + "test_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/regression/test_twod_validation.py", + "sha256": "ad80439a36fe05704b8a8c6120452bafe84a071437a7fb120e6b348201886ccd", + "role": "registered_input" + } + ], + "reference_inputs": [ + { + "kind": "registered_contract", + "source": { + "root": "repository", + "path": "perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "sha256": "35165f16511bcf61a3eecec1c2391780249206aecc97fe17dd1cf30c046681be", + "role": "benchmark_registry" + }, + "json_pointer": "/benchmarks/twod-radiative-reabsorption", + "identity_sha256": "f01ccc3157f0d2dcd213b2eb4697b1eaf9e4e2c178dee5cc34fc1fb7af34a94b" + } + ], + "inherited_evidence_level": "qualitative-trend", + "scope_limitations": [], + "qualification_gaps": [ + "Inherited registry label is not a rerun or qualification of the refactor source", + "Bind actual driver/protocol/initial state/environment before source migration", + "Assign per-observable migration thresholds and independent reference-error bounds before this slice switches" + ], + "new_source_qualified": false + }, + { + "capability_id": "benchmark-7e320e9d039d49bd", + "origin_key": "benchmark:twod-uniform-parity", + "kind": "benchmark", + "config_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/twod/nip_MAPbI3_uniform.yaml", + "sha256": "6a7e0022575e680e3b4348774eb604c3273930b7a0fe210994e6532cd6d59dcb", + "role": "registered_input" + } + ], + "test_ids": [ + "test-700d0989e03ec470" + ], + "test_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/regression/test_twod_validation.py", + "sha256": "ad80439a36fe05704b8a8c6120452bafe84a071437a7fb120e6b348201886ccd", + "role": "registered_input" + } + ], + "reference_inputs": [ + { + "kind": "registered_contract", + "source": { + "root": "repository", + "path": "perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "sha256": "35165f16511bcf61a3eecec1c2391780249206aecc97fe17dd1cf30c046681be", + "role": "benchmark_registry" + }, + "json_pointer": "/benchmarks/twod-uniform-parity", + "identity_sha256": "5521c97ff9cbf552091f1000d4852fc54ba232dff41e3274f0369e4b4db04f04" + } + ], + "inherited_evidence_level": "dimensional-parity", + "scope_limitations": [], + "qualification_gaps": [ + "Inherited registry label is not a rerun or qualification of the refactor source", + "Bind actual driver/protocol/initial state/environment before source migration", + "Assign per-observable migration thresholds and independent reference-error bounds before this slice switches" + ], + "new_source_qualified": false + }, + { + "capability_id": "benchmark-a1a396a1f7b2045c", + "origin_key": "benchmark:vannijen2025-csi-pn-cv", + "kind": "benchmark", + "config_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/csi_vannijen2025_pn_cv.yaml", + "sha256": "eb4806e7167c258bd6fb5e47fe02ebadc92e8963055c06a73a5775a20178f5ad", + "role": "registered_input" + } + ], + "test_ids": [ + "test-dcb38ee897e3b8df", + "test-afc4550957d51480", + "test-e38d99a5ef51e5ec", + "test-4c9b1d78bbdfcd66", + "test-d6cc7ae906ba281f" + ], + "test_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/validation/test_csi_vannijen2025_cv.py", + "sha256": "6d8c9fb09802a83f3594ac4b8a66cfa758c0800651d2b7a1305cde7f3d5ae490", + "role": "registered_input" + } + ], + "reference_inputs": [ + { + "kind": "registered_contract", + "source": { + "root": "repository", + "path": "perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "sha256": "35165f16511bcf61a3eecec1c2391780249206aecc97fe17dd1cf30c046681be", + "role": "benchmark_registry" + }, + "json_pointer": "/benchmarks/vannijen2025-csi-pn-cv", + "identity_sha256": "0f66ac6d0cfff305f3337997d6cd731ecbf077770ee8f6542a7e89f30f920d3b" + }, + { + "kind": "registry_value_or_original_source_declaration", + "field": "source_url", + "pointer": "/benchmarks/vannijen2025-csi-pn-cv/source_url", + "value": "https://doi.org/10.1016/j.solmat.2024.113383" + }, + { + "kind": "registry_value_or_original_source_declaration", + "field": "reference_resource", + "pointer": "/benchmarks/vannijen2025-csi-pn-cv/reference_resource", + "value": "perovskite_sim/data/references/csi_vannijen2025_pn_cv.yaml" + }, + { + "kind": "registry_value_or_original_source_declaration", + "field": "source_solver", + "pointer": "/benchmarks/vannijen2025-csi-pn-cv/source_solver", + "value": { + "name": "Synopsys Sentaurus Device", + "exact_version_frozen": false, + "raw_output_content_addressed": true, + "raw_output_vendored": false, + "limitation": "the proprietary 2-D Sentaurus input deck is not in the public dataset" + } + }, + { + "kind": "registry_value_or_original_source_declaration", + "field": "observed", + "pointer": "/benchmarks/vannijen2025-csi-pn-cv/observed", + "value": { + "source_capacitance_F_m2": [ + 6.49536934024684e-05, + 6.55253261657715e-05, + 6.899838119228747e-05 + ], + "local_capacitance_F_m2": { + "400": [ + 7.775231887926957e-05, + 8.422366483944331e-05, + 9.35287885554464e-05 + ], + "600": [ + 7.776213237182512e-05, + 8.42375723520279e-05, + 9.355074893362648e-05 + ], + "800": [ + 7.776554653558995e-05, + 8.424247491411392e-05, + 9.355836147996686e-05 + ] + }, + "pointwise_relative_error_N800": [ + 0.197245952647162, + 0.285647547957109, + 0.355950094238221 + ], + "max_pointwise_relative_error": 0.355950094238221, + "rms_pointwise_relative_error": 0.287054557577355, + "adjacent_max_local_curve_changes": [ + 0.000234742943593866, + 8.13668198112934e-05 + ] + } + }, + { + "kind": "registry_value_or_original_source_declaration", + "field": "regression_tolerance", + "pointer": "/benchmarks/vannijen2025-csi-pn-cv/regression_tolerance", + "value": { + "source_capacitance_F_m2": 1e-12, + "local_capacitance_F_m2": 1e-06, + "pointwise_relative_error_N800": 1e-06, + "max_pointwise_relative_error": 1e-06, + "rms_pointwise_relative_error": 1e-06, + "adjacent_max_local_curve_changes": 0.0001 + } + }, + { + "root": "repository", + "path": "perovskite-sim/perovskite_sim/data/references/csi_vannijen2025_pn_cv.yaml", + "sha256": "b4cd86bc232bd9b22a8aee80e564d9c3a19899f93cdb413965e801d3fab7c81c", + "role": "registered_input" + } + ], + "inherited_evidence_level": "partial_external_comparison", + "scope_limitations": [ + "source and local curves are independently generated numerical results, not experiment-to-model validation", + "source geometry is 2-D with partial-width contacts while SolarLab is 1-D and full-area", + "the public dataset freezes raw output and extraction code but not the proprietary Sentaurus input deck or exact solver version", + "paper-unspecified Sentaurus transport and recombination settings cannot be made identical to SolarLab's documented c-Si assumptions", + "SolarLab truncates the Gaussian acceptor tail at 15 um where it is 1e-5 of the donor density", + "SolarLab exceeds the source capacitance by 19.7 to 35.6 percent in the registered depletion window, so pointwise parity is not claimed", + "the registered 1e-8 Newton residual gate is looser than the default 1e-10 numerical target but remains four orders below the physical continuity gate" + ], + "qualification_gaps": [ + "Inherited registry label is not a rerun or qualification of the refactor source", + "Bind actual driver/protocol/initial state/environment before source migration", + "Assign per-observable migration thresholds and independent reference-error bounds before this slice switches", + "Keep source version/extraction uncertainty/calibration limitations; external label is not independent validation" + ], + "new_source_qualified": false + }, + { + "capability_id": "benchmark-e049e24da73bc454", + "origin_key": "benchmark:wkb-resolved-electron-internal-closure", + "kind": "benchmark", + "config_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/wkb_resolved_electron_barrier.yaml", + "sha256": "891165e5ac68609b27dbe6c98b00e27d9b40b4df6edabde764ddda62d4788d27", + "role": "registered_input" + } + ], + "test_ids": [ + "test-8a140de5f686130c", + "test-cac5e095f697ae2e", + "test-d744ff5f768c6f14", + "test-c2e0a6d9ae79f33d", + "test-86307db968070b8b" + ], + "test_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/unit/physics/test_tunnelling_physical_levels.py", + "sha256": "47c271e8e3234b7ad0152dae6211d08342c6ab4b2cbfa85fae89546c675fd9d8", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/unit/physics/test_wkb_turning_point_action.py", + "sha256": "af0fd2b756fab5371ab5e0e48aa72f28f962af059ff07522899f711936e014bf", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/unit/physics/test_intraband_nonlocal_transfer.py", + "sha256": "195045ed0cbad90e2e7deba1bc0c384780555d7943de7d4048ef028a3bea92b4", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/unit/validation/test_resolved_tunnelling_refinement.py", + "sha256": "2b8caf83a10dcdfe1bc97839508bfe0ad1c77946c287046a3240356bdc1067f3", + "role": "registered_input" + } + ], + "reference_inputs": [ + { + "kind": "registered_contract", + "source": { + "root": "repository", + "path": "perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "sha256": "35165f16511bcf61a3eecec1c2391780249206aecc97fe17dd1cf30c046681be", + "role": "benchmark_registry" + }, + "json_pointer": "/benchmarks/wkb-resolved-electron-internal-closure", + "identity_sha256": "2c581a47ca5222d98b4984619d29562deb04af4b81ff2b3174018702d71a4329" + } + ], + "inherited_evidence_level": "internal-numerical-candidate", + "scope_limitations": [ + "One dark, 300 K, Boltzmann intraband electron barrier with fixed unfitted supply prefactor. Numerical scope is independent of SCAPS, quantum-scattering prefactor validation and material calibration.", + "The v2 grid/tolerance matrix and its internal energy ladder have their own source-bound certificate. No result is inherited from the retracted v1 study. See docs/ResolvedIntrabandTunnellingContractV2.md for the physical and numerical scope; this does not complete the full foundation-stage validation." + ], + "qualification_gaps": [ + "Inherited registry label is not a rerun or qualification of the refactor source", + "Bind actual driver/protocol/initial state/environment before source migration", + "Assign per-observable migration thresholds and independent reference-error bounds before this slice switches" + ], + "new_source_qualified": false + }, + { + "capability_id": "benchmark-5ac658e026793692", + "origin_key": "benchmark:wkb-tunnelling-channel-internal-closure", + "kind": "benchmark", + "config_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/wkb_tunnelling_intraband_spike.yaml", + "sha256": "545067cfedc8598b62fd1991aeaf3cd13d3153151e427452d1b78f6d523df20b", + "role": "registered_input" + } + ], + "test_ids": [ + "test-f346fcabe697689f", + "test-6bc4461cf644e882", + "test-f24da9bccf254e3e", + "test-2dc34d63483b5839", + "test-c15bb839196212cd", + "test-191fb19892ce9a5b", + "test-7e222f6602ca6f76", + "test-4ad819acd4a567d9", + "test-e0ae2ffbeba74e64" + ], + "test_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/unit/physics/test_wkb_tunneling.py", + "sha256": "e209fac79d9878ea401dc3117ff848c45a6dd3551b107660ef20e07b85a39149", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/unit/physics/test_wkb_local_windows.py", + "sha256": "3d0feb547b1bbcaad41500a252b0e1221f549a56b219a8f11baff6ba39a4a6fa", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/unit/physics/test_tunneling_channels.py", + "sha256": "0d4c56374ec659fd83d03babadb7eabe4556321c28bf3a7427c5f1d5c9f95378", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/integration/test_tunnelling_channels_device.py", + "sha256": "8b82c35f6f05f22b0eb00f1ec941e850ce1d52fe5f53c9d0907b957c7486d9b8", + "role": "registered_input" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/unit/validation/test_tunnelling_channel_refinement.py", + "sha256": "c74dfbc45323b9363259783dcb343d150fec06269cb58dfaf6c7bd7b0ebe0c5f", + "role": "registered_input" + } + ], + "reference_inputs": [ + { + "kind": "registered_contract", + "source": { + "root": "repository", + "path": "perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml", + "sha256": "35165f16511bcf61a3eecec1c2391780249206aecc97fe17dd1cf30c046681be", + "role": "benchmark_registry" + }, + "json_pointer": "/benchmarks/wkb-tunnelling-channel-internal-closure", + "identity_sha256": "d2b5970b4274c9571090e87d382c44252b9ecdefaa6791b66a0308b1628ca9d3" + } + ], + "inherited_evidence_level": "internal-numerical-candidate", + "scope_limitations": [ + "The historical v1 device claims are retracted. Their original thresholds remain registered, and current v2 physics is not expected to satisfy the old single-face injection or exact device-equilibrium zero assertions.", + "Internal numerical convergence and structural identities only. No SCAPS tunnelling deck is compared and no channel magnitude is validated against any reference; the supply prefactor is an unfitted estimate.", + "The retained v1 fixture is a historical counterexample. Current device support is one resolved intraband electron material barrier; other channel families require separate conservative coupling. Illumination, AC and transient tunnelling are not covered by its replacement numerical certificate." + ], + "qualification_gaps": [ + "Inherited registry label is not a rerun or qualification of the refactor source", + "Bind actual driver/protocol/initial state/environment before source migration", + "Assign per-observable migration thresholds and independent reference-error bounds before this slice switches" + ], + "new_source_qualified": false + }, + { + "capability_id": "lane-3eb9325a1d09f96f", + "origin_key": "lane:algebraic-interface-state-dae-transient-v1", + "kind": "refinement_lane", + "config_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/interface_charge_research.yaml", + "sha256": "523449448807e4993f999300308096003c3eeaf280924b7af208915a3cf41a54", + "role": "registered_input" + } + ], + "config_id": "config-3cc522bdc594b20e", + "executor_id": "executor-3020a7be7b3302cf", + "reference_inputs": [ + { + "kind": "registered_refinement_contract", + "source": { + "root": "repository", + "path": "perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "sha256": "b808fb2c7e44b282fe5e8a7d55a8f23a12101451104c6c639e2991fec34a2dff", + "role": "refinement_registry" + }, + "json_pointer": "/lanes/algebraic-interface-state-dae-transient-v1", + "identity_sha256": "b6d168c1dbeb3154613882de857ce49218f4e5fd5ff0e135b9479d2495188a0c", + "grid": { + "parameter": "intervals_per_electrical_layer", + "values": [ + 4, + 8, + 16 + ] + }, + "tolerance": { + "parameter": "backward_euler_time_step_factor", + "factors": [ + 1.0, + 0.5, + 0.25 + ] + }, + "observables": { + "structured_dense_terminal_interface_state_relative_difference": { + "comparison": "absolute_linf", + "limit": 1e-10, + "units": "1" + }, + "structured_dense_terminal_log_density_difference": { + "comparison": "absolute_linf", + "limit": 1e-10, + "units": "1" + }, + "structured_dense_terminal_potential_difference_V": { + "comparison": "absolute_linf", + "limit": 1e-12, + "units": "V" + }, + "terminal_interface_state_relative_error": { + "comparison": "absolute_linf", + "limit": 0.004, + "units": "1" + }, + "terminal_interface_occupation": { + "comparison": "pointwise_relative_linf", + "limit": 0.02, + "units": "1" + }, + "terminal_log_density_error": { + "comparison": "absolute_linf", + "limit": 0.004, + "units": "1" + }, + "terminal_potential_error_V": { + "comparison": "absolute_linf", + "limit": 5e-13, + "units": "V" + } + }, + "quality_gates": { + "algebraic_interface_topology_verified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "bulk_srh_denominator_positive": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "clamp_inactive_slice_verified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "consistent_initial_condition_certified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "dense_reference_success": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "max_electron_balance_defect_A_m2": { + "operator": "le", + "limit": 2e-08, + "units": "A m-2" + }, + "max_hole_balance_defect_A_m2": { + "operator": "le", + "limit": 2e-08, + "units": "A m-2" + }, + "max_interface_state_balance_A_m2": { + "operator": "le", + "limit": 2e-08, + "units": "A m-2" + }, + "max_normalized_algebraic_residual": { + "operator": "le", + "limit": 1e-08, + "units": "1" + }, + "max_normalized_carrier_residual": { + "operator": "le", + "limit": 5e-08, + "units": "1" + }, + "max_normalized_interface_residual": { + "operator": "le", + "limit": 1e-08, + "units": "1" + }, + "max_structured_dense_interface_state_relative_difference": { + "operator": "le", + "limit": 1e-10, + "units": "1" + }, + "max_structured_dense_log_density_difference": { + "operator": "le", + "limit": 1e-10, + "units": "1" + }, + "max_structured_dense_potential_difference_V": { + "operator": "le", + "limit": 1e-12, + "units": "V" + }, + "max_terminal_interface_state_relative_error": { + "operator": "le", + "limit": 0.005, + "units": "1" + }, + "max_terminal_log_density_error": { + "operator": "le", + "limit": 0.005, + "units": "1" + }, + "max_terminal_potential_error_V": { + "operator": "le", + "limit": 1e-10, + "units": "V" + }, + "mol_numerical_health_passed": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "mol_reference_success": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "structured_analytic_success": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "structured_csr_nonzeros_per_node": { + "operator": "le", + "limit": 20.0, + "units": "1" + }, + "structured_jacobian_condition_finite": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "structured_rhs_work_fraction": { + "operator": "le", + "limit": 0.1, + "units": "1" + }, + "terminal_densities_positive": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "terminal_interface_states_bounded": { + "operator": "eq", + "limit": 1.0, + "units": "1" + } + } + }, + { + "kind": "historical_result_catalog", + "key": "algebraic-interface-state-dae-transient-v1", + "manifest_pointer": "/capability_reconciliation/historical_refinement_results" + } + ], + "scope_limitations": [ + "This lane certifies only a dark 10 mV two-layer ohmic research slice with one uncharged algebraic interface and four DOS-bounded Fermi-Richardson states.", + "InterfaceDefect, cross-node carrier sampling, dynamic interface states, interface electrostatic charge, mobile ions, selective contacts, two-sided trace geometry, field mobility, photon recycling, and clamp-active operating points remain excluded.", + "The eliminated-interface-state MoL comparison and dense-versus-structured agreement are internal numerical evidence, not external solver validation, experimental validation, SCAPS parity, or a general interface-physics certificate." + ], + "qualification_gaps": [ + "Historical source/environment/config/protocol applicability needs requalification, not relabeling", + "Cell arrays and full certificate closure were not replayed in this inventory", + "Internal lane budgets are not general external SCAPS or 45-record HI limits" + ], + "new_source_qualified": false + }, + { + "capability_id": "lane-74c8fcdda1607b00", + "origin_key": "lane:bulk-energy-distributed-trap-equilibrium-v1", + "kind": "refinement_lane", + "config_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/csi_gaussian_bulk_trap_pn_research.yaml", + "sha256": "7e8bf1ab6669bd8088cd402ef73aca1cd75c9ae1755d3137faf6650569ac481b", + "role": "registered_input" + } + ], + "config_id": "config-a169223267f9bbf5", + "executor_id": "executor-8a07421a6eadde05", + "reference_inputs": [ + { + "kind": "registered_refinement_contract", + "source": { + "root": "repository", + "path": "perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "sha256": "b808fb2c7e44b282fe5e8a7d55a8f23a12101451104c6c639e2991fec34a2dff", + "role": "refinement_registry" + }, + "json_pointer": "/lanes/bulk-energy-distributed-trap-equilibrium-v1", + "identity_sha256": "9c536f1d63c0668e1cf35b27620f4559c6a963a807b646a93296cee7eb5f9064", + "grid": { + "parameter": "intervals_per_electrical_layer", + "values": [ + 40, + 80, + 160 + ] + }, + "tolerance": { + "parameter": "poisson_residual_tolerance_factor", + "factors": [ + 1.0, + 0.1, + 0.01 + ] + }, + "observables": { + "left_contact_trap_occupancy": { + "comparison": "absolute_linf", + "limit": 1e-12, + "units": "1" + }, + "normalized_integrated_bulk_trap_charge": { + "comparison": "absolute_linf", + "limit": 0.0005, + "units": "1" + }, + "peak_field_to_average_built_in_ratio": { + "comparison": "absolute_linf", + "limit": 0.05, + "units": "1" + }, + "right_contact_trap_occupancy": { + "comparison": "absolute_linf", + "limit": 1e-12, + "units": "1" + } + }, + "quality_gates": { + "bulk_trap_topology_verified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "contact_thermodynamics_certified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "default_production_path_rejected": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "energy_quadrature_orders_completed": { + "operator": "eq", + "limit": 3.0, + "units": "1" + }, + "max_energy_charge_relative_change": { + "operator": "le", + "limit": 0.005, + "units": "1" + }, + "max_energy_occupancy_relative_change": { + "operator": "le", + "limit": 0.005, + "units": "1" + }, + "max_energy_recombination_relative_change": { + "operator": "le", + "limit": 0.005, + "units": "1" + }, + "max_gauss_law_relative_error": { + "operator": "le", + "limit": 1e-07, + "units": "1" + }, + "max_mass_action_relative_error": { + "operator": "le", + "limit": 1e-12, + "units": "1" + }, + "max_normalized_poisson_residual": { + "operator": "le", + "limit": 1e-08, + "units": "1" + }, + "max_relative_face_current": { + "operator": "le", + "limit": 1e-12, + "units": "1" + }, + "maximum_newton_iterations": { + "operator": "le", + "limit": 25.0, + "units": "1" + }, + "minimum_absolute_integrated_bulk_trap_charge_C_m2": { + "operator": "ge", + "limit": 0.001, + "units": "C/m2" + }, + "terminal_densities_positive": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "trap_occupancy_bounded": { + "operator": "eq", + "limit": 1.0, + "units": "1" + } + } + }, + { + "kind": "historical_result_catalog", + "key": "bulk-energy-distributed-trap-equilibrium-v1", + "manifest_pointer": "/capability_reconciliation/historical_refinement_results" + } + ], + "scope_limitations": [ + "This lane certifies only a dark homogeneous Maxwell-Boltzmann silicon p/n equilibrium with one spatially uniform truncated-Gaussian acceptor-like trap distribution and fully ionized dopants.", + "Recombination, occupancy, and absolute bulk-trap charge share one frozen 16/32/64 energy quadrature; legacy SCAPS gaussian metadata and lifetime-only trap profiles remain parked and are not reinterpreted.", + "Bias, illumination, transient occupancy, Fermi-Dirac trap kinetics, amphoteric or multi-charge defects, heterojunctions, ions, selective contacts, field mobility, and every production experiment route remain excluded.", + "This is internal numerical evidence against mass action, Gauss law, and refinement gates, not external TCAD validation, experimental validation, or a materials-parameter claim." + ], + "qualification_gaps": [ + "Historical source/environment/config/protocol applicability needs requalification, not relabeling", + "Cell arrays and full certificate closure were not replayed in this inventory", + "Internal lane budgets are not general external SCAPS or 45-record HI limits" + ], + "new_source_qualified": false + }, + { + "capability_id": "lane-30c624efe3f8467f", + "origin_key": "lane:charged-explicit-defect-qf-dc-v1", + "kind": "refinement_lane", + "config_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/scaps_defect_s1_acceptor_n.yaml", + "sha256": "f49900b296a2bfb3c5a28d9135b24dcf8f0d6c409f105a70d4dd27100ebcb681", + "role": "registered_input" + } + ], + "config_id": "config-ec72e45346ce382c", + "executor_id": "executor-42fd06adb4f502af", + "reference_inputs": [ + { + "kind": "registered_refinement_contract", + "source": { + "root": "repository", + "path": "perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "sha256": "b808fb2c7e44b282fe5e8a7d55a8f23a12101451104c6c639e2991fec34a2dff", + "role": "refinement_registry" + }, + "json_pointer": "/lanes/charged-explicit-defect-qf-dc-v1", + "identity_sha256": "4edc8d238cc260b8a55c9a3317d28fd494a2e4c4e02e8007f0662209aef87695", + "grid": { + "parameter": "intervals_per_electrical_layer", + "values": [ + 32, + 64, + 128 + ] + }, + "tolerance": { + "parameter": "qf_dc_residual_tolerance_factor", + "factors": [ + 1.0, + 0.1, + 0.01 + ] + }, + "observables": { + "acceptor_normalized_charge_profile": { + "comparison": "absolute_linf", + "limit": 0.0005, + "units": "1" + }, + "acceptor_occupancy_profile": { + "comparison": "absolute_linf", + "limit": 0.0005, + "units": "1" + }, + "donor_normalized_charge_profile": { + "comparison": "absolute_linf", + "limit": 0.0005, + "units": "1" + }, + "donor_occupancy_profile": { + "comparison": "absolute_linf", + "limit": 0.0005, + "units": "1" + }, + "pn_dark_electron_log10_profile": { + "comparison": "absolute_linf", + "limit": 0.005, + "units": "log10(m-3)" + }, + "pn_dark_hole_log10_profile": { + "comparison": "absolute_linf", + "limit": 0.005, + "units": "log10(m-3)" + }, + "pn_dark_potential_V": { + "comparison": "absolute_linf", + "limit": 0.0005, + "units": "V" + }, + "pn_ff": { + "comparison": "relative_linf", + "limit": 0.005, + "units": "1" + }, + "pn_jsc_A_m2": { + "comparison": "relative_linf", + "limit": 0.002, + "units": "A m-2" + }, + "pn_jv_current_A_m2": { + "comparison": "relative_linf", + "limit": 0.005, + "units": "A m-2" + }, + "pn_voc_V": { + "comparison": "absolute_linf", + "limit": 0.001, + "units": "V" + }, + "s1_integrated_defect_charge_C_m2": { + "comparison": "relative_linf", + "limit": 0.001, + "units": "C m-2" + }, + "s2_integrated_defect_charge_C_m2": { + "comparison": "relative_linf", + "limit": 0.001, + "units": "C m-2" + } + }, + "quality_gates": { + "all_states_certified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "charged_model_hashes_verified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "charge_signs_verified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "contact_thermodynamics_certified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "default_charged_path_rejected": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "max_continuity_bound_A_m2": { + "operator": "le", + "limit": 0.0002, + "units": "A m-2" + }, + "max_current_spread_A_m2": { + "operator": "le", + "limit": 0.0002, + "units": "A m-2" + }, + "max_dark_current_A_m2": { + "operator": "le", + "limit": 1e-08, + "units": "A m-2" + }, + "max_dark_qf_span_V": { + "operator": "le", + "limit": 1e-10, + "units": "V" + }, + "max_mass_action_relative_error": { + "operator": "le", + "limit": 1e-10, + "units": "1" + }, + "max_normalized_cell_residual": { + "operator": "le", + "limit": 1e-07, + "units": "1" + }, + "max_poisson_residual": { + "operator": "le", + "limit": 1e-08, + "units": "1" + }, + "minimum_absolute_defect_charge_C_m3": { + "operator": "ge", + "limit": 100.0, + "units": "C m-3" + }, + "minimum_kinetic_denominator_s1": { + "operator": "ge", + "limit": 1.0, + "units": "s-1" + }, + "minimum_short_circuit_current_A_m2": { + "operator": "ge", + "limit": 1.0, + "units": "A m-2" + }, + "monovalent_topology_verified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "neutral_lifetime_bit_identical": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "occupancy_bounded_without_clipping": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "scenario_count": { + "operator": "eq", + "limit": 3.0, + "units": "1" + }, + "terminal_densities_positive": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "voc_bracketed": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "voltage_points_completed": { + "operator": "eq", + "limit": 7.0, + "units": "1" + } + } + }, + { + "kind": "historical_result_catalog", + "key": "charged-explicit-defect-qf-dc-v1", + "manifest_pointer": "/capability_reconciliation/historical_refinement_results" + } + ], + "scope_limitations": [ + "This lane certifies only the frozen S0 neutral, S1 acceptor/n-type, S2 donor/p-type single-level Maxwell-Boltzmann slabs and an internal S2-p/S1-n illuminated homojunction under the public opt-in QF/DC charged-defect closure.", + "The 3x3 matrix covers spatial and nonlinear-tolerance refinement, shared occupancy/recombination/Poisson/contact model identity, dark equilibrium, and a seven-point illuminated J-V; it excludes ions, interface defects, energy distributions, metastability, AC, transient defect occupancy, tunnelling, and Fermi-Dirac carrier statistics.", + "The S0-S2 suite manifest defines a fail-closed external SCAPS export contract, but this lane contains SolarLab internal numerical evidence only. It is not SCAPS parity, experimental validation, or a materials-parameter claim." + ], + "qualification_gaps": [ + "Historical source/environment/config/protocol applicability needs requalification, not relabeling", + "Cell arrays and full certificate closure were not replayed in this inventory", + "Internal lane budgets are not general external SCAPS or 45-record HI limits" + ], + "new_source_qualified": false + }, + { + "capability_id": "lane-d0db2268d3d111e7", + "origin_key": "lane:cigs-graded-optics-v1", + "kind": "refinement_lane", + "config_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/cigs_graded_optics.yaml", + "sha256": "9539deb2d0883838c9dac42dd95aae41eafb109e9d83205c3273fbd8df0e0fbd", + "role": "registered_input" + } + ], + "config_id": "config-b20df488cea4c952", + "executor_id": "executor-c898e6d7a21c6561", + "reference_inputs": [ + { + "kind": "registered_refinement_contract", + "source": { + "root": "repository", + "path": "perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "sha256": "b808fb2c7e44b282fe5e8a7d55a8f23a12101451104c6c639e2991fec34a2dff", + "role": "refinement_registry" + }, + "json_pointer": "/lanes/cigs-graded-optics-v1", + "identity_sha256": "67eaec727a735d2b63f0d7cc8d91d1aa270e191ce96b2b35f8eef3db2d92676d", + "grid": { + "parameter": "cigs_optical_slices", + "values": [ + 8, + 16, + 32 + ] + }, + "tolerance": { + "parameter": "inverse_kk_quadrature_order_factor", + "factors": [ + 1.0, + 0.5, + 0.25 + ] + }, + "observables": { + "absorbed_photon_flux_m2_s": { + "comparison": "relative_linf", + "limit": 0.001, + "units": "m-2 s-1" + }, + "generation_centroid_fraction": { + "comparison": "absolute_linf", + "limit": 0.001, + "units": "1" + }, + "mean_spectral_reflectance": { + "comparison": "absolute_linf", + "limit": 0.001, + "units": "1" + }, + "normalized_generation_profile": { + "comparison": "absolute_linf", + "limit": 0.005, + "units": "1" + } + }, + "quality_gates": { + "causal_nk_verified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "cigs_optical_topology_verified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "default_gate_off_inert": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "independent_carron_energy_points_completed": { + "operator": "eq", + "limit": 453.0, + "units": "1" + }, + "max_carron_composition_median_relative_error": { + "operator": "le", + "limit": 0.08, + "units": "1" + }, + "max_minoura_to_carron_ratio": { + "operator": "le", + "limit": 1.15, + "units": "1" + }, + "max_electrical_optical_gap_mismatch_eV": { + "operator": "le", + "limit": 0.01, + "units": "eV" + }, + "max_photon_budget_excess_fraction": { + "operator": "le", + "limit": 1e-12, + "units": "1" + }, + "max_reflectance_bound_violation": { + "operator": "le", + "limit": 1e-12, + "units": "1" + }, + "max_uniform_composition_reflectance_difference": { + "operator": "le", + "limit": 1e-12, + "units": "1" + }, + "min_minoura_to_carron_ratio": { + "operator": "ge", + "limit": 0.6, + "units": "1" + }, + "positive_absorbed_photon_flux": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "shared_composition_coordinate_verified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + } + } + }, + { + "kind": "historical_result_catalog", + "key": "cigs-graded-optics-v1", + "manifest_pointer": "/capability_reconciliation/historical_refinement_results" + } + ], + "scope_limitations": [ + "This lane certifies only the composition-resolved CIGS absorber optics in the frozen research preset; ZnO and CdS retain nominal scalar optical fallbacks.", + "Minoura n,k and the independent Carron alpha expression are literature models, not a measurement of this synthetic device or an external SCAPS/Setfos device reproduction.", + "The lane covers build-once AM1.5G generation, optical-slice and Kramers-Kronig refinement, causality, photon budget, uniform composition, and optical/electrical endpoint consistency; it does not solve transport or certify PCE optimization." + ], + "qualification_gaps": [ + "Historical source/environment/config/protocol applicability needs requalification, not relabeling", + "Cell arrays and full certificate closure were not replayed in this inventory", + "Internal lane budgets are not general external SCAPS or 45-record HI limits" + ], + "new_source_qualified": false + }, + { + "capability_id": "lane-1c11f3ec305c3631", + "origin_key": "lane:csi-qf-frequency-domain", + "kind": "refinement_lane", + "config_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/cSi_homojunction.yaml", + "sha256": "c179e087a6623c7d19dfc7f6a3af056e6fcd5a0382e2e2b0e1e26dc08d883c99", + "role": "registered_input" + } + ], + "config_id": "config-1b8adfa16822fda1", + "executor_id": "executor-b9be739a8a141120", + "reference_inputs": [ + { + "kind": "registered_refinement_contract", + "source": { + "root": "repository", + "path": "perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "sha256": "b808fb2c7e44b282fe5e8a7d55a8f23a12101451104c6c639e2991fec34a2dff", + "role": "refinement_registry" + }, + "json_pointer": "/lanes/csi-qf-frequency-domain", + "identity_sha256": "ba50a5902852b067bc7cdd85ed881181753e6b2724b6d69b552e48d61ebc68ed", + "grid": { + "parameter": "N_grid", + "values": [ + 100, + 200, + 300 + ] + }, + "tolerance": { + "parameter": "finite_difference_step_factor", + "factors": [ + 1.0, + 0.5, + 0.25 + ] + }, + "observables": { + "cv_curve_F_m2": { + "comparison": "relative_linf", + "limit": 0.005, + "units": "F m-2" + }, + "mott_intercept_V": { + "comparison": "absolute_linf", + "limit": 0.002, + "units": "V" + }, + "effective_doping_m3": { + "comparison": "relative_linf", + "limit": 0.01, + "units": "m-3" + } + }, + "quality_gates": { + "max_relative_face_spread": { + "operator": "le", + "limit": 0.0005, + "units": "1" + }, + "max_backward_error": { + "operator": "le", + "limit": 1e-10, + "units": "1" + }, + "dc_residual_certified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + } + } + }, + { + "kind": "historical_result_catalog", + "key": "csi-qf-frequency-domain", + "manifest_pointer": "/capability_reconciliation/historical_refinement_results" + } + ], + "scope_limitations": [ + "N_grid=100 intentionally probes below the configured c-Si grid guard and remains fail-closed evidence.", + "This minimum-roadmap lane is not eligible for promotion when any cell fails; use the separately versioned resolved lane for a positive certificate.", + "This is an internal QF small-signal lane, not an external C-V comparison." + ], + "qualification_gaps": [ + "Historical source/environment/config/protocol applicability needs requalification, not relabeling", + "Cell arrays and full certificate closure were not replayed in this inventory", + "Internal lane budgets are not general external SCAPS or 45-record HI limits" + ], + "new_source_qualified": false + }, + { + "capability_id": "lane-1f48a67f12b83f3b", + "origin_key": "lane:csi-qf-frequency-domain-resolved-v2", + "kind": "refinement_lane", + "config_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/cSi_homojunction.yaml", + "sha256": "c179e087a6623c7d19dfc7f6a3af056e6fcd5a0382e2e2b0e1e26dc08d883c99", + "role": "registered_input" + } + ], + "config_id": "config-1b8adfa16822fda1", + "executor_id": "executor-b9be739a8a141120", + "reference_inputs": [ + { + "kind": "registered_refinement_contract", + "source": { + "root": "repository", + "path": "perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "sha256": "b808fb2c7e44b282fe5e8a7d55a8f23a12101451104c6c639e2991fec34a2dff", + "role": "refinement_registry" + }, + "json_pointer": "/lanes/csi-qf-frequency-domain-resolved-v2", + "identity_sha256": "fd8169368debf5f04a618e0d0ef6a380d7a8815e4e3b9c2fcd4e4a410322fd16", + "grid": { + "parameter": "N_grid", + "values": [ + 200, + 300, + 400 + ] + }, + "tolerance": { + "parameter": "finite_difference_step_factor", + "factors": [ + 1.0, + 0.5, + 0.25 + ] + }, + "observables": { + "cv_curve_F_m2": { + "comparison": "relative_linf", + "limit": 0.005, + "units": "F m-2" + }, + "mott_intercept_V": { + "comparison": "absolute_linf", + "limit": 0.002, + "units": "V" + }, + "effective_doping_m3": { + "comparison": "relative_linf", + "limit": 0.01, + "units": "m-3" + } + }, + "quality_gates": { + "max_relative_face_spread": { + "operator": "le", + "limit": 0.0005, + "units": "1" + }, + "max_backward_error": { + "operator": "le", + "limit": 1e-10, + "units": "1" + }, + "dc_residual_certified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + } + } + }, + { + "kind": "historical_result_catalog", + "key": "csi-qf-frequency-domain-resolved-v2", + "manifest_pointer": "/capability_reconciliation/historical_refinement_results" + } + ], + "scope_limitations": [ + "This versioned lane starts at the configured c-Si minimum grid and does not erase the N_grid=100 fail-close evidence.", + "Its certificate is internal QF small-signal convergence, not an external C-V validation or an independent contact-barrier measurement." + ], + "qualification_gaps": [ + "Historical source/environment/config/protocol applicability needs requalification, not relabeling", + "Cell arrays and full certificate closure were not replayed in this inventory", + "Internal lane budgets are not general external SCAPS or 45-record HI limits" + ], + "new_source_qualified": false + }, + { + "capability_id": "lane-1dfc4e4b19df86e8", + "origin_key": "lane:degenerate-pn-equilibrium-v1", + "kind": "refinement_lane", + "config_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/csi_degenerate_pn_research.yaml", + "sha256": "6d707f97bc1632521b5176f55d6e004cc171636e0264e85aa4f20eadafe2dfcb", + "role": "registered_input" + } + ], + "config_id": "config-a70e9dce4d20e4a2", + "executor_id": "executor-2daf567fb4cbef33", + "reference_inputs": [ + { + "kind": "registered_refinement_contract", + "source": { + "root": "repository", + "path": "perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "sha256": "b808fb2c7e44b282fe5e8a7d55a8f23a12101451104c6c639e2991fec34a2dff", + "role": "refinement_registry" + }, + "json_pointer": "/lanes/degenerate-pn-equilibrium-v1", + "identity_sha256": "bdebb925d597280fee0811da925d2dd0139141d3d5e45e17b7ad67bd4c808c5f", + "grid": { + "parameter": "intervals_per_electrical_layer", + "values": [ + 40, + 80, + 160 + ] + }, + "tolerance": { + "parameter": "poisson_residual_tolerance_factor", + "factors": [ + 1.0, + 0.1, + 0.01 + ] + }, + "observables": { + "depletion_width_to_analytic_ratio": { + "comparison": "absolute_linf", + "limit": 0.002, + "units": "1" + }, + "peak_field_to_analytic_ratio": { + "comparison": "absolute_linf", + "limit": 0.004, + "units": "1" + }, + "space_charge_balance_relative_error": { + "comparison": "absolute_linf", + "limit": 0.01, + "units": "1" + } + }, + "quality_gates": { + "contact_thermodynamics_certified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "fd_recombination_off_topology_verified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "max_depletion_approximation_relative_error": { + "operator": "le", + "limit": 0.05, + "units": "1" + }, + "max_normalized_carrier_rate": { + "operator": "le", + "limit": 1e-12, + "units": "1" + }, + "max_normalized_poisson_residual": { + "operator": "le", + "limit": 1e-08, + "units": "1" + }, + "max_peak_field_approximation_relative_error": { + "operator": "le", + "limit": 0.05, + "units": "1" + }, + "max_relative_face_current": { + "operator": "le", + "limit": 1e-12, + "units": "1" + }, + "max_space_charge_balance_relative_error": { + "operator": "le", + "limit": 0.02, + "units": "1" + }, + "newton_iterations": { + "operator": "le", + "limit": 20.0, + "units": "1" + }, + "terminal_densities_positive": { + "operator": "eq", + "limit": 1.0, + "units": "1" + } + } + }, + { + "kind": "historical_result_catalog", + "key": "degenerate-pn-equilibrium-v1", + "manifest_pointer": "/capability_reconciliation/historical_refinement_results" + } + ], + "scope_limitations": [ + "This lane certifies only a symmetric, dark, fully-ionized, homogeneous silicon p+/n+ equilibrium with Fermi-Dirac charge and generalized Scharfetter-Gummel transport.", + "Bulk recombination is explicitly disabled because the repository's historical np-ni^2 laws are Maxwell-Boltzmann closures; illumination, bias, heterojunctions, spatial doping profiles, ions, selective contacts, field mobility, and interface states remain excluded.", + "The abrupt depletion approximation is an internal analytic quality oracle. This is not external Sentaurus or PC1D validation, experimental validation, or a production J-V/C-V/impedance certificate." + ], + "qualification_gaps": [ + "Historical source/environment/config/protocol applicability needs requalification, not relabeling", + "Cell arrays and full certificate closure were not replayed in this inventory", + "Internal lane budgets are not general external SCAPS or 45-record HI limits" + ], + "new_source_qualified": false + }, + { + "capability_id": "lane-b7e62a98398228f0", + "origin_key": "lane:distributed-explicit-defect-qf-dc-v1", + "kind": "refinement_lane", + "config_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/distributed_defect_qf_dc_pn.yaml", + "sha256": "7a6b1c16d8ea313177e3a761660bd6b7bbb546b14aa23189f91a9187ff0904f8", + "role": "registered_input" + } + ], + "config_id": "config-f797930f7afd3a9f", + "executor_id": "executor-a16d164eb8c3f07e", + "reference_inputs": [ + { + "kind": "registered_refinement_contract", + "source": { + "root": "repository", + "path": "perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "sha256": "b808fb2c7e44b282fe5e8a7d55a8f23a12101451104c6c639e2991fec34a2dff", + "role": "refinement_registry" + }, + "json_pointer": "/lanes/distributed-explicit-defect-qf-dc-v1", + "identity_sha256": "212ceba4c95339803cb7ac51b1497cdcba39cb01d5bf05d603151bd0b2e7c05e", + "grid": { + "parameter": "intervals_per_electrical_layer", + "values": [ + 16, + 32, + 64 + ] + }, + "tolerance": { + "parameter": "qf_dc_residual_tolerance_factor", + "factors": [ + 1.0, + 0.1, + 0.01 + ] + }, + "observables": { + "built_in_potential_V": { + "comparison": "absolute_linf", + "limit": 0.0001, + "units": "V" + }, + "contact_reservoir_log10_m3": { + "comparison": "absolute_linf", + "limit": 0.005, + "units": "log10(m-3)" + }, + "dark_electron_log10_profile": { + "comparison": "absolute_linf", + "limit": 0.01, + "units": "log10(m-3)" + }, + "dark_hole_log10_profile": { + "comparison": "absolute_linf", + "limit": 0.01, + "units": "log10(m-3)" + }, + "dark_potential_V": { + "comparison": "absolute_linf", + "limit": 0.0005, + "units": "V" + }, + "dark_source_normalized_charge_profile": { + "comparison": "absolute_linf", + "limit": 0.005, + "units": "1" + }, + "dark_source_occupancy_profile": { + "comparison": "absolute_linf", + "limit": 0.005, + "units": "1" + }, + "integrated_source_charge_C_m2": { + "comparison": "relative_linf", + "limit": 0.005, + "units": "C m-2" + }, + "jv_current_A_m2": { + "comparison": "relative_linf", + "limit": 0.002, + "units": "A m-2" + }, + "short_circuit_current_A_m2": { + "comparison": "relative_linf", + "limit": 0.002, + "units": "A m-2" + } + }, + "quality_gates": { + "all_states_certified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "contact_thermodynamics_certified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "default_distributed_path_rejected": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "distributed_energy_metadata_verified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "distributed_model_hashes_verified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "distributed_topology_verified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "energy_orders_completed": { + "operator": "eq", + "limit": 3.0, + "units": "1" + }, + "max_contact_fermi_level_span_eV": { + "operator": "le", + "limit": 1e-10, + "units": "eV" + }, + "max_continuity_bound_A_m2": { + "operator": "le", + "limit": 0.0002, + "units": "A m-2" + }, + "max_current_spread_A_m2": { + "operator": "le", + "limit": 0.0002, + "units": "A m-2" + }, + "max_dark_current_A_m2": { + "operator": "le", + "limit": 1e-06, + "units": "A m-2" + }, + "max_dark_qf_span_V": { + "operator": "le", + "limit": 1e-10, + "units": "V" + }, + "max_dark_recombination_rate_m3_s": { + "operator": "le", + "limit": "1.0e12", + "units": "m-3 s-1" + }, + "max_energy_contact_log10_change": { + "operator": "le", + "limit": 0.005, + "units": "log10(m-3)" + }, + "max_energy_current_relative_change": { + "operator": "le", + "limit": 0.005, + "units": "1" + }, + "max_energy_normalized_charge_change": { + "operator": "le", + "limit": 0.005, + "units": "1" + }, + "max_energy_occupancy_absolute_change": { + "operator": "le", + "limit": 0.005, + "units": "1" + }, + "max_energy_potential_change_V": { + "operator": "le", + "limit": 0.0005, + "units": "V" + }, + "max_energy_recombination_relative_change": { + "operator": "le", + "limit": 0.005, + "units": "1" + }, + "max_energy_tangent_relative_change": { + "operator": "le", + "limit": 0.005, + "units": "1" + }, + "max_mass_action_relative_error": { + "operator": "le", + "limit": 1e-10, + "units": "1" + }, + "max_normalized_cell_residual": { + "operator": "le", + "limit": 1e-07, + "units": "1" + }, + "max_poisson_residual": { + "operator": "le", + "limit": 1e-08, + "units": "1" + }, + "minimum_kinetic_denominator_s1": { + "operator": "ge", + "limit": 1.0, + "units": "s-1" + }, + "occupancy_bounded_without_clipping": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "source_species_count": { + "operator": "eq", + "limit": 4.0, + "units": "1" + }, + "terminal_densities_positive": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "voltage_points_completed": { + "operator": "eq", + "limit": 3.0, + "units": "1" + } + } + }, + { + "kind": "historical_result_catalog", + "key": "distributed-explicit-defect-qf-dc-v1", + "manifest_pointer": "/capability_reconciliation/historical_refinement_results" + } + ], + "scope_limitations": [ + { + "This lane certifies a frozen uniform two-layer p/n Maxwell-Boltzmann device with four source species": "VB-tail donor, uniform neutral, Gaussian acceptor, and CB-tail neutral." + }, + "Every outer spatial-grid and nonlinear-tolerance cell executes an inner 16/32/64 energy-order ladder. Contact neutrality, built-in potential, Poisson charge, continuity recombination, analytic tangent, diagnostics, and three-point illuminated J-V share the same order in each run.", + "Mobile ions, interfaces, selective contacts, field mobility, spatial grading, dynamic occupancy, Fermi-Dirac statistics, AC, transient defects, tunnelling, and multivalent defects remain excluded.", + "This is internal SolarLab convergence evidence, not external SCAPS parity, experimental validation, or unique microscopic parameter identification." + ], + "qualification_gaps": [ + "Historical source/environment/config/protocol applicability needs requalification, not relabeling", + "Cell arrays and full certificate closure were not replayed in this inventory", + "Internal lane budgets are not general external SCAPS or 45-record HI limits" + ], + "new_source_qualified": false + }, + { + "capability_id": "lane-6c70228c5f2817ea", + "origin_key": "lane:dual-mobile-ion-dae-transient-v1", + "kind": "refinement_lane", + "config_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/ionmonger_benchmark.yaml", + "sha256": "fbc82c9b85d121c459ab08d07d1c7f886eef36f4db669d354b79d260f43c8750", + "role": "registered_input" + } + ], + "config_id": "config-859da6c860403b26", + "executor_id": "executor-6a64ad98ab180d90", + "reference_inputs": [ + { + "kind": "registered_refinement_contract", + "source": { + "root": "repository", + "path": "perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "sha256": "b808fb2c7e44b282fe5e8a7d55a8f23a12101451104c6c639e2991fec34a2dff", + "role": "refinement_registry" + }, + "json_pointer": "/lanes/dual-mobile-ion-dae-transient-v1", + "identity_sha256": "e93dac1f59ce52c3fd6f2d1571248459076fd29a5f8f99fb6f10d29fb13d0bb0", + "grid": { + "parameter": "single_layer_intervals", + "values": [ + 8, + 16, + 32 + ] + }, + "tolerance": { + "parameter": "backward_euler_time_step_factor", + "factors": [ + 1.0, + 0.5, + 0.25 + ] + }, + "observables": { + "structured_dense_terminal_log_density_difference": { + "comparison": "absolute_linf", + "limit": 1e-10, + "units": "1" + }, + "structured_dense_terminal_positive_ion_relative_difference": { + "comparison": "absolute_linf", + "limit": 1e-12, + "units": "1" + }, + "structured_dense_terminal_negative_ion_relative_difference": { + "comparison": "absolute_linf", + "limit": 1e-12, + "units": "1" + }, + "structured_dense_terminal_potential_difference_V": { + "comparison": "absolute_linf", + "limit": 1e-12, + "units": "V" + }, + "terminal_log_density_error": { + "comparison": "absolute_linf", + "limit": 1e-08, + "units": "1" + }, + "terminal_positive_ion_relative_error": { + "comparison": "absolute_linf", + "limit": 1.2e-10, + "units": "1" + }, + "terminal_negative_ion_relative_error": { + "comparison": "absolute_linf", + "limit": 1.2e-10, + "units": "1" + }, + "terminal_potential_error_V": { + "comparison": "absolute_linf", + "limit": 5e-10, + "units": "V" + } + }, + "quality_gates": { + "bulk_srh_denominator_positive": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "consistent_initial_condition_certified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "dense_reference_success": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "dual_ion_topology_verified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "max_electron_balance_defect_A_m2": { + "operator": "le", + "limit": 2e-08, + "units": "A m-2" + }, + "max_hole_balance_defect_A_m2": { + "operator": "le", + "limit": 2e-08, + "units": "A m-2" + }, + "max_negative_ion_balance_relative": { + "operator": "le", + "limit": 1e-12, + "units": "1" + }, + "max_negative_ion_inventory_relative_drift": { + "operator": "le", + "limit": 1e-12, + "units": "1" + }, + "max_negative_ion_rhs_inventory_relative": { + "operator": "le", + "limit": 1e-12, + "units": "1" + }, + "max_normalized_algebraic_residual": { + "operator": "le", + "limit": 1e-09, + "units": "1" + }, + "max_normalized_carrier_residual": { + "operator": "le", + "limit": 1e-09, + "units": "1" + }, + "max_normalized_negative_ion_residual": { + "operator": "le", + "limit": 1e-09, + "units": "1" + }, + "max_normalized_positive_ion_residual": { + "operator": "le", + "limit": 1e-09, + "units": "1" + }, + "max_positive_ion_balance_relative": { + "operator": "le", + "limit": 1e-12, + "units": "1" + }, + "max_positive_ion_inventory_relative_drift": { + "operator": "le", + "limit": 1e-12, + "units": "1" + }, + "max_positive_ion_rhs_inventory_relative": { + "operator": "le", + "limit": 1e-12, + "units": "1" + }, + "max_structured_dense_log_density_difference": { + "operator": "le", + "limit": 1e-10, + "units": "1" + }, + "max_structured_dense_negative_ion_relative_difference": { + "operator": "le", + "limit": 1e-12, + "units": "1" + }, + "max_structured_dense_positive_ion_relative_difference": { + "operator": "le", + "limit": 1e-12, + "units": "1" + }, + "max_structured_dense_potential_difference_V": { + "operator": "le", + "limit": 1e-12, + "units": "V" + }, + "max_terminal_log_density_error": { + "operator": "le", + "limit": 6e-08, + "units": "1" + }, + "max_terminal_negative_ion_relative_error": { + "operator": "le", + "limit": 3e-10, + "units": "1" + }, + "max_terminal_positive_ion_relative_error": { + "operator": "le", + "limit": 6e-10, + "units": "1" + }, + "max_terminal_potential_error_V": { + "operator": "le", + "limit": 1e-09, + "units": "V" + }, + "minimum_negative_ion_relative_motion": { + "operator": "ge", + "limit": 1e-07, + "units": "1" + }, + "minimum_positive_ion_relative_motion": { + "operator": "ge", + "limit": 1e-06, + "units": "1" + }, + "minimum_shared_site_vacancy_fraction": { + "operator": "ge", + "limit": 0.95, + "units": "1" + }, + "mol_numerical_health_passed": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "mol_reference_success": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "site_occupancy_admissible": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "structured_analytic_success": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "structured_csr_nonzeros_per_node": { + "operator": "le", + "limit": 40.0, + "units": "1" + }, + "structured_jacobian_condition_finite": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "structured_rhs_work_fraction": { + "operator": "le", + "limit": 0.1, + "units": "1" + }, + "terminal_densities_positive": { + "operator": "eq", + "limit": 1.0, + "units": "1" + } + } + }, + { + "kind": "historical_result_catalog", + "key": "dual-mobile-ion-dae-transient-v1", + "manifest_pointer": "/capability_reconciliation/historical_refinement_results" + } + ], + "scope_limitations": [ + "This lane certifies only the dark, 10 mV, single-layer ohmic, shared-site dual-mobile-ion blocking-boundary research DAE slice derived from the IonMonger absorber.", + "The negative-ion parameters are synthetic protocol inputs, not values claimed by the source IonMonger publication; the result is internal numerical equivalence rather than external solver or device validation.", + "Selective contacts, InterfaceDefect, cross-node interface sampling, algebraic interface states, experiment routes, and backend routes remain excluded." + ], + "qualification_gaps": [ + "Historical source/environment/config/protocol applicability needs requalification, not relabeling", + "Cell arrays and full certificate closure were not replayed in this inventory", + "Internal lane budgets are not general external SCAPS or 45-record HI limits" + ], + "new_source_qualified": false + }, + { + "capability_id": "lane-5ff1ae9d34dfa46d", + "origin_key": "lane:dynamic-defect-ion-impedance-production-v1", + "kind": "refinement_lane", + "config_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/dynamic_defect_ion_impedance.yaml", + "sha256": "0b7424e4170d7d3792f40f97361edee3a881a04a39ad3a549fb7de621798422a", + "role": "registered_input" + } + ], + "config_id": "config-e067749541584fae", + "executor_id": "executor-7b828a158ee65d45", + "reference_inputs": [ + { + "kind": "registered_refinement_contract", + "source": { + "root": "repository", + "path": "perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "sha256": "b808fb2c7e44b282fe5e8a7d55a8f23a12101451104c6c639e2991fec34a2dff", + "role": "refinement_registry" + }, + "json_pointer": "/lanes/dynamic-defect-ion-impedance-production-v1", + "identity_sha256": "b8919a4cdab6349be31dd77d2114ef43c5868dc10209e07ad337dd4138ccd999", + "grid": { + "parameter": "N_grid", + "values": [ + 8, + 12, + 16 + ] + }, + "tolerance": { + "parameter": "finite_difference_step_factor", + "factors": [ + 1.0, + 0.5, + 0.25 + ] + }, + "observables": { + "impedance_magnitude_ohm_m2": { + "comparison": "pointwise_relative_linf", + "limit": 0.02, + "units": "ohm m2" + }, + "impedance_phase_deg": { + "comparison": "absolute_linf", + "limit": 1.0, + "units": "deg" + }, + "normalized_bulk_trap_storage": { + "comparison": "absolute_linf", + "limit": 0.02, + "units": "1" + }, + "positive_ion_inventory_storage_F_m2": { + "comparison": "absolute_linf", + "limit": 1e-12, + "units": "F m-2" + } + }, + "quality_gates": { + "contact_thermodynamics_certified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "dc_operating_point_certified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "dynamic_defect_certificate_verified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "frequency_window_certified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "max_all_face_admittance_spread": { + "operator": "le", + "limit": 0.0005, + "units": "1" + }, + "max_bulk_trap_balance_relative_error": { + "operator": "le", + "limit": 0.001, + "units": "1" + }, + "max_current_decomposition_relative_error": { + "operator": "le", + "limit": 1e-07, + "units": "1" + }, + "max_frequency_interpolation_relative_error": { + "operator": "le", + "limit": 0.01, + "units": "1" + }, + "max_ion_inventory_response_relative": { + "operator": "le", + "limit": 1e-08, + "units": "1" + }, + "max_limit_relative_error": { + "operator": "le", + "limit": 0.03, + "units": "1" + }, + "max_linear_solve_backward_error": { + "operator": "le", + "limit": 1e-10, + "units": "1" + }, + "max_qss_embedding_error": { + "operator": "le", + "limit": 1e-08, + "units": "1" + }, + "max_refinement_relative_change": { + "operator": "le", + "limit": 0.002, + "units": "1" + }, + "numerically_certified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "protocol_identity_verified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + } + } + }, + { + "kind": "historical_result_catalog", + "key": "dynamic-defect-ion-impedance-production-v1", + "manifest_pointer": "/capability_reconciliation/historical_refinement_results" + } + ], + "scope_limitations": [ + "This lane certifies the production dynamic-defect method on one synthetic single-level acceptor plus positive-ion slab; bulk-only and two-sided interface branches remain covered by their dedicated adapter and public-dispatch integration tests.", + "Each cell executes the full production certificate and also compares the retained 145-point response with its nested 73-point log-frequency sub-grid for impedance and trap-storage interpolation error; conserved ionic inventory storage is checked against an absolute SI floor instead of normalizing near-zero noise.", + "This is internal grid, finite-difference, and frequency-sampling convergence evidence, not external SCAPS parity, measured impedance validation, or unique defect-parameter identification." + ], + "qualification_gaps": [ + "Historical source/environment/config/protocol applicability needs requalification, not relabeling", + "Cell arrays and full certificate closure were not replayed in this inventory", + "Internal lane budgets are not general external SCAPS or 45-record HI limits" + ], + "new_source_qualified": false + }, + { + "capability_id": "lane-def3952fd4d218a3", + "origin_key": "lane:dynamic-defect-ion-transient-production-v1", + "kind": "refinement_lane", + "config_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/dynamic_interface_defect_ion_transient_absorber_only.yaml", + "sha256": "f617f230b2d9c144573394e38fcc313225dc84c7b38f7670b97e9a0a7cc12a24", + "role": "registered_input" + } + ], + "config_id": "config-6a5cafb2f67eb805", + "executor_id": "executor-5082ef6e08643764", + "reference_inputs": [ + { + "kind": "registered_refinement_contract", + "source": { + "root": "repository", + "path": "perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "sha256": "b808fb2c7e44b282fe5e8a7d55a8f23a12101451104c6c639e2991fec34a2dff", + "role": "refinement_registry" + }, + "json_pointer": "/lanes/dynamic-defect-ion-transient-production-v1", + "identity_sha256": "f1541db33fa674753814fca3f3f4e0559ea9c834d1fe8b3b568c72cd63166d3c", + "grid": { + "parameter": "intervals_per_layer", + "values": [ + 4, + 6, + 8 + ] + }, + "tolerance": { + "parameter": "backward_euler_time_step_factor", + "factors": [ + 1.0, + 0.5, + 0.25 + ] + }, + "observables": { + "combined_interface_occupancy_change": { + "comparison": "absolute_linf", + "limit": 1e-08, + "units": "1" + }, + "combined_positive_ion_centroid_shift_m": { + "comparison": "absolute_linf", + "limit": 5e-11, + "units": "m" + }, + "combined_left_terminal_current_A_m2": { + "comparison": "absolute_linf", + "limit": 1e-05, + "units": "A m-2" + }, + "combined_integrated_charge_change_C_m2": { + "comparison": "absolute_linf", + "limit": 1e-09, + "units": "C m-2" + }, + "defect_dominated_interface_occupancy_change": { + "comparison": "absolute_linf", + "limit": 1e-08, + "units": "1" + }, + "defect_dominated_positive_ion_centroid_shift_m": { + "comparison": "absolute_linf", + "limit": 5e-11, + "units": "m" + }, + "defect_dominated_left_terminal_current_A_m2": { + "comparison": "absolute_linf", + "limit": 1e-05, + "units": "A m-2" + }, + "defect_dominated_integrated_charge_change_C_m2": { + "comparison": "absolute_linf", + "limit": 1e-09, + "units": "C m-2" + }, + "ion_dominated_interface_occupancy_change": { + "comparison": "absolute_linf", + "limit": 1e-08, + "units": "1" + }, + "ion_dominated_positive_ion_centroid_shift_m": { + "comparison": "absolute_linf", + "limit": 5e-11, + "units": "m" + }, + "ion_dominated_left_terminal_current_A_m2": { + "comparison": "absolute_linf", + "limit": 1e-05, + "units": "A m-2" + }, + "ion_dominated_integrated_charge_change_C_m2": { + "comparison": "absolute_linf", + "limit": 1e-09, + "units": "C m-2" + } + }, + "quality_gates": { + "all_cases_certified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "analytic_sparse_jacobian_verified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "case_count": { + "operator": "eq", + "limit": 3.0, + "units": "1" + }, + "clipping_used": { + "operator": "eq", + "limit": 0.0, + "units": "1" + }, + "combined_interface_occupancy_motion": { + "operator": "ge", + "limit": 1e-09, + "units": "1" + }, + "combined_positive_ion_motion": { + "operator": "ge", + "limit": 1e-05, + "units": "1" + }, + "defect_dominated_interface_occupancy_motion": { + "operator": "ge", + "limit": 1e-09, + "units": "1" + }, + "defect_dominated_positive_ion_motion": { + "operator": "le", + "limit": 1e-07, + "units": "1" + }, + "fast_ion_failure_is_declared_nonlinear_stall": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "fast_ion_failure_iteration_reported": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "fast_ion_failure_iteration_within_policy": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "fast_ion_failure_residual_above_acceptance": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "fast_ion_stiffness_failed_closed": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "fast_ion_stiffness_failure_typed": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "ion_dominated_interface_occupancy_motion": { + "operator": "le", + "limit": 1e-12, + "units": "1" + }, + "ion_dominated_positive_ion_motion": { + "operator": "ge", + "limit": 1e-05, + "units": "1" + }, + "max_all_face_current_spread_relative": { + "operator": "le", + "limit": 2e-06, + "units": "1" + }, + "max_analytic_jacobian_column_relative_error": { + "operator": "le", + "limit": 0.0003, + "units": "1" + }, + "max_charge_balance_relative_error": { + "operator": "le", + "limit": 1e-10, + "units": "1" + }, + "max_current_decomposition_relative_error": { + "operator": "le", + "limit": 1e-14, + "units": "1" + }, + "max_eliminated_operator_relative_error": { + "operator": "le", + "limit": 1e-06, + "units": "1" + }, + "max_interface_total_current_relative_error": { + "operator": "le", + "limit": 2e-06, + "units": "1" + }, + "max_ion_inventory_relative_drift": { + "operator": "le", + "limit": 1e-09, + "units": "1" + }, + "max_local_carrier_normalized_residual": { + "operator": "le", + "limit": 1e-07, + "units": "1" + }, + "max_local_gauss_normalized_residual": { + "operator": "le", + "limit": 1e-07, + "units": "1" + }, + "max_near_acceptance_nonmonotone_step_count": { + "operator": "le", + "limit": 12.0, + "units": "1" + }, + "max_poisson_residual_C_m2": { + "operator": "le", + "limit": 1e-08, + "units": "C m-2" + }, + "max_refinement_current_relative_change": { + "operator": "le", + "limit": 0.05, + "units": "1" + }, + "max_refinement_state_change": { + "operator": "le", + "limit": 0.02, + "units": "1" + }, + "max_scaled_nonlinear_residual": { + "operator": "le", + "limit": 0.05, + "units": "1" + }, + "max_site_occupancy_fraction": { + "operator": "le", + "limit": 0.999, + "units": "1" + }, + "microscopic_binding_certified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "operating_points_certified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "protocol_identity_verified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "public_projection_certified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "public_protocol_identity_verified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "reference_certificate_bound": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "source_case_identity_verified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + } + } + }, + { + "kind": "historical_result_catalog", + "key": "dynamic-defect-ion-transient-production-v1", + "manifest_pointer": "/capability_reconciliation/historical_refinement_results" + } + ], + "scope_limitations": [ + "Version 6 is the first lane that executes the production DynamicDefectTransientProtocol and run_dynamic_defect_transient public wrapper for all three physical cases and the typed fast-ion stiffness boundary; it does not inherit production status from the v5 internal adapter certificate.", + "The public capability remains dark, exactly two electrical layers, one canonical two-sided microscopic interface defect, exactly one absorber positive-ion layer, no active negative ions, and no explicit bulk defects. Each cell binds the E3c v5 reference certificate but must independently pass runtime projection and engine gates.", + "Observables and physical thresholds intentionally match v5 reference-relative convergence evidence; three additional per-cell gates verify public protocol round-trip/content identity, public projection certification, and exact reference-certificate binding.", + "This lane is internal SolarLab production-path numerical certification, not SCAPS transient parity, experimental validation, bulk-plus-ion coverage, dual-ion coverage, distributed dynamic defects, metastability, tunnelling, or unique parameter identification." + ], + "qualification_gaps": [ + "Historical source/environment/config/protocol applicability needs requalification, not relabeling", + "Cell arrays and full certificate closure were not replayed in this inventory", + "Internal lane budgets are not general external SCAPS or 45-record HI limits" + ], + "new_source_qualified": false + }, + { + "capability_id": "lane-b61bf1fc1c5146b5", + "origin_key": "lane:dynamic-defect-ion-transient-timescale-absorber-resolved-v4", + "kind": "refinement_lane", + "config_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/dynamic_interface_defect_ion_transient_absorber_only.yaml", + "sha256": "f617f230b2d9c144573394e38fcc313225dc84c7b38f7670b97e9a0a7cc12a24", + "role": "registered_input" + } + ], + "config_id": "config-6a5cafb2f67eb805", + "executor_id": "executor-5082ef6e08643764", + "reference_inputs": [ + { + "kind": "registered_refinement_contract", + "source": { + "root": "repository", + "path": "perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "sha256": "b808fb2c7e44b282fe5e8a7d55a8f23a12101451104c6c639e2991fec34a2dff", + "role": "refinement_registry" + }, + "json_pointer": "/lanes/dynamic-defect-ion-transient-timescale-absorber-resolved-v4", + "identity_sha256": "a1c100dae0d0f89e231d3efc00beb26fc70536e3a51f01e02cd92947027b82dc", + "grid": { + "parameter": "intervals_per_layer", + "values": [ + 4, + 6, + 8 + ] + }, + "tolerance": { + "parameter": "backward_euler_time_step_factor", + "factors": [ + 1.0, + 0.5, + 0.25 + ] + }, + "observables": { + "combined_interface_occupancy": { + "comparison": "absolute_linf", + "limit": 1e-08, + "units": "1" + }, + "combined_positive_ion_centroid_shift_m": { + "comparison": "absolute_linf", + "limit": 5e-11, + "units": "m" + }, + "combined_left_terminal_current_A_m2": { + "comparison": "absolute_linf", + "limit": 1e-05, + "units": "A m-2" + }, + "combined_integrated_charge_change_C_m2": { + "comparison": "absolute_linf", + "limit": 1e-09, + "units": "C m-2" + }, + "defect_dominated_interface_occupancy": { + "comparison": "absolute_linf", + "limit": 1e-08, + "units": "1" + }, + "defect_dominated_positive_ion_centroid_shift_m": { + "comparison": "absolute_linf", + "limit": 5e-11, + "units": "m" + }, + "defect_dominated_left_terminal_current_A_m2": { + "comparison": "absolute_linf", + "limit": 1e-05, + "units": "A m-2" + }, + "defect_dominated_integrated_charge_change_C_m2": { + "comparison": "absolute_linf", + "limit": 1e-09, + "units": "C m-2" + }, + "ion_dominated_interface_occupancy": { + "comparison": "absolute_linf", + "limit": 1e-08, + "units": "1" + }, + "ion_dominated_positive_ion_centroid_shift_m": { + "comparison": "absolute_linf", + "limit": 5e-11, + "units": "m" + }, + "ion_dominated_left_terminal_current_A_m2": { + "comparison": "absolute_linf", + "limit": 1e-05, + "units": "A m-2" + }, + "ion_dominated_integrated_charge_change_C_m2": { + "comparison": "absolute_linf", + "limit": 1e-09, + "units": "C m-2" + } + }, + "quality_gates": { + "all_cases_certified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "analytic_sparse_jacobian_verified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "case_count": { + "operator": "eq", + "limit": 3.0, + "units": "1" + }, + "clipping_used": { + "operator": "eq", + "limit": 0.0, + "units": "1" + }, + "combined_interface_occupancy_motion": { + "operator": "ge", + "limit": 1e-09, + "units": "1" + }, + "combined_positive_ion_motion": { + "operator": "ge", + "limit": 1e-05, + "units": "1" + }, + "defect_dominated_interface_occupancy_motion": { + "operator": "ge", + "limit": 1e-09, + "units": "1" + }, + "defect_dominated_positive_ion_motion": { + "operator": "le", + "limit": 1e-07, + "units": "1" + }, + "fast_ion_failure_is_line_search_stall": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "fast_ion_failure_iteration_reported": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "fast_ion_failure_iteration_within_policy": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "fast_ion_stiffness_failed_closed": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "fast_ion_stiffness_failure_typed": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "ion_dominated_interface_occupancy_motion": { + "operator": "le", + "limit": 1e-12, + "units": "1" + }, + "ion_dominated_positive_ion_motion": { + "operator": "ge", + "limit": 1e-05, + "units": "1" + }, + "max_all_face_current_spread_relative": { + "operator": "le", + "limit": 2e-06, + "units": "1" + }, + "max_analytic_jacobian_column_relative_error": { + "operator": "le", + "limit": 0.0003, + "units": "1" + }, + "max_charge_balance_relative_error": { + "operator": "le", + "limit": 1e-10, + "units": "1" + }, + "max_current_decomposition_relative_error": { + "operator": "le", + "limit": 1e-14, + "units": "1" + }, + "max_eliminated_operator_relative_error": { + "operator": "le", + "limit": 1e-06, + "units": "1" + }, + "max_interface_total_current_relative_error": { + "operator": "le", + "limit": 2e-06, + "units": "1" + }, + "max_ion_inventory_relative_drift": { + "operator": "le", + "limit": 1e-09, + "units": "1" + }, + "max_local_carrier_normalized_residual": { + "operator": "le", + "limit": 1e-07, + "units": "1" + }, + "max_local_gauss_normalized_residual": { + "operator": "le", + "limit": 1e-07, + "units": "1" + }, + "max_near_acceptance_nonmonotone_step_count": { + "operator": "le", + "limit": 12.0, + "units": "1" + }, + "max_poisson_residual_C_m2": { + "operator": "le", + "limit": 1e-08, + "units": "C m-2" + }, + "max_refinement_current_relative_change": { + "operator": "le", + "limit": 0.05, + "units": "1" + }, + "max_refinement_state_change": { + "operator": "le", + "limit": 0.02, + "units": "1" + }, + "max_scaled_nonlinear_residual": { + "operator": "le", + "limit": 0.05, + "units": "1" + }, + "max_site_occupancy_fraction": { + "operator": "le", + "limit": 0.999, + "units": "1" + }, + "microscopic_binding_certified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "operating_points_certified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "protocol_identity_verified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "source_case_identity_verified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + } + } + }, + { + "kind": "historical_result_catalog", + "key": "dynamic-defect-ion-transient-timescale-absorber-resolved-v4", + "manifest_pointer": "/capability_reconciliation/historical_refinement_results" + } + ], + "scope_limitations": [ + "Version 4 keeps the v3 equations, 3x3 axes, time history, nonlinear policy, and every physical quality gate, but uses a physically scoped source fixture in which only the absorber has mobile ions and the ETL remains ion-inactive.", + "Cross-grid transient evidence compares reference-relative ion-centroid shift and integrated-charge change, not grid-dependent absolute DC baselines; every cell must still carry certified dark/operating points, component inventory, global charge, all-face/interface current, analytic sparse Jacobian, motion separation, and no clipping.", + { + "Version 3 remains immutable partial evidence": "all 9 cells executed, but absolute DC-sensitive ion-centroid and integrated-charge observables failed five terminal grid checks. Versions 1 and 2 retain their recorded execution failures." + }, + "The D_ion=1e-12 m2/s typed line-search outcome remains a stiffness boundary, not a certified fast-ion physical solution; this lane is internal SolarLab convergence evidence, not SCAPS parity, experimental validation, production API certification, or unique parameter identification." + ], + "qualification_gaps": [ + "Historical source/environment/config/protocol applicability needs requalification, not relabeling", + "Cell arrays and full certificate closure were not replayed in this inventory", + "Internal lane budgets are not general external SCAPS or 45-record HI limits" + ], + "new_source_qualified": false + }, + { + "capability_id": "lane-119dbf12fc26bf9b", + "origin_key": "lane:dynamic-defect-ion-transient-timescale-nonlinear-resolved-v3", + "kind": "refinement_lane", + "config_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/dynamic_interface_defect_ion_transient.yaml", + "sha256": "7aa464bc4772030318ebfa5fa7eb293e346ddf33f70f74083ba120f4240fd7c8", + "role": "registered_input" + } + ], + "config_id": "config-75337222ce16f757", + "executor_id": "executor-5082ef6e08643764", + "reference_inputs": [ + { + "kind": "registered_refinement_contract", + "source": { + "root": "repository", + "path": "perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "sha256": "b808fb2c7e44b282fe5e8a7d55a8f23a12101451104c6c639e2991fec34a2dff", + "role": "refinement_registry" + }, + "json_pointer": "/lanes/dynamic-defect-ion-transient-timescale-nonlinear-resolved-v3", + "identity_sha256": "69e24dac012929679522f73d9cb0c3937a98035b754919828a5db6744c892f85", + "grid": { + "parameter": "intervals_per_layer", + "values": [ + 4, + 6, + 8 + ] + }, + "tolerance": { + "parameter": "backward_euler_time_step_factor", + "factors": [ + 1.0, + 0.5, + 0.25 + ] + }, + "observables": { + "combined_interface_occupancy": { + "comparison": "absolute_linf", + "limit": 1e-08, + "units": "1" + }, + "combined_positive_ion_centroid_m": { + "comparison": "absolute_linf", + "limit": 5e-11, + "units": "m" + }, + "combined_left_terminal_current_A_m2": { + "comparison": "absolute_linf", + "limit": 1e-05, + "units": "A m-2" + }, + "combined_integrated_charge_C_m2": { + "comparison": "absolute_linf", + "limit": 1e-09, + "units": "C m-2" + }, + "defect_dominated_interface_occupancy": { + "comparison": "absolute_linf", + "limit": 1e-08, + "units": "1" + }, + "defect_dominated_positive_ion_centroid_m": { + "comparison": "absolute_linf", + "limit": 5e-11, + "units": "m" + }, + "defect_dominated_left_terminal_current_A_m2": { + "comparison": "absolute_linf", + "limit": 1e-05, + "units": "A m-2" + }, + "defect_dominated_integrated_charge_C_m2": { + "comparison": "absolute_linf", + "limit": 1e-09, + "units": "C m-2" + }, + "ion_dominated_interface_occupancy": { + "comparison": "absolute_linf", + "limit": 1e-08, + "units": "1" + }, + "ion_dominated_positive_ion_centroid_m": { + "comparison": "absolute_linf", + "limit": 5e-11, + "units": "m" + }, + "ion_dominated_left_terminal_current_A_m2": { + "comparison": "absolute_linf", + "limit": 1e-05, + "units": "A m-2" + }, + "ion_dominated_integrated_charge_C_m2": { + "comparison": "absolute_linf", + "limit": 1e-09, + "units": "C m-2" + } + }, + "quality_gates": { + "all_cases_certified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "analytic_sparse_jacobian_verified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "case_count": { + "operator": "eq", + "limit": 3.0, + "units": "1" + }, + "clipping_used": { + "operator": "eq", + "limit": 0.0, + "units": "1" + }, + "combined_interface_occupancy_motion": { + "operator": "ge", + "limit": 1e-09, + "units": "1" + }, + "combined_positive_ion_motion": { + "operator": "ge", + "limit": 1e-05, + "units": "1" + }, + "defect_dominated_interface_occupancy_motion": { + "operator": "ge", + "limit": 1e-09, + "units": "1" + }, + "defect_dominated_positive_ion_motion": { + "operator": "le", + "limit": 1e-07, + "units": "1" + }, + "fast_ion_failure_is_line_search_stall": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "fast_ion_failure_iteration_reported": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "fast_ion_failure_iteration_within_policy": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "fast_ion_stiffness_failed_closed": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "fast_ion_stiffness_failure_typed": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "ion_dominated_interface_occupancy_motion": { + "operator": "le", + "limit": 1e-12, + "units": "1" + }, + "ion_dominated_positive_ion_motion": { + "operator": "ge", + "limit": 1e-05, + "units": "1" + }, + "max_all_face_current_spread_relative": { + "operator": "le", + "limit": 2e-06, + "units": "1" + }, + "max_analytic_jacobian_column_relative_error": { + "operator": "le", + "limit": 0.0003, + "units": "1" + }, + "max_charge_balance_relative_error": { + "operator": "le", + "limit": 1e-10, + "units": "1" + }, + "max_current_decomposition_relative_error": { + "operator": "le", + "limit": 1e-14, + "units": "1" + }, + "max_eliminated_operator_relative_error": { + "operator": "le", + "limit": 1e-06, + "units": "1" + }, + "max_interface_total_current_relative_error": { + "operator": "le", + "limit": 2e-06, + "units": "1" + }, + "max_ion_inventory_relative_drift": { + "operator": "le", + "limit": 1e-09, + "units": "1" + }, + "max_local_carrier_normalized_residual": { + "operator": "le", + "limit": 1e-07, + "units": "1" + }, + "max_local_gauss_normalized_residual": { + "operator": "le", + "limit": 1e-07, + "units": "1" + }, + "max_near_acceptance_nonmonotone_step_count": { + "operator": "le", + "limit": 12.0, + "units": "1" + }, + "max_poisson_residual_C_m2": { + "operator": "le", + "limit": 1e-08, + "units": "C m-2" + }, + "max_refinement_current_relative_change": { + "operator": "le", + "limit": 0.05, + "units": "1" + }, + "max_refinement_state_change": { + "operator": "le", + "limit": 0.02, + "units": "1" + }, + "max_scaled_nonlinear_residual": { + "operator": "le", + "limit": 0.05, + "units": "1" + }, + "max_site_occupancy_fraction": { + "operator": "le", + "limit": 0.999, + "units": "1" + }, + "microscopic_binding_certified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "operating_points_certified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "protocol_identity_verified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "source_case_identity_verified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + } + } + }, + { + "kind": "historical_result_catalog", + "key": "dynamic-defect-ion-transient-timescale-nonlinear-resolved-v3", + "manifest_pointer": "/capability_reconciliation/historical_refinement_results" + } + ], + "scope_limitations": [ + "Version 3 preserves every v2 equation, mesh, 3x3 axis, observable, physical gate, time history, and case override while adding only a registered near-acceptance nonlinear globalization control.", + "A BE solve may take at most two nonmonotone full analytic-sparse Newton steps only after its scaled residual is within the original gate and charge/current closure is within twice the original gate; every use is counted and bounded per cell. High-residual fast-ion failures remain ineligible.", + "Version 1 remains the alpha=2.0 partial contract and version 2 remains the alpha=1.5 monotone-Newton partial contract; neither failure is erased or reclassified as certified evidence.", + "The D_ion=1e-12 m2/s typed line-search outcome remains a stiffness boundary, not a certified fast-ion physical solution; this lane is internal SolarLab convergence evidence, not SCAPS parity, experimental validation, or production API certification." + ], + "qualification_gaps": [ + "Historical source/environment/config/protocol applicability needs requalification, not relabeling", + "Cell arrays and full certificate closure were not replayed in this inventory", + "Internal lane budgets are not general external SCAPS or 45-record HI limits" + ], + "new_source_qualified": false + }, + { + "capability_id": "lane-c2f00d60b696be35", + "origin_key": "lane:dynamic-defect-ion-transient-timescale-reference-resolved-v5", + "kind": "refinement_lane", + "config_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/dynamic_interface_defect_ion_transient_absorber_only.yaml", + "sha256": "f617f230b2d9c144573394e38fcc313225dc84c7b38f7670b97e9a0a7cc12a24", + "role": "registered_input" + } + ], + "config_id": "config-6a5cafb2f67eb805", + "executor_id": "executor-5082ef6e08643764", + "reference_inputs": [ + { + "kind": "registered_refinement_contract", + "source": { + "root": "repository", + "path": "perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "sha256": "b808fb2c7e44b282fe5e8a7d55a8f23a12101451104c6c639e2991fec34a2dff", + "role": "refinement_registry" + }, + "json_pointer": "/lanes/dynamic-defect-ion-transient-timescale-reference-resolved-v5", + "identity_sha256": "cd16dd19dd106c81d3b31abc9462abdf7a77bf9024b886ad26a65efe95936ab2", + "grid": { + "parameter": "intervals_per_layer", + "values": [ + 4, + 6, + 8 + ] + }, + "tolerance": { + "parameter": "backward_euler_time_step_factor", + "factors": [ + 1.0, + 0.5, + 0.25 + ] + }, + "observables": { + "combined_interface_occupancy_change": { + "comparison": "absolute_linf", + "limit": 1e-08, + "units": "1" + }, + "combined_positive_ion_centroid_shift_m": { + "comparison": "absolute_linf", + "limit": 5e-11, + "units": "m" + }, + "combined_left_terminal_current_A_m2": { + "comparison": "absolute_linf", + "limit": 1e-05, + "units": "A m-2" + }, + "combined_integrated_charge_change_C_m2": { + "comparison": "absolute_linf", + "limit": 1e-09, + "units": "C m-2" + }, + "defect_dominated_interface_occupancy_change": { + "comparison": "absolute_linf", + "limit": 1e-08, + "units": "1" + }, + "defect_dominated_positive_ion_centroid_shift_m": { + "comparison": "absolute_linf", + "limit": 5e-11, + "units": "m" + }, + "defect_dominated_left_terminal_current_A_m2": { + "comparison": "absolute_linf", + "limit": 1e-05, + "units": "A m-2" + }, + "defect_dominated_integrated_charge_change_C_m2": { + "comparison": "absolute_linf", + "limit": 1e-09, + "units": "C m-2" + }, + "ion_dominated_interface_occupancy_change": { + "comparison": "absolute_linf", + "limit": 1e-08, + "units": "1" + }, + "ion_dominated_positive_ion_centroid_shift_m": { + "comparison": "absolute_linf", + "limit": 5e-11, + "units": "m" + }, + "ion_dominated_left_terminal_current_A_m2": { + "comparison": "absolute_linf", + "limit": 1e-05, + "units": "A m-2" + }, + "ion_dominated_integrated_charge_change_C_m2": { + "comparison": "absolute_linf", + "limit": 1e-09, + "units": "C m-2" + } + }, + "quality_gates": { + "all_cases_certified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "analytic_sparse_jacobian_verified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "case_count": { + "operator": "eq", + "limit": 3.0, + "units": "1" + }, + "clipping_used": { + "operator": "eq", + "limit": 0.0, + "units": "1" + }, + "combined_interface_occupancy_motion": { + "operator": "ge", + "limit": 1e-09, + "units": "1" + }, + "combined_positive_ion_motion": { + "operator": "ge", + "limit": 1e-05, + "units": "1" + }, + "defect_dominated_interface_occupancy_motion": { + "operator": "ge", + "limit": 1e-09, + "units": "1" + }, + "defect_dominated_positive_ion_motion": { + "operator": "le", + "limit": 1e-07, + "units": "1" + }, + "fast_ion_failure_is_declared_nonlinear_stall": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "fast_ion_failure_iteration_reported": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "fast_ion_failure_iteration_within_policy": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "fast_ion_failure_residual_above_acceptance": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "fast_ion_stiffness_failed_closed": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "fast_ion_stiffness_failure_typed": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "ion_dominated_interface_occupancy_motion": { + "operator": "le", + "limit": 1e-12, + "units": "1" + }, + "ion_dominated_positive_ion_motion": { + "operator": "ge", + "limit": 1e-05, + "units": "1" + }, + "max_all_face_current_spread_relative": { + "operator": "le", + "limit": 2e-06, + "units": "1" + }, + "max_analytic_jacobian_column_relative_error": { + "operator": "le", + "limit": 0.0003, + "units": "1" + }, + "max_charge_balance_relative_error": { + "operator": "le", + "limit": 1e-10, + "units": "1" + }, + "max_current_decomposition_relative_error": { + "operator": "le", + "limit": 1e-14, + "units": "1" + }, + "max_eliminated_operator_relative_error": { + "operator": "le", + "limit": 1e-06, + "units": "1" + }, + "max_interface_total_current_relative_error": { + "operator": "le", + "limit": 2e-06, + "units": "1" + }, + "max_ion_inventory_relative_drift": { + "operator": "le", + "limit": 1e-09, + "units": "1" + }, + "max_local_carrier_normalized_residual": { + "operator": "le", + "limit": 1e-07, + "units": "1" + }, + "max_local_gauss_normalized_residual": { + "operator": "le", + "limit": 1e-07, + "units": "1" + }, + "max_near_acceptance_nonmonotone_step_count": { + "operator": "le", + "limit": 12.0, + "units": "1" + }, + "max_poisson_residual_C_m2": { + "operator": "le", + "limit": 1e-08, + "units": "C m-2" + }, + "max_refinement_current_relative_change": { + "operator": "le", + "limit": 0.05, + "units": "1" + }, + "max_refinement_state_change": { + "operator": "le", + "limit": 0.02, + "units": "1" + }, + "max_scaled_nonlinear_residual": { + "operator": "le", + "limit": 0.05, + "units": "1" + }, + "max_site_occupancy_fraction": { + "operator": "le", + "limit": 0.999, + "units": "1" + }, + "microscopic_binding_certified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "operating_points_certified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "protocol_identity_verified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "source_case_identity_verified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + } + } + }, + { + "kind": "historical_result_catalog", + "key": "dynamic-defect-ion-transient-timescale-reference-resolved-v5", + "manifest_pointer": "/capability_reconciliation/historical_refinement_results" + } + ], + "scope_limitations": [ + "Version 5 preserves the v4 source fixture, equations, 3x3 axes, history, nonlinear policy, thresholds, and physical quality gates; it compares occupancy, ion-centroid, and integrated charge as changes from each cell's certified t=0 reference while retaining absolute terminal current.", + "The fast-ion stiffness boundary accepts only a typed line-search stall or typed Newton iteration limit with a machine-readable iteration and residual above the registered nonlinear acceptance threshold. Neither outcome is a certified fast-ion physical solution.", + { + "Version 4 remains immutable partial evidence": "all 9 cells executed, but absolute interface occupancy failed three terminal grid checks and two cells reached the declared Newton iteration limit rather than the narrower line-search-only outcome. Version 3 remains partial and versions 1-2 retain their recorded execution failures." + }, + "This lane is internal SolarLab numerical convergence evidence, not SCAPS parity, experimental validation, production API certification, or unique parameter identification." + ], + "qualification_gaps": [ + "Historical source/environment/config/protocol applicability needs requalification, not relabeling", + "Cell arrays and full certificate closure were not replayed in this inventory", + "Internal lane budgets are not general external SCAPS or 45-record HI limits" + ], + "new_source_qualified": false + }, + { + "capability_id": "lane-2e2c396de43bcf73", + "origin_key": "lane:dynamic-defect-ion-transient-timescale-resolved-v2", + "kind": "refinement_lane", + "config_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/dynamic_interface_defect_ion_transient.yaml", + "sha256": "7aa464bc4772030318ebfa5fa7eb293e346ddf33f70f74083ba120f4240fd7c8", + "role": "registered_input" + } + ], + "config_id": "config-75337222ce16f757", + "executor_id": "executor-5082ef6e08643764", + "reference_inputs": [ + { + "kind": "registered_refinement_contract", + "source": { + "root": "repository", + "path": "perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "sha256": "b808fb2c7e44b282fe5e8a7d55a8f23a12101451104c6c639e2991fec34a2dff", + "role": "refinement_registry" + }, + "json_pointer": "/lanes/dynamic-defect-ion-transient-timescale-resolved-v2", + "identity_sha256": "e44b4d2cee32b39c61553a82666f66fb353ffe49b4c7c4ba665e2945b63daa2a", + "grid": { + "parameter": "intervals_per_layer", + "values": [ + 4, + 6, + 8 + ] + }, + "tolerance": { + "parameter": "backward_euler_time_step_factor", + "factors": [ + 1.0, + 0.5, + 0.25 + ] + }, + "observables": { + "combined_interface_occupancy": { + "comparison": "absolute_linf", + "limit": 1e-08, + "units": "1" + }, + "combined_positive_ion_centroid_m": { + "comparison": "absolute_linf", + "limit": 5e-11, + "units": "m" + }, + "combined_left_terminal_current_A_m2": { + "comparison": "absolute_linf", + "limit": 1e-05, + "units": "A m-2" + }, + "combined_integrated_charge_C_m2": { + "comparison": "absolute_linf", + "limit": 1e-09, + "units": "C m-2" + }, + "defect_dominated_interface_occupancy": { + "comparison": "absolute_linf", + "limit": 1e-08, + "units": "1" + }, + "defect_dominated_positive_ion_centroid_m": { + "comparison": "absolute_linf", + "limit": 5e-11, + "units": "m" + }, + "defect_dominated_left_terminal_current_A_m2": { + "comparison": "absolute_linf", + "limit": 1e-05, + "units": "A m-2" + }, + "defect_dominated_integrated_charge_C_m2": { + "comparison": "absolute_linf", + "limit": 1e-09, + "units": "C m-2" + }, + "ion_dominated_interface_occupancy": { + "comparison": "absolute_linf", + "limit": 1e-08, + "units": "1" + }, + "ion_dominated_positive_ion_centroid_m": { + "comparison": "absolute_linf", + "limit": 5e-11, + "units": "m" + }, + "ion_dominated_left_terminal_current_A_m2": { + "comparison": "absolute_linf", + "limit": 1e-05, + "units": "A m-2" + }, + "ion_dominated_integrated_charge_C_m2": { + "comparison": "absolute_linf", + "limit": 1e-09, + "units": "C m-2" + } + }, + "quality_gates": { + "all_cases_certified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "analytic_sparse_jacobian_verified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "case_count": { + "operator": "eq", + "limit": 3.0, + "units": "1" + }, + "clipping_used": { + "operator": "eq", + "limit": 0.0, + "units": "1" + }, + "combined_interface_occupancy_motion": { + "operator": "ge", + "limit": 1e-09, + "units": "1" + }, + "combined_positive_ion_motion": { + "operator": "ge", + "limit": 1e-05, + "units": "1" + }, + "defect_dominated_interface_occupancy_motion": { + "operator": "ge", + "limit": 1e-09, + "units": "1" + }, + "defect_dominated_positive_ion_motion": { + "operator": "le", + "limit": 1e-07, + "units": "1" + }, + "fast_ion_failure_is_line_search_stall": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "fast_ion_failure_iteration_reported": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "fast_ion_failure_iteration_within_policy": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "fast_ion_stiffness_failed_closed": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "fast_ion_stiffness_failure_typed": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "ion_dominated_interface_occupancy_motion": { + "operator": "le", + "limit": 1e-12, + "units": "1" + }, + "ion_dominated_positive_ion_motion": { + "operator": "ge", + "limit": 1e-05, + "units": "1" + }, + "max_all_face_current_spread_relative": { + "operator": "le", + "limit": 2e-06, + "units": "1" + }, + "max_analytic_jacobian_column_relative_error": { + "operator": "le", + "limit": 0.0003, + "units": "1" + }, + "max_charge_balance_relative_error": { + "operator": "le", + "limit": 1e-10, + "units": "1" + }, + "max_current_decomposition_relative_error": { + "operator": "le", + "limit": 1e-14, + "units": "1" + }, + "max_eliminated_operator_relative_error": { + "operator": "le", + "limit": 1e-06, + "units": "1" + }, + "max_interface_total_current_relative_error": { + "operator": "le", + "limit": 2e-06, + "units": "1" + }, + "max_ion_inventory_relative_drift": { + "operator": "le", + "limit": 1e-09, + "units": "1" + }, + "max_local_carrier_normalized_residual": { + "operator": "le", + "limit": 1e-07, + "units": "1" + }, + "max_local_gauss_normalized_residual": { + "operator": "le", + "limit": 1e-07, + "units": "1" + }, + "max_poisson_residual_C_m2": { + "operator": "le", + "limit": 1e-08, + "units": "C m-2" + }, + "max_refinement_current_relative_change": { + "operator": "le", + "limit": 0.05, + "units": "1" + }, + "max_refinement_state_change": { + "operator": "le", + "limit": 0.02, + "units": "1" + }, + "max_scaled_nonlinear_residual": { + "operator": "le", + "limit": 0.05, + "units": "1" + }, + "max_site_occupancy_fraction": { + "operator": "le", + "limit": 0.999, + "units": "1" + }, + "microscopic_binding_certified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "operating_points_certified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "protocol_identity_verified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "source_case_identity_verified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + } + } + }, + { + "kind": "historical_result_catalog", + "key": "dynamic-defect-ion-transient-timescale-resolved-v2", + "manifest_pointer": "/capability_reconciliation/historical_refinement_results" + } + ], + "scope_limitations": [ + "This resolved lane preserves every v1 equation, 3x3 axis, trace observable, physical quality gate, time history, and case override while changing only the registered mesh clustering and nonlinear iteration budgets.", + { + "Version 1 remains the immutable partial contract": "alpha=2.0 over-clusters this smooth intrinsic fixture as the grid refines, producing grid-6/8 nonlinear failures without adding a physical screening-scale requirement. Version 2 uses alpha=1.5 and records 100/40 Newton/line-search limits explicitly." + }, + "Every matrix cell executes the same two-sided index-1 DAE for combined, defect-dominated, and ion-dominated cases and requires component inventory, global charge, all-face/interface current, analytic sparse Jacobian, motion separation, and no clipping.", + "The D_ion=1e-12 m2/s typed line-search outcome remains a stiffness boundary, not a certified fast-ion physical solution; this lane is internal SolarLab convergence evidence, not SCAPS parity, experimental validation, or production API certification." + ], + "qualification_gaps": [ + "Historical source/environment/config/protocol applicability needs requalification, not relabeling", + "Cell arrays and full certificate closure were not replayed in this inventory", + "Internal lane budgets are not general external SCAPS or 45-record HI limits" + ], + "new_source_qualified": false + }, + { + "capability_id": "lane-f63c8cad0bf211ec", + "origin_key": "lane:dynamic-defect-ion-transient-timescale-v1", + "kind": "refinement_lane", + "config_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/dynamic_interface_defect_ion_transient.yaml", + "sha256": "7aa464bc4772030318ebfa5fa7eb293e346ddf33f70f74083ba120f4240fd7c8", + "role": "registered_input" + } + ], + "config_id": "config-75337222ce16f757", + "executor_id": "executor-5082ef6e08643764", + "reference_inputs": [ + { + "kind": "registered_refinement_contract", + "source": { + "root": "repository", + "path": "perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "sha256": "b808fb2c7e44b282fe5e8a7d55a8f23a12101451104c6c639e2991fec34a2dff", + "role": "refinement_registry" + }, + "json_pointer": "/lanes/dynamic-defect-ion-transient-timescale-v1", + "identity_sha256": "ca5900bfae5032e9c0428334d97a002b56a0932207151ab92240bd8167e2185e", + "grid": { + "parameter": "intervals_per_layer", + "values": [ + 4, + 6, + 8 + ] + }, + "tolerance": { + "parameter": "backward_euler_time_step_factor", + "factors": [ + 1.0, + 0.5, + 0.25 + ] + }, + "observables": { + "combined_interface_occupancy": { + "comparison": "absolute_linf", + "limit": 1e-08, + "units": "1" + }, + "combined_positive_ion_centroid_m": { + "comparison": "absolute_linf", + "limit": 5e-11, + "units": "m" + }, + "combined_left_terminal_current_A_m2": { + "comparison": "absolute_linf", + "limit": 1e-05, + "units": "A m-2" + }, + "combined_integrated_charge_C_m2": { + "comparison": "absolute_linf", + "limit": 1e-09, + "units": "C m-2" + }, + "defect_dominated_interface_occupancy": { + "comparison": "absolute_linf", + "limit": 1e-08, + "units": "1" + }, + "defect_dominated_positive_ion_centroid_m": { + "comparison": "absolute_linf", + "limit": 5e-11, + "units": "m" + }, + "defect_dominated_left_terminal_current_A_m2": { + "comparison": "absolute_linf", + "limit": 1e-05, + "units": "A m-2" + }, + "defect_dominated_integrated_charge_C_m2": { + "comparison": "absolute_linf", + "limit": 1e-09, + "units": "C m-2" + }, + "ion_dominated_interface_occupancy": { + "comparison": "absolute_linf", + "limit": 1e-08, + "units": "1" + }, + "ion_dominated_positive_ion_centroid_m": { + "comparison": "absolute_linf", + "limit": 5e-11, + "units": "m" + }, + "ion_dominated_left_terminal_current_A_m2": { + "comparison": "absolute_linf", + "limit": 1e-05, + "units": "A m-2" + }, + "ion_dominated_integrated_charge_C_m2": { + "comparison": "absolute_linf", + "limit": 1e-09, + "units": "C m-2" + } + }, + "quality_gates": { + "all_cases_certified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "analytic_sparse_jacobian_verified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "case_count": { + "operator": "eq", + "limit": 3.0, + "units": "1" + }, + "clipping_used": { + "operator": "eq", + "limit": 0.0, + "units": "1" + }, + "combined_interface_occupancy_motion": { + "operator": "ge", + "limit": 1e-09, + "units": "1" + }, + "combined_positive_ion_motion": { + "operator": "ge", + "limit": 1e-05, + "units": "1" + }, + "defect_dominated_interface_occupancy_motion": { + "operator": "ge", + "limit": 1e-09, + "units": "1" + }, + "defect_dominated_positive_ion_motion": { + "operator": "le", + "limit": 1e-07, + "units": "1" + }, + "fast_ion_failure_is_line_search_stall": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "fast_ion_failure_iteration_reported": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "fast_ion_failure_iteration_within_policy": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "fast_ion_stiffness_failed_closed": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "fast_ion_stiffness_failure_typed": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "ion_dominated_interface_occupancy_motion": { + "operator": "le", + "limit": 1e-12, + "units": "1" + }, + "ion_dominated_positive_ion_motion": { + "operator": "ge", + "limit": 1e-05, + "units": "1" + }, + "max_all_face_current_spread_relative": { + "operator": "le", + "limit": 2e-06, + "units": "1" + }, + "max_analytic_jacobian_column_relative_error": { + "operator": "le", + "limit": 0.0003, + "units": "1" + }, + "max_charge_balance_relative_error": { + "operator": "le", + "limit": 1e-10, + "units": "1" + }, + "max_current_decomposition_relative_error": { + "operator": "le", + "limit": 1e-14, + "units": "1" + }, + "max_eliminated_operator_relative_error": { + "operator": "le", + "limit": 1e-06, + "units": "1" + }, + "max_interface_total_current_relative_error": { + "operator": "le", + "limit": 2e-06, + "units": "1" + }, + "max_ion_inventory_relative_drift": { + "operator": "le", + "limit": 1e-09, + "units": "1" + }, + "max_local_carrier_normalized_residual": { + "operator": "le", + "limit": 1e-07, + "units": "1" + }, + "max_local_gauss_normalized_residual": { + "operator": "le", + "limit": 1e-07, + "units": "1" + }, + "max_poisson_residual_C_m2": { + "operator": "le", + "limit": 1e-08, + "units": "C m-2" + }, + "max_refinement_current_relative_change": { + "operator": "le", + "limit": 0.05, + "units": "1" + }, + "max_refinement_state_change": { + "operator": "le", + "limit": 0.02, + "units": "1" + }, + "max_scaled_nonlinear_residual": { + "operator": "le", + "limit": 0.05, + "units": "1" + }, + "max_site_occupancy_fraction": { + "operator": "le", + "limit": 0.999, + "units": "1" + }, + "microscopic_binding_certified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "operating_points_certified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "protocol_identity_verified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "source_case_identity_verified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + } + } + }, + { + "kind": "historical_result_catalog", + "key": "dynamic-defect-ion-transient-timescale-v1", + "manifest_pointer": "/capability_reconciliation/historical_refinement_results" + } + ], + "scope_limitations": [ + "This lane certifies one frozen synthetic two-layer, one-interface, positive-ion device across combined, defect-dominated, and ion-dominated time-scale cases using the same two-sided index-1 DAE; it is not a fitted material stack.", + "Every matrix cell executes an inner nested backward-Euler ladder and requires the full interface-defect-ion transient certificate, component inventory, global charge, all-face and interface current, analytic sparse Jacobian, motion-separation, and no-clipping gates.", + "The D_ion=1e-12 m2/s case is required to fail closed with a typed line-search outcome and recorded Newton iteration; that outcome is a stiffness boundary, not a certified fast-ion physical solution.", + "This is internal SolarLab convergence evidence, not external SCAPS transient parity, experimental validation, production API certification, or unique defect/ion parameter identification." + ], + "qualification_gaps": [ + "Historical source/environment/config/protocol applicability needs requalification, not relabeling", + "Cell arrays and full certificate closure were not replayed in this inventory", + "Internal lane budgets are not general external SCAPS or 45-record HI limits" + ], + "new_source_qualified": false + }, + { + "capability_id": "lane-5d1d62edf010a604", + "origin_key": "lane:electrothermal-terminal-mpp-grid-resolved-v3", + "kind": "refinement_lane", + "config_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/nip_MAPbI3.yaml", + "sha256": "20fa8a8097c965330ce7b0d7e8f9286fc1960585231c360841d24ba7a1845668", + "role": "registered_input" + } + ], + "config_id": "config-764c3f33e226386e", + "executor_id": "executor-6bc5e1f292e6f011", + "reference_inputs": [ + { + "kind": "registered_refinement_contract", + "source": { + "root": "repository", + "path": "perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "sha256": "b808fb2c7e44b282fe5e8a7d55a8f23a12101451104c6c639e2991fec34a2dff", + "role": "refinement_registry" + }, + "json_pointer": "/lanes/electrothermal-terminal-mpp-grid-resolved-v3", + "identity_sha256": "0c04c2728e4d77c4684473aea44e02607d286ed380b3aae7dadc48be44a06eed", + "grid": { + "parameter": "N_grid", + "values": [ + 40, + 60, + 80 + ] + }, + "tolerance": { + "parameter": "componentwise_atol_refinement_factor", + "factors": [ + 1.0, + 0.1, + 0.01 + ] + }, + "observables": { + "ambient_to_maximum_mpp_power_change_W_m2": { + "comparison": "relative_linf", + "limit": 0.02, + "units": "W m-2" + }, + "operating_temperature_K": { + "comparison": "absolute_linf", + "limit": 0.5, + "units": "K" + }, + "temperature_rise_K": { + "comparison": "absolute_linf", + "limit": 0.5, + "units": "K" + }, + "terminal_mpp_current_A_m2": { + "comparison": "relative_linf", + "limit": 0.02, + "units": "A m-2" + }, + "terminal_mpp_power_W_m2": { + "comparison": "relative_linf", + "limit": 0.02, + "units": "W m-2" + }, + "terminal_mpp_voltage_V": { + "comparison": "absolute_linf", + "limit": 0.05, + "units": "V" + } + }, + "quality_gates": { + "all_temperature_evaluations_certified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "ambient_residual_positive": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "base_stack_immutable": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "circuit_protocol_hash_verified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "electrical_protocol_hash_verified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "electrothermal_certified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "final_external_mapping_verified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "first_law_reconstruction_error_W_m2": { + "operator": "le", + "limit": 1e-12, + "units": "W m-2" + }, + "maximum_residual_negative": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "mpp_series_voltage_drop_V": { + "operator": "ge", + "limit": 0.005, + "units": "V" + }, + "mpp_shunt_current_A_m2": { + "operator": "ge", + "limit": 1.0, + "units": "A m-2" + }, + "operating_protocol_hash_verified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "power_balance_residual_W_m2": { + "operator": "le", + "limit": 0.2, + "units": "W m-2" + }, + "root_iterations": { + "operator": "le", + "limit": 30.0, + "units": "1" + }, + "temperature_evaluations": { + "operator": "le", + "limit": 12.0, + "units": "1" + }, + "temperature_evaluations_within_envelope": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "temperature_protocols_aligned": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "temperature_response_active_W_m2": { + "operator": "ge", + "limit": 1.0, + "units": "W m-2" + }, + "terminal_power_below_absorption": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "thermal_protocol_hash_verified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + } + } + }, + { + "kind": "historical_result_catalog", + "key": "electrothermal-terminal-mpp-grid-resolved-v3", + "manifest_pointer": "/capability_reconciliation/historical_refinement_results" + } + ], + "scope_limitations": [ + "This grid-resolved lane raises only the spatial grid ladder to 40/60/80 after v1 and v2 completed 9/9 cells but remained partial on the 300-380 K MPP-power response; every observable, quality gate, circuit, thermal parameter, scan, and tolerance ladder is unchanged.", + "This lane certifies one fresh-state, protocol-conditioned forward-branch sampled terminal-MPP root; it does not certify voltage-sampling refinement or a continuously optimized MPP.", + "Each temperature restarts the complete transient J-V history, so the lane does not model a joint thermal-ion trajectory, thermal memory, or temperature ramp history.", + "The 800 W/m2 absorbed power, heat-transfer coefficient, emissivity, heat capacity, and series/shunt resistances are synthetic stress inputs, not measured parameters of the nip_MAPbI3 preset.", + "Passing is internal grid/tolerance, first-law, and provenance evidence; it is not external simulator validation, experimental validation, lifetime prediction, or validation of a real device temperature." + ], + "qualification_gaps": [ + "Historical source/environment/config/protocol applicability needs requalification, not relabeling", + "Cell arrays and full certificate closure were not replayed in this inventory", + "Internal lane budgets are not general external SCAPS or 45-record HI limits" + ], + "new_source_qualified": false + }, + { + "capability_id": "lane-b37e800920a3345f", + "origin_key": "lane:electrothermal-terminal-mpp-resolved-v2", + "kind": "refinement_lane", + "config_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/nip_MAPbI3.yaml", + "sha256": "20fa8a8097c965330ce7b0d7e8f9286fc1960585231c360841d24ba7a1845668", + "role": "registered_input" + } + ], + "config_id": "config-764c3f33e226386e", + "executor_id": "executor-6bc5e1f292e6f011", + "reference_inputs": [ + { + "kind": "registered_refinement_contract", + "source": { + "root": "repository", + "path": "perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "sha256": "b808fb2c7e44b282fe5e8a7d55a8f23a12101451104c6c639e2991fec34a2dff", + "role": "refinement_registry" + }, + "json_pointer": "/lanes/electrothermal-terminal-mpp-resolved-v2", + "identity_sha256": "643205dba11872fedb0fa47f5e4f5608dfa5e7422856e4aafc37f5a9db71dd0f", + "grid": { + "parameter": "N_grid", + "values": [ + 20, + 30, + 40 + ] + }, + "tolerance": { + "parameter": "componentwise_atol_refinement_factor", + "factors": [ + 1.0, + 0.1, + 0.01 + ] + }, + "observables": { + "ambient_to_maximum_mpp_power_change_W_m2": { + "comparison": "relative_linf", + "limit": 0.02, + "units": "W m-2" + }, + "operating_temperature_K": { + "comparison": "absolute_linf", + "limit": 0.5, + "units": "K" + }, + "temperature_rise_K": { + "comparison": "absolute_linf", + "limit": 0.5, + "units": "K" + }, + "terminal_mpp_current_A_m2": { + "comparison": "relative_linf", + "limit": 0.02, + "units": "A m-2" + }, + "terminal_mpp_power_W_m2": { + "comparison": "relative_linf", + "limit": 0.02, + "units": "W m-2" + }, + "terminal_mpp_voltage_V": { + "comparison": "absolute_linf", + "limit": 0.05, + "units": "V" + } + }, + "quality_gates": { + "all_temperature_evaluations_certified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "ambient_residual_positive": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "base_stack_immutable": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "circuit_protocol_hash_verified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "electrical_protocol_hash_verified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "electrothermal_certified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "final_external_mapping_verified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "first_law_reconstruction_error_W_m2": { + "operator": "le", + "limit": 1e-12, + "units": "W m-2" + }, + "maximum_residual_negative": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "mpp_series_voltage_drop_V": { + "operator": "ge", + "limit": 0.005, + "units": "V" + }, + "mpp_shunt_current_A_m2": { + "operator": "ge", + "limit": 1.0, + "units": "A m-2" + }, + "operating_protocol_hash_verified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "power_balance_residual_W_m2": { + "operator": "le", + "limit": 0.2, + "units": "W m-2" + }, + "root_iterations": { + "operator": "le", + "limit": 30.0, + "units": "1" + }, + "temperature_evaluations": { + "operator": "le", + "limit": 12.0, + "units": "1" + }, + "temperature_evaluations_within_envelope": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "temperature_protocols_aligned": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "temperature_response_active_W_m2": { + "operator": "ge", + "limit": 1.0, + "units": "W m-2" + }, + "terminal_power_below_absorption": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "thermal_protocol_hash_verified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + } + } + }, + { + "kind": "historical_result_catalog", + "key": "electrothermal-terminal-mpp-resolved-v2", + "manifest_pointer": "/capability_reconciliation/historical_refinement_results" + } + ], + "scope_limitations": [ + "This resolved lane raises only the spatial grid ladder to 20/30/40 after v1 completed 9/9 cells but remained partial on the 300-380 K MPP-power response; every observable, quality gate, circuit, thermal parameter, scan, and tolerance ladder is unchanged.", + "This lane certifies one fresh-state, protocol-conditioned forward-branch sampled terminal-MPP root; it does not certify voltage-sampling refinement or a continuously optimized MPP.", + "Each temperature restarts the complete transient J-V history, so the lane does not model a joint thermal-ion trajectory, thermal memory, or temperature ramp history.", + "The 800 W/m2 absorbed power, heat-transfer coefficient, emissivity, heat capacity, and series/shunt resistances are synthetic stress inputs, not measured parameters of the nip_MAPbI3 preset.", + "Passing is internal grid/tolerance, first-law, and provenance evidence; it is not external simulator validation, experimental validation, lifetime prediction, or validation of a real device temperature." + ], + "qualification_gaps": [ + "Historical source/environment/config/protocol applicability needs requalification, not relabeling", + "Cell arrays and full certificate closure were not replayed in this inventory", + "Internal lane budgets are not general external SCAPS or 45-record HI limits" + ], + "new_source_qualified": false + }, + { + "capability_id": "lane-b89615cfbbfe0045", + "origin_key": "lane:electrothermal-terminal-mpp-v1", + "kind": "refinement_lane", + "config_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/nip_MAPbI3.yaml", + "sha256": "20fa8a8097c965330ce7b0d7e8f9286fc1960585231c360841d24ba7a1845668", + "role": "registered_input" + } + ], + "config_id": "config-764c3f33e226386e", + "executor_id": "executor-6bc5e1f292e6f011", + "reference_inputs": [ + { + "kind": "registered_refinement_contract", + "source": { + "root": "repository", + "path": "perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "sha256": "b808fb2c7e44b282fe5e8a7d55a8f23a12101451104c6c639e2991fec34a2dff", + "role": "refinement_registry" + }, + "json_pointer": "/lanes/electrothermal-terminal-mpp-v1", + "identity_sha256": "bfc102fdee0cda1bbdc97db18d3e68448484e3bdefca40c979e494a985772159", + "grid": { + "parameter": "N_grid", + "values": [ + 10, + 15, + 20 + ] + }, + "tolerance": { + "parameter": "componentwise_atol_refinement_factor", + "factors": [ + 1.0, + 0.1, + 0.01 + ] + }, + "observables": { + "ambient_to_maximum_mpp_power_change_W_m2": { + "comparison": "relative_linf", + "limit": 0.02, + "units": "W m-2" + }, + "operating_temperature_K": { + "comparison": "absolute_linf", + "limit": 0.5, + "units": "K" + }, + "temperature_rise_K": { + "comparison": "absolute_linf", + "limit": 0.5, + "units": "K" + }, + "terminal_mpp_current_A_m2": { + "comparison": "relative_linf", + "limit": 0.02, + "units": "A m-2" + }, + "terminal_mpp_power_W_m2": { + "comparison": "relative_linf", + "limit": 0.02, + "units": "W m-2" + }, + "terminal_mpp_voltage_V": { + "comparison": "absolute_linf", + "limit": 0.05, + "units": "V" + } + }, + "quality_gates": { + "all_temperature_evaluations_certified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "ambient_residual_positive": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "base_stack_immutable": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "circuit_protocol_hash_verified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "electrical_protocol_hash_verified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "electrothermal_certified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "final_external_mapping_verified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "first_law_reconstruction_error_W_m2": { + "operator": "le", + "limit": 1e-12, + "units": "W m-2" + }, + "maximum_residual_negative": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "mpp_series_voltage_drop_V": { + "operator": "ge", + "limit": 0.005, + "units": "V" + }, + "mpp_shunt_current_A_m2": { + "operator": "ge", + "limit": 1.0, + "units": "A m-2" + }, + "operating_protocol_hash_verified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "power_balance_residual_W_m2": { + "operator": "le", + "limit": 0.2, + "units": "W m-2" + }, + "root_iterations": { + "operator": "le", + "limit": 30.0, + "units": "1" + }, + "temperature_evaluations": { + "operator": "le", + "limit": 12.0, + "units": "1" + }, + "temperature_evaluations_within_envelope": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "temperature_protocols_aligned": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "temperature_response_active_W_m2": { + "operator": "ge", + "limit": 1.0, + "units": "W m-2" + }, + "terminal_power_below_absorption": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "thermal_protocol_hash_verified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + } + } + }, + { + "kind": "historical_result_catalog", + "key": "electrothermal-terminal-mpp-v1", + "manifest_pointer": "/capability_reconciliation/historical_refinement_results" + } + ], + "scope_limitations": [ + "This lane certifies one fresh-state, protocol-conditioned forward-branch sampled terminal-MPP root; it does not certify voltage-sampling refinement or a continuously optimized MPP.", + "Each temperature restarts the complete transient J-V history, so the lane does not model a joint thermal-ion trajectory, thermal memory, or temperature ramp history.", + "The 800 W/m2 absorbed power, heat-transfer coefficient, emissivity, heat capacity, and series/shunt resistances are synthetic stress inputs, not measured parameters of the nip_MAPbI3 preset.", + "The control volume is lumped and excludes a spatial heat equation, thermal contact resistance, spectral thermalization, temperature-dependent optical constants, and non-radiative heat localization.", + "Passing is internal grid/tolerance, first-law, and provenance evidence; it is not external simulator validation, experimental validation, lifetime prediction, or validation of a real device temperature." + ], + "qualification_gaps": [ + "Historical source/environment/config/protocol applicability needs requalification, not relabeling", + "Cell arrays and full certificate closure were not replayed in this inventory", + "Internal lane budgets are not general external SCAPS or 45-record HI limits" + ], + "new_source_qualified": false + }, + { + "capability_id": "lane-8ecc1df7d72fa132", + "origin_key": "lane:external-series-shunt-dc-operating-quadrant-v2", + "kind": "refinement_lane", + "config_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/nip_MAPbI3.yaml", + "sha256": "20fa8a8097c965330ce7b0d7e8f9286fc1960585231c360841d24ba7a1845668", + "role": "registered_input" + } + ], + "config_id": "config-764c3f33e226386e", + "executor_id": "executor-27a50b681dce8474", + "reference_inputs": [ + { + "kind": "registered_refinement_contract", + "source": { + "root": "repository", + "path": "perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "sha256": "b808fb2c7e44b282fe5e8a7d55a8f23a12101451104c6c639e2991fec34a2dff", + "role": "refinement_registry" + }, + "json_pointer": "/lanes/external-series-shunt-dc-operating-quadrant-v2", + "identity_sha256": "95e0c7346c48ef60b1fe99f55e66461cf305832a47dcfbe2cdb7050e04be31c3", + "grid": { + "parameter": "N_grid", + "values": [ + 20, + 30, + 40 + ] + }, + "tolerance": { + "parameter": "componentwise_atol_refinement_factor", + "factors": [ + 1.0, + 0.1, + 0.01 + ] + }, + "observables": { + "terminal_ff": { + "comparison": "absolute_linf", + "limit": 0.01, + "units": "1" + }, + "terminal_jsc_A_m2": { + "comparison": "relative_linf", + "limit": 0.01, + "units": "A m-2" + }, + "terminal_pce_percent": { + "comparison": "relative_linf", + "limit": 0.02, + "units": "%" + }, + "terminal_power_quadrant_normalized_trace": { + "comparison": "absolute_linf", + "limit": 0.005, + "units": "1" + }, + "terminal_voc_V": { + "comparison": "absolute_linf", + "limit": 0.005, + "units": "V" + } + }, + "quality_gates": { + "circuit_protocol_hash_verified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "external_circuit_certified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "intrinsic_jv_certified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "max_current_balance_error_A_m2": { + "operator": "eq", + "limit": 0.0, + "units": "A m-2" + }, + "max_pce_loss_fraction": { + "operator": "le", + "limit": 0.5, + "units": "1" + }, + "max_voltage_balance_error_V": { + "operator": "eq", + "limit": 0.0, + "units": "V" + }, + "min_pce_loss_fraction": { + "operator": "ge", + "limit": 0.01, + "units": "1" + }, + "peak_series_voltage_drop_V": { + "operator": "ge", + "limit": 0.01, + "units": "V" + }, + "peak_shunt_current_A_m2": { + "operator": "ge", + "limit": 1.0, + "units": "A m-2" + }, + "power_quadrant_interpolation_verified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "source_experiment_protocol_verified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "terminal_branches_monotonic": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "terminal_quadrant_points_completed": { + "operator": "eq", + "limit": 42.0, + "units": "1" + }, + "terminal_voc_bracketed": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "voltage_points_per_branch_completed": { + "operator": "eq", + "limit": 12.0, + "units": "1" + }, + "zero_coupling_exact": { + "operator": "eq", + "limit": 1.0, + "units": "1" + } + } + }, + { + "kind": "historical_result_catalog", + "key": "external-series-shunt-dc-operating-quadrant-v2", + "manifest_pointer": "/capability_reconciliation/historical_refinement_results" + } + ], + "scope_limitations": [ + "This resolved lane compares the power-producing terminal quadrant on 21 fixed V_terminal/Voc_terminal coordinates per branch while retaining independent Voc, Jsc, FF, and PCE convergence checks.", + "The v1 full-trace lane remains partial because its deepest 1.2 V junction-bias sample reaches about 17.8 kA/m2 and a 3.55 V series drop; v2 does not claim convergence of that non-operating high-injection tail.", + "The 2e-4 ohm m2 series resistance and 0.2 ohm m2 shunt resistance are synthetic stress inputs and are not fitted or attributed to a measured MAPbI3 device.", + "The mapping remains an algebraic DC postprocess and excludes coupled circuit-device transients, capacitance, inductance, heating, and distributed resistance.", + "Passing is internal grid/tolerance, provenance, and Kirchhoff-balance evidence; it is not external simulator validation, experimental validation, SCAPS parity, or material-parameter validation." + ], + "qualification_gaps": [ + "Historical source/environment/config/protocol applicability needs requalification, not relabeling", + "Cell arrays and full certificate closure were not replayed in this inventory", + "Internal lane budgets are not general external SCAPS or 45-record HI limits" + ], + "new_source_qualified": false + }, + { + "capability_id": "lane-c8c8e3698ef7d8d7", + "origin_key": "lane:external-series-shunt-dc-v1", + "kind": "refinement_lane", + "config_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/nip_MAPbI3.yaml", + "sha256": "20fa8a8097c965330ce7b0d7e8f9286fc1960585231c360841d24ba7a1845668", + "role": "registered_input" + } + ], + "config_id": "config-764c3f33e226386e", + "executor_id": "executor-b35165b53b3bd8b6", + "reference_inputs": [ + { + "kind": "registered_refinement_contract", + "source": { + "root": "repository", + "path": "perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "sha256": "b808fb2c7e44b282fe5e8a7d55a8f23a12101451104c6c639e2991fec34a2dff", + "role": "refinement_registry" + }, + "json_pointer": "/lanes/external-series-shunt-dc-v1", + "identity_sha256": "0b78c418e3929b0c1604529ed6bbb14e06f2902d9b9af7be7425343bf15674e3", + "grid": { + "parameter": "N_grid", + "values": [ + 20, + 30, + 40 + ] + }, + "tolerance": { + "parameter": "componentwise_atol_refinement_factor", + "factors": [ + 1.0, + 0.1, + 0.01 + ] + }, + "observables": { + "series_voltage_drop_V": { + "comparison": "absolute_linf", + "limit": 0.002, + "units": "V" + }, + "terminal_current_normalized_trace": { + "comparison": "absolute_linf", + "limit": 0.01, + "units": "1" + }, + "terminal_ff": { + "comparison": "absolute_linf", + "limit": 0.01, + "units": "1" + }, + "terminal_jsc_A_m2": { + "comparison": "relative_linf", + "limit": 0.01, + "units": "A m-2" + }, + "terminal_pce_percent": { + "comparison": "relative_linf", + "limit": 0.02, + "units": "%" + }, + "terminal_voc_V": { + "comparison": "absolute_linf", + "limit": 0.005, + "units": "V" + }, + "terminal_voltage_trace_V": { + "comparison": "absolute_linf", + "limit": 0.01, + "units": "V" + } + }, + "quality_gates": { + "circuit_protocol_hash_verified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "external_circuit_certified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "intrinsic_jv_certified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "max_current_balance_error_A_m2": { + "operator": "eq", + "limit": 0.0, + "units": "A m-2" + }, + "max_pce_loss_fraction": { + "operator": "le", + "limit": 0.5, + "units": "1" + }, + "max_voltage_balance_error_V": { + "operator": "eq", + "limit": 0.0, + "units": "V" + }, + "min_pce_loss_fraction": { + "operator": "ge", + "limit": 0.01, + "units": "1" + }, + "peak_series_voltage_drop_V": { + "operator": "ge", + "limit": 0.01, + "units": "V" + }, + "peak_shunt_current_A_m2": { + "operator": "ge", + "limit": 1.0, + "units": "A m-2" + }, + "source_experiment_protocol_verified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "terminal_branches_monotonic": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "terminal_voc_bracketed": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "voltage_points_per_branch_completed": { + "operator": "eq", + "limit": 12.0, + "units": "1" + }, + "zero_coupling_exact": { + "operator": "eq", + "limit": 1.0, + "units": "1" + } + } + }, + { + "kind": "historical_result_catalog", + "key": "external-series-shunt-dc-v1", + "manifest_pointer": "/capability_reconciliation/historical_refinement_results" + } + ], + "scope_limitations": [ + "This lane certifies an algebraic area-normalized DC mapping applied to a certified intrinsic transient J-V curve; it does not solve a terminal-voltage-driven circuit-device transient.", + "The 2e-4 ohm m2 series resistance and 0.2 ohm m2 shunt resistance are synthetic stress inputs and are not fitted or attributed to a measured MAPbI3 device.", + "The mapping excludes capacitance, inductance, lead dynamics, distributed sheet resistance, contact heating, and bias-dependent parasitic elements.", + "Passing is internal grid/tolerance, provenance, and Kirchhoff-balance evidence; it is not external simulator validation, experimental validation, SCAPS parity, or material-parameter validation." + ], + "qualification_gaps": [ + "Historical source/environment/config/protocol applicability needs requalification, not relabeling", + "Cell arrays and full certificate closure were not replayed in this inventory", + "Internal lane budgets are not general external SCAPS or 45-record HI limits" + ], + "new_source_qualified": false + }, + { + "capability_id": "lane-db3616410333cfd2", + "origin_key": "lane:foundation-physical-homojunction-resolved-v2", + "kind": "refinement_lane", + "config_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/tpv_physical_reference.yaml", + "sha256": "2e470b672f2b0ee6970ff169deedf7ce09ed0a45beb8ab9c55b48ab8da487c10", + "role": "registered_input" + } + ], + "config_id": "config-8cb68dc12f6a5ab6", + "executor_id": "executor-8e75d63c57fce000", + "reference_inputs": [ + { + "kind": "registered_refinement_contract", + "source": { + "root": "repository", + "path": "perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "sha256": "b808fb2c7e44b282fe5e8a7d55a8f23a12101451104c6c639e2991fec34a2dff", + "role": "refinement_registry" + }, + "json_pointer": "/lanes/foundation-physical-homojunction-resolved-v2", + "identity_sha256": "023298b51ab3b5e5a444588a440420e301122d4bdfda78dd09ba1be0ec3b1d95", + "grid": { + "parameter": "total_interface_resolved_intervals", + "values": [ + 88, + 176, + 352 + ] + }, + "tolerance": { + "parameter": "nonlinear_poisson_tolerance_factor", + "factors": [ + 1.0, + 0.1, + 0.01 + ] + }, + "observables": { + "voc_V": { + "comparison": "absolute_linf", + "limit": 0.001, + "units": "V" + }, + "jsc_A_m2": { + "comparison": "relative_linf", + "limit": 0.002, + "units": "A m-2" + }, + "fill_factor": { + "comparison": "relative_linf", + "limit": 0.005, + "units": "1" + }, + "power_conversion_fraction": { + "comparison": "relative_linf", + "limit": 0.005, + "units": "1" + }, + "open_circuit_root_V": { + "comparison": "absolute_linf", + "limit": 0.001, + "units": "V" + }, + "maximum_power_voltage_V": { + "comparison": "absolute_linf", + "limit": 0.001, + "units": "V" + }, + "photovoltaic_current_normalized_trace": { + "comparison": "absolute_linf", + "limit": 0.005, + "units": "1" + }, + "equilibrium_potential_V": { + "comparison": "absolute_linf", + "limit": 0.001, + "units": "V" + }, + "equilibrium_electron_log_density": { + "comparison": "absolute_linf", + "limit": 0.009950330853168092, + "units": "1" + }, + "equilibrium_hole_log_density": { + "comparison": "absolute_linf", + "limit": 0.009950330853168092, + "units": "1" + }, + "equilibrium_electron_fermi_eV": { + "comparison": "absolute_linf", + "limit": 0.001, + "units": "eV" + }, + "equilibrium_hole_fermi_eV": { + "comparison": "absolute_linf", + "limit": 0.001, + "units": "eV" + }, + "equilibrium_recombination_normalized": { + "comparison": "absolute_linf", + "limit": 0.01, + "units": "1" + }, + "short_circuit_potential_V": { + "comparison": "absolute_linf", + "limit": 0.001, + "units": "V" + }, + "short_circuit_electron_log_density": { + "comparison": "absolute_linf", + "limit": 0.009950330853168092, + "units": "1" + }, + "short_circuit_hole_log_density": { + "comparison": "absolute_linf", + "limit": 0.009950330853168092, + "units": "1" + }, + "short_circuit_electron_fermi_eV": { + "comparison": "absolute_linf", + "limit": 0.001, + "units": "eV" + }, + "short_circuit_hole_fermi_eV": { + "comparison": "absolute_linf", + "limit": 0.001, + "units": "eV" + }, + "short_circuit_recombination_normalized": { + "comparison": "absolute_linf", + "limit": 0.01, + "units": "1" + }, + "open_circuit_potential_V": { + "comparison": "absolute_linf", + "limit": 0.001, + "units": "V" + }, + "open_circuit_electron_log_density": { + "comparison": "absolute_linf", + "limit": 0.009950330853168092, + "units": "1" + }, + "open_circuit_hole_log_density": { + "comparison": "absolute_linf", + "limit": 0.009950330853168092, + "units": "1" + }, + "open_circuit_electron_fermi_eV": { + "comparison": "absolute_linf", + "limit": 0.001, + "units": "eV" + }, + "open_circuit_hole_fermi_eV": { + "comparison": "absolute_linf", + "limit": 0.001, + "units": "eV" + }, + "open_circuit_recombination_normalized": { + "comparison": "absolute_linf", + "limit": 0.01, + "units": "1" + }, + "maximum_power_potential_V": { + "comparison": "absolute_linf", + "limit": 0.001, + "units": "V" + }, + "maximum_power_electron_log_density": { + "comparison": "absolute_linf", + "limit": 0.009950330853168092, + "units": "1" + }, + "maximum_power_hole_log_density": { + "comparison": "absolute_linf", + "limit": 0.009950330853168092, + "units": "1" + }, + "maximum_power_electron_fermi_eV": { + "comparison": "absolute_linf", + "limit": 0.001, + "units": "eV" + }, + "maximum_power_hole_fermi_eV": { + "comparison": "absolute_linf", + "limit": 0.001, + "units": "eV" + }, + "maximum_power_recombination_normalized": { + "comparison": "absolute_linf", + "limit": 0.01, + "units": "1" + } + }, + "quality_gates": { + "all_states_certified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "contacts_thermodynamically_consistent": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "maximum_continuity_bound_A_m2": { + "operator": "le", + "limit": 0.0001, + "units": "A m-2" + }, + "maximum_face_current_spread_A_m2": { + "operator": "le", + "limit": 0.0001, + "units": "A m-2" + }, + "maximum_poisson_residual_C_m2": { + "operator": "le", + "limit": 1e-12, + "units": "C m-2" + }, + "maximum_residual_over_limit": { + "operator": "le", + "limit": 1.0, + "units": "1" + }, + "equilibrium_current_A_m2": { + "operator": "le", + "limit": 0.0001, + "units": "A m-2" + }, + "equilibrium_fermi_span_eV": { + "operator": "le", + "limit": 1e-08, + "units": "eV" + }, + "open_circuit_current_A_m2": { + "operator": "le", + "limit": 0.0001, + "units": "A m-2" + }, + "maximum_density_over_dos": { + "operator": "le", + "limit": 0.05, + "units": "1" + }, + "carrier_densities_positive": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "absorbed_photon_fraction": { + "operator": "le", + "limit": 1.0, + "units": "1" + }, + "maximum_power_conversion_fraction": { + "operator": "le", + "limit": 1.0, + "units": "1" + }, + "voltage_voc_absolute_change_V": { + "operator": "le", + "limit": 0.001, + "units": "V" + }, + "voltage_jsc_relative_change": { + "operator": "le", + "limit": 0.002, + "units": "1" + }, + "voltage_ff_relative_change": { + "operator": "le", + "limit": 0.005, + "units": "1" + }, + "voltage_pce_relative_change": { + "operator": "le", + "limit": 0.005, + "units": "1" + }, + "sampled_voc_root_error_V": { + "operator": "le", + "limit": 0.001, + "units": "V" + }, + "sampled_power_relative_error": { + "operator": "le", + "limit": 0.005, + "units": "1" + } + } + }, + { + "kind": "historical_result_catalog", + "key": "foundation-physical-homojunction-resolved-v2", + "manifest_pointer": "/capability_reconciliation/historical_refinement_results" + } + ], + "scope_limitations": [ + "The material input, monochromatic power, current/recombination normalization and every observable/quality limit are identical to the retained partial v1 study.", + "Per-layer tanh grids match the physical cell spacing on both sides of each interface, preserving layer boundaries and the absorber dual-cell measure while resolving abrupt doping and optical boundaries.", + "Carrier profiles use constant-face-flux Scharfetter-Gummel reconstruction; physical quasi-Fermi levels and recombination are evaluated from the reconstructed densities. Extra fixed near-boundary positions are included.", + "The v1 uniform-grid/log-interpolation results remain partial evidence. The v2 requires its own complete spatial/tolerance/voltage matrix and does not inherit certification.", + "This is an ion-free 300 K classical p-i-n numerical reference, not atomic-scale contact physics, material calibration, AM1.5G efficiency, moving-ion or external validation. See docs/FoundationReferenceValidationContractV2.md." + ], + "qualification_gaps": [ + "Historical source/environment/config/protocol applicability needs requalification, not relabeling", + "Cell arrays and full certificate closure were not replayed in this inventory", + "Internal lane budgets are not general external SCAPS or 45-record HI limits", + "No old result located for this registered lane" + ], + "new_source_qualified": false + }, + { + "capability_id": "lane-1bbf89ccef7a7815", + "origin_key": "lane:foundation-physical-homojunction-steady-v1", + "kind": "refinement_lane", + "config_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/tpv_physical_reference.yaml", + "sha256": "2e470b672f2b0ee6970ff169deedf7ce09ed0a45beb8ab9c55b48ab8da487c10", + "role": "registered_input" + } + ], + "config_id": "config-8cb68dc12f6a5ab6", + "executor_id": "executor-8e75d63c57fce000", + "reference_inputs": [ + { + "kind": "registered_refinement_contract", + "source": { + "root": "repository", + "path": "perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "sha256": "b808fb2c7e44b282fe5e8a7d55a8f23a12101451104c6c639e2991fec34a2dff", + "role": "refinement_registry" + }, + "json_pointer": "/lanes/foundation-physical-homojunction-steady-v1", + "identity_sha256": "aeb645561f6205daae3223442b46ff0fd0ecb2e5be1ae24c9dcb99882c848672", + "grid": { + "parameter": "total_uniform_intervals", + "values": [ + 44, + 88, + 176 + ] + }, + "tolerance": { + "parameter": "nonlinear_poisson_tolerance_factor", + "factors": [ + 1.0, + 0.1, + 0.01 + ] + }, + "observables": { + "voc_V": { + "comparison": "absolute_linf", + "limit": 0.001, + "units": "V" + }, + "jsc_A_m2": { + "comparison": "relative_linf", + "limit": 0.002, + "units": "A m-2" + }, + "fill_factor": { + "comparison": "relative_linf", + "limit": 0.005, + "units": "1" + }, + "power_conversion_fraction": { + "comparison": "relative_linf", + "limit": 0.005, + "units": "1" + }, + "open_circuit_root_V": { + "comparison": "absolute_linf", + "limit": 0.001, + "units": "V" + }, + "maximum_power_voltage_V": { + "comparison": "absolute_linf", + "limit": 0.001, + "units": "V" + }, + "photovoltaic_current_normalized_trace": { + "comparison": "absolute_linf", + "limit": 0.005, + "units": "1" + }, + "equilibrium_potential_V": { + "comparison": "absolute_linf", + "limit": 0.001, + "units": "V" + }, + "equilibrium_electron_log_density": { + "comparison": "absolute_linf", + "limit": 0.009950330853168092, + "units": "1" + }, + "equilibrium_hole_log_density": { + "comparison": "absolute_linf", + "limit": 0.009950330853168092, + "units": "1" + }, + "equilibrium_electron_fermi_eV": { + "comparison": "absolute_linf", + "limit": 0.001, + "units": "eV" + }, + "equilibrium_hole_fermi_eV": { + "comparison": "absolute_linf", + "limit": 0.001, + "units": "eV" + }, + "equilibrium_recombination_normalized": { + "comparison": "absolute_linf", + "limit": 0.01, + "units": "1" + }, + "short_circuit_potential_V": { + "comparison": "absolute_linf", + "limit": 0.001, + "units": "V" + }, + "short_circuit_electron_log_density": { + "comparison": "absolute_linf", + "limit": 0.009950330853168092, + "units": "1" + }, + "short_circuit_hole_log_density": { + "comparison": "absolute_linf", + "limit": 0.009950330853168092, + "units": "1" + }, + "short_circuit_electron_fermi_eV": { + "comparison": "absolute_linf", + "limit": 0.001, + "units": "eV" + }, + "short_circuit_hole_fermi_eV": { + "comparison": "absolute_linf", + "limit": 0.001, + "units": "eV" + }, + "short_circuit_recombination_normalized": { + "comparison": "absolute_linf", + "limit": 0.01, + "units": "1" + }, + "open_circuit_potential_V": { + "comparison": "absolute_linf", + "limit": 0.001, + "units": "V" + }, + "open_circuit_electron_log_density": { + "comparison": "absolute_linf", + "limit": 0.009950330853168092, + "units": "1" + }, + "open_circuit_hole_log_density": { + "comparison": "absolute_linf", + "limit": 0.009950330853168092, + "units": "1" + }, + "open_circuit_electron_fermi_eV": { + "comparison": "absolute_linf", + "limit": 0.001, + "units": "eV" + }, + "open_circuit_hole_fermi_eV": { + "comparison": "absolute_linf", + "limit": 0.001, + "units": "eV" + }, + "open_circuit_recombination_normalized": { + "comparison": "absolute_linf", + "limit": 0.01, + "units": "1" + }, + "maximum_power_potential_V": { + "comparison": "absolute_linf", + "limit": 0.001, + "units": "V" + }, + "maximum_power_electron_log_density": { + "comparison": "absolute_linf", + "limit": 0.009950330853168092, + "units": "1" + }, + "maximum_power_hole_log_density": { + "comparison": "absolute_linf", + "limit": 0.009950330853168092, + "units": "1" + }, + "maximum_power_electron_fermi_eV": { + "comparison": "absolute_linf", + "limit": 0.001, + "units": "eV" + }, + "maximum_power_hole_fermi_eV": { + "comparison": "absolute_linf", + "limit": 0.001, + "units": "eV" + }, + "maximum_power_recombination_normalized": { + "comparison": "absolute_linf", + "limit": 0.01, + "units": "1" + } + }, + "quality_gates": { + "all_states_certified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "contacts_thermodynamically_consistent": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "maximum_continuity_bound_A_m2": { + "operator": "le", + "limit": 0.0001, + "units": "A m-2" + }, + "maximum_face_current_spread_A_m2": { + "operator": "le", + "limit": 0.0001, + "units": "A m-2" + }, + "maximum_poisson_residual_C_m2": { + "operator": "le", + "limit": 1e-12, + "units": "C m-2" + }, + "maximum_residual_over_limit": { + "operator": "le", + "limit": 1.0, + "units": "1" + }, + "equilibrium_current_A_m2": { + "operator": "le", + "limit": 0.0001, + "units": "A m-2" + }, + "equilibrium_fermi_span_eV": { + "operator": "le", + "limit": 1e-08, + "units": "eV" + }, + "open_circuit_current_A_m2": { + "operator": "le", + "limit": 0.0001, + "units": "A m-2" + }, + "maximum_density_over_dos": { + "operator": "le", + "limit": 0.05, + "units": "1" + }, + "carrier_densities_positive": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "absorbed_photon_fraction": { + "operator": "le", + "limit": 1.0, + "units": "1" + }, + "maximum_power_conversion_fraction": { + "operator": "le", + "limit": 1.0, + "units": "1" + }, + "voltage_voc_absolute_change_V": { + "operator": "le", + "limit": 0.001, + "units": "V" + }, + "voltage_jsc_relative_change": { + "operator": "le", + "limit": 0.002, + "units": "1" + }, + "voltage_ff_relative_change": { + "operator": "le", + "limit": 0.005, + "units": "1" + }, + "voltage_pce_relative_change": { + "operator": "le", + "limit": 0.005, + "units": "1" + }, + "sampled_voc_root_error_V": { + "operator": "le", + "limit": 0.001, + "units": "V" + }, + "sampled_power_relative_error": { + "operator": "le", + "limit": 0.005, + "units": "1" + } + } + }, + { + "kind": "historical_result_catalog", + "key": "foundation-physical-homojunction-steady-v1", + "manifest_pointer": "/capability_reconciliation/historical_refinement_results" + } + ], + "scope_limitations": [ + "One synthetic 300 K Boltzmann p-i-n homojunction with SRH recombination and declared 2 eV monochromatic optical power; no material fitting or AM1.5G efficiency is claimed.", + "Uniform spacing preserves physical layer boundaries. Spatial, nonlinear/Poisson tolerance and nested voltage sampling are independent axes.", + "The fixed current and recombination scales are q*Phi and Phi/L. The positive photovoltaic current is compared at fixed voltages; complete signed curves and all operating-state profiles are retained.", + "This steady-state certificate excludes moving ions, interface barriers, optical emission balance and external validation. Dynamic and two-dimensional foundation checks are separate." + ], + "qualification_gaps": [ + "Historical source/environment/config/protocol applicability needs requalification, not relabeling", + "Cell arrays and full certificate closure were not replayed in this inventory", + "Internal lane budgets are not general external SCAPS or 45-record HI limits", + "No old result located for this registered lane" + ], + "new_source_qualified": false + }, + { + "capability_id": "lane-42bf2b940134e62c", + "origin_key": "lane:incomplete-ionization-bgn-temperature-equilibrium-v1", + "kind": "refinement_lane", + "config_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/csi_incomplete_ionization_bgn_pn_research.yaml", + "sha256": "2fb63bd79a0f0917083d887e80301712d65b9ca46ace02bedb9cb5c5336e789b", + "role": "registered_input" + } + ], + "config_id": "config-506f7705b1a266e1", + "executor_id": "executor-a4459265c3ea8a60", + "reference_inputs": [ + { + "kind": "registered_refinement_contract", + "source": { + "root": "repository", + "path": "perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "sha256": "b808fb2c7e44b282fe5e8a7d55a8f23a12101451104c6c639e2991fec34a2dff", + "role": "refinement_registry" + }, + "json_pointer": "/lanes/incomplete-ionization-bgn-temperature-equilibrium-v1", + "identity_sha256": "3560ba66e1cebfd67a79425f787a8ed1a10a2afa3ff83eb1330b3f0bead1ce95", + "grid": { + "parameter": "intervals_per_electrical_layer", + "values": [ + 40, + 80, + 160 + ] + }, + "tolerance": { + "parameter": "poisson_residual_tolerance_factor", + "factors": [ + 1.0, + 0.1, + 0.01 + ] + }, + "observables": { + "acceptor_ionized_fraction_temperature_curve": { + "comparison": "absolute_linf", + "limit": 1e-12, + "units": "1" + }, + "band_gap_narrowing_temperature_curve_eV": { + "comparison": "absolute_linf", + "limit": 1e-12, + "units": "eV" + }, + "donor_ionized_fraction_temperature_curve": { + "comparison": "absolute_linf", + "limit": 1e-12, + "units": "1" + }, + "effective_band_gap_temperature_curve_eV": { + "comparison": "absolute_linf", + "limit": 1e-12, + "units": "eV" + }, + "normalized_integrated_charge_width_temperature_curve": { + "comparison": "absolute_linf", + "limit": 0.0005, + "units": "1" + }, + "normalized_peak_field_temperature_curve": { + "comparison": "absolute_linf", + "limit": 0.002, + "units": "1" + }, + "space_charge_balance_temperature_curve": { + "comparison": "absolute_linf", + "limit": 0.001, + "units": "1" + } + }, + "quality_gates": { + "bgn_chemical_doping_law_verified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "combined_topology_verified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "contact_thermodynamics_certified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "freeze_out_monotone_with_temperature": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "ionized_fractions_bounded": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "max_normalized_carrier_rate": { + "operator": "le", + "limit": 1e-12, + "units": "1" + }, + "max_normalized_poisson_residual": { + "operator": "le", + "limit": 1e-08, + "units": "1" + }, + "max_relative_face_current": { + "operator": "le", + "limit": 1e-12, + "units": "1" + }, + "max_space_charge_balance_relative_error": { + "operator": "le", + "limit": 0.02, + "units": "1" + }, + "maximum_newton_iterations": { + "operator": "le", + "limit": 25.0, + "units": "1" + }, + "minimum_band_gap_narrowing_eV": { + "operator": "ge", + "limit": 0.02, + "units": "eV" + }, + "minimum_freeze_out_fraction_change": { + "operator": "ge", + "limit": 0.5, + "units": "1" + }, + "temperature_points_completed": { + "operator": "eq", + "limit": 5.0, + "units": "1" + }, + "terminal_densities_positive": { + "operator": "eq", + "limit": 1.0, + "units": "1" + } + } + }, + { + "kind": "historical_result_catalog", + "key": "incomplete-ionization-bgn-temperature-equilibrium-v1", + "manifest_pointer": "/capability_reconciliation/historical_refinement_results" + } + ], + "scope_limitations": [ + "This lane certifies only a dark homogeneous silicon p/n equilibrium combining independent discrete donor/acceptor levels with the frozen Slotboom chemical-doping band-gap-narrowing law over 100-300 K.", + "The model excludes impurity bands, the Mott transition, alternate BGN parameterizations, dopant capture kinetics, bulk recombination, illumination, bias, heterojunctions, ions, selective contacts, and production experiment routes.", + "The temperature and refinement curves are internal numerical evidence, not Sentaurus or PC1D validation, experimental validation, or a production device certificate." + ], + "qualification_gaps": [ + "Historical source/environment/config/protocol applicability needs requalification, not relabeling", + "Cell arrays and full certificate closure were not replayed in this inventory", + "Internal lane budgets are not general external SCAPS or 45-record HI limits" + ], + "new_source_qualified": false + }, + { + "capability_id": "lane-b0877f36f5bf04e5", + "origin_key": "lane:incomplete-ionization-temperature-equilibrium-v1", + "kind": "refinement_lane", + "config_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/csi_incomplete_ionization_pn_research.yaml", + "sha256": "d98b07049abfb17f44404eac91557338dad3a16341b6350d291d940c258abc72", + "role": "registered_input" + } + ], + "config_id": "config-7eb77602abeb4485", + "executor_id": "executor-ff5e68ab4e98d13e", + "reference_inputs": [ + { + "kind": "registered_refinement_contract", + "source": { + "root": "repository", + "path": "perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "sha256": "b808fb2c7e44b282fe5e8a7d55a8f23a12101451104c6c639e2991fec34a2dff", + "role": "refinement_registry" + }, + "json_pointer": "/lanes/incomplete-ionization-temperature-equilibrium-v1", + "identity_sha256": "4f9a4c75beca7a50fc973a0c66a4040ce19d49019b6e6e909b20ab27eb9d8040", + "grid": { + "parameter": "intervals_per_electrical_layer", + "values": [ + 40, + 80, + 160 + ] + }, + "tolerance": { + "parameter": "poisson_residual_tolerance_factor", + "factors": [ + 1.0, + 0.1, + 0.01 + ] + }, + "observables": { + "acceptor_ionized_fraction_temperature_curve": { + "comparison": "absolute_linf", + "limit": 1e-12, + "units": "1" + }, + "donor_ionized_fraction_temperature_curve": { + "comparison": "absolute_linf", + "limit": 1e-12, + "units": "1" + }, + "normalized_integrated_charge_width_temperature_curve": { + "comparison": "absolute_linf", + "limit": 0.0005, + "units": "1" + }, + "normalized_peak_field_temperature_curve": { + "comparison": "absolute_linf", + "limit": 0.002, + "units": "1" + }, + "space_charge_balance_temperature_curve": { + "comparison": "absolute_linf", + "limit": 0.001, + "units": "1" + } + }, + "quality_gates": { + "contact_thermodynamics_certified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "freeze_out_monotone_with_temperature": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "incomplete_ionization_topology_verified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "ionized_fractions_bounded": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "max_normalized_carrier_rate": { + "operator": "le", + "limit": 1e-12, + "units": "1" + }, + "max_normalized_poisson_residual": { + "operator": "le", + "limit": 1e-08, + "units": "1" + }, + "max_relative_face_current": { + "operator": "le", + "limit": 1e-12, + "units": "1" + }, + "max_space_charge_balance_relative_error": { + "operator": "le", + "limit": 0.02, + "units": "1" + }, + "maximum_newton_iterations": { + "operator": "le", + "limit": 25.0, + "units": "1" + }, + "minimum_freeze_out_fraction_change": { + "operator": "ge", + "limit": 0.5, + "units": "1" + }, + "temperature_points_completed": { + "operator": "eq", + "limit": 5.0, + "units": "1" + }, + "terminal_densities_positive": { + "operator": "eq", + "limit": 1.0, + "units": "1" + } + } + }, + { + "kind": "historical_result_catalog", + "key": "incomplete-ionization-temperature-equilibrium-v1", + "manifest_pointer": "/capability_reconciliation/historical_refinement_results" + } + ], + "scope_limitations": [ + "This lane certifies only a dark homogeneous silicon p/n equilibrium with independent discrete donor and acceptor levels over the frozen 100-300 K scan.", + "The model excludes impurity-band formation, the Mott transition, band-gap narrowing, dopant capture kinetics, recombination, illumination, bias, heterojunctions, ions, selective contacts, and production experiment routes.", + "Low-temperature depletion charge is state dependent, so the fully-ionized abrupt depletion formula is not used as a quality oracle. This is internal numerical evidence, not Sentaurus or PC1D validation or experimental validation." + ], + "qualification_gaps": [ + "Historical source/environment/config/protocol applicability needs requalification, not relabeling", + "Cell arrays and full certificate closure were not replayed in this inventory", + "Internal lane budgets are not general external SCAPS or 45-record HI limits" + ], + "new_source_qualified": false + }, + { + "capability_id": "lane-f3d0d1307884e5e8", + "origin_key": "lane:interface-charge-device-stress-resolved-v2", + "kind": "refinement_lane", + "config_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/interface_charge_research.yaml", + "sha256": "523449448807e4993f999300308096003c3eeaf280924b7af208915a3cf41a54", + "role": "registered_input" + } + ], + "config_id": "config-3cc522bdc594b20e", + "executor_id": "executor-10baa23e892b145e", + "reference_inputs": [ + { + "kind": "registered_refinement_contract", + "source": { + "root": "repository", + "path": "perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "sha256": "b808fb2c7e44b282fe5e8a7d55a8f23a12101451104c6c639e2991fec34a2dff", + "role": "refinement_registry" + }, + "json_pointer": "/lanes/interface-charge-device-stress-resolved-v2", + "identity_sha256": "e6eb0d5ef6ce32378f32c9de51ef9516bb6a1850d094ea096ab213caa24410bb", + "grid": { + "parameter": "N_grid", + "values": [ + 30, + 60, + 90 + ] + }, + "tolerance": { + "parameter": "qf_residual_tolerance_factor", + "factors": [ + 1.0, + 0.5 + ] + }, + "observables": { + "stress_current_density_A_m2": { + "comparison": "relative_linf", + "limit": 0.01, + "units": "A m-2" + }, + "stress_equilibrium_occupancy": { + "comparison": "absolute_linf", + "limit": 0.0002, + "units": "1" + }, + "stress_interface_occupancy": { + "comparison": "absolute_linf", + "limit": 0.0002, + "units": "1" + }, + "stress_sheet_charge_C_m2": { + "comparison": "pointwise_relative_linf", + "limit": 0.01, + "units": "C m-2" + }, + "stress_trace_potential_shift_V": { + "comparison": "absolute_linf", + "limit": 0.001, + "units": "V" + } + }, + "quality_gates": { + "all_points_certified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "barrier_shift_charge_sign_consistent": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "calibration_factors_unity": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "charge_law_consistent": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "contact_thermodynamics_certified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "dark_charge_off_bit_identical": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "dark_incremental_charge_zero_C_m2": { + "operator": "le", + "limit": 0.0, + "units": "C m-2" + }, + "dark_reference_certified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "dark_reference_hash_verified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "dark_trace_shift_zero_V": { + "operator": "le", + "limit": 0.0, + "units": "V" + }, + "grid_geometry_aligned": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "interface_evidence_aligned": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "microscopic_defect_contract_verified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "max_charge_fraction_of_one_electron": { + "operator": "le", + "limit": 1.0, + "units": "1" + }, + "max_continuity_bound_A_m2": { + "operator": "le", + "limit": 0.0001, + "units": "A m-2" + }, + "max_current_spread_A_m2": { + "operator": "le", + "limit": 0.0001, + "units": "A m-2" + }, + "max_interface_local_residual": { + "operator": "le", + "limit": 1e-07, + "units": "1" + }, + "max_normalized_cell_residual": { + "operator": "le", + "limit": 4e-07, + "units": "1" + }, + "max_normalized_gauss_residual": { + "operator": "le", + "limit": 1e-10, + "units": "1" + }, + "max_poisson_residual": { + "operator": "le", + "limit": 1e-08, + "units": "1" + }, + "max_scaled_local_jacobian_condition": { + "operator": "le", + "limit": "1.0e8", + "units": "1" + }, + "occupancy_bounded": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "parameter_values_applied": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "rebaseline_acknowledged": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "research_charge_closure_active": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "stress_point_count": { + "operator": "eq", + "limit": 9.0, + "units": "1" + }, + "two_sided_topology_active": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "variant_stack_identities_unique": { + "operator": "eq", + "limit": 1.0, + "units": "1" + } + } + }, + { + "kind": "historical_result_catalog", + "key": "interface-charge-device-stress-resolved-v2", + "manifest_pointer": "/capability_reconciliation/historical_refinement_results" + } + ], + "scope_limitations": [ + "This resolved companion retains every v1 stress point and acceptance gate while adding N90 as the terminal grid.", + "The finite-difference Jacobian probe is fixed at 7e-6 across tolerance factors; residual and Poisson tolerances remain refined by the matrix factor.", + "The v1 N30/N60 matrix is partial because the Nd=2e15 illuminated sheet charge changes by 1.4735 percent; it is not overwritten by this lane.", + "N120 at tolerance factor 0.5 fails closed for the Nd=2e15 dark-bias target and remains outside the supported solver basin.", + "This one-factor-at-a-time stress matrix does not establish interaction effects between Et, CBO, Nd, and Nt.", + "Charge-barrier sign consistency is an internal electrostatic law check, not an experimental trend validation.", + "The lane remains limited to the purpose-built two-layer stack and equilibrium-referenced incremental charge.", + "Transient, impedance, 2-D, production experiment routes, absolute trap charge, and whole-device neutrality remain out of scope." + ], + "qualification_gaps": [ + "Historical source/environment/config/protocol applicability needs requalification, not relabeling", + "Cell arrays and full certificate closure were not replayed in this inventory", + "Internal lane budgets are not general external SCAPS or 45-record HI limits" + ], + "new_source_qualified": false + }, + { + "capability_id": "lane-e95ec3a450b16504", + "origin_key": "lane:interface-charge-device-stress-v1", + "kind": "refinement_lane", + "config_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/interface_charge_research.yaml", + "sha256": "523449448807e4993f999300308096003c3eeaf280924b7af208915a3cf41a54", + "role": "registered_input" + } + ], + "config_id": "config-3cc522bdc594b20e", + "executor_id": "executor-10baa23e892b145e", + "reference_inputs": [ + { + "kind": "registered_refinement_contract", + "source": { + "root": "repository", + "path": "perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "sha256": "b808fb2c7e44b282fe5e8a7d55a8f23a12101451104c6c639e2991fec34a2dff", + "role": "refinement_registry" + }, + "json_pointer": "/lanes/interface-charge-device-stress-v1", + "identity_sha256": "557543ab1d96c27e8cd883296423e9c243130f2a44bc4f1bb76d40f9ed693559", + "grid": { + "parameter": "N_grid", + "values": [ + 30, + 60 + ] + }, + "tolerance": { + "parameter": "qf_residual_tolerance_factor", + "factors": [ + 1.0, + 0.5 + ] + }, + "observables": { + "stress_current_density_A_m2": { + "comparison": "relative_linf", + "limit": 0.01, + "units": "A m-2" + }, + "stress_equilibrium_occupancy": { + "comparison": "absolute_linf", + "limit": 0.0002, + "units": "1" + }, + "stress_interface_occupancy": { + "comparison": "absolute_linf", + "limit": 0.0002, + "units": "1" + }, + "stress_sheet_charge_C_m2": { + "comparison": "pointwise_relative_linf", + "limit": 0.01, + "units": "C m-2" + }, + "stress_trace_potential_shift_V": { + "comparison": "absolute_linf", + "limit": 0.001, + "units": "V" + } + }, + "quality_gates": { + "all_points_certified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "barrier_shift_charge_sign_consistent": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "calibration_factors_unity": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "charge_law_consistent": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "contact_thermodynamics_certified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "dark_charge_off_bit_identical": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "dark_incremental_charge_zero_C_m2": { + "operator": "le", + "limit": 0.0, + "units": "C m-2" + }, + "dark_reference_certified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "dark_reference_hash_verified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "dark_trace_shift_zero_V": { + "operator": "le", + "limit": 0.0, + "units": "V" + }, + "grid_geometry_aligned": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "interface_evidence_aligned": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "microscopic_defect_contract_verified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "max_charge_fraction_of_one_electron": { + "operator": "le", + "limit": 1.0, + "units": "1" + }, + "max_continuity_bound_A_m2": { + "operator": "le", + "limit": 0.0001, + "units": "A m-2" + }, + "max_current_spread_A_m2": { + "operator": "le", + "limit": 0.0001, + "units": "A m-2" + }, + "max_interface_local_residual": { + "operator": "le", + "limit": 1e-07, + "units": "1" + }, + "max_normalized_cell_residual": { + "operator": "le", + "limit": 4e-07, + "units": "1" + }, + "max_normalized_gauss_residual": { + "operator": "le", + "limit": 1e-10, + "units": "1" + }, + "max_poisson_residual": { + "operator": "le", + "limit": 1e-08, + "units": "1" + }, + "max_scaled_local_jacobian_condition": { + "operator": "le", + "limit": "1.0e8", + "units": "1" + }, + "occupancy_bounded": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "parameter_values_applied": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "rebaseline_acknowledged": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "research_charge_closure_active": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "stress_point_count": { + "operator": "eq", + "limit": 9.0, + "units": "1" + }, + "two_sided_topology_active": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "variant_stack_identities_unique": { + "operator": "eq", + "limit": 1.0, + "units": "1" + } + } + }, + { + "kind": "historical_result_catalog", + "key": "interface-charge-device-stress-v1", + "manifest_pointer": "/capability_reconciliation/historical_refinement_results" + } + ], + "scope_limitations": [ + "This one-factor-at-a-time stress matrix does not establish interaction effects between Et, CBO, Nd, and Nt.", + "Charge-barrier sign consistency is an internal electrostatic law check, not an experimental trend validation.", + "The lane remains limited to the purpose-built two-layer stack and equilibrium-referenced incremental charge.", + "Transient, impedance, 2-D, production experiment routes, absolute trap charge, and whole-device neutrality remain out of scope.", + "Executor v2 binds every stress variant to an uncalibrated canonical microscopic v1 document; prior certificates are inherited evidence only." + ], + "qualification_gaps": [ + "Historical source/environment/config/protocol applicability needs requalification, not relabeling", + "Cell arrays and full certificate closure were not replayed in this inventory", + "Internal lane budgets are not general external SCAPS or 45-record HI limits" + ], + "new_source_qualified": false + }, + { + "capability_id": "lane-5da5b7d376d6e06e", + "origin_key": "lane:interface-charge-equilibrium-referenced-v1", + "kind": "refinement_lane", + "config_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/interface_charge_research.yaml", + "sha256": "523449448807e4993f999300308096003c3eeaf280924b7af208915a3cf41a54", + "role": "registered_input" + } + ], + "config_id": "config-3cc522bdc594b20e", + "executor_id": "executor-2b8910c5d9a3d2a2", + "reference_inputs": [ + { + "kind": "registered_refinement_contract", + "source": { + "root": "repository", + "path": "perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "sha256": "b808fb2c7e44b282fe5e8a7d55a8f23a12101451104c6c639e2991fec34a2dff", + "role": "refinement_registry" + }, + "json_pointer": "/lanes/interface-charge-equilibrium-referenced-v1", + "identity_sha256": "51e23833c162a90a0205142e515f58970268079ed83c3efcb12a0533ddbe3272", + "grid": { + "parameter": "N_grid", + "values": [ + 30, + 60, + 120 + ] + }, + "tolerance": { + "parameter": "qf_residual_tolerance_factor", + "factors": [ + 1.0, + 0.5, + 0.25 + ] + }, + "observables": { + "charged_current_density_A_m2": { + "comparison": "relative_linf", + "limit": 0.005, + "units": "A m-2" + }, + "interface_occupancy": { + "comparison": "absolute_linf", + "limit": 0.0001, + "units": "1" + }, + "interface_sheet_charge_C_m2": { + "comparison": "pointwise_relative_linf", + "limit": 0.005, + "units": "C m-2" + }, + "interface_trace_potential_shift_V": { + "comparison": "absolute_linf", + "limit": 0.001, + "units": "V" + } + }, + "quality_gates": { + "all_points_certified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "calibration_factors_unity": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "charge_law_consistent": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "contact_thermodynamics_certified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "dark_charge_off_bit_identical": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "dark_incremental_charge_zero_C_m2": { + "operator": "le", + "limit": 0.0, + "units": "C m-2" + }, + "dark_reference_certified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "dark_reference_hash_verified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "dark_trace_shift_zero_V": { + "operator": "le", + "limit": 0.0, + "units": "V" + }, + "interface_evidence_aligned": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "microscopic_defect_contract_verified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "max_charge_fraction_of_one_electron": { + "operator": "le", + "limit": 1.0, + "units": "1" + }, + "max_continuity_bound_A_m2": { + "operator": "le", + "limit": 0.0001, + "units": "A m-2" + }, + "max_current_spread_A_m2": { + "operator": "le", + "limit": 0.0001, + "units": "A m-2" + }, + "max_interface_local_residual": { + "operator": "le", + "limit": 1e-07, + "units": "1" + }, + "max_normalized_cell_residual": { + "operator": "le", + "limit": 4e-07, + "units": "1" + }, + "max_normalized_gauss_residual": { + "operator": "le", + "limit": 1e-10, + "units": "1" + }, + "max_poisson_residual": { + "operator": "le", + "limit": 1e-08, + "units": "1" + }, + "max_scaled_local_jacobian_condition": { + "operator": "le", + "limit": "1.0e8", + "units": "1" + }, + "occupancy_bounded": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "rebaseline_acknowledged": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "research_charge_closure_active": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "two_sided_topology_active": { + "operator": "eq", + "limit": 1.0, + "units": "1" + } + } + }, + { + "kind": "historical_result_catalog", + "key": "interface-charge-equilibrium-referenced-v1", + "manifest_pointer": "/capability_reconciliation/historical_refinement_results" + } + ], + "scope_limitations": [ + "This lane certifies equilibrium-referenced incremental charge, not absolute trap charge, fixed countercharge, or whole-device neutrality.", + "The purpose-built two-layer stack is an internal numerical reference and makes no SCAPS or experimental-validation claim.", + "Only the QF steady-state research API is in scope; transient, impedance, 2-D, and production experiment routes remain parked.", + "Executor v2 requires one uncalibrated canonical microscopic v1 document per interface and exact sigma*v_th*N_t identity with the compatibility SRV; v1 certificates predate this contract." + ], + "qualification_gaps": [ + "Historical source/environment/config/protocol applicability needs requalification, not relabeling", + "Cell arrays and full certificate closure were not replayed in this inventory", + "Internal lane budgets are not general external SCAPS or 45-record HI limits" + ], + "new_source_qualified": false + }, + { + "capability_id": "lane-54128f5212664526", + "origin_key": "lane:interface-charge-qf-dc-jv-v1", + "kind": "refinement_lane", + "config_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/interface_charge_jv_research.yaml", + "sha256": "5f4bbf89cf2d95fb020cdc9ade111d838ed38cc1c14a722e5fd800e30c6590c1", + "role": "registered_input" + } + ], + "config_id": "config-be2fba72dc1e3066", + "executor_id": "executor-df2a34699217fddc", + "reference_inputs": [ + { + "kind": "registered_refinement_contract", + "source": { + "root": "repository", + "path": "perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "sha256": "b808fb2c7e44b282fe5e8a7d55a8f23a12101451104c6c639e2991fec34a2dff", + "role": "refinement_registry" + }, + "json_pointer": "/lanes/interface-charge-qf-dc-jv-v1", + "identity_sha256": "d06eaa8ffa242cfd8230994255e7696bd2b48408111bc3b42560e38efedf8f2a", + "grid": { + "parameter": "N_grid", + "values": [ + 30, + 60, + 90 + ] + }, + "tolerance": { + "parameter": "qf_residual_tolerance_factor", + "factors": [ + 1.0, + 0.5, + 0.25 + ] + }, + "observables": { + "ff": { + "comparison": "absolute_linf", + "limit": 0.005, + "units": "1" + }, + "interface_occupancy": { + "comparison": "absolute_linf", + "limit": 0.0001, + "units": "1" + }, + "interface_sheet_charge_C_m2": { + "comparison": "pointwise_relative_linf", + "limit": 0.005, + "units": "C m-2" + }, + "interface_trace_potential_shift_V": { + "comparison": "absolute_linf", + "limit": 0.001, + "units": "V" + }, + "jsc_A_m2": { + "comparison": "relative_linf", + "limit": 0.005, + "units": "A m-2" + }, + "jv_normalized": { + "comparison": "absolute_linf", + "limit": 0.005, + "units": "1" + }, + "voc_V": { + "comparison": "absolute_linf", + "limit": 0.001, + "units": "V" + } + }, + "quality_gates": { + "all_points_certified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "calibration_factors_unity": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "charge_law_consistent": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "contact_thermodynamics_certified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "continuation_bridge_count": { + "operator": "le", + "limit": 8.0, + "units": "1" + }, + "dark_charge_off_bit_identical": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "dark_incremental_charge_zero_C_m2": { + "operator": "le", + "limit": 0.0, + "units": "C m-2" + }, + "dark_reference_certified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "dark_reference_hash_verified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "dark_trace_shift_zero_V": { + "operator": "le", + "limit": 0.0, + "units": "V" + }, + "grid_identity_verified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "interface_evidence_aligned": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "max_charge_fraction_of_one_electron": { + "operator": "le", + "limit": 1.0, + "units": "1" + }, + "max_contact_fermi_level_span_eV": { + "operator": "le", + "limit": 0.005, + "units": "eV" + }, + "max_continuity_bound_A_m2": { + "operator": "le", + "limit": 0.0001, + "units": "A m-2" + }, + "max_current_spread_A_m2": { + "operator": "le", + "limit": 0.0001, + "units": "A m-2" + }, + "max_interface_local_residual": { + "operator": "le", + "limit": 1e-07, + "units": "1" + }, + "max_normalized_cell_residual": { + "operator": "le", + "limit": 4e-07, + "units": "1" + }, + "max_normalized_gauss_residual": { + "operator": "le", + "limit": 1e-10, + "units": "1" + }, + "max_poisson_residual": { + "operator": "le", + "limit": 1e-08, + "units": "1" + }, + "max_scaled_local_jacobian_condition": { + "operator": "le", + "limit": "1.0e8", + "units": "1" + }, + "microscopic_defect_contract_verified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "occupancy_bounded": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "protocol_identity_verified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "rebaseline_acknowledged": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "reported_point_count": { + "operator": "eq", + "limit": 5.0, + "units": "1" + }, + "research_charge_closure_active": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "stack_identity_verified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "two_sided_topology_active": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "voc_bracketed": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "voltage_sampling_aligned": { + "operator": "eq", + "limit": 1.0, + "units": "1" + } + } + }, + { + "kind": "historical_result_catalog", + "key": "interface-charge-qf-dc-jv-v1", + "manifest_pointer": "/capability_reconciliation/historical_refinement_results" + } + ], + "scope_limitations": [ + "This lane recertifies the exact illuminated, ion-free, zero-scan-rate QF/DC J-V path admitted by the public charged-interface API.", + "It certifies the frozen 0.0 to 0.1 V five-point protocol on an uncalibrated synthetic two-layer reference; it does not establish device performance, SCAPS parity, external-solver validity, or experimental validity.", + "The charge law is equilibrium-referenced incremental sheet charge, not absolute trap charge, fixed countercharge, or whole-device neutrality.", + "Transient hysteresis, mobile ions, explicit bulk-defect composition, impedance, 2-D, degradation, external circuits, and electrothermal coupling remain outside this lane." + ], + "qualification_gaps": [ + "Historical source/environment/config/protocol applicability needs requalification, not relabeling", + "Cell arrays and full certificate closure were not replayed in this inventory", + "Internal lane budgets are not general external SCAPS or 45-record HI limits" + ], + "new_source_qualified": false + }, + { + "capability_id": "lane-ee113ad477b8697e", + "origin_key": "lane:interface-recombination-charge-off", + "kind": "refinement_lane", + "config_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/interface_charge_reference.yaml", + "sha256": "300f57a256dc764995b916a55b98b642ecd8244eccd2ca456624d9521e0e2705", + "role": "registered_input" + } + ], + "config_id": "config-d84c8112dd429b78", + "executor_id": "executor-cd5daa7fb87af0af", + "reference_inputs": [ + { + "kind": "registered_refinement_contract", + "source": { + "root": "repository", + "path": "perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "sha256": "b808fb2c7e44b282fe5e8a7d55a8f23a12101451104c6c639e2991fec34a2dff", + "role": "refinement_registry" + }, + "json_pointer": "/lanes/interface-recombination-charge-off", + "identity_sha256": "b9e56bc9253852b76a05e249cede349500ac2c5ae64b44add013a7ad1f5f709c", + "grid": { + "parameter": "N_grid", + "values": [ + 30, + 60, + 90 + ] + }, + "tolerance": { + "parameter": "qf_residual_tolerance_factor", + "factors": [ + 1.0, + 0.5, + 0.25 + ] + }, + "observables": { + "interface_flux_A_m2": { + "comparison": "absolute_linf", + "limit": 1.0, + "units": "A m-2" + }, + "jv_normalized": { + "comparison": "absolute_linf", + "limit": 0.005, + "units": "1" + }, + "voc_V": { + "comparison": "absolute_linf", + "limit": 0.001, + "units": "V" + } + }, + "quality_gates": { + "all_points_certified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "calibration_factors_unity": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "contact_thermodynamics_certified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "dark_reference_certified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "max_continuity_bound_A_m2": { + "operator": "le", + "limit": 0.0001, + "units": "A m-2" + }, + "max_current_spread_A_m2": { + "operator": "le", + "limit": 0.0001, + "units": "A m-2" + }, + "max_interface_carrier_balance_A_m2": { + "operator": "le", + "limit": 1e-08, + "units": "A m-2" + }, + "max_interface_local_residual": { + "operator": "le", + "limit": 1e-07, + "units": "1" + }, + "max_interface_state_residual_A_m2": { + "operator": "le", + "limit": 0.0001, + "units": "A m-2" + }, + "max_normalized_cell_residual": { + "operator": "le", + "limit": 4e-07, + "units": "1" + }, + "max_poisson_residual": { + "operator": "le", + "limit": 1e-08, + "units": "1" + }, + "occupancy_bounded": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "rebaseline_acknowledged": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "trap_electrostatic_charge_enabled": { + "operator": "eq", + "limit": 0.0, + "units": "1" + }, + "two_sided_topology_active": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "voc_bracketed": { + "operator": "eq", + "limit": 1.0, + "units": "1" + } + } + }, + { + "kind": "historical_result_catalog", + "key": "interface-recombination-charge-off", + "manifest_pointer": "/capability_reconciliation/historical_refinement_results" + } + ], + "scope_limitations": [ + "Interface electrostatic trap charge remains parked and must stay disabled in this lane.", + "This uncalibrated reference deliberately makes no SCAPS-parity claim.", + "The two-sided trace lane certifies recombination flux convergence only; it makes no charged Gauss-jump claim." + ], + "qualification_gaps": [ + "Historical source/environment/config/protocol applicability needs requalification, not relabeling", + "Cell arrays and full certificate closure were not replayed in this inventory", + "Internal lane budgets are not general external SCAPS or 45-record HI limits" + ], + "new_source_qualified": false + }, + { + "capability_id": "lane-84ef85f524daf74b", + "origin_key": "lane:interface-srh-identifiability-synthetic-v1", + "kind": "refinement_lane", + "config_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/configs/scaps_mirror_v2.yaml", + "sha256": "5500c9485f6a9518430511019546933277cdc3274fd3a005182394f39d2fcf67", + "role": "registered_input" + } + ], + "config_id": "config-877a0fa11e2c2506", + "executor_id": "executor-3ee6181236bb5a2d", + "reference_inputs": [ + { + "kind": "registered_refinement_contract", + "source": { + "root": "repository", + "path": "perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "sha256": "b808fb2c7e44b282fe5e8a7d55a8f23a12101451104c6c639e2991fec34a2dff", + "role": "refinement_registry" + }, + "json_pointer": "/lanes/interface-srh-identifiability-synthetic-v1", + "identity_sha256": "6c9a2c099044335a5cef63e67b0e14580c69aac01515b8e018ac0df5b2192373", + "grid": { + "parameter": "carrier_condition_count", + "values": [ + 5, + 7, + 9 + ] + }, + "tolerance": { + "parameter": "finite_difference_step_factor", + "factors": [ + 1.0, + 0.5, + 0.25 + ] + }, + "observables": { + "full_rank_best_fit_log10": { + "comparison": "absolute_linf", + "limit": 0.0001, + "units": "log10" + }, + "full_rank_condition_number": { + "comparison": "relative_linf", + "limit": 0.02, + "units": "1" + }, + "full_rank_normalized_singular_values": { + "comparison": "relative_linf", + "limit": 0.02, + "units": "1" + }, + "rank_deficient_absolute_nullspace_vector": { + "comparison": "absolute_linf", + "limit": 0.0001, + "units": "1" + }, + "rank_deficient_normalized_nonzero_singular_values": { + "comparison": "relative_linf", + "limit": 0.025, + "units": "1" + } + }, + "quality_gates": { + "all_multistarts_converged": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "all_profiles_completed": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "config_anchor_verified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "forward_failure_count": { + "operator": "eq", + "limit": 0.0, + "units": "1" + }, + "full_rank_analysis_certified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "full_rank_condition_number": { + "operator": "le", + "limit": 10.0, + "units": "1" + }, + "full_rank_expected_rank": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "full_rank_parameters_identifiable": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "full_rank_truth_error_log10": { + "operator": "le", + "limit": 0.0001, + "units": "log10" + }, + "full_rank_truth_recovered": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "rank_deficient_analysis_certified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "rank_deficient_capture_calibration_null_sum": { + "operator": "le", + "limit": 1e-08, + "units": "1" + }, + "rank_deficient_expected_rank": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "rank_deficient_parameter_claim_absent": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "rank_deficient_smallest_to_largest_singular_ratio": { + "operator": "le", + "limit": 1e-07, + "units": "1" + }, + "rank_deficient_trap_null_component": { + "operator": "le", + "limit": 1e-08, + "units": "1" + } + } + }, + { + "kind": "historical_result_catalog", + "key": "interface-srh-identifiability-synthetic-v1", + "manifest_pointer": "/capability_reconciliation/historical_refinement_results" + } + ], + "scope_limitations": [ + "This lane certifies only a deterministic, noise-free synthetic formula-local interface-SRH inverse problem; it does not solve a device J-V, TPV, impedance, ion, or electrostatic operating point.", + "The equilibrium-referenced sheet-charge observable is a research closure, not a production absolute interface-defect charge model, and the source YAML values are formula inputs rather than measured or material-truth claims.", + "The rank-deficient scenario must withhold a parameter claim for the exact capture-scale/calibration-factor product degeneracy; the full-rank recovery scenario fixes capture scale and estimates only trap density and calibration factor.", + "InterfaceDefect, het_recomb_despike, mobile ions, measured data, external solver validation, experimental validation, Bayesian inference, and uncertainty quantification remain excluded." + ], + "qualification_gaps": [ + "Historical source/environment/config/protocol applicability needs requalification, not relabeling", + "Cell arrays and full certificate closure were not replayed in this inventory", + "Internal lane budgets are not general external SCAPS or 45-record HI limits" + ], + "new_source_qualified": false + }, + { + "capability_id": "lane-c5f63593f6609839", + "origin_key": "lane:ionmonger-ion-aware-dc-resolved-v2", + "kind": "refinement_lane", + "config_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/ionmonger_benchmark.yaml", + "sha256": "fbc82c9b85d121c459ab08d07d1c7f886eef36f4db669d354b79d260f43c8750", + "role": "registered_input" + } + ], + "config_id": "config-859da6c860403b26", + "executor_id": "executor-335693d399528f26", + "reference_inputs": [ + { + "kind": "registered_refinement_contract", + "source": { + "root": "repository", + "path": "perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "sha256": "b808fb2c7e44b282fe5e8a7d55a8f23a12101451104c6c639e2991fec34a2dff", + "role": "refinement_registry" + }, + "json_pointer": "/lanes/ionmonger-ion-aware-dc-resolved-v2", + "identity_sha256": "732ddc9f2aad296404f4c937bcb0c9d6f70df42a2dceb7320da7049e17ccb338", + "grid": { + "parameter": "N_grid", + "values": [ + 60, + 90, + 120 + ] + }, + "tolerance": { + "parameter": "componentwise_atol_refinement_factor", + "factors": [ + 1.0, + 0.1, + 0.01 + ] + }, + "observables": { + "dc_current_density_A_m2": { + "comparison": "relative_linf", + "limit": 0.005, + "units": "A m-2" + }, + "maximum_site_occupancy_fraction": { + "comparison": "relative_linf", + "limit": 0.01, + "units": "1" + }, + "positive_ion_centroid_fraction": { + "comparison": "absolute_linf", + "limit": 0.002, + "units": "1" + } + }, + "quality_gates": { + "candidate_diagnostics_pass": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "contact_not_inconsistent": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "diagnostics_complete": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "max_carrier_area_rate_A_m2": { + "operator": "le", + "limit": 0.1, + "units": "A m-2" + }, + "max_dc_face_current_spread_A_m2": { + "operator": "le", + "limit": 0.1, + "units": "A m-2" + }, + "max_ion_area_rate_A_m2": { + "operator": "le", + "limit": 1e-06, + "units": "A m-2" + }, + "max_ion_inventory_relative_drift": { + "operator": "le", + "limit": 1e-10, + "units": "1" + }, + "max_ionic_face_current_A_m2": { + "operator": "le", + "limit": 1e-06, + "units": "A m-2" + }, + "nonfinite_rhs_evaluations": { + "operator": "eq", + "limit": 0.0, + "units": "1" + }, + "nonfinite_trial_evaluations": { + "operator": "eq", + "limit": 0.0, + "units": "1" + }, + "required_consecutive_passes_met": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "site_occupancy_admissible": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "terminal_densities_positive": { + "operator": "eq", + "limit": 1.0, + "units": "1" + } + } + }, + { + "kind": "historical_result_catalog", + "key": "ionmonger-ion-aware-dc-resolved-v2", + "manifest_pointer": "/capability_reconciliation/historical_refinement_results" + } + ], + "scope_limitations": [ + "This resolved lane starts at N60 and does not erase the N30/N60/N90 v1 partial certificate or its 1.55 percent pointwise occupancy-grid discrepancy.", + "This lane certifies an internal fixed-bias mobile-ion numerical DC state, not the finite-rate J-V history or an external IonMonger curve.", + "The source deck lacks endpoint effective-DOS data, so contact thermodynamics remains compatible_unverified and the combined physical certificate is false.", + "Dynamic interface-state blocks remain excluded until their electrostatic charge closure is independently certified." + ], + "qualification_gaps": [ + "Historical source/environment/config/protocol applicability needs requalification, not relabeling", + "Cell arrays and full certificate closure were not replayed in this inventory", + "Internal lane budgets are not general external SCAPS or 45-record HI limits" + ], + "new_source_qualified": false + }, + { + "capability_id": "lane-500d85c643804b4b", + "origin_key": "lane:ionmonger-ion-aware-dc-v1", + "kind": "refinement_lane", + "config_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/ionmonger_benchmark.yaml", + "sha256": "fbc82c9b85d121c459ab08d07d1c7f886eef36f4db669d354b79d260f43c8750", + "role": "registered_input" + } + ], + "config_id": "config-859da6c860403b26", + "executor_id": "executor-335693d399528f26", + "reference_inputs": [ + { + "kind": "registered_refinement_contract", + "source": { + "root": "repository", + "path": "perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "sha256": "b808fb2c7e44b282fe5e8a7d55a8f23a12101451104c6c639e2991fec34a2dff", + "role": "refinement_registry" + }, + "json_pointer": "/lanes/ionmonger-ion-aware-dc-v1", + "identity_sha256": "8f9ce2d73db8cd4d03c66f25c87da3c3aced8f573e0957fa791da0d5403fa3bc", + "grid": { + "parameter": "N_grid", + "values": [ + 30, + 60, + 90 + ] + }, + "tolerance": { + "parameter": "componentwise_atol_refinement_factor", + "factors": [ + 1.0, + 0.1, + 0.01 + ] + }, + "observables": { + "dc_current_density_A_m2": { + "comparison": "relative_linf", + "limit": 0.005, + "units": "A m-2" + }, + "maximum_site_occupancy_fraction": { + "comparison": "relative_linf", + "limit": 0.01, + "units": "1" + }, + "positive_ion_centroid_fraction": { + "comparison": "absolute_linf", + "limit": 0.002, + "units": "1" + } + }, + "quality_gates": { + "candidate_diagnostics_pass": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "contact_not_inconsistent": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "diagnostics_complete": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "max_carrier_area_rate_A_m2": { + "operator": "le", + "limit": 0.1, + "units": "A m-2" + }, + "max_dc_face_current_spread_A_m2": { + "operator": "le", + "limit": 0.1, + "units": "A m-2" + }, + "max_ion_area_rate_A_m2": { + "operator": "le", + "limit": 1e-06, + "units": "A m-2" + }, + "max_ion_inventory_relative_drift": { + "operator": "le", + "limit": 1e-10, + "units": "1" + }, + "max_ionic_face_current_A_m2": { + "operator": "le", + "limit": 1e-06, + "units": "A m-2" + }, + "nonfinite_rhs_evaluations": { + "operator": "eq", + "limit": 0.0, + "units": "1" + }, + "nonfinite_trial_evaluations": { + "operator": "eq", + "limit": 0.0, + "units": "1" + }, + "required_consecutive_passes_met": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "site_occupancy_admissible": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "terminal_densities_positive": { + "operator": "eq", + "limit": 1.0, + "units": "1" + } + } + }, + { + "kind": "historical_result_catalog", + "key": "ionmonger-ion-aware-dc-v1", + "manifest_pointer": "/capability_reconciliation/historical_refinement_results" + } + ], + "scope_limitations": [ + "This lane certifies an internal fixed-bias mobile-ion numerical DC state, not the finite-rate J-V history or an external IonMonger curve.", + "The source deck lacks endpoint effective-DOS data, so contact thermodynamics remains compatible_unverified and the combined physical certificate is false.", + "Dynamic interface-state blocks remain excluded until their electrostatic charge closure is independently certified." + ], + "qualification_gaps": [ + "Historical source/environment/config/protocol applicability needs requalification, not relabeling", + "Cell arrays and full certificate closure were not replayed in this inventory", + "Internal lane budgets are not general external SCAPS or 45-record HI limits" + ], + "new_source_qualified": false + }, + { + "capability_id": "lane-b59b8f0f474425b0", + "origin_key": "lane:ionmonger-ion-aware-impedance-resolved-v1", + "kind": "refinement_lane", + "config_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/ionmonger_benchmark.yaml", + "sha256": "fbc82c9b85d121c459ab08d07d1c7f886eef36f4db669d354b79d260f43c8750", + "role": "registered_input" + } + ], + "config_id": "config-859da6c860403b26", + "executor_id": "executor-8a2224a08c58825a", + "reference_inputs": [ + { + "kind": "registered_refinement_contract", + "source": { + "root": "repository", + "path": "perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "sha256": "b808fb2c7e44b282fe5e8a7d55a8f23a12101451104c6c639e2991fec34a2dff", + "role": "refinement_registry" + }, + "json_pointer": "/lanes/ionmonger-ion-aware-impedance-resolved-v1", + "identity_sha256": "f7ccc75740e735795427f59a8d7f8f34a583e8acdc17860cbd381ac1775ff245", + "grid": { + "parameter": "N_grid", + "values": [ + 60, + 90, + 120 + ] + }, + "tolerance": { + "parameter": "finite_difference_step_factor", + "factors": [ + 1.0, + 0.5, + 0.25 + ] + }, + "observables": { + "impedance_magnitude_ohm_m2": { + "comparison": "pointwise_relative_linf", + "limit": 0.02, + "units": "ohm m2" + }, + "impedance_phase_deg": { + "comparison": "absolute_linf", + "limit": 1.0, + "units": "deg" + } + }, + "quality_gates": { + "all_frequency_points_certified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "contact_not_inconsistent": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "dc_numerically_certified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "frequency_window_certified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "impedance_numerically_certified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "max_backward_error": { + "operator": "le", + "limit": 1e-10, + "units": "1" + }, + "max_current_decomposition_relative_error": { + "operator": "le", + "limit": 1e-07, + "units": "1" + }, + "max_dc_ion_inventory_relative_drift": { + "operator": "le", + "limit": 1e-10, + "units": "1" + }, + "max_frequency_sampling_gap_decades": { + "operator": "le", + "limit": 0.5, + "units": "1" + }, + "max_ion_inventory_response_relative": { + "operator": "le", + "limit": 1e-08, + "units": "1" + }, + "max_mass_matrix_relative_error": { + "operator": "le", + "limit": 1e-08, + "units": "1" + }, + "max_relative_face_spread": { + "operator": "le", + "limit": 0.0005, + "units": "1" + }, + "site_occupancy_admissible": { + "operator": "eq", + "limit": 1.0, + "units": "1" + } + } + }, + { + "kind": "historical_result_catalog", + "key": "ionmonger-ion-aware-impedance-resolved-v1", + "manifest_pointer": "/capability_reconciliation/historical_refinement_results" + } + ], + "scope_limitations": [ + "This lane certifies internal ion-aware frequency-domain grid and finite-difference convergence, not an external impedance spectrum.", + "The source deck lacks endpoint effective-DOS data, so contact thermodynamics remains compatible_unverified even when numerical and frequency-window axes pass.", + "Dynamic interface-state blocks and transient lock-in agreement remain separate, fail-closed deliverables." + ], + "qualification_gaps": [ + "Historical source/environment/config/protocol applicability needs requalification, not relabeling", + "Cell arrays and full certificate closure were not replayed in this inventory", + "Internal lane budgets are not general external SCAPS or 45-record HI limits" + ], + "new_source_qualified": false + }, + { + "capability_id": "lane-077aabd76066b531", + "origin_key": "lane:ionmonger-mobile-ion-transient", + "kind": "refinement_lane", + "config_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/ionmonger_benchmark.yaml", + "sha256": "fbc82c9b85d121c459ab08d07d1c7f886eef36f4db669d354b79d260f43c8750", + "role": "registered_input" + } + ], + "config_id": "config-859da6c860403b26", + "executor_id": "executor-b708406c0c69eac5", + "reference_inputs": [ + { + "kind": "registered_refinement_contract", + "source": { + "root": "repository", + "path": "perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "sha256": "b808fb2c7e44b282fe5e8a7d55a8f23a12101451104c6c639e2991fec34a2dff", + "role": "refinement_registry" + }, + "json_pointer": "/lanes/ionmonger-mobile-ion-transient", + "identity_sha256": "2d92f2ca1e6927441bb16d0c4c2f8f22cc16d2e923bd814806d2486a8cd5b919", + "grid": { + "parameter": "N_grid", + "values": [ + 30, + 60, + 90 + ] + }, + "tolerance": { + "parameter": "componentwise_atol_refinement_factor", + "factors": [ + 1.0, + 0.1, + 0.01 + ] + }, + "observables": { + "voc_reverse_V": { + "comparison": "absolute_linf", + "limit": 0.001, + "units": "V" + }, + "hysteresis_index": { + "comparison": "absolute_linf", + "limit": 0.005, + "units": "1" + }, + "terminal_current_normalized_trace": { + "comparison": "absolute_linf", + "limit": 0.005, + "units": "1" + }, + "positive_ion_inventory_relative_trace": { + "comparison": "absolute_linf", + "limit": 1e-10, + "units": "1" + } + }, + "quality_gates": { + "bulk_srh_denominator_positive": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "diagnostics_complete": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "interface_srh_denominator_positive": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "jv_certified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "voc_bracketed": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "max_positive_ion_inventory_relative_drift": { + "operator": "le", + "limit": 1e-10, + "units": "1" + }, + "nonfinite_rhs_evaluations": { + "operator": "eq", + "limit": 0.0, + "units": "1" + }, + "nonfinite_trial_evaluations": { + "operator": "eq", + "limit": 0.0, + "units": "1" + }, + "terminal_densities_positive": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "zero_floor_diagnostics_pass": { + "operator": "eq", + "limit": 1.0, + "units": "1" + } + } + }, + { + "kind": "historical_result_catalog", + "key": "ionmonger-mobile-ion-transient", + "manifest_pointer": "/capability_reconciliation/historical_refinement_results" + } + ], + "scope_limitations": [ + "This lane certifies the registered local scan protocol, not the Courtier publication protocol.", + "Positive-ion inventory is available in snapshots; dual-ion inventory requires a future snapshot schema extension." + ], + "qualification_gaps": [ + "Historical source/environment/config/protocol applicability needs requalification, not relabeling", + "Cell arrays and full certificate closure were not replayed in this inventory", + "Internal lane budgets are not general external SCAPS or 45-record HI limits" + ], + "new_source_qualified": false + }, + { + "capability_id": "lane-f7e0f3e0963801d8", + "origin_key": "lane:multivalent-explicit-defect-qf-dc-v1", + "kind": "refinement_lane", + "config_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/scaps_defect_m1_double_donor_p.yaml", + "sha256": "43516a15f6ceeb6ba5fb4381c789e1c073ead4b101081d583da60c4bf9407290", + "role": "registered_input" + } + ], + "config_id": "config-a0a2d66216edf81e", + "executor_id": "executor-ff99a2bf3e80c9a9", + "reference_inputs": [ + { + "kind": "registered_refinement_contract", + "source": { + "root": "repository", + "path": "perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "sha256": "b808fb2c7e44b282fe5e8a7d55a8f23a12101451104c6c639e2991fec34a2dff", + "role": "refinement_registry" + }, + "json_pointer": "/lanes/multivalent-explicit-defect-qf-dc-v1", + "identity_sha256": "ed40f86e160c1668cfbfdf8f2fbd587e42c8b3f7604cf75f13a5f1e6d9a08ff6", + "grid": { + "parameter": "intervals_per_electrical_layer", + "values": [ + 24, + 48, + 96 + ] + }, + "tolerance": { + "parameter": "qf_dc_residual_tolerance_factor", + "factors": [ + 1.0, + 0.1, + 0.01 + ] + }, + "observables": { + "m1_integrated_defect_charge_C_m2": { + "comparison": "relative_linf", + "limit": 0.001, + "units": "C m-2" + }, + "m1_neutral_state_probability_profile": { + "comparison": "absolute_linf", + "limit": 0.0005, + "units": "1" + }, + "m1_normalized_charge_profile": { + "comparison": "absolute_linf", + "limit": 0.0005, + "units": "1" + }, + "m2_integrated_defect_charge_C_m2": { + "comparison": "relative_linf", + "limit": 0.001, + "units": "C m-2" + }, + "m2_neutral_state_probability_profile": { + "comparison": "absolute_linf", + "limit": 0.0005, + "units": "1" + }, + "m2_normalized_charge_profile": { + "comparison": "absolute_linf", + "limit": 0.0005, + "units": "1" + }, + "m3_integrated_defect_charge_C_m2": { + "comparison": "relative_linf", + "limit": 0.005, + "units": "C m-2" + }, + "m3_neutral_state_probability_profile": { + "comparison": "absolute_linf", + "limit": 0.0005, + "units": "1" + }, + "m3_normalized_charge_profile": { + "comparison": "absolute_linf", + "limit": 0.0005, + "units": "1" + }, + "pn_dark_electron_log10_profile": { + "comparison": "absolute_linf", + "limit": 0.005, + "units": "log10(m-3)" + }, + "pn_dark_hole_log10_profile": { + "comparison": "absolute_linf", + "limit": 0.005, + "units": "log10(m-3)" + }, + "pn_dark_potential_V": { + "comparison": "absolute_linf", + "limit": 0.0005, + "units": "V" + }, + "pn_ff": { + "comparison": "relative_linf", + "limit": 0.005, + "units": "1" + }, + "pn_jsc_A_m2": { + "comparison": "relative_linf", + "limit": 0.002, + "units": "A m-2" + }, + "pn_jv_current_A_m2": { + "comparison": "relative_linf", + "limit": 0.005, + "units": "A m-2" + }, + "pn_voc_V": { + "comparison": "absolute_linf", + "limit": 0.001, + "units": "V" + } + }, + "quality_gates": { + "all_states_certified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "charge_signs_verified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "contact_thermodynamics_certified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "default_multivalent_path_rejected": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "max_continuity_bound_A_m2": { + "operator": "le", + "limit": 0.0002, + "units": "A m-2" + }, + "max_current_spread_A_m2": { + "operator": "le", + "limit": 0.0002, + "units": "A m-2" + }, + "max_dark_current_A_m2": { + "operator": "le", + "limit": 1e-08, + "units": "A m-2" + }, + "max_dark_qf_span_V": { + "operator": "le", + "limit": 1e-10, + "units": "V" + }, + "max_mass_action_relative_error": { + "operator": "le", + "limit": 1e-10, + "units": "1" + }, + "max_master_equation_residual_s1": { + "operator": "le", + "limit": 1e-06, + "units": "s-1" + }, + "max_normalized_cell_residual": { + "operator": "le", + "limit": 1e-07, + "units": "1" + }, + "max_owned_probability_sum_error": { + "operator": "le", + "limit": 1e-12, + "units": "1" + }, + "max_poisson_residual": { + "operator": "le", + "limit": 1e-08, + "units": "1" + }, + "min_transition_rate_s1": { + "operator": "ge", + "limit": 0.0, + "units": "s-1" + }, + "multivalent_model_hashes_verified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "multivalent_topology_verified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "probability_bounded_without_clipping": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "scenario_count": { + "operator": "eq", + "limit": 3.0, + "units": "1" + }, + "single_transition_d2_potential_error_V": { + "operator": "le", + "limit": 1e-09, + "units": "V" + }, + "single_transition_d2_state_relative_error": { + "operator": "le", + "limit": 1e-08, + "units": "1" + }, + "terminal_densities_positive": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "voc_bracketed": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "voltage_points_completed": { + "operator": "eq", + "limit": 7.0, + "units": "1" + } + } + }, + { + "kind": "historical_result_catalog", + "key": "multivalent-explicit-defect-qf-dc-v1", + "manifest_pointer": "/capability_reconciliation/historical_refinement_results" + } + ], + "scope_limitations": [ + "Internal numerical convergence only; no SCAPS charge-state export is compared.", + "Uniform-layer stationary multivalent bulk defects; graded, metastable, dynamic, AC and mobile-ion routes are refused by the solver rather than certified here." + ], + "qualification_gaps": [ + "Historical source/environment/config/protocol applicability needs requalification, not relabeling", + "Cell arrays and full certificate closure were not replayed in this inventory", + "Internal lane budgets are not general external SCAPS or 45-record HI limits" + ], + "new_source_qualified": false + }, + { + "capability_id": "lane-d78898d8e12e7813", + "origin_key": "lane:no-ion-dae-transient-v1", + "kind": "refinement_lane", + "config_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/csi_vannijen2025_pn_cv.yaml", + "sha256": "eb4806e7167c258bd6fb5e47fe02ebadc92e8963055c06a73a5775a20178f5ad", + "role": "registered_input" + } + ], + "config_id": "config-cad7c517167453b3", + "executor_id": "executor-13431ab6bfabe2a7", + "reference_inputs": [ + { + "kind": "registered_refinement_contract", + "source": { + "root": "repository", + "path": "perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "sha256": "b808fb2c7e44b282fe5e8a7d55a8f23a12101451104c6c639e2991fec34a2dff", + "role": "refinement_registry" + }, + "json_pointer": "/lanes/no-ion-dae-transient-v1", + "identity_sha256": "d48169bd29b071f320aa37cfa4ede8a358176f37e2d3a54931e0dc7cd1d47d4b", + "grid": { + "parameter": "single_layer_intervals", + "values": [ + 8, + 16, + 32 + ] + }, + "tolerance": { + "parameter": "backward_euler_time_step_factor", + "factors": [ + 1.0, + 0.5, + 0.25 + ] + }, + "observables": { + "terminal_carrier_inventory_response": { + "comparison": "absolute_linf", + "limit": 0.04, + "units": "1" + }, + "terminal_log_density_error": { + "comparison": "absolute_linf", + "limit": 0.00011, + "units": "1" + }, + "terminal_potential_error_V": { + "comparison": "absolute_linf", + "limit": 5e-13, + "units": "V" + }, + "structured_dense_terminal_log_density_difference": { + "comparison": "absolute_linf", + "limit": 1e-10, + "units": "1" + }, + "structured_dense_terminal_potential_difference_V": { + "comparison": "absolute_linf", + "limit": 1e-12, + "units": "V" + } + }, + "quality_gates": { + "bulk_srh_denominator_positive": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "consistent_initial_condition_certified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "dense_reference_success": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "first_slice_topology_verified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "max_electron_balance_defect_A_m2": { + "operator": "le", + "limit": 2e-08, + "units": "A m-2" + }, + "max_hole_balance_defect_A_m2": { + "operator": "le", + "limit": 2e-08, + "units": "A m-2" + }, + "max_normalized_algebraic_residual": { + "operator": "le", + "limit": 1e-09, + "units": "1" + }, + "max_normalized_differential_residual": { + "operator": "le", + "limit": 1e-09, + "units": "1" + }, + "max_structured_dense_log_density_difference": { + "operator": "le", + "limit": 1e-10, + "units": "1" + }, + "max_structured_dense_potential_difference_V": { + "operator": "le", + "limit": 1e-12, + "units": "V" + }, + "max_terminal_log_density_error": { + "operator": "le", + "limit": 0.0005, + "units": "1" + }, + "max_terminal_potential_error_V": { + "operator": "le", + "limit": 1e-10, + "units": "V" + }, + "mol_numerical_health_passed": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "mol_reference_success": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "structured_analytic_success": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "structured_csr_nonzeros_per_node": { + "operator": "le", + "limit": 20.0, + "units": "1" + }, + "structured_jacobian_condition_finite": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "structured_rhs_work_fraction": { + "operator": "le", + "limit": 0.1, + "units": "1" + }, + "terminal_densities_positive": { + "operator": "eq", + "limit": 1.0, + "units": "1" + } + } + }, + { + "kind": "historical_result_catalog", + "key": "no-ion-dae-transient-v1", + "manifest_pointer": "/capability_reconciliation/historical_refinement_results" + } + ], + "scope_limitations": [ + "This lane certifies only the illuminated single-layer ohmic no-ion/no-interface research DAE slice extracted from the c-Si configuration.", + "Dense-central and structured-analytic backward Euler are compared to the same high-accuracy eliminated-Poisson MoL trajectory; this is internal numerical equivalence, not external device validation.", + "Selective contacts, InterfaceDefect, cross-node interface sampling, mobile ions, algebraic interface states, experiment routes, and backend routes remain excluded." + ], + "qualification_gaps": [ + "Historical source/environment/config/protocol applicability needs requalification, not relabeling", + "Cell arrays and full certificate closure were not replayed in this inventory", + "Internal lane budgets are not general external SCAPS or 45-record HI limits" + ], + "new_source_qualified": false + }, + { + "capability_id": "lane-5547d9e78904e730", + "origin_key": "lane:scaps-mirror-frozen-ion-ss", + "kind": "refinement_lane", + "config_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/scaps_mirror.yaml", + "sha256": "7ad4968d9c8249b76ca4e649d41c39e26727f6818cb81a15fe75f6b74b11b881", + "role": "registered_input" + } + ], + "config_id": "config-f6eea890796f5eb0", + "executor_id": "executor-f42ad925133ecfff", + "reference_inputs": [ + { + "kind": "registered_refinement_contract", + "source": { + "root": "repository", + "path": "perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "sha256": "b808fb2c7e44b282fe5e8a7d55a8f23a12101451104c6c639e2991fec34a2dff", + "role": "refinement_registry" + }, + "json_pointer": "/lanes/scaps-mirror-frozen-ion-ss", + "identity_sha256": "2ec9e046af69a6090c9015d5b215c937e68429e83b1d87e96a559f188bad3093", + "grid": { + "parameter": "N_grid", + "values": [ + 30, + 60, + 90 + ] + }, + "tolerance": { + "parameter": "steady_residual_tolerance_factor", + "factors": [ + 1.0, + 0.1, + 0.01 + ] + }, + "observables": { + "voc_V": { + "comparison": "absolute_linf", + "limit": 0.001, + "units": "V" + }, + "jsc_A_m2": { + "comparison": "relative_linf", + "limit": 0.002, + "units": "A m-2" + }, + "ff": { + "comparison": "relative_linf", + "limit": 0.005, + "units": "1" + }, + "pce_percent": { + "comparison": "relative_linf", + "limit": 0.005, + "units": "%" + }, + "jv_normalized": { + "comparison": "absolute_linf", + "limit": 0.005, + "units": "1" + } + }, + "quality_gates": { + "all_points_residual_converged": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "max_residual_per_s": { + "operator": "le", + "limit": 0.5, + "units": "s-1" + }, + "max_continuity_bound_A_m2": { + "operator": "le", + "limit": 0.1, + "units": "A m-2" + }, + "max_current_spread_A_m2": { + "operator": "le", + "limit": 0.01, + "units": "A m-2" + }, + "voc_bracketed": { + "operator": "eq", + "limit": 1.0, + "units": "1" + } + } + }, + { + "kind": "historical_result_catalog", + "key": "scaps-mirror-frozen-ion-ss", + "manifest_pointer": "/capability_reconciliation/historical_refinement_results" + } + ], + "scope_limitations": [ + "This lane certifies internal frozen-ion carrier steady states, not SCAPS parity.", + "The initial transient is a Newton seed and is not itself a steady-state certificate." + ], + "qualification_gaps": [ + "Historical source/environment/config/protocol applicability needs requalification, not relabeling", + "Cell arrays and full certificate closure were not replayed in this inventory", + "Internal lane budgets are not general external SCAPS or 45-record HI limits" + ], + "new_source_qualified": false + }, + { + "capability_id": "lane-0350f1d065d6fedc", + "origin_key": "lane:single-ion-algebraic-interface-dae-transient-resolved-v2", + "kind": "refinement_lane", + "config_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/interface_charge_research.yaml", + "sha256": "523449448807e4993f999300308096003c3eeaf280924b7af208915a3cf41a54", + "role": "registered_input" + } + ], + "config_id": "config-3cc522bdc594b20e", + "executor_id": "executor-489eba518576c628", + "reference_inputs": [ + { + "kind": "registered_refinement_contract", + "source": { + "root": "repository", + "path": "perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "sha256": "b808fb2c7e44b282fe5e8a7d55a8f23a12101451104c6c639e2991fec34a2dff", + "role": "refinement_registry" + }, + "json_pointer": "/lanes/single-ion-algebraic-interface-dae-transient-resolved-v2", + "identity_sha256": "876b57cfce93f0d4dd1e44eb7d10d488a0796b4baf565185764bc0d83e41685c", + "grid": { + "parameter": "intervals_per_electrical_layer", + "values": [ + 4, + 8, + 16 + ] + }, + "tolerance": { + "parameter": "backward_euler_time_step_factor", + "factors": [ + 1.0, + 0.5, + 0.25 + ] + }, + "observables": { + "structured_dense_terminal_interface_state_relative_difference": { + "comparison": "absolute_linf", + "limit": 1e-09, + "units": "1" + }, + "structured_dense_terminal_log_density_difference": { + "comparison": "absolute_linf", + "limit": 1e-09, + "units": "1" + }, + "structured_dense_terminal_positive_ion_relative_difference": { + "comparison": "absolute_linf", + "limit": 1e-10, + "units": "1" + }, + "structured_dense_terminal_potential_difference_V": { + "comparison": "absolute_linf", + "limit": 1e-11, + "units": "V" + }, + "terminal_interface_state_relative_error": { + "comparison": "absolute_linf", + "limit": 5e-07, + "units": "1" + }, + "terminal_interface_occupation": { + "comparison": "pointwise_relative_linf", + "limit": 0.03, + "units": "1" + }, + "terminal_log_density_error": { + "comparison": "absolute_linf", + "limit": 5e-07, + "units": "1" + }, + "terminal_positive_ion_relative_error": { + "comparison": "absolute_linf", + "limit": 3e-06, + "units": "1" + }, + "terminal_potential_error_V": { + "comparison": "absolute_linf", + "limit": 5e-09, + "units": "V" + } + }, + "quality_gates": { + "bulk_srh_denominator_positive": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "clamp_inactive_slice_verified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "combined_ion_interface_topology_verified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "consistent_initial_condition_certified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "dense_reference_success": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "max_electron_balance_defect_A_m2": { + "operator": "le", + "limit": 2e-08, + "units": "A m-2" + }, + "max_hole_balance_defect_A_m2": { + "operator": "le", + "limit": 2e-08, + "units": "A m-2" + }, + "max_interface_state_balance_A_m2": { + "operator": "le", + "limit": 2e-08, + "units": "A m-2" + }, + "max_normalized_algebraic_residual": { + "operator": "le", + "limit": 2e-08, + "units": "1" + }, + "max_normalized_carrier_residual": { + "operator": "le", + "limit": 5e-08, + "units": "1" + }, + "max_normalized_interface_residual": { + "operator": "le", + "limit": 2e-08, + "units": "1" + }, + "max_normalized_positive_ion_residual": { + "operator": "le", + "limit": 2e-08, + "units": "1" + }, + "max_positive_ion_balance_relative": { + "operator": "le", + "limit": 1e-12, + "units": "1" + }, + "max_positive_ion_inventory_relative_drift": { + "operator": "le", + "limit": 1e-12, + "units": "1" + }, + "max_positive_ion_rhs_inventory_relative": { + "operator": "le", + "limit": 1e-12, + "units": "1" + }, + "max_structured_dense_interface_state_relative_difference": { + "operator": "le", + "limit": 1e-09, + "units": "1" + }, + "max_structured_dense_log_density_difference": { + "operator": "le", + "limit": 1e-09, + "units": "1" + }, + "max_structured_dense_positive_ion_relative_difference": { + "operator": "le", + "limit": 1e-10, + "units": "1" + }, + "max_structured_dense_potential_difference_V": { + "operator": "le", + "limit": 1e-11, + "units": "V" + }, + "max_terminal_interface_state_relative_error": { + "operator": "le", + "limit": 5e-07, + "units": "1" + }, + "max_terminal_log_density_error": { + "operator": "le", + "limit": 5e-07, + "units": "1" + }, + "max_terminal_positive_ion_relative_error": { + "operator": "le", + "limit": 1e-05, + "units": "1" + }, + "max_terminal_potential_error_V": { + "operator": "le", + "limit": 5e-09, + "units": "V" + }, + "minimum_interface_state_relative_motion": { + "operator": "ge", + "limit": 0.001, + "units": "1" + }, + "minimum_positive_ion_relative_motion": { + "operator": "ge", + "limit": 1e-06, + "units": "1" + }, + "mol_numerical_health_passed": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "mol_reference_success": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "site_occupancy_admissible": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "structured_analytic_success": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "structured_csr_nonzeros_per_node": { + "operator": "le", + "limit": 27.0, + "units": "1" + }, + "structured_jacobian_condition_finite": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "structured_rhs_work_fraction": { + "operator": "le", + "limit": 0.1, + "units": "1" + }, + "terminal_densities_positive": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "terminal_interface_states_bounded": { + "operator": "eq", + "limit": 1.0, + "units": "1" + } + } + }, + { + "kind": "historical_result_catalog", + "key": "single-ion-algebraic-interface-dae-transient-resolved-v2", + "manifest_pointer": "/capability_reconciliation/historical_refinement_results" + } + ], + "scope_limitations": [ + "This lane certifies only a dark 10 mV, two-layer ohmic research slice with one synthetic positive mobile ion, blocking ion boundaries, one uncharged algebraic interface, and four DOS-bounded Fermi-Richardson states.", + "The positive-ion diffusion, reference density, and site limit are explicit synthetic protocol inputs injected into both electrical layers; they are not material parameters attributed to the source interface-charge configuration.", + "The 5e-8 carrier residual gate accounts for the measured float64 physical-rate subtraction floor on the 33-node grid; ion, interface, and algebraic residual gates remain 2e-8.", + "InterfaceDefect, configurable cross-node sampling, dynamic or charged interface states, dual ions, selective contacts, two-sided trace geometry, field mobility, photon recycling, experiments, and backend routes remain excluded.", + "The eliminated-interface-state MoL comparison and dense-versus-structured agreement are internal numerical evidence, not external solver validation, experimental validation, SCAPS parity, or a general ion/interface physics certificate." + ], + "qualification_gaps": [ + "Historical source/environment/config/protocol applicability needs requalification, not relabeling", + "Cell arrays and full certificate closure were not replayed in this inventory", + "Internal lane budgets are not general external SCAPS or 45-record HI limits" + ], + "new_source_qualified": false + }, + { + "capability_id": "lane-1816209e76bb9ac0", + "origin_key": "lane:single-ion-algebraic-interface-dae-transient-v1", + "kind": "refinement_lane", + "config_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/interface_charge_research.yaml", + "sha256": "523449448807e4993f999300308096003c3eeaf280924b7af208915a3cf41a54", + "role": "registered_input" + } + ], + "config_id": "config-3cc522bdc594b20e", + "executor_id": "executor-489eba518576c628", + "reference_inputs": [ + { + "kind": "registered_refinement_contract", + "source": { + "root": "repository", + "path": "perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "sha256": "b808fb2c7e44b282fe5e8a7d55a8f23a12101451104c6c639e2991fec34a2dff", + "role": "refinement_registry" + }, + "json_pointer": "/lanes/single-ion-algebraic-interface-dae-transient-v1", + "identity_sha256": "4c36ad1781466908573b4cf967e2d791d66a3eff8091989de2a8364ff641c7cb", + "grid": { + "parameter": "intervals_per_electrical_layer", + "values": [ + 4, + 8, + 16 + ] + }, + "tolerance": { + "parameter": "backward_euler_time_step_factor", + "factors": [ + 1.0, + 0.5, + 0.25 + ] + }, + "observables": { + "structured_dense_terminal_interface_state_relative_difference": { + "comparison": "absolute_linf", + "limit": 1e-09, + "units": "1" + }, + "structured_dense_terminal_log_density_difference": { + "comparison": "absolute_linf", + "limit": 1e-09, + "units": "1" + }, + "structured_dense_terminal_positive_ion_relative_difference": { + "comparison": "absolute_linf", + "limit": 1e-10, + "units": "1" + }, + "structured_dense_terminal_potential_difference_V": { + "comparison": "absolute_linf", + "limit": 1e-11, + "units": "V" + }, + "terminal_interface_state_relative_error": { + "comparison": "absolute_linf", + "limit": 5e-07, + "units": "1" + }, + "terminal_interface_occupation": { + "comparison": "pointwise_relative_linf", + "limit": 0.03, + "units": "1" + }, + "terminal_log_density_error": { + "comparison": "absolute_linf", + "limit": 5e-07, + "units": "1" + }, + "terminal_positive_ion_relative_error": { + "comparison": "absolute_linf", + "limit": 1e-06, + "units": "1" + }, + "terminal_potential_error_V": { + "comparison": "absolute_linf", + "limit": 5e-09, + "units": "V" + } + }, + "quality_gates": { + "bulk_srh_denominator_positive": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "clamp_inactive_slice_verified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "combined_ion_interface_topology_verified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "consistent_initial_condition_certified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "dense_reference_success": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "max_electron_balance_defect_A_m2": { + "operator": "le", + "limit": 2e-08, + "units": "A m-2" + }, + "max_hole_balance_defect_A_m2": { + "operator": "le", + "limit": 2e-08, + "units": "A m-2" + }, + "max_interface_state_balance_A_m2": { + "operator": "le", + "limit": 2e-08, + "units": "A m-2" + }, + "max_normalized_algebraic_residual": { + "operator": "le", + "limit": 2e-08, + "units": "1" + }, + "max_normalized_carrier_residual": { + "operator": "le", + "limit": 2e-08, + "units": "1" + }, + "max_normalized_interface_residual": { + "operator": "le", + "limit": 2e-08, + "units": "1" + }, + "max_normalized_positive_ion_residual": { + "operator": "le", + "limit": 2e-08, + "units": "1" + }, + "max_positive_ion_balance_relative": { + "operator": "le", + "limit": 1e-12, + "units": "1" + }, + "max_positive_ion_inventory_relative_drift": { + "operator": "le", + "limit": 1e-12, + "units": "1" + }, + "max_positive_ion_rhs_inventory_relative": { + "operator": "le", + "limit": 1e-12, + "units": "1" + }, + "max_structured_dense_interface_state_relative_difference": { + "operator": "le", + "limit": 1e-09, + "units": "1" + }, + "max_structured_dense_log_density_difference": { + "operator": "le", + "limit": 1e-09, + "units": "1" + }, + "max_structured_dense_positive_ion_relative_difference": { + "operator": "le", + "limit": 1e-10, + "units": "1" + }, + "max_structured_dense_potential_difference_V": { + "operator": "le", + "limit": 1e-11, + "units": "V" + }, + "max_terminal_interface_state_relative_error": { + "operator": "le", + "limit": 5e-07, + "units": "1" + }, + "max_terminal_log_density_error": { + "operator": "le", + "limit": 5e-07, + "units": "1" + }, + "max_terminal_positive_ion_relative_error": { + "operator": "le", + "limit": 1e-06, + "units": "1" + }, + "max_terminal_potential_error_V": { + "operator": "le", + "limit": 5e-09, + "units": "V" + }, + "minimum_interface_state_relative_motion": { + "operator": "ge", + "limit": 0.001, + "units": "1" + }, + "minimum_positive_ion_relative_motion": { + "operator": "ge", + "limit": 1e-06, + "units": "1" + }, + "mol_numerical_health_passed": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "mol_reference_success": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "site_occupancy_admissible": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "structured_analytic_success": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "structured_csr_nonzeros_per_node": { + "operator": "le", + "limit": 27.0, + "units": "1" + }, + "structured_jacobian_condition_finite": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "structured_rhs_work_fraction": { + "operator": "le", + "limit": 0.1, + "units": "1" + }, + "terminal_densities_positive": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "terminal_interface_states_bounded": { + "operator": "eq", + "limit": 1.0, + "units": "1" + } + } + }, + { + "kind": "historical_result_catalog", + "key": "single-ion-algebraic-interface-dae-transient-v1", + "manifest_pointer": "/capability_reconciliation/historical_refinement_results" + } + ], + "scope_limitations": [ + "This lane certifies only a dark 10 mV, two-layer ohmic research slice with one synthetic positive mobile ion, blocking ion boundaries, one uncharged algebraic interface, and four DOS-bounded Fermi-Richardson states.", + "The positive-ion diffusion, reference density, and site limit are explicit synthetic protocol inputs injected into both electrical layers; they are not material parameters attributed to the source interface-charge configuration.", + "InterfaceDefect, configurable cross-node sampling, dynamic or charged interface states, dual ions, selective contacts, two-sided trace geometry, field mobility, photon recycling, experiments, and backend routes remain excluded.", + "The eliminated-interface-state MoL comparison and dense-versus-structured agreement are internal numerical evidence, not external solver validation, experimental validation, SCAPS parity, or a general ion/interface physics certificate." + ], + "qualification_gaps": [ + "Historical source/environment/config/protocol applicability needs requalification, not relabeling", + "Cell arrays and full certificate closure were not replayed in this inventory", + "Internal lane budgets are not general external SCAPS or 45-record HI limits" + ], + "new_source_qualified": false + }, + { + "capability_id": "lane-db596cd22f67423d", + "origin_key": "lane:single-positive-ion-dae-transient-v1", + "kind": "refinement_lane", + "config_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/ionmonger_benchmark.yaml", + "sha256": "fbc82c9b85d121c459ab08d07d1c7f886eef36f4db669d354b79d260f43c8750", + "role": "registered_input" + } + ], + "config_id": "config-859da6c860403b26", + "executor_id": "executor-04d382b2476a9e0d", + "reference_inputs": [ + { + "kind": "registered_refinement_contract", + "source": { + "root": "repository", + "path": "perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "sha256": "b808fb2c7e44b282fe5e8a7d55a8f23a12101451104c6c639e2991fec34a2dff", + "role": "refinement_registry" + }, + "json_pointer": "/lanes/single-positive-ion-dae-transient-v1", + "identity_sha256": "69c04be8c649fa042496857608f40b272b0f51be6d60ebb1ef23d4abd91ad50d", + "grid": { + "parameter": "single_layer_intervals", + "values": [ + 8, + 16, + 32 + ] + }, + "tolerance": { + "parameter": "backward_euler_time_step_factor", + "factors": [ + 1.0, + 0.5, + 0.25 + ] + }, + "observables": { + "structured_dense_terminal_log_density_difference": { + "comparison": "absolute_linf", + "limit": 1e-10, + "units": "1" + }, + "structured_dense_terminal_positive_ion_relative_difference": { + "comparison": "absolute_linf", + "limit": 1e-12, + "units": "1" + }, + "structured_dense_terminal_potential_difference_V": { + "comparison": "absolute_linf", + "limit": 1e-12, + "units": "V" + }, + "terminal_log_density_error": { + "comparison": "absolute_linf", + "limit": 1e-08, + "units": "1" + }, + "terminal_positive_ion_relative_error": { + "comparison": "absolute_linf", + "limit": 1.1e-10, + "units": "1" + }, + "terminal_potential_error_V": { + "comparison": "absolute_linf", + "limit": 5e-10, + "units": "V" + } + }, + "quality_gates": { + "bulk_srh_denominator_positive": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "consistent_initial_condition_certified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "dense_reference_success": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "max_electron_balance_defect_A_m2": { + "operator": "le", + "limit": 2e-08, + "units": "A m-2" + }, + "max_hole_balance_defect_A_m2": { + "operator": "le", + "limit": 2e-08, + "units": "A m-2" + }, + "max_normalized_algebraic_residual": { + "operator": "le", + "limit": 1e-09, + "units": "1" + }, + "max_normalized_carrier_residual": { + "operator": "le", + "limit": 1e-09, + "units": "1" + }, + "max_normalized_positive_ion_residual": { + "operator": "le", + "limit": 1e-09, + "units": "1" + }, + "max_positive_ion_balance_relative": { + "operator": "le", + "limit": 1e-12, + "units": "1" + }, + "max_positive_ion_inventory_relative_drift": { + "operator": "le", + "limit": 1e-12, + "units": "1" + }, + "max_positive_ion_rhs_inventory_relative": { + "operator": "le", + "limit": 1e-12, + "units": "1" + }, + "max_structured_dense_log_density_difference": { + "operator": "le", + "limit": 1e-10, + "units": "1" + }, + "max_structured_dense_positive_ion_relative_difference": { + "operator": "le", + "limit": 1e-12, + "units": "1" + }, + "max_structured_dense_potential_difference_V": { + "operator": "le", + "limit": 1e-12, + "units": "V" + }, + "max_terminal_log_density_error": { + "operator": "le", + "limit": 5e-08, + "units": "1" + }, + "max_terminal_positive_ion_relative_error": { + "operator": "le", + "limit": 5e-10, + "units": "1" + }, + "max_terminal_potential_error_V": { + "operator": "le", + "limit": 1e-09, + "units": "V" + }, + "minimum_positive_ion_relative_motion": { + "operator": "ge", + "limit": 1e-06, + "units": "1" + }, + "mol_numerical_health_passed": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "mol_reference_success": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "single_ion_topology_verified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "site_occupancy_admissible": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "structured_analytic_success": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "structured_csr_nonzeros_per_node": { + "operator": "le", + "limit": 27.0, + "units": "1" + }, + "structured_jacobian_condition_finite": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "structured_rhs_work_fraction": { + "operator": "le", + "limit": 0.1, + "units": "1" + }, + "terminal_densities_positive": { + "operator": "eq", + "limit": 1.0, + "units": "1" + } + } + }, + { + "kind": "historical_result_catalog", + "key": "single-positive-ion-dae-transient-v1", + "manifest_pointer": "/capability_reconciliation/historical_refinement_results" + } + ], + "scope_limitations": [ + "This lane certifies only the dark, 10 mV, single-layer ohmic, single-positive-ion blocking-boundary research DAE slice extracted from the IonMonger configuration.", + "Dense-central and structured-analytic backward Euler are compared to the same high-accuracy eliminated-Poisson MoL trajectory; this is internal numerical equivalence, not external device validation.", + "Negative mobile ions, selective contacts, InterfaceDefect, cross-node interface sampling, algebraic interface states, experiment routes, and backend routes remain excluded." + ], + "qualification_gaps": [ + "Historical source/environment/config/protocol applicability needs requalification, not relabeling", + "Cell arrays and full certificate closure were not replayed in this inventory", + "Internal lane budgets are not general external SCAPS or 45-record HI limits" + ], + "new_source_qualified": false + }, + { + "capability_id": "lane-ea8013ec21a124fd", + "origin_key": "lane:spatially-graded-explicit-defect-qf-dc-v1", + "kind": "refinement_lane", + "config_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/graded_distributed_defect_qf_dc_pn.yaml", + "sha256": "b6db3b87c509bafc7dae5e84640b12a0277668d612b4f9933f848a3ad99a715f", + "role": "registered_input" + } + ], + "config_id": "config-8cdce5d5383e09ba", + "executor_id": "executor-4bc0c0235c83e955", + "reference_inputs": [ + { + "kind": "registered_refinement_contract", + "source": { + "root": "repository", + "path": "perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "sha256": "b808fb2c7e44b282fe5e8a7d55a8f23a12101451104c6c639e2991fec34a2dff", + "role": "refinement_registry" + }, + "json_pointer": "/lanes/spatially-graded-explicit-defect-qf-dc-v1", + "identity_sha256": "713f69658e1f2344e2dc592f1520497e0c3a808b627b6507eae4e92fb3c28f9d", + "grid": { + "parameter": "intervals_per_electrical_layer", + "values": [ + 16, + 32, + 64 + ] + }, + "tolerance": { + "parameter": "qf_dc_residual_tolerance_factor", + "factors": [ + 1.0, + 0.1, + 0.01 + ] + }, + "observables": { + "built_in_potential_V": { + "comparison": "absolute_linf", + "limit": 0.0001, + "units": "V" + }, + "contact_reservoir_log10_m3": { + "comparison": "absolute_linf", + "limit": 0.005, + "units": "log10(m-3)" + }, + "dark_band_gap_eV_profile": { + "comparison": "absolute_linf", + "limit": 1e-12, + "units": "eV" + }, + "dark_electron_affinity_eV_profile": { + "comparison": "absolute_linf", + "limit": 1e-12, + "units": "eV" + }, + "dark_electron_log10_profile": { + "comparison": "absolute_linf", + "limit": 0.01, + "units": "log10(m-3)" + }, + "dark_hole_log10_profile": { + "comparison": "absolute_linf", + "limit": 0.01, + "units": "log10(m-3)" + }, + "dark_potential_V": { + "comparison": "absolute_linf", + "limit": 0.0005, + "units": "V" + }, + "dark_source_density_multiplier_profile": { + "comparison": "absolute_linf", + "limit": 1e-12, + "units": "1" + }, + "dark_source_normalized_charge_profile": { + "comparison": "absolute_linf", + "limit": 0.005, + "units": "1" + }, + "dark_source_occupancy_profile": { + "comparison": "absolute_linf", + "limit": 0.005, + "units": "1" + }, + "integrated_source_charge_C_m2": { + "comparison": "relative_linf", + "limit": 0.005, + "units": "C m-2" + }, + "jv_current_A_m2": { + "comparison": "relative_linf", + "limit": 0.002, + "units": "A m-2" + }, + "short_circuit_current_A_m2": { + "comparison": "relative_linf", + "limit": 0.002, + "units": "A m-2" + } + }, + "quality_gates": { + "all_states_certified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "contact_endpoints_verified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "contact_thermodynamics_certified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "default_spatial_path_rejected": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "energy_orders_completed": { + "operator": "eq", + "limit": 3.0, + "units": "1" + }, + "graded_energy_metadata_verified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "graded_model_hashes_verified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "graded_profiles_compiled_verified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "graded_topology_verified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "max_contact_fermi_level_span_eV": { + "operator": "le", + "limit": 1e-10, + "units": "eV" + }, + "max_continuity_bound_A_m2": { + "operator": "le", + "limit": 0.0002, + "units": "A m-2" + }, + "max_continuous_density_normalization_error": { + "operator": "le", + "limit": 1e-12, + "units": "1" + }, + "max_current_spread_A_m2": { + "operator": "le", + "limit": 0.0002, + "units": "A m-2" + }, + "max_dark_current_A_m2": { + "operator": "le", + "limit": 1e-06, + "units": "A m-2" + }, + "max_dark_qf_span_V": { + "operator": "le", + "limit": 1e-10, + "units": "V" + }, + "max_dark_recombination_rate_m3_s": { + "operator": "le", + "limit": "1.0e12", + "units": "m-3 s-1" + }, + "max_energy_contact_log10_change": { + "operator": "le", + "limit": 0.005, + "units": "log10(m-3)" + }, + "max_energy_current_relative_change": { + "operator": "le", + "limit": 0.005, + "units": "1" + }, + "max_energy_normalized_charge_change": { + "operator": "le", + "limit": 0.005, + "units": "1" + }, + "max_energy_occupancy_absolute_change": { + "operator": "le", + "limit": 0.005, + "units": "1" + }, + "max_energy_potential_change_V": { + "operator": "le", + "limit": 0.0005, + "units": "V" + }, + "max_energy_recombination_relative_change": { + "operator": "le", + "limit": 0.005, + "units": "1" + }, + "max_energy_tangent_relative_change": { + "operator": "le", + "limit": 0.005, + "units": "1" + }, + "max_interface_band_discontinuity_eV": { + "operator": "le", + "limit": 1e-12, + "units": "eV" + }, + "max_mass_action_relative_error": { + "operator": "le", + "limit": 1e-10, + "units": "1" + }, + "max_normalized_cell_residual": { + "operator": "le", + "limit": 1e-07, + "units": "1" + }, + "max_poisson_residual": { + "operator": "le", + "limit": 1e-08, + "units": "1" + }, + "minimum_band_gap_span_eV": { + "operator": "ge", + "limit": 0.03, + "units": "eV" + }, + "minimum_density_multiplier": { + "operator": "ge", + "limit": 0.5, + "units": "1" + }, + "minimum_kinetic_denominator_s1": { + "operator": "ge", + "limit": 1.0, + "units": "s-1" + }, + "minimum_support_margin_eV": { + "operator": "ge", + "limit": 0.04, + "units": "eV" + }, + "occupancy_bounded_without_clipping": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "profiled_species_count": { + "operator": "eq", + "limit": 3.0, + "units": "1" + }, + "source_species_count": { + "operator": "eq", + "limit": 4.0, + "units": "1" + }, + "terminal_densities_positive": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "voltage_points_completed": { + "operator": "eq", + "limit": 3.0, + "units": "1" + } + } + }, + { + "kind": "historical_result_catalog", + "key": "spatially-graded-explicit-defect-qf-dc-v1", + "manifest_pointer": "/capability_reconciliation/historical_refinement_results" + } + ], + "scope_limitations": [ + "This lane certifies one frozen continuous V-shaped band-graded p/n device with four distributed source species, three independent conservative density profiles, and one explicitly uniform species inside v3 documents.", + "Every outer spatial-grid and nonlinear-tolerance cell executes an inner 16/32/64 energy-order ladder. Endpoint-localized contacts, local band edges, Poisson charge, continuity recombination, analytic tangent, diagnostics, and three-point illuminated J-V share the same source contract and order.", + "Mobile ions, interfaces, selective contacts, field mobility, dynamic occupancy, Fermi-Dirac statistics, AC, transient defects, tunnelling, multivalent defects, hard-zero profiles, and discontinuous profile steps remain excluded.", + "This is internal SolarLab convergence evidence, not external SCAPS parity, experimental validation, or unique microscopic parameter identification." + ], + "qualification_gaps": [ + "Historical source/environment/config/protocol applicability needs requalification, not relabeling", + "Cell arrays and full certificate closure were not replayed in this inventory", + "Internal lane budgets are not general external SCAPS or 45-record HI limits" + ], + "new_source_qualified": false + }, + { + "capability_id": "lane-b6717f964e395329", + "origin_key": "lane:spatially-graded-explicit-defect-qf-dc-v2", + "kind": "refinement_lane", + "config_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/graded_distributed_defect_qf_dc_pn.yaml", + "sha256": "b6db3b87c509bafc7dae5e84640b12a0277668d612b4f9933f848a3ad99a715f", + "role": "registered_input" + } + ], + "config_id": "config-8cdce5d5383e09ba", + "executor_id": "executor-4bc0c0235c83e955", + "reference_inputs": [ + { + "kind": "registered_refinement_contract", + "source": { + "root": "repository", + "path": "perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "sha256": "b808fb2c7e44b282fe5e8a7d55a8f23a12101451104c6c639e2991fec34a2dff", + "role": "refinement_registry" + }, + "json_pointer": "/lanes/spatially-graded-explicit-defect-qf-dc-v2", + "identity_sha256": "8b82e94fc460cb5853af56ceeb89b7b097b3592c0381af627e02d22e354ffe2d", + "grid": { + "parameter": "intervals_per_electrical_layer", + "values": [ + 16, + 32, + 64 + ] + }, + "tolerance": { + "parameter": "qf_dc_residual_tolerance_factor", + "factors": [ + 1.0, + 0.1, + 0.01 + ] + }, + "observables": { + "built_in_potential_V": { + "comparison": "absolute_linf", + "limit": 0.0001, + "units": "V" + }, + "contact_reservoir_log10_m3": { + "comparison": "absolute_linf", + "limit": 0.005, + "units": "log10(m-3)" + }, + "dark_band_gap_eV_profile": { + "comparison": "absolute_linf", + "limit": 1e-12, + "units": "eV" + }, + "dark_electron_affinity_eV_profile": { + "comparison": "absolute_linf", + "limit": 1e-12, + "units": "eV" + }, + "dark_electron_log10_profile": { + "comparison": "absolute_linf", + "limit": 0.01, + "units": "log10(m-3)" + }, + "dark_hole_log10_profile": { + "comparison": "absolute_linf", + "limit": 0.01, + "units": "log10(m-3)" + }, + "dark_potential_V": { + "comparison": "absolute_linf", + "limit": 0.0005, + "units": "V" + }, + "dark_source_density_multiplier_profile": { + "comparison": "absolute_linf", + "limit": 1e-12, + "units": "1" + }, + "dark_source_normalized_charge_profile": { + "comparison": "absolute_linf", + "limit": 0.005, + "units": "1" + }, + "dark_source_occupancy_profile": { + "comparison": "absolute_linf", + "limit": 0.005, + "units": "1" + }, + "integrated_source_charge_C_m2": { + "comparison": "relative_linf", + "limit": 0.005, + "units": "C m-2" + }, + "jv_current_A_m2": { + "comparison": "relative_linf", + "limit": 0.002, + "units": "A m-2" + }, + "short_circuit_current_A_m2": { + "comparison": "relative_linf", + "limit": 0.002, + "units": "A m-2" + } + }, + "quality_gates": { + "all_states_certified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "contact_endpoints_verified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "contact_thermodynamics_certified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "default_spatial_path_rejected": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "energy_orders_completed": { + "operator": "eq", + "limit": 3.0, + "units": "1" + }, + "graded_energy_metadata_verified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "graded_model_hashes_verified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "graded_profiles_compiled_verified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "graded_topology_verified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "max_contact_fermi_level_span_eV": { + "operator": "le", + "limit": 1e-10, + "units": "eV" + }, + "max_continuity_bound_A_m2": { + "operator": "le", + "limit": 0.0002, + "units": "A m-2" + }, + "max_continuous_density_normalization_error": { + "operator": "le", + "limit": 1e-12, + "units": "1" + }, + "max_current_spread_A_m2": { + "operator": "le", + "limit": 0.0002, + "units": "A m-2" + }, + "max_dark_current_A_m2": { + "operator": "le", + "limit": 1e-06, + "units": "A m-2" + }, + "max_dark_qf_span_V": { + "operator": "le", + "limit": 1e-10, + "units": "V" + }, + "max_dark_recombination_rate_m3_s": { + "operator": "le", + "limit": "1.0e12", + "units": "m-3 s-1" + }, + "max_energy_contact_log10_change": { + "operator": "le", + "limit": 0.005, + "units": "log10(m-3)" + }, + "max_energy_current_relative_change": { + "operator": "le", + "limit": 0.005, + "units": "1" + }, + "max_energy_normalized_charge_change": { + "operator": "le", + "limit": 0.005, + "units": "1" + }, + "max_energy_occupancy_absolute_change": { + "operator": "le", + "limit": 0.005, + "units": "1" + }, + "max_energy_potential_change_V": { + "operator": "le", + "limit": 0.0005, + "units": "V" + }, + "max_energy_recombination_relative_change": { + "operator": "le", + "limit": 0.005, + "units": "1" + }, + "max_energy_tangent_relative_change": { + "operator": "le", + "limit": 0.005, + "units": "1" + }, + "max_interface_band_discontinuity_eV": { + "operator": "le", + "limit": 1e-12, + "units": "eV" + }, + "max_mass_action_relative_error": { + "operator": "le", + "limit": 1e-10, + "units": "1" + }, + "max_normalized_cell_residual": { + "operator": "le", + "limit": 1e-07, + "units": "1" + }, + "max_poisson_residual": { + "operator": "le", + "limit": 1e-08, + "units": "1" + }, + "minimum_band_gap_span_eV": { + "operator": "ge", + "limit": 0.03, + "units": "eV" + }, + "minimum_density_multiplier": { + "operator": "ge", + "limit": 0.5, + "units": "1" + }, + "minimum_kinetic_denominator_s1": { + "operator": "ge", + "limit": 1.0, + "units": "s-1" + }, + "minimum_support_margin_eV": { + "operator": "ge", + "limit": 0.04, + "units": "eV" + }, + "occupancy_bounded_without_clipping": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "profiled_species_count": { + "operator": "eq", + "limit": 3.0, + "units": "1" + }, + "source_species_count": { + "operator": "eq", + "limit": 4.0, + "units": "1" + }, + "terminal_densities_positive": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "voltage_points_completed": { + "operator": "eq", + "limit": 3.0, + "units": "1" + } + } + }, + { + "kind": "historical_result_catalog", + "key": "spatially-graded-explicit-defect-qf-dc-v2", + "manifest_pointer": "/capability_reconciliation/historical_refinement_results" + } + ], + "scope_limitations": [ + "This lane certifies one frozen continuous V-shaped band-graded p/n device with four distributed source species, three independent conservative density profiles, and one explicitly uniform species inside v3 documents.", + "Every outer spatial-grid and nonlinear-tolerance cell executes an inner 16/32/64 energy-order ladder. Endpoint-localized contacts, local band edges, Poisson charge, continuity recombination, analytic tangent, diagnostics, and three-point illuminated J-V share the same source contract and order.", + "Version 2 retains every v1 grid, factor, observable, and quality gate while tightening only the base Newton residual tolerance from 1e-8 to 1e-9 after the immutable v1 matrix remained partial at the coarsest grid-64 tolerance.", + "Mobile ions, interfaces, selective contacts, field mobility, dynamic occupancy, Fermi-Dirac statistics, AC, transient defects, tunnelling, multivalent defects, hard-zero profiles, and discontinuous profile steps remain excluded.", + "This is internal SolarLab convergence evidence, not external SCAPS parity, experimental validation, or unique microscopic parameter identification." + ], + "qualification_gaps": [ + "Historical source/environment/config/protocol applicability needs requalification, not relabeling", + "Cell arrays and full certificate closure were not replayed in this inventory", + "Internal lane budgets are not general external SCAPS or 45-record HI limits" + ], + "new_source_qualified": false + }, + { + "capability_id": "lane-13c1b80fd89d147a", + "origin_key": "lane:twod-mobile-ion-interface-srh-v1", + "kind": "refinement_lane", + "config_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/twod/combined_mobile_interface_research.yaml", + "sha256": "08b0593cbd4e1c11d4603b521ddfb2e4590ef4daa41fbfa7fe4eac857eb606d1", + "role": "registered_input" + } + ], + "config_id": "config-480c4d067ef71e0b", + "executor_id": "executor-6d4411ff1e1f5e70", + "reference_inputs": [ + { + "kind": "registered_refinement_contract", + "source": { + "root": "repository", + "path": "perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "sha256": "b808fb2c7e44b282fe5e8a7d55a8f23a12101451104c6c639e2991fec34a2dff", + "role": "refinement_registry" + }, + "json_pointer": "/lanes/twod-mobile-ion-interface-srh-v1", + "identity_sha256": "33eaa103ef17f55707e676bdab11689f7396df86cdc67e403b401395b5d2cdb8", + "grid": { + "parameter": "matched_xy_intervals_per_layer", + "values": [ + 4, + 6, + 8 + ] + }, + "tolerance": { + "parameter": "componentwise_atol_refinement_factor", + "factors": [ + 1.0, + 0.1, + 0.01 + ] + }, + "observables": { + "complete_terminal_current_A_m2": { + "comparison": "absolute_linf", + "limit": 0.0075, + "units": "A m-2" + }, + "interface_recombination_current_A_m2": { + "comparison": "absolute_linf", + "limit": 5e-09, + "units": "A m-2" + }, + "lateral_carrier_variation_relative": { + "comparison": "absolute_linf", + "limit": 0.0005, + "units": "1" + }, + "max_mobile_ion_site_fraction": { + "comparison": "absolute_linf", + "limit": 0.0001, + "units": "1" + }, + "mobile_ion_relative_redistribution": { + "comparison": "absolute_linf", + "limit": 0.0005, + "units": "1" + } + }, + "quality_gates": { + "active_ion_density_positive": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "clamp_inactive_slice_verified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "combined_gb_ion_interface_topology_verified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "explicit_execution_protocol_verified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "ion_diagnostics_passed": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "interface_rates_finite": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "interface_rates_positive": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "max_complete_current_face_spread_A_m2": { + "operator": "le", + "limit": 1e-10, + "units": "A m-2" + }, + "max_current_decomposition_relative_error": { + "operator": "le", + "limit": 1e-12, + "units": "1" + }, + "max_grain_boundary_width_relative_error": { + "operator": "le", + "limit": 1e-12, + "units": "1" + }, + "max_ion_inventory_relative_drift": { + "operator": "le", + "limit": 1e-09, + "units": "1" + }, + "minimum_lateral_carrier_variation_relative": { + "operator": "ge", + "limit": 0.0001, + "units": "1" + }, + "minimum_mobile_ion_relative_redistribution": { + "operator": "ge", + "limit": 0.0001, + "units": "1" + }, + "site_occupancy_admissible": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "terminal_carrier_densities_positive": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "voltage_points_completed": { + "operator": "eq", + "limit": 3.0, + "units": "1" + } + } + }, + { + "kind": "historical_result_catalog", + "key": "twod-mobile-ion-interface-srh-v1", + "manifest_pointer": "/capability_reconciliation/historical_refinement_results" + } + ], + "scope_limitations": [ + "This lane certifies one illuminated 0.0/0.05/0.10 V finite-dwell slice with one synthetic fast positive ion, one finite-width grain boundary, and one clamp-inactive two-sided cross-node interface-SRH sheet.", + "The 1e-10 m2/s ion diffusivity and short protocol are numerical stress inputs, not material parameters attributed to MAPbI3 or another measured device.", + "Interface projection, shared or dynamic interface occupancy, interface charge, dual ions, selective contacts, field mobility, and photon recycling remain outside this certificate.", + "Passing is internal grid/tolerance and conservation evidence; it is not external solver validation, experimental validation, SCAPS parity, or validation of a real grain-boundary parameter set." + ], + "qualification_gaps": [ + "Historical source/environment/config/protocol applicability needs requalification, not relabeling", + "Cell arrays and full certificate closure were not replayed in this inventory", + "Internal lane budgets are not general external SCAPS or 45-record HI limits" + ], + "new_source_qualified": false + }, + { + "capability_id": "lane-6dbb672b6062d764", + "origin_key": "lane:twod-uniform-limit", + "kind": "refinement_lane", + "config_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/twod/nip_MAPbI3_uniform.yaml", + "sha256": "6a7e0022575e680e3b4348774eb604c3273930b7a0fe210994e6532cd6d59dcb", + "role": "registered_input" + } + ], + "config_id": "config-e8fa66183b4163b4", + "executor_id": "executor-61ef7758ea9b3427", + "reference_inputs": [ + { + "kind": "registered_refinement_contract", + "source": { + "root": "repository", + "path": "perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "sha256": "b808fb2c7e44b282fe5e8a7d55a8f23a12101451104c6c639e2991fec34a2dff", + "role": "refinement_registry" + }, + "json_pointer": "/lanes/twod-uniform-limit", + "identity_sha256": "996e25b86526668831c11ca4bbacffc42f3bf22fddf505474b3910e0de3c879c", + "grid": { + "parameter": "matched_xy_refinement_multiplier", + "values": [ + 1, + 2, + 4 + ] + }, + "tolerance": { + "parameter": "componentwise_atol_refinement_factor", + "factors": [ + 1.0, + 0.1, + 0.01 + ] + }, + "observables": { + "jv_2d_to_1d_normalized_difference": { + "comparison": "absolute_linf", + "limit": 0.005, + "units": "1" + }, + "voc_2d_V": { + "comparison": "absolute_linf", + "limit": 0.001, + "units": "V" + }, + "jsc_2d_A_m2": { + "comparison": "relative_linf", + "limit": 0.002, + "units": "A m-2" + } + }, + "quality_gates": { + "max_abs_2d_to_1d_normalized_difference": { + "operator": "le", + "limit": 0.005, + "units": "1" + }, + "max_charge_residual_relative": { + "operator": "le", + "limit": 1e-06, + "units": "1" + }, + "max_current_conservation_relative": { + "operator": "le", + "limit": 0.005, + "units": "1" + }, + "max_lateral_carrier_variation_relative": { + "operator": "le", + "limit": 1e-08, + "units": "1" + }, + "frozen_ion_scope_declared": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "one_d_jv_certified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "voc_bracketed": { + "operator": "eq", + "limit": 1.0, + "units": "1" + } + } + }, + { + "kind": "historical_result_catalog", + "key": "twod-uniform-limit", + "manifest_pointer": "/capability_reconciliation/historical_refinement_results" + } + ], + "scope_limitations": [ + "The current 2-D model is frozen-ion and has no interface-plane physics.", + "The uniform-limit comparison uses electron-plus-hole conduction current and excludes ionic and displacement current on both sides.", + "Passing this lane certifies only the uniform 2-D to 1-D limit." + ], + "qualification_gaps": [ + "Historical source/environment/config/protocol applicability needs requalification, not relabeling", + "Cell arrays and full certificate closure were not replayed in this inventory", + "Internal lane budgets are not general external SCAPS or 45-record HI limits" + ], + "new_source_qualified": false + }, + { + "capability_id": "lane-6b64d0fcde4053b6", + "origin_key": "lane:wkb-resolved-intraband-qf-dc-v2", + "kind": "refinement_lane", + "config_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/wkb_resolved_electron_barrier.yaml", + "sha256": "891165e5ac68609b27dbe6c98b00e27d9b40b4df6edabde764ddda62d4788d27", + "role": "registered_input" + } + ], + "config_id": "config-345114448b5dc42c", + "executor_id": "executor-620fa531cf26caf4", + "reference_inputs": [ + { + "kind": "registered_refinement_contract", + "source": { + "root": "repository", + "path": "perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "sha256": "b808fb2c7e44b282fe5e8a7d55a8f23a12101451104c6c639e2991fec34a2dff", + "role": "refinement_registry" + }, + "json_pointer": "/lanes/wkb-resolved-intraband-qf-dc-v2", + "identity_sha256": "e4b3ca374eeb0a6f1ebbf65d97aaab0f5704149cb6969a3c682e11e0f8d1d091", + "grid": { + "parameter": "intervals_per_electrical_layer", + "values": [ + 24, + 48, + 96 + ] + }, + "tolerance": { + "parameter": "qf_dc_residual_tolerance_factor", + "factors": [ + 1.0, + 0.1, + 0.01 + ] + }, + "observables": { + "dark_terminal_current_A_m2": { + "comparison": "relative_linf", + "limit": 0.001, + "units": "A m-2" + }, + "disabled_terminal_current_A_m2": { + "comparison": "relative_linf", + "limit": 0.001, + "units": "A m-2" + }, + "terminal_tunnelling_effect_A_m2": { + "comparison": "relative_linf", + "limit": 0.01, + "units": "A m-2" + }, + "intraband_event_flux_m2_s": { + "comparison": "relative_linf", + "limit": 0.01, + "units": "m-2 s-1" + }, + "maximum_local_tunnelling_current_A_m2": { + "comparison": "relative_linf", + "limit": 0.01, + "units": "A m-2" + }, + "barrier_base_eV": { + "comparison": "absolute_linf", + "limit": 0.0001, + "units": "eV" + }, + "barrier_peak_eV": { + "comparison": "absolute_linf", + "limit": 0.0001, + "units": "eV" + }, + "action_at_energy_fractions": { + "comparison": "relative_linf", + "limit": 0.005, + "units": "1" + }, + "potential_profile_V": { + "comparison": "absolute_linf", + "limit": 0.0001, + "units": "V" + }, + "electron_log_density_profile": { + "comparison": "absolute_linf", + "limit": 0.01, + "units": "1" + }, + "physical_electron_fermi_profile_eV": { + "comparison": "absolute_linf", + "limit": 0.0001, + "units": "eV" + } + }, + "quality_gates": { + "all_states_certified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "contact_thermodynamics_consistent": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "energy_orders_completed": { + "operator": "eq", + "limit": 3.0, + "units": "1" + }, + "max_energy_event_flux_relative_change": { + "operator": "le", + "limit": 0.005, + "units": "1" + }, + "max_energy_terminal_effect_relative_change": { + "operator": "le", + "limit": 0.005, + "units": "1" + }, + "terminal_effect_fraction": { + "operator": "ge", + "limit": 0.01, + "units": "1" + }, + "equilibrium_terminal_current_A_m2": { + "operator": "le", + "limit": 0.0001, + "units": "A m-2" + }, + "equilibrium_tunnelling_current_A_m2": { + "operator": "le", + "limit": 1e-08, + "units": "A m-2" + }, + "particle_balance_relative_error": { + "operator": "le", + "limit": 1e-12, + "units": "1" + }, + "path_current_relative_error": { + "operator": "le", + "limit": 1e-12, + "units": "1" + }, + "external_tunnelling_face_current_A_m2": { + "operator": "le", + "limit": 0.0, + "units": "A m-2" + }, + "dissipative_transfer": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "dark_electrical_power_consumption": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "injected_face_count": { + "operator": "ge", + "limit": 3.0, + "units": "1" + }, + "disabled_bit_identical": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "maximum_reservoir_occupation": { + "operator": "le", + "limit": 0.05, + "units": "1" + }, + "minimum_reservoir_occupation": { + "operator": "ge", + "limit": 1e-12, + "units": "1" + }, + "low_action_supply_fraction": { + "operator": "le", + "limit": 0.01, + "units": "1" + }, + "maximum_electron_density_over_dos": { + "operator": "le", + "limit": 0.05, + "units": "1" + }, + "maximum_carrier_continuity_bound_A_m2": { + "operator": "le", + "limit": 0.0001, + "units": "A m-2" + }, + "maximum_current_spread_A_m2": { + "operator": "le", + "limit": 0.0001, + "units": "A m-2" + }, + "maximum_poisson_residual_C_m2": { + "operator": "le", + "limit": 1e-12, + "units": "C m-2" + }, + "residual_over_solver_limit": { + "operator": "le", + "limit": 1.0, + "units": "1" + } + } + }, + { + "kind": "historical_result_catalog", + "key": "wkb-resolved-intraband-qf-dc-v2", + "manifest_pointer": "/capability_reconciliation/historical_refinement_results" + } + ], + "scope_limitations": [ + "Internal numerical evidence for one undoped 3 nm material electron barrier between two n-type semiconductor reservoirs at 300 K, in dark Boltzmann transport.", + "The 1 percent terminal-effect entry criterion is specific to this designed observable reference; it is not a physical law or a revision of the retired v1 threshold.", + "Physical per-node DOS and band energies set reservoir occupations. Open Gauss-Legendre quadrature and exact linear-band turning-point actions define the energy calculation.", + "Turning-point interpolation weights also distribute particle transfer; the same face current enters continuity and observation. No single-face injection identity is claimed.", + "The leading WKB exponent and its fixed unfitted supply prefactor are model assumptions. Small-action supply is bounded here; neither that bound nor numerical convergence constitutes external quantum-transport or SCAPS validation.", + "Hole, contact, band-to-band, defect-assisted occupancy, multiple material barriers, mobile ions, interface-plane composition, illumination and transient tunnelling are outside this certificate." + ], + "qualification_gaps": [ + "Historical source/environment/config/protocol applicability needs requalification, not relabeling", + "Cell arrays and full certificate closure were not replayed in this inventory", + "Internal lane budgets are not general external SCAPS or 45-record HI limits", + "No old result located for this registered lane" + ], + "new_source_qualified": false + }, + { + "capability_id": "lane-16771a29387cfdae", + "origin_key": "lane:wkb-tunnelling-channel-qf-dc-v1", + "kind": "refinement_lane", + "config_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/wkb_tunnelling_intraband_spike.yaml", + "sha256": "545067cfedc8598b62fd1991aeaf3cd13d3153151e427452d1b78f6d523df20b", + "role": "registered_input" + } + ], + "config_id": "config-89864c46531b604e", + "executor_id": "executor-ba3263b888fb943a", + "reference_inputs": [ + { + "kind": "registered_refinement_contract", + "source": { + "root": "repository", + "path": "perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml", + "sha256": "b808fb2c7e44b282fe5e8a7d55a8f23a12101451104c6c639e2991fec34a2dff", + "role": "refinement_registry" + }, + "json_pointer": "/lanes/wkb-tunnelling-channel-qf-dc-v1", + "identity_sha256": "a3721c1913a8aa8dbb1012679c00ee28d3940001bb98a3b527eda83eff0fa1c9", + "grid": { + "parameter": "intervals_per_electrical_layer", + "values": [ + 24, + 48, + 96 + ] + }, + "tolerance": { + "parameter": "qf_dc_residual_tolerance_factor", + "factors": [ + 1.0, + 0.1, + 0.01 + ] + }, + "observables": { + "dark_electron_quasi_fermi_V": { + "comparison": "absolute_linf", + "limit": 0.002, + "units": "V" + }, + "dark_potential_V": { + "comparison": "absolute_linf", + "limit": 0.002, + "units": "V" + }, + "dark_terminal_current_A_m2": { + "comparison": "relative_linf", + "limit": 0.02, + "units": "A m-2" + }, + "intraband_electron_face_current_A_m2": { + "comparison": "relative_linf", + "limit": 0.1, + "units": "A m-2" + }, + "intraband_electron_maximum_action": { + "comparison": "relative_linf", + "limit": 0.05, + "units": "1" + }, + "intraband_electron_net_flux_m2_s": { + "comparison": "relative_linf", + "limit": 0.1, + "units": "m-2 s-1" + } + }, + "quality_gates": { + "certified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "channel_flux_fraction_of_terminal_current": { + "operator": "ge", + "limit": 0.01, + "units": "1" + }, + "disabled_family_reports_nothing": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "energy_quadrature_orders_completed": { + "operator": "eq", + "limit": 3.0, + "units": "1" + }, + "equilibrium_certified": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "equilibrium_face_current_A_m2": { + "operator": "le", + "limit": 0.0, + "units": "A m-2" + }, + "equilibrium_net_flux_m2_s": { + "operator": "le", + "limit": 0.0, + "units": "m-2 s-1" + }, + "face_current_injection_relative_error": { + "operator": "le", + "limit": 1e-12, + "units": "1" + }, + "face_current_spread_A_m2": { + "operator": "le", + "limit": 0.0002, + "units": "A m-2" + }, + "injected_face_count": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "max_energy_flux_relative_change": { + "operator": "le", + "limit": 0.05, + "units": "1" + }, + "max_normalized_cell_residual": { + "operator": "le", + "limit": 1e-07, + "units": "1" + }, + "minimum_transmission_below_unity": { + "operator": "eq", + "limit": 1.0, + "units": "1" + }, + "newton_iterations": { + "operator": "le", + "limit": 30.0, + "units": "1" + }, + "poisson_residual_C_m2": { + "operator": "le", + "limit": 1e-12, + "units": "C m-2" + }, + "residual_over_solver_limit": { + "operator": "le", + "limit": 1.0, + "units": "1" + } + } + }, + { + "kind": "historical_result_catalog", + "key": "wkb-tunnelling-channel-qf-dc-v1", + "manifest_pointer": "/capability_reconciliation/historical_refinement_results" + } + ], + "scope_limitations": [ + "Internal numerical convergence only. No SCAPS tunnelling deck is compared, and the channel's absolute magnitude is not validated against anything - the supply prefactor remains an unfitted estimate.", + "One intraband electron channel on one heterointerface of one synthetic spike stack. Band-to-band, defect-assisted and contact channels, the hole branch, multi-interface stacks, illumination, mobile ions, AC and transient routes are out of scope here rather than certified.", + "The terminal current is deliberately NOT the convergence observable. Enabling the channel moves it by only ~1e-5 relative, so a terminal-current gate would pass whether or not the channel worked.", + "RETRACTED 2026-09-01 (D8-E2R). Two magnitudes this lane reports are artifacts of a level-vs-potential convention error - the QF lane hands the channel `V_T*ln(n) - (phi+chi)` = `E_Fn + V_T*ln(N_C)`, a +1.4286 eV offset. The channel flux fraction of terminal current (~0.20 here) is 6.2e-7 with the true level, and `equilibrium_net_flux_m2_s` passes its exact-zero gate by float64 Fermi-factor saturation rather than by reciprocity, so that gate cannot currently fail. Convergence orders, the injection identity and the fail-closed routes are unaffected. Correcting the level fails three gates in this lane at once and needs a v2 lane whose entry condition - a config where the corrected channel clears `ge 0.01` - does not yet exist. See docs/WkbTunnellingFamilyContract.md section \"Retraction (D8-E2R)\"." + ], + "qualification_gaps": [ + "Historical source/environment/config/protocol applicability needs requalification, not relabeling", + "Cell arrays and full certificate closure were not replayed in this inventory", + "Internal lane budgets are not general external SCAPS or 45-record HI limits" + ], + "new_source_qualified": false + }, + { + "capability_id": "oracle-43431083ae91b1d5", + "origin_key": "oracle:be_reference", + "kind": "oracle", + "reference_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/perovskite_sim/solver/dae_integrator.py", + "sha256": "865f6631d2c3946252ab5e1c128b502a5d80f814f83ffa205c00d5f0450aceb5", + "role": "legacy_oracle_implementation" + }, + { + "kind": "test_formula_or_frozen_data", + "description": "Legacy conservative BE at fixed times and dense/structured comparison", + "symbol": "test_illuminated_steps_are_residual_and_balance_certified" + } + ], + "test_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/unit/solver/test_dae_integrator.py", + "sha256": "acc8cba1aef69021d53724d4ff85131f1025396fa8da167773172e251ee27cfa", + "role": "oracle_test_or_config" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/unit/solver/test_dae_jacobian.py", + "sha256": "fb727ea52c52c9d9cf17d15de4d940b049b398cc7b9ca1ce2828f1a79f899788", + "role": "oracle_test_or_config" + } + ], + "related_analytic_gate_ids": [ + "NC01", + "NC02", + "NC04" + ], + "independence_scope": "Restricted conservative reference stepper and finite-difference Jacobian checks; cannot silently become the IDA implementation under test", + "qualification_gaps": [ + "Preserve oracle independently from candidate implementation", + "Select and execute its exact scoped test/input before relevant replacement; no new run recorded here" + ], + "new_source_qualified": false + }, + { + "capability_id": "oracle-33512d14951f648d", + "origin_key": "oracle:compat_fallback", + "kind": "oracle", + "reference_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/perovskite_sim/_compat/scipy_shim.py", + "sha256": "33ce6c210cd8101db695350a227d6886f99bdaf5acce5e0e4984b3cad2cd1fa3", + "role": "legacy_oracle_implementation" + }, + { + "kind": "test_formula_or_frozen_data", + "description": "Independent linear and parabolic Poisson profiles; fallback still shares material definitions", + "symbol": "test_zero_charge_gives_linear_potential" + } + ], + "test_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/unit/physics/test_poisson.py", + "sha256": "ed45fc65d78d4917f58e0dcec80b66188d3ed1b8504ac694d7e6782068d7a593", + "role": "oracle_test_or_config" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/unit/twod/test_poisson_2d.py", + "sha256": "72ec2db1660165523910988772c43c237a97e37f51b86f1a334787d8b87754b6", + "role": "oracle_test_or_config" + } + ], + "related_analytic_gate_ids": [], + "independence_scope": "SciPy-import fallback is an alternative numerical stack, not equivalent Radau; preserve behavior label and review consumers before retirement", + "qualification_gaps": [ + "Preserve oracle independently from candidate implementation", + "Select and execute its exact scoped test/input before relevant replacement; no new run recorded here" + ], + "new_source_qualified": false + }, + { + "capability_id": "oracle-88ce0e7749381acf", + "origin_key": "oracle:poisson", + "kind": "oracle", + "reference_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/perovskite_sim/physics/poisson.py", + "sha256": "cc59b0210f019561cfea8903cf7c0c968f4d31ceefffaca6092d09286b02bed5", + "role": "legacy_oracle_implementation" + }, + { + "kind": "test_formula_or_frozen_data", + "description": "Analytic linear potential and EPS0/(L1/eps1+L2/eps2) series capacitance", + "symbol": "test_explicit_series_capacitance_resolves_off_midpoint_interface" + } + ], + "test_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/unit/physics/test_poisson.py", + "sha256": "ed45fc65d78d4917f58e0dcec80b66188d3ed1b8504ac694d7e6782068d7a593", + "role": "oracle_test_or_config" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/unit/twod/test_poisson_2d.py", + "sha256": "72ec2db1660165523910988772c43c237a97e37f51b86f1a334787d8b87754b6", + "role": "oracle_test_or_config" + } + ], + "related_analytic_gate_ids": [], + "independence_scope": "Independent unfactored solve and analytic zero-charge/series-capacitance expectations; shared geometry limits physical independence", + "qualification_gaps": [ + "Preserve oracle independently from candidate implementation", + "Select and execute its exact scoped test/input before relevant replacement; no new run recorded here" + ], + "new_source_qualified": false + }, + { + "capability_id": "oracle-2859c329278ce3e0", + "origin_key": "oracle:r1_independent_observation", + "kind": "oracle", + "reference_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_independent_physics.py", + "sha256": "03db33ccf1005c5afa0cad6b86acae52bd60e11c0d36a7df68a7bbdc3f4cbdad", + "role": "legacy_oracle_implementation" + }, + { + "kind": "test_formula_or_frozen_data", + "description": "Source-bound R1 fixture and accepted-step physical observer", + "symbol": "approved_r1_binding" + } + ], + "test_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/integration/test_r1_independent_physics.py", + "sha256": "13eba613922a1f1f5291226dc4381485ec851fa73279cfcadee96bad9fd1be5b", + "role": "oracle_test_or_config" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/unit/experiments/test_r1_independent_physics.py", + "sha256": "f5f4371731cf7ad3980b6f194812833709d22a53183e5248f6ef88e1d8173dff", + "role": "oracle_test_or_config" + } + ], + "related_analytic_gate_ids": [], + "independence_scope": "Independent saved-state current/Gauss observations; shared constitutive calls must be disclosed and are not a wholly independent carrier solver", + "qualification_gaps": [ + "Preserve oracle independently from candidate implementation", + "Select and execute its exact scoped test/input before relevant replacement; no new run recorded here" + ], + "new_source_qualified": false + }, + { + "capability_id": "oracle-c749a00822ac300a", + "origin_key": "oracle:r1_regular_current", + "kind": "oracle", + "reference_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_independent_regular.py", + "sha256": "af4ff60f6e6a573e41a0fb885a5f019ee6c48461f99f0d341058c444a99500b9", + "role": "legacy_oracle_implementation" + }, + { + "kind": "test_formula_or_frozen_data", + "description": "Independent regular-current observer and fixed R1 source bindings", + "symbol": "approved_r1_binding" + } + ], + "test_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/integration/test_r1_independent_physics.py", + "sha256": "13eba613922a1f1f5291226dc4381485ec851fa73279cfcadee96bad9fd1be5b", + "role": "oracle_test_or_config" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/unit/experiments/test_r1_c_independent_regressions_v4.py", + "sha256": "29c4494acafc15d4c02d0981099c54358e13731af1dabbb9e7a7484e24ae5fd4", + "role": "oracle_test_or_config" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/unit/experiments/test_r1_independent_physics.py", + "sha256": "f5f4371731cf7ad3980b6f194812833709d22a53183e5248f6ef88e1d8173dff", + "role": "oracle_test_or_config" + } + ], + "related_analytic_gate_ids": [], + "independence_scope": "Separate regular-current observer must preserve source identity and no projected equal terminal currents", + "qualification_gaps": [ + "Preserve oracle independently from candidate implementation", + "Select and execute its exact scoped test/input before relevant replacement; no new run recorded here" + ], + "new_source_qualified": false + }, + { + "capability_id": "oracle-c398ee1f8377a8ac", + "origin_key": "oracle:sg_scalar", + "kind": "oracle", + "reference_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/perovskite_sim/discretization/fe_operators.py", + "sha256": "b3ab0cf0054d5aa1ec7e5fcd27b93d2ed09b137d043080a0310a219d3ff1154f", + "role": "legacy_oracle_implementation" + }, + { + "kind": "test_formula_or_frozen_data", + "description": "Bernoulli symmetry/asymptotes and equilibrium SG flux; scalar/vector checks share Bernoulli", + "symbol": "test_bernoulli_symmetry" + } + ], + "test_inputs": [ + { + "root": "archive", + "path": "test/ArchitectureRefactor/Stage00/AnalyticReferenceDefinitionsV1/Source/repository/perovskite-sim/tests/unit/discretization/test_fe_operators.py", + "sha256": "d39e8e151f692cfc24945daa6b7210ef6cd7dfd2ac4e8cf170e31e371979f965", + "role": "oracle_test_or_config", + "original_repository_path": "perovskite-sim/tests/unit/discretization/test_fe_operators.py" + } + ], + "related_analytic_gate_ids": [ + "NC08" + ], + "independence_scope": "Scalar-vs-vector algebra crosscheck shares Bernoulli; retain analytic symmetry/asymptote checks rather than claiming full independent physics", + "qualification_gaps": [ + "Preserve oracle independently from candidate implementation", + "Select and execute its exact scoped test/input before relevant replacement; no new run recorded here" + ], + "new_source_qualified": false + }, + { + "capability_id": "oracle-a34b44c50d3476cf", + "origin_key": "oracle:storage_low_bits", + "kind": "oracle", + "reference_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/perovskite_sim/physics/dynamic_storage.py", + "sha256": "c0179c0144e9dadfd0abf959b78088eee91d35abf787a280a51079851dc5e006", + "role": "legacy_oracle_implementation" + }, + { + "kind": "test_formula_or_frozen_data", + "description": "Frozen TRACE_MAP_REFERENCE_VECTORS and exact-input Decimal capture oracle", + "symbol": "TRACE_MAP_REFERENCE_VECTORS" + } + ], + "test_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/unit/physics/test_dynamic_storage.py", + "sha256": "c64d413721ca87074eaa3a4524b504026c262356e5a2ced0834c5ae106c62df1", + "role": "oracle_test_or_config" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/unit/physics/test_fixed_occupancy_capture_precision.py", + "sha256": "745d376493c40ddd2696ad9c63bed75cc1ac23687cb7ca58c770f8769f1d280b", + "role": "oracle_test_or_config" + } + ], + "related_analytic_gate_ids": [ + "NC08" + ], + "independence_scope": "Frozen independent 90-digit references and sub-ULP increments; retain exact data and evaluation path", + "qualification_gaps": [ + "Preserve oracle independently from candidate implementation", + "Select and execute its exact scoped test/input before relevant replacement; no new run recorded here" + ], + "new_source_qualified": false + }, + { + "capability_id": "oracle-23a290eced9bdb76", + "origin_key": "oracle:time_domain_lockin", + "kind": "oracle", + "reference_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/perovskite_sim/experiments/ion_aware_impedance_lockin.py", + "sha256": "8796d2885e7ae3114a6e82afab5edb2f41e78d87345fb3ff282605b88a70053b", + "role": "legacy_oracle_implementation" + }, + { + "kind": "test_formula_or_frozen_data", + "description": "Transient lock-in against frequency solution; independence is algorithmic, constitutive physics shared", + "symbol": "run_ion_aware_transient_lockin_crosscheck" + } + ], + "test_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/integration/test_ion_aware_impedance_lockin.py", + "sha256": "aabfef24725fb18f5d1890eb2069cd6d4dc2b1e32a2b8a6145e837786a801efa", + "role": "oracle_test_or_config" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py", + "sha256": "75e96a3b70cfc8283c818e3dd8e5138da09cc09ab89ef07427f8e2b3b2581775", + "role": "oracle_test_or_config" + } + ], + "related_analytic_gate_ids": [ + "NC06" + ], + "independence_scope": "Time-domain AC oracle vs direct frequency solve; same underlying physics, independent time/frequency discretization only", + "qualification_gaps": [ + "Preserve oracle independently from candidate implementation", + "Select and execute its exact scoped test/input before relevant replacement; no new run recorded here" + ], + "new_source_qualified": false + }, + { + "capability_id": "oracle-798d4d77d48ec274", + "origin_key": "oracle:twod_uniform", + "kind": "oracle", + "reference_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/perovskite_sim/validation/refinement_executors.py", + "sha256": "9e9730acefe72cc7dd9991e47f65624f37d875101795e85d2fc63d885ca4d40c", + "role": "legacy_oracle_implementation" + }, + { + "kind": "test_formula_or_frozen_data", + "description": "Analytic area/current and 1D uniform limit; material builder shared", + "symbol": "test_poisson_2d_recovers_1d_parabolic_profile" + } + ], + "test_inputs": [ + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/twod/bcx_combined_demo.yaml", + "sha256": "de41a3ea4547a2c97a4327f2c2edaeab4b162e6a51ed43aae4e40ef3047c46dc", + "role": "oracle_test_or_config" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/twod/combined_mobile_interface_research.yaml", + "sha256": "08b0593cbd4e1c11d4603b521ddfb2e4590ef4daa41fbfa7fe4eac857eb606d1", + "role": "oracle_test_or_config" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/twod/nip_MAPbI3_singleGB.yaml", + "sha256": "01870c441a410f0c99a6d71ee363e862798ee05fdaaf03156bb657a16b6cf5b6", + "role": "oracle_test_or_config" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/fixtures/configs/twod/nip_MAPbI3_uniform.yaml", + "sha256": "6a7e0022575e680e3b4348774eb604c3273930b7a0fe210994e6532cd6d59dcb", + "role": "oracle_test_or_config" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/integration/twod/__init__.py", + "sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", + "role": "oracle_test_or_config" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/integration/twod/test_jv_sweep_2d_microstructure.py", + "sha256": "c91c91e4e2e7bc70135cf21df42c0a856514298df2e09e12cee841c506502fae", + "role": "oracle_test_or_config" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/integration/twod/test_jv_sweep_2d_uniform.py", + "sha256": "cda4f9df2fb77fcbde57cafb1affa0504f125fd040db4307ab2afb214ae7c214", + "role": "oracle_test_or_config" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/integration/twod/test_voc_grain_sweep.py", + "sha256": "e5280f07361420e4be1e334bdb66df981347f8af7b0ee4637525e7bb444af21c", + "role": "oracle_test_or_config" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/unit/twod/__init__.py", + "sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", + "role": "oracle_test_or_config" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/unit/twod/test_contact_boundary_semantics.py", + "sha256": "8463d72828a233d40eab9798a0c4cd86fcbb723a74eaaf5adb22971c8f862900", + "role": "oracle_test_or_config" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/unit/twod/test_field_mobility_2d.py", + "sha256": "308b889456f9aa2529338365005cfecdf11709104a5965bdacd1f9443afbed9e", + "role": "oracle_test_or_config" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/unit/twod/test_flux_2d.py", + "sha256": "d06b4de4766eac399fa5724473803cd0f7ed1fee14ec0fd5c9ffcd83a7796c5b", + "role": "oracle_test_or_config" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/unit/twod/test_grid_2d.py", + "sha256": "ede071cba38416871ecffbfc23b8612eb791604902a6e10121c72bd72b515c5c", + "role": "oracle_test_or_config" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/unit/twod/test_interface_recombination_2d.py", + "sha256": "c3202d19fbdc0897eb905d5180d91d696200978de17556d81667d35f7c17547e", + "role": "oracle_test_or_config" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/unit/twod/test_ion_migration_2d.py", + "sha256": "2b0d10f48c4202059a1fe96ceaeaf117b67d34d364d239a795ae0aeb9b6e89f9", + "role": "oracle_test_or_config" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/unit/twod/test_jv_protocol_2d.py", + "sha256": "17b8eecee3533c7e0c146e44bd82128f4a10a85e931715908029a3a4b27f2e85", + "role": "oracle_test_or_config" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/unit/twod/test_microstructure.py", + "sha256": "9a4b06a9c0b1ea45cd423b5c9daf58e7a4155dcaa190387c26c8f02654fe9abb", + "role": "oracle_test_or_config" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/unit/twod/test_mobile_ion_current_2d.py", + "sha256": "a9de2603ca6f2bab94d3db8a18fc7c5ea2776f9950fb70db3b3fe2e9b02723d3", + "role": "oracle_test_or_config" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/unit/twod/test_poisson_2d.py", + "sha256": "72ec2db1660165523910988772c43c237a97e37f51b86f1a334787d8b87754b6", + "role": "oracle_test_or_config" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/unit/twod/test_radiative_reabsorption_2d.py", + "sha256": "6626429cd927e4235c633cafad18698bd7e1f04e015dce50b4789942f94796a7", + "role": "oracle_test_or_config" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/unit/twod/test_solver_2d.py", + "sha256": "f1452ef13250602696eccbafbf7f3496c0ad99ebd7666d23ceef519bf6e104c3", + "role": "oracle_test_or_config" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/unit/twod/test_twod_generation_dual_cell.py", + "sha256": "d5bc452a57021a744cac9ccf830e509af16f5099b9df8daa804675fd3ecaeffb", + "role": "oracle_test_or_config" + } + ], + "related_analytic_gate_ids": [ + "NC07" + ], + "independence_scope": "Uniform 1D-limit and analytic area/current comparisons; 1D and 2D still share material builder so additional independent refinement is required", + "qualification_gaps": [ + "Preserve oracle independently from candidate implementation", + "Select and execute its exact scoped test/input before relevant replacement; no new run recorded here" + ], + "new_source_qualified": false + } + ], + "historical_refinement_results": [ + { + "capability_id": "lane-3eb9325a1d09f96f", + "lane": "algebraic-interface-state-dae-transient-v1", + "archive_directory": "results/NumericalRefinement/AlgebraicInterfaceStateDaeTransientV1", + "runs": [ + { + "run_directory": "results/NumericalRefinement/AlgebraicInterfaceStateDaeTransientV1/407927842820d9360b132aaad50fa97c5bec55b146bef75f86811edd06845cad", + "state": { + "root": "archive", + "path": "results/NumericalRefinement/AlgebraicInterfaceStateDaeTransientV1/407927842820d9360b132aaad50fa97c5bec55b146bef75f86811edd06845cad/State.json", + "sha256": "8a22e3c2040f105013c1306f6ba9733b800be01decff602779bc211d120ac08e", + "role": "old_result_state" + }, + "declared_run_id": "407927842820d9360b132aaad50fa97c5bec55b146bef75f86811edd06845cad", + "binding_status": "located_not_recertified", + "manifests": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/AlgebraicInterfaceStateDaeTransientV1/407927842820d9360b132aaad50fa97c5bec55b146bef75f86811edd06845cad/Manifests/9199a9ee0d32ee73ee48f7ae9a22c2b5792462805fb2184478ab007a52a6727f.json", + "sha256": "811de9b6f60aa4bf60738974048d224f21a52b78ac76d8f8af4c853bcbe7b22e", + "role": "historical_manifests" + }, + "declared_content_id": "9199a9ee0d32ee73ee48f7ae9a22c2b5792462805fb2184478ab007a52a6727f", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "complete", + "declared_lane_id": "AlgebraicInterfaceStateDaeTransientV1", + "source_commit": "008aef3dd9e5324bca4e4dab18019f251ac93531", + "source_fingerprint_sha256": "c71919c9627a7b7ccd57565ae63706d4470784df5a1c39c1c82337c0b6fb22c0", + "config_sha256": null, + "lane_definition_sha256": "f8a49825cb6540a978b9c7d2e31683c9ccc68b1a53b5ebcd3cab3bfe8b534afe", + "completed_cells": null, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": null, + "artifact_pointers": [ + { + "path": "cells/6a11ee5afa6159d914c0e0e0e0130af09c8c4169fdb55101ccc3a7a79738102d.json", + "point_key": "grid=4;tolerance=1", + "sha256": "6a11ee5afa6159d914c0e0e0e0130af09c8c4169fdb55101ccc3a7a79738102d", + "status": "completed" + }, + { + "path": "cells/b1b797af3477b296eecc60c281d8ac150a581983a76bb33f0d4eaf8a6cd24f6d.json", + "point_key": "grid=4;tolerance=0.5", + "sha256": "b1b797af3477b296eecc60c281d8ac150a581983a76bb33f0d4eaf8a6cd24f6d", + "status": "completed" + }, + { + "path": "cells/cd4a30b6de93b8208b91618b5891932f3fe2416bf27edf79d1fd973dd1164351.json", + "point_key": "grid=4;tolerance=0.25", + "sha256": "cd4a30b6de93b8208b91618b5891932f3fe2416bf27edf79d1fd973dd1164351", + "status": "completed" + }, + { + "path": "cells/c5230e3dabcb86cb3fe0b9d072b320096bc45b2141f053abe2abbe6eb10622ef.json", + "point_key": "grid=8;tolerance=1", + "sha256": "c5230e3dabcb86cb3fe0b9d072b320096bc45b2141f053abe2abbe6eb10622ef", + "status": "completed" + }, + { + "path": "cells/1c4c479e4502bc0954b6246c513725bf0fac0d85503c270cc8a6311ea0e65ea3.json", + "point_key": "grid=8;tolerance=0.5", + "sha256": "1c4c479e4502bc0954b6246c513725bf0fac0d85503c270cc8a6311ea0e65ea3", + "status": "completed" + }, + { + "path": "cells/75c9b8517fcfe70ee05bd531b658eac726afbc6a5f43b77a6fdd5a3b8ac074b8.json", + "point_key": "grid=8;tolerance=0.25", + "sha256": "75c9b8517fcfe70ee05bd531b658eac726afbc6a5f43b77a6fdd5a3b8ac074b8", + "status": "completed" + }, + { + "path": "cells/402b99ce8b456f0bec2618e26e5fbf79f0bfdb7daa38acb863e25bc33c32b51b.json", + "point_key": "grid=16;tolerance=1", + "sha256": "402b99ce8b456f0bec2618e26e5fbf79f0bfdb7daa38acb863e25bc33c32b51b", + "status": "completed" + }, + { + "path": "cells/e206be8e8bbe97d855b877f4aabd5934246e2ddbbac6b2e7a2e6d0860c8e7c87.json", + "point_key": "grid=16;tolerance=0.5", + "sha256": "e206be8e8bbe97d855b877f4aabd5934246e2ddbbac6b2e7a2e6d0860c8e7c87", + "status": "completed" + }, + { + "path": "cells/b2f3469eb788817af87f2affd77b98f33d0daea8d8f9053ab4887e007fdc4a7d.json", + "point_key": "grid=16;tolerance=0.25", + "sha256": "b2f3469eb788817af87f2affd77b98f33d0daea8d8f9053ab4887e007fdc4a7d", + "status": "completed" + } + ], + "environment_sha256": "197e3085b43d4d83ae9bd5fef2bd7f038a2dda3a888bf16c1a02804ec0cb8c27" + }, + "certificates": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/AlgebraicInterfaceStateDaeTransientV1/407927842820d9360b132aaad50fa97c5bec55b146bef75f86811edd06845cad/Certificates/21bb12e4655c60ce7c97ce2a3cf57617fc3c2cb667990dab244fc04dc4a53c89.json", + "sha256": "7e0ff596d7ec8577badba5d491729b54851cd1453a1b4481f8b42cb424c3ddf3", + "role": "historical_certificates" + }, + "declared_content_id": "21bb12e4655c60ce7c97ce2a3cf57617fc3c2cb667990dab244fc04dc4a53c89", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "certified", + "declared_lane_id": "AlgebraicInterfaceStateDaeTransientV1", + "source_commit": "008aef3dd9e5324bca4e4dab18019f251ac93531", + "source_fingerprint_sha256": "c71919c9627a7b7ccd57565ae63706d4470784df5a1c39c1c82337c0b6fb22c0", + "config_sha256": "523449448807e4993f999300308096003c3eeaf280924b7af208915a3cf41a54", + "lane_definition_sha256": "f8a49825cb6540a978b9c7d2e31683c9ccc68b1a53b5ebcd3cab3bfe8b534afe", + "completed_cells": 9, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": 0, + "artifact_pointers": [], + "environment_sha256": "197e3085b43d4d83ae9bd5fef2bd7f038a2dda3a888bf16c1a02804ec0cb8c27" + } + }, + { + "run_directory": "results/NumericalRefinement/AlgebraicInterfaceStateDaeTransientV1/7e12119c3ad959f394159b2ac8cc4287e625274c4be4437a5eaa1660a9e286e9", + "state": { + "root": "archive", + "path": "results/NumericalRefinement/AlgebraicInterfaceStateDaeTransientV1/7e12119c3ad959f394159b2ac8cc4287e625274c4be4437a5eaa1660a9e286e9/State.json", + "sha256": "ecb490ee586bd19242c5f6e3c4a24aed5ecf4468fedca752a501b28f10d71ae0", + "role": "old_result_state" + }, + "declared_run_id": "7e12119c3ad959f394159b2ac8cc4287e625274c4be4437a5eaa1660a9e286e9", + "binding_status": "located_not_recertified", + "manifests": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/AlgebraicInterfaceStateDaeTransientV1/7e12119c3ad959f394159b2ac8cc4287e625274c4be4437a5eaa1660a9e286e9/Manifests/f2b232ad4714ca6ce8f20be3b1c1be12ae0ef238935c53c8f5cfa0d234066c6f.json", + "sha256": "a90db00eea8250169911e99e9303a4ab2db6b7879d0a3440db4ce17ff970119e", + "role": "historical_manifests" + }, + "declared_content_id": "f2b232ad4714ca6ce8f20be3b1c1be12ae0ef238935c53c8f5cfa0d234066c6f", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "complete_with_failures", + "declared_lane_id": "AlgebraicInterfaceStateDaeTransientV1", + "source_commit": "779a18d2c427afc00e082e6895357a8e90f3450d", + "source_fingerprint_sha256": "2dd7f618f51dab568c03e5c49cda59e077fca776e6d17d8c3612446d19377c89", + "config_sha256": null, + "lane_definition_sha256": "5a474d42df27bce976f5abe0c169cd250e8e60e8d89bb8998e9b972c037867d1", + "completed_cells": null, + "expected_cells_count": 9, + "failed_cells_count": 6, + "missing_cells_count": null, + "artifact_pointers": [ + { + "path": "cells/8ec679a0584732a6b76c14c1ad3ec8d6fdffa4d094de8fd81154837016a270c4.json", + "point_key": "grid=4;tolerance=1", + "sha256": "8ec679a0584732a6b76c14c1ad3ec8d6fdffa4d094de8fd81154837016a270c4", + "status": "completed" + }, + { + "path": "cells/f12e4f056a6b866123ec353279d8a68b62f5500f65064f1a5c5d785f3e5c3c2b.json", + "point_key": "grid=4;tolerance=0.5", + "sha256": "f12e4f056a6b866123ec353279d8a68b62f5500f65064f1a5c5d785f3e5c3c2b", + "status": "completed" + }, + { + "path": "cells/0174555f6377331ee1f5cba7d14a0f69906363cfe648d3bb88f87a409650f95c.json", + "point_key": "grid=4;tolerance=0.25", + "sha256": "0174555f6377331ee1f5cba7d14a0f69906363cfe648d3bb88f87a409650f95c", + "status": "completed" + }, + { + "path": "cells/67b6bb4d39ed4a347ee1d6e0035d5e843f968f8a29d8bf4ea922a64b3af59335.json", + "point_key": "grid=8;tolerance=1", + "sha256": "67b6bb4d39ed4a347ee1d6e0035d5e843f968f8a29d8bf4ea922a64b3af59335", + "status": "failed" + }, + { + "path": "cells/603b7ce40165f9e6443efa7ef04aa560403404dea89e787cbd89ad68478870fb.json", + "point_key": "grid=8;tolerance=0.5", + "sha256": "603b7ce40165f9e6443efa7ef04aa560403404dea89e787cbd89ad68478870fb", + "status": "failed" + }, + { + "path": "cells/a46ef4224832dc52a4aeb2d738fccde3aa85cea0b069774a97f61669b76f3c0b.json", + "point_key": "grid=8;tolerance=0.25", + "sha256": "a46ef4224832dc52a4aeb2d738fccde3aa85cea0b069774a97f61669b76f3c0b", + "status": "failed" + }, + { + "path": "cells/61ac553b490e6563a634dfec99b0331509d806763ec2ccda70d369badccfffbb.json", + "point_key": "grid=16;tolerance=1", + "sha256": "61ac553b490e6563a634dfec99b0331509d806763ec2ccda70d369badccfffbb", + "status": "failed" + }, + { + "path": "cells/fca53d8dd6f19fc79b737cef03442257fe5efc5e56bec67cd238ce1e5dd45f3a.json", + "point_key": "grid=16;tolerance=0.5", + "sha256": "fca53d8dd6f19fc79b737cef03442257fe5efc5e56bec67cd238ce1e5dd45f3a", + "status": "failed" + }, + { + "path": "cells/b962bd2e0ce2ab5ce6b7af5c8240e0d2fa958117542a0a657579c1d14cc54138.json", + "point_key": "grid=16;tolerance=0.25", + "sha256": "b962bd2e0ce2ab5ce6b7af5c8240e0d2fa958117542a0a657579c1d14cc54138", + "status": "failed" + } + ], + "environment_sha256": "197e3085b43d4d83ae9bd5fef2bd7f038a2dda3a888bf16c1a02804ec0cb8c27" + }, + "certificates": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/AlgebraicInterfaceStateDaeTransientV1/7e12119c3ad959f394159b2ac8cc4287e625274c4be4437a5eaa1660a9e286e9/Certificates/6a0cc7c00e8f5cae68c62b73ca7dddcd12437a59fb0cf375bad002d9e6d04c3a.json", + "sha256": "f898e39aa171499454b978d68d738ee4ce32078c1a936ec8a7d70893b531a22c", + "role": "historical_certificates" + }, + "declared_content_id": "6a0cc7c00e8f5cae68c62b73ca7dddcd12437a59fb0cf375bad002d9e6d04c3a", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "failed", + "declared_lane_id": "AlgebraicInterfaceStateDaeTransientV1", + "source_commit": "779a18d2c427afc00e082e6895357a8e90f3450d", + "source_fingerprint_sha256": "2dd7f618f51dab568c03e5c49cda59e077fca776e6d17d8c3612446d19377c89", + "config_sha256": "523449448807e4993f999300308096003c3eeaf280924b7af208915a3cf41a54", + "lane_definition_sha256": "5a474d42df27bce976f5abe0c169cd250e8e60e8d89bb8998e9b972c037867d1", + "completed_cells": 3, + "expected_cells_count": 9, + "failed_cells_count": 6, + "missing_cells_count": 0, + "artifact_pointers": [], + "environment_sha256": "197e3085b43d4d83ae9bd5fef2bd7f038a2dda3a888bf16c1a02804ec0cb8c27" + } + } + ], + "status": "historical_records_located" + }, + { + "capability_id": "lane-74c8fcdda1607b00", + "lane": "bulk-energy-distributed-trap-equilibrium-v1", + "archive_directory": "results/NumericalRefinement/BulkEnergyDistributedTrapEquilibriumV1", + "runs": [ + { + "run_directory": "results/NumericalRefinement/BulkEnergyDistributedTrapEquilibriumV1/b69fa02f71039b8f1d8c753a8ee07ef8689bc261e206c58c0ea91da2b5ef07f4", + "state": { + "root": "archive", + "path": "results/NumericalRefinement/BulkEnergyDistributedTrapEquilibriumV1/b69fa02f71039b8f1d8c753a8ee07ef8689bc261e206c58c0ea91da2b5ef07f4/State.json", + "sha256": "cf7519e06bb50d8e0acbc0e578af34e951e7ffb9aa5cc00e729f9376c374544c", + "role": "old_result_state" + }, + "declared_run_id": "b69fa02f71039b8f1d8c753a8ee07ef8689bc261e206c58c0ea91da2b5ef07f4", + "binding_status": "located_not_recertified", + "manifests": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/BulkEnergyDistributedTrapEquilibriumV1/b69fa02f71039b8f1d8c753a8ee07ef8689bc261e206c58c0ea91da2b5ef07f4/Manifests/2166d97e6a76e81bca311b14547b98794c50a92d7249f072c856448d717e2d93.json", + "sha256": "92a3fb07ebed324456f5800f28ac80d0996885bb7e67525e261b0f4fd566f6b1", + "role": "historical_manifests" + }, + "declared_content_id": "2166d97e6a76e81bca311b14547b98794c50a92d7249f072c856448d717e2d93", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "complete", + "declared_lane_id": "BulkEnergyDistributedTrapEquilibriumV1", + "source_commit": "d336e456ba71b66808e256241f49908cac5d9c0e", + "source_fingerprint_sha256": "5049266d499382ccb7f07036da4a1d82ae966967ca324b0e992b8950d9c07765", + "config_sha256": null, + "lane_definition_sha256": "a2a7a44124b661bcee722510c2b92f5519a0bf2d9e73298040f6a04963d19dcc", + "completed_cells": null, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": null, + "artifact_pointers": [ + { + "path": "cells/960aac7de08aabf37e4b99134c5c00ee88b332440cf18947672b7feda2221c5d.json", + "point_key": "grid=40;tolerance=1", + "sha256": "960aac7de08aabf37e4b99134c5c00ee88b332440cf18947672b7feda2221c5d", + "status": "completed" + }, + { + "path": "cells/84caf7d684636b4c71a78d10a5a6140ba79c53d5e4fa560362d1dd0be3c70523.json", + "point_key": "grid=40;tolerance=0.1", + "sha256": "84caf7d684636b4c71a78d10a5a6140ba79c53d5e4fa560362d1dd0be3c70523", + "status": "completed" + }, + { + "path": "cells/8889365c44e827cfe2b33067a480376cb69b93357e77c008fba4a29fee4ff425.json", + "point_key": "grid=40;tolerance=0.01", + "sha256": "8889365c44e827cfe2b33067a480376cb69b93357e77c008fba4a29fee4ff425", + "status": "completed" + }, + { + "path": "cells/87e3e81abadbf21d1000e055e0a99357b94c379e28d3dd13019ea8d3389be078.json", + "point_key": "grid=80;tolerance=1", + "sha256": "87e3e81abadbf21d1000e055e0a99357b94c379e28d3dd13019ea8d3389be078", + "status": "completed" + }, + { + "path": "cells/68f0dc2f4fabe7afbe6af60089db517036be9699d59bdeaa3c86327e8b27484d.json", + "point_key": "grid=80;tolerance=0.1", + "sha256": "68f0dc2f4fabe7afbe6af60089db517036be9699d59bdeaa3c86327e8b27484d", + "status": "completed" + }, + { + "path": "cells/42ac5345f333f64ceff42e786b24dbef46a58cf5ef80ce2b43d6e7b8e03bf98f.json", + "point_key": "grid=80;tolerance=0.01", + "sha256": "42ac5345f333f64ceff42e786b24dbef46a58cf5ef80ce2b43d6e7b8e03bf98f", + "status": "completed" + }, + { + "path": "cells/6a2070d51ae68dbcce11fa8066921a19bdf82948a56449862fc74dac9f2b5eda.json", + "point_key": "grid=160;tolerance=1", + "sha256": "6a2070d51ae68dbcce11fa8066921a19bdf82948a56449862fc74dac9f2b5eda", + "status": "completed" + }, + { + "path": "cells/ff6c77a266a147f1825c51915b1c2182542d4421d329b8d3f7495d53dbc49bde.json", + "point_key": "grid=160;tolerance=0.1", + "sha256": "ff6c77a266a147f1825c51915b1c2182542d4421d329b8d3f7495d53dbc49bde", + "status": "completed" + }, + { + "path": "cells/52a3ed36065c64fb14aaff2234580858618591e10931bd8b22cc9541f7721578.json", + "point_key": "grid=160;tolerance=0.01", + "sha256": "52a3ed36065c64fb14aaff2234580858618591e10931bd8b22cc9541f7721578", + "status": "completed" + } + ], + "environment_sha256": "197e3085b43d4d83ae9bd5fef2bd7f038a2dda3a888bf16c1a02804ec0cb8c27" + }, + "certificates": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/BulkEnergyDistributedTrapEquilibriumV1/b69fa02f71039b8f1d8c753a8ee07ef8689bc261e206c58c0ea91da2b5ef07f4/Certificates/bd385f0a01db4ad769f6fc1591c5cd79acafef5663d60f81ddee6cb9987991fc.json", + "sha256": "8be532365f0c13f4bdf155674c2ea2ed025d87f6fd672829e3e7fe38a157fe6a", + "role": "historical_certificates" + }, + "declared_content_id": "bd385f0a01db4ad769f6fc1591c5cd79acafef5663d60f81ddee6cb9987991fc", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "certified", + "declared_lane_id": "BulkEnergyDistributedTrapEquilibriumV1", + "source_commit": "d336e456ba71b66808e256241f49908cac5d9c0e", + "source_fingerprint_sha256": "5049266d499382ccb7f07036da4a1d82ae966967ca324b0e992b8950d9c07765", + "config_sha256": "7e8bf1ab6669bd8088cd402ef73aca1cd75c9ae1755d3137faf6650569ac481b", + "lane_definition_sha256": "a2a7a44124b661bcee722510c2b92f5519a0bf2d9e73298040f6a04963d19dcc", + "completed_cells": 9, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": 0, + "artifact_pointers": [], + "environment_sha256": "197e3085b43d4d83ae9bd5fef2bd7f038a2dda3a888bf16c1a02804ec0cb8c27" + } + } + ], + "status": "historical_records_located" + }, + { + "capability_id": "lane-30c624efe3f8467f", + "lane": "charged-explicit-defect-qf-dc-v1", + "archive_directory": "results/NumericalRefinement/ChargedExplicitDefectQfDcV1", + "runs": [ + { + "run_directory": "results/NumericalRefinement/ChargedExplicitDefectQfDcV1/0659fa8e1d5ec4d499b3ae0a9f15030f401156d0738f633e23ad63855757c576", + "state": { + "root": "archive", + "path": "results/NumericalRefinement/ChargedExplicitDefectQfDcV1/0659fa8e1d5ec4d499b3ae0a9f15030f401156d0738f633e23ad63855757c576/State.json", + "sha256": "5e39d3a80c0160f98f4f8f8b3424f2f80c591ff2bff6d8806fbf7bbb5aa93b34", + "role": "old_result_state" + }, + "declared_run_id": "0659fa8e1d5ec4d499b3ae0a9f15030f401156d0738f633e23ad63855757c576", + "binding_status": "located_not_recertified", + "manifests": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/ChargedExplicitDefectQfDcV1/0659fa8e1d5ec4d499b3ae0a9f15030f401156d0738f633e23ad63855757c576/Manifests/90e809db01907cd8fe31121eb5f7852e042932c82b7fcd5566924292b71ad3b9.json", + "sha256": "5046c4193759387b260a11425a41566d2b6114a65dea9de43bb405d1394495e3", + "role": "historical_manifests" + }, + "declared_content_id": "90e809db01907cd8fe31121eb5f7852e042932c82b7fcd5566924292b71ad3b9", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "running", + "declared_lane_id": "ChargedExplicitDefectQfDcV1", + "source_commit": "944a66d5855eec750b3550541960b20a01634030", + "source_fingerprint_sha256": "024b48c847c82bae7633a967ca8981f35608b71ff707cc4f3080b2a058951f79", + "config_sha256": null, + "lane_definition_sha256": "8dbb9d9b3d8668745504dcd9fca7d53b166a25e72a0cbb253b4fcf3118f939f3", + "completed_cells": null, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": null, + "artifact_pointers": [ + { + "path": "cells/4d9e280f7b6df57d122ed1fd044b0ab73a3aae1f57b78e2b9074d7d5300ed648.json", + "point_key": "grid=8;tolerance=1", + "sha256": "4d9e280f7b6df57d122ed1fd044b0ab73a3aae1f57b78e2b9074d7d5300ed648", + "status": "completed" + } + ], + "environment_sha256": "197e3085b43d4d83ae9bd5fef2bd7f038a2dda3a888bf16c1a02804ec0cb8c27" + }, + "certificates": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/ChargedExplicitDefectQfDcV1/0659fa8e1d5ec4d499b3ae0a9f15030f401156d0738f633e23ad63855757c576/Certificates/b9883f696afb07f03a6cfa8a575bc688c6939862dff4d7c759216c8fdbb0f74c.json", + "sha256": "6fe0c68788b7e62e41e6a21cd1d618c2416e1f64f6645fb85f3066fb373d78ab", + "role": "historical_certificates" + }, + "declared_content_id": "b9883f696afb07f03a6cfa8a575bc688c6939862dff4d7c759216c8fdbb0f74c", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "failed", + "declared_lane_id": "ChargedExplicitDefectQfDcV1", + "source_commit": "944a66d5855eec750b3550541960b20a01634030", + "source_fingerprint_sha256": "024b48c847c82bae7633a967ca8981f35608b71ff707cc4f3080b2a058951f79", + "config_sha256": "5ac82fb9826741efacef3f2219b07f9b3bf8bd87a4888b24cf1464eeee60d2ef", + "lane_definition_sha256": "8dbb9d9b3d8668745504dcd9fca7d53b166a25e72a0cbb253b4fcf3118f939f3", + "completed_cells": 1, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": 8, + "artifact_pointers": [], + "environment_sha256": "197e3085b43d4d83ae9bd5fef2bd7f038a2dda3a888bf16c1a02804ec0cb8c27" + } + }, + { + "run_directory": "results/NumericalRefinement/ChargedExplicitDefectQfDcV1/4ad6cd0f32dda3b59a4cd3412f7815272f9db3c9cff10e1d3c758cd388a05f52", + "state": { + "root": "archive", + "path": "results/NumericalRefinement/ChargedExplicitDefectQfDcV1/4ad6cd0f32dda3b59a4cd3412f7815272f9db3c9cff10e1d3c758cd388a05f52/State.json", + "sha256": "53cff3df43934ecdff4fcea25ec201fa3e8b9eee949e3deb42eb9764d2c1b798", + "role": "old_result_state" + }, + "declared_run_id": "4ad6cd0f32dda3b59a4cd3412f7815272f9db3c9cff10e1d3c758cd388a05f52", + "binding_status": "located_not_recertified", + "manifests": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/ChargedExplicitDefectQfDcV1/4ad6cd0f32dda3b59a4cd3412f7815272f9db3c9cff10e1d3c758cd388a05f52/Manifests/6b28412061992bd3273931bcd78c07a0c24d6f75e830d4603eb7a312b1c81c43.json", + "sha256": "b876f7aa52e9044c93a87a55fc27131fd3cb4b4e01513cc9cd132a6cb203dc93", + "role": "historical_manifests" + }, + "declared_content_id": "6b28412061992bd3273931bcd78c07a0c24d6f75e830d4603eb7a312b1c81c43", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "complete", + "declared_lane_id": "ChargedExplicitDefectQfDcV1", + "source_commit": "944a66d5855eec750b3550541960b20a01634030", + "source_fingerprint_sha256": "97e0f4d343292152fdd7b5a390d48dec7be0167e62189116578b2bc523224536", + "config_sha256": null, + "lane_definition_sha256": "8dbb9d9b3d8668745504dcd9fca7d53b166a25e72a0cbb253b4fcf3118f939f3", + "completed_cells": null, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": null, + "artifact_pointers": [ + { + "path": "cells/4d2104048c8145f03485969cf20b01c15285c59fde3aa79410a68674f53cea44.json", + "point_key": "grid=8;tolerance=1", + "sha256": "4d2104048c8145f03485969cf20b01c15285c59fde3aa79410a68674f53cea44", + "status": "completed" + }, + { + "path": "cells/21442346cb2e1ae8a004ea9f7e1db43be023819707754102148a09286bf4263c.json", + "point_key": "grid=8;tolerance=0.1", + "sha256": "21442346cb2e1ae8a004ea9f7e1db43be023819707754102148a09286bf4263c", + "status": "completed" + }, + { + "path": "cells/226cbe7200d98409b4fd42db42f7d7e181e09227642f34921cbda0fc55aa0e10.json", + "point_key": "grid=8;tolerance=0.01", + "sha256": "226cbe7200d98409b4fd42db42f7d7e181e09227642f34921cbda0fc55aa0e10", + "status": "completed" + }, + { + "path": "cells/d477d44f8d8bb5051ad283358703e50349fc327955af6e4882c22176bafa2026.json", + "point_key": "grid=16;tolerance=1", + "sha256": "d477d44f8d8bb5051ad283358703e50349fc327955af6e4882c22176bafa2026", + "status": "completed" + }, + { + "path": "cells/de7c582c7aa274cdfc74d3d3ae0183edf739233afdb06ba26de873baad29f41b.json", + "point_key": "grid=16;tolerance=0.1", + "sha256": "de7c582c7aa274cdfc74d3d3ae0183edf739233afdb06ba26de873baad29f41b", + "status": "completed" + }, + { + "path": "cells/e8260bde1ca1f65a362b5ff6b38a7971dda0b666a2be2a47a9fc742400cbd5af.json", + "point_key": "grid=16;tolerance=0.01", + "sha256": "e8260bde1ca1f65a362b5ff6b38a7971dda0b666a2be2a47a9fc742400cbd5af", + "status": "completed" + }, + { + "path": "cells/74e05b6724c31810b95c4eac9121bbb308d190a0b199a781a2d595c0568377e4.json", + "point_key": "grid=32;tolerance=1", + "sha256": "74e05b6724c31810b95c4eac9121bbb308d190a0b199a781a2d595c0568377e4", + "status": "completed" + }, + { + "path": "cells/8febd2af0fbb25c81e89ae7c812eeb320619360edc09e910a4a2fa2b42b9efc8.json", + "point_key": "grid=32;tolerance=0.1", + "sha256": "8febd2af0fbb25c81e89ae7c812eeb320619360edc09e910a4a2fa2b42b9efc8", + "status": "completed" + }, + { + "path": "cells/63e34f0946d59e97e87919f8ae9ec34badac25c8462c898ac067a6a9a5d25478.json", + "point_key": "grid=32;tolerance=0.01", + "sha256": "63e34f0946d59e97e87919f8ae9ec34badac25c8462c898ac067a6a9a5d25478", + "status": "completed" + } + ], + "environment_sha256": "197e3085b43d4d83ae9bd5fef2bd7f038a2dda3a888bf16c1a02804ec0cb8c27" + }, + "certificates": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/ChargedExplicitDefectQfDcV1/4ad6cd0f32dda3b59a4cd3412f7815272f9db3c9cff10e1d3c758cd388a05f52/Certificates/f4325e086d9e8847de9a8f4491955f0c194dbd0c877249ea2983e49353cadc89.json", + "sha256": "48e17adb379b36b487dec6eb7ed1513677c4eaa578c5f2a3219a178393b1c0e6", + "role": "historical_certificates" + }, + "declared_content_id": "f4325e086d9e8847de9a8f4491955f0c194dbd0c877249ea2983e49353cadc89", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "partial", + "declared_lane_id": "ChargedExplicitDefectQfDcV1", + "source_commit": "944a66d5855eec750b3550541960b20a01634030", + "source_fingerprint_sha256": "97e0f4d343292152fdd7b5a390d48dec7be0167e62189116578b2bc523224536", + "config_sha256": "5ac82fb9826741efacef3f2219b07f9b3bf8bd87a4888b24cf1464eeee60d2ef", + "lane_definition_sha256": "8dbb9d9b3d8668745504dcd9fca7d53b166a25e72a0cbb253b4fcf3118f939f3", + "completed_cells": 9, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": 0, + "artifact_pointers": [], + "environment_sha256": "197e3085b43d4d83ae9bd5fef2bd7f038a2dda3a888bf16c1a02804ec0cb8c27" + } + }, + { + "run_directory": "results/NumericalRefinement/ChargedExplicitDefectQfDcV1/505c77cf21ac002c066fea5ae195663b56de9dfe5a0c4d780ee7002e6c0181c6", + "state": { + "root": "archive", + "path": "results/NumericalRefinement/ChargedExplicitDefectQfDcV1/505c77cf21ac002c066fea5ae195663b56de9dfe5a0c4d780ee7002e6c0181c6/State.json", + "sha256": "2952924fdcca4a864920ddc5d6b1446e3be409d1d239e08961dbef11f324ad56", + "role": "old_result_state" + }, + "declared_run_id": "505c77cf21ac002c066fea5ae195663b56de9dfe5a0c4d780ee7002e6c0181c6", + "binding_status": "located_not_recertified", + "manifests": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/ChargedExplicitDefectQfDcV1/505c77cf21ac002c066fea5ae195663b56de9dfe5a0c4d780ee7002e6c0181c6/Manifests/d3cf7ea2637021f5b83415199ee50e59a61b47463df575b80f28d6fa3320060b.json", + "sha256": "1f677a4982001b4f1ebf46388dfddfce19fa282ae08dbc6ce087b1bf9c2ee4a1", + "role": "historical_manifests" + }, + "declared_content_id": "d3cf7ea2637021f5b83415199ee50e59a61b47463df575b80f28d6fa3320060b", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "complete", + "declared_lane_id": "ChargedExplicitDefectQfDcV1", + "source_commit": "944a66d5855eec750b3550541960b20a01634030", + "source_fingerprint_sha256": "63740ce91689e6491416f650e6e9bead1c1b107332886df1cb837f7ba8e5be0d", + "config_sha256": null, + "lane_definition_sha256": "99b900c9b3ab093a8e9f10f01fc117b115259c0f265ac011e8f9dc023b8e5593", + "completed_cells": null, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": null, + "artifact_pointers": [ + { + "path": "cells/5006dedf962a35fd105f80dc66a38032fb31cefaddffc466d6f5cfb89820559d.json", + "point_key": "grid=32;tolerance=1", + "sha256": "5006dedf962a35fd105f80dc66a38032fb31cefaddffc466d6f5cfb89820559d", + "status": "completed" + }, + { + "path": "cells/26991345efa10083b0de3494ed9de56e47ff9bf2595e2146ccfbe67bb100f11b.json", + "point_key": "grid=32;tolerance=0.1", + "sha256": "26991345efa10083b0de3494ed9de56e47ff9bf2595e2146ccfbe67bb100f11b", + "status": "completed" + }, + { + "path": "cells/e959e27226b5f3a57b63b49864976dc5a0c2a4babf72af8e2068e8b8fb1b692b.json", + "point_key": "grid=32;tolerance=0.01", + "sha256": "e959e27226b5f3a57b63b49864976dc5a0c2a4babf72af8e2068e8b8fb1b692b", + "status": "completed" + }, + { + "path": "cells/ed7c62a122af8607158a45ad7b258e87bbdf4f137304b733570fd13b2a60def2.json", + "point_key": "grid=64;tolerance=1", + "sha256": "ed7c62a122af8607158a45ad7b258e87bbdf4f137304b733570fd13b2a60def2", + "status": "completed" + }, + { + "path": "cells/bb7c466ec25e27f75ee9e83230f723cdf5ffff047a4d70215da4c58a6d31bf13.json", + "point_key": "grid=64;tolerance=0.1", + "sha256": "bb7c466ec25e27f75ee9e83230f723cdf5ffff047a4d70215da4c58a6d31bf13", + "status": "completed" + }, + { + "path": "cells/f27ac58bf1eb2bf8db37eab369c8d4946b7803ed63873c1703aef611a3774665.json", + "point_key": "grid=64;tolerance=0.01", + "sha256": "f27ac58bf1eb2bf8db37eab369c8d4946b7803ed63873c1703aef611a3774665", + "status": "completed" + }, + { + "path": "cells/cd034dfa0892e420790975b44b1472b1f8e7f5e1cafcbd6234a8fff031c4186b.json", + "point_key": "grid=128;tolerance=1", + "sha256": "cd034dfa0892e420790975b44b1472b1f8e7f5e1cafcbd6234a8fff031c4186b", + "status": "completed" + }, + { + "path": "cells/f34481f5887266e342be2cec9df879cd5241a7fecf353e7c1d9ad6d7d72ef4f4.json", + "point_key": "grid=128;tolerance=0.1", + "sha256": "f34481f5887266e342be2cec9df879cd5241a7fecf353e7c1d9ad6d7d72ef4f4", + "status": "completed" + }, + { + "path": "cells/91ef6ae0b588617a34c8d70335a25ee68b4a0d1cef38a5a996a3591daf78c4c0.json", + "point_key": "grid=128;tolerance=0.01", + "sha256": "91ef6ae0b588617a34c8d70335a25ee68b4a0d1cef38a5a996a3591daf78c4c0", + "status": "completed" + } + ], + "environment_sha256": "197e3085b43d4d83ae9bd5fef2bd7f038a2dda3a888bf16c1a02804ec0cb8c27" + }, + "certificates": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/ChargedExplicitDefectQfDcV1/505c77cf21ac002c066fea5ae195663b56de9dfe5a0c4d780ee7002e6c0181c6/Certificates/52457c63db6fe45b6d8c5f52f65757c2d9e65a5a1fd0667ac0a7af5ab1b6bd6e.json", + "sha256": "007736e97049a0d65067fdcc66a98feb5eea8098f52a1de1cb90d0bc3fdbf5fe", + "role": "historical_certificates" + }, + "declared_content_id": "52457c63db6fe45b6d8c5f52f65757c2d9e65a5a1fd0667ac0a7af5ab1b6bd6e", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "certified", + "declared_lane_id": "ChargedExplicitDefectQfDcV1", + "source_commit": "944a66d5855eec750b3550541960b20a01634030", + "source_fingerprint_sha256": "63740ce91689e6491416f650e6e9bead1c1b107332886df1cb837f7ba8e5be0d", + "config_sha256": "5ac82fb9826741efacef3f2219b07f9b3bf8bd87a4888b24cf1464eeee60d2ef", + "lane_definition_sha256": "99b900c9b3ab093a8e9f10f01fc117b115259c0f265ac011e8f9dc023b8e5593", + "completed_cells": 9, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": 0, + "artifact_pointers": [], + "environment_sha256": "197e3085b43d4d83ae9bd5fef2bd7f038a2dda3a888bf16c1a02804ec0cb8c27" + } + }, + { + "run_directory": "results/NumericalRefinement/ChargedExplicitDefectQfDcV1/81067075c679f0e56f5a387d021986243d7ff1405968e7ce5c6be736bb3c5228", + "state": { + "root": "archive", + "path": "results/NumericalRefinement/ChargedExplicitDefectQfDcV1/81067075c679f0e56f5a387d021986243d7ff1405968e7ce5c6be736bb3c5228/State.json", + "sha256": "cd9064ca2f274e0e461b90daaf77d626780ed9e7f6455efeb6fe44d134e7d811", + "role": "old_result_state" + }, + "declared_run_id": "81067075c679f0e56f5a387d021986243d7ff1405968e7ce5c6be736bb3c5228", + "binding_status": "located_not_recertified", + "manifests": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/ChargedExplicitDefectQfDcV1/81067075c679f0e56f5a387d021986243d7ff1405968e7ce5c6be736bb3c5228/Manifests/8d2aa44052b980eca8b07d463a816b22328491d4fb79272886c992de00a2495d.json", + "sha256": "96acd09f9146e75262fd5f71d8443cfb540a097b68420db4b2b5a3bbae34e9e4", + "role": "historical_manifests" + }, + "declared_content_id": "8d2aa44052b980eca8b07d463a816b22328491d4fb79272886c992de00a2495d", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "complete", + "declared_lane_id": "ChargedExplicitDefectQfDcV1", + "source_commit": "421bfd0c5f8961da24a14cc47c6f5fe3db80c48d", + "source_fingerprint_sha256": "39d3cc490be4b2ac13f7a9843d2769f3d549dbc84975638d0fb9660c26fea576", + "config_sha256": null, + "lane_definition_sha256": "99b900c9b3ab093a8e9f10f01fc117b115259c0f265ac011e8f9dc023b8e5593", + "completed_cells": null, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": null, + "artifact_pointers": [ + { + "path": "cells/789672791d97bd11eeffba01653a3c76624f5352cf6dafd5c0a6dd2606544f30.json", + "point_key": "grid=32;tolerance=1", + "sha256": "789672791d97bd11eeffba01653a3c76624f5352cf6dafd5c0a6dd2606544f30", + "status": "completed" + }, + { + "path": "cells/25a2014a43f7dbbfd07ccb19524227226008bb7a2b58836d07bc148eaa8cb947.json", + "point_key": "grid=32;tolerance=0.1", + "sha256": "25a2014a43f7dbbfd07ccb19524227226008bb7a2b58836d07bc148eaa8cb947", + "status": "completed" + }, + { + "path": "cells/1e4cc97d8754ec5ee12353c3cbfa56e932be3ceff5757ea40cbeeeac12b363bc.json", + "point_key": "grid=32;tolerance=0.01", + "sha256": "1e4cc97d8754ec5ee12353c3cbfa56e932be3ceff5757ea40cbeeeac12b363bc", + "status": "completed" + }, + { + "path": "cells/612d833515c870fc72bb51054297ebb7a445123963ee8b0b430c4ca8a36ce331.json", + "point_key": "grid=64;tolerance=1", + "sha256": "612d833515c870fc72bb51054297ebb7a445123963ee8b0b430c4ca8a36ce331", + "status": "completed" + }, + { + "path": "cells/66071e840bde6fc2056fed043331a5311963a586a00e6f105b708cbfdb431da5.json", + "point_key": "grid=64;tolerance=0.1", + "sha256": "66071e840bde6fc2056fed043331a5311963a586a00e6f105b708cbfdb431da5", + "status": "completed" + }, + { + "path": "cells/bc7ef8034e8c12eef188ed960470cb78e40d5dfa66552cb32e85e3d33f3d0916.json", + "point_key": "grid=64;tolerance=0.01", + "sha256": "bc7ef8034e8c12eef188ed960470cb78e40d5dfa66552cb32e85e3d33f3d0916", + "status": "completed" + }, + { + "path": "cells/df325e872240c209f873a2ec2783037363fe6a5e9b441c3261ddc7e6333f1c70.json", + "point_key": "grid=128;tolerance=1", + "sha256": "df325e872240c209f873a2ec2783037363fe6a5e9b441c3261ddc7e6333f1c70", + "status": "completed" + }, + { + "path": "cells/6e80bdad9758e1be9602e7f447c015b4893fb92f71c1e3de0ba6a479cd17a3df.json", + "point_key": "grid=128;tolerance=0.1", + "sha256": "6e80bdad9758e1be9602e7f447c015b4893fb92f71c1e3de0ba6a479cd17a3df", + "status": "completed" + }, + { + "path": "cells/764ff50bfc824e64d2bec39eea02c876ab506c4b31ea14126a466232e59e3782.json", + "point_key": "grid=128;tolerance=0.01", + "sha256": "764ff50bfc824e64d2bec39eea02c876ab506c4b31ea14126a466232e59e3782", + "status": "completed" + } + ], + "environment_sha256": "8a9cacccab628ed7690dc2b3e0f1bf707d74223a6962feeda2bd6a7c041a141e" + }, + "certificates": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/ChargedExplicitDefectQfDcV1/81067075c679f0e56f5a387d021986243d7ff1405968e7ce5c6be736bb3c5228/Certificates/c5a3a3c1b5d6ceb879813e5fa820ab80f5e5de8b065db6fb5860752506b20ddd.json", + "sha256": "fb2e3d389748de542691632c31776d2136a6c314b6f633725e883f53708c5ca5", + "role": "historical_certificates" + }, + "declared_content_id": "c5a3a3c1b5d6ceb879813e5fa820ab80f5e5de8b065db6fb5860752506b20ddd", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "certified", + "declared_lane_id": "ChargedExplicitDefectQfDcV1", + "source_commit": "421bfd0c5f8961da24a14cc47c6f5fe3db80c48d", + "source_fingerprint_sha256": "39d3cc490be4b2ac13f7a9843d2769f3d549dbc84975638d0fb9660c26fea576", + "config_sha256": "5ac82fb9826741efacef3f2219b07f9b3bf8bd87a4888b24cf1464eeee60d2ef", + "lane_definition_sha256": "99b900c9b3ab093a8e9f10f01fc117b115259c0f265ac011e8f9dc023b8e5593", + "completed_cells": 9, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": 0, + "artifact_pointers": [], + "environment_sha256": "8a9cacccab628ed7690dc2b3e0f1bf707d74223a6962feeda2bd6a7c041a141e" + } + }, + { + "run_directory": "results/NumericalRefinement/ChargedExplicitDefectQfDcV1/b05c19fadd9723090eb2ea49908a65b70f6a3b30678d3b2439bb15f948d24285", + "state": { + "root": "archive", + "path": "results/NumericalRefinement/ChargedExplicitDefectQfDcV1/b05c19fadd9723090eb2ea49908a65b70f6a3b30678d3b2439bb15f948d24285/State.json", + "sha256": "960ca0d536cef2d3bab616b6d9b7649b9f9814874e70a22941ec9dbc8961aa68", + "role": "old_result_state" + }, + "declared_run_id": "b05c19fadd9723090eb2ea49908a65b70f6a3b30678d3b2439bb15f948d24285", + "binding_status": "located_not_recertified", + "manifests": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/ChargedExplicitDefectQfDcV1/b05c19fadd9723090eb2ea49908a65b70f6a3b30678d3b2439bb15f948d24285/Manifests/70ffd00fb4a9900adcc441b1c472366d08eba0225984bb6748c3a719d09a6e15.json", + "sha256": "82e2420cff18279f93179b8431eaedd5cf5d2cb8eed4e9b99580ec2759e3db56", + "role": "historical_manifests" + }, + "declared_content_id": "70ffd00fb4a9900adcc441b1c472366d08eba0225984bb6748c3a719d09a6e15", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "complete", + "declared_lane_id": "ChargedExplicitDefectQfDcV1", + "source_commit": "944a66d5855eec750b3550541960b20a01634030", + "source_fingerprint_sha256": "63740ce91689e6491416f650e6e9bead1c1b107332886df1cb837f7ba8e5be0d", + "config_sha256": null, + "lane_definition_sha256": "e3c641c9601834f8d13a3bfd20da16c8050fac3ef09bf143b3d581568ecd5585", + "completed_cells": null, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": null, + "artifact_pointers": [ + { + "path": "cells/03f04d76fcdbe1bd3af34eaa800f0bc0e2bfdca22d094e3ae04b1c97ffb80726.json", + "point_key": "grid=16;tolerance=1", + "sha256": "03f04d76fcdbe1bd3af34eaa800f0bc0e2bfdca22d094e3ae04b1c97ffb80726", + "status": "completed" + }, + { + "path": "cells/9e02924666d06574d9cad00d52c33931f180404c2957af5845b56e956e3b715d.json", + "point_key": "grid=16;tolerance=0.1", + "sha256": "9e02924666d06574d9cad00d52c33931f180404c2957af5845b56e956e3b715d", + "status": "completed" + }, + { + "path": "cells/5ebcc86ac81dd86c8e17353530fef456b0274f727845779a928a7519faf5c17f.json", + "point_key": "grid=16;tolerance=0.01", + "sha256": "5ebcc86ac81dd86c8e17353530fef456b0274f727845779a928a7519faf5c17f", + "status": "completed" + }, + { + "path": "cells/659d6fe2b4faab20e8393d02e77f34a4d500c9b8847293a31d708bbd9f098573.json", + "point_key": "grid=32;tolerance=1", + "sha256": "659d6fe2b4faab20e8393d02e77f34a4d500c9b8847293a31d708bbd9f098573", + "status": "completed" + }, + { + "path": "cells/ac961ddfd9a779e7091f3b15f2449395b5fcb0f1e5b3bd50a9ab345cb8224547.json", + "point_key": "grid=32;tolerance=0.1", + "sha256": "ac961ddfd9a779e7091f3b15f2449395b5fcb0f1e5b3bd50a9ab345cb8224547", + "status": "completed" + }, + { + "path": "cells/ca8be1eb7dd646bc585a06040ae3b2dbc96917011a91e75024146c9129160e32.json", + "point_key": "grid=32;tolerance=0.01", + "sha256": "ca8be1eb7dd646bc585a06040ae3b2dbc96917011a91e75024146c9129160e32", + "status": "completed" + }, + { + "path": "cells/44545b04e8a8de88800101051a6b50dd4ca362da919e133ddc1283392304b818.json", + "point_key": "grid=64;tolerance=1", + "sha256": "44545b04e8a8de88800101051a6b50dd4ca362da919e133ddc1283392304b818", + "status": "completed" + }, + { + "path": "cells/6c179da18b8c877a6e0983852c30b5aa88e27664f3cb7a0e5687e69f8788ca0c.json", + "point_key": "grid=64;tolerance=0.1", + "sha256": "6c179da18b8c877a6e0983852c30b5aa88e27664f3cb7a0e5687e69f8788ca0c", + "status": "completed" + }, + { + "path": "cells/c2c5b7ce05f7d3d62d1b0e6acc683cbfb90fdd9eea091fdf2a23f6d0d358eac8.json", + "point_key": "grid=64;tolerance=0.01", + "sha256": "c2c5b7ce05f7d3d62d1b0e6acc683cbfb90fdd9eea091fdf2a23f6d0d358eac8", + "status": "completed" + } + ], + "environment_sha256": "197e3085b43d4d83ae9bd5fef2bd7f038a2dda3a888bf16c1a02804ec0cb8c27" + }, + "certificates": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/ChargedExplicitDefectQfDcV1/b05c19fadd9723090eb2ea49908a65b70f6a3b30678d3b2439bb15f948d24285/Certificates/945b4a3365cd3d018764f85bdcfa354f01d2d2bcb2dba1a729cbb171f6e8e6c7.json", + "sha256": "127548fe7e715a7e74896bbe387c9d3a7864c7df60217a8e31fde3be2089ed55", + "role": "historical_certificates" + }, + "declared_content_id": "945b4a3365cd3d018764f85bdcfa354f01d2d2bcb2dba1a729cbb171f6e8e6c7", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "partial", + "declared_lane_id": "ChargedExplicitDefectQfDcV1", + "source_commit": "944a66d5855eec750b3550541960b20a01634030", + "source_fingerprint_sha256": "63740ce91689e6491416f650e6e9bead1c1b107332886df1cb837f7ba8e5be0d", + "config_sha256": "5ac82fb9826741efacef3f2219b07f9b3bf8bd87a4888b24cf1464eeee60d2ef", + "lane_definition_sha256": "e3c641c9601834f8d13a3bfd20da16c8050fac3ef09bf143b3d581568ecd5585", + "completed_cells": 9, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": 0, + "artifact_pointers": [], + "environment_sha256": "197e3085b43d4d83ae9bd5fef2bd7f038a2dda3a888bf16c1a02804ec0cb8c27" + } + }, + { + "run_directory": "results/NumericalRefinement/ChargedExplicitDefectQfDcV1/bf0b9cec1dbbaaae0fae18cbe113969eeae2f763641d973f2c7993021bbb0932", + "state": { + "root": "archive", + "path": "results/NumericalRefinement/ChargedExplicitDefectQfDcV1/bf0b9cec1dbbaaae0fae18cbe113969eeae2f763641d973f2c7993021bbb0932/State.json", + "sha256": "dc9d3d3f4e41430153a4d4772cb79099b7c7b9d6b4ae644a49446d1a85bf1ef3", + "role": "old_result_state" + }, + "declared_run_id": "bf0b9cec1dbbaaae0fae18cbe113969eeae2f763641d973f2c7993021bbb0932", + "binding_status": "located_not_recertified", + "manifests": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/ChargedExplicitDefectQfDcV1/bf0b9cec1dbbaaae0fae18cbe113969eeae2f763641d973f2c7993021bbb0932/Manifests/cc85cf75f9509c61a2c4c37fae6d7db8fc03ec7813dd905b8758310b85e60073.json", + "sha256": "98957986ecacdc63ea73714ae578e8e870e5d795d2e3c4b9fe1f878bf374b0ab", + "role": "historical_manifests" + }, + "declared_content_id": "cc85cf75f9509c61a2c4c37fae6d7db8fc03ec7813dd905b8758310b85e60073", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "complete", + "declared_lane_id": "ChargedExplicitDefectQfDcV1", + "source_commit": "e9d07daf6392743420fd033244989c39c2286b7d", + "source_fingerprint_sha256": "40c2e7e6492b5dce0885b83ac11378f9201a35e7e7eeab65aba6f2dd3878967f", + "config_sha256": null, + "lane_definition_sha256": "07b06b456b4ed21a8793f7b7cc5359fc4074bee35678a15fbe6a8ee186e7a8ba", + "completed_cells": null, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": null, + "artifact_pointers": [ + { + "path": "cells/7d344e227d99b89a8f08811030d2d3285eb48855ca82ec0b5a0573645b8ba087.json", + "point_key": "grid=32;tolerance=1", + "sha256": "7d344e227d99b89a8f08811030d2d3285eb48855ca82ec0b5a0573645b8ba087", + "status": "completed" + }, + { + "path": "cells/a65bf5e585a50e3d4eef9c6a33ca061944a8538078710f8913af2219ade76eae.json", + "point_key": "grid=32;tolerance=0.1", + "sha256": "a65bf5e585a50e3d4eef9c6a33ca061944a8538078710f8913af2219ade76eae", + "status": "completed" + }, + { + "path": "cells/b76ef624bda1cd2b3bcf287e0ea1d44dec33d8435a4cc052f141c8b94f679bbd.json", + "point_key": "grid=32;tolerance=0.01", + "sha256": "b76ef624bda1cd2b3bcf287e0ea1d44dec33d8435a4cc052f141c8b94f679bbd", + "status": "completed" + }, + { + "path": "cells/44254b86c1abc7591e57591f4e74e6be34b4c6e413ac7fe1f34dac2f3864c33d.json", + "point_key": "grid=64;tolerance=1", + "sha256": "44254b86c1abc7591e57591f4e74e6be34b4c6e413ac7fe1f34dac2f3864c33d", + "status": "completed" + }, + { + "path": "cells/057103c05936c24fb10e9a6520c88335ea3496b1b10f0ef24ffb2ea6caabc090.json", + "point_key": "grid=64;tolerance=0.1", + "sha256": "057103c05936c24fb10e9a6520c88335ea3496b1b10f0ef24ffb2ea6caabc090", + "status": "completed" + }, + { + "path": "cells/67a750d0e98dd9d55a75f1a30989e557ff238b9e2ce1543cf2d43d3e61bb351d.json", + "point_key": "grid=64;tolerance=0.01", + "sha256": "67a750d0e98dd9d55a75f1a30989e557ff238b9e2ce1543cf2d43d3e61bb351d", + "status": "completed" + }, + { + "path": "cells/d79904ff1f1362678594bcebcc722bbfcbe2a41d2a2b932fcfde74a8cc68c31c.json", + "point_key": "grid=128;tolerance=1", + "sha256": "d79904ff1f1362678594bcebcc722bbfcbe2a41d2a2b932fcfde74a8cc68c31c", + "status": "completed" + }, + { + "path": "cells/ebc2b76d0c96f9f9a10942987c6556a18bf32639819c4182c383d2b0b9eee9e1.json", + "point_key": "grid=128;tolerance=0.1", + "sha256": "ebc2b76d0c96f9f9a10942987c6556a18bf32639819c4182c383d2b0b9eee9e1", + "status": "completed" + }, + { + "path": "cells/8f8810262c0d70ee36b6f70cea4dcfadc4df45f69eadf79ac32de0fbcd5d7be8.json", + "point_key": "grid=128;tolerance=0.01", + "sha256": "8f8810262c0d70ee36b6f70cea4dcfadc4df45f69eadf79ac32de0fbcd5d7be8", + "status": "completed" + } + ], + "environment_sha256": "8a9cacccab628ed7690dc2b3e0f1bf707d74223a6962feeda2bd6a7c041a141e" + }, + "certificates": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/ChargedExplicitDefectQfDcV1/bf0b9cec1dbbaaae0fae18cbe113969eeae2f763641d973f2c7993021bbb0932/Certificates/dc7f56683cdff664013cee1f7aae0a989a4e38be0c446c8f9c6b4123b9064ec2.json", + "sha256": "97c4858b0f4852a3c2701a975ce311339b3539fc3e153237a30dfdc504fda0e6", + "role": "historical_certificates" + }, + "declared_content_id": "dc7f56683cdff664013cee1f7aae0a989a4e38be0c446c8f9c6b4123b9064ec2", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "certified", + "declared_lane_id": "ChargedExplicitDefectQfDcV1", + "source_commit": "e9d07daf6392743420fd033244989c39c2286b7d", + "source_fingerprint_sha256": "40c2e7e6492b5dce0885b83ac11378f9201a35e7e7eeab65aba6f2dd3878967f", + "config_sha256": "f49900b296a2bfb3c5a28d9135b24dcf8f0d6c409f105a70d4dd27100ebcb681", + "lane_definition_sha256": "07b06b456b4ed21a8793f7b7cc5359fc4074bee35678a15fbe6a8ee186e7a8ba", + "completed_cells": 9, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": 0, + "artifact_pointers": [], + "environment_sha256": "8a9cacccab628ed7690dc2b3e0f1bf707d74223a6962feeda2bd6a7c041a141e" + } + } + ], + "status": "historical_records_located" + }, + { + "capability_id": "lane-d0db2268d3d111e7", + "lane": "cigs-graded-optics-v1", + "archive_directory": "results/NumericalRefinement/CigsGradedOpticsV1", + "runs": [ + { + "run_directory": "results/NumericalRefinement/CigsGradedOpticsV1/f6b38cbc8ea5dd92aacfc4141a362ddc2cd687bf9f138095098f91064259a620", + "state": { + "root": "archive", + "path": "results/NumericalRefinement/CigsGradedOpticsV1/f6b38cbc8ea5dd92aacfc4141a362ddc2cd687bf9f138095098f91064259a620/State.json", + "sha256": "ff063da7bd6c0ae2e2b3f83f2dafc9d47b032c1ac8edc873075c2a9c9c4cf015", + "role": "old_result_state" + }, + "declared_run_id": "f6b38cbc8ea5dd92aacfc4141a362ddc2cd687bf9f138095098f91064259a620", + "binding_status": "located_not_recertified", + "manifests": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/CigsGradedOpticsV1/f6b38cbc8ea5dd92aacfc4141a362ddc2cd687bf9f138095098f91064259a620/Manifests/b0fa6c72a330f516e1fe72a8e673d5805dbf42015a33ffbed8d4c131de909f18.json", + "sha256": "de6c21b1a3bb17139fb242f2f9888d1431cbccaf67843a18eb3384eea4df52e2", + "role": "historical_manifests" + }, + "declared_content_id": "b0fa6c72a330f516e1fe72a8e673d5805dbf42015a33ffbed8d4c131de909f18", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "complete", + "declared_lane_id": "CigsGradedOpticsV1", + "source_commit": "6ba90554a092232bb6ed532541135c66f2ffa157", + "source_fingerprint_sha256": "a46d160acbf847f6715dda67ffbde73b50abb9ac3f6bc7395e28db74f4654c1e", + "config_sha256": null, + "lane_definition_sha256": "0fec98c47b982633810c6b37ff7520140e7b37d28fcfc19d2b8d937c92b3b84f", + "completed_cells": null, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": null, + "artifact_pointers": [ + { + "path": "cells/cdc9dedb15d68503a6c45b9f29ecd196f52bc16359f159bbd82140f16baa3036.json", + "point_key": "grid=8;tolerance=1", + "sha256": "cdc9dedb15d68503a6c45b9f29ecd196f52bc16359f159bbd82140f16baa3036", + "status": "completed" + }, + { + "path": "cells/bc8532d3b509919e9abd8774c28d8f65e62e66a1334a966fd81dcdf12b3850c7.json", + "point_key": "grid=8;tolerance=0.5", + "sha256": "bc8532d3b509919e9abd8774c28d8f65e62e66a1334a966fd81dcdf12b3850c7", + "status": "completed" + }, + { + "path": "cells/916bfa232ccbfbf8ce8b3df3548ca450a12bd67fa38d7cf854b0976bc208d9db.json", + "point_key": "grid=8;tolerance=0.25", + "sha256": "916bfa232ccbfbf8ce8b3df3548ca450a12bd67fa38d7cf854b0976bc208d9db", + "status": "completed" + }, + { + "path": "cells/c68ae21c40b29a9bcf5adfe97ee72da3c235356a31d53064151644feb8baf58e.json", + "point_key": "grid=16;tolerance=1", + "sha256": "c68ae21c40b29a9bcf5adfe97ee72da3c235356a31d53064151644feb8baf58e", + "status": "completed" + }, + { + "path": "cells/6d6d821dbe49533f4ec8a9f7acdc192ac4487d332c7fee2d3ff20f033b468316.json", + "point_key": "grid=16;tolerance=0.5", + "sha256": "6d6d821dbe49533f4ec8a9f7acdc192ac4487d332c7fee2d3ff20f033b468316", + "status": "completed" + }, + { + "path": "cells/6a99adeaaf3bf4a0b9120d25658c6df6ec24ec82035f4e0a32e94bac9809987a.json", + "point_key": "grid=16;tolerance=0.25", + "sha256": "6a99adeaaf3bf4a0b9120d25658c6df6ec24ec82035f4e0a32e94bac9809987a", + "status": "completed" + }, + { + "path": "cells/df4f061fe1cb730c9f09948596fb43305515d4414babd7cd0359c187dd7b5d90.json", + "point_key": "grid=32;tolerance=1", + "sha256": "df4f061fe1cb730c9f09948596fb43305515d4414babd7cd0359c187dd7b5d90", + "status": "completed" + }, + { + "path": "cells/3d76ea6977951b4f6feed3c4d919568df6c9cef5876bbe6cdd9063a375c9bbca.json", + "point_key": "grid=32;tolerance=0.5", + "sha256": "3d76ea6977951b4f6feed3c4d919568df6c9cef5876bbe6cdd9063a375c9bbca", + "status": "completed" + }, + { + "path": "cells/50ff123670e89a9e22a343444a85fd63b386c62f1aa80b8fba47eb3c32cf7a86.json", + "point_key": "grid=32;tolerance=0.25", + "sha256": "50ff123670e89a9e22a343444a85fd63b386c62f1aa80b8fba47eb3c32cf7a86", + "status": "completed" + } + ], + "environment_sha256": "197e3085b43d4d83ae9bd5fef2bd7f038a2dda3a888bf16c1a02804ec0cb8c27" + }, + "certificates": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/CigsGradedOpticsV1/f6b38cbc8ea5dd92aacfc4141a362ddc2cd687bf9f138095098f91064259a620/Certificates/e14e9f6f50c958e2e18dd514984e026d430688e785a9986892d0e21dfcff9958.json", + "sha256": "02a84a11aeb1901c88b87122e48d0a6a389d8190995aeab6c3d584ad8154209c", + "role": "historical_certificates" + }, + "declared_content_id": "e14e9f6f50c958e2e18dd514984e026d430688e785a9986892d0e21dfcff9958", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "certified", + "declared_lane_id": "CigsGradedOpticsV1", + "source_commit": "6ba90554a092232bb6ed532541135c66f2ffa157", + "source_fingerprint_sha256": "a46d160acbf847f6715dda67ffbde73b50abb9ac3f6bc7395e28db74f4654c1e", + "config_sha256": "9539deb2d0883838c9dac42dd95aae41eafb109e9d83205c3273fbd8df0e0fbd", + "lane_definition_sha256": "0fec98c47b982633810c6b37ff7520140e7b37d28fcfc19d2b8d937c92b3b84f", + "completed_cells": 9, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": 0, + "artifact_pointers": [], + "environment_sha256": "197e3085b43d4d83ae9bd5fef2bd7f038a2dda3a888bf16c1a02804ec0cb8c27" + } + } + ], + "status": "historical_records_located" + }, + { + "capability_id": "lane-1c11f3ec305c3631", + "lane": "csi-qf-frequency-domain", + "archive_directory": "results/NumericalRefinement/CsiQfFrequencyDomain", + "runs": [ + { + "run_directory": "results/NumericalRefinement/CsiQfFrequencyDomain/06305b39f7afb6156b4849f9899d44b27acf18bfc67e97117b925fd1a3bc54a9", + "state": { + "root": "archive", + "path": "results/NumericalRefinement/CsiQfFrequencyDomain/06305b39f7afb6156b4849f9899d44b27acf18bfc67e97117b925fd1a3bc54a9/State.json", + "sha256": "ee7a714af2b85bc4d0993db060cc4121b6a21b3c8f8aee2965f2441547c8bb17", + "role": "old_result_state" + }, + "declared_run_id": "06305b39f7afb6156b4849f9899d44b27acf18bfc67e97117b925fd1a3bc54a9", + "binding_status": "located_not_recertified", + "manifests": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/CsiQfFrequencyDomain/06305b39f7afb6156b4849f9899d44b27acf18bfc67e97117b925fd1a3bc54a9/Manifests/9497c86d9495a369de0cea41ea86e0a50e2a577e2568452a123b96296adc975b.json", + "sha256": "9e25006bd0023d574bd3c9f628314e3bed1747161a0b165a9f206207536aa6a6", + "role": "historical_manifests" + }, + "declared_content_id": "9497c86d9495a369de0cea41ea86e0a50e2a577e2568452a123b96296adc975b", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "complete_with_failures", + "declared_lane_id": "CsiQfFrequencyDomain", + "source_commit": "5b90e6e3b7ea54e60f03fd40881b79b3efdb45ed", + "source_fingerprint_sha256": "36d7c5622cec4a7b2a3c94921994245a84ed58e24d5acc2feb06f8555ac02633", + "config_sha256": null, + "lane_definition_sha256": "cd8cfddd8fee9e8a3ea6205f22b0add242f61aeef1d47588a608fd3abad330b7", + "completed_cells": null, + "expected_cells_count": 9, + "failed_cells_count": 3, + "missing_cells_count": null, + "artifact_pointers": [ + { + "path": "cells/fe3455d115939c2bc9e78370d2fed19a9599fa0efc537b7a0f81cd45eb284af3.json", + "point_key": "grid=100;tolerance=1", + "sha256": "fe3455d115939c2bc9e78370d2fed19a9599fa0efc537b7a0f81cd45eb284af3", + "status": "failed" + }, + { + "path": "cells/4dc3b51586f3d3520570f154e589ac3dec4cef702cc67fe0b5914f340d421c6a.json", + "point_key": "grid=100;tolerance=0.5", + "sha256": "4dc3b51586f3d3520570f154e589ac3dec4cef702cc67fe0b5914f340d421c6a", + "status": "failed" + }, + { + "path": "cells/6f963e634be7ce90a0f1c729c3942b2969ce1c5c3ea7859aa2438a2d38a421b2.json", + "point_key": "grid=100;tolerance=0.25", + "sha256": "6f963e634be7ce90a0f1c729c3942b2969ce1c5c3ea7859aa2438a2d38a421b2", + "status": "failed" + }, + { + "path": "cells/e6a0423a8b4a7b5a71d86e3df43ffeef4f16ca769fe4b0f632c998d4428d2639.json", + "point_key": "grid=200;tolerance=1", + "sha256": "e6a0423a8b4a7b5a71d86e3df43ffeef4f16ca769fe4b0f632c998d4428d2639", + "status": "completed" + }, + { + "path": "cells/9c981b68f04f4ea36b81b234b46ec48598e7d09dce09a72a0489b4bfce0e13c8.json", + "point_key": "grid=200;tolerance=0.5", + "sha256": "9c981b68f04f4ea36b81b234b46ec48598e7d09dce09a72a0489b4bfce0e13c8", + "status": "completed" + }, + { + "path": "cells/21897ce378f5b5161a11fe8d67c7f5b5bf3e1a462333b802be540da21f05c387.json", + "point_key": "grid=200;tolerance=0.25", + "sha256": "21897ce378f5b5161a11fe8d67c7f5b5bf3e1a462333b802be540da21f05c387", + "status": "completed" + }, + { + "path": "cells/3c7bb6a2268fb4a33d2accbf09f37119cd34c4685e22f835abf2c91274bb2281.json", + "point_key": "grid=300;tolerance=1", + "sha256": "3c7bb6a2268fb4a33d2accbf09f37119cd34c4685e22f835abf2c91274bb2281", + "status": "completed" + }, + { + "path": "cells/95711843c2c0646880f69ae526d7cf926bd9ef3ac236ad49014572d01fa08e80.json", + "point_key": "grid=300;tolerance=0.5", + "sha256": "95711843c2c0646880f69ae526d7cf926bd9ef3ac236ad49014572d01fa08e80", + "status": "completed" + }, + { + "path": "cells/b47e8909dd2666f4cdac7ae22e925c3367a76f4c441dc1296eb1cfd3d81b60a1.json", + "point_key": "grid=300;tolerance=0.25", + "sha256": "b47e8909dd2666f4cdac7ae22e925c3367a76f4c441dc1296eb1cfd3d81b60a1", + "status": "completed" + } + ], + "environment_sha256": "f939230f1c8d3eefa5b75660f0301c68afbb7cfcf56b0ae6178472fa832dffb6" + }, + "certificates": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/CsiQfFrequencyDomain/06305b39f7afb6156b4849f9899d44b27acf18bfc67e97117b925fd1a3bc54a9/Certificates/10cb8773e542059111adff0607a02376f02b50f51c5824afa396be5842f31728.json", + "sha256": "0eaefda4dffd9f699d38f3d7ebe1c528216b40cf48e88ccfcf2053d22ff3605f", + "role": "historical_certificates" + }, + "declared_content_id": "10cb8773e542059111adff0607a02376f02b50f51c5824afa396be5842f31728", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "failed", + "declared_lane_id": "CsiQfFrequencyDomain", + "source_commit": "5b90e6e3b7ea54e60f03fd40881b79b3efdb45ed", + "source_fingerprint_sha256": "36d7c5622cec4a7b2a3c94921994245a84ed58e24d5acc2feb06f8555ac02633", + "config_sha256": "c179e087a6623c7d19dfc7f6a3af056e6fcd5a0382e2e2b0e1e26dc08d883c99", + "lane_definition_sha256": "cd8cfddd8fee9e8a3ea6205f22b0add242f61aeef1d47588a608fd3abad330b7", + "completed_cells": 6, + "expected_cells_count": 9, + "failed_cells_count": 3, + "missing_cells_count": 0, + "artifact_pointers": [], + "environment_sha256": "f939230f1c8d3eefa5b75660f0301c68afbb7cfcf56b0ae6178472fa832dffb6" + } + }, + { + "run_directory": "results/NumericalRefinement/CsiQfFrequencyDomain/de73bb6f997c5740473405e4f0811141bd7c13298686941b8e7bbf9715e25976", + "state": { + "root": "archive", + "path": "results/NumericalRefinement/CsiQfFrequencyDomain/de73bb6f997c5740473405e4f0811141bd7c13298686941b8e7bbf9715e25976/State.json", + "sha256": "728edd384c629ea6e554e3f00f42d113a36d2f8168b4d32133b4ba71e99b5c01", + "role": "old_result_state" + }, + "declared_run_id": "de73bb6f997c5740473405e4f0811141bd7c13298686941b8e7bbf9715e25976", + "binding_status": "located_not_recertified", + "manifests": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/CsiQfFrequencyDomain/de73bb6f997c5740473405e4f0811141bd7c13298686941b8e7bbf9715e25976/Manifests/b76ab7cb32bf953d237111338d12f9857da97416bea66137878a92a81a399b08.json", + "sha256": "7a29e60114a9fb4f7c56c25e7af6a6e4699c2df295d2083d06f67448d5eaa363", + "role": "historical_manifests" + }, + "declared_content_id": "b76ab7cb32bf953d237111338d12f9857da97416bea66137878a92a81a399b08", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "complete_with_failures", + "declared_lane_id": "CsiQfFrequencyDomain", + "source_commit": "5b90e6e3b7ea54e60f03fd40881b79b3efdb45ed", + "source_fingerprint_sha256": "941655cdd29c937a105ab7fc1f599dc151a3b6a99411ffa62abe29f6de69e8fd", + "config_sha256": null, + "lane_definition_sha256": "232f3f3bc0cc16bccd710e167cde7a4f554109ef14215ce7a06cbbff9e7293de", + "completed_cells": null, + "expected_cells_count": 9, + "failed_cells_count": 3, + "missing_cells_count": null, + "artifact_pointers": [ + { + "path": "cells/9cda056c9d21500a2a7b78292fa44130e44623899e3b8090754ff3d317be6bb5.json", + "point_key": "grid=100;tolerance=1", + "sha256": "9cda056c9d21500a2a7b78292fa44130e44623899e3b8090754ff3d317be6bb5", + "status": "failed" + }, + { + "path": "cells/e7c059f418522a0c96fc0f2e1c39bbff5b866ea6fd8379927757686b04183700.json", + "point_key": "grid=100;tolerance=0.5", + "sha256": "e7c059f418522a0c96fc0f2e1c39bbff5b866ea6fd8379927757686b04183700", + "status": "failed" + }, + { + "path": "cells/cad0feb26971873ebc456704f1459846877932cde18a95802e35ded25847b440.json", + "point_key": "grid=100;tolerance=0.25", + "sha256": "cad0feb26971873ebc456704f1459846877932cde18a95802e35ded25847b440", + "status": "failed" + }, + { + "path": "cells/87a229b8041734f9a5ce7204a84cef846c0bc9ddf09efb08fbd90aa1b0d043e2.json", + "point_key": "grid=200;tolerance=1", + "sha256": "87a229b8041734f9a5ce7204a84cef846c0bc9ddf09efb08fbd90aa1b0d043e2", + "status": "completed" + }, + { + "path": "cells/dc74731b2e949318600348dd32888bb572e6feb0713f6da87d8094a3db0d0482.json", + "point_key": "grid=200;tolerance=0.5", + "sha256": "dc74731b2e949318600348dd32888bb572e6feb0713f6da87d8094a3db0d0482", + "status": "completed" + }, + { + "path": "cells/3b9355668f294d51deda6242cad7cffec7d71cebb5a9c944cc3fc82d2e278caa.json", + "point_key": "grid=200;tolerance=0.25", + "sha256": "3b9355668f294d51deda6242cad7cffec7d71cebb5a9c944cc3fc82d2e278caa", + "status": "completed" + }, + { + "path": "cells/2ed52dfcab216cf893e01d1cf8431976b996f375902e477a7b6419565ad751e7.json", + "point_key": "grid=300;tolerance=1", + "sha256": "2ed52dfcab216cf893e01d1cf8431976b996f375902e477a7b6419565ad751e7", + "status": "completed" + }, + { + "path": "cells/33d9c372fd32abab3613fcd39b573520c6986f5bb5fdc3b8e3816b88cf144b81.json", + "point_key": "grid=300;tolerance=0.5", + "sha256": "33d9c372fd32abab3613fcd39b573520c6986f5bb5fdc3b8e3816b88cf144b81", + "status": "completed" + }, + { + "path": "cells/0214f601f5e2428ff32e37ebf45081db667d0823e0366be635caa9c8ac49a040.json", + "point_key": "grid=300;tolerance=0.25", + "sha256": "0214f601f5e2428ff32e37ebf45081db667d0823e0366be635caa9c8ac49a040", + "status": "completed" + } + ], + "environment_sha256": "f939230f1c8d3eefa5b75660f0301c68afbb7cfcf56b0ae6178472fa832dffb6" + }, + "certificates": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/CsiQfFrequencyDomain/de73bb6f997c5740473405e4f0811141bd7c13298686941b8e7bbf9715e25976/Certificates/321c20210dc387c25c81d60f558ea9e7fc73d6aaeb646476324ce30cb13a6a3f.json", + "sha256": "b9832bef9033dd070b26d659f4d6736f7dbe0803254e35abce97d5a55ef6cff3", + "role": "historical_certificates" + }, + "declared_content_id": "321c20210dc387c25c81d60f558ea9e7fc73d6aaeb646476324ce30cb13a6a3f", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "failed", + "declared_lane_id": "CsiQfFrequencyDomain", + "source_commit": "5b90e6e3b7ea54e60f03fd40881b79b3efdb45ed", + "source_fingerprint_sha256": "941655cdd29c937a105ab7fc1f599dc151a3b6a99411ffa62abe29f6de69e8fd", + "config_sha256": "c179e087a6623c7d19dfc7f6a3af056e6fcd5a0382e2e2b0e1e26dc08d883c99", + "lane_definition_sha256": "232f3f3bc0cc16bccd710e167cde7a4f554109ef14215ce7a06cbbff9e7293de", + "completed_cells": 6, + "expected_cells_count": 9, + "failed_cells_count": 3, + "missing_cells_count": 0, + "artifact_pointers": [], + "environment_sha256": "f939230f1c8d3eefa5b75660f0301c68afbb7cfcf56b0ae6178472fa832dffb6" + } + }, + { + "run_directory": "results/NumericalRefinement/CsiQfFrequencyDomain/eea468113e7f717562ab664df1b0adc6fea8fd0320c1e517a72bf0dfbe49d518", + "state": { + "root": "archive", + "path": "results/NumericalRefinement/CsiQfFrequencyDomain/eea468113e7f717562ab664df1b0adc6fea8fd0320c1e517a72bf0dfbe49d518/State.json", + "sha256": "756781b844928ecd19bce8ea67b77fc862d31b7bebbac11ce4a21da5d3500b7d", + "role": "old_result_state" + }, + "declared_run_id": "eea468113e7f717562ab664df1b0adc6fea8fd0320c1e517a72bf0dfbe49d518", + "binding_status": "located_not_recertified", + "manifests": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/CsiQfFrequencyDomain/eea468113e7f717562ab664df1b0adc6fea8fd0320c1e517a72bf0dfbe49d518/Manifests/57ea3082acb425d8ce19beb9130baf6ad268bcc174eb52cdea9e7ad695e8e406.json", + "sha256": "c2049a7d6365a1a99df29dee090e17d27a9b345257c205776593387c684bda0a", + "role": "historical_manifests" + }, + "declared_content_id": "57ea3082acb425d8ce19beb9130baf6ad268bcc174eb52cdea9e7ad695e8e406", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "complete_with_failures", + "declared_lane_id": "CsiQfFrequencyDomain", + "source_commit": "5b90e6e3b7ea54e60f03fd40881b79b3efdb45ed", + "source_fingerprint_sha256": "544278287c5483ad5d67da9f79a1c99cd440dbc69421b8e1c088cdaee530a9a5", + "config_sha256": null, + "lane_definition_sha256": "06039502a278aca892bcb10006813494ad1beee07f0c6387596bc3d1d1316e9a", + "completed_cells": null, + "expected_cells_count": 9, + "failed_cells_count": 3, + "missing_cells_count": null, + "artifact_pointers": [ + { + "path": "cells/e4004b2f1588f4ae43cffa6a5b0de5dd94714215876efeaf98e04c68a9a9a4cf.json", + "point_key": "grid=100;tolerance=1", + "sha256": "e4004b2f1588f4ae43cffa6a5b0de5dd94714215876efeaf98e04c68a9a9a4cf", + "status": "failed" + }, + { + "path": "cells/33cdbb59887cdcb44fe0c282bd5e136bddc7cc4e68c22e220e41368cb70e101a.json", + "point_key": "grid=100;tolerance=0.5", + "sha256": "33cdbb59887cdcb44fe0c282bd5e136bddc7cc4e68c22e220e41368cb70e101a", + "status": "failed" + }, + { + "path": "cells/efaed0af5129bbcc6e5e42b78614b2571460409c23e47ee267ff73b86f668a4e.json", + "point_key": "grid=100;tolerance=0.25", + "sha256": "efaed0af5129bbcc6e5e42b78614b2571460409c23e47ee267ff73b86f668a4e", + "status": "failed" + }, + { + "path": "cells/330274a7795d63242b4947ca53775f55f6b3c2eb5d21d399beeff4847dfda9c0.json", + "point_key": "grid=200;tolerance=1", + "sha256": "330274a7795d63242b4947ca53775f55f6b3c2eb5d21d399beeff4847dfda9c0", + "status": "completed" + }, + { + "path": "cells/7ddbf2e2dfcb4aec839de949ce9510d58d7a22d9285e9374dc034571977e46c9.json", + "point_key": "grid=200;tolerance=0.5", + "sha256": "7ddbf2e2dfcb4aec839de949ce9510d58d7a22d9285e9374dc034571977e46c9", + "status": "completed" + }, + { + "path": "cells/5d1f63632ed2aa913e99daa158d5563d36163deac0622ab051fcbfecf4ca0613.json", + "point_key": "grid=200;tolerance=0.25", + "sha256": "5d1f63632ed2aa913e99daa158d5563d36163deac0622ab051fcbfecf4ca0613", + "status": "completed" + }, + { + "path": "cells/6d3aee99faac1fc31d820746208813fc6d20a2efe77da7ad594ccce4fee4faa2.json", + "point_key": "grid=300;tolerance=1", + "sha256": "6d3aee99faac1fc31d820746208813fc6d20a2efe77da7ad594ccce4fee4faa2", + "status": "completed" + }, + { + "path": "cells/d8ddccf0be96ba471fc6c42a039bf49a80bf1da5416b6d3c80b46b719e9e4239.json", + "point_key": "grid=300;tolerance=0.5", + "sha256": "d8ddccf0be96ba471fc6c42a039bf49a80bf1da5416b6d3c80b46b719e9e4239", + "status": "completed" + }, + { + "path": "cells/b5a01d29e3809b4ffc6e639bc696e010a39ae3134fa134533aad34a8b9dec2c1.json", + "point_key": "grid=300;tolerance=0.25", + "sha256": "b5a01d29e3809b4ffc6e639bc696e010a39ae3134fa134533aad34a8b9dec2c1", + "status": "completed" + } + ], + "environment_sha256": "5612564132a2c090d4c09f6da7ac0720986483b95ad71cbfec5e4f6276980c10" + }, + "certificates": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/CsiQfFrequencyDomain/eea468113e7f717562ab664df1b0adc6fea8fd0320c1e517a72bf0dfbe49d518/Certificates/e953a8f80e9db2f75bde97cf137441b72311214ecf3e28e59d25ba39f28b7186.json", + "sha256": "e38d8a372dd3fdff38ae75b9b09401feb0c2f62c301edb1f0e61f55523c30cda", + "role": "historical_certificates" + }, + "declared_content_id": "e953a8f80e9db2f75bde97cf137441b72311214ecf3e28e59d25ba39f28b7186", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "failed", + "declared_lane_id": "CsiQfFrequencyDomain", + "source_commit": "5b90e6e3b7ea54e60f03fd40881b79b3efdb45ed", + "source_fingerprint_sha256": "544278287c5483ad5d67da9f79a1c99cd440dbc69421b8e1c088cdaee530a9a5", + "config_sha256": "c179e087a6623c7d19dfc7f6a3af056e6fcd5a0382e2e2b0e1e26dc08d883c99", + "lane_definition_sha256": "06039502a278aca892bcb10006813494ad1beee07f0c6387596bc3d1d1316e9a", + "completed_cells": 6, + "expected_cells_count": 9, + "failed_cells_count": 3, + "missing_cells_count": 0, + "artifact_pointers": [], + "environment_sha256": "5612564132a2c090d4c09f6da7ac0720986483b95ad71cbfec5e4f6276980c10" + } + } + ], + "status": "historical_records_located" + }, + { + "capability_id": "lane-1f48a67f12b83f3b", + "lane": "csi-qf-frequency-domain-resolved-v2", + "archive_directory": "results/NumericalRefinement/CsiQfFrequencyDomainResolvedV2", + "runs": [ + { + "run_directory": "results/NumericalRefinement/CsiQfFrequencyDomainResolvedV2/4d2b09419aa5590c275d0c0d21b51f21fbea7855167664afe5d3d10cd744d10a", + "state": { + "root": "archive", + "path": "results/NumericalRefinement/CsiQfFrequencyDomainResolvedV2/4d2b09419aa5590c275d0c0d21b51f21fbea7855167664afe5d3d10cd744d10a/State.json", + "sha256": "605f8e5f5b6afa0aceec7948c1adb5fc48df697afcc2cfe17f8fd88179b859ca", + "role": "old_result_state" + }, + "declared_run_id": "4d2b09419aa5590c275d0c0d21b51f21fbea7855167664afe5d3d10cd744d10a", + "binding_status": "located_not_recertified", + "manifests": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/CsiQfFrequencyDomainResolvedV2/4d2b09419aa5590c275d0c0d21b51f21fbea7855167664afe5d3d10cd744d10a/Manifests/737ddd7f70fffb1235ce99e0c0cb3c32a137ff40368b5c4bdc2693a76103adb9.json", + "sha256": "2807dd5f27ff861cee3802f5d9b56cf8d53e1f73fbc0bd87ed49d7f013a1ce60", + "role": "historical_manifests" + }, + "declared_content_id": "737ddd7f70fffb1235ce99e0c0cb3c32a137ff40368b5c4bdc2693a76103adb9", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "complete", + "declared_lane_id": "CsiQfFrequencyDomainResolvedV2", + "source_commit": "5b90e6e3b7ea54e60f03fd40881b79b3efdb45ed", + "source_fingerprint_sha256": "36d7c5622cec4a7b2a3c94921994245a84ed58e24d5acc2feb06f8555ac02633", + "config_sha256": null, + "lane_definition_sha256": "c41a80acbe47f248ab8678b845ae2362bebdaeb74e9ab9980c7b0f2870e120f8", + "completed_cells": null, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": null, + "artifact_pointers": [ + { + "path": "cells/3ab33899bda5ed779db5600b34c40126d2c776db360fb0421992088d9b50b4a0.json", + "point_key": "grid=200;tolerance=1", + "sha256": "3ab33899bda5ed779db5600b34c40126d2c776db360fb0421992088d9b50b4a0", + "status": "completed" + }, + { + "path": "cells/d46bb922844dc9df19e7044285c0ccbcd9a6e5402fddc76302ec26e4e10a8a17.json", + "point_key": "grid=200;tolerance=0.5", + "sha256": "d46bb922844dc9df19e7044285c0ccbcd9a6e5402fddc76302ec26e4e10a8a17", + "status": "completed" + }, + { + "path": "cells/d10dea42c79f8325b11fde4fd7ed5dd1aed96bd8e4125b9ca03db89aa6b0277c.json", + "point_key": "grid=200;tolerance=0.25", + "sha256": "d10dea42c79f8325b11fde4fd7ed5dd1aed96bd8e4125b9ca03db89aa6b0277c", + "status": "completed" + }, + { + "path": "cells/7fb188a00d2969b39553d10eaff33271a87a5c6a5379f178200a6ba58c49ab27.json", + "point_key": "grid=300;tolerance=1", + "sha256": "7fb188a00d2969b39553d10eaff33271a87a5c6a5379f178200a6ba58c49ab27", + "status": "completed" + }, + { + "path": "cells/8a306beecfd899d997c9ec0f19fc089f34f9c67806c42a4149e31ba822fa393c.json", + "point_key": "grid=300;tolerance=0.5", + "sha256": "8a306beecfd899d997c9ec0f19fc089f34f9c67806c42a4149e31ba822fa393c", + "status": "completed" + }, + { + "path": "cells/d1f94126c3d2827f64e933a123a9c68764ee149e687ca95258e2df975cea9fca.json", + "point_key": "grid=300;tolerance=0.25", + "sha256": "d1f94126c3d2827f64e933a123a9c68764ee149e687ca95258e2df975cea9fca", + "status": "completed" + }, + { + "path": "cells/08077fcc0cc4dbb46884ce71380bfc4f6dc6e5f826ee8ead08fce4cfb1b02ade.json", + "point_key": "grid=400;tolerance=1", + "sha256": "08077fcc0cc4dbb46884ce71380bfc4f6dc6e5f826ee8ead08fce4cfb1b02ade", + "status": "completed" + }, + { + "path": "cells/aea3cff47b7dfea09d568b6668ec97649d358ea4225f533cd97e2a682e429aa1.json", + "point_key": "grid=400;tolerance=0.5", + "sha256": "aea3cff47b7dfea09d568b6668ec97649d358ea4225f533cd97e2a682e429aa1", + "status": "completed" + }, + { + "path": "cells/4c7a72eb529b0297010fd43c26fbfec58e99bc84a5ddd3af8b07d5bfd990487e.json", + "point_key": "grid=400;tolerance=0.25", + "sha256": "4c7a72eb529b0297010fd43c26fbfec58e99bc84a5ddd3af8b07d5bfd990487e", + "status": "completed" + } + ], + "environment_sha256": "f939230f1c8d3eefa5b75660f0301c68afbb7cfcf56b0ae6178472fa832dffb6" + }, + "certificates": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/CsiQfFrequencyDomainResolvedV2/4d2b09419aa5590c275d0c0d21b51f21fbea7855167664afe5d3d10cd744d10a/Certificates/5382eec2499e69e505292522f01ad5011aea1620e5058c4cc0d3cc9bcfc5fbd7.json", + "sha256": "9c67edbd7b6f0332d4f3f2ad34fc75da89a3fb7ef344766fc62cd8d1b40dcc4a", + "role": "historical_certificates" + }, + "declared_content_id": "5382eec2499e69e505292522f01ad5011aea1620e5058c4cc0d3cc9bcfc5fbd7", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "certified", + "declared_lane_id": "CsiQfFrequencyDomainResolvedV2", + "source_commit": "5b90e6e3b7ea54e60f03fd40881b79b3efdb45ed", + "source_fingerprint_sha256": "36d7c5622cec4a7b2a3c94921994245a84ed58e24d5acc2feb06f8555ac02633", + "config_sha256": "c179e087a6623c7d19dfc7f6a3af056e6fcd5a0382e2e2b0e1e26dc08d883c99", + "lane_definition_sha256": "c41a80acbe47f248ab8678b845ae2362bebdaeb74e9ab9980c7b0f2870e120f8", + "completed_cells": 9, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": 0, + "artifact_pointers": [], + "environment_sha256": "f939230f1c8d3eefa5b75660f0301c68afbb7cfcf56b0ae6178472fa832dffb6" + } + }, + { + "run_directory": "results/NumericalRefinement/CsiQfFrequencyDomainResolvedV2/823cb5c20c45901eb890735d2f49a71e8366038220659e9a42a0a527b8190ec1", + "state": { + "root": "archive", + "path": "results/NumericalRefinement/CsiQfFrequencyDomainResolvedV2/823cb5c20c45901eb890735d2f49a71e8366038220659e9a42a0a527b8190ec1/State.json", + "sha256": "e4e59e6a156a146585904cfa5f5dc1191d705a0d48a3e1b4f0f1e2bc36b6b00f", + "role": "old_result_state" + }, + "declared_run_id": "823cb5c20c45901eb890735d2f49a71e8366038220659e9a42a0a527b8190ec1", + "binding_status": "located_not_recertified", + "manifests": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/CsiQfFrequencyDomainResolvedV2/823cb5c20c45901eb890735d2f49a71e8366038220659e9a42a0a527b8190ec1/Manifests/12b42e5da922d24c6751ceb023c96d53d43766b007d123a2ca2fa64df5dd0b8b.json", + "sha256": "470f92060b597db1b0cf94f9b1f37fea5dbc48a8ab4d9cfcc5ccee170df92578", + "role": "historical_manifests" + }, + "declared_content_id": "12b42e5da922d24c6751ceb023c96d53d43766b007d123a2ca2fa64df5dd0b8b", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "complete", + "declared_lane_id": "CsiQfFrequencyDomainResolvedV2", + "source_commit": "5b90e6e3b7ea54e60f03fd40881b79b3efdb45ed", + "source_fingerprint_sha256": "544278287c5483ad5d67da9f79a1c99cd440dbc69421b8e1c088cdaee530a9a5", + "config_sha256": null, + "lane_definition_sha256": "87c25c06d5c770828efb8fbd430b40dcfba46661168a6962a1769fb67190be54", + "completed_cells": null, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": null, + "artifact_pointers": [ + { + "path": "cells/d1d53407ef5a9c2109710446122902fc9d96d26ecec0528832f653e537bbe158.json", + "point_key": "grid=200;tolerance=1", + "sha256": "d1d53407ef5a9c2109710446122902fc9d96d26ecec0528832f653e537bbe158", + "status": "completed" + }, + { + "path": "cells/00b7d8137b19a185ea46ffcce8cf572dd580322f384d87a11c1aebc2296aaee3.json", + "point_key": "grid=200;tolerance=0.5", + "sha256": "00b7d8137b19a185ea46ffcce8cf572dd580322f384d87a11c1aebc2296aaee3", + "status": "completed" + }, + { + "path": "cells/6b6308d863b6a830b8b61fe10b48d1768d9cca2720e2f701976c48deda0aa3f8.json", + "point_key": "grid=200;tolerance=0.25", + "sha256": "6b6308d863b6a830b8b61fe10b48d1768d9cca2720e2f701976c48deda0aa3f8", + "status": "completed" + }, + { + "path": "cells/0b2266cf39509616e3f649a9f2452f64e18769624c2e6c904063cde990819a3d.json", + "point_key": "grid=300;tolerance=1", + "sha256": "0b2266cf39509616e3f649a9f2452f64e18769624c2e6c904063cde990819a3d", + "status": "completed" + }, + { + "path": "cells/d94aa3d8c4a129bd089e5f9d939a1cdf571c6dde45949f34e685354f1e074a6b.json", + "point_key": "grid=300;tolerance=0.5", + "sha256": "d94aa3d8c4a129bd089e5f9d939a1cdf571c6dde45949f34e685354f1e074a6b", + "status": "completed" + }, + { + "path": "cells/5301bbdf46274478188db281184c02c03128c703552f5ef8473b7814a04ca027.json", + "point_key": "grid=300;tolerance=0.25", + "sha256": "5301bbdf46274478188db281184c02c03128c703552f5ef8473b7814a04ca027", + "status": "completed" + }, + { + "path": "cells/15b72259223bf5c3a37ceb2ef356243c58a3254b13879bb29b0c138c2a8beb8a.json", + "point_key": "grid=400;tolerance=1", + "sha256": "15b72259223bf5c3a37ceb2ef356243c58a3254b13879bb29b0c138c2a8beb8a", + "status": "completed" + }, + { + "path": "cells/02b199fc4510f23601036fe29472a84175797cb981ab188c92ad75d3a3a31462.json", + "point_key": "grid=400;tolerance=0.5", + "sha256": "02b199fc4510f23601036fe29472a84175797cb981ab188c92ad75d3a3a31462", + "status": "completed" + }, + { + "path": "cells/0a96cf577fe9d364b27661ceea3952e0cbeda82b0dc6bad1d08c6583e3e2b221.json", + "point_key": "grid=400;tolerance=0.25", + "sha256": "0a96cf577fe9d364b27661ceea3952e0cbeda82b0dc6bad1d08c6583e3e2b221", + "status": "completed" + } + ], + "environment_sha256": "5612564132a2c090d4c09f6da7ac0720986483b95ad71cbfec5e4f6276980c10" + }, + "certificates": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/CsiQfFrequencyDomainResolvedV2/823cb5c20c45901eb890735d2f49a71e8366038220659e9a42a0a527b8190ec1/Certificates/be658e9642e6bdac78c98fd0e4cad018992677b2bd8b03883ea832254a52f3de.json", + "sha256": "65a337c4a1fef0f856bbad9c05237f2d9e2703dd3fd5efc6670a0a31364061da", + "role": "historical_certificates" + }, + "declared_content_id": "be658e9642e6bdac78c98fd0e4cad018992677b2bd8b03883ea832254a52f3de", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "certified", + "declared_lane_id": "CsiQfFrequencyDomainResolvedV2", + "source_commit": "5b90e6e3b7ea54e60f03fd40881b79b3efdb45ed", + "source_fingerprint_sha256": "544278287c5483ad5d67da9f79a1c99cd440dbc69421b8e1c088cdaee530a9a5", + "config_sha256": "c179e087a6623c7d19dfc7f6a3af056e6fcd5a0382e2e2b0e1e26dc08d883c99", + "lane_definition_sha256": "87c25c06d5c770828efb8fbd430b40dcfba46661168a6962a1769fb67190be54", + "completed_cells": 9, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": 0, + "artifact_pointers": [], + "environment_sha256": "5612564132a2c090d4c09f6da7ac0720986483b95ad71cbfec5e4f6276980c10" + } + } + ], + "status": "historical_records_located" + }, + { + "capability_id": "lane-1dfc4e4b19df86e8", + "lane": "degenerate-pn-equilibrium-v1", + "archive_directory": "results/NumericalRefinement/DegeneratePnEquilibriumV1", + "runs": [ + { + "run_directory": "results/NumericalRefinement/DegeneratePnEquilibriumV1/3c7c98f9d67bbb2ff2864f946183af9a11f62b677141732daf371f96cea83412", + "state": { + "root": "archive", + "path": "results/NumericalRefinement/DegeneratePnEquilibriumV1/3c7c98f9d67bbb2ff2864f946183af9a11f62b677141732daf371f96cea83412/State.json", + "sha256": "ecc8cb7496fb96350b507be31ffc19608791207602179d8371e0d37bd157230d", + "role": "old_result_state" + }, + "declared_run_id": "3c7c98f9d67bbb2ff2864f946183af9a11f62b677141732daf371f96cea83412", + "binding_status": "located_not_recertified", + "manifests": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/DegeneratePnEquilibriumV1/3c7c98f9d67bbb2ff2864f946183af9a11f62b677141732daf371f96cea83412/Manifests/f23881a6c81886cd5748ba72db93c800f0387500a63bd22964810e75693d7bec.json", + "sha256": "ba458669bb7cfd8e1538254c1e81f356249264d8eeda388c01d7898a0faee723", + "role": "historical_manifests" + }, + "declared_content_id": "f23881a6c81886cd5748ba72db93c800f0387500a63bd22964810e75693d7bec", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "complete", + "declared_lane_id": "DegeneratePnEquilibriumV1", + "source_commit": "d756c767126901bfcfb98818cf645d3ba8fa5495", + "source_fingerprint_sha256": "6c5a4fc2bea6a0846ae368f8e6f1eedf3479bdc3439f909ecad60c68c095985b", + "config_sha256": null, + "lane_definition_sha256": "c89433359311fb07dce556bb4e33990b994ad9b3846f1d111583657ad42690c8", + "completed_cells": null, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": null, + "artifact_pointers": [ + { + "path": "cells/aaa8d3828cd8f92b47d9c888f85adaa511a0f3e761c2d19d288994e9cdc6444c.json", + "point_key": "grid=40;tolerance=1", + "sha256": "aaa8d3828cd8f92b47d9c888f85adaa511a0f3e761c2d19d288994e9cdc6444c", + "status": "completed" + }, + { + "path": "cells/2956ba681dceffe93a55ea061ce59e30ca986a5e7b9fb33cc94fbce2da5f46f4.json", + "point_key": "grid=40;tolerance=0.1", + "sha256": "2956ba681dceffe93a55ea061ce59e30ca986a5e7b9fb33cc94fbce2da5f46f4", + "status": "completed" + }, + { + "path": "cells/9b025630f07ba999c3aad0e82dd6c66f550e84dcda7d1828be10dd28a0b8b5b6.json", + "point_key": "grid=40;tolerance=0.01", + "sha256": "9b025630f07ba999c3aad0e82dd6c66f550e84dcda7d1828be10dd28a0b8b5b6", + "status": "completed" + }, + { + "path": "cells/1069f950deb38970fa106d6ee75c4b97758477f6763c76b61e5c663d874e6fda.json", + "point_key": "grid=80;tolerance=1", + "sha256": "1069f950deb38970fa106d6ee75c4b97758477f6763c76b61e5c663d874e6fda", + "status": "completed" + }, + { + "path": "cells/7e2a10498038ef660d7c6d19bade60d7da95218d2ae5c8535df60d555c77bd16.json", + "point_key": "grid=80;tolerance=0.1", + "sha256": "7e2a10498038ef660d7c6d19bade60d7da95218d2ae5c8535df60d555c77bd16", + "status": "completed" + }, + { + "path": "cells/c12fd66b60042223353e74b3b7a1a0ae0a8d8eb5b15f53faf03530fec9c9f3c2.json", + "point_key": "grid=80;tolerance=0.01", + "sha256": "c12fd66b60042223353e74b3b7a1a0ae0a8d8eb5b15f53faf03530fec9c9f3c2", + "status": "completed" + }, + { + "path": "cells/af62d3496522bb071063d210ee370864d1f7936abba25c37bafe2cfb08533c3a.json", + "point_key": "grid=160;tolerance=1", + "sha256": "af62d3496522bb071063d210ee370864d1f7936abba25c37bafe2cfb08533c3a", + "status": "completed" + }, + { + "path": "cells/ae15639605106668ab40d47b19aa38e122174aca0a8c387e1b9fedfa584b1045.json", + "point_key": "grid=160;tolerance=0.1", + "sha256": "ae15639605106668ab40d47b19aa38e122174aca0a8c387e1b9fedfa584b1045", + "status": "completed" + }, + { + "path": "cells/54d2759c338b660d74c119a9a4c76904a55d382e9864ec27f7bbd4aa7fd442ac.json", + "point_key": "grid=160;tolerance=0.01", + "sha256": "54d2759c338b660d74c119a9a4c76904a55d382e9864ec27f7bbd4aa7fd442ac", + "status": "completed" + } + ], + "environment_sha256": "197e3085b43d4d83ae9bd5fef2bd7f038a2dda3a888bf16c1a02804ec0cb8c27" + }, + "certificates": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/DegeneratePnEquilibriumV1/3c7c98f9d67bbb2ff2864f946183af9a11f62b677141732daf371f96cea83412/Certificates/968ad3bb67dc696b841a6bb8544c16eba3f9d5748b2fe737e20b8c7e30f8373f.json", + "sha256": "f571ef76ecf2ef666653450b8a7b7b2ce204d14d630dc53edb41e2dc08d9c226", + "role": "historical_certificates" + }, + "declared_content_id": "968ad3bb67dc696b841a6bb8544c16eba3f9d5748b2fe737e20b8c7e30f8373f", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "certified", + "declared_lane_id": "DegeneratePnEquilibriumV1", + "source_commit": "d756c767126901bfcfb98818cf645d3ba8fa5495", + "source_fingerprint_sha256": "6c5a4fc2bea6a0846ae368f8e6f1eedf3479bdc3439f909ecad60c68c095985b", + "config_sha256": "6d707f97bc1632521b5176f55d6e004cc171636e0264e85aa4f20eadafe2dfcb", + "lane_definition_sha256": "c89433359311fb07dce556bb4e33990b994ad9b3846f1d111583657ad42690c8", + "completed_cells": 9, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": 0, + "artifact_pointers": [], + "environment_sha256": "197e3085b43d4d83ae9bd5fef2bd7f038a2dda3a888bf16c1a02804ec0cb8c27" + } + } + ], + "status": "historical_records_located" + }, + { + "capability_id": "lane-b7e62a98398228f0", + "lane": "distributed-explicit-defect-qf-dc-v1", + "archive_directory": "results/NumericalRefinement/DistributedExplicitDefectQfDcV1", + "runs": [ + { + "run_directory": "results/NumericalRefinement/DistributedExplicitDefectQfDcV1/82d334eca6feac60e48bcd7c0dd40257ff837be139ee155e277b4ab62908242c", + "state": { + "root": "archive", + "path": "results/NumericalRefinement/DistributedExplicitDefectQfDcV1/82d334eca6feac60e48bcd7c0dd40257ff837be139ee155e277b4ab62908242c/State.json", + "sha256": "4b1ab77a3ba43ad061c20d848848a40ab008f56479aef6af609f1c4d4d03e633", + "role": "old_result_state" + }, + "declared_run_id": "82d334eca6feac60e48bcd7c0dd40257ff837be139ee155e277b4ab62908242c", + "binding_status": "located_not_recertified", + "manifests": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/DistributedExplicitDefectQfDcV1/82d334eca6feac60e48bcd7c0dd40257ff837be139ee155e277b4ab62908242c/Manifests/03fa80908610390c96ea7d0567344c588c292272ed9493acdadd21fd727687ae.json", + "sha256": "d12d3b44327a17d0162b4d12e99d461d2f88cde2b8eed012de4c7fd068dc4fc7", + "role": "historical_manifests" + }, + "declared_content_id": "03fa80908610390c96ea7d0567344c588c292272ed9493acdadd21fd727687ae", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "complete", + "declared_lane_id": "DistributedExplicitDefectQfDcV1", + "source_commit": "8c1f7be997c0cb243229eda3d0c246ed45a0c340", + "source_fingerprint_sha256": "2f2371057741e0008ae04c455bd19634661eaee34cc13305484552941a9418c1", + "config_sha256": null, + "lane_definition_sha256": "94473f05736d58d651246c814c0029d062c07e8efa1dcefbeb365458e63ab526", + "completed_cells": null, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": null, + "artifact_pointers": [ + { + "path": "cells/3c17ce17964baf951b2d6991c42a0f9b24a8f0f9efef2a69d9d5cc219f95f22b.json", + "point_key": "grid=16;tolerance=1", + "sha256": "3c17ce17964baf951b2d6991c42a0f9b24a8f0f9efef2a69d9d5cc219f95f22b", + "status": "completed" + }, + { + "path": "cells/467df6523750f4f8e132a05d23f0b19917167db6a8821fc68c9b4001917925e8.json", + "point_key": "grid=16;tolerance=0.1", + "sha256": "467df6523750f4f8e132a05d23f0b19917167db6a8821fc68c9b4001917925e8", + "status": "completed" + }, + { + "path": "cells/a32f90009ead537fc62d1fb7cfd9fd592ec2ec4dab08d8619b298ec6602d7a0f.json", + "point_key": "grid=16;tolerance=0.01", + "sha256": "a32f90009ead537fc62d1fb7cfd9fd592ec2ec4dab08d8619b298ec6602d7a0f", + "status": "completed" + }, + { + "path": "cells/868845b1a10963e5c52de9b54a702693b2225112ff29b06d6167430c7eb30d72.json", + "point_key": "grid=32;tolerance=1", + "sha256": "868845b1a10963e5c52de9b54a702693b2225112ff29b06d6167430c7eb30d72", + "status": "completed" + }, + { + "path": "cells/d113d1960a35b7b6619001e8fbfcc6e52408fa18d03501bdb0f85de205da7e72.json", + "point_key": "grid=32;tolerance=0.1", + "sha256": "d113d1960a35b7b6619001e8fbfcc6e52408fa18d03501bdb0f85de205da7e72", + "status": "completed" + }, + { + "path": "cells/565805fcdd52697481e7392b9276188e821e54127587d094f1eff41c87b77169.json", + "point_key": "grid=32;tolerance=0.01", + "sha256": "565805fcdd52697481e7392b9276188e821e54127587d094f1eff41c87b77169", + "status": "completed" + }, + { + "path": "cells/66bd20fb3c2d8bcfa7102be61a92cb99cd0be275fe34feb5d0b690bd4507238d.json", + "point_key": "grid=64;tolerance=1", + "sha256": "66bd20fb3c2d8bcfa7102be61a92cb99cd0be275fe34feb5d0b690bd4507238d", + "status": "completed" + }, + { + "path": "cells/e887d2cc7bfaa07142b922aa8df31c84506a93ed765c609c0e6c1db0f0cb9f6c.json", + "point_key": "grid=64;tolerance=0.1", + "sha256": "e887d2cc7bfaa07142b922aa8df31c84506a93ed765c609c0e6c1db0f0cb9f6c", + "status": "completed" + }, + { + "path": "cells/35b529c9f8c81e4751ed7e75f4d0d8c1555bb3bddda7afe317b102bf54befb38.json", + "point_key": "grid=64;tolerance=0.01", + "sha256": "35b529c9f8c81e4751ed7e75f4d0d8c1555bb3bddda7afe317b102bf54befb38", + "status": "completed" + } + ], + "environment_sha256": "197e3085b43d4d83ae9bd5fef2bd7f038a2dda3a888bf16c1a02804ec0cb8c27" + }, + "certificates": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/DistributedExplicitDefectQfDcV1/82d334eca6feac60e48bcd7c0dd40257ff837be139ee155e277b4ab62908242c/Certificates/7d21a2c257c00660f6a2e9d5990820c29580c6b5c1315b00eb27eaa15c0b121f.json", + "sha256": "c8a2b011f258d8b111ab7d6ca2e4f2bed8fa5e127ce564cd1efcd7bbafa1d9a0", + "role": "historical_certificates" + }, + "declared_content_id": "7d21a2c257c00660f6a2e9d5990820c29580c6b5c1315b00eb27eaa15c0b121f", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "certified", + "declared_lane_id": "DistributedExplicitDefectQfDcV1", + "source_commit": "8c1f7be997c0cb243229eda3d0c246ed45a0c340", + "source_fingerprint_sha256": "2f2371057741e0008ae04c455bd19634661eaee34cc13305484552941a9418c1", + "config_sha256": "7a6b1c16d8ea313177e3a761660bd6b7bbb546b14aa23189f91a9187ff0904f8", + "lane_definition_sha256": "94473f05736d58d651246c814c0029d062c07e8efa1dcefbeb365458e63ab526", + "completed_cells": 9, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": 0, + "artifact_pointers": [], + "environment_sha256": "197e3085b43d4d83ae9bd5fef2bd7f038a2dda3a888bf16c1a02804ec0cb8c27" + } + } + ], + "status": "historical_records_located" + }, + { + "capability_id": "lane-6c70228c5f2817ea", + "lane": "dual-mobile-ion-dae-transient-v1", + "archive_directory": "results/NumericalRefinement/DualMobileIonDaeTransientV1", + "runs": [ + { + "run_directory": "results/NumericalRefinement/DualMobileIonDaeTransientV1/a5e50a9f6522bf1229e1f2b416caf9b5ba914e574ceca2a08a363e1627581cc2", + "state": { + "root": "archive", + "path": "results/NumericalRefinement/DualMobileIonDaeTransientV1/a5e50a9f6522bf1229e1f2b416caf9b5ba914e574ceca2a08a363e1627581cc2/State.json", + "sha256": "4ea8f5959d442b4f073208b5d051c4e34dfb48397a25821113461986a856cbf6", + "role": "old_result_state" + }, + "declared_run_id": "a5e50a9f6522bf1229e1f2b416caf9b5ba914e574ceca2a08a363e1627581cc2", + "binding_status": "located_not_recertified", + "manifests": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/DualMobileIonDaeTransientV1/a5e50a9f6522bf1229e1f2b416caf9b5ba914e574ceca2a08a363e1627581cc2/Manifests/79697fce3775feaac05e4c37f163a39b39b43d0f803aace1068e40dda4bf506f.json", + "sha256": "b26678184a5476e264609b4279e2a239181e87806287a1cab43162dc08fbbf9a", + "role": "historical_manifests" + }, + "declared_content_id": "79697fce3775feaac05e4c37f163a39b39b43d0f803aace1068e40dda4bf506f", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "complete", + "declared_lane_id": "DualMobileIonDaeTransientV1", + "source_commit": "2d6b32f8a10b6a207c413c23639f0d2edec0ff7d", + "source_fingerprint_sha256": "8f1817156e471da59f4975f8c1b166f19acb9cb7be89d903d2e40a6adc992062", + "config_sha256": null, + "lane_definition_sha256": "2d35f6995fd015f3d0bca7578f2bc54f1f7975d8fdde5a4a57d5143aa52ec5d2", + "completed_cells": null, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": null, + "artifact_pointers": [ + { + "path": "cells/89988ef0a420926a4bb57a44f3127c4732cb011578f128c3795fae2bede48422.json", + "point_key": "grid=8;tolerance=1", + "sha256": "89988ef0a420926a4bb57a44f3127c4732cb011578f128c3795fae2bede48422", + "status": "completed" + }, + { + "path": "cells/a0362a88ff551a0eb7f23b348736207dab83b455eda4fed1dbc066c3c66f0699.json", + "point_key": "grid=8;tolerance=0.5", + "sha256": "a0362a88ff551a0eb7f23b348736207dab83b455eda4fed1dbc066c3c66f0699", + "status": "completed" + }, + { + "path": "cells/1fc29103c4a615ff1ffd25d57695bdbf09c0e32cae86002254d1d30c59545524.json", + "point_key": "grid=8;tolerance=0.25", + "sha256": "1fc29103c4a615ff1ffd25d57695bdbf09c0e32cae86002254d1d30c59545524", + "status": "completed" + }, + { + "path": "cells/0d918e811c72f95f95f56d504333ec387550c27d48c493f70421ca036e72d74e.json", + "point_key": "grid=16;tolerance=1", + "sha256": "0d918e811c72f95f95f56d504333ec387550c27d48c493f70421ca036e72d74e", + "status": "completed" + }, + { + "path": "cells/194f525a58a51042e271ecdc0ef87ba9d66701438ab21671e7133de3532abfff.json", + "point_key": "grid=16;tolerance=0.5", + "sha256": "194f525a58a51042e271ecdc0ef87ba9d66701438ab21671e7133de3532abfff", + "status": "completed" + }, + { + "path": "cells/006f2010a6e5a0dd8966d2c8d8a76021d7c23199ae896a86fa474adf49984a0d.json", + "point_key": "grid=16;tolerance=0.25", + "sha256": "006f2010a6e5a0dd8966d2c8d8a76021d7c23199ae896a86fa474adf49984a0d", + "status": "completed" + }, + { + "path": "cells/2d113148f2f3b80a1b56b3bf04fbe7b938c3c529e38d908046362d5b827c4c7a.json", + "point_key": "grid=32;tolerance=1", + "sha256": "2d113148f2f3b80a1b56b3bf04fbe7b938c3c529e38d908046362d5b827c4c7a", + "status": "completed" + }, + { + "path": "cells/b62f63fc4ff2f07b338410dfe842111407ec78f4c0ddf5d4a368d8fe59f66c50.json", + "point_key": "grid=32;tolerance=0.5", + "sha256": "b62f63fc4ff2f07b338410dfe842111407ec78f4c0ddf5d4a368d8fe59f66c50", + "status": "completed" + }, + { + "path": "cells/d207114d8e58e3227e5da859dd01574ca139f43f3425d1b11ba7acdc86eae0ca.json", + "point_key": "grid=32;tolerance=0.25", + "sha256": "d207114d8e58e3227e5da859dd01574ca139f43f3425d1b11ba7acdc86eae0ca", + "status": "completed" + } + ], + "environment_sha256": "197e3085b43d4d83ae9bd5fef2bd7f038a2dda3a888bf16c1a02804ec0cb8c27" + }, + "certificates": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/DualMobileIonDaeTransientV1/a5e50a9f6522bf1229e1f2b416caf9b5ba914e574ceca2a08a363e1627581cc2/Certificates/15a6a4dcf38db26e2fa78f41ede0d908ad154c267ce86de13eeaf7e6c1f050ab.json", + "sha256": "57192a786075d93fe1cc834783506d3663797057bd0389cef25af193fda08d6a", + "role": "historical_certificates" + }, + "declared_content_id": "15a6a4dcf38db26e2fa78f41ede0d908ad154c267ce86de13eeaf7e6c1f050ab", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "certified", + "declared_lane_id": "DualMobileIonDaeTransientV1", + "source_commit": "2d6b32f8a10b6a207c413c23639f0d2edec0ff7d", + "source_fingerprint_sha256": "8f1817156e471da59f4975f8c1b166f19acb9cb7be89d903d2e40a6adc992062", + "config_sha256": "fbc82c9b85d121c459ab08d07d1c7f886eef36f4db669d354b79d260f43c8750", + "lane_definition_sha256": "2d35f6995fd015f3d0bca7578f2bc54f1f7975d8fdde5a4a57d5143aa52ec5d2", + "completed_cells": 9, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": 0, + "artifact_pointers": [], + "environment_sha256": "197e3085b43d4d83ae9bd5fef2bd7f038a2dda3a888bf16c1a02804ec0cb8c27" + } + } + ], + "status": "historical_records_located" + }, + { + "capability_id": "lane-5ff1ae9d34dfa46d", + "lane": "dynamic-defect-ion-impedance-production-v1", + "archive_directory": "results/NumericalRefinement/DynamicDefectIonImpedanceProductionV1", + "runs": [ + { + "run_directory": "results/NumericalRefinement/DynamicDefectIonImpedanceProductionV1/44b34cae5be5cab4dfa16c122bdd82be20e84dd037df83e53948e2264e76a4ea", + "state": { + "root": "archive", + "path": "results/NumericalRefinement/DynamicDefectIonImpedanceProductionV1/44b34cae5be5cab4dfa16c122bdd82be20e84dd037df83e53948e2264e76a4ea/State.json", + "sha256": "dfa018f5f31579bdd02bb1b5ab4aab949b7ba3520435b72b443f79271b9fedeb", + "role": "old_result_state" + }, + "declared_run_id": "44b34cae5be5cab4dfa16c122bdd82be20e84dd037df83e53948e2264e76a4ea", + "binding_status": "located_not_recertified", + "manifests": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/DynamicDefectIonImpedanceProductionV1/44b34cae5be5cab4dfa16c122bdd82be20e84dd037df83e53948e2264e76a4ea/Manifests/02e980e9bb408a2e4020c0ae18458ff236076ef6072d80169a877030d46b8932.json", + "sha256": "d8837414ff103f8c2dca34c29f58d379b8c79ff8e6fa8d926d3d31874c76be26", + "role": "historical_manifests" + }, + "declared_content_id": "02e980e9bb408a2e4020c0ae18458ff236076ef6072d80169a877030d46b8932", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "complete", + "declared_lane_id": "DynamicDefectIonImpedanceProductionV1", + "source_commit": "f65a613fd2557c451bcd6566c496a7227e0ea5d6", + "source_fingerprint_sha256": "f6f276eff5791de09638e8f65ee0ec9aee4221f4e501def8cdbeeb040a883c00", + "config_sha256": null, + "lane_definition_sha256": "2d2d78d94f770965bdb77938b6cdba169aa1e966cb1100e26ce967d16a791ccf", + "completed_cells": null, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": null, + "artifact_pointers": [ + { + "path": "cells/13f0f39e51ad36e5711d288ccf342fb3aa1e38bb1a56d08febec2361d1841b73.json", + "point_key": "grid=8;tolerance=1", + "sha256": "13f0f39e51ad36e5711d288ccf342fb3aa1e38bb1a56d08febec2361d1841b73", + "status": "completed" + }, + { + "path": "cells/1fe66ee0d614554d521abacfc1b1dfaea3e45730b6887487ac7497b2c312093f.json", + "point_key": "grid=8;tolerance=0.5", + "sha256": "1fe66ee0d614554d521abacfc1b1dfaea3e45730b6887487ac7497b2c312093f", + "status": "completed" + }, + { + "path": "cells/c4f46dcbd7155495400c6cb5f08f9ba7bb3793a0b35be72228151c32b58dfd59.json", + "point_key": "grid=8;tolerance=0.25", + "sha256": "c4f46dcbd7155495400c6cb5f08f9ba7bb3793a0b35be72228151c32b58dfd59", + "status": "completed" + }, + { + "path": "cells/22feaaf8e3b69abce573018884fa8c39e093a6b99fbc26b97b510dca3b9175db.json", + "point_key": "grid=12;tolerance=1", + "sha256": "22feaaf8e3b69abce573018884fa8c39e093a6b99fbc26b97b510dca3b9175db", + "status": "completed" + }, + { + "path": "cells/494840a39f1e0ca05035de8c11161faf664a4c8573ce1804899b8df02bc9b6ab.json", + "point_key": "grid=12;tolerance=0.5", + "sha256": "494840a39f1e0ca05035de8c11161faf664a4c8573ce1804899b8df02bc9b6ab", + "status": "completed" + }, + { + "path": "cells/effd1134c1caaa2b0e20a88de72c3ca5ae4f2c82d12d2f727c4e7680ac417f4a.json", + "point_key": "grid=12;tolerance=0.25", + "sha256": "effd1134c1caaa2b0e20a88de72c3ca5ae4f2c82d12d2f727c4e7680ac417f4a", + "status": "completed" + }, + { + "path": "cells/015d2d50c471e8762d646e02744ff3c2a31857ffd5c59d01d6b10423b1ca785f.json", + "point_key": "grid=16;tolerance=1", + "sha256": "015d2d50c471e8762d646e02744ff3c2a31857ffd5c59d01d6b10423b1ca785f", + "status": "completed" + }, + { + "path": "cells/7740f8c005b00f4e2a8b47a54d548a4fd94da010c4b71b458a962fef61138b44.json", + "point_key": "grid=16;tolerance=0.5", + "sha256": "7740f8c005b00f4e2a8b47a54d548a4fd94da010c4b71b458a962fef61138b44", + "status": "completed" + }, + { + "path": "cells/7db5a7cd0770fdca66704a230c9aa559f5d515f0e14e8512c27ded245c4ef735.json", + "point_key": "grid=16;tolerance=0.25", + "sha256": "7db5a7cd0770fdca66704a230c9aa559f5d515f0e14e8512c27ded245c4ef735", + "status": "completed" + } + ], + "environment_sha256": "8a9cacccab628ed7690dc2b3e0f1bf707d74223a6962feeda2bd6a7c041a141e" + }, + "certificates": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/DynamicDefectIonImpedanceProductionV1/44b34cae5be5cab4dfa16c122bdd82be20e84dd037df83e53948e2264e76a4ea/Certificates/c4b50492d8ee5866793007186d9e9bc26a7622d5e2d5a928b497a073efe2b192.json", + "sha256": "590e4bf495fd7f42791782c575c97fe9fe2eae68f4160ae8dda5b225ed52354c", + "role": "historical_certificates" + }, + "declared_content_id": "c4b50492d8ee5866793007186d9e9bc26a7622d5e2d5a928b497a073efe2b192", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "certified", + "declared_lane_id": "DynamicDefectIonImpedanceProductionV1", + "source_commit": "f65a613fd2557c451bcd6566c496a7227e0ea5d6", + "source_fingerprint_sha256": "f6f276eff5791de09638e8f65ee0ec9aee4221f4e501def8cdbeeb040a883c00", + "config_sha256": "0b7424e4170d7d3792f40f97361edee3a881a04a39ad3a549fb7de621798422a", + "lane_definition_sha256": "2d2d78d94f770965bdb77938b6cdba169aa1e966cb1100e26ce967d16a791ccf", + "completed_cells": 9, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": 0, + "artifact_pointers": [], + "environment_sha256": "8a9cacccab628ed7690dc2b3e0f1bf707d74223a6962feeda2bd6a7c041a141e" + } + }, + { + "run_directory": "results/NumericalRefinement/DynamicDefectIonImpedanceProductionV1/4954898148b656f01d0bf3fb87a2be67e66c97453d1dea6e398257ddd68cd4f2", + "state": { + "root": "archive", + "path": "results/NumericalRefinement/DynamicDefectIonImpedanceProductionV1/4954898148b656f01d0bf3fb87a2be67e66c97453d1dea6e398257ddd68cd4f2/State.json", + "sha256": "cab422d34ebba4f94badab0185c6e0f362b08a295fca3dcd4681b3f74bce2b99", + "role": "old_result_state" + }, + "declared_run_id": "4954898148b656f01d0bf3fb87a2be67e66c97453d1dea6e398257ddd68cd4f2", + "binding_status": "located_not_recertified", + "manifests": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/DynamicDefectIonImpedanceProductionV1/4954898148b656f01d0bf3fb87a2be67e66c97453d1dea6e398257ddd68cd4f2/Manifests/681ce4e6bb896e6c47769c586101a5ea3eddb305a856424e717e51bcad8c71c6.json", + "sha256": "a1b407900551b9e87bd6f78636126de37c31799fbf42104ea3bc7ba564546109", + "role": "historical_manifests" + }, + "declared_content_id": "681ce4e6bb896e6c47769c586101a5ea3eddb305a856424e717e51bcad8c71c6", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "complete", + "declared_lane_id": "DynamicDefectIonImpedanceProductionV1", + "source_commit": "c2968b6a1ee55e733c6f60666b8d7f78f5f3be59", + "source_fingerprint_sha256": "b1dd5a99e418e5fa6fb771204b62925e63099745cff83614383cacdc10803b46", + "config_sha256": null, + "lane_definition_sha256": "2d2d78d94f770965bdb77938b6cdba169aa1e966cb1100e26ce967d16a791ccf", + "completed_cells": null, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": null, + "artifact_pointers": [ + { + "path": "cells/fa6fd77a2ed55a1d9d2e2056df403279368408699670b16aca55825abee7c41f.json", + "point_key": "grid=8;tolerance=1", + "sha256": "fa6fd77a2ed55a1d9d2e2056df403279368408699670b16aca55825abee7c41f", + "status": "completed" + }, + { + "path": "cells/045bca65fab44f4d0cfab44038600f165aa03a8e603503f8d1dc3a1ffd65335a.json", + "point_key": "grid=8;tolerance=0.5", + "sha256": "045bca65fab44f4d0cfab44038600f165aa03a8e603503f8d1dc3a1ffd65335a", + "status": "completed" + }, + { + "path": "cells/afdd7af15dac4a5298bed1595c84f697292d020fb33969ae00bf6088f1253294.json", + "point_key": "grid=8;tolerance=0.25", + "sha256": "afdd7af15dac4a5298bed1595c84f697292d020fb33969ae00bf6088f1253294", + "status": "completed" + }, + { + "path": "cells/12740ebbe5c25845806c2cf4a89c3dbcbcef71254dbf85667340d890acbe887d.json", + "point_key": "grid=12;tolerance=1", + "sha256": "12740ebbe5c25845806c2cf4a89c3dbcbcef71254dbf85667340d890acbe887d", + "status": "completed" + }, + { + "path": "cells/25c8f6b5ac1dffa1344a2f6ce45781e0767c6c86ec0c33d6849589af036b479f.json", + "point_key": "grid=12;tolerance=0.5", + "sha256": "25c8f6b5ac1dffa1344a2f6ce45781e0767c6c86ec0c33d6849589af036b479f", + "status": "completed" + }, + { + "path": "cells/256fb3fa44c82f397772074853850ad541bbf7b80c62387abe076e3833847ded.json", + "point_key": "grid=12;tolerance=0.25", + "sha256": "256fb3fa44c82f397772074853850ad541bbf7b80c62387abe076e3833847ded", + "status": "completed" + }, + { + "path": "cells/c3cb09b44992fd4882725f198545a362791bda5513c663b2c46986cb3a8c68b2.json", + "point_key": "grid=16;tolerance=1", + "sha256": "c3cb09b44992fd4882725f198545a362791bda5513c663b2c46986cb3a8c68b2", + "status": "completed" + }, + { + "path": "cells/f28068a0f0c8f1e2b3e2692dd6febda394c16002cac0b6911e1074330c15cbb3.json", + "point_key": "grid=16;tolerance=0.5", + "sha256": "f28068a0f0c8f1e2b3e2692dd6febda394c16002cac0b6911e1074330c15cbb3", + "status": "completed" + }, + { + "path": "cells/532786127b30cb1099d5f413619a7d4eee9f84d14581b7169201c1d6ff4d6e40.json", + "point_key": "grid=16;tolerance=0.25", + "sha256": "532786127b30cb1099d5f413619a7d4eee9f84d14581b7169201c1d6ff4d6e40", + "status": "completed" + } + ], + "environment_sha256": "8a9cacccab628ed7690dc2b3e0f1bf707d74223a6962feeda2bd6a7c041a141e" + }, + "certificates": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/DynamicDefectIonImpedanceProductionV1/4954898148b656f01d0bf3fb87a2be67e66c97453d1dea6e398257ddd68cd4f2/Certificates/0bf5dcc473abe64547c49ec26927a475cb36cf07f3e3536421dfba8dae4be5f9.json", + "sha256": "81a4d32815d819ca8791ca31ea25b503dc1ce2389d1855826c0ac015b9334722", + "role": "historical_certificates" + }, + "declared_content_id": "0bf5dcc473abe64547c49ec26927a475cb36cf07f3e3536421dfba8dae4be5f9", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "certified", + "declared_lane_id": "DynamicDefectIonImpedanceProductionV1", + "source_commit": "c2968b6a1ee55e733c6f60666b8d7f78f5f3be59", + "source_fingerprint_sha256": "b1dd5a99e418e5fa6fb771204b62925e63099745cff83614383cacdc10803b46", + "config_sha256": "0b7424e4170d7d3792f40f97361edee3a881a04a39ad3a549fb7de621798422a", + "lane_definition_sha256": "2d2d78d94f770965bdb77938b6cdba169aa1e966cb1100e26ce967d16a791ccf", + "completed_cells": 9, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": 0, + "artifact_pointers": [], + "environment_sha256": "8a9cacccab628ed7690dc2b3e0f1bf707d74223a6962feeda2bd6a7c041a141e" + } + }, + { + "run_directory": "results/NumericalRefinement/DynamicDefectIonImpedanceProductionV1/a9cb674e22b9ffff24a2d1f7df904d469c52947c665e9aac3aa3f0b47ae9c03b", + "state": { + "root": "archive", + "path": "results/NumericalRefinement/DynamicDefectIonImpedanceProductionV1/a9cb674e22b9ffff24a2d1f7df904d469c52947c665e9aac3aa3f0b47ae9c03b/State.json", + "sha256": "61ac56ed7b246478e20fbf53a3b5dd2c92643cb973640fb8cd8923a090972005", + "role": "old_result_state" + }, + "declared_run_id": "a9cb674e22b9ffff24a2d1f7df904d469c52947c665e9aac3aa3f0b47ae9c03b", + "binding_status": "located_not_recertified", + "manifests": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/DynamicDefectIonImpedanceProductionV1/a9cb674e22b9ffff24a2d1f7df904d469c52947c665e9aac3aa3f0b47ae9c03b/Manifests/3f5ed1d5f7c69254cfa3c9b0fff9a194ffeb0cabdcda85796b1b77fba8608daf.json", + "sha256": "bd3e9f1639bb93de5bc5fb10d080b88dd221fcb3f2845e0b0a15eabf0034f3c0", + "role": "historical_manifests" + }, + "declared_content_id": "3f5ed1d5f7c69254cfa3c9b0fff9a194ffeb0cabdcda85796b1b77fba8608daf", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "complete", + "declared_lane_id": "DynamicDefectIonImpedanceProductionV1", + "source_commit": "c2968b6a1ee55e733c6f60666b8d7f78f5f3be59", + "source_fingerprint_sha256": "26b01d7312499953f5e23019aac5c2cebe7e2b3b656072e56fd6e1182939a865", + "config_sha256": null, + "lane_definition_sha256": "857eae2cc29b8d797ed614eedb7f3b992529269154e7e5a7efc3c2c1059ba8a3", + "completed_cells": null, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": null, + "artifact_pointers": [ + { + "path": "cells/7988181ada77a19d4f337ddacc68e7fcc57369127a5881d3a9f8b4da299bb0a1.json", + "point_key": "grid=4;tolerance=1", + "sha256": "7988181ada77a19d4f337ddacc68e7fcc57369127a5881d3a9f8b4da299bb0a1", + "status": "completed" + }, + { + "path": "cells/9a4969b61bad3fd18f4d6b8f4633b006c50e84ad904467323dba003e7bfa6fea.json", + "point_key": "grid=4;tolerance=0.5", + "sha256": "9a4969b61bad3fd18f4d6b8f4633b006c50e84ad904467323dba003e7bfa6fea", + "status": "completed" + }, + { + "path": "cells/5f45633ee8fba0ef38b255901d780404061486858a532492bed7409a6b4e081d.json", + "point_key": "grid=4;tolerance=0.25", + "sha256": "5f45633ee8fba0ef38b255901d780404061486858a532492bed7409a6b4e081d", + "status": "completed" + }, + { + "path": "cells/f5cb2f3b2a8087bd76e1c83f162ea65348fa742bce886f2b122c950ca5805a4a.json", + "point_key": "grid=6;tolerance=1", + "sha256": "f5cb2f3b2a8087bd76e1c83f162ea65348fa742bce886f2b122c950ca5805a4a", + "status": "completed" + }, + { + "path": "cells/7de855125c659bbad8366ba17cbd2133ace64088cbebed43ea8a4731acd5fa25.json", + "point_key": "grid=6;tolerance=0.5", + "sha256": "7de855125c659bbad8366ba17cbd2133ace64088cbebed43ea8a4731acd5fa25", + "status": "completed" + }, + { + "path": "cells/65a239541de17cdcdda6c03f0206d399b85ae26d4910c278a778ab5f7c89d93d.json", + "point_key": "grid=6;tolerance=0.25", + "sha256": "65a239541de17cdcdda6c03f0206d399b85ae26d4910c278a778ab5f7c89d93d", + "status": "completed" + }, + { + "path": "cells/7b18c9ea5a514b4aa52f85633a1b8dfce5160db2f9cebfe3caa1298d66381fa4.json", + "point_key": "grid=8;tolerance=1", + "sha256": "7b18c9ea5a514b4aa52f85633a1b8dfce5160db2f9cebfe3caa1298d66381fa4", + "status": "completed" + }, + { + "path": "cells/87074f6039ce445113f53d1c498bc742611517c028f307341bd37ab11553d3d1.json", + "point_key": "grid=8;tolerance=0.5", + "sha256": "87074f6039ce445113f53d1c498bc742611517c028f307341bd37ab11553d3d1", + "status": "completed" + }, + { + "path": "cells/54b0be5a0231231b5c91a4c18e914c68b71664d4a04f2ba816ad4f04b376af73.json", + "point_key": "grid=8;tolerance=0.25", + "sha256": "54b0be5a0231231b5c91a4c18e914c68b71664d4a04f2ba816ad4f04b376af73", + "status": "completed" + } + ], + "environment_sha256": "8a9cacccab628ed7690dc2b3e0f1bf707d74223a6962feeda2bd6a7c041a141e" + }, + "certificates": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/DynamicDefectIonImpedanceProductionV1/a9cb674e22b9ffff24a2d1f7df904d469c52947c665e9aac3aa3f0b47ae9c03b/Certificates/9f51d037de8c5871ef3aa6e71cba5ae4b16ad1324990e1a59634b4639bccb916.json", + "sha256": "744abb51630e9cc3f3f68bd3b793e14e493668b67c3ea33f44b9b44271f72072", + "role": "historical_certificates" + }, + "declared_content_id": "9f51d037de8c5871ef3aa6e71cba5ae4b16ad1324990e1a59634b4639bccb916", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "partial", + "declared_lane_id": "DynamicDefectIonImpedanceProductionV1", + "source_commit": "c2968b6a1ee55e733c6f60666b8d7f78f5f3be59", + "source_fingerprint_sha256": "26b01d7312499953f5e23019aac5c2cebe7e2b3b656072e56fd6e1182939a865", + "config_sha256": "0b7424e4170d7d3792f40f97361edee3a881a04a39ad3a549fb7de621798422a", + "lane_definition_sha256": "857eae2cc29b8d797ed614eedb7f3b992529269154e7e5a7efc3c2c1059ba8a3", + "completed_cells": 9, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": 0, + "artifact_pointers": [], + "environment_sha256": "8a9cacccab628ed7690dc2b3e0f1bf707d74223a6962feeda2bd6a7c041a141e" + } + }, + { + "run_directory": "results/NumericalRefinement/DynamicDefectIonImpedanceProductionV1/d9f3b15f41fb85e1da76d9acf73d65d917d721c10cbb893a23c2a2c0a6968c85", + "state": { + "root": "archive", + "path": "results/NumericalRefinement/DynamicDefectIonImpedanceProductionV1/d9f3b15f41fb85e1da76d9acf73d65d917d721c10cbb893a23c2a2c0a6968c85/State.json", + "sha256": "4a59b8b7d6a2c93e455798f3cd737b4e2a6faa400ba72d28a5fb589035ef7e90", + "role": "old_result_state" + }, + "declared_run_id": "d9f3b15f41fb85e1da76d9acf73d65d917d721c10cbb893a23c2a2c0a6968c85", + "binding_status": "located_not_recertified", + "manifests": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/DynamicDefectIonImpedanceProductionV1/d9f3b15f41fb85e1da76d9acf73d65d917d721c10cbb893a23c2a2c0a6968c85/Manifests/9b9e9e9e269ff94b79325852334c3711d76336604cc554722c35b6c30ce71f80.json", + "sha256": "585e2917eeb9ce368de1b4b92f2a78d2de9db915ad6470694ef291da5c178233", + "role": "historical_manifests" + }, + "declared_content_id": "9b9e9e9e269ff94b79325852334c3711d76336604cc554722c35b6c30ce71f80", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "complete", + "declared_lane_id": "DynamicDefectIonImpedanceProductionV1", + "source_commit": "c2968b6a1ee55e733c6f60666b8d7f78f5f3be59", + "source_fingerprint_sha256": "757409c1fc21643f1015a1acd67ffa218885fc84b7891cd611b2ac7f4fc7faf5", + "config_sha256": null, + "lane_definition_sha256": "90d7ac384e9fd8bb8a603934868d89684ef75f9d3d55ad4209b493a79df3687e", + "completed_cells": null, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": null, + "artifact_pointers": [ + { + "path": "cells/de0022dddb39429ea21f35475c8df49c968f9ee178071fdcf5d1a7b3e7f0cda8.json", + "point_key": "grid=4;tolerance=1", + "sha256": "de0022dddb39429ea21f35475c8df49c968f9ee178071fdcf5d1a7b3e7f0cda8", + "status": "completed" + }, + { + "path": "cells/f1acb065047ac0b13934e1a554d1aa08f7c1a6536022d436aef1f5e58bd4679c.json", + "point_key": "grid=4;tolerance=0.5", + "sha256": "f1acb065047ac0b13934e1a554d1aa08f7c1a6536022d436aef1f5e58bd4679c", + "status": "completed" + }, + { + "path": "cells/afe0e35bdd32d7022cfab6f3415b1bced4048639d1b932bed6810e8fe361ff5b.json", + "point_key": "grid=4;tolerance=0.25", + "sha256": "afe0e35bdd32d7022cfab6f3415b1bced4048639d1b932bed6810e8fe361ff5b", + "status": "completed" + }, + { + "path": "cells/71ca40f3b50dd69ed3a7734151571bd0062d9947e9eda9e397c65980b2101081.json", + "point_key": "grid=6;tolerance=1", + "sha256": "71ca40f3b50dd69ed3a7734151571bd0062d9947e9eda9e397c65980b2101081", + "status": "completed" + }, + { + "path": "cells/96f3bd4bc20e316854fa0136063eb649edc3adf8c490fb1141674bf2368bc2cd.json", + "point_key": "grid=6;tolerance=0.5", + "sha256": "96f3bd4bc20e316854fa0136063eb649edc3adf8c490fb1141674bf2368bc2cd", + "status": "completed" + }, + { + "path": "cells/f1e491551a6cbabbfaa0dec29673587c1e991c0700414958a381e41d2153a6a5.json", + "point_key": "grid=6;tolerance=0.25", + "sha256": "f1e491551a6cbabbfaa0dec29673587c1e991c0700414958a381e41d2153a6a5", + "status": "completed" + }, + { + "path": "cells/25d25e4fae6c1d91351a56acb1312459beb5c2e09c127f388b82f8944f9ad2e6.json", + "point_key": "grid=8;tolerance=1", + "sha256": "25d25e4fae6c1d91351a56acb1312459beb5c2e09c127f388b82f8944f9ad2e6", + "status": "completed" + }, + { + "path": "cells/715b9312788813c0f4f4db47553408f02fba5c53dc89449199363eb37c32702d.json", + "point_key": "grid=8;tolerance=0.5", + "sha256": "715b9312788813c0f4f4db47553408f02fba5c53dc89449199363eb37c32702d", + "status": "completed" + }, + { + "path": "cells/9a805bd1d896c1329f55514a2d1db9bb6b7db9af722a65a1a84ca7189e6e45a1.json", + "point_key": "grid=8;tolerance=0.25", + "sha256": "9a805bd1d896c1329f55514a2d1db9bb6b7db9af722a65a1a84ca7189e6e45a1", + "status": "completed" + } + ], + "environment_sha256": "8a9cacccab628ed7690dc2b3e0f1bf707d74223a6962feeda2bd6a7c041a141e" + }, + "certificates": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/DynamicDefectIonImpedanceProductionV1/d9f3b15f41fb85e1da76d9acf73d65d917d721c10cbb893a23c2a2c0a6968c85/Certificates/62d57d52ba2a79f76308fa856127ae31bb0e80e5b92d186a149b95cc6bcf4a12.json", + "sha256": "315270b9f08b0de743dc8d56c021334e4072a3af9203116edf57ccfa8e5bc391", + "role": "historical_certificates" + }, + "declared_content_id": "62d57d52ba2a79f76308fa856127ae31bb0e80e5b92d186a149b95cc6bcf4a12", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "failed", + "declared_lane_id": "DynamicDefectIonImpedanceProductionV1", + "source_commit": "c2968b6a1ee55e733c6f60666b8d7f78f5f3be59", + "source_fingerprint_sha256": "757409c1fc21643f1015a1acd67ffa218885fc84b7891cd611b2ac7f4fc7faf5", + "config_sha256": "0b7424e4170d7d3792f40f97361edee3a881a04a39ad3a549fb7de621798422a", + "lane_definition_sha256": "90d7ac384e9fd8bb8a603934868d89684ef75f9d3d55ad4209b493a79df3687e", + "completed_cells": 9, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": 0, + "artifact_pointers": [], + "environment_sha256": "8a9cacccab628ed7690dc2b3e0f1bf707d74223a6962feeda2bd6a7c041a141e" + } + } + ], + "status": "historical_records_located" + }, + { + "capability_id": "lane-def3952fd4d218a3", + "lane": "dynamic-defect-ion-transient-production-v1", + "archive_directory": "results/NumericalRefinement/DynamicDefectIonTransientProductionV1", + "runs": [ + { + "run_directory": "results/NumericalRefinement/DynamicDefectIonTransientProductionV1/464da3ec6e0bb94fbd40a82bdc9325b29eabbb6622dc8fcad699b505a4434f5f", + "state": { + "root": "archive", + "path": "results/NumericalRefinement/DynamicDefectIonTransientProductionV1/464da3ec6e0bb94fbd40a82bdc9325b29eabbb6622dc8fcad699b505a4434f5f/State.json", + "sha256": "9a3dbb275e7036b5f49974167ee339c25a7e679d95144cb3fa6fb781acaafb1f", + "role": "old_result_state" + }, + "declared_run_id": "464da3ec6e0bb94fbd40a82bdc9325b29eabbb6622dc8fcad699b505a4434f5f", + "binding_status": "located_not_recertified", + "manifests": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/DynamicDefectIonTransientProductionV1/464da3ec6e0bb94fbd40a82bdc9325b29eabbb6622dc8fcad699b505a4434f5f/Manifests/f46e4e13d463d044b4c8c06e4402f40e84acf190a91146eb989af0dd2546f808.json", + "sha256": "81f641d65ddbaa4a123ea723cbb0fb8eafe6e2ef7899fd207baa26a4b04b9bcb", + "role": "historical_manifests" + }, + "declared_content_id": "f46e4e13d463d044b4c8c06e4402f40e84acf190a91146eb989af0dd2546f808", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "complete", + "declared_lane_id": "DynamicDefectIonTransientProductionV1", + "source_commit": "4f13a4bebfc71275bb83394e184144965d1359a6", + "source_fingerprint_sha256": "d5f2db38fd5e9bab0be307cb1115506a35d46ca454ba9a5489548800259f68bf", + "config_sha256": null, + "lane_definition_sha256": "5a1d93ff1550c3691454e6b69c30832e1375361b56e45f54252d5de553dd12f5", + "completed_cells": null, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": null, + "artifact_pointers": [ + { + "path": "cells/e4c2f144a98330a2bc5bb1efa9da98f1f6bcaa33564e794f88849d08c664c78b.json", + "point_key": "grid=4;tolerance=1", + "sha256": "e4c2f144a98330a2bc5bb1efa9da98f1f6bcaa33564e794f88849d08c664c78b", + "status": "completed" + }, + { + "path": "cells/fe9e81fd6719dd3cabe9bbe2c86fb815e579892f0ba5824b04e0aa61ad744653.json", + "point_key": "grid=4;tolerance=0.5", + "sha256": "fe9e81fd6719dd3cabe9bbe2c86fb815e579892f0ba5824b04e0aa61ad744653", + "status": "completed" + }, + { + "path": "cells/70c3bba07182d9f07c363923b62ed427bd321c456d340fb5c3e766396e3e949c.json", + "point_key": "grid=4;tolerance=0.25", + "sha256": "70c3bba07182d9f07c363923b62ed427bd321c456d340fb5c3e766396e3e949c", + "status": "completed" + }, + { + "path": "cells/7f9156630596cbc15ed1300eed6c5985ebfb7fd363edcd12d123fa4b93c53337.json", + "point_key": "grid=6;tolerance=1", + "sha256": "7f9156630596cbc15ed1300eed6c5985ebfb7fd363edcd12d123fa4b93c53337", + "status": "completed" + }, + { + "path": "cells/e3f9998ee0ee28fb6516c5e68e91dc77d1ac05b160c9bfb7034e7eb8abbe2e7a.json", + "point_key": "grid=6;tolerance=0.5", + "sha256": "e3f9998ee0ee28fb6516c5e68e91dc77d1ac05b160c9bfb7034e7eb8abbe2e7a", + "status": "completed" + }, + { + "path": "cells/3067dd3ba27f6fc615bf850a0f92ea32c85727ae02a269fa3b5fe7e94c2ec85b.json", + "point_key": "grid=6;tolerance=0.25", + "sha256": "3067dd3ba27f6fc615bf850a0f92ea32c85727ae02a269fa3b5fe7e94c2ec85b", + "status": "completed" + }, + { + "path": "cells/826eaeeaff6419c7bd50ec45f2a206f8c67134d481f6c76a25bc44c2c3443c28.json", + "point_key": "grid=8;tolerance=1", + "sha256": "826eaeeaff6419c7bd50ec45f2a206f8c67134d481f6c76a25bc44c2c3443c28", + "status": "completed" + }, + { + "path": "cells/c911b71ae21e6f96a1ef9c8dd149b4a70a48c74810a796a0d8100f7431a1c198.json", + "point_key": "grid=8;tolerance=0.5", + "sha256": "c911b71ae21e6f96a1ef9c8dd149b4a70a48c74810a796a0d8100f7431a1c198", + "status": "completed" + }, + { + "path": "cells/e9e9c1da911b6128b1254de6698f01c435453984958ae181d7355bfb0b37d40d.json", + "point_key": "grid=8;tolerance=0.25", + "sha256": "e9e9c1da911b6128b1254de6698f01c435453984958ae181d7355bfb0b37d40d", + "status": "completed" + } + ], + "environment_sha256": "197e3085b43d4d83ae9bd5fef2bd7f038a2dda3a888bf16c1a02804ec0cb8c27" + }, + "certificates": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/DynamicDefectIonTransientProductionV1/464da3ec6e0bb94fbd40a82bdc9325b29eabbb6622dc8fcad699b505a4434f5f/Certificates/52c63f74e5e139487aebce1e3ebe576d4861fb566788261e40d594e8f76f703b.json", + "sha256": "75ea6bfd1483847c4366da0a8c0b33e72a11853a1afe228fe6eb6520afbd70c4", + "role": "historical_certificates" + }, + "declared_content_id": "52c63f74e5e139487aebce1e3ebe576d4861fb566788261e40d594e8f76f703b", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "certified", + "declared_lane_id": "DynamicDefectIonTransientProductionV1", + "source_commit": "4f13a4bebfc71275bb83394e184144965d1359a6", + "source_fingerprint_sha256": "d5f2db38fd5e9bab0be307cb1115506a35d46ca454ba9a5489548800259f68bf", + "config_sha256": "f617f230b2d9c144573394e38fcc313225dc84c7b38f7670b97e9a0a7cc12a24", + "lane_definition_sha256": "5a1d93ff1550c3691454e6b69c30832e1375361b56e45f54252d5de553dd12f5", + "completed_cells": 9, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": 0, + "artifact_pointers": [], + "environment_sha256": "197e3085b43d4d83ae9bd5fef2bd7f038a2dda3a888bf16c1a02804ec0cb8c27" + } + } + ], + "status": "historical_records_located" + }, + { + "capability_id": "lane-b61bf1fc1c5146b5", + "lane": "dynamic-defect-ion-transient-timescale-absorber-resolved-v4", + "archive_directory": "results/NumericalRefinement/DynamicDefectIonTransientTimescaleAbsorberResolvedV4", + "runs": [ + { + "run_directory": "results/NumericalRefinement/DynamicDefectIonTransientTimescaleAbsorberResolvedV4/21786379dcb7837ad8f329d951e2c38fda6ec74c66730255df90cd15461f74a2", + "state": { + "root": "archive", + "path": "results/NumericalRefinement/DynamicDefectIonTransientTimescaleAbsorberResolvedV4/21786379dcb7837ad8f329d951e2c38fda6ec74c66730255df90cd15461f74a2/State.json", + "sha256": "91d76fad01d891ff50dedba727744b81604f29ca289302702e0a38f241dbea42", + "role": "old_result_state" + }, + "declared_run_id": "21786379dcb7837ad8f329d951e2c38fda6ec74c66730255df90cd15461f74a2", + "binding_status": "located_not_recertified", + "manifests": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/DynamicDefectIonTransientTimescaleAbsorberResolvedV4/21786379dcb7837ad8f329d951e2c38fda6ec74c66730255df90cd15461f74a2/Manifests/c712e0db0ae009f82dcce94a276fd2cd0677d9fb53a44e5b3c9a4503c0b647d6.json", + "sha256": "d3ab14bf67b728b22c593cbee7a624739baae361e0f68c1de68e7b1f23a42efc", + "role": "historical_manifests" + }, + "declared_content_id": "c712e0db0ae009f82dcce94a276fd2cd0677d9fb53a44e5b3c9a4503c0b647d6", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "complete", + "declared_lane_id": "DynamicDefectIonTransientTimescaleAbsorberResolvedV4", + "source_commit": "7077359dafb119cd1d16a8a2554e2bed3fe6bceb", + "source_fingerprint_sha256": "6c1a9918c9f3c62a0eea854e0b174e56bc86df75d3a6d124125d752eb01ee260", + "config_sha256": null, + "lane_definition_sha256": "f6e6de2ddad9b4622b5343e55acf73d829e2b81ece41315e181674343a7d840d", + "completed_cells": null, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": null, + "artifact_pointers": [ + { + "path": "cells/2806cd301d14050ddb8558fb6a7bf515de365a43f95f8b42834270ff045ef43b.json", + "point_key": "grid=4;tolerance=1", + "sha256": "2806cd301d14050ddb8558fb6a7bf515de365a43f95f8b42834270ff045ef43b", + "status": "completed" + }, + { + "path": "cells/9f878eb8e45ee15438b7e0220159de0448ec06e9cad871348cb0d9cc9f3ffe68.json", + "point_key": "grid=4;tolerance=0.5", + "sha256": "9f878eb8e45ee15438b7e0220159de0448ec06e9cad871348cb0d9cc9f3ffe68", + "status": "completed" + }, + { + "path": "cells/b99cb2e71a1e959c020824f061d0b37860e447a09b5f0a0341f84e5f21782535.json", + "point_key": "grid=4;tolerance=0.25", + "sha256": "b99cb2e71a1e959c020824f061d0b37860e447a09b5f0a0341f84e5f21782535", + "status": "completed" + }, + { + "path": "cells/377b93e0334e115ac210e2db3d5dfcb93bfc67dbcd5847eb1dde769e75abe985.json", + "point_key": "grid=6;tolerance=1", + "sha256": "377b93e0334e115ac210e2db3d5dfcb93bfc67dbcd5847eb1dde769e75abe985", + "status": "completed" + }, + { + "path": "cells/92603833bf72253bd842ab7819dc18ecb17b22c2735a540f4043f629ab21cdb5.json", + "point_key": "grid=6;tolerance=0.5", + "sha256": "92603833bf72253bd842ab7819dc18ecb17b22c2735a540f4043f629ab21cdb5", + "status": "completed" + }, + { + "path": "cells/a0403b0cce86efa0a64d25bf8136f825b2025da03adc6e88874a81c4a2a33f07.json", + "point_key": "grid=6;tolerance=0.25", + "sha256": "a0403b0cce86efa0a64d25bf8136f825b2025da03adc6e88874a81c4a2a33f07", + "status": "completed" + }, + { + "path": "cells/7d44454dae8a5e6bb8f9db0e59d4fa652056e041a5aa8c0f56cdcaa022b08df3.json", + "point_key": "grid=8;tolerance=1", + "sha256": "7d44454dae8a5e6bb8f9db0e59d4fa652056e041a5aa8c0f56cdcaa022b08df3", + "status": "completed" + }, + { + "path": "cells/f6fff55cfd1d23cff725673ddefae621bf4d71df9b14b2a15c536c26d6c21997.json", + "point_key": "grid=8;tolerance=0.5", + "sha256": "f6fff55cfd1d23cff725673ddefae621bf4d71df9b14b2a15c536c26d6c21997", + "status": "completed" + }, + { + "path": "cells/ecc9c823684abbae47987c27c41c3c3a63dee28ee18561584d8a9031268f6d22.json", + "point_key": "grid=8;tolerance=0.25", + "sha256": "ecc9c823684abbae47987c27c41c3c3a63dee28ee18561584d8a9031268f6d22", + "status": "completed" + } + ], + "environment_sha256": "197e3085b43d4d83ae9bd5fef2bd7f038a2dda3a888bf16c1a02804ec0cb8c27" + }, + "certificates": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/DynamicDefectIonTransientTimescaleAbsorberResolvedV4/21786379dcb7837ad8f329d951e2c38fda6ec74c66730255df90cd15461f74a2/Certificates/bac7d1156f2edb41e965067833814c37feacf6656730d4c15f0db33f13c4df11.json", + "sha256": "94ef0b374012a29210700d35062cc1abd7e3a0bec72cf37fdbde3c861eb1ffa0", + "role": "historical_certificates" + }, + "declared_content_id": "bac7d1156f2edb41e965067833814c37feacf6656730d4c15f0db33f13c4df11", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "partial", + "declared_lane_id": "DynamicDefectIonTransientTimescaleAbsorberResolvedV4", + "source_commit": "7077359dafb119cd1d16a8a2554e2bed3fe6bceb", + "source_fingerprint_sha256": "6c1a9918c9f3c62a0eea854e0b174e56bc86df75d3a6d124125d752eb01ee260", + "config_sha256": "f617f230b2d9c144573394e38fcc313225dc84c7b38f7670b97e9a0a7cc12a24", + "lane_definition_sha256": "f6e6de2ddad9b4622b5343e55acf73d829e2b81ece41315e181674343a7d840d", + "completed_cells": 9, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": 0, + "artifact_pointers": [], + "environment_sha256": "197e3085b43d4d83ae9bd5fef2bd7f038a2dda3a888bf16c1a02804ec0cb8c27" + } + } + ], + "status": "historical_records_located" + }, + { + "capability_id": "lane-119dbf12fc26bf9b", + "lane": "dynamic-defect-ion-transient-timescale-nonlinear-resolved-v3", + "archive_directory": "results/NumericalRefinement/DynamicDefectIonTransientTimescaleNonlinearResolvedV3", + "runs": [ + { + "run_directory": "results/NumericalRefinement/DynamicDefectIonTransientTimescaleNonlinearResolvedV3/0738b25d4eff5fa1d5abf08b3b34d8a08b632413304dccebad89ee0c7e186733", + "state": { + "root": "archive", + "path": "results/NumericalRefinement/DynamicDefectIonTransientTimescaleNonlinearResolvedV3/0738b25d4eff5fa1d5abf08b3b34d8a08b632413304dccebad89ee0c7e186733/State.json", + "sha256": "afc4dd6c494cbdb1ebd0c844e4f406978efd69e3650c375f7197785f661db3a9", + "role": "old_result_state" + }, + "declared_run_id": "0738b25d4eff5fa1d5abf08b3b34d8a08b632413304dccebad89ee0c7e186733", + "binding_status": "located_not_recertified", + "manifests": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/DynamicDefectIonTransientTimescaleNonlinearResolvedV3/0738b25d4eff5fa1d5abf08b3b34d8a08b632413304dccebad89ee0c7e186733/Manifests/4d6909c406dfc5db072881e6147f0fc7d68ed07eef6e38cadecc5ca9a954c384.json", + "sha256": "18d6b4c24a0294a8686554ffb1e7a19ef128431d83915fa917a9be1fd251144c", + "role": "historical_manifests" + }, + "declared_content_id": "4d6909c406dfc5db072881e6147f0fc7d68ed07eef6e38cadecc5ca9a954c384", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "complete", + "declared_lane_id": "DynamicDefectIonTransientTimescaleNonlinearResolvedV3", + "source_commit": "7077359dafb119cd1d16a8a2554e2bed3fe6bceb", + "source_fingerprint_sha256": "e5b5f329b53e3100ca30623eaff892e958ef9e68d75822915a6be95a6ec92844", + "config_sha256": null, + "lane_definition_sha256": "7e4c4c0e20a7b2fdda3ac97c807436a535cbad14a10b438eaeb64d120f5efb7f", + "completed_cells": null, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": null, + "artifact_pointers": [ + { + "path": "cells/a8f871ffb825c123d459e4ed40ae168eabce1051d2b551bda6b2a03b99626993.json", + "point_key": "grid=4;tolerance=1", + "sha256": "a8f871ffb825c123d459e4ed40ae168eabce1051d2b551bda6b2a03b99626993", + "status": "completed" + }, + { + "path": "cells/68a858920e026aeffa69f27a54ede5358a6c2425b80b16f2b56ba16abd46a4f1.json", + "point_key": "grid=4;tolerance=0.5", + "sha256": "68a858920e026aeffa69f27a54ede5358a6c2425b80b16f2b56ba16abd46a4f1", + "status": "completed" + }, + { + "path": "cells/5726b051e8b59b5d2b2dced5d5013413d208629fb8e20a827772add9a6c9de4e.json", + "point_key": "grid=4;tolerance=0.25", + "sha256": "5726b051e8b59b5d2b2dced5d5013413d208629fb8e20a827772add9a6c9de4e", + "status": "completed" + }, + { + "path": "cells/7d6b0295f40263a923910787e9145730caf36dc0837149d2e48a8e8896c213c0.json", + "point_key": "grid=6;tolerance=1", + "sha256": "7d6b0295f40263a923910787e9145730caf36dc0837149d2e48a8e8896c213c0", + "status": "completed" + }, + { + "path": "cells/7e8185caec96eb055ebcc5044e00ea58dc4f6caeecf9e1e050b16ee2d11e23d2.json", + "point_key": "grid=6;tolerance=0.5", + "sha256": "7e8185caec96eb055ebcc5044e00ea58dc4f6caeecf9e1e050b16ee2d11e23d2", + "status": "completed" + }, + { + "path": "cells/3d713ffa67cc4c7c72d998e3a9021add6f8f92be8d28ea298a10a142c4e4979c.json", + "point_key": "grid=6;tolerance=0.25", + "sha256": "3d713ffa67cc4c7c72d998e3a9021add6f8f92be8d28ea298a10a142c4e4979c", + "status": "completed" + }, + { + "path": "cells/e57abd72dfca040cbbe1526bdb288183ddd7030467fde73aa237551392f4fa81.json", + "point_key": "grid=8;tolerance=1", + "sha256": "e57abd72dfca040cbbe1526bdb288183ddd7030467fde73aa237551392f4fa81", + "status": "completed" + }, + { + "path": "cells/ab5ec6c092e9faba066d9e0aeb0241657328010f11f6bc846ac7f99acf8d5305.json", + "point_key": "grid=8;tolerance=0.5", + "sha256": "ab5ec6c092e9faba066d9e0aeb0241657328010f11f6bc846ac7f99acf8d5305", + "status": "completed" + }, + { + "path": "cells/b8169f12729355a03d1059c0b7d8bf32a32d0fb7ed54ff607cab20533ed84d49.json", + "point_key": "grid=8;tolerance=0.25", + "sha256": "b8169f12729355a03d1059c0b7d8bf32a32d0fb7ed54ff607cab20533ed84d49", + "status": "completed" + } + ], + "environment_sha256": "197e3085b43d4d83ae9bd5fef2bd7f038a2dda3a888bf16c1a02804ec0cb8c27" + }, + "certificates": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/DynamicDefectIonTransientTimescaleNonlinearResolvedV3/0738b25d4eff5fa1d5abf08b3b34d8a08b632413304dccebad89ee0c7e186733/Certificates/84393ff5fd6c870f30e15d913326dc96f8cf25dd74f03242871ec6abdbbdd245.json", + "sha256": "8043bf0c3fc40b69eb85872668c75728a3edf93f6f0c07118e09c0dc6f92dd5e", + "role": "historical_certificates" + }, + "declared_content_id": "84393ff5fd6c870f30e15d913326dc96f8cf25dd74f03242871ec6abdbbdd245", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "partial", + "declared_lane_id": "DynamicDefectIonTransientTimescaleNonlinearResolvedV3", + "source_commit": "7077359dafb119cd1d16a8a2554e2bed3fe6bceb", + "source_fingerprint_sha256": "e5b5f329b53e3100ca30623eaff892e958ef9e68d75822915a6be95a6ec92844", + "config_sha256": "7aa464bc4772030318ebfa5fa7eb293e346ddf33f70f74083ba120f4240fd7c8", + "lane_definition_sha256": "7e4c4c0e20a7b2fdda3ac97c807436a535cbad14a10b438eaeb64d120f5efb7f", + "completed_cells": 9, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": 0, + "artifact_pointers": [], + "environment_sha256": "197e3085b43d4d83ae9bd5fef2bd7f038a2dda3a888bf16c1a02804ec0cb8c27" + } + } + ], + "status": "historical_records_located" + }, + { + "capability_id": "lane-c2f00d60b696be35", + "lane": "dynamic-defect-ion-transient-timescale-reference-resolved-v5", + "archive_directory": "results/NumericalRefinement/DynamicDefectIonTransientTimescaleReferenceResolvedV5", + "runs": [ + { + "run_directory": "results/NumericalRefinement/DynamicDefectIonTransientTimescaleReferenceResolvedV5/64483a687aaa08c3e9709b66a74722990089016a0b53a1bfd3ca6006296c32a3", + "state": { + "root": "archive", + "path": "results/NumericalRefinement/DynamicDefectIonTransientTimescaleReferenceResolvedV5/64483a687aaa08c3e9709b66a74722990089016a0b53a1bfd3ca6006296c32a3/State.json", + "sha256": "9824ea6df851979743f02d372cef1ff42e60c9431a577d82404dc8a99fa37ba6", + "role": "old_result_state" + }, + "declared_run_id": "64483a687aaa08c3e9709b66a74722990089016a0b53a1bfd3ca6006296c32a3", + "binding_status": "located_not_recertified", + "manifests": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/DynamicDefectIonTransientTimescaleReferenceResolvedV5/64483a687aaa08c3e9709b66a74722990089016a0b53a1bfd3ca6006296c32a3/Manifests/c3380c5c516373620983a3ceef222315c0f2c9e74fca5a12f5b45f248f449fd7.json", + "sha256": "0f52a18721a65c05cc692dd5d943309d44007ec463fabeffcfa3770d72745712", + "role": "historical_manifests" + }, + "declared_content_id": "c3380c5c516373620983a3ceef222315c0f2c9e74fca5a12f5b45f248f449fd7", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "complete", + "declared_lane_id": "DynamicDefectIonTransientTimescaleReferenceResolvedV5", + "source_commit": "7077359dafb119cd1d16a8a2554e2bed3fe6bceb", + "source_fingerprint_sha256": "62329a39fd54259eafd26ab4df3f461d31d5d2054e070f023959627ac08f478e", + "config_sha256": null, + "lane_definition_sha256": "4749ce85111fd658ebd73904d370494282e166a12af187fd83dc918464db0df1", + "completed_cells": null, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": null, + "artifact_pointers": [ + { + "path": "cells/d42369775b61c74cbb4182862a81394ba5d0772b6de3d5b563b5c8c8c28346c3.json", + "point_key": "grid=4;tolerance=1", + "sha256": "d42369775b61c74cbb4182862a81394ba5d0772b6de3d5b563b5c8c8c28346c3", + "status": "completed" + }, + { + "path": "cells/4ee97f5c76048001ad2d1d90a1ced22c8d933221eb61b3e174c642726c8da5d5.json", + "point_key": "grid=4;tolerance=0.5", + "sha256": "4ee97f5c76048001ad2d1d90a1ced22c8d933221eb61b3e174c642726c8da5d5", + "status": "completed" + }, + { + "path": "cells/5b45337a95c1b7ad774049869a3bc2b04c5ffd2304180d3c522786c6e93206da.json", + "point_key": "grid=4;tolerance=0.25", + "sha256": "5b45337a95c1b7ad774049869a3bc2b04c5ffd2304180d3c522786c6e93206da", + "status": "completed" + }, + { + "path": "cells/35338199528b83bb3b2109501b2ee866ce3fb9b4eb814d7e5d30f24d70c3c21f.json", + "point_key": "grid=6;tolerance=1", + "sha256": "35338199528b83bb3b2109501b2ee866ce3fb9b4eb814d7e5d30f24d70c3c21f", + "status": "completed" + }, + { + "path": "cells/f945c94909dae9831f5102e49440a3bbd6d26184751bec9406d7d0187295f5a0.json", + "point_key": "grid=6;tolerance=0.5", + "sha256": "f945c94909dae9831f5102e49440a3bbd6d26184751bec9406d7d0187295f5a0", + "status": "completed" + }, + { + "path": "cells/f80766e8ca9e20f19983f52800c0b47d7030e262a3b3d252ee92ff3dbc799efd.json", + "point_key": "grid=6;tolerance=0.25", + "sha256": "f80766e8ca9e20f19983f52800c0b47d7030e262a3b3d252ee92ff3dbc799efd", + "status": "completed" + }, + { + "path": "cells/c764edd5c6bff37df9e9f247001ecc17d2dfba1452f5a6dc5ab1bcbf952f6f4f.json", + "point_key": "grid=8;tolerance=1", + "sha256": "c764edd5c6bff37df9e9f247001ecc17d2dfba1452f5a6dc5ab1bcbf952f6f4f", + "status": "completed" + }, + { + "path": "cells/5736127e091f10f2ead190581847d352e7874a07eff9cf061b70b13d9721ecbb.json", + "point_key": "grid=8;tolerance=0.5", + "sha256": "5736127e091f10f2ead190581847d352e7874a07eff9cf061b70b13d9721ecbb", + "status": "completed" + }, + { + "path": "cells/9f1a855f8c28dc46701511f4554e5af71779879e03343c597771343f7eeb20bf.json", + "point_key": "grid=8;tolerance=0.25", + "sha256": "9f1a855f8c28dc46701511f4554e5af71779879e03343c597771343f7eeb20bf", + "status": "completed" + } + ], + "environment_sha256": "197e3085b43d4d83ae9bd5fef2bd7f038a2dda3a888bf16c1a02804ec0cb8c27" + }, + "certificates": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/DynamicDefectIonTransientTimescaleReferenceResolvedV5/64483a687aaa08c3e9709b66a74722990089016a0b53a1bfd3ca6006296c32a3/Certificates/32f8004b855c03a99990625db41b49049d5df1d954f393df57f30e63d64a968e.json", + "sha256": "45b7a84c80f33cdb566527e786346cc4bb96438888f4273a027d89542933f469", + "role": "historical_certificates" + }, + "declared_content_id": "32f8004b855c03a99990625db41b49049d5df1d954f393df57f30e63d64a968e", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "certified", + "declared_lane_id": "DynamicDefectIonTransientTimescaleReferenceResolvedV5", + "source_commit": "7077359dafb119cd1d16a8a2554e2bed3fe6bceb", + "source_fingerprint_sha256": "62329a39fd54259eafd26ab4df3f461d31d5d2054e070f023959627ac08f478e", + "config_sha256": "f617f230b2d9c144573394e38fcc313225dc84c7b38f7670b97e9a0a7cc12a24", + "lane_definition_sha256": "4749ce85111fd658ebd73904d370494282e166a12af187fd83dc918464db0df1", + "completed_cells": 9, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": 0, + "artifact_pointers": [], + "environment_sha256": "197e3085b43d4d83ae9bd5fef2bd7f038a2dda3a888bf16c1a02804ec0cb8c27" + } + }, + { + "run_directory": "results/NumericalRefinement/DynamicDefectIonTransientTimescaleReferenceResolvedV5/6b9a96b945cf61fb5eccb7b019f1b729d6834fa11f5f1c21970d2e23649d74d7", + "state": { + "root": "archive", + "path": "results/NumericalRefinement/DynamicDefectIonTransientTimescaleReferenceResolvedV5/6b9a96b945cf61fb5eccb7b019f1b729d6834fa11f5f1c21970d2e23649d74d7/State.json", + "sha256": "3d0d323c9a2faf339956e444317d48d960303b0aba0592eb8ed97b606281ac72", + "role": "old_result_state" + }, + "declared_run_id": "6b9a96b945cf61fb5eccb7b019f1b729d6834fa11f5f1c21970d2e23649d74d7", + "binding_status": "located_not_recertified", + "manifests": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/DynamicDefectIonTransientTimescaleReferenceResolvedV5/6b9a96b945cf61fb5eccb7b019f1b729d6834fa11f5f1c21970d2e23649d74d7/Manifests/e32f0c2da19840375a69c16385c0a011497ad470fb4948800bde5143859b8310.json", + "sha256": "f1dc7c3d5f461489638fd11e6f1f53ca8f8434d7815f7f3e9f8777644c05cb0c", + "role": "historical_manifests" + }, + "declared_content_id": "e32f0c2da19840375a69c16385c0a011497ad470fb4948800bde5143859b8310", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "complete", + "declared_lane_id": "DynamicDefectIonTransientTimescaleReferenceResolvedV5", + "source_commit": "ba54ce2eb59b7145c24cd166cbac0e8fe9e0b9af", + "source_fingerprint_sha256": "4bb9910e1aafa84fb2cc1d71e768e080758918759edf5877e2de63c91de6dbcf", + "config_sha256": null, + "lane_definition_sha256": "4749ce85111fd658ebd73904d370494282e166a12af187fd83dc918464db0df1", + "completed_cells": null, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": null, + "artifact_pointers": [ + { + "path": "cells/36e4d614f0ff45c52211a0a3fe173a2791770b0ace7dda6552ce21a15423619f.json", + "point_key": "grid=4;tolerance=1", + "sha256": "36e4d614f0ff45c52211a0a3fe173a2791770b0ace7dda6552ce21a15423619f", + "status": "completed" + }, + { + "path": "cells/09f9db1cb9f316cbad87f881fd3f5c180841dbdb2b0837b41aed3dc418240126.json", + "point_key": "grid=4;tolerance=0.5", + "sha256": "09f9db1cb9f316cbad87f881fd3f5c180841dbdb2b0837b41aed3dc418240126", + "status": "completed" + }, + { + "path": "cells/737a4bfe1194d31ccadb894f555ffc4c992d2cbc210ccebcc3eb6de5de96a1f2.json", + "point_key": "grid=4;tolerance=0.25", + "sha256": "737a4bfe1194d31ccadb894f555ffc4c992d2cbc210ccebcc3eb6de5de96a1f2", + "status": "completed" + }, + { + "path": "cells/f95fe5e08bed077fe68793684ab20ed0edcaa950da1e0b7f95c5ccd640f4c4c5.json", + "point_key": "grid=6;tolerance=1", + "sha256": "f95fe5e08bed077fe68793684ab20ed0edcaa950da1e0b7f95c5ccd640f4c4c5", + "status": "completed" + }, + { + "path": "cells/8f8468842476029dd31d2b4d1afede649aa7edf6d64c0cc25b52073f556ba0d1.json", + "point_key": "grid=6;tolerance=0.5", + "sha256": "8f8468842476029dd31d2b4d1afede649aa7edf6d64c0cc25b52073f556ba0d1", + "status": "completed" + }, + { + "path": "cells/2fda9a47e151ab224752f169f4270439d344c731aca50fe7948e990fbe5e71d9.json", + "point_key": "grid=6;tolerance=0.25", + "sha256": "2fda9a47e151ab224752f169f4270439d344c731aca50fe7948e990fbe5e71d9", + "status": "completed" + }, + { + "path": "cells/4021a72295aa6e3e2759346da82c2fdb20bfb6a885d6d25e5295c9f9e97bc1d6.json", + "point_key": "grid=8;tolerance=1", + "sha256": "4021a72295aa6e3e2759346da82c2fdb20bfb6a885d6d25e5295c9f9e97bc1d6", + "status": "completed" + }, + { + "path": "cells/43cdcc3a27cdaf464aff4b607ff9d690dcc71f10e12a70774dafdd0a0ee450ff.json", + "point_key": "grid=8;tolerance=0.5", + "sha256": "43cdcc3a27cdaf464aff4b607ff9d690dcc71f10e12a70774dafdd0a0ee450ff", + "status": "completed" + }, + { + "path": "cells/45a663d99f26be480f8608d4b4c0b8ca67d07b0a1826bf22e39e50d0996e07ae.json", + "point_key": "grid=8;tolerance=0.25", + "sha256": "45a663d99f26be480f8608d4b4c0b8ca67d07b0a1826bf22e39e50d0996e07ae", + "status": "completed" + } + ], + "environment_sha256": "197e3085b43d4d83ae9bd5fef2bd7f038a2dda3a888bf16c1a02804ec0cb8c27" + }, + "certificates": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/DynamicDefectIonTransientTimescaleReferenceResolvedV5/6b9a96b945cf61fb5eccb7b019f1b729d6834fa11f5f1c21970d2e23649d74d7/Certificates/9eab2f9e251b8d4c0f7f3f07e0baeea9bb6497126ef8d8111eba1803947e5beb.json", + "sha256": "1bbca900a3c2f1f95d9cb1b4a2012058745a95f69e129e784b5829b6d2aff476", + "role": "historical_certificates" + }, + "declared_content_id": "9eab2f9e251b8d4c0f7f3f07e0baeea9bb6497126ef8d8111eba1803947e5beb", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "certified", + "declared_lane_id": "DynamicDefectIonTransientTimescaleReferenceResolvedV5", + "source_commit": "ba54ce2eb59b7145c24cd166cbac0e8fe9e0b9af", + "source_fingerprint_sha256": "4bb9910e1aafa84fb2cc1d71e768e080758918759edf5877e2de63c91de6dbcf", + "config_sha256": "f617f230b2d9c144573394e38fcc313225dc84c7b38f7670b97e9a0a7cc12a24", + "lane_definition_sha256": "4749ce85111fd658ebd73904d370494282e166a12af187fd83dc918464db0df1", + "completed_cells": 9, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": 0, + "artifact_pointers": [], + "environment_sha256": "197e3085b43d4d83ae9bd5fef2bd7f038a2dda3a888bf16c1a02804ec0cb8c27" + } + } + ], + "status": "historical_records_located" + }, + { + "capability_id": "lane-2e2c396de43bcf73", + "lane": "dynamic-defect-ion-transient-timescale-resolved-v2", + "archive_directory": "results/NumericalRefinement/DynamicDefectIonTransientTimescaleResolvedV2", + "runs": [ + { + "run_directory": "results/NumericalRefinement/DynamicDefectIonTransientTimescaleResolvedV2/22a4380395a4db2857a19e4b47d483b708e3989acd957b1cc130521107e642a9", + "state": { + "root": "archive", + "path": "results/NumericalRefinement/DynamicDefectIonTransientTimescaleResolvedV2/22a4380395a4db2857a19e4b47d483b708e3989acd957b1cc130521107e642a9/State.json", + "sha256": "8acbe64ecbf4771b8666c58b254327fa6f22140b40fba4c986c7787f7383e4e0", + "role": "old_result_state" + }, + "declared_run_id": "22a4380395a4db2857a19e4b47d483b708e3989acd957b1cc130521107e642a9", + "binding_status": "located_not_recertified", + "manifests": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/DynamicDefectIonTransientTimescaleResolvedV2/22a4380395a4db2857a19e4b47d483b708e3989acd957b1cc130521107e642a9/Manifests/20b49b80141364a20fcfa42cff916301557f4be6ee3d26da5fcf39b3a002d80e.json", + "sha256": "d2866f2ee131405e6d8d07a0b903e51e95c589799c0e1acca4adfb5794208763", + "role": "historical_manifests" + }, + "declared_content_id": "20b49b80141364a20fcfa42cff916301557f4be6ee3d26da5fcf39b3a002d80e", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "complete_with_failures", + "declared_lane_id": "DynamicDefectIonTransientTimescaleResolvedV2", + "source_commit": "7077359dafb119cd1d16a8a2554e2bed3fe6bceb", + "source_fingerprint_sha256": "185e1e83be21978be0dd5c751d00b362766705d77e9805ee203dbf0cddb64856", + "config_sha256": null, + "lane_definition_sha256": "4035476fed6383dc453ef86b56f522d1aa7e31f40e8cddd932dfe09dc7c55591", + "completed_cells": null, + "expected_cells_count": 9, + "failed_cells_count": 2, + "missing_cells_count": null, + "artifact_pointers": [ + { + "path": "cells/f9f1f1f7768e505ac4b20eef33abcbad8196e51256298b40f39ba60c5550e9bf.json", + "point_key": "grid=4;tolerance=1", + "sha256": "f9f1f1f7768e505ac4b20eef33abcbad8196e51256298b40f39ba60c5550e9bf", + "status": "completed" + }, + { + "path": "cells/842f5da1339ec6b8fdc2d1c3feb6e054685362d820feb98dd94404860c622af5.json", + "point_key": "grid=4;tolerance=0.5", + "sha256": "842f5da1339ec6b8fdc2d1c3feb6e054685362d820feb98dd94404860c622af5", + "status": "completed" + }, + { + "path": "cells/d61f694ff1a325c1d25d301c7f48828a1866ff9413e2c33983f16de93b5991f6.json", + "point_key": "grid=4;tolerance=0.25", + "sha256": "d61f694ff1a325c1d25d301c7f48828a1866ff9413e2c33983f16de93b5991f6", + "status": "completed" + }, + { + "path": "cells/d23024dce222fab88e005727064d91239728f2d1eb4bbbb15d179a374c130f43.json", + "point_key": "grid=6;tolerance=1", + "sha256": "d23024dce222fab88e005727064d91239728f2d1eb4bbbb15d179a374c130f43", + "status": "completed" + }, + { + "path": "cells/f308c2b1bd82765e165de8135d7bf016d032f3740cc786b2f9325ded8a2eed09.json", + "point_key": "grid=6;tolerance=0.5", + "sha256": "f308c2b1bd82765e165de8135d7bf016d032f3740cc786b2f9325ded8a2eed09", + "status": "completed" + }, + { + "path": "cells/8cc460680993d0778ed6c279b154cf25165c359db3d58c5fe6886514904bcd33.json", + "point_key": "grid=6;tolerance=0.25", + "sha256": "8cc460680993d0778ed6c279b154cf25165c359db3d58c5fe6886514904bcd33", + "status": "failed" + }, + { + "path": "cells/9d53c42f4de7e0fe427d4ac6a69d1f67c4a6db998d0063b690c07c91cd697c83.json", + "point_key": "grid=8;tolerance=1", + "sha256": "9d53c42f4de7e0fe427d4ac6a69d1f67c4a6db998d0063b690c07c91cd697c83", + "status": "completed" + }, + { + "path": "cells/8dab85862bf72bddca5e1a4e4a027b72adc5653a7fd8367371e128aaccd78876.json", + "point_key": "grid=8;tolerance=0.5", + "sha256": "8dab85862bf72bddca5e1a4e4a027b72adc5653a7fd8367371e128aaccd78876", + "status": "completed" + }, + { + "path": "cells/a045bffb53058b5bb0d5dead8b16c2e9fd48ebcf2a63d541988b4202adf1460c.json", + "point_key": "grid=8;tolerance=0.25", + "sha256": "a045bffb53058b5bb0d5dead8b16c2e9fd48ebcf2a63d541988b4202adf1460c", + "status": "failed" + } + ], + "environment_sha256": "197e3085b43d4d83ae9bd5fef2bd7f038a2dda3a888bf16c1a02804ec0cb8c27" + }, + "certificates": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/DynamicDefectIonTransientTimescaleResolvedV2/22a4380395a4db2857a19e4b47d483b708e3989acd957b1cc130521107e642a9/Certificates/012ea21775bb8abff75859730cbd48605dac4380a3485b5f218e688fe0bae4bf.json", + "sha256": "65d12fbb93e7191d8aa8e84e3de203d60c5645bf55e2f4724ecb36e1012ebedc", + "role": "historical_certificates" + }, + "declared_content_id": "012ea21775bb8abff75859730cbd48605dac4380a3485b5f218e688fe0bae4bf", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "failed", + "declared_lane_id": "DynamicDefectIonTransientTimescaleResolvedV2", + "source_commit": "7077359dafb119cd1d16a8a2554e2bed3fe6bceb", + "source_fingerprint_sha256": "185e1e83be21978be0dd5c751d00b362766705d77e9805ee203dbf0cddb64856", + "config_sha256": "7aa464bc4772030318ebfa5fa7eb293e346ddf33f70f74083ba120f4240fd7c8", + "lane_definition_sha256": "4035476fed6383dc453ef86b56f522d1aa7e31f40e8cddd932dfe09dc7c55591", + "completed_cells": 7, + "expected_cells_count": 9, + "failed_cells_count": 2, + "missing_cells_count": 0, + "artifact_pointers": [], + "environment_sha256": "197e3085b43d4d83ae9bd5fef2bd7f038a2dda3a888bf16c1a02804ec0cb8c27" + } + } + ], + "status": "historical_records_located" + }, + { + "capability_id": "lane-f63c8cad0bf211ec", + "lane": "dynamic-defect-ion-transient-timescale-v1", + "archive_directory": "results/NumericalRefinement/DynamicDefectIonTransientTimescaleV1", + "runs": [ + { + "run_directory": "results/NumericalRefinement/DynamicDefectIonTransientTimescaleV1/2a375d1dc2781b451b96176e6bd2395f18a85f3945b34fbcbf3f6c362d2e393d", + "state": { + "root": "archive", + "path": "results/NumericalRefinement/DynamicDefectIonTransientTimescaleV1/2a375d1dc2781b451b96176e6bd2395f18a85f3945b34fbcbf3f6c362d2e393d/State.json", + "sha256": "2ff0ed6ab78e29676b6112c75597c150c179c56ba0fc8b331949216425462a17", + "role": "old_result_state" + }, + "declared_run_id": "2a375d1dc2781b451b96176e6bd2395f18a85f3945b34fbcbf3f6c362d2e393d", + "binding_status": "located_not_recertified", + "manifests": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/DynamicDefectIonTransientTimescaleV1/2a375d1dc2781b451b96176e6bd2395f18a85f3945b34fbcbf3f6c362d2e393d/Manifests/885f6e74cded234b282cb1087c7062699d77c2fa6eca74d790461ecc80e4f7b1.json", + "sha256": "055383f65cdc7e2e8a4bde3e1154e0f48f179bcff3ca71b788107dbf3d0506a7", + "role": "historical_manifests" + }, + "declared_content_id": "885f6e74cded234b282cb1087c7062699d77c2fa6eca74d790461ecc80e4f7b1", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "complete_with_failures", + "declared_lane_id": "DynamicDefectIonTransientTimescaleV1", + "source_commit": "7077359dafb119cd1d16a8a2554e2bed3fe6bceb", + "source_fingerprint_sha256": "b51afdd1b0dadd837bc911719ba83a08f29338f4b828a5346c7c2221970f7de4", + "config_sha256": null, + "lane_definition_sha256": "c7e7ef6fa4469ce458c4b2f5b7f329ac6ec1995f17f5891357c2d746bd13b3c1", + "completed_cells": null, + "expected_cells_count": 9, + "failed_cells_count": 6, + "missing_cells_count": null, + "artifact_pointers": [ + { + "path": "cells/3fbc1b1d450f87d7e3fb636241532c8c938d32427516a58f24a8ce41f7c8fcb7.json", + "point_key": "grid=4;tolerance=1", + "sha256": "3fbc1b1d450f87d7e3fb636241532c8c938d32427516a58f24a8ce41f7c8fcb7", + "status": "completed" + }, + { + "path": "cells/3a25f15b8694ee3e98c4a35578925bd8ef9d4deddc5ae31da90119e6bcdfaa2c.json", + "point_key": "grid=4;tolerance=0.5", + "sha256": "3a25f15b8694ee3e98c4a35578925bd8ef9d4deddc5ae31da90119e6bcdfaa2c", + "status": "completed" + }, + { + "path": "cells/5e550314c71e013da65b5e1e3026cc1634cabecf47667ad717966d530c4d60f4.json", + "point_key": "grid=4;tolerance=0.25", + "sha256": "5e550314c71e013da65b5e1e3026cc1634cabecf47667ad717966d530c4d60f4", + "status": "completed" + }, + { + "path": "cells/6fc970a1bd4bd951ff2ac9f478d340926f48f137681271e725b44f952dedd9ab.json", + "point_key": "grid=6;tolerance=1", + "sha256": "6fc970a1bd4bd951ff2ac9f478d340926f48f137681271e725b44f952dedd9ab", + "status": "failed" + }, + { + "path": "cells/9a09224738be266f0c2132265c97d014a49ff6fef091c352adc53d2d1671b4fb.json", + "point_key": "grid=6;tolerance=0.5", + "sha256": "9a09224738be266f0c2132265c97d014a49ff6fef091c352adc53d2d1671b4fb", + "status": "failed" + }, + { + "path": "cells/be9792682a84fb4fa31f311b369f0339aefbca269226d044ea540c70a43a4115.json", + "point_key": "grid=6;tolerance=0.25", + "sha256": "be9792682a84fb4fa31f311b369f0339aefbca269226d044ea540c70a43a4115", + "status": "failed" + }, + { + "path": "cells/2e206f799cc55f7d149f8454f287bf1e465cadc47565fb28bb3997f226fd3cc8.json", + "point_key": "grid=8;tolerance=1", + "sha256": "2e206f799cc55f7d149f8454f287bf1e465cadc47565fb28bb3997f226fd3cc8", + "status": "failed" + }, + { + "path": "cells/0430b986c7e2d9cf98b96a93defd2d4a97d2984bf7a4a5bac2f1c7f77ea9c9e1.json", + "point_key": "grid=8;tolerance=0.5", + "sha256": "0430b986c7e2d9cf98b96a93defd2d4a97d2984bf7a4a5bac2f1c7f77ea9c9e1", + "status": "failed" + }, + { + "path": "cells/31b610c10a645261d2087176a636a1416fd1028a107a699a97fd9997ab36a0ba.json", + "point_key": "grid=8;tolerance=0.25", + "sha256": "31b610c10a645261d2087176a636a1416fd1028a107a699a97fd9997ab36a0ba", + "status": "failed" + } + ], + "environment_sha256": "197e3085b43d4d83ae9bd5fef2bd7f038a2dda3a888bf16c1a02804ec0cb8c27" + }, + "certificates": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/DynamicDefectIonTransientTimescaleV1/2a375d1dc2781b451b96176e6bd2395f18a85f3945b34fbcbf3f6c362d2e393d/Certificates/ddceec78c2af3c8661a3e60d3b548d54e3e424d1a7b3055ff0dfd066e5181970.json", + "sha256": "61c28b90384a48a63cd585cd0f879b43bede8074be6f4200975a5e468884e2bc", + "role": "historical_certificates" + }, + "declared_content_id": "ddceec78c2af3c8661a3e60d3b548d54e3e424d1a7b3055ff0dfd066e5181970", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "failed", + "declared_lane_id": "DynamicDefectIonTransientTimescaleV1", + "source_commit": "7077359dafb119cd1d16a8a2554e2bed3fe6bceb", + "source_fingerprint_sha256": "b51afdd1b0dadd837bc911719ba83a08f29338f4b828a5346c7c2221970f7de4", + "config_sha256": "7aa464bc4772030318ebfa5fa7eb293e346ddf33f70f74083ba120f4240fd7c8", + "lane_definition_sha256": "c7e7ef6fa4469ce458c4b2f5b7f329ac6ec1995f17f5891357c2d746bd13b3c1", + "completed_cells": 3, + "expected_cells_count": 9, + "failed_cells_count": 6, + "missing_cells_count": 0, + "artifact_pointers": [], + "environment_sha256": "197e3085b43d4d83ae9bd5fef2bd7f038a2dda3a888bf16c1a02804ec0cb8c27" + } + } + ], + "status": "historical_records_located" + }, + { + "capability_id": "lane-5d1d62edf010a604", + "lane": "electrothermal-terminal-mpp-grid-resolved-v3", + "archive_directory": "results/NumericalRefinement/ElectrothermalTerminalMppGridResolvedV3", + "runs": [ + { + "run_directory": "results/NumericalRefinement/ElectrothermalTerminalMppGridResolvedV3/6056c1fb843c563b8de07c0a060713510cbeadf4134883641d40d1237ff1d8b7", + "state": { + "root": "archive", + "path": "results/NumericalRefinement/ElectrothermalTerminalMppGridResolvedV3/6056c1fb843c563b8de07c0a060713510cbeadf4134883641d40d1237ff1d8b7/State.json", + "sha256": "278f2a41ab2206a6b31f175a44410d36d005b2a9b4f5a1e681a4a6e79569c035", + "role": "old_result_state" + }, + "declared_run_id": "6056c1fb843c563b8de07c0a060713510cbeadf4134883641d40d1237ff1d8b7", + "binding_status": "located_not_recertified", + "manifests": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/ElectrothermalTerminalMppGridResolvedV3/6056c1fb843c563b8de07c0a060713510cbeadf4134883641d40d1237ff1d8b7/Manifests/3da15d9e4c52bcf603175465e8a08f2afc29f02712cf15d9c366c5fa6e9f424c.json", + "sha256": "4b0ca0dfc3a55f147506bc3be0e68ae81a465ceb18799fbc380ab6c426cb5066", + "role": "historical_manifests" + }, + "declared_content_id": "3da15d9e4c52bcf603175465e8a08f2afc29f02712cf15d9c366c5fa6e9f424c", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "complete", + "declared_lane_id": "ElectrothermalTerminalMppGridResolvedV3", + "source_commit": "6afb1a69667507dcae36c65403538a44796f9a9f", + "source_fingerprint_sha256": "80150cf0c96413a4e8b4235710d48a3c97fafcbb41f96772c8592d8bd9385347", + "config_sha256": null, + "lane_definition_sha256": "34fb8559d406f49554a63bc14d9169b39cd1e5366bcf8206a55b2f4723d3799c", + "completed_cells": null, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": null, + "artifact_pointers": [ + { + "path": "cells/9c5bbd8c30a31e80fcbf36f4a1b883857ebf113c5d613f1360331e167d2ca210.json", + "point_key": "grid=40;tolerance=1", + "sha256": "9c5bbd8c30a31e80fcbf36f4a1b883857ebf113c5d613f1360331e167d2ca210", + "status": "completed" + }, + { + "path": "cells/0c734731ec3187907dac1b1a7df863397366e7dde648577ec413f16dc02ded4e.json", + "point_key": "grid=40;tolerance=0.1", + "sha256": "0c734731ec3187907dac1b1a7df863397366e7dde648577ec413f16dc02ded4e", + "status": "completed" + }, + { + "path": "cells/25cd555949e5e8dcb6533e2bd0dd6a1473639e32f09b4f4ea24dfec2bca8f760.json", + "point_key": "grid=40;tolerance=0.01", + "sha256": "25cd555949e5e8dcb6533e2bd0dd6a1473639e32f09b4f4ea24dfec2bca8f760", + "status": "completed" + }, + { + "path": "cells/cd2b65c36bd49dd3464bd47a528fb11762d0c16365569e564652e7e490caed56.json", + "point_key": "grid=60;tolerance=1", + "sha256": "cd2b65c36bd49dd3464bd47a528fb11762d0c16365569e564652e7e490caed56", + "status": "completed" + }, + { + "path": "cells/dd336b923300d826c534aebe05c72ba7eaba5f53a8001aa9fe107a2f30b7004d.json", + "point_key": "grid=60;tolerance=0.1", + "sha256": "dd336b923300d826c534aebe05c72ba7eaba5f53a8001aa9fe107a2f30b7004d", + "status": "completed" + }, + { + "path": "cells/42c40723984d8c933bbfb80b21494cff8e068ba6752dacc797251b66cd531670.json", + "point_key": "grid=60;tolerance=0.01", + "sha256": "42c40723984d8c933bbfb80b21494cff8e068ba6752dacc797251b66cd531670", + "status": "completed" + }, + { + "path": "cells/6c92a179aafb084c645e73054213d4562f234a78a085cdebe04efc0146476d73.json", + "point_key": "grid=80;tolerance=1", + "sha256": "6c92a179aafb084c645e73054213d4562f234a78a085cdebe04efc0146476d73", + "status": "completed" + }, + { + "path": "cells/c2a8af3a30f052f387758cb6f2ba7ed5d972f9dfb20491d7a000b49e7e8ab034.json", + "point_key": "grid=80;tolerance=0.1", + "sha256": "c2a8af3a30f052f387758cb6f2ba7ed5d972f9dfb20491d7a000b49e7e8ab034", + "status": "completed" + }, + { + "path": "cells/decd5d6abc3b873a333c6d047f96b0179b25e1abc14a8b3e8c21ad8242ec2b17.json", + "point_key": "grid=80;tolerance=0.01", + "sha256": "decd5d6abc3b873a333c6d047f96b0179b25e1abc14a8b3e8c21ad8242ec2b17", + "status": "completed" + } + ], + "environment_sha256": "197e3085b43d4d83ae9bd5fef2bd7f038a2dda3a888bf16c1a02804ec0cb8c27" + }, + "certificates": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/ElectrothermalTerminalMppGridResolvedV3/6056c1fb843c563b8de07c0a060713510cbeadf4134883641d40d1237ff1d8b7/Certificates/67d18979c9ce2d23a0e2d0e848513f50d8e1e4880819c92a5ff4da8719682cf6.json", + "sha256": "8c75494c00ff452040fda2ae9db929c51cedaa1c8356e1dd691a86c4b048702f", + "role": "historical_certificates" + }, + "declared_content_id": "67d18979c9ce2d23a0e2d0e848513f50d8e1e4880819c92a5ff4da8719682cf6", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "certified", + "declared_lane_id": "ElectrothermalTerminalMppGridResolvedV3", + "source_commit": "6afb1a69667507dcae36c65403538a44796f9a9f", + "source_fingerprint_sha256": "80150cf0c96413a4e8b4235710d48a3c97fafcbb41f96772c8592d8bd9385347", + "config_sha256": "20fa8a8097c965330ce7b0d7e8f9286fc1960585231c360841d24ba7a1845668", + "lane_definition_sha256": "34fb8559d406f49554a63bc14d9169b39cd1e5366bcf8206a55b2f4723d3799c", + "completed_cells": 9, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": 0, + "artifact_pointers": [], + "environment_sha256": "197e3085b43d4d83ae9bd5fef2bd7f038a2dda3a888bf16c1a02804ec0cb8c27" + } + } + ], + "status": "historical_records_located" + }, + { + "capability_id": "lane-b37e800920a3345f", + "lane": "electrothermal-terminal-mpp-resolved-v2", + "archive_directory": "results/NumericalRefinement/ElectrothermalTerminalMppResolvedV2", + "runs": [ + { + "run_directory": "results/NumericalRefinement/ElectrothermalTerminalMppResolvedV2/3ae21a1e4d09868fce73f840888739a8cff3a9d2877437e4f8d847e90bf6b42b", + "state": { + "root": "archive", + "path": "results/NumericalRefinement/ElectrothermalTerminalMppResolvedV2/3ae21a1e4d09868fce73f840888739a8cff3a9d2877437e4f8d847e90bf6b42b/State.json", + "sha256": "0c66f5a3b6bc7c58d44950a702b6800aa4f6c0bf20a4b5f8450a73ec6eeb10d7", + "role": "old_result_state" + }, + "declared_run_id": "3ae21a1e4d09868fce73f840888739a8cff3a9d2877437e4f8d847e90bf6b42b", + "binding_status": "located_not_recertified", + "manifests": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/ElectrothermalTerminalMppResolvedV2/3ae21a1e4d09868fce73f840888739a8cff3a9d2877437e4f8d847e90bf6b42b/Manifests/2f05dff08086cbb2056173e97811528ebd1e6ce35f70de5e8fa1d7a0ed0a7dd8.json", + "sha256": "e8ae47ef7e7f6da494d437420c48cb7e5c72a54a197e5593ff5f9886976d52c7", + "role": "historical_manifests" + }, + "declared_content_id": "2f05dff08086cbb2056173e97811528ebd1e6ce35f70de5e8fa1d7a0ed0a7dd8", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "complete", + "declared_lane_id": "ElectrothermalTerminalMppResolvedV2", + "source_commit": "5605f6df7c2a70db31d283c0198bc18a9e92cb4c", + "source_fingerprint_sha256": "e6b5962a9d857a99077527de01b8b4b3abef0643ccdfd3e96e31432247bd4fd7", + "config_sha256": null, + "lane_definition_sha256": "8ec6864e018c2d510966ec0e3e2b9c9de938c660d898e60b20c6b68985320726", + "completed_cells": null, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": null, + "artifact_pointers": [ + { + "path": "cells/3c977609ec88a55d00824cd9143599805f042ec51df8a4b9fc5020e47c2efff8.json", + "point_key": "grid=20;tolerance=1", + "sha256": "3c977609ec88a55d00824cd9143599805f042ec51df8a4b9fc5020e47c2efff8", + "status": "completed" + }, + { + "path": "cells/3c487ef5fdb9219d78f310900ca97ab262f8f3626f64db1d2224b73ef37cd50e.json", + "point_key": "grid=20;tolerance=0.1", + "sha256": "3c487ef5fdb9219d78f310900ca97ab262f8f3626f64db1d2224b73ef37cd50e", + "status": "completed" + }, + { + "path": "cells/bdc0fc5018e8487cd470d9f1afd3a99a902cd708fedb7af5622dad77247c0f63.json", + "point_key": "grid=20;tolerance=0.01", + "sha256": "bdc0fc5018e8487cd470d9f1afd3a99a902cd708fedb7af5622dad77247c0f63", + "status": "completed" + }, + { + "path": "cells/8af928b9d76b782bd936ef047298df0526d1c3fa575dab22f95ed1b4ef6a4b2a.json", + "point_key": "grid=30;tolerance=1", + "sha256": "8af928b9d76b782bd936ef047298df0526d1c3fa575dab22f95ed1b4ef6a4b2a", + "status": "completed" + }, + { + "path": "cells/6002c561a123b31c68ad9653b54c0c14435544bbe62fb0c448125bd37dd973ba.json", + "point_key": "grid=30;tolerance=0.1", + "sha256": "6002c561a123b31c68ad9653b54c0c14435544bbe62fb0c448125bd37dd973ba", + "status": "completed" + }, + { + "path": "cells/3ee9ff2fde42557228fdcd29d16e239a74fbb82b9ff730b8a2e32205660c28a1.json", + "point_key": "grid=30;tolerance=0.01", + "sha256": "3ee9ff2fde42557228fdcd29d16e239a74fbb82b9ff730b8a2e32205660c28a1", + "status": "completed" + }, + { + "path": "cells/b458ce4769d544ee9cec4fb05fa58e6539b0f5bbf7ba76539159fcbf3ae9ba47.json", + "point_key": "grid=40;tolerance=1", + "sha256": "b458ce4769d544ee9cec4fb05fa58e6539b0f5bbf7ba76539159fcbf3ae9ba47", + "status": "completed" + }, + { + "path": "cells/ee6d2b04e61c4d7a38783914a9d25ce06a9cd9345fecc22b8105bf1539f61de7.json", + "point_key": "grid=40;tolerance=0.1", + "sha256": "ee6d2b04e61c4d7a38783914a9d25ce06a9cd9345fecc22b8105bf1539f61de7", + "status": "completed" + }, + { + "path": "cells/dfc213b6c0e2e8f23990c3045ce22a6259f426d3d203208a48f4fc7831b31826.json", + "point_key": "grid=40;tolerance=0.01", + "sha256": "dfc213b6c0e2e8f23990c3045ce22a6259f426d3d203208a48f4fc7831b31826", + "status": "completed" + } + ], + "environment_sha256": "197e3085b43d4d83ae9bd5fef2bd7f038a2dda3a888bf16c1a02804ec0cb8c27" + }, + "certificates": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/ElectrothermalTerminalMppResolvedV2/3ae21a1e4d09868fce73f840888739a8cff3a9d2877437e4f8d847e90bf6b42b/Certificates/533471fa0c64897ffde64ee7a9546657bf011fbff5529ddb79dddbfe93602578.json", + "sha256": "c2f4c815b152f7719103a5853e81fee4913b6be29e82abfa5c818667f1db0442", + "role": "historical_certificates" + }, + "declared_content_id": "533471fa0c64897ffde64ee7a9546657bf011fbff5529ddb79dddbfe93602578", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "partial", + "declared_lane_id": "ElectrothermalTerminalMppResolvedV2", + "source_commit": "5605f6df7c2a70db31d283c0198bc18a9e92cb4c", + "source_fingerprint_sha256": "e6b5962a9d857a99077527de01b8b4b3abef0643ccdfd3e96e31432247bd4fd7", + "config_sha256": "20fa8a8097c965330ce7b0d7e8f9286fc1960585231c360841d24ba7a1845668", + "lane_definition_sha256": "8ec6864e018c2d510966ec0e3e2b9c9de938c660d898e60b20c6b68985320726", + "completed_cells": 9, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": 0, + "artifact_pointers": [], + "environment_sha256": "197e3085b43d4d83ae9bd5fef2bd7f038a2dda3a888bf16c1a02804ec0cb8c27" + } + } + ], + "status": "historical_records_located" + }, + { + "capability_id": "lane-b89615cfbbfe0045", + "lane": "electrothermal-terminal-mpp-v1", + "archive_directory": "results/NumericalRefinement/ElectrothermalTerminalMppV1", + "runs": [ + { + "run_directory": "results/NumericalRefinement/ElectrothermalTerminalMppV1/47798511b2cd28268f6dc1f9ba1c12693b4cef91b705277fb2b49e8fa1fa9a90", + "state": { + "root": "archive", + "path": "results/NumericalRefinement/ElectrothermalTerminalMppV1/47798511b2cd28268f6dc1f9ba1c12693b4cef91b705277fb2b49e8fa1fa9a90/State.json", + "sha256": "40e16ee0491670963161e93f156cc372dd14e0df67273eae13dc1a4cecd906ff", + "role": "old_result_state" + }, + "declared_run_id": "47798511b2cd28268f6dc1f9ba1c12693b4cef91b705277fb2b49e8fa1fa9a90", + "binding_status": "located_not_recertified", + "manifests": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/ElectrothermalTerminalMppV1/47798511b2cd28268f6dc1f9ba1c12693b4cef91b705277fb2b49e8fa1fa9a90/Manifests/6a8197ca72749092a63c7dfd3ab717ce49535e84d413fdae131081570a641f10.json", + "sha256": "5b3ceec10757950d6bf82434b333af597f5a147422f2cd8b93c2844828b0bbfb", + "role": "historical_manifests" + }, + "declared_content_id": "6a8197ca72749092a63c7dfd3ab717ce49535e84d413fdae131081570a641f10", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "complete", + "declared_lane_id": "ElectrothermalTerminalMppV1", + "source_commit": "4d1273ffd779a61b36b8d54b5c5d019bb2c85fa6", + "source_fingerprint_sha256": "fe486ce0ae199d5d37aad033f830bc60f7868c4c0aabd997ad3ba9ab2d5aa176", + "config_sha256": null, + "lane_definition_sha256": "5fdfa9c12db550a1ac2a8fb3dbb43ff0dc05f181b0c759c593aa941b2f605afa", + "completed_cells": null, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": null, + "artifact_pointers": [ + { + "path": "cells/2481b936c39c3a266f21f5004c1272ecd0d9fa16d88dbb3f434ce160e011361b.json", + "point_key": "grid=10;tolerance=1", + "sha256": "2481b936c39c3a266f21f5004c1272ecd0d9fa16d88dbb3f434ce160e011361b", + "status": "completed" + }, + { + "path": "cells/60fd72e47a5e0c97e5b16903b9bbad0ab3dc49e1f647723d0aa113cd137e4c9f.json", + "point_key": "grid=10;tolerance=0.1", + "sha256": "60fd72e47a5e0c97e5b16903b9bbad0ab3dc49e1f647723d0aa113cd137e4c9f", + "status": "completed" + }, + { + "path": "cells/180c25294c3d25b248e886bf4bc2fa84f2f7fcf362aff6b7afdefe3ab4503218.json", + "point_key": "grid=10;tolerance=0.01", + "sha256": "180c25294c3d25b248e886bf4bc2fa84f2f7fcf362aff6b7afdefe3ab4503218", + "status": "completed" + }, + { + "path": "cells/84bd77739a43dd577cb38611dbe3e8ea8765ea2c30e5089151afec97893e681e.json", + "point_key": "grid=15;tolerance=1", + "sha256": "84bd77739a43dd577cb38611dbe3e8ea8765ea2c30e5089151afec97893e681e", + "status": "completed" + }, + { + "path": "cells/4c050a9cbd5f2682c5afc92e308460036ff86872e0ec32a9d0205deccf3ebdba.json", + "point_key": "grid=15;tolerance=0.1", + "sha256": "4c050a9cbd5f2682c5afc92e308460036ff86872e0ec32a9d0205deccf3ebdba", + "status": "completed" + }, + { + "path": "cells/61eb13d099c06c6b4bcd241a933fde4d7dfa6262b4ebc63db7c8a3397454984e.json", + "point_key": "grid=15;tolerance=0.01", + "sha256": "61eb13d099c06c6b4bcd241a933fde4d7dfa6262b4ebc63db7c8a3397454984e", + "status": "completed" + }, + { + "path": "cells/f06ca823705f33b652c1b9559bec9087a3f768441f6b2de7ed2941e1b8648e33.json", + "point_key": "grid=20;tolerance=1", + "sha256": "f06ca823705f33b652c1b9559bec9087a3f768441f6b2de7ed2941e1b8648e33", + "status": "completed" + }, + { + "path": "cells/89be927c433f08cce14eed1f4e7f91841bcbb1f2913e59e4afc4c0794efbe447.json", + "point_key": "grid=20;tolerance=0.1", + "sha256": "89be927c433f08cce14eed1f4e7f91841bcbb1f2913e59e4afc4c0794efbe447", + "status": "completed" + }, + { + "path": "cells/9cb4a7c6f31c31c3adb9312d568eda84fcd9bdd2c3f7ae924347a44b76457ca5.json", + "point_key": "grid=20;tolerance=0.01", + "sha256": "9cb4a7c6f31c31c3adb9312d568eda84fcd9bdd2c3f7ae924347a44b76457ca5", + "status": "completed" + } + ], + "environment_sha256": "197e3085b43d4d83ae9bd5fef2bd7f038a2dda3a888bf16c1a02804ec0cb8c27" + }, + "certificates": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/ElectrothermalTerminalMppV1/47798511b2cd28268f6dc1f9ba1c12693b4cef91b705277fb2b49e8fa1fa9a90/Certificates/8cb1a02d11efc7a5622d6d806a17be8c7ab6df0c4c6b7a40d8b2c1be2031ef7a.json", + "sha256": "f8ea7d293a0abd41d60efefc6133b8add486418c0035d5d127ddbc4d83d62baf", + "role": "historical_certificates" + }, + "declared_content_id": "8cb1a02d11efc7a5622d6d806a17be8c7ab6df0c4c6b7a40d8b2c1be2031ef7a", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "partial", + "declared_lane_id": "ElectrothermalTerminalMppV1", + "source_commit": "4d1273ffd779a61b36b8d54b5c5d019bb2c85fa6", + "source_fingerprint_sha256": "fe486ce0ae199d5d37aad033f830bc60f7868c4c0aabd997ad3ba9ab2d5aa176", + "config_sha256": "20fa8a8097c965330ce7b0d7e8f9286fc1960585231c360841d24ba7a1845668", + "lane_definition_sha256": "5fdfa9c12db550a1ac2a8fb3dbb43ff0dc05f181b0c759c593aa941b2f605afa", + "completed_cells": 9, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": 0, + "artifact_pointers": [], + "environment_sha256": "197e3085b43d4d83ae9bd5fef2bd7f038a2dda3a888bf16c1a02804ec0cb8c27" + } + } + ], + "status": "historical_records_located" + }, + { + "capability_id": "lane-8ecc1df7d72fa132", + "lane": "external-series-shunt-dc-operating-quadrant-v2", + "archive_directory": "results/NumericalRefinement/ExternalSeriesShuntDcOperatingQuadrantV2", + "runs": [ + { + "run_directory": "results/NumericalRefinement/ExternalSeriesShuntDcOperatingQuadrantV2/eb651533c03a91cc41ff4c71a93030e560cabb8276ba56e79451ca6fb7bea52c", + "state": { + "root": "archive", + "path": "results/NumericalRefinement/ExternalSeriesShuntDcOperatingQuadrantV2/eb651533c03a91cc41ff4c71a93030e560cabb8276ba56e79451ca6fb7bea52c/State.json", + "sha256": "84f8cc62ccb16a2224c2ecb8a06e2dea066aa0cfd6ad9a4e643d62a4de6b1bef", + "role": "old_result_state" + }, + "declared_run_id": "eb651533c03a91cc41ff4c71a93030e560cabb8276ba56e79451ca6fb7bea52c", + "binding_status": "located_not_recertified", + "manifests": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/ExternalSeriesShuntDcOperatingQuadrantV2/eb651533c03a91cc41ff4c71a93030e560cabb8276ba56e79451ca6fb7bea52c/Manifests/0fd530d6825f988cad05c9b5e2bb32494b4cc9fff0293c7c292415cd382741b4.json", + "sha256": "2fad0d22afb1d0d77bf2beff6aec21ffe4370b1658850a7aabee3a051baf1fd7", + "role": "historical_manifests" + }, + "declared_content_id": "0fd530d6825f988cad05c9b5e2bb32494b4cc9fff0293c7c292415cd382741b4", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "complete", + "declared_lane_id": "ExternalSeriesShuntDcOperatingQuadrantV2", + "source_commit": "2392ba3f27706b85545b87d57805171ee3b85370", + "source_fingerprint_sha256": "535b997ad01a12aff8eb7e5296a0e4901cb0ca3cb2e055228be3e40e3148f136", + "config_sha256": null, + "lane_definition_sha256": "c4422e5d25ca6a9a90ffbc0b9d48e7c4949211322e0f17cdbb94359e086724aa", + "completed_cells": null, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": null, + "artifact_pointers": [ + { + "path": "cells/eef2e909fc12e660118268ebd6419277b96a51fa07cd42603517684ba3262835.json", + "point_key": "grid=20;tolerance=1", + "sha256": "eef2e909fc12e660118268ebd6419277b96a51fa07cd42603517684ba3262835", + "status": "completed" + }, + { + "path": "cells/e1bdcf2841d97072fdeb1a5fae9b6eb8c9611ed92242761b76425d9d4587b9b2.json", + "point_key": "grid=20;tolerance=0.1", + "sha256": "e1bdcf2841d97072fdeb1a5fae9b6eb8c9611ed92242761b76425d9d4587b9b2", + "status": "completed" + }, + { + "path": "cells/d95a1556a80379cca594392e6cddd4c40af2cfb24842098e0c5437b7e070955d.json", + "point_key": "grid=20;tolerance=0.01", + "sha256": "d95a1556a80379cca594392e6cddd4c40af2cfb24842098e0c5437b7e070955d", + "status": "completed" + }, + { + "path": "cells/58ab9fa9ad643180be1c5b8696d6e6d9591ab412d76d84f42a77d1c68cff5ff0.json", + "point_key": "grid=30;tolerance=1", + "sha256": "58ab9fa9ad643180be1c5b8696d6e6d9591ab412d76d84f42a77d1c68cff5ff0", + "status": "completed" + }, + { + "path": "cells/2e5f3242f612c980325da9457e01b3ddb41d73c0b65ccb1020fbcfc1978fd4f6.json", + "point_key": "grid=30;tolerance=0.1", + "sha256": "2e5f3242f612c980325da9457e01b3ddb41d73c0b65ccb1020fbcfc1978fd4f6", + "status": "completed" + }, + { + "path": "cells/1cd80c7866df080395521996440dbf64dd83a83030f810181006a8d93adb8a04.json", + "point_key": "grid=30;tolerance=0.01", + "sha256": "1cd80c7866df080395521996440dbf64dd83a83030f810181006a8d93adb8a04", + "status": "completed" + }, + { + "path": "cells/e60569c35a34fe7a70c1e34588ea23f00ff8666b8e7af576ea8b779dfbeb6a7f.json", + "point_key": "grid=40;tolerance=1", + "sha256": "e60569c35a34fe7a70c1e34588ea23f00ff8666b8e7af576ea8b779dfbeb6a7f", + "status": "completed" + }, + { + "path": "cells/5292c487e04c68a317ad25436001b2f9ad990d94f997bc48400c58dd3c2b00b3.json", + "point_key": "grid=40;tolerance=0.1", + "sha256": "5292c487e04c68a317ad25436001b2f9ad990d94f997bc48400c58dd3c2b00b3", + "status": "completed" + }, + { + "path": "cells/01aa86e6a0cad6f4124ed3486df6b02d7472608796421bbd21a8c792d48a8f56.json", + "point_key": "grid=40;tolerance=0.01", + "sha256": "01aa86e6a0cad6f4124ed3486df6b02d7472608796421bbd21a8c792d48a8f56", + "status": "completed" + } + ], + "environment_sha256": "197e3085b43d4d83ae9bd5fef2bd7f038a2dda3a888bf16c1a02804ec0cb8c27" + }, + "certificates": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/ExternalSeriesShuntDcOperatingQuadrantV2/eb651533c03a91cc41ff4c71a93030e560cabb8276ba56e79451ca6fb7bea52c/Certificates/a9f6d63a229ec613594d78d73a2ac94e6d0aea756c10e960948dc31123e1bf26.json", + "sha256": "7cfadbf85c5f2ccb63f75b3fad7b0f767b339552653ef7c7a6cd67c25f1fc99e", + "role": "historical_certificates" + }, + "declared_content_id": "a9f6d63a229ec613594d78d73a2ac94e6d0aea756c10e960948dc31123e1bf26", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "certified", + "declared_lane_id": "ExternalSeriesShuntDcOperatingQuadrantV2", + "source_commit": "2392ba3f27706b85545b87d57805171ee3b85370", + "source_fingerprint_sha256": "535b997ad01a12aff8eb7e5296a0e4901cb0ca3cb2e055228be3e40e3148f136", + "config_sha256": "20fa8a8097c965330ce7b0d7e8f9286fc1960585231c360841d24ba7a1845668", + "lane_definition_sha256": "c4422e5d25ca6a9a90ffbc0b9d48e7c4949211322e0f17cdbb94359e086724aa", + "completed_cells": 9, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": 0, + "artifact_pointers": [], + "environment_sha256": "197e3085b43d4d83ae9bd5fef2bd7f038a2dda3a888bf16c1a02804ec0cb8c27" + } + } + ], + "status": "historical_records_located" + }, + { + "capability_id": "lane-c8c8e3698ef7d8d7", + "lane": "external-series-shunt-dc-v1", + "archive_directory": "results/NumericalRefinement/ExternalSeriesShuntDcV1", + "runs": [ + { + "run_directory": "results/NumericalRefinement/ExternalSeriesShuntDcV1/1afbcc614039055ed89193b94c57e274e49bce688c63ae2407f00594273ef9be", + "state": { + "root": "archive", + "path": "results/NumericalRefinement/ExternalSeriesShuntDcV1/1afbcc614039055ed89193b94c57e274e49bce688c63ae2407f00594273ef9be/State.json", + "sha256": "9b9bab92549651c6cb423bee3424cb3372ec72380dae761e3044e7db6de659ab", + "role": "old_result_state" + }, + "declared_run_id": "1afbcc614039055ed89193b94c57e274e49bce688c63ae2407f00594273ef9be", + "binding_status": "located_not_recertified", + "manifests": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/ExternalSeriesShuntDcV1/1afbcc614039055ed89193b94c57e274e49bce688c63ae2407f00594273ef9be/Manifests/cb0226f9acaef8d6890238ecf2ebfbf45c040b9db434cf52158fa98249828ce3.json", + "sha256": "9347484bade11bd20e62935c41d8b4d1c6a5f94384e81ef3da4512cb089cbc5f", + "role": "historical_manifests" + }, + "declared_content_id": "cb0226f9acaef8d6890238ecf2ebfbf45c040b9db434cf52158fa98249828ce3", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "complete", + "declared_lane_id": "ExternalSeriesShuntDcV1", + "source_commit": "301291bbcf569fa7f32cdcaee7533aa578ff5e41", + "source_fingerprint_sha256": "b61a5078ea51e5dfd7296c10af7d2e58017a79ee03a9df8000112e656281cfc1", + "config_sha256": null, + "lane_definition_sha256": "51ee5d584b98e629cea8989a896faef3a76a387d2e58e56f4c50465d7182a6c4", + "completed_cells": null, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": null, + "artifact_pointers": [ + { + "path": "cells/5800de5f1fee30324ca044ff5a7d84487e06fd979ef6e963d592cba3988cdde9.json", + "point_key": "grid=20;tolerance=1", + "sha256": "5800de5f1fee30324ca044ff5a7d84487e06fd979ef6e963d592cba3988cdde9", + "status": "completed" + }, + { + "path": "cells/c7660fed2f5c9f35ecdd42e4b4cb0cd9a6d2ab3f298ae4dcf9142f474fa4ddc7.json", + "point_key": "grid=20;tolerance=0.1", + "sha256": "c7660fed2f5c9f35ecdd42e4b4cb0cd9a6d2ab3f298ae4dcf9142f474fa4ddc7", + "status": "completed" + }, + { + "path": "cells/c48b73a805944a367d355d7b5a23a14b28a53cef2562a2aa3b8e2480f523b821.json", + "point_key": "grid=20;tolerance=0.01", + "sha256": "c48b73a805944a367d355d7b5a23a14b28a53cef2562a2aa3b8e2480f523b821", + "status": "completed" + }, + { + "path": "cells/32b6623088a8ed3e5e6fa0916c8efbf03447876e7ca9e4bbd13614156ab63726.json", + "point_key": "grid=30;tolerance=1", + "sha256": "32b6623088a8ed3e5e6fa0916c8efbf03447876e7ca9e4bbd13614156ab63726", + "status": "completed" + }, + { + "path": "cells/11f0f7ec88610bc519da670cc7006b515892fbb0dbc3f8fd76033e57f3201457.json", + "point_key": "grid=30;tolerance=0.1", + "sha256": "11f0f7ec88610bc519da670cc7006b515892fbb0dbc3f8fd76033e57f3201457", + "status": "completed" + }, + { + "path": "cells/6e5d5ded93aa6f1105471ac7407cdf79e5f729435c0eecdfd9d6cfdfd9c378ca.json", + "point_key": "grid=30;tolerance=0.01", + "sha256": "6e5d5ded93aa6f1105471ac7407cdf79e5f729435c0eecdfd9d6cfdfd9c378ca", + "status": "completed" + }, + { + "path": "cells/62f90a383047bfef1ee1ab44f3f99bba800d68e5c534a873393fda922d577a31.json", + "point_key": "grid=40;tolerance=1", + "sha256": "62f90a383047bfef1ee1ab44f3f99bba800d68e5c534a873393fda922d577a31", + "status": "completed" + }, + { + "path": "cells/b8a0113b905d8c0c4726ee802fb63c56c763efacfb1d14d570707443d57057fc.json", + "point_key": "grid=40;tolerance=0.1", + "sha256": "b8a0113b905d8c0c4726ee802fb63c56c763efacfb1d14d570707443d57057fc", + "status": "completed" + }, + { + "path": "cells/2f18dc2029316ff6c34bfa47c874f8d3b528fab8d90f22e80cd639720806add9.json", + "point_key": "grid=40;tolerance=0.01", + "sha256": "2f18dc2029316ff6c34bfa47c874f8d3b528fab8d90f22e80cd639720806add9", + "status": "completed" + } + ], + "environment_sha256": "197e3085b43d4d83ae9bd5fef2bd7f038a2dda3a888bf16c1a02804ec0cb8c27" + }, + "certificates": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/ExternalSeriesShuntDcV1/1afbcc614039055ed89193b94c57e274e49bce688c63ae2407f00594273ef9be/Certificates/3eb975c938cd8bae2d022a37a4f6d2732a149d4dd63bb62ae7f4e0042ab5dc70.json", + "sha256": "678e00fc24e7d8ecc25b61168d6fe36ce386cd1df8d69180409c11e6e457dc9c", + "role": "historical_certificates" + }, + "declared_content_id": "3eb975c938cd8bae2d022a37a4f6d2732a149d4dd63bb62ae7f4e0042ab5dc70", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "partial", + "declared_lane_id": "ExternalSeriesShuntDcV1", + "source_commit": "301291bbcf569fa7f32cdcaee7533aa578ff5e41", + "source_fingerprint_sha256": "b61a5078ea51e5dfd7296c10af7d2e58017a79ee03a9df8000112e656281cfc1", + "config_sha256": "20fa8a8097c965330ce7b0d7e8f9286fc1960585231c360841d24ba7a1845668", + "lane_definition_sha256": "51ee5d584b98e629cea8989a896faef3a76a387d2e58e56f4c50465d7182a6c4", + "completed_cells": 9, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": 0, + "artifact_pointers": [], + "environment_sha256": "197e3085b43d4d83ae9bd5fef2bd7f038a2dda3a888bf16c1a02804ec0cb8c27" + } + } + ], + "status": "historical_records_located" + }, + { + "capability_id": "lane-db3616410333cfd2", + "lane": "foundation-physical-homojunction-resolved-v2", + "archive_directory": null, + "runs": [], + "status": "historical_result_not_available_in_registered_archive_root" + }, + { + "capability_id": "lane-1bbf89ccef7a7815", + "lane": "foundation-physical-homojunction-steady-v1", + "archive_directory": null, + "runs": [], + "status": "historical_result_not_available_in_registered_archive_root" + }, + { + "capability_id": "lane-42bf2b940134e62c", + "lane": "incomplete-ionization-bgn-temperature-equilibrium-v1", + "archive_directory": "results/NumericalRefinement/IncompleteIonizationBgnTemperatureEquilibriumV1", + "runs": [ + { + "run_directory": "results/NumericalRefinement/IncompleteIonizationBgnTemperatureEquilibriumV1/bc654a0c76f2d13cdbf64256160fc22b8c7079388aa4babd76998e866e3c3557", + "state": { + "root": "archive", + "path": "results/NumericalRefinement/IncompleteIonizationBgnTemperatureEquilibriumV1/bc654a0c76f2d13cdbf64256160fc22b8c7079388aa4babd76998e866e3c3557/State.json", + "sha256": "2c2158765eebb0b83a45e9889839211430e3baf3ded48eb0e4365ee88e2f4f64", + "role": "old_result_state" + }, + "declared_run_id": "bc654a0c76f2d13cdbf64256160fc22b8c7079388aa4babd76998e866e3c3557", + "binding_status": "located_not_recertified", + "manifests": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/IncompleteIonizationBgnTemperatureEquilibriumV1/bc654a0c76f2d13cdbf64256160fc22b8c7079388aa4babd76998e866e3c3557/Manifests/734687952a587309ebf90670182cb56ea681663a1113be98751e3eb61a30ef3d.json", + "sha256": "3f4f4594362d5c697538f7741ae799556dd27b3d68766f72fa0038f2ec6f0ac6", + "role": "historical_manifests" + }, + "declared_content_id": "734687952a587309ebf90670182cb56ea681663a1113be98751e3eb61a30ef3d", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "complete", + "declared_lane_id": "IncompleteIonizationBgnTemperatureEquilibriumV1", + "source_commit": "d34ef7f9f6751bf811348de87206899731b29125", + "source_fingerprint_sha256": "aa83153c6e0d0e8b866bbab3ecf31347b46748c43e85ce8b720824e0454785c0", + "config_sha256": null, + "lane_definition_sha256": "e9ea3891119540c4da889ba17fef3fef4e402016f6a65be29f39771f8b1d5cbd", + "completed_cells": null, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": null, + "artifact_pointers": [ + { + "path": "cells/19c99ade47eecbec83c413bc351ce10270cba2839f3e4dd1daefc01a20c6d612.json", + "point_key": "grid=40;tolerance=1", + "sha256": "19c99ade47eecbec83c413bc351ce10270cba2839f3e4dd1daefc01a20c6d612", + "status": "completed" + }, + { + "path": "cells/31b3366dfff7371b071c6f82972c8855dc9beabff63903f2486f8b7edc8cce78.json", + "point_key": "grid=40;tolerance=0.1", + "sha256": "31b3366dfff7371b071c6f82972c8855dc9beabff63903f2486f8b7edc8cce78", + "status": "completed" + }, + { + "path": "cells/99228738b0fcbaa5e1edac35258e9ce2bc097a5062286ec63445ffc6eafd8dc5.json", + "point_key": "grid=40;tolerance=0.01", + "sha256": "99228738b0fcbaa5e1edac35258e9ce2bc097a5062286ec63445ffc6eafd8dc5", + "status": "completed" + }, + { + "path": "cells/8a0415e12a8939e5bf68f6bcfecd0bc181d79994d58b269fcfd276fd7d499b89.json", + "point_key": "grid=80;tolerance=1", + "sha256": "8a0415e12a8939e5bf68f6bcfecd0bc181d79994d58b269fcfd276fd7d499b89", + "status": "completed" + }, + { + "path": "cells/33d0927a0c85bec37a8dbc611838647964f01b1f855477707d306ab54cdd570e.json", + "point_key": "grid=80;tolerance=0.1", + "sha256": "33d0927a0c85bec37a8dbc611838647964f01b1f855477707d306ab54cdd570e", + "status": "completed" + }, + { + "path": "cells/0f7aa92676981191a3aada58b585df24707acb05181d8db49c385791c1a64207.json", + "point_key": "grid=80;tolerance=0.01", + "sha256": "0f7aa92676981191a3aada58b585df24707acb05181d8db49c385791c1a64207", + "status": "completed" + }, + { + "path": "cells/299bcf4a7c2c7d2e1e236bdc01ca481f5cff27f64b0f2d4aad2f9d0388d829d8.json", + "point_key": "grid=160;tolerance=1", + "sha256": "299bcf4a7c2c7d2e1e236bdc01ca481f5cff27f64b0f2d4aad2f9d0388d829d8", + "status": "completed" + }, + { + "path": "cells/3256230ac30d9ebae4c6badcd771532159daddb21f5da5edca7327da1e94daaa.json", + "point_key": "grid=160;tolerance=0.1", + "sha256": "3256230ac30d9ebae4c6badcd771532159daddb21f5da5edca7327da1e94daaa", + "status": "completed" + }, + { + "path": "cells/7416be61d4a081e239fc41de26de761a099e2e8b1ba5142e391494e0a3505d74.json", + "point_key": "grid=160;tolerance=0.01", + "sha256": "7416be61d4a081e239fc41de26de761a099e2e8b1ba5142e391494e0a3505d74", + "status": "completed" + } + ], + "environment_sha256": "197e3085b43d4d83ae9bd5fef2bd7f038a2dda3a888bf16c1a02804ec0cb8c27" + }, + "certificates": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/IncompleteIonizationBgnTemperatureEquilibriumV1/bc654a0c76f2d13cdbf64256160fc22b8c7079388aa4babd76998e866e3c3557/Certificates/bc1285a3ef9d42e1e6346aedad33ad3871b5597a7b409f4ea002bf029f024ce6.json", + "sha256": "cc9ed4f52338329c673533c6482902974dd8ce47039dd987a6a7ef1acbbd3cf2", + "role": "historical_certificates" + }, + "declared_content_id": "bc1285a3ef9d42e1e6346aedad33ad3871b5597a7b409f4ea002bf029f024ce6", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "certified", + "declared_lane_id": "IncompleteIonizationBgnTemperatureEquilibriumV1", + "source_commit": "d34ef7f9f6751bf811348de87206899731b29125", + "source_fingerprint_sha256": "aa83153c6e0d0e8b866bbab3ecf31347b46748c43e85ce8b720824e0454785c0", + "config_sha256": "2fb63bd79a0f0917083d887e80301712d65b9ca46ace02bedb9cb5c5336e789b", + "lane_definition_sha256": "e9ea3891119540c4da889ba17fef3fef4e402016f6a65be29f39771f8b1d5cbd", + "completed_cells": 9, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": 0, + "artifact_pointers": [], + "environment_sha256": "197e3085b43d4d83ae9bd5fef2bd7f038a2dda3a888bf16c1a02804ec0cb8c27" + } + } + ], + "status": "historical_records_located" + }, + { + "capability_id": "lane-b0877f36f5bf04e5", + "lane": "incomplete-ionization-temperature-equilibrium-v1", + "archive_directory": "results/NumericalRefinement/IncompleteIonizationTemperatureEquilibriumV1", + "runs": [ + { + "run_directory": "results/NumericalRefinement/IncompleteIonizationTemperatureEquilibriumV1/ad690a7e5398a6e3829f7f04d470a59fe20144e5c863a896f681a87fa3ac8008", + "state": { + "root": "archive", + "path": "results/NumericalRefinement/IncompleteIonizationTemperatureEquilibriumV1/ad690a7e5398a6e3829f7f04d470a59fe20144e5c863a896f681a87fa3ac8008/State.json", + "sha256": "9d8e71aa996e6a697ac07fce428a6c081c4e7da6acd58fa97da210f308420c92", + "role": "old_result_state" + }, + "declared_run_id": "ad690a7e5398a6e3829f7f04d470a59fe20144e5c863a896f681a87fa3ac8008", + "binding_status": "located_not_recertified", + "manifests": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/IncompleteIonizationTemperatureEquilibriumV1/ad690a7e5398a6e3829f7f04d470a59fe20144e5c863a896f681a87fa3ac8008/Manifests/79bfed265019979d433268a5db662cc564f437b9b4bd71aaf7637db927a4f065.json", + "sha256": "a581cd7aacfc10c27b27f37abedbd376dbb8e2e5e1e29afb92661d80a6ce8265", + "role": "historical_manifests" + }, + "declared_content_id": "79bfed265019979d433268a5db662cc564f437b9b4bd71aaf7637db927a4f065", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "complete", + "declared_lane_id": "IncompleteIonizationTemperatureEquilibriumV1", + "source_commit": "1090354f00a8b607d363cbf837db699e558ad62e", + "source_fingerprint_sha256": "56ed80a077c1eb9fee08b2934689fa36f85899cb9ea242f40c11290b441fcc4b", + "config_sha256": null, + "lane_definition_sha256": "5734923c13a5cf30980c3d0ddc641dd183a329e33f8a1afb57e90aa9fd994ee4", + "completed_cells": null, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": null, + "artifact_pointers": [ + { + "path": "cells/29f89522876f751df40816943bfb9b07756310fe3b0e13fc4e8c252673ff974d.json", + "point_key": "grid=40;tolerance=1", + "sha256": "29f89522876f751df40816943bfb9b07756310fe3b0e13fc4e8c252673ff974d", + "status": "completed" + }, + { + "path": "cells/cb58d66a0ed5c45d62e6f734153a0e158448d7bc64b3c4154edd2ff98523fae0.json", + "point_key": "grid=40;tolerance=0.1", + "sha256": "cb58d66a0ed5c45d62e6f734153a0e158448d7bc64b3c4154edd2ff98523fae0", + "status": "completed" + }, + { + "path": "cells/df2a560dce1feffffe13af27deb69301a48f8e078bf0971e9fc496aa9f7cd122.json", + "point_key": "grid=40;tolerance=0.01", + "sha256": "df2a560dce1feffffe13af27deb69301a48f8e078bf0971e9fc496aa9f7cd122", + "status": "completed" + }, + { + "path": "cells/259e1cb949494c41f9f6d921163fe4b7059353d4caa3907c6ea923c3d4ab8fcd.json", + "point_key": "grid=80;tolerance=1", + "sha256": "259e1cb949494c41f9f6d921163fe4b7059353d4caa3907c6ea923c3d4ab8fcd", + "status": "completed" + }, + { + "path": "cells/92513e204dadf9e63a0355eef29bd2a7d6c914da6612120ad9e3485e97ace169.json", + "point_key": "grid=80;tolerance=0.1", + "sha256": "92513e204dadf9e63a0355eef29bd2a7d6c914da6612120ad9e3485e97ace169", + "status": "completed" + }, + { + "path": "cells/93f355dda5338c9609ca9df78c87d3c51c4744604afd38126390e00b0468e39f.json", + "point_key": "grid=80;tolerance=0.01", + "sha256": "93f355dda5338c9609ca9df78c87d3c51c4744604afd38126390e00b0468e39f", + "status": "completed" + }, + { + "path": "cells/0eb6ec3c5304894271db53228e947acbd849b0c20ab61da85e7ef704764bba69.json", + "point_key": "grid=160;tolerance=1", + "sha256": "0eb6ec3c5304894271db53228e947acbd849b0c20ab61da85e7ef704764bba69", + "status": "completed" + }, + { + "path": "cells/dc91e475c1000c29b1b810b49a0620b991f88b65c8fef7d7296d6d6a1a894add.json", + "point_key": "grid=160;tolerance=0.1", + "sha256": "dc91e475c1000c29b1b810b49a0620b991f88b65c8fef7d7296d6d6a1a894add", + "status": "completed" + }, + { + "path": "cells/7adad684371bd8eef31e27220ec3102802a64cafbacbd2530e56a33d32010750.json", + "point_key": "grid=160;tolerance=0.01", + "sha256": "7adad684371bd8eef31e27220ec3102802a64cafbacbd2530e56a33d32010750", + "status": "completed" + } + ], + "environment_sha256": "197e3085b43d4d83ae9bd5fef2bd7f038a2dda3a888bf16c1a02804ec0cb8c27" + }, + "certificates": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/IncompleteIonizationTemperatureEquilibriumV1/ad690a7e5398a6e3829f7f04d470a59fe20144e5c863a896f681a87fa3ac8008/Certificates/902ae0f91b77cf7403349d4d54553c2d43c3c774b1f2a62530e2a27c9fbc0254.json", + "sha256": "94ead3649fd1d16a53ecac44abe1e67dea71008ee8fc52171913f132696cb3f6", + "role": "historical_certificates" + }, + "declared_content_id": "902ae0f91b77cf7403349d4d54553c2d43c3c774b1f2a62530e2a27c9fbc0254", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "certified", + "declared_lane_id": "IncompleteIonizationTemperatureEquilibriumV1", + "source_commit": "1090354f00a8b607d363cbf837db699e558ad62e", + "source_fingerprint_sha256": "56ed80a077c1eb9fee08b2934689fa36f85899cb9ea242f40c11290b441fcc4b", + "config_sha256": "d98b07049abfb17f44404eac91557338dad3a16341b6350d291d940c258abc72", + "lane_definition_sha256": "5734923c13a5cf30980c3d0ddc641dd183a329e33f8a1afb57e90aa9fd994ee4", + "completed_cells": 9, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": 0, + "artifact_pointers": [], + "environment_sha256": "197e3085b43d4d83ae9bd5fef2bd7f038a2dda3a888bf16c1a02804ec0cb8c27" + } + } + ], + "status": "historical_records_located" + }, + { + "capability_id": "lane-f3d0d1307884e5e8", + "lane": "interface-charge-device-stress-resolved-v2", + "archive_directory": "results/NumericalRefinement/InterfaceChargeDeviceStressResolvedV2", + "runs": [ + { + "run_directory": "results/NumericalRefinement/InterfaceChargeDeviceStressResolvedV2/30b146b7f95934fd4353890916d8318f8847e3bb8cb7f556f61afa02223a7b55", + "state": { + "root": "archive", + "path": "results/NumericalRefinement/InterfaceChargeDeviceStressResolvedV2/30b146b7f95934fd4353890916d8318f8847e3bb8cb7f556f61afa02223a7b55/State.json", + "sha256": "f32964bd5344dadfd8fc4f758a3cd2c907ca94c3ace443df189d4a55761c4779", + "role": "old_result_state" + }, + "declared_run_id": "30b146b7f95934fd4353890916d8318f8847e3bb8cb7f556f61afa02223a7b55", + "binding_status": "located_not_recertified", + "manifests": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/InterfaceChargeDeviceStressResolvedV2/30b146b7f95934fd4353890916d8318f8847e3bb8cb7f556f61afa02223a7b55/Manifests/4d932bf29ab1df3e0a32e30c2280628090b8484fc27887ed3cf3fa692db1e617.json", + "sha256": "e8cf1021335110e9f291e2003889a09421af8af754f3a4dac706e4fdbc7973eb", + "role": "historical_manifests" + }, + "declared_content_id": "4d932bf29ab1df3e0a32e30c2280628090b8484fc27887ed3cf3fa692db1e617", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "complete", + "declared_lane_id": "InterfaceChargeDeviceStressResolvedV2", + "source_commit": "a3c6b301cc509a15dd204357da066c0828917eac", + "source_fingerprint_sha256": "d39f6ffcc4dfbd149e935161b39320a852cad2d01d3272a016efc53c49eff154", + "config_sha256": null, + "lane_definition_sha256": "3de004a64a37dbd79fd4421a16fdc4f2b1cc3f81dad68112024cb8d4e1b4c6bf", + "completed_cells": null, + "expected_cells_count": 6, + "failed_cells_count": 0, + "missing_cells_count": null, + "artifact_pointers": [ + { + "path": "cells/01326a0b3507ced2d6c789b068cff8758418c529350461a1ce3f45956992b705.json", + "point_key": "grid=30;tolerance=1", + "sha256": "01326a0b3507ced2d6c789b068cff8758418c529350461a1ce3f45956992b705", + "status": "completed" + }, + { + "path": "cells/84a243c68a93f37c03fba6db66d37d1e33d1dd9276de3ed4d1b3c63b66a1423c.json", + "point_key": "grid=30;tolerance=0.5", + "sha256": "84a243c68a93f37c03fba6db66d37d1e33d1dd9276de3ed4d1b3c63b66a1423c", + "status": "completed" + }, + { + "path": "cells/ea3f96975ffe1fd596d3607681439f680277335ec6d6039317b4c06b3c63e426.json", + "point_key": "grid=60;tolerance=1", + "sha256": "ea3f96975ffe1fd596d3607681439f680277335ec6d6039317b4c06b3c63e426", + "status": "completed" + }, + { + "path": "cells/41a131ad4fa3e908e8edcb0ba903aef8cc2e709c4628258db06d9ab99a74b5b5.json", + "point_key": "grid=60;tolerance=0.5", + "sha256": "41a131ad4fa3e908e8edcb0ba903aef8cc2e709c4628258db06d9ab99a74b5b5", + "status": "completed" + }, + { + "path": "cells/103891f7468f960d58f1deeb353010a1346b98c8ef7ed3dbb540ef8b84349ce6.json", + "point_key": "grid=90;tolerance=1", + "sha256": "103891f7468f960d58f1deeb353010a1346b98c8ef7ed3dbb540ef8b84349ce6", + "status": "completed" + }, + { + "path": "cells/d124d41871871fcb4e9171029e25e733d85eaf12eb5e05c87fa04e16c070606f.json", + "point_key": "grid=90;tolerance=0.5", + "sha256": "d124d41871871fcb4e9171029e25e733d85eaf12eb5e05c87fa04e16c070606f", + "status": "completed" + } + ], + "environment_sha256": "197e3085b43d4d83ae9bd5fef2bd7f038a2dda3a888bf16c1a02804ec0cb8c27" + }, + "certificates": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/InterfaceChargeDeviceStressResolvedV2/30b146b7f95934fd4353890916d8318f8847e3bb8cb7f556f61afa02223a7b55/Certificates/f6e214307fe73fbc9d866d5e2537658cdb563134df78a419ecb6f4f873bd0844.json", + "sha256": "1e7e952675f9812c913018e849ea5c40c813cd11c2ec2475725cdf43584e057c", + "role": "historical_certificates" + }, + "declared_content_id": "f6e214307fe73fbc9d866d5e2537658cdb563134df78a419ecb6f4f873bd0844", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "certified", + "declared_lane_id": "InterfaceChargeDeviceStressResolvedV2", + "source_commit": "a3c6b301cc509a15dd204357da066c0828917eac", + "source_fingerprint_sha256": "d39f6ffcc4dfbd149e935161b39320a852cad2d01d3272a016efc53c49eff154", + "config_sha256": "523449448807e4993f999300308096003c3eeaf280924b7af208915a3cf41a54", + "lane_definition_sha256": "3de004a64a37dbd79fd4421a16fdc4f2b1cc3f81dad68112024cb8d4e1b4c6bf", + "completed_cells": 6, + "expected_cells_count": 6, + "failed_cells_count": 0, + "missing_cells_count": 0, + "artifact_pointers": [], + "environment_sha256": "197e3085b43d4d83ae9bd5fef2bd7f038a2dda3a888bf16c1a02804ec0cb8c27" + } + }, + { + "run_directory": "results/NumericalRefinement/InterfaceChargeDeviceStressResolvedV2/7117be9c0f27f38260cfe0a5396014e8c6f7ca8a5992d9c756f1569310182130", + "state": { + "root": "archive", + "path": "results/NumericalRefinement/InterfaceChargeDeviceStressResolvedV2/7117be9c0f27f38260cfe0a5396014e8c6f7ca8a5992d9c756f1569310182130/State.json", + "sha256": "461ab692e1671c69fca976a583ab3efdee047eda4f70b7ee95995a47cd6d52d8", + "role": "old_result_state" + }, + "declared_run_id": "7117be9c0f27f38260cfe0a5396014e8c6f7ca8a5992d9c756f1569310182130", + "binding_status": "located_not_recertified", + "manifests": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/InterfaceChargeDeviceStressResolvedV2/7117be9c0f27f38260cfe0a5396014e8c6f7ca8a5992d9c756f1569310182130/Manifests/fed903cfdb5dea2de9fcee8c32c7dd6ab02b3dfb3c997a3826454c6c9053e0d2.json", + "sha256": "efb5a97a42bb56a705f57de880c331b077657b99d95b1f956f28e941ed097547", + "role": "historical_manifests" + }, + "declared_content_id": "fed903cfdb5dea2de9fcee8c32c7dd6ab02b3dfb3c997a3826454c6c9053e0d2", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "complete_with_failures", + "declared_lane_id": "InterfaceChargeDeviceStressResolvedV2", + "source_commit": "a69acebd52cb8f8a920f495544e8aa8d124b8675", + "source_fingerprint_sha256": "f19257b1ebd3923e0d8ab9c8510864e7191673534336eb7901543377a8c0ea85", + "config_sha256": null, + "lane_definition_sha256": "5a32f2dd69adf4e5dfbe68b198d4c07bef8173a8883266decf6faa3f110d0705", + "completed_cells": null, + "expected_cells_count": 6, + "failed_cells_count": 1, + "missing_cells_count": null, + "artifact_pointers": [ + { + "path": "cells/359442127e2393bf32d09c69e6a31884d7f5417056caa64f7dadfa73fac41d7a.json", + "point_key": "grid=30;tolerance=1", + "sha256": "359442127e2393bf32d09c69e6a31884d7f5417056caa64f7dadfa73fac41d7a", + "status": "completed" + }, + { + "path": "cells/3bf7aecb5538b766a6395bf6d47c4ff5f5b02a2af63ffc03425597f820583604.json", + "point_key": "grid=30;tolerance=0.5", + "sha256": "3bf7aecb5538b766a6395bf6d47c4ff5f5b02a2af63ffc03425597f820583604", + "status": "completed" + }, + { + "path": "cells/544e76e948919aa5f2ec25ffff61dd73b3ceee57282c126eb44cbc4735969cb9.json", + "point_key": "grid=60;tolerance=1", + "sha256": "544e76e948919aa5f2ec25ffff61dd73b3ceee57282c126eb44cbc4735969cb9", + "status": "completed" + }, + { + "path": "cells/8c8cbba0ef67dd00529446ff5b5eff1f87df5a69902def689b30a61160b566e0.json", + "point_key": "grid=60;tolerance=0.5", + "sha256": "8c8cbba0ef67dd00529446ff5b5eff1f87df5a69902def689b30a61160b566e0", + "status": "completed" + }, + { + "path": "cells/16d4370cf42c7de9d84d14dfa5e9b53d1870e1f0684e8b12963b8de5e2558270.json", + "point_key": "grid=90;tolerance=1", + "sha256": "16d4370cf42c7de9d84d14dfa5e9b53d1870e1f0684e8b12963b8de5e2558270", + "status": "failed" + }, + { + "path": "cells/ce48d20e97f21ef9769b59b193b8eaa0aa25edb20433ae87af5edf3c89518080.json", + "point_key": "grid=90;tolerance=0.5", + "sha256": "ce48d20e97f21ef9769b59b193b8eaa0aa25edb20433ae87af5edf3c89518080", + "status": "completed" + } + ], + "environment_sha256": "8a9cacccab628ed7690dc2b3e0f1bf707d74223a6962feeda2bd6a7c041a141e" + }, + "certificates": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/InterfaceChargeDeviceStressResolvedV2/7117be9c0f27f38260cfe0a5396014e8c6f7ca8a5992d9c756f1569310182130/Certificates/b7cb3c6969f8f54756ae19928a85c806d413b79c272c613b23bd0d2e255514b8.json", + "sha256": "c2ec91b04e4231832089b0b4091be8dcfb4b8eba4846d1ee9ed7306daca3e70d", + "role": "historical_certificates" + }, + "declared_content_id": "b7cb3c6969f8f54756ae19928a85c806d413b79c272c613b23bd0d2e255514b8", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "failed", + "declared_lane_id": "InterfaceChargeDeviceStressResolvedV2", + "source_commit": "a69acebd52cb8f8a920f495544e8aa8d124b8675", + "source_fingerprint_sha256": "f19257b1ebd3923e0d8ab9c8510864e7191673534336eb7901543377a8c0ea85", + "config_sha256": "523449448807e4993f999300308096003c3eeaf280924b7af208915a3cf41a54", + "lane_definition_sha256": "5a32f2dd69adf4e5dfbe68b198d4c07bef8173a8883266decf6faa3f110d0705", + "completed_cells": 5, + "expected_cells_count": 6, + "failed_cells_count": 1, + "missing_cells_count": 0, + "artifact_pointers": [], + "environment_sha256": "8a9cacccab628ed7690dc2b3e0f1bf707d74223a6962feeda2bd6a7c041a141e" + } + }, + { + "run_directory": "results/NumericalRefinement/InterfaceChargeDeviceStressResolvedV2/ee9e397a6d04272075cc8e691d272fba74fcbc17205a68b2c60aa7115722f186", + "state": { + "root": "archive", + "path": "results/NumericalRefinement/InterfaceChargeDeviceStressResolvedV2/ee9e397a6d04272075cc8e691d272fba74fcbc17205a68b2c60aa7115722f186/State.json", + "sha256": "2b97bd5eb51768ca1dcddb7aae9f824e41be745172a073045170c78656849fbf", + "role": "old_result_state" + }, + "declared_run_id": "ee9e397a6d04272075cc8e691d272fba74fcbc17205a68b2c60aa7115722f186", + "binding_status": "located_not_recertified", + "manifests": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/InterfaceChargeDeviceStressResolvedV2/ee9e397a6d04272075cc8e691d272fba74fcbc17205a68b2c60aa7115722f186/Manifests/c5c2132cb3f5a702bafbbe171f7b6e90ad7a8f6f71674cd73f7f1753eaa8e1d8.json", + "sha256": "eb43b5b71060301a22f671c57e9a2be69163e266bf8f0694da4783c6d9dca41a", + "role": "historical_manifests" + }, + "declared_content_id": "c5c2132cb3f5a702bafbbe171f7b6e90ad7a8f6f71674cd73f7f1753eaa8e1d8", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "complete_with_failures", + "declared_lane_id": "InterfaceChargeDeviceStressResolvedV2", + "source_commit": "f9fe39f4c21960927ff64a4b5796f669f70cbc63", + "source_fingerprint_sha256": "5225efa9bb0dd59707492f0c9be0983432273cef595da8ed982a68defa0e8b6d", + "config_sha256": null, + "lane_definition_sha256": "f52b7aa085a6816f63781c526e88d99462ad2406a7224954b6460418fb378447", + "completed_cells": null, + "expected_cells_count": 6, + "failed_cells_count": 1, + "missing_cells_count": null, + "artifact_pointers": [ + { + "path": "cells/09782831aa0418a7c07c410e8b3584b0e9f01d298a81f3664ab7ccc70b2bec7f.json", + "point_key": "grid=30;tolerance=1", + "sha256": "09782831aa0418a7c07c410e8b3584b0e9f01d298a81f3664ab7ccc70b2bec7f", + "status": "completed" + }, + { + "path": "cells/d996a3c09e12809bf966847d697a3663ee3f65718cb158ea54dd4e34e4776afe.json", + "point_key": "grid=30;tolerance=0.5", + "sha256": "d996a3c09e12809bf966847d697a3663ee3f65718cb158ea54dd4e34e4776afe", + "status": "completed" + }, + { + "path": "cells/af221a04ea261fcc1b868f95ef88f2c5fd4cc808fd68601ec284d0fa1886e133.json", + "point_key": "grid=60;tolerance=1", + "sha256": "af221a04ea261fcc1b868f95ef88f2c5fd4cc808fd68601ec284d0fa1886e133", + "status": "completed" + }, + { + "path": "cells/7eeae7dccbb8d5ff2f8443bbaac941fd159c7a7e45d44f7f4e01ef1169b5ccf5.json", + "point_key": "grid=60;tolerance=0.5", + "sha256": "7eeae7dccbb8d5ff2f8443bbaac941fd159c7a7e45d44f7f4e01ef1169b5ccf5", + "status": "failed" + }, + { + "path": "cells/7ddbd7246712447d9aacc73226336553c9473629124bd8aaeb2d2c54c6fe2abe.json", + "point_key": "grid=90;tolerance=1", + "sha256": "7ddbd7246712447d9aacc73226336553c9473629124bd8aaeb2d2c54c6fe2abe", + "status": "completed" + }, + { + "path": "cells/24bcb4dafb39ffbfbf7f8a86616a112a6b3e4ac23a448920634124bc9fcfdc39.json", + "point_key": "grid=90;tolerance=0.5", + "sha256": "24bcb4dafb39ffbfbf7f8a86616a112a6b3e4ac23a448920634124bc9fcfdc39", + "status": "completed" + } + ], + "environment_sha256": "8a9cacccab628ed7690dc2b3e0f1bf707d74223a6962feeda2bd6a7c041a141e" + }, + "certificates": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/InterfaceChargeDeviceStressResolvedV2/ee9e397a6d04272075cc8e691d272fba74fcbc17205a68b2c60aa7115722f186/Certificates/ae86aac80bc0d57dc47bf85b7ce4581154b43c8559f26ca499edb125cd9ef7a9.json", + "sha256": "92ea653bba4d4ef1d26a7beb8af662892695b3f5f78afff1d1b584c9a4cb85f6", + "role": "historical_certificates" + }, + "declared_content_id": "ae86aac80bc0d57dc47bf85b7ce4581154b43c8559f26ca499edb125cd9ef7a9", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "failed", + "declared_lane_id": "InterfaceChargeDeviceStressResolvedV2", + "source_commit": "f9fe39f4c21960927ff64a4b5796f669f70cbc63", + "source_fingerprint_sha256": "5225efa9bb0dd59707492f0c9be0983432273cef595da8ed982a68defa0e8b6d", + "config_sha256": "523449448807e4993f999300308096003c3eeaf280924b7af208915a3cf41a54", + "lane_definition_sha256": "f52b7aa085a6816f63781c526e88d99462ad2406a7224954b6460418fb378447", + "completed_cells": 5, + "expected_cells_count": 6, + "failed_cells_count": 1, + "missing_cells_count": 0, + "artifact_pointers": [], + "environment_sha256": "8a9cacccab628ed7690dc2b3e0f1bf707d74223a6962feeda2bd6a7c041a141e" + } + }, + { + "run_directory": "results/NumericalRefinement/InterfaceChargeDeviceStressResolvedV2/f4b6e916a2ba1827e337c1b9111423497cf3ccc1405b61289a8a863be43935bc", + "state": { + "root": "archive", + "path": "results/NumericalRefinement/InterfaceChargeDeviceStressResolvedV2/f4b6e916a2ba1827e337c1b9111423497cf3ccc1405b61289a8a863be43935bc/State.json", + "sha256": "fc68c3e7327279cc63a00757b9554b44afe284879c346d7dbddb8f27a55852ee", + "role": "old_result_state" + }, + "declared_run_id": "f4b6e916a2ba1827e337c1b9111423497cf3ccc1405b61289a8a863be43935bc", + "binding_status": "located_not_recertified", + "manifests": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/InterfaceChargeDeviceStressResolvedV2/f4b6e916a2ba1827e337c1b9111423497cf3ccc1405b61289a8a863be43935bc/Manifests/5253dc00f5cfeb7ac386b331a4bf994ae37ffc0009cdbba2ac65f209eb2ba07e.json", + "sha256": "f3a202609a54b54187ac07199d9bd1b64bbccbcbd3611e389d37e4697f03374d", + "role": "historical_manifests" + }, + "declared_content_id": "5253dc00f5cfeb7ac386b331a4bf994ae37ffc0009cdbba2ac65f209eb2ba07e", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "complete", + "declared_lane_id": "InterfaceChargeDeviceStressResolvedV2", + "source_commit": "851406a7bc173360c3c14f5fc28824f278828859", + "source_fingerprint_sha256": "d13b9a8cc25b134e38098a9462cd25ec3bfc4863ee121607195be452ba634d75", + "config_sha256": null, + "lane_definition_sha256": "8d221d2e8e63b62ceca844ffdfeb0c24d7d335cc09538e199f2904efb738704e", + "completed_cells": null, + "expected_cells_count": 6, + "failed_cells_count": 0, + "missing_cells_count": null, + "artifact_pointers": [ + { + "path": "cells/3f3aa5307b5771c05f052d1ec0a9dc35c2ce676c2a6dada35208d773940a4b06.json", + "point_key": "grid=30;tolerance=1", + "sha256": "3f3aa5307b5771c05f052d1ec0a9dc35c2ce676c2a6dada35208d773940a4b06", + "status": "completed" + }, + { + "path": "cells/692513a6a923e5a1b31fed2c37a5a9ad26ac56cd04da2f2120fd391788f2913d.json", + "point_key": "grid=30;tolerance=0.5", + "sha256": "692513a6a923e5a1b31fed2c37a5a9ad26ac56cd04da2f2120fd391788f2913d", + "status": "completed" + }, + { + "path": "cells/a5ca80ae8368269efb455691e0d4d2cf9dd3d7a9d3c8d8ce2df664a4c392a1f3.json", + "point_key": "grid=60;tolerance=1", + "sha256": "a5ca80ae8368269efb455691e0d4d2cf9dd3d7a9d3c8d8ce2df664a4c392a1f3", + "status": "completed" + }, + { + "path": "cells/726e0546609f5b38e344658cffb442670ea684e6e0134cd99b406c680f96ea61.json", + "point_key": "grid=60;tolerance=0.5", + "sha256": "726e0546609f5b38e344658cffb442670ea684e6e0134cd99b406c680f96ea61", + "status": "completed" + }, + { + "path": "cells/c7a546b52904ba6bae2f767060364fd058b504cf08714b3e9fbdec0bd1ab422f.json", + "point_key": "grid=90;tolerance=1", + "sha256": "c7a546b52904ba6bae2f767060364fd058b504cf08714b3e9fbdec0bd1ab422f", + "status": "completed" + }, + { + "path": "cells/22a30be5cb7e859e455824b8ac14656c5ef5a6318b4ab8f6740257172c573ee1.json", + "point_key": "grid=90;tolerance=0.5", + "sha256": "22a30be5cb7e859e455824b8ac14656c5ef5a6318b4ab8f6740257172c573ee1", + "status": "completed" + } + ], + "environment_sha256": "8a9cacccab628ed7690dc2b3e0f1bf707d74223a6962feeda2bd6a7c041a141e" + }, + "certificates": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/InterfaceChargeDeviceStressResolvedV2/f4b6e916a2ba1827e337c1b9111423497cf3ccc1405b61289a8a863be43935bc/Certificates/9f9da1910c43e8c799ce8f13ed71f8603e0150097045f8027d4a314eecba9531.json", + "sha256": "d37fd1ee7495a02f6ed13e3bb963ce7f0e3adc95f3e8e37b5081820c122a123a", + "role": "historical_certificates" + }, + "declared_content_id": "9f9da1910c43e8c799ce8f13ed71f8603e0150097045f8027d4a314eecba9531", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "certified", + "declared_lane_id": "InterfaceChargeDeviceStressResolvedV2", + "source_commit": "851406a7bc173360c3c14f5fc28824f278828859", + "source_fingerprint_sha256": "d13b9a8cc25b134e38098a9462cd25ec3bfc4863ee121607195be452ba634d75", + "config_sha256": "523449448807e4993f999300308096003c3eeaf280924b7af208915a3cf41a54", + "lane_definition_sha256": "8d221d2e8e63b62ceca844ffdfeb0c24d7d335cc09538e199f2904efb738704e", + "completed_cells": 6, + "expected_cells_count": 6, + "failed_cells_count": 0, + "missing_cells_count": 0, + "artifact_pointers": [], + "environment_sha256": "8a9cacccab628ed7690dc2b3e0f1bf707d74223a6962feeda2bd6a7c041a141e" + } + } + ], + "status": "historical_records_located" + }, + { + "capability_id": "lane-e95ec3a450b16504", + "lane": "interface-charge-device-stress-v1", + "archive_directory": "results/NumericalRefinement/InterfaceChargeDeviceStressV1", + "runs": [ + { + "run_directory": "results/NumericalRefinement/InterfaceChargeDeviceStressV1/24adad46ed232aef9133f358137b7e6876b90f73558730e7d6c72f2d4e0f1dff", + "state": { + "root": "archive", + "path": "results/NumericalRefinement/InterfaceChargeDeviceStressV1/24adad46ed232aef9133f358137b7e6876b90f73558730e7d6c72f2d4e0f1dff/State.json", + "sha256": "4cd44580d36832e395a0596deb1f37241575459c61e7ef7c46f41298df6ae37f", + "role": "old_result_state" + }, + "declared_run_id": "24adad46ed232aef9133f358137b7e6876b90f73558730e7d6c72f2d4e0f1dff", + "binding_status": "located_not_recertified", + "manifests": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/InterfaceChargeDeviceStressV1/24adad46ed232aef9133f358137b7e6876b90f73558730e7d6c72f2d4e0f1dff/Manifests/0ca2a07826f549e551e0b9393b26949e5314bd31d064aaa3b226545ebeadd77c.json", + "sha256": "b8d5c7c60b9aa64ec944ddf3f1b1311553258ef8eb8ee7b52d407ccd98f06c08", + "role": "historical_manifests" + }, + "declared_content_id": "0ca2a07826f549e551e0b9393b26949e5314bd31d064aaa3b226545ebeadd77c", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "complete_with_failures", + "declared_lane_id": "InterfaceChargeDeviceStressV1", + "source_commit": "07513df851df949db1074c1fed42e044a3a053c0", + "source_fingerprint_sha256": "10f3925dc844fc9ce5b3e159a74b8d3da932273bb7ffb370b98d696dfa50c0e9", + "config_sha256": null, + "lane_definition_sha256": "abd1ac627b07d16289765d60197f8e7cb1b684ceab2d8f10c7c11d850bd0fa47", + "completed_cells": null, + "expected_cells_count": 4, + "failed_cells_count": 1, + "missing_cells_count": null, + "artifact_pointers": [ + { + "path": "cells/47ff630fbcb2ae32f65d3f30e4fe28b1a1fab55c000849de497d3e4e6739bd79.json", + "point_key": "grid=30;tolerance=1", + "sha256": "47ff630fbcb2ae32f65d3f30e4fe28b1a1fab55c000849de497d3e4e6739bd79", + "status": "completed" + }, + { + "path": "cells/8aaed455f995e83929f1f0a5299cff43632190f9d2fe784075f1755674afa5f5.json", + "point_key": "grid=30;tolerance=0.5", + "sha256": "8aaed455f995e83929f1f0a5299cff43632190f9d2fe784075f1755674afa5f5", + "status": "completed" + }, + { + "path": "cells/a93ecae611a5f31a078fe532e62b746bd85db25ca0056556dc364cdc625c18bc.json", + "point_key": "grid=60;tolerance=1", + "sha256": "a93ecae611a5f31a078fe532e62b746bd85db25ca0056556dc364cdc625c18bc", + "status": "completed" + }, + { + "path": "cells/9c7220128833f296ed18e387df8561ede5c19e2096f0d7d62877d72d14314745.json", + "point_key": "grid=60;tolerance=0.5", + "sha256": "9c7220128833f296ed18e387df8561ede5c19e2096f0d7d62877d72d14314745", + "status": "failed" + } + ], + "environment_sha256": "197e3085b43d4d83ae9bd5fef2bd7f038a2dda3a888bf16c1a02804ec0cb8c27" + }, + "certificates": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/InterfaceChargeDeviceStressV1/24adad46ed232aef9133f358137b7e6876b90f73558730e7d6c72f2d4e0f1dff/Certificates/80dd41f1c501ebadb2f95e977018f6bb3e1f78b4b07fb20487e2154a11b1267c.json", + "sha256": "c393dec5b8441399b13224be3cdb5c4e7bd68641616d802625d8d0d5a3cdb609", + "role": "historical_certificates" + }, + "declared_content_id": "80dd41f1c501ebadb2f95e977018f6bb3e1f78b4b07fb20487e2154a11b1267c", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "failed", + "declared_lane_id": "InterfaceChargeDeviceStressV1", + "source_commit": "07513df851df949db1074c1fed42e044a3a053c0", + "source_fingerprint_sha256": "10f3925dc844fc9ce5b3e159a74b8d3da932273bb7ffb370b98d696dfa50c0e9", + "config_sha256": "523449448807e4993f999300308096003c3eeaf280924b7af208915a3cf41a54", + "lane_definition_sha256": "abd1ac627b07d16289765d60197f8e7cb1b684ceab2d8f10c7c11d850bd0fa47", + "completed_cells": 3, + "expected_cells_count": 4, + "failed_cells_count": 1, + "missing_cells_count": 0, + "artifact_pointers": [], + "environment_sha256": "197e3085b43d4d83ae9bd5fef2bd7f038a2dda3a888bf16c1a02804ec0cb8c27" + } + }, + { + "run_directory": "results/NumericalRefinement/InterfaceChargeDeviceStressV1/250a3a8d934f327ab0f73f5197113d2a1de9d57be07f58d71bbd89904fd025a6", + "state": { + "root": "archive", + "path": "results/NumericalRefinement/InterfaceChargeDeviceStressV1/250a3a8d934f327ab0f73f5197113d2a1de9d57be07f58d71bbd89904fd025a6/State.json", + "sha256": "82d74f38fa719513f513fba9897336b1bdac4687f730d3f93f828c2e05ca20c5", + "role": "old_result_state" + }, + "declared_run_id": "250a3a8d934f327ab0f73f5197113d2a1de9d57be07f58d71bbd89904fd025a6", + "binding_status": "located_not_recertified", + "manifests": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/InterfaceChargeDeviceStressV1/250a3a8d934f327ab0f73f5197113d2a1de9d57be07f58d71bbd89904fd025a6/Manifests/22b640dd2233977b8a60b2c44d494b8bd06142b1fb156a082e810eaf8a0b8048.json", + "sha256": "cd355f0f9bb9d29b6b861d6b76bba2cb13dc49e9a64e97230343f0cc782ef25f", + "role": "historical_manifests" + }, + "declared_content_id": "22b640dd2233977b8a60b2c44d494b8bd06142b1fb156a082e810eaf8a0b8048", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "complete", + "declared_lane_id": "InterfaceChargeDeviceStressV1", + "source_commit": "56cd1bb61cc1857076de33a34f4ef4bde53c2c9a", + "source_fingerprint_sha256": "611e5925722777f48f431d42b29845d737f1f486d5b0d91e2408f49e0b22afea", + "config_sha256": null, + "lane_definition_sha256": "bc4a44da42a3e274527a157cbec164f522e23d92b24e9e5233ec06a644c2901b", + "completed_cells": null, + "expected_cells_count": 4, + "failed_cells_count": 0, + "missing_cells_count": null, + "artifact_pointers": [ + { + "path": "cells/bdab86622d777cea4317b72ccb5954351dbc9d7da8aba357778af517a06f6091.json", + "point_key": "grid=30;tolerance=1", + "sha256": "bdab86622d777cea4317b72ccb5954351dbc9d7da8aba357778af517a06f6091", + "status": "completed" + }, + { + "path": "cells/b53a72ec3348a2324c0bf6c3f9774c9ce2f68354bdd572b40c6af89e2f5dbd20.json", + "point_key": "grid=30;tolerance=0.5", + "sha256": "b53a72ec3348a2324c0bf6c3f9774c9ce2f68354bdd572b40c6af89e2f5dbd20", + "status": "completed" + }, + { + "path": "cells/4501e08de89db472aeb16b2a53a98e07d998983707e4f95b40e0925089860fbb.json", + "point_key": "grid=60;tolerance=1", + "sha256": "4501e08de89db472aeb16b2a53a98e07d998983707e4f95b40e0925089860fbb", + "status": "completed" + }, + { + "path": "cells/a83f330fc9d0b87bb7c6a41d73d9b301b47c51116ab535a5598f241fb461e6d3.json", + "point_key": "grid=60;tolerance=0.5", + "sha256": "a83f330fc9d0b87bb7c6a41d73d9b301b47c51116ab535a5598f241fb461e6d3", + "status": "completed" + } + ], + "environment_sha256": "197e3085b43d4d83ae9bd5fef2bd7f038a2dda3a888bf16c1a02804ec0cb8c27" + }, + "certificates": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/InterfaceChargeDeviceStressV1/250a3a8d934f327ab0f73f5197113d2a1de9d57be07f58d71bbd89904fd025a6/Certificates/000fd33d2f162de00ac97fe15e174c27d0d3b995c4aabb9b22e5e62e687df657.json", + "sha256": "74a7aa931399e1597085b71d5a5ed81b73c30396b6dd11bc70a64b10d04715f5", + "role": "historical_certificates" + }, + "declared_content_id": "000fd33d2f162de00ac97fe15e174c27d0d3b995c4aabb9b22e5e62e687df657", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "partial", + "declared_lane_id": "InterfaceChargeDeviceStressV1", + "source_commit": "56cd1bb61cc1857076de33a34f4ef4bde53c2c9a", + "source_fingerprint_sha256": "611e5925722777f48f431d42b29845d737f1f486d5b0d91e2408f49e0b22afea", + "config_sha256": "523449448807e4993f999300308096003c3eeaf280924b7af208915a3cf41a54", + "lane_definition_sha256": "bc4a44da42a3e274527a157cbec164f522e23d92b24e9e5233ec06a644c2901b", + "completed_cells": 4, + "expected_cells_count": 4, + "failed_cells_count": 0, + "missing_cells_count": 0, + "artifact_pointers": [], + "environment_sha256": "197e3085b43d4d83ae9bd5fef2bd7f038a2dda3a888bf16c1a02804ec0cb8c27" + } + }, + { + "run_directory": "results/NumericalRefinement/InterfaceChargeDeviceStressV1/79579ba6180537accad149094c4295133a6f9ba35b856546c6a19974cc17aab9", + "state": { + "root": "archive", + "path": "results/NumericalRefinement/InterfaceChargeDeviceStressV1/79579ba6180537accad149094c4295133a6f9ba35b856546c6a19974cc17aab9/State.json", + "sha256": "331fa2d040c667d96705d9bdf7beeabc8a70f1f5f33257fb78b5559f787835e4", + "role": "old_result_state" + }, + "declared_run_id": "79579ba6180537accad149094c4295133a6f9ba35b856546c6a19974cc17aab9", + "binding_status": "located_not_recertified", + "manifests": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/InterfaceChargeDeviceStressV1/79579ba6180537accad149094c4295133a6f9ba35b856546c6a19974cc17aab9/Manifests/b3fa6e46e3fa1c074187b079145b021d58c97c7900d9c1eee02a2b075dba6d50.json", + "sha256": "40742b613e257dd7fda8aec7e6ab1d786cc72ad5019decb30f771bee23f1affc", + "role": "historical_manifests" + }, + "declared_content_id": "b3fa6e46e3fa1c074187b079145b021d58c97c7900d9c1eee02a2b075dba6d50", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "complete_with_failures", + "declared_lane_id": "InterfaceChargeDeviceStressV1", + "source_commit": "87122f09afa52c83655a870d1fae09ae9def84fb", + "source_fingerprint_sha256": "bfc5e09b09a2b9e1fc4e6f50280ebb652767717fc991389de3bce9409be93148", + "config_sha256": null, + "lane_definition_sha256": "f93fe1e8a342bb902a863cccba72743fd68b3cc9fb055a2e75740d5cf23b9650", + "completed_cells": null, + "expected_cells_count": 4, + "failed_cells_count": 1, + "missing_cells_count": null, + "artifact_pointers": [ + { + "path": "cells/f7b3e414434200c539ad4425d0d816a7822482f7c74d94a84d968bc808f27df9.json", + "point_key": "grid=30;tolerance=1", + "sha256": "f7b3e414434200c539ad4425d0d816a7822482f7c74d94a84d968bc808f27df9", + "status": "completed" + }, + { + "path": "cells/5fe3e26ae6cba202122c3b2356805431d5a0ba23f3e94f6218547fce1882207d.json", + "point_key": "grid=30;tolerance=0.5", + "sha256": "5fe3e26ae6cba202122c3b2356805431d5a0ba23f3e94f6218547fce1882207d", + "status": "failed" + }, + { + "path": "cells/a07c620387993c47afdf3418e31a8be72a69bbc66d5ce2392ee6f4e032197d1c.json", + "point_key": "grid=60;tolerance=1", + "sha256": "a07c620387993c47afdf3418e31a8be72a69bbc66d5ce2392ee6f4e032197d1c", + "status": "completed" + }, + { + "path": "cells/fd8d5a85eb70cccac81d13f972f87eb00993a3ca7aa67a69be187be09569722d.json", + "point_key": "grid=60;tolerance=0.5", + "sha256": "fd8d5a85eb70cccac81d13f972f87eb00993a3ca7aa67a69be187be09569722d", + "status": "completed" + } + ], + "environment_sha256": "197e3085b43d4d83ae9bd5fef2bd7f038a2dda3a888bf16c1a02804ec0cb8c27" + }, + "certificates": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/InterfaceChargeDeviceStressV1/79579ba6180537accad149094c4295133a6f9ba35b856546c6a19974cc17aab9/Certificates/fec720c98516ec7e5244a5494c01940345e8022acef8d672ed7c96dc52aed037.json", + "sha256": "59f48a0c639d1a829c7ee9d7073378d64d9527e5e566ae044a6a2afe8f881e01", + "role": "historical_certificates" + }, + "declared_content_id": "fec720c98516ec7e5244a5494c01940345e8022acef8d672ed7c96dc52aed037", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "failed", + "declared_lane_id": "InterfaceChargeDeviceStressV1", + "source_commit": "87122f09afa52c83655a870d1fae09ae9def84fb", + "source_fingerprint_sha256": "bfc5e09b09a2b9e1fc4e6f50280ebb652767717fc991389de3bce9409be93148", + "config_sha256": "523449448807e4993f999300308096003c3eeaf280924b7af208915a3cf41a54", + "lane_definition_sha256": "f93fe1e8a342bb902a863cccba72743fd68b3cc9fb055a2e75740d5cf23b9650", + "completed_cells": 3, + "expected_cells_count": 4, + "failed_cells_count": 1, + "missing_cells_count": 0, + "artifact_pointers": [], + "environment_sha256": "197e3085b43d4d83ae9bd5fef2bd7f038a2dda3a888bf16c1a02804ec0cb8c27" + } + } + ], + "status": "historical_records_located" + }, + { + "capability_id": "lane-5da5b7d376d6e06e", + "lane": "interface-charge-equilibrium-referenced-v1", + "archive_directory": "results/NumericalRefinement/InterfaceChargeEquilibriumReferencedV1", + "runs": [ + { + "run_directory": "results/NumericalRefinement/InterfaceChargeEquilibriumReferencedV1/902b25e2443caf039fb535e136699abe0fa8b7b69d4b8a41a9516255a0a1583a", + "state": { + "root": "archive", + "path": "results/NumericalRefinement/InterfaceChargeEquilibriumReferencedV1/902b25e2443caf039fb535e136699abe0fa8b7b69d4b8a41a9516255a0a1583a/State.json", + "sha256": "8175299071a4658c565abf1b5a6ecb33827cefe42ccbb53b78b965f6127a0c80", + "role": "old_result_state" + }, + "declared_run_id": "902b25e2443caf039fb535e136699abe0fa8b7b69d4b8a41a9516255a0a1583a", + "binding_status": "located_not_recertified", + "manifests": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/InterfaceChargeEquilibriumReferencedV1/902b25e2443caf039fb535e136699abe0fa8b7b69d4b8a41a9516255a0a1583a/Manifests/314224f6c9e2e5c64ca1584392e41f6d7e7b9f10a2c90cf9f642cf53ca71b2e2.json", + "sha256": "1e1db8f9f052e20225c2f36932096b30af0b76e99315f5479781a02f9e570e75", + "role": "historical_manifests" + }, + "declared_content_id": "314224f6c9e2e5c64ca1584392e41f6d7e7b9f10a2c90cf9f642cf53ca71b2e2", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "complete", + "declared_lane_id": "InterfaceChargeEquilibriumReferencedV1", + "source_commit": "851406a7bc173360c3c14f5fc28824f278828859", + "source_fingerprint_sha256": "d13b9a8cc25b134e38098a9462cd25ec3bfc4863ee121607195be452ba634d75", + "config_sha256": null, + "lane_definition_sha256": "fbcb9eae27595aa5f23d92872161330bbc88061af640c6e0083929591f71bd09", + "completed_cells": null, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": null, + "artifact_pointers": [ + { + "path": "cells/f9917251aadf484d871fcbf122e288d9b29f437ced98c61fce38741acc822ef0.json", + "point_key": "grid=30;tolerance=1", + "sha256": "f9917251aadf484d871fcbf122e288d9b29f437ced98c61fce38741acc822ef0", + "status": "completed" + }, + { + "path": "cells/82ef308d77fb2530e437a02f4336489c52515681478af6f7bf0dd633fca9b308.json", + "point_key": "grid=30;tolerance=0.5", + "sha256": "82ef308d77fb2530e437a02f4336489c52515681478af6f7bf0dd633fca9b308", + "status": "completed" + }, + { + "path": "cells/8aec2169a7e2d4fcec7fc71144c8b9988968118b7615a35568223b02316329d5.json", + "point_key": "grid=30;tolerance=0.25", + "sha256": "8aec2169a7e2d4fcec7fc71144c8b9988968118b7615a35568223b02316329d5", + "status": "completed" + }, + { + "path": "cells/dc85518bbe35e28122dfb63429f37a50550296970d4ffdd7625c2481402ed723.json", + "point_key": "grid=60;tolerance=1", + "sha256": "dc85518bbe35e28122dfb63429f37a50550296970d4ffdd7625c2481402ed723", + "status": "completed" + }, + { + "path": "cells/53760db371780c4c8072effd665bf1ee12e2d1a525781a9cd4d31a01c33867b1.json", + "point_key": "grid=60;tolerance=0.5", + "sha256": "53760db371780c4c8072effd665bf1ee12e2d1a525781a9cd4d31a01c33867b1", + "status": "completed" + }, + { + "path": "cells/d28154e64fb4c41474f332f833e2ae220faedecc7870e019ae9eba2dc7cfa790.json", + "point_key": "grid=60;tolerance=0.25", + "sha256": "d28154e64fb4c41474f332f833e2ae220faedecc7870e019ae9eba2dc7cfa790", + "status": "completed" + }, + { + "path": "cells/bfa304b1e66eab744a94d90d341f71ad536a3f8d50974d536916a5f612f34e77.json", + "point_key": "grid=120;tolerance=1", + "sha256": "bfa304b1e66eab744a94d90d341f71ad536a3f8d50974d536916a5f612f34e77", + "status": "completed" + }, + { + "path": "cells/a0d7c4227e00c540c9a594db18fd0915a43b6ade111089c189eb9a569365f2e6.json", + "point_key": "grid=120;tolerance=0.5", + "sha256": "a0d7c4227e00c540c9a594db18fd0915a43b6ade111089c189eb9a569365f2e6", + "status": "completed" + }, + { + "path": "cells/1bf2f42cbfd888247aa423b7d3bee2c65bf9cb70d05c5f6369adbc99cee3394d.json", + "point_key": "grid=120;tolerance=0.25", + "sha256": "1bf2f42cbfd888247aa423b7d3bee2c65bf9cb70d05c5f6369adbc99cee3394d", + "status": "completed" + } + ], + "environment_sha256": "8a9cacccab628ed7690dc2b3e0f1bf707d74223a6962feeda2bd6a7c041a141e" + }, + "certificates": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/InterfaceChargeEquilibriumReferencedV1/902b25e2443caf039fb535e136699abe0fa8b7b69d4b8a41a9516255a0a1583a/Certificates/3d510f06e381ac56fc66afd3fb59db5e7f88e685d84e5037e1d5c9f8c439d631.json", + "sha256": "be9b49cafbba3939f7faf322033f0c9589f9ad675ff85d71701030a0123eb9ef", + "role": "historical_certificates" + }, + "declared_content_id": "3d510f06e381ac56fc66afd3fb59db5e7f88e685d84e5037e1d5c9f8c439d631", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "certified", + "declared_lane_id": "InterfaceChargeEquilibriumReferencedV1", + "source_commit": "851406a7bc173360c3c14f5fc28824f278828859", + "source_fingerprint_sha256": "d13b9a8cc25b134e38098a9462cd25ec3bfc4863ee121607195be452ba634d75", + "config_sha256": "523449448807e4993f999300308096003c3eeaf280924b7af208915a3cf41a54", + "lane_definition_sha256": "fbcb9eae27595aa5f23d92872161330bbc88061af640c6e0083929591f71bd09", + "completed_cells": 9, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": 0, + "artifact_pointers": [], + "environment_sha256": "8a9cacccab628ed7690dc2b3e0f1bf707d74223a6962feeda2bd6a7c041a141e" + } + }, + { + "run_directory": "results/NumericalRefinement/InterfaceChargeEquilibriumReferencedV1/96e1a6776726640e6d2a90acfa8fd7000462f9fe873d0f47abbc348a66bbe3f9", + "state": { + "root": "archive", + "path": "results/NumericalRefinement/InterfaceChargeEquilibriumReferencedV1/96e1a6776726640e6d2a90acfa8fd7000462f9fe873d0f47abbc348a66bbe3f9/State.json", + "sha256": "a9b7c89e7d03dabaeac0dfe9f67d8c2efc10340588e1b6e56d628e734f2b4b02", + "role": "old_result_state" + }, + "declared_run_id": "96e1a6776726640e6d2a90acfa8fd7000462f9fe873d0f47abbc348a66bbe3f9", + "binding_status": "located_not_recertified", + "manifests": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/InterfaceChargeEquilibriumReferencedV1/96e1a6776726640e6d2a90acfa8fd7000462f9fe873d0f47abbc348a66bbe3f9/Manifests/0eecfe2bcfc25869df25927dc2626c4cd493aeba7662123596d39ff18a4244ea.json", + "sha256": "b46fafd13974cb6b831ee58418eb0b7ab6d0eb6dfe58847dcbef39f559fdb70c", + "role": "historical_manifests" + }, + "declared_content_id": "0eecfe2bcfc25869df25927dc2626c4cd493aeba7662123596d39ff18a4244ea", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "complete", + "declared_lane_id": "InterfaceChargeEquilibriumReferencedV1", + "source_commit": "a69acebd52cb8f8a920f495544e8aa8d124b8675", + "source_fingerprint_sha256": "f19257b1ebd3923e0d8ab9c8510864e7191673534336eb7901543377a8c0ea85", + "config_sha256": null, + "lane_definition_sha256": "fbcb9eae27595aa5f23d92872161330bbc88061af640c6e0083929591f71bd09", + "completed_cells": null, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": null, + "artifact_pointers": [ + { + "path": "cells/f89c4397caea9805e75e202db4e822c4e66ad892cb42b685a36d07db9a117774.json", + "point_key": "grid=30;tolerance=1", + "sha256": "f89c4397caea9805e75e202db4e822c4e66ad892cb42b685a36d07db9a117774", + "status": "completed" + }, + { + "path": "cells/9a0d414452ae172c669c0f13eff01b9d6caee06c072dc2fa9ae81c2c149d9fbe.json", + "point_key": "grid=30;tolerance=0.5", + "sha256": "9a0d414452ae172c669c0f13eff01b9d6caee06c072dc2fa9ae81c2c149d9fbe", + "status": "completed" + }, + { + "path": "cells/a424e7cbf8e15a4a28c614f71b95272868a336ba5d7830a493fb2a4b8721cdd2.json", + "point_key": "grid=30;tolerance=0.25", + "sha256": "a424e7cbf8e15a4a28c614f71b95272868a336ba5d7830a493fb2a4b8721cdd2", + "status": "completed" + }, + { + "path": "cells/a4b160c92afbe9a9786acc3a6cd843814f8b9261793476ac929d7871259563d7.json", + "point_key": "grid=60;tolerance=1", + "sha256": "a4b160c92afbe9a9786acc3a6cd843814f8b9261793476ac929d7871259563d7", + "status": "completed" + }, + { + "path": "cells/0137cae2384c1e731f228bb66325874cc45df155fdb541c3602270e720d8863a.json", + "point_key": "grid=60;tolerance=0.5", + "sha256": "0137cae2384c1e731f228bb66325874cc45df155fdb541c3602270e720d8863a", + "status": "completed" + }, + { + "path": "cells/92fc8dbf40d57f8210c86b7530639ec8781013b2d567f3744da65662d73471b1.json", + "point_key": "grid=60;tolerance=0.25", + "sha256": "92fc8dbf40d57f8210c86b7530639ec8781013b2d567f3744da65662d73471b1", + "status": "completed" + }, + { + "path": "cells/dce53b5d4970faa8d8619af2beabe3077b1866a7ced7eff791f7c4102eb1f7da.json", + "point_key": "grid=120;tolerance=1", + "sha256": "dce53b5d4970faa8d8619af2beabe3077b1866a7ced7eff791f7c4102eb1f7da", + "status": "completed" + }, + { + "path": "cells/b774ff0bf6aa4098715538569af991d2ff2ff708679a44fa41cbd5464df1cb16.json", + "point_key": "grid=120;tolerance=0.5", + "sha256": "b774ff0bf6aa4098715538569af991d2ff2ff708679a44fa41cbd5464df1cb16", + "status": "completed" + }, + { + "path": "cells/5083d8a9384a7705afa165aa36ed1d7820451a38da5a46d6e093f80a6206b99b.json", + "point_key": "grid=120;tolerance=0.25", + "sha256": "5083d8a9384a7705afa165aa36ed1d7820451a38da5a46d6e093f80a6206b99b", + "status": "completed" + } + ], + "environment_sha256": "8a9cacccab628ed7690dc2b3e0f1bf707d74223a6962feeda2bd6a7c041a141e" + }, + "certificates": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/InterfaceChargeEquilibriumReferencedV1/96e1a6776726640e6d2a90acfa8fd7000462f9fe873d0f47abbc348a66bbe3f9/Certificates/e0df6541eb58b29e0ebbdbe47764f61d75bfe192e58b6ee8e2fbdd841d84da01.json", + "sha256": "e156aceea028573577907831d101f5165fc77c72830509fedee455fdd0bfbf7f", + "role": "historical_certificates" + }, + "declared_content_id": "e0df6541eb58b29e0ebbdbe47764f61d75bfe192e58b6ee8e2fbdd841d84da01", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "certified", + "declared_lane_id": "InterfaceChargeEquilibriumReferencedV1", + "source_commit": "a69acebd52cb8f8a920f495544e8aa8d124b8675", + "source_fingerprint_sha256": "f19257b1ebd3923e0d8ab9c8510864e7191673534336eb7901543377a8c0ea85", + "config_sha256": "523449448807e4993f999300308096003c3eeaf280924b7af208915a3cf41a54", + "lane_definition_sha256": "fbcb9eae27595aa5f23d92872161330bbc88061af640c6e0083929591f71bd09", + "completed_cells": 9, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": 0, + "artifact_pointers": [], + "environment_sha256": "8a9cacccab628ed7690dc2b3e0f1bf707d74223a6962feeda2bd6a7c041a141e" + } + }, + { + "run_directory": "results/NumericalRefinement/InterfaceChargeEquilibriumReferencedV1/d601d95862fcd35869c5a7f0398c9c93d9b5a1cd325ec36e26b0e554b496b220", + "state": { + "root": "archive", + "path": "results/NumericalRefinement/InterfaceChargeEquilibriumReferencedV1/d601d95862fcd35869c5a7f0398c9c93d9b5a1cd325ec36e26b0e554b496b220/State.json", + "sha256": "e7e7fa95325bfd391e75721389936b3570ffded873d52f2e81173b2469d21088", + "role": "old_result_state" + }, + "declared_run_id": "d601d95862fcd35869c5a7f0398c9c93d9b5a1cd325ec36e26b0e554b496b220", + "binding_status": "located_not_recertified", + "manifests": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/InterfaceChargeEquilibriumReferencedV1/d601d95862fcd35869c5a7f0398c9c93d9b5a1cd325ec36e26b0e554b496b220/Manifests/21c418be36e4e8f17b587838490f844f1bf4a88ae318059774ea68bdc27dbfc8.json", + "sha256": "a7075c21dea297e1f4c9e3a4e00a76bb40750abed670d3d2366f8e1c98e8237f", + "role": "historical_manifests" + }, + "declared_content_id": "21c418be36e4e8f17b587838490f844f1bf4a88ae318059774ea68bdc27dbfc8", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "running", + "declared_lane_id": "InterfaceChargeEquilibriumReferencedV1", + "source_commit": "a7cdc82112e0a61821b83ad2ceba06ac91f69dad", + "source_fingerprint_sha256": "1b32ce52689901524922fa8eb83d4fe673c909a740f2d7aecbb2f2d1c5633723", + "config_sha256": null, + "lane_definition_sha256": "fbcb9eae27595aa5f23d92872161330bbc88061af640c6e0083929591f71bd09", + "completed_cells": null, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": null, + "artifact_pointers": [ + { + "path": "cells/8f8c44229d338a2a45604a4c3ee0954b2d181d976795148e6e088c45b1acfa07.json", + "point_key": "grid=30;tolerance=1", + "sha256": "8f8c44229d338a2a45604a4c3ee0954b2d181d976795148e6e088c45b1acfa07", + "status": "completed" + } + ], + "environment_sha256": "8a9cacccab628ed7690dc2b3e0f1bf707d74223a6962feeda2bd6a7c041a141e" + }, + "certificates": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/InterfaceChargeEquilibriumReferencedV1/d601d95862fcd35869c5a7f0398c9c93d9b5a1cd325ec36e26b0e554b496b220/Certificates/c7fbe108985c443d7925cc37b8c2ad82599fb796d7a7a33b17b740e47b126a21.json", + "sha256": "deef7325af49a945a59b2619001f902e7aa480950b9441ccf5d38ed6557ee41b", + "role": "historical_certificates" + }, + "declared_content_id": "c7fbe108985c443d7925cc37b8c2ad82599fb796d7a7a33b17b740e47b126a21", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "failed", + "declared_lane_id": "InterfaceChargeEquilibriumReferencedV1", + "source_commit": "a7cdc82112e0a61821b83ad2ceba06ac91f69dad", + "source_fingerprint_sha256": "1b32ce52689901524922fa8eb83d4fe673c909a740f2d7aecbb2f2d1c5633723", + "config_sha256": "523449448807e4993f999300308096003c3eeaf280924b7af208915a3cf41a54", + "lane_definition_sha256": "fbcb9eae27595aa5f23d92872161330bbc88061af640c6e0083929591f71bd09", + "completed_cells": 1, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": 8, + "artifact_pointers": [], + "environment_sha256": "8a9cacccab628ed7690dc2b3e0f1bf707d74223a6962feeda2bd6a7c041a141e" + } + }, + { + "run_directory": "results/NumericalRefinement/InterfaceChargeEquilibriumReferencedV1/f94831ce5f26b6d4aafa702313846aaf717a6d91b58b99ade72481e77f1ae5c4", + "state": { + "root": "archive", + "path": "results/NumericalRefinement/InterfaceChargeEquilibriumReferencedV1/f94831ce5f26b6d4aafa702313846aaf717a6d91b58b99ade72481e77f1ae5c4/State.json", + "sha256": "16014039ef2a79b71c6df50a199859036614889955356961611049ebd252e566", + "role": "old_result_state" + }, + "declared_run_id": "f94831ce5f26b6d4aafa702313846aaf717a6d91b58b99ade72481e77f1ae5c4", + "binding_status": "located_not_recertified", + "manifests": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/InterfaceChargeEquilibriumReferencedV1/f94831ce5f26b6d4aafa702313846aaf717a6d91b58b99ade72481e77f1ae5c4/Manifests/03ca79a5c6e2e258233d79ec2c81ab94615a844f19be1f5a25cd89b6892cee07.json", + "sha256": "adb10049a5f776b46abae56704a6337e83bc38818d137cf3f3d95e74ebe1d9f6", + "role": "historical_manifests" + }, + "declared_content_id": "03ca79a5c6e2e258233d79ec2c81ab94615a844f19be1f5a25cd89b6892cee07", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "complete", + "declared_lane_id": "InterfaceChargeEquilibriumReferencedV1", + "source_commit": "23783a373b633cfe60da10f2acc76a7f8748d637", + "source_fingerprint_sha256": "9e4f403d93c71bad62e52357d662eec6377e3ce11a36d526b9154fd8d101ed3a", + "config_sha256": null, + "lane_definition_sha256": "b29bb182082ddc81bbe9dd7378ffd53385ee6476e2ab3cd2fc6a66fd8ab0e5af", + "completed_cells": null, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": null, + "artifact_pointers": [ + { + "path": "cells/2a3b2e80828e8ba2b03bfcef95f215299654fe09c53b72c15e57c703d37912f9.json", + "point_key": "grid=30;tolerance=1", + "sha256": "2a3b2e80828e8ba2b03bfcef95f215299654fe09c53b72c15e57c703d37912f9", + "status": "completed" + }, + { + "path": "cells/13eedc6190034bcd883a30118d3b49c478df494d271b665ba7e381d160c3fa52.json", + "point_key": "grid=30;tolerance=0.5", + "sha256": "13eedc6190034bcd883a30118d3b49c478df494d271b665ba7e381d160c3fa52", + "status": "completed" + }, + { + "path": "cells/28681c1c9c5344001c8131d2bfd31fb85650669636cc47a2c8f99ca5e3949e0b.json", + "point_key": "grid=30;tolerance=0.25", + "sha256": "28681c1c9c5344001c8131d2bfd31fb85650669636cc47a2c8f99ca5e3949e0b", + "status": "completed" + }, + { + "path": "cells/52ab5762c2b01463f8b069094d957c24003cfe1bf462143f251a52a18b80e062.json", + "point_key": "grid=60;tolerance=1", + "sha256": "52ab5762c2b01463f8b069094d957c24003cfe1bf462143f251a52a18b80e062", + "status": "completed" + }, + { + "path": "cells/3bd1c74a61e5056118a75a71584852a0e63171c70d76f2b67c57743509a22afc.json", + "point_key": "grid=60;tolerance=0.5", + "sha256": "3bd1c74a61e5056118a75a71584852a0e63171c70d76f2b67c57743509a22afc", + "status": "completed" + }, + { + "path": "cells/10864fe65c1322a8c4bf944aa92b558388e6ccff501fea5d4a525ca9503e7fb2.json", + "point_key": "grid=60;tolerance=0.25", + "sha256": "10864fe65c1322a8c4bf944aa92b558388e6ccff501fea5d4a525ca9503e7fb2", + "status": "completed" + }, + { + "path": "cells/7e23db876ac9fc1b7b4fe3e6bc3068c3148994b616d92c7922fc5fb65e57c6e9.json", + "point_key": "grid=120;tolerance=1", + "sha256": "7e23db876ac9fc1b7b4fe3e6bc3068c3148994b616d92c7922fc5fb65e57c6e9", + "status": "completed" + }, + { + "path": "cells/857a11cb4b29b3b0e0c238d9abbd275ac2fceed1d30ef7e8cb130390496a844b.json", + "point_key": "grid=120;tolerance=0.5", + "sha256": "857a11cb4b29b3b0e0c238d9abbd275ac2fceed1d30ef7e8cb130390496a844b", + "status": "completed" + }, + { + "path": "cells/b51006f3a9b9360e685f7066bfcb94ed91ef2b54b25ad5f9e5f7d0a3550cd5a9.json", + "point_key": "grid=120;tolerance=0.25", + "sha256": "b51006f3a9b9360e685f7066bfcb94ed91ef2b54b25ad5f9e5f7d0a3550cd5a9", + "status": "completed" + } + ], + "environment_sha256": "197e3085b43d4d83ae9bd5fef2bd7f038a2dda3a888bf16c1a02804ec0cb8c27" + }, + "certificates": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/InterfaceChargeEquilibriumReferencedV1/f94831ce5f26b6d4aafa702313846aaf717a6d91b58b99ade72481e77f1ae5c4/Certificates/1691eaee87208f2494207c94a6f8c484299e34c4ac99c952b6c8df7915cf1921.json", + "sha256": "c561d050bb6befa57d4f2bc0e70f6027eff4e5b8ccc8dc9d05e114c9b15cb415", + "role": "historical_certificates" + }, + "declared_content_id": "1691eaee87208f2494207c94a6f8c484299e34c4ac99c952b6c8df7915cf1921", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "certified", + "declared_lane_id": "InterfaceChargeEquilibriumReferencedV1", + "source_commit": "23783a373b633cfe60da10f2acc76a7f8748d637", + "source_fingerprint_sha256": "9e4f403d93c71bad62e52357d662eec6377e3ce11a36d526b9154fd8d101ed3a", + "config_sha256": "523449448807e4993f999300308096003c3eeaf280924b7af208915a3cf41a54", + "lane_definition_sha256": "b29bb182082ddc81bbe9dd7378ffd53385ee6476e2ab3cd2fc6a66fd8ab0e5af", + "completed_cells": 9, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": 0, + "artifact_pointers": [], + "environment_sha256": "197e3085b43d4d83ae9bd5fef2bd7f038a2dda3a888bf16c1a02804ec0cb8c27" + } + } + ], + "status": "historical_records_located" + }, + { + "capability_id": "lane-54128f5212664526", + "lane": "interface-charge-qf-dc-jv-v1", + "archive_directory": "results/NumericalRefinement/InterfaceChargeQfDcJvV1", + "runs": [ + { + "run_directory": "results/NumericalRefinement/InterfaceChargeQfDcJvV1/72ec9fe722f6bcaa26dcb92044452f85fe9fd964670e646daede5a198beb46eb", + "state": { + "root": "archive", + "path": "results/NumericalRefinement/InterfaceChargeQfDcJvV1/72ec9fe722f6bcaa26dcb92044452f85fe9fd964670e646daede5a198beb46eb/State.json", + "sha256": "00b768b73893fc2d23160c2e06858c01f094f42bdf43ab815ddd571074b14ffa", + "role": "old_result_state" + }, + "declared_run_id": "72ec9fe722f6bcaa26dcb92044452f85fe9fd964670e646daede5a198beb46eb", + "binding_status": "located_not_recertified", + "manifests": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/InterfaceChargeQfDcJvV1/72ec9fe722f6bcaa26dcb92044452f85fe9fd964670e646daede5a198beb46eb/Manifests/3b7bc7da7bd8b62b08c284bac782cb29989a093002468c26be0ac94063ae3d24.json", + "sha256": "dfe36a8314a8ad58ed717bf292c9505f2e35a3592fa4b8bd229103da3fd8d9c3", + "role": "historical_manifests" + }, + "declared_content_id": "3b7bc7da7bd8b62b08c284bac782cb29989a093002468c26be0ac94063ae3d24", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "complete", + "declared_lane_id": "InterfaceChargeQfDcJvV1", + "source_commit": "3fa71d60effb57a49140574c5abd3b400fb5ec1a", + "source_fingerprint_sha256": "7dfbe6dc39e462abb7c9c3231924e56046a42afabae570cb63f7828e29bbb8e8", + "config_sha256": null, + "lane_definition_sha256": "aec4c79498164d99bd86634ebc2800a1d95ca3e5a94ecb1f1931fe5d0404f03c", + "completed_cells": null, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": null, + "artifact_pointers": [ + { + "path": "cells/1b438be20bc4c5491188adbde86fff031b3a339cee57f894f62183093efe7eaf.json", + "point_key": "grid=30;tolerance=1", + "sha256": "1b438be20bc4c5491188adbde86fff031b3a339cee57f894f62183093efe7eaf", + "status": "completed" + }, + { + "path": "cells/9f736ff9d4ca3e53cc0565fe4260cf405711adc9435fa483cf3370c862cc09ed.json", + "point_key": "grid=30;tolerance=0.5", + "sha256": "9f736ff9d4ca3e53cc0565fe4260cf405711adc9435fa483cf3370c862cc09ed", + "status": "completed" + }, + { + "path": "cells/c9947e9267f90b483f34db949d729716bbd6c8416940d238b7794c3df37903fe.json", + "point_key": "grid=30;tolerance=0.25", + "sha256": "c9947e9267f90b483f34db949d729716bbd6c8416940d238b7794c3df37903fe", + "status": "completed" + }, + { + "path": "cells/e8694129201aa7bb4ae88075f4257bf834ee3880d5574f03d6ccf1f819f8f99a.json", + "point_key": "grid=60;tolerance=1", + "sha256": "e8694129201aa7bb4ae88075f4257bf834ee3880d5574f03d6ccf1f819f8f99a", + "status": "completed" + }, + { + "path": "cells/6d6f608adda769872009c574c413a9d6ce879b48494491365da28bca0688e610.json", + "point_key": "grid=60;tolerance=0.5", + "sha256": "6d6f608adda769872009c574c413a9d6ce879b48494491365da28bca0688e610", + "status": "completed" + }, + { + "path": "cells/ef3e9f05b4c2a02542185165619ca485dc016a5741443153b716d1c62e718512.json", + "point_key": "grid=60;tolerance=0.25", + "sha256": "ef3e9f05b4c2a02542185165619ca485dc016a5741443153b716d1c62e718512", + "status": "completed" + }, + { + "path": "cells/1fc4b81523b2fbdd5da297c5af836ddbeab648d252b997e4015ddc01ad60c4e1.json", + "point_key": "grid=90;tolerance=1", + "sha256": "1fc4b81523b2fbdd5da297c5af836ddbeab648d252b997e4015ddc01ad60c4e1", + "status": "completed" + }, + { + "path": "cells/17efe2aabf94c9e66013f1bdd94df527fb026b8db8ac82106576713d9db21068.json", + "point_key": "grid=90;tolerance=0.5", + "sha256": "17efe2aabf94c9e66013f1bdd94df527fb026b8db8ac82106576713d9db21068", + "status": "completed" + }, + { + "path": "cells/9bc7382edaf0fb10ab3360812f695590b5e7f29f82a7f52c4cb92c970256d799.json", + "point_key": "grid=90;tolerance=0.25", + "sha256": "9bc7382edaf0fb10ab3360812f695590b5e7f29f82a7f52c4cb92c970256d799", + "status": "completed" + } + ], + "environment_sha256": "8a9cacccab628ed7690dc2b3e0f1bf707d74223a6962feeda2bd6a7c041a141e" + }, + "certificates": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/InterfaceChargeQfDcJvV1/72ec9fe722f6bcaa26dcb92044452f85fe9fd964670e646daede5a198beb46eb/Certificates/b08bd323e50c8efb9ee7f51428c35a480960c0c39edc65b8500831c4eee5a52d.json", + "sha256": "d97f8f9dfcba6208b13dba56e3fefab2c5f52641b8a893f5c82ee5302dc838d3", + "role": "historical_certificates" + }, + "declared_content_id": "b08bd323e50c8efb9ee7f51428c35a480960c0c39edc65b8500831c4eee5a52d", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "certified", + "declared_lane_id": "InterfaceChargeQfDcJvV1", + "source_commit": "3fa71d60effb57a49140574c5abd3b400fb5ec1a", + "source_fingerprint_sha256": "7dfbe6dc39e462abb7c9c3231924e56046a42afabae570cb63f7828e29bbb8e8", + "config_sha256": "5f4bbf89cf2d95fb020cdc9ade111d838ed38cc1c14a722e5fd800e30c6590c1", + "lane_definition_sha256": "aec4c79498164d99bd86634ebc2800a1d95ca3e5a94ecb1f1931fe5d0404f03c", + "completed_cells": 9, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": 0, + "artifact_pointers": [], + "environment_sha256": "8a9cacccab628ed7690dc2b3e0f1bf707d74223a6962feeda2bd6a7c041a141e" + } + } + ], + "status": "historical_records_located" + }, + { + "capability_id": "lane-ee113ad477b8697e", + "lane": "interface-recombination-charge-off", + "archive_directory": "results/NumericalRefinement/InterfaceRecombinationChargeOff", + "runs": [ + { + "run_directory": "results/NumericalRefinement/InterfaceRecombinationChargeOff/5e8b3aa4b8a67f3e1b3730038eeea987d58b804891baf3e988ecfd12581fe991", + "state": { + "root": "archive", + "path": "results/NumericalRefinement/InterfaceRecombinationChargeOff/5e8b3aa4b8a67f3e1b3730038eeea987d58b804891baf3e988ecfd12581fe991/State.json", + "sha256": "54c2c36f316b3aba8eb12ca6e02c2ad75bbbcd776a7ae7d1afa44191d70c6eeb", + "role": "old_result_state" + }, + "declared_run_id": "5e8b3aa4b8a67f3e1b3730038eeea987d58b804891baf3e988ecfd12581fe991", + "binding_status": "located_not_recertified", + "manifests": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/InterfaceRecombinationChargeOff/5e8b3aa4b8a67f3e1b3730038eeea987d58b804891baf3e988ecfd12581fe991/Manifests/705bef9868a645d6c310c48ac7b3cc6df52fe0798bc8df0f4328566ff8004187.json", + "sha256": "09969fa3598f5bdd9d0abf955a38be2b96547916a4430d9aa1788ec54a3b439c", + "role": "historical_manifests" + }, + "declared_content_id": "705bef9868a645d6c310c48ac7b3cc6df52fe0798bc8df0f4328566ff8004187", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "complete", + "declared_lane_id": "InterfaceRecombinationChargeOff", + "source_commit": "a6d9e0a1e25920bea80aeaefbe7f9947de5d08cb", + "source_fingerprint_sha256": "b734ca86654786176d3f55d031cdb6bc5a5770ee61e3bfaaac8931e6334b4283", + "config_sha256": null, + "lane_definition_sha256": "9fa75130ef3f697ec0b29d55118b67b2966ce491af800c96a0d3ba916a35f32e", + "completed_cells": null, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": null, + "artifact_pointers": [ + { + "path": "cells/daf5fc0f4438ccb0a2b853f47e5452e80c4e3eab6dd74aa2d4e086f18ad8f1bc.json", + "point_key": "grid=30;tolerance=1", + "sha256": "daf5fc0f4438ccb0a2b853f47e5452e80c4e3eab6dd74aa2d4e086f18ad8f1bc", + "status": "completed" + }, + { + "path": "cells/1c5e4ffa56c2a58c953e446cab01989f8f00e977d5f9984a121f1625cebe5211.json", + "point_key": "grid=30;tolerance=0.5", + "sha256": "1c5e4ffa56c2a58c953e446cab01989f8f00e977d5f9984a121f1625cebe5211", + "status": "completed" + }, + { + "path": "cells/3e6f4e693b05c201d78ad898f6945158386b909e9d3b6bf585c892d782eaab67.json", + "point_key": "grid=30;tolerance=0.25", + "sha256": "3e6f4e693b05c201d78ad898f6945158386b909e9d3b6bf585c892d782eaab67", + "status": "completed" + }, + { + "path": "cells/90c39c3855be9115f60745bcfc57a9e45cccfda8c11ef0cdf8cc2af603f5c461.json", + "point_key": "grid=60;tolerance=1", + "sha256": "90c39c3855be9115f60745bcfc57a9e45cccfda8c11ef0cdf8cc2af603f5c461", + "status": "completed" + }, + { + "path": "cells/c8fd545d183fc2e801d6858049b9c5505f391cddf739b0b6842870148604ca24.json", + "point_key": "grid=60;tolerance=0.5", + "sha256": "c8fd545d183fc2e801d6858049b9c5505f391cddf739b0b6842870148604ca24", + "status": "completed" + }, + { + "path": "cells/deefcd6804b2d967df43609b143c568630905b3bdc55d42730b3770cfb6e85b5.json", + "point_key": "grid=60;tolerance=0.25", + "sha256": "deefcd6804b2d967df43609b143c568630905b3bdc55d42730b3770cfb6e85b5", + "status": "completed" + }, + { + "path": "cells/a38124b098161711a831fdd1d7786b5da41f724a0b31cdb5058bd76a1ab0d1fd.json", + "point_key": "grid=90;tolerance=1", + "sha256": "a38124b098161711a831fdd1d7786b5da41f724a0b31cdb5058bd76a1ab0d1fd", + "status": "completed" + }, + { + "path": "cells/ac40ea7797b6a84f7b8b9ffe3006f3f461ccb88c2353d15f2919127a33b8f11a.json", + "point_key": "grid=90;tolerance=0.5", + "sha256": "ac40ea7797b6a84f7b8b9ffe3006f3f461ccb88c2353d15f2919127a33b8f11a", + "status": "completed" + }, + { + "path": "cells/f9a6cc5784be6ceab0018f45f28cfff34b19d767d54388d9d09742b8f347ca71.json", + "point_key": "grid=90;tolerance=0.25", + "sha256": "f9a6cc5784be6ceab0018f45f28cfff34b19d767d54388d9d09742b8f347ca71", + "status": "completed" + } + ], + "environment_sha256": "197e3085b43d4d83ae9bd5fef2bd7f038a2dda3a888bf16c1a02804ec0cb8c27" + }, + "certificates": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/InterfaceRecombinationChargeOff/5e8b3aa4b8a67f3e1b3730038eeea987d58b804891baf3e988ecfd12581fe991/Certificates/66bacf74c9326017972172b76f9fe1f53b52eceea21b660f0a6bea99b36e2f5c.json", + "sha256": "71170ba2ef65f4920ebb1d1ee26d82a894218acf3962eb153bd1832faa2dd0ab", + "role": "historical_certificates" + }, + "declared_content_id": "66bacf74c9326017972172b76f9fe1f53b52eceea21b660f0a6bea99b36e2f5c", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "partial", + "declared_lane_id": "InterfaceRecombinationChargeOff", + "source_commit": "a6d9e0a1e25920bea80aeaefbe7f9947de5d08cb", + "source_fingerprint_sha256": "b734ca86654786176d3f55d031cdb6bc5a5770ee61e3bfaaac8931e6334b4283", + "config_sha256": "300f57a256dc764995b916a55b98b642ecd8244eccd2ca456624d9521e0e2705", + "lane_definition_sha256": "9fa75130ef3f697ec0b29d55118b67b2966ce491af800c96a0d3ba916a35f32e", + "completed_cells": 9, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": 0, + "artifact_pointers": [], + "environment_sha256": "197e3085b43d4d83ae9bd5fef2bd7f038a2dda3a888bf16c1a02804ec0cb8c27" + } + }, + { + "run_directory": "results/NumericalRefinement/InterfaceRecombinationChargeOff/6930cd68ca7f0d531c269321e719163bf4079c0d07762bfc7a7275c3f4678722", + "state": { + "root": "archive", + "path": "results/NumericalRefinement/InterfaceRecombinationChargeOff/6930cd68ca7f0d531c269321e719163bf4079c0d07762bfc7a7275c3f4678722/State.json", + "sha256": "dad1b2c118a3fc3a663fc4bade9271d872d779e51a3d009fafc356a86f746d98", + "role": "old_result_state" + }, + "declared_run_id": "6930cd68ca7f0d531c269321e719163bf4079c0d07762bfc7a7275c3f4678722", + "binding_status": "located_not_recertified", + "manifests": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/InterfaceRecombinationChargeOff/6930cd68ca7f0d531c269321e719163bf4079c0d07762bfc7a7275c3f4678722/Manifests/a6549b2d0f8478321f00f96c84902b64753b9c53fd415c329177451692b3466e.json", + "sha256": "fdae697fa73ec5639326e6e17eccb9427f866ee62c6c7b7ae9b303db8baad8e5", + "role": "historical_manifests" + }, + "declared_content_id": "a6549b2d0f8478321f00f96c84902b64753b9c53fd415c329177451692b3466e", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "complete", + "declared_lane_id": "InterfaceRecombinationChargeOff", + "source_commit": "851406a7bc173360c3c14f5fc28824f278828859", + "source_fingerprint_sha256": "d13b9a8cc25b134e38098a9462cd25ec3bfc4863ee121607195be452ba634d75", + "config_sha256": null, + "lane_definition_sha256": "4b9e9a2b07e989ba8d027d18a03e34b4d989a74ed72cd891c1e50cfd95a6edc1", + "completed_cells": null, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": null, + "artifact_pointers": [ + { + "path": "cells/0a1d3e2bd81844b52e8a9b6c486e90a844fee93c2385d7839315bfb442181dc2.json", + "point_key": "grid=30;tolerance=1", + "sha256": "0a1d3e2bd81844b52e8a9b6c486e90a844fee93c2385d7839315bfb442181dc2", + "status": "completed" + }, + { + "path": "cells/148912602c4c680c47d1e47642ed7346bdb9224cf4c8b122d27b1760d9731b87.json", + "point_key": "grid=30;tolerance=0.5", + "sha256": "148912602c4c680c47d1e47642ed7346bdb9224cf4c8b122d27b1760d9731b87", + "status": "completed" + }, + { + "path": "cells/f14e7769e8e0f496f3d241e5011bf5d3ade6d195546c4bf86172cc28ea49cdba.json", + "point_key": "grid=30;tolerance=0.25", + "sha256": "f14e7769e8e0f496f3d241e5011bf5d3ade6d195546c4bf86172cc28ea49cdba", + "status": "completed" + }, + { + "path": "cells/7eee8ca79919c080109ed2bf35b76eea98f15554e4b48406e403144db0d769c1.json", + "point_key": "grid=60;tolerance=1", + "sha256": "7eee8ca79919c080109ed2bf35b76eea98f15554e4b48406e403144db0d769c1", + "status": "completed" + }, + { + "path": "cells/3b808fb7bcd5e50a07ffb3557c06c21885b9a8b39087a0fd1d76b53ae97d79b7.json", + "point_key": "grid=60;tolerance=0.5", + "sha256": "3b808fb7bcd5e50a07ffb3557c06c21885b9a8b39087a0fd1d76b53ae97d79b7", + "status": "completed" + }, + { + "path": "cells/a34177c19242113c0b6afc65ec92002119b062e3de04f70fc3b2bef12e4f71ed.json", + "point_key": "grid=60;tolerance=0.25", + "sha256": "a34177c19242113c0b6afc65ec92002119b062e3de04f70fc3b2bef12e4f71ed", + "status": "completed" + }, + { + "path": "cells/1269b565ade75cf29b49986c9d2d6634211fa6d3dcfb36f3e127d23e1a4cd7f5.json", + "point_key": "grid=90;tolerance=1", + "sha256": "1269b565ade75cf29b49986c9d2d6634211fa6d3dcfb36f3e127d23e1a4cd7f5", + "status": "completed" + }, + { + "path": "cells/a4296dcf30daf43a6f6d1ba255dda7225a32e16ec37f95cd6c39fddeadaaaf90.json", + "point_key": "grid=90;tolerance=0.5", + "sha256": "a4296dcf30daf43a6f6d1ba255dda7225a32e16ec37f95cd6c39fddeadaaaf90", + "status": "completed" + }, + { + "path": "cells/04fcb90e7033cf1f07a896eafc7bf359eb0ac448486c6bcee2f2f5c0b0b13e2a.json", + "point_key": "grid=90;tolerance=0.25", + "sha256": "04fcb90e7033cf1f07a896eafc7bf359eb0ac448486c6bcee2f2f5c0b0b13e2a", + "status": "completed" + } + ], + "environment_sha256": "8a9cacccab628ed7690dc2b3e0f1bf707d74223a6962feeda2bd6a7c041a141e" + }, + "certificates": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/InterfaceRecombinationChargeOff/6930cd68ca7f0d531c269321e719163bf4079c0d07762bfc7a7275c3f4678722/Certificates/a4b131062885c5cb89d56a1c3b81246dec8b7980ad35e0b89994c704e894057d.json", + "sha256": "ea589edc25051fc79cd9147bae15559b580f898625c89f1cdbd73655b119ed4f", + "role": "historical_certificates" + }, + "declared_content_id": "a4b131062885c5cb89d56a1c3b81246dec8b7980ad35e0b89994c704e894057d", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "certified", + "declared_lane_id": "InterfaceRecombinationChargeOff", + "source_commit": "851406a7bc173360c3c14f5fc28824f278828859", + "source_fingerprint_sha256": "d13b9a8cc25b134e38098a9462cd25ec3bfc4863ee121607195be452ba634d75", + "config_sha256": "300f57a256dc764995b916a55b98b642ecd8244eccd2ca456624d9521e0e2705", + "lane_definition_sha256": "4b9e9a2b07e989ba8d027d18a03e34b4d989a74ed72cd891c1e50cfd95a6edc1", + "completed_cells": 9, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": 0, + "artifact_pointers": [], + "environment_sha256": "8a9cacccab628ed7690dc2b3e0f1bf707d74223a6962feeda2bd6a7c041a141e" + } + }, + { + "run_directory": "results/NumericalRefinement/InterfaceRecombinationChargeOff/892bd79e839134d2cda27662a151bd887a44e1865e296320fbe1c47eae7dfaba", + "state": { + "root": "archive", + "path": "results/NumericalRefinement/InterfaceRecombinationChargeOff/892bd79e839134d2cda27662a151bd887a44e1865e296320fbe1c47eae7dfaba/State.json", + "sha256": "a3dcf310dfda1c968ca2a8a130aa898efb4ce08d16f0fd12b020117ce5a36d42", + "role": "old_result_state" + }, + "declared_run_id": "892bd79e839134d2cda27662a151bd887a44e1865e296320fbe1c47eae7dfaba", + "binding_status": "located_not_recertified", + "manifests": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/InterfaceRecombinationChargeOff/892bd79e839134d2cda27662a151bd887a44e1865e296320fbe1c47eae7dfaba/Manifests/83beac5ff9d5727b9ea265f50575c05ad6b0685e77d5449015b2d63625da89b3.json", + "sha256": "1176990af0e801fb7fd4712128b1b4e27e97645cf978dbfb9512dbbfd801736f", + "role": "historical_manifests" + }, + "declared_content_id": "83beac5ff9d5727b9ea265f50575c05ad6b0685e77d5449015b2d63625da89b3", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "complete_with_failures", + "declared_lane_id": "InterfaceRecombinationChargeOff", + "source_commit": "5b90e6e3b7ea54e60f03fd40881b79b3efdb45ed", + "source_fingerprint_sha256": "544278287c5483ad5d67da9f79a1c99cd440dbc69421b8e1c088cdaee530a9a5", + "config_sha256": null, + "lane_definition_sha256": "462387e0cdb64d2df72e75a0dda0c1d04ded6869176a077b246eb2b90d181020", + "completed_cells": null, + "expected_cells_count": 9, + "failed_cells_count": 9, + "missing_cells_count": null, + "artifact_pointers": [ + { + "path": "cells/c0f98a1c8dad931d6a0d3f54971a670071ff274e4146a2732b6d56d7d123b12e.json", + "point_key": "grid=30;tolerance=1", + "sha256": "c0f98a1c8dad931d6a0d3f54971a670071ff274e4146a2732b6d56d7d123b12e", + "status": "failed" + }, + { + "path": "cells/4e3e589e0acf356aeb1490a62791d15595640c8215d626d7d0ea7fdf98b03a25.json", + "point_key": "grid=30;tolerance=0.1", + "sha256": "4e3e589e0acf356aeb1490a62791d15595640c8215d626d7d0ea7fdf98b03a25", + "status": "failed" + }, + { + "path": "cells/d273e462fd8b66ab181cd7ea95ba2b5686f2e1280dbb3abec2ae669d01f5397f.json", + "point_key": "grid=30;tolerance=0.01", + "sha256": "d273e462fd8b66ab181cd7ea95ba2b5686f2e1280dbb3abec2ae669d01f5397f", + "status": "failed" + }, + { + "path": "cells/9e4ab19989c0af8a49fdbfc1faab660e28d1b357a9363677e5745365d94b2709.json", + "point_key": "grid=60;tolerance=1", + "sha256": "9e4ab19989c0af8a49fdbfc1faab660e28d1b357a9363677e5745365d94b2709", + "status": "failed" + }, + { + "path": "cells/a62f309e7f6dd493c8eb9abb5051e2d90e90d7d40df2fb3cc95d63fa91b600d1.json", + "point_key": "grid=60;tolerance=0.1", + "sha256": "a62f309e7f6dd493c8eb9abb5051e2d90e90d7d40df2fb3cc95d63fa91b600d1", + "status": "failed" + }, + { + "path": "cells/8e0e00cc5937bc1ba89db2a207945dc374a55c10f12f5d0aab5f9d053b186348.json", + "point_key": "grid=60;tolerance=0.01", + "sha256": "8e0e00cc5937bc1ba89db2a207945dc374a55c10f12f5d0aab5f9d053b186348", + "status": "failed" + }, + { + "path": "cells/047af388ec4a356591167e879e578e8a7515f4102e3f100d38aff0e07e4819dd.json", + "point_key": "grid=90;tolerance=1", + "sha256": "047af388ec4a356591167e879e578e8a7515f4102e3f100d38aff0e07e4819dd", + "status": "failed" + }, + { + "path": "cells/0deb0416abe81541bf23a53028df14499af430636f97d7e31fed88fcd8f437fa.json", + "point_key": "grid=90;tolerance=0.1", + "sha256": "0deb0416abe81541bf23a53028df14499af430636f97d7e31fed88fcd8f437fa", + "status": "failed" + }, + { + "path": "cells/2375af51448c64c9307c33e10dfec87f6ef89a615a47c2f973b565a0524731df.json", + "point_key": "grid=90;tolerance=0.01", + "sha256": "2375af51448c64c9307c33e10dfec87f6ef89a615a47c2f973b565a0524731df", + "status": "failed" + } + ], + "environment_sha256": "5612564132a2c090d4c09f6da7ac0720986483b95ad71cbfec5e4f6276980c10" + }, + "certificates": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/InterfaceRecombinationChargeOff/892bd79e839134d2cda27662a151bd887a44e1865e296320fbe1c47eae7dfaba/Certificates/0206db5c7ef4b617a456b53b48f9a865b188ea561b3c4b3c731a830723aa4367.json", + "sha256": "164217c051a7a0c3c110084f3fef4ef9d9010790a57c3976f44ba8b6854305ec", + "role": "historical_certificates" + }, + "declared_content_id": "0206db5c7ef4b617a456b53b48f9a865b188ea561b3c4b3c731a830723aa4367", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "failed", + "declared_lane_id": "InterfaceRecombinationChargeOff", + "source_commit": "5b90e6e3b7ea54e60f03fd40881b79b3efdb45ed", + "source_fingerprint_sha256": "544278287c5483ad5d67da9f79a1c99cd440dbc69421b8e1c088cdaee530a9a5", + "config_sha256": "538fed52f0d40123ecc1b8a4c1391616f9f35a93637157f3374e90fc8f43c344", + "lane_definition_sha256": "462387e0cdb64d2df72e75a0dda0c1d04ded6869176a077b246eb2b90d181020", + "completed_cells": 0, + "expected_cells_count": 9, + "failed_cells_count": 9, + "missing_cells_count": 0, + "artifact_pointers": [], + "environment_sha256": "5612564132a2c090d4c09f6da7ac0720986483b95ad71cbfec5e4f6276980c10" + } + }, + { + "run_directory": "results/NumericalRefinement/InterfaceRecombinationChargeOff/c6b18e4b8500b0611df2355d4fed4f849723618f25ea4833c395ad898ed3d9ba", + "state": { + "root": "archive", + "path": "results/NumericalRefinement/InterfaceRecombinationChargeOff/c6b18e4b8500b0611df2355d4fed4f849723618f25ea4833c395ad898ed3d9ba/State.json", + "sha256": "ff85c24388d0710a0e9731f063ce599e67764634cc5cae18642a41f6f1256909", + "role": "old_result_state" + }, + "declared_run_id": "c6b18e4b8500b0611df2355d4fed4f849723618f25ea4833c395ad898ed3d9ba", + "binding_status": "located_not_recertified", + "manifests": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/InterfaceRecombinationChargeOff/c6b18e4b8500b0611df2355d4fed4f849723618f25ea4833c395ad898ed3d9ba/Manifests/fad7b4451b1baf5ab08f0181ea6b062d9fb31c299b50d22a9c38832e573f338d.json", + "sha256": "0361753996340fd39c056442cfe591ce1753f6a0af86d669c4bd191d54194914", + "role": "historical_manifests" + }, + "declared_content_id": "fad7b4451b1baf5ab08f0181ea6b062d9fb31c299b50d22a9c38832e573f338d", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "running", + "declared_lane_id": "InterfaceRecombinationChargeOff", + "source_commit": "5b90e6e3b7ea54e60f03fd40881b79b3efdb45ed", + "source_fingerprint_sha256": "941655cdd29c937a105ab7fc1f599dc151a3b6a99411ffa62abe29f6de69e8fd", + "config_sha256": null, + "lane_definition_sha256": "1eb23659a080224490b64b13b5e80d4be4a14b311d7f3e8bc40fe5d4c1a65451", + "completed_cells": null, + "expected_cells_count": 9, + "failed_cells_count": 1, + "missing_cells_count": null, + "artifact_pointers": [ + { + "path": "cells/9d4261bb6860362b436eaf7464c33c2f04e53bcfce9fddf1bc58d9e5f351dcbd.json", + "point_key": "grid=30;tolerance=1", + "sha256": "9d4261bb6860362b436eaf7464c33c2f04e53bcfce9fddf1bc58d9e5f351dcbd", + "status": "failed" + } + ], + "environment_sha256": "a8f568bbe35d22a1e9cd6ea3d71c5ac906be0963710d45176f64eb548117d833" + }, + "certificates": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/InterfaceRecombinationChargeOff/c6b18e4b8500b0611df2355d4fed4f849723618f25ea4833c395ad898ed3d9ba/Certificates/787c9941583cc7e73e624cfc3bc038e72ec8425ccba7a3d4eaa8f2d1ef8e0c7e.json", + "sha256": "cb90a1a740f3f30cd29d670b2c2194c11709fed4efb87e6958ed1ef7b5d21acc", + "role": "historical_certificates" + }, + "declared_content_id": "787c9941583cc7e73e624cfc3bc038e72ec8425ccba7a3d4eaa8f2d1ef8e0c7e", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "failed", + "declared_lane_id": "InterfaceRecombinationChargeOff", + "source_commit": "5b90e6e3b7ea54e60f03fd40881b79b3efdb45ed", + "source_fingerprint_sha256": "941655cdd29c937a105ab7fc1f599dc151a3b6a99411ffa62abe29f6de69e8fd", + "config_sha256": "538fed52f0d40123ecc1b8a4c1391616f9f35a93637157f3374e90fc8f43c344", + "lane_definition_sha256": "1eb23659a080224490b64b13b5e80d4be4a14b311d7f3e8bc40fe5d4c1a65451", + "completed_cells": 0, + "expected_cells_count": 9, + "failed_cells_count": 1, + "missing_cells_count": 8, + "artifact_pointers": [], + "environment_sha256": "a8f568bbe35d22a1e9cd6ea3d71c5ac906be0963710d45176f64eb548117d833" + } + }, + { + "run_directory": "results/NumericalRefinement/InterfaceRecombinationChargeOff/cf8550369cf8e03c8bf2523f8959990fc67b477650718c9fe2519b17e520dd38", + "state": { + "root": "archive", + "path": "results/NumericalRefinement/InterfaceRecombinationChargeOff/cf8550369cf8e03c8bf2523f8959990fc67b477650718c9fe2519b17e520dd38/State.json", + "sha256": "2662b9e490c3b2980d3da54d1a1e71305f1f489a2bec53463f67875ef7b50c55", + "role": "old_result_state" + }, + "declared_run_id": "cf8550369cf8e03c8bf2523f8959990fc67b477650718c9fe2519b17e520dd38", + "binding_status": "located_not_recertified", + "manifests": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/InterfaceRecombinationChargeOff/cf8550369cf8e03c8bf2523f8959990fc67b477650718c9fe2519b17e520dd38/Manifests/adf07131ef470b98ae38eba757b15be7cd7747610951fc5bb2a1c34c64607805.json", + "sha256": "e7ede282e92b7b4fed6dd5136c1093adf0c1b29a48de425749150655d07e1611", + "role": "historical_manifests" + }, + "declared_content_id": "adf07131ef470b98ae38eba757b15be7cd7747610951fc5bb2a1c34c64607805", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "complete_with_failures", + "declared_lane_id": "InterfaceRecombinationChargeOff", + "source_commit": "5b90e6e3b7ea54e60f03fd40881b79b3efdb45ed", + "source_fingerprint_sha256": "36d7c5622cec4a7b2a3c94921994245a84ed58e24d5acc2feb06f8555ac02633", + "config_sha256": null, + "lane_definition_sha256": "1eb23659a080224490b64b13b5e80d4be4a14b311d7f3e8bc40fe5d4c1a65451", + "completed_cells": null, + "expected_cells_count": 9, + "failed_cells_count": 9, + "missing_cells_count": null, + "artifact_pointers": [ + { + "path": "cells/4cfcea6238f1d0dc2599d0bb61738196cce5979ac87eb031987148e896c0f842.json", + "point_key": "grid=30;tolerance=1", + "sha256": "4cfcea6238f1d0dc2599d0bb61738196cce5979ac87eb031987148e896c0f842", + "status": "failed" + }, + { + "path": "cells/2fecb557b7c4f6ca137cc43dc53ac6f345be8f5d6b63733a464b0b61f0084d98.json", + "point_key": "grid=30;tolerance=0.1", + "sha256": "2fecb557b7c4f6ca137cc43dc53ac6f345be8f5d6b63733a464b0b61f0084d98", + "status": "failed" + }, + { + "path": "cells/0b6e23f0a7138ffa8c4dbc11fccfe5310f73b5b8be0b50714543011d328e2543.json", + "point_key": "grid=30;tolerance=0.01", + "sha256": "0b6e23f0a7138ffa8c4dbc11fccfe5310f73b5b8be0b50714543011d328e2543", + "status": "failed" + }, + { + "path": "cells/d9418656fa031ac3bbcc933ad8acb15f28a3b5f4c87f4e01107b0f6b6f65e0b5.json", + "point_key": "grid=60;tolerance=1", + "sha256": "d9418656fa031ac3bbcc933ad8acb15f28a3b5f4c87f4e01107b0f6b6f65e0b5", + "status": "failed" + }, + { + "path": "cells/ad7a1fc6594451f3b79dd8a289d192419911ce7ae28036a94c17c6873bf78d8e.json", + "point_key": "grid=60;tolerance=0.1", + "sha256": "ad7a1fc6594451f3b79dd8a289d192419911ce7ae28036a94c17c6873bf78d8e", + "status": "failed" + }, + { + "path": "cells/627adfa95c7d556aa532b093364effca1a4012a08944fe13d6292507666d6727.json", + "point_key": "grid=60;tolerance=0.01", + "sha256": "627adfa95c7d556aa532b093364effca1a4012a08944fe13d6292507666d6727", + "status": "failed" + }, + { + "path": "cells/2a9ebba04fec64f8013ac717b41ad4a758d8676939006867b00e1fba84ef85ee.json", + "point_key": "grid=90;tolerance=1", + "sha256": "2a9ebba04fec64f8013ac717b41ad4a758d8676939006867b00e1fba84ef85ee", + "status": "failed" + }, + { + "path": "cells/048062798297588e3eefbe8b29258531a5a4c58fd148072209e9ac207696d142.json", + "point_key": "grid=90;tolerance=0.1", + "sha256": "048062798297588e3eefbe8b29258531a5a4c58fd148072209e9ac207696d142", + "status": "failed" + }, + { + "path": "cells/25720def64e63b1de30c18afbfbb922d460bbec24ee70c4d656835cd34c46fe3.json", + "point_key": "grid=90;tolerance=0.01", + "sha256": "25720def64e63b1de30c18afbfbb922d460bbec24ee70c4d656835cd34c46fe3", + "status": "failed" + } + ], + "environment_sha256": "f939230f1c8d3eefa5b75660f0301c68afbb7cfcf56b0ae6178472fa832dffb6" + }, + "certificates": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/InterfaceRecombinationChargeOff/cf8550369cf8e03c8bf2523f8959990fc67b477650718c9fe2519b17e520dd38/Certificates/c38b761ff658d54061b9941aae5576bf13b0a045e136df04a98863d4b9566d7f.json", + "sha256": "e1f1a498e12a9d202b222dae22051b6ecb34ead16cd41aabd7f2e78c0768071b", + "role": "historical_certificates" + }, + "declared_content_id": "c38b761ff658d54061b9941aae5576bf13b0a045e136df04a98863d4b9566d7f", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "failed", + "declared_lane_id": "InterfaceRecombinationChargeOff", + "source_commit": "5b90e6e3b7ea54e60f03fd40881b79b3efdb45ed", + "source_fingerprint_sha256": "36d7c5622cec4a7b2a3c94921994245a84ed58e24d5acc2feb06f8555ac02633", + "config_sha256": "538fed52f0d40123ecc1b8a4c1391616f9f35a93637157f3374e90fc8f43c344", + "lane_definition_sha256": "1eb23659a080224490b64b13b5e80d4be4a14b311d7f3e8bc40fe5d4c1a65451", + "completed_cells": 0, + "expected_cells_count": 9, + "failed_cells_count": 9, + "missing_cells_count": 0, + "artifact_pointers": [], + "environment_sha256": "f939230f1c8d3eefa5b75660f0301c68afbb7cfcf56b0ae6178472fa832dffb6" + } + }, + { + "run_directory": "results/NumericalRefinement/InterfaceRecombinationChargeOff/d0dc822393290d892e7118bcb7fabd4214b5584815f51ff9ff24f663822687e4", + "state": { + "root": "archive", + "path": "results/NumericalRefinement/InterfaceRecombinationChargeOff/d0dc822393290d892e7118bcb7fabd4214b5584815f51ff9ff24f663822687e4/State.json", + "sha256": "7cb0952f38ce8dbf1298ce2b8eca38a357bf7d77506563fa76bf4c11ff997091", + "role": "old_result_state" + }, + "declared_run_id": "d0dc822393290d892e7118bcb7fabd4214b5584815f51ff9ff24f663822687e4", + "binding_status": "located_not_recertified", + "manifests": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/InterfaceRecombinationChargeOff/d0dc822393290d892e7118bcb7fabd4214b5584815f51ff9ff24f663822687e4/Manifests/3f7b6c9f8948115e14f8d6c08d19040d4b97edc80b4f7a3b5200fd76868d1246.json", + "sha256": "3bacc1f86661d2e701dfff33783edfae8b9f135f1447ea8a96abff6a10f914fa", + "role": "historical_manifests" + }, + "declared_content_id": "3f7b6c9f8948115e14f8d6c08d19040d4b97edc80b4f7a3b5200fd76868d1246", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "complete", + "declared_lane_id": "InterfaceRecombinationChargeOff", + "source_commit": "29c94b420b0fbc03b9ddf399d1fd1a83c3c4c505", + "source_fingerprint_sha256": "bfe8ba07b38cf0cb95fcf7482bbe0d84f15ec707084af8e87d2624394e25473c", + "config_sha256": null, + "lane_definition_sha256": "4b9e9a2b07e989ba8d027d18a03e34b4d989a74ed72cd891c1e50cfd95a6edc1", + "completed_cells": null, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": null, + "artifact_pointers": [ + { + "path": "cells/7ed7a96fdfd9d66001da114711f71f9d7438756c6b7407c5ba0b1dde0aaaf4a6.json", + "point_key": "grid=30;tolerance=1", + "sha256": "7ed7a96fdfd9d66001da114711f71f9d7438756c6b7407c5ba0b1dde0aaaf4a6", + "status": "completed" + }, + { + "path": "cells/840649fb51e965059538a6dad2fea46ac9ed4a99c4924bc2da54205c64bdebff.json", + "point_key": "grid=30;tolerance=0.5", + "sha256": "840649fb51e965059538a6dad2fea46ac9ed4a99c4924bc2da54205c64bdebff", + "status": "completed" + }, + { + "path": "cells/68f70126aff557777b1f0474b58bec80d4035961f10dab3738326b3b0c68c8d9.json", + "point_key": "grid=30;tolerance=0.25", + "sha256": "68f70126aff557777b1f0474b58bec80d4035961f10dab3738326b3b0c68c8d9", + "status": "completed" + }, + { + "path": "cells/dd3f8350d14700df4e19d31ded154d577da54792c938194811b8646b747e0f26.json", + "point_key": "grid=60;tolerance=1", + "sha256": "dd3f8350d14700df4e19d31ded154d577da54792c938194811b8646b747e0f26", + "status": "completed" + }, + { + "path": "cells/2abac178235cae971aedc97fd0d9fc2fa319b659ffe6948e181737320daecda2.json", + "point_key": "grid=60;tolerance=0.5", + "sha256": "2abac178235cae971aedc97fd0d9fc2fa319b659ffe6948e181737320daecda2", + "status": "completed" + }, + { + "path": "cells/604cdf592c1d253a5419d4f1be44273f9741fcd5fd09072f0788063cf178fd04.json", + "point_key": "grid=60;tolerance=0.25", + "sha256": "604cdf592c1d253a5419d4f1be44273f9741fcd5fd09072f0788063cf178fd04", + "status": "completed" + }, + { + "path": "cells/7f8c1cafc52e96d22e954feb12900864714d1486aa2353151fce59fec6522493.json", + "point_key": "grid=90;tolerance=1", + "sha256": "7f8c1cafc52e96d22e954feb12900864714d1486aa2353151fce59fec6522493", + "status": "completed" + }, + { + "path": "cells/4a42f661670b85b000491ca89c6d4c3a796eb71c1b95e274dd83b5c6ff9d34d7.json", + "point_key": "grid=90;tolerance=0.5", + "sha256": "4a42f661670b85b000491ca89c6d4c3a796eb71c1b95e274dd83b5c6ff9d34d7", + "status": "completed" + }, + { + "path": "cells/b3d42764a349afdf72827f354f1dd66591df63545e6e25e427259ec6abc8a424.json", + "point_key": "grid=90;tolerance=0.25", + "sha256": "b3d42764a349afdf72827f354f1dd66591df63545e6e25e427259ec6abc8a424", + "status": "completed" + } + ], + "environment_sha256": "197e3085b43d4d83ae9bd5fef2bd7f038a2dda3a888bf16c1a02804ec0cb8c27" + }, + "certificates": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/InterfaceRecombinationChargeOff/d0dc822393290d892e7118bcb7fabd4214b5584815f51ff9ff24f663822687e4/Certificates/0a4fdebdf18eb0237eaa1a4bef599872745697d148461f6de25d10a6985a950b.json", + "sha256": "f1c3b3da45913c928e848b9c546c034ebc9f70f0a85e4d6802fd66ceb913def2", + "role": "historical_certificates" + }, + "declared_content_id": "0a4fdebdf18eb0237eaa1a4bef599872745697d148461f6de25d10a6985a950b", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "certified", + "declared_lane_id": "InterfaceRecombinationChargeOff", + "source_commit": "29c94b420b0fbc03b9ddf399d1fd1a83c3c4c505", + "source_fingerprint_sha256": "bfe8ba07b38cf0cb95fcf7482bbe0d84f15ec707084af8e87d2624394e25473c", + "config_sha256": "300f57a256dc764995b916a55b98b642ecd8244eccd2ca456624d9521e0e2705", + "lane_definition_sha256": "4b9e9a2b07e989ba8d027d18a03e34b4d989a74ed72cd891c1e50cfd95a6edc1", + "completed_cells": 9, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": 0, + "artifact_pointers": [], + "environment_sha256": "197e3085b43d4d83ae9bd5fef2bd7f038a2dda3a888bf16c1a02804ec0cb8c27" + } + }, + { + "run_directory": "results/NumericalRefinement/InterfaceRecombinationChargeOff/d58be0280277f4249f9427c2f9b573700937fa1e6ffe85fdc37d7dd1ffa5d151", + "state": { + "root": "archive", + "path": "results/NumericalRefinement/InterfaceRecombinationChargeOff/d58be0280277f4249f9427c2f9b573700937fa1e6ffe85fdc37d7dd1ffa5d151/State.json", + "sha256": "aa7fbf9a2c318f8591be1301a141c1256cad5b0817d534b1a55019b93692dd87", + "role": "old_result_state" + }, + "declared_run_id": "d58be0280277f4249f9427c2f9b573700937fa1e6ffe85fdc37d7dd1ffa5d151", + "binding_status": "located_not_recertified", + "manifests": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/InterfaceRecombinationChargeOff/d58be0280277f4249f9427c2f9b573700937fa1e6ffe85fdc37d7dd1ffa5d151/Manifests/a3aa40b4f2b441447a92b81f5d7a43bb017d6f15bce60b05c0ffd0e66dc80963.json", + "sha256": "ea5d3990c4cc726f29d1de537fb7c34e55ce73b9b9e81bf69b31d542727964fb", + "role": "historical_manifests" + }, + "declared_content_id": "a3aa40b4f2b441447a92b81f5d7a43bb017d6f15bce60b05c0ffd0e66dc80963", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "complete", + "declared_lane_id": "InterfaceRecombinationChargeOff", + "source_commit": "a69acebd52cb8f8a920f495544e8aa8d124b8675", + "source_fingerprint_sha256": "f19257b1ebd3923e0d8ab9c8510864e7191673534336eb7901543377a8c0ea85", + "config_sha256": null, + "lane_definition_sha256": "4b9e9a2b07e989ba8d027d18a03e34b4d989a74ed72cd891c1e50cfd95a6edc1", + "completed_cells": null, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": null, + "artifact_pointers": [ + { + "path": "cells/c4623c749a29092ec66e34e5aa9ef9c357dbffb473d89561d2085923ad326a43.json", + "point_key": "grid=30;tolerance=1", + "sha256": "c4623c749a29092ec66e34e5aa9ef9c357dbffb473d89561d2085923ad326a43", + "status": "completed" + }, + { + "path": "cells/026c6cba958853096421b2209a25c83c2392c6f20389c62b87a671b5473a6fbb.json", + "point_key": "grid=30;tolerance=0.5", + "sha256": "026c6cba958853096421b2209a25c83c2392c6f20389c62b87a671b5473a6fbb", + "status": "completed" + }, + { + "path": "cells/eb741af2825bd02fa805772642a5d489c1fe5ab0c2429a54338dd138487eace5.json", + "point_key": "grid=30;tolerance=0.25", + "sha256": "eb741af2825bd02fa805772642a5d489c1fe5ab0c2429a54338dd138487eace5", + "status": "completed" + }, + { + "path": "cells/b921cb9114faf888730c0f28290df6b45cd5f53c4016c621dca9fe85cbfdbd35.json", + "point_key": "grid=60;tolerance=1", + "sha256": "b921cb9114faf888730c0f28290df6b45cd5f53c4016c621dca9fe85cbfdbd35", + "status": "completed" + }, + { + "path": "cells/ee6ce55487e1507f9415484b0fe89e451bd5f2cc1649199a7042140432b657cd.json", + "point_key": "grid=60;tolerance=0.5", + "sha256": "ee6ce55487e1507f9415484b0fe89e451bd5f2cc1649199a7042140432b657cd", + "status": "completed" + }, + { + "path": "cells/c29b453cded808a70dd9b82e9aa94db0608897818c953727fe83b06da1686763.json", + "point_key": "grid=60;tolerance=0.25", + "sha256": "c29b453cded808a70dd9b82e9aa94db0608897818c953727fe83b06da1686763", + "status": "completed" + }, + { + "path": "cells/26eca343ad658697b916e87f8276f215af946ed1462c77b185237bc55ea948d8.json", + "point_key": "grid=90;tolerance=1", + "sha256": "26eca343ad658697b916e87f8276f215af946ed1462c77b185237bc55ea948d8", + "status": "completed" + }, + { + "path": "cells/a1687a1c5527b4630aade242a2ccceb65a9966745586fe81d06aab26e1ff06a8.json", + "point_key": "grid=90;tolerance=0.5", + "sha256": "a1687a1c5527b4630aade242a2ccceb65a9966745586fe81d06aab26e1ff06a8", + "status": "completed" + }, + { + "path": "cells/8c682e249760265ea573a2c0e1114c4a679ae3ac8c58c147c34b9c27d007c1e0.json", + "point_key": "grid=90;tolerance=0.25", + "sha256": "8c682e249760265ea573a2c0e1114c4a679ae3ac8c58c147c34b9c27d007c1e0", + "status": "completed" + } + ], + "environment_sha256": "8a9cacccab628ed7690dc2b3e0f1bf707d74223a6962feeda2bd6a7c041a141e" + }, + "certificates": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/InterfaceRecombinationChargeOff/d58be0280277f4249f9427c2f9b573700937fa1e6ffe85fdc37d7dd1ffa5d151/Certificates/6884c86e4af92ab36887a2c34426f3dc74a0e77c06105bca17242efb96edeb98.json", + "sha256": "383a4952c598fe57eca70802421871e09eff18cba233eda327c94c0820a32d88", + "role": "historical_certificates" + }, + "declared_content_id": "6884c86e4af92ab36887a2c34426f3dc74a0e77c06105bca17242efb96edeb98", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "certified", + "declared_lane_id": "InterfaceRecombinationChargeOff", + "source_commit": "a69acebd52cb8f8a920f495544e8aa8d124b8675", + "source_fingerprint_sha256": "f19257b1ebd3923e0d8ab9c8510864e7191673534336eb7901543377a8c0ea85", + "config_sha256": "300f57a256dc764995b916a55b98b642ecd8244eccd2ca456624d9521e0e2705", + "lane_definition_sha256": "4b9e9a2b07e989ba8d027d18a03e34b4d989a74ed72cd891c1e50cfd95a6edc1", + "completed_cells": 9, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": 0, + "artifact_pointers": [], + "environment_sha256": "8a9cacccab628ed7690dc2b3e0f1bf707d74223a6962feeda2bd6a7c041a141e" + } + }, + { + "run_directory": "results/NumericalRefinement/InterfaceRecombinationChargeOff/df32e0f4b59ebb87f14d3f25fc00b346e80b87f8d69f60c67690841c29ecd0c2", + "state": { + "root": "archive", + "path": "results/NumericalRefinement/InterfaceRecombinationChargeOff/df32e0f4b59ebb87f14d3f25fc00b346e80b87f8d69f60c67690841c29ecd0c2/State.json", + "sha256": "83f1aa67e265e8d0d93dd29745ad93c0853b073cdce9e471ad2a522bccc40a37", + "role": "old_result_state" + }, + "declared_run_id": "df32e0f4b59ebb87f14d3f25fc00b346e80b87f8d69f60c67690841c29ecd0c2", + "binding_status": "located_not_recertified", + "manifests": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/InterfaceRecombinationChargeOff/df32e0f4b59ebb87f14d3f25fc00b346e80b87f8d69f60c67690841c29ecd0c2/Manifests/4270f0f85d86af486f9c5b0393b7b58e3f145431e4f5dc8182c15e6330fc8b4e.json", + "sha256": "9a98f6e05773f1427b353c9647fdc879548913816594d5e0636c908b590e4123", + "role": "historical_manifests" + }, + "declared_content_id": "4270f0f85d86af486f9c5b0393b7b58e3f145431e4f5dc8182c15e6330fc8b4e", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "running", + "declared_lane_id": "InterfaceRecombinationChargeOff", + "source_commit": "15e33061cf3b11cf44cd89ed3a9c67406274a336", + "source_fingerprint_sha256": "9566156f030060354ea71c8c631a8817cb04f0492adc7dc80534fb92ba02b743", + "config_sha256": null, + "lane_definition_sha256": "9fa75130ef3f697ec0b29d55118b67b2966ce491af800c96a0d3ba916a35f32e", + "completed_cells": null, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": null, + "artifact_pointers": [ + { + "path": "cells/68adc786f59f88e5055a25982ff1b5a0fca8254dbd277b238d7933415b14b6ba.json", + "point_key": "grid=30;tolerance=1", + "sha256": "68adc786f59f88e5055a25982ff1b5a0fca8254dbd277b238d7933415b14b6ba", + "status": "completed" + }, + { + "path": "cells/64f2ca2e4745d27c6c3fbb77a1924d8928207206c139493be6a21d4040b398f2.json", + "point_key": "grid=30;tolerance=0.5", + "sha256": "64f2ca2e4745d27c6c3fbb77a1924d8928207206c139493be6a21d4040b398f2", + "status": "completed" + }, + { + "path": "cells/0c588d4e3557fb933bb14a28e505d53656f201411a1a1bc4c36b6cacb1dd723f.json", + "point_key": "grid=30;tolerance=0.25", + "sha256": "0c588d4e3557fb933bb14a28e505d53656f201411a1a1bc4c36b6cacb1dd723f", + "status": "completed" + } + ], + "environment_sha256": "197e3085b43d4d83ae9bd5fef2bd7f038a2dda3a888bf16c1a02804ec0cb8c27" + }, + "certificates": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/InterfaceRecombinationChargeOff/df32e0f4b59ebb87f14d3f25fc00b346e80b87f8d69f60c67690841c29ecd0c2/Certificates/2b584a50e3d87a0aae2aba65c5196036d81e0795952d26d87aafbe2ee62f2833.json", + "sha256": "13bbc0c095a42009e31dfe3271980c9b18793f9f8957da0d8be57acb6b1815a1", + "role": "historical_certificates" + }, + "declared_content_id": "2b584a50e3d87a0aae2aba65c5196036d81e0795952d26d87aafbe2ee62f2833", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "failed", + "declared_lane_id": "InterfaceRecombinationChargeOff", + "source_commit": "15e33061cf3b11cf44cd89ed3a9c67406274a336", + "source_fingerprint_sha256": "9566156f030060354ea71c8c631a8817cb04f0492adc7dc80534fb92ba02b743", + "config_sha256": "300f57a256dc764995b916a55b98b642ecd8244eccd2ca456624d9521e0e2705", + "lane_definition_sha256": "9fa75130ef3f697ec0b29d55118b67b2966ce491af800c96a0d3ba916a35f32e", + "completed_cells": 3, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": 6, + "artifact_pointers": [], + "environment_sha256": "197e3085b43d4d83ae9bd5fef2bd7f038a2dda3a888bf16c1a02804ec0cb8c27" + } + } + ], + "status": "historical_records_located" + }, + { + "capability_id": "lane-84ef85f524daf74b", + "lane": "interface-srh-identifiability-synthetic-v1", + "archive_directory": "results/NumericalRefinement/InterfaceSrhIdentifiabilitySyntheticV1", + "runs": [ + { + "run_directory": "results/NumericalRefinement/InterfaceSrhIdentifiabilitySyntheticV1/1069402cb1c90f32255aa6063a30c07500a4d92cb609ec3900cc78f3d9ea8f54", + "state": { + "root": "archive", + "path": "results/NumericalRefinement/InterfaceSrhIdentifiabilitySyntheticV1/1069402cb1c90f32255aa6063a30c07500a4d92cb609ec3900cc78f3d9ea8f54/State.json", + "sha256": "1dcf887837b821b7ccea78c9c1eb0ad66ab5a8333a44d36dfc3dc88b27c83a32", + "role": "old_result_state" + }, + "declared_run_id": "1069402cb1c90f32255aa6063a30c07500a4d92cb609ec3900cc78f3d9ea8f54", + "binding_status": "located_not_recertified", + "manifests": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/InterfaceSrhIdentifiabilitySyntheticV1/1069402cb1c90f32255aa6063a30c07500a4d92cb609ec3900cc78f3d9ea8f54/Manifests/36e886c87f3c1024641b6224d131b8eefbcc60e2d85ff4ddd3742a4913fb1ee0.json", + "sha256": "7e5e919f74eb7f26fa049826e113db4d9fe3b59bca9a15e94b048289a68939eb", + "role": "historical_manifests" + }, + "declared_content_id": "36e886c87f3c1024641b6224d131b8eefbcc60e2d85ff4ddd3742a4913fb1ee0", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "complete", + "declared_lane_id": "InterfaceSrhIdentifiabilitySyntheticV1", + "source_commit": "12fc7cc6e6bece19ac8e2198696dd68809aa6437", + "source_fingerprint_sha256": "c483f3d0d302d7d156c0b208d996b115680847185396e1288bb5c312ad0e5dd2", + "config_sha256": null, + "lane_definition_sha256": "8e1072b674c0f4798f80a19771552bb0a841fc53bbf38f919fc56a64950f3861", + "completed_cells": null, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": null, + "artifact_pointers": [ + { + "path": "cells/942e89ac550abedfafcf1b4d1c48af5cfb9b3a3c5033dfc518546b4198a50605.json", + "point_key": "grid=5;tolerance=1", + "sha256": "942e89ac550abedfafcf1b4d1c48af5cfb9b3a3c5033dfc518546b4198a50605", + "status": "completed" + }, + { + "path": "cells/c763cc5a96e651ba4da9da7551770ec20be56485048f8914938cb43607f484af.json", + "point_key": "grid=5;tolerance=0.5", + "sha256": "c763cc5a96e651ba4da9da7551770ec20be56485048f8914938cb43607f484af", + "status": "completed" + }, + { + "path": "cells/b23b1812e72ac545eabb79e315f316239a39f863087a522cf16e2cf893f50326.json", + "point_key": "grid=5;tolerance=0.25", + "sha256": "b23b1812e72ac545eabb79e315f316239a39f863087a522cf16e2cf893f50326", + "status": "completed" + }, + { + "path": "cells/e8f3e17df07cd7f6f75cf6bd721d4ea3781f06cd3699f0b371f7884ee55eb19d.json", + "point_key": "grid=7;tolerance=1", + "sha256": "e8f3e17df07cd7f6f75cf6bd721d4ea3781f06cd3699f0b371f7884ee55eb19d", + "status": "completed" + }, + { + "path": "cells/6a8a37aed411acde489940632fd9d0fe2171c1fa2489ec320d1ebf9ffb9e57a5.json", + "point_key": "grid=7;tolerance=0.5", + "sha256": "6a8a37aed411acde489940632fd9d0fe2171c1fa2489ec320d1ebf9ffb9e57a5", + "status": "completed" + }, + { + "path": "cells/09dd0f2b93ed9696d4307a51e7f57f1ee3e1cc904461433f24efb29baa154c6e.json", + "point_key": "grid=7;tolerance=0.25", + "sha256": "09dd0f2b93ed9696d4307a51e7f57f1ee3e1cc904461433f24efb29baa154c6e", + "status": "completed" + }, + { + "path": "cells/6c23d23462357497001d8b81c82e7384ceba3679be2e1e794f447477e2b735de.json", + "point_key": "grid=9;tolerance=1", + "sha256": "6c23d23462357497001d8b81c82e7384ceba3679be2e1e794f447477e2b735de", + "status": "completed" + }, + { + "path": "cells/a8741136342a4634e08e629c7762387e51557ff921a4268ff105bc773229b934.json", + "point_key": "grid=9;tolerance=0.5", + "sha256": "a8741136342a4634e08e629c7762387e51557ff921a4268ff105bc773229b934", + "status": "completed" + }, + { + "path": "cells/1ee1151c907617c1bed368628a57c46399f1c9902764394be30f1be4bfef4714.json", + "point_key": "grid=9;tolerance=0.25", + "sha256": "1ee1151c907617c1bed368628a57c46399f1c9902764394be30f1be4bfef4714", + "status": "completed" + } + ], + "environment_sha256": "197e3085b43d4d83ae9bd5fef2bd7f038a2dda3a888bf16c1a02804ec0cb8c27" + }, + "certificates": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/InterfaceSrhIdentifiabilitySyntheticV1/1069402cb1c90f32255aa6063a30c07500a4d92cb609ec3900cc78f3d9ea8f54/Certificates/b5fd5f2d784277c49b0b2720ad7f225b76586945bd2c9d2c772a34fa3dec5643.json", + "sha256": "b9cb2be084c2adda774b2c6fa661b16dfc8b08a52a2b20a8f68a1b1ee5095079", + "role": "historical_certificates" + }, + "declared_content_id": "b5fd5f2d784277c49b0b2720ad7f225b76586945bd2c9d2c772a34fa3dec5643", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "certified", + "declared_lane_id": "InterfaceSrhIdentifiabilitySyntheticV1", + "source_commit": "12fc7cc6e6bece19ac8e2198696dd68809aa6437", + "source_fingerprint_sha256": "c483f3d0d302d7d156c0b208d996b115680847185396e1288bb5c312ad0e5dd2", + "config_sha256": "5500c9485f6a9518430511019546933277cdc3274fd3a005182394f39d2fcf67", + "lane_definition_sha256": "8e1072b674c0f4798f80a19771552bb0a841fc53bbf38f919fc56a64950f3861", + "completed_cells": 9, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": 0, + "artifact_pointers": [], + "environment_sha256": "197e3085b43d4d83ae9bd5fef2bd7f038a2dda3a888bf16c1a02804ec0cb8c27" + } + }, + { + "run_directory": "results/NumericalRefinement/InterfaceSrhIdentifiabilitySyntheticV1/e54dd78a578f3417cf390fb0976cc6a3e592e723bc79b761b2dd20df75d42101", + "state": { + "root": "archive", + "path": "results/NumericalRefinement/InterfaceSrhIdentifiabilitySyntheticV1/e54dd78a578f3417cf390fb0976cc6a3e592e723bc79b761b2dd20df75d42101/State.json", + "sha256": "9ca07f8d48786c8257c99e774796cc4337710d24ee96a922ec8139692c6dcb93", + "role": "old_result_state" + }, + "declared_run_id": "e54dd78a578f3417cf390fb0976cc6a3e592e723bc79b761b2dd20df75d42101", + "binding_status": "located_not_recertified", + "manifests": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/InterfaceSrhIdentifiabilitySyntheticV1/e54dd78a578f3417cf390fb0976cc6a3e592e723bc79b761b2dd20df75d42101/Manifests/2e232aea4a6e3d7c7bc827fa48a0ece4e48e0ef325da629a68ac87c1287d7b3b.json", + "sha256": "acc8d8d648ac3cf9bdc9dec95467dd10519544d789ac0d19127f5cfc41f659e3", + "role": "historical_manifests" + }, + "declared_content_id": "2e232aea4a6e3d7c7bc827fa48a0ece4e48e0ef325da629a68ac87c1287d7b3b", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "complete", + "declared_lane_id": "InterfaceSrhIdentifiabilitySyntheticV1", + "source_commit": "e611399b36e0f8cdc45224a32c567dde65a865f0", + "source_fingerprint_sha256": "e7d05634f46d5a7873ba2ff1eb3f6e9df749f253708da34c53edbafbba286a60", + "config_sha256": null, + "lane_definition_sha256": "8e1072b674c0f4798f80a19771552bb0a841fc53bbf38f919fc56a64950f3861", + "completed_cells": null, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": null, + "artifact_pointers": [ + { + "path": "cells/24b5b329c4935cf5aba6c21f0b002bc12b516d83c4091c2bceeaba2a77cdf702.json", + "point_key": "grid=5;tolerance=1", + "sha256": "24b5b329c4935cf5aba6c21f0b002bc12b516d83c4091c2bceeaba2a77cdf702", + "status": "completed" + }, + { + "path": "cells/70427fc006fbc22c2ce9fa38412f161e8248a0d89c24b267ed56a1012a88aeea.json", + "point_key": "grid=5;tolerance=0.5", + "sha256": "70427fc006fbc22c2ce9fa38412f161e8248a0d89c24b267ed56a1012a88aeea", + "status": "completed" + }, + { + "path": "cells/f3d0faa6a6ee8ea4ff6c7947be00af425ac2922d5df7e46bdfbab3d93ff305d6.json", + "point_key": "grid=5;tolerance=0.25", + "sha256": "f3d0faa6a6ee8ea4ff6c7947be00af425ac2922d5df7e46bdfbab3d93ff305d6", + "status": "completed" + }, + { + "path": "cells/df93cf023d566e64173e55222fbece9d9187beeb05dbfadbc2d88667f4ab6017.json", + "point_key": "grid=7;tolerance=1", + "sha256": "df93cf023d566e64173e55222fbece9d9187beeb05dbfadbc2d88667f4ab6017", + "status": "completed" + }, + { + "path": "cells/c5135feb56e43335547f2e42764542a1835a100f16054348f71b4fb7fbee3d3e.json", + "point_key": "grid=7;tolerance=0.5", + "sha256": "c5135feb56e43335547f2e42764542a1835a100f16054348f71b4fb7fbee3d3e", + "status": "completed" + }, + { + "path": "cells/d03b2d011ce2f0fdfa7f5f23cf81ace7b660fe28350975afe42f2c3f2399146a.json", + "point_key": "grid=7;tolerance=0.25", + "sha256": "d03b2d011ce2f0fdfa7f5f23cf81ace7b660fe28350975afe42f2c3f2399146a", + "status": "completed" + }, + { + "path": "cells/df22cee2e0bc517dbacc2f643ec31ed75ceb0dc2466509722e1e002067f87c3f.json", + "point_key": "grid=9;tolerance=1", + "sha256": "df22cee2e0bc517dbacc2f643ec31ed75ceb0dc2466509722e1e002067f87c3f", + "status": "completed" + }, + { + "path": "cells/b4d3886f42227157480399373800269c0e4c61e00bcff1da75cd114b2fe01258.json", + "point_key": "grid=9;tolerance=0.5", + "sha256": "b4d3886f42227157480399373800269c0e4c61e00bcff1da75cd114b2fe01258", + "status": "completed" + }, + { + "path": "cells/bb10273658a19a10038ed007cf47006f7957994062116f83bc93666972ae3659.json", + "point_key": "grid=9;tolerance=0.25", + "sha256": "bb10273658a19a10038ed007cf47006f7957994062116f83bc93666972ae3659", + "status": "completed" + } + ], + "environment_sha256": "197e3085b43d4d83ae9bd5fef2bd7f038a2dda3a888bf16c1a02804ec0cb8c27" + }, + "certificates": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/InterfaceSrhIdentifiabilitySyntheticV1/e54dd78a578f3417cf390fb0976cc6a3e592e723bc79b761b2dd20df75d42101/Certificates/704df5e31ba7a0ba347f6bffad6f1bd9e9665ca08b61f8a3ee71ccb0e0094654.json", + "sha256": "dd3ba40c8e1266f54c66820dec91097b880fe6a4d9dbaf88ae099c53f139fb32", + "role": "historical_certificates" + }, + "declared_content_id": "704df5e31ba7a0ba347f6bffad6f1bd9e9665ca08b61f8a3ee71ccb0e0094654", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "certified", + "declared_lane_id": "InterfaceSrhIdentifiabilitySyntheticV1", + "source_commit": "e611399b36e0f8cdc45224a32c567dde65a865f0", + "source_fingerprint_sha256": "e7d05634f46d5a7873ba2ff1eb3f6e9df749f253708da34c53edbafbba286a60", + "config_sha256": "5500c9485f6a9518430511019546933277cdc3274fd3a005182394f39d2fcf67", + "lane_definition_sha256": "8e1072b674c0f4798f80a19771552bb0a841fc53bbf38f919fc56a64950f3861", + "completed_cells": 9, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": 0, + "artifact_pointers": [], + "environment_sha256": "197e3085b43d4d83ae9bd5fef2bd7f038a2dda3a888bf16c1a02804ec0cb8c27" + } + } + ], + "status": "historical_records_located" + }, + { + "capability_id": "lane-c5f63593f6609839", + "lane": "ionmonger-ion-aware-dc-resolved-v2", + "archive_directory": "results/NumericalRefinement/IonmongerIonAwareDcResolvedV2", + "runs": [ + { + "run_directory": "results/NumericalRefinement/IonmongerIonAwareDcResolvedV2/5b02a82ff84c06c24883585dc5e95058a41d5226c2916b9dc672606671cd174f", + "state": { + "root": "archive", + "path": "results/NumericalRefinement/IonmongerIonAwareDcResolvedV2/5b02a82ff84c06c24883585dc5e95058a41d5226c2916b9dc672606671cd174f/State.json", + "sha256": "d6b66c1914259e91df7059c48d32d5d8c6057cbc19e36600d14ac707201ef2ad", + "role": "old_result_state" + }, + "declared_run_id": "5b02a82ff84c06c24883585dc5e95058a41d5226c2916b9dc672606671cd174f", + "binding_status": "located_not_recertified", + "manifests": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/IonmongerIonAwareDcResolvedV2/5b02a82ff84c06c24883585dc5e95058a41d5226c2916b9dc672606671cd174f/Manifests/98f83b5b2898402785eb6ea975df409dcab505b8f0d346b52ad84cc2f0230e36.json", + "sha256": "a4954a73beb0417e461817a437ade489a76956ac356415f0d8caca89cbfaf03a", + "role": "historical_manifests" + }, + "declared_content_id": "98f83b5b2898402785eb6ea975df409dcab505b8f0d346b52ad84cc2f0230e36", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "complete", + "declared_lane_id": "IonmongerIonAwareDcResolvedV2", + "source_commit": "0d38a6af469ea55fb4ea5841a27b7f0110a7686e", + "source_fingerprint_sha256": "ec69ef1d1d9e0b2ec7a1058a67f21831e329030c37d9c67fcf108ffa0f503949", + "config_sha256": null, + "lane_definition_sha256": "20aff57cc6387954b8fb378343210d6368371f7845d0ac810b8efbc8d7ef535e", + "completed_cells": null, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": null, + "artifact_pointers": [ + { + "path": "cells/9eb3efd83fefe64d89c0b3588ad2923f81ad3a5c54d527889d8e0b399f77091b.json", + "point_key": "grid=60;tolerance=1", + "sha256": "9eb3efd83fefe64d89c0b3588ad2923f81ad3a5c54d527889d8e0b399f77091b", + "status": "completed" + }, + { + "path": "cells/e1aee769f07c417b04e612245e82994bd34843a82d13991723d20852cd355d46.json", + "point_key": "grid=60;tolerance=0.1", + "sha256": "e1aee769f07c417b04e612245e82994bd34843a82d13991723d20852cd355d46", + "status": "completed" + }, + { + "path": "cells/b74bf85db0bece9a71a175c129ea5c33f1314bb9a09b6115b0a4277c0b6515aa.json", + "point_key": "grid=60;tolerance=0.01", + "sha256": "b74bf85db0bece9a71a175c129ea5c33f1314bb9a09b6115b0a4277c0b6515aa", + "status": "completed" + }, + { + "path": "cells/f773a971f1ec5cb7bb5aa23c38d2ad482c4636f8cd3d9121c8bdb28a1db0ab7d.json", + "point_key": "grid=90;tolerance=1", + "sha256": "f773a971f1ec5cb7bb5aa23c38d2ad482c4636f8cd3d9121c8bdb28a1db0ab7d", + "status": "completed" + }, + { + "path": "cells/f02e0af6f4a740ed1e81896d0d4c8af398411eef82aac51ace7d69421e2d0ffe.json", + "point_key": "grid=90;tolerance=0.1", + "sha256": "f02e0af6f4a740ed1e81896d0d4c8af398411eef82aac51ace7d69421e2d0ffe", + "status": "completed" + }, + { + "path": "cells/834ae221af15f1eaebae63c12c01a2b83bb5f991a4396e88951abde938b775c2.json", + "point_key": "grid=90;tolerance=0.01", + "sha256": "834ae221af15f1eaebae63c12c01a2b83bb5f991a4396e88951abde938b775c2", + "status": "completed" + }, + { + "path": "cells/e8cd6cd6550a003e468160701a6ff8c9f70d44ad5b1051ed22244ea4b945fcc2.json", + "point_key": "grid=120;tolerance=1", + "sha256": "e8cd6cd6550a003e468160701a6ff8c9f70d44ad5b1051ed22244ea4b945fcc2", + "status": "completed" + }, + { + "path": "cells/21971e94a724140036c329ac18955a360892d4aa6fe421303f82ce26bab89c1c.json", + "point_key": "grid=120;tolerance=0.1", + "sha256": "21971e94a724140036c329ac18955a360892d4aa6fe421303f82ce26bab89c1c", + "status": "completed" + }, + { + "path": "cells/5fa9c76385891146ad76af6ea529b8725bce550e012548275669d73c875a415a.json", + "point_key": "grid=120;tolerance=0.01", + "sha256": "5fa9c76385891146ad76af6ea529b8725bce550e012548275669d73c875a415a", + "status": "completed" + } + ], + "environment_sha256": "197e3085b43d4d83ae9bd5fef2bd7f038a2dda3a888bf16c1a02804ec0cb8c27" + }, + "certificates": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/IonmongerIonAwareDcResolvedV2/5b02a82ff84c06c24883585dc5e95058a41d5226c2916b9dc672606671cd174f/Certificates/6f2e983472d364ed4ce73394f8949935cf810398f3d48db4cc79c83019ad08c2.json", + "sha256": "28a9e12541d4abe5661730b7fb8a30e1425304391344eb5f293f31c1906487ee", + "role": "historical_certificates" + }, + "declared_content_id": "6f2e983472d364ed4ce73394f8949935cf810398f3d48db4cc79c83019ad08c2", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "certified", + "declared_lane_id": "IonmongerIonAwareDcResolvedV2", + "source_commit": "0d38a6af469ea55fb4ea5841a27b7f0110a7686e", + "source_fingerprint_sha256": "ec69ef1d1d9e0b2ec7a1058a67f21831e329030c37d9c67fcf108ffa0f503949", + "config_sha256": "fbc82c9b85d121c459ab08d07d1c7f886eef36f4db669d354b79d260f43c8750", + "lane_definition_sha256": "20aff57cc6387954b8fb378343210d6368371f7845d0ac810b8efbc8d7ef535e", + "completed_cells": 9, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": 0, + "artifact_pointers": [], + "environment_sha256": "197e3085b43d4d83ae9bd5fef2bd7f038a2dda3a888bf16c1a02804ec0cb8c27" + } + }, + { + "run_directory": "results/NumericalRefinement/IonmongerIonAwareDcResolvedV2/63829c439c5bfc975dee4607de55867d54459776a15df55dcd5a10070caf5cb3", + "state": { + "root": "archive", + "path": "results/NumericalRefinement/IonmongerIonAwareDcResolvedV2/63829c439c5bfc975dee4607de55867d54459776a15df55dcd5a10070caf5cb3/State.json", + "sha256": "f03bca4616de91e9772d6ec0726c1dad5dbd730d5af61ec1303757f04ba68f44", + "role": "old_result_state" + }, + "declared_run_id": "63829c439c5bfc975dee4607de55867d54459776a15df55dcd5a10070caf5cb3", + "binding_status": "located_not_recertified", + "manifests": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/IonmongerIonAwareDcResolvedV2/63829c439c5bfc975dee4607de55867d54459776a15df55dcd5a10070caf5cb3/Manifests/e72c56b6920294e4809837bd7a64bece16462d5f9534e3df1f1c6a5392bf20d8.json", + "sha256": "1ac437e5aa1863e807a910201e30d9e715e874331f78d783570a06795a8bf27e", + "role": "historical_manifests" + }, + "declared_content_id": "e72c56b6920294e4809837bd7a64bece16462d5f9534e3df1f1c6a5392bf20d8", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "complete", + "declared_lane_id": "IonmongerIonAwareDcResolvedV2", + "source_commit": "0d38a6af469ea55fb4ea5841a27b7f0110a7686e", + "source_fingerprint_sha256": "8a3f7006d752cf76fa9876ffd410c54e8cfa2ea6d17c44b304bad1ca56e179c5", + "config_sha256": null, + "lane_definition_sha256": "20aff57cc6387954b8fb378343210d6368371f7845d0ac810b8efbc8d7ef535e", + "completed_cells": null, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": null, + "artifact_pointers": [ + { + "path": "cells/2ec379ea16178ec9f083abc76f95e21a38a848ba0420af1607b0bf71422d8835.json", + "point_key": "grid=60;tolerance=1", + "sha256": "2ec379ea16178ec9f083abc76f95e21a38a848ba0420af1607b0bf71422d8835", + "status": "completed" + }, + { + "path": "cells/b74caba7f9fde3242bb5f729d427b2567653adac77e9bcdd2c95a30c288b84b8.json", + "point_key": "grid=60;tolerance=0.1", + "sha256": "b74caba7f9fde3242bb5f729d427b2567653adac77e9bcdd2c95a30c288b84b8", + "status": "completed" + }, + { + "path": "cells/857dd0f2df5649231ed53acc6193a39890ccc119a227fe361668426bb98f9893.json", + "point_key": "grid=60;tolerance=0.01", + "sha256": "857dd0f2df5649231ed53acc6193a39890ccc119a227fe361668426bb98f9893", + "status": "completed" + }, + { + "path": "cells/716bf2e923e3038c46becd7662eb74cd3f417ec525bd3f65da15f0850a6a5c98.json", + "point_key": "grid=90;tolerance=1", + "sha256": "716bf2e923e3038c46becd7662eb74cd3f417ec525bd3f65da15f0850a6a5c98", + "status": "completed" + }, + { + "path": "cells/e97dc6b0d8866e82cc2281c500ca969953cef4b663a806b341748997b8bbd334.json", + "point_key": "grid=90;tolerance=0.1", + "sha256": "e97dc6b0d8866e82cc2281c500ca969953cef4b663a806b341748997b8bbd334", + "status": "completed" + }, + { + "path": "cells/478f9c542ac96808033f65cc33efb75099f199dc32d9719290d62dd692a2d3f4.json", + "point_key": "grid=90;tolerance=0.01", + "sha256": "478f9c542ac96808033f65cc33efb75099f199dc32d9719290d62dd692a2d3f4", + "status": "completed" + }, + { + "path": "cells/19c20b2607f4f9c285fd4753ce2b3b3514e1faccbd53b20479ffc42bbef3362e.json", + "point_key": "grid=120;tolerance=1", + "sha256": "19c20b2607f4f9c285fd4753ce2b3b3514e1faccbd53b20479ffc42bbef3362e", + "status": "completed" + }, + { + "path": "cells/e6377a6ab2f4bec2d5ae6a1cfdc6607fb30210f749d6ae8581ffbbed0ee95af7.json", + "point_key": "grid=120;tolerance=0.1", + "sha256": "e6377a6ab2f4bec2d5ae6a1cfdc6607fb30210f749d6ae8581ffbbed0ee95af7", + "status": "completed" + }, + { + "path": "cells/205ddafa57af4c5a539bcf048b7c778970e7f40c65a01e7e4553051dd36ffe2b.json", + "point_key": "grid=120;tolerance=0.01", + "sha256": "205ddafa57af4c5a539bcf048b7c778970e7f40c65a01e7e4553051dd36ffe2b", + "status": "completed" + } + ], + "environment_sha256": "197e3085b43d4d83ae9bd5fef2bd7f038a2dda3a888bf16c1a02804ec0cb8c27" + }, + "certificates": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/IonmongerIonAwareDcResolvedV2/63829c439c5bfc975dee4607de55867d54459776a15df55dcd5a10070caf5cb3/Certificates/5db9ceeef85bbff4a13a1fdf5533634f163826b2312db105ba45cac73dcad465.json", + "sha256": "1df78d9542dce1c1bed648a15e6bf045502921742c56795ce5ea1ca14a16d7ab", + "role": "historical_certificates" + }, + "declared_content_id": "5db9ceeef85bbff4a13a1fdf5533634f163826b2312db105ba45cac73dcad465", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "certified", + "declared_lane_id": "IonmongerIonAwareDcResolvedV2", + "source_commit": "0d38a6af469ea55fb4ea5841a27b7f0110a7686e", + "source_fingerprint_sha256": "8a3f7006d752cf76fa9876ffd410c54e8cfa2ea6d17c44b304bad1ca56e179c5", + "config_sha256": "fbc82c9b85d121c459ab08d07d1c7f886eef36f4db669d354b79d260f43c8750", + "lane_definition_sha256": "20aff57cc6387954b8fb378343210d6368371f7845d0ac810b8efbc8d7ef535e", + "completed_cells": 9, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": 0, + "artifact_pointers": [], + "environment_sha256": "197e3085b43d4d83ae9bd5fef2bd7f038a2dda3a888bf16c1a02804ec0cb8c27" + } + }, + { + "run_directory": "results/NumericalRefinement/IonmongerIonAwareDcResolvedV2/ba1e7b8dbcb0b16695d03c4626555bc98458ca851fc4aad9611425f55663fe1f", + "state": { + "root": "archive", + "path": "results/NumericalRefinement/IonmongerIonAwareDcResolvedV2/ba1e7b8dbcb0b16695d03c4626555bc98458ca851fc4aad9611425f55663fe1f/State.json", + "sha256": "bef9dccd1a9d590d8da1898640a7bdd87d5b93374f41363d0ae717fe2103e809", + "role": "old_result_state" + }, + "declared_run_id": "ba1e7b8dbcb0b16695d03c4626555bc98458ca851fc4aad9611425f55663fe1f", + "binding_status": "located_not_recertified", + "manifests": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/IonmongerIonAwareDcResolvedV2/ba1e7b8dbcb0b16695d03c4626555bc98458ca851fc4aad9611425f55663fe1f/Manifests/df79f76977950e5745a9d6c36c376f40a54dc0872591b990566e1ee111b7cf4a.json", + "sha256": "8ab03858d16efee0561ef60d4bffd6d5e659decf29be40042bd46c21ff770e65", + "role": "historical_manifests" + }, + "declared_content_id": "df79f76977950e5745a9d6c36c376f40a54dc0872591b990566e1ee111b7cf4a", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "complete", + "declared_lane_id": "IonmongerIonAwareDcResolvedV2", + "source_commit": "b55d1e5d03fe573397aa9cfcfe65f5caa68dc361", + "source_fingerprint_sha256": "58db6ba3c01d37880043080c3601612b908ef1eb64a5fbc82510e3ce11cfff86", + "config_sha256": null, + "lane_definition_sha256": "20aff57cc6387954b8fb378343210d6368371f7845d0ac810b8efbc8d7ef535e", + "completed_cells": null, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": null, + "artifact_pointers": [ + { + "path": "cells/a9ffe60e5fa2da5ebf9252ca58880a23a9a3388f97a060d4e4e44959e21e7c8e.json", + "point_key": "grid=60;tolerance=1", + "sha256": "a9ffe60e5fa2da5ebf9252ca58880a23a9a3388f97a060d4e4e44959e21e7c8e", + "status": "completed" + }, + { + "path": "cells/f1222d58beb3154bdff28d42c634bfacaf98e1ff4a7200fd5d2247c0dc421334.json", + "point_key": "grid=60;tolerance=0.1", + "sha256": "f1222d58beb3154bdff28d42c634bfacaf98e1ff4a7200fd5d2247c0dc421334", + "status": "completed" + }, + { + "path": "cells/a5e2144bb4b8b4aa15da6949ec0f3f820d0f1b904681aac2c9333479d9f271da.json", + "point_key": "grid=60;tolerance=0.01", + "sha256": "a5e2144bb4b8b4aa15da6949ec0f3f820d0f1b904681aac2c9333479d9f271da", + "status": "completed" + }, + { + "path": "cells/b5663bccc49308ff045cf4835145f0a87ad91b46d3f8dc5035122f21512d8645.json", + "point_key": "grid=90;tolerance=1", + "sha256": "b5663bccc49308ff045cf4835145f0a87ad91b46d3f8dc5035122f21512d8645", + "status": "completed" + }, + { + "path": "cells/a823208936ac304cc510ad2c2245672c9748e284f2416c3bbb07441472b82e61.json", + "point_key": "grid=90;tolerance=0.1", + "sha256": "a823208936ac304cc510ad2c2245672c9748e284f2416c3bbb07441472b82e61", + "status": "completed" + }, + { + "path": "cells/6cdbc0690923ef281d04a590c91e121b35725883eb83ab0f7c329cfe94dfdf45.json", + "point_key": "grid=90;tolerance=0.01", + "sha256": "6cdbc0690923ef281d04a590c91e121b35725883eb83ab0f7c329cfe94dfdf45", + "status": "completed" + }, + { + "path": "cells/97dd81333c18c1de6961921c3967d7985c8a48b941d9c6f06cb48e68ec61b85f.json", + "point_key": "grid=120;tolerance=1", + "sha256": "97dd81333c18c1de6961921c3967d7985c8a48b941d9c6f06cb48e68ec61b85f", + "status": "completed" + }, + { + "path": "cells/4a2bf6fec3cd37a5d45756c8688a9e50843c2ed220b720a568f5eeb5c561cc7d.json", + "point_key": "grid=120;tolerance=0.1", + "sha256": "4a2bf6fec3cd37a5d45756c8688a9e50843c2ed220b720a568f5eeb5c561cc7d", + "status": "completed" + }, + { + "path": "cells/d2cb940b6f0fabb8e6272bd83a86393bd4a6d963b86b17250d56b1ff57a08a8d.json", + "point_key": "grid=120;tolerance=0.01", + "sha256": "d2cb940b6f0fabb8e6272bd83a86393bd4a6d963b86b17250d56b1ff57a08a8d", + "status": "completed" + } + ], + "environment_sha256": "197e3085b43d4d83ae9bd5fef2bd7f038a2dda3a888bf16c1a02804ec0cb8c27" + }, + "certificates": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/IonmongerIonAwareDcResolvedV2/ba1e7b8dbcb0b16695d03c4626555bc98458ca851fc4aad9611425f55663fe1f/Certificates/fcc84e55b8e6138e9b52c4abb49260f623e747a08b9b2a64af215c63b8ea51e9.json", + "sha256": "01528a6f4b6aef8c5dbf520b89b83214b6242337165b742c9ac4cc52487dc556", + "role": "historical_certificates" + }, + "declared_content_id": "fcc84e55b8e6138e9b52c4abb49260f623e747a08b9b2a64af215c63b8ea51e9", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "certified", + "declared_lane_id": "IonmongerIonAwareDcResolvedV2", + "source_commit": "b55d1e5d03fe573397aa9cfcfe65f5caa68dc361", + "source_fingerprint_sha256": "58db6ba3c01d37880043080c3601612b908ef1eb64a5fbc82510e3ce11cfff86", + "config_sha256": "fbc82c9b85d121c459ab08d07d1c7f886eef36f4db669d354b79d260f43c8750", + "lane_definition_sha256": "20aff57cc6387954b8fb378343210d6368371f7845d0ac810b8efbc8d7ef535e", + "completed_cells": 9, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": 0, + "artifact_pointers": [], + "environment_sha256": "197e3085b43d4d83ae9bd5fef2bd7f038a2dda3a888bf16c1a02804ec0cb8c27" + } + }, + { + "run_directory": "results/NumericalRefinement/IonmongerIonAwareDcResolvedV2/e6578eba8b95e22f515aefd0cf873e31c18d0224f1aecff71575920984c7b8bf", + "state": { + "root": "archive", + "path": "results/NumericalRefinement/IonmongerIonAwareDcResolvedV2/e6578eba8b95e22f515aefd0cf873e31c18d0224f1aecff71575920984c7b8bf/State.json", + "sha256": "3d22a239f56e992b3dc8ed7ae92ab25493d3227aa9ffb6a6071025f7dcbd97f9", + "role": "old_result_state" + }, + "declared_run_id": "e6578eba8b95e22f515aefd0cf873e31c18d0224f1aecff71575920984c7b8bf", + "binding_status": "located_not_recertified", + "manifests": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/IonmongerIonAwareDcResolvedV2/e6578eba8b95e22f515aefd0cf873e31c18d0224f1aecff71575920984c7b8bf/Manifests/63f9ca0fde7830701c20fa548e8ef3241258349181bc391319b24ce3ecaac973.json", + "sha256": "08072de2e3d0641322ec9c049b211c9abcfa560e7cb4a9b8c5f5204d06920ab8", + "role": "historical_manifests" + }, + "declared_content_id": "63f9ca0fde7830701c20fa548e8ef3241258349181bc391319b24ce3ecaac973", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "complete", + "declared_lane_id": "IonmongerIonAwareDcResolvedV2", + "source_commit": "0d38a6af469ea55fb4ea5841a27b7f0110a7686e", + "source_fingerprint_sha256": "b9e9ec39e08f1f94085c488e61f6fc7b9dc56a0a7a31c7530099eb81a863ae1e", + "config_sha256": null, + "lane_definition_sha256": "20aff57cc6387954b8fb378343210d6368371f7845d0ac810b8efbc8d7ef535e", + "completed_cells": null, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": null, + "artifact_pointers": [ + { + "path": "cells/857093d1add984ad13f8e905d405856ac9f54d38fe598bf988487056a0c2758e.json", + "point_key": "grid=60;tolerance=1", + "sha256": "857093d1add984ad13f8e905d405856ac9f54d38fe598bf988487056a0c2758e", + "status": "completed" + }, + { + "path": "cells/fe540fe59b0aa506568711e886d28d7633e13fa9cf177888e633757a4d98ae1e.json", + "point_key": "grid=60;tolerance=0.1", + "sha256": "fe540fe59b0aa506568711e886d28d7633e13fa9cf177888e633757a4d98ae1e", + "status": "completed" + }, + { + "path": "cells/b1a07224ed04c9b160f2d5edde50058dda3cc480bf9cd4aa6488d8739b22c165.json", + "point_key": "grid=60;tolerance=0.01", + "sha256": "b1a07224ed04c9b160f2d5edde50058dda3cc480bf9cd4aa6488d8739b22c165", + "status": "completed" + }, + { + "path": "cells/990832deb14b22c6ef0904ba8e3528ae375bc9d610707114e36e12d990488ac1.json", + "point_key": "grid=90;tolerance=1", + "sha256": "990832deb14b22c6ef0904ba8e3528ae375bc9d610707114e36e12d990488ac1", + "status": "completed" + }, + { + "path": "cells/59daed3e1c6473afc315387c066e68f239d26ff9cd1ab016417431126c5ef24c.json", + "point_key": "grid=90;tolerance=0.1", + "sha256": "59daed3e1c6473afc315387c066e68f239d26ff9cd1ab016417431126c5ef24c", + "status": "completed" + }, + { + "path": "cells/2a18a015755fe008d7be0e7d336ebae958bed7f41d71e62f2bd496a262996aec.json", + "point_key": "grid=90;tolerance=0.01", + "sha256": "2a18a015755fe008d7be0e7d336ebae958bed7f41d71e62f2bd496a262996aec", + "status": "completed" + }, + { + "path": "cells/d751a6e3cbd2d9ae2e141a09dcb864ee0560d446374c2caae2ff97c61c5b37b9.json", + "point_key": "grid=120;tolerance=1", + "sha256": "d751a6e3cbd2d9ae2e141a09dcb864ee0560d446374c2caae2ff97c61c5b37b9", + "status": "completed" + }, + { + "path": "cells/5bba911a999c78639f3ed8aaf78a366ddf76de1f328891dbb65e806bb6dad156.json", + "point_key": "grid=120;tolerance=0.1", + "sha256": "5bba911a999c78639f3ed8aaf78a366ddf76de1f328891dbb65e806bb6dad156", + "status": "completed" + }, + { + "path": "cells/0d637509018d69acf30d74efd9e5e7256a94dff4a1bef657ab6fa34e4ef02744.json", + "point_key": "grid=120;tolerance=0.01", + "sha256": "0d637509018d69acf30d74efd9e5e7256a94dff4a1bef657ab6fa34e4ef02744", + "status": "completed" + } + ], + "environment_sha256": "197e3085b43d4d83ae9bd5fef2bd7f038a2dda3a888bf16c1a02804ec0cb8c27" + }, + "certificates": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/IonmongerIonAwareDcResolvedV2/e6578eba8b95e22f515aefd0cf873e31c18d0224f1aecff71575920984c7b8bf/Certificates/7a30a4bb7a05f46ef2391db953ece46da9744aec39faf633e25f93448fa0fde3.json", + "sha256": "3e8bbc4087557f91c489ed690c118b5f92b3c6a3990d6a3b1d9e9647fa919c5f", + "role": "historical_certificates" + }, + "declared_content_id": "7a30a4bb7a05f46ef2391db953ece46da9744aec39faf633e25f93448fa0fde3", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "certified", + "declared_lane_id": "IonmongerIonAwareDcResolvedV2", + "source_commit": "0d38a6af469ea55fb4ea5841a27b7f0110a7686e", + "source_fingerprint_sha256": "b9e9ec39e08f1f94085c488e61f6fc7b9dc56a0a7a31c7530099eb81a863ae1e", + "config_sha256": "fbc82c9b85d121c459ab08d07d1c7f886eef36f4db669d354b79d260f43c8750", + "lane_definition_sha256": "20aff57cc6387954b8fb378343210d6368371f7845d0ac810b8efbc8d7ef535e", + "completed_cells": 9, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": 0, + "artifact_pointers": [], + "environment_sha256": "197e3085b43d4d83ae9bd5fef2bd7f038a2dda3a888bf16c1a02804ec0cb8c27" + } + } + ], + "status": "historical_records_located" + }, + { + "capability_id": "lane-500d85c643804b4b", + "lane": "ionmonger-ion-aware-dc-v1", + "archive_directory": "results/NumericalRefinement/IonmongerIonAwareDcV1", + "runs": [ + { + "run_directory": "results/NumericalRefinement/IonmongerIonAwareDcV1/0ff8f5e2740c9dd9a5650982964228985d86adf91fff4a5be359dee878475068", + "state": { + "root": "archive", + "path": "results/NumericalRefinement/IonmongerIonAwareDcV1/0ff8f5e2740c9dd9a5650982964228985d86adf91fff4a5be359dee878475068/State.json", + "sha256": "d44153f8fac87ee6d45ee1c82e04ac7658cb2194bce36131fc37abb933e40de6", + "role": "old_result_state" + }, + "declared_run_id": "0ff8f5e2740c9dd9a5650982964228985d86adf91fff4a5be359dee878475068", + "binding_status": "located_not_recertified", + "manifests": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/IonmongerIonAwareDcV1/0ff8f5e2740c9dd9a5650982964228985d86adf91fff4a5be359dee878475068/Manifests/011fc71f109dad7fdc7841307e77d104ed4c1524bdd39bb83391a192e522008f.json", + "sha256": "5add2f6bc813cb2818e0a6a8d3c7b7c6c4111a6fb05853639b6c9bd3f49410d4", + "role": "historical_manifests" + }, + "declared_content_id": "011fc71f109dad7fdc7841307e77d104ed4c1524bdd39bb83391a192e522008f", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "complete_with_failures", + "declared_lane_id": "IonmongerIonAwareDcV1", + "source_commit": "0d38a6af469ea55fb4ea5841a27b7f0110a7686e", + "source_fingerprint_sha256": "fa430b82f979a1c4dffcb5f4d0b2f08296a9efe1771bfc4496886829456fb2cc", + "config_sha256": null, + "lane_definition_sha256": "5a46e981920259b92cada34fb58139f03076e755f532402ecdbad8042a1330ed", + "completed_cells": null, + "expected_cells_count": 9, + "failed_cells_count": 2, + "missing_cells_count": null, + "artifact_pointers": [ + { + "path": "cells/927d6b8b328f8d061af354eb70ef845ba9ababdcb6218d2560c23c637b7a7421.json", + "point_key": "grid=30;tolerance=1", + "sha256": "927d6b8b328f8d061af354eb70ef845ba9ababdcb6218d2560c23c637b7a7421", + "status": "completed" + }, + { + "path": "cells/e9d6f791fc4a2b35fbc8cd8365d79db34e101e60fbdbf1bb6a36339520b6d307.json", + "point_key": "grid=30;tolerance=0.1", + "sha256": "e9d6f791fc4a2b35fbc8cd8365d79db34e101e60fbdbf1bb6a36339520b6d307", + "status": "completed" + }, + { + "path": "cells/e4597520b4f05940f79935393cde4f59e9bc8b5851ebb62a97efbcaacc2cfe96.json", + "point_key": "grid=30;tolerance=0.01", + "sha256": "e4597520b4f05940f79935393cde4f59e9bc8b5851ebb62a97efbcaacc2cfe96", + "status": "completed" + }, + { + "path": "cells/09639bad7056af991fd82f8ba2a9943077afe30760b4710f7b529ea30ff03e7f.json", + "point_key": "grid=60;tolerance=1", + "sha256": "09639bad7056af991fd82f8ba2a9943077afe30760b4710f7b529ea30ff03e7f", + "status": "completed" + }, + { + "path": "cells/aa094ba9f9982ba2fd6221067df6cfd148c9f50057693b9384e539c0d22a5bd1.json", + "point_key": "grid=60;tolerance=0.1", + "sha256": "aa094ba9f9982ba2fd6221067df6cfd148c9f50057693b9384e539c0d22a5bd1", + "status": "completed" + }, + { + "path": "cells/d08724489cca647fab1eac05aaca1c6f310577b2d75d7fa7fbce6754bd5db0e6.json", + "point_key": "grid=60;tolerance=0.01", + "sha256": "d08724489cca647fab1eac05aaca1c6f310577b2d75d7fa7fbce6754bd5db0e6", + "status": "completed" + }, + { + "path": "cells/4e5d59e7a99931beee138d4fc4dfafee676cc91e7796e2fbdaa01f92fb061680.json", + "point_key": "grid=90;tolerance=1", + "sha256": "4e5d59e7a99931beee138d4fc4dfafee676cc91e7796e2fbdaa01f92fb061680", + "status": "completed" + }, + { + "path": "cells/1133e2e72756b189a01f89941d09d811cd8f6c8f292feb83d387adf55283a233.json", + "point_key": "grid=90;tolerance=0.1", + "sha256": "1133e2e72756b189a01f89941d09d811cd8f6c8f292feb83d387adf55283a233", + "status": "failed" + }, + { + "path": "cells/ce3afdee18dd4858adebf6c7b8ee086ac0f2a8471559c0f33925da64628b9ecb.json", + "point_key": "grid=90;tolerance=0.01", + "sha256": "ce3afdee18dd4858adebf6c7b8ee086ac0f2a8471559c0f33925da64628b9ecb", + "status": "failed" + } + ], + "environment_sha256": "197e3085b43d4d83ae9bd5fef2bd7f038a2dda3a888bf16c1a02804ec0cb8c27" + }, + "certificates": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/IonmongerIonAwareDcV1/0ff8f5e2740c9dd9a5650982964228985d86adf91fff4a5be359dee878475068/Certificates/a2d06352ffaf6c94711ca7a40ba7e75ad256e2eb5ed48ced19d1ef70e4502665.json", + "sha256": "35149498090bc2992efe08ddf51203b9fd6f923383e87c86d7f2c59351e2fd2a", + "role": "historical_certificates" + }, + "declared_content_id": "a2d06352ffaf6c94711ca7a40ba7e75ad256e2eb5ed48ced19d1ef70e4502665", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "failed", + "declared_lane_id": "IonmongerIonAwareDcV1", + "source_commit": "0d38a6af469ea55fb4ea5841a27b7f0110a7686e", + "source_fingerprint_sha256": "fa430b82f979a1c4dffcb5f4d0b2f08296a9efe1771bfc4496886829456fb2cc", + "config_sha256": "fbc82c9b85d121c459ab08d07d1c7f886eef36f4db669d354b79d260f43c8750", + "lane_definition_sha256": "5a46e981920259b92cada34fb58139f03076e755f532402ecdbad8042a1330ed", + "completed_cells": 7, + "expected_cells_count": 9, + "failed_cells_count": 2, + "missing_cells_count": 0, + "artifact_pointers": [], + "environment_sha256": "197e3085b43d4d83ae9bd5fef2bd7f038a2dda3a888bf16c1a02804ec0cb8c27" + } + }, + { + "run_directory": "results/NumericalRefinement/IonmongerIonAwareDcV1/236e72ac2425170de5f87a68469d049594ac43fca4fb5957a6f1769adcf67970", + "state": { + "root": "archive", + "path": "results/NumericalRefinement/IonmongerIonAwareDcV1/236e72ac2425170de5f87a68469d049594ac43fca4fb5957a6f1769adcf67970/State.json", + "sha256": "55959cb3bc6f82621943930c7224aa1959c4fa6ff0f51f191a68bac8c54aea67", + "role": "old_result_state" + }, + "declared_run_id": "236e72ac2425170de5f87a68469d049594ac43fca4fb5957a6f1769adcf67970", + "binding_status": "located_not_recertified", + "manifests": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/IonmongerIonAwareDcV1/236e72ac2425170de5f87a68469d049594ac43fca4fb5957a6f1769adcf67970/Manifests/c1bc808271b25f2d67b8a48d3271c78110ba9da52607bacb3a21b0d6b7085022.json", + "sha256": "668f0a697f780c97f06765232e8b825f2d35ebfd183fca13767966ef17512ed8", + "role": "historical_manifests" + }, + "declared_content_id": "c1bc808271b25f2d67b8a48d3271c78110ba9da52607bacb3a21b0d6b7085022", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "running", + "declared_lane_id": "IonmongerIonAwareDcV1", + "source_commit": "0d38a6af469ea55fb4ea5841a27b7f0110a7686e", + "source_fingerprint_sha256": "0e0d10d89c2a0eb646a0c4706f018986c0374c0384a028274d52629e778a8096", + "config_sha256": null, + "lane_definition_sha256": "5a46e981920259b92cada34fb58139f03076e755f532402ecdbad8042a1330ed", + "completed_cells": null, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": null, + "artifact_pointers": [ + { + "path": "cells/9502e813a8bb55f945b5581330486e97244e3e664f56c05d22c0226c085b4ef2.json", + "point_key": "grid=30;tolerance=1", + "sha256": "9502e813a8bb55f945b5581330486e97244e3e664f56c05d22c0226c085b4ef2", + "status": "completed" + } + ], + "environment_sha256": "197e3085b43d4d83ae9bd5fef2bd7f038a2dda3a888bf16c1a02804ec0cb8c27" + }, + "certificates": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/IonmongerIonAwareDcV1/236e72ac2425170de5f87a68469d049594ac43fca4fb5957a6f1769adcf67970/Certificates/6fb1aa711deb60da45af2779b0715733bd3f66db6c4df1761167eca54552debc.json", + "sha256": "3758d9308c6bbacb8eed9072e5f98dac0eeb1dfad81b6f927e96714793a331e3", + "role": "historical_certificates" + }, + "declared_content_id": "6fb1aa711deb60da45af2779b0715733bd3f66db6c4df1761167eca54552debc", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "failed", + "declared_lane_id": "IonmongerIonAwareDcV1", + "source_commit": "0d38a6af469ea55fb4ea5841a27b7f0110a7686e", + "source_fingerprint_sha256": "0e0d10d89c2a0eb646a0c4706f018986c0374c0384a028274d52629e778a8096", + "config_sha256": "fbc82c9b85d121c459ab08d07d1c7f886eef36f4db669d354b79d260f43c8750", + "lane_definition_sha256": "5a46e981920259b92cada34fb58139f03076e755f532402ecdbad8042a1330ed", + "completed_cells": 1, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": 8, + "artifact_pointers": [], + "environment_sha256": "197e3085b43d4d83ae9bd5fef2bd7f038a2dda3a888bf16c1a02804ec0cb8c27" + } + }, + { + "run_directory": "results/NumericalRefinement/IonmongerIonAwareDcV1/314c4b8cdaecb31b64180a204cf0bdc541f2779fa07d5b32d4c4dc59d90665f1", + "state": { + "root": "archive", + "path": "results/NumericalRefinement/IonmongerIonAwareDcV1/314c4b8cdaecb31b64180a204cf0bdc541f2779fa07d5b32d4c4dc59d90665f1/State.json", + "sha256": "0cccba27df8524bf92d6639c69c3b6bc424bdeb78b5e0008dae306c6a8837c87", + "role": "old_result_state" + }, + "declared_run_id": "314c4b8cdaecb31b64180a204cf0bdc541f2779fa07d5b32d4c4dc59d90665f1", + "binding_status": "located_not_recertified", + "manifests": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/IonmongerIonAwareDcV1/314c4b8cdaecb31b64180a204cf0bdc541f2779fa07d5b32d4c4dc59d90665f1/Manifests/6e451b9373feb095ff839730ad5579b27d8a47843fe36171f034a6346c45d6e7.json", + "sha256": "4fd606ba1d5cdadd17ac602794a685dab33168efdedc4c4d84169d7ff6674d1f", + "role": "historical_manifests" + }, + "declared_content_id": "6e451b9373feb095ff839730ad5579b27d8a47843fe36171f034a6346c45d6e7", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "complete", + "declared_lane_id": "IonmongerIonAwareDcV1", + "source_commit": "b55d1e5d03fe573397aa9cfcfe65f5caa68dc361", + "source_fingerprint_sha256": "58db6ba3c01d37880043080c3601612b908ef1eb64a5fbc82510e3ce11cfff86", + "config_sha256": null, + "lane_definition_sha256": "16e8f0ad9fd37279799195707761041a7829fbd5c21737581f72dcfa04fa3ee8", + "completed_cells": null, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": null, + "artifact_pointers": [ + { + "path": "cells/69804415b27dbe0399e17c1de1edbf116345ef55620a7fcd21e660f167fc515d.json", + "point_key": "grid=30;tolerance=1", + "sha256": "69804415b27dbe0399e17c1de1edbf116345ef55620a7fcd21e660f167fc515d", + "status": "completed" + }, + { + "path": "cells/4af4b44765628e516c04965952b0dc3d7f3c389942564ddb7c7cf4c6c361d2a1.json", + "point_key": "grid=30;tolerance=0.1", + "sha256": "4af4b44765628e516c04965952b0dc3d7f3c389942564ddb7c7cf4c6c361d2a1", + "status": "completed" + }, + { + "path": "cells/2e19fc615f776ce2e1c22f483e74c60a2c3a33bc7d0d42fb75e04df29d7e0ea8.json", + "point_key": "grid=30;tolerance=0.01", + "sha256": "2e19fc615f776ce2e1c22f483e74c60a2c3a33bc7d0d42fb75e04df29d7e0ea8", + "status": "completed" + }, + { + "path": "cells/f73e9eb304a1a4f58449ed69e07f13e3bc1a88a56e75f1d9e1869a8e6ee13003.json", + "point_key": "grid=60;tolerance=1", + "sha256": "f73e9eb304a1a4f58449ed69e07f13e3bc1a88a56e75f1d9e1869a8e6ee13003", + "status": "completed" + }, + { + "path": "cells/733bad9d27c80a1ee6fcb12dbd4ca08e43d3449a5ce978b3bfe7b0dd98b8d286.json", + "point_key": "grid=60;tolerance=0.1", + "sha256": "733bad9d27c80a1ee6fcb12dbd4ca08e43d3449a5ce978b3bfe7b0dd98b8d286", + "status": "completed" + }, + { + "path": "cells/429bb95d63e0c8563d576207cb9e7087933206d5a609a223c7d583352039cb6b.json", + "point_key": "grid=60;tolerance=0.01", + "sha256": "429bb95d63e0c8563d576207cb9e7087933206d5a609a223c7d583352039cb6b", + "status": "completed" + }, + { + "path": "cells/5132312b11965ce28b3613e77963ac0af1e3ad389622f814c297ad736f36aa44.json", + "point_key": "grid=90;tolerance=1", + "sha256": "5132312b11965ce28b3613e77963ac0af1e3ad389622f814c297ad736f36aa44", + "status": "completed" + }, + { + "path": "cells/13aad75ceb46d5afca8e2a7a2a1b6b4dd02df309776b986cb817578aec7871e6.json", + "point_key": "grid=90;tolerance=0.1", + "sha256": "13aad75ceb46d5afca8e2a7a2a1b6b4dd02df309776b986cb817578aec7871e6", + "status": "completed" + }, + { + "path": "cells/1ab83102b671108f45abbf20669cd1b8f613442b9a133ee13bdb276dc3a7d972.json", + "point_key": "grid=90;tolerance=0.01", + "sha256": "1ab83102b671108f45abbf20669cd1b8f613442b9a133ee13bdb276dc3a7d972", + "status": "completed" + } + ], + "environment_sha256": "197e3085b43d4d83ae9bd5fef2bd7f038a2dda3a888bf16c1a02804ec0cb8c27" + }, + "certificates": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/IonmongerIonAwareDcV1/314c4b8cdaecb31b64180a204cf0bdc541f2779fa07d5b32d4c4dc59d90665f1/Certificates/13716fd0ce4d2a588819f450c25061706489ffa736bedb654556d7c876eecfec.json", + "sha256": "83344581978784f8961a8ae12b3215bf0b52a4fd4180ee4b0b92d08714849022", + "role": "historical_certificates" + }, + "declared_content_id": "13716fd0ce4d2a588819f450c25061706489ffa736bedb654556d7c876eecfec", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "partial", + "declared_lane_id": "IonmongerIonAwareDcV1", + "source_commit": "b55d1e5d03fe573397aa9cfcfe65f5caa68dc361", + "source_fingerprint_sha256": "58db6ba3c01d37880043080c3601612b908ef1eb64a5fbc82510e3ce11cfff86", + "config_sha256": "fbc82c9b85d121c459ab08d07d1c7f886eef36f4db669d354b79d260f43c8750", + "lane_definition_sha256": "16e8f0ad9fd37279799195707761041a7829fbd5c21737581f72dcfa04fa3ee8", + "completed_cells": 9, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": 0, + "artifact_pointers": [], + "environment_sha256": "197e3085b43d4d83ae9bd5fef2bd7f038a2dda3a888bf16c1a02804ec0cb8c27" + } + }, + { + "run_directory": "results/NumericalRefinement/IonmongerIonAwareDcV1/6e7fe4519825e384acb6d2493f994309e089857eba5e1faa54dad8eb0eca7fc4", + "state": { + "root": "archive", + "path": "results/NumericalRefinement/IonmongerIonAwareDcV1/6e7fe4519825e384acb6d2493f994309e089857eba5e1faa54dad8eb0eca7fc4/State.json", + "sha256": "cbd49d1d6e1f1c82cf267cc72285e5cbf0977d2cccb778edeed9590800fac36e", + "role": "old_result_state" + }, + "declared_run_id": "6e7fe4519825e384acb6d2493f994309e089857eba5e1faa54dad8eb0eca7fc4", + "binding_status": "located_not_recertified", + "manifests": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/IonmongerIonAwareDcV1/6e7fe4519825e384acb6d2493f994309e089857eba5e1faa54dad8eb0eca7fc4/Manifests/547488bfd13a7e889bf3de9b09880a1e4d01ad08c4cb86c6e603a8eaea4f9125.json", + "sha256": "d2b517897212e6b1395b0f61cc0fc7af252fd7415e3a58e71efe15e8c5fcd885", + "role": "historical_manifests" + }, + "declared_content_id": "547488bfd13a7e889bf3de9b09880a1e4d01ad08c4cb86c6e603a8eaea4f9125", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "complete", + "declared_lane_id": "IonmongerIonAwareDcV1", + "source_commit": "0d38a6af469ea55fb4ea5841a27b7f0110a7686e", + "source_fingerprint_sha256": "8a3f7006d752cf76fa9876ffd410c54e8cfa2ea6d17c44b304bad1ca56e179c5", + "config_sha256": null, + "lane_definition_sha256": "16e8f0ad9fd37279799195707761041a7829fbd5c21737581f72dcfa04fa3ee8", + "completed_cells": null, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": null, + "artifact_pointers": [ + { + "path": "cells/1b81a0cba50e17c1a81629deae3b5ea07bd89e73ae7675d063289e16cb60784b.json", + "point_key": "grid=30;tolerance=1", + "sha256": "1b81a0cba50e17c1a81629deae3b5ea07bd89e73ae7675d063289e16cb60784b", + "status": "completed" + }, + { + "path": "cells/7c2c7220d15eeddcb5344b54f412d834af8638375a03c7f14037acf6c005fa31.json", + "point_key": "grid=30;tolerance=0.1", + "sha256": "7c2c7220d15eeddcb5344b54f412d834af8638375a03c7f14037acf6c005fa31", + "status": "completed" + }, + { + "path": "cells/f165baaf4db3159ea3feadc32dc2d59a9085f114bd1b33a77676c2a9b86a7b4e.json", + "point_key": "grid=30;tolerance=0.01", + "sha256": "f165baaf4db3159ea3feadc32dc2d59a9085f114bd1b33a77676c2a9b86a7b4e", + "status": "completed" + }, + { + "path": "cells/e6112c90ff2fd4e5ed3c3f2feeb251c4913f498d0cf1a2732a1011267420fb7e.json", + "point_key": "grid=60;tolerance=1", + "sha256": "e6112c90ff2fd4e5ed3c3f2feeb251c4913f498d0cf1a2732a1011267420fb7e", + "status": "completed" + }, + { + "path": "cells/25d6fda965ac243ef2fa4abea7c82fa19e8888307f4b3eb2951f454d21b35c7a.json", + "point_key": "grid=60;tolerance=0.1", + "sha256": "25d6fda965ac243ef2fa4abea7c82fa19e8888307f4b3eb2951f454d21b35c7a", + "status": "completed" + }, + { + "path": "cells/5a9a3a8daa53effda68e7f714f2a7293e7e316e16a9b3c140b36fb45a0397f69.json", + "point_key": "grid=60;tolerance=0.01", + "sha256": "5a9a3a8daa53effda68e7f714f2a7293e7e316e16a9b3c140b36fb45a0397f69", + "status": "completed" + }, + { + "path": "cells/f1a7849520c7b6b4fe52a84c0575f42700ccca7da826970bc967565749438f42.json", + "point_key": "grid=90;tolerance=1", + "sha256": "f1a7849520c7b6b4fe52a84c0575f42700ccca7da826970bc967565749438f42", + "status": "completed" + }, + { + "path": "cells/e421f2bb1d4db5a1fc3aa16d2bd549231e659a20114f9973a54f37ca67b87e4c.json", + "point_key": "grid=90;tolerance=0.1", + "sha256": "e421f2bb1d4db5a1fc3aa16d2bd549231e659a20114f9973a54f37ca67b87e4c", + "status": "completed" + }, + { + "path": "cells/d7b471b9896cc731932064bcbf5f1b417ebf267dbbd05baa128cdcdeedd03c5b.json", + "point_key": "grid=90;tolerance=0.01", + "sha256": "d7b471b9896cc731932064bcbf5f1b417ebf267dbbd05baa128cdcdeedd03c5b", + "status": "completed" + } + ], + "environment_sha256": "197e3085b43d4d83ae9bd5fef2bd7f038a2dda3a888bf16c1a02804ec0cb8c27" + }, + "certificates": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/IonmongerIonAwareDcV1/6e7fe4519825e384acb6d2493f994309e089857eba5e1faa54dad8eb0eca7fc4/Certificates/44450073a8372aaf71334725696dac93ecfed53513d32f66b3e347796157c2f9.json", + "sha256": "1e9207bee4528cc26bed73a57d962d0e401943d10fc7ed3964789616160f8f4a", + "role": "historical_certificates" + }, + "declared_content_id": "44450073a8372aaf71334725696dac93ecfed53513d32f66b3e347796157c2f9", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "partial", + "declared_lane_id": "IonmongerIonAwareDcV1", + "source_commit": "0d38a6af469ea55fb4ea5841a27b7f0110a7686e", + "source_fingerprint_sha256": "8a3f7006d752cf76fa9876ffd410c54e8cfa2ea6d17c44b304bad1ca56e179c5", + "config_sha256": "fbc82c9b85d121c459ab08d07d1c7f886eef36f4db669d354b79d260f43c8750", + "lane_definition_sha256": "16e8f0ad9fd37279799195707761041a7829fbd5c21737581f72dcfa04fa3ee8", + "completed_cells": 9, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": 0, + "artifact_pointers": [], + "environment_sha256": "197e3085b43d4d83ae9bd5fef2bd7f038a2dda3a888bf16c1a02804ec0cb8c27" + } + }, + { + "run_directory": "results/NumericalRefinement/IonmongerIonAwareDcV1/77756b2b4a04caca9b610ed290f22b494221f233d8ae21d2375ab6fa65d18305", + "state": { + "root": "archive", + "path": "results/NumericalRefinement/IonmongerIonAwareDcV1/77756b2b4a04caca9b610ed290f22b494221f233d8ae21d2375ab6fa65d18305/State.json", + "sha256": "0520ecd248c28e2d0691849614f94cc99d99558882e9978ca53bf65f8c7650e3", + "role": "old_result_state" + }, + "declared_run_id": "77756b2b4a04caca9b610ed290f22b494221f233d8ae21d2375ab6fa65d18305", + "binding_status": "located_not_recertified", + "manifests": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/IonmongerIonAwareDcV1/77756b2b4a04caca9b610ed290f22b494221f233d8ae21d2375ab6fa65d18305/Manifests/fff436c88487b0a5ce8fa442c51202b2eeca70421553aca7371d19de1be9bc24.json", + "sha256": "3d01dbe5f644a9192b58b735fa6a1c72d4b2f52d4690a7ab825e7802e0dc24fd", + "role": "historical_manifests" + }, + "declared_content_id": "fff436c88487b0a5ce8fa442c51202b2eeca70421553aca7371d19de1be9bc24", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "complete", + "declared_lane_id": "IonmongerIonAwareDcV1", + "source_commit": "0d38a6af469ea55fb4ea5841a27b7f0110a7686e", + "source_fingerprint_sha256": "b9e9ec39e08f1f94085c488e61f6fc7b9dc56a0a7a31c7530099eb81a863ae1e", + "config_sha256": null, + "lane_definition_sha256": "16e8f0ad9fd37279799195707761041a7829fbd5c21737581f72dcfa04fa3ee8", + "completed_cells": null, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": null, + "artifact_pointers": [ + { + "path": "cells/47335ca19d42ad40d8d4d69a053bacd8281e1817bfdd7bbb7f100385036748c0.json", + "point_key": "grid=30;tolerance=1", + "sha256": "47335ca19d42ad40d8d4d69a053bacd8281e1817bfdd7bbb7f100385036748c0", + "status": "completed" + }, + { + "path": "cells/be260b7f0ab66f52e0b4a0d6c54325046aafd6de0d114cc4cc09c415fce06de1.json", + "point_key": "grid=30;tolerance=0.1", + "sha256": "be260b7f0ab66f52e0b4a0d6c54325046aafd6de0d114cc4cc09c415fce06de1", + "status": "completed" + }, + { + "path": "cells/676aeebdbff6244f842753bc3279cb964ec36a6e784b023b1b375c4f4db26914.json", + "point_key": "grid=30;tolerance=0.01", + "sha256": "676aeebdbff6244f842753bc3279cb964ec36a6e784b023b1b375c4f4db26914", + "status": "completed" + }, + { + "path": "cells/031e508368fe5ba1a6d7f3708bc0aa79802cd2da0df122167e5f09444406c34f.json", + "point_key": "grid=60;tolerance=1", + "sha256": "031e508368fe5ba1a6d7f3708bc0aa79802cd2da0df122167e5f09444406c34f", + "status": "completed" + }, + { + "path": "cells/597bd8944a6b28d6db4bbc5a7263118c7f17e8097d3289a185759c1d14b39628.json", + "point_key": "grid=60;tolerance=0.1", + "sha256": "597bd8944a6b28d6db4bbc5a7263118c7f17e8097d3289a185759c1d14b39628", + "status": "completed" + }, + { + "path": "cells/01ca2b081597c0578261bf6344b1473d74849a153a72335f4b68fdeaedffe993.json", + "point_key": "grid=60;tolerance=0.01", + "sha256": "01ca2b081597c0578261bf6344b1473d74849a153a72335f4b68fdeaedffe993", + "status": "completed" + }, + { + "path": "cells/02c5a3514676a5e171eb4e7948d11c313b559aeb982369def5d2a01c08898d8d.json", + "point_key": "grid=90;tolerance=1", + "sha256": "02c5a3514676a5e171eb4e7948d11c313b559aeb982369def5d2a01c08898d8d", + "status": "completed" + }, + { + "path": "cells/8ed8de1b6857154c92147259d3b7d99d42da0c0181647d534b928f37c4255ef2.json", + "point_key": "grid=90;tolerance=0.1", + "sha256": "8ed8de1b6857154c92147259d3b7d99d42da0c0181647d534b928f37c4255ef2", + "status": "completed" + }, + { + "path": "cells/966a18271c0383bfe79c2da54f692f7b0989e7a6a02aa797e912dfa4f4775bec.json", + "point_key": "grid=90;tolerance=0.01", + "sha256": "966a18271c0383bfe79c2da54f692f7b0989e7a6a02aa797e912dfa4f4775bec", + "status": "completed" + } + ], + "environment_sha256": "197e3085b43d4d83ae9bd5fef2bd7f038a2dda3a888bf16c1a02804ec0cb8c27" + }, + "certificates": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/IonmongerIonAwareDcV1/77756b2b4a04caca9b610ed290f22b494221f233d8ae21d2375ab6fa65d18305/Certificates/0296c7bad24b087b53a779ee22b37848500fd46bc204e3c078608eea6c7efbeb.json", + "sha256": "20784b1b9781cd76ba9b7ebc70e5ad1477d501ad97bff86702b3c0b6697f7ccb", + "role": "historical_certificates" + }, + "declared_content_id": "0296c7bad24b087b53a779ee22b37848500fd46bc204e3c078608eea6c7efbeb", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "partial", + "declared_lane_id": "IonmongerIonAwareDcV1", + "source_commit": "0d38a6af469ea55fb4ea5841a27b7f0110a7686e", + "source_fingerprint_sha256": "b9e9ec39e08f1f94085c488e61f6fc7b9dc56a0a7a31c7530099eb81a863ae1e", + "config_sha256": "fbc82c9b85d121c459ab08d07d1c7f886eef36f4db669d354b79d260f43c8750", + "lane_definition_sha256": "16e8f0ad9fd37279799195707761041a7829fbd5c21737581f72dcfa04fa3ee8", + "completed_cells": 9, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": 0, + "artifact_pointers": [], + "environment_sha256": "197e3085b43d4d83ae9bd5fef2bd7f038a2dda3a888bf16c1a02804ec0cb8c27" + } + }, + { + "run_directory": "results/NumericalRefinement/IonmongerIonAwareDcV1/b089fca2f0d607086cadd120270ef4473e4a119dfe54452be8073ce971445eec", + "state": { + "root": "archive", + "path": "results/NumericalRefinement/IonmongerIonAwareDcV1/b089fca2f0d607086cadd120270ef4473e4a119dfe54452be8073ce971445eec/State.json", + "sha256": "dc7759a1dbef1501f917c8677d9d31d7ca9900cf416bc8d93c9a291f9de65431", + "role": "old_result_state" + }, + "declared_run_id": "b089fca2f0d607086cadd120270ef4473e4a119dfe54452be8073ce971445eec", + "binding_status": "located_not_recertified", + "manifests": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/IonmongerIonAwareDcV1/b089fca2f0d607086cadd120270ef4473e4a119dfe54452be8073ce971445eec/Manifests/26253cc92c20a842cde47427a3a8c4cb0d8f8a8a7942a1be25c52e856df343f3.json", + "sha256": "e51d4bbd5b451a9a2d0f0317d9e2ba571664c5e1f66ae7b7a05e1fda82df062a", + "role": "historical_manifests" + }, + "declared_content_id": "26253cc92c20a842cde47427a3a8c4cb0d8f8a8a7942a1be25c52e856df343f3", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "complete", + "declared_lane_id": "IonmongerIonAwareDcV1", + "source_commit": "0d38a6af469ea55fb4ea5841a27b7f0110a7686e", + "source_fingerprint_sha256": "ec69ef1d1d9e0b2ec7a1058a67f21831e329030c37d9c67fcf108ffa0f503949", + "config_sha256": null, + "lane_definition_sha256": "16e8f0ad9fd37279799195707761041a7829fbd5c21737581f72dcfa04fa3ee8", + "completed_cells": null, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": null, + "artifact_pointers": [ + { + "path": "cells/fa0b9a09c11ca04909a204b24ae04705718b1719feb9e8f5a4cf2857d62266a0.json", + "point_key": "grid=30;tolerance=1", + "sha256": "fa0b9a09c11ca04909a204b24ae04705718b1719feb9e8f5a4cf2857d62266a0", + "status": "completed" + }, + { + "path": "cells/890cc9a751b536a0a91de549a446de8e888b3d1847897ae9124d871bb03486b0.json", + "point_key": "grid=30;tolerance=0.1", + "sha256": "890cc9a751b536a0a91de549a446de8e888b3d1847897ae9124d871bb03486b0", + "status": "completed" + }, + { + "path": "cells/2a28c286b26c2612fd399fc7967dd9293247c9e8139e7d55d79a7257bb522d5b.json", + "point_key": "grid=30;tolerance=0.01", + "sha256": "2a28c286b26c2612fd399fc7967dd9293247c9e8139e7d55d79a7257bb522d5b", + "status": "completed" + }, + { + "path": "cells/d764a229afebf8c7bf8f271e1cab25ec906da45018a602cf46239d00149d22f7.json", + "point_key": "grid=60;tolerance=1", + "sha256": "d764a229afebf8c7bf8f271e1cab25ec906da45018a602cf46239d00149d22f7", + "status": "completed" + }, + { + "path": "cells/ff9f36ceb661afe33ff1d0c0e2777826731ee965c3dcf98885957205b9e8f0bf.json", + "point_key": "grid=60;tolerance=0.1", + "sha256": "ff9f36ceb661afe33ff1d0c0e2777826731ee965c3dcf98885957205b9e8f0bf", + "status": "completed" + }, + { + "path": "cells/1cd6c0e615c2adbbf45f001dfc63ff0afc7d94734f8551aebd61612c97267165.json", + "point_key": "grid=60;tolerance=0.01", + "sha256": "1cd6c0e615c2adbbf45f001dfc63ff0afc7d94734f8551aebd61612c97267165", + "status": "completed" + }, + { + "path": "cells/8224e3b789362904b95848fbbdc5565f2ff6b561d2c4e6f79fca101712f56099.json", + "point_key": "grid=90;tolerance=1", + "sha256": "8224e3b789362904b95848fbbdc5565f2ff6b561d2c4e6f79fca101712f56099", + "status": "completed" + }, + { + "path": "cells/68e7dcc168171c282f0c90cb64dba45c2b9628008a7f2f263d4b06ac127018d4.json", + "point_key": "grid=90;tolerance=0.1", + "sha256": "68e7dcc168171c282f0c90cb64dba45c2b9628008a7f2f263d4b06ac127018d4", + "status": "completed" + }, + { + "path": "cells/9c0553d97def1ea8544d052e042fb5e8e571b53215152f4d2cd8eb2e628a4aa0.json", + "point_key": "grid=90;tolerance=0.01", + "sha256": "9c0553d97def1ea8544d052e042fb5e8e571b53215152f4d2cd8eb2e628a4aa0", + "status": "completed" + } + ], + "environment_sha256": "197e3085b43d4d83ae9bd5fef2bd7f038a2dda3a888bf16c1a02804ec0cb8c27" + }, + "certificates": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/IonmongerIonAwareDcV1/b089fca2f0d607086cadd120270ef4473e4a119dfe54452be8073ce971445eec/Certificates/5a82f2d08721f29a586c9149d2b9b9fc6ab7a36d1ac844802f75a18e50da5972.json", + "sha256": "dbf7c81be94b5efb797a634fc848c36a1fd2c85ce0b8ae97c7048423eb47fd52", + "role": "historical_certificates" + }, + "declared_content_id": "5a82f2d08721f29a586c9149d2b9b9fc6ab7a36d1ac844802f75a18e50da5972", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "partial", + "declared_lane_id": "IonmongerIonAwareDcV1", + "source_commit": "0d38a6af469ea55fb4ea5841a27b7f0110a7686e", + "source_fingerprint_sha256": "ec69ef1d1d9e0b2ec7a1058a67f21831e329030c37d9c67fcf108ffa0f503949", + "config_sha256": "fbc82c9b85d121c459ab08d07d1c7f886eef36f4db669d354b79d260f43c8750", + "lane_definition_sha256": "16e8f0ad9fd37279799195707761041a7829fbd5c21737581f72dcfa04fa3ee8", + "completed_cells": 9, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": 0, + "artifact_pointers": [], + "environment_sha256": "197e3085b43d4d83ae9bd5fef2bd7f038a2dda3a888bf16c1a02804ec0cb8c27" + } + } + ], + "status": "historical_records_located" + }, + { + "capability_id": "lane-b59b8f0f474425b0", + "lane": "ionmonger-ion-aware-impedance-resolved-v1", + "archive_directory": "results/NumericalRefinement/IonmongerIonAwareImpedanceResolvedV1", + "runs": [ + { + "run_directory": "results/NumericalRefinement/IonmongerIonAwareImpedanceResolvedV1/4c156188396629c45cd34d93559ef1cb9fb638dff6728682fa625acaffbe039b", + "state": { + "root": "archive", + "path": "results/NumericalRefinement/IonmongerIonAwareImpedanceResolvedV1/4c156188396629c45cd34d93559ef1cb9fb638dff6728682fa625acaffbe039b/State.json", + "sha256": "08298ee2cf9ef86ec6394fe78017912b96b0f4b0a7b1b843ab8dbf539e8706c3", + "role": "old_result_state" + }, + "declared_run_id": "4c156188396629c45cd34d93559ef1cb9fb638dff6728682fa625acaffbe039b", + "binding_status": "located_not_recertified", + "manifests": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/IonmongerIonAwareImpedanceResolvedV1/4c156188396629c45cd34d93559ef1cb9fb638dff6728682fa625acaffbe039b/Manifests/136ca6637c84248748536310d84adee717645090ed14542bc4de247cfe6807ec.json", + "sha256": "31e6f113c7cb44d4acca26d2289e0a4b8266e85cf67d38baf60961131501a3bf", + "role": "historical_manifests" + }, + "declared_content_id": "136ca6637c84248748536310d84adee717645090ed14542bc4de247cfe6807ec", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "running", + "declared_lane_id": "IonmongerIonAwareImpedanceResolvedV1", + "source_commit": "06bebddb622c64174f36fba13160cee134ee628e", + "source_fingerprint_sha256": "6d99b7347b0cf0d33a2cd8484f74a34c1d866a54e75c1ee8fe42b6913c8d3e98", + "config_sha256": null, + "lane_definition_sha256": "a45569ea304064d94295c6cab2cded06dc11f0cdbb9efbb3c81f6b12205cddf4", + "completed_cells": null, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": null, + "artifact_pointers": [ + { + "path": "cells/78de4a98ed55821665ce216915a878dc2c4bbb51c6322d093e8b8eb6f6c44897.json", + "point_key": "grid=60;tolerance=1", + "sha256": "78de4a98ed55821665ce216915a878dc2c4bbb51c6322d093e8b8eb6f6c44897", + "status": "completed" + } + ], + "environment_sha256": "197e3085b43d4d83ae9bd5fef2bd7f038a2dda3a888bf16c1a02804ec0cb8c27" + }, + "certificates": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/IonmongerIonAwareImpedanceResolvedV1/4c156188396629c45cd34d93559ef1cb9fb638dff6728682fa625acaffbe039b/Certificates/c3f7cb49afd9c6ce171b59fe9b2827cc1aa2018ac0909c775b4709e481f7496f.json", + "sha256": "2cb120c7b9ec512b4e66f53f556fb5f960d7a2ae6fa00e7be4bb42afbfde17cb", + "role": "historical_certificates" + }, + "declared_content_id": "c3f7cb49afd9c6ce171b59fe9b2827cc1aa2018ac0909c775b4709e481f7496f", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "failed", + "declared_lane_id": "IonmongerIonAwareImpedanceResolvedV1", + "source_commit": "06bebddb622c64174f36fba13160cee134ee628e", + "source_fingerprint_sha256": "6d99b7347b0cf0d33a2cd8484f74a34c1d866a54e75c1ee8fe42b6913c8d3e98", + "config_sha256": "fbc82c9b85d121c459ab08d07d1c7f886eef36f4db669d354b79d260f43c8750", + "lane_definition_sha256": "a45569ea304064d94295c6cab2cded06dc11f0cdbb9efbb3c81f6b12205cddf4", + "completed_cells": 1, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": 8, + "artifact_pointers": [], + "environment_sha256": "197e3085b43d4d83ae9bd5fef2bd7f038a2dda3a888bf16c1a02804ec0cb8c27" + } + }, + { + "run_directory": "results/NumericalRefinement/IonmongerIonAwareImpedanceResolvedV1/b9374bbe91284de23914095f2819ba844b70e10a9cf8b74a6b2979830dcc0ab2", + "state": { + "root": "archive", + "path": "results/NumericalRefinement/IonmongerIonAwareImpedanceResolvedV1/b9374bbe91284de23914095f2819ba844b70e10a9cf8b74a6b2979830dcc0ab2/State.json", + "sha256": "2c4feda6b65b3ec70e52536291bddfa343fe61f0643fc25730690821832dd524", + "role": "old_result_state" + }, + "declared_run_id": "b9374bbe91284de23914095f2819ba844b70e10a9cf8b74a6b2979830dcc0ab2", + "binding_status": "located_not_recertified", + "manifests": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/IonmongerIonAwareImpedanceResolvedV1/b9374bbe91284de23914095f2819ba844b70e10a9cf8b74a6b2979830dcc0ab2/Manifests/0a40e4eaef7d22b46e6d5175e00dd80fabc9883808bc470261e3afb67dfa8d3f.json", + "sha256": "2c1f402e67ba18826c9707de0f8d25fdbdb0941ddd5ad48f91fa73b81cf7e88e", + "role": "historical_manifests" + }, + "declared_content_id": "0a40e4eaef7d22b46e6d5175e00dd80fabc9883808bc470261e3afb67dfa8d3f", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "complete", + "declared_lane_id": "IonmongerIonAwareImpedanceResolvedV1", + "source_commit": "ea4ff0f310f9e09b1aeb030121920c2df7fb8b29", + "source_fingerprint_sha256": "b226ff45ed736e4d9a8b6d20fbcf162bdbf7701c0e9e66b29dbadda3d22f55f1", + "config_sha256": null, + "lane_definition_sha256": "a45569ea304064d94295c6cab2cded06dc11f0cdbb9efbb3c81f6b12205cddf4", + "completed_cells": null, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": null, + "artifact_pointers": [ + { + "path": "cells/9f21897f89b2383707154bf8aa2487720e7c0b368d18a3ffa00a5a172f49a12b.json", + "point_key": "grid=60;tolerance=1", + "sha256": "9f21897f89b2383707154bf8aa2487720e7c0b368d18a3ffa00a5a172f49a12b", + "status": "completed" + }, + { + "path": "cells/1bf332473e1b0bfc6ecb9354afe0eddf2ed90bb58de7fbf5052a70e6966b3208.json", + "point_key": "grid=60;tolerance=0.5", + "sha256": "1bf332473e1b0bfc6ecb9354afe0eddf2ed90bb58de7fbf5052a70e6966b3208", + "status": "completed" + }, + { + "path": "cells/b0e7958ba705d6974167cb1d1e0053c29bffcf99e74f9d8dd6b78ded48bdf194.json", + "point_key": "grid=60;tolerance=0.25", + "sha256": "b0e7958ba705d6974167cb1d1e0053c29bffcf99e74f9d8dd6b78ded48bdf194", + "status": "completed" + }, + { + "path": "cells/d6541718e53b97456f1941790c7ae57bace0a8aca272431398d055934b5660c1.json", + "point_key": "grid=90;tolerance=1", + "sha256": "d6541718e53b97456f1941790c7ae57bace0a8aca272431398d055934b5660c1", + "status": "completed" + }, + { + "path": "cells/8288a73657217d50d5964417c42257be8638cc9c6a058f50ba574dd774bd8a8a.json", + "point_key": "grid=90;tolerance=0.5", + "sha256": "8288a73657217d50d5964417c42257be8638cc9c6a058f50ba574dd774bd8a8a", + "status": "completed" + }, + { + "path": "cells/4fcc2d50a99c574f86ff88087115ff1b2bff180b81942d5786b0a85f5144bcf0.json", + "point_key": "grid=90;tolerance=0.25", + "sha256": "4fcc2d50a99c574f86ff88087115ff1b2bff180b81942d5786b0a85f5144bcf0", + "status": "completed" + }, + { + "path": "cells/62f89d66f5a04f8247fd7f51b860ceb580923db4512a6395340a9f070a33f085.json", + "point_key": "grid=120;tolerance=1", + "sha256": "62f89d66f5a04f8247fd7f51b860ceb580923db4512a6395340a9f070a33f085", + "status": "completed" + }, + { + "path": "cells/9ab26b0fd5afd77f266d8a9725aed26834e52e5bde7064346160646659a72b55.json", + "point_key": "grid=120;tolerance=0.5", + "sha256": "9ab26b0fd5afd77f266d8a9725aed26834e52e5bde7064346160646659a72b55", + "status": "completed" + }, + { + "path": "cells/05cf03f7909afee6fe30fecfd1c7aac87c6f2299640445bd6ffd0c99425e3f8c.json", + "point_key": "grid=120;tolerance=0.25", + "sha256": "05cf03f7909afee6fe30fecfd1c7aac87c6f2299640445bd6ffd0c99425e3f8c", + "status": "completed" + } + ], + "environment_sha256": "197e3085b43d4d83ae9bd5fef2bd7f038a2dda3a888bf16c1a02804ec0cb8c27" + }, + "certificates": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/IonmongerIonAwareImpedanceResolvedV1/b9374bbe91284de23914095f2819ba844b70e10a9cf8b74a6b2979830dcc0ab2/Certificates/9d05787d9ca9e86ff3cd1803e5c7c385a3b3768c7792eaf1328c30813d8e077c.json", + "sha256": "c3f386488c3028ead8a5e2591ea5e966bcf6e5b3464cccb342ce585607f05ceb", + "role": "historical_certificates" + }, + "declared_content_id": "9d05787d9ca9e86ff3cd1803e5c7c385a3b3768c7792eaf1328c30813d8e077c", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "certified", + "declared_lane_id": "IonmongerIonAwareImpedanceResolvedV1", + "source_commit": "ea4ff0f310f9e09b1aeb030121920c2df7fb8b29", + "source_fingerprint_sha256": "b226ff45ed736e4d9a8b6d20fbcf162bdbf7701c0e9e66b29dbadda3d22f55f1", + "config_sha256": "fbc82c9b85d121c459ab08d07d1c7f886eef36f4db669d354b79d260f43c8750", + "lane_definition_sha256": "a45569ea304064d94295c6cab2cded06dc11f0cdbb9efbb3c81f6b12205cddf4", + "completed_cells": 9, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": 0, + "artifact_pointers": [], + "environment_sha256": "197e3085b43d4d83ae9bd5fef2bd7f038a2dda3a888bf16c1a02804ec0cb8c27" + } + } + ], + "status": "historical_records_located" + }, + { + "capability_id": "lane-077aabd76066b531", + "lane": "ionmonger-mobile-ion-transient", + "archive_directory": "results/NumericalRefinement/IonmongerMobileIonTransient", + "runs": [ + { + "run_directory": "results/NumericalRefinement/IonmongerMobileIonTransient/600711d20d1303cfee657f60caebfe05ff18c8a384c0790e2354d23646f1e44e", + "state": { + "root": "archive", + "path": "results/NumericalRefinement/IonmongerMobileIonTransient/600711d20d1303cfee657f60caebfe05ff18c8a384c0790e2354d23646f1e44e/State.json", + "sha256": "4b9f4316a0dba8ef35d79f3bcd25725a605d415a9868072ef1896ba611b494ac", + "role": "old_result_state" + }, + "declared_run_id": "600711d20d1303cfee657f60caebfe05ff18c8a384c0790e2354d23646f1e44e", + "binding_status": "located_not_recertified", + "manifests": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/IonmongerMobileIonTransient/600711d20d1303cfee657f60caebfe05ff18c8a384c0790e2354d23646f1e44e/Manifests/bb32a9e199c315417bae635cf926e4f8d573300bc07ccad213aac6777e9ac3b1.json", + "sha256": "53decdca47f8197276eebbeb85bc40e05b79533adcacd8c27ba9c77aa95ac0c5", + "role": "historical_manifests" + }, + "declared_content_id": "bb32a9e199c315417bae635cf926e4f8d573300bc07ccad213aac6777e9ac3b1", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "complete", + "declared_lane_id": "IonmongerMobileIonTransient", + "source_commit": "5b90e6e3b7ea54e60f03fd40881b79b3efdb45ed", + "source_fingerprint_sha256": "941655cdd29c937a105ab7fc1f599dc151a3b6a99411ffa62abe29f6de69e8fd", + "config_sha256": null, + "lane_definition_sha256": "2914deebdfb383f132ed9ca77a21f3737b5a3de0a45129102d1518e39c5c1c2d", + "completed_cells": null, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": null, + "artifact_pointers": [ + { + "path": "cells/a0ff8f211e3f05b72e6334a9bcc7686cc82cfc010fe80608b3f7d31adf1b329e.json", + "point_key": "grid=30;tolerance=1", + "sha256": "a0ff8f211e3f05b72e6334a9bcc7686cc82cfc010fe80608b3f7d31adf1b329e", + "status": "completed" + }, + { + "path": "cells/3550b0d89ff70d36bfca976b1a96136d83a19847e997f1bce0bcd7d7cd6a6c05.json", + "point_key": "grid=30;tolerance=0.1", + "sha256": "3550b0d89ff70d36bfca976b1a96136d83a19847e997f1bce0bcd7d7cd6a6c05", + "status": "completed" + }, + { + "path": "cells/43b0645737aa6e94a568a56c749988e33089750a220c6ac20f08131407cba4e6.json", + "point_key": "grid=30;tolerance=0.01", + "sha256": "43b0645737aa6e94a568a56c749988e33089750a220c6ac20f08131407cba4e6", + "status": "completed" + }, + { + "path": "cells/54a2e110dced7a88533843193d0284f42372fbe02e5d75317f888652ab64169d.json", + "point_key": "grid=60;tolerance=1", + "sha256": "54a2e110dced7a88533843193d0284f42372fbe02e5d75317f888652ab64169d", + "status": "completed" + }, + { + "path": "cells/a365f8fdc87a3de293000afeec48e4191798efd79d6c58fe0cd7848a3cc22c91.json", + "point_key": "grid=60;tolerance=0.1", + "sha256": "a365f8fdc87a3de293000afeec48e4191798efd79d6c58fe0cd7848a3cc22c91", + "status": "completed" + }, + { + "path": "cells/031b8757de838e8a574ac17f2bedc0c3c823218426e6f436efac9fac69ac3efc.json", + "point_key": "grid=60;tolerance=0.01", + "sha256": "031b8757de838e8a574ac17f2bedc0c3c823218426e6f436efac9fac69ac3efc", + "status": "completed" + }, + { + "path": "cells/1d19dbd38e9d0e614fa94586a0d61f65f4cce772e727cd094071b36286acdea8.json", + "point_key": "grid=90;tolerance=1", + "sha256": "1d19dbd38e9d0e614fa94586a0d61f65f4cce772e727cd094071b36286acdea8", + "status": "completed" + }, + { + "path": "cells/8a358b309d24c35fb8138273691eb68c0c2f55deff53f40610db7f7e63a3ae46.json", + "point_key": "grid=90;tolerance=0.1", + "sha256": "8a358b309d24c35fb8138273691eb68c0c2f55deff53f40610db7f7e63a3ae46", + "status": "completed" + }, + { + "path": "cells/12bce7b435e7192f56f313977b0157d005c772c95e4091998dd6c3374c91d98f.json", + "point_key": "grid=90;tolerance=0.01", + "sha256": "12bce7b435e7192f56f313977b0157d005c772c95e4091998dd6c3374c91d98f", + "status": "completed" + } + ], + "environment_sha256": "f939230f1c8d3eefa5b75660f0301c68afbb7cfcf56b0ae6178472fa832dffb6" + }, + "certificates": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/IonmongerMobileIonTransient/600711d20d1303cfee657f60caebfe05ff18c8a384c0790e2354d23646f1e44e/Certificates/32bea4da405325f2c9ed00ba6605301d4723ccc89aee3ba446ad1482e151f8a3.json", + "sha256": "a0790341fd49cea8c50241bc8ec894c6f864f53259561f70cb046dd2c076b20e", + "role": "historical_certificates" + }, + "declared_content_id": "32bea4da405325f2c9ed00ba6605301d4723ccc89aee3ba446ad1482e151f8a3", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "partial", + "declared_lane_id": "IonmongerMobileIonTransient", + "source_commit": "5b90e6e3b7ea54e60f03fd40881b79b3efdb45ed", + "source_fingerprint_sha256": "941655cdd29c937a105ab7fc1f599dc151a3b6a99411ffa62abe29f6de69e8fd", + "config_sha256": "fbc82c9b85d121c459ab08d07d1c7f886eef36f4db669d354b79d260f43c8750", + "lane_definition_sha256": "2914deebdfb383f132ed9ca77a21f3737b5a3de0a45129102d1518e39c5c1c2d", + "completed_cells": 9, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": 0, + "artifact_pointers": [], + "environment_sha256": "f939230f1c8d3eefa5b75660f0301c68afbb7cfcf56b0ae6178472fa832dffb6" + } + }, + { + "run_directory": "results/NumericalRefinement/IonmongerMobileIonTransient/7df471a1f3c610de4de6e411015fcb045ba4ea6471c8f3a6099a6639f73e7f0f", + "state": { + "root": "archive", + "path": "results/NumericalRefinement/IonmongerMobileIonTransient/7df471a1f3c610de4de6e411015fcb045ba4ea6471c8f3a6099a6639f73e7f0f/State.json", + "sha256": "d3cb76af56caa732a315eca7ed562926a2b706589b5dd3b7e137ec96207d1781", + "role": "old_result_state" + }, + "declared_run_id": "7df471a1f3c610de4de6e411015fcb045ba4ea6471c8f3a6099a6639f73e7f0f", + "binding_status": "located_not_recertified", + "manifests": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/IonmongerMobileIonTransient/7df471a1f3c610de4de6e411015fcb045ba4ea6471c8f3a6099a6639f73e7f0f/Manifests/5f78a75a77729d55937de5e61eb64ea83bdc07450903616f15907e1e0980208c.json", + "sha256": "f54fc8720ce7e40577a7e7a51a36119266bbf8dfef25bab7a50bdf1ca11d2add", + "role": "historical_manifests" + }, + "declared_content_id": "5f78a75a77729d55937de5e61eb64ea83bdc07450903616f15907e1e0980208c", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "complete", + "declared_lane_id": "IonmongerMobileIonTransient", + "source_commit": "5b90e6e3b7ea54e60f03fd40881b79b3efdb45ed", + "source_fingerprint_sha256": "36d7c5622cec4a7b2a3c94921994245a84ed58e24d5acc2feb06f8555ac02633", + "config_sha256": null, + "lane_definition_sha256": "2914deebdfb383f132ed9ca77a21f3737b5a3de0a45129102d1518e39c5c1c2d", + "completed_cells": null, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": null, + "artifact_pointers": [ + { + "path": "cells/fae9e662bd5969c294e0e3a314cc711015b5784b88a24394dd2a0db55860ea1f.json", + "point_key": "grid=30;tolerance=1", + "sha256": "fae9e662bd5969c294e0e3a314cc711015b5784b88a24394dd2a0db55860ea1f", + "status": "completed" + }, + { + "path": "cells/15beb123b38a3dc0a2f40def1128baaa8c4574c1acd97ea83ac42720005fd6b7.json", + "point_key": "grid=30;tolerance=0.1", + "sha256": "15beb123b38a3dc0a2f40def1128baaa8c4574c1acd97ea83ac42720005fd6b7", + "status": "completed" + }, + { + "path": "cells/33cdcd4d384de4585bf476a52f6b2aa291b5aebbbb83b5c8376a9153e9ea409d.json", + "point_key": "grid=30;tolerance=0.01", + "sha256": "33cdcd4d384de4585bf476a52f6b2aa291b5aebbbb83b5c8376a9153e9ea409d", + "status": "completed" + }, + { + "path": "cells/dc45950b61edf1418e6a03914a10ff271220e2e886b8f481ee3d987c1e325246.json", + "point_key": "grid=60;tolerance=1", + "sha256": "dc45950b61edf1418e6a03914a10ff271220e2e886b8f481ee3d987c1e325246", + "status": "completed" + }, + { + "path": "cells/3e73748f36a29f9d6bc240bf9913ee36b98fe77a97502b58e661bcbcad2a66ec.json", + "point_key": "grid=60;tolerance=0.1", + "sha256": "3e73748f36a29f9d6bc240bf9913ee36b98fe77a97502b58e661bcbcad2a66ec", + "status": "completed" + }, + { + "path": "cells/4c2729b5a3fd0c0e2ebcfb8dbccc473fddb9e3a43cd287f70c761e7d4f4c8b78.json", + "point_key": "grid=60;tolerance=0.01", + "sha256": "4c2729b5a3fd0c0e2ebcfb8dbccc473fddb9e3a43cd287f70c761e7d4f4c8b78", + "status": "completed" + }, + { + "path": "cells/085a24c94409f90545d9f1aadbebcb8963d6476468fcbef3fc5c1e2c5d5f9a1c.json", + "point_key": "grid=90;tolerance=1", + "sha256": "085a24c94409f90545d9f1aadbebcb8963d6476468fcbef3fc5c1e2c5d5f9a1c", + "status": "completed" + }, + { + "path": "cells/3812501af89fe768104228665818ba142c855b1fb8b53a5632d1f92fb785a727.json", + "point_key": "grid=90;tolerance=0.1", + "sha256": "3812501af89fe768104228665818ba142c855b1fb8b53a5632d1f92fb785a727", + "status": "completed" + }, + { + "path": "cells/695d4dec0bdea51bbc5a9a3a2fff72b4a737c7d93ff60edd2f29228fd9006a97.json", + "point_key": "grid=90;tolerance=0.01", + "sha256": "695d4dec0bdea51bbc5a9a3a2fff72b4a737c7d93ff60edd2f29228fd9006a97", + "status": "completed" + } + ], + "environment_sha256": "f939230f1c8d3eefa5b75660f0301c68afbb7cfcf56b0ae6178472fa832dffb6" + }, + "certificates": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/IonmongerMobileIonTransient/7df471a1f3c610de4de6e411015fcb045ba4ea6471c8f3a6099a6639f73e7f0f/Certificates/ce64a121dbd266e7dbe5b6d39d0ec57a391a935a91655f3648a3943d64006515.json", + "sha256": "9b921e087e7c5e3243eeb0db4435b9e681d3d909b29eddbb5e84aef20064a041", + "role": "historical_certificates" + }, + "declared_content_id": "ce64a121dbd266e7dbe5b6d39d0ec57a391a935a91655f3648a3943d64006515", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "partial", + "declared_lane_id": "IonmongerMobileIonTransient", + "source_commit": "5b90e6e3b7ea54e60f03fd40881b79b3efdb45ed", + "source_fingerprint_sha256": "36d7c5622cec4a7b2a3c94921994245a84ed58e24d5acc2feb06f8555ac02633", + "config_sha256": "fbc82c9b85d121c459ab08d07d1c7f886eef36f4db669d354b79d260f43c8750", + "lane_definition_sha256": "2914deebdfb383f132ed9ca77a21f3737b5a3de0a45129102d1518e39c5c1c2d", + "completed_cells": 9, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": 0, + "artifact_pointers": [], + "environment_sha256": "f939230f1c8d3eefa5b75660f0301c68afbb7cfcf56b0ae6178472fa832dffb6" + } + }, + { + "run_directory": "results/NumericalRefinement/IonmongerMobileIonTransient/f055334117e4ee3f6ad4693bb4a17b26800e2f38826a371beaa6f76ddc6fab0a", + "state": { + "root": "archive", + "path": "results/NumericalRefinement/IonmongerMobileIonTransient/f055334117e4ee3f6ad4693bb4a17b26800e2f38826a371beaa6f76ddc6fab0a/State.json", + "sha256": "eb47c64823c9c0ed2ce4a71238906d01ceabbc6566e6779b362f157594fd9988", + "role": "old_result_state" + }, + "declared_run_id": "f055334117e4ee3f6ad4693bb4a17b26800e2f38826a371beaa6f76ddc6fab0a", + "binding_status": "located_not_recertified", + "manifests": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/IonmongerMobileIonTransient/f055334117e4ee3f6ad4693bb4a17b26800e2f38826a371beaa6f76ddc6fab0a/Manifests/e81edfc1d17543549723846fd58e93f662e22c5759a3d03a340058f67bc66382.json", + "sha256": "82e1b0c3af909088fbfe92d7830db045cc8d7e9442d2a966f30cfb414edf6e73", + "role": "historical_manifests" + }, + "declared_content_id": "e81edfc1d17543549723846fd58e93f662e22c5759a3d03a340058f67bc66382", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "complete", + "declared_lane_id": "IonmongerMobileIonTransient", + "source_commit": "5b90e6e3b7ea54e60f03fd40881b79b3efdb45ed", + "source_fingerprint_sha256": "544278287c5483ad5d67da9f79a1c99cd440dbc69421b8e1c088cdaee530a9a5", + "config_sha256": null, + "lane_definition_sha256": "2914deebdfb383f132ed9ca77a21f3737b5a3de0a45129102d1518e39c5c1c2d", + "completed_cells": null, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": null, + "artifact_pointers": [ + { + "path": "cells/8af81665ddaceb851b952d7cda4c1e9514aed8b9239e929178886d08675f7f3c.json", + "point_key": "grid=30;tolerance=1", + "sha256": "8af81665ddaceb851b952d7cda4c1e9514aed8b9239e929178886d08675f7f3c", + "status": "completed" + }, + { + "path": "cells/178117589267e5ea6d81f7d80a9fcc5d78962d21f3b7737d2394eecd827d8a6b.json", + "point_key": "grid=30;tolerance=0.1", + "sha256": "178117589267e5ea6d81f7d80a9fcc5d78962d21f3b7737d2394eecd827d8a6b", + "status": "completed" + }, + { + "path": "cells/c51ba0ffa023bce7c9b6c86863301cf1b838bfa8cf63eeb07e9106e80f8831b9.json", + "point_key": "grid=30;tolerance=0.01", + "sha256": "c51ba0ffa023bce7c9b6c86863301cf1b838bfa8cf63eeb07e9106e80f8831b9", + "status": "completed" + }, + { + "path": "cells/f1f9b0a002c144749f46df32f795310619602227d603dc6dc4c08aeef1a5df0b.json", + "point_key": "grid=60;tolerance=1", + "sha256": "f1f9b0a002c144749f46df32f795310619602227d603dc6dc4c08aeef1a5df0b", + "status": "completed" + }, + { + "path": "cells/cca9547a9d5e6af3d706e5f9286355d62b46730028bf77c975ff7b2254cd2551.json", + "point_key": "grid=60;tolerance=0.1", + "sha256": "cca9547a9d5e6af3d706e5f9286355d62b46730028bf77c975ff7b2254cd2551", + "status": "completed" + }, + { + "path": "cells/7c6cf61d679a59b75a8cb6dd9cf74ddd8c4bc9e3fc7296a7c8ea2ef6d4791f0f.json", + "point_key": "grid=60;tolerance=0.01", + "sha256": "7c6cf61d679a59b75a8cb6dd9cf74ddd8c4bc9e3fc7296a7c8ea2ef6d4791f0f", + "status": "completed" + }, + { + "path": "cells/66f9df43ba4b521a7da2fb6249768c2ee19fe2c189c9c77957e67e1a2c355e1a.json", + "point_key": "grid=90;tolerance=1", + "sha256": "66f9df43ba4b521a7da2fb6249768c2ee19fe2c189c9c77957e67e1a2c355e1a", + "status": "completed" + }, + { + "path": "cells/4f734df49e33b655cd09eb2730741aed3808f35119ae2bdc00d66a30e0279462.json", + "point_key": "grid=90;tolerance=0.1", + "sha256": "4f734df49e33b655cd09eb2730741aed3808f35119ae2bdc00d66a30e0279462", + "status": "completed" + }, + { + "path": "cells/4b3ad0342801ee1df05d57a04102d46f6c97fa13bee45938b469e339224344f3.json", + "point_key": "grid=90;tolerance=0.01", + "sha256": "4b3ad0342801ee1df05d57a04102d46f6c97fa13bee45938b469e339224344f3", + "status": "completed" + } + ], + "environment_sha256": "5612564132a2c090d4c09f6da7ac0720986483b95ad71cbfec5e4f6276980c10" + }, + "certificates": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/IonmongerMobileIonTransient/f055334117e4ee3f6ad4693bb4a17b26800e2f38826a371beaa6f76ddc6fab0a/Certificates/da06261a3b09d0fc28653fb3d1827b78a056cdecbd904806b690aaac2ffd56dc.json", + "sha256": "d3ade9296f8b7df12f1fa296616582845373055aeb7de31f2b627c0da423ddb7", + "role": "historical_certificates" + }, + "declared_content_id": "da06261a3b09d0fc28653fb3d1827b78a056cdecbd904806b690aaac2ffd56dc", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "partial", + "declared_lane_id": "IonmongerMobileIonTransient", + "source_commit": "5b90e6e3b7ea54e60f03fd40881b79b3efdb45ed", + "source_fingerprint_sha256": "544278287c5483ad5d67da9f79a1c99cd440dbc69421b8e1c088cdaee530a9a5", + "config_sha256": "fbc82c9b85d121c459ab08d07d1c7f886eef36f4db669d354b79d260f43c8750", + "lane_definition_sha256": "2914deebdfb383f132ed9ca77a21f3737b5a3de0a45129102d1518e39c5c1c2d", + "completed_cells": 9, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": 0, + "artifact_pointers": [], + "environment_sha256": "5612564132a2c090d4c09f6da7ac0720986483b95ad71cbfec5e4f6276980c10" + } + } + ], + "status": "historical_records_located" + }, + { + "capability_id": "lane-f7e0f3e0963801d8", + "lane": "multivalent-explicit-defect-qf-dc-v1", + "archive_directory": "results/NumericalRefinement/MultivalentExplicitDefectQfDcV1", + "runs": [ + { + "run_directory": "results/NumericalRefinement/MultivalentExplicitDefectQfDcV1/83f86b4b87d15b9941ceee75acbd1bc70f717b3fe7e330813bc3d4e0cf36460b", + "state": { + "root": "archive", + "path": "results/NumericalRefinement/MultivalentExplicitDefectQfDcV1/83f86b4b87d15b9941ceee75acbd1bc70f717b3fe7e330813bc3d4e0cf36460b/State.json", + "sha256": "e563b5a3cf279249e7374acfa189ee46f3458996cc5aefd5e196db7c6cde26d5", + "role": "old_result_state" + }, + "declared_run_id": "83f86b4b87d15b9941ceee75acbd1bc70f717b3fe7e330813bc3d4e0cf36460b", + "binding_status": "located_not_recertified", + "manifests": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/MultivalentExplicitDefectQfDcV1/83f86b4b87d15b9941ceee75acbd1bc70f717b3fe7e330813bc3d4e0cf36460b/Manifests/e469f4b1a501da356a4df89125cd8d6aab460c1c0ccb7bd502d1e7516ce1424b.json", + "sha256": "5230bf3f2e173e0443bf65971fb8df208e457782a998d2ea061774c468473a20", + "role": "historical_manifests" + }, + "declared_content_id": "e469f4b1a501da356a4df89125cd8d6aab460c1c0ccb7bd502d1e7516ce1424b", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "complete_with_failures", + "declared_lane_id": "MultivalentExplicitDefectQfDcV1", + "source_commit": "6db08febb5ffa5203c9ed5e84e850c6d7d5b4f39", + "source_fingerprint_sha256": "37a6de35dc5d4818a0e69e76a1bf3f5ac5eacfa08fdb7abe48599f08777da9ab", + "config_sha256": null, + "lane_definition_sha256": "4df5b5ede3964179669e8723aded64707d4dbd89e7a53bdc713c78418ff2531f", + "completed_cells": null, + "expected_cells_count": 9, + "failed_cells_count": 9, + "missing_cells_count": null, + "artifact_pointers": [ + { + "path": "cells/998794611f2fb61f492fbfacf5ae4b5b7b5ffd30bce94b9c6b3ea73688b1e62d.json", + "point_key": "grid=24;tolerance=1", + "sha256": "998794611f2fb61f492fbfacf5ae4b5b7b5ffd30bce94b9c6b3ea73688b1e62d", + "status": "failed" + }, + { + "path": "cells/33b2c946dbcb3b49c44059b447ba8598785623a679ee47e1700757f867a47141.json", + "point_key": "grid=24;tolerance=0.1", + "sha256": "33b2c946dbcb3b49c44059b447ba8598785623a679ee47e1700757f867a47141", + "status": "failed" + }, + { + "path": "cells/31a805f60d61d60d76f81b8c96056d825f0f51b89199727c74aefe7da2590026.json", + "point_key": "grid=24;tolerance=0.01", + "sha256": "31a805f60d61d60d76f81b8c96056d825f0f51b89199727c74aefe7da2590026", + "status": "failed" + }, + { + "path": "cells/5fcf461a3f08c795b5ca9e121ae5350eaa4e2be36b65448a1df883513d33a67b.json", + "point_key": "grid=48;tolerance=1", + "sha256": "5fcf461a3f08c795b5ca9e121ae5350eaa4e2be36b65448a1df883513d33a67b", + "status": "failed" + }, + { + "path": "cells/cb16f9de59340703fdce8feb6f92b9357ccfd394f0824e2977038327f679077b.json", + "point_key": "grid=48;tolerance=0.1", + "sha256": "cb16f9de59340703fdce8feb6f92b9357ccfd394f0824e2977038327f679077b", + "status": "failed" + }, + { + "path": "cells/2a9b9e26076c8a38c04e28395270e0a16e7a56d761e3b262a3f2dbc2ab9d7166.json", + "point_key": "grid=48;tolerance=0.01", + "sha256": "2a9b9e26076c8a38c04e28395270e0a16e7a56d761e3b262a3f2dbc2ab9d7166", + "status": "failed" + }, + { + "path": "cells/cd7504c68de41fbd6f860d1ca9e7efa3a9ffce024aae7d9ef139a3c763ad1318.json", + "point_key": "grid=96;tolerance=1", + "sha256": "cd7504c68de41fbd6f860d1ca9e7efa3a9ffce024aae7d9ef139a3c763ad1318", + "status": "failed" + }, + { + "path": "cells/928ab5202c86044cabbf4d1555289d389b3bb996408325705edc7b0274ecad87.json", + "point_key": "grid=96;tolerance=0.1", + "sha256": "928ab5202c86044cabbf4d1555289d389b3bb996408325705edc7b0274ecad87", + "status": "failed" + }, + { + "path": "cells/e6b413a03633159afd3ffb4d11d7719db048beabcf08517b67e78482d6eb6aa6.json", + "point_key": "grid=96;tolerance=0.01", + "sha256": "e6b413a03633159afd3ffb4d11d7719db048beabcf08517b67e78482d6eb6aa6", + "status": "failed" + } + ], + "environment_sha256": "d4ee598be6c9e3033387cd0efa57ccfa15fb96abe1b39a631bdb97a9427485a0" + }, + "certificates": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/MultivalentExplicitDefectQfDcV1/83f86b4b87d15b9941ceee75acbd1bc70f717b3fe7e330813bc3d4e0cf36460b/Certificates/19cac8990bfbdb032cd3de1a7b73f999b9d9cbcc917d994f3223e5dadca35e10.json", + "sha256": "2aa36cc4db1236ad35d41e8caba55a8381d2dfe5da69e5c2cac27d466fc08343", + "role": "historical_certificates" + }, + "declared_content_id": "19cac8990bfbdb032cd3de1a7b73f999b9d9cbcc917d994f3223e5dadca35e10", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "failed", + "declared_lane_id": "MultivalentExplicitDefectQfDcV1", + "source_commit": "6db08febb5ffa5203c9ed5e84e850c6d7d5b4f39", + "source_fingerprint_sha256": "37a6de35dc5d4818a0e69e76a1bf3f5ac5eacfa08fdb7abe48599f08777da9ab", + "config_sha256": "43516a15f6ceeb6ba5fb4381c789e1c073ead4b101081d583da60c4bf9407290", + "lane_definition_sha256": "4df5b5ede3964179669e8723aded64707d4dbd89e7a53bdc713c78418ff2531f", + "completed_cells": 0, + "expected_cells_count": 9, + "failed_cells_count": 9, + "missing_cells_count": 0, + "artifact_pointers": [], + "environment_sha256": "d4ee598be6c9e3033387cd0efa57ccfa15fb96abe1b39a631bdb97a9427485a0" + } + }, + { + "run_directory": "results/NumericalRefinement/MultivalentExplicitDefectQfDcV1/fa35145b9b9408470a6efaac284731b92fbf04f71d86dd180488be2585e80b87", + "state": { + "root": "archive", + "path": "results/NumericalRefinement/MultivalentExplicitDefectQfDcV1/fa35145b9b9408470a6efaac284731b92fbf04f71d86dd180488be2585e80b87/State.json", + "sha256": "be084596bb9ef0a9f1b553d04e8418841e7a219da59c41935b8cfafe5ccd1782", + "role": "old_result_state" + }, + "declared_run_id": "fa35145b9b9408470a6efaac284731b92fbf04f71d86dd180488be2585e80b87", + "binding_status": "located_not_recertified", + "manifests": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/MultivalentExplicitDefectQfDcV1/fa35145b9b9408470a6efaac284731b92fbf04f71d86dd180488be2585e80b87/Manifests/d82311ea173870eddd5be7472cd00cb68629f8981dfd95e460dedfd343c65558.json", + "sha256": "071afda75faefcdeae859f41903f21e5171c49fab1fba9f4e44a7fb04c5a3230", + "role": "historical_manifests" + }, + "declared_content_id": "d82311ea173870eddd5be7472cd00cb68629f8981dfd95e460dedfd343c65558", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "complete", + "declared_lane_id": "MultivalentExplicitDefectQfDcV1", + "source_commit": "6db08febb5ffa5203c9ed5e84e850c6d7d5b4f39", + "source_fingerprint_sha256": "37a6de35dc5d4818a0e69e76a1bf3f5ac5eacfa08fdb7abe48599f08777da9ab", + "config_sha256": null, + "lane_definition_sha256": "fce7276672275bef466e9072cedca27674f4f51fff14abb82694cca9741523e8", + "completed_cells": null, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": null, + "artifact_pointers": [ + { + "path": "cells/37b4db01015d3c62bd324c414aaa88f22391965ef52b9cb834f6f0f5d37c86bf.json", + "point_key": "grid=24;tolerance=1", + "sha256": "37b4db01015d3c62bd324c414aaa88f22391965ef52b9cb834f6f0f5d37c86bf", + "status": "completed" + }, + { + "path": "cells/03660183caf0b41bf41565f38945b6f5fb9ddd30db546b7158fafbaeefa8fda6.json", + "point_key": "grid=24;tolerance=0.1", + "sha256": "03660183caf0b41bf41565f38945b6f5fb9ddd30db546b7158fafbaeefa8fda6", + "status": "completed" + }, + { + "path": "cells/573ccdee38ecc12fdb71e8a824e884e6f60b6dfa66a966bff91a190150103f61.json", + "point_key": "grid=24;tolerance=0.01", + "sha256": "573ccdee38ecc12fdb71e8a824e884e6f60b6dfa66a966bff91a190150103f61", + "status": "completed" + }, + { + "path": "cells/b93c638897a73c1ec1acefc8b7558b63aa7344fb5fca67e05f15d07f61615da2.json", + "point_key": "grid=48;tolerance=1", + "sha256": "b93c638897a73c1ec1acefc8b7558b63aa7344fb5fca67e05f15d07f61615da2", + "status": "completed" + }, + { + "path": "cells/87485280f1c481562465e7dcc9eadf5f4d864bdbf096ef8ab92005a0ac01a45f.json", + "point_key": "grid=48;tolerance=0.1", + "sha256": "87485280f1c481562465e7dcc9eadf5f4d864bdbf096ef8ab92005a0ac01a45f", + "status": "completed" + }, + { + "path": "cells/39537b11465620ad074c98aa1ed9d6466af13970511eb902d70d4479cc705e68.json", + "point_key": "grid=48;tolerance=0.01", + "sha256": "39537b11465620ad074c98aa1ed9d6466af13970511eb902d70d4479cc705e68", + "status": "completed" + }, + { + "path": "cells/8997c2e6b97973e9579d336b51cf9b9558bf06a067dfed945e4bd59a4fd1e59a.json", + "point_key": "grid=96;tolerance=1", + "sha256": "8997c2e6b97973e9579d336b51cf9b9558bf06a067dfed945e4bd59a4fd1e59a", + "status": "completed" + }, + { + "path": "cells/5d0655bd7573e771efda8047793b840650b156c00814f5bb8fb78f893238f27f.json", + "point_key": "grid=96;tolerance=0.1", + "sha256": "5d0655bd7573e771efda8047793b840650b156c00814f5bb8fb78f893238f27f", + "status": "completed" + }, + { + "path": "cells/57882476b7d788cf2afd7b87254e205769fd3207a0808e71b74df7134f9580f4.json", + "point_key": "grid=96;tolerance=0.01", + "sha256": "57882476b7d788cf2afd7b87254e205769fd3207a0808e71b74df7134f9580f4", + "status": "completed" + } + ], + "environment_sha256": "d4ee598be6c9e3033387cd0efa57ccfa15fb96abe1b39a631bdb97a9427485a0" + }, + "certificates": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/MultivalentExplicitDefectQfDcV1/fa35145b9b9408470a6efaac284731b92fbf04f71d86dd180488be2585e80b87/Certificates/db51b61d241e868d079660df700739ac51497916a0daca83407fcc057671bd04.json", + "sha256": "e5d6c68c6676a42768913309df2bcbd2278f11f29f77b83ed052f64834c27933", + "role": "historical_certificates" + }, + "declared_content_id": "db51b61d241e868d079660df700739ac51497916a0daca83407fcc057671bd04", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "certified", + "declared_lane_id": "MultivalentExplicitDefectQfDcV1", + "source_commit": "6db08febb5ffa5203c9ed5e84e850c6d7d5b4f39", + "source_fingerprint_sha256": "37a6de35dc5d4818a0e69e76a1bf3f5ac5eacfa08fdb7abe48599f08777da9ab", + "config_sha256": "43516a15f6ceeb6ba5fb4381c789e1c073ead4b101081d583da60c4bf9407290", + "lane_definition_sha256": "fce7276672275bef466e9072cedca27674f4f51fff14abb82694cca9741523e8", + "completed_cells": 9, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": 0, + "artifact_pointers": [], + "environment_sha256": "d4ee598be6c9e3033387cd0efa57ccfa15fb96abe1b39a631bdb97a9427485a0" + } + } + ], + "status": "historical_records_located" + }, + { + "capability_id": "lane-d78898d8e12e7813", + "lane": "no-ion-dae-transient-v1", + "archive_directory": "results/NumericalRefinement/NoIonDaeTransientV1", + "runs": [ + { + "run_directory": "results/NumericalRefinement/NoIonDaeTransientV1/b3030c044d4753f17aed89216983ff2ac7013f54a5865fc6fa1647200c05931c", + "state": { + "root": "archive", + "path": "results/NumericalRefinement/NoIonDaeTransientV1/b3030c044d4753f17aed89216983ff2ac7013f54a5865fc6fa1647200c05931c/State.json", + "sha256": "9b53ca7c466d6b65c34b3e32890f680f2f79753a6bb64c1cb746907a14b5eea5", + "role": "old_result_state" + }, + "declared_run_id": "b3030c044d4753f17aed89216983ff2ac7013f54a5865fc6fa1647200c05931c", + "binding_status": "located_not_recertified", + "manifests": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/NoIonDaeTransientV1/b3030c044d4753f17aed89216983ff2ac7013f54a5865fc6fa1647200c05931c/Manifests/d7ccb82f8e898ada38e5484b39f5254ad2bf0747e0dea607bdc77ffa5a84c44a.json", + "sha256": "30b3c805fbaabdee6f0aa9928b5748fecf3ea9cf0482e3b7293eef5f1bd13f71", + "role": "historical_manifests" + }, + "declared_content_id": "d7ccb82f8e898ada38e5484b39f5254ad2bf0747e0dea607bdc77ffa5a84c44a", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "complete", + "declared_lane_id": "NoIonDaeTransientV1", + "source_commit": "985a234da6dadad69848d63f2d3169b7d546ce6b", + "source_fingerprint_sha256": "e5cfcda4a8c5a2c5013dff00d86ddecb2c937c289b8e956f04e232ade93fac1b", + "config_sha256": null, + "lane_definition_sha256": "b795ebdbe40708f9577a52cb63d922dcb8300661f2cfb3822b33147624fcd57c", + "completed_cells": null, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": null, + "artifact_pointers": [ + { + "path": "cells/3144ed0a9cebf233cbeb0a23c89a29662108fac72d9e191034c11d6ce5267942.json", + "point_key": "grid=8;tolerance=1", + "sha256": "3144ed0a9cebf233cbeb0a23c89a29662108fac72d9e191034c11d6ce5267942", + "status": "completed" + }, + { + "path": "cells/2fc7502cc865b28aad43793b8621ed0bce2509b0a05f702935ec014d98f9918f.json", + "point_key": "grid=8;tolerance=0.5", + "sha256": "2fc7502cc865b28aad43793b8621ed0bce2509b0a05f702935ec014d98f9918f", + "status": "completed" + }, + { + "path": "cells/ed93be615fdde4e52fc15c001af4688b3ff0fb9be9dd3d6e7e3e4486518e0042.json", + "point_key": "grid=8;tolerance=0.25", + "sha256": "ed93be615fdde4e52fc15c001af4688b3ff0fb9be9dd3d6e7e3e4486518e0042", + "status": "completed" + }, + { + "path": "cells/adc2434aeadace62d791862e74be642bdaea4f4ef0db66dd95cd00c7a27e1ab7.json", + "point_key": "grid=16;tolerance=1", + "sha256": "adc2434aeadace62d791862e74be642bdaea4f4ef0db66dd95cd00c7a27e1ab7", + "status": "completed" + }, + { + "path": "cells/2678749ead11da66f3cb25a1fb7d3aa49de4d9919d4b9e756e6f83962079c335.json", + "point_key": "grid=16;tolerance=0.5", + "sha256": "2678749ead11da66f3cb25a1fb7d3aa49de4d9919d4b9e756e6f83962079c335", + "status": "completed" + }, + { + "path": "cells/2e54611fbb401166e8921883e76721f7e793b0d35fd8595f430ac3f03e043907.json", + "point_key": "grid=16;tolerance=0.25", + "sha256": "2e54611fbb401166e8921883e76721f7e793b0d35fd8595f430ac3f03e043907", + "status": "completed" + }, + { + "path": "cells/8f9a9ff221e5f2087492bf42459e15b10f8df260483c8a0c86a396abead125fc.json", + "point_key": "grid=32;tolerance=1", + "sha256": "8f9a9ff221e5f2087492bf42459e15b10f8df260483c8a0c86a396abead125fc", + "status": "completed" + }, + { + "path": "cells/38126cbd5c0146ccb450e2fa9b666844a026514397715bded3cea7fb79e77c85.json", + "point_key": "grid=32;tolerance=0.5", + "sha256": "38126cbd5c0146ccb450e2fa9b666844a026514397715bded3cea7fb79e77c85", + "status": "completed" + }, + { + "path": "cells/d647af51dee09e326f9e0eea4103a2e1184f38f6421a8062d9058c4959cd6356.json", + "point_key": "grid=32;tolerance=0.25", + "sha256": "d647af51dee09e326f9e0eea4103a2e1184f38f6421a8062d9058c4959cd6356", + "status": "completed" + } + ], + "environment_sha256": "197e3085b43d4d83ae9bd5fef2bd7f038a2dda3a888bf16c1a02804ec0cb8c27" + }, + "certificates": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/NoIonDaeTransientV1/b3030c044d4753f17aed89216983ff2ac7013f54a5865fc6fa1647200c05931c/Certificates/44807d654d815bc0daa4aeb7d3ecc48ecbcb17436209f4d56c62f64d14cf3c0b.json", + "sha256": "e24059667a084d8819dafe576c0920b625e8d3b508896c1b2462053bc556c0d9", + "role": "historical_certificates" + }, + "declared_content_id": "44807d654d815bc0daa4aeb7d3ecc48ecbcb17436209f4d56c62f64d14cf3c0b", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "certified", + "declared_lane_id": "NoIonDaeTransientV1", + "source_commit": "985a234da6dadad69848d63f2d3169b7d546ce6b", + "source_fingerprint_sha256": "e5cfcda4a8c5a2c5013dff00d86ddecb2c937c289b8e956f04e232ade93fac1b", + "config_sha256": "eb4806e7167c258bd6fb5e47fe02ebadc92e8963055c06a73a5775a20178f5ad", + "lane_definition_sha256": "b795ebdbe40708f9577a52cb63d922dcb8300661f2cfb3822b33147624fcd57c", + "completed_cells": 9, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": 0, + "artifact_pointers": [], + "environment_sha256": "197e3085b43d4d83ae9bd5fef2bd7f038a2dda3a888bf16c1a02804ec0cb8c27" + } + } + ], + "status": "historical_records_located" + }, + { + "capability_id": "lane-5547d9e78904e730", + "lane": "scaps-mirror-frozen-ion-ss", + "archive_directory": "results/NumericalRefinement/ScapsMirrorFrozenIonSs", + "runs": [ + { + "run_directory": "results/NumericalRefinement/ScapsMirrorFrozenIonSs/3c6daeb4d0730b6a4dae57f2e830d39d3304e7d18635aaa8d1d0a27f93c710cf", + "state": { + "root": "archive", + "path": "results/NumericalRefinement/ScapsMirrorFrozenIonSs/3c6daeb4d0730b6a4dae57f2e830d39d3304e7d18635aaa8d1d0a27f93c710cf/State.json", + "sha256": "03044e8bdc764db2122fd915b1064972abe81f225c7751c09933c9edab425b29", + "role": "old_result_state" + }, + "declared_run_id": "3c6daeb4d0730b6a4dae57f2e830d39d3304e7d18635aaa8d1d0a27f93c710cf", + "binding_status": "located_not_recertified", + "manifests": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/ScapsMirrorFrozenIonSs/3c6daeb4d0730b6a4dae57f2e830d39d3304e7d18635aaa8d1d0a27f93c710cf/Manifests/81589823143e8c2a29e013b37e335b6063fda613f1298cf9798bd2cf28c68ddc.json", + "sha256": "091715b3788a53897ff48395ce0c867cb66638198e4b8cee7e6d495c3948801a", + "role": "historical_manifests" + }, + "declared_content_id": "81589823143e8c2a29e013b37e335b6063fda613f1298cf9798bd2cf28c68ddc", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "complete_with_failures", + "declared_lane_id": "ScapsMirrorFrozenIonSs", + "source_commit": "5b90e6e3b7ea54e60f03fd40881b79b3efdb45ed", + "source_fingerprint_sha256": "544278287c5483ad5d67da9f79a1c99cd440dbc69421b8e1c088cdaee530a9a5", + "config_sha256": null, + "lane_definition_sha256": "7cc85e8d79cac8dd3fae3331a3a0229cfd743c27a06dfcd6d46a6f101d592745", + "completed_cells": null, + "expected_cells_count": 9, + "failed_cells_count": 9, + "missing_cells_count": null, + "artifact_pointers": [ + { + "path": "cells/a5fb68f4307ac4b0b9b625d376c47e0357c5cfced5020bdee0ba8d825535a0a6.json", + "point_key": "grid=30;tolerance=1", + "sha256": "a5fb68f4307ac4b0b9b625d376c47e0357c5cfced5020bdee0ba8d825535a0a6", + "status": "failed" + }, + { + "path": "cells/217a87aefafc20c5ff940f9970ec2e81a81351fd0830d831bbaa227f540211b8.json", + "point_key": "grid=30;tolerance=0.1", + "sha256": "217a87aefafc20c5ff940f9970ec2e81a81351fd0830d831bbaa227f540211b8", + "status": "failed" + }, + { + "path": "cells/21a8526514d32f28baf7af3a8e52b32b1d123be6f2354bda6954a0779d57c159.json", + "point_key": "grid=30;tolerance=0.01", + "sha256": "21a8526514d32f28baf7af3a8e52b32b1d123be6f2354bda6954a0779d57c159", + "status": "failed" + }, + { + "path": "cells/c8410c1cd7105d6e696db1a0a72c500db3310d35d8174c0b15ffad1f6296c2d1.json", + "point_key": "grid=60;tolerance=1", + "sha256": "c8410c1cd7105d6e696db1a0a72c500db3310d35d8174c0b15ffad1f6296c2d1", + "status": "failed" + }, + { + "path": "cells/7cf1173e030bbdd8f43966711da848b4ca84c9c2202e1f0acd29422296115f4b.json", + "point_key": "grid=60;tolerance=0.1", + "sha256": "7cf1173e030bbdd8f43966711da848b4ca84c9c2202e1f0acd29422296115f4b", + "status": "failed" + }, + { + "path": "cells/0456d72b22b270291e32c6cb83e080f7e6b268dcd259988a73521d74bc289212.json", + "point_key": "grid=60;tolerance=0.01", + "sha256": "0456d72b22b270291e32c6cb83e080f7e6b268dcd259988a73521d74bc289212", + "status": "failed" + }, + { + "path": "cells/11226d7142795036fcc6c5f5b89f3bcc7afc3fb04307565c6380ce4d98b7c0b3.json", + "point_key": "grid=90;tolerance=1", + "sha256": "11226d7142795036fcc6c5f5b89f3bcc7afc3fb04307565c6380ce4d98b7c0b3", + "status": "failed" + }, + { + "path": "cells/7570cd8d8be54a422b913edc865191f5f25e066dcf95c53a52cd19569b1b1ceb.json", + "point_key": "grid=90;tolerance=0.1", + "sha256": "7570cd8d8be54a422b913edc865191f5f25e066dcf95c53a52cd19569b1b1ceb", + "status": "failed" + }, + { + "path": "cells/8844360c58c52b0e3258e009a1d11a1776383d1d6e0bda0ebf6ad5a866b7fafe.json", + "point_key": "grid=90;tolerance=0.01", + "sha256": "8844360c58c52b0e3258e009a1d11a1776383d1d6e0bda0ebf6ad5a866b7fafe", + "status": "failed" + } + ], + "environment_sha256": "5612564132a2c090d4c09f6da7ac0720986483b95ad71cbfec5e4f6276980c10" + }, + "certificates": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/ScapsMirrorFrozenIonSs/3c6daeb4d0730b6a4dae57f2e830d39d3304e7d18635aaa8d1d0a27f93c710cf/Certificates/b32f8607ccddea74bea7ac1fcede339d6d9acf3881ec7178116128820c297b42.json", + "sha256": "ad7cf166260d16875e3265a753f6b618968b4bd329be71e35112370590cf9405", + "role": "historical_certificates" + }, + "declared_content_id": "b32f8607ccddea74bea7ac1fcede339d6d9acf3881ec7178116128820c297b42", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "failed", + "declared_lane_id": "ScapsMirrorFrozenIonSs", + "source_commit": "5b90e6e3b7ea54e60f03fd40881b79b3efdb45ed", + "source_fingerprint_sha256": "544278287c5483ad5d67da9f79a1c99cd440dbc69421b8e1c088cdaee530a9a5", + "config_sha256": "7ad4968d9c8249b76ca4e649d41c39e26727f6818cb81a15fe75f6b74b11b881", + "lane_definition_sha256": "7cc85e8d79cac8dd3fae3331a3a0229cfd743c27a06dfcd6d46a6f101d592745", + "completed_cells": 0, + "expected_cells_count": 9, + "failed_cells_count": 9, + "missing_cells_count": 0, + "artifact_pointers": [], + "environment_sha256": "5612564132a2c090d4c09f6da7ac0720986483b95ad71cbfec5e4f6276980c10" + } + }, + { + "run_directory": "results/NumericalRefinement/ScapsMirrorFrozenIonSs/c5d5e8a2a7f6972d337071d3292a2a6afc81826ddeed22bb5db275338a51ca91", + "state": { + "root": "archive", + "path": "results/NumericalRefinement/ScapsMirrorFrozenIonSs/c5d5e8a2a7f6972d337071d3292a2a6afc81826ddeed22bb5db275338a51ca91/State.json", + "sha256": "953718c20f5e2431b570bced02c9e80490957addcf9b8d6b32ce5021cef0b338", + "role": "old_result_state" + }, + "declared_run_id": "c5d5e8a2a7f6972d337071d3292a2a6afc81826ddeed22bb5db275338a51ca91", + "binding_status": "located_not_recertified", + "manifests": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/ScapsMirrorFrozenIonSs/c5d5e8a2a7f6972d337071d3292a2a6afc81826ddeed22bb5db275338a51ca91/Manifests/ece6e97682e4935dbfc3b41df3bbb7ebf25b6d78fb641858f4afd9598278ce45.json", + "sha256": "3011b2494bd70728886c0625d67d0e61818c896ac874afadd018333a33cc08a6", + "role": "historical_manifests" + }, + "declared_content_id": "ece6e97682e4935dbfc3b41df3bbb7ebf25b6d78fb641858f4afd9598278ce45", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "complete_with_failures", + "declared_lane_id": "ScapsMirrorFrozenIonSs", + "source_commit": "5b90e6e3b7ea54e60f03fd40881b79b3efdb45ed", + "source_fingerprint_sha256": "941655cdd29c937a105ab7fc1f599dc151a3b6a99411ffa62abe29f6de69e8fd", + "config_sha256": null, + "lane_definition_sha256": "c706035cffb6541b0a7c4d5a584208fd219953fd0f8038e560e12afdb2e621f1", + "completed_cells": null, + "expected_cells_count": 9, + "failed_cells_count": 9, + "missing_cells_count": null, + "artifact_pointers": [ + { + "path": "cells/64815dcd2ff1a941daa12221005407c7e498a6b5d338be8ff0915337681e6140.json", + "point_key": "grid=30;tolerance=1", + "sha256": "64815dcd2ff1a941daa12221005407c7e498a6b5d338be8ff0915337681e6140", + "status": "failed" + }, + { + "path": "cells/0ec03eb5b1e0632d07170489d3f4a1a1c78b6b8abe52fe89f6349ef0ee24a54b.json", + "point_key": "grid=30;tolerance=0.1", + "sha256": "0ec03eb5b1e0632d07170489d3f4a1a1c78b6b8abe52fe89f6349ef0ee24a54b", + "status": "failed" + }, + { + "path": "cells/ff540c3dcf2c253c6d061abb785cd93b854d59f2c7967dd71fe688fa12a86252.json", + "point_key": "grid=30;tolerance=0.01", + "sha256": "ff540c3dcf2c253c6d061abb785cd93b854d59f2c7967dd71fe688fa12a86252", + "status": "failed" + }, + { + "path": "cells/2cde8a444e38476f662e4baa261472ffb40b572dcea1f53440a79fb95e9a87c4.json", + "point_key": "grid=60;tolerance=1", + "sha256": "2cde8a444e38476f662e4baa261472ffb40b572dcea1f53440a79fb95e9a87c4", + "status": "failed" + }, + { + "path": "cells/6e8b4f3182d0c2031071bb4dc74fac7ecc0dcdcef9451dc024f26ed1f67a3e49.json", + "point_key": "grid=60;tolerance=0.1", + "sha256": "6e8b4f3182d0c2031071bb4dc74fac7ecc0dcdcef9451dc024f26ed1f67a3e49", + "status": "failed" + }, + { + "path": "cells/4dcb1901c22128fe29f713866ebdf8a026c9a247f32c01c670364cd5012d0155.json", + "point_key": "grid=60;tolerance=0.01", + "sha256": "4dcb1901c22128fe29f713866ebdf8a026c9a247f32c01c670364cd5012d0155", + "status": "failed" + }, + { + "path": "cells/83e912c011c0d1d70642502b83908ebe9c4c6813221ee81465597071915d7e3c.json", + "point_key": "grid=90;tolerance=1", + "sha256": "83e912c011c0d1d70642502b83908ebe9c4c6813221ee81465597071915d7e3c", + "status": "failed" + }, + { + "path": "cells/bd12991212059dddb74973bb23d8bb0cd4ab55d4d4ec7f960e70e92bdf826ef2.json", + "point_key": "grid=90;tolerance=0.1", + "sha256": "bd12991212059dddb74973bb23d8bb0cd4ab55d4d4ec7f960e70e92bdf826ef2", + "status": "failed" + }, + { + "path": "cells/e8df6fc739bf51847e03b8fda901c528bee68d89199e9ca4aca23fb3805d95e0.json", + "point_key": "grid=90;tolerance=0.01", + "sha256": "e8df6fc739bf51847e03b8fda901c528bee68d89199e9ca4aca23fb3805d95e0", + "status": "failed" + } + ], + "environment_sha256": "f939230f1c8d3eefa5b75660f0301c68afbb7cfcf56b0ae6178472fa832dffb6" + }, + "certificates": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/ScapsMirrorFrozenIonSs/c5d5e8a2a7f6972d337071d3292a2a6afc81826ddeed22bb5db275338a51ca91/Certificates/46fe2cd31d798d42a32528d065b37dc23fce87823746342c4012859c24a3354a.json", + "sha256": "b6457d836459ce331d853d29005776b94f27ef9a4f75ba7073620a28cd8167bc", + "role": "historical_certificates" + }, + "declared_content_id": "46fe2cd31d798d42a32528d065b37dc23fce87823746342c4012859c24a3354a", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "failed", + "declared_lane_id": "ScapsMirrorFrozenIonSs", + "source_commit": "5b90e6e3b7ea54e60f03fd40881b79b3efdb45ed", + "source_fingerprint_sha256": "941655cdd29c937a105ab7fc1f599dc151a3b6a99411ffa62abe29f6de69e8fd", + "config_sha256": "7ad4968d9c8249b76ca4e649d41c39e26727f6818cb81a15fe75f6b74b11b881", + "lane_definition_sha256": "c706035cffb6541b0a7c4d5a584208fd219953fd0f8038e560e12afdb2e621f1", + "completed_cells": 0, + "expected_cells_count": 9, + "failed_cells_count": 9, + "missing_cells_count": 0, + "artifact_pointers": [], + "environment_sha256": "f939230f1c8d3eefa5b75660f0301c68afbb7cfcf56b0ae6178472fa832dffb6" + } + }, + { + "run_directory": "results/NumericalRefinement/ScapsMirrorFrozenIonSs/eb382ce58ad73171a69427a4bbfbe77a4129026e70525aa54fc87ca040fafa85", + "state": { + "root": "archive", + "path": "results/NumericalRefinement/ScapsMirrorFrozenIonSs/eb382ce58ad73171a69427a4bbfbe77a4129026e70525aa54fc87ca040fafa85/State.json", + "sha256": "c6425f756aee53537958f2cefad145194fada3456749eee5f394de08a98ef96d", + "role": "old_result_state" + }, + "declared_run_id": "eb382ce58ad73171a69427a4bbfbe77a4129026e70525aa54fc87ca040fafa85", + "binding_status": "located_not_recertified", + "manifests": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/ScapsMirrorFrozenIonSs/eb382ce58ad73171a69427a4bbfbe77a4129026e70525aa54fc87ca040fafa85/Manifests/f0dac5e0ffa95ae9ec610c360d7b7657baf9755b1b32a3ef844d3db7d0a8b354.json", + "sha256": "433ce5c5ea75c3c09468b31e73367959f5e1f90bac4c1df19d1527484aef5320", + "role": "historical_manifests" + }, + "declared_content_id": "f0dac5e0ffa95ae9ec610c360d7b7657baf9755b1b32a3ef844d3db7d0a8b354", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "complete_with_failures", + "declared_lane_id": "ScapsMirrorFrozenIonSs", + "source_commit": "5b90e6e3b7ea54e60f03fd40881b79b3efdb45ed", + "source_fingerprint_sha256": "36d7c5622cec4a7b2a3c94921994245a84ed58e24d5acc2feb06f8555ac02633", + "config_sha256": null, + "lane_definition_sha256": "c706035cffb6541b0a7c4d5a584208fd219953fd0f8038e560e12afdb2e621f1", + "completed_cells": null, + "expected_cells_count": 9, + "failed_cells_count": 9, + "missing_cells_count": null, + "artifact_pointers": [ + { + "path": "cells/71671461b1500fe3966f1e153c1eae8d613b6ca3d830fe7034700261c03ebcd2.json", + "point_key": "grid=30;tolerance=1", + "sha256": "71671461b1500fe3966f1e153c1eae8d613b6ca3d830fe7034700261c03ebcd2", + "status": "failed" + }, + { + "path": "cells/ba296c21190f4eb58a1bcc5235135cc37a7970cbfc2d8bb610d46f51cdfc0d8f.json", + "point_key": "grid=30;tolerance=0.1", + "sha256": "ba296c21190f4eb58a1bcc5235135cc37a7970cbfc2d8bb610d46f51cdfc0d8f", + "status": "failed" + }, + { + "path": "cells/75050f028e7f3bd587ee6131552712575e11cbc768f9f2418c64890b308aa28c.json", + "point_key": "grid=30;tolerance=0.01", + "sha256": "75050f028e7f3bd587ee6131552712575e11cbc768f9f2418c64890b308aa28c", + "status": "failed" + }, + { + "path": "cells/abbdba24b584c1fc5c2a0f78b64ee0334ada52ee3270a7a87dfd7cd96639a426.json", + "point_key": "grid=60;tolerance=1", + "sha256": "abbdba24b584c1fc5c2a0f78b64ee0334ada52ee3270a7a87dfd7cd96639a426", + "status": "failed" + }, + { + "path": "cells/644cc7b1bd9f7e85d97e5871c3cc405c3ff068b9a401112fb0290a47b2dbc15e.json", + "point_key": "grid=60;tolerance=0.1", + "sha256": "644cc7b1bd9f7e85d97e5871c3cc405c3ff068b9a401112fb0290a47b2dbc15e", + "status": "failed" + }, + { + "path": "cells/312063e47b37ec45b7787c6d6f28cc944e2a0eec1220e78362ba0c7b328bb85f.json", + "point_key": "grid=60;tolerance=0.01", + "sha256": "312063e47b37ec45b7787c6d6f28cc944e2a0eec1220e78362ba0c7b328bb85f", + "status": "failed" + }, + { + "path": "cells/8a79376a24858ca4977b3340937684e3c4d32f1b9653e17c2395e7fc14f5c04e.json", + "point_key": "grid=90;tolerance=1", + "sha256": "8a79376a24858ca4977b3340937684e3c4d32f1b9653e17c2395e7fc14f5c04e", + "status": "failed" + }, + { + "path": "cells/1d07a838cc72f690b82ef209d2107abc05d0b146c18160b60eed5ea7241ea1e5.json", + "point_key": "grid=90;tolerance=0.1", + "sha256": "1d07a838cc72f690b82ef209d2107abc05d0b146c18160b60eed5ea7241ea1e5", + "status": "failed" + }, + { + "path": "cells/8362af0040ad592511950fee6cc35350ca2eeeecf4632426f5f9fda192f43859.json", + "point_key": "grid=90;tolerance=0.01", + "sha256": "8362af0040ad592511950fee6cc35350ca2eeeecf4632426f5f9fda192f43859", + "status": "failed" + } + ], + "environment_sha256": "f939230f1c8d3eefa5b75660f0301c68afbb7cfcf56b0ae6178472fa832dffb6" + }, + "certificates": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/ScapsMirrorFrozenIonSs/eb382ce58ad73171a69427a4bbfbe77a4129026e70525aa54fc87ca040fafa85/Certificates/078a8984fb8985c0db18bcdd4c611c3c7d53d56b5520a6c0ed72b92a7fa00e82.json", + "sha256": "19e15f11a820e7d794f0280b023c4435a87a32401a8a5e5cfddbbfedb70d8cfe", + "role": "historical_certificates" + }, + "declared_content_id": "078a8984fb8985c0db18bcdd4c611c3c7d53d56b5520a6c0ed72b92a7fa00e82", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "failed", + "declared_lane_id": "ScapsMirrorFrozenIonSs", + "source_commit": "5b90e6e3b7ea54e60f03fd40881b79b3efdb45ed", + "source_fingerprint_sha256": "36d7c5622cec4a7b2a3c94921994245a84ed58e24d5acc2feb06f8555ac02633", + "config_sha256": "7ad4968d9c8249b76ca4e649d41c39e26727f6818cb81a15fe75f6b74b11b881", + "lane_definition_sha256": "c706035cffb6541b0a7c4d5a584208fd219953fd0f8038e560e12afdb2e621f1", + "completed_cells": 0, + "expected_cells_count": 9, + "failed_cells_count": 9, + "missing_cells_count": 0, + "artifact_pointers": [], + "environment_sha256": "f939230f1c8d3eefa5b75660f0301c68afbb7cfcf56b0ae6178472fa832dffb6" + } + } + ], + "status": "historical_records_located" + }, + { + "capability_id": "lane-0350f1d065d6fedc", + "lane": "single-ion-algebraic-interface-dae-transient-resolved-v2", + "archive_directory": "results/NumericalRefinement/SingleIonAlgebraicInterfaceDaeTransientResolvedV2", + "runs": [ + { + "run_directory": "results/NumericalRefinement/SingleIonAlgebraicInterfaceDaeTransientResolvedV2/d4c74bb998e530ddcf71c44e3a30608c5d96e288111102c070b628458e1b7e74", + "state": { + "root": "archive", + "path": "results/NumericalRefinement/SingleIonAlgebraicInterfaceDaeTransientResolvedV2/d4c74bb998e530ddcf71c44e3a30608c5d96e288111102c070b628458e1b7e74/State.json", + "sha256": "bcd0e495b101af54b0654426aec2cee0f85a70359571450c38a41f742b09a65d", + "role": "old_result_state" + }, + "declared_run_id": "d4c74bb998e530ddcf71c44e3a30608c5d96e288111102c070b628458e1b7e74", + "binding_status": "located_not_recertified", + "manifests": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/SingleIonAlgebraicInterfaceDaeTransientResolvedV2/d4c74bb998e530ddcf71c44e3a30608c5d96e288111102c070b628458e1b7e74/Manifests/31491f1ae9927c8f14410c07498926e720756357667ae99166ad436706be3986.json", + "sha256": "f6e3916f4e94ab1361a86e6e0d4d934c97e98473b62f0ccc38f30f02fb5f8dab", + "role": "historical_manifests" + }, + "declared_content_id": "31491f1ae9927c8f14410c07498926e720756357667ae99166ad436706be3986", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "complete", + "declared_lane_id": "SingleIonAlgebraicInterfaceDaeTransientResolvedV2", + "source_commit": "dc540caeb8a6470fbac015ee2651094310a27b1b", + "source_fingerprint_sha256": "057f9ca7a6389b8b537ccd85624a5caf7ac555710cc17caf649b8e6810b086d9", + "config_sha256": null, + "lane_definition_sha256": "5f2d187b67bee0237a817a39284f66107c83500f3a77c4f8e08b1830b411fe9c", + "completed_cells": null, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": null, + "artifact_pointers": [ + { + "path": "cells/5007cb48cc162b734e13ba018225013b1ca9234155f82dfc08bf250868fee049.json", + "point_key": "grid=4;tolerance=1", + "sha256": "5007cb48cc162b734e13ba018225013b1ca9234155f82dfc08bf250868fee049", + "status": "completed" + }, + { + "path": "cells/37dedab53c546dac7e909cf11ad7ec69b1b0b67625e3c7b68cf490f5d74e8236.json", + "point_key": "grid=4;tolerance=0.5", + "sha256": "37dedab53c546dac7e909cf11ad7ec69b1b0b67625e3c7b68cf490f5d74e8236", + "status": "completed" + }, + { + "path": "cells/362ea9d474d9bc519d4457fd2fc8d6a20286ef3cd2c53e0e210f111f0392b1bc.json", + "point_key": "grid=4;tolerance=0.25", + "sha256": "362ea9d474d9bc519d4457fd2fc8d6a20286ef3cd2c53e0e210f111f0392b1bc", + "status": "completed" + }, + { + "path": "cells/4df599eb074306e08b1259c7ac12e37d5665cdf2feae504c30f061c52ad9b2f6.json", + "point_key": "grid=8;tolerance=1", + "sha256": "4df599eb074306e08b1259c7ac12e37d5665cdf2feae504c30f061c52ad9b2f6", + "status": "completed" + }, + { + "path": "cells/72a523bfbc5285eb73393aa20a79ef336b899ae97dac37f286fc17ca702c30e5.json", + "point_key": "grid=8;tolerance=0.5", + "sha256": "72a523bfbc5285eb73393aa20a79ef336b899ae97dac37f286fc17ca702c30e5", + "status": "completed" + }, + { + "path": "cells/27c48aa9f14b91e34fe0dc5ab290970016a4a98ea1198e0d0ea2575cea5221df.json", + "point_key": "grid=8;tolerance=0.25", + "sha256": "27c48aa9f14b91e34fe0dc5ab290970016a4a98ea1198e0d0ea2575cea5221df", + "status": "completed" + }, + { + "path": "cells/6d8009f1923465c01d04c80cde35e238e13f87dc73b3988ec67176e54497787c.json", + "point_key": "grid=16;tolerance=1", + "sha256": "6d8009f1923465c01d04c80cde35e238e13f87dc73b3988ec67176e54497787c", + "status": "completed" + }, + { + "path": "cells/af5171f0dec1c71af8e032e1d225d6c84c68314e6e7623d5e4834b6282815a9c.json", + "point_key": "grid=16;tolerance=0.5", + "sha256": "af5171f0dec1c71af8e032e1d225d6c84c68314e6e7623d5e4834b6282815a9c", + "status": "completed" + }, + { + "path": "cells/0197f8d21e613b501218f81052fc57aa006086fe00f7c753093d02577cc0d73e.json", + "point_key": "grid=16;tolerance=0.25", + "sha256": "0197f8d21e613b501218f81052fc57aa006086fe00f7c753093d02577cc0d73e", + "status": "completed" + } + ], + "environment_sha256": "197e3085b43d4d83ae9bd5fef2bd7f038a2dda3a888bf16c1a02804ec0cb8c27" + }, + "certificates": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/SingleIonAlgebraicInterfaceDaeTransientResolvedV2/d4c74bb998e530ddcf71c44e3a30608c5d96e288111102c070b628458e1b7e74/Certificates/02f9e0b2bdf0de4a6243ab8833374503f2c3893d085c21084ae4d90994a90809.json", + "sha256": "aa2d106398038bd1571c519f9418c59d6889226d7dc754dd663a7e36594f6df0", + "role": "historical_certificates" + }, + "declared_content_id": "02f9e0b2bdf0de4a6243ab8833374503f2c3893d085c21084ae4d90994a90809", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "certified", + "declared_lane_id": "SingleIonAlgebraicInterfaceDaeTransientResolvedV2", + "source_commit": "dc540caeb8a6470fbac015ee2651094310a27b1b", + "source_fingerprint_sha256": "057f9ca7a6389b8b537ccd85624a5caf7ac555710cc17caf649b8e6810b086d9", + "config_sha256": "523449448807e4993f999300308096003c3eeaf280924b7af208915a3cf41a54", + "lane_definition_sha256": "5f2d187b67bee0237a817a39284f66107c83500f3a77c4f8e08b1830b411fe9c", + "completed_cells": 9, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": 0, + "artifact_pointers": [], + "environment_sha256": "197e3085b43d4d83ae9bd5fef2bd7f038a2dda3a888bf16c1a02804ec0cb8c27" + } + } + ], + "status": "historical_records_located" + }, + { + "capability_id": "lane-1816209e76bb9ac0", + "lane": "single-ion-algebraic-interface-dae-transient-v1", + "archive_directory": "results/NumericalRefinement/SingleIonAlgebraicInterfaceDaeTransientV1", + "runs": [ + { + "run_directory": "results/NumericalRefinement/SingleIonAlgebraicInterfaceDaeTransientV1/b8684dd9ee5245fce39ee33a644107a641227204bf8b7f7186cbe06f6df4ca9a", + "state": { + "root": "archive", + "path": "results/NumericalRefinement/SingleIonAlgebraicInterfaceDaeTransientV1/b8684dd9ee5245fce39ee33a644107a641227204bf8b7f7186cbe06f6df4ca9a/State.json", + "sha256": "eaef7b28ba267818e3d1b0c420c6fc22835d49f984d6d342a172b55924b859de", + "role": "old_result_state" + }, + "declared_run_id": "b8684dd9ee5245fce39ee33a644107a641227204bf8b7f7186cbe06f6df4ca9a", + "binding_status": "located_not_recertified", + "manifests": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/SingleIonAlgebraicInterfaceDaeTransientV1/b8684dd9ee5245fce39ee33a644107a641227204bf8b7f7186cbe06f6df4ca9a/Manifests/27c32699fe81c21296efa53cce43c1569babf9d7a41a0396ded6a0b424b58a5c.json", + "sha256": "bf145519718d707d379def2b0cb6297f51082c3a77efbf27c8d92a9e70a3d93a", + "role": "historical_manifests" + }, + "declared_content_id": "27c32699fe81c21296efa53cce43c1569babf9d7a41a0396ded6a0b424b58a5c", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "complete_with_failures", + "declared_lane_id": "SingleIonAlgebraicInterfaceDaeTransientV1", + "source_commit": "06a917094d13fe5f731647527a52da4e4b3e8e2e", + "source_fingerprint_sha256": "2c6672f5541f1658c5945ed2d4b2701c10f1e8a2d3cdcba4652751e7fcb2f238", + "config_sha256": null, + "lane_definition_sha256": "9b28ae87fde1e68863c95204659f2059fd38dbfbd374197fa5563c0455207631", + "completed_cells": null, + "expected_cells_count": 9, + "failed_cells_count": 5, + "missing_cells_count": null, + "artifact_pointers": [ + { + "path": "cells/c28f1dc450b10999ec5ccc7cfb4cc2eab3259e6a7f707b14719c6d988e8fe069.json", + "point_key": "grid=4;tolerance=1", + "sha256": "c28f1dc450b10999ec5ccc7cfb4cc2eab3259e6a7f707b14719c6d988e8fe069", + "status": "completed" + }, + { + "path": "cells/74e7a4a434eb756f09befaa797e73b6c0a082613e489f2706dd25d6b9db533c3.json", + "point_key": "grid=4;tolerance=0.5", + "sha256": "74e7a4a434eb756f09befaa797e73b6c0a082613e489f2706dd25d6b9db533c3", + "status": "completed" + }, + { + "path": "cells/08878d5f4556c77fd890bf7f7a076ce577d7e274f464e7c1f4369840d2063fe9.json", + "point_key": "grid=4;tolerance=0.25", + "sha256": "08878d5f4556c77fd890bf7f7a076ce577d7e274f464e7c1f4369840d2063fe9", + "status": "completed" + }, + { + "path": "cells/07f7b199748218e2e82833014023c4c58718a819cdba3d685c6673ebad365445.json", + "point_key": "grid=8;tolerance=1", + "sha256": "07f7b199748218e2e82833014023c4c58718a819cdba3d685c6673ebad365445", + "status": "completed" + }, + { + "path": "cells/57a81f04a8478c0f6a02abe059822905ceb5bd46b70860915f509d2ef1a8922b.json", + "point_key": "grid=8;tolerance=0.5", + "sha256": "57a81f04a8478c0f6a02abe059822905ceb5bd46b70860915f509d2ef1a8922b", + "status": "failed" + }, + { + "path": "cells/d7f85f827dc60b7af12610ae61e9949aa01bac21828780496a4d2479d2eeb458.json", + "point_key": "grid=8;tolerance=0.25", + "sha256": "d7f85f827dc60b7af12610ae61e9949aa01bac21828780496a4d2479d2eeb458", + "status": "failed" + }, + { + "path": "cells/26b37efd250e0e916b14a8c9f927d6eb12f38649d5e1462627131abdf94ba767.json", + "point_key": "grid=16;tolerance=1", + "sha256": "26b37efd250e0e916b14a8c9f927d6eb12f38649d5e1462627131abdf94ba767", + "status": "failed" + }, + { + "path": "cells/e67286912ea4ea3b07319bb43938e943afe5a117384eba4adda5b92d74bb6148.json", + "point_key": "grid=16;tolerance=0.5", + "sha256": "e67286912ea4ea3b07319bb43938e943afe5a117384eba4adda5b92d74bb6148", + "status": "failed" + }, + { + "path": "cells/cd934ddff4db5f98af3f279f7e9ceaf3ccf0385cf98cad7db65b31776bc4dd86.json", + "point_key": "grid=16;tolerance=0.25", + "sha256": "cd934ddff4db5f98af3f279f7e9ceaf3ccf0385cf98cad7db65b31776bc4dd86", + "status": "failed" + } + ], + "environment_sha256": "197e3085b43d4d83ae9bd5fef2bd7f038a2dda3a888bf16c1a02804ec0cb8c27" + }, + "certificates": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/SingleIonAlgebraicInterfaceDaeTransientV1/b8684dd9ee5245fce39ee33a644107a641227204bf8b7f7186cbe06f6df4ca9a/Certificates/56b83ebcf02cad5562b8a516436c5f8dcaecff3fb6949545b4bacec7334a876f.json", + "sha256": "76f9fa25b95bba22a6d73dcac1b64ee9898d92ca08ccf702ed822289e7a05aac", + "role": "historical_certificates" + }, + "declared_content_id": "56b83ebcf02cad5562b8a516436c5f8dcaecff3fb6949545b4bacec7334a876f", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "failed", + "declared_lane_id": "SingleIonAlgebraicInterfaceDaeTransientV1", + "source_commit": "06a917094d13fe5f731647527a52da4e4b3e8e2e", + "source_fingerprint_sha256": "2c6672f5541f1658c5945ed2d4b2701c10f1e8a2d3cdcba4652751e7fcb2f238", + "config_sha256": "523449448807e4993f999300308096003c3eeaf280924b7af208915a3cf41a54", + "lane_definition_sha256": "9b28ae87fde1e68863c95204659f2059fd38dbfbd374197fa5563c0455207631", + "completed_cells": 4, + "expected_cells_count": 9, + "failed_cells_count": 5, + "missing_cells_count": 0, + "artifact_pointers": [], + "environment_sha256": "197e3085b43d4d83ae9bd5fef2bd7f038a2dda3a888bf16c1a02804ec0cb8c27" + } + } + ], + "status": "historical_records_located" + }, + { + "capability_id": "lane-db596cd22f67423d", + "lane": "single-positive-ion-dae-transient-v1", + "archive_directory": "results/NumericalRefinement/SinglePositiveIonDaeTransientV1", + "runs": [ + { + "run_directory": "results/NumericalRefinement/SinglePositiveIonDaeTransientV1/d71d74acc5574e920edf8e0edb05020c043f3e8a87b1c95c926aa14556658dab", + "state": { + "root": "archive", + "path": "results/NumericalRefinement/SinglePositiveIonDaeTransientV1/d71d74acc5574e920edf8e0edb05020c043f3e8a87b1c95c926aa14556658dab/State.json", + "sha256": "8e768c92eb42fac9cd2e94b51e30f588c3262cb82a9453b7eccd351baf13ae0a", + "role": "old_result_state" + }, + "declared_run_id": "d71d74acc5574e920edf8e0edb05020c043f3e8a87b1c95c926aa14556658dab", + "binding_status": "located_not_recertified", + "manifests": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/SinglePositiveIonDaeTransientV1/d71d74acc5574e920edf8e0edb05020c043f3e8a87b1c95c926aa14556658dab/Manifests/f5c0f87a35cd181ff1a452b37d2a73b7759030159b5ffefe865c7b5ddb90e219.json", + "sha256": "10f8922881bef413842b1d28dae78238147cc11a347a50ed2e51ce655cbe60c6", + "role": "historical_manifests" + }, + "declared_content_id": "f5c0f87a35cd181ff1a452b37d2a73b7759030159b5ffefe865c7b5ddb90e219", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "complete", + "declared_lane_id": "SinglePositiveIonDaeTransientV1", + "source_commit": "6e9a27403e59b4bbd391e5a70237570af6b66028", + "source_fingerprint_sha256": "cb50b0f298df07667f32cc1f994c551a266baaf031d4524868c51c84af426375", + "config_sha256": null, + "lane_definition_sha256": "3fed2c71838859a4beb7d48bf62220da568dc59749265acf35739132cf9544fd", + "completed_cells": null, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": null, + "artifact_pointers": [ + { + "path": "cells/86e5f8e597005365971cf14061c9b4cb0ae6c300d2fd37bf3805e2b52ed4f4e8.json", + "point_key": "grid=8;tolerance=1", + "sha256": "86e5f8e597005365971cf14061c9b4cb0ae6c300d2fd37bf3805e2b52ed4f4e8", + "status": "completed" + }, + { + "path": "cells/89b518ff27c47462cbd64e59b994c851de7cec52490a4756423d080d438d2c0c.json", + "point_key": "grid=8;tolerance=0.5", + "sha256": "89b518ff27c47462cbd64e59b994c851de7cec52490a4756423d080d438d2c0c", + "status": "completed" + }, + { + "path": "cells/0909ef1e7ca4954328d0f55a6d46a23b5066a40ac334e207f3f4d60c807080cb.json", + "point_key": "grid=8;tolerance=0.25", + "sha256": "0909ef1e7ca4954328d0f55a6d46a23b5066a40ac334e207f3f4d60c807080cb", + "status": "completed" + }, + { + "path": "cells/03f313bfbafe7c5eadc680478adb982051986e857fb59272e9f3d5d25942cab9.json", + "point_key": "grid=16;tolerance=1", + "sha256": "03f313bfbafe7c5eadc680478adb982051986e857fb59272e9f3d5d25942cab9", + "status": "completed" + }, + { + "path": "cells/c982845338086c3770ac8c15356a4a1477915f8df350e1c205922ba5ee726eed.json", + "point_key": "grid=16;tolerance=0.5", + "sha256": "c982845338086c3770ac8c15356a4a1477915f8df350e1c205922ba5ee726eed", + "status": "completed" + }, + { + "path": "cells/262cc8e6082af9622cd2afdb314d904fefbc0a37d324e7ca24ce48e21f85312d.json", + "point_key": "grid=16;tolerance=0.25", + "sha256": "262cc8e6082af9622cd2afdb314d904fefbc0a37d324e7ca24ce48e21f85312d", + "status": "completed" + }, + { + "path": "cells/dc22fba0917a3a0c5541f0f5b8dde759c23020c85466def0cce3eea497958686.json", + "point_key": "grid=32;tolerance=1", + "sha256": "dc22fba0917a3a0c5541f0f5b8dde759c23020c85466def0cce3eea497958686", + "status": "completed" + }, + { + "path": "cells/540cd894b6b6f7fa3ff7ba75759c41d218c8ff9e1c0531f0113eeea401a6b532.json", + "point_key": "grid=32;tolerance=0.5", + "sha256": "540cd894b6b6f7fa3ff7ba75759c41d218c8ff9e1c0531f0113eeea401a6b532", + "status": "completed" + }, + { + "path": "cells/4c4ac7ccb02a400efa732a4279cc3c62b35f4dc47ff80148beae6e52f97d9d48.json", + "point_key": "grid=32;tolerance=0.25", + "sha256": "4c4ac7ccb02a400efa732a4279cc3c62b35f4dc47ff80148beae6e52f97d9d48", + "status": "completed" + } + ], + "environment_sha256": "197e3085b43d4d83ae9bd5fef2bd7f038a2dda3a888bf16c1a02804ec0cb8c27" + }, + "certificates": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/SinglePositiveIonDaeTransientV1/d71d74acc5574e920edf8e0edb05020c043f3e8a87b1c95c926aa14556658dab/Certificates/7538fa4acea081c1c51c5f75201dfec90ebc64bca9e4d62068cb440f97b627e8.json", + "sha256": "0224278b4f8a2eb485fdbedc159a7e889a722e0648c65d82cd4f976fcb094e8c", + "role": "historical_certificates" + }, + "declared_content_id": "7538fa4acea081c1c51c5f75201dfec90ebc64bca9e4d62068cb440f97b627e8", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "certified", + "declared_lane_id": "SinglePositiveIonDaeTransientV1", + "source_commit": "6e9a27403e59b4bbd391e5a70237570af6b66028", + "source_fingerprint_sha256": "cb50b0f298df07667f32cc1f994c551a266baaf031d4524868c51c84af426375", + "config_sha256": "fbc82c9b85d121c459ab08d07d1c7f886eef36f4db669d354b79d260f43c8750", + "lane_definition_sha256": "3fed2c71838859a4beb7d48bf62220da568dc59749265acf35739132cf9544fd", + "completed_cells": 9, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": 0, + "artifact_pointers": [], + "environment_sha256": "197e3085b43d4d83ae9bd5fef2bd7f038a2dda3a888bf16c1a02804ec0cb8c27" + } + } + ], + "status": "historical_records_located" + }, + { + "capability_id": "lane-ea8013ec21a124fd", + "lane": "spatially-graded-explicit-defect-qf-dc-v1", + "archive_directory": "results/NumericalRefinement/SpatiallyGradedExplicitDefectQfDcV1", + "runs": [ + { + "run_directory": "results/NumericalRefinement/SpatiallyGradedExplicitDefectQfDcV1/2a97bb6b84b29440a7add18db8e187b8ccb4497443e2ca88141b096a1be370f1", + "state": { + "root": "archive", + "path": "results/NumericalRefinement/SpatiallyGradedExplicitDefectQfDcV1/2a97bb6b84b29440a7add18db8e187b8ccb4497443e2ca88141b096a1be370f1/State.json", + "sha256": "2c62d9796b8dfd0b55079983e2e5a8ef3a66a58f8487949ca638c25db3d8cb94", + "role": "old_result_state" + }, + "declared_run_id": "2a97bb6b84b29440a7add18db8e187b8ccb4497443e2ca88141b096a1be370f1", + "binding_status": "located_not_recertified", + "manifests": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/SpatiallyGradedExplicitDefectQfDcV1/2a97bb6b84b29440a7add18db8e187b8ccb4497443e2ca88141b096a1be370f1/Manifests/03cce1ae348504caa6e1685b87b5bb12bf3640b537304c7194205f7c1a2506f8.json", + "sha256": "4f6f0ad48e90c7e229783df99f6d6f8d7074f43bbb50aaee5d656d70508a3bf5", + "role": "historical_manifests" + }, + "declared_content_id": "03cce1ae348504caa6e1685b87b5bb12bf3640b537304c7194205f7c1a2506f8", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "running", + "declared_lane_id": "SpatiallyGradedExplicitDefectQfDcV1", + "source_commit": "0b8463b21975a240cf95b61137c204e543b324d4", + "source_fingerprint_sha256": "390f0b46d2fb6bf9e066801fe4f81c66bbe4a0a2e42423bb4056eaa9f592c303", + "config_sha256": null, + "lane_definition_sha256": "40923a5d5dd23db954bb8160b97a2f30a011a322b93da9bc9f9ced947d0eae36", + "completed_cells": null, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": null, + "artifact_pointers": [ + { + "path": "cells/7d7359591f6cada92363c8795f1464649650281807758082ba723512682f9c1e.json", + "point_key": "grid=16;tolerance=1", + "sha256": "7d7359591f6cada92363c8795f1464649650281807758082ba723512682f9c1e", + "status": "completed" + } + ], + "environment_sha256": "197e3085b43d4d83ae9bd5fef2bd7f038a2dda3a888bf16c1a02804ec0cb8c27" + }, + "certificates": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/SpatiallyGradedExplicitDefectQfDcV1/2a97bb6b84b29440a7add18db8e187b8ccb4497443e2ca88141b096a1be370f1/Certificates/a025f1e463c9d0a040d532775341543cb001f693eeef1b33e9ae3e118cfd7e1a.json", + "sha256": "6374eec7c4c1906af33a75f43bc606dc843a3a3ded931d53726336821948ca31", + "role": "historical_certificates" + }, + "declared_content_id": "a025f1e463c9d0a040d532775341543cb001f693eeef1b33e9ae3e118cfd7e1a", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "failed", + "declared_lane_id": "SpatiallyGradedExplicitDefectQfDcV1", + "source_commit": "0b8463b21975a240cf95b61137c204e543b324d4", + "source_fingerprint_sha256": "390f0b46d2fb6bf9e066801fe4f81c66bbe4a0a2e42423bb4056eaa9f592c303", + "config_sha256": "b6db3b87c509bafc7dae5e84640b12a0277668d612b4f9933f848a3ad99a715f", + "lane_definition_sha256": "40923a5d5dd23db954bb8160b97a2f30a011a322b93da9bc9f9ced947d0eae36", + "completed_cells": 1, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": 8, + "artifact_pointers": [], + "environment_sha256": "197e3085b43d4d83ae9bd5fef2bd7f038a2dda3a888bf16c1a02804ec0cb8c27" + } + }, + { + "run_directory": "results/NumericalRefinement/SpatiallyGradedExplicitDefectQfDcV1/490529820738b29820c70d5fb67a27cb9e62fcde5bc64f680d49cda03ea74ecf", + "state": { + "root": "archive", + "path": "results/NumericalRefinement/SpatiallyGradedExplicitDefectQfDcV1/490529820738b29820c70d5fb67a27cb9e62fcde5bc64f680d49cda03ea74ecf/State.json", + "sha256": "fe585860f16d82123792425c59d7e3d4b5416ef53a2491286fed93ea86008bcb", + "role": "old_result_state" + }, + "declared_run_id": "490529820738b29820c70d5fb67a27cb9e62fcde5bc64f680d49cda03ea74ecf", + "binding_status": "located_not_recertified", + "manifests": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/SpatiallyGradedExplicitDefectQfDcV1/490529820738b29820c70d5fb67a27cb9e62fcde5bc64f680d49cda03ea74ecf/Manifests/332d30849aec175adc10b8f0404197b3ab91ba4921587a359e035a4920453f73.json", + "sha256": "d006b9a17dd24c9067058dba851912d49da7f87866d4548f2506444bd9aa8211", + "role": "historical_manifests" + }, + "declared_content_id": "332d30849aec175adc10b8f0404197b3ab91ba4921587a359e035a4920453f73", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "complete", + "declared_lane_id": "SpatiallyGradedExplicitDefectQfDcV1", + "source_commit": "76899c9c54c17021134dd317832d7b6fc8071007", + "source_fingerprint_sha256": "f3209f067b7c5a6a3f50a340ba84d59ff9a5e1edce5f56592c3e204b695b2592", + "config_sha256": null, + "lane_definition_sha256": "40923a5d5dd23db954bb8160b97a2f30a011a322b93da9bc9f9ced947d0eae36", + "completed_cells": null, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": null, + "artifact_pointers": [ + { + "path": "cells/715429865b854b2a24d1374b18a7048decd9d2e3e71d9ddd3f4a314883cf8e30.json", + "point_key": "grid=16;tolerance=1", + "sha256": "715429865b854b2a24d1374b18a7048decd9d2e3e71d9ddd3f4a314883cf8e30", + "status": "completed" + }, + { + "path": "cells/f854c807e797f94507d9362b277fd4ceec215d9dd2558c7db276e105657b3588.json", + "point_key": "grid=16;tolerance=0.1", + "sha256": "f854c807e797f94507d9362b277fd4ceec215d9dd2558c7db276e105657b3588", + "status": "completed" + }, + { + "path": "cells/b38f769975eeeffc55d1e050aad6afbbad777fc690dbeacf893b9a8f580f939a.json", + "point_key": "grid=16;tolerance=0.01", + "sha256": "b38f769975eeeffc55d1e050aad6afbbad777fc690dbeacf893b9a8f580f939a", + "status": "completed" + }, + { + "path": "cells/1acd8b4d9f1c2c71fde97a9dfbe7c333005b69d6f787c0eed84705ed8b54131c.json", + "point_key": "grid=32;tolerance=1", + "sha256": "1acd8b4d9f1c2c71fde97a9dfbe7c333005b69d6f787c0eed84705ed8b54131c", + "status": "completed" + }, + { + "path": "cells/2975235ece1cffdd655649362305c298a952a5dac7de4bce56689deb5d298517.json", + "point_key": "grid=32;tolerance=0.1", + "sha256": "2975235ece1cffdd655649362305c298a952a5dac7de4bce56689deb5d298517", + "status": "completed" + }, + { + "path": "cells/e393384bb4b81c3b01abd8b525f1441214b080e0b0beebd800191507281865b4.json", + "point_key": "grid=32;tolerance=0.01", + "sha256": "e393384bb4b81c3b01abd8b525f1441214b080e0b0beebd800191507281865b4", + "status": "completed" + }, + { + "path": "cells/f9210aa53ebac4782e45d6b6411837b3037f39fe2a997c0d0e4690e5fc292347.json", + "point_key": "grid=64;tolerance=1", + "sha256": "f9210aa53ebac4782e45d6b6411837b3037f39fe2a997c0d0e4690e5fc292347", + "status": "completed" + }, + { + "path": "cells/f27d64e7784249c71ade18a51a10d9e9fbf963654ce30a57e9b0f5a43c0a92fe.json", + "point_key": "grid=64;tolerance=0.1", + "sha256": "f27d64e7784249c71ade18a51a10d9e9fbf963654ce30a57e9b0f5a43c0a92fe", + "status": "completed" + }, + { + "path": "cells/96550b3b2ca4fc5478bd2c18a7bc54f22c7cbb99ad4da87f6965c68d0d3a54e9.json", + "point_key": "grid=64;tolerance=0.01", + "sha256": "96550b3b2ca4fc5478bd2c18a7bc54f22c7cbb99ad4da87f6965c68d0d3a54e9", + "status": "completed" + } + ], + "environment_sha256": "197e3085b43d4d83ae9bd5fef2bd7f038a2dda3a888bf16c1a02804ec0cb8c27" + }, + "certificates": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/SpatiallyGradedExplicitDefectQfDcV1/490529820738b29820c70d5fb67a27cb9e62fcde5bc64f680d49cda03ea74ecf/Certificates/a8c6545c90c380349ccde15354956ef84da6f769686f7c3b072d71c5f91987b6.json", + "sha256": "1cb0c167d59d66b6c18ac09d3f12ef8cfe953fcc86196ea4db001bf26389b76a", + "role": "historical_certificates" + }, + "declared_content_id": "a8c6545c90c380349ccde15354956ef84da6f769686f7c3b072d71c5f91987b6", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "partial", + "declared_lane_id": "SpatiallyGradedExplicitDefectQfDcV1", + "source_commit": "76899c9c54c17021134dd317832d7b6fc8071007", + "source_fingerprint_sha256": "f3209f067b7c5a6a3f50a340ba84d59ff9a5e1edce5f56592c3e204b695b2592", + "config_sha256": "b6db3b87c509bafc7dae5e84640b12a0277668d612b4f9933f848a3ad99a715f", + "lane_definition_sha256": "40923a5d5dd23db954bb8160b97a2f30a011a322b93da9bc9f9ced947d0eae36", + "completed_cells": 9, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": 0, + "artifact_pointers": [], + "environment_sha256": "197e3085b43d4d83ae9bd5fef2bd7f038a2dda3a888bf16c1a02804ec0cb8c27" + } + }, + { + "run_directory": "results/NumericalRefinement/SpatiallyGradedExplicitDefectQfDcV1/4f9cd563ed05568810ae7fae2f652a6b36033c8344485aafe0a893fc3a44e6ca", + "state": { + "root": "archive", + "path": "results/NumericalRefinement/SpatiallyGradedExplicitDefectQfDcV1/4f9cd563ed05568810ae7fae2f652a6b36033c8344485aafe0a893fc3a44e6ca/State.json", + "sha256": "e66c170146d35cfb0ca273941fc665c0968d54aec0596f716c72e940cd0900f8", + "role": "old_result_state" + }, + "declared_run_id": "4f9cd563ed05568810ae7fae2f652a6b36033c8344485aafe0a893fc3a44e6ca", + "binding_status": "located_not_recertified", + "manifests": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/SpatiallyGradedExplicitDefectQfDcV1/4f9cd563ed05568810ae7fae2f652a6b36033c8344485aafe0a893fc3a44e6ca/Manifests/c32ead75161ca70e14a236d11cfeae4b588a8008a8b612eae7e54a9f292c2817.json", + "sha256": "97577badf2456547e9e20e12678eeca093875121987789c6d24fb9e861f208d0", + "role": "historical_manifests" + }, + "declared_content_id": "c32ead75161ca70e14a236d11cfeae4b588a8008a8b612eae7e54a9f292c2817", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "running", + "declared_lane_id": "SpatiallyGradedExplicitDefectQfDcV1", + "source_commit": "0b8463b21975a240cf95b61137c204e543b324d4", + "source_fingerprint_sha256": "d73d3a43545ae0d14e0740e27c52723e54439daf042e604bf946f22084090a74", + "config_sha256": null, + "lane_definition_sha256": "40923a5d5dd23db954bb8160b97a2f30a011a322b93da9bc9f9ced947d0eae36", + "completed_cells": null, + "expected_cells_count": 9, + "failed_cells_count": 1, + "missing_cells_count": null, + "artifact_pointers": [ + { + "path": "cells/94d43631c57ffc71b5868aee7ca819cc068f3464e03f28c6fc75804770de3921.json", + "point_key": "grid=16;tolerance=1", + "sha256": "94d43631c57ffc71b5868aee7ca819cc068f3464e03f28c6fc75804770de3921", + "status": "failed" + } + ], + "environment_sha256": "197e3085b43d4d83ae9bd5fef2bd7f038a2dda3a888bf16c1a02804ec0cb8c27" + }, + "certificates": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/SpatiallyGradedExplicitDefectQfDcV1/4f9cd563ed05568810ae7fae2f652a6b36033c8344485aafe0a893fc3a44e6ca/Certificates/aff0f73f5b641521163cdb73615baf503c691b736691868b4c8bb02ff9958d7e.json", + "sha256": "2a7553ddec593726339af9f53e087e1bac1b4f3fdf2be4449fa7e1b00eca4fd6", + "role": "historical_certificates" + }, + "declared_content_id": "aff0f73f5b641521163cdb73615baf503c691b736691868b4c8bb02ff9958d7e", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "failed", + "declared_lane_id": "SpatiallyGradedExplicitDefectQfDcV1", + "source_commit": "0b8463b21975a240cf95b61137c204e543b324d4", + "source_fingerprint_sha256": "d73d3a43545ae0d14e0740e27c52723e54439daf042e604bf946f22084090a74", + "config_sha256": "b6db3b87c509bafc7dae5e84640b12a0277668d612b4f9933f848a3ad99a715f", + "lane_definition_sha256": "40923a5d5dd23db954bb8160b97a2f30a011a322b93da9bc9f9ced947d0eae36", + "completed_cells": 0, + "expected_cells_count": 9, + "failed_cells_count": 1, + "missing_cells_count": 8, + "artifact_pointers": [], + "environment_sha256": "197e3085b43d4d83ae9bd5fef2bd7f038a2dda3a888bf16c1a02804ec0cb8c27" + } + } + ], + "status": "historical_records_located" + }, + { + "capability_id": "lane-b6717f964e395329", + "lane": "spatially-graded-explicit-defect-qf-dc-v2", + "archive_directory": "results/NumericalRefinement/SpatiallyGradedExplicitDefectQfDcV2", + "runs": [ + { + "run_directory": "results/NumericalRefinement/SpatiallyGradedExplicitDefectQfDcV2/10fab830ebbc84e821831bb18e84e9bfed4a00c0f6f7988a98c63721695edc31", + "state": { + "root": "archive", + "path": "results/NumericalRefinement/SpatiallyGradedExplicitDefectQfDcV2/10fab830ebbc84e821831bb18e84e9bfed4a00c0f6f7988a98c63721695edc31/State.json", + "sha256": "d9616da36c4e3e08d98235bef7c34936a28d41a7206fd3fd54c94f2b5a258208", + "role": "old_result_state" + }, + "declared_run_id": "10fab830ebbc84e821831bb18e84e9bfed4a00c0f6f7988a98c63721695edc31", + "binding_status": "located_not_recertified", + "manifests": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/SpatiallyGradedExplicitDefectQfDcV2/10fab830ebbc84e821831bb18e84e9bfed4a00c0f6f7988a98c63721695edc31/Manifests/3044fe9d5b52de78374798427697a0e282b645a7431ab7d855a91b78eb298e79.json", + "sha256": "3b1fc75ab77c68fe33834761e57a70e96b8712ed94978b1edd145015c21b1772", + "role": "historical_manifests" + }, + "declared_content_id": "3044fe9d5b52de78374798427697a0e282b645a7431ab7d855a91b78eb298e79", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "complete", + "declared_lane_id": "SpatiallyGradedExplicitDefectQfDcV2", + "source_commit": "1c356b6cf48618dc0a2113c50df97c2297b71ede", + "source_fingerprint_sha256": "66c5365d086ae0131b3067982c3fdc88107016463a7a32eb2e74ad4c75d3e0a2", + "config_sha256": null, + "lane_definition_sha256": "4b38d54c5b6d0ce94789c53434fa145878c4d128fb6ca80c20e5ad708d5ac354", + "completed_cells": null, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": null, + "artifact_pointers": [ + { + "path": "cells/9967ebc04cee7b8d35c19270495a4d53ffc9d5c7f33c42e0d3cd3061313d4e62.json", + "point_key": "grid=16;tolerance=1", + "sha256": "9967ebc04cee7b8d35c19270495a4d53ffc9d5c7f33c42e0d3cd3061313d4e62", + "status": "completed" + }, + { + "path": "cells/8fdcd5336e7bb47f58bf11202743ab1299b39cb130089bcabb232cef228e900b.json", + "point_key": "grid=16;tolerance=0.1", + "sha256": "8fdcd5336e7bb47f58bf11202743ab1299b39cb130089bcabb232cef228e900b", + "status": "completed" + }, + { + "path": "cells/5b1779bb68c754455ef25c746952eb4299c75730bb7240dbf18f704f50874b38.json", + "point_key": "grid=16;tolerance=0.01", + "sha256": "5b1779bb68c754455ef25c746952eb4299c75730bb7240dbf18f704f50874b38", + "status": "completed" + }, + { + "path": "cells/ade0fe8963788ed10badf11f5b714b00a54fa139be65fab8d104bac36bb06f10.json", + "point_key": "grid=32;tolerance=1", + "sha256": "ade0fe8963788ed10badf11f5b714b00a54fa139be65fab8d104bac36bb06f10", + "status": "completed" + }, + { + "path": "cells/a9b1df4dbde50473f49e902a6def3eef16e46312ec7af448ec72ab007128f783.json", + "point_key": "grid=32;tolerance=0.1", + "sha256": "a9b1df4dbde50473f49e902a6def3eef16e46312ec7af448ec72ab007128f783", + "status": "completed" + }, + { + "path": "cells/711eb2abac9f4262014b947dd3ea5cdfa9f59162a5cbc3a97a077915edb399ee.json", + "point_key": "grid=32;tolerance=0.01", + "sha256": "711eb2abac9f4262014b947dd3ea5cdfa9f59162a5cbc3a97a077915edb399ee", + "status": "completed" + }, + { + "path": "cells/368385d50ae182a6047e2bbafc2a3a16731c9551af3b9c0f89814581fbc18ed9.json", + "point_key": "grid=64;tolerance=1", + "sha256": "368385d50ae182a6047e2bbafc2a3a16731c9551af3b9c0f89814581fbc18ed9", + "status": "completed" + }, + { + "path": "cells/3783b73240711547709096a87556b3336bb372937b8bcaa62db0834a0b78b1ac.json", + "point_key": "grid=64;tolerance=0.1", + "sha256": "3783b73240711547709096a87556b3336bb372937b8bcaa62db0834a0b78b1ac", + "status": "completed" + }, + { + "path": "cells/ba5d33c97e6f246a3df235d65b441191e9e1d0daae37547ba23ccc495cf90776.json", + "point_key": "grid=64;tolerance=0.01", + "sha256": "ba5d33c97e6f246a3df235d65b441191e9e1d0daae37547ba23ccc495cf90776", + "status": "completed" + } + ], + "environment_sha256": "197e3085b43d4d83ae9bd5fef2bd7f038a2dda3a888bf16c1a02804ec0cb8c27" + }, + "certificates": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/SpatiallyGradedExplicitDefectQfDcV2/10fab830ebbc84e821831bb18e84e9bfed4a00c0f6f7988a98c63721695edc31/Certificates/a46cc7c190402225dab099ac59ed3ea555b01e337534699ca30f3263ae149bc1.json", + "sha256": "4c61899b2aa7c6325ce4e4ce86a82762e6df11f0a3bdae16b667af1dfbf441e7", + "role": "historical_certificates" + }, + "declared_content_id": "a46cc7c190402225dab099ac59ed3ea555b01e337534699ca30f3263ae149bc1", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "certified", + "declared_lane_id": "SpatiallyGradedExplicitDefectQfDcV2", + "source_commit": "1c356b6cf48618dc0a2113c50df97c2297b71ede", + "source_fingerprint_sha256": "66c5365d086ae0131b3067982c3fdc88107016463a7a32eb2e74ad4c75d3e0a2", + "config_sha256": "b6db3b87c509bafc7dae5e84640b12a0277668d612b4f9933f848a3ad99a715f", + "lane_definition_sha256": "4b38d54c5b6d0ce94789c53434fa145878c4d128fb6ca80c20e5ad708d5ac354", + "completed_cells": 9, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": 0, + "artifact_pointers": [], + "environment_sha256": "197e3085b43d4d83ae9bd5fef2bd7f038a2dda3a888bf16c1a02804ec0cb8c27" + } + } + ], + "status": "historical_records_located" + }, + { + "capability_id": "lane-13c1b80fd89d147a", + "lane": "twod-mobile-ion-interface-srh-v1", + "archive_directory": "results/NumericalRefinement/TwodMobileIonInterfaceSrhV1", + "runs": [ + { + "run_directory": "results/NumericalRefinement/TwodMobileIonInterfaceSrhV1/79b758ad510148849cc259cb0058574811925b77de0e07d9a61c7528a153191d", + "state": { + "root": "archive", + "path": "results/NumericalRefinement/TwodMobileIonInterfaceSrhV1/79b758ad510148849cc259cb0058574811925b77de0e07d9a61c7528a153191d/State.json", + "sha256": "dcaaa0c4087485f3120be0a9f1dc8158c6381ad47b851f3c914e02260a11905d", + "role": "old_result_state" + }, + "declared_run_id": "79b758ad510148849cc259cb0058574811925b77de0e07d9a61c7528a153191d", + "binding_status": "located_not_recertified", + "manifests": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/TwodMobileIonInterfaceSrhV1/79b758ad510148849cc259cb0058574811925b77de0e07d9a61c7528a153191d/Manifests/7f66094e8aca8bddc0952e676c0cf21f99e9459980b3d2c30c332c86e7b93677.json", + "sha256": "2ad7a6a9578b5aed3718c2ed677c420f282b4c6112ece3b36c3a937b4bbc16eb", + "role": "historical_manifests" + }, + "declared_content_id": "7f66094e8aca8bddc0952e676c0cf21f99e9459980b3d2c30c332c86e7b93677", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "complete", + "declared_lane_id": "TwodMobileIonInterfaceSrhV1", + "source_commit": "b126ce067c19b8fc9866de776612cf01360759d9", + "source_fingerprint_sha256": "551a1c187f3d1d85cf61925f6ac91c0124e5754eb6cac9e6318019c2931df69d", + "config_sha256": null, + "lane_definition_sha256": "885a330474e884a03e0a7eafc01e5dba76f669916a0bfbb496b4b7bd7733cc41", + "completed_cells": null, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": null, + "artifact_pointers": [ + { + "path": "cells/cb0923fb6bab64f214b6e6a0d46608cd7f11dfa2fd1460946e27d2690bc332d8.json", + "point_key": "grid=4;tolerance=1", + "sha256": "cb0923fb6bab64f214b6e6a0d46608cd7f11dfa2fd1460946e27d2690bc332d8", + "status": "completed" + }, + { + "path": "cells/47e9289791fea0db5e1ab1f86290d489587d7a14b42c577f64d0a2178c647b69.json", + "point_key": "grid=4;tolerance=0.1", + "sha256": "47e9289791fea0db5e1ab1f86290d489587d7a14b42c577f64d0a2178c647b69", + "status": "completed" + }, + { + "path": "cells/d65161a4103382c411b3ab8780f924d8be519b803a561bfe2703a96fd84e3550.json", + "point_key": "grid=4;tolerance=0.01", + "sha256": "d65161a4103382c411b3ab8780f924d8be519b803a561bfe2703a96fd84e3550", + "status": "completed" + }, + { + "path": "cells/85c63e4c41f6212e9ed204064fe78883cb6640fd523e283afa33cda4fc38ad98.json", + "point_key": "grid=6;tolerance=1", + "sha256": "85c63e4c41f6212e9ed204064fe78883cb6640fd523e283afa33cda4fc38ad98", + "status": "completed" + }, + { + "path": "cells/16b986e8fc1c0b73956437cff47471671aaa176f5517db16ec90af8577163705.json", + "point_key": "grid=6;tolerance=0.1", + "sha256": "16b986e8fc1c0b73956437cff47471671aaa176f5517db16ec90af8577163705", + "status": "completed" + }, + { + "path": "cells/d70a026688edfe643baf42f062d3804def284700710bef4747e69c7042842f06.json", + "point_key": "grid=6;tolerance=0.01", + "sha256": "d70a026688edfe643baf42f062d3804def284700710bef4747e69c7042842f06", + "status": "completed" + }, + { + "path": "cells/3006ed1c820338f46bc0a61decb4c3c5abdf4d836c30a48ed1c8b6a64fd62ce5.json", + "point_key": "grid=8;tolerance=1", + "sha256": "3006ed1c820338f46bc0a61decb4c3c5abdf4d836c30a48ed1c8b6a64fd62ce5", + "status": "completed" + }, + { + "path": "cells/8c075e023524f41fde3db10e60569c82ce76afd3a503167104fff36a2f5f83dd.json", + "point_key": "grid=8;tolerance=0.1", + "sha256": "8c075e023524f41fde3db10e60569c82ce76afd3a503167104fff36a2f5f83dd", + "status": "completed" + }, + { + "path": "cells/8355c9d0b4d64997ab6fb8e5440bbf40d6b822cca9139e8da2806e9ff0945dc3.json", + "point_key": "grid=8;tolerance=0.01", + "sha256": "8355c9d0b4d64997ab6fb8e5440bbf40d6b822cca9139e8da2806e9ff0945dc3", + "status": "completed" + } + ], + "environment_sha256": "197e3085b43d4d83ae9bd5fef2bd7f038a2dda3a888bf16c1a02804ec0cb8c27" + }, + "certificates": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/TwodMobileIonInterfaceSrhV1/79b758ad510148849cc259cb0058574811925b77de0e07d9a61c7528a153191d/Certificates/3c6f279d900e8e77ab2c7eba4036a28458615824b6859614db84f3e734c96a25.json", + "sha256": "9d0e4500b0b0ebc6862bd5556803ddfb697c7405f27d11b0c45868a945891f39", + "role": "historical_certificates" + }, + "declared_content_id": "3c6f279d900e8e77ab2c7eba4036a28458615824b6859614db84f3e734c96a25", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "certified", + "declared_lane_id": "TwodMobileIonInterfaceSrhV1", + "source_commit": "b126ce067c19b8fc9866de776612cf01360759d9", + "source_fingerprint_sha256": "551a1c187f3d1d85cf61925f6ac91c0124e5754eb6cac9e6318019c2931df69d", + "config_sha256": "08b0593cbd4e1c11d4603b521ddfb2e4590ef4daa41fbfa7fe4eac857eb606d1", + "lane_definition_sha256": "885a330474e884a03e0a7eafc01e5dba76f669916a0bfbb496b4b7bd7733cc41", + "completed_cells": 9, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": 0, + "artifact_pointers": [], + "environment_sha256": "197e3085b43d4d83ae9bd5fef2bd7f038a2dda3a888bf16c1a02804ec0cb8c27" + } + }, + { + "run_directory": "results/NumericalRefinement/TwodMobileIonInterfaceSrhV1/89d108b8817fb4af5d0749bd5848efada9dda99a1b559ed395a8cb0603eaa55b", + "state": { + "root": "archive", + "path": "results/NumericalRefinement/TwodMobileIonInterfaceSrhV1/89d108b8817fb4af5d0749bd5848efada9dda99a1b559ed395a8cb0603eaa55b/State.json", + "sha256": "d9927e6a1d7a383a82f90f868eb6c47e62d8b57489cffd98726fdac766ad274d", + "role": "old_result_state" + }, + "declared_run_id": "89d108b8817fb4af5d0749bd5848efada9dda99a1b559ed395a8cb0603eaa55b", + "binding_status": "located_not_recertified", + "manifests": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/TwodMobileIonInterfaceSrhV1/89d108b8817fb4af5d0749bd5848efada9dda99a1b559ed395a8cb0603eaa55b/Manifests/e1c4602ee004955f0b66db1e2ee59a5d29e8109d59208154d105e8da54c6d7b5.json", + "sha256": "476f70c03903af7c0134bf5f40e7ed76834d70935c80f67b60530832d3b26a52", + "role": "historical_manifests" + }, + "declared_content_id": "e1c4602ee004955f0b66db1e2ee59a5d29e8109d59208154d105e8da54c6d7b5", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "complete", + "declared_lane_id": "TwodMobileIonInterfaceSrhV1", + "source_commit": "0c9eb2600434020f3a30cbf76318ce40a2bc4221", + "source_fingerprint_sha256": "b9bdc519cd6fcbcb74c8c2353c61355b0becdf9d19657f4d7cd7f77e7a5f0d2b", + "config_sha256": null, + "lane_definition_sha256": "9f387d04b4c91d9e271543907eead87625361389da7d2c9279c703a67027eb81", + "completed_cells": null, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": null, + "artifact_pointers": [ + { + "path": "cells/1f007147dfc4fd7f7b6adb55bb11d3099dff179c46d1a99f54cf6d7e107b0255.json", + "point_key": "grid=4;tolerance=1", + "sha256": "1f007147dfc4fd7f7b6adb55bb11d3099dff179c46d1a99f54cf6d7e107b0255", + "status": "completed" + }, + { + "path": "cells/26ee8e0bf82f3a9cbd4cadef499f7ef9b0018f9d4cdfd84d7ba0b2a83401c744.json", + "point_key": "grid=4;tolerance=0.1", + "sha256": "26ee8e0bf82f3a9cbd4cadef499f7ef9b0018f9d4cdfd84d7ba0b2a83401c744", + "status": "completed" + }, + { + "path": "cells/9013029012ae6d32c7139bd5f2e263f5d21343790831cc9dcfa88342b18050df.json", + "point_key": "grid=4;tolerance=0.01", + "sha256": "9013029012ae6d32c7139bd5f2e263f5d21343790831cc9dcfa88342b18050df", + "status": "completed" + }, + { + "path": "cells/fa08dc91658e65918ddc9abc9e1744831b9ee5d8dbf30137a1fa702b9a36f10d.json", + "point_key": "grid=6;tolerance=1", + "sha256": "fa08dc91658e65918ddc9abc9e1744831b9ee5d8dbf30137a1fa702b9a36f10d", + "status": "completed" + }, + { + "path": "cells/86b4d88f539dc00fa2082d2a36d5e561f8fcba42be164c871980dd091700128f.json", + "point_key": "grid=6;tolerance=0.1", + "sha256": "86b4d88f539dc00fa2082d2a36d5e561f8fcba42be164c871980dd091700128f", + "status": "completed" + }, + { + "path": "cells/0c239ad12de187ada9a496a6e4fdf81bd549afbbd680ff7e11fc26f2fa795e5f.json", + "point_key": "grid=6;tolerance=0.01", + "sha256": "0c239ad12de187ada9a496a6e4fdf81bd549afbbd680ff7e11fc26f2fa795e5f", + "status": "completed" + }, + { + "path": "cells/b58cc83a030772dee9ed591fd6603433dc58f47740de2153d3831bde97926eda.json", + "point_key": "grid=8;tolerance=1", + "sha256": "b58cc83a030772dee9ed591fd6603433dc58f47740de2153d3831bde97926eda", + "status": "completed" + }, + { + "path": "cells/510e885a121b719eb0376098de5599cfcf1956baf096efe0c1a4c06441a28f4d.json", + "point_key": "grid=8;tolerance=0.1", + "sha256": "510e885a121b719eb0376098de5599cfcf1956baf096efe0c1a4c06441a28f4d", + "status": "completed" + }, + { + "path": "cells/8fcc3c4dda099d3f490cfbaf00dfa25424e73b9d17df4ba4f7e8f499947d0fb1.json", + "point_key": "grid=8;tolerance=0.01", + "sha256": "8fcc3c4dda099d3f490cfbaf00dfa25424e73b9d17df4ba4f7e8f499947d0fb1", + "status": "completed" + } + ], + "environment_sha256": "197e3085b43d4d83ae9bd5fef2bd7f038a2dda3a888bf16c1a02804ec0cb8c27" + }, + "certificates": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/TwodMobileIonInterfaceSrhV1/89d108b8817fb4af5d0749bd5848efada9dda99a1b559ed395a8cb0603eaa55b/Certificates/b02bc4f8b3b5d470d599f6dacde746b26c263591aafecd14cc6c890a94b677dd.json", + "sha256": "bc3ef6c55acdb2a51236a47b080d24031abf1bba123525c792c3218b60e33ab6", + "role": "historical_certificates" + }, + "declared_content_id": "b02bc4f8b3b5d470d599f6dacde746b26c263591aafecd14cc6c890a94b677dd", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "certified", + "declared_lane_id": "TwodMobileIonInterfaceSrhV1", + "source_commit": "0c9eb2600434020f3a30cbf76318ce40a2bc4221", + "source_fingerprint_sha256": "b9bdc519cd6fcbcb74c8c2353c61355b0becdf9d19657f4d7cd7f77e7a5f0d2b", + "config_sha256": "08b0593cbd4e1c11d4603b521ddfb2e4590ef4daa41fbfa7fe4eac857eb606d1", + "lane_definition_sha256": "9f387d04b4c91d9e271543907eead87625361389da7d2c9279c703a67027eb81", + "completed_cells": 9, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": 0, + "artifact_pointers": [], + "environment_sha256": "197e3085b43d4d83ae9bd5fef2bd7f038a2dda3a888bf16c1a02804ec0cb8c27" + } + } + ], + "status": "historical_records_located" + }, + { + "capability_id": "lane-6dbb672b6062d764", + "lane": "twod-uniform-limit", + "archive_directory": "results/NumericalRefinement/TwodUniformLimit", + "runs": [ + { + "run_directory": "results/NumericalRefinement/TwodUniformLimit/73a495f71a2e8e833b7b1f1769bcf102a7960e560cfc8bb0eddece4ff48bf342", + "state": { + "root": "archive", + "path": "results/NumericalRefinement/TwodUniformLimit/73a495f71a2e8e833b7b1f1769bcf102a7960e560cfc8bb0eddece4ff48bf342/State.json", + "sha256": "6a8f97ac7cef54ffcb488dd63fbbc01ad0cb1ad6d078b0647e54a8219462451a", + "role": "old_result_state" + }, + "declared_run_id": "73a495f71a2e8e833b7b1f1769bcf102a7960e560cfc8bb0eddece4ff48bf342", + "binding_status": "located_not_recertified", + "manifests": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/TwodUniformLimit/73a495f71a2e8e833b7b1f1769bcf102a7960e560cfc8bb0eddece4ff48bf342/Manifests/b98ea78d74eac84c48b5c8aadf5a6075b5113b46752f53517605e923e518b9b8.json", + "sha256": "68ca3055aa9d9f424e91346811f3a636cf1c18084a6d49e56047e9479648d5ad", + "role": "historical_manifests" + }, + "declared_content_id": "b98ea78d74eac84c48b5c8aadf5a6075b5113b46752f53517605e923e518b9b8", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "complete_with_failures", + "declared_lane_id": "TwodUniformLimit", + "source_commit": "5b90e6e3b7ea54e60f03fd40881b79b3efdb45ed", + "source_fingerprint_sha256": "544278287c5483ad5d67da9f79a1c99cd440dbc69421b8e1c088cdaee530a9a5", + "config_sha256": null, + "lane_definition_sha256": "a5956883325d80b2167598b58db6f7a892d652a186fa31cd4f0b73c8cba693a8", + "completed_cells": null, + "expected_cells_count": 9, + "failed_cells_count": 3, + "missing_cells_count": null, + "artifact_pointers": [ + { + "path": "cells/cff3631ef0f53317794299fbf822eaeee19f549a727e5ad8b9137d15435da9aa.json", + "point_key": "grid=1;tolerance=1", + "sha256": "cff3631ef0f53317794299fbf822eaeee19f549a727e5ad8b9137d15435da9aa", + "status": "completed" + }, + { + "path": "cells/182f2c80f50d983fe2a8bd5c59f90244010a0f817b8e3b1701f0696257db7ef7.json", + "point_key": "grid=1;tolerance=0.1", + "sha256": "182f2c80f50d983fe2a8bd5c59f90244010a0f817b8e3b1701f0696257db7ef7", + "status": "completed" + }, + { + "path": "cells/b80f7b261db09a2195eff816b82e0e256b4f7c3a086148905941dae78f5041c4.json", + "point_key": "grid=1;tolerance=0.01", + "sha256": "b80f7b261db09a2195eff816b82e0e256b4f7c3a086148905941dae78f5041c4", + "status": "completed" + }, + { + "path": "cells/85596f436d076f597cb9d8be0fb19bb6eb84601f07ab9c0c42f1db74b82bb1f0.json", + "point_key": "grid=2;tolerance=1", + "sha256": "85596f436d076f597cb9d8be0fb19bb6eb84601f07ab9c0c42f1db74b82bb1f0", + "status": "completed" + }, + { + "path": "cells/778122cdea98a4594f090fb055c7bb681ded6f5927782884653fa09bdedf6a4a.json", + "point_key": "grid=2;tolerance=0.1", + "sha256": "778122cdea98a4594f090fb055c7bb681ded6f5927782884653fa09bdedf6a4a", + "status": "completed" + }, + { + "path": "cells/7bdac61303cae31b726b464f57dc040215507614f278da53369cf708d226ffbb.json", + "point_key": "grid=2;tolerance=0.01", + "sha256": "7bdac61303cae31b726b464f57dc040215507614f278da53369cf708d226ffbb", + "status": "completed" + }, + { + "path": "cells/18706a9505516989e795bdabd7e0ced937880eeee93c118a87fff963086b1b6d.json", + "point_key": "grid=4;tolerance=1", + "sha256": "18706a9505516989e795bdabd7e0ced937880eeee93c118a87fff963086b1b6d", + "status": "failed" + }, + { + "path": "cells/590071191cc4039cc7969e2a0ff48b422ae5013122101a93aad61edb314549ae.json", + "point_key": "grid=4;tolerance=0.1", + "sha256": "590071191cc4039cc7969e2a0ff48b422ae5013122101a93aad61edb314549ae", + "status": "failed" + }, + { + "path": "cells/b3043cb004179ab146013e2f3d11c11f6e227fa54625384de6102267efebbe86.json", + "point_key": "grid=4;tolerance=0.01", + "sha256": "b3043cb004179ab146013e2f3d11c11f6e227fa54625384de6102267efebbe86", + "status": "failed" + } + ], + "environment_sha256": "5612564132a2c090d4c09f6da7ac0720986483b95ad71cbfec5e4f6276980c10" + }, + "certificates": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/TwodUniformLimit/73a495f71a2e8e833b7b1f1769bcf102a7960e560cfc8bb0eddece4ff48bf342/Certificates/fe133c89f13a8bcef9a37fdf4d15c28dfec0e412d199d62a47684a6c46c66ae4.json", + "sha256": "81d26ecbfcc190dd9347a73c28f50c549b8e2ad3885244b2153b1be6b5588f0c", + "role": "historical_certificates" + }, + "declared_content_id": "fe133c89f13a8bcef9a37fdf4d15c28dfec0e412d199d62a47684a6c46c66ae4", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "failed", + "declared_lane_id": "TwodUniformLimit", + "source_commit": "5b90e6e3b7ea54e60f03fd40881b79b3efdb45ed", + "source_fingerprint_sha256": "544278287c5483ad5d67da9f79a1c99cd440dbc69421b8e1c088cdaee530a9a5", + "config_sha256": "6a7e0022575e680e3b4348774eb604c3273930b7a0fe210994e6532cd6d59dcb", + "lane_definition_sha256": "a5956883325d80b2167598b58db6f7a892d652a186fa31cd4f0b73c8cba693a8", + "completed_cells": 6, + "expected_cells_count": 9, + "failed_cells_count": 3, + "missing_cells_count": 0, + "artifact_pointers": [], + "environment_sha256": "5612564132a2c090d4c09f6da7ac0720986483b95ad71cbfec5e4f6276980c10" + } + }, + { + "run_directory": "results/NumericalRefinement/TwodUniformLimit/a89f0c7cee4a24dd354d5cdf08822c4ba303b8b445e8221f1e0d932d93c75aa6", + "state": { + "root": "archive", + "path": "results/NumericalRefinement/TwodUniformLimit/a89f0c7cee4a24dd354d5cdf08822c4ba303b8b445e8221f1e0d932d93c75aa6/State.json", + "sha256": "685837b38d59ac9983b9caae6210560b4068457081f9d4739ceb7e40259097d7", + "role": "old_result_state" + }, + "declared_run_id": "a89f0c7cee4a24dd354d5cdf08822c4ba303b8b445e8221f1e0d932d93c75aa6", + "binding_status": "located_not_recertified", + "manifests": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/TwodUniformLimit/a89f0c7cee4a24dd354d5cdf08822c4ba303b8b445e8221f1e0d932d93c75aa6/Manifests/c5e84fe41419e8d39027b51dee2fdd727cb65f0595779e45ca90b122a4dc4090.json", + "sha256": "dc24ba285efa4c2029a2d208a3cc2501f0daf74269fb4a2df71ad372e44388ab", + "role": "historical_manifests" + }, + "declared_content_id": "c5e84fe41419e8d39027b51dee2fdd727cb65f0595779e45ca90b122a4dc4090", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "running", + "declared_lane_id": "TwodUniformLimit", + "source_commit": "5b90e6e3b7ea54e60f03fd40881b79b3efdb45ed", + "source_fingerprint_sha256": "36d7c5622cec4a7b2a3c94921994245a84ed58e24d5acc2feb06f8555ac02633", + "config_sha256": null, + "lane_definition_sha256": "f9856ba7df35315439345cfdaa5ebc47573ced6d8283fd8634802761fb531b4c", + "completed_cells": null, + "expected_cells_count": 9, + "failed_cells_count": 1, + "missing_cells_count": null, + "artifact_pointers": [ + { + "path": "cells/ac16e2a1f1af2299c66ace1837cc4e6c68b8bef271f687507421d9a28c79b54d.json", + "point_key": "grid=1;tolerance=1", + "sha256": "ac16e2a1f1af2299c66ace1837cc4e6c68b8bef271f687507421d9a28c79b54d", + "status": "completed" + }, + { + "path": "cells/a28c1f076107303a42b8c2ecb2be269ed15df6e2431c502004c47188489f1e2a.json", + "point_key": "grid=1;tolerance=0.1", + "sha256": "a28c1f076107303a42b8c2ecb2be269ed15df6e2431c502004c47188489f1e2a", + "status": "completed" + }, + { + "path": "cells/62056bdd8d75615512546944b9bf5128ff5963f77f825a87f748d8e1ebe03ec6.json", + "point_key": "grid=1;tolerance=0.01", + "sha256": "62056bdd8d75615512546944b9bf5128ff5963f77f825a87f748d8e1ebe03ec6", + "status": "completed" + }, + { + "path": "cells/369588ae1c6f5f35c3803af2c50dfe7735bb3b132b46dbeb35b7ad60ce109a4c.json", + "point_key": "grid=2;tolerance=1", + "sha256": "369588ae1c6f5f35c3803af2c50dfe7735bb3b132b46dbeb35b7ad60ce109a4c", + "status": "completed" + }, + { + "path": "cells/03dcfec7c3d2c10b978c90604e86678d7ac751196a145d915753e9a108ff53c4.json", + "point_key": "grid=2;tolerance=0.1", + "sha256": "03dcfec7c3d2c10b978c90604e86678d7ac751196a145d915753e9a108ff53c4", + "status": "completed" + }, + { + "path": "cells/c5435f8814c4b74b7458b0d4d09f6c30e46a1c6a81743977e6f001df9f158d28.json", + "point_key": "grid=2;tolerance=0.01", + "sha256": "c5435f8814c4b74b7458b0d4d09f6c30e46a1c6a81743977e6f001df9f158d28", + "status": "completed" + }, + { + "path": "cells/d3253f342511950dfdad92b8810d3aab7f760873490575faa166e8f67e957ae9.json", + "point_key": "grid=4;tolerance=1", + "sha256": "d3253f342511950dfdad92b8810d3aab7f760873490575faa166e8f67e957ae9", + "status": "failed" + } + ], + "environment_sha256": "f939230f1c8d3eefa5b75660f0301c68afbb7cfcf56b0ae6178472fa832dffb6" + }, + "certificates": { + "status": "missing", + "declared_id": null + } + }, + { + "run_directory": "results/NumericalRefinement/TwodUniformLimit/b6aa9c0422c8178b66682e0c8dac0f8491bd7c7ff1d6271431061f659c0ed3e7", + "state": { + "root": "archive", + "path": "results/NumericalRefinement/TwodUniformLimit/b6aa9c0422c8178b66682e0c8dac0f8491bd7c7ff1d6271431061f659c0ed3e7/State.json", + "sha256": "f16c6125e81c9ec5ea9b2e791efe6b11c8ff1509f14628d3ccdd55ffc55f4051", + "role": "old_result_state" + }, + "declared_run_id": "b6aa9c0422c8178b66682e0c8dac0f8491bd7c7ff1d6271431061f659c0ed3e7", + "binding_status": "located_not_recertified", + "manifests": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/TwodUniformLimit/b6aa9c0422c8178b66682e0c8dac0f8491bd7c7ff1d6271431061f659c0ed3e7/Manifests/bf037b1b4f7adcc8fe5302f9471e978201bb7e9f6c59abac637acf68cc38d4d7.json", + "sha256": "9cab2beb4e54613d012b7967be5e08b8f5e6905fe7729daffebaa90c2b142c90", + "role": "historical_manifests" + }, + "declared_content_id": "bf037b1b4f7adcc8fe5302f9471e978201bb7e9f6c59abac637acf68cc38d4d7", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "running", + "declared_lane_id": "TwodUniformLimit", + "source_commit": "5b90e6e3b7ea54e60f03fd40881b79b3efdb45ed", + "source_fingerprint_sha256": "941655cdd29c937a105ab7fc1f599dc151a3b6a99411ffa62abe29f6de69e8fd", + "config_sha256": null, + "lane_definition_sha256": "f9856ba7df35315439345cfdaa5ebc47573ced6d8283fd8634802761fb531b4c", + "completed_cells": null, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": null, + "artifact_pointers": [ + { + "path": "cells/13af650d6c99a2b384ac7cab54e936def7594ce727118b786fe2762febf79eac.json", + "point_key": "grid=1;tolerance=1", + "sha256": "13af650d6c99a2b384ac7cab54e936def7594ce727118b786fe2762febf79eac", + "status": "completed" + } + ], + "environment_sha256": "a8f568bbe35d22a1e9cd6ea3d71c5ac906be0963710d45176f64eb548117d833" + }, + "certificates": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/TwodUniformLimit/b6aa9c0422c8178b66682e0c8dac0f8491bd7c7ff1d6271431061f659c0ed3e7/Certificates/fe082ae459c772ababee16ef740d607da37bb7fcf687b6c6650d40157c9fe55f.json", + "sha256": "66e55b5013bd4a708b53980bfd9f72b1266f3389a2ab5838adba1b03c04c0077", + "role": "historical_certificates" + }, + "declared_content_id": "fe082ae459c772ababee16ef740d607da37bb7fcf687b6c6650d40157c9fe55f", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "failed", + "declared_lane_id": "TwodUniformLimit", + "source_commit": "5b90e6e3b7ea54e60f03fd40881b79b3efdb45ed", + "source_fingerprint_sha256": "941655cdd29c937a105ab7fc1f599dc151a3b6a99411ffa62abe29f6de69e8fd", + "config_sha256": "6a7e0022575e680e3b4348774eb604c3273930b7a0fe210994e6532cd6d59dcb", + "lane_definition_sha256": "f9856ba7df35315439345cfdaa5ebc47573ced6d8283fd8634802761fb531b4c", + "completed_cells": 1, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": 8, + "artifact_pointers": [], + "environment_sha256": "a8f568bbe35d22a1e9cd6ea3d71c5ac906be0963710d45176f64eb548117d833" + } + } + ], + "status": "historical_records_located" + }, + { + "capability_id": "lane-6b64d0fcde4053b6", + "lane": "wkb-resolved-intraband-qf-dc-v2", + "archive_directory": null, + "runs": [], + "status": "historical_result_not_available_in_registered_archive_root" + }, + { + "capability_id": "lane-16771a29387cfdae", + "lane": "wkb-tunnelling-channel-qf-dc-v1", + "archive_directory": "results/NumericalRefinement/WkbTunnellingChannelQfDcV1", + "runs": [ + { + "run_directory": "results/NumericalRefinement/WkbTunnellingChannelQfDcV1/6f6b9b0381e20a62b9b9ae4fdd2dff667cbf0248997af4b3a9fc1bce3f69f459", + "state": { + "root": "archive", + "path": "results/NumericalRefinement/WkbTunnellingChannelQfDcV1/6f6b9b0381e20a62b9b9ae4fdd2dff667cbf0248997af4b3a9fc1bce3f69f459/State.json", + "sha256": "0dddc215f23d1d3c1be35f6fa1eb072b8108d2d209d1a539226cb5df6d8b7878", + "role": "old_result_state" + }, + "declared_run_id": "6f6b9b0381e20a62b9b9ae4fdd2dff667cbf0248997af4b3a9fc1bce3f69f459", + "binding_status": "located_not_recertified", + "manifests": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/WkbTunnellingChannelQfDcV1/6f6b9b0381e20a62b9b9ae4fdd2dff667cbf0248997af4b3a9fc1bce3f69f459/Manifests/244d47ad7a114a7935c17df229a9b55d3cd29efbe018083d9cbe29feae053d84.json", + "sha256": "dc486cd0c443f88392f878914a543a283915f205f5f63018a0c909d8e729d59c", + "role": "historical_manifests" + }, + "declared_content_id": "244d47ad7a114a7935c17df229a9b55d3cd29efbe018083d9cbe29feae053d84", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "complete", + "declared_lane_id": "WkbTunnellingChannelQfDcV1", + "source_commit": "a66d46886aac205506252aabff83525d105f4c3d", + "source_fingerprint_sha256": "e7b72bc16ed81f9f3aded650f19b34728bd3ad46b05673dd825bdead7c5ab5cf", + "config_sha256": null, + "lane_definition_sha256": "12f4d3a388d48b17e4d2f29fad449b312074fa23c31311bb1046322247394170", + "completed_cells": null, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": null, + "artifact_pointers": [ + { + "path": "cells/d57219659e51ef3fe20d71d2ea62da7f3e1e9077c62e7fe99fc4e73975fd204a.json", + "point_key": "grid=24;tolerance=1", + "sha256": "d57219659e51ef3fe20d71d2ea62da7f3e1e9077c62e7fe99fc4e73975fd204a", + "status": "completed" + }, + { + "path": "cells/7f8a99ede1d9a93de78349de62f6468bef9bd8cd2ccc37b38c46b3ce680e4547.json", + "point_key": "grid=24;tolerance=0.1", + "sha256": "7f8a99ede1d9a93de78349de62f6468bef9bd8cd2ccc37b38c46b3ce680e4547", + "status": "completed" + }, + { + "path": "cells/0a097cdf972eaec9321a6464d7d34561f22acfe8df8d8f9406e342bce2315831.json", + "point_key": "grid=24;tolerance=0.01", + "sha256": "0a097cdf972eaec9321a6464d7d34561f22acfe8df8d8f9406e342bce2315831", + "status": "completed" + }, + { + "path": "cells/5a99645924f8ae3f487fbe17751dba9c8e57f2068f8082df8923544efba9c9f3.json", + "point_key": "grid=48;tolerance=1", + "sha256": "5a99645924f8ae3f487fbe17751dba9c8e57f2068f8082df8923544efba9c9f3", + "status": "completed" + }, + { + "path": "cells/4c2bf4468a2f7e4e850b4ca797719760937abe53af6bd8253a5646baabd57813.json", + "point_key": "grid=48;tolerance=0.1", + "sha256": "4c2bf4468a2f7e4e850b4ca797719760937abe53af6bd8253a5646baabd57813", + "status": "completed" + }, + { + "path": "cells/8ccdf83455ac762a4d2ff4912442724ab4cd60e1e0f935b38a0207957a82a1c9.json", + "point_key": "grid=48;tolerance=0.01", + "sha256": "8ccdf83455ac762a4d2ff4912442724ab4cd60e1e0f935b38a0207957a82a1c9", + "status": "completed" + }, + { + "path": "cells/f78f9a5e6054df83ae0b3f3185ef347679606fe7c3599eff2cab7d8c2dc2d693.json", + "point_key": "grid=96;tolerance=1", + "sha256": "f78f9a5e6054df83ae0b3f3185ef347679606fe7c3599eff2cab7d8c2dc2d693", + "status": "completed" + }, + { + "path": "cells/d314c4a8305d7f5e4775c8003b27935b43d6dc76ed844d1f37ec9f74aa80fbbe.json", + "point_key": "grid=96;tolerance=0.1", + "sha256": "d314c4a8305d7f5e4775c8003b27935b43d6dc76ed844d1f37ec9f74aa80fbbe", + "status": "completed" + }, + { + "path": "cells/9ee6ca936351f7fdf4dc71dcdc73cc87760239e1617c6bd0ad2e5c803dd899e6.json", + "point_key": "grid=96;tolerance=0.01", + "sha256": "9ee6ca936351f7fdf4dc71dcdc73cc87760239e1617c6bd0ad2e5c803dd899e6", + "status": "completed" + } + ], + "environment_sha256": "dda2a215d0d9ad5de235bdd08de23c6ea3a20d35d39a8fb079f4bf9372f65831" + }, + "certificates": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/WkbTunnellingChannelQfDcV1/6f6b9b0381e20a62b9b9ae4fdd2dff667cbf0248997af4b3a9fc1bce3f69f459/Certificates/ea95feb5363f5d57bde95607abe2139f692aa90f132564a0ad4965fcfe62b4d5.json", + "sha256": "eda4e9f55a2e4cb80cc71d073dc7c17e43246cf916aef589387be76ca8c5817d", + "role": "historical_certificates" + }, + "declared_content_id": "ea95feb5363f5d57bde95607abe2139f692aa90f132564a0ad4965fcfe62b4d5", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "failed", + "declared_lane_id": "WkbTunnellingChannelQfDcV1", + "source_commit": "a66d46886aac205506252aabff83525d105f4c3d", + "source_fingerprint_sha256": "e7b72bc16ed81f9f3aded650f19b34728bd3ad46b05673dd825bdead7c5ab5cf", + "config_sha256": "545067cfedc8598b62fd1991aeaf3cd13d3153151e427452d1b78f6d523df20b", + "lane_definition_sha256": "12f4d3a388d48b17e4d2f29fad449b312074fa23c31311bb1046322247394170", + "completed_cells": 9, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": 0, + "artifact_pointers": [], + "environment_sha256": "dda2a215d0d9ad5de235bdd08de23c6ea3a20d35d39a8fb079f4bf9372f65831" + } + }, + { + "run_directory": "results/NumericalRefinement/WkbTunnellingChannelQfDcV1/9fcd17a011a49b8ad0896bedc25aef4f743aa03e3aabfb0d107a68a82afec708", + "state": { + "root": "archive", + "path": "results/NumericalRefinement/WkbTunnellingChannelQfDcV1/9fcd17a011a49b8ad0896bedc25aef4f743aa03e3aabfb0d107a68a82afec708/State.json", + "sha256": "98c24900517f5cb56987a34401ab295381507891acacf37ec25dd77cca06893c", + "role": "old_result_state" + }, + "declared_run_id": "9fcd17a011a49b8ad0896bedc25aef4f743aa03e3aabfb0d107a68a82afec708", + "binding_status": "located_not_recertified", + "manifests": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/WkbTunnellingChannelQfDcV1/9fcd17a011a49b8ad0896bedc25aef4f743aa03e3aabfb0d107a68a82afec708/Manifests/7a232d5563e2efca491b133ac059bd44e733266d84b2e4e19b8cc5944b357c5e.json", + "sha256": "111438c5f4bc08a292f8d5cfe899e7a06caacd54ccdb0635c00f8d1368d6cbe1", + "role": "historical_manifests" + }, + "declared_content_id": "7a232d5563e2efca491b133ac059bd44e733266d84b2e4e19b8cc5944b357c5e", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "complete_with_failures", + "declared_lane_id": "WkbTunnellingChannelQfDcV1", + "source_commit": "a66d46886aac205506252aabff83525d105f4c3d", + "source_fingerprint_sha256": "e7b72bc16ed81f9f3aded650f19b34728bd3ad46b05673dd825bdead7c5ab5cf", + "config_sha256": null, + "lane_definition_sha256": "af05041b33a10299f7011bd7e11f6804f298cedb121e804d15f1bb0350d1098c", + "completed_cells": null, + "expected_cells_count": 9, + "failed_cells_count": 9, + "missing_cells_count": null, + "artifact_pointers": [ + { + "path": "cells/9fbc236eedc4bf772e9ce38e732cb977f64b873c7e650e3e2b02f9b9f7db04cf.json", + "point_key": "grid=24;tolerance=1", + "sha256": "9fbc236eedc4bf772e9ce38e732cb977f64b873c7e650e3e2b02f9b9f7db04cf", + "status": "failed" + }, + { + "path": "cells/6794b6b08c50ecf5c1795a752360db00272f4c6366e9efdec571145f21883edf.json", + "point_key": "grid=24;tolerance=0.1", + "sha256": "6794b6b08c50ecf5c1795a752360db00272f4c6366e9efdec571145f21883edf", + "status": "failed" + }, + { + "path": "cells/e4f1ea6217f35f5963c3a1fee84668c324545db31c7ecf1a6ebc8c2ad4e694fb.json", + "point_key": "grid=24;tolerance=0.01", + "sha256": "e4f1ea6217f35f5963c3a1fee84668c324545db31c7ecf1a6ebc8c2ad4e694fb", + "status": "failed" + }, + { + "path": "cells/e7c0139f338ea4e5f9e70922b27ca01db527e595952015c509814ae00199812d.json", + "point_key": "grid=48;tolerance=1", + "sha256": "e7c0139f338ea4e5f9e70922b27ca01db527e595952015c509814ae00199812d", + "status": "failed" + }, + { + "path": "cells/1bc693c4a66c8ba5dd8c030903318d2b3cdf6e784c830c574b7555bacb1ce55f.json", + "point_key": "grid=48;tolerance=0.1", + "sha256": "1bc693c4a66c8ba5dd8c030903318d2b3cdf6e784c830c574b7555bacb1ce55f", + "status": "failed" + }, + { + "path": "cells/e32072a08f5c8f3027644dcf6489b168dd1533d67be315e815b2a80683341ba6.json", + "point_key": "grid=48;tolerance=0.01", + "sha256": "e32072a08f5c8f3027644dcf6489b168dd1533d67be315e815b2a80683341ba6", + "status": "failed" + }, + { + "path": "cells/5be3b94792e3bd7c0f0a45a3290087ec80fbaad2f65d31ff4b6b996d2a5800e6.json", + "point_key": "grid=96;tolerance=1", + "sha256": "5be3b94792e3bd7c0f0a45a3290087ec80fbaad2f65d31ff4b6b996d2a5800e6", + "status": "failed" + }, + { + "path": "cells/a91b8e6bf27fd08be5c9d01b1d5e8ce60f65f0006d6a1d2a58ba545ed45c6dc7.json", + "point_key": "grid=96;tolerance=0.1", + "sha256": "a91b8e6bf27fd08be5c9d01b1d5e8ce60f65f0006d6a1d2a58ba545ed45c6dc7", + "status": "failed" + }, + { + "path": "cells/6ffbd1465df8afe3d76aacffe27b7c543ebd62ad8c3036cf0c5e38bf330831b0.json", + "point_key": "grid=96;tolerance=0.01", + "sha256": "6ffbd1465df8afe3d76aacffe27b7c543ebd62ad8c3036cf0c5e38bf330831b0", + "status": "failed" + } + ], + "environment_sha256": "dda2a215d0d9ad5de235bdd08de23c6ea3a20d35d39a8fb079f4bf9372f65831" + }, + "certificates": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/WkbTunnellingChannelQfDcV1/9fcd17a011a49b8ad0896bedc25aef4f743aa03e3aabfb0d107a68a82afec708/Certificates/2d2e79b9a5393636559ee5c812932744364db5e6bc21f7b1a6f45d71131dbc0d.json", + "sha256": "53096ec4fb64a61a1a5b931825da8e4d420b554cd618a6da926ef89207a3abe2", + "role": "historical_certificates" + }, + "declared_content_id": "2d2e79b9a5393636559ee5c812932744364db5e6bc21f7b1a6f45d71131dbc0d", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "failed", + "declared_lane_id": "WkbTunnellingChannelQfDcV1", + "source_commit": "a66d46886aac205506252aabff83525d105f4c3d", + "source_fingerprint_sha256": "e7b72bc16ed81f9f3aded650f19b34728bd3ad46b05673dd825bdead7c5ab5cf", + "config_sha256": "545067cfedc8598b62fd1991aeaf3cd13d3153151e427452d1b78f6d523df20b", + "lane_definition_sha256": "af05041b33a10299f7011bd7e11f6804f298cedb121e804d15f1bb0350d1098c", + "completed_cells": 0, + "expected_cells_count": 9, + "failed_cells_count": 9, + "missing_cells_count": 0, + "artifact_pointers": [], + "environment_sha256": "dda2a215d0d9ad5de235bdd08de23c6ea3a20d35d39a8fb079f4bf9372f65831" + } + }, + { + "run_directory": "results/NumericalRefinement/WkbTunnellingChannelQfDcV1/c983b07f8ec83e4d395edbbb472bc707b37b4e6a20c96b68a0dc436bf41bdce8", + "state": { + "root": "archive", + "path": "results/NumericalRefinement/WkbTunnellingChannelQfDcV1/c983b07f8ec83e4d395edbbb472bc707b37b4e6a20c96b68a0dc436bf41bdce8/State.json", + "sha256": "0e9509363e65806148332e388a76c203286e5cfd5f6c96226423323e8535a934", + "role": "old_result_state" + }, + "declared_run_id": "c983b07f8ec83e4d395edbbb472bc707b37b4e6a20c96b68a0dc436bf41bdce8", + "binding_status": "located_not_recertified", + "manifests": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/WkbTunnellingChannelQfDcV1/c983b07f8ec83e4d395edbbb472bc707b37b4e6a20c96b68a0dc436bf41bdce8/Manifests/0546bf2681a034f1fa4bbd423a011bdf32e52c5890cecf87720d0d341d477d23.json", + "sha256": "9e9ea549cb9a4c19c27bba4f1f132a75eb813d76ca3d994197643a0e6d2742da", + "role": "historical_manifests" + }, + "declared_content_id": "0546bf2681a034f1fa4bbd423a011bdf32e52c5890cecf87720d0d341d477d23", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "complete", + "declared_lane_id": "WkbTunnellingChannelQfDcV1", + "source_commit": "a66d46886aac205506252aabff83525d105f4c3d", + "source_fingerprint_sha256": "980b2adc0ab33f61e8d7da25d56556b65c39c4efd86ff6f654fdf4c6eea8b89b", + "config_sha256": null, + "lane_definition_sha256": "29c9220bd039520b27514265a62ba849f2c636924462c3e90f2bee24f7412949", + "completed_cells": null, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": null, + "artifact_pointers": [ + { + "path": "cells/2087863875e4aa1fab6d03accd5283096e2b7d7b4d10e279cc539420517af6e1.json", + "point_key": "grid=24;tolerance=1", + "sha256": "2087863875e4aa1fab6d03accd5283096e2b7d7b4d10e279cc539420517af6e1", + "status": "completed" + }, + { + "path": "cells/956422f6a4720ecef9e66ef62bfc15d549f47c6e4fcb6cfedbf9b1a9edda4a5b.json", + "point_key": "grid=24;tolerance=0.1", + "sha256": "956422f6a4720ecef9e66ef62bfc15d549f47c6e4fcb6cfedbf9b1a9edda4a5b", + "status": "completed" + }, + { + "path": "cells/42d542807adfb46632635468dcf5ab5e0c7a8c1263d9daee7075edba10229370.json", + "point_key": "grid=24;tolerance=0.01", + "sha256": "42d542807adfb46632635468dcf5ab5e0c7a8c1263d9daee7075edba10229370", + "status": "completed" + }, + { + "path": "cells/a70ba91e68689a50b81f7e23cea6c0e5582ff6a67a8a3a6490682ec484eb31f1.json", + "point_key": "grid=48;tolerance=1", + "sha256": "a70ba91e68689a50b81f7e23cea6c0e5582ff6a67a8a3a6490682ec484eb31f1", + "status": "completed" + }, + { + "path": "cells/5b6a786a3145eb9e6ead3e2da7de8cb5d83420a1b88f5a4ae5538aeed22f1828.json", + "point_key": "grid=48;tolerance=0.1", + "sha256": "5b6a786a3145eb9e6ead3e2da7de8cb5d83420a1b88f5a4ae5538aeed22f1828", + "status": "completed" + }, + { + "path": "cells/738fef3a6d8f3822057cade3b57c398ecf5dbb16ab5e8756682bbcc6ad923926.json", + "point_key": "grid=48;tolerance=0.01", + "sha256": "738fef3a6d8f3822057cade3b57c398ecf5dbb16ab5e8756682bbcc6ad923926", + "status": "completed" + }, + { + "path": "cells/0944ce538f7ba66482b8d0afad578593c0dcc093c3ab7636df12bcc03cd3b55d.json", + "point_key": "grid=96;tolerance=1", + "sha256": "0944ce538f7ba66482b8d0afad578593c0dcc093c3ab7636df12bcc03cd3b55d", + "status": "completed" + }, + { + "path": "cells/bbf19f75243a49396482d64fe88f08fd85a6c0b8a827820a7bd7b3011c04bcf9.json", + "point_key": "grid=96;tolerance=0.1", + "sha256": "bbf19f75243a49396482d64fe88f08fd85a6c0b8a827820a7bd7b3011c04bcf9", + "status": "completed" + }, + { + "path": "cells/4361d77dfdb2689a5abe1ac58ea0b9176013aee7cf1bf35cf8f7de74f0de4699.json", + "point_key": "grid=96;tolerance=0.01", + "sha256": "4361d77dfdb2689a5abe1ac58ea0b9176013aee7cf1bf35cf8f7de74f0de4699", + "status": "completed" + } + ], + "environment_sha256": "dda2a215d0d9ad5de235bdd08de23c6ea3a20d35d39a8fb079f4bf9372f65831" + }, + "certificates": { + "file": { + "root": "archive", + "path": "results/NumericalRefinement/WkbTunnellingChannelQfDcV1/c983b07f8ec83e4d395edbbb472bc707b37b4e6a20c96b68a0dc436bf41bdce8/Certificates/12f3a50cb9a6501a5551210ba97653fa0fb33dc52d2a086911883931007932cd.json", + "sha256": "b40f3fd8ab533f6f8a58918a02bfbe1eb1fbc9e9e5481f5912cedce1718b107c", + "role": "historical_certificates" + }, + "declared_content_id": "12f3a50cb9a6501a5551210ba97653fa0fb33dc52d2a086911883931007932cd", + "content_id_is_not_assumed_raw_file_sha256": true, + "declared_status": "certified", + "declared_lane_id": "WkbTunnellingChannelQfDcV1", + "source_commit": "a66d46886aac205506252aabff83525d105f4c3d", + "source_fingerprint_sha256": "980b2adc0ab33f61e8d7da25d56556b65c39c4efd86ff6f654fdf4c6eea8b89b", + "config_sha256": "545067cfedc8598b62fd1991aeaf3cd13d3153151e427452d1b78f6d523df20b", + "lane_definition_sha256": "29c9220bd039520b27514265a62ba849f2c636924462c3e90f2bee24f7412949", + "completed_cells": 9, + "expected_cells_count": 9, + "failed_cells_count": 0, + "missing_cells_count": 0, + "artifact_pointers": [], + "environment_sha256": "dda2a215d0d9ad5de235bdd08de23c6ea3a20d35d39a8fb079f4bf9372f65831" + } + } + ], + "status": "historical_records_located" + } + ], + "configured_capability_bindings": [ + { + "capability_id": "config-120d654b9286cff7", + "config": "perovskite-sim/configs/calado2016_fig1f.yaml", + "sha256": "825d77f15bcfb3e550cc601231a9b6ce07ca11fe185a3eb7d7ef121d54c0ec2a", + "benchmark_reference_ids": [ + "benchmark-5ddcacfc324796c7" + ], + "refinement_reference_ids": [], + "qualification_gap": "Registered load_only only verifies parsing", + "extra_requested_reference": null + }, + { + "capability_id": "config-49ed4d175e93db68", + "config": "perovskite-sim/configs/calado2016_ion_sweep.yaml", + "sha256": "2b436f161a62c9edb2f0b1bbbcf0d2d6a5f27471d2a5d296952173c4baadea9c", + "benchmark_reference_ids": [ + "benchmark-5ddcacfc324796c7" + ], + "refinement_reference_ids": [], + "qualification_gap": "Registered load_only only verifies parsing", + "extra_requested_reference": "HysteresisReferenceContractV1" + }, + { + "capability_id": "config-877a0fa11e2c2506", + "config": "perovskite-sim/configs/scaps_mirror_v2.yaml", + "sha256": "5500c9485f6a9518430511019546933277cdc3274fd3a005182394f39d2fcf67", + "benchmark_reference_ids": [ + "benchmark-5ddcacfc324796c7", + "benchmark-64d717e2afaf62b7", + "benchmark-ac91c699b18d14f4" + ], + "refinement_reference_ids": [ + "lane-84ef85f524daf74b" + ], + "qualification_gap": "Registered status applies to the exact inherited subset, not new implementation", + "extra_requested_reference": "ScapsComparisonContractV1" + }, + { + "capability_id": "config-1b8adfa16822fda1", + "config": "perovskite-sim/tests/fixtures/configs/cSi_homojunction.yaml", + "sha256": "c179e087a6623c7d19dfc7f6a3af056e6fcd5a0382e2e2b0e1e26dc08d883c99", + "benchmark_reference_ids": [ + "benchmark-5ddcacfc324796c7", + "benchmark-f050f4122cc07b66", + "benchmark-2944ea519ddd6969", + "benchmark-3ca07445f8402d7d", + "benchmark-3ece4d3a78f8823e", + "benchmark-ac91c699b18d14f4" + ], + "refinement_reference_ids": [ + "lane-1c11f3ec305c3631", + "lane-1f48a67f12b83f3b" + ], + "qualification_gap": "Registered status applies to the exact inherited subset, not new implementation", + "extra_requested_reference": null + }, + { + "capability_id": "config-1c6faf4572f42367", + "config": "perovskite-sim/tests/fixtures/configs/cigs_baseline.yaml", + "sha256": "46dabc8418b7060a2124206793f3b6f07a01f35826b6b537591c64dbd2abe4af", + "benchmark_reference_ids": [ + "benchmark-5ddcacfc324796c7", + "benchmark-ffe6aa8aa40ed1bc" + ], + "refinement_reference_ids": [], + "qualification_gap": "Registered status applies to the exact inherited subset, not new implementation", + "extra_requested_reference": null + }, + { + "capability_id": "config-fff6408a931f97d8", + "config": "perovskite-sim/tests/fixtures/configs/cigs_graded_notch.yaml", + "sha256": "d622f92e21face4e9a9e1780300566e1cda8c77d0e5e10171882f6cb8d7a5185", + "benchmark_reference_ids": [ + "benchmark-5ddcacfc324796c7", + "benchmark-ffe6aa8aa40ed1bc" + ], + "refinement_reference_ids": [], + "qualification_gap": "Registered status applies to the exact inherited subset, not new implementation", + "extra_requested_reference": null + }, + { + "capability_id": "config-b20df488cea4c952", + "config": "perovskite-sim/tests/fixtures/configs/cigs_graded_optics.yaml", + "sha256": "9539deb2d0883838c9dac42dd95aae41eafb109e9d83205c3273fbd8df0e0fbd", + "benchmark_reference_ids": [ + "benchmark-5ddcacfc324796c7", + "benchmark-ac91c699b18d14f4", + "benchmark-ee312eb2fea8c21f" + ], + "refinement_reference_ids": [ + "lane-d0db2268d3d111e7" + ], + "qualification_gap": "Registered status applies to the exact inherited subset, not new implementation", + "extra_requested_reference": null + }, + { + "capability_id": "config-a70e9dce4d20e4a2", + "config": "perovskite-sim/tests/fixtures/configs/csi_degenerate_pn_research.yaml", + "sha256": "6d707f97bc1632521b5176f55d6e004cc171636e0264e85aa4f20eadafe2dfcb", + "benchmark_reference_ids": [ + "benchmark-5ddcacfc324796c7", + "benchmark-9ffebfadd845315b", + "benchmark-ac91c699b18d14f4" + ], + "refinement_reference_ids": [ + "lane-1dfc4e4b19df86e8" + ], + "qualification_gap": "Registered status applies to the exact inherited subset, not new implementation", + "extra_requested_reference": null + }, + { + "capability_id": "config-a169223267f9bbf5", + "config": "perovskite-sim/tests/fixtures/configs/csi_gaussian_bulk_trap_pn_research.yaml", + "sha256": "7e8bf1ab6669bd8088cd402ef73aca1cd75c9ae1755d3137faf6650569ac481b", + "benchmark_reference_ids": [ + "benchmark-5ddcacfc324796c7", + "benchmark-4105876c56341ee0", + "benchmark-ac91c699b18d14f4" + ], + "refinement_reference_ids": [ + "lane-74c8fcdda1607b00" + ], + "qualification_gap": "Registered status applies to the exact inherited subset, not new implementation", + "extra_requested_reference": null + }, + { + "capability_id": "config-506f7705b1a266e1", + "config": "perovskite-sim/tests/fixtures/configs/csi_incomplete_ionization_bgn_pn_research.yaml", + "sha256": "2fb63bd79a0f0917083d887e80301712d65b9ca46ace02bedb9cb5c5336e789b", + "benchmark_reference_ids": [ + "benchmark-5ddcacfc324796c7", + "benchmark-ae94b012055aa10b", + "benchmark-ac91c699b18d14f4" + ], + "refinement_reference_ids": [ + "lane-42bf2b940134e62c" + ], + "qualification_gap": "Registered status applies to the exact inherited subset, not new implementation", + "extra_requested_reference": null + }, + { + "capability_id": "config-7eb77602abeb4485", + "config": "perovskite-sim/tests/fixtures/configs/csi_incomplete_ionization_pn_research.yaml", + "sha256": "d98b07049abfb17f44404eac91557338dad3a16341b6350d291d940c258abc72", + "benchmark_reference_ids": [ + "benchmark-5ddcacfc324796c7", + "benchmark-afaed356d2fa81de", + "benchmark-ac91c699b18d14f4" + ], + "refinement_reference_ids": [ + "lane-b0877f36f5bf04e5" + ], + "qualification_gap": "Registered status applies to the exact inherited subset, not new implementation", + "extra_requested_reference": null + }, + { + "capability_id": "config-cad7c517167453b3", + "config": "perovskite-sim/tests/fixtures/configs/csi_vannijen2025_pn_cv.yaml", + "sha256": "eb4806e7167c258bd6fb5e47fe02ebadc92e8963055c06a73a5775a20178f5ad", + "benchmark_reference_ids": [ + "benchmark-5ddcacfc324796c7", + "benchmark-a1a396a1f7b2045c", + "benchmark-ac91c699b18d14f4" + ], + "refinement_reference_ids": [ + "lane-d78898d8e12e7813" + ], + "qualification_gap": "Registered status applies to the exact inherited subset, not new implementation", + "extra_requested_reference": null + }, + { + "capability_id": "config-f797930f7afd3a9f", + "config": "perovskite-sim/tests/fixtures/configs/distributed_defect_qf_dc_pn.yaml", + "sha256": "7a6b1c16d8ea313177e3a761660bd6b7bbb546b14aa23189f91a9187ff0904f8", + "benchmark_reference_ids": [ + "benchmark-5ddcacfc324796c7", + "benchmark-ac91c699b18d14f4", + "benchmark-f55a467e6d6c9e27" + ], + "refinement_reference_ids": [ + "lane-b7e62a98398228f0" + ], + "qualification_gap": "Registered status applies to the exact inherited subset, not new implementation", + "extra_requested_reference": null + }, + { + "capability_id": "config-b79cea46ac78266f", + "config": "perovskite-sim/tests/fixtures/configs/driftfusion_benchmark.yaml", + "sha256": "3e4cea0244bcb71072194d24ff5a31e50eb780d8d93dc8bc2343a8032de3fbf7", + "benchmark_reference_ids": [ + "benchmark-5ddcacfc324796c7", + "benchmark-94f2fd2efa41f878" + ], + "refinement_reference_ids": [], + "qualification_gap": "Registered status applies to the exact inherited subset, not new implementation", + "extra_requested_reference": null + }, + { + "capability_id": "config-bdb6aad729910703", + "config": "perovskite-sim/tests/fixtures/configs/driftfusion_benchmark_tmm.yaml", + "sha256": "bf0a186c772f5aadff9cfc1c4471534945e9849f42bea75f8097859f4c7350ce", + "benchmark_reference_ids": [ + "benchmark-5ddcacfc324796c7" + ], + "refinement_reference_ids": [], + "qualification_gap": "Registered load_only only verifies parsing", + "extra_requested_reference": null + }, + { + "capability_id": "config-d136c87a883af5dc", + "config": "perovskite-sim/tests/fixtures/configs/driftfusion_calado2016_repro.yaml", + "sha256": "536dc33d42e214072bbeb14256582682ed0efd8ffaa39b1a3ee716217923c7dd", + "benchmark_reference_ids": [ + "benchmark-5ddcacfc324796c7", + "benchmark-f2d15ebbf5e588cf" + ], + "refinement_reference_ids": [], + "qualification_gap": "Registered status applies to the exact inherited subset, not new implementation", + "extra_requested_reference": null + }, + { + "capability_id": "config-0fbf40720bb34682", + "config": "perovskite-sim/tests/fixtures/configs/dual_ion_demo.yaml", + "sha256": "a52ded5f1a674dfcd12e20ea51db9bddcfb035a199d4610639569dd797597064", + "benchmark_reference_ids": [ + "benchmark-5ddcacfc324796c7" + ], + "refinement_reference_ids": [], + "qualification_gap": "Registered load_only only verifies parsing", + "extra_requested_reference": null + }, + { + "capability_id": "config-e067749541584fae", + "config": "perovskite-sim/tests/fixtures/configs/dynamic_defect_ion_impedance.yaml", + "sha256": "0b7424e4170d7d3792f40f97361edee3a881a04a39ad3a549fb7de621798422a", + "benchmark_reference_ids": [ + "benchmark-5ddcacfc324796c7", + "benchmark-ac91c699b18d14f4", + "benchmark-f2259e41f3b75254" + ], + "refinement_reference_ids": [ + "lane-5ff1ae9d34dfa46d" + ], + "qualification_gap": "Registered status applies to the exact inherited subset, not new implementation", + "extra_requested_reference": null + }, + { + "capability_id": "config-75337222ce16f757", + "config": "perovskite-sim/tests/fixtures/configs/dynamic_interface_defect_ion_transient.yaml", + "sha256": "7aa464bc4772030318ebfa5fa7eb293e346ddf33f70f74083ba120f4240fd7c8", + "benchmark_reference_ids": [ + "benchmark-5ddcacfc324796c7", + "benchmark-ac91c699b18d14f4", + "benchmark-cc91d2d42ff5757d" + ], + "refinement_reference_ids": [ + "lane-119dbf12fc26bf9b", + "lane-2e2c396de43bcf73", + "lane-f63c8cad0bf211ec" + ], + "qualification_gap": "Registered status applies to the exact inherited subset, not new implementation", + "extra_requested_reference": null + }, + { + "capability_id": "config-6a5cafb2f67eb805", + "config": "perovskite-sim/tests/fixtures/configs/dynamic_interface_defect_ion_transient_absorber_only.yaml", + "sha256": "f617f230b2d9c144573394e38fcc313225dc84c7b38f7670b97e9a0a7cc12a24", + "benchmark_reference_ids": [ + "benchmark-5ddcacfc324796c7", + "benchmark-ac91c699b18d14f4", + "benchmark-cc91d2d42ff5757d", + "benchmark-4322a9e3b442d931" + ], + "refinement_reference_ids": [ + "lane-def3952fd4d218a3", + "lane-b61bf1fc1c5146b5", + "lane-c2f00d60b696be35" + ], + "qualification_gap": "Registered status applies to the exact inherited subset, not new implementation", + "extra_requested_reference": null + }, + { + "capability_id": "config-c38046f5a7e5f288", + "config": "perovskite-sim/tests/fixtures/configs/field_mobility_demo.yaml", + "sha256": "7ca86a8d5d35c50d0892de55e2375eaf8e9d0966477cd378ace6cae1a5e88edd", + "benchmark_reference_ids": [ + "benchmark-5ddcacfc324796c7" + ], + "refinement_reference_ids": [], + "qualification_gap": "Registered load_only only verifies parsing", + "extra_requested_reference": null + }, + { + "capability_id": "config-8cdce5d5383e09ba", + "config": "perovskite-sim/tests/fixtures/configs/graded_distributed_defect_qf_dc_pn.yaml", + "sha256": "b6db3b87c509bafc7dae5e84640b12a0277668d612b4f9933f848a3ad99a715f", + "benchmark_reference_ids": [ + "benchmark-5ddcacfc324796c7", + "benchmark-ac91c699b18d14f4", + "benchmark-4e5dfc48e60736d0" + ], + "refinement_reference_ids": [ + "lane-ea8013ec21a124fd", + "lane-b6717f964e395329" + ], + "qualification_gap": "Registered status applies to the exact inherited subset, not new implementation", + "extra_requested_reference": null + }, + { + "capability_id": "config-be2fba72dc1e3066", + "config": "perovskite-sim/tests/fixtures/configs/interface_charge_jv_research.yaml", + "sha256": "5f4bbf89cf2d95fb020cdc9ade111d838ed38cc1c14a722e5fd800e30c6590c1", + "benchmark_reference_ids": [ + "benchmark-5ddcacfc324796c7", + "benchmark-ac91c699b18d14f4", + "benchmark-66079d06baa87db2" + ], + "refinement_reference_ids": [ + "lane-54128f5212664526" + ], + "qualification_gap": "Registered status applies to the exact inherited subset, not new implementation", + "extra_requested_reference": null + }, + { + "capability_id": "config-d84c8112dd429b78", + "config": "perovskite-sim/tests/fixtures/configs/interface_charge_reference.yaml", + "sha256": "300f57a256dc764995b916a55b98b642ecd8244eccd2ca456624d9521e0e2705", + "benchmark_reference_ids": [ + "benchmark-5ddcacfc324796c7", + "benchmark-ac91c699b18d14f4", + "benchmark-d421981a0850b957" + ], + "refinement_reference_ids": [ + "lane-ee113ad477b8697e" + ], + "qualification_gap": "Registered status applies to the exact inherited subset, not new implementation", + "extra_requested_reference": null + }, + { + "capability_id": "config-3cc522bdc594b20e", + "config": "perovskite-sim/tests/fixtures/configs/interface_charge_research.yaml", + "sha256": "523449448807e4993f999300308096003c3eeaf280924b7af208915a3cf41a54", + "benchmark_reference_ids": [ + "benchmark-5ddcacfc324796c7", + "benchmark-ac91c699b18d14f4", + "benchmark-1006540a4310894f", + "benchmark-8d1003366b1bcb44" + ], + "refinement_reference_ids": [ + "lane-3eb9325a1d09f96f", + "lane-f3d0d1307884e5e8", + "lane-e95ec3a450b16504", + "lane-5da5b7d376d6e06e", + "lane-0350f1d065d6fedc", + "lane-1816209e76bb9ac0" + ], + "qualification_gap": "Registered status applies to the exact inherited subset, not new implementation", + "extra_requested_reference": null + }, + { + "capability_id": "config-859da6c860403b26", + "config": "perovskite-sim/tests/fixtures/configs/ionmonger_benchmark.yaml", + "sha256": "fbc82c9b85d121c459ab08d07d1c7f886eef36f4db669d354b79d260f43c8750", + "benchmark_reference_ids": [ + "benchmark-5ddcacfc324796c7", + "benchmark-9413c6e9be031fbb", + "benchmark-ccce54aef1456ee8", + "benchmark-a9fb1ab48c74827c", + "benchmark-ac91c699b18d14f4" + ], + "refinement_reference_ids": [ + "lane-6c70228c5f2817ea", + "lane-c5f63593f6609839", + "lane-500d85c643804b4b", + "lane-b59b8f0f474425b0", + "lane-077aabd76066b531", + "lane-db596cd22f67423d" + ], + "qualification_gap": "Registered status applies to the exact inherited subset, not new implementation", + "extra_requested_reference": null + }, + { + "capability_id": "config-328227f22f1d2314", + "config": "perovskite-sim/tests/fixtures/configs/ionmonger_benchmark_tmm.yaml", + "sha256": "09728fba308a206b3bdcd0874fdfc1775ac125dcfa42d10f70e9db8887c46fea", + "benchmark_reference_ids": [ + "benchmark-5ddcacfc324796c7", + "benchmark-9413c6e9be031fbb" + ], + "refinement_reference_ids": [], + "qualification_gap": "Registered status applies to the exact inherited subset, not new implementation", + "extra_requested_reference": null + }, + { + "capability_id": "config-33b6e06d53bb754a", + "config": "perovskite-sim/tests/fixtures/configs/ionmonger_courtier2019_repro.yaml", + "sha256": "ea88b2d05bca4f617b001092630b3de6e55293b6707c7083c7ee25efa3a5242f", + "benchmark_reference_ids": [ + "benchmark-5ddcacfc324796c7", + "benchmark-a12ead2b6fe7e734" + ], + "refinement_reference_ids": [], + "qualification_gap": "Registered status applies to the exact inherited subset, not new implementation", + "extra_requested_reference": null + }, + { + "capability_id": "config-764c3f33e226386e", + "config": "perovskite-sim/tests/fixtures/configs/nip_MAPbI3.yaml", + "sha256": "20fa8a8097c965330ce7b0d7e8f9286fc1960585231c360841d24ba7a1845668", + "benchmark_reference_ids": [ + "benchmark-5ddcacfc324796c7", + "benchmark-ac91c699b18d14f4", + "benchmark-86e2e70943004434" + ], + "refinement_reference_ids": [ + "lane-5d1d62edf010a604", + "lane-b37e800920a3345f", + "lane-b89615cfbbfe0045", + "lane-8ecc1df7d72fa132", + "lane-c8c8e3698ef7d8d7" + ], + "qualification_gap": "Registered status applies to the exact inherited subset, not new implementation", + "extra_requested_reference": null + }, + { + "capability_id": "config-7933e51a101f4a15", + "config": "perovskite-sim/tests/fixtures/configs/nip_MAPbI3_tmm.yaml", + "sha256": "4624f6923ffc10fbd401ce37702250f72b558d3e4ecdbd5d8e766ab84e21b1b2", + "benchmark_reference_ids": [ + "benchmark-5ddcacfc324796c7", + "benchmark-a8032d8160a5c7e3" + ], + "refinement_reference_ids": [], + "qualification_gap": "Registered status applies to the exact inherited subset, not new implementation", + "extra_requested_reference": null + }, + { + "capability_id": "config-1d26249f4ca03c0e", + "config": "perovskite-sim/tests/fixtures/configs/nip_SnPb_1p22.yaml", + "sha256": "2b5271f1c0f943074ea8de647e0e57c1d456e43f785e6123eb73d616c3e11c1d", + "benchmark_reference_ids": [ + "benchmark-5ddcacfc324796c7", + "benchmark-ac54a8e323f74ee0" + ], + "refinement_reference_ids": [], + "qualification_gap": "Registered status applies to the exact inherited subset, not new implementation", + "extra_requested_reference": null + }, + { + "capability_id": "config-5bf43a4f988ae256", + "config": "perovskite-sim/tests/fixtures/configs/nip_wideGap_FACs_1p77.yaml", + "sha256": "063c10f521a9943bd63728687ca383b2693ae437071aaedbeb98cdbe26e96147", + "benchmark_reference_ids": [ + "benchmark-5ddcacfc324796c7", + "benchmark-ac54a8e323f74ee0" + ], + "refinement_reference_ids": [], + "qualification_gap": "Registered status applies to the exact inherited subset, not new implementation", + "extra_requested_reference": null + }, + { + "capability_id": "config-c24c09a2b147da3f", + "config": "perovskite-sim/tests/fixtures/configs/pin_MAPbI3.yaml", + "sha256": "3881eda9e5d7d4c71e1215e11b01f113a4764b1c74b4932e4c7932f69eb3d605", + "benchmark_reference_ids": [ + "benchmark-5ddcacfc324796c7" + ], + "refinement_reference_ids": [], + "qualification_gap": "Registered load_only only verifies parsing", + "extra_requested_reference": null + }, + { + "capability_id": "config-ff41e51db6b0c7aa", + "config": "perovskite-sim/tests/fixtures/configs/pin_MAPbI3_tmm.yaml", + "sha256": "984b5f8bb9858994a1100de70896fc4a9474b43ef1857d633beb14f75a9a22df", + "benchmark_reference_ids": [ + "benchmark-5ddcacfc324796c7", + "benchmark-a8032d8160a5c7e3" + ], + "refinement_reference_ids": [], + "qualification_gap": "Registered status applies to the exact inherited subset, not new implementation", + "extra_requested_reference": null + }, + { + "capability_id": "config-571921490103a339", + "config": "perovskite-sim/tests/fixtures/configs/radiative_limit.yaml", + "sha256": "8d529e4321fb1bb3c32d1d516946aa768f641982d4ab6e12059c46fa5e1fb8c9", + "benchmark_reference_ids": [ + "benchmark-5ddcacfc324796c7", + "benchmark-979ee3060444ba30" + ], + "refinement_reference_ids": [], + "qualification_gap": "Registered status applies to the exact inherited subset, not new implementation", + "extra_requested_reference": null + }, + { + "capability_id": "config-a0a2d66216edf81e", + "config": "perovskite-sim/tests/fixtures/configs/scaps_defect_m1_double_donor_p.yaml", + "sha256": "43516a15f6ceeb6ba5fb4381c789e1c073ead4b101081d583da60c4bf9407290", + "benchmark_reference_ids": [ + "benchmark-5ddcacfc324796c7", + "benchmark-f243dcb4f5a72c41", + "benchmark-ac91c699b18d14f4" + ], + "refinement_reference_ids": [ + "lane-f7e0f3e0963801d8" + ], + "qualification_gap": "Registered status applies to the exact inherited subset, not new implementation", + "extra_requested_reference": null + }, + { + "capability_id": "config-dd4b5d5806c4d7e1", + "config": "perovskite-sim/tests/fixtures/configs/scaps_defect_m2_double_acceptor_n.yaml", + "sha256": "32c7828624f482259d681aeca4d148d882483719de43dc72ce0b117d4f27d223", + "benchmark_reference_ids": [ + "benchmark-5ddcacfc324796c7", + "benchmark-f243dcb4f5a72c41" + ], + "refinement_reference_ids": [], + "qualification_gap": "Registered status applies to the exact inherited subset, not new implementation", + "extra_requested_reference": null + }, + { + "capability_id": "config-7ea97d91129f8071", + "config": "perovskite-sim/tests/fixtures/configs/scaps_defect_m3_amphoteric_i.yaml", + "sha256": "7e772e2e92a5d862ac8b54f0b5cd684829bbe9ae34eb3aee607ab78a3586915c", + "benchmark_reference_ids": [ + "benchmark-5ddcacfc324796c7", + "benchmark-f243dcb4f5a72c41" + ], + "refinement_reference_ids": [], + "qualification_gap": "Registered status applies to the exact inherited subset, not new implementation", + "extra_requested_reference": null + }, + { + "capability_id": "config-04ee3c1aeccf72d6", + "config": "perovskite-sim/tests/fixtures/configs/scaps_defect_s0_neutral.yaml", + "sha256": "77b89e16c365cd5c4cf9f7aa439f0200ec9ad9b814e60bbe81895afef65025c7", + "benchmark_reference_ids": [ + "benchmark-5ddcacfc324796c7", + "benchmark-83c17bf82672772f" + ], + "refinement_reference_ids": [], + "qualification_gap": "Registered status applies to the exact inherited subset, not new implementation", + "extra_requested_reference": null + }, + { + "capability_id": "config-ec72e45346ce382c", + "config": "perovskite-sim/tests/fixtures/configs/scaps_defect_s1_acceptor_n.yaml", + "sha256": "f49900b296a2bfb3c5a28d9135b24dcf8f0d6c409f105a70d4dd27100ebcb681", + "benchmark_reference_ids": [ + "benchmark-5ddcacfc324796c7", + "benchmark-83c17bf82672772f", + "benchmark-ac91c699b18d14f4" + ], + "refinement_reference_ids": [ + "lane-30c624efe3f8467f" + ], + "qualification_gap": "Registered status applies to the exact inherited subset, not new implementation", + "extra_requested_reference": null + }, + { + "capability_id": "config-32c90fdcf0446d6c", + "config": "perovskite-sim/tests/fixtures/configs/scaps_defect_s2_donor_p.yaml", + "sha256": "7fff245d23a99cb1128124d073269a3b3f1d8ee9a9f07730ce558ab4eb3d8066", + "benchmark_reference_ids": [ + "benchmark-5ddcacfc324796c7", + "benchmark-83c17bf82672772f" + ], + "refinement_reference_ids": [], + "qualification_gap": "Registered status applies to the exact inherited subset, not new implementation", + "extra_requested_reference": null + }, + { + "capability_id": "config-f6eea890796f5eb0", + "config": "perovskite-sim/tests/fixtures/configs/scaps_mirror.yaml", + "sha256": "7ad4968d9c8249b76ca4e649d41c39e26727f6818cb81a15fe75f6b74b11b881", + "benchmark_reference_ids": [ + "benchmark-5ddcacfc324796c7", + "benchmark-beb35201a660895f", + "benchmark-ac91c699b18d14f4" + ], + "refinement_reference_ids": [ + "lane-5547d9e78904e730" + ], + "qualification_gap": "Registered status applies to the exact inherited subset, not new implementation", + "extra_requested_reference": null + }, + { + "capability_id": "config-a29901829ba97604", + "config": "perovskite-sim/tests/fixtures/configs/scaps_mirror_v2_robin_moderate.yaml", + "sha256": "2d0d25a59802cac9c85f2b4a84ee49f9b42100fe0f87cb00f647462b475a0f95", + "benchmark_reference_ids": [ + "benchmark-5ddcacfc324796c7" + ], + "refinement_reference_ids": [], + "qualification_gap": "Registered load_only only verifies parsing", + "extra_requested_reference": null + }, + { + "capability_id": "config-65ce361ce300c2ac", + "config": "perovskite-sim/tests/fixtures/configs/scaps_mirror_v2_robin_strong.yaml", + "sha256": "2b35b8e0a8efdc1e3432dc55b00f03b6f6bcf53d43e699502ef3c903152057ee", + "benchmark_reference_ids": [ + "benchmark-5ddcacfc324796c7" + ], + "refinement_reference_ids": [], + "qualification_gap": "Registered load_only only verifies parsing", + "extra_requested_reference": null + }, + { + "capability_id": "config-9ac625cb534a71ea", + "config": "perovskite-sim/tests/fixtures/configs/selective_contacts_demo.yaml", + "sha256": "731b5a77435484ff638183e83e77a7479da4c7b16aadfe79f15ae966764f682d", + "benchmark_reference_ids": [ + "benchmark-5ddcacfc324796c7" + ], + "refinement_reference_ids": [], + "qualification_gap": "Registered status applies to the exact inherited subset, not new implementation", + "extra_requested_reference": null + }, + { + "capability_id": "config-c150e415b66351b3", + "config": "perovskite-sim/tests/fixtures/configs/solarscale_nip_band_aligned.yaml", + "sha256": "8b0d9cadfb1d198cf32ea647c95ed25fa38928d8b2f5770bcf49902114402088", + "benchmark_reference_ids": [ + "benchmark-5ddcacfc324796c7" + ], + "refinement_reference_ids": [], + "qualification_gap": "Registered load_only only verifies parsing", + "extra_requested_reference": null + }, + { + "capability_id": "config-792778a0df251438", + "config": "perovskite-sim/tests/fixtures/configs/solarscale_nip_band_aligned_iface.yaml", + "sha256": "538fed52f0d40123ecc1b8a4c1391616f9f35a93637157f3374e90fc8f43c344", + "benchmark_reference_ids": [ + "benchmark-5ddcacfc324796c7" + ], + "refinement_reference_ids": [], + "qualification_gap": "Registered status applies to the exact inherited subset, not new implementation", + "extra_requested_reference": null + }, + { + "capability_id": "config-e235368b9aa60c3e", + "config": "perovskite-sim/tests/fixtures/configs/tandem_lin2019.yaml", + "sha256": "2eb26eb1902d0b9fbaf6e1b019dc79a163d2989adb13654c90ef508b4fdaded0", + "benchmark_reference_ids": [ + "benchmark-5ddcacfc324796c7", + "benchmark-ac54a8e323f74ee0" + ], + "refinement_reference_ids": [], + "qualification_gap": "Registered status applies to the exact inherited subset, not new implementation", + "extra_requested_reference": null + }, + { + "capability_id": "config-8cb68dc12f6a5ab6", + "config": "perovskite-sim/tests/fixtures/configs/tpv_physical_reference.yaml", + "sha256": "2e470b672f2b0ee6970ff169deedf7ce09ed0a45beb8ab9c55b48ab8da487c10", + "benchmark_reference_ids": [ + "benchmark-5ddcacfc324796c7", + "benchmark-5223cbf1b1ff2fbd", + "benchmark-ac91c699b18d14f4", + "benchmark-5c45d777007899c9", + "benchmark-00cbe610b0bd55b6" + ], + "refinement_reference_ids": [ + "lane-db3616410333cfd2", + "lane-1bbf89ccef7a7815" + ], + "qualification_gap": "Registered status applies to the exact inherited subset, not new implementation", + "extra_requested_reference": null + }, + { + "capability_id": "config-4b69131d5feb6c7a", + "config": "perovskite-sim/tests/fixtures/configs/twod/bcx_combined_demo.yaml", + "sha256": "de41a3ea4547a2c97a4327f2c2edaeab4b162e6a51ed43aae4e40ef3047c46dc", + "benchmark_reference_ids": [ + "benchmark-5ddcacfc324796c7" + ], + "refinement_reference_ids": [], + "qualification_gap": "Registered load_only only verifies parsing", + "extra_requested_reference": null + }, + { + "capability_id": "config-480c4d067ef71e0b", + "config": "perovskite-sim/tests/fixtures/configs/twod/combined_mobile_interface_research.yaml", + "sha256": "08b0593cbd4e1c11d4603b521ddfb2e4590ef4daa41fbfa7fe4eac857eb606d1", + "benchmark_reference_ids": [ + "benchmark-5ddcacfc324796c7", + "benchmark-ac91c699b18d14f4", + "benchmark-63f25334baabb168" + ], + "refinement_reference_ids": [ + "lane-13c1b80fd89d147a" + ], + "qualification_gap": "Registered status applies to the exact inherited subset, not new implementation", + "extra_requested_reference": null + }, + { + "capability_id": "config-c4dd466c9c38d82e", + "config": "perovskite-sim/tests/fixtures/configs/twod/nip_MAPbI3_singleGB.yaml", + "sha256": "01870c441a410f0c99a6d71ee363e862798ee05fdaaf03156bb657a16b6cf5b6", + "benchmark_reference_ids": [ + "benchmark-5ddcacfc324796c7", + "benchmark-d84b2405628c3df6" + ], + "refinement_reference_ids": [], + "qualification_gap": "Registered status applies to the exact inherited subset, not new implementation", + "extra_requested_reference": null + }, + { + "capability_id": "config-e8fa66183b4163b4", + "config": "perovskite-sim/tests/fixtures/configs/twod/nip_MAPbI3_uniform.yaml", + "sha256": "6a7e0022575e680e3b4348774eb604c3273930b7a0fe210994e6532cd6d59dcb", + "benchmark_reference_ids": [ + "benchmark-5ddcacfc324796c7", + "benchmark-7e320e9d039d49bd", + "benchmark-ac91c699b18d14f4" + ], + "refinement_reference_ids": [ + "lane-6dbb672b6062d764" + ], + "qualification_gap": "Registered status applies to the exact inherited subset, not new implementation", + "extra_requested_reference": null + }, + { + "capability_id": "config-345114448b5dc42c", + "config": "perovskite-sim/tests/fixtures/configs/wkb_resolved_electron_barrier.yaml", + "sha256": "891165e5ac68609b27dbe6c98b00e27d9b40b4df6edabde764ddda62d4788d27", + "benchmark_reference_ids": [ + "benchmark-5ddcacfc324796c7", + "benchmark-ac91c699b18d14f4", + "benchmark-e049e24da73bc454" + ], + "refinement_reference_ids": [ + "lane-6b64d0fcde4053b6" + ], + "qualification_gap": "Registered status applies to the exact inherited subset, not new implementation", + "extra_requested_reference": null + }, + { + "capability_id": "config-89864c46531b604e", + "config": "perovskite-sim/tests/fixtures/configs/wkb_tunnelling_intraband_spike.yaml", + "sha256": "545067cfedc8598b62fd1991aeaf3cd13d3153151e427452d1b78f6d523df20b", + "benchmark_reference_ids": [ + "benchmark-5ddcacfc324796c7", + "benchmark-ac91c699b18d14f4", + "benchmark-5ac658e026793692" + ], + "refinement_reference_ids": [ + "lane-16771a29387cfdae" + ], + "qualification_gap": "Registered status applies to the exact inherited subset, not new implementation", + "extra_requested_reference": null + } + ], + "registered_test_bindings": [ + { + "capability_id": "test-4f312ab067016d9c", + "node_id": "perovskite-sim/tests/integration/backend/test_user_configs_api.py::test_csi_underresolved_grid_returns_actionable_client_error", + "benchmark_reference_ids": [ + "benchmark-f050f4122cc07b66" + ] + }, + { + "capability_id": "test-7c3a65c4824b57be", + "node_id": "perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_mixed_distributed_species_close_in_illuminated_qf_jv", + "benchmark_reference_ids": [ + "benchmark-f55a467e6d6c9e27" + ] + }, + { + "capability_id": "test-63ff29b3d21a55d5", + "node_id": "perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py::test_public_qf_jv_sweep_retains_charged_defect_certificates", + "benchmark_reference_ids": [ + "benchmark-83c17bf82672772f" + ] + }, + { + "capability_id": "test-5f73e4a920474139", + "node_id": "perovskite-sim/tests/integration/test_cigs_graded_optics.py::test_minoura_high_energy_absorption_agrees_with_independent_carron_model", + "benchmark_reference_ids": [ + "benchmark-ee312eb2fea8c21f" + ] + }, + { + "capability_id": "test-3055e3986c75d0d3", + "node_id": "perovskite-sim/tests/integration/test_cigs_graded_optics.py::test_shipped_research_config_builds_finite_photon_bounded_generation", + "benchmark_reference_ids": [ + "benchmark-ee312eb2fea8c21f" + ] + }, + { + "capability_id": "test-03fed0a28f081a18", + "node_id": "perovskite-sim/tests/integration/test_cigs_graded_optics.py::test_uniform_composition_slice_limit_matches_one_homogeneous_layer", + "benchmark_reference_ids": [ + "benchmark-ee312eb2fea8c21f" + ] + }, + { + "capability_id": "test-9250a63a993b2c94", + "node_id": "perovskite-sim/tests/integration/test_degradation_snapshot_refinement.py::test_snapshot_metrics_are_independent_of_preparation_step_size", + "benchmark_reference_ids": [ + "benchmark-5223cbf1b1ff2fbd" + ] + }, + { + "capability_id": "test-917793d6c1152d4a", + "node_id": "perovskite-sim/tests/integration/test_degradation_snapshot_refinement.py::test_snapshot_voltage_sampling_resolves_voc_jsc_and_ff", + "benchmark_reference_ids": [ + "benchmark-5223cbf1b1ff2fbd" + ] + }, + { + "capability_id": "test-aa38aa44614c6a39", + "node_id": "perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_bulk_dynamic_defect_impedance_is_protocol_bound_and_certified", + "benchmark_reference_ids": [ + "benchmark-f2259e41f3b75254" + ] + }, + { + "capability_id": "test-5022410942c288c2", + "node_id": "perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_interface_dynamic_defect_impedance_uses_two_sided_faces", + "benchmark_reference_ids": [ + "benchmark-f2259e41f3b75254" + ] + }, + { + "capability_id": "test-c266ef46a5d09e19", + "node_id": "perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_public_triple_coupled_defect_ion_impedance_is_certified", + "benchmark_reference_ids": [ + "benchmark-f2259e41f3b75254" + ] + }, + { + "capability_id": "test-fea61e2a199b12b9", + "node_id": "perovskite-sim/tests/integration/test_dynamic_defect_impedance.py::test_registered_production_executor_emits_exact_metrics_and_protocol", + "benchmark_reference_ids": [ + "benchmark-f2259e41f3b75254" + ] + }, + { + "capability_id": "test-93ba21a37217ae64", + "node_id": "perovskite-sim/tests/integration/test_dynamic_defect_impedance_api.py::test_real_dynamic_defect_impedance_api_serializes_protocol_and_evidence", + "benchmark_reference_ids": [ + "benchmark-f2259e41f3b75254" + ] + }, + { + "capability_id": "test-b62f526de14eadca", + "node_id": "perovskite-sim/tests/integration/test_dynamic_defect_transient.py::test_public_dynamic_defect_transient_is_protocol_bound_and_certified", + "benchmark_reference_ids": [ + "benchmark-4322a9e3b442d931" + ] + }, + { + "capability_id": "test-c05eb905eb899cd1", + "node_id": "perovskite-sim/tests/integration/test_dynamic_defect_transient_api.py::test_real_dynamic_defect_transient_api_serializes_protocol_and_evidence", + "benchmark_reference_ids": [ + "benchmark-4322a9e3b442d931" + ] + }, + { + "capability_id": "test-31c40f1f59ae8824", + "node_id": "perovskite-sim/tests/integration/test_external_circuit_refinement.py::test_real_registered_external_circuit_cell_returns_all_certificate_axes", + "benchmark_reference_ids": [ + "benchmark-86e2e70943004434" + ] + }, + { + "capability_id": "test-9b88349c86e4c172", + "node_id": "perovskite-sim/tests/integration/test_external_circuit_refinement.py::test_real_resolved_external_circuit_cell_covers_operating_quadrant", + "benchmark_reference_ids": [ + "benchmark-86e2e70943004434" + ] + }, + { + "capability_id": "test-0df678c273d21304", + "node_id": "perovskite-sim/tests/integration/test_foundation_mobile_refinement.py::test_space_refinement_preserves_each_ion_inventory_and_profiles", + "benchmark_reference_ids": [ + "benchmark-00cbe610b0bd55b6" + ] + }, + { + "capability_id": "test-13ea5bbdb630c806", + "node_id": "perovskite-sim/tests/integration/test_foundation_mobile_refinement.py::test_time_refinement_preserves_the_same_ramp_and_hold", + "benchmark_reference_ids": [ + "benchmark-00cbe610b0bd55b6" + ] + }, + { + "capability_id": "test-f7ce48a243699b53", + "node_id": "perovskite-sim/tests/integration/test_foundation_mobile_refinement.py::test_tolerance_refinement_preserves_mobile_and_electronic_states", + "benchmark_reference_ids": [ + "benchmark-00cbe610b0bd55b6" + ] + }, + { + "capability_id": "test-3fb40181fa7529da", + "node_id": "perovskite-sim/tests/integration/test_foundation_tpv_spatial_refinement.py::test_three_spatial_levels_resolve_the_same_physical_tpv", + "benchmark_reference_ids": [ + "benchmark-5223cbf1b1ff2fbd" + ] + }, + { + "capability_id": "test-05da3d62869dd717", + "node_id": "perovskite-sim/tests/integration/test_foundation_twod_axis_refinement.py::test_lateral_refinement_preserves_the_uniform_state_and_currents", + "benchmark_reference_ids": [ + "benchmark-d84b2405628c3df6" + ] + }, + { + "capability_id": "test-05ca1530e5b77103", + "node_id": "perovskite-sim/tests/integration/test_foundation_twod_axis_refinement.py::test_vertical_refinement_approaches_the_same_active_transport_limit", + "benchmark_reference_ids": [ + "benchmark-d84b2405628c3df6" + ] + }, + { + "capability_id": "test-86453863ed237b32", + "node_id": "perovskite-sim/tests/integration/test_interface_defect_ion_transient.py::test_deep_time_refinement_retains_charge_and_all_face_current_closure", + "benchmark_reference_ids": [ + "benchmark-cc91d2d42ff5757d" + ] + }, + { + "capability_id": "test-f697167932acd8d5", + "node_id": "perovskite-sim/tests/integration/test_multivalent_explicit_defects_qf.py::test_single_transition_v4_device_recovers_the_monovalent_qf_dc_route", + "benchmark_reference_ids": [ + "benchmark-f243dcb4f5a72c41" + ] + }, + { + "capability_id": "test-04994ff7ad70511e", + "node_id": "perovskite-sim/tests/integration/test_scaps_mirror_cbo_trend.py::test_cbo_voc_drops_at_cliff", + "benchmark_reference_ids": [ + "benchmark-beb35201a660895f" + ] + }, + { + "capability_id": "test-d2596d66add6ccfc", + "node_id": "perovskite-sim/tests/integration/test_scaps_mirror_cbo_trend.py::test_cbo_voc_holds_at_spike", + "benchmark_reference_ids": [ + "benchmark-beb35201a660895f" + ] + }, + { + "capability_id": "test-d40fbf340c5becaa", + "node_id": "perovskite-sim/tests/integration/test_scaps_mirror_cbo_trend.py::test_cbo_voc_range_at_least_200mV", + "benchmark_reference_ids": [ + "benchmark-beb35201a660895f" + ] + }, + { + "capability_id": "test-0e334a72823d9f7f", + "node_id": "perovskite-sim/tests/integration/test_spatially_graded_explicit_defects_qf.py::test_spatially_graded_dark_qf_state_and_small_jv_are_certified", + "benchmark_reference_ids": [ + "benchmark-4e5dfc48e60736d0" + ] + }, + { + "capability_id": "test-47b1d0b40ff926aa", + "node_id": "perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_absorber_thicknesses_follow_paper", + "benchmark_reference_ids": [ + "benchmark-ac54a8e323f74ee0" + ] + }, + { + "capability_id": "test-3ddfcf1614473314", + "node_id": "perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_cu_optics_cover_protocol_from_native_source", + "benchmark_reference_ids": [ + "benchmark-ac54a8e323f74ee0" + ] + }, + { + "capability_id": "test-cbbfe8d50275e2e0", + "node_id": "perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_jsc_within_tolerance", + "benchmark_reference_ids": [ + "benchmark-ac54a8e323f74ee0" + ] + }, + { + "capability_id": "test-882c522004448454", + "node_id": "perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_observations_match_reproducibility_registry", + "benchmark_reference_ids": [ + "benchmark-ac54a8e323f74ee0" + ] + }, + { + "capability_id": "test-8e551ed96134ab29", + "node_id": "perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_pce_within_tolerance", + "benchmark_reference_ids": [ + "benchmark-ac54a8e323f74ee0" + ] + }, + { + "capability_id": "test-764854a355426d9a", + "node_id": "perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_source_stack_and_reported_thicknesses", + "benchmark_reference_ids": [ + "benchmark-ac54a8e323f74ee0" + ] + }, + { + "capability_id": "test-bdf9b8f65e01b1eb", + "node_id": "perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_subcell_currents_match_within_two_percent", + "benchmark_reference_ids": [ + "benchmark-ac54a8e323f74ee0" + ] + }, + { + "capability_id": "test-877dbbff3291ea5c", + "node_id": "perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_subcells_respect_their_photon_budgets", + "benchmark_reference_ids": [ + "benchmark-ac54a8e323f74ee0" + ] + }, + { + "capability_id": "test-18140084831578e4", + "node_id": "perovskite-sim/tests/integration/test_tandem_lin2019.py::test_lin2019_voc_and_ff_within_tolerance", + "benchmark_reference_ids": [ + "benchmark-ac54a8e323f74ee0" + ] + }, + { + "capability_id": "test-d979d6733e0a52f4", + "node_id": "perovskite-sim/tests/integration/test_tpv_open_circuit_refinement.py::test_three_time_levels_preserve_the_same_pulse_and_preparation", + "benchmark_reference_ids": [ + "benchmark-5223cbf1b1ff2fbd" + ] + }, + { + "capability_id": "test-604ba80c70fb9dfa", + "node_id": "perovskite-sim/tests/integration/test_tpv_open_circuit_refinement.py::test_three_tolerance_levels_resolve_the_same_waveform", + "benchmark_reference_ids": [ + "benchmark-5223cbf1b1ff2fbd" + ] + }, + { + "capability_id": "test-1b5f7c8515814c35", + "node_id": "perovskite-sim/tests/integration/test_tpv_open_circuit_refinement.py::test_two_amplitude_halvings_recover_the_small_signal_limit", + "benchmark_reference_ids": [ + "benchmark-5223cbf1b1ff2fbd" + ] + }, + { + "capability_id": "test-f346fcabe697689f", + "node_id": "perovskite-sim/tests/integration/test_tunnelling_channels_device.py::test_equilibrium_device_current_is_bounded_without_saturated_occupations", + "benchmark_reference_ids": [ + "benchmark-5ac658e026793692" + ] + }, + { + "capability_id": "test-6bc4461cf644e882", + "node_id": "perovskite-sim/tests/integration/test_tunnelling_channels_device.py::test_retracted_fixture_does_not_retain_the_old_large_flux_claim", + "benchmark_reference_ids": [ + "benchmark-5ac658e026793692" + ] + }, + { + "capability_id": "test-f24da9bccf254e3e", + "node_id": "perovskite-sim/tests/integration/test_tunnelling_channels_device.py::test_the_channel_is_driven_by_the_local_drop_not_the_contact_split", + "benchmark_reference_ids": [ + "benchmark-5ac658e026793692" + ] + }, + { + "capability_id": "test-54bfba2285db2397", + "node_id": "perovskite-sim/tests/integration/test_twod_combined_refinement.py::test_real_registered_combined_twod_cell_returns_all_certificate_axes", + "benchmark_reference_ids": [ + "benchmark-63f25334baabb168" + ] + }, + { + "capability_id": "test-40d459ace312e426", + "node_id": "perovskite-sim/tests/integration/test_twod_combined_refinement.py::test_registered_twod_matrix_keeps_every_accepted_state_physical", + "benchmark_reference_ids": [ + "benchmark-d84b2405628c3df6" + ] + }, + { + "capability_id": "test-12ae29e0d4e4199a", + "node_id": "perovskite-sim/tests/integration/twod/test_jv_sweep_2d_microstructure.py::test_jv_sweep_2d_singleGB_runs_to_completion", + "benchmark_reference_ids": [ + "benchmark-d84b2405628c3df6" + ] + }, + { + "capability_id": "test-99f8f205f9fdde54", + "node_id": "perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py::test_csi_apparent_intercept_shift_matches_published_pn_range", + "benchmark_reference_ids": [ + "benchmark-3ece4d3a78f8823e" + ] + }, + { + "capability_id": "test-09ceca74aa5fa208", + "node_id": "perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py::test_csi_depletion_cv_curve_converges_on_registered_grid_ladder", + "benchmark_reference_ids": [ + "benchmark-3ece4d3a78f8823e" + ] + }, + { + "capability_id": "test-d85fbeff2dca4ed7", + "node_id": "perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py::test_csi_depletion_cv_has_frequency_and_all_face_plateaus", + "benchmark_reference_ids": [ + "benchmark-3ece4d3a78f8823e" + ] + }, + { + "capability_id": "test-2c199db715c37e77", + "node_id": "perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py::test_csi_frequency_domain_has_capacitance_plateau_and_current_certificate", + "benchmark_reference_ids": [ + "benchmark-3ece4d3a78f8823e" + ] + }, + { + "capability_id": "test-5ace3e207fb6ebf1", + "node_id": "perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py::test_csi_frequency_domain_is_stable_to_steps_and_nominal_amplitude", + "benchmark_reference_ids": [ + "benchmark-3ece4d3a78f8823e" + ] + }, + { + "capability_id": "test-3d2dac257c36a80a", + "node_id": "perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py::test_csi_frequency_domain_matches_independent_dc_carrier_inventory", + "benchmark_reference_ids": [ + "benchmark-3ece4d3a78f8823e" + ] + }, + { + "capability_id": "test-bd55b3e8663216be", + "node_id": "perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py::test_csi_frequency_domain_observations_match_registry", + "benchmark_reference_ids": [ + "benchmark-3ece4d3a78f8823e" + ] + }, + { + "capability_id": "test-3e7ac696b5fb9cee", + "node_id": "perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py::test_csi_frequency_domain_recovers_depletion_not_geometric_capacitance", + "benchmark_reference_ids": [ + "benchmark-3ece4d3a78f8823e" + ] + }, + { + "capability_id": "test-34ca08eb4c0b986e", + "node_id": "perovskite-sim/tests/regression/test_csi_generic_state_cancellation.py::test_certified_qf_state_exposes_density_sg_cancellation_boundary", + "benchmark_reference_ids": [ + "benchmark-2944ea519ddd6969" + ] + }, + { + "capability_id": "test-3599c21ddb9b8f57", + "node_id": "perovskite-sim/tests/regression/test_csi_grid_envelope.py::test_declared_csi_minimum_meets_debye_guard_and_has_finite_seed", + "benchmark_reference_ids": [ + "benchmark-f050f4122cc07b66" + ] + }, + { + "capability_id": "test-6e6e9535fde4336f", + "node_id": "perovskite-sim/tests/regression/test_csi_grid_envelope.py::test_default_jv_grid_is_outside_csi_declared_envelope", + "benchmark_reference_ids": [ + "benchmark-f050f4122cc07b66" + ] + }, + { + "capability_id": "test-f2b3dfc77ecf7fb8", + "node_id": "perovskite-sim/tests/regression/test_csi_grid_envelope.py::test_thin_film_smoke_mesh_is_not_misrepresented_as_globally_certified", + "benchmark_reference_ids": [ + "benchmark-f050f4122cc07b66" + ] + }, + { + "capability_id": "test-ac70cea85fdf3449", + "node_id": "perovskite-sim/tests/regression/test_csi_grid_envelope.py::test_underresolved_overrides_are_explicit_and_reach_both_drivers", + "benchmark_reference_ids": [ + "benchmark-f050f4122cc07b66" + ] + }, + { + "capability_id": "test-1ab9f4e2a80da7de", + "node_id": "perovskite-sim/tests/regression/test_csi_grid_envelope.py::test_underresolved_transient_and_ss_jv_fail_before_integration", + "benchmark_reference_ids": [ + "benchmark-f050f4122cc07b66" + ] + }, + { + "capability_id": "test-70f44f0fda90c98e", + "node_id": "perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py::test_csi_config_and_registered_voltage_protocol", + "benchmark_reference_ids": [ + "benchmark-3ca07445f8402d7d" + ] + }, + { + "capability_id": "test-f12f9c2eadf1762d", + "node_id": "perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py::test_csi_full_jv_curve_and_metrics_converge", + "benchmark_reference_ids": [ + "benchmark-3ca07445f8402d7d" + ] + }, + { + "capability_id": "test-91198eb2b6fc5a37", + "node_id": "perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py::test_csi_jv_curves_are_physical_and_bracket_open_circuit", + "benchmark_reference_ids": [ + "benchmark-3ca07445f8402d7d" + ] + }, + { + "capability_id": "test-fffd4f0eeba151b8", + "node_id": "perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py::test_csi_jv_observations_match_reproducibility_registry", + "benchmark_reference_ids": [ + "benchmark-3ca07445f8402d7d" + ] + }, + { + "capability_id": "test-ae61cabf4328c95f", + "node_id": "perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py::test_csi_voltage_sampling_resolves_maximum_power", + "benchmark_reference_ids": [ + "benchmark-3ca07445f8402d7d" + ] + }, + { + "capability_id": "test-9d6c9dec9c5d82d4", + "node_id": "perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py::test_every_csi_jv_point_has_independent_physics_certificate", + "benchmark_reference_ids": [ + "benchmark-3ca07445f8402d7d" + ] + }, + { + "capability_id": "test-6a9ce24f4979c14f", + "node_id": "perovskite-sim/tests/regression/test_grading_cigs_notch.py::test_cigs_back_grading_certifies_at_production_grid", + "benchmark_reference_ids": [ + "benchmark-ffe6aa8aa40ed1bc" + ] + }, + { + "capability_id": "test-e16a2dc6810328e6", + "node_id": "perovskite-sim/tests/regression/test_grading_cigs_notch.py::test_cigs_back_grading_raises_voc_without_jsc_collapse", + "benchmark_reference_ids": [ + "benchmark-ffe6aa8aa40ed1bc" + ] + }, + { + "capability_id": "test-c9c63663fcd6120d", + "node_id": "perovskite-sim/tests/regression/test_grading_cigs_notch.py::test_cigs_n_left_voltage_conventions_are_explicit", + "benchmark_reference_ids": [ + "benchmark-ffe6aa8aa40ed1bc" + ] + }, + { + "capability_id": "test-f6edf5c78619bdbf", + "node_id": "perovskite-sim/tests/regression/test_grading_cigs_notch.py::test_cigs_observations_match_reproducibility_registry", + "benchmark_reference_ids": [ + "benchmark-ffe6aa8aa40ed1bc" + ] + }, + { + "capability_id": "test-1dcb441559410f3c", + "node_id": "perovskite-sim/tests/regression/test_grading_cigs_notch.py::test_cigs_ungraded_production_grid_ladder_is_physical", + "benchmark_reference_ids": [ + "benchmark-ffe6aa8aa40ed1bc" + ] + }, + { + "capability_id": "test-b4f2e2bf2b4a4665", + "node_id": "perovskite-sim/tests/regression/test_grading_cigs_notch.py::test_cigs_ungraded_production_grid_metrics_converge", + "benchmark_reference_ids": [ + "benchmark-ffe6aa8aa40ed1bc" + ] + }, + { + "capability_id": "test-241665d222e61d06", + "node_id": "perovskite-sim/tests/regression/test_grading_cigs_notch.py::test_cigs_ungraded_thickness_continuation_certifies", + "benchmark_reference_ids": [ + "benchmark-ffe6aa8aa40ed1bc" + ] + }, + { + "capability_id": "test-1a104400cc5e0284", + "node_id": "perovskite-sim/tests/regression/test_grading_cigs_notch.py::test_dynamic_cigs_grading_matches_the_shipped_config", + "benchmark_reference_ids": [ + "benchmark-ffe6aa8aa40ed1bc" + ] + }, + { + "capability_id": "test-19f78ec23fa3a2cb", + "node_id": "perovskite-sim/tests/regression/test_mesh_convergence.py::test_ff_converges", + "benchmark_reference_ids": [ + "benchmark-ccce54aef1456ee8" + ] + }, + { + "capability_id": "test-7a04d8b14d20a025", + "node_id": "perovskite-sim/tests/regression/test_mesh_convergence.py::test_generation_integral_converges", + "benchmark_reference_ids": [ + "benchmark-ccce54aef1456ee8" + ] + }, + { + "capability_id": "test-0e9226a2e11b054b", + "node_id": "perovskite-sim/tests/regression/test_mesh_convergence.py::test_generation_integral_respects_photon_flux_ceiling", + "benchmark_reference_ids": [ + "benchmark-ccce54aef1456ee8" + ] + }, + { + "capability_id": "test-25756f05d1d78ca8", + "node_id": "perovskite-sim/tests/regression/test_mesh_convergence.py::test_guard_interface_cells_actually_refine", + "benchmark_reference_ids": [ + "benchmark-ccce54aef1456ee8" + ] + }, + { + "capability_id": "test-c9bb60730ec34a60", + "node_id": "perovskite-sim/tests/regression/test_mesh_convergence.py::test_guard_interface_formulation_is_pinned", + "benchmark_reference_ids": [ + "benchmark-ccce54aef1456ee8" + ] + }, + { + "capability_id": "test-416c24227fdcf67f", + "node_id": "perovskite-sim/tests/regression/test_mesh_convergence.py::test_guard_no_flat_band_spike_at_any_mesh_level", + "benchmark_reference_ids": [ + "benchmark-ccce54aef1456ee8" + ] + }, + { + "capability_id": "test-a52c0049825d29c5", + "node_id": "perovskite-sim/tests/regression/test_mesh_convergence.py::test_guard_no_silent_dark_fallback", + "benchmark_reference_ids": [ + "benchmark-ccce54aef1456ee8" + ] + }, + { + "capability_id": "test-57dec28a7bb95fad", + "node_id": "perovskite-sim/tests/regression/test_mesh_convergence.py::test_guard_voc_is_bracketed", + "benchmark_reference_ids": [ + "benchmark-ccce54aef1456ee8" + ] + }, + { + "capability_id": "test-2b404245ec1d7374", + "node_id": "perovskite-sim/tests/regression/test_mesh_convergence.py::test_interface_recombination_current_converges", + "benchmark_reference_ids": [ + "benchmark-ccce54aef1456ee8" + ] + }, + { + "capability_id": "test-cd6f5a9ef3ae4325", + "node_id": "perovskite-sim/tests/regression/test_mesh_convergence.py::test_jsc_converges", + "benchmark_reference_ids": [ + "benchmark-ccce54aef1456ee8" + ] + }, + { + "capability_id": "test-641484e062ebff1a", + "node_id": "perovskite-sim/tests/regression/test_mesh_convergence.py::test_power_quadrant_current_converges", + "benchmark_reference_ids": [ + "benchmark-ccce54aef1456ee8" + ] + }, + { + "capability_id": "test-5c21bc07beff21f5", + "node_id": "perovskite-sim/tests/regression/test_mesh_convergence.py::test_short_circuit_current_converges", + "benchmark_reference_ids": [ + "benchmark-ccce54aef1456ee8" + ] + }, + { + "capability_id": "test-34a0c94200709776", + "node_id": "perovskite-sim/tests/regression/test_mesh_convergence.py::test_voc_converges", + "benchmark_reference_ids": [ + "benchmark-ccce54aef1456ee8" + ] + }, + { + "capability_id": "test-a21b25e26ce8aca9", + "node_id": "perovskite-sim/tests/regression/test_p1_steady_state_mesh_convergence.py::test_actual_interval_ladder_and_residual_certificates", + "benchmark_reference_ids": [ + "benchmark-a9fb1ab48c74827c" + ] + }, + { + "capability_id": "test-6b0be3873366e933", + "node_id": "perovskite-sim/tests/regression/test_p1_steady_state_mesh_convergence.py::test_certified_short_circuit_current_contracts", + "benchmark_reference_ids": [ + "benchmark-a9fb1ab48c74827c" + ] + }, + { + "capability_id": "test-2d179f10d80fbe84", + "node_id": "perovskite-sim/tests/regression/test_p1_steady_state_mesh_convergence.py::test_observations_match_reproducibility_registry", + "benchmark_reference_ids": [ + "benchmark-a9fb1ab48c74827c" + ] + }, + { + "capability_id": "test-580b89cac50abc81", + "node_id": "perovskite-sim/tests/regression/test_p1_steady_state_mesh_convergence.py::test_prolonged_fine_grid_current_changes_contract", + "benchmark_reference_ids": [ + "benchmark-a9fb1ab48c74827c" + ] + }, + { + "capability_id": "test-4227aee7634adb01", + "node_id": "perovskite-sim/tests/regression/test_tmm_baseline.py::test_nip_tmm_baseline_jsc", + "benchmark_reference_ids": [ + "benchmark-a8032d8160a5c7e3" + ] + }, + { + "capability_id": "test-dd3faa491f91527b", + "node_id": "perovskite-sim/tests/regression/test_tmm_baseline.py::test_pin_tmm_baseline_jsc", + "benchmark_reference_ids": [ + "benchmark-a8032d8160a5c7e3" + ] + }, + { + "capability_id": "test-101a3119fa8ae8cf", + "node_id": "perovskite-sim/tests/regression/test_tolerance_grid_refinement.py::test_certificate_distinguishes_certified_partial_and_failed", + "benchmark_reference_ids": [ + "benchmark-ac91c699b18d14f4" + ] + }, + { + "capability_id": "test-3801c23e9f68f657", + "node_id": "perovskite-sim/tests/regression/test_tolerance_grid_refinement.py::test_failed_cell_can_be_retried_without_deleting_prior_artifact", + "benchmark_reference_ids": [ + "benchmark-ac91c699b18d14f4" + ] + }, + { + "capability_id": "test-4ec9637341e22aeb", + "node_id": "perovskite-sim/tests/regression/test_tolerance_grid_refinement.py::test_plan_refinement_is_read_only", + "benchmark_reference_ids": [ + "benchmark-ac91c699b18d14f4" + ] + }, + { + "capability_id": "test-7abd2273c4a7c2e5", + "node_id": "perovskite-sim/tests/regression/test_tolerance_grid_refinement.py::test_preregistered_numerical_lanes_and_thresholds_are_immutable", + "benchmark_reference_ids": [ + "benchmark-ac91c699b18d14f4" + ] + }, + { + "capability_id": "test-90b969ea51243a64", + "node_id": "perovskite-sim/tests/regression/test_tolerance_grid_refinement.py::test_protocol_hash_is_manifested_and_inconsistency_fails_closed", + "benchmark_reference_ids": [ + "benchmark-ac91c699b18d14f4" + ] + }, + { + "capability_id": "test-27268d6eb219f174", + "node_id": "perovskite-sim/tests/regression/test_tolerance_grid_refinement.py::test_refinement_runner_rejects_historical_reference_output_root", + "benchmark_reference_ids": [ + "benchmark-ac91c699b18d14f4" + ] + }, + { + "capability_id": "test-18c933b9c116fd90", + "node_id": "perovskite-sim/tests/regression/test_tolerance_grid_refinement.py::test_refinement_runner_resumes_content_addressed_cells_without_overwrite", + "benchmark_reference_ids": [ + "benchmark-ac91c699b18d14f4" + ] + }, + { + "capability_id": "test-fa3de159acdbcfa3", + "node_id": "perovskite-sim/tests/regression/test_twod_validation.py::test_twod_radiative_reabsorption_voc_boost_in_literature_window", + "benchmark_reference_ids": [ + "benchmark-979ee3060444ba30" + ] + }, + { + "capability_id": "test-700d0989e03ec470", + "node_id": "perovskite-sim/tests/regression/test_twod_validation.py::test_twod_uniform_matches_1d_within_tolerance", + "benchmark_reference_ids": [ + "benchmark-7e320e9d039d49bd" + ] + }, + { + "capability_id": "test-afa5dd66798c55a0", + "node_id": "perovskite-sim/tests/reproducibility/test_matrix.py::test_matrix_covers_and_loads_every_shipped_config", + "benchmark_reference_ids": [ + "benchmark-5ddcacfc324796c7" + ] + }, + { + "capability_id": "test-0096022cc5e5dfaf", + "node_id": "perovskite-sim/tests/unit/backend/test_dynamic_defect_transient_api.py::test_job_rejects_invalid_contract_before_submit", + "benchmark_reference_ids": [ + "benchmark-4322a9e3b442d931" + ] + }, + { + "capability_id": "test-997c80005794fc4d", + "node_id": "perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py::test_charged_protocol_resolver_builds_the_canonical_zero_scan_contract", + "benchmark_reference_ids": [ + "benchmark-66079d06baa87db2" + ] + }, + { + "capability_id": "test-ab105fd5266255e1", + "node_id": "perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py::test_real_async_charged_jv_worker_preserves_protocol_and_evidence", + "benchmark_reference_ids": [ + "benchmark-66079d06baa87db2" + ] + }, + { + "capability_id": "test-125e67ace1168a75", + "node_id": "perovskite-sim/tests/unit/backend/test_interface_charge_jv_api.py::test_real_sync_charged_jv_api_returns_certified_point_evidence", + "benchmark_reference_ids": [ + "benchmark-66079d06baa87db2" + ] + }, + { + "capability_id": "test-b232797bd57e412f", + "node_id": "perovskite-sim/tests/unit/backend/test_solver_dispatch.py::test_dispatch_quasi_fermi_rejects_dark_jv", + "benchmark_reference_ids": [ + "benchmark-2944ea519ddd6969" + ] + }, + { + "capability_id": "test-6ba18e56866bf745", + "node_id": "perovskite-sim/tests/unit/backend/test_solver_dispatch.py::test_dispatch_quasi_fermi_returns_certificate_bearing_jvresult", + "benchmark_reference_ids": [ + "benchmark-2944ea519ddd6969" + ] + }, + { + "capability_id": "test-af4ae210d4d5e9fa", + "node_id": "perovskite-sim/tests/unit/backend/test_solver_dispatch.py::test_jv_api_returns_422_for_policy_rejected_driver", + "benchmark_reference_ids": [ + "benchmark-2944ea519ddd6969" + ] + }, + { + "capability_id": "test-2da1175ed0af190e", + "node_id": "perovskite-sim/tests/unit/backend/test_solver_dispatch.py::test_stack_from_dict_plumbs_jv_solver_policy", + "benchmark_reference_ids": [ + "benchmark-2944ea519ddd6969" + ] + }, + { + "capability_id": "test-62caf3ff0c34f5cd", + "node_id": "perovskite-sim/tests/unit/experiments/test_degradation_frozen_ions.py::test_nonuniform_ions_have_zero_frozen_flux_and_never_move", + "benchmark_reference_ids": [ + "benchmark-5223cbf1b1ff2fbd" + ] + }, + { + "capability_id": "test-99eccb58b23031e9", + "node_id": "perovskite-sim/tests/unit/experiments/test_dynamic_defect_impedance.py::test_capability_classifier_routes_every_certified_combination", + "benchmark_reference_ids": [ + "benchmark-f2259e41f3b75254" + ] + }, + { + "capability_id": "test-94c4b5bc91e669ec", + "node_id": "perovskite-sim/tests/unit/experiments/test_dynamic_defect_impedance.py::test_effective_lifetime_only_stack_has_no_dynamic_defect_capability", + "benchmark_reference_ids": [ + "benchmark-f2259e41f3b75254" + ] + }, + { + "capability_id": "test-f889af2a2265063a", + "node_id": "perovskite-sim/tests/unit/experiments/test_dynamic_defect_transient.py::test_protocol_round_trip_is_strict_canonical_and_content_addressed", + "benchmark_reference_ids": [ + "benchmark-4322a9e3b442d931" + ] + }, + { + "capability_id": "test-01d38566fcea91d0", + "node_id": "perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_protocol_round_trip_and_hash_bind_every_field", + "benchmark_reference_ids": [ + "benchmark-66079d06baa87db2" + ] + }, + { + "capability_id": "test-2753c891a0cf1e03", + "node_id": "perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py::test_real_small_grid_charged_jv_has_pointwise_evidence", + "benchmark_reference_ids": [ + "benchmark-66079d06baa87db2" + ] + }, + { + "capability_id": "test-e5df28d00bd12f63", + "node_id": "perovskite-sim/tests/unit/experiments/test_jv_driver_capability.py::test_qf_required_policy_rejects_general_drivers_before_solve", + "benchmark_reference_ids": [ + "benchmark-2944ea519ddd6969" + ] + }, + { + "capability_id": "test-83ae51f2f0ea3a2d", + "node_id": "perovskite-sim/tests/unit/experiments/test_jv_driver_capability.py::test_shipped_csi_config_enforces_grid_then_qf_driver_capability", + "benchmark_reference_ids": [ + "benchmark-2944ea519ddd6969" + ] + }, + { + "capability_id": "test-321eb1726e5e6672", + "node_id": "perovskite-sim/tests/unit/experiments/test_jv_driver_capability.py::test_unvalidated_driver_override_is_explicit_and_diagnostic_only", + "benchmark_reference_ids": [ + "benchmark-2944ea519ddd6969" + ] + }, + { + "capability_id": "test-e09f27e839246b3c", + "node_id": "perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py::test_charged_outer_poisson_closes_and_reference_state_has_zero_charge", + "benchmark_reference_ids": [ + "benchmark-1006540a4310894f" + ] + }, + { + "capability_id": "test-c909ed06e0a53ec3", + "node_id": "perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py::test_research_api_binds_dark_reference_and_keeps_production_gate_parked", + "benchmark_reference_ids": [ + "benchmark-1006540a4310894f" + ] + }, + { + "capability_id": "test-c9dfe6dac85324d6", + "node_id": "perovskite-sim/tests/unit/experiments/test_steady_state.py::test_low_doping_etl_metal_reservoir_brackets_physical_voc", + "benchmark_reference_ids": [ + "benchmark-64d717e2afaf62b7" + ] + }, + { + "capability_id": "test-dd647da643bee392", + "node_id": "perovskite-sim/tests/unit/experiments/test_steady_state.py::test_low_doping_etl_without_metal_reservoir_is_explicit_no_crossing", + "benchmark_reference_ids": [ + "benchmark-64d717e2afaf62b7" + ] + }, + { + "capability_id": "test-2ecff5da6dc212a0", + "node_id": "perovskite-sim/tests/unit/models/test_bulk_trap_schema.py::test_default_material_and_mol_paths_fail_closed", + "benchmark_reference_ids": [ + "benchmark-4105876c56341ee0" + ] + }, + { + "capability_id": "test-c451a4d9535617b3", + "node_id": "perovskite-sim/tests/unit/models/test_explicit_defect_schema.py::test_canonical_document_roundtrip_and_hash_are_stable", + "benchmark_reference_ids": [ + "benchmark-83c17bf82672772f" + ] + }, + { + "capability_id": "test-2498209dd01fa0e5", + "node_id": "perovskite-sim/tests/unit/models/test_multivalent_defect_loader.py::test_layer_parser_builds_the_canonical_v4_document", + "benchmark_reference_ids": [ + "benchmark-f243dcb4f5a72c41" + ] + }, + { + "capability_id": "test-3896c0e046725431", + "node_id": "perovskite-sim/tests/unit/models/test_multivalent_defect_schema.py::test_v4_document_roundtrip_hash_and_shared_density_are_stable", + "benchmark_reference_ids": [ + "benchmark-f243dcb4f5a72c41" + ] + }, + { + "capability_id": "test-bd5675ca85376b09", + "node_id": "perovskite-sim/tests/unit/physics/test_band_gap_narrowing.py::test_slotboom_is_monotone_and_stable_below_ratio_underflow", + "benchmark_reference_ids": [ + "benchmark-ae94b012055aa10b" + ] + }, + { + "capability_id": "test-509fd38f00ff5582", + "node_id": "perovskite-sim/tests/unit/physics/test_bulk_traps.py::test_gaussian_delta_limit_recovers_the_single_level_model", + "benchmark_reference_ids": [ + "benchmark-4105876c56341ee0" + ] + }, + { + "capability_id": "test-9b55cec4d24a1ce9", + "node_id": "perovskite-sim/tests/unit/physics/test_bulk_traps.py::test_recombination_and_charge_tangents_match_centered_differences", + "benchmark_reference_ids": [ + "benchmark-4105876c56341ee0" + ] + }, + { + "capability_id": "test-1f64cf6e4a4764e3", + "node_id": "perovskite-sim/tests/unit/physics/test_contact_statistics.py::test_discrete_donor_contact_state_resolves_temperature_freeze_out", + "benchmark_reference_ids": [ + "benchmark-afaed356d2fa81de" + ] + }, + { + "capability_id": "test-ee15076452680647", + "node_id": "perovskite-sim/tests/unit/physics/test_contact_statistics.py::test_slotboom_contact_state_uses_narrowed_band_edges", + "benchmark_reference_ids": [ + "benchmark-ae94b012055aa10b" + ] + }, + { + "capability_id": "test-d8903cb8e3fb1bfc", + "node_id": "perovskite-sim/tests/unit/physics/test_defect_distributions.py::test_distributed_species_expansion_is_auditable_and_conservative", + "benchmark_reference_ids": [ + "benchmark-f55a467e6d6c9e27" + ] + }, + { + "capability_id": "test-5dac0f92416fc11b", + "node_id": "perovskite-sim/tests/unit/physics/test_degenerate_transport.py::test_fd_flux_vanishes_for_constant_quasi_fermi_potentials", + "benchmark_reference_ids": [ + "benchmark-9ffebfadd845315b" + ] + }, + { + "capability_id": "test-251960f41591839e", + "node_id": "perovskite-sim/tests/unit/physics/test_distributed_defect_closure.py::test_nearly_saturated_tail_mean_stays_bounded_without_clipping", + "benchmark_reference_ids": [ + "benchmark-4e5dfc48e60736d0" + ] + }, + { + "capability_id": "test-28ee723a96a5283e", + "node_id": "perovskite-sim/tests/unit/physics/test_distributed_defect_closure.py::test_source_aggregation_is_the_exact_sum_of_d2_energy_nodes", + "benchmark_reference_ids": [ + "benchmark-f55a467e6d6c9e27" + ] + }, + { + "capability_id": "test-94568656628db5aa", + "node_id": "perovskite-sim/tests/unit/physics/test_distributed_defect_device.py::test_compiled_device_and_contact_neutrality_reuse_energy_expansions", + "benchmark_reference_ids": [ + "benchmark-f55a467e6d6c9e27" + ] + }, + { + "capability_id": "test-f48111c63c540291", + "node_id": "perovskite-sim/tests/unit/physics/test_dynamic_storage.py::test_log_density_increment_resolves_sub_ulp_relative_motion", + "benchmark_reference_ids": [ + "benchmark-cc91d2d42ff5757d" + ] + }, + { + "capability_id": "test-8a140de5f686130c", + "node_id": "perovskite-sim/tests/unit/physics/test_intraband_nonlocal_transfer.py::test_equal_nonsaturated_occupations_give_exactly_zero_transfer", + "benchmark_reference_ids": [ + "benchmark-e049e24da73bc454" + ] + }, + { + "capability_id": "test-cac5e095f697ae2e", + "node_id": "perovskite-sim/tests/unit/physics/test_intraband_nonlocal_transfer.py::test_transfer_conserves_particles_and_dissipates_the_chemical_drive", + "benchmark_reference_ids": [ + "benchmark-e049e24da73bc454" + ] + }, + { + "capability_id": "test-f5841910848da259", + "node_id": "perovskite-sim/tests/unit/physics/test_monovalent_defect_closure.py::test_donor_and_acceptor_share_occupancy_but_use_distinct_charge_reference", + "benchmark_reference_ids": [ + "benchmark-83c17bf82672772f" + ] + }, + { + "capability_id": "test-03c7f68122391a1f", + "node_id": "perovskite-sim/tests/unit/physics/test_multivalent_defect_closure.py::test_single_transition_unity_limit_recovers_d2_exact_local_closure", + "benchmark_reference_ids": [ + "benchmark-f243dcb4f5a72c41" + ] + }, + { + "capability_id": "test-a2263556cc482513", + "node_id": "perovskite-sim/tests/unit/physics/test_multivalent_defect_device.py::test_full_grid_evaluation_matches_the_region_source_closure", + "benchmark_reference_ids": [ + "benchmark-f243dcb4f5a72c41" + ] + }, + { + "capability_id": "test-e04687ed076e43f8", + "node_id": "perovskite-sim/tests/unit/physics/test_statistics.py::test_discrete_donor_neutrality_closes_and_resolves_freeze_out", + "benchmark_reference_ids": [ + "benchmark-afaed356d2fa81de" + ] + }, + { + "capability_id": "test-2dc34d63483b5839", + "node_id": "perovskite-sim/tests/unit/physics/test_tunneling_channels.py::test_a_disabled_channel_refuses_rather_than_returning_zero", + "benchmark_reference_ids": [ + "benchmark-5ac658e026793692" + ] + }, + { + "capability_id": "test-d744ff5f768c6f14", + "node_id": "perovskite-sim/tests/unit/physics/test_tunnelling_physical_levels.py::test_device_supplies_physical_levels_with_dos_contrast", + "benchmark_reference_ids": [ + "benchmark-e049e24da73bc454" + ] + }, + { + "capability_id": "test-c15bb839196212cd", + "node_id": "perovskite-sim/tests/unit/physics/test_wkb_local_windows.py::test_forbidden_run_isolates_the_barrier_containing_the_face", + "benchmark_reference_ids": [ + "benchmark-5ac658e026793692" + ] + }, + { + "capability_id": "test-191fb19892ce9a5b", + "node_id": "perovskite-sim/tests/unit/physics/test_wkb_local_windows.py::test_two_band_action_matches_the_closed_form_zener_exponent", + "benchmark_reference_ids": [ + "benchmark-5ac658e026793692" + ] + }, + { + "capability_id": "test-7e222f6602ca6f76", + "node_id": "perovskite-sim/tests/unit/physics/test_wkb_tunneling.py::test_equal_occupations_give_an_exactly_zero_net_flux", + "benchmark_reference_ids": [ + "benchmark-5ac658e026793692" + ] + }, + { + "capability_id": "test-c2e0a6d9ae79f33d", + "node_id": "perovskite-sim/tests/unit/physics/test_wkb_turning_point_action.py::test_single_forbidden_node_is_a_finite_triangle_not_a_transparent_path", + "benchmark_reference_ids": [ + "benchmark-e049e24da73bc454" + ] + }, + { + "capability_id": "test-e311ebc9e3b21d0a", + "node_id": "perovskite-sim/tests/unit/solver/test_bulk_trap_equilibrium.py::test_real_equilibrium_closes_poisson_transport_traps_and_gauss_law", + "benchmark_reference_ids": [ + "benchmark-4105876c56341ee0" + ] + }, + { + "capability_id": "test-2e3cb8f383715552", + "node_id": "perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py::test_high_doping_fd_pn_equilibrium_closes_across_grid_and_tolerance", + "benchmark_reference_ids": [ + "benchmark-9ffebfadd845315b" + ] + }, + { + "capability_id": "test-ae1c2c77a5fccb17", + "node_id": "perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py::test_incomplete_ionization_and_bgn_equilibrium_close_together", + "benchmark_reference_ids": [ + "benchmark-ae94b012055aa10b" + ] + }, + { + "capability_id": "test-f1a88da895bca499", + "node_id": "perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py::test_incomplete_ionization_equilibrium_closes_across_temperature", + "benchmark_reference_ids": [ + "benchmark-afaed356d2fa81de" + ] + }, + { + "capability_id": "test-d34199abd275c40a", + "node_id": "perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py::test_incomplete_ionization_poisson_derivative_matches_finite_difference", + "benchmark_reference_ids": [ + "benchmark-afaed356d2fa81de" + ] + }, + { + "capability_id": "test-b98594b5738e2c7b", + "node_id": "perovskite-sim/tests/unit/solver/test_degenerate_equilibrium.py::test_research_material_composes_bgn_with_incomplete_ionization", + "benchmark_reference_ids": [ + "benchmark-ae94b012055aa10b" + ] + }, + { + "capability_id": "test-bd7607f3f0c6203f", + "node_id": "perovskite-sim/tests/unit/sweeps/test_interface_defect_sweep.py::test_interface_defect_N_t_cm2_updates_charge_capacity_and_preserves_srv_ratio", + "benchmark_reference_ids": [ + "benchmark-8d1003366b1bcb44" + ] + }, + { + "capability_id": "test-b376e13d9be4964a", + "node_id": "perovskite-sim/tests/unit/validation/test_accepted_trajectory.py::test_capacity_excursion_is_detected_between_admissible_output_samples", + "benchmark_reference_ids": [ + "benchmark-00cbe610b0bd55b6" + ] + }, + { + "capability_id": "test-5eedbe4d911ee074", + "node_id": "perovskite-sim/tests/unit/validation/test_accepted_trajectory.py::test_negative_accepted_density_is_detected_between_positive_output_samples", + "benchmark_reference_ids": [ + "benchmark-00cbe610b0bd55b6" + ] + }, + { + "capability_id": "test-38c2402525df7cd8", + "node_id": "perovskite-sim/tests/unit/validation/test_accepted_trajectory.py::test_observing_accepted_states_preserves_samples_steps_and_rhs_counts", + "benchmark_reference_ids": [ + "benchmark-00cbe610b0bd55b6", + "benchmark-d84b2405628c3df6" + ] + }, + { + "capability_id": "test-3b1d4ca1d50d64cf", + "node_id": "perovskite-sim/tests/unit/validation/test_bgn_refinement.py::test_registered_executor_real_temperature_cell_matches_contract", + "benchmark_reference_ids": [ + "benchmark-ae94b012055aa10b" + ] + }, + { + "capability_id": "test-59d0bc76c13aee96", + "node_id": "perovskite-sim/tests/unit/validation/test_bulk_trap_refinement.py::test_registered_executor_real_cell_matches_exact_contract", + "benchmark_reference_ids": [ + "benchmark-4105876c56341ee0" + ] + }, + { + "capability_id": "test-0703e3fd8ebec9ae", + "node_id": "perovskite-sim/tests/unit/validation/test_charged_defect_refinement.py::test_registered_executor_real_cell_matches_exact_contract", + "benchmark_reference_ids": [ + "benchmark-83c17bf82672772f" + ] + }, + { + "capability_id": "test-b5ec18719455aef3", + "node_id": "perovskite-sim/tests/unit/validation/test_cigs_optics_refinement.py::test_registered_executor_real_cell_matches_exact_contract", + "benchmark_reference_ids": [ + "benchmark-ee312eb2fea8c21f" + ] + }, + { + "capability_id": "test-2b0ba646aeba8c85", + "node_id": "perovskite-sim/tests/unit/validation/test_degenerate_refinement.py::test_registered_executor_real_cell_matches_exact_contract", + "benchmark_reference_ids": [ + "benchmark-9ffebfadd845315b" + ] + }, + { + "capability_id": "test-281ed1035a42c6a4", + "node_id": "perovskite-sim/tests/unit/validation/test_distributed_defect_refinement.py::test_registered_executor_real_cell_matches_exact_contract", + "benchmark_reference_ids": [ + "benchmark-f55a467e6d6c9e27" + ] + }, + { + "capability_id": "test-e18b2e6356dd93d4", + "node_id": "perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py::test_production_executor_cell_runs_public_protocol_and_projection", + "benchmark_reference_ids": [ + "benchmark-4322a9e3b442d931" + ] + }, + { + "capability_id": "test-19f117b7f3c7e466", + "node_id": "perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py::test_production_v1_adds_only_public_wrapper_identity_gates", + "benchmark_reference_ids": [ + "benchmark-4322a9e3b442d931" + ] + }, + { + "capability_id": "test-b668e476a2d68221", + "node_id": "perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py::test_reference_resolved_v5_changes_only_reference_and_stiffness_contract", + "benchmark_reference_ids": [ + "benchmark-cc91d2d42ff5757d" + ] + }, + { + "capability_id": "test-b0d18f9eb71fb934", + "node_id": "perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py::test_registered_lane_freezes_three_by_three_timescale_contract", + "benchmark_reference_ids": [ + "benchmark-cc91d2d42ff5757d" + ] + }, + { + "capability_id": "test-5c5e3af97f6172a1", + "node_id": "perovskite-sim/tests/unit/validation/test_external_circuit_refinement.py::test_executor_fails_closed_on_source_protocol_mismatch", + "benchmark_reference_ids": [ + "benchmark-86e2e70943004434" + ] + }, + { + "capability_id": "test-306302da8a54b3a1", + "node_id": "perovskite-sim/tests/unit/validation/test_external_circuit_refinement.py::test_executor_matches_registry_and_binds_explicit_protocol", + "benchmark_reference_ids": [ + "benchmark-86e2e70943004434" + ] + }, + { + "capability_id": "test-467572eeb8fe5014", + "node_id": "perovskite-sim/tests/unit/validation/test_external_circuit_refinement.py::test_resolved_executor_samples_fixed_terminal_power_quadrant", + "benchmark_reference_ids": [ + "benchmark-86e2e70943004434" + ] + }, + { + "capability_id": "test-f4bc485cda41b40e", + "node_id": "perovskite-sim/tests/unit/validation/test_external_circuit_refinement.py::test_study_protocol_is_identical_across_matrix_cells", + "benchmark_reference_ids": [ + "benchmark-86e2e70943004434" + ] + }, + { + "capability_id": "test-62cadf90010683f7", + "node_id": "perovskite-sim/tests/unit/validation/test_foundation_reference_refinement.py::test_definition_keeps_physical_scales_and_independent_refinements", + "benchmark_reference_ids": [ + "benchmark-5c45d777007899c9" + ] + }, + { + "capability_id": "test-8753e8db16e42746", + "node_id": "perovskite-sim/tests/unit/validation/test_foundation_reference_refinement.py::test_equilibrium_preserves_subunit_contact_density_and_mass_action", + "benchmark_reference_ids": [ + "benchmark-5c45d777007899c9" + ] + }, + { + "capability_id": "test-e908ab2695dec96c", + "node_id": "perovskite-sim/tests/unit/validation/test_foundation_reference_refinement.py::test_real_reference_cell_certifies_all_operating_points_and_optical_power", + "benchmark_reference_ids": [ + "benchmark-5c45d777007899c9" + ] + }, + { + "capability_id": "test-885f0cca69f15da0", + "node_id": "perovskite-sim/tests/unit/validation/test_foundation_reference_refinement.py::test_resolved_reference_keeps_all_original_physical_limits", + "benchmark_reference_ids": [ + "benchmark-5c45d777007899c9" + ] + }, + { + "capability_id": "test-2c7f9ad9f17fe2c5", + "node_id": "perovskite-sim/tests/unit/validation/test_foundation_reference_sampling.py::test_balanced_mesh_preserves_physical_absorber_volume", + "benchmark_reference_ids": [ + "benchmark-5c45d777007899c9" + ] + }, + { + "capability_id": "test-34bc87acbb9b3084", + "node_id": "perovskite-sim/tests/unit/validation/test_foundation_reference_sampling.py::test_subdivision_preserves_the_same_nonzero_face_current", + "benchmark_reference_ids": [ + "benchmark-5c45d777007899c9" + ] + }, + { + "capability_id": "test-50cb6d1e8c40d1b3", + "node_id": "perovskite-sim/tests/unit/validation/test_import_scaps_defect_reference.py::test_importer_hashes_all_raw_exports_decks_manifest_and_suite", + "benchmark_reference_ids": [ + "benchmark-83c17bf82672772f" + ] + }, + { + "capability_id": "test-b0b6fdce5445d43b", + "node_id": "perovskite-sim/tests/unit/validation/test_incomplete_ionization_refinement.py::test_registered_executor_real_temperature_cell_matches_contract", + "benchmark_reference_ids": [ + "benchmark-afaed356d2fa81de" + ] + }, + { + "capability_id": "test-ca05903ef4e1d89f", + "node_id": "perovskite-sim/tests/unit/validation/test_interface_charge_stress.py::test_interface_charge_stress_executor_smoke", + "benchmark_reference_ids": [ + "benchmark-8d1003366b1bcb44" + ] + }, + { + "capability_id": "test-0e123b1fd44a7884", + "node_id": "perovskite-sim/tests/unit/validation/test_multivalent_defect_refinement.py::test_registered_executor_real_cell_matches_exact_contract", + "benchmark_reference_ids": [ + "benchmark-f243dcb4f5a72c41" + ] + }, + { + "capability_id": "test-136e6416c60b68e9", + "node_id": "perovskite-sim/tests/unit/validation/test_refinement_executors.py::test_equilibrium_referenced_interface_charge_executor_smoke", + "benchmark_reference_ids": [ + "benchmark-1006540a4310894f" + ] + }, + { + "capability_id": "test-cda5260c8eb57a0b", + "node_id": "perovskite-sim/tests/unit/validation/test_refinement_executors.py::test_interface_charge_off_executor_smoke", + "benchmark_reference_ids": [ + "benchmark-d421981a0850b957" + ] + }, + { + "capability_id": "test-5e901f40a179e52b", + "node_id": "perovskite-sim/tests/unit/validation/test_refinement_executors.py::test_two_sided_interface_evidence_checks_carrier_and_state_balance", + "benchmark_reference_ids": [ + "benchmark-d421981a0850b957" + ] + }, + { + "capability_id": "test-86307db968070b8b", + "node_id": "perovskite-sim/tests/unit/validation/test_resolved_tunnelling_refinement.py::test_real_resolved_cell_has_a_conservative_observable_electron_channel", + "benchmark_reference_ids": [ + "benchmark-e049e24da73bc454" + ] + }, + { + "capability_id": "test-219a38c6e8b35660", + "node_id": "perovskite-sim/tests/unit/validation/test_spatial_defect_refinement.py::test_registered_executor_real_cell_matches_exact_contract", + "benchmark_reference_ids": [ + "benchmark-4e5dfc48e60736d0" + ] + }, + { + "capability_id": "test-4ad819acd4a567d9", + "node_id": "perovskite-sim/tests/unit/validation/test_tunnelling_channel_refinement.py::test_lane_declares_a_three_by_three_matrix_and_an_energy_ladder", + "benchmark_reference_ids": [ + "benchmark-5ac658e026793692" + ] + }, + { + "capability_id": "test-e0ae2ffbeba74e64", + "node_id": "perovskite-sim/tests/unit/validation/test_tunnelling_channel_refinement.py::test_the_channel_flux_is_an_observable_not_only_the_terminal_current", + "benchmark_reference_ids": [ + "benchmark-5ac658e026793692" + ] + }, + { + "capability_id": "test-a075116e8ea6424c", + "node_id": "perovskite-sim/tests/unit/validation/test_twod_combined_refinement.py::test_combined_twod_executor_fails_closed_on_missing_point_evidence", + "benchmark_reference_ids": [ + "benchmark-63f25334baabb168" + ] + }, + { + "capability_id": "test-d29d0fb4d837f616", + "node_id": "perovskite-sim/tests/unit/validation/test_twod_combined_refinement.py::test_combined_twod_executor_matches_registry_and_explicit_protocol", + "benchmark_reference_ids": [ + "benchmark-63f25334baabb168" + ] + }, + { + "capability_id": "test-95631c3fb0b691b0", + "node_id": "perovskite-sim/tests/unit/validation/test_twod_combined_refinement.py::test_combined_twod_executor_rejects_malformed_clamp_evidence", + "benchmark_reference_ids": [ + "benchmark-63f25334baabb168" + ] + }, + { + "capability_id": "test-dcb38ee897e3b8df", + "node_id": "perovskite-sim/tests/validation/test_csi_vannijen2025_cv.py::test_vannijen_config_maps_published_profile_without_curve_calibration", + "benchmark_reference_ids": [ + "benchmark-a1a396a1f7b2045c" + ] + }, + { + "capability_id": "test-afc4550957d51480", + "node_id": "perovskite-sim/tests/validation/test_csi_vannijen2025_cv.py::test_vannijen_cv_records_partial_agreement_not_pointwise_parity", + "benchmark_reference_ids": [ + "benchmark-a1a396a1f7b2045c" + ] + }, + { + "capability_id": "test-e38d99a5ef51e5ec", + "node_id": "perovskite-sim/tests/validation/test_csi_vannijen2025_cv.py::test_vannijen_local_cv_is_residual_certified_and_grid_converged", + "benchmark_reference_ids": [ + "benchmark-a1a396a1f7b2045c" + ] + }, + { + "capability_id": "test-4c9b1d78bbdfcd66", + "node_id": "perovskite-sim/tests/validation/test_csi_vannijen2025_cv.py::test_vannijen_observations_match_reproducibility_registry", + "benchmark_reference_ids": [ + "benchmark-a1a396a1f7b2045c" + ] + }, + { + "capability_id": "test-d6cc7ae906ba281f", + "node_id": "perovskite-sim/tests/validation/test_csi_vannijen2025_cv.py::test_vannijen_source_rows_reproduce_frozen_author_extraction", + "benchmark_reference_ids": [ + "benchmark-a1a396a1f7b2045c" + ] + }, + { + "capability_id": "test-0f73e6238996eec6", + "node_id": "perovskite-sim/tests/validation/test_paper_configurations.py::test_driftfusion_ff_in_expected_range", + "benchmark_reference_ids": [ + "benchmark-94f2fd2efa41f878" + ] + }, + { + "capability_id": "test-b280244ce63845b5", + "node_id": "perovskite-sim/tests/validation/test_paper_configurations.py::test_driftfusion_hysteresis_increases_with_scan_rate", + "benchmark_reference_ids": [ + "benchmark-94f2fd2efa41f878" + ] + }, + { + "capability_id": "test-f519cd4f3242052d", + "node_id": "perovskite-sim/tests/validation/test_paper_configurations.py::test_driftfusion_illumination_slope_physical", + "benchmark_reference_ids": [ + "benchmark-94f2fd2efa41f878" + ] + }, + { + "capability_id": "test-3f238fb641ef8d3d", + "node_id": "perovskite-sim/tests/validation/test_paper_configurations.py::test_driftfusion_jsc_matches_beer_lambert", + "benchmark_reference_ids": [ + "benchmark-94f2fd2efa41f878" + ] + }, + { + "capability_id": "test-838e934bbce98c16", + "node_id": "perovskite-sim/tests/validation/test_paper_configurations.py::test_driftfusion_paper_comparison_quantifies_low_voc_offset", + "benchmark_reference_ids": [ + "benchmark-94f2fd2efa41f878" + ] + }, + { + "capability_id": "test-dd388d011a271d9c", + "node_id": "perovskite-sim/tests/validation/test_paper_configurations.py::test_driftfusion_repro_matches_paper_metrics", + "benchmark_reference_ids": [ + "benchmark-f2d15ebbf5e588cf" + ] + }, + { + "capability_id": "test-cd3b425f62097cc6", + "node_id": "perovskite-sim/tests/validation/test_paper_configurations.py::test_driftfusion_voc_in_expected_range", + "benchmark_reference_ids": [ + "benchmark-94f2fd2efa41f878" + ] + }, + { + "capability_id": "test-c9121d965ed064b3", + "node_id": "perovskite-sim/tests/validation/test_paper_configurations.py::test_ionmonger_ff_in_paper_range", + "benchmark_reference_ids": [ + "benchmark-9413c6e9be031fbb" + ] + }, + { + "capability_id": "test-30b2463f2e65a945", + "node_id": "perovskite-sim/tests/validation/test_paper_configurations.py::test_ionmonger_jsc_matches_paper", + "benchmark_reference_ids": [ + "benchmark-9413c6e9be031fbb" + ] + }, + { + "capability_id": "test-4157991ac72b8d59", + "node_id": "perovskite-sim/tests/validation/test_paper_configurations.py::test_ionmonger_jsc_near_beer_lambert_limit", + "benchmark_reference_ids": [ + "benchmark-9413c6e9be031fbb" + ] + }, + { + "capability_id": "test-95d151c48b468791", + "node_id": "perovskite-sim/tests/validation/test_paper_configurations.py::test_ionmonger_legacy_full_voc_agree_within_tolerance", + "benchmark_reference_ids": [ + "benchmark-9413c6e9be031fbb" + ] + }, + { + "capability_id": "test-7467aed3c4843bbe", + "node_id": "perovskite-sim/tests/validation/test_paper_configurations.py::test_ionmonger_paper_comparison_quantifies_known_voc_offset", + "benchmark_reference_ids": [ + "benchmark-9413c6e9be031fbb" + ] + }, + { + "capability_id": "test-0e83a3dcfd89dde0", + "node_id": "perovskite-sim/tests/validation/test_paper_configurations.py::test_ionmonger_repro_matches_paper_metrics", + "benchmark_reference_ids": [ + "benchmark-a12ead2b6fe7e734" + ] + }, + { + "capability_id": "test-cd4db0fd3db4ed5a", + "node_id": "perovskite-sim/tests/validation/test_paper_configurations.py::test_ionmonger_tmm_bounded_shift_from_bl", + "benchmark_reference_ids": [ + "benchmark-9413c6e9be031fbb" + ] + }, + { + "capability_id": "test-3643cfd95da137a2", + "node_id": "perovskite-sim/tests/validation/test_paper_configurations.py::test_ionmonger_tmm_jsc_physically_bounded", + "benchmark_reference_ids": [ + "benchmark-9413c6e9be031fbb" + ] + }, + { + "capability_id": "test-9b7d945e5f3d560b", + "node_id": "perovskite-sim/tests/validation/test_paper_configurations.py::test_ionmonger_voc_in_band_offset_range", + "benchmark_reference_ids": [ + "benchmark-9413c6e9be031fbb" + ] + } + ], + "experiment_bindings": [ + { + "capability_id": "experiment-0b68a79f94a0d4b1", + "callable_id": "python-8e64690ed75d3a6a", + "path": "perovskite-sim/perovskite_sim/experiments/band_diagram.py", + "direct_test_consumers": [ + "perovskite-sim/tests/integration/test_heterojunction_dark_equilibrium.py", + "perovskite-sim/tests/unit/experiments/test_band_diagram.py" + ], + "benchmark_reference_ids": [], + "qualification_gap": "Direct test imports locate potential checks; exact scenario and assertions still require per-slice approval" + }, + { + "capability_id": "experiment-ad1acb5693be96d2", + "callable_id": "python-1dacff53aa7d33b7", + "path": "perovskite-sim/perovskite_sim/experiments/bulk_defect_ion_transient.py", + "direct_test_consumers": [ + "perovskite-sim/tests/integration/test_bulk_defect_ion_transient.py" + ], + "benchmark_reference_ids": [], + "qualification_gap": "Direct test imports locate potential checks; exact scenario and assertions still require per-slice approval" + }, + { + "capability_id": "experiment-ba216e01ceaa8b2a", + "callable_id": "python-fe2c4d8b53196ae3", + "path": "perovskite-sim/perovskite_sim/experiments/bulk_defect_transient.py", + "direct_test_consumers": [ + "perovskite-sim/tests/integration/test_bulk_defect_transient.py", + "perovskite-sim/tests/integration/test_multivalent_explicit_defects_qf.py" + ], + "benchmark_reference_ids": [ + "benchmark-f243dcb4f5a72c41" + ], + "qualification_gap": "Direct test imports locate potential checks; exact scenario and assertions still require per-slice approval" + }, + { + "capability_id": "experiment-310cf19000c8ed90", + "callable_id": "python-f907ed340f19e3d1", + "path": "perovskite-sim/perovskite_sim/experiments/cbo_scan.py", + "direct_test_consumers": [ + "perovskite-sim/tests/integration/test_physical_interface_cbo_scan.py" + ], + "benchmark_reference_ids": [], + "qualification_gap": "Direct test imports locate potential checks; exact scenario and assertions still require per-slice approval" + }, + { + "capability_id": "experiment-194369582907aec9", + "callable_id": "python-8b13c5f71f5f1831", + "path": "perovskite-sim/perovskite_sim/experiments/dark_jv.py", + "direct_test_consumers": [ + "perovskite-sim/tests/unit/experiments/test_dark_jv_fit.py" + ], + "benchmark_reference_ids": [], + "qualification_gap": "Direct test imports locate potential checks; exact scenario and assertions still require per-slice approval" + }, + { + "capability_id": "experiment-2424e5f405ddaf84", + "callable_id": "python-98754518a1e880cb", + "path": "perovskite-sim/perovskite_sim/experiments/defect_aware_impedance.py", + "direct_test_consumers": [ + "perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "perovskite-sim/tests/integration/test_multivalent_explicit_defects_qf.py", + "perovskite-sim/tests/integration/test_spatially_graded_explicit_defects_qf.py" + ], + "benchmark_reference_ids": [ + "benchmark-4e5dfc48e60736d0", + "benchmark-83c17bf82672772f", + "benchmark-f243dcb4f5a72c41", + "benchmark-f55a467e6d6c9e27" + ], + "qualification_gap": "Direct test imports locate potential checks; exact scenario and assertions still require per-slice approval" + }, + { + "capability_id": "experiment-cd24e07da754c0f7", + "callable_id": "python-9cd015b8dc2ff5bc", + "path": "perovskite-sim/perovskite_sim/experiments/defect_ion_combined_impedance.py", + "direct_test_consumers": [ + "perovskite-sim/tests/integration/test_defect_ion_combined_impedance.py", + "perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1.py" + ], + "benchmark_reference_ids": [], + "qualification_gap": "Direct test imports locate potential checks; exact scenario and assertions still require per-slice approval" + }, + { + "capability_id": "experiment-c642a1b0b63e51ee", + "callable_id": "python-46e1cf4d0df22640", + "path": "perovskite-sim/perovskite_sim/experiments/degradation.py", + "direct_test_consumers": [ + "perovskite-sim/tests/integration/test_degradation_snapshot_refinement.py" + ], + "benchmark_reference_ids": [ + "benchmark-5223cbf1b1ff2fbd" + ], + "qualification_gap": "Direct test imports locate potential checks; exact scenario and assertions still require per-slice approval" + }, + { + "capability_id": "experiment-1bb0f41ff6da57f3", + "callable_id": "python-81fcaa6731414439", + "path": "perovskite-sim/perovskite_sim/experiments/degradation.py", + "direct_test_consumers": [ + "perovskite-sim/tests/unit/experiments/test_degradation.py" + ], + "benchmark_reference_ids": [], + "qualification_gap": "Direct test imports locate potential checks; exact scenario and assertions still require per-slice approval" + }, + { + "capability_id": "experiment-eed05d86c5378218", + "callable_id": "python-d30ce06363ae6cc5", + "path": "perovskite-sim/perovskite_sim/experiments/dynamic_defect_impedance.py", + "direct_test_consumers": [], + "benchmark_reference_ids": [], + "qualification_gap": "No direct named-symbol test import located in the published graph; do not infer tested from module import or nearby name" + }, + { + "capability_id": "experiment-57b0e21dbe6c3130", + "callable_id": "python-00412f969649154c", + "path": "perovskite-sim/perovskite_sim/experiments/dynamic_defect_transient.py", + "direct_test_consumers": [ + "perovskite-sim/tests/integration/test_dynamic_defect_transient.py" + ], + "benchmark_reference_ids": [ + "benchmark-4322a9e3b442d931" + ], + "qualification_gap": "Direct test imports locate potential checks; exact scenario and assertions still require per-slice approval" + }, + { + "capability_id": "experiment-ddece0c2ae0c1f35", + "callable_id": "python-a605e2f301ee63c2", + "path": "perovskite-sim/perovskite_sim/experiments/el_spectrum.py", + "direct_test_consumers": [ + "perovskite-sim/tests/unit/experiments/test_el_spectrum.py" + ], + "benchmark_reference_ids": [], + "qualification_gap": "Direct test imports locate potential checks; exact scenario and assertions still require per-slice approval" + }, + { + "capability_id": "experiment-cff445ec1e0effe0", + "callable_id": "python-0b05693f6202a750", + "path": "perovskite-sim/perovskite_sim/experiments/electrothermal.py", + "direct_test_consumers": [ + "perovskite-sim/tests/integration/test_electrothermal_operating_point.py", + "perovskite-sim/tests/unit/experiments/test_electrothermal.py" + ], + "benchmark_reference_ids": [], + "qualification_gap": "Direct test imports locate potential checks; exact scenario and assertions still require per-slice approval" + }, + { + "capability_id": "experiment-d99a1dd374330649", + "callable_id": "python-c48be3847c79aaa4", + "path": "perovskite-sim/perovskite_sim/experiments/eqe.py", + "direct_test_consumers": [ + "perovskite-sim/tests/unit/experiments/test_eqe.py", + "perovskite-sim/tests/unit/experiments/test_protocol.py" + ], + "benchmark_reference_ids": [], + "qualification_gap": "Direct test imports locate potential checks; exact scenario and assertions still require per-slice approval" + }, + { + "capability_id": "experiment-5228757a6f9c21fa", + "callable_id": "python-5b32b2a5890db17f", + "path": "perovskite-sim/perovskite_sim/experiments/external_circuit.py", + "direct_test_consumers": [ + "perovskite-sim/tests/integration/test_external_circuit.py", + "perovskite-sim/tests/unit/experiments/test_external_circuit.py" + ], + "benchmark_reference_ids": [], + "qualification_gap": "Direct test imports locate potential checks; exact scenario and assertions still require per-slice approval" + }, + { + "capability_id": "experiment-671a7a898134a9d4", + "callable_id": "python-6978884029def753", + "path": "perovskite-sim/perovskite_sim/experiments/external_circuit.py", + "direct_test_consumers": [ + "perovskite-sim/tests/unit/experiments/test_external_circuit.py" + ], + "benchmark_reference_ids": [], + "qualification_gap": "Direct test imports locate potential checks; exact scenario and assertions still require per-slice approval" + }, + { + "capability_id": "experiment-ff8c4a6873bfed44", + "callable_id": "python-085101aa49c85cb7", + "path": "perovskite-sim/perovskite_sim/experiments/identifiability.py", + "direct_test_consumers": [ + "perovskite-sim/tests/unit/experiments/test_identifiability.py" + ], + "benchmark_reference_ids": [], + "qualification_gap": "Direct test imports locate potential checks; exact scenario and assertions still require per-slice approval" + }, + { + "capability_id": "experiment-c4cd5cd89842d858", + "callable_id": "python-391627b787026f81", + "path": "perovskite-sim/perovskite_sim/experiments/impedance.py", + "direct_test_consumers": [ + "perovskite-sim/tests/unit/experiments/test_impedance.py", + "perovskite-sim/tests/unit/experiments/test_impedance_sign.py" + ], + "benchmark_reference_ids": [], + "qualification_gap": "Direct test imports locate potential checks; exact scenario and assertions still require per-slice approval" + }, + { + "capability_id": "experiment-bfd110fe2e409927", + "callable_id": "python-2f04296eb85e4928", + "path": "perovskite-sim/perovskite_sim/experiments/impedance.py", + "direct_test_consumers": [ + "perovskite-sim/tests/integration/test_dynamic_defect_impedance.py", + "perovskite-sim/tests/integration/test_material_cache_regression.py", + "perovskite-sim/tests/unit/experiments/test_impedance.py", + "perovskite-sim/tests/unit/experiments/test_impedance_sign.py", + "perovskite-sim/tests/unit/experiments/test_progress_callbacks.py", + "perovskite-sim/tests/unit/experiments/test_protocol.py" + ], + "benchmark_reference_ids": [ + "benchmark-f2259e41f3b75254" + ], + "qualification_gap": "Direct test imports locate potential checks; exact scenario and assertions still require per-slice approval" + }, + { + "capability_id": "experiment-997377217803970d", + "callable_id": "python-5826dc8ddf4a7918", + "path": "perovskite-sim/perovskite_sim/experiments/interface_charge_jv.py", + "direct_test_consumers": [], + "benchmark_reference_ids": [], + "qualification_gap": "No direct named-symbol test import located in the published graph; do not infer tested from module import or nearby name" + }, + { + "capability_id": "experiment-f3f73781e494a4fe", + "callable_id": "python-99aa2cc84550d897", + "path": "perovskite-sim/perovskite_sim/experiments/interface_defect_aware_impedance.py", + "direct_test_consumers": [ + "perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py" + ], + "benchmark_reference_ids": [], + "qualification_gap": "Direct test imports locate potential checks; exact scenario and assertions still require per-slice approval" + }, + { + "capability_id": "experiment-29a84beaf4041cba", + "callable_id": "python-9ca44b43b8687936", + "path": "perovskite-sim/perovskite_sim/experiments/interface_defect_ion_transient.py", + "direct_test_consumers": [ + "perovskite-sim/tests/integration/test_combined_dc_warm_start.py", + "perovskite-sim/tests/integration/test_interface_defect_ion_transient.py", + "perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1.py", + "perovskite-sim/tests/unit/validation/test_dynamic_defect_transient_refinement.py" + ], + "benchmark_reference_ids": [ + "benchmark-4322a9e3b442d931", + "benchmark-cc91d2d42ff5757d" + ], + "qualification_gap": "Direct test imports locate potential checks; exact scenario and assertions still require per-slice approval" + }, + { + "capability_id": "experiment-5dad4016f96a21d7", + "callable_id": "python-adc2d71c85c2226c", + "path": "perovskite-sim/perovskite_sim/experiments/interface_defect_transient.py", + "direct_test_consumers": [ + "perovskite-sim/tests/integration/test_interface_defect_transient.py" + ], + "benchmark_reference_ids": [], + "qualification_gap": "Direct test imports locate potential checks; exact scenario and assertions still require per-slice approval" + }, + { + "capability_id": "experiment-10d2cde17eaa6e01", + "callable_id": "python-7a349f54ec3d2311", + "path": "perovskite-sim/perovskite_sim/experiments/ion_aware_analytic_reaction.py", + "direct_test_consumers": [], + "benchmark_reference_ids": [], + "qualification_gap": "No direct named-symbol test import located in the published graph; do not infer tested from module import or nearby name" + }, + { + "capability_id": "experiment-68757a97c60b3660", + "callable_id": "python-cf472740283ccb7b", + "path": "perovskite-sim/perovskite_sim/experiments/ion_aware_analytic_reaction.py", + "direct_test_consumers": [], + "benchmark_reference_ids": [], + "qualification_gap": "No direct named-symbol test import located in the published graph; do not infer tested from module import or nearby name" + }, + { + "capability_id": "experiment-ce4180bc09955f54", + "callable_id": "python-682e336cf665f1e1", + "path": "perovskite-sim/perovskite_sim/experiments/ion_aware_analytic_reaction.py", + "direct_test_consumers": [], + "benchmark_reference_ids": [], + "qualification_gap": "No direct named-symbol test import located in the published graph; do not infer tested from module import or nearby name" + }, + { + "capability_id": "experiment-00db5ef5f7a28a1c", + "callable_id": "python-3142428d3704509b", + "path": "perovskite-sim/perovskite_sim/experiments/ion_aware_analytic_transport.py", + "direct_test_consumers": [], + "benchmark_reference_ids": [], + "qualification_gap": "No direct named-symbol test import located in the published graph; do not infer tested from module import or nearby name" + }, + { + "capability_id": "experiment-d2c61896a1893f64", + "callable_id": "python-0bd0148a2aa1f143", + "path": "perovskite-sim/perovskite_sim/experiments/ion_aware_dc.py", + "direct_test_consumers": [ + "perovskite-sim/tests/integration/test_displacement_increment_precision.py", + "perovskite-sim/tests/integration/test_ion_aware_dc.py", + "perovskite-sim/tests/integration/test_ion_aware_impedance.py", + "perovskite-sim/tests/integration/test_ion_aware_impedance_grid.py", + "perovskite-sim/tests/integration/test_ion_aware_impedance_lockin.py", + "perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py", + "perovskite-sim/tests/unit/experiments/test_ion_aware_impedance.py", + "perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py", + "perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py" + ], + "benchmark_reference_ids": [], + "qualification_gap": "Direct test imports locate potential checks; exact scenario and assertions still require per-slice approval" + }, + { + "capability_id": "experiment-3820972478a89255", + "callable_id": "python-67d79a9aa83a4725", + "path": "perovskite-sim/perovskite_sim/experiments/ion_aware_impedance.py", + "direct_test_consumers": [ + "perovskite-sim/tests/integration/test_ion_aware_impedance.py", + "perovskite-sim/tests/integration/test_ion_aware_impedance_lockin.py", + "perovskite-sim/tests/unit/experiments/test_ion_aware_impedance_lockin.py" + ], + "benchmark_reference_ids": [], + "qualification_gap": "Direct test imports locate potential checks; exact scenario and assertions still require per-slice approval" + }, + { + "capability_id": "experiment-330be0d05e1b31a9", + "callable_id": "python-9147c995b2109220", + "path": "perovskite-sim/perovskite_sim/experiments/ion_aware_impedance_grid.py", + "direct_test_consumers": [], + "benchmark_reference_ids": [], + "qualification_gap": "No direct named-symbol test import located in the published graph; do not infer tested from module import or nearby name" + }, + { + "capability_id": "experiment-fbf41e2889c53cad", + "callable_id": "python-e3d7b0ae79225ec0", + "path": "perovskite-sim/perovskite_sim/experiments/ion_aware_impedance_lockin.py", + "direct_test_consumers": [ + "perovskite-sim/tests/integration/test_ion_aware_impedance_lockin.py" + ], + "benchmark_reference_ids": [], + "qualification_gap": "Direct test imports locate potential checks; exact scenario and assertions still require per-slice approval" + }, + { + "capability_id": "experiment-3bf95a0df12a0f9f", + "callable_id": "python-55d514b405d9d1de", + "path": "perovskite-sim/perovskite_sim/experiments/ion_aware_structured_jacobian.py", + "direct_test_consumers": [ + "perovskite-sim/tests/integration/test_ion_aware_structured_jacobian.py" + ], + "benchmark_reference_ids": [], + "qualification_gap": "Direct test imports locate potential checks; exact scenario and assertions still require per-slice approval" + }, + { + "capability_id": "experiment-d2ac87c25de5f542", + "callable_id": "python-1b8a2512651eb291", + "path": "perovskite-sim/perovskite_sim/experiments/jv_sweep.py", + "direct_test_consumers": [ + "perovskite-sim/tests/integration/test_foundation_mobile_refinement.py", + "perovskite-sim/tests/integration/test_foundation_twod_axis_refinement.py", + "perovskite-sim/tests/integration/test_heterojunction_dark_equilibrium.py", + "perovskite-sim/tests/integration/test_log_density_coordinates.py", + "perovskite-sim/tests/regression/test_ss_current_conservation.py", + "perovskite-sim/tests/unit/experiments/test_current_decomposition.py", + "perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py", + "perovskite-sim/tests/unit/experiments/test_open_circuit.py", + "perovskite-sim/tests/unit/physics/test_carrier_current_consistency.py", + "perovskite-sim/tests/unit/twod/test_mobile_ion_current_2d.py" + ], + "benchmark_reference_ids": [ + "benchmark-00cbe610b0bd55b6", + "benchmark-d84b2405628c3df6" + ], + "qualification_gap": "Direct test imports locate potential checks; exact scenario and assertions still require per-slice approval" + }, + { + "capability_id": "experiment-61d3af054e6a1f6d", + "callable_id": "python-b4672100092727ee", + "path": "perovskite-sim/perovskite_sim/experiments/jv_sweep.py", + "direct_test_consumers": [ + "perovskite-sim/tests/unit/experiments/test_degradation_frozen_ions.py", + "perovskite-sim/tests/unit/experiments/test_ion_aware_dc.py" + ], + "benchmark_reference_ids": [ + "benchmark-5223cbf1b1ff2fbd" + ], + "qualification_gap": "Direct test imports locate potential checks; exact scenario and assertions still require per-slice approval" + }, + { + "capability_id": "experiment-7fed102e77dec518", + "callable_id": "python-5b840c038b5e9530", + "path": "perovskite-sim/perovskite_sim/experiments/jv_sweep.py", + "direct_test_consumers": [ + "perovskite-sim/tests/integration/test_scaps_mirror_baseline.py", + "perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py", + "perovskite-sim/tests/regression/test_grading_cigs_notch.py", + "perovskite-sim/tests/regression/test_physical_bounds.py", + "perovskite-sim/tests/regression/test_twod_microstructure.py", + "perovskite-sim/tests/regression/test_twod_validation.py", + "perovskite-sim/tests/unit/experiments/test_electrothermal.py", + "perovskite-sim/tests/unit/experiments/test_external_circuit.py", + "perovskite-sim/tests/unit/experiments/test_jv_sweep.py", + "perovskite-sim/tests/unit/experiments/test_voc_collapsed_current.py", + "perovskite-sim/tests/unit/physics/test_review_fixes.py", + "perovskite-sim/tests/unit/validation/test_electrothermal_refinement.py", + "perovskite-sim/tests/unit/validation/test_external_circuit_refinement.py" + ], + "benchmark_reference_ids": [ + "benchmark-3ca07445f8402d7d", + "benchmark-7e320e9d039d49bd", + "benchmark-86e2e70943004434", + "benchmark-979ee3060444ba30", + "benchmark-ffe6aa8aa40ed1bc" + ], + "qualification_gap": "Direct test imports locate potential checks; exact scenario and assertions still require per-slice approval" + }, + { + "capability_id": "experiment-f390da9f265f080b", + "callable_id": "python-e8cf4882ef03843a", + "path": "perovskite-sim/perovskite_sim/experiments/jv_sweep.py", + "direct_test_consumers": [ + "perovskite-sim/tests/integration/test_foundation_mobile_refinement.py", + "perovskite-sim/tests/integration/test_heterojunction_dark_equilibrium.py", + "perovskite-sim/tests/unit/experiments/test_ion_aware_structured_jacobian.py", + "perovskite-sim/tests/unit/experiments/test_spatial_profiles.py", + "perovskite-sim/tests/unit/twod/test_mobile_ion_current_2d.py" + ], + "benchmark_reference_ids": [ + "benchmark-00cbe610b0bd55b6" + ], + "qualification_gap": "Direct test imports locate potential checks; exact scenario and assertions still require per-slice approval" + }, + { + "capability_id": "experiment-d1aee10f514c8af5", + "callable_id": "python-993788ea66e68b41", + "path": "perovskite-sim/perovskite_sim/experiments/jv_sweep.py", + "direct_test_consumers": [ + "perovskite-sim/tests/integration/test_dual_ion_integration.py", + "perovskite-sim/tests/integration/test_e1_5_cross_carrier_srh.py", + "perovskite-sim/tests/integration/test_e1_6_calibration_factor.py", + "perovskite-sim/tests/integration/test_e1_interface_srh.py", + "perovskite-sim/tests/integration/test_e3_interface_plane_assemble_rhs.py", + "perovskite-sim/tests/integration/test_e4_split_integration.py", + "perovskite-sim/tests/integration/test_end_to_end_device.py", + "perovskite-sim/tests/integration/test_external_circuit.py", + "perovskite-sim/tests/integration/test_field_mobility_integration.py", + "perovskite-sim/tests/integration/test_full_tier_flagship_jv.py", + "perovskite-sim/tests/integration/test_ion_occupancy_device_level.py", + "perovskite-sim/tests/integration/test_material_cache_regression.py", + "perovskite-sim/tests/integration/test_scaps_common_subset.py", + "perovskite-sim/tests/integration/test_scaps_mirror_baseline.py", + "perovskite-sim/tests/integration/test_scaps_mirror_cbo_trend.py", + "perovskite-sim/tests/integration/test_selective_contacts_integration.py", + "perovskite-sim/tests/integration/test_substrate_stack.py", + "perovskite-sim/tests/integration/test_temperature_trap.py", + "perovskite-sim/tests/integration/test_tmm_integration.py", + "perovskite-sim/tests/integration/test_voc_benchmark.py", + "perovskite-sim/tests/regression/test_csi_grid_envelope.py", + "perovskite-sim/tests/regression/test_grading_cigs_notch.py", + "perovskite-sim/tests/regression/test_interface_balance_ridge.py", + "perovskite-sim/tests/regression/test_interface_srv_grid_reference.py", + "perovskite-sim/tests/regression/test_jv_regression.py", + "perovskite-sim/tests/regression/test_mesh_convergence.py", + "perovskite-sim/tests/regression/test_physical_bounds.py", + "perovskite-sim/tests/regression/test_tier_regression.py", + "perovskite-sim/tests/regression/test_tmm_baseline.py", + "perovskite-sim/tests/regression/test_twod_validation.py", + "perovskite-sim/tests/unit/experiments/test_dark_jv.py", + "perovskite-sim/tests/unit/experiments/test_eqe.py", + "perovskite-sim/tests/unit/experiments/test_jv_branch_rejection.py", + "perovskite-sim/tests/unit/experiments/test_jv_sweep.py", + "perovskite-sim/tests/unit/experiments/test_progress_callbacks.py", + "perovskite-sim/tests/unit/experiments/test_protocol.py", + "perovskite-sim/tests/unit/experiments/test_run_jv_sweep_auto_extend_v_max.py", + "perovskite-sim/tests/unit/experiments/test_spatial_profiles.py", + "perovskite-sim/tests/unit/experiments/test_steady_state.py", + "perovskite-sim/tests/unit/experiments/test_voc_collapsed_current.py", + "perovskite-sim/tests/unit/physics/test_te_physical_norm.py", + "perovskite-sim/tests/unit/solver/test_flat_band_contacts.py", + "perovskite-sim/tests/unit/solver/test_interface_plane_closure.py", + "perovskite-sim/tests/unit/solver/test_interface_shared_occupancy.py", + "perovskite-sim/tests/unit/solver/test_interface_two_sided.py", + "perovskite-sim/tests/validation/test_paper_configurations.py", + "perovskite-sim/tests/validation/test_physical_trends.py" + ], + "benchmark_reference_ids": [ + "benchmark-64d717e2afaf62b7", + "benchmark-7e320e9d039d49bd", + "benchmark-9413c6e9be031fbb", + "benchmark-94f2fd2efa41f878", + "benchmark-979ee3060444ba30", + "benchmark-a12ead2b6fe7e734", + "benchmark-a8032d8160a5c7e3", + "benchmark-beb35201a660895f", + "benchmark-ccce54aef1456ee8", + "benchmark-f050f4122cc07b66", + "benchmark-f2d15ebbf5e588cf", + "benchmark-ffe6aa8aa40ed1bc" + ], + "qualification_gap": "Direct test imports locate potential checks; exact scenario and assertions still require per-slice approval" + }, + { + "capability_id": "experiment-e903c8755d4a8729", + "callable_id": "python-4ee65d13b4b35ba3", + "path": "perovskite-sim/perovskite_sim/experiments/metastable_preparation.py", + "direct_test_consumers": [ + "perovskite-sim/tests/integration/test_metastable_dynamic_transient.py", + "perovskite-sim/tests/integration/test_metastable_preparation_and_frozen_measurement.py" + ], + "benchmark_reference_ids": [], + "qualification_gap": "Direct test imports locate potential checks; exact scenario and assertions still require per-slice approval" + }, + { + "capability_id": "experiment-a3f3bb449a2f34d7", + "callable_id": "python-aed19c59c19affd4", + "path": "perovskite-sim/perovskite_sim/experiments/metastable_preparation.py", + "direct_test_consumers": [ + "perovskite-sim/tests/integration/test_metastable_preparation_and_frozen_measurement.py" + ], + "benchmark_reference_ids": [], + "qualification_gap": "Direct test imports locate potential checks; exact scenario and assertions still require per-slice approval" + }, + { + "capability_id": "experiment-a4dd600fc6d409df", + "callable_id": "python-baf415834638603e", + "path": "perovskite-sim/perovskite_sim/experiments/metastable_preparation.py", + "direct_test_consumers": [ + "perovskite-sim/tests/integration/test_metastable_preparation_and_frozen_measurement.py" + ], + "benchmark_reference_ids": [], + "qualification_gap": "Direct test imports locate potential checks; exact scenario and assertions still require per-slice approval" + }, + { + "capability_id": "experiment-906f1e5fff63647f", + "callable_id": "python-04c182a16f0966e7", + "path": "perovskite-sim/perovskite_sim/experiments/metastable_transient.py", + "direct_test_consumers": [ + "perovskite-sim/tests/integration/test_metastable_dynamic_transient.py" + ], + "benchmark_reference_ids": [], + "qualification_gap": "Direct test imports locate potential checks; exact scenario and assertions still require per-slice approval" + }, + { + "capability_id": "experiment-a69d51ff462cc36a", + "callable_id": "python-0db15afd3e820943", + "path": "perovskite-sim/perovskite_sim/experiments/mott_schottky.py", + "direct_test_consumers": [ + "perovskite-sim/tests/unit/experiments/test_mott_schottky.py" + ], + "benchmark_reference_ids": [], + "qualification_gap": "Direct test imports locate potential checks; exact scenario and assertions still require per-slice approval" + }, + { + "capability_id": "experiment-4e372a3e04e0faca", + "callable_id": "python-5d5f6ea1cd90b46e", + "path": "perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1.py", + "direct_test_consumers": [], + "benchmark_reference_ids": [], + "qualification_gap": "No direct named-symbol test import located in the published graph; do not infer tested from module import or nearby name" + }, + { + "capability_id": "experiment-35bac077cd83f54c", + "callable_id": "python-2b7e7c1c5d224cc8", + "path": "perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1.py", + "direct_test_consumers": [], + "benchmark_reference_ids": [], + "qualification_gap": "No direct named-symbol test import located in the published graph; do not infer tested from module import or nearby name" + }, + { + "capability_id": "experiment-43a0424529f1528e", + "callable_id": "python-8c20409497e36a83", + "path": "perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1.py", + "direct_test_consumers": [ + "perovskite-sim/tests/integration/test_combined_dc_warm_start.py", + "perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_controls.py" + ], + "benchmark_reference_ids": [], + "qualification_gap": "Direct test imports locate potential checks; exact scenario and assertions still require per-slice approval" + }, + { + "capability_id": "experiment-5dc2e7f6a62669ce", + "callable_id": "python-ff6e053d682a2e8b", + "path": "perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_global_reference.py", + "direct_test_consumers": [], + "benchmark_reference_ids": [], + "qualification_gap": "No direct named-symbol test import located in the published graph; do not infer tested from module import or nearby name" + }, + { + "capability_id": "experiment-79d7d88479557cc0", + "callable_id": "python-58da29870afc5e4d", + "path": "perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_input_lift_reference.py", + "direct_test_consumers": [], + "benchmark_reference_ids": [], + "qualification_gap": "No direct named-symbol test import located in the published graph; do not infer tested from module import or nearby name" + }, + { + "capability_id": "experiment-f13798efea3b69ba", + "callable_id": "python-48c9db09b1991408", + "path": "perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_pair_codec.py", + "direct_test_consumers": [], + "benchmark_reference_ids": [], + "qualification_gap": "No direct named-symbol test import located in the published graph; do not infer tested from module import or nearby name" + }, + { + "capability_id": "experiment-4f8f2c0e1fbe098f", + "callable_id": "python-2ca7e5730faf8972", + "path": "perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_precision.py", + "direct_test_consumers": [], + "benchmark_reference_ids": [], + "qualification_gap": "No direct named-symbol test import located in the published graph; do not infer tested from module import or nearby name" + }, + { + "capability_id": "experiment-089f551cef6acbef", + "callable_id": "python-3a80651db6a981a2", + "path": "perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_protocol.py", + "direct_test_consumers": [ + "perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_physics_result_records.py", + "perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_response.py", + "perovskite-sim/tests/integration/test_r1_failure_witness_v4.py", + "perovskite-sim/tests/integration/test_r1_independent_physics.py", + "perovskite-sim/tests/integration/test_r1_numerical_precision.py", + "perovskite-sim/tests/integration/test_r1_regular_independence_v4.py", + "perovskite-sim/tests/unit/experiments/test_one_dimensional_mechanism_r1_result_validation.py", + "perovskite-sim/tests/unit/experiments/test_one_dimensional_mechanism_r1_spatial.py", + "perovskite-sim/tests/unit/experiments/test_r1_v11_response.py" + ], + "benchmark_reference_ids": [], + "qualification_gap": "Direct test imports locate potential checks; exact scenario and assertions still require per-slice approval" + }, + { + "capability_id": "experiment-be0a906d081824ea", + "callable_id": "python-e743c7f7942c6bd2", + "path": "perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_response.py", + "direct_test_consumers": [ + "perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_response.py", + "perovskite-sim/tests/unit/experiments/test_r1_post_execution_request_v4.py" + ], + "benchmark_reference_ids": [], + "qualification_gap": "Direct test imports locate potential checks; exact scenario and assertions still require per-slice approval" + }, + { + "capability_id": "experiment-c363c4d6b2f1e7a9", + "callable_id": "python-d1e7340afe1e77c8", + "path": "perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1_state.py", + "direct_test_consumers": [ + "perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_physics_validation.py", + "perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_protocol.py", + "perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_response.py", + "perovskite-sim/tests/integration/test_one_dimensional_mechanism_r1_step.py", + "perovskite-sim/tests/integration/test_r1_dc_amplitude_endpoints.py", + "perovskite-sim/tests/integration/test_r1_failure_witness_v4.py", + "perovskite-sim/tests/integration/test_r1_independent_physics.py", + "perovskite-sim/tests/integration/test_r1_initial_pair_invariants.py", + "perovskite-sim/tests/integration/test_r1_numerical_precision.py", + "perovskite-sim/tests/integration/test_r1_regular_independence_v4.py", + "perovskite-sim/tests/unit/experiments/test_one_dimensional_mechanism_r1_spatial.py", + "perovskite-sim/tests/unit/experiments/test_r1_post_execution_request_v4.py" + ], + "benchmark_reference_ids": [], + "qualification_gap": "Direct test imports locate potential checks; exact scenario and assertions still require per-slice approval" + }, + { + "capability_id": "experiment-dc4f01b0782f66c3", + "callable_id": "python-63bde09a82651ce8", + "path": "perovskite-sim/perovskite_sim/experiments/open_circuit.py", + "direct_test_consumers": [ + "perovskite-sim/tests/unit/experiments/test_open_circuit.py" + ], + "benchmark_reference_ids": [], + "qualification_gap": "Direct test imports locate potential checks; exact scenario and assertions still require per-slice approval" + }, + { + "capability_id": "experiment-7a4e421429ce76e9", + "callable_id": "python-f09d5fbf1dd0b901", + "path": "perovskite-sim/perovskite_sim/experiments/quasi_fermi_impedance.py", + "direct_test_consumers": [ + "perovskite-sim/tests/integration/test_multivalent_explicit_defects_qf.py", + "perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py", + "perovskite-sim/tests/validation/test_csi_vannijen2025_cv.py" + ], + "benchmark_reference_ids": [ + "benchmark-3ece4d3a78f8823e", + "benchmark-a1a396a1f7b2045c", + "benchmark-f243dcb4f5a72c41" + ], + "qualification_gap": "Direct test imports locate potential checks; exact scenario and assertions still require per-slice approval" + }, + { + "capability_id": "experiment-e5baf86a6d60f39c", + "callable_id": "python-028fc9f2796c4dd8", + "path": "perovskite-sim/perovskite_sim/experiments/quasi_fermi_steady_state.py", + "direct_test_consumers": [ + "perovskite-sim/tests/integration/test_interface_defect_aware_impedance.py", + "perovskite-sim/tests/unit/experiments/test_interface_charge_jv.py", + "perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py" + ], + "benchmark_reference_ids": [ + "benchmark-1006540a4310894f", + "benchmark-66079d06baa87db2" + ], + "qualification_gap": "Direct test imports locate potential checks; exact scenario and assertions still require per-slice approval" + }, + { + "capability_id": "experiment-2013b85fee4526d6", + "callable_id": "python-e9c756b463ab3c35", + "path": "perovskite-sim/perovskite_sim/experiments/quasi_fermi_steady_state.py", + "direct_test_consumers": [ + "perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "perovskite-sim/tests/integration/test_multivalent_explicit_defects_qf.py", + "perovskite-sim/tests/integration/test_spatially_graded_explicit_defects_qf.py", + "perovskite-sim/tests/regression/test_csi_quasi_fermi_convergence.py", + "perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py" + ], + "benchmark_reference_ids": [ + "benchmark-1006540a4310894f", + "benchmark-3ca07445f8402d7d", + "benchmark-4e5dfc48e60736d0", + "benchmark-83c17bf82672772f", + "benchmark-f243dcb4f5a72c41", + "benchmark-f55a467e6d6c9e27" + ], + "qualification_gap": "Direct test imports locate potential checks; exact scenario and assertions still require per-slice approval" + }, + { + "capability_id": "experiment-06f3862814316e87", + "callable_id": "python-29f5d0e884e65b0e", + "path": "perovskite-sim/perovskite_sim/experiments/quasi_fermi_steady_state.py", + "direct_test_consumers": [ + "perovskite-sim/tests/integration/test_charged_explicit_defects_qf.py", + "perovskite-sim/tests/integration/test_explicit_neutral_defects.py", + "perovskite-sim/tests/integration/test_foundation_mobile_refinement.py", + "perovskite-sim/tests/integration/test_metastable_preparation_and_frozen_measurement.py", + "perovskite-sim/tests/integration/test_multivalent_explicit_defects_qf.py", + "perovskite-sim/tests/integration/test_spatially_graded_explicit_defects_qf.py", + "perovskite-sim/tests/integration/test_tunnelling_channels_device.py", + "perovskite-sim/tests/regression/test_csi_frequency_domain_impedance.py", + "perovskite-sim/tests/regression/test_csi_generic_state_cancellation.py", + "perovskite-sim/tests/unit/experiments/test_quasi_fermi_steady_state.py", + "perovskite-sim/tests/unit/validation/test_foundation_reference_refinement.py", + "perovskite-sim/tests/validation/test_csi_vannijen2025_cv.py" + ], + "benchmark_reference_ids": [ + "benchmark-00cbe610b0bd55b6", + "benchmark-1006540a4310894f", + "benchmark-2944ea519ddd6969", + "benchmark-3ece4d3a78f8823e", + "benchmark-4e5dfc48e60736d0", + "benchmark-5ac658e026793692", + "benchmark-5c45d777007899c9", + "benchmark-83c17bf82672772f", + "benchmark-a1a396a1f7b2045c", + "benchmark-f243dcb4f5a72c41", + "benchmark-f55a467e6d6c9e27" + ], + "qualification_gap": "Direct test imports locate potential checks; exact scenario and assertions still require per-slice approval" + }, + { + "capability_id": "experiment-950330e143988071", + "callable_id": "python-36d4bb6a94a719f4", + "path": "perovskite-sim/perovskite_sim/experiments/steady_state.py", + "direct_test_consumers": [ + "perovskite-sim/tests/regression/test_csi_grid_envelope.py", + "perovskite-sim/tests/unit/experiments/test_steady_state.py" + ], + "benchmark_reference_ids": [ + "benchmark-64d717e2afaf62b7", + "benchmark-f050f4122cc07b66" + ], + "qualification_gap": "Direct test imports locate potential checks; exact scenario and assertions still require per-slice approval" + }, + { + "capability_id": "experiment-8c6cbf43a9370396", + "callable_id": "python-cbad1107542f737b", + "path": "perovskite-sim/perovskite_sim/experiments/steady_state.py", + "direct_test_consumers": [ + "perovskite-sim/tests/regression/test_p1_steady_state_mesh_convergence.py", + "perovskite-sim/tests/unit/experiments/test_steady_state.py" + ], + "benchmark_reference_ids": [ + "benchmark-64d717e2afaf62b7", + "benchmark-a9fb1ab48c74827c" + ], + "qualification_gap": "Direct test imports locate potential checks; exact scenario and assertions still require per-slice approval" + }, + { + "capability_id": "experiment-ded0cdfd37fe1002", + "callable_id": "python-d28d7cf9a4e763c1", + "path": "perovskite-sim/perovskite_sim/experiments/steady_state.py", + "direct_test_consumers": [ + "perovskite-sim/tests/regression/test_csi_grid_envelope.py", + "perovskite-sim/tests/unit/experiments/test_steady_state.py" + ], + "benchmark_reference_ids": [ + "benchmark-64d717e2afaf62b7", + "benchmark-f050f4122cc07b66" + ], + "qualification_gap": "Direct test imports locate potential checks; exact scenario and assertions still require per-slice approval" + }, + { + "capability_id": "experiment-db0ae95bf832243f", + "callable_id": "python-c1bf0dfcc099c480", + "path": "perovskite-sim/perovskite_sim/experiments/suns_voc.py", + "direct_test_consumers": [ + "perovskite-sim/tests/regression/test_photon_recycling_voc.py", + "perovskite-sim/tests/regression/test_radiative_reabsorption.py", + "perovskite-sim/tests/regression/test_twod_validation.py", + "perovskite-sim/tests/unit/experiments/test_protocol.py", + "perovskite-sim/tests/unit/experiments/test_suns_voc.py", + "perovskite-sim/tests/validation/test_physical_trends.py" + ], + "benchmark_reference_ids": [ + "benchmark-7e320e9d039d49bd", + "benchmark-979ee3060444ba30" + ], + "qualification_gap": "Direct test imports locate potential checks; exact scenario and assertions still require per-slice approval" + }, + { + "capability_id": "experiment-25bf35be6cfb7cb9", + "callable_id": "python-ba72f9f105c61c2a", + "path": "perovskite-sim/perovskite_sim/experiments/tandem_jv.py", + "direct_test_consumers": [ + "perovskite-sim/tests/integration/test_tandem_lin2019.py", + "perovskite-sim/tests/unit/experiments/test_tandem_jv.py" + ], + "benchmark_reference_ids": [ + "benchmark-ac54a8e323f74ee0" + ], + "qualification_gap": "Direct test imports locate potential checks; exact scenario and assertions still require per-slice approval" + }, + { + "capability_id": "experiment-06dfc808cd746b55", + "callable_id": "python-38459a7404b39334", + "path": "perovskite-sim/perovskite_sim/experiments/thermal_balance.py", + "direct_test_consumers": [ + "perovskite-sim/tests/unit/experiments/test_thermal_balance.py" + ], + "benchmark_reference_ids": [], + "qualification_gap": "Direct test imports locate potential checks; exact scenario and assertions still require per-slice approval" + }, + { + "capability_id": "experiment-facd10fc2e2e1c6d", + "callable_id": "python-c4c911501972a261", + "path": "perovskite-sim/perovskite_sim/experiments/thermal_balance.py", + "direct_test_consumers": [ + "perovskite-sim/tests/unit/experiments/test_thermal_balance.py" + ], + "benchmark_reference_ids": [], + "qualification_gap": "Direct test imports locate potential checks; exact scenario and assertions still require per-slice approval" + }, + { + "capability_id": "experiment-dc01ed047a39ee7c", + "callable_id": "python-07e5db9fb30478a0", + "path": "perovskite-sim/perovskite_sim/experiments/tpv.py", + "direct_test_consumers": [ + "perovskite-sim/tests/integration/test_foundation_tpv_spatial_refinement.py", + "perovskite-sim/tests/integration/test_tpv_open_circuit_refinement.py", + "perovskite-sim/tests/unit/experiments/test_protocol.py", + "perovskite-sim/tests/unit/experiments/test_tpv.py" + ], + "benchmark_reference_ids": [ + "benchmark-5223cbf1b1ff2fbd" + ], + "qualification_gap": "Direct test imports locate potential checks; exact scenario and assertions still require per-slice approval" + }, + { + "capability_id": "experiment-472f6c8eae927acf", + "callable_id": "python-355b4b4ae7584a2b", + "path": "perovskite-sim/perovskite_sim/experiments/trap_small_signal.py", + "direct_test_consumers": [ + "perovskite-sim/tests/unit/experiments/test_trap_small_signal.py" + ], + "benchmark_reference_ids": [], + "qualification_gap": "Direct test imports locate potential checks; exact scenario and assertions still require per-slice approval" + }, + { + "capability_id": "experiment-9a960d36087c2646", + "callable_id": "python-fd753ea02137ee94", + "path": "perovskite-sim/perovskite_sim/experiments/voc_t.py", + "direct_test_consumers": [ + "perovskite-sim/tests/unit/experiments/test_voc_t.py" + ], + "benchmark_reference_ids": [], + "qualification_gap": "Direct test imports locate potential checks; exact scenario and assertions still require per-slice approval" + }, + { + "capability_id": "experiment-eb6d533237d11167", + "callable_id": "python-ecf61c4b86783cfa", + "path": "perovskite-sim/perovskite_sim/experiments/waveform_jv.py", + "direct_test_consumers": [], + "benchmark_reference_ids": [], + "qualification_gap": "No direct named-symbol test import located in the published graph; do not infer tested from module import or nearby name" + }, + { + "capability_id": "experiment-25b0a1305c41dcb4", + "callable_id": "python-e039565f0e0d8729", + "path": "perovskite-sim/perovskite_sim/twod/experiments/jv_sweep_2d.py", + "direct_test_consumers": [ + "perovskite-sim/tests/integration/backend/test_numerical_job_lifecycle.py", + "perovskite-sim/tests/integration/test_twod_mobile_ion_jv.py", + "perovskite-sim/tests/integration/twod/test_jv_sweep_2d_microstructure.py", + "perovskite-sim/tests/integration/twod/test_jv_sweep_2d_uniform.py", + "perovskite-sim/tests/regression/test_twod_microstructure.py", + "perovskite-sim/tests/regression/test_twod_validation.py", + "perovskite-sim/tests/unit/twod/test_jv_protocol_2d.py" + ], + "benchmark_reference_ids": [ + "benchmark-7e320e9d039d49bd", + "benchmark-979ee3060444ba30", + "benchmark-d84b2405628c3df6" + ], + "qualification_gap": "Direct test imports locate potential checks; exact scenario and assertions still require per-slice approval" + }, + { + "capability_id": "experiment-5939aecfa4284195", + "callable_id": "python-5b2957298956c59e", + "path": "perovskite-sim/perovskite_sim/twod/experiments/voc_grain_sweep.py", + "direct_test_consumers": [ + "perovskite-sim/tests/integration/twod/test_voc_grain_sweep.py" + ], + "benchmark_reference_ids": [], + "qualification_gap": "Direct test imports locate potential checks; exact scenario and assertions still require per-slice approval" + } + ], + "summary": { + "benchmarks": 44, + "refinement_lanes": 47, + "oracle_records": 9, + "configured_combinations": 55, + "registered_test_nodes": 217, + "experiments": 70, + "refinement_lanes_with_located_history": 44, + "historical_runs_located": 94, + "missing_refinement_result_lanes": [ + "foundation-physical-homojunction-resolved-v2", + "foundation-physical-homojunction-steady-v1", + "wkb-resolved-intraband-qf-dc-v2" + ], + "experiment_without_direct_named_test_import": 14, + "all_indexed_capability_count": 7868, + "per_scientific_slice_recertification_complete": false + }, + "coverage_limits": "A registered source/contract/test link is not an executed reference. Other implementation, route, schema, rejection, and public-export records remain governed by the same published graph and migration route; no inferred global scientific coverage", + "new_analytic_references": { + "source_id": "analytic_gates", + "gate_ids": [ + "NC01", + "NC02", + "NC03", + "NC04", + "NC05", + "NC06", + "NC07", + "NC08" + ], + "scope": "Isolated T1 only with exact frozen gate, source/environment/coverage/used binding and own task prerequisites" + }, + "recorded_at": "2026-10-05T08:47:10.249964+00:00", + "comparison_scopes": { + "path": "reproducibility/RefactorComparisonScopesV1.json", + "sha256": "ffd37b76e4322a9dbed0bd9233b78958fb1eb93eb69086a49218ef7d39953e9f", + "scope": "prospective physical rules and explicit unresolved input obligations; not scientific qualification" + } + }, + "governance": { + "activity_ledger_root": "archive", + "activity_ledger_path": "test/ArchitectureRefactor/ExecutionStateV1.json", + "rule": "This artifact records source evidence and local proposal qualifications only; global gate and acceptance activity is maintained solely in ExecutionStateV1.json", + "preparation_task_id": "task_a3aa4790fcfb", + "preparation_dispatch_id": "ctx_c6ab1616be0f" + }, + "dependency_snapshot_policy": "Dependency labels record the supplied P00-01/P00-02 evidence at preparation time; consult the authoritative activity ledger for current task/gate state", + "updated_at": "2026-10-05T10:00:38.815696+00:00", + "analytic_reference_definitions": { + "root": "repository", + "path": "reproducibility/RefactorAnalyticReferencesV1.json", + "sha256": "f707d3a22a706f7c6880163e8edc8849aaa6786e7cc5c2f1431ae62c4fd3d330", + "definition_count": 7, + "definition_ids": [ + "poisson_affine_51_stored_nodes", + "bernoulli_0", + "bernoulli_50", + "bernoulli_minus20", + "thermal_zero_heat_steady", + "thermal_linear_steady", + "thermal_linear_transient_200s_41" + ], + "status": "listed_analytic_subgates_independently_reviewed;full_GateSpec_and_candidate_binding_pending", + "independent_review": { + "root": "archive", + "path": "test/ArchitectureRefactor/Stage00/AnalyticReferenceDefinitionsV1/RootReview.json", + "sha256": "4580ffc6b91d8b174a9cc1521ae28f4193ac11bae3668cb71cb79075530ad7e4" + }, + "scope": "Original stored-grid affine Poisson, three Bernoulli points and linear/zero-heat thermal fixtures only", + "G0_G2_or_external_qualification_granted": false + } +} diff --git a/reproducibility/RefactorTransitionBoundariesV1.json b/reproducibility/RefactorTransitionBoundariesV1.json new file mode 100644 index 00000000..01c4ed29 --- /dev/null +++ b/reproducibility/RefactorTransitionBoundariesV1.json @@ -0,0 +1,220 @@ +{ + "schema": "solarlab.refactor-transition-boundaries.v1", + "version": 1, + "scope": "P03-01 package and explicit legacy transition boundaries; no execution or retirement authorization", + "consumer_inventory": { + "index": "reproducibility/RefactorCoverageV1.json", + "discovery_record": "discovery_evidence", + "policy": "Use the complete P00 consumer graph, including lazy imports and historical consumers, before retiring any source; the groups below do not replace that graph." + }, + "legacy_package": { + "source_root": "perovskite-sim/perovskite_sim", + "wheel_root": "perovskite_sim", + "source_copies": 1, + "relocation": "none", + "excluded_alternative": "src/perovskite_sim", + "release_exclusion_task": "P09-01", + "retirement_task": "P09-03", + "retirement_condition": "Every transitive consumer has a reviewed replacement or an explicit retained RS owner." + }, + "execution_facade": { + "id": "legacy-engine", + "owner": "WS4", + "status": "implemented_W03", + "module": "solarlab_server.legacy_engine", + "path": "src/solarlab_server/legacy_engine/__init__.py", + "symbol": "prepare_legacy_job", + "signature": "prepare_legacy_job(invocation: LegacyExecutionContext, inputs: IdentityInputs, execution: ExecutionDescription, *, engine: ExecutionEngine, manifest: ExecutionManifest, expected_sha256: str) -> LegacyJob", + "submission": { + "symbol": "LegacyJob.submit", + "signature": "submit(self, supervisor: ProcessSupervisor, run_id: str, limits: ResourceLimits) -> JobHandle" + }, + "worker": { + "factory": "legacy_worker_binding", + "id": "legacy", + "symbol": "_run_legacy", + "signature": "_run_legacy(request: WorkerRequest, worker: WorkerContext) -> WorkerResult", + "registry": { + "id": "solarlab.legacy-facade-registry.v1", + "document": { + "drivers": [ + "ion_hysteresis", + "scaps_steady_state", + "scaps_transient" + ], + "engine": "legacy", + "fallback": "forbidden" + }, + "sha256": "13785ea9f62cbc9f333e31b5b709548ed0ccccec22d6587ac85f16e154390953" + }, + "request_schema": { + "id": "solarlab.legacy-facade-request.v1", + "document": { + "fields": [ + "engine", + "driver", + "input_id", + "input_base64", + "context_sha256" + ], + "version": 1 + }, + "sha256": "9343d90e4f2ad88835952c461ef9b98a85da3a1550d3060f8dc4242a39cbf332" + } + }, + "historical_planning": { + "source_commit": "a5b772e4fb9bee4bfd7417b9df0aeee267af3f59", + "source_path": "reproducibility/RefactorTransitionBoundariesV1.json", + "sha256": "e48bc39f8925f845a3195519b2e886421d981b554e6001f9c28ee180b6506284", + "scope": "historical_planning_bytes_at_source_commit; not the current registration", + "status": "planned_for_M1_not_implemented_by_WS2", + "symbol": "run", + "signature": "run(request: WorkerRequest, context: WorkerContext) -> WorkerResult" + }, + "dispatch": "solarlab.experiments.worker.WorkerBinding.from_function", + "executor": "solarlab.experiments.execution.ProcessSupervisor.submit", + "activation_task": "P06-06", + "exit_tasks": ["P06-06", "P09-03"], + "rules": [ + "One code-owned worker allowlist entry; request data cannot choose an import path.", + "Require an explicit ExecutionEngine in H_execution; engine-less preparation identities cannot execute.", + "Legacy execution requires the exact immutable BehaviorContext bound to the prepared device and selection.", + "Freeze the isolated child environment before importing the legacy engine; never change process-global environment during a job.", + "Record and return the chosen engine failure; never retry through another engine.", + "Core never imports this facade, perovskite_sim, server or research." + ] + }, + "data_adapters": [ + { + "module": "solarlab.config.legacy_wire", + "symbol": "prepare_legacy_wire", + "path": "src/solarlab/config/legacy_wire.py", + "role": "Single data-only reverse wire adapter; never an engine executor", + "owner": "WS2", + "exit_tasks": ["P06-06", "P06-07", "P06-08", "P09-03"] + }, + { + "module": "solarlab.config.legacy_defaults", + "symbol": "read_legacy_default_catalog", + "path": "src/solarlab/config/legacy_defaults.py", + "role": "Read source-bound legacy default declarations without importing the old engine", + "owner": "WS2", + "exit_tasks": ["P03-04", "P09-03"] + }, + { + "module": "solarlab.config.behavior", + "symbol": "inspect_historical_behavior", + "path": "src/solarlab/config/behavior.py", + "role": "Preparation-only historical effective-behavior inspection, with distinct declared values", + "owner": "WS2", + "exit_tasks": ["P03-04", "P09-03"] + } + ], + "consumer_groups": [ + { + "id": "legacy-http-jobs", + "paths": ["perovskite-sim/backend/main.py"], + "owner": "WS4", + "status": "retained_legacy_execution", + "replacement": "solarlab_server.legacy_engine followed by qualified solarlab executors", + "exit_tasks": ["P06-06", "P09-03"] + }, + { + "id": "legacy-celery", + "paths": ["perovskite-sim/backend/celery_app.py"], + "owner": "WS4", + "status": "retained_optional_entry_no_broker_run_claim", + "replacement": "Explicit worker binding and supported queue policy", + "exit_tasks": ["P06-04", "P06-06", "P09-03"] + }, + { + "id": "legacy-cli-and-registries", + "paths": [ + "perovskite-sim/scripts/run_device_parameter_sweep.py", + "perovskite-sim/scripts/run_material_screening.py", + "perovskite-sim/scripts/verify_reproducibility.py" + ], + "inventory_scope": "All active script and registry executor entries in the P00 graph, not just these representative paths", + "owner": "WS2/WS3; RS for research-qualified executors", + "status": "retained_legacy_executors", + "replacement": "Versioned experiment registry and explicit public executors", + "exit_tasks": ["P03-06", "P05-05", "P09-03"] + }, + { + "id": "legacy-2d", + "paths": [ + "perovskite-sim/perovskite_sim/twod/solver_2d.py", + "perovskite-sim/perovskite_sim/twod/experiments/jv_sweep_2d.py" + ], + "owner": "WS3/WS4", + "status": "retained_low_level_dependency_closure_pending", + "replacement": "Low-level geometry in solarlab.mesh; explicit public solver and experiment contracts", + "exit_tasks": ["P06-01", "P06-02", "P09-03"] + }, + { + "id": "retained-r1-and-reverse-research-consumers", + "paths": [ + "perovskite-sim/perovskite_sim/experiments/one_dimensional_mechanism_r1.py", + "perovskite-sim/perovskite_sim/experiments/interface_defect_ion_transient.py", + "perovskite-sim/perovskite_sim/experiments/defect_ion_combined_impedance.py" + ], + "inventory_scope": "All precision, backend, replay, certificate and archive consumers in the P00 graph", + "owner": "RS", + "status": "retained_until_RS_exit; not deleted to close product G9P", + "replacement": "solarlab_research public-contract migration with original certificate verification", + "exit_tasks": ["P07-01", "P07-05", "P09-03"] + }, + { + "id": "legacy-notebooks", + "paths": [ + "perovskite-sim/notebooks/Degradation.ipynb", + "perovskite-sim/notebooks/DeviceParameterSweep.ipynb", + "perovskite-sim/notebooks/Impedance.ipynb", + "perovskite-sim/notebooks/JvHysteresis.ipynb" + ], + "owner": "WS5", + "status": "retained_legacy_product_notebooks", + "replacement": "Reviewed notebook/experiment interfaces at the backend migration and the single user-entry switch", + "exit_tasks": ["P06-06", "P09-02", "P09-03"] + }, + { + "id": "retained-research-benchmark-tools", + "paths": [ + "scripts/benchmarks/coupled_device_prototype.py", + "scripts/benchmarks/diagnose_r1_saved_failure.py", + "scripts/benchmarks/g2_compare.py", + "scripts/benchmarks/hysteresis_qualification.py", + "scripts/benchmarks/hysteresis_reference.py", + "scripts/benchmarks/interval_observation.py", + "scripts/benchmarks/native_observation.py", + "scripts/benchmarks/nonlocal_device.py", + "scripts/benchmarks/physical_tolerance.py", + "scripts/benchmarks/precision_prototype.py" + ], + "owner": "RS", + "status": "retained_research_until_RS_exit", + "replacement": "Explicit RS-reviewed public-contract replacement or retained source-bound evidence reader", + "exit_tasks": ["P09-03"], + "research_retention": { + "condition": "No retirement until explicit RS consumer-exit review; preserve original hashes, failures and qualification", + "exit_owner": "RS", + "label": "research-retained" + } + }, + { + "id": "legacy-browser-wire", + "paths": [ + "web/src/api.ts", + "web/src/job-stream.ts" + ], + "owner": "WS4", + "status": "retained_legacy_wire_clients", + "replacement": "Registered product clients and the single reviewed user-entry switch", + "exit_tasks": ["P06-06", "P09-02", "P09-03"] + } + ], + "historical_evidence": { + "policy": "Keep original paths, source commits, digests, failures and verification algorithms; do not rewrite archives during path migration.", + "exit_tasks": ["P03-06", "P09-03", "P09-04"] + } +} diff --git a/reproducibility/ScapsComparisonContractV1.json b/reproducibility/ScapsComparisonContractV1.json new file mode 100644 index 00000000..9bc4abab --- /dev/null +++ b/reproducibility/ScapsComparisonContractV1.json @@ -0,0 +1,7716 @@ +{ + "schema": "solarlab.scaps_comparison_contract.v1", + "version": 1, + "status": "frozen_standard_reference_qualification_pending", + "created_at": "2026-10-05T09:04:55.273556+00:00", + "frozen_at": "2026-10-05T09:32:01.471161+00:00", + "independent_review": { + "status": "approved", + "reviewer_session": "01a10b53-17dc-7bf2-a3e0-f3902e5b5d96", + "reviewed_sha256": "30176e5af29d6b5a51eed398c57b4166cb5053b24479aea31e1c6934e9825966", + "scope": "Prospective reported-table limits, scope, trends, source-precision interpretation and calibration partition; all 20 alias discrepancies retain overlapping engineering intervals", + "root_freeze_authorization": "Current Dispatch task_7d300e222a52 explicitly authorizes freezing this unchanged standard", + "standard_sections_sha256": "a3af28e1c9dfc8d289fe3f82cd064f605d008cb8022b432ce47a1969954ff925", + "approved_scientific_sections_sha256": "f8721725be9d6a0b9a73e7401ba80f7b2e8d886bc1df75ab195fa7531185bd27", + "metadata_only_metric_status_update": true + }, + "candidate_results_consulted": false, + "source_capture_head": "0acc9d6cb7bd2e5c69cb3299a88522623c22bb37", + "governance": "Local proposal only; all global gate and acceptance activity is recorded solely in ExecutionStateV1.json", + "scope": "Prospective agreement with the reported SCAPS tables, with conditional native-JV comparison; no independent continuum/no-fit claim by default", + "source_bindings": [ + { + "root": "archive", + "path": "reference/ScapsParams.xlsx", + "sha256": "862cf0216b08558253268f4ec99fad3e93842c7ce1e9006874ecf03096e9ae3c", + "role": "reported_numeric_tables" + }, + { + "root": "archive", + "path": "reference/ScapsReport.pdf", + "sha256": "c212366e137d7a57bc70261af255481ad1b2fa3f3145cc9035978283336a62db", + "role": "21_page_partner_report" + }, + { + "root": "archive", + "path": "reference/ScapsManual.pdf", + "sha256": "30a06527672e5f13cb506e62ab8f8602eca7c7db06f6be350d88ccdd850727c1", + "role": "17_February_2016_manual" + }, + { + "root": "repository", + "path": "perovskite-sim/tests/integration/ScapsReference.json", + "sha256": "b1ae276c62e3ba1d44e7ffbb7e4cbf7bde76a070b01c552e23570a4180e62c84", + "role": "legacy_partial_fixture" + }, + { + "root": "repository", + "path": "perovskite-sim/configs/scaps_mirror_v2.yaml", + "sha256": "5500c9485f6a9518430511019546933277cdc3274fd3a005182394f39d2fcf67", + "role": "existing_calibrated_channel" + } + ], + "reference_set": { + "manifest_path": "reproducibility/RefactorReferenceManifestV1.json", + "manifest_groups_pointer": "/scaps/groups", + "manifest_groups_payload_sha256": "1ecb0dd74497ac8a4195e2cd063ea4acd342d723a53b70d14ea8c9eaae5ac472", + "payload_hash_rule": "SHA-256 of UTF-8 json.dumps(value, sort_keys=True, separators=(comma, colon), ensure_ascii=True, allow_nan=False); parsed integer/float values retained; not an RFC 8785 claim", + "groups": [ + { + "id": "scaps_cbo", + "worksheet": "CHI_ETL", + "kind": "curve", + "location": "ETL/PVK", + "axes": [ + { + "name": "CBO", + "unit_as_reported": "eV" + } + ], + "expected_points": 16, + "numeric_points": 14, + "expected_coordinates": [ + [ + -1 + ], + [ + -0.75 + ], + [ + -0.5 + ], + [ + -0.25 + ], + [ + -0.2 + ], + [ + -0.16 + ], + [ + -0.1 + ], + [ + -0.05 + ], + [ + 0 + ], + [ + 0.1 + ], + [ + 0.2 + ], + [ + 0.3 + ], + [ + 0.4 + ], + [ + 0.5 + ], + [ + 0.6 + ], + [ + 0.7 + ] + ] + }, + { + "id": "scaps_etl_donor", + "worksheet": "Nd_ETL", + "kind": "curve", + "location": "ETL", + "axes": [ + { + "name": "N_D", + "unit_as_reported": "cm^-3" + } + ], + "expected_points": 11, + "numeric_points": 11, + "expected_coordinates": [ + [ + 10000000000 + ], + [ + 100000000000 + ], + [ + 1000000000000 + ], + [ + 10000000000000 + ], + [ + 100000000000000 + ], + [ + 1000000000000000 + ], + [ + 1e+16 + ], + [ + 1e+17 + ], + [ + 1e+18 + ], + [ + 1e+19 + ], + [ + 1e+20 + ] + ] + }, + { + "id": "scaps_pvk_donor", + "worksheet": "Nd_PVK", + "kind": "curve", + "location": "PVK", + "axes": [ + { + "name": "N_D", + "unit_as_reported": "cm^-3" + } + ], + "expected_points": 6, + "numeric_points": 6, + "expected_coordinates": [ + [ + 100000000 + ], + [ + 10000000000 + ], + [ + 1000000000000 + ], + [ + 100000000000000 + ], + [ + 1e+16 + ], + [ + 1e+18 + ] + ] + }, + { + "id": "scaps_nt_htl_pvk", + "worksheet": "Nt_HTL PVK", + "kind": "curve", + "location": "HTL/PVK", + "axes": [ + { + "name": "Nt", + "unit_as_reported": "cm^-3" + } + ], + "expected_points": 7, + "numeric_points": 7, + "expected_coordinates": [ + [ + 1000000000 + ], + [ + 10000000000 + ], + [ + 100000000000 + ], + [ + 1000000000000 + ], + [ + 10000000000000 + ], + [ + 100000000000000 + ], + [ + 1000000000000000 + ] + ] + }, + { + "id": "scaps_nt_pvk_cb", + "worksheet": "Nt_C_PVK", + "kind": "curve", + "location": "Perovskite-CB", + "axes": [ + { + "name": "Nt", + "unit_as_reported": "cm^-3" + } + ], + "expected_points": 7, + "numeric_points": 7, + "expected_coordinates": [ + [ + 1000000000 + ], + [ + 10000000000 + ], + [ + 100000000000 + ], + [ + 1000000000000 + ], + [ + 10000000000000 + ], + [ + 100000000000000 + ], + [ + 1000000000000000 + ] + ] + }, + { + "id": "scaps_nt_pvk_vb", + "worksheet": "Nt_V_PVK", + "kind": "curve", + "location": "Perovskite-VB", + "axes": [ + { + "name": "Nt", + "unit_as_reported": "cm^-3" + } + ], + "expected_points": 7, + "numeric_points": 7, + "expected_coordinates": [ + [ + 1000000000 + ], + [ + 10000000000 + ], + [ + 100000000000 + ], + [ + 1000000000000 + ], + [ + 10000000000000 + ], + [ + 100000000000000 + ], + [ + 1000000000000000 + ] + ] + }, + { + "id": "scaps_nt_pvk_etl", + "worksheet": "Nt_PVK ETL", + "kind": "curve", + "location": "PVK/ETL", + "axes": [ + { + "name": "Nt", + "unit_as_reported": "cm^-3" + } + ], + "expected_points": 7, + "numeric_points": 7, + "expected_coordinates": [ + [ + 1000000000 + ], + [ + 10000000000 + ], + [ + 100000000000 + ], + [ + 1000000000000 + ], + [ + 10000000000000 + ], + [ + 100000000000000 + ], + [ + 1000000000000000 + ] + ] + }, + { + "id": "scaps_et_htl_pvk", + "worksheet": "Et_HTL PVK", + "kind": "curve", + "location": "HTL/PVK", + "axes": [ + { + "name": "Et", + "unit_as_reported": "eV" + } + ], + "expected_points": 8, + "numeric_points": 8, + "expected_coordinates": [ + [ + 0.01 + ], + [ + 0.05 + ], + [ + 0.1 + ], + [ + 0.2 + ], + [ + 0.3 + ], + [ + 0.4 + ], + [ + 0.5 + ], + [ + 0.6 + ] + ] + }, + { + "id": "scaps_et_pvk_cb", + "worksheet": "Et_C_PVK", + "kind": "curve", + "location": "Perovskite-CB", + "axes": [ + { + "name": "Et", + "unit_as_reported": "eV" + } + ], + "expected_points": 8, + "numeric_points": 8, + "expected_coordinates": [ + [ + 0.01 + ], + [ + 0.05 + ], + [ + 0.1 + ], + [ + 0.2 + ], + [ + 0.3 + ], + [ + 0.4 + ], + [ + 0.5 + ], + [ + 0.6 + ] + ] + }, + { + "id": "scaps_et_pvk_vb", + "worksheet": "Et_V_PVK", + "kind": "curve", + "location": "Perovskite-VB", + "axes": [ + { + "name": "Et", + "unit_as_reported": "eV" + } + ], + "expected_points": 8, + "numeric_points": 8, + "expected_coordinates": [ + [ + 0.01 + ], + [ + 0.05 + ], + [ + 0.1 + ], + [ + 0.2 + ], + [ + 0.3 + ], + [ + 0.4 + ], + [ + 0.5 + ], + [ + 0.6 + ] + ] + }, + { + "id": "scaps_et_pvk_etl", + "worksheet": "Et_PVK ETL", + "kind": "curve", + "location": "PVK/ETL", + "axes": [ + { + "name": "Et", + "unit_as_reported": "eV" + } + ], + "expected_points": 8, + "numeric_points": 8, + "expected_coordinates": [ + [ + 0.01 + ], + [ + 0.05 + ], + [ + 0.1 + ], + [ + 0.2 + ], + [ + 0.3 + ], + [ + 0.4 + ], + [ + 0.5 + ], + [ + 0.6 + ] + ] + }, + { + "id": "scaps_nt_et", + "worksheet": "pair-nt-et-pvk-etl", + "kind": "parameter_grid", + "location": "PVK/ETL", + "axes": [ + { + "name": "Nt", + "unit_as_reported": "cm^-3" + }, + { + "name": "Et", + "unit_as_reported": "eV" + } + ], + "expected_points": 56, + "numeric_points": 56, + "expected_coordinates": [ + [ + 1000000000, + 0.01 + ], + [ + 1000000000, + 0.05 + ], + [ + 1000000000, + 0.1 + ], + [ + 1000000000, + 0.2 + ], + [ + 1000000000, + 0.3 + ], + [ + 1000000000, + 0.4 + ], + [ + 1000000000, + 0.5 + ], + [ + 1000000000, + 0.6 + ], + [ + 10000000000, + 0.01 + ], + [ + 10000000000, + 0.05 + ], + [ + 10000000000, + 0.1 + ], + [ + 10000000000, + 0.2 + ], + [ + 10000000000, + 0.3 + ], + [ + 10000000000, + 0.4 + ], + [ + 10000000000, + 0.5 + ], + [ + 10000000000, + 0.6 + ], + [ + 100000000000, + 0.01 + ], + [ + 100000000000, + 0.05 + ], + [ + 100000000000, + 0.1 + ], + [ + 100000000000, + 0.2 + ], + [ + 100000000000, + 0.3 + ], + [ + 100000000000, + 0.4 + ], + [ + 100000000000, + 0.5 + ], + [ + 100000000000, + 0.6 + ], + [ + 1000000000000, + 0.01 + ], + [ + 1000000000000, + 0.05 + ], + [ + 1000000000000, + 0.1 + ], + [ + 1000000000000, + 0.2 + ], + [ + 1000000000000, + 0.3 + ], + [ + 1000000000000, + 0.4 + ], + [ + 1000000000000, + 0.5 + ], + [ + 1000000000000, + 0.6 + ], + [ + 10000000000000, + 0.01 + ], + [ + 10000000000000, + 0.05 + ], + [ + 10000000000000, + 0.1 + ], + [ + 10000000000000, + 0.2 + ], + [ + 10000000000000, + 0.3 + ], + [ + 10000000000000, + 0.4 + ], + [ + 10000000000000, + 0.5 + ], + [ + 10000000000000, + 0.6 + ], + [ + 100000000000000, + 0.01 + ], + [ + 100000000000000, + 0.05 + ], + [ + 100000000000000, + 0.1 + ], + [ + 100000000000000, + 0.2 + ], + [ + 100000000000000, + 0.3 + ], + [ + 100000000000000, + 0.4 + ], + [ + 100000000000000, + 0.5 + ], + [ + 100000000000000, + 0.6 + ], + [ + 1000000000000000, + 0.01 + ], + [ + 1000000000000000, + 0.05 + ], + [ + 1000000000000000, + 0.1 + ], + [ + 1000000000000000, + 0.2 + ], + [ + 1000000000000000, + 0.3 + ], + [ + 1000000000000000, + 0.4 + ], + [ + 1000000000000000, + 0.5 + ], + [ + 1000000000000000, + 0.6 + ] + ] + }, + { + "id": "scaps_nt_cbo", + "worksheet": "pair-nt-cbo-pvk-etl", + "kind": "parameter_grid", + "location": "PVK/ETL", + "axes": [ + { + "name": "Nt", + "unit_as_reported": "cm^-3" + }, + { + "name": "CBO", + "unit_as_reported": "eV" + } + ], + "expected_points": 112, + "numeric_points": 100, + "expected_coordinates": [ + [ + 1000000000, + -1 + ], + [ + 1000000000, + -0.75 + ], + [ + 1000000000, + -0.5 + ], + [ + 1000000000, + -0.25 + ], + [ + 1000000000, + -0.2 + ], + [ + 1000000000, + -0.16 + ], + [ + 1000000000, + -0.1 + ], + [ + 1000000000, + -0.05 + ], + [ + 1000000000, + 0 + ], + [ + 1000000000, + 0.1 + ], + [ + 1000000000, + 0.2 + ], + [ + 1000000000, + 0.3 + ], + [ + 1000000000, + 0.4 + ], + [ + 1000000000, + 0.5 + ], + [ + 1000000000, + 0.6 + ], + [ + 1000000000, + 0.7 + ], + [ + 10000000000, + -1 + ], + [ + 10000000000, + -0.75 + ], + [ + 10000000000, + -0.5 + ], + [ + 10000000000, + -0.25 + ], + [ + 10000000000, + -0.2 + ], + [ + 10000000000, + -0.16 + ], + [ + 10000000000, + -0.1 + ], + [ + 10000000000, + -0.05 + ], + [ + 10000000000, + 0 + ], + [ + 10000000000, + 0.1 + ], + [ + 10000000000, + 0.2 + ], + [ + 10000000000, + 0.3 + ], + [ + 10000000000, + 0.4 + ], + [ + 10000000000, + 0.5 + ], + [ + 10000000000, + 0.6 + ], + [ + 10000000000, + 0.7 + ], + [ + 100000000000, + -1 + ], + [ + 100000000000, + -0.75 + ], + [ + 100000000000, + -0.5 + ], + [ + 100000000000, + -0.25 + ], + [ + 100000000000, + -0.2 + ], + [ + 100000000000, + -0.16 + ], + [ + 100000000000, + -0.1 + ], + [ + 100000000000, + -0.05 + ], + [ + 100000000000, + 0 + ], + [ + 100000000000, + 0.1 + ], + [ + 100000000000, + 0.2 + ], + [ + 100000000000, + 0.3 + ], + [ + 100000000000, + 0.4 + ], + [ + 100000000000, + 0.5 + ], + [ + 100000000000, + 0.6 + ], + [ + 100000000000, + 0.7 + ], + [ + 1000000000000, + -1 + ], + [ + 1000000000000, + -0.75 + ], + [ + 1000000000000, + -0.5 + ], + [ + 1000000000000, + -0.25 + ], + [ + 1000000000000, + -0.2 + ], + [ + 1000000000000, + -0.16 + ], + [ + 1000000000000, + -0.1 + ], + [ + 1000000000000, + -0.05 + ], + [ + 1000000000000, + 0 + ], + [ + 1000000000000, + 0.1 + ], + [ + 1000000000000, + 0.2 + ], + [ + 1000000000000, + 0.3 + ], + [ + 1000000000000, + 0.4 + ], + [ + 1000000000000, + 0.5 + ], + [ + 1000000000000, + 0.6 + ], + [ + 1000000000000, + 0.7 + ], + [ + 10000000000000, + -1 + ], + [ + 10000000000000, + -0.75 + ], + [ + 10000000000000, + -0.5 + ], + [ + 10000000000000, + -0.25 + ], + [ + 10000000000000, + -0.2 + ], + [ + 10000000000000, + -0.16 + ], + [ + 10000000000000, + -0.1 + ], + [ + 10000000000000, + -0.05 + ], + [ + 10000000000000, + 0 + ], + [ + 10000000000000, + 0.1 + ], + [ + 10000000000000, + 0.2 + ], + [ + 10000000000000, + 0.3 + ], + [ + 10000000000000, + 0.4 + ], + [ + 10000000000000, + 0.5 + ], + [ + 10000000000000, + 0.6 + ], + [ + 10000000000000, + 0.7 + ], + [ + 100000000000000, + -1 + ], + [ + 100000000000000, + -0.75 + ], + [ + 100000000000000, + -0.5 + ], + [ + 100000000000000, + -0.25 + ], + [ + 100000000000000, + -0.2 + ], + [ + 100000000000000, + -0.16 + ], + [ + 100000000000000, + -0.1 + ], + [ + 100000000000000, + -0.05 + ], + [ + 100000000000000, + 0 + ], + [ + 100000000000000, + 0.1 + ], + [ + 100000000000000, + 0.2 + ], + [ + 100000000000000, + 0.3 + ], + [ + 100000000000000, + 0.4 + ], + [ + 100000000000000, + 0.5 + ], + [ + 100000000000000, + 0.6 + ], + [ + 100000000000000, + 0.7 + ], + [ + 1000000000000000, + -1 + ], + [ + 1000000000000000, + -0.75 + ], + [ + 1000000000000000, + -0.5 + ], + [ + 1000000000000000, + -0.25 + ], + [ + 1000000000000000, + -0.2 + ], + [ + 1000000000000000, + -0.16 + ], + [ + 1000000000000000, + -0.1 + ], + [ + 1000000000000000, + -0.05 + ], + [ + 1000000000000000, + 0 + ], + [ + 1000000000000000, + 0.1 + ], + [ + 1000000000000000, + 0.2 + ], + [ + 1000000000000000, + 0.3 + ], + [ + 1000000000000000, + 0.4 + ], + [ + 1000000000000000, + 0.5 + ], + [ + 1000000000000000, + 0.6 + ], + [ + 1000000000000000, + 0.7 + ] + ] + } + ], + "single_groups": 11, + "pair_groups": 2, + "expected_coordinates": 261, + "numeric_coordinates": 247, + "missing_coordinates": 14, + "base_record": { + "source": "ScapsReport.pdf", + "page": 2, + "values": { + "Voc_V": 1.1676, + "Jsc_mA_cm2": 26.281994, + "FF_percent": 86.99, + "PCE_percent": 26.69 + } + }, + "missing_points": [ + { + "group_id": "scaps_cbo", + "coordinates": [ + 0.6 + ], + "worksheet_row": 16, + "reference_status": "reference_missing", + "solver_execution_status": "unknown", + "reason": "source_summary_not_parsed" + }, + { + "group_id": "scaps_cbo", + "coordinates": [ + 0.7 + ], + "worksheet_row": 17, + "reference_status": "reference_missing", + "solver_execution_status": "unknown", + "reason": "source_summary_not_parsed" + }, + { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 100000000000, + 0.7 + ], + "worksheet_row": 49, + "reference_status": "reference_missing", + "solver_execution_status": "unknown", + "reason": "four_blank_metric_cells_in_original_workbook" + }, + { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 1000000000000, + 0.6 + ], + "worksheet_row": 64, + "reference_status": "reference_missing", + "solver_execution_status": "unknown", + "reason": "four_blank_metric_cells_in_original_workbook" + }, + { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 1000000000000, + 0.7 + ], + "worksheet_row": 65, + "reference_status": "reference_missing", + "solver_execution_status": "unknown", + "reason": "four_blank_metric_cells_in_original_workbook" + }, + { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 10000000000000, + 0.5 + ], + "worksheet_row": 79, + "reference_status": "reference_missing", + "solver_execution_status": "unknown", + "reason": "four_blank_metric_cells_in_original_workbook" + }, + { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 10000000000000, + 0.6 + ], + "worksheet_row": 80, + "reference_status": "reference_missing", + "solver_execution_status": "unknown", + "reason": "four_blank_metric_cells_in_original_workbook" + }, + { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 10000000000000, + 0.7 + ], + "worksheet_row": 81, + "reference_status": "reference_missing", + "solver_execution_status": "unknown", + "reason": "four_blank_metric_cells_in_original_workbook" + }, + { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 100000000000000, + 0.5 + ], + "worksheet_row": 95, + "reference_status": "reference_missing", + "solver_execution_status": "unknown", + "reason": "four_blank_metric_cells_in_original_workbook" + }, + { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 100000000000000, + 0.6 + ], + "worksheet_row": 96, + "reference_status": "reference_missing", + "solver_execution_status": "unknown", + "reason": "four_blank_metric_cells_in_original_workbook" + }, + { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 100000000000000, + 0.7 + ], + "worksheet_row": 97, + "reference_status": "reference_missing", + "solver_execution_status": "unknown", + "reason": "four_blank_metric_cells_in_original_workbook" + }, + { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 1000000000000000, + 0.5 + ], + "worksheet_row": 111, + "reference_status": "reference_missing", + "solver_execution_status": "unknown", + "reason": "four_blank_metric_cells_in_original_workbook" + }, + { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 1000000000000000, + 0.6 + ], + "worksheet_row": 112, + "reference_status": "reference_missing", + "solver_execution_status": "unknown", + "reason": "four_blank_metric_cells_in_original_workbook" + }, + { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 1000000000000000, + 0.7 + ], + "worksheet_row": 113, + "reference_status": "reference_missing", + "solver_execution_status": "unknown", + "reason": "four_blank_metric_cells_in_original_workbook" + } + ], + "legacy_fixture_coordinate_map": { + "axis_name_aliases": { + "Delta_E_C": "CBO", + "Et": "Et", + "Nt": "Nt" + }, + "pair_source_order": "x is Et or Delta_E_C in eV, y is Nt in reported cm^-3", + "canonical_order": "Nt first, Et or CBO second; join by declared axis name and value, never row or array position", + "single_CBO": "Map source B scan_value to the declared physical coordinate while preserving D delta_E_C_eV used by the legacy fixture; no implicit rounding" + } + }, + "completeness": { + "coordinate_join": "Exact named physical coordinates and defect-instance identity; map the source-declared CBO column once; never array position", + "expected_candidate_records": 261, + "required_numeric_reference_comparisons": 247, + "base_comparison_required": true, + "reported_data_agreement": "All 247 numeric rows and base metrics pass; retain and report all 14 missing-reference coordinates separately", + "full_reference_coverage": "Unresolved while 14 native reference rows are absent; cannot claim 261 numeric comparisons", + "candidate_failure": "A solver failure is a failure or unknown result even where no reference exists; never turn missing references into expected solver failures", + "source_mismatch": "Reject different source, units, target-defect instance, temperature, history or effective reconstruction identity", + "native_JV": "Compare complete native branches and supplied source coordinates when original J-V arrays exist; table comparison remains mandatory when native curves do not exist", + "existing_Scan2d_mismatch": "Old +0.05 replaces source -0.20 eV; 105 coordinate overlaps but only 93 numeric overlaps do not constitute complete pair coverage" + }, + "claim_channels": [ + { + "id": "reported_table_agreement_v1", + "allowed_claim": "Agreement with the specified published values under the explicitly reviewed reconstruction; native input uncertainty disclosed", + "unallowed_claim": "Independent no-fit validation or proof of SCAPS continuum accuracy" + }, + { + "id": "historical_scaps_mirror_v2_calibrated", + "allowed_claim": "Reproduction using the fixed current historical calibration, actual driver and input hashes", + "unallowed_claim": "Calibration success proves correct contact physics or native SCAPS parameter equivalence" + }, + { + "id": "independent_physics_validation", + "status": "not_qualified", + "extra_requirements": [ + "Native physical input identity", + "independent numerical accuracy", + "external source provenance and applicable uncertainty" + ] + } + ], + "reported_precision": { + "meaning": "Uncertainty of reported decimal values, not SCAPS discretization or modelling error", + "profile_status": "Conservative prospective interpretation requiring independent review; General-formatted trailing zeros are not recovered", + "per_group": [ + { + "group_id": "scaps_cbo", + "worksheet": "CHI_ETL", + "reported_column_resolution_floor": { + "Voc_V": 1e-06, + "Jsc_mA_cm2": 1e-08, + "FF_percent": 0.0001, + "PCE_percent": 0.0001 + }, + "xml_part": "xl/worksheets/sheet1.xml", + "rule": "One full last-reported decimal unit, at least the tabulated column floor; raw XML tokens retained separately because binary spreadsheet serialization adds digits and General format can drop trailing zeros" + }, + { + "group_id": "scaps_etl_donor", + "worksheet": "Nd_ETL", + "reported_column_resolution_floor": { + "Voc_V": 1e-06, + "Jsc_mA_cm2": 1e-08, + "FF_percent": 0.0001, + "PCE_percent": 0.0001 + }, + "xml_part": "xl/worksheets/sheet6.xml", + "rule": "One full last-reported decimal unit, at least the tabulated column floor; raw XML tokens retained separately because binary spreadsheet serialization adds digits and General format can drop trailing zeros" + }, + { + "group_id": "scaps_pvk_donor", + "worksheet": "Nd_PVK", + "reported_column_resolution_floor": { + "Voc_V": 1e-05, + "Jsc_mA_cm2": 0.0001, + "FF_percent": 0.0001, + "PCE_percent": 0.0001 + }, + "xml_part": "xl/worksheets/sheet13.xml", + "rule": "One full last-reported decimal unit, at least the tabulated column floor; raw XML tokens retained separately because binary spreadsheet serialization adds digits and General format can drop trailing zeros" + }, + { + "group_id": "scaps_nt_htl_pvk", + "worksheet": "Nt_HTL PVK", + "reported_column_resolution_floor": { + "Voc_V": 1e-06, + "Jsc_mA_cm2": 1e-08, + "FF_percent": 0.0001, + "PCE_percent": 0.0001 + }, + "xml_part": "xl/worksheets/sheet7.xml", + "rule": "One full last-reported decimal unit, at least the tabulated column floor; raw XML tokens retained separately because binary spreadsheet serialization adds digits and General format can drop trailing zeros" + }, + { + "group_id": "scaps_nt_pvk_cb", + "worksheet": "Nt_C_PVK", + "reported_column_resolution_floor": { + "Voc_V": 1e-06, + "Jsc_mA_cm2": 1e-08, + "FF_percent": 0.0001, + "PCE_percent": 0.0001 + }, + "xml_part": "xl/worksheets/sheet8.xml", + "rule": "One full last-reported decimal unit, at least the tabulated column floor; raw XML tokens retained separately because binary spreadsheet serialization adds digits and General format can drop trailing zeros" + }, + { + "group_id": "scaps_nt_pvk_vb", + "worksheet": "Nt_V_PVK", + "reported_column_resolution_floor": { + "Voc_V": 1e-06, + "Jsc_mA_cm2": 1e-08, + "FF_percent": 0.0001, + "PCE_percent": 0.0001 + }, + "xml_part": "xl/worksheets/sheet10.xml", + "rule": "One full last-reported decimal unit, at least the tabulated column floor; raw XML tokens retained separately because binary spreadsheet serialization adds digits and General format can drop trailing zeros" + }, + { + "group_id": "scaps_nt_pvk_etl", + "worksheet": "Nt_PVK ETL", + "reported_column_resolution_floor": { + "Voc_V": 1e-06, + "Jsc_mA_cm2": 1e-08, + "FF_percent": 0.0001, + "PCE_percent": 0.0001 + }, + "xml_part": "xl/worksheets/sheet9.xml", + "rule": "One full last-reported decimal unit, at least the tabulated column floor; raw XML tokens retained separately because binary spreadsheet serialization adds digits and General format can drop trailing zeros" + }, + { + "group_id": "scaps_et_htl_pvk", + "worksheet": "Et_HTL PVK", + "reported_column_resolution_floor": { + "Voc_V": 1e-06, + "Jsc_mA_cm2": 1e-08, + "FF_percent": 0.0001, + "PCE_percent": 0.0001 + }, + "xml_part": "xl/worksheets/sheet2.xml", + "rule": "One full last-reported decimal unit, at least the tabulated column floor; raw XML tokens retained separately because binary spreadsheet serialization adds digits and General format can drop trailing zeros" + }, + { + "group_id": "scaps_et_pvk_cb", + "worksheet": "Et_C_PVK", + "reported_column_resolution_floor": { + "Voc_V": 1e-06, + "Jsc_mA_cm2": 1e-08, + "FF_percent": 0.0001, + "PCE_percent": 0.0001 + }, + "xml_part": "xl/worksheets/sheet3.xml", + "rule": "One full last-reported decimal unit, at least the tabulated column floor; raw XML tokens retained separately because binary spreadsheet serialization adds digits and General format can drop trailing zeros" + }, + { + "group_id": "scaps_et_pvk_vb", + "worksheet": "Et_V_PVK", + "reported_column_resolution_floor": { + "Voc_V": 1e-06, + "Jsc_mA_cm2": 1e-08, + "FF_percent": 0.0001, + "PCE_percent": 0.0001 + }, + "xml_part": "xl/worksheets/sheet5.xml", + "rule": "One full last-reported decimal unit, at least the tabulated column floor; raw XML tokens retained separately because binary spreadsheet serialization adds digits and General format can drop trailing zeros" + }, + { + "group_id": "scaps_et_pvk_etl", + "worksheet": "Et_PVK ETL", + "reported_column_resolution_floor": { + "Voc_V": 1e-06, + "Jsc_mA_cm2": 1e-08, + "FF_percent": 0.0001, + "PCE_percent": 0.0001 + }, + "xml_part": "xl/worksheets/sheet4.xml", + "rule": "One full last-reported decimal unit, at least the tabulated column floor; raw XML tokens retained separately because binary spreadsheet serialization adds digits and General format can drop trailing zeros" + }, + { + "group_id": "scaps_nt_et", + "worksheet": "pair-nt-et-pvk-etl", + "reported_column_resolution_floor": { + "Voc_V": 1e-06, + "Jsc_mA_cm2": 1e-08, + "FF_percent": 0.0001, + "PCE_percent": 0.0001 + }, + "xml_part": "xl/worksheets/sheet12.xml", + "rule": "One full last-reported decimal unit, at least the tabulated column floor; raw XML tokens retained separately because binary spreadsheet serialization adds digits and General format can drop trailing zeros" + }, + { + "group_id": "scaps_nt_cbo", + "worksheet": "pair-nt-cbo-pvk-etl", + "reported_column_resolution_floor": { + "Voc_V": 1e-06, + "Jsc_mA_cm2": 1e-08, + "FF_percent": 0.0001, + "PCE_percent": 0.0001 + }, + "xml_part": "xl/worksheets/sheet11.xml", + "rule": "One full last-reported decimal unit, at least the tabulated column floor; raw XML tokens retained separately because binary spreadsheet serialization adds digits and General format can drop trailing zeros" + } + ], + "base_rounding_bounds": { + "Voc_V": 0.0001, + "Jsc_mA_cm2": 1e-06, + "FF_percent": 0.01, + "PCE_percent": 0.01 + }, + "extraction": "All 988 metric values over 247 rows equal the binary values parsed from the workbook XML; 241 rows are also in the legacy fixture and six Nd_PVK rows are additional; retain original XML number spellings without treating their extra serialization digits as report precision", + "SCAPS_continuum_error": "Unknown; a new SCAPS mesh/bias run is not a prerequisite for reported-table agreement and is required only for a stronger claim through an available authorized native route", + "source_diagnostic": { + "root": "archive", + "path": "test/ArchitectureRefactor/Stage00/ScapsTableProvenanceV1.json", + "sha256": "8a822fbfaa373629488342a971a7188d3a490fb6022e943dd587f030ec4734db", + "role": "raw_cell_tokens_precision_and_alias_diagnostics" + }, + "per_coordinate_bounds_pointer": "/per_group/*/rows/*/metric_error" + }, + "pointwise_gates": { + "Voc_V": { + "unit": "V", + "atol": 0.002, + "rtol": 0.0, + "physical_design_reason": "2 mV is 0.2% of a fixed 1 V device scale, about 0.08 kT/q at 300 K; it is an engineering agreement allowance, not a contact or nonlinear-solver gate", + "rule": "sum", + "scale": "abs_reference", + "source_rounding_added_separately": true, + "numerical_error_fraction_max": 0.3333333333333333, + "status": "frozen_threshold_reference_qualification_pending" + }, + "Jsc_mA_cm2": { + "unit": "mA/cm^2", + "atol": 0.02, + "rtol": 0.002, + "physical_design_reason": "0.02 mA/cm2 is 0.2 A/m2; plus 0.2% of the reference current, avoiding division by zero and bounding charge-collection discrepancies", + "rule": "sum", + "scale": "abs_reference", + "source_rounding_added_separately": true, + "numerical_error_fraction_max": 0.3333333333333333, + "status": "frozen_threshold_reference_qualification_pending" + }, + "FF_percent": { + "unit": "percentage_point", + "atol": 0.2, + "rtol": 0.002, + "physical_design_reason": "0.20 percentage point is 0.002 as a fraction; plus 0.2% relative permits a sub-percent power-shape difference at normal FF while retaining a near-zero absolute rule", + "rule": "sum", + "scale": "abs_reference", + "source_rounding_added_separately": true, + "numerical_error_fraction_max": 0.3333333333333333, + "status": "frozen_threshold_reference_qualification_pending" + }, + "PCE_percent": { + "unit": "percentage_point", + "atol": 0.1, + "rtol": 0.005, + "physical_design_reason": "0.10 percentage point equals 1 W/m2 at 1000 W/m2 incident power; plus 0.5% relative limits useful-power error independently of compensating Voc/Jsc/FF errors", + "rule": "sum", + "scale": "abs_reference", + "source_rounding_added_separately": true, + "numerical_error_fraction_max": 0.3333333333333333, + "status": "frozen_threshold_reference_qualification_pending" + } + }, + "gate_evaluation": { + "formula": "abs(candidate-reference) <= A_q + R_q*abs(reference) + u_report(q, coordinate)", + "near_zero": "Use A_q + u_report with no division by reference; missing/undefined FF, PCE or Voc remains null with reason", + "rounding_fraction": "u_report <= one third of the full comparison allowance; otherwise the reported value is too coarse for this gate and remains unresolved", + "SolarLab_precision": "Sum independently bounded spatial, bias/time, nonlinear/current-extraction errors conservatively; require total <= min(the separately declared internal numerical target, (A_q+R_q*abs(reference))/3) before agreement is eligible", + "not_a_derived_fact": "A_q and R_q are explicit engineering proposals, motivated by dimensional power/collection effects; they are not mathematically implied by reported digits or chosen from a new candidate error", + "freeze_rule": "Root independently approves exact scope and numeric limits, records full source/gate/environment/input hashes and frozen_at < run_started_at before the first candidate run", + "failure_policy": "Keep failures, investigate cause, refine within a new explicitly approved attempt; never adjust these limits to fit results" + }, + "SolarLab_numerical_prerequisite": { + "status": "proposed_requires_independent_refinement_before_external_acceptance", + "targets": { + "Voc_V": { + "atol": 0.0001, + "rtol": 0.0 + }, + "Jsc_mA_cm2": { + "atol": 0.0001, + "rtol": 0.0001 + }, + "FF_percent": { + "atol": 0.001, + "rtol": 0.0001 + }, + "PCE_percent": { + "atol": 0.0001, + "rtol": 0.0001 + } + }, + "meaning": "Retain section 14 internal Voc/relative targets; proposed small dimensional floors handle zero signals. These internal targets do not define the external reported-table limits.", + "floor_dimensions": "J floor=0.001 A/m2; FF floor=1e-5 fraction; PCE floor=0.001 W/m2 at the declared 1000 W/m2 illumination hypothesis", + "total_error_rule": "For each metric, sum independent spatial, bias/time, nonlinear and observable-extraction bounds; no cancellation or reference-table rounding substituted for a SolarLab error estimate", + "required_evidence": "Freeze the actual driver and supported controls; resolve thin transport layers/interfaces on the actual mesh and use at least three levels on sentinel regimes then an adjacent verification on every other required coordinate; brackets, slopes, MPP search and fallback status must be recorded", + "old_registry_limit": "The existing 30/60/90 frozen-ion scaps_mirror registry lane has a different configuration and cannot certify mirror_v2 or the reconstructed 13-group sweep" + }, + "shape_gates": { + "axes": "Use log10 of donor/Nt for logarithmic axes and the reported eV coordinate for Et/CBO; keep CB and VB defects separate", + "difference": "For each pair of adjacent indices on the full frozen axis with both endpoints observed, compare delta_q=q_next-q_prev with allowance L_next+L_prev; slope allowance divides by that fixed coordinate spacing. Never bridge a missing index to the next available point. L_i includes its fixed engineering limit and source rounding.", + "resolved_sign": "Require matching sign when abs(delta_ref)>L_next+L_prev; smaller variations are explicitly unresolved at this agreement budget, not asserted flat or monotonic", + "turning_points": "A resolvable turning point has adjacent differences of opposite resolved sign; candidate must retain the sign reversal within the same bracket or one immediate source interval, never across a missing point", + "optimum_set": "For source q_i with L_i, admissible indices satisfy q_i+L_i >= max_j(q_j-L_j); candidate maximum must lie in this set and source regret at that coordinate <= L_i+L_at_source_max", + "flat_or_tied": "No unique optimum/turning coordinate is required where uncertainty intervals overlap; report the admissible sampled set", + "coupling": "For every fully observed adjacent 2x2 rectangle, C=q11-q10-q01+q00; require abs(C_new-C_ref)<=sum_four_corner_L and matching sign when abs(C_ref)>sum_four_corner_L", + "coupling_units": "Report C in original metric units and C/(delta_logNt*delta_E) in metric per decade-eV; no position-based reshape", + "missing_rectangle": "Any missing corner is reference_missing; report counts and do not include it in a passed numeric denominator", + "aggregates": "All pointwise gates plus resolved shape/coupling checks must pass; Pearson/rank correlation and average error alone cannot accept", + "numeric_multipliers": { + "difference_budget_multiplier": 1.0, + "coupling_budget_multiplier": 1.0, + "turn_bracket_extra_intervals_max": 1 + }, + "global_optimum_scope": "Optimum claims only over observed points; the 14 missing coordinates preclude an unqualified full-grid global optimum" + }, + "power_consistency": { + "formula": "PCE_percent = Voc_V * Jsc_mA_cm2 * FF_percent / Pin_mW_cm2", + "Pin_policy": "100 mW/cm2 is an explicit reconstruction assumption until native illumination evidence is supplied; compare its consistency with source tuples but do not fit Pin per point", + "required_check": "Report Pmax=Pin*PCE/100 and propagated Voc/Jsc/FF error; require the direct PCE gate as well, so compensating metric errors do not hide loss", + "base_design_example": { + "Voc_V": { + "reference": 1.1676, + "engineering_allowance": 0.002 + }, + "Jsc_mA_cm2": { + "reference": 26.281994, + "engineering_allowance": 0.07256398800000001 + }, + "FF_percent": { + "reference": 86.99, + "engineering_allowance": 0.37398 + }, + "PCE_percent": { + "reference": 26.69, + "engineering_allowance": 0.23345000000000002 + } + } + }, + "input_interpretation": { + "manual_date": "2016-02-17", + "manual_page_numbers": "PDF pages; printed page is PDF minus 8", + "resolved_general_semantics": [ + { + "field": "capture cross section", + "meaning": "cm^2 for both bulk and interface", + "source_pages": [ + 92, + 93 + ], + "report_conflict": "Report cm^-3 header is dimensionally inconsistent" + }, + { + "field": "bulk Ntotal/Npeak", + "meaning": "cm^-3 and cm^-3 eV^-1", + "source_pages": [ + 33, + 92 + ] + }, + { + "field": "interface Ntotal/Npeak", + "meaning": "cm^-2 and cm^-2 eV^-1", + "source_pages": [ + 93 + ] + }, + { + "field": "bulk Et reference", + "meaning": "above EV, below EC, or above Ei are distinct explicit choices", + "source_pages": [ + 34, + 92 + ] + }, + { + "field": "interface Et reference", + "meaning": "above highest EV, above left EV, below lowest EC, or specified Ei reference are distinct", + "source_pages": [ + 93 + ] + }, + { + "field": "Gaussian width", + "meaning": "g(E)=Npeak exp(-((E-Et)/Echar)^2), default support +/-3 Echar and default 7 discrete levels in this manual", + "source_pages": [ + 33, + 51 + ] + }, + { + "field": "contacts", + "meaning": "User work function or flat-band setting with charge neutrality are explicit; a default is not evidence of the original choice", + "source_pages": [ + 17 + ] + }, + { + "field": "interfaces", + "meaning": "Thermionic interface transport and Pauwels-Vanhoutte recombination, with two neighboring layers", + "source_pages": [ + 38 + ] + } + ], + "Gaussian_consistency": { + "given_total": 1000000000000.0, + "given_peak": 564000000.0, + "Echar_eV": 0.1, + "integral_factor_eV": 0.17724146965190427, + "total_from_reported_peak_same_units": 99964188.883674, + "peak_required_by_reported_total_same_units": 5642020470513.832, + "status": "inconsistent_by_about_four_orders_of_magnitude_even_before_topology_or_gap_truncation; no automatic repair" + }, + "unit_conversions": { + "nm_to_m": 1e-09, + "cm_minus3_to_m_minus3": 1000000.0, + "cm_minus2_to_m_minus2": 10000.0, + "cm2_to_m2": 0.0001, + "mobility_cm2_Vs_to_m2_Vs": 0.0001, + "radiative_cm3_s_to_m3_s": 1e-06, + "Auger_cm6_s_to_m6_s": 1e-12, + "J_mA_cm2_to_A_m2": 10, + "FF_percent_to_fraction": 0.01 + }, + "reconstruction_channel": { + "id": "scaps_report_reconstruction_v1", + "status": "proposal_no_production_input_change", + "fixed_report_inputs": "All page 1 layer values and four separately identified neutral defects; CBO=chi_PVK-chi_ETL with chi_PVK=3.94 eV", + "proposed_topology": "HTL/PVK and PVK/ETL as distinct zero-thickness interface defects; Perovskite-CB and Perovskite-VB as distinct bulk defects", + "density_dimension_hypothesis": "For this proposed interface channel, interpret each interface scan numeral as Ntotal in cm^-2 and label the source header cm^-3 as unresolved. This is an explicit input hypothesis requiring review, not a cm^-3-to-cm^-2 conversion; no unreported thickness may be inserted. Preserve report coordinates and a separate effective-unit field.", + "proposed_energy_reference": "CB bulk below absorber EC, VB bulk above absorber EV, interface below lowest neighboring EC; these are declared hypotheses requiring review, not recovered native settings", + "Gaussian_choice": "If a total-density reconstruction is approved, honor reported Ntotal and derive the peak using declared width/support; reject reported Npeak as an inconsistent redundant input. This creates a distinct physics/input channel and does not silently change mirror_v2.", + "unresolved_fields": [ + "Native SCAPS version/input deck and whether defect labels denote layer or true interface entries", + "Exact energy reference, Gaussian quadrature/truncation and which total/peak value was actually entered", + "Temperature/statistics", + "Contact work functions and carrier reservoirs", + "Incident spectrum/intensity, reflection, absorption and generation profile", + "Ion absence/immobile inventory and compensating background", + "Steady bias/initialization/fallback and solver controls" + ], + "legacy_channel_policy": "For historical mirror_v2 reproduction use the pinned existing configuration and actual effective settings; do not claim the native SCAPS physical fields have thereby been recovered" + } + }, + "optional_calibration": { + "default": "disabled; first assess the fixed historical calibration or reviewed reconstruction", + "historical_fixed_parameters": { + "het_recomb_despike": 0.53, + "contact_phi_B_eV": 0.42, + "HTL_PVK_iface_factor": 0.02, + "PVK_ETL_iface_factor": 0.1 + }, + "optional_fit_scope": "Only the two existing global interface recombination factors may vary after independent approval; lock contact offset and de-spike at their declared historical values", + "parameter_bounds": { + "HTL_PVK_iface_factor": [ + 0.001, + 1.0 + ], + "PVK_ETL_iface_factor": [ + 0.001, + 1.0 + ] + }, + "bound_rationale": "Dimensionless attenuation in (0,1]; the lower bound is an explicit three-decade engineering search domain, not an inferred defect measurement", + "forbidden_fit_parameters": [ + "Per-point scales", + "report coordinates or metrics", + "unit conversion", + "Gaussian total/peak inconsistency", + "light spectrum/intensity", + "material bandgap/mobility/doping", + "reference uncertainty or tolerance" + ], + "prospective_training_rule": "First group all aliases of a declared reconstructed condition; nominal aliases train, all other conditions appearing anywhere in a pair grid validate, remaining single-only interior indices i mod 3 == 1 train, all remaining conditions validate", + "partition_identity": "Conservatively keep every possibly identical reconstructed condition in one partition; normalize numeric spelling only in the partition key. No execution reuse is allowed until full effective input/protocol identity is proved.", + "partition_context_sha256": "daaedea2801bbcaf5f0f232e73d141aa37af912e2aeeb96235d041cbc63da9e2", + "partition_context": { + "channel": "declared_report_reconstruction_v1", + "reported_base": { + "source_id": "scaps_pdf", + "page": 1, + "scope": "Transcribed report values; not an original executable input deck", + "layers": [ + "HTL", + "PVK", + "ETL" + ], + "parameters": { + "thickness_nm": [ + 20, + 800, + 25 + ], + "bandgap_eV": [ + 3.25, + 1.53, + 1.9 + ], + "electron_affinity_eV": [ + 2.4, + 3.94, + 4.1 + ], + "relative_permittivity": [ + 11.75, + 31, + 4.2 + ], + "NC_cm3": [ + 2.5e+20, + 1e+19, + 8e+19 + ], + "NV_cm3": [ + 2.5e+20, + 1e+19, + 8e+19 + ], + "electron_thermal_velocity_cm_s": [ + 10000000.0, + 10000000.0, + 10000000.0 + ], + "hole_thermal_velocity_cm_s": [ + 10000000.0, + 10000000.0, + 10000000.0 + ], + "electron_mobility_cm2_Vs": [ + 0.001, + 20, + 0.01 + ], + "hole_mobility_cm2_Vs": [ + 0.001, + 20, + 1e-05 + ], + "donor_density_cm3": [ + 0, + 100000000000000.0, + 1e+18 + ], + "acceptor_density_cm3": [ + 1e+18, + 0, + 0 + ], + "radiative_coefficient_cm3_s": [ + 0, + 1e-12, + 0 + ], + "Auger_electron_coefficient_cm6_s": [ + 0, + 2.3e-29, + 0 + ], + "Auger_hole_coefficient_cm6_s": [ + 0, + 2.3e-29, + 0 + ] + }, + "defect_columns": [ + "HTL/Perovskite", + "Perovskite-CB", + "Perovskite-VB", + "Perovskite/ETL" + ], + "defect_parameters_as_reported": { + "type": [ + "Neutral", + "Neutral", + "Neutral", + "Neutral" + ], + "sigma_electrons": [ + 1e-19, + 1e-15, + 1e-15, + 1e-19 + ], + "sigma_holes": [ + 1e-19, + 1e-15, + 1e-15, + 1e-19 + ], + "sigma_header_unit": "cm^-3 (inconsistent with a cross-section; not silently corrected)", + "distribution": [ + "Single", + "Single", + "Single", + "Gaussian" + ], + "energy_level_eV": [ + 0.6, + 0.1, + 0.1, + 0.6 + ], + "characteristic_energy_eV": [ + null, + null, + null, + 0.1 + ], + "total_density_as_reported_cm3": [ + 1000000000000.0, + 1000000000000.0, + 1000000000000.0, + 1000000000000.0 + ], + "peak_density_as_reported_cm3": [ + null, + null, + null, + 564000000.0 + ] + }, + "native_energy_reference_and_interface_topology": "unconfirmed; requires original defect records" + }, + "unresolved_native_fields": [ + { + "id": "native_device", + "status": "not_available_in_inspected_source_roots", + "scope_effect": "Preserve as an unavailable-input field; resolve or explicitly scope it in the independently reviewed comparison channel, without assuming native inputs or continuum certification", + "unavailable_source_or_field": "def/PVK-xy.scaps and linked layer/defect files" + }, + { + "id": "native_result_exports", + "status": "not_available_in_inspected_source_roots", + "scope_effect": "Preserve as an unavailable-input field; resolve or explicitly scope it in the independently reviewed comparison channel, without assuming native inputs or continuum certification", + "unavailable_source_or_field": "pair-nt-et-pvk-etl-xy_results.csv and pair-nt-cbo-pvk-etl-xy_results.csv, full JV curves and per-point solver logs" + }, + { + "id": "runtime_identity", + "status": "not_available_in_inspected_source_roots", + "scope_effect": "Preserve as an unavailable-input field; resolve or explicitly scope it in the independently reviewed comparison channel, without assuming native inputs or continuum certification", + "unavailable_source_or_field": "SCAPS version, executable, source input deck and mesh/convergence controls" + }, + { + "id": "temperature_statistics", + "status": "not_available_in_inspected_source_roots", + "scope_effect": "Preserve as an unavailable-input field; resolve or explicitly scope it in the independently reviewed comparison channel, without assuming native inputs or continuum certification", + "unavailable_source_or_field": "Actual temperature, carrier statistics and thermal/DOS conventions" + }, + { + "id": "contacts", + "status": "not_available_in_inspected_source_roots", + "scope_effect": "Preserve as an unavailable-input field; resolve or explicitly scope it in the independently reviewed comparison channel, without assuming native inputs or continuum certification", + "unavailable_source_or_field": "Left/right work functions, carrier reservoirs, barriers, velocities and boundary conditions" + }, + { + "id": "light_optics", + "status": "not_available_in_inspected_source_roots", + "scope_effect": "Preserve as an unavailable-input field; resolve or explicitly scope it in the independently reviewed comparison channel, without assuming native inputs or continuum certification", + "unavailable_source_or_field": "Spectrum/content, intensity, illumination side, reflection/transmission, optical generation, absorption data and optical-only layers" + }, + { + "id": "ion_state", + "status": "not_available_in_inspected_source_roots", + "scope_effect": "Preserve as an unavailable-input field; resolve or explicitly scope it in the independently reviewed comparison channel, without assuming native inputs or continuum certification", + "unavailable_source_or_field": "Native ion-free/immobile inventory state and background assumptions" + }, + { + "id": "steady_protocol", + "status": "not_available_in_inspected_source_roots", + "scope_effect": "Preserve as an unavailable-input field; resolve or explicitly scope it in the independently reviewed comparison channel, without assuming native inputs or continuum certification", + "unavailable_source_or_field": "Initial state, bias path, continuation/stopping rules, fallback, full output sampling and convergence evidence" + } + ] + }, + "partition_base_parameters": { + "CBO": -0.16, + "ETL.N_D": 1e+18, + "PVK.N_D": 100000000000000.0, + "HTL/PVK.Nt": 1000000000000.0, + "Perovskite-CB.Nt": 1000000000000.0, + "Perovskite-VB.Nt": 1000000000000.0, + "PVK/ETL.Nt": 1000000000000.0, + "HTL/PVK.Et": 0.6, + "Perovskite-CB.Et": 0.1, + "Perovskite-VB.Et": 0.1, + "PVK/ETL.Et": 0.6 + }, + "split": [ + { + "group_id": "scaps_cbo", + "coordinates": [ + -1 + ], + "worksheet_row": 2, + "reconstructed_condition_sha256": "5f4d1626f6e9fd66366817009d35fc891e475c1ca5a8ee6221f5ec814e479572", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_cbo", + "coordinates": [ + -0.75 + ], + "worksheet_row": 3, + "reconstructed_condition_sha256": "a228c7a712583567582fafacd42ee30283d45e07efeed1dab2dee70768aad8b3", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_cbo", + "coordinates": [ + -0.5 + ], + "worksheet_row": 4, + "reconstructed_condition_sha256": "203bc83717f5092735d024d47ac3c39940af4b49806859463cdebf1b143a7b29", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_cbo", + "coordinates": [ + -0.25 + ], + "worksheet_row": 5, + "reconstructed_condition_sha256": "0ca1d11cd2f8c716c4cbd2e92440c717b6cb10139be26a561abc6a096e9c5357", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_cbo", + "coordinates": [ + -0.2 + ], + "worksheet_row": 6, + "reconstructed_condition_sha256": "68eecd6b2bb3f1e24c6320a0d4f45265eadf6073c59d9d811bb7d224e974426c", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_cbo", + "coordinates": [ + -0.16 + ], + "worksheet_row": 7, + "reconstructed_condition_sha256": "9880e134cd30e9dae442bb8fee992e0b230a3230b9f5cb36bf36bc777071e435", + "partition": "training", + "nominal_alias": true + }, + { + "group_id": "scaps_cbo", + "coordinates": [ + -0.1 + ], + "worksheet_row": 8, + "reconstructed_condition_sha256": "0b673dcea45595b4f288d61565f8dbcf10b4954d1791a8ae00d65ea1a5e2255a", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_cbo", + "coordinates": [ + -0.05 + ], + "worksheet_row": 9, + "reconstructed_condition_sha256": "cb1976c12dd0cb6863d2633c7148ee7dda4597e5990d766707d9c57cbc17d02e", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_cbo", + "coordinates": [ + 0 + ], + "worksheet_row": 10, + "reconstructed_condition_sha256": "213ee9e719d064af57035ee44b8688d80a115de62fd6267ac30d261dee5ddae1", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_cbo", + "coordinates": [ + 0.1 + ], + "worksheet_row": 11, + "reconstructed_condition_sha256": "ea61e24cb62f9d2c24a06d078ebebc047d12b49a9da311b9d61661a05770acc7", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_cbo", + "coordinates": [ + 0.2 + ], + "worksheet_row": 12, + "reconstructed_condition_sha256": "abc13693afee0c893d9619b9af2d641834b1659cb219b87f67b058e881f94bc7", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_cbo", + "coordinates": [ + 0.3 + ], + "worksheet_row": 13, + "reconstructed_condition_sha256": "946b4e8b57625a5fc732321efcec943821944088b8624705d7d1cb87ba55ce6b", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_cbo", + "coordinates": [ + 0.4 + ], + "worksheet_row": 14, + "reconstructed_condition_sha256": "3a643f340626fd3315a93d983c60ba702a2ede19c0e3757c07c2e13088446205", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_cbo", + "coordinates": [ + 0.5 + ], + "worksheet_row": 15, + "reconstructed_condition_sha256": "16bc4117c056fa07a9c05b5fe7ad117ca93cbc713d414a4d93cf8f619135ec0e", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_etl_donor", + "coordinates": [ + 10000000000 + ], + "worksheet_row": 2, + "reconstructed_condition_sha256": "2266f609e8d143f4c269034d2925fe6e44228bb0b177f8419c99020782906111", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_etl_donor", + "coordinates": [ + 100000000000 + ], + "worksheet_row": 3, + "reconstructed_condition_sha256": "bdc3fe02d559e95b1904100d7f15bbb68ce5663513319341895c3015b6c8383d", + "partition": "training", + "nominal_alias": false + }, + { + "group_id": "scaps_etl_donor", + "coordinates": [ + 1000000000000 + ], + "worksheet_row": 4, + "reconstructed_condition_sha256": "838d1cca4fe16406f83235a841d8dff26b5acf76f2dec57c80f692bc44bc8f58", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_etl_donor", + "coordinates": [ + 10000000000000 + ], + "worksheet_row": 5, + "reconstructed_condition_sha256": "7af3feb56e1377c4fc942fb76ac86b68d85147beb3c97858adc09bc307d9966d", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_etl_donor", + "coordinates": [ + 100000000000000 + ], + "worksheet_row": 6, + "reconstructed_condition_sha256": "578e23721ba8114c7cf05a12b36756c04bf83848e24eca6d85813337e30129fb", + "partition": "training", + "nominal_alias": false + }, + { + "group_id": "scaps_etl_donor", + "coordinates": [ + 1000000000000000 + ], + "worksheet_row": 7, + "reconstructed_condition_sha256": "a9b26825645e64e279fc11d4a88ebc0e14c2909d3bef8c387af10598bcc1003e", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_etl_donor", + "coordinates": [ + 1e+16 + ], + "worksheet_row": 8, + "reconstructed_condition_sha256": "b2527c7f45b360eeb5b5a98feae3e5bcc8ec35c9dc718f972257750e36e47e50", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_etl_donor", + "coordinates": [ + 1e+17 + ], + "worksheet_row": 9, + "reconstructed_condition_sha256": "d5629c97ac0d0f3d43eef449005e3b9400de15ddb69ef4713031c2c0df92412a", + "partition": "training", + "nominal_alias": false + }, + { + "group_id": "scaps_etl_donor", + "coordinates": [ + 1e+18 + ], + "worksheet_row": 10, + "reconstructed_condition_sha256": "9880e134cd30e9dae442bb8fee992e0b230a3230b9f5cb36bf36bc777071e435", + "partition": "training", + "nominal_alias": true + }, + { + "group_id": "scaps_etl_donor", + "coordinates": [ + 1e+19 + ], + "worksheet_row": 11, + "reconstructed_condition_sha256": "761381b48d9ae987dfd5e6b00a06c4b31e92e27bd3db771d66974dc040c114d2", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_etl_donor", + "coordinates": [ + 1e+20 + ], + "worksheet_row": 12, + "reconstructed_condition_sha256": "75bcfc8e49091f3d5b131d77f5d0f34b8d7f9352ca6f52ab8892c4a021834e5e", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_pvk_donor", + "coordinates": [ + 100000000 + ], + "worksheet_row": 2, + "reconstructed_condition_sha256": "a58e359978e09fa1abcd2c744b147a5eac3f1bd037e0b15892f7c36b074d0fa5", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_pvk_donor", + "coordinates": [ + 10000000000 + ], + "worksheet_row": 3, + "reconstructed_condition_sha256": "9ca0b395a650afe76aea9f2cef9dcb55065483dea53833f3f6164725ac5e8466", + "partition": "training", + "nominal_alias": false + }, + { + "group_id": "scaps_pvk_donor", + "coordinates": [ + 1000000000000 + ], + "worksheet_row": 4, + "reconstructed_condition_sha256": "bf59baec46075670a33ee65a9a051eb3a8ab402b82beb7799e65e78828939ae7", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_pvk_donor", + "coordinates": [ + 100000000000000 + ], + "worksheet_row": 5, + "reconstructed_condition_sha256": "9880e134cd30e9dae442bb8fee992e0b230a3230b9f5cb36bf36bc777071e435", + "partition": "training", + "nominal_alias": true + }, + { + "group_id": "scaps_pvk_donor", + "coordinates": [ + 1e+16 + ], + "worksheet_row": 6, + "reconstructed_condition_sha256": "9b075f50f63c41f43defc0f5eca18e9ccc6f57bb963ec5d5bd059f7bb32dd520", + "partition": "training", + "nominal_alias": false + }, + { + "group_id": "scaps_pvk_donor", + "coordinates": [ + 1e+18 + ], + "worksheet_row": 7, + "reconstructed_condition_sha256": "79bfef2ee52873914e9fede3bfea5d3e50a92544593fe7065d0d7c7263f9dbbc", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_htl_pvk", + "coordinates": [ + 1000000000 + ], + "worksheet_row": 2, + "reconstructed_condition_sha256": "c38b23c32fcf9bbe32943d573eff273b9d5db90f098f4dd12f17602b7dcae78c", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_htl_pvk", + "coordinates": [ + 10000000000 + ], + "worksheet_row": 3, + "reconstructed_condition_sha256": "feb7638594020baa12aa866b1a6f00742c555f51a0720c6b089391ccfa75b1f4", + "partition": "training", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_htl_pvk", + "coordinates": [ + 100000000000 + ], + "worksheet_row": 4, + "reconstructed_condition_sha256": "be7a11ad6f151e0a3353a9805fc5968f82fb24f761268542385147f5b8a7ba05", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_htl_pvk", + "coordinates": [ + 1000000000000 + ], + "worksheet_row": 5, + "reconstructed_condition_sha256": "9880e134cd30e9dae442bb8fee992e0b230a3230b9f5cb36bf36bc777071e435", + "partition": "training", + "nominal_alias": true + }, + { + "group_id": "scaps_nt_htl_pvk", + "coordinates": [ + 10000000000000 + ], + "worksheet_row": 6, + "reconstructed_condition_sha256": "624bba94fad5a182f9ab04943fb4b054096a7ca684ea6f7cb224b71073c997ed", + "partition": "training", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_htl_pvk", + "coordinates": [ + 100000000000000 + ], + "worksheet_row": 7, + "reconstructed_condition_sha256": "8b16c467b2758be526074acb430ac245ae87e8d3d80a89ff06ae248dcbd70084", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_htl_pvk", + "coordinates": [ + 1000000000000000 + ], + "worksheet_row": 8, + "reconstructed_condition_sha256": "9cd17213b865595850772cf5ef980a556c182338b40bd2417ef85eabaad8cf45", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_pvk_cb", + "coordinates": [ + 1000000000 + ], + "worksheet_row": 2, + "reconstructed_condition_sha256": "3469af960ab4f833bec48a36bcaf036ed04de78cffb6103e2be89aa0d276aaff", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_pvk_cb", + "coordinates": [ + 10000000000 + ], + "worksheet_row": 3, + "reconstructed_condition_sha256": "80632dd0e1453816a3ccee402bf089f0fbc37ae457a7c0f8aa3a2716d05492eb", + "partition": "training", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_pvk_cb", + "coordinates": [ + 100000000000 + ], + "worksheet_row": 4, + "reconstructed_condition_sha256": "fc3d0b5fa29cdf29117ddc3d692c831854c87af0eec757b60b4295881f9475ae", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_pvk_cb", + "coordinates": [ + 1000000000000 + ], + "worksheet_row": 5, + "reconstructed_condition_sha256": "9880e134cd30e9dae442bb8fee992e0b230a3230b9f5cb36bf36bc777071e435", + "partition": "training", + "nominal_alias": true + }, + { + "group_id": "scaps_nt_pvk_cb", + "coordinates": [ + 10000000000000 + ], + "worksheet_row": 6, + "reconstructed_condition_sha256": "7a07cb1aa157dbed65d8d8945e5fea99da54447bd277c1fba9ef9bb4f57f119d", + "partition": "training", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_pvk_cb", + "coordinates": [ + 100000000000000 + ], + "worksheet_row": 7, + "reconstructed_condition_sha256": "0434f4eee8ce3971586bdabc857afe408556c86750e22acd45598d1ec5f02801", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_pvk_cb", + "coordinates": [ + 1000000000000000 + ], + "worksheet_row": 8, + "reconstructed_condition_sha256": "186c5e25d02e1b267e4dfbdda5b90f654f983f4f25ece61858cd1fd3613879b4", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_pvk_vb", + "coordinates": [ + 1000000000 + ], + "worksheet_row": 2, + "reconstructed_condition_sha256": "d7900b26dc979b532e2597f7d85d31dd634e8f27cbd0bc70a5d29880fb2e4f21", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_pvk_vb", + "coordinates": [ + 10000000000 + ], + "worksheet_row": 3, + "reconstructed_condition_sha256": "d08660826a56feb722c0c36acb4724e6610482f0af0739a9d7cd1ffb2b1b37f3", + "partition": "training", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_pvk_vb", + "coordinates": [ + 100000000000 + ], + "worksheet_row": 4, + "reconstructed_condition_sha256": "7e2eed9ad42a9126333b345417492ac87b32f852eadbbfe47877cc77b004ab7d", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_pvk_vb", + "coordinates": [ + 1000000000000 + ], + "worksheet_row": 5, + "reconstructed_condition_sha256": "9880e134cd30e9dae442bb8fee992e0b230a3230b9f5cb36bf36bc777071e435", + "partition": "training", + "nominal_alias": true + }, + { + "group_id": "scaps_nt_pvk_vb", + "coordinates": [ + 10000000000000 + ], + "worksheet_row": 6, + "reconstructed_condition_sha256": "d8e8c646e2dafc3704da19bf917f82517868110c92ec7a1b0a3766793ce1ea31", + "partition": "training", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_pvk_vb", + "coordinates": [ + 100000000000000 + ], + "worksheet_row": 7, + "reconstructed_condition_sha256": "beeb6a2118df89455715156bae5bb4cb38f14324b3ce2c58337941b5f926c5d4", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_pvk_vb", + "coordinates": [ + 1000000000000000 + ], + "worksheet_row": 8, + "reconstructed_condition_sha256": "21492d200ba4dc5854ab5bb2cc042405855d2eea46f910f034a14d6a6af3791c", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_pvk_etl", + "coordinates": [ + 1000000000 + ], + "worksheet_row": 2, + "reconstructed_condition_sha256": "aea95c0679199c9de30358104c6a1f4df3ba4e2b5298d9ca239d8dc234e6c95d", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_pvk_etl", + "coordinates": [ + 10000000000 + ], + "worksheet_row": 3, + "reconstructed_condition_sha256": "20bb3c32ab7f9004ce46cfc3ecf3357b54bcc1f96af767eb3584791d367bbd79", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_pvk_etl", + "coordinates": [ + 100000000000 + ], + "worksheet_row": 4, + "reconstructed_condition_sha256": "0a83a55f05453eb3e884266f3b8868c78eb1c5b8918cb4255a230cc2575b9146", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_pvk_etl", + "coordinates": [ + 1000000000000 + ], + "worksheet_row": 5, + "reconstructed_condition_sha256": "9880e134cd30e9dae442bb8fee992e0b230a3230b9f5cb36bf36bc777071e435", + "partition": "training", + "nominal_alias": true + }, + { + "group_id": "scaps_nt_pvk_etl", + "coordinates": [ + 10000000000000 + ], + "worksheet_row": 6, + "reconstructed_condition_sha256": "986d3bcc8a03067f004852facdae7965b09ef2385c571687ab0d3270e6aa26f3", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_pvk_etl", + "coordinates": [ + 100000000000000 + ], + "worksheet_row": 7, + "reconstructed_condition_sha256": "834ce8eb85d5a8bf23cbf47e9e664a97ae1667c1b507578ba2fff3769e4cb66d", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_pvk_etl", + "coordinates": [ + 1000000000000000 + ], + "worksheet_row": 8, + "reconstructed_condition_sha256": "c4797a08077ea38b3cf7e5286dc8cd3c692cc5a0fb36c5083a87b439f8e72ea5", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_et_htl_pvk", + "coordinates": [ + 0.01 + ], + "worksheet_row": 2, + "reconstructed_condition_sha256": "9aa25452d716acf5c3b99f0efb55227203fee3a1ef317a6420818ea2c38f21a6", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_et_htl_pvk", + "coordinates": [ + 0.05 + ], + "worksheet_row": 3, + "reconstructed_condition_sha256": "03f364027ff4ab3affae69742c085aa2dbb00f93cd9272b4d81c6ff3153ba123", + "partition": "training", + "nominal_alias": false + }, + { + "group_id": "scaps_et_htl_pvk", + "coordinates": [ + 0.1 + ], + "worksheet_row": 4, + "reconstructed_condition_sha256": "4bb04e4bc87a544b062ee36096cec0df51b2e20917ad3816b8242c3d09c24f9f", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_et_htl_pvk", + "coordinates": [ + 0.2 + ], + "worksheet_row": 5, + "reconstructed_condition_sha256": "cbc0ac3e95c89d210973ed6589e523341d6cf2e6219b7b25331e6d97ecf6dde8", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_et_htl_pvk", + "coordinates": [ + 0.3 + ], + "worksheet_row": 6, + "reconstructed_condition_sha256": "96d14e0f6c44ff518c10fb588823352996315a32c07ee4466d283449cd5660f2", + "partition": "training", + "nominal_alias": false + }, + { + "group_id": "scaps_et_htl_pvk", + "coordinates": [ + 0.4 + ], + "worksheet_row": 7, + "reconstructed_condition_sha256": "f5ac038593b36920d1f62796c6deb568a20b94fbbc3150ce46531c7ebec9bece", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_et_htl_pvk", + "coordinates": [ + 0.5 + ], + "worksheet_row": 8, + "reconstructed_condition_sha256": "41bcd9d53f17c8d19fbede5cf54f3b327dd1c6da4ea41bfbf34d34cf39739e07", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_et_htl_pvk", + "coordinates": [ + 0.6 + ], + "worksheet_row": 9, + "reconstructed_condition_sha256": "9880e134cd30e9dae442bb8fee992e0b230a3230b9f5cb36bf36bc777071e435", + "partition": "training", + "nominal_alias": true + }, + { + "group_id": "scaps_et_pvk_cb", + "coordinates": [ + 0.01 + ], + "worksheet_row": 2, + "reconstructed_condition_sha256": "edbe9075d3cfb5863a4f4f544eb02357954c818cb8a3e00a175129b2bf6a40f0", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_et_pvk_cb", + "coordinates": [ + 0.05 + ], + "worksheet_row": 3, + "reconstructed_condition_sha256": "169bb10000193d8c28354fb3287e734917965f67466ea71e5a5e100a749caa21", + "partition": "training", + "nominal_alias": false + }, + { + "group_id": "scaps_et_pvk_cb", + "coordinates": [ + 0.1 + ], + "worksheet_row": 4, + "reconstructed_condition_sha256": "9880e134cd30e9dae442bb8fee992e0b230a3230b9f5cb36bf36bc777071e435", + "partition": "training", + "nominal_alias": true + }, + { + "group_id": "scaps_et_pvk_cb", + "coordinates": [ + 0.2 + ], + "worksheet_row": 5, + "reconstructed_condition_sha256": "40ad88a4fb1dace2069936dd9197e58e3b16211040244840c8419667ac505e79", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_et_pvk_cb", + "coordinates": [ + 0.3 + ], + "worksheet_row": 6, + "reconstructed_condition_sha256": "90f6cb4c32855902ac028ee055f5104410b12c856ea8803c407921a0d07e3b4a", + "partition": "training", + "nominal_alias": false + }, + { + "group_id": "scaps_et_pvk_cb", + "coordinates": [ + 0.4 + ], + "worksheet_row": 7, + "reconstructed_condition_sha256": "2dd3e339b792bffef04095831802536e827a656388220eb95566dcd801e6dfe7", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_et_pvk_cb", + "coordinates": [ + 0.5 + ], + "worksheet_row": 8, + "reconstructed_condition_sha256": "7b22dc6786aa3669b8f477173e295d55ed1fdd703e3eb2d7afa29fc888073364", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_et_pvk_cb", + "coordinates": [ + 0.6 + ], + "worksheet_row": 9, + "reconstructed_condition_sha256": "5a355859f356348aa036034c513b80f9024a1aad36810ab9133638d3c69b0d9c", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_et_pvk_vb", + "coordinates": [ + 0.01 + ], + "worksheet_row": 2, + "reconstructed_condition_sha256": "542a7598e1c98f7db1fc3160ebaa157321f61e7b6cf4389979530de1bca68bee", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_et_pvk_vb", + "coordinates": [ + 0.05 + ], + "worksheet_row": 3, + "reconstructed_condition_sha256": "cdcbafc6d88a489bf10facecf01d03bd6f7f567132d401324b7c45f23d1dbb5e", + "partition": "training", + "nominal_alias": false + }, + { + "group_id": "scaps_et_pvk_vb", + "coordinates": [ + 0.1 + ], + "worksheet_row": 4, + "reconstructed_condition_sha256": "9880e134cd30e9dae442bb8fee992e0b230a3230b9f5cb36bf36bc777071e435", + "partition": "training", + "nominal_alias": true + }, + { + "group_id": "scaps_et_pvk_vb", + "coordinates": [ + 0.2 + ], + "worksheet_row": 5, + "reconstructed_condition_sha256": "684ca8c32079575a6a69d4249ec36e1320fd550b21d7ee2427792eba3a94e94f", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_et_pvk_vb", + "coordinates": [ + 0.3 + ], + "worksheet_row": 6, + "reconstructed_condition_sha256": "46a566b6789ef69b76524f9f59132c022ac90f5b124abeacc5830bae8396ec53", + "partition": "training", + "nominal_alias": false + }, + { + "group_id": "scaps_et_pvk_vb", + "coordinates": [ + 0.4 + ], + "worksheet_row": 7, + "reconstructed_condition_sha256": "98096a19b4ddfb8e9ab13bd49c5e12bed90e2e31db3cb37649798fa1254aa5c8", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_et_pvk_vb", + "coordinates": [ + 0.5 + ], + "worksheet_row": 8, + "reconstructed_condition_sha256": "84d5528cf1f3ec1b9d861882d790a957817591befe702e0476d542399ed15bd1", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_et_pvk_vb", + "coordinates": [ + 0.6 + ], + "worksheet_row": 9, + "reconstructed_condition_sha256": "d37522a994350f76b506463737d0309ac8938120f1be7d9ca54249be7fef81c0", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_et_pvk_etl", + "coordinates": [ + 0.01 + ], + "worksheet_row": 2, + "reconstructed_condition_sha256": "afe58eecdca37c867cf672709be6f5642e0d74a805a6958444c0759059dc72cb", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_et_pvk_etl", + "coordinates": [ + 0.05 + ], + "worksheet_row": 3, + "reconstructed_condition_sha256": "e1918b58893123bf3fa44d9a3f273246b1e4683042878259ac7fa030d8d34cff", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_et_pvk_etl", + "coordinates": [ + 0.1 + ], + "worksheet_row": 4, + "reconstructed_condition_sha256": "080d864614b5838ea3382c1af03dcafa70ac3e7b78ccbe83e5d48e3843676dce", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_et_pvk_etl", + "coordinates": [ + 0.2 + ], + "worksheet_row": 5, + "reconstructed_condition_sha256": "67683ab039169f3eca2b2b48588c2f1b0d7c335886a2e7dd169e721018fde392", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_et_pvk_etl", + "coordinates": [ + 0.3 + ], + "worksheet_row": 6, + "reconstructed_condition_sha256": "d7a092af87ad4ded1eeb02aa1ba5e512244c7d5785c51924f808dc1e9aa40d5e", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_et_pvk_etl", + "coordinates": [ + 0.4 + ], + "worksheet_row": 7, + "reconstructed_condition_sha256": "0237f4bc24ccd98955c35534775c7e9bdc1829854403196dbdc12554ee5ad543", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_et_pvk_etl", + "coordinates": [ + 0.5 + ], + "worksheet_row": 8, + "reconstructed_condition_sha256": "488cc1c7c1434657973ada323ec0400280b425458126d31cfee502dfda364d40", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_et_pvk_etl", + "coordinates": [ + 0.6 + ], + "worksheet_row": 9, + "reconstructed_condition_sha256": "9880e134cd30e9dae442bb8fee992e0b230a3230b9f5cb36bf36bc777071e435", + "partition": "training", + "nominal_alias": true + }, + { + "group_id": "scaps_nt_et", + "coordinates": [ + 1000000000, + 0.01 + ], + "worksheet_row": 2, + "reconstructed_condition_sha256": "06a516bcd8fd91e884c51fff860c8c32e979debfc0aa519ad8fbf4417f4a87ae", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_et", + "coordinates": [ + 1000000000, + 0.05 + ], + "worksheet_row": 3, + "reconstructed_condition_sha256": "bf2466159de410eac0d5d6461bee909d7d4ff431eed6240363b36f8e7e1d5755", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_et", + "coordinates": [ + 1000000000, + 0.1 + ], + "worksheet_row": 4, + "reconstructed_condition_sha256": "a5f9bcbc7f2818c596032048c4da1d4a2408924a279e3fa9aba09f07028ce7e5", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_et", + "coordinates": [ + 1000000000, + 0.2 + ], + "worksheet_row": 5, + "reconstructed_condition_sha256": "e805e1eeb74ca3a0a5958a943d699704267ac5da8618cd66146af58531a67963", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_et", + "coordinates": [ + 1000000000, + 0.3 + ], + "worksheet_row": 6, + "reconstructed_condition_sha256": "77e69384c0ece413a2f6f149ffd4771972e369ca681d9ac673df9991f7af61a3", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_et", + "coordinates": [ + 1000000000, + 0.4 + ], + "worksheet_row": 7, + "reconstructed_condition_sha256": "af963ad742b84e19c3a9a8d24324e357ab2676996ec7ed38e20451e792427e2a", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_et", + "coordinates": [ + 1000000000, + 0.5 + ], + "worksheet_row": 8, + "reconstructed_condition_sha256": "f10867349cf811e444e3a6c4074e9552ae8be564089436a5e6da3dc06968ea59", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_et", + "coordinates": [ + 1000000000, + 0.6 + ], + "worksheet_row": 9, + "reconstructed_condition_sha256": "aea95c0679199c9de30358104c6a1f4df3ba4e2b5298d9ca239d8dc234e6c95d", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_et", + "coordinates": [ + 10000000000, + 0.01 + ], + "worksheet_row": 10, + "reconstructed_condition_sha256": "7550f3dbe159283dac194768a58c71dbf07cc05cff5960e540240efc56fc3101", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_et", + "coordinates": [ + 10000000000, + 0.05 + ], + "worksheet_row": 11, + "reconstructed_condition_sha256": "2f64e13befc8a3e4555a5623ed94b6a8dda7064c003432b75c8963b9ec8c0545", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_et", + "coordinates": [ + 10000000000, + 0.1 + ], + "worksheet_row": 12, + "reconstructed_condition_sha256": "d2574422b23ef5863579022ba05b6dd5f080efaee214639841caaf20b56cf0a5", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_et", + "coordinates": [ + 10000000000, + 0.2 + ], + "worksheet_row": 13, + "reconstructed_condition_sha256": "685491558ee88ca331305f52e1e7c01627e4fbfd50d366a7febf5671fa7f1a84", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_et", + "coordinates": [ + 10000000000, + 0.3 + ], + "worksheet_row": 14, + "reconstructed_condition_sha256": "ec2d290bd00a8dcb49875baa8089303f3f332e21459c368bb5f349a28a265f01", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_et", + "coordinates": [ + 10000000000, + 0.4 + ], + "worksheet_row": 15, + "reconstructed_condition_sha256": "97217a62693671e40014e8bb60e6a0106134ad650b83167f8766b030b7f76338", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_et", + "coordinates": [ + 10000000000, + 0.5 + ], + "worksheet_row": 16, + "reconstructed_condition_sha256": "061b5d0075a16d8ad573725ba49cb0e9f1fcff00426e2f68267eeacccd886854", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_et", + "coordinates": [ + 10000000000, + 0.6 + ], + "worksheet_row": 17, + "reconstructed_condition_sha256": "20bb3c32ab7f9004ce46cfc3ecf3357b54bcc1f96af767eb3584791d367bbd79", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_et", + "coordinates": [ + 100000000000, + 0.01 + ], + "worksheet_row": 18, + "reconstructed_condition_sha256": "7536cc60a34b85056daef89ed74457e8815daafad9429def30da9ec2631fe09d", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_et", + "coordinates": [ + 100000000000, + 0.05 + ], + "worksheet_row": 19, + "reconstructed_condition_sha256": "71b4ec6bb7b49d1de569df1a43f958a6347d5885313602b768706d0d93af163a", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_et", + "coordinates": [ + 100000000000, + 0.1 + ], + "worksheet_row": 20, + "reconstructed_condition_sha256": "569e80209c5206e9f225edb4740e09c5d6b2c29a24ed043a68696e10fe388a35", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_et", + "coordinates": [ + 100000000000, + 0.2 + ], + "worksheet_row": 21, + "reconstructed_condition_sha256": "06f588ad8d5aef858d86d5984f9dd9c69fc74476aaf8efe5e03840a9eb87aac6", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_et", + "coordinates": [ + 100000000000, + 0.3 + ], + "worksheet_row": 22, + "reconstructed_condition_sha256": "3a46d3e7b1bdaffc8bebf22b5f15f8b4e07e0a560e4c8ea6bf88719584d54b9f", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_et", + "coordinates": [ + 100000000000, + 0.4 + ], + "worksheet_row": 23, + "reconstructed_condition_sha256": "3afdddb5ce56058307067711ffac7e5b76f84dcba38560fc3d61b4c56945c90c", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_et", + "coordinates": [ + 100000000000, + 0.5 + ], + "worksheet_row": 24, + "reconstructed_condition_sha256": "92e5865396c3077cc0329143f60689390fbd2cb688c718d29b9393fa38a47f27", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_et", + "coordinates": [ + 100000000000, + 0.6 + ], + "worksheet_row": 25, + "reconstructed_condition_sha256": "0a83a55f05453eb3e884266f3b8868c78eb1c5b8918cb4255a230cc2575b9146", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_et", + "coordinates": [ + 1000000000000, + 0.01 + ], + "worksheet_row": 26, + "reconstructed_condition_sha256": "afe58eecdca37c867cf672709be6f5642e0d74a805a6958444c0759059dc72cb", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_et", + "coordinates": [ + 1000000000000, + 0.05 + ], + "worksheet_row": 27, + "reconstructed_condition_sha256": "e1918b58893123bf3fa44d9a3f273246b1e4683042878259ac7fa030d8d34cff", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_et", + "coordinates": [ + 1000000000000, + 0.1 + ], + "worksheet_row": 28, + "reconstructed_condition_sha256": "080d864614b5838ea3382c1af03dcafa70ac3e7b78ccbe83e5d48e3843676dce", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_et", + "coordinates": [ + 1000000000000, + 0.2 + ], + "worksheet_row": 29, + "reconstructed_condition_sha256": "67683ab039169f3eca2b2b48588c2f1b0d7c335886a2e7dd169e721018fde392", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_et", + "coordinates": [ + 1000000000000, + 0.3 + ], + "worksheet_row": 30, + "reconstructed_condition_sha256": "d7a092af87ad4ded1eeb02aa1ba5e512244c7d5785c51924f808dc1e9aa40d5e", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_et", + "coordinates": [ + 1000000000000, + 0.4 + ], + "worksheet_row": 31, + "reconstructed_condition_sha256": "0237f4bc24ccd98955c35534775c7e9bdc1829854403196dbdc12554ee5ad543", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_et", + "coordinates": [ + 1000000000000, + 0.5 + ], + "worksheet_row": 32, + "reconstructed_condition_sha256": "488cc1c7c1434657973ada323ec0400280b425458126d31cfee502dfda364d40", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_et", + "coordinates": [ + 1000000000000, + 0.6 + ], + "worksheet_row": 33, + "reconstructed_condition_sha256": "9880e134cd30e9dae442bb8fee992e0b230a3230b9f5cb36bf36bc777071e435", + "partition": "training", + "nominal_alias": true + }, + { + "group_id": "scaps_nt_et", + "coordinates": [ + 10000000000000, + 0.01 + ], + "worksheet_row": 34, + "reconstructed_condition_sha256": "ce6feee3964a9540ddb71aeb9bc42cebf3e6861d21dc6f62f48437603f3bb580", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_et", + "coordinates": [ + 10000000000000, + 0.05 + ], + "worksheet_row": 35, + "reconstructed_condition_sha256": "64282037c54880b963ee1cd7bdb042eebf2fbc26936060d9d27d7ed28c33dacc", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_et", + "coordinates": [ + 10000000000000, + 0.1 + ], + "worksheet_row": 36, + "reconstructed_condition_sha256": "8f3c63da11068efe264c620ca3c7dd99e332b06b3655ba67f0469cf8c7a1f400", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_et", + "coordinates": [ + 10000000000000, + 0.2 + ], + "worksheet_row": 37, + "reconstructed_condition_sha256": "a69ccd090aeae2cf035be20305aa60afdbc32ab1ecff62cf90af1d9c585aeab4", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_et", + "coordinates": [ + 10000000000000, + 0.3 + ], + "worksheet_row": 38, + "reconstructed_condition_sha256": "4b7a099d7e6cf4639bb9214a49698c5e0c2cc019b61cbdf8537159ad3dca9f13", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_et", + "coordinates": [ + 10000000000000, + 0.4 + ], + "worksheet_row": 39, + "reconstructed_condition_sha256": "c6ef35fd6098177a22616e47407009d9b85e4e497fd9ef6239f7813d6c93f903", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_et", + "coordinates": [ + 10000000000000, + 0.5 + ], + "worksheet_row": 40, + "reconstructed_condition_sha256": "184316ea209741778058aac71cafe390fda5e4e8f0aab2fc3d8311c51eee4471", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_et", + "coordinates": [ + 10000000000000, + 0.6 + ], + "worksheet_row": 41, + "reconstructed_condition_sha256": "986d3bcc8a03067f004852facdae7965b09ef2385c571687ab0d3270e6aa26f3", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_et", + "coordinates": [ + 100000000000000, + 0.01 + ], + "worksheet_row": 42, + "reconstructed_condition_sha256": "a89ed16432bf5e43be01d613b9952275bc9542e3c0fd7d279e9f7f52c0cf5792", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_et", + "coordinates": [ + 100000000000000, + 0.05 + ], + "worksheet_row": 43, + "reconstructed_condition_sha256": "28d0f4a864d8f17b9d6d009556cfe275d87495acf60c2fbacef19d2ca46cd5e6", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_et", + "coordinates": [ + 100000000000000, + 0.1 + ], + "worksheet_row": 44, + "reconstructed_condition_sha256": "66472d94352da1c7559d6d3737d9aaec7844521d163f2fe83e6d69c81aa83b78", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_et", + "coordinates": [ + 100000000000000, + 0.2 + ], + "worksheet_row": 45, + "reconstructed_condition_sha256": "16066a03695c5a9bc9307636924f70c63001ef6217b91af4bcbd996608d314c1", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_et", + "coordinates": [ + 100000000000000, + 0.3 + ], + "worksheet_row": 46, + "reconstructed_condition_sha256": "2079f7d2e40588e366382b386343a482e329c4be0f52ad1eda8151f26ab66bb4", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_et", + "coordinates": [ + 100000000000000, + 0.4 + ], + "worksheet_row": 47, + "reconstructed_condition_sha256": "3dff5f3852c55921d44dcf0f8f681201c86102cb88a8cbaef80d44c618bd6909", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_et", + "coordinates": [ + 100000000000000, + 0.5 + ], + "worksheet_row": 48, + "reconstructed_condition_sha256": "846db383914eb8765c83fa9266024c99542114b00c2fcbb94b188dbd8f3a4679", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_et", + "coordinates": [ + 100000000000000, + 0.6 + ], + "worksheet_row": 49, + "reconstructed_condition_sha256": "834ce8eb85d5a8bf23cbf47e9e664a97ae1667c1b507578ba2fff3769e4cb66d", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_et", + "coordinates": [ + 1000000000000000, + 0.01 + ], + "worksheet_row": 50, + "reconstructed_condition_sha256": "5e8afd10a4b062f2202272f00104c7975f07ca23f3264a6edd274e87fcb37024", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_et", + "coordinates": [ + 1000000000000000, + 0.05 + ], + "worksheet_row": 51, + "reconstructed_condition_sha256": "c8f1395c2260e565b55f8e4183090c2a77226cc39aa3fc7aabe345ff362841f7", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_et", + "coordinates": [ + 1000000000000000, + 0.1 + ], + "worksheet_row": 52, + "reconstructed_condition_sha256": "adc3ac6b24b651f6a2d7acca1203b102403c33dce554b445047fab612236dca6", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_et", + "coordinates": [ + 1000000000000000, + 0.2 + ], + "worksheet_row": 53, + "reconstructed_condition_sha256": "9385965a74a4331d4e5fa419b0baec1d5a049848f8ff9f76091fbee2ea6059a9", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_et", + "coordinates": [ + 1000000000000000, + 0.3 + ], + "worksheet_row": 54, + "reconstructed_condition_sha256": "3d6fb8eed8ed67110cf92167e3eb8648e6664259f5c3f57326efc66e5c65402f", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_et", + "coordinates": [ + 1000000000000000, + 0.4 + ], + "worksheet_row": 55, + "reconstructed_condition_sha256": "9c1987966d2e5babbe3e49445b907a5c1c77e84f48a237d8214ef63770b9fc9b", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_et", + "coordinates": [ + 1000000000000000, + 0.5 + ], + "worksheet_row": 56, + "reconstructed_condition_sha256": "7ebe85d5b6c914dec8ebff41ad244655e13db2496989c1cc5a226408522d5601", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_et", + "coordinates": [ + 1000000000000000, + 0.6 + ], + "worksheet_row": 57, + "reconstructed_condition_sha256": "c4797a08077ea38b3cf7e5286dc8cd3c692cc5a0fb36c5083a87b439f8e72ea5", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 1000000000, + -1 + ], + "worksheet_row": 2, + "reconstructed_condition_sha256": "09e262f5f8f9004240ae4f09ed7f845f9bcb563c6413d47d2d1284b152c103ff", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 1000000000, + -0.75 + ], + "worksheet_row": 3, + "reconstructed_condition_sha256": "f7987fa504f6d1d18ba8d9cadc16405cfd78d1187ffb990b941e6f215c9be40e", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 1000000000, + -0.5 + ], + "worksheet_row": 4, + "reconstructed_condition_sha256": "5a62852b56fb25a6d311627f26a24b979e99328b059815c3ea0b4fce55220fc5", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 1000000000, + -0.25 + ], + "worksheet_row": 5, + "reconstructed_condition_sha256": "bb7dde992264c4099b4688a534c286280b0248a98b3d44efd94c0999cbf78308", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 1000000000, + -0.2 + ], + "worksheet_row": 6, + "reconstructed_condition_sha256": "f8cdb70c6b27a0093d33d1eee48f990bb59c7feb45bd9f89fd69412a2047801a", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 1000000000, + -0.16 + ], + "worksheet_row": 7, + "reconstructed_condition_sha256": "aea95c0679199c9de30358104c6a1f4df3ba4e2b5298d9ca239d8dc234e6c95d", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 1000000000, + -0.1 + ], + "worksheet_row": 8, + "reconstructed_condition_sha256": "09e59cb101189d4f70334ce4c94c523a096fd9835664232d3335f45291e723db", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 1000000000, + -0.05 + ], + "worksheet_row": 9, + "reconstructed_condition_sha256": "5c6009658729975836c19c2f7a3bf7ef5a4f40c7e079d196b2166181b3457acd", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 1000000000, + 0 + ], + "worksheet_row": 10, + "reconstructed_condition_sha256": "af21bbbd8f2b2fb726cbe1f3396e47bd501eef9913584fa54d51c51bec971675", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 1000000000, + 0.1 + ], + "worksheet_row": 11, + "reconstructed_condition_sha256": "75b08cca75358b099119c9fd1591c5173f7bce48e039955e171ac1ebc139c507", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 1000000000, + 0.2 + ], + "worksheet_row": 12, + "reconstructed_condition_sha256": "20616e5fa08d34a21f8ab1a210f9bf1ec09035a88cf824330fb198670ea8b0df", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 1000000000, + 0.3 + ], + "worksheet_row": 13, + "reconstructed_condition_sha256": "a6abd89c206ed110d47638602a5e275aa424624cda7e0665b866a29c67a2dcad", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 1000000000, + 0.4 + ], + "worksheet_row": 14, + "reconstructed_condition_sha256": "37fd76858f796dcfed628ef02b4cd4263289da3676becc4c2bc955d15d901efd", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 1000000000, + 0.5 + ], + "worksheet_row": 15, + "reconstructed_condition_sha256": "40d47c72559b4ad87142cb2b4032c927fd370d1e84bca4b30d4dfea741ee33c8", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 1000000000, + 0.6 + ], + "worksheet_row": 16, + "reconstructed_condition_sha256": "f1669bbd9f97b94e54216cbb85c9d3d556ac2edb7c7fbd0b21de2497d9c3067b", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 1000000000, + 0.7 + ], + "worksheet_row": 17, + "reconstructed_condition_sha256": "b8faf5dfb9f1180516f675badb73a28c3579a5ca35986d05a152ac756b9387a4", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 10000000000, + -1 + ], + "worksheet_row": 18, + "reconstructed_condition_sha256": "413a6280d1afeebb1c05d229791b6c4fcbc48390aadd744a30f457bd79eac557", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 10000000000, + -0.75 + ], + "worksheet_row": 19, + "reconstructed_condition_sha256": "d77859e354d959b714b08cc58fa4d0f3d7f05b846f4cd2788f838c4068e4623b", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 10000000000, + -0.5 + ], + "worksheet_row": 20, + "reconstructed_condition_sha256": "082dc95db6571f15af3ea95b58aa5b80e1c062c52813f2eb520755687c6d62eb", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 10000000000, + -0.25 + ], + "worksheet_row": 21, + "reconstructed_condition_sha256": "817974cf6604579f5fe51c3bbedabd715474cc0528ffb4fc921fcb92c89683c6", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 10000000000, + -0.2 + ], + "worksheet_row": 22, + "reconstructed_condition_sha256": "fd37065d1b7c220f12edd24a7077c190fb0ee4ad0b9b3a345ce99b9df4ffd40e", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 10000000000, + -0.16 + ], + "worksheet_row": 23, + "reconstructed_condition_sha256": "20bb3c32ab7f9004ce46cfc3ecf3357b54bcc1f96af767eb3584791d367bbd79", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 10000000000, + -0.1 + ], + "worksheet_row": 24, + "reconstructed_condition_sha256": "608861de01eac530b5459c4c12bdf8f97388a6e0e88583ac555a0e737f16150c", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 10000000000, + -0.05 + ], + "worksheet_row": 25, + "reconstructed_condition_sha256": "0da23d4bdccddefe7fec889436c77cb111bf6609abce492935ac3ea7d09bb5e5", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 10000000000, + 0 + ], + "worksheet_row": 26, + "reconstructed_condition_sha256": "3bf3e057b920963a6a9dc714e368e348ea908b8975c5389cfe07412e2ab4e0e1", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 10000000000, + 0.1 + ], + "worksheet_row": 27, + "reconstructed_condition_sha256": "d847fef7b368c8439b184b590013377e904f7899829a77489285d19d7fe509fa", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 10000000000, + 0.2 + ], + "worksheet_row": 28, + "reconstructed_condition_sha256": "66126ac33a1cda50c349af2f3dda15f5e3225f962021fd0b1a291a06a3fe0e8d", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 10000000000, + 0.3 + ], + "worksheet_row": 29, + "reconstructed_condition_sha256": "01c4abb6e66293cf2dcb825d72e3914f158d0fc09e21d2ff179129772b9a0c2e", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 10000000000, + 0.4 + ], + "worksheet_row": 30, + "reconstructed_condition_sha256": "d0e4fa0534ff668e54ce7544aedf21dece5587bb48cf3e5c7bef6498deb835fa", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 10000000000, + 0.5 + ], + "worksheet_row": 31, + "reconstructed_condition_sha256": "fdee1045d47aef8c86101b14b0c33a65e3abca640b9f025eb38979117e9e1ee2", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 10000000000, + 0.6 + ], + "worksheet_row": 32, + "reconstructed_condition_sha256": "ff63ac9a9303a6528f5403ec85e2c400fc01f45ba88c38d2820338acb537ac0c", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 10000000000, + 0.7 + ], + "worksheet_row": 33, + "reconstructed_condition_sha256": "4b7d280fda54bd456e2a0941af29657ed3a15bcb51f2983b43a958f83863a569", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 100000000000, + -1 + ], + "worksheet_row": 34, + "reconstructed_condition_sha256": "ad405295c467ff41991f1b9c0d79a9a96483b035ec7679657d28a9b2f94f36c2", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 100000000000, + -0.75 + ], + "worksheet_row": 35, + "reconstructed_condition_sha256": "5bb9246658710f4cbf30ce0d1e3502d0d8ab1783e431c862a294584495069f89", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 100000000000, + -0.5 + ], + "worksheet_row": 36, + "reconstructed_condition_sha256": "8383363fc14ba31bea9386d599fadc2afb6d6dc770dc988b63724e9d26747d5e", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 100000000000, + -0.25 + ], + "worksheet_row": 37, + "reconstructed_condition_sha256": "86309fe26893adcf84baf77b36a0fb59567e720a615239d5cf8c0bad848dd8a6", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 100000000000, + -0.2 + ], + "worksheet_row": 38, + "reconstructed_condition_sha256": "4bc6fb319f511f0e78c2a3f38b5f2ac9acc4c9793881d11a7d503df8e6f26eef", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 100000000000, + -0.16 + ], + "worksheet_row": 39, + "reconstructed_condition_sha256": "0a83a55f05453eb3e884266f3b8868c78eb1c5b8918cb4255a230cc2575b9146", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 100000000000, + -0.1 + ], + "worksheet_row": 40, + "reconstructed_condition_sha256": "7db6b4c23d9b6e9182cc05569b994f3503163149c3e507289641f0e7c3783680", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 100000000000, + -0.05 + ], + "worksheet_row": 41, + "reconstructed_condition_sha256": "52caba47f35f11ef9322c0232ef3f69f944d0e6fe301b1c8df10b8e2c8fab30f", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 100000000000, + 0 + ], + "worksheet_row": 42, + "reconstructed_condition_sha256": "acedf396743efb4f0fe84e70498e5659540fa5154ed9f582b168949b61a05f3b", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 100000000000, + 0.1 + ], + "worksheet_row": 43, + "reconstructed_condition_sha256": "05043f4ef18b693d2b4d02455de87041011400d1ef7c027b1aea34c24bb2893f", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 100000000000, + 0.2 + ], + "worksheet_row": 44, + "reconstructed_condition_sha256": "8b8b55121c6b87290da10f12c601af3fd1acadeeaa49caad909bd1df2c94ac0e", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 100000000000, + 0.3 + ], + "worksheet_row": 45, + "reconstructed_condition_sha256": "001659e5c88bf7fbc656395b5a61724901f0a07387639b6af8db63dfa4ce52bb", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 100000000000, + 0.4 + ], + "worksheet_row": 46, + "reconstructed_condition_sha256": "492fa5c7e5e7fd5077ca955c6a5f4fbae9a0c6be417555a932e967eaac07311a", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 100000000000, + 0.5 + ], + "worksheet_row": 47, + "reconstructed_condition_sha256": "8715892575a3fa00e604b52c4e40ec14e4cfad48e86823d15f948a340f1fd2d1", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 100000000000, + 0.6 + ], + "worksheet_row": 48, + "reconstructed_condition_sha256": "ff9eb7fd8df9886377a711baa11f99931761178a634002836220354127af665d", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 1000000000000, + -1 + ], + "worksheet_row": 50, + "reconstructed_condition_sha256": "5f4d1626f6e9fd66366817009d35fc891e475c1ca5a8ee6221f5ec814e479572", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 1000000000000, + -0.75 + ], + "worksheet_row": 51, + "reconstructed_condition_sha256": "a228c7a712583567582fafacd42ee30283d45e07efeed1dab2dee70768aad8b3", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 1000000000000, + -0.5 + ], + "worksheet_row": 52, + "reconstructed_condition_sha256": "203bc83717f5092735d024d47ac3c39940af4b49806859463cdebf1b143a7b29", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 1000000000000, + -0.25 + ], + "worksheet_row": 53, + "reconstructed_condition_sha256": "0ca1d11cd2f8c716c4cbd2e92440c717b6cb10139be26a561abc6a096e9c5357", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 1000000000000, + -0.2 + ], + "worksheet_row": 54, + "reconstructed_condition_sha256": "68eecd6b2bb3f1e24c6320a0d4f45265eadf6073c59d9d811bb7d224e974426c", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 1000000000000, + -0.16 + ], + "worksheet_row": 55, + "reconstructed_condition_sha256": "9880e134cd30e9dae442bb8fee992e0b230a3230b9f5cb36bf36bc777071e435", + "partition": "training", + "nominal_alias": true + }, + { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 1000000000000, + -0.1 + ], + "worksheet_row": 56, + "reconstructed_condition_sha256": "0b673dcea45595b4f288d61565f8dbcf10b4954d1791a8ae00d65ea1a5e2255a", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 1000000000000, + -0.05 + ], + "worksheet_row": 57, + "reconstructed_condition_sha256": "cb1976c12dd0cb6863d2633c7148ee7dda4597e5990d766707d9c57cbc17d02e", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 1000000000000, + 0 + ], + "worksheet_row": 58, + "reconstructed_condition_sha256": "213ee9e719d064af57035ee44b8688d80a115de62fd6267ac30d261dee5ddae1", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 1000000000000, + 0.1 + ], + "worksheet_row": 59, + "reconstructed_condition_sha256": "ea61e24cb62f9d2c24a06d078ebebc047d12b49a9da311b9d61661a05770acc7", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 1000000000000, + 0.2 + ], + "worksheet_row": 60, + "reconstructed_condition_sha256": "abc13693afee0c893d9619b9af2d641834b1659cb219b87f67b058e881f94bc7", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 1000000000000, + 0.3 + ], + "worksheet_row": 61, + "reconstructed_condition_sha256": "946b4e8b57625a5fc732321efcec943821944088b8624705d7d1cb87ba55ce6b", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 1000000000000, + 0.4 + ], + "worksheet_row": 62, + "reconstructed_condition_sha256": "3a643f340626fd3315a93d983c60ba702a2ede19c0e3757c07c2e13088446205", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 1000000000000, + 0.5 + ], + "worksheet_row": 63, + "reconstructed_condition_sha256": "16bc4117c056fa07a9c05b5fe7ad117ca93cbc713d414a4d93cf8f619135ec0e", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 10000000000000, + -1 + ], + "worksheet_row": 66, + "reconstructed_condition_sha256": "537b1bd69b9b762eb69fd5c345d045e25da4000c793c1a891b550236fedf4dab", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 10000000000000, + -0.75 + ], + "worksheet_row": 67, + "reconstructed_condition_sha256": "bb8cc4673dcf47f512bc88bc3093b62b5790e9fe8fcb2b86e103f7ac57a367bc", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 10000000000000, + -0.5 + ], + "worksheet_row": 68, + "reconstructed_condition_sha256": "09d373a3012d9c5e1f4bc4ab0b620574d53741c2740727f9dc46b7517a3bb848", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 10000000000000, + -0.25 + ], + "worksheet_row": 69, + "reconstructed_condition_sha256": "a3612b13d981c9ab54236cacc663ecb6c5e97da6aef9f4d84c57dde0b6ebcf98", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 10000000000000, + -0.2 + ], + "worksheet_row": 70, + "reconstructed_condition_sha256": "1ada9d2a43c73b5f0c5b60a2d77e89f8bf3aabcc1493af852d47efffe63f570b", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 10000000000000, + -0.16 + ], + "worksheet_row": 71, + "reconstructed_condition_sha256": "986d3bcc8a03067f004852facdae7965b09ef2385c571687ab0d3270e6aa26f3", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 10000000000000, + -0.1 + ], + "worksheet_row": 72, + "reconstructed_condition_sha256": "2f4a9c2e73982e59747059b0a072594d254a3bd5d2debe4e8c35a0b41b62c4cd", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 10000000000000, + -0.05 + ], + "worksheet_row": 73, + "reconstructed_condition_sha256": "61b9be1cd2c9493716949b8cc392bfa8b0329dfc61d569b7b24eebc3dc49ed7a", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 10000000000000, + 0 + ], + "worksheet_row": 74, + "reconstructed_condition_sha256": "b2e14448ea3c66e5ac7239b2b7b00e7e8d7d37b988419718bc7533b8a65a9f73", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 10000000000000, + 0.1 + ], + "worksheet_row": 75, + "reconstructed_condition_sha256": "570b79fe15f0721da37d79e40593b31b2ae72e84c62d04ccf00646fcc2179efb", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 10000000000000, + 0.2 + ], + "worksheet_row": 76, + "reconstructed_condition_sha256": "a545ddfbdd166d952e40809f6c77570df02b9ca5c69190876583183aa7099fa7", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 10000000000000, + 0.3 + ], + "worksheet_row": 77, + "reconstructed_condition_sha256": "7e71b70e1d7c361acf8997248d9a77afd795157a6021bf839580f95df6848acf", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 10000000000000, + 0.4 + ], + "worksheet_row": 78, + "reconstructed_condition_sha256": "02699dfc19e46c8ad1e65c71f52816b6bf76fe176197be8ff006eea98dc53221", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 100000000000000, + -1 + ], + "worksheet_row": 82, + "reconstructed_condition_sha256": "9c065065c5f1760137a1b528fef5cc3ce8fb66dab0237cd2e85e670098372182", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 100000000000000, + -0.75 + ], + "worksheet_row": 83, + "reconstructed_condition_sha256": "aa0fdfd232fc9fd7f2ed41ebc54788d445ef0c78542f05ddd4cea039f264f4a0", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 100000000000000, + -0.5 + ], + "worksheet_row": 84, + "reconstructed_condition_sha256": "5e1c6a39f053c75168e652c46c5a636a59f4957f09e6903017d754c79210c11f", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 100000000000000, + -0.25 + ], + "worksheet_row": 85, + "reconstructed_condition_sha256": "d09928fdfec6d9382e239b8e18d1702200f1e099236ed5a22e9e3d945b21fa11", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 100000000000000, + -0.2 + ], + "worksheet_row": 86, + "reconstructed_condition_sha256": "7a864b11d70671c10bfdeb22a12208c099d1a0d13a38cc1346d7a921886bb5ab", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 100000000000000, + -0.16 + ], + "worksheet_row": 87, + "reconstructed_condition_sha256": "834ce8eb85d5a8bf23cbf47e9e664a97ae1667c1b507578ba2fff3769e4cb66d", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 100000000000000, + -0.1 + ], + "worksheet_row": 88, + "reconstructed_condition_sha256": "4ef61af5434e723d94ea75f0c3371e791ac031f2db9c7f9a210a0e3340ab2c6b", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 100000000000000, + -0.05 + ], + "worksheet_row": 89, + "reconstructed_condition_sha256": "d1373f55867a327e8fb53a231f539fe418500068759c01059fb794d174cdd5df", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 100000000000000, + 0 + ], + "worksheet_row": 90, + "reconstructed_condition_sha256": "25abfca67c72176f3843e17e252c03756cd9228c4815de982a0e5200d70c3e0a", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 100000000000000, + 0.1 + ], + "worksheet_row": 91, + "reconstructed_condition_sha256": "bf19b61defa70ae5313523415d47b3ef5ee14dd5730baecc92000975e6642fbb", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 100000000000000, + 0.2 + ], + "worksheet_row": 92, + "reconstructed_condition_sha256": "9767a40c37539e39fe03bca6f0515854e54d6ae9d363a39c26fc05f658d9734c", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 100000000000000, + 0.3 + ], + "worksheet_row": 93, + "reconstructed_condition_sha256": "bc8b9ce642c09b1ad76a043e807f0ac04398a4b267ac37338eec18ac69f0c8cb", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 100000000000000, + 0.4 + ], + "worksheet_row": 94, + "reconstructed_condition_sha256": "956968bd5623027dedb5afd7e14dfc26377d4a483fca7a44dd165bac2fdb288d", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 1000000000000000, + -1 + ], + "worksheet_row": 98, + "reconstructed_condition_sha256": "92bb9c0c3c77b7cd8a8539676cde0b8c0c4703e7df41124c74e0a46a84adc0af", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 1000000000000000, + -0.75 + ], + "worksheet_row": 99, + "reconstructed_condition_sha256": "2266a866b8d209686cc337149a8accc4409542fba1c1aae2f29c1a7eb80eedad", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 1000000000000000, + -0.5 + ], + "worksheet_row": 100, + "reconstructed_condition_sha256": "82b67be8999e28e2ff2a66d361acc29a336ea439c514b7a12fe98826a43ca6a2", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 1000000000000000, + -0.25 + ], + "worksheet_row": 101, + "reconstructed_condition_sha256": "18c28562799d5565fe3d7bfd149e9b0be03c22dc6c96a5e67cad6b072a7ae5b1", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 1000000000000000, + -0.2 + ], + "worksheet_row": 102, + "reconstructed_condition_sha256": "4a606ed4b63a8588911a4da73e2e8f9a158e7ef0979d91aecfb651f0893eb797", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 1000000000000000, + -0.16 + ], + "worksheet_row": 103, + "reconstructed_condition_sha256": "c4797a08077ea38b3cf7e5286dc8cd3c692cc5a0fb36c5083a87b439f8e72ea5", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 1000000000000000, + -0.1 + ], + "worksheet_row": 104, + "reconstructed_condition_sha256": "174a853521823c0e73e6c03be5246ad730dc23047deb4b41d32856fa21f8f91a", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 1000000000000000, + -0.05 + ], + "worksheet_row": 105, + "reconstructed_condition_sha256": "7c1a4059e77ffc3f9a04d4ae35f07dd75e2a36d64858fe023cff5e8862ca5890", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 1000000000000000, + 0 + ], + "worksheet_row": 106, + "reconstructed_condition_sha256": "fdb652fcb37587eb83b5271704edf7ab0837cef49c86d315419b16ac63a83652", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 1000000000000000, + 0.1 + ], + "worksheet_row": 107, + "reconstructed_condition_sha256": "536a03adc036a3576f08c5ca22c0797a3284ef9b80cf82a1969ac6b6dda088dd", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 1000000000000000, + 0.2 + ], + "worksheet_row": 108, + "reconstructed_condition_sha256": "28c6eff4d7116ca03fdda73a33f8a9f57d9e246b09f2543db8e8e15eb4cfaa33", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 1000000000000000, + 0.3 + ], + "worksheet_row": 109, + "reconstructed_condition_sha256": "844d87570e7b1f47e75673e276d5f11e1e827bef14a5aeb0c777c8f823757163", + "partition": "validation", + "nominal_alias": false + }, + { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 1000000000000000, + 0.4 + ], + "worksheet_row": 110, + "reconstructed_condition_sha256": "1858a3b85a7187ce6e9fc4696d925087c6fea987a6c5a0e8644904e2dff6ffb1", + "partition": "validation", + "nominal_alias": false + } + ], + "partition_counts": { + "validation": 217, + "training": 30 + }, + "base_partition": "training", + "condition_anchors": [ + { + "reconstructed_condition_sha256": "001659e5c88bf7fbc656395b5a61724901f0a07387639b6af8db63dfa4ce52bb", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 100000000000, + 0.3 + ], + "worksheet_row": 45 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "01c4abb6e66293cf2dcb825d72e3914f158d0fc09e21d2ff179129772b9a0c2e", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 10000000000, + 0.3 + ], + "worksheet_row": 29 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "0237f4bc24ccd98955c35534775c7e9bdc1829854403196dbdc12554ee5ad543", + "partition": "validation", + "anchor": { + "group_id": "scaps_et_pvk_etl", + "coordinates": [ + 0.4 + ], + "worksheet_row": 7 + }, + "alias_count": 2 + }, + { + "reconstructed_condition_sha256": "02699dfc19e46c8ad1e65c71f52816b6bf76fe176197be8ff006eea98dc53221", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 10000000000000, + 0.4 + ], + "worksheet_row": 78 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "03f364027ff4ab3affae69742c085aa2dbb00f93cd9272b4d81c6ff3153ba123", + "partition": "training", + "anchor": { + "group_id": "scaps_et_htl_pvk", + "coordinates": [ + 0.05 + ], + "worksheet_row": 3 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "0434f4eee8ce3971586bdabc857afe408556c86750e22acd45598d1ec5f02801", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_pvk_cb", + "coordinates": [ + 100000000000000 + ], + "worksheet_row": 7 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "05043f4ef18b693d2b4d02455de87041011400d1ef7c027b1aea34c24bb2893f", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 100000000000, + 0.1 + ], + "worksheet_row": 43 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "061b5d0075a16d8ad573725ba49cb0e9f1fcff00426e2f68267eeacccd886854", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_et", + "coordinates": [ + 10000000000, + 0.5 + ], + "worksheet_row": 16 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "06a516bcd8fd91e884c51fff860c8c32e979debfc0aa519ad8fbf4417f4a87ae", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_et", + "coordinates": [ + 1000000000, + 0.01 + ], + "worksheet_row": 2 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "06f588ad8d5aef858d86d5984f9dd9c69fc74476aaf8efe5e03840a9eb87aac6", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_et", + "coordinates": [ + 100000000000, + 0.2 + ], + "worksheet_row": 21 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "080d864614b5838ea3382c1af03dcafa70ac3e7b78ccbe83e5d48e3843676dce", + "partition": "validation", + "anchor": { + "group_id": "scaps_et_pvk_etl", + "coordinates": [ + 0.1 + ], + "worksheet_row": 4 + }, + "alias_count": 2 + }, + { + "reconstructed_condition_sha256": "082dc95db6571f15af3ea95b58aa5b80e1c062c52813f2eb520755687c6d62eb", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 10000000000, + -0.5 + ], + "worksheet_row": 20 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "09d373a3012d9c5e1f4bc4ab0b620574d53741c2740727f9dc46b7517a3bb848", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 10000000000000, + -0.5 + ], + "worksheet_row": 68 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "09e262f5f8f9004240ae4f09ed7f845f9bcb563c6413d47d2d1284b152c103ff", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 1000000000, + -1 + ], + "worksheet_row": 2 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "09e59cb101189d4f70334ce4c94c523a096fd9835664232d3335f45291e723db", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 1000000000, + -0.1 + ], + "worksheet_row": 8 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "0a83a55f05453eb3e884266f3b8868c78eb1c5b8918cb4255a230cc2575b9146", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 100000000000, + -0.16 + ], + "worksheet_row": 39 + }, + "alias_count": 3 + }, + { + "reconstructed_condition_sha256": "0b673dcea45595b4f288d61565f8dbcf10b4954d1791a8ae00d65ea1a5e2255a", + "partition": "validation", + "anchor": { + "group_id": "scaps_cbo", + "coordinates": [ + -0.1 + ], + "worksheet_row": 8 + }, + "alias_count": 2 + }, + { + "reconstructed_condition_sha256": "0ca1d11cd2f8c716c4cbd2e92440c717b6cb10139be26a561abc6a096e9c5357", + "partition": "validation", + "anchor": { + "group_id": "scaps_cbo", + "coordinates": [ + -0.25 + ], + "worksheet_row": 5 + }, + "alias_count": 2 + }, + { + "reconstructed_condition_sha256": "0da23d4bdccddefe7fec889436c77cb111bf6609abce492935ac3ea7d09bb5e5", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 10000000000, + -0.05 + ], + "worksheet_row": 25 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "16066a03695c5a9bc9307636924f70c63001ef6217b91af4bcbd996608d314c1", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_et", + "coordinates": [ + 100000000000000, + 0.2 + ], + "worksheet_row": 45 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "169bb10000193d8c28354fb3287e734917965f67466ea71e5a5e100a749caa21", + "partition": "training", + "anchor": { + "group_id": "scaps_et_pvk_cb", + "coordinates": [ + 0.05 + ], + "worksheet_row": 3 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "16bc4117c056fa07a9c05b5fe7ad117ca93cbc713d414a4d93cf8f619135ec0e", + "partition": "validation", + "anchor": { + "group_id": "scaps_cbo", + "coordinates": [ + 0.5 + ], + "worksheet_row": 15 + }, + "alias_count": 2 + }, + { + "reconstructed_condition_sha256": "174a853521823c0e73e6c03be5246ad730dc23047deb4b41d32856fa21f8f91a", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 1000000000000000, + -0.1 + ], + "worksheet_row": 104 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "184316ea209741778058aac71cafe390fda5e4e8f0aab2fc3d8311c51eee4471", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_et", + "coordinates": [ + 10000000000000, + 0.5 + ], + "worksheet_row": 40 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "1858a3b85a7187ce6e9fc4696d925087c6fea987a6c5a0e8644904e2dff6ffb1", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 1000000000000000, + 0.4 + ], + "worksheet_row": 110 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "186c5e25d02e1b267e4dfbdda5b90f654f983f4f25ece61858cd1fd3613879b4", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_pvk_cb", + "coordinates": [ + 1000000000000000 + ], + "worksheet_row": 8 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "18c28562799d5565fe3d7bfd149e9b0be03c22dc6c96a5e67cad6b072a7ae5b1", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 1000000000000000, + -0.25 + ], + "worksheet_row": 101 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "1ada9d2a43c73b5f0c5b60a2d77e89f8bf3aabcc1493af852d47efffe63f570b", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 10000000000000, + -0.2 + ], + "worksheet_row": 70 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "203bc83717f5092735d024d47ac3c39940af4b49806859463cdebf1b143a7b29", + "partition": "validation", + "anchor": { + "group_id": "scaps_cbo", + "coordinates": [ + -0.5 + ], + "worksheet_row": 4 + }, + "alias_count": 2 + }, + { + "reconstructed_condition_sha256": "20616e5fa08d34a21f8ab1a210f9bf1ec09035a88cf824330fb198670ea8b0df", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 1000000000, + 0.2 + ], + "worksheet_row": 12 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "2079f7d2e40588e366382b386343a482e329c4be0f52ad1eda8151f26ab66bb4", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_et", + "coordinates": [ + 100000000000000, + 0.3 + ], + "worksheet_row": 46 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "20bb3c32ab7f9004ce46cfc3ecf3357b54bcc1f96af767eb3584791d367bbd79", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 10000000000, + -0.16 + ], + "worksheet_row": 23 + }, + "alias_count": 3 + }, + { + "reconstructed_condition_sha256": "213ee9e719d064af57035ee44b8688d80a115de62fd6267ac30d261dee5ddae1", + "partition": "validation", + "anchor": { + "group_id": "scaps_cbo", + "coordinates": [ + 0 + ], + "worksheet_row": 10 + }, + "alias_count": 2 + }, + { + "reconstructed_condition_sha256": "21492d200ba4dc5854ab5bb2cc042405855d2eea46f910f034a14d6a6af3791c", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_pvk_vb", + "coordinates": [ + 1000000000000000 + ], + "worksheet_row": 8 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "2266a866b8d209686cc337149a8accc4409542fba1c1aae2f29c1a7eb80eedad", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 1000000000000000, + -0.75 + ], + "worksheet_row": 99 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "2266f609e8d143f4c269034d2925fe6e44228bb0b177f8419c99020782906111", + "partition": "validation", + "anchor": { + "group_id": "scaps_etl_donor", + "coordinates": [ + 10000000000 + ], + "worksheet_row": 2 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "25abfca67c72176f3843e17e252c03756cd9228c4815de982a0e5200d70c3e0a", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 100000000000000, + 0 + ], + "worksheet_row": 90 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "28c6eff4d7116ca03fdda73a33f8a9f57d9e246b09f2543db8e8e15eb4cfaa33", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 1000000000000000, + 0.2 + ], + "worksheet_row": 108 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "28d0f4a864d8f17b9d6d009556cfe275d87495acf60c2fbacef19d2ca46cd5e6", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_et", + "coordinates": [ + 100000000000000, + 0.05 + ], + "worksheet_row": 43 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "2dd3e339b792bffef04095831802536e827a656388220eb95566dcd801e6dfe7", + "partition": "validation", + "anchor": { + "group_id": "scaps_et_pvk_cb", + "coordinates": [ + 0.4 + ], + "worksheet_row": 7 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "2f4a9c2e73982e59747059b0a072594d254a3bd5d2debe4e8c35a0b41b62c4cd", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 10000000000000, + -0.1 + ], + "worksheet_row": 72 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "2f64e13befc8a3e4555a5623ed94b6a8dda7064c003432b75c8963b9ec8c0545", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_et", + "coordinates": [ + 10000000000, + 0.05 + ], + "worksheet_row": 11 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "3469af960ab4f833bec48a36bcaf036ed04de78cffb6103e2be89aa0d276aaff", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_pvk_cb", + "coordinates": [ + 1000000000 + ], + "worksheet_row": 2 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "37fd76858f796dcfed628ef02b4cd4263289da3676becc4c2bc955d15d901efd", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 1000000000, + 0.4 + ], + "worksheet_row": 14 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "3a46d3e7b1bdaffc8bebf22b5f15f8b4e07e0a560e4c8ea6bf88719584d54b9f", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_et", + "coordinates": [ + 100000000000, + 0.3 + ], + "worksheet_row": 22 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "3a643f340626fd3315a93d983c60ba702a2ede19c0e3757c07c2e13088446205", + "partition": "validation", + "anchor": { + "group_id": "scaps_cbo", + "coordinates": [ + 0.4 + ], + "worksheet_row": 14 + }, + "alias_count": 2 + }, + { + "reconstructed_condition_sha256": "3afdddb5ce56058307067711ffac7e5b76f84dcba38560fc3d61b4c56945c90c", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_et", + "coordinates": [ + 100000000000, + 0.4 + ], + "worksheet_row": 23 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "3bf3e057b920963a6a9dc714e368e348ea908b8975c5389cfe07412e2ab4e0e1", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 10000000000, + 0 + ], + "worksheet_row": 26 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "3d6fb8eed8ed67110cf92167e3eb8648e6664259f5c3f57326efc66e5c65402f", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_et", + "coordinates": [ + 1000000000000000, + 0.3 + ], + "worksheet_row": 54 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "3dff5f3852c55921d44dcf0f8f681201c86102cb88a8cbaef80d44c618bd6909", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_et", + "coordinates": [ + 100000000000000, + 0.4 + ], + "worksheet_row": 47 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "40ad88a4fb1dace2069936dd9197e58e3b16211040244840c8419667ac505e79", + "partition": "validation", + "anchor": { + "group_id": "scaps_et_pvk_cb", + "coordinates": [ + 0.2 + ], + "worksheet_row": 5 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "40d47c72559b4ad87142cb2b4032c927fd370d1e84bca4b30d4dfea741ee33c8", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 1000000000, + 0.5 + ], + "worksheet_row": 15 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "413a6280d1afeebb1c05d229791b6c4fcbc48390aadd744a30f457bd79eac557", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 10000000000, + -1 + ], + "worksheet_row": 18 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "41bcd9d53f17c8d19fbede5cf54f3b327dd1c6da4ea41bfbf34d34cf39739e07", + "partition": "validation", + "anchor": { + "group_id": "scaps_et_htl_pvk", + "coordinates": [ + 0.5 + ], + "worksheet_row": 8 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "46a566b6789ef69b76524f9f59132c022ac90f5b124abeacc5830bae8396ec53", + "partition": "training", + "anchor": { + "group_id": "scaps_et_pvk_vb", + "coordinates": [ + 0.3 + ], + "worksheet_row": 6 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "488cc1c7c1434657973ada323ec0400280b425458126d31cfee502dfda364d40", + "partition": "validation", + "anchor": { + "group_id": "scaps_et_pvk_etl", + "coordinates": [ + 0.5 + ], + "worksheet_row": 8 + }, + "alias_count": 2 + }, + { + "reconstructed_condition_sha256": "492fa5c7e5e7fd5077ca955c6a5f4fbae9a0c6be417555a932e967eaac07311a", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 100000000000, + 0.4 + ], + "worksheet_row": 46 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "4a606ed4b63a8588911a4da73e2e8f9a158e7ef0979d91aecfb651f0893eb797", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 1000000000000000, + -0.2 + ], + "worksheet_row": 102 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "4b7a099d7e6cf4639bb9214a49698c5e0c2cc019b61cbdf8537159ad3dca9f13", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_et", + "coordinates": [ + 10000000000000, + 0.3 + ], + "worksheet_row": 38 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "4b7d280fda54bd456e2a0941af29657ed3a15bcb51f2983b43a958f83863a569", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 10000000000, + 0.7 + ], + "worksheet_row": 33 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "4bb04e4bc87a544b062ee36096cec0df51b2e20917ad3816b8242c3d09c24f9f", + "partition": "validation", + "anchor": { + "group_id": "scaps_et_htl_pvk", + "coordinates": [ + 0.1 + ], + "worksheet_row": 4 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "4bc6fb319f511f0e78c2a3f38b5f2ac9acc4c9793881d11a7d503df8e6f26eef", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 100000000000, + -0.2 + ], + "worksheet_row": 38 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "4ef61af5434e723d94ea75f0c3371e791ac031f2db9c7f9a210a0e3340ab2c6b", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 100000000000000, + -0.1 + ], + "worksheet_row": 88 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "52caba47f35f11ef9322c0232ef3f69f944d0e6fe301b1c8df10b8e2c8fab30f", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 100000000000, + -0.05 + ], + "worksheet_row": 41 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "536a03adc036a3576f08c5ca22c0797a3284ef9b80cf82a1969ac6b6dda088dd", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 1000000000000000, + 0.1 + ], + "worksheet_row": 107 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "537b1bd69b9b762eb69fd5c345d045e25da4000c793c1a891b550236fedf4dab", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 10000000000000, + -1 + ], + "worksheet_row": 66 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "542a7598e1c98f7db1fc3160ebaa157321f61e7b6cf4389979530de1bca68bee", + "partition": "validation", + "anchor": { + "group_id": "scaps_et_pvk_vb", + "coordinates": [ + 0.01 + ], + "worksheet_row": 2 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "569e80209c5206e9f225edb4740e09c5d6b2c29a24ed043a68696e10fe388a35", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_et", + "coordinates": [ + 100000000000, + 0.1 + ], + "worksheet_row": 20 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "570b79fe15f0721da37d79e40593b31b2ae72e84c62d04ccf00646fcc2179efb", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 10000000000000, + 0.1 + ], + "worksheet_row": 75 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "578e23721ba8114c7cf05a12b36756c04bf83848e24eca6d85813337e30129fb", + "partition": "training", + "anchor": { + "group_id": "scaps_etl_donor", + "coordinates": [ + 100000000000000 + ], + "worksheet_row": 6 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "5a355859f356348aa036034c513b80f9024a1aad36810ab9133638d3c69b0d9c", + "partition": "validation", + "anchor": { + "group_id": "scaps_et_pvk_cb", + "coordinates": [ + 0.6 + ], + "worksheet_row": 9 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "5a62852b56fb25a6d311627f26a24b979e99328b059815c3ea0b4fce55220fc5", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 1000000000, + -0.5 + ], + "worksheet_row": 4 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "5bb9246658710f4cbf30ce0d1e3502d0d8ab1783e431c862a294584495069f89", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 100000000000, + -0.75 + ], + "worksheet_row": 35 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "5c6009658729975836c19c2f7a3bf7ef5a4f40c7e079d196b2166181b3457acd", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 1000000000, + -0.05 + ], + "worksheet_row": 9 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "5e1c6a39f053c75168e652c46c5a636a59f4957f09e6903017d754c79210c11f", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 100000000000000, + -0.5 + ], + "worksheet_row": 84 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "5e8afd10a4b062f2202272f00104c7975f07ca23f3264a6edd274e87fcb37024", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_et", + "coordinates": [ + 1000000000000000, + 0.01 + ], + "worksheet_row": 50 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "5f4d1626f6e9fd66366817009d35fc891e475c1ca5a8ee6221f5ec814e479572", + "partition": "validation", + "anchor": { + "group_id": "scaps_cbo", + "coordinates": [ + -1 + ], + "worksheet_row": 2 + }, + "alias_count": 2 + }, + { + "reconstructed_condition_sha256": "608861de01eac530b5459c4c12bdf8f97388a6e0e88583ac555a0e737f16150c", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 10000000000, + -0.1 + ], + "worksheet_row": 24 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "61b9be1cd2c9493716949b8cc392bfa8b0329dfc61d569b7b24eebc3dc49ed7a", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 10000000000000, + -0.05 + ], + "worksheet_row": 73 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "624bba94fad5a182f9ab04943fb4b054096a7ca684ea6f7cb224b71073c997ed", + "partition": "training", + "anchor": { + "group_id": "scaps_nt_htl_pvk", + "coordinates": [ + 10000000000000 + ], + "worksheet_row": 6 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "64282037c54880b963ee1cd7bdb042eebf2fbc26936060d9d27d7ed28c33dacc", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_et", + "coordinates": [ + 10000000000000, + 0.05 + ], + "worksheet_row": 35 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "66126ac33a1cda50c349af2f3dda15f5e3225f962021fd0b1a291a06a3fe0e8d", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 10000000000, + 0.2 + ], + "worksheet_row": 28 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "66472d94352da1c7559d6d3737d9aaec7844521d163f2fe83e6d69c81aa83b78", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_et", + "coordinates": [ + 100000000000000, + 0.1 + ], + "worksheet_row": 44 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "67683ab039169f3eca2b2b48588c2f1b0d7c335886a2e7dd169e721018fde392", + "partition": "validation", + "anchor": { + "group_id": "scaps_et_pvk_etl", + "coordinates": [ + 0.2 + ], + "worksheet_row": 5 + }, + "alias_count": 2 + }, + { + "reconstructed_condition_sha256": "684ca8c32079575a6a69d4249ec36e1320fd550b21d7ee2427792eba3a94e94f", + "partition": "validation", + "anchor": { + "group_id": "scaps_et_pvk_vb", + "coordinates": [ + 0.2 + ], + "worksheet_row": 5 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "685491558ee88ca331305f52e1e7c01627e4fbfd50d366a7febf5671fa7f1a84", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_et", + "coordinates": [ + 10000000000, + 0.2 + ], + "worksheet_row": 13 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "68eecd6b2bb3f1e24c6320a0d4f45265eadf6073c59d9d811bb7d224e974426c", + "partition": "validation", + "anchor": { + "group_id": "scaps_cbo", + "coordinates": [ + -0.2 + ], + "worksheet_row": 6 + }, + "alias_count": 2 + }, + { + "reconstructed_condition_sha256": "71b4ec6bb7b49d1de569df1a43f958a6347d5885313602b768706d0d93af163a", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_et", + "coordinates": [ + 100000000000, + 0.05 + ], + "worksheet_row": 19 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "7536cc60a34b85056daef89ed74457e8815daafad9429def30da9ec2631fe09d", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_et", + "coordinates": [ + 100000000000, + 0.01 + ], + "worksheet_row": 18 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "7550f3dbe159283dac194768a58c71dbf07cc05cff5960e540240efc56fc3101", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_et", + "coordinates": [ + 10000000000, + 0.01 + ], + "worksheet_row": 10 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "75b08cca75358b099119c9fd1591c5173f7bce48e039955e171ac1ebc139c507", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 1000000000, + 0.1 + ], + "worksheet_row": 11 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "75bcfc8e49091f3d5b131d77f5d0f34b8d7f9352ca6f52ab8892c4a021834e5e", + "partition": "validation", + "anchor": { + "group_id": "scaps_etl_donor", + "coordinates": [ + 1e+20 + ], + "worksheet_row": 12 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "761381b48d9ae987dfd5e6b00a06c4b31e92e27bd3db771d66974dc040c114d2", + "partition": "validation", + "anchor": { + "group_id": "scaps_etl_donor", + "coordinates": [ + 1e+19 + ], + "worksheet_row": 11 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "77e69384c0ece413a2f6f149ffd4771972e369ca681d9ac673df9991f7af61a3", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_et", + "coordinates": [ + 1000000000, + 0.3 + ], + "worksheet_row": 6 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "79bfef2ee52873914e9fede3bfea5d3e50a92544593fe7065d0d7c7263f9dbbc", + "partition": "validation", + "anchor": { + "group_id": "scaps_pvk_donor", + "coordinates": [ + 1e+18 + ], + "worksheet_row": 7 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "7a07cb1aa157dbed65d8d8945e5fea99da54447bd277c1fba9ef9bb4f57f119d", + "partition": "training", + "anchor": { + "group_id": "scaps_nt_pvk_cb", + "coordinates": [ + 10000000000000 + ], + "worksheet_row": 6 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "7a864b11d70671c10bfdeb22a12208c099d1a0d13a38cc1346d7a921886bb5ab", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 100000000000000, + -0.2 + ], + "worksheet_row": 86 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "7af3feb56e1377c4fc942fb76ac86b68d85147beb3c97858adc09bc307d9966d", + "partition": "validation", + "anchor": { + "group_id": "scaps_etl_donor", + "coordinates": [ + 10000000000000 + ], + "worksheet_row": 5 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "7b22dc6786aa3669b8f477173e295d55ed1fdd703e3eb2d7afa29fc888073364", + "partition": "validation", + "anchor": { + "group_id": "scaps_et_pvk_cb", + "coordinates": [ + 0.5 + ], + "worksheet_row": 8 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "7c1a4059e77ffc3f9a04d4ae35f07dd75e2a36d64858fe023cff5e8862ca5890", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 1000000000000000, + -0.05 + ], + "worksheet_row": 105 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "7db6b4c23d9b6e9182cc05569b994f3503163149c3e507289641f0e7c3783680", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 100000000000, + -0.1 + ], + "worksheet_row": 40 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "7e2eed9ad42a9126333b345417492ac87b32f852eadbbfe47877cc77b004ab7d", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_pvk_vb", + "coordinates": [ + 100000000000 + ], + "worksheet_row": 4 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "7e71b70e1d7c361acf8997248d9a77afd795157a6021bf839580f95df6848acf", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 10000000000000, + 0.3 + ], + "worksheet_row": 77 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "7ebe85d5b6c914dec8ebff41ad244655e13db2496989c1cc5a226408522d5601", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_et", + "coordinates": [ + 1000000000000000, + 0.5 + ], + "worksheet_row": 56 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "80632dd0e1453816a3ccee402bf089f0fbc37ae457a7c0f8aa3a2716d05492eb", + "partition": "training", + "anchor": { + "group_id": "scaps_nt_pvk_cb", + "coordinates": [ + 10000000000 + ], + "worksheet_row": 3 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "817974cf6604579f5fe51c3bbedabd715474cc0528ffb4fc921fcb92c89683c6", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 10000000000, + -0.25 + ], + "worksheet_row": 21 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "82b67be8999e28e2ff2a66d361acc29a336ea439c514b7a12fe98826a43ca6a2", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 1000000000000000, + -0.5 + ], + "worksheet_row": 100 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "834ce8eb85d5a8bf23cbf47e9e664a97ae1667c1b507578ba2fff3769e4cb66d", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 100000000000000, + -0.16 + ], + "worksheet_row": 87 + }, + "alias_count": 3 + }, + { + "reconstructed_condition_sha256": "8383363fc14ba31bea9386d599fadc2afb6d6dc770dc988b63724e9d26747d5e", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 100000000000, + -0.5 + ], + "worksheet_row": 36 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "838d1cca4fe16406f83235a841d8dff26b5acf76f2dec57c80f692bc44bc8f58", + "partition": "validation", + "anchor": { + "group_id": "scaps_etl_donor", + "coordinates": [ + 1000000000000 + ], + "worksheet_row": 4 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "844d87570e7b1f47e75673e276d5f11e1e827bef14a5aeb0c777c8f823757163", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 1000000000000000, + 0.3 + ], + "worksheet_row": 109 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "846db383914eb8765c83fa9266024c99542114b00c2fcbb94b188dbd8f3a4679", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_et", + "coordinates": [ + 100000000000000, + 0.5 + ], + "worksheet_row": 48 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "84d5528cf1f3ec1b9d861882d790a957817591befe702e0476d542399ed15bd1", + "partition": "validation", + "anchor": { + "group_id": "scaps_et_pvk_vb", + "coordinates": [ + 0.5 + ], + "worksheet_row": 8 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "86309fe26893adcf84baf77b36a0fb59567e720a615239d5cf8c0bad848dd8a6", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 100000000000, + -0.25 + ], + "worksheet_row": 37 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "8715892575a3fa00e604b52c4e40ec14e4cfad48e86823d15f948a340f1fd2d1", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 100000000000, + 0.5 + ], + "worksheet_row": 47 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "8b16c467b2758be526074acb430ac245ae87e8d3d80a89ff06ae248dcbd70084", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_htl_pvk", + "coordinates": [ + 100000000000000 + ], + "worksheet_row": 7 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "8b8b55121c6b87290da10f12c601af3fd1acadeeaa49caad909bd1df2c94ac0e", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 100000000000, + 0.2 + ], + "worksheet_row": 44 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "8f3c63da11068efe264c620ca3c7dd99e332b06b3655ba67f0469cf8c7a1f400", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_et", + "coordinates": [ + 10000000000000, + 0.1 + ], + "worksheet_row": 36 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "90f6cb4c32855902ac028ee055f5104410b12c856ea8803c407921a0d07e3b4a", + "partition": "training", + "anchor": { + "group_id": "scaps_et_pvk_cb", + "coordinates": [ + 0.3 + ], + "worksheet_row": 6 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "92bb9c0c3c77b7cd8a8539676cde0b8c0c4703e7df41124c74e0a46a84adc0af", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 1000000000000000, + -1 + ], + "worksheet_row": 98 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "92e5865396c3077cc0329143f60689390fbd2cb688c718d29b9393fa38a47f27", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_et", + "coordinates": [ + 100000000000, + 0.5 + ], + "worksheet_row": 24 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "9385965a74a4331d4e5fa419b0baec1d5a049848f8ff9f76091fbee2ea6059a9", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_et", + "coordinates": [ + 1000000000000000, + 0.2 + ], + "worksheet_row": 53 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "946b4e8b57625a5fc732321efcec943821944088b8624705d7d1cb87ba55ce6b", + "partition": "validation", + "anchor": { + "group_id": "scaps_cbo", + "coordinates": [ + 0.3 + ], + "worksheet_row": 13 + }, + "alias_count": 2 + }, + { + "reconstructed_condition_sha256": "956968bd5623027dedb5afd7e14dfc26377d4a483fca7a44dd165bac2fdb288d", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 100000000000000, + 0.4 + ], + "worksheet_row": 94 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "96d14e0f6c44ff518c10fb588823352996315a32c07ee4466d283449cd5660f2", + "partition": "training", + "anchor": { + "group_id": "scaps_et_htl_pvk", + "coordinates": [ + 0.3 + ], + "worksheet_row": 6 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "97217a62693671e40014e8bb60e6a0106134ad650b83167f8766b030b7f76338", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_et", + "coordinates": [ + 10000000000, + 0.4 + ], + "worksheet_row": 15 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "9767a40c37539e39fe03bca6f0515854e54d6ae9d363a39c26fc05f658d9734c", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 100000000000000, + 0.2 + ], + "worksheet_row": 92 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "98096a19b4ddfb8e9ab13bd49c5e12bed90e2e31db3cb37649798fa1254aa5c8", + "partition": "validation", + "anchor": { + "group_id": "scaps_et_pvk_vb", + "coordinates": [ + 0.4 + ], + "worksheet_row": 7 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "986d3bcc8a03067f004852facdae7965b09ef2385c571687ab0d3270e6aa26f3", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 10000000000000, + -0.16 + ], + "worksheet_row": 71 + }, + "alias_count": 3 + }, + { + "reconstructed_condition_sha256": "9880e134cd30e9dae442bb8fee992e0b230a3230b9f5cb36bf36bc777071e435", + "partition": "training", + "anchor": { + "group_id": "scaps_base", + "coordinates": [], + "page": 2 + }, + "alias_count": 14 + }, + { + "reconstructed_condition_sha256": "9aa25452d716acf5c3b99f0efb55227203fee3a1ef317a6420818ea2c38f21a6", + "partition": "validation", + "anchor": { + "group_id": "scaps_et_htl_pvk", + "coordinates": [ + 0.01 + ], + "worksheet_row": 2 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "9b075f50f63c41f43defc0f5eca18e9ccc6f57bb963ec5d5bd059f7bb32dd520", + "partition": "training", + "anchor": { + "group_id": "scaps_pvk_donor", + "coordinates": [ + 1e+16 + ], + "worksheet_row": 6 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "9c065065c5f1760137a1b528fef5cc3ce8fb66dab0237cd2e85e670098372182", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 100000000000000, + -1 + ], + "worksheet_row": 82 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "9c1987966d2e5babbe3e49445b907a5c1c77e84f48a237d8214ef63770b9fc9b", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_et", + "coordinates": [ + 1000000000000000, + 0.4 + ], + "worksheet_row": 55 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "9ca0b395a650afe76aea9f2cef9dcb55065483dea53833f3f6164725ac5e8466", + "partition": "training", + "anchor": { + "group_id": "scaps_pvk_donor", + "coordinates": [ + 10000000000 + ], + "worksheet_row": 3 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "9cd17213b865595850772cf5ef980a556c182338b40bd2417ef85eabaad8cf45", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_htl_pvk", + "coordinates": [ + 1000000000000000 + ], + "worksheet_row": 8 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "a228c7a712583567582fafacd42ee30283d45e07efeed1dab2dee70768aad8b3", + "partition": "validation", + "anchor": { + "group_id": "scaps_cbo", + "coordinates": [ + -0.75 + ], + "worksheet_row": 3 + }, + "alias_count": 2 + }, + { + "reconstructed_condition_sha256": "a3612b13d981c9ab54236cacc663ecb6c5e97da6aef9f4d84c57dde0b6ebcf98", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 10000000000000, + -0.25 + ], + "worksheet_row": 69 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "a545ddfbdd166d952e40809f6c77570df02b9ca5c69190876583183aa7099fa7", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 10000000000000, + 0.2 + ], + "worksheet_row": 76 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "a58e359978e09fa1abcd2c744b147a5eac3f1bd037e0b15892f7c36b074d0fa5", + "partition": "validation", + "anchor": { + "group_id": "scaps_pvk_donor", + "coordinates": [ + 100000000 + ], + "worksheet_row": 2 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "a5f9bcbc7f2818c596032048c4da1d4a2408924a279e3fa9aba09f07028ce7e5", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_et", + "coordinates": [ + 1000000000, + 0.1 + ], + "worksheet_row": 4 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "a69ccd090aeae2cf035be20305aa60afdbc32ab1ecff62cf90af1d9c585aeab4", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_et", + "coordinates": [ + 10000000000000, + 0.2 + ], + "worksheet_row": 37 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "a6abd89c206ed110d47638602a5e275aa424624cda7e0665b866a29c67a2dcad", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 1000000000, + 0.3 + ], + "worksheet_row": 13 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "a89ed16432bf5e43be01d613b9952275bc9542e3c0fd7d279e9f7f52c0cf5792", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_et", + "coordinates": [ + 100000000000000, + 0.01 + ], + "worksheet_row": 42 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "a9b26825645e64e279fc11d4a88ebc0e14c2909d3bef8c387af10598bcc1003e", + "partition": "validation", + "anchor": { + "group_id": "scaps_etl_donor", + "coordinates": [ + 1000000000000000 + ], + "worksheet_row": 7 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "aa0fdfd232fc9fd7f2ed41ebc54788d445ef0c78542f05ddd4cea039f264f4a0", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 100000000000000, + -0.75 + ], + "worksheet_row": 83 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "abc13693afee0c893d9619b9af2d641834b1659cb219b87f67b058e881f94bc7", + "partition": "validation", + "anchor": { + "group_id": "scaps_cbo", + "coordinates": [ + 0.2 + ], + "worksheet_row": 12 + }, + "alias_count": 2 + }, + { + "reconstructed_condition_sha256": "acedf396743efb4f0fe84e70498e5659540fa5154ed9f582b168949b61a05f3b", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 100000000000, + 0 + ], + "worksheet_row": 42 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "ad405295c467ff41991f1b9c0d79a9a96483b035ec7679657d28a9b2f94f36c2", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 100000000000, + -1 + ], + "worksheet_row": 34 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "adc3ac6b24b651f6a2d7acca1203b102403c33dce554b445047fab612236dca6", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_et", + "coordinates": [ + 1000000000000000, + 0.1 + ], + "worksheet_row": 52 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "aea95c0679199c9de30358104c6a1f4df3ba4e2b5298d9ca239d8dc234e6c95d", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 1000000000, + -0.16 + ], + "worksheet_row": 7 + }, + "alias_count": 3 + }, + { + "reconstructed_condition_sha256": "af21bbbd8f2b2fb726cbe1f3396e47bd501eef9913584fa54d51c51bec971675", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 1000000000, + 0 + ], + "worksheet_row": 10 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "af963ad742b84e19c3a9a8d24324e357ab2676996ec7ed38e20451e792427e2a", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_et", + "coordinates": [ + 1000000000, + 0.4 + ], + "worksheet_row": 7 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "afe58eecdca37c867cf672709be6f5642e0d74a805a6958444c0759059dc72cb", + "partition": "validation", + "anchor": { + "group_id": "scaps_et_pvk_etl", + "coordinates": [ + 0.01 + ], + "worksheet_row": 2 + }, + "alias_count": 2 + }, + { + "reconstructed_condition_sha256": "b2527c7f45b360eeb5b5a98feae3e5bcc8ec35c9dc718f972257750e36e47e50", + "partition": "validation", + "anchor": { + "group_id": "scaps_etl_donor", + "coordinates": [ + 1e+16 + ], + "worksheet_row": 8 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "b2e14448ea3c66e5ac7239b2b7b00e7e8d7d37b988419718bc7533b8a65a9f73", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 10000000000000, + 0 + ], + "worksheet_row": 74 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "b8faf5dfb9f1180516f675badb73a28c3579a5ca35986d05a152ac756b9387a4", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 1000000000, + 0.7 + ], + "worksheet_row": 17 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "bb7dde992264c4099b4688a534c286280b0248a98b3d44efd94c0999cbf78308", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 1000000000, + -0.25 + ], + "worksheet_row": 5 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "bb8cc4673dcf47f512bc88bc3093b62b5790e9fe8fcb2b86e103f7ac57a367bc", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 10000000000000, + -0.75 + ], + "worksheet_row": 67 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "bc8b9ce642c09b1ad76a043e807f0ac04398a4b267ac37338eec18ac69f0c8cb", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 100000000000000, + 0.3 + ], + "worksheet_row": 93 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "bdc3fe02d559e95b1904100d7f15bbb68ce5663513319341895c3015b6c8383d", + "partition": "training", + "anchor": { + "group_id": "scaps_etl_donor", + "coordinates": [ + 100000000000 + ], + "worksheet_row": 3 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "be7a11ad6f151e0a3353a9805fc5968f82fb24f761268542385147f5b8a7ba05", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_htl_pvk", + "coordinates": [ + 100000000000 + ], + "worksheet_row": 4 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "beeb6a2118df89455715156bae5bb4cb38f14324b3ce2c58337941b5f926c5d4", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_pvk_vb", + "coordinates": [ + 100000000000000 + ], + "worksheet_row": 7 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "bf19b61defa70ae5313523415d47b3ef5ee14dd5730baecc92000975e6642fbb", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 100000000000000, + 0.1 + ], + "worksheet_row": 91 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "bf2466159de410eac0d5d6461bee909d7d4ff431eed6240363b36f8e7e1d5755", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_et", + "coordinates": [ + 1000000000, + 0.05 + ], + "worksheet_row": 3 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "bf59baec46075670a33ee65a9a051eb3a8ab402b82beb7799e65e78828939ae7", + "partition": "validation", + "anchor": { + "group_id": "scaps_pvk_donor", + "coordinates": [ + 1000000000000 + ], + "worksheet_row": 4 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "c38b23c32fcf9bbe32943d573eff273b9d5db90f098f4dd12f17602b7dcae78c", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_htl_pvk", + "coordinates": [ + 1000000000 + ], + "worksheet_row": 2 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "c4797a08077ea38b3cf7e5286dc8cd3c692cc5a0fb36c5083a87b439f8e72ea5", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 1000000000000000, + -0.16 + ], + "worksheet_row": 103 + }, + "alias_count": 3 + }, + { + "reconstructed_condition_sha256": "c6ef35fd6098177a22616e47407009d9b85e4e497fd9ef6239f7813d6c93f903", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_et", + "coordinates": [ + 10000000000000, + 0.4 + ], + "worksheet_row": 39 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "c8f1395c2260e565b55f8e4183090c2a77226cc39aa3fc7aabe345ff362841f7", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_et", + "coordinates": [ + 1000000000000000, + 0.05 + ], + "worksheet_row": 51 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "cb1976c12dd0cb6863d2633c7148ee7dda4597e5990d766707d9c57cbc17d02e", + "partition": "validation", + "anchor": { + "group_id": "scaps_cbo", + "coordinates": [ + -0.05 + ], + "worksheet_row": 9 + }, + "alias_count": 2 + }, + { + "reconstructed_condition_sha256": "cbc0ac3e95c89d210973ed6589e523341d6cf2e6219b7b25331e6d97ecf6dde8", + "partition": "validation", + "anchor": { + "group_id": "scaps_et_htl_pvk", + "coordinates": [ + 0.2 + ], + "worksheet_row": 5 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "cdcbafc6d88a489bf10facecf01d03bd6f7f567132d401324b7c45f23d1dbb5e", + "partition": "training", + "anchor": { + "group_id": "scaps_et_pvk_vb", + "coordinates": [ + 0.05 + ], + "worksheet_row": 3 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "ce6feee3964a9540ddb71aeb9bc42cebf3e6861d21dc6f62f48437603f3bb580", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_et", + "coordinates": [ + 10000000000000, + 0.01 + ], + "worksheet_row": 34 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "d08660826a56feb722c0c36acb4724e6610482f0af0739a9d7cd1ffb2b1b37f3", + "partition": "training", + "anchor": { + "group_id": "scaps_nt_pvk_vb", + "coordinates": [ + 10000000000 + ], + "worksheet_row": 3 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "d09928fdfec6d9382e239b8e18d1702200f1e099236ed5a22e9e3d945b21fa11", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 100000000000000, + -0.25 + ], + "worksheet_row": 85 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "d0e4fa0534ff668e54ce7544aedf21dece5587bb48cf3e5c7bef6498deb835fa", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 10000000000, + 0.4 + ], + "worksheet_row": 30 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "d1373f55867a327e8fb53a231f539fe418500068759c01059fb794d174cdd5df", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 100000000000000, + -0.05 + ], + "worksheet_row": 89 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "d2574422b23ef5863579022ba05b6dd5f080efaee214639841caaf20b56cf0a5", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_et", + "coordinates": [ + 10000000000, + 0.1 + ], + "worksheet_row": 12 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "d37522a994350f76b506463737d0309ac8938120f1be7d9ca54249be7fef81c0", + "partition": "validation", + "anchor": { + "group_id": "scaps_et_pvk_vb", + "coordinates": [ + 0.6 + ], + "worksheet_row": 9 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "d5629c97ac0d0f3d43eef449005e3b9400de15ddb69ef4713031c2c0df92412a", + "partition": "training", + "anchor": { + "group_id": "scaps_etl_donor", + "coordinates": [ + 1e+17 + ], + "worksheet_row": 9 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "d77859e354d959b714b08cc58fa4d0f3d7f05b846f4cd2788f838c4068e4623b", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 10000000000, + -0.75 + ], + "worksheet_row": 19 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "d7900b26dc979b532e2597f7d85d31dd634e8f27cbd0bc70a5d29880fb2e4f21", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_pvk_vb", + "coordinates": [ + 1000000000 + ], + "worksheet_row": 2 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "d7a092af87ad4ded1eeb02aa1ba5e512244c7d5785c51924f808dc1e9aa40d5e", + "partition": "validation", + "anchor": { + "group_id": "scaps_et_pvk_etl", + "coordinates": [ + 0.3 + ], + "worksheet_row": 6 + }, + "alias_count": 2 + }, + { + "reconstructed_condition_sha256": "d847fef7b368c8439b184b590013377e904f7899829a77489285d19d7fe509fa", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 10000000000, + 0.1 + ], + "worksheet_row": 27 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "d8e8c646e2dafc3704da19bf917f82517868110c92ec7a1b0a3766793ce1ea31", + "partition": "training", + "anchor": { + "group_id": "scaps_nt_pvk_vb", + "coordinates": [ + 10000000000000 + ], + "worksheet_row": 6 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "e1918b58893123bf3fa44d9a3f273246b1e4683042878259ac7fa030d8d34cff", + "partition": "validation", + "anchor": { + "group_id": "scaps_et_pvk_etl", + "coordinates": [ + 0.05 + ], + "worksheet_row": 3 + }, + "alias_count": 2 + }, + { + "reconstructed_condition_sha256": "e805e1eeb74ca3a0a5958a943d699704267ac5da8618cd66146af58531a67963", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_et", + "coordinates": [ + 1000000000, + 0.2 + ], + "worksheet_row": 5 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "ea61e24cb62f9d2c24a06d078ebebc047d12b49a9da311b9d61661a05770acc7", + "partition": "validation", + "anchor": { + "group_id": "scaps_cbo", + "coordinates": [ + 0.1 + ], + "worksheet_row": 11 + }, + "alias_count": 2 + }, + { + "reconstructed_condition_sha256": "ec2d290bd00a8dcb49875baa8089303f3f332e21459c368bb5f349a28a265f01", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_et", + "coordinates": [ + 10000000000, + 0.3 + ], + "worksheet_row": 14 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "edbe9075d3cfb5863a4f4f544eb02357954c818cb8a3e00a175129b2bf6a40f0", + "partition": "validation", + "anchor": { + "group_id": "scaps_et_pvk_cb", + "coordinates": [ + 0.01 + ], + "worksheet_row": 2 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "f10867349cf811e444e3a6c4074e9552ae8be564089436a5e6da3dc06968ea59", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_et", + "coordinates": [ + 1000000000, + 0.5 + ], + "worksheet_row": 8 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "f1669bbd9f97b94e54216cbb85c9d3d556ac2edb7c7fbd0b21de2497d9c3067b", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 1000000000, + 0.6 + ], + "worksheet_row": 16 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "f5ac038593b36920d1f62796c6deb568a20b94fbbc3150ce46531c7ebec9bece", + "partition": "validation", + "anchor": { + "group_id": "scaps_et_htl_pvk", + "coordinates": [ + 0.4 + ], + "worksheet_row": 7 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "f7987fa504f6d1d18ba8d9cadc16405cfd78d1187ffb990b941e6f215c9be40e", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 1000000000, + -0.75 + ], + "worksheet_row": 3 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "f8cdb70c6b27a0093d33d1eee48f990bb59c7feb45bd9f89fd69412a2047801a", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 1000000000, + -0.2 + ], + "worksheet_row": 6 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "fc3d0b5fa29cdf29117ddc3d692c831854c87af0eec757b60b4295881f9475ae", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_pvk_cb", + "coordinates": [ + 100000000000 + ], + "worksheet_row": 4 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "fd37065d1b7c220f12edd24a7077c190fb0ee4ad0b9b3a345ce99b9df4ffd40e", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 10000000000, + -0.2 + ], + "worksheet_row": 22 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "fdb652fcb37587eb83b5271704edf7ab0837cef49c86d315419b16ac63a83652", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 1000000000000000, + 0 + ], + "worksheet_row": 106 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "fdee1045d47aef8c86101b14b0c33a65e3abca640b9f025eb38979117e9e1ee2", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 10000000000, + 0.5 + ], + "worksheet_row": 31 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "feb7638594020baa12aa866b1a6f00742c555f51a0720c6b089391ccfa75b1f4", + "partition": "training", + "anchor": { + "group_id": "scaps_nt_htl_pvk", + "coordinates": [ + 10000000000 + ], + "worksheet_row": 3 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "ff63ac9a9303a6528f5403ec85e2c400fc01f45ba88c38d2820338acb537ac0c", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 10000000000, + 0.6 + ], + "worksheet_row": 32 + }, + "alias_count": 1 + }, + { + "reconstructed_condition_sha256": "ff9eb7fd8df9886377a711baa11f99931761178a634002836220354127af665d", + "partition": "validation", + "anchor": { + "group_id": "scaps_nt_cbo", + "coordinates": [ + 100000000000, + 0.6 + ], + "worksheet_row": 48 + }, + "alias_count": 1 + } + ], + "unique_condition_partition_counts": { + "validation": 185, + "training": 18 + }, + "alias_precision_conflicts": [ + { + "condition_sha256": "0a83a55f05453eb3e884266f3b8868c78eb1c5b8918cb4255a230cc2575b9146", + "metric": "FF_percent", + "anchor_group": "scaps_nt_cbo", + "alias_group": "scaps_nt_et", + "difference": 0.0049999999999954525, + "combined_report_precision": 0.0002 + }, + { + "condition_sha256": "0a83a55f05453eb3e884266f3b8868c78eb1c5b8918cb4255a230cc2575b9146", + "metric": "PCE_percent", + "anchor_group": "scaps_nt_cbo", + "alias_group": "scaps_nt_et", + "difference": 0.0017999999999993577, + "combined_report_precision": 0.0002 + }, + { + "condition_sha256": "16bc4117c056fa07a9c05b5fe7ad117ca93cbc713d414a4d93cf8f619135ec0e", + "metric": "Jsc_mA_cm2", + "anchor_group": "scaps_cbo", + "alias_group": "scaps_nt_cbo", + "difference": 1.8100000001020078e-06, + "combined_report_precision": 2e-08 + }, + { + "condition_sha256": "20bb3c32ab7f9004ce46cfc3ecf3357b54bcc1f96af767eb3584791d367bbd79", + "metric": "FF_percent", + "anchor_group": "scaps_nt_cbo", + "alias_group": "scaps_nt_et", + "difference": 0.0010999999999938836, + "combined_report_precision": 0.0002 + }, + { + "condition_sha256": "20bb3c32ab7f9004ce46cfc3ecf3357b54bcc1f96af767eb3584791d367bbd79", + "metric": "PCE_percent", + "anchor_group": "scaps_nt_cbo", + "alias_group": "scaps_nt_et", + "difference": 0.0002999999999993008, + "combined_report_precision": 0.0002 + }, + { + "condition_sha256": "834ce8eb85d5a8bf23cbf47e9e664a97ae1667c1b507578ba2fff3769e4cb66d", + "metric": "Voc_V", + "anchor_group": "scaps_nt_cbo", + "alias_group": "scaps_nt_et", + "difference": 0.00010900000000013677, + "combined_report_precision": 2e-06 + }, + { + "condition_sha256": "834ce8eb85d5a8bf23cbf47e9e664a97ae1667c1b507578ba2fff3769e4cb66d", + "metric": "Jsc_mA_cm2", + "anchor_group": "scaps_nt_cbo", + "alias_group": "scaps_nt_et", + "difference": 2.7200000012328474e-06, + "combined_report_precision": 1.0999999999999999e-07 + }, + { + "condition_sha256": "834ce8eb85d5a8bf23cbf47e9e664a97ae1667c1b507578ba2fff3769e4cb66d", + "metric": "FF_percent", + "anchor_group": "scaps_nt_cbo", + "alias_group": "scaps_nt_et", + "difference": 0.002200000000001978, + "combined_report_precision": 0.0002 + }, + { + "condition_sha256": "834ce8eb85d5a8bf23cbf47e9e664a97ae1667c1b507578ba2fff3769e4cb66d", + "metric": "PCE_percent", + "anchor_group": "scaps_nt_cbo", + "alias_group": "scaps_nt_et", + "difference": 0.0030999999999998806, + "combined_report_precision": 0.0002 + }, + { + "condition_sha256": "986d3bcc8a03067f004852facdae7965b09ef2385c571687ab0d3270e6aa26f3", + "metric": "Voc_V", + "anchor_group": "scaps_nt_cbo", + "alias_group": "scaps_nt_et", + "difference": 9.700000000001374e-05, + "combined_report_precision": 2e-06 + }, + { + "condition_sha256": "986d3bcc8a03067f004852facdae7965b09ef2385c571687ab0d3270e6aa26f3", + "metric": "Jsc_mA_cm2", + "anchor_group": "scaps_nt_cbo", + "alias_group": "scaps_nt_et", + "difference": 2.700000010236181e-07, + "combined_report_precision": 1.0999999999999999e-07 + }, + { + "condition_sha256": "986d3bcc8a03067f004852facdae7965b09ef2385c571687ab0d3270e6aa26f3", + "metric": "FF_percent", + "anchor_group": "scaps_nt_cbo", + "alias_group": "scaps_nt_et", + "difference": 0.0023999999999944066, + "combined_report_precision": 0.0002 + }, + { + "condition_sha256": "986d3bcc8a03067f004852facdae7965b09ef2385c571687ab0d3270e6aa26f3", + "metric": "PCE_percent", + "anchor_group": "scaps_nt_cbo", + "alias_group": "scaps_nt_et", + "difference": 0.0029000000000003467, + "combined_report_precision": 0.0002 + }, + { + "condition_sha256": "9880e134cd30e9dae442bb8fee992e0b230a3230b9f5cb36bf36bc777071e435", + "metric": "Voc_V", + "anchor_group": "scaps_base", + "alias_group": "scaps_et_pvk_etl", + "difference": 0.00010599999999993948, + "combined_report_precision": 0.000101 + }, + { + "condition_sha256": "9880e134cd30e9dae442bb8fee992e0b230a3230b9f5cb36bf36bc777071e435", + "metric": "Voc_V", + "anchor_group": "scaps_base", + "alias_group": "scaps_nt_et", + "difference": 0.00010599999999993948, + "combined_report_precision": 0.000101 + }, + { + "condition_sha256": "9880e134cd30e9dae442bb8fee992e0b230a3230b9f5cb36bf36bc777071e435", + "metric": "Jsc_mA_cm2", + "anchor_group": "scaps_base", + "alias_group": "scaps_pvk_donor", + "difference": 0.00019400000000047157, + "combined_report_precision": 0.000101 + }, + { + "condition_sha256": "c4797a08077ea38b3cf7e5286dc8cd3c692cc5a0fb36c5083a87b439f8e72ea5", + "metric": "Voc_V", + "anchor_group": "scaps_nt_cbo", + "alias_group": "scaps_nt_et", + "difference": 9.40000000000385e-05, + "combined_report_precision": 2e-06 + }, + { + "condition_sha256": "c4797a08077ea38b3cf7e5286dc8cd3c692cc5a0fb36c5083a87b439f8e72ea5", + "metric": "Jsc_mA_cm2", + "anchor_group": "scaps_nt_cbo", + "alias_group": "scaps_nt_et", + "difference": 2.548000000146544e-05, + "combined_report_precision": 2e-08 + }, + { + "condition_sha256": "c4797a08077ea38b3cf7e5286dc8cd3c692cc5a0fb36c5083a87b439f8e72ea5", + "metric": "FF_percent", + "anchor_group": "scaps_nt_cbo", + "alias_group": "scaps_nt_et", + "difference": 0.003500000000002501, + "combined_report_precision": 0.0002 + }, + { + "condition_sha256": "c4797a08077ea38b3cf7e5286dc8cd3c692cc5a0fb36c5083a87b439f8e72ea5", + "metric": "PCE_percent", + "anchor_group": "scaps_nt_cbo", + "alias_group": "scaps_nt_et", + "difference": 0.0030000000000001137, + "combined_report_precision": 0.0002 + } + ], + "alias_policy": "All source aliases remain mandatory table comparisons; fit one lexicographically predetermined source anchor per unique declared training condition, and resolve above-rounding alias conflicts before fitting", + "maximum_global_parameter_vectors": 12, + "objective": "Minimize sum of squared residuals scaled by the fixed pointwise gates over unique training conditions and all four metrics, with equal weight per condition and metric; failed solves have infinite cost", + "validation": "Freeze one global vector before viewing new validation outputs, then evaluate all held-out coordinates once; no per-point fit, post-validation refit or gate change", + "historical_leakage_limit": "All source values and historical tuning are already known; this is a prospective calibration holdout, not a claim of blind independent external validation", + "source_missing_policy": "14 source-missing points are never fitting data and remain visible in validation coverage", + "alias_diagnostic": { + "root": "archive", + "path": "test/ArchitectureRefactor/Stage00/ScapsTableProvenanceV1.json", + "sha256": "8a822fbfaa373629488342a971a7188d3a490fb6022e943dd587f030ec4734db", + "role": "conservative_alias_partition_evidence" + } + }, + "execution_authorized": false, + "scientific_qualification_granted": false, + "shape_reference_coverage": [ + { + "group_id": "scaps_nt_et", + "adjacent_rectangles_expected": 42, + "complete_numeric_rectangles": 42, + "reference_missing_rectangles": [] + }, + { + "group_id": "scaps_nt_cbo", + "adjacent_rectangles_expected": 90, + "complete_numeric_rectangles": 78, + "reference_missing_rectangles": [ + { + "axis_lower_indices": [ + 1, + 14 + ], + "missing_corners": [ + [ + 100000000000, + 0.7 + ] + ] + }, + { + "axis_lower_indices": [ + 2, + 13 + ], + "missing_corners": [ + [ + 1000000000000, + 0.6 + ] + ] + }, + { + "axis_lower_indices": [ + 2, + 14 + ], + "missing_corners": [ + [ + 100000000000, + 0.7 + ], + [ + 1000000000000, + 0.6 + ], + [ + 1000000000000, + 0.7 + ] + ] + }, + { + "axis_lower_indices": [ + 3, + 12 + ], + "missing_corners": [ + [ + 10000000000000, + 0.5 + ] + ] + }, + { + "axis_lower_indices": [ + 3, + 13 + ], + "missing_corners": [ + [ + 1000000000000, + 0.6 + ], + [ + 10000000000000, + 0.5 + ], + [ + 10000000000000, + 0.6 + ] + ] + }, + { + "axis_lower_indices": [ + 3, + 14 + ], + "missing_corners": [ + [ + 1000000000000, + 0.6 + ], + [ + 1000000000000, + 0.7 + ], + [ + 10000000000000, + 0.6 + ], + [ + 10000000000000, + 0.7 + ] + ] + }, + { + "axis_lower_indices": [ + 4, + 12 + ], + "missing_corners": [ + [ + 10000000000000, + 0.5 + ], + [ + 100000000000000, + 0.5 + ] + ] + }, + { + "axis_lower_indices": [ + 4, + 13 + ], + "missing_corners": [ + [ + 10000000000000, + 0.5 + ], + [ + 10000000000000, + 0.6 + ], + [ + 100000000000000, + 0.5 + ], + [ + 100000000000000, + 0.6 + ] + ] + }, + { + "axis_lower_indices": [ + 4, + 14 + ], + "missing_corners": [ + [ + 10000000000000, + 0.6 + ], + [ + 10000000000000, + 0.7 + ], + [ + 100000000000000, + 0.6 + ], + [ + 100000000000000, + 0.7 + ] + ] + }, + { + "axis_lower_indices": [ + 5, + 12 + ], + "missing_corners": [ + [ + 100000000000000, + 0.5 + ], + [ + 1000000000000000, + 0.5 + ] + ] + }, + { + "axis_lower_indices": [ + 5, + 13 + ], + "missing_corners": [ + [ + 100000000000000, + 0.5 + ], + [ + 100000000000000, + 0.6 + ], + [ + 1000000000000000, + 0.5 + ], + [ + 1000000000000000, + 0.6 + ] + ] + }, + { + "axis_lower_indices": [ + 5, + 14 + ], + "missing_corners": [ + [ + 100000000000000, + 0.6 + ], + [ + 100000000000000, + 0.7 + ], + [ + 1000000000000000, + 0.6 + ], + [ + 1000000000000000, + 0.7 + ] + ] + } + ] + } + ], + "review_working_head": "9224f652aa2527db9139579f25033d93aafc77f4", + "freeze_scope": { + "frozen": "Thresholds, comparison scope/definitions and prospective reference plan", + "reference_qualification": "pending", + "candidate_execution_authorized": false, + "lifecycle": "Threshold/plan freeze precedes reference generation and candidate results; actual reference error/source/environment qualification is checked before reference use or candidate acceptance, not falsely granted by this freeze" + } +} diff --git a/scripts/benchmarks/_build_integer_product.py b/scripts/benchmarks/_build_integer_product.py new file mode 100644 index 00000000..ef8d8a65 --- /dev/null +++ b/scripts/benchmarks/_build_integer_product.py @@ -0,0 +1,68 @@ +"""Explicit one-shot build of the private checker into a new external directory.""" +from hashlib import sha256 +import json +from pathlib import Path +import shlex +import subprocess +import sys +import sysconfig + + +def hashed(path): + with Path(path).open("rb") as stream: + return sha256(stream.read()).hexdigest() + + +def main(): + if len(sys.argv) != 3: + raise SystemExit("usage: _build_integer_product.py COMPILER OUTPUT_DIRECTORY") + compiler, output = Path(sys.argv[1]).resolve(), Path(sys.argv[2]).resolve() + here = Path(__file__).resolve().parent + repo = here.parent.parent + if output.is_relative_to(repo): + raise SystemExit("compiled artifacts must remain outside the repository") + if output.exists(): + raise SystemExit("refuse to overwrite an existing build attempt") + if sys.implementation.name != "cpython" or sys.platform != "darwin": + raise SystemExit("this explicit build command supports CPython on macOS only") + source = here / "_integer_product_native.c" + include = Path(sysconfig.get_path("include")).resolve() + sdk = Path("/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk").resolve() + flags = ["-std=c11", "-O2", "-Wall", "-Wextra", "-Werror", "-fPIC", + "-fno-fast-math", "-shared", "-undefined", "dynamic_lookup", + "-isysroot", str(sdk), "-I", str(include)] + build = { + "source_path": str(source), "source_sha256": hashed(source), + "loader_sha256": hashed(here / "_integer_product_backend.py"), + "builder_sha256": hashed(__file__), "compiler_path": str(compiler), + "compiler_sha256": hashed(compiler), "flags": flags, + "python_executable": str(Path(sys.executable).resolve()), + "python_executable_sha256": hashed(Path(sys.executable).resolve()), + "python_cache_tag": sys.implementation.cache_tag, "python_version": sys.version, + "python_headers": {str(p): hashed(p) for p in sorted(include.rglob("*.h"))}, + "extension_suffix": sysconfig.get_config_var("EXT_SUFFIX"), + } + build_id = sha256(json.dumps(build, sort_keys=True, separators=(",", ":")).encode()).hexdigest() + output.mkdir(parents=True) + binary = output / ("_integer_product_native" + build["extension_suffix"]) + dependencies = output / "HeaderDependencies.d" + command = [str(compiler), *flags, + '-DINTEGER_SOURCE_SHA256="' + build["source_sha256"] + '"', + '-DINTEGER_BUILD_ID="' + build_id + '"', + "-MD", "-MF", str(dependencies), "-MT", "integer_product", + str(source), "-o", str(binary)] + (output / "BuildRequest.json").write_text(json.dumps( + {"build": build, "build_id": build_id, "command": command}, indent=2) + "\n") + subprocess.run(command, check=True, timeout=2.0) + dependency_names = shlex.split(dependencies.read_text().replace("\\\n", "").split(":", 1)[1]) + manifest = {"schema": "solarlab.integer-product-build.v1", "build": build, + "build_id": build_id, "command": command, + "binary_path": str(binary), "binary_sha256": hashed(binary), + "actual_dependency_sha256": {name: hashed(name) for name in dependency_names}} + (output / "Manifest.json").write_text(json.dumps(manifest, indent=2) + "\n") + print(json.dumps({"manifest": str(output / "Manifest.json"), + "binary_sha256": manifest["binary_sha256"], "build_id": build_id})) + + +if __name__ == "__main__": + main() diff --git a/scripts/benchmarks/_integer_product_backend.py b/scripts/benchmarks/_integer_product_backend.py new file mode 100644 index 00000000..0e32419f --- /dev/null +++ b/scripts/benchmarks/_integer_product_backend.py @@ -0,0 +1,80 @@ +"""Optional exact checker; explicit immutable build manifest, never auto-build.""" +from hashlib import sha256 +import importlib.util +import json +import os +from pathlib import Path +import sys +from types import BuiltinFunctionType + +HERE = Path(__file__).resolve().parent + + +def _hashed(path): + with Path(path).open("rb") as stream: + return sha256(stream.read()).hexdigest() + + +def _load(): + mode = os.environ.get("SOLARLAB_INTEGER_PRODUCT", "auto") + if mode not in {"auto", "python", "required"}: + raise RuntimeError("invalid integer-product backend selection") + source = HERE / "_integer_product_native.c" + info = {"schema": "solarlab.integer-product-backend.v1", "backend": "python", + "selection": mode, "loader_sha256": _hashed(__file__), + "c_source_sha256": _hashed(source) if source.is_file() else None, + "python_cache_tag": sys.implementation.cache_tag} + if mode == "python": + info["reason"] = "explicit_python" + return None, info + manifest_name = os.environ.get("SOLARLAB_INTEGER_PRODUCT_MANIFEST") + try: + if not manifest_name: + raise ImportError("no explicit integer-product manifest") + manifest_path = Path(manifest_name).resolve() + manifest = json.loads(manifest_path.read_text()) + if manifest["schema"] != "solarlab.integer-product-build.v1": + raise ImportError("unsupported integer-product manifest") + build = manifest["build"] + build_id = sha256(json.dumps(build, sort_keys=True, separators=(",", ":")).encode()).hexdigest() + if (build_id != manifest["build_id"] + or build["source_sha256"] != info["c_source_sha256"] + or build["loader_sha256"] != info["loader_sha256"] + or build["python_cache_tag"] != sys.implementation.cache_tag + or Path(build["python_executable"]).resolve() != Path(sys.executable).resolve() + or build["python_executable_sha256"] != _hashed(Path(sys.executable).resolve())): + raise ImportError("integer-product source/interpreter binding mismatch") + binary = Path(manifest["binary_path"]).resolve() + if binary.parent != manifest_path.parent or _hashed(binary) != manifest["binary_sha256"]: + raise ImportError("integer-product binary binding mismatch") + spec = importlib.util.spec_from_file_location( + "scripts.benchmarks._integer_product_native", binary) + if spec is None or spec.loader is None: + raise ImportError("integer-product extension loader unavailable") + native = importlib.util.module_from_spec(spec) + spec.loader.exec_module(native) + if (native.SOURCE_SHA256 != info["c_source_sha256"] or native.BUILD_ID != build_id + or not native.ABI["supported"] or native.ABI["integer_bits"] != 128 + or not isinstance(native.matches, BuiltinFunctionType) + or _hashed(binary) != manifest["binary_sha256"]): + raise ImportError("integer-product extension ABI/provenance mismatch") + info.update(backend="integer128", binary_path=str(binary), + binary_sha256=manifest["binary_sha256"], build_id=build_id, + manifest_path=str(manifest_path), manifest_sha256=_hashed(manifest_path), + abi=dict(native.ABI)) + return native.matches, info + except (ImportError, OSError, KeyError, TypeError, ValueError, AttributeError) as error: + if mode == "required": + raise RuntimeError("required integer-product backend unavailable") from error + info["reason"] = type(error).__name__ + ": " + str(error) + return None, info + + +CHECKER, _identity = _load() +_IDENTITY_JSON = json.dumps(_identity, sort_keys=True, separators=(",", ":")) +del _identity + + +def backend_identity(): + """Return fresh metadata for the selected code, not cached numeric answers.""" + return json.loads(_IDENTITY_JSON) diff --git a/scripts/benchmarks/_integer_product_native.c b/scripts/benchmarks/_integer_product_native.c new file mode 100644 index 00000000..ed93c417 --- /dev/null +++ b/scripts/benchmarks/_integer_product_native.c @@ -0,0 +1,201 @@ +/* Exact a*b == high+low for finite builtin binary64 values. + * No floating arithmetic: memcpy decodes stored words; all work is integer. + */ +#define PY_SSIZE_T_CLEAN +#include +#include +#include +#include +#include + +#ifndef INTEGER_SOURCE_SHA256 +#define INTEGER_SOURCE_SHA256 "unbound" +#endif +#ifndef INTEGER_BUILD_ID +#define INTEGER_BUILD_ID "unbound" +#endif + +#if defined(__SIZEOF_INT128__) && __SIZEOF_INT128__ == 16 +#define INTEGER_BITS 128 +typedef __int128 signed128; +typedef unsigned __int128 unsigned128; +typedef struct { signed128 coefficient; int exponent; } Dyadic; + +/* Call only for a nonzero magnitude: each shift is in [0, 106]. */ +static Dyadic +normalize(signed128 coefficient, int exponent) +{ + unsigned128 magnitude = coefficient < 0 + ? (unsigned128)(-coefficient) : (unsigned128)coefficient; + uint64_t lower = (uint64_t)magnitude; + unsigned shift = lower ? (unsigned)__builtin_ctzll((unsigned long long)lower) + : 64U + (unsigned)__builtin_ctzll((unsigned long long)(magnitude >> 64)); + magnitude >>= shift; + Dyadic result = {coefficient < 0 ? -(signed128)magnitude + : (signed128)magnitude, + exponent + (int)shift}; + return result; +} + +static int +decode(PyObject *value, Dyadic *result) +{ + uint64_t bits; + if (!PyFloat_CheckExact(value)) + return 0; + memcpy(&bits, &((PyFloatObject *)value)->ob_fval, sizeof bits); + unsigned raw_exponent = (unsigned)((bits >> 52) & UINT64_C(0x7ff)); + if (raw_exponent == 0x7ffU) + return 0; + uint64_t coefficient = bits & UINT64_C(0x000fffffffffffff); + if (raw_exponent) + coefficient |= UINT64_C(0x0010000000000000); + if (!coefficient) { + *result = (Dyadic){0, 0}; /* Both zero signs denote the same real zero. */ + return 1; + } + signed128 signed_coefficient = (signed128)coefficient; + if (bits >> 63) + signed_coefficient = -signed_coefficient; + *result = normalize(signed_coefficient, + raw_exponent ? (int)raw_exponent - 1075 : -1074); + return 1; +} + +static int +zero_sum(Dyadic terms[3]) +{ + Dyadic nonzero[3]; + int count = 0; + for (int i = 0; i < 3; ++i) + if (terms[i].coefficient) + nonzero[count++] = terms[i]; + if (!count) + return 1; + if (count == 1) + return 0; + if (count == 2) + return nonzero[0].exponent == nonzero[1].exponent + && nonzero[0].coefficient == -nonzero[1].coefficient; + + int minimum = nonzero[0].exponent; + for (int i = 1; i < 3; ++i) + if (nonzero[i].exponent < minimum) + minimum = nonzero[i].exponent; + int first = -1, second = -1, third = -1; + for (int i = 0; i < 3; ++i) { + if (nonzero[i].exponent != minimum) + third = i; + else if (first < 0) + first = i; + else if (second < 0) + second = i; + else + return 0; /* Three odd coefficients at one exponent sum to odd. */ + } + if (second < 0) + return 0; /* A unique odd minimum cannot cancel two even multiples. */ + signed128 sum = nonzero[first].coefficient + nonzero[second].coefficient; + if (!sum) + return 0; /* The remaining third coefficient is nonzero. */ + Dyadic combined = normalize(sum, minimum); + return combined.exponent == nonzero[third].exponent + && combined.coefficient == -nonzero[third].coefficient; +} +#else +#define INTEGER_BITS 0 +#endif + +static int supported_abi; + +static PyObject * +matches(PyObject *self, PyObject *const *args, Py_ssize_t nargs) +{ + (void)self; + if (nargs != 4) { + PyErr_SetString(PyExc_TypeError, "matches requires four positional values"); + return NULL; + } +#if INTEGER_BITS == 128 + if (supported_abi) { + Dyadic a, b, high, low; + if (!decode(args[0], &a) || !decode(args[1], &b) + || !decode(args[2], &high) || !decode(args[3], &low)) + Py_RETURN_NOTIMPLEMENTED; + /* Operand coefficients have <=53 bits; their product has <=106. + * Every later signed addition has <=107 bits, strictly below 127. + * Exponents lie in [-2148, 2153], and no large alignment shift occurs. + */ + Dyadic terms[3] = { + {a.coefficient * b.coefficient, a.exponent + b.exponent}, + {-high.coefficient, high.exponent}, + {-low.coefficient, low.exponent} + }; + return PyBool_FromLong(zero_sum(terms)); + } +#endif + Py_RETURN_NOTIMPLEMENTED; +} + +static PyMethodDef methods[] = { + {"matches", _PyCFunction_CAST(matches), METH_FASTCALL, + "Exact finite builtin-float equality; NotImplemented outside the ABI/types."}, + {NULL, NULL, 0, NULL} +}; +static struct PyModuleDef module = { + PyModuleDef_HEAD_INIT, "_integer_product_native", NULL, -1, methods, + NULL, NULL, NULL, NULL +}; + +PyMODINIT_FUNC +PyInit__integer_product_native(void) +{ + supported_abi = CHAR_BIT == 8 && sizeof(double) == 8 && sizeof(uint64_t) == 8 + && sizeof(unsigned long long) == 8 && sizeof(int) >= 4 + && FLT_RADIX == 2 && DBL_MANT_DIG == 53 + && DBL_MIN_EXP == -1021 && DBL_MAX_EXP == 1024 && INTEGER_BITS == 128; +#if !defined(__APPLE__) || !(defined(__arm64__) || defined(__aarch64__)) + supported_abi = 0; /* This optional build attests only Darwin arm64. */ +#endif + if (supported_abi) { + /* Exact stored constants, never evaluated as arithmetic or compared + * as floats; these establish the double/uint64 bit-layout agreement. + */ + static const double values[] = { + 0.0, -0.0, 1.0, 0x1.0000000000001p0, + 0x1p-1022, 0x0.0000000000001p-1022, 0x1.fffffffffffffp1023 + }; + static const uint64_t expected[] = { + UINT64_C(0), UINT64_C(0x8000000000000000), + UINT64_C(0x3ff0000000000000), UINT64_C(0x3ff0000000000001), + UINT64_C(0x0010000000000000), UINT64_C(1), + UINT64_C(0x7fefffffffffffff) + }; + for (unsigned i = 0; i < sizeof values / sizeof values[0]; ++i) { + uint64_t bits; + memcpy(&bits, &values[i], sizeof bits); + if (bits != expected[i]) + supported_abi = 0; + } + } + PyObject *result = PyModule_Create(&module); + if (!result) + return NULL; + PyObject *abi = Py_BuildValue("{s:O,s:i,s:i,s:i,s:i,s:i,s:i,s:s,s:s}", + "supported", supported_abi ? Py_True : Py_False, + "char_bits", CHAR_BIT, "double_bytes", (int)sizeof(double), + "uint64_bytes", (int)sizeof(uint64_t), "integer_bits", INTEGER_BITS, + "mantissa_bits", DBL_MANT_DIG, "layout_witnesses", 7, + "python_version", PY_VERSION, "compiler", __VERSION__); + if (!abi || PyModule_AddObject(result, "ABI", abi) < 0) { + Py_XDECREF(abi); + Py_DECREF(result); + return NULL; + } + if (PyModule_AddStringConstant(result, "SOURCE_SHA256", INTEGER_SOURCE_SHA256) < 0 + || PyModule_AddStringConstant(result, "BUILD_ID", INTEGER_BUILD_ID) < 0) { + Py_DECREF(result); + return NULL; + } + return result; +} diff --git a/scripts/benchmarks/band_steps.py b/scripts/benchmarks/band_steps.py new file mode 100644 index 00000000..a6bb6994 --- /dev/null +++ b/scripts/benchmarks/band_steps.py @@ -0,0 +1,37 @@ +"""Isolated band-drive arithmetic for the SCAPS conditioning diagnostic. + +The effective affinity and gap are the original transport inputs, including +any already resolved DOS correction. Their numerical eV values contribute to +the transport potentials in volts. This module changes only the order of +arithmetic; it does not select a model, form a new state, or run a solver. +""" + +from __future__ import annotations + +import numpy as np + + +def band_steps(phi, effective_affinity, effective_gap): + """Return adjacent electron and hole transport-potential differences. + + Subtract each component before adding the differences. Adding a common + band offset to every potential first can erase a small electric drive. + The returned arrays are ordinary binary64 values, not exact or interval + bounds; the original Bernoulli and flux evaluation remain separate. + """ + fields = [] + for value in (phi, effective_affinity, effective_gap): + array = np.asarray(value) + if array.dtype.kind not in "fiu" or array.ndim != 1 or array.size < 2: + raise ValueError("band components require real one-dimensional arrays") + array = np.asarray(array, dtype=np.float64) + if not np.isfinite(array).all(): + raise ValueError("band components must be finite") + fields.append(array) + potential, affinity, gap = fields + if potential.shape != affinity.shape or potential.shape != gap.shape: + raise ValueError("band components must share the same nodes") + with np.errstate(over="raise", invalid="raise"): + electron = np.diff(potential) + np.diff(affinity) + hole = electron + np.diff(gap) + return electron, hole diff --git a/scripts/benchmarks/bounded_observation.py b/scripts/benchmarks/bounded_observation.py new file mode 100644 index 00000000..9c80426d --- /dev/null +++ b/scripts/benchmarks/bounded_observation.py @@ -0,0 +1,287 @@ +"""Opt-in conservative upper sums, separate from the native exact-prefix contract. + +Only nonnegative *bound increments* are rounded. Every step certificate carries +the untouched interval/signed-evidence bytes. The verifier consumes independent +expected terms and delivers each checked certificate to a required retention +sink; only its final return certifies complete consumption. The sink still owns +durable storage and its I/O/resource checks. This module evaluates no model or +solver, and no physical acceptance threshold is changed here. +""" +from dataclasses import dataclass +from fractions import Fraction +import hashlib +from itertools import zip_longest +import json +import re +from typing import Callable, Iterable + +POLICY_SCHEMA = "solarlab.nonnegative-upper-sum.v1" +TERM_SCHEMA = "solarlab.nonnegative-upper-term.v1" +CERTIFICATE_SCHEMA = "solarlab.nonnegative-upper-step.v1" +MAX_BITS = 131072 +MAX_TERMS = 200000 +MAX_EVIDENCE_BYTES = 16 * 1024 * 1024 + + +class UpperSumError(ValueError): + """A bound, certificate, provenance or finite resource contract failed.""" + + +def _require(condition, reason): + if not condition: + raise UpperSumError(reason) + + +def _integer(value, low, high, name): + _require(type(value) is int and low <= value <= high, name) + + +def _digest(value): + return hashlib.sha256(json.dumps(value, sort_keys=True, separators=(",", ":")).encode()).hexdigest() + + +def _identity(value): + return type(value) is str and re.fullmatch(r"[0-9a-f]{64}", value) is not None + + +def _exact(value, bits, name): + _require(type(value) in (int, Fraction), name + "_must_be_exact") + value = Fraction(value) + _require(value >= 0, name + "_negative") + _require(max(value.numerator.bit_length(), value.denominator.bit_length()) <= bits, name + "_bits") + return value + + +@dataclass(frozen=True) +class BoundChannel: + ledger: str + row: str + kind: str + unit: str = "C" + + def __post_init__(self): + _require(self.ledger in ("raw_polynomial", "same_state_affine_tangent"), "unsupported_ledger") + _require(self.row in ("device", "left_metal", "right_metal"), "unsupported_row") + _require(self.kind in ("total", "reference"), "not_a_nonnegative_upper_bound_channel") + _require(self.unit == "C", "channel_unit") + + @property + def identity(self): + return f"{self.ledger}.{self.row}.{self.kind}" + + @property + def source_increment(self): + return "interval_total_bound_C" if self.kind == "total" else "interval_reference_error_C" + + +@dataclass(frozen=True) +class UpperSumPolicy: + source_identity: str + channels: tuple[BoundChannel, ...] + quantum_bits: int + max_terms: int + max_slack_per_channel: Fraction + max_increment_bits: int + max_evidence_bytes: int + schema: str = POLICY_SCHEMA + + def __post_init__(self): + _require(self.schema == POLICY_SCHEMA, "unsupported_policy_version") + _require(_identity(self.source_identity), "source_identity") + _require(type(self.channels) is tuple and 1 <= len(self.channels) <= 12 + and all(type(c) is BoundChannel for c in self.channels), "channel_map") + _require(len(set(self.channel_ids)) == len(self.channels), "duplicate_channel") + _integer(self.quantum_bits, 0, MAX_BITS - 1, "quantum_bits") + _integer(self.max_terms, 1, MAX_TERMS, "max_terms") + _integer(self.max_increment_bits, 1, MAX_BITS, "max_increment_bits") + _integer(self.max_evidence_bytes, 1, MAX_EVIDENCE_BYTES, "max_evidence_bytes") + slack = _exact(self.max_slack_per_channel, MAX_BITS, "slack") + _require(self.max_terms * self.quantum <= slack, "lifetime_slack_budget") + object.__setattr__(self, "max_slack_per_channel", slack) + + @property + def channel_ids(self): + return tuple(c.identity for c in self.channels) + + @property + def quantum(self): + return Fraction(1, 1 << self.quantum_bits) + + @property + def upper_integer_bits(self): + # Each increment is <2^max_increment_bits; each rounded increment is + # at most2^(max_increment_bits+quantum_bits), before at most N adds. + return self.max_increment_bits + self.quantum_bits + self.max_terms.bit_length() + 1 + + @property + def identity(self): + return _digest({"schema": self.schema, "source_identity": self.source_identity, + "channels": [{"id": c.identity, "unit": c.unit, "increment": c.source_increment, + "role": "nonnegative_upper_bound"} for c in self.channels], + "quantum_bits": self.quantum_bits, "max_terms": self.max_terms, + "max_slack_per_channel_hex": [hex(self.max_slack_per_channel.numerator), + hex(self.max_slack_per_channel.denominator)], + "max_increment_bits": self.max_increment_bits, "max_evidence_bytes": self.max_evidence_bytes}) + + +@dataclass(frozen=True) +class ExactBoundTerm: + source_identity: str + channel_ids: tuple[str, ...] + interval_sha256: str + increments: tuple[Fraction, ...] + signed_evidence: bytes + unit: str = "C" + schema: str = TERM_SCHEMA + + +@dataclass(frozen=True) +class UpperStepCertificate: + policy_sha256: str + index: int + term: ExactBoundTerm + upper_numerators: tuple[int, ...] + rounded_terms: tuple[int, ...] + slack_upper_bounds: tuple[Fraction, ...] + schema: str = CERTIFICATE_SCHEMA + + +def _validate_term(policy, term): + """Shared structural checks only; verifier rounding arithmetic is separate.""" + _require(type(term) is ExactBoundTerm and term.schema == TERM_SCHEMA, "unsupported_term_version") + _require(term.source_identity == policy.source_identity, "term_source_identity") + _require(type(term.channel_ids) is tuple and term.channel_ids == policy.channel_ids, "term_channel_map") + _require(term.unit == "C", "term_unit") + _require(type(term.signed_evidence) is bytes and 0 < len(term.signed_evidence) <= policy.max_evidence_bytes, + "evidence_bytes") + _require(_identity(term.interval_sha256) + and hashlib.sha256(term.signed_evidence).hexdigest() == term.interval_sha256, "interval_evidence_identity") + _require(type(term.increments) is tuple and len(term.increments) == len(policy.channels), "increment_shape") + values = tuple(_exact(v, policy.max_increment_bits, "increment") for v in term.increments) + by_channel = dict(zip(policy.channel_ids, values)) + for channel, value in zip(policy.channels, values): + if channel.kind == "total": + reference = f"{channel.ledger}.{channel.row}.reference" + _require(value >= by_channel.get(reference, Fraction(0)), "total_less_than_reference") + return values + + +class UpperAccumulator: + """Constant-size aggregate; callers retain every emitted step certificate.""" + + def __init__(self, policy: UpperSumPolicy): + _require(type(policy) is UpperSumPolicy, "explicit_policy_required") + self.policy = policy + self._policy_id = policy.identity + self._count = 0 + self._upper = (0,) * len(policy.channels) + self._rounded = (0,) * len(policy.channels) + + @property + def count(self): + return self._count + + @property + def upper_numerators(self): + """Producer state only, not an independently verified prefix.""" + return self._upper + + @property + def rounded_terms(self): + return self._rounded + + def append(self, term: ExactBoundTerm) -> UpperStepCertificate: + _require(self._count < self.policy.max_terms, "too_many_terms") + values = _validate_term(self.policy, term) + upper, rounded = [], [] + for k, events, value in zip(self._upper, self._rounded, values): + quotient, remainder = divmod(value.numerator << self.policy.quantum_bits, value.denominator) + upper.append(k + quotient + int(remainder != 0)) + rounded.append(events + int(remainder != 0)) + slack = tuple(n * self.policy.quantum for n in rounded) + _require(all(v <= self.policy.max_slack_per_channel for v in slack), "slack_budget") + _require(all(k.bit_length() <= self.policy.upper_integer_bits for k in upper), "upper_integer_bits") + certificate = UpperStepCertificate(self._policy_id, self._count + 1, term, + tuple(upper), tuple(rounded), slack) + # Validation and certificate construction precede every state mutation. + self._count, self._upper, self._rounded = certificate.index, certificate.upper_numerators, certificate.rounded_terms + return certificate + + +@dataclass(frozen=True) +class VerifiedUpperPrefix: + policy_sha256: str + channel_ids: tuple[str, ...] + count: int + upper_bounds: tuple[Fraction, ...] + slack_upper_bounds: tuple[Fraction, ...] + retention_deliveries: int + + @property + def lower_bounds(self): + return tuple(max(Fraction(0), u-s) for u, s in zip(self.upper_bounds, self.slack_upper_bounds)) + + def gate_status(self, channel_id: str, *, limit: Fraction, unit: str): + """Classify this bound enclosure against an unchanged supplied limit. + + This is not native/scientific acceptance. In particular an enclosure + straddling the limit is indeterminate and cannot earn a pass. + """ + _require(unit == "C" and channel_id in self.channel_ids, "gate_channel_or_unit") + limit = _exact(limit, MAX_BITS, "gate_limit") + index = self.channel_ids.index(channel_id) + if self.upper_bounds[index] <= limit: + return "within" + if self.lower_bounds[index] > limit: + return "exceeds" + return "indeterminate" + + +def verify_upper_prefix(policy: UpperSumPolicy, certificates: Iterable[UpperStepCertificate], + expected_terms: Iterable[ExactBoundTerm], *, + retain: Callable[[UpperStepCertificate], None]) -> VerifiedUpperPrefix: + """Independently check local rational inequalities, provenance and evidence. + + The expected terms must come from an independent, bound input decoder. This + function does not infer physical values from opaque signed-evidence bytes. + It never calls the producer or its integer-ceiling routine. The required + sink receives unchanged certificates after each local check; only a final + return certifies complete matching streams. A later failure leaves merely + a checked prefix, not a successful complete verification. + """ + _require(type(policy) is UpperSumPolicy and callable(retain), "policy_and_retention_sink_required") + policy_id, q = policy.identity, policy.quantum + upper = (Fraction(0),) * len(policy.channels) + rounded = (0,) * len(policy.channels) + count, missing = 0, object() + for index, (certificate, expected) in enumerate(zip_longest(certificates, expected_terms, fillvalue=missing), 1): + _require(index <= policy.max_terms, "too_many_terms") + _require(certificate is not missing and expected is not missing, "incomplete_or_extra_certificate_stream") + values = _validate_term(policy, expected) + _require(type(certificate) is UpperStepCertificate and certificate.schema == CERTIFICATE_SCHEMA, + "unsupported_certificate_version") + _require(certificate.policy_sha256 == policy_id, "certificate_policy_identity") + _require(type(certificate.index) is int and certificate.index == index, "certificate_order") + _require(type(certificate.term) is ExactBoundTerm and certificate.term == expected, "certificate_term_or_evidence_changed") + _validate_term(policy, certificate.term) + for field in (certificate.upper_numerators, certificate.rounded_terms, certificate.slack_upper_bounds): + _require(type(field) is tuple and len(field) == len(policy.channels), "certificate_shape") + next_upper, next_rounded = [], [] + for j, value in enumerate(values): + k, events = certificate.upper_numerators[j], certificate.rounded_terms[j] + _require(type(k) is int and k >= 0 and k.bit_length() <= policy.upper_integer_bits, "upper_integer_bound") + _require(type(events) is int and 0 <= events <= index, "rounding_count") + received = Fraction(k, 1 << policy.quantum_bits) + exact_step = upper[j] + value + # An integer-grid point in this half-open interval is unique. + _require(exact_step <= received < exact_step + q, "nonminimal_or_understated_upper") + expected_events = rounded[j] + int(received != exact_step) + _require(events == expected_events, "rounding_count_mismatch") + supplied_slack = _exact(certificate.slack_upper_bounds[j], MAX_BITS, "certificate_slack") + _require(supplied_slack == events*q <= policy.max_slack_per_channel, "slack_certificate_mismatch") + next_upper.append(received) + next_rounded.append(events) + retain(certificate) + upper, rounded, count = tuple(next_upper), tuple(next_rounded), index + return VerifiedUpperPrefix(policy_id, policy.channel_ids, count, upper, + tuple(n*q for n in rounded), count) diff --git a/scripts/benchmarks/conservative_device.py b/scripts/benchmarks/conservative_device.py new file mode 100644 index 00000000..aa9f6799 --- /dev/null +++ b/scripts/benchmarks/conservative_device.py @@ -0,0 +1,452 @@ +"""One sparse conservative BE step over public, physical-SI affine contracts. + +This is a nonlinear equation consumer, not a trajectory or error controller. +The returned history contains finite storage differences/secants, not native +derivatives or a continuous physical tangent. Real-device gates are separate. +""" +from __future__ import annotations + +from dataclasses import dataclass, field, replace +from fractions import Fraction +from typing import Callable, Mapping + +import numpy as np +from scipy.sparse.linalg import splu + +from scripts.benchmarks.contract_prototype import ( + SECOND, ContractError, FloatArithmetic, FloatArray, PhysicalScaling, + Point, StateIncrement, Unit, ValidatedProblem, frozen_array, +) +from scripts.benchmarks.precision_prototype import ( + DoubleArithmetic, DoubleArray, FrameInputExpansion, MappedAuthority, + PrimitiveExpansion, RelativeCoordinates, +) + + +@dataclass(frozen=True) +class EquationBudget: + """Absolute residual allowances in this equation's conservative units. + + Differential rows use amounts (Q); algebraic rows retain their own units. + These are nonlinear solve budgets, not integration weights/physical gates. + """ + + unit: Unit + absolute: np.ndarray + + def __post_init__(self): + value = frozen_array(self.absolute) + if not isinstance(self.unit, Unit) or value.ndim != 1 or np.any(value <= 0): + raise ContractError("invalid_conservative_equation_budget") + object.__setattr__(self, "absolute", value) + + +@dataclass(frozen=True) +class CorrectionSolve: + """Represented, column-scaled solve; absent fields mean no valid return. + + RHS words are the single binary64 projection of the complete residual. + The squared norm is exact for the returned binary64 solution, not a bound + on inverse error, the physical Jacobian or the true state error. + """ + + point_identity: str + rhs: tuple[float, ...] + rhs_projection_error: tuple[Fraction, ...] + solution: tuple[float, ...] | None = None + norm_squared: Fraction | None = None + linear_residual_inf: float | None = None + + +@dataclass(frozen=True) +class CorrectionSearch: + damping: float + base_point_identity: str + threshold_squared: Fraction + solve: CorrectionSolve + accepted: bool | None = None + + +@dataclass(frozen=True) +class NewtonRecord: + iteration: int + rhs_projection_error: tuple[Fraction, ...] + linear_residual_inf: float + damping: float + merit_before: Fraction | None = None + merit_after: Fraction | None = None + point_identity_before: str | None = None + point_identity_after: str | None = None + correction_base: CorrectionSolve | None = None + correction_searches: tuple[CorrectionSearch, ...] = () + + +@dataclass(frozen=True) +class RejectedSearch: + damping: float + point_identity: str | None + feasible: bool | None + merit: Fraction | None + + +@dataclass(frozen=True) +class ConservativeFailureDiagnostics: + """Bounded data attached as ``error.conservative_diagnostics`` on failure. + + Only the latest requested trial retains a full Point/residual. A residual + is present only after its public call returns for that exact Point; trial + construction, feasibility and residual-call failures leave it absent. + The last accepted identity denotes the Newton working iterate (initially + the feasible initial guess), never an accepted integration step. Pending + linear data belongs to ``linear_point_identity``, not a rejected trial. + Records are bounded by max_iterations and the final max_line_search; + residual_evaluations counts completed public calls, as on success. + """ + + phase: str + local_coordinates: PrimitiveExpansion | None + point: Point | None + residual: object | None + residual_point_identity: str | None + feasible: bool | None + merit: Fraction | None + last_accepted_point_identity: str | None + last_accepted_merit: Fraction | None + iterations: tuple[NewtonRecord, ...] + linear_iteration: int | None + linear_point_identity: str | None + rhs_projection_error: tuple[Fraction, ...] | None + linear_residual_inf: float | None + rejected_searches: tuple[RejectedSearch, ...] + residual_evaluations: int + line_search_evaluations: int + globalization: str = "residual" + correction_base: CorrectionSolve | None = None + correction_searches: tuple[CorrectionSearch, ...] = () + factorization_calls: int = 0 + factorization_returns: int = 0 + linear_solve_calls: int = 0 + linear_solve_returns: int = 0 + source_identity: str | None = None + scaling: PhysicalScaling | None = None + + +@dataclass(frozen=True) +class ConservativeStep: + left: Point + right: Point + increment: StateIncrement + local_coordinates: PrimitiveExpansion + storage_delta: object + storage_secant: object + residual: object + residual_units: tuple[Unit, ...] + residual_allowances: tuple[Fraction, ...] + residual_ratios: tuple[Fraction, ...] + scaling: PhysicalScaling + source_identity: str + iterations: tuple[NewtonRecord, ...] + residual_evaluations: int + line_search_evaluations: int + globalization: str = "residual" + factorization_calls: int = 0 + factorization_returns: int = 0 + linear_solve_calls: int = 0 + linear_solve_returns: int = 0 + method: str = field(default="conservative-backward-euler", init=False) + history_kind: str = field(default="finite-storage-difference-and-secant", init=False) + scientific_qualified: bool = field(default=False, init=False) + + +def _exact_words(value, size): + """Inspect all public result words; never round a residual for acceptance.""" + if isinstance(value, np.ndarray): + parts = (value,) + elif type(value) is FloatArray: + parts = (value.values,) + elif isinstance(value, (DoubleArray, PrimitiveExpansion)): + parts = value.words + else: + raise ContractError("unsupported_conservative_value_representation") + if any(w.shape != (size,) or w.dtype != np.float64 or not np.isfinite(w).all() + for w in parts): + raise ContractError("invalid_conservative_value_words") + return tuple(sum((Fraction(float(w[i])) for w in parts), Fraction()) + for i in range(size)) + + +def _budgets(problem, budgets): + if set(budgets) != {e.id for e in problem.layout.equations}: + raise ContractError("incomplete_conservative_equation_budgets") + units, limits = [], [] + for equation in problem.layout.equations: + expected = equation.unit * SECOND if equation.role == "storage" else equation.unit + budget = budgets[equation.id] + count = int(np.prod(equation.shape)) + if (not isinstance(budget, EquationBudget) or budget.unit != expected + or budget.absolute.shape != (count,)): + raise ContractError("conservative_budget_unit_or_shape_mismatch") + units.extend([expected] * count) + limits.extend(Fraction(float(x)) for x in budget.absolute) + return tuple(units), tuple(limits) + + +def _trial(coordinates, left, local, time, inputs): + """Keep the accepted left endpoint and original reference; no rebase.""" + authority = left.state.authority + if not isinstance(authority, MappedAuthority): + raise ContractError("conservative_relative_authority_required") + if authority.coordinate_kind == "local": + return coordinates.advance(left, local, time, inputs) + # Existing fixed-reference Points can include all twelve physical words. + # Reuse their original zero-primitive reference and public paired trial. + reference = authority.fixed_reference + if (authority.coordinate_kind != "fixed-reference" + or not isinstance(reference.state.authority, MappedAuthority) + or any(not x.is_zero() for x in reference.state.authority.primitives.values())): + raise ContractError("conservative_zero_primitive_reference_required") + values = [authority.primitives[v.id] for v in coordinates.layout.variables] + kind = FrameInputExpansion if authority.frame_inputs else PrimitiveExpansion + count = 12 if kind is FrameInputExpansion else 4 + base = kind(tuple(np.concatenate([v.words[i].ravel() for v in values]) for i in range(count))) + return coordinates.trial(reference, base.add(local), time, inputs, predecessor=left) + + +def _correction(solution, columns, damping): + # A binary64 sparse solve proposes the correction. Preserve its exact + # column-scale product, including its second word, in the trial primitive. + arithmetic = DoubleArithmetic() + value = arithmetic.weighted(arithmetic.array(solution), columns) + value = arithmetic.weighted(value, np.full(solution.shape, damping)) + result = PrimitiveExpansion.from_value(arithmetic.freeze(value)) + expected = tuple(Fraction(float(s))*Fraction(float(c))*Fraction(damping) + for s, c in zip(solution, columns, strict=True)) + if _exact_words(result, solution.size) != expected: + raise ContractError("conservative_correction_product_not_representable") + return result + + +def _norm_squared(solution): + # No floating square/sqrt, overflow, underflow or acceptance rounding. + return sum((Fraction(float(x))**2 for x in solution), Fraction()) + + +def conservative_be_step( + problem: ValidatedProblem, coordinates: RelativeCoordinates, left: Point, h: float, *, + scaling: PhysicalScaling, budgets: Mapping[str, EquationBudget], inputs=None, + initial_increment: PrimitiveExpansion | DoubleArray | None = None, + feasible: Callable[[Point], bool] = lambda point: True, + max_iterations: int = 12, max_line_search: int = 8, + globalization: str = "residual", +) -> ConservativeStep: + """Solve DeltaQ-h*R(right)=0 and the unchanged algebraic equations. + + Only linear physical RelativeCoordinates are admitted. Each trial is a + cumulative full-word physical increment from left; no absolute-state + subtraction occurs. Time must advance exactly in the Point's binary64 + time representation. Runtime failures propagate unchanged, with bounded + ``conservative_diagnostics`` attached; pre-entry validation is unchanged. + + ``residual`` preserves strict maximum residual-ratio decrease. Explicit + ``correction`` reuses the scaled base factorization for simplified trial + corrections and requires theta <= 1-damping/4 in the same column-scaled + state norm, using exact represented squared norms. It can accept a Newton + working iterate with larger residuals. Both modes still require every + original per-equation residual ratio <= 1 before returning a step. + """ + if not isinstance(problem, ValidatedProblem) or type(coordinates) is not RelativeCoordinates: + raise ContractError("conservative_public_problem_and_coordinates_required") + if type(globalization) is not str or globalization not in ("residual", "correction"): + raise ContractError("unsupported_conservative_globalization") + if coordinates.layout.identity != problem.layout.identity or any(m != "linear" for m in coordinates.modes.values()): + raise ContractError("conservative_linear_physical_coordinates_required") + n = problem.layout.size + if (n == 0 or type(max_iterations) is not int or max_iterations < 0 + or type(max_line_search) is not int or not 1 <= max_line_search <= 64): + raise ContractError("invalid_conservative_iteration_limits") + if not isinstance(scaling, PhysicalScaling) or scaling.rows.shape != (n,) or scaling.columns.shape != (n,): + raise ContractError("conservative_scale_shape_mismatch") + if not np.isfinite(h) or h <= 0: + raise ContractError("nonpositive_conservative_step") + time = left.time + float(h) + if (not np.isfinite(time) or time <= left.time + or Fraction(time)-Fraction(left.time) != Fraction(float(h))): + raise ContractError("conservative_time_increment_not_representable") + inputs = left.inputs if inputs is None else frozen_array(inputs) + if inputs.shape != (problem.input_count,): + raise ContractError("conservative_input_shape_mismatch") + units, limits = _budgets(problem, budgets) + local = PrimitiveExpansion.from_value(np.zeros(n) if initial_increment is None else initial_increment) + if local.shape != (n,): + raise ContractError("conservative_increment_shape_mismatch") + arithmetic = problem.arithmetic if problem.arithmetic is not None else FloatArithmetic() + records, evaluations, searches = [], 0, 0 + factor_calls = factor_returns = solve_calls = solve_returns = 0 + correction_base, correction_searches = None, [] + current, phase = None, "initial_trial" + requested = requested_point = requested_residual = requested_merit = requested_feasible = None + linear_iteration = linear_point_identity = projection = linear_error = None + rejected = [] + + def clear_trial(candidate=None): + nonlocal requested, requested_point, requested_residual, requested_merit, requested_feasible + requested = candidate + requested_point = requested_residual = requested_merit = requested_feasible = None + + def evaluate(candidate): + nonlocal evaluations, phase, requested_point, requested_residual, requested_merit, requested_feasible + clear_trial(candidate) + phase = "trial" + point, increment = _trial(coordinates, left, candidate, time, inputs) + requested_point = point + phase = "increment_validation" + increment.validate(left, point) + phase = "feasibility" + if not feasible(point): + requested_feasible = False + return None + requested_feasible = True + phase = "residual" + residual = problem.conservative_residual(left, point, increment) + evaluations += 1 + requested_residual = residual + phase = "residual_merit" + exact = _exact_words(residual, n) + ratios = tuple(abs(x)/a for x, a in zip(exact, limits, strict=True)) + requested_merit = max(ratios) + return point, increment, residual, exact, ratios, requested_merit + + def rejected_trial(damping): + return RejectedSearch(damping, None if requested_point is None else requested_point.identity, + requested_feasible, requested_merit) + + try: + current = evaluate(local) + if current is None: + raise ContractError("infeasible_conservative_initial_trial") + for iteration in range(max_iterations + 1): + right, increment, residual, exact, ratios, merit = current + if all(x <= 1 for x in ratios): + phase = "accepted_storage" + delta = problem.storage.delta(left, right, increment) + _exact_words(delta, problem.storage_count) + secant = arithmetic.freeze(arithmetic.divide(arithmetic.array(delta), + arithmetic.array(np.full(problem.storage_count, h)))) + _exact_words(secant, problem.storage_count) + return ConservativeStep(left, right, increment, local, delta, secant, residual, + units, limits, ratios, scaling, problem.source_identity, + tuple(records), evaluations, searches, + globalization, factor_calls, factor_returns, + solve_calls, solve_returns) + if iteration == max_iterations: + phase = "iteration_limit" + raise ContractError("conservative_iteration_budget_exhausted") + linear_iteration, linear_point_identity = iteration, right.identity + phase = "jacobian" + matrix = problem.conservative_jacobian(left, right) + try: + phase = "linear_solve" + with np.errstate(over="raise", invalid="raise", divide="raise"): + scaled = scaling.jacobian(matrix) + exact_rhs = tuple(-r/Fraction(float(s)) for r, s in zip(exact, scaling.rows, strict=True)) + rhs = np.array([float(x) for x in exact_rhs]) + if not np.isfinite(scaled.data).all() or not np.isfinite(rhs).all(): + raise ArithmeticError("nonfinite scaled system") + factor_calls += 1 + factor = splu(scaled) + factor_returns += 1 + solve_calls += 1 + solution = factor.solve(rhs) + solve_returns += 1 + if not np.isfinite(solution).all(): + raise ArithmeticError("nonfinite sparse correction") + except (RuntimeError, ArithmeticError) as error: + raise ContractError("conservative_sparse_solve_failed") from error + phase = "linear_residual" + projection = tuple(x-Fraction(float(y)) for x, y in zip(exact_rhs, rhs, strict=True)) + linear_error = float(np.max(np.abs(scaled @ solution-rhs), initial=0.0)) + if not np.isfinite(linear_error): + raise ContractError("nonfinite_conservative_linear_residual") + if globalization == "correction": + correction_base = CorrectionSolve(right.identity, tuple(map(float, rhs)), + projection, tuple(map(float, solution)), _norm_squared(solution), linear_error) + if correction_base.norm_squared == 0: + raise ContractError("conservative_zero_correction_with_failing_residual") + for slot in range(max_line_search): + searches += 1 + damping = 2.0**(-slot) + clear_trial() + phase = "correction" + try: + proposed = local.add(_correction(solution, scaling.columns, damping)) + trial = evaluate(proposed) + accepted = trial is not None and trial[-1] < merit + if trial is not None and globalization == "correction": + phase = "trial_linear_solve" + try: + exact_trial_rhs = tuple(-r/Fraction(float(s)) + for r, s in zip(trial[3], scaling.rows, strict=True)) + trial_rhs = np.array([float(x) for x in exact_trial_rhs]) + if not np.isfinite(trial_rhs).all(): + raise ArithmeticError("nonfinite scaled trial RHS") + trial_projection = tuple(x-Fraction(float(y)) + for x, y in zip(exact_trial_rhs, trial_rhs, strict=True)) + trial_solve = CorrectionSolve(trial[0].identity, + tuple(map(float, trial_rhs)), trial_projection) + threshold = (1-Fraction(damping)/4)**2 + correction_searches.append(CorrectionSearch( + damping, right.identity, threshold, trial_solve)) + solve_calls += 1 + simplified = factor.solve(trial_rhs) + solve_returns += 1 + if simplified.shape != (n,) or not np.isfinite(simplified).all(): + raise ArithmeticError("nonfinite or invalid simplified correction") + except (RuntimeError, ArithmeticError) as error: + raise ContractError("conservative_sparse_solve_failed") from error + trial_solve = replace(trial_solve, solution=tuple(map(float, simplified)), + norm_squared=_norm_squared(simplified)) + correction_searches[-1] = replace(correction_searches[-1], solve=trial_solve) + phase = "trial_linear_residual" + trial_error = float(np.max(np.abs(scaled @ simplified-trial_rhs), initial=0.0)) + if not np.isfinite(trial_error): + raise ContractError("nonfinite_conservative_linear_residual") + trial_solve = replace(trial_solve, linear_residual_inf=trial_error) + phase = "correction_metric" + accepted = trial_solve.norm_squared <= threshold*correction_base.norm_squared + correction_searches[-1] = replace(correction_searches[-1], + solve=trial_solve, accepted=accepted) + except Exception: + rejected.append(rejected_trial(damping)) + raise + if accepted: + local, current = proposed, trial + records.append(NewtonRecord(iteration, projection, linear_error, damping, + merit, trial[-1], right.identity, trial[0].identity, + correction_base, tuple(correction_searches))) + linear_iteration = linear_point_identity = projection = linear_error = None + correction_base = None + correction_searches.clear() + rejected.clear() + break + rejected.append(rejected_trial(damping)) + else: + phase = "line_search_limit" + raise ContractError("conservative_line_search_budget_exhausted") + raise AssertionError("unreachable") + except Exception as error: + error.conservative_diagnostics = ConservativeFailureDiagnostics( + phase=phase, local_coordinates=requested, point=requested_point, + residual=requested_residual, + residual_point_identity=None if requested_residual is None else requested_point.identity, + feasible=requested_feasible, merit=requested_merit, + last_accepted_point_identity=None if current is None else current[0].identity, + last_accepted_merit=None if current is None else current[-1], iterations=tuple(records), + linear_iteration=linear_iteration, linear_point_identity=linear_point_identity, + rhs_projection_error=projection, linear_residual_inf=linear_error, + rejected_searches=tuple(rejected), residual_evaluations=evaluations, + line_search_evaluations=searches, globalization=globalization, + correction_base=correction_base, correction_searches=tuple(correction_searches), + factorization_calls=factor_calls, factorization_returns=factor_returns, + linear_solve_calls=solve_calls, linear_solve_returns=solve_returns, + source_identity=problem.source_identity, scaling=scaling) + raise diff --git a/scripts/benchmarks/contract_prototype.py b/scripts/benchmarks/contract_prototype.py new file mode 100644 index 00000000..4eaf3b1f --- /dev/null +++ b/scripts/benchmarks/contract_prototype.py @@ -0,0 +1,2040 @@ +"""Isolated P02 numerical contracts; no production entry point imports this module. + +The independent references live in tests/numerical_contracts. This module owns +interfaces and candidate arithmetic, never reference answers or acceptance gates. +""" + +from __future__ import annotations + +from scripts.benchmarks._integer_product_backend import ( + CHECKER as _integer_product_checker, backend_identity as _integer_product_identity, +) + +from dataclasses import dataclass, field +from hashlib import sha256 +import math +from types import MappingProxyType +from typing import Any, Callable, Iterable, Mapping, Protocol + +import numpy as np +from numpy.typing import ArrayLike, NDArray +from scipy.sparse import csc_matrix, isspmatrix_csc + +Vector = NDArray[np.float64] + + +class ContractError(ValueError): + """An input or assembly contract failed, with a machine-readable reason.""" + + def __init__(self, reason: str): + self.reason = reason + super().__init__(reason) + + +def frozen_array(value: ArrayLike) -> Vector: + """Own immutable bytes, including against setflags(write=True) by callers.""" + array = np.asarray(value, dtype=np.float64) + if not np.isfinite(array).all(): + raise ContractError("nonfinite_array") + return np.frombuffer(array.tobytes(), dtype=np.float64).reshape(array.shape) + + +def integer_indices(value: ArrayLike) -> NDArray[np.intp]: + """Reject fractional/overflowing connectivity before converting its dtype.""" + raw = np.asarray(value) + if raw.dtype.kind not in {"i", "u", "f"} or not np.isfinite(raw).all(): + raise ContractError("invalid_index") + if raw.size: + limits = np.iinfo(np.intp) + if raw.dtype.kind == "f": + invalid = (raw != np.floor(raw)) | (raw < limits.min) | (raw >= -limits.min) + if invalid.any(): + raise ContractError("invalid_index") + elif int(raw.min()) < limits.min or int(raw.max()) > limits.max: + raise ContractError("invalid_index") + return np.asarray(raw, dtype=np.intp) + + +class ImmutableArrays: + """Expose fresh array views so callers cannot mutate owned shape or dtype. + + Frozen bytes protect values; a separate view header also protects metadata. + Subclasses freeze their stored arrays during construction. Returning a view + preserves normal NumPy access and dataclass construction/replace semantics. + """ + + def __getattribute__(self, name: str) -> Any: + value = object.__getattribute__(self, name) + return value.view() if isinstance(value, np.ndarray) else value + + +@dataclass(frozen=True) +class Unit: + """Dimensions (length, time, charge, number, mass, temperature); no scale.""" + + powers: tuple[int, int, int, int, int, int] + + def __post_init__(self) -> None: + if len(self.powers) != 6 or any(type(x) is not int for x in self.powers): + raise ContractError("invalid_unit") + + def __mul__(self, other: Unit) -> Unit: + return Unit(tuple(a + b for a, b in zip(self.powers, other.powers))) + + def __truediv__(self, other: Unit) -> Unit: + return Unit(tuple(a - b for a, b in zip(self.powers, other.powers))) + + +ONE = Unit((0, 0, 0, 0, 0, 0)) +SECOND = Unit((0, 1, 0, 0, 0, 0)) +LENGTH = Unit((1, 0, 0, 0, 0, 0)) +VOLUME = Unit((3, 0, 0, 0, 0, 0)) +AREA = Unit((2, 0, 0, 0, 0, 0)) +PARTICLE = Unit((0, 0, 0, 1, 0, 0)) +COULOMB = Unit((0, 0, 1, 0, 0, 0)) +VOLT = Unit((2, -2, -1, 0, 1, 0)) +KELVIN = Unit((0, 0, 0, 0, 0, 1)) + + +@dataclass(frozen=True) +class Support: + id: str + location: str + shape: tuple[int, ...] + + def __post_init__(self) -> None: + if not self.id or self.location not in {"cell", "face", "global"}: + raise ContractError("invalid_support") + if not self.shape or any(type(n) is not int or n < 0 for n in self.shape): + raise ContractError("invalid_shape") + + +@dataclass(frozen=True) +class VariableSpec: + id: str + owner: str + support: str + shape: tuple[int, ...] + unit: Unit + role: str = "storage" + orientation: int = 0 + lower: float | None = None + upper: float | None = None + + +@dataclass(frozen=True) +class EquationSpec: + id: str + owner: str + support: str + shape: tuple[int, ...] + unit: Unit + role: str = "storage" + orientation: int = 0 + derivative_support: tuple[str, ...] = () + + +@dataclass(frozen=True) +class Layout: + supports: tuple[Support, ...] + variables: tuple[VariableSpec, ...] + equations: tuple[EquationSpec, ...] + offsets: Mapping[str, slice] = field(init=False) + size: int = field(init=False) + identity: str = field(init=False) + + def __post_init__(self) -> None: + supports = {x.id: x for x in self.supports} + if len(supports) != len(self.supports): + raise ContractError("duplicate_support") + variables = tuple(sorted(self.variables, key=lambda x: x.id)) + equations = tuple(sorted(self.equations, key=lambda x: x.id)) + for specs in (variables, equations): + if len({x.id for x in specs}) != len(specs): + raise ContractError("duplicate_owner") + for spec in specs: + if not spec.id or not spec.owner: + raise ContractError("missing_instance_owner") + if spec.support not in supports: + raise ContractError("unknown_support") + if spec.shape != supports[spec.support].shape: + raise ContractError("support_shape_mismatch") + if spec.orientation not in {-1, 0, 1}: + raise ContractError("invalid_orientation") + if spec.role not in {"storage", "constraint", "prescribed"}: + raise ContractError("invalid_role") + ids = {x.id for x in variables} + for equation in equations: + if not set(equation.derivative_support) <= ids: + raise ContractError("unknown_derivative_support") + for variable in variables: + if (variable.lower is not None and variable.upper is not None + and variable.lower > variable.upper): + raise ContractError("invalid_feasible_domain") + offsets: dict[str, slice] = {} + size = 0 + for variable in variables: + end = size + int(np.prod(variable.shape)) + offsets[variable.id] = slice(size, end) + size = end + object.__setattr__(self, "supports", tuple(sorted(self.supports, key=lambda x: x.id))) + object.__setattr__(self, "variables", variables) + object.__setattr__(self, "equations", equations) + object.__setattr__(self, "offsets", MappingProxyType(offsets)) + object.__setattr__(self, "size", size) + identity = repr((self.supports, variables, equations)).encode() + object.__setattr__(self, "identity", sha256(identity).hexdigest()) + + +class PhysicalArray(Protocol): + """Explicit precision boundary; no implicit conversion to a float array.""" + + @property + def shape(self) -> tuple[int, ...]: ... + def immutable_copy(self) -> PhysicalArray: ... + def difference(self, other: PhysicalArray) -> PhysicalArray: ... + def take(self, indices: ArrayLike) -> PhysicalArray: ... + def log_ratio(self, other: PhysicalArray) -> PhysicalArray: ... + def is_finite(self) -> bool: ... + def identity_bytes(self) -> bytes: ... + + +@dataclass(frozen=True) +class FloatArray(ImmutableArrays): + values: Vector + + def __post_init__(self) -> None: + object.__setattr__(self, "values", frozen_array(self.values)) + + @property + def shape(self) -> tuple[int, ...]: + return self.values.shape + + def immutable_copy(self) -> FloatArray: + return FloatArray(self.values) + + def difference(self, other: PhysicalArray) -> FloatArray: + if not isinstance(other, FloatArray) or other.shape != self.shape: + raise ContractError("precision_or_shape_mismatch") + return FloatArray(self.values - other.values) + + def take(self, indices: ArrayLike) -> FloatArray: + indices = integer_indices(indices) + if np.any(indices < 0) or np.any(indices >= self.shape[0]): + raise ContractError("index_outside_support") + return FloatArray(self.values[indices]) + + def log_ratio(self, other: PhysicalArray) -> FloatArray: + if not isinstance(other, FloatArray) or other.shape != self.shape: + raise ContractError("precision_or_shape_mismatch") + if np.any(self.values <= 0) or np.any(other.values <= 0): + raise ContractError("log_ratio_requires_positive_fields") + relative = (self.values - other.values) / other.values + close = np.abs(relative) < 0.5 + result = np.log(self.values) - np.log(other.values) + result[close] = np.log1p(relative[close]) + return FloatArray(result) + + def is_finite(self) -> bool: + return bool(np.isfinite(self.values).all()) + + def identity_bytes(self) -> bytes: + return b"float64:" + repr(self.shape).encode() + self.values.tobytes() + + +@dataclass(frozen=True) +class FieldProjection: + """An explicit materialization, never an implicit new accepted anchor. + + ``absolute_error_bound=None`` means display-only validity; physical use or + rebasing needs an independently qualified observable error certificate. + """ + + value: PhysicalArray + authority_identity: str + evaluator_identity: str + absolute_error_bound: FloatArray | None + + def require_error(self, maximum: ArrayLike) -> None: + maximum = frozen_array(maximum) + if maximum.shape != self.value.shape or np.any(maximum < 0): + raise ContractError("projection_budget_shape_or_sign") + if self.absolute_error_bound is None: + raise ContractError("projection_not_certified_for_physical_use") + if np.any(self.absolute_error_bound.values > maximum): + raise ContractError("projection_error_budget_exceeded") + + +class StateAuthority(Protocol): + """A resolved physical input meaning, implemented outside the core if needed.""" + + @property + def layout_identity(self) -> str: ... + @property + def identity(self) -> str: ... + + def field(self, name: str) -> PhysicalArray: ... + def delta_from(self, left: StateView) -> Mapping[str, PhysicalArray]: ... + def project(self, name: str) -> FieldProjection: ... + def validate_binding(self, time: float, y: Vector, inputs: Vector, reference: str) -> None: ... + def validate_transition(self, left: Point, right: Point) -> None: ... + def electrochemical_difference(self, density_id: str, potential_id: str, pairs: ArrayLike, + thermal_voltage: float, potential_sign: int) -> PhysicalArray | None: ... + def temporal_log_ratio(self, left: StateView, variable_id: str, + indices: ArrayLike | None) -> PhysicalArray | None: ... + def face_delta(self, left: StateView, variable_id: str, pairs: ArrayLike) -> PhysicalArray | None: ... + def electrochemical_delta(self, left: StateView, density_id: str, potential_id: str, + pairs: ArrayLike, thermal_voltage: float, + potential_sign: int) -> PhysicalArray | None: ... + + +@dataclass(frozen=True) +class ResolvedAuthority: + """Explicit absolute input words; finite changes mean endpoint differences.""" + + layout_identity: str + values: Mapping[str, PhysicalArray] + identity: str = field(init=False) + + def __post_init__(self) -> None: + owned = {name: value.immutable_copy() for name, value in self.values.items()} + # An authority-backed field needs its generating map. Call project() + # explicitly to declare different external absolute input semantics. + if any(getattr(value, "authority", None) is not None for value in owned.values()): + raise ContractError("mapped_field_requires_its_authority") + object.__setattr__(self, "values", MappingProxyType(owned)) + digest = sha256(b"resolved-physical-words-v1:" + self.layout_identity.encode()) + for name in sorted(owned): + digest.update(name.encode() + owned[name].identity_bytes()) + object.__setattr__(self, "identity", digest.hexdigest()) + + def field(self, name: str) -> PhysicalArray: + return self.values[name] + + def delta_from(self, left: StateView) -> Mapping[str, PhysicalArray]: + if not isinstance(left.authority, ResolvedAuthority): + raise ContractError("authority_rebase_required") + return {name: value.difference(left.field(name)) for name, value in self.values.items()} + + def project(self, name: str) -> FieldProjection: + value = self.field(name).immutable_copy() + return FieldProjection(value, self.identity, "resolved-words-v1", FloatArray(np.zeros(value.shape))) + + def validate_binding(self, time: float, y: Vector, inputs: Vector, reference: str) -> None: + # A resolved state is an explicit external physical input. Point still + # binds its coordinates, time and prescribed inputs into its identity. + return None + + def electrochemical_difference(self, density_id, potential_id, pairs, thermal_voltage, potential_sign): + return None + + def validate_transition(self, left: Point, right: Point) -> None: + return None + + def temporal_log_ratio(self, left, variable_id, indices): + return None + + def face_delta(self, left, variable_id, pairs): + return None + + def electrochemical_delta(self, left, density_id, potential_id, pairs, thermal_voltage, potential_sign): + return None + + +@dataclass(frozen=True, init=False) +class StateView: + layout: Layout + fields: Mapping[str, PhysicalArray] + authority: StateAuthority + + def __init__(self, layout: Layout, fields: Iterable[tuple[str, PhysicalArray]] = (), *, + authority: StateAuthority | None = None): + owned: dict[str, PhysicalArray] = {} + specs = {x.id: x for x in layout.variables} + fields = tuple(fields) + if authority is not None: + if fields or authority.layout_identity != layout.identity: + raise ContractError("state_authority_layout_or_fields_mismatch") + fields = tuple((name, authority.field(name)) for name in specs) + for key, value in fields: + if key in owned: + raise ContractError("duplicate_state_write") + if key not in specs: + raise ContractError("unknown_variable") + if value.shape != specs[key].shape: + raise ContractError("state_shape_mismatch") + if not value.is_finite(): + raise ContractError("nonfinite_state") + owned[key] = value.immutable_copy() + if set(owned) != set(specs): + raise ContractError("incomplete_state") + object.__setattr__(self, "layout", layout) + object.__setattr__(self, "fields", MappingProxyType(owned)) + object.__setattr__(self, "authority", authority if authority is not None + else ResolvedAuthority(layout.identity, owned)) + + def field(self, variable_id: str) -> PhysicalArray: + return self.fields[variable_id] + + def face_difference(self, variable_id: str, pairs: ArrayLike) -> PhysicalArray: + pairs = integer_indices(pairs) + if pairs.ndim != 2 or pairs.shape[1] != 2: + raise ContractError("invalid_face_pairs") + value = self.field(variable_id) + if np.any(pairs < 0) or np.any(pairs >= value.shape[0]): + raise ContractError("face_outside_support") + return value.take(pairs[:, 1]).difference(value.take(pairs[:, 0])) + + def log_ratio(self, variable_id: str, pairs: ArrayLike) -> PhysicalArray: + pairs = integer_indices(pairs) + if pairs.ndim != 2 or pairs.shape[1] != 2: + raise ContractError("invalid_face_pairs") + value = self.field(variable_id) + if len(value.shape) != 1 or np.any(pairs < 0) or np.any(pairs >= value.shape[0]): + raise ContractError("face_outside_support") + return value.take(pairs[:, 1]).log_ratio(value.take(pairs[:, 0])) + + def electrochemical_difference(self, density_id: str, potential_id: str, pairs: ArrayLike, + thermal_voltage: float, *, potential_sign: int, + arithmetic: AssemblyArithmetic | None = None) -> Any: + if not np.isfinite(thermal_voltage) or thermal_voltage <= 0 or potential_sign not in {-1, 1}: + raise ContractError("invalid_activity_parameters") + specs = {spec.id: spec for spec in self.layout.variables} + if specs[potential_id].unit != VOLT: + raise ContractError("activity_potential_unit_mismatch") + a = arithmetic if arithmetic is not None else FloatArithmetic() + specialized = self.authority.electrochemical_difference(density_id, potential_id, pairs, + thermal_voltage, potential_sign) + if specialized is not None: + return a.freeze(a.array(specialized)) + density = a.array(self.log_ratio(density_id, pairs)) + potential = a.array(self.face_difference(potential_id, pairs)) + drop = a.divide(potential, a.array(np.full(potential.shape, thermal_voltage))) + return a.freeze(a.add(density, a.weighted(drop, np.full(drop.shape, potential_sign)))) + + def project_field(self, variable_id: str) -> FieldProjection: + return self.authority.project(variable_id) + + def linear_form(self, form: PhysicalLinearForm, *, arithmetic=None, + point: Point | None = None, sources=()) -> LinearFormResult: + return _linear_provider(arithmetic).linear_form(form, self, point=point, sources=sources) + + +@dataclass(frozen=True) +class Point(ImmutableArrays): + time: float + y: Vector + inputs: Vector + state: StateView + coordinate_reference: str + identity: str = field(init=False) + + def __post_init__(self) -> None: + if not np.isfinite(self.time) or not self.coordinate_reference: + raise ContractError("invalid_point") + object.__setattr__(self, "time", float(self.time)) + object.__setattr__(self, "y", frozen_array(self.y)) + object.__setattr__(self, "inputs", frozen_array(self.inputs)) + if self.y.ndim != 1 or self.inputs.ndim != 1: + raise ContractError("invalid_coordinate_shape") + self.state.authority.validate_binding(self.time, self.y, self.inputs, self.coordinate_reference) + digest = sha256(repr((self.time, self.coordinate_reference, self.state.layout.identity)).encode()) + if not isinstance(self.state.authority, ResolvedAuthority): + digest.update(self.state.authority.identity.encode()) + digest.update(self.y.tobytes()) + digest.update(self.inputs.tobytes()) + for spec in self.state.layout.variables: + digest.update(spec.id.encode()) + digest.update(self.state.field(spec.id).identity_bytes()) + object.__setattr__(self, "identity", digest.hexdigest()) + + +@dataclass(frozen=True) +class StateIncrement: + left_identity: str + right_identity: str + fields: Mapping[str, PhysicalArray] + + def __post_init__(self) -> None: + object.__setattr__(self, "fields", MappingProxyType({ + key: value.immutable_copy() for key, value in self.fields.items() + })) + + def field(self, variable_id: str) -> PhysicalArray: + return self.fields[variable_id] + + def linear_form(self, left: Point, right: Point, form: PhysicalLinearForm, *, + arithmetic=None, sources=()) -> LinearFormResult: + return _linear_provider(arithmetic).linear_form( + form, self, left=left, right=right, sources=sources) + + @classmethod + def from_points(cls, left: Point, right: Point) -> StateIncrement: + if left.state.layout.identity != right.state.layout.identity: + raise ContractError("increment_layout_mismatch") + right.state.authority.validate_transition(left, right) + result = cls(left.identity, right.identity, right.state.authority.delta_from(left.state)) + result.validate(left, right) + return result + + def validate(self, left: Point, right: Point) -> None: + if (left.identity, right.identity) != (self.left_identity, self.right_identity): + raise ContractError("increment_endpoint_mismatch") + if left.state.layout.identity != right.state.layout.identity: + raise ContractError("increment_layout_mismatch") + if set(self.fields) != set(left.state.fields): + raise ContractError("incomplete_increment") + if any(self.fields[key].shape != left.state.field(key).shape for key in self.fields): + raise ContractError("increment_shape_mismatch") + right.state.authority.validate_transition(left, right) + canonical = right.state.authority.delta_from(left.state) + if set(canonical) != set(self.fields) or any(canonical[key].shape != self.fields[key].shape + or not canonical[key].is_finite() for key in self.fields): + raise ContractError("invalid_canonical_increment") + if any(self.fields[key].identity_bytes() != canonical[key].identity_bytes() for key in self.fields): + raise ContractError("increment_authority_mismatch") + + def _log_ratio(self, left: Point, right: Point, variable_id: str, + indices: ArrayLike | None) -> PhysicalArray: + if variable_id not in self.fields: + raise ContractError("unknown_variable") + before, after = left.state.field(variable_id), right.state.field(variable_id) + if indices is not None: + indices = integer_indices(indices) + if not before.shape: + raise ContractError("index_outside_support") + before, after = before.take(indices), after.take(indices) + value = right.state.authority.temporal_log_ratio(left.state, variable_id, indices) + if value is None: + value = after.log_ratio(before) + if value.shape != after.shape or not value.is_finite(): + raise ContractError("invalid_temporal_log_ratio") + return value.immutable_copy() + + def log_ratio(self, left: Point, right: Point, variable_id: str, *, + indices: ArrayLike | None = None) -> PhysicalArray: + """Finite temporal log(n_right/n_left) on selected positive populations. + + Selection follows PhysicalArray.take and occurs before logarithms, so + inactive zero populations outside the selection need not be evaluated. + Mapped authorities retain their generating primitives through this step. + """ + self.validate(left, right) + return self._log_ratio(left, right, variable_id, indices) + + def _pairs(self, variable_id: str, pairs: ArrayLike) -> NDArray[np.intp]: + if variable_id not in self.fields: + raise ContractError("unknown_variable") + pairs = integer_indices(pairs) + shape = self.fields[variable_id].shape + if (len(shape) != 1 or pairs.ndim != 2 or pairs.shape[1] != 2 + or np.any(pairs < 0) or np.any(pairs >= shape[0])): + raise ContractError("face_outside_support") + return pairs + + def _face_delta(self, left: Point, right: Point, variable_id: str, + pairs: NDArray[np.intp]) -> PhysicalArray: + value = right.state.authority.face_delta(left.state, variable_id, pairs) + if value is None: + change = self.field(variable_id) + value = change.take(pairs[:, 1]).difference(change.take(pairs[:, 0])) + if value.shape != (len(pairs),) or not value.is_finite(): + raise ContractError("invalid_temporal_face_delta") + return value + + def face_delta(self, left: Point, right: Point, variable_id: str, pairs: ArrayLike, *, + arithmetic: AssemblyArithmetic | None = None) -> Any: + """Finite change of a spatial difference for an affine mapped field. + + A mapped provider combines temporal and spatial primitive terms before + projection. Explicitly resolved fields use their declared physical words. + """ + self.validate(left, right) + pairs = self._pairs(variable_id, pairs) + a = arithmetic if arithmetic is not None else FloatArithmetic() + return a.freeze(a.array(self._face_delta(left, right, variable_id, pairs))) + + def electrochemical_delta(self, left: Point, right: Point, density_id: str, + potential_id: str, pairs: ArrayLike, thermal_voltage: float, *, + potential_sign: int, arithmetic: AssemblyArithmetic | None = None) -> Any: + """Change of log(n_j/n_i)+s*(phi_j-phi_i)/VT across these endpoints. + + Shared named primitives cancel before projection; subtracting two + separately projected spatial affinities is not the mapped definition. + """ + self.validate(left, right) + if not np.isfinite(thermal_voltage) or thermal_voltage <= 0 or potential_sign not in {-1, 1}: + raise ContractError("invalid_activity_parameters") + pairs = self._pairs(density_id, pairs) + self._pairs(potential_id, pairs) + specs = {spec.id: spec for spec in right.state.layout.variables} + if specs[potential_id].unit != VOLT: + raise ContractError("activity_potential_unit_mismatch") + if self.field(density_id).shape != self.field(potential_id).shape: + raise ContractError("activity_support_shape_mismatch") + a = arithmetic if arithmetic is not None else FloatArithmetic() + value = right.state.authority.electrochemical_delta( + left.state, density_id, potential_id, pairs, thermal_voltage, potential_sign) + if value is not None: + if value.shape != (len(pairs),) or not value.is_finite(): + raise ContractError("invalid_temporal_electrochemical_delta") + return a.freeze(a.array(value)) + temporal = self._log_ratio(left, right, density_id, pairs.ravel()) + even, odd = np.arange(0, 2*len(pairs), 2), np.arange(1, 2*len(pairs), 2) + density = a.array(temporal.take(odd).difference(temporal.take(even))) + potential = a.array(self._face_delta(left, right, potential_id, pairs)) + drop = a.divide(potential, a.array(np.full(potential.shape, thermal_voltage))) + return a.freeze(a.add(density, a.weighted(drop, np.full(drop.shape, potential_sign)))) + + +@dataclass(frozen=True) +class LinearCoordinates: + layout: Layout + reference: str = "physical-si-v1" + + def point(self, y: ArrayLike, time: float = 0.0, inputs: ArrayLike = ()) -> Point: + y = frozen_array(y) + if y.shape != (self.layout.size,): + raise ContractError("coordinate_layout_mismatch") + fields = [(spec.id, FloatArray(y[self.layout.offsets[spec.id]].reshape(spec.shape))) + for spec in self.layout.variables] + return Point(time, y, frozen_array(inputs), StateView(self.layout, fields), self.reference) + + def advance(self, left: Point, dy: ArrayLike, time: float, + inputs: ArrayLike = ()) -> tuple[Point, StateIncrement]: + dy = frozen_array(dy) + if dy.shape != left.y.shape or left.coordinate_reference != self.reference: + raise ContractError("coordinate_reference_mismatch") + right = self.point(left.y + dy, time, inputs) + increment = StateIncrement(left.identity, right.identity, { + # This representation owns binary64 endpoints. A precision provider + # must retain a richer right endpoint to preserve a sub-ULP update. + spec.id: right.state.field(spec.id).difference(left.state.field(spec.id)) + for spec in self.layout.variables + }) + increment.validate(left, right) + return right, increment + + +def _linear_scalar(value: Any) -> float: + """A coefficient is an exact supplied binary64 value, never an expression.""" + raw = np.asarray(value) + if (raw.shape != () or raw.dtype.kind not in {"i", "u", "f"} + or raw.dtype.kind == "f" and raw.dtype.itemsize > 8): + raise ContractError("linear_factor_type") + result = float(raw) + if not math.isfinite(result): + raise ContractError("linear_nonfinite_factor") + if raw.dtype.kind in {"i", "u"} and int(raw) != int(result): + raise ContractError("linear_inexact_integer") + return result + + +def _linear_array(value: ArrayLike) -> Vector: + raw = np.asarray(value) + if raw.dtype.kind not in {"i", "u", "f"} or raw.dtype.kind == "f" and raw.dtype.itemsize > 8: + raise ContractError("linear_word_dtype") + result = frozen_array(raw) + if raw.dtype.kind in {"i", "u"} and any(int(a) != int(b) for a, b in zip(raw.flat, result.flat)): + raise ContractError("linear_inexact_integer") + return result + + +def _linear_unit(unit: Unit) -> Unit: + if not isinstance(unit, Unit): + raise ContractError("linear_invalid_unit") + return Unit(tuple(unit.powers)) + + +@dataclass(frozen=True) +class LinearFactor: + """One source-bound physical coefficient; products stay factored.""" + + id: str + value: float + unit: Unit + source_identity: str + + def __post_init__(self) -> None: + if not isinstance(self.id, str) or not self.id or not isinstance(self.source_identity, str) or not self.source_identity: + raise ContractError("linear_factor_identity") + object.__setattr__(self, "value", _linear_scalar(self.value)) + object.__setattr__(self, "unit", _linear_unit(self.unit)) + + @property + def identity(self) -> str: + return sha256(repr((self.id, self.value.hex(), self.unit, self.source_identity)).encode()).hexdigest() + + +@dataclass(frozen=True) +class LinearSourceSpec: + """A resolved source value from one named evaluation, in its actual units.""" + + id: str + support: str + shape: tuple[int, ...] + unit: Unit + source_identity: str + + def __post_init__(self) -> None: + if (not isinstance(self.id, str) or not self.id or not isinstance(self.support, str) or not self.support + or not isinstance(self.source_identity, str) or not self.source_identity): + raise ContractError("linear_source_identity") + shape = tuple(self.shape) + if not shape or any(type(n) is not int or n < 0 for n in shape): + raise ContractError("linear_source_shape") + object.__setattr__(self, "shape", shape) + object.__setattr__(self, "unit", _linear_unit(self.unit)) + + +@dataclass(frozen=True) +class LinearTerm: + """One stored COO contribution, including declared numeric zeros. + + ``field=None`` is exact unity for state-only fixed backgrounds. A divisor + requests the separately bounded quotient operation, not a rounded inverse. + """ + + row: int + field: str | None + index: int + factors: tuple[LinearFactor, ...] = () + sign: int = 1 + divisor: LinearFactor | None = None + + def __post_init__(self) -> None: + if isinstance(self.row, (bool, np.bool_)) or isinstance(self.index, (bool, np.bool_)): + raise ContractError("invalid_index") + indices = integer_indices([self.row, self.index]) + if indices.shape != (2,) or np.any(indices < 0): + raise ContractError("linear_index_outside_support") + if self.field is not None and (not isinstance(self.field, str) or not self.field): + raise ContractError("linear_unknown_field") + factors = tuple(self.factors) + if len(factors) > 4 or not all(isinstance(factor, LinearFactor) for factor in factors): + raise ContractError("linear_factor_arity_or_type") + if type(self.sign) is not int or self.sign not in {-1, 1}: + raise ContractError("linear_invalid_sign") + if self.divisor is not None and (not isinstance(self.divisor, LinearFactor) or self.divisor.value == 0): + raise ContractError("linear_invalid_divisor") + object.__setattr__(self, "row", int(indices[0])) + object.__setattr__(self, "index", int(indices[1])) + object.__setattr__(self, "factors", factors) + + def _key(self) -> tuple: + return (self.row, self.field or "", self.index, self.sign, + tuple(factor.identity for factor in self.factors), + self.divisor.identity if self.divisor is not None else "") + + +@dataclass(frozen=True) +class PhysicalLinearForm: + """Small sparse physical action; output rows never modify Point layouts. + + ``declared_nnz`` counts stored contributions, including duplicate positions + and zeros. Each term has at most four numerator factors and one explicit + divisor. Total work is bounded by the actual declaration and its caller's + resource budget; this metadata imposes no device/grid-size ceiling. + """ + + layout: Layout + row_ids: tuple[str, ...] + row_units: tuple[Unit, ...] + terms: tuple[LinearTerm, ...] + source_identity: str + kind: str + declared_nnz: int + sources: tuple[LinearSourceSpec, ...] = () + identity: str = field(init=False) + + def __post_init__(self) -> None: + if (not isinstance(self.layout, Layout) or self.kind not in {"state", "increment", "rate"} + or not isinstance(self.source_identity, str) or not self.source_identity): + raise ContractError("linear_form_identity_or_kind") + rows, units, terms, sources = tuple(self.row_ids), tuple(self.row_units), tuple(self.terms), tuple(self.sources) + if (len(rows) != len(units) or len(set(rows)) != len(rows) + or any(not isinstance(row, str) or not row for row in rows)): + raise ContractError("linear_row_metadata") + if (type(self.declared_nnz) is not int or self.declared_nnz != len(terms) + or not all(isinstance(term, LinearTerm) for term in terms)): + raise ContractError("linear_declared_nnz") + units = tuple(_linear_unit(unit) for unit in units) + specs = {spec.id: spec for spec in self.layout.variables} + supports = {support.id: support for support in self.layout.supports} + if (not all(isinstance(source, LinearSourceSpec) for source in sources) + or len({source.id for source in sources}) != len(sources) + or {source.id for source in sources} & specs.keys()): + raise ContractError("linear_source_ownership") + for source in sources: + if source.support not in supports or source.shape != supports[source.support].shape: + raise ContractError("linear_source_support") + if source.source_identity != self.source_identity: + raise ContractError("linear_source_mismatch") + external = {source.id: source for source in sources} + for term in terms: + if term.row >= len(rows): + raise ContractError("linear_row_outside_support") + if term.field is None: + if self.kind != "state" or term.index != 0: + raise ContractError("linear_constant_requires_state") + unit = ONE + else: + if term.field not in specs and term.field not in external: + raise ContractError("linear_unknown_field") + spec = specs[term.field] if term.field in specs else external[term.field] + if term.index >= int(np.prod(spec.shape)): + raise ContractError("linear_index_outside_support") + unit = spec.unit / SECOND if self.kind == "rate" and term.field in specs else spec.unit + for factor in term.factors + ((term.divisor,) if term.divisor is not None else ()): + if factor.source_identity != self.source_identity: + raise ContractError("linear_factor_source_mismatch") + for factor in term.factors: + unit = unit * factor.unit + if term.divisor is not None: + unit = unit / term.divisor.unit + if unit != units[term.row]: + raise ContractError("linear_unit_mismatch") + terms = tuple(sorted(terms, key=LinearTerm._key)) + sources = tuple(sorted(sources, key=lambda value: value.id)) + for name, value in (("row_ids", rows), ("row_units", units), ("terms", terms), ("sources", sources)): + object.__setattr__(self, name, value) + payload = ("physical-linear-form-v1", self.layout.identity, rows, units, + tuple(term._key() for term in terms), sources, self.source_identity, self.kind, self.declared_nnz) + object.__setattr__(self, "identity", sha256(repr(payload).encode()).hexdigest()) + + +def _source_evaluation_identity(point_identity: str, entries) -> str: + digest = sha256(b"physical-linear-source-evaluation-v1:" + point_identity.encode()) + for spec, value in sorted(entries, key=lambda item: item[0].id): + digest.update(repr(spec).encode() + value.identity_bytes()) + return digest.hexdigest() + + +@dataclass(frozen=True) +class BoundLinearSource: + spec: LinearSourceSpec + value: PhysicalArray + point_identity: str + evaluation_identity: str + + def __post_init__(self) -> None: + if (not isinstance(self.spec, LinearSourceSpec) or not self.point_identity or not self.evaluation_identity + or not callable(getattr(self.value, "is_finite", None)) + or self.value.shape != self.spec.shape or not self.value.is_finite() + or getattr(self.value, "authority", None) is not None): + raise ContractError("linear_source_binding") + object.__setattr__(self, "value", self.value.immutable_copy()) + + @classmethod + def bind(cls, point: Point, entries: Iterable[tuple[LinearSourceSpec, PhysicalArray]]) -> tuple[BoundLinearSource, ...]: + """Freeze the actual evaluated packet; an arbitrary label is not proof. + + The caller first validates its physical evaluation against ``point``. + This factory binds the returned values, not the accuracy of that model. + """ + entries = tuple((spec, value.immutable_copy()) for spec, value in entries) + if (not isinstance(point, Point) or not all(isinstance(spec, LinearSourceSpec) for spec, _ in entries) + or len({spec.id for spec, _ in entries}) != len(entries)): + raise ContractError("linear_source_packet_mismatch") + identity = _source_evaluation_identity(point.identity, entries) + return tuple(cls(spec, value, point.identity, identity) for spec, value in entries) + + @property + def identity(self) -> str: + return sha256(repr((self.spec, self.point_identity, self.evaluation_identity)).encode() + + self.value.identity_bytes()).hexdigest() + + +@dataclass(frozen=True, init=False) +class RateView(ImmutableArrays): + """Physical rate words bound to a Point and their declared raw origin. + + ``values`` may be a four-word input primitive; it is never converted to a + DoubleArray. The mapping factory owns mapping correctness. This record + owns actual mapped/raw bytes and rejects a different Point, input rate or + source. Rate fields do not inherit nonnegative state-domain constraints. + """ + + point: Point + values: Any + input_rate: Vector + source_identity: str + mapping_identity: str + origin: str + raw_coordinates: Vector + raw_rate: Vector + identity: str + _words: tuple[Vector, ...] + + def __init__(self, point: Point, values: Any, input_rate: ArrayLike, *, source_identity: str, + mapping_identity: str, origin: str, raw_coordinates: ArrayLike, raw_rate: ArrayLike): + if (not isinstance(point, Point) or not isinstance(source_identity, str) or not source_identity + or not isinstance(mapping_identity, str) or not mapping_identity + or origin not in {"physical-rate", "mapped-coordinate-rate"}): + raise ContractError("linear_rate_identity") + if not hasattr(values, "immutable_copy"): + values = FloatArray(_linear_array(values)) + values = values.immutable_copy() + words = (values.values,) if type(values) is FloatArray else getattr(values, "words", ()) + words = tuple(_linear_array(word) for word in words) + frame_words = False + validator = getattr(point.state.authority, "input_rate_word_count", None) + if callable(validator): + # The authority/provider owns its optional input profile. The core + # neither imports a research provider nor widens ordinary rates. + count = validator(values, origin) + frame_words = type(count) is int and count == len(words) == 12 + if (not (1 <= len(words) <= 4 or frame_words) or values.shape != (point.state.layout.size,) + or any(word.shape != values.shape for word in words)): + raise ContractError("linear_rate_word_shape_or_count") + input_rate, raw_coordinates, raw_rate = map(_linear_array, (input_rate, raw_coordinates, raw_rate)) + if (point.y.shape != values.shape or input_rate.shape != point.inputs.shape + or raw_coordinates.shape != point.y.shape or raw_rate.shape != point.y.shape): + raise ContractError("rate_shape_mismatch") + for name, value in (("point", point), ("values", values), ("input_rate", input_rate), + ("source_identity", source_identity), ("mapping_identity", mapping_identity), + ("origin", origin), ("raw_coordinates", raw_coordinates), ("raw_rate", raw_rate), ("_words", words)): + object.__setattr__(self, name, value) + digest = sha256(repr(("physical-rate-view-v1", point.identity, point.state.layout.identity, + source_identity, mapping_identity, origin)).encode()) + digest.update(values.identity_bytes() + b"".join(word.tobytes() for word in words)) + digest.update(input_rate.tobytes() + raw_coordinates.tobytes() + raw_rate.tobytes()) + object.__setattr__(self, "identity", digest.hexdigest()) + + @property + def shape(self) -> tuple[int, ...]: + return self.values.shape + + @property + def words(self) -> tuple[Vector, ...]: + return tuple(word.view() for word in self._words) + + def field(self, variable_id: str) -> Any: + specs = {spec.id: spec for spec in self.point.state.layout.variables} + if variable_id not in specs: + raise ContractError("unknown_variable") + selection = self.point.state.layout.offsets[variable_id] + indices = np.arange(selection.start, selection.stop).reshape(specs[variable_id].shape) + take = getattr(self.values, "take_flat", self.values.take if hasattr(self.values, "take") else None) + if take is None: + raise ContractError("linear_rate_field_capability") + return take(indices) + + def validate(self, point: Point, input_rate: ArrayLike, source_identity: str | None = None) -> None: + if (point.identity != self.point.identity or point.state.layout.identity != self.point.state.layout.identity + or source_identity is not None and source_identity != self.source_identity): + raise ContractError("linear_rate_point_or_source_mismatch") + input_rate = _linear_array(input_rate) + if input_rate.shape != self.input_rate.shape or input_rate.tobytes() != self.input_rate.tobytes(): + raise ContractError("linear_rate_input_mismatch") + + def linear_form(self, form: PhysicalLinearForm, *, arithmetic=None, point: Point, + sources=()) -> LinearFormResult: + return _linear_provider(arithmetic).linear_form(form, self, point=point, sources=sources) + + def __array__(self, dtype=None, copy=None): + raise TypeError("implicit full-word rate projection is forbidden") + + +@dataclass(frozen=True) +class LinearFormResult(ImmutableArrays): + value: Any + units: tuple[Unit, ...] + form_identity: str + operand_identity: str + source_identities: tuple[str, ...] + absolute_error_bound: FloatArray + arithmetic_policy: str + + def __post_init__(self) -> None: + units = tuple(_linear_unit(unit) for unit in self.units) + value = self.value.immutable_copy() if hasattr(self.value, "immutable_copy") else frozen_array(self.value) + bound = self.absolute_error_bound.immutable_copy() + if (value.shape != (len(units),) or bound.shape != value.shape or np.any(bound.values < 0) + or not self.form_identity or not self.operand_identity or not self.arithmetic_policy): + raise ContractError("linear_result_metadata") + object.__setattr__(self, "value", value) + object.__setattr__(self, "units", units) + object.__setattr__(self, "source_identities", tuple(self.source_identities)) + object.__setattr__(self, "absolute_error_bound", bound) + + +def _linear_provider(arithmetic): + provider = arithmetic if arithmetic is not None else FloatArithmetic() + if not callable(getattr(provider, "linear_form", None)): + raise ContractError("physical_linear_action_unavailable") + return provider + + +def _word_integer(words) -> int: + """Exact bounded dyadic readback in units of the minimum binary64 word. + + Only verifies finite-word transforms and computes their error bounds. It + does not replace the floating point physical action with rational physics. + A binary64 input needs at most 2098 bits. Summing K submitted finite words + adds at most ceil(log2(K)) bits. Four factors give at most128 product + words for the original eight-word difference. The optional mapped-input + profile gives224 for an absolute state (2+12 inputs) or384 for a paired + difference (24 inputs). The same dynamic remainder bound retains them all, + and each quotient remainder adds at most eight words. No grid-size limit + or unbounded expression/history nesting is used to justify that bound. + """ + total = 0 + for word in words: + numerator, denominator = float(word).as_integer_ratio() + total += numerator << (1074 - (denominator.bit_length() - 1)) + return total + + +def _linear_sum(words) -> float: + try: + value = math.fsum(words) + except (OverflowError, ValueError) as error: + raise ContractError("linear_sum_range") from error + if not math.isfinite(value): + raise ContractError("linear_sum_range") + return value + + +def _dyadic_product_matches(a: float, b: float, high: float, low: float) -> bool: + """Compare finite binary64 a*b == high+low without a universal 2**-1074 scale. + + frexp gives x = m*2**e; m*2**53 is an exact signed integer, including + subnormals. Only these short integers are multiplied. Aligning exponents + then compares the exact real values, without rounding the high/low sum. + """ + ma, ea = math.frexp(a) + mb, eb = math.frexp(b) + mh, eh = math.frexp(high) + ml, el = math.frexp(low) + product = int(ma * 2**53) * int(mb * 2**53) + hi, lo = int(mh * 2**53), int(ml * 2**53) + ep, eh, el = ea + eb - 106, eh - 53, el - 53 + common = min(ep, eh if hi else ep, el if lo else ep) + return (product << (ep - common)) == ( + (hi << (eh - common) if hi else 0) + + (lo << (el - common) if lo else 0) + ) + + +def _exact_product_matches(a: float, b: float, high: float, low: float) -> bool: + if _integer_product_checker is not None: + result = _integer_product_checker(a, b, high, low) + if result is not NotImplemented: + return result + return _dyadic_product_matches(a, b, high, low) + + +def _linear_arithmetic_identity() -> dict: + from pathlib import Path + + return {"contract_sha256": sha256(Path(__file__).read_bytes()).hexdigest(), + "product_backend": _integer_product_identity()} + + +def _finite_two_product(a: float, b: float) -> tuple[float, float]: + """Scaled Dekker product with an exact range/underflow verification. + + Split normalized mantissas, where every intermediate is normal and finite; + rescale the two product words only afterwards. Exact dyadic verification + rejects a rescaling that lost a nonzero tail, including gradual underflow. + """ + if not math.isfinite(a) or not math.isfinite(b): + raise ContractError("linear_product_nonfinite") + if a == 0 or b == 0: + return 0.0, 0.0 + if b in {-1.0, 1.0}: + return a * b, 0.0 + ma, ea = math.frexp(a) + mb, eb = math.frexp(b) + ca, cb = 134217729.0 * ma, 134217729.0 * mb + ah, bh = ca - (ca - ma), cb - (cb - mb) + al, bl = ma - ah, mb - bh + high = ma * mb + low = al * bl - (((high - ah * bh) - al * bh) - ah * bl) + try: + high, low = math.ldexp(high, ea + eb), math.ldexp(low, ea + eb) + except OverflowError as error: + raise ContractError("linear_product_overflow") from error + if not math.isfinite(high) or not math.isfinite(low): + raise ContractError("linear_product_overflow") + if not _exact_product_matches(a, b, high, low): + raise ContractError("linear_product_underflow_or_inexact") + return high, low + + +def _upper_ratio(numerator: int, denominator: int) -> float: + """Outward binary64 bound, including a nonzero subnormal remainder.""" + if numerator == 0: + return 0.0 + try: + value = numerator / denominator + except OverflowError as error: + raise ContractError("linear_error_bound_range") from error + if not math.isfinite(value): + raise ContractError("linear_error_bound_range") + a, b = value.as_integer_ratio() + if a * denominator < numerator * b: + value = math.nextafter(value, math.inf) + if not math.isfinite(value): + raise ContractError("linear_error_bound_range") + return value + + +def _linear_quotient(words: list[float], divisor: float) -> tuple[list[float], float]: + """Four quotient words and a bound on the exact unrepresented remainder. + + This operation is explicitly approximate. Each remainder update is exact + in finite words, and its residual divided by the original divisor bounds + the error before final row rounding. No reciprocal is used as a factor. + """ + if not math.isfinite(divisor) or divisor == 0: + raise ContractError("linear_invalid_divisor") + remainder, quotient = list(words), [] + for _ in range(4): + lead = _linear_sum(remainder) + if lead == 0: + if _word_integer(remainder): + raise ContractError("linear_quotient_underflow") + break + word = lead / divisor + if not math.isfinite(word): + raise ContractError("linear_quotient_overflow") + if word == 0: + raise ContractError("linear_quotient_underflow") + high, low = _finite_two_product(word, divisor) + quotient.append(word) + remainder.extend((-high, -low)) + dn, dd = divisor.as_integer_ratio() + bound = _upper_ratio(abs(_word_integer(remainder)) * dd, (1 << 1074) * abs(dn)) + return quotient, bound + + +def _linear_reduce(form: PhysicalLinearForm, components: Mapping[str, tuple[Vector, ...]], + output_words: int) -> tuple[Vector, Vector, Vector]: + """The single state/increment/rate reduction, before the requested output.""" + groups: list[dict[str, tuple[float | None, list[float]]]] = [{} for _ in form.row_ids] + for term in form.terms: + divisor_key = term.divisor.identity if term.divisor is not None else "" + divisor = term.divisor.value if term.divisor is not None else None + group = groups[term.row].setdefault(divisor_key, (divisor, []))[1] + # A zero coefficient has empty numeric words but remains in the form's + # declared structural support, unit validation and source identity. + if any(factor.value == 0 for factor in term.factors): + continue + words = (1.0,) if term.field is None else tuple(float(word.flat[term.index]) for word in components[term.field]) + for word in words: + product = [term.sign * word] if word else [] + for factor in term.factors: + product = [part for value in product for part in _finite_two_product(value, factor.value) if part] + group.extend(product) + high, low, bounds = (np.zeros(len(form.row_ids)) for _ in range(3)) + for row, entries in enumerate(groups): + words, errors = [], [] + for divisor, numerator in entries.values(): + if divisor is None: + words.extend(numerator) + else: + quotient, error = _linear_quotient(numerator, divisor) + words.extend(quotient) + errors.append(error) + high[row] = _linear_sum(words) + if output_words == 2: + low[row] = _linear_sum([*words, -high[row]]) + # Normalize the requested two-word result without changing its + # represented sum; the final bound uses the normalized pair. + h = _linear_sum((high[row], low[row])) + l = _linear_sum((high[row], low[row], -h)) + high[row], low[row] = h, l + remainder = abs(_word_integer([*words, -high[row], -low[row]])) + errors.append(_upper_ratio(remainder, 1 << 1074)) + bounds[row] = _upper_ratio(_word_integer(errors), 1 << 1074) + return high, low, bounds + + +def _linear_context(form, operand, *, point=None, left=None, right=None, sources=()): + if not isinstance(form, PhysicalLinearForm): + raise ContractError("physical_linear_form_required") + if isinstance(operand, StateView): + layout, expected_kind, identity = operand.layout, "state", operand.authority.identity + if left is not None or right is not None: + raise ContractError("linear_operand_binding") + if point is not None and (point.state.authority.identity != operand.authority.identity + or point.state.layout.identity != layout.identity): + raise ContractError("linear_state_point_mismatch") + elif isinstance(operand, StateIncrement): + if not isinstance(left, Point) or not isinstance(right, Point) or point is not None: + raise ContractError("linear_increment_points_required") + operand.validate(left, right) + layout, expected_kind, point = right.state.layout, "increment", right + identity = sha256((left.identity + ":" + right.identity).encode()).hexdigest() + elif isinstance(operand, RateView): + if not isinstance(point, Point) or left is not None or right is not None: + raise ContractError("linear_rate_point_required") + operand.validate(point, operand.input_rate, form.source_identity) + layout, expected_kind, identity = point.state.layout, "rate", operand.identity + else: + raise ContractError("unsupported_linear_operand") + # Recheck metadata rather than trusting a cached identity on an externally + # supplied layout whose nested objects may have been changed by a caller. + actual_layout = sha256(repr((layout.supports, layout.variables, layout.equations)).encode()).hexdigest() + if form.kind != expected_kind or layout.identity != form.layout.identity or actual_layout != layout.identity: + raise ContractError("linear_layout_or_kind_mismatch") + sources = tuple(sources) + if (not all(isinstance(source, BoundLinearSource) for source in sources) + or tuple(sorted((source.spec for source in sources), key=lambda spec: spec.id)) != form.sources): + raise ContractError("linear_source_packet_mismatch") + if sources: + if point is None or any(source.point_identity != point.identity for source in sources): + raise ContractError("linear_source_point_mismatch") + expected = _source_evaluation_identity(point.identity, ((source.spec, source.value) for source in sources)) + if any(source.evaluation_identity != expected for source in sources): + raise ContractError("linear_source_evaluation_mismatch") + identity = sha256(repr((identity, point.identity if point is not None else None)).encode()).hexdigest() + return identity, sources + + +def _apply_linear_form(form, operand, *, point=None, left=None, right=None, sources=(), + array_words, state_words, increment_words, output_words, finish, input_word_count=None): + identity, sources = _linear_context(form, operand, point=point, left=left, right=right, sources=sources) + external = {source.spec.id: source for source in sources} + specs = {spec.id: spec for spec in form.layout.variables} + components = {} + for name in {term.field for term in form.terms if term.field is not None}: + if name in external: + parts, shape = array_words(external[name].value), external[name].spec.shape + else: + shape = specs[name].shape + if isinstance(operand, StateView): + parts = state_words(operand, name) + elif isinstance(operand, StateIncrement): + parts = increment_words(left.state, right.state, name) + else: + selection = form.layout.offsets[name] + parts = tuple(word[selection].reshape(shape) for word in operand.words) + limit, exact_count = 8, None + if input_word_count is not None: + exact_count = input_word_count(operand, name, point=point, right=right, external=external) + if exact_count is not None: + if type(exact_count) is not int or exact_count not in (12, 14, 16, 24) or output_words != 2: + raise ContractError("linear_input_word_contract") + limit = exact_count + if (not 1 <= len(parts) <= limit or exact_count is not None and len(parts) != exact_count + or any(part.shape != shape or part.dtype != np.dtype(np.float64) + or not np.isfinite(part).all() for part in parts)): + raise ContractError("linear_source_word_shape_or_count") + components[name] = parts + high, low, bound = _linear_reduce(form, components, output_words) + try: + value = finish(high, low) + except ArithmeticError as error: + raise ContractError("linear_output_provider_range") from error + return LinearFormResult(value, form.row_units, form.identity, identity, + tuple(source.identity for source in sources), FloatArray(bound), + f"finite-eft-factor4/quotient4/final-word{output_words}-v1") + + +def _float_linear_words(value) -> tuple[Vector, ...]: + if type(value) is not FloatArray: + raise ContractError("linear_precision_provider_required") + return (value.values,) + + +def _resolved_linear_words(state, name) -> tuple[Vector, ...]: + if type(state.authority) is not ResolvedAuthority: + raise ContractError("linear_authority_provider_required") + return _float_linear_words(state.authority.field(name)) + + +def _resolved_increment_words(left, right, name) -> tuple[Vector, ...]: + return _resolved_linear_words(right, name) + tuple(-word for word in _resolved_linear_words(left, name)) + + +@dataclass(frozen=True) +class Geometry(ImmutableArrays): + volumes: Vector + pairs: NDArray[np.int64] + face_measures: Vector + volume_unit: Unit = VOLUME + face_unit: Unit = AREA + cell_support: str = "cells" + face_support: str = "faces" + + def __post_init__(self) -> None: + object.__setattr__(self, "volumes", frozen_array(self.volumes)) + object.__setattr__(self, "face_measures", frozen_array(self.face_measures)) + pairs = integer_indices(self.pairs) + immutable_pairs = np.frombuffer(pairs.tobytes(), dtype=np.int64).reshape(pairs.shape) + object.__setattr__(self, "pairs", immutable_pairs) + if self.volumes.ndim != 1 or np.any(self.volumes <= 0): + raise ContractError("invalid_volumes") + if pairs.ndim != 2 or pairs.shape != (self.face_measures.size, 2): + raise ContractError("invalid_face_pairs") + if self.face_measures.ndim != 1 or np.any(self.face_measures <= 0): + raise ContractError("invalid_face_measures") + if np.any(pairs < 0) or np.any(pairs >= self.volumes.size) or np.any(pairs[:, 0] == pairs[:, 1]): + raise ContractError("face_outside_support") + if not self.cell_support or not self.face_support or self.cell_support == self.face_support: + raise ContractError("invalid_geometry_support") + + +@dataclass(frozen=True) +class Contribution: + id: str + support: str + values: ArrayLike | PhysicalArray + unit: Unit + + +@dataclass(frozen=True) +class CellSource(Contribution): + pass + + +@dataclass(frozen=True) +class FaceFlux(Contribution): + pass + + +@dataclass(frozen=True) +class AlgebraicTerm(Contribution): + pass + + +@dataclass(frozen=True) +class SurfaceCharge(Contribution): + pass + + +class AssemblyArithmetic(Protocol): + """Array operations supplied by a precision backend, with no physics imports. + + ``array`` checks finite values; every operation preserves the representation. + ``freeze`` returns owned immutable storage. Geometry and support validation + remain the responsibility of TermSink rather than the injected backend. + """ + + def array(self, value: ArrayLike | PhysicalArray) -> Any: ... + def zeros(self, shape: tuple[int, ...]) -> Any: ... + def weighted(self, value: Any, weights: Vector) -> Any: ... + def add(self, left: Any, right: Any) -> Any: ... + def subtract(self, left: Any, right: Any) -> Any: ... + def divide(self, left: Any, right: Any) -> Any: ... + def matmul(self, left: Any, right: Any) -> Any: ... + def concatenate(self, values: Iterable[Any], axis: int = 0) -> Any: ... + def reshape(self, value: Any, shape: tuple[int, ...]) -> Any: ... + def scatter_add(self, target: Any, indices: NDArray[np.intp], value: Any) -> Any: ... + def freeze(self, value: Any) -> Any: ... + def linear_form(self, form: PhysicalLinearForm, operand: Any, *, + point=None, left=None, right=None, sources=()) -> LinearFormResult: ... + def validate_rate(self, value: RateView) -> None: ... + + +class FloatArithmetic: + """The product binary64 implementation of the assembly arithmetic contract.""" + + def array(self, value: ArrayLike | PhysicalArray) -> Vector: + if isinstance(value, FloatArray): + value = value.values + return frozen_array(value) + + def zeros(self, shape: tuple[int, ...]) -> Vector: + return np.zeros(shape) + + def weighted(self, value: Vector, weights: Vector) -> Vector: + if value.shape != weights.shape: + raise ContractError("arithmetic_shape_mismatch") + return value * weights + + def add(self, left: Vector, right: Vector) -> Vector: + if left.shape != right.shape: + raise ContractError("arithmetic_shape_mismatch") + return left + right + + def subtract(self, left: Vector, right: Vector) -> Vector: + if left.shape != right.shape: + raise ContractError("arithmetic_shape_mismatch") + return left - right + + def divide(self, left: Vector, right: Vector) -> Vector: + if left.shape != right.shape or np.any(right == 0): + raise ContractError("arithmetic_shape_or_divisor") + return left / right + + def matmul(self, left: Vector, right: Vector) -> Vector: + if left.ndim != 2 or right.ndim not in {1, 2} or left.shape[1] != right.shape[0]: + raise ContractError("arithmetic_shape_mismatch") + return left @ right + + def concatenate(self, values: Iterable[Vector], axis: int = 0) -> Vector: + return np.concatenate(tuple(values), axis=axis) + + def reshape(self, value: Vector, shape: tuple[int, ...]) -> Vector: + return value.reshape(shape) + + def scatter_add(self, target: Vector, indices: NDArray[np.intp], value: Vector) -> Vector: + np.add.at(target, indices, value) + return target + + def freeze(self, value: Vector) -> Vector: + return frozen_array(value) + + def validate_rate(self, value: RateView) -> None: + if len(value.words) != 1 or type(value.point.state.authority) is not ResolvedAuthority: + raise ContractError("linear_precision_provider_required") + + def linear_form(self, form: PhysicalLinearForm, operand: Any, *, + point=None, left=None, right=None, sources=()) -> LinearFormResult: + if isinstance(operand, RateView): + self.validate_rate(operand) + return _apply_linear_form( + form, operand, point=point, left=left, right=right, sources=sources, + array_words=_float_linear_words, state_words=_resolved_linear_words, + increment_words=_resolved_increment_words, output_words=1, + finish=lambda high, low: self.freeze(high)) + + +class TermSink: + """Typed unweighted contributions; geometry is applied here exactly once.""" + + def __init__(self, layout: Layout, equation_id: str, geometry: Geometry, + arithmetic: AssemblyArithmetic | None = None): + equations = {x.id: x for x in layout.equations} + if equation_id not in equations: + raise ContractError("unknown_equation") + self.equation = equations[equation_id] + self.supports = {x.id: x for x in layout.supports} + self.geometry = geometry + self.arithmetic = arithmetic if arithmetic is not None else FloatArithmetic() + for support_id, location, shape in ( + (geometry.cell_support, "cell", geometry.volumes.shape), + (geometry.face_support, "face", geometry.face_measures.shape), + ): + support = self.supports.get(support_id) + if support is None or support.location != location or support.shape != shape: + raise ContractError("geometry_support_mismatch") + self._seen: set[str] = set() + self._value = self.arithmetic.zeros(self.equation.shape) + + def add(self, term: Contribution) -> None: + if not term.id or term.id in self._seen: + raise ContractError("duplicate_contribution") + if term.support not in self.supports: + raise ContractError("unknown_support") + support = self.supports[term.support] + target = self.supports[self.equation.support] + arithmetic = self.arithmetic + values = arithmetic.array(term.values) + if values.shape != support.shape: + raise ContractError("term_shape_mismatch") + geometry = self.geometry + if isinstance(term, CellSource): + if support != target or support.location != "cell" or values.shape != geometry.volumes.shape: + raise ContractError("wrong_source_support") + if support.id != geometry.cell_support: + raise ContractError("geometry_support_mismatch") + expected = term.unit * geometry.volume_unit + contribution = arithmetic.weighted(values, geometry.volumes) + elif isinstance(term, FaceFlux): + if (support.location != "face" or target.location != "cell" + or values.shape != geometry.face_measures.shape + or target.shape != geometry.volumes.shape): + raise ContractError("wrong_flux_support") + if support.id != geometry.face_support or target.id != geometry.cell_support: + raise ContractError("geometry_support_mismatch") + expected = term.unit * geometry.face_unit + contribution = arithmetic.zeros(self.equation.shape) + weighted = arithmetic.weighted(values, geometry.face_measures) + contribution = arithmetic.scatter_add( + contribution, geometry.pairs[:, 0], arithmetic.weighted(weighted, -np.ones(values.shape)), + ) + contribution = arithmetic.scatter_add(contribution, geometry.pairs[:, 1], weighted) + elif isinstance(term, AlgebraicTerm): + if support != target or self.equation.role != "constraint": + raise ContractError("wrong_algebraic_support") + expected, contribution = term.unit, values + elif isinstance(term, SurfaceCharge): + if support != target or support.location != "face" or values.shape != geometry.face_measures.shape: + raise ContractError("wrong_surface_charge_support") + if support.id != geometry.face_support: + raise ContractError("geometry_support_mismatch") + expected = term.unit * geometry.face_unit + contribution = arithmetic.weighted(values, geometry.face_measures) + else: + raise ContractError("untyped_contribution") + if expected != self.equation.unit: + raise ContractError("unit_mismatch") + self._value = arithmetic.add(self._value, contribution) + self._seen.add(term.id) + + def value(self) -> Any: + return self.arithmetic.freeze(self._value) + + +@dataclass(frozen=True) +class StoragePartials: + y: Vector + inputs: Vector + time: Vector + + +class StorageLaw(Protocol): + def value(self, point: Point) -> Vector | PhysicalArray: ... + def delta(self, left: Point, right: Point, increment: StateIncrement) -> Vector | PhysicalArray: ... + def first(self, point: Point) -> StoragePartials: ... + def rate_jvp(self, point: Point, ydot: Vector, adot: Vector, + dy: Vector, da: Vector, dt: float) -> Vector: ... + + +@dataclass(frozen=True) +class LinearStorage(ImmutableArrays): + matrix: Vector + coordinate_reference: str = "physical-si-v1" + + def __post_init__(self) -> None: + object.__setattr__(self, "matrix", frozen_array(self.matrix)) + if self.matrix.ndim != 2: + raise ContractError("invalid_storage_matrix") + + def _check_reference(self, point: Point) -> None: + if point.coordinate_reference != self.coordinate_reference: + raise ContractError("linear_storage_coordinate_mismatch") + if self.matrix.shape[1] != point.y.size: + raise ContractError("storage_coordinate_shape_mismatch") + + def value(self, point: Point) -> Vector: + self._check_reference(point) + return self.matrix @ point.y + + def delta(self, left: Point, right: Point, increment: StateIncrement) -> Vector: + increment.validate(left, right) + self._check_reference(left) + self._check_reference(right) + physical = [] + for variable in left.state.layout.variables: + value = increment.field(variable.id) + if not isinstance(value, FloatArray): + raise ContractError("linear_storage_requires_explicit_precision_adapter") + physical.extend(value.values.ravel()) + return self.matrix @ np.asarray(physical) + + def first(self, point: Point) -> StoragePartials: + self._check_reference(point) + return StoragePartials(self.matrix, np.zeros((self.matrix.shape[0], point.inputs.size)), + np.zeros(self.matrix.shape[0])) + + def rate_jvp(self, point: Point, ydot: Vector, adot: Vector, + dy: Vector, da: Vector, dt: float) -> Vector: + self._check_reference(point) + return np.zeros(self.matrix.shape[0]) + + +@dataclass(frozen=True) +class BalanceTerms: + rate: Vector + algebraic: Vector + Ry: Vector + Ra: Vector + Rt: Vector + gy: Vector + ga: Vector + gt: Vector + + +@dataclass(frozen=True) +class Linearization: + y: Vector + ydot: Vector + inputs: Vector + input_rate: Vector + time: Vector + arithmetic: AssemblyArithmetic | None = field(default=None, repr=False, compare=False) + + def ida_matrix(self, cj: float) -> Any: + if not np.isfinite(cj): + raise ContractError("nonfinite_cj") + a = self.arithmetic if self.arithmetic is not None else FloatArithmetic() + y, ydot = a.array(self.y), a.array(self.ydot) + return a.freeze(a.add(y, a.weighted(ydot, np.full(ydot.shape, cj)))) + + +@dataclass(frozen=True) +class ImplicitSystem: + """Dense convenience for small analytic problems; precision is explicit. + + Large models use ``ImplicitProblem``/``ValidatedProblem`` below, whose + residual path never requests derivative assembly or identity-column JVPs. + """ + + storage: StorageLaw + terms: Callable[[Point], BalanceTerms] + arithmetic: AssemblyArithmetic | None = None + + def _arithmetic(self) -> AssemblyArithmetic: + return self.arithmetic if self.arithmetic is not None else FloatArithmetic() + + def evaluate(self, point: Point) -> tuple[StoragePartials, BalanceTerms]: + first, terms = self.storage.first(point), self.terms(point) + n, m = point.y.size, point.inputs.size + if len(terms.rate.shape) != 1 or len(terms.algebraic.shape) != 1: + raise ContractError("invalid_equation_shape") + k, l = terms.rate.shape[0], terms.algebraic.shape[0] + arrays = ( + (first.y, (k, n)), (first.inputs, (k, m)), (first.time, (k,)), + (terms.Ry, (k, n)), (terms.Ra, (k, m)), (terms.Rt, (k,)), + (terms.gy, (l, n)), (terms.ga, (l, m)), (terms.gt, (l,)), + ) + if k + l != n or any(array.shape != shape for array, shape in arrays): + raise ContractError("equation_derivative_shape_mismatch") + a = self._arithmetic() + try: + converted = [a.array(array) for array, _ in arrays] + except (ContractError, ValueError) as error: + raise ContractError("nonfinite_derivative") from error + try: + rate, algebraic = a.array(terms.rate), a.array(terms.algebraic) + except (ContractError, ValueError) as error: + raise ContractError("nonfinite_residual") from error + return StoragePartials(*converted[:3]), BalanceTerms(rate, algebraic, *converted[3:]) + + def _check_rates(self, point: Point, ydot: Any, adot: Any) -> None: + if isinstance(ydot, RateView): + raise ContractError("full_word_rate_requires_explicit_problem_callback") + if ydot.shape != point.y.shape or adot.shape != point.inputs.shape: + raise ContractError("rate_shape_mismatch") + try: + self._arithmetic().array(ydot) + self._arithmetic().array(adot) + except (ContractError, ValueError) as error: + raise ContractError("nonfinite_rate") from error + + def _storage_vector(self, value: Any, count: int) -> Any: + try: + array = self._arithmetic().array(value) + except (ContractError, ValueError) as error: + raise ContractError("nonfinite_storage_callback") from error + if array.shape != (count,): + raise ContractError("storage_callback_shape_mismatch") + return array + + def residual(self, point: Point, ydot: Vector, adot: Vector) -> Vector: + self._check_rates(point, ydot, adot) + first, terms = self.evaluate(point) + a = self._arithmetic() + rate = a.add(a.add(a.matmul(first.y, a.array(ydot)), + a.matmul(first.inputs, a.array(adot))), first.time) + return a.freeze(a.concatenate((a.subtract(rate, terms.rate), terms.algebraic))) + + def linearize(self, point: Point, ydot: Vector, adot: Vector) -> Linearization: + self._check_rates(point, ydot, adot) + first, terms = self.evaluate(point) + n, m = point.y.size, point.inputs.size + k, l = terms.rate.shape[0], terms.algebraic.shape[0] + a = self._arithmetic() + zero_y, zero_a = np.zeros(n), np.zeros(m) + def contraction(dy: Vector, da: Vector, dt: float) -> Vector: + return self._storage_vector( + self.storage.rate_jvp(point, ydot, adot, dy, da, dt), k, + ) + rate_y = (a.concatenate([ + a.reshape(contraction(direction, zero_a, 0.0), (k, 1)) + for direction in np.eye(n) + ], axis=1) if n else a.zeros((k, 0))) + rate_a = (a.concatenate([ + a.reshape(contraction(zero_y, direction, 0.0), (k, 1)) + for direction in np.eye(m) + ], axis=1) if m else a.zeros((k, 0))) + rate_t = contraction(zero_y, zero_a, 1.0) + return Linearization( + a.freeze(a.concatenate((a.subtract(rate_y, terms.Ry), terms.gy))), + a.freeze(a.concatenate((first.y, a.zeros((l, n))))), + a.freeze(a.concatenate((a.subtract(rate_a, terms.Ra), terms.ga))), + a.freeze(a.concatenate((first.inputs, a.zeros((l, m))))), + a.freeze(a.concatenate((a.subtract(rate_t, terms.Rt), terms.gt))), + self.arithmetic, + ) + + def conservative_residual(self, left: Point, right: Point, + increment: StateIncrement) -> Vector: + h = right.time - left.time + if h <= 0: + raise ContractError("nonpositive_step") + increment.validate(left, right) + _, terms = self.evaluate(right) + a = self._arithmetic() + delta = self._storage_vector(self.storage.delta(left, right, increment), terms.rate.shape[0]) + return a.freeze(a.concatenate((a.subtract(delta, a.weighted(terms.rate, np.full(terms.rate.shape, h))), + terms.algebraic))) + + def conservative_jacobian(self, left: Point, right: Point) -> Vector: + h = right.time - left.time + if h <= 0: + raise ContractError("nonpositive_step") + first, terms = self.evaluate(right) + a = self._arithmetic() + return a.freeze(a.concatenate((a.subtract(first.y, a.weighted(terms.Ry, np.full(terms.Ry.shape, h))), + terms.gy))) + + +class StorageValues(Protocol): + """Physical Q and finite delta Q, without a dense derivative requirement.""" + + def value(self, point: Point) -> Any: ... + def delta(self, left: Point, right: Point, increment: StateIncrement) -> Any: ... + + +@dataclass(frozen=True) +class PhysicalStorage: + """Validate value callbacks in the same units, source and arithmetic lane.""" + + value_callback: Callable[[Point], Any] + delta_callback: Callable[[Point, Point, StateIncrement], Any] + units: tuple[Unit, ...] + source_identity: str + arithmetic: AssemblyArithmetic | None = None + + def __post_init__(self) -> None: + if not self.source_identity or not all(isinstance(unit, Unit) for unit in self.units): + raise ContractError("invalid_storage_identity_or_units") + object.__setattr__(self, "units", tuple(self.units)) + + def _value(self, value: Any) -> Any: + a = self.arithmetic if self.arithmetic is not None else FloatArithmetic() + array = a.array(value) + if array.shape != (len(self.units),): + raise ContractError("storage_callback_shape_mismatch") + return a.freeze(array) + + def value(self, point: Point) -> Any: + return self._value(self.value_callback(point)) + + def delta(self, left: Point, right: Point, increment: StateIncrement) -> Any: + increment.validate(left, right) + return self._value(self.delta_callback(left, right, increment)) + + +@dataclass(frozen=True) +class SparseStructure(ImmutableArrays): + """A frozen CSC slot contract copied from a declared structural graph. + + The graph owns named equation/variable/term support and unit checks. This + adapter binds that declaration identity to exact slots, including zeros; + a numerical nonzero mask is never used to construct or repair the pattern. + Rectangular structures are permitted for storage/input partials. + """ + + shape: tuple[int, int] + indices: NDArray[np.intp] + indptr: NDArray[np.intp] + declaration_identity: str + layout_identity: str + identity: str = field(init=False) + + def __post_init__(self) -> None: + if (len(self.shape) != 2 or any(type(n) is not int or n < 0 for n in self.shape) + or not self.declaration_identity or not self.layout_identity): + raise ContractError("invalid_sparse_structure") + indices, indptr = integer_indices(self.indices), integer_indices(self.indptr) + if (indices.ndim != 1 or indptr.shape != (self.shape[1] + 1,) + or indptr[0] != 0 or indptr[-1] != len(indices) + or np.any(np.diff(indptr) < 0) or np.any(indices < 0) + or np.any(indices >= self.shape[0])): + raise ContractError("invalid_sparse_structure") + for start, end in zip(indptr[:-1], indptr[1:]): + if np.any(np.diff(indices[start:end]) <= 0): + raise ContractError("noncanonical_sparse_structure") + for name, array in (("indices", indices), ("indptr", indptr)): + object.__setattr__(self, name, np.frombuffer(array.tobytes(), dtype=np.intp)) + data = repr((self.shape, self.declaration_identity, self.layout_identity)).encode() + object.__setattr__(self, "identity", sha256(data + indices.tobytes() + indptr.tobytes()).hexdigest()) + + @classmethod + def from_graph(cls, graph: Any) -> SparseStructure: + return cls(graph.shape, graph.indices, graph.indptr, graph.identity, graph.layout.identity) + + def matrix(self, matrix: csc_matrix) -> csc_matrix: + if not isspmatrix_csc(matrix) or matrix.shape != self.shape: + raise ContractError("sparse_matrix_shape_or_format") + if (not np.array_equal(integer_indices(matrix.indices), self.indices) + or not np.array_equal(integer_indices(matrix.indptr), self.indptr)): + raise ContractError("structural_recompile_required") + if matrix.data.dtype.kind not in {"i", "u", "f"}: + raise ContractError("unsupported_sparse_dtype") + data = frozen_array(matrix.data) + if data.shape != self.indices.shape: + raise ContractError("sparse_data_shape_mismatch") + return csc_matrix((data.copy(), self.indices.copy(), self.indptr.copy()), shape=self.shape) + + def filled(self, values: ArrayLike) -> csc_matrix: + values = frozen_array(values) + if values.shape != self.indices.shape: + raise ContractError("sparse_data_shape_mismatch") + return csc_matrix((values.copy(), self.indices.copy(), self.indptr.copy()), shape=self.shape) + + +@dataclass(frozen=True) +class SparseLinearization(ImmutableArrays): + """Complete analytic partials; Fy includes the storage-rate chain rule.""" + + y: csc_matrix + ydot: csc_matrix + inputs: Vector + input_rate: Vector + time: Vector + structure: SparseStructure + source_identity: str + + def __getattribute__(self, name: str) -> Any: + value = super().__getattribute__(name) + return value.copy() if isspmatrix_csc(value) else value + + def __post_init__(self) -> None: + if not self.source_identity or self.structure.shape[0] != self.structure.shape[1]: + raise ContractError("invalid_linearization_identity") + n = self.structure.shape[0] + for name in ("y", "ydot"): + object.__setattr__(self, name, self.structure.matrix(getattr(self, name))) + for name in ("inputs", "input_rate", "time"): + object.__setattr__(self, name, frozen_array(getattr(self, name))) + if (self.inputs.ndim != 2 or self.inputs.shape[0] != n + or self.input_rate.shape != self.inputs.shape or self.time.shape != (n,)): + raise ContractError("equation_derivative_shape_mismatch") + + def ida_matrix(self, cj: float) -> csc_matrix: + if not np.isfinite(cj): + raise ContractError("nonfinite_cj") + # Adding sparse matrices can discard exact-zero slots. Add the aligned + # data instead, retaining the declared structure for every cj. + return self.structure.filled(self.y.data + cj * self.ydot.data) + + +class ImplicitProblem(Protocol): + """Solver-facing contract; no Device, registry, server or precision import.""" + + @property + def layout(self) -> Layout: ... + @property + def source_identity(self) -> str: ... + @property + def storage(self) -> StorageValues: ... + + def residual(self, point: Point, ydot: Vector, adot: Vector) -> Any: ... + def linearize(self, point: Point, ydot: Vector, adot: Vector) -> Any: ... + def conservative_residual(self, left: Point, right: Point, increment: StateIncrement) -> Any: ... + def conservative_jacobian(self, left: Point, right: Point) -> Any: ... + + +@dataclass(frozen=True) +class ValidatedProblem: + """Bind separately implemented analytic callbacks to one public problem. + + The first ``storage_count`` equation rows are differential. The remaining + rows are constraints, unscaled by dt in the conservative residual. Runtime + validation checks representation/contracts; independent physics and joint + derivative tests remain mandatory, and cannot be replaced by these checks. + """ + + layout: Layout + input_count: int + storage_count: int + storage: PhysicalStorage + structure: SparseStructure + source_identity: str + residual_values: Callable[[Point, Vector, Vector], Any] + analytic_linearization: Callable[[Point, Vector, Vector], SparseLinearization] + conservative_values: Callable[[Point, Point, StateIncrement], Any] + conservative_derivative: Callable[[Point, Point], csc_matrix] + point_validator: Callable[[Point], None] | None = None + arithmetic: AssemblyArithmetic | None = None + accepted_rate_mapping_identity: str | None = None + + def __post_init__(self) -> None: + if (type(self.input_count) is not int or self.input_count < 0 + or type(self.storage_count) is not int or self.storage_count < 0): + raise ContractError("invalid_problem_counts") + if (self.structure.shape != (self.layout.size, self.layout.size) + or self.structure.layout_identity != self.layout.identity): + raise ContractError("problem_structure_layout_mismatch") + units, roles = [], [] + for equation in self.layout.equations: + units.extend([equation.unit] * int(np.prod(equation.shape))) + roles.extend([equation.role] * int(np.prod(equation.shape))) + if (len(units) != self.layout.size or self.storage_count > len(units) + or any(role != "storage" for role in roles[:self.storage_count]) + or any(role == "storage" for role in roles[self.storage_count:])): + raise ContractError("problem_equation_order_mismatch") + if tuple(unit * SECOND for unit in units[:self.storage_count]) != self.storage.units: + raise ContractError("storage_unit_mismatch") + if not self.source_identity or self.storage.source_identity != self.source_identity: + raise ContractError("problem_source_mismatch") + if self.storage.arithmetic is not self.arithmetic: + raise ContractError("problem_arithmetic_mismatch") + if self.accepted_rate_mapping_identity is not None and ( + not isinstance(self.accepted_rate_mapping_identity, str) or not self.accepted_rate_mapping_identity): + raise ContractError("problem_rate_mapping_identity") + + def _point(self, point: Point) -> None: + if (point.state.layout.identity != self.layout.identity or point.y.shape != (self.layout.size,) + or point.inputs.shape != (self.input_count,)): + raise ContractError("problem_point_mismatch") + if self.point_validator is not None: + self.point_validator(point) + + def _rates(self, point: Point, ydot: Any, adot: Vector) -> tuple[Any, Vector]: + self._point(point) + if isinstance(ydot, RateView): + if (self.accepted_rate_mapping_identity is None + or ydot.mapping_identity != self.accepted_rate_mapping_identity): + raise ContractError("problem_full_word_rate_not_admitted") + ydot.validate(point, adot, self.source_identity) + provider = _linear_provider(self.arithmetic) + if not callable(getattr(provider, "validate_rate", None)): + raise ContractError("problem_full_word_rate_unavailable") + provider.validate_rate(ydot) + return ydot, frozen_array(adot) + ydot, adot = frozen_array(ydot), frozen_array(adot) + if ydot.shape != point.y.shape or adot.shape != point.inputs.shape: + raise ContractError("rate_shape_mismatch") + return ydot, adot + + def _values(self, values: Any) -> Any: + a = self.arithmetic if self.arithmetic is not None else FloatArithmetic() + values = a.array(values) + if values.shape != (self.layout.size,): + raise ContractError("residual_shape_mismatch") + return a.freeze(values) + + def residual(self, point: Point, ydot: Vector, adot: Vector) -> Any: + ydot, adot = self._rates(point, ydot, adot) + return self._values(self.residual_values(point, ydot, adot)) + + def linearize(self, point: Point, ydot: Vector, adot: Vector) -> SparseLinearization: + ydot, adot = self._rates(point, ydot, adot) + result = self.analytic_linearization(point, ydot, adot) + if (not isinstance(result, SparseLinearization) or result.source_identity != self.source_identity + or result.structure.identity != self.structure.identity): + raise ContractError("linearization_source_or_structure_mismatch") + if result.inputs.shape != (self.layout.size, self.input_count): + raise ContractError("equation_derivative_shape_mismatch") + return result + + def _interval(self, left: Point, right: Point) -> None: + self._point(left) + self._point(right) + if right.time <= left.time: + raise ContractError("nonpositive_step") + + def conservative_residual(self, left: Point, right: Point, increment: StateIncrement) -> Any: + self._interval(left, right) + increment.validate(left, right) + return self._values(self.conservative_values(left, right, increment)) + + def conservative_jacobian(self, left: Point, right: Point) -> csc_matrix: + self._interval(left, right) + return self.structure.matrix(self.conservative_derivative(left, right)) + + +@dataclass(frozen=True) +class PhysicalScaling(ImmutableArrays): + """Explicit solver scaling; physical arithmetic is retained before rounding.""" + + rows: Vector + columns: Vector + + def __post_init__(self) -> None: + for name in ("rows", "columns"): + value = frozen_array(getattr(self, name)) + if value.ndim != 1 or np.any(value <= 0): + raise ContractError("invalid_solver_scale") + object.__setattr__(self, name, value) + + def residual(self, value: Any, *, arithmetic: AssemblyArithmetic | None = None) -> Any: + a = arithmetic if arithmetic is not None else FloatArithmetic() + value = a.array(value) + if value.shape != self.rows.shape: + raise ContractError("scale_shape_mismatch") + return a.freeze(a.divide(value, a.array(self.rows))) + + def jacobian(self, value: Any, *, arithmetic: AssemblyArithmetic | None = None) -> Any: + shape = (len(self.rows), len(self.columns)) + if value.shape != shape: + raise ContractError("scale_shape_mismatch") + if isspmatrix_csc(value): + if arithmetic is not None: + raise ContractError("sparse_precision_requires_explicit_values_adapter") + result = value.copy() + cols = np.repeat(np.arange(shape[1]), np.diff(result.indptr)) + result.data = frozen_array(result.data * self.columns[cols] / self.rows[result.indices]).copy() + return result + a = arithmetic if arithmetic is not None else FloatArithmetic() + result = a.weighted(a.array(value), np.broadcast_to(self.columns, shape)) + return a.freeze(a.divide(result, a.array(np.broadcast_to(self.rows[:, None], shape)))) + + +@dataclass(frozen=True) +class TerminalPort: + id: str + outward_normal: int + area: float + + def __post_init__(self) -> None: + if not self.id or self.outward_normal not in {-1, 1} or not np.isfinite(self.area) or self.area <= 0: + raise ContractError("invalid_port") + + def charge(self, displacement: ArrayLike | PhysicalArray, *, + arithmetic: AssemblyArithmetic | None = None, unit: Unit = COULOMB / AREA) -> Any: + if unit != COULOMB / AREA: + raise ContractError("port_unit_mismatch") + a = arithmetic if arithmetic is not None else FloatArithmetic() + value = a.array(displacement) + return a.freeze(a.weighted(value, np.full(value.shape, -self.area * self.outward_normal))) + + def current(self, conduction: ArrayLike | PhysicalArray, displacement_rate: ArrayLike | PhysicalArray, *, + arithmetic: AssemblyArithmetic | None = None, + conduction_unit: Unit = COULOMB / AREA / SECOND, + displacement_rate_unit: Unit = COULOMB / AREA / SECOND) -> Any: + if conduction_unit != COULOMB / AREA / SECOND or displacement_rate_unit != conduction_unit: + raise ContractError("port_unit_mismatch") + a = arithmetic if arithmetic is not None else FloatArithmetic() + jc, ddot = a.array(conduction), a.array(displacement_rate) + if jc.shape != ddot.shape: + raise ContractError("port_shape_mismatch") + return a.freeze(a.weighted(a.add(jc, ddot), np.full(jc.shape, -self.area * self.outward_normal))) + + +@dataclass(frozen=True) +class AcceptedStep(ImmutableArrays): + left: Point + right: Point + increment: StateIncrement + storage_delta: Vector + displacement_delta: Vector + derivative: Vector + input_rate: Vector + method: str + event_side: str + acceptance_metrics: tuple[tuple[str, float], ...] + physical_checks_passed: bool + arithmetic: AssemblyArithmetic | None = field(default=None, repr=False, compare=False) + + def __post_init__(self) -> None: + self.increment.validate(self.left, self.right) + if self.right.time <= self.left.time: + raise ContractError("nonpositive_step") + if self.event_side not in {"continuous", "left", "right"} or not self.method: + raise ContractError("invalid_step_history") + if not self.physical_checks_passed or not self.acceptance_metrics: + raise ContractError("physical_step_rejected") + metrics = tuple((name, float(value)) for name, value in self.acceptance_metrics) + if any(not isinstance(name, str) or not name for name, _ in metrics): + raise ContractError("invalid_acceptance_metric") + if any(not np.isfinite(value) for _, value in metrics): + raise ContractError("nonfinite_acceptance_metric") + object.__setattr__(self, "acceptance_metrics", metrics) + a = self.arithmetic if self.arithmetic is not None else FloatArithmetic() + for name in ("storage_delta", "displacement_delta"): + object.__setattr__(self, name, a.freeze(a.array(getattr(self, name)))) + for name in ("derivative", "input_rate"): + object.__setattr__(self, name, frozen_array(getattr(self, name))) + if self.derivative.shape != self.right.y.shape or self.input_rate.shape != self.right.inputs.shape: + raise ContractError("step_derivative_shape_mismatch") diff --git a/scripts/benchmarks/coupled_device_prototype.py b/scripts/benchmarks/coupled_device_prototype.py new file mode 100644 index 00000000..f975bde5 --- /dev/null +++ b/scripts/benchmarks/coupled_device_prototype.py @@ -0,0 +1,5695 @@ +"""Coupled physical-SI semiconductor prototype for two frozen one-slab cases. + +No production solver is imported. All rates, sparse derivatives and exterior +ports are evaluated by this kernel. The dense common-contract bridge is +explicitly limited to the first N8 diagnostic; scaling belongs to the adapter. +""" + +from __future__ import annotations + +from scripts.benchmarks.native_history import HistoryLimitError, emit_record +from scripts.benchmarks.runtime_timing import RuntimeTiming + +from dataclasses import asdict, dataclass, field, replace +from fractions import Fraction +from hashlib import sha256 +import json +import math +from pathlib import Path +import resource +import sys +import time +import traceback +from types import MappingProxyType +from typing import Mapping + +import numpy as np +from scipy.optimize import brentq +from scipy.sparse import csc_matrix, coo_matrix, csr_matrix, diags, hstack, vstack +import yaml + +from perovskite_sim.constants import EPS_0, K_B, Q +from scripts.benchmarks.contract_prototype import ( + AREA, COULOMB, LENGTH, ONE, PARTICLE, SECOND, VOLT, VOLUME, + BalanceTerms, BoundLinearSource, ContractError, + EquationSpec, FloatArray, Geometry, ImmutableArrays, ImplicitSystem, + Layout, LinearCoordinates, LinearFactor, LinearSourceSpec, LinearStorage, + LinearTerm, PhysicalLinearForm, Point, RateView, StateIncrement, Support, + TerminalPort, VariableSpec, frozen_array, _linear_arithmetic_identity, + _exact_product_matches, +) +from scripts.benchmarks.port_prototype import PortSample +from scripts.benchmarks.sparse_prototype import SparseGraph, TermSupport, factorize + + +def digest(value: object) -> str: + return sha256(json.dumps(value, sort_keys=True, separators=(",", ":"), + allow_nan=False).encode()).hexdigest() + + +@dataclass(frozen=True) +class SlabDefinition: + id: str + source_path: str + source_sha256: str + dynamic: bool + length: float + area: float + temperature: float + epsilon: float + mu_n: float + mu_p: float + diffusion_ion: float + ion_initial: float + ion_capacity: float + trap_density: float + capture_n: float + capture_p: float + n1: float + p1: float + intrinsic_product: float + ni: float + n_eq: float + p_eq: float + f_eq: float + alpha: float + photon_reference: float + + @property + def vt(self) -> float: + return K_B * self.temperature / Q + + @property + def identity(self) -> str: + return digest(asdict(self)) + + @classmethod + def from_plan(cls, plan_path: Path, repo: Path, case_id: str, + *, area: float | None = None) -> SlabDefinition: + plan = json.loads(plan_path.read_text()) + case = next((c for c in plan["cases"] if c["id"] == case_id), None) + if case is None: + raise ContractError("unregistered_device_case") + path = repo / case["source"] + source = path.read_bytes() + receipt = next(x for x in plan["sources"] if x["path"] == case["source"]) + if sha256(source).hexdigest() != receipt["sha256"]: + raise ContractError("device_source_changed") + cfg = yaml.safe_load(source) + if len(cfg["layers"]) != 1: + raise ContractError("prototype_requires_one_slab") + layer, dev = cfg["layers"][0], cfg["device"] + defect = layer["bulk_defects"][0] + dynamic = case_id == "DynamicAcceptorIonPublicDeviceV1" + if (case_id not in {"S0NeutralPublicDeviceV1", "DynamicAcceptorIonPublicDeviceV1"} + or defect["degeneracy"] != 1.0 or len(layer["bulk_defects"]) != 1 + or defect["distribution"]["kind"] != "single_level" + or layer["defect_model"] != "explicit_quasi_steady" + or defect["charge_transition"] != ("acceptor" if dynamic else "neutral") + or dev["built_in_potential_mode"] != "semiconductor_work_function"): + raise ContractError("unsupported_device_definition") + get = lambda key: float(layer[key]) + T = float(dev["T"]) + if T != 300.0 or any(get(k) != 0 for k in ["N_A", "N_D", "B_rad", "C_n", "C_p"]): + raise ContractError("prototype_material_scope") + vt = K_B * T / Q + nc, nv, gap = get("Nc300"), get("Nv300"), get("Eg") + energy = float(defect["distribution"]["center_eV_above_vb"]) + nt = float(defect["distribution"]["total_density_m3"]) + kinetics = defect["kinetics"] + cn = float(kinetics["sigma_n_m2"]) * float(kinetics["thermal_velocity_n_m_s"]) + cp = float(kinetics["sigma_p_m2"]) * float(kinetics["thermal_velocity_p_m_s"]) + n1, p1 = nc * math.exp(-(gap - energy) / vt), nv * math.exp(-energy / vt) + ni2 = nc * nv * math.exp(-gap / vt) + ni = math.sqrt(ni2) + + def occupancy(n: float, p: float) -> float: + return (cn * n + cp * p1) / (cn * (n + n1) + cp * (p + p1)) + + def neutrality(u: float) -> float: + n, p = ni * math.exp(u), ni * math.exp(-u) + return (p - n - nt * occupancy(n, p)) / nt + + u = brentq(neutrality, -100.0, 100.0, xtol=2e-14, + rtol=4 * np.finfo(float).eps, maxiter=256) if dynamic else 0.0 + ne, pe = ni * math.exp(u), ni * math.exp(-u) + a = float(case["model"]["area_m2"] if area is None else area) + if not np.isfinite(a) or a <= 0: + raise ContractError("invalid_device_area") + return cls(case_id, str(path), receipt["sha256"], dynamic, get("thickness"), a, T, + EPS_0 * get("eps_r"), get("mu_n"), get("mu_p"), get("D_ion"), + get("P0"), get("P_lim"), nt, cn, cp, n1, p1, ni2, ni, ne, pe, + occupancy(ne, pe), get("alpha"), float(case["photon_flux_m2_s"])) + + +@dataclass(frozen=True) +class ProtocolSegment: + id: str + start: float + end: float + voltage: tuple[float, float] + photons: tuple[float, float] + + def inputs(self, time: float) -> tuple[np.ndarray, np.ndarray]: + if not np.isfinite(time) or time < self.start or time > self.end: + raise ContractError("time_outside_frozen_segment") + start = np.array([self.voltage[0], self.photons[0]]) + end = np.array([self.voltage[1], self.photons[1]]) + rate = (end - start) / (self.end - self.start) + if time == self.start: + return frozen_array(start), frozen_array(rate) + if time == self.end: + return frozen_array(end), frozen_array(rate) + return frozen_array(start + rate * (time - self.start)), frozen_array(rate) + + +def protocol_from_plan(plan_path: Path, case_id: str) -> tuple[ProtocolSegment, ...]: + case = next(c for c in json.loads(plan_path.read_text())["cases"] if c["id"] == case_id) + result = tuple(ProtocolSegment(s["id"], float(s["start_s"]), float(s["end_s"]), + tuple(s["voltage_V"]), tuple(s["Phi_m2_s"])) + for s in case["protocol"]["segments"]) + if (not result or result[0].start != 0 or any(s.end <= s.start for s in result) + or any(a.end != b.start or a.voltage[1] != b.voltage[0] + or a.photons[1] != b.photons[0] for a, b in zip(result, result[1:]))): + raise ContractError("invalid_frozen_protocol") + return result + + +def bernoulli_with_derivative(x: np.ndarray) -> tuple[np.ndarray, np.ndarray]: + x = np.asarray(x, float) + if not np.isfinite(x).all(): + raise ContractError("nonfinite_bernoulli_argument") + z = np.abs(x) + b, derivative = np.empty_like(z), np.empty_like(z) + small = z <= 0.05 + u = z[small] + b[small] = 1 - u/2 + u**2/12 - u**4/720 + u**6/30240 - u**8/1209600 + u**10/47900160 + derivative[small] = -0.5 + u/6 - u**3/180 + u**5/5040 - u**7/151200 + u**9/4790016 + u = z[~small] + exponential, denominator = np.exp(-u), -np.expm1(-u) + b[~small] = u * exponential / denominator + derivative[~small] = exponential * (denominator - u) / denominator**2 + negative = x < 0 + b[negative] += z[negative] + derivative[negative] = -derivative[negative] - 1 + return b, derivative + + +@dataclass(frozen=True) +class DeviceEvaluation(ImmutableArrays): + rate: np.ndarray + algebraic: np.ndarray + nodal_rates: Mapping[str, np.ndarray] + nodal_derivatives: Mapping[tuple[str, str], csr_matrix] + nodal_input: Mapping[str, np.ndarray] + rate_jacobian: csr_matrix | None + input_jacobian: np.ndarray + charge_density: np.ndarray + displacement: np.ndarray + electron_current: np.ndarray + hole_current: np.ndarray + ion_flux: np.ndarray + reaction_n: np.ndarray + reaction_p: np.ndarray + + +@dataclass(frozen=True) +class DeviceObservation(ImmutableArrays): + point: Point + derivative: np.ndarray + input_rate: np.ndarray + origin: str + ports: PortSample + body_charge: float + body_charge_rate: float + gauss_defect: float + tangent_residual: np.ndarray + interior_total_current: np.ndarray + + def __post_init__(self) -> None: + if self.origin not in {"native", "interpolant", "physical_tangent", "algebraic_probe", + "stop_output", "endpoint_restore", "segment_initial"}: + raise ContractError("unknown_derivative_origin") + for name in ["derivative", "input_rate", "tangent_residual", "interior_total_current"]: + object.__setattr__(self, name, frozen_array(getattr(self, name))) + if self.derivative.shape != self.point.y.shape or self.input_rate.shape != self.point.inputs.shape: + raise ContractError("observation_rate_shape") + + +class CoupledSlab: + """One source-defined model, sparse physical operator and exterior ledger.""" + + def __init__(self, definition: SlabDefinition, intervals: int = 8): + if type(intervals) is not int or intervals < 4 or intervals > 256: + raise ContractError("prototype_grid_scope") + self.definition, self.intervals, self.count = definition, intervals, intervals + 1 + m, N = definition, self.count + x = m.length * (1 + np.tanh(3*np.linspace(-1, 1, N))/np.tanh(3)) / 2 + edges = np.r_[0.0, (x[1:] + x[:-1])/2, m.length] + self.x, self.edges, self.dx = map(frozen_array, [x, edges, np.diff(x)]) + self.geometry = Geometry(m.area*np.diff(edges), np.column_stack((np.arange(N-1), np.arange(1, N))), + np.full(N-1, m.area)) + self.absorption = frozen_array(m.area*np.exp(-m.alpha*edges[:-1]) * (-np.expm1(-m.alpha*np.diff(edges)))) + self.interior = np.arange(1, N-1) + density = PARTICLE/VOLUME + supports = (Support("nodes", "cell", (N,)), Support("interior", "cell", (N-2,)), + Support("faces", "face", (N-1,)), Support("contacts", "global", (2,))) + variables = [VariableSpec("n_m3", "carriers", "nodes", (N,), density, lower=0), + VariableSpec("p_m3", "carriers", "nodes", (N,), density, lower=0), + VariableSpec("phi_V", "electrostatics", "nodes", (N,), VOLT, role="constraint")] + equations = [EquationSpec("a_n", "carriers", "interior", (N-2,), PARTICLE/SECOND, + derivative_support=("n_m3", "phi_V", "f" if m.dynamic else "p_m3")), + EquationSpec("b_p", "carriers", "interior", (N-2,), PARTICLE/SECOND, + derivative_support=("p_m3", "phi_V", "f" if m.dynamic else "n_m3"))] + self.rate_fields = [("a_n", "n_m3", self.interior), ("b_p", "p_m3", self.interior)] + if m.dynamic: + variables += [VariableSpec("c_m3", "ions", "nodes", (N,), density, lower=0, upper=m.ion_capacity), + VariableSpec("f", "traps", "nodes", (N,), ONE, lower=0, upper=1)] + equations += [EquationSpec("c_ion", "ions", "nodes", (N,), PARTICLE/SECOND, derivative_support=("c_m3", "phi_V")), + EquationSpec("d_trap", "traps", "nodes", (N,), PARTICLE/SECOND, derivative_support=("n_m3", "p_m3", "f"))] + self.rate_fields += [("c_ion", "c_m3", np.arange(N)), ("d_trap", "f", np.arange(N))] + equations += [EquationSpec("x_poisson", "electrostatics", "interior", (N-2,), COULOMB, role="constraint", + derivative_support=tuple(v.id for v in variables)), + EquationSpec("y_phi_contact", "contacts", "contacts", (2,), VOLT, role="constraint", derivative_support=("phi_V",)), + EquationSpec("z_n_contact", "contacts", "contacts", (2,), density, role="constraint", derivative_support=("n_m3",)), + EquationSpec("zz_p_contact", "contacts", "contacts", (2,), density, role="constraint", derivative_support=("p_m3",))] + self.layout = Layout(supports, tuple(variables), tuple(equations)) + self.coordinates = LinearCoordinates(self.layout, "physical-si-v1:"+digest( + {"definition": m.identity, "grid_hex": [float(v).hex() for v in x]})) + self.ports = (TerminalPort("left", -1, m.area), TerminalPort("right", 1, m.area)) + self.dynamic_count = sum(len(nodes) for _, _, nodes in self.rate_fields) + self.topology = digest({"definition": m.identity, "x_hex": [float(v).hex() for v in x], + "area_hex": m.area.hex(), "layout": self.layout.identity}) + self.source_identity = digest({"definition": m.identity, "topology": self.topology, + "kernel_sha256": sha256(Path(__file__).read_bytes()).hexdigest(), + "linear_arithmetic": _linear_arithmetic_identity()}) + self.supports = self._supports() + self.graph = SparseGraph(self.layout, self.supports, topology_identity=self.topology) + mass_rows, mass_cols, mass_values = [], [], [] + for eq, var, nodes in self.rate_fields: + rows = np.arange(len(nodes)) + self.graph.row_offsets[eq].start + mass_rows.extend(rows); mass_cols.extend(self.layout.offsets[var].start + nodes) + mass_values.extend(self.geometry.volumes[nodes] * (m.trap_density if var == "f" else 1)) + self.mass = coo_matrix((mass_values, (mass_rows, mass_cols)), shape=self.graph.shape).tocsc() + self.dynamic_mass = self.mass[:self.dynamic_count].tocsr() + self.G, self.Ga, self.g_constant = self._constraints() + phi_columns = np.arange(self.layout.offsets["phi_V"].start, self.layout.offsets["phi_V"].stop) + # Interior Poisson + two Dirichlet rows; the same constant factor is + # used for finite-g estimates and tangent rates, never state projection. + self.phi_constraint_count = N + self.phi_factor = factorize(self.G[:N, phi_columns].tocsc()) + self.factorizations = 1 + self.S, self.Drow = self._scales() + + def _supports(self) -> tuple[TermSupport, ...]: + N, m = self.count, self.definition + eqs = {e.id: e for e in self.layout.equations} + varspec = {v.id: v for v in self.layout.variables} + terms = [] + for eq in self.layout.equations: + nodes = self.interior if eq.id in {"a_n", "b_p", "x_poisson"} else np.arange(N) + if eq.id in {"y_phi_contact", "z_n_contact", "zz_p_contact"}: + nodes = np.array([0, N-1]) + for var in eq.derivative_support: + adjacent = ((eq.id == "a_n" and var in {"n_m3", "phi_V"}) + or (eq.id == "b_p" and var in {"p_m3", "phi_V"}) + or eq.id == "c_ion" or (eq.id == "x_poisson" and var == "phi_V")) + pairs = [(row, col) for row, node in enumerate(nodes) + for col in (range(max(0, node-1), min(N, node+2)) if adjacent else [node])] + terms.append(TermSupport(eq.id+":"+var, eq.owner, eq.id, var, + np.asarray(pairs, dtype=int), + kind="port" if "contact" in eq.id else "local", + unit=eq.unit/varspec[var].unit)) + return tuple(terms) + + def _constraints(self) -> tuple[csr_matrix, np.ndarray, np.ndarray]: + m, N, k = self.definition, self.count, self.dynamic_count + rows, columns, values = [], [], [] + def add(row, var, node, value): + rows.append(row); columns.append(self.layout.offsets[var].start+node); values.append(value) + for row, i in enumerate(self.interior): + a, b = m.area*m.epsilon/self.dx[i-1], m.area*m.epsilon/self.dx[i] + for node, value in [(i-1, -a), (i, a+b), (i+1, -b)]: add(row, "phi_V", node, value) + add(row, "n_m3", i, Q*self.geometry.volumes[i]) + add(row, "p_m3", i, -Q*self.geometry.volumes[i]) + if m.dynamic: + add(row, "c_m3", i, -Q*self.geometry.volumes[i]) + add(row, "f", i, Q*self.geometry.volumes[i]*m.trap_density) + q = N-2 + for var, offset in [("phi_V", q), ("n_m3", q+2), ("p_m3", q+4)]: + add(offset, var, 0, 1.0); add(offset+1, var, N-1, 1.0) + matrix = coo_matrix((values, (rows, columns)), shape=(self.layout.size-k, self.layout.size)).tocsr() + a = np.zeros((matrix.shape[0], 2)); a[q+1, 0] = 1 + constant = np.zeros(matrix.shape[0]); constant[q+2:q+4] = -m.n_eq; constant[q+4:q+6] = -m.p_eq + if m.dynamic: constant[:q] = Q*self.geometry.volumes[self.interior]*m.ion_initial + return matrix, frozen_array(a), frozen_array(constant) + + def _scales(self) -> tuple[np.ndarray, np.ndarray]: + m = self.definition + columns = np.ones(self.layout.size) + for name, scale in [("n_m3", m.ni), ("p_m3", m.ni), ("phi_V", m.vt)]: columns[self.layout.offsets[name]] = scale + if m.dynamic: columns[self.layout.offsets["c_m3"]] = m.ion_initial + rows = np.ones(self.layout.size) + for eq, var, nodes in self.rate_fields: + if var in {"n_m3", "p_m3"}: + tau = m.length**2/((m.mu_n if var == "n_m3" else m.mu_p)*m.vt) + reference = self.geometry.volumes[nodes]*m.ni/tau + elif var == "c_m3": reference = self.geometry.volumes[nodes]*m.ion_initial/(m.length**2/m.diffusion_ion) + else: + relaxation = m.capture_n*(m.n_eq+m.n1)+m.capture_p*(m.p_eq+m.p1) + reference = self.geometry.volumes[nodes]*m.trap_density*relaxation + rows[self.graph.row_offsets[eq]] = 1/reference + rows[self.graph.row_offsets["x_poisson"]] = 1/(m.area*m.epsilon*m.vt/m.length) + rows[self.graph.row_offsets["y_phi_contact"]] = 1/m.vt + rows[self.graph.row_offsets["z_n_contact"]] = 1/m.n_eq + rows[self.graph.row_offsets["zz_p_contact"]] = 1/m.p_eq + return frozen_array(columns), frozen_array(rows) + + def point(self, fields: Mapping[str, np.ndarray], time: float = 0.0, + inputs=(0.0, 0.0)) -> Point: + if set(fields) != set(self.layout.offsets): raise ContractError("device_state_fields_mismatch") + values = np.concatenate([np.asarray(fields[v.id], float) for v in self.layout.variables]) + point = self.coordinates.point(values, time, inputs) + self.validate(point) + return point + + def initial(self) -> Point: + m, N = self.definition, self.count + fields = {"n_m3": np.full(N, m.n_eq), "p_m3": np.full(N, m.p_eq), "phi_V": np.zeros(N)} + if m.dynamic: fields.update(c_m3=np.full(N, m.ion_initial), f=np.full(N, m.f_eq)) + return self.point(fields) + + def field(self, point: Point, name: str) -> np.ndarray: + value = point.state.field(name) + if not isinstance(value, FloatArray): raise ContractError("product_kernel_requires_explicit_float_physical_state") + return value.values + + def validate(self, point: Point) -> None: + if point.state.layout.identity != self.layout.identity or point.coordinate_reference != self.coordinates.reference or point.inputs.shape != (2,): + raise ContractError("device_point_binding_mismatch") + if point.inputs[1] < 0: raise ContractError("negative_photon_flux") + if any(not np.array_equal(self.field(point, v.id), point.y[self.layout.offsets[v.id]]) + for v in self.layout.variables): + raise ContractError("physical_point_coordinate_state_mismatch") + for name in ["n_m3", "p_m3"]: + if np.any(self.field(point, name) <= 0): raise ContractError("nonpositive_active_carrier") + if self.definition.dynamic: + c, f = self.field(point, "c_m3"), self.field(point, "f") + if np.any(c < 0) or np.any(c >= self.definition.ion_capacity): raise ContractError("ion_outside_smooth_physical_domain") + if np.any(f < 0) or np.any(f > 1): raise ContractError("trap_outside_physical_domain") + + def evaluate(self, point: Point, *, derivatives: bool = False) -> DeviceEvaluation: + self.validate(point) + m, N, volume = self.definition, self.count, self.geometry.volumes + n, p, phi = (self.field(point, v) for v in ["n_m3", "p_m3", "phi_V"]) + xi = np.diff(phi)/m.vt + b, bp = bernoulli_with_derivative(xi) + pref_n, pref_p = m.mu_n*m.vt/self.dx, m.mu_p*m.vt/self.dx + jn = Q*pref_n*(b*np.diff(n)-xi*n[:-1]) + jp = Q*pref_p*(-b*np.diff(p)-xi*p[1:]) + flows = {"n_m3": -jn/Q, "p_m3": jp/Q} + flow_derivatives = { + "n_m3": {"n_m3": (pref_n*(b+xi), -pref_n*b), + "phi_V": (pref_n*(bp*np.diff(n)-n[:-1])/m.vt, -pref_n*(bp*np.diff(n)-n[:-1])/m.vt)}, + "p_m3": {"p_m3": (pref_p*b, -pref_p*(b+xi)), + "phi_V": (-pref_p*(-bp*np.diff(p)-p[1:])/m.vt, pref_p*(-bp*np.diff(p)-p[1:])/m.vt)}, + } + if m.dynamic: + c, f = self.field(point, "c_m3"), self.field(point, "f") + chemical = -np.log1p(-c/m.ion_capacity) + xi_ion = xi + np.diff(chemical) + bi, bip = bernoulli_with_derivative(xi_ion) + pref = m.diffusion_ion/self.dx + fi = pref*(bi*(c[:-1]-c[1:])-xi_ion*c[1:]) + drive_derivative = pref*(bip*(c[:-1]-c[1:])-c[1:]) + flows["c_m3"] = fi + flow_derivatives["c_m3"] = { + "c_m3": (pref*bi-drive_derivative/(m.ion_capacity-c[:-1]), + -pref*(bi+xi_ion)+drive_derivative/(m.ion_capacity-c[1:])), + "phi_V": (-drive_derivative/m.vt, drive_derivative/m.vt)} + rn = m.capture_n*(n*(1-f)-m.n1*f) + rp = m.capture_p*(p*f-m.p1*(1-f)) + derivatives_n = {"n_m3": m.capture_n*(1-f), "f": -m.capture_n*(n+m.n1)} + derivatives_p = {"p_m3": m.capture_p*f, "f": m.capture_p*(p+m.p1)} + else: + c, fi = np.zeros(N), np.zeros(N-1) + relaxation = m.capture_n*(n+m.n1)+m.capture_p*(p+m.p1) + f = (m.capture_n*n+m.capture_p*m.p1)/relaxation + per_trap = m.capture_n*m.capture_p*(n*p-m.n1*m.p1)/relaxation + rn, rp = per_trap, per_trap + derivatives_n = {"n_m3": m.capture_n*m.capture_p*p/relaxation-per_trap*m.capture_n/relaxation, + "p_m3": m.capture_n*m.capture_p*n/relaxation-per_trap*m.capture_p/relaxation} + derivatives_p = derivatives_n + rates = {var: np.zeros(N) for _, var, _ in self.rate_fields} + derivative_entries: dict[tuple[str, str], list] = {} + def add(var, against, row, col, value): + if not derivatives: + return + derivative_entries.setdefault((var, against), [[], [], []]) + storage = derivative_entries[(var, against)] + storage[0].append(row); storage[1].append(col); storage[2].append(value) + for var, flux in flows.items(): + rates[var][:-1] -= m.area*flux; rates[var][1:] += m.area*flux + for against, (left, right) in (flow_derivatives[var].items() if derivatives else ()): + for face in range(N-1): + for node, sign in [(face, -1), (face+1, 1)]: + add(var, against, node, face, sign*m.area*left[face]) + add(var, against, node, face+1, sign*m.area*right[face]) + generation = point.inputs[1]*self.absorption + rates["n_m3"] += generation-volume*m.trap_density*rn + rates["p_m3"] += generation-volume*m.trap_density*rp + for var, partials in ([("n_m3", derivatives_n), ("p_m3", derivatives_p)] if derivatives else ()): + for against, value in partials.items(): + for i in range(N): add(var, against, i, i, -volume[i]*m.trap_density*value[i]) + if m.dynamic: + rates["f"] = volume*m.trap_density*(rn-rp) + for against in ({**derivatives_n, **derivatives_p} if derivatives else ()): + value = np.asarray(derivatives_n.get(against, np.zeros(N)))-np.asarray(derivatives_p.get(against, np.zeros(N))) + for i in range(N): add("f", against, i, i, volume[i]*m.trap_density*value[i]) + nodal_jac = {key: coo_matrix((v[2], (v[0], v[1])), shape=(N, N)).tocsr() + for key, v in derivative_entries.items()} + ra_nodal = {var: np.column_stack((np.zeros(N), self.absorption if var in {"n_m3", "p_m3"} else np.zeros(N))) + for var in rates} + blocks = [] + for eq, var, nodes in (self.rate_fields if derivatives else ()): + blocks.append(hstack([nodal_jac.get((var, v.id), csr_matrix((N, N)))[nodes] + for v in self.layout.variables], format="csr")) + rate = np.concatenate([rates[var][nodes] for _, var, nodes in self.rate_fields]) + ra = np.vstack([ra_nodal[var][nodes] for _, var, nodes in self.rate_fields]) + charge = Q*(p-n+(c-m.ion_initial-m.trap_density*f if m.dynamic else 0)) + displacement = -m.epsilon*np.diff(phi)/self.dx + g = self.G @ point.y + self.Ga @ point.inputs + self.g_constant + return DeviceEvaluation(frozen_array(rate), frozen_array(g), + MappingProxyType({k: frozen_array(v) for k, v in rates.items()}), + MappingProxyType(nodal_jac), MappingProxyType({k: frozen_array(v) for k, v in ra_nodal.items()}), + vstack(blocks, format="csr") if derivatives else None, frozen_array(ra), frozen_array(charge), + frozen_array(displacement), frozen_array(jn), frozen_array(jp), frozen_array(fi), + frozen_array(rn), frozen_array(rp)) + + def sparse_jacobian(self, point: Point, cj: float) -> csc_matrix: + if not np.isfinite(cj): raise ContractError("nonfinite_cj") + evaluation = self.evaluate(point, derivatives=True) + full = vstack((-evaluation.rate_jacobian, self.G), format="csr") + cj*self.mass + return self._assemble_declared(full) + + def _assemble_declared(self, full) -> csc_matrix: + """Fill the public term graph, including every declared zero slot.""" + values = {} + for term in self.supports: + rows = term.pairs[:, 0]+self.graph.row_offsets[term.equation].start + cols = term.pairs[:, 1]+self.layout.offsets[term.variable].start + values[term.id] = np.asarray(full[rows, cols]).ravel() + return self.graph.assemble(values, supports=self.supports, topology_identity=self.topology) + + def residual(self, point: Point, derivative: np.ndarray, input_rate: np.ndarray) -> np.ndarray: + if np.asarray(derivative).shape != point.y.shape or np.asarray(input_rate).shape != (2,): + raise ContractError("device_rate_shape") + derivative, input_rate = frozen_array(derivative), frozen_array(input_rate) + e = self.evaluate(point) + return np.r_[self.dynamic_mass @ derivative-e.rate, e.algebraic] + + def common_system(self) -> ImplicitSystem: + if self.intervals != 8 or self.layout.size > 45: + raise ContractError("dense_common_bridge_limited_to_N8") + def terms(point): + e = self.evaluate(point, derivatives=True) + return BalanceTerms(e.rate, e.algebraic, e.rate_jacobian.toarray(), e.input_jacobian, + np.zeros(self.dynamic_count), self.G.toarray(), self.Ga, + np.zeros(self.G.shape[0])) + return ImplicitSystem(LinearStorage(self.dynamic_mass.toarray(), self.coordinates.reference), terms) + + def public_problem(self): + """Consumer of the shared cheap-residual/analytic-sparse contract. + + This adapter requires the reviewed shared API. It does not synthesize + a fallback protocol or call the N8 dense convenience implementation. + """ + from scripts.benchmarks.contract_prototype import ( + PhysicalStorage, SparseLinearization, SparseStructure, ValidatedProblem, + ) + structure = SparseStructure.from_graph(self.graph) + units = tuple(e.unit*SECOND for e in self.layout.equations if e.role == "storage" + for _ in range(int(np.prod(e.shape)))) + storage = PhysicalStorage(self.storage_value, self.storage_delta, units, self.source_identity) + def linearize(point, ydot, adot): + # Q is linear in the physical SI coordinates for these two cases. + # Consequently Fy has no ydot/adot dependence, and Fadot/Ft=0. + e = self.evaluate(point, derivatives=True) + fy = self._assemble_declared(vstack((-e.rate_jacobian, self.G), format="csr")) + fydot = self._assemble_declared(self.mass.tocsr()) + fa = np.vstack((-e.input_jacobian, self.Ga)) + return SparseLinearization(fy, fydot, fa, np.zeros_like(fa), + np.zeros(self.layout.size), structure, self.source_identity) + return ValidatedProblem(self.layout, 2, self.dynamic_count, storage, structure, + self.source_identity, self.residual, linearize, + self.conservative_residual, self.conservative_jacobian, + point_validator=self.validate) + + def storage_value(self, point: Point) -> np.ndarray: + self.validate(point) + return frozen_array(self.dynamic_mass @ point.y) + + def storage_delta(self, left: Point, right: Point, increment: StateIncrement) -> np.ndarray: + increment.validate(left, right) + self.validate(left); self.validate(right) + fields = [increment.field(v.id) for v in self.layout.variables] + if any(not isinstance(v, FloatArray) for v in fields): + raise ContractError("product_storage_requires_explicit_float_increment") + return frozen_array(self.dynamic_mass @ np.concatenate([v.values for v in fields])) + + def conservative_residual(self, left: Point, right: Point, increment: StateIncrement) -> np.ndarray: + if right.time <= left.time: raise ContractError("nonpositive_physical_interval") + e = self.evaluate(right) + return frozen_array(np.r_[self.storage_delta(left, right, increment)-(right.time-left.time)*e.rate, e.algebraic]) + + def conservative_jacobian(self, left: Point, right: Point) -> csc_matrix: + h = right.time-left.time + if h <= 0: raise ContractError("nonpositive_physical_interval") + matrix = self.sparse_jacobian(right, 1/h) + factors = np.r_[np.full(self.dynamic_count, h), np.ones(self.G.shape[0])] + return csc_matrix((matrix.data*factors[matrix.indices], matrix.indices.copy(), matrix.indptr.copy()), + shape=matrix.shape) + + def tangent_rate(self, point: Point, input_rate: np.ndarray) -> np.ndarray: + """Separately named estimate at unchanged state; never a native rate.""" + rate = frozen_array(input_rate) + if rate.shape != (2,): raise ContractError("device_input_rate_shape") + e, result = self.evaluate(point), np.zeros(self.layout.size) + for eq, var, nodes in self.rate_fields: + coefficient = self.geometry.volumes[nodes]*(self.definition.trap_density if var == "f" else 1) + result[self.layout.offsets[var].start+nodes] = e.rate[self.graph.row_offsets[eq]]/coefficient + forcing = -(self.G[:self.count] @ result+self.Ga[:self.count] @ rate) + result[self.layout.offsets["phi_V"]] = self.phi_factor.solve(forcing) + return frozen_array(result) + + def observe(self, point: Point, derivative: np.ndarray, input_rate: np.ndarray, + origin: str = "algebraic_probe", side: str = "continuous") -> DeviceObservation: + e, m, volume = self.evaluate(point), self.definition, self.geometry.volumes + derivative, input_rate = frozen_array(derivative), frozen_array(input_rate) + if derivative.shape != point.y.shape or input_rate.shape != (2,): raise ContractError("device_rate_shape") + rates = {v.id: derivative[self.layout.offsets[v.id]] for v in self.layout.variables} + rho_dot = Q*(rates["p_m3"]-rates["n_m3"] + + (rates["c_m3"]-m.trap_density*rates["f"] if m.dynamic else 0)) + d_dot = -m.epsilon*np.diff(rates["phi_V"])/self.dx + end = np.array([0, self.count-1]); widths = volume[end]/m.area + d_outer = np.array([e.displacement[0]-e.charge_density[0]*widths[0], + e.displacement[-1]+e.charge_density[-1]*widths[1]]) + dd_outer = np.array([d_dot[0]-rho_dot[0]*widths[0], d_dot[-1]+rho_dot[-1]*widths[1]]) + # Endpoint reservoir exchange is a particle balance on the half cell. + exchange_n = volume[end]*rates["n_m3"][end]-e.nodal_rates["n_m3"][end] + exchange_p = volume[end]*rates["p_m3"][end]-e.nodal_rates["p_m3"][end] + inward_conduction = Q*(exchange_p-exchange_n) + jc = np.array([inward_conduction[0]/m.area, -inward_conduction[1]/m.area]) + charges = np.array([float(p.charge(d_outer[i])) for i, p in enumerate(self.ports)]) + total = np.array([float(p.current(jc[i], dd_outer[i])) for i, p in enumerate(self.ports)]) + sample = PortSample(point.time, point.inputs[0], input_rate[0], charges, inward_conduction, total, side) + body = float(volume @ e.charge_density) + return DeviceObservation(point, derivative, input_rate, origin, sample, body, + float(volume @ rho_dot), float(body+sum(charges)), + self.G @ derivative+self.Ga @ input_rate, + e.electron_current+e.hole_current+Q*e.ion_flux+d_dot) + + def affine_constraint_error(self, point: Point) -> dict: + """Exact linear defect estimator; returns evidence, never changes state.""" + e = self.evaluate(point) + delta_phi = self.phi_factor.solve(-e.algebraic[:self.count]) + induced_D = -self.definition.epsilon*np.diff(delta_phi)/self.dx + # Ideal carrier constraints involve only the two endpoint populations. + # Their correction does not enter an interior Poisson row, but it does + # enter the endpoint half-cell Gauss law and the total body charge. + contact_delta = -e.algebraic[self.count:] + end = np.array([0, self.count-1]) + rho_delta = Q*(contact_delta[2:]-contact_delta[:2]) + widths = self.geometry.volumes[end]/self.definition.area + charges = self.definition.area*np.array([ + induced_D[0]-rho_delta[0]*widths[0], + -induced_D[-1]-rho_delta[1]*widths[1]]) + body_delta = float(self.geometry.volumes[end] @ rho_delta) + return {"point_identity": point.identity, "state_changed": False, + "potential_error_bound_V": float(np.max(np.abs(delta_phi))), + "metal_charge_error_bound_C": np.abs(charges).tolist(), + "body_charge_error_bound_C": abs(body_delta), + "potential_correction_V": delta_phi.tolist(), + "contact_density_correction_m3": contact_delta.tolist(), + "metal_charge_correction_C": charges.tolist(), + "body_charge_correction_C": body_delta, + "preserves_differential_storage": True, + "linear_solve_residual": float(np.max(np.abs(self.G[:self.count, self.layout.offsets['phi_V']] @ delta_phi+e.algebraic[:self.count]))), + "contact_density_residual_m3": e.algebraic[self.count:].tolist(), + "Poisson_constraint_charge_C": e.algebraic[:self.count-2].tolist(), + "factorizations": self.factorizations, "nonlinear_remainder": 0.0, + "acceptance_awarded": False} + + def port_partials(self, point: Point) -> dict[str, csr_matrix | np.ndarray]: + """Actual exterior charge/current derivatives, including half cells.""" + m, N, size = self.definition, self.count, self.layout.size + e = self.evaluate(point, derivatives=True) + end = np.array([0, N-1]) + derivative_rows = [] + for var in ["n_m3", "p_m3"]: + derivative_rows.append(hstack([e.nodal_derivatives.get((var, v.id), csr_matrix((N, N)))[end] + for v in self.layout.variables], format="csr")) + conduction_y = Q*(derivative_rows[0]-derivative_rows[1]) + rows, cols, vals = [], [], [] + for row, node in enumerate(end): + for var, sign in [("n_m3", -1), ("p_m3", 1)]: + rows.append(row); cols.append(self.layout.offsets[var].start+node) + vals.append(Q*sign*self.geometry.volumes[node]) + conduction_rate = coo_matrix((vals, (rows, cols)), shape=(2, size)).tocsr() + rows, cols, vals = [], [], [] + for row, (i, j) in enumerate([(0, 1), (N-2, N-1)]): + for node, sign in [(i, 1), (j, -1)]: + rows.append(row); cols.append(self.layout.offsets["phi_V"].start+node) + vals.append(sign*m.epsilon/self.dx[i]) + node, half_sign = (0, -1) if row == 0 else (N-1, 1) + width = self.geometry.volumes[node]/m.area + for var, sign in [("n_m3", -1), ("p_m3", 1)]+([("c_m3", 1), ("f", -m.trap_density)] if m.dynamic else []): + rows.append(row); cols.append(self.layout.offsets[var].start+node) + vals.append(half_sign*width*Q*sign) + displacement_y = coo_matrix((vals, (rows, cols)), shape=(2, size)).tocsr() + charge_y = diags([m.area, -m.area]) @ displacement_y + body_y = np.zeros(size) + for var, sign in [("n_m3", -1), ("p_m3", 1)]+([("c_m3", 1), ("f", -m.trap_density)] if m.dynamic else []): + body_y[self.layout.offsets[var]] = Q*sign*self.geometry.volumes + return {"charge_y": charge_y.tocsr(), "conduction_y": conduction_y, + "conduction_ydot": conduction_rate, "current_y": conduction_y, + "current_ydot": (conduction_rate+charge_y).tocsr(), + "body_y": frozen_array(body_y), "current_inputs": np.zeros((2, 2)), + "current_input_rates": np.zeros((2, 2))} + + def numeric_packet(self) -> dict: + initial = self.initial() + return {"definition": asdict(self.definition), "definition_identity": self.definition.identity, + "intervals": self.intervals, "nodes": self.count, "x_m": self.x.tolist(), + "cell_edges_m": self.edges.tolist(), "volumes_m3": self.geometry.volumes.tolist(), + "face_areas_m2": self.geometry.face_measures.tolist(), "layout_identity": self.layout.identity, + "variable_offsets": {k: [v.start, v.stop] for k, v in self.layout.offsets.items()}, + "equation_offsets": {k: [v.start, v.stop] for k, v in self.graph.row_offsets.items()}, + "initial_y_physical": initial.y.tolist(), "initial_identity": initial.identity, + "column_scaling": self.S.tolist(), "row_scaling": self.Drow.tolist(), + "sparse_graph_identity": self.graph.identity, "sparse_nnz": self.graph.nnz, + "sparse_edges": self.graph.edges().tolist(), "mass_diagonal_entries": self.mass.data.tolist(), + "mass_rows": self.mass.tocoo().row.tolist(), "mass_columns": self.mass.tocoo().col.tolist()} + + +@dataclass(frozen=True) +class AffineDeviceEvaluation: + """Values retain explicit precision; sparse derivatives use binary64.""" + + rate: object + algebraic: object + nodal_rates: Mapping[str, object] + nodal_derivatives: Mapping[tuple[str, str], csr_matrix] + nodal_input: Mapping[str, np.ndarray] + rate_jacobian: csr_matrix | None + input_jacobian: np.ndarray + charge_density: object + displacement: object + electron_current: object + hole_current: object + ion_flux: object + ion_exterior_flux: object + reaction_n: object + reaction_p: object + reference_reaction_n: object + reference_reaction_p: object + reaction_change_n: object + reaction_change_p: object + linear_actions: Mapping[str, object] + + +@dataclass(frozen=True) +class AffineDeviceObservation: + """Physical rates and port values, before an explicit float output.""" + + point: Point + derivative: object + input_rate: np.ndarray + origin: str + event_side: str + metal_charge: object + conduction_inward: object + total_inward: object + body_charge: object + body_charge_rate: object + gauss_defect: object + tangent_residual: np.ndarray + interior_total_current: object + charge_integrands: object + linear_actions: Mapping[str, object] + + +@dataclass(frozen=True) +class AffinePointEvaluation: + """One read-only value evaluation bound to its exact immutable Point.""" + + point: Point + source_identity: str + values: AffineDeviceEvaluation + + def __post_init__(self): + # The value-only path has frozen DD/NumPy arrays and mapping proxies; + # no mutable sparse derivative object is shared between consumers. + if self.values.rate_jacobian is not None or self.values.nodal_derivatives: + raise ContractError("observation_evaluation_must_be_value_only") + if self.values.input_jacobian.flags.writeable or any( + value.flags.writeable for value in self.values.nodal_input.values()): + raise ContractError("observation_evaluation_must_be_readonly") + + +class AffineCoupledSlab(CoupledSlab): + """The same two physical models, with one fixed original reference. + + Point.y contains physical SI remainders; StateView contains the physical + populations generated from the immutable reference and named primitives. + The mass matrix is unchanged. No evaluated state becomes a new reference, + and finite reference charge/capture residuals are never zeroed. + + The public fixed-reference trial builder must be provided by the shared + precision contract. There is deliberately no private trial-state fallback. + """ + + def __init__(self, definition: SlabDefinition, intervals: int = 8): + from scripts.benchmarks.contract_prototype import StateView + from scripts.benchmarks.precision_prototype import DoubleArithmetic, DoubleArray, RelativeCoordinates + + super().__init__(definition, intervals) + self.arithmetic = DoubleArithmetic() + m, N = self.definition, self.count + fields = {"n_m3": DoubleArray(np.full(N, m.n_eq)), + "p_m3": DoubleArray(np.full(N, m.p_eq)), + "phi_V": DoubleArray(np.zeros(N))} + if m.dynamic: + fields.update(c_m3=DoubleArray(np.full(N, m.ion_initial)), + f=DoubleArray(np.full(N, m.f_eq))) + self.coordinates = RelativeCoordinates(self.layout, {v.id: "linear" for v in self.layout.variables}) + self.reference = self.coordinates.initial(StateView(self.layout, fields.items()), + inputs=(0.0, 0.0)) + self.source_identity = digest({ + "physical_kernel": self.source_identity, + "representation": "fixed-original-physical-reference-v1", + "reference": self.reference.identity, + "physical_mass_unchanged": True, + }) + self.face_pairs = self.geometry.pairs + self.linear_forms = MappingProxyType({ + kind: self._physical_forms(kind) for kind in ("state", "increment", "rate") + }) + + def _physical_forms(self, kind): + """Declare the affine physical coefficients, never read rounded J data. + + These small COO descriptions share the public authority-aware action. + Volumes already contain area; only displacement faces receive A. + Every quotient keeps its actual dx as a declared divisor. + """ + m, N, source = self.definition, self.count, self.source_identity + factor = lambda name, value, unit: LinearFactor(name, float(value), unit, source) + q = factor("elementary_charge", Q, COULOMB/PARTICLE) + nt = factor("trap_density", m.trap_density, PARTICLE/VOLUME) + c0 = factor("fixed_ion_background", m.ion_initial, PARTICLE/VOLUME) + eps = factor("permittivity", m.epsilon, COULOMB/VOLT/LENGTH) + area = factor("cross_section", m.area, AREA) + volumes = tuple(factor(f"volume_{i}", v, VOLUME) for i, v in enumerate(self.geometry.volumes)) + spacings = tuple(factor(f"spacing_{i}", d, LENGTH) for i, d in enumerate(self.dx)) + forms = {} + + def form(name, units, terms, sources=()): + units, terms = tuple(units), tuple(terms) + forms[name] = PhysicalLinearForm( + self.layout, tuple(f"{name}_{i}" for i in range(len(units))), + units, terms, source, kind, len(terms), tuple(sources)) + + def charge(row, node, factors=(), sign=1): + terms = [LinearTerm(row, "p_m3", node, (q, *factors), sign), + LinearTerm(row, "n_m3", node, (q, *factors), -sign)] + if m.dynamic: + terms += [LinearTerm(row, "c_m3", node, (q, *factors), sign), + LinearTerm(row, "f", node, (q, *factors, nt), -sign)] + if kind == "state": + terms.append(LinearTerm(row, None, 0, (q, *factors, c0), -sign)) + return terms + + def displacement(row, face, factors=(), sign=1): + return [LinearTerm(row, "phi_V", face, (*factors, eps), sign, spacings[face]), + LinearTerm(row, "phi_V", face+1, (*factors, eps), -sign, spacings[face])] + + def metal(row, side): + node, face, sign = (0, 0, 1) if side == 0 else (N-1, N-2, -1) + return displacement(row, face, (area,), sign)+charge(row, node, (volumes[node],), -1) + + per_time = SECOND if kind == "rate" else ONE + mass = [] + for equation, variable, nodes in self.rate_fields: + for local, node in enumerate(nodes): + row = self.graph.row_offsets[equation].start+local + mass.append(LinearTerm(row, variable, int(node), + (volumes[node], nt) if variable == "f" else (volumes[node],))) + form("storage", [PARTICLE/per_time]*self.dynamic_count, mass) + form("charge_density", [COULOMB/VOLUME/per_time]*N, + [term for i in range(N) for term in charge(i, i)]) + body = [term for i in range(N) for term in charge(0, i, (volumes[i],))] + form("body_charge", [COULOMB/per_time], body) + form("displacement", [COULOMB/AREA/per_time]*(N-1), + [term for i in range(N-1) for term in displacement(i, i)]) + form("metal_charge", [COULOMB/per_time]*2, metal(0, 0)+metal(1, 1)) + form("gauss_defect", [COULOMB/per_time], body+metal(0, 0)+metal(0, 1)) + if m.dynamic: + inventory = [LinearTerm(0, "c_m3", i, (volumes[i],)) for i in range(N)] + form("ion_inventory", [PARTICLE/per_time], inventory) + if kind == "state": + form("ion_inventory_change", [PARTICLE], inventory+[ + LinearTerm(0, None, 0, (volumes[i], c0), -1) for i in range(N)]) + + # The same physical affine constraints apply to states and tangents. + # Inputs are actual Point-bound sources, not an inferred Jacobian row. + if kind in {"state", "rate"}: + contact_source = LinearSourceSpec("applied_contact", "contacts", (2,), VOLT/per_time, source) + terms = [] + for row, i in enumerate(self.interior): + terms += displacement(row, int(i), (area,)) + terms += displacement(row, int(i)-1, (area,), -1) + terms += charge(row, int(i), (volumes[i],), -1) + offset = N-2 + for block, variable in enumerate(("phi_V", "n_m3", "p_m3")): + for side, node in enumerate((0, N-1)): + row = offset+2*block+side + terms.append(LinearTerm(row, variable, node)) + if block == 0: + terms.append(LinearTerm(row, contact_source.id, side)) + elif kind == "state": + eq = factor(variable+"_reservoir", m.n_eq if block == 1 else m.p_eq, PARTICLE/VOLUME) + terms.append(LinearTerm(row, None, 0, (eq,), -1)) + units = [equation.unit/per_time for equation in self.layout.equations + if equation.role == "constraint" for _ in range(int(np.prod(equation.shape)))] + form("constraints", units, terms, (contact_source,)) + + if kind == "rate": + nodal = {variable: LinearSourceSpec("nodal_"+variable, "nodes", (N,), PARTICLE/SECOND, source) + for _, variable, _ in self.rate_fields} + balance = list(mass) + for equation, variable, nodes in self.rate_fields: + balance += [LinearTerm(self.graph.row_offsets[equation].start+j, + nodal[variable].id, int(node), sign=-1) + for j, node in enumerate(nodes)] + form("balance", [PARTICLE/SECOND]*self.dynamic_count, balance, nodal.values()) + + def conduction(row, node): + return [LinearTerm(row, "p_m3", node, (q, volumes[node])), + LinearTerm(row, "n_m3", node, (q, volumes[node]), -1), + LinearTerm(row, nodal["n_m3"].id, node, (q,)), + LinearTerm(row, nodal["p_m3"].id, node, (q,), -1)] + + carrier_sources = (nodal["n_m3"], nodal["p_m3"]) + currents = conduction(0, 0)+conduction(1, N-1) + form("conduction", [COULOMB/SECOND]*2, currents, carrier_sources) + form("total_current", [COULOMB/SECOND]*2, + currents+metal(0, 0)+metal(1, 1), carrier_sources) + form("charge_integrands", [COULOMB/SECOND]*3, + conduction(0, 0)+conduction(0, N-1)+metal(1, 0)+metal(2, 1), carrier_sources) + face_sources = ( + LinearSourceSpec("electron_current", "faces", (N-1,), COULOMB/AREA/SECOND, source), + LinearSourceSpec("hole_current", "faces", (N-1,), COULOMB/AREA/SECOND, source), + LinearSourceSpec("ion_flux", "faces", (N-1,), PARTICLE/AREA/SECOND, source)) + terms = [term for i in range(N-1) for term in ( + *displacement(i, i), LinearTerm(i, "electron_current", i), + LinearTerm(i, "hole_current", i), LinearTerm(i, "ion_flux", i, (q,)))] + form("interior_total_current", [COULOMB/AREA/SECOND]*(N-1), terms, face_sources) + return MappingProxyType(forms) + + def physical_rate_view(self, point, derivative, input_rate): + """Admit full public rates unchanged; retain the old physical-vector path.""" + if isinstance(derivative, RateView): + derivative.validate(point, input_rate, self.source_identity) + return derivative + derivative, input_rate = frozen_array(derivative), frozen_array(input_rate) + if derivative.shape != point.y.shape or input_rate.shape != (2,): + raise ContractError("device_rate_shape") + return RateView(point, FloatArray(derivative), input_rate, + source_identity=self.source_identity, + mapping_identity="physical-si-rate-v1:"+self.source_identity, + origin="physical-rate", raw_coordinates=point.y, raw_rate=derivative) + + def linear_action(self, name, point, *, rate=None, increment=None, left=None, + evaluation=None): + """Dispatch metadata to the public action; no local word arithmetic.""" + from scripts.benchmarks.precision_prototype import DoubleArray + + if rate is not None and increment is not None: + raise ContractError("ambiguous_physical_linear_operand") + kind = "increment" if increment is not None else "rate" if rate is not None else "state" + form = self.linear_forms[kind][name] + entries = [] + values = self.evaluated_values(point, evaluation) if any( + source.id != "applied_contact" for source in form.sources) else None + for spec in form.sources: + if spec.id == "applied_contact": + voltage = rate.input_rate[0] if kind == "rate" else point.inputs[0] + value = DoubleArray([0.0, voltage]) + elif spec.id.startswith("nodal_"): + value = values.nodal_rates[spec.id.removeprefix("nodal_")] + else: + value = getattr(values, spec.id) + entries.append((spec, value)) + sources = BoundLinearSource.bind(point, entries) + if kind == "increment": + return increment.linear_form(left, point, form, arithmetic=self.arithmetic, sources=sources) + if kind == "rate": + rate.validate(point, rate.input_rate, self.source_identity) + return rate.linear_form(form, arithmetic=self.arithmetic, point=point, sources=sources) + return point.state.linear_form(form, arithmetic=self.arithmetic, point=point, sources=sources) + + def initial(self) -> Point: + return self.reference + + def point(self, fields, time=0.0, inputs=(0.0, 0.0)) -> Point: + raise ContractError("affine_device_requires_explicit_reference_trial") + + def trial(self, cumulative_increment, time=0.0, inputs=(0.0, 0.0), *, predecessor=None, + transition_representation="four-word-v1"): + # This original remainder prototype also restores v1affine histories. + # The versioned voltage map explicitly selects paired transitions. + builder = getattr(self.coordinates, "trial", None) + if builder is None: + raise ContractError("public_fixed_reference_trial_unavailable") + return builder(self.reference, cumulative_increment, time, inputs, + predecessor=self.reference if predecessor is None else predecessor, + transition_representation=transition_representation) + + def physical_representation(self, *, gauge_offset_V=0, reference_densities=None, + column_units=None): + """Express this unchanged physical model in an explicit constant chart.""" + from scripts.benchmarks.representation_prototype import PhysicalRepresentation + + return PhysicalRepresentation(self.layout, self.source_identity, self.reference, + potential_field="phi_V", voltage_input=0, right_contact_sign=-1, + gauge_offset_V=gauge_offset_V, reference_densities=reference_densities, + column_units=column_units) + + def field(self, point: Point, name: str): + from scripts.benchmarks.precision_prototype import DoubleArray + + value = point.state.field(name) + if not isinstance(value, DoubleArray): + raise ContractError("affine_device_requires_explicit_precision_state") + return value + + def remainders(self, point: Point) -> Mapping[str, object]: + # Public mapped-field differences contract primitives before projection. + return MappingProxyType({ + v.id: self.field(point, v.id).difference(self.field(self.reference, v.id)) + for v in self.layout.variables + }) + + def validate(self, point: Point) -> None: + if point.state.layout.identity != self.layout.identity or point.inputs.shape != (2,): + raise ContractError("affine_device_point_binding_mismatch") + if point.inputs[1] < 0: + raise ContractError("negative_photon_flux") + for variable in self.layout.variables: + # Calling the bound root field's public method rejects an unrelated + # resolved array that merely happens to have the same values. + self.field(self.reference, variable.id).difference(self.field(point, variable.id)) + for name in ("n_m3", "p_m3"): + if np.any(self.field(point, name).as_dd() <= 0): + raise ContractError("nonpositive_active_carrier") + if self.definition.dynamic: + c, f = (self.field(point, name).as_dd() for name in ("c_m3", "f")) + if np.any(c < 0) or np.any(c >= self.definition.ion_capacity): + raise ContractError("ion_outside_smooth_physical_domain") + if np.any(f < 0) or np.any(f > 1): + raise ContractError("trap_outside_physical_domain") + + @staticmethod + def project_output(value) -> np.ndarray: + """Named last-stage output projection, never a source of state fields.""" + from scripts.benchmarks.precision_prototype import DoubleArray + + if not isinstance(value, DoubleArray): + raise ContractError("explicit_double_output_required") + return frozen_array(value.high + value.low) + + def _capture(self, point, *, derivatives=True): + """Reference plus finite bilinear changes; original imbalance retained.""" + from scripts.benchmarks.precision_prototype import DD + + m = self.definition + partial_n = partial_p = None + delta = self.remainders(point) + n0, p0 = (self.field(self.reference, name).as_dd() for name in ("n_m3", "p_m3")) + dn, dp = (delta[name].as_dd() for name in ("n_m3", "p_m3")) + n, p = n0+dn, p0+dp + cn, cp, n1, p1 = map(DD, (m.capture_n, m.capture_p, m.n1, m.p1)) + if m.dynamic: + f0, df = self.field(self.reference, "f").as_dd(), delta["f"].as_dd() + f = f0+df + rn0 = cn*(n0*(1-f0)-n1*f0) + rp0 = cp*(p0*f0-p1*(1-f0)) + drn = cn*((1-f0)*dn-(n0+n1)*df-dn*df) + drp = cp*(f0*dp+(p0+p1)*df+dp*df) + rn, rp = rn0+drn, rp0+drp + if derivatives: + partial_n = {"n_m3": cn*(1-f), "f": -cn*(n+n1)} + partial_p = {"p_m3": cp*f, "f": cp*(p+p1)} + else: + lam0 = cn*(n0+n1)+cp*(p0+p1) + dlambda = cn*dn+cp*dp + lam = lam0+dlambda + numerator0 = n0*p0-n1*p1 + dnumerator = p0*dn+n0*dp+dn*dp + rn0 = rp0 = cn*cp*numerator0/lam0 + drn = drp = (cn*cp*dnumerator-rn0*dlambda)/lam + rn = rp = rn0+drn + if derivatives: + partial_n = {"n_m3": cn*cp*p/lam-rn*cn/lam, + "p_m3": cn*cp*n/lam-rn*cp/lam} + partial_p = partial_n + return rn, rp, partial_n, partial_p, rn0, rp0, drn, drp + + def evaluate(self, point: Point, *, derivatives: bool = False) -> AffineDeviceEvaluation: + from scripts.benchmarks.precision_prototype import DD, DoubleArray, bernoulli + + self.validate(point) + m, N, volume = self.definition, self.count, self.geometry.volumes + a = self.arithmetic + pack = DoubleArray.from_dd + n, p = (self.field(point, name).as_dd() for name in ("n_m3", "p_m3")) + dphi = point.state.face_difference("phi_V", self.face_pairs).as_dd() + dn = point.state.face_difference("n_m3", self.face_pairs).as_dd() + dp = point.state.face_difference("p_m3", self.face_pairs).as_dd() + xi = dphi/m.vt + b = bernoulli(pack(xi)).as_dd() + # The analytic derivative is nonsingular and is projected only for + # the sparse binary64 Jacobian. Values use retained physical deltas. + if derivatives: + bp = DD(bernoulli_with_derivative(self.project_output(pack(xi)))[1]) + pref_n, pref_p = DD(m.mu_n)*m.vt/DD(self.dx), DD(m.mu_p)*m.vt/DD(self.dx) + jn = Q*pref_n*(b*dn-xi*n[:-1]) + jp = Q*pref_p*(-b*dp-xi*p[1:]) + flows = {"n_m3": -jn/Q, "p_m3": jp/Q} + if derivatives: + flow_derivatives = { + "n_m3": {"n_m3": (pref_n*(b+xi), -pref_n*b), + "phi_V": (pref_n*(bp*dn-n[:-1])/m.vt, -pref_n*(bp*dn-n[:-1])/m.vt)}, + "p_m3": {"p_m3": (pref_p*b, -pref_p*(b+xi)), + "phi_V": (-pref_p*(-bp*dp-p[1:])/m.vt, pref_p*(-bp*dp-p[1:])/m.vt)}, + } + if m.dynamic: + c = self.field(point, "c_m3").as_dd() + dc = point.state.face_difference("c_m3", self.face_pairs).as_dd() + # log(vacancy_L/vacancy_R), with the named spatial density + # difference retained before subtracting near-equal logarithms. + chemical_change = -(-dc/(DD(m.ion_capacity)-c[:-1])).log1p() + xi_ion = xi+chemical_change + bi = bernoulli(pack(xi_ion)).as_dd() + if derivatives: + bip = DD(bernoulli_with_derivative(self.project_output(pack(xi_ion)))[1]) + pref = DD(m.diffusion_ion)/DD(self.dx) + fi = pref*(-bi*dc-xi_ion*c[1:]) + if derivatives: + drive = pref*(-bip*dc-c[1:]) + flows["c_m3"] = fi + if derivatives: + flow_derivatives["c_m3"] = { + "c_m3": (pref*bi-drive/(DD(m.ion_capacity)-c[:-1]), + -pref*(bi+xi_ion)+drive/(DD(m.ion_capacity)-c[1:])), + "phi_V": (-drive/m.vt, drive/m.vt), + } + else: + fi = DD(np.zeros(N-1)) + rn, rp, partial_n, partial_p, rn0, rp0, drn, drp = self._capture(point, derivatives=derivatives) + rates = {} + derivative_entries = {} + + def add(var, against, row, col, value): + if derivatives: + rows, cols, vals = derivative_entries.setdefault((var, against), [[], [], []]) + rows.append(row); cols.append(col); vals.append(float(value)) + + for var, flux in flows.items(): + rates[var] = m.area*a.concatenate((-flux[:1], flux[:-1]-flux[1:], flux[-1:])) + if derivatives: + for against, (left, right) in flow_derivatives[var].items(): + left, right = self.project_output(pack(left)), self.project_output(pack(right)) + for face in range(N-1): + for node, sign in ((face, -1), (face+1, 1)): + add(var, against, node, face, sign*m.area*left[face]) + add(var, against, node, face+1, sign*m.area*right[face]) + generation = DD(self.absorption)*point.inputs[1] + rates["n_m3"] = rates["n_m3"]+generation-DD(volume)*m.trap_density*rn + rates["p_m3"] = rates["p_m3"]+generation-DD(volume)*m.trap_density*rp + for var, partials in ((("n_m3", partial_n), ("p_m3", partial_p)) if derivatives else ()): + for against, value in partials.items(): + values = self.project_output(pack(-DD(volume)*m.trap_density*value)) + for i in range(N): + add(var, against, i, i, values[i]) + if m.dynamic: + rates["f"] = DD(volume)*m.trap_density*(rn-rp) + if derivatives: + for against in {**partial_n, **partial_p}: + partial = partial_n.get(against, DD(np.zeros(N)))-partial_p.get(against, DD(np.zeros(N))) + values = self.project_output(pack(DD(volume)*m.trap_density*partial)) + for i in range(N): + add("f", against, i, i, values[i]) + nodal_jac = {key: coo_matrix((v[2], (v[0], v[1])), shape=(N, N)).tocsr() + for key, v in derivative_entries.items()} + ra_nodal = {var: np.column_stack((np.zeros(N), self.absorption if var in {"n_m3", "p_m3"} else np.zeros(N))) + for var in rates} + blocks = [hstack([nodal_jac.get((var, v.id), csr_matrix((N, N)))[nodes] + for v in self.layout.variables], format="csr") + for _, var, nodes in (self.rate_fields if derivatives else ())] + rate = a.concatenate([rates[var][nodes] for _, var, nodes in self.rate_fields]) + ra = np.vstack([ra_nodal[var][nodes] for _, var, nodes in self.rate_fields]) + linear = {name: self.linear_action(name, point) + for name in ("charge_density", "displacement", "constraints")} + return AffineDeviceEvaluation( + pack(rate), linear["constraints"].value, MappingProxyType({k: pack(v) for k, v in rates.items()}), + MappingProxyType(nodal_jac), MappingProxyType({k: frozen_array(v) for k, v in ra_nodal.items()}), + vstack(blocks, format="csr") if derivatives else None, frozen_array(ra), + linear["charge_density"].value, linear["displacement"].value, pack(jn), pack(jp), pack(fi), + pack(DD(np.zeros(2))), pack(rn), pack(rp), + pack(rn0), pack(rp0), pack(drn), pack(drp), MappingProxyType(linear), + ) + + def storage_value(self, point): + self.validate(point) + return self.linear_action("storage", point).value + + def storage_delta(self, left, right, increment): + increment.validate(left, right) + self.validate(left); self.validate(right) + return self.linear_action("storage", right, increment=increment, left=left).value + + def residual(self, point, derivative, input_rate): + rate = self.physical_rate_view(point, derivative, input_rate) + evaluation = self.observation_evaluation(point) + balance = self.linear_action("balance", point, rate=rate, evaluation=evaluation) + return self.arithmetic.freeze(self.arithmetic.concatenate( + (balance.value.as_dd(), evaluation.values.algebraic.as_dd()))) + + def conservative_residual(self, left, right, increment): + if right.time <= left.time: + raise ContractError("nonpositive_physical_interval") + e = self.evaluate(right) + finite = self.storage_delta(left, right, increment).as_dd()-(right.time-left.time)*e.rate.as_dd() + return self.arithmetic.freeze(self.arithmetic.concatenate((finite, e.algebraic.as_dd()))) + + def common_system(self): + raise ContractError("affine_device_requires_public_sparse_problem") + + def public_problem(self, *, accepted_rate_mapping_identity=None): + from scripts.benchmarks.contract_prototype import PhysicalStorage, SparseLinearization, SparseStructure, ValidatedProblem + + structure = SparseStructure.from_graph(self.graph) + units = tuple(e.unit*SECOND for e in self.layout.equations if e.role == "storage" + for _ in range(int(np.prod(e.shape)))) + storage = PhysicalStorage(self.storage_value, self.storage_delta, units, + self.source_identity, self.arithmetic) + + def linearize(point, ydot, adot): + e = self.evaluate(point, derivatives=True) + # This physical storage and the external lift are affine. Thus + # Qyy*ydot, Qya*adot, Qyt and their input/time counterparts vanish + # here only. Nonlinear storage keeps the full public contractions. + fy = self._assemble_declared(vstack((-e.rate_jacobian, self.G), format="csr")) + fydot = self._assemble_declared(self.mass.tocsr()) + fa = np.vstack((-e.input_jacobian, self.Ga)) + return SparseLinearization(fy, fydot, fa, np.zeros_like(fa), + np.zeros(self.layout.size), structure, self.source_identity) + + return ValidatedProblem(self.layout, 2, self.dynamic_count, storage, structure, + self.source_identity, self.residual, linearize, + self.conservative_residual, self.conservative_jacobian, + point_validator=self.validate, arithmetic=self.arithmetic, + accepted_rate_mapping_identity=accepted_rate_mapping_identity) + + def observation_evaluation(self, point, *, state_actions=False): + """Carry one point-bound value; optionally prepare shared observation actions. + + Residual-only callers keep the value-only path. Raw/tangent observation + pairs may share the three state actions; rate actions remain separate. + """ + values = self.evaluate(point) + if state_actions: + linear = dict(values.linear_actions) + linear.update({name: self.linear_action(name, point) + for name in ("metal_charge", "body_charge", "gauss_defect")}) + values = replace(values, linear_actions=MappingProxyType(linear)) + return AffinePointEvaluation(point, self.source_identity, values) + + def evaluated_values(self, point, evaluation=None): + if evaluation is None: + return self.evaluate(point) + if (not isinstance(evaluation, AffinePointEvaluation) + or evaluation.source_identity != self.source_identity + or evaluation.point.identity != point.identity): + raise ContractError("foreign_or_stale_observation_evaluation") + return evaluation.values + + def tangent_rate(self, point, input_rate, *, evaluation=None): + rate = frozen_array(input_rate) + if rate.shape != (2,): + raise ContractError("device_input_rate_shape") + e, result = self.evaluated_values(point, evaluation), np.zeros(self.layout.size) + for eq, var, nodes in self.rate_fields: + coefficient = self.geometry.volumes[nodes]*(self.definition.trap_density if var == "f" else 1) + value = e.rate.take(np.arange(self.graph.row_offsets[eq].start, self.graph.row_offsets[eq].stop)) + result[self.layout.offsets[var].start+nodes] = self.project_output(value)/coefficient + result[self.layout.offsets["phi_V"]] = self.phi_factor.solve( + -(self.G[:self.count] @ result+self.Ga[:self.count] @ rate)) + return frozen_array(result) + + def observe(self, point, derivative, input_rate, origin="algebraic_probe", side="continuous", *, evaluation=None): + if origin not in {"native", "interpolant", "physical_tangent", "algebraic_probe", + "stop_output", "endpoint_restore", "segment_initial", "declared_polynomial"}: + raise ContractError("unknown_derivative_origin") + if side not in {"continuous", "left", "right"}: + raise ContractError("unknown_event_side") + rate = self.physical_rate_view(point, derivative, input_rate) + input_rate = rate.input_rate + evaluation = self.observation_evaluation(point, state_actions=True) if evaluation is None else evaluation + e = self.evaluated_values(point, evaluation) + linear = dict(e.linear_actions) + linear.update({name: self.linear_action(name, point) + for name in ("metal_charge", "body_charge", "gauss_defect") + if name not in linear}) + linear.update({name+"_rate": self.linear_action(name, point, rate=rate, evaluation=evaluation) + for name in ("body_charge", "metal_charge", "constraints", "conduction", + "total_current", "charge_integrands", "interior_total_current")}) + scalar = lambda name: linear[name].value.take(np.asarray(0)) + kept_derivative = derivative if isinstance(derivative, RateView) else frozen_array(derivative) + return AffineDeviceObservation( + point, kept_derivative, input_rate, origin, side, + linear["metal_charge"].value, linear["conduction_rate"].value, + linear["total_current_rate"].value, scalar("body_charge"), scalar("body_charge_rate"), + scalar("gauss_defect"), self.project_output(linear["constraints_rate"].value), + linear["interior_total_current_rate"].value, linear["charge_integrands_rate"].value, + MappingProxyType(linear), + ) + + def finite_physical_changes(self, left, right, increment): + """Exact linear charge/storage and finite capture changes, no stepping.""" + from scripts.benchmarks.precision_prototype import DD, DoubleArray + + increment.validate(left, right) + self.validate(left); self.validate(right) + pack, m = DoubleArray.from_dd, self.definition + dn, dp = (increment.field(name).as_dd() for name in ("n_m3", "p_m3")) + n0, p0 = (self.field(left, name).as_dd() for name in ("n_m3", "p_m3")) + n1, p1 = (self.field(right, name).as_dd() for name in ("n_m3", "p_m3")) + if m.dynamic: + df = increment.field("f").as_dd() + f0, f1 = self.field(left, "f").as_dd(), self.field(right, "f").as_dd() + drn = m.capture_n*((1-f1)*dn-(n0+m.n1)*df) + drp = m.capture_p*(f1*dp+(p0+m.p1)*df) + else: + rn0 = self._capture(left)[0] + lam1 = m.capture_n*(n1+m.n1)+m.capture_p*(p1+m.p1) + drn = drp = (m.capture_n*m.capture_p*(n0*dp+p1*dn) + -rn0*(m.capture_n*dn+m.capture_p*dp))/lam1 + linear = {name: self.linear_action(name, right, increment=increment, left=left) + for name in ("storage", "charge_density", "displacement", "body_charge", "metal_charge")} + return MappingProxyType({ + "storage": linear["storage"].value, + "capture_n_per_s": pack(drn), "capture_p_per_s": pack(drp), + "charge_density_C_m3": linear["charge_density"].value, + "displacement_C_m2": linear["displacement"].value, + "body_charge_C": linear["body_charge"].value.take(np.asarray(0)), + "metal_charge_C": linear["metal_charge"].value, + "linear_actions": MappingProxyType(linear), + }) + + def affine_constraint_error(self, point, *, evaluation=None): + """A finite affine defect estimate at unchanged physical populations.""" + g = self.project_output(self.evaluated_values(point, evaluation).algebraic) + delta_phi = self.phi_factor.solve(-g[:self.count]) + induced_D = -self.definition.epsilon*np.diff(delta_phi)/self.dx + contact_delta = -g[self.count:] + end = np.array([0,self.count-1]) + rho_delta = Q*(contact_delta[2:]-contact_delta[:2]) + width = self.geometry.volumes[end]/self.definition.area + charges = self.definition.area*np.array([ + induced_D[0]-rho_delta[0]*width[0], + -induced_D[-1]-rho_delta[1]*width[1]]) + return { + "point_identity":point.identity,"state_changed":False, + "potential_correction_V":delta_phi.tolist(), + "potential_error_bound_V":float(np.max(np.abs(delta_phi))), + "metal_charge_correction_C":charges.tolist(), + "metal_charge_error_bound_C":np.abs(charges).tolist(), + "body_charge_correction_C":float(self.geometry.volumes[end] @ rho_delta), + "contact_density_correction_m3":contact_delta.tolist(), + "preserves_differential_storage":True,"factorizations":self.factorizations, + "nonlinear_remainder":0.0,"acceptance_awarded":False, + "linear_solve_residual":float(np.max(np.abs( + self.G[:self.count,self.layout.offsets["phi_V"]] @ delta_phi+g[:self.count]))), + "residual_projection":"explicit DD-to-binary64 for the affine estimator only", + } + + def numeric_packet(self): + from scripts.benchmarks.precision_prototype import encode_point + + packet = super().numeric_packet() + packet.pop("initial_y_physical") + packet.update({ + "representation": "fixed-original-reference-physical-SI-remainders", + "initial_reference": encode_point(self.reference), + "initial_remainders_SI": self.reference.y.tolist(), + "physical_reference_fields": { + v.id: {"high":self.field(self.reference,v.id).high.tolist(), + "low":self.field(self.reference,v.id).low.tolist()} + for v in self.layout.variables}, + "reference_residual_zeroed": False, + "physical_mass_and_derivative_units_unchanged": True, + "native_run_admitted": False, + }) + return packet + + +@dataclass(frozen=True) +class AffineScaledIDAAdapter: + """Algebra only. IDA would integrate S*z remainders from the fixed root.""" + + model: AffineCoupledSlab + segment: ProtocolSegment + problem: object = field(init=False, repr=False) + + def __post_init__(self): + object.__setattr__(self, "problem", self.model.public_problem()) + + def point(self, time, z): + inputs, _ = self.segment.inputs(time) + return self.model.trial(self.model.S*np.asarray(z), time, inputs)[0] + + def residual(self, time, z, zdot): + point = self.point(time, z) + _, adot = self.segment.inputs(time) + value = self.problem.residual(point, self.model.S*np.asarray(zdot), adot) + return self.model.Drow*self.model.project_output(value) + + def jacobian(self, time, z, cj, zdot=None): + point = self.point(time, z) + ydot = np.zeros_like(z) if zdot is None else self.model.S*np.asarray(zdot) + _, adot = self.segment.inputs(time) + physical = self.problem.linearize(point, ydot, adot).ida_matrix(cj) + columns = np.repeat(np.arange(physical.shape[1]), np.diff(physical.indptr)) + values = physical.data*self.model.Drow[physical.indices]*self.model.S[columns] + return csc_matrix((values,physical.indices.copy(),physical.indptr.copy()),shape=physical.shape) + + +class AffineDeviceHistory: + """A shared reference once, then replayable public trial inputs and rates. + + Restoration uses decode_point for the reference and the public trial + builder for samples. It never edits a generic authority payload or infers + hidden solver values from projected physical fields. + """ + + def __init__(self, model: AffineCoupledSlab): + from scripts.benchmarks.precision_prototype import encode_point + + self.model = model + self.reference_record = { + "schema": "solarlab.affine-device-reference.v1", + "source_identity": model.source_identity, + "layout_identity": model.layout.identity, + "reference": encode_point(model.reference), + "reference_point_identity": model.reference.identity, + "column_scaling_hex": [float(x).hex() for x in model.S], + "primitive_units": "physical SI cumulative remainders; no transformed storage", + } + self.reference_digest = digest(self.reference_record) + + def sample(self, point, cumulative_increment, predecessor, physical_ydot, input_rate, *, + origin="algebraic_probe", event_side="continuous", raw_z=None, raw_zdot=None): + from scripts.benchmarks.precision_prototype import PrimitiveExpansion + + self.model.validate(point) + primitive = PrimitiveExpansion.from_value(cumulative_increment) + if primitive.shape != (self.model.layout.size,): + raise ContractError("history_primitive_shape") + rebuilt, _ = self.model.trial(primitive, point.time, point.inputs, predecessor=predecessor) + if rebuilt.identity != point.identity: + raise ContractError("history_primitive_point_mismatch") + return self._sample_record(point, primitive, predecessor, physical_ydot, input_rate, + origin=origin, event_side=event_side, + raw_z=raw_z, raw_zdot=raw_zdot) + + def build_sample(self, cumulative_increment, time, inputs, predecessor, physical_ydot, + input_rate, *, origin="algebraic_probe", event_side="continuous", + raw_z=None, raw_zdot=None): + """Construct and serialize one public trial without accepting a supplied Point.""" + from scripts.benchmarks.precision_prototype import PrimitiveExpansion + + primitive = PrimitiveExpansion.from_value(cumulative_increment) + if primitive.shape != (self.model.layout.size,): + raise ContractError("history_primitive_shape") + point, increment = self.model.trial(primitive, time, inputs, predecessor=predecessor) + self.model.validate(point) + record = self._sample_record(point, primitive, predecessor, physical_ydot, input_rate, + origin=origin, event_side=event_side, + raw_z=raw_z, raw_zdot=raw_zdot) + return point, increment, record + + def _sample_record(self, point, primitive, predecessor, physical_ydot, input_rate, *, + origin, event_side, raw_z, raw_zdot): + """Serialize only after sample verified, or build_sample constructed, the Point.""" + physical_ydot, input_rate = frozen_array(physical_ydot), frozen_array(input_rate) + if physical_ydot.shape != point.y.shape or input_rate.shape != (2,): + raise ContractError("history_rate_shape") + if origin not in {"native", "interpolant", "physical_tangent", "algebraic_probe", + "stop_output", "endpoint_restore", "segment_initial"}: + raise ContractError("unknown_derivative_origin") + if event_side not in {"continuous", "left", "right"}: + raise ContractError("unknown_event_side") + if (raw_z is None) != (raw_zdot is None): + raise ContractError("incomplete_raw_solver_pair") + actual_native_origin = origin in {"native", "interpolant", "stop_output", "endpoint_restore", "segment_initial"} + if actual_native_origin and raw_z is None: + raise ContractError("raw_solver_values_required") + solver = None + if raw_z is not None: + raw_z, raw_zdot = frozen_array(raw_z), frozen_array(raw_zdot) + if raw_z.shape != point.y.shape or raw_zdot.shape != point.y.shape: + raise ContractError("raw_solver_shape") + if (not np.array_equal(self.model.S*raw_z, point.y) + or not np.array_equal(self.model.S*raw_zdot, physical_ydot) + or any(np.any(word != 0) for word in primitive.words[1:])): + raise ContractError("raw_solver_physical_map_mismatch") + solver = {"z_hex":[float(x).hex() for x in raw_z], + "zdot_hex":[float(x).hex() for x in raw_zdot], + "mapping":"u=S*z; physical_ydot=S*zdot, fixed original reference"} + return { + "schema":"solarlab.affine-device-sample.v1", + "source_identity":self.model.source_identity, + "reference_digest":self.reference_digest, + "reference_point_identity":self.model.reference.identity, + "point_identity":point.identity, "predecessor_identity":predecessor.identity, + "time_hex":float(point.time).hex(), "input_hex":[float(x).hex() for x in point.inputs], + "cumulative_primitive_words_hex":[[float(x).hex() for x in word] for word in primitive.words], + "physical_ydot_hex":[float(x).hex() for x in physical_ydot], + "input_rate_hex":[float(x).hex() for x in input_rate], + "origin":origin, "event_side":event_side, "raw_solver":solver, + "reference_embedded":False, + } + + def restore(self, reference_record, sample, predecessor): + from scripts.benchmarks.precision_prototype import PrimitiveExpansion, decode_point + + if (digest(reference_record) != self.reference_digest + or sample.get("reference_digest") != self.reference_digest + or sample.get("source_identity") != self.model.source_identity + or sample.get("reference_point_identity") != self.model.reference.identity + or sample.get("predecessor_identity") != predecessor.identity): + raise ContractError("history_reference_or_predecessor_mismatch") + reference = decode_point(reference_record["reference"], self.model.layout) + if reference.identity != self.model.reference.identity: + raise ContractError("history_reference_decode_mismatch") + primitive = PrimitiveExpansion([ + np.array([float.fromhex(x) for x in word], dtype=float) + for word in sample["cumulative_primitive_words_hex"]]) + point, increment = self.model.coordinates.trial( + reference, primitive, float.fromhex(sample["time_hex"]), + [float.fromhex(x) for x in sample["input_hex"]], predecessor=predecessor, + transition_representation="four-word-v1") + if point.identity != sample.get("point_identity"): + raise ContractError("history_restored_identity_mismatch") + rate = np.array([float.fromhex(x) for x in sample["physical_ydot_hex"]]) + input_rate = np.array([float.fromhex(x) for x in sample["input_rate_hex"]]) + solver = sample.get("raw_solver") + regenerated = self.sample( + point, primitive, predecessor, rate, input_rate, + origin=sample["origin"], event_side=sample["event_side"], + raw_z=None if solver is None else [float.fromhex(x) for x in solver["z_hex"]], + raw_zdot=None if solver is None else [float.fromhex(x) for x in solver["zdot_hex"]]) + if digest(regenerated) != digest(sample): + raise ContractError("history_sample_noncanonical") + return point, increment, frozen_array(rate), frozen_array(input_rate) + + +@dataclass(frozen=True) +class ScaledIDAAdapter: + """Callback algebra only; construction never initializes or steps IDA.""" + + model: CoupledSlab + segment: ProtocolSegment + problem: object = field(init=False, repr=False) + + def __post_init__(self) -> None: + object.__setattr__(self, "problem", self.model.public_problem()) + + def point(self, time, z) -> Point: + inputs, _ = self.segment.inputs(time) + return self.model.coordinates.point(self.model.S*np.asarray(z), time, inputs) + + def residual(self, time, z, zdot) -> np.ndarray: + point = self.point(time, z) + _, adot = self.segment.inputs(time) + return self.model.Drow*self.problem.residual(point, self.model.S*np.asarray(zdot), adot) + + def jacobian(self, time, z, cj, zdot=None) -> csc_matrix: + point = self.point(time, z) + ydot = np.zeros_like(z) if zdot is None else self.model.S*np.asarray(zdot) + _, adot = self.segment.inputs(time) + physical = self.problem.linearize(point, ydot, adot).ida_matrix(cj) + # Preserve every declared CSC slot, including an instantaneous zero. + columns = np.repeat(np.arange(physical.shape[1]), np.diff(physical.indptr)) + values = physical.data*self.model.Drow[physical.indices]*self.model.S[columns] + return csc_matrix((values, physical.indices.copy(), physical.indptr.copy()), shape=physical.shape) + + def finite_storage_increment(self, left: Point, right: Point, increment: StateIncrement) -> np.ndarray: + # No S here: the public increment is already in physical SI units. + return self.problem.storage.delta(left, right, increment) + + +def _qualification_scope(model, segments, policy): + """The explicit P02 extension; the default N8 route never calls this.""" + from scripts.benchmarks.qualification_policy import validate_policy, validate_layout + try: + policy = validate_policy(policy) + if type(model) not in (CoupledSlab, AffineCoupledSlab): + raise ValueError("qualification_model_type") + validate_layout(model.numeric_packet(), policy) + if digest([asdict(s) for s in segments]) != digest(policy["origin"]["segments"]): + raise ValueError("qualification_protocol_changed") + return policy + except (ValueError, KeyError, TypeError) as error: + raise ContractError(str(error)) from error + + +def prepare_native_request(model: CoupledSlab, segments: tuple[ProtocolSegment, ...], *, + qualification_policy: Mapping | None = None) -> dict: + """Construct exact proposed inputs; no backend import or native execution.""" + if isinstance(model, AffineCoupledSlab): + raise ContractError("affine_native_request_requires_separate_domain_and_weight_policy") + if qualification_policy is not None: + qualification_policy = _qualification_scope(model, segments, qualification_policy) + if (qualification_policy is None and model.intervals != 8) or len(segments) != 3: + raise ContractError("first_native_pilot_scope") + m = model.definition + initial = model.initial() + z0 = initial.y/model.S + decoded = ScaledIDAAdapter(model, segments[0]).point(segments[0].start, z0) + adot = segments[0].inputs(segments[0].start)[1] + physical_rate = model.tangent_rate(decoded, adot) + qref = Q*m.area*m.length*max(m.ni, m.ion_initial, m.trap_density) + jref = Q*m.vt*(m.mu_n+m.mu_p)*m.ni/m.length + current_budget = m.area*0.005*(Q*m.photon_reference if m.photon_reference else jref) + quadrature = {} + if qualification_policy is None: + for order in [8, 16, 32]: + nodes, weights = np.polynomial.legendre.leggauss(order) + quadrature[str(order)] = {"nodes": nodes.tolist(), "weights": weights.tolist()} + times = {s.id: np.linspace(s.start, s.end, 33) for s in segments} + else: + quadrature = qualification_policy["origin"]["quadrature"] + times = {key: np.asarray(value) for key, value in + qualification_policy["origin"]["observation_times"].items()} + if m.dynamic and qualification_policy is None: + hold = segments[-1] + elapsed = np.geomspace(1e-7, 9.0, 33) + elapsed[-1] = hold.end-hold.start + times[hold.id] = np.unique(np.r_[times[hold.id], hold.start+elapsed]) + indices, types = [], [] + for field in ["n_m3", "p_m3"]+(["c_m3", "f"] if m.dynamic else []): + section = model.layout.offsets[field] + indices.extend(range(section.start, section.stop)) + types.extend([2 if field in {"n_m3", "p_m3"} else 1]*model.count) + request = {"schema": "solarlab.real-device-native-request.v1", "case_id": m.id, + "numeric_packet": model.numeric_packet(), "segments": [asdict(s) for s in segments], + "z0": z0.tolist(), "zdot0": (physical_rate/model.S).tolist(), + "actual_initial_y": decoded.y.tolist(), "initial_scaling_quantization": (decoded.y-initial.y).tolist(), + "actual_initial_identity": decoded.identity, + "controls": {"rtol": 1e-4, "atol": [1e-8]*model.layout.size, + "max_step": 0.02 if m.dynamic else 2e-8, "max_order": 5, + "max_num_steps": 200000, "max_nonlin_iters": 4, + "max_conv_fails": 10, "first_step": 0.0, + "calc_initcond": None, "linsolver": "sparse", "nthreads": 1, + "constraints_idx": indices, "constraints_type": types}, + "budgets": {"wall_s": 180, "rss_bytes": 2147483648, "native_steps": 200000, + "residual_calls": 2000000, "total_output_bytes": 268435456, "charge_C": 1e-10*qref, + "current_A": current_budget, "constraint_charge_C": 1e-10*qref/3, + "constraint_potential_V": 0.001/3, "contact_relative": 0.01/3, + "ion_inventory_relative": 1e-10, "maximum_site_fraction": 0.999}, + "observation_times": {key: values.tolist() for key, values in times.items()}, + "quadrature": quadrature, + "observation_policy": "retain_raw_and_separately_named_physical_tangent", + "mandatory": {"state_and_affine_constraints": True, "raw_tangent_current_agreement": True, + "both_interval_and_prefix_charge_ledgers": True, + "interval_and_prefix_defect_plus_uncertainty": True, + "interval_and_prefix_reference_share": True}, + "quadrature_uncertainty_scope": "absolute16/32 discrepancy is a declared diagnostic estimate, not a rigorous continuum certificate", + "refinement_or_full_device_qualification": False, + "uncertified_by_first_pilot": ["time and mesh convergence", "independent trajectory state error", + "full real-device current accuracy", "R1 research precision"], + "admission": "requires a separate coordinator message bound to this exact request digest"} + if qualification_policy is not None: + from scripts.benchmarks.qualification_policy import raw_controls + request.update(qualification_policy=qualification_policy, + controls=raw_controls(qualification_policy, request["numeric_packet"]), + budgets=dict(qualification_policy["origin"]["budgets"]), + mandatory=dict(qualification_policy["origin"]["mandatory"])) + return request + + +def snapshot_solver_result(result) -> dict: + """Copy before interpolation can mutate a binding's borrowed buffers.""" + return {"time": float(result.t), "z": frozen_array(result.y), "zdot": frozen_array(result.yp), + "success": bool(result.success), "status": int(result.status), "message": str(result.message)} + + +def charge_interval_bound(delta_charge, integral_estimates, previous_defects, + previous_uncertainties, charge_budget: float) -> dict: + """Componentwise combined interval/prefix accounting in physical coulombs. + + The 16/32 difference is an explicitly limited reference estimate. Passing + this allocation neither proves quadrature convergence nor bounds the + continuum trajectory. Each body/metal component retains its own ledger. + """ + delta = frozen_array(delta_charge) + estimates = frozen_array(integral_estimates) + prior_d, prior_u = frozen_array(previous_defects), frozen_array(previous_uncertainties) + if (delta.ndim != 1 or estimates.shape != (3, delta.size) or prior_d.shape != delta.shape + or prior_u.shape != delta.shape or np.any(prior_d < 0) or np.any(prior_u < 0) + or not np.isfinite(charge_budget) or charge_budget <= 0): + raise ContractError("invalid_charge_error_accounting") + defect = np.abs(delta-estimates[-1]) + uncertainty = np.abs(estimates[-1]-estimates[-2]) + cumulative_d, cumulative_u = prior_d+defect, prior_u+uncertainty + interval_total, prefix_total = defect+uncertainty, cumulative_d+cumulative_u + checks = {"interval_total": bool(np.all(interval_total <= charge_budget)), + "prefix_total": bool(np.all(prefix_total <= charge_budget)), + "interval_reference_share": bool(np.all(uncertainty <= charge_budget/3)), + "prefix_reference_share": bool(np.all(cumulative_u <= charge_budget/3))} + return {"delta_charge_C": delta.tolist(), "integrals_C": estimates.tolist(), + "absolute_defect_C": defect.tolist(), "quadrature_uncertainty_estimate_C": uncertainty.tolist(), + "cumulative_absolute_defect_C": cumulative_d.tolist(), + "cumulative_quadrature_uncertainty_estimate_C": cumulative_u.tolist(), + "interval_total_bound_C": interval_total.tolist(), "prefix_total_bound_C": prefix_total.tolist(), + "reference_estimate": "absolute16/32 difference; not a rigorous continuum certificate", + "charge_budget_C": charge_budget, "reference_allocation_C": charge_budget/3, + "checks": checks, "passed": all(checks.values())} + + +def state_quality_evidence(model: CoupledSlab, point: Point, budgets: Mapping) -> dict: + """Physical finite-g eligibility at one unchanged state, not LTE proof.""" + model.validate(point) + m = model.definition + bound = model.affine_constraint_error(point) + contacts = np.asarray(bound["contact_density_residual_m3"])/np.array([m.n_eq, m.n_eq, m.p_eq, m.p_eq]) + charge_error = max(sum(abs(v) for v in bound["Poisson_constraint_charge_C"]), + max(bound["metal_charge_error_bound_C"]), bound["body_charge_error_bound_C"]) + metrics = {"minimum_n_m3": float(np.min(model.field(point, "n_m3"))), + "minimum_p_m3": float(np.min(model.field(point, "p_m3"))), + "constraint_potential_bound_V": bound["potential_error_bound_V"], + "constraint_charge_bound_C": charge_error, + "constraint_details": bound, + "contact_max_relative": float(np.max(np.abs(contacts))), "state_identity": point.identity, + "trajectory_error_certified": False} + passed = (bound["potential_error_bound_V"] <= budgets["constraint_potential_V"] + and charge_error <= budgets["constraint_charge_C"] + and np.max(np.abs(contacts)) <= budgets["contact_relative"]) + if m.dynamic: + c, f = model.field(point, "c_m3"), model.field(point, "f") + inventory = float(model.geometry.volumes @ c) + reference = m.area*m.length*m.ion_initial + metrics.update(ion_inventory_relative=abs(inventory/reference-1), + maximum_site_fraction=float(np.max(c/m.ion_capacity)), + minimum_f=float(np.min(f)), maximum_f=float(np.max(f))) + passed = passed and metrics["ion_inventory_relative"] <= budgets["ion_inventory_relative"] and metrics["maximum_site_fraction"] <= budgets["maximum_site_fraction"] + metrics["passed"] = bool(passed) + return metrics + + +def observation_payload(reading: DeviceObservation) -> dict: + return {"time_s": reading.point.time, "point_identity": reading.point.identity, + "coordinate_reference": reading.point.coordinate_reference, + "physical_y": reading.point.y.tolist(), "inputs": reading.point.inputs.tolist(), + "physical_ydot": reading.derivative.tolist(), "input_rates": reading.input_rate.tolist(), + "origin": reading.origin, "event_side": reading.ports.side, + "metal_charge_C": reading.ports.charge.tolist(), "conduction_inward_A": reading.ports.conduction.tolist(), + "total_inward_A": reading.ports.current.tolist(), "body_charge_C": reading.body_charge, + "body_charge_rate_A": reading.body_charge_rate, "gauss_defect_C": reading.gauss_defect, + "tangent_residual": reading.tangent_residual.tolist(), + "interior_total_current_A_m2": reading.interior_total_current.tolist()} + + +def run_native_pilot(model: CoupledSlab, segments: tuple[ProtocolSegment, ...], request: Mapping, + admission: Mapping, emit) -> dict: + """One explicitly admitted pilot; all native/normal rates remain distinct. + + No automatic retries, preparation replay, state projection or generic time + integrator. ``emit`` persists every record before the next native interval. + Both raw and physical-tangent ledgers are mandatory in this first proposal. + """ + if isinstance(model, AffineCoupledSlab): + raise ContractError("affine_native_runner_not_admitted") + request_id = digest(dict(request)) + if (admission.get("request_sha256") != request_id + or not str(admission.get("coordinator_message", "")).startswith("msg_")): + raise ContractError("native_pilot_not_admitted") + for path, expected in admission.get("source_sha256", {}).items(): + if sha256(Path(path).read_bytes()).hexdigest() != expected: + raise ContractError("native_source_changed_after_admission") + if not admission.get("source_sha256"): + raise ContractError("native_admission_missing_source_binding") + if str(Path(__file__).resolve()) not in admission["source_sha256"]: + raise ContractError("native_admission_does_not_bind_executing_kernel") + if model.intervals != 8 or model.layout.size > 45: + raise ContractError("first_native_pilot_scope") + if digest(model.numeric_packet()) != digest(request["numeric_packet"]): + raise ContractError("native_numeric_packet_changed") + if [asdict(s) for s in segments] != request["segments"]: + # JSON round trips turn tuples into lists; compare canonical JSON. + if digest([asdict(s) for s in segments]) != digest(request["segments"]): + raise ContractError("native_protocol_changed") + from sksundae.ida import IDA + + started = time.perf_counter() + budgets, controls = request["budgets"], request["controls"] + counts = {"residual": 0, "jacobian": 0, "native_steps": 0, "normal_queries": 0} + cumulative = {key: np.zeros(3) for key in ["raw", "physical_tangent"]} + cumulative_uncertainty = {key: np.zeros(3) for key in cumulative} + failure_context = None + last_attempt = None + last_numerical = None + last_accepted = None + z = np.asarray(request["z0"], float) + rows, columns = model.graph.edges().T + sparsity = csc_matrix((np.ones(len(rows)), (rows, columns)), shape=model.graph.shape) + differential = np.unique(model.mass.tocoo().col) + algebraic = np.setdiff1d(np.arange(model.layout.size), differential).tolist() + + def resource_check(): + if time.perf_counter()-started > budgets["wall_s"]: + raise ContractError("native_wall_budget") + if counts["residual"] > budgets["residual_calls"]: + raise ContractError("native_residual_budget") + if counts["native_steps"] > budgets["native_steps"]: + raise ContractError("native_step_budget") + # The frozen runner is macOS; its independent watchdog also measures + # resident memory and can terminate a stuck native call. + if resource.getrusage(resource.RUSAGE_SELF).ru_maxrss > budgets["rss_bytes"]: + raise ContractError("native_rss_budget") + + def state_evidence(point): + return state_quality_evidence(model, point, budgets) + + try: + for segment_index, segment in enumerate(segments): + adapter = ScaledIDAAdapter(model, segment) + + def residual(t, values, rates, output): + nonlocal failure_context + counts["residual"] += 1 + try: + resource_check() + output[:] = adapter.residual(t, values, rates) + except BaseException as error: + if failure_context is None: + failure_context = {"phase": "residual", "time": float(t), "z": np.asarray(values).tolist(), + "zdot": np.asarray(rates).tolist(), "reason": str(error)} + raise + + def jacobian(t, values, rates, residual_value, cj, output): + counts["jacobian"] += 1 + resource_check() + matrix = adapter.jacobian(t, values, cj, rates) + if (matrix.nnz != model.graph.nnz or not np.array_equal(matrix.indices, model.graph.indices) + or not np.array_equal(matrix.indptr, model.graph.indptr) or output.shape != (model.graph.nnz,)): + raise ContractError("native_csc_slot_mismatch") + output[:] = matrix.data + + initial_point = adapter.point(segment.start, z) + _, adot = segment.inputs(segment.start) + initial_rate = model.tangent_rate(initial_point, adot) + initial_zdot = np.asarray(request["zdot0"]) if segment_index == 0 else initial_rate/model.S + last_attempt = {"phase": "segment_initialization", "segment": segment.id, + "time": segment.start, "z": z.tolist(), "zdot": initial_zdot.tolist()} + solver = IDA(residual, jacfn=jacobian, sparsity=sparsity, + algebraic_idx=algebraic, **controls) + initial_result = solver.init_step(segment.start, z, initial_zdot) + last_attempt = {"phase": "initialization_return", "segment": segment.id, + "time_hex": float(initial_result.t).hex(), "success": bool(initial_result.success), + "status": int(initial_result.status), "message": str(initial_result.message), + "z_hex": [float(v).hex() for v in initial_result.y], + "zdot_hex": [float(v).hex() for v in initial_result.yp]} + initialized = snapshot_solver_result(initial_result) + if (not initialized["success"] or initialized["time"] != segment.start + or not np.array_equal(initialized["z"], z) or not np.array_equal(initialized["zdot"], initial_zdot)): + raise ContractError("native_initialization_changed_state_or_failed") + left = adapter.point(segment.start, initialized["z"]) + left_raw = model.observe(left, model.S*initialized["zdot"], adot, "segment_initial", + "right" if segment_index else "continuous") + if last_numerical is not None and not np.array_equal(left.y, np.asarray(last_numerical["physical_y"])): + raise ContractError("event_restart_changed_physical_state") + metrics = state_evidence(left) + left_tangent = model.observe(left, initial_rate, adot, "physical_tangent", left_raw.ports.side) + initial_current_gap = float(np.max(np.abs(left_raw.ports.current-left_tangent.ports.current))) + emit({"kind": "segment_initial", "segment": segment.id, "reading": observation_payload(left_raw), + "physical_tangent": observation_payload(left_tangent), "state_checks": metrics, + "current_rate_gap_A": initial_current_gap}) + if not metrics["passed"]: raise ContractError("native_initial_state_quality") + if initial_current_gap > budgets["current_A"]/3: raise ContractError("initial_raw_tangent_current_budget") + last_numerical = observation_payload(left_raw) + if last_accepted is None: last_accepted = last_numerical + sample_times = np.asarray(request["observation_times"][segment.id]) + sample_cursor = 0 + while sample_cursor < len(sample_times) and sample_times[sample_cursor] == segment.start: + emit({"kind": "requested_sample", "segment": segment.id, "raw": observation_payload(left_raw), + "physical_tangent": observation_payload(left_tangent)}) + sample_cursor += 1 + while left.time < segment.end: + resource_check() + if counts["native_steps"] >= budgets["native_steps"]: raise ContractError("native_step_budget") + last_attempt = {"phase": "native_step", "segment": segment.id, "target_time": segment.end, + "previous": last_numerical} + result = solver.step(segment.end, method="onestep", tstop=segment.end) + last_attempt = {"phase": "native_return", "segment": segment.id, + "time_hex": float(result.t).hex(), "success": bool(result.success), + "status": int(result.status), "message": str(result.message), + "z_hex": [float(v).hex() for v in result.y], + "zdot_hex": [float(v).hex() for v in result.yp]} + native = snapshot_solver_result(result) + if not native["success"]: raise ContractError("native_solver_failure:"+native["message"]) + t = native["time"] + if not left.time < t <= segment.end: raise ContractError("native_interval_not_monotone") + counts["native_steps"] += 1 + right = adapter.point(t, native["z"]) + _, rate_a = segment.inputs(t) + origin = "stop_output" if native["status"] == 1 else "native" + right_raw = model.observe(right, model.S*native["zdot"], rate_a, origin, + "left" if t == segment.end else "continuous") + last_numerical = observation_payload(right_raw) + right_tangent = model.observe(right, model.tangent_rate(right, rate_a), rate_a, + "physical_tangent", right_raw.ports.side) + cache = {left.time: (left_raw, left_tangent), t: (right_raw, right_tangent)} + active = True + + def checked_pair(raw, tangent): + nonlocal failure_context + resource_check() + metrics = state_evidence(raw.point) + current_gap = float(np.max(np.abs(raw.ports.current-tangent.ports.current))) + emit({"kind": "rate_pair", "segment": segment.id, "interval": counts["native_steps"], + "raw": observation_payload(raw), "physical_tangent": observation_payload(tangent), + "state_checks": metrics, "current_rate_gap_A": current_gap}) + if not metrics["passed"]: + failure_context = {"phase": "state_quality", "reading": observation_payload(raw), "metrics": metrics} + raise ContractError("native_or_interpolant_state_quality") + if current_gap > budgets["current_A"]/3: + failure_context = {"phase": "raw_tangent_current", "raw": observation_payload(raw), + "physical_tangent": observation_payload(tangent), "gap_A": current_gap} + raise ContractError("raw_tangent_current_budget") + + checked_pair(right_raw, right_tangent) + + def query(time_value): + if not active or not left.time <= time_value <= t: + raise ContractError("expired_or_foreign_device_interval") + if time_value in cache: return cache[time_value] + resource_check() + normal = solver.step(time_value, method="normal", tstop=segment.end) + counts["normal_queries"] += 1 + if not normal.success or float(normal.t) != time_value: + raise ContractError("native_dense_query_failed") + p = adapter.point(time_value, normal.y) + _, a = segment.inputs(time_value) + raw = model.observe(p, model.S*np.asarray(normal.yp), a, "interpolant") + tangent = model.observe(p, model.tangent_rate(p, a), a, "physical_tangent") + cache[time_value] = (raw, tangent) + checked_pair(raw, tangent) + return raw, tangent + + try: + integrals = {"raw": [], "physical_tangent": []} + for order in [8, 16, 32]: + table = request["quadrature"][str(order)] + nodes, weights = np.asarray(table["nodes"]), np.asarray(table["weights"]) + h = t-left.time + totals = {"raw": np.zeros(3), "physical_tangent": np.zeros(3)} + for node, weight in zip(nodes, weights): + when = left.time+h*(float(node)+1)/2 + for key, reading in zip(["raw", "physical_tangent"], query(when)): + current = np.r_[sum(reading.ports.conduction), reading.ports.current-reading.ports.conduction] + totals[key] += (h*float(weight)/2)*current + for key in totals: integrals[key].append(totals[key]) + delta = np.r_[right_raw.body_charge-left_raw.body_charge, + right_raw.ports.charge-left_raw.ports.charge] + evidence = {} + for key in integrals: + evidence[key] = charge_interval_bound(delta, integrals[key], cumulative[key], + cumulative_uncertainty[key], budgets["charge_C"]) + cumulative[key] = np.asarray(evidence[key]["cumulative_absolute_defect_C"]) + cumulative_uncertainty[key] = np.asarray(evidence[key]["cumulative_quadrature_uncertainty_estimate_C"]) + while sample_cursor < len(sample_times) and sample_times[sample_cursor] <= t: + raw, tangent = query(float(sample_times[sample_cursor])) + emit({"kind": "requested_sample", "segment": segment.id, "raw": observation_payload(raw), + "physical_tangent": observation_payload(tangent)}) + sample_cursor += 1 + restored = solver.step(t, method="normal", tstop=segment.end) + counts["normal_queries"] += 1 + if not restored.success or float(restored.t) != t: + raise ContractError("native_endpoint_cursor_restore_failed") + restored_point = adapter.point(t, restored.y) + restored_raw = model.observe(restored_point, model.S*np.asarray(restored.yp), rate_a, "endpoint_restore", right_raw.ports.side) + checked_pair(restored_raw, model.observe(restored_point, model.tangent_rate(restored_point, rate_a), + rate_a, "physical_tangent", right_raw.ports.side)) + interval = {"kind": "interval_charge", "segment": segment.id, "left_time": left.time, + "right_time": t, "numerical_origin": origin, "ledgers": evidence} + emit(interval) + if not all(v["passed"] for v in evidence.values()): + failure_context = interval + raise ContractError("native_interval_or_prefix_charge_budget") + last_accepted = last_numerical + finally: + active = False + z = native["z"].copy() + left, left_raw, left_tangent = right, right_raw, right_tangent + if sample_cursor != len(sample_times): raise ContractError("missing_frozen_observation") + return {"status": "completed_bounded_native_pilot", "request_sha256": request_id, + "counts": counts, "elapsed_s": time.perf_counter()-started, + "last_numerical": last_numerical, "last_physically_accepted": last_accepted, + "cumulative_absolute_charge_defects_C": {k:v.tolist() for k,v in cumulative.items()}, + "cumulative_quadrature_uncertainty_estimates_C": {k:v.tolist() for k,v in cumulative_uncertainty.items()}, + "prefix_total_charge_bounds_C": {k:(cumulative[k]+cumulative_uncertainty[k]).tolist() for k in cumulative}, + "complete_protocol": True, "scientific_or_G2_qualification": False} + except BaseException as error: + result = {"status": "failed_bounded_native_pilot", "request_sha256": request_id, + "reason": str(error), "exception": type(error).__name__, "traceback": traceback.format_exc(), + "counts": counts, "elapsed_s": time.perf_counter()-started, + "first_failure": failure_context or last_attempt, "last_numerical": last_numerical, + "last_physically_accepted": last_accepted, + "cumulative_absolute_charge_defects_C": {k:v.tolist() for k,v in cumulative.items()}, + "cumulative_quadrature_uncertainty_estimates_C": {k:v.tolist() for k,v in cumulative_uncertainty.items()}, + "prefix_total_charge_bounds_C": {k:(cumulative[k]+cumulative_uncertainty[k]).tolist() for k in cumulative}, + "cumulative_scope": "includes the first failed attempted interval if one was fully evaluated", + "complete_protocol": False, "scientific_or_G2_qualification": False} + emit({"kind": "first_failure", "failure": result}) + return result + + +def _fraction_float_bound(value: Fraction, *, upper: bool) -> float: + """A directed binary64 endpoint for one finite, nonnegative rational.""" + if value < 0: + raise ContractError("negative_rounding_bound") + result = float(value) + if not math.isfinite(result): + raise ContractError("rounding_bound_overflow") + exact = Fraction.from_float(result) + if upper and exact < value: + result = math.nextafter(result, math.inf) + elif not upper and exact > value: + result = math.nextafter(result, -math.inf) + return result + + +def affine_wrms_policy(model: AffineCoupledSlab, previous_controls: Mapping) -> dict: + """Conservative local weights using exact encoded physical-SI inputs. + + Anew+rnew*abs(u) <= Aold+rold*abs(xref+u), including directed + rounding of atol_z=Anew/S. This is not a global accuracy certificate. + """ + old_r = Fraction.from_float(float(previous_controls["rtol"])) + old_atol = np.asarray(previous_controls["atol"], float) + if old_r <= 0 or old_atol.shape != model.S.shape or np.any(old_atol <= 0): + raise ContractError("invalid_original_error_weights") + references = [] + for variable in model.layout.variables: + value = model.field(model.reference, variable.id) + references.extend(Fraction.from_float(float(h))+Fraction.from_float(float(l)) + for h, l in zip(value.high, value.low)) + scales = [Fraction.from_float(float(s)) for s in model.S] + old_a = [s*Fraction.from_float(float(a)) for s, a in zip(scales, old_atol)] + upper = [_fraction_float_bound(abs(x), upper=True) for x in references] + upper_q = [Fraction.from_float(x) for x in upper] + r_bound = min([old_r]+[a/(2*u) for a, u in zip(old_a, upper_q) if u]) + rnew = _fraction_float_bound(r_bound, upper=False) + if rnew <= 0: + raise ContractError("no_positive_representable_conservative_rtol") + r = Fraction.from_float(rnew) + rows, atol = [], [] + for index, (x, s, a, u) in enumerate(zip(references, scales, old_a, upper_q)): + anew = a-r*u + scaled = _fraction_float_bound(anew/s, upper=False) + encoded_a = s*Fraction.from_float(scaled) + checks = {"reference_bound": u >= abs(x), "positive_atol": scaled > 0, + "half_absolute_budget": r*u <= a/2, "rtol_not_larger": r <= old_r, + "encoded_atol_not_larger": encoded_a <= anew, + "triangle_inequality_margin": encoded_a+r*u <= a} + if not all(checks.values()): + raise ContractError("conservative_affine_weight_certificate_failed") + rows.append({"index": index, "reference_exact": str(x), "scale_hex": float(s).hex(), + "old_physical_atol_exact": str(a), "reference_upper_hex": float(u).hex(), + "new_physical_atol_bound_exact": str(anew), + "encoded_physical_atol_exact": str(encoded_a), + "atol_z_hex": scaled.hex(), "checks": checks}) + atol.append(scaled) + return {"schema": "solarlab.affine-wrms-proof.v1", "rtol": rnew, "atol": atol, + "rtol_hex": rnew.hex(), "rtol_upper_exact": str(r_bound), + "old_controls_sha256": digest(dict(previous_controls)), "components": rows, + "bound": "S*atol_z+rnew*abs(u)<=S*old_atol_z+rold*abs(xref+u)", + "construction": "rnew<=rold; rnew*Uref<=Aold/2; directed-down atol_z=(Aold-rnew*Uref)/S", + "scope": "exact represented map and local denominators; finite S*z/S*zdot roundoff recorded separately", + "global_accuracy_or_conservation_certified": False} + + +def affine_scaling_roundoff(model: AffineCoupledSlab, z, zdot) -> dict: + """Exact-rational audit of the two finite binary64 adapter products.""" + vectors = {"u": frozen_array(z), "udot": frozen_array(zdot)} + result = {"map": "binary64(S*z), binary64(S*zdot); not exact real multiplication", + "certifies_global_physical_error": False} + for name, values in vectors.items(): + if values.shape != model.S.shape: + raise ContractError("scaling_audit_shape") + actual = model.S*values + if not np.all(np.isfinite(actual)): + raise ContractError("nonfinite_scaled_physical_input") + bounds = [] + for i, (s, v, a) in enumerate(zip(model.S, values, actual)): + error = abs(Fraction.from_float(float(s))*Fraction.from_float(float(v)) + -Fraction.from_float(float(a))) + if error: + bounds.append([i, _fraction_float_bound(error, upper=True).hex()]) + result[name] = {"nonzero_component_error_upper_hex": bounds, + "all_other_component_products_exact": True} + return result + + +def prepare_affine_native_request(model: AffineCoupledSlab, + segments: tuple[ProtocolSegment, ...], + previous_request: Mapping) -> dict: + """Freeze one full affine pilot from its retained absolute-state request.""" + if not isinstance(model, AffineCoupledSlab) or len(segments) != 3: + raise ContractError("affine_first_native_scope") + old = json.loads(json.dumps(dict(previous_request))) + qualification_policy = old.get("qualification_policy") + if qualification_policy is None: + if model.intervals != 8: + raise ContractError("affine_first_native_scope") + else: + qualification_policy = _qualification_scope(model, segments, qualification_policy) + from scripts.benchmarks.qualification_policy import check_common, raw_controls + check_common(old, qualification_policy) + if old["controls"] != raw_controls(qualification_policy, old["numeric_packet"]): + raise ContractError("qualification_raw_denominator_origin") + if old["case_id"] != model.definition.id or digest(old["segments"]) != digest([asdict(s) for s in segments]): + raise ContractError("affine_source_protocol_changed") + for key, value in asdict(model.definition).items(): + if key != "source_path" and old["numeric_packet"]["definition"][key] != value: + raise ContractError("affine_material_or_initial_data_changed:"+key) + packet = model.numeric_packet() + for key in ("x_m", "cell_edges_m", "volumes_m3", "face_areas_m2"): + if old["numeric_packet"][key] != packet[key]: + raise ContractError("affine_geometry_changed:"+key) + proof = affine_wrms_policy(model, old["controls"]) + controls = dict(old["controls"]) + controls.update(rtol=proof["rtol"], atol=proof["atol"]) + controls.pop("constraints_idx", None) + controls.pop("constraints_type", None) + z0 = np.zeros(model.layout.size) + initial = AffineScaledIDAAdapter(model, segments[0]).point(segments[0].start, z0) + initial_rate = model.tangent_rate(initial, segments[0].inputs(segments[0].start)[1]) + zdot0 = initial_rate/model.S + request = {"schema": "solarlab.affine-native-request.v1", "case_id": model.definition.id, + "prior_request_sha256": digest(old), "numeric_packet": packet, + "segments": [asdict(s) for s in segments], "z0": z0.tolist(), "zdot0": zdot0.tolist(), + "initial_tangent_rate_SI": initial_rate.tolist(), + "initial_supplied_rate_SI": (model.S*zdot0).tolist(), + "initial_scaling_roundoff": affine_scaling_roundoff(model, z0, zdot0), + "actual_initial_identity": initial.identity, + "controls": controls, "weight_certificate": proof, + "budgets": old["budgets"], "observation_times": old["observation_times"], + "quadrature": old["quadrature"], "mandatory": old["mandatory"], + "observation_policy": old["observation_policy"], + "quadrature_uncertainty_scope": old["quadrature_uncertainty_scope"], + "physical_domain_policy": { + "admissible": "n,p>0; 0<=c dict: + """Affine finite-g and inventory checks at an unchanged physical state.""" + from scripts.benchmarks.precision_prototype import DD + + m = model.definition + evaluation = model.observation_evaluation(point) if evaluation is None else evaluation + values = model.evaluated_values(point, evaluation) + bound = model.affine_constraint_error(point, evaluation=evaluation) + g = values.algebraic.as_dd() + contact = np.asarray(bound["contact_density_correction_m3"])/np.array([m.n_eq, m.n_eq, m.p_eq, m.p_eq]) + poisson = abs(g[:model.count-2]).sum() + poisson_charge = float(poisson.hi+poisson.lo) + charge = max(poisson_charge, max(bound["metal_charge_error_bound_C"]), + abs(bound["body_charge_correction_C"])) + metrics = {"state_identity": point.identity, "state_changed": False, + "constraint_potential_bound_V": bound["potential_error_bound_V"], + "constraint_charge_bound_C": charge, + "Poisson_absolute_constraint_charge_C": poisson_charge, + "metal_charge_error_bound_C": bound["metal_charge_error_bound_C"], + "body_charge_error_bound_C": abs(bound["body_charge_correction_C"]), + "contact_max_relative": float(np.max(np.abs(contact))), + "factorizations": model.factorizations, "nonlinear_remainder": 0.0, + "trajectory_error_certified": False} + passed = (metrics["constraint_potential_bound_V"] <= budgets["constraint_potential_V"] + and charge <= budgets["constraint_charge_C"] + and metrics["contact_max_relative"] <= budgets["contact_relative"]) + if m.dynamic: + c, f = (model.field(point, name).as_dd() for name in ("c_m3", "f")) + change = model.linear_action("ion_inventory_change", point).value.as_dd()[0] + reference = model.linear_action("ion_inventory", model.reference).value.as_dd()[0] + relative = abs(change/reference) + ratio = c/m.ion_capacity + metrics.update(ion_inventory_relative=float(relative.hi+relative.lo), + ion_inventory_change_words=[float(change.hi), float(change.lo)], + maximum_site_fraction=float(np.max(ratio.hi+ratio.lo)), + minimum_f=float(np.min(f.hi+f.lo)), maximum_f=float(np.max(f.hi+f.lo))) + passed = (passed and metrics["ion_inventory_relative"] <= budgets["ion_inventory_relative"] + and metrics["maximum_site_fraction"] <= budgets["maximum_site_fraction"]) + metrics["passed"] = bool(passed) + return metrics + + +def affine_observation_payload(reading: AffineDeviceObservation) -> dict: + """Compact explicit DD observables; physical state is stored by history.""" + def words(value): + return {"high_hex": [float(x).hex() for x in np.ravel(value.high)], + "low_hex": [float(x).hex() for x in np.ravel(value.low)]} + typed = isinstance(reading.derivative, RateView) + displayed = reading.derivative.words[0] if typed else reading.derivative + payload = {"point_identity": reading.point.identity, "origin": reading.origin, + "event_side": reading.event_side, + "physical_ydot_hex": [float(x).hex() for x in displayed], + **{name: words(getattr(reading, name)) for name in + ("metal_charge", "conduction_inward", "total_inward", "body_charge", + "body_charge_rate", "gauss_defect", "interior_total_current")}, + "tangent_residual_hex": [float(x).hex() for x in reading.tangent_residual]} + if typed: + rate = reading.derivative + payload.update( + physical_ydot_role="first word for display and old field readers; not the physical consumer input", + physical_rate={ + "identity": rate.identity, "point_identity": rate.point.identity, + "source_identity": rate.source_identity, "mapping_identity": rate.mapping_identity, + "frame": rate.origin, "observed_origin": reading.origin, + "values_words_hex": [[float(v).hex() for v in word] for word in rate.words], + "raw_coordinates_hex": [float(v).hex() for v in rate.raw_coordinates], + "raw_rate_hex": [float(v).hex() for v in rate.raw_rate], + "input_rate_hex": [float(v).hex() for v in rate.input_rate], + }, + charge_integrands=words(reading.charge_integrands), + linear_actions={name: { + "form_identity": action.form_identity, "operand_identity": action.operand_identity, + "source_identities": list(action.source_identities), + "arithmetic_policy": action.arithmetic_policy, + "absolute_error_bound_hex": [float(v).hex() for v in action.absolute_error_bound.values], + "error_scope": "represented sources and coefficient arithmetic only; source-model and continuous integration errors excluded", + } for name, action in reading.linear_actions.items()}, + ) + return payload + + +@dataclass(frozen=True, init=False) +class AffineSamplingContext: + """Own one immutable request snapshot and its exact observation digests. + + Native sampling uses the context-owned frozen segments. External segment + objects still take the canonical comparison path, so a mutable caller + cannot receive a digest cached for an earlier value. + """ + + _model: AffineCoupledSlab = field(repr=False) + _encoded_request: bytes = field(repr=False) + source_identity: str + reference_identity: str + request_sha256: str + controls_sha256: str + segments: tuple[ProtocolSegment, ...] + segment_sha256: tuple[str, ...] + budgets: Mapping + + def __init__(self, model: AffineCoupledSlab, request: Mapping): + encoded = json.dumps(dict(request), sort_keys=True, separators=(",", ":"), + allow_nan=False).encode() + owned = json.loads(encoded) + if owned["case_id"] != model.definition.id: + raise ContractError("sampling_context_case_mismatch") + segments = tuple(ProtocolSegment(s["id"], s["start"], s["end"], + tuple(s["voltage"]), tuple(s["photons"])) + for s in owned["segments"]) + if len({s.id for s in segments}) != len(segments): + raise ContractError("sampling_context_duplicate_segment") + + def immutable(value): + if isinstance(value, dict): + return MappingProxyType({k: immutable(v) for k, v in value.items()}) + if isinstance(value, list): + return tuple(immutable(v) for v in value) + return value + + for name, value in { + "_model": model, "_encoded_request": encoded, + "source_identity": model.source_identity, + "reference_identity": model.reference.identity, + "request_sha256": sha256(encoded).hexdigest(), + "controls_sha256": digest(owned["controls"]), + "segments": segments, + "segment_sha256": tuple(digest(s) for s in owned["segments"]), + "budgets": immutable(owned["budgets"]), + }.items(): + object.__setattr__(self, name, value) + + if "qualification_policy" in owned: + policy = _qualification_scope(model, segments, owned["qualification_policy"]) + object.__setattr__(self, "qualification_scope", + (model.definition.id, policy["intervals"], policy["coordinates"])) + + def request_copy(self) -> dict: + """Return an independent copy for a controller's private working data.""" + return json.loads(self._encoded_request) + + def segment_digest(self, model: AffineCoupledSlab, segment: ProtocolSegment) -> str: + if (model is not self._model or model.source_identity != self.source_identity + or model.reference.identity != self.reference_identity): + raise ContractError("foreign_or_stale_sampling_context") + for bound, expected in zip(self.segments, self.segment_sha256): + if segment is bound: + return expected + if segment.id == bound.id: + if digest(asdict(segment)) == expected: + return expected + break + raise ContractError("native_history_segment_binding") + + +def affine_native_sample(model: AffineCoupledSlab, history: AffineDeviceHistory, + request: Mapping | AffineSamplingContext, segment: ProtocolSegment, native: Mapping, + predecessor: Point, *, origin: str): + """Bind a supplied solver snapshot to its protocol and predecessor. + + This consumes a snapshot; it neither invokes nor simulates IDA. + The caller must preserve the returned pair before interpolation. + """ + if history.model is not model: + raise ContractError("foreign_device_history") + context = request if isinstance(request, AffineSamplingContext) else AffineSamplingContext(model, request) + segment_sha256 = context.segment_digest(model, segment) + index = next(i for i, s in enumerate(context.segments) if s.id == segment.id) + t = float(native["time"]) + inputs, input_rate = segment.inputs(t) + if not native["success"]: + raise ContractError("native_snapshot_unsuccessful") + if origin == "segment_initial": + if t != segment.start or predecessor.time != t: + raise ContractError("native_segment_initial_time") + side = "continuous" if index == 0 else "right" + elif origin in {"native", "stop_output", "endpoint_restore", "interpolant"}: + if not segment.start <= predecessor.time < t <= segment.end: + raise ContractError("native_history_predecessor_interval") + side = "left" if t == segment.end else "continuous" + else: + raise ContractError("native_history_origin") + z, zdot = frozen_array(native["z"]), frozen_array(native["zdot"]) + if z.shape != model.S.shape or zdot.shape != model.S.shape: + raise ContractError("native_snapshot_shape") + cumulative, rate = model.S*z, model.S*zdot + point, increment, sample = history.build_sample( + cumulative, t, inputs, predecessor, rate, input_rate, + origin=origin, event_side=side, raw_z=z, raw_zdot=zdot) + if origin == "segment_initial" and any(np.any(increment.field(v.id).as_dd() != 0) + for v in model.layout.variables): + raise ContractError("native_restart_changed_physical_state") + evaluation = model.observation_evaluation(point, state_actions=True) + raw = model.observe(point, rate, input_rate, origin, side, evaluation=evaluation) + tangent = model.observe(point, model.tangent_rate(point, input_rate, evaluation=evaluation), input_rate, + "physical_tangent", side, evaluation=evaluation) + difference = abs(raw.total_inward.as_dd()-tangent.total_inward.as_dd()) + record = {"kind": "affine_rate_pair", "request_sha256": context.request_sha256, + "segment_id": segment.id, "segment_sha256": segment_sha256, + "controls_sha256": context.controls_sha256, "history": sample, + "input_slope_hex": [float(x).hex() for x in input_rate], + "raw": affine_observation_payload(raw), + "physical_tangent": affine_observation_payload(tangent), + "scaling_roundoff": affine_scaling_roundoff(model, z, zdot), + "state_checks": affine_state_quality_evidence(model, point, context.budgets, evaluation=evaluation), + "current_rate_gap_A": float(np.max(difference.hi+difference.lo))} + record["record_sha256"] = digest(record) + return point, increment, raw, tangent, record + + +def affine_charge_accounting(model, delta, integrals, previous_defects, + previous_uncertainties, budget): + """Exact retained-word gates with conservative persisted cumulative bounds. + + Float displays never participate in acceptance. The retained DD integrals + still have their original quadrature/arithmetic uncertainty limitations; + rational comparison does not turn them into continuum error certificates. + """ + prior_d, prior_u = frozen_array(previous_defects), frozen_array(previous_uncertainties) + shape = np.shape(delta.hi) + if (len(shape) != 1 or prior_d.shape != shape or prior_u.shape != shape or len(integrals) != 3 + or any(np.shape(v.hi) != shape for v in integrals) + or np.any(prior_d < 0) or np.any(prior_u < 0) + or not math.isfinite(budget) or budget <= 0): + raise ContractError("invalid_affine_charge_accounting") + + def exact_words(value): + return [Fraction.from_float(float(h))+Fraction.from_float(float(l)) + for h, l in zip(value.hi, value.lo)] + + def upper(values): + return [_fraction_float_bound(v, upper=True) for v in values] + + d = exact_words(delta) + estimates = [exact_words(value) for value in integrals] + defect = [abs(a-b) for a, b in zip(d, estimates[-1])] + uncertainty = [abs(a-b) for a, b in zip(estimates[-1], estimates[-2])] + cd = [Fraction.from_float(float(a))+b for a, b in zip(prior_d, defect)] + cu = [Fraction.from_float(float(a))+b for a, b in zip(prior_u, uncertainty)] + interval = [a+b for a, b in zip(defect, uncertainty)] + prefix = [a+b for a, b in zip(cd, cu)] + budget_q = Fraction.from_float(float(budget)) + # Preserve the exact encoded reference allocation used by the old gate. + reference_q = Fraction.from_float(float(budget/3)) + checks = {"interval_total": all(v <= budget_q for v in interval), + "prefix_total": all(v <= budget_q for v in prefix), + "interval_reference_share": all(v <= reference_q for v in uncertainty), + "prefix_reference_share": all(v <= reference_q for v in cu)} + projected = [[float(v) for v in row] for row in [d]+estimates] + projection = [sum(abs(row[i]-Fraction.from_float(view[i])) + for row, view in zip([d]+estimates, projected)) for i in range(shape[0])] + return {"delta_charge_C": projected[0], "integrals_C": projected[1:], + "absolute_defect_C": upper(defect), "quadrature_uncertainty_estimate_C": upper(uncertainty), + "cumulative_absolute_defect_C": upper(cd), + "cumulative_quadrature_uncertainty_estimate_C": upper(cu), + "interval_total_bound_C": upper(interval), "prefix_total_bound_C": upper(prefix), + "reference_estimate": "absolute16/32 difference; not a rigorous continuum certificate", + "charge_budget_C": budget, "reference_allocation_C": budget/3, + "output_projection_error_estimate_C": upper(projection), + "display_projections_used_for_acceptance": False, + "acceptance_arithmetic": "exact Fraction sums of retained DD words; prior cumulative inputs are outward-safe nonnegative binary64 bounds", + "exact_interval_total_C": [str(v) for v in interval], + "exact_prefix_total_C": [str(v) for v in prefix], + "checks": checks, "passed": all(checks.values()), + "delta_charge_words": {"high": np.asarray(delta.hi).tolist(), "low": np.asarray(delta.lo).tolist()}, + "integral_words": [{"high": np.asarray(v.hi).tolist(), "low": np.asarray(v.lo).tolist()} for v in integrals]} + + +_IDA_COUNTER_FIELDS = ("num_steps", "residual_evals", "linear_setups", "error_test_fails", + "nonlinear_iters", "nonlinear_conv_fails", "jacobian_evals") + + +def ida_statistics_snapshot(solver, segment_id: str, generation: int, phase: str, + requested_time: float, returned_time=None, *, before=None, + logical_initialization=False) -> dict: + """Read public native statistics with explicit time and initialization scope. + + Current method fields can be sentinels or retained values before a first + step; they are never filled or relabelled as last-used method fields. + Counter differences include rejected work, not an inferred Newton path. + """ + reader = getattr(solver, "statistics", None) + if not callable(reader): + raise ContractError("public_native_statistics_unavailable") + collected = reader() + if "parent_weight_state" in collected: + from scripts.benchmarks.native_observation import observation_record + collected = dict(collected, parent_weight_state=observation_record(collected["parent_weight_state"])) + raw = json.loads(json.dumps(collected, allow_nan=False)) + generation_field = "logical_initialization_index" if logical_initialization else "initialization_generation" + record = {"kind": "native_statistics", "segment_id": segment_id, + generation_field: generation, "phase": phase, "raw_statistics": raw, + "validation_state": "unvalidated_raw_statistics"} + def reject(reason, fields=()): + previous_raw = {} if before is None else before["raw_statistics"] + differences = {k: raw[k]-previous_raw[k] for k in _IDA_COUNTER_FIELDS + if type(raw.get(k)) is int and type(previous_raw.get(k)) is int} + error = ContractError(reason) + error.native_statistics_evidence = {"before": before, "after": record, + "raw_counter_differences": differences, "rejected_fields": list(fields)} + raise error + invalid = [k for k in _IDA_COUNTER_FIELDS if type(raw.get(k)) is not int or raw[k] < 0] + if invalid: + reject("invalid_native_statistics_counter", invalid) + if (type(generation) is not int or generation < 1 + or not math.isfinite(raw["current_time"])): + reject("invalid_native_statistics_context") + record = { + "kind": "native_statistics", "segment_id": segment_id, + generation_field: generation, "phase": phase, + "requested_time_hex": float(requested_time).hex(), + "returned_time_hex": None if returned_time is None else float(returned_time).hex(), + "internal_time_hex": float(raw["current_time"]).hex(), + "method_state_valid": raw["num_steps"] > 0, + "raw_statistics": raw, + "counter_scope": "since this initialization; includes attempted and rejected work", + "method_scope": "raw native current/last fields; no inferred iteration branch", + } + if logical_initialization: + record["initialization_scope"] = "controller initialization ordinal; source-owned snapshots separately carry native owner/generation" + owned = (type(raw.get("observation_owner")) is str and bool(raw["observation_owner"]) + and type(raw.get("observation_generation")) is int and raw["observation_generation"] > 0) + if logical_initialization and owned: + # The maintained init_step window uses calc_initcond=None. IDAReInit + # resets the six core counters; idaLsInitialize resets nje on solve. + record["jacobian_counter_phase"] = ("pre_first_accepted_step" if raw["num_steps"] == 0 + else "current_initialization") + record["counter_scope"] = "core counters since initialization; raw Jacobian counter follows linear-solver setup" + if before is not None: + previous = before["raw_statistics"] + raw_delta = {k: raw[k]-previous[k] for k in _IDA_COUNTER_FIELDS} + if (before["segment_id"] != segment_id + or before.get(generation_field) != generation + or any(raw.get(k) != previous.get(k) for k in ("observation_owner", "observation_generation"))): + reject("native_statistics_generation_mismatch") + delta = dict(raw_delta) + if (logical_initialization and owned and phase == "after_onestep" + and before["phase"] == "before_onestep" and previous["num_steps"] == 0 + and raw["num_steps"] == 1 + and before.get("jacobian_counter_phase") == "pre_first_accepted_step"): + # Use the observed current total after the source-defined reset, + # even when it exceeds the retained prior value; never alter raw. + delta["jacobian_evals"] = raw["jacobian_evals"] + record["jacobian_work_basis"] = "first_solve_current_total" + if any(v < 0 for v in delta.values()): + reject("native_statistics_counter_regressed", [k for k, v in delta.items() if v < 0]) + record["work_since_before"] = delta + return record + + +def run_affine_native_pilot(model: AffineCoupledSlab, segments: tuple[ProtocolSegment, ...], + request: Mapping, admission: Mapping, emit) -> dict: + """One admitted full protocol, retaining every raw returned IDA pair. + + Physical populations are never projected. Tangent observations use the + unchanged raw state and have separate labels and charge ledgers. The + outer frozen launcher owns the independent wall/RSS/total-output guard. + """ + request_id = digest(dict(request)) + if (admission.get("request_sha256") != request_id + or not str(admission.get("coordinator_message", "")).startswith("msg_")): + raise ContractError("affine_native_pilot_not_admitted") + bindings = admission.get("source_sha256", {}) + if str(Path(__file__).resolve()) not in bindings: + raise ContractError("affine_native_executing_kernel_not_bound") + for path, expected in bindings.items(): + if sha256(Path(path).read_bytes()).hexdigest() != expected: + raise ContractError("affine_native_source_changed") + if not isinstance(model, AffineCoupledSlab) or model.intervals != 8 or model.layout.size > 45: + raise ContractError("affine_native_scope") + if (digest(model.numeric_packet()) != digest(request["numeric_packet"]) + or digest([asdict(s) for s in segments]) != digest(request["segments"])): + raise ContractError("affine_native_numeric_packet_changed") + if any(k in request["controls"] for k in ("constraints_idx", "constraints_type")): + raise ContractError("absolute_population_constraints_on_remainders") + sampling = AffineSamplingContext(model, request) + if sampling.request_sha256 != request_id: + raise ContractError("affine_native_request_changed_during_snapshot") + request = sampling.request_copy() + segments = sampling.segments + from sksundae.ida import IDA + from scripts.benchmarks.precision_prototype import DD + + started = time.perf_counter() + budgets, controls = request["budgets"], request["controls"] + counts = {"residual": 0, "jacobian": 0, "native_steps": 0, "normal_queries": 0, + "history_bytes": 0} + cumulative = {key: np.zeros(3) for key in ("raw", "physical_tangent")} + cumulative_u = {key: np.zeros(3) for key in cumulative} + first_failure = last_attempt = last_numerical = last_accepted = None + history = AffineDeviceHistory(model) + z = np.asarray(request["z0"], float) + predecessor = model.reference + rows, columns = model.graph.edges().T + sparsity = csc_matrix((np.ones(len(rows)), (rows, columns)), shape=model.graph.shape) + differential = np.unique(model.mass.tocoo().col) + algebraic = np.setdiff1d(np.arange(model.layout.size), differential).tolist() + + def save(record): + try: + position = emit_record(record, emit, logical_bytes=counts["history_bytes"], + total_output_bytes=budgets["total_output_bytes"]) + except HistoryLimitError as error: + raise ContractError("affine_native_history_budget") from error + counts["history_bytes"] = position.logical_bytes + if position.encoding == "gzip": + counts["history_encoded_bytes"] = position.encoded_bytes + + def resource_check(): + if time.perf_counter()-started > budgets["wall_s"]: + raise ContractError("affine_native_wall_budget") + if counts["residual"] > budgets["residual_calls"]: + raise ContractError("affine_native_residual_budget") + if counts["native_steps"] > budgets["native_steps"]: + raise ContractError("affine_native_step_budget") + if resource.getrusage(resource.RUSAGE_SELF).ru_maxrss > budgets["rss_bytes"]: + raise ContractError("affine_native_rss_budget") + + def snapshot_receipt(phase, segment, native): + return {"phase": phase, "segment_id": segment.id, "time_hex": float(native["time"]).hex(), + "success": native["success"], "status": native["status"], "message": native["message"], + "z_hex": [float(v).hex() for v in native["z"]], + "zdot_hex": [float(v).hex() for v in native["zdot"]]} + + def checked_sample(segment, native, previous, origin): + nonlocal first_failure + resource_check() + pair = affine_native_sample(model, history, sampling, segment, native, previous, origin=origin) + record = pair[-1] + save(record) + if not record["state_checks"]["passed"]: + if first_failure is None: + first_failure = {"phase": "physical_state_quality", "record": record} + raise ContractError("affine_native_or_interpolant_state_quality") + if record["current_rate_gap_A"] > budgets["current_A"]/3: + if first_failure is None: + first_failure = {"phase": "raw_tangent_current", "record": record} + raise ContractError("affine_raw_tangent_current_budget") + return pair + + def pointer(pair): + return {"record_sha256": pair[-1]["record_sha256"], "point_identity": pair[0].identity, + "time_s": pair[0].time, "origin": pair[2].origin, + "segment_id": pair[-1]["segment_id"]} + + try: + save({"kind": "affine_reference", "request_sha256": request_id, + "reference_digest": history.reference_digest, "reference": history.reference_record}) + for segment_index, segment in enumerate(segments): + adapter = AffineScaledIDAAdapter(model, segment) + + def residual(t, values, rates, output): + nonlocal first_failure + counts["residual"] += 1 + try: + resource_check() + output[:] = adapter.residual(t, values, rates) + except BaseException as error: + if first_failure is None: + first_failure = {"phase": "residual", "segment_id": segment.id, + "time_hex": float(t).hex(), "reason": str(error), + "z_hex": [float(v).hex() for v in values], + "zdot_hex": [float(v).hex() for v in rates]} + save({"kind": "first_callback_failure", "failure": first_failure}) + raise + + def jacobian(t, values, rates, residual_value, cj, output): + nonlocal first_failure + counts["jacobian"] += 1 + try: + resource_check() + save({"kind": "jacobian_callback_context", "segment_id": segment.id, + "initialization_generation": segment_index+1, + "callback_index": counts["jacobian"], "request_sha256": request_id, + "time_hex": float(t).hex(), "cj_hex": float(cj).hex(), + "z_hex": [float(v).hex() for v in values], + "zdot_hex": [float(v).hex() for v in rates]}) + matrix = adapter.jacobian(t, values, cj, rates) + if (matrix.nnz != model.graph.nnz or not np.array_equal(matrix.indices, model.graph.indices) + or not np.array_equal(matrix.indptr, model.graph.indptr) + or output.shape != (model.graph.nnz,)): + raise ContractError("affine_native_csc_slot_mismatch") + output[:] = matrix.data + except BaseException as error: + if first_failure is None: + first_failure = {"phase": "jacobian", "segment_id": segment.id, + "time_hex": float(t).hex(), "cj_hex": float(cj).hex(), + "reason": str(error), "z_hex": [float(v).hex() for v in values], + "zdot_hex": [float(v).hex() for v in rates]} + save({"kind": "first_callback_failure", "failure": first_failure}) + raise + + initial_point = adapter.point(segment.start, z) + _, adot = segment.inputs(segment.start) + initial_zdot = (np.asarray(request["zdot0"], float) if segment_index == 0 else + model.tangent_rate(initial_point, adot)/model.S) + last_attempt = {"phase": "segment_initialization", "segment_id": segment.id, + "time_hex": segment.start.hex(), "z_hex": [float(v).hex() for v in z], + "zdot_hex": [float(v).hex() for v in initial_zdot]} + save({"kind": "initialization_input", **last_attempt}) + solver = IDA(residual, jacfn=jacobian, sparsity=sparsity, algebraic_idx=algebraic, **controls) + initialized = snapshot_solver_result(solver.init_step(segment.start, z, initial_zdot)) + last_attempt = snapshot_receipt("initialization_return", segment, initialized) + save(ida_statistics_snapshot(solver, segment.id, segment_index+1, + "initialization_return", segment.start, initialized["time"])) + if (not initialized["success"] or initialized["time"] != segment.start + or not np.array_equal(initialized["z"], z) + or not np.array_equal(initialized["zdot"], initial_zdot)): + raise ContractError("affine_initialization_changed_state_or_failed") + left_pair = checked_sample(segment, initialized, predecessor, "segment_initial") + left = left_pair[0] + last_numerical = pointer(left_pair) + if last_accepted is None: + last_accepted = last_numerical + sample_times = np.asarray(request["observation_times"][segment.id]) + cursor = 0 + while cursor < len(sample_times) and sample_times[cursor] == segment.start: + save({"kind": "requested_sample", **last_numerical}) + cursor += 1 + while left.time < segment.end: + resource_check() + if counts["native_steps"] >= budgets["native_steps"]: + raise ContractError("affine_native_step_budget") + last_attempt = {"phase": "native_step", "segment_id": segment.id, + "target_time_hex": segment.end.hex(), "previous": last_numerical} + before_stats = ida_statistics_snapshot(solver, segment.id, segment_index+1, + "before_onestep", segment.end) + save(before_stats) + try: + native = snapshot_solver_result(solver.step(segment.end, method="onestep", tstop=segment.end)) + except BaseException: + try: + save(ida_statistics_snapshot(solver, segment.id, segment_index+1, + "onestep_exception", segment.end, before=before_stats)) + except Exception as stats_error: + save({"kind": "native_statistics_unavailable", "segment_id": segment.id, + "initialization_generation": segment_index+1, + "phase": "onestep_exception", "reason": str(stats_error)}) + raise + save(ida_statistics_snapshot(solver, segment.id, segment_index+1, + "after_onestep", segment.end, native["time"], before=before_stats)) + last_attempt = snapshot_receipt("native_return", segment, native) + if not native["success"]: + raise ContractError("affine_native_solver_failure:"+native["message"]) + t = native["time"] + if not left.time < t <= segment.end: + raise ContractError("affine_native_interval_not_monotone") + counts["native_steps"] += 1 + origin = "stop_output" if native["status"] == 1 else "native" + right_pair = checked_sample(segment, native, left, origin) + right = right_pair[0] + last_numerical = pointer(right_pair) + cache = {left.time: left_pair, t: right_pair} + active = True + + def query(when): + nonlocal last_attempt + if not active or not left.time <= when <= t: + raise ContractError("expired_or_foreign_affine_interval") + if when in cache: + return cache[when] + resource_check() + normal = snapshot_solver_result(solver.step(when, method="normal", tstop=segment.end)) + counts["normal_queries"] += 1 + last_attempt = snapshot_receipt("interpolant_return", segment, normal) + if not normal["success"] or normal["time"] != when: + raise ContractError("affine_native_dense_query_failed") + pair = checked_sample(segment, normal, left, "interpolant") + cache[when] = pair + return pair + + try: + integrals = {key: [] for key in cumulative} + for order in (8, 16, 32): + table = request["quadrature"][str(order)] + h = t-left.time + totals = {key: DD(np.zeros(3)) for key in cumulative} + for node, weight in zip(table["nodes"], table["weights"]): + pair = query(left.time+h*(float(node)+1)/2) + for key, reading in zip(cumulative, pair[2:4]): + current = model.arithmetic.concatenate(( + reading.conduction_inward.as_dd().sum().reshape(1), + reading.total_inward.as_dd()-reading.conduction_inward.as_dd())) + totals[key] += DD(h)*(float(weight)/2)*current + for key in cumulative: + integrals[key].append(totals[key]) + changes = model.finite_physical_changes(left, right, right_pair[1]) + delta = model.arithmetic.concatenate((changes["body_charge_C"].as_dd().reshape(1), + changes["metal_charge_C"].as_dd())) + evidence = {} + for key in cumulative: + evidence[key] = affine_charge_accounting(model, delta, integrals[key], cumulative[key], + cumulative_u[key], budgets["charge_C"]) + cumulative[key] = np.asarray(evidence[key]["cumulative_absolute_defect_C"]) + cumulative_u[key] = np.asarray(evidence[key]["cumulative_quadrature_uncertainty_estimate_C"]) + while cursor < len(sample_times) and sample_times[cursor] <= t: + save({"kind": "requested_sample", **pointer(query(float(sample_times[cursor])))}) + cursor += 1 + restored = snapshot_solver_result(solver.step(t, method="normal", tstop=segment.end)) + counts["normal_queries"] += 1 + last_attempt = snapshot_receipt("endpoint_restore_return", segment, restored) + if not restored["success"] or restored["time"] != t: + raise ContractError("affine_native_endpoint_restore_failed") + restored_pair = checked_sample(segment, restored, left, "endpoint_restore") + interval = {"kind": "affine_interval_charge", "segment_id": segment.id, + "left": pointer(left_pair), "right": pointer(right_pair), + "endpoint_restore": pointer(restored_pair), "ledgers": evidence, + "endpoint_snapshot_equal": bool(np.array_equal(restored["z"], native["z"])), + "states_projected": False} + save(interval) + if not all(v["passed"] for v in evidence.values()): + first_failure = first_failure or interval + raise ContractError("affine_interval_or_prefix_charge_budget") + last_accepted = last_numerical + finally: + active = False + z = native["z"].copy() + left_pair, left = right_pair, right + if cursor != len(sample_times): + raise ContractError("affine_missing_frozen_observation") + predecessor = left + result = {"status": "completed_bounded_affine_native_pilot", "complete_protocol": True} + except BaseException as error: + result = {"status": "failed_bounded_affine_native_pilot", "complete_protocol": False, + "reason": str(error), "exception": type(error).__name__, "traceback": traceback.format_exc(), + "first_failure": first_failure or last_attempt} + result.update(request_sha256=request_id, counts=counts, elapsed_s=time.perf_counter()-started, + last_numerical=last_numerical, last_physically_accepted=last_accepted, + last_attempt=last_attempt, + cumulative_absolute_charge_defects_C={k: v.tolist() for k, v in cumulative.items()}, + cumulative_quadrature_uncertainty_estimates_C={k: v.tolist() for k, v in cumulative_u.items()}, + prefix_total_charge_bounds_C={k: (cumulative[k]+cumulative_u[k]).tolist() for k in cumulative}, + cumulative_scope="includes a fully evaluated first failed attempted interval", + scientific_or_G2_qualification=False) + # The runner writes this tail separately even after the streaming cap. + return result + + +def _frame_words(value): + from scripts.benchmarks.precision_prototype import PrimitiveExpansion + + value = PrimitiveExpansion.from_value(value) + if len(value.words) != 4: + raise ContractError("segment_frame_raw_word_count") + return value + + +def _frame_scale(value, coefficient): + """Retain each product word, rejecting unrepresentable product tails.""" + from scripts.benchmarks.precision_prototype import DD, DoubleArray + + value = _frame_words(value) + coefficient = frozen_array(np.broadcast_to(coefficient, value.shape)) + result = _frame_words(np.zeros(value.shape)) + for word in value.words: + if not np.any(word): + continue + product = DoubleArray.from_dd(DD(coefficient)*DD(word)) + # A finite DD product is not, by itself, proof against underflow. + for a, b, hi, lo in zip(coefficient.flat, word.flat, product.high.flat, + product.low.flat, strict=True): + if not _exact_product_matches(float(a), float(b), float(hi), float(lo)): + raise ContractError("segment_frame_product_capacity") + result = result.add(product) + return result + + +def _frame_mapped_input(raw, columns, lift, inputs, reference_inputs=None): + """Retain up to12 exact mapped-SI words without widening raw frame inputs. + + Four parent words times a binary64 scale need at most eight DD words. + The sole voltage lift adds two input and two reference product words. + """ + from scripts.benchmarks.precision_prototype import DD, DoubleArray, FrameInputExpansion + + raw = _frame_words(raw) + columns, lift, inputs = map(frozen_array, (columns, lift, inputs)) + if (raw.shape != columns.shape or columns.ndim != 1 or lift.shape != (columns.size, 2) + or inputs.shape != (2,) or not np.any(lift[:, 0]) or np.any(lift[:, 1])): + raise ContractError("frame_input_map_bound") + if reference_inputs is not None: + reference_inputs = frozen_array(reference_inputs) + if reference_inputs.shape != inputs.shape: + raise ContractError("frame_input_reference_shape") + terms = [] + + def product(a, b): + a, b = np.broadcast_arrays(a, b) + value = DoubleArray.from_dd(DD(a)*DD(b)) + if any(not _exact_product_matches(float(x), float(y), float(hi), float(lo)) + for x, y, hi, lo in zip(a.flat, b.flat, value.high.flat, value.low.flat, strict=True)): + raise ContractError("frame_input_product_capacity") + terms.extend(value.words) + + for word in raw.words: + product(columns, word) + if np.any(lift[:, 0]): + product(lift[:, 0], inputs[0]) + if reference_inputs is not None: + product(-lift[:, 0], reference_inputs[0]) + if len(terms) > 12: + raise ContractError("frame_input_map_arity") + return FrameInputExpansion.from_terms(terms) + + +@dataclass(frozen=True) +class SegmentAffineFrame: + """One immutable live parent origin; IDA owns only u and udot. + + The frame is fixed for an existing segment, including rejected steps. + Four-word capacity is a representation limit, not an accuracy claim. + """ + + parent_map_identity: str + segment_sha256: str + logical_initialization_index: int + predecessor_identity: str + parent_input_sha256: str + t0: float + q0: object = field(repr=False, compare=False) + v0: object = field(repr=False, compare=False) + identity: str = field(init=False) + + def __post_init__(self): + for name in ("parent_map_identity", "segment_sha256", "predecessor_identity", "parent_input_sha256"): + value = getattr(self, name) + if (not isinstance(value, str) or len(value) != 64 + or any(c not in "0123456789abcdef" for c in value)): + raise ContractError("segment_frame_identity") + if (type(self.logical_initialization_index) is not int or self.logical_initialization_index < 1 + or type(self.t0) is not float or not math.isfinite(self.t0)): + raise ContractError("segment_frame_time_or_generation") + q0, v0 = _frame_words(self.q0), _frame_words(self.v0) + if len(q0.shape) != 1 or not q0.shape[0] or q0.shape != v0.shape: + raise ContractError("segment_frame_shape") + object.__setattr__(self, "q0", q0) + object.__setattr__(self, "v0", v0) + object.__setattr__(self, "identity", digest(self.payload())) + + def payload(self): + words = lambda v: [[float(x).hex() for x in word] for word in v.words] + return {"schema": "solarlab.segment-affine-frame.v1", + "parent_map_identity": self.parent_map_identity, + "segment_sha256": self.segment_sha256, + "logical_initialization_index": self.logical_initialization_index, + "predecessor_identity": self.predecessor_identity, + "parent_input_sha256": self.parent_input_sha256, + "t0_hex": self.t0.hex(), "size": self.q0.shape[0], + "q0_words_hex": words(self.q0), "v0_words_hex": words(self.v0), + "law": "q=Q0+(t-t0)*V0+u;qdot=V0+udot", + "weight_rounding": "RN-exact-parent-q_then-unfused-SV-v1"} + + def parent_state(self, time, u): + from scripts.benchmarks.precision_prototype import DD + + if type(time) not in (float, int) or not math.isfinite(time): + raise ContractError("segment_frame_time") + u = _frame_words(u) + if u.shape != self.q0.shape: + raise ContractError("segment_frame_shape") + dt = DD(float(time))-DD(self.t0) + # Ordered, exact retained composition; no rounded t-t0 or anchor. + return self.q0.add(_frame_scale(self.v0, dt.hi)).add( + _frame_scale(self.v0, dt.lo)).add(u) + + def parent_rate(self, udot): + return self.v0.add(_frame_words(udot)) + + def weight_option(self): + payload = self.payload() + return {"schema": "sksundae.ida.parent-affine-weights.v1", "frame_identity": self.identity, + **{k: payload[k] for k in ("t0_hex", "size", "q0_words_hex", "v0_words_hex", "weight_rounding")}} + + +@dataclass(frozen=True) +class AffineVoltageMap(ImmutableArrays): + """External voltage departures mapped into unchanged physical Points. + + ``z`` is a solver coordinate. Point.y is the physical SI remainder + ``S*z + L*(a-a_ref)`` and is never relabeled as z. The public primitive + Default inputs retain four words. The explicit mapped profile retains up + to twelve SI input words; raw native/frame coordinates still use four. + """ + + model: AffineCoupledSlab = field(repr=False, compare=False) + frame: SegmentAffineFrame | None = field(default=None, repr=False, compare=False) + mapped_input_profile: str | None = field(default=None, repr=False) + columns: np.ndarray = field(init=False, repr=False) + rows: np.ndarray = field(init=False, repr=False) + lift: np.ndarray = field(init=False, repr=False) + reference_inputs: np.ndarray = field(init=False, repr=False) + model_identity: str = field(init=False) + reference_identity: str = field(init=False) + identity: str = field(init=False) + relation_form: PhysicalLinearForm = field(init=False, repr=False, compare=False) + + def __post_init__(self): + from scripts.benchmarks.precision_prototype import PrimitiveExpansion, FRAME_INPUT_PROFILE + + if self.mapped_input_profile is not None and self.mapped_input_profile != FRAME_INPUT_PROFILE: + raise ContractError("frame_input_unbound_mapping") + + if not isinstance(self.model, AffineCoupledSlab): + raise ContractError("voltage_lift_requires_physical_affine_model") + if not callable(getattr(PrimitiveExpansion, "add", None)): + raise ContractError("public_primitive_add_unavailable") + m = self.model + if m.reference.inputs.shape != (2,): + raise ContractError("voltage_lift_input_shape") + lift = np.zeros((m.layout.size, 2)) + # These binary64 coefficients define the map. We do not assume that + # their discrete Poisson action is exactly zero on the physical mesh. + lift[m.layout.offsets["phi_V"], 0] = -m.x/m.definition.length + if self.mapped_input_profile is not None: + from scripts.benchmarks.precision_prototype import MappedAuthority + authority = m.reference.state.authority + if (not np.any(lift[:, 0]) or np.any(lift[:, 1]) + or type(authority) is MappedAuthority and ( + authority.coordinate_kind != "local" + or any(not value.is_zero() for value in authority.primitives.values()))): + raise ContractError("frame_input_reference_or_lift_bound") + for name, value in (("columns", m.S), ("rows", m.Drow), + ("lift", lift), ("reference_inputs", m.reference.inputs)): + object.__setattr__(self, name, frozen_array(value)) + object.__setattr__(self, "model_identity", m.source_identity) + object.__setattr__(self, "reference_identity", m.reference.identity) + if self.frame is not None and (type(self.frame) is not SegmentAffineFrame + or self.frame.q0.shape != self.columns.shape + or self.frame.parent_map_identity != digest(self.payload(include_frame=False))): + raise ContractError("segment_frame_parent_map") + object.__setattr__(self, "identity", digest(self.payload())) + # Prove the raw-coordinate/Point relation with the same public action. + # This does not reconstruct a predecessor or form a second trial. + roots = {"n_m3": m.definition.n_eq, "p_m3": m.definition.p_eq, "phi_V": 0., + "c_m3": m.definition.ion_initial, "f": m.definition.f_eq} + sources, terms, units = [], [], [] + for variable in m.layout.variables: + if variable.id not in roots: + raise ContractError("voltage_lift_reference_field_unsupported") + spec = LinearSourceSpec("map_drive_"+variable.id, variable.support, + variable.shape, variable.unit, self.model_identity) + sources.append(spec) + origin = LinearFactor("map_origin_"+variable.id, roots[variable.id], + variable.unit, self.model_identity) + for i in range(int(np.prod(variable.shape))): + row = m.layout.offsets[variable.id].start+i + terms += [LinearTerm(row, variable.id, i), LinearTerm(row, spec.id, i, sign=-1), + LinearTerm(row, None, 0, (origin,), -1)] + units.append(variable.unit) + object.__setattr__(self, "relation_form", PhysicalLinearForm( + m.layout, tuple(f"raw_point_relation_{i}" for i in range(m.layout.size)), + tuple(units), tuple(terms), self.model_identity, "state", len(terms), tuple(sources))) + + def payload(self, *, include_frame=True): + result = { + "schema": "solarlab.affine-voltage-map.v1", + "physical_model": self.model_identity, + "physical_reference": self.reference_identity, + "layout": self.model.layout.identity, + "columns_hex": [float(v).hex() for v in self.columns], + "rows_hex": [float(v).hex() for v in self.rows], + "lift_hex": [[float(v).hex() for v in row] for row in self.lift], + "reference_inputs_hex": [float(v).hex() for v in self.reference_inputs], + "raw_coordinate_meaning": "scaled voltage departures; other fields are scaled physical remainders", + "physical_coordinate_meaning": "Point.y is the first word of S*z+L*(a-a_ref)", + } + if include_frame and self.frame is not None: + result.update(segment_frame=self.frame.payload(), + raw_coordinate_meaning="fixed-segment affine remainder u; native history is u", + physical_coordinate_meaning="Point.y is the first retained word of S*(Q0+(t-t0)*V0+u)+L*(a-a_ref)") + if self.mapped_input_profile is not None: + result.update(mapped_input_profile=self.mapped_input_profile, mapped_input_words=12) + return result + + def _check(self): + m = self.model + if (m.source_identity != self.model_identity + or m.reference.identity != self.reference_identity + or not np.array_equal(m.S, self.columns) + or not np.array_equal(m.Drow, self.rows)): + raise ContractError("voltage_lift_source_changed") + + def _compose(self, raw, inputs, *, subtract_reference): + from scripts.benchmarks.precision_prototype import DD, DoubleArray, PrimitiveExpansion + + self._check() + from scripts.benchmarks.precision_prototype import PrimitiveExpansion + + inputs = frozen_array(inputs) + if self.mapped_input_profile is not None: + return _frame_mapped_input(raw, self.columns, self.lift, inputs, + self.reference_inputs if subtract_reference else None) + if type(raw) is PrimitiveExpansion: + if raw.shape != self.columns.shape or inputs.shape != self.reference_inputs.shape: + raise ContractError("voltage_lift_coordinate_shape") + result = _frame_scale(raw, self.columns) + else: + raw = frozen_array(raw) + if raw.shape != self.columns.shape or inputs.shape != self.reference_inputs.shape: + raise ContractError("voltage_lift_coordinate_shape") + result = PrimitiveExpansion.from_value(DoubleArray.from_dd(DD(self.columns)*DD(raw))) + if raw.shape != self.columns.shape or inputs.shape != self.reference_inputs.shape: + raise ContractError("voltage_lift_coordinate_shape") + for j in range(inputs.size): + if not np.any(self.lift[:, j]): + continue + result = result.add(DoubleArray.from_dd(DD(self.lift[:, j])*DD(inputs[j]))) + if subtract_reference: + result = result.add(DoubleArray.from_dd(-DD(self.lift[:, j])*DD(self.reference_inputs[j]))) + return result + + def physical_primitive(self, z, inputs, *, time=None): + if self.frame is not None: + z = self.frame.parent_state(time, z) + return self._compose(z, inputs, subtract_reference=True) + + def physical_rate(self, zdot, input_rate): + if self.frame is not None: + zdot = self.frame.parent_rate(zdot) + return self._compose(zdot, input_rate, subtract_reference=False) + + def bind_rate(self, point, z, zdot, input_rate): + """Bind an actual trial/restored Point and this map's full push-forward. + + Callers retain the actual raw coordinates; no projected density or + rate is used to recover a low word or to reconstruct solver history. + """ + self._check() + self.model.validate(point) + drive = self.physical_primitive(z, point.inputs, time=point.time) + sources = [] + for spec in self.relation_form.sources: + selection = self.model.layout.offsets[spec.id.removeprefix("map_drive_")] + sources.append((spec, drive.take_flat(np.arange(selection.start, selection.stop)))) + relation = point.state.linear_form(self.relation_form, arithmetic=self.model.arithmetic, + point=point, sources=BoundLinearSource.bind(point, sources)) + if (np.any(relation.value.high != 0) or np.any(relation.value.low != 0) + or np.any(relation.absolute_error_bound.values != 0)): + raise ContractError("voltage_lift_point_raw_coordinate_mismatch") + return RateView(point, self.physical_rate(zdot, input_rate), input_rate, + source_identity=self.model_identity, mapping_identity=self.identity, + origin="mapped-coordinate-rate", raw_coordinates=z, raw_rate=zdot) + + def trial(self, z, time, inputs, *, predecessor=None): + primitive = self.physical_primitive(z, inputs, time=time) + return self.model.trial(primitive, time, inputs, predecessor=predecessor, + transition_representation="paired-endpoints-v1") + + +def voltage_lift_rate_projection(model: AffineCoupledSlab, primitive) -> dict: + """Exact audit of reducing a mapped rate to its first word. + + Historical consumers used that projection. Full-word consumers retain + this audit as a counterfactual only, not their current arithmetic error. + Its record shape stays unchanged so old history readers remain usable. + """ + from scripts.benchmarks.precision_prototype import PrimitiveExpansion + + if not isinstance(primitive, PrimitiveExpansion) or primitive.shape != (model.layout.size,): + raise ContractError("voltage_lift_rate_shape") + f = lambda v: Fraction.from_float(float(v)) + exact = [sum((f(word[i]) for word in primitive.words), Fraction(0)) + for i in range(model.layout.size)] + error = [f(v)-source for v, source in zip(primitive.high, exact, strict=True)] + fields = {v.id: error[model.layout.offsets[v.id]] for v in model.layout.variables} + m, N = model.definition, model.count + q, nt, eps, area = map(f, (Q, m.trap_density, m.epsilon, m.area)) + volumes = list(map(f, model.geometry.volumes)) + n, p, phi = (fields[name] for name in ("n_m3", "p_m3", "phi_V")) + c, trap = ((fields["c_m3"], fields["f"]) if m.dynamic + else ([Fraction(0)]*N, [Fraction(0)]*N)) + rho = [q*(p[i]-n[i]+c[i]-nt*trap[i]) for i in range(N)] + ddot = [-eps*(phi[j+1]-phi[j])/f(model.dx[j]) for j in range(N-1)] + conduction = [q*volumes[i]*(p[i]-n[i]) for i in (0, N-1)] + total = [conduction[0]+area*ddot[0]-volumes[0]*rho[0], + conduction[1]-area*ddot[-1]-volumes[-1]*rho[-1]] + body = sum((v*r for v, r in zip(volumes, rho, strict=True)), Fraction(0)) + return { + "projection": ("first word of the normalized frame-input12 physical rate" if len(primitive.words) == 12 + else "first word of the normalized four-word physical rate"), + "projected_rate_hex": [float(v).hex() for v in primitive.high], + "component_error_exact": [str(v) for v in error], + "conduction_error_A": [float(v) for v in conduction], + "total_current_error_A": [float(v) for v in total], + "total_current_error_exact_A": [str(v) for v in total], + "body_charge_rate_error_A": float(body), + "body_charge_rate_error_exact_A": str(body), + "scope": "rate projection at unchanged physical state; no state or integral certificate", + } + + +@dataclass(frozen=True) +class VoltageLiftAdapter: + """Public physical kernel plus an explicit external affine input map. + + All arguments are independent for partial derivatives. A future native + controller must supply protocol inputs/rates and separately obtain run + admission; this object neither imports nor starts a native integrator. + """ + + mapping: AffineVoltageMap + problem: object = field(init=False, repr=False) + source_identity: str = field(init=False) + + def __post_init__(self): + if not isinstance(self.mapping, AffineVoltageMap): + raise ContractError("voltage_lift_map_required") + self.mapping._check() + object.__setattr__(self, "problem", self.mapping.model.public_problem( + accepted_rate_mapping_identity=self.mapping.identity)) + object.__setattr__(self, "source_identity", digest({ + "map": self.mapping.identity, "partial_frame": "raw-z,raw-zdot,inputs,input-rates,time-v1"})) + + def _point_rate(self, time, z, zdot, inputs, input_rate, predecessor=None): + point, increment = self.mapping.trial(z, time, inputs, predecessor=predecessor) + physical_rate = self.mapping.bind_rate(point, z, zdot, input_rate) + return point, increment, physical_rate + + def residual(self, time, z, zdot, inputs, input_rate): + point, _, rate = self._point_rate(time, z, zdot, inputs, input_rate) + value = self.problem.residual(point, rate, frozen_array(input_rate)) + return self.mapping.rows*self.mapping.model.project_output(value) + + def linearize(self, time, z, zdot, inputs, input_rate): + from scripts.benchmarks.contract_prototype import SparseLinearization + + point, _, rate = self._point_rate(time, z, zdot, inputs, input_rate) + physical = self.problem.linearize(point, rate, frozen_array(input_rate)) + mapping, structure = self.mapping, physical.structure + + def scale(matrix): + columns = np.repeat(np.arange(matrix.shape[1]), np.diff(matrix.indptr)) + return structure.filled(matrix.data*mapping.rows[matrix.indices]*mapping.columns[columns]) + + # Fy already includes the physical storage-rate contraction. Because + # the external map is affine, there are no missing map Hessian terms. + inputs_part = physical.inputs+physical.y @ mapping.lift + rates_part = physical.input_rate+physical.ydot @ mapping.lift + if mapping.frame is not None and any(np.any(word) for word in mapping.frame.v0.words): + # With raw z, zdot and inputs held fixed, the moving frame has + # dx/dt=S*V0 and d(xdot)/dt=0. Contract the declared tangent with + # every retained V0 word before the one scaled-output projection. + velocity = tuple(Fraction(float(scale))*sum( + (Fraction(float(word[j])) for word in mapping.frame.v0.words), Fraction(0)) + for j, scale in enumerate(mapping.columns)) + matrix = physical.y.tocsr() + partials = [] + for i, (start, end) in enumerate(zip(matrix.indptr[:-1], matrix.indptr[1:])): + exact = Fraction(float(physical.time[i]))+sum( + (Fraction(float(matrix.data[k]))*velocity[matrix.indices[k]] + for k in range(start, end)), Fraction(0)) + exact *= Fraction(float(mapping.rows[i])) + try: + projected = float(exact) + except OverflowError as error: + raise ContractError("segment_frame_time_partial_unrepresentable") from error + if not math.isfinite(projected) or (projected == 0.0 and exact != 0): + raise ContractError("segment_frame_time_partial_unrepresentable") + partials.append(projected) + time_part = frozen_array(partials) + else: + time_part = mapping.rows*physical.time + return SparseLinearization( + scale(physical.y), scale(physical.ydot), + mapping.rows[:, None]*inputs_part, mapping.rows[:, None]*rates_part, + time_part, structure, self.source_identity) + + def jacobian(self, time, z, zdot, inputs, input_rate, cj): + return self.linearize(time, z, zdot, inputs, input_rate).ida_matrix(cj) + + def finite_storage_increment(self, left, right, increment): + return self.problem.storage.delta(left, right, increment) + + def observe(self, time, z, zdot, inputs, input_rate, *, + predecessor=None, origin="algebraic_probe", side="continuous"): + if origin == "physical_tangent": + raise ContractError("voltage_lift_tangent_requires_named_evaluation") + point, increment, rate = self._point_rate(time, z, zdot, inputs, input_rate, predecessor) + observed = self.mapping.model.observe(point, rate, input_rate, origin, side) + return point, increment, rate.values, observed, voltage_lift_rate_projection(self.mapping.model, rate.values) + + def physical_tangent_observation(self, time, z, inputs, input_rate, *, side="continuous"): + point, _ = self.mapping.trial(z, time, inputs) + rate = self.mapping.model.tangent_rate(point, input_rate) + observed = self.mapping.model.observe(point, rate, input_rate, "physical_tangent", side) + return point, rate, observed + + def port_partials(self, time, z, zdot, inputs, input_rate): + point, _, _ = self._point_rate(time, z, zdot, inputs, input_rate) + p = self.mapping.model.port_partials(point) + columns, lift = diags(self.mapping.columns), self.mapping.lift + return { + "charge_z": p["charge_y"] @ columns, + "charge_inputs": frozen_array(p["charge_y"] @ lift), + "conduction_z": p["conduction_y"] @ columns, + "conduction_zdot": p["conduction_ydot"] @ columns, + "conduction_inputs": frozen_array(p["conduction_y"] @ lift), + "conduction_input_rates": frozen_array(p["conduction_ydot"] @ lift), + "current_z": p["current_y"] @ columns, + "current_zdot": p["current_ydot"] @ columns, + "current_inputs": frozen_array(p["current_inputs"]+p["current_y"] @ lift), + "current_input_rates": frozen_array(p["current_input_rates"]+p["current_ydot"] @ lift), + "body_z": frozen_array(p["body_y"]*self.mapping.columns), + "body_inputs": frozen_array(p["body_y"] @ lift), + } + + +class VoltageLiftHistory: + """Replay the new raw coordinate map without converting old histories.""" + + def __init__(self, mapping: AffineVoltageMap, *, parent_reference=None): + from scripts.benchmarks.precision_prototype import encode_point + + if not isinstance(mapping, AffineVoltageMap): + raise ContractError("voltage_lift_map_required") + mapping._check() + self.mapping = mapping + self.reference_record = { + "schema": "solarlab.voltage-lift-reference.v1", + "map": mapping.payload(), "map_identity": mapping.identity, + "physical_reference": encode_point(mapping.model.reference), + "physical_reference_identity": mapping.reference_identity, + } + if parent_reference is not None: + if (mapping.frame is None or parent_reference["map_identity"] != mapping.frame.parent_map_identity + or parent_reference["physical_reference_identity"] != mapping.reference_identity): + raise ContractError("segment_frame_history_parent") + self.reference_record = json.loads(json.dumps(parent_reference)) + self.reference_digest = digest(self.reference_record) + + def build_sample(self, z, time, inputs, predecessor, zdot, input_rate, *, + origin="algebraic_probe", event_side="continuous", + transition_representation="paired-endpoints-v1"): + if origin not in {"algebraic_probe", "native", "interpolant", "stop_output", + "endpoint_restore", "segment_initial", "declared_polynomial"}: + raise ContractError("unknown_derivative_origin") + if event_side not in {"continuous", "left", "right"}: + raise ContractError("unknown_event_side") + if transition_representation not in {"paired-endpoints-v1", "four-word-v1"}: + raise ContractError("unknown_affine_transition_representation") + z, zdot = frozen_array(z), frozen_array(zdot) + inputs, input_rate = frozen_array(inputs), frozen_array(input_rate) + physical = self.mapping.physical_primitive(z, inputs, time=time) + rate = self.mapping.physical_rate(zdot, input_rate) + point, increment = self.mapping.model.trial( + physical, time, inputs, predecessor=predecessor, + transition_representation=transition_representation) + self.mapping.model.validate(point) + words = lambda value: [[float(x).hex() for x in word] for word in value.words] + record = { + "schema": ("solarlab.voltage-lift-sample.v2" if transition_representation == "paired-endpoints-v1" + else "solarlab.voltage-lift-sample.v1"), + "map_identity": self.mapping.identity, + "physical_model_identity": self.mapping.model_identity, + "reference_digest": self.reference_digest, + "point_identity": point.identity, "predecessor_identity": predecessor.identity, + "time_hex": float(time).hex(), + "inputs_hex": [float(v).hex() for v in inputs], + "input_rates_hex": [float(v).hex() for v in input_rate], + "raw_solver_z_hex": [float(v).hex() for v in z], + "raw_solver_zdot_hex": [float(v).hex() for v in zdot], + "physical_cumulative_words_hex": words(physical), + "physical_rate_words_hex": words(rate), + "physical_rate_projection": voltage_lift_rate_projection(self.mapping.model, rate), + "origin": origin, "event_side": event_side, + "raw_coordinate_frame": "scaled-voltage-departure-v1", + "physical_rate_frame": "direct-map-push-forward-v1", + "reference_embedded": False, + } + if transition_representation == "paired-endpoints-v1": + record["transition_representation"] = transition_representation + if self.mapping.frame is not None: + record.update(raw_coordinate_frame="fixed-affine-state-rate-v1", + segment_frame_identity=self.mapping.frame.identity) + if self.mapping.mapped_input_profile is not None: + record.update(mapped_input_profile=self.mapping.mapped_input_profile, mapped_input_words=12) + return point, increment, rate, record + + def restore(self, reference_record, record, predecessor): + from scripts.benchmarks.precision_prototype import decode_point + + version = record.get("schema") + transition = "four-word-v1" if version == "solarlab.voltage-lift-sample.v1" else "paired-endpoints-v1" + if (digest(reference_record) != self.reference_digest + or version not in {"solarlab.voltage-lift-sample.v1", "solarlab.voltage-lift-sample.v2"} + or version == "solarlab.voltage-lift-sample.v2" and record.get("transition_representation") != transition + or record.get("map_identity") != self.mapping.identity + or record.get("reference_digest") != self.reference_digest + or record.get("predecessor_identity") != predecessor.identity): + raise ContractError("voltage_lift_history_binding_mismatch") + reference = decode_point(reference_record["physical_reference"], self.mapping.model.layout) + if reference.identity != self.mapping.reference_identity: + raise ContractError("voltage_lift_reference_decode_mismatch") + point, increment, rate, rebuilt = self.build_sample( + [float.fromhex(v) for v in record["raw_solver_z_hex"]], float.fromhex(record["time_hex"]), + [float.fromhex(v) for v in record["inputs_hex"]], predecessor, + [float.fromhex(v) for v in record["raw_solver_zdot_hex"]], + [float.fromhex(v) for v in record["input_rates_hex"]], + origin=record["origin"], event_side=record["event_side"], + transition_representation=transition) + if digest(rebuilt) != digest(record): + raise ContractError("voltage_lift_history_word_mismatch") + return point, increment, rate, frozen_array([float.fromhex(v) for v in record["input_rates_hex"]]) + + +def voltage_lift_wrms_policy(mapping: AffineVoltageMap, previous_controls: Mapping, + segments: tuple[ProtocolSegment, ...]) -> dict: + """Conservative denominators over every input in the full finite protocol. + + Previous controls refer to scaled physical remainders, not absolute + populations. Triangle inequalities cover all real remainders; sampled + states are not used to choose the bounds. This proves a local norm + comparison only, not global state accuracy or physical conservation. + """ + mapping._check() + if not segments: + raise ContractError("voltage_lift_protocol_required") + f = lambda v: Fraction.from_float(float(v)) + old_r = f(previous_controls["rtol"]) + old_atol = frozen_array(previous_controls["atol"]) + if old_atol.shape != mapping.columns.shape or old_r <= 0 or np.any(old_atol <= 0): + raise ContractError("invalid_original_error_weights") + ranges = [] + for segment in segments: + if segment.end <= segment.start: + raise ContractError("invalid_frozen_protocol") + bounds = [] + for endpoints in (segment.voltage, segment.photons): + start, end = map(float, endpoints) + duration = float(segment.end-segment.start) + rate = float((end-start)/duration) + # The ordinary interpolation path is a monotone composition of + # rounded subtraction, constant multiplication and addition. + # Include its endpoint limit as well as the explicit overrides. + ordinary_end = float(start+float(rate*duration)) + if not all(math.isfinite(v) for v in (start, end, rate, ordinary_end)): + raise ContractError("voltage_lift_protocol_range") + bounds.append((min(start, end, ordinary_end), max(start, end, ordinary_end))) + ranges.append({"segment": asdict(segment), "input_bounds": bounds}) + offsets = [] + for row in mapping.lift: + largest = Fraction(0) + for record in ranges: + lower, upper = Fraction(0), Fraction(0) + for j, (a, b) in enumerate(record["input_bounds"]): + endpoints = [f(row[j])*(f(v)-f(mapping.reference_inputs[j])) for v in (a, b)] + lower += min(endpoints); upper += max(endpoints) + largest = max(largest, abs(lower), abs(upper)) + offsets.append(largest) + scales = list(map(f, mapping.columns)) + physical_atol = [s*f(a) for s, a in zip(scales, old_atol, strict=True)] + r_bound = min([old_r]+[a/(2*u) for a, u in zip(physical_atol, offsets) if u]) + rnew = _fraction_float_bound(r_bound, upper=False) + if rnew <= 0: + raise ContractError("no_positive_representable_conservative_rtol") + r = f(rnew) + atol, rows = [], [] + for i, (s, a, u) in enumerate(zip(scales, physical_atol, offsets, strict=True)): + new_bound = a-r*u + encoded = _fraction_float_bound(new_bound/s, upper=False) + actual = s*f(encoded) + checks = {"positive_atol": encoded > 0, "rtol_not_larger": r <= old_r, + "half_absolute_budget": r*u <= a/2, + "encoded_atol_not_larger": actual <= new_bound, + "triangle_margin": actual+r*u <= a} + if not all(checks.values()): + raise ContractError("voltage_lift_wrms_certificate_failed") + atol.append(encoded) + rows.append({"index": i, "scale_exact": str(s), "offset_upper_exact": str(u), + "old_physical_atol_exact": str(a), "new_physical_atol_exact": str(actual), + "atol_z_hex": encoded.hex(), "checks": checks}) + return {"schema": "solarlab.voltage-lift-wrms-proof.v1", "map_identity": mapping.identity, + "rtol": rnew, "atol": atol, "rtol_hex": rnew.hex(), + "old_controls_sha256": digest(dict(previous_controls)), + "old_coordinate_frame": "scaled original physical remainders", + "full_protocol_input_bounds": ranges, "components": rows, + "bound": "S*atol_z+rnew*abs(y-L*(a-a_ref))<=S*old_atol_z+rold*abs(y)", + "proof": "abs(y-b)<=abs(y)+U; rnew<=rold; Anew+rnew*U<=Aold; directed-down binary64 encoding", + "scope": "all real physical remainders and stated protocol inputs; local error-denominator comparison only", + "state_and_rate_projection_errors_separate": True, + "native_admission": False, "global_accuracy_or_conservation_certified": False} + + +@dataclass(frozen=True) +class VoltageLiftSegmentAdapter: + """Unexecuted controller draft: bind public callbacks to one segment. + + The caller owns resource checks and retention of the first callback + failure. These callbacks do not start IDA, grant admission, or recover + invalid states. The archived40/42 tests cover the underlying algebra; + this new wiring needs its own frozen tests before native use. + """ + + adapter: VoltageLiftAdapter + context: AffineSamplingContext + segment: ProtocolSegment + numeric_handoff_json: str | None = field(default=None, repr=False) + segment_sha256: str = field(init=False) + source_identity: str = field(init=False) + + def __post_init__(self): + if not isinstance(self.adapter, VoltageLiftAdapter): + raise ContractError("voltage_lift_public_adapter_required") + mapping = self.adapter.mapping + segment_digest = self.context.segment_digest(mapping.model, self.segment) + declared_map = self.context.request_copy().get("voltage_lift_map") + parent_map_id = mapping.identity if mapping.frame is None else mapping.frame.parent_map_identity + if not isinstance(declared_map, dict) or digest(declared_map) != parent_map_id: + raise ContractError("voltage_lift_request_map_mismatch") + if mapping.frame is not None: + request = self.context.request_copy() + _validate_segment_frame_policy(request) + ordinal = next(i for i, s in enumerate(self.context.segments, 1) if s.id == self.segment.id) + if self.numeric_handoff_json is None: + frame_clock = (mapping.frame.t0 == self.segment.start + and mapping.frame.logical_initialization_index == ordinal) + else: + _reference_refresh_binding(request, mapping, self.segment, self.numeric_handoff_json) + frame_clock = True + if ("segment_frame_policy" not in request or mapping.frame.segment_sha256 != segment_digest + or mapping.mapped_input_profile != request.get("frame_input_policy", {}).get("profile") + or not frame_clock): + raise ContractError("segment_frame_segment_binding") + elif self.numeric_handoff_json is not None: + raise ContractError("reference_refresh_requires_live_frame") + # Use the context-owned tuple inputs even when the caller supplied an + # equal segment with mutable nested lists. + owned = next(s for s in self.context.segments if s.id == self.segment.id) + object.__setattr__(self, "segment", owned) + object.__setattr__(self, "segment_sha256", segment_digest) + object.__setattr__(self, "source_identity", digest({ + "adapter": self.adapter.source_identity, + "request": self.context.request_sha256, "segment": segment_digest, + })) + + def residual(self, time, z, zdot, output): + mapping = self.adapter.mapping + self.context.segment_digest(mapping.model, self.segment) + if not isinstance(output, np.ndarray) or output.shape != mapping.columns.shape: + raise ContractError("voltage_lift_residual_buffer_shape") + inputs, input_rate = self.segment.inputs(time) + output[:] = self.adapter.residual(time, z, zdot, inputs, input_rate) + + def jacobian(self, time, z, zdot, residual_value, cj, output): + """Actual binding signature; fill the declared sparse CSC slots.""" + mapping = self.adapter.mapping + self.context.segment_digest(mapping.model, self.segment) + graph = mapping.model.graph + if not isinstance(output, np.ndarray) or output.shape != (graph.nnz,): + raise ContractError("voltage_lift_jacobian_buffer_shape") + inputs, input_rate = self.segment.inputs(time) + matrix = self.adapter.jacobian(time, z, zdot, inputs, input_rate, cj) + if (matrix.shape != graph.shape or matrix.nnz != graph.nnz + or not np.array_equal(matrix.indices, graph.indices) + or not np.array_equal(matrix.indptr, graph.indptr)): + raise ContractError("voltage_lift_csc_slot_mismatch") + output[:] = matrix.data + + +def voltage_lift_initial_input(binding: VoltageLiftSegmentAdapter, z, predecessor: Point): + """Prepare a rate at an unchanged segment-start state, without IDA. + + The desired physical tangent is distinct from the finite encoded rate. + Encode (desired-L*adot)/S once, retain the exact rounding errors, and + expose both residuals. No consistency or physical acceptance is inferred + from constructing this input. The physical state is never re-encoded. + """ + mapping, segment = binding.adapter.mapping, binding.segment + model = mapping.model + binding.context.segment_digest(model, segment) + if predecessor.time != segment.start: + raise ContractError("voltage_lift_initial_predecessor_time") + z = frozen_array(z) + inputs, input_rate = segment.inputs(segment.start) + point, increment = mapping.trial(z, segment.start, inputs, predecessor=predecessor) + model.validate(point) + if any(np.any(increment.field(v.id).high) or np.any(increment.field(v.id).low) + for v in model.layout.variables): + raise ContractError("voltage_lift_restart_changed_physical_state") + evaluation = model.observation_evaluation(point) + desired = model.tangent_rate(point, input_rate, evaluation=evaluation) + f = lambda v: Fraction.from_float(float(v)) + exact_coordinates = [ + (f(value)-sum((f(mapping.lift[i, j])*f(input_rate[j]) + for j in range(input_rate.size)), Fraction(0)))/f(mapping.columns[i]) + for i, value in enumerate(desired) + ] + zdot = frozen_array([float(v) for v in exact_coordinates]) + mapped_rate = mapping.physical_rate(zdot, input_rate) + represented = [sum((f(word[i]) for word in mapped_rate.words), Fraction(0)) + for i in range(model.layout.size)] + residual_words = lambda rate: { + "high_hex": [float(v).hex() for v in rate.high], + "low_hex": [float(v).hex() for v in rate.low], + } + problem = binding.adapter.problem + record = { + "schema": "solarlab.voltage-lift-initial-input.v1", + "source_identity": binding.source_identity, + "request_sha256": binding.context.request_sha256, + "map_identity": mapping.identity, "segment_id": segment.id, + "segment_sha256": binding.segment_sha256, + "time_hex": float(segment.start).hex(), + "point_identity": point.identity, "predecessor_identity": predecessor.identity, + "raw_z_hex": [float(v).hex() for v in z], + "raw_zdot_hex": [float(v).hex() for v in zdot], + "inputs_hex": [float(v).hex() for v in inputs], + "input_rates_hex": [float(v).hex() for v in input_rate], + "desired_physical_tangent_hex": [float(v).hex() for v in desired], + "ideal_coordinate_rate_exact": [str(v) for v in exact_coordinates], + "coordinate_encoding_error_exact": [str(f(v)-q) for v, q in zip(zdot, exact_coordinates, strict=True)], + "mapped_physical_rate_words_hex": [[float(v).hex() for v in word] for word in mapped_rate.words], + "mapped_minus_desired_rate_exact": [str(v-f(w)) for v, w in zip(represented, desired, strict=True)], + "projected_minus_desired_rate_exact": [str(f(v)-f(w)) for v, w in zip(mapped_rate.high, desired, strict=True)], + "rate_projection": voltage_lift_rate_projection(model, mapped_rate), + "desired_tangent_residual_SI": residual_words(problem.residual(point, desired, input_rate)), + "represented_rate_residual_SI": residual_words(problem.residual( + point, mapping.bind_rate(point, z, zdot, input_rate), input_rate)), + "physical_rate_consumption": "public RateView full mapped words", + "rate_projection_role": "counterfactual_first_word_only", + "state_changed": False, "rate_source": "named physical tangent at unchanged state", + "native_initialization_performed": False, "native_steps": 0, + "consistency_or_physical_acceptance_certified": False, + } + record["record_sha256"] = digest(record) + return point, increment, zdot, record + + +def diagnostic_interval_context(request): + """Validate an explicit child without weakening the historic parent path.""" + from scripts.benchmarks.native_readback import diagnostic_interval_binding, HistoryVerificationError + + try: + value = diagnostic_interval_binding(request) + except (HistoryVerificationError, KeyError, TypeError, ValueError, OSError) as error: + raise ContractError("diagnostic_interval_binding:"+str(error)) from error + return value + + +def _voltage_lift_frame_handoff(mapping, point, z, zdot, input_rate, acceptance_sha256): + """Pure exact frame transfer, with no trial, physical evaluation or solver. + + Admission belongs to the accepted-interval controller. This component + retains the existing Point object and rejects any lost physical word. + """ + from scripts.benchmarks.precision_prototype import encode_point + + if type(mapping) is not AffineVoltageMap or type(mapping.frame) is not SegmentAffineFrame: + raise ContractError("reference_refresh_requires_live_frame") + old = mapping.frame + z, zdot, input_rate = map(frozen_array, (z, zdot, input_rate)) + if (z.shape != mapping.columns.shape or zdot.shape != z.shape or input_rate.shape != (2,) + or point.time < old.t0): + raise ContractError("reference_refresh_coordinate_or_clock") + complete_point = encode_point(point) + words = lambda value: [[float(x).hex() for x in word] for word in value.words] + old_state = words(mapping.physical_primitive(z, point.inputs, time=point.time)) + old_rate = words(mapping.bind_rate(point, z, zdot, input_rate)) + frame = SegmentAffineFrame(old.parent_map_identity, old.segment_sha256, + old.logical_initialization_index+1, point.identity, acceptance_sha256, + float(point.time), old.parent_state(point.time, z), old.parent_rate(zdot)) + fresh = AffineVoltageMap(mapping.model, frame, mapping.mapped_input_profile) + zero = frozen_array(np.zeros(z.shape)) + state = words(fresh.physical_primitive(zero, point.inputs, time=point.time)) + fresh_rate = fresh.bind_rate(point, zero, zero, input_rate) + rate = words(fresh_rate) + if (state != old_state or rate != old_rate or encode_point(point) != complete_point + or fresh.payload(include_frame=False) != mapping.payload(include_frame=False)): + raise ContractError("reference_refresh_exact_transfer_capacity_or_identity") + record = {"schema": "solarlab.exact-reference-transfer.v1", + "time_hex": float(point.time).hex(), "Point": complete_point, + "point_identity": point.identity, "old_frame": old.payload(), "new_frame": frame.payload(), + "old_map": mapping.payload(), "new_map": fresh.payload(), + "old_map_identity": mapping.identity, "new_map_identity": fresh.identity, + "old_frame_identity": old.identity, "new_frame_identity": frame.identity, + "old_numeric_initialization_ordinal": old.logical_initialization_index, + "new_numeric_initialization_ordinal": frame.logical_initialization_index, + "old_raw_state_hex": [float(x).hex() for x in z], + "old_raw_rate_hex": [float(x).hex() for x in zdot], + "new_raw_state_hex": [float(x).hex() for x in zero], + "new_raw_rate_hex": [float(x).hex() for x in zero], + "inputs_hex": [float(x).hex() for x in point.inputs], + "input_rates_hex": [float(x).hex() for x in input_rate], + "physical_state_words_hex": state, "physical_rate_words_hex": rate, + "new_rate_identity": fresh_rate.identity, + "acceptance_sha256": acceptance_sha256, "same_complete_Point": True, + "native_initialization_performed": False, "physical_evaluations": 0} + return fresh, zero, zero, record + + +class _ScientificProgress: + """Persistent scientific findings, separate from native/safety failures.""" + + def __init__(self, policy): + self.policy = policy + self.failed = set() + self.first_failure = None + + def note(self, gate, passed, record): + if type(passed) is not bool: + raise ContractError("scientific_certificate_boolean") + if not passed: + self.failed.add(gate) + if self.first_failure is None: + self.first_failure = {"gate": gate, "record_sha256": digest(record)} + + def payload(self): + pending = ["T1"] # No reviewed reference/scale proof is supplied online. + return {"schema": "solarlab.scientific-progress.v1", + "failed_gates": sorted(self.failed), "first_failure": self.first_failure, + "pending_proofs": pending, + "status": "failed" if self.failed else "pending", "passed": False} + + +def _scientific_sample_safety(metrics): + """Only domain/nonfinite faults stop the new certificate mode here.""" + names = ("constraint_potential_bound_V", "constraint_charge_bound_C", "contact_max_relative") + names += tuple(k for k in ("ion_inventory_relative", "maximum_site_fraction", "minimum_f", "maximum_f") + if k in metrics) + if any(type(metrics.get(k)) not in (int, float) or not math.isfinite(metrics[k]) or metrics[k] < 0 + for k in names): + raise ContractError("scientific_nonfinite_or_negative_state_bound") + if ("minimum_f" in metrics and not 0 <= metrics["minimum_f"] <= metrics["maximum_f"] <= 1 + or "maximum_site_fraction" in metrics and metrics["maximum_site_fraction"] >= 1): + raise ContractError("scientific_state_outside_mathematical_domain") + + +def _reference_refresh_policy(request, time): + """First opt-in: one exact accepted boundary in the last physical segment.""" + from scripts.benchmarks.physical_tolerance import validate_certificate_policy + continuing = validate_certificate_policy(request) is not None + segments = request["segments"] + segment = segments[-1] + if (type(time) is not float or not math.isfinite(time) + or not segment["start"] < time < segment["end"] + or "diagnostic_interval" in request or "segment_frame_policy" not in request + or request["controls"].get("calc_initcond") is not None + or request["voltage_lift_map"].get("mapped_input_profile") != "frame-input-expansion12-v1"): + raise ContractError("reference_refresh_unsupported_scope") + return {"schema": ("solarlab.reference-state-transfer-policy.v2" if continuing else + "solarlab.accepted-reference-refresh-policy.v1"), "time_hex": time.hex(), + "physical_segment_ordinal": len(segments), "segment_sha256": digest(segment), "max_refreshes": 1, + "parent_map_identity": request["map_identity"], "controls_sha256": digest(request["controls"]), + "budgets_sha256": digest(request["budgets"]), "segments_sha256": digest(segments), + "sampling_sha256": digest((request["observation_times"], request["quadrature"])), + "trigger": ("exact_domain_safe_native_endpoint" if continuing else "exact_fully_accepted_native_endpoint"), + **({"certificate_failure_policy_sha256": digest(request["certificate_failure_policy"])} if continuing else {}), + "native_api": "init_step", + "same_owner_generation_increment": 1, "preserve_original_segment_inputs": True, + "discard_native_multistep_history": True, "restored_seed_prefix_credit": False} + + +def _reference_refresh_binding(request, mapping, segment, encoded): + if type(encoded) is not str or len(encoded.encode()) > 8*1024**2: + raise ContractError("reference_refresh_record_size") + record = json.loads(encoded) + policy = request.get("reference_refresh_policy") + continuing = "certificate_failure_policy" in request + evidence_key = "state_transfer" if continuing else "acceptance" + transfer_key = "state_transfer_sha256" if continuing else "acceptance_sha256" + proof = record[evidence_key] + if (type(policy) is not dict or policy != _reference_refresh_policy(request, float.fromhex(policy["time_hex"])) + or record["schema"] != ("solarlab.reference-state-transfer.v2" if continuing else "solarlab.accepted-reference-handoff.v1") + or record["kind"] != "voltage_lift_numeric_handoff" or record["phase"] not in {"prepared", "complete"} + or record["record_sha256"] != digest({k: v for k, v in record.items() if k != "record_sha256"}) + or record["request_sha256"] != digest(request) or record["policy_sha256"] != digest(policy) + or record["physical_segment_ordinal"] != policy["physical_segment_ordinal"] + or record["segment_sha256"] != digest(asdict(segment)) + or record["transfer"]["time_hex"] != policy["time_hex"] + or record["transfer"]["new_frame"] != mapping.frame.payload() + or record["transfer"]["new_map"] != mapping.payload() + or record["transfer"]["new_map_identity"] != mapping.identity + or proof.get("schema") != ("solarlab.numeric-reference-transfer-evidence.v2" if continuing else "solarlab.full-interval-refresh-acceptance.v1") + or proof["point_identity"] != record["transfer"]["point_identity"] + or proof["time_hex"] != record["transfer"]["time_hex"] + or proof["coefficient_frame_identity"] != record["old_epoch"]["coefficient_frame_identity"] + or record["transfer"][transfer_key] != digest(proof) + or continuing and ("acceptance" in record or "acceptance_sha256" in record["transfer"] + or proof.get("scientific_progress") != record["ledger"].get("scientific_progress")) + or record["ledger_sha256"] != digest(record["ledger"])): + raise ContractError("reference_refresh_binding") + return record + + +def prepare_voltage_lift_reference_refresh(binding, point, z, zdot, *, sample, interval, + domain, certificate, ledger, native_frame): + """Bind actual complete acceptance evidence before composing a new frame.""" + from scripts.benchmarks.native_observation import restore_observation_record + + request = binding.context.request_copy() + continuing = "certificate_failure_policy" in request + policy = request.get("reference_refresh_policy") + if type(policy) is not dict or policy != _reference_refresh_policy(request, float(point.time)): + raise ContractError("reference_refresh_not_at_frozen_boundary") + mapping, segment = binding.adapter.mapping, binding.segment + h = sample["history"] + evidence, bounds, current = (restore_observation_record(x["evidence"] if "evidence" in x else x["observation"]) + for x in (interval, domain, certificate)) + inputs, input_rate = segment.inputs(point.time) + if "physical_tolerance_policy" in request and interval["kind"] != "voltage_lift_interval_deferred": + from scripts.benchmarks.native_observation import physical_charge_passed + charge_ok = physical_charge_passed(request, evidence, frame_identity=native_frame.identity, + path_identity=evidence["path_identity"], map_identity=mapping.identity, + map_payload=mapping.payload()) + else: + charge_ok = evidence.get("passed") is True + pointer = {"record_sha256": sample["record_sha256"], "point_identity": point.identity, + "time_s": point.time, "origin": h["origin"], "segment_id": segment.id} + metrics = sample["state_checks"] + if continuing: + _scientific_sample_safety(metrics) + if (type(metrics.get("passed")) is not bool or type(bounds.get("passed")) is not bool + or type(current.get("passed")) is not bool + or any(type(v) is not bool for v in bounds["checks"].values()) + or any(v < 0 for v in current["combined_current_bound_A"]) + or ledger.get("scientific_progress") != interval.get("scientific_progress")): + raise ContractError("reference_refresh_scientific_evidence_binding") + state_ok = all(type(metrics.get(name)) in (int, float) and 0 <= metrics[name] <= request["budgets"][limit] + for name, limit in (("constraint_potential_bound_V", "constraint_potential_V"), + ("constraint_charge_bound_C", "constraint_charge_C"), ("contact_max_relative", "contact_relative"))) + if "c_m3" in request["numeric_packet"]["variable_offsets"]: + state_ok = state_ok and all(0 <= metrics[name] <= request["budgets"][name] + for name in ("ion_inventory_relative", "maximum_site_fraction")) and 0 <= metrics["minimum_f"] <= metrics["maximum_f"] <= 1 + if (mapping.frame is None or binding.numeric_handoff_json is not None + or sample["request_sha256"] != binding.context.request_sha256 + or sample["map_identity"] != mapping.identity or h["point_identity"] != point.identity + or sample["record_sha256"] != digest({k: v for k, v in sample.items() if k != "record_sha256"}) + or h["time_hex"] != point.time.hex() or inputs.tobytes() != point.inputs.tobytes() + or h["inputs_hex"] != [float(v).hex() for v in inputs] + or h["input_rates_hex"] != [float(v).hex() for v in input_rate] + or h["raw_solver_z_hex"] != [float(v).hex() for v in z] + or h["raw_solver_zdot_hex"] != [float(v).hex() for v in zdot] + or not continuing and metrics.get("passed") is not True or metrics.get("state_identity") != point.identity + or metrics.get("state_changed") is not False or not continuing and not state_ok + or interval["right"] != pointer or interval["segment_id"] != segment.id + or not continuing and (not charge_ok or bounds.get("passed") is not True + or not all(v is True for v in bounds["checks"].values()) or current.get("passed") is not True) + or current.get("native_rate_or_state_changed") is not False or current["point_identity"] != point.identity + or certificate["sample_record_sha256"] != sample["record_sha256"] + or not evidence["path_identity"] == bounds["path_identity"] == current["path_identity"] + or interval["coefficient_frame_identity"] != native_frame.identity + or not continuing and any(v > Fraction(float(request["budgets"]["current_A"])/3) or v < 0 + for v in current["combined_current_bound_A"]) + or any(interval.get(k) is not False for k in ("states_projected", "normal_query_performed")) + or native_frame.snapshot["endpoint"]["raw_y"] != np.asarray(z).tobytes() + or native_frame.snapshot["endpoint"]["raw_yp"] != np.asarray(zdot).tobytes() + or float(native_frame.snapshot["endpoint"]["internal_t"]).hex() != point.time.hex()): + raise ContractError("reference_refresh_requires_full_acceptance") + acceptance = {"schema": ("solarlab.numeric-reference-transfer-evidence.v2" if continuing else + "solarlab.full-interval-refresh-acceptance.v1"), + **({"scientific_progress": ledger["scientific_progress"]} if continuing else {}), + "request_sha256": binding.context.request_sha256, "point_identity": point.identity, + "time_hex": point.time.hex(), "sample_record_sha256": sample["record_sha256"], + "history_sha256": digest(h), "interval_record_sha256": digest(interval), + "domain_record_sha256": digest(domain), "current_certificate_sha256": digest(certificate), + "state_checks_sha256": digest(metrics), "coefficient_frame_identity": native_frame.identity} + fresh, zero, zero_rate, transfer = _voltage_lift_frame_handoff(mapping, point, z, zdot, input_rate, digest(acceptance)) + if continuing: + transfer["schema"] = "solarlab.exact-reference-transfer.v2" + transfer["state_transfer_sha256"] = transfer.pop("acceptance_sha256") + if (transfer["physical_state_words_hex"] != h["physical_cumulative_words_hex"] + or transfer["physical_rate_words_hex"] != h["physical_rate_words_hex"]): + raise ContractError("reference_refresh_accepted_words_changed") + endpoint = native_frame.snapshot["endpoint"] + record = {"schema": ("solarlab.reference-state-transfer.v2" if continuing else "solarlab.accepted-reference-handoff.v1"), + "kind": "voltage_lift_numeric_handoff", + "phase": "prepared", "request_sha256": binding.context.request_sha256, "policy_sha256": digest(policy), + "segment_sha256": binding.segment_sha256, "physical_segment_ordinal": policy["physical_segment_ordinal"], + "transfer": transfer, ("state_transfer" if continuing else "acceptance"): acceptance, + "ledger": json.loads(json.dumps(ledger)), + "ledger_sha256": digest(ledger), "old_epoch": {"owner": native_frame.owner, + "generation": native_frame.generation, "nsteps": native_frame.snapshot["native_before"]["nsteps"], + "endpoint_identity": endpoint["identity"], "coefficient_frame_identity": native_frame.identity}, + "new_epoch": None, "native_multistep_history_discarded": True, "state_or_rate_projected": False} + record["record_sha256"] = digest(record) + return fresh, zero, zero_rate, record + + +def apply_voltage_lift_reference_refresh(solver, binding, mapping, zero, prepared, install_binding): + """One public reinitialization, between calls; failure never resumes a step.""" + active = VoltageLiftSegmentAdapter(VoltageLiftAdapter(mapping), binding.context, binding.segment, + json.dumps(prepared, allow_nan=False)) + initialized = statistics = None + try: + before = ida_statistics_snapshot(solver, binding.segment.id, binding.adapter.mapping.frame.logical_initialization_index, + "before_reference_refresh", mapping.frame.t0, logical_initialization=True) + prior, old = before["raw_statistics"], prepared["old_epoch"] + if (prior["observation_owner"] != old["owner"] or prior["observation_generation"] != old["generation"] + or prior["num_steps"] != old["nsteps"] or float(prior["current_time"]).hex() != mapping.frame.t0.hex()): + raise ContractError("reference_refresh_stale_solver") + _voltage_lift_frame_applied(prior, binding.adapter.mapping.frame, after_step=True, request=binding.context.request_copy()) + install_binding(active) # The callbacks see the same frame passed to init_step. + refresh_request = binding.context.request_copy() + weight_key = "physical_weight_frame" if "physical_tolerance_policy" in refresh_request else "parent_weight_frame" + if weight_key == "physical_weight_frame": + from scripts.benchmarks.physical_tolerance import weight_option + refreshed_weights = weight_option(refresh_request, mapping.frame.payload(), asdict(binding.segment)) + else: + refreshed_weights = mapping.frame.weight_option() + initialized = snapshot_solver_result(solver.init_step(mapping.frame.t0, zero, zero, **{weight_key: refreshed_weights})) + statistics = ida_statistics_snapshot(solver, binding.segment.id, mapping.frame.logical_initialization_index, + "reference_refresh_return", mapping.frame.t0, initialized["time"], logical_initialization=True) + raw, old = statistics["raw_statistics"], prepared["old_epoch"] + if (not initialized["success"] or initialized["time"].hex() != mapping.frame.t0.hex() + or initialized["z"].tobytes() != zero.tobytes() or initialized["zdot"].tobytes() != zero.tobytes() + or raw["num_steps"] != 0 or raw["observation_owner"] != old["owner"] + or raw["observation_generation"] != old["generation"]+1): + raise ContractError("reference_refresh_native_return_or_epoch") + _voltage_lift_guard_applied(raw, binding.context.request_copy()["controls"]) + _voltage_lift_frame_applied(raw, mapping.frame, request=binding.context.request_copy()) + complete = {k: v for k, v in prepared.items() if k != "record_sha256"} + complete.update(phase="complete", prepared_sha256=prepared["record_sha256"], + new_epoch={"owner": raw["observation_owner"], "generation": raw["observation_generation"], "nsteps": 0}, + public_api="init_step", parent_weight_frame=mapping.frame.weight_option(), + before_statistics=before, + statistics_sha256=digest(statistics), callback_binding_identity=active.source_identity, + initialization_return={"time_hex": initialized["time"].hex(), "success": initialized["success"], + "raw_z_hex": [float(v).hex() for v in initialized["z"]], + "raw_zdot_hex": [float(v).hex() for v in initialized["zdot"]]}) + if weight_key == "physical_weight_frame": + complete.pop("parent_weight_frame") + complete[weight_key] = refreshed_weights + complete["record_sha256"] = digest(complete) + active = VoltageLiftSegmentAdapter(active.adapter, binding.context, binding.segment, + json.dumps(complete, allow_nan=False)) + install_binding(active) + return active, initialized, statistics, complete + except BaseException as error: + error.reference_refresh_evidence = {"prepared_sha256": prepared["record_sha256"], + "statistics": statistics, "initialization_return": None if initialized is None else { + "time": initialized["time"], "success": initialized["success"], + "z_hex": [float(v).hex() for v in initialized["z"]], + "zdot_hex": [float(v).hex() for v in initialized["zdot"]]}} + raise + + +def voltage_lift_diagnostic_initialization(mapping, context, segment, ordinal, predecessor): + """A new frame/owner seed retaining the complete public saved Point/rate. + + This constructor performs no tangent, F, J, projection or time advance. + It neither decodes nor recovers an old native owner or multistep history. + """ + from scripts.benchmarks.precision_prototype import PrimitiveExpansion, encode_point + + request = context.request_copy() + data = diagnostic_interval_context(request) + seed, restore = data["accepted"], data["restore"] + model = mapping.model + if (ordinal != 1 or len(context.segments) != 1 or mapping.frame is not None + or encode_point(predecessor) != restore["Point"] or predecessor.time != segment.start + or mapping.identity != request["map_identity"]): + raise ContractError("diagnostic_initialization_ancestry") + primitive = lambda rows: PrimitiveExpansion(tuple( + np.asarray([float.fromhex(x) for x in word]) for word in rows)) + q0, v0 = (primitive(seed["frame"][key]) for key in ("q0_words_hex", "v0_words_hex")) + z, zdot = frozen_array(request["z0"]), frozen_array(request["zdot0"]) + ancestry = {"schema": "solarlab.native-interval-live-seed.v1", "request_sha256": context.request_sha256, + "descriptor_sha256": digest(request["diagnostic_interval"]), + "parent_map_identity": mapping.identity, "predecessor_identity": predecessor.identity, + "q0_words_hex": seed["frame"]["q0_words_hex"], "v0_words_hex": seed["frame"]["v0_words_hex"]} + frame = SegmentAffineFrame(mapping.identity, context.segment_digest(model, segment), ordinal, + predecessor.identity, digest(ancestry), float(segment.start), q0, v0) + framed = AffineVoltageMap(model, frame, request["frame_input_policy"]["profile"]) + binding = VoltageLiftSegmentAdapter(VoltageLiftAdapter(framed), context, segment) + inputs, input_rate = segment.inputs(segment.start) + # A new trial would add a transition and change the saved Point's full + # identity. Bind the new raw frame to the actual restored Point instead; + # bind_rate independently proves its complete physical state relation. + point = predecessor + words = lambda value: [[float(v).hex() for v in word] for word in value.words] + state_words = words(framed.physical_primitive(z, inputs, time=segment.start)) + transfer = {"schema": "solarlab.diagnostic-transfer-check.v1", "Point": encode_point(point), + "map_identity": framed.identity, "frame_identity": frame.identity, + "mapped_physical_state_words_hex": state_words, + "expected_physical_state_words_hex": seed["physical_state_words_hex"], + "expected_physical_rate_words_hex": seed["physical_rate_words_hex"], + "inputs_hex": [float(x).hex() for x in inputs], + "input_rates_hex": [float(x).hex() for x in input_rate], + "checks": {"original_Point_codec": encode_point(point) == restore["Point"], + "state_words": state_words == seed["physical_state_words_hex"], + "inputs": [float(x).hex() for x in inputs] == seed["inputs_hex"], + "input_rates": [float(x).hex() for x in input_rate] == seed["input_rates_hex"]}} + try: + rate_words = words(framed.bind_rate(point, z, zdot, input_rate)) + except ContractError as error: + transfer["checks"]["raw_Point_relation"] = False + transfer["binding_failure"] = error.reason + error.diagnostic_transfer_evidence = transfer + raise + transfer["mapped_physical_rate_words_hex"] = rate_words + transfer["checks"].update(raw_Point_relation=True, + rate_words=rate_words == seed["physical_rate_words_hex"]) + if not all(transfer["checks"].values()): + error = ContractError("diagnostic_complete_physical_transfer") + error.diagnostic_transfer_evidence = transfer + raise error + proof = {"schema": "solarlab.voltage-lift-diagnostic-input.v1", "request_sha256": context.request_sha256, + "source_identity": binding.source_identity, "map_identity": framed.identity, + "segment_sha256": binding.segment_sha256, "predecessor_identity": predecessor.identity, + "point_identity": point.identity, "Point": encode_point(point), "time_hex": point.time.hex(), + "raw_z_hex": [float(x).hex() for x in z], "raw_zdot_hex": [float(x).hex() for x in zdot], + "inputs_hex": seed["inputs_hex"], "input_rates_hex": seed["input_rates_hex"], + "mapped_physical_rate_words_hex": rate_words, "state_changed": False, + "tangent_preparation_performed": False, "native_initialization_performed": False, + "original_native_authority_restored": False, "transfer_checks": transfer["checks"]} + proof["record_sha256"] = digest(proof) + record = {"kind": "voltage_lift_segment_frame", "initialization_mode": "diagnostic_saved_seed", + "request_sha256": context.request_sha256, "parent_map_identity": mapping.identity, + "map_identity": framed.identity, "frame": frame.payload(), "frame_identity": frame.identity, + "map": framed.payload(), "ancestry": ancestry, "parent_input": proof, + "physical_handoff_words_hex": state_words, "physical_rate_handoff_words_hex": rate_words, + "native_initial_z_hex": proof["raw_z_hex"], "native_initial_zdot_hex": proof["raw_zdot_hex"], + "native_initialization_performed": False, "retained_physical_history": request["diagnostic_interval"]["saved_restore"], + "native_multistep_history_action": "new generation; retain its history throughout this window"} + record["record_sha256"] = digest(record) + return binding, z, zdot, proof, record + + +def voltage_lift_segment_initialization(mapping, context, segment, ordinal, parent_z, predecessor): + """Prepare exactly one native initialization; no solver is allocated here. + + The state-only preparation map evaluates the existing initializer at the + exact live parent state. Its finite supplied rate is then the fixed V0; + the desired tangent is never silently substituted for that encoded rate. + """ + request = context.request_copy() + _validate_segment_frame_policy(request) + if mapping.mapped_input_profile != request.get("frame_input_policy", {}).get("profile"): + raise ContractError("frame_input_initialization_mapping") + if "diagnostic_interval" in request: + return voltage_lift_diagnostic_initialization(mapping, context, segment, ordinal, predecessor) + if "segment_frame_policy" not in request: + binding = VoltageLiftSegmentAdapter(VoltageLiftAdapter(mapping), context, segment) + _, _, rate, proof = voltage_lift_initial_input(binding, parent_z, predecessor) + return binding, frozen_array(parent_z), rate, proof, None + if mapping.frame is not None or predecessor.time != segment.start: + raise ContractError("segment_frame_initialization_parent") + q0 = _frame_words(parent_z) + zero = np.zeros(mapping.model.layout.size) + ancestry = {"request_sha256": context.request_sha256, "parent_map_identity": mapping.identity, + "predecessor_identity": predecessor.identity, + "q0_words_hex": [[float(x).hex() for x in word] for word in q0.words]} + seed = SegmentAffineFrame(mapping.identity, digest(asdict(segment)), ordinal, + predecessor.identity, digest(ancestry), float(segment.start), q0, zero) + profile = request.get("frame_input_policy", {}).get("profile") + preparation = VoltageLiftSegmentAdapter(VoltageLiftAdapter(AffineVoltageMap(mapping.model, seed, profile)), + context, segment) + point, _, supplied_v0, parent_proof = voltage_lift_initial_input(preparation, zero, predecessor) + frame = SegmentAffineFrame(mapping.identity, seed.segment_sha256, ordinal, predecessor.identity, + parent_proof["record_sha256"], seed.t0, q0, supplied_v0) + framed = AffineVoltageMap(mapping.model, frame, profile) + binding = VoltageLiftSegmentAdapter(VoltageLiftAdapter(framed), context, segment) + inputs, input_rate = segment.inputs(segment.start) + same, _ = framed.trial(zero, segment.start, inputs, predecessor=predecessor) + rate = framed.physical_rate(zero, input_rate) + words = lambda v: [[float(x).hex() for x in word] for word in v.words] + parent_primitive = (_frame_mapped_input(q0, mapping.columns, mapping.lift, inputs, mapping.reference_inputs) + if profile is not None else mapping.physical_primitive(q0, inputs, time=segment.start)) + if (same.identity != point.identity or words(rate) != parent_proof["mapped_physical_rate_words_hex"] + or words(framed.physical_primitive(zero, inputs, time=segment.start)) != + words(parent_primitive)): + raise ContractError("segment_frame_physical_handoff") + proof = dict(parent_proof, schema="solarlab.voltage-lift-initial-input.v2", + source_identity=binding.source_identity, map_identity=framed.identity, + raw_z_hex=[float(v).hex() for v in zero], raw_zdot_hex=[float(v).hex() for v in zero], + segment_frame_identity=frame.identity, parent_coordinate_rate_hex=parent_proof["raw_zdot_hex"], + coordinate_encoding_frame="parent qdot; native udot is zero after full-word handoff") + proof.pop("record_sha256") + proof["record_sha256"] = digest(proof) + record = {"kind": "voltage_lift_segment_frame", "request_sha256": context.request_sha256, + "parent_map_identity": mapping.identity, "map_identity": framed.identity, + "frame": frame.payload(), "frame_identity": frame.identity, "map": framed.payload(), + "ancestry": ancestry, "preparation_frame": seed.payload(), "parent_input": parent_proof, + "physical_handoff_words_hex": words(framed.physical_primitive(zero, inputs, time=segment.start)), + "physical_rate_handoff_words_hex": words(rate), "native_initial_z_hex": proof["raw_z_hex"], + "native_initial_zdot_hex": proof["raw_zdot_hex"], + "requested_h0_unchanged": True, + "automatic_h0_parent_rate_limiter_parity": False, + "native_initialization_performed": False} + record["record_sha256"] = digest(record) + return binding, frozen_array(zero), frozen_array(zero), proof, record + + +def voltage_lift_native_sample(binding: VoltageLiftSegmentAdapter, history: VoltageLiftHistory, + native: Mapping, predecessor: Point, *, origin: str): + """Draft sampling hook for a supplied snapshot; it never advances time. + + All mapped rate words reach the physical observer and survive in history. + The physical tangent is evaluated at the identical Point. The retained + first-word audit is counterfactual; no interval acceptance is inferred. + """ + mapping, context, segment = binding.adapter.mapping, binding.context, binding.segment + model = mapping.model + if history.mapping is not mapping: + raise ContractError("foreign_voltage_lift_history") + segment_digest = context.segment_digest(model, segment) + index = next(i for i, s in enumerate(context.segments) if s.id == segment.id) + t = float(native["time"]) + inputs, input_rate = segment.inputs(t) + if not native["success"]: + raise ContractError("native_snapshot_unsuccessful") + if origin == "segment_initial": + if t != segment.start or predecessor.time != t: + raise ContractError("native_segment_initial_time") + side = "continuous" if index == 0 else "right" + elif origin in {"native", "stop_output", "endpoint_restore", "interpolant", "declared_polynomial"}: + if not segment.start <= predecessor.time < t <= segment.end: + raise ContractError("native_history_predecessor_interval") + side = "left" if t == segment.end else "continuous" + else: + raise ContractError("native_history_origin") + z, zdot = frozen_array(native["z"]), frozen_array(native["zdot"]) + point, increment, rate, sample = history.build_sample( + z, t, inputs, predecessor, zdot, input_rate, origin=origin, event_side=side) + if origin == "segment_initial" and any( + np.any(increment.field(v.id).high) or np.any(increment.field(v.id).low) + for v in model.layout.variables): + raise ContractError("voltage_lift_restart_changed_physical_state") + evaluation = model.observation_evaluation(point, state_actions=True) + raw = model.observe(point, mapping.bind_rate(point, z, zdot, input_rate), + input_rate, origin, side, evaluation=evaluation) + tangent = model.observe(point, model.tangent_rate(point, input_rate, evaluation=evaluation), + input_rate, "physical_tangent", side, evaluation=evaluation) + difference = abs(raw.total_inward.as_dd()-tangent.total_inward.as_dd()) + record = { + "kind": "voltage_lift_rate_pair", "request_sha256": context.request_sha256, + "map_identity": mapping.identity, + "segment_id": segment.id, "segment_sha256": segment_digest, + "controls_sha256": context.controls_sha256, "history": sample, + "snapshot_status": native["status"], "snapshot_message": native["message"], + "input_slope_hex": [float(v).hex() for v in input_rate], + "raw": affine_observation_payload(raw), + "physical_tangent": affine_observation_payload(tangent), + "state_checks": affine_state_quality_evidence(model, point, context.budgets, evaluation=evaluation), + "current_rate_gap_A": float(np.max(difference.hi+difference.lo)), + "rate_projection": sample["physical_rate_projection"], + "rate_projection_role": "counterfactual_first_word_only", + "physical_rate_consumption": "public RateView full mapped words", + "interval_or_prefix_charge_certified": False, + "supplied_snapshot_only": True, + } + record["record_sha256"] = digest(record) + return point, increment, raw, tangent, record + +def voltage_lift_charge_rate_projection(model: AffineCoupledSlab, audit: Mapping): + """Exact projected-minus-mapped errors in the three charge integrands. + + Body charge uses the sum of reservoir conduction currents. Metal charge + uses total-minus-conduction on each side; it must not use total current + or the whole-body storage-rate error as a substitute. + """ + errors = [Fraction(v) for v in audit["component_error_exact"]] + total = [Fraction(v) for v in audit["total_current_error_exact_A"]] + if len(errors) != model.layout.size or len(total) != 2: + raise ContractError("voltage_lift_projection_shape") + n, p = (errors[model.layout.offsets[name]] for name in ("n_m3", "p_m3")) + q = Fraction.from_float(float(Q)) + conduction = [q*Fraction.from_float(float(model.geometry.volumes[i]))*(p[i]-n[i]) + for i in (0, model.count-1)] + return (sum(conduction, Fraction(0)), total[0]-conduction[0], total[1]-conduction[1]) + + +def voltage_lift_charge_accounting(model, delta, integrals, projection_integrals, + previous_defects, previous_uncertainties, + previous_projection, budget): + """Include explicit projection estimates within the original allocations. + + The projection inputs are exact rational Gauss sums of absolute signed + rate errors. E32+abs(E32-E16) is an estimate, just as the original16/32 + current discrepancy is an estimate; neither is a continuum certificate. + No signed cancellation can consume less of the unchanged charge budget. + """ + base = affine_charge_accounting(model, delta, integrals, previous_defects, + previous_uncertainties, budget) + size = len(base["exact_interval_total_C"]) + prior = frozen_array(previous_projection) + if (prior.shape != (size,) or np.any(prior < 0) or len(projection_integrals) != 3 + or any(len(row) != size for row in projection_integrals) + or any(not isinstance(v, Fraction) or v < 0 for row in projection_integrals for v in row)): + raise ContractError("invalid_voltage_lift_projection_integral") + f = lambda v: Fraction.from_float(float(v)) + projection = [b+abs(b-a) for a, b in zip(projection_integrals[1], projection_integrals[2], strict=True)] + cumulative = [f(a)+b for a, b in zip(prior, projection, strict=True)] + interval = [Fraction(a)+b for a, b in zip(base["exact_interval_total_C"], projection, strict=True)] + prefix = [Fraction(a)+b for a, b in zip(base["exact_prefix_total_C"], cumulative, strict=True)] + reference_interval = [f(a)+b for a, b in zip(base["quadrature_uncertainty_estimate_C"], projection, strict=True)] + reference_prefix = [f(a)+b for a, b in zip(base["cumulative_quadrature_uncertainty_estimate_C"], cumulative, strict=True)] + bound, reference_bound = f(budget), f(budget/3) + original = dict(base["checks"]) + checks = { + "interval_total": all(v <= bound for v in interval), + "prefix_total": all(v <= bound for v in prefix), + "interval_reference_share": all(v <= reference_bound for v in reference_interval), + "prefix_reference_share": all(v <= reference_bound for v in reference_prefix), + "original_projected_rate_checks": all(original.values()), + } + upper = lambda values: [_fraction_float_bound(v, upper=True) for v in values] + base.update( + original_projected_rate_checks=original, + projection_absolute_gauss_sums_exact_C=[[str(v) for v in row] for row in projection_integrals], + rate_projection_estimate_C=upper(projection), + cumulative_rate_projection_estimate_C=upper(cumulative), + interval_total_bound_C=upper(interval), prefix_total_bound_C=upper(prefix), + exact_interval_total_C=[str(v) for v in interval], exact_prefix_total_C=[str(v) for v in prefix], + exact_combined_reference_interval_C=[str(v) for v in reference_interval], + exact_combined_reference_prefix_C=[str(v) for v in reference_prefix], + projection_estimate="E32+abs(E32-E16), E is positive-weight quadrature of absolute exact per-sample projection errors", + projection_integral_continuum_certified=False, + physical_allocations_changed=False, checks=checks, passed=all(checks.values()), + ) + return base + + +def _voltage_lift_nonlinear_refinement(previous_controls, ancestor_sha256, value): + """Bind one explicitly stricter coefficient without changing its ancestor.""" + previous = previous_controls.get("nonlin_conv_coef") + if (isinstance(previous, bool) or not isinstance(previous, (int, float)) + or not math.isfinite(previous) or previous <= 0 + or isinstance(value, bool) or not isinstance(value, (int, float)) + or not math.isfinite(value) or not 0 < value < previous + or not isinstance(ancestor_sha256, str) or len(ancestor_sha256) != 64 + or any(c not in "0123456789abcdef" for c in ancestor_sha256)): + raise ContractError("voltage_lift_invalid_nonlinear_refinement") + return {"schema": "solarlab.voltage-lift-nonlinear-refinement.v1", + "field": "nonlin_conv_coef", "previous_value": float(previous), + "value": float(value), "previous_controls_sha256": digest(dict(previous_controls)), + "ancestor_request_sha256": ancestor_sha256} + + +def _voltage_lift_nonlinear_guard(previous_controls, ancestor_sha256, policy, capacity): + """Bind the optional native policy and its resource-only trace capacity.""" + if (not isinstance(policy, str) or policy != "first-correction-wrms-v1" + or isinstance(capacity, bool) or not isinstance(capacity, int) + or not 1 <= capacity <= 4096 + or not isinstance(ancestor_sha256, str) or len(ancestor_sha256) != 64 + or any(c not in "0123456789abcdef" for c in ancestor_sha256)): + raise ContractError("voltage_lift_invalid_nonlinear_guard") + return {"schema": "solarlab.voltage-lift-nonlinear-guard.v1", "policy": policy, + "trace_capacity": capacity, + "previous_controls_sha256": digest(dict(previous_controls)), + "ancestor_request_sha256": ancestor_sha256} + + +def _voltage_lift_startup_step(previous_controls, ancestor_sha256, value): + """Bind an explicit initial step without replacing the inherited controls.""" + previous = previous_controls.get("first_step", 0.0) + maximum = previous_controls.get("max_step", 0.0) + if (isinstance(previous, bool) or not isinstance(previous, (int, float)) + or not math.isfinite(previous) or previous < 0 + or isinstance(maximum, bool) or not isinstance(maximum, (int, float)) + or not math.isfinite(maximum) or maximum < 0 + or isinstance(value, bool) or not isinstance(value, (int, float)) + or not math.isfinite(value) or value <= 0 + or (maximum > 0 and value > maximum) + or not isinstance(ancestor_sha256, str) or len(ancestor_sha256) != 64 + or any(c not in "0123456789abcdef" for c in ancestor_sha256)): + raise ContractError("voltage_lift_invalid_startup_step") + return {"schema": "solarlab.voltage-lift-startup-step.v1", "field": "first_step", + "previous_value": float(previous), "value": float(value), + "application": "every_protocol_initialization", + "previous_controls_sha256": digest(dict(previous_controls)), + "ancestor_request_sha256": ancestor_sha256} + + +def _voltage_lift_time_weights(mapping, parent_controls, parent_proof, ancestor_sha256, kappa, + qualification_policy=None): + """One parent-bound time-error experiment; no adaptive-path equivalence. + + At identical states/corrections the exact WRMS and Newton thresholds + scale together. Matching norm histories also preserve rate/ss. Native + rounded decisions and future weighting states need separate evidence. + """ + exponents = {1024: 10, 65536: 16} + size = 45 + if qualification_policy is not None: + from scripts.benchmarks.qualification_policy import validate_policy + qualification_policy = validate_policy(qualification_policy) + size = qualification_policy["coordinates"] + if mapping.model.intervals != qualification_policy["intervals"]: + raise ContractError("qualification_time_weight_mesh") + if (type(kappa) is not int or kappa not in exponents + or mapping.model.definition.id != "DynamicAcceptorIonPublicDeviceV1" + or mapping.model.layout.size != size + or parent_controls.get("nonlin_conv_coef") != 1e-8 + or parent_controls.get("nonlin_guard") != "first-correction-wrms-v1" + or parent_controls.get("nonlin_trace_capacity") != 4096 + or parent_controls.get("first_step") != 7.8125e-7 + or not isinstance(ancestor_sha256, str) or len(ancestor_sha256) != 64 + or any(c not in "0123456789abcdef" for c in ancestor_sha256)): + raise ContractError("voltage_lift_invalid_time_weights") + old = {key: parent_controls[key] for key in ("rtol", "atol", "nonlin_conv_coef")} + exponent = exponents[kappa] + values = {"rtol": math.ldexp(old["rtol"], -exponent), + "atol": [math.ldexp(value, -exponent) for value in old["atol"]], + "nonlin_conv_coef": math.ldexp(old["nonlin_conv_coef"], exponent)} + f = lambda value: Fraction.from_float(float(value)) + pairs = [(old["rtol"], values["rtol"], Fraction(1, kappa)), + (old["nonlin_conv_coef"], values["nonlin_conv_coef"], Fraction(kappa))] + pairs += [(a, b, Fraction(1, kappa)) for a, b in zip(old["atol"], values["atol"], strict=True)] + if (len(values["atol"]) != size + or any(not math.isfinite(b) or b < sys.float_info.min or f(b) != f(a)*scale + for a, b, scale in pairs)): + raise ContractError("voltage_lift_time_weights_not_exact_normal") + policy = { + "schema": "solarlab.voltage-lift-time-weights.v1", "kappa": kappa, + "ancestor_request_sha256": ancestor_sha256, + "parent_controls_sha256": digest(dict(parent_controls)), + "parent_weight_certificate_sha256": digest(parent_proof), + "parent_values": old, "values": values, + "application": "every_fresh_initialization_before_first_solve", + "exact_parameter_scaling": f"rtol/atol ldexp(-{exponent}); nonlin_conv_coef ldexp(+{exponent}); positive normal binary64", + "norm_comparison": f"same-state denominators divide by{kappa}; exact WRMS and epcon/epsNewt/toldel/m0-direct thresholds multiply by{kappa}", + "history_condition": "matching correction/weight histories preserve norm ratios and dimensionless rate/ss; later ss*WRMS comparison scales homogeneously", + "local_time_error_threshold": 1, + "rounded_native_decisions_or_adaptive_path_equal": False, + "global_accuracy_or_conservation_certified": False, + } + if qualification_policy is not None: + policy.update(schema="solarlab.voltage-lift-time-weights.v2", + qualification_policy_sha256=digest(qualification_policy)) + applied = dict(parent_proof, rtol=values["rtol"], atol=values["atol"], + rtol_hex=values["rtol"].hex(), + parent_weight_certificate_sha256=digest(parent_proof), + time_weight_policy_sha256=digest(policy)) + applied["proof"] += "; exact power-of-two contraction of both applied denominator terms" + applied["components"] = [] + for row, atol in zip(parent_proof["components"], values["atol"], strict=True): + scale = Fraction(row["scale_exact"]) + offset = Fraction(row["offset_upper_exact"]) + original = Fraction(row["old_physical_atol_exact"]) + absolute, r = scale*f(atol), f(values["rtol"]) + checks = {"positive_atol": atol > 0, "rtol_not_larger": r <= f(parent_proof["rtol"]), + "half_absolute_budget": r*offset <= original/2, + "encoded_atol_not_larger": absolute <= original-r*offset, + "triangle_margin": absolute+r*offset <= original} + if not all(checks.values()): + raise ContractError("voltage_lift_time_weights_certificate_failed") + applied["components"].append(dict(row, new_physical_atol_exact=str(absolute), + atol_z_hex=atol.hex(), checks=checks)) + return policy, dict(parent_controls, **values), applied + + +def _voltage_lift_guard_applied(raw_statistics, controls): + """Requested policy alone cannot establish actual installation or tracing.""" + policy = controls.get("nonlin_guard") + if policy is None: + return + trace = raw_statistics.get("nonlinear_guard") + if (not isinstance(trace, Mapping) or trace.get("installed_at_capture") is not True + or trace.get("applied_policy") != policy or trace.get("requested_policy") != policy + or trace.get("delegate_data_verified") is not True + or trace.get("newton_ops_verified") is not True or trace.get("complete") is not True + or trace.get("capacity") != controls["nonlin_trace_capacity"] + or trace.get("owner") != raw_statistics.get("observation_owner") + or trace.get("generation") != raw_statistics.get("observation_generation") + or trace.get("build_identity") != raw_statistics.get("nonlinear_control_state", {}).get("build_identity")): + raise ContractError("voltage_lift_nonlinear_guard_not_applied") + + +def _voltage_lift_segment_startup(request, overrides): + """Bind automatic or the selected explicit hold step to parent controls.""" + if "physical_tolerance_policy" in request: + from scripts.benchmarks.physical_tolerance import segment_startup_policy + return segment_startup_policy(request, overrides) + controls = request["controls"] + exponents = {1024: 10, 65536: 16} + kappa = request.get("time_weight_policy", {}).get("kappa") + qualification_policy = request.get("qualification_policy") + size = 45 + if qualification_policy is not None: + from scripts.benchmarks.qualification_policy import validate_policy + qualification_policy = validate_policy(qualification_policy) + size = qualification_policy["coordinates"] + if (not isinstance(overrides, Mapping) or set(overrides) != {"slow_state_hold"} + or not isinstance(overrides["slow_state_hold"], Mapping) + or set(overrides["slow_state_hold"]) != {"first_step"}): + raise ContractError("voltage_lift_invalid_segment_startup") + value = overrides["slow_state_hold"]["first_step"] + if (type(value) not in (int, float) or value not in (0, 2.0**-32) or math.copysign(1, value) != 1 + or request["case_id"] != "DynamicAcceptorIonPublicDeviceV1" + or [s["id"] for s in request["segments"]] != [ + "dark_equilibrium_hold", "voltage_ramp", "slow_state_hold"] + or controls.get("first_step") != 7.8125e-7 + or len(controls.get("atol", [])) != size + or type(kappa) is not int or kappa not in exponents + or controls.get("nonlin_conv_coef") != math.ldexp(1e-8, exponents[kappa]) + or controls.get("nonlin_guard") != "first-correction-wrms-v1" + or controls.get("nonlin_trace_capacity") != 4096): + raise ContractError("voltage_lift_invalid_segment_startup") + policy = {"schema": "solarlab.voltage-lift-segment-startup.v1", + "ancestor_request_sha256": request["prior_request_sha256"], + "base_controls_sha256": digest(controls), + "segments_sha256": digest(request["segments"]), + "time_weight_policy_sha256": digest(request["time_weight_policy"]), + "overrides": {"slow_state_hold": {"first_step": float(value)}}, + "application": "fresh_segment_initialization_before_first_solve"} + if qualification_policy is not None: + policy.update(schema="solarlab.voltage-lift-segment-startup.v2", + qualification_policy_sha256=digest(qualification_policy)) + return policy + + +def _voltage_lift_initialization_controls(request, segment): + """Copy base controls; the bound override applies only to the named hold.""" + controls = dict(request["controls"]) + if "segment_startup_policy" in request: + policy = request["segment_startup_policy"] + if not isinstance(policy, Mapping): + raise ContractError("voltage_lift_invalid_segment_startup") + expected = _voltage_lift_segment_startup(request, policy.get("overrides")) + if digest(policy) != digest(expected): + raise ContractError("voltage_lift_segment_startup_binding") + if digest(asdict(segment)) not in {digest(s) for s in request["segments"]}: + raise ContractError("voltage_lift_segment_startup_unbound_segment") + controls.update(expected["overrides"].get(segment.id, {})) + return controls + + +def _segment_frame_policy(request, name): + if type(name) is not str or name != "fixed-affine-state-rate-v1": + raise ContractError("invalid_segment_frame_policy") + return {"schema": "solarlab.segment-frame-policy.v1", "name": name, + "ancestor_request_sha256": request["prior_request_sha256"], + "parent_map_identity": request["map_identity"], + "controls_sha256": digest(request["controls"]), "segments_sha256": digest(request["segments"]), + "sampling_sha256": digest((request["observation_times"], request["quadrature"])), + "weight_certificate_sha256": digest(request["weight_certificate"]), + "segment_startup_policy_sha256": digest(request.get("segment_startup_policy")), + "qualification_policy_sha256": digest(request.get("qualification_policy")), + "application": "one_fixed_live_origin_at_each_existing_fresh_segment_initialization", + "weight_rounding": "RN-exact-parent-q_then-unfused-SV-v1", + "requested_first_steps_unchanged": True, "actual_automatic_first_step_parity_claimed": False} + + +def _validate_segment_frame_policy(request): + if "reference_refresh_policy" in request: + policy = request["reference_refresh_policy"] + if type(policy) is not dict or policy != _reference_refresh_policy(request, float.fromhex(policy["time_hex"])): + raise ContractError("reference_refresh_policy_binding") + if any(key in request for key in ("segment_frame", "frame_overrides", "parent_weight_frame", "physical_weight_frame")): + raise ContractError("segment_frame_unbound_option") + if "segment_frame_policy" in request: + policy = request["segment_frame_policy"] + if not isinstance(policy, Mapping): + raise ContractError("invalid_segment_frame_policy") + if digest(policy) != digest(_segment_frame_policy(request, policy.get("name"))): + raise ContractError("segment_frame_policy_binding") + if any(key in request for key in ("frame_input_profile", "frame_input_words", "mapped_input_profile")): + raise ContractError("frame_input_unbound_option") + if "frame_input_policy" in request: + policy = request["frame_input_policy"] + if not isinstance(policy, Mapping) or digest(policy) != digest( + _frame_input_policy(request, policy.get("profile"))): + raise ContractError("frame_input_policy_binding") + elif ("frame_input_parent" in request or any(key in request.get("voltage_lift_map", {}) + for key in ("mapped_input_profile", "mapped_input_words"))): + raise ContractError("frame_input_unbound_parent") + + +def _frame_input_parent_binding(request): + """Bind exact failed-file contents, independent of mutable closeout prose.""" + parent = request.get("frame_input_parent") + if (type(parent) is not dict or set(parent) != {"request_json", "native_result_json", "first_failure_json"} + or any(type(v) is not str or len(v.encode()) > 1024*1024 for v in parent.values())): + raise ContractError("frame_input_parent_evidence") + try: + old, result, failure = (json.loads(parent[k]) for k in ( + "request_json", "native_result_json", "first_failure_json")) + except (ValueError, TypeError) as error: + raise ContractError("frame_input_parent_evidence") from error + if any(type(value) is not dict for value in (old, result, failure)): + raise ContractError("frame_input_parent_evidence") + old_id = digest(old) + if (old.get("schema") != "solarlab.voltage-lift-native-request.v1" or "frame_input_policy" in old + or "segment_frame_policy" not in old or result.get("request_sha256") != old_id + or result.get("complete_protocol") is not False + or result.get("reason") != "primitive_expansion_capacity_exceeded" + or failure.get("kind") != "first_callback_failure" + or digest(failure.get("failure")) != digest(result.get("first_failure"))): + raise ContractError("frame_input_parent_failure_binding") + control_refinement = same_physical_profile = None + old_controls, controls = old.get("controls"), request.get("controls") + old_policy, policy = old.get("time_weight_policy"), request.get("time_weight_policy") + comparison_controls = old_controls + if "physical_tolerance_policy" in request: + from scripts.benchmarks.physical_tolerance import validate_request + physical = validate_request(request) + if type(old_controls) is not dict: + raise ContractError("frame_input_physical_parent_profile") + if "physical_tolerance_policy" in old: + # A capacity-only successor of an already physical request. Source + # identities are regenerated; physical policy and controls are not. + old_physical = validate_request(old) + # Python equality aliases bool/int; bind the supplied JSON values. + for supplied, expected in ((old, old_physical), (request, physical)): + if any(digest(supplied[key]) != digest(expected) + for key in ("physical_tolerance_policy", "weight_certificate")): + raise ContractError("frame_input_same_physical_raw_policy") + if digest(old_physical) != digest(physical): + raise ContractError("frame_input_same_physical_policy") + for key in ("budgets", "observation_policy", "quadrature_uncertainty_scope", + "observation_policy_authority", "projection_policy", + "full_word_consumer_qualification", "history_policy", + "startup_step_policy", "segment_startup_policy", "reference_refresh_policy"): + if ((key in request) != (key in old) + or digest(request.get(key)) != digest(old.get(key))): + raise ContractError("frame_input_same_physical_setting:"+key) + if type(request["voltage_lift_map"].get("mapped_input_words")) is not int: + raise ContractError("frame_input_parent_map_profile") + same_physical_profile = {"schema": "solarlab.frame-input-same-physical-profile.v1", + "physical_tolerance_policy_sha256": digest(physical), + "controls_sha256": digest(controls), "raw_parent_words": 4, + "mapped_input_words": 12, "physical_controls_changed": False, + "old_parent_failure_retained": True} + else: + comparison_controls = controls + control_refinement = {"schema": "solarlab.frame-input-physical-control.v1", + "old_failed_request_sha256": old_id, "old_controls_sha256": digest(old_controls), + "controls_sha256": digest(controls), "physical_tolerance_policy_sha256": digest(physical), + "old_parent_failure_retained": True, "effective_nonlinear_equivalence": False} + elif digest(controls) != digest(old_controls) or (type(policy) is dict and policy.get("kappa") == 65536): + valid = (type(old_controls) is dict and type(controls) is dict + and type(old_policy) is dict and type(policy) is dict + and old_policy.get("schema") == policy.get("schema") == "solarlab.voltage-lift-time-weights.v1" + and type(old_policy.get("kappa")) is int and old_policy["kappa"] == 1024 + and type(policy.get("kappa")) is int and policy["kappa"] == 65536) + if not valid: + raise ContractError("frame_input_parent_time_controls") + keys = ("rtol", "atol", "nonlin_conv_coef") + if (old_policy.get("values") != {k: old_controls.get(k) for k in keys} + or policy.get("values") != {k: controls.get(k) for k in keys} + or policy.get("parent_values") != old_policy.get("parent_values") + or old_policy.get("ancestor_request_sha256") != old.get("prior_request_sha256") + or policy.get("ancestor_request_sha256") != request.get("prior_request_sha256") + or type(old_policy.get("parent_values")) is not dict + or set(old_policy["parent_values"]) != set(keys) + or old_policy.get("parent_controls_sha256") != digest(dict(old_controls, **old_policy["parent_values"])) + or policy.get("parent_controls_sha256") != digest(dict(controls, **policy["parent_values"]))): + raise ContractError("frame_input_parent_time_policy") + expected_values = {} + for key in keys: + before = old_controls[key] if key == "atol" else [old_controls[key]] + after = controls[key] if key == "atol" else [controls[key]] + parent_values = old_policy["parent_values"][key] if key == "atol" else [old_policy["parent_values"][key]] + size = 45 if key == "atol" else 1 + if (type(before) is not list or type(after) is not list or type(parent_values) is not list + or len(before) != size or len(after) != size or len(parent_values) != size + or any(type(v) is not float or not math.isfinite(v) or v < sys.float_info.min + for v in before + after + parent_values)): + raise ContractError("frame_input_parent_time_normal") + scale = Fraction(64) if key == "nonlin_conv_coef" else Fraction(1, 64) + parent_scale = Fraction(1024) if key == "nonlin_conv_coef" else Fraction(1, 1024) + if any(Fraction(b) != Fraction(a)*scale or Fraction(a) != Fraction(p)*parent_scale + for p, a, b in zip(parent_values, before, after, strict=True)): + raise ContractError("frame_input_parent_time_scaling") + expected_values[key] = after if key == "atol" else after[0] + old_certificate, certificate = old.get("weight_certificate"), request.get("weight_certificate") + if type(old_certificate) is not dict or type(certificate) is not dict: + raise ContractError("frame_input_parent_time_certificate") + expected_policy = dict(old_policy, kappa=65536, values=expected_values, + parent_weight_certificate_sha256=certificate.get("parent_weight_certificate_sha256"), + exact_parameter_scaling="rtol/atol ldexp(-16); nonlin_conv_coef ldexp(+16); positive normal binary64", + norm_comparison="same-state denominators divide by65536; exact WRMS and epcon/epsNewt/toldel/m0-direct thresholds multiply by65536") + if (digest(policy) != digest(expected_policy) + or old_certificate.get("time_weight_policy_sha256") != digest(old_policy) + or certificate.get("time_weight_policy_sha256") != digest(policy) + or any(certificate.get(k) != controls[k] for k in ("rtol", "atol"))): + raise ContractError("frame_input_parent_time_certificate") + comparison_controls = dict(old_controls, **expected_values) + control_refinement = { + "schema": "solarlab.frame-input-time-control.v1", "factor": 64, + "old_kappa": 1024, "kappa": 65536, + "old_controls_sha256": digest(old_controls), "controls_sha256": digest(controls), + "old_time_weight_policy_sha256": digest(old_policy), "time_weight_policy_sha256": digest(policy), + "scaling": "exact rtol/atol /64; nonlin_conv_coef *64; positive normal binary64", + "physical_gates_changed": False} + for key in ("case_id", "prior_request_sha256", "controls", "previous_controls", "segments", + "observation_times", "quadrature", "original_budgets", "mandatory", "physical_domain_policy"): + if key not in request or digest(request[key]) != digest(comparison_controls if key == "controls" else old.get(key)): + raise ContractError("frame_input_parent_science_changed:"+key) + current_map = dict(request["voltage_lift_map"]) + if (current_map.pop("mapped_input_profile", None) != "frame-input-expansion12-v1" + or current_map.pop("mapped_input_words", None) != 12): + raise ContractError("frame_input_parent_map_profile") + # Source identities are genuine and may change; the physical map does not. + prior_map = dict(old["voltage_lift_map"]) + current_map.pop("physical_model"); prior_map.pop("physical_model") + if digest(current_map) != digest(prior_map): + raise ContractError("frame_input_parent_map_changed") + current_packet, prior_packet = (json.loads(json.dumps(x)) for x in (request["numeric_packet"], old["numeric_packet"])) + for packet in (current_packet, prior_packet): + packet["definition"].pop("source_path", None) + packet.pop("definition_identity", None) + if digest(current_packet) != digest(prior_packet): + raise ContractError("frame_input_parent_physics_changed") + result = {"request_sha256": old_id, **{ + key.removesuffix("_json")+"_file_sha256": sha256(value.encode()).hexdigest() + for key, value in parent.items()}} + if control_refinement is not None: + result["control_refinement"] = control_refinement + if same_physical_profile is not None: + result["same_physical_profile"] = same_physical_profile + return result + + +def _qualified_frame_input_context(request): + """Bind the qualified arithmetic profile without a fabricated failed run.""" + from scripts.benchmarks.qualification_policy import check_applied_ceiling + + outputs = {"z0", "zdot0", "actual_initial_identity", "initial_preparation", + "preparation_context_sha256", "initial_segment_frame", "interval_observation", + "frame_input_policy"} + context = {k: v for k, v in request.items() if k not in outputs} + if "frame_input_parent" in request or "qualification_policy" not in request: + raise ContractError("qualified_frame_input_authority") + try: + size = check_applied_ceiling(context) + except (ValueError, KeyError, TypeError, OverflowError) as error: + raise ContractError("qualified_frame_input_context") from error + policy, packet, mapping = request["qualification_policy"], request["numeric_packet"], request["voltage_lift_map"] + lift = [[0.0.hex(), 0.0.hex()] for _ in range(size)] + lo, hi = packet["variable_offsets"]["phi_V"] + for i, x in enumerate(packet["x_m"], lo): + lift[i][0] = (-x/packet["definition"]["length"]).hex() + first = request["segments"][0] + references = [float(first["voltage"][0]).hex(), float(first["photons"][0]).hex()] + if (digest(mapping) != request["map_identity"] + or mapping.get("mapped_input_profile") != "frame-input-expansion12-v1" + or mapping.get("mapped_input_words") != 12 + or mapping.get("columns_hex") != [float(v).hex() for v in packet["column_scaling"]] + or mapping.get("rows_hex") != [float(v).hex() for v in packet["row_scaling"]] + or mapping.get("lift_hex") != lift or mapping.get("reference_inputs_hex") != references + or mapping.get("physical_reference") != packet.get("initial_identity") + or mapping.get("layout") != packet.get("layout_identity") + or "segment_frame" in mapping or hi-lo != policy["nodes"] + or not isinstance(mapping.get("physical_model"), str) + or len(mapping["physical_model"]) != 64): + raise ContractError("qualified_frame_input_map") + return {"authority": "original-two-case-qualified-request", + "qualification_policy_sha256": digest(policy), + "origin_sha256": digest(policy["origin"]), + "prepared_inputs_sha256": digest(context), + "numeric_packet_sha256": digest(packet), + "definition_identity": packet["definition_identity"], + "physical_model_identity": mapping["physical_model"], + "physical_reference_identity": mapping["physical_reference"], + "layout_identity": mapping["layout"], + "weight_certificate_sha256": digest(request["weight_certificate"])} + + +def _frame_input_policy(request, profile): + from scripts.benchmarks.precision_prototype import FRAME_INPUT_PROFILE + + if type(profile) is not str or profile != FRAME_INPUT_PROFILE or "segment_frame_policy" not in request: + raise ContractError("frame_input_requires_bound_segment_frame") + diagnostic = "diagnostic_interval" in request + qualified = "qualification_policy" in request + authority = ({"diagnostic_context": diagnostic_interval_context(request)["summary"]} if diagnostic else + {"qualified_context": _qualified_frame_input_context(request)} if qualified + else {"failed_parent": _frame_input_parent_binding(request)}) + return {"schema": "solarlab.frame-input-policy.v3" if diagnostic else + "solarlab.frame-input-policy.v2" if qualified else "solarlab.frame-input-policy.v1", + "profile": profile, **authority, + "ancestor_request_sha256": request["prior_request_sha256"], + "parent_map_identity": request["map_identity"], + "segment_frame_policy_sha256": digest(request["segment_frame_policy"]), + "controls_sha256": digest(request["controls"]), "segments_sha256": digest(request["segments"]), + "sampling_sha256": digest((request["observation_times"], request["quadrature"])), + "mapped_input_words": 12, "raw_parent_words": 4, + "bound": "four-parent-words_times_column_plus_voltage_and_reference_DD_products", + "physical_gates_changed": False} + + +def _voltage_lift_frame_applied(statistics, frame, *, after_step=False, request=None): + from scripts.benchmarks.native_observation import restore_observation_record + + value = statistics.get("parent_weight_state") + if value is None: + raise ContractError("segment_frame_weight_evidence_missing") + value = restore_observation_record(value) + if request is not None and "physical_tolerance_policy" in request: + from scripts.benchmarks.physical_tolerance import weight_option + segment = next(s for s in request["segments"] if digest(s) == frame.segment_sha256) + option = weight_option(request, frame.payload(), segment) + words = lambda row: np.array([float.fromhex(v) for v in row], dtype=" dict: + """Prepare the full original protocol; this does not authorize execution.""" + model, old = mapping.model, json.loads(json.dumps(dict(previous_request), allow_nan=False)) + qualification_policy = old.get("qualification_policy") + if (mapping.mapped_input_profile != frame_input_profile + or frame_input_profile is None and frame_input_parent is not None + or frame_input_profile is not None and qualification_policy is None and frame_input_parent is None + or qualification_policy is not None and frame_input_parent is not None): + raise ContractError("frame_input_constructor_binding") + if qualification_policy is not None: + qualification_policy = _qualification_scope(model, segments, qualification_policy) + from scripts.benchmarks.qualification_policy import matches_options + chosen = dict(nonlin_conv_coef=nonlin_conv_coef, nonlin_guard=nonlin_guard, + nonlin_trace_capacity=nonlin_trace_capacity, first_step=first_step, + time_weight_kappa=time_weight_kappa, + segment_startup_overrides=segment_startup_overrides) + if physical_tolerance_profile is None and not matches_options(qualification_policy, chosen): + raise ContractError("qualification_unbound_control_options") + if ((qualification_policy is None and (model.intervals != 8 or model.layout.size > 45)) or len(segments) != 3 + or old["schema"] != "solarlab.affine-native-request.v1" + or old["case_id"] != model.definition.id + or digest(old["segments"]) != digest([asdict(s) for s in segments])): + raise ContractError("voltage_lift_original_case_or_protocol_changed") + packet = model.numeric_packet() + for key, value in asdict(model.definition).items(): + if key != "source_path" and old["numeric_packet"]["definition"][key] != value: + raise ContractError("voltage_lift_material_or_initial_data_changed:"+key) + for key in ("x_m", "cell_edges_m", "volumes_m3", "face_areas_m2", "column_scaling", "row_scaling"): + if old["numeric_packet"][key] != packet[key]: + raise ContractError("voltage_lift_geometry_or_scaling_changed:"+key) + if any(k in old["controls"] for k in ("constraints_idx", "constraints_type")): + raise ContractError("absolute_population_constraints_on_voltage_departures") + if physical_tolerance_profile is not None: + from scripts.benchmarks.physical_tolerance import make_policy, controls as physical_controls + if (time_weight_kappa is not None or nonlin_conv_coef not in (None, 1e-8) + or nonlin_guard not in (None, "first-correction-wrms-v1") or nonlin_trace_capacity != 4096): + raise ContractError("physical_tolerance_mixed_legacy_controls") + proof = make_policy(packet, physical_tolerance_profile) + controls = physical_controls(old["controls"], proof) + else: + proof = voltage_lift_wrms_policy(mapping, old["controls"], segments) + controls = dict(old["controls"]) + controls.update(rtol=proof["rtol"], atol=proof["atol"]) + refinement = None + if nonlin_conv_coef is not None and physical_tolerance_profile is None: + refinement = _voltage_lift_nonlinear_refinement( + old["controls"], digest(old), nonlin_conv_coef) + controls["nonlin_conv_coef"] = refinement["value"] + guard = None + if nonlin_guard is not None and physical_tolerance_profile is None: + guard = _voltage_lift_nonlinear_guard( + old["controls"], digest(old), nonlin_guard, nonlin_trace_capacity) + controls.update(nonlin_guard=guard["policy"], nonlin_trace_capacity=guard["trace_capacity"]) + elif type(nonlin_trace_capacity) is not int or nonlin_trace_capacity != 4096: + raise ContractError("voltage_lift_invalid_nonlinear_guard") + startup = None + if first_step is not None: + startup = _voltage_lift_startup_step(old["controls"], digest(old), first_step) + controls["first_step"] = startup["value"] + time_weights = None + if time_weight_kappa is not None: + time_weights, controls, proof = _voltage_lift_time_weights( + mapping, controls, proof, digest(old), time_weight_kappa, qualification_policy) + request = { + "schema": "solarlab.voltage-lift-native-request.v1", "case_id": model.definition.id, + "prior_request_sha256": digest(old), "numeric_packet": packet, + "voltage_lift_map": mapping.payload(), "map_identity": mapping.identity, + "segments": old["segments"], "controls": controls, + "previous_controls": old["controls"], "weight_certificate": proof, + "budgets": dict(old["budgets"]), "original_budgets": dict(old["budgets"]), + "observation_times": old["observation_times"], "quadrature": old["quadrature"], + "mandatory": dict(old["mandatory"], mapped_rate_projection_budget=True), + "observation_policy": old["observation_policy"], + "quadrature_uncertainty_scope": "original8/16/32 tables retain sample checks; a separately reviewed polynomial policy supplies ball radii and endpoint/input/clock/readback error bounds; empirical Gauss differences are not certificates", + "observation_policy_authority": "native admission requires the exact reviewed request.interval_observation; the inherited observation_policy retains historical context only", + "projection_policy": { + "rates": "public RateView carries all direct-map words through residual and observation; first-word audit is counterfactual only", + "point_current": "full-word raw/tangent currents and separate public row-arithmetic bounds; complete observation error allocation awaits qualification", + "charge_integrands": ["sum(reservoir_conduction)", "left(total-conduction)", "right(total-conduction)"], + "interval": "source-bound affine polynomial actions and bounded nonlinear physical-source integrals require every endpoint/input/clock/readback error term; first-word projection remains a counterfactual diagnostic", + "prefix": "nonnegative exact-rational interval defects and observation bounds accumulate without resets or signed cancellation; original total and B/3 allocations remain", + "continuum_certificate": False, + }, + "full_word_consumer_qualification": { + "native_policy_admitted": False, + "local_action_scope": "affine contractions of represented state, endpoint increment and rate words with finite physical coefficients", + "pending": ["full physical source and row error allocation", "continuous quadrature error certification", + "source-bound native protocol and independent refinements"], + "physical_gates_changed": False, + }, + "physical_domain_policy": old["physical_domain_policy"], + "history_policy": "one original physical reference/map; preserve actual accepted native/stop and both event-side coordinates/rates, immutable source-owned polynomial snapshots, separately named declared_polynomial samples, all physical rate words and the same-state tangent; original interpolant/restore histories remain readable", + "uncertified_by_first_pilot": old["uncertified_by_first_pilot"]+[ + "source-bound observation policy and whole-protocol independent time/state/space qualification"], + "native_admission": False, + } + if physical_tolerance_profile is not None: + request["physical_tolerance_policy"] = proof + request["physical_charge_forms"] = {name: model.linear_forms["increment"][name].identity + for name in ("body_charge", "metal_charge")} + if qualification_policy is not None: + request.update(qualification_policy=qualification_policy, qualification_ancestor=old) + if refinement is not None: + request["nonlinear_control_refinement"] = refinement + if guard is not None: + request["nonlinear_guard_policy"] = guard + if startup is not None: + request["startup_step_policy"] = startup + if time_weights is not None: + request["time_weight_policy"] = time_weights + if segment_startup_overrides is not None: + request["segment_startup_policy"] = _voltage_lift_segment_startup( + request, segment_startup_overrides) + if segment_frame is not None: + request["segment_frame_policy"] = _segment_frame_policy(request, segment_frame) + if certificate_policy is not None: + from scripts.benchmarks.physical_tolerance import validate_certificate_policy + request["certificate_failure_policy"] = dict(certificate_policy) + validate_certificate_policy(request) + if stop_after_segment is not None: + from scripts.benchmarks.physical_tolerance import run_window_policy + request["execution_window"] = run_window_policy(request, stop_after_segment) + if reference_refresh_time is not None: + request["reference_refresh_policy"] = _reference_refresh_policy(request, reference_refresh_time) + if frame_input_profile is not None: + if frame_input_parent is not None: + request["frame_input_parent"] = json.loads(json.dumps(frame_input_parent, allow_nan=False)) + request["frame_input_policy"] = _frame_input_policy(request, frame_input_profile) + if qualification_policy is not None: + from scripts.benchmarks.qualification_policy import check_applied_ceiling + check_applied_ceiling(request) + # This preparation context deliberately precedes the final request. Its + # digest remains labelled as such; no self-referential hash is invented. + context = AffineSamplingContext(model, request) + z0 = np.zeros(model.layout.size) + _, z0, zdot0, initial_record, frame_record = voltage_lift_segment_initialization( + mapping, context, context.segments[0], 1, z0, model.reference) + request.update(z0=z0.tolist(), zdot0=zdot0.tolist(), actual_initial_identity=initial_record["point_identity"], + initial_preparation=initial_record, preparation_context_sha256=context.request_sha256) + if frame_record is not None: + request["initial_segment_frame"] = frame_record + return request + + +def validate_voltage_lift_native_request(mapping: AffineVoltageMap, segments, request: Mapping): + """Fail closed on request/physical/allocation changes before importing IDA.""" + from scripts.benchmarks.physical_tolerance import validate_certificate_policy, run_segment_count + validate_certificate_policy(request) + run_segment_count(request) + physical_profile = "physical_tolerance_policy" in request + if physical_profile: + from scripts.benchmarks.physical_tolerance import require_balance_integration + require_balance_integration(request) + model = mapping.model + if "diagnostic_interval" in request: + data = diagnostic_interval_context(request) + if (request["map_identity"] != mapping.identity or mapping.frame is not None + or digest(model.numeric_packet()) != digest(request["numeric_packet"]) + or digest(mapping.payload()) != digest(request["voltage_lift_map"]) + or digest([asdict(s) for s in segments]) != digest(request["segments"]) + or model.source_identity != request["source_rebinding"]["physical_model_identity"] + or model.reference.identity != data["accepted"]["physical_reference_identity"] + or str(Path(__file__).resolve()) != str(Path(request["source_rebinding"]["numeric_kernel"]["path"]).resolve())): + raise ContractError("diagnostic_actual_model_binding") + _validate_segment_frame_policy(request) + return + if (request.get("schema") != "solarlab.voltage-lift-native-request.v1" + or request.get("case_id") != model.definition.id + or request.get("map_identity") != mapping.identity + or digest(request.get("voltage_lift_map")) != mapping.identity + or digest(model.numeric_packet()) != digest(request["numeric_packet"]) + or digest([asdict(s) for s in segments]) != digest(request["segments"])): + raise ContractError("voltage_lift_native_request_binding") + qualification_policy = request.get("qualification_policy") + if qualification_policy is None and (model.intervals != 8 or model.layout.size > 45 or len(segments) != 3): + raise ContractError("voltage_lift_native_scope") + if qualification_policy is not None: + qualification_policy = _qualification_scope(model, segments, qualification_policy) + from scripts.benchmarks.qualification_policy import check_applied_ceiling, matches_options + check_applied_ceiling(request) + chosen = dict(nonlin_conv_coef=request.get("nonlinear_control_refinement", {}).get("value"), + nonlin_guard=request.get("nonlinear_guard_policy", {}).get("policy"), + nonlin_trace_capacity=request.get("nonlinear_guard_policy", {}).get("trace_capacity", 4096), + first_step=request.get("startup_step_policy", {}).get("value"), + time_weight_kappa=request.get("time_weight_policy", {}).get("kappa"), + segment_startup_overrides=request.get("segment_startup_policy", {}).get("overrides")) + if not physical_profile and not matches_options(qualification_policy, chosen): + raise ContractError("qualification_unbound_control_options") + if physical_profile: + from scripts.benchmarks.physical_tolerance import validate_request + proof = validate_request(request) + controls = dict(request["controls"]) + if request["physical_charge_forms"] != {name: model.linear_forms["increment"][name].identity + for name in ("body_charge", "metal_charge")}: + raise ContractError("physical_tolerance_charge_forms_changed") + else: + proof = voltage_lift_wrms_policy(mapping, request["previous_controls"], tuple(segments)) + controls = dict(request["previous_controls"], rtol=proof["rtol"], atol=proof["atol"]) + refinement = request.get("nonlinear_control_refinement") + if refinement is not None: + if not isinstance(refinement, Mapping): + raise ContractError("voltage_lift_invalid_nonlinear_refinement") + expected = _voltage_lift_nonlinear_refinement( + request["previous_controls"], request["prior_request_sha256"], refinement.get("value")) + if digest(refinement) != digest(expected): + raise ContractError("voltage_lift_nonlinear_refinement_binding") + controls["nonlin_conv_coef"] = expected["value"] + guard = request.get("nonlinear_guard_policy") + if guard is not None: + if not isinstance(guard, Mapping): + raise ContractError("voltage_lift_invalid_nonlinear_guard") + expected = _voltage_lift_nonlinear_guard( + request["previous_controls"], request["prior_request_sha256"], + guard.get("policy"), guard.get("trace_capacity")) + if digest(guard) != digest(expected): + raise ContractError("voltage_lift_nonlinear_guard_binding") + controls.update(nonlin_guard=expected["policy"], nonlin_trace_capacity=expected["trace_capacity"]) + if "startup_step_policy" in request: + startup = request["startup_step_policy"] + if not isinstance(startup, Mapping): + raise ContractError("voltage_lift_invalid_startup_step") + expected = _voltage_lift_startup_step( + request["previous_controls"], request["prior_request_sha256"], startup.get("value")) + if digest(startup) != digest(expected): + raise ContractError("voltage_lift_startup_step_binding") + controls["first_step"] = expected["value"] + if "time_weight_policy" in request: + time_weights = request["time_weight_policy"] + if not isinstance(time_weights, Mapping): + raise ContractError("voltage_lift_invalid_time_weights") + expected, controls, proof = _voltage_lift_time_weights( + mapping, controls, proof, request["prior_request_sha256"], time_weights.get("kappa"), qualification_policy) + if digest(time_weights) != digest(expected): + raise ContractError("voltage_lift_time_weights_binding") + if (digest(proof) != digest(request["weight_certificate"]) + or digest(controls) != digest(request["controls"]) + or controls.get("calc_initcond") is not None + or controls.get("linsolver") != "sparse" + or any(k in controls for k in ("constraints_idx", "constraints_type"))): + raise ContractError("voltage_lift_native_controls_changed") + if "segment_startup_overrides" in request: + raise ContractError("voltage_lift_segment_startup_unbound_override") + if "segment_startup_policy" in request: + for segment in segments: + _voltage_lift_initialization_controls(request, segment) + _validate_segment_frame_policy(request) + if "segment_frame_policy" not in request and "initial_segment_frame" in request: + raise ContractError("segment_frame_unbound_initialization") + if "segment_frame_policy" in request: + record = request.get("initial_segment_frame", {}) + if (record.get("request_sha256") != request["preparation_context_sha256"] + or record.get("record_sha256") != digest({k: v for k, v in record.items() if k != "record_sha256"}) + or record.get("frame_identity") != digest(record.get("frame")) + or record.get("frame", {}).get("parent_map_identity") != mapping.identity + or record.get("frame", {}).get("segment_sha256") != digest(asdict(segments[0])) + or record.get("frame", {}).get("logical_initialization_index") != 1 + or record.get("frame", {}).get("t0_hex") != float(segments[0].start).hex() + or record.get("frame", {}).get("parent_input_sha256") != record.get("parent_input", {}).get("record_sha256") + or request["initial_preparation"].get("segment_frame_identity") != record.get("frame_identity") + or request["initial_preparation"].get("raw_z_hex") != record.get("native_initial_z_hex") + or request["initial_preparation"].get("raw_zdot_hex") != record.get("native_initial_zdot_hex") + or any(float(v) != 0 for v in (*request["z0"], *request["zdot0"]))): + raise ContractError("segment_frame_initial_preparation_binding") + if (digest(request["budgets"]) != digest(request["original_budgets"]) + or not all(request["mandatory"].values()) + or not request["mandatory"].get("mapped_rate_projection_budget")): + raise ContractError("voltage_lift_native_gates_changed") + qualification = request.get("full_word_consumer_qualification", {}) + if (qualification.get("native_policy_admitted") is not False + or qualification.get("physical_gates_changed") is not False): + raise ContractError("voltage_lift_full_word_qualification_not_reviewed") + if (segments[0].start != 0 or any(a.end != b.start or a.voltage[1] != b.voltage[0] + or a.photons[1] != b.photons[0] + for a, b in zip(segments[:-1], segments[1:], strict=True))): + raise ContractError("voltage_lift_native_protocol_discontinuity") + for segment in segments: + times = frozen_array(request["observation_times"][segment.id]) + if (times.ndim != 1 or times.size < 2 or times[0] != segment.start or times[-1] != segment.end + or np.any(np.diff(times) <= 0)): + raise ContractError("voltage_lift_native_observation_times") + for order in (8, 16, 32): + table = request["quadrature"][str(order)] + nodes, weights = frozen_array(table["nodes"]), frozen_array(table["weights"]) + if (nodes.shape != (order,) or weights.shape != (order,) or np.any(np.abs(nodes) >= 1) + or np.any(weights <= 0) or np.any(np.diff(nodes) <= 0)): + raise ContractError("voltage_lift_native_quadrature") + + +def voltage_lift_execution_wall_policy(request: Mapping, admission: Mapping) -> dict: + """Bind an execution wall limit without changing historical problem budgets.""" + original = request["budgets"]["wall_s"] + field = "execution_wall_limit" + if field not in admission: + return {"schema": "solarlab.native-execution-wall-observed.v1", + "original_wall_s": original, "effective_wall_s": original, + "admission_binding": None} + grant = admission[field] + keys = {"schema", "request_sha256", "original_wall_s", "wall_s", + "operation_id", "coordinator_message"} + if type(grant) is not dict or set(grant) != keys: + raise ContractError("voltage_lift_execution_wall_binding") + value = grant["wall_s"] + try: + finite_positive = type(value) in (int, float) and math.isfinite(value) and value > 0 + except (OverflowError, TypeError, ValueError): + finite_positive = False + if (not finite_positive or grant["schema"] != "solarlab.native-execution-wall.v1" + or grant["request_sha256"] != digest(dict(request)) + or type(grant["original_wall_s"]) is not type(original) or grant["original_wall_s"] != original + or admission.get("authority") != "Root" + or admission.get("voltage_lift_native_authorized") is not True + or not isinstance(grant["operation_id"], str) or not grant["operation_id"] + or grant["operation_id"] != admission.get("operation_id") + or not isinstance(grant["coordinator_message"], str) + or not grant["coordinator_message"].startswith("msg_") + or grant["coordinator_message"] != admission.get("coordinator_message")): + raise ContractError("voltage_lift_execution_wall_binding") + return {"schema": "solarlab.native-execution-wall-observed.v1", + "original_wall_s": original, "effective_wall_s": value, + "admission_binding": dict(grant)} + + +def voltage_lift_execution_output_policy(request: Mapping, admission: Mapping, *, + execution_provenance: Mapping | None = None) -> dict: + """Resolve an output allowance from caller-verified Root execution authority. + + The caller supplies provenance from its independently admitted operation, + never from NativeResult or a history sidecar. admission_sha256 is the + canonical document digest, after the caller verifies the actual admission + file and Root message. Historical problem budgets remain unchanged. + """ + original = request["budgets"]["total_output_bytes"] + field = "execution_output_limit" + error = "voltage_lift_execution_output_binding" + if type(original) is not int or original <= 0 or type(admission) is not dict: + raise ContractError(error) + if field not in admission: + if execution_provenance is not None: + raise ContractError(error) + return {"schema": "solarlab.native-execution-output-observed.v1", + "original_total_output_bytes": original, "effective_total_output_bytes": original, + "admission_binding": None, "execution_provenance": None} + grant = admission[field] + keys = {"schema", "request_sha256", "original_total_output_bytes", "total_output_bytes", + "operation_id", "coordinator_message"} + provenance_keys = {"admission_sha256", "request_sha256", "operation_id", "coordinator_message"} + if (type(grant) is not dict or set(grant) != keys + or type(execution_provenance) is not dict or set(execution_provenance) != provenance_keys): + raise ContractError(error) + value = grant["total_output_bytes"] + operation, message = grant["operation_id"], grant["coordinator_message"] + if (type(value) is not int or value <= 0 + or grant["schema"] != "solarlab.native-execution-output.v1" + or type(grant["original_total_output_bytes"]) is not int + or grant["original_total_output_bytes"] != original + or admission.get("authority") != "Root" + or admission.get("voltage_lift_native_authorized") is not True + or admission.get("map_identity") != request.get("map_identity") + or type(operation) is not str or not operation + or operation != admission.get("operation_id") or operation != execution_provenance["operation_id"] + or type(message) is not str or not message.startswith("msg_") or len(message) <= 4 + or message != admission.get("coordinator_message") or message != execution_provenance["coordinator_message"]): + raise ContractError(error) + try: + request_id, admission_id = digest(dict(request)), digest(admission) + except (TypeError, ValueError, OverflowError) as cause: + raise ContractError(error) from cause + if (grant["request_sha256"] != request_id or admission.get("request_sha256") != request_id + or execution_provenance["request_sha256"] != request_id + or execution_provenance["admission_sha256"] != admission_id): + raise ContractError(error) + return {"schema": "solarlab.native-execution-output-observed.v1", + "original_total_output_bytes": original, "effective_total_output_bytes": value, + "admission_binding": dict(grant), "execution_provenance": dict(execution_provenance)} + + +def run_voltage_lift_native_pilot(mapping: AffineVoltageMap, segments: tuple[ProtocolSegment, ...], + request: Mapping, admission: Mapping, emit, *, + timing: RuntimeTiming | None = None, + execution_provenance: Mapping | None = None) -> dict: + """One separately admitted full protocol with unchanged physical gates. + + This controller retains actual IDA outputs before any interpolation and + preserves both event sides. Source-owned phi/psi define separately named + polynomial observations with explicit error bounds. They do not replace + native rates, certify time/spatial accuracy, or restart a failed protocol. + """ + if timing is None: + timing = RuntimeTiming() + model = mapping.model + request_id = digest(dict(request)) + if (admission.get("request_sha256") != request_id + or admission.get("map_identity") != mapping.identity + or admission.get("voltage_lift_native_authorized") is not True + or not str(admission.get("coordinator_message", "")).startswith("msg_")): + raise ContractError("voltage_lift_native_pilot_not_admitted") + validate_voltage_lift_native_request(mapping, segments, request) + from scripts.benchmarks.physical_tolerance import validate_certificate_policy + certificate_policy = validate_certificate_policy(request) + science = _ScientificProgress(certificate_policy) if certificate_policy is not None else None + offline_charge = certificate_policy is not None and certificate_policy["observation"] == "sealed-history" + diagnostic = "diagnostic_interval" in request + if diagnostic and (admission.get("diagnostic_interval_authorized") is not True + or admission.get("diagnostic_interval_sha256") != digest(request["diagnostic_interval"])): + raise ContractError("diagnostic_interval_not_admitted") + execution_wall = voltage_lift_execution_wall_policy(request, admission) + execution_output = voltage_lift_execution_output_policy( + request, admission, execution_provenance=execution_provenance) + bindings = admission.get("source_sha256", {}) + if str(Path(__file__).resolve()) not in bindings: + raise ContractError("voltage_lift_native_executing_kernel_not_bound") + if str(Path(sys.modules[RuntimeTiming.__module__].__file__).resolve()) not in bindings: + raise ContractError("runtime_timing_executing_source_not_bound") + for path, expected in bindings.items(): + if sha256(Path(path).read_bytes()).hexdigest() != expected: + raise ContractError("voltage_lift_native_source_changed") + cancellation = Path(admission["cancel_path"]) if admission.get("cancel_path") else None + if cancellation is not None and cancellation.exists(): + raise ContractError("voltage_lift_cancelled_before_native_import") + sampling = AffineSamplingContext(model, request) + if sampling.request_sha256 != request_id: + raise ContractError("voltage_lift_request_changed_during_snapshot") + request, segments = sampling.request_copy(), sampling.segments + from scripts.benchmarks.physical_tolerance import run_segment_count + run_segments = run_segment_count(request) + full_protocol = run_segments == len(segments) + segments = segments[:run_segments] + from scripts.benchmarks.native_observation import ( + AcceptedIntervalObserver, observation_record, read_native_basis_packet, + require_loaded_observation_backend, validate_interval_observation_admission, + prepare_charge_accumulator, charge_upper_summary, CHARGE_LEDGERS, + prepare_physical_charge_prefix, physical_charge_summary, physical_charge_passed, + ) + from scripts.benchmarks.interval_observation import BallIntegrator, ChargePrefix, rational + + # Old requests and the historic Boolean remain closed. The new policy + # requires independent review of these exact executing sources first. + observer_policy = validate_interval_observation_admission(request, admission) + require_loaded_observation_backend(observer_policy) + from sksundae.ida import IDA + + started = time.perf_counter() + budgets, controls = request["budgets"], request["controls"] + counts = {"residual": 0, "jacobian": 0, "native_steps": 0, "onestep_returns": 0, + "normal_queries": 0, "polynomial_queries": 0, "initializations": 0, "history_bytes": 0, + "reference_refresh_attempts": 0, "reference_refreshes": 0} + with timing.phase('observation'): + prefixes = {key: ChargePrefix.start((budgets["charge_C"],)*3) + for key in CHARGE_LEDGERS} + physical_prefix = prepare_physical_charge_prefix(request) + physical_charge_enabled = physical_prefix is not None + if physical_charge_enabled: + prefixes["physical_charge"] = physical_prefix + charge_accumulator = prepare_charge_accumulator(request, observer_policy) + previous_observer = None + refresh_policy = request.get("reference_refresh_policy") if full_protocol else None + latest_current_certificate = None + signed_prefix = {key: (Fraction(0),)*3 for key in CHARGE_LEDGERS} if diagnostic or science is not None else None + first_failure = last_attempt = last_numerical = last_accepted = None + deferred_intervals = 0 + history = VoltageLiftHistory(mapping) + parent_reference = history.reference_record + z, predecessor = frozen_array(request["z0"]), model.reference + if diagnostic: + from scripts.benchmarks.precision_prototype import decode_point + diagnostic_data = diagnostic_interval_context(request) + predecessor = decode_point(diagnostic_data["restore"]["Point"], model.layout) + rows, columns = model.graph.edges().T + sparsity = csc_matrix((np.ones(len(rows)), (rows, columns)), shape=model.graph.shape) + differential = np.unique(model.mass.tocoo().col) + algebraic = np.setdiff1d(np.arange(model.layout.size), differential).tolist() + + def save(record): + try: + with timing.phase('history_io'): + position = emit_record(record, emit, logical_bytes=counts["history_bytes"], + total_output_bytes=execution_output["effective_total_output_bytes"]) + except HistoryLimitError as error: + raise ContractError("voltage_lift_history_budget") from error + counts["history_bytes"] = position.logical_bytes + if position.encoding == "gzip": + counts["history_encoded_bytes"] = position.encoded_bytes + + def resource_check(): + if cancellation is not None and cancellation.exists(): + raise ContractError("voltage_lift_cancelled") + if time.perf_counter()-started > execution_wall["effective_wall_s"]: + raise ContractError("voltage_lift_wall_budget") + if counts["residual"] > budgets["residual_calls"]: + raise ContractError("voltage_lift_residual_budget") + if counts["native_steps"] > budgets["native_steps"]: + raise ContractError("voltage_lift_step_budget") + if diagnostic and (counts["native_steps"] > request["diagnostic_limits"]["accepted_intervals"] + or counts["residual"] > request["diagnostic_limits"]["residual_callbacks"] + or counts["jacobian"] > request["diagnostic_limits"]["jacobian_callbacks"] + or counts["history_bytes"] > request["diagnostic_limits"]["logical_history_bytes"]): + raise ContractError("diagnostic_finite_work_budget") + if resource.getrusage(resource.RUSAGE_SELF).ru_maxrss > budgets["rss_bytes"]: + raise ContractError("voltage_lift_rss_budget") + + def snapshot_receipt(phase, segment, native): + return {"phase": phase, "segment_id": segment.id, "time_hex": float(native["time"]).hex(), + "success": native["success"], "status": native["status"], "message": native["message"], + "z_hex": [float(v).hex() for v in native["z"]], + "zdot_hex": [float(v).hex() for v in native["zdot"]]} + + def certify_current(observer, pair, native): + nonlocal first_failure, latest_current_certificate + with timing.phase('observation'): + evidence = observer.point_evidence(pair, native, budgets["current_A"]) + record = {"kind": "voltage_lift_current_certificate", "sample_record_sha256": pair[-1]["record_sha256"], + "evidence": observation_record(evidence)} + save(record) + if science is not None: + if any(v < 0 for v in evidence["combined_current_bound_A"]): + raise ContractError("scientific_negative_current_bound") + science.note("current", evidence["passed"], record) + first_failure = first_failure or science.first_failure + if not evidence["passed"]: + if science is None: + first_failure = first_failure or record + raise ContractError("voltage_lift_raw_tangent_current_budget") + latest_current_certificate = record + return evidence + + def checked_sample(binding, native, previous, origin, observer=None): + nonlocal first_failure + resource_check() + with timing.phase('observation'): + pair = voltage_lift_native_sample(binding, history, native, previous, origin=origin) + record = dict(pair[-1]) + record["observation_policy_sha256"] = digest(observer_policy) + record["current_certificate_follows"] = observer is not None + record["application_acceptance"] = "pending interval/current/state checks" + if origin == "declared_polynomial": + record.update(coefficient_frame_identity=native["coefficient_frame_identity"], + polynomial_path_identity=native["path_identity"], + native_getter_used=False, native_output=False) + record.pop("record_sha256") + record["record_sha256"] = digest(record) + pair = (*pair[:-1], record) + save(record) + if science is not None: + _scientific_sample_safety(record["state_checks"]) + science.note("state_accuracy", record["state_checks"]["passed"], record) + first_failure = first_failure or science.first_failure + if not record["state_checks"]["passed"]: + if science is None: + first_failure = first_failure or {"phase": "physical_state_quality", "record": record} + raise ContractError("voltage_lift_native_or_interpolant_state_quality") + if observer is not None: + certify_current(observer, pair, native) + return pair + + def pointer(pair): + return {"record_sha256": pair[-1]["record_sha256"], "point_identity": pair[0].identity, + "time_s": pair[0].time, "origin": pair[2].origin, "segment_id": pair[-1]["segment_id"]} + + def refresh_ledger(cursor): + if offline_charge: + return {"prefixes": None, "physical_charge": None, "upper_accumulator": None, "signed_prefix": None, + "sample_cursor": cursor, "last_accepted": None, "physical_reference_identity": model.reference.identity, + "charge_observation": {"status": "pending", "deferred_intervals": deferred_intervals}, + "scientific_progress": science.payload()} + return {"prefixes": observation_record({k: {"absolute_defects": v.absolute_defects, + "reference_errors": prefixes[k].reference_errors} for k in CHARGE_LEDGERS + for v in (prefixes[k],)}), + **({"physical_charge": observation_record(physical_charge_summary(prefixes["physical_charge"]))} + if physical_charge_enabled else {}), + "upper_accumulator": None if charge_accumulator is None else observation_record(charge_upper_summary(charge_accumulator)), + "signed_prefix": observation_record(signed_prefix), "sample_cursor": cursor, + **({"scientific_progress": science.payload()} if science is not None else {}), + "last_accepted": last_accepted, "physical_reference_identity": model.reference.identity} + + try: + save({"kind": "voltage_lift_reference", "request_sha256": request_id, + "reference_digest": history.reference_digest, "reference": history.reference_record}) + if diagnostic: + save({"kind": "voltage_lift_diagnostic_seed", "request_sha256": request_id, + "descriptor_sha256": digest(request["diagnostic_interval"]), + "Point": diagnostic_data["restore"]["Point"], "old_B_prefix_credit": False, + "original_native_authority_restored": False}) + for segment_index, segment in enumerate(segments): + numeric_ordinal = segment_index+1 + try: + binding, z, initial_zdot, initial_proof, frame_record = voltage_lift_segment_initialization( + mapping, sampling, segment, segment_index+1, z, predecessor) + except ContractError as error: + if hasattr(error, "diagnostic_transfer_evidence"): + first_failure = {"phase": "diagnostic_initialization", "reason": error.reason, + "evidence": error.diagnostic_transfer_evidence} + save({"kind": "diagnostic_transfer_failure", "failure": first_failure}) + raise + if frame_record is not None: + save(frame_record) + history = VoltageLiftHistory(binding.adapter.mapping, parent_reference=parent_reference) + + def residual(t, values, rates, output): + nonlocal first_failure + counts["residual"] += 1 + try: + resource_check() + binding.residual(t, values, rates, output) + except BaseException as error: + if first_failure is None: + first_failure = {"phase": "residual", "segment_id": segment.id, + "time_hex": float(t).hex(), "reason": str(error), + "z_hex": [float(v).hex() for v in values], + "zdot_hex": [float(v).hex() for v in rates]} + save({"kind": "first_callback_failure", "failure": first_failure}) + raise + + def jacobian(t, values, rates, residual_value, cj, output): + nonlocal first_failure + counts["jacobian"] += 1 + try: + resource_check() + save({"kind": "jacobian_callback_context", "segment_id": segment.id, + "logical_initialization_index": binding.adapter.mapping.frame.logical_initialization_index + if binding.adapter.mapping.frame is not None else numeric_ordinal, + "map_identity": binding.adapter.mapping.identity, + "callback_index": counts["jacobian"], "request_sha256": request_id, + "time_hex": float(t).hex(), "cj_hex": float(cj).hex(), + "z_hex": [float(v).hex() for v in values], + "zdot_hex": [float(v).hex() for v in rates]}) + binding.jacobian(t, values, rates, residual_value, cj, output) + except BaseException as error: + if first_failure is None: + first_failure = {"phase": "jacobian", "segment_id": segment.id, + "time_hex": float(t).hex(), "cj_hex": float(cj).hex(), + "reason": str(error), "z_hex": [float(v).hex() for v in values], + "zdot_hex": [float(v).hex() for v in rates]} + save({"kind": "first_callback_failure", "failure": first_failure}) + raise + + if segment_index == 0 and not diagnostic: + # Preparation and runtime have different context hashes. All + # source physical data and supplied rate words must agree. + for key in ("point_identity", "raw_z_hex", "raw_zdot_hex", "inputs_hex", "input_rates_hex", + "desired_physical_tangent_hex", "mapped_physical_rate_words_hex", + "desired_tangent_residual_SI", "represented_rate_residual_SI"): + if initial_proof[key] != request["initial_preparation"][key]: + raise ContractError("voltage_lift_initial_input_changed:"+key) + if not np.array_equal(initial_zdot, request["zdot0"]): + raise ContractError("voltage_lift_frozen_initial_rate_changed") + last_attempt = {"phase": "segment_initialization", "segment_id": segment.id, + "time_hex": float(segment.start).hex(), "proof": initial_proof} + save({"kind": "voltage_lift_initialization_input", **last_attempt}) + resource_check() + with timing.phase('ida_calls'): + solver, control_receipt = _voltage_lift_segment_solver( + IDA, request, segment, segment_index+1, residual, jacobian, sparsity, algebraic, + frame=binding.adapter.mapping.frame) + if control_receipt is not None: + save(control_receipt) + counts["initializations"] += 1 + with timing.phase('ida_calls'): + initialized = snapshot_solver_result(solver.init_step(segment.start, z, initial_zdot)) + last_attempt = snapshot_receipt("initialization_return", segment, initialized) + with timing.phase('ida_calls'): + initial_stats = ida_statistics_snapshot(solver, segment.id, segment_index+1, + "initialization_return", segment.start, initialized["time"], logical_initialization=True) + save(initial_stats) + if (not initialized["success"] or initialized["time"] != segment.start + or not np.array_equal(initialized["z"], z) + or not np.array_equal(initialized["zdot"], initial_zdot)): + raise ContractError("voltage_lift_initialization_changed_state_or_failed") + _voltage_lift_guard_applied(initial_stats["raw_statistics"], controls) + if frame_record is not None: + _voltage_lift_frame_applied(initial_stats["raw_statistics"], binding.adapter.mapping.frame, request=request) + left_pair = checked_sample(binding, initialized, predecessor, "segment_initial") + left, last_numerical = left_pair[0], pointer(left_pair) + left_native = initialized + sample_times = np.asarray(request["observation_times"][segment.id]) + cursor = 0 + while cursor < len(sample_times) and sample_times[cursor] == segment.start: + save({"kind": "requested_sample", **last_numerical}) + if diagnostic: + save({"kind": "native_interval_common_prefix", "time_hex": float(segment.start).hex(), + "origin": "diagnostic_seed", "completed_intervals_before": 0, + "signed_integral_centers_C": observation_record(signed_prefix), + "reference_error_C": observation_record({key: (Fraction(0),)*3 for key in CHARGE_LEDGERS}), + "old_B_prefix_credit": False}) + cursor += 1 + while left.time < segment.end: + resource_check() + if counts["native_steps"] >= (request["diagnostic_limits"]["accepted_intervals"] + if diagnostic else budgets["native_steps"]): + raise ContractError("voltage_lift_step_budget") + last_attempt = {"phase": "native_step", "segment_id": segment.id, + "target_time_hex": float(segment.end).hex(), "previous": last_numerical} + with timing.phase('ida_calls'): + before_stats = ida_statistics_snapshot(solver, segment.id, numeric_ordinal, + "before_onestep", segment.end, logical_initialization=True) + save(before_stats) + try: + with timing.phase('ida_calls'): + native = snapshot_solver_result(solver.step(segment.end, method="onestep", tstop=segment.end)) + last_attempt = snapshot_receipt("native_return", segment, native) + if diagnostic: + save({"kind": "native_interval_return", "segment_id": segment.id, + "receipt": last_attempt, "sequence": counts["onestep_returns"]+1}) + except BaseException as step_error: + try: + with timing.phase('ida_calls'): + failed_stats = ida_statistics_snapshot(solver, segment.id, numeric_ordinal, + "onestep_exception", segment.end, before=before_stats, + logical_initialization=True) + counts["native_steps"] += failed_stats["work_since_before"]["num_steps"] + save(failed_stats) + except Exception as stats_error: + unavailable = {"kind": "native_statistics_unavailable", "segment_id": segment.id, + "phase": "onestep_exception", "reason": str(stats_error)} + if hasattr(stats_error, "native_statistics_evidence"): + step_error.native_statistics_evidence = stats_error.native_statistics_evidence + unavailable["native_statistics_evidence"] = stats_error.native_statistics_evidence + save(unavailable) + raise + with timing.phase('ida_calls'): + after_stats = ida_statistics_snapshot(solver, segment.id, numeric_ordinal, + "after_onestep", segment.end, native["time"], before=before_stats, + logical_initialization=True) + save(after_stats) + counts["native_steps"] += after_stats["work_since_before"]["num_steps"] + counts["onestep_returns"] += 1 + if diagnostic and (after_stats["work_since_before"]["num_steps"] != 1 + or native["time"] != after_stats["raw_statistics"]["current_time"] + or after_stats["raw_statistics"]["observation_owner"] != initial_stats["raw_statistics"]["observation_owner"] + or after_stats["raw_statistics"]["observation_generation"] != initial_stats["raw_statistics"]["observation_generation"]): + raise ContractError("diagnostic_actual_onestep_clock_or_generation") + if not native["success"]: + raise ContractError("voltage_lift_solver_failure:"+native["message"]) + _voltage_lift_guard_applied(after_stats["raw_statistics"], controls) + if frame_record is not None: + _voltage_lift_frame_applied(after_stats["raw_statistics"], binding.adapter.mapping.frame, + after_step=True, request=request) + t = native["time"] + if not left.time < t <= segment.end: + raise ContractError("voltage_lift_interval_not_monotone") + # Capture the immutable accepted interval before any output + # query. IDA_NORMAL would invalidate consecutive-endpoint + # authority even if it did not take an extra native step. + with timing.phase('ida_calls'): + packet = solver.last_step_snapshot() + save({"kind": "voltage_lift_native_observation_packet", "segment_id": segment.id, + "packet": observation_record(packet)}) + with timing.phase('observation'): + frame = read_native_basis_packet(packet, + expected_binding_identity=observer_policy["binding_identity"], + expected_header_sha256=observer_policy["header_sha256"], size=model.layout.size, + qualification_policy=request.get("qualification_policy")) + arithmetic = BallIntegrator(**{key: observer_policy["arithmetic"][key] for key in ("bits", "evaluations", "depth")}) + observer = AcceptedIntervalObserver(binding, frame, arithmetic=arithmetic, previous=previous_observer) + observer.require_endpoint(left_native, predecessor=True) + observer.require_endpoint(native) + domain = observer.path_domain_evidence(budgets) + domain_record = {"kind": "voltage_lift_polynomial_domain", "evidence": observation_record(domain)} + save(domain_record) + if science is not None: + science.note("path_inventory", domain["passed"], domain_record) + first_failure = first_failure or science.first_failure + if not domain["passed"]: + if science is None: + first_failure = first_failure or {"phase": "polynomial_domain", "evidence": observation_record(domain)} + raise ContractError("voltage_lift_polynomial_domain_or_inventory_budget") + certify_current(observer, left_pair, left_native) + if last_accepted is None and science is None: + last_accepted = pointer(left_pair) + origin = "stop_output" if native["status"] == 1 else "native" + right_pair = checked_sample(binding, native, left, origin, observer) + right_certificate = latest_current_certificate + right, last_numerical = right_pair[0], pointer(right_pair) + cache = {left.time: left_pair, t: right_pair} + active = True + + def query(when): + nonlocal last_attempt + if not active or not left.time <= when <= t: + raise ContractError("expired_or_foreign_voltage_lift_interval") + if when in cache: + return cache[when] + with timing.phase('observation'): + reconstructed = observer.reconstruction(when) + counts["polynomial_queries"] += 1 + pair = checked_sample(binding, reconstructed, left, "declared_polynomial", observer) + cache[when] = pair + return pair + + try: + # The original nodes still receive the original state + # and instantaneous current checks. No Gauss difference + # is promoted to a reference-error certificate. + for order in (8, 16, 32): + table, h = request["quadrature"][str(order)], t-left.time + for node in table["nodes"]: + query(left.time+h*(float(node)+1)/2) + duration = observer.prepared.path.clock.tn-observer.prepared.path.clock.predecessor + normalization = (float.fromhex(request["original_full_protocol_end_hex"]) + if diagnostic else segments[-1].end) + if physical_charge_enabled: + from scripts.benchmarks.physical_tolerance import physical_charge_error_allocation + error_allocation = physical_charge_error_allocation(request, duration) + else: + error_allocation = rational(budgets["charge_C"])/12*duration/rational(normalization)/32 + before_prefix = prefixes + completed_before = charge_accumulator.count if diagnostic else None + if offline_charge: + deferred_intervals += 1 + evidence = {"frame_identity": frame.identity, "path_identity": observer.prepared.path.identity, + "clock": observer.prepared.path.clock.payload(), "charge_observation": "pending"} + charge_passed = False + else: + with timing.phase('observation'): + prefixes, evidence = observer.charge_evidence(left_pair, right_pair, prefixes, + absolute_error=error_allocation, charge_budget=budgets["charge_C"], + charge_accumulator=charge_accumulator) + charge_passed = (physical_charge_passed(request, evidence, frame_identity=frame.identity, + path_identity=observer.prepared.path.identity, + map_identity=binding.adapter.mapping.identity, + map_payload=binding.adapter.mapping.payload()) if physical_charge_enabled + else evidence["passed"]) + if diagnostic and not charge_passed: + failed = {"kind": "native_interval_failed_charge", "segment_id": segment.id, + "left": pointer(left_pair), "right": pointer(right_pair), + "observation": observation_record(evidence), "arithmetic_calls": list(arithmetic.calls)} + save(failed) + first_failure = first_failure or failed + raise ContractError("voltage_lift_interval_or_prefix_charge_budget") + while cursor < len(sample_times) and sample_times[cursor] <= t: + common_time = float(sample_times[cursor]) + common_pair = query(common_time) + save({"kind": "requested_sample", **pointer(common_pair)}) + if diagnostic: + common_evidence = evidence + if common_time < t: + allocation = rational(budgets["charge_C"])/12*(rational(common_time)-rational(left.time))/rational(normalization)/32 + with timing.phase('observation'): + _, common_evidence = observer.charge_evidence(left_pair, common_pair, before_prefix, + absolute_error=allocation, charge_budget=budgets["charge_C"], + subinterval=(left.time, common_time)) + centers = {key: tuple(a+b.center for a, b in zip(signed_prefix[key], + common_evidence["ledgers"][key]["signed_integral_C"], strict=True)) for key in CHARGE_LEDGERS} + save({"kind": "native_interval_common_prefix", "time_hex": common_time.hex(), + "segment_id": segment.id, "left": pointer(left_pair), "right": pointer(common_pair), + "coefficient_frame_identity": frame.identity, "completed_intervals_before": completed_before, + "origin": "contained_observation" if common_time < t else "accepted_endpoint", + "signed_integral_centers_C": observation_record(centers), + "reference_error_C": observation_record({key: common_evidence["ledgers"][key]["prefix_reference_error_C"] + for key in CHARGE_LEDGERS}), + "observation": observation_record(common_evidence), "arithmetic_calls": list(arithmetic.calls), + "endpoint_restore": None, "normal_query_performed": False, "states_projected": False, + "reference_estimates_are_continuum_certificates": False, "old_B_prefix_credit": False}) + if not common_evidence["passed"]: + first_failure = first_failure or {"phase": "common_clock_prefix", "time_hex": common_time.hex(), + "observation": observation_record(common_evidence)} + raise ContractError("diagnostic_common_prefix_budget") + cursor += 1 + interval = {"kind": ("voltage_lift_interval_deferred" if offline_charge else + "voltage_lift_interval_certificate" if science is not None else + "voltage_lift_interval_charge_v2" if charge_accumulator is not None + else "voltage_lift_interval_charge"), "segment_id": segment.id, + "left": pointer(left_pair), "right": pointer(right_pair), + "coefficient_frame_identity": frame.identity, + "observation": observation_record(evidence), + "arithmetic_calls": list(arithmetic.calls), + "endpoint_restore": None, "normal_query_performed": False, + "states_projected": False, "reference_estimates_are_continuum_certificates": False} + if physical_charge_enabled and not offline_charge: + interval.update(charge_gate="signed-physical-charge-v1", + physical_charge_error_allocation_C=observation_record(error_allocation)) + if science is not None: + interval["scientific_progress"] = science.payload() + if offline_charge: + interval["charge_observation"] = {"status": "pending", "deferred_intervals": deferred_intervals} + save(interval) + if not charge_passed and science is None: + first_failure = first_failure or interval + raise ContractError("voltage_lift_interval_or_prefix_charge_budget") + if diagnostic or science is not None and not offline_charge: + signed_prefix = {key: tuple(a+b.center for a, b in zip(signed_prefix[key], + evidence["ledgers"][key]["signed_integral_C"], strict=True)) for key in CHARGE_LEDGERS} + if science is None: + last_accepted = last_numerical + previous_observer = observer + finally: + active = False + z = native["z"].copy() + left_pair, left, left_native = right_pair, right, native + if refresh_policy is not None and counts["reference_refreshes"] == 0 and left.time >= float.fromhex(refresh_policy["time_hex"]): + if left.time.hex() != refresh_policy["time_hex"] or counts["reference_refresh_attempts"]: + raise ContractError("reference_refresh_missed_or_repeated_boundary") + last_attempt = {"phase": "reference_refresh_preparation", "segment_id": segment.id, + "time_hex": left.time.hex(), "fully_accepted": last_accepted} + ledger = refresh_ledger(cursor) + fresh, zero, _, prepared_refresh = prepare_voltage_lift_reference_refresh(binding, left, z, native["zdot"], + sample=right_pair[-1], interval=interval, domain=domain_record, certificate=right_certificate, + ledger=ledger, native_frame=frame) + save(prepared_refresh) + counts["reference_refresh_attempts"] += 1 + counts["initializations"] += 1 + def install_refreshed_binding(value): + nonlocal binding + binding = value + resource_check() + try: + with timing.phase('ida_calls'): + binding, initialized, refresh_stats, completed_refresh = apply_voltage_lift_reference_refresh( + solver, binding, fresh, zero, prepared_refresh, install_refreshed_binding) + except BaseException as error: + failure = {"kind": "reference_refresh_failure", "reason": str(error), + "evidence": getattr(error, "reference_refresh_evidence", None)} + save(failure) + first_failure = first_failure or failure + raise + if refresh_ledger(cursor) != ledger: + raise ContractError("reference_refresh_changed_cumulative_ledger") + save(refresh_stats) + save(completed_refresh) + counts["reference_refreshes"] += 1 + numeric_ordinal = fresh.frame.logical_initialization_index + history = VoltageLiftHistory(fresh, parent_reference=parent_reference) + z, left_native, initial_stats = zero, initialized, refresh_stats + if cursor != len(sample_times): + raise ContractError("voltage_lift_missing_frozen_observation") + if frame_record is not None: + z = binding.adapter.mapping.frame.parent_state(segment.end, z) + predecessor = left + if refresh_policy is not None and counts["reference_refreshes"] != 1: + raise ContractError("reference_refresh_missing_boundary") + result = ({"status": "completed_bounded_native_interval", "complete_protocol": False, + "complete_diagnostic_window": True} if diagnostic else + {"status": "completed_bounded_voltage_lift_native_pilot", "complete_protocol": full_protocol, + **({"complete_run_window": True, "execution_window": request["execution_window"]} if not full_protocol else {})}) + except BaseException as error: + result = {"status": "failed_bounded_voltage_lift_native_pilot", "complete_protocol": False, + "reason": str(error), "exception": type(error).__name__, "traceback": traceback.format_exc(), + "first_failure": first_failure or last_attempt} + if hasattr(error, "native_statistics_evidence"): + result["native_statistics_evidence"] = error.native_statistics_evidence + result.update( + request_sha256=request_id, map_identity=mapping.identity, counts=counts, + execution_wall_policy=execution_wall, + execution_output_policy=execution_output, + elapsed_s=time.perf_counter()-started, last_numerical=last_numerical, + last_physically_accepted=last_accepted, last_attempt=last_attempt, + cumulative_absolute_charge_bounds_C={k: observation_record(prefixes[k].absolute_defects) for k in CHARGE_LEDGERS}, + cumulative_observation_reference_bounds_C={k: observation_record(prefixes[k].reference_errors) for k in CHARGE_LEDGERS}, + observation_policy_sha256=digest(observer_policy), + cumulative_scope=("through last observed interval only; failing native call did not reach interval observation; no prefix reset at a protocol event" + if "native_statistics_evidence" in result else + "includes the fully evaluated first failed interval; no prefix reset at a protocol event"), + scientific_or_G2_qualification=False, DAE_time_accuracy_certified=False, continuum_space_accuracy_certified=False, + in_window_reinitializations=counts["reference_refreshes"], + ) + if physical_charge_enabled: + result.update(charge_gate="signed-physical-charge-v1", + physical_charge_policy_sha256=digest(observer_policy["physical_charge"]), + physical_charge=observation_record(physical_charge_summary(prefixes["physical_charge"]))) + if science is not None: + result.update(first_failure=first_failure, complete_readback=False, + scientific_progress=science.payload(), scientific_status=science.payload()["status"], + scientific_pass=False, signed_integral_prefix_C=observation_record(signed_prefix)) + if result["complete_protocol"]: + result["cumulative_scope"] = "complete protocol; all scientific failures and positive debts retained across events and reference transfer" + if offline_charge: + result.update(cumulative_absolute_charge_bounds_C=None, cumulative_observation_reference_bounds_C=None, + signed_integral_prefix_C=None, charge_observation={"status": "pending", "deferred_intervals": deferred_intervals}) + result["cumulative_scope"] = "charge observation pending for every retained interval; no missing integral or error is represented as zero" + if physical_charge_enabled: + result["physical_charge"] = None + if diagnostic: + result.update(complete_diagnostic_window=result.get("complete_diagnostic_window", False), + old_B_prefix_credit=False, + original_native_authority_restored=False, + signed_integral_prefix_C=observation_record(signed_prefix)) + if charge_accumulator is not None and not offline_charge: + with timing.phase('observation'): + result["cumulative_representation"] = observation_record(charge_upper_summary(charge_accumulator)) + return result diff --git a/scripts/benchmarks/device_prototype.py b/scripts/benchmarks/device_prototype.py new file mode 100644 index 00000000..a293da7b --- /dev/null +++ b/scripts/benchmarks/device_prototype.py @@ -0,0 +1,416 @@ +"""Physical precision consumers for P02; no device engine or time integrator. + +The constitutive laws consume the public physical fields and endpoint-bound +increments. Only the admitted stateless precision provider is imported. Input +lifts below are kinematic evaluations, never a historical Newton replay. +""" + +from __future__ import annotations + +from dataclasses import dataclass +from functools import lru_cache +from typing import Mapping + +import numpy as np +from numpy.typing import ArrayLike + +from scripts.benchmarks.contract_prototype import ( + AREA, COULOMB, PARTICLE, SECOND, VOLUME, CellSource, ContractError, + FaceFlux, Geometry, ImmutableArrays, Point, StateIncrement, StateView, TermSink, + Vector, frozen_array, integer_indices, +) +from scripts.benchmarks.precision_prototype import ( + DD, DoubleArithmetic, DoubleArray, InputLiftCoordinates, bernoulli, +) + + +def physical(state: StateView, name: str) -> DoubleArray: + value = state.field(name) + if not isinstance(value, DoubleArray): + raise ContractError("physical_operator_requires_explicit_precision_provider") + return value + + +def coefficient(value: ArrayLike, count: int, *, positive: bool = False) -> DD: + raw = frozen_array(value) + if raw.ndim == 0: + raw = np.full(count, float(raw)) + if raw.shape != (count,): + raise ContractError("physical_coefficient_shape_mismatch") + if np.any(raw <= 0 if positive else raw < 0): + raise ContractError("physical_coefficient_outside_domain") + return DD(raw) + + +@dataclass(frozen=True) +class FaceGeometry(ImmutableArrays): + """Actual node pairs and spacings; no assumption of uniform topology.""" + + pairs: np.ndarray + spacing_m: Vector + + def __post_init__(self) -> None: + pairs = integer_indices(self.pairs) + spacing = frozen_array(self.spacing_m) + if pairs.ndim != 2 or pairs.shape != (spacing.size, 2) or spacing.ndim != 1: + raise ContractError("face_geometry_shape_mismatch") + if np.any(pairs < 0) or np.any(pairs[:, 0] == pairs[:, 1]) or np.any(spacing <= 0): + raise ContractError("invalid_face_geometry") + object.__setattr__(self, "pairs", np.frombuffer(pairs.tobytes(), dtype=pairs.dtype).reshape(pairs.shape)) + object.__setattr__(self, "spacing_m", spacing) + + def endpoints(self, value: DoubleArray) -> tuple[DD, DD]: + if len(value.shape) != 1 or np.any(self.pairs >= value.shape[0]): + raise ContractError("face_outside_physical_support") + return value.take(self.pairs[:, 0]).as_dd(), value.take(self.pairs[:, 1]).as_dd() + + +def _bernoulli_pair(state: StateView, geometry: FaceGeometry, + thermal_voltage_V: float, potential_id: str) -> tuple[DD, DD, DD]: + if not np.isfinite(thermal_voltage_V) or thermal_voltage_V <= 0: + raise ContractError("invalid_thermal_voltage") + potential = state.face_difference(potential_id, geometry.pairs) + if not isinstance(potential, DoubleArray): + raise ContractError("physical_operator_requires_explicit_precision_provider") + xi = potential.as_dd() / thermal_voltage_V + return (bernoulli(DoubleArray.from_dd(xi)).as_dd(), + bernoulli(DoubleArray.from_dd(-xi)).as_dd(), xi) + + +@lru_cache(maxsize=1) +def _bernoulli_even_coefficients() -> tuple[DD, ...]: + """B_(2k)/(2k)! through degree 24, with exact integer inputs. + + The generating series has radius 2*pi (DLMF 24.2.1). On |x|<=1/4, + the omitted derivative is below 3e-34; coefficient arithmetic stays DD. + """ + numbers = ((1, 6), (-1, 30), (1, 42), (-1, 30), (5, 66), + (-691, 2730), (7, 6), (-3617, 510), (43867, 798), + (-174611, 330), (854513, 138), (-236364091, 2730)) + factorial = DD(1) + values = [] + for k, (numerator, denominator) in enumerate(numbers, 1): + factorial = factorial * (2*k-1) * (2*k) + values.append(DD(numerator) / (factorial * denominator)) + return tuple(values) + + +def _bernoulli_log_change(x0: DD, x1: DD, dx: DD, b0: DD, b1: DD) -> DD: + """Finite log(B(x1)/B(x0)) retaining an independently supplied tiny dx. + + Near zero use the divided difference of the convergent Bernoulli series. + Away from zero use the exact ratio identity; large changes have a + well-conditioned endpoint ratio. No difference of near-equal B values is + used to recover a tiny increment. + """ + high, low = np.zeros(dx.shape), np.zeros(dx.shape) + changed = dx != 0 + near = changed & (abs(x0) <= 0.25) & (abs(x1) <= 0.25) + if np.any(near): + u0, u1 = x0[near]*x0[near], x1[near]*x1[near] + coefficients = _bernoulli_even_coefficients() + polynomial = coefficients[-1] + divided = DD(np.zeros(u0.shape)) + for coefficient_value in (*reversed(coefficients[:-1]), DD(0)): + divided = u1 * divided + polynomial + polynomial = u0 * polynomial + coefficient_value + db = dx[near] * (-0.5 + (x1[near] + x0[near]) * divided) + value = (db / b0[near]).log1p() + high[near], low[near] = value.hi, value.lo + same_sign = ((x0 > 0) & (x1 > 0)) | ((x0 < 0) & (x1 < 0)) + close = changed & ~near & same_sign & (abs(dx) <= 0.125 * (1 + abs(x0))) + if np.any(close): + start, step = x0[close], dx[close] + r = step / start + positive = start > 0 + uh, ul = np.zeros(start.shape), np.zeros(start.shape) + if np.any(positive): + value = step[positive].expm1() / (-(-start[positive]).expm1()) + uh[positive], ul[positive] = value.hi, value.lo + if np.any(~positive): + value = start[~positive].exp() * step[~positive].expm1() / start[~positive].expm1() + uh[~positive], ul[~positive] = value.hi, value.lo + value = r.log1p() - DD(uh, ul).log1p() + high[close], low[close] = value.hi, value.lo + remaining = changed & ~near & ~close + if np.any(remaining): + value = DoubleArray.from_dd(b1[remaining]).log_ratio(DoubleArray.from_dd(b0[remaining])).as_dd() + high[remaining], low[remaining] = value.hi, value.lo + return DD(high, low) + + +def _exponential_change(start: DD, end: DD, log_ratio: DD) -> DD: + """end-start from a retained logarithmic change of positive amplitudes.""" + positive = log_ratio >= 0 + high, low = np.zeros(log_ratio.shape), np.zeros(log_ratio.shape) + if np.any(positive): + value = end[positive] * (-(-log_ratio[positive]).expm1()) + high[positive], low[positive] = value.hi, value.lo + if np.any(~positive): + value = start[~positive] * log_ratio[~positive].expm1() + high[~positive], low[~positive] = value.hi, value.lo + return DD(high, low) + + +def _sg_net(forward: DD, backward: DD, affinity: DD) -> DD: + positive = affinity >= 0 + high, low = np.zeros(affinity.shape), np.zeros(affinity.shape) + if np.any(positive): + value = forward[positive] * (-(-affinity[positive]).expm1()) + high[positive], low[positive] = value.hi, value.lo + if np.any(~positive): + value = backward[~positive] * affinity[~positive].expm1() + high[~positive], low[~positive] = value.hi, value.lo + return DD(high, low) + + +def sg_current(state: StateView, geometry: FaceGeometry, *, density_id: str, + thermal_voltage_V: float, diffusion_m2_s: ArrayLike, charge_C: float, + carrier: str = "electron", potential_id: str = "phi_V") -> DoubleArray: + """Homogeneous-material SG conventional current, positive along each pair. + + Electrons: qD/dx*[B(xi)n_R-B(-xi)n_L]; holes reverse the densities. + The cancellation-safe affinity form is used on positive populations. + TE interfaces, DOS jumps and nonlinear ion sterics require their own laws. + """ + if carrier not in {"electron", "hole"} or not np.isfinite(charge_C) or charge_C <= 0: + raise ContractError("invalid_carrier_current_parameters") + left, right = geometry.endpoints(physical(state, density_id)) + if np.any(left < 0) or np.any(right < 0): + raise ContractError("negative_physical_population") + b, bm, xi = _bernoulli_pair(state, geometry, thermal_voltage_V, potential_id) + prefactor = coefficient(diffusion_m2_s, len(geometry.spacing_m)) * charge_C / DD(geometry.spacing_m) + forward, backward = (b * right, bm * left) if carrier == "electron" else (b * left, bm * right) + value = forward - backward + active = (left > 0) & (right > 0) & (prefactor > 0) + if np.any(active): + driving = state.electrochemical_difference( + density_id, potential_id, geometry.pairs[active], thermal_voltage_V, + potential_sign=-1 if carrier == "electron" else 1, + arithmetic=DoubleArithmetic(), + ).as_dd() + affinity = driving if carrier == "electron" else -driving + net = _sg_net(forward[active], backward[active], affinity) + value_high, value_low = value.hi.copy(), value.lo.copy() + value_high[active], value_low[active] = net.hi, net.lo + value = DD(value_high, value_low) + return DoubleArray.from_dd(prefactor * value) + + +def sg_current_increment(left: Point, right: Point, increment: StateIncrement, + geometry: FaceGeometry, *, density_id: str, + thermal_voltage_V: float, diffusion_m2_s: ArrayLike, + charge_C: float, carrier: str = "electron", + potential_id: str = "phi_V") -> DoubleArray: + """Finite current change with small physical increments retained throughout. + + Coefficients/geometry are fixed across these endpoints. Time-dependent + mobility/temperature requires explicit coefficient increments, not this law. + """ + increment.validate(left, right) + if carrier not in {"electron", "hole"} or not np.isfinite(charge_C) or charge_C <= 0: + raise ContractError("invalid_carrier_current_parameters") + nleft, nright = geometry.endpoints(physical(left.state, density_id)) + endleft, endright = geometry.endpoints(physical(right.state, density_id)) + if any(np.any(value < 0) for value in (nleft, nright, endleft, endright)): + raise ContractError("negative_physical_population") + dn = increment.field(density_id) + if not isinstance(dn, DoubleArray): + raise ContractError("physical_operator_requires_explicit_precision_provider") + dleft, dright = geometry.endpoints(dn) + b0, bm0, xi0 = _bernoulli_pair(left.state, geometry, thermal_voltage_V, potential_id) + b1, bm1, xi1 = _bernoulli_pair(right.state, geometry, thermal_voltage_V, potential_id) + potential_change = increment.face_delta(left, right, potential_id, geometry.pairs, + arithmetic=DoubleArithmetic()) + if not isinstance(potential_change, DoubleArray): + raise ContractError("physical_operator_requires_explicit_precision_provider") + dxi = potential_change.as_dd() / thermal_voltage_V + log_b = _bernoulli_log_change(xi0, xi1, dxi, b0, b1) + log_bm = _bernoulli_log_change(-xi0, -xi1, -dxi, bm0, bm1) + db = _exponential_change(b0, b1, log_b) + dbm = _exponential_change(bm0, bm1, log_bm) + if carrier == "electron": + forward0, backward0 = b0*nright, bm0*nleft + forward1, backward1 = b1*endright, bm1*endleft + value = b1*dright + db*nright - bm1*dleft - dbm*nleft + else: + forward0, backward0 = b0*nleft, bm0*nright + forward1, backward1 = b1*endleft, bm1*endright + value = b1*dleft + db*nleft - bm1*dright - dbm*nright + prefactor = coefficient(diffusion_m2_s, len(geometry.spacing_m)) * charge_C / DD(geometry.spacing_m) + affine_diffusion = np.zeros(len(geometry.pairs), dtype=bool) + flat_field = (xi0 == 0) & (dxi == 0) + if np.any(flat_field): + # With a fixed zero field the SG law is exactly linear diffusion. + # Use the public affine face increment when the provider supports it, + # preserving constant gradients under a common density addition. + try: + gradient_delta = increment.face_delta(left, right, density_id, geometry.pairs[flat_field], + arithmetic=DoubleArithmetic()).as_dd() + except ContractError as error: + if error.reason != "face_delta_requires_affine_map": + raise + else: + vh, vl = value.hi.copy(), value.lo.copy() + part = gradient_delta if carrier == "electron" else -gradient_delta + vh[flat_field], vl[flat_field] = part.hi, part.lo + value = DD(vh, vl) + affine_diffusion = flat_field + active = ((nleft > 0) & (nright > 0) & (endleft > 0) & (endright > 0) + & (prefactor > 0) & ~affine_diffusion) + if np.any(active): + pairs = geometry.pairs[active] + sign = -1 if carrier == "electron" else 1 + affinities = [state.electrochemical_difference( + density_id, potential_id, pairs, thermal_voltage_V, + potential_sign=sign, arithmetic=DoubleArithmetic()).as_dd() + for state in (left.state, right.state)] + a0, a1 = affinities if carrier == "electron" else [-a for a in affinities] + f0, f1 = forward0[active], forward1[active] + r0, r1 = backward0[active], backward1[active] + # Opposite signs (including zero) have no subtractive cancellation. + change = _sg_net(f1, r1, a1) - _sg_net(f0, r0, a0) + high, low = change.hi.copy(), change.lo.copy() + for positive in (True, False): + selected = ((a0 > 0) & (a1 > 0)) if positive else ((a0 < 0) & (a1 < 0)) + if not np.any(selected): + continue + delta_affinity = increment.electrochemical_delta( + left, right, density_id, potential_id, pairs[selected], thermal_voltage_V, + potential_sign=sign, arithmetic=DoubleArithmetic()).as_dd() + da = delta_affinity if carrier == "electron" else -delta_affinity + node = (1 if carrier == "electron" else 0) if positive else (0 if carrier == "electron" else 1) + population_log = increment.log_ratio(left, right, density_id, + indices=pairs[selected, node]).as_dd() + coefficient_log = (log_b if positive else log_bm)[active][selected] + g0, g1 = (f0[selected], f1[selected]) if positive else (r0[selected], r1[selected]) + dg = _exponential_change(g0, g1, population_log + coefficient_log) + if positive: + factor1 = -(-a1[selected]).expm1() + df = -_exponential_change((-a0[selected]).exp(), (-a1[selected]).exp(), -da) + else: + factor1 = a1[selected].expm1() + df = _exponential_change(a0[selected].exp(), a1[selected].exp(), da) + # J=G*f(a): both temporal contributions retain their own weak + # drivers before multiplication; large drift terms never cancel. + part = dg*factor1 + g0*df + high[selected], low[selected] = part.hi, part.lo + vh, vl = value.hi.copy(), value.lo.copy() + vh[active], vl[active] = high, low + value = DD(vh, vl) + return DoubleArray.from_dd(prefactor * value) + + +def assemble_charge_rate(state: StateView, equation_id: str, geometry: Geometry, + current: DoubleArray) -> DoubleArray: + sink = TermSink(state.layout, equation_id, geometry, DoubleArithmetic()) + sink.add(FaceFlux("SG-conventional-current", geometry.face_support, + current, COULOMB / AREA / SECOND)) + return sink.value() + + +@dataclass(frozen=True) +class ElectronTrapCapture: + capture_coefficient_m3_s: float + trap_density_m3: float + emission_density_m3: float + + def __post_init__(self) -> None: + if (not np.isfinite([self.capture_coefficient_m3_s, self.trap_density_m3, + self.emission_density_m3]).all() + or min(self.capture_coefficient_m3_s, self.trap_density_m3, + self.emission_density_m3) < 0): + raise ContractError("invalid_capture_coefficient") + + def net_rate(self, state: StateView, n_id: str = "n_m3", + f_id: str = "occupancy") -> DoubleArray: + n, f = physical(state, n_id).as_dd(), physical(state, f_id).as_dd() + if n.shape != f.shape or np.any(n < 0) or np.any(f < 0) or np.any(f > 1): + raise ContractError("invalid_capture_state") + # Emission is cn*n1 by detailed balance in this single-level closure; + # do not independently round that coefficient before cancellation. + rate = (n * (1 - f) - self.emission_density_m3 * f) + return DoubleArray.from_dd(rate * self.capture_coefficient_m3_s * self.trap_density_m3) + + def finite_change(self, left: Point, right: Point, increment: StateIncrement, + n_id: str = "n_m3", f_id: str = "occupancy") -> DoubleArray: + increment.validate(left, right) + n0, f1 = physical(left.state, n_id).as_dd(), physical(right.state, f_id).as_dd() + dn, df = increment.field(n_id), increment.field(f_id) + if not isinstance(dn, DoubleArray) or not isinstance(df, DoubleArray): + raise ContractError("physical_operator_requires_explicit_precision_provider") + if n0.shape != f1.shape or dn.shape != n0.shape or df.shape != n0.shape: + raise ContractError("capture_increment_shape_mismatch") + n1, f0 = physical(right.state, n_id).as_dd(), physical(left.state, f_id).as_dd() + if (np.any(n0 < 0) or np.any(n1 < 0) or np.any(f0 < 0) or np.any(f0 > 1) + or np.any(f1 < 0) or np.any(f1 > 1)): + raise ContractError("invalid_capture_state") + change = (1 - f1) * dn.as_dd() - (n0 + self.emission_density_m3) * df.as_dd() + return DoubleArray.from_dd(change * self.capture_coefficient_m3_s * self.trap_density_m3) + + def assembled_inventory_sources(self, state: StateView, geometry: Geometry, + carrier_equation: str, trap_equation: str + ) -> tuple[DoubleArray, DoubleArray]: + rate = self.net_rate(state).as_dd() + result = [] + for equation, sign in ((carrier_equation, -1), (trap_equation, 1)): + sink = TermSink(state.layout, equation, geometry, DoubleArithmetic()) + sink.add(CellSource("same-electron-trap-reaction", geometry.cell_support, + DoubleArray.from_dd(sign * rate), PARTICLE / VOLUME / SECOND)) + result.append(sink.value()) + return result[0], result[1] + + +def electric_displacement(state: StateView, geometry: FaceGeometry, epsilon_F_m: ArrayLike, + potential_id: str = "phi_V") -> DoubleArray: + drop = state.face_difference(potential_id, geometry.pairs) + if not isinstance(drop, DoubleArray): + raise ContractError("physical_operator_requires_explicit_precision_provider") + eps = coefficient(epsilon_F_m, len(geometry.spacing_m), positive=True) + return DoubleArray.from_dd(-eps * drop.as_dd() / DD(geometry.spacing_m)) + + +def displacement_current(left: Point, right: Point, increment: StateIncrement, + displacement_id: str = "D_C_m2") -> DoubleArray: + increment.validate(left, right) + dt = right.time - left.time + if dt <= 0: + raise ContractError("nonpositive_physical_interval") + value = increment.field(displacement_id) + if not isinstance(value, DoubleArray): + raise ContractError("physical_operator_requires_explicit_precision_provider") + return DoubleArray.from_dd(value.as_dd() / dt) + + +def displacement_current_from_potential(left: Point, right: Point, increment: StateIncrement, + geometry: FaceGeometry, epsilon_F_m: ArrayLike, + potential_id: str = "phi_V") -> DoubleArray: + increment.validate(left, right) + dt = right.time - left.time + if dt <= 0: + raise ContractError("nonpositive_physical_interval") + # Contract the full endpoint-bound spatial difference before any node + # materialization. Separate DD node increments can erase a weak face term. + change = increment.face_delta(left, right, potential_id, geometry.pairs, + arithmetic=DoubleArithmetic()) + if not isinstance(change, DoubleArray): + raise ContractError("physical_operator_requires_explicit_precision_provider") + eps = coefficient(epsilon_F_m, len(geometry.spacing_m), positive=True) + return DoubleArray.from_dd(-eps * change.as_dd() / DD(geometry.spacing_m) / dt) + + +def lift_physical_inputs(anchor: Point, thermal_voltage_V: float, + increments: Mapping[str, ArrayLike | DoubleArray], time: float, + voltage_lift_V: ArrayLike | DoubleArray | None = None, + trace_voltage_lift_V: ArrayLike | DoubleArray | None = None, + inputs: ArrayLike | None = None) -> tuple[Point, StateIncrement]: + """Evaluate the public named input map and retain its complete authority.""" + def coordinate(value): + return value if type(value) is DoubleArray else frozen_array(value) + + return InputLiftCoordinates(anchor.state.layout, thermal_voltage_V).advance( + anchor, {name: coordinate(value) for name, value in increments.items()}, time, + voltage_lift_V=None if voltage_lift_V is None else coordinate(voltage_lift_V), + trace_voltage_lift_V=None if trace_voltage_lift_V is None else coordinate(trace_voltage_lift_V), + inputs=inputs, + ) diff --git a/scripts/benchmarks/diagnose_r1_saved_failure.py b/scripts/benchmarks/diagnose_r1_saved_failure.py new file mode 100644 index 00000000..a12ed81d --- /dev/null +++ b/scripts/benchmarks/diagnose_r1_saved_failure.py @@ -0,0 +1,978 @@ +"""Freeze and diagnose R1 saved inputs; this tool never advances time. + +Historical source/environment identities belong to the archived producer. +Current equation evaluations, when requested, have a separate report identity. +""" +from __future__ import annotations + +import argparse +from contextlib import ExitStack, contextmanager +from dataclasses import dataclass +from datetime import datetime, timezone +import hashlib +import json +import os +from pathlib import Path +import resource +import subprocess +import sys +import time +from types import SimpleNamespace +from unittest.mock import patch + + +REPOSITORY = Path(__file__).resolve().parents[2] +PROJECT = REPOSITORY / "perovskite-sim" +FIXTURE = REPOSITORY / "tests/fixtures/refactor/R1FailureWitnessV1.json" +THREAD_VARIABLES = ( + "OPENBLAS_NUM_THREADS", "OMP_NUM_THREADS", "MKL_NUM_THREADS", + "NUMEXPR_NUM_THREADS", "VECLIB_MAXIMUM_THREADS", +) +SCHEMA = "SolarLabR1FailureFixtureV1" + + +def file_sha256(path): + value = hashlib.sha256() + with Path(path).open("rb") as stream: + for chunk in iter(lambda: stream.read(1024 * 1024), b""): + value.update(chunk) + return value.hexdigest() + + +def content_sha256(value): + return hashlib.sha256(json.dumps( + value, sort_keys=True, separators=(",", ":"), allow_nan=False, + ).encode()).hexdigest() + + +def read_json(path, maximum_bytes=512 * 1024 * 1024): + if Path(path).stat().st_size > maximum_bytes: + raise ValueError(f"input exceeds bounded read size: {path}") + with Path(path).open() as stream: + return json.load(stream) + + +def write_json(path, value): + path = Path(path) + path.parent.mkdir(parents=True, exist_ok=True) + path.write_text(json.dumps(value, indent=2, sort_keys=True, allow_nan=False) + "\n") + + +def current_runtime(): + import numpy as np + import scipy + import platform + import perovskite_sim + from threadpoolctl import threadpool_info + + return { + "python": sys.version, "executable": sys.executable, + "numpy": np.__version__, "scipy": scipy.__version__, + "platform": platform.platform(), "package_file": perovskite_sim.__file__, + "git_head": subprocess.check_output( + ["git", "rev-parse", "HEAD"], cwd=REPOSITORY, text=True, + ).strip(), + "git_branch": subprocess.check_output( + ["git", "symbolic-ref", "--short", "HEAD"], cwd=REPOSITORY, text=True, + ).strip(), + "thread_environment": {name: os.environ.get(name) for name in THREAD_VARIABLES}, + "observed_blas_pools": threadpool_info(), + "actual_blas_threads_verified": bool(threadpool_info()), + "historical_execution_identity_claimed": False, + } + + +def load_fixture(path=FIXTURE): + value = read_json(path, 16 * 1024 * 1024) + if value.get("schema") != SCHEMA: + raise ValueError("unsupported saved R1 fixture schema") + body = {key: item for key, item in value.items() if key != "sha256"} + if value.get("sha256") != content_sha256(body): + raise ValueError("saved R1 fixture content hash mismatch") + if len(value["request"]["certificate_limits"]) != 16: + raise ValueError("original certificate threshold coverage changed") + if len(value["operator_channels"]) != 13: + raise ValueError("original physical channel coverage changed") + if value["prefix"]["accepted_rows"] != 309 or value["request"]["expected_rows"] != 3727: + raise ValueError("saved prefix extent differs from original request") + if value["prefix"]["bilateral_100s_qualified"] or value["prefix"]["compensated_admitted"]: + raise ValueError("a failed prefix cannot grant full-window qualification") + return value + + +@contextmanager +def forbid_trajectory_work(): + """Fail closed if a diagnostic accidentally invokes preparation or time stepping.""" + from perovskite_sim.experiments import one_dimensional_mechanism_r1_state as state + from perovskite_sim.experiments import interface_defect_transient as transient + + def forbidden(*args, **kwargs): + raise AssertionError("saved-state diagnosis cannot prepare DC or advance time") + + with ExitStack() as patches: + for module, name in ((state, "prepare_common_state"), (state, "solve_r1_dc"), + (transient, "_solve_step")): + patches.enter_context(patch.object(module, name, forbidden)) + yield + + +def array_comparison(actual, expected): + import numpy as np + + actual, expected = np.asarray(actual, dtype=float), np.asarray(expected, dtype=float) + result = {"actual_shape": list(actual.shape), "expected_shape": list(expected.shape)} + if actual.shape != expected.shape: + return {**result, "exact_bytes": False, "shape_mismatch": True} + words = actual.view(np.uint64).ravel() != expected.view(np.uint64).ravel() + sign = np.uint64(1 << 63) + a_bits, e_bits = actual.view(np.uint64), expected.view(np.uint64) + a_order = np.where(a_bits & sign, ~a_bits, a_bits | sign) + e_order = np.where(e_bits & sign, ~e_bits, e_bits | sign) + ulps = np.maximum(a_order, e_order) - np.minimum(a_order, e_order) + delta = np.abs(actual - expected) + scale = np.maximum(np.abs(expected), np.finfo(float).tiny) + indices = np.flatnonzero(words) + result.update( + exact_bytes=actual.tobytes() == expected.tobytes(), + different_words=int(np.count_nonzero(words)), + maximum_absolute=float(np.max(delta)) if delta.size else 0., + maximum_relative=float(np.max(delta / scale)) if delta.size else 0., + maximum_ulp=int(np.max(ulps)) if ulps.size else 0, + first_differences=[{ + "flat_index": int(i), "actual": float(actual.ravel()[i]), + "saved": float(expected.ravel()[i]), + "actual_hex": float(actual.ravel()[i]).hex(), + "saved_hex": float(expected.ravel()[i]).hex(), + } for i in indices[:6]], + ) + return result + + +def snapshot_comparison(actual, expected): + return {name: array_comparison(actual[name], expected[name]) for name in expected} + + +@dataclass +class SavedPreviousState: + """Only bound saved fields needed as the predecessor of a point evaluation. + + This is deliberately not a complete production state: an unexpected read + of an unrecorded field raises AttributeError instead of using a fabricated + Jacobian, flux, optimizer result, or an earlier state's cached value. + """ + + coordinate: object + dqfn: object + dqfp: object + n: object + p: object + occupancy: object + positive: object + negative: object + phi: object + local: tuple + storage: object + rate: object + sheet_charge: object + poisson_residual: object + local_residual: object + direct_poisson_residual: object + + +def direct_saved_reference(base, row): + """Copy original primary arrays, without exp/log reconstruction or solving.""" + import numpy as np + + raw, equation = row["state"], row["physics_reconstruction"] + + def value(name): + return np.asarray(raw[name], dtype=float).copy() + + local = tuple(SimpleNamespace( + trace_potential=np.asarray(trace, dtype=float).copy(), + state_m3=np.asarray(density, dtype=float).copy(), + ) for trace, density in zip(raw["trace_potential_V"], raw["trace_state_m3"])) + return SavedPreviousState( + coordinate=np.asarray(equation["coordinate"], dtype=float).copy(), + dqfn=np.asarray(equation["electron_qf_increment_V"], dtype=float).copy(), + dqfp=np.asarray(equation["hole_qf_increment_V"], dtype=float).copy(), + n=value("n_m3"), p=value("p_m3"), occupancy=value("occupancy"), + positive=value("positive_m3"), negative=None, phi=value("phi_V"), local=local, + storage=np.asarray(equation["storage"], dtype=float).copy(), + rate=np.asarray(equation["rate"], dtype=float).copy(), + sheet_charge=value("sheet_charge_C_m2"), poisson_residual=value("poisson_residual_C_m2"), + local_residual=value("local_residual"), + direct_poisson_residual=np.asarray(equation["direct_poisson_residual_C_m2"], dtype=float).copy(), + ) + + +def saved_input_system(fixture): + """Build coefficients from the sealed preparation, retaining import failure. + + The private constructor is used only for same-input diagnostics after the + public historical verifier is attempted. No source metadata or saved + certificate is edited, and this route never grants preparation acceptance. + """ + import numpy as np + from perovskite_sim.experiments import one_dimensional_mechanism_r1_state as state + from perovskite_sim.experiments.one_dimensional_mechanism_r1_dynamics import R1DynamicsControls + from perovskite_sim.models.config_loader import load_device_from_yaml + + raw = fixture["prepared"] + prepared = state.R1PreparedState.from_dict(raw) + policy = state._preparation_policy(fixture["policy"]) + source = fixture["request"]["inputs"]["fixture"] + source_path = PROJECT / source["path"] + if file_sha256(source_path) != source["sha256"]: + raise ValueError("local material fixture differs from bound saved input") + stack = load_device_from_yaml(source_path) + verification = {"historical_prepared_verified": False} + try: + base, initial = state.verify_prepared_physics( + prepared, stack, fixture["reference"], policy=policy, + ) + verification["historical_prepared_verified"] = True + except state.R1StateError as error: + verification["original_verifier_error"] = str(error) + grid, material = state.build_r1_material(stack, raw["intervals"]) + base = state._make_system( + stack, grid, material, state._decode_dc(raw["dc_state"]), fixture["reference"], + R1DynamicsControls.from_label(fixture["control_label"]), + state._preparation_policy(raw["preparation_policy"]), + ) + initial = base.evaluate(base.initial_coordinate(), 0.) + verification["prepared_evaluation_differences"] = snapshot_comparison( + state.snapshot(base, initial), raw["state"], + ) + context = fixture["initial_context"] + references = { + "electron_qf_reference_V": base.qfn_reference, + "hole_qf_reference_V": base.qfp_reference, + "initial_reference_n_m3": base.reference_n, + "initial_reference_p_m3": base.reference_p, + "initial_reference_positive_m3": base.reference_positive, + "initial_reference_occupancy": base.reference_occupancy, + "fixed_equilibrium_occupancy": base.equilibrium_occupancy, + } + verification["reference_differences"] = { + name: array_comparison(value, context[name]) for name, value in references.items() + } + if not all(item["exact_bytes"] for item in verification["reference_differences"].values()): + raise ValueError("same-input point construction has changed a bound initial reference") + verification["scope"] = "point operators on copied saved input; no historical execution certification" + return base, policy, verification + + +def restored_point(fixture, case_name, base, policy): + import numpy as np + from perovskite_sim.experiments.one_dimensional_mechanism_r1_state import snapshot + + case = fixture["cases"][case_name] + raw = case.get("saved_witness") + row = case.get("saved_row") + voltage = float(fixture["request"]["case"]["amplitude_V"]) + previous = direct_saved_reference(base, case["previous_row"]) + working, previous = base.rebase(previous) + working.set_voltage_lift(voltage, previous) + dt = float(raw["dt_s"] if raw is not None else row["dt_s"]) + if raw is not None: + coordinate = np.asarray(raw["coordinate"], dtype=float) + expected_residual = raw["scaled_residual_vector"] + expected_scales = [raw[name] for name in ("storage_scale", "poisson_scale", "local_scale")] + expected_snapshot = raw["attempted_state"] + else: + equation = row["physics_reconstruction"] + coordinate = np.asarray(equation["coordinate"], dtype=float) + expected_residual = equation["scaled_residual_vector"] + expected_scales = [equation[name] for name in ("storage_scale", "poisson_scale_C_m2", "local_algebraic_scale")] + expected_snapshot = row["state"] + recomputed_previous = working.evaluate(np.zeros(working.dimension), voltage) + previous_checks = snapshot_comparison( + snapshot(working, recomputed_previous), case["previous_row"]["state"], + ) + primary_names = ("n_m3", "p_m3", "positive_m3", "occupancy", "phi_V", + "trace_potential_V", "trace_state_m3") + if not all(previous_checks[name]["exact_bytes"] for name in primary_names): + raise ValueError("zero-coordinate evaluation changed a copied predecessor primary word") + computed_scales = [base.storage_scale(previous.storage, recomputed_previous, dt, policy), + base.poisson_scale(policy), base.local_algebraic_scale(policy)] + scale_checks = [array_comparison(actual, saved) for actual, saved in zip(computed_scales, expected_scales)] + # The saved scale is part of the frozen input. A different current-platform + # derivative-derived scale is reported, never silently substituted into it. + scales = [np.asarray(value, dtype=float).copy() for value in expected_scales] + residual, jacobian, attempted = working.residual_and_jacobian( + coordinate, voltage, previous, dt, *scales, + ) + comparisons = { + "scales": scale_checks, + "evaluation_scale_source": "unaltered bound witness; recomputed scales reported separately", + "predecessor_zero_evaluation": previous_checks, + "residual": array_comparison(residual, expected_residual), + "attempted_snapshot": snapshot_comparison(snapshot(working, attempted), expected_snapshot), + "previous_coordinate": array_comparison(previous.coordinate, raw["previous_coordinate"]) + if raw is not None else {"exact_bytes": True, "scope": "zero coordinate assigned by original rebase"}, + "saved_predecessor_primaries_copied_exactly": True, + "copied_state_is_not_a_new_preparation": True, + } + return working, previous, coordinate, voltage, dt, scales, residual, jacobian, attempted, comparisons + + +def local_input_words(state): + values = state.local[0].carrier_data.inputs + return {name: {word: getattr(getattr(values, name), word).tolist() for word in ("hi", "lo")} + for name in ("state_density", "trace_potential", "bulk_density", "bulk_potential", "occupancy")} + + +def representability_guards(system, state, rejected, coordinate, direction, residual, scales, limit): + """Explain the production predicate without changing any input or state.""" + import numpy as np + from perovskite_sim.experiments.one_dimensional_mechanism_r1_dynamics import ControlledPhysicalInterfaceIonSystem + + storage, poisson, local = scales + checks, values = {}, {} + + def check(name, condition): + checks[name] = bool(condition) + return bool(condition) + + def finish(candidate=None): + return {"checks": checks, "values": values, + "first_rejected_guard": next((name for name, passed in checks.items() if not passed), None), + "proposal_returned": candidate is not None}, candidate + + check("exact_controlled_system_type", type(system) is ControlledPhysicalInterfaceIonSystem) + check("step_reference_present", system._step_reference is not None) + check("single_interface", system.interface_count == 1) + if not all(checks.values()): + return finish() + residual, coordinate, direction = (np.asarray(x, dtype=float) for x in (residual, coordinate, direction)) + stop = len(storage) + len(poisson) + check("residual_shape", residual.shape == (stop + len(local),)) + check("six_local_scales", len(local) == 6) + check("coordinate_shape", coordinate.shape == (system.dimension,)) + check("direction_shape", direction.shape == coordinate.shape) + check("finite_residual_coordinate_direction", all(np.all(np.isfinite(x)) for x in (residual, coordinate, direction))) + check("finite_positive_residual_limit", np.isfinite(limit) and limit > 0.) + if not all(checks.values()): + return finish() + row = int(np.argmax(np.abs(residual))) + component = row - stop - 2 + values.update(dominant_row=row, component=component, residual=float(residual[row]), limit=float(limit)) + check("dominant_local_carrier_row", component in range(4)) + check("dominant_strictly_exceeds_limit", abs(residual[row]) > limit) + check("only_one_exceeding_row", not np.any(np.abs(np.delete(residual, row)) > limit)) + if component not in range(4): + return finish() + before, after = state.local[0].carrier_data.inputs, rejected.local[0].carrier_data.inputs + support = {} + for name in ("state_density", "trace_potential", "bulk_density", "bulk_potential", "occupancy"): + first, second = getattr(before, name), getattr(after, name) + check("same_" + name + "_hi_lo", np.array_equal(first.hi, second.hi) and np.array_equal(first.lo, second.lo)) + support[name] = {word: array_comparison(getattr(first, word), getattr(second, word)) for word in ("hi", "lo")} + values["support_word_comparisons"] = support + column = system._local_block_slice(0).start + 2 + component + density, change = float(state.local[0].state_m3[component]), float(direction[column]) + values.update(column=column, density=density, direction=change, coordinate=float(coordinate[column])) + check("finite_positive_density", np.isfinite(density) and density > 0.) + check("nonzero_direction_including_signed_zero", change != 0.) + if not checks["finite_positive_density"] or not checks["nonzero_direction_including_signed_zero"]: + return finish() + target = np.nextafter(density, np.inf if change > 0. else -np.inf) + check("finite_positive_neighbor", np.isfinite(target) and target > 0.) + if not checks["finite_positive_neighbor"]: + return finish() + gap = abs(target - density) + with np.errstate(over="ignore", invalid="ignore"): + density_change = density * np.expm1(change) + values.update(target_density=float(target), directional_gap=float(gap), + upward_gap=float(np.nextafter(density, np.inf) - density), + downward_gap=float(density - np.nextafter(density, -np.inf)), + density_expm1_change=float(density_change), + magnitude_in_directional_gaps=float(abs(density_change) / gap)) + check("finite_density_expm1_change", np.isfinite(density_change)) + check("density_change_half_to_two_directional_gaps", .5 * gap <= abs(density_change) <= 2. * gap) + reference = float(system._step_reference.local[0].state_m3[component]) + values["reference_density"] = reference + check("finite_positive_reference_density", np.isfinite(reference) and reference > 0.) + if not checks["finite_positive_reference_density"]: + return finish() + relative = (target - reference) / reference + values["relative_change_to_reference"] = float(relative) + check("finite_relative_reference_change", np.isfinite(relative)) + check("relative_reference_change_at_most_half", abs(relative) <= .5) + if not checks["finite_relative_reference_change"] or relative <= -1.: + return finish() + mapped = np.log1p(relative) + delta = mapped - coordinate[column] + values.update(neighbor_coordinate=float(mapped), neighbor_coordinate_change=float(delta)) + check("finite_log1p_coordinate", np.isfinite(mapped)) + check("log1p_change_agrees_with_direction", delta * change > 0.) + check("log1p_change_at_most_twice_direction", abs(delta) <= 2. * abs(change)) + proposed = coordinate.copy() + proposed[column] = mapped + expected = np.asarray([state.local[0].state_m3]).copy() + expected[0, component] = target + forward = system._trace_density_coordinates(proposed) + check("forward_map_exact_neighbor_only", np.array_equal(forward, expected)) + values["forward_trace_density"] = forward.tolist() + actual = system.representable_line_search_candidate( + state, rejected, coordinate, direction, residual, storage, poisson, local, limit, + ) + if (actual is not None) != all(checks.values()): + raise AssertionError("diagnostic explanation disagrees with the original candidate guard") + if actual is not None and not np.array_equal(actual, proposed): + raise AssertionError("diagnostic coordinate differs from original proposal") + return finish(actual) + + +def original_acceptance_metrics(system, state, previous, dt, residual, settings): + import numpy as np + + current = system.solver_current_metrics(state, previous, dt) + metrics = { + "nonlinear_residual": float(np.max(np.abs(residual))), + "charge_balance_relative": float(system.charge_balance_metrics(state, previous, dt)[1]), + "all_face_current_relative": float(current[4]), + "interface_current_relative": float(current[5]), + } + limits = { + "nonlinear_residual": settings["maximum_scaled_nonlinear_residual"], + "charge_balance_relative": settings["maximum_charge_balance_relative_error"], + "all_face_current_relative": settings["maximum_all_face_current_spread_relative"], + "interface_current_relative": settings["maximum_two_sided_interface_total_current_relative_error"], + } + passed = {name: bool(np.isfinite(value) and value <= limits[name]) for name, value in metrics.items()} + closure = max(metrics[name] / limits[name] for name in metrics if name != "nonlinear_residual") + return {"metrics": metrics, "limits": limits, "passed": passed, + "all_original_solver_gates_passed": all(passed.values()), "closure_ratio": float(closure)} + + +def fixed_iterate_line_search(point, policy, expected_slots): + """Use the original slot budget for fixed-iterate candidates, never advance. + + After the first candidate the live algorithm would accept, remaining + damping samples are explicitly counterfactual point evaluations. They + never update the reference/trial or become a historical Newton trace. + """ + import numpy as np + from scipy.sparse.linalg import spsolve + from perovskite_sim.experiments.interface_defect_transient import ( + InterfaceDefectTransientError, effective_newton_acceptance_settings, + ) + + system, previous, coordinate, voltage, dt, scales, residual, jacobian, state, _ = point + settings = effective_newton_acceptance_settings(policy) + budget = policy.maximum_line_search_steps + if budget != expected_slots: + raise ValueError("candidate budget differs from the original request") + current = original_acceptance_metrics(system, state, previous, dt, residual, settings) + report = { + "scope": "current-platform reconstruction at one saved coordinate; not recorded historical Newton path", + "budget": budget, "starting_acceptance": current, "slots": [], + "native_solver_calls": 0, "trajectory_steps_advanced": 0, + "inputs": local_input_words(state), + } + if current["all_original_solver_gates_passed"]: + report["disposition"] = "current_platform_saved_coordinate_already_meets_solver_gates" + report["evaluations"] = 0 + report["slots"] = [{"slot": i, "evaluated": False, "reason": "initial_convergence_gate"} for i in range(budget)] + return report + limit = settings["maximum_scaled_nonlinear_residual"] + norm = current["metrics"]["nonlinear_residual"] + eligible = norm <= limit or system.newton_direction_eligible(residual, *scales, limit) + rhs = residual.copy() + target = system.newton_residual_target(previous, *scales) + target_valid = (target.shape == residual.shape and np.all(np.isfinite(target)) + and float(np.max(np.abs(target))) <= limit) + if eligible and target_valid: + rhs = system.newton_direction_rhs(state, previous, residual, target, *scales) + direction = np.asarray(spsolve(jacobian, -rhs), dtype=float) + if direction.shape != coordinate.shape or not np.all(np.isfinite(direction)): + raise ValueError("reconstructed Newton direction is not finite") + linear_error = np.max(np.abs(jacobian @ direction + rhs)) / max( + float(np.max(np.abs(rhs))), float(np.max(abs(jacobian) @ np.abs(direction))), np.finfo(float).tiny, + ) + report.update(direction=direction.tolist(), direction_rhs=rhs.tolist(), + stable_direction_eligible=bool(eligible), previous_target_valid=bool(target_valid), + linear_backward_error=float(linear_error), jacobian_nnz=int(jacobian.nnz)) + damping, neighbor, neighbor_used = 1., None, False + native_stop_slot = None + for index in range(budget): + representable = neighbor is not None + candidate = neighbor if representable else coordinate + damping * direction + neighbor = None + entry = {"slot": index, "evaluated": True, "kind": "neighbor" if representable else "damped", + "counterfactual_after_native_stop": native_stop_slot is not None, + "damping": damping, "coordinate_sha256": hashlib.sha256(candidate.tobytes()).hexdigest(), + "coordinate_changed_columns": np.flatnonzero(candidate != coordinate).tolist()} + try: + candidate_residual, _, candidate_state = system.residual_and_jacobian( + candidate, voltage, previous, dt, *scales, + ) + candidate_metrics = original_acceptance_metrics( + system, candidate_state, previous, dt, candidate_residual, settings, + ) + except (InterfaceDefectTransientError, ValueError, FloatingPointError) as error: + entry["evaluation_error"] = str(error) + report["slots"].append(entry) + if not representable: + damping *= .5 + continue + next_norm = candidate_metrics["metrics"]["nonlinear_residual"] + fraction = 1. if representable else damping + descent = next_norm < norm * (1. - 1.e-4 * fraction) + closure_improved = ( + norm <= policy.maximum_scaled_nonlinear_residual + and next_norm <= policy.maximum_scaled_nonlinear_residual + and (candidate_metrics["closure_ratio"] <= 1. + or candidate_metrics["closure_ratio"] < current["closure_ratio"] * (1. - 1.e-4 * damping)) + ) + accepted = descent or closure_improved + if representable: + accepted = descent and next_norm <= limit and candidate_metrics["closure_ratio"] <= 1. + entry.update(acceptance=candidate_metrics, residual_descent=bool(descent), + closure_improved=bool(closure_improved), line_search_accepted=bool(accepted), + target_row_895=float(candidate_residual[895]), + residual_sha256=hashlib.sha256(candidate_residual.tobytes()).hexdigest(), + candidate_trace_density=[local.state_m3.tolist() for local in candidate_state.local]) + if accepted and native_stop_slot is None: + native_stop_slot = index + caller_eligible = (native_stop_slot is None and not accepted + and not representable and not neighbor_used and index + 1 < budget + and current["closure_ratio"] <= 1.) + entry["representable_caller_eligible"] = bool(caller_eligible) + if not representable: + guards, proposed = representability_guards( + system, state, candidate_state, coordinate, direction, residual, scales, limit, + ) + entry["representability"] = guards + entry["guard_was_only_diagnostically_evaluated"] = not caller_eligible + if caller_eligible and proposed is not None: + neighbor, neighbor_used = proposed, True + report["slots"].append(entry) + if not representable: + damping *= .5 + report["native_stop_slot"] = native_stop_slot + report["disposition"] = ( + "first_line_search_acceptance_recorded_remaining_slots_are_counterfactual_fixed_input_probes" + if native_stop_slot is not None else "original_slot_budget_exhausted_on_current_platform" + ) + report["evaluations"] = sum(slot["evaluated"] for slot in report["slots"]) + report["near_acceptance_fallback_eligible_by_residual"] = bool(norm <= policy.maximum_scaled_nonlinear_residual) + report["near_acceptance_fallback_executed"] = False + return report + + +def _read_bound_archive_json(archive, fixture, relative): + path = Path(archive) / relative + expected = fixture["sources"][relative] + if path.stat().st_size != expected["bytes"] or file_sha256(path) != expected["sha256"]: + raise ValueError("historical diagnostic input changed: " + relative) + return read_json(path) + + +def _load_decimal_oracle(archive, fixture): + import importlib.util + + root = Path(archive) / "results/OneDimensionalMechanism/R1PhysicsDevelopmentV52" + relative = "results/OneDimensionalMechanism/R1PhysicsDevelopmentV52/ManifestV1.json" + manifest = _read_bound_archive_json(archive, fixture, relative) + path = root / "Root/LocalCarrierOracleV1.py" + record = manifest["Root/LocalCarrierOracleV1.py"] + if file_sha256(path) != record["sha256"] or path.stat().st_size != record["bytes"]: + raise ValueError("archived Decimal oracle is not bound by its original manifest") + name = "solarlab_archived_r1_decimal_oracle" + spec = importlib.util.spec_from_file_location(name, path) + module = importlib.util.module_from_spec(spec) + sys.modules[name] = module + spec.loader.exec_module(module) + return module, {"path": str(path), **record} + + +def same_input_local_oracle(system, state, oracle): + from decimal import Decimal, localcontext + import numpy as np + + item = state.local[0].carrier_data + identity, coefficients = system._r1_local_carrier_coefficients[0] + if identity != item.coefficient_identity: + raise ValueError("local state and live cached coefficient identities differ") + payload = oracle.freeze_inputs(item.inputs, coefficients, system.capture_multiplier) + result = oracle.evaluate_frozen(payload, precision=80) + errors = {} + references = {**result["balance"], + "residual_occupancy_derivative_m2_s": result["residual_occupancy_derivative_m2_s"]} + evaluated = {**item.balance, + "residual_occupancy_derivative_m2_s": item.tangent["residual_occupancy_derivative_m2_s"]} + with localcontext() as context: + context.prec = 80 + for name, reference in references.items(): + pair = evaluated[name] + high, low = np.asarray(pair.hi).ravel(), np.asarray(pair.lo).ravel() + refs = np.asarray(reference, dtype=object).ravel() + differences = [abs(Decimal.from_float(float(h)) + Decimal.from_float(float(l)) - Decimal(str(r))) + for h, l, r in zip(high, low, refs)] + relative = [d / max(abs(Decimal(str(r))), Decimal(1)) for d, r in zip(differences, refs)] + errors[name] = {"maximum_absolute": str(max(differences)), "maximum_relative": str(max(relative))} + return payload, {"coefficient_identity": identity, "input_sha256": result["input_sha256"], + "oracle": result, "DD_vs_decimal_errors": errors, + "local_derivative_coordinates_checked": len(result["coordinate_order"]), + "scope": "same current inputs and frozen current coefficients; no historical table substitution"} + + +def diagnose(archive, fixture_path, output): + import numpy as np + from perovskite_sim.experiments.one_dimensional_mechanism_r1_independent_physics import independent_physics_row + from perovskite_sim.experiments.one_dimensional_mechanism_r1_local_carrier import float_local_carrier_inputs + from perovskite_sim.physics.two_sided_interface_compensated import default_fd_table + + fixture = load_fixture(fixture_path) + launch = _read_bound_archive_json( + archive, fixture, + "results/OneDimensionalMechanism/R1PhysicsDevelopmentV53/LongWindowV1/BaselineV1/Root/LaunchContractV1.json", + ) + source_mismatches = [relative for relative, expected in launch["source_files"].items() + if file_sha256(PROJECT / relative) != expected] + if source_mismatches: + raise ValueError("current bound computational source changed: " + ", ".join(source_mismatches)) + old_relative = "results/OneDimensionalMechanism/R1PhysicsDevelopmentV52/DiagnosticsV1/RepresentabilityV1.json" + historical = _read_bound_archive_json(archive, fixture, old_relative) + oracle, oracle_source = _load_decimal_oracle(archive, fixture) + table, table_hash = default_fd_table() + report = { + "schema": "SolarLabR1SavedFailureDiagnosisV1", + "scope": "P01-01/P01-02 bounded saved-input diagnosis only", + "fixture": {"path": str(fixture_path), "sha256": file_sha256(fixture_path)}, + "tool_sha256": file_sha256(Path(__file__)), + "native_step_calls": 0, "prefix_integration_calls": 0, "new_DC_optimizations": 0, + "historical_Newton_path_claimed": False, "full_100s_or_R1_qualification": False, + "original_thresholds": fixture["request"]["certificate_limits"], + "original_channel_identities": fixture["operator_channels"], + "cases": {}, "local_oracle_source": oracle_source, + "current_required_source_files_match_original": len(launch["source_files"]), + "diagnosis_completed": False, "passed": False, + "fermi_table": { + "current_sha256": table_hash, "original_V52_sha256": historical["same_input_decimal_oracle"]["fd_table_sha256"], + "identical": table_hash == historical["same_input_decimal_oracle"]["fd_table_sha256"], + "nodes": len(table["eta"]), + "source": "physics/fermi_dirac.py::_half_table generates the table using current NumPy Gaussian quadrature", + "original_table_numeric_payload_available_in_fixture": False, + }, + "original_environment_route": fixture["original_environment"], + } + write_json(output, report) + oracle_inputs = {"schema": "SolarLabR1CurrentConstitutiveInputsV1", "coefficients": {}, "cases": {}} + with forbid_trajectory_work(): + base, policy, verification = saved_input_system(fixture) + report["preparation_verification"] = verification + for name in fixture["cases"]: + point = restored_point(fixture, name, base, policy) + working, previous, coordinate, voltage, dt, scales, residual, jacobian, attempted, comparisons = point + item = { + "time_s": fixture["cases"][name].get("saved_witness", fixture["cases"][name].get("saved_row"))["time_s"], + "dt_s": dt, "dimension": int(working.dimension), + "comparison": comparisons, "current_scaled_residual_vector": residual.tolist(), + "current_jacobian_nnz": int(jacobian.nnz), + "signed_row_895": float(residual[895]), + "current_maximum_residual": float(np.max(np.abs(residual))), + "physical_primary_input_words": local_input_words(attempted), + } + case = fixture["cases"][name] + snapshot = case["saved_witness"]["attempted_state"] if "saved_witness" in case else case["saved_row"]["state"] + saved_inputs = float_local_carrier_inputs( + working, 0, np.asarray(snapshot["n_m3"]), np.asarray(snapshot["p_m3"]), np.asarray(snapshot["phi_V"]), + np.asarray(snapshot["occupancy"]), np.asarray(snapshot["trace_potential_V"]), None, + trace_density_m3=np.asarray(snapshot["trace_state_m3"]), + ) + actual_inputs = attempted.local[0].carrier_data.inputs + item["local_primary_words_equal_to_saved_attempt"] = { + key: {word: array_comparison(getattr(getattr(actual_inputs, key), word), getattr(getattr(saved_inputs, key), word)) + for word in ("hi", "lo")} + for key in ("state_density", "trace_potential", "bulk_density", "bulk_potential", "occupancy") + } + item["independent_physics"] = independent_physics_row(working, attempted, previous, dt) + operators = base.eliminated_operator_diagnostics(attempted, voltage) + if sorted(operators) != fixture["operator_channels"]: + raise ValueError("recomputed operator channel set differs from the original thirteen") + item["operator_channels"] = { + channel: {"relative_error": float(values["relative_error"]), + "limit": fixture["request"]["certificate_limits"]["eliminated_operator_error"], + "passed": bool(values["relative_error"] <= fixture["request"]["certificate_limits"]["eliminated_operator_error"])} + for channel, values in operators.items() + } + if "failed" in name: + payload, oracle_report = same_input_local_oracle(working, attempted, oracle) + key = oracle_report["coefficient_identity"] + oracle_inputs["coefficients"][key] = payload["coefficients"] + oracle_inputs["cases"][name] = {**{k: v for k, v in payload.items() if k != "coefficients"}, + "coefficient_identity": key, + "full_payload_sha256": content_sha256(payload)} + item["local_same_input_decimal"] = oracle_report + item["line_search"] = fixed_iterate_line_search(point, policy, fixture["request"]["solver_limits"]["line_search"]) + if name == "step183_failed": + # The archived diagnostic provides this actual vector. It is + # an input-only guard check, not the current platform's Newton + # direction or a replay of unrecorded rejected states. + guards, candidate = representability_guards( + working, attempted, attempted, coordinate, + np.asarray(historical["original_direction"]), + np.asarray(case["saved_witness"]["scaled_residual_vector"]), scales, + fixture["request"]["certificate_limits"]["nonlinear_residual"], + ) + item["historical_183_guard_input_check"] = { + "source": old_relative, "rejected_state_assumption": "same-support plateau predicate input", + "guards": guards, + "matches_recorded_candidate": candidate is not None and np.array_equal( + candidate, fixture["historical_v52_candidate_evidence"][0]["coordinate"]), + "not_a_historical_Newton_path_replay": True, + } + report["cases"][name] = item + write_json(output, report) + inputs_path = Path(output).parent / "CurrentConstitutiveInputsV1.json" + write_json(inputs_path, oracle_inputs) + report["current_constitutive_inputs"] = {"path": str(inputs_path), "sha256": file_sha256(inputs_path)} + report["diagnosis_completed"] = True + report["passed"] = True + report["passed_means"] = "bounded diagnosis completed with limitations; not historical reproduction or solver qualification" + report["disposition"] = { + "historical_step309_root_cause": "not established on the changed runtime/table", + "local_fix_supported_for_native_trial": False, + "old_path_status": "historical failure preserved", + "next_branch": "P02 numerical contracts; original-runtime saved-state analysis if needed, separately dispatched", + "P01_03_native_trial_started": False, + } + return report + + +def _selected_row(row): + physics = row["physics_reconstruction"] + keep = ( + "coordinate", "electron_qf_increment_V", "hole_qf_increment_V", + "storage", "rate", "direct_poisson_residual_C_m2", + "scaled_residual_vector", "storage_scale", "poisson_scale_C_m2", + "local_algebraic_scale", "scaled_nonlinear_residual", + "eliminated_operator", "independent_physics", + ) + return { + "phase": row["phase"], "time_s": row["time_s"], "dt_s": row["dt_s"], + "substeps": row["substeps"], "solver_accepted": row["solver_accepted"], + "state": row["state"], + "physics_reconstruction": {key: physics[key] for key in keep if key in physics}, + } + + +def freeze(archive, fixture_path, output): + """Read original manifests/codec and copy only the needed frozen inputs.""" + import numpy as np + from perovskite_sim.experiments.one_dimensional_mechanism_r1_pair_codec import ( + verify_numeric_sidecar, + ) + from perovskite_sim.experiments.one_dimensional_mechanism_r1_state import ( + R1PreparedState, physical_preparation_identity, + ) + from perovskite_sim.experiments.one_dimensional_mechanism_r1_binding import ( + validate_r1_study_binding, + ) + from perovskite_sim.models.config_loader import load_device_from_yaml + + archive = Path(archive).resolve() + history = archive / "results/OneDimensionalMechanism" + v52, v53 = history / "R1PhysicsDevelopmentV52", history / "R1PhysicsDevelopmentV53" + case_root = v53 / "LongWindowV1/BaselineV1" + case = case_root / "OutputV1/CaseV1" + sources = {} + + def bound(path, manifest=None, relative=None): + record = {"bytes": path.stat().st_size, "sha256": file_sha256(path)} + if manifest is not None and manifest[relative] != record: + raise ValueError(f"original manifest binding mismatch: {path}") + sources[path.relative_to(archive).as_posix()] = record + return record + + case_manifest = read_json(case / "ManifestV1.json") + v52_manifest = read_json(v52 / "ManifestV1.json") + for name in ( + "RequestV1.json", "PreparedV1.json", "ReferenceBindingV1.json", "SourceFixtureV1.yaml", + "SourceReceiptV1.json", "StateArraysV1.npz", "FailureV1.json", "FailureWitnessV1.json", + "ResultV1.json", "EnvironmentV1.json", "SummaryV1.json", + ): + bound(case / name, case_manifest, name) + for name in ( + "Inputs/SavedStepInputV1.json", "Inputs/PreparedV1.json", "Inputs/ReferenceBindingV1.json", + "Inputs/SourceFixtureV1.yaml", "OutputV1/ConvergedCheckpointV1.json", + "OutputV1/ValidationResultV1.json", "OutputV1/RepresentableCandidatesV1.json", + "DiagnosticsV1/RepresentabilityV1.json", "Root/LaunchContractV1.json", + ): + bound(v52 / name, v52_manifest, name) + for path in ( + case / "ManifestV1.json", v52 / "ManifestV1.json", v53 / "ManifestV1.json", + v53 / "Root/RecoveryScopeProposalV1.json", case_root / "Root/RequestV1.json", + case_root / "Root/LaunchContractV1.json", v53 / "Root/SourceBindingV1.json", + ): + bound(path) + + request = read_json(case / "RequestV1.json") + if sources[(case / "RequestV1.json").relative_to(archive).as_posix()] != sources[ + (case_root / "Root/RequestV1.json").relative_to(archive).as_posix() + ]: + raise ValueError("original launch and saved request differ") + source = read_json(case / "SourceReceiptV1.json") + launch = read_json(case_root / "Root/LaunchContractV1.json") + if source["source_commit"] != launch["source_commit"] or source["source_commit"] != "12869a4f90d6d08af2d24af902838d8a4d5c00c4": + raise ValueError("original launch/source receipt commit mismatch") + if source["r1_source_content_sha256"] != launch["source_content_sha256"]: + raise ValueError("original launch/source receipt content mismatch") + if source["all_tracked_files"] != launch["all_tracked_files"]: + raise ValueError("original tracked source manifests differ") + checked_source = {} + for relative, expected in launch["source_files"].items(): + # LaunchContract.source_files is relative to its declared project; + # all_tracked_files is relative to the containing Git repository. + path = PROJECT / relative + actual = file_sha256(path) + if actual != expected: + raise ValueError(f"current computational source differs from original: {relative}") + checked_source[path.relative_to(REPOSITORY).as_posix()] = actual + + prepared_raw = read_json(case / "PreparedV1.json") + prepared = R1PreparedState.from_dict(prepared_raw) + reference = read_json(case / "ReferenceBindingV1.json") + stack = load_device_from_yaml(case / "SourceFixtureV1.yaml") + validate_r1_study_binding(reference, stack) + prepared_v52 = read_json(v52 / "Inputs/PreparedV1.json") + R1PreparedState.from_dict(prepared_v52) + preparation_identity = physical_preparation_identity(prepared) + if preparation_identity != physical_preparation_identity(prepared_v52): + raise ValueError("V52/V53 physical preparations differ") + if prepared_raw["reference_sha256"] != reference["sha256"]: + raise ValueError("prepared state reference binding mismatch") + result = read_json(case / "ResultV1.json") + numeric = verify_numeric_sidecar(case / "StateArraysV1.npz", result) + old = read_json(v52 / "Inputs/SavedStepInputV1.json") + rows = result["accepted_steps"] + checkpoint = read_json(v52 / "OutputV1/ConvergedCheckpointV1.json") + validation = read_json(v52 / "OutputV1/ValidationResultV1.json") + failed = result["failure"]["numerical_evidence"] + old_failed = old["failure"]["numerical_evidence"] + if len(rows) != 309 or failed["previous_state"] != rows[-1]["state"]: + raise ValueError("failed step does not follow the exact saved prefix") + if rows[183]["state"] != checkpoint["state"] or not rows[183]["solver_accepted"]: + raise ValueError("V53 step183 does not match the validated V52 checkpoint") + if rows[183]["physics_reconstruction"]["scaled_nonlinear_residual"] != validation["scaled_nonlinear_residual"]: + raise ValueError("V52/V53 successful step183 residual differs") + if old_failed["previous_state"] != rows[182]["state"]: + raise ValueError("V52 failed step183 predecessor differs from the V53 prefix") + channels = sorted(rows[183]["physics_reconstruction"]["eliminated_operator"]) + if any(sorted(row["physics_reconstruction"]["eliminated_operator"]) != channels for row in rows): + raise ValueError("historical accepted-row channel coverage differs") + fixture = { + "schema": SCHEMA, "sources": sources, + "source_commit": source["source_commit"], + "source_content_sha256": source["r1_source_content_sha256"], + "prepared": prepared_raw, "prepared_v52": prepared_v52, "reference": reference, + "physical_preparation_identity": preparation_identity, + "source_fixture_yaml": (case / "SourceFixtureV1.yaml").read_text(), + "request": request, "policy": result["policy"], + "control_label": result["control_label"], + "initial_context": result["physics_reconstruction"], + "initial_event": result["initial_event"], + "initial_context_v52": old["physics_reconstruction"], + "initial_event_v52": old["initial_event"], "policy_v52": old["policy"], + "operator_channels": channels, + "original_environment": read_json(case / "EnvironmentV1.json"), + "prefix": { + "accepted_rows": len(rows), "finite_accepted_steps": len(rows) - 1, + "expected_rows": request["expected_rows"], "substeps_reached": [4], + "last_accepted_time_s": rows[-1]["time_s"], + "bilateral_100s_qualified": False, "compensated_admitted": False, + "complete_R1_2_qualification": False, + }, + "cases": { + "step183_failed": { + "saved_witness": old_failed, "previous_row": _selected_row(rows[182]), + "original_failure": {key: value for key, value in old["failure"].items() if key != "numerical_evidence"}, + }, + "step183_accepted": { + "saved_row": _selected_row(rows[183]), "previous_row": _selected_row(rows[182]), + "historical_validation": validation, + }, + "step309_failed": { + "saved_witness": failed, "previous_row": _selected_row(rows[308]), + "original_failure": {key: value for key, value in result["failure"].items() if key != "numerical_evidence"}, + }, + }, + "historical_v52_candidate_evidence": read_json(v52 / "OutputV1/RepresentableCandidatesV1.json"), + "representation_scope": { + "primary_words": "original binary64 baseline arrays", + "persistent_primary_low_words": "not part of this historical baseline representation", + "local_carrier_DD_low_words": "recomputed intermediates from exact saved binary64 inputs; not invented persistent state", + "newton_candidate_history_309": "not recorded; future candidate evaluations must be labelled reconstructed", + }, + } + fixture["sha256"] = content_sha256(fixture) + write_json(fixture_path, fixture) + load_fixture(fixture_path) + report = { + "schema": "SolarLabR1FrozenWitnessReportV1", "passed": True, + "scope": "P00-04 source/input integrity; no state equation evaluation or trajectory", + "sources": sources, "current_source_files_checked": checked_source, + "numeric_sidecar": numeric, "prepared_sha256": prepared.sha256, + "reference_sha256": reference["sha256"], + "preparation_identities": { + "v52_artifact": prepared_v52["sha256"], "v53_artifact": prepared.sha256, + "shared_physical_identity": preparation_identity, + "distinct_provenance_fields": [key for key in prepared_raw if prepared_raw[key] != prepared_v52[key]], + "execution_or_approval_transfer": False, + }, + "certificate_limits": request["certificate_limits"], + "operator_channels": channels, "prefix": fixture["prefix"], + "step183_checkpoint_equal": True, + "residual_exceedances": { + key: [{"row": index, "value": value} for index, value in enumerate(case_data["saved_witness"]["scaled_residual_vector"]) + if abs(value) > request["certificate_limits"]["nonlinear_residual"]] + for key, case_data in fixture["cases"].items() if "saved_witness" in case_data + }, + "fixture": {"path": str(fixture_path), "sha256": file_sha256(fixture_path), + "bytes": Path(fixture_path).stat().st_size}, + "original_artifacts_modified": False, "native_step_calls": 0, + } + write_json(output, report) + return report + + +def main(): + parser = argparse.ArgumentParser(description=__doc__) + parser.add_argument("operation", choices=("freeze", "diagnose")) + parser.add_argument("--archive", type=Path, required=True) + parser.add_argument("--fixture", type=Path, default=FIXTURE) + parser.add_argument("--output", type=Path, required=True) + args = parser.parse_args() + if any(os.environ.get(name) != "1" for name in THREAD_VARIABLES): + raise SystemExit("all five documented BLAS/thread environment variables must be 1") + sys.path.insert(0, str(PROJECT)) + started = time.monotonic() + started_at = datetime.now(timezone.utc).isoformat() + try: + operation = freeze if args.operation == "freeze" else diagnose + report = operation(args.archive, args.fixture, args.output) + except Exception as error: + import traceback + report = read_json(args.output) if args.output.is_file() and args.operation == "diagnose" else {} + report.update(passed=False, diagnosis_completed=False, + exception_type=type(error).__name__, exception=str(error), + traceback=traceback.format_exc()) + report["command"] = [sys.executable, *sys.argv] + report["started_at"] = started_at + report["finished_at"] = datetime.now(timezone.utc).isoformat() + report["elapsed_s"] = time.monotonic() - started + report["peak_rss_bytes"] = resource.getrusage(resource.RUSAGE_SELF).ru_maxrss * (1 if sys.platform == "darwin" else 1024) + report["runtime"] = current_runtime() + write_json(args.output, report) + print(json.dumps({key: report.get(key) for key in ( + "passed", "elapsed_s", "peak_rss_bytes", "fixture", "exception", "disposition", + )}, indent=2)) + return 0 if report["passed"] else 1 + + +if __name__ == "__main__": + raise SystemExit(main()) diff --git a/scripts/benchmarks/g2_compare.py b/scripts/benchmarks/g2_compare.py new file mode 100644 index 00000000..0690232c --- /dev/null +++ b/scripts/benchmarks/g2_compare.py @@ -0,0 +1,1081 @@ +"""G2-R saved-data comparisons; all physical runs and admissions are external. + +The pure reductions below also accept explicitly manufactured test evidence. +The plan entry admits and independently reads real inputs before using them. +No comparison, E2 transfer or successful process exit grants a route review. +""" +from __future__ import annotations + +from bisect import bisect_right +from copy import deepcopy +from fractions import Fraction as F +import hashlib +import json +import math +from pathlib import Path +import resource +import sys +import time + +from scripts.benchmarks import t1_gate as t +from scripts.benchmarks import qualification_comparison as qc + +SCHEMA = "solarlab.g2-comparison.v1" +REQUEST_SCHEMA = "solarlab.g2-compare-request.v1" +FIELDS = ("phi_V", "n_m3", "p_m3", "c_m3", "f") +UNITS = dict(qc.STATE_UNITS) +FULL_CASES = ("B_N8_Coarse_Full", "B_N8_Main_Full", "B_N8_Strict_Full", "B_N16_Strict_Full") +CLAIMS = {"rigorous_bound", "conditional_uncertainty_estimate"} + + +class ComparisonError(ValueError): + pass + + +def require(value, reason): + if not value: + raise ComparisonError(reason) + + +def number(value): + """Only frozen metadata may contain binary64; scientific pairs stay exact.""" + if type(value) is float: + require(math.isfinite(value), "nonfinite_metadata") + return F(value) + return t.q(value) + + +def span(value): + c, r = t.enclosure(value) + return qc.Span(c-r, c+r) + + +def enc(center, radius=0): + center, radius = t.q(center), t.q(radius) + require(radius >= 0, "negative_error") + return {"center": t.pair(center), "absolute_error_bound": t.pair(radius)} + + +def enclose(value): + return enc((value.lo+value.hi)/2, (value.hi-value.lo)/2) + + +def absolute(value): + return (F(0) if value.lo <= 0 <= value.hi else min(abs(value.lo), abs(value.hi)), value.absolute_upper) + + +def summary(rows): + failure = next((r for r in rows if r["status"] == "failed"), None) + unknown = next((r for r in rows if r["status"] not in {"passed", "failed"}), None) + return {"status": "failed" if failure else "unknown" if unknown or not rows else "passed", + "first_failure": None if failure is None else failure.get("key"), + "first_unknown": None if unknown is None else {"key": unknown.get("key"), "reason": unknown.get("reason")}, + "records": len(rows)} + + +def check_samples(case, labels): + require(case["case_id"] in FULL_CASES and type(case["samples"]) is list, "case_scope") + t.fixed_windows(labels) + actual = [row["tag"] for row in case["samples"]] + require(t.digest(actual) == t.digest(labels), "all_131_ordered_tags_and_event_sides") + count = case["mesh_intervals"]+1 + require(case["mesh_intervals"] == (16 if case["case_id"] == FULL_CASES[-1] else 8) + and len(case["mesh_m"]) == count and len(case["volumes_m3"]) == count + and len(case["cell_edges_m"]) == count+1, "case_geometry") + mesh = qc.check_mesh(tuple(map(t.q, case["mesh_m"]))) + edges = tuple(map(t.q, case["cell_edges_m"])) + require(edges[0] == mesh[0] and edges[-1] == mesh[-1] + and all(a < b for a,b in zip(edges, edges[1:])) + and all(t.q(v) > 0 for v in case["volumes_m3"]), "physical_control_volumes") + support = case["material_defect_support"] + require(len(support) == count and all(type(x) is str and x for x in support) + and len(set(support)) == 1, "QC01_continuous_material_defect_support") + for row in case["samples"]: + require(set(row["states"]) == set(FIELDS) and set(row["ports"]) == {"left", "right"}, "observed_quantities") + for name in FIELDS: + require(len(row["states"][name]) == count, "state_shape") + for v in row["states"][name]: + if v is not None: + c,_ = t.enclosure(v) + require(name not in {"n_m3","p_m3"} or c > 0, "positive_carrier_center") + require(name != "c_m3" or c >= 0, "nonnegative_ion_center") + require(name != "f" or 0 <= c <= 1, "QC01_no_occupancy_clipping") + for v in row["ports"].values(): + if v is not None: + t.enclosure(v) + + +def _sg_box(a, b, xi, s, carrier): + """Enclose the existing SG reconstruction without losing endpoint words. + + w(xi)=int_0^s exp(xi*u)du/int_0^1 exp(xi*u)du decreases with xi: + its derivative is a conditional mean below s minus the full mean. + Thus the two endpoint xi bounds enclose the weight, including xi=0. + """ + if s == 0: + return a + if s == 1: + return b + if carrier == "hole": + xi = -xi + lo = qc.sg_interpolate(1, 2, xi.hi, s, carrier="electron")-1 + hi = qc.sg_interpolate(1, 2, xi.lo, s, carrier="electron")-1 + w = qc.Span(max(F(0), lo.lo), min(F(1), hi.hi)) + # Positive weights let the endpoint bounds be combined without cancelling + # independently uncertain a in a+(b-a)*w. + lower = min((1-w.lo)*a.lo+w.lo*b.lo, (1-w.hi)*a.lo+w.hi*b.lo) + upper = max((1-w.lo)*a.hi+w.lo*b.hi, (1-w.hi)*a.hi+w.hi*b.hi) + return qc.Span(lower, upper) + + +def reconstruct(case, row, *, node_errors=None, center_only=False): + """The existing 19 physical locations and QC-01 trap rule, with bounds.""" + mesh = tuple(map(t.q, case["mesh_m"])) + vt = t.q(case["thermal_voltage_V"]) + require(vt > 0, "thermal_voltage") + values = {} + for field in FIELDS: + values[field] = [] + for i, value in enumerate(row["states"][field]): + if value is None: + values[field] = None;break + c, r = t.enclosure(value) + if node_errors is not None: + if node_errors[field][i] is None: + values[field] = None;break + r = t.q(node_errors[field][i]) + elif center_only: + r = F(0) + values[field].append(qc.Span(c-r, c+r)) + result = [] + for x in qc.POSITIONS: + physical = x*mesh[-1] + i = min(bisect_right(mesh, physical)-1, len(mesh)-2) + s = (physical-mesh[i])/(mesh[i+1]-mesh[i]) + xi = None if values["phi_V"] is None else (values["phi_V"][i+1]-values["phi_V"][i])/vt + found = {} + for field, data in values.items(): + if data is None or field in {"n_m3","p_m3"} and xi is None: + found[field] = None;continue + found[field] = (_sg_box(data[i],data[i+1],xi,s,"electron" if field == "n_m3" else "hole") + if field in {"n_m3","p_m3"} else (1-s)*data[i]+s*data[i+1]) + result.append(found) + return result + + +def error_at(errors, quantity, index): + record = errors.get(quantity) + if (type(record) is not dict or record.get("status") != "accepted" + or record.get("claim_kind") not in CLAIMS): + return None + values = record.get("values") + require(type(values) is list and len(values) == 131, "reference_error_131_values") + value = t.q(values[index]) + require(value >= 0, "reference_error_positive") + return value + + +def assess(candidate, reference, error, allowance, *, key, claim_kind=None): + """One-third reference share; no zero substitution for missing evidence.""" + result = {"key": key, "claim_kind": claim_kind, "status": "unknown", "reason": "unknown_reference_error"} + if candidate is None or reference is None: + result["reason"] = "unknown_observation_or_readback" + return result + lo, hi = map(t.q, allowance) + require(0 <= lo <= hi, "allowance_bounds") + center = (reference.lo+reference.hi)/2 + observed = (candidate-center).absolute_upper + result.update(observed_difference_upper=t.pair(observed), allowance_lower=t.pair(lo), allowance_upper=t.pair(hi)) + if error is None: + return result + error = t.q(error) + require(error >= 0, "reference_error_nonnegative") + # E_ref is relative to this reference center and already includes its own + # read/map/roundoff terms; adding the reference radius again is forbidden. + total = observed+error + passed = total <= lo and error <= lo/3 + failed = total > hi or error > hi/3 + result.update(status="passed" if passed else "failed" if failed else "unknown", + reason="within_band_and_reference_share" if passed else "comparison_certificate_exceeded" if failed else "unknown_scale", + reference_error=t.pair(error), reference_share_lower=t.pair(lo/3), + total_upper=t.pair(total), reference_radius_added_again=False) + return result + + +def compare_time(candidate, strict, errors, *, labels, scales, checkpoint=lambda: None): + """Coarse/Main raw ports and all 19-location states against one Strict.""" + check_samples(candidate,labels);check_samples(strict,labels) + require(candidate["case_id"] in FULL_CASES[:2] and strict["case_id"] == FULL_CASES[2] + and candidate["problem_identity"] == strict["problem_identity"] + and t.digest(candidate["mesh_m"]) == t.digest(strict["mesh_m"]) + and candidate["fixed_electrode_gauge"] == strict["fixed_electrode_gauge"] + and candidate["material_defect_support"] == strict["material_defect_support"], "time_comparison_same_problem") + signals = {} + for side in ("left","right"): + values = [r["ports"][side] for r in strict["samples"]] + if any(v is None for v in values): + signals[side] = None + continue + initial = span(values[0]) + changes = [absolute(span(v)-initial) for v in values] + signals[side] = (max(x[0] for x in changes), max(x[1] for x in changes)) + ports, states, initial_checks = [], [], [] + for index,(a,b) in enumerate(zip(candidate["samples"],strict["samples"],strict=True)): + checkpoint() + for side in ("left","right"): + key = {"tag":a["tag"],"port":side} + c,r = a["ports"][side],b["ports"][side] + sig = signals[side] + error = error_at(errors,"port/"+side,index) + if c is None or r is None or sig is None: + result = {"key":key,"status":"unknown","reason":"missing_raw_port_observation"} + else: + local = absolute(span(r)-span(strict["samples"][0]["ports"][side])) + band = (max(local[0],sig[0]/100)/1000,max(local[1],sig[1]/100)/1000) + result = assess(span(c),qc.Span.of(t.enclosure(r)[0]),error,band,key=key, + claim_kind=errors.get("port/"+side,{}).get("claim_kind")) + if error is not None and sig[0] <= 0: + result.update(status="unknown",reason="unresolved_current_signal") + result.update(unit="A",I_sig_lower_A=t.pair(sig[0]),I_sig_upper_A=t.pair(sig[1]), + raw_currents_compared=True,both_initials_subtracted=False) + if index == 0: + initial = assess(span(c),qc.Span.of(t.enclosure(r)[0]),error,(sig[0]/100000,sig[1]/100000), + key=key,claim_kind=result["claim_kind"]) + if error is not None and sig[0] <= 0: + initial.update(status="unknown",reason="unresolved_current_signal") + initial.update(unit="A",rule="initial-current 1e-5 I_sig") + initial_checks.append(initial) + ports.append(result) + a_values = reconstruct(candidate,a) + b_values = reconstruct(strict,b,center_only=True) + forward = {field:[error_at(errors,f"state/{field}/{j}",index) for j in range(9)] for field in FIELDS} + target = reconstruct(strict,b,node_errors=forward) + for j,x in enumerate(qc.POSITIONS): + for field in FIELDS: + key = {"tag":a["tag"],"field":field,"position_x_over_L":t.pair(x)} + av = None if a_values is None else a_values[j][field] + bv = None if b_values is None else b_values[j][field] + if bv is None: + band = (F(0),F(0)) + elif field in {"phi_V","f"}: + band = (F(1,10000),)*2 + elif field == "c_m3": + band = (t.q(scales["c_m3"])/1000,)*2 + else: + lower,upper = absolute(bv) + floor = t.q(scales[field])/100 + band = (max(lower,floor)/1000,max(upper,floor)/1000) + bound = None if target[j][field] is None or bv is None else (target[j][field]-(bv.lo+bv.hi)/2).absolute_upper + required_fields = (field,"phi_V") if field in {"n_m3","p_m3"} else (field,) + kinds = {errors.get(f"state/{f}/{k}",{}).get("claim_kind") for f in required_fields for k in range(9)} + kind = "conditional_uncertainty_estimate" if "conditional_uncertainty_estimate" in kinds else "rigorous_bound" if kinds == {"rigorous_bound"} else None + result = assess(av,bv,bound,band,key=key,claim_kind=kind) + result.update(unit=UNITS[field],reconstruction="SG carriers; physical-coordinate linear phi/c; QC-01 occupancy") + states.append(result) + combined = ports+states+initial_checks + label_order={t.digest(tag):i for i,tag in enumerate(labels)} + combined.sort(key=lambda r:label_order[t.digest(r["key"]["tag"])]) + return {"status":summary(combined)["status"],"candidate":candidate["case_id"],"reference":strict["case_id"], + "role":"mandatory Main time comparison" if candidate["case_id"]==FULL_CASES[1] else + "complete control response; final applicability belongs to the reviewed RunPlan", + "port_tables":ports,"state_tables":states,"initial_bias_checks":initial_checks, + "summary":summary(combined),"covered_tags":131,"state_locations":19, + "scientific_qualification":False,"reference_center_radius_counted_once":True} + + +def e2_transfer(strict_value, reference_value, reference_error, *, includes_reference_radius, map_error=0): + """Exact E_S <= |c_S-c_R| + r_S + E_R + U_map (+ r_R if unowned).""" + require(type(includes_reference_radius) is bool, "E2_radius_ownership_missing") + cs,rs = t.enclosure(strict_value);cr,rr = t.enclosure(reference_value) + er,um = t.q(reference_error),t.q(map_error) + require(er >= 0 and um >= 0, "E2_negative_error") + delta = abs(cs-cr) # exact rational subtraction; zero arithmetic remainder is proved here + marginal = F(0) if includes_reference_radius else rr + total = delta+rs+er+um+marginal + return {"status":"computed_pending_review","claim_kind":"conditional_uncertainty_estimate", + "conditional_estimate_value":t.pair(total),"rigorous_bound_value":None, + "ownership":{"D_center_difference":t.pair(delta),"subtraction_arithmetic_bound":t.pair(0), + "r_S_in_U_read":t.pair(rs),"E_R":t.pair(er),"E_R_includes_r_R":includes_reference_radius, + "r_R_marginal":t.pair(marginal),"U_map":t.pair(um)}, + "scientific_pass":False,"independent_acceptance_awarded":False} + + +def spatial_projection(fine, coarse): + """Inventory-preserving CV overlap, using actual saved physical volumes.""" + x,y = tuple(map(t.q,fine["cell_edges_m"])),tuple(map(t.q,coarse["cell_edges_m"])) + vf,vc = tuple(map(t.q,fine["volumes_m3"])),tuple(map(t.q,coarse["volumes_m3"])) + require(x[0] == y[0] and x[-1] == y[-1] + and set(fine["material_defect_support"]) == set(coarse["material_defect_support"]) + and len(set(fine["material_defect_support"])) == 1, "QC01_projection_support") + weights = [[max(F(0),min(b,d)-max(a,c))/(d-c)*vf[j]/vc[i] + for j,(c,d) in enumerate(zip(x,x[1:]))] for i,(a,b) in enumerate(zip(y,y[1:]))] + require(all(sum(vc[i]*weights[i][j] for i in range(len(vc))) == vf[j] for j in range(len(vf))), + "CV_projection_inventory") + return weights + + +def compare_space(coarse, fine, *, labels, checkpoint=lambda:None): + check_samples(coarse,labels);check_samples(fine,labels) + require(coarse["case_id"] == FULL_CASES[2] and fine["case_id"] == FULL_CASES[3] + and type(coarse["physical_input_identity"]) is str + and coarse["physical_input_identity"] == fine["physical_input_identity"] + and coarse["fixed_electrode_gauge"] == fine["fixed_electrode_gauge"], "space_same_physics_and_initial_history") + matrix = spatial_projection(fine,coarse) + xc,xf = tuple(map(t.q,coarse["mesh_m"])),tuple(map(t.q,fine["mesh_m"])) + vc,vf = tuple(map(t.q,coarse["volumes_m3"])),tuple(map(t.q,fine["volumes_m3"])) + tables = [];ports=[] + for a,b in zip(coarse["samples"],fine["samples"],strict=True): + checkpoint() + for field in FIELDS: + if any(v is None for v in a["states"][field]+b["states"][field]): + tables.append({"key":{"tag":a["tag"],"field":field},"status":"unknown","reason":"missing_spatial_state"});continue + low,high = tuple(map(span,a["states"][field])),tuple(map(span,b["states"][field])) + if field in {"n_m3","p_m3","c_m3"}: + projected = [sum((w*v for w,v in zip(row,high)),qc.Span.of(0)) for row in matrix] + else: + projected=[] + for x in xc: + j=min(bisect_right(xf,x)-1,len(xf)-2);s=(x-xf[j])/(xf[j+1]-xf[j]) + projected.append((1-s)*high[j]+s*high[j+1]) + difference=[x-y for x,y in zip(low,projected)] + squared=sum(v*d.absolute_upper**2 for v,d in zip(vc,difference))/sum(vc) + from scripts.benchmarks.interval_observation import rational_sqrt_upper + rms=rational_sqrt_upper(squared,F(1,2**160)) + inventory_low=sum((v*x for v,x in zip(vc,low)),qc.Span.of(0)) + inventory_fine=sum((v*x for v,x in zip(vf,high)),qc.Span.of(0)) + tables.append({"key":{"tag":a["tag"],"field":field},"status":"reported", "unit":UNITS[field], + "maximum_difference_upper":t.pair(max(x.absolute_upper for x in difference)), + "weighted_RMS_upper":t.pair(rms),"weighted_mean_square_upper":t.pair(squared), + "inventory_difference":enclose(inventory_low-inventory_fine) if field in {"n_m3","p_m3","c_m3"} else None, + "boundary_traces":{"left":enclose(low[0]-high[0]),"right":enclose(low[-1]-high[-1])}, + "projection":"conservative_saved_volume_overlap" if field in {"n_m3","p_m3","c_m3"} else "fixed-gauge_linear" if field == "phi_V" else "QC-01_linear_nodal_occupancy"}) + for side in ("left","right"): + ports.append({"key":{"tag":a["tag"],"port":side},"unit":"A", + "status":"reported" if a["ports"][side] is not None and b["ports"][side] is not None else "unknown", + "difference":None if a["ports"][side] is None or b["ports"][side] is None else enclose(span(a["ports"][side])-span(b["ports"][side]))}) + return {"status":"reported_spatial_difference","projection_record":{"density_weights":[[t.pair(x) for x in r] for r in matrix], + "inventory_preserved_exactly":True,"source_mesh":"N16","target_mesh":"N8","QC01_support":"matched_continuous_material_and_defect"}, + "role":"spatial differences only; no two-grid order claim", + "port_tables":ports,"state_tables":tables,"summary":{"covered_tags":131,"spatial_order":None, + "convergence_order_estimated":False,"G2Q_qualification":False}} + + +def matched_windows(results, *, checkpoint=lambda:None): + """Compare the same 128 windows and carried signed prefixes, never failure endpoints.""" + comparisons=[];hypothesis=[] + anchor=next((results[key]["fixed_windows"] for key in FULL_CASES if key in results),None) + if anchor is not None: + for result in results.values(): + require(len(result["fixed_windows"])==len(anchor)==128,"matched_128_windows") + require(all(t.digest(a["left"])==t.digest(b["left"]) and t.digest(a["right"])==t.digest(b["right"]) + for a,b in zip(anchor,result["fixed_windows"],strict=True)), "matched_time_window_tags") + for coarse,finer in zip(FULL_CASES[:2],FULL_CASES[1:3]): + if coarse not in results or finer not in results: + comparisons.append({"pair":[coarse,finer],"status":"unknown","reason":"missing_T1_result"});continue + left,right=results[coarse]["fixed_windows"],results[finer]["fixed_windows"] + require(len(left)==len(right)==128,"matched_128_windows") + prefix=[F(0),F(0),F(0),F(0)];complete=True + for index,(a,b) in enumerate(zip(left,right,strict=True)): + checkpoint() + require(t.digest(a["left"])==t.digest(b["left"]) and t.digest(a["right"])==t.digest(b["right"]),"matched_time_window_tags") + x,y=a.get("signed_device_trend_input"),b.get("signed_device_trend_input") + if not a["complete_pieces"] or not b["complete_pieces"] or x is None or y is None: + complete=False + comparisons.append({"pair":[coarse,finer],"key":{"kind":"window","index":index},"status":"unknown","reason":"missing_signed_window"});continue + bc,uc,bf,uf=map(t.q,(x["b_C"],x["u_C"],y["b_C"],y["u_C"])) + one=t.matched_growth(bc,uc,bf,uf) + comparisons.append({"pair":[coarse,finer],"key":{"kind":"window","index":index},**one}) + if complete: + prefix=[old+new for old,new in zip(prefix,(bc,uc,bf,uf))] + comparisons.append({"pair":[coarse,finer],"key":{"kind":"prefix","index":index},**t.matched_growth(*prefix)}) + for case in FULL_CASES: + if case not in results:continue + for window in results[case]["fixed_windows"]: + for channel in ("left_metal","right_metal"): + entry=window["channels"][channel] + scale=window.get("independent_window_charge_enclosures_C",{}).get(channel) + if scale is None or entry.get("signed_balance_C") is None: + hypothesis.append({"case_id":case,"window_index":window["index"],"channel":channel,"status":"unknown","reason":"missing_same_window_charge_or_balance"});continue + lo,hi=absolute(span(scale));b=t.q(entry["signed_balance_C"]);u=t.q(entry["uncertainty_C"]) + lower=max(F(0),abs(b)-u)/hi if hi>0 else None + upper=(abs(b)+u)/lo if lo>0 else None + h=F(15,10**6) + hypothesis.append({"case_id":case,"window_index":window["index"],"channel":channel, + "left":window["left"],"right":window["right"], + "status":"unknown" if lower is None or upper is None else "computed", + "ratio_lower":None if lower is None else t.pair(lower),"ratio_upper":None if upper is None else t.pair(upper), + "hypothesis_value":t.pair(h),"hypothesis_compatible":None if lower is None or upper is None else lower<=h<=upper, + "systematic_floor_proved":False,"convergence_order_estimated":False}) + return {"status":summary(comparisons)["status"],"device_growth":comparisons, + "metal_ratio_hypothesis":hypothesis,"scope":"matched signed trends and their arithmetic uncertainty; no new numerical threshold"} + + +def case_metadata(request, case_id): + """The fixed B packet and complete initial words, without constructing B.""" + from perovskite_sim.constants import K_B,Q + packet=request["numeric_packet"] + definition=packet["definition"] + require(definition["id"] == "DynamicAcceptorIonPublicDeviceV1", "fixed_B_scope") + source=request["voltage_lift_map"]["physical_model"] + from scripts.benchmarks.g2_reference_error import target_identity + offsets=packet["variable_offsets"] + initial=request["initial_segment_frame"] + def fields(key): + words=initial[key] + require(len(words) == 12 and all(len(row) == len(request["z0"]) for row in words), "initial_twelve_word_shape") + values=[sum((F(float.fromhex(row[i])) for row in words),F(0)) for i in range(len(request["z0"]))] + return {name:values[start:stop] for name,(start,stop) in offsets.items()} + state,rate=fields("physical_handoff_words_hex"),fields("physical_rate_handoff_words_hex") + require(set(state) == set(FIELDS), "B_state_layout") + uniform=all(len(set(v)) == 1 for v in state.values()) + physical_id=(t.digest({"definition":definition,"segments":request["segments"], + "physical_initial":{k:t.pair(v[0]) for k,v in state.items()}}) if uniform else None) + return {"case_id":case_id,"mesh_intervals":packet["intervals"], + "mesh_m":[t.pair(number(x)) for x in packet["x_m"]], + "cell_edges_m":[t.pair(number(x)) for x in packet["cell_edges_m"]], + "volumes_m3":[t.pair(number(x)) for x in packet["volumes_m3"]], + "thermal_voltage_V":t.pair(F(K_B*definition["temperature"]/Q)), + "source_id":source,"request_sha256":t.digest(request),"problem_identity":t.physical_problem_identity(request), + "reference_error_problem_identity":target_identity(source,request["initial_preparation"]["point_identity"],request["segments"]), + "initial_point_identity":request["initial_preparation"]["point_identity"], + "physical_input_identity":physical_id,"fixed_electrode_gauge":"fixed B Dirichlet electrode gauge", + "material_defect_support":[t.digest(definition)]*packet["nodes"], + "initial_state_words_sha256":t.digest(initial["physical_handoff_words_hex"]), + "initial_rate_words_sha256":t.digest(initial["physical_rate_handoff_words_hex"]), + "initial_state":{k:list(map(t.pair,v)) for k,v in state.items()}, + "initial_rate":{k:list(map(t.pair,v)) for k,v in rate.items()}, + "raw_words":request["frame_input_policy"]["raw_parent_words"], + "mapped_words":request["frame_input_policy"]["mapped_input_words"],"samples":[]} + + +def normalize_ida_sample(request, tag, row, certificate): + from scripts.benchmarks.native_readback import _decode,_word_pair + fields,_=qc.full_state(request,row["history"]) + evidence=_decode(certificate["evidence"]) + require(certificate["sample_record_sha256"] == row["record_sha256"] + and evidence["point_identity"] == row["history"]["point_identity"], "sample_certificate_identity") + radii=evidence["readback"]["physical_state_absolute_error"] + states={} + for field,(start,stop) in request["numeric_packet"]["variable_offsets"].items(): + states[field]=[enc(x,r) for x,r in zip(fields[field],radii[start:stop],strict=True)] + raw=_word_pair(row["raw"]["total_inward"],2) + errors=evidence["source_and_readback_error_A"][0] + require(evidence["input_error_included_once"] is True + and evidence["readback"]["do_not_add_same_input_error_twice"] is True, "sample_error_ownership") + return {"tag":dict(tag),"states":states,"ports":{side:enc(v,r) for side,v,r in zip(("left","right"),raw,errors,strict=True)}, + "q":None,"f":None,"source_record_sha256":row["record_sha256"], + "current_certificate_sha256":t.digest(certificate),"point_identity":row["history"]["point_identity"], + "map_identity":row["history"]["map_identity"],"input_error_ownership":"included in readback radius once", + "state_words_consumed":"original physical reference plus all mapped cumulative words", + "current_origin":"raw full mapped RateView; no initial subtraction"} + + +def case_from_evidence(plan_case, data, readback_pin, producer_plan_pin): + """Use the already checked observer stream; never reopen native history.""" + request=data["request"] + require(t.digest(request) == plan_case["execution"]["effective_input_digest"], "case_effective_input") + expected=case_metadata(request,plan_case["id"]) + expected["run_id"]=plan_case["execution"]["native_admission"]["operation_id"] + require(data["comparison_context"] is not None, "missing_sealed_comparison_samples") + require(t.digest(expected) == t.digest(data["comparison_context"]), "sealed_comparison_context") + producer=t._pin(producer_plan_pin["path"],producer_plan_pin) + original=next(c for c in producer["cases"] if c["id"] == plan_case["id"]) + require(original["execution"]["effective_input_digest"] == t.digest(request) + and original["execution"]["native_admission"]["operation_id"] == expected["run_id"], "producer_plan_case_binding") + receipt=t._pin(readback_pin["path"],readback_pin) + require(receipt["schema"] == "solarlab.native-history-verification.v1" and receipt["verified"] is True + and receipt["complete_protocol"] is True and receipt["complete_readback"] is True + and receipt["case_id"] == plan_case["id"] and receipt["request_sha256"] == t.digest(request) + and receipt["plan_sha256"] == producer_plan_pin["sha256"] + and receipt["history"]["eof_seen"] is True and receipt["history"]["crc_verified"] is True, + "complete_independent_case_readback") + observed=receipt["observed_history"] + require(observed["closed"] is True and observed["container_complete"] is True + and all(observed[k] == data["history"][k] for k in ("logical_sha256","logical_bytes","records")), + "observer_stream_readback_binding") + expected["samples"]=deepcopy(data["comparison_samples"]) + expected["readback"]=receipt + expected["independent_readback_pin"]=dict(readback_pin) + expected["sealed_history_binding"]=dict(receipt["history"], + path=str((Path(readback_pin["path"]).parent/receipt["history"]["path"]).resolve())) + check_samples(expected,data["labels"]) + return expected + + +def attach_charge_series(case, data, checked): + """Use checked window pieces once for q and the independent physical f.""" + pieces={i:[] for i in range(128)} + for row in data["pieces"]:pieces[row["window_index"]].append(row) + samples={t.digest(s["tag"]):s for s in case["samples"]} + for sample in samples.values(): + sample["q"]=sample["f"]=None + first_charge=None;fc,fr=F(0),F(0);complete=True + previous=None;previous_index=None + for index,(left_tag,right_tag,_,_) in enumerate(t.fixed_windows(data["labels"])): + rows=pieces[index] + ok=checked["fixed_windows"][index]["complete_pieces"] and bool(rows) + if not ok: + complete=False;continue + a=rows[0]["channels"]["device"].get("left_charge_enclosure_C") + b=rows[-1]["channels"]["device"].get("right_charge_enclosure_C") + if a is None or b is None: + complete=False;continue + if previous is not None and previous_index == index-1: + t._compatible_enclosures(previous,a,"charge_series_event_continuity") + if index == 0: + first_charge=a + left,right=samples[t.digest(left_tag)],samples[t.digest(right_tag)] + if first_charge is not None: + left["q"]=enc(0) if index == 0 else enclose(span(a)-span(first_charge)) + right["q"]=enclose(span(b)-span(first_charge)) + if complete:left["f"]=enc(fc,fr) + for piece in rows: + operands=t.operands(piece["channels"]["device"]) + if operands is None: + complete=False;break + fc+=operands["fc"] + fr+=sum(operands["components"][k] for k in t.COMPONENTS[1:]) + if complete:right["f"]=enc(fc,fr) + previous=b;previous_index=index + + +def quantity_values(case, quantity): + if quantity in {"q","f"}: + return [r.get(quantity) for r in case["samples"]] + parts=quantity.split("/") + if len(parts)==2 and parts[0]=="port" and parts[1] in {"left","right"}: + return [r["ports"][parts[1]] for r in case["samples"]] + require(len(parts)==3 and parts[0]=="state" and parts[1] in FIELDS and parts[2].isdigit(), "quantity_key") + index=int(parts[2]);require(0 <= index <= case["mesh_intervals"], "quantity_index") + return [r["states"][parts[1]][index] for r in case["samples"]] + + +def quantity_unit(quantity): + return "C" if quantity in {"q","f"} else "A" if quantity.startswith("port/") else UNITS[quantity.split("/")[1]] + + +def quantity_name(quantity): + return quantity if quantity in {"q","f"} else "port_"+quantity.split("/")[1] if quantity.startswith("port/") else quantity.split("/")[1] + + +def read_error_records(result_pin, acceptance_pin, *, method_pin, problem_identity, labels, checkpoint=lambda:None): + """Consume A5's structured v1 acceptance, retaining exact per-quantity failures.""" + records = {} + response = {"result":result_pin,"acceptance":acceptance_pin,"quantities":records, + "source_claim_status_unchanged":True,"status":"unknown_reference_error","reason":None} + try: + payload = t._acceptance_pin(result_pin) + require(payload["schema"] == "solarlab.g2-reference-error.v1" + and payload["target_problem_identity"] == problem_identity + and t.digest(payload["method_contract"]) == t.digest(method_pin), "reference_error_envelope") + descriptors = payload["quantity_records"] + require(type(descriptors) is dict and 0 < len(descriptors) <= 49, "reference_error_quantity_descriptors") + for key, ref in descriptors.items(): + t._acceptance_quantity(key) + records[key] = {"record":None,"pin":ref,"usable_for_E2":False,"acceptance":None, + "status":"unknown_reference_error","reason":"quantity_not_explicitly_accepted"} + require(acceptance_pin is not None, "reference_error_acceptance_missing") + review = t._acceptance_pin(acceptance_pin) + required = {"schema","version","reviewed_error_file","accepted_quantities","quantity_bindings", + "claim_kind","reviewer","verdict","conditions","method_contract","parameters","lineage", + "target_problem_identity","reference_history","scope","scientific_pass","execution_authorized"} + accepted = t._acceptance_header(review, "solarlab.g2-reference-error-acceptance.v1", required) + require(t.digest(review["reviewed_error_file"]) == t.digest(result_pin) + and t.digest(review["method_contract"]) == t.digest(method_pin) + and review["target_problem_identity"] == problem_identity + and type(review["scope"]) is dict and review["scope"].get("route") == "G2-R" + and type(review["scope"].get("meaning")) is str and review["scope"]["meaning"] + and set(accepted) <= set(descriptors), "reference_error_review_binding") + method = t._acceptance_pin(method_pin) + from scripts.benchmarks.g2_route import _frozen_definition, EVIDENCE_METHOD_SCHEMA + _frozen_definition(method, EVIDENCE_METHOD_SCHEMA, 1) + parameters = t._acceptance_pin(review["parameters"]) + lineage = t._acceptance_pin(review["lineage"]) + require(parameters.get("schema") == "solarlab.g2-reference-error-parameters.v1" + and parameters.get("target_problem_identity") == problem_identity + and parameters.get("method_contract_sha256") == method_pin["sha256"] + and lineage.get("schema") == "solarlab.g2-reference-error.v1" + and lineage.get("kind") == "reference_error_lineage" + and t.digest(lineage["method_contract"]) == t.digest(method_pin) + and t.digest(lineage["parameters"]) == t.digest(review["parameters"]), "reference_error_parameters_lineage") + levels = lineage["levels"] + require(type(levels) is list and len(levels) == 3, "reference_error_three_level_lineage") + for ordinal, level in enumerate(levels): + identity = level["identity"] + require(type(identity) is dict and identity.get("case_id") == f"BE_N8_L{ordinal}_Full" + and identity.get("method_contract_sha256") == method_pin["sha256"] + and all(type(identity.get(key)) is str and identity[key] for key in + ("input_sha256","plan_sha256","source_commit","environment_identity","schedule_identity", + "source_identity","initial_point_identity","controls_sha256")), "reference_error_level_identity") + finest = levels[2] + history = t._acceptance_history(review["reference_history"], case_id="BE_N8_L2_Full", labels=labels, + expected={"source_identity":finest["identity"]["source_identity"], + "run_id":t.digest(finest["identity"]),"input_sha256":finest["identity"]["input_sha256"]}) + require(all(finest["observed_history"][key] == history[key] for key in + ("logical_sha256","logical_bytes","encoded_bytes","records")), "reference_error_L2_history") + response["reference_history"] = history + response["review"] = review + for key in accepted: + checkpoint() + entry = records[key] + try: + r = t._acceptance_pin(entry["pin"]); entry["record"] = r + require(r["schema"] == "solarlab.g2-reference-evidence.v1" and r["quantity_key"] == key + and r["quantity_and_unit"] == {"quantity":quantity_name(key),"unit":quantity_unit(key)} + and r["target_problem_identity"] == problem_identity + and r["status"] == "computed_pending_review" and r.get("method_status", "passed") == "passed" + and r["claim_kind"] == "conditional_uncertainty_estimate" + and r["rigorous_bound_value"] is None and r.get("diagnostic_value") is None, + "quantity_record_binding") + require(type(r["norm_and_coverage"]["records"]) is int + and r["norm_and_coverage"] == {"norm":"max_abs_tagged131","records":131,"labels_sha256":t.digest(labels)} + and len(labels) == 131 and t.digest([row["tag"] for row in r["per_record"]]) == t.digest(labels), + "reference_error_coverage") + identity = r["reference_source_and_run_identity"] + require(identity == {"case_id":"BE_N8_L2_Full","run_id":history["run_id"], + "source_identity":history["source_identity"],"request_sha256":history["input_sha256"], + "history_sha256":history["logical_sha256"]}, "reference_error_quantity_history") + authority = r["reviewer_and_decision_authority"] + require(authority["evidence_author"] == review["reviewer"]["evidence_author"] + and t.digest(authority["method_contract"]) == t.digest(method_pin), "reference_error_review_independence") + require(t.digest(r["assumptions_and_checked_premises"]["E3_parameters"]) == t.digest(review["parameters"]) + and all(t.digest(component["source"]) == t.digest(review["lineage"]) + for component in r["error_components_and_ownership"]) + and bool(r["error_components_and_ownership"]), "reference_error_quantity_lineage") + values = [] + for row in r["per_record"]: + computation = row["computation"] + require(computation["status"] == "computed_pending_review" + and computation.get("method_status", "passed") == "passed", "reference_error_method_status") + error = t._acceptance_pair(computation["E_R"]) + radius = t._acceptance_pair(row["computed_value"]["radius"]) + t.q(row["computed_value"]["center"]) + require(error >= radius, "reference_error_tagwise_radius_not_owned") + values.append(error) + require(t._acceptance_pair(r["conditional_estimate_value"]) == max(values) + and t.digest(r["estimated_or_enclosed_value"]) == t.digest({"value_field":"conditional_estimate_value", + "value":r["conditional_estimate_value"],"unit":quantity_unit(key)}) + and r.get("reference_value_radius_ownership") == "reported observation radii are included in E_R; coalesce them in E2", + "reference_error_value_slot_and_radius") + t._acceptance_quantity_binding(review["quantity_bindings"][key], r, entry["pin"], key=key, labels=labels) + entry.update(usable_for_E2=True, acceptance=acceptance_pin, status="accepted_for_E2", reason=None) + except (KeyError, TypeError, ValueError, OSError, AttributeError, OverflowError) as error: + entry["reason"] = str(error) + active = [key for key, entry in records.items() if entry["usable_for_E2"]] + response.update(status="accepted_for_E2" if active else "unknown_reference_error", + reason=None if active else "no_accepted_reference_error_quantity", accepted_quantities=active) + except (KeyError, TypeError, ValueError, OSError, AttributeError, OverflowError) as error: + response["reason"] = str(error) + for entry in records.values(): + entry.update(usable_for_E2=False, acceptance=None, status="unknown_reference_error", reason=str(error)) + return response + + +def transfer_E2(strict, reference, records, *, labels, checkpoint=lambda:None, context=None): + require(strict["problem_identity"] == reference["problem_identity"] + and t.digest(strict["mesh_m"]) == t.digest(reference["mesh_m"]) + and t.digest([r["tag"] for r in strict["samples"]]) == t.digest(labels) + and t.digest([r["tag"] for r in reference["samples"]]) == t.digest(labels), "E2_same_problem_mesh_tags") + require(strict["reference_error_problem_identity"] == reference["reference_error_problem_identity"], + "E2_original_point_and_operator_identity") + output={} + for key,owned in records["quantities"].items(): + checkpoint();record=owned["record"] + base={"schema":"solarlab.g2-reference-evidence.v1","quantity_key":key, + "quantity_and_unit":{"quantity":quantity_name(key),"unit":quantity_unit(key)}, + "target_problem_identity":strict["problem_identity"], + "norm_and_coverage":{"norm":"max_abs_tagged131","records":131,"labels_sha256":t.digest(labels)}, + "claim_kind":"conditional_uncertainty_estimate","rigorous_bound_value":None, + "source_BE_error":owned["pin"],"source_BE_acceptance":owned["acceptance"],"scientific_pass":False} + if not owned["usable_for_E2"]: + output[key]={**base,"status":"unknown_reference_error","reason":owned.get("reason"), + "conditional_estimate_value":None,"per_record":[]};continue + require(record["target_problem_identity"] == reference["reference_error_problem_identity"], + "E2_BE_error_problem_identity") + identity=record["reference_source_and_run_identity"] + require(identity["source_identity"] == reference["source_id"] + and identity["request_sha256"] == reference["request_sha256"] + and identity["run_id"] == reference["run_id"], "E2_reference_source_and_run") + ownership=record.get("reference_value_radius_ownership") + included=(True if ownership == "reported observation radii are included in E_R; coalesce them in E2" else + False if ownership == "reported observation radii are not included in E_R; add them in E2" else None) + a,b=quantity_values(strict,key),quantity_values(reference,key);rows=[] + for tag,x,y,source in zip(labels,a,b,record["per_record"],strict=True): + if x is None or y is None or included is None or source.get("computed_value") is None: + rows.append({"tag":tag,"status":"unknown_reference_error","conditional_estimate_value":None});continue + recorded=source["computed_value"] + value=enc(t.q(recorded["center"]),t.q(recorded["radius"])) + t._compatible_enclosures(value,y,"E2_recorded_BE_observation") + require(not included or t.q(source["computation"]["E_R"]) >= t.enclosure(value)[1], + "E2_E_R_does_not_cover_declared_radius") + result=e2_transfer(x,value,source["computation"]["E_R"],includes_reference_radius=included,map_error=0) + rows.append({"tag":tag,**result,"strict_value":x,"reference_value":value, + "U_map_reason":"identical physical nodes/ports and exact event-side tags; no interpolation in E2"}) + complete=all(r["status"] == "computed_pending_review" for r in rows) + value=max(t.q(r["conditional_estimate_value"]) for r in rows) if complete else None + output[key]={**base,"status":"computed_pending_review" if complete else "unknown_reference_error", + "conditional_estimate_value":None if value is None else t.pair(value),"per_record":rows, + "estimated_or_enclosed_value":{"value_field":"conditional_estimate_value","value":None if value is None else t.pair(value),"unit":quantity_unit(key)}, + "strict_source_and_run_identity":{k:strict[k] for k in ("source_id","request_sha256","run_id")}, + "independent_Strict_reference_review":"pending"} + required={"q","f","port/left","port/right"}|{f"state/{name}/{i}" for name in FIELDS for i in range(9)} + missing=sorted(required-set(output)) + return {"schema":"solarlab.g2-E2-transfer.v1",**(context or {}), + "status":"computed_pending_review" if not missing and all(v["status"]=="computed_pending_review" for v in output.values()) else "unknown_reference_error", + "target_problem_identity":strict["problem_identity"], + "BE_error_problem_identity":reference["reference_error_problem_identity"], + "strict_source_and_run_identity":{"case_id":strict["case_id"],**{k:strict[k] for k in ("source_id","request_sha256","run_id")}}, + "labels":labels,"strict_responses":[{"tag":r["tag"],"q_C":r.get("q"),"f_C":r.get("f")} for r in strict["samples"]], + "quantities":output,"missing_quantities":missing,"scientific_pass":False,"E_R_accepted_does_not_accept_E_S":True} + + +def normalize_be_readback(request, receipt, identity, labels): + """Decode the BE reader's actual physical words and observed enclosures.""" + require(receipt["structural_pass"] is True and receipt["numerical_complete"] is True + and receipt["scientific_status"] != "failed" + and t.digest([r["tag"] for r in receipt["observations"]]) == t.digest(labels), "BE_complete_reference_coverage") + metadata=case_metadata(request,identity.case_id) + require(metadata["source_id"] == identity.source_identity + and metadata["initial_point_identity"] == identity.initial_point_identity, "BE_actual_source_and_initial_point") + metadata.update(source_id=identity.source_identity,run_id=t.digest(identity.payload()),readback=receipt) + require(metadata["request_sha256"] == identity.input_sha256, "BE_request_identity") + rows=receipt["observations"] + def observed(value): + return enc(t.q(value["center"]),t.q(value["radius"])) + first=observed(rows[0]["charges"]["device"]) + for index,row in enumerate(rows): + states={} + for field,data in row["physical_state_words"].items(): + require(field in FIELDS and data["shape"] == [9], "BE_state_shape") + words=data["words_hex"] + require(words and all(len(word)==9 for word in words), "BE_physical_word_layers") + states[field]=[enc(sum((F(float.fromhex(word[i])) for word in words),F(0))) for i in range(9)] + require(set(states)==set(FIELDS), "BE_state_quantities") + charge=observed(row["charges"]["device"]) + metadata["samples"].append({"tag":row["tag"],"states":states, + "ports":{side:observed(row["ports"][side]) for side in ("left","right")}, + "q":enc(0) if index==0 else enclose(span(charge)-span(first)), + "f":observed(row["cumulative_physical_flux"][0]), + "source_record_sha256":row["record_sha256"],"point_identity":row["point_identity"], + "state_radius_scope":"zero for exact complete-word decoding only; forward error is external E_R"}) + return metadata + + +def read_be_case(descriptor, labels, limits, checkpoint, layout=None): + from scripts.benchmarks import g2_reference_be as be + identity=be.RunIdentity(**descriptor["identity"]);identity.payload() + require(identity.case_id == "BE_N8_L2_Full", "fixed_finest_BE_reference") + request=t._pin(descriptor["request"]["path"],descriptor["request"]) + require(t.digest(request)==identity.input_sha256, "BE_input_identity_before_layout") + if layout is None: + layout=be.reference_layout(request) + require(request["numeric_packet"]["layout_identity"]==layout.identity, "BE_layout_and_input") + receipt=be.read_reference_history(Path(descriptor["directory"]),layout,identity, + max_record_bytes=min(limits["max_record_bytes"],1048576),max_logical_bytes=limits["max_logical_bytes"],checkpoint=checkpoint) + result=normalize_be_readback(request,receipt,identity,labels) + result["sealed_history_binding"]=dict(receipt["observed_history"], + path=str((Path(descriptor["directory"])/receipt["observed_history"]["path"]).resolve())) + return result + + +def comparison_reference_errors(reference, *, spec, method_pin, labels, strict): + """Return explicit acceptance status/reasons and only the qualified keys.""" + result={"status":"unknown_reference_error","reason":"Strict_reference_acceptance_missing", + "quantities":{},"quantity_failures":{}} + if reference is None: + return result + try: + acceptance = t.accepted_strict_E2(reference,spec=spec,labels=labels,problem_identity=strict["problem_identity"]) + if acceptance["status"] != "accepted": + result["reason"] = acceptance["reason"] + return result + e2, accepted = acceptance["e2"], acceptance["accepted_quantities"] + require(t.digest(e2["method_contract"]) == t.digest(method_pin), "Strict_frozen_method") + identity=e2["strict_source_and_run_identity"] + declared=e2["inputs"]["IDA_Strict_sealed_history"] + actual=strict["sealed_history_binding"] + require(all(identity[k] == strict[k] for k in ("case_id","source_id","request_sha256","run_id")) + and all(declared[k] == actual[k] for k in ("logical_sha256","logical_bytes","encoded_bytes","records")), + "Strict_actual_source_and_history") + actual_readback = strict.get("independent_readback_pin", actual.get("independent_readback")) + require(actual_readback is not None and t.digest(declared["independent_readback"]) == t.digest(actual_readback), + "Strict_actual_independent_readback") + except (KeyError,TypeError,ValueError,OSError,AttributeError,OverflowError) as error: + result["reason"]=str(error) + return result + qualified=result["quantities"] + for key in accepted: + try: + values=t.strict_E2_values(e2,key,quantity=quantity_name(key),unit=quantity_unit(key)) + current=quantity_values(strict,key) + record=e2["quantities"][key] + require(all(value is not None and t.digest(value) == t.digest(row["strict_value"]) + for value,row in zip(current,record["per_record"],strict=True)), "Strict_exact_saved_operands") + if key in {"q","f"}: + require(t.digest([r[key+"_C"] for r in e2["strict_responses"]]) == t.digest(current), + "Strict_charge_response_binding") + qualified[key]={"status":"accepted","source_status":record["status"], + "claim_kind":"conditional_uncertainty_estimate","values":list(map(t.pair,values)), + "qualification_source":reference["independent_review"],"e2_file":reference["e2_file"], + "target_problem_identity":strict["problem_identity"],"quantity_and_unit":record["quantity_and_unit"], + "norm_and_coverage":record["norm_and_coverage"],"strict_source_and_run_identity":identity} + except (KeyError,TypeError,ValueError,AttributeError,OverflowError) as error: + result["quantity_failures"][key]=str(error) + result.update(status="accepted_reference_error" if qualified else "unknown_reference_error", + reason=None if qualified else "no_qualified_Strict_reference_quantity") + return result + +def evaluate_T1(data, reference=None, known_failure=None): + manifest=data["manifest"] + return t.evaluate(data["intervals"],data["pieces"],labels=data["labels"],spec=data["spec"], + case_id=manifest["case_id"],run_id=manifest["run_id"],problem_identity=manifest["problem_identity"], + reference=reference,source_id=manifest["source_id"],request_sha256=t.digest(data["request"]), + refresh_times=manifest.get("actual_refresh_times_hex",()),checkpoint=data["checkpoint"],known_device_failure=known_failure) + + +def decision_payload(cases, results, comparisons, spatial, transfers, growth, *, bindings, failures, errors): + """Direct payload for G2RDecisionDraftV1 comparison_ingest.normalized_evidence.""" + reference_groups={"q":"device_q","port/left":"left_current","port/right":"right_current", + "phi_V":"phi","n_m3":"n","p_m3":"p","c_m3":"c","f":"f_occupancy"} + reference={name:{"status":"unknown_reference_error","claim_kind":None,"quantities":{}, + **{field:None for field in ("evidence_class","target_problem_identity","units_and_norm", + "sample_or_interval_coverage","reference_source_and_run","error_components","input_contribution", + "reference_contribution","allowance","one_third_check","applicable_one_twelfth_axes", + "assumptions_and_common_bias","review")}} for name in + ("device_q","device_integrated_f","left_current","right_current","phi","n","p","c","f_occupancy")} + for key,row in transfers.get("quantities",{}).items(): + group=("device_integrated_f" if key=="f" else reference_groups[key] if key in {"q","port/left","port/right"} + else reference_groups[key.split("/")[1]]) + reference[group]["quantities"][key]=row + reference[group].update(evidence_class="G2-R_BE_to_Strict_E2",target_problem_identity=row["target_problem_identity"], + reference_source_and_run=row.get("strict_source_and_run_identity"), + assumptions_and_common_bias="Conditional on accepted E_R and E2 transfer; common model bias is not excluded.") + reference[group]["units_and_norm"]=dict(reference[group]["units_and_norm"] or {}, + **{key:{"quantity_and_unit":row["quantity_and_unit"],"norm_and_coverage":row["norm_and_coverage"]}}) + reference[group]["sample_or_interval_coverage"]=row["norm_and_coverage"] + reference[group]["error_components"]={"location":"quantities//per_record/ownership", + "formula":"abs(c_S-c_R)+r_S+E_R+U_map; r_R only when not already in E_R"} + reference[group]["reference_contribution"]={"location":"quantities//source_BE_error"} + reference[group]["claim_kind"]=row["claim_kind"] + reference[group]["status"]="computed_pending_review" if all(v["status"]=="computed_pending_review" for v in reference[group]["quantities"].values()) else "unknown_reference_error" + for name,entry in reference.items(): + required=9 if name in {"phi","n","p","c","f_occupancy"} else 1 + entry["missing_quantity_count"]=required-len(entry["quantities"]) + if entry["missing_quantity_count"]: + entry["status"]="unknown_reference_error" + for key,row in errors.items(): + group=("device_integrated_f" if key=="f" else reference_groups[key] if key in {"q","port/left","port/right"} + else reference_groups[key.split("/")[1]]) + reference[group].setdefault("accepted_Strict_quantities",{})[key]=row + reference[group]["review"]=row["qualification_source"] + reference[group].update(evidence_class="G2-R_BE_to_Strict_E2",target_problem_identity=row["target_problem_identity"], + reference_source_and_run=row["strict_source_and_run_identity"],sample_or_interval_coverage=row["norm_and_coverage"]) + reference[group]["units_and_norm"]=dict(reference[group]["units_and_norm"] or {}, + **{key:{"quantity_and_unit":row["quantity_and_unit"],"norm_and_coverage":row["norm_and_coverage"]}}) + reference[group]["error_components"]={"e2_file":row["e2_file"],"location":"quantities//per_record/ownership"} + for name,entry in reference.items(): + required=9 if name in {"phi","n","p","c","f_occupancy"} else 1 + if len(entry.get("accepted_Strict_quantities",{}))==required: + entry.update(status="accepted_reference_error",claim_kind="conditional_uncertainty_estimate") + entry["allowance"]={"source":"frozen RunPlanV3 and T1GateSpecV3; exact operands are in the gate tables"} + entry["one_third_check"]={"required_fraction":[1,3], + "source":"point_comparisons tables and matched_window_T1.device reference_share disposition"} + entry["applicable_one_twelfth_axes"]={"status":"not_inferred","reason":"E_R/E2 joint ownership does not create independent 1/12 credits"} + safety={} + for key,case in cases.items(): + receipt=case["readback"] + progress=receipt.get("scientific_progress",{}) + safety[key]={"complete_protocol":receipt["complete_protocol"],"complete_readback":receipt["complete_readback"], + "reader_verified":receipt["verified"],"failed_gates":progress.get("failed_gates",[]), + "first_failure":progress.get("first_failure"),"scientific_pass_awarded":False} + unknown={"status":"unknown","reason":"missing_required_case_data","port_tables":[],"state_tables":[], + "initial_bias_checks":[],"projection_record":None,"summary":None} + normalized={"status":"computed_pending_review" if not failures else "unknown", + "binding_check":bindings,"record_keys_source":"RunPlanV3#/protocol/requested_sample_records", + "required_counts":{"full_case_tags":131,"unique_times":129,"positive_matched_windows":128,"probe_tags":66}, + "missing_records":failures,"extra_records":[],"duplicate_or_mismatched_sides":[], + "point_comparisons":{"N8_Main_vs_Strict":comparisons.get(FULL_CASES[1],deepcopy(unknown)), + "N8_Coarse_vs_Strict":comparisons.get(FULL_CASES[0],deepcopy(unknown)), + "N8_Strict_vs_N16_Strict":spatial or deepcopy(unknown)}, + "reference_evidence":reference, + "matched_window_T1":{"status":growth["status"], + "device":{key:results[key]["channels"]["device"] if key in results else + {"status":"not_evaluated","reason":"missing_or_invalid_required_case_data"} for key in FULL_CASES}, + "metal_left":{key:results[key]["channels"]["left_metal"] if key in results else + {"status":"unknown","reason":"missing_or_invalid_required_case_data"} for key in FULL_CASES}, + "metal_right":{key:results[key]["channels"]["right_metal"] if key in results else + {"status":"unknown","reason":"missing_or_invalid_required_case_data"} for key in FULL_CASES}, + "all_non_cancelling_prefixes":{key:value["native"] for key,value in results.items()}, + "fixed_window_certificates":{key:value["fixed_windows"] for key,value in results.items()}, + "device_growth":growth["device_growth"],"metal_ratio_hypothesis":growth["metal_ratio_hypothesis"], + "legacy_absolute_diagnostic":"retained in each native channel record", + "three_ledger_diagnostic":{"status":"not_evaluated_here","source":"original sealed observation records; not a hard comparison gate"}}, + "full_path_safety_T2_T3":safety,"frozen_gate_and_policy_match":bindings, + "independent_comparison_review":None} + main=results.get(FULL_CASES[1]) + known_failure=(any(v["status"]=="failed" for v in comparisons.values()) + or growth["status"]=="failed" or any(c["status"]=="failed" for r in results.values() for c in r["channels"].values()) + or any(v["failed_gates"] for v in safety.values())) + return {"schema":SCHEMA,"scientific_status":"failed" if known_failure else "unknown", + "scientific_status_scope":"retained observed failures; hard-gate applicability and route acceptance remain external", + "scientific_pass":False,"route_decision":"pending_independent_review", + "normalized_evidence":normalized,"E2_transfer":transfers,"L_U2":{ + "eligible":False,"reason":"Main_T1_not_evaluated","scientific_pass":False} if main is None else main.get("L_U2"), + "scope":"finite 131-tag time comparison and diagnostic two-mesh differences; no continuous-time or G2-Q qualification"} + + +def compare_loaded(cases, data, *, spec, method_pin, labels, reference=None, BE=None, BE_errors=None, + route_evidence=None, bindings=None, failures=None, checkpoint=lambda:None): + """Shared pure reduction after the caller has admitted and checked files.""" + failures=[] if failures is None else list(failures) + results={};comparisons={};spatial=None + for key,value in data.items(): + checkpoint() + try: + results[key]=evaluate_T1(value) + if key in cases:attach_charge_series(cases[key],value,results[key]) + except (ValueError,KeyError,TypeError) as error: + failures.append({"case":key,"reason":"invalid_T1_evidence: "+str(error)[:400]}) + strict=cases.get(FULL_CASES[2]) + transfers={"status":"unknown_reference_error","quantities":{}} + if strict is not None and BE is not None and BE_errors is not None: + e2_context={"gate_spec":bindings["gate_spec"],"method_contract":method_pin, + "evidence_author":"WS1 Main g2_compare", "inputs":{ + "E_R_acceptance":BE_errors["acceptance"],"IDA_Strict_sealed_history":strict["sealed_history_binding"], + "BE_reference_history":BE["sealed_history_binding"]}, + "computation_provenance":{k:bindings[k] for k in ("plan_sha256","manifest","evaluation_source_review")}} + transfers=transfer_E2(strict,BE,BE_errors,labels=labels,checkpoint=checkpoint,context=e2_context) + reference_acceptance=({"status":"unknown_reference_error","reason":"Strict_case_missing","quantities":{}} + if strict is None else comparison_reference_errors(reference,spec=spec,method_pin=method_pin,labels=labels,strict=strict)) + errors=reference_acceptance["quantities"] + t1_reference=reference if {"q","f"} <= set(errors) else None + scales={field:number(spec_context) for field,spec_context in + (("n_m3",bindings["physical_context"]["n_ref_m3"]),("p_m3",bindings["physical_context"]["p_ref_m3"]), + ("c_m3",bindings["physical_context"]["c_ref_m3"]))} + if strict is not None: + for key in FULL_CASES[:2]: + if key in cases:comparisons[key]=compare_time(cases[key],strict,errors,labels=labels,scales=scales,checkpoint=checkpoint) + if FULL_CASES[3] in cases: + try:spatial=compare_space(strict,cases[FULL_CASES[3]],labels=labels,checkpoint=checkpoint) + except (ValueError,KeyError,TypeError) as error:failures.append({"case":FULL_CASES[3],"reason":str(error)}) + if t1_reference is not None: + for key in list(results):results[key]=evaluate_T1(data[key],t1_reference) + growth=matched_windows(results,checkpoint=checkpoint) + failed_growth=next((r for r in growth["device_growth"] if r["status"]=="failed"),None) + if failed_growth is not None and FULL_CASES[1] in results: + results[FULL_CASES[1]]=evaluate_T1(data[FULL_CASES[1]],t1_reference,{"kind":"matched_growth",**failed_growth}) + elif growth["status"] != "passed" and FULL_CASES[1] in results: + main_result=results[FULL_CASES[1]] + device=main_result["channels"]["device"] + if device["status"] in {"passed","unresolved_signal"}: + device.update(local_certificate_status=device["status"],status="unknown",reason="unknown_matched_window_growth") + main_result["L_U2"]=t.lu2_eligibility(main_result) + if FULL_CASES[1] in results and route_evidence is not None: + main=cases.get(FULL_CASES[1]);readback={} if main is None else main["readback"] + recorded=readback.get("scientific_progress",{}).get("failed_gates") + checked=(readback.get("verified") is True and readback.get("complete_protocol") is True and recorded is not None) + expected={"history_identity":"passed" if checked else "unknown", + "safety":"passed" if checked and not recorded else "failed" if recorded else "unknown", + "T2":"failed" if recorded and "state_accuracy" in recorded else "passed" if checked else "unknown", + "T3":"passed" if checked else "unknown","matched_growth":growth["status"], + "port_reference_comparisons":summary(comparisons.get(FULL_CASES[1],{}).get("port_tables",[]) + +comparisons.get(FULL_CASES[1],{}).get("initial_bias_checks",[]))["status"], + "state_reference_comparisons":summary(comparisons.get(FULL_CASES[1],{}).get("state_tables",[]))["status"]} + if route_evidence.get("checks") == expected: + results[FULL_CASES[1]]["L_U2"]=t.lu2_eligibility(results[FULL_CASES[1]],route_evidence) + result=decision_payload(cases,results,comparisons,spatial,transfers,growth, + bindings=bindings,failures=failures,errors=errors) + result["Strict_reference_acceptance"]=reference_acceptance + return result + + +def compare_plan(context, *, be_layout=None): + """Admitted evaluation entry; reuse the existing channel/watchdog contract.""" + from scripts.benchmarks import g2_route as route + from scripts.benchmarks.native_history import integer_json_dumps + plan=context["plan"] + execution=plan.get("comparison_execution") + require(type(execution) is dict, "comparison_execution_not_bound") + route._validate_supervision(plan,execution) + resource_caps=plan["resources"] + names=("max_record_bytes","max_logical_bytes","max_records","max_retained_bytes","max_output_bytes","rss_bytes") + require(all(type(execution.get(k)) is int and execution[k]>0 for k in names), "comparison_resource_fields") + require(execution["max_logical_bytes"]<=resource_caps["reader_logical_byte_cap"] + and execution["max_output_bytes"]<=resource_caps["combined_persisted_case_bytes"] + and execution["max_retained_bytes"]<=execution["rss_bytes"]<=resource_caps["rss_bytes_per_case"] + and type(execution["wall_s"]) in (int,float) and math.isfinite(execution["wall_s"]) + and 0= work_end or time.process_time()-cpu_start >= 20: + raise helper.ObservationStopped("deadline", "profile_20s_window") + if rss > limits.rss_bytes: + raise helper.ObservationStopped("resource_limit", "profile_RSS") + + def sample(number, frame): + if number == signal.SIGXCPU: + raise helper.ObservationStopped("resource_limit", "profile_CPU_soft_limit") + if len(stacks) < 40: + names = [] + while frame is not None and len(names) < 12: + names.append({"file": Path(frame.f_code.co_filename).name[:120], + "function": frame.f_code.co_name[:100], "line": frame.f_lineno}) + frame = frame.f_back + stacks.append({"elapsed_s": time.monotonic()-wall_start, "frames": names}) + checkpoint() + + def emit(row): + counts["emitted_"+row["kind"]] += 1 + checkpoint() + + def sample_sink(*args): + counts["requested_samples"] += 1 + checkpoint() + + observer = SealedChargeObserver(mapping, request, emit, checkpoint, + t1_context={"spec": helper.pinned(gate), "spec_sha256": gate["sha256"], + "run_id": original["native_admission"]["operation_id"], "case_id": case["id"]}) + with launcher.inherited_channel(parent["artifacts"]["channel_directory"], execution["channel"]), helper.cancellation(): + root.mkdir(parents=True, exist_ok=False) + previous = {sig: signal.signal(sig, sample) for sig in (signal.SIGALRM, signal.SIGXCPU)} + signal.setitimer(signal.ITIMER_REAL, .5, .5) + try: + profiler.enable() + verify_history(Path(original["directory"]), max_record_bytes=original["max_record_bytes"], + max_records=original["max_records"], max_logical_bytes=parent["resources"]["reader_logical_byte_cap"], + deadline_monotonic=work_end+.25, integer_io_policy=original.get("integer_io_policy"), + execution_admission=original["native_admission"], execution_provenance=original.get("execution_provenance"), + charge_observer=observer, sample_sink=sample_sink) + except BaseException as error: + stop = helper.exception_evidence(error) + finally: + signal.setitimer(signal.ITIMER_REAL, 0) + profiler.disable() + for sig, handler in previous.items(): + signal.signal(sig, handler) + wall_elapsed, cpu_elapsed = time.monotonic()-wall_start, time.process_time()-cpu_start + profiler.dump_stats(root / "Calls.pstats") + entries = [] + for (filename, line, function), (primitive, total, own, cumulative, _) in pstats.Stats(profiler).stats.items(): + entries.append({"file": Path(filename).name, "line": line, "function": function[:160], + "primitive_calls": primitive, "calls": total, "self_s": own, "cumulative_s": cumulative}) + result = {"scope": "bounded performance sample only", "task_id": config["task_id"], + "operation_id": config["operation_id"], "configuration_sha256": hashlib.sha256(Path(config_path).read_bytes()).hexdigest(), + "source_commit": helper.LEGACY_COMMIT, "source_plan": config["producer_plan"], + "pid": os.getpid(), "observer_window_s": 20, "profile_wall_s": wall_elapsed, + "profile_CPU_s": cpu_elapsed, "whole_process_elapsed_s": time.monotonic()-started, + "stop": stop, "counts": dict(counts), "stack_samples": stacks, + "top_self": sorted(entries, key=lambda x:x["self_s"], reverse=True)[:40], + "top_cumulative": sorted(entries, key=lambda x:x["cumulative_s"], reverse=True)[:40], + "profiled_functions": len(entries), "sink": "counts only; output serialization/GZIP excluded", + "qualification_output": False, "EOF_CRC_coverage_or_T1_pass_asserted": False, + "producer_calls": 0, "retry_authorized": False} + raw = (json.dumps(result, indent=2, sort_keys=True)+"\n").encode() + if len(raw)+(root/"Calls.pstats").stat().st_size > 30*1024**2: + raise ValueError("profile output reserve exceeded") + with (root/"Profile.json").open("xb") as stream: + stream.write(raw) + return result + + +if __name__ == "__main__": + parser = argparse.ArgumentParser(description=__doc__) + parser.add_argument("--config", type=Path, required=True) + args = parser.parse_args() + result = run(args.config) + print(json.dumps({"profile_wall_s": result["profile_wall_s"], "profile_CPU_s": result["profile_CPU_s"], + "qualification_output": False, "stop": result["stop"]})) diff --git a/scripts/benchmarks/g2_observer_progress.py b/scripts/benchmarks/g2_observer_progress.py new file mode 100644 index 00000000..60736443 --- /dev/null +++ b/scripts/benchmarks/g2_observer_progress.py @@ -0,0 +1,405 @@ +"""One bounded saved G2 observation with durable, explicitly partial output. + +The existing reader, observer, integer codec and history writer are reused. +A healthy output writer may close a *prefix* after an operational stop; that +closure never grants input EOF/CRC, interval coverage, T1 or resume authority. +No producer is called, and the historical frozen execution tree is read-only. +""" +from __future__ import annotations + +import argparse +from collections import Counter +import cProfile +import hashlib +import importlib.util +import json +import os +from pathlib import Path +import pstats +import resource +import signal +import sys +import time + +from scripts.benchmarks import g2_route as route +from scripts.benchmarks import g2_route_launcher as launcher +from scripts.benchmarks import g2_saved_observe as saved +from scripts.benchmarks.native_history import HistoryLimitError, HistoryReader, HistoryWriter, _line + +SCHEMA = "solarlab.g2-observer-prefix-progress.v1" +MIB = 1024**2 +KINDS = frozenset({"sealed_g2_context", "sealed_g2_sample", "sealed_voltage_lift_charge", "t1_fixed_window_piece"}) + + +def _publish(path, value): + raw = (json.dumps(value, indent=2, sort_keys=True, allow_nan=False)+"\n").encode() + if len(raw) > 256*1024: + raise HistoryLimitError("bounded progress metadata exceeds reserve") + temporary = path.with_suffix(".tmp") + try: + with temporary.open("xb") as stream: + stream.write(raw) + stream.flush() + os.replace(temporary, path) + finally: + temporary.unlink(missing_ok=True) + + +def _stop(error): + result = saved.exception_evidence(error) + current, seen = error, set() + while current is not None and id(current) not in seen: + seen.add(id(current)) + if isinstance(current, HistoryLimitError): + result["classification"] = "resource_limit" + break + current = current.__cause__ if current.__cause__ is not None else ( + None if current.__suppress_context__ else current.__context__) + return result + + +class PrefixProgress: + """Keep exact completed callback bytes and an atomic descriptive pointer.""" + + def __init__(self, directory, *, binding, artifact_bytes, max_record_bytes, integer_io_policy=None): + self.directory = Path(directory) + self.directory.mkdir(parents=True, exist_ok=False) + self.binding = binding + self.counts = Counter() + self.last = None + self.saving = False + # Reserve space for old/new progress pointers, outcome and bounded profile. + if artifact_bytes <= 4*MIB: + raise HistoryLimitError("prefix output requires its metadata/profile reserve") + self.writer = HistoryWriter(self.directory/"ChargePrefix.jsonl.gz", encoding="gzip", + total_output_bytes=artifact_bytes-4*MIB, max_record_bytes=max_record_bytes, + integer_io_policy=integer_io_policy) + self.publish() + + def snapshot(self, *, stop=None, reader_returned=False): + writer = self.writer + return {"schema": SCHEMA, "binding": self.binding, + "status": "reader_returned" if reader_returned else "bounded_stop" if stop is not None else "running", + "stop": stop, "records": writer.records, "counts_by_kind": dict(self.counts), "last_record": self.last, + "output_prefix": {"path": writer.path.name, "logical_bytes": writer.logical_bytes, + "encoded_bytes": writer.encoded_bytes, "logical_sha256": writer.logical_sha256, + "writer_closed": writer.closed, "writer_container_complete": writer.container_complete, + "writer_error": writer.error}, + "input_verifier_returned": reader_returned, + "input_EOF_CRC_coverage_asserted": False, "T1_pass_asserted": False, + "resume_eligible": False, + "resume_blocker": "no serialized reader protocol, charge prefixes, active frame or partial T1 window state", + "scientific_qualification": False, "producer_calls": 0} + + def publish(self): + _publish(self.directory/"Progress.json", self.snapshot()) + + def append(self, row): + self.saving = True + try: + self._append(row) + finally: + self.saving = False + + def _append(self, row): + if row.get("kind") not in KINDS: + raise ValueError("unsupported observer callback kind") + # Identical logical record codec/order to HistoryWriter.append. Passing + # the line avoids a second encoding or mutation of exact numeric words. + line = _line(row, self.writer.integer_io_policy) + position = self.writer.append_line(line) + self.counts[row["kind"]] += 1 + interval = row.get("interval", {}) + evidence = row.get("evidence", {}) + self.last = {"index": self.writer.records-1, "kind": row["kind"], + "record_sha256": hashlib.sha256(line).hexdigest(), + "history_byte_offset_after_record": position.logical_bytes, + "source_interval_sha256": row.get("source_interval_sha256"), + "path_identity": evidence.get("path_identity"), "piece_id": evidence.get("piece_id"), + "window_index": evidence.get("window_index"), "tag": evidence.get("tag"), + "segment_id": evidence.get("segment_id", interval.get("segment_id")), + "t_left_hex": evidence.get("t_left_hex"), "t_right_hex": evidence.get("t_right_hex")} + self.publish() + + def finish_prefix(self, *, stop=None, reader_returned=False): + """Finalize only a healthy output stream; failed writes remain partial.""" + close_error = None + if self.writer.error is None: + try: + self.writer.finish() + except BaseException as error: + close_error = _stop(error) + if stop is None: + stop = close_error + outcome = self.snapshot(stop=stop, reader_returned=reader_returned) + outcome["prefix_close_error"] = close_error + if stop is not None: + self.writer.publish_first_failure(stop) + _publish(self.directory/"Progress.json", outcome) + _publish(self.directory/"PrefixOutcome.json", outcome) + return outcome + + +def read_progress(directory, *, max_logical_bytes=256*MIB, max_record_bytes=16*MIB): + """Read the new closed prefix only; never restore a numerical observer.""" + directory = Path(directory) + value = json.loads((directory/"PrefixOutcome.json").read_bytes()) + if (value.get("schema") != SCHEMA or value.get("resume_eligible") is not False + or value.get("input_EOF_CRC_coverage_asserted") is not False + or value.get("T1_pass_asserted") is not False or value.get("scientific_qualification") is not False): + raise ValueError("unsupported or overclaimed observation prefix") + history = value["output_prefix"] + if history["path"] != "ChargePrefix.jsonl.gz": + raise ValueError("unexpected prefix path") + if history["writer_container_complete"] and not history["writer_closed"]: + raise ValueError("prefix cannot be complete while its writer is open") + checked = {"output_prefix_EOF_CRC_verified": False, "input_EOF_CRC_coverage_asserted": False, + "resume_eligible": False, "scientific_qualification": False} + if history["writer_error"] is not None or not history["writer_container_complete"]: + return {"progress": value, "read_checks": checked} + if (directory/history["path"]).stat().st_size != history["encoded_bytes"]: + raise ValueError("prefix encoded byte count differs") + digest, counts, count, last_hash = hashlib.sha256(), Counter(), 0, None + policy = value["binding"].get("integer_io_policy") + with HistoryReader(directory/history["path"], encoding="gzip", max_record_bytes=max_record_bytes, + max_logical_bytes=max_logical_bytes, integer_io_policy=policy) as reader: + for line in reader: + if not line.endswith(b"\n") or count >= value["records"]: + raise ValueError("prefix record count or completeness differs") + row = json.loads(line) + if row.get("kind") not in KINDS: + raise ValueError("prefix callback kind differs") + digest.update(line) + last_hash = hashlib.sha256(line).hexdigest() + counts[row["kind"]] += 1 + count += 1 + if (not reader.eof_seen or not reader.container_complete or reader.partial_tail + or count != value["records"] or dict(counts) != value["counts_by_kind"] + or digest.hexdigest() != history["logical_sha256"] + or reader.logical_bytes != history["logical_bytes"] + or (count > 0 and last_hash != value["last_record"]["record_sha256"])): + raise ValueError("prefix digest/count/closure disagrees with progress") + checked["output_prefix_EOF_CRC_verified"] = True + return {"progress": value, "read_checks": checked} + + +def producer_metadata(reference, case_id): + """Validate historical producer authority with its exact pinned entry. + + The old RunPlan rightly refuses a relocated/current entry as a producer. + Load that unchanged metadata-only validator at its declared path instead; + numerical observation remains bound separately to this current snapshot. + """ + parent = saved.pinned(reference) + case = next(case for case in parent["cases"] if case["id"] == case_id) + entry = saved.absolute(case["execution"]["cwd"])/"scripts/benchmarks/g2_route.py" + pin = parent["source_freeze"]["source_sha256"].get(str(entry)) + saved.require(hashlib.sha256(entry.read_bytes()).hexdigest() == pin, "producer_metadata_entry_changed") + spec = importlib.util.spec_from_file_location("_g2_prefix_producer_metadata", entry) + module = importlib.util.module_from_spec(spec) + spec.loader.exec_module(module) + validated = module.validate(reference["path"], executable=True, case_id=case_id) + saved.require(validated["plan_sha256"] == reference["sha256"], "producer_plan_binding") + return parent, case + + +def backend_preflight(request, environment_reference): + """Require the already frozen Arb runtime before any history is consumed. + + Paths are supplied by the launch environment, never discovered/installed + or silently changed here. Constructing the existing adapter performs no + ball evaluation, integral, observer callback or native producer operation. + """ + from scripts.benchmarks.interval_observation import BallIntegrator + try: + lock = saved.pinned(environment_reference) + saved.require(lock["python_version"] == sys.version, "observer_python_version") + arithmetic = request["interval_observation"]["arithmetic"] + adapter = BallIntegrator(**{name: arithmetic[name] for name in ("bits", "evaluations", "depth")}) + saved.require(adapter.flint.__version__ == lock["flint_versions"]["__version__"] + and adapter.flint.__FLINT_VERSION__ == lock["flint_versions"]["__FLINT_VERSION__"], "observer_flint_version") + pins = {name: ref for name, ref in lock["module_files"].items() if name == "flint" or name.startswith("flint.")} + saved.require("flint" in pins, "observer_flint_source_pin") + for name, reference in pins.items(): + module = importlib.import_module(name) + saved.require(str(Path(module.__file__).resolve()) == reference["path"], "observer_flint_module_path") + saved.pinned(reference, decode=False) + return {"status": "bound_without_evaluation", "environment_lock": environment_reference, + "python_version": sys.version, "flint_versions": lock["flint_versions"], "module_files": pins, + "bits": adapter.bits, "evaluations": adapter.evaluations, "depth": adapter.depth, + "ball_evaluations": 0, "integrations": 0, "history_reads": 0, "producer_calls": 0} + except Exception as error: + raise saved.ObservationStopped("runtime_binding_failure", "required_arb_preflight") from error + + +def validate(config_path): + config = json.loads(Path(config_path).read_bytes()) + execution = config["execution"] + limits = launcher.Limits.from_execution(execution) + saved.require(0 < limits.wall_s <= 60 and limits.rss_bytes <= 1024**3 + and limits.artifact_bytes <= 32*MIB and config["observer_window_s"] == 20, "prefix_caps") + saved.require(config["task_id"] == "task_53aa88c9ed09" and config["quiet_window_message"].startswith("msg_"), + "prefix_current_task_and_quiet_window") + root = saved.absolute(execution["directory"]) + saved.require(not root.exists() and not root.is_relative_to(launcher.REPOSITORY), "fresh_prefix_directory") + parent, case = producer_metadata(config["producer_plan"], config["case_id"]) + old = case["execution"] + saved.require(not Path(old["directory"]).is_relative_to(root) + and not root.is_relative_to(Path(old["directory"])), "prefix_source_overlap") + review = saved.pinned(config["flux_reuse_review"]) + saved.require(review["verdict"] == "accepted" and not review["blocking_findings"], "flux_reuse_review") + sources = config["source_sha256"] + check = saved.pinned(config["progress_source_check"]) + saved.require(check.get("accepted") is True and check.get("source_sha256") == sources, "prefix_source_review") + for name, pin in sources.items(): + path = (launcher.REPOSITORY/name).resolve() + saved.require(path.is_relative_to(launcher.REPOSITORY) and hashlib.sha256(path.read_bytes()).hexdigest() == pin, + "prefix_source_changed") + saved.require(str(Path(__file__).resolve().relative_to(launcher.REPOSITORY)) in sources, "prefix_helper_pin") + for path, pin in parent["source_freeze"]["source_sha256"].items(): + name = str(Path(path).relative_to(old["cwd"])) + expected = review["source_sha256"][name] if name == "scripts/benchmarks/interval_observation.py" else pin + saved.require(sources.get(name) == expected, "unreviewed_observer_source_delta") + for name in ("producer_closure", "failed_observe_closure", "saved_observe_closure"): + saved.require(saved.processes_absent(saved.pinned(config[name])), "old_process_still_present") + result = saved.pinned(config["producer_result"]) + saved.require(Path(config["producer_result"]["path"]) == Path(old["directory"])/"NativeResult.json" + and result["complete_run_window"] is True and result["history"]["closed"] is True + and result["history"]["container_complete"] is True, "sealed_producer_metadata") + request = saved.pinned(old["request"]) + saved.require((Path(old["directory"])/"NativeRequest.json").read_bytes() == saved.pinned(old["request"], decode=False), + "saved_request_changed") + return config, limits, parent, case, request + + +def run(config_path): + started = time.monotonic() + config, limits, parent, case, request = validate(config_path) + resource.setrlimit(resource.RLIMIT_CPU, (25, 28)) + backend = backend_preflight(request, parent["source_freeze"]["environment_lock"]) + execution, original = config["execution"], case["execution"] + saved.require(all(os.environ.get(key) == "1" for key in launcher.THREAD_VARIABLES), "prefix_BLAS1") + from scripts.benchmarks.coupled_device_prototype import SlabDefinition, AffineCoupledSlab, AffineVoltageMap + from scripts.benchmarks.g2_compare import case_metadata, normalize_ida_sample + from scripts.benchmarks.native_observation import SealedChargeObserver + from scripts.benchmarks.native_readback import verify_history + + saved._blas_one() + clock = launcher._pipeline_deadline(execution["supervision"], started, limits) + model = AffineCoupledSlab(SlabDefinition(**request["numeric_packet"]["definition"]), case["mesh_intervals"]) + mapping = AffineVoltageMap(model, mapped_input_profile=request["voltage_lift_map"]["mapped_input_profile"]) + run_id = original["native_admission"]["operation_id"] + binding = {"operation_id": config["operation_id"], "producer_operation_id": run_id, + "producer_plan": config["producer_plan"], "producer_result": config["producer_result"], + "request_sha256": route._digest(request), "source_sha256": config["source_sha256"], + "source_snapshot_sha256": config["source_snapshot_sha256"], + "integer_io_policy": original.get("integer_io_policy"), "progress_source_check": config["progress_source_check"], + "arithmetic_backend_preflight": backend, + "producer_metadata_validator": {"path": str(Path(original["cwd"])/"scripts/benchmarks/g2_route.py"), + "sha256": parent["source_freeze"]["source_sha256"][str(Path(original["cwd"])/"scripts/benchmarks/g2_route.py")]}} + cpu_start, wall_start = time.process_time(), time.monotonic() + end = min(wall_start+20, launcher._refresh_pipeline_deadline(clock)-limits.cleanup_s) + counts, stacks = Counter(), [] + pending_stop = None + def checkpoint(): + nonlocal end + counts["checkpoints"] += 1 + if pending_stop is not None: + raise pending_stop + end = min(end, launcher._refresh_pipeline_deadline(clock)-limits.cleanup_s) + if Path(execution["supervision"]["cancel_path"]).exists(): + raise saved.ObservationStopped("cancelled", "prefix_cancel") + if time.monotonic() >= end or time.process_time()-cpu_start >= 20: + raise saved.ObservationStopped("deadline", "prefix_20s_window") + rss = resource.getrusage(resource.RUSAGE_SELF).ru_maxrss * (1 if sys.platform == "darwin" else 1024) + if rss > limits.rss_bytes: + raise saved.ObservationStopped("resource_limit", "prefix_RSS") + def sample(number, frame): + nonlocal pending_stop + # Finish the existing bounded record transaction before raising our + # cooperative stop. The outer watchdog and 28 s kernel CPU cap remain + # in force; every callback checks the deadline again after publication. + if progress.saving: + if number == signal.SIGXCPU: + pending_stop = saved.ObservationStopped("resource_limit", "prefix_CPU_soft_limit") + elif time.monotonic() >= end or time.process_time()-cpu_start >= 20: + pending_stop = saved.ObservationStopped("deadline", "prefix_20s_window") + return + if number == signal.SIGXCPU: + raise saved.ObservationStopped("resource_limit", "prefix_CPU_soft_limit") + if len(stacks) < 40: + names = [] + while frame is not None and len(names) < 12: + names.append({"file": Path(frame.f_code.co_filename).name[:120], + "function": frame.f_code.co_name[:100], "line": frame.f_lineno}) + frame = frame.f_back + stacks.append({"elapsed_s": time.monotonic()-wall_start, "frames": names}) + checkpoint() + profiler, stop, result = cProfile.Profile(), None, None + with launcher.inherited_channel(parent["artifacts"]["channel_directory"], execution["channel"]), saved.cancellation(): + progress = PrefixProgress(execution["directory"], binding=binding, artifact_bytes=limits.artifact_bytes, + max_record_bytes=original["max_record_bytes"], integer_io_policy=original.get("integer_io_policy")) + def emit(row): + checkpoint() + progress.append(row) + checkpoint() + def retain(tag, sample, certificate): + emit({"kind": "sealed_g2_sample", "request_sha256": binding["request_sha256"], + "evidence": normalize_ida_sample(request, tag, sample, certificate)}) + gate = parent["source_freeze"]["frozen_gate_spec"] + observer = SealedChargeObserver(mapping, request, emit, checkpoint, + t1_context={"spec": saved.pinned(gate), "spec_sha256": gate["sha256"], "run_id": run_id, "case_id": case["id"]}) + metadata = case_metadata(request, case["id"]) + metadata["run_id"] = run_id + emit({"kind": "sealed_g2_context", "request_sha256": binding["request_sha256"], "evidence": metadata}) + previous = {sig: signal.signal(sig, sample) for sig in (signal.SIGALRM, signal.SIGXCPU)} + signal.setitimer(signal.ITIMER_REAL, .5, .5) + try: + profiler.enable() + result = verify_history(Path(original["directory"]), max_record_bytes=original["max_record_bytes"], + max_records=original["max_records"], max_logical_bytes=parent["resources"]["reader_logical_byte_cap"], + deadline_monotonic=end+.25, integer_io_policy=original.get("integer_io_policy"), + execution_admission=original["native_admission"], execution_provenance=original.get("execution_provenance"), + charge_observer=observer, sample_sink=retain) + except BaseException as error: + stop = _stop(error) + finally: + signal.setitimer(signal.ITIMER_REAL, 0) + profiler.disable() + for sig, handler in previous.items(): + signal.signal(sig, handler) + outcome = progress.finish_prefix(stop=stop, reader_returned=result is not None) + profiler.dump_stats(progress.directory/"Calls.pstats") + entries = [{"file": Path(filename).name, "line": line, "function": function[:160], + "calls": total, "self_s": own, "cumulative_s": cumulative} + for (filename, line, function), (_, total, own, cumulative, _) in pstats.Stats(profiler).stats.items()] + profile = {"observer_wall_s": time.monotonic()-wall_start, "observer_CPU_s": time.process_time()-cpu_start, + "whole_process_s": time.monotonic()-started, "counts": dict(counts), "stack_samples": stacks, + "observer_completed_intervals": observer.intervals, "observer_completed_t1_pieces": observer.t1_pieces, + "top_self": sorted(entries, key=lambda row: row["self_s"], reverse=True)[:30], + "top_cumulative": sorted(entries, key=lambda row: row["cumulative_s"], reverse=True)[:30], + "scope": "real saved prefix including exact output serialization; no baseline speedup inference", + "scientific_qualification": False, "producer_calls": 0} + _publish(progress.directory/"Profile.json", profile) + return {"status": outcome["status"], "stop": stop, "records": outcome["records"], + "writer_container_complete": outcome["output_prefix"]["writer_container_complete"], + "observer_wall_s": profile["observer_wall_s"], "producer_calls": 0, "scientific_qualification": False} + + +def main(argv=None): + parser = argparse.ArgumentParser(description=__doc__) + mode = parser.add_mutually_exclusive_group(required=True) + mode.add_argument("--config", type=Path) + mode.add_argument("--read", type=Path) + args = parser.parse_args(argv) + try: + result = read_progress(args.read) if args.read is not None else run(args.config) + except BaseException as error: + print(json.dumps({"status": "refused_or_failed", **_stop(error)})) + return 2 + print(json.dumps(result, sort_keys=True)) + return 0 + + +if __name__ == "__main__": + raise SystemExit(main()) diff --git a/scripts/benchmarks/g2_reference_be.py b/scripts/benchmarks/g2_reference_be.py new file mode 100644 index 00000000..4959e8c2 --- /dev/null +++ b/scripts/benchmarks/g2_reference_be.py @@ -0,0 +1,3662 @@ +"""Bounded G2-R reference BE driver and its separately identified history. + +The public single-step solver is reused without mutation. Only the explicitly +admitted B entry point constructs a real device. Manufactured consumers can +exercise scheduling, physical words, failure handling and readback independently. +A complete trajectory never awards its own reference-error qualification. +""" + +from __future__ import annotations + +import argparse +from contextlib import contextmanager, nullcontext +import ctypes +from dataclasses import asdict, dataclass, fields, is_dataclass +from datetime import datetime, timezone +from fractions import Fraction +from hashlib import sha256 +import json +import math +import os +from pathlib import Path +import resource +import subprocess +import sys +import time +from types import SimpleNamespace +from typing import Any, Callable, Mapping + +import numpy as np + +from scripts.benchmarks.conservative_device import EquationBudget, conservative_be_step +from scripts.benchmarks.contract_prototype import ( + ContractError, + FloatArithmetic, + Layout, + PhysicalScaling, + Point, + SECOND, +) +from scripts.benchmarks.native_history import HistoryReader, HistoryWriter +from scripts.benchmarks.g2_route import ( + _channel as route_channel, + _validate_supervision as validate_route_supervision, +) +from scripts.benchmarks.precision_prototype import ( + DoubleArithmetic, + DoubleArray, + FrameInputExpansion, + MappedAuthority, + PrimitiveExpansion, + RelativeCoordinates, + decode_point, + encode_point, + physical_state_words, +) + +SCHEMA = "solarlab.g2-reference-be-history.v1" +METHOD = "conservative-backward-euler" +POINT_SCHEMA = "solarlab.g2-reference-point.v1" +METHOD_SCHEMA = "solarlab.g2-reference-method.v1" +RUNTIME_SCHEMA = "solarlab.g2-reference-runtime.v2" +STEP_OPTIONS = {"max_iterations": 12, "max_line_search": 8, "globalization": "residual"} +SECANT_ARITHMETICS = { + "public-double-arithmetic-divide-v1": DoubleArithmetic, + "public-float-arithmetic-divide-v1": FloatArithmetic, +} +GIB = 1024**3 +TAG_FIELDS = ( + "segment", + "index", + "time_hex", + "event_side", + "protocol_initial", + "protocol_terminal", +) +THREAD_ENVIRONMENT = ( + "OMP_NUM_THREADS", + "OPENBLAS_NUM_THREADS", + "MKL_NUM_THREADS", + "VECLIB_MAXIMUM_THREADS", + "NUMEXPR_NUM_THREADS", + "BLIS_NUM_THREADS", +) +RUNTIME_PHASES = ( + "setup", + "be_step", + "state_check", + "step_validation", + "point_observation", + "interval_observation", + "history_io", + "artifact_io", + "reader", + "reference_error", +) + + +def _require(condition: bool, reason: str) -> None: + if not condition: + raise ContractError("reference_be_" + reason) + + +def canonical(value: Any) -> bytes: + return json.dumps( + value, sort_keys=True, separators=(",", ":"), allow_nan=False + ).encode() + + +def digest(value: Any) -> str: + return sha256(canonical(value)).hexdigest() + + +def _fraction(value: Any) -> Fraction: + _require(type(value) in (int, float, Fraction), "number_type") + if type(value) is float: + _require(math.isfinite(value), "nonfinite_number") + return Fraction(value) + + +def _pair(value: Any) -> list[int]: + x = _fraction(value) + return [x.numerator, x.denominator] + + +def _unpair(value: Any) -> Fraction: + _require( + isinstance(value, list) + and len(value) == 2 + and all(type(v) is int for v in value) + and value[1] > 0, + "rational_encoding", + ) + return Fraction(*value) + + +def _words(value: Any) -> dict: + arrays = (value,) if isinstance(value, np.ndarray) else value.words + _require(bool(arrays), "missing_words") + shape = arrays[0].shape + _require( + all(a.shape == shape and np.isfinite(a).all() for a in arrays), + "word_shape_or_finiteness", + ) + return { + "shape": list(shape), + "words_hex": [[float(v).hex() for v in a.ravel()] for a in arrays], + } + + +def _validate_words(value: Mapping, size: int | None = None) -> None: + shape = value["shape"] + _require( + isinstance(shape, list) and all(type(x) is int and x >= 0 for x in shape), + "word_shape", + ) + count = math.prod(shape) + _require(size is None or shape == [size], "word_size") + rows = value["words_hex"] + _require(isinstance(rows, list) and 1 <= len(rows) <= 32, "word_count") + for row in rows: + _require(len(row) == count, "word_row") + for s in row: + _hex_time(s, nonnegative=False) + + +def _hex_time(value: Any, *, nonnegative: bool = True) -> float: + _require(type(value) is str, "hex_type") + try: + x = float.fromhex(value) + except ValueError as exc: + raise ContractError("reference_be_hex_number") from exc + _require( + math.isfinite(x) and (not nonnegative or x >= 0) and x.hex() == value, + "hex_noncanonical_or_nonfinite", + ) + return x + + +def _physical(point: Point) -> dict: + return { + key: { + "shape": list(arrays[0].shape), + "words_hex": [[float(v).hex() for v in a.ravel()] for a in arrays], + } + for key, arrays in physical_state_words(point.state).items() + } + + +def _physical_exact(point: Point) -> dict[str, tuple[Fraction, ...]]: + return { + key: tuple( + sum((Fraction(float(a.ravel()[i])) for a in arrays), Fraction()) + for i in range(arrays[0].size) + ) + for key, arrays in physical_state_words(point.state).items() + } + + +def _point_root(point: Point) -> Point: + authority = point.state.authority + root = getattr(authority, "fixed_reference", None) + return root if isinstance(root, Point) else point + + +def pack_point(point: Point, reference: dict) -> dict: + """Deduplicate only equal immutable source data; the public digest is kept.""" + record = encode_point(point) + authority = record["payload"].get("authority") + ref_authority = reference["payload"].get("authority") + key = reference["sha256"] + if authority is not None and ref_authority is not None: + if authority.get("anchor") == ref_authority.get("anchor"): + authority["anchor"] = {"be_anchor_reference": key} + contract = authority.get("coordinate_contract") + if contract is not None and contract.get("reference") == reference: + contract["reference"] = {"be_point_reference": key} + return {"schema": POINT_SCHEMA, "reference_sha256": key, "public_point": record} + + +def unpack_point(value: Mapping, reference: dict, layout: Layout) -> Point: + _require( + value.get("schema") == POINT_SCHEMA + and value.get("reference_sha256") == reference["sha256"], + "point_reference", + ) + record = json.loads(json.dumps(value["public_point"], allow_nan=False)) + authority = record["payload"].get("authority") + if authority is not None: + if authority.get("anchor") == {"be_anchor_reference": reference["sha256"]}: + authority["anchor"] = reference["payload"]["authority"]["anchor"] + contract = authority.get("coordinate_contract") + if contract is not None and contract.get("reference") == { + "be_point_reference": reference["sha256"] + }: + contract["reference"] = reference + return decode_point(record, layout) + + +@dataclass(frozen=True) +class TimeStep: + index: int + segment_index: int + segment_step: int + window_index: int + left: float + right: float + h: float + tag_index: int | None + + +@dataclass(frozen=True) +class Schedule: + tags: tuple[dict, ...] + steps: tuple[TimeStep, ...] + level: int + seed: Fraction + identity: str + + +def compile_schedule( + segments: tuple, + tags: list | tuple, + *, + level: int, + seed: Fraction = Fraction(1, 512), + step_cap: int = 200000, +) -> Schedule: + """Construct actual rounded nested nodes, never accumulate a decimal h.""" + _require(type(level) is int and 0 <= level <= 3, "ladder_level") + seed = _fraction(seed) + _require( + seed > 0 and type(step_cap) is int and 1 <= step_cap <= 200000, + "schedule_budget", + ) + _require( + 0 < len(segments) <= 16 and len({s.id for s in segments}) == len(segments), + "segments", + ) + _require(len(tags) <= 131, "tag_budget") + kept = tuple({k: t[k] for k in TAG_FIELDS} for t in tags) + steps: list[TimeStep] = [] + cursor = 0 + for ordinal, segment in enumerate(segments): + _require( + math.isfinite(segment.start) + and math.isfinite(segment.end) + and segment.start < segment.end + and segment.start >= 0, + "segment_times", + ) + if ordinal: + _require(segments[ordinal - 1].end == segment.start, "segment_gap") + first = cursor + while cursor < len(kept) and kept[cursor]["segment"] == segment.id: + cursor += 1 + group = kept[first:cursor] + _require(len(group) >= 2, "segment_tags") + times = [] + for i, tag in enumerate(group): + expected_side = ( + "right" if i == 0 else "left" if i == len(group) - 1 else "interior" + ) + _require( + type(tag["index"]) is int + and tag["index"] == i + and tag["event_side"] == expected_side + and type(tag["protocol_initial"]) is bool + and type(tag["protocol_terminal"]) is bool, + "tag_identity", + ) + _require( + tag["protocol_initial"] == (ordinal == i == 0) + and ( + not tag["protocol_terminal"] + or (ordinal == len(segments) - 1 and i == len(group) - 1) + ), + "protocol_tag_identity", + ) + times.append(_hex_time(tag["time_hex"])) + _require( + times[0].hex() == float(segment.start).hex() + and times[-1].hex() == float(segment.end).hex(), + "tag_segment_endpoints", + ) + local_count = 0 + for window, (left, right) in enumerate(zip(times, times[1:])): + delta = Fraction(right) - Fraction(left) + _require(delta > 0, "nonpositive_window") + count = 1 + while delta / count > seed: + count *= 2 + _require(count <= step_cap, "step_cap") + count *= 2**level + _require(len(steps) + count <= step_cap, "step_cap") + previous = left + for j in range(1, count + 1): + current = float(Fraction(left) + delta * Fraction(j, count)) + exact_h = Fraction(current) - Fraction(previous) + h = float(exact_h) + _require( + h > 0 and Fraction(h) == exact_h and previous + h == current, + "unrepresentable_step", + ) + local_count += 1 + steps.append( + TimeStep( + len(steps) + 1, + ordinal, + local_count, + window, + previous, + current, + h, + first + window + 1 if j == count else None, + ) + ) + previous = current + _require(previous.hex() == right.hex(), "changed_endpoint") + _require(cursor == len(kept) and bool(steps), "unconsumed_tags") + table = { + "tags": kept, + "level": level, + "seed": _pair(seed), + "segments": [ + { + "id": s.id, + "start": float(s.start).hex(), + "end": float(s.end).hex(), + "voltage": [float(v).hex() for v in s.voltage], + "photons": [float(v).hex() for v in s.photons], + } + for s in segments + ], + "steps": [ + [s.segment_index, s.window_index, s.left.hex(), s.right.hex(), s.h.hex()] + for s in steps + ], + } + return Schedule(kept, tuple(steps), level, seed, digest(table)) + + +@dataclass(frozen=True) +class RunIdentity: + case_id: str + input_sha256: str + method_contract_sha256: str + plan_sha256: str + source_commit: str + environment_identity: str + schedule_identity: str + source_identity: str + initial_point_identity: str + controls_sha256: str + + def payload(self) -> dict: + result = asdict(self) + _require( + all(type(v) is str and v for v in result.values()), "execution_identity" + ) + for k in ( + "input_sha256", + "method_contract_sha256", + "plan_sha256", + "schedule_identity", + "source_identity", + "initial_point_identity", + "controls_sha256", + ): + _require( + len(result[k]) == 64 + and all(c in "0123456789abcdef" for c in result[k]), + "digest_identity", + ) + return result + + +@dataclass(frozen=True) +class Limits: + wall_s: float + rss_bytes: int = 4 * GIB + output_bytes: int = 4 * GIB + logical_bytes: int = 32 * GIB + record_bytes: int = 1048576 + step_cap: int = 200000 + residual_cap: int = 2000000 + metadata_reserve: int = 4 * 1048576 + + def validate(self) -> None: + _require( + type(self.wall_s) in (float, int) and 0 < self.wall_s <= 43200, "wall_limit" + ) + for value, maximum in ( + (self.rss_bytes, 4 * GIB), + (self.output_bytes, 4 * GIB), + (self.logical_bytes, 32 * GIB), + (self.record_bytes, 1048576), + (self.step_cap, 200000), + (self.residual_cap, 2000000), + ): + _require(type(value) is int and 0 < value <= maximum, "resource_limit") + _require( + type(self.metadata_reserve) is int + and 8 <= self.metadata_reserve < self.output_bytes, + "metadata_reserve", + ) + + +@dataclass(frozen=True) +class Backend: + problem: Any + coordinates: RelativeCoordinates + initial: Point + scaling: PhysicalScaling + budgets: Mapping[str, EquationBudget] + segments: tuple + feasible: Callable[[Point], bool] + check_state: Callable[[Point], dict] + observe_point: Callable[[Point, Any], dict] + observe_interval: Callable[[Point, Point, Any, Any, TimeStep], dict] + metadata: dict + + +def effective_controls(backend: Backend) -> dict: + """Expose the exact applied BE and observation controls for pre-run pinning.""" + return { + "method": METHOD, + "step_options": dict(STEP_OPTIONS), + "storage_secant_arithmetic": _secant_arithmetic(backend.problem), + "equation_budgets": { + k: { + "unit": asdict(v.unit), + "absolute_hex": [float(x).hex() for x in v.absolute], + } + for k, v in backend.budgets.items() + }, + "solver_scaling": { + k: [float(v).hex() for v in getattr(backend.scaling, k)] + for k in ("rows", "columns") + }, + "observation_controls": backend.metadata["observation_controls"], + } + + +def _secant_arithmetic(problem: Any) -> str: + kind = ( + type(problem.arithmetic) if problem.arithmetic is not None else FloatArithmetic + ) + for name, arithmetic in SECANT_ARITHMETICS.items(): + if kind is arithmetic: + return name + raise ContractError("reference_be_unsupported_secant_arithmetic") + + +def _protocol_at(segment: Any, time_value: float) -> tuple[np.ndarray, np.ndarray, str]: + """Evaluate the frozen two-input, piecewise affine protocol independently. + + Endpoint words have priority over interpolation, exactly as in the public + ProtocolSegment contract. An event endpoint belongs to its declared segment; + its slope must not be borrowed from the next segment. + """ + _require(segment.start <= time_value <= segment.end, "protocol_time") + first = np.array([segment.voltage[0], segment.photons[0]], dtype=float) + last = np.array([segment.voltage[1], segment.photons[1]], dtype=float) + rate = (last - first) / (segment.end - segment.start) + if time_value == segment.start: + inputs, side = first, "right" + elif time_value == segment.end: + inputs, side = last, "left" + else: + inputs, side = first + rate * (time_value - segment.start), "interior" + _require( + np.isfinite(inputs).all() and np.isfinite(rate).all(), "protocol_finiteness" + ) + return inputs, rate, side + + +def _input_words(values: Any) -> list[str]: + return [float(v).hex() for v in values] + + +def _check_step_protocol(row: Mapping, left: Point, right: Point, segment: Any) -> None: + before, _, _ = _protocol_at(segment, left.time) + after, rate, side = _protocol_at(segment, right.time) + _require( + _input_words(left.inputs) == _input_words(before) + and _input_words(right.inputs) == _input_words(after) + and row.get("input_rate_hex") == _input_words(rate) + and row.get("input_event_side") == side, + "step_protocol_inputs", + ) + + +def _coordinate_trial( + left: Point, local: PrimitiveExpansion, time_value: float, inputs: Any +) -> Point: + """Replay public coordinate construction only; no residual/Jacobian/solve.""" + layout = left.state.layout + coordinates = RelativeCoordinates( + layout, {v.id: "linear" for v in layout.variables} + ) + authority = left.state.authority + _require( + isinstance(authority, MappedAuthority) + and authority.map_identity == coordinates.identity, + "step_coordinate_authority", + ) + if authority.coordinate_kind == "local": + return coordinates.advance(left, local, time_value, inputs)[0] + reference = authority.fixed_reference + _require( + authority.coordinate_kind == "fixed-reference" + and isinstance(reference, Point) + and all(v.is_zero() for v in reference.state.authority.primitives.values()), + "step_original_reference", + ) + values = [authority.primitives[v.id] for v in layout.variables] + kind = FrameInputExpansion if authority.frame_inputs else PrimitiveExpansion + count = 12 if authority.frame_inputs else 4 + base = kind( + tuple( + np.concatenate([v.words[i].ravel() for v in values]) for i in range(count) + ) + ) + return coordinates.trial( + reference, base.add(local), time_value, inputs, predecessor=left + )[0] + + +def _check_step_arithmetic( + row: Mapping, left: Point, right: Point, storage_size: int, arithmetic: str +) -> None: + """Bind full-word increments and the *rounded* public storage division.""" + layout = left.state.layout + local = _word_values(row["local_increment_words"], layout.size) + before, after = _physical_exact(left), _physical_exact(right) + for variable in layout.variables: + offset = layout.offsets[variable.id] + _require( + local[offset] + == tuple( + b - a + for a, b in zip(before[variable.id], after[variable.id], strict=True) + ), + "step_local_increment", + ) + raw_local = row["local_increment_words"]["words_hex"] + _require(len(raw_local) == 4, "step_local_increment_representation") + primitive = PrimitiveExpansion( + tuple(np.array([float.fromhex(v) for v in w]) for w in raw_local) + ) + reconstructed = _coordinate_trial(left, primitive, right.time, right.inputs) + _require(reconstructed.identity == right.identity, "step_local_increment_Point") + _validate_words(row["storage_delta_words"], storage_size) + _validate_words(row["storage_secant_words"], storage_size) + _require(arithmetic in SECANT_ARITHMETICS, "unsupported_secant_arithmetic") + parts = [ + np.array([float.fromhex(v) for v in w]) + for w in row["storage_delta_words"]["words_hex"] + ] + a = SECANT_ARITHMETICS[arithmetic]() + if type(a) is DoubleArithmetic: + _require(len(parts) == 2, "storage_delta_representation") + delta = DoubleArray(*parts) + else: + _require(len(parts) == 1, "storage_delta_representation") + delta = parts[0] + # Division by a non-power-of-two h rounds. Replaying the declared operation + # checks its representation without asserting secant*h == delta in R. + h = _hex_time(row["h_hex"]) + expected = a.freeze(a.divide(a.array(delta), a.array(np.full(storage_size, h)))) + _require(_words(expected) == row["storage_secant_words"], "storage_secant_division") + + +def _diagnostic_rational(value: Any) -> Fraction: + _require( + isinstance(value, dict) and set(value) == {"rational"}, + "newton_diagnostics_rational", + ) + return _unpair(value["rational"]) + + +def _is_digest(value: Any) -> bool: + return ( + type(value) is str + and len(value) == 64 + and all(c in "0123456789abcdef" for c in value) + ) + + +def _rss_bytes() -> int: + value = resource.getrusage(resource.RUSAGE_SELF).ru_maxrss + return int(value if sys.platform == "darwin" else value * 1024) + + +class RuntimeLedger: + """Bounded component totals and protocol-phase walls; no scientific decisions.""" + + def __init__(self, clock=None, sink=None): + self.clock = clock or time.monotonic_ns + self.sink = sink + self.started_ns = self.clock() + self.components = { + k: {"calls": 0, "exceptions": 0, "wall_ns": 0} for k in RUNTIME_PHASES + } + self.segments = [] + self.active = None + self.peak_rss_bytes = _rss_bytes() + + @contextmanager + def span(self, name): + _require(name in self.components, "runtime_phase") + start = self.clock() + self.components[name]["calls"] += 1 + try: + yield + except BaseException: + self.components[name]["exceptions"] += 1 + raise + finally: + elapsed = self.clock() - start + self.components[name]["wall_ns"] += elapsed + if self.active is not None: + self.active["components"][name] += elapsed + self.peak_rss_bytes = max(self.peak_rss_bytes, _rss_bytes()) + + def begin_segment(self, name): + self.end_segment("completed") + _require(len(self.segments) < 16, "runtime_segment_count") + self.active = { + "segment": name, + "started_ns": self.clock(), + "accepted_steps": 0, + "residual_evaluations": 0, + "factorizations": 0, + "linear_solves": 0, + "components": {k: 0 for k in RUNTIME_PHASES}, + } + if self.sink is not None: + self.sink( + { + "kind": "protocol_phase_start", + "segment": name, + "started_ns": self.active["started_ns"], + } + ) + + def accepted(self, step): + if self.active is not None: + self.active["accepted_steps"] += 1 + for key, value in ( + ("residual_evaluations", step.residual_evaluations), + ("factorizations", step.factorization_calls), + ("linear_solves", step.linear_solve_calls), + ): + self.active[key] += value + + def end_segment(self, outcome): + if self.active is not None: + end = self.clock() + self.active.update( + ended_ns=end, wall_ns=end - self.active["started_ns"], outcome=outcome + ) + self.segments.append(self.active) + if self.sink is not None: + self.sink({"kind": "protocol_phase_end", **self.active}) + self.active = None + + def snapshot(self): + _require(self.active is None, "runtime_open_segment") + return { + "clock": "time.monotonic_ns", + "components": self.components, + "segments": self.segments, + "peak_process_RSS_bytes": self.peak_rss_bytes, + "semantics": "component spans are inclusive; segment wall also includes guards, control and instrumentation; do not add segment and component walls", + "not_entered": [k for k, v in self.components.items() if v["calls"] == 0], + "unmeasured": [ + "interpreter bootstrap before this entry", + "runtime receipt publication and parent group closure", + "work in separately admitted processes", + ], + "scientific_decisions_use_timing": False, + } + + +def _boot_identity() -> str: + if sys.platform == "darwin": + result = subprocess.run( + ["/usr/sbin/sysctl", "-n", "kern.bootsessionuuid"], + capture_output=True, + text=True, + timeout=2, + check=True, + ) + value = result.stdout.strip() + else: + value = Path("/proc/sys/kernel/random/boot_id").read_text().strip() + _require(bool(value), "runtime_boot_identity") + return sys.platform + ":" + value + + +def pipeline_clock(pipeline_id: str, wall_s: float) -> dict: + """Return a pre-launch clock anchor for the commander to persist and pin. + + No directory, process, admission, or clock restart is created by this helper. + Follow-up stages must retain this same immutable anchor on the same boot. + """ + _require(type(pipeline_id) is str and bool(pipeline_id), "pipeline_identity") + _require( + type(wall_s) in (int, float) and math.isfinite(wall_s) and 0 < wall_s <= 43200, + "pipeline_wall", + ) + boot = _boot_identity() + start = time.monotonic_ns() + duration = math.floor(Fraction(wall_s) * 10**9) + return { + "schema": "solarlab.g2-reference-pipeline-clock.v1", + "pipeline_id": pipeline_id, + "clock": "time.monotonic_ns", + "boot_identity": boot, + "started_ns": start, + "deadline_ns": start + duration, + "wall_s": wall_s, + "recorded_at": datetime.now(timezone.utc).isoformat(), + } + + +def runtime_threads() -> dict: + """Record the actual Accelerate threading mode used by the locked Mac entry.""" + environment = {k: os.environ.get(k) for k in THREAD_ENVIRONMENT} + _require(all(v == "1" for v in environment.values()), "runtime_thread_environment") + _require(sys.platform == "darwin", "runtime_actual_thread_probe_unavailable") + path = "/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib" + library = ctypes.CDLL(path) + library.BLASSetThreading.argtypes = [ctypes.c_int] + library.BLASSetThreading.restype = ctypes.c_int + library.BLASGetThreading.restype = ctypes.c_int + before = int(library.BLASGetThreading()) + library.BLASSetThreading(1) + actual = int(library.BLASGetThreading()) + _require(actual == 1, "runtime_actual_BLAS_thread_mode") + return { + "library": path, + "getter": "BLASGetThreading", + "before_mode": before, + "measured_mode": actual, + "required_single_thread_mode": 1, + "thread_environment": environment, + "python_executable": str(Path(sys.executable).resolve()), + "python_version": sys.version, + "checked_ns": time.monotonic_ns(), + } + + +def _runtime_thread_end(receipt): + library = ctypes.CDLL(receipt["library"]) + library.BLASGetThreading.restype = ctypes.c_int + actual = int(library.BLASGetThreading()) + receipt["final_measured_mode"] = actual + receipt["final_checked_ns"] = time.monotonic_ns() + _require(actual == 1, "runtime_final_BLAS_thread_mode") + + +class StageRuntime: + """One separately admitted stage, bounded by the original pipeline clock.""" + + def __init__(self, manifest, plan, action): + self.manifest, self.plan, self.action = manifest, plan, action + self.case_id = manifest.get( + "case_id", manifest.get("identity", {}).get("case_id") + ) + _require( + plan.get("status") == "admitted" + and plan.get("authority", {}).get("scientific_execution_authorized") + is True, + "runtime_plan_not_admitted", + ) + matches = [c for c in plan["cases"] if c["id"] == self.case_id] + _require(len(matches) == 1, "runtime_case_identity") + self.execution = matches[0]["execution"] + _require(self.execution.get("stage") == action, "runtime_stage_not_admitted") + _require( + _integer(self.execution.get("channel")) and self.execution["channel"] < 4, + "runtime_channel", + ) + _require( + plan["resources"].get("WS1_channels") == 4 + and plan["resources"].get("threads_per_case") == 1, + "runtime_resource_profile", + ) + self.supervision = validate_route_supervision(plan, self.execution) + self.limits = Limits(**manifest["limits"]) + self.limits.validate() + _require( + self.limits.rss_bytes <= self.supervision["rss_bytes"] <= 4 * GIB + and self.limits.output_bytes + <= self.supervision["artifact_bytes"] + <= 4 * GIB, + "runtime_limits_exceed_supervision", + ) + self.directory = Path(manifest["directory"]) + _require( + self.directory.is_absolute() + and str(self.directory.resolve()) == str(self.directory) + and self.execution["directory"] == str(self.directory) + and not self.directory.exists(), + "runtime_fresh_directory", + ) + binding = self.execution["pipeline"] + _require( + type(binding) is dict + and set(binding) == {"id", "clock"} + and type(binding["id"]) is str + and bool(binding["id"]), + "runtime_pipeline_binding", + ) + self.clock_reference = binding["clock"] + self.anchor = _runtime_document(self.clock_reference) + a = self.anchor + _require( + set(a) + == { + "schema", + "pipeline_id", + "clock", + "boot_identity", + "started_ns", + "deadline_ns", + "wall_s", + "recorded_at", + } + and a.get("schema") == "solarlab.g2-reference-pipeline-clock.v1" + and a.get("clock") == "time.monotonic_ns" + and type(a.get("pipeline_id")) is str + and a.get("pipeline_id") == binding["id"] + and type(a.get("boot_identity")) is str + and a.get("boot_identity") == _boot_identity(), + "runtime_pipeline_clock_identity", + ) + _require( + _integer(a.get("started_ns")) + and _integer(a.get("deadline_ns"), 1) + and type(a.get("wall_s")) in (int, float) + and type(a.get("recorded_at")) is str + and bool(a["recorded_at"]) + and math.isfinite(a["wall_s"]) + and 0 < a["wall_s"] <= 43200 + and a["deadline_ns"] - a["started_ns"] + == math.floor(Fraction(a["wall_s"]) * 10**9), + "runtime_pipeline_clock_bounds", + ) + self.started_ns = time.monotonic_ns() + cleanup = sum( + Fraction(self.supervision[k]) + for k in ("term_grace_s", "kill_wait_s", "receipt_reserve_s") + ) + cleanup_ns = math.ceil(cleanup * 10**9) + _require( + a["started_ns"] <= self.started_ns < a["deadline_ns"] - cleanup_ns, + "runtime_pipeline_expired", + ) + _require( + self.execution["wall_s"] <= a["wall_s"] + and self.limits.wall_s <= self.execution["wall_s"], + "runtime_stage_wall", + ) + _require( + math.ceil(Fraction(self.execution["wall_s"]) * 10**9) + <= a["deadline_ns"] - self.started_ns, + "runtime_launcher_exceeds_remaining_pipeline", + ) + self.work_deadline_ns = min( + a["deadline_ns"] - cleanup_ns, + self.started_ns + + math.floor(Fraction(self.execution["wall_s"]) * 10**9) + - cleanup_ns, + self.started_ns + math.floor(Fraction(self.limits.wall_s) * 10**9), + ) + self.ledger = RuntimeLedger( + sink=lambda row: print( + json.dumps({"runtime_phase": row}, sort_keys=True), flush=True + ) + ) + self.thread_receipt = None + self.first_failure = None + self.return_code = None + + def checkpoint(self): + _require( + time.monotonic_ns() < self.work_deadline_ns, "runtime_pipeline_wall_cap" + ) + _require(_rss_bytes() <= self.limits.rss_bytes, "runtime_RSS_cap") + _require( + not Path(self.supervision["cancel_path"]).exists(), "runtime_cancelled" + ) + + def receipt(self, outcome): + self.ledger.end_segment("failed" if self.first_failure else "completed") + name = { + "run": "RunResult.json", + "read": "Readback.json", + "evaluate": "Result.json", + }[self.action] + path = self.directory / name + result_file = None + if path.is_file(): + _require(path.stat().st_size <= 4 * 1048576, "runtime_result_metadata_cap") + raw = path.read_bytes() + result_file = { + "path": str(path), + "bytes": len(raw), + "sha256": sha256(raw).hexdigest(), + } + manifest_file = None + if self.directory.is_dir(): + # Bind the exact in-memory input even for a direct supervised API + # call. This is evidence, not a new admission or a clock anchor. + manifest_path = self.directory / "RuntimeManifest.json" + _write_new(manifest_path, self.manifest, self.limits.metadata_reserve) + raw = manifest_path.read_bytes() + manifest_file = { + "path": str(manifest_path), + "bytes": len(raw), + "sha256": sha256(raw).hexdigest(), + } + return { + "schema": RUNTIME_SCHEMA, + "stage": self.action, + "case_id": self.case_id, + "plan": self.manifest["plan"], + "manifest_digest": digest(self.manifest), + "manifest": manifest_file, + "result_file": result_file, + "pipeline_clock": self.clock_reference, + "pipeline_id": self.anchor["pipeline_id"], + "started_ns": self.started_ns, + "ended_ns": time.monotonic_ns(), + "original_deadline_ns": self.anchor["deadline_ns"], + "work_deadline_ns": self.work_deadline_ns, + "execution": self.execution, + "outcome": outcome, + "first_failure": self.first_failure, + "return_code": self.return_code, + "thread_receipt": self.thread_receipt, + "peak_process_RSS_bytes": _rss_bytes(), + "timing": self.ledger.snapshot(), + "scientific_pass": False, + "group_RSS_and_closure_authority": "outer g2_route_launcher receipt", + "followup_stages_executed_implicitly": False, + } + + +@contextmanager +def supervised_stage(manifest, plan, action): + runtime = StageRuntime(manifest, plan, action) + # Import and call the maintained route helper: no second flock, copied + # dev/ino check, explicit unlock, or unsupervised fallback is introduced. + with route_channel(plan, runtime.execution): + primary = None + try: + runtime.checkpoint() + runtime.thread_receipt = runtime_threads() + print( + json.dumps( + { + "runtime_start": { + "stage": action, + "case_id": runtime.case_id, + "pipeline_clock": runtime.clock_reference, + "original_deadline_ns": runtime.anchor["deadline_ns"], + "work_deadline_ns": runtime.work_deadline_ns, + "threads": runtime.thread_receipt, + "inherited_channel_fd": os.environ.get( + "SOLARLAB_G2_ROUTE_CHANNEL_FD" + ), + "channel_validator": "scripts.benchmarks.g2_route._channel", + "process_RSS_bytes": _rss_bytes(), + } + }, + sort_keys=True, + ), + flush=True, + ) + yield runtime + runtime.checkpoint() + except BaseException as exc: + primary = exc + runtime.first_failure = { + "type": type(exc).__name__, + "reason": str(exc)[:4096], + } + raise + finally: + final_error = None + if runtime.thread_receipt is not None: + try: + _runtime_thread_end(runtime.thread_receipt) + except BaseException as exc: + final_error = exc + runtime.thread_receipt["final_measurement_error"] = { + "type": type(exc).__name__, + "reason": str(exc)[:4096], + } + if primary is not None: + primary.add_note("final BLAS measurement: " + str(exc)) + else: + runtime.first_failure = { + "type": type(exc).__name__, + "reason": str(exc)[:4096], + } + runtime.thread_receipt["final_measurement_status"] = ( + "measured" + if "final_measured_mode" in runtime.thread_receipt + and "final_checked_ns" in runtime.thread_receipt + else "unavailable" + ) + try: + receipt = runtime.receipt( + "raised" + if primary is not None or final_error is not None + else "returned" + ) + if runtime.directory.is_dir(): + used = sum( + p.stat().st_size + for p in runtime.directory.rglob("*") + if p.is_file() + ) + _write_new( + runtime.directory / "RuntimeReceipt.json", + receipt, + runtime.limits.output_bytes - used, + ) + # The outer launcher captures pre-output-directory failures too. + print( + json.dumps( + {"runtime_receipt": receipt}, sort_keys=True, allow_nan=False + ), + flush=True, + ) + except BaseException as closeout: + original = primary if primary is not None else final_error + if original is None: + raise + original.add_note("runtime receipt closeout: " + str(closeout)) + if primary is None and final_error is not None: + raise final_error + + +def _check_newton( + row: Mapping, left: Point, right: Point, ratios: tuple[Fraction, ...] +) -> None: + """Validate required diagnostics, iterate chain and accounting, not E3 bounds.""" + iterations, summary = row.get("newton_iterations"), row.get("newton_summary") + _require( + isinstance(iterations, list) + and len(iterations) <= STEP_OPTIONS["max_iterations"] + and isinstance(summary, dict) + and set(summary) + == { + "globalization", + "initial_trial_identity", + "initial_trial_accepted", + "line_search_evaluations", + "factorization_returns", + "linear_solve_returns", + }, + "newton_diagnostics", + ) + initial = _coordinate_trial( + left, + PrimitiveExpansion.from_value(np.zeros(left.state.layout.size)), + right.time, + right.inputs, + ) + _require( + summary["globalization"] == "residual" + and summary["initial_trial_identity"] == initial.identity + and summary["initial_trial_accepted"] is (not iterations), + "newton_diagnostics_initial_trial", + ) + previous, previous_merit, searches = initial.identity, None, 0 + required = { + "iteration", + "rhs_projection_error", + "linear_residual_inf", + "damping", + "merit_before", + "merit_after", + "point_identity_before", + "point_identity_after", + "correction_base", + "correction_searches", + } + dampings = [2.0 ** (-i) for i in range(STEP_OPTIONS["max_line_search"])] + for index, item in enumerate(iterations): + _require( + isinstance(item, dict) and set(item) == required, + "newton_diagnostics_fields", + ) + projection = item["rhs_projection_error"] + _require( + isinstance(projection, list) and len(projection) == left.state.layout.size, + "newton_diagnostics_projection", + ) + for value in projection: + _diagnostic_rational(value) + linear_error, damping = item["linear_residual_inf"], item["damping"] + _require( + type(linear_error) in (float, int) + and math.isfinite(linear_error) + and linear_error >= 0 + and type(damping) in (float, int) + and damping in dampings, + "newton_diagnostics_linear_or_damping", + ) + before, after = ( + _diagnostic_rational(item["merit_before"]), + _diagnostic_rational(item["merit_after"]), + ) + _require( + type(item["iteration"]) is int + and item["iteration"] == index + and item["point_identity_before"] == previous + and _is_digest(item["point_identity_after"]) + and before > 1 + and 0 <= after < before + and (previous_merit is None or before == previous_merit) + and item["correction_base"] is None + and item["correction_searches"] == [], + "newton_diagnostics_chain_or_merit", + ) + previous, previous_merit = item["point_identity_after"], after + searches += dampings.index(damping) + 1 + counts, n = row["solver_counts"], len(iterations) + _require( + previous == right.identity + and (previous_merit is None or previous_merit == max(ratios)) + and all(_integer(v) for v in counts.values()) + and counts["factorizations"] == counts["linear_solves"] == n + and 1 + n <= counts["residual_evaluations"] <= 1 + searches + and all( + _integer(summary[k]) + for k in ( + "line_search_evaluations", + "factorization_returns", + "linear_solve_returns", + ) + ) + and summary["factorization_returns"] == summary["linear_solve_returns"] == n + and summary["line_search_evaluations"] == searches, + "newton_diagnostics_counts_or_terminal", + ) + + +class Guard: + def __init__( + self, + limits: Limits, + checkpoint: Callable[[], None] | None = None, + started_monotonic: float | None = None, + ): + limits.validate() + self.limits = limits + self.start = ( + time.monotonic() if started_monotonic is None else started_monotonic + ) + self.external = checkpoint + + def __call__(self) -> None: + if self.external is not None: + self.external() + _require(time.monotonic() - self.start < self.limits.wall_s, "wall_cap") + peak = resource.getrusage(resource.RUSAGE_SELF).ru_maxrss + if sys.platform != "darwin": + peak *= 1024 + _require(peak <= self.limits.rss_bytes, "RSS_cap") + + +def _write_new(path: Path, value: dict, limit: int) -> None: + raw = canonical(value) + b"\n" + _require(len(raw) <= limit, "metadata_cap") + with path.open("xb") as stream: + stream.write(raw) + + +def _replace_owned(path: Path, value: dict, limit: int) -> None: + raw = canonical(value) + b"\n" + _require(len(raw) <= limit, "metadata_cap") + temporary = path.with_suffix(".tmp") + with temporary.open("xb") as stream: + stream.write(raw) + temporary.replace(path) + + +def _sum_enclosures(current: list, added: list) -> list: + _require(len(current) == len(added), "flux_channel_count") + result = [] + for a, b in zip(current, added): + ca, ra, cb, rb = ( + _unpair(a["center"]), + _unpair(a["radius"]), + _unpair(b["center"]), + _unpair(b["radius"]), + ) + _require(ra >= 0 and rb >= 0, "negative_radius") + result.append({"center": _pair(ca + cb), "radius": _pair(ra + rb)}) + return result + + +def _failure_value(value: Any, reference: dict) -> Any: + """Keep failed working-iterate diagnostics distinct from accepted steps.""" + if isinstance(value, Point): + return pack_point(value, reference) + if isinstance(value, Fraction): + return {"rational": _pair(value)} + if isinstance(value, np.ndarray): + return _failure_value(value.tolist(), reference) + if isinstance(value, np.generic): + return _failure_value(value.item(), reference) + if is_dataclass(value): + return { + field.name: _failure_value(getattr(value, field.name), reference) + for field in fields(value) + } + if isinstance(value, Mapping): + return { + str(key): _failure_value(item, reference) for key, item in value.items() + } + if isinstance(value, (list, tuple)): + return [_failure_value(item, reference) for item in value] + if type(value) is float and not math.isfinite(value): + return {"nonfinite": repr(value)} + if value is None or type(value) in (str, bool, int, float): + return value + return {"unsupported_diagnostic_type": type(value).__name__} + + +def run_reference( + backend: Backend, + schedule: Schedule, + identity: RunIdentity, + input_payload: dict, + directory: Path, + limits: Limits, + *, + encoding: str = "raw", + checkpoint: Callable[[], None] | None = None, + started_monotonic: float | None = None, + timing: RuntimeLedger | None = None, +) -> dict: + """Run one declared case; callers own admission and external supervision.""" + + def measured(name, operation, *args, **kwargs): + with timing.span(name) if timing is not None else nullcontext(): + return operation(*args, **kwargs) + + guard = Guard(limits, checkpoint, started_monotonic) + _require(identity.input_sha256 == digest(input_payload), "input_digest") + _require( + identity.schedule_identity == schedule.identity + and identity.source_identity == backend.problem.source_identity + and identity.initial_point_identity == backend.initial.identity + and identity.controls_sha256 == digest(effective_controls(backend)), + "execution_binding", + ) + _require( + compile_schedule( + backend.segments, + schedule.tags, + level=schedule.level, + seed=schedule.seed, + step_cap=limits.step_cap, + ) + == schedule, + "runtime_schedule_binding", + ) + _require( + digest(input_payload.get("segments", [])[: len(backend.segments)]) + == digest([asdict(s) for s in backend.segments]), + "request_protocol_binding", + ) + _require(len(schedule.steps) <= limits.step_cap, "step_cap") + _require( + type(backend.coordinates) is RelativeCoordinates + and all(x == "linear" for x in backend.coordinates.modes.values()), + "physical_coordinates", + ) + _require( + backend.coordinates.layout.identity == backend.problem.layout.identity + and backend.initial.time == backend.segments[0].start, + "initial_binding", + ) + guard() + _require(backend.feasible(backend.initial), "initial_domain") + directory = Path(directory) + directory.mkdir(parents=True, exist_ok=False) + history_dir = directory / "History" + history_dir.mkdir() + extension = ".jsonl.gz" if encoding == "gzip" else ".jsonl" + path = history_dir / ("BE" + extension) + measured( + "artifact_io", + _write_new, + directory / "ReferenceRequest.json", + input_payload, + limits.metadata_reserve // 4, + ) + writer = HistoryWriter( + path, + encoding=encoding, + total_output_bytes=limits.output_bytes - limits.metadata_reserve, + metadata_reserve_bytes=limits.metadata_reserve // 4, + max_record_bytes=limits.record_bytes, + ) + original_reference = encode_point(_point_root(backend.initial)) + binding = identity.payload() + source_identity = backend.problem.source_identity + previous_hash: str | None = None + counts = { + "accepted_steps": 0, + "residual_evaluations": 0, + "observations": 0, + "segments": 0, + "factorizations": 0, + "linear_solves": 0, + } + first_scientific = None + last_point = backend.initial + last_safe = backend.initial + last_step = None + last_returned_index = None + cumulative = [{"center": [0, 1], "radius": [0, 1]} for _ in range(3)] + error: BaseException | None = None + failure_pointer = None + completed = False + target = None + phase = "initial_state_check" + + def _emit(kind: str, **payload: Any) -> dict: + nonlocal previous_hash + row = { + "schema": SCHEMA, + "version": 1, + "kind": kind, + "case_id": identity.case_id, + "source_identity": source_identity, + "method": METHOD, + "previous_record_sha256": previous_hash, + **payload, + } + row["record_sha256"] = digest(row) + _require( + writer.logical_bytes + len(canonical(row)) + 1 <= limits.logical_bytes, + "logical_cap", + ) + writer.append(row) + previous_hash = row["record_sha256"] + return row + + def emit(kind: str, **payload: Any) -> dict: + return measured("history_io", _emit, kind, **payload) + + def state_checks(point: Point) -> dict: + nonlocal first_scientific, last_safe + checks = measured("state_check", backend.check_state, point) + _require( + isinstance(checks, dict) + and type(checks.get("safety_pass")) is bool + and type(checks.get("scientific_failed")) is bool, + "state_check_contract", + ) + if checks.get("scientific_failed") is True and first_scientific is None: + first_scientific = { + "point_identity": point.identity, + "time_hex": float(point.time).hex(), + "checks": checks, + } + if checks["safety_pass"]: + last_safe = point + return checks + + def observe(point: Point, segment: Any, tag_index: int) -> None: + nonlocal phase + phase = "point_observation" + guard() + observation = measured( + "point_observation", backend.observe_point, point, segment + ) + _require( + isinstance(observation, dict) + and "ports" in observation + and "charges" in observation + and "derivative_origin" in observation, + "point_observation_contract", + ) + phase = "point_observation_write" + emit( + "be_observation", + tag=schedule.tags[tag_index], + point_identity=point.identity, + physical_state_words=_physical(point), + units={v.id: asdict(v.unit) for v in point.state.layout.variables}, + cumulative_physical_flux=cumulative, + **observation, + ) + counts["observations"] += 1 + guard() + + try: + initial_checks = state_checks(last_point) + phase = "header_write" + emit( + "be_reference_header", + identity=binding, + source_metadata=backend.metadata, + schedule={ + "identity": schedule.identity, + "level": schedule.level, + "seed": _pair(schedule.seed), + "tags": schedule.tags, + "steps": len(schedule.steps), + "segments": [asdict(s) for s in backend.segments], + }, + original_reference=original_reference, + initial=pack_point(backend.initial, original_reference), + limits=asdict(limits), + field_units={ + v.id: asdict(v.unit) for v in backend.problem.layout.variables + }, + **{k: v for k, v in effective_controls(backend).items() if k != "method"}, + initial_state_checks=initial_checks, + scientific_pass=False, + ) + _require(initial_checks["safety_pass"], "initial_safety") + active_segment = -1 + for target in schedule.steps: + segment = backend.segments[target.segment_index] + if target.segment_index != active_segment: + if timing is not None: + timing.begin_segment(segment.id) + phase = "segment_start" + inputs, input_rate = segment.inputs(segment.start) + expected_inputs, expected_rate, _ = _protocol_at(segment, segment.start) + _require( + last_point.time == segment.start + and _input_words(last_point.inputs) + == _input_words(inputs) + == _input_words(expected_inputs) + and _input_words(input_rate) == _input_words(expected_rate), + "event_state_or_input_jump", + ) + active_segment = target.segment_index + counts["segments"] += 1 + initial_tag = next( + i + for i, t in enumerate(schedule.tags) + if t["segment"] == segment.id and t["index"] == 0 + ) + emit( + "be_segment_start", + segment=segment.id, + generation=active_segment + 1, + point=pack_point(last_point, original_reference), + input_rate_hex=[float(v).hex() for v in input_rate], + physical_state_reset=False, + native_initialization=False, + ) + observe(last_point, segment, initial_tag) + phase = "step_guard" + guard() + _require(last_point.time.hex() == target.left.hex(), "time_history_gap") + inputs, input_rate = segment.inputs(target.right) + expected_inputs, expected_rate, input_side = _protocol_at( + segment, target.right + ) + _require( + _input_words(inputs) == _input_words(expected_inputs) + and _input_words(input_rate) == _input_words(expected_rate), + "step_protocol_inputs", + ) + + def feasible(point: Point) -> bool: + guard() + return backend.feasible(point) + + phase = "be_step" + step = measured( + "be_step", + conservative_be_step, + backend.problem, + backend.coordinates, + last_point, + target.h, + scaling=backend.scaling, + budgets=backend.budgets, + inputs=inputs, + feasible=feasible, + **STEP_OPTIONS, + ) + phase = "step_return_check" + _require( + step.left.identity == last_point.identity + and step.right.time.hex() == target.right.hex(), + "step_return_binding", + ) + last_step = step + last_returned_index = target.index + phase = "accepted_state_check" + checks = state_checks(step.right) + step_payload = dict( + step_index=target.index, + segment=segment.id, + segment_step=target.segment_step, + generation=active_segment + 1, + window_index=target.window_index, + t_left_hex=target.left.hex(), + t_right_hex=target.right.hex(), + h_hex=target.h.hex(), + input_rate_hex=_input_words(input_rate), + input_event_side=input_side, + order=1, + left_identity=step.left.identity, + right=pack_point(step.right, original_reference), + local_increment_words=_words(step.local_coordinates), + storage_delta_words=_words(step.storage_delta), + storage_secant_words=_words(step.storage_secant), + residual_words=_words(step.residual), + residual_units=[asdict(v) for v in step.residual_units], + residual_allowances=[_pair(v) for v in step.residual_allowances], + residual_ratios=[_pair(v) for v in step.residual_ratios], + solver_counts={ + "residual_evaluations": step.residual_evaluations, + "factorizations": step.factorization_calls, + "linear_solves": step.linear_solve_calls, + }, + newton_iterations=_failure_value(step.iterations, original_reference), + newton_summary={ + "globalization": step.globalization, + "initial_trial_identity": measured( + "step_validation", + _coordinate_trial, + step.left, + PrimitiveExpansion.from_value( + np.zeros(backend.problem.layout.size) + ), + step.right.time, + step.right.inputs, + ).identity, + "initial_trial_accepted": not step.iterations, + "line_search_evaluations": step.line_search_evaluations, + "factorization_returns": step.factorization_returns, + "linear_solve_returns": step.linear_solve_returns, + }, + state_checks=checks, + scientific_failure_latched=first_scientific is not None, + physical_acceptance_awarded=False, + ) + phase = "accepted_step_validation" + measured( + "step_validation", + _check_step_protocol, + step_payload, + step.left, + step.right, + segment, + ) + measured( + "step_validation", + _check_step_arithmetic, + step_payload, + step.left, + step.right, + backend.problem.storage_count, + _secant_arithmetic(backend.problem), + ) + measured( + "step_validation", + _check_newton, + step_payload, + step.left, + step.right, + step.residual_ratios, + ) + phase = "accepted_step_write" + row = emit("be_accepted_step", **step_payload) + counts["accepted_steps"] += 1 + counts["residual_evaluations"] += step.residual_evaluations + counts["factorizations"] += step.factorization_calls + counts["linear_solves"] += step.linear_solve_calls + if timing is not None: + timing.accepted(step) + last_point = step.right + phase = "last_accepted_pointer" + measured( + "artifact_io", + _replace_owned, + history_dir / "LastNumericalAccepted.json", + { + "record_sha256": row["record_sha256"], + "point": row["right"], + "step_index": target.index, + "physical_acceptance_awarded": False, + }, + limits.metadata_reserve // 8, + ) + phase = "accepted_state_safety" + _require(checks["safety_pass"], "accepted_state_safety") + _require( + counts["residual_evaluations"] <= limits.residual_cap, "residual_cap" + ) + guard() + phase = "interval_observation" + interval = measured( + "interval_observation", + backend.observe_interval, + step.left, + step.right, + step, + segment, + target, + ) + _require( + isinstance(interval, dict) + and len(interval.get("physical_flux", [])) == 3, + "interval_observation_contract", + ) + cumulative = _sum_enclosures(cumulative, interval["physical_flux"]) + phase = "interval_record_write" + emit( + "be_observation", + tag=None, + point_identity=step.right.identity, + interval_step=target.index, + window_index=target.window_index, + cumulative_physical_flux=cumulative, + interval_observation=interval, + derivative_origin="declared-physical-path", + evidence_status="represented_path_only", + ) + if target.tag_index is not None: + observe(last_point, segment, target.tag_index) + guard() + phase = "final_checks" + if timing is not None: + timing.end_segment("completed") + _require(counts["observations"] == len(schedule.tags), "incomplete_tags") + phase = "final_record_write" + emit( + "be_reference_final", + counts=counts, + last_point_identity=last_point.identity, + first_scientific_failure=first_scientific, + numerical_complete=True, + scientific_pass=False, + scientific_status="failed" + if first_scientific + else "unknown_reference_error", + ) + phase = "history_close" + measured("history_io", writer.finish) + completed = True + except BaseException as exc: + error = exc + if timing is not None: + timing.end_segment("failed") + failure = { + "exception": type(exc).__name__, + "reason": str(exc)[:4096], + "location": { + "phase": phase, + "target_step": None + if target is None + else { + "index": target.index, + "segment": backend.segments[target.segment_index].id, + "t_left_hex": target.left.hex(), + "t_right_hex": target.right.hex(), + }, + "last_persisted_record_index": writer.records, + "previous_record_sha256": previous_hash, + "last_numerical_accepted": { + "identity": last_point.identity, + "time_hex": last_point.time.hex(), + }, + }, + "last_point": pack_point(last_point, original_reference), + "last_safe_point": pack_point(last_safe, original_reference), + "counts": dict(counts), + "first_scientific_failure": first_scientific, + "failed_newton_diagnostics_available": hasattr( + exc, "conservative_diagnostics" + ), + } + diagnostics = getattr(exc, "conservative_diagnostics", None) + if diagnostics is not None: + failure["failed_newton_working_iterates"] = _failure_value( + diagnostics, original_reference + ) + failure["failed_step_residual_evaluations"] = getattr( + diagnostics, "residual_evaluations", None + ) + if last_step is not None: + failure["last_returned_step"] = last_returned_index + failure["last_returned_numerical_point"] = pack_point( + last_step.right, original_reference + ) + failure["last_returned_step_persisted"] = ( + last_point.identity == last_step.right.identity + ) + failure["last_returned_solver_counts"] = { + "residual_evaluations": last_step.residual_evaluations, + "factorizations": last_step.factorization_calls, + "linear_solves": last_step.linear_solve_calls, + } + failure_pointer = { + "type": failure["exception"], + "reason": failure["reason"], + "location": failure["location"], + "failure_sha256": digest(failure), + "record_index": None, + "record_sha256": None, + } + try: + if not writer.closed: + failure_row = emit( + "be_reference_failure", + failure=failure, + numerical_complete=False, + scientific_pass=False, + ) + failure_pointer.update( + record_index=writer.records, + record_sha256=failure_row["record_sha256"], + ) + measured("history_io", writer.finish) + except BaseException as closeout: + exc.add_note("reference history closeout: " + type(closeout).__name__) + if not writer.closed: + measured("history_io", writer.abort, exc) + try: + measured( + "artifact_io", + _write_new, + directory / "FirstFailure.json", + { + **failure, + **{ + k: failure_pointer[k] + for k in ("failure_sha256", "record_index", "record_sha256") + }, + }, + limits.metadata_reserve // 4, + ) + except BaseException as closeout: + exc.add_note("reference failure closeout: " + type(closeout).__name__) + result = { + "schema": SCHEMA, + "case_id": identity.case_id, + "method": METHOD, + **binding, + "source_identity": source_identity, + "schedule_identity": schedule.identity, + "status": "completed" if completed else "failed", + "numerical_complete": completed, + "scientific_pass": False, + "scientific_status": "failed" + if error or first_scientific + else "unknown_reference_error", + "counts": counts, + "first_failure": failure_pointer, + "first_scientific_failure": first_scientific, + "last_numerical_accepted": { + "identity": last_point.identity, + "time_hex": last_point.time.hex(), + }, + "observed_history": { + "path": str(path.relative_to(directory)), + "encoding": encoding, + "records": writer.records, + "logical_sha256": writer.logical_sha256, + "logical_bytes": writer.logical_bytes, + "encoded_bytes": writer.encoded_bytes, + "closed": writer.closed, + "writer_error": writer.error, + }, + "elapsed_s": time.monotonic() - guard.start, + } + measured( + "artifact_io", + _write_new, + directory / "RunResult.json", + result, + limits.metadata_reserve // 8, + ) + _require( + sum(f.stat().st_size for f in directory.rglob("*") if f.is_file()) + <= limits.output_bytes, + "combined_output_cap", + ) + if error is not None: + error.add_note( + "Reference result retained at " + str(directory / "RunResult.json") + ) + raise error + return result + + +def _strict_object(pairs: list) -> dict: + result = {} + for key, value in pairs: + _require(key not in result, "duplicate_JSON_key") + result[key] = value + return result + + +def _read_json(path: Path, limit: int = 4 * 1048576) -> dict: + with path.open("rb") as stream: + raw = stream.read(limit + 1) + _require(len(raw) <= limit, "metadata_size") + value = json.loads(raw, object_pairs_hook=_strict_object) + _require(isinstance(value, dict), "metadata_object") + canonical(value) # Reject nonfinite JSON constants before using them. + return value + + +def _integer(value: Any, minimum: int = 0) -> bool: + return type(value) is int and value >= minimum + + +def _check_enclosure(value: Any) -> None: + _require( + isinstance(value, dict) and set(value) == {"center", "radius"}, "enclosure" + ) + _unpair(value["center"]) + _require(_unpair(value["radius"]) >= 0, "negative_radius") + + +def _word_values(value: Mapping, size: int) -> tuple[Fraction, ...]: + _validate_words(value, size) + return tuple( + sum( + ( + Fraction(_hex_time(row[i], nonnegative=False)) + for row in value["words_hex"] + ), + Fraction(), + ) + for i in range(size) + ) + + +def read_reference_history( + directory: Path, + layout: Layout, + expected_identity: RunIdentity, + *, + max_record_bytes: int = 1048576, + max_logical_bytes: int = 32 * GIB, + checkpoint: Callable[[], None] | None = None, +) -> dict: + """Independently check BE sequence/codec/clock/seal, without a model solve.""" + directory = Path(directory) + _require( + _integer(max_record_bytes, 1) + and max_record_bytes <= 1048576 + and _integer(max_logical_bytes, 1) + and max_logical_bytes <= 32 * GIB, + "reader_limits", + ) + checkpoint = checkpoint or (lambda: None) + checkpoint() + result = _read_json(directory / "RunResult.json") + _require( + all(result.get(k) == v for k, v in expected_identity.payload().items()), + "result_identity", + ) + _require( + result.get("schema") == SCHEMA + and result.get("method") == METHOD + and result.get("scientific_pass") is False + and type(result.get("numerical_complete")) is bool, + "result_schema", + ) + request = _read_json(directory / "ReferenceRequest.json") + _require(digest(request) == expected_identity.input_sha256, "saved_input_digest") + meta = result["observed_history"] + relative = Path(meta["path"]) + _require(not relative.is_absolute() and ".." not in relative.parts, "history_path") + history_path = directory / relative + _require( + history_path.resolve().is_relative_to(directory.resolve()), + "history_path_escape", + ) + reader = HistoryReader( + history_path, + encoding=meta["encoding"], + max_record_bytes=max_record_bytes, + max_logical_bytes=max_logical_bytes, + ) + previous_hash = None + previous_point = None + reference = None + tags = [] + seen_tags = [] + steps = 0 + segment_steps = 0 + segment = None + generation = 0 + expected_schedule = None + next_interval = 1 + cumulative = [{"center": [0, 1], "radius": [0, 1]} for _ in range(3)] + final = None + failure = None + first_scientific = None + safety_stopped = False + last_safe_point = None + samples = [] + solver_totals = {"residual_evaluations": 0, "factorizations": 0, "linear_solves": 0} + field_units = json.loads( + canonical({v.id: asdict(v.unit) for v in layout.variables}) + ) + residual_units = [] + residual_allowances = [] + storage_size = sum( + math.prod(e.shape) for e in layout.equations if e.role == "storage" + ) + logical = sha256() + records = 0 + + def check_state(value: Any, point: Point) -> None: + nonlocal first_scientific, safety_stopped, last_safe_point + _require( + isinstance(value, dict) + and type(value.get("safety_pass")) is bool + and type(value.get("scientific_failed")) is bool, + "state_check_contract", + ) + safety_stopped = not value["safety_pass"] + if value["safety_pass"]: + last_safe_point = point + if value["scientific_failed"] and first_scientific is None: + first_scientific = { + "point_identity": point.identity, + "time_hex": point.time.hex(), + "checks": value, + } + + try: + for line in reader: + checkpoint() + _require(line.endswith(b"\n"), "partial_history_tail") + logical.update(line) + row = json.loads( + line, + object_pairs_hook=_strict_object, + parse_constant=lambda value: (_ for _ in ()).throw( + ContractError("reference_be_nonfinite_JSON") + ), + ) + records += 1 + expected_hash = row["record_sha256"] + content = {k: v for k, v in row.items() if k != "record_sha256"} + _require( + digest(content) == expected_hash + and row["previous_record_sha256"] == previous_hash, + "record_chain", + ) + previous_hash = expected_hash + _require( + row["schema"] == SCHEMA + and type(row["version"]) is int + and row["version"] == 1 + and row["method"] == METHOD + and row["case_id"] == expected_identity.case_id, + "record_identity", + ) + _require(final is None and failure is None, "records_after_terminal") + kind = row["kind"] + _require( + not safety_stopped or kind == "be_reference_failure", + "continued_after_safety_failure", + ) + if kind == "be_reference_header": + _require( + records == 1 and row["identity"] == expected_identity.payload(), + "header_identity", + ) + reference = row["original_reference"] + previous_point = unpack_point(row["initial"], reference, layout) + # The producer retains the initial Point even if its separate + # safety predicate fails before there is a safe accepted state. + last_safe_point = previous_point + _require( + previous_point.identity == expected_identity.initial_point_identity, + "initial_Point_identity", + ) + _require( + row["field_units"] == field_units + and row["scientific_pass"] is False, + "header_physical_semantics", + ) + controls = { + k: row[k] + for k in ( + "method", + "step_options", + "storage_secant_arithmetic", + "equation_budgets", + "solver_scaling", + "observation_controls", + ) + } + _require( + digest(controls) == expected_identity.controls_sha256 + and row["step_options"] == STEP_OPTIONS, + "controls_identity", + ) + secant_arithmetic = row["storage_secant_arithmetic"] + _require( + secant_arithmetic in SECANT_ARITHMETICS, + "unsupported_secant_arithmetic", + ) + _require( + set(row["solver_scaling"]) == {"rows", "columns"}, "solver_scaling" + ) + for scale in row["solver_scaling"].values(): + _require( + len(scale) == layout.size + and all(_hex_time(x) > 0 for x in scale), + "solver_scaling", + ) + check_state(row["initial_state_checks"], previous_point) + _require( + set(row["equation_budgets"]) == {e.id for e in layout.equations}, + "budget_keys", + ) + for equation in layout.equations: + unit = ( + equation.unit * SECOND + if equation.role == "storage" + else equation.unit + ) + expected_unit = json.loads(canonical(asdict(unit))) + budget = row["equation_budgets"][equation.id] + size = math.prod(equation.shape) + _require( + budget["unit"] == expected_unit + and len(budget["absolute_hex"]) == size, + "budget_unit_or_shape", + ) + amounts = [Fraction(_hex_time(v)) for v in budget["absolute_hex"]] + _require(all(v > 0 for v in amounts), "budget_nonpositive") + residual_units.extend([expected_unit] * size) + residual_allowances.extend(amounts) + tags = row["schedule"]["tags"] + _require( + row["schedule"]["identity"] == result["schedule_identity"], + "schedule_identity", + ) + segments = tuple( + SimpleNamespace(**s) for s in row["schedule"]["segments"] + ) + _require( + digest(row["schedule"]["segments"]) + == digest(request.get("segments", [])[: len(segments)]), + "request_protocol_binding", + ) + if "observation_times" in request: + _require( + digest(tags) + == digest(tags_from_request(request, len(segments))), + "original_request_tags", + ) + expected_schedule = compile_schedule( + segments, + tags, + level=row["schedule"]["level"], + seed=_unpair(row["schedule"]["seed"]), + ) + _require( + expected_schedule.identity == result["schedule_identity"] + and row["schedule"]["steps"] == len(expected_schedule.steps), + "saved_schedule_identity", + ) + first_inputs, _, _ = _protocol_at(segments[0], previous_point.time) + _require( + _input_words(previous_point.inputs) == _input_words(first_inputs), + "initial_protocol_inputs", + ) + source = row["source_identity"] + _require(source == result["source_identity"], "source_identity") + else: + _require( + reference is not None and row["source_identity"] == source, + "missing_header_or_foreign_source", + ) + if kind == "be_segment_start": + point = unpack_point(row["point"], reference, layout) + _require( + point.identity == previous_point.identity + and _integer(row["generation"], 1) + and row["generation"] == generation + 1 + and generation < len(segments) + and row["segment"] == segments[generation].id + and point.time == segments[generation].start + and row["physical_state_reset"] is False + and row["native_initialization"] is False, + "event_history", + ) + spec = segments[generation] + first = np.array([spec.voltage[0], spec.photons[0]], dtype=float) + last = np.array([spec.voltage[1], spec.photons[1]], dtype=float) + rate = (last - first) / (spec.end - spec.start) + _require( + np.array_equal(point.inputs, first) + and row["input_rate_hex"] == [float(v).hex() for v in rate], + "event_input_rate", + ) + segment, generation, segment_steps = ( + row["segment"], + row["generation"], + 0, + ) + elif kind == "be_accepted_step": + _require( + steps < len(expected_schedule.steps) + and next_interval == steps + 1, + "missing_interval_observation", + ) + scheduled = expected_schedule.steps[steps] + right = unpack_point(row["right"], reference, layout) + h = _hex_time(row["h_hex"]) + _require( + all( + _integer(row[k]) + for k in ( + "order", + "step_index", + "segment_step", + "generation", + "window_index", + ) + ) + and row["order"] == 1 + and row["step_index"] == steps + 1 + and row["segment_step"] == segment_steps + 1 + and row["segment"] == segment + and row["generation"] == generation + and generation == scheduled.segment_index + 1, + "step_sequence", + ) + left_t, right_t = ( + _hex_time(row["t_left_hex"]), + _hex_time(row["t_right_hex"]), + ) + _require( + row["left_identity"] == previous_point.identity + and previous_point.time == left_t + and right.time == right_t + and h > 0 + and Fraction(right_t) - Fraction(left_t) == Fraction(h) + and left_t + h == right_t, + "step_clock_or_state", + ) + _require( + (left_t, right_t, h, row["window_index"]) + == ( + scheduled.left, + scheduled.right, + scheduled.h, + scheduled.window_index, + ), + "step_not_on_frozen_schedule", + ) + _check_step_protocol( + row, previous_point, right, segments[scheduled.segment_index] + ) + _check_step_arithmetic( + row, previous_point, right, storage_size, secant_arithmetic + ) + residual = _word_values(row["residual_words"], len(residual_units)) + ratios = tuple(_unpair(x) for x in row["residual_ratios"]) + _require( + row["residual_units"] == residual_units + and [_unpair(x) for x in row["residual_allowances"]] + == residual_allowances + and ratios + == tuple( + abs(x) / a for x, a in zip(residual, residual_allowances) + ) + and all(x <= 1 for x in ratios), + "unaccepted_equation_residual", + ) + _require( + set(row["solver_counts"]) == set(solver_totals), "solver_counts" + ) + _check_newton(row, previous_point, right, ratios) + for k in solver_totals: + _require(_integer(row["solver_counts"][k]), "solver_counts") + solver_totals[k] += row["solver_counts"][k] + check_state(row["state_checks"], right) + _require( + row["scientific_failure_latched"] + is (first_scientific is not None) + and row["physical_acceptance_awarded"] is False, + "scientific_latch", + ) + previous_point = right + steps += 1 + segment_steps += 1 + elif kind == "be_observation": + _require( + row["point_identity"] == previous_point.identity, + "observation_point", + ) + if row["tag"] is not None: + _require( + next_interval == steps + 1, + "tag_before_interval_observation", + ) + _require( + len(seen_tags) < len(tags) + and digest(row["tag"]) == digest(tags[len(seen_tags)]) + and row["tag"]["time_hex"] == previous_point.time.hex() + and row["tag"]["segment"] == segment, + "observation_tag", + ) + _require( + row["physical_state_words"] == _physical(previous_point), + "observation_physical_words", + ) + _require( + row["units"] == field_units + and row["ports"]["unit"] == "A" + and row["charges"]["unit"] == "C" + and row["derivative_origin"] + in { + "same_state_affine_tangent", + "manufactured_analytic_tangent", + }, + "observation_semantics", + ) + for k in ("left", "right"): + _check_enclosure(row["ports"][k]) + for k in ("device", "left_metal", "right_metal"): + _check_enclosure(row["charges"][k]) + _require( + row["cumulative_physical_flux"] == cumulative, + "sample_flux_prefix", + ) + seen_tags.append(row["tag"]) + samples.append(row) + else: + _require( + row["interval_step"] == steps == next_interval + and type(row["interval_step"]) is int + and row["window_index"] + == expected_schedule.steps[steps - 1].window_index + and row["interval_observation"]["unit"] == "C" + and row["interval_observation"][ + "storage_secant_used_as_flux" + ] + is False, + "interval_observation_sequence", + ) + cumulative = _sum_enclosures( + cumulative, row["interval_observation"]["physical_flux"] + ) + _require( + row["cumulative_physical_flux"] == cumulative, + "interval_flux_prefix", + ) + next_interval += 1 + elif kind == "be_reference_final": + _require( + row["numerical_complete"] is True + and row["scientific_pass"] is False + and row["last_point_identity"] == previous_point.identity + and row["counts"]["accepted_steps"] == steps + and steps == len(expected_schedule.steps) + and next_interval == steps + 1, + "final_record", + ) + final = row + elif kind == "be_reference_failure": + _require( + row["numerical_complete"] is False + and row["scientific_pass"] is False, + "failure_record", + ) + failure = row + body = row["failure"] + location = body.get("location") + _require( + isinstance(location, dict) + and set(location) + == { + "phase", + "target_step", + "last_persisted_record_index", + "previous_record_sha256", + "last_numerical_accepted", + } + and type(location["phase"]) is str + and bool(location["phase"]) + and _integer(location["last_persisted_record_index"]) + and location["last_persisted_record_index"] == records - 1 + and location["previous_record_sha256"] + == row["previous_record_sha256"] + and location["last_numerical_accepted"] + == { + "identity": previous_point.identity, + "time_hex": previous_point.time.hex(), + }, + "failure_location_binding", + ) + target = location["target_step"] + if target is not None: + _require( + isinstance(target, dict) + and set(target) + == {"index", "segment", "t_left_hex", "t_right_hex"} + and _integer(target["index"], 1) + and target["index"] in {steps, steps + 1} + and target["index"] <= len(expected_schedule.steps), + "failure_target_binding", + ) + failed_target = expected_schedule.steps[target["index"] - 1] + _require( + target + == { + "index": failed_target.index, + "segment": segments[failed_target.segment_index].id, + "t_left_hex": failed_target.left.hex(), + "t_right_hex": failed_target.right.hex(), + }, + "failure_target_binding", + ) + else: + _require(steps == generation == 0, "failure_target_binding") + _require( + type(body.get("exception")) is str + and bool(body["exception"]) + and type(body.get("reason")) is str + and body["counts"] == result["counts"] + and body["first_scientific_failure"] == first_scientific + and unpack_point(body["last_point"], reference, layout).identity + == previous_point.identity + and unpack_point( + body["last_safe_point"], reference, layout + ).identity + == last_safe_point.identity, + "failure_state_binding", + ) + pointer = { + "type": body["exception"], + "reason": body["reason"], + "location": location, + "failure_sha256": digest(body), + "record_index": records, + "record_sha256": row["record_sha256"], + } + _require( + result.get("first_failure") == pointer, "failure_result_binding" + ) + side_file = directory / "FirstFailure.json" + _require(side_file.is_file(), "failure_side_file_binding") + _require( + _read_json(side_file) + == { + **body, + **{ + k: pointer[k] + for k in ( + "failure_sha256", + "record_index", + "record_sha256", + ) + }, + }, + "failure_side_file_binding", + ) + else: + raise ContractError("reference_be_unknown_record_kind") + finally: + reader.close() + _require( + reader.eof_seen + and not reader.partial_tail + and records == meta["records"] + and reader.logical_bytes == meta["logical_bytes"] + and logical.hexdigest() == meta["logical_sha256"] + and history_path.stat().st_size == meta["encoded_bytes"] + and meta["closed"] is True + and records > 0 + and expected_schedule is not None + and meta.get("writer_error") is None, + "history_seal", + ) + complete = result["numerical_complete"] is True + _require( + (final is not None) == complete + and (not complete or len(seen_tags) == len(tags)) + and steps == result["counts"]["accepted_steps"], + "result_completeness", + ) + _require( + all(_integer(v) for v in result["counts"].values()) + and result["counts"]["observations"] == len(samples) + and result["counts"]["segments"] == generation + and all(result["counts"][k] == v for k, v in solver_totals.items()), + "result_counts", + ) + _require( + result["first_scientific_failure"] == first_scientific + and result["last_numerical_accepted"] + == {"identity": previous_point.identity, "time_hex": previous_point.time.hex()}, + "result_last_state_or_latch", + ) + if complete: + _require( + not safety_stopped + and final["counts"] == result["counts"] + and final["first_scientific_failure"] == first_scientific + and result["first_failure"] is None + and not (directory / "FirstFailure.json").exists() + and result["status"] == "completed" + and result["scientific_status"] + == ("failed" if first_scientific else "unknown_reference_error"), + "completed_result_semantics", + ) + else: + _require( + failure is not None + and result["first_failure"] is not None + and result["status"] == "failed" + and result["scientific_status"] == "failed", + "failed_result_semantics", + ) + checkpoint() + return { + "schema": SCHEMA, + "case_id": expected_identity.case_id, + "method": METHOD, + "structural_pass": True, + "numerical_complete": complete, + "scientific_pass": False, + "scientific_status": result["scientific_status"], + "step_consistency_checked": { + "protocol_inputs_and_rates": True, + "full_word_increments": True, + "declared_secant_division": True, + "newton_diagnostics": True, + }, + "E3_coefficients_status": "not_evaluated", + "records": records, + "accepted_steps": steps, + "tagged_observations": len(seen_tags), + "observed_history": dict(meta), + "observations": samples, + } + + +def order_check(d01: tuple[Fraction, Fraction], d12: tuple[Fraction, Fraction]) -> dict: + """Check complete interval evidence; 20% scalar check is not independent.""" + a, ar, b, br = map(_fraction, (*d01, *d12)) + _require(ar >= 0 and br >= 0, "negative_radius") + al, ah, bl, bh = abs(a) - ar, abs(a) + ar, abs(b) - br, abs(b) + br + if al <= 0 or bl <= 0: + return {"status": "unknown", "reason": "unresolved_difference"} + if a * b <= 0: + return {"status": "failed", "reason": "oscillatory_difference"} + lower, upper = al / bh, ah / bl + status = ( + "passed" + if lower**5 >= 16 and upper**5 <= 64 + else ("failed" if upper**5 < 16 or lower**5 > 64 else "unknown") + ) + return { + "status": status, + "ratio_lower": _pair(lower), + "ratio_upper": _pair(upper), + "scalar_consistency_is_independent": False, + } + + +def propagate_error(initial: Fraction, rows: list[Mapping]) -> list[Fraction]: + """Evaluate a supplied, source-reviewed dimensionless recurrence, no oracle.""" + value = _fraction(initial) + _require(value >= 0, "negative_initial_error") + result = [] + for row in rows: + _require( + set(row) >= {"G", "R", "U", "evidence_identity"} + and row["evidence_identity"], + "missing_propagation_evidence", + ) + g, r, u = (_fraction(row[k]) for k in ("G", "R", "U")) + _require(min(g, r, u) >= 0, "negative_propagation_component") + value = g * value + r + u + result.append(value) + return result + + +def _enclosure(value: Any) -> dict: + return {"center": _pair(value.center), "radius": _pair(value.radius)} + + +class SlabObserver: + """Use the existing full-word physical observation, without native history.""" + + def __init__( + self, + model: Any, + absolute_error_C: Fraction, + checkpoint: Callable[[], None] | None = None, + ): + from scripts.benchmarks.interval_observation import BallIntegrator + + self.model = model + self.absolute_error = _fraction(absolute_error_C) + _require(self.absolute_error > 0, "observation_budget") + self.arithmetic = BallIntegrator(bits=512, evaluations=8192, depth=32) + self.checkpoint = checkpoint or (lambda: None) + + def path(self, left: Point, right: Point, segment: Any, ordinal: int): + from scripts.benchmarks.interval_observation import ( + AcceptedClock, + Polynomial, + PolynomialPath, + SlabPathObserver, + ) + + lo, hi = _physical_exact(left), _physical_exact(right) + h = Fraction(right.time) - Fraction(left.time) + _require(h > 0, "path_time") + clock = AcceptedClock( + Fraction(left.time), + Fraction(right.time), + h, + 1, + ordinal, + 1, + Fraction(segment.start), + Fraction(segment.end), + segment.id, + "BE-reference", + ) + fields = { + k: tuple(Polynomial((b, b - a)) for a, b in zip(lo[k], hi[k])) for k in lo + } + inputs = tuple( + Polynomial((Fraction(float(b)), Fraction(float(b)) - Fraction(float(a)))) + for a, b in zip(left.inputs, right.inputs) + ) + path = PolynomialPath( + clock, + fields, + inputs, + self.model.source_identity, + self.model.layout.identity, + digest({"left": left.identity, "right": right.identity}), + "declared_reconstruction", + ) + return SlabPathObserver(self.model, path) + + def point(self, point: Point, segment: Any) -> dict: + from scripts.benchmarks.interval_observation import ( + AcceptedClock, + Enclosure, + Polynomial, + PolynomialPath, + SlabPathObserver, + ) + + self.checkpoint() + self.arithmetic.calls.clear() + physical = _physical_exact(point) + h = Fraction(segment.end) - Fraction(segment.start) + clock = AcceptedClock( + Fraction(segment.start), + Fraction(segment.end), + h, + 1, + 1, + 1, + Fraction(segment.start), + Fraction(segment.end), + segment.id, + "BE-point-probe", + ) + fields = { + k: tuple(Polynomial((v,)) for v in values) for k, values in physical.items() + } + endpoints = (segment.voltage, segment.photons) + inputs = tuple( + Polynomial( + ( + Fraction(float(pair[1])), + Fraction(float(pair[1])) - Fraction(float(pair[0])), + ) + ) + for pair in endpoints + ) + path = PolynomialPath( + clock, + fields, + inputs, + self.model.source_identity, + self.model.layout.identity, + digest({"point": point.identity, "side_segment": segment.id}), + "declared_reconstruction", + ) + observer = SlabPathObserver(self.model, path) + coordinate = clock.coordinate(point.time) + ports = [ + self.arithmetic.point( + lambda z, analytic, i=i: observer.currents( + self.arithmetic, z, analytic + )["same_state_affine_tangent_current"][i], + coordinate, + ) + for i in range(2) + ] + charges = [ + Enclosure(p.at(coordinate)) + for name in ("body_charge", "metal_charge") + for p in path.action(self.model.linear_forms["state"][name]) + ] + return { + "ports": { + "left": _enclosure(ports[0]), + "right": _enclosure(ports[1]), + "unit": "A", + }, + "charges": { + "device": _enclosure(charges[0]), + "left_metal": _enclosure(charges[1]), + "right_metal": _enclosure(charges[2]), + "unit": "C", + }, + "observation_uncertainty": "finite returned Arb balls and exact affine actions", + "derivative_origin": "same_state_affine_tangent", + "evidence_status": "represented_point_only; finite-g/global-reference error separate", + } + + def interval( + self, left: Point, right: Point, step: Any, segment: Any, target: TimeStep + ) -> dict: + observer = self.path(left, right, segment, target.segment_step) + arithmetic = self.arithmetic + h = Fraction(target.h) + arithmetic.calls.clear() + + def flux(channel, z, analytic): + self.checkpoint() + if channel == 0: + carriers, _ = observer.fluxes(arithmetic, z, analytic) + capture = ( + observer.capture_charge_rate[0] + observer.capture_charge_rate[-1] + ) + return arithmetic.number(observer.area) * ( + carriers[0] - carriers[-1] + ) + arithmetic.polynomial(capture, z) + return ( + arithmetic.polynomial(observer.tangent_metal_polynomial[channel - 1], z) + + observer.tangent_metal_flux(arithmetic, z, analytic)[channel - 1] + ) + + values = [ + arithmetic.integrate( + lambda z, analytic, i=i: arithmetic.number(h) * flux(i, z, analytic), + -1, + 0, + self.absolute_error, + ) + for i in range(3) + ] + # No absolute-L1 bound or forward-error value is invented here. + calls = len(arithmetic.calls) + arithmetic.calls.clear() + return { + "physical_flux": [_enclosure(v) for v in values], + "unit": "C", + "path_identity": observer.path.identity, + "origin": "declared_reconstruction", + "integral_abs_F_lower": None, + "integral_abs_F_upper": None, + "reference_error": None, + "reference_error_status": "unknown_reference_error", + "storage_secant_used_as_flux": False, + "quadrature_calls": calls, + } + + +def _reference_model(request: Mapping) -> Any: + from scripts.benchmarks.coupled_device_prototype import ( + AffineCoupledSlab, + SlabDefinition, + ) + + packet = request["numeric_packet"] + _require(_integer(packet["intervals"], 2), "layout_intervals") + definition = SlabDefinition(**packet["definition"]) + _require( + definition.identity == packet.get("definition_identity"), + "layout_definition_identity", + ) + model = AffineCoupledSlab(definition, packet["intervals"]) + _require(model.layout.identity == packet.get("layout_identity"), "layout_identity") + return model + + +def reference_layout(request: Mapping) -> Layout: + """Return a Layout from an already bound request, using the producer model. + + Only public model/geometry/coordinate construction is performed, including + its static sparse factorization. No time step or observation is evaluated. + The caller still owns the request's byte/canonical pin and execution identity. + """ + return _reference_model(request).layout + + +def prepare_B_backend( + request: dict, configuration: dict, *, checkpoint: Callable[[], None] | None = None +) -> Backend: + """Construct only an explicitly admitted, source-bound B input. + + This function is not called by manufactured tests. It uses the real public + model/validator and the real observation dependency, without replacing any + shared function or mutating its model definition. + """ + from scripts.benchmarks.coupled_device_prototype import ( + AffineVoltageMap, + ProtocolSegment, + affine_state_quality_evidence, + validate_voltage_lift_native_request, + ) + from scripts.benchmarks.interval_observation import BallIntegrator + + _require( + configuration.get("scientific_execution_authorized") is True + and configuration.get("source_review_accepted") is True + and configuration.get("method_status") == "frozen" + and bool(configuration.get("commander_admission_identity")), + "B_not_admitted", + ) + _require( + request.get("case_id") == "DynamicAcceptorIonPublicDeviceV1" + and request["numeric_packet"]["intervals"] == 8, + "B_scope", + ) + # Verify the selected observer exists before constructing/evaluating B. + BallIntegrator(bits=512, evaluations=8192, depth=32) + model = _reference_model(request) + definition = model.definition + mapping = AffineVoltageMap( + model, mapped_input_profile=request["voltage_lift_map"]["mapped_input_profile"] + ) + segments = tuple(ProtocolSegment(**s) for s in request["segments"]) + validate_voltage_lift_native_request(mapping, segments, request) + reference = decode_point( + request["numeric_packet"]["initial_reference"], model.layout + ) + _require(reference.identity == model.reference.identity, "B_original_reference") + frame = request["initial_segment_frame"] + primitive = FrameInputExpansion( + tuple( + np.asarray([float.fromhex(v) for v in row]) + for row in frame["physical_handoff_words_hex"] + ) + ) + inputs, _ = segments[0].inputs(segments[0].start) + initial, _ = model.coordinates.trial( + model.reference, + primitive, + segments[0].start, + inputs, + predecessor=model.reference, + ) + _require( + initial.identity == request["initial_preparation"]["point_identity"], + "B_actual_initial_Point", + ) + supplied = configuration["equation_budgets"] + budgets = {} + for equation in model.layout.equations: + unit = equation.unit * SECOND if equation.role == "storage" else equation.unit + row = supplied[equation.id] + _require(row["unit"] == json.loads(json.dumps(asdict(unit))), "B_budget_unit") + budgets[equation.id] = EquationBudget( + unit, [float.fromhex(x) for x in row["absolute_hex"]] + ) + _require(set(supplied) == set(budgets), "B_budget_keys") + scaling = PhysicalScaling( + configuration["equation_scaling"], configuration["state_scaling"] + ) + observer = SlabObserver( + model, _unpair(configuration["observation_absolute_error_C"]), checkpoint + ) + + def feasible(point): + values = _physical_exact(point) + for spec in model.layout.variables: + row = values[spec.id] + if spec.id in {"n_m3", "p_m3"} and min(row) <= 0: + return False + if spec.lower is not None and min(row) < Fraction(spec.lower): + return False + if spec.upper is not None and max(row) > Fraction(spec.upper): + return False + if spec.id == "c_m3" and max(row) >= Fraction(definition.ion_capacity): + return False + return True + + def checks(point): + result = affine_state_quality_evidence(model, point, request["budgets"]) + return { + "safety_pass": feasible(point), + "scientific_failed": result.get("passed") is False, + "same_state_evidence": result, + } + + count = configuration.get("segment_count", 3) + _require(type(count) is int and count in (2, 3), "B_horizon") + return Backend( + model.public_problem(), + model.coordinates, + initial, + scaling, + budgets, + segments[:count], + feasible, + checks, + observer.point, + observer.interval, + { + "kind": "real_B", + "source_identity": model.source_identity, + "observation_controls": { + "arithmetic": "python-flint==0.8.0", + "bits": 512, + "evaluations": 8192, + "depth": 32, + "absolute_error_C": _pair(observer.absolute_error), + "path": "declared_reconstruction", + "ports": "same_state_affine_tangent", + }, + "original_initial_rate": request["initial_preparation"], + "original_frame": frame, + "native_history_created": False, + "model_id": definition.id, + "scientific_qualification": False, + }, + ) + + +def tags_from_request(request: dict, segment_count: int) -> list[dict]: + """Preserve the original binary64 label words, including a prefix's sides.""" + segments = request["segments"] + _require( + type(segment_count) is int and 1 <= segment_count <= len(segments), + "request_horizon", + ) + _require( + set(request["observation_times"]) == {s["id"] for s in segments}, + "request_sample_segments", + ) + tags = [] + for ordinal, segment in enumerate(segments[:segment_count]): + values = request["observation_times"][segment["id"]] + _require( + isinstance(values, list) + and len(values) >= 2 + and all(type(t) in (int, float) and math.isfinite(t) for t in values) + and values[0] == segment["start"] + and values[-1] == segment["end"] + and all(a < b for a, b in zip(values, values[1:])), + "request_sample_times", + ) + tags.extend( + { + "segment": segment["id"], + "index": index, + "time_hex": float(value).hex(), + "event_side": "right" + if index == 0 + else "left" + if index == len(values) - 1 + else "interior", + "protocol_initial": ordinal == index == 0, + "protocol_terminal": ordinal == len(segments) - 1 + and index == len(values) - 1, + } + for index, value in enumerate(values) + ) + return tags + + +def _pinned_bytes(descriptor: dict) -> bytes: + path = Path(descriptor["path"]) + with path.open("rb") as stream: + raw = stream.read(4 * 1048576 + 1) + _require( + len(raw) <= 4 * 1048576 + and sha256(raw).hexdigest() == descriptor["sha256"] + and ( + "bytes" not in descriptor + or _integer(descriptor["bytes"], 1) + and len(raw) == descriptor["bytes"] + ), + "file_pin", + ) + return raw + + +def read_frozen_definition(descriptor: dict, *, schema: str) -> dict: + """Validate the commander wrapper and its unchanged reviewed JSON body. + + The SHA and byte checks identify documents; they do not create execution + authority. Every caller must still enforce its independent admission gate. + """ + value = json.loads(_pinned_bytes(descriptor), object_pairs_hook=_strict_object) + canonical(value) + _require( + isinstance(value, dict) + and value.get("schema") == schema + and value.get("status") == "frozen", + "method_unfrozen" if schema == METHOD_SCHEMA else "definition_unfrozen", + ) + required = { + "frozen_at", + "frozen_by", + "reviewed_path", + "reviewed_sha256", + "reviewed_bytes", + "review_records", + "user_records", + } + freeze = value.get("freeze") + _require( + isinstance(freeze, dict) + and required <= set(freeze) <= required | {"notes", "plan_rule"}, + "freeze_fields", + ) + _require( + all( + type(freeze[k]) is str and bool(freeze[k]) + for k in ("frozen_at", "frozen_by", "reviewed_path") + ) + and _is_digest(freeze["reviewed_sha256"]) + and _integer(freeze["reviewed_bytes"], 1) + and isinstance(freeze["review_records"], list) + and bool(freeze["review_records"]) + and isinstance(freeze["user_records"], list) + and bool(freeze["user_records"]) + and all( + type(record) is str and bool(record) for record in freeze["user_records"] + ) + and all( + isinstance(record, dict) + and type(record.get("path")) is str + and bool(record["path"]) + and _is_digest(record.get("sha256")) + for record in freeze["review_records"] + ), + "freeze_metadata", + ) + if "notes" in freeze: + _require( + isinstance(freeze["notes"], list) + and all(type(note) is str for note in freeze["notes"]), + "freeze_notes", + ) + if "plan_rule" in freeze: + _require( + type(freeze["plan_rule"]) is str and bool(freeze["plan_rule"]), + "freeze_plan_rule", + ) + reviewed_raw = _pinned_bytes( + { + "path": freeze["reviewed_path"], + "sha256": freeze["reviewed_sha256"], + "bytes": freeze["reviewed_bytes"], + } + ) + reviewed = json.loads(reviewed_raw, object_pairs_hook=_strict_object) + _require(isinstance(reviewed, dict), "reviewed_definition_object") + _require( + canonical({k: v for k, v in value.items() if k not in {"status", "freeze"}}) + == canonical({k: v for k, v in reviewed.items() if k != "status"}), + "frozen_reviewed_body", + ) + return value + + +def _runtime_sources(manifest: Mapping, action: str) -> None: + required_sources = {str(Path(__file__).resolve())} + required_sources.update( + str(Path(__file__).resolve().with_name(name)) + for name in ( + "conservative_device.py", + "contract_prototype.py", + "precision_prototype.py", + "coupled_device_prototype.py", + "interval_observation.py", + "native_history.py", + "g2_route.py", + "g2_route_launcher.py", + ) + ) + if action == "evaluate": + required_sources.add( + str(Path(__file__).resolve().with_name("g2_reference_error.py")) + ) + sources = manifest["source_files"] + _require( + isinstance(sources, list) + and len(required_sources) <= len(sources) <= 512 + and required_sources <= {str(Path(s["path"]).resolve()) for s in sources}, + "source_pins", + ) + for source in sources: + _pinned_bytes(source) + + +def _run_manifest(manifest: dict, runtime: StageRuntime, method: dict) -> int: + config = manifest["configuration"] + _require(method["time_ladder"]["seed_cap_s"] == [1, 512], "unsupported_method_seed") + identity = RunIdentity(**manifest["identity"]) + identity.payload() + _require( + identity.case_id == runtime.case_id + and identity.method_contract_sha256 == manifest["method_contract"]["sha256"] + and identity.plan_sha256 == manifest["plan"]["sha256"], + "manifest_identity", + ) + request_path = Path(manifest["request"]["path"]) + _require(request_path.stat().st_size <= 4 * 1048576, "request_size") + raw = _pinned_bytes(manifest["request"]) + request = json.loads(raw, object_pairs_hook=_strict_object) + _require(identity.input_sha256 == digest(request), "manifest_identity") + tags = tags_from_request(request, config.get("segment_count", 3)) + _require(digest(tags) == digest(manifest["tags"]), "original_request_tags") + limits = runtime.limits + guard = Guard(limits, runtime.checkpoint, runtime.started_ns / 10**9) + guard() + with runtime.ledger.span("setup"): + backend = prepare_B_backend(request, config, checkpoint=guard) + expected_tags = 66 if len(backend.segments) == 2 else 131 + _require(len(tags) == expected_tags, "B_tag_count") + schedule = compile_schedule(backend.segments, tags, level=config["ladder_level"]) + _require(schedule.identity == manifest["schedule_identity"], "schedule_pin") + result = run_reference( + backend, + schedule, + identity, + request, + Path(manifest["directory"]), + limits, + encoding=manifest.get("encoding", "raw"), + checkpoint=guard, + started_monotonic=guard.start, + timing=runtime.ledger, + ) + print(json.dumps(result, sort_keys=True)) + return 0 + + +def _read_manifest(manifest: dict, runtime: StageRuntime) -> int: + selected = manifest["history"] + directory = Path(selected["directory"]) + _require( + Path(selected["run_result"]["path"]).resolve() + == (directory / "RunResult.json").resolve(), + "runtime_readback_result_path", + ) + _pinned_bytes(selected["run_result"]) + upstream = _upstream_runtime( + selected["runtime_receipt"], + runtime, + directory, + selected["run_result"], + allow_failed=True, + ) + request = _read_json(directory / "ReferenceRequest.json") + identity = RunIdentity(**selected["identity"]) + with runtime.ledger.span("setup"): + layout = reference_layout(request) + with runtime.ledger.span("reader"): + result = read_reference_history( + directory, + layout, + identity, + max_record_bytes=runtime.limits.record_bytes, + max_logical_bytes=runtime.limits.logical_bytes, + checkpoint=runtime.checkpoint, + ) + qualified = _runtime_completed(upstream) + result["upstream_runtime"] = { + "receipt": selected["runtime_receipt"], + "outcome": upstream["outcome"], + "return_code": upstream["return_code"], + "first_failure": upstream["first_failure"], + "runtime_qualified": qualified, + "scope": "execution integrity only; no scientific qualification", + } + runtime.directory.mkdir(parents=True, exist_ok=False) + with runtime.ledger.span("artifact_io"): + _write_new( + runtime.directory / "Readback.json", + result, + runtime.limits.output_bytes - runtime.limits.metadata_reserve, + ) + print( + json.dumps( + { + "stage": "read", + "structural_pass": result["structural_pass"], + "numerical_complete": result["numerical_complete"], + "scientific_pass": False, + } + ) + ) + return 0 if qualified else 2 + + +def _error_manifest(manifest: dict, runtime: StageRuntime) -> int: + from scripts.benchmarks import g2_reference_error + + reference = manifest["error_manifest"] + error_manifest = json.loads( + _pinned_bytes(reference), object_pairs_hook=_strict_object + ) + _require( + error_manifest.get("directory") == str(runtime.directory) + and error_manifest["method_contract"]["sha256"] + == manifest["method_contract"]["sha256"], + "runtime_error_manifest_binding", + ) + upstream = manifest.get("upstream_runtime") + _require( + isinstance(upstream, list) + and len(upstream) == len(error_manifest["levels"]) == 3, + "runtime_error_upstream", + ) + for binding, level in zip(upstream, error_manifest["levels"], strict=True): + directory = Path(level["directory"]) + _upstream_runtime(binding, runtime, directory) + error_limits = Limits(**error_manifest["limits"]) + error_limits.validate() + _require( + all( + getattr(error_limits, name) <= getattr(runtime.limits, name) + for name in ( + "wall_s", + "rss_bytes", + "output_bytes", + "logical_bytes", + "record_bytes", + ) + ), + "runtime_error_limits", + ) + # The reader and E1/E3 are explicit follow-up stages. Their internal guard + # cannot enlarge the outer inherited-channel/absolute-pipeline allowance. + with runtime.ledger.span("reference_error"): + return g2_reference_error.main(["evaluate", "--manifest", reference["path"]]) + + +def _runtime_document(binding: dict, expected_path: Path | None = None) -> dict: + """Read a complete immutable metadata pin, keeping integer clocks exact.""" + _require( + type(binding) is dict + and set(binding) == {"path", "bytes", "sha256"} + and type(binding["path"]) is str + and Path(binding["path"]).is_absolute() + and str(Path(binding["path"]).resolve()) == binding["path"] + and _integer(binding["bytes"], 1) + and _is_digest(binding["sha256"]), + "runtime_metadata_pin", + ) + if expected_path is not None: + _require( + binding["path"] == str(expected_path.resolve()), "runtime_upstream_path" + ) + value = json.loads(_pinned_bytes(binding), object_pairs_hook=_strict_object) + _require(type(value) is dict, "runtime_metadata_object") + canonical(value) + return value + + +def _runtime_failure(value: Any) -> bool: + return ( + type(value) is dict + and set(value) == {"type", "reason"} + and type(value["type"]) is str + and bool(value["type"]) + and type(value["reason"]) is str + and len(value["reason"]) <= 4096 + ) + + +def _check_runtime_threads(value: Any, start: int, end: int) -> bool: + fields = { + "library", + "getter", + "before_mode", + "measured_mode", + "required_single_thread_mode", + "thread_environment", + "python_executable", + "python_version", + "checked_ns", + "final_measurement_status", + } + _require( + type(value) is dict + and fields + <= set(value) + <= fields + | {"final_measured_mode", "final_checked_ns", "final_measurement_error"}, + "runtime_thread_fields", + ) + _require( + all( + type(value[k]) is str and bool(value[k]) + for k in ("library", "python_executable", "python_version") + ) + and Path(value["library"]).is_absolute() + and Path(value["python_executable"]).is_absolute() + and value["getter"] == "BLASGetThreading" + and all( + _integer(value[k]) + for k in ( + "before_mode", + "measured_mode", + "required_single_thread_mode", + "checked_ns", + ) + ) + and value["required_single_thread_mode"] == 1 + and start <= value["checked_ns"] <= end + and type(value["thread_environment"]) is dict + and value["thread_environment"] == {k: "1" for k in THREAD_ENVIRONMENT}, + "runtime_thread_evidence", + ) + if "final_measurement_error" in value: + _require( + _runtime_failure(value["final_measurement_error"]), "runtime_thread_error" + ) + if value["final_measurement_status"] == "unavailable": + _require( + "final_measured_mode" not in value + and "final_checked_ns" not in value + and "final_measurement_error" in value, + "runtime_thread_unavailable", + ) + return False + _require( + value["final_measurement_status"] == "measured" + and _integer(value.get("final_measured_mode")) + and _integer(value.get("final_checked_ns")) + and value["checked_ns"] <= value["final_checked_ns"] <= end, + "runtime_thread_final_evidence", + ) + return ( + value["measured_mode"] == value["final_measured_mode"] == 1 + and "final_measurement_error" not in value + ) + + +def _check_runtime_timing(value: Any, start: int, end: int, peak_rss: int) -> None: + fields = { + "clock", + "components", + "segments", + "peak_process_RSS_bytes", + "semantics", + "not_entered", + "unmeasured", + "scientific_decisions_use_timing", + } + _require(type(value) is dict and set(value) == fields, "runtime_timing_fields") + _require( + value["clock"] == "time.monotonic_ns" + and value["scientific_decisions_use_timing"] is False + and _integer(value["peak_process_RSS_bytes"], 1) + and value["peak_process_RSS_bytes"] <= peak_rss + and type(value["semantics"]) is str + and bool(value["semantics"]) + and type(value["unmeasured"]) is list + and all(type(x) is str and bool(x) for x in value["unmeasured"]) + and type(value["components"]) is dict + and set(value["components"]) == set(RUNTIME_PHASES) + and type(value["segments"]) is list + and len(value["segments"]) <= 16, + "runtime_timing_metadata", + ) + for row in value["components"].values(): + _require( + type(row) is dict + and set(row) == {"calls", "exceptions", "wall_ns"} + and all(_integer(v) for v in row.values()) + and row["exceptions"] <= row["calls"] + and row["wall_ns"] <= end - start + and (row["calls"] > 0 or row["wall_ns"] == 0), + "runtime_component_timing", + ) + _require( + value["not_entered"] + == [k for k in RUNTIME_PHASES if value["components"][k]["calls"] == 0], + "runtime_not_entered", + ) + counters = { + "accepted_steps", + "residual_evaluations", + "factorizations", + "linear_solves", + } + fields = counters | { + "segment", + "started_ns", + "ended_ns", + "wall_ns", + "components", + "outcome", + } + previous, names = start, set() + totals = {k: 0 for k in RUNTIME_PHASES} + for row in value["segments"]: + _require(type(row) is dict and set(row) == fields, "runtime_segment_fields") + _require( + type(row["segment"]) is str + and bool(row["segment"]) + and row["segment"] not in names + and all( + _integer(row[k]) + for k in counters | {"started_ns", "ended_ns", "wall_ns"} + ) + and previous <= row["started_ns"] <= row["ended_ns"] <= end + and row["wall_ns"] == row["ended_ns"] - row["started_ns"] + and row["outcome"] in {"completed", "failed"} + and type(row["components"]) is dict + and set(row["components"]) == set(RUNTIME_PHASES), + "runtime_segment_timing", + ) + for name, duration in row["components"].items(): + _require( + _integer(duration) and duration <= row["wall_ns"], + "runtime_segment_component", + ) + totals[name] += duration + previous = row["ended_ns"] + names.add(row["segment"]) + _require( + all(totals[k] <= value["components"][k]["wall_ns"] for k in RUNTIME_PHASES) + and all( + value["components"][k]["calls"] == 0 for k in ("reader", "reference_error") + ), + "runtime_producer_phase_consistency", + ) + + +def _runtime_completed(record: Mapping) -> bool: + return record["outcome"] == "returned" and record["return_code"] == 0 + + +def _upstream_runtime( + binding: dict, + runtime: StageRuntime, + directory: Path, + result_file=None, + *, + allow_failed: bool = False, +) -> dict: + """Validate all producer evidence before read/evaluate can consume it. + + BE3 receipts remain historical evidence; only the complete BE4 receipt + (including its manifest pin) can authorize a new supervised follow-up. + A failed producer can be read explicitly, never qualified for E1/E3. + """ + record = _runtime_document(binding, directory / "RuntimeReceipt.json") + fields = { + "schema", + "stage", + "case_id", + "plan", + "manifest_digest", + "manifest", + "result_file", + "pipeline_clock", + "pipeline_id", + "started_ns", + "ended_ns", + "original_deadline_ns", + "work_deadline_ns", + "execution", + "outcome", + "first_failure", + "return_code", + "thread_receipt", + "peak_process_RSS_bytes", + "timing", + "scientific_pass", + "group_RSS_and_closure_authority", + "followup_stages_executed_implicitly", + } + _require(type(record) is dict and set(record) == fields, "runtime_upstream_fields") + _require( + record["schema"] == RUNTIME_SCHEMA + and record["stage"] == "run" + and type(record["pipeline_id"]) is str + and record["pipeline_id"] == runtime.anchor["pipeline_id"] + and canonical(record["pipeline_clock"]) == canonical(runtime.clock_reference) + and _integer(record["original_deadline_ns"], 1) + and record["original_deadline_ns"] == runtime.anchor["deadline_ns"], + "runtime_upstream_clock", + ) + _require( + type(record["case_id"]) is str + and bool(record["case_id"]) + and _is_digest(record["manifest_digest"]) + and record["scientific_pass"] is False + and record["followup_stages_executed_implicitly"] is False + and record["group_RSS_and_closure_authority"] + == "outer g2_route_launcher receipt" + and _integer(record["peak_process_RSS_bytes"], 1) + and all( + _integer(record[k]) for k in ("started_ns", "ended_ns", "work_deadline_ns") + ), + "runtime_upstream_types", + ) + _runtime_document(record["pipeline_clock"]) + plan = _runtime_document(record["plan"]) + manifest = _runtime_document(record["manifest"], directory / "RuntimeManifest.json") + _require( + digest(manifest) == record["manifest_digest"] + and canonical(manifest.get("plan")) == canonical(record["plan"]) + and manifest.get("case_id", manifest.get("identity", {}).get("case_id")) + == record["case_id"] + and manifest.get("directory") == str(directory.resolve()), + "runtime_upstream_manifest", + ) + _require( + plan.get("status") == "admitted" + and type(plan.get("authority")) is dict + and plan["authority"].get("scientific_execution_authorized") is True + and type(plan.get("cases")) is list + and all(type(c) is dict for c in plan["cases"]) + and type(plan.get("resources")) is dict + and _integer(plan["resources"].get("WS1_channels")) + and plan["resources"]["WS1_channels"] == 4 + and _integer(plan["resources"].get("threads_per_case")) + and plan["resources"]["threads_per_case"] == 1, + "runtime_upstream_plan", + ) + matches = [c for c in plan["cases"] if c.get("id") == record["case_id"]] + ex = record["execution"] + _require( + len(matches) == 1 + and type(ex) is dict + and canonical(matches[0].get("execution")) == canonical(ex) + and ex.get("stage") == "run" + and ex.get("directory") == str(directory.resolve()) + and _integer(ex.get("channel")) + and ex["channel"] < 4 + and type(ex.get("pipeline")) is dict + and set(ex["pipeline"]) == {"id", "clock"} + and ex["pipeline"]["id"] == record["pipeline_id"] + and canonical(ex["pipeline"]["clock"]) == canonical(record["pipeline_clock"]), + "runtime_upstream_execution", + ) + policy = validate_route_supervision(plan, ex) + limits = Limits(**manifest["limits"]) + limits.validate() + cleanup = math.ceil( + sum( + Fraction(policy[k]) + for k in ("term_grace_s", "kill_wait_s", "receipt_reserve_s") + ) + * 10**9 + ) + start, end, deadline = ( + record["started_ns"], + record["ended_ns"], + record["original_deadline_ns"], + ) + _require( + runtime.anchor["started_ns"] <= start <= end <= runtime.started_ns <= deadline + and limits.wall_s <= ex["wall_s"] <= runtime.anchor["wall_s"] + and math.ceil(Fraction(ex["wall_s"]) * 10**9) <= deadline - start + and record["work_deadline_ns"] + == min( + deadline - cleanup, + start + math.floor(Fraction(ex["wall_s"]) * 10**9) - cleanup, + start + math.floor(Fraction(limits.wall_s) * 10**9), + ) + and start < record["work_deadline_ns"] <= deadline + and limits.rss_bytes <= policy["rss_bytes"] <= 4 * GIB + and limits.output_bytes <= policy["artifact_bytes"] <= 4 * GIB, + "runtime_upstream_chronology", + ) + threads_ok = _check_runtime_threads(record["thread_receipt"], start, end) + _check_runtime_timing( + record["timing"], start, end, record["peak_process_RSS_bytes"] + ) + _require( + record["outcome"] in {"returned", "raised"} + and (record["return_code"] is None or _integer(record["return_code"])) + and ( + record["first_failure"] is None or _runtime_failure(record["first_failure"]) + ) + and ( + record["outcome"] == "raised" + and record["first_failure"] is not None + or record["outcome"] == "returned" + and record["first_failure"] is None + and _integer(record["return_code"]) + and threads_ok + and end <= start + math.floor(Fraction(ex["wall_s"]) * 10**9) + and record["peak_process_RSS_bytes"] <= limits.rss_bytes + ), + "runtime_upstream_outcome", + ) + saved = record["result_file"] + _require( + result_file is None or canonical(saved) == canonical(result_file), + "runtime_upstream_result", + ) + result = _runtime_document(saved, directory / "RunResult.json") + _require( + result.get("case_id") == record["case_id"] + and result.get("schema") == SCHEMA + and result.get("plan_sha256") == record["plan"]["sha256"] + and result.get("scientific_pass") is False + and type(result.get("numerical_complete")) is bool + and ( + manifest.get("identity") is None + or all( + result.get(k) == v + for k, v in RunIdentity(**manifest["identity"]).payload().items() + ) + ), + "runtime_upstream_case", + ) + _require( + result.get("status") + == ("completed" if result["numerical_complete"] else "failed") + and (not _runtime_completed(record) or result["numerical_complete"] is True) + and (allow_failed or _runtime_completed(record)), + "runtime_upstream_incomplete", + ) + request = _read_json(directory / "ReferenceRequest.json") + _require(digest(request) == result.get("input_sha256"), "runtime_upstream_request") + segments = record["timing"]["segments"] + _require( + type(request.get("segments")) is list + and [row["segment"] for row in segments] + == [row["id"] for row in request["segments"][: len(segments)]], + "runtime_upstream_protocol_phases", + ) + if _runtime_completed(record): + counts = result.get("counts") + names = ( + "accepted_steps", + "residual_evaluations", + "factorizations", + "linear_solves", + ) + _require( + type(counts) is dict + and all(_integer(counts.get(k)) for k in (*names, "segments")) + and len(segments) == counts["segments"] + and all(sum(row[k] for row in segments) == counts[k] for k in names) + and all(row["outcome"] == "completed" for row in segments), + "runtime_upstream_counts", + ) + return record + + +def main(argv=None) -> int: + parser = argparse.ArgumentParser(description=__doc__) + parser.add_argument("action", choices=("run", "read", "evaluate")) + parser.add_argument("--manifest", type=Path, required=True) + args = parser.parse_args(argv) + _require(args.manifest.stat().st_size <= 4 * 1048576, "manifest_size") + manifest = _read_json(args.manifest) + schema = ( + "solarlab.g2-reference-be-run.v1" + if args.action == "run" + else "solarlab.g2-reference-be-stage.v1" + ) + _require(manifest.get("schema") == schema, "manifest_schema") + method = read_frozen_definition(manifest["method_contract"], schema=METHOD_SCHEMA) + if "gate_spec" in manifest: + read_frozen_definition( + manifest["gate_spec"], schema="solarlab.g2-route.t1-gatespec.v3" + ) + config = manifest["configuration"] + _require(config.get("scientific_execution_authorized") is True, "B_not_admitted") + _require( + config.get("source_review_accepted") is True + and bool(config.get("commander_admission_identity")), + "runtime_source_not_admitted", + ) + plan = json.loads(_pinned_bytes(manifest["plan"]), object_pairs_hook=_strict_object) + _runtime_sources(manifest, args.action) + with supervised_stage(manifest, plan, args.action) as runtime: + if args.action == "run": + code = _run_manifest(manifest, runtime, method) + elif args.action == "read": + code = _read_manifest(manifest, runtime) + else: + code = _error_manifest(manifest, runtime) + runtime.return_code = code + return code + + +if __name__ == "__main__": + raise SystemExit(main()) diff --git a/scripts/benchmarks/g2_reference_error.py b/scripts/benchmarks/g2_reference_error.py new file mode 100644 index 00000000..f49bae3b --- /dev/null +++ b/scripts/benchmarks/g2_reference_error.py @@ -0,0 +1,1658 @@ +"""Offline G2-R conditional reference errors over independently read BE data. + +E1 uses exact rational comparisons. E3 checks supplied source-bound envelopes +of the public conservative operators; missing physical derivative/box/remainder +evidence stays unknown. Numerical computations never award independent review. +""" + +from __future__ import annotations + +import argparse +from dataclasses import asdict, dataclass +from fractions import Fraction +from hashlib import sha256 +import json +import math +from pathlib import Path +import time +from typing import Any, Callable, Mapping + +import numpy as np + +from scripts.benchmarks.contract_prototype import ( + COULOMB, + ONE, + PARTICLE, + SECOND, + VOLT, + VOLUME, + ContractError, + Layout, +) +from scripts.benchmarks.g2_reference_be import ( + METHOD, + SCHEMA as BE_SCHEMA, + Guard, + Limits, + RunIdentity, + canonical, + digest, + read_reference_history, + unpack_point, +) +from scripts.benchmarks.native_history import HistoryReader + +SCHEMA = "solarlab.g2-reference-error.v1" +EVIDENCE_SCHEMA = "solarlab.g2-reference-evidence.v1" +METHOD_SCHEMA = "solarlab.g2-reference-method.v1" +CLAIM = "conditional_uncertainty_estimate" +C = Fraction(42167, 25000) +FS = Fraction(5, 4) +AXES = ( + "evaluation", + "initial_and_algebraic", + "input_clock_parameter", + "trajectory_nonlinear", + "stability_reconstruction", +) +E1_PREMISES = ( + "same_problem", + "same_observable", + "known_order", + "smooth_segments", + "remainder", + "non_time_complete", + "independent_method", +) +E3_PREMISES = ( + "physical_jacobian_enclosure", + "feasible_box", + "local_root_argument", + "residual_error_ownership", + "input_clock_coverage", +) +MAX_MATRIX = 64 +GIB = 1024**3 + + +class MissingEvidence(ValueError): + pass + + +def require(condition: bool, reason: str) -> None: + if not condition: + raise MissingEvidence(reason) + + +def q(value: Any) -> Fraction: + if type(value) is Fraction: + result = value + elif type(value) is int: + result = Fraction(value) + elif type(value) is float: + require(math.isfinite(value), "nonfinite_number") + result = Fraction(value) + elif isinstance(value, (tuple, list)) and len(value) == 2: + require( + all(type(v) is int for v in value) and value[1] > 0, "rational_encoding" + ) + result = Fraction(*value) + else: + raise MissingEvidence("missing_or_invalid_number") + require( + max(result.numerator.bit_length(), result.denominator.bit_length()) <= 16384, + "rational_bit_budget", + ) + return result + + +def pair(value: Any) -> list[int]: + value = q(value) + return [value.numerator, value.denominator] + + +def nonnegative(value: Any) -> Fraction: + value = q(value) + require(value >= 0, "negative_uncertainty") + return value + + +def upper(value: Any, bits: int = 160) -> Fraction: + """Round a nonnegative bound upward to a bounded-size binary significand.""" + value = nonnegative(value) + if value == 0: + return value + shift = value.numerator.bit_length() - value.denominator.bit_length() - bits + 1 + require(abs(shift) <= 8192, "propagation_exponent_budget") + quantum = Fraction(2**shift) if shift >= 0 else Fraction(1, 2**-shift) + scaled = value / quantum + return ((scaled.numerator + scaled.denominator - 1) // scaled.denominator) * quantum + + +def unknown(reason: str, *, failed: bool = False, **details: Any) -> dict: + return { + "status": "unknown_reference_error", + "method_status": "failed" if failed else "unknown", + "reason": reason, + "E_R": None, + **details, + } + + +def _premises(value: Mapping, names: tuple[str, ...]) -> None: + require(isinstance(value, Mapping), "missing_premises") + for name in names: + item = value.get(name) + require( + isinstance(item, Mapping) + and item.get("checked") is True + and type(item.get("source_identity")) is str + and item["source_identity"] + and type(item.get("statement")) is str + and item["statement"], + "missing_premise:" + name, + ) + + +def estimate_e1( + values: list, + uncertainties: list, + *, + premises: Mapping, + zero_time_proof: Mapping | None = None, +) -> dict: + """Three levels are two refinements; contraction alone supplies no E_R.""" + try: + require(len(values) == len(uncertainties) == 3, "three_levels_required") + v = list(map(q, values)) + u = list(map(nonnegative, uncertainties)) + _premises(premises, E1_PREMISES) + d01, d12 = v[0] - v[1], v[1] - v[2] + r01, r12 = u[0] + u[1], u[1] + u[2] + difference = { + "D01": {"center": pair(d01), "radius": pair(r01)}, + "D12": {"center": pair(d12), "radius": pair(r12)}, + } + if zero_time_proof is not None: + require( + zero_time_proof.get("kind") + in {"same_initial_point", "reviewed_constant_or_invariant"} + and zero_time_proof.get("checked") is True + and zero_time_proof.get("source_identity") + and zero_time_proof.get("statement"), + "unsupported_zero_time_proof", + ) + require(v[0] == v[1] == v[2], "zero_time_proof_value_disagreement") + return { + "status": "computed_pending_review", + "method_status": "passed", + "E_R": pair(u[2]), + "route": "supported_zero_time_error", + "zero_time_proof": dict(zero_time_proof), + **difference, + } + al, ah = abs(d01) - r01, abs(d01) + r01 + bl, bh = abs(d12) - r12, abs(d12) + r12 + if al <= 0 or bl <= 0: + return unknown("unresolved_difference_or_zero_denominator", **difference) + if d01 * d12 < 0: + return unknown("oscillatory_differences", failed=True, **difference) + low, high = al / bh, ah / bl + order = { + "ratio_lower": pair(low), + "ratio_upper": pair(high), + "lower_fifth_ge_16": low**5 >= 16, + "upper_fifth_le_64": high**5 <= 64, + } + if high**5 < 16 or low**5 > 64: + return unknown("nonasymptotic_order", failed=True, **difference, **order) + if low**5 < 16 or high**5 > 64: + return unknown("uncertain_order_crosses_frozen_band", **difference, **order) + # The center expression and its contamination retain distinct weights. + error = C * abs(d12) + C * u[1] + (C + 1) * u[2] + denominator = max(al, 2 * bl) + consistency = (abs(d01 - 2 * d12) + r01 + 2 * r12) / denominator + return { + "status": "computed_pending_review", + "method_status": "passed", + "E_R": pair(error), + **difference, + **order, + "terms": { + "time_path": pair(C * abs(d12)), + "level1_non_time": pair(C * u[1]), + "level2_non_time": pair((C + 1) * u[2]), + }, + "weights": [pair(C), pair(C), pair(C + 1)], + "scalar_consistency_upper": pair(consistency), + "scalar_consistency_is_independent": False, + } + except (MissingEvidence, KeyError, TypeError, ValueError, OverflowError) as exc: + return unknown(str(exc)) + + +def _fraction_range(value: Any) -> tuple[float, float]: + value = q(value) + center = float(value) + require(math.isfinite(center), "matrix_float_range") + actual = Fraction(center) + lower = float(np.nextafter(center, -np.inf)) if actual > value else center + higher = float(np.nextafter(center, np.inf)) if actual < value else center + require(math.isfinite(lower) and math.isfinite(higher), "matrix_float_range") + return lower, higher + + +def _matrix_input(values: Any) -> np.ndarray | tuple[tuple[Fraction, ...], ...]: + """Keep exact inputs exact; only binary64-or-narrower floats use the fast path.""" + if hasattr(values, "shape"): + require( + len(values.shape) == 2 + and 0 < values.shape[0] == values.shape[1] <= MAX_MATRIX, + "matrix_shape", + ) + if hasattr(values, "toarray"): + values = values.toarray() + if isinstance(values, np.ndarray): + require(values.ndim == 2, "matrix_shape") + if values.dtype != object: + require(values.dtype.kind in "iuf", "matrix_numeric_type") + if values.dtype.kind == "f": + require(values.dtype.itemsize <= 8, "matrix_float_precision") + a = np.asarray(values, dtype=np.float64) + require(np.isfinite(a).all(), "nonfinite_matrix") + return a + # ndarray.tolist converts integer words directly to Python ints, + # including uint64; no float cast may precede cancellation. + values = values.tolist() + require( + isinstance(values, (tuple, list)) + and 0 < len(values) <= MAX_MATRIX + and all(len(row) == len(values) for row in values), + "matrix_shape", + ) + if all(type(value) is float for row in values for value in row): + a = np.asarray(values, dtype=np.float64) + require(np.isfinite(a).all(), "nonfinite_matrix") + return a + + def exact(value): + if isinstance(value, np.integer): + value = int(value) + elif isinstance(value, np.floating): + require(value.dtype.itemsize <= 8, "matrix_float_precision") + value = float(value) + return q(value) + + return tuple(tuple(exact(value) for value in row) for row in values) + + +def _matrix_interval(values: Any) -> tuple[np.ndarray, np.ndarray]: + values = _matrix_input(values) + if isinstance(values, np.ndarray): + return values.copy(), values.copy() + n = len(values) + low, high = np.empty((n, n)), np.empty((n, n)) + for i, row in enumerate(values): + for j, v in enumerate(row): + low[i, j], high[i, j] = _fraction_range(v) + return low, high + + +def _round(array: np.ndarray, direction: float) -> np.ndarray: + require(np.isfinite(array).all(), "interval_arithmetic_nonfinite") + value = np.nextafter(array, direction) + require(np.isfinite(value).all(), "interval_arithmetic_overflow") + return value + + +def _norm_upper(low: np.ndarray, high: np.ndarray) -> Fraction: + values = np.maximum(np.abs(low), np.abs(high)) + result = np.zeros(values.shape[0]) + for i in range(values.shape[1]): + result = _round(result + values[:, i], np.inf) + return Fraction(float(np.max(result))) + + +def _left_product( + z: np.ndarray, low: np.ndarray, high: np.ndarray +) -> tuple[np.ndarray, np.ndarray]: + a, b = np.zeros_like(z), np.zeros_like(z) + for k in range(len(z)): + x, y = z[:, k, None] * low[None, k, :], z[:, k, None] * high[None, k, :] + a = _round(a + _round(np.minimum(x, y), -np.inf), -np.inf) + b = _round(b + _round(np.maximum(x, y), np.inf), np.inf) + return a, b + + +@dataclass(frozen=True) +class Scaling: + state: tuple[Fraction, ...] + equation: tuple[Fraction, ...] + state_units: tuple[dict, ...] + equation_units: tuple[dict, ...] + + def __post_init__(self): + require( + 0 + < len(self.state) + == len(self.equation) + == len(self.state_units) + == len(self.equation_units) + <= MAX_MATRIX + and all(q(v) > 0 for v in (*self.state, *self.equation)), + "positive_scaling_shape", + ) + + @classmethod + def from_spec(cls, value: Mapping, layout: Layout) -> Scaling: + state = tuple(q(v) for v in value["state"]) + equation = tuple(q(v) for v in value["equation"]) + variables = tuple( + json.loads(canonical(asdict(v.unit))) + for v in layout.variables + for _ in range(math.prod(v.shape)) + ) + equations = tuple( + json.loads( + canonical(asdict(e.unit * SECOND if e.role == "storage" else e.unit)) + ) + for e in layout.equations + for _ in range(math.prod(e.shape)) + ) + require( + 0 < len(state) == len(equation) == layout.size <= MAX_MATRIX + and min((*state, *equation)) > 0, + "positive_scaling_shape", + ) + require( + tuple(value["state_units"]) == variables + and tuple(value["equation_units"]) == equations, + "physical_scaling_units", + ) + return cls(state, equation, variables, equations) + + def operators(self, matrix: Any, radius: Any) -> tuple[np.ndarray, np.ndarray]: + matrix, radius = _matrix_input(matrix), _matrix_input(radius) + require( + len(matrix) == len(radius) == len(self.state), + "operator_radius_shape_or_sign", + ) + if not (isinstance(matrix, np.ndarray) and isinstance(radius, np.ndarray)): + # A/radius and positive SI scaling are combined in Q before the + # final outward conversion. In particular (-2**53)+(2**53+1)=1 + # must not become a near-zero enclosure through float64 casting. + def exact_rows(value): + return ( + tuple(tuple(Fraction(float(v)) for v in row) for row in value) + if isinstance(value, np.ndarray) + else value + ) + + center, uncertainty = exact_rows(matrix), exact_rows(radius) + require( + all(v >= 0 for row in uncertainty for v in row), + "operator_radius_shape_or_sign", + ) + n = len(self.state) + low, high = np.empty((n, n)), np.empty((n, n)) + for i in range(n): + for j in range(n): + scale = q(self.state[j]) / q(self.equation[i]) + low[i, j] = _fraction_range( + (center[i][j] - uncertainty[i][j]) * scale + )[0] + high[i, j] = _fraction_range( + (center[i][j] + uncertainty[i][j]) * scale + )[1] + return low, high + low, high = _matrix_interval(matrix) + rlow, rhigh = _matrix_interval(radius) + require( + low.shape == rlow.shape == (len(self.state), len(self.state)) + and np.min(rlow) >= 0, + "operator_radius_shape_or_sign", + ) + low, high = _round(low - rhigh, -np.inf), _round(high + rhigh, np.inf) + a, b = np.empty_like(low), np.empty_like(high) + for i in range(len(self.state)): + for j in range(len(self.state)): + a[i, j], b[i, j] = _fraction_range(self.state[j] / self.equation[i]) + products = (low * a, low * b, high * a, high * b) + return _round(np.minimum.reduce(products), -np.inf), _round( + np.maximum.reduce(products), np.inf + ) + + +def _axis_values(value: Mapping) -> dict[str, Fraction]: + require( + isinstance(value, Mapping) and set(value) == set(AXES), "incomplete_error_axes" + ) + return {axis: nonnegative(value[axis]) for axis in AXES} + + +def evaluate_e3_step( + *, + A: Any, + B: Any, + residual: list, + scaling: Scaling, + previous: Mapping, + envelope: Mapping, +) -> dict: + """Uniform-box Neumann/inverse-action propagation in scaled infinity norm. + + A/B are SI operators. Radius, remainder, initial and feasible-box evidence + is required even when its amount is zero. An inaccurate inverse cannot pass + merely because numpy.linalg.inv returned; I-Z*A is explicitly enclosed. + """ + try: + _premises(envelope["premises"], E3_PREMISES) + require(envelope.get("source_identity"), "missing_operator_evidence_source") + previous = _axis_values(previous) + direct = _axis_values(envelope["direct_state_error_by_axis"]) + require(len(residual) == len(scaling.state), "residual_shape") + require( + set(envelope["equation_error_by_axis"]) == set(AXES), + "incomplete_equation_error_axes", + ) + errors = {} + for axis in AXES: + vector = list(map(nonnegative, envelope["equation_error_by_axis"][axis])) + require(len(vector) == len(residual), "equation_error_shape") + errors[axis] = max( + (v / d for v, d in zip(vector, scaling.equation)), default=Fraction() + ) + h_residual = max(abs(q(v)) / d for v, d in zip(residual, scaling.equation)) + errors["trajectory_nonlinear"] += h_residual + al, ah = scaling.operators(A, envelope["A_radius"]) + bl, bh = scaling.operators(B, envelope["B_radius"]) + central = al / 2 + ah / 2 + inverse = np.linalg.inv(central) + require(np.isfinite(inverse).all(), "nonfinite_inverse_action") + zl, zh = _left_product(inverse, al, ah) + eye = np.eye(len(inverse)) + eta = _norm_upper(_round(eye - zh, -np.inf), _round(eye - zl, np.inf)) + require(eta < 1, "eta_not_below_one") + K = upper(_norm_upper(inverse, inverse) / (1 - eta)) + B_upper = _norm_upper(bl, bh) + G = upper(K * B_upper) + R = {axis: upper(K * errors[axis]) for axis in AXES} + propagated = { + axis: upper(G * previous[axis] + R[axis] + direct[axis]) for axis in AXES + } + radius = nonnegative(envelope["box_radius"]) + total = sum(propagated.values(), Fraction()) + require(radius > 0 and total <= radius, "box_self_mapping_not_established") + return { + "status": "computed_pending_review", + "method_status": "passed", + "eta_upper": pair(eta), + "K_upper": pair(K), + "B_norm_upper": pair(B_upper), + "G_upper": pair(G), + "R_by_axis": {k: pair(v) for k, v in R.items()}, + "U_by_axis": {k: pair(v) for k, v in direct.items()}, + "error_by_axis": {k: pair(v) for k, v in propagated.items()}, + "error_upper": pair(total), + "box_radius": pair(radius), + "residual_norm": pair(h_residual), + "norm": "scaled_linf", + "source_identity": envelope["source_identity"], + "operator_enclosures_sha256": digest( + { + "A_lower_hex": [[float(v).hex() for v in row] for row in al], + "A_upper_hex": [[float(v).hex() for v in row] for row in ah], + "B_lower_hex": [[float(v).hex() for v in row] for row in bl], + "B_upper_hex": [[float(v).hex() for v in row] for row in bh], + } + ), + "arithmetic": "outward binary64 elementary operations; upward 160-bit bound storage", + "qualified": False, + } + except ( + MissingEvidence, + KeyError, + TypeError, + ValueError, + OverflowError, + np.linalg.LinAlgError, + ) as exc: + return unknown(str(exc)) + + +def charge_error( + coefficients: list, errors_now: list, errors_initial: list, extra_by_axis: Mapping +) -> dict: + """Apply the original signed physical form using absolute error weights.""" + try: + require( + len(coefficients) == len(errors_now) == len(errors_initial) > 0, + "charge_component_coverage", + ) + result = _axis_values(extra_by_axis) + for a, now, initial in zip(coefficients, errors_now, errors_initial): + now, initial = _axis_values(now), _axis_values(initial) + for axis in AXES: + result[axis] += abs(q(a)) * (now[axis] + initial[axis]) + return { + "status": "computed_pending_review", + "E_R": pair(sum(result.values(), Fraction())), + "error_by_axis": {k: pair(v) for k, v in result.items()}, + "route": "original_body_charge_form", + } + except (MissingEvidence, KeyError, TypeError, ValueError) as exc: + return unknown(str(exc)) + + +def flux_error( + q_value: Mapping, + f_value: Mapping, + q_error: Mapping, + *, + identity_proof: Mapping, + path_coverage: Mapping, +) -> dict: + """B continuity transfers an independently established q error, never zero residual alone.""" + try: + _premises( + identity_proof, + ( + "fixed_B_continuity", + "complete_boundary_storage", + "fixed_parameters_and_initial", + "no_reset_or_impulse", + ), + ) + require( + path_coverage.get("all_pieces_independently_integrated") is True + and path_coverage.get("storage_delta_substitution") is False + and path_coverage.get("history_sha256"), + "incomplete_independent_f_path", + ) + require( + q_error.get("status") == "computed_pending_review" + and q_error.get("route") == "original_body_charge_form", + "unqualified_independent_charge_error", + ) + owned = _axis_values(q_error["error_by_axis"]) + qc, qr = q(q_value["center"]), nonnegative(q_value["radius"]) + fc, fr = q(f_value["center"]), nonnegative(f_value["radius"]) + # The discrepancy has one ownership record; both endpoint evaluation + # radii belong here once, not also in charge_error's exact-form action. + discrepancy = abs(fc - qc) + qr + fr + owned["stability_reconstruction"] += discrepancy + return { + "status": "computed_pending_review", + "E_R": pair(sum(owned.values(), Fraction())), + "discrepancy_upper": pair(discrepancy), + "error_by_axis": {k: pair(v) for k, v in owned.items()}, + "route": "frozen_B_continuity_from_independent_q", + "qualified": False, + } + except (MissingEvidence, KeyError, TypeError, ValueError) as exc: + return unknown(str(exc)) + + +def _unique_object(pairs: list) -> dict: + result = {} + for key, value in pairs: + require(key not in result, "duplicate_json_key") + result[key] = value + return result + + +def read_json(path: Path, limit: int = 4 * 1048576) -> dict: + with Path(path).open("rb") as stream: + raw = stream.read(limit + 1) + require(len(raw) <= limit, "metadata_byte_budget") + value = json.loads(raw, object_pairs_hook=_unique_object) + require(isinstance(value, dict), "metadata_object") + canonical(value) + return value + + +def pinned(ref: Mapping, limit: int = 4 * 1048576) -> dict: + with Path(ref["path"]).open("rb") as stream: + raw = stream.read(limit + 1) + require(len(raw) <= limit, "metadata_byte_budget") + require( + sha256(raw).hexdigest() == ref["sha256"] + and ("bytes" not in ref or len(raw) == ref["bytes"]), + "changed_pinned_artifact", + ) + value = json.loads(raw, object_pairs_hook=_unique_object) + require(isinstance(value, dict), "metadata_object") + canonical(value) + return value + + +def load_method(ref: Mapping) -> dict: + method = pinned(ref) + require( + method.get("schema") == METHOD_SCHEMA + and type(method.get("version")) is int + and method["version"] == 1 + and method.get("status") == "frozen", + "method_not_frozen", + ) + freeze = method.get("freeze") + require( + isinstance(freeze, dict) + and freeze.get("frozen_at") + and freeze.get("frozen_by") + and freeze.get("review_records") + and freeze.get("user_records"), + "missing_commander_freeze", + ) + author = pinned( + { + "path": freeze["reviewed_path"], + "sha256": freeze["reviewed_sha256"], + "bytes": freeze["reviewed_bytes"], + } + ) + require( + digest({k: v for k, v in method.items() if k not in {"status", "freeze"}}) + == digest({k: v for k, v in author.items() if k != "status"}), + "changed_reviewed_method_body", + ) + e1 = method["E1"] + require( + q(e1["Fs"]) == FS + and q(e1["p_use"]) == Fraction(4, 5) + and q(e1["coefficient_upper"]) == C + and tuple(map(q, e1["order_interval"])) == (Fraction(4, 5), Fraction(6, 5)) + and method["time_ladder"]["levels"] == [0, 1, 2] + and (1 + FS / C) ** 5 <= 16, + "unsupported_frozen_method", + ) + for review in freeze["review_records"]: + with Path(review["path"]).open("rb") as stream: + raw = stream.read(4 * 1048576 + 1) + require( + len(raw) <= 4 * 1048576 and sha256(raw).hexdigest() == review["sha256"], + "changed_method_review", + ) + return method + + +def form_matrix(form: Any, *, square: bool = False) -> list[list[Fraction]]: + """Differentiate the original factored SI form, retaining volume/area/Nt.""" + n = form.layout.size + rows = n if square else len(form.row_ids) + require( + 0 < n <= MAX_MATRIX and len(form.row_ids) <= rows and not form.sources, + "linear_form_scope", + ) + result = [[Fraction() for _ in range(n)] for _ in range(rows)] + for term in form.terms: + if term.field is None: + require(form.kind == "state", "nonstate_constant") + continue # Only the derivative vanishes; fixed-background proof is separate. + require(term.field in form.layout.offsets, "external_linear_source") + value = Fraction(term.sign) + for factor in term.factors: + require( + factor.source_identity == form.source_identity, "foreign_form_factor" + ) + value *= Fraction(factor.value) + if term.divisor is not None: + require( + term.divisor.source_identity == form.source_identity + and term.divisor.value != 0, + "foreign_or_zero_form_divisor", + ) + value /= Fraction(term.divisor.value) + column = form.layout.offsets[term.field].start + term.index + result[term.row][column] += value + return result + + +def physical_values(point: Any) -> tuple[Fraction, ...]: + from scripts.benchmarks.precision_prototype import physical_state_words + + fields = physical_state_words(point.state) + return tuple( + sum((Fraction(float(w.ravel()[i])) for w in fields[v.id]), Fraction()) + for v in point.state.layout.variables + for i in range(math.prod(v.shape)) + ) + + +class SlabOperators: + """Read-only public B Jacobian and exact affine previous-state derivative.""" + + def __init__(self, model: Any): + require( + model.definition.id == "DynamicAcceptorIonPublicDeviceV1" + and model.intervals == 8, + "frozen_B_operator_scope", + ) + self.model, self.layout, self.source_identity = ( + model, + model.layout, + model.source_identity, + ) + self.problem = model.public_problem() + self.B = form_matrix(model.linear_forms["increment"]["storage"], square=True) + self.charge_form = model.linear_forms["state"]["body_charge"] + require(self.charge_form.row_units == (COULOMB,), "body_charge_unit") + self.charge_coefficients = form_matrix(self.charge_form)[0] + self.charge_form_identity = self.charge_form.identity + + def operators(self, left: Any, right: Any) -> tuple[Any, Any]: + return self.problem.conservative_jacobian(left, right), self.B + + def feasible_box(self, point: Any, radius: Fraction, scaling: Scaling) -> bool: + values = physical_values(point) + for variable in self.layout.variables: + indices = self.layout.offsets[variable.id] + for i in range(indices.start, indices.stop): + lo, hi = ( + values[i] - radius * scaling.state[i], + values[i] + radius * scaling.state[i], + ) + if variable.lower is not None and lo < Fraction(variable.lower): + return False + if variable.upper is not None and hi > Fraction(variable.upper): + return False + if variable.id in {"n_m3", "p_m3"} and lo <= 0: + return False + if variable.id == "c_m3" and hi >= Fraction( + self.model.definition.ion_capacity + ): + return False + return True + + +def target_identity( + source_identity: str, initial_point_identity: str, segments: list +) -> str: + """Physical problem identity excludes integration controls and tolerances.""" + return digest( + { + "physical_source_identity": source_identity, + "original_initial_point_identity": initial_point_identity, + "segments": segments, + } + ) + + +@dataclass(frozen=True) +class Level: + directory: Path + identity: RunIdentity + result: dict + header: dict + readback: dict + request: dict + + +def load_level( + ref: Mapping, layout: Layout, *, checkpoint: Callable = lambda: None +) -> Level: + directory = Path(ref["directory"]) + identity = RunIdentity(**ref["identity"]) + result = read_json(directory / "RunResult.json") + # Reject native histories before any data stream can be opened. + require( + result.get("schema") == BE_SCHEMA and result.get("method") == METHOD, + "not_BE_history", + ) + readback = read_reference_history( + directory, layout, identity, checkpoint=checkpoint + ) + require( + readback["structural_pass"] is True + and readback["numerical_complete"] is True + and readback["scientific_status"] != "failed", + "incomplete_or_failed_BE_reference", + ) + require(readback["accepted_steps"] <= 200000, "step_budget") + request = read_json(directory / "ReferenceRequest.json") + path = directory / readback["observed_history"]["path"] + reader = HistoryReader( + path, + encoding=readback["observed_history"]["encoding"], + max_record_bytes=1048576, + max_logical_bytes=32 * GIB, + ) + try: + header = json.loads(next(iter(reader)), object_pairs_hook=_unique_object) + finally: + reader.close() + require(header["kind"] == "be_reference_header", "missing_BE_header") + return Level(directory, identity, result, header, readback, request) + + +def iter_records(level: Level, *, checkpoint: Callable = lambda: None): + """Seal is rechecked on this second streaming pass; partial use is unqualified.""" + meta = level.readback["observed_history"] + reader = HistoryReader( + level.directory / meta["path"], + encoding=meta["encoding"], + max_record_bytes=1048576, + max_logical_bytes=32 * GIB, + ) + checksum, count = sha256(), 0 + try: + for line in reader: + checkpoint() + checksum.update(line) + count += 1 + yield json.loads(line, object_pairs_hook=_unique_object) + require( + checksum.hexdigest() == meta["logical_sha256"] + and count == meta["records"] + and reader.eof_seen + and not reader.partial_tail, + "BE_changed_during_error_analysis", + ) + finally: + reader.close() + + +def _residual(row: Mapping) -> list[Fraction]: + words = row["residual_words"] + require(len(words["shape"]) == 1, "residual_vector_shape") + return [ + sum((Fraction(float.fromhex(w[i])) for w in words["words_hex"]), Fraction()) + for i in range(words["shape"][0]) + ] + + +def _unit(unit: Any) -> str: + for symbol, known in ( + ("V", VOLT), + ("m^-3", PARTICLE / VOLUME), + ("1", ONE), + ("particle", PARTICLE), + ("C", COULOMB), + ): + if unit == known: + return symbol + raise MissingEvidence("unsupported_observable_unit") + + +def quantities(layout: Layout) -> list[dict]: + result = [] + for variable in layout.variables: + for local in range(math.prod(variable.shape)): + result.append( + { + "key": "state/" + variable.id + "/" + str(local), + "field": variable.id, + "index": local, + "column": layout.offsets[variable.id].start + local, + "quantity": variable.id, + "unit": _unit(variable.unit), + "kind": "state", + } + ) + result.extend( + {"key": "port/" + side, "quantity": "port_" + side, "unit": "A", "kind": "port"} + for side in ("left", "right") + ) + return result + + +def sample_center(sample: Mapping, item: Mapping) -> Fraction: + if item["kind"] == "port": + return q(sample["ports"][item["key"].split("/")[1]]["center"]) + words = sample["physical_state_words"][item["field"]]["words_hex"] + return sum( + (Fraction(float.fromhex(row[item["index"]])) for row in words), Fraction() + ) + + +def _sample_uncertainty( + sample: Mapping, + item: Mapping, + state_error: Mapping, + scaling: Scaling, + support: Mapping, +) -> dict: + try: + e = _axis_values(state_error) + if item["kind"] == "state": + return { + "status": "supported", + "by_axis": { + axis: pair(e[axis] * scaling.state[item["column"]]) for axis in AXES + }, + } + sensitivity = support["port_sensitivities"][item["key"]] + _premises( + sensitivity["premises"], + ("uniform_physical_sensitivity", "direct_input_coverage"), + ) + require( + sensitivity["unit"] == "A" + and len(sensitivity["absolute_gradient"]) == len(scaling.state), + "port_sensitivity_units_or_shape", + ) + require( + tuple(sensitivity["state_units"]) == scaling.state_units, + "port_sensitivity_column_units", + ) + gain = sum( + ( + nonnegative(v) * d + for v, d in zip(sensitivity["absolute_gradient"], scaling.state) + ), + Fraction(), + ) + direct = _axis_values(sensitivity["direct_error_by_axis"]) + values = {a: e[a] * gain + direct[a] for a in AXES} + values["evaluation"] += nonnegative( + sample["ports"][item["key"].split("/")[1]]["radius"] + ) + return { + "status": "supported", + "by_axis": {k: pair(v) for k, v in values.items()}, + } + except (MissingEvidence, KeyError, TypeError, ValueError) as exc: + return { + "status": "unknown_reference_error", + "reason": str(exc), + "by_axis": None, + } + + +def analyze_e3( + level: Level, + provider: Any, + support: Mapping, + *, + emit: Callable = lambda row: None, + checkpoint: Callable = lambda: None, +) -> dict: + """Every accepted step contributes, including intervals without a plot tag.""" + samples, items = {}, quantities(provider.layout) + setup_error = None + try: + require( + support["source_identity"] == provider.source_identity, "E3_source_binding" + ) + scaling = Scaling.from_spec(support["scaling"], provider.layout) + _premises(support["initial_premises"], ("initial_error_and_DAE_meaning",)) + previous_error = _axis_values(support["initial_error_by_axis"]) + require( + support["initial_point_identity"] == level.identity.initial_point_identity, + "initial_error_binding", + ) + except (MissingEvidence, KeyError, TypeError, ValueError) as exc: + setup_error, scaling, previous_error = str(exc), None, None + reference = level.header["original_reference"] + previous_point = unpack_point(level.header["initial"], reference, provider.layout) + if setup_error is None and not provider.feasible_box( + previous_point, sum(previous_error.values(), Fraction()), scaling + ): + setup_error = "initial_error_box_outside_physical_domain" + count, failure, first_failure, pieces = 0, setup_error, None, 0 + prefix = [[Fraction(), Fraction()] for _ in range(3)] + for row in iter_records(level, checkpoint=checkpoint): + if row["kind"] == "be_accepted_step": + count += 1 + right = unpack_point(row["right"], reference, provider.layout) + if failure is None: + try: + envelope = support.get("step_overrides", {}).get( + str(count), support["step_envelope"] + ) + require( + envelope["source_identity"] == provider.source_identity, + "E3_operator_source_binding", + ) + require( + provider.feasible_box( + right, nonnegative(envelope["box_radius"]), scaling + ), + "box_outside_physical_domain", + ) + A, B = provider.operators(previous_point, right) + out = evaluate_e3_step( + A=A, + B=B, + residual=_residual(row), + scaling=scaling, + previous=previous_error, + envelope=envelope, + ) + except ( + MissingEvidence, + KeyError, + TypeError, + ValueError, + ContractError, + ) as exc: + out = unknown(str(exc)) + if out["status"] == "computed_pending_review": + out["error_box"] = { + "center_point_identity": right.identity, + "enclosing_scaled_radius": out["box_radius"], + "computed_scaled_radius": out["error_upper"], + "physical_definition": "X_center[i] +/- D_X[i] * scaled_linf_radius", + "scaling_sha256": digest( + { + "state": [pair(v) for v in scaling.state], + "equation": [pair(v) for v in scaling.equation], + "state_units": scaling.state_units, + "equation_units": scaling.equation_units, + } + ), + "physical_domain_checked": True, + } + previous_error = out["error_by_axis"] + else: + failure = out["reason"] + else: + out = unknown(failure) + if failure is not None and first_failure is None: + first_failure = { + "step_index": count, + "time_hex": row["t_right_hex"], + "reason": failure, + } + emit( + { + "kind": "reference_error_step", + "level": level.header["schedule"]["level"], + "step_index": count, + "left_identity": previous_point.identity, + "right_identity": right.identity, + "h_hex": row["h_hex"], + "state_error": out, + } + ) + previous_point = right + elif row["kind"] == "be_observation" and row.get("tag") is None: + piece = row["interval_observation"] + require( + row["interval_step"] == pieces + 1 == count + and piece["storage_secant_used_as_flux"] is False + and piece["unit"] == "C" + and len(piece["physical_flux"]) == 3, + "independent_flux_piece_coverage", + ) + for j, value in enumerate(piece["physical_flux"]): + prefix[j][0] += q(value["center"]) + prefix[j][1] += nonnegative(value["radius"]) + pieces += 1 + elif row["kind"] == "be_observation" and row.get("tag") is not None: + require( + all( + q(v["center"]) == p[0] and nonnegative(v["radius"]) == p[1] + for v, p in zip( + row["cumulative_physical_flux"], prefix, strict=True + ) + ), + "flux_prefix_identity", + ) + key = digest(row["tag"]) + samples[key] = { + item["key"]: ( + _sample_uncertainty(row, item, previous_error, scaling, support) + if failure is None + else { + "status": "unknown_reference_error", + "reason": failure, + "by_axis": None, + } + ) + for item in items + } + require( + pieces == count == level.readback["accepted_steps"] + and len(samples) == len(level.readback["observations"]), + "E3_trajectory_coverage", + ) + return { + "status": "computed_pending_review" + if failure is None + else "unknown_reference_error", + "samples": samples, + "accepted_steps": count, + "first_failure": first_failure, + "setup_error": setup_error, + "axis": "E3", + "qualified": False, + "path_coverage": { + "all_pieces_independently_integrated": True, + "storage_delta_substitution": False, + "pieces": pieces, + "history_sha256": level.readback["observed_history"]["logical_sha256"], + "review_scope": "sequence and declared physical-flux provenance checked; mathematical source/data review remains external", + }, + } + + +def _e1_owned(result: dict, non_time: list[dict]) -> dict: + if result["status"] != "computed_pending_review": + return result + values = [_axis_values(x["by_axis"]) for x in non_time] + if result.get("route") == "supported_zero_time_error": + owned = values[2] + else: + owned = {a: C * values[1][a] + (C + 1) * values[2][a] for a in AXES} + owned["stability_reconstruction"] += q(result["terms"]["time_path"]) + require( + sum(owned.values(), Fraction()) == q(result["E_R"]), "E1_component_accounting" + ) + return {**result, "error_by_axis": {k: pair(v) for k, v in owned.items()}} + + +def _evidence(item: Mapping, rows: list[dict], context: Mapping) -> dict: + complete = all( + r["computation"]["status"] == "computed_pending_review" for r in rows + ) + value = ( + max((q(r["computation"]["E_R"]) for r in rows), default=Fraction()) + if complete + else None + ) + failed = any(r["computation"].get("method_status") == "failed" for r in rows) + labels = [r["tag"] for r in rows] + component = { + "id": "joint_E1_E3:" + item["key"], + "claim_kind": CLAIM, + "covered_axes": list(AXES), + "value": pair(value) if value is not None else None, + "unit": item["unit"], + "source": context["lineage_source"], + "ownership": "joint max of complete pointwise sums; per_record retains all axes; no independent 1/12 credits", + } + if item["unit"] == "C": + component["value_C"] = component["value"] + return { + "schema": EVIDENCE_SCHEMA, + "status": "computed_pending_review" if complete else "unknown_reference_error", + "method_status": "failed" if failed else "passed" if complete else "unknown", + "evidence_class": "G2-R_BE_E1_E3_reference", + "claim_kind": CLAIM, + "target_problem_identity": context["target_problem_identity"], + "quantity_and_unit": {"quantity": item["quantity"], "unit": item["unit"]}, + "quantity_key": item["key"], + "norm_and_coverage": { + "norm": "max_abs_tagged" + str(len(rows)), + "records": len(rows), + "labels_sha256": digest(labels), + }, + "reference_source_and_run_identity": context["reference_identity"], + "error_components_and_ownership": [component], + "assumptions_and_checked_premises": context["premises"], + "observed_refinement_and_method_independence": { + "E1": { + "status": "computed_pending_review" if complete else "unknown", + "levels": [0, 1, 2], + "refinements": 2, + "source": context["lineage_source"], + }, + "E2": { + "status": "pending_Main_Strict_transfer", + "scope": "BE E_R supplied here", + }, + "E3": { + "status": "computed_pending_review" if complete else "unknown", + "source": context["lineage_source"], + }, + }, + "estimated_or_enclosed_value": { + "value_field": "conditional_estimate_value", + "value": pair(value) if value is not None else None, + "unit": item["unit"], + }, + "conditional_estimate_value": pair(value) if value is not None else None, + "rigorous_bound_value": None, + "diagnostic_value": None, + "unresolved_common_bias_and_model_error": [ + "shared constitutive, boundary, units and initial-model errors are not ruled out by refinement", + "scope is the frozen semidiscrete problem; no continuum/SCAPS/hysteresis/RS qualification", + ], + "reviewer_and_decision_authority": { + "evidence_author": context["author"], + "independent_review": "pending", + "method_contract": context["method_contract"], + }, + "per_record": rows, + "scientific_pass": False, + "reference_value_radius_ownership": "reported observation radii are included in E_R; coalesce them in E2", + } + + +def analyze_levels( + levels: list[Level], + provider: Any, + parameters: Mapping, + context: Mapping, + *, + emit: Callable = lambda row: None, + checkpoint: Callable = lambda: None, +) -> dict: + """Build per-quantity BE E_R inputs for Main; never perform the E2 transfer.""" + require(len(levels) == 3, "three_levels_required") + require( + [x.header["schedule"]["level"] for x in levels] == [0, 1, 2], + "wrong_time_ladder", + ) + require( + len({digest(x.header["schedule"]["seed"]) for x in levels}) == 1 + and len({digest(x.header["schedule"]["segments"]) for x in levels}) == 1, + "different_time_family", + ) + for level in levels: + segments = level.header["schedule"]["segments"] + require( + digest(segments) == digest(level.request["segments"][: len(segments)]), + "history_protocol_differs_from_source_request", + ) + require( + all(x.identity.source_identity == provider.source_identity for x in levels), + "physical_source_binding", + ) + require( + len({x.identity.initial_point_identity for x in levels}) == 1 + and len({x.identity.input_sha256 for x in levels}) == 1 + and len({x.identity.environment_identity for x in levels}) == 1 + and len({x.identity.source_commit for x in levels}) == 1, + "different_problem_or_execution_family", + ) + require( + all( + x.identity.method_contract_sha256 == context["method_contract"]["sha256"] + for x in levels + ), + "method_identity", + ) + labels = [r["tag"] for r in levels[0].readback["observations"]] + require( + all( + digest([r["tag"] for r in x.readback["observations"]]) == digest(labels) + for x in levels + ), + "different_time_labels", + ) + physical_problem = target_identity( + provider.source_identity, + levels[0].identity.initial_point_identity, + levels[0].request["segments"], + ) + require( + parameters["target_problem_identity"] + == context["target_problem_identity"] + == physical_problem, + "target_problem_binding", + ) + require( + parameters["method_contract_sha256"] == context["method_contract"]["sha256"], + "parameter_method_binding", + ) + e3 = [ + analyze_e3(level, provider, support, emit=emit, checkpoint=checkpoint) + for level, support in zip(levels, parameters["levels"], strict=True) + ] + items, records, rows_by_key = quantities(provider.layout), {}, {} + for item in items: + rows = [] + for index, tag in enumerate(labels): + checkpoint() + key = digest(tag) + samples = [x.readback["observations"][index] for x in levels] + values = [sample_center(s, item) for s in samples] + uncertainties = [x["samples"][key][item["key"]] for x in e3] + try: + require( + all(x["status"] == "supported" for x in uncertainties), + "missing_E3_observable_support", + ) + u = [ + sum(_axis_values(x["by_axis"]).values(), Fraction()) + for x in uncertainties + ] + proof = None + if index == 0 and tag["protocol_initial"]: + proof = { + "kind": "same_initial_point", + "checked": True, + "source_identity": levels[0].identity.initial_point_identity, + "statement": "same original Point; only temporal approximation is zero; E3 initial uncertainty retained", + } + elif item["key"] in parameters.get("invariants", {}): + proof = parameters["invariants"][item["key"]] + require( + proof["labels_sha256"] == digest(labels) + and proof["target_problem_identity"] == physical_problem, + "invariant_proof_scope", + ) + computation = _e1_owned( + estimate_e1( + values, + u, + premises=parameters["E1_premises"], + zero_time_proof=proof, + ), + uncertainties, + ) + except (MissingEvidence, KeyError, TypeError, ValueError) as exc: + computation = unknown(str(exc)) + represented = ( + {"center": pair(values[2]), "radius": [0, 1]} + if item["kind"] == "state" + else samples[2]["ports"][item["key"].split("/")[1]] + ) + rows.append( + {"tag": tag, "computed_value": represented, "computation": computation} + ) + rows_by_key[item["key"]] = rows + records[item["key"]] = _evidence(item, rows, context) + + # B charge form is differentiated independently of balance residuals. + q_rows, f_rows = [], [] + initial = levels[2].readback["observations"][0] + state_items = [item for item in items if item["kind"] == "state"] + for index, tag in enumerate(labels): + sample = levels[2].readback["observations"][index] + q_value, computation = None, unknown("missing_body_charge_proof") + try: + support = parameters["charge"] + require( + support["form_identity"] == provider.charge_form_identity, + "original_charge_form_binding", + ) + _premises( + support["premises"], + ("complete_body_charge_form", "fixed_coefficients_and_background"), + ) + coeff = provider.charge_coefficients + values = [ + sample_center(sample, item) - sample_center(initial, item) + for item in state_items + ] + center = sum( + (q(a) * v for a, v in zip(coeff, values, strict=True)), Fraction() + ) + q_value = {"center": pair(center), "radius": [0, 1]} + reported = sample["charges"]["device"] + old = initial["charges"]["device"] + require( + abs(center - q(reported["center"]) + q(old["center"])) + <= nonnegative(reported["radius"]) + nonnegative(old["radius"]), + "charge_observation_disagrees_with_original_form", + ) + active = [ + (a, item) + for a, item in zip(coeff, state_items, strict=True) + if q(a) != 0 + ] + now = [rows_by_key[item["key"]][index]["computation"] for _, item in active] + start = [rows_by_key[item["key"]][0]["computation"] for _, item in active] + require( + all(x["status"] == "computed_pending_review" for x in (*now, *start)), + "unqualified_state_errors", + ) + computation = charge_error( + [a for a, _ in active], + [x["error_by_axis"] for x in now], + [x["error_by_axis"] for x in start], + support["extra_by_axis"], + ) + except ( + MissingEvidence, + KeyError, + TypeError, + ValueError, + AttributeError, + ) as exc: + computation = unknown(str(exc)) + + def raw_ladder(quantity): + values, radii = [], [] + for level in levels: + one, first = ( + level.readback["observations"][index], + level.readback["observations"][0], + ) + if quantity == "q": + now, old = one["charges"]["device"], first["charges"]["device"] + values.append(q(now["center"]) - q(old["center"])) + radii.append( + nonnegative(now["radius"]) + nonnegative(old["radius"]) + ) + else: + values.append(q(one["cumulative_physical_flux"][0]["center"])) + radii.append( + nonnegative(one["cumulative_physical_flux"][0]["radius"]) + ) + return { + "claim_kind": "diagnostic_agreement", + "eligible_for_E_R": False, + "D01_center": pair(values[0] - values[1]), + "D12_center": pair(values[1] - values[2]), + "D01_readout_radius_only": pair(radii[0] + radii[1]), + "D12_readout_radius_only": pair(radii[1] + radii[2]), + "scope": "direct q/f ladder retained; radii are not complete forward/non-time uncertainty; no alternative estimate selected", + } + + q_rows.append( + { + "tag": tag, + "computed_value": q_value, + "computation": computation, + "direct_ladder_diagnostic": raw_ladder("q"), + } + ) + f_value = sample["cumulative_physical_flux"][0] + f_computation = flux_error( + q_value or {}, + f_value, + computation, + identity_proof=parameters.get("charge", {}).get("identity_proof", {}), + path_coverage=e3[2]["path_coverage"], + ) + f_rows.append( + { + "tag": tag, + "computed_value": f_value, + "computation": f_computation, + "direct_ladder_diagnostic": raw_ladder("f"), + } + ) + for name, rows in (("q", q_rows), ("f", f_rows)): + records[name] = _evidence( + {"key": name, "quantity": name, "unit": "C"}, rows, context + ) + complete = all(r["status"] == "computed_pending_review" for r in records.values()) + return { + "schema": SCHEMA, + "status": "computed_pending_review" if complete else "unknown_reference_error", + "target_problem_identity": physical_problem, + "method_contract": context["method_contract"], + "claim_kind": CLAIM, + "quantities": records, + "E3_summary": [{k: v for k, v in x.items() if k != "samples"} for x in e3], + "E2_status": "pending_Main_Strict_transfer", + "independent_review": "pending", + "scientific_pass": False, + } + + +class Output: + """New local result bundle with one bounded streaming E3 ledger.""" + + def __init__(self, directory: Path, limits: Limits): + self.directory, self.limits, self.bytes = Path(directory), limits, 0 + self.directory.mkdir(parents=True, exist_ok=False) + self.ledger = (self.directory / "E3Steps.jsonl").open("xb") + self.ledger_hash, self.rows = sha256(), 0 + + def emit(self, row: dict) -> None: + raw = canonical(row) + b"\n" + require( + len(raw) <= self.limits.record_bytes + and self.bytes + len(raw) <= self.limits.output_bytes, + "error_output_budget", + ) + self.ledger.write(raw) + self.ledger_hash.update(raw) + self.bytes += len(raw) + self.rows += 1 + + def write(self, name: str, value: dict, *, metadata: bool = True) -> dict: + require(Path(name).name == name, "output_filename") + raw = canonical(value) + b"\n" + require( + not metadata or len(raw) <= self.limits.record_bytes, + "error_metadata_budget", + ) + require( + self.bytes + len(raw) <= self.limits.output_bytes, "error_output_budget" + ) + path = self.directory / name + with path.open("xb") as stream: + stream.write(raw) + self.bytes += len(raw) + return {"path": str(path), "bytes": len(raw), "sha256": sha256(raw).hexdigest()} + + def close(self) -> None: + self.ledger.close() + + +def main(argv=None) -> int: + parser = argparse.ArgumentParser(description=__doc__) + parser.add_argument("action", choices=("evaluate",)) + parser.add_argument("--manifest", type=Path, required=True) + args = parser.parse_args(argv) + manifest = read_json(args.manifest) + require( + manifest.get("schema") == "solarlab.g2-reference-error-request.v1", + "error_manifest_schema", + ) + limits = Limits(**manifest["limits"]) + checkpoint = Guard(limits) + method = load_method(manifest["method_contract"]) + parameters = pinned(manifest["parameters"]) + require( + parameters.get("schema") == "solarlab.g2-reference-error-parameters.v1", + "parameter_schema", + ) + require(len(manifest["levels"]) == 3, "three_levels_required") + first = Path(manifest["levels"][0]["directory"]) + request = read_json(first / "ReferenceRequest.json") + require( + read_json(first / "RunResult.json").get("schema") == BE_SCHEMA, "not_BE_history" + ) + from scripts.benchmarks.coupled_device_prototype import ( + AffineCoupledSlab, + SlabDefinition, + ) + + require( + request["case_id"] == method["same_problem"]["case_id"] + and request["numeric_packet"]["intervals"] == 8, + "frozen_B_scope", + ) + model = AffineCoupledSlab( + SlabDefinition(**request["numeric_packet"]["definition"]), 8 + ) + provider = SlabOperators(model) + levels = [ + load_level(r, model.layout, checkpoint=checkpoint) for r in manifest["levels"] + ] + require( + all( + x.header["schedule"]["seed"] == method["time_ladder"]["seed_cap_s"] + for x in levels + ), + "frozen_seed", + ) + output = Output(Path(manifest["directory"]), limits) + try: + lineage = output.write( + "Lineage.json", + { + "schema": SCHEMA, + "kind": "reference_error_lineage", + "method_contract": manifest["method_contract"], + "parameters": manifest["parameters"], + "levels": [ + dict( + identity=x.identity.payload(), + observed_history=x.readback["observed_history"], + ) + for x in levels + ], + "evaluation_source_sha256": sha256( + Path(__file__).read_bytes() + ).hexdigest(), + "scientific_pass": False, + }, + ) + context = { + "method_contract": manifest["method_contract"], + "lineage_source": lineage, + "author": manifest["author"], + "target_problem_identity": parameters["target_problem_identity"], + "premises": { + "E1": parameters["E1_premises"], + "E3_parameters": manifest["parameters"], + }, + "reference_identity": { + "case_id": levels[2].identity.case_id, + "run_id": digest(levels[2].identity.payload()), + "source_identity": model.source_identity, + "request_sha256": levels[2].identity.input_sha256, + "history_sha256": levels[2].readback["observed_history"][ + "logical_sha256" + ], + }, + } + result = analyze_levels( + levels, + provider, + parameters, + context, + emit=output.emit, + checkpoint=checkpoint, + ) + descriptors = {} + for key, record in result.pop("quantities").items(): + filename = "Quantity-" + sha256(key.encode()).hexdigest()[:20] + ".json" + descriptors[key] = output.write(filename, record) + output.close() + result.update( + quantity_records=descriptors, + E3_ledger={ + "path": str(output.directory / "E3Steps.jsonl"), + "rows": output.rows, + "sha256": output.ledger_hash.hexdigest(), + }, + elapsed_s=time.monotonic() - checkpoint.start, + ) + result_ref = output.write("Result.json", result) + print( + json.dumps( + { + "status": result["status"], + "result": result_ref, + "scientific_pass": False, + } + ) + ) + return 0 if result["status"] == "computed_pending_review" else 2 + except BaseException as exc: + output.close() + output.write( + "Failure.json", + { + "status": "unknown_reference_error", + "reason": str(exc)[:4096], + "completed": False, + "scientific_pass": False, + "E3_rows": output.rows, + }, + ) + raise + + +if __name__ == "__main__": + raise SystemExit(main()) diff --git a/scripts/benchmarks/g2_route.py b/scripts/benchmarks/g2_route.py new file mode 100644 index 00000000..1a531388 --- /dev/null +++ b/scripts/benchmarks/g2_route.py @@ -0,0 +1,786 @@ +"""Thin G2 RunPlan entry; never promote a candidate definition into authority. + +The materialized plan supplies each case's execution.request (path/bytes/SHA), +directory, native_admission, wall_s, max_record_bytes and integer_io_policy. +source_freeze supplies the immutable source_sha256 map and environment_lock +descriptor. Existing producer, recording and independent reader APIs own the +numerical work. Commander owns admission, channel reservations and the outer +process watchdog. No candidate T1 constants are implemented by this entry. +""" +from __future__ import annotations + +import argparse +from contextlib import contextmanager +import hashlib +import json +import math +import os +from pathlib import Path +import resource +import sys +import time + + +METHODS = {"certificate": "solarlab.certificate-failure-policy.v1", + "transfer": "solarlab.reference-state-transfer.v2", "observer": "solarlab.sealed-charge-observation.v1"} +RUN_PLAN_SCHEMA = "solarlab.g2-route.run-plan.v3" +T1_SPEC_SCHEMA = "solarlab.g2-route.t1-gatespec.v3" +EVIDENCE_METHOD_SCHEMA = "solarlab.g2-reference-method.v1" +# A run binds frozen definitions. Evaluation separately binds reviewed code. +EVALUATOR_FILES = ("g2_route.py", "t1_gate.py", "native_readback.py", "native_observation.py", "interval_observation.py", + "g2_compare.py", "qualification_comparison.py", "g2_reference_be.py", "g2_reference_error.py") + + +def _require(value, reason): + if not value: + raise ValueError("g2_route_" + reason) + + +def _digest(value): + return hashlib.sha256(json.dumps(value, sort_keys=True, separators=(",", ":"), allow_nan=False).encode()).hexdigest() + + +def _read(path, limit=4*1024*1024): + with Path(path).open("rb") as stream: + raw = stream.read(limit+1) + _require(len(raw) <= limit, "metadata_size") + return raw + + +def _pinned(reference, *, decode=True): + _require(type(reference) is dict and {"path", "sha256"} <= reference.keys(), "unresolved_reference") + raw = _read(reference["path"]) + _require(hashlib.sha256(raw).hexdigest() == reference["sha256"] + and ("bytes" not in reference or reference["bytes"] == len(raw)), "reference_changed") + return json.loads(raw) if decode else raw + + +def _labelled_samples(request): + """The V2 ordered tags of an actual request, including both event sides.""" + segments, sampling = request["segments"], request["observation_times"] + _require(set(sampling) == {s["id"] for s in segments}, "sample_segments") + result = [] + for ordinal, segment in enumerate(segments): + times = sampling[segment["id"]] + _require(type(times) is list and len(times) >= 2 + and all(type(t) in (int, float) and math.isfinite(t) for t in times) + and times[0] == segment["start"] and times[-1] == segment["end"] + and all(a < b for a, b in zip(times, times[1:])), "sample_times") + for index, time_s in enumerate(times): + result.append({"segment": segment["id"], "index": index, "time_hex": float(time_s).hex(), + "event_side": "right" if index == 0 else "left" if index == len(times)-1 else "interior", + "protocol_initial": ordinal == index == 0, + "protocol_terminal": ordinal == len(segments)-1 and index == len(times)-1}) + return result + + +def _validate_supervision(plan, execution): + """Bind the outer launcher's caps and receipt paths; never launch it.""" + value = execution.get("supervision") + fields = {"poll_s", "term_grace_s", "kill_wait_s", "receipt_reserve_s", + "rss_bytes", "artifact_bytes", "closure_path", "cancel_path"} + pipeline_fields = {"pipeline_started_unix_ns", "pipeline_wall_s"} + _require(type(value) is dict and set(value) in (fields, fields | pipeline_fields), "supervision_fields") + if pipeline_fields <= set(value): + start = value["pipeline_started_unix_ns"] + _require(type(start) is int and start >= 0, "supervision_pipeline_started_unix_ns") + pipeline_wall = value["pipeline_wall_s"] + try: + valid_wall = type(pipeline_wall) in (int, float) and math.isfinite(pipeline_wall) and pipeline_wall > 0 + except OverflowError: + valid_wall = False + _require(valid_wall, "supervision_pipeline_wall_s") + for name in ("poll_s", "term_grace_s", "kill_wait_s", "receipt_reserve_s"): + _require(type(value[name]) in (int, float) and math.isfinite(value[name]) and value[name] > 0, + "supervision_" + name) + for name, cap in (("rss_bytes", plan["resources"]["rss_bytes_per_case"]), + ("artifact_bytes", plan["resources"]["combined_persisted_case_bytes"])): + _require(type(value[name]) is int and 0 < value[name] <= cap, "supervision_" + name) + for name in ("closure_path", "cancel_path"): + path = value[name] + _require(type(path) is str and Path(path).is_absolute() and str(Path(path).resolve()) == path, + "supervision_" + name) + _require(value["closure_path"] != value["cancel_path"], "supervision_distinct_paths") + wall = execution.get("wall_s") + _require(type(wall) in (int, float) and math.isfinite(wall) and wall > 0 + and value["receipt_reserve_s"] + value["term_grace_s"] + value["kill_wait_s"] < wall, + "supervision_wall_reserve") + return value + + +def _resolved_descriptor(value): + return (type(value) is dict and type(value.get("path")) is str + and type(value.get("bytes")) is int and value["bytes"] >= 0 + and type(value.get("sha256")) is str and len(value["sha256"]) == 64 + and all(c in "0123456789abcdef" for c in value["sha256"])) + + +def _frozen_definition(value, schema, version): + """Verify Commander's copy against the exact reviewed author document.""" + _require(type(value) is dict and value.get("schema") == schema and type(value.get("version")) is int + and value["version"] == version and value.get("status") == "frozen", "frozen_definition_schema") + freeze = value.get("freeze") + keys = {"frozen_at", "frozen_by", "reviewed_path", "reviewed_sha256", "reviewed_bytes", "review_records", "user_records"} + explanations = {"notes", "plan_rule"} + _require(type(freeze) is dict and keys <= set(freeze) <= keys | explanations + and type(freeze["frozen_at"]) is str and freeze["frozen_at"] + and type(freeze["frozen_by"]) in (str, dict) and bool(freeze["frozen_by"]), "definition_freeze_record") + _require(all(type(freeze[k]) is str or type(freeze[k]) is list + and all(type(item) is str for item in freeze[k]) + for k in explanations & set(freeze)), "definition_freeze_explanation_type") + reviewed_ref = {"path": freeze["reviewed_path"], "sha256": freeze["reviewed_sha256"], "bytes": freeze["reviewed_bytes"]} + _require(_resolved_descriptor(reviewed_ref), "definition_reviewed_descriptor") + reviewed = _pinned(reviewed_ref) + _require(type(reviewed) is dict and _digest({k: v for k, v in value.items() if k not in {"status", "freeze"}}) + == _digest({k: v for k, v in reviewed.items() if k != "status"}), "definition_reviewed_body_changed") + _require(type(freeze["review_records"]) is list and freeze["review_records"] + and type(freeze["user_records"]) is list and freeze["user_records"], "definition_review_user_records") + for review in freeze["review_records"]: + _require(type(review) is dict and set(review) == {"path", "sha256"}, "definition_review_record_fields") + _pinned(review, decode=False) + return value + + +def _definition_bindings(plan, blockers, *, include_plan=True): + """Pending author documents cannot supply frozen run authority.""" + bound = {} + for key in ("plan", "gate_spec", "evidence_method_contract"): + if key == "plan" and not include_plan: + continue + ref = plan["definitions"].get(key) + if not _resolved_descriptor(ref): + _require(ref is None or type(ref) is dict and + (ref.get("status", "").startswith("pending") or ref.get("sha256") is None), + "invalid_definition_descriptor_" + key) + blockers.append("unresolved_definition_" + key) + continue + value = _pinned(ref, decode=key != "plan") + if key != "plan": + schema = T1_SPEC_SCHEMA if key == "gate_spec" else EVIDENCE_METHOD_SCHEMA + _require(value.get("schema") == schema + and ref.get("schema", schema) == schema, "definition_schema_" + key) + if value.get("status") != "frozen": + blockers.append("definition_not_frozen_" + key) + else: + _frozen_definition(value, schema, 3 if key == "gate_spec" else 1) + bound[key] = value + return bound + + +def _evaluation_blockers(plan): + """No evaluator code is imported before its separate source review.""" + freeze = plan.get("evaluation_freeze") + if type(freeze) is not dict or freeze.get("status") != "admitted": + return ["evaluation_not_admitted"] + if not _resolved_descriptor(freeze.get("review_record")) or type(freeze.get("source_sha256")) is not dict: + return ["evaluation_review_or_source_pending"] + review = _pinned(freeze["review_record"]) + _require(type(review) is dict, "evaluation_review_root") + sources = freeze["source_sha256"] + root = Path(__file__).resolve().parent + _require(all(str(root / name) in sources for name in EVALUATOR_FILES), "evaluator_required_sources") + _require(review.get("accepted") is True and review.get("evaluation_source_review") is True + and review.get("source_sha256") == sources + and review.get("gate_spec_sha256") == plan["definitions"]["gate_spec"]["sha256"] + and review.get("evidence_method_contract_sha256") == plan["definitions"]["evidence_method_contract"]["sha256"], + "evaluation_review_binding") + for path, expected in sources.items(): + _require(hashlib.sha256(_read(path, 16*1024*1024)).hexdigest() == expected, "evaluator_source_changed") + return [] + + +def _admitted_cases(plan, cases): + """A phase grants exactly its declared cases; dormant execution is null.""" + admission = plan.get("admission") + if admission is None: + selected = [] + else: + _require(type(admission) is dict and set(admission) == {"stage", "admitted_case_ids"} + and type(admission["stage"]) is str and admission["stage"] in {"probes", "full"}, "admission_fields") + selected = admission["admitted_case_ids"] + expected = {name for name, case in cases.items() + if case["stage"] == ("probe" if admission["stage"] == "probes" else "full")} + _require(type(selected) is list and all(type(name) is str for name in selected) + and len(selected) == len(set(selected)) and set(selected) == expected, + "admission_case_ids") + for name, case in cases.items(): + if name not in selected: + _require((admission is None or "execution" in case) and case.get("execution") is None, + "unadmitted_case_execution:" + name) + return selected + + +def _positive_pin(reference, reason): + _require(_resolved_descriptor(reference) and reference["bytes"] > 0 + and Path(reference["path"]).is_absolute(), reason) + value = _pinned(reference) + _require(type(value) is dict, reason + "_root") + return value + + +def _probe_runtime_receipt(receipt, execution, receipt_pin, producer_pin, case_id): + """Verify the existing launcher's saved facts without inspecting processes.""" + from scripts.benchmarks.g2_route_launcher import CHANNEL_PROTOCOL, Limits, REPOSITORY + limits = vars(Limits.from_execution(execution)) + command = execution.get("command") + if command is None: + command = [str(REPOSITORY / ".venv/bin/python"), "-m", "scripts.benchmarks.g2_route", "run", + "--plan", str(Path(producer_pin["path"]).resolve()), "--case", case_id] + _require(receipt.get("schema") == "solarlab.g2-route.launcher-result.v1" + and receipt.get("case_id") == case_id and receipt.get("plan_sha256") == producer_pin["sha256"] + and type(receipt.get("channel")) is int and receipt["channel"] == execution["channel"] + and receipt.get("channel_protocol") == CHANNEL_PROTOCOL + and receipt.get("command") == command and receipt.get("cwd") == str(REPOSITORY), + "full_probe_runtime_binding") + _require(receipt.get("process_outcome") == receipt.get("termination_reason") == "completed" + and type(receipt.get("exit_code")) is int and receipt["exit_code"] == 0 + and all(key in receipt and receipt[key] is None for key in ("exit_signal", "cancellation_signal", "error")) + and receipt.get("signals_sent") == [] + and receipt.get("artifact_limit_exceeded", False) is False + and receipt.get("channel_reusable", True) is True + and receipt.get("quarantine_path") is None, "full_probe_runtime_outcome") + observed, closure = receipt.get("observed_pids"), receipt.get("closure") + _require(all(type(receipt.get(key)) is int and receipt[key] > 0 for key in ("pid", "pgid", "session_id")) + and receipt["pid"] == receipt["pgid"] == receipt["session_id"] + and type(observed) is list and all(type(pid) is int and pid > 0 for pid in observed) + and observed == sorted(set(observed)) and receipt["pid"] in observed + and type(closure) is dict and closure.get("schema") == "solarlab.owned-tool-process-closure.v1" + and type(closure.get("pgid")) is int and closure["pgid"] == receipt["pgid"] + and type(closure.get("after_tool_exit_code")) is int and closure["after_tool_exit_code"] == 0 + and closure.get("process_group_absent") is True + and closure.get("all_named_owned_processes_and_groups_absent") is True + and closure.get("remaining_group_members") == [] and closure.get("remaining_owned_processes") == [] + and closure.get("error") is None, "full_probe_runtime_closure") + checks = closure.get("checks") + _require(type(checks) is list and all(type(row) is dict and type(row.get("pid")) is int + and row.get("pid_absent") is True and row.get("same_id_process_group_absent") is True for row in checks) + and [row["pid"] for row in checks] == observed, "full_probe_runtime_closure_checks") + recorded_limits = receipt.get("limits") + _require(type(recorded_limits) is dict and set(recorded_limits) == set(limits) + and all(type(recorded_limits[key]) is int if key in {"rss_bytes", "artifact_bytes"} + else type(recorded_limits[key]) in (int, float) for key in limits) + and all(recorded_limits[key] == value for key, value in limits.items()), "full_probe_runtime_limits") + wall = receipt.get("wall_s") + _require(type(wall) in (int, float) and 0 < wall < limits["wall_s"] <= 3600 + and type(receipt.get("receipt_initial_write_s")) in (int, float) + and 0 <= receipt["receipt_initial_write_s"] <= wall, "full_probe_runtime_wall") + if "wall_through_receipt_s" in receipt: + _require(type(receipt["wall_through_receipt_s"]) in (int, float) + and wall <= receipt["wall_through_receipt_s"] < limits["wall_s"], "full_probe_runtime_complete_wall") + _require(type(receipt.get("peak_group_rss_bytes")) is int + and 0 <= receipt["peak_group_rss_bytes"] <= limits["rss_bytes"] + and all(type(receipt.get(key)) is int and 0 <= receipt[key] <= limits["artifact_bytes"] for key in + ("peak_artifact_bytes", "artifact_bytes_before_receipt", "receipt_bytes", "artifact_bytes")) + and receipt["receipt_bytes"] == receipt_pin["bytes"] + and receipt["artifact_bytes"] == receipt["artifact_bytes_before_receipt"] + receipt["receipt_bytes"] + and receipt["peak_artifact_bytes"] >= receipt["artifact_bytes"], "full_probe_runtime_resources") + last, rss_peak, artifact_peak = (receipt.get(key) for key in ("last_samples", "rss_peak_sample", "artifact_peak_sample")) + _require(type(last) is list and len(last) <= 2 + and ((not last and rss_peak is artifact_peak is None and receipt["peak_group_rss_bytes"] == 0) + or (last and type(rss_peak) is dict and type(artifact_peak) is dict)), "full_probe_runtime_samples") + for sample in last + ([] if rss_peak is None else [rss_peak, artifact_peak]): + _require(type(sample) is dict and type(sample.get("elapsed_s")) in (int, float) + and 0 <= sample["elapsed_s"] <= wall + and type(sample.get("rss_bytes")) is int and 0 <= sample["rss_bytes"] <= receipt["peak_group_rss_bytes"] + and type(sample.get("artifact_bytes")) is int and 0 <= sample["artifact_bytes"] <= receipt["peak_artifact_bytes"] + and type(sample.get("members")) is list, "full_probe_runtime_sample_bounds") + _require(all(type(member) is dict and type(member.get("pid")) is int and member["pid"] in observed + and type(member.get("pgid")) is int and member["pgid"] == receipt["pgid"] + and type(member.get("rss_bytes")) is int and member["rss_bytes"] >= 0 for member in sample["members"]) + and sum(member["rss_bytes"] for member in sample["members"]) == sample["rss_bytes"], + "full_probe_runtime_sample_members") + _require(receipt["peak_group_rss_bytes"] == (0 if rss_peak is None else rss_peak["rss_bytes"]) + and receipt["peak_artifact_bytes"] == max(receipt["artifact_bytes"], + 0 if artifact_peak is None else artifact_peak["artifact_bytes"]), "full_probe_runtime_sample_maxima") + + +def _full_probe_evidence(plan, cases): + """Read existing receipts/JSON only, never the sealed history stream.""" + evidence = plan.get("probe_evidence") + probes = {name for name, case in cases.items() if case["stage"] == "probe"} + _require(type(evidence) is dict and set(evidence) == probes, "full_probe_receipts_required") + checked = {} + for name in sorted(probes): + refs = evidence[name] + required = {"runtime_receipt", "sealed_result", "producer_plan", "independent_readback"} + _require(type(refs) is dict and required <= set(refs) + and set(refs) <= required | {"runtime_timing"}, + "full_probe_evidence_fields") + values = {key: _positive_pin(ref, "full_probe_" + key) for key, ref in refs.items()} + receipt, result, producer = (values[key] for key in ("runtime_receipt", "sealed_result", "producer_plan")) + source = producer.get("source_freeze") + _require(type(source) is dict and type(producer.get("authority")) is dict + and type(producer.get("admission")) is dict + and producer.get("schema") == RUN_PLAN_SCHEMA and type(producer.get("version")) is int + and producer["version"] == 3 + and producer.get("status") == "admitted" + and producer.get("authority", {}).get("scientific_execution_authorized") is True + and producer.get("admission", {}).get("stage") == "probes" + and set(producer["admission"].get("admitted_case_ids", [])) == probes + and source.get("future_execution_commit") == plan["source_freeze"].get("future_execution_commit") + and source.get("source_sha256") == plan["source_freeze"].get("source_sha256"), + "full_probe_producer_source") + prior = validate(refs["producer_plan"]["path"], executable=True, case_id=name) + _require(prior["plan_sha256"] == refs["producer_plan"]["sha256"], "full_probe_plan_changed") + matches = [case for case in producer.get("cases", []) if case.get("id") == name] + _require(len(matches) == 1 and type(matches[0].get("execution")) is dict, + "full_probe_producer_case") + execution = matches[0]["execution"] + _require(type(execution.get("directory")) is str and Path(execution["directory"]).is_absolute() + and type(execution.get("supervision")) is dict, "full_probe_execution") + directory = Path(execution["directory"]) + _require(Path(refs["runtime_receipt"]["path"]).resolve() + == Path(execution["supervision"]["closure_path"]).resolve() + and Path(refs["sealed_result"]["path"]).resolve() == (directory / "NativeResult.json").resolve(), + "full_probe_receipt_paths") + request = _positive_pin(execution.get("request"), "full_probe_request") + _require(_digest(request) == execution.get("effective_input_digest") + and result.get("request_sha256") == execution["effective_input_digest"] + and _digest(request["segments"]) == _digest(plan["protocol"]["segments"]) + and _digest(_labelled_samples(request)) == _digest(plan["protocol"]["requested_sample_records"]), + "full_probe_input_and_labels") + from scripts.benchmarks.g2_route_bindings import effective_issues + ancestor = _positive_pin(cases[name]["input_ancestor"], "full_probe_ancestor") + _require(not effective_issues(request, ancestor, cases[name], producer), "full_probe_effective_request") + _probe_runtime_receipt(receipt, execution, refs["runtime_receipt"], refs["producer_plan"], name) + _require(result.get("status") == "completed_bounded_voltage_lift_native_pilot" + and result.get("complete_run_window") is True and result.get("complete_protocol") is False + and _digest(result.get("execution_window")) == _digest(request.get("execution_window")) + and request.get("execution_window", {}).get("sample_records") == 66, + "full_probe_complete_window") + history = result.get("history", {}) + _require(type(history) is dict and history.get("closed") is True and history.get("container_complete") is True + and history.get("writer_error") is None + and all(type(history.get(key)) is int and history[key] > 0 + for key in ("logical_bytes", "encoded_bytes", "records")) + and type(history.get("logical_sha256")) is str and len(history["logical_sha256"]) == 64 + and all(c in "0123456789abcdef" for c in history["logical_sha256"]), "full_probe_history_seal") + if "runtime_timing" in values: + timing = values["runtime_timing"] + _require(timing.get("schema") == "solarlab.native-aggregate-timing.v1" + and timing.get("recorded_call_outcome") == "returned_completed" + and Path(refs["runtime_timing"]["path"]).resolve() == (directory / "RuntimeTiming.json").resolve(), + "full_probe_timing") + if "independent_readback" in values: + reader = values["independent_readback"] + _require(reader.get("schema") == "solarlab.native-history-verification.v1" + and reader.get("verified") is True and reader.get("complete_readback") is True + and reader.get("complete_run_window") is True + and reader.get("request_sha256") == result["request_sha256"] + and Path(refs["independent_readback"]["path"]).resolve() == (directory / "RunResult.json").resolve() + and reader.get("history", {}).get("eof_seen") is True + and reader["history"].get("crc_verified") is True + and all(type(reader["history"].get(key)) is type(history[key]) + and reader["history"][key] == history[key] for key in + ("logical_sha256", "logical_bytes", "encoded_bytes", "records")), + "full_probe_independent_readback") + checked[name] = values + return checked + + +def _measurement_value(record, path): + _require(type(path) is list and 0 < len(path) <= 8 + and all(type(key) is str and key for key in path), "forecast_measurement_path") + for key in path: + _require(type(record) is dict and key in record, "forecast_measurement_missing") + record = record[key] + _require(type(record) in (int, float) and math.isfinite(record) and record >= 0, + "forecast_measurement_number") + return record + + +def _full_forecast(plan, case, probes): + """Bind actual phase clocks; whole-call bootstrap/closeout proxies are conservative.""" + from scripts.benchmarks.g2_route_bindings import forecast_cap + execution, phases = case["execution"], {"bootstrap", "native", "online_safety", "observer", "io", "closeout"} + forecast = execution.get("forecast") + _require(type(forecast) is dict and forecast.get("feasible") is True + and type(forecast.get("mesh_intervals")) is int + and forecast["mesh_intervals"] == case["mesh_intervals"] + and type(forecast.get("slow_hold_model")) is str and forecast["slow_hold_model"].strip() + and _digest(forecast.get("probe_evidence")) == _digest(plan["probe_evidence"]), + "full_forecast_evidence") + measured, work = forecast.get("measured_throughput"), forecast.get("phase_work_units") + _require(type(measured) is dict and set(measured) == phases and type(work) is dict and set(work) == phases, + "full_forecast_measured_phases") + clocks = { + "bootstrap": {("runtime_receipt", ("wall_s",), "s")}, + "native": {("sealed_result", ("elapsed_s",), "s"), + ("runtime_timing", ("phases", "ida_calls", "exclusive_ns"), "ns")}, + "online_safety": {("sealed_result", ("elapsed_s",), "s"), + ("runtime_timing", ("phases", "observation", "exclusive_ns"), "ns")}, + "observer": {("independent_readback", ("elapsed_s",), "s")}, + "io": {("runtime_timing", ("phases", name, "exclusive_ns"), "ns") + for name in ("history_io", "artifact_io")}, + "closeout": {("runtime_receipt", ("wall_s",), "s")}, + } + for phase in phases: + row = measured[phase] + _require(type(row) is dict and set(row) == {"probe_case_id", "source", "seconds_path", "time_unit", + "work_path", "seconds", "work_units", "units_per_s"} + and all(type(row[key]) is str for key in ("probe_case_id", "source", "time_unit")) + and row["probe_case_id"] in probes + and row["probe_case_id"] == "B_N8_" + case["id"].split("_")[2] + "_Probe" + and row["source"] in {"runtime_receipt", "sealed_result", "runtime_timing", "independent_readback"} + and row["source"] in probes[row["probe_case_id"]] and row["time_unit"] in {"s", "ns"}, + "full_forecast_throughput_fields") + _require(type(row["seconds_path"]) is list and all(type(key) is str for key in row["seconds_path"]) + and (row["source"], tuple(row["seconds_path"]), row["time_unit"]) in clocks[phase], + "full_forecast_phase_clock") + source = probes[row["probe_case_id"]][row["source"]] + seconds = _measurement_value(source, row["seconds_path"]) + if row["time_unit"] == "ns": + _require(type(seconds) is int, "forecast_integer_nanoseconds") + seconds = seconds / 10**9 + units = 1 if row["work_path"] is None else _measurement_value(source, row["work_path"]) + _require(seconds > 0 and units > 0 + and all(type(row[key]) in (int, float) and math.isfinite(row[key]) for key in + ("seconds", "work_units", "units_per_s")) + and row["seconds"] == seconds and row["work_units"] == units + and row["units_per_s"] == units / seconds, + "full_forecast_actual_throughput") + _require(type(work[phase]) in (int, float) and math.isfinite(work[phase]) and work[phase] >= units + and type(forecast.get("phase_seconds", {}).get(phase)) in (int, float) + and forecast["phase_seconds"][phase] >= work[phase] / row["units_per_s"], + "full_forecast_phase_work") + cap = forecast_cap(forecast) + _require(forecast["work_counts"]["accepted_steps"] >= + math.ceil((case["horizon_s"][1] - case["horizon_s"][0]) / plan["protocol"]["max_step_s"]), + "full_forecast_step_lower_bound") + _require(work["native"] >= forecast["work_counts"]["accepted_steps"], "full_forecast_native_work") + if case["mesh_intervals"] == 16: + _require(type(forecast.get("N16_uncertainty")) in (str, dict) and bool(forecast["N16_uncertainty"]), + "full_forecast_N16_uncertainty") + _require(type(forecast.get("estimated_s")) in (int, float) + and forecast["estimated_s"] == sum(forecast["phase_seconds"].values()) + and execution["wall_s"] == cap, "full_forecast_wall_binding") + return cap + + +def validate(plan_path, *, executable=False, case_id=None, purpose="run"): + """Metadata-only validation, including all labelled samples and case slots.""" + raw = _read(plan_path) + plan = json.loads(raw) + _require(purpose in {"run", "evaluate"}, "admission_purpose") + _require(plan.get("schema") == RUN_PLAN_SCHEMA and type(plan.get("version")) is int + and plan["version"] == 3, "plan_schema_V3_required") + resources = plan["resources"] + _require(resources["WS1_channels"] == 4 and resources["threads_per_case"] == 1 + and resources["rss_bytes_per_case"] <= 4*1024**3 + and resources["WS1_max_declared_rss_bytes"] <= 16*1024**3 + and resources["combined_persisted_case_bytes"] <= 4*1024**3 + and resources["reader_logical_byte_cap"] <= 32*1024**3, "four_channel_resource_contract") + labels = plan["protocol"]["requested_sample_records"] + _require(len(labels) == 131 and len({r["time_hex"] for r in labels}) == 129, "labelled_sample_contract") + segments = plan["protocol"]["segments"] + _require([s["id"] for s in segments] == ["dark_equilibrium_hold", "voltage_ramp", "slow_state_hold"] + and [s["start"] for s in segments] == [0., .1, .2] + and [s["end"] for s in segments] == [.1, .2, 9.2] + and [s["voltage"] for s in segments] == [[0, 0], [0, .1], [.1, .1]] + and all(s["photons"] == [0, 0] for s in segments) + and plan["protocol"]["max_step_s"] == .02, "declared_B_protocol") + expected_ids = {f"B_N8_{profile}_{stage}" for profile in ("Coarse", "Main", "Strict") for stage in ("Probe", "Full")} + expected_ids.add("B_N16_Strict_Full") + cases = {c["id"]: c for c in plan["cases"]} + _require(set(cases) == expected_ids and len(plan["cases"]) == len(cases), "seven_declared_cases") + admitted = _admitted_cases(plan, cases) + from scripts.benchmarks.physical_tolerance import PROFILES + ancestors, case_stages = {}, {} + for name, case in cases.items(): + declared_stage = {"Probe": "probe", "Full": "full"}[name.rsplit("_", 1)[1]] + _require(case.get("stage") in ("probe", "full") and case["stage"] == declared_stage, + "case_id_stage_binding") + case_stages[name] = declared_stage + probe = declared_stage == "probe" + profile = name.split("_")[2] + n = 16 if "N16" in name else 8 + count = sum(row["segment"] != "slow_state_hold" for row in labels) if probe else len(labels) + _require(all(type(case[k]) is int for k in ("mesh_intervals", "nodes", "coordinates", "sample_records", "native_execution_count")) + and case["mesh_intervals"] == n and case["nodes"] == n+1 and case["coordinates"] == 5*(n+1) + and tuple(case["profile"][k] for k in ("r", "alpha")) == PROFILES[("Coarse", "Main", "Strict").index(profile)] + and case["sample_records"] == count == (66 if probe else 131) + and case["horizon_s"] == [0, .2 if probe else 9.2] + and case["native_execution_count"] == 1, "case_geometry_profile_or_labels") + reference = case["input_ancestor"] + key = (reference["path"], reference["sha256"]) + if key not in ancestors: + ancestors[key] = _pinned(reference) + ancestor = ancestors[key] + _require(ancestor["numeric_packet"]["nodes"] == case["nodes"] + and ancestor["physical_tolerance_policy"]["profile"] == case["profile"], "input_ancestor_case") + _require(_digest(ancestor["segments"]) == _digest(segments) + and _digest(_labelled_samples(ancestor)) == _digest(labels), "input_ancestor_ordered_sample_tags") + refresh = case["reference_refresh"] + _require(type(refresh.get("enabled")) is bool and refresh["enabled"] is (not probe) + and refresh.get("record_schema") == "solarlab.reference-state-transfer.v2" + and refresh.get("max_refreshes") == (0 if probe else 1) + and refresh.get("schedule_ref") == "/protocol/reference_refresh_schedule", "case_refresh_scope") + if name in admitted and type(case.get("execution")) is dict and "supervision" in case["execution"]: + _validate_supervision(plan, case["execution"]) + schedule = plan["protocol"]["reference_refresh_schedule"] + _require(schedule.get("time_hex") == "0x1.7a4c1c85a8b06p-2" + and schedule.get("segment_id") == "slow_state_hold" and schedule.get("physical_segment_ordinal") == 3 + and schedule.get("max_refreshes") == 1 and schedule.get("native_api") == "init_step" + and schedule.get("record_schema") == "solarlab.reference-state-transfer.v2" + and not any("sha256" in key or "map_identity" in key for key in schedule), "shared_refresh_schedule") + _require(case_id is None or case_id in cases, "unknown_case") + for stage in plan["stages"]: + if "max_channels" in stage: + _require(0 < stage["max_channels"] <= 4 and len(stage.get("parallel_cases", [])) <= 4, "stage_channel_cap") + # These definitions are inputs, never imports from historical source_path. + freeze = plan["source_freeze"] + blockers = [] + if plan.get("admission") is None: + blockers.append("unresolved_admission_stage") + elif case_id is not None: + _require(case_id in admitted, "case_not_in_admitted_stage") + probes = _full_probe_evidence(plan, cases) if (plan.get("admission") or {}).get("stage") == "full" else None + definitions = _definition_bindings(plan, blockers) + if plan.get("status") != "admitted" or plan["authority"].get("scientific_execution_authorized") is not True: + blockers.append("run_plan_not_admitted") + if plan["implementation"].get("available_now") is not True: + blockers.append("implementation_not_reviewed") + for key in ("future_execution_commit", "environment_lock", "review_record", "frozen_gate_spec", + "frozen_evidence_method_contract"): + if not freeze.get(key): + blockers.append("unresolved_"+key) + if not blockers: + commit = freeze["future_execution_commit"] + _require(type(commit) is str and len(commit) == 40 and all(c in "0123456789abcdef" for c in commit), "execution_commit") + gate, review = _pinned(freeze["frozen_gate_spec"]), _pinned(freeze["review_record"]) + method = _pinned(freeze["frozen_evidence_method_contract"]) + _require(gate == definitions["gate_spec"] and method == definitions["evidence_method_contract"] + and freeze["frozen_gate_spec"]["sha256"] == plan["definitions"]["gate_spec"]["sha256"] + and freeze["frozen_evidence_method_contract"]["sha256"] == plan["definitions"]["evidence_method_contract"]["sha256"], + "frozen_definition_binding") + _require(freeze.get("method_versions") == METHODS and review.get("accepted") is True + and review.get("execution_commit") == commit and review.get("method_versions") == METHODS + and review.get("gate_spec_sha256") == freeze["frozen_gate_spec"]["sha256"] + and review.get("evidence_method_contract_sha256") == freeze["frozen_evidence_method_contract"]["sha256"] + and review.get("source_sha256") == freeze.get("source_sha256"), "source_review_binding") + if purpose == "run": + _require(str(Path(__file__).resolve()) in freeze["source_sha256"], "actual_entry_not_source_bound") + for path, expected in freeze["source_sha256"].items(): + _require(hashlib.sha256(_read(path, 16*1024*1024)).hexdigest() == expected, "actual_source_changed") + _pinned(freeze["environment_lock"]) + for case in (cases[name] for name in admitted): + stage = case_stages[case["id"]] + execution = case.get("execution") + _require(type(execution) is dict, "case_execution_unresolved") + _validate_supervision(plan, execution) + request = _pinned(execution["request"]) + from scripts.benchmarks.physical_tolerance import validate_certificate_policy, run_segment_count + policy = validate_certificate_policy(request) + _require(policy is not None and policy["observation"] == "sealed-history" + and policy["T1"] == {"schema": T1_SPEC_SCHEMA, "sha256": freeze["frozen_gate_spec"]["sha256"]} + and request["physical_tolerance_policy"]["profile"] == case["profile"] + and request["numeric_packet"]["nodes"] == case["nodes"] + and len(request["z0"]) == case["coordinates"] and request["controls"]["max_step"] == .02 + and request["voltage_lift_map"].get("mapped_input_words") == 12 + and run_segment_count(request) == (2 if stage == "probe" else 3), "effective_case_input") + _require(_digest(request["segments"]) == _digest(segments) + and _digest(_labelled_samples(request)) == _digest(labels), "effective_ordered_sample_tags") + from scripts.benchmarks.g2_route_bindings import effective_issues + ancestor = ancestors[(case["input_ancestor"]["path"], case["input_ancestor"]["sha256"])] + _require(not effective_issues(request, ancestor, case, plan), "effective_request_derivation") + _require(execution["effective_input_digest"] == _digest(request) + and review.get("request_sha256s", {}).get(case["id"]) == _digest(request), "effective_input_review") + _require(type(execution["channel"]) is int and 0 <= execution["channel"] < 4 + and "Execution12" not in Path(execution["directory"]).parts, "case_channel_or_namespace") + maximum = resources["probe_wall_cap_s"] if stage == "probe" else resources["full_wall_cap_max_s"] + _require(type(execution["wall_s"]) in (int, float) and math.isfinite(execution["wall_s"]) + and 0 < execution["wall_s"] <= maximum, "case_wall_cap") + if stage == "full": + _full_forecast(plan, case, probes) + try: + evaluation = _evaluation_blockers(plan) + except (ValueError, KeyError, OSError) as error: + if purpose == "evaluate": + raise + evaluation = [str(error)] # A bad evaluator binding cannot authorize evaluation or block a producer. + selected = blockers + (evaluation if purpose == "evaluate" else []) + if executable: + _require(not selected, ",".join(selected)) + return {"plan": plan, "plan_sha256": hashlib.sha256(raw).hexdigest(), "ready": not selected, + "run_ready": not blockers, "evaluation_ready": not blockers and not evaluation, + "blockers": selected, "evaluation_blockers": evaluation, + "case_ids": list(cases), "admitted_case_ids": admitted, + "admission_stage": None if plan.get("admission") is None else plan["admission"]["stage"], + "sample_records": {k: v["sample_records"] for k, v in cases.items()}} + + +def _runtime(context, case_id): + plan = context["plan"] + case = next(c for c in plan["cases"] if c["id"] == case_id) + execution = case["execution"] + deadline = time.perf_counter()+execution["wall_s"] + lock = _pinned(plan["source_freeze"]["environment_lock"]) + _require(lock.get("python_executable") == str(Path(sys.executable).resolve()) + and lock.get("python_version") == sys.version, "environment_lock_mismatch") + _require(all(os.environ.get(k) == v == "1" for k, v in plan["resources"]["thread_environment"].items()), "thread_environment") + # Same actual Accelerate getter as the maintained native caller; no thread pool. + import ctypes + blas = ctypes.CDLL("/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib") + blas.BLASSetThreading.argtypes = [ctypes.c_int] + blas.BLASSetThreading.restype = ctypes.c_int + blas.BLASGetThreading.restype = ctypes.c_int + blas.BLASSetThreading(1) + _require(blas.BLASGetThreading() == 1, "actual_BLAS_thread_mode") + request = _pinned(execution["request"]) + from scripts.benchmarks.coupled_device_prototype import SlabDefinition, AffineCoupledSlab, AffineVoltageMap, validate_voltage_lift_native_request, ProtocolSegment + definition = SlabDefinition(**request["numeric_packet"]["definition"]) + model = AffineCoupledSlab(definition, case["mesh_intervals"]) + mapping = AffineVoltageMap(model, mapped_input_profile=request["voltage_lift_map"]["mapped_input_profile"]) + segments = tuple(ProtocolSegment(**s) for s in request["segments"]) + validate_voltage_lift_native_request(mapping, segments, request) + def checkpoint(): + rss = resource.getrusage(resource.RUSAGE_SELF).ru_maxrss + _require(time.perf_counter() < deadline and rss <= plan["resources"]["rss_bytes_per_case"], "owned_wall_or_RSS_cap") + return case, request, mapping, segments, checkpoint + + +@contextmanager +def _channel(plan, execution): + """Use the launcher's inherited slot lock through producer and observer.""" + import fcntl + root = Path(plan["artifacts"]["channel_directory"]) + _require(root.is_dir(), "commander_channel_directory_required") + slot = root / (str(execution["channel"]) + ".lock") + inherited = os.environ.get("SOLARLAB_G2_ROUTE_CHANNEL_FD") + if inherited is not None: + _require(inherited.isdecimal(), "inherited_channel_fd") + try: + held, expected = os.fstat(int(inherited)), slot.stat() + except (OSError, OverflowError) as error: + raise ValueError("g2_route_inherited_channel_fd") from error + _require((held.st_dev, held.st_ino) == (expected.st_dev, expected.st_ino), "inherited_channel_identity") + yield + # Do not close or unlock the shared open-file description. The + # launcher releases it only after confirming all owned processes exit. + return + _require("supervision" not in execution and plan.get("status") != "admitted", + "supervised_channel_fd_required") + with slot.open("a+b") as stream: + fcntl.flock(stream, fcntl.LOCK_EX | fcntl.LOCK_NB) + try: + yield + finally: + fcntl.flock(stream, fcntl.LOCK_UN) + + +def _observe(context, case, request, mapping, checkpoint): + from scripts.benchmarks.native_history import HistoryWriter, integer_json_dumps + from scripts.benchmarks.native_readback import verify_history + from scripts.benchmarks.native_observation import SealedChargeObserver + from scripts.benchmarks.g2_compare import case_metadata, normalize_ida_sample + from scripts.benchmarks.native_runner import output_bytes + execution, resources = case["execution"], context["plan"]["resources"] + folder = Path(execution["directory"]) + remaining = resources["combined_persisted_case_bytes"]-output_bytes(folder, ()) + _require(remaining > 2*1048576, "combined_output_cap") + target = folder / "Observation" + target.mkdir(exist_ok=False) + writer = HistoryWriter(target / "Charge.jsonl.gz", encoding="gzip", total_output_bytes=remaining, + max_record_bytes=execution["max_record_bytes"], integer_io_policy=execution.get("integer_io_policy")) + try: + run_id = execution["native_admission"].get("operation_id") + _require(type(run_id) is str and run_id, "observation_operation_identity") + gate_ref = context["plan"]["source_freeze"]["frozen_gate_spec"] + observer = SealedChargeObserver(mapping, request, writer.append, checkpoint, + t1_context={"spec":_pinned(gate_ref),"spec_sha256":gate_ref["sha256"],"run_id":run_id,"case_id":case["id"]}) + comparison_context = case_metadata(request, case["id"]) + comparison_context["run_id"] = run_id + writer.append({"kind":"sealed_g2_context","request_sha256":_digest(request),"evidence":comparison_context}) + def retain_sample(tag, sample, certificate): + checkpoint() + writer.append({"kind":"sealed_g2_sample","request_sha256":_digest(request), + "evidence":normalize_ida_sample(request,tag,sample,certificate)}) + result = verify_history(folder, max_record_bytes=execution["max_record_bytes"], + max_logical_bytes=resources["reader_logical_byte_cap"], max_records=execution["max_records"], + deadline_monotonic=time.perf_counter()+execution["wall_s"], integer_io_policy=execution.get("integer_io_policy"), + execution_admission=execution["native_admission"], execution_provenance=execution.get("execution_provenance"), + charge_observer=observer, sample_sink=retain_sample) + checkpoint() + writer.finish() + result.update(plan_sha256=context["plan_sha256"], case_id=case["id"], methods=METHODS, + observed_history={"path": "Observation/Charge.jsonl.gz", "records": writer.records, + "logical_sha256": writer.logical_sha256, "logical_bytes": writer.logical_bytes, + "encoded_bytes": writer.encoded_bytes, "closed": writer.closed, + "container_complete":writer.closed}) + raw = (integer_json_dumps(result, execution.get("integer_io_policy"), indent=2)+"\n").encode() + _require(output_bytes(folder, ())+len(raw) <= resources["combined_persisted_case_bytes"], "combined_output_cap") + with (folder / "RunResult.json").open("xb") as stream: + stream.write(raw) + return result + except BaseException as error: + try: + writer.abort(error) + writer.publish_first_failure({"exception": type(error).__name__, "reason": str(error)[:2048]}) + except BaseException as secondary: + error.add_note("observer closeout: "+type(secondary).__name__) + raise + + +def run(plan_path, case_id): + context = validate(plan_path, executable=True, case_id=case_id) + execution = next(c for c in context["plan"]["cases"] if c["id"] == case_id)["execution"] + with _channel(context["plan"], execution): + case, request, mapping, segments, checkpoint = _runtime(context, case_id) + from scripts.benchmarks.native_runner import run_recorded + from scripts.benchmarks.coupled_device_prototype import run_voltage_lift_native_pilot + folder = Path(execution["directory"]) + folder.mkdir(exist_ok=False) + (folder / "NativeRequest.json").write_bytes(_read(execution["request"]["path"])) + result = run_recorded(folder, lambda writer: run_voltage_lift_native_pilot( + mapping, segments, request, execution["native_admission"], writer, + execution_provenance=execution.get("execution_provenance")), + total_output_bytes=context["plan"]["resources"]["combined_persisted_case_bytes"], + input_names=("NativeRequest.json",), max_record_bytes=execution["max_record_bytes"], + integer_io_policy=execution.get("integer_io_policy")) + checkpoint() + return result # Sealed producer evidence; observe has separate admission. + + +def observe(plan_path, case_id): + context = validate(plan_path, executable=True, case_id=case_id, purpose="evaluate") + execution = next(c for c in context["plan"]["cases"] if c["id"] == case_id)["execution"] + with _channel(context["plan"], execution): + case, request, mapping, _, checkpoint = _runtime(context, case_id) + return _observe(context, case, request, mapping, checkpoint) + + +def compare(plan_path, *, be_layout=None): + context = validate(plan_path, executable=True, purpose="evaluate") + from scripts.benchmarks.g2_compare import compare_plan + return compare_plan(context, be_layout=be_layout) + + +def main(argv=None): + parser = argparse.ArgumentParser(description=__doc__) + parser.add_argument("action", choices=("validate", "run", "observe", "compare")) + parser.add_argument("--plan", required=True, type=Path) + parser.add_argument("--case") + args = parser.parse_args(argv) + try: + if args.action == "validate": + result = validate(args.plan) + result.pop("plan") + elif args.action in {"run", "observe"}: + _require(args.case is not None, "case_required") + result = globals()[args.action](args.plan, args.case) + else: + result = compare(args.plan) + if args.action == "compare": + from scripts.benchmarks.native_history import integer_json_dumps + from scripts.benchmarks.t1_gate import INTEGER_POLICY + print(integer_json_dumps(result, INTEGER_POLICY, sort_keys=True, indent=2)) + else: + print(json.dumps(result, sort_keys=True, indent=2)) + return 0 + except (ValueError, KeyError, OSError) as error: + print(json.dumps({"status": "refused", "reason": str(error)})) + return 2 + + +if __name__ == "__main__": + raise SystemExit(main()) diff --git a/scripts/benchmarks/g2_route_bindings.py b/scripts/benchmarks/g2_route_bindings.py new file mode 100644 index 00000000..45ae234a --- /dev/null +++ b/scripts/benchmarks/g2_route_bindings.py @@ -0,0 +1,706 @@ +"""G2-R V3 binding preflight and deterministic effective-input preparation. + +Saved inputs are ancestry until a case supplies execution.request. This module +never edits an ancestral request, promotes a snapshot to a commit, or freezes T1. +Effective generation defaults to a dry run; explicit publication requires the +specified committed source bytes and frozen definition descriptors. +All hashes named *_sha256 below use canonical JSON except file descriptors. +The sampling hash includes BOTH observation_times and quadrature, as the +producer's reference-refresh and observer contracts require. +""" +from __future__ import annotations + +import argparse +import ast +from copy import deepcopy +import hashlib +import json +import math +import os +from pathlib import Path +import shutil +import subprocess +import sys + + +LIMIT = 4 * 1024**2 +PLAN_SCHEMA = "solarlab.g2-route.run-plan.v3" +PROFILES = {"Coarse": {"r": 1e-4, "alpha": 1e-8}, + "Main": {"r": 1e-5, "alpha": 1e-8}, + "Strict": {"r": 1e-6, "alpha": 1e-10}} +CASE_IDS = {f"B_N8_{p}_{s}" for p in PROFILES for s in ("Probe", "Full")} | {"B_N16_Strict_Full"} + + +def require(condition, reason): + if not condition: + raise ValueError("g2_bindings_" + reason) + + +def _case_stage(case): + require(case.get("id") in CASE_IDS, "case_id") + declared = {"Probe": "probe", "Full": "full"}[case["id"].rsplit("_", 1)[1]] + require(case.get("stage") in ("probe", "full") and case["stage"] == declared, "case_id_stage_binding") + return declared + + +def digest(value): + return hashlib.sha256(json.dumps(value, sort_keys=True, separators=(",", ":"), allow_nan=False).encode()).hexdigest() + + +def _object(pairs): + result = {} + for key, value in pairs: + require(key not in result, "duplicate_json_key:" + key) + result[key] = value + return result + + +def read_json(path, expected=None): + path = Path(path) + require(path.suffix == ".json" and path.is_file(), "json_metadata_only:" + str(path)) + with path.open("rb") as stream: + raw = stream.read(LIMIT + 1) + require(len(raw) <= LIMIT, "metadata_size") + record = {"path": str(path.resolve()), "bytes": len(raw), "sha256": hashlib.sha256(raw).hexdigest()} + if expected is not None: + require(expected.get("bytes") == len(raw) and expected.get("sha256") == record["sha256"], "file_pin:" + str(path)) + value = json.loads(raw, object_pairs_hook=_object, + parse_constant=lambda s: require(False, "nonfinite_json:" + s)) + require(type(value) is dict, "json_object") + return value, record + + +def pinned(reference): + require(type(reference) is dict and {"path", "bytes", "sha256"} <= reference.keys(), "unresolved_descriptor") + return read_json(reference["path"], reference) + + +def sample_labels(request, count=None): + """Keep event sides; a probe retains only the ramp-side 0.2 endpoint.""" + segments = request["segments"] if count is None else request["segments"][:count] + require(set(request["observation_times"]) == {s["id"] for s in request["segments"]}, "sampling_segments") + labels = [] + for i, segment in enumerate(segments): + times = request["observation_times"][segment["id"]] + require(len(times) >= 2 and times[0] == segment["start"] and times[-1] == segment["end"] + and all(type(t) in (int, float) and math.isfinite(t) for t in times) + and all(a < b for a, b in zip(times, times[1:])), "sampling_order_or_endpoints") + for j, t in enumerate(times): + labels.append({"segment": segment["id"], "index": j, "time_hex": float(t).hex(), + "event_side": "right" if j == 0 else "left" if j == len(times)-1 else "interior", + "protocol_initial": i == j == 0, + "protocol_terminal": i == len(request["segments"])-1 and j == len(times)-1}) + return labels + + +def inspect_request(request): + """Check saved identities and shapes without constructing a physical model.""" + require(request.get("schema") == "solarlab.voltage-lift-native-request.v1", "request_schema") + packet, mapping = request["numeric_packet"], request["voltage_lift_map"] + profile, size = request["physical_tolerance_policy"], len(request["z0"]) + require(size == profile["size"] == len(request["zdot0"]) == len(request["controls"]["atol"]), "coordinate_shape") + require(all(type(x) in (int, float) and math.isfinite(x) for k in ("z0", "zdot0") for x in request[k]), "initial_finite") + require(mapping["mapped_input_words"] == 12 and request["frame_input_policy"]["raw_parent_words"] == 4, + "raw4_mapped12") + require(digest(mapping) == request["map_identity"], "map_identity") + require(profile["numeric_packet_sha256"] == digest(packet) and request["weight_certificate"] == profile, + "physical_weight_identity") + require(request["budgets"] == request["original_budgets"], "historical_budgets_changed") + hashes = {"parent_map_identity": request["map_identity"], "map_sha256": digest(mapping), + "controls_sha256": digest(request["controls"]), "budgets_sha256": digest(request["budgets"]), + "segments_sha256": digest(request["segments"]), + "sampling_sha256": digest((request["observation_times"], request["quadrature"]))} + for name in ("interval_observation", "segment_frame_policy", "frame_input_policy", "reference_refresh_policy"): + policy = request.get(name, {}) + for key, expected in hashes.items(): + if key in policy: + require(policy[key] == expected, name + ":" + key) + for key, expected in (("map_identity", request["map_identity"]), ("protocol_sha256", hashes["segments_sha256"])): + if key in policy: + require(policy[key] == expected, name + ":" + key) + frame = request["initial_segment_frame"] + for key in ("physical_handoff_words_hex", "physical_rate_handoff_words_hex"): + require(len(frame[key]) == 12 and all(len(row) == size for row in frame[key]), "initial_word_shape") + require(all(isinstance(x, str) and math.isfinite(float.fromhex(x)) for row in frame[key] for x in row), "initial_word_finite") + labels = sample_labels(request) + return {"canonical_request_sha256": digest(request), **hashes, + "nodes": packet["nodes"], "mesh_intervals": packet["intervals"], "coordinates": size, + "profile": deepcopy(profile["profile"]), "controls": deepcopy(request["controls"]), + "budgets": deepcopy(request["budgets"]), "raw_components": 4, "mapped_components": 12, + "physical_charge_policy_observed": deepcopy(request["interval_observation"]["physical_charge"]), + "budget_scope": "Saved budgets and signed-charge diagnostics; no unfrozen T1 values are activated.", + "floor_basis": profile["floor_basis"], "physical_policy_sha256": digest(profile), + "protocol": deepcopy(request["segments"]), "sampling": {"full_labels": len(labels), + "unique_times": len({row["time_hex"] for row in labels}), + "positive_windows": len(labels)-len(request["segments"]), "labels_sha256": digest(labels)}, + "initial": {"actual_initial_identity": request["actual_initial_identity"], + "numeric_packet_sha256": digest(packet), + "physical_reference_fields_sha256": digest(packet["physical_reference_fields"]), + "z0_words_sha256": digest([float(x).hex() for x in request["z0"]]), + "zdot0_words_sha256": digest([float(x).hex() for x in request["zdot0"]]), + **{key + "_sha256": digest(frame[key]) for key in + ("physical_handoff_words_hex", "physical_rate_handoff_words_hex")}, + "preparation_record_sha256": digest(request["initial_preparation"]), + "preparation_context_sha256": request["preparation_context_sha256"]}} + + +def effective_issues(request, ancestor, case, plan): + """Check real supplied effective metadata; return every missing adaptation.""" + issues = [] + def check(value, reason): + if not value: + issues.append(reason) + check(request["controls"]["max_step"] == plan["protocol"]["max_step_s"], "controls.max_step_requires_0.02") + check(request["physical_tolerance_policy"]["profile"] == case["profile"], "profile_mismatch") + expected_controls = dict(ancestor["controls"], max_step=plan["protocol"]["max_step_s"]) + check(request["controls"] == expected_controls, "only_declared_max_step_control_change") + source_rebound = False + if "g2_source_rebinding" in request: + base = build_effective_request(ancestor, case, + source_commit=plan["source_freeze"]["future_execution_commit"], + generation_plan_sha256=plan["source_freeze"]["generation_plan_sha256"], + gate_spec=plan["definitions"]["gate_spec"]) + source_rebound = digest(request) == digest(rebind_effective_source(base)) + check(source_rebound, "effective_source_rebinding_changed") + for key in ("numeric_packet", "voltage_lift_map", "z0", "zdot0", "budgets", "original_budgets", + "segments", "observation_times", "quadrature", "physical_tolerance_policy"): + check(key == "voltage_lift_map" and source_rebound or digest(request[key]) == digest(ancestor[key]), + "saved_physical_input_changed:" + key) + for key in ("physical_handoff_words_hex", "physical_rate_handoff_words_hex"): + check(request["initial_segment_frame"][key] == ancestor["initial_segment_frame"][key], "initial_words_changed:" + key) + policy = request.get("certificate_failure_policy") + policy = policy if type(policy) is dict else {} + check(policy.get("schema") == "solarlab.certificate-failure-policy.v1" + and policy.get("scientific_failure") == "latch-and-continue" + and policy.get("safety_failure") == "stop" + and policy.get("observation") == "sealed-history", "D14_D25_certificate_policy") + check(bool(policy.get("T1")), "frozen_T1_request_binding") + if policy.get("T1"): + check(policy["T1"] == {"schema": "solarlab.g2-route.t1-gatespec.v3", + "sha256": plan["definitions"]["gate_spec"].get("sha256")}, "T1_definition_identity") + route = request.get("g2_route_controls") + check(type(route) is dict, "g2_route_controls_missing") + if type(route) is dict: + check(route.get("source_commit") == plan["source_freeze"].get("future_execution_commit"), "route_source_commit") + check(route.get("run_plan_sha256") == plan["source_freeze"].get("generation_plan_sha256"), "generation_plan_identity") + check(route.get("case_id") == case["id"], "route_case_identity") + probe = _case_stage(case) == "probe" + window = request.get("execution_window") + if probe: + expected_window = {"schema": "solarlab.protocol-run-window.v1", "last_segment": "voltage_ramp", + "segment_count": 2, "protocol_sha256": digest(request["segments"]), + "start_hex": float(0).hex(), "end_hex": float(.2).hex(), "full_end_hex": float(9.2).hex(), + "sample_records": 66, "initial_state": "original-protocol-initial-state", "multistep_history_restored": False} + check(window == expected_window, "probe_window_requires_66_ramp_side_labels") + else: + check(window is None, "full_protocol_required") + refresh = request.get("reference_refresh_policy") + if probe: + check(refresh is None, "probe_refresh_must_be_disabled") + else: + refresh = refresh or {} + schedule = plan["protocol"]["reference_refresh_schedule"] + for key in ("time_hex", "physical_segment_ordinal", "max_refreshes", "native_api", + "same_owner_generation_increment", "preserve_original_segment_inputs", + "discard_native_multistep_history", "restored_seed_prefix_credit"): + check(refresh.get(key) == schedule[key], "refresh:" + key) + check(refresh.get("schema") == "solarlab.reference-state-transfer-policy.v2" + and refresh.get("trigger") == "exact_domain_safe_native_endpoint" + and refresh.get("certificate_failure_policy_sha256") == digest(policy), "v2_refresh_source_binding") + return issues + + +def forecast_cap(forecast): + phases = ("bootstrap", "native", "online_safety", "observer", "io", "closeout") + require(type(forecast) is dict and set(forecast.get("phase_seconds", {})) == set(phases), "forecast_phases") + values = forecast["phase_seconds"].values() + require(all(type(x) in (int, float) and math.isfinite(x) and x >= 0 for x in values), "forecast_finite") + estimate = sum(values) + require(estimate > 0 and forecast.get("slow_hold_model") and forecast.get("work_counts") + and forecast.get("probe_evidence"), "forecast_unmeasured_phase_or_evidence") + require(all(type(forecast["work_counts"].get(k)) is int and forecast["work_counts"][k] >= 0 + for k in ("accepted_steps", "residual_calls", "jacobian_calls")), "forecast_work_counts") + if forecast.get("mesh_intervals") == 16: + require(forecast.get("N16_uncertainty"), "N16_forecast_uncertainty") + cap = math.ceil(3 * estimate) + require(cap <= 43200, "forecast_infeasible_no_silent_cap") + return cap + + +def resource_preflight(plan): + """Capacity snapshot, not a reservation; no directories or runs are created.""" + resources = plan["resources"] + require(resources["WS1_channels"] == 4 and resources["threads_per_case"] == 1 + and resources["rss_bytes_per_case"] == 4*1024**3 + and resources["combined_persisted_case_bytes"] == 4*1024**3 + and resources["reader_logical_byte_cap"] == 32*1024**3 + and resources["probe_wall_cap_s"] == 3600, "resource_contract") + active, archive = (Path(plan["artifacts"][k]) for k in ("active_root", "archive_root")) + # One complete temporary copy per case is a conservative preparation + # allowance, not a claim that streaming readers need 32 GiB scratch files. + quantities = [("active", active, 16*1024**3), ("temporary_copy_allowance", active, 16*1024**3), + ("completed_archive_copy", archive, 16*1024**3), ("workspace_headroom", active, 8*1024**3)] + devices = {} + for name, path, amount in quantities: + nearest = path + while not nearest.exists(): + nearest = nearest.parent + usage, device = shutil.disk_usage(nearest), os.stat(nearest).st_dev + entry = devices.setdefault(device, {"device": device, "total_bytes": usage.total, + "free_bytes": usage.free, "required_bytes": 0, "allocations": []}) + entry["free_bytes"] = min(entry["free_bytes"], usage.free) + entry["required_bytes"] += amount + entry["allocations"].append({"purpose": name, "planned_root": str(path), + "measured_at": str(nearest), "bytes": amount}) + for entry in devices.values(): + entry["capacity_sufficient"] = entry["free_bytes"] >= entry["required_bytes"] + case_stages = [(case, _case_stage(case)) for case in plan["cases"]] + return {"schema": "solarlab.g2-route.resource-preflight.v1", "reservation_made": False, + "WS1_channels": 4, "global_channel_cap": resources["global_scientific_channel_cap"], + "rss_bytes_per_case": resources["rss_bytes_per_case"], "four_channel_rss_bytes": 16*1024**3, + "combined_persisted_bytes_per_case": 4*1024**3, "reader_logical_bytes_per_case": 32*1024**3, + "four_channel_persisted_bytes": 16*1024**3, "peak_disk_allowance_bytes": 56*1024**3, + "filesystems": list(devices.values()), "disk_capacity_sufficient": all(d["capacity_sufficient"] for d in devices.values()), + "accounting": "Group free capacity by st_dev once; sum physically separate active/temp/archive copies even on the same filesystem.", + "temporary_allowance_basis": "up to one full persisted-case copy per concurrent case; no decompressed-history file", + "workspace_headroom_basis": "8 GiB prospective engineering headroom; final source/runtime staging must fit or be re-estimated", + "per_case": [{"case_id": c["id"], "rss_bytes": resources["rss_bytes_per_case"], + "persisted_bytes": resources["combined_persisted_case_bytes"], + "wall_cap_s": 3600 if stage == "probe" else None, + "wall_cap_status": "declared_runaway_guard" if stage == "probe" else "pending_probe_forecast", + "native_steps": resources["native_step_cap"], "residual_calls": resources["residual_call_cap"]} + for c, stage in case_stages], + "conditional_S0": {"shares_one_of_four_channels": True, "rss_bytes": resources["rss_bytes_per_case"], + "persisted_bytes": resources["combined_persisted_case_bytes"], "wall_s": None, + "reason": "Reuse/revalidation source decision pending; actual saved S0 budgets remain separate."}, + "full_forecast": {"estimated_seconds": None, "cap_seconds": None, "maximum_seconds": 43200, + "rule": "ceil(3 * sum(bootstrap,native,online_safety,observer,io,closeout)); reject when above43200", + "requirements": deepcopy(resources["forecast_requirements"]), + "probe_coverage": "0-0.2s excludes slow-hold startup, refresh and full throughput", + "N16_proxy": "4x N8 Strict work forecast only as explicit uncertain engineering proxy", + "rolling_forecast": resources["rolling_forecast"]}, + "pending": ["actual channel reservation and host-wide memory availability", + "recheck free capacity immediately before admission", + "genuine per-case source-bound wall/output policies and immutable execution directories"]} + + +def route_capabilities(path): + """Inspect reviewed entry text, without importing its runtime paths.""" + raw = Path(path).read_bytes() + require(len(raw) <= LIMIT, "source_size") + tree = ast.parse(raw) + schemas = sorted({n.value for n in ast.walk(tree) if isinstance(n, ast.Constant) + and isinstance(n.value, str) and n.value.startswith("solarlab.g2-route.run-plan.")}) + definition_schema, evaluator_files = None, None + for node in tree.body: + if isinstance(node, ast.Assign): + names = {t.id for t in node.targets if isinstance(t, ast.Name)} + if "T1_SPEC_SCHEMA" in names: + definition_schema = ast.literal_eval(node.value) + if "EVALUATOR_FILES" in names: + evaluator_files = ast.literal_eval(node.value) + return {"source": {"path": str(Path(path).resolve()), "bytes": len(raw), "sha256": hashlib.sha256(raw).hexdigest()}, + "literal_plan_schemas": schemas, "run_T1_definition_schema": definition_schema, + "separate_evaluator_sources": evaluator_files, + "scope": "source metadata observation; not implementation review or runtime validation"} + + +def resolve(plan_path, *, repository, n16_acceptance, environment_lock=None, resource_preflight=None): + plan, plan_pin = read_json(plan_path) + require(plan.get("schema") == PLAN_SCHEMA and type(plan.get("version")) is int and plan["version"] == 3, "plan_schema") + require({c["id"] for c in plan["cases"]} == CASE_IDS and len(plan["cases"]) == 7, "seven_cases") + schedule = plan["protocol"]["reference_refresh_schedule"] + require(not any("sha256" in k or "map_identity" in k for k in schedule), "shared_case_specific_identity") + require(schedule["time_hex"] == "0x1.7a4c1c85a8b06p-2" and schedule["segment_id"] == "slow_state_hold" + and schedule["max_refreshes"] == 1 and schedule["native_api"] == "init_step", "refresh_schedule") + missing = [] + freeze = plan["source_freeze"] + for key in ("future_execution_commit", "review_record", "frozen_gate_spec", "frozen_evidence_method_contract"): + if not freeze.get(key): + missing.append("source_freeze." + key) + if freeze.get("future_execution_commit"): + commit = freeze["future_execution_commit"] + require(type(commit) is str and len(commit) == 40 and all(c in "0123456789abcdef" for c in commit), "commit_format") + if not freeze.get("environment_lock"): + missing.append("source_freeze.environment_lock_not_commander_bound") + if plan.get("status") != "admitted" or plan["authority"].get("scientific_execution_authorized") is not True: + missing.append("run_plan_not_admitted") + from scripts.benchmarks.g2_route import _resolved_descriptor, _frozen_definition, T1_SPEC_SCHEMA, EVIDENCE_METHOD_SCHEMA + gate_ref = plan["definitions"]["gate_spec"] + gate, gate_pin = pinned(gate_ref) if _resolved_descriptor(gate_ref) else ({}, None) + if gate.get("status") != "frozen": + missing.append("T1_not_frozen") + else: + _frozen_definition(gate, T1_SPEC_SCHEMA, 3) + method_ref = plan["definitions"].get("evidence_method_contract") + method, method_pin = pinned(method_ref) if _resolved_descriptor(method_ref) else ({}, None) + if method.get("status") != "frozen": + missing.append("evidence_method_contract_not_frozen") + else: + _frozen_definition(method, EVIDENCE_METHOD_SCHEMA, 1) + if method_pin: + require(method.get("schema") == method_ref.get("schema", EVIDENCE_METHOD_SCHEMA), "method_contract_schema") + if freeze.get("frozen_gate_spec"): + frozen, frozen_pin = pinned(freeze["frozen_gate_spec"]) + require(frozen.get("status") == "frozen" and frozen_pin == gate_pin, "gate_freeze_mismatch") + capabilities = route_capabilities(Path(repository) / plan["implementation"]["entrypoint_proposal"]) + if PLAN_SCHEMA not in capabilities["literal_plan_schemas"]: + missing.append("reviewed_entry_does_not_support_RunPlanV3") + if capabilities["run_T1_definition_schema"] != "solarlab.g2-route.t1-gatespec.v3": + missing.append("run_T1_definition_schema_pending") + accepted, acceptance_pin = read_json(n16_acceptance) + require(accepted.get("accepted") is True and accepted.get("source_input_acceptance_only") is True, + "N16_saved_input_acceptance") + n16 = accepted["cases"]["B"] + cases = [] + for case in plan["cases"]: + name = case["id"] + declared_stage = _case_stage(case) + probe = declared_stage == "probe" + mesh = 16 if "N16" in name else 8 + require(all(type(case[k]) is int for k in ("nodes", "coordinates", "mesh_intervals", "sample_records")) + and case["profile"] == PROFILES[name.split("_")[2]] and case["nodes"] == mesh+1 + and case["coordinates"] == 5*(mesh+1) and case["mesh_intervals"] == mesh + and case["horizon_s"] == [0, .2 if probe else 9.2] + and case["sample_records"] == (66 if probe else 131), "case_definition:" + name) + ancestor, ancestor_pin = pinned(case["input_ancestor"]) + observed = inspect_request(ancestor) + require(observed["nodes"] == case["nodes"] and observed["coordinates"] == case["coordinates"] + and observed["profile"] == case["profile"], "ancestor_case:" + name) + require(digest(ancestor["segments"]) == digest(plan["protocol"]["segments"]) + and digest(sample_labels(ancestor)) == digest(plan["protocol"]["requested_sample_records"]), "original_protocol_labels") + if mesh == 16: + require(ancestor_pin == n16["request"] and observed["canonical_request_sha256"] == n16["canonical_request_sha256"] + and observed["initial"]["actual_initial_identity"] == n16["actual_initial_identity"], "N16_actual_accepted_input") + execution = case.get("execution") or {} + effective, effective_pin, binding = None, None, None + issues = [] + if execution.get("request"): + effective, effective_pin = pinned(execution["request"]) + binding = inspect_request(effective) + require(digest(sample_labels(effective)) == digest(plan["protocol"]["requested_sample_records"]), "effective_protocol_labels") + issues.extend(effective_issues(effective, ancestor, case, plan)) + if execution.get("effective_input_digest") != binding["canonical_request_sha256"]: + issues.append("effective_input_digest") + else: + issues.append("effective_request_not_materialized") + for key in ("directory", "channel", "wall_s", "max_record_bytes", "max_records", "integer_io_policy", "native_admission", "supervision"): + if execution.get(key) is None: + issues.append("execution." + key) + if execution.get("supervision") is not None: + from scripts.benchmarks.g2_route import _validate_supervision + _validate_supervision(plan, execution) + if probe and execution.get("wall_s") is not None: + require(type(execution["wall_s"]) in (int, float) and 0 < execution["wall_s"] <= 3600, "probe_wall_guard") + if not probe: + if not execution.get("forecast"): + issues.append("phase_and_work_forecast_after_probe") + else: + require(execution.get("wall_s") == forecast_cap(execution["forecast"]), "forecast_cap_binding") + missing.extend(name + ":" + issue for issue in issues) + planned_labels = sample_labels(ancestor, 2 if probe else 3) + cases.append({"case_id": name, "stage": case["stage"], "profile": case["profile"], + "ancestry": {"request": ancestor_pin, "resolved": observed, + "old_reference_refresh_policy": deepcopy(ancestor.get("reference_refresh_policy")), + "saved_input_acceptance": acceptance_pin if mesh == 16 else None}, + "effective_request": effective_pin, "effective_case_binding": binding, + "binding_status": "pending" if issues else "metadata_resolved_not_admitted", + "required_adaptations_from_saved_input": effective_issues(ancestor, ancestor, case, plan), + "planned_active_sampling": {"records": len(planned_labels), + "unique_times": len({row["time_hex"] for row in planned_labels}), + "positive_windows": len(planned_labels)-(2 if probe else 3), + "labels_sha256": digest(planned_labels), "last_label": planned_labels[-1]}, + "reference_refresh": {"enabled": not probe, "max_refreshes": 0 if probe else 1, + "schedule_ref": "/shared_reference_refresh_schedule"}, + "missing": issues}) + acceptance, s0_pin = pinned(plan["conditional_S0"]["reference"]) + require(acceptance.get("accepted") is True and acceptance.get("complete_protocol_accepted") is True, "S0_acceptance") + s0, s0_input = pinned(acceptance["actual_input"]) + s0_binding = inspect_request(s0) + require(s0_binding["canonical_request_sha256"] == acceptance["request_sha256"], "S0_actual_request") + missing.append("conditional_S0.current_source_reuse_or_revalidation_review") + environment = read_json(environment_lock) if environment_lock else None + if not environment or environment[0].get("loaded_thread_verification", {}).get("passed") is not True: + missing.append("actual_loaded_environment_lock") + resources = read_json(resource_preflight) if resource_preflight else None + if not resources or resources[0].get("disk_capacity_sufficient") is not True: + missing.append("disk_resource_preflight") + return {"schema": "solarlab.g2-route.bindings.v1", "status": "not_admitted" if missing else "metadata_validated", + "execution_authorized": False, "metadata_only": True, "source_plan": plan_pin, + "definition_observed": gate_pin, "method_contract_observed": method_pin, + "evaluation_status": "requires_separate_evaluator_source_review", + "source_freeze": deepcopy(freeze), "source_capabilities": capabilities, + "shared_reference_refresh_schedule": deepcopy(schedule), "cases": cases, + "conditional_S0": {"case_id": "S0_Revalidation", "acceptance": s0_pin, "actual_input": s0_input, + "observed": s0_binding, "decision": "pending_independent_source_review", + "conditions": deepcopy(plan["conditional_S0"])}, + "environment_lock_observed": environment[1] if environment else None, + "resource_preflight_observed": resources[1] if resources else None, + "missing": missing, "scientific_qualification": False, + "scope": "Parsing and identity checks only; future effective requests and source admission are separate."} + + +def build_effective_request(ancestor, case, *, source_commit, generation_plan_sha256, gate_spec): + """Derive metadata from saved inputs, retaining all original initial words. + + The original three-segment protocol remains declared. A probe's existing + execution_window selects its two active segments and 66 tagged records. + Initial preparation is retained evidence, not a claimed fresh evaluation. + """ + from scripts.benchmarks.physical_tolerance import (certificate_failure_policy, route_controls_policy, + run_window_policy, segment_startup_policy, validate_request) + from scripts.benchmarks.coupled_device_prototype import (_segment_frame_policy, _frame_input_policy, + _reference_refresh_policy, _validate_segment_frame_policy) + from scripts.benchmarks.native_observation import prepare_interval_observation_policy + inspect_request(ancestor) + require(ancestor["physical_tolerance_policy"]["profile"] == case["profile"], "generation_profile") + request = deepcopy(ancestor) + require("g2_route_controls" not in request and "execution_window" not in request + and "certificate_failure_policy" not in request, "generation_ancestral_request") + request["g2_route_controls"] = route_controls_policy(request, case_id=case["id"], + source_commit=source_commit, run_plan_sha256=generation_plan_sha256) + request["controls"]["max_step"] = .02 + request["certificate_failure_policy"] = certificate_failure_policy(observation="sealed-history", + t1={"schema": "solarlab.g2-route.t1-gatespec.v3", "sha256": gate_spec["sha256"]}) + request.pop("reference_refresh_policy", None) + if _case_stage(case) == "probe": + request["execution_window"] = run_window_policy(request, "voltage_ramp") + else: + request["reference_refresh_policy"] = _reference_refresh_policy(request, float.fromhex("0x1.7a4c1c85a8b06p-2")) + request["segment_startup_policy"] = segment_startup_policy(request, ancestor["segment_startup_policy"]["overrides"]) + request["segment_frame_policy"] = _segment_frame_policy(request, ancestor["segment_frame_policy"]["name"]) + request["frame_input_policy"] = _frame_input_policy(request, ancestor["frame_input_policy"]["profile"]) + old = ancestor["interval_observation"] + request["interval_observation"] = prepare_interval_observation_policy(request, + binding_identity=old["binding_identity"], header_sha256=old["header_sha256"], backend_modules=deepcopy(old["backend_modules"]), + charge_refinement=old.get("charge_refinement", {}).get("name")) + validate_request(request) + _validate_segment_frame_policy(request) + inspect_request(request) + for key in ("numeric_packet", "voltage_lift_map", "z0", "zdot0", "actual_initial_identity", + "initial_preparation", "preparation_context_sha256", "initial_segment_frame"): + require(digest(request[key]) == digest(ancestor[key]), "generated_initial_or_physics_changed:" + key) + return request + + +def rebind_effective_source(request): + """Rebuild source-dependent identities, proving the saved physical words unchanged. + + This explicit N8 probe operation performs the existing non-native initial + construction once. It never allocates IDA, changes physical controls, or + grants execution. The old effective input remains immutable ancestry. + """ + from scripts.benchmarks import coupled_device_prototype as kernel + from scripts.benchmarks.physical_tolerance import run_segment_count + from scripts.benchmarks.native_observation import prepare_interval_observation_policy + import numpy as np + + inspect_request(request) + require("g2_source_rebinding" not in request and "qualification_policy" not in request + and request["numeric_packet"]["intervals"] == 8 and run_segment_count(request) == 2, + "source_rebinding_N8_probe_scope") + packet = request["numeric_packet"] + model = kernel.AffineCoupledSlab(kernel.SlabDefinition(**packet["definition"]), 8) + require(digest(model.numeric_packet()) == digest(packet), "source_rebinding_physical_packet") + mapping = kernel.AffineVoltageMap(model, mapped_input_profile=request["voltage_lift_map"]["mapped_input_profile"]) + old_map, new_map = request["voltage_lift_map"], mapping.payload() + require(digest({k:v for k,v in old_map.items() if k != "physical_model"}) + == digest({k:v for k,v in new_map.items() if k != "physical_model"}), + "source_rebinding_physical_map") + out = deepcopy(request) + if digest(old_map) == digest(new_map): + kernel.validate_voltage_lift_native_request(mapping, tuple(kernel.ProtocolSegment(**s) for s in out["segments"]), out) + return out + out.update(voltage_lift_map=new_map, map_identity=mapping.identity, + physical_charge_forms={name:model.linear_forms["increment"][name].identity + for name in ("body_charge", "metal_charge")}) + out["g2_source_rebinding"] = { + "schema":"solarlab.g2-route.source-rebinding.v1", "parent_effective_input_sha256":digest(request), + "parent_physical_model_identity":old_map["physical_model"], + "physical_model_identity":model.source_identity, + "executing_kernel_sha256":hashlib.sha256(Path(kernel.__file__).read_bytes()).hexdigest(), + "numeric_packet_sha256":digest(packet), + "saved_initial_preparation_sha256":digest(request["initial_preparation"]), + "physical_controls_and_initial_words_changed":False} + # Recreate the original dependency order; retained proofs are ancestry, + # while these new records bind the currently executing physical source. + for key in ("z0", "zdot0", "actual_initial_identity", "initial_preparation", + "preparation_context_sha256", "initial_segment_frame", "interval_observation"): + out.pop(key, None) + out["segment_frame_policy"] = kernel._segment_frame_policy(out, request["segment_frame_policy"]["name"]) + out["frame_input_policy"] = kernel._frame_input_policy(out, request["frame_input_policy"]["profile"]) + context = kernel.AffineSamplingContext(model, out) + _, z0, zdot0, initial, frame = kernel.voltage_lift_segment_initialization( + mapping, context, context.segments[0], 1, np.zeros(model.layout.size), model.reference) + require(digest(z0.tolist()) == digest(request["z0"]) + and digest(zdot0.tolist()) == digest(request["zdot0"]) + and initial["point_identity"] == request["actual_initial_identity"], + "source_rebinding_initial_state") + for key in ("physical_handoff_words_hex", "physical_rate_handoff_words_hex", + "native_initial_z_hex", "native_initial_zdot_hex"): + require(digest(frame[key]) == digest(request["initial_segment_frame"][key]), + "source_rebinding_saved_words:" + key) + initial_id_fields = {"request_sha256", "source_identity", "map_identity", "segment_frame_identity", "record_sha256"} + require(digest({k:v for k,v in initial.items() if k not in initial_id_fields}) + == digest({k:v for k,v in request["initial_preparation"].items() if k not in initial_id_fields}), + "source_rebinding_initial_evidence") + out.update(z0=z0.tolist(), zdot0=zdot0.tolist(), actual_initial_identity=initial["point_identity"], + initial_preparation=initial, preparation_context_sha256=context.request_sha256, initial_segment_frame=frame) + old_observation = request["interval_observation"] + out["interval_observation"] = prepare_interval_observation_policy(out, + binding_identity=old_observation["binding_identity"], header_sha256=old_observation["header_sha256"], + backend_modules=deepcopy(old_observation["backend_modules"]), + charge_refinement=old_observation.get("charge_refinement",{}).get("name")) + kernel.validate_voltage_lift_native_request(mapping, context.segments, out) + inspect_request(out) + return out + + +def committed_request_sources(repository, commit): + """Read exact Git blobs; never checkout, stage, commit or modify the index.""" + require(type(commit) is str and len(commit) == 40 and all(c in "0123456789abcdef" for c in commit), "source_commit") + root = Path(repository).resolve() + require(root == Path(__file__).resolve().parents[2], "generator_loaded_repository") + try: + actual = subprocess.check_output(["git", "rev-parse", commit + "^{commit}"], cwd=root, + stderr=subprocess.PIPE, text=True, timeout=15).strip() + except (subprocess.CalledProcessError, subprocess.TimeoutExpired) as error: + raise ValueError("g2_bindings_source_commit_unavailable") from error + require(actual == commit, "source_commit_object") + paths = ["scripts/benchmarks/" + name + ".py" for name in + ("g2_route", "g2_route_bindings", "coupled_device_prototype", "native_observation", "native_readback", + "interval_observation", "physical_tolerance", "qualification_policy", "precision_prototype", "contract_prototype")] + paths.append("perovskite-sim/perovskite_sim/constants.py") + pins = {} + for relative in paths: + source = root / relative + raw = source.read_bytes() + try: + committed = subprocess.check_output(["git", "show", commit + ":" + relative], cwd=root, + stderr=subprocess.PIPE, timeout=15) + except (subprocess.CalledProcessError, subprocess.TimeoutExpired) as error: + raise ValueError("g2_bindings_committed_source_missing:" + relative) from error + require(raw == committed, "uncommitted_generation_source:" + relative) + pins[str(source)] = hashlib.sha256(raw).hexdigest() + return pins + + +def generate_effective(plan_path, *, repository, source_commit=None, output=None, publish=False, n16_acceptance=None, + frozen_gate_spec=None, frozen_method_contract=None): + """Seven deterministic metadata requests; no model, history or native run.""" + from scripts.benchmarks.g2_route import _definition_bindings + plan, plan_pin = read_json(plan_path) + require(plan.get("schema") == PLAN_SCHEMA and type(plan.get("version")) is int and plan["version"] == 3, "plan_schema") + require({c["id"] for c in plan["cases"]} == CASE_IDS and len(plan["cases"]) == 7, "seven_cases") + for key, path in (("gate_spec", frozen_gate_spec), ("evidence_method_contract", frozen_method_contract)): + if path is not None: + doc, ref = read_json(path) + ref["schema"] = doc.get("schema") + plan["definitions"][key] = ref + missing = [] + _definition_bindings(plan, missing, include_plan=False) + commit = source_commit or plan["source_freeze"].get("future_execution_commit") + if not commit: + missing.append("source_commit_not_bound") + if not n16_acceptance: + missing.append("N16_saved_input_acceptance_not_bound") + if missing: + require(not publish, "generation_not_ready:" + ",".join(missing)) + return {"status": "not_admitted", "dry_run": True, "missing": missing, + "source_plan": plan_pin, "generated_requests": 0, "execution_authorized": False} + source_pins = committed_request_sources(repository, commit) + acceptance, acceptance_pin = read_json(n16_acceptance) + require(acceptance.get("accepted") is True and acceptance.get("source_input_acceptance_only") is True, + "N16_saved_input_acceptance") + destination = Path(output) if output is not None else Path(plan_path).parent / "Materialization/EffectiveRequestsV1" + require(not destination.exists(), "effective_output_already_exists") + result, rendered = [], [] + for case in plan["cases"]: + ancestor, ancestor_pin = pinned(case["input_ancestor"]) + active = _case_stage(case) + mesh = 16 if "N16" in case["id"] else 8 + require(type(case["mesh_intervals"]) is int and case["mesh_intervals"] == mesh + and case["nodes"] == mesh+1 and case["coordinates"] == 5*(mesh+1) + and case["profile"] == PROFILES[case["id"].split("_")[2]], "generation_case_scope") + require(digest(ancestor["segments"]) == digest(plan["protocol"]["segments"]) + and digest(sample_labels(ancestor)) == digest(plan["protocol"]["requested_sample_records"]), "generation_original_protocol") + if mesh == 16: + accepted = acceptance["cases"]["B"] + require(ancestor_pin == accepted["request"] and digest(ancestor) == accepted["canonical_request_sha256"] + and ancestor["actual_initial_identity"] == accepted["actual_initial_identity"], "N16_actual_accepted_input") + request = build_effective_request(ancestor, case, source_commit=commit, + generation_plan_sha256=plan_pin["sha256"], gate_spec=plan["definitions"]["gate_spec"]) + checking_plan = deepcopy(plan) + checking_plan["source_freeze"].update(future_execution_commit=commit, generation_plan_sha256=plan_pin["sha256"]) + require(not effective_issues(request, ancestor, case, checking_plan), "generated_effective_metadata") + raw = (json.dumps(request, sort_keys=True, indent=2, allow_nan=False)+"\n").encode() + require(len(raw) <= LIMIT, "effective_request_size") + target = destination / (case["id"] + ".json") + observed = inspect_request(request) + result.append({"case_id": case["id"], "request": {"path": str(target.resolve()), "bytes": len(raw), + "sha256": hashlib.sha256(raw).hexdigest()}, "effective_input_digest": digest(request), + "source_commit": commit, "generation_plan_sha256": plan_pin["sha256"], + "ancestor": ancestor_pin, "active_segments": 2 if active == "probe" else 3, + "active_samples": sample_labels(request, 2 if active == "probe" else 3), + "controls_sha256": observed["controls_sha256"], "sampling_sha256": observed["sampling_sha256"], + "map_identity": request["map_identity"], "physical_policy_sha256": observed["physical_policy_sha256"], + "retained_initial_preparation": observed["initial"], + "reference_refresh": deepcopy(request.get("reference_refresh_policy")), + "gate_spec": deepcopy(plan["definitions"]["gate_spec"]), + "evidence_method_contract": deepcopy(plan["definitions"]["evidence_method_contract"])}) + result[-1]["execution"] = {"request": deepcopy(result[-1]["request"]), "effective_input_digest": digest(request)} + result[-1]["execution_fields_required_from_commander"] = ["directory", "channel", "wall_s", "max_record_bytes", + "max_records", "integer_io_policy", "native_admission", "supervision"] + ([] if active == "probe" else ["forecast"]) + rendered.append((target, raw)) + require(sum(len(raw) for _, raw in rendered) <= 32*1024**2, "effective_bundle_size") + receipt = {"schema": "solarlab.g2-route.effective-requests.v1", "status": "published_not_admitted" if publish else "dry_run_not_admitted", + "source_plan": plan_pin, "generation_plan_sha256": plan_pin["sha256"], "source_commit": commit, + "source_sha256": source_pins, "N16_saved_input_acceptance": acceptance_pin, "cases": result, "execution_authorized": False, + "initial_state_action": "retain exact saved state/rate and initial-preparation evidence; no initializer invoked", + "native_or_model_calls": 0, "history_reads": 0} + if publish: + destination.mkdir(parents=True, exist_ok=False) + for target, raw in rendered: + with target.open("xb") as stream: + stream.write(raw) + with (destination / "Index.json").open("x") as stream: + json.dump(receipt, stream, indent=2, allow_nan=False) + stream.write("\n") + return receipt + + +def main(argv=None): + parser = argparse.ArgumentParser(description=__doc__) + parser.add_argument("--plan", required=True) + parser.add_argument("--repository", type=Path, default=Path(__file__).resolve().parents[2]) + parser.add_argument("--n16-acceptance") + parser.add_argument("--generate-effective", action="store_true") + parser.add_argument("--source-commit") + parser.add_argument("--output", type=Path) + parser.add_argument("--publish", action="store_true") + parser.add_argument("--frozen-gate-spec") + parser.add_argument("--frozen-method-contract") + parser.add_argument("--environment-lock") + parser.add_argument("--resource-preflight") + args = parser.parse_args(argv) + try: + if args.generate_effective: + result = generate_effective(args.plan, repository=args.repository, source_commit=args.source_commit, + output=args.output, publish=args.publish, n16_acceptance=args.n16_acceptance, + frozen_gate_spec=args.frozen_gate_spec, frozen_method_contract=args.frozen_method_contract) + else: + require(args.n16_acceptance is not None and not args.publish and args.source_commit is None and args.output is None + and args.frozen_gate_spec is None and args.frozen_method_contract is None, + "binding_cli_arguments") + result = resolve(args.plan, repository=args.repository, n16_acceptance=args.n16_acceptance, + environment_lock=args.environment_lock, resource_preflight=args.resource_preflight) + except (ValueError, KeyError, TypeError, OSError, SyntaxError) as error: + print(json.dumps({"status": "invalid_metadata", "execution_authorized": False, + "error": type(error).__name__, "reason": str(error)}, indent=2)) + return 2 + print(json.dumps(result, sort_keys=True, indent=2, allow_nan=False)) + return 0 if result["status"] in {"metadata_validated", "dry_run_not_admitted", "published_not_admitted"} else 1 + + +if __name__ == "__main__": + sys.exit(main()) diff --git a/scripts/benchmarks/g2_route_launcher.py b/scripts/benchmarks/g2_route_launcher.py new file mode 100644 index 00000000..4777fa9a --- /dev/null +++ b/scripts/benchmarks/g2_route_launcher.py @@ -0,0 +1,761 @@ +"""Commander-owned, per-case POSIX watchdog for the G2 route. + +All limits come from the selected RunPlan execution/supervision fields. The +watchdog does not grant scientific admission or interpret numerical results. +The entry must adopt the inherited channel FD; opening a second flock would +conflict with the watchdog's lock. See ``inherited_channel`` for that contract. +""" +from __future__ import annotations + +import argparse +from contextlib import contextmanager +import ctypes +from dataclasses import dataclass +from datetime import datetime, timezone +import fcntl +from fractions import Fraction +import hashlib +import json +import math +import os +from pathlib import Path +import signal +import stat +import subprocess +import sys +import time + + +REPOSITORY = Path(__file__).resolve().parents[2] +CHANNEL_FD_ENV = "SOLARLAB_G2_ROUTE_CHANNEL_FD" +CHANNEL_PROTOCOL = "solarlab.g2-route.inherited-channel.v1" +THREAD_VARIABLES = ( + "OMP_NUM_THREADS", "OPENBLAS_NUM_THREADS", "MKL_NUM_THREADS", + "VECLIB_MAXIMUM_THREADS", "NUMEXPR_NUM_THREADS", "BLIS_NUM_THREADS", +) + + +class LauncherError(ValueError): + """An invalid plan, occupied slot, or incomplete supervision operation.""" + + def __init__(self, message, *, pipeline_deadline=None): + super().__init__(message) + self.pipeline_deadline = pipeline_deadline + + +def require(condition, message): + if not condition: + raise LauncherError(message) + + +def positive_number(value, name): + try: + valid = type(value) in (int, float) and math.isfinite(value) and value > 0 + except OverflowError: + valid = False + require(valid, "invalid " + name) + return float(value) + + +def positive_integer(value, name): + require(type(value) is int and value > 0, "invalid " + name) + return value + + +@dataclass(frozen=True) +class Limits: + wall_s: float + rss_bytes: int + artifact_bytes: int + poll_s: float + term_grace_s: float + kill_wait_s: float + receipt_reserve_s: float + + @classmethod + def from_execution(cls, execution): + supervision = execution["supervision"] + _pipeline_parameters(supervision) + result = cls( + positive_number(execution["wall_s"], "wall_s"), + positive_integer(supervision["rss_bytes"], "rss_bytes"), + positive_integer(supervision["artifact_bytes"], "artifact_bytes"), + *(positive_number(supervision[key], key) for key in + ("poll_s", "term_grace_s", "kill_wait_s", "receipt_reserve_s")), + ) + require(result.wall_s > result.cleanup_s + result.poll_s, + "wall_s must include work, termination, closure and receipt time") + return result + + @property + def cleanup_s(self): + return self.term_grace_s + self.kill_wait_s + self.receipt_reserve_s + + +def _pipeline_parameters(supervision): + """Validate the optional pair without forbidding later quarantine cleanup.""" + fields = {"pipeline_started_unix_ns", "pipeline_wall_s"} + present = fields.intersection(supervision) + if not present: + return None + require(present == fields, "pipeline_started_unix_ns and pipeline_wall_s must be supplied together") + start = positive_integer(supervision["pipeline_started_unix_ns"], "pipeline_started_unix_ns") + wall = supervision["pipeline_wall_s"] + positive_number(wall, "pipeline_wall_s") + # Never convert a Unix nanosecond identity, or its sum, through binary64. + duration_ns = math.floor(Fraction(wall) * 10**9) + require(duration_ns > 0, "pipeline_wall_s is below one nanosecond") + return start, wall, start + duration_ns + + +def _refresh_pipeline_deadline(state): + """Map wall time conservatively; clock adjustments can only shorten work.""" + monotonic_ns = time.monotonic_ns() + unix_ns = time.time_ns() + after_ns = time.monotonic_ns() + candidate = monotonic_ns + state["pipeline_deadline_unix_ns"] - unix_ns + state["adopted_deadline_monotonic_ns"] = min( + state["adopted_deadline_monotonic_ns"], candidate) + state["deadline_source"] = ( + "pipeline" if state["adopted_deadline_monotonic_ns"] < state["stage_deadline_monotonic_ns"] else "stage") + state["last_clock_sample"] = { + "unix_ns": unix_ns, "monotonic_ns": monotonic_ns, "after_monotonic_ns": after_ns} + state["remaining_pipeline_ns"] = state["pipeline_deadline_unix_ns"] - unix_ns + state["remaining_effective_ns"] = state["adopted_deadline_monotonic_ns"] - after_ns + # The existing process/IO APIs take seconds. Round the exact deadline down, + # so that this conversion cannot give the case an extra rounding interval. + return math.nextafter(float(Fraction(state["adopted_deadline_monotonic_ns"], 10**9)), -math.inf) + + +def _pipeline_deadline(supervision, started, limits): + parameters = _pipeline_parameters(supervision) + if parameters is None: + return None + start, wall, end = parameters + stage_end = math.floor(Fraction(started) * 10**9) + math.floor(Fraction(limits.wall_s) * 10**9) + state = { + "schema": "solarlab.g2-route.pipeline-deadline.v1", + "pipeline_started_unix_ns": start, "pipeline_wall_s": wall, + "pipeline_deadline_unix_ns": end, + "stage_deadline_monotonic_ns": stage_end, + "adopted_deadline_monotonic_ns": stage_end, + "minimum_launch_reserve_ns": math.ceil(sum(Fraction(supervision[key]) for key in + ("poll_s", "term_grace_s", "kill_wait_s", "receipt_reserve_s")) * 10**9), + "clock_mapping": "Unix sampled after monotonic lower bound; subsequent samples never extend deadline", + "bootstrap_reserve_source": "supervision.poll_s; work must retain TERM/KILL/receipt reserves", + } + _refresh_pipeline_deadline(state) + state["initial_clock_sample"] = dict(state["last_clock_sample"]) + if start > state["last_clock_sample"]["unix_ns"]: + raise LauncherError("pipeline start is in the future", pipeline_deadline=state) + return state + + +def _require_pipeline_launch_budget(state, checkpoint): + deadline = _refresh_pipeline_deadline(state) + state["remaining_at_" + checkpoint + "_ns"] = state["remaining_effective_ns"] + if state["remaining_pipeline_ns"] <= 0: + raise LauncherError("pipeline deadline expired before launch", pipeline_deadline=state) + if state["remaining_effective_ns"] <= state["minimum_launch_reserve_ns"]: + raise LauncherError("insufficient pipeline budget for bootstrap and cleanup", pipeline_deadline=state) + return deadline + + +def _slot_path(directory, channel): + require(type(channel) is int and 0 <= channel < 4, "channel must be 0..3") + root = Path(directory).resolve() + require(root.is_dir(), "Commander channel directory must already exist") + return root / f"{channel}.lock" + + +@contextmanager +def inherited_channel(directory, channel): + """Use the watchdog's exact locked open-file description without unlocking it. + + The consumer checks inode identity through the inherited FD, without opening + the slot again. The watchdog retains its FD until group closure. + This function intentionally does not issue LOCK_UN, including on exceptions. + """ + value = os.environ.get(CHANNEL_FD_ENV) + require(value is not None and value.isdecimal(), "inherited channel FD missing") + fd = int(value) + path = _slot_path(directory, channel) + actual = os.fstat(fd) + expected = path.stat() + require(stat.S_ISREG(actual.st_mode) and + (actual.st_dev, actual.st_ino) == (expected.st_dev, expected.st_ino), + "inherited channel inode mismatch") + yield fd + + +@contextmanager +def _owned_channel(directory, channel): + path = _slot_path(directory, channel) + quarantine = path.with_suffix(".quarantine.json") + require(not quarantine.exists(), "channel quarantined after incomplete closure") + with path.open("a+b") as stream: + try: + fcntl.flock(stream.fileno(), fcntl.LOCK_EX | fcntl.LOCK_NB) + except BlockingIOError as error: + raise LauncherError("channel occupied; no case started") from error + require(not quarantine.exists(), "channel quarantined after incomplete closure") + try: + yield stream.fileno(), quarantine + finally: + fcntl.flock(stream.fileno(), fcntl.LOCK_UN) + + +@contextmanager +def _orphan_reaper(): + """A standalone Linux launcher can reap its own orphaned grandchildren. + + macOS launchd performs this reaping. Only explicitly observed PIDs in this + case's process group are waited on; unrelated children are never reaped. + """ + libc = previous = None + if sys.platform == "linux": + libc = ctypes.CDLL(None, use_errno=True) + previous = ctypes.c_int() + if libc.prctl(37, ctypes.byref(previous), 0, 0, 0) != 0: + raise OSError(ctypes.get_errno(), "PR_GET_CHILD_SUBREAPER") + if libc.prctl(36, 1, 0, 0, 0) != 0: + raise OSError(ctypes.get_errno(), "PR_SET_CHILD_SUBREAPER") + try: + yield + finally: + if libc is not None: + if libc.prctl(36, previous.value, 0, 0, 0) != 0: + raise OSError(ctypes.get_errno(), "restore child subreaper") + + +def _process_table(timeout_s): + """ps RSS is KiB on both supported hosts: macOS and Linux.""" + require(timeout_s > 0, "process inventory deadline exhausted") + output = subprocess.run( + ["/bin/ps", "-axo", "pid=,ppid=,pgid=,rss=,stat="], + check=True, capture_output=True, text=True, timeout=timeout_s, + ).stdout + result = {} + for line in output.splitlines(): + pid, ppid, pgid, rss, state = line.split() + result[int(pid)] = {"pid": int(pid), "ppid": int(ppid), + "pgid": int(pgid), "rss_bytes": int(rss)*1024, + "state": state} + require(os.getpid() in result, "process inventory omitted the supervisor") + return result + + +def _artifact_size(paths, deadline): + """Logical file bytes, without following links outside named ownership.""" + total = 0 + pending = list(dict.fromkeys(Path(path).absolute() for path in paths)) + seen = set() + while pending: + require(time.monotonic() < deadline, "artifact inventory deadline exhausted") + path = pending.pop() + if path in seen: + continue + seen.add(path) + try: + info = path.lstat() + except FileNotFoundError: + continue + require(not stat.S_ISLNK(info.st_mode), "artifact symlink is outside bounded ownership") + if stat.S_ISREG(info.st_mode): + total += info.st_size + elif stat.S_ISDIR(info.st_mode): + with os.scandir(path) as entries: + for entry in entries: + require(time.monotonic() < deadline, "artifact inventory deadline exhausted") + pending.append(Path(entry.path)) + else: + raise LauncherError("unsupported artifact file type") + return total + + +def _absent(identifier, *, group=False): + try: + (os.killpg if group else os.kill)(identifier, 0) + except ProcessLookupError: + return True + except (PermissionError, OverflowError): + return False + return False + + +def _presence(pgid, observed, table): + checks = [{"pid": pid, "pid_absent": pid not in table and _absent(pid), + "same_id_process_group_absent": _absent(pid, group=True)} + for pid in sorted(observed)] + members = [row for row in table.values() if row["pgid"] == pgid] + remaining_owned = {row["pid"]: row for row in members} + remaining_owned.update({pid: table[pid] for pid in observed if pid in table}) + absent = not members and _absent(pgid, group=True) + return {"at": datetime.now(timezone.utc).isoformat(), "pgid": pgid, "checks": checks, + "remaining_group_members": members, "remaining_owned_processes": list(remaining_owned.values()), + "process_group_absent": absent, + "all_named_owned_processes_and_groups_absent": + absent and all( + row["pid_absent"] and row["same_id_process_group_absent"] for row in checks)} + + +def _closure(pgid, observed, returncode, table): + evidence = _presence(pgid, observed, table) + evidence.update(schema="solarlab.owned-tool-process-closure.v1", after_tool_exit_code=returncode) + evidence["all_named_owned_processes_and_groups_absent"] &= returncode is not None + return evidence + + +def _remaining_commands(pgid, members, deadline): + """Read command lines for this group only, and timestamp the observation.""" + when = datetime.now(timezone.utc).isoformat() + pids = [row["pid"] for row in members] + if not pids: + return {"at": when, "command": None, "processes": []} + args = ["/bin/ps", "-ww", "-p", ",".join(map(str, pids)), "-o", "pid=,pgid=,stat=,command="] + try: + require(time.monotonic() < deadline, "remaining-process inspection budget exhausted") + result = subprocess.run(args, capture_output=True, text=True, timeout=deadline-time.monotonic()) + require(result.returncode in (0, 1), "remaining-process inspection failed") + rows = [] + for line in result.stdout.splitlines(): + pid, group, state, command = line.strip().split(None, 3) + if int(pid) in pids: + rows.append({"pid": int(pid), "pgid": int(group), "state": state, "command_line": command}) + return {"at": when, "command": args, "exit_code": result.returncode, "processes": rows} + except (OSError, ValueError, subprocess.SubprocessError) as error: + return {"at": when, "command": args, "processes": None, "error": str(error)} + + +@contextmanager +def _cancellation_signals(): + requested = {"signal": None} + def receive(number, frame): + requested["signal"] = number + previous = {number: signal.signal(number, receive) for number in (signal.SIGINT, signal.SIGTERM)} + try: + yield requested + finally: + for number, handler in previous.items(): + signal.signal(number, handler) + + +def _encode_receipt(result, artifact_bytes, limit): + """Include this JSON's own bytes in the reported artifact total.""" + previous = -1 + size = 0 + while size != previous: + previous = size + result["receipt_bytes"] = size + result["artifact_bytes"] = None if artifact_bytes is None else artifact_bytes+size + if result["artifact_bytes"] is not None: + result["peak_artifact_bytes"] = max(result["peak_artifact_bytes"], result["artifact_bytes"]) + if result["artifact_bytes"] > limit: + if result["process_outcome"] == "completed": + result["process_outcome"] = "artifact_limit" + result["artifact_limit_exceeded"] = True + encoded = (json.dumps(result, sort_keys=True, indent=2, allow_nan=False)+"\n").encode() + size = len(encoded) + return encoded + + +def supervise(*, command, execution, channel_directory, case_id, plan_sha256, + started_monotonic=None): + """Supervise one case in this process; no scientific entry is imported here.""" + started = time.monotonic() if started_monotonic is None else started_monotonic + started_at = datetime.now(timezone.utc).isoformat() + limits = Limits.from_execution(execution) + policy = execution["supervision"] + require(type(command) in (list, tuple) and command and + all(type(value) is str and value and "\0" not in value for value in command), + "command must be a nonempty argv; shell execution is not supported") + directory = Path(execution["directory"]).resolve() + receipt_path = Path(policy["closure_path"]).absolute() + cancel_path = Path(policy["cancel_path"]).absolute() + log_path = receipt_path.with_suffix(".log") + require(not receipt_path.is_relative_to(directory), + "closure_path must be outside the fresh case directory") + require(receipt_path != cancel_path and log_path != cancel_path, + "cancel and output paths must differ") + require(not receipt_path.exists() and not log_path.exists(), "supervision output already exists") + require(not cancel_path.exists(), "case cancelled before launch") + pipeline = _pipeline_deadline(policy, started, limits) + deadline = (started + limits.wall_s if pipeline is None else + _require_pipeline_launch_budget(pipeline, "preflight")) + work_deadline = deadline - limits.cleanup_s + require(time.monotonic() < work_deadline, "no time left for case bootstrap") + env = dict(os.environ) + env.update({name: "1" for name in THREAD_VARIABLES}) + env["PYTHONDONTWRITEBYTECODE"] = "1" + samples, observed, signals_sent = [], set(), [] + peak_rss = peak_bytes = 0 + rss_peak_sample = artifact_peak_sample = None + reason = failure = None + term_at = kill_at = None + process = None + table = {} + with _owned_channel(channel_directory, execution["channel"]) as (fd, quarantine), \ + _orphan_reaper(), _cancellation_signals() as cancellation: + receipt_path.parent.mkdir(parents=True, exist_ok=True) + env[CHANNEL_FD_ENV] = str(fd) + with log_path.open("xb", buffering=0) as log: + if pipeline is not None: + deadline = _require_pipeline_launch_budget(pipeline, "before_popen") + work_deadline = deadline - limits.cleanup_s + process = subprocess.Popen(command, cwd=REPOSITORY, env=env, + stdin=subprocess.DEVNULL, stdout=log, stderr=subprocess.STDOUT, + start_new_session=True, pass_fds=(fd,)) + pgid = process.pid + observed.add(pgid) + session_id = os.getsid(pgid) + require(pgid != os.getpgrp() and os.getpgid(pgid) == session_id == pgid, + "case process group not isolated") + + def stop(number): + require(pgid != os.getpgrp(), "refuse to signal the supervisor group") + try: + os.killpg(pgid, number) + except ProcessLookupError: + return + signals_sent.append({"signal": signal.Signals(number).name, + "elapsed_s": time.monotonic()-started, "pgid": pgid}) + + while True: + if pipeline is not None: + deadline = _refresh_pipeline_deadline(pipeline) + work_deadline = deadline - limits.cleanup_s + now = time.monotonic() + if now >= deadline - limits.receipt_reserve_s: + reason = reason or "wall_limit" + if term_at is None: + stop(signal.SIGTERM) + stop(signal.SIGKILL) + break + if reason is None and (cancellation["signal"] is not None or cancel_path.exists()): + reason = "cancelled" + if reason is None and now >= work_deadline: + reason = "wall_limit" + if reason is not None and term_at is None: + stop(signal.SIGTERM) + term_at = now + term_deadline = (None if term_at is None else min( + term_at+limits.term_grace_s, deadline-limits.kill_wait_s-limits.receipt_reserve_s)) + if term_deadline is not None and kill_at is None and now >= term_deadline: + stop(signal.SIGKILL) + kill_at = now + kill_deadline = (None if kill_at is None else min( + kill_at+limits.kill_wait_s, deadline-limits.receipt_reserve_s)) + if kill_deadline is not None and now >= kill_deadline: + break + inspection_deadline = (kill_deadline if kill_at is not None else + term_deadline if term_at is not None else work_deadline) + try: + table = _process_table(inspection_deadline-now) + members = [row for row in table.values() if row["pgid"] == pgid] + observed.update(row["pid"] for row in members) + # Keep the unreaped leader as a PID/PGID lease until all + # descendants are gone; do not poll/reap it in the loop. + for row in members: + if row["pid"] != pgid and "Z" in row["state"]: + try: + os.waitpid(row["pid"], os.WNOHANG) + except ChildProcessError: + pass + others = [row for row in members if row["pid"] != pgid] + leader = table.get(pgid) + if (leader is None or "Z" in leader["state"]) and not others: + process.wait(timeout=max(0, deadline-time.monotonic()-limits.receipt_reserve_s)) + table = _process_table(deadline-time.monotonic()-limits.receipt_reserve_s) + # Never send another group signal after reaping the + # leader: its PID lease is now released. Closure below + # must independently succeed, or the slot is quarantined. + break + rss = sum(row["rss_bytes"] for row in members) + size = _artifact_size((directory, log_path, receipt_path), inspection_deadline) + sample = {"elapsed_s": time.monotonic()-started, "rss_bytes": rss, + "artifact_bytes": size, "members": members} + if rss_peak_sample is None or rss > peak_rss: + rss_peak_sample = sample + if artifact_peak_sample is None or size > peak_bytes: + artifact_peak_sample = sample + peak_rss, peak_bytes = max(peak_rss, rss), max(peak_bytes, size) + # Only resource maxima and PID observations are needed; + # bounded receipt size does not grow with every poll. + samples.append(sample) + samples = samples[-2:] + if reason is None: + if cancellation["signal"] is not None or cancel_path.exists(): + reason = "cancelled" + elif rss > limits.rss_bytes: + reason = "rss_limit" + elif size > limits.artifact_bytes: + reason = "artifact_limit" + elif time.monotonic() >= work_deadline: + reason = "wall_limit" + elif leader is None or "Z" in leader["state"]: + reason = "descendants_after_leader_exit" + except (OSError, subprocess.SubprocessError, ValueError) as error: + reason = reason or ("wall_limit" if time.monotonic() >= work_deadline else "supervision_failure") + failure = type(error).__name__ + ": " + str(error) + now = time.monotonic() + if reason is not None and term_at is None: + stop(signal.SIGTERM) + term_at = now + next_event = work_deadline if term_at is None else ( + term_at+limits.term_grace_s if kill_at is None else kill_at+limits.kill_wait_s) + pause = min(limits.poll_s, max(0, next_event-time.monotonic()), + max(0, deadline-limits.receipt_reserve_s-time.monotonic())) + if pause: + time.sleep(pause) + + # A final process inventory is positive evidence; a missing/failed + # observation is not interpreted as an empty process group. + if pipeline is not None: + deadline = _refresh_pipeline_deadline(pipeline) + try: + table = _process_table(max(0, deadline-time.monotonic())) + remaining = [row for row in table.values() if row["pgid"] == pgid] + if all(row["pid"] == pgid and "Z" in row["state"] for row in remaining): + process.wait(timeout=max(0, deadline-time.monotonic())) + table = _process_table(max(0, deadline-time.monotonic())) + # No more group signals follow this point, so the leader may now + # be reaped even if independent closure evidence remains incomplete. + process.poll() + closure = _closure(pgid, observed, process.returncode, table) + except (OSError, subprocess.SubprocessError, ValueError) as error: + process.poll() + closure = {"schema": "solarlab.owned-tool-process-closure.v1", "pgid": pgid, + "at": datetime.now(timezone.utc).isoformat(), + "after_tool_exit_code": process.returncode, + "all_named_owned_processes_and_groups_absent": False, + "error": type(error).__name__+": "+str(error)} + closed = closure["all_named_owned_processes_and_groups_absent"] + reason = reason or ("closure_failure" if not closed else + "completed" if process.returncode == 0 else "child_failed") + try: + artifact_bytes = _artifact_size((directory, log_path), deadline) + except (OSError, LauncherError) as error: + artifact_bytes = None + failure = failure or type(error).__name__+": "+str(error) + reason = "supervision_failure" if reason == "completed" else reason + if artifact_bytes is not None: + peak_bytes = max(peak_bytes, artifact_bytes) + if artifact_bytes > limits.artifact_bytes and reason == "completed": + reason = "artifact_limit" + result = {"schema": "solarlab.g2-route.launcher-result.v1", "case_id": case_id, + "plan_sha256": plan_sha256, "command": list(command), "cwd": str(REPOSITORY), + "pid": process.pid, "pgid": pgid, "session_id": session_id, "channel": execution["channel"], + "started_at_utc": started_at, + "channel_protocol": CHANNEL_PROTOCOL, "limits": vars(limits), + "process_outcome": reason if closed else "closure_failure", + "termination_reason": reason, "exit_code": process.returncode, + "exit_signal": (-process.returncode if process.returncode is not None and process.returncode < 0 else None), + "cancellation_signal": cancellation["signal"], "signals_sent": signals_sent, + "peak_group_rss_bytes": peak_rss, "peak_artifact_bytes": peak_bytes, + "rss_peak_sample": rss_peak_sample, "artifact_peak_sample": artifact_peak_sample, + "artifact_bytes_before_receipt": artifact_bytes, "last_samples": samples, + "observed_pids": sorted(observed), "closure": closure, "error": failure, + "wall_s": time.monotonic()-started, + "wall_includes": "bootstrap, command, observer/readback, I/O, termination and closure; post-receipt timing is also returned on stdout", + "rss_measurement": "sampled sum of process-group RSS; ps KiB converted to bytes", + "thread_environment": {name: env[name] for name in THREAD_VARIABLES}, + "scientific_status": "not_evaluated", "scientific_pass": None} + if pipeline is not None: + result["pipeline_deadline"] = pipeline + if (result["wall_s"] >= limits.wall_s or + pipeline is not None and time.monotonic() >= deadline) and reason == "completed": + result["process_outcome"] = "wall_limit" + if not closed: + remaining = closure.get("remaining_owned_processes", [ + row for row in table.values() if row["pgid"] == pgid]) + commands = _remaining_commands(pgid, remaining, deadline) + marker = {"schema": "solarlab.g2-route.channel-quarantine.v1", + "case_id": case_id, "channel": execution["channel"], + "at": datetime.now(timezone.utc).isoformat(), + "pgid": pgid, "observed_pids": sorted(observed), + "remaining_group_members": remaining, "remaining_commands": commands, + "plan_sha256": plan_sha256, "closure_path": str(receipt_path), + "original_exit_code": process.returncode, + "reason": "incomplete closure; Commander must record verification before releasing slot"} + with quarantine.open("x") as stream: + json.dump(marker, stream, sort_keys=True, indent=2) + result.update(quarantine_path=str(quarantine), remaining_commands=commands, + channel_reusable=False) + write_started = time.monotonic() + with receipt_path.open("xb+") as stream: + stream.write(_encode_receipt(result, artifact_bytes, limits.artifact_bytes)) + stream.flush() + result["receipt_initial_write_s"] = time.monotonic()-write_started + result["wall_s"] = time.monotonic()-started + result["wall_measurement"] = "after initial receipt write, before final metadata commit" + if result["wall_s"] >= limits.wall_s and result["process_outcome"] == "completed": + result["process_outcome"] = "wall_limit" + stream.seek(0) + stream.write(_encode_receipt(result, artifact_bytes, limits.artifact_bytes)) + stream.truncate() + stream.flush() + if time.monotonic() >= deadline and result["process_outcome"] == "completed": + result["process_outcome"] = "wall_limit" + result["wall_s"] = time.monotonic()-started + stream.seek(0) + stream.write(_encode_receipt(result, artifact_bytes, limits.artifact_bytes)) + stream.truncate() + result["wall_through_receipt_s"] = time.monotonic()-started + return result + + +def _quarantine_context(plan_path, case_id): + raw = Path(plan_path).read_bytes() + plan = json.loads(raw) + matches = [case for case in plan["cases"] if case["id"] == case_id] + require(len(matches) == 1, "case must be unique") + execution = matches[0]["execution"] + limits = Limits.from_execution(execution) + slot = _slot_path(plan["artifacts"]["channel_directory"], execution["channel"]) + return execution, limits, slot, hashlib.sha256(raw).hexdigest() + + +def verify_quarantine(plan_path, case_id): + """Read-only presence check. It does not improve the original failed result.""" + execution, limits, slot, plan_digest = _quarantine_context(plan_path, case_id) + marker_path = slot.with_suffix(".quarantine.json") + raw = marker_path.read_bytes() + marker = json.loads(raw) + require(marker.get("schema") == "solarlab.g2-route.channel-quarantine.v1" and + marker.get("case_id") == case_id and marker.get("channel") == execution["channel"] and + marker.get("plan_sha256") == plan_digest and + Path(marker["closure_path"]).resolve() == Path(execution["supervision"]["closure_path"]).resolve(), + "quarantine identity mismatch") + pgid = positive_integer(marker["pgid"], "quarantine pgid") + pids = {positive_integer(pid, "quarantine pid") for pid in marker["observed_pids"]} | {pgid} + deadline = time.monotonic()+limits.kill_wait_s + table = _process_table(max(0, deadline-time.monotonic())) + presence = _presence(pgid, pids, table) + return {"schema": "solarlab.g2-route.quarantine-verification.v1", + "case_id": case_id, "channel": execution["channel"], "plan_sha256": plan_digest, + "quarantine_path": str(marker_path), "quarantine_sha256": hashlib.sha256(raw).hexdigest(), + "quarantine": marker, "verification_only": True, + "original_case_outcome": "closure_failure", "scientific_status": "not_evaluated", + "command": [str(Path(sys.executable).resolve()), "-m", "scripts.benchmarks.g2_route_launcher", + "verify-quarantine", "--plan", str(Path(plan_path).resolve()), "--case", case_id], + "process_inventory_command": ["/bin/ps", "-axo", "pid=,ppid=,pgid=,rss=,stat="], + "remaining_commands": _remaining_commands(pgid, presence["remaining_owned_processes"], deadline), + **presence} + + +def release_quarantine(plan_path, case_id, record_path): + """Commander-only workflow: require a retained record and recheck before unlink. + + The caller owns creation of the release record. No failed result, RunPlan, + or supplied record is rewritten. Filesystem access is the authority boundary. + """ + require(record_path is not None, "Commander release record is required") + execution, limits, slot, plan_digest = _quarantine_context(plan_path, case_id) + marker_path = slot.with_suffix(".quarantine.json") + record_path = Path(record_path).resolve() + require(record_path != marker_path.resolve(), "release record cannot be the quarantine marker") + record_raw = record_path.read_bytes() + record = json.loads(record_raw) + require(record.get("schema") == "solarlab.g2-route.quarantine-release-record.v1" and + record.get("actor") == "coordinator", "Commander release record schema/actor required") + saved = record["verification_output"] + recorded_at, checked_at = datetime.fromisoformat(record["at"]), datetime.fromisoformat(saved["at"]) + require(recorded_at.tzinfo is not None and checked_at.tzinfo is not None and + checked_at <= recorded_at <= datetime.now(timezone.utc), "release record time invalid") + require(saved.get("schema") == "solarlab.g2-route.quarantine-verification.v1" and + saved.get("all_named_owned_processes_and_groups_absent") is True and + saved.get("case_id") == case_id and saved.get("channel") == execution["channel"] and + saved.get("plan_sha256") == plan_digest and + type(saved.get("command")) is list and bool(saved["command"]) and + record.get("verification_command") == saved.get("command"), + "release record must retain a successful verification command and output") + # This operation is the sole explicit exception to the normal acquisition + # refusal: it locks only to verify and remove a quarantine, never to run work. + with slot.open("a+b") as stream: + fcntl.flock(stream.fileno(), fcntl.LOCK_EX | fcntl.LOCK_NB) + raw = marker_path.read_bytes() + require(record_path != Path(json.loads(raw)["closure_path"]).resolve(), + "release record must not overwrite the original failure receipt") + require(hashlib.sha256(raw).hexdigest() == saved.get("quarantine_sha256") and + json.loads(raw) == saved.get("quarantine"), "quarantine changed since retained verification") + fresh = verify_quarantine(plan_path, case_id) + require(saved["command"] == fresh["command"], "verification command differs from this plan/case entry") + require(fresh["all_named_owned_processes_and_groups_absent"], "owned PIDs or process group remain") + require(marker_path.read_bytes() == raw and record_path.read_bytes() == record_raw, + "quarantine or release record changed during verification") + marker_path.unlink() + return {"schema": "solarlab.g2-route.quarantine-release.v1", "case_id": case_id, + "channel": execution["channel"], "at": datetime.now(timezone.utc).isoformat(), + "quarantine_removed": str(marker_path), "retained_record": str(record_path), + "record_sha256": hashlib.sha256(record_raw).hexdigest(), "fresh_verification": fresh, + "original_case_outcome": "closure_failure", "scientific_status": "not_evaluated"} + + +def load_case(plan_path, case_id, action): + raw = Path(plan_path).read_bytes() + plan = json.loads(raw) + require(plan.get("status") == "admitted", "RunPlan is not admitted") + resources = plan["resources"] + require(resources["WS1_channels"] == 4 and resources["threads_per_case"] == 1, + "RunPlan must declare four single-threaded channels") + matches = [case for case in plan["cases"] if case["id"] == case_id] + require(len(matches) == 1, "case must be unique") + execution = matches[0]["execution"] + limits = Limits.from_execution(execution) + require(limits.rss_bytes <= resources["rss_bytes_per_case"] and + limits.artifact_bytes <= resources["combined_persisted_case_bytes"], + "case supervision exceeds RunPlan resource ceiling") + _slot_path(plan["artifacts"]["channel_directory"], execution["channel"]) + for other in plan["cases"]: + if other["id"] == case_id or type(other.get("execution")) is not dict: + continue + theirs = other["execution"] + if "directory" in theirs: + left, right = Path(execution["directory"]).resolve(), Path(theirs["directory"]).resolve() + require(not left.is_relative_to(right) and not right.is_relative_to(left), + "case artifact directories overlap") + for name in ("closure_path", "cancel_path"): + if name in theirs.get("supervision", {}): + require(Path(execution["supervision"][name]).resolve() != Path(theirs["supervision"][name]).resolve(), + "case supervision paths overlap: "+name) + command = execution.get("command") + if command is None: + require(plan["authority"].get("scientific_execution_authorized") is True, + "RunPlan does not authorize scientific execution") + command = [str(REPOSITORY/".venv/bin/python"), "-m", "scripts.benchmarks.g2_route", action, + "--plan", str(Path(plan_path).resolve()), "--case", case_id] + return dict(command=command, execution=execution, channel_directory=plan["artifacts"]["channel_directory"], + case_id=case_id, plan_sha256=hashlib.sha256(raw).hexdigest()) + + +def main(argv=None): + started = time.monotonic() + parser = argparse.ArgumentParser(description=__doc__) + parser.add_argument("action", choices=("run", "observe", "verify-quarantine", "release-quarantine")) + parser.add_argument("--plan", type=Path, required=True) + parser.add_argument("--case", required=True) + parser.add_argument("--record", type=Path) + args = parser.parse_args(argv) + try: + if args.action == "verify-quarantine": + result = verify_quarantine(args.plan, args.case) + print(json.dumps(result, sort_keys=True, indent=2)) + return 0 if result["all_named_owned_processes_and_groups_absent"] else 1 + if args.action == "release-quarantine": + result = release_quarantine(args.plan, args.case, args.record) + print(json.dumps(result, sort_keys=True, indent=2)) + return 0 + result = supervise(**load_case(args.plan, args.case, args.action), started_monotonic=started) + print(json.dumps({key: result[key] for key in + ("case_id", "process_outcome", "exit_code", "scientific_status", "wall_through_receipt_s")})) + return 0 if result["process_outcome"] == "completed" else 1 + except (ValueError, KeyError, OSError) as error: + refused = {"status": "refused", "error": str(error)} + if isinstance(error, LauncherError) and error.pipeline_deadline is not None: + refused.update(pipeline_deadline=error.pipeline_deadline, process_started=False) + print(json.dumps(refused), file=sys.stderr) + return 2 + + +if __name__ == "__main__": + raise SystemExit(main()) diff --git a/scripts/benchmarks/g2_saved_observe.py b/scripts/benchmarks/g2_saved_observe.py new file mode 100644 index 00000000..60de65f7 --- /dev/null +++ b/scripts/benchmarks/g2_saved_observe.py @@ -0,0 +1,378 @@ +"""Observe one sealed G2 probe into a fresh directory under separate Root authority. + +The manifest binds producer/failed-observer plans and receipts, the immutable +producer result, an accepted source review, source hashes, and a fresh ordinary +launcher execution. The legacy 20751ff tree stays read-only. This module never +calls a producer, changes a scientific threshold, or resets an old clock. +""" +from __future__ import annotations + +import argparse +from contextlib import contextmanager +import ctypes +import gzip +import hashlib +import json +import os +from pathlib import Path +import re +import resource +import signal +import sys +import time + +from scripts.benchmarks import g2_route as route +from scripts.benchmarks import g2_route_launcher as launcher + +SCHEMA = "solarlab.g2-saved-observe.v1" +LEGACY_COMMIT = "20751ff9bacd4040d930a9e794b4348094d4fda7" +GIB = 1024**3 + + +class ObservationStopped(RuntimeError): + """An operational stop, deliberately outside the reader's ValueError catch.""" + + def __init__(self, kind, detail): + self.kind = kind + super().__init__("g2_saved_observe_" + detail) + + +def exception_evidence(error): + """Bounded exception/call-site facts, without locals or native operands. + + Generic reader ValueErrors remain unclassified unless their retained chain + identifies our own stop or a definite JSON/container decoding error. + """ + chain, seen, current = [], set(), error + classification = "unclassified_error" + while current is not None and id(current) not in seen and len(chain) < 4: + seen.add(id(current)) + if isinstance(current, ObservationStopped): + classification = current.kind + elif classification == "unclassified_error" and isinstance( + current, (json.JSONDecodeError, UnicodeDecodeError, gzip.BadGzipFile, EOFError)): + classification = "artifact_decode_error" + parts = [] + for arg in current.args[:3]: + if type(arg) is str: + # Truncate before formatting; never stringify arrays/large ints. + parts.append(re.sub(r"(?:0x)?[0-9a-fA-F]{32,}", "", arg[:1024])) + elif arg is None or type(arg) is bool or type(arg) is int and arg.bit_length() <= 63: + parts.append(str(arg)) + else: + parts.append("<" + type(arg).__name__[:80] + ">") + frames, tb = [], current.__traceback__ + while tb is not None: + frames.append({"file": Path(tb.tb_frame.f_code.co_filename).name[:120], + "function": tb.tb_frame.f_code.co_name[:100], "line": tb.tb_lineno}) + frames = frames[-8:] + tb = tb.tb_next + chain.append({"type": type(current).__name__[:80], "message": "; ".join(parts)[:1024], + "frames": frames}) + current = current.__cause__ if current.__cause__ is not None else ( + None if current.__suppress_context__ else current.__context__) + return {"exception": chain[0]["type"], "reason": chain[0]["message"], + "classification": classification, "chain": chain, + "chain_truncated": current is not None} + + +def require(condition, reason): + if not condition: + raise ValueError("g2_saved_observe_" + reason) + + +def pinned(reference, *, decode=True): + require(route._resolved_descriptor(reference), "file_descriptor") + absolute(reference["path"]) + value = route._pinned(reference, decode=decode) + require(not decode or type(value) is dict, "metadata_object") + return value + + +def absolute(value): + require(type(value) is str, "absolute_path") + path = Path(value) + require(path.is_absolute() and str(path.resolve()) == value, "absolute_path") + return path + + +def processes_absent(receipt): + pids = receipt.get("observed_pids") + closure = receipt.get("closure") + require(type(pids) is list and pids and all(type(p) is int and p > 0 for p in pids) + and pids == sorted(set(pids)) and receipt.get("pid") in pids + and receipt["pid"] == receipt.get("pgid") == receipt.get("session_id"), "owned_pids") + require(type(closure) is dict and closure.get("schema") == "solarlab.owned-tool-process-closure.v1" + and closure.get("pgid") == receipt["pgid"] + and closure.get("after_tool_exit_code") == receipt.get("exit_code") + and closure.get("process_group_absent") is True + and closure.get("all_named_owned_processes_and_groups_absent") is True + and closure.get("remaining_group_members") == closure.get("remaining_owned_processes") == [] + and closure.get("error") is None, "owned_closure") + checks = closure.get("checks") + require(type(checks) is list and all(type(row) is dict and type(row.get("pid")) is int + and row.get("pid_absent") is True and row.get("same_id_process_group_absent") is True for row in checks) + and [row["pid"] for row in checks] == pids, "owned_closure_checks") + for pid in pids: + for check in (os.kill, os.killpg): + try: + check(pid, 0) + except ProcessLookupError: + continue + except PermissionError: + return False + return False + return True + + +def _validate(manifest_path): + raw = route._read(manifest_path) + manifest = json.loads(raw) + require(type(manifest) is dict and manifest.get("schema") == SCHEMA, "manifest_schema") + authority = manifest.get("authority") + require(type(authority) is dict and authority.get("role") == "Root" + and authority.get("authorized") is True + and authority.get("scope") == "saved-observation-only" + and type(authority.get("coordinator_message")) is str + and authority["coordinator_message"].startswith("msg_"), "Root_authority") + operation = manifest.get("operation_id") + require(type(operation) is str and bool(operation), "operation_identity") + source, target = (absolute(manifest[k]) for k in ("source_directory", "output_directory")) + require(source.is_dir() and not target.exists() + and not source.is_relative_to(target) and not target.is_relative_to(source) + and not target.is_relative_to(launcher.REPOSITORY), "fresh_separate_output") + review = pinned(manifest["source_review"]) + sources = manifest["source_sha256"] + require(type(sources) is dict and sources and type(review) is dict + and review.get("accepted") is True and review.get("source_sha256") == sources + and review.get("legacy_execution_commit") == LEGACY_COMMIT, "source_review") + required = {str(Path(__file__).resolve()), str(Path(route.__file__).resolve()), + str(Path(launcher.__file__).resolve())} + required.update(str(Path(route.__file__).with_name(name).resolve()) for name in route.EVALUATOR_FILES) + require(required <= sources.keys(), "required_sources") + for path, digest in sources.items(): + require(hashlib.sha256(route._read(absolute(path), 16*1024**2)).hexdigest() == digest, "source_changed") + pinned(manifest["producer_plan"]) + producer = route.validate(manifest["producer_plan"]["path"], executable=True, + case_id=manifest["case_id"]) + require(producer["plan_sha256"] == manifest["producer_plan"]["sha256"], "producer_plan_changed") + old = producer["plan"] + require(old["source_freeze"]["future_execution_commit"] == LEGACY_COMMIT, "legacy_commit") + case = next(c for c in old["cases"] if c["id"] == manifest["case_id"]) + execution = case["execution"] + require(absolute(execution["directory"]) == source, "producer_directory") + require(operation != execution["native_admission"]["operation_id"], "distinct_recovery_operation") + require(all(sources.get(path) == digest for path, digest in old["source_freeze"]["source_sha256"].items()), + "legacy_sources_changed") + receipt = pinned(manifest["producer_closure"]) + require(absolute(manifest["producer_closure"]["path"]) == absolute(execution["supervision"]["closure_path"]), + "producer_closure_path") + route._probe_runtime_receipt(receipt, execution, manifest["producer_closure"], + manifest["producer_plan"], case["id"]) + require(processes_absent(receipt), "producer_still_present") + result = pinned(manifest["producer_result"]) + history = result.get("history") + require(absolute(manifest["producer_result"]["path"]) == source / "NativeResult.json" + and result.get("complete_run_window") is True + and type(history) is dict and history.get("closed") is True + and history.get("container_complete") is True and history.get("error") is None + and result.get("request_sha256") == execution["effective_input_digest"], "sealed_producer_result") + request = pinned(execution["request"]) + require(route._read(source / "NativeRequest.json") == pinned(execution["request"], decode=False), "source_request_changed") + failed_plan = pinned(manifest["failed_observe_plan"]) + evaluated = route.validate(manifest["failed_observe_plan"]["path"], executable=True, + case_id=case["id"], purpose="evaluate") + require(evaluated["plan_sha256"] == manifest["failed_observe_plan"]["sha256"] + and failed_plan["source_freeze"] == old["source_freeze"] + and failed_plan["definitions"] == old["definitions"], "original_evaluation_binding") + prior = next((c["execution"] for c in failed_plan["cases"] if c["id"] == case["id"]), None) + failed = pinned(manifest["failed_observe_closure"]) + require(type(prior) is dict and prior["directory"] == str(source) + and prior["native_admission"] == execution["native_admission"] + and prior.get("execution_provenance") == execution.get("execution_provenance") + and prior["request"] == execution["request"] + and failed.get("schema") == "solarlab.g2-route.launcher-result.v1" + and failed.get("case_id") == case["id"] + and failed.get("plan_sha256") == manifest["failed_observe_plan"]["sha256"] + and failed.get("command") == prior["command"] + and type(failed.get("channel")) is int and failed["channel"] == prior["channel"] + and failed.get("channel_protocol") == launcher.CHANNEL_PROTOCOL + and failed.get("cwd") == str(launcher.REPOSITORY) + and absolute(manifest["failed_observe_closure"]["path"]) == absolute(prior["supervision"]["closure_path"]) + and failed.get("process_outcome") == failed.get("termination_reason") == "wall_limit" + and failed.get("closure", {}).get("all_named_owned_processes_and_groups_absent") is True, + "failed_observe_binding") + require(processes_absent(failed), "observer_still_present") + recovery = manifest["execution"] + require(type(recovery.get("channel")) is int and 0 <= recovery["channel"] < 4 + and recovery.get("directory") == str(target) + and recovery.get("cwd") == str(launcher.REPOSITORY), "recovery_execution") + policy = route._validate_supervision(old, recovery) + limits = launcher.Limits.from_execution(recovery) + require(limits.wall_s <= 3600 and limits.rss_bytes <= 4*GIB and limits.artifact_bytes <= 4*GIB, + "recovery_resource_ceiling") + require(set(("pipeline_started_unix_ns", "pipeline_wall_s")) <= policy.keys() + and policy["pipeline_wall_s"] == recovery["wall_s"] + and policy["pipeline_started_unix_ns"] != prior["supervision"]["pipeline_started_unix_ns"], "new_operation_clock") + for key in ("closure_path", "cancel_path"): + path = absolute(policy[key]) + require(not path.is_relative_to(source) and not path.is_relative_to(target) + and not path.is_relative_to(launcher.REPOSITORY) and not path.exists(), "recovery_control_path") + caps = manifest["read_limits"] + require(type(caps) is dict and set(caps) == {"max_record_bytes", "max_records", "max_logical_bytes"}, + "read_limit_fields") + for name, maximum in (("max_record_bytes", execution["max_record_bytes"]), + ("max_records", execution["max_records"]), + ("max_logical_bytes", old["resources"]["reader_logical_byte_cap"])): + require(type(caps.get(name)) is int and 0 < caps[name] <= maximum, "read_limit_" + name) + return {"manifest": manifest, "manifest_sha256": hashlib.sha256(raw).hexdigest(), "plan": old, + "case": case, "request": request, "source": source, "target": target, + "limits": limits, "producer_result": result} + + +def validate(manifest_path): + """Validate metadata only; malformed containers are ordinary refusals.""" + try: + return _validate(manifest_path) + except (KeyError, TypeError, AttributeError, StopIteration, OverflowError) as error: + raise ValueError("g2_saved_observe_metadata_shape: " + type(error).__name__) from error + + +@contextmanager +def cancellation(): + def stop(number, frame): + raise ObservationStopped("cancelled", "signal_" + str(number)) + saved = {number: signal.signal(number, stop) for number in (signal.SIGTERM, signal.SIGINT)} + try: + yield + finally: + for number, handler in saved.items(): + signal.signal(number, handler) + + +def _blas_one(): + library = ctypes.CDLL("/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib") + library.BLASSetThreading.argtypes = [ctypes.c_int] + library.BLASSetThreading.restype = ctypes.c_int + library.BLASGetThreading.restype = ctypes.c_int + library.BLASSetThreading(1) + require(library.BLASGetThreading() == 1, "actual_BLAS_thread_mode") + + +def _observe(context, checkpoint): + from scripts.benchmarks.coupled_device_prototype import SlabDefinition, AffineCoupledSlab, AffineVoltageMap + from scripts.benchmarks.g2_compare import case_metadata, normalize_ida_sample + from scripts.benchmarks.native_history import HistoryWriter, integer_json_dumps + from scripts.benchmarks.native_observation import SealedChargeObserver + from scripts.benchmarks.native_readback import verify_history + from scripts.benchmarks.native_runner import output_bytes + + m, plan, case, request = (context[k] for k in ("manifest", "plan", "case", "request")) + source, target, execution = context["source"], context["target"], case["execution"] + source_bytes = output_bytes(source, ()) + cap = min(context["limits"].artifact_bytes, plan["resources"]["combined_persisted_case_bytes"]-source_bytes) + if cap <= 2*1024**2: + raise ObservationStopped("resource_limit", "combined_output_cap") + model = AffineCoupledSlab(SlabDefinition(**request["numeric_packet"]["definition"]), case["mesh_intervals"]) + mapping = AffineVoltageMap(model, mapped_input_profile=request["voltage_lift_map"]["mapped_input_profile"]) + target.mkdir(parents=True, exist_ok=False) + writer = HistoryWriter(target / "Charge.jsonl.gz", encoding="gzip", total_output_bytes=cap, + max_record_bytes=m["read_limits"]["max_record_bytes"], integer_io_policy=execution.get("integer_io_policy")) + try: + checkpoint() + run_id = execution["native_admission"]["operation_id"] + gate_ref = plan["source_freeze"]["frozen_gate_spec"] + observer = SealedChargeObserver(mapping, request, writer.append, checkpoint, + t1_context={"spec": pinned(gate_ref), "spec_sha256": gate_ref["sha256"], + "run_id": run_id, "case_id": case["id"]}) + comparison = case_metadata(request, case["id"]) + comparison["run_id"] = run_id + writer.append({"kind": "sealed_g2_context", "request_sha256": route._digest(request), "evidence": comparison}) + def retain(tag, sample, certificate): + checkpoint() + writer.append({"kind": "sealed_g2_sample", "request_sha256": route._digest(request), + "evidence": normalize_ida_sample(request, tag, sample, certificate)}) + result = verify_history(source, **m["read_limits"], deadline_monotonic=context["work_deadline"], + integer_io_policy=execution.get("integer_io_policy"), execution_admission=execution["native_admission"], + execution_provenance=execution.get("execution_provenance"), charge_observer=observer, sample_sink=retain) + checkpoint() + writer.finish() + # Scientific identities remain those of the original producer. The + # new operation and its budget are recorded separately below. + result.update(plan_sha256=m["producer_plan"]["sha256"], case_id=case["id"], methods=route.METHODS, + observed_history={"path": "Charge.jsonl.gz", "records": writer.records, + "logical_sha256": writer.logical_sha256, "logical_bytes": writer.logical_bytes, + "encoded_bytes": writer.encoded_bytes, "closed": writer.closed, "container_complete": writer.closed}) + raw = (integer_json_dumps(result, execution.get("integer_io_policy"), indent=2)+"\n").encode() + if output_bytes(target, ())+len(raw)+65536 > cap: + raise ObservationStopped("resource_limit", "output_cap") + require(pinned(m["producer_result"]) == context["producer_result"], "producer_changed_during_read") + with (target / "RunResult.json").open("xb") as stream: + stream.write(raw) + return result + except BaseException as error: + try: + writer.abort(error) + writer.publish_first_failure(exception_evidence(error)) + except BaseException as secondary: + error.add_note("saved observer closeout: " + type(secondary).__name__) + raise + + +def run(manifest_path): + started = time.monotonic() + context = validate(manifest_path) + m, limits = context["manifest"], context["limits"] + policy = m["execution"]["supervision"] + clock = launcher._pipeline_deadline(policy, started, limits) + deadline = launcher._require_pipeline_launch_budget(clock, "saved_observe") + context["work_deadline"] = deadline-limits.cleanup_s + def checkpoint(): + context["work_deadline"] = min(context["work_deadline"], + launcher._refresh_pipeline_deadline(clock)-limits.cleanup_s) + rss = resource.getrusage(resource.RUSAGE_SELF).ru_maxrss * (1 if sys.platform == "darwin" else 1024) + if Path(policy["cancel_path"]).exists(): + raise ObservationStopped("cancelled", "cancel_path") + if time.perf_counter() >= context["work_deadline"]: + raise ObservationStopped("deadline", "work_deadline") + if rss > limits.rss_bytes: + raise ObservationStopped("resource_limit", "RSS_limit") + checkpoint() + require(all(os.environ.get(k) == "1" for k in launcher.THREAD_VARIABLES), "thread_environment") + _blas_one() + with launcher.inherited_channel(context["plan"]["artifacts"]["channel_directory"], m["execution"]["channel"]), cancellation(): + result = _observe(context, checkpoint) + receipt = {"operation_id": m["operation_id"], "manifest_sha256": context["manifest_sha256"], + "source_directory": str(context["source"]), "output_directory": str(context["target"]), + "producer_plan": m["producer_plan"], "failed_observe_closure": m["failed_observe_closure"], + "producer_operation_id": context["case"]["execution"]["native_admission"]["operation_id"], + "execution": m["execution"], "elapsed_s": time.perf_counter()-started, + "old_failures_retained": True, "producer_runs": 0} + with (context["target"] / "RecoveryReceipt.json").open("x") as stream: + raw = json.dumps(receipt, indent=2)+"\n" + require(len(raw.encode()) <= 65536, "recovery_receipt_reserve") + stream.write(raw) + return result + + +def main(argv=None): + parser = argparse.ArgumentParser(description=__doc__) + parser.add_argument("--manifest", required=True, type=Path) + parser.add_argument("--validate-only", action="store_true") + args = parser.parse_args(argv) + try: + if args.validate_only: + value = validate(args.manifest) + print(json.dumps({"status": "validated_not_executed", "operation_id": value["manifest"]["operation_id"]})) + else: + result = run(args.manifest) + print(json.dumps({"status": "returned", "scientific_status": result.get("scientific_status"), + "scientific_pass": result.get("scientific_pass")})) + return 0 + except (ValueError, KeyError, OSError, RuntimeError) as error: + print(json.dumps({"status": "refused_or_failed", **exception_evidence(error)})) + return 2 + + +if __name__ == "__main__": + raise SystemExit(main()) diff --git a/scripts/benchmarks/hysteresis_current_bounds.py b/scripts/benchmarks/hysteresis_current_bounds.py new file mode 100644 index 00000000..a8ae1023 --- /dev/null +++ b/scripts/benchmarks/hysteresis_current_bounds.py @@ -0,0 +1,360 @@ +"""Pointwise enclosures for the saved, zero-ion-flux D0/C0 HI device law. + +The reference inputs are exact captured binary states/materials. A bounded +positive-series expm1 supplies SG enclosures; production SG/RHS/Poisson are not +called. No trajectory, initial state, integrator or scientific gate is created. +Unknown trajectory density errors stay separate from these pointwise bounds. +""" +from __future__ import annotations + +from dataclasses import dataclass +from decimal import Context, Decimal, ROUND_CEILING, ROUND_FLOOR +from fractions import Fraction +import math + + +PRECISION = 96 +SERIES_TERMS = 64 +DOWN = Context(prec=PRECISION, rounding=ROUND_FLOOR) +UP = Context(prec=PRECISION, rounding=ROUND_CEILING) + + +class UnsupportedPoint(ValueError): + pass + + +def exact(value) -> Fraction: + if isinstance(value, bool): + raise UnsupportedPoint("boolean is not a physical scalar") + if isinstance(value, Fraction): + return value + if isinstance(value, (int, Decimal)) and not isinstance(value, bool): + return Fraction(value) + value = float(value) + if not math.isfinite(value): + raise UnsupportedPoint("finite encoded input required") + return Fraction.from_float(value) + + +@dataclass(frozen=True) +class _Interval: + lo: Decimal + hi: Decimal + + def __post_init__(self): + if not self.lo.is_finite() or not self.hi.is_finite() or self.lo > self.hi: + raise UnsupportedPoint("invalid finite enclosure") + + @classmethod + def of(cls, value): + if isinstance(value, cls): + return value + q = exact(value) + n, d = Decimal(q.numerator), Decimal(q.denominator) + return cls(DOWN.divide(n, d), UP.divide(n, d)) + + def __add__(self, other): + b = self.of(other) + return self.__class__(DOWN.add(self.lo, b.lo), UP.add(self.hi, b.hi)) + + __radd__ = __add__ + + def __neg__(self): + return self.__class__(self.hi.copy_negate(), self.lo.copy_negate()) + + def __sub__(self, other): + return self + (-self.of(other)) + + def __rsub__(self, other): + return self.of(other) - self + + def __mul__(self, other): + b = self.of(other) + ends = ((self.lo, b.lo), (self.lo, b.hi), (self.hi, b.lo), (self.hi, b.hi)) + return self.__class__(min(DOWN.multiply(a, c) for a, c in ends), + max(UP.multiply(a, c) for a, c in ends)) + + __rmul__ = __mul__ + + def __truediv__(self, other): + b = self.of(other) + if b.lo <= 0 <= b.hi: + raise UnsupportedPoint("division enclosure includes zero") + inverse = self.__class__(DOWN.divide(Decimal(1), b.hi), UP.divide(Decimal(1), b.lo)) + return self * inverse + + def absolute_upper(self): + return max(self.lo.copy_abs(), self.hi.copy_abs()) + + def record(self): + return [str(self.lo), str(self.hi)] + + +def upper_float(value) -> float: + value = exact(value) + result = float(value) + if not math.isfinite(result): + raise UnsupportedPoint("bound does not fit a finite reported float") + return math.nextafter(result, math.inf) if exact(result) < value else result + + +def error_upper(value, enclosure: _Interval) -> Decimal: + return (_Interval.of(value)-enclosure).absolute_upper() + + +def _expm1_bounds(x: Fraction) -> _Interval: + """Positive Taylor terms and a geometric tail, followed by exact identities. + + Scale |x| to u<=1/8. After term N, the remaining series is bounded by + term_(N+1)/(1-u/(N+2)). Directed decimal operations enclose every step. + expm1(2u)=r*(r+2), expm1(-u)=-r/(1+r), so no exp implementation is trusted. + """ + x = exact(x) + if not x: + return _Interval.of(0) + if abs(x) > 8192: + raise UnsupportedPoint("SG argument exceeds this bounded arithmetic domain") + u, squarings = abs(x), 0 + while u > Fraction(1, 8): + u /= 2 + squarings += 1 + ub = _Interval.of(u) + term = total = ub + for k in range(2, SERIES_TERMS+1): + term = term*ub/k + total = total+term + tail = (term*ub/(SERIES_TERMS+1))/(1-ub/(SERIES_TERMS+2)) + result = _Interval(total.lo, (total+tail).hi) + for _ in range(squarings): + result = result*(result+2) + return -result/(1+result) if x < 0 else result + + +def bernoulli_bounds(x: Fraction) -> _Interval: + x = exact(x) + return _Interval.of(1) if not x else _Interval.of(x)/_expm1_bounds(x) + + +def poisson_exact(C, widths, rho, right, left=Fraction(0)): + """Exact linear map for the encoded face coefficients and volume widths.""" + C, widths, rho = tuple(map(exact, C)), tuple(map(exact, widths)), tuple(map(exact, rho)) + if (len(C)+1 != len(rho) or len(widths)+2 != len(rho) + or any(c <= 0 for c in C) or any(w <= 0 for w in widths)): + raise UnsupportedPoint("invalid Poisson geometry") + prefix = [Fraction(0)] + for r, width in zip(rho[1:-1], widths, strict=True): + prefix.append(prefix[-1]+r*width) + resistance = sum((1/c for c in C), Fraction(0)) + d0 = (exact(left)-exact(right)-sum((s/c for s, c in zip(prefix, C, strict=True)), Fraction(0)))/resistance + displacement = [d0+s for s in prefix] + phi = [exact(left)] + for d, c in zip(displacement, C, strict=True): + phi.append(phi[-1]-d/c) + return phi, displacement + + +def poisson_rate_bounds(C, widths, rho_rate, voltage_rate, polarity): + """Enclose differentiated Poisson, including the applied-voltage derivative.""" + prefix = [_Interval.of(0)] + for r, width in zip(rho_rate[1:-1], widths, strict=True): + prefix.append(prefix[-1]+r*width) + resistance = sum((1/exact(c) for c in C), Fraction(0)) + d0 = (_Interval.of(polarity*exact(voltage_rate))-sum((s/c for s, c in zip(prefix, C, strict=True)), _Interval.of(0)))/resistance + return [d0+s for s in prefix] + + +def density_to_potential_radius(C, widths, n_radius, p_radius, ion_radius, + charge, *, left_radius=0, right_radius=0): + """Positive Poisson inverse propagates an explicit physical density box.""" + if n_radius is None or p_radius is None or ion_radius is None: + raise UnsupportedPoint("trajectory density error radii are unknown") + radii = [list(map(exact, r)) for r in (n_radius, p_radius, ion_radius)] + if (any(v < 0 for row in radii for v in row) + or exact(left_radius) < 0 or exact(right_radius) < 0 or exact(charge) <= 0): + raise UnsupportedPoint("nonnegative uncertainty radii required") + rho_radius = [exact(charge)*(a+b+c) for a,b,c in zip(*radii,strict=True)] + phi, _ = poisson_exact(C,widths,rho_radius,exact(right_radius),exact(left_radius)) + if any(x < 0 for x in phi): + raise ArithmeticError("positive Poisson inverse violated") + return phi + + +def current_change_from_state_box(C, sensitivity, *, voltage_rate_radius): + """A bound for the self-consistent semidiscrete current, not a trajectory estimate.""" + if voltage_rate_radius is None or exact(voltage_rate_radius) < 0: + raise UnsupportedPoint("explicit voltage-derivative uncertainty required") + resistance = sum((1/exact(c) for c in C), Fraction(0)) + total = _Interval.of(voltage_rate_radius) + for c, row in zip(C,sensitivity,strict=True): + bound = _Interval.of(Decimal(row['electron']['box_current_change_upper_A_m2'])) + bound = bound+Decimal(row['hole']['box_current_change_upper_A_m2']) + total = total+bound/exact(c) + return (total/resistance).hi + + +def sg_bounds(phi, n, p, dx, dn, dp, vt, charge, polarity): + """Homogeneous MB SG law, using B(-x)=B(x)+x and exact density differences.""" + if (polarity not in (-1, 1) or exact(vt) <= 0 or exact(charge) <= 0 + or any(exact(w) <= 0 for w in dx) + or any(exact(d) < 0 for d in (*dn, *dp))): + raise UnsupportedPoint("positive SG geometry and nonnegative diffusivity required") + electron, hole = [], [] + for i, width in enumerate(dx): + xi = (exact(phi[i+1])-exact(phi[i]))/exact(vt) + b = bernoulli_bounds(xi) + scale = polarity*exact(charge)/exact(width) + electron.append(scale*exact(dn[i])*(b*(exact(n[i])-exact(n[i+1]))+xi*exact(n[i]))) + hole.append(scale*exact(dp[i])*(b*(exact(p[i+1])-exact(p[i]))+xi*exact(p[i+1]))) + return electron, hole + + +def sg_sensitivity_bounds(phi, n, p, dx, dn, dp, vt, charge, phi_radius, + *, n_radius, p_radius): + """A box bound; density radii must be explicit for a trajectory-error claim. + + B>0 and -1 dict: + """Bound one represented snapshot against its mathematical semidiscrete law.""" + n, p, ions = (list(map(exact, point[k])) for k in ('n_m3', 'p_m3', 'positive_ions_m3')) + count = len(n) + a = lambda name: list(map(exact, arrays['material.'+name])) + C, widths = a('poisson_factor.C'), a('poisson_factor.h_cell') + x = arrays['initial.x_m'] + dx = [exact(float(x[i+1])-float(x[i])) for i in range(count-1)] + source_widths = [exact(.5*(float(dx[i])+float(dx[i+1]))) for i in range(count-2)] + if widths != source_widths or widths != a('dx_cell')[1:-1]: + raise UnsupportedPoint("Poisson and continuity do not share encoded control volumes") + pol = point['junction_polarity'] + if (pol not in (-1, 1) or packet['has_dynamic_traps_or_negative_ions'] + or any(a('chi')) or any(a('Eg')) or any(a('N_t_node')) + or any(v <= 0 for v in n+p) or any(v < 0 for v in ions) + or any(v is not None for v in packet['contacts_and_potential']['effective_S'].values())): + raise UnsupportedPoint("only positive bulk MB D0/C0 snapshots with pinned contacts are covered") + if any(a('D_ion_face')) and (any(ions) or any(a('P_ion0'))): + raise UnsupportedPoint("nonzero mobile-ion flux needs a separate bound") + if list(map(exact, point['state'])) != n+p+ions: + raise UnsupportedPoint("snapshot and packed state differ") + q, vt = exact(charge), exact(packet['contacts_and_potential']['V_T_device']) + rho = [q*(pi-ni+ci-bg-na+nd) for ni,pi,ci,bg,na,nd in zip(n,p,ions,a('P_ion0'),a('N_A'),a('N_D'),strict=True)] + right = exact(packet['contacts_and_potential']['V_bi_bc'])-pol*exact(point['voltage_V']) + phi, _ = poisson_exact(C, widths, rho, right) + phi_radius = [abs(v-exact(s)) for v,s in zip(phi,point['phi_V'],strict=True)] + jn, jp = sg_bounds(phi,n,p,dx,a('D_n_face'),a('D_p_face'),vt,q,pol) + jn_stored_phi, jp_stored_phi = sg_bounds(point['phi_V'],n,p,dx,a('D_n_face'),a('D_p_face'),vt,q,pol) + sensitivity = sg_sensitivity_bounds(point['phi_V'],n,p,dx,a('D_n_face'),a('D_p_face'),vt,q,phi_radius, + n_radius=[0]*count, p_radius=[0]*count) + jc = [en+hp for en,hp in zip(jn,jp,strict=True)] + rho_rate = [_Interval.of(0)]+[pol*(jc[i+1]-jc[i])/widths[i] for i in range(count-2)]+[_Interval.of(0)] + dr = poisson_rate_bounds(C,widths,rho_rate,point['voltage_rate_V_s'],pol) + phi_rate = [_Interval.of(0)] + for value, capacitance in zip(dr, C, strict=True): + phi_rate.append(phi_rate[-1]-value/capacitance) + endpoint_rate = exact(-pol*exact(point['voltage_rate_V_s'])) + if not exact(phi_rate[-1].lo) <= endpoint_rate <= exact(phi_rate[-1].hi): + raise ArithmeticError("differentiated voltage constraint not enclosed") + + # Independent exact SRH/radiative/Auger source and per-carrier continuity. + # G-R is shared; it cancels algebraically in charge, rather than relying on + # cancellation of two rounded huge carrier rates. + material = {name:a(name) for name in ('ni_sq','tau_n','tau_p','n1','p1','B_rad','C_n','C_p','G_optical')} + rn, rp = [_Interval.of(0)], [_Interval.of(0)] + for i in range(1,count-1): + denominator = material['tau_p'][i]*(n[i]+material['n1'][i])+material['tau_n'][i]*(p[i]+material['p1'][i]) + if denominator <= 0: + raise UnsupportedPoint("nonpositive SRH denominator") + excess = n[i]*p[i]-material['ni_sq'][i] + R = excess/denominator + material['B_rad'][i]*excess + (material['C_n'][i]*n[i]+material['C_p'][i]*p[i])*excess + G = material['G_optical'][i] if point['illuminated'] else Fraction(0) + rn.append(-pol*(jn[i]-jn[i-1])/(q*widths[i-1])+(G-R)) + rp.append(pol*(jp[i]-jp[i-1])/(q*widths[i-1])+(G-R)) + recombined = q*(rp[-1]-rn[-1]) + if max(recombined.lo,rho_rate[i].lo) > min(recombined.hi,rho_rate[i].hi): + raise ArithmeticError("independent carrier/charge enclosures disagree") + rn.append(_Interval.of(0)); rp.append(_Interval.of(0)) + + yd = list(map(exact, point['ydot_m3_s'])) + if any(yd[2*count:]) or any(point['J_ion_A_m2']): + raise UnsupportedPoint("saved ion rate/current is not zero") + encoded_charge_rate = [q*(yd[i+count]-yd[i]+yd[i+2*count]) for i in range(count)] + saved_jc = [exact(en)+exact(hp)+exact(ion) for en,hp,ion in zip(point['J_n_A_m2'],point['J_p_A_m2'],point['J_ion_A_m2'],strict=True)] + encoded_flux_rate = [Fraction(0)]+[pol*(saved_jc[i+1]-saved_jc[i])/widths[i] for i in range(count-2)]+[Fraction(0)] + faces = [] + for i in range(count-1): + arithmetic = [error_upper(point['J_n_A_m2'][i],jn_stored_phi[i]),error_upper(point['J_p_A_m2'][i],jp_stored_phi[i])] + potential = [Decimal(sensitivity[i][key]['box_current_change_upper_A_m2']) for key in ('electron','hole')] + component_errors = [error_upper(point['J_n_A_m2'][i],jn[i]),error_upper(point['J_p_A_m2'][i],jp[i])] + for actual_error, ae, pe in zip(component_errors,arithmetic,potential,strict=True): + # Each compared reference has its own interval radius. The very + # small radii are retained instead of assuming exact decimal values. + allowance = UP.add(UP.add(ae,pe),UP.add(UP.subtract(jn[i].hi,jn[i].lo),UP.subtract(jp[i].hi,jp[i].lo))) + if actual_error > allowance: + raise ArithmeticError("SG sensitivity bound does not cover the reference enclosure") + d_error = error_upper(point['Ddot_A_m2'][i],dr[i]) + current = exact(float(point['J_cond_A_m2'][i])-pol*float(point['Ddot_A_m2'][i])) + reference_current = jc[i]-pol*dr[i] + aggregation = abs(current-(exact(point['J_cond_A_m2'][i])-pol*exact(point['Ddot_A_m2'][i]))) + composed = UP.add(error_upper(point['J_cond_A_m2'][i],jc[i]),d_error) + composed = UP.add(composed, _Interval.of(aggregation).hi) + direct = error_upper(current,reference_current) + if direct > UP.add(composed,UP.subtract(reference_current.hi,reference_current.lo)): + raise ArithmeticError("joint current bound failed") + faces.append({'Jn_reference_A_m2':jn[i].record(),'Jp_reference_A_m2':jp[i].record(), + 'Ddot_reference_A_m2':dr[i].record(),'Jtotal_reference_A_m2':reference_current.record(), + 'SG_arithmetic_upper_A_m2':list(map(str,arithmetic)), + 'SG_phi_effect_upper_A_m2':list(map(str,potential)), + 'sensitivity':sensitivity[i], + 'Ddot_error_upper_A_m2':str(d_error),'total_current_error_upper_A_m2':str(direct), + 'conservative_composed_current_error_upper_A_m2':str(composed)}) + rate_errors = { + 'stored_rho_dot':max(error_upper(v,b) for v,b in zip(point['rho_dot_C_m3_s'],rho_rate,strict=True)), + 'exact_charge_of_stored_ydot':max(error_upper(v,b) for v,b in zip(encoded_charge_rate,rho_rate,strict=True)), + 'exact_divergence_of_stored_conduction':max(error_upper(v,b) for v,b in zip(encoded_flux_rate,rho_rate,strict=True))} + return {'phase':point['phase_id'],'time_s':point['time_s'],'event_side':point['event_side'], + 'voltage_V':point['voltage_V'],'voltage_rate_V_s':point['voltage_rate_V_s'], + 'reference_input_meaning':'exact saved binary state/materials; mathematical charge and boundary arithmetic; encoded face widths', + 'phi_error_upper_V':upper_float(max(phi_radius)), + 'rho_aggregation_error_upper_C_m3':upper_float(max(abs(r-exact(s)) for r,s in zip(rho,point['rho_C_m3'],strict=True))), + 'right_boundary_roundoff_V':str(abs(right-exact(point['phi_V'][-1]))), + 'max_phi_dot_error_upper_V_s':upper_float(max(error_upper(v,b) for v,b in zip(point['phi_dot_V_s'],phi_rate,strict=True))), + 'carrier_RHS_error_upper_m3_s':{'n':upper_float(max(error_upper(v,b) for v,b in zip(yd[:count],rn,strict=True))), + 'p':upper_float(max(error_upper(v,b) for v,b in zip(yd[count:2*count],rp,strict=True)))}, + 'distinct_charge_rate_errors_upper_C_m3_s':{k:upper_float(v) for k,v in rate_errors.items()}, + 'faces':faces,'max_Ddot_error_upper_A_m2':max(upper_float(Decimal(f['Ddot_error_upper_A_m2'])) for f in faces), + 'max_total_current_error_upper_A_m2':max(upper_float(Decimal(f['total_current_error_upper_A_m2'])) for f in faces), + 'left_current_error_upper_A_m2':upper_float(Decimal(faces[0]['total_current_error_upper_A_m2'])), + 'density_error_radii_for_pointwise_reference':'zero only by exact-saved-input definition; trajectory radii are unknown', + 'continuous_trajectory_error_bound':None,'reference_eligibility':False} diff --git a/scripts/benchmarks/hysteresis_mobile_bounds.py b/scripts/benchmarks/hysteresis_mobile_bounds.py new file mode 100644 index 00000000..3130b44d --- /dev/null +++ b/scripts/benchmarks/hysteresis_mobile_bounds.py @@ -0,0 +1,228 @@ +"""Independent enclosures for exact saved Dref inputs, not trajectory errors. + +The caller supplies the unchanged, source-bound hysteresis_current_bounds +module as ``base``. No production transport, RHS or Poisson function is called. +The actual captured branch is single-positive-ion diffusion-only steric SG. +""" +from __future__ import annotations + +from decimal import Decimal +from fractions import Fraction + + +LOG_TERMS = 64 +CLIP_UPPER_HEX = "0x1.ffffde7210be9p-1" + + +def _positive_log_series(base, t): + """2*atanh(t), 0<=t<=1/3, with an explicit geometric remainder.""" + if not 0 <= t <= Fraction(1, 3): + raise base.UnsupportedPoint("logarithm series argument outside bound") + if not t: + return base._Interval.of(0) + x = base._Interval.of(t) + square, term, total = x*x, x, x + for index in range(1, LOG_TERMS): + term = term*square + total = total+term/(2*index+1) + # All omitted positive terms have ratio at most t^2; their denominators + # are at least 2*N+1. Outward operations retain the complete remainder. + tail = (term*square)/(2*LOG_TERMS+1)/(1-square) + return 2*base._Interval(total.lo, (total+tail).hi) + + +def log_bounds(base, value): + """Bound log of a positive rational using exact powers-of-two reduction.""" + value = base.exact(value) + if value <= 0: + raise base.UnsupportedPoint("positive logarithm input required") + if value < 1: + return -log_bounds(base, 1/value) + shift = value.numerator.bit_length()-value.denominator.bit_length() + if shift > 32: + raise base.UnsupportedPoint("logarithm input exceeds the declared material domain") + scaled = value/Fraction(1 << shift) + if scaled < 1: + shift -= 1 + scaled *= 2 + result = _positive_log_series(base, (scaled-1)/(scaled+1)) + return result if not shift else result+shift*_positive_log_series(base, Fraction(1, 3)) + + +def _bernoulli_interval(base, value): + # B is decreasing on the real axis; reuse the independently bounded + # scalar Bernoulli at both exact decimal endpoints. + return base._Interval(base.bernoulli_bounds(base.exact(value.hi)).lo, + base.bernoulli_bounds(base.exact(value.lo)).hi) + + +def mobile_flux_bounds(base, phi, ions, dx, diffusion, limits, vt, clip_upper): + """Positive particle flux, including the captured vacancy-log drive.""" + exact, interval = base.exact, base._Interval.of + phi, ions = list(map(exact, phi)), list(map(exact, ions)) + dx, diffusion, limits = [list(map(exact, row)) for row in (dx, diffusion, limits)] + count, vt, clip_upper = len(ions), exact(vt), exact(clip_upper) + if (count < 2 or len(phi) != count or len(limits) != count + or len(dx) != count-1 or len(diffusion) != count-1 + or vt <= 0 or not 0 < clip_upper < 1 or any(c < 0 for c in ions) + or any(d < 0 for d in diffusion) or any(w <= 0 for w in dx) + or any(limit <= 0 for limit in limits)): + raise base.UnsupportedPoint("invalid single-ion physical inputs") + vacancies = [1-min(max(c/limit, Fraction(0)), clip_upper) + for c, limit in zip(ions, limits, strict=True)] + fluxes, drives = [], [] + for i, width in enumerate(dx): + # mu_ex,right-mu_ex,left = log(vacancy_left/vacancy_right). + drive = interval((phi[i+1]-phi[i])/vt)+log_bounds(base, vacancies[i]/vacancies[i+1]) + b = _bernoulli_interval(base, drive) + fluxes.append(diffusion[i]/width*(b*(ions[i]-ions[i+1])-drive*ions[i+1])) + drives.append(drive) + return fluxes, drives, vacancies + + +def _carrier_rates(base, arrays, n, p, jn, jp, widths, q, polarity, illuminated): + interval, exact = base._Interval.of, base.exact + material = {name: list(map(exact, arrays["material."+name])) for name in + ("ni_sq", "tau_n", "tau_p", "n1", "p1", "B_rad", "C_n", "C_p", "G_optical")} + rn, rp = [interval(0)], [interval(0)] + for i in range(1, len(n)-1): + denominator = material["tau_p"][i]*(n[i]+material["n1"][i])+material["tau_n"][i]*(p[i]+material["p1"][i]) + if denominator <= 0: + raise base.UnsupportedPoint("nonpositive SRH denominator") + excess = n[i]*p[i]-material["ni_sq"][i] + recombination = excess/denominator+material["B_rad"][i]*excess+(material["C_n"][i]*n[i]+material["C_p"][i]*p[i])*excess + generation = material["G_optical"][i] if illuminated else Fraction(0) + rn.append(-polarity*(jn[i]-jn[i-1])/(q*widths[i-1])+generation-recombination) + rp.append(polarity*(jp[i]-jp[i-1])/(q*widths[i-1])+generation-recombination) + return rn+[interval(0)], rp+[interval(0)] + + +def qualify_point(base, point, arrays, packet, charge): + """Enclose the represented mobile state under its fixed semidiscrete law.""" + exact, interval = base.exact, base._Interval.of + a = lambda name: list(map(exact, arrays["material."+name])) + n, p, ions = [list(map(exact, point[key])) for key in ("n_m3", "p_m3", "positive_ions_m3")] + count = len(n) + if count < 2 or len(p) != count or len(ions) != count or list(map(exact, point["state"])) != n+p+ions: + raise base.UnsupportedPoint("packed state or species shape differs") + transport, contact = packet["ion_transport"], packet["contacts_and_potential"] + polarity = point["junction_polarity"] + if (transport["steric_diffusion_only"] is not True or transport["species"] != "single_positive" + or transport["effective_shared_site"] is not False + or transport["clip_upper_binary64"] != CLIP_UPPER_HEX + or transport["external_particle_flux"] != "zero_both_ends" + or packet["has_dynamic_traps_or_negative_ions"] + or point.get("negative_ions_m3") is not None or point.get("trap_occupancy") is not None + or type(polarity) is not int or polarity not in (-1, 1) or polarity != contact["junction_polarity"] + or type(point["illuminated"]) is not bool + or contact["left_phi_V"] != 0 or any(value is not None for value in contact["effective_S"].values()) + or any(a("chi")) or any(a("Eg")) or any(a("N_t_node")) + or any(value <= 0 for value in n+p) or any(value < 0 for value in ions)): + raise base.UnsupportedPoint("outside the captured single-ion MB Dref source domain") + q, vt = exact(charge), exact(contact["V_T_device"]) + if q <= 0 or vt <= 0: + raise base.UnsupportedPoint("positive charge and thermal voltage required") + x = arrays["initial.x_m"] + dx = [exact(float(x[i+1])-float(x[i])) for i in range(count-1)] + widths, coefficients = a("poisson_factor.h_cell"), a("poisson_factor.C") + original_interior = [exact(.5*(float(dx[i])+float(dx[i+1]))) for i in range(count-2)] + if widths != original_interior or widths != a("dx_cell")[1:-1]: + raise base.UnsupportedPoint("encoded Poisson and continuity widths differ") + ion_widths = [dx[0]]+original_interior+[dx[-1]] + rho = [q*(hp-en+ion-bg-na+nd) for en,hp,ion,bg,na,nd in + zip(n,p,ions,a("P_ion0"),a("N_A"),a("N_D"),strict=True)] + right = exact(contact["V_bi_bc"])-polarity*exact(point["voltage_V"]) + phi, _ = base.poisson_exact(coefficients, widths, rho, right) + phi_error = [abs(v-exact(s)) for v,s in zip(phi,point["phi_V"],strict=True)] + jn, jp = base.sg_bounds(phi,n,p,dx,a("D_n_face"),a("D_p_face"),vt,q,polarity) + sn, sp = base.sg_bounds(point["phi_V"],n,p,dx,a("D_n_face"),a("D_p_face"),vt,q,polarity) + clip = exact(float.fromhex(CLIP_UPPER_HEX)) + diffusion, limits = a("D_ion_face"), a("P_lim_node") + particle, drives, vacancies = mobile_flux_bounds(base,phi,ions,dx,diffusion,limits,vt,clip) + stored_phi_particle, _, _ = mobile_flux_bounds(base,point["phi_V"],ions,dx,diffusion,limits,vt,clip) + ji = [-polarity*q*value for value in particle] + si = [-polarity*q*value for value in stored_phi_particle] + total = [en+hp+ion for en,hp,ion in zip(jn,jp,ji,strict=True)] + padded = [interval(0)]+particle+[interval(0)] + ion_rate = [-(padded[i+1]-padded[i])/width for i,width in enumerate(ion_widths)] + rho_rate = [q*ion_rate[0]]+[polarity*(total[i+1]-total[i])/widths[i] for i in range(count-2)]+[q*ion_rate[-1]] + rn, rp = _carrier_rates(base,arrays,n,p,jn,jp,widths,q,polarity,point["illuminated"]) + for en,hp,ion,charge_rate in zip(rn,rp,ion_rate,rho_rate,strict=True): + combined = q*(hp-en+ion) + if max(combined.lo,charge_rate.lo) > min(combined.hi,charge_rate.hi): + raise ArithmeticError("independent species and charge enclosures disagree") + d_rate = base.poisson_rate_bounds(coefficients,widths,rho_rate,point["voltage_rate_V_s"],polarity) + phi_rate = [interval(0)] + for d,c in zip(d_rate,coefficients,strict=True): + phi_rate.append(phi_rate[-1]-d/c) + endpoint = -polarity*exact(point["voltage_rate_V_s"]) + if not exact(phi_rate[-1].lo) <= endpoint <= exact(phi_rate[-1].hi): + raise ArithmeticError("voltage-rate boundary not enclosed") + carrier_sensitivity = base.sg_sensitivity_bounds(point["phi_V"],n,p,dx,a("D_n_face"),a("D_p_face"),vt,q,phi_error,n_radius=[0]*count,p_radius=[0]*count) + faces = [] + for i in range(count-1): + arithmetic = [base.error_upper(point[key][i],bound) for key,bound in + zip(("J_n_A_m2","J_p_A_m2","J_ion_A_m2"),(sn[i],sp[i],si[i]),strict=True)] + ion_phi_effect = interval(q*diffusion[i]*max(ions[i],ions[i+1])/(dx[i]*vt))*(phi_error[i]+phi_error[i+1]) + potential = [Decimal(carrier_sensitivity[i][key]["box_current_change_upper_A_m2"]) for key in ("electron","hole")]+[ion_phi_effect.hi] + for key,bound,ae,pe,stored_bound in zip(("J_n_A_m2","J_p_A_m2","J_ion_A_m2"),(jn[i],jp[i],ji[i]),arithmetic,potential,(sn[i],sp[i],si[i]),strict=True): + allowance = interval(ae)+pe+interval(bound.hi)-bound.lo+interval(stored_bound.hi)-stored_bound.lo + if base.error_upper(point[key][i],bound) > allowance.hi: + raise ArithmeticError("component potential sensitivity fails to enclose error") + current = exact(float(point["J_cond_A_m2"][i])-polarity*float(point["Ddot_A_m2"][i])) + reference = total[i]-polarity*d_rate[i] + aggregation = abs(current-(exact(point["J_cond_A_m2"][i])-polarity*exact(point["Ddot_A_m2"][i]))) + displacement_error = base.error_upper(point["Ddot_A_m2"][i],d_rate[i]) + composed = interval(base.error_upper(point["J_cond_A_m2"][i],total[i]))+displacement_error+aggregation + direct = base.error_upper(current,reference) + if direct > (composed+interval(reference.hi)-reference.lo).hi: + raise ArithmeticError("composed current bound failed") + signed_error = interval(current)-reference + excludes_zero = reference.lo > 0 or reference.hi < 0 + magnitude_min = min(abs(exact(reference.lo)),abs(exact(reference.hi))) if excludes_zero else Fraction(0) + magnitude_max = max(abs(exact(reference.lo)),abs(exact(reference.hi))) + allowance_min = (Fraction(1,1000)+magnitude_min/Fraction(10000))/12 + allowance_max = (Fraction(1,1000)+magnitude_max/Fraction(10000))/12 + error_excludes_zero = signed_error.lo > 0 or signed_error.hi < 0 + error_min = min(abs(exact(signed_error.lo)),abs(exact(signed_error.hi))) if error_excludes_zero else Fraction(0) + screen = "within" if exact(direct) <= allowance_min else "exceeds" if error_min > allowance_max else "indeterminate" + faces.append({"Jn_reference_A_m2":jn[i].record(),"Jp_reference_A_m2":jp[i].record(), + "Jion_reference_A_m2":ji[i].record(),"particle_flux_reference_m2_s":particle[i].record(), + "vacancy_drive_reference":drives[i].record(),"Ddot_reference_A_m2":d_rate[i].record(), + "Jtotal_reference_A_m2":reference.record(),"arithmetic_upper_A_m2":list(map(str,arithmetic)), + "represented_phi_effect_upper_A_m2":list(map(str,potential)), + "Ddot_error_upper_A_m2":str(displacement_error),"total_current_error_upper_A_m2":str(direct), + "composed_current_error_upper_A_m2":str(composed.hi), + "initial_observable_axis_allowance_formula":"(1/1000+abs(J_ref)/10000)/12 A/m2", + "initial_observable_axis_allowance_min_A_m2":str(allowance_min), + "pointwise_axis_screen":screen}) + yd = list(map(exact,point["ydot_m3_s"])) + if len(yd) != 3*count: + raise base.UnsupportedPoint("saved derivative shape differs") + exact_saved_charge_rate = [q*(yd[count+i]-yd[i]+yd[2*count+i]) for i in range(count)] + saved_charge_flux = [exact(en)+exact(hp)+exact(ion) for en,hp,ion in + zip(point["J_n_A_m2"],point["J_p_A_m2"],point["J_ion_A_m2"],strict=True)] + saved_flux_charge_rate = [polarity*exact(point["J_ion_A_m2"][0])/ion_widths[0]] + saved_flux_charge_rate += [polarity*(saved_charge_flux[i+1]-saved_charge_flux[i])/widths[i] for i in range(count-2)] + saved_flux_charge_rate += [-polarity*exact(point["J_ion_A_m2"][-1])/ion_widths[-1]] + max_error = lambda values,bounds: base.upper_float(max(base.error_upper(v,b) for v,b in zip(values,bounds,strict=True))) + return {"phase":point["phase_id"],"time_s":point["time_s"],"event_side":point["event_side"], + "voltage_V":point["voltage_V"],"voltage_rate_V_s":point["voltage_rate_V_s"], + "reference_input_meaning":"exact saved binary states/materials;original encoded widths and diffusion-only steric law", + "phi_error_upper_V":base.upper_float(max(phi_error)), + "rho_aggregation_error_upper_C_m3":base.upper_float(max(abs(r-exact(v)) for r,v in zip(rho,point["rho_C_m3"],strict=True))), + "RHS_error_upper_m3_s":{"n":max_error(yd[:count],rn),"p":max_error(yd[count:2*count],rp),"positive_ion":max_error(yd[2*count:],ion_rate)}, + "rho_rate_error_upper_C_m3_s":{"stored_rho_dot":max_error(point["rho_dot_C_m3_s"],rho_rate), + "exact_charge_of_stored_ydot":max_error(exact_saved_charge_rate,rho_rate), + "exact_divergence_of_stored_conduction":max_error(saved_flux_charge_rate,rho_rate)}, + "ion_rate_reference_m3_s":[value.record() for value in ion_rate], + "rho_rate_reference_C_m3_s":[value.record() for value in rho_rate], + "phi_rate_reference_V_s":[value.record() for value in phi_rate], + "phi_dot_error_upper_V_s":max_error(point["phi_dot_V_s"],phi_rate), + "reference_ion_inventory_rate":"exactly zero by telescoping identical face fluxes and zero external flux", + "stored_ion_inventory_rate_m2_s":str(sum((width*rate for width,rate in zip(ion_widths,yd[2*count:],strict=True)),Fraction(0))), + "minimum_reference_vacancy":str(min(vacancies)),"faces":faces, + "max_total_current_error_upper_A_m2":max(base.upper_float(Decimal(f["total_current_error_upper_A_m2"])) for f in faces), + "left_current_error_upper_A_m2":base.upper_float(Decimal(faces[0]["total_current_error_upper_A_m2"])), + "density_error_radii":"zero only by exact-saved-input definition;trajectory radii unknown", + "continuous_trajectory_error_bound":None,"reference_eligibility":False} diff --git a/scripts/benchmarks/hysteresis_qualification.py b/scripts/benchmarks/hysteresis_qualification.py new file mode 100644 index 00000000..76d14533 --- /dev/null +++ b/scripts/benchmarks/hysteresis_qualification.py @@ -0,0 +1,287 @@ +"""Prepare exact HI refinement requests or bound existing saved device snapshots. + +Both operations are nonintegrating. Admission requests are deliberately false; +the reference harness still requires a separate Root-issued authorization. +""" +from __future__ import annotations + +import argparse +from dataclasses import replace +from datetime import datetime, timezone +from fractions import Fraction +import hashlib +import importlib.metadata +import importlib.util +import json +import os +from pathlib import Path +import resource +import shlex +import sys +import time + + +SAVED_REVIEW_SHA256 = '26e0a903b5be27656e07f80e2c82db5f65b3a51931203431d7739eeae89f7772' +CASES = {'D0':'hi_diffusivity_00', 'C0':'hi_density_00'} + + +def sha(path): + return hashlib.sha256(Path(path).read_bytes()).hexdigest() + + +def read(path): + return json.loads(Path(path).read_text()) + + +def write(path, data, *, compact=False): + with Path(path).open('x') as stream: + json.dump(data,stream,indent=None if compact else 2,allow_nan=False) + stream.write('\n') + + +def module(name, path): + spec = importlib.util.spec_from_file_location(name,path) + value = importlib.util.module_from_spec(spec) + sys.modules[name] = value + spec.loader.exec_module(value) + return value + + +def source_packet(repo): + paths = ['scripts/benchmarks/hysteresis_reference.py','scripts/benchmarks/hysteresis_current_bounds.py', + 'scripts/benchmarks/hysteresis_qualification.py', + 'perovskite-sim/perovskite_sim/solver/mol.py', + 'perovskite-sim/perovskite_sim/experiments/jv_sweep.py', + 'perovskite-sim/perovskite_sim/physics/continuity.py', + 'perovskite-sim/perovskite_sim/physics/poisson.py', + 'perovskite-sim/perovskite_sim/physics/recombination.py', + 'perovskite-sim/perovskite_sim/constants.py'] + return {str(repo/p):sha(repo/p) for p in paths} + + +def saved_bindings(repo, archive): + stage = archive/'test/ArchitectureRefactor/Stage00' + review = stage/'HysteresisSavedDiagnosticsReviewV1.json' + if sha(review) != SAVED_REVIEW_SHA256: + raise ValueError('accepted saved-data review identity changed') + previous = read(review) + bindings = read(previous['binding']['path']) + if sha(previous['binding']['path']) != previous['binding']['sha256']: + raise ValueError('accepted review binding changed') + pins = bindings['all_rechecked_source_input_hashes'] + result = {} + for case in CASES: + run = archive/'results/RefactorHysteresis'/case/'HistoryDiagnosticAttempt01' + initial = stage/'HysteresisInitialPacketAttempt01'/case + files = {'plan':run/'RunPlan.json','states':run/'PhysicalStates.json', + 'packet':initial/'Packet.json','arrays':initial/'Arrays.npz'} + for path in files.values(): + if sha(path) != pins[str(path)]: + raise ValueError(f'saved input changed: {path}') + plan = read(files['plan']) + if sha(plan['raw_input']['path']) != plan['raw_input']['sha256']: + raise ValueError('original request changed') + # The harness alone has the separately requested numerical-policy delta. + # Every original production/backend source remains the actual saved source. + for path,expected in plan['source']['files'].items(): + if path != 'scripts/benchmarks/hysteresis_reference.py' and sha(repo/path) != expected: + raise ValueError(f'original physical source changed: {path}') + result[case] = {key:{'path':str(path),'sha256':sha(path)} for key,path in files.items()} + result[case]['original_harness_sha256'] = plan['source']['files']['scripts/benchmarks/hysteresis_reference.py'] + return result + + +def bound_saved(repo, archive, output): + import ast + import numpy as np + from threadpoolctl import threadpool_info + import _decimal + bounds = module('hi_saved_current_bounds',repo/'scripts/benchmarks/hysteresis_current_bounds.py') + start = time.monotonic() + sources = source_packet(repo) + inputs = saved_bindings(repo,archive) + output.mkdir(parents=True,exist_ok=False) + q = None + for item in ast.parse((repo/'perovskite-sim/perovskite_sim/constants.py').read_text()).body: + if isinstance(item,ast.Assign) and isinstance(item.value,ast.Constant): + if any(isinstance(t,ast.Name) and t.id=='Q' for t in item.targets): + q = float(item.value.value) + if q is None: + raise ValueError('pinned elementary-charge literal unavailable') + records, summaries = [], [] + priority = {'dark_seed':0,'dark_prebias':1,'forward_ramp':2,'reverse_ramp':3} + for case,files in inputs.items(): + packet = read(files['packet']['path']) + with np.load(files['arrays']['path'],allow_pickle=False) as data: + arrays = {k:data[k] for k in data.files} + state = read(files['states']['path']) + case_rows = [] + ordered = sorted(state['phase_limits'].items(),key=lambda item:priority.get(item[0],4)) + for phase,points in ordered: + for side,point in points.items(): + row = bounds.qualify_point(point,arrays,packet,q) + row.update({'case':case,'phase_side':side}) + records.append(row);case_rows.append(row) + summaries.append({'case':case,'points':len(case_rows), + 'max_current_error_upper_A_m2':max(r['max_total_current_error_upper_A_m2'] for r in case_rows), + 'max_Ddot_error_upper_A_m2':max(r['max_Ddot_error_upper_A_m2'] for r in case_rows), + 'first_ramp_current_errors_A_m2':{r['phase']:r['left_current_error_upper_A_m2'] for r in case_rows if r['phase'].endswith('_ramp') and r['phase_side']=='start'}}) + if sources != source_packet(repo): + raise ValueError('qualification source drift') + result = {'schema':'solarlab.hi-device-pointwise-enclosures.v1','recorded_utc':datetime.now(timezone.utc).isoformat(), + 'status':'computed_bounds_require_independent_review','points':records,'case_summaries':summaries, + 'sources':sources,'inputs':inputs,'accepted_saved_review_sha256':SAVED_REVIEW_SHA256, + 'enclosure_arithmetic':{'precision':bounds.PRECISION,'Taylor_terms':bounds.SERIES_TERMS, + 'exponential':'range-reduced positive expm1 Taylor series with explicit geometric remainder; no library exp used', + 'decimal_implementation':{'origin':_decimal.__spec__.origin, + 'binding_path':getattr(_decimal,'__file__',sys.executable), + 'binding_sha256':sha(getattr(_decimal,'__file__',sys.executable)), + 'embedded_in_interpreter':getattr(_decimal,'__file__',None) is None}}, + 'runtime':{'python':sys.version,'executable':sys.executable,'numpy':np.__version__, + 'scipy':importlib.metadata.version('scipy'),'threadpools':threadpool_info()}, + 'continuous_trajectory_error':None,'scientific_gate_awards':[], + 'native_time_advances':0,'new_initial_states':0,'wall_s':time.monotonic()-start, + 'peak_RSS_bytes':resource.getrusage(resource.RUSAGE_SELF).ru_maxrss} + write(output/'Result.json',result) + print(json.dumps({'points':len(records),'cases':summaries,'wall_s':result['wall_s']})) + + +def prepare(repo, archive, output, first_step, test_receipt): + import numpy as np + from contextlib import ExitStack + from unittest.mock import patch + start = time.monotonic() + hr = module('hi_prepared_reference',repo/'scripts/benchmarks/hysteresis_reference.py') + if any(os.environ.get(k) != '1' for k in hr.THREAD_KEYS): + raise ValueError('set all six thread controls to one before preparation') + saved = saved_bindings(repo,archive) + initial_sources = source_packet(repo) + receipt = read(test_receipt) + if receipt.get('success') is not True or receipt.get('integrator_step_attempts') != 0: + raise ValueError('a successful bounded nonintegrating test receipt is required') + for path, expected in receipt.get('sources', {}).items(): + if sha(path) != expected: + raise ValueError('focused test source no longer matches preparation') + output.mkdir(parents=True,exist_ok=False) + sys.path.insert(0,str(repo/'perovskite-sim')) + from backend.main import stack_from_dict + from perovskite_sim.experiments import jv_sweep as jv + from perovskite_sim.experiments.waveform_jv import uniform_absorber_generation + from perovskite_sim.solver import mol + contract = hr.checked_json(repo/hr.CONTRACT,hr.CONTRACT_SHA256) + predicate = contract['error_budget']['required_power_precondition'] + predicate_path = archive/predicate['executable_source']['path'] + if sha(predicate_path) != predicate['executable_source']['sha256']: + raise ValueError('frozen power predicate changed') + power = module('hi_frozen_power_precondition',predicate_path) + # Distinct settings: three spatial, two additional temporal and two additional + # joint solver-tolerance runs. Observation refinement adds no integration. + settings = [('space61',60,2,2),('space121',120,2,2),('space241',240,2,2), + ('time0',120,0,2),('time1',120,1,2),('solver0',120,2,0),('solver1',120,2,1)] + runs,meshes,eligibility = [],[],[] + guards = [] + with ExitStack() as stack: + for target in ('scipy.integrate.solve_ivp','scipy.integrate._ivp.base.OdeSolver.step'): + guards.append(stack.enter_context(patch(target,side_effect=AssertionError('time integration forbidden')))) + for owner,name in ((jv,'solve_equilibrium'),(jv,'run_transient'),(mol,'run_transient')): + guards.append(stack.enter_context(patch.object(owner,name,side_effect=AssertionError('initial state or time integration forbidden')))) + shared_source,shared_environment = None,None + for case,case_id in CASES.items(): + bundle = hr.load_inputs(repo,archive,case_id) + device = stack_from_dict(bundle['request']['device']) + for grid in (60,120,240): + x = jv.build_electrical_grid(device,grid) + jv.require_thick_layer_interface_resolution(x,device,N_grid=grid,allow_underresolved_grid=False) + material = jv.build_material_arrays(x,device) + material = replace(material,G_optical=uniform_absorber_generation(x,device,bundle['request']['params']['waveform']['uniform_generation_rate_m3_s'])) + if len(x) != grid+1: + raise ValueError('actual electrical mesh size differs from frozen ladder') + arrays = {'initial.x_m':x,'material.poisson_factor.C':material.poisson_factor.C, + 'material.poisson_factor.h_cell':material.poisson_factor.h_cell} + names = ('N_A','N_D','P_ion0','eps_r','D_n_face','D_p_face','D_ion_face','G_optical', + 'ni_sq','tau_n','tau_p','n1','p1','B_rad','C_n','C_p','dx_cell','chi','Eg','N_t_node') + arrays.update({'material.'+name:getattr(material,name) for name in names}) + if grid == 60: + with np.load(saved[case]['arrays']['path'],allow_pickle=False) as old: + if not all(np.array_equal(value,old[name]) for name,value in arrays.items()): + raise ValueError('source-built coarse mesh/material differs from saved input') + path = output/f'{case}Mesh{grid+1}.npz' + np.savez(path,**arrays) + series = 1/sum((1/Fraction.from_float(float(c)) for c in material.poisson_factor.C),Fraction(0)) + meshes.append({'case':case,'requested_N':grid,'actual_nodes':len(x),'path':str(path),'sha256':sha(path), + 'initial_state_constructed':False,'material_compiled':True, + 'C_series_exact_F_m2':str(series),'C_series_display_F_m2':float(series), + 'device_area_m2':None,'current_units':'A/m^2; no total-device area invented'}) + for name,grid,time_level,solver_level in settings: + plan = hr.build_plan(repo,archive,case_id,grid,time_level,solver_level,prebias_first_step_s=first_step) + if shared_source is None: + shared_source,shared_environment = plan['source'],plan['environment'] + if plan['source'] != shared_source or plan['environment'] != shared_environment: + raise ValueError('source/environment changed during ladder preparation') + path = output/f'{case}_{name}_RunPlan.json' + write(path,plan,compact=True) + admission_path = output/f'{case}_{name}_AdmissionRequest.json' + admission = {'schema':'solarlab.hysteresis_reference_admission.v1','execution_authorized':False, + 'identity_sha256':plan['identity_sha256'],'resources':plan['resources'],'root_authorization_message':None, + 'bound_analytic_test_receipt_sha256':sha(test_receipt),'purpose':'unqualified_reference_diagnostic', + 'state':'prepared; Root review and exact compute admission required'} + write(admission_path,admission) + destination = archive/'results/RefactorHysteresis'/case/f'DeviceQualificationAttempt01_{name}' + if destination.exists(): + raise ValueError('future output already exists; prepare a new named attempt') + argv = [sys.executable,'-B',str(repo/'scripts/benchmarks/hysteresis_reference.py'),'run', + '--repo',str(repo),'--archive',str(archive),'--case',case_id,'--grid',str(grid), + '--step-level',str(time_level),'--solver-level',str(solver_level),'--admission',str(admission_path),'--output',str(destination)] + if first_step is not None: + argv += ['--prebias-first-step-s',repr(first_step)] + runs.append({'case':case,'setting':name,'plan':{'path':str(path),'sha256':sha(path)}, + 'identity_sha256':plan['identity_sha256'],'admission_request':{'path':str(admission_path),'sha256':sha(admission_path)}, + 'command':argv,'shell_command':'env '+' '.join(k+'=1' for k in hr.THREAD_KEYS)+' '+shlex.join(argv), + 'execution_authorized':False}) + observations = read(archive/'results/RefactorHysteresis'/case/'HistoryDiagnosticAttempt01/Observations441.json') + old_power = next(m for m in observations['metrics'] if m['observable']=='instantaneous_ramp_side_v1')['sampled_Pmax_W_m2'] + unknown = power.qualify_reference_power(old_power['forward'],old_power['reverse'],None,None,**predicate['arguments']) + if unknown['eligible'] or unknown['status'] != 'unknown': + raise ValueError('missing independent uncertainty was promoted to eligibility') + eligibility.append({'case':case,'power_predicate_result':unknown,'independent_power_errors_W_m2':None}) + if any(g.call_count for g in guards) or initial_sources != source_packet(repo): + raise ValueError('preparation advanced/initialized or source drifted') + if len(runs) != 14 or len(meshes) != 6: + raise ValueError('incomplete D0/C0 preparation') + manifest = {'schema':'solarlab.hi-independent-refinement-preparation.v1','recorded_utc':datetime.now(timezone.utc).isoformat(), + 'scope':'D0/C0 only; remaining eleven frozen sentinels are not qualified by these two devices', + 'sources':initial_sources,'original_saved_bindings':saved,'runtime_environment':shared_environment,'source_tree':shared_source, + 'runs':runs,'meshes':meshes,'prebias_first_step_s':first_step, + 'axis_definitions':{'space':['space61','space121','space241'],'time':['time0','time1','space121'], + 'joint_solver_tolerance':['solver0','solver1','space121'], + 'observation_counts':[111,221,441],'observation_additional_runs':0,'ramp_control_intervals':440}, + 'eligibility':eligibility,'power_predicate':predicate, + 'first_next_command':runs[0]['shell_command'],'all_execution_authorizations_false':True, + 'no_admission_self_awarded':True,'new_equilibrium_or_time_calls':0,'guards_called':sum(g.call_count for g in guards), + 'remaining':'Independent Root review/admission; time/state/nonlinear/space and complete observable error qualification remain pending.', + 'wall_s':time.monotonic()-start,'peak_RSS_bytes':resource.getrusage(resource.RUSAGE_SELF).ru_maxrss} + write(output/'Manifest.json',manifest) + print(json.dumps({'runs':len(runs),'meshes':len(meshes),'wall_s':manifest['wall_s'],'native_or_initialization_calls':0})) + + +def main(argv=None): + parser=argparse.ArgumentParser(description=__doc__) + parser.add_argument('operation',choices=('bound-saved','prepare')) + parser.add_argument('--repo',type=Path,required=True) + parser.add_argument('--archive',type=Path,required=True) + parser.add_argument('--output',type=Path,required=True) + parser.add_argument('--prebias-first-step-s',type=float) + parser.add_argument('--test-receipt',type=Path) + args=parser.parse_args(argv) + if args.operation=='bound-saved': + if args.prebias_first_step_s is not None: + parser.error('saved-state bounds do not change numerical startup policy') + bound_saved(args.repo.resolve(),args.archive.resolve(),args.output.resolve()) + else: + if args.test_receipt is None: + parser.error('prepare needs a successful focused test receipt') + prepare(args.repo.resolve(),args.archive.resolve(),args.output.resolve(),args.prebias_first_step_s,args.test_receipt.resolve()) + + +if __name__=='__main__': + main() diff --git a/scripts/benchmarks/hysteresis_reference.py b/scripts/benchmarks/hysteresis_reference.py new file mode 100644 index 00000000..9620f39e --- /dev/null +++ b/scripts/benchmarks/hysteresis_reference.py @@ -0,0 +1,878 @@ +"""Isolated, unqualified reference driver for the frozen historical HI protocol. + +``plan`` reads the saved request and constructs controls without a device solve. +``run`` additionally requires a separately admitted, exactly bound run packet. +The public density engine supplies accepted knots (t_eval=None), not dense +output. All 111/221/441 observations are exact members of the fixed 440-interval +control grid. Other observations are deliberately unsupported. + +No production entrypoint is replaced. NC06/device derivative qualification, +continuum error bounds and reference acceptance are NOT provided by this file. +""" +from __future__ import annotations + +import argparse +import hashlib +import importlib.metadata +import json +import math +import os +import platform +import subprocess +import sys +import time +import traceback +from dataclasses import asdict, dataclass, is_dataclass +from fractions import Fraction +from pathlib import Path +from typing import Any + + +CONTRACT = "reproducibility/HysteresisReferenceContractV1.json" +CONTRACT_SHA256 = "bec9fff7f5194a81492b9697f354d460413293a84aa66667c97cf5371adf8d67" +ANALYTIC = "tests/numerical_contracts/AnalyticGatesV1.json" +ANALYTIC_SHA256 = "43c9ba4ab1b6a95b3e278efcd8eed9a67dc4d5e258295c8e6961c53f7ee57201" +PHASE_IDS = ("dark_seed", "dark_prebias", "forward_light_dwell", "forward_ramp", + "dark_turnaround", "reverse_light_dwell", "reverse_ramp") +OBSERVATION_COUNTS = (111, 221, 441) +THREAD_KEYS = ("OMP_NUM_THREADS", "OPENBLAS_NUM_THREADS", "MKL_NUM_THREADS", + "VECLIB_MAXIMUM_THREADS", "NUMEXPR_NUM_THREADS", "BLIS_NUM_THREADS") +EXACT_DENSE_FACTOR_POLICY = "exact_dense_two_entry_v1" + + +class ReferenceError(ValueError): + """An identity, protocol, capability or admission is absent/incompatible.""" + + +def digest(value: Any) -> str: + return hashlib.sha256(json.dumps(value, sort_keys=True, separators=(",", ":"), + ensure_ascii=True, allow_nan=False).encode()).hexdigest() + + +def file_digest(path: Path) -> str: + return hashlib.sha256(path.read_bytes()).hexdigest() + + +def checked_json(path: Path, expected: str) -> dict: + raw = path.read_bytes() + if hashlib.sha256(raw).hexdigest() != expected: + raise ReferenceError(f"source mismatch: {path}") + return json.loads(raw) + + +def rational(value: Any) -> Fraction: + if isinstance(value, bool) or not math.isfinite(float(value)): + raise ReferenceError("time/voltage must be a finite number, not boolean") + return Fraction(str(value)) + + +@dataclass(frozen=True) +class Control: + phase_id: str + index: int + start: Fraction + stop: Fraction + v_start: Fraction + v_stop: Fraction + illuminated: bool + max_step_s: float + max_rhs_calls: int + + @property + def duration(self) -> float: + return float(self.stop - self.start) + + def voltage(self, local_time: float) -> float: + if not math.isfinite(local_time) or not 0 <= local_time <= self.duration: + raise ReferenceError("local solver time outside fixed control interval") + if local_time == 0: + return float(self.v_start) + if local_time == self.duration: + return float(self.v_stop) + return float(self.v_start) + float(self.v_stop-self.v_start)*local_time/self.duration + + def binding(self) -> dict: + return {"phase": self.phase_id, "index": self.index, + "start_s": str(self.start), "stop_s": str(self.stop), + "start_voltage_V": str(self.v_start), "stop_voltage_V": str(self.v_stop), + "illuminated": self.illuminated, "max_step_s": self.max_step_s, + "max_rhs_evaluations": self.max_rhs_calls, "local_time_origin_s": 0} + + +@dataclass(frozen=True) +class Phase: + id: str + controls: tuple[Control, ...] + + @property + def start(self) -> Fraction: + return self.controls[0].start + + @property + def stop(self) -> Fraction: + return self.controls[-1].stop + + @property + def voltage_rate(self) -> float: + return float((self.controls[-1].v_stop-self.controls[0].v_start)/(self.stop-self.start)) + + def voltage(self, physical_time: Fraction) -> float: + if not self.start <= physical_time <= self.stop: + raise ReferenceError("physical time outside named phase") + fraction = (physical_time-self.start)/(self.stop-self.start) + return float(self.controls[0].v_start + fraction*(self.controls[-1].v_stop-self.controls[0].v_start)) + + +def make_timeline(contract: dict, request: dict, step_level: int) -> tuple[Phase, ...]: + """No observation argument exists at this integration boundary.""" + if type(step_level) is not int or step_level not in (0, 1, 2): + raise ReferenceError("step level must be 0, 1 or 2") + p = request["params"] + profiles = contract["refinement_plan"]["future_decoupled_reference_driver"]["phase_profiles"] + matches = [x for x in profiles if rational(x["rate_V_s"]) == rational(p["v_rate"])] + if len(matches) != 1: + raise ReferenceError("scan rate is not in the frozen phase profiles") + wf = p["waveform"] + expected = {"dark_seed_s": 120, "dark_prep_s": 30, "branch_dwell_s": .5, + "turnaround_s": 3, "start_voltage_V": -1, + "uniform_generation_rate_m3_s": 2.5e27, "schema_version": 1, + "turnaround_dark": True} + if wf != expected or p["V_max"] != 1.2 or p["illuminated"] is not True: + raise ReferenceError("physical waveform differs from the frozen saved request") + endpoints = ((0, 0), (-1, -1), (-1, -1), (-1, 1.2), + (1.2, 1.2), (1.2, 1.2), (1.2, -1)) + lights = (False, False, True, True, False, True, True) + phases = [] + if len(matches[0]["phases"]) != 7: + raise ReferenceError("exactly seven physical phases are required") + for index, row in enumerate(matches[0]["phases"]): + if row["id"] != PHASE_IDS[index]: + raise ReferenceError("physical phase order changed") + start, stop = rational(row["start_s"]), rational(row["end_s"]) + count = 440 if index in (3, 6) else 1 + if row["control_intervals"] != count or stop-start != rational(row["duration_s"]): + raise ReferenceError("fixed control grid/duration mismatch") + if phases and start != phases[-1].stop: + raise ReferenceError("physical timeline has a gap or overlap") + v0, v1 = map(rational, endpoints[index]) + controls = tuple(Control(row["id"], j, start+(stop-start)*j/count, + start+(stop-start)*(j+1)/count, + v0+(v1-v0)*j/count, v0+(v1-v0)*(j+1)/count, + lights[index], row["max_step_s_levels"][step_level], + row["max_rhs_evaluations_per_control_interval"]) + for j in range(count)) + phases.append(Phase(row["id"], controls)) + if len(phases) != 7: + raise ReferenceError("exactly seven physical phases are required") + return tuple(phases) + + +def observation_indices(count: int) -> tuple[int, ...]: + if type(count) is not int or count not in OBSERVATION_COUNTS: + raise ReferenceError("only exact 111/221/441 endpoint observations are supported; no dense output") + return tuple(range(0, 441, 440//(count-1))) + + +def load_inputs(repo: Path, archive: Path, case_id: str) -> dict: + contract = checked_json(repo/CONTRACT, CONTRACT_SHA256) + checked_json(repo/ANALYTIC, ANALYTIC_SHA256) + manifest = json.loads((repo/contract["reference_set"]["manifest_path"]).read_text()) + cases = manifest["hi"]["cases"] + if digest(cases) != contract["reference_set"]["cases_payload_sha256"]: + raise ReferenceError("historical case ledger identity changed") + if [x["id"] for x in cases] != contract["reference_set"]["required_case_ids"]: + raise ReferenceError("45-record coverage/ordering changed") + selected = [x for x in cases if x["id"] == case_id] + if len(selected) != 1: + raise ReferenceError("case must identify one of the 45 original records") + case = selected[0] + source = next(x for x in manifest["sources"] if x["id"] == case["source_id"]) + if source["root"] != "archive": + raise ReferenceError("saved request must come from its bound archive artifact") + raw_path = archive/source["path"] + raw = checked_json(raw_path, source["sha256"]) + request = raw["request"] + if digest(request) != case["request_sha256"] or digest(request["device"]) != case["device_input_sha256"]: + raise ReferenceError("saved request/device identity mismatch") + nominal = manifest["hi"]["nominal_request"] + if digest(nominal) != contract["identity"]["nominal_request_sha256"]: + raise ReferenceError("nominal request identity mismatch") + # Compare complete captured dictionaries; never fill absent fields from today's defaults. + expected = json.loads(json.dumps(nominal)) + absorber = next(layer for layer in expected["device"]["layers"] if layer["role"] == "absorber") + absorber["D_ion"], absorber["P0"] = case["D_ion_m2_s"], case["c0_m3"] + expected["params"]["v_rate"] = case["scan_rate_V_s"] + if request != expected: + raise ReferenceError("record changes inputs outside its registered D/c0/rate coordinate") + if request["params"]["N_grid"] != 60 or request["params"]["n_points"] != 111: + raise ReferenceError("historical configured grid/sampling identity changed") + return {"contract": contract, "case": case, "request": request, + "raw_input": {"path": str(raw_path), "sha256": source["sha256"]}, + "coverage": {"records": len(cases), "request_identities": len({x["request_sha256"] for x in cases}), + "all_case_ids": [x["id"] for x in cases], + "execution_reuse": "none;43 equal requests are only potential full-identity reuse, not45-to43 certification"}} + + +def environment_binding() -> dict: + distributions = {} + for name in ("numpy", "scipy", "PyYAML", "fastapi", "pydantic", "threadpoolctl"): + try: + dist = importlib.metadata.distribution(name) + distributions[name] = {"version": dist.version, + "record_sha256": hashlib.sha256((dist.read_text("RECORD") or "").encode()).hexdigest()} + except importlib.metadata.PackageNotFoundError: + distributions[name] = None + return {"executable": sys.executable, "executable_sha256": file_digest(Path(sys.executable)), + "prefix": sys.prefix, "python": sys.version, "machine": platform.machine(), + "platform": platform.platform(), "dependencies": distributions, + "model_environment": {k: v for k, v in sorted(os.environ.items()) + if k in THREAD_KEYS or k.startswith(("SOLARLAB_", "PEROVSKITE_"))}, + "qualification": "identity capture only;actual loaded library/thread and dependency bytes need separate qualification"} + + +def source_binding(repo: Path) -> dict: + def git(*args): + return subprocess.check_output(["git", "-C", str(repo), *args], text=True).strip() + if git("branch", "--show-current") != "devel": + raise ReferenceError("reference source must be on devel") + paths = git("ls-files", "perovskite-sim/perovskite_sim", "perovskite-sim/backend").splitlines() + pins = {p: file_digest(repo/p) for p in paths if p.endswith(".py")} + pins["scripts/benchmarks/hysteresis_reference.py"] = file_digest(Path(__file__)) + return {"head": git("rev-parse", "HEAD"), "branch": "devel", "files": pins, + "files_sha256": digest(pins), "scope": "actual tracked Python production/backend tree plus this isolated harness;no Git mutation"} + + +def prebias_first_step(value, control: Control) -> float | None: + """Validate the optional startup step without changing any physical control.""" + if value is None: + return None + if (type(value) not in (int, float) or not math.isfinite(value) + or not 0 < value <= min(control.duration, control.max_step_s)): + raise ReferenceError("prebias first_step must be finite, positive and within the control cap") + return float(value) + + +def checked_factor_cache_policy(value): + if value is not None and (type(value) is not str or value != EXACT_DENSE_FACTOR_POLICY): + raise ReferenceError("unsupported factor cache policy") + return value + + +def build_plan(repo: Path, archive: Path, case_id: str, grid: int, step_level: int, + solver_level: int, *, prebias_first_step_s=None, factor_cache_policy=None) -> dict: + policy = checked_factor_cache_policy(factor_cache_policy) + bundle = load_inputs(repo, archive, case_id) + c = bundle["contract"] + if type(grid) is not int or grid not in c["refinement_plan"]["phase1_spatial"]["requested_N"]: + raise ReferenceError("grid request is outside the frozen ladder") + if type(solver_level) is not int or solver_level not in (0, 1, 2): + raise ReferenceError("solver level must be0,1,2") + phases = make_timeline(c, bundle["request"], step_level) + controls = [x.binding() for p in phases for x in p.controls] + solver = c["refinement_plan"]["phase1_solver"] + plan = {"schema": "solarlab.hysteresis_reference_run_plan.v1", + "case_id": case_id, "request": bundle["request"], "raw_input": bundle["raw_input"], + "coverage": bundle["coverage"], "contract_sha256": CONTRACT_SHA256, + "analytic_gates_sha256": ANALYTIC_SHA256, "controls": controls, + "control_sha256": digest(controls), "source": source_binding(repo), + "environment": environment_binding(), + "numerics": {"requested_N_grid": grid, "expected_actual_nodes": grid+1, + "max_step_level": step_level, "solver_level": solver_level, + "rtol": solver["rtol_values"][solver_level], + "atol_m3": solver["density_atol_m3_values"][solver_level], + "method": "Radau", "jacobian": "analytic_single_ion_density;no silent fallback", + "initial_state": "current-source solve_equilibrium quasi-neutral seed, once before120s dark phase", + "state_coordinates": "density", "hold_fallbacks": "none;failure does not change frozen control grid"}, + "resources": {"wall_s": 600, "RSS_bytes": 8*1024**3, "artifact_bytes": 4*1024**3, + "scientific_processes": 1, "BLAS_threads": 1}, + "source_channel": "current_source_reference_rebaseline_unqualified;not an exact historical binary replay", + "accepted_history": "public Radau.step observer;initial input plus accepted states;streamed native prefixes", + "accepted_stream_encoding": "concatenated NumPy arrays [local_time_s, full_packed_density_state];control index selects frozen RunPlan controls", + "observation_capability": "exact control endpoints only;no dense output", + "current_qualification": "pending_NC06_and_independent_device_derivative_and_refinement_errors", + "execution_authorized": False} + first_step = prebias_first_step(prebias_first_step_s, phases[1].controls[0]) + if first_step is not None: + plan["numerics"]["prebias_first_step_s"] = first_step + if policy is not None: + plan["numerics"]["factor_cache_policy"] = policy + plan["identity_sha256"] = digest(plan) + return plan + + +@dataclass(frozen=True) +class Segment: + local_times: tuple[float, ...] + states: tuple[tuple[float, ...], ...] + success: bool + diagnostics: dict + + +def collect_history(adapter, phases: tuple[Phase, ...], save_segment, save_event) -> dict: + """Carry the complete state. Output observations cannot influence this loop.""" + state = tuple(adapter.initial_state()) + history = {"phases": {}, "events": [], "initial_state": state} + previous_point = None + for phase in phases: + start_point = adapter.observe(state, phase, phase.start, "right") + if previous_point is not None: + event = event_record(previous_point, start_point) + history["events"].append(event) + save_event(event) + else: + save_event({"kind": "initial_state", "point": start_point}) + knots = [state] + for control in phase.controls: + segment = adapter.advance(state, control) + save_segment(control, segment) + if not segment.success: + raise ReferenceError(f"integration failed at{phase.id}[{control.index}]:{segment.diagnostics}") + if (len(segment.local_times) < 2 or len(segment.states) != len(segment.local_times) + or segment.local_times[0] != 0 or segment.local_times[-1] != control.duration + or any(b <= a for a, b in zip(segment.local_times, segment.local_times[1:]))): + raise ReferenceError("accepted raw trajectory does not span the exact control interval") + if segment.states[0] != state: + raise ReferenceError("adapter reset/lost state at a control restart") + if any(len(row) != len(state) or not all(map(math.isfinite, row)) for row in segment.states): + raise ReferenceError("raw trajectory changed state layout or contains nonfinite values") + state = segment.states[-1] + knots.append(state) + end_point = adapter.observe(state, phase, phase.stop, "left") + save_event({"kind": "phase_end", "point": end_point}) + history["phases"][phase.id] = {"phase": phase, "states": tuple(knots), + "start": start_point, "end": end_point} + previous_point = end_point + return history + + +def event_record(before: dict, after: dict) -> dict: + if before["time_s"] != after["time_s"] or before["state"] != after["state"]: + raise ReferenceError("event must carry the same full state at the same physical time") + delta = [b-a for a, b in zip(before["D_C_m2"], after["D_C_m2"], strict=True)] + return {"time_s": after["time_s"], "before": before, "after": after, + "delta_D_C_m2": delta, + "electrode_impulse_charge_C_m2": {"left": delta[0], "right": -delta[-1]}, + "impulse_current_A_m2": None, + "rule": "event charge is retained;no finite current replaces a voltage impulse"} + + +def current_value(point: dict, *, previous: dict | None = None) -> dict: + polarity = point["junction_polarity"] + if polarity not in (-1, 1): + raise ReferenceError("explicit junction orientation is required") + if previous is None: + displacement = [-polarity*x for x in point["Ddot_A_m2"]] + name = "instantaneous_ramp_side_v1" + else: + dt = point["time_s"]-previous["time_s"] + if dt <= 0 or previous["phase_id"] != point["phase_id"]: + raise ReferenceError("interval current needs positive time within one physical phase") + displacement = [-polarity*(b-a)/dt for a, b in zip(previous["D_C_m2"], point["D_C_m2"], strict=True)] + name = "legacy_interval_endpoint" + total = [a+b for a, b in zip(point["J_cond_A_m2"], displacement, strict=True)] + return {"observable": name, "phase_id": point["phase_id"], "time_s": point["time_s"], + "voltage_V": point["voltage_V"], "event_side": point["event_side"], + "J_n_A_m2": point["J_n_A_m2"], "J_p_A_m2": point["J_p_A_m2"], + "J_ion_A_m2": point["J_ion_A_m2"], "J_disp_A_m2": displacement, + "J_total_A_m2": total, "left_solar_current_A_m2": total[0], + "uncertainty_A_m2": None, "qualification": "unqualified;NC06/device/error bounds pending"} + + +def observe_branches(adapter, history: dict, count: int) -> dict: + indices = observation_indices(count) + result = {"samples_per_branch": count, "instantaneous_ramp_side_v1": {}, + "legacy_interval_endpoint": {}, "legacy_samples_per_branch": 111, + "historical_first_point_omissions": 2, "new_first_points_retained": True} + for direction in ("forward", "reverse"): + saved = history["phases"][direction+"_ramp"] + phase = saved["phase"] + def point(index): + t = phase.start + (phase.stop-phase.start)*index/440 + return adapter.observe(saved["states"][index], phase, t, "left" if index == 440 else "right") + result["instantaneous_ramp_side_v1"][direction] = [current_value(point(i)) for i in indices] + # Historical first sample is a within-light-dwell interval, NOT a ramp derivative. + dwell = history["phases"][direction+"_light_dwell"] + first = current_value(dwell["end"], previous=dwell["start"]) + first["historical_reference"] = "missing;original stored-current reconstruction omitted this point" + first["first_point_role"] = "dwell_interval_endpoint;not ramp-start instantaneous current" + legacy = [first] + for index in range(4, 441, 4): + legacy.append(current_value(point(index), previous=point(index-4))) + result["legacy_interval_endpoint"][direction] = legacy + return result + + +def power_summary(branches: dict, observable: str) -> dict: + powers = {} + for name in ("forward", "reverse"): + rows = branches[observable][name] + powers[name] = max(r["voltage_V"]*r["left_solar_current_A_m2"] for r in rows if r["voltage_V"] >= 0) + f, r = powers["forward"], powers["reverse"] + return {"observable": observable, "sampled_Pmax_W_m2": powers, + "HI_P": None if f == 0 else r/f-1, + "HI_normalized": None if r == 0 else (r-f)/r, + "power_uncertainty_W_m2": None, "reference_power_precondition": "unknown", + "scope": "sample maxima only;no PCHIP, continuum optimum, Voc/FF/PCE or error certification"} + + +def differentiated_poisson(factor, rho_dot, right_voltage_rate: float): + """Reuse the fixed production Poisson operator; return physical Ddot/residual. + + This is a derivative calculation, not its independent error certificate. + No variable-permittivity, moving-grid or extra trap charge term is assumed. + """ + import numpy as np + from perovskite_sim.physics.poisson import solve_poisson_prefactored + phi_dot = solve_poisson_prefactored(factor, rho_dot, 0., right_voltage_rate) + Ddot = -factor.C*np.diff(phi_dot) + residual = np.diff(Ddot)-rho_dot[1:-1]*factor.h_cell + return phi_dot, Ddot, residual + + +class ExactDenseLUCache: + """Two owned factors for one Radau instance's unchanged dense ``lu``. + + Keys are complete dtype/shape/C-order byte strings, captured before the + backend may overwrite its argument. One real and one complex entry are + retained; no digest or approximate comparison decides a hit. Only ordinary + writable, contiguous float64/complex128 square finite arrays are eligible. + Everything else reaches the original callable, with its original errors. + + The inspected SciPy dense backend warns on a zero U diagonal. Such results, + and nonfinite factors, are never retained. No warning filter/handler is + changed. Owned read-only copies also isolate factors from caller aliases; + the consumer is the unchanged, separately verified Radau ``solve_lu``. + """ + + def __init__(self, original_lu): + import numpy as np + self._np = np + self._original_lu = original_lu + self._entries = {} + self.statistics = {"policy": EXACT_DENSE_FACTOR_POLICY, + "requests": 0, "hits": 0, "misses": 0, "bypasses": 0, + "uncacheable_results": 0, "retained_entries": 0, + "retained_bytes": 0, "peak_retained_bytes": 0} + + def __call__(self, matrix): + np, stats = self._np, self.statistics + stats["requests"] += 1 + eligible = (type(matrix) is np.ndarray and matrix.ndim == 2 + and matrix.shape[0] == matrix.shape[1] and matrix.size > 0 + and matrix.dtype in (np.dtype("float64"), np.dtype("complex128")) + and matrix.dtype.metadata is None and matrix.flags.writeable + and (matrix.flags.c_contiguous or matrix.flags.f_contiguous) + and np.isfinite(matrix).all()) + if not eligible: + stats["misses"] += 1 + stats["bypasses"] += 1 + return self._original_lu(matrix) + key = (matrix.dtype.str, matrix.shape, matrix.tobytes(order="C")) + slot = matrix.dtype.kind + entry = self._entries.get(slot) + if entry is not None and entry[0] == key: + stats["hits"] += 1 + return entry[1] + stats["misses"] += 1 # Only the unchanged callable increments Radau.nlu. + factors = self._original_lu(matrix) + lu, piv = factors + if (lu.dtype != matrix.dtype or lu.shape != key[1] + or piv.shape != (key[1][0],) or piv.dtype.kind not in "iu" + or not np.isfinite(lu).all() or np.any(lu.diagonal() == 0)): + stats["uncacheable_results"] += 1 + return factors + # A Fortran-contiguous caller array can alias the returned LU. Neither + # it nor the returned miss factor may alias the retained entry. + owned = (lu.copy(order="K"), piv.copy()) + for array in owned: + array.flags.writeable = False + self._entries[slot] = (key, owned) + stats["retained_entries"] = len(self._entries) + stats["retained_bytes"] = sum(len(k[2])+f[0].nbytes+f[1].nbytes + for k, f in self._entries.values()) + stats["peak_retained_bytes"] = max(stats["peak_retained_bytes"], stats["retained_bytes"]) + return factors + + +def radau_history(initial_state, observer=None, *, first_step=None, factor_cache_policy=None): + """Observe public successful steps without changing the Radau algorithm. + + The first record is the input initial state. Later records come only from + successful ``Radau.step`` calls; failed trials are never called accepted. + The independent recorder survives the legacy wrapper's empty failure result. + """ + from scipy.integrate import Radau + + policy = checked_factor_cache_policy(factor_cache_policy) + times = [0.] + states = [tuple(map(float, initial_state))] + cache_reports = [] # Counter dictionaries only; never retain solver/factor objects here. + + class ObservedRadau(Radau): + factor_cache_reports = cache_reports + + def __init__(self, *args, **kwargs): + if first_step is not None: + if kwargs.get("first_step") not in (None, first_step): + raise ReferenceError("conflicting requested Radau first_step") + kwargs["first_step"] = first_step + super().__init__(*args, **kwargs) + if policy is not None: + self.lu = ExactDenseLUCache(self.lu) + cache_reports.append(self.lu.statistics) + + def step(self): + previous = self.t + message = super().step() + if self.status != "failed" and self.t > previous: + time_value = float(self.t) + state = tuple(map(float, self.y)) + if time_value <= times[-1]: + raise ReferenceError("accepted Radau time did not advance") + times.append(time_value) + states.append(state) + if observer is not None: + observer(time_value, state) + return message + + return ObservedRadau, times, states + + +class ProductionBridge: + """Thin public-engine bridge, restricted to the exact original simple HI deck.""" + + def __init__(self, request: dict, numerics: dict): + import numpy as np + from backend.main import stack_from_dict + from perovskite_sim.experiments import jv_sweep as jv + from perovskite_sim.experiments.waveform_jv import uniform_absorber_generation + from perovskite_sim.experiments.waveform_jacobian import build_waveform_density_jacobian + from dataclasses import replace + self.np, self.jv, self.numerics = np, jv, numerics + self.stack = stack_from_dict(request["device"]) + jv.require_jv_driver_capability(self.stack, requested_driver="transient") + self.x = jv.build_electrical_grid(self.stack, numerics["requested_N_grid"]) + jv.require_thick_layer_interface_resolution(self.x, self.stack, + N_grid=numerics["requested_N_grid"], allow_underresolved_grid=False) + self.mat = jv.build_material_arrays(self.x, self.stack) + self.mat = replace(self.mat, G_optical=uniform_absorber_generation( + self.x, self.stack, request["params"]["waveform"]["uniform_generation_rate_m3_s"])) + if (len(self.x) != numerics["expected_actual_nodes"] or self.mat.has_dual_ions + or self.mat.N_iface_state or self.stack.interface_charge_closure != "off" + or self.mat.bulk_trap_charge_closure != "off"): + raise ReferenceError("original HI state layout/charge model unsupported;no blocks may be dropped") + self.active_control = None + self.jacobian = build_waveform_density_jacobian( + self.x, self.stack, self.mat, lambda t: self.active_control.voltage(t)) + self.initial_inventory = None + self.accepted_observer = None + + def initial_state(self): + from perovskite_sim.physics.generation import dual_cell_widths + state = self.jv.solve_equilibrium(self.x, self.stack) + sv = self.jv.StateVec.unpack(state, len(self.x), self.mat.N_iface_state) + if not self.np.array_equal(sv.P, self.mat.P_ion0): + raise ReferenceError("initial mobile population/background coupling changed") + self.widths = dual_cell_widths(self.x) + self.initial_inventory = float(sv.P @ self.widths) + return tuple(map(float, state)) + + def advance(self, state, control: Control) -> Segment: + self.active_control = control + sink = getattr(self, "accepted_observer", None) + observer = None if sink is None else lambda time_value, values: sink(control, time_value, values) + requested_first_step = (prebias_first_step(self.numerics.get("prebias_first_step_s"), control) + if control.phase_id == "dark_prebias" else None) + startup = {} if requested_first_step is None else {"first_step": requested_first_step} + policy = checked_factor_cache_policy(self.numerics.get("factor_cache_policy")) + if policy is not None: + startup["factor_cache_policy"] = policy + method, accepted_times, accepted_states = radau_history(state, observer, **startup) + def cache_diagnostics(): + return {} if policy is None else {"factor_cache": { + "policy": policy, "solvers": [dict(row) for row in method.factor_cache_reports]}} + try: + result = self.jv.run_transient( + x=self.x, y0=self.np.asarray(state, dtype=float), stack=self.stack, + t_span=(0., control.duration), t_eval=None, V_app=control.voltage, + illuminated=control.illuminated, mat=self.mat, method=method, + max_step=control.max_step_s, max_nfev=control.max_rhs_calls, + rtol=self.numerics["rtol"], atol=self.numerics["atol_m3"], + jacobian=self.jacobian, state_coordinates="density") + report = getattr(result, "numerical_diagnostics", None) + diag = {"message": str(result.message), "nfev": getattr(result, "nfev", None), + "njev": getattr(result, "njev", None), "nlu": getattr(result, "nlu", None), + "numerical_diagnostics": asdict(report) if is_dataclass(report) else None, + "dense_output": False, "accepted_mesh": "solve_ivp t_eval=None", + "accepted_history_source": "public Radau.step;initial input separately retained", + "accepted_steps": len(accepted_times)-1, + "last_accepted_local_time_s": accepted_times[-1] if len(accepted_times) > 1 else None, + "solver_method": "Radau with observational step subclass"} + diag.update(cache_diagnostics()) + if requested_first_step is not None: + diag["requested_first_step_s"] = requested_first_step + values = self.np.asarray(result.y) + success = bool(result.success) + returned_times = self.np.asarray(result.t) + if returned_times.size: + if (not self.np.array_equal(returned_times, accepted_times) + or not self.np.array_equal(values.T, accepted_states)): + raise ReferenceError("solver output differs from the recorded accepted mesh") + elif success: + raise ReferenceError("successful solve returned no accepted trajectory") + # On budget/nonfinite failure the legacy wrapper returns empty t/y. + # Retain the observed prefix, including its explicitly named seed. + values = self.np.asarray(accepted_states).T + if values.ndim == 2 and values.shape[1]: + n = len(self.x) + population = values[2*n:3*n] + inventories = self.widths @ population + if self.initial_inventory == 0: + drift = 0. if not self.np.any(population != 0) else None + inventory_valid = drift == 0. and not self.np.any(self.mat.P_ion0 != 0) + else: + drift = float(self.np.max(self.np.abs(inventories-self.initial_inventory))/abs(self.initial_inventory)) + inventory_valid = math.isfinite(drift) and drift <= 1e-6 + diag["max_inventory_relative_drift_over_accepted_knots"] = drift + diag["inventory_valid_at_all_accepted_knots"] = bool(inventory_valid) + if not inventory_valid: + success = False + diag["reference_failure"] = "original ion-inventory guard failed within this raw trajectory" + rows = tuple(tuple(map(float, row)) for row in values.T) if values.ndim == 2 else () + return Segment(tuple(accepted_times), rows, success, diag) + except Exception as error: + return Segment(tuple(accepted_times), tuple(accepted_states), False, + {"exception": repr(error), "traceback": traceback.format_exc(), + "accepted_steps": len(accepted_times)-1, + "last_accepted_local_time_s": accepted_times[-1] if len(accepted_times) > 1 else None, + "within_interval_raw_history": "public Radau.step prefix;first record is input seed", + **cache_diagnostics()}) + + def observe(self, state, phase: Phase, physical_time: Fraction, side: str) -> dict: + from perovskite_sim.constants import Q + from perovskite_sim.solver.mol import assemble_rhs + np = self.np + y = np.asarray(state, dtype=float) + voltage = phase.voltage(physical_time) + snapshot = self.jv.extract_spatial_snapshot(self.x, y, self.stack, voltage, mat=self.mat) + cond = self.jv.compute_current_components(self.x, y, self.stack, voltage, mat=self.mat) + # This stateless original RHS has no explicit aging/time dependence. + ydot = assemble_rhs(float(physical_time), y, self.x, self.stack, self.mat, + phase.controls[0].illuminated, voltage) + rates = self.jv.StateVec.unpack(ydot, len(self.x), self.mat.N_iface_state) + rho_dot = Q*(rates.p-rates.n+rates.P) + polarity = int(self.mat.junction_polarity) + phi_dot, Ddot, residual = differentiated_poisson( + self.mat.poisson_factor, rho_dot, -polarity*phase.voltage_rate) + D = -self.mat.poisson_factor.C*np.diff(snapshot.phi) + inventory = float(snapshot.P @ self.widths) + initial = self.initial_inventory + if initial == 0: + if np.any(snapshot.P != 0) or np.any(self.mat.P_ion0 != 0): + raise ReferenceError("c0=0 developed mobile inventory or background") + drift = 0. + else: + drift = abs(inventory-initial)/abs(initial) + if drift > 1e-6: + raise ReferenceError("ion inventory exceeded original1e-6 diagnostic bound") + if not all(np.all(np.isfinite(a)) for a in (y, ydot, snapshot.phi, D, Ddot, cond.J_total)): + raise ReferenceError("nonfinite raw state/derivative/current") + return {"phase_id": phase.id, "time_s": float(physical_time), "event_side": side, + "voltage_V": voltage, "voltage_rate_V_s": phase.voltage_rate, + "illuminated": phase.controls[0].illuminated, "junction_polarity": polarity, + "state": list(state), "n_m3": snapshot.n.tolist(), "p_m3": snapshot.p.tolist(), + "positive_ions_m3": snapshot.P.tolist(), "negative_ions_m3": None, + "trap_occupancy": None, "trap_model": "captured static SRH lifetimes;no dynamic trap state", + "phi_V": snapshot.phi.tolist(), "rho_C_m3": snapshot.rho.tolist(), + "D_C_m2": D.tolist(), "ydot_m3_s": ydot.tolist(), + "rho_dot_C_m3_s": rho_dot.tolist(), "phi_dot_V_s": phi_dot.tolist(), + "Ddot_A_m2": Ddot.tolist(), "differentiated_Poisson_residual_A_m2": residual.tolist(), + "J_n_A_m2": cond.J_n.tolist(), "J_p_A_m2": cond.J_p.tolist(), + "J_ion_A_m2": cond.J_ion.tolist(), "J_cond_A_m2": cond.J_total.tolist(), + "ion_inventory_m2": inventory, "ion_inventory_relative_drift": drift, + "derivative_error_bound": None, "NC06_device_derivative_qualification": "pending"} + + +def verify_admission(plan: dict, admission: dict) -> None: + if (admission.get("schema") != "solarlab.hysteresis_reference_admission.v1" + or admission.get("execution_authorized") is not True + or admission.get("identity_sha256") != plan["identity_sha256"] + or admission.get("resources") != plan["resources"] + or not admission.get("root_authorization_message") + or not admission.get("bound_analytic_test_receipt_sha256") + or admission.get("purpose") != "unqualified_reference_diagnostic"): + raise ReferenceError("separate exact source/input/environment/protocol/resource admission is required") + if any(plan["environment"]["model_environment"].get(k) != "1" for k in THREAD_KEYS): + raise ReferenceError("all six thread environment values must be1 before imports") + + +def json_write(path: Path, value: Any) -> None: + path.write_text(json.dumps(value, indent=2, allow_nan=False)+"\n") + + +def execute(plan: dict, bundle: dict, output: Path) -> None: + """Called only inside the bounded, separately admitted child process.""" + import pickle + import numpy as np + phases = make_timeline(bundle["contract"], bundle["request"], plan["numerics"]["max_step_level"]) + bridge = ProductionBridge(bundle["request"], plan["numerics"]) + (output/"Materials.pkl").write_bytes(pickle.dumps({"stack": bridge.stack, "material": bridge.mat, + "x_m": bridge.x}, protocol=5)) + raw_dir = output/"Raw" + raw_dir.mkdir() + journal = (output/"ControlHistory.jsonl").open("x") + events = (output/"PhysicalEvents.jsonl").open("x") + counter = 0 + active_stream = None + active_stream_path = None + accepted_count = 0 + def save_accepted(control, local_time, state): + nonlocal active_stream, active_stream_path, accepted_count + if active_stream is None: + active_stream_path = raw_dir/f"Interval{counter:04d}Accepted.npy" + active_stream = active_stream_path.open("xb") + np.save(active_stream, np.asarray((local_time, *state), dtype=float), allow_pickle=False) + active_stream.flush() + accepted_count += 1 + bridge.accepted_observer = save_accepted + def save_segment(control, segment): + nonlocal counter, active_stream, active_stream_path, accepted_count + if active_stream is not None: + active_stream.close() + active_stream = None + accepted_stream = None if active_stream_path is None else { + "path": str(active_stream_path.relative_to(output)), + "sha256": file_digest(active_stream_path), "accepted_steps": accepted_count, + "encoding": "concatenated npy records:local_time_s then full packed state;input seed in interval NPZ", + } + path = raw_dir/f"Interval{counter:04d}.npz" + np.savez(path, local_time_s=np.asarray(segment.local_times), + physical_time_s=np.asarray(segment.local_times)+float(control.start), + state=np.asarray(segment.states, dtype=float).T) + journal.write(json.dumps({"control": control.binding(), "success": segment.success, + "raw_path": str(path.relative_to(output)), "raw_sha256": file_digest(path), + "accepted_stream": accepted_stream, + "diagnostics": segment.diagnostics}, allow_nan=False)+"\n") + journal.flush() + counter += 1 + active_stream_path, accepted_count = None, 0 + def save_event(event): + events.write(json.dumps(event, allow_nan=False)+"\n") + events.flush() + try: + history = collect_history(bridge, phases, save_segment, save_event) + json_write(output/"PhysicalStates.json", {"initial_state": history["initial_state"], + "phase_limits": {k: {"start": v["start"], "end": v["end"]} for k, v in history["phases"].items()}}) + for count in OBSERVATION_COUNTS: + branches = observe_branches(bridge, history, count) + branches["metrics"] = [power_summary(branches, name) for name in + ("legacy_interval_endpoint", "instantaneous_ramp_side_v1")] + json_write(output/f"Observations{count}.json", branches) + json_write(output/"Result.json", {"status": "complete_unqualified", "controls_completed": counter, + "identity_sha256": plan["identity_sha256"], "current_qualification": "pending", + "full_state_layout": "n,p,positive ions;potential algebraic;no dynamic trap/negative-ion block in exact captured deck", + "raw_initial_population_equals_background": True, + "reference_power_eligibility": "unknown_no_independent_uncertainties", + "dense_output": False, "candidate_or_reference_acceptance": False}) + finally: + if active_stream is not None: + active_stream.close() + journal.close() + events.close() + + +def supervise(args, plan: dict) -> int: + """One scientific child; watchdog retains partial files and bounded failures.""" + output = args.output.resolve() + output.mkdir(parents=True, exist_ok=False) + json_write(output/"RunPlan.json", plan) + argv = [sys.executable, "-B", str(Path(__file__).resolve()), "_execute", + "--repo", str(args.repo.resolve()), "--archive", str(args.archive.resolve()), + "--case", args.case, "--grid", str(args.grid), "--step-level", str(args.step_level), + "--solver-level", str(args.solver_level), "--admission", str(args.admission.resolve()), + "--output", str(output)] + if args.prebias_first_step_s is not None: + argv.extend(("--prebias-first-step-s", repr(args.prebias_first_step_s))) + if getattr(args, "factor_cache_policy", None) is not None: + argv.extend(("--factor-cache-policy", args.factor_cache_policy)) + started = time.monotonic() + stop_reason = None + with (output/"Stdout.txt").open("x") as stdout, (output/"Stderr.txt").open("x") as stderr: + process = subprocess.Popen(argv, stdout=stdout, stderr=stderr) + while process.poll() is None: + elapsed = time.monotonic()-started + measured = subprocess.run(["ps", "-o", "rss=", "-p", str(process.pid)], + text=True, capture_output=True, check=False) + if measured.returncode and process.poll() is not None: + break # Normal exit between poll and ps, not a fabricated RSS reading. + rss_text = measured.stdout.strip() + if measured.returncode or not rss_text: + stop_reason = "RSS_measurement_unavailable" + rss = int(rss_text)*1024 if rss_text else None + size = sum(p.stat().st_size for p in output.rglob("*") if p.is_file()) + if elapsed > plan["resources"]["wall_s"]: + stop_reason = "wall_limit" + elif rss is not None and rss > plan["resources"]["RSS_bytes"]: + stop_reason = "RSS_limit" + elif size > plan["resources"]["artifact_bytes"]: + stop_reason = "artifact_limit" + if stop_reason: + process.terminate() + try: + process.wait(timeout=5) + except subprocess.TimeoutExpired: + process.kill() + process.wait() + break + time.sleep(.25) + json_write(output/"Supervisor.json", {"returncode": process.returncode, "stop_reason": stop_reason, + "elapsed_wall_s": time.monotonic()-started, "poll_interval_s": .25, "termination_grace_s": 5, + "resource_enforcement": "wall/RSS/artifact watchdog;bounded polling/grace overshoot retained", + "qualification": "none"}) + return process.returncode or (1 if stop_reason else 0) + + +def main(argv=None) -> int: + parser = argparse.ArgumentParser(description=__doc__) + parser.add_argument("operation", choices=("plan", "run", "_execute")) + parser.add_argument("--repo", type=Path, required=True) + parser.add_argument("--archive", type=Path, required=True) + parser.add_argument("--case", required=True) + parser.add_argument("--grid", type=int, default=60) + parser.add_argument("--step-level", type=int, default=0) + parser.add_argument("--solver-level", type=int, default=0) + parser.add_argument("--prebias-first-step-s", type=float, + help="optional first Radau step for dark_prebias only; original default unchanged") + parser.add_argument("--factor-cache-policy", choices=(EXACT_DENSE_FACTOR_POLICY,), + help="opt-in exact dense factor reuse; absent retains original Radau factor calls") + parser.add_argument("--admission", type=Path) + parser.add_argument("--output", type=Path, required=True) + args = parser.parse_args(argv) + plan = build_plan(args.repo, args.archive, args.case, args.grid, args.step_level, args.solver_level, + prebias_first_step_s=args.prebias_first_step_s, + factor_cache_policy=args.factor_cache_policy) + if args.operation == "plan": + if args.output.exists(): + raise ReferenceError("preserve existing plan;choose a new evidence attempt path") + json_write(args.output, plan) + return 0 + if args.admission is None: + raise ReferenceError("run needs a separately issued admission file") + verify_admission(plan, json.loads(args.admission.read_text())) + if args.operation == "run": + return supervise(args, plan) + saved = json.loads((args.output/"RunPlan.json").read_text()) + if saved != plan: + raise ReferenceError("source/input/environment changed between parent admission and child") + sys.path.insert(0, str((args.repo/"perovskite-sim").resolve())) + try: + execute(plan, load_inputs(args.repo, args.archive, args.case), args.output) + except BaseException as error: + json_write(args.output/"Failure.json", {"error": repr(error), "traceback": traceback.format_exc(), + "status": "failed_unqualified", "preserved_controls": "see immutable raw interval files/journal"}) + raise + return 0 + + +if __name__ == "__main__": + raise SystemExit(main()) diff --git a/scripts/benchmarks/ida_observation/README.md b/scripts/benchmarks/ida_observation/README.md new file mode 100644 index 00000000..91e979f2 --- /dev/null +++ b/scripts/benchmarks/ida_observation/README.md @@ -0,0 +1,198 @@ +# IDA controls, observation and sparse lifetime binding + +This directory holds a source patch for scikit-SUNDAE 1.1.3 and SUNDIALS 7.5.0. +It does not change an existing installation or the SolarLab physical model. +The build compiles `_cy_ida` together with the small source-owned +`ida_superlumt_cleanup.c`; the original `_cy_common`, `_cy_cvode`, configuration, +and every shared library retain verified RECORD and content identities. +SuperLU_MT/OpenMP and BLAS/LAPACK remain explicit build requirements. + +The same public `IDA` class exposes `statistics()` and `last_step_snapshot()`. +The composed controls patch preserves `nonlin_conv_coef=None` as no setter +call. Explicit values must be finite positive real non-Booleans. Statistics +use checked native integrator, nonlinear-solver, Jacobian and current-cj +getters under the observation owner lock. Requested coefficient metadata stays +separate from `nonlinear_control_state`: an actual word copy through the pinned +upstream private header. `epcon` is valid after successful initialization; +`epsNewt`, `ss`, `oldnrm` and `toldel` are available only for a successfully +returned current-generation native endpoint with a nonlinear iteration. +Unavailable fields are `None` with explicit `valid_fields` and `phase` tags; +reinitialization or failure does not expose older method values as current. +`coefficient_getter_available` now reports the private copy and +`coefficient_getter_kind` identifies that route. No internal pointer escapes. +These scalars do not reveal a final correction vector or an iteration trace. +Reads do not advance or mutate history, and the default upstream nonlinear algorithm +and all native library bytes remain unchanged. + +BR01 remains explicit: zero-step method fields can be sentinels or retain a +previous generation's values. They are returned unchanged, accompanied by +`method_fields_valid`, owner and generation. BR02 restricts statistics to the +`init_step`/`step` window; completed batch `solve` closes it. BR03 preserves raw +native counters and cj without inferring Newton iterations, rejected branches +or the caller's requested/returned times and actual Jacobian callback cj. + +The native source owns a renamed constructor and its lifetime operations, +derived from the exact SUNDIALS 7.5.0 source in `SourcePinsV1.json`. It installs +the repaired free operation before its first content allocation, so constructor +failures use the same cleanup. Gstat and options start zeroed; the three owned +option arrays and AC/L/U stores are freed independently when allocated. Borrowed +matrix/vector data and permutation aliases are not freed twice. Its initialize +operation retires the same factor-owned data before delegating to the unchanged +native initialize. This matters for same-size `IDAReInit`: the native initialize +resets FIRSTFACTORIZE, so the next refact=NO setup must not overwrite prior owned +allocations. Normal refact=YES setup keeps its existing reuse behavior. Setup, +factorization, solve, ordering and statistic routines remain in the unchanged +original library; this is not a second linear solver. + +The Python owner releases IDA before the linear solver, matrices and vectors, +then releases SUNContext last. Failed `init_step` setup frees partial resources +and rethrows the initiating exception. The owner clears freed native pointers; +calling native free again on an already freed nonnull pointer is not supported. +SuperLU's existing process-abort behavior on internal allocation failure remains +unchanged. There is no retained solver, skipped cleanup, early step or `os._exit` +in the production binding. + +`IDA.last_step_snapshot(expected_step=None)` returns deeply immutable byte +copies plus owner, init/reinit generation, step and source/build identities. +It requires an observed immediate predecessor and output at the accepted native +`tn`. NORMAL calls with hidden intermediate steps and interior root returns +are refused. Eligibility recovers only after consecutive observed endpoints. +The actual predecessor is retained separately from `tn-hused`, with signed +clock-gap terms; no interval is silently shortened or reset. + +The packet contains public `tn`, `hused`, `kused`, `nsteps` and separate next +step/order diagnostics `hh`, `kk`, raw y/yp, rounded Dky0 through Dky[kused] at +tn, error weights and local estimates. The source-owned C helper copies the +stored `phi[0:q+1]` and `psi[0:q]` words through exact upstream private header +declarations after public/private scalar checks. It copies native uround and +checks shapes, finite values, capacities and nonaliasing buffers. No internal +pointer or mutable vector is exposed. A second copy and public stamp confirm +the same data remained in place under the owner lock. Actual Dky0/1 calls at +the recorded predecessor retain their raw statuses and return None buffers +on native failure. Event sides and input laws remain caller-owned metadata. + +`basis.source_header_sha256` identifies the exact upstream ida_impl.h bytes; +`basis.source_config_sha256` identifies the unedited generated SDK config; +`basis.build_identity == binding.identity` binds recipe, extension, source, +config and original runtime-library hashes. The loaded IDA library path is +obtained through dladdr, without inspecting Python object memory. Unbound +source cannot produce a snapshot. These checks detect ABI mismatches; they +do not establish otherwise missing original private-ABI provenance. + +The chosen coefficient route is a version-bound native word copy. Dky remains +rounded and is not an exact coefficient source. The alternative would require +a separate proved rounding envelope for the actual native GetDky recurrence, +including its psi divisions and vector reduction. Neither route alone proves +true DAE/global error, early high derivatives, or nonlinear SG/capture/port +integrals. The prior exact 2^-55 clock gap and early second-derivative failure +remain open evidence for their respective proofs. + +## Explicit initial parent-weight evaluation + +`IDA.evaluate_initial_parent_weights()` requires an initialized, idle, +source-bound owner with `parent_weight_frame` enabled, zero native steps and +its bound initial time and the current successful-initialization endpoint. +Any first solve attempt retires this eligibility, including a failed attempt +with zero accepted steps; a successful reinit restores it. Repeated explicit +evaluations do not retire it. It calls the actual registered callback on native +`phi[0]` into a separate output vector. Before InitialSetup the native `edata` +is null; the evaluator supplies the same registered `user_data` that +InitialSetup selects, without assigning `edata` or running InitialSetup. + +This is an evaluation, not a getter or a solver-applied weight observation. +It updates the callback diagnostic cache once. The return explicitly marks +`solver_applied_weights=False`; subsequent `statistics()` can contain that +cache until another actual callback overwrites it. Existing controller entry +and initial-cache readback rules are unchanged. + +The pinned header checks version, time, step count, dimensions, callback and +owner identity and disjoint buffers. Native memory/scalars/counters, all phi +columns through the allocated order, and stored solver ewt are byte-compared +before and after; a mutation is an error and is never restored or hidden. +Only initialized phi0/phi1 and newly evaluated weight bytes are exported. +Uninitialized higher-column/ewt bytes are compared opaquely, not interpreted +or returned. Temporary storage is linear in the current vector length. +Unsupported, uninitialized, busy and nonzero-step use is rejected. The method +holds the existing owner lock and always destroys its separate output vector. +No solve, time advance, tolerance change or convergence decision occurs. + +The focused source/native tests are in `test_error_weights.py`; native tests +require a new immutable reviewed build and separate explicit admission. +Existing installed bindings and frozen capsules are not modified. + +## Offline build steps + +The optional `nonlin_guard="first-correction-wrms-v1"` wraps the existing +default Newton convergence callback. It calls that callback exactly once with +its original data, retains its side effects and every non-success status, and +changes only first-iteration success with a current correction WRMS above the +supplied tolerance to `SUN_NLS_CONTINUE`. Later-iteration convergence decisions +are unchanged. This is a stopping-policy candidate, not a residual or trajectory +error bound. The default `None` installs no callback and leaves Newton unchanged. + +The supported setter is `SUNNonlinSolSetConvTestFn`. Obtaining the existing +delegate requires the hash-pinned IDAMem and Newton-content layouts; there is +no public convergence-callback getter. Installation verifies version, native +library, default solver operations and original callback data. IDA retains +ownership of Newton, and the guard data outlive its consumer during partial +setup, reinitialization, dimension changes and destruction. + +Guarded calls use `init_step` followed by `step(method="onestep")`. This narrow +window publishes every call's actual records through `statistics()` and +`nonlinear_trace()`, including failed calls. Batch/NORMAL use with the optional +guard is rejected before advancement; default-off behavior remains available. +Records contain actual iteration, correction norm, supplied tolerance, native +scalar words, default result and guard result. Unavailable values stay absent; +observed nonfinite words remain explicitly represented. The trace capacity is +1–4096 records per native call, default 4096. Overflow keeps the complete stored +prefix and first omitted callback and prevents a default-success acceptance; +an existing default failure remains authoritative. A capture failure cannot +erase an earlier native or Python callback failure. + +The composed guard build pins both nonlinear-solver headers and keeps all +upstream runtime libraries unchanged. Its build envelope is 300 seconds, +3 GiB RSS and 1 GiB output, subject to an exact external Root grant. Source/ABI +review and separately admitted native fixtures precede any full S0/B admission. + +- `prepare --archive ... --work ...` checks the pinned published sdist and + applies the exact three-file patch without fuzzy context matching. +- `freeze --recipe ... --recipe-sha256 ... --archive ... --work ...` requires + explicit source/header/tool/runtime inventories and produces actual argv, + environment and source hashes. It binds the copy patch to that recipe. +- `build --plan ... --plan-sha256 ... --start-message ... --external-process-group` requires Root review + and start admission for that exact plan. The supervised commands generate C, + compile the extension and lifetime source, repair loader-relative links with + the pinned system tool, then ad-hoc sign and verify that new extension. A wheel + is streamed from the qualified files with regenerated RECORD. In addition to + the existing read-only overlay, a new complete installation is extracted and + verified against that wheel and RECORD. Native checks use the complete + installation so loader-relative dependencies cannot resolve through an old + extension symlink. No old installation is overwritten. + +This direct route needs the pinned Cython tool only; it does not execute an +upstream setup script, install dependencies, rebuild a full SDK, or substitute +a newer SUNDIALS library. The pilot is Python 3.13 only, 120 seconds / 2 GiB / +64 MiB combined retained evidence, SDK, tools and outputs. A separately +admitted Python 3.11 build is required to establish the existing minimum. +All failures retain their first error and receipts, without automatic retry. +Producing a wheel does not activate a product dependency or qualify physics. +The externally admitted whole-process receipt owns full launch/finalization +accounting; the builder's command-period metrics remain separately labelled. +The external supervisor starts the builder in one new owned process group; +compiler/tool children inherit that group. Internal error cleanup waits only +for its actual child and never kills the builder's own shared group. The outer +supervisor enforces the total deadline/RSS/output limits, reaps its builder +child and records/terminates any remaining owned group before final readback. + +Source-only checks are `TestSourcePreparation` in +`tests/numerical_contracts/test_ida_observation.py` and require the explicit +`IDA_OBSERVATION_SOURCE_ARCHIVE`. Native checks additionally require +`SOLARLAB_IDA_OBSERVATION_NATIVE_TEST=1`, a reviewed patched artifact and +separate science-slot admission. Unrun/skipped tests are not native evidence. +`TestNativeCompositionLifetime` adds normal destruction before factorization, +an actual failed-atol setup after sparse allocation, factorization with both +public reads in one process, default/None equivalence, coefficient guards and +generation/reentrancy checks, including a second sparse factorization after +same-size reinitialization followed by normal destruction. The independent process supervisor must also +retain normal exit and process ownership evidence. These small binding markers +do not replace either complete S0/B protocol or independent accuracy checks. diff --git a/scripts/benchmarks/ida_observation/SourcePinsV1.json b/scripts/benchmarks/ida_observation/SourcePinsV1.json new file mode 100644 index 00000000..9d136870 --- /dev/null +++ b/scripts/benchmarks/ida_observation/SourcePinsV1.json @@ -0,0 +1,146 @@ +{ + "schema": "solarlab.ida-observation-source-pins.v1", + "binding_version": "1.1.3", + "sundials_version": "7.5.0", + "source_archive": { + "filename": "scikit_sundae-1.1.3.tar.gz", + "url": "https://files.pythonhosted.org/packages/a2/2f/669f410f7a151874af1d6ff91e3d129bf80f989e92da3fb8c77f8496f718/scikit_sundae-1.1.3.tar.gz", + "sha256": "e3d06de0da6715d51310b2cea3835c495e6613d8c19ccbbf1f278aabe7e8f3d6", + "bytes": 58460 + }, + "files": { + "src/sksundae/c_ida.pxd": { + "original_sha256": "7f1443a261d3e65aecc57dafd2e5632a474f750822ded8867bb68ada55078236", + "patched_sha256": "a12527faf2d79662ec5ff7c02ed41314bbb9c7d98d4e369ab2d66ef13747463b" + }, + "src/sksundae/_cy_ida.pyx": { + "original_sha256": "d1a8a6e49699d2312a90e44e5c5c8f132db66f84e6979fe17d400f58ccc40638", + "patched_sha256": "fa2221c914491e1aac66a91c87a71f5a8f3652664b72fec464bcf9a1a26b9e16" + }, + "src/sksundae/ida/_solver.py": { + "original_sha256": "03f96bf1c50a196f12a91c87dee0e38b397801c8a6533c87f3b45e55ab6f34d5", + "patched_sha256": "ab05db63b7a1b6ab4a928bcae9cd0c4b16666f1e0fa1a2e86538fe6a76a93994" + } + }, + "patch_sha256": "cecb03e44fc0999ca1ca797f8208e178289feb0461948563ec7fbf190ab6612c", + "build_binding_token": "_OBSERVATION_BUILD_ID = None", + "required_config": { + "SUNDIALS_VERSION": "7.5.0", + "SUNDIALS_FLOAT_TYPE": "double", + "SUNDIALS_INT_TYPE": "int", + "SUNDIALS_SUPERLUMT_ENABLED": "True", + "SUNDIALS_SUPERLUMT_THREAD_TYPE": "OPENMP", + "SUNDIALS_BLAS_LAPACK_ENABLED": "True" + }, + "required_libraries": [ + "sundials_core", + "sundials_nvecserial", + "sundials_sunlinsoldense", + "sundials_sunlinsolband", + "sundials_sunmatrixdense", + "sundials_sunmatrixband", + "sundials_sunmatrixsparse", + "sundials_sunlinsolspgmr", + "sundials_sunlinsolspbcgs", + "sundials_sunlinsolsptfqmr", + "sundials_sunlinsolsuperlumt", + "superlu_mt_OPENMP", + "sundials_sunlinsollapackdense", + "sundials_sunlinsollapackband", + "sundials_cvode", + "sundials_ida" + ], + "copy_header_sha256": "500287323cf654c4087e8f4770c6e5f0234d6cdb9c5583a6ff7c49de3c01db24", + "private_header_sha256": "04988c332e2d004b4e838ffca847990f353f68d41cb225f1b9085b3a8bed52ce", + "composed_controls_patch_sha256": "7841508829e5226cc4de3aa0808aaf9a16ef7217cbbfc99e57f8c8955dbfd44b", + "native_cleanup": { + "kind": "source-owned constructor, factor-retiring initialize and free; unchanged numerical native routines", + "files": { + "ida_superlumt_cleanup.c": "ba89c6670e89a858406db56c451d03451a3e1e3c4b0b80bb8a565099e464f643", + "ida_superlumt_cleanup.h": "4c312f009208a5ffb86090fb2e2eb64222f8aaf7e20a093673c481c3c8e97d14" + }, + "upstream_sundials_source_sha256": "5f8f4d9d3cb5871c58254b99d26b675c131e7d9322565809ebb047834e3b2a4e", + "superlu_mt_commit": "3d805210e95bb5b86b9ec3ade0e200714b6964dc", + "upstream_finalize_sha256": "df9e0edfebbf00f68bfae6b4d6c459820fa0292803b2a011f37740a916efacc7", + "upstream_destructors_sha256": "8ccd860b67bd5814c6cb357a89b81a4f7c9b9b9a9fb18ef16834e54d2facf347", + "unchanged_native_operations": [ + "SUNLinSolGetType_SuperLUMT", + "SUNLinSolGetID_SuperLUMT", + "SUNLinSolInitialize_SuperLUMT", + "SUNLinSolSetOptions_SuperLUMT", + "SUNLinSolSetup_SuperLUMT", + "SUNLinSolSolve_SuperLUMT", + "SUNLinSolLastFlag_SuperLUMT", + "SUNLinSolSpace_SuperLUMT" + ], + "old_installation_mutated": false, + "native_initialize_delegated_after_factor_retirement": "SUNLinSolInitialize_SuperLUMT", + "direct_native_operations": [ + "SUNLinSolGetType_SuperLUMT", + "SUNLinSolGetID_SuperLUMT", + "SUNLinSolSetOptions_SuperLUMT", + "SUNLinSolSetup_SuperLUMT", + "SUNLinSolSolve_SuperLUMT", + "SUNLinSolLastFlag_SuperLUMT", + "SUNLinSolSpace_SuperLUMT" + ] + }, + "nonlinear_state_observation": { + "schema": "sksundae.ida.nonlinear-control-state.v1", + "fields": [ + "epcon", + "epsNewt", + "ss", + "oldnrm", + "toldel" + ], + "previous_patch_sha256": "b6ef74bce1d55906c6bada39a1a1235896c21ed5ee68551b01986aec353a1c78", + "kind": "read-only pinned upstream header word copies with explicit lifecycle validity", + "upstream_algorithm_or_header_changed": false + }, + "nonlinear_guard": { + "policy": "first-correction-wrms-v1", + "default": "off", + "trace_record_cap": 4096, + "headers": { + "sunnonlinsol/sunnonlinsol_newton.h": "738770bf87bf52c1ad6358581bb0dbf091145af9b0e4d9c4725f4582490d7383", + "sundials/sundials_nonlinearsolver.h": "3289b49b370ae16e761dd2a3287729eedcee34d1ca9e3bb0af0e8f9e7e93c400" + }, + "installation": "public setter, pinned IDAMem and Newton-content capture; original native delegate/data retained" + }, + "parent_affine_weights": { + "schema": "sksundae.ida.parent-affine-weights.v1", + "public_api": "IDAWFtolerances / IDAEwtFn", + "default": "off", + "weight_rounding": "RN-exact-parent-q_then-unfused-SV-v1", + "word_capacity": 4, + "sum_term_capacity": 32, + "minimum_nonzero_product_frexp_exponent_sum": -968, + "lifetime": "C-owned context through existing AuxData; refresh on same-size and size-changing reinit; release after IDAFree", + "upstream_algorithm_or_header_changed": false, + "actual_application_requires_separate_native_fixture": true + }, + "initial_parent_weight_evaluation": { + "schema": "sksundae.ida.initial-parent-weight-evaluation.v1", + "public_method": "evaluate_initial_parent_weights", + "allowed_native_steps": 0, + "argument": "actual native phi[0] at bound initial time", + "callback": "actual registered ida_efun verified as parent callback; registered user_data without modifying edata", + "output": "separate serial vector; copied bytes", + "preservation": "native memory record, allocated-order phi columns and stored ewt byte-checked unchanged", + "side_effect": "one parent-weight diagnostic cache evaluation; not solver-applied weights", + "native_validation_pending": true, + "successful_init_phase": "current successful zero-step initialization endpoint, no prior step attempt; failed-first-step and later endpoints reject; explicit evaluations preserve eligibility", + "weight_mode_guard": "ida_user_efun plus exact registered callback/user_data under pinned public tolerance setters; no unavailable ida.c macro dependency" + }, + "physical_affine_weights": { + "schema": "sksundae.ida.physical-affine-weights.v1", + "public_api": "IDAWFtolerances / IDAEwtFn / IDAGetCurrentTime", + "default": "off", + "sum_term_capacity": 64, + "maximum_physical_terms": 52, + "upstream_algorithm_or_header_changed": false, + "actual_application_requires_separate_native_fixture": true, + "rounding": "RN-exact-physical-X_then-unfused-physical-EWT-v1" + } +} diff --git a/scripts/benchmarks/ida_observation/build.py b/scripts/benchmarks/ida_observation/build.py new file mode 100644 index 00000000..12d3e7cd --- /dev/null +++ b/scripts/benchmarks/ida_observation/build.py @@ -0,0 +1,600 @@ +"""Offline, source-pinned preparation and separately admitted IDA wheel pilot. + +No dependencies or SDKs are downloaded or installed. The pilot compiles +_cy_ida and its source-owned SuperLUMT constructor/free, preserving the +RECORD-verified runtime libraries and other extensions byte for byte. +freeze requires every SDK, private source, tool and runtime identity; build +requires the independently reviewed plan digest and Root's start message ID. +""" +from __future__ import annotations + +import argparse +import base64 +import csv +import io +import ast +import hashlib +import json +import os +from pathlib import Path, PurePosixPath +import re +import signal +import subprocess +import tarfile +import time +import zipfile + +HERE = Path(__file__).resolve().parent +MAX_BYTES = 1024**3 +MAX_RSS = 3 * 1024**3 +MAX_SECONDS = 300 +SHA = re.compile(r"[0-9a-f]{64}\Z") + + +def digest(path: Path) -> str: + return hashlib.sha256(path.read_bytes()).hexdigest() + + +def load_pinned(path: Path, expected: str) -> dict: + if not SHA.fullmatch(expected or "") or digest(path) != expected: + raise ValueError("missing or mismatched external identity") + return json.loads(path.read_text()) + + +def pins() -> dict: + data = json.loads((HERE / "SourcePinsV1.json").read_text()) + if digest(HERE / "scikit_sundae_1_1_3.patch") != data["patch_sha256"]: + raise ValueError("patch differs from source manifest") + if digest(HERE / "ida_observation_copy.h") != data["copy_header_sha256"]: + raise ValueError("copy header differs from source manifest") + for name, identity in data["native_cleanup"]["files"].items(): + if name not in {"ida_superlumt_cleanup.c", "ida_superlumt_cleanup.h"} or digest(HERE / name) != identity: + raise ValueError("native cleanup source differs from source manifest") + if set(data["native_cleanup"]["files"]) != {"ida_superlumt_cleanup.c", "ida_superlumt_cleanup.h"}: + raise ValueError("incomplete native cleanup source manifest") + return data + + +def apply_patch(source: Path, manifest: dict) -> None: + """Apply only this exact three-file unified patch, with no fuzzy matching.""" + lines = (HERE / "scikit_sundae_1_1_3.patch").read_text().splitlines(keepends=True) + i, changed = 0, set() + while i < len(lines): + if not lines[i].startswith("--- a/") or not lines[i+1].startswith("+++ b/"): + raise ValueError("invalid patch header") + name = lines[i][6:].strip() + if lines[i+1][6:].strip() != name or name not in manifest["files"] or name in changed: + raise ValueError("unexpected or repeated patch target") + path = source / name + spec = manifest["files"][name] + if digest(path) != spec["original_sha256"]: + raise ValueError("upstream file identity changed: " + name) + old, new, cursor = path.read_text().splitlines(keepends=True), [], 0 + i += 2 + while i < len(lines) and lines[i].startswith("@@ "): + match = re.match(r"@@ -(\d+)(?:,(\d+))? \+(\d+)(?:,(\d+))? @@", lines[i]) + if match is None: + raise ValueError("invalid hunk") + begin = int(match[1]) - 1 + if begin < cursor: + raise ValueError("overlapping hunks") + new.extend(old[cursor:begin]) + cursor, removed, added = begin, 0, 0 + i += 1 + while i < len(lines) and not lines[i].startswith(("@@ ", "--- a/")): + kind, text = lines[i][0], lines[i][1:] + if kind in " -": + if cursor >= len(old) or old[cursor] != text: + raise ValueError("patch context changed: " + name) + cursor += 1 + removed += 1 + if kind in " +": + new.append(text) + added += 1 + if kind not in " +-": + raise ValueError("unsupported patch line") + i += 1 + if removed != int(match[2] or 1) or added != int(match[4] or 1): + raise ValueError("hunk counts disagree") + new.extend(old[cursor:]) + output = "".join(new).encode() + if hashlib.sha256(output).hexdigest() != spec["patched_sha256"]: + raise ValueError("patched identity mismatch: " + name) + path.write_bytes(output) + changed.add(name) + if changed != set(manifest["files"]): + raise ValueError("incomplete patch") + + +def prepare(archive: Path, work: Path, build_id: str | None = None) -> dict: + manifest = pins() + if digest(archive) != manifest["source_archive"]["sha256"]: + raise ValueError("source archive identity changed") + if work.exists(): + raise ValueError("refuse to reuse or overwrite a preparation directory") + if build_id is not None and not SHA.fullmatch(build_id): + raise ValueError("invalid build recipe identity") + # Verify all archive paths and sizes before writing any source. + with tarfile.open(archive) as tar: + members = tar.getmembers() + if sum(m.size for m in members) > 8 * 1024**2: + raise ValueError("unexpected source archive size") + for member in members: + path = PurePosixPath(member.name) + if (path.is_absolute() or ".." in path.parts + or path.parts[0] != "scikit_sundae-1.1.3" + or not (member.isfile() or member.isdir())): + raise ValueError("unsafe or unexpected source archive entry") + source = work / "source" + source.mkdir(parents=True) + for member in members: + path = source.joinpath(*PurePosixPath(member.name).parts[1:]) + if member.isdir(): + path.mkdir(parents=True, exist_ok=True) + else: + path.parent.mkdir(parents=True, exist_ok=True) + path.write_bytes(tar.extractfile(member).read()) + apply_patch(source, manifest) + (source / "src/sksundae/ida_observation_copy.h").write_bytes((HERE / "ida_observation_copy.h").read_bytes()) + for name in manifest["native_cleanup"]["files"]: + (source / "src/sksundae" / name).write_bytes((HERE / name).read_bytes()) + if build_id is not None: + path = source / "src/sksundae/_cy_ida.pyx" + code = path.read_text() + token = manifest["build_binding_token"] + if code.count(token) != 1: + raise ValueError("build binding token is not unique") + path.write_text(code.replace(token, "_OBSERVATION_BUILD_ID = " + repr(build_id))) + receipt = {"source": str(source), "archive_sha256": digest(archive), + "patch_sha256": manifest["patch_sha256"], "build_recipe_sha256": build_id, + "source_hashes": {name: digest(source / name) for name in manifest["files"]}, + "native_cleanup_hashes": dict(manifest["native_cleanup"]["files"]), + "compiler_run": False, "native_calls": 0} + (work / "Preparation.json").write_text(json.dumps(receipt, indent=2) + "\n") + return receipt + + +def verify_files(root: Path, expected: dict, *, complete=False) -> None: + if complete and {str(p.relative_to(root)) for p in root.rglob("*") if p.is_file()} != set(expected): + raise ValueError("incomplete or changed file inventory: " + str(root)) + for name, identity in expected.items(): + path = PurePosixPath(name) + if path.is_absolute() or ".." in path.parts or not SHA.fullmatch(identity): + raise ValueError("unsafe or unpinned file inventory") + if digest(root / name) != identity: + raise ValueError("input identity changed: " + str(root / name)) + + +def verify_record(root: Path, record: Path, expected_sha: str) -> dict: + if digest(record) != expected_sha: + raise ValueError("installed RECORD identity changed") + verified = {} + for name, encoded, size in csv.reader(io.StringIO(record.read_text())): + if not encoded: + continue # RECORD itself is externally pinned. + relative = PurePosixPath(name) + if relative.is_absolute() or ".." in relative.parts: + raise ValueError("unsafe installed RECORD path") + data = (root / name).read_bytes() + actual = hashlib.sha256(data).digest() + if (encoded != "sha256=" + base64.urlsafe_b64encode(actual).decode().rstrip("=") + or len(data) != int(size)): + raise ValueError("installed payload differs from RECORD: " + name) + verified[name] = actual.hex() + return verified + + +def validate_recipe(recipe: dict) -> None: + required = {"schema", "python", "python_sha256", "python_version", "cython", + "compiler", "platform_tools", "sdk_prefix", "sdk_files", "private_files", + "python_include", "python_headers", "numpy_include", "numpy_headers", + "native_site", "native_record_sha256", "native_files", "link_libraries", + "environment", "wheel_filename", "accounting_roots"} + if set(recipe) != required or recipe["schema"] != "solarlab.ida75-overlay-recipe.v1": + raise ValueError("incomplete or unknown recipe fields") + sdk = Path(recipe["sdk_prefix"]) + config = sdk / "include/sundials/sundials_config.h" + if not config.is_file(): + raise ValueError("matched SUNDIALS SDK unavailable; no build started") + verify_files(sdk / "include", recipe["sdk_files"], complete=True) + for name, identity in pins()["nonlinear_guard"]["headers"].items(): + if recipe["sdk_files"].get(name) != identity: + raise ValueError("nonlinear guard header identity changed: " + name) + macros = dict(re.findall(r"^#define\s+(\w+)[ \t]*(.*)$", config.read_text(), re.M)) + if (macros.get("SUNDIALS_VERSION", "").strip('"') != "7.5.0" + or macros.get("SUNDIALS_DOUBLE_PRECISION") != "1" + or macros.get("SUNDIALS_INT32_T") != "1" + or "SUNDIALS_SUPERLUMT_ENABLED" not in macros + or macros.get("SUNDIALS_SUPERLUMT_THREAD_TYPE", "").strip('"') != "OPENMP" + or "SUNDIALS_BLAS_LAPACK_ENABLED" not in macros + or not (sdk / "include/superlu_mt").is_dir()): + raise ValueError("SDK version, types, or optional solvers differ from qualification") + for name, identity in recipe["private_files"].items(): + if digest(Path(name)) != identity: + raise ValueError("private source identity changed") + private = [p for p in recipe["private_files"] if Path(p).name == "ida_impl.h"] + if len(private) != 1 or recipe["private_files"][private[0]] != pins()["private_header_sha256"]: + raise ValueError("missing exact IDA private source declaration") + for stem in ("python", "numpy"): + verify_files(Path(recipe[stem + "_include"]), recipe[stem + "_headers"], complete=True) + executable = Path(recipe["python"]) + if digest(executable) != recipe["python_sha256"]: + raise ValueError("build interpreter identity changed") + output = subprocess.run([str(executable), "-I", "-B", "-c", "import sys;print(sys.version)"], + check=True, capture_output=True, text=True, timeout=5) + if output.stdout.strip() != recipe["python_version"] or not recipe["python_version"].startswith("3.13."): + raise ValueError("pilot requires the pinned Python3.13 interpreter") + tool = recipe["cython"] + if set(tool) != {"path", "version", "record", "record_sha256", "wheel", "wheel_sha256"}: + raise ValueError("incomplete Cython pin") + if tool["version"] != "3.1.2" or digest(Path(tool["wheel"])) != tool["wheel_sha256"]: + raise ValueError("Cython tool pin changed") + verify_record(Path(tool["path"]), Path(tool["record"]), tool["record_sha256"]) + compiler = recipe["compiler"] + if set(compiler) != {"path", "sha256", "version"} or digest(Path(compiler["path"])) != compiler["sha256"]: + raise ValueError("compiler identity changed") + output = subprocess.run([compiler["path"], "--version"], check=True, + capture_output=True, text=True, timeout=5) + if output.stdout.strip() != compiler["version"]: + raise ValueError("compiler version changed") + expected_tools = {"/usr/bin/install_name_tool", "/usr/bin/codesign", "/usr/bin/otool", "/usr/bin/nm"} + if set(recipe["platform_tools"]) != expected_tools: + raise ValueError("incomplete platform-tool pin") + for path, identity in recipe["platform_tools"].items(): + if digest(Path(path)) != identity: + raise ValueError("platform-tool identity changed") + site = Path(recipe["native_site"]) + native = verify_record(site, site / "scikit_sundae-1.1.3.dist-info/RECORD", recipe["native_record_sha256"]) + if native != recipe["native_files"]: + raise ValueError("qualified runtime payload changed") + config_values = {line.split("=", 1)[0].strip(): ast.literal_eval(line.split("=", 1)[1].strip()) + for line in (site / "sksundae/py_config.pxi").read_text().splitlines() if "=" in line} + if config_values != pins()["required_config"]: + raise ValueError("qualified configuration changed") + libraries = recipe["link_libraries"] + if len(libraries) != 14 or len({i["path"] for i in libraries}) != 14: + raise ValueError("complete IDA and optional-solver link inputs required") + for item in libraries: + if set(item) != {"path", "install_name"} or item["path"] not in native: + raise ValueError("unpinned link library") + if {Path(i["path"]).name.split(".")[0][3:] for i in libraries} != set(pins()["required_libraries"]) - {"sundials_cvode", "superlu_mt_OPENMP"}: + raise ValueError("qualified link capabilities changed") + if set(recipe["environment"]) != {"SDKROOT", "MACOSX_DEPLOYMENT_TARGET", "SDKSettings_sha256"}: + raise ValueError("platform environment must be explicit") + if (recipe["environment"]["MACOSX_DEPLOYMENT_TARGET"] != "11.0" + or digest(Path(recipe["environment"]["SDKROOT"]) / "SDKSettings.json") != recipe["environment"]["SDKSettings_sha256"]): + raise ValueError("macOS SDK or deployment target changed") + if recipe["wheel_filename"] != "scikit_sundae-1.1.3-4ida75nlsguard-cp313-cp313-macosx_11_0_arm64.whl": + raise ValueError("unexpected pilot wheel tag") + + +def tree_bytes(root: Path) -> int: + """Count retained files, excluding explicitly reused symlink targets.""" + if root.is_symlink(): + return 0 + if root.is_file(): + return root.stat().st_size + return sum(p.stat().st_size for p in root.rglob("*") if not p.is_symlink() and p.is_file()) + + +def combined_bytes(roots: list[str]) -> int: + paths = [Path(p).absolute() for p in roots] + if len(set(paths)) != len(paths) or any(a in b.parents for a in paths for b in paths if a != b): + raise ValueError("accounting roots must be disjoint") + return sum(tree_bytes(p) for p in paths) + + +def freeze(recipe_path: Path, recipe_sha: str, archive: Path, work: Path) -> Path: + recipe = load_pinned(recipe_path, recipe_sha) + validate_recipe(recipe) + if not any(Path(p) in work.parents for p in recipe["accounting_roots"]): + raise ValueError("build directory is outside the admitted accounting roots") + if combined_bytes(recipe["accounting_roots"]) > MAX_BYTES - 32 * 1024**2: + raise ValueError("insufficient combined source/tool/build/wheel envelope") + prepared = prepare(archive, work, recipe_sha) + source = Path(prepared["source"]) + site = Path(recipe["native_site"]) + for name in ("c_config.pxi", "py_config.pxi"): + (source / "src/sksundae" / name).write_bytes((site / "sksundae" / name).read_bytes()) + code_path = source / "src/sksundae/_cy_ida.pyx" + code = code_path.read_text() + libraries = tuple(sorted((Path(name).name, identity) for name, identity in recipe["native_files"].items() + if name.startswith("sksundae/.dylibs/") and name.endswith(".dylib"))) + replacements = {"_OBSERVATION_LIBRARIES = ()": "_OBSERVATION_LIBRARIES = " + repr(libraries), + "_OBSERVATION_CONFIG_SHA256 = None": "_OBSERVATION_CONFIG_SHA256 = " + repr(recipe["sdk_files"]["sundials/sundials_config.h"])} + for token, value in replacements.items(): + if code.count(token) != 1: + raise ValueError("build binding token is not unique") + code = code.replace(token, value) + code_path.write_text(code) + prepared["source_hashes"] = {str(p.relative_to(source)): digest(p) for p in source.rglob("*") if p.is_file()} + generated, extension = work / "_cy_ida.c", work / "_cy_ida.cpython-313-darwin.so" + generate = [recipe["python"], "-I", "-B", "-c", + "import sys;sys.path.insert(0," + repr(recipe["cython"]["path"]) + ");from Cython.Compiler.Main import main;main(command_line=True)", + "-3", "-I", str(source / "src"), "-o", str(generated), str(code_path)] + compile_command = [recipe["compiler"]["path"], "-std=c11", "-O2", "-fno-fast-math", "-ffp-contract=off", + "-fPIC", "-bundle", "-undefined", "dynamic_lookup", "-arch", "arm64", "-g0", + "-isysroot", recipe["environment"]["SDKROOT"], "-mmacosx-version-min=11.0", + "-DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION", "-D__OPENMP", + "-DSUNDIALS_HAS_SUPERLUMT", "-DSUNDIALS_HAS_LAPACK"] + includes = [recipe["python_include"], recipe["numpy_include"], str(Path(recipe["sdk_prefix"]) / "include"), + str(Path(recipe["sdk_prefix"]) / "include/superlu_mt"), str(source / "src/sksundae")] + includes += sorted({str(Path(p).parent) for p in recipe["private_files"]}) + for path in includes: + compile_command += ["-I", path] + compile_command += [str(generated), str(source / "src/sksundae/ida_superlumt_cleanup.c"), + "-o", str(extension)] + compile_command += [str(site / item["path"]) for item in recipe["link_libraries"]] + repair = ["/usr/bin/install_name_tool"] + for item in recipe["link_libraries"]: + repair += ["-change", item["install_name"], "@loader_path/.dylibs/" + Path(item["path"]).name] + repair += [str(extension)] + commands = [generate, compile_command, repair, + ["/usr/bin/codesign", "--force", "--sign", "-", str(extension)], + ["/usr/bin/codesign", "--verify", "--strict", str(extension)]] + env = {"PATH": "/usr/bin:/bin", "PYTHONDONTWRITEBYTECODE": "1", "PYTHONNOUSERSITE": "1", + "TMPDIR": str(work / "tmp"), "SDKROOT": recipe["environment"]["SDKROOT"], + "MACOSX_DEPLOYMENT_TARGET": "11.0", "OMP_NUM_THREADS": "1", "OPENBLAS_NUM_THREADS": "1", + "VECLIB_MAXIMUM_THREADS": "1", "LC_ALL": "C", "SOURCE_DATE_EPOCH": "315532800"} + plan = {"schema": "solarlab.ida75-frozen-overlay-build.v1", "recipe": recipe, + "recipe_path": str(recipe_path), "recipe_sha256": recipe_sha, "prepared": prepared, + "work": str(work), "commands": commands, "environment": env, "extension": str(extension), + "helper_sha256": digest(Path(__file__)), "source_pins_sha256": digest(HERE / "SourcePinsV1.json"), + "requires_external_process_group_supervision": True, + "limits": {"seconds": MAX_SECONDS, "rss_bytes": MAX_RSS, "combined_retained_bytes": MAX_BYTES}} + path = work / "FrozenBuild.json" + path.write_text(json.dumps(plan, indent=2) + "\n") + return path + + +def pack_overlay(plan: dict) -> dict: + """Stream qualified files once into a wheel; no second library payload copy.""" + work, site = Path(plan["work"]), Path(plan["recipe"]["native_site"]) + source = Path(plan["prepared"]["source"]) + files = {name: site / name for name in plan["recipe"]["native_files"]} + for name in pins()["files"]: + files[name.removeprefix("src/")] = source / name + files["sksundae/ida_observation_copy.h"] = source / "src/sksundae/ida_observation_copy.h" + for name in pins()["native_cleanup"]["files"]: + files["sksundae/" + name] = source / "src/sksundae" / name + files["sksundae/_cy_ida.cpython-313-darwin.so"] = Path(plan["extension"]) + wheel_meta = "scikit_sundae-1.1.3.dist-info/WHEEL" + record_name = "scikit_sundae-1.1.3.dist-info/RECORD" + overrides = {wheel_meta: ("Wheel-Version: 1.0\nGenerator: solarlab-ida75-nls-guard-binding.v1\n" + "Root-Is-Purelib: false\nBuild: 4ida75nlsguard\nTag: cp313-cp313-macosx_11_0_arm64\n").encode()} + overlay = work / "overlay" + overlay.mkdir() + (work / "wheel").mkdir() + wheel = work / "wheel" / plan["recipe"]["wheel_filename"] + rows, hashes = [], {} + with zipfile.ZipFile(wheel, "x", compression=zipfile.ZIP_DEFLATED, compresslevel=6) as archive: + for name in sorted(files): + data = overrides.get(name) + if data is None: + data = files[name].read_bytes() + identity = hashlib.sha256(data).digest() + hashes[name] = identity.hex() + rows.append((name, "sha256=" + base64.urlsafe_b64encode(identity).decode().rstrip("="), len(data))) + item = zipfile.ZipInfo(name, (1980, 1, 1, 0, 0, 0)) + item.compress_type = zipfile.ZIP_DEFLATED + item.external_attr = (0o100644 << 16) + archive.writestr(item, data) + target = overlay / name + target.parent.mkdir(parents=True, exist_ok=True) + # dyld resolves an extension symlink before expanding @loader_path. + # Keep the newly linked image next to the overlay's .dylibs directory. + if name in overrides or name == "sksundae/_cy_ida.cpython-313-darwin.so": + target.write_bytes(data) + else: + target.symlink_to(files[name]) + rows.append((record_name, "", "")) + text = io.StringIO() + csv.writer(text, lineterminator="\n").writerows(rows) + data = text.getvalue().encode() + item = zipfile.ZipInfo(record_name, (1980, 1, 1, 0, 0, 0)) + item.compress_type = zipfile.ZIP_DEFLATED + archive.writestr(item, data) + (overlay / record_name).write_bytes(data) + return {"wheel": str(wheel), "wheel_sha256": digest(wheel), "wheel_files": hashes, + "overlay": str(overlay), "overlay_reuses_qualified_payload_read_only": True} + + +def install_verified_wheel(packed: dict, destination: Path) -> dict: + """Materialize a new installation so every loader-relative path is local. + + An overlay symlink to an old extension may expand @loader_path at its old + location. Native checks use this complete immutable installation instead. + The wheel is SHA-bound and every extracted payload is checked by RECORD. + """ + wheel = Path(packed["wheel"]) + if destination.exists() or digest(wheel) != packed["wheel_sha256"]: + raise ValueError("installation exists or wheel identity changed") + record_name = "scikit_sundae-1.1.3.dist-info/RECORD" + with zipfile.ZipFile(wheel) as archive: + names = archive.namelist() + if len(names) != len(set(names)) or set(names) != set(packed["wheel_files"]) | {record_name}: + raise ValueError("wheel inventory differs from packed payload") + for name in names: + relative = PurePosixPath(name) + if relative.is_absolute() or ".." in relative.parts: + raise ValueError("unsafe wheel path") + destination.mkdir() + for name in names: + target = destination / name + target.parent.mkdir(parents=True, exist_ok=True) + target.write_bytes(archive.read(name)) + record = destination / record_name + verified = verify_record(destination, record, digest(record)) + if verified != packed["wheel_files"]: + raise ValueError("installed payload differs from the frozen built wheel") + return {"installed": str(destination), "installed_record_sha256": digest(record), + "installed_files": verified, "installation_has_no_symlinks": True} + + +def cleanup_owned(process, *, external_process_group=False) -> dict: + """Retain ownership and errors even when termination or reaping fails.""" + if process is None: + return {"status": "no_active_process"} + result = {"pid": process.pid, "pgid": os.getpgrp() if external_process_group else process.pid, + "status": "cleanup-unverified", "errors": [], + "group_cleanup_owner": "external_supervisor" if external_process_group else "builder"} + try: + returncode = process.poll() + except BaseException as error: + result["errors"].append({"operation": "poll", "type": type(error).__name__, "message": str(error)}) + return result + if returncode is None: + try: + if external_process_group: + # Killing this shared group would kill the builder before its receipt. + # The admitted outer owner terminates/checks all remaining group members. + process.kill() + else: + os.killpg(process.pid, signal.SIGKILL) + except BaseException as error: + result["errors"].append({"operation": "kill_child" if external_process_group else "killpg", + "type": type(error).__name__, "message": str(error)}) + try: + returncode = process.wait(timeout=1) + except BaseException as error: + result["errors"].append({"operation": "wait", "type": type(error).__name__, "message": str(error)}) + result["returncode"] = returncode + if returncode is not None and not result["errors"]: + result["status"] = "exited" + result["direct_child_reaped"] = returncode is not None + if external_process_group: + result["group_empty"] = None # Only the external owner's receipt establishes this. + return result + + +def run_build(plan_path: Path, expected: str, start_message: str, *, external_process_group=False) -> dict: + if not re.fullmatch(r"msg_[0-9a-f]+", start_message or ""): + raise ValueError("Root start-message identity is required") + plan = load_pinned(plan_path, expected) + if plan.get("requires_external_process_group_supervision") and not external_process_group: + raise ValueError("this build requires the admitted external process-group supervisor") + if external_process_group and os.getpgrp() != os.getpid(): + raise ValueError("externally supervised builder must be its newly owned group leader") + if plan["helper_sha256"] != digest(Path(__file__)) or plan["source_pins_sha256"] != digest(HERE / "SourcePinsV1.json"): + raise ValueError("helper/source manifest changed since freeze") + recipe = load_pinned(Path(plan["recipe_path"]), plan["recipe_sha256"]) + if recipe != plan["recipe"]: + raise ValueError("recipe changed") + work = Path(plan["work"]) + receipt_path = work / "BuildReceipt.json" + if receipt_path.exists(): + raise ValueError("no retry or overwrite of an attempted pilot") + started = time.monotonic() + receipt = {"status": "failed", "root_start_message": start_message, "plan_sha256": expected, + "commands": [], "peak_group_rss_bytes": 0, "retries": 0, "native_solver_calls": 0, + "external_process_group_supervision": external_process_group, + "timing_scope": "builder command period; whole launch/finalization belongs to external receipt"} + process = None + previous_alarm = signal.getsignal(signal.SIGALRM) + def deadline(signum, frame): + raise TimeoutError("pilot deadline reached; reserve time for cleanup/receipt") + signal.signal(signal.SIGALRM, deadline) + signal.setitimer(signal.ITIMER_REAL, MAX_SECONDS - 2) + try: + validate_recipe(recipe) + verify_files(Path(plan["prepared"]["source"]), plan["prepared"]["source_hashes"], complete=True) + (work / "tmp").mkdir() + for number, argv in enumerate(plan["commands"]): + log = work / f"command{number}.log" + with log.open("xb") as output: + process = subprocess.Popen(argv, cwd=work, env=plan["environment"], + stdout=output, stderr=subprocess.STDOUT, + start_new_session=not external_process_group) + pgid = os.getpgrp() if external_process_group else process.pid + entry = {"argv": argv, "pid": process.pid, "owned_process_group": pgid, "log": str(log)} + receipt["commands"].append(entry) + while process.poll() is None: + listing = subprocess.run(["/bin/ps", "-axo", "pgid=,rss="], + capture_output=True, text=True, timeout=2) + rss = sum(int(row.split()[1])*1024 for row in listing.stdout.splitlines() + if len(row.split()) == 2 and int(row.split()[0]) == pgid) + receipt["peak_group_rss_bytes"] = max(receipt["peak_group_rss_bytes"], rss) + if rss > MAX_RSS or combined_bytes(recipe["accounting_roots"]) > MAX_BYTES - 65536: + raise RuntimeError("combined pilot resource limit exceeded") + time.sleep(0.1) + entry["returncode"] = process.returncode + process = None + if entry["returncode"] != 0: + raise RuntimeError("build/repair failed; preserve first error without retry") + linked = subprocess.run(["/usr/bin/otool", "-L", plan["extension"]], check=True, + capture_output=True, text=True, timeout=5).stdout + receipt["linker_output"] = linked + for item in recipe["link_libraries"]: + if "@loader_path/.dylibs/" + Path(item["path"]).name not in linked: + raise ValueError("required qualified link absent from compiled extension") + if any(line.strip().startswith(("/private/", "@rpath/")) for line in linked.splitlines()[1:]): + raise ValueError("unrepaired external native dependency") + symbols = subprocess.run(["/usr/bin/nm", "-u", plan["extension"]], check=True, + capture_output=True, text=True, timeout=5).stdout + receipt["undefined_symbols"] = symbols + for symbol in ("_SUNLinSolSetup_SuperLUMT", "_SUNLinSolSolve_SuperLUMT", + "_SUNLinSol_LapackDense", "_SUNLinSol_LapackBand"): + if symbol not in symbols: + raise ValueError("optional solver compiled to an unavailable stub") + if re.search(r"\b_SUNLinSol_SuperLUMT\s*$", symbols, re.M): + raise ValueError("the owning extension still calls the unpatched sparse constructor") + defined = subprocess.run(["/usr/bin/nm", "-gU", plan["extension"]], check=True, + capture_output=True, text=True, timeout=5).stdout + receipt["defined_symbols"] = defined + if "_sl_SUNLinSol_SuperLUMT" not in defined: + raise ValueError("source-owned sparse lifetime entry is absent") + receipt.update(pack_overlay(plan)) + receipt.update(install_verified_wheel(receipt, work / "installed")) + receipt.update(status="wheel_built_unqualified", compiled_config=pins()["required_config"], + scientific_qualification=False, private_abi_independently_qualified=False) + except BaseException as error: + receipt["failure"] = {"type": type(error).__name__, "message": str(error)} + finally: + signal.setitimer(signal.ITIMER_REAL, 0) + signal.signal(signal.SIGALRM, previous_alarm) + receipt["cleanup"] = cleanup_owned(process, external_process_group=external_process_group) + if receipt["cleanup"]["status"] == "cleanup-unverified": + receipt["status"] = "failed_cleanup_unverified" + receipt["elapsed_s"] = time.monotonic() - started + try: + receipt["combined_retained_bytes_before_receipt"] = combined_bytes(recipe["accounting_roots"]) + if receipt["elapsed_s"] > MAX_SECONDS or receipt["combined_retained_bytes_before_receipt"] + 65536 > MAX_BYTES: + receipt["status"] = "failed_resource_limit" + except BaseException as error: + receipt["resource_readback_failure"] = {"type": type(error).__name__, "message": str(error)} + receipt["status"] = "failed_resource_readback" + receipt_path.write_text(json.dumps(receipt, indent=2) + "\n") + return receipt + + +def main() -> int: + parser = argparse.ArgumentParser(description=__doc__) + commands = parser.add_subparsers(dest="operation", required=True) + prepare_parser = commands.add_parser("prepare") + prepare_parser.add_argument("--archive", type=Path, required=True) + prepare_parser.add_argument("--work", type=Path, required=True) + freeze_parser = commands.add_parser("freeze") + for name in ("recipe", "archive", "work"): + freeze_parser.add_argument("--"+name, type=Path, required=True) + freeze_parser.add_argument("--recipe-sha256", required=True) + build_parser = commands.add_parser("build") + build_parser.add_argument("--plan", type=Path, required=True) + build_parser.add_argument("--plan-sha256", required=True) + build_parser.add_argument("--start-message", required=True) + build_parser.add_argument("--external-process-group", action="store_true") + args = parser.parse_args() + if args.operation == "prepare": + print(json.dumps(prepare(args.archive.resolve(), args.work.absolute()), indent=2)) + elif args.operation == "freeze": + path = freeze(args.recipe.resolve(), args.recipe_sha256, args.archive.resolve(), args.work.absolute()) + print(json.dumps({"plan": str(path), "sha256": digest(path)})) + else: + result = run_build(args.plan.resolve(), args.plan_sha256, args.start_message, + external_process_group=args.external_process_group) + print(json.dumps(result, indent=2)) + return 0 if result["status"] == "wheel_built_unqualified" else 1 + return 0 + + +if __name__ == "__main__": + raise SystemExit(main()) diff --git a/scripts/benchmarks/ida_observation/ida_observation_copy.h b/scripts/benchmarks/ida_observation/ida_observation_copy.h new file mode 100644 index 00000000..67c507c3 --- /dev/null +++ b/scripts/benchmarks/ida_observation/ida_observation_copy.h @@ -0,0 +1,494 @@ +/* Source-owned copy boundary for SUNDIALS 7.5.0 IDA, double/int32/serial. + * The private declaration is the hash-pinned upstream ida_impl.h, never a + * reconstructed structure. ABI provenance remains a separate review gate. + * No pointer, arithmetic reconstruction, or mutable solver buffer escapes. + */ +#ifndef SOLARLAB_IDA75_OBSERVATION_COPY_H +#define SOLARLAB_IDA75_OBSERVATION_COPY_H + +#include +#include +#include +#include +#include +#include +#include +#include +#include "ida_impl.h" + +#if SUNDIALS_VERSION_MAJOR != 7 || SUNDIALS_VERSION_MINOR != 5 || SUNDIALS_VERSION_PATCH != 0 +#error "The observation copy requires the pinned SUNDIALS 7.5.0 headers" +#endif +#if !defined(SUNDIALS_DOUBLE_PRECISION) || !defined(SUNDIALS_INT32_T) +#error "The observation copy requires double precision and int32 indices" +#endif +_Static_assert(sizeof(sunrealtype) == 8, "binary64 storage required"); +_Static_assert(sizeof(sunindextype) == 4, "int32 storage required"); + +/* These are boundary statuses, not IDA status values. */ +enum { + SL_OBS_ARGUMENT = -7001, SL_OBS_VERSION = -7002, + SL_OBS_GETTER = -7003, SL_OBS_STAMP = -7004, + SL_OBS_VECTOR = -7005, SL_OBS_NONFINITE = -7006, + SL_OBS_ALIAS = -7007 +}; + +static const char *sl_ida75_library_path(void) +{ + Dl_info info; + if (!dladdr((const void *)&IDAGetCurrentTime, &info)) return NULL; + return info.dli_fname; +} + +static int sl_ida75_same_word(sunrealtype a, sunrealtype b) +{ + return memcmp(&a, &b, sizeof(a)) == 0; +} + +static int sl_ida75_overlap(const void *a, size_t na, const void *b, size_t nb) +{ + uintptr_t x = (uintptr_t)a, y = (uintptr_t)b; + if (na > UINTPTR_MAX - x || nb > UINTPTR_MAX - y) return 1; + return x < y + nb && y < x + na; +} + +/* Check supported public scalars before dereferencing any private vector. + * Matching these is a mismatch detector, not a general private-ABI proof. + */ +static int sl_ida75_stamp(void *memory, long ns, sunrealtype tn, + sunrealtype hu, int qu, sunrealtype hn, int qn) +{ + int major, minor, patch, status, actual_q, actual_next_q; + long actual_ns; + sunrealtype actual_t, actual_h, actual_next_h; + char label[128]; + IDAMem m; + if (!memory || ns < 1 || qu < 1 || qu >= MXORDP1 || qn < 1 || qn >= MXORDP1 + || !isfinite(tn) || !isfinite(hu) || !isfinite(hn) || hu == 0 || hn == 0) + return SL_OBS_ARGUMENT; + status = SUNDIALSGetVersionNumber(&major, &minor, &patch, label, sizeof(label)); + if (status != 0 || major != 7 || minor != 5 || patch != 0) return SL_OBS_VERSION; + if (IDAGetNumSteps(memory, &actual_ns) != 0 + || IDAGetCurrentTime(memory, &actual_t) != 0 + || IDAGetLastStep(memory, &actual_h) != 0 + || IDAGetLastOrder(memory, &actual_q) != 0 + || IDAGetCurrentStep(memory, &actual_next_h) != 0 + || IDAGetCurrentOrder(memory, &actual_next_q) != 0) return SL_OBS_GETTER; + if (actual_ns != ns || actual_q != qu || actual_next_q != qn + || !sl_ida75_same_word(actual_t, tn) || !sl_ida75_same_word(actual_h, hu) + || !sl_ida75_same_word(actual_next_h, hn)) return SL_OBS_STAMP; + m = (IDAMem)memory; + if (m->ida_nst != ns || m->ida_kused != qu || m->ida_kk != qn + || !sl_ida75_same_word(m->ida_tn, tn) || !sl_ida75_same_word(m->ida_hused, hu) + || !sl_ida75_same_word(m->ida_hh, hn) + || !m->ida_MallocDone || m->ida_maxord_alloc < qu + || !isfinite(m->ida_uround) || m->ida_uround <= 0) return SL_OBS_STAMP; + return 0; +} + +/* Caller owns exact-capacity, disjoint output arrays. All inputs are validated + * before any copy. Only q+1 phi vectors and q psi words are needed by GetDky. + */ +static int sl_ida75_copy(void *memory, sunindextype n, long ns, + sunrealtype tn, sunrealtype hu, int qu, + sunrealtype hn, int qn, + sunrealtype *phi, size_t phi_count, + sunrealtype *psi, size_t psi_count, + sunrealtype *uround) +{ + IDAMem m; + int i, status; + sunindextype j; + size_t row_bytes, phi_bytes, psi_bytes; + sunrealtype *rows[MXORDP1]; + if (!phi || !psi || !uround || n <= 0 || qu < 1 || qu >= MXORDP1) + return SL_OBS_ARGUMENT; + if ((size_t)n > SIZE_MAX / sizeof(sunrealtype) / (size_t)(qu + 1)) + return SL_OBS_ARGUMENT; + if (phi_count != (size_t)n * (size_t)(qu + 1) || psi_count != (size_t)qu) + return SL_OBS_ARGUMENT; + row_bytes = (size_t)n * sizeof(sunrealtype); + phi_bytes = phi_count * sizeof(sunrealtype); + psi_bytes = psi_count * sizeof(sunrealtype); + if (sl_ida75_overlap(phi, phi_bytes, psi, psi_bytes) + || sl_ida75_overlap(phi, phi_bytes, uround, sizeof(*uround)) + || sl_ida75_overlap(psi, psi_bytes, uround, sizeof(*uround))) return SL_OBS_ALIAS; + status = sl_ida75_stamp(memory, ns, tn, hu, qu, hn, qn); + if (status) return status; + m = (IDAMem)memory; + if (sl_ida75_overlap(phi, phi_bytes, m, sizeof(*m)) + || sl_ida75_overlap(psi, psi_bytes, m, sizeof(*m)) + || sl_ida75_overlap(uround, sizeof(*uround), m, sizeof(*m))) return SL_OBS_ALIAS; + for (i = 0; i <= qu; ++i) { + N_Vector vector = m->ida_phi[i]; + if (!vector || N_VGetVectorID(vector) != SUNDIALS_NVEC_SERIAL + || N_VGetLength_Serial(vector) != n) return SL_OBS_VECTOR; + rows[i] = N_VGetArrayPointer(vector); + if (!rows[i]) return SL_OBS_VECTOR; + if (sl_ida75_overlap(phi, phi_bytes, rows[i], row_bytes) + || sl_ida75_overlap(psi, psi_bytes, rows[i], row_bytes) + || sl_ida75_overlap(uround, sizeof(*uround), rows[i], row_bytes)) return SL_OBS_ALIAS; + for (j = 0; j < n; ++j) if (!isfinite(rows[i][j])) return SL_OBS_NONFINITE; + } + for (i = 0; i < qu; ++i) { + if (!isfinite(m->ida_psi[i]) || m->ida_psi[i] == 0) return SL_OBS_NONFINITE; + } + for (i = 0; i <= qu; ++i) memcpy(phi + (size_t)i * n, rows[i], row_bytes); + memcpy(psi, m->ida_psi, psi_bytes); + memcpy(uround, &m->ida_uround, sizeof(*uround)); + return sl_ida75_stamp(memory, ns, tn, hu, qu, hn, qn); +} + +/* epcon is initialized at creation. The remaining fields are read only after + * a successful endpoint in this generation and an actual NLS iteration. + * Reinitialization or a failed return must not expose earlier method state. + * The caller publishes unavailable fields as None, never as copied sentinels. + */ +static int sl_ida75_nls_state(void *memory, long ns, long nni, + sunrealtype tn, sunrealtype hu, int qu, + sunrealtype hn, int qn, int read_step, + sunrealtype *values, size_t count) +{ + int major, minor, patch, status, i; + long actual_ns, actual_nni, actual_failures; + sunrealtype actual_t, fields[5]; + size_t copied = read_step ? 5 : 1; + char label[128]; + IDAMem m; + if (!memory || !values || count != 5 || ns < 0 || nni < 0 + || !isfinite(tn) || (read_step != 0 && read_step != 1) + || (read_step && (ns < 1 || nni < 1))) return SL_OBS_ARGUMENT; + status = SUNDIALSGetVersionNumber(&major, &minor, &patch, label, sizeof(label)); + if (status != 0 || major != 7 || minor != 5 || patch != 0) return SL_OBS_VERSION; + if (IDAGetNumSteps(memory, &actual_ns) != 0 + || IDAGetCurrentTime(memory, &actual_t) != 0 + || IDAGetNonlinSolvStats(memory, &actual_nni, &actual_failures) != 0) + return SL_OBS_GETTER; + if (actual_ns != ns || actual_nni != nni || !sl_ida75_same_word(actual_t, tn)) + return SL_OBS_STAMP; + m = (IDAMem)memory; + if (!m->ida_MallocDone || m->ida_nst != ns || m->ida_nni != nni + || !sl_ida75_same_word(m->ida_tn, tn)) return SL_OBS_STAMP; + if (sl_ida75_overlap(values, count * sizeof(*values), m, sizeof(*m))) + return SL_OBS_ALIAS; + if (read_step) { + status = sl_ida75_stamp(memory, ns, tn, hu, qu, hn, qn); + if (status) return status; + } + memcpy(&fields[0], &m->ida_epcon, sizeof(*fields)); + if (read_step) { + memcpy(&fields[1], &m->ida_epsNewt, sizeof(*fields)); + memcpy(&fields[2], &m->ida_ss, sizeof(*fields)); + memcpy(&fields[3], &m->ida_oldnrm, sizeof(*fields)); + memcpy(&fields[4], &m->ida_toldel, sizeof(*fields)); + } + for (i = 0; i < (int)copied; ++i) + if (!isfinite(fields[i]) || fields[i] < 0) return SL_OBS_NONFINITE; + /* A positive subnormal epcon can legitimately underflow toldel to zero. */ + if (fields[0] <= 0 || (read_step && fields[1] <= 0)) + return SL_OBS_NONFINITE; + memcpy(values, fields, copied * sizeof(*values)); + if (m->ida_nni != nni) return SL_OBS_STAMP; + return read_step ? sl_ida75_stamp(memory, ns, tn, hu, qu, hn, qn) : 0; +} +/* The optional guard below owns only its delegate and bounded trace. The IDA + * memory, Newton solver, state, linear solver and callback data remain owned + * by the original integrator. Installing it changes a numerical policy; the + * read-only observation functions above do not install it. + */ +enum { + SL_GUARD_OWNER = -7010, SL_GUARD_TRACE_FULL = -7011, + SL_GUARD_VALUE = -7012, SL_GUARD_ALLOCATION = -7013 +}; +#define SL_GUARD_MAX_RECORDS 4096 + +typedef struct { + long generation, operation, sequence, step; + int iteration, iteration_status, default_status, returned_status, override; + int oldnrm_before_valid, oldnrm_after_valid, norm_observed, norm_valid; + sunrealtype norm, tolerance, ss_before, ss_after, oldnrm_before, oldnrm_after; + sunrealtype toldel, time, cj; +} sl_ida75_guard_record; + +typedef struct { + IDAMem memory; + SUNNonlinearSolver nls; + SUNNonlinSolConvTestFn original; + void *original_data; + sunindextype size; + long generation, operation, calls; + size_t capacity, count; + int active, overflow, native_status, oldnrm_valid; + sl_ida75_guard_record *records, first_unrecorded; +} sl_ida75_guard; + +static int sl_ida75_guard_callback(SUNNonlinearSolver nls, N_Vector ycor, + N_Vector delta, sunrealtype tol, + N_Vector weights, void *data) +{ + sl_ida75_guard *g = (sl_ida75_guard *)data; + sl_ida75_guard_record row = {0}; + int valid_vectors; + if (!g || !g->memory || !g->original || g->nls != nls || !g->active + || g->original_data != (void *)g->memory) return SL_GUARD_OWNER; + row.generation = g->generation; + row.operation = g->operation; + row.sequence = ++g->calls; + row.step = g->memory->ida_nst; + row.iteration = -1; + row.iteration_status = SUNNonlinSolGetCurIter(nls, &row.iteration); + row.tolerance = tol; + row.ss_before = g->memory->ida_ss; + row.oldnrm_before_valid = g->oldnrm_valid; + if (g->oldnrm_valid) row.oldnrm_before = g->memory->ida_oldnrm; + row.toldel = g->memory->ida_toldel; + row.time = g->memory->ida_tn; + row.cj = g->memory->ida_cj; + + /* Exactly one invocation of the captured native callback and original + * data. Its oldnrm/ss updates and non-success statuses are authoritative. + */ + row.default_status = g->original(nls, ycor, delta, tol, weights, + g->original_data); + row.returned_status = row.default_status; + row.ss_after = g->memory->ida_ss; + if (row.iteration_status == SUN_SUCCESS && row.iteration == 0) + g->oldnrm_valid = 1; + row.oldnrm_after_valid = g->oldnrm_valid; + if (g->oldnrm_valid) row.oldnrm_after = g->memory->ida_oldnrm; + valid_vectors = delta && weights + && N_VGetVectorID(delta) == SUNDIALS_NVEC_SERIAL + && N_VGetVectorID(weights) == SUNDIALS_NVEC_SERIAL + && N_VGetLength_Serial(delta) == g->size + && N_VGetLength_Serial(weights) == g->size; + row.norm_observed = valid_vectors; + if (valid_vectors) { + row.norm = N_VWrmsNorm(delta, weights); + row.norm_valid = isfinite(row.norm) && row.norm >= 0; + } + if (row.default_status == SUN_SUCCESS) { + if (row.iteration_status != SUN_SUCCESS || row.iteration < 0) + row.returned_status = SL_GUARD_OWNER; + else if (row.iteration == 0) { + if (!row.norm_valid || !isfinite(tol) || tol <= 0) + row.returned_status = SL_GUARD_VALUE; + else if (row.norm > tol) { + row.returned_status = SUN_NLS_CONTINUE; + row.override = 1; + } + } + } + if (g->count < g->capacity) { + g->records[g->count++] = row; + } else { + /* Retain the complete stored prefix and the first missing row. + * An earlier default failure wins over the trace-cap failure. + */ + if (row.default_status == SUN_SUCCESS) + row.returned_status = SL_GUARD_TRACE_FULL; + if (!g->overflow) g->first_unrecorded = row; + g->overflow = 1; + } + return row.returned_status; +} + +static int sl_ida75_guard_check(sl_ida75_guard *g, void *memory, long generation) +{ + SUNNonlinearSolverContent_Newton content; + if (!g || !memory || g->memory != (IDAMem)memory || generation != g->generation + || g->memory->NLS != g->nls || !g->memory->ownNLS || !g->nls + || !g->nls->ops || g->nls->ops->solve != SUNNonlinSolSolve_Newton + || g->nls->ops->getcuriter != SUNNonlinSolGetCurIter_Newton + || g->nls->ops->setctestfn != SUNNonlinSolSetConvTestFn_Newton + || !g->nls->content) return SL_GUARD_OWNER; + content = (SUNNonlinearSolverContent_Newton)g->nls->content; + return content->CTest == sl_ida75_guard_callback && content->ctest_data == g + && g->original_data == memory ? 0 : SL_GUARD_OWNER; +} + +static int sl_ida75_guard_install(void *memory, sunindextype size, long generation, + size_t capacity, sl_ida75_guard **out) +{ + IDAMem m; + SUNNonlinearSolver nls; + SUNNonlinearSolverContent_Newton content; + sl_ida75_guard *g; + Dl_info callback_image, ida_image; + int major, minor, patch, status; + char label[128]; + long steps; + sunrealtype current_time; + if (!out || *out || !memory || size < 1 || generation < 1 + || capacity < 1 || capacity > SL_GUARD_MAX_RECORDS) return SL_GUARD_OWNER; + status = SUNDIALSGetVersionNumber(&major, &minor, &patch, label, sizeof(label)); + if (status || major != 7 || minor != 5 || patch != 0) return SL_OBS_VERSION; + if (IDAGetNumSteps(memory, &steps) || IDAGetCurrentTime(memory, ¤t_time)) + return SL_OBS_GETTER; + m = (IDAMem)memory; + if (!m->ida_MallocDone || steps != m->ida_nst + || !sl_ida75_same_word(current_time, m->ida_tn) || !m->ownNLS) + return SL_GUARD_OWNER; + nls = m->NLS; + if (!nls || !nls->ops || !nls->content + || nls->ops->solve != SUNNonlinSolSolve_Newton + || nls->ops->getcuriter != SUNNonlinSolGetCurIter_Newton + || nls->ops->setctestfn != SUNNonlinSolSetConvTestFn_Newton) + return SL_GUARD_OWNER; + content = (SUNNonlinearSolverContent_Newton)nls->content; + if (!content->delta || N_VGetVectorID(content->delta) != SUNDIALS_NVEC_SERIAL + || N_VGetLength_Serial(content->delta) != size + || !content->CTest || content->ctest_data != memory + || !dladdr((const void *)content->CTest, &callback_image) + || !dladdr((const void *)&IDAGetCurrentTime, &ida_image) + || callback_image.dli_fbase != ida_image.dli_fbase) return SL_GUARD_OWNER; + g = (sl_ida75_guard *)calloc(1, sizeof(*g)); + if (!g) return SL_GUARD_ALLOCATION; + g->records = (sl_ida75_guard_record *)calloc(capacity, sizeof(*g->records)); + if (!g->records) { free(g); return SL_GUARD_ALLOCATION; } + g->memory = m; + g->nls = nls; + g->original = content->CTest; + g->original_data = content->ctest_data; + g->size = size; + g->generation = generation; + g->capacity = capacity; + *out = g; /* Failed installation is released after the native consumer. */ + status = SUNNonlinSolSetConvTestFn(nls, sl_ida75_guard_callback, g); + if (status) return status; + return sl_ida75_guard_check(g, memory, generation); +} + +static int sl_ida75_guard_reinit(sl_ida75_guard *g, void *memory, long generation) +{ + int status; + if (!g) return 0; + status = sl_ida75_guard_check(g, memory, g->generation); + if (status || g->active || generation <= g->generation) return SL_GUARD_OWNER; + g->generation = generation; + g->operation = g->calls = 0; + g->count = 0; + g->overflow = g->oldnrm_valid = 0; + return 0; +} + +static int sl_ida75_guard_begin(sl_ida75_guard *g, void *memory, long generation) +{ + int status; + if (!g) return 0; + status = sl_ida75_guard_check(g, memory, generation); + if (status || g->active) return SL_GUARD_OWNER; + g->operation++; + g->calls = 0; + g->count = 0; + g->overflow = 0; + g->active = 1; + return 0; +} + +static void sl_ida75_guard_end(sl_ida75_guard *g, int native_status) +{ + if (g) { g->native_status = native_status; g->active = 0; } +} + +/* Call only after IDAFree has destroyed the consumer. No borrowed pointer is + * dereferenced during guard release, including partial-setup cleanup. + */ +static void sl_ida75_guard_free(sl_ida75_guard **guard) +{ + if (guard && *guard) { + free((*guard)->records); + free(*guard); + *guard = NULL; + } +} + +static uint64_t sl_ida75_guard_word(sunrealtype value) +{ + uint64_t word; + memcpy(&word, &value, sizeof(word)); + return word; +} + +/* Explicit zero-step evaluation of the installed parent callback. This is not + * IDAInitialSetup and never writes solver ewt. The callback may update only its + * diagnostic context and the disjoint output. O((maxord_alloc+2)*n) temporary + * bytes verify the native memory record, all allocated-order phi columns and + * solver ewt unchanged. Uninitialized higher phi/ewt bytes are compared only; + * no value is interpreted or exported from those buffers. + */ +static int sl_ida75_evaluate_initial_weights(void *memory, sunindextype n, + sunrealtype t0, IDAEwtFn expected_callback, void *expected_user, + N_Vector output, sunrealtype *initial_basis, size_t basis_count, + int *callback_status, int *phi_columns) +{ + IDAMem m; + int major, minor, patch, count, i, unchanged; + long steps; + sunrealtype now, *rows[MXORDP1 + 1], *out; + size_t row_bytes, saved_bytes; + unsigned char *saved; + unsigned char record[sizeof(struct IDAMemRec)]; + char label[128]; + if (!memory || n <= 0 || !expected_callback || !expected_user || !output + || !initial_basis || !callback_status || !phi_columns + || basis_count != 2 * (size_t)n || !isfinite(t0) + || (size_t)n > SIZE_MAX / sizeof(sunrealtype) / (MXORDP1 + 1)) + return SL_OBS_ARGUMENT; + *callback_status = 0; + *phi_columns = 0; + if (SUNDIALSGetVersionNumber(&major, &minor, &patch, label, sizeof(label)) != 0 + || major != 7 || minor != 5 || patch != 0) return SL_OBS_VERSION; + if (IDAGetNumSteps(memory, &steps) != 0 + || IDAGetCurrentTime(memory, &now) != 0) return SL_OBS_GETTER; + if (steps != 0 || !sl_ida75_same_word(now, t0)) return SL_OBS_STAMP; + m = (IDAMem)memory; + if (!m->ida_MallocDone || m->ida_nst != 0 + || !sl_ida75_same_word(m->ida_tn, t0) + || m->ida_maxord_alloc < 1 || m->ida_maxord_alloc >= MXORDP1 + || !m->ida_user_efun + || m->ida_efun != expected_callback || m->ida_user_data != expected_user) + return SL_OBS_STAMP; + count = m->ida_maxord_alloc + 1; + row_bytes = (size_t)n * sizeof(sunrealtype); + saved_bytes = (size_t)(count + 1) * row_bytes; + if (N_VGetVectorID(output) != SUNDIALS_NVEC_SERIAL + || N_VGetLength_Serial(output) != n) return SL_OBS_VECTOR; + out = N_VGetArrayPointer(output); + if (!out) return SL_OBS_VECTOR; + if (sl_ida75_overlap(out, row_bytes, m, sizeof(*m)) + || sl_ida75_overlap(initial_basis, 2 * row_bytes, m, sizeof(*m)) + || sl_ida75_overlap(initial_basis, 2 * row_bytes, out, row_bytes)) + return SL_OBS_ALIAS; + for (i = 0; i <= count; ++i) { + N_Vector v = i < count ? m->ida_phi[i] : m->ida_ewt; + if (!v || N_VGetVectorID(v) != SUNDIALS_NVEC_SERIAL + || N_VGetLength_Serial(v) != n) return SL_OBS_VECTOR; + rows[i] = N_VGetArrayPointer(v); + if (!rows[i]) return SL_OBS_VECTOR; + if (sl_ida75_overlap(out, row_bytes, rows[i], row_bytes) + || sl_ida75_overlap(initial_basis, 2 * row_bytes, rows[i], row_bytes)) + return SL_OBS_ALIAS; + } + saved = malloc(saved_bytes); + if (!saved) return -7008; /* observation allocation failure */ + memcpy(record, m, sizeof(*m)); + for (i = 0; i <= count; ++i) memcpy(saved + (size_t)i * row_bytes, rows[i], row_bytes); + memcpy(initial_basis, rows[0], row_bytes); + memcpy(initial_basis + n, rows[1], row_bytes); + /* IDAWFtolerances leaves edata NULL before InitialSetup. Use the same + * registered user_data that InitialSetup selects, without assigning edata. + */ + *callback_status = m->ida_efun(m->ida_phi[0], output, m->ida_user_data); + unchanged = memcmp(record, m, sizeof(*m)) == 0; + for (i = 0; i <= count; ++i) + unchanged = (memcmp(saved + (size_t)i * row_bytes, rows[i], row_bytes) == 0) && unchanged; + free(saved); + if (!unchanged) return -7009; /* never restore or hide native mutation */ + *phi_columns = count; + if (*callback_status != 0) return -7014; + for (sunindextype j = 0; j < n; ++j) + if (!isfinite(out[j]) || out[j] <= 0) return SL_OBS_NONFINITE; + return 0; +} + +#endif diff --git a/scripts/benchmarks/ida_observation/ida_superlumt_cleanup.c b/scripts/benchmarks/ida_observation/ida_superlumt_cleanup.c new file mode 100644 index 00000000..4d22d520 --- /dev/null +++ b/scripts/benchmarks/ida_observation/ida_superlumt_cleanup.c @@ -0,0 +1,313 @@ +/* ----------------------------------------------------------------- + * Programmer(s): Daniel Reynolds @ UMBC + * ----------------------------------------------------------------- + * Based on codes _superlumt.c, written by + * Carol S. Woodward @ LLNL + * ----------------------------------------------------------------- + * SUNDIALS Copyright Start + * Copyright (c) 2025, Lawrence Livermore National Security, + * University of Maryland Baltimore County, and the SUNDIALS contributors. + * Copyright (c) 2013-2025, Lawrence Livermore National Security + * and Southern Methodist University. + * Copyright (c) 2002-2013, Lawrence Livermore National Security. + * All rights reserved. + * + * See the top-level LICENSE and NOTICE files for details. + * + * SPDX-License-Identifier: BSD-3-Clause + * SUNDIALS Copyright End + * ----------------------------------------------------------------- + * This is the implementation file for the SuperLUMT implementation + * of the SUNLINSOL package. + * -----------------------------------------------------------------*/ + +/* Source-owned constructor, factor retirement and free, derived from the pinned 7.5.0 file. + * All factorization, solve, ordering and statistics routines remain in the + * unchanged linked SUNDIALS/SuperLU_MT library. See SourcePinsV1.json. */ +#include +#include "ida_superlumt_cleanup.h" + +#define ONE SUN_RCONST(1.0) + +#define SLUMT_CONTENT(S) ((SUNLinearSolverContent_SuperLUMT)(S->content)) +#define LASTFLAG(S) (SLUMT_CONTENT(S)->last_flag) +#define FIRSTFACTORIZE(S) (SLUMT_CONTENT(S)->first_factorize) +#define SM_A(S) (SLUMT_CONTENT(S)->A) +#define SM_AC(S) (SLUMT_CONTENT(S)->AC) +#define SM_L(S) (SLUMT_CONTENT(S)->L) +#define SM_U(S) (SLUMT_CONTENT(S)->U) +#define SM_B(S) (SLUMT_CONTENT(S)->B) +#define GSTAT(S) (SLUMT_CONTENT(S)->Gstat) +#define PERMR(S) (SLUMT_CONTENT(S)->perm_r) +#define PERMC(S) (SLUMT_CONTENT(S)->perm_c) +#define SIZE(S) (SLUMT_CONTENT(S)->N) +#define NUMTHREADS(S) (SLUMT_CONTENT(S)->num_threads) +#define DIAGPIVOTTHRESH(S) (SLUMT_CONTENT(S)->diag_pivot_thresh) +#define ORDERING(S) (SLUMT_CONTENT(S)->ordering) +#define OPTIONS(S) (SLUMT_CONTENT(S)->options) + +static SUNErrCode sl_SUNLinSolFree_SuperLUMT(SUNLinearSolver S); +static SUNErrCode sl_SUNLinSolInitialize_SuperLUMT(SUNLinearSolver S); +extern SUNErrCode SUNLinSolSetOptions_SuperLUMT(SUNLinearSolver S, const char* LSid, + const char* file_name, int argc, char* argv[]); + +SUNLinearSolver sl_SUNLinSol_SuperLUMT(N_Vector y, SUNMatrix A, int num_threads, + SUNContext sunctx) +{ + SUNLinearSolver S; + SUNLinearSolverContent_SuperLUMT content; + sunindextype MatrixRows; + + if (y == NULL || A == NULL) { return NULL; } + + /* Check compatibility with supplied SUNMatrix and N_Vector */ + if (SUNMatGetID(A) != SUNMATRIX_SPARSE) { return (NULL); } + + if (SUNSparseMatrix_Rows(A) != SUNSparseMatrix_Columns(A)) { return (NULL); } + + if ((N_VGetVectorID(y) != SUNDIALS_NVEC_SERIAL) && + (N_VGetVectorID(y) != SUNDIALS_NVEC_OPENMP) && + (N_VGetVectorID(y) != SUNDIALS_NVEC_PTHREADS)) + { + return (NULL); + } + + MatrixRows = SUNSparseMatrix_Rows(A); + if (MatrixRows != N_VGetLength(y)) { return (NULL); } + + /* Create an empty linear solver */ + S = NULL; + S = SUNLinSolNewEmpty(sunctx); + if (S == NULL) { return (NULL); } + + /* Attach operations */ + S->ops->gettype = SUNLinSolGetType_SuperLUMT; + S->ops->getid = SUNLinSolGetID_SuperLUMT; + S->ops->initialize = sl_SUNLinSolInitialize_SuperLUMT; + S->ops->setoptions = SUNLinSolSetOptions_SuperLUMT; + S->ops->setup = SUNLinSolSetup_SuperLUMT; + S->ops->solve = SUNLinSolSolve_SuperLUMT; + S->ops->lastflag = SUNLinSolLastFlag_SuperLUMT; + S->ops->space = SUNLinSolSpace_SuperLUMT; + S->ops->free = sl_SUNLinSolFree_SuperLUMT; + + /* Create content */ + content = NULL; + content = (SUNLinearSolverContent_SuperLUMT)malloc(sizeof *content); + if (content == NULL) + { + SUNLinSolFree(S); + return (NULL); + } + + /* Attach content */ + S->content = content; + + /* Fill content */ + content->N = MatrixRows; + content->last_flag = 0; + content->num_threads = num_threads; + content->diag_pivot_thresh = ONE; + content->ordering = SUNSLUMT_ORDERING_DEFAULT; + content->perm_r = NULL; + content->perm_c = NULL; + content->Gstat = NULL; + content->A = NULL; + content->AC = NULL; + content->L = NULL; + content->U = NULL; + content->B = NULL; + content->options = NULL; + + /* Allocate content */ + content->perm_r = (sunindextype*)malloc(MatrixRows * sizeof(sunindextype)); + if (content->perm_r == NULL) + { + SUNLinSolFree(S); + return (NULL); + } + + content->perm_c = (sunindextype*)malloc(MatrixRows * sizeof(sunindextype)); + if (content->perm_c == NULL) + { + SUNLinSolFree(S); + return (NULL); + } + + content->Gstat = (Gstat_t*)calloc(1, sizeof(Gstat_t)); + if (content->Gstat == NULL) + { + SUNLinSolFree(S); + return (NULL); + } + + content->A = (SuperMatrix*)malloc(sizeof(SuperMatrix)); + if (content->A == NULL) + { + SUNLinSolFree(S); + return (NULL); + } + content->A->Store = NULL; + + content->AC = (SuperMatrix*)malloc(sizeof(SuperMatrix)); + if (content->AC == NULL) + { + SUNLinSolFree(S); + return (NULL); + } + content->AC->Store = NULL; + + content->L = (SuperMatrix*)malloc(sizeof(SuperMatrix)); + if (content->L == NULL) + { + SUNLinSolFree(S); + return (NULL); + } + content->L->Store = NULL; + + content->U = (SuperMatrix*)malloc(sizeof(SuperMatrix)); + if (content->U == NULL) + { + SUNLinSolFree(S); + return (NULL); + } + content->U->Store = NULL; + + content->B = (SuperMatrix*)malloc(sizeof(SuperMatrix)); + if (content->B == NULL) + { + SUNLinSolFree(S); + return (NULL); + } + content->B->Store = NULL; + xCreate_Dense_Matrix(content->B, MatrixRows, 1, NULL, MatrixRows, SLU_DN, + SLU_D, SLU_GE); + + content->options = (superlumt_options_t*)calloc(1, sizeof(superlumt_options_t)); + if (content->options == NULL) + { + SUNLinSolFree(S); + return (NULL); + } + StatAlloc(MatrixRows, num_threads, sp_ienv(1), sp_ienv(2), content->Gstat); + + return (S); +} + +/* Retire only factor-owned data. Matrix wrappers, permutations, options and + Gstat remain owned by the solver. Native initialize resets FIRSTFACTORIZE, + so every subsequent refact=NO setup must begin without the previous data. */ +static void sl_RetireFactorData_SuperLUMT(SUNLinearSolver S) +{ + if (OPTIONS(S)) + { + SUPERLU_FREE(OPTIONS(S)->etree); + OPTIONS(S)->etree = NULL; + SUPERLU_FREE(OPTIONS(S)->colcnt_h); + OPTIONS(S)->colcnt_h = NULL; + SUPERLU_FREE(OPTIONS(S)->part_super_h); + OPTIONS(S)->part_super_h = NULL; + } + if (SM_AC(S) && SM_AC(S)->Store) + { + Destroy_CompCol_Permuted(SM_AC(S)); + SM_AC(S)->Store = NULL; + } + if (SM_L(S) && SM_L(S)->Store) + { + Destroy_SuperNode_SCP(SM_L(S)); + SM_L(S)->Store = NULL; + } + if (SM_U(S) && SM_U(S)->Store) + { + Destroy_CompCol_NCP(SM_U(S)); + SM_U(S)->Store = NULL; + } +} + +static SUNErrCode sl_SUNLinSolInitialize_SuperLUMT(SUNLinearSolver S) +{ + if (S == NULL || S->content == NULL) { return SUN_ERR_ARG_CORRUPT; } + sl_RetireFactorData_SuperLUMT(S); + return SUNLinSolInitialize_SuperLUMT(S); +} + +static SUNErrCode sl_SUNLinSolFree_SuperLUMT(SUNLinearSolver S) +{ + /* return with success if already freed */ + if (S == NULL) { return SUN_SUCCESS; } + + /* delete items from the contents structure (if it exists) */ + if (S->content) + { + sl_RetireFactorData_SuperLUMT(S); + if (PERMR(S)) + { + free(PERMR(S)); + PERMR(S) = NULL; + } + if (PERMC(S)) + { + free(PERMC(S)); + PERMC(S) = NULL; + } + if (OPTIONS(S)) + { + free(OPTIONS(S)); + OPTIONS(S) = NULL; + } + if (SM_L(S)) + { + free(SM_L(S)); + SM_L(S) = NULL; + } + if (SM_U(S)) + { + free(SM_U(S)); + SM_U(S) = NULL; + } + if (GSTAT(S)) + { + StatFree(GSTAT(S)); + free(GSTAT(S)); + GSTAT(S) = NULL; + } + if (SM_B(S)) + { + if (SM_B(S)->Store) + { + Destroy_SuperMatrix_Store(SM_B(S)); + SM_B(S)->Store = NULL; + } + free(SM_B(S)); + SM_B(S) = NULL; + } + if (SM_A(S)) + { + if (SM_A(S)->Store) + { + SUPERLU_FREE(SM_A(S)->Store); + SM_A(S)->Store = NULL; + } + free(SM_A(S)); + SM_A(S) = NULL; + } + if (SM_AC(S)) + { + free(SM_AC(S)); + SM_AC(S) = NULL; + } + free(S->content); + S->content = NULL; + } + + /* delete generic structures */ + if (S->ops) + { + free(S->ops); + S->ops = NULL; + } + free(S); + S = NULL; + return SUN_SUCCESS; +} diff --git a/scripts/benchmarks/ida_observation/ida_superlumt_cleanup.h b/scripts/benchmarks/ida_observation/ida_superlumt_cleanup.h new file mode 100644 index 00000000..05de698f --- /dev/null +++ b/scripts/benchmarks/ida_observation/ida_superlumt_cleanup.h @@ -0,0 +1,12 @@ +/* Source-owned lifetime entry, exact SUNDIALS 7.5.0 double/int32 ABI. */ +#ifndef SOLARLAB_IDA_SUPERLUMT_CLEANUP_H +#define SOLARLAB_IDA_SUPERLUMT_CLEANUP_H +#include +#if SUNDIALS_VERSION_MAJOR != 7 || SUNDIALS_VERSION_MINOR != 5 || SUNDIALS_VERSION_PATCH != 0 +#error "The cleanup source requires SUNDIALS 7.5.0" +#endif +#if !defined(SUNDIALS_DOUBLE_PRECISION) || !defined(SUNDIALS_INT32_T) +#error "The cleanup source requires the pinned double/int32 configuration" +#endif +SUNLinearSolver sl_SUNLinSol_SuperLUMT(N_Vector y, SUNMatrix A, int num_threads, SUNContext sunctx); +#endif diff --git a/scripts/benchmarks/ida_observation/scikit_sundae_1_1_3.patch b/scripts/benchmarks/ida_observation/scikit_sundae_1_1_3.patch new file mode 100644 index 00000000..635eb8b5 --- /dev/null +++ b/scripts/benchmarks/ida_observation/scikit_sundae_1_1_3.patch @@ -0,0 +1,1613 @@ +--- a/src/sksundae/c_ida.pxd ++++ b/src/sksundae/c_ida.pxd +@@ -8,6 +8,7 @@ + # user-supplied functions + ctypedef int (*IDAResFn)(sunrealtype t, N_Vector yy, N_Vector yp, N_Vector rr, void* data) except -1 + ctypedef int (*IDARootFn)(sunrealtype t, N_Vector yy, N_Vector yp, sunrealtype* ee, void* data) except -1 ++ ctypedef int (*IDAEwtFn)(N_Vector yy, N_Vector ewt, void* data) noexcept + + # itask + int IDA_NORMAL +@@ -30,6 +31,7 @@ + # tolerance input functions + int IDASStolerances(void* mem, sunrealtype rtol, sunrealtype atol) + int IDASVtolerances(void* mem, sunrealtype rtol, N_Vector atol) ++ int IDAWFtolerances(void* mem, IDAEwtFn efun) + + # initial condition calculation function + int IDACalcIC(void* mem, int ic_opt, sunrealtype ic_t0) +@@ -50,6 +52,15 @@ + int IDASetMaxConvFails(void* mem, int max_conv_fails) + int IDASetMaxNonlinIters(void* mem, int max_nonlin_iters) + ++ int IDASetNonlinConvCoef(void* mem, sunrealtype epcon) ++ int IDAGetIntegratorStats(void* mem, long int* nsteps, long int* nrevals, ++ long int* nlinsetups, long int* netfails, ++ int* qlast, int* qcur, sunrealtype* hinused, ++ sunrealtype* hlast, sunrealtype* hcur, ++ sunrealtype* tcur) ++ int IDAGetNonlinSolvStats(void* mem, long int* nniters, long int* nnfails) ++ int IDAGetCurrentCj(void* mem, sunrealtype* cj) ++ + # rootfinding initialization function + int IDARootInit(void* mem, int nrtfn, IDARootFn eventsfn) + +@@ -65,6 +76,14 @@ + int IDAGetRootInfo(void* mem, int* rootsfound) + int IDAGetNumResEvals(void* mem, long int* nrevals) + int IDAGetCurrentStep(void* mem, sunrealtype* hcur) ++ int IDAGetNumSteps(void* mem, long int* nsteps) ++ int IDAGetCurrentTime(void* mem, sunrealtype* tcur) ++ int IDAGetLastStep(void* mem, sunrealtype* hlast) ++ int IDAGetLastOrder(void* mem, int* klast) ++ int IDAGetCurrentOrder(void* mem, int* kcur) ++ int IDAGetDky(void* mem, sunrealtype t, int k, N_Vector dky) ++ int IDAGetErrWeights(void* mem, N_Vector eweight) ++ int IDAGetEstLocalErrors(void* mem, N_Vector ele) + + # free functions + void IDAFree(void** mem) +@@ -103,3 +122,50 @@ + + # optional outputs from LS interface + int IDAGetNumJacEvals(void* mem, long int* njevals) ++ ++ ++# Source-owned 7.5.0 serial-word copier, compiled in this owning extension. ++from libc.stddef cimport size_t ++from libc.stdint cimport uint64_t ++cdef extern from "ida_observation_copy.h": ++ const char* sl_ida75_library_path() ++ int sl_ida75_copy(void* memory, sunindextype n, long ns, ++ sunrealtype tn, sunrealtype hu, int qu, ++ sunrealtype hn, int qn, ++ sunrealtype* phi, size_t phi_count, ++ sunrealtype* psi, size_t psi_count, ++ sunrealtype* uround) ++ int sl_ida75_evaluate_initial_weights(void* memory, sunindextype n, sunrealtype t0, ++ IDAEwtFn expected_callback, void* expected_user, N_Vector output, ++ sunrealtype* initial_basis, size_t basis_count, int* callback_status, int* phi_columns) ++ int sl_ida75_nls_state(void* memory, long ns, long nni, ++ sunrealtype tn, sunrealtype hu, int qu, ++ sunrealtype hn, int qn, int read_step, ++ sunrealtype* values, size_t count) ++ ++ ctypedef struct sl_ida75_guard_record: ++ long generation, operation, sequence, step ++ int iteration, iteration_status, default_status, returned_status, override ++ int oldnrm_before_valid, oldnrm_after_valid, norm_observed, norm_valid ++ sunrealtype norm, tolerance, ss_before, ss_after, oldnrm_before, oldnrm_after ++ sunrealtype toldel, time, cj ++ ctypedef struct sl_ida75_guard: ++ long generation, operation, calls ++ size_t capacity, count ++ int active, overflow ++ sl_ida75_guard_record* records ++ sl_ida75_guard_record first_unrecorded ++ int sl_ida75_guard_install(void* memory, sunindextype size, long generation, ++ size_t capacity, sl_ida75_guard** out) ++ int sl_ida75_guard_check(sl_ida75_guard* g, void* memory, long generation) ++ int sl_ida75_guard_reinit(sl_ida75_guard* g, void* memory, long generation) ++ int sl_ida75_guard_begin(sl_ida75_guard* g, void* memory, long generation) ++ void sl_ida75_guard_end(sl_ida75_guard* g, int native_status) ++ void sl_ida75_guard_free(sl_ida75_guard** g) ++ uint64_t sl_ida75_guard_word(sunrealtype value) ++ ++ ++# Only allocation/free are source-owned; numerical operations use pinned native exports. ++cdef extern from "ida_superlumt_cleanup.h": ++ SUNLinearSolver sl_SUNLinSol_SuperLUMT(N_Vector y, SUNMatrix A, ++ int nthreads, SUNContext ctx) +--- a/src/sksundae/_cy_ida.pyx ++++ b/src/sksundae/_cy_ida.pyx +@@ -6,7 +6,14 @@ + # Standard library + import os + import inspect +- ++import math ++from hashlib import sha256 ++from pathlib import Path ++from threading import RLock ++from types import MappingProxyType ++from uuid import uuid4 ++ ++from copy import deepcopy + from warnings import warn + from numbers import Integral, Real + from typing import Callable, Iterable +@@ -21,6 +28,7 @@ + + # Extern cdef headers + from .c_ida cimport * ++from libc.math cimport isfinite + from .c_nvector cimport * + from .c_sundials cimport * + from .c_sunmatrix cimport * +@@ -34,6 +42,294 @@ + from .utils import RichResult + from .ida._precond import IDAPrecond + from .ida._jactimes import IDAJacTimes ++ ++# This bounded C callback uses only its AuxData-owned context and public IDA ++# APIs. It never calls a Python weight function or changes native u/history. ++cdef extern from *: ++ """ ++ #include ++ #include ++ #include ++ #include ++ #include ++ #include ++ typedef struct { ++ void *memory, *owner; ++ long generation, calls; ++ sunindextype n; ++ int installed, status, component; ++ double t0, rtol, basis_time; ++ char frame_id[65]; ++ double *data, *q0, *v0, *atol, *u, *parent, *weights; ++ int physical_mode; ++ double *scale, *reference, *lift; ++ double protocol_start, protocol_end; ++ double input_start[2], input_end[2], input_rate[2], input_reference[2]; ++ char profile_id[65]; ++ } sl_parent_weights; ++ ++ static void sl_parent_weights_free(sl_parent_weights **p) { ++ if (p && *p) { free((*p)->data); free(*p); *p = NULL; } ++ } ++ static sl_parent_weights *sl_parent_weights_new(void *mem, void *owner, ++ long generation, sunindextype n, double t0, double rtol, ++ const double *q0, const double *v0, const double *atol, const char *id) { ++ if (!mem || !owner || generation < 1 || n < 1 || n > 1000000) return NULL; ++ sl_parent_weights *p = calloc(1, sizeof(*p)); ++ if (!p) return NULL; ++ p->data = calloc((size_t)n*17, sizeof(double)); ++ if (!p->data) { free(p); return NULL; } ++ p->memory=mem; p->owner=owner; p->generation=generation; p->n=n; ++ p->t0=t0; p->rtol=rtol; p->status=1; p->component=-1; ++ p->q0=p->data; p->v0=p->q0+4*n; p->atol=p->v0+4*n; ++ p->u=p->atol+n; p->parent=p->u+n; p->weights=p->parent+n; ++ p->scale=p->weights+n; p->reference=p->scale+n; p->lift=p->reference+2*n; ++ memcpy(p->q0,q0,(size_t)n*4*sizeof(double)); ++ memcpy(p->v0,v0,(size_t)n*4*sizeof(double)); ++ memcpy(p->atol,atol,(size_t)n*sizeof(double)); ++ memcpy(p->frame_id,id,64); p->frame_id[64]=0; ++ return p; ++ } ++ /* Exact error-free partials, then one ties-to-even binary64 rounding. ++ At most 21 finite input terms; any intermediate overflow fails closed. */ ++ static int sl_parent_sum(const double *values, int count, double *answer) { ++ double p[64], x, y, hi=0.0, lo=0.0, yr; int n=0, i, j; ++ if (count > 64) return -8; ++ for (j=0; j0.0 && p[n-1]>0.0))) { ++ y=lo*2.0; x=hi+y; yr=x-hi; if (y==yr) hi=x; ++ } ++ } else hi=0.0; ++ if (!isfinite(hi)) return -5; ++ *answer=hi; return 0; ++ } ++ static int sl_parent_product(double a, double b, double *terms, int *n) { ++ if (a==0.0 || b==0.0) return 0; ++ int ea, eb; (void)frexp(a,&ea); (void)frexp(b,&eb); ++ /* Guarantees that every exact product bit is above the subnormal ++ floor. Unsupported tiny products are errors, never dropped. */ ++ if (ea+eb < -968) return -5; ++ double hi=a*b; ++ if (!isfinite(hi)) return -5; ++ double lo=fma(a,b,-hi); ++ if (!isfinite(lo)) return -5; ++ terms[(*n)++]=hi; terms[(*n)++]=lo; return 0; ++ } ++ static void sl_physical_weights_set(sl_parent_weights *p, const double *scale, ++ const double *reference, const double *lift, double start, double end, ++ const double *input_start, const double *input_end, ++ const double *input_rate, const double *input_reference, const char *id) { ++ p->physical_mode=1; p->protocol_start=start; p->protocol_end=end; ++ memcpy(p->scale,scale,(size_t)p->n*sizeof(double)); ++ memcpy(p->reference,reference,(size_t)p->n*2*sizeof(double)); ++ memcpy(p->lift,lift,(size_t)p->n*2*sizeof(double)); ++ memcpy(p->input_start,input_start,2*sizeof(double)); ++ memcpy(p->input_end,input_end,2*sizeof(double)); ++ memcpy(p->input_rate,input_rate,2*sizeof(double)); ++ memcpy(p->input_reference,input_reference,2*sizeof(double)); ++ memcpy(p->profile_id,id,64); p->profile_id[64]=0; ++ } ++ static int sl_parent_weights_apply(sl_parent_weights *p, void *owner, ++ long generation, N_Vector y, N_Vector w) { ++ if (!p) return -1; ++ ++p->calls; p->status=-2; p->component=-1; ++ if (!p->installed || p->owner!=owner || p->generation!=generation) return -1; ++ p->status=-3; ++ if (!y || !w || N_VGetVectorID(y)!=SUNDIALS_NVEC_SERIAL || ++ N_VGetVectorID(w)!=SUNDIALS_NVEC_SERIAL || ++ N_VGetLength_Serial(y)!=p->n || N_VGetLength_Serial(w)!=p->n) return -1; ++ double *u=N_VGetArrayPointer(y), *ewt=N_VGetArrayPointer(w), t; ++ if (!u || !ewt) return -1; ++ memcpy(p->u,u,(size_t)p->n*sizeof(double)); ++ p->status=-4; ++ if (IDAGetCurrentTime(p->memory,&t)!=0 || !isfinite(t)) return -1; ++ p->basis_time=t; ++ double inputs[2]={0.0,0.0}; ++ if (p->physical_mode) { ++ if (tprotocol_start || t>p->protocol_end) { p->status=-9; return -1; } ++ for (int j=0;j<2;++j) { ++ if (t==p->protocol_start) inputs[j]=p->input_start[j]; ++ else if (t==p->protocol_end) inputs[j]=p->input_end[j]; ++ else inputs[j]=p->input_start[j]+p->input_rate[j]*(t-p->protocol_start); ++ if (!isfinite(inputs[j])) { p->status=-9; return -1; } ++ } ++ } ++ double dt=t-p->t0, bv=dt-t, dtlo=(t-(dt-bv))+(-p->t0-bv); ++ if (!isfinite(dt) || !isfinite(dtlo)) { p->status=-5; return -1; } ++ for (sunindextype i=0; in; ++i) { ++ p->component=(int)i; ++ double terms[24], q, den, product; int n=0, status; ++ if (!isfinite(u[i])) { p->status=-5; return -1; } ++ terms[n++]=u[i]; ++ for (int k=0; k<4; ++k) { ++ terms[n++]=p->q0[k*p->n+i]; ++ status=sl_parent_product(dt,p->v0[k*p->n+i],terms,&n); ++ if (!status) status=sl_parent_product(dtlo,p->v0[k*p->n+i],terms,&n); ++ if (status) { p->status=status; return -1; } ++ } ++ if (p->physical_mode) { ++ double physical[64]; int used=0; ++ for (int k=0;kscale[i],terms[k],physical,&used); ++ if (status) { p->status=status; return -1; } ++ } ++ physical[used++]=p->reference[i]; physical[used++]=p->reference[p->n+i]; ++ for (int j=0;j<2;++j) { ++ status=sl_parent_product(p->lift[2*i+j],inputs[j],physical,&used); ++ if (!status) status=sl_parent_product(-p->lift[2*i+j],p->input_reference[j],physical,&used); ++ if (status) { p->status=status; return -1; } ++ } ++ status=sl_parent_sum(physical,used,&q); ++ } else status=sl_parent_sum(terms,n,&q); ++ if (status) { p->status=status; return -1; } ++ /* Match original SV: abs, separately rounded scale and sum, inv. ++ The supported builder disables contraction and fast math. */ ++ product=p->rtol*fabs(q); den=product+p->atol[i]; ++ if (!isfinite(den) || den<=0.0) { p->status=-6; return -1; } ++ double weight=(p->physical_mode ? p->scale[i] : 1.0)/den; ++ if (!isfinite(weight) || weight<=0.0) { p->status=-7; return -1; } ++ p->parent[i]=q; p->weights[i]=weight; ewt[i]=weight; ++ } ++ p->status=0; p->component=-1; return 0; ++ } ++ """ ++ ctypedef struct sl_parent_weights: ++ void* memory ++ void* owner ++ long generation, calls ++ sunindextype n ++ int installed, status, component ++ double t0, rtol, basis_time ++ char frame_id[65] ++ double *q0, *v0, *atol, *u, *parent, *weights ++ int physical_mode ++ double *scale, *reference, *lift ++ double protocol_start, protocol_end ++ double input_start[2], input_end[2], input_rate[2], input_reference[2] ++ char profile_id[65] ++ sl_parent_weights* sl_parent_weights_new(void*, void*, long, sunindextype, double, double, ++ const double*, const double*, const double*, const char*) ++ void sl_parent_weights_free(sl_parent_weights**) ++ void sl_physical_weights_set(sl_parent_weights*, const double*, const double*, const double*, ++ double, double, const double*, const double*, const double*, const double*, const char*) ++ int sl_parent_weights_apply(sl_parent_weights*, void*, long, N_Vector, N_Vector) noexcept ++ ++ ++def _validate_parent_weight_frame(value): ++ if value is None: ++ return None ++ keys = {"schema", "frame_identity", "t0_hex", "size", "q0_words_hex", "v0_words_hex", "weight_rounding"} ++ if (type(value) is not dict or set(value) != keys ++ or value["schema"] != "sksundae.ida.parent-affine-weights.v1" ++ or value["weight_rounding"] != "RN-exact-parent-q_then-unfused-SV-v1" ++ or type(value["size"]) is not int or not 1 <= value["size"] <= 1000000 ++ or type(value["frame_identity"]) is not str or len(value["frame_identity"]) != 64 ++ or any(c not in "0123456789abcdef" for c in value["frame_identity"])): ++ raise ValueError("invalid parent_weight_frame binding") ++ def word(v): ++ if type(v) is not str: ++ raise ValueError("parent_weight_frame requires exact hex words") ++ number = float.fromhex(v) ++ if not math.isfinite(number) or number.hex() != v: ++ raise ValueError("noncanonical parent_weight_frame word") ++ return number ++ word(value["t0_hex"]) ++ for key in ("q0_words_hex", "v0_words_hex"): ++ rows = value[key] ++ if type(rows) is not list or len(rows) != 4 or any(type(r) is not list or len(r) != value["size"] for r in rows): ++ raise ValueError("parent_weight_frame shape") ++ numbers = [[word(v) for v in row] for row in rows] ++ for terms in zip(*numbers): ++ prefix = [] ++ for supplied in terms: ++ rounded = math.fsum((*terms, *(-v for v in prefix))) ++ if supplied != rounded: ++ raise ValueError("unnormalized parent_weight_frame words") ++ prefix.append(supplied) ++ return deepcopy(value) ++ ++def _validate_physical_weight_frame(value): ++ base = {"schema", "frame_identity", "t0_hex", "size", "q0_words_hex", "v0_words_hex", "weight_rounding"} ++ extra = {"profile_identity", "rtol_hex", "atol_physical_hex", "scale_hex", "reference_words_hex", "lift_hex", ++ "reference_inputs_hex", "protocol_start_hex", "protocol_end_hex", "inputs_start_hex", "inputs_end_hex", "input_rates_hex"} ++ if (type(value) is not dict or set(value) != base | extra ++ or value["schema"] != "sksundae.ida.physical-affine-weights.v1" ++ or value["weight_rounding"] != "RN-exact-physical-X_then-unfused-physical-EWT-v1"): ++ raise ValueError("invalid physical_weight_frame binding") ++ parent = {k: value[k] for k in base} ++ parent.update(schema="sksundae.ida.parent-affine-weights.v1", weight_rounding="RN-exact-parent-q_then-unfused-SV-v1") ++ _validate_parent_weight_frame(parent) ++ identity = value["profile_identity"] ++ if type(identity) is not str or len(identity) != 64 or any(c not in "0123456789abcdef" for c in identity): ++ raise ValueError("physical_weight_frame profile identity") ++ def word(v, positive=False): ++ if type(v) is not str: ++ raise ValueError("physical_weight_frame requires exact hex words") ++ f = float.fromhex(v) ++ if not math.isfinite(f) or f.hex() != v or positive and f <= 0: ++ raise ValueError("physical_weight_frame finite positive word") ++ return f ++ def vector(v, size, positive=False): ++ if type(v) is not list or len(v) != size: ++ raise ValueError("physical_weight_frame shape") ++ return [word(x, positive) for x in v] ++ n=value["size"] ++ word(value["rtol_hex"], True) ++ vector(value["atol_physical_hex"], n, True) ++ vector(value["scale_hex"], n, True) ++ if type(value["reference_words_hex"]) is not list or len(value["reference_words_hex"]) != 2: ++ raise ValueError("physical_weight_frame reference shape") ++ for row in value["reference_words_hex"]: vector(row,n) ++ if type(value["lift_hex"]) is not list or len(value["lift_hex"]) != n: ++ raise ValueError("physical_weight_frame lift shape") ++ for row in value["lift_hex"]: vector(row,2) ++ vector(value["reference_inputs_hex"],2) ++ start,end=word(value["protocol_start_hex"]),word(value["protocol_end_hex"]) ++ if not start < end or not start <= word(value["t0_hex"]) <= end: ++ raise ValueError("physical_weight_frame protocol time") ++ first,last,rates=(vector(value[k],2) for k in ("inputs_start_hex","inputs_end_hex","input_rates_hex")) ++ if any(v != (b-a)/(end-start) for a,b,v in zip(first,last,rates)): ++ raise ValueError("physical_weight_frame forcing law") ++ return deepcopy(value) ++ ++ ++# Replaced only by the source/hash-checked observation build helper. ++_OBSERVATION_BUILD_ID = None ++_OBSERVATION_LIBRARIES = () ++_OBSERVATION_CONFIG_SHA256 = None ++_OBSERVATION_HEADER_SHA256 = "04988c332e2d004b4e838ffca847990f353f68d41cb225f1b9085b3a8bed52ce" ++_OBSERVATION_NEWTON_HEADER_SHA256 = '738770bf87bf52c1ad6358581bb0dbf091145af9b0e4d9c4725f4582490d7383' ++_OBSERVATION_SCHEMA = "sksundae.ida.accepted-step-observation.v1" ++_OBSERVATION_CONFIG = tuple(sorted(config.items())) ++ ++ ++class IDAObservationError(RuntimeError): ++ """Unavailable observation or native getter failure; status is retained.""" ++ def __init__(self, code, operation=None, native_status=None): ++ self.code = code ++ self.operation = operation ++ self.native_status = native_status ++ super().__init__(f"{code}: {operation}, native_status={native_status}") ++ ++ ++def _observation_status(operation, status): ++ if status != 0: ++ raise IDAObservationError("native_getter_failed", operation, int(status)) ++ return (operation, int(status)) + + + # Messages shorted from documentation online: +@@ -255,6 +551,8 @@ + cdef np.ndarray np_cc # constraints (-2, -1, 0, 1, 2) + cdef bint with_userdata + cdef bint is_constrained ++ cdef sl_parent_weights* parent_weights ++ cdef long frame_generation + + cdef object resfn # Callable + cdef object userdata # Any +@@ -266,6 +564,8 @@ + cdef object jactimes # IDAJacTimes + + def __cinit__(self, sunindextype NEQ, object options): ++ self.parent_weights = NULL ++ self.frame_generation = 0 + self.np_yy = np.empty(NEQ, DTYPE) + self.np_yp = np.empty(NEQ, DTYPE) + self.np_rr = np.empty(NEQ, DTYPE) +@@ -327,6 +627,14 @@ + self.np_cc = np.zeros(0, INT_TYPE) + + ++cdef int _parent_weight_wrapper(N_Vector y, N_Vector w, void* data) noexcept: ++ # Typed access to the registered owner; no Python callable or array work. ++ if data is NULL: ++ return -1 ++ return sl_parent_weights_apply((data).parent_weights, data, ++ (data).frame_generation, y, w) ++ ++ + cdef class _idaLSSparseDQJac: + """ + Sparse Jacobian approximation. +@@ -464,8 +772,21 @@ + cdef object _malloc # bool - flag for memory allocation + cdef object _options # dict[str, Any] + cdef object _initialized # bool - flag for init_step completion ++ cdef object _obs_lock, _obs_instance, _obs_endpoint, _obs_previous ++ cdef object _obs_reason, _obs_binding ++ cdef long _obs_generation ++ cdef bint _obs_busy ++ cdef sl_ida75_guard* _nls_guard ++ cdef object _nls_trace + + def __cinit__(self, object resfn, **options): ++ self._obs_lock = RLock() ++ self._obs_instance = uuid4().hex ++ self._obs_generation = 0 ++ self._obs_busy = False ++ self._obs_binding = None ++ self._nls_guard = NULL ++ self._nls_trace = None + self._free_memory() + + self._options = { +@@ -488,6 +809,11 @@ + "max_order": 5, + "max_num_steps": 500, + "max_nonlin_iters": 4, ++ "nonlin_conv_coef": None, ++ "nonlin_guard": None, ++ "nonlin_trace_capacity": 4096, ++ "parent_weight_frame": None, ++ "physical_weight_frame": None, + "max_conv_fails": 10, + "constraints_idx": None, + "constraints_type": None, +@@ -503,6 +829,14 @@ + raise ValueError(f"Invalid keyword arguments: {invalid_keys}.") + + self._options.update(options) ++ if self._options["physical_weight_frame"] is not None: ++ if self._options["parent_weight_frame"] is not None: ++ raise ValueError("physical and parent weight options are mutually exclusive") ++ physical = _validate_physical_weight_frame(self._options["physical_weight_frame"]) ++ self._options["physical_weight_frame"] = physical ++ self._options["parent_weight_frame"] = physical ++ else: ++ self._options["parent_weight_frame"] = _validate_parent_weight_frame(self._options["parent_weight_frame"]) + + _check_options(self._options) + +@@ -544,7 +878,7 @@ + nthreads = self._options["nthreads"] + + self.A = SUNSparseMatrix(self.NEQ, self.NEQ, nnz, CSC_MAT, self.ctx) +- self.LS = SUNLinSol_SuperLUMT(self.yy, self.A, nthreads, self.ctx) ++ self.LS = sl_SUNLinSol_SuperLUMT(self.yy, self.A, nthreads, self.ctx) + + elif linsolver == "gmres": + self.LS = SUNLinSol_SPGMR(self.yy, prectype, maxl, self.ctx) +@@ -561,6 +895,59 @@ + raise MemoryError("SUNLinSol constructor returned NULL.") + + cdef _set_tolerances(self): ++ cdef sl_parent_weights* context = NULL ++ cdef sl_parent_weights* retired = NULL ++ cdef np.ndarray q0, v0, absolute, scale, reference, lift, input_first, input_last, input_rates, input_reference ++ cdef sunrealtype tcur ++ if self._options["parent_weight_frame"] is not None: ++ spec = self._options["parent_weight_frame"] ++ self._obs_bind_source() ++ if spec["size"] != self.NEQ: ++ raise ValueError("parent_weight_frame dimension changed") ++ status = IDAGetCurrentTime(self.mem, &tcur) ++ if status != 0 or float(tcur).hex() != spec["t0_hex"]: ++ raise IDAObservationError("parent_weight_frame_initial_time", "IDAGetCurrentTime", int(status)) ++ q0 = np.ascontiguousarray([[float.fromhex(v) for v in row] for row in spec["q0_words_hex"]], dtype=DTYPE) ++ v0 = np.ascontiguousarray([[float.fromhex(v) for v in row] for row in spec["v0_words_hex"]], dtype=DTYPE) ++ absolute = np.array(np.broadcast_to(self._options["atol"], (int(self.NEQ),)), dtype=DTYPE, copy=True) ++ if (not np.isfinite(absolute).all() or np.any(absolute <= 0) ++ or not math.isfinite(self._options["rtol"]) or self._options["rtol"] <= 0): ++ raise ValueError("parent_weight_frame nonpositive or nonfinite tolerance") ++ physical = self._options["physical_weight_frame"] is not None ++ if physical: ++ scale = np.array([float.fromhex(v) for v in spec["scale_hex"]], dtype=DTYPE) ++ physical_absolute = np.array([float.fromhex(v) for v in spec["atol_physical_hex"]], dtype=DTYPE) ++ if (self._options["rtol"] != float.fromhex(spec["rtol_hex"]) ++ or not np.array_equal(absolute, physical_absolute / scale)): ++ raise ValueError("physical_weight_frame tolerance controls mismatch") ++ absolute = physical_absolute ++ reference = np.array([[float.fromhex(v) for v in row] for row in spec["reference_words_hex"]], dtype=DTYPE) ++ lift = np.array([[float.fromhex(v) for v in row] for row in spec["lift_hex"]], dtype=DTYPE) ++ input_first, input_last, input_rates, input_reference = ( ++ np.array([float.fromhex(v) for v in spec[k]], dtype=DTYPE) for k in ++ ("inputs_start_hex", "inputs_end_hex", "input_rates_hex", "reference_inputs_hex")) ++ encoded_id = spec["frame_identity"].encode("ascii") ++ context = sl_parent_weights_new(self.mem, self.aux, self._obs_generation, ++ self.NEQ, tcur, self._options["rtol"], q0.data, ++ v0.data, absolute.data, encoded_id) ++ if context is NULL: ++ raise MemoryError("parent weight context allocation failed") ++ if physical: ++ profile_id = spec["profile_identity"].encode("ascii") ++ sl_physical_weights_set(context, scale.data, reference.data, lift.data, ++ float.fromhex(spec["protocol_start_hex"]), float.fromhex(spec["protocol_end_hex"]), ++ input_first.data, input_last.data, input_rates.data, ++ input_reference.data, profile_id) ++ status = IDAWFtolerances(self.mem, _parent_weight_wrapper) ++ if status != 0: ++ sl_parent_weights_free(&context) ++ raise IDAObservationError("parent_weight_install_failed", "IDAWFtolerances", int(status)) ++ context.installed = 1 ++ retired = self.aux.parent_weights ++ self.aux.parent_weights = context ++ self.aux.frame_generation = self._obs_generation ++ sl_parent_weights_free(&retired) ++ return + rtol = self._options["rtol"] + atol = self._options["atol"] + +@@ -587,42 +974,52 @@ + raise RuntimeError("IDAtolerances - " + IDAMESSAGES[flag]) + + cdef _free_memory(self): ++ self._obs_endpoint = None ++ self._obs_previous = None ++ self._obs_reason = ("no_accepted_step", None) + if self.mem is not NULL: + IDAFree(&self.mem) + self.mem = NULL +- ++ if self.aux is not None: ++ sl_parent_weights_free(&self.aux.parent_weights) ++ self.aux.frame_generation = 0 ++ sl_ida75_guard_free(&self._nls_guard) ++ ++ # Dependencies outlive their native consumers. ++ if self.LS is not NULL: ++ SUNLinSolFree(self.LS) ++ self.LS = NULL ++ ++ if self.A is not NULL: ++ SUNMatDestroy(self.A) ++ self.A = NULL ++ ++ if self.atol is not NULL: ++ N_VDestroy(self.atol) ++ self.atol = NULL ++ ++ if self.algidx is not NULL: ++ N_VDestroy(self.algidx) ++ self.algidx = NULL ++ ++ if self.constraints is not NULL: ++ N_VDestroy(self.constraints) ++ self.constraints = NULL ++ ++ if self.yy is not NULL: ++ N_VDestroy(self.yy) ++ self.yy = NULL ++ ++ if self.yp is not NULL: ++ N_VDestroy(self.yp) ++ self.yp = NULL ++ ++ + if self.ctx is not NULL: + SUNContext_Free(&self.ctx) + self.ctx = NULL + +- if self.atol is not NULL: +- N_VDestroy(self.atol) +- self.atol = NULL +- +- if self.algidx is not NULL: +- N_VDestroy(self.algidx) +- self.algidx = NULL +- +- if self.constraints is not NULL: +- N_VDestroy(self.constraints) +- self.constraints = NULL +- +- if self.yy is not NULL: +- N_VDestroy(self.yy) +- self.yy = NULL +- +- if self.yp is not NULL: +- N_VDestroy(self.yp) +- self.yp = NULL +- +- if self.A is not NULL: +- SUNMatDestroy(self.A) +- self.A = NULL +- +- if self.LS is not NULL: +- SUNLinSolFree(self.LS) +- self.LS = NULL +- ++ self._initialized = False + self._size = None + self._malloc = False + +@@ -680,6 +1077,13 @@ + flag = IDAInit(self.mem, _resfn_wrapper, t0, self.yy, self.yp) + if flag < 0: + raise RuntimeError("IDAInit - " + IDAMESSAGES[flag]) ++ ++ if self._options["nonlin_guard"] is not None: ++ self._obs_bind_source() ++ flag = sl_ida75_guard_install(self.mem, self.NEQ, self._obs_generation, ++ self._options["nonlin_trace_capacity"], &self._nls_guard) ++ if flag != 0: ++ raise IDAObservationError("nonlinear_guard_install_failed", "install", flag) + + # 9) Specify integration tolerances + self._set_tolerances() +@@ -732,6 +1136,13 @@ + if flag < 0: + raise RuntimeError("IDASetMaxNonlinIters - " + IDAMESSAGES[flag]) + ++ cdef sunrealtype nonlin_conv_coef ++ if self._options["nonlin_conv_coef"] is not None: ++ nonlin_conv_coef = self._options["nonlin_conv_coef"] ++ flag = IDASetNonlinConvCoef(self.mem, nonlin_conv_coef) ++ if flag < 0: ++ raise RuntimeError("IDASetNonlinConvCoef - " + IDAMESSAGES[flag]) ++ + cdef int max_conv_fails = self._options["max_conv_fails"] + flag = IDASetMaxConvFails(self.mem, max_conv_fails) + if flag < 0: +@@ -820,6 +1231,10 @@ + cdef int ic_opt + cdef sunrealtype ic_t0 + ++ self._obs_generation += 1 ++ self._obs_endpoint = None ++ self._obs_previous = None ++ self._obs_reason = ("no_accepted_step", None) + yy_tmp = y0.copy() + yp_tmp = yp0.copy() + +@@ -840,6 +1255,11 @@ + flag = IDAReInit(self.mem, t0, self.yy, self.yp) + if flag < 0: + raise RuntimeError("IDAReInit - " + IDAMESSAGES[flag]) ++ flag = sl_ida75_guard_reinit(self._nls_guard, self.mem, self._obs_generation) ++ if flag != 0: ++ raise IDAObservationError("nonlinear_guard_reinit_failed", "reinit", flag) ++ if self._options["parent_weight_frame"] is not None: ++ self._set_tolerances() # Refresh even on same-size IDAReInit. + + # 16) Correct initial values + calc_initcond = self._options["calc_initcond"] +@@ -878,6 +1298,8 @@ + nfev=nfev, njev=njev, + ) + ++ self._obs_endpoint = self._obs_point(0, t0, t0, flag) ++ self._nls_trace = self._guard_snapshot(None) + return result + + cdef _step(self, sunrealtype tt, object method, object tstop): +@@ -899,11 +1321,21 @@ + yp_tmp = self.aux.np_yp + + # 17) Advance solution in time ++ observation_before = self._obs_before_step() ++ guard_status = sl_ida75_guard_begin(self._nls_guard, self.mem, self._obs_generation) ++ if guard_status != 0: ++ raise IDAObservationError("nonlinear_guard_begin_failed", "begin", guard_status) + flag = IDASolve(self.mem, tt, &tout, self.yy, self.yp, itask) +- +- if PyErr_Occurred(): +- _pyerr_handler() +- ++ sl_ida75_guard_end(self._nls_guard, flag) ++ try: ++ if PyErr_Occurred(): ++ _pyerr_handler() ++ except BaseException: ++ self._guard_store(flag, True) ++ raise ++ self._guard_store(flag) ++ ++ self._obs_after_step(observation_before, tout, flag) + svec2np(self.yy, yy_tmp) + svec2np(self.yp, yp_tmp) + +@@ -968,11 +1400,13 @@ + while True: + tend = tspan[ind] + ++ observation_before = self._obs_before_step() + flag = IDASolve(self.mem, tend, &tt, self.yy, self.yp, IDA_NORMAL) + + if PyErr_Occurred(): + _pyerr_handler() + ++ self._obs_after_step(observation_before, tt, flag) + svec2np(self.yy, yy_tmp) + svec2np(self.yp, yp_tmp) + +@@ -1059,11 +1493,13 @@ + + # 17) Advance solution in time + while True: ++ observation_before = self._obs_before_step() + flag = IDASolve(self.mem, tend, &tt, self.yy, self.yp, IDA_ONE_STEP) + + if PyErr_Occurred(): + _pyerr_handler() + ++ self._obs_after_step(observation_before, tt, flag) + svec2np(self.yy, yy_tmp) + svec2np(self.yp, yp_tmp) + +@@ -1111,49 +1547,654 @@ + + return result + +- def init_step(self, DTYPE_t t0, object y0, object yp0): ++ cdef _obs_raw(self): ++ yy = np.empty(self.NEQ, DTYPE) ++ yp = np.empty(self.NEQ, DTYPE) ++ svec2np(self.yy, yy) ++ svec2np(self.yp, yp) ++ return yy.tobytes(), yp.tobytes() ++ ++ cdef _obs_point(self, long nsteps, sunrealtype tn, sunrealtype tret, int flag): ++ yy, yp = self._obs_raw() ++ return MappingProxyType({ ++ "owner": self._obs_instance, "generation": self._obs_generation, ++ "nsteps": int(nsteps), "internal_t": float(tn), ++ "output_t": float(tret), "native_status": int(flag), ++ "raw_y": yy, "raw_yp": yp, ++ "identity": (self._obs_instance, self._obs_generation, int(nsteps), ++ float(tn).hex(), float(tret).hex(), sha256(yy + yp).hexdigest()), ++ }) ++ ++ cdef _obs_before_step(self): ++ cdef long nsteps ++ cdef sunrealtype tn ++ # Metadata failure must not replace an existing solve result/status. ++ if IDAGetNumSteps(self.mem, &nsteps) != 0: ++ return None ++ if IDAGetCurrentTime(self.mem, &tn) != 0: ++ return None ++ endpoint = self._obs_endpoint ++ if (endpoint is None or endpoint["generation"] != self._obs_generation ++ or endpoint["nsteps"] != nsteps ++ or endpoint["internal_t"].hex() != float(tn).hex()): ++ endpoint = None ++ return int(nsteps), float(tn), endpoint ++ ++ cdef _obs_after_step(self, before, sunrealtype tret, int flag): ++ cdef long nsteps ++ cdef sunrealtype tn ++ cdef int status ++ self._obs_endpoint = None ++ self._obs_previous = None ++ self._obs_reason = ("integration_failed", int(flag)) ++ if flag < 0: ++ return ++ status = IDAGetNumSteps(self.mem, &nsteps) ++ if status != 0: ++ self._obs_reason = ("IDAGetNumSteps", int(status)) ++ return ++ status = IDAGetCurrentTime(self.mem, &tn) ++ if status != 0: ++ self._obs_reason = ("IDAGetCurrentTime", int(status)) ++ return ++ self._obs_reason = ("output_not_at_accepted_time", None) ++ if float(tret).hex() != float(tn).hex(): ++ return ++ self._obs_endpoint = self._obs_point(nsteps, tn, tret, flag) ++ self._obs_reason = ("predecessor_not_observed", None) ++ if before is not None and before[2] is not None and nsteps == before[0] + 1: ++ self._obs_previous = before[2] ++ self._obs_reason = None ++ ++ cdef _obs_stamp(self): ++ cdef long nsteps ++ cdef sunrealtype tn, hused, hh ++ cdef int kused, kk ++ statuses = ( ++ _observation_status("IDAGetNumSteps", IDAGetNumSteps(self.mem, &nsteps)), ++ _observation_status("IDAGetCurrentTime", IDAGetCurrentTime(self.mem, &tn)), ++ _observation_status("IDAGetLastStep", IDAGetLastStep(self.mem, &hused)), ++ _observation_status("IDAGetLastOrder", IDAGetLastOrder(self.mem, &kused)), ++ _observation_status("IDAGetCurrentStep", IDAGetCurrentStep(self.mem, &hh)), ++ _observation_status("IDAGetCurrentOrder", IDAGetCurrentOrder(self.mem, &kk)), ++ ) ++ if nsteps < 1 or hused == 0 or not 1 <= kused <= 5: ++ raise IDAObservationError("no_accepted_interval") ++ if not (np.isfinite(tn) and np.isfinite(hused) and np.isfinite(hh)): ++ raise IDAObservationError("nonfinite_interval") ++ return MappingProxyType({"nsteps": int(nsteps), "tn": float(tn), ++ "hused": float(hused), "kused": int(kused), "hh": float(hh), ++ "kk": int(kk), "statuses": statuses}) ++ ++ cdef _obs_vector(self, sunrealtype tn, int kind, int k, bint allow_failure=False): ++ cdef N_Vector scratch = NULL ++ cdef int status ++ scratch = N_VNew_Serial(self.NEQ, self.ctx) ++ if scratch is NULL: ++ raise MemoryError("observation N_Vector allocation failed") ++ try: ++ if kind == 0: ++ operation = f"IDAGetDky[{k}]" ++ status = IDAGetDky(self.mem, tn, k, scratch) ++ elif kind == 1: ++ operation = "IDAGetErrWeights" ++ status = IDAGetErrWeights(self.mem, scratch) ++ else: ++ operation = "IDAGetEstLocalErrors" ++ status = IDAGetEstLocalErrors(self.mem, scratch) ++ if allow_failure and status != 0: ++ return None, (operation, int(status)) ++ receipt = _observation_status(operation, status) ++ values = np.empty(self.NEQ, DTYPE) ++ svec2np(scratch, values) ++ if not np.all(np.isfinite(values)): ++ raise IDAObservationError("nonfinite_vector", operation, int(status)) ++ if kind == 1 and not np.all(values > 0): ++ raise IDAObservationError("invalid_error_weights", operation, int(status)) ++ return values.tobytes(), receipt ++ finally: ++ N_VDestroy(scratch) ++ ++ cdef _obs_basis(self, stamp): ++ cdef int q = stamp["kused"] ++ cdef sunrealtype uround ++ cdef np.ndarray phi = np.empty((q + 1, int(self.NEQ)), DTYPE, order="C") ++ cdef np.ndarray psi = np.empty(q, DTYPE) ++ cdef int status ++ if np.dtype(DTYPE).str != "phi.data, phi.size, psi.data, psi.size, &uround) ++ if status != 0: ++ raise IDAObservationError("native_basis_copy_failed", "sl_ida75_copy", int(status)) ++ return MappingProxyType({"kind": "ida75_phi_psi_copy_v1", "status": int(status), ++ "dtype": np.dtype(DTYPE).str, "phi_shape": (q + 1, int(self.NEQ)), ++ "phi": phi.tobytes(order="C"), "psi_shape": (q,), "psi": psi.tobytes(), ++ "uround": float(uround), "source_header_sha256": _OBSERVATION_HEADER_SHA256, ++ "source_config_sha256": _OBSERVATION_CONFIG_SHA256, ++ "build_identity": self._obs_binding["identity"]}) ++ ++ cdef _obs_bind_source(self): ++ cdef const char* native_library ++ if (_OBSERVATION_BUILD_ID is None or not _OBSERVATION_LIBRARIES ++ or _OBSERVATION_CONFIG_SHA256 is None): ++ raise IDAObservationError("unbound_build_identity") ++ if self._obs_binding is None: ++ native_library = sl_ida75_library_path() ++ if native_library is NULL: ++ raise IDAObservationError("native_library_identity_unavailable") ++ library_path = Path(os.fsdecode(native_library)).resolve(strict=True) ++ library_root = Path(__file__).parent / ".dylibs" ++ if library_path != (library_root / "libsundials_ida.7.5.0.dylib").resolve(strict=True): ++ raise IDAObservationError("different_native_library_loaded") ++ libraries = tuple((name, sha256((library_root / name).read_bytes()).hexdigest()) ++ for name, _ in _OBSERVATION_LIBRARIES) ++ if libraries != _OBSERVATION_LIBRARIES: ++ raise IDAObservationError("native_library_payload_changed") ++ binary_id = sha256(Path(__file__).read_bytes()).hexdigest() ++ source = (_OBSERVATION_SCHEMA, "scikit-sundae=1.1.3", ++ _OBSERVATION_BUILD_ID, binary_id, _OBSERVATION_CONFIG, ++ _OBSERVATION_HEADER_SHA256, _OBSERVATION_CONFIG_SHA256, libraries) ++ self._obs_binding = MappingProxyType({"source": source, ++ "identity": sha256(repr(source).encode()).hexdigest(), ++ "build_recipe_sha256": _OBSERVATION_BUILD_ID, ++ "native_library_path": str(library_path), "libraries": libraries}) ++ return self._obs_binding ++ ++ def evaluate_initial_parent_weights(self): ++ """Evaluate the installed callback at native phi0/time, before any step. ++ ++ This updates the parent diagnostic cache, not solver ewt or history. ++ Returned weights are explicitly evaluated, not solver-applied weights. ++ """ ++ cdef N_Vector scratch = NULL ++ cdef int status, callback_status = 0, phi_columns = 0 ++ cdef sunrealtype t0 ++ cdef np.ndarray basis, values ++ with self._obs_lock: ++ if self._obs_busy: ++ raise IDAObservationError("operation_in_progress") ++ if not self._initialized or self.mem == NULL: ++ raise RuntimeError("IDA must be initialized before evaluating parent weights.") ++ if self._options["parent_weight_frame"] is None: ++ raise IDAObservationError("parent_weight_evaluation_requires_opt_in") ++ endpoint = self._obs_endpoint ++ if (self._obs_reason != ("no_accepted_step", None) or self._obs_previous is not None ++ or endpoint is None or endpoint["owner"] != self._obs_instance ++ or endpoint["generation"] != self._obs_generation ++ or endpoint["nsteps"] != 0 or endpoint["native_status"] < 0 ++ or endpoint["internal_t"].hex() != self._options["parent_weight_frame"]["t0_hex"] ++ or endpoint["output_t"].hex() != endpoint["internal_t"].hex()): ++ raise IDAObservationError("initial_parent_weight_phase_unavailable") ++ self._obs_busy = True ++ try: ++ binding = self._obs_bind_source() ++ before = self._frame_snapshot() ++ if before is None or not before["installed"]: ++ raise IDAObservationError("parent_weight_context_unavailable") ++ t0 = float.fromhex(before["t0_hex"]) ++ scratch = N_VNew_Serial(self.NEQ, self.ctx) ++ if scratch is NULL: ++ raise MemoryError("parent weight evaluation output allocation failed") ++ basis = np.empty((2, int(self.NEQ)), dtype=DTYPE, order="C") ++ status = sl_ida75_evaluate_initial_weights(self.mem, self.NEQ, t0, ++ _parent_weight_wrapper, self.aux, scratch, ++ basis.data, 2 * self.NEQ, ++ &callback_status, &phi_columns) ++ if status != 0: ++ raise IDAObservationError("initial_parent_weight_evaluation_failed", ++ "sl_ida75_evaluate_initial_weights", int(status)) ++ values = np.empty(self.NEQ, dtype=DTYPE) ++ svec2np(scratch, values) ++ after = self._frame_snapshot() ++ if (after["callback_calls"] != before["callback_calls"] + 1 ++ or after["computed_weights"] != values.tobytes() ++ or after["basis_u"] != basis[0].tobytes() ++ or after["basis_time_hex"] != before["t0_hex"] ++ or basis[0].tobytes() != endpoint["raw_y"] ++ or basis[1].tobytes() != endpoint["raw_yp"]): ++ raise IDAObservationError("initial_parent_weight_evaluation_readback") ++ return {"schema": ("sksundae.ida.initial-physical-weight-evaluation.v1" if self._options["physical_weight_frame"] is not None ++ else "sksundae.ida.initial-parent-weight-evaluation.v1"), ++ "binding": binding, "owner": self._obs_instance, ++ "generation": self._obs_generation, "size": int(self.NEQ), ++ "native_steps": 0, "time_hex": before["t0_hex"], ++ "frame_identity": after["frame_identity"], ++ "weights": values.tobytes(), "native_initial_state": basis[0].tobytes(), ++ "native_initial_rate": basis[1].tobytes(), ++ "native_memory_phi_and_ewt_unchanged": True, ++ "preserved_phi_columns": int(phi_columns), ++ "callback_status": int(callback_status), ++ "parent_weight_state": after, ++ "diagnostic_cache_updated": True, ++ "solver_applied_weights": False, ++ "role": "explicit installed-callback evaluation before first native step"} ++ finally: ++ if scratch is not NULL: ++ N_VDestroy(scratch) ++ self._obs_busy = False ++ ++ @staticmethod ++ def parent_weight_capability(): ++ return {"schema": "sksundae.ida.parent-affine-weights-capability.v1", ++ "public_setter": "IDAWFtolerances", "callback": "compiled_C_via_registered_AuxData", ++ "rounding": "RN-exact-parent-q_then-unfused-SV-v1", "word_capacity": 4, ++ "sum_term_capacity": 32, "minimum_nonzero_product_frexp_exponent_sum": -968, ++ "default": "off", "same_size_reinit_refresh": True, "raw_tolerance_getter": False, ++ "build_recipe_sha256": _OBSERVATION_BUILD_ID, ++ "extension_sha256": sha256(Path(__file__).read_bytes()).hexdigest(), ++ "config": _OBSERVATION_CONFIG, "native_initializations_performed": 0} ++ ++ @staticmethod ++ def physical_weight_capability(): ++ return {"schema": "sksundae.ida.physical-affine-weights-capability.v1", ++ "public_setter": "IDAWFtolerances", "callback": "compiled_C_via_registered_AuxData", ++ "rounding": "RN-exact-physical-X_then-unfused-physical-EWT-v1", ++ "word_capacity": 4, "sum_term_capacity": 64, "default": "off", ++ "same_size_reinit_refresh": True, "native_initializations_performed": 0, ++ "build_recipe_sha256": _OBSERVATION_BUILD_ID, ++ "extension_sha256": sha256(Path(__file__).read_bytes()).hexdigest()} ++ ++ cdef _frame_snapshot(self): ++ cdef sl_parent_weights* g = NULL ++ cdef int k ++ if self.aux is not None: ++ g = self.aux.parent_weights ++ if g is NULL: ++ return None ++ if (g.memory != self.mem or g.owner != self.aux or g.n != self.NEQ ++ or g.generation != self._obs_generation or g.generation != self.aux.frame_generation): ++ raise IDAObservationError("parent_weight_context_lifetime") ++ binding = self._obs_bind_source() ++ q0, v0 = [], [] ++ for k in range(4): ++ q0.append(((g.q0+k*g.n))[:g.n*sizeof(double)]) ++ v0.append(((g.v0+k*g.n))[:g.n*sizeof(double)]) ++ result = {"schema": "sksundae.ida.parent-affine-weight-state.v1", ++ "owner": self._obs_instance, "generation": g.generation, "size": int(g.n), ++ "frame_identity": (g.frame_id)[:64].decode("ascii"), ++ "build_identity": binding["identity"], "installed": bool(g.installed), ++ "setter": "IDAWFtolerances", "setter_status": 0 if g.installed else None, ++ "t0_hex": float(g.t0).hex(), "rtol_hex": float(g.rtol).hex(), ++ "q0_words": tuple(q0), "v0_words": tuple(v0), "atol": (g.atol)[:g.n*sizeof(double)], ++ "callback_calls": g.calls, "callback_status": g.status if g.calls else None, ++ "failure_component": g.component if g.calls and g.status else None, ++ "basis_time_hex": float(g.basis_time).hex() if g.calls else None, ++ "basis_u": (g.u)[:g.n*sizeof(double)] if g.calls else None, ++ "rounded_parent": (g.parent)[:g.n*sizeof(double)] if g.calls and g.status == 0 else None, ++ "computed_weights": (g.weights)[:g.n*sizeof(double)] if g.calls and g.status == 0 else None, ++ "weight_rounding": "RN-exact-parent-q_then-unfused-SV-v1", ++ "basis_role": "actual IDAEwtFn argument at IDAGetCurrentTime; not returned endpoint", ++ "raw_tolerance_getter": False} ++ if g.physical_mode: ++ result.update(schema="sksundae.ida.physical-affine-weight-state.v1", ++ weight_rounding="RN-exact-physical-X_then-unfused-physical-EWT-v1", ++ profile_identity=(g.profile_id)[:64].decode("ascii"), ++ scale=(g.scale)[:g.n*sizeof(double)], ++ reference_words=(g.reference)[:2*g.n*sizeof(double)], ++ lift=(g.lift)[:2*g.n*sizeof(double)], ++ protocol_start_hex=float(g.protocol_start).hex(), protocol_end_hex=float(g.protocol_end).hex(), ++ inputs_start=(float(g.input_start[0]), float(g.input_start[1])), ++ inputs_end=(float(g.input_end[0]), float(g.input_end[1])), ++ input_rates=(float(g.input_rate[0]), float(g.input_rate[1])), ++ reference_inputs=(float(g.input_reference[0]), float(g.input_reference[1]))) ++ result["rounded_physical"] = result.pop("rounded_parent") ++ return result ++ ++ cdef _obs_nls_state(self, long nsteps, long nniters, ++ sunrealtype tcur, sunrealtype hlast, int qlast, ++ sunrealtype hcur, int qcur): ++ cdef np.ndarray values = np.empty(5, DTYPE) ++ cdef bint read_step = False ++ cdef int status ++ binding = self._obs_bind_source() ++ if np.dtype(DTYPE).str != " 0 and nniters > 0 and endpoint is not None ++ and endpoint["generation"] == self._obs_generation ++ and endpoint["nsteps"] == nsteps and endpoint["native_status"] >= 0 ++ and endpoint["internal_t"].hex() == float(tcur).hex()): ++ read_step = True ++ phase = "accepted_native_return" ++ status = sl_ida75_nls_state(self.mem, nsteps, nniters, tcur, hlast, ++ qlast, hcur, qcur, read_step, values.data, values.size) ++ if status != 0: ++ raise IDAObservationError("native_nls_state_copy_failed", "sl_ida75_nls_state", int(status)) ++ names = ("epcon", "epsNewt", "ss", "oldnrm", "toldel") ++ valid = names if read_step else names[:1] ++ return {"schema": "sksundae.ida.nonlinear-control-state.v1", "phase": phase, ++ "valid_fields": valid, "status": int(status), ++ "epcon": float(values[0]), ++ "epsNewt": float(values[1]) if read_step else None, ++ "ss": float(values[2]) if read_step else None, ++ "oldnrm": float(values[3]) if read_step else None, ++ "toldel": float(values[4]) if read_step else None, ++ "source_header_sha256": _OBSERVATION_HEADER_SHA256, ++ "source_config_sha256": _OBSERVATION_CONFIG_SHA256, ++ "build_identity": binding["identity"], ++ "scope": "actual native scalars under owner lock; not a last-correction or iteration trace"} ++ ++ def last_step_snapshot(self, *, expected_step=None): ++ cdef int k ++ with self._obs_lock: ++ if self._obs_busy: ++ raise IDAObservationError("operation_in_progress") ++ if (_OBSERVATION_BUILD_ID is None or not _OBSERVATION_LIBRARIES ++ or _OBSERVATION_CONFIG_SHA256 is None): ++ raise IDAObservationError("unbound_build_identity") ++ if self.mem is NULL or not self._malloc: ++ raise IDAObservationError("no_accepted_step") ++ self._obs_bind_source() ++ before = self._obs_stamp() ++ key = (self._obs_binding["identity"], self._obs_instance, ++ self._obs_generation, before["nsteps"], before["tn"].hex(), ++ before["hused"].hex(), before["kused"], before["hh"].hex(), before["kk"]) ++ if expected_step is not None: ++ if (type(expected_step) is not tuple or len(expected_step) != len(key) ++ or any(type(a) is not type(b) for a, b in zip(expected_step, key))): ++ raise IDAObservationError("invalid_step_key") ++ if expected_step != key: ++ raise IDAObservationError("stale_instance_generation_or_step") ++ if self._obs_reason is not None: ++ raise IDAObservationError(self._obs_reason[0], native_status=self._obs_reason[1]) ++ endpoint, previous = self._obs_endpoint, self._obs_previous ++ if (endpoint is None or previous is None ++ or endpoint["nsteps"] != before["nsteps"] ++ or endpoint["internal_t"].hex() != before["tn"].hex() ++ or previous["nsteps"] + 1 != before["nsteps"]): ++ raise IDAObservationError("predecessor_not_observed") ++ if (not np.isfinite(previous["internal_t"]) ++ or (before["hused"] > 0 and before["tn"] <= previous["internal_t"]) ++ or (before["hused"] < 0 and before["tn"] >= previous["internal_t"])): ++ raise IDAObservationError("invalid_observed_interval") ++ # tn is the sole query anchor; no arbitrary time/order is accepted. ++ # Keep the signed native interval and witnessed predecessor separate. ++ raw = self._obs_raw() ++ if raw != (endpoint["raw_y"], endpoint["raw_yp"]): ++ raise IDAObservationError("raw_endpoint_changed") ++ for buffer in raw + (previous["raw_y"], previous["raw_yp"]): ++ if not np.all(np.isfinite(np.frombuffer(buffer, dtype=DTYPE))): ++ raise IDAObservationError("nonfinite_raw_endpoint") ++ basis = self._obs_basis(before) ++ derivative_buffers, statuses = [], [] ++ for k in range(before["kused"] + 1): ++ values, status = self._obs_vector(before["tn"], 0, k) ++ derivative_buffers.append(values) ++ statuses.append(status) ++ weights, weight_status = self._obs_vector(before["tn"], 1, 0) ++ errors, error_status = self._obs_vector(before["tn"], 2, 0) ++ predecessor_before = self._obs_stamp() ++ predecessor_buffers, predecessor_statuses = [], [] ++ for k in (0, 1): ++ values, status = self._obs_vector(previous["internal_t"], 0, k, True) ++ predecessor_buffers.append(values) ++ predecessor_statuses.append(status[1]) ++ predecessor_after = self._obs_stamp() ++ predecessor_dky = MappingProxyType({ ++ "query_t": previous["internal_t"], "query_t_hex": previous["internal_t"].hex(), ++ "orders": (0, 1), "buffers": tuple(predecessor_buffers), ++ "statuses": tuple(predecessor_statuses), ++ "native_eligible": all(status == 0 for status in predecessor_statuses), ++ "step_before": predecessor_before, "step_after": predecessor_after}) ++ after = self._obs_stamp() ++ if (dict(before) != dict(after) or self._obs_raw() != raw ++ or dict(before) != dict(predecessor_before) ++ or dict(before) != dict(predecessor_after) ++ or basis != self._obs_basis(after)): ++ raise IDAObservationError("accepted_step_or_raw_buffer_changed") ++ return MappingProxyType({"schema": _OBSERVATION_SCHEMA, ++ "binding": self._obs_binding, "step_key": key, ++ "owner": self._obs_instance, "generation": self._obs_generation, ++ "native_before": before, "native_after": after, ++ "predecessor": previous, "endpoint": endpoint, ++ "dtype": np.dtype(DTYPE).str, "shape": (int(self.NEQ),), ++ "raw_y": raw[0], "raw_yp": raw[1], ++ "dky": tuple(derivative_buffers), "error_weights": weights, ++ "estimated_local_errors": errors, ++ "vector_statuses": tuple(statuses) + (weight_status, error_status), ++ "native_left_terms": (before["tn"], -before["hused"]), ++ "clock_gap_terms": (before["tn"], -before["hused"], -previous["internal_t"]), ++ "coefficient_kind": "copied_phi_psi_words_with_rounded_Dky_receipts", ++ "basis": basis, "predecessor_dky": predecessor_dky, "event_metadata": None, ++ **({"parent_weight_state": self._frame_snapshot()} ++ if self._options["parent_weight_frame"] is not None else {})}) ++ ++ def init_step(self, DTYPE_t t0, object y0, object yp0, *, parent_weight_frame=None, physical_weight_frame=None): ++ with self._obs_lock: ++ if self._obs_busy: ++ raise IDAObservationError("operation_in_progress") ++ self._obs_busy = True ++ try: ++ if physical_weight_frame is not None: ++ if parent_weight_frame is not None or self._options["physical_weight_frame"] is None: ++ raise ValueError("physical weight reinit requires exclusive constructor opt-in") ++ physical = _validate_physical_weight_frame(physical_weight_frame) ++ if float.fromhex(physical["rtol_hex"]) != self._options["rtol"]: ++ raise ValueError("physical weight reinit cannot change rtol") ++ if physical["size"] != self.NEQ: ++ self._options["atol"] = np.array([float.fromhex(a)/float.fromhex(b) ++ for a,b in zip(physical["atol_physical_hex"], physical["scale_hex"])], dtype=DTYPE) ++ self._options["physical_weight_frame"] = physical ++ self._options["parent_weight_frame"] = physical ++ if parent_weight_frame is not None: ++ if self._options["physical_weight_frame"] is not None: ++ raise ValueError("cannot replace physical weights with parent weights") ++ if self._options["parent_weight_frame"] is None: ++ raise ValueError("parent weight reinit requires explicit constructor opt-in") ++ self._options["parent_weight_frame"] = _validate_parent_weight_frame(parent_weight_frame) + +- y0 = np.asarray(y0, DTYPE) +- yp0 = np.asarray(yp0, DTYPE) ++ y0 = np.asarray(y0, DTYPE) ++ yp0 = np.asarray(yp0, DTYPE) + +- return self._init_step(t0, y0, yp0) ++ return self._init_step(t0, y0, yp0) ++ ++ except BaseException: ++ # Release a partial setup, then preserve the initiating error. ++ self._free_memory() ++ self._obs_endpoint = None ++ self._obs_previous = None ++ self._obs_reason = ("operation_failed", None) ++ raise ++ finally: ++ self._obs_busy = False + + def step(self, DTYPE_t t, object method, object tstop): +- +- method = method.lower() +- valid = {"normal", "onestep"} +- if method not in valid: +- raise ValueError(f"'method' is invalid. Valid values are {valid}.") +- elif not self._initialized: +- raise ValueError("'init_step' must be run prior to 'step'.") +- +- if tstop is None: +- pass +- elif not isinstance(tstop, Real): +- raise TypeError("'tstop' must be type float, or None.") ++ with self._obs_lock: ++ if self._obs_busy: ++ raise IDAObservationError("operation_in_progress") ++ self._obs_busy = True ++ try: ++ ++ method = method.lower() ++ if self._options["parent_weight_frame"] is not None and method != "onestep": ++ raise ValueError("parent_weight_frame requires init_step/step(method='onestep')") ++ if self._options["nonlin_guard"] is not None and method != "onestep": ++ raise ValueError("nonlin_guard requires init_step/step(method='onestep')") ++ valid = {"normal", "onestep"} ++ if method not in valid: ++ raise ValueError(f"'method' is invalid. Valid values are {valid}.") ++ elif not self._initialized: ++ raise ValueError("'init_step' must be run prior to 'step'.") ++ ++ if tstop is None: ++ pass ++ elif not isinstance(tstop, Real): ++ raise TypeError("'tstop' must be type float, or None.") + +- return self._step(t, method, tstop) ++ return self._step(t, method, tstop) ++ ++ except BaseException: ++ self._obs_endpoint = None ++ self._obs_previous = None ++ self._obs_reason = ("operation_failed", None) ++ raise ++ finally: ++ self._obs_busy = False + + def solve(self, object tspan, object y0, object yp0): +- +- tspan = np.asarray(tspan, DTYPE) +- y0 = np.asarray(y0, DTYPE) +- yp0 = np.asarray(yp0, DTYPE) +- +- diff = np.diff(tspan) +- if not all(diff > 0) ^ all(diff < 0): +- raise ValueError("'tspan' must stictly increase or decrease.") +- +- if tspan.size > 2: +- soln = self._normal_solve(tspan, y0, yp0) +- elif tspan.size == 2: +- soln = self._onestep_solve(tspan, y0, yp0) +- else: +- raise ValueError("'tspan' length must be >= 2.") +- +- self._initialized = False +- +- return soln ++ with self._obs_lock: ++ if self._obs_busy: ++ raise IDAObservationError("operation_in_progress") ++ self._obs_busy = True ++ try: ++ if self._options["parent_weight_frame"] is not None: ++ raise ValueError("parent_weight_frame requires init_step/step(method='onestep')") ++ ++ if self._options["nonlin_guard"] is not None: ++ raise ValueError("nonlin_guard requires init_step/step(method='onestep')") ++ tspan = np.asarray(tspan, DTYPE) ++ y0 = np.asarray(y0, DTYPE) ++ yp0 = np.asarray(yp0, DTYPE) ++ ++ diff = np.diff(tspan) ++ if not all(diff > 0) ^ all(diff < 0): ++ raise ValueError("'tspan' must stictly increase or decrease.") ++ ++ if tspan.size > 2: ++ soln = self._normal_solve(tspan, y0, yp0) ++ elif tspan.size == 2: ++ soln = self._onestep_solve(tspan, y0, yp0) ++ else: ++ raise ValueError("'tspan' length must be >= 2.") ++ ++ self._initialized = False ++ ++ return soln ++ ++ except BaseException: ++ self._obs_endpoint = None ++ self._obs_previous = None ++ self._obs_reason = ("operation_failed", None) ++ raise ++ finally: ++ self._obs_busy = False ++ ++ cdef _guard_row(self, sl_ida75_guard_record row): ++ names = ("correction_wrms", "tolerance", "ss_before", "ss_after", ++ "oldnrm_before", "oldnrm_after", "toldel", "time", "cj") ++ values = (row.norm, row.tolerance, row.ss_before, row.ss_after, ++ row.oldnrm_before, row.oldnrm_after, row.toldel, row.time, row.cj) ++ words = (sl_ida75_guard_word(row.norm), sl_ida75_guard_word(row.tolerance), ++ sl_ida75_guard_word(row.ss_before), sl_ida75_guard_word(row.ss_after), ++ sl_ida75_guard_word(row.oldnrm_before), sl_ida75_guard_word(row.oldnrm_after), ++ sl_ida75_guard_word(row.toldel), sl_ida75_guard_word(row.time), ++ sl_ida75_guard_word(row.cj)) ++ available = (bool(row.norm_observed), True, True, True, ++ bool(row.oldnrm_before_valid), bool(row.oldnrm_after_valid), True, True, True) ++ result = {name: value if known and isfinite(value) else None ++ for name, value, known in zip(names, values, available)} ++ result.update(generation=row.generation, operation=row.operation, ++ sequence=row.sequence, native_step=row.step, iteration=row.iteration, ++ iteration_getter_status=row.iteration_status, default_status=row.default_status, ++ returned_status=row.returned_status, guard_override=bool(row.override), ++ native_words={name: format(word, "016x") if known else None ++ for name, word, known in zip(names, words, available)}, ++ nonfinite_fields=tuple(name for name, value, known in zip(names, values, available) ++ if known and not isfinite(value))) ++ return result ++ ++ cdef _guard_snapshot(self, native_status): ++ cdef size_t i ++ cdef int status ++ cdef sl_ida75_guard* g = self._nls_guard ++ if g is NULL: ++ return {"schema": "sksundae.ida.nonlinear-guard-trace.v1", ++ "requested_policy": self._options["nonlin_guard"], ++ "installed_at_capture": False, "status": "disabled", ++ "records": (), "complete": True} ++ status = sl_ida75_guard_check(g, self.mem, self._obs_generation) ++ if status != 0 or g.active: ++ raise IDAObservationError("nonlinear_guard_owner_changed", "capture", status) ++ records = [] ++ for i in range(g.count): ++ records.append(self._guard_row(g.records[i])) ++ records = tuple(records) ++ return {"schema": "sksundae.ida.nonlinear-guard-trace.v1", ++ "requested_policy": self._options["nonlin_guard"], ++ "applied_policy": "first-correction-wrms-v1", "installed_at_capture": True, ++ "delegate_data_verified": True, "newton_ops_verified": True, ++ "owner": self._obs_instance, "generation": g.generation, ++ "operation": g.operation, "native_status": native_status, ++ "status": "initialized" if g.operation == 0 else "returned", ++ "capacity": g.capacity, "callback_count": g.calls, "record_count": g.count, ++ "complete": not g.overflow, "overflow": bool(g.overflow), ++ "first_unrecorded": self._guard_row(g.first_unrecorded) if g.overflow else None, ++ "records": records, "scope": "this IDASolve call, including retries; not a last-correction estimate", ++ "build_identity": self._obs_bind_source()["identity"], ++ "source_header_sha256": _OBSERVATION_HEADER_SHA256, ++ "source_newton_header_sha256": _OBSERVATION_NEWTON_HEADER_SHA256, ++ "source_config_sha256": _OBSERVATION_CONFIG_SHA256} ++ ++ cdef _guard_store(self, int native_status, bint preserve_failure=False): ++ if self._nls_guard is NULL: ++ return ++ try: ++ self._nls_trace = self._guard_snapshot(native_status) ++ except BaseException as error: ++ self._nls_trace = {"schema": "sksundae.ida.nonlinear-guard-trace.v1", ++ "status": "capture_failed", "complete": False, "native_status": native_status, ++ "owner": self._obs_instance, "generation": self._obs_generation, ++ "error_type": type(error).__name__, "error": str(error)} ++ if native_status >= 0 and not preserve_failure: ++ raise ++ ++ def nonlinear_trace(self): ++ """Return the owned actual callback trace, including a failed native call.""" ++ with self._obs_lock: ++ if self._obs_busy: ++ raise IDAObservationError("operation_in_progress") ++ return deepcopy(self._nls_trace) ++ ++ def statistics(self): ++ """Read native counters under the same owner lock; do not advance. ++ ++ BR01: method fields remain raw at zero steps and after reinit. ++ BR02: the window is init_step/step, not after batch solve. ++ BR03: counters/cj do not reconstruct Newton iteration history. ++ """ ++ cdef long int nsteps, nres, nsetups, netfails, nniters, nnfails, njac ++ cdef int qlast, qcur, flag ++ cdef sunrealtype hinused, hlast, hcur, tcur, cj ++ with self._obs_lock: ++ if self._obs_busy: ++ raise IDAObservationError("operation_in_progress") ++ if not self._initialized or self.mem == NULL: ++ raise RuntimeError("IDA must be initialized before reading statistics.") ++ flag = IDAGetIntegratorStats(self.mem, &nsteps, &nres, &nsetups, ++ &netfails, &qlast, &qcur, &hinused, ++ &hlast, &hcur, &tcur) ++ if flag < 0: ++ raise RuntimeError("IDAGetIntegratorStats - " + IDAMESSAGES[flag]) ++ flag = IDAGetNonlinSolvStats(self.mem, &nniters, &nnfails) ++ if flag < 0: ++ raise RuntimeError("IDAGetNonlinSolvStats - " + IDAMESSAGES[flag]) ++ flag = IDAGetCurrentCj(self.mem, &cj) ++ if flag < 0: ++ raise RuntimeError("IDAGetCurrentCj - " + IDAMESSAGES[flag]) ++ flag = IDAGetNumJacEvals(self.mem, &njac) ++ if flag < 0: ++ raise RuntimeError("IDAGetNumJacEvals - " + LSMESSAGES[flag]) ++ nls_state = self._obs_nls_state(nsteps, nniters, tcur, hlast, qlast, hcur, qcur) ++ return {"num_steps": nsteps, "residual_evals": nres, ++ "linear_setups": nsetups, "error_test_fails": netfails, ++ "last_order": qlast, "current_order": qcur, ++ "initial_step": hinused, "last_step": hlast, ++ "current_step": hcur, "current_time": tcur, ++ "current_cj": cj, "nonlinear_iters": nniters, ++ "nonlinear_conv_fails": nnfails, "jacobian_evals": njac, ++ "nonlin_conv_coef_requested": self._options["nonlin_conv_coef"], ++ "coefficient_getter_available": True, ++ "coefficient_getter_kind": "pinned-private-header-word-copy", ++ "nonlinear_control_state": nls_state, ++ **({"parent_weight_state": self._frame_snapshot()} ++ if self._options["parent_weight_frame"] is not None else {}), ++ "nonlinear_guard": deepcopy(self._nls_trace), ++ "observation_owner": self._obs_instance, ++ "observation_generation": self._obs_generation, ++ "method_fields_valid": nsteps > 0} + + def __dealloc__(self): + self._free_memory() +@@ -1293,6 +2334,18 @@ + + + def _check_options(options: dict) -> None: ++ ++ if options["physical_weight_frame"] is not None: ++ physical = _validate_physical_weight_frame(options["physical_weight_frame"]) ++ if options["parent_weight_frame"] != physical: ++ raise ValueError("physical weight internal option binding mismatch") ++ elif options["parent_weight_frame"] is not None: ++ _validate_parent_weight_frame(options["parent_weight_frame"]) ++ if options["parent_weight_frame"] is not None: ++ if (options["calc_initcond"] is not None or options["constraints_idx"] is not None ++ or type(options["rtol"]) not in (int, float) or not math.isfinite(options["rtol"]) ++ or options["rtol"] <= 0): ++ raise ValueError("parent weight frame requires unchanged finite tolerances and supplied initialization") + + # resfn + if not isinstance(options["resfn"], Callable): +@@ -1484,6 +2537,26 @@ + elif not options["max_nonlin_iters"] > 0: + raise ValueError("'max_nonlin_iters' must be > 0.") + ++ # nonlin_conv_coef: None preserves the native library default. ++ coefficient = options["nonlin_conv_coef"] ++ if coefficient is not None: ++ if isinstance(coefficient, bool) or not isinstance(coefficient, Real): ++ raise TypeError("'nonlin_conv_coef' must be a real number or None.") ++ if not isfinite(coefficient) or coefficient <= 0.: ++ raise ValueError("'nonlin_conv_coef' must be finite and positive.") ++ ++ # Optional native stopping policy and bounded records per ONESTEP call. ++ guard = options["nonlin_guard"] ++ if guard is not None and (not isinstance(guard, str) or guard != "first-correction-wrms-v1"): ++ raise ValueError("'nonlin_guard' must be None or 'first-correction-wrms-v1'.") ++ capacity = options["nonlin_trace_capacity"] ++ if isinstance(capacity, bool) or not isinstance(capacity, Integral): ++ raise TypeError("'nonlin_trace_capacity' must be an integer.") ++ if not 1 <= capacity <= 4096: ++ raise ValueError("'nonlin_trace_capacity' must be in [1, 4096].") ++ if guard is None and capacity != 4096: ++ raise ValueError("'nonlin_trace_capacity' requires nonlin_guard.") ++ + # max_conv_fails + if not isinstance(options["max_conv_fails"], Integral): + raise TypeError("'max_conv_fails' must be type int.") +--- a/src/sksundae/ida/_solver.py ++++ b/src/sksundae/ida/_solver.py +@@ -93,6 +93,17 @@ + max_nonlin_iters : int, optional + Specifies the maximum number of nonlinear solver iterations in one + step. The default is 4. ++ nonlin_conv_coef : float or None, optional ++ Positive finite coefficient for IDASetNonlinConvCoef. None preserves ++ the linked native library default. This changes nonlinear stopping, ++ independently of the local integration error tolerances. ++ nonlin_guard : {None, 'first-correction-wrms-v1'}, optional ++ Optional native first-correction condition. Requires init_step then ++ step(method='onestep'); default None leaves Newton unchanged. ++ nonlin_trace_capacity : int, optional ++ Maximum actual callback records per ONESTEP call, from 1 to 4096 ++ (default). Overflow preserves the stored prefix and first omitted ++ callback, and prevents a default-success return being accepted. + max_conv_fails : int, optional + Specifies the max number of nonlinear solver convergence failures + in one step. The default is 10. +@@ -282,7 +293,46 @@ + """ + self._IDA = _IDA(resfn, **options) + +- def init_step(self, t0: float, y0: ndarray, yp0: ndarray) -> IDAResult: ++ def nonlinear_trace(self) -> dict | None: ++ """Owned callback records from the last guarded native call, even on failure.""" ++ return self._IDA.nonlinear_trace() ++ ++ @staticmethod ++ def parent_weight_capability() -> dict: ++ """Compiled optional public-WF bridge metadata; does not initialize IDA.""" ++ return _IDA.parent_weight_capability() ++ ++ @staticmethod ++ def physical_weight_capability() -> dict: ++ """Compiled physical-EWT capability; no native initialization.""" ++ return _IDA.physical_weight_capability() ++ ++ def evaluate_initial_parent_weights(self) -> dict: ++ """Evaluate installed parent weights on the actual zero-step native state. ++ ++ Requires an initialized idle owner with parent_weight_frame enabled. ++ Updates that callback's diagnostic cache; solver ewt/history/time and ++ counters are preserved. This is not a getter for solver-applied weights. ++ A state with nonzero native steps is rejected. ++ """ ++ return self._IDA.evaluate_initial_parent_weights() ++ ++ def statistics(self) -> dict: ++ """Read actual native counters and cj after init_step/step. ++ ++ Zero-step method fields may be sentinels or retained from reinit; ++ method_fields_valid only reports whether this generation stepped. ++ Batch solve closes this access window. Requested coefficient metadata ++ stays distinct from nonlinear_control_state, a pinned-header word copy. ++ epcon is valid after initialization; epsNewt, ss, oldnrm and toldel are ++ None until a successful current-generation endpoint with an NLS iteration. ++ Reinitialization/failure invalidate those method fields; they are not ++ a final-correction or iteration trace. Callback cj and returned/requested ++ times remain separately owned by the caller. No history is mutated. ++ """ ++ return self._IDA.statistics() ++ ++ def init_step(self, t0: float, y0: ndarray, yp0: ndarray, *, parent_weight_frame=None, physical_weight_frame=None) -> IDAResult: + """ + Initialize the solver. + +@@ -318,7 +368,7 @@ + 'y0' and 'yp0' must be the same length. + + """ +- return self._IDA.init_step(t0, y0, yp0) ++ return self._IDA.init_step(t0, y0, yp0, parent_weight_frame=parent_weight_frame, physical_weight_frame=physical_weight_frame) + + def step(self, t: float, method='normal', tstop=None) -> IDAResult: + """ +@@ -406,6 +456,30 @@ + + """ + return self._IDA.solve(tspan, y0, yp0) ++ ++ def last_step_snapshot(self, *, expected_step=None): ++ """Observe one fully witnessed accepted interval without advancing it. ++ ++ The returned mapping and nested metadata are read-only. Vector buffers ++ are immutable bytes; decode with ``np.frombuffer(buffer, dtype=... ++ ).reshape(shape)`` using the packet's dtype and shape. ``dky[k]`` is ++ the rounded native derivative of order k at tn, not an exact internal ++ coefficient export. Error weights and local estimates are diagnostic. ++ ++ Only adjacent, actually observed native endpoints with a step-count ++ increment of one are eligible. NORMAL calls that hide intermediate ++ steps, or returns at a time different from tn, can make the snapshot ++ unavailable. Subsequent observed consecutive endpoints restore it; ++ this operation never changes NORMAL behavior or invents a predecessor. ++ Both predecessor time and tn-hused terms are retained independently. ++ ++ Pass a previously returned step_key as expected_step to reject a stale ++ owner, generation or step. Arbitrary query times and orders are not ++ accepted: all legal orders are read at tn. Event sides and input laws ++ belong to the caller. This experimental patch requires a build identity ++ bound by its accompanying reproducible build helper. ++ """ ++ return self._IDA.last_step_snapshot(expected_step=expected_step) + + + class IDAResult(_IDAResult): diff --git a/scripts/benchmarks/interval_observation.py b/scripts/benchmarks/interval_observation.py new file mode 100644 index 00000000..a7e5a10e --- /dev/null +++ b/scripts/benchmarks/interval_observation.py @@ -0,0 +1,1107 @@ +"""Bounded observations of a declared polynomial path, never a time solver. + +The path, its endpoint defects, and its clocks have separate identities. Exact +rational arithmetic is used for the small affine actions; optional Arb balls +are used only for the nonlinear observations. Neither certifies the error of +the DAE time integrator or a continuum spatial model. +""" + +from __future__ import annotations + +from dataclasses import dataclass +from fractions import Fraction +from hashlib import sha256 +import json +import math +from types import MappingProxyType +from typing import Mapping + +from scripts.benchmarks.contract_prototype import ContractError, PhysicalLinearForm + + +def rational(value) -> Fraction: + """The exact value of a stored integer/binary64, with no decimal rounding.""" + if isinstance(value, bool): + raise ContractError("observation_boolean_number") + if isinstance(value, Fraction): + return value + if isinstance(value, int): + return Fraction(value) + value = float(value) + if not math.isfinite(value): + raise ContractError("observation_nonfinite_number") + return Fraction.from_float(value) + + +def ratio_payload(value): + value = rational(value) + return [value.numerator, value.denominator] + + +def identity(payload) -> str: + return sha256(json.dumps(payload, sort_keys=True, separators=(",", ":"), + allow_nan=False).encode()).hexdigest() + + +@dataclass(frozen=True) +class Polynomial: + """Ascending exact coefficients in a single declared interval coordinate.""" + + coefficients: tuple[Fraction, ...] + + def __init__(self, coefficients=(0,)): + values = tuple(rational(x) for x in coefficients) + if not values: + raise ContractError("observation_empty_polynomial") + while len(values) > 1 and values[-1] == 0: + values = values[:-1] + object.__setattr__(self, "coefficients", values) + + def __add__(self, other): + other = other if isinstance(other, Polynomial) else Polynomial((other,)) + a, b = self.coefficients, other.coefficients + return Polynomial((a[i] if i < len(a) else 0)+(b[i] if i < len(b) else 0) + for i in range(max(len(a), len(b)))) + + __radd__ = __add__ + + def __neg__(self): + return Polynomial(-x for x in self.coefficients) + + def __sub__(self, other): + return self + (-other if isinstance(other, Polynomial) else -rational(other)) + + def __rsub__(self, other): + return -self + other + + def __mul__(self, other): + other = other if isinstance(other, Polynomial) else Polynomial((other,)) + result = [Fraction(0)]*(len(self.coefficients)+len(other.coefficients)-1) + for i, a in enumerate(self.coefficients): + for j, b in enumerate(other.coefficients): + result[i+j] += a*b + return Polynomial(result) + + __rmul__ = __mul__ + + def __truediv__(self, value): + value = rational(value) + if value == 0: + raise ContractError("observation_zero_divisor") + return self * (1/value) + + def at(self, coordinate): + coordinate = rational(coordinate) + result = Fraction(0) + for coefficient in reversed(self.coefficients): + result = result*coordinate+coefficient + return result + + def derivative(self): + return Polynomial((i*self.coefficients[i] for i in range(1, len(self.coefficients))) + if len(self.coefficients) > 1 else (0,)) + + def integral(self, left, right): + primitive = Polynomial((0, *(c/(i+1) for i, c in enumerate(self.coefficients)))) + return primitive.at(right)-primitive.at(left) + + def range(self, left, right): + """Exact Bernstein convex-hull enclosure, not sampled extrema.""" + left, right = rational(left), rational(right) + if right < left: + raise ContractError("observation_reversed_range") + n = len(self.coefficients)-1 + shifted = [sum((self.coefficients[k]*math.comb(k, j)*left**(k-j) + *(right-left)**j for k in range(j, n+1)), Fraction(0)) + for j in range(n+1)] + bernstein = [sum((shifted[j]*Fraction(math.comb(k, j), math.comb(n, j)) + for j in range(k+1)), Fraction(0)) for k in range(n+1)] + return min(bernstein), max(bernstein) + + def payload(self): + return [ratio_payload(x) for x in self.coefficients] + + +def newton_polynomials(phi, psi, hused): + """Exact algebra of the documented IDA divided-difference basis. + + This function does not acquire native data or certify its provenance. + In particular, separate rounded Dky derivatives are not valid ``phi``. + """ + phi = tuple(tuple(rational(v) for v in row) for row in phi) + psi, hused = tuple(rational(v) for v in psi), rational(hused) + if (not 2 <= len(phi) <= 6 or len(psi) != len(phi)-1 or not phi[0] + or any(len(row) != len(phi[0]) for row in phi) + or hused <= 0 or any(v <= 0 for v in psi)): + raise ContractError("observation_native_basis_shape_or_order") + basis, result = Polynomial((1,)), [Polynomial((v,)) for v in phi[0]] + for j in range(1, len(phi)): + basis = basis * Polynomial((0 if j == 1 else psi[j-2], hused)) / psi[j-1] + result = [p+basis*v for p, v in zip(result, phi[j], strict=True)] + return tuple(result) + + +@dataclass(frozen=True) +class AcceptedClock: + predecessor: Fraction + tn: Fraction + hused: Fraction + generation: int + nsteps: int + kused: int + segment_start: Fraction + segment_end: Fraction + segment_id: str + owner: str | None = None + + def __post_init__(self): + for name in ("predecessor", "tn", "hused", "segment_start", "segment_end"): + object.__setattr__(self, name, rational(getattr(self, name))) + if (any(type(x) is not int or x < 1 for x in (self.generation, self.nsteps, self.kused)) + or self.kused > 5 or not self.segment_id + or self.owner is not None and (not isinstance(self.owner, str) or not self.owner) + or not self.segment_start <= self.predecessor < self.tn <= self.segment_end + or self.hused <= 0): + raise ContractError("observation_invalid_accepted_clock") + + @property + def native_left(self): + return self.tn-self.hused + + @property + def strip(self): + return max(Fraction(0), self.native_left-self.predecessor) + + def coordinate(self, time): + return (rational(time)-self.tn)/self.hused + + def require_covered(self): + if self.strip: + raise ContractError("observation_uncovered_predecessor_strip") + + def require_successor(self, other, *, numeric_handoff=None): + if self.tn != other.predecessor: + raise ContractError("observation_history_gap_or_overlap") + if (self.owner is None) != (other.owner is None): + raise ContractError("observation_clock_owner_authority_changed") + same = self.segment_id == other.segment_id + if numeric_handoff is not None: + h = numeric_handoff + v2 = isinstance(h, Mapping) and h.get("schema") == "solarlab.reference-state-transfer.v2" + proof = h.get("state_transfer" if v2 else "acceptance", {}) if isinstance(h, Mapping) else {} + if (not isinstance(h, Mapping) or h.get("schema") not in {"solarlab.accepted-reference-handoff.v1", "solarlab.reference-state-transfer.v2"} + or h.get("kind") != "voltage_lift_numeric_handoff" + or h.get("phase") != "complete" or not same or self.owner is None + or proof.get("schema") != ("solarlab.numeric-reference-transfer-evidence.v2" if v2 else "solarlab.full-interval-refresh-acceptance.v1") + or proof["point_identity"] != h["transfer"]["point_identity"] + or v2 and ("acceptance" in h or "acceptance_sha256" in h["transfer"] + or h["transfer"].get("state_transfer_sha256") != identity(proof) + or proof.get("scientific_progress") != h["ledger"].get("scientific_progress") + or proof.get("scientific_progress", {}).get("status") not in {"failed", "pending"} + or h["transfer"].get("same_complete_Point") is not True + or h.get("native_multistep_history_discarded") is not True) + or rational(float.fromhex(h["transfer"]["time_hex"])) != self.tn + or h["old_epoch"]["owner"] != self.owner or h["old_epoch"]["generation"] != self.generation + or h["old_epoch"]["nsteps"] != self.nsteps + or other.owner != self.owner or other.generation != self.generation+1 + or h["new_epoch"] != {"owner": other.owner, "generation": other.generation, "nsteps": 0} + or other.nsteps != 1 or other.segment_start != self.segment_start + or other.segment_end != self.segment_end or h["state_or_rate_projected"] is not False): + raise ContractError("observation_invalid_numeric_handoff") + return + if same and (other.owner != self.owner or other.generation != self.generation + or other.nsteps != self.nsteps+1 or other.segment_start != self.segment_start + or other.segment_end != self.segment_end): + raise ContractError("observation_skipped_step_or_generation") + # Native generation belongs to one solver owner, not to the logical + # protocol index. The controller creates a fresh owner per segment. + next_generation = self.generation+1 if self.owner == other.owner else 1 + if not same and (self.tn != self.segment_end or other.predecessor != other.segment_start + or other.generation != next_generation or other.nsteps != 1): + raise ContractError("observation_unbound_event_transition") + + def payload(self): + return {**{key: ratio_payload(getattr(self, key)) for key in + ("predecessor", "tn", "hused", "segment_start", "segment_end")}, + "native_left": ratio_payload(self.native_left), "uncovered_strip": ratio_payload(self.strip), + "generation": self.generation, "nsteps": self.nsteps, "kused": self.kused, + "segment_id": self.segment_id, "owner": self.owner} + + +@dataclass(frozen=True) +class PolynomialPath: + clock: AcceptedClock + fields: Mapping[str, tuple[Polynomial, ...]] + inputs: tuple[Polynomial, ...] + source_identity: str + layout_identity: str + coefficient_identity: str + origin: str + clock_policy: str = "reject_uncovered" + + def __post_init__(self): + if self.origin not in {"synthetic_component", "declared_reconstruction"}: + # Native admission requires the Engineering export, its independent + # source review and a concrete adapter. A caller label is not proof. + raise ContractError("observation_native_basis_provenance_unavailable") + if (self.clock_policy not in {"reject_uncovered", "declared_polynomial_extension"} + or self.clock_policy == "declared_polynomial_extension" and self.origin != "declared_reconstruction"): + raise ContractError("observation_clock_extension_identity") + fields = {name: tuple(values) for name, values in self.fields.items()} + if (not all((self.source_identity, self.layout_identity, self.coefficient_identity)) + or not fields or any(not values for values in fields.values()) + or any(not isinstance(p, Polynomial) or len(p.coefficients) > 6 + for values in (*fields.values(), tuple(self.inputs)) for p in values)): + raise ContractError("observation_polynomial_path_identity_or_degree") + object.__setattr__(self, "fields", MappingProxyType(fields)) + object.__setattr__(self, "inputs", tuple(self.inputs)) + + @property + def identity(self): + return identity({"clock": self.clock.payload(), "origin": self.origin, + "source": self.source_identity, "layout": self.layout_identity, + "coefficients": self.coefficient_identity, + "clock_policy": self.clock_policy, + "fields": {k: [p.payload() for p in v] for k, v in self.fields.items()}, + "inputs": [p.payload() for p in self.inputs]}) + + def action(self, form: PhysicalLinearForm, sources=None): + """Contract the actual public factored form, including its divisors.""" + if (form.source_identity != self.source_identity or form.layout.identity != self.layout_identity + or set(self.fields) != {v.id for v in form.layout.variables} + or any(len(self.fields[v.id]) != math.prod(v.shape) for v in form.layout.variables)): + raise ContractError("observation_physical_form_binding") + sources = {} if sources is None else dict(sources) + if set(sources) != {s.id for s in form.sources}: + raise ContractError("observation_missing_physical_source") + values = dict(self.fields) + if form.kind == "rate": + values = {key: tuple(p.derivative()/self.clock.hused for p in row) + for key, row in values.items()} + elif form.kind == "increment": + raise ContractError("observation_use_bound_endpoint_increment") + values.update(sources) + rows = [Polynomial() for _ in form.row_ids] + for term in form.terms: + coefficient = Fraction(term.sign) + for factor in term.factors: + coefficient *= rational(factor.value) + if term.divisor is not None: + coefficient /= rational(term.divisor.value) + operand = Polynomial((1,)) if term.field is None else values[term.field][term.index] + rows[term.row] += coefficient*operand + return tuple(rows) + + def integrate(self, polynomial, *, subinterval=None): + self.require_covered() + left, right = contained_subinterval(self.clock, subinterval) + return self.clock.hused*polynomial.integral(self.clock.coordinate(left), self.clock.coordinate(right)) + + def require_covered(self): + if self.clock_policy == "reject_uncovered": + self.clock.require_covered() + # The alternative explicitly defines an observational extension. It + # does not assert native getter legality or erase its required debit. + + +@dataclass(frozen=True) +class Enclosure: + """A signed value and an absolute mathematical error in the same units.""" + + center: Fraction + radius: Fraction = Fraction(0) + + def __post_init__(self): + object.__setattr__(self, "center", rational(self.center)) + object.__setattr__(self, "radius", rational(self.radius)) + if self.radius < 0: + raise ContractError("observation_negative_error_bound") + + def __add__(self, other): + other = other if isinstance(other, Enclosure) else Enclosure(other) + return Enclosure(self.center+other.center, self.radius+other.radius) + + __radd__ = __add__ + + def __neg__(self): + return Enclosure(-self.center, self.radius) + + def __sub__(self, other): + return self+(-other if isinstance(other, Enclosure) else -rational(other)) + + def scale(self, coefficient): + coefficient = rational(coefficient) + return Enclosure(self.center*coefficient, self.radius*abs(coefficient)) + + @property + def absolute_upper(self): + return abs(self.center)+self.radius + + def payload(self): + return {"center": ratio_payload(self.center), "absolute_error_bound": ratio_payload(self.radius)} + + +@dataclass(frozen=True) +class AbsoluteIntegralBound: + """An upper bound, not an estimate of the absolute integral's value.""" + + upper: Fraction + squared_integral: Enclosure + numerical_excess_bound: Fraction + + def __post_init__(self): + object.__setattr__(self, "upper", rational(self.upper)) + object.__setattr__(self, "numerical_excess_bound", rational(self.numerical_excess_bound)) + if (self.upper < 0 or self.numerical_excess_bound < 0 + or self.squared_integral.center+self.squared_integral.radius < 0): + raise ContractError("observation_invalid_absolute_integral_bound") + + def payload(self): + return {"upper": ratio_payload(self.upper), "method": "Cauchy-Schwarz from a certified squared integral", + "squared_integral": self.squared_integral.payload(), + "numerical_excess_bound": ratio_payload(self.numerical_excess_bound), + "is_integral_value_estimate": False} + + +def rational_sqrt_upper(value, rounding_error): + """One outward dyadic square root using integer arithmetic only.""" + value, rounding_error = rational(value), rational(rounding_error) + if value < 0 or rounding_error <= 0: + raise ContractError("observation_sqrt_domain_or_error") + if value == 0: + return Fraction(0) + bits = max(0, rounding_error.denominator.bit_length()-rounding_error.numerator.bit_length()+2) + denominator = 1 << bits + scaled_numerator = value.numerator*denominator**2 + root = math.isqrt(scaled_numerator//value.denominator) + if root**2*value.denominator < scaled_numerator: + root += 1 + return Fraction(root, denominator) + + +def certify_fixed4_partition(left, right, absolute_error, original, cells): + """Check four same-function moment certificates using exact arithmetic. + + Function provenance belongs to the caller's path/port binding. This small + reduction checks coverage and outward bounds, never fits the integrand or + evaluates a physical model. Numerical excess is already inside each upper. + """ + left, right, absolute_error = map(rational, (left, right, absolute_error)) + if left >= right or absolute_error <= 0 or type(cells) is not tuple or len(cells) != 4: + raise ContractError("observation_partition_interval_or_count") + + def check(bound, length, allocation): + if not isinstance(bound, AbsoluteIntegralBound): + raise ContractError("observation_partition_missing_bound") + moment = bound.squared_integral + square = length*(moment.center+moment.radius) + if (moment.radius > allocation**2/(8*length) + or bound.upper**2 < square + or max(Fraction(0), bound.upper-allocation/2)**2 > square + or bound.numerical_excess_bound > allocation): + raise ContractError("observation_partition_moment_or_outward_bound") + + check(original, right-left, absolute_error) + for i, cell in enumerate(cells): + a, b = left+(right-left)*Fraction(i, 4), left+(right-left)*Fraction(i+1, 4) + if (not isinstance(cell, Mapping) or cell.get("left") != a or cell.get("right") != b + or cell.get("allocation_C") != absolute_error/4): + raise ContractError("observation_partition_coverage_or_allocation") + check(cell["bound"], b-a, absolute_error/4) + total = sum((cell["bound"].upper for cell in cells), Fraction(0)) + return {"cells": cells, "partition_upper_C": total, + "retained_upper_C": min(original.upper, total)} + + +def public_action_enclosures(result): + """Retain every returned word and the public action's own error bound.""" + words = result.value.words + return tuple(Enclosure(sum((rational(word.flat[i]) for word in words), Fraction(0)), + rational(result.absolute_error_bound.values.flat[i])) + for i in range(result.value.shape[0])) + + +def contained_subinterval(clock, subinterval=None): + """An observation range in an unchanged native clock; never a new step.""" + if subinterval is None: + return clock.predecessor, clock.tn + if not isinstance(subinterval, (tuple, list)) or len(subinterval) != 2: + raise ContractError("observation_subinterval_shape") + left, right = map(rational, subinterval) + if not clock.predecessor <= left < right <= clock.tn: + raise ContractError("observation_subinterval_outside_native_frame") + return left, right + + +def affine_interval_actions(model, path: PolynomialPath, *, subinterval=None): + """Exact affine endpoint/integral actions; no endpoint state is changed.""" + path.require_covered() + first, last = contained_subinterval(path.clock, subinterval) + left, right = path.clock.coordinate(first), path.clock.coordinate(last) + names = ["storage", "body_charge", "metal_charge", "gauss_defect", "displacement"] + if model.definition.dynamic: + names.append("ion_inventory") + result = {} + for name in names: + state = path.action(model.linear_forms["state"][name]) + rates = path.action(model.linear_forms["rate"][name]) + result[name] = {"left": tuple(p.at(left) for p in state), "right": tuple(p.at(right) for p in state), + "rate_integral": tuple(path.integrate(p) if subinterval is None + else path.integrate(p, subinterval=subinterval) for p in rates), + "form_identity": model.linear_forms["state"][name].identity, + "rate_form_identity": model.linear_forms["rate"][name].identity} + return result + + +def endpoint_charge_mismatch(model, path, left, right, *, subinterval=None): + """Absolute endpoint mismatch to immutable full-word accepted Points.""" + first, last = contained_subinterval(path.clock, subinterval) + if rational(left.time) != first or rational(right.time) != last: + raise ContractError("observation_endpoint_time_mismatch") + actions = (affine_interval_actions(model, path) if subinterval is None + else affine_interval_actions(model, path, subinterval=subinterval)) + result = [] + for name in ("body_charge", "metal_charge"): + actual_left = public_action_enclosures(model.linear_action(name, left)) + actual_right = public_action_enclosures(model.linear_action(name, right)) + result += [(a-Enclosure(x)).absolute_upper+(b-Enclosure(y)).absolute_upper + for a, b, x, y in zip(actual_left, actual_right, + actions[name]["left"], actions[name]["right"], strict=True)] + return tuple(result) + + +def segment_input_roundoff(segment, clock): + """Outward bounds for the existing binary64 affine input evaluation. + + The comparison line uses the *stored rounded slope*, exactly, not a new + idealized endpoint slope. Endpoint snapping defects are kept separately. + This arithmetic bound assumes IEEE round-to-nearest with subnormals; the + execution packet must still bind that assumption to its actual build. + """ + if (segment.id != clock.segment_id or rational(segment.start) != clock.segment_start + or rational(segment.end) != clock.segment_end): + raise ContractError("observation_input_segment_binding") + start_inputs, slopes = segment.inputs(segment.start) + duration = rational(segment.end)-rational(segment.start) + unit_roundoff, half_subnormal = Fraction(1, 2**53), Fraction(1, 2**1075) + dt_bound = unit_roundoff*duration+half_subnormal + result = [] + for start, slope, end in zip(start_inputs, slopes, (segment.voltage[1], segment.photons[1]), strict=True): + start, slope, end = map(rational, (start, slope, end)) + product_error = abs(slope)*dt_bound+unit_roundoff*abs(slope)*(duration+dt_bound)+half_subnormal + addition_error = unit_roundoff*(abs(start)+abs(slope)*duration+product_error)+half_subnormal + result.append({"stored_slope": slope, "interior_arithmetic_bound": product_error+addition_error, + "end_snap_mismatch": abs(end-start-slope*duration), + "input_at_tn_exact_line": start+slope*(clock.tn-clock.segment_start)}) + return tuple(result) + + +@dataclass(frozen=True) +class ChargePrefix: + """Absolute, non-resetting errors; a signed cancellation earns no budget.""" + + budgets: tuple[Fraction, ...] + absolute_defects: tuple[Fraction, ...] + reference_errors: tuple[Fraction, ...] + intervals: int = 0 + + @classmethod + def start(cls, budgets): + budgets = tuple(rational(v) for v in budgets) + if not budgets or any(v < 0 for v in budgets): + raise ContractError("observation_charge_budget") + return cls(budgets, (Fraction(0),)*len(budgets), (Fraction(0),)*len(budgets)) + + def append(self, changes, integrals, additional_errors): + if (any(len(v) != len(self.budgets) for v in (changes, integrals, additional_errors)) + or any(v is None for v in additional_errors)): + raise ContractError("observation_missing_charge_error_term") + defects, errors, passed = [], [], [] + for i, (change, integral, additional) in enumerate(zip(changes, integrals, additional_errors, strict=True)): + additional = rational(additional) + if additional < 0: + raise ContractError("observation_negative_charge_error") + defect = change-integral + error = defect.radius+additional + total = abs(defect.center)+error + defects.append(self.absolute_defects[i]+total) + errors.append(self.reference_errors[i]+error) + passed.append(total <= self.budgets[i] and defects[-1] <= self.budgets[i] + and error*3 <= self.budgets[i] and errors[-1]*3 <= self.budgets[i]) + successor = ChargePrefix(self.budgets, tuple(defects), tuple(errors), self.intervals+1) + return successor, tuple(passed) + + +@dataclass(frozen=True) +class SignedChargePrefix: + """Physical charge-change minus independently supplied flux integral, in C. + + Every vector is ordered (body, left metal, right metal). Changes and + integrals are Enclosures. The change radius bounds actual saved-charge + evaluation error. The integral radius must cover both quadrature and the + physical-integrand evaluation contribution to the integral's error in C, + including every separately available contribution. ``quadrature_errors`` + accumulates this combined integration bound, conservatively used as the + quadrature upper bound for the one-third gates; it is not a decomposition + of quadrature alone. Input and clock uncertainties are supplied separately, + including explicit zeros. The observer/reader must establish coverage of + these errors, the physical input basis and flux independence; this + arithmetic cannot. + + Signed centers may cancel across intervals, but uncertainties never do. + ``absolute_balances`` sums interval absolute centers for diagnostics only. + ``failed`` latches each component's first interval or prefix failure. + """ + + budgets: tuple[Fraction, ...] + signed_balances: tuple[Fraction, ...] + charge_errors: tuple[Fraction, ...] + quadrature_errors: tuple[Fraction, ...] + input_errors: tuple[Fraction, ...] + clock_errors: tuple[Fraction, ...] + absolute_balances: tuple[Fraction, ...] + failed: tuple[bool, ...] + intervals: int = 0 + + @staticmethod + def _nonnegative(values): + if (type(values) not in (tuple, list) or len(values) != 3 + or any(type(value) not in (int, float, Fraction) for value in values)): + raise ContractError("observation_signed_charge_terms") + values = tuple(rational(value) for value in values) + if any(value < 0 for value in values): + raise ContractError("observation_negative_signed_charge_term") + return values + + @classmethod + def start(cls, budgets): + budgets = cls._nonnegative(budgets) + zero = (Fraction(0),)*3 + return cls(budgets, zero, zero, zero, zero, zero, zero, (False,)*3) + + @property + def total_errors(self): + return tuple(sum(values, Fraction(0)) for values in zip( + self.charge_errors, self.quadrature_errors, self.input_errors, self.clock_errors, strict=True)) + + @property + def total_bounds(self): + return tuple(abs(value)+error for value, error in zip(self.signed_balances, self.total_errors, strict=True)) + + def append(self, changes, integrals, input_errors, clock_errors): + if any(type(values) not in (tuple, list) or len(values) != 3 + or any(type(value) is not Enclosure for value in values) for values in (changes, integrals)): + raise ContractError("observation_signed_charge_enclosures") + charge = self._nonnegative(tuple(value.radius for value in changes)) + quadrature = self._nonnegative(tuple(value.radius for value in integrals)) + inputs, clocks = self._nonnegative(input_errors), self._nonnegative(clock_errors) + balances = tuple(change.center-integral.center for change, integral in zip(changes, integrals, strict=True)) + signed = tuple(old+value for old, value in zip(self.signed_balances, balances, strict=True)) + absolute = tuple(old+abs(value) for old, value in zip(self.absolute_balances, balances, strict=True)) + cumulative = tuple(tuple(old+value for old, value in zip(previous, current, strict=True)) + for previous, current in zip( + (self.charge_errors, self.quadrature_errors, self.input_errors, self.clock_errors), + (charge, quadrature, inputs, clocks), strict=True)) + interval_errors = tuple(sum(values, Fraction(0)) for values in zip(charge, quadrature, inputs, clocks, strict=True)) + prefix_errors = tuple(sum(values, Fraction(0)) for values in zip(*cumulative, strict=True)) + passed = tuple(not self.failed[i] + and abs(balances[i])+interval_errors[i] <= budget + and abs(signed[i])+prefix_errors[i] <= budget + and quadrature[i]*3 <= budget and cumulative[1][i]*3 <= budget + for i, budget in enumerate(self.budgets)) + successor = SignedChargePrefix(self.budgets, signed, *cumulative, absolute, + tuple(not value for value in passed), self.intervals+1) + return successor, passed + + +class BallIntegrator: + """Small optional Arb adapter with hard callback and observed-radius gates. + + python-flint 0.8.0 does not return acb_calc_integrate's convergence status. + A requested tolerance or soft library work limit is therefore never the + certificate: only the finite returned ball and its actual radius are used. + """ + + def __init__(self, *, bits=256, evaluations=2048, depth=16): + try: + import flint + except ImportError as exc: + raise ContractError("observation_optional_arb_unavailable") from exc + if flint.__version__ != "0.8.0": + raise ContractError("observation_arb_version_not_frozen") + if (type(bits) is not int or not 128 <= bits <= 512 + or type(evaluations) is not int or not 1 <= evaluations <= 8192 + or type(depth) is not int or not 1 <= depth <= 32): + raise ContractError("observation_arb_resource_parameters") + self.flint, self.bits, self.evaluations, self.depth = flint, bits, evaluations, depth + self.calls = [] + + def number(self, value): + value = rational(value) + return self.flint.acb(self.flint.fmpq(value.numerator, value.denominator)) + + def polynomial(self, polynomial, coordinate): + result = self.number(0) + for coefficient in reversed(polynomial.coefficients): + result = result*coordinate+self.number(coefficient) + return result + + @staticmethod + def bernoulli(value): + # 1F1(1;2;x)=(exp(x)-1)/x is entire, including x=0. Its + # reciprocal has exactly the nonzero 2*pi*i*k Bernoulli poles. + # Interval division rejects a denominator enclosure containing zero. + return 1/value.hypgeom_1f1(1, 2) + + @staticmethod + def _exact_arb(value): + mantissa, exponent = value.man_exp() + return Fraction(int(mantissa))*Fraction(2)**int(exponent) + + def enclosure(self, value): + if not value.is_finite() or not value.imag.contains(0): + raise ContractError("observation_nonfinite_or_nonreal_ball") + return Enclosure(self._exact_arb(value.real.mid()), self._exact_arb(value.real.rad())) + + def point(self, function, coordinate): + with self.flint.ctx.workprec(self.bits): + return self.enclosure(function(self.number(coordinate), False)) + + def integrate(self, function, left, right, absolute_error, *, absolute=False): + left, right, absolute_error = map(rational, (left, right, absolute_error)) + if right < left or absolute_error <= 0: + raise ContractError("observation_integral_interval_or_error") + calls = 0 + + def callback(value, analytic): + nonlocal calls + calls += 1 + if calls > self.evaluations: + raise ContractError("observation_integral_evaluation_cap") + value = function(value, analytic) + return value.real_abs(analytic=analytic) if absolute else value + + with self.flint.ctx.workprec(self.bits): + result = self.flint.acb.integral( + callback, self.number(left), self.number(right), + abs_tol=self.number(absolute_error).real, rel_tol=self.number(Fraction(1, 2**self.bits)).real, + eval_limit=self.evaluations, depth_limit=self.depth, deg_limit=64) + enclosure = self.enclosure(result) + self.calls.append({"evaluations": calls, "actual_error": ratio_payload(enclosure.radius), + "requested_error": ratio_payload(absolute_error), "absolute_integrand": absolute}) + if enclosure.radius > absolute_error: + raise ContractError("observation_integral_radius_exceeds_budget") + return enclosure + + def absolute_bound(self, function, left, right, absolute_error): + """Bound a real-valued function's L1 norm; zeros need no searches. + + The fixed 512-bit second-moment evaluation avoids trying to integrate + a nonanalytic absolute-value kink. Cauchy-Schwarz slack is disclosed + as a conservative bound, never called quadrature error or removed. + The callback must supply valid interval enclosures: its finite range + on the entire real input interval must have exactly zero imaginary + part. An imaginary *integral* enclosure containing zero is not proof. + """ + left, right, absolute_error = map(rational, (left, right, absolute_error)) + length = right-left + if length <= 0 or absolute_error <= 0: + raise ContractError("observation_absolute_integral_interval_or_error") + with self.flint.ctx.workprec(512): + midpoint, radius = (left+right)/2, length/2 + real_interval = self.flint.acb(self.flint.arb( + self.flint.fmpq(midpoint.numerator, midpoint.denominator), + self.flint.fmpq(radius.numerator, radius.denominator))) + value_range = self.flint.acb(function(real_interval, False)) + if not value_range.is_finite(): + raise ContractError("observation_absolute_nonfinite_real_range") + if not value_range.imag.is_zero(): + raise ContractError("observation_absolute_requires_real_enclosure") + self.calls.append({"evaluations": 1, "purpose": "full-real-interval-precheck", "working_bits": 512}) + if value_range.real.is_zero(): + return AbsoluteIntegralBound(Fraction(0), Enclosure(0), Fraction(0)) + if self.evaluations < 2: + raise ContractError("observation_integral_evaluation_cap") + moment_goal = absolute_error**2/(8*length) + moment_arithmetic = BallIntegrator(bits=512, evaluations=self.evaluations-1, depth=self.depth) + + def real_square(z, analytic): + value = self.flint.acb(function(z, analytic)) + if not analytic and not value.imag.is_zero(): + raise ContractError("observation_absolute_requires_real_enclosure") + return value**2 + + moment = moment_arithmetic.integrate(real_square, left, right, moment_goal) + self.calls.extend(dict(row, purpose="L2-moment", working_bits=512) for row in moment_arithmetic.calls) + moment_upper = moment.center+moment.radius + if moment_upper < 0: + raise ContractError("observation_negative_squared_integral") + upper = rational_sqrt_upper(length*moment_upper, absolute_error/2) + # Since the true second moment is in the returned ball, its distance + # from the upper endpoint is <=2*radius. The square-root inequality + # bounds the numerical excess by sqrt(2*length*radius)+rounding_error. + return AbsoluteIntegralBound(upper, moment, absolute_error) + + def absolute_enclosure(self, function, left, right, absolute_error, *, max_depth=8, max_leaves=256, + decide=None, checkpoint=lambda: None): + """New opt-in L1 bounds; existing integral/absolute-bound paths are unchanged. + + A real interval range certifies sign. On a sign-uncertain cell, + |integral F| is a lower bound and width*sup|F| is an upper bound. + This range upper is deliberately not treated as a lower denominator. + Refinement is bounded and stops when the supplied gate can decide. + """ + left, right, absolute_error = map(rational, (left, right, absolute_error)) + if (left >= right or absolute_error <= 0 or type(max_depth) is not int or not 0 <= max_depth <= 8 + or type(max_leaves) is not int or not 1 <= max_leaves <= 256): + raise ContractError("physical_L1_parameters") + def cell(a, b, depth): + checkpoint() + allocation = absolute_error*(b-a)/(right-left) + with self.flint.ctx.workprec(self.bits): + mid, rad = (a+b)/2, (b-a)/2 + domain = self.flint.acb(self.flint.arb(self.flint.fmpq(mid.numerator, mid.denominator), + self.flint.fmpq(rad.numerator, rad.denominator))) + raw_range = self.flint.acb(function(domain, False)) + self.calls.append({"evaluations": 1, "purpose": "physical-L1-sign-range", "working_bits": self.bits}) + if not raw_range.is_finite(): + return dict(left=a,right=b,depth=depth,lower=Fraction(0),upper=None,sign="unknown", + reason="nonfinite_interval_range",signed_integral=None,value_range=None) + if not raw_range.imag.is_zero(): + raise ContractError("physical_L1_requires_real_range") + value_range = self.enclosure(raw_range) + sign = ("nonnegative" if value_range.center-value_range.radius >= 0 else + "nonpositive" if value_range.center+value_range.radius <= 0 else "unknown") + range_upper = (b-a)*value_range.absolute_upper + try: + signed = self.integrate(function, a, b, allocation) + except ContractError as error: + if error.reason not in {"observation_integral_evaluation_cap", "observation_integral_radius_exceeds_budget", + "observation_nonfinite_or_nonreal_ball"}: + raise + return dict(left=a,right=b,depth=depth,lower=Fraction(0),upper=range_upper,sign="unknown", + reason=error.reason,signed_integral=None,value_range=value_range) + lower = max(Fraction(0), abs(signed.center)-signed.radius) + upper = min(range_upper, signed.absolute_upper) if sign != "unknown" else range_upper + if lower > upper: + raise ContractError("physical_L1_inconsistent_enclosures") + return dict(left=a,right=b,depth=depth,lower=lower,upper=upper,sign=sign,reason=None, + signed_integral=signed,value_range=value_range) + cells = [cell(left,right,0)] + reason = "sign_certified" + while True: + checkpoint() + lower = sum((c["lower"] for c in cells),Fraction(0)) + upper = None if any(c["upper"] is None for c in cells) else sum((c["upper"] for c in cells),Fraction(0)) + decision = None if decide is None else decide(lower,upper) + if decision is not None and decision not in {"passed","failed","unknown"}: + raise ContractError("physical_L1_decision") + if decision in {"passed","failed"}: + reason = "gate_decided"; break + unresolved = [i for i,c in enumerate(cells) if c["sign"] == "unknown"] + if not unresolved: + break + choices = [i for i in unresolved if cells[i]["depth"] < max_depth] + if len(cells) >= max_leaves or not choices: + reason = "partition_limit"; break + index = max(choices,key=lambda i: (cells[i]["upper"] is None, + Fraction(0) if cells[i]["upper"] is None else cells[i]["upper"]-cells[i]["lower"])) + old = cells[index];mid = (old["left"]+old["right"])/2 + cells[index:index+1] = [cell(old["left"],mid,old["depth"]+1),cell(mid,old["right"],old["depth"]+1)] + return {"schema":"solarlab.physical-flux-L1.v1","lower":lower,"upper":upper, + "status":"unknown" if reason == "partition_limit" or upper is None else "bounded", + "stop_reason":reason,"depth":max(c["depth"] for c in cells),"leaves":len(cells), + "max_depth":max_depth,"max_leaves":max_leaves,"cells":tuple(cells), + "upper_method":"real interval range times cell width; signed integral when sign certified", + "mathematical_scope":"same represented physical integrand; input/clock widening is caller-owned"} + + +class SlabPathObserver: + """Two fixed slab models' physical observations on one declared path. + + The charge-current formulas eliminate *identical* optical/capture terms + algebraically. They do not replace a finite physical residual with zero. + The tangent is an explicitly named same-state affine-constraint estimate, + not an IDA derivative, a changed state, or an additional trajectory. + """ + + def __init__(self, model, path: PolynomialPath): + from perovskite_sim.constants import Q + + if (model.definition.id not in {"S0NeutralPublicDeviceV1", "DynamicAcceptorIonPublicDeviceV1"} + or model.source_identity != path.source_identity + or model.layout.identity != path.layout_identity or len(path.inputs) != 2): + raise ContractError("observation_slab_scope_or_source") + self.model, self.path, self.m = model, path, model.definition + self.q, self.area = rational(Q), rational(self.m.area) + self.volumes = tuple(rational(v) for v in model.geometry.volumes) + self.dx = tuple(rational(v) for v in model.dx) + if any(v <= 0 for v in (*self.volumes, *self.dx)): + raise ContractError("observation_geometry_positive_required") + self.length = sum(self.dx, Fraction(0)) + self.weights = (tuple(sum(self.dx[i:], Fraction(0))/self.length for i in range(model.count)), + tuple(sum(self.dx[:i], Fraction(0))/self.length for i in range(model.count))) + self.affine = affine_interval_actions(model, path) + self.domain_bounds = self._require_domain() + fields, h = path.fields, path.clock.hused + self.xi = tuple((b-a)/rational(self.m.vt) + for a, b in zip(fields["phi_V"][:-1], fields["phi_V"][1:], strict=True)) + self.dn = tuple(b-a for a, b in zip(fields["n_m3"][:-1], fields["n_m3"][1:], strict=True)) + self.dp = tuple(b-a for a, b in zip(fields["p_m3"][:-1], fields["p_m3"][1:], strict=True)) + if self.m.dynamic: + self.dc = tuple(b-a for a, b in zip(fields["c_m3"][:-1], fields["c_m3"][1:], strict=True)) + cn, cp, n1, p1 = map(rational, (self.m.capture_n, self.m.capture_p, self.m.n1, self.m.p1)) + self.capture_difference = tuple(cn*(n*(1-f)-n1*f)-cp*(p*f-p1*(1-f)) + for n, p, f in zip(fields["n_m3"], fields["p_m3"], fields["f"], strict=True)) + else: + self.capture_difference = (Polynomial(),)*model.count + self.endpoint_carrier_rate = tuple( + self.q*self.volumes[i]*(fields["p_m3"][i]-fields["n_m3"][i]).derivative()/h + for i in (0, model.count-1)) + self.capture_charge_rate = tuple(-self.q*v*rational(self.m.trap_density)*r + for v, r in zip(self.volumes, self.capture_difference, strict=True)) + self.raw_metal = path.action(model.linear_forms["rate"]["metal_charge"]) + voltage_rate = path.inputs[0].derivative()/h + capacitance = self.area*rational(self.m.epsilon)/self.length + # Only endpoint carrier storage is fixed by the ideal reservoirs. + # Interior capture cancels against dynamic trap charge, not at contacts. + self.tangent_metal_polynomial = tuple( + sign*capacitance*voltage_rate + +sum((-weights[i]*self.capture_charge_rate[i] for i in (0, model.count-1)), Polynomial()) + for sign, weights in zip((1, -1), self.weights, strict=True)) + + def _require_domain(self): + left = self.path.clock.coordinate(self.path.clock.predecessor) + result = {} + for spec in self.model.layout.variables: + bounds = tuple(p.range(left, 0) for p in self.path.fields[spec.id]) + for lower, upper in bounds: + if spec.id in {"n_m3", "p_m3"} and lower <= 0: + raise ContractError("observation_nonpositive_active_carrier:"+spec.id) + if spec.lower is not None and lower < rational(spec.lower): + raise ContractError("observation_path_domain_lower:"+spec.id) + if spec.upper is not None and upper > rational(spec.upper): + raise ContractError("observation_path_domain_upper:"+spec.id) + if spec.id == "c_m3" and upper >= rational(self.m.ion_capacity): + raise ContractError("observation_vacancy_log_domain") + result[spec.id] = bounds + return MappingProxyType(result) + + def fluxes(self, arithmetic: BallIntegrator, coordinate, analytic=False): + a, m, fields = arithmetic, self.m, self.path.fields + evaluate = lambda polynomial: a.polynomial(polynomial, coordinate) + number = a.number + carrier, ion = [], [] + for i, xi_polynomial in enumerate(self.xi): + xi = evaluate(xi_polynomial) + bernoulli = a.bernoulli(xi) + jn = number(self.q*rational(m.mu_n)*rational(m.vt)/self.dx[i])*( + bernoulli*evaluate(self.dn[i])-xi*evaluate(fields["n_m3"][i])) + jp = number(self.q*rational(m.mu_p)*rational(m.vt)/self.dx[i])*( + -bernoulli*evaluate(self.dp[i])-xi*evaluate(fields["p_m3"][i+1])) + carrier.append(jn+jp) + if m.dynamic: + # Exact rational polynomial differences preserve the vacancy + # and weak ion changes before the interval nonlinear call. + vacancy_left = evaluate(rational(m.ion_capacity)-fields["c_m3"][i]) + vacancy_right = evaluate(rational(m.ion_capacity)-fields["c_m3"][i+1]) + drive = xi+(vacancy_left/vacancy_right).log(analytic=analytic) + ion.append(number(rational(m.diffusion_ion)/self.dx[i])*( + -a.bernoulli(drive)*evaluate(self.dc[i])-drive*evaluate(fields["c_m3"][i+1]))) + else: + ion.append(number(0)) + return tuple(carrier), tuple(ion) + + def tangent_metal_flux(self, arithmetic, coordinate, analytic=False): + """Closed form of the constant Dirichlet Poisson tangent action.""" + carrier, ion = self.fluxes(arithmetic, coordinate, analytic) + return self._tangent_metal_from_fluxes(arithmetic, carrier, ion) + + def _tangent_metal_from_fluxes(self, arithmetic, carrier, ion): + """Reduce one already evaluated local flux tuple without changing it.""" + number = arithmetic.number + total = [j+number(self.q)*f for j, f in zip(carrier, ion, strict=True)] + charge_rates = [number(-self.q*self.area)*ion[0]] + charge_rates += [number(self.area)*(a-b) for a, b in zip(total[:-1], total[1:], strict=True)] + charge_rates += [number(self.q*self.area)*ion[-1]] + return tuple(sum((-number(w)*b for w, b in zip(weights, charge_rates, strict=True)), number(0)) + for weights in self.weights) + + def currents(self, arithmetic, coordinate, analytic=False): + a = arithmetic + carrier, _ = self.fluxes(a, coordinate, analytic) + tangent_flux = self.tangent_metal_flux(a, coordinate, analytic) + raw, tangent = [], [] + for side, node, face, sign in ((0, 0, 0, 1), (1, self.model.count-1, self.model.count-2, -1)): + reservoir = a.number(sign*self.area)*carrier[face]+a.polynomial(self.capture_charge_rate[node], coordinate) + raw.append(reservoir+a.polynomial(self.endpoint_carrier_rate[side]+self.raw_metal[side], coordinate)) + tangent.append(reservoir+a.polynomial(self.tangent_metal_polynomial[side], coordinate)+tangent_flux[side]) + return {"raw_polynomial_current": tuple(raw), "same_state_affine_tangent_current": tuple(tangent)} + + def physical_charge_flux(self, arithmetic, coordinate, analytic=False): + """Independent body and metal F in A, including both metal terms.""" + a = arithmetic + carrier, ion = self.fluxes(a, coordinate, analytic) + body = (a.number(self.area)*(carrier[0]-carrier[-1]) + +a.polynomial(self.capture_charge_rate[0]+self.capture_charge_rate[-1],coordinate)) + tangent = self.tangent_metal_flux + if getattr(tangent, "__func__", None) is SlabPathObserver.tangent_metal_flux: + metal = self._tangent_metal_from_fluxes(a, carrier, ion) + else: + # Preserve existing instance/subclass overrides of the public path. + metal = tangent(a, coordinate, analytic) + return (body, *(flux+a.polynomial(poly,coordinate) for flux,poly in + zip(metal,self.tangent_metal_polynomial,strict=True))) + + def physical_charge_integrals(self, arithmetic, absolute_error, *, subinterval=None, + scale_deciders=None, checkpoint=lambda: None): + """New offline physical integrals/L1 evidence; no raw-derivative oracle.""" + self.path.require_covered() + first,last = contained_subinterval(self.path.clock,subinterval) + a,clock = arithmetic,self.path.clock + lower,upper = clock.coordinate(first),clock.coordinate(last) + deciders = (None,)*3 if scale_deciders is None else tuple(scale_deciders) + if len(deciders) != 3: + raise ContractError("physical_flux_decider_channels") + signed,bounds = [],[] + for index in range(3): + checkpoint() + def flux(u,analytic,index=index): + return a.number(clock.hused)*self.physical_charge_flux(a,u,analytic)[index] + signed.append(a.integrate(flux,lower,upper,absolute_error)) + bounds.append(a.absolute_enclosure(flux,lower,upper,absolute_error, + decide=deciders[index],checkpoint=checkpoint)) + return {"path_identity":self.path.identity,"subinterval":(first,last), + "physical_flux_integral_C":tuple(signed),"physical_flux_L1":tuple(bounds), + "basis":"fixed-uniform-epsilon-Dirichlet-slab-reservoir-carrier-ion-trap-capacitance-v1", + "units":"C","DAE_time_accuracy_certified":False} + + def integrate(self, arithmetic: BallIntegrator, absolute_error, *, partition_cells=None, subinterval=None): + """Signed charge integrals and conservative absolute raw/tangent gaps. + + ``absolute_error`` is an observation allocation supplied by the caller, + not a new physical gate. All returned radii still enter the original + interval and non-resetting prefix reference budget. + """ + if partition_cells is not None and (type(partition_cells) is not int or partition_cells != 4): + raise ContractError("observation_unsupported_partition") + a, path = arithmetic, self.path + path.require_covered() + first, last = contained_subinterval(path.clock, subinterval) + lower, upper, h = path.clock.coordinate(first), path.clock.coordinate(last), path.clock.hused + integrate_polynomial = path.integrate if subinterval is None else lambda p: path.integrate(p, subinterval=subinterval) + raw_conduction, tangent_conduction, tangent_metal, gaps = [], [], [], [] + partitions = [] + for side, node, face, sign in ((0, 0, 0, 1), (1, self.model.count-1, self.model.count-2, -1)): + nonlinear = a.integrate( + lambda u, analytic: a.number(sign*self.area*h)*self.fluxes(a, u, analytic)[0][face], + lower, upper, absolute_error) + tangent_conduction.append(nonlinear+integrate_polynomial(self.capture_charge_rate[node])) + raw_conduction.append(tangent_conduction[-1]+integrate_polynomial(self.endpoint_carrier_rate[side])) + flux_integral = a.integrate( + lambda u, analytic: a.number(h)*self.tangent_metal_flux(a, u, analytic)[side], + lower, upper, absolute_error) + tangent_metal.append(flux_integral+integrate_polynomial(self.tangent_metal_polynomial[side])) + difference = self.endpoint_carrier_rate[side]+self.raw_metal[side]-self.tangent_metal_polynomial[side] + def departure(u, analytic): + return a.number(h)*(a.polynomial(difference, u) + -self.tangent_metal_flux(a, u, analytic)[side]) + + first_call = len(a.calls) + gaps.append(a.absolute_bound(departure, lower, upper, absolute_error)) + if partition_cells is not None: + original_calls = (first_call, len(a.calls)) + cells = [] + for i in range(4): + left, right = lower+(upper-lower)*Fraction(i, 4), lower+(upper-lower)*Fraction(i+1, 4) + allocation = rational(absolute_error)/4 + first_call = len(a.calls) + bound = a.absolute_bound(departure, left, right, allocation) + cells.append({"left": left, "right": right, "allocation_C": allocation, + "bound": bound, "call_range": (first_call, len(a.calls))}) + port = ("left_metal", "right_metal")[side] + partitions.append({"port": port, + "integrand_identity": identity({"schema": "solarlab.terminal-departure.v1", + "path_identity": path.identity, "port": port, + "formula": "hused*(endpoint_carrier_rate+raw_metal-tangent_metal_polynomial-tangent_metal_flux)"}), + "absolute_error_C": rational(absolute_error), "original": gaps[-1], + "original_call_range": original_calls, + **certify_fixed4_partition(lower, upper, absolute_error, gaps[-1], tuple(cells))}) + # Total-current and body/metal charge rows are different quantities. + # A terminal L1 bound alone cannot bound its two charge contributions. + # The endpoint-carrier terms are polynomials, so their second moments + # are exact and need no further nonlinear quadrature. + def polynomial_l1(polynomial): + integrand = h*polynomial + moment = (integrand*integrand).integral(lower, upper) + return rational_sqrt_upper((upper-lower)*moment, rational(absolute_error)/2) + + endpoint_l1 = tuple(polynomial_l1(p) for p in self.endpoint_carrier_rate) + body_l1 = polynomial_l1(sum(self.endpoint_carrier_rate, Polynomial())) + terminal_upper = (tuple(row["retained_upper_C"] for row in partitions) if partition_cells is not None + else tuple(gap.upper for gap in gaps)) + charge_gap = (body_l1, *(gap+endpoint for gap, endpoint in zip(terminal_upper, endpoint_l1, strict=True))) + result = {"raw_polynomial": (sum(raw_conduction, Enclosure(0)), + *(Enclosure(integrate_polynomial(p)) for p in self.raw_metal)), + "same_state_affine_tangent": (sum(tangent_conduction, Enclosure(0)), *tangent_metal), + "raw_tangent_L1_upper_bounds": tuple(gaps), + "raw_tangent_charge_L1_upper_C": charge_gap, + "charge_gap_method": "exact polynomial second moment for body; total-current L1 plus endpoint-carrier L1 for each metal", + "path_identity": path.identity, + "certification_scope": "represented polynomial physical observations only", + "DAE_time_accuracy_certified": False, "continuum_space_accuracy_certified": False} + if partition_cells is not None: + result["terminal_partition"] = {"schema": "solarlab.terminal-partition.v1", + "path_identity": path.identity, "normalized_interval": (lower, upper), + "cells_per_port": 4, "ports": tuple(partitions), + "endpoint_carrier_L1_upper_C": endpoint_l1, "body_L1_upper_C": body_l1} + return result + + def strip_current_debit(self, arithmetic: BallIntegrator, *, subinterval=None): + """Conservative absolute current-charge debit on a declared extension. + + The output is separate from the signed integral and endpoint mismatch. + A future native packet also needs actual same-snapshot getter success + at the true predecessor. A synthetic path cannot supply that evidence. + """ + first, last = contained_subinterval(self.path.clock, subinterval) + strip_end = min(last, self.path.clock.native_left) + width = max(Fraction(0), strip_end-first) + if not width: + return {"raw_polynomial": (Fraction(0),)*3, + "same_state_affine_tangent": (Fraction(0),)*3} + if self.path.clock_policy != "declared_polynomial_extension": + raise ContractError("observation_strip_not_declared") + a, path = arithmetic, self.path + left, right = path.clock.coordinate(first), path.clock.coordinate(strip_end) + with a.flint.ctx.workprec(a.bits): + midpoint, radius = (left+right)/2, (right-left)/2 + ball = a.flint.arb(a.flint.fmpq(midpoint.numerator, midpoint.denominator), + a.flint.fmpq(radius.numerator, radius.denominator)) + coordinate = a.flint.acb(ball) + carrier, _ = self.fluxes(a, coordinate) + flux_metal = self.tangent_metal_flux(a, coordinate) + raw_cond, tangent_cond, raw_metal, tangent_metal = [], [], [], [] + for side, node, face, sign in ((0, 0, 0, 1), (1, self.model.count-1, self.model.count-2, -1)): + tangent_cond.append(a.number(sign*self.area)*carrier[face] + +a.polynomial(self.capture_charge_rate[node], coordinate)) + raw_cond.append(tangent_cond[-1]+a.polynomial(self.endpoint_carrier_rate[side], coordinate)) + raw_metal.append(a.polynomial(self.raw_metal[side], coordinate)) + tangent_metal.append(flux_metal[side]+a.polynomial(self.tangent_metal_polynomial[side], coordinate)) + values = {"raw_polynomial": (sum(raw_cond, a.number(0)), *raw_metal), + "same_state_affine_tangent": (sum(tangent_cond, a.number(0)), *tangent_metal)} + return {key: tuple(a.enclosure(value).absolute_upper*width for value in row) + for key, row in values.items()} + + +def native_observation_readiness(*, native_basis, input_map_error, endpoint_error, + clock_error, nonlinear_error, tangent_error, independent_review): + """Expose missing terms, never convert component tests into admission.""" + terms = dict(native_basis=native_basis, input_map_error=input_map_error, + endpoint_error=endpoint_error, clock_error=clock_error, + nonlinear_error=nonlinear_error, tangent_error=tangent_error, + independent_review=independent_review) + return {"missing": tuple(name for name, value in terms.items() if value is None), + "native_admitted": False, "F06": False, "G2": False, + "full_protocols_pending": {"S0_s": 1.2e-6, "dynamic_ion_trap_s": 9.2}, + "time_and_space_accuracy": "requires the original independent refinements"} diff --git a/scripts/benchmarks/native_history.py b/scripts/benchmarks/native_history.py new file mode 100644 index 00000000..bf0b4cf5 --- /dev/null +++ b/scripts/benchmarks/native_history.py @@ -0,0 +1,482 @@ +"""Bounded lossless native JSONL recording; no numerical imports or implicit codec. + +Pointers retain logical uncompressed offsets. Gzip is level 6, mtime 0, empty +filename, with Z_SYNC_FLUSH per record. A failed writer retains its readable +prefix and does not append a misleading footer. The outer artifact census still +owns logs/results and the total run cap; this writer reserves their original tail. +""" +from __future__ import annotations + +from dataclasses import dataclass +import gzip +import hashlib +import io +import json +from math import isfinite +import os +from pathlib import Path +import re +import sys +from typing import Any, Callable, Literal, Mapping +import zlib + +Encoding = Literal["raw", "gzip"] +METADATA_RESERVE = 1048576 +# Empty final deflate block plus CRC32/ISIZE after a per-record sync flush. +# The actual final write is independently capacity checked as well. +GZIP_TRAILER_RESERVE = 10 +INTEGER_IO_SCHEMA = "solarlab.native-integer-io.v1" +INTEGER_IO_CODEC = "decimal-with-bounded-hex-v1" +INTEGER_HEX_TAG = "__solarlab_integer_hex_v1__" +INTEGER_DECIMAL_DIGITS = 4300 +MAX_INTEGER_IO_BITS = 131072 +_DECIMAL_BOUNDARY = 10 ** INTEGER_DECIMAL_DIGITS + + +class HistoryLimitError(ValueError): + """A record, metadata publication or finalization would exceed its budget.""" + + +@dataclass(frozen=True) +class HistoryPosition: + logical_bytes: int + encoded_bytes: int + encoding: Encoding + + +def _integer(value: int, name: str, minimum: int = 0) -> None: + if type(value) is not int or value < minimum: + raise ValueError(f"{name} must be an integer >= {minimum}") + + +def configure_integer_io(policy, max_record_bytes: int): + """Apply one explicit, finite process policy; absence retains legacy I/O.""" + if policy is None: + return None + if (type(policy) is not dict or set(policy) != {"schema", "codec", "decimal_digits", "max_integer_bits"} + or policy["schema"] != INTEGER_IO_SCHEMA or policy["codec"] != INTEGER_IO_CODEC + or type(policy["decimal_digits"]) is not int or policy["decimal_digits"] != INTEGER_DECIMAL_DIGITS + or type(policy["max_integer_bits"]) is not int + or not _DECIMAL_BOUNDARY.bit_length() <= policy["max_integer_bits"] <= min(MAX_INTEGER_IO_BITS, 4 * max_record_bytes)): + raise ValueError("invalid native integer I/O policy") + sys.set_int_max_str_digits(INTEGER_DECIMAL_DIGITS) + result = dict(policy) + integer_io_observed(result) + return result + + +def integer_io_observed(policy, *, require_match=True): + if policy is None: + return None + actual = sys.get_int_max_str_digits() + if require_match and actual != policy["decimal_digits"]: + raise HistoryLimitError("native integer process decimal limit changed") + return {"policy": dict(policy), "actual_decimal_digits": actual} + + +def encode_integer_values(value, policy, *, _path="$", _depth=0): + """Change only oversized integer representation, never its exact value.""" + if policy is None: + return value + if _depth > 64: + raise HistoryLimitError("native integer JSON nesting limit") + if type(value) is int: + bits = abs(value).bit_length() + if bits > policy["max_integer_bits"]: + raise HistoryLimitError(f"native integer bit limit at {_path}: {bits}>{policy['max_integer_bits']}") + return {INTEGER_HEX_TAG: hex(value)} if abs(value) >= _DECIMAL_BOUNDARY else value + if isinstance(value, dict): + if INTEGER_HEX_TAG in value: + raise ValueError("reserved native integer tag in unencoded input") + if any(type(key) is not str for key in value): + raise ValueError("native integer JSON object keys must be strings") + return {k: encode_integer_values(v, policy, _path=_path+"/"+str(k), _depth=_depth+1) + for k, v in value.items()} + if isinstance(value, (list, tuple)): + return [encode_integer_values(v, policy, _path=_path+"/"+str(i), _depth=_depth+1) + for i, v in enumerate(value)] + return value + + +def decode_integer_values(value, policy, *, _depth=0): + if policy is None: + return value + if _depth > 64: + raise HistoryLimitError("native integer JSON nesting limit") + if isinstance(value, dict): + if INTEGER_HEX_TAG in value: + text = value[INTEGER_HEX_TAG] + if (len(value) != 1 or type(text) is not str + or len(text) > (policy["max_integer_bits"] + 3)//4 + 3 + or re.fullmatch(r"-?0x[1-9a-f][0-9a-f]*", text) is None): + raise ValueError("invalid bounded native integer hex tag") + digits = text[3:] if text.startswith("-") else text[2:] + if ((len(digits)-1)*4 + int(digits[0], 16).bit_length() > policy["max_integer_bits"]): + raise ValueError("over-limit native integer hex tag") + number = int(text, 16) + if (abs(number).bit_length() > policy["max_integer_bits"] + or abs(number) < _DECIMAL_BOUNDARY or hex(number) != text): + raise ValueError("noncanonical or over-limit native integer hex tag") + return number + return {k: decode_integer_values(v, policy, _depth=_depth+1) for k, v in value.items()} + if isinstance(value, list): + return [decode_integer_values(v, policy, _depth=_depth+1) for v in value] + return value + + +def integer_json_dumps(value, policy=None, **kwargs): + integer_io_observed(policy) + return json.dumps(encode_integer_values(value, policy), **kwargs) + + +def _line(record: Mapping[str, Any], integer_io_policy=None) -> bytes: + return (integer_json_dumps(record, integer_io_policy, allow_nan=False, separators=(",", ":")) + "\n").encode() + + +def _reject_constant(text: str) -> Any: + raise ValueError(f"non-finite JSON constant: {text}") + + +def _finite_float(text: str) -> float: + value = float(text) + if not isfinite(value): + raise ValueError("non-finite JSON number") + return value + + +class HistoryWriter: + """Own one new history and its LastRecord/LastAccepted sidecars. + + Publication uses the retained runner's temporary-file/replace pattern after + history flush. It is process-crash recovery, not a new power-loss durability + guarantee. Metadata admission includes the transient old+new pointer copies. + Unknown record kinds do not acquire a physical acceptance claim. + """ + + def __init__(self, path: Path, *, encoding: Encoding, total_output_bytes: int, + metadata_reserve_bytes: int = METADATA_RESERVE, + max_record_bytes: int = 1048576, integer_io_policy=None) -> None: + if encoding not in ("raw", "gzip"): + raise ValueError("encoding must be explicit raw or gzip") + _integer(total_output_bytes, "total_output_bytes", 1) + _integer(metadata_reserve_bytes, "metadata_reserve_bytes") + _integer(max_record_bytes, "max_record_bytes", 1) + self.path = Path(path) + self.encoding = encoding + self.total_output_bytes = total_output_bytes + self.metadata_reserve_bytes = metadata_reserve_bytes + self.max_record_bytes = max_record_bytes + self.integer_io_policy = configure_integer_io(integer_io_policy, max_record_bytes) + self.logical_bytes = self.encoded_bytes = self.records = 0 + self.closed = False + self.container_complete: bool | None = False if encoding == "gzip" else None + self.error: str | None = None + self.first_exception: BaseException | None = None + self._logical_hash = hashlib.sha256() + self.cleanup_error: str | None = None + self._sizes: dict[str, int] = {} + self._buffer = io.BytesIO() + self._gzip: gzip.GzipFile | None = None + self._file: Any = None + for name in ("LastRecord.json", "LastAccepted.json", "LastRecord.tmp", "LastAccepted.tmp", "FirstFailure.tmp"): + if (self.path.parent / name).exists(): + self._buffer.close() + raise FileExistsError(self.path.parent / name) + try: + first_failure = self.path.parent / "FirstFailure.json" + if first_failure.exists(): + self._sizes["FirstFailure.json"] = first_failure.stat().st_size + if self._sizes["FirstFailure.json"] > metadata_reserve_bytes: + raise HistoryLimitError("existing first failure exceeds metadata reservation") + if encoding == "gzip": + self._gzip = gzip.GzipFile(filename="", mode="wb", fileobj=self._buffer, + compresslevel=6, mtime=0) + header = self._take() + self._admit(len(header), finishing=False) + self._file = self.path.open("xb", buffering=0) + self._write(header) + except BaseException as error: + self._fail(error) + raise + + @property + def position(self) -> HistoryPosition: + return HistoryPosition(self.logical_bytes, self.encoded_bytes, self.encoding) + + @property + def logical_sha256(self) -> str: + """Digest of the complete record bytes successfully written so far.""" + return self._logical_hash.hexdigest() + + def _take(self) -> bytes: + data = self._buffer.getvalue() + self._buffer.seek(0) + self._buffer.truncate(0) + return data + + def _admit(self, size: int, *, finishing: bool) -> None: + tail = GZIP_TRAILER_RESERVE if self.encoding == "gzip" and not finishing else 0 + if self.encoded_bytes + size + self.metadata_reserve_bytes + tail > self.total_output_bytes: + raise HistoryLimitError("encoded history plus metadata/footer reservation exceeds cap") + + def _write(self, data: bytes) -> None: + if data: + written = self._file.write(data) + self.encoded_bytes = self._file.tell() + if written != len(data): + raise OSError("short history write") + self._file.flush() + + def _publication(self, row: dict[str, Any], logical: int, encoded: int) -> list[tuple[str, bytes]]: + pointer = {"history_byte_offset_after_record": logical, "kind": row.get("kind"), + "record_sha256": row.get("record_sha256"), + "history_encoding": self.encoding, "encoded_byte_offset_after_record": encoded} + values: list[tuple[str, Any]] = [("LastRecord.json", pointer)] + if (row.get("kind") in {"voltage_lift_interval_charge", "voltage_lift_interval_charge_v2"} + and row.get("observation", {}).get("passed") is True): + values.append(("LastAccepted.json", {"pointer": pointer, "right": row["right"], + "frame": row["coefficient_frame_identity"]})) + plan = [(name, (integer_json_dumps(value, self.integer_io_policy, allow_nan=False) + "\n").encode()) + for name, value in values] + self._admit_publications(plan) + return plan + + def _admit_publications(self, plan: list[tuple[str, bytes]]) -> None: + sizes = dict(self._sizes) + for name, data in plan: + if sum(sizes.values()) + len(data) > self.metadata_reserve_bytes: + raise HistoryLimitError("pointer publication including temporary copy exceeds reservation") + sizes[name] = len(data) + + def _publish(self, plan: list[tuple[str, bytes]]) -> None: + for name, data in plan: + target = self.path.parent / name + temporary = target.with_suffix(".tmp") + with temporary.open("xb") as stream: + if stream.write(data) != len(data): + raise OSError("short pointer write") + stream.flush() + os.replace(temporary, target) + self._sizes[name] = len(data) + + def publish_first_failure(self, value: Any) -> bool: + """Keep the first supplied failure, including before a history refusal. + + This may be used after abort/finalization; it never changes the retained + history or overwrites an earlier failure. The original metadata reserve + includes the temporary publication copy and all owned sidecars. + """ + target = self.path.parent / "FirstFailure.json" + if target.exists(): + return False + data = (integer_json_dumps(value, self.integer_io_policy, indent=2, allow_nan=False) + "\n").encode() + plan = [("FirstFailure.json", data)] + self._admit(0, finishing=True) + self._admit_publications(plan) + self._publish(plan) + return True + + def abort(self, error: BaseException) -> None: + """Close without copying a footer; retain the original failure identity.""" + self._fail(error) + + def append(self, record: Mapping[str, Any]) -> HistoryPosition: + if self.closed: + raise ValueError("history writer is closed") + try: + line = _line(record, self.integer_io_policy) + except BaseException as error: + self._fail(error) + raise + return self.append_line(line) + + def __call__(self, record: Mapping[str, Any]) -> HistoryPosition: + return self.append(record) + + def append_line(self, line: bytes) -> HistoryPosition: + """Preserve an already encoded complete JSON object without reserializing it.""" + if self.closed: + raise ValueError("history writer is closed") + try: + if not isinstance(line, bytes) or len(line) > self.max_record_bytes: + raise HistoryLimitError("record exceeds byte bound") + if not line.endswith(b"\n") or line.count(b"\n") != 1: + raise ValueError("one complete JSONL record is required") + integer_io_observed(self.integer_io_policy) + row = decode_integer_values(json.loads(line, parse_constant=_reject_constant, + parse_float=_finite_float), self.integer_io_policy) + if not isinstance(row, dict): + raise ValueError("history records must be JSON objects") + if row.get("kind") == "first_callback_failure": + self.publish_first_failure(row) + if self._gzip is None: + encoded = line + else: + self._gzip.write(line) + self._gzip.flush(zlib.Z_SYNC_FLUSH) + encoded = self._take() + self._admit(len(encoded), finishing=False) + logical = self.logical_bytes + len(line) + plan = self._publication(row, logical, self.encoded_bytes + len(encoded)) + self._write(encoded) + self.logical_bytes = logical + self._logical_hash.update(line) + self.records += 1 + self._publish(plan) + return self.position + except BaseException as error: + self._fail(error) + raise + + def finish(self) -> HistoryPosition: + if self.closed: + if self.error is not None: + raise ValueError("failed history cannot be finalized") + return self.position + try: + if self._gzip is not None: + self._gzip.close() + trailer = self._take() + self._admit(len(trailer), finishing=True) + self._write(trailer) + self._file.close() + self._buffer.close() + self.closed = True + if self.encoding == "gzip": + self.container_complete = True + return self.position + except BaseException as error: + self._fail(error) + raise + + def _fail(self, error: BaseException) -> None: + if self.error is None: + self.error = f"{type(error).__name__}: {error}" + self.first_exception = error + # Encoder output remains in memory on failure; never copy a footer for a + # rejected/partially written record into the retained history file. + try: + if self._gzip is not None: + self._gzip.close() + except BaseException: + pass + try: + if self._file is not None and not self._file.closed: + self.encoded_bytes = self._file.tell() + self._file.close() + except BaseException as cleanup_error: + self.cleanup_error = f"{type(cleanup_error).__name__}: {cleanup_error}" + finally: + self._buffer.close() + self.closed = True + + def __enter__(self) -> HistoryWriter: + return self + + def __exit__(self, kind: Any, error: Any, traceback: Any) -> None: + if error is None: + self.finish() + elif not self.closed: + self._fail(error) + + +def emit_record(record: Mapping[str, Any], emit: Callable[[Any], Any], *, + logical_bytes: int, total_output_bytes: int) -> HistoryPosition: + """Admission for both controller save paths; legacy callbacks stay raw. + + Only the explicit owned writer uses encoded accounting. A callback's return + value never grants a budget bypass. Callers map HistoryLimitError to their + existing path-specific ContractError and update counters after success only. + """ + if isinstance(emit, HistoryWriter): + if (emit.total_output_bytes != total_output_bytes + or emit.metadata_reserve_bytes != METADATA_RESERVE + or emit.logical_bytes != logical_bytes): + raise HistoryLimitError("controller/writer budget or logical offset mismatch") + return emit(record) + size = len(_line(record)) + if logical_bytes + size > total_output_bytes - METADATA_RESERVE: + raise HistoryLimitError("raw history plus original metadata reservation exceeds cap") + emit(record) + return HistoryPosition(logical_bytes + size, logical_bytes + size, "raw") + + +class HistoryReader: + """Bounded binary lines for the existing native JSONL reader. + + EOF is not proof that a raw writer finished: raw container_complete is None. + Gzip container_complete becomes True only after verified end-of-stream. + JSON parsing stays with the original consumer; records() is a convenience + with the same json.loads error behavior and explicit partial-tail retention. + """ + + def __init__(self, path: Path, *, encoding: Encoding, max_record_bytes: int, + max_logical_bytes: int, integer_io_policy=None) -> None: + if encoding not in ("raw", "gzip"): + raise ValueError("encoding must be explicit raw or gzip") + _integer(max_record_bytes, "max_record_bytes", 1) + _integer(max_logical_bytes, "max_logical_bytes") + self.max_record_bytes = max_record_bytes + self.max_logical_bytes = max_logical_bytes + self.encoding = encoding + self.integer_io_policy = configure_integer_io(integer_io_policy, max_record_bytes) + self.logical_bytes = self.complete_lines = 0 + self.eof_seen = False + self.container_complete: bool | None = False if encoding == "gzip" else None + self.partial_tail = b"" + self.error: str | None = None + self._raw = Path(path).open("rb") + self._stream = gzip.GzipFile(fileobj=self._raw, mode="rb") if encoding == "gzip" else self._raw + self.encoded_bytes_read = 0 + + def __iter__(self) -> HistoryReader: + return self + + def __next__(self) -> bytes: + if self.error is not None: + raise ValueError("history reader already failed") + try: + line = self._stream.readline(self.max_record_bytes + 1) + self.encoded_bytes_read = self._raw.tell() + if not line: + if self.encoding == "gzip" and self.encoded_bytes_read == 0: + raise EOFError("gzip stream has no header or member") + self.eof_seen = True + if self.encoding == "gzip": + self.container_complete = True + raise StopIteration + if len(line) > self.max_record_bytes or self.logical_bytes + len(line) > self.max_logical_bytes: + raise HistoryLimitError("decoded history exceeds read bound") + self.logical_bytes += len(line) + if line.endswith(b"\n"): + self.complete_lines += 1 + else: + self.partial_tail = line + return line + except StopIteration: + raise + except (OSError, EOFError, ValueError, zlib.error) as error: + self.error = f"{type(error).__name__}: {error}" + raise + + def records(self): + for line in self: + if line.endswith(b"\n"): + try: + integer_io_observed(self.integer_io_policy) + yield decode_integer_values(json.loads(line), self.integer_io_policy) + except ValueError as error: + self.error = f"{type(error).__name__}: {error}" + raise + + def close(self) -> None: + try: + self._stream.close() + finally: + self._raw.close() + + def __enter__(self) -> HistoryReader: + return self + + def __exit__(self, *args: Any) -> None: + self.close() diff --git a/scripts/benchmarks/native_observation.py b/scripts/benchmarks/native_observation.py new file mode 100644 index 00000000..48dd2316 --- /dev/null +++ b/scripts/benchmarks/native_observation.py @@ -0,0 +1,1475 @@ +"""Prepare physical observations from the existing affine voltage map. + +No native memory is inspected and no trajectory is advanced. A raw polynomial +must be supplied explicitly; until the owner-level basis export is available, +this module does not manufacture its provenance from rounded Dky readbacks. +""" + +from __future__ import annotations + +from dataclasses import dataclass +from fractions import Fraction +from hashlib import sha256 +import json +from math import prod +from pathlib import Path +from types import MappingProxyType +from typing import Mapping + +import numpy as np + +from perovskite_sim.constants import Q +from scripts.benchmarks.contract_prototype import ( + ContractError, LinearTerm, PhysicalLinearForm, frozen_array, +) +from scripts.benchmarks.coupled_device_prototype import ( + AffineCoupledSlab, AffineVoltageMap, VoltageLiftSegmentAdapter, digest, +) +from scripts.benchmarks.interval_observation import ( + AcceptedClock, BallIntegrator, ChargePrefix, SignedChargePrefix, Enclosure, Polynomial, PolynomialPath, SlabPathObserver, + endpoint_charge_mismatch, identity, newton_polynomials, public_action_enclosures, + rational, segment_input_roundoff, contained_subinterval, affine_interval_actions, +) +from scripts.benchmarks.bounded_observation import ( + BoundChannel, ExactBoundTerm, UpperAccumulator, UpperSumPolicy, +) +from scripts.benchmarks.native_history import encode_integer_values +from scripts.benchmarks.physical_tolerance import physical_charge_policy, physical_charge_budgets + + +CHARGE_REFINEMENT = "fixed4-upper120-v1" +CHARGE_LEDGERS = ("raw_polynomial", "same_state_affine_tangent") +CHARGE_CHANNELS = tuple(BoundChannel(ledger, row, kind) for ledger in CHARGE_LEDGERS + for row in ("device", "left_metal", "right_metal") for kind in ("total", "reference")) +CHARGE_LOCAL_FIELDS = ("saved_finite_charge_change_C", "nominal_change_C", "signed_integral_C", + "error_components_C", "signed_saved_defect_C", "interval_total_bound_C", "interval_reference_error_C", + "original_charge_budget_C", "original_reference_share_C") + + +def prepare_physical_charge_prefix(request): + """Start once for the full protocol; historical charge budgets stay intact.""" + if "physical_tolerance_policy" not in request: + return None + return SignedChargePrefix.start(physical_charge_budgets(request)) + + +def physical_charge_summary(prefix): + """Retain the signed prefix and its failure latch, separately from old L1.""" + if type(prefix) is not SignedChargePrefix: + raise ContractError("native_observation_physical_charge_prefix_required") + checks = tuple(not failed for failed in prefix.failed) + return {"schema": "solarlab.native-physical-charge-prefix.v1", "intervals": prefix.intervals, + "budgets_C": prefix.budgets, "signed_balance_C": prefix.signed_balances, + "error_components_C": {"saved_charge_evaluation": prefix.charge_errors, + "physical_flux_integration": prefix.quadrature_errors, + "input": prefix.input_errors, "clock_strip": prefix.clock_errors}, + "total_error_C": prefix.total_errors, "total_bound_C": prefix.total_bounds, + "cumulative_interval_absolute_balance_C": prefix.absolute_balances, + "failed": prefix.failed, "row_checks": checks, "passed": all(checks)} + + +def physical_charge_passed(request, evidence, *, frame_identity, path_identity, map_identity, map_payload): + """Check the new gate's binding/latch, not an independent flux calculation. + + The reader must also reproduce this record from its saved physical inputs. + This selector never substitutes the historical top-level ``passed`` flag. + """ + policy = physical_charge_policy(request) + if not isinstance(map_payload, Mapping): + raise ContractError("native_observation_physical_charge_active_map") + root = request["voltage_lift_map"] + expected_map = dict(root) + if map_payload.get("segment_frame") is not None: + frame = map_payload["segment_frame"] + if not isinstance(frame, Mapping) or frame.get("parent_map_identity") != request["map_identity"]: + raise ContractError("native_observation_physical_charge_parent_map") + expected_map.update(segment_frame=frame, + raw_coordinate_meaning="fixed-segment affine remainder u; native history is u", + physical_coordinate_meaning="Point.y is the first retained word of S*(Q0+(t-t0)*V0+u)+L*(a-a_ref)") + if (digest(root) != request["map_identity"] or map_payload != expected_map + or digest(map_payload) != map_identity): + raise ContractError("native_observation_physical_charge_active_map") + row = evidence.get("physical_charge") + required = {"source_identity", "layout_identity", "model_id", "charge_form_identities", "physical_flux_basis", + "saved_finite_charge_change_C", "physical_flux_integral_C", "signed_balance_C", + "error_components_C", "interval_total_bound_C", "integration_uncertainty_role"} + if (not isinstance(row, Mapping) or row.get("schema") != "solarlab.native-physical-charge.v1" + or not required <= row.keys() + or row.get("policy") != policy or row.get("request_sha256") != digest(request) + or row.get("map_identity") != map_identity or row.get("root_map_identity") != request["map_identity"] + or row.get("frame_identity") != frame_identity or row.get("path_identity") != path_identity + or evidence.get("frame_identity") != frame_identity or evidence.get("path_identity") != path_identity + or row.get("clock") != evidence.get("clock")): + raise ContractError("native_observation_physical_charge_evidence_binding") + prefix = row.get("prefix") + prefix_fields = {"signed_balance_C", "error_components_C", "total_error_C", "total_bound_C", + "cumulative_interval_absolute_balance_C"} + if (not isinstance(prefix, Mapping) or prefix.get("schema") != "solarlab.native-physical-charge-prefix.v1" + or not prefix_fields <= prefix.keys() + or prefix.get("budgets_C") != physical_charge_budgets(request) + or type(prefix.get("intervals")) is not int or prefix["intervals"] <= 0): + raise ContractError("native_observation_physical_charge_prefix_binding") + failed = prefix.get("failed") + if (type(failed) is not tuple or len(failed) != 3 or any(type(value) is not bool for value in failed)): + raise ContractError("native_observation_physical_charge_latch_missing") + checks = tuple(not value for value in failed) + if (any(type(record.get("row_checks")) is not tuple or len(record["row_checks"]) != 3 + or any(type(value) is not bool for value in record["row_checks"]) for record in (row, prefix)) + or row.get("row_checks") != checks or prefix.get("row_checks") != checks + or row.get("passed") is not all(checks) or prefix.get("passed") is not all(checks)): + raise ContractError("native_observation_physical_charge_latch_changed") + return all(checks) + + +def charge_upper_policy(source_identity): + """The single explicit bounded representation; no scientific tolerance.""" + return UpperSumPolicy(source_identity, CHARGE_CHANNELS, 120, 200000, + Fraction(200000, 2**120), 65536, 8*1024*1024) + + +def prepare_charge_accumulator(request, observer_policy): + """Construct once per whole protocol, only for the matching v2 policy.""" + refinement = observer_policy.get("charge_refinement") + expected = prepare_interval_observation_policy(request, + binding_identity=observer_policy["binding_identity"], header_sha256=observer_policy["header_sha256"], + backend_modules=observer_policy["backend_modules"], + charge_refinement=refinement.get("name") if isinstance(refinement, Mapping) else None) + if digest(expected) != digest(observer_policy): + raise ContractError("native_observation_charge_policy_changed") + return UpperAccumulator(charge_upper_policy(digest(request))) if refinement is not None else None + + +def charge_upper_summary(accumulator): + """Actual producer representation, including conservative rounding cost.""" + p = accumulator.policy + return {"schema": "solarlab.native-upper-prefix-state.v1", "policy_sha256": p.identity, + "source_identity": p.source_identity, "channel_ids": p.channel_ids, "index": accumulator.count, + "upper_numerators": accumulator.upper_numerators, "rounded_terms": accumulator.rounded_terms, + "slack_upper_bounds": tuple(n*p.quantum for n in accumulator.rounded_terms)} + + +def charge_upper_term(source_identity, frame_identity, path_identity, clock, ledgers): + """Bind untouched local signed evidence; omit cumulative/self-hash fields.""" + selected = {"schema": "solarlab.native-charge-local-evidence.v1", "source_identity": source_identity, + "frame_identity": frame_identity, "path_identity": path_identity, "clock": clock, + "ledgers": {key: {name: ledgers[key][name] for name in CHARGE_LOCAL_FIELDS} + for key in CHARGE_LEDGERS}} + encoded = encode_integer_values(observation_record(selected), {"max_integer_bits": 65536}) + signed = json.dumps(encoded, sort_keys=True, separators=(",", ":"), allow_nan=False).encode() + increments = tuple(ledgers[channel.ledger][channel.source_increment][i] + for channel in CHARGE_CHANNELS for i in (("device", "left_metal", "right_metal").index(channel.row),)) + return ExactBoundTerm(source_identity, tuple(c.identity for c in CHARGE_CHANNELS), + sha256(signed).hexdigest(), increments, signed) + + +def input_evaluation_bounds(segment, clock): + """Bound the actual input operations at stored binary64 query times. + + The nominal smooth input uses the actual stored slope. This is not a + derivative of a quantized/sawtooth input. Clock/readback time differences + remain separate errors. Exact constant and unit-slope cases avoid a + fictitious uncertainty for operations that introduce no rounding. + """ + original = segment_input_roundoff(segment, clock) + starts, slopes = segment.inputs(segment.start) + records = [] + for start, slope, row in zip(starts, slopes, original, strict=True): + start, slope = rational(start), rational(slope) + row = dict(row) + proof = "three-operation round-to-nearest bound with subnormal allowance" + if slope == 0: + row["interior_arithmetic_bound"] = Fraction(0) + proof = "zero multiplication and addition of zero preserve the stored input" + elif (start == 0 and abs(slope) == 1 and segment.start > 0 + and rational(segment.end) <= 2*rational(segment.start)): + row["interior_arithmetic_bound"] = Fraction(0) + proof = "Sterbenz subtraction for stored times, unit multiplication, addition of zero" + row["uniform_evaluation_bound"] = max(row["interior_arithmetic_bound"], row["end_snap_mismatch"]) + row["exactness_or_bound_source"] = proof + records.append(MappingProxyType(row)) + return tuple(records) + + +@dataclass(frozen=True) +class MappedPolynomial: + path: PolynomialPath + raw_polynomials: tuple[Polynomial, ...] + input_errors: tuple + binding_identity: str + map_identity: str + request_identity: str + reference_identity: str + segment_identity: str + coefficient_frame_identity: str | None = None + + +def _require_map(binding): + if not isinstance(binding, VoltageLiftSegmentAdapter): + raise ContractError("native_observation_segment_adapter_required") + mapping, segment = binding.adapter.mapping, binding.segment + model = mapping.model + qualified_scope = getattr(binding.context, "qualification_scope", None) + extended = (type(model) is AffineCoupledSlab + and qualified_scope == (model.definition.id, model.intervals, model.layout.size)) + if (type(mapping) is not AffineVoltageMap or type(model) is not AffineCoupledSlab + or ((model.intervals != 8 or model.layout.size > 45) and not extended) + or model.definition.id not in {"S0NeutralPublicDeviceV1", "DynamicAcceptorIonPublicDeviceV1"} + or digest(mapping.payload()) != mapping.identity + or np.any(model.reference.y != 0)): + raise ContractError("native_observation_unsupported_map_or_reference") + binding.context.segment_digest(model, segment) + phi = model.layout.offsets["phi_V"] + outside = np.r_[np.arange(phi.start), np.arange(phi.stop, model.layout.size)] + if np.any(mapping.lift[outside]) or np.any(mapping.lift[:, 1]): + raise ContractError("native_observation_requires_voltage_only_affine_lift") + return mapping + + +def prepare_physical_polynomial(binding, raw_polynomials, clock: AcceptedClock, *, + clock_policy="reject_uncovered", coefficient_frame_identity=None): + """Compose ref+S*z+L*(a-a_ref), retaining all real coefficients exactly. + + This prepares a named numerical reconstruction. It does not assert that + its raw coefficients were acquired from a native solver. The eventual + Engineering packet must bind that separate source/owner/generation fact. + """ + mapping = _require_map(binding) + model = mapping.model + raw = tuple(raw_polynomials) + if (len(raw) != model.layout.size or any(not isinstance(p, Polynomial) + or len(p.coefficients) > clock.kused+1 for p in raw)): + raise ContractError("native_observation_coordinate_shape_or_order") + parent = raw + if mapping.frame is not None: + frame = mapping.frame + numeric = getattr(binding, "numeric_handoff_json", None) + anchored = frame.t0 == binding.segment.start + if numeric is not None: + handoff = json.loads(numeric) + anchored = (handoff["phase"] == "complete" and handoff["transfer"]["new_frame_identity"] == frame.identity + and frame.t0 == float.fromhex(handoff["transfer"]["time_hex"]) + and rational(frame.t0) <= clock.predecessor) + if (frame.segment_sha256 != binding.segment_sha256 or not anchored + or frame.parent_map_identity != digest(mapping.payload(include_frame=False))): + raise ContractError("native_observation_segment_frame_binding") + q0 = tuple(sum((rational(w[i]) for w in frame.q0.words), Fraction(0)) for i in range(len(raw))) + v0 = tuple(sum((rational(w[i]) for w in frame.v0.words), Fraction(0)) for i in range(len(raw))) + # Polynomial coordinate is (t-tn)/hused, not t-t0. + parent = tuple(p+Polynomial((q+(clock.tn-rational(frame.t0))*v, clock.hused*v)) + for p, q, v in zip(raw, q0, v0, strict=True)) + errors = input_evaluation_bounds(binding.segment, clock) + inputs = tuple(Polynomial((row["input_at_tn_exact_line"], row["stored_slope"]*clock.hused)) for row in errors) + fields = {} + for variable in model.layout.variables: + root = model.field(model.reference, variable.id) + origin = [sum((rational(word.flat[i]) for word in root.words), Fraction(0)) + for i in range(prod(variable.shape))] + offset = model.layout.offsets[variable.id] + fields[variable.id] = tuple( + Polynomial((reference,))+rational(mapping.columns[row])*parent[row] + +sum((rational(mapping.lift[row, j])*(inputs[j]-rational(mapping.reference_inputs[j])) + for j in range(len(inputs))), Polynomial()) + for reference, row in zip(origin, range(offset.start, offset.stop), strict=True)) + coefficient_id = identity({"role": "explicit_polynomial_data_not_native_attestation", + "raw": [p.payload() for p in raw], "map": mapping.identity, + "request": binding.context.request_sha256, "segment": binding.segment_sha256, + "coefficient_frame": coefficient_frame_identity}) + path = PolynomialPath(clock, fields, inputs, model.source_identity, model.layout.identity, + coefficient_id, "declared_reconstruction", clock_policy) + return MappedPolynomial(path, raw, errors, binding.source_identity, mapping.identity, + binding.context.request_sha256, model.reference.identity, binding.segment_sha256, + coefficient_frame_identity) + + +def _input_direction(form, mapping, input_index): + """Exact directional action of the public factored physical form.""" + if form.source_identity != mapping.model.source_identity: + raise ContractError("native_observation_form_source") + rows = [Fraction(0)]*len(form.row_ids) + for term in form.terms: + if term.field is None: + continue # A fixed background has exactly zero input variation. + if term.field in mapping.model.layout.offsets: + row = mapping.model.layout.offsets[term.field].start+term.index + direction = rational(mapping.lift[row, input_index]) + elif term.field == "applied_contact": + direction = Fraction(int(term.index == 1 and input_index == 0)) + else: + raise ContractError("native_observation_uncovered_external_source") + coefficient = Fraction(term.sign) + for factor in term.factors: + coefficient *= rational(factor.value) + if term.divisor is not None: + coefficient /= rational(term.divisor.value) + rows[term.row] += coefficient*direction + return tuple(rows) + + +def voltage_current_sensitivity(mapping, observer: SlabPathObserver): + """Uniform SG sensitivity to the map's one correlated voltage input.""" + if observer.model is not mapping.model: + raise ContractError("native_observation_sensitivity_model") + model, material, path = mapping.model, mapping.model.definition, observer.path + start = path.clock.coordinate(path.clock.predecessor) + magnitude = lambda p: max(map(abs, p.range(start, 0))) + lift = tuple(rational(v) for v in mapping.lift[model.layout.offsets["phi_V"], 0]) + q, vt = rational(Q), rational(material.vt) + carrier, ion = [], [] + for i, dx in enumerate(map(rational, model.dx)): + delta_lift = abs(lift[i+1]-lift[i]) + carrier.append(q*delta_lift/dx*( + abs(rational(material.mu_n))*(magnitude(observer.dn[i])+magnitude(path.fields["n_m3"][i])) + +abs(rational(material.mu_p))*(magnitude(observer.dp[i])+magnitude(path.fields["p_m3"][i+1])))) + ion.append(abs(rational(material.diffusion_ion))*delta_lift/(dx*vt)*( + magnitude(observer.dc[i])+magnitude(path.fields["c_m3"][i+1])) if material.dynamic else Fraction(0)) + return tuple(carrier), tuple(ion) + + +def propagated_input_error(binding, prepared: MappedPolynomial, *, subinterval=None): + """Potential/input evaluation error propagated to physical observations. + + On the real axis -1 <= B'(x) <= 0: the upper inequality follows from + (1-x)*exp(x)<=1, and the lower from exp(x)>=1+x; B'(0)=-1/2. + This global Lipschitz bound controls SG changes without subtracting two + wide Bernoulli intervals. The correlated face lift difference is formed + before dividing by dx/VT. No density/rate word is projected here. + """ + mapping = _require_map(binding) + if (prepared.binding_identity != binding.source_identity or prepared.map_identity != mapping.identity + or prepared.request_identity != binding.context.request_sha256 + or prepared.reference_identity != mapping.model.reference.identity + or prepared.segment_identity != binding.segment_sha256): + raise ContractError("native_observation_prepared_map_binding") + if prepared.input_errors != input_evaluation_bounds(binding.segment, prepared.path.clock): + raise ContractError("native_observation_input_error_source_changed") + observer = SlabPathObserver(mapping.model, prepared.path) + model, material, path = mapping.model, mapping.model.definition, prepared.path + ev, el = (row["uniform_evaluation_bound"] for row in prepared.input_errors) + q, area = rational(Q), rational(material.area) + carrier_sensitivity, ion_sensitivity = voltage_current_sensitivity(mapping, observer) + carrier = tuple(value*ev for value in carrier_sensitivity) + ion = tuple(value*ev for value in ion_sensitivity) + raw_current = (area*carrier[0], area*carrier[-1]) + # The two exact same-state tangent terminal currents are +/- the + # spacing-weighted total face current plus/minus C*stored_adot. + tangent_current = area*sum((dx/observer.length*(ec+q*ei) + for dx, ec, ei in zip(observer.dx, carrier, ion, strict=True)), Fraction(0)) + names = ("storage", "body_charge", "metal_charge", "gauss_defect", "displacement", "constraints") + linear = {name: tuple(sum((abs(c)*row["uniform_evaluation_bound"] + for c, row in zip(coefficients, prepared.input_errors, strict=True)), Fraction(0)) + for coefficients in zip(*(_input_direction(model.linear_forms["state"][name], mapping, j) + for j in range(2)), strict=True)) for name in names} + first, last = contained_subinterval(path.clock, subinterval) + duration = last-first + return {"path_identity": path.identity, "mapping_identity": mapping.identity, + "scope": "input evaluation at the same stored time; native readback/time/state errors remain separate", + "voltage_error_V": ev, "photon_flux_error_m2_s": el, + "affine_observable_error": linear, + "carrier_face_current_error_A_m2": tuple(carrier), "ion_face_flux_error_m2_s": tuple(ion), + "raw_terminal_current_error_A": raw_current, + "same_state_tangent_current_error_A": (tangent_current, tangent_current), + "raw_charge_integral_error_C": (duration*sum(raw_current), Fraction(0), Fraction(0)), + "tangent_charge_integral_error_C": (duration*sum(raw_current), + *(duration*(tangent_current+v) for v in raw_current)), + "raw_tangent_L1_additional_error_C": tuple(duration*(v+tangent_current) for v in raw_current), + "individual_carrier_generation_error_particles_s": tuple(abs(rational(v))*el for v in model.absorption), + "generation_charge_cancellation": "identical electron/hole source only; not zero carrier forcing/time error", + "rate_error_from_input_evaluation": "zero only with the same verified stored input_rate; no quantizer differentiation", + "held_fixed": ["same raw coordinate polynomial", "same stored input-rate words"], + "endpoint_error_still_required": True, "native_readback_error_still_required": True, + "native_admitted": False} + + +def compare_physical_readback(binding, prepared: MappedPolynomial, point, raw_z, raw_zdot, *, side): + """Compare actual immutable Point/rate words to the nominal polynomial. + + The public map performs its existing raw-coordinate/Point check, and the + public authority-aware action supplies state word/projection bounds. No + new Point or state history is manufactured by this reader. + """ + mapping = _require_map(binding) + if prepared.binding_identity != binding.source_identity: + raise ContractError("native_observation_readback_binding") + if any(not isinstance(value, np.ndarray) or value.dtype != np.dtype('float64') + or value.shape != (mapping.model.layout.size,) for value in (raw_z, raw_zdot)): + raise ContractError("native_observation_raw_binary64_words_required") + raw_z, raw_zdot = frozen_array(raw_z), frozen_array(raw_zdot) + t = rational(point.time) + if not prepared.path.clock.predecessor <= t <= prepared.path.clock.tn: + raise ContractError("native_observation_readback_outside_interval") + expected_side = "right" if point.time == binding.segment.start else "left" if point.time == binding.segment.end else "continuous" + if side != expected_side: + raise ContractError("native_observation_event_side") + inputs, input_rate = binding.segment.inputs(point.time) + if inputs.tobytes() != point.inputs.tobytes(): + raise ContractError("native_observation_actual_input_words") + rate = mapping.bind_rate(point, raw_z, raw_zdot, input_rate) + model = mapping.model + terms, units = [], [] + for variable in model.layout.variables: + for i in range(prod(variable.shape)): + terms.append(LinearTerm(len(terms), variable.id, i)) + units.append(variable.unit) + form = PhysicalLinearForm(model.layout, tuple(f"physical_state_{i}" for i in range(len(terms))), + tuple(units), tuple(terms), model.source_identity, "state", len(terms)) + actual_state = public_action_enclosures(point.state.linear_form(form, arithmetic=model.arithmetic, point=point)) + u = prepared.path.clock.coordinate(t) + polynomials = tuple(p for variable in model.layout.variables for p in prepared.path.fields[variable.id]) + state_error = tuple((actual-Enclosure(p.at(u))).absolute_upper + for actual, p in zip(actual_state, polynomials, strict=True)) + actual_rate = tuple(sum((rational(word[i]) for word in rate.words), Fraction(0)) + for i in range(model.layout.size)) + rate_error = tuple(abs(actual-p.derivative().at(u)/prepared.path.clock.hused) + for actual, p in zip(actual_rate, polynomials, strict=True)) + return {"point_identity": point.identity, "rate_identity": rate.identity, + "path_identity": prepared.path.identity, "map_identity": mapping.identity, + "binding_identity": binding.source_identity, "event_side": side, + "time_hex": point.time.hex(), "raw_z_words": raw_z.tobytes(), + "raw_zdot_words": raw_zdot.tobytes(), "input_words": inputs.tobytes(), + "input_rate_words": input_rate.tobytes(), + "physical_rate_words": tuple(word.tobytes() for word in rate.words), + "physical_state_absolute_error": state_error, "physical_rate_absolute_error": rate_error, + "physical_state_enclosures": actual_state, + "state_action_error_bounds": tuple(value.radius for value in actual_state), + "state_error_includes_actual_input_evaluation": True, + "do_not_add_same_input_error_twice": True, + "state_changed": False, "native_source_provenance_claimed": False} + + +def _stamp_key(stamp): + if (not isinstance(stamp, Mapping) + or any(type(stamp.get(key)) is not int for key in ("nsteps", "kused", "kk")) + or any(type(stamp.get(key)) is not float for key in ("tn", "hused", "hh"))): + raise ContractError("native_observation_stamp_types") + for key in ("tn", "hused", "hh"): + rational(stamp[key]) + statuses = stamp.get("statuses") + names = ("IDAGetNumSteps", "IDAGetCurrentTime", "IDAGetLastStep", "IDAGetLastOrder", + "IDAGetCurrentStep", "IDAGetCurrentOrder") + if not isinstance(statuses, tuple) or len(statuses) != 6 or any( + not isinstance(row, tuple) or len(row) != 2 or row[0] != name + or type(row[1]) is not int or row[1] != 0 for row, name in zip(statuses, names)): + raise ContractError("native_observation_stamp_getter_status") + return (stamp["nsteps"], stamp["tn"].hex(), stamp["hused"].hex(), stamp["kused"], + stamp["hh"].hex(), stamp["kk"], statuses) + + +def _owned_snapshot(value): + if isinstance(value, Mapping): + if any(type(key) is not str for key in value): + raise ContractError("native_observation_packet_key_type") + return MappingProxyType({key: _owned_snapshot(item) for key, item in value.items()}) + if isinstance(value, tuple): + return tuple(_owned_snapshot(item) for item in value) + if type(value) in {str, bytes, int, float, bool, type(None)}: + return value + raise ContractError("native_observation_nonimmutable_packet_type") + + +def _snapshot_identity(value): + def tagged(item): + if isinstance(item, Mapping): + return ["mapping", [[key, tagged(item[key])] for key in sorted(item)]] + if isinstance(item, tuple): + return ["tuple", [tagged(part) for part in item]] + if isinstance(item, bytes): + return ["bytes", item.hex()] + if type(item) is float: + return ["binary64", item.hex()] + return [type(item).__name__, item] + return identity(tagged(value)) + + +def _array_words(buffer, shape): + if type(buffer) is not bytes or len(buffer) != 8*prod(shape): + raise ContractError("native_observation_buffer_shape_or_ownership") + values = np.frombuffer(buffer, dtype=' 45 if qualified_size is None else size != qualified_size)): + raise ContractError("native_observation_packet_schema_or_shape") + binding = snapshot.get("binding", {}) + if (binding.get("identity") != expected_binding_identity + or not isinstance(binding.get("source"), tuple) + or sha256(repr(binding["source"]).encode()).hexdigest() != expected_binding_identity): + raise ContractError("native_observation_binding_pin_mismatch") + source = binding["source"] + if (len(source) != 8 or source[0] != snapshot["schema"] or source[1] != "scikit-sundae=1.1.3" + or source[5] != expected_header_sha256): + raise ContractError("native_observation_binding_source_schema") + before, after = snapshot.get("native_before"), snapshot.get("native_after") + if _stamp_key(before) != _stamp_key(after): + raise ContractError("native_observation_step_changed") + owner, generation = snapshot.get("owner"), snapshot.get("generation") + if not isinstance(owner, str) or not owner or type(generation) is not int or generation < 1: + raise ContractError("native_observation_owner_or_generation") + q = before["kused"] + expected_key = (expected_binding_identity, owner, generation, before["nsteps"], + before["tn"].hex(), before["hused"].hex(), q, before["hh"].hex(), before["kk"]) + if (not 1 <= q <= 5 or before["hused"] <= 0 or before["nsteps"] < 1 + or snapshot.get("step_key") != expected_key): + raise ContractError("native_observation_step_key_or_forward_order") + previous, endpoint = snapshot.get("predecessor", {}), snapshot.get("endpoint", {}) + for point, nsteps in ((previous, before["nsteps"]-1), (endpoint, before["nsteps"])): + if (point.get("owner") != owner or point.get("generation") != generation + or point.get("nsteps") != nsteps or type(point.get("internal_t")) is not float + or type(point.get("output_t")) is not float + or point["internal_t"].hex() != point["output_t"].hex() + or type(point.get("native_status")) is not int or point["native_status"] not in {0, 1}): + raise ContractError("native_observation_unwitnessed_endpoint") + rational(point["internal_t"]) + for key in ("raw_y", "raw_yp"): + _array_words(point.get(key), (size,)) + expected = (owner, generation, nsteps, point["internal_t"].hex(), point["output_t"].hex(), + sha256(point["raw_y"]+point["raw_yp"]).hexdigest()) + if point.get("identity") != expected: + raise ContractError("native_observation_endpoint_identity") + if (not previous["internal_t"] < endpoint["internal_t"] or endpoint["internal_t"] != before["tn"] + or snapshot.get("raw_y") != endpoint["raw_y"] or snapshot.get("raw_yp") != endpoint["raw_yp"] + or snapshot.get("clock_gap_terms") != (before["tn"], -before["hused"], -previous["internal_t"])): + raise ContractError("native_observation_endpoint_or_clock_binding") + basis = snapshot.get("basis", {}) + if (basis.get("kind") != "ida75_phi_psi_copy_v1" or basis.get("dtype") != '= last or rational(left_pair[0].time) != clock.predecessor or rational(right_pair[0].time) != clock.tn: + raise ContractError("T1_piece_endpoint_clock") + request = self.binding.context.request_copy() + physical_charge_policy(request) + # Endpoint charges are independent full-word actions. Internal cuts + # use exact actions on the retained physical polynomial, not rounded + # binary64 reconstruction or saved-metal derivatives. + def charges(when): + point = left_pair[0] if when == clock.predecessor else right_pair[0] if when == clock.tn else None + values = [] + for name in ("body_charge","metal_charge"): + if point is not None: + values.extend(public_action_enclosures(model.linear_action(name,point))) + else: + values.extend(Enclosure(poly.at(clock.coordinate(when))) + for poly in path.action(model.linear_forms["state"][name])) + return tuple(values) + left,right = charges(first),charges(last) + delta = tuple(Enclosure(b.center-a.center,b.radius+a.radius) for a,b in zip(left,right,strict=True)) + inputs = propagated_input_error(self.binding,self.prepared,subinterval=(first,last)) + strip = self.observer.strip_current_debit(self.arithmetic,subinterval=(first,last))["same_state_affine_tangent"] + try: + observed = self.observer.physical_charge_integrals(self.arithmetic,absolute_error, + subinterval=(first,last),checkpoint=checkpoint,scale_deciders=scale_deciders) + flux,bounds = observed["physical_flux_integral_C"],observed["physical_flux_L1"] + problem = None + except ContractError as error: + if error.reason not in {"observation_integral_evaluation_cap", "observation_integral_radius_exceeds_budget", + "observation_nonfinite_or_nonreal_ball"}: + raise + flux,bounds,problem = (None,)*3,(None,)*3,error.reason + def pair(x): + x=rational(x);return [x.numerator,x.denominator] + def enc(x): + return {"center":pair(x.center),"absolute_error_bound":pair(x.radius)} + channels = {} + for index,name in enumerate(("device","left_metal","right_metal")): + f,bound = flux[index],bounds[index] + input_error,clock_error = inputs["tangent_charge_integral_error_C"][index],strip[index] + extra = input_error+clock_error + channels[name] = {"delta_Q_enclosure_C":enc(delta[index]), + "integral_F_enclosure_C":None if f is None else enc(f), + "uncertainty_components_C":{"saved_charge_evaluation":pair(delta[index].radius), + "physical_integrand_and_quadrature":None if f is None else pair(f.radius), + "input_representation":pair(input_error),"clock_strip":pair(clock_error)}, + "quadrature_component_upper_C":None if f is None else pair(f.radius), + "integral_abs_F_lower_C":None if bound is None else pair(max(Fraction(0),bound["lower"]-extra)), + "integral_abs_F_upper_C":None if bound is None or bound["upper"] is None else pair(bound["upper"]+extra), + "integral_abs_F_evidence":None if bound is None else observation_record(bound), + "scale_input_clock_widening_C":pair(extra),"missing_reason":problem, + "L1_scope":{"path_identity":path.identity,"t_left":pair(first),"t_right":pair(last), + "hused":pair(clock.hused),"native_tn":pair(clock.tn)}, + "left_charge_enclosure_C":enc(left[index]),"right_charge_enclosure_C":enc(right[index]), + "coverage_ownership":{"saved_charge_evaluation":"two complete-word state actions or exact polynomial cuts", + "physical_integrand_and_quadrature":"physical F integral evaluation, including Qquad", + "input_representation":"same-path propagated input evaluation bound", + "clock_strip":"declared clock strip bound","Qquad":"subset of combined physical_integrand_and_quadrature"}} + return {"channels":channels,"path_identity":path.identity, + "endpoint_action_source":{"left":"saved-state" if first == clock.predecessor else "exact-retained-polynomial", + "right":"saved-state" if last == clock.tn else "exact-retained-polynomial"}, + "form_identities":{name:model.linear_forms["state"][name].identity for name in ("body_charge","metal_charge")}, + "arithmetic_calls":list(self.arithmetic.calls),"status":"unknown" if problem else "computed"} + + def path_domain_evidence(self, budgets): + """Retain the original site/inventory gates on the whole named path.""" + model, path = self.observer.model, self.prepared.path + checks, values = {}, {} + if model.definition.dynamic: + capacity = rational(model.definition.ion_capacity) + maximum = max(high/capacity for _, high in self.observer.domain_bounds["c_m3"]) + checks["maximum_site_fraction"] = maximum <= rational(budgets["maximum_site_fraction"]) + values["maximum_site_fraction"] = maximum + reference = public_action_enclosures(model.linear_action("ion_inventory", model.reference))[0] + inventory = path.action(model.linear_forms["state"]["ion_inventory"])[0] + lower, upper = (inventory-reference.center).range(path.clock.coordinate(path.clock.predecessor), 0) + deviation = max(abs(lower), abs(upper))+reference.radius + denominator = abs(reference.center)-reference.radius + if denominator <= 0: + checks["ion_inventory"] = deviation == 0 and reference.absolute_upper == 0 + values["ion_inventory_absolute_deviation"] = deviation + values["ion_inventory_zero_branch"] = True + else: + ratio = deviation/denominator + checks["ion_inventory"] = ratio <= rational(budgets["ion_inventory_relative"]) + values["ion_inventory_relative"] = ratio + return {"path_identity": path.identity, "domain_bounds": self.observer.domain_bounds, + "metrics": values, "checks": checks, "passed": all(checks.values()), + "scope": "declared polynomial domain only; actual sample state/affine-constraint gates also remain required"} + + def charge_evidence(self, left_pair, right_pair, prefixes, *, absolute_error, charge_budget, + charge_accumulator=None, subinterval=None): + """Each body/metal row carries disjoint positive error debits. + + The nominal-path defect plus an absolute endpoint mismatch bounds the + actual saved-endpoint defect. The mismatch is included once; the saved + finite increment remains an independent, full-word diagnostic. The + explicit PhysicalToleranceV1 gate instead uses that actual increment + against the existing independently flux-derived integral, with its own + signed prefix; the historical ledgers and their booleans are unchanged. + """ + model, path = self.observer.model, self.prepared.path + left, right, increment = left_pair[0], right_pair[0], right_pair[1] + request = self.binding.context.request_copy() + physical_policy = None + if "physical_tolerance_policy" in request: + physical_policy = physical_charge_policy(request) + mapping = self.binding.adapter.mapping + if (request.get("interval_observation", {}).get("physical_charge") != physical_policy + or self.prepared.request_identity != self.binding.context.request_sha256 + or self.prepared.request_identity != digest(request) + or self.prepared.map_identity != mapping.identity + or mapping.identity != digest(mapping.payload()) + or digest(mapping.payload(include_frame=False)) != request["map_identity"] + or self.prepared.coefficient_frame_identity != self.frame.identity): + raise ContractError("native_observation_physical_charge_context") + definition = request["numeric_packet"]["definition"] + if (type(self.observer) is not SlabPathObserver + or model.definition.id not in {"S0NeutralPublicDeviceV1", "DynamicAcceptorIonPublicDeviceV1"} + or model.definition.id != definition["id"] or model.definition.dynamic != definition["dynamic"] + or model.source_identity != path.source_identity or model.layout.identity != path.layout_identity + or any(rational(getattr(model.definition, key)) != rational(definition[key]) + or rational(definition[key]) <= 0 for key in ("area", "length", "epsilon"))): + raise ContractError("native_observation_physical_charge_slab_scope") + prefix = prefixes.get("physical_charge") + if (type(prefix) is not SignedChargePrefix or prefix.budgets != physical_charge_budgets(request) + or any(key not in prefixes or not isinstance(prefixes[key], ChargePrefix) + or prefixes[key].intervals != prefix.intervals for key in CHARGE_LEDGERS)): + raise ContractError("native_observation_physical_charge_prefix_missing_or_reset") + if subinterval is not None: + raise ContractError("native_observation_physical_charge_requires_complete_native_interval") + if rational(left.time) != path.clock.predecessor or rational(right.time) != path.clock.tn: + raise ContractError("native_observation_physical_charge_endpoint_clock") + elif "physical_charge" in prefixes: + raise ContractError("native_observation_physical_charge_profile_missing") + if subinterval is not None: + first, last = contained_subinterval(path.clock, subinterval) + if (rational(left.time) != first or rational(right.time) != last or charge_accumulator is not None): + raise ContractError("native_observation_partial_prefix_cannot_commit_or_change_endpoints") + inputs = (propagated_input_error(self.binding, self.prepared) if subinterval is None else + propagated_input_error(self.binding, self.prepared, subinterval=subinterval)) + for name in ("raw_charge_integral_error_C", "tangent_charge_integral_error_C"): + row = inputs.get(name) + if (not isinstance(row, tuple) or len(row) != 3 or any(value is None or rational(value) < 0 for value in row)): + raise ContractError("native_observation_missing_input_error_term:"+name) + if charge_accumulator is not None: + expected_policy = charge_upper_policy(self.binding.context.request_sha256) + if (type(charge_accumulator) is not UpperAccumulator + or charge_accumulator.policy.identity != expected_policy.identity): + raise ContractError("native_observation_upper_source_policy") + old = tuple(Fraction(v, 2**120) for v in charge_accumulator.upper_numerators) + for j, key in enumerate(CHARGE_LEDGERS): + if (prefixes[key].intervals != charge_accumulator.count + or prefixes[key].absolute_defects != old[j*6:j*6+6:2] + or prefixes[key].reference_errors != old[j*6+1:j*6+6:2]): + raise ContractError("native_observation_upper_prefix_reset") + fixed4 = charge_accumulator is not None or (subinterval is not None and + self.binding.context.request_copy()["interval_observation"].get("charge_refinement", {}).get("name") == CHARGE_REFINEMENT) + if subinterval is None: + integral = (self.observer.integrate(self.arithmetic, absolute_error, partition_cells=4) + if fixed4 else self.observer.integrate(self.arithmetic, absolute_error)) + strip = self.observer.strip_current_debit(self.arithmetic) + else: + integral = self.observer.integrate(self.arithmetic, absolute_error, + partition_cells=4 if fixed4 else None, subinterval=subinterval) + strip = self.observer.strip_current_debit(self.arithmetic, subinterval=subinterval) + actual = (*public_action_enclosures(model.linear_action("body_charge", right, increment=increment, left=left)), + *public_action_enclosures(model.linear_action("metal_charge", right, increment=increment, left=left))) + affine = self.observer.affine if subinterval is None else affine_interval_actions(model, path, subinterval=subinterval) + nominal = tuple(Enclosure(b-a) for name in ("body_charge", "metal_charge") for a, b in + zip(affine[name]["left"], affine[name]["right"], strict=True)) + endpoint_bounds = (endpoint_charge_mismatch(model, path, left, right) if subinterval is None else + endpoint_charge_mismatch(model, path, left, right, subinterval=subinterval)) + endpoint = tuple(max(bound, (observed-reference).absolute_upper) for bound, observed, reference in + zip(endpoint_bounds, actual, nominal, strict=True)) + gap = integral["raw_tangent_charge_L1_upper_C"] + # This is a disclosed departure-to-tangent debit, not the obsolete + # first-word projection. Input perturbations also reach that bound. + gap_input = tuple(a+b for a, b in zip(inputs["raw_charge_integral_error_C"], + inputs["tangent_charge_integral_error_C"], strict=True)) + ledgers, successors = {}, {} + for key, input_key in (("raw_polynomial", "raw_charge_integral_error_C"), + ("same_state_affine_tangent", "tangent_charge_integral_error_C")): + if key not in prefixes or not isinstance(prefixes[key], ChargePrefix): + raise ContractError("native_observation_missing_prefix") + if prefixes[key].budgets != (rational(charge_budget),)*3: + raise ContractError("native_observation_charge_gate_changed") + departure = tuple(a+b for a, b in zip(gap, gap_input, strict=True)) if key == "raw_polynomial" else (Fraction(0),)*3 + components = {"endpoint": endpoint, "input": inputs[input_key], "clock_strip": strip[key], + "raw_tangent_departure": departure, + "integration": tuple(value.radius for value in integral[key])} + additional = tuple(sum((components[name][i] for name in components if name != "integration"), Fraction(0)) + for i in range(3)) + successor, checks = prefixes[key].append(nominal, integral[key], additional) + errors = tuple(integral[key][i].radius+additional[i] for i in range(3)) + limit = rational(float(charge_budget)/3) + checks = tuple(check and error <= limit and total <= limit for check, error, total in + zip(checks, errors, successor.reference_errors, strict=True)) + ledgers[key] = {"saved_finite_charge_change_C": actual, "nominal_change_C": nominal, + "signed_integral_C": integral[key], "error_components_C": components, + "signed_saved_defect_C": tuple(a-b for a, b in zip(actual, integral[key], strict=True)), + "interval_total_bound_C": tuple(abs((a-b).center)+error for a, b, error in + zip(nominal, integral[key], errors, strict=True)), + "prefix_absolute_defect_C": successor.absolute_defects, + "interval_reference_error_C": errors, "prefix_reference_error_C": successor.reference_errors, + "original_charge_budget_C": rational(charge_budget), "original_reference_share_C": limit, + "row_checks": checks, "passed": all(checks), "endpoint_debited_once": True} + successors[key] = successor + evidence = {"path_identity": path.identity, "frame_identity": self.frame.identity, + "clock": path.clock.payload(), "input_error": inputs, + "raw_tangent_L1_current_bounds": integral["raw_tangent_L1_upper_bounds"], + "ledgers": ledgers, "passed": all(row["passed"] for row in ledgers.values()), + "scope": "physical observations of the declared fixed-grid polynomial with saved endpoints", + "raw_rate_projection_role": "retained counterfactual, not charged as if still used", + "source_arithmetic_scope": "the bound ball integrals evaluate the physical sources with the frozen coefficients; no projected nodal source is an integral input", + "DAE_time_accuracy_certified": False, "continuum_space_accuracy_certified": False} + if physical_policy is not None: + if integral.get("path_identity") != path.identity: + raise ContractError("native_observation_physical_flux_path_changed") + # For these two fixed, uniform-epsilon Dirichlet slabs, the body + # row is A*(Jn+Jp at left - at right) plus boundary trap storage. + # Contact n,p are reservoirs. Metals use -w dot physical cell + # charge rates (including q*Gamma_c), boundary capture storage, + # and respectively +/- (epsilon*A/L)*Vdot. SlabPathObserver's + # tangent_metal_flux and tangent_metal_polynomial implement this + # elimination; the raw metal derivative is never a gate input. + flux = integral["same_state_affine_tangent"] + successor, checks = prefixes["physical_charge"].append(actual, flux, + inputs["tangent_charge_integral_error_C"], strip["same_state_affine_tangent"]) + components = {"saved_charge_evaluation": tuple(value.radius for value in actual), + "physical_flux_integration": tuple(value.radius for value in flux), + "input": inputs["tangent_charge_integral_error_C"], "clock_strip": strip["same_state_affine_tangent"]} + balances = tuple(a.center-b.center for a, b in zip(actual, flux, strict=True)) + errors = tuple(sum((values[i] for values in components.values()), Fraction(0)) for i in range(3)) + # Charge evaluation is already in actual.radius; deterministic + # endpoint/path disagreement is in balances. Adding the old + # endpoint debit or raw/tangent L1 would double-charge or change + # this signed physical gate. All positive uncertainties remain. + evidence["physical_charge"] = {"schema": "solarlab.native-physical-charge.v1", + "policy": physical_policy, "request_sha256": self.binding.context.request_sha256, + "map_identity": self.prepared.map_identity, "root_map_identity": request["map_identity"], + "path_identity": path.identity, + "frame_identity": self.frame.identity, "clock": path.clock.payload(), + "source_identity": model.source_identity, "layout_identity": model.layout.identity, + "model_id": model.definition.id, + "charge_form_identities": tuple(model.linear_forms["increment"][name].identity + for name in ("body_charge", "metal_charge")), + "physical_flux_basis": "fixed-uniform-epsilon-Dirichlet-slab-reservoir-carrier-ion-trap-capacitance-v1", + "saved_finite_charge_change_C": actual, "physical_flux_integral_C": flux, + "signed_balance_C": balances, "error_components_C": components, + "interval_total_bound_C": tuple(abs(value)+error for value, error in zip(balances, errors, strict=True)), + "integration_uncertainty_role": "combined quadrature and physical-integrand evaluation radius; conservative third-share bound", + "prefix": physical_charge_summary(successor), "row_checks": checks, "passed": all(checks)} + successors["physical_charge"] = successor + if subinterval is not None: + evidence.update(observation_subinterval={"left": first, "right": last, + "native_clock_unchanged": True, "accepted_native_step": False, + "completed_prefix_mutated": False}, terminal_partition=integral.get("terminal_partition")) + if charge_accumulator is not None: + certificate = charge_accumulator.append(charge_upper_term(self.binding.context.request_sha256, + self.frame.identity, path.identity, path.clock.payload(), ledgers)) + upper = tuple(k*charge_accumulator.policy.quantum for k in certificate.upper_numerators) + for j, key in enumerate(CHARGE_LEDGERS): + absolute, reference = upper[j*6:j*6+6:2], upper[j*6+1:j*6+6:2] + successor = ChargePrefix(prefixes[key].budgets, absolute, reference, certificate.index) + # Local terms remain exact; only the cumulative upper is rounded. + # A straddling enclosure cannot earn a pass by using its lower end. + checks = tuple(check and a <= budget and 3*r <= budget and r <= limit + for check, a, r, budget in zip(ledgers[key]["row_checks"], absolute, reference, + successor.budgets, strict=True)) + ledgers[key].update(prefix_absolute_defect_C=absolute, prefix_reference_error_C=reference, + row_checks=checks, passed=all(checks)) + successors[key] = successor + evidence.update(terminal_partition=integral["terminal_partition"], + upper_sum={**charge_upper_summary(charge_accumulator), "schema": certificate.schema, + "interval_sha256": certificate.term.interval_sha256}, + passed=all(row["passed"] for row in ledgers.values())) + return successors, evidence + + +class SealedChargeObserver: + """Charge integration of sealed paths, driven by the independent reader. + + No solver is created. Only the previous physical endpoint and one immutable + native interval are live; the original sample/packet bytes remain in the + producer history. The independent checker verifies the newly computed + charge increments, positive errors and cumulative arithmetic before emit. + """ + + def __init__(self, mapping, request, emit, checkpoint, *, t1_context=None): + from scripts.benchmarks.coupled_device_prototype import AffineSamplingContext + from scripts.benchmarks.native_readback import _Protocol + from scripts.benchmarks.physical_tolerance import validate_certificate_policy + policy = validate_certificate_policy(request) + if (policy is None or policy["observation"] != "sealed-history" or mapping.frame is not None + or digest(mapping.payload()) != request["map_identity"] + or digest(mapping.model.numeric_packet()) != digest(request["numeric_packet"])): + raise ContractError("sealed_charge_source_or_input_binding") + self.root, self.request, self.context = mapping, request, AffineSamplingContext(mapping.model, request) + self.emit, self.checkpoint = emit, checkpoint + self.checker = _Protocol(request, None) + self.prefixes = {key: ChargePrefix.start((request["budgets"]["charge_C"],)*3) for key in CHARGE_LEDGERS} + physical = prepare_physical_charge_prefix(request) + if physical is not None: + self.prefixes["physical_charge"] = physical + self.accumulator = prepare_charge_accumulator(request, request["interval_observation"]) + self.last_point, self.previous, self.intervals = mapping.model.reference, None, 0 + self.t1_context,self.t1_pieces = t1_context,0 + if t1_context is not None: + from scripts.benchmarks.t1_gate import CandidateSpec,fixed_windows + from scripts.benchmarks.g2_route_bindings import sample_labels,CASE_IDS + spec = t1_context["spec"] + if (spec["schema"] != "solarlab.g2-route.t1-gatespec.v3" or spec["status"] != "frozen" + or policy["T1"] != {"schema":spec["schema"],"sha256":t1_context["spec_sha256"]} + or any(type(t1_context[k]) is not str or not t1_context[k] for k in ("run_id","case_id")) + or t1_context["case_id"] not in CASE_IDS): + raise ContractError("sealed_T1_definition_or_run_binding") + mesh = 16 if "N16" in t1_context["case_id"] else 8 + if mapping.model.intervals != mesh or mapping.model.layout.size != 5*(mesh+1): + raise ContractError("sealed_T1_case_geometry") + self.t1_spec = CandidateSpec.from_document(spec,t1_context["spec_sha256"]) + self.t1_windows = fixed_windows(sample_labels(request)) + if self.t1_spec.Qref != Fraction(physical_charge_policy(request)["Qref_C"]): + raise ContractError("sealed_T1_Qref_binding") + + def consume_interval(self, deferred, left, right, packet_row, map_payload, segment, handoff, science): + from copy import deepcopy + from scripts.benchmarks.coupled_device_prototype import ( + SegmentAffineFrame, VoltageLiftAdapter, VoltageLiftHistory, + ) + from scripts.benchmarks.precision_prototype import PrimitiveExpansion + from scripts.benchmarks.physical_tolerance import physical_charge_error_allocation + self.checkpoint() + frame_payload = map_payload.get("segment_frame") + mapping = self.root + if frame_payload is not None: + words = lambda name: PrimitiveExpansion(tuple(frozen_array([float.fromhex(v) for v in row]) + for row in frame_payload[name])) + affine = SegmentAffineFrame(*(frame_payload[k] for k in ( + "parent_map_identity", "segment_sha256", "logical_initialization_index", "predecessor_identity", "parent_input_sha256")), + float.fromhex(frame_payload["t0_hex"]), words("q0_words_hex"), words("v0_words_hex")) + if affine.payload() != frame_payload: + raise ContractError("sealed_charge_frame_words") + mapping = AffineVoltageMap(self.root.model, affine, self.root.mapped_input_profile) + if mapping.payload() != map_payload: + raise ContractError("sealed_charge_active_map") + owned_segment = next(s for s in self.context.segments if s.id == segment["id"]) + numeric_handoff = None + if handoff is not None and handoff["transfer"]["new_map_identity"] == mapping.identity: + numeric_handoff = json.dumps(handoff, sort_keys=True, separators=(",", ":"), allow_nan=False) + binding = VoltageLiftSegmentAdapter(VoltageLiftAdapter(mapping), self.context, owned_segment, numeric_handoff) + reference = VoltageLiftHistory(self.root).reference_record + history = VoltageLiftHistory(mapping, parent_reference=reference if mapping.frame is not None else None) + if self.last_point.identity != left["history"]["point_identity"]: + self.last_point = history.restore(reference, left["history"], self.last_point)[0] + right_point, increment, _, _ = history.restore(reference, right["history"], self.last_point) + policy = self.request["interval_observation"] + packet = restore_observation_record(packet_row["packet"]) + frame = read_native_basis_packet(packet, expected_binding_identity=policy["binding_identity"], + expected_header_sha256=policy["header_sha256"], size=self.root.model.layout.size, + qualification_policy=self.request.get("qualification_policy")) + arithmetic = BallIntegrator(**{k: policy["arithmetic"][k] for k in ("bits", "evaluations", "depth")}) + observer = AcceptedIntervalObserver(binding, frame, arithmetic=arithmetic, previous=self.previous) + if observer.prepared.path.identity != deferred["observation"]["path_identity"]: + raise ContractError("sealed_charge_path_identity") + clock = observer.prepared.path.clock + duration = clock.tn-clock.predecessor + allocation = (physical_charge_error_allocation(self.request, duration) if "physical_tolerance_policy" in self.request else + rational(self.request["budgets"]["charge_C"])/12*duration/rational(self.context.segments[-1].end)/32) + self.prefixes, evidence = observer.charge_evidence((self.last_point,), (right_point, increment), self.prefixes, + absolute_error=allocation, charge_budget=self.request["budgets"]["charge_C"], charge_accumulator=self.accumulator) + rendered = {k: v for k, v in deferred.items() if k != "charge_observation"} + rendered.update(kind="voltage_lift_interval_certificate", observation=observation_record(evidence), + arithmetic_calls=list(arithmetic.calls)) + if "physical_tolerance_policy" in self.request: + rendered.update(charge_gate="signed-physical-charge-v1", physical_charge_error_allocation_C=observation_record(allocation)) + checker = self.checker + checker.mapping, checker.map_id, checker.segment = map_payload, mapping.identity, segment + checker.frame_id, checker.path_id, checker.science = frame.identity, observer.prepared.path.identity, deepcopy(science) + # This is the reader's charge arithmetic, not physical_charge_passed. + checker._interval(left, right, packet, supplied_row=rendered) + self.checkpoint() + sealed = {"kind": "sealed_voltage_lift_charge", "request_sha256": digest(self.request), + "source_interval_sha256": digest(deferred), "interval": rendered} + if self.t1_context is None: + self.emit(sealed) + else: + self._emit_t1(sealed,observer,(self.last_point,),(right_point,increment),allocation) + self.last_point, self.previous = right_point, observer + self.intervals += 1 + + def _emit_t1(self, sealed, observer, left_pair, right_pair, allocation): + """Append source-bound T1 data, retaining the original sealed interval.""" + from copy import deepcopy + from scripts.benchmarks.t1_gate import from_sealed_charge,digest as t1_digest,q,operands,verdict + from scripts.benchmarks.physical_tolerance import physical_charge_error_allocation + clock = observer.prepared.path.clock + policy = self.request["interval_observation"]["arithmetic"] + native = from_sealed_charge(sealed,run_id=self.t1_context["run_id"]) + deciders = [None] + for name in ("left_metal","right_metal"): + value = operands(native["channels"][name]) + extra = value["components"]["input_representation"]+value["components"]["clock_strip"] + def decide(lo,hi,value=value,extra=extra): + lower=max(value["qabs"][0],max(Fraction(0),lo-extra),self.t1_spec.Q0) + upper=None if hi is None else max(value["qabs"][1],hi+extra,self.t1_spec.Q0) + return verdict(abs(value["b"])+value["u"],value["quad"],lower,upper, + self.t1_spec.epsilon_metal,self.t1_spec.quadrature_share)["status"] + deciders.append(decide) + # A separate arithmetic ledger keeps old C call/uncertainty evidence unchanged. + observer.arithmetic = BallIntegrator(**{k:policy[k] for k in ("bits","evaluations","depth")}) + whole = observer.t1_piece_evidence(left_pair,right_pair,clock.predecessor,clock.tn, + absolute_error=allocation,checkpoint=self.checkpoint,scale_deciders=deciders) + native.update(case_id=self.t1_context["case_id"],input_digest=digest(self.request), + path_identity=observer.prepared.path.identity, + native_clock=deepcopy(sealed["interval"]["observation"]["physical_charge"]["clock"]), + owner_generation={"owner":observer.frame.owner,"generation":observer.frame.generation}) + for name,row in native["channels"].items(): + extra = whole["channels"][name] + for key in ("delta_Q_enclosure_C","integral_F_enclosure_C"): + if extra[key] is not None: + a,b=row[key],extra[key] + if abs(q(a["center"])-q(b["center"])) > q(a["absolute_error_bound"])+q(b["absolute_error_bound"]): + raise ContractError("sealed_T1_native_operand_disagreement") + for key in ("integral_abs_F_lower_C","integral_abs_F_upper_C","integral_abs_F_evidence", + "scale_input_clock_widening_C","coverage_ownership","missing_reason","L1_scope"): + row[key] = extra[key] + row["left_charge_enclosure_C"],row["right_charge_enclosure_C"] = extra["left_charge_enclosure_C"],extra["right_charge_enclosure_C"] + sealed["t1_evidence"] = native + self.emit(sealed) + whole["channels"] = deepcopy(native["channels"]) + for index,(left_tag,right_tag,window_left,window_right) in enumerate(self.t1_windows): + if left_tag["segment"] != native["segment_id"]: + continue + first,last = max(window_left,clock.predecessor),min(window_right,clock.tn) + if first >= last: + continue + self.checkpoint() + if first == clock.predecessor and last == clock.tn: + evidence = whole + else: + observer.arithmetic = BallIntegrator(**{k:policy[k] for k in ("bits","evaluations","depth")}) + evidence = observer.t1_piece_evidence(left_pair,right_pair,first,last, + absolute_error=physical_charge_error_allocation(self.request,last-first),checkpoint=self.checkpoint) + piece = {k:deepcopy(native[k]) for k in ("run_id","case_id","request_sha256","input_digest","native_interval_id", + "source_id","frame_id","map_id","segment_id","owner_generation","native_clock")} + piece.update(schema="solarlab.g2-window-piece.v1",window_index=index, + window_key={"left":left_tag,"right":right_tag},parent_sha256=t1_digest(native), + t_left_hex=float(first).hex(),t_right_hex=float(last).hex(), + event_side="left" if last == q(observer.prepared.path.clock.segment_end) else "interior", + channels=evidence["channels"],endpoint_action_source=evidence["endpoint_action_source"], + form_identities=evidence["form_identities"],path_identity=evidence["path_identity"], + arithmetic_calls=evidence["arithmetic_calls"],status=evidence["status"]) + piece["piece_id"] = t1_digest(piece) + self.emit({"kind":"t1_fixed_window_piece","evidence":piece}) + self.t1_pieces += 1 + + def summary(self): + check = self.checker + return {"schema": "solarlab.sealed-charge-observation.v1", "intervals": self.intervals, + "request_sha256": digest(self.request), "no_native_calls": True, + "physical_charge": (None if check.physical_charge is None else observation_record(check.physical_charge.summary())), + "historical_prefixes": observation_record(check.prefix), + "signed_integrals": observation_record(check.signed_integrals), + "arithmetic": self.request["interval_observation"]["arithmetic"], + "independent_saved_word_and_ledger_check": True, + "scientific_status": check.science.summary(final=True)["status"], "scientific_pass": False, + **({"T1_evidence":{"schema":"solarlab.g2-window-piece.v1","pieces":self.t1_pieces, + "gate_spec_sha256":self.t1_context["spec_sha256"],"qualification":False}} + if self.t1_context is not None else {})} + + +def prepare_interval_observation_policy(request, *, binding_identity, header_sha256, backend_modules, + charge_refinement=None): + """A concrete review packet; preparing it gives no native authorization.""" + policy = {"schema": "solarlab.interval-observation-policy.v1", + "map_identity": request["map_identity"], + "protocol_sha256": digest(request["segments"]), + "controls_sha256": digest(request["controls"]), + "budgets_sha256": digest(request["budgets"]), + "sampling_sha256": digest((request["observation_times"], request["quadrature"])), + "binding_identity": binding_identity, "header_sha256": header_sha256, + "backend_modules": backend_modules, + "arithmetic": {"python_flint": "0.8.0", "bits": 256, "evaluations": 2048, "depth": 16}, + "quadrature_error_allocation": "charge_C/12 * actual_interval/full_protocol / 32 per integral", + "sampling": "original requested and 8/16/32 times, explicitly declared polynomial reconstruction", + "history": "actual accepted predecessor/endpoint plus source-owned immutable phi/psi/Dky and error metadata", + "qualification": "represented numerical path only; original independent time/state/space refinements remain pending"} + if "physical_tolerance_policy" in request: + policy["physical_charge"] = physical_charge_policy(request) + policy["quadrature_error_allocation"] = "physical_charge.budget_C/12 * actual_interval/full_protocol / 32 per integral" + if charge_refinement is not None: + if charge_refinement != CHARGE_REFINEMENT or type(request["budgets"].get("native_steps")) is not int or request["budgets"]["native_steps"] != 200000: + raise ContractError("native_observation_unsupported_charge_refinement") + p = charge_upper_policy("0"*64) # Only constants enter the request; runtime source binds its final digest. + parent = digest(policy) + policy.update(schema="solarlab.interval-observation-policy.v2", parent_policy_sha256=parent, + charge_refinement={"name": CHARGE_REFINEMENT, "partition_cells": 4, + "upper_sum": {"schema": p.schema, "quantum_bits": p.quantum_bits, "max_terms": p.max_terms, + "max_increment_bits": p.max_increment_bits, "max_evidence_bytes": p.max_evidence_bytes, + "max_slack_per_channel": [p.max_slack_per_channel.numerator, p.max_slack_per_channel.denominator], + "channel_ids": list(p.channel_ids)}, + "prefix_semantics": "exact signed local evidence; non-resetting upward dyadic upper bounds; original gates"}) + return policy + + +def validate_interval_observation_admission(request, admission): + """Require a matching independent review before importing the backend. + + The historic full-word checkpoint stays unadmitted. A separately frozen + observation policy, executing sources, backend and review must all match; + setting that old Boolean cannot open this controller. + """ + import json + + policy = request.get("interval_observation") + if (not isinstance(policy, Mapping) or admission.get("interval_observation_authorized") is not True + or admission.get("interval_observation_policy_sha256") != digest(policy)): + raise ContractError("full_word_native_observation_policy_unqualified") + try: + expected = prepare_interval_observation_policy( + request, binding_identity=policy["binding_identity"], header_sha256=policy["header_sha256"], + backend_modules=policy["backend_modules"], + charge_refinement=policy["charge_refinement"]["name"] if "charge_refinement" in policy else None) + except (KeyError, TypeError) as exc: + raise ContractError("native_observation_policy_incomplete") from exc + if (digest(expected) != digest(policy) or any(not isinstance(policy[k], str) or len(policy[k]) != 64 + for k in ("binding_identity", "header_sha256"))): + raise ContractError("native_observation_policy_changed") + source_pins = admission.get("source_sha256", {}) + names = ("native_observation.py", "interval_observation.py", "coupled_device_prototype.py") + if "diagnostic_interval" in request: + names += ("native_readback.py",) + if "charge_refinement" in policy: + names += ("bounded_observation.py", "native_history.py") + if "physical_tolerance_policy" in request: + names += ("physical_tolerance.py", "native_readback.py") + required = tuple(str(Path(__file__).with_name(name).resolve()) for name in names) + if any(path not in source_pins or sha256(Path(path).read_bytes()).hexdigest() != source_pins[path] + for path in required): + raise ContractError("native_observation_executing_sources_not_bound") + review_receipt = admission.get("interval_observation_review", {}) + try: + review_bytes = Path(review_receipt["path"]).read_bytes() + review = json.loads(review_bytes) + except (KeyError, OSError, ValueError, TypeError) as exc: + raise ContractError("native_observation_independent_review_missing") from exc + expected_verdict = ("accepted_for_bounded_diagnostic_interval_observation" if "diagnostic_interval" in request + else "accepted_for_bounded_full_protocol_observation") + if (sha256(review_bytes).hexdigest() != review_receipt.get("sha256") + or review.get("verdict") != expected_verdict + or review.get("policy_sha256") != digest(policy) + or any(review.get("source_sha256", {}).get(path) != source_pins[path] for path in required)): + raise ContractError("native_observation_independent_review_mismatch") + modules = policy["backend_modules"] + if (not isinstance(modules, Mapping) or not {"sksundae.ida", "sksundae._cy_ida", "flint"} <= modules.keys() + or any(not isinstance(row, Mapping) or set(row) != {"path", "sha256"} + or sha256(Path(row["path"]).read_bytes()).hexdigest() != row["sha256"] + for row in modules.values())): + raise ContractError("native_observation_backend_files_not_bound") + return dict(policy) + + +def require_loaded_observation_backend(policy): + """Check public module provenance, with no native-memory inspection.""" + import importlib + + for name, pin in policy["backend_modules"].items(): + module = importlib.import_module(name) + if Path(module.__file__).resolve() != Path(pin["path"]).resolve(): + raise ContractError("native_observation_loaded_backend_mismatch:"+name) + ida = importlib.import_module("sksundae.ida").IDA + if not callable(getattr(ida, "last_step_snapshot", None)): + raise ContractError("native_observation_snapshot_capability_missing") diff --git a/scripts/benchmarks/native_readback.py b/scripts/benchmarks/native_readback.py new file mode 100644 index 00000000..3a844d4d --- /dev/null +++ b/scripts/benchmarks/native_readback.py @@ -0,0 +1,3241 @@ +"""Strict, bounded readback of a completed voltage-lift native history. + +This is artifact verification, not a replay or a new scientific qualification. +Only the current record, two endpoints and one interval's sample pointers are +retained. The caller owns source admission, process cleanup, archive publication +and the whole-process wall/RSS/output limits; the deadline here is the same +absolute ``time.perf_counter()`` deadline, not an additional timeout allowance. +""" +from __future__ import annotations + +from collections import Counter +from fractions import Fraction +import hashlib +import json +import math +from pathlib import Path +import struct +import time +import zlib + +from scripts.benchmarks.native_history import ( + HistoryReader, configure_integer_io, decode_integer_values, encode_integer_values, integer_io_observed, +) + + +class HistoryVerificationError(ValueError): + """A bounded diagnostic, with the offending record and logical offset.""" + + def __init__(self, code: str, record_index: int = 0, logical_offset: int = 0): + self.code = code[:160] + self.record_index = record_index + self.logical_offset = logical_offset + super().__init__(f"{self.code} (record={record_index}, offset={logical_offset})") + + +def _require(condition, code): + if not condition: + raise HistoryVerificationError(code) + + +def _digest(value): + return hashlib.sha256(json.dumps(value, sort_keys=True, separators=(",", ":"), + allow_nan=False).encode()).hexdigest() + + +def _hex(value): + _require(type(value) is str, "hex_word_type") + number = float.fromhex(value) + _require(math.isfinite(number) and number.hex() == value, "noncanonical_or_nonfinite_hex") + return number + + +def _vector(value, size): + _require(type(value) in (list, tuple) and len(value) == size, "vector_shape") + return value + + +def _hex_vector(value, size): + return tuple(_hex(item) for item in _vector(value, size)) + + +def _word_bytes(value, size): + return struct.pack(f"<{size}d", *_hex_vector(value, size)) + + +def _buffer(value, size): + _require(type(value) is bytes and len(value) == 8 * size, "native_buffer_shape") + values = struct.unpack(f"<{size}d", value) + _require(all(math.isfinite(v) for v in values), "native_buffer_nonfinite") + return values + + +def _pairs(pairs): + obj = {} + for key, value in pairs: + _require(key not in obj, "duplicate_json_key") + obj[key] = value + return obj + + +def _constant(_): + raise HistoryVerificationError("nonfinite_json_constant") + + +def _finite(value): + value = float(value) + _require(math.isfinite(value), "nonfinite_json_number") + return value + + +def _decode(value, depth=0): + """Validate reserved tags without importing the numerical packet reader.""" + _require(depth <= 64, "json_nesting_limit") + if type(value) is list: + return [_decode(v, depth + 1) for v in value] + if type(value) is not dict: + return value + tags = set(value) & {"tuple", "rational", "bytes_hex", "binary64"} + if tags: + _require(len(tags) == len(value) == 1, "ambiguous_observation_tag") + key = next(iter(tags)) + data = value[key] + if key == "tuple": + _require(type(data) is list, "tuple_tag_type") + return tuple(_decode(v, depth + 1) for v in data) + if key == "binary64": + return _hex(data) + if key == "bytes_hex": + _require(type(data) is str, "bytes_tag_type") + binary = bytes.fromhex(data) + _require(binary.hex() == data, "noncanonical_bytes_tag") + return binary + _require(type(data) is list and len(data) == 2 + and all(type(v) is int for v in data) and data[1] > 0, + "rational_tag_shape") + result = Fraction(*data) + _require([result.numerator, result.denominator] == data, "noncanonical_rational_tag") + return result + return {key: _decode(item, depth + 1) for key, item in value.items()} + + +def _json(data, integer_io_policy=None): + integer_io_observed(integer_io_policy) + result = json.loads(data.decode("utf-8"), object_pairs_hook=_pairs, + parse_constant=_constant, parse_float=_finite) + result = decode_integer_values(result, integer_io_policy) + _require(type(result) is dict, "json_object_required") + _decode(result) # Validate every tag, including fields outside the projections below. + return result + + +def _read_json(path, limit, checkpoint, integer_io_policy=None): + checkpoint() + with path.open("rb") as stream: + data = stream.read(limit + 1) + checkpoint() + _require(len(data) <= limit, "metadata_byte_limit") + return _json(data, integer_io_policy) + + +def _nonnegative(values, size): + values = _vector(values, size) + _require(all(type(v) is Fraction and v >= 0 for v in values), "nonnegative_rational_vector") + return tuple(values) + + +def _enclosures(values, size): + converted = [] + for value in _vector(values, size): + _require(type(value) is dict and set(value) == {"center", "absolute_error_bound"}, "enclosure_structure") + item = {} + # Enclosure.payload uses untagged numerator/denominator lists. These + # are distinct from observation_record's tagged standalone Fractions. + for key, pair in value.items(): + _require(type(pair) is list and len(pair) == 2 and all(type(v) is int for v in pair) + and pair[1] > 0, "enclosure_rational_pair") + rational = Fraction(*pair) + _require([rational.numerator, rational.denominator] == pair, "enclosure_noncanonical_pair") + item[key] = rational + _require(item["absolute_error_bound"] >= 0, "enclosure_negative_radius") + converted.append(item) + return tuple(converted) + + +def _word_pair(value, size): + _require(type(value) is dict and set(value) == {"high_hex", "low_hex"}, "double_word_shape") + high = _hex_vector(value["high_hex"], size) + low = _hex_vector(value["low_hex"], size) + return tuple(Fraction(a) + Fraction(b) for a, b in zip(high, low)) + + +def _snapshot_digest(value): + def tagged(item): + if type(item) is dict: + return ["mapping", [[key, tagged(item[key])] for key in sorted(item)]] + if type(item) is tuple: + return ["tuple", [tagged(part) for part in item]] + if type(item) is bytes: + return ["bytes", item.hex()] + if type(item) is float: + return ["binary64", item.hex()] + _require(type(item) in (str, int, bool, type(None)), "native_packet_type") + return [type(item).__name__, item] + return _digest(tagged(value)) + + +_STAMP_NAMES = ("IDAGetNumSteps", "IDAGetCurrentTime", "IDAGetLastStep", + "IDAGetLastOrder", "IDAGetCurrentStep", "IDAGetCurrentOrder") +_COUNTERS = ("num_steps", "residual_evals", "linear_setups", "error_test_fails", + "nonlinear_iters", "nonlinear_conv_fails", "jacobian_evals") +_LEDGERS = ("raw_polynomial", "same_state_affine_tangent") + + +def _statuses(value, names): + _require(type(value) is tuple and len(value) == len(names) + and all(type(row) is tuple and len(row) == 2 and row[0] == name + and type(row[1]) is int and row[1] == 0 + for row, name in zip(value, names)), "native_getter_status") + + +def _stamp(stamp): + _require(all(type(stamp[k]) is int for k in ("nsteps", "kused", "kk")) + and all(type(stamp[k]) is float and math.isfinite(stamp[k]) + for k in ("tn", "hused", "hh")), "native_stamp_type") + _statuses(stamp["statuses"], _STAMP_NAMES) + return tuple(stamp[k] for k in ("nsteps", "tn", "hused", "kused", "hh", "kk")) + + +def _native_packet(packet, policy, size): + """Structural/word checks from the maintained native packet contract. + + No polynomials or models are constructed. The frame identity is recomputed + from all packet fields, including the native provenance and low-level bytes. + """ + p = _decode(packet) + _require(p["schema"] == "sksundae.ida.accepted-step-observation.v1" + and p["dtype"] == "= 1 + and 1 <= q <= 5 and before["nsteps"] >= 1 and before["hused"] > 0, + "native_owner_or_order") + key = (binding, owner, generation, before["nsteps"], before["tn"].hex(), + before["hused"].hex(), q, before["hh"].hex(), before["kk"]) + _require(p["step_key"] == key, "native_step_key") + previous, endpoint = p["predecessor"], p["endpoint"] + for point, steps in ((previous, before["nsteps"] - 1), (endpoint, before["nsteps"])): + _require(point["owner"] == owner and point["generation"] == generation + and point["nsteps"] == steps and type(point["internal_t"]) is float + and type(point["output_t"]) is float + and point["internal_t"].hex() == point["output_t"].hex() + and type(point["native_status"]) is int and point["native_status"] in (0, 1), + "native_endpoint_context") + _buffer(point["raw_y"], size) + _buffer(point["raw_yp"], size) + expected = (owner, generation, steps, point["internal_t"].hex(), point["output_t"].hex(), + hashlib.sha256(point["raw_y"] + point["raw_yp"]).hexdigest()) + _require(point["identity"] == expected, "native_endpoint_identity") + _require(previous["internal_t"] < endpoint["internal_t"] == before["tn"] + and p["raw_y"] == endpoint["raw_y"] and p["raw_yp"] == endpoint["raw_yp"] + and p["native_left_terms"] == (before["tn"], -before["hused"]) + and p["clock_gap_terms"] == (before["tn"], -before["hused"], -previous["internal_t"]), + "native_endpoint_or_clock") + basis = p["basis"] + _require(basis["kind"] == "ida75_phi_psi_copy_v1" and basis["dtype"] == " 0 for v in _buffer(p["error_weights"], size)), "native_error_weights") + _statuses(p["vector_statuses"], tuple(f"IDAGetDky[{k}]" for k in range(q + 1)) + + ("IDAGetErrWeights", "IDAGetEstLocalErrors")) + return p, _snapshot_digest(p) + + +class _Rows: + def __init__(self, reader, max_records, checkpoint): + self.reader, self.max_records, self.checkpoint = reader, max_records, checkpoint + self.count = self.offset = self.crc = 0 + self.hash = hashlib.sha256() + self.counts = Counter() + self.last = None + + def take(self, kind=None, *, eof=False): + self.checkpoint() + try: + line = next(self.reader) + except StopIteration: + _require(eof, "history_premature_eof") + return None + self.offset = self.reader.logical_bytes - len(line) + self.count += 1 + _require(self.count <= self.max_records, "record_count_limit") + _require(line.endswith(b"\n") and line.count(b"\n") == 1, "partial_or_multiline_record") + row = _json(line, getattr(self.reader, "integer_io_policy", None)) + self.hash.update(line) + self.crc = zlib.crc32(line, self.crc) + self.checkpoint() + _require(type(row.get("kind")) is str, "record_kind_required") + self.counts[row["kind"]] += 1 + _require(not eof, "surplus_history_record") + _require(kind is None or row["kind"] == kind, "record_order_expected_" + str(kind)) + self.last = {"history_byte_offset_after_record": self.reader.logical_bytes, + "kind": row["kind"], "record_sha256": row.get("record_sha256"), + "history_encoding": "gzip"} + return row + + +def qualification_coordinate_count(request): + """New fixed case contract only; imports no producer, model or solver.""" + from scripts.benchmarks.qualification_policy import check_initialized_request + try: + return check_initialized_request(request) + except (ValueError, KeyError, TypeError, OverflowError) as error: + raise HistoryVerificationError("qualification_request_binding") from error + + +def segment_startup_controls(request, segment): + """Independently bind the selected hold step, without producer imports.""" + controls = dict(request["controls"]) + if "physical_tolerance_policy" in request: + from scripts.benchmarks.physical_tolerance import validate_request, segment_startup_policy + validate_request(request) + _require(segment in request["segments"], "physical_startup_segment") + if "segment_startup_policy" in request: + policy = request["segment_startup_policy"] + expected = segment_startup_policy(request, policy.get("overrides")) + _require(policy == expected, "physical_startup_binding") + controls.update(expected["overrides"].get(segment["id"], {})) + return controls + _require("segment_startup_overrides" not in request, "segment_startup_unbound_override") + qualified = "qualification_policy" in request + size = qualification_coordinate_count(request) if qualified else 45 + if "segment_startup_policy" not in request: + return controls + exponents = {1024: 10, 65536: 16} + kappa = request.get("time_weight_policy", {}).get("kappa") + policy = request["segment_startup_policy"] + _require(type(policy) is dict, "segment_startup_policy_binding") + overrides = policy.get("overrides") + _require(type(overrides) is dict and set(overrides) == {"slow_state_hold"} + and type(overrides["slow_state_hold"]) is dict + and set(overrides["slow_state_hold"]) == {"first_step"}, "segment_startup_policy_binding") + value = overrides["slow_state_hold"]["first_step"] + _require(type(value) in (int, float) and value in (0, 2.0**-32) and math.copysign(1, value) == 1, + "segment_startup_policy_binding") + expected = { + "schema": "solarlab.voltage-lift-segment-startup.v1", + "ancestor_request_sha256": request["prior_request_sha256"], + "base_controls_sha256": _digest(controls), + "segments_sha256": _digest(request["segments"]), + "time_weight_policy_sha256": _digest(request.get("time_weight_policy")), + "overrides": {"slow_state_hold": {"first_step": float(value)}}, + "application": "fresh_segment_initialization_before_first_solve", + } + if qualified: + expected.update(schema="solarlab.voltage-lift-segment-startup.v2", + qualification_policy_sha256=_digest(request["qualification_policy"])) + _require(type(policy) is dict and _digest(policy) == _digest(expected) + and request["case_id"] == "DynamicAcceptorIonPublicDeviceV1" + and [s["id"] for s in request["segments"]] == [ + "dark_equilibrium_hold", "voltage_ramp", "slow_state_hold"] + and segment in request["segments"] + and controls.get("first_step") == 7.8125e-7 + and len(controls.get("atol", [])) == size + and type(kappa) is int and kappa in exponents + and controls.get("nonlin_conv_coef") == math.ldexp(1e-8, exponents[kappa]) + and controls.get("nonlin_guard") == "first-correction-wrms-v1" + and controls.get("nonlin_trace_capacity") == 4096, + "segment_startup_policy_binding") + if segment["id"] == "slow_state_hold": + controls["first_step"] = float(value) + return controls + + +class SegmentStartupCheck: + """Bounded constructor/native-stat association, also usable on failed runs. + + Constructor words are source evidence, not a native requested-step getter. + h0u independently checks explicit steps and records automatic selection; + it cannot prove which automatic-start algorithm was executed. + """ + def __init__(self, request): + self.request = request + self.enabled = "segment_startup_policy" in request + self.expected = [segment_startup_controls(request, s) for s in request["segments"]] + self.contexts = [] + + def consume(self, row): + kind = row.get("kind") + if kind == "voltage_lift_initialization_controls": + ordinal = len(self.contexts) + 1 + _require(self.enabled and ordinal <= len(self.expected), "segment_startup_unexpected_constructor") + segment = self.request["segments"][ordinal - 1] + controls = self.expected[ordinal - 1] + _require(row["request_sha256"] == _digest(self.request) + and row["map_identity"] == self.request["map_identity"] + and row["segment_id"] == segment["id"] + and row["segment_sha256"] == _digest(segment) + and type(row["logical_initialization_index"]) is int + and row["logical_initialization_index"] == ordinal + and row["segment_startup_policy_sha256"] == _digest(self.request["segment_startup_policy"]) + and _digest(row["constructor_controls"]) == row["constructor_controls_sha256"] == _digest(controls) + and row["requested_first_step_hex"] == float(controls["first_step"]).hex(), + "segment_startup_constructor_binding") + self.contexts.append({"ordinal": ordinal, "segment_id": segment["id"], + "constructor_record_sha256": _digest(row), "controls_sha256": _digest(controls), + "requested_first_step_hex": row["requested_first_step_hex"], + "native_owner": None, "actual_initial_step_hex": None, "accepted_steps": 0, + "first_return_record_sha256": None}) + elif self.enabled and kind == "native_statistics": + ordinal = row["logical_initialization_index"] + _require(type(ordinal) is int and ordinal == len(self.contexts) and ordinal > 0, + "segment_startup_missing_constructor") + context, raw = self.contexts[-1], row["raw_statistics"] + _require(row["segment_id"] == context["segment_id"], "segment_startup_statistics_segment") + owner = [raw["observation_owner"], raw["observation_generation"]] + if row["phase"] == "initialization_return": + _require(context["native_owner"] is None and raw["num_steps"] == 0, + "segment_startup_initialization_sequence") + context["native_owner"] = owner + else: + _require(context["native_owner"] == owner, "segment_startup_native_owner") + if row["phase"] in ("after_onestep", "onestep_exception"): + h0, count = raw["initial_step"], raw["num_steps"] + _require(type(count) is int and count >= context["accepted_steps"], + "segment_startup_step_count") + if count > 0: + _require(type(h0) is float and math.isfinite(h0) and h0 > 0, + "segment_startup_actual_initial_step") + requested = self.expected[ordinal - 1]["first_step"] + _require(requested == 0 or h0.hex() == float(requested).hex(), + "segment_startup_explicit_step_not_applied") + _require(context["actual_initial_step_hex"] in (None, h0.hex()), + "segment_startup_actual_step_changed") + context["actual_initial_step_hex"] = h0.hex() + if context["first_return_record_sha256"] is None: + context["first_return_record_sha256"] = _digest(row) + context["first_return_steps"] = count + context["raw_first_return_initial_step"] = h0 + context["accepted_steps"] = count + + def finish(self, *, complete): + if self.enabled and complete: + _require(len(self.contexts) == len(self.expected) + and all(c["native_owner"] is not None and c["accepted_steps"] > 0 + and c["actual_initial_step_hex"] is not None for c in self.contexts), + "segment_startup_incomplete_application") + return {"enabled": self.enabled, "initializations": self.contexts, + "native_requested_first_step_getter": "unavailable", + "scope": "source-bound constructor kwargs and actual IDAGetIntegratorStats h0u; no accuracy qualification"} + + +_CHARGE_ROWS = ("device", "left_metal", "right_metal") +_CHARGE_CHANNELS = tuple(f"{ledger}.{row}.{kind}" for ledger in _LEDGERS + for row in _CHARGE_ROWS for kind in ("total", "reference")) +_CHARGE_LOCAL_FIELDS = ("saved_finite_charge_change_C", "nominal_change_C", "signed_integral_C", + "error_components_C", "signed_saved_defect_C", "interval_total_bound_C", + "interval_reference_error_C", "original_charge_budget_C", "original_reference_share_C") + + +def _exact_ratio(value): + _require(type(value) is list and len(value) == 2 and all(type(v) is int for v in value) + and value[1] > 0 and max(abs(v).bit_length() for v in value) <= 131072, + "partition_rational_pair") + result = Fraction(*value) + _require([result.numerator, result.denominator] == value, "partition_noncanonical_ratio") + return result + + +class _ChargeRefinement: + """Independent certificate arithmetic; no observer or accumulator imports. + + Moment enclosures remain source-bound evidence, not a new evaluation of the + physical integrand. Twelve dyadic prefixes persist across every segment. + """ + + quantum = Fraction(1, 1 << 120) + maximum_terms = 200000 + maximum_bits = 65675 + + def __init__(self, request, source_identity): + self.request, self.source_identity = request, source_identity + policy = request["interval_observation"] + base = {k: v for k, v in policy.items() if k not in ("charge_refinement", "parent_policy_sha256")} + base["schema"] = "solarlab.interval-observation-policy.v1" + static = { + "arithmetic": {"python_flint": "0.8.0", "bits": 256, "evaluations": 2048, "depth": 16}, + "quadrature_error_allocation": "charge_C/12 * actual_interval/full_protocol / 32 per integral", + "sampling": "original requested and 8/16/32 times, explicitly declared polynomial reconstruction", + "history": "actual accepted predecessor/endpoint plus source-owned immutable phi/psi/Dky and error metadata", + "qualification": "represented numerical path only; original independent time/state/space refinements remain pending", + } + if "physical_tolerance_policy" in request: + from scripts.benchmarks.physical_tolerance import physical_charge_policy, CHARGE_ALLOCATION + static.update(physical_charge=physical_charge_policy(request), + quadrature_error_allocation=CHARGE_ALLOCATION) + expected_keys = {"schema", "map_identity", "protocol_sha256", "controls_sha256", "budgets_sha256", + "sampling_sha256", "binding_identity", "header_sha256", "backend_modules", *static} + _require(policy.get("schema") == "solarlab.interval-observation-policy.v2" + and set(base) == expected_keys and all(_digest(base[k]) == _digest(v) for k, v in static.items()) + and policy.get("parent_policy_sha256") == _digest(base), "charge_refinement_parent_policy") + slack = self.maximum_terms * self.quantum + constants = {"schema": "solarlab.nonnegative-upper-sum.v1", "quantum_bits": 120, + "max_terms": self.maximum_terms, "max_increment_bits": 65536, + "max_evidence_bytes": 8 * 1024 * 1024, + "max_slack_per_channel": [slack.numerator, slack.denominator], + "channel_ids": list(_CHARGE_CHANNELS)} + _require(_digest(policy.get("charge_refinement")) == _digest({ + "name": "fixed4-upper120-v1", "partition_cells": 4, "upper_sum": constants, + "prefix_semantics": "exact signed local evidence; non-resetting upward dyadic upper bounds; original gates"}) + and type(request["budgets"]["native_steps"]) is int + and request["budgets"]["native_steps"] == self.maximum_terms, "charge_refinement_constants") + self.policy_id = _digest({"schema": constants["schema"], "source_identity": source_identity, + "channels": [{"id": name, "unit": "C", "increment": + "interval_total_bound_C" if name.endswith(".total") else "interval_reference_error_C", + "role": "nonnegative_upper_bound"} for name in _CHARGE_CHANNELS], + "quantum_bits": 120, "max_terms": self.maximum_terms, + "max_slack_per_channel_hex": [hex(slack.numerator), hex(slack.denominator)], + "max_increment_bits": 65536, "max_evidence_bytes": 8 * 1024 * 1024}) + self.index = 0 + self.numerators = self.rounded = (0,) * 12 + + def _absolute_bound(self, payload, left, right, allocation, calls, call_range): + _require(type(payload) is dict and set(payload) == { + "upper", "method", "squared_integral", "numerical_excess_bound", "is_integral_value_estimate"} + and payload["method"] == "Cauchy-Schwarz from a certified squared integral" + and payload["is_integral_value_estimate"] is False, "partition_bound_structure") + upper, excess = _exact_ratio(payload["upper"]), _exact_ratio(payload["numerical_excess_bound"]) + moment = _enclosures([payload["squared_integral"]], 1)[0] + center, radius = moment["center"], moment["absolute_error_bound"] + _require(type(call_range) is tuple and len(call_range) == 2 + and all(type(v) is int for v in call_range) + and self.call_end <= call_range[0] < call_range[1] <= len(calls), "partition_call_range") + self.call_end = call_range[1] + receipts = calls[call_range[0]:call_range[1]] + _require(receipts[0] == {"evaluations": 1, "purpose": "full-real-interval-precheck", "working_bits": 512} + and type(receipts[0]["evaluations"]) is int and type(receipts[0]["working_bits"]) is int, + "partition_real_precheck") + _require(right > left and allocation > 0 and upper >= 0 and 0 <= excess <= allocation + and center + radius >= 0, "partition_moment_bounds") + if len(receipts) == 1: + _require(upper == center == radius == excess == 0, "partition_zero_range_certificate") + else: + _require(len(receipts) == 2 and excess == allocation, "partition_moment_receipts") + receipt = receipts[1] + goal = allocation ** 2 / (8 * (right - left)) + _require(receipt.get("purpose") == "L2-moment" and receipt.get("working_bits") == 512 + and type(receipt.get("working_bits")) is int + and receipt.get("absolute_integrand") is False + and type(receipt.get("evaluations")) is int and 0 < receipt["evaluations"] <= 2047 + and _exact_ratio(receipt["actual_error"]) == radius + and _exact_ratio(receipt["requested_error"]) == goal and radius <= goal, + "partition_moment_radius") + square = (right - left) * (center + radius) + _require(upper ** 2 >= square and max(Fraction(0), upper - allocation / 2) ** 2 <= square, + "partition_outward_root") + return upper + + def partition(self, evidence, calls, path_identity): + part = evidence["terminal_partition"] + _require(type(part) is dict and set(part) == {"schema", "path_identity", "normalized_interval", + "cells_per_port", "ports", "endpoint_carrier_L1_upper_C", "body_L1_upper_C"} + and part["schema"] == "solarlab.terminal-partition.v1" and part["path_identity"] == path_identity + and type(part["cells_per_port"]) is int and part["cells_per_port"] == 4, "partition_identity") + clock = evidence["clock"] + before, now, h = (_exact_ratio(clock[k]) for k in ("predecessor", "tn", "hused")) + _require(now > before and h > 0, "partition_clock") + first, last = before, now + if "observation_subinterval" in evidence: + sub = evidence["observation_subinterval"] + first, last = sub["left"], sub["right"] + _require(self.request.get("diagnostic_interval") is not None and before == first < last < now + and sub == {"left": first, "right": last, "native_clock_unchanged": True, + "accepted_native_step": False, "completed_prefix_mutated": False}, + "partial_prefix_clock_provenance") + left, right = (first-now)/h, (last-now)/h + _require(part["normalized_interval"] == (left, right), "partition_clock_coverage") + charge_budget = (Fraction(self.request["interval_observation"]["physical_charge"]["budget_C"]) + if "physical_tolerance_policy" in self.request else Fraction(self.request["budgets"]["charge_C"])) + allocation = charge_budget / 12 * (last-first) + normalization = (_hex(self.request["original_full_protocol_end_hex"]) + if "diagnostic_interval" in self.request else self.request["segments"][-1]["end"]) + allocation /= Fraction(normalization) * 32 + ports = _vector(part["ports"], 2) + originals = _vector(evidence["raw_tangent_L1_current_bounds"], 2) + self.call_end = 0 + retained = [] + for index, port in enumerate(ports): + name = _CHARGE_ROWS[index + 1] + _require(type(port) is dict and set(port) == {"port", "integrand_identity", "absolute_error_C", + "original", "original_call_range", "cells", "partition_upper_C", "retained_upper_C"} + and port["port"] == name and port["integrand_identity"] == _digest({ + "schema": "solarlab.terminal-departure.v1", "path_identity": path_identity, "port": name, + "formula": "hused*(endpoint_carrier_rate+raw_metal-tangent_metal_polynomial-tangent_metal_flux)"}) + and type(port["absolute_error_C"]) is Fraction and port["absolute_error_C"] == allocation + and port["original"] == originals[index], "partition_port_binding") + original = self._absolute_bound(port["original"], left, right, allocation, calls, port["original_call_range"]) + total = Fraction(0) + for j, cell in enumerate(_vector(port["cells"], 4)): + a, b = left + (right - left) * Fraction(j, 4), left + (right - left) * Fraction(j + 1, 4) + _require(type(cell) is dict and set(cell) == {"left", "right", "allocation_C", "bound", "call_range"} + and type(cell["left"]) is Fraction and type(cell["right"]) is Fraction + and (cell["left"], cell["right"]) == (a, b) + and type(cell["allocation_C"]) is Fraction and cell["allocation_C"] == allocation / 4, + "partition_cell_clock_or_allocation") + total += self._absolute_bound(cell["bound"], a, b, allocation / 4, calls, cell["call_range"]) + values = _nonnegative((port["partition_upper_C"], port["retained_upper_C"]), 2) + _require(values == (total, min(original, total)), "partition_upper_selection") + retained.append(values[1]) + carrier = _nonnegative(part["endpoint_carrier_L1_upper_C"], 2) + body, = _nonnegative((part["body_L1_upper_C"],), 1) + inputs = evidence["input_error"] + gap_inputs = tuple(a + b for a, b in zip(inputs["raw_charge_integral_error_C"], + inputs["tangent_charge_integral_error_C"])) + expected = (body, retained[0] + carrier[0], retained[1] + carrier[1]) + _require(evidence["ledgers"]["raw_polynomial"]["error_components_C"]["raw_tangent_departure"] + == tuple(a + b for a, b in zip(expected, gap_inputs)) + and evidence["ledgers"]["same_state_affine_tangent"]["error_components_C"]["raw_tangent_departure"] + == (Fraction(0),) * 3, "partition_charge_debits") + + def step(self, raw_observation, evidence, interval_index): + cert = evidence["upper_sum"] + _require(type(cert) is dict and set(cert) == {"schema", "policy_sha256", "source_identity", "channel_ids", + "index", "interval_sha256", "upper_numerators", "rounded_terms", "slack_upper_bounds"} + and cert["schema"] == "solarlab.nonnegative-upper-step.v1" and cert["policy_sha256"] == self.policy_id + and cert["source_identity"] == self.source_identity and cert["channel_ids"] == _CHARGE_CHANNELS + and type(cert["index"]) is int and cert["index"] == self.index + 1 == interval_index + and cert["index"] <= self.maximum_terms, "charge_upper_identity_or_index") + # Select already serialized local fields before decoded enclosures are + # converted for arithmetic. Re-tagging those conversions changes bytes. + selected = {"schema": "solarlab.native-charge-local-evidence.v1", "source_identity": self.source_identity, + "frame_identity": raw_observation["frame_identity"], "path_identity": raw_observation["path_identity"], + "clock": raw_observation["clock"], + "ledgers": {k: {f: raw_observation["ledgers"][k][f] for f in _CHARGE_LOCAL_FIELDS} for k in _LEDGERS}} + encoded = encode_integer_values(selected, {"max_integer_bits": 65536}) + signed = json.dumps(encoded, sort_keys=True, separators=(",", ":"), allow_nan=False).encode() + _require(0 < len(signed) <= 8 * 1024 * 1024 and hashlib.sha256(signed).hexdigest() == cert["interval_sha256"], + "charge_upper_local_evidence") + values = tuple(evidence["ledgers"][key][field][row] for key in _LEDGERS for row in range(3) + for field in ("interval_total_bound_C", "interval_reference_error_C")) + _nonnegative(values, 12) + numerators, rounded, slack = (tuple(_vector(cert[k], 12)) for k in + ("upper_numerators", "rounded_terms", "slack_upper_bounds")) + received = [] + for j, value in enumerate(values): + n, events = numerators[j], rounded[j] + _require(max(value.numerator.bit_length(), value.denominator.bit_length()) <= 65536 + and type(n) is int and n >= 0 and n.bit_length() <= self.maximum_bits + and type(events) is int and 0 <= events <= cert["index"], "charge_upper_integer_limits") + lower = self.numerators[j] * self.quantum + value + upper = n * self.quantum + _require(lower <= upper < lower + self.quantum, "charge_upper_recurrence") + _require(events == self.rounded[j] + int(upper > lower) + and type(slack[j]) is Fraction and slack[j] == events * self.quantum + and slack[j] <= self.maximum_terms * self.quantum, "charge_upper_rounding_slack") + received.append(upper) + return cert["index"], numerators, rounded, tuple(received) + + def commit(self, step): + self.index, self.numerators, self.rounded = step[:3] + + def summary(self): + return {"schema": "solarlab.native-upper-prefix-state.v1", "policy_sha256": self.policy_id, + "source_identity": self.source_identity, "channel_ids": _CHARGE_CHANNELS, "index": self.index, + "upper_numerators": self.numerators, "rounded_terms": self.rounded, + "slack_upper_bounds": tuple(n * self.quantum for n in self.rounded)} + + +def _frame_input_parent(request): + """Check immutable failed-file binding without importing its producer.""" + parent = request.get("frame_input_parent") + _require(type(parent) is dict and set(parent) == {"request_json", "native_result_json", "first_failure_json"} + and all(type(v) is str and len(v.encode()) <= 1024*1024 for v in parent.values()), + "frame_input_parent_evidence") + try: + old, result, failure = (json.loads(parent[k]) for k in ("request_json", "native_result_json", "first_failure_json")) + except (TypeError, ValueError) as error: + raise HistoryVerificationError("frame_input_parent_evidence") from error + _require(all(type(v) is dict for v in (old, result, failure)), "frame_input_parent_evidence") + old_id = _digest(old) + _require(old.get("schema") == "solarlab.voltage-lift-native-request.v1" and "frame_input_policy" not in old + and "segment_frame_policy" in old and result.get("request_sha256") == old_id + and result.get("complete_protocol") is False and result.get("reason") == "primitive_expansion_capacity_exceeded" + and failure.get("kind") == "first_callback_failure" + and _digest(failure.get("failure")) == _digest(result.get("first_failure")), "frame_input_parent_failure_binding") + control_refinement = same_physical_profile = None + old_controls, controls = old.get("controls"), request.get("controls") + old_policy, policy = old.get("time_weight_policy"), request.get("time_weight_policy") + comparison_controls = old_controls + if "physical_tolerance_policy" in request: + from scripts.benchmarks.physical_tolerance import validate_request + physical = validate_request(request) + _require(type(old_controls) is dict, "frame_input_physical_parent_profile") + if "physical_tolerance_policy" in old: + old_physical = validate_request(old) + for supplied, expected in ((old, old_physical), (request, physical)): + _require(all(_digest(supplied[key]) == _digest(expected) + for key in ("physical_tolerance_policy", "weight_certificate")), + "frame_input_same_physical_raw_policy") + _require(_digest(old_physical) == _digest(physical), "frame_input_same_physical_policy") + for key in ("budgets", "observation_policy", "quadrature_uncertainty_scope", + "observation_policy_authority", "projection_policy", + "full_word_consumer_qualification", "history_policy", + "startup_step_policy", "segment_startup_policy", "reference_refresh_policy"): + _require((key in request) == (key in old) + and _digest(request.get(key)) == _digest(old.get(key)), + "frame_input_same_physical_setting:"+key) + _require(type(request["voltage_lift_map"].get("mapped_input_words")) is int, + "frame_input_parent_map_profile") + same_physical_profile = {"schema": "solarlab.frame-input-same-physical-profile.v1", + "physical_tolerance_policy_sha256": _digest(physical), + "controls_sha256": _digest(controls), "raw_parent_words": 4, + "mapped_input_words": 12, "physical_controls_changed": False, + "old_parent_failure_retained": True} + else: + comparison_controls = controls + control_refinement = {"schema": "solarlab.frame-input-physical-control.v1", + "old_failed_request_sha256": old_id, "old_controls_sha256": _digest(old_controls), + "controls_sha256": _digest(controls), "physical_tolerance_policy_sha256": _digest(physical), + "old_parent_failure_retained": True, "effective_nonlinear_equivalence": False} + elif _digest(controls) != _digest(old_controls) or (type(policy) is dict and policy.get("kappa") == 65536): + valid = (type(old_controls) is dict and type(controls) is dict + and type(old_policy) is dict and type(policy) is dict + and old_policy.get("schema") == policy.get("schema") == "solarlab.voltage-lift-time-weights.v1" + and type(old_policy.get("kappa")) is int and old_policy["kappa"] == 1024 + and type(policy.get("kappa")) is int and policy["kappa"] == 65536) + if not valid: + raise HistoryVerificationError("frame_input_parent_time_controls") + keys = ("rtol", "atol", "nonlin_conv_coef") + if (old_policy.get("values") != {k: old_controls.get(k) for k in keys} + or policy.get("values") != {k: controls.get(k) for k in keys} + or policy.get("parent_values") != old_policy.get("parent_values") + or old_policy.get("ancestor_request_sha256") != old.get("prior_request_sha256") + or policy.get("ancestor_request_sha256") != request.get("prior_request_sha256") + or type(old_policy.get("parent_values")) is not dict + or set(old_policy["parent_values"]) != set(keys) + or old_policy.get("parent_controls_sha256") != _digest(dict(old_controls, **old_policy["parent_values"])) + or policy.get("parent_controls_sha256") != _digest(dict(controls, **policy["parent_values"]))): + raise HistoryVerificationError("frame_input_parent_time_policy") + expected_values = {} + for key in keys: + before = old_controls[key] if key == "atol" else [old_controls[key]] + after = controls[key] if key == "atol" else [controls[key]] + parent_values = old_policy["parent_values"][key] if key == "atol" else [old_policy["parent_values"][key]] + size = 45 if key == "atol" else 1 + if (type(before) is not list or type(after) is not list or type(parent_values) is not list + or len(before) != size or len(after) != size or len(parent_values) != size + or any(type(v) is not float or not math.isfinite(v) or v < float.fromhex("0x1p-1022") + for v in before + after + parent_values)): + raise HistoryVerificationError("frame_input_parent_time_normal") + scale = Fraction(64) if key == "nonlin_conv_coef" else Fraction(1, 64) + parent_scale = Fraction(1024) if key == "nonlin_conv_coef" else Fraction(1, 1024) + if any(Fraction(b) != Fraction(a)*scale or Fraction(a) != Fraction(p)*parent_scale + for p, a, b in zip(parent_values, before, after, strict=True)): + raise HistoryVerificationError("frame_input_parent_time_scaling") + expected_values[key] = after if key == "atol" else after[0] + old_certificate, certificate = old.get("weight_certificate"), request.get("weight_certificate") + if type(old_certificate) is not dict or type(certificate) is not dict: + raise HistoryVerificationError("frame_input_parent_time_certificate") + expected_policy = dict(old_policy, kappa=65536, values=expected_values, + parent_weight_certificate_sha256=certificate.get("parent_weight_certificate_sha256"), + exact_parameter_scaling="rtol/atol ldexp(-16); nonlin_conv_coef ldexp(+16); positive normal binary64", + norm_comparison="same-state denominators divide by65536; exact WRMS and epcon/epsNewt/toldel/m0-direct thresholds multiply by65536") + if (_digest(policy) != _digest(expected_policy) + or old_certificate.get("time_weight_policy_sha256") != _digest(old_policy) + or certificate.get("time_weight_policy_sha256") != _digest(policy) + or any(certificate.get(k) != controls[k] for k in ("rtol", "atol"))): + raise HistoryVerificationError("frame_input_parent_time_certificate") + comparison_controls = dict(old_controls, **expected_values) + control_refinement = { + "schema": "solarlab.frame-input-time-control.v1", "factor": 64, + "old_kappa": 1024, "kappa": 65536, + "old_controls_sha256": _digest(old_controls), "controls_sha256": _digest(controls), + "old_time_weight_policy_sha256": _digest(old_policy), "time_weight_policy_sha256": _digest(policy), + "scaling": "exact rtol/atol /64; nonlin_conv_coef *64; positive normal binary64", + "physical_gates_changed": False} + for key in ("case_id", "prior_request_sha256", "controls", "previous_controls", "segments", + "observation_times", "quadrature", "original_budgets", "mandatory", "physical_domain_policy"): + _require(key in request and _digest(request[key]) == _digest(comparison_controls if key == "controls" else old.get(key)), "frame_input_parent_science_changed:"+key) + mapping, old_map = dict(request["voltage_lift_map"]), dict(old["voltage_lift_map"]) + _require(mapping.pop("mapped_input_profile", None) == "frame-input-expansion12-v1" + and mapping.pop("mapped_input_words", None) == 12, "frame_input_parent_map_profile") + mapping.pop("physical_model"); old_map.pop("physical_model") + _require(_digest(mapping) == _digest(old_map), "frame_input_parent_map_changed") + current_packet, old_packet = (json.loads(json.dumps(v)) for v in (request["numeric_packet"], old["numeric_packet"])) + for packet in (current_packet, old_packet): + packet["definition"].pop("source_path", None) + packet.pop("definition_identity", None) + _require(_digest(current_packet) == _digest(old_packet), "frame_input_parent_physics_changed") + result = {"request_sha256": old_id, **{ + key.removesuffix("_json")+"_file_sha256": hashlib.sha256(value.encode()).hexdigest() + for key, value in parent.items()}} + if control_refinement is not None: + result["control_refinement"] = control_refinement + if same_physical_profile is not None: + result["same_physical_profile"] = same_physical_profile + return result + + +def _qualified_frame_input_context_check(request): + """Bind the qualified arithmetic profile without a fabricated failed run.""" + from scripts.benchmarks.qualification_policy import check_applied_ceiling + + outputs = {"z0", "zdot0", "actual_initial_identity", "initial_preparation", + "preparation_context_sha256", "initial_segment_frame", "interval_observation", + "frame_input_policy"} + context = {k: v for k, v in request.items() if k not in outputs} + if "frame_input_parent" in request or "qualification_policy" not in request: + raise HistoryVerificationError("qualified_frame_input_authority") + try: + size = check_applied_ceiling(context) + except (ValueError, KeyError, TypeError, OverflowError) as error: + raise HistoryVerificationError("qualified_frame_input_context") from error + policy, packet, mapping = request["qualification_policy"], request["numeric_packet"], request["voltage_lift_map"] + lift = [[0.0.hex(), 0.0.hex()] for _ in range(size)] + lo, hi = packet["variable_offsets"]["phi_V"] + for i, x in enumerate(packet["x_m"], lo): + lift[i][0] = (-x/packet["definition"]["length"]).hex() + first = request["segments"][0] + references = [float(first["voltage"][0]).hex(), float(first["photons"][0]).hex()] + if (_digest(mapping) != request["map_identity"] + or mapping.get("mapped_input_profile") != "frame-input-expansion12-v1" + or mapping.get("mapped_input_words") != 12 + or mapping.get("columns_hex") != [float(v).hex() for v in packet["column_scaling"]] + or mapping.get("rows_hex") != [float(v).hex() for v in packet["row_scaling"]] + or mapping.get("lift_hex") != lift or mapping.get("reference_inputs_hex") != references + or mapping.get("physical_reference") != packet.get("initial_identity") + or mapping.get("layout") != packet.get("layout_identity") + or "segment_frame" in mapping or hi-lo != policy["nodes"] + or not isinstance(mapping.get("physical_model"), str) + or len(mapping["physical_model"]) != 64): + raise HistoryVerificationError("qualified_frame_input_map") + return {"authority": "original-two-case-qualified-request", + "qualification_policy_sha256": _digest(policy), + "origin_sha256": _digest(policy["origin"]), + "prepared_inputs_sha256": _digest(context), + "numeric_packet_sha256": _digest(packet), + "definition_identity": packet["definition_identity"], + "physical_model_identity": mapping["physical_model"], + "physical_reference_identity": mapping["physical_reference"], + "layout_identity": mapping["layout"], + "weight_certificate_sha256": _digest(request["weight_certificate"])} + + +def diagnostic_accuracy_policy(parent): + """One exact factor-64 experiment after the recorded factor-1024 parent. + + This certificate changes internal denominators, not the retained physical + acceptance certificate. It certifies same-state scaling only, never equal + rounded decisions, nonlinear histories or global errors. + """ + controls, ancestry = parent["controls"], parent.get("time_weight_policy", {}) + proof = parent["weight_certificate"] + keys = ("rtol", "atol", "nonlin_conv_coef") + _require(ancestry.get("schema") == "solarlab.voltage-lift-time-weights.v1" + and type(ancestry.get("kappa")) is int and ancestry["kappa"] == 1024 + and ancestry.get("values") == {k: controls[k] for k in keys} + and proof.get("time_weight_policy_sha256") == _digest(ancestry) + and proof.get("rtol") == controls["rtol"] and proof.get("atol") == controls["atol"] + and controls.get("nonlin_conv_coef") == 1.024e-5 + and controls.get("nonlin_guard") == "first-correction-wrms-v1" + and controls.get("nonlin_trace_capacity") == 4096, + "accuracy_original_1024_ancestry") + values = {} + for key, shift in (("rtol", -6), ("atol", -6), ("nonlin_conv_coef", 6)): + old = _vector(controls[key], 45) if key == "atol" else [controls[key]] + before = (_vector(ancestry["parent_values"][key], 45) if key == "atol" + else [ancestry["parent_values"][key]]) + new = [] + for a, original in zip(old, before): + _require(type(a) is float and type(original) is float + and math.isfinite(a) and math.isfinite(original) + and a >= float.fromhex("0x1p-1022") and original > 0, + "accuracy_positive_normal_controls") + factor = Fraction(64) if shift > 0 else Fraction(1, 64) + previous_factor = Fraction(1024) if shift > 0 else Fraction(1, 1024) + _require(Fraction(a) == Fraction(original)*previous_factor, + "accuracy_original_1024_scaling") + b = math.ldexp(a, shift) + _require(math.isfinite(b) and b >= float.fromhex("0x1p-1022") + and Fraction(b) == Fraction(a)*factor, "accuracy_exact_normal_scaling") + new.append(b) + values[key] = new if key == "atol" else new[0] + return {"schema": "solarlab.native-internal-accuracy.v1", "factor": 64, + "parent_factor": 1024, "cumulative_factor": 65536, + "parent_request_sha256": _digest(parent), + "parent_controls_sha256": _digest(controls), + "parent_time_weight_policy_sha256": _digest(ancestry), + "original_weight_certificate_sha256": _digest(proof), "values": values, + "application": "fresh_saved_seed_initialization_only", + "external_acceptance_changed": False, + "same_state_exact_nonlinear_threshold_preserved": True, + "rounded_decisions_or_adaptive_path_equal": False, + "global_error_certified": False} + + +def diagnostic_accuracy_fine_ceiling(maximum): + """Largest representable positive power of two <= exact maximum/2.""" + _require(type(maximum) is float and math.isfinite(maximum) and maximum > 0, + "accuracy_positive_coarse_step") + _, exponent = math.frexp(maximum) + selected = math.ldexp(1.0, exponent-2) + _require(selected > 0 and Fraction(selected) <= Fraction(maximum)/2 + < 2*Fraction(selected), "accuracy_representable_dyadic_ceiling") + return selected + + +def _accuracy_metadata(item, name): + _require(type(item) is dict and set(item) == {"path", "bytes", "sha256"} + and type(item["bytes"]) is int and 0 < item["bytes"] <= 16*1024*1024, + "accuracy_metadata_pin:"+name) + with Path(item["path"]).open("rb") as stream: + data = stream.read(item["bytes"]+1) + _require(len(data) == item["bytes"] and hashlib.sha256(data).hexdigest() == item["sha256"], + "accuracy_metadata_changed:"+name) + return json.loads(data, object_pairs_hook=_pairs, parse_constant=_constant, parse_float=_finite) + + +def diagnostic_accuracy_coarse_basis(selection, descriptor): + """Bound a future independently accepted *new* coarse, never old Coarse03.""" + coarse = _accuracy_metadata(selection["coarse_child_request"], "coarse_request") + acceptance = _accuracy_metadata(selection["coarse_acceptance"], "coarse_acceptance") + result = _accuracy_metadata(selection["coarse_readback"], "coarse_readback") + _require(coarse["diagnostic_interval"]["schema"] == "solarlab.native-interval-descriptor.v3" + and coarse["diagnostic_interval"].get("accuracy_case") == "coarse" + and coarse["diagnostic_interval"]["time_accuracy_policy"] == descriptor["time_accuracy_policy"] + and coarse["diagnostic_interval"]["GateSpec"] == descriptor["GateSpec"], + "accuracy_new_coarse_same_policy") + diagnostic_interval_binding(coarse) + _require(acceptance.get("schema") == "solarlab.native-accuracy-coarse-acceptance.v1" + and acceptance.get("authority") == "Root" and acceptance.get("accepted") is True + and acceptance.get("operation_id") == "NativeAccuracyCoarse01" + and acceptance.get("child_request") == selection["coarse_child_request"] + and acceptance.get("readback") == selection["coarse_readback"] + and acceptance.get("GateSpec") == descriptor["GateSpec"], "accuracy_coarse_acceptance") + review = _accuracy_metadata(acceptance["independent_review"], "coarse_independent_review") + outcome = _accuracy_metadata(acceptance["complete_return"], "coarse_complete_return") + operation = _accuracy_metadata(acceptance["operation_request"], "coarse_operation_request") + _require(review.get("accepted") is True and review.get("independent") is True + and review.get("readback") == selection["coarse_readback"] + and review.get("complete_return") == acceptance["complete_return"] + and outcome.get("schema") == "solarlab.native-interval-root-tool-return.v1" + and outcome.get("passed") is True and outcome.get("within_total") is True + and outcome.get("active_tool_session") is None + and outcome.get("request_sha256") == acceptance["operation_request"]["sha256"] + and outcome.get("readback", {}).get("accepted") is True + and outcome["readback"]["checks"].get("owned_process_group_closed") is True + and operation.get("operation_id") == "NativeAccuracyCoarse01" + and operation.get("child_request") == selection["coarse_child_request"], + "accuracy_independent_complete_coarse") + _require(result.get("verified") is True and result.get("complete_diagnostic_window") is True + and result.get("complete_protocol") is False and result.get("request_sha256") == _digest(coarse) + and len(result.get("common_clocks", [])) == 5, + "accuracy_complete_coarse_readback") + grid = result["diagnostic_grid"] + _require(type(grid) is list and 0 < len(grid) <= coarse["diagnostic_limits"]["accepted_intervals"], + "accuracy_bounded_coarse_grid") + coverage = result["coverage"] + _require(coverage.get("intervals") == len(grid) and coverage.get("ports") == 2 + and coverage.get("physical_word_layers") == 12, "accuracy_coarse_coverage") + window = coarse["diagnostic_interval"]["window"] + previous = _hex(window["start_hex"]) + owner = (grid[0]["owner"], grid[0]["generation"]) + for index, row in enumerate(grid, 1): + left, right = _hex(row["left_hex"]), _hex(row["right_hex"]) + _require(left == previous < right <= _hex(window["end_hex"]) + and type(row["step"]) is int and row["step"] == index + and (row["owner"], row["generation"]) == owner, "accuracy_coarse_grid_gap") + previous = right + _require(previous == _hex(window["end_hex"]), "accuracy_incomplete_coarse_grid") + steps = [_hex(row["hused_hex"]) for row in grid] + _require(all(0 < h <= coarse["controls"]["max_step"] for h in steps) + and selection["observed_coarse_max_step_hex"] == max(steps).hex(), + "accuracy_observed_coarse_maximum") + return diagnostic_accuracy_fine_ceiling(max(steps)) + + +def diagnostic_interval_binding(request): + """Read bounded saved metadata for the explicit diagnostic child contract. + + This is shared metadata validation, with no model or native imports. The + normal reader still independently checks every physical word and gate. + The original full-protocol schema cannot opt into this path accidentally. + """ + descriptor = request.get("diagnostic_interval") + _require(request.get("schema") == "solarlab.native-interval-child-request.v1" + and type(descriptor) is dict + and descriptor.get("schema") in ("solarlab.native-interval-descriptor.v1", + "solarlab.native-interval-descriptor.v2", + "solarlab.native-interval-descriptor.v3"), + "diagnostic_interval_descriptor") + accuracy = descriptor["schema"] == "solarlab.native-interval-descriptor.v3" + _require(not any(k in request for k in ("time_accuracy_policy", "accuracy_case")) + and (accuracy or not any(k in descriptor for k in ("time_accuracy_policy", "accuracy_case"))), + "accuracy_unbound_policy") + + def bound(name): + item = descriptor[name] + _require(type(item) is dict and set(item) == {"path", "bytes", "sha256"} + and type(item["bytes"]) is int and 0 < item["bytes"] <= 2*1024*1024, + "diagnostic_metadata_pin") + with Path(item["path"]).open("rb") as stream: + data = stream.read(item["bytes"]+1) + _require(len(data) == item["bytes"] and hashlib.sha256(data).hexdigest() == item["sha256"], + "diagnostic_metadata_changed:"+name) + return json.loads(data, object_pairs_hook=_pairs, parse_constant=_constant, parse_float=_finite) + + parent, accepted, restore, gates = (bound(k) for k in + ("parent_request", "accepted_transfer", "saved_restore", "GateSpec")) + _require(parent.get("schema") == "solarlab.voltage-lift-native-request.v1" + and "diagnostic_interval" not in parent + and parent.get("frame_input_policy", {}).get("profile") == "frame-input-expansion12-v1" + and not any(k in request for k in ("frame_input_parent", "qualification_policy", "qualification_ancestor")), + "diagnostic_original_parent_schema") + point = restore["Point"] + _require(point["sha256"] == _digest(point["payload"]) + and point["payload"]["identity"] == restore["base_Point_identity"] == accepted["Point_identity"] + == request.get("starting_Point_identity") == gates["base_Point_identity"] + and point["payload"]["layout"] == parent["numeric_packet"]["layout_identity"] + and accepted["physical_reference_identity"] == parent["voltage_lift_map"]["physical_reference"] + and accepted["physical_source_identity"] == parent["voltage_lift_map"]["physical_model"] + and accepted["original_native_history_recovered"] is False + and restore["original_native_authority_restored"] is False, + "diagnostic_complete_saved_Point") + _require(len(request["segments"]) == 1, "diagnostic_single_window") + segment, window = request["segments"][0], descriptor["window"] + start, end = _hex(window["start_hex"]), _hex(window["end_hex"]) + hold = next((s for s in parent["segments"] if s["id"] == "slow_state_hold"), None) + _require(hold is not None and hold["start"] <= start < end <= hold["end"] + and start == _hex(point["payload"]["time"]) == _hex(accepted["frame"]["t0_hex"]) + and segment == {"id": window["segment_id"], "start": start, "end": end, + "voltage": hold["voltage"], "photons": hold["photons"]} + and all(v[0] == v[1] for v in (hold["voltage"], hold["photons"])), + "diagnostic_window_or_forcing") + clocks = [float(Fraction(start)+i*(Fraction(end)-Fraction(start))/4) for i in range(5)] + _require(all(Fraction(t) == Fraction(start)+i*(Fraction(end)-Fraction(start))/4 + for i, t in enumerate(clocks)) + and window["common_clocks_hex"] == [t.hex() for t in clocks] + and request["observation_times"] == {segment["id"]: clocks} + and [row["hex"] for row in gates["common_clocks"]] == window["common_clocks_hex"], + "diagnostic_common_clocks") + controls = dict(parent["controls"]) + controls.update(parent["segment_startup_policy"]["overrides"][hold["id"]]) + choices = _hex_vector(window["maximum_step_choices_hex"], 2) + selected = _hex(window["selected_max_step_hex"]) + _require(window["maximum_step_choices_hex"] == [gates["refinement"]["coarse_max_step_hex"], + gates["refinement"]["fine_max_step_hex"]] + and 0 < min(choices) and max(choices) == 2*min(choices) <= controls["max_step"] + and controls["first_step"].hex() == window["first_step_hex"], + "diagnostic_step_controls") + if accuracy: + policy = diagnostic_accuracy_policy(parent) + _require(type(descriptor.get("time_accuracy_policy")) is dict + and _digest(descriptor["time_accuracy_policy"]) == _digest(policy) + and descriptor.get("accuracy_case") in ("coarse", "fine"), "accuracy_policy_binding") + controls.update(policy["values"]) + if descriptor["accuracy_case"] == "coarse": + _require(selected == max(choices) and "refinement_selection" not in descriptor, + "accuracy_original_coarse_ceiling") + else: + selection = bound("refinement_selection") + _require(selection.get("schema") == "solarlab.native-accuracy-refinement.v1" + and selection.get("authority") == "Root" and selection.get("accepted") is True + and selection.get("case") == "fine" and selection.get("GateSpec") == descriptor["GateSpec"] + and selection.get("base_Point_identity") == gates["base_Point_identity"] + and selection.get("window_start_hex") == window["start_hex"] + and selection.get("window_end_hex") == window["end_hex"] + and selection.get("selected_max_step_hex") == selected.hex() + and selection.get("effective_refinement_required") is True + and selection.get("original_scientific_thresholds_unchanged") is True, + "accuracy_fine_selection_binding") + _require(selected == diagnostic_accuracy_coarse_basis(selection, descriptor), + "accuracy_largest_dyadic_half_coarse") + elif descriptor["schema"] == "solarlab.native-interval-descriptor.v1": + _require(selected in choices and "refinement_selection" not in descriptor, + "diagnostic_step_controls") + else: + # A stronger fine ceiling is a separately frozen numerical selection. + # Keep the original GateSpec and coarse request identities unchanged. + selection = bound("refinement_selection") + coarse_max = _hex(selection["observed_coarse_max_step_hex"]) + _require(selection.get("schema") == "solarlab.native-interval-refinement.v1" + and selection.get("authority") == "Root" and selection.get("accepted") is True + and selection.get("case") == "fine" + and selection["GateSpec"] == descriptor["GateSpec"] + and selection["base_Point_identity"] == gates["base_Point_identity"] + and selection["window_start_hex"] == window["start_hex"] + and selection["window_end_hex"] == window["end_hex"] + and selection["original_fine_max_step_hex"] == gates["refinement"]["fine_max_step_hex"] + and selection["selected_max_step_hex"] == window["selected_max_step_hex"] + and selection.get("effective_refinement_required") is True + and selection.get("original_scientific_thresholds_unchanged") is True + and 0 < selected < min(choices) and selected < coarse_max <= max(choices), + "diagnostic_explicit_refinement_selection") + controls["max_step"] = selected + _require(request["controls"] == controls and "segment_startup_policy" not in request, + "diagnostic_only_declared_control_delta") + if accuracy: + _require(_digest(request["controls"]) == _digest(controls), "accuracy_exact_control_encoding") + for key in ("case_id", "numeric_packet", "previous_controls", "weight_certificate", "budgets", + "original_budgets", "quadrature", "physical_domain_policy"): + _require(request[key] == parent[key], "diagnostic_physics_or_gate_changed:"+key) + _require(request["prior_request_sha256"] == _digest(parent) + and request["original_full_protocol_end_hex"] == float(parent["segments"][-1]["end"]).hex() + == gates["charge"]["original_full_protocol_end_hex"], "diagnostic_original_normalization") + old_map, new_map = dict(parent["voltage_lift_map"]), dict(request["voltage_lift_map"]) + accepted_map = dict(accepted["map"]) + _require(accepted_map.pop("segment_frame", None) == accepted["frame"] + and accepted["frame"]["parent_map_identity"] == _digest(old_map), + "diagnostic_accepted_parent_map_identity") + for name in ("raw_coordinate_meaning", "physical_coordinate_meaning"): + accepted_map[name] = old_map[name] + _require(accepted_map == old_map, "diagnostic_accepted_unframed_map_body") + old_map.pop("physical_model") + source = new_map.pop("physical_model") + _require(old_map == new_map and request["map_identity"] == _digest(request["voltage_lift_map"]) + and type(source) is str and len(source) == 64 + and request["source_rebinding"]["physical_model_identity"] == source, + "diagnostic_physical_map_changed") + kernel = request["source_rebinding"]["numeric_kernel"] + _require(Path(kernel["path"]).stat().st_size == kernel["bytes"] <= 2*1024*1024 + and hashlib.sha256(Path(kernel["path"]).read_bytes()).hexdigest() == kernel["sha256"], + "diagnostic_numeric_source_changed") + n = len(controls["atol"]) + _require(n == len(request["z0"]) == len(request["zdot0"]) == accepted["frame"]["size"] == 45 + and request["z0"] == [0.0]*n + and [float(v).hex() for v in request["zdot0"]] == restore["raw_v_hex"] + == accepted["public_return"]["raw_rate_hex"] + and accepted["public_return"]["raw_state_hex"] == [0.0.hex()]*n, + "diagnostic_initial_raw_words") + for name in ("physical_state_words_hex", "physical_rate_words_hex"): + for word in _vector(accepted[name], 12): + _hex_vector(word, n) + _require(accepted["inputs_hex"] == point["payload"]["inputs"] + and accepted["input_rates_hex"] == restore["input_rates_hex"] == [0.0.hex(), 0.0.hex()] + and request["center_once"] is True and request["in_window_reinitializations"] == 0 + and request["old_B_prefix_credit"] is False + and request["original_native_Point_authority_restored"] is False, + "diagnostic_seed_input_or_history") + summary = {"schema": "solarlab.native-interval-context.v1", "descriptor_sha256": _digest(descriptor), + "parent_request_sha256": _digest(parent), "saved_Point_sha256": point["sha256"], + "seed_Point_identity": accepted["Point_identity"], "window": window, + "source_rebinding": request["source_rebinding"], "GateSpec": descriptor["GateSpec"]} + return {"parent": parent, "accepted": accepted, "restore": restore, "summary": summary} + + +def frame_input_word_count(request): + """Independent request/profile check; raw native anchors always stay four.""" + _require(not any(k in request for k in ("frame_input_profile", "frame_input_words", "mapped_input_profile")), + "frame_input_unbound_option") + if "frame_input_policy" not in request: + _require("frame_input_parent" not in request + and not any(k in request.get("voltage_lift_map", {}) for k in ("mapped_input_profile", "mapped_input_words")), + "frame_input_unbound_parent_or_map") + return 4 + _require("segment_frame_policy" in request, "frame_input_requires_segment_frame") + diagnostic = "diagnostic_interval" in request + qualified = "qualification_policy" in request + authority = ({"diagnostic_context": diagnostic_interval_binding(request)["summary"]} if diagnostic else + {"qualified_context": _qualified_frame_input_context_check(request)} if qualified + else {"failed_parent": _frame_input_parent(request)}) + expected = {"schema": "solarlab.frame-input-policy.v3" if diagnostic else + "solarlab.frame-input-policy.v2" if qualified else "solarlab.frame-input-policy.v1", + "profile": "frame-input-expansion12-v1", **authority, + "ancestor_request_sha256": request["prior_request_sha256"], + "parent_map_identity": request["map_identity"], + "segment_frame_policy_sha256": _digest(request["segment_frame_policy"]), + "controls_sha256": _digest(request["controls"]), "segments_sha256": _digest(request["segments"]), + "sampling_sha256": _digest((request["observation_times"], request["quadrature"])), + "mapped_input_words": 12, "raw_parent_words": 4, + "bound": "four-parent-words_times_column_plus_voltage_and_reference_DD_products", + "physical_gates_changed": False} + _require(type(request["frame_input_policy"]) is dict + and _digest(request["frame_input_policy"]) == _digest(expected), "frame_input_policy_binding") + return 12 + + +def _frame_word_values(words, size, *, count=4): + _require(type(count) is int and count in (4, 12), "frame_input_word_count") + layers = tuple(_hex_vector(w, size) for w in _vector(words, count)) + values = tuple(sum((Fraction(w[i]) for w in layers), Fraction(0)) for i in range(size)) + for i, value in enumerate(values): + for word in layers: + rounded = float(value) + _require(rounded == word[i], "segment_frame_noncanonical_words") + value -= Fraction(rounded) + _require(value == 0, "segment_frame_word_capacity") + return values + + +def reference_refresh_policy(request): + """Independently bind the one-refresh policy without importing its producer.""" + from scripts.benchmarks.physical_tolerance import validate_certificate_policy + continuing = validate_certificate_policy(request) is not None + policy = request.get("reference_refresh_policy") + if policy is None: + return None + _require(type(policy) is dict, "reference_refresh_policy_type") + when = _hex(policy["time_hex"]) + segment = request["segments"][-1] + _require(segment["start"] < when < segment["end"] and "diagnostic_interval" not in request + and "segment_frame_policy" in request and request["controls"].get("calc_initcond") is None + and request["voltage_lift_map"].get("mapped_input_profile") == "frame-input-expansion12-v1", + "reference_refresh_scope") + expected = {"schema": ("solarlab.reference-state-transfer-policy.v2" if continuing else + "solarlab.accepted-reference-refresh-policy.v1"), "time_hex": when.hex(), + "physical_segment_ordinal": len(request["segments"]), "segment_sha256": _digest(segment), "max_refreshes": 1, + "parent_map_identity": request["map_identity"], "controls_sha256": _digest(request["controls"]), + "budgets_sha256": _digest(request["budgets"]), "segments_sha256": _digest(request["segments"]), + "sampling_sha256": _digest((request["observation_times"], request["quadrature"])), + "trigger": ("exact_domain_safe_native_endpoint" if continuing else "exact_fully_accepted_native_endpoint"), + **({"certificate_failure_policy_sha256": _digest(request["certificate_failure_policy"])} if continuing else {}), + "native_api": "init_step", + "same_owner_generation_increment": 1, "preserve_original_segment_inputs": True, + "discard_native_multistep_history": True, "restored_seed_prefix_credit": False} + _require(policy == expected, "reference_refresh_policy_binding") + return policy + + +def _reference_refresh_point(record, history, request): + """Check the fixed-reference Point codec against already consumed history. + + This is deliberately limited to the refresh policy's affine v6 authority + and its original zero-primitive v3 reference. No Point, model, numerical + provider or producer validator is imported. Field projections use exact + dyadic sums followed by the codec's two binary64 words; they are not new + physical evaluations. The consumed Point identity binds the complete + transition, including its previous authority and every predecessor word. + """ + packet = request["numeric_packet"] + reference = packet["initial_reference"] + root = reference["payload"] + layout = packet["layout_identity"] + size = len(request["controls"]["atol"]) + offsets = packet["variable_offsets"] + _require(type(offsets) is dict and set(offsets) == set(root["fields"]) + and layout == request["voltage_lift_map"]["layout"] == root["layout"], + "reference_refresh_Point_layout") + for bounds in offsets.values(): + _require(type(bounds) is list and len(bounds) == 2 + and all(type(v) is int for v in bounds) and 0 <= bounds[0] < bounds[1] <= size, + "reference_refresh_Point_offsets") + names = sorted(offsets, key=lambda name: offsets[name][0]) + cursor, shapes = 0, {} + for name in names: + start, stop = offsets[name] + shape = root["fields"][name]["shape"] + _require(start == cursor and type(shape) is list + and all(type(v) is int and v > 0 for v in shape) and math.prod(shape) == stop-start, + "reference_refresh_Point_field_layout") + cursor, shapes[name] = stop, shape + _require(cursor == size, "reference_refresh_Point_layout_coverage") + + def primitive(value, shape): + _require(type(value) is dict and set(value) == {"shape", "precision", "words"} + and type(value["shape"]) is list and all(type(v) is int for v in value["shape"]) + and value["shape"] == shape + and value["precision"] in {"input-expansion4-v1", "frame-input-expansion12-v1"}, + "reference_refresh_Point_primitive_schema") + count = 12 if value["precision"] == "frame-input-expansion12-v1" else 4 + values = _frame_word_values(value["words"], math.prod(shape), count=count) + # The codec normalizes primitive zero signs, unlike retained Point + # input words. Compare canonical strings here, not float equality. + remaining = list(values) + for layer in value["words"]: + for i, word in enumerate(layer): + rounded = float(remaining[i]) + _require(word == rounded.hex(), "reference_refresh_Point_primitive_encoding") + remaining[i] -= Fraction(rounded) + return values + + def projection(anchor, values, shape): + _require(type(anchor) is dict and set(anchor) == {"shape", "high", "low"} + and anchor["shape"] == shape, "reference_refresh_Point_field_schema") + high, low = (_hex_vector(anchor[key], math.prod(shape)) for key in ("high", "low")) + result = {"shape": shape, "high": [], "low": []} + for a, b, value in zip(high, low, values): + s = a+b + z = s-a + _require(s == a and (a-(s-z))+(b-z) == b + and (a == 0 or 2.**-970 <= abs(a) <= 2.**970), + "reference_refresh_Point_anchor_normalization") + total = Fraction(a)+Fraction(b)+value + hi = float(total) + lo = float(total-Fraction(hi)) + # The final DD constructor normalizes its two rounded words. + summed = hi+lo + z = summed-hi + remainder = (hi-(summed-z))+(lo-z) + _require(math.isfinite(summed) and math.isfinite(remainder) + and (summed == 0 or 2.**-970 <= abs(summed) <= 2.**970), + "reference_refresh_Point_projection_range") + result["high"].append(summed.hex()) + result["low"].append(remainder.hex()) + return result + + point_keys = {"schema", "layout", "coordinate_reference", "identity", "time", "y", "inputs", + "fields", "authority_identity", "authority", "field_role"} + authority_keys = {"schema", "layout", "map", "version", "modes", "parameters", "anchor", "primitives", + "time", "inputs", "coordinates", "reference", "composition_policy", "transition"} + modes = {name: "linear" for name in names} + map_id = _digest({"layout": layout, "name": "relative-fields", "version": 1, + "modes": modes, "parameters": {}}) + + def check_point(encoded, expected_authority): + _require(type(encoded) is dict and set(encoded) == {"payload", "sha256"}, + "reference_refresh_Point_outer_schema") + p = encoded["payload"] + _require(type(p) is dict and set(p) == point_keys and p["schema"] == "solarlab.precision-point.v2" + and p["layout"] == layout and p["field_role"] == "projection" + and _digest(p["authority"]) == _digest(expected_authority) and set(p["fields"]) == set(names) + and encoded["sha256"] == _digest(p), "reference_refresh_Point_codec") + a = p["authority"] + aid = _digest(a) + _require(p["authority_identity"] == aid and p["time"] == a["time"] + and p["inputs"] == a["inputs"] and p["y"] == a["coordinates"] + and p["coordinate_reference"] == a["reference"], "reference_refresh_Point_authority") + digest = hashlib.sha256(repr((_hex(p["time"]), p["coordinate_reference"], layout)).encode()) + digest.update(aid.encode()) + digest.update(_word_bytes(p["y"], size)+_word_bytes(p["inputs"], 2)) + for name in names: + shape = shapes[name] + values = primitive(a["primitives"][name], shape) + _require(_digest(p["fields"][name]) == _digest(projection(a["anchor"][name], values, shape)), + "reference_refresh_Point_field_projection") + # MappedArray identities retain authority and the complete field + # selection, not the rounded projection bytes. + count = math.prod(shape) + digest.update(name.encode()+b"authority-field-v1:"+aid.encode()+name.encode() + +repr(tuple(shape)).encode()+struct.pack(f"{count}n", *range(count))) + _require(p["identity"] == digest.hexdigest(), "reference_refresh_Point_full_identity") + + base = root["authority"] + _require(type(base) is dict and set(base) == authority_keys and set(base["anchor"]) == set(names), + "reference_refresh_Point_reference_schema") + zero = {name: {"shape": shapes[name], "precision": "input-expansion4-v1", + "words": [[0.0.hex()] * math.prod(shapes[name]) for _ in range(4)]} for name in names} + expected_base = {"schema": "solarlab.state-authority.v3", "layout": layout, "map": "relative-fields", + "version": 1, "modes": modes, "parameters": {}, "anchor": base["anchor"], "primitives": zero, + "time": root["time"], "inputs": root["inputs"], "coordinates": [0.0.hex()]*size, + "reference": f"relative:{map_id}:initial", "composition_policy": "exact-four-word-primitives-v1", + "transition": None} + check_point(reference, expected_base) + _require(root["identity"] == request["voltage_lift_map"]["physical_reference"], + "reference_refresh_Point_reference_identity") + + p = record["payload"] + authority = p["authority"] + _require(type(authority) is dict and set(authority) == authority_keys | {"coordinate_contract"}, + "reference_refresh_Point_authority_schema") + transition = authority["transition"] + _require(type(transition) is dict and set(transition) == { + "previous_authority", "previous_point", "previous_primitives", "local_primitives"} + and transition["previous_point"] == history["predecessor_identity"] + and type(transition["previous_authority"]) is str and len(transition["previous_authority"]) == 64 + and all(v in "0123456789abcdef" for v in transition["previous_authority"]) + and set(transition["previous_primitives"]) == set(transition["local_primitives"]) == set(names), + "reference_refresh_Point_predecessor") + _frame_word_values(history["physical_cumulative_words_hex"], size, count=12) + current = {} + for name in names: + start, stop = offsets[name] + current[name] = {"shape": shapes[name], "precision": "frame-input-expansion12-v1", + "words": [layer[start:stop] for layer in history["physical_cumulative_words_hex"]]} + previous = transition["previous_primitives"][name] + primitive(previous, shapes[name]) + _require(_digest(transition["local_primitives"][name]) == _digest({"shape": shapes[name], + "precision": "frame-input12-endpoint-difference-v1", "current": current[name], "previous": previous}), + "reference_refresh_Point_paired_transition") + expected = dict(expected_base, schema="solarlab.state-authority.v6", primitives=current, + time=history["time_hex"], inputs=history["inputs_hex"], coordinates=history["physical_cumulative_words_hex"][0], + reference=f"affine-trial:{map_id}:{root['identity']}", + composition_policy="frame-input12-endpoints-paired-transition-v1", transition=transition, + coordinate_contract={"kind": "fixed-reference-affine-v1", "solver_projection": "first-word", "reference": reference}) + check_point(record, expected) + _require(p["identity"] == history["point_identity"], "reference_refresh_Point_history_identity") + + +def physical_weight_state(value, request, frame, segment, *, owner, generation, initial=False): + """Independent rational reconstruction of actual callback SI weights.""" + from scripts.benchmarks.physical_tolerance import weight_option + option = weight_option(request, frame, segment) + n = option["size"] + words = lambda row: _word_bytes(row, len(row)) + _require(type(value) is dict and value["schema"] == "sksundae.ida.physical-affine-weight-state.v1" + and type(value["generation"]) is int and value["generation"] > 0 + and type(value["size"]) is int and type(value["setter_status"]) is int + and value["frame_identity"] == option["frame_identity"] and value["profile_identity"] == option["profile_identity"] + and value["owner"] == owner and value["generation"] == generation and value["size"] == n + and value["installed"] is True and value["setter"] == "IDAWFtolerances" and value["setter_status"] == 0 + and value["t0_hex"] == option["t0_hex"] and value["rtol_hex"] == option["rtol_hex"] + and value["weight_rounding"] == option["weight_rounding"] + and value["q0_words"] == tuple(words(w) for w in option["q0_words_hex"]) + and value["v0_words"] == tuple(words(w) for w in option["v0_words_hex"]) + and value["atol"] == words(option["atol_physical_hex"]) and value["scale"] == words(option["scale_hex"]) + and value["reference_words"] == b"".join(words(w) for w in option["reference_words_hex"]) + and value["lift"] == b"".join(words(w) for w in option["lift_hex"]) + and value["protocol_start_hex"] == option["protocol_start_hex"] + and value["protocol_end_hex"] == option["protocol_end_hex"] + and all(value[k] == tuple(_hex(v) for v in option[key]) for k,key in ( + ("inputs_start","inputs_start_hex"),("inputs_end","inputs_end_hex"), + ("input_rates","input_rates_hex"),("reference_inputs","reference_inputs_hex"))), "physical_weight_actual_context") + _require(type(value["callback_calls"]) is int and value["callback_calls"] >= 0, "physical_weight_calls") + if initial: + _require(value["callback_calls"] == 0 and value["callback_status"] is None + and all(value[k] is None for k in ("basis_time_hex","basis_u","rounded_physical","computed_weights")), "physical_weight_initial_cache") + elif value["callback_calls"]: + _require(type(value["callback_status"]) is int and value["callback_status"] == 0 + and value["failure_component"] is None, "physical_weight_callback_failure") + t = _hex(value["basis_time_hex"]); lo,hi = _hex(option["protocol_start_hex"]),_hex(option["protocol_end_hex"]) + _require(lo <= t <= hi, "physical_weight_basis_time") + first,last,rates = (tuple(_hex(v) for v in option[k]) for k in ("inputs_start_hex","inputs_end_hex","input_rates_hex")) + inputs = first if t == lo else last if t == hi else tuple(a+v*(t-lo) for a,v in zip(first,rates)) + q0,v0 = (_frame_word_values(option[k],n) for k in ("q0_words_hex","v0_words_hex")) + raw = _buffer(value["basis_u"],n); dt = Fraction(t)-Fraction(_hex(option["t0_hex"])) + roots = tuple(sum((Fraction(_hex(w[i])) for w in option["reference_words_hex"]),Fraction(0)) for i in range(n)) + scale = tuple(_hex(v) for v in option["scale_hex"]); a = tuple(_hex(v) for v in option["atol_physical_hex"]) + ref = tuple(_hex(v) for v in option["reference_inputs_hex"]); r = _hex(option["rtol_hex"]) + physical = tuple(float(roots[i]+Fraction(scale[i])*(q0[i]+dt*v0[i]+Fraction(raw[i]))+ + sum((Fraction(_hex(option["lift_hex"][i][j]))*(Fraction(inputs[j])-Fraction(ref[j])) for j in range(2)),Fraction(0))) + for i in range(n)) + expected = tuple(s/(r*abs(x)+b) for s,x,b in zip(scale,physical,a)) + _require(_buffer(value["rounded_physical"],n) == physical and _buffer(value["computed_weights"],n) == expected + and all(math.isfinite(w) and w > 0 for w in expected), "physical_weight_metric") + return value + + +class SegmentFrameCheck: + """Independent dyadic frame/weight checks; no model or native imports.""" + + def __init__(self, request): + self.request, self.request_id = request, _digest(request) + self.enabled = "segment_frame_policy" in request + self.input_words = frame_input_word_count(request) + self.size = len(request.get("z0", ())) + self.base = request["voltage_lift_map"] + self.active = self.current_map = self.latest_weights = None + self.prior_phi0 = None + self.frames, self.polynomials = [], 0 + self.polynomial_hash = hashlib.sha256() + self.refresh_policy = reference_refresh_policy(request) + self.refreshes = [] + _require(not any(k in request for k in ("segment_frame", "frame_overrides", "parent_weight_frame", "physical_weight_frame")), + "segment_frame_unbound_option") + if not self.enabled: + _require("initial_segment_frame" not in request, "segment_frame_unbound_initialization") + return + self.size = len(request["controls"]["atol"]) + expected = {"schema": "solarlab.segment-frame-policy.v1", "name": "fixed-affine-state-rate-v1", + "ancestor_request_sha256": request["prior_request_sha256"], + "parent_map_identity": request["map_identity"], + "controls_sha256": _digest(request["controls"]), "segments_sha256": _digest(request["segments"]), + "sampling_sha256": _digest((request["observation_times"], request["quadrature"])), + "weight_certificate_sha256": _digest(request["weight_certificate"]), + "segment_startup_policy_sha256": _digest(request.get("segment_startup_policy")), + "qualification_policy_sha256": _digest(request.get("qualification_policy")), + "application": "one_fixed_live_origin_at_each_existing_fresh_segment_initialization", + "weight_rounding": "RN-exact-parent-q_then-unfused-SV-v1", + "requested_first_steps_unchanged": True, "actual_automatic_first_step_parity_claimed": False} + _require(type(request["segment_frame_policy"]) is dict + and _digest(request["segment_frame_policy"]) == _digest(expected), "segment_frame_policy_binding") + + def parent(self, frame, when, raw, *, rate=False): + q0 = _frame_word_values(frame["q0_words_hex"], self.size) + v0 = _frame_word_values(frame["v0_words_hex"], self.size) + if rate: + return tuple(v+Fraction(u) for v, u in zip(v0, raw)) + dt = Fraction(when)-Fraction(_hex(frame["t0_hex"])) + return tuple(q+dt*v+Fraction(u) for q, v, u in zip(q0, v0, raw)) + + def physical(self, parent, inputs, *, rate=False): + columns = _hex_vector(self.base["columns_hex"], self.size) + lift = tuple(_hex_vector(row, 2) for row in _vector(self.base["lift_hex"], self.size)) + ref = _hex_vector(self.base["reference_inputs_hex"], 2) + return tuple(Fraction(s)*q+sum((Fraction(row[j])*(Fraction(inputs[j])- + (0 if rate else Fraction(ref[j]))) for j in range(2)), Fraction(0)) + for s, q, row in zip(columns, parent, lift)) + + def begin(self, record, segment, ordinal, predecessor, previous_history=None): + _require(self.enabled and record["kind"] == "voltage_lift_segment_frame" + and record["record_sha256"] == _digest({k: v for k, v in record.items() if k != "record_sha256"}) + and record["request_sha256"] == self.request_id + and record["parent_map_identity"] == self.request["map_identity"], "segment_frame_record_binding") + if "diagnostic_interval" in self.request: + return self.begin_diagnostic(record, segment, ordinal, predecessor, previous_history) + frame, parent, seed = record["frame"], record["parent_input"], record["preparation_frame"] + _require(frame["schema"] == "solarlab.segment-affine-frame.v1" and _digest(frame) == record["frame_identity"] + and frame["parent_map_identity"] == self.request["map_identity"] and frame["size"] == self.size + and frame["segment_sha256"] == _digest(segment) + and frame["logical_initialization_index"] == ordinal and type(frame["logical_initialization_index"]) is int + and frame["predecessor_identity"] == predecessor + and _hex(frame["t0_hex"]) == segment["start"] + and frame["law"] == "q=Q0+(t-t0)*V0+u;qdot=V0+udot" + and frame["weight_rounding"] == "RN-exact-parent-q_then-unfused-SV-v1", "segment_frame_anchor_binding") + expected_map = dict(self.base, segment_frame=frame, + raw_coordinate_meaning="fixed-segment affine remainder u; native history is u", + physical_coordinate_meaning="Point.y is the first retained word of S*(Q0+(t-t0)*V0+u)+L*(a-a_ref)") + if self.input_words == 12: + expected_map.update(mapped_input_profile="frame-input-expansion12-v1", mapped_input_words=12) + _require(record["map"] == expected_map and record["map_identity"] == _digest(expected_map), + "segment_frame_map_binding") + q0 = _frame_word_values(frame["q0_words_hex"], self.size) + v0 = _frame_word_values(frame["v0_words_hex"], self.size) + _require(parent["record_sha256"] == _digest({k: v for k, v in parent.items() if k != "record_sha256"}) + and frame["parent_input_sha256"] == parent["record_sha256"] + and parent["predecessor_identity"] == predecessor and parent["request_sha256"] == self.request_id + and parent["segment_sha256"] == _digest(segment) and parent["time_hex"] == frame["t0_hex"] + and parent["state_changed"] is False and parent["native_initialization_performed"] is False, + "segment_frame_parent_initializer") + zero = ["0x0.0p+0"]*self.size + _require(record["native_initial_z_hex"] == record["native_initial_zdot_hex"] == zero + and parent["raw_z_hex"] == zero + and frame["v0_words_hex"] == [parent["raw_zdot_hex"], zero, zero, zero] + and record["ancestry"] == {"request_sha256": self.request_id, + "parent_map_identity": self.request["map_identity"], "predecessor_identity": predecessor, + "q0_words_hex": frame["q0_words_hex"]} + and seed == dict(frame, v0_words_hex=[zero]*4, parent_input_sha256=_digest(record["ancestry"])), + "segment_frame_supplied_words") + if previous_history is None: + _require(ordinal == 1 and all(v == 0 for v in q0), "segment_frame_original_initial_state") + else: + _require(self.active is not None and q0 == self.parent(self.active, segment["start"], + _hex_vector(previous_history["raw_solver_z_hex"], self.size)), "segment_frame_live_handoff") + _require(record["physical_handoff_words_hex"] == previous_history["physical_cumulative_words_hex"], + "segment_frame_physical_handoff_words") + inputs = (segment["voltage"][0], segment["photons"][0]) + rates = tuple((values[1]-values[0])/(segment["end"]-segment["start"]) + for values in (segment["voltage"], segment["photons"])) + _require(_hex_vector(parent["inputs_hex"], 2) == inputs + and _hex_vector(parent["input_rates_hex"], 2) == rates + and _frame_word_values(record["physical_handoff_words_hex"], self.size, count=self.input_words) == self.physical(q0, inputs) + and _frame_word_values(record["physical_rate_handoff_words_hex"], self.size, count=self.input_words) == self.physical(v0, rates, rate=True) + and record["physical_rate_handoff_words_hex"] == parent["mapped_physical_rate_words_hex"], + "segment_frame_right_sided_physical_map") + self.active, self.current_map, self.segment = frame, expected_map, segment + self.prior_phi0 = _word_bytes(zero, self.size) + self.frames.append({"frame_identity": record["frame_identity"], "map_identity": record["map_identity"], + "ordinal": ordinal, "weight_packets": 0}) + return expected_map + + def begin_diagnostic(self, record, segment, ordinal, predecessor, previous_history): + """A complete externally saved seed, distinct from a cold reference.""" + data = diagnostic_interval_binding(self.request) + accepted, restore = data["accepted"], data["restore"] + frame, proof = record["frame"], record["parent_input"] + ancestry = {"schema": "solarlab.native-interval-live-seed.v1", "request_sha256": self.request_id, + "descriptor_sha256": _digest(self.request["diagnostic_interval"]), + "parent_map_identity": self.request["map_identity"], "predecessor_identity": predecessor, + "q0_words_hex": accepted["frame"]["q0_words_hex"], + "v0_words_hex": accepted["frame"]["v0_words_hex"]} + expected_frame = dict(accepted["frame"], parent_map_identity=self.request["map_identity"], + segment_sha256=_digest(segment), logical_initialization_index=1, + predecessor_identity=predecessor, parent_input_sha256=_digest(ancestry)) + expected_map = dict(self.base, segment_frame=expected_frame, + raw_coordinate_meaning="fixed-segment affine remainder u; native history is u", + physical_coordinate_meaning="Point.y is the first retained word of S*(Q0+(t-t0)*V0+u)+L*(a-a_ref)") + _require(record["initialization_mode"] == "diagnostic_saved_seed" and ordinal == 1 + and previous_history is None and predecessor == accepted["Point_identity"] + and frame == expected_frame and record["frame_identity"] == _digest(frame) + and record["ancestry"] == ancestry and record["map"] == expected_map + and record["map_identity"] == _digest(expected_map) + and record["native_initialization_performed"] is False, + "diagnostic_frame_ancestry") + _require(proof["schema"] == "solarlab.voltage-lift-diagnostic-input.v1" + and proof["record_sha256"] == _digest({k: v for k, v in proof.items() if k != "record_sha256"}) + and proof["request_sha256"] == self.request_id and proof["map_identity"] == _digest(expected_map) + and proof["predecessor_identity"] == proof["point_identity"] == predecessor + and proof["Point"] == restore["Point"] and proof["time_hex"] == frame["t0_hex"] + and proof["segment_sha256"] == _digest(segment) + and all(proof[k] is False for k in ("state_changed", "tangent_preparation_performed", + "native_initialization_performed", "original_native_authority_restored")), + "diagnostic_initial_Point_proof") + zero = [0.0.hex()]*self.size + raw_rate = restore["raw_v_hex"] + _require(record["native_initial_z_hex"] == proof["raw_z_hex"] == zero + and record["native_initial_zdot_hex"] == proof["raw_zdot_hex"] == raw_rate + and proof["inputs_hex"] == accepted["inputs_hex"] + and proof["input_rates_hex"] == accepted["input_rates_hex"] + and record["physical_handoff_words_hex"] == accepted["physical_state_words_hex"] + and record["physical_rate_handoff_words_hex"] == proof["mapped_physical_rate_words_hex"] + == accepted["physical_rate_words_hex"], "diagnostic_all_saved_words") + state = self.parent(frame, segment["start"], (0.0,)*self.size) + rate = self.parent(frame, segment["start"], _hex_vector(raw_rate, self.size), rate=True) + _require(_frame_word_values(accepted["physical_state_words_hex"], self.size, count=12) + == self.physical(state, _hex_vector(accepted["inputs_hex"], 2)) + and _frame_word_values(accepted["physical_rate_words_hex"], self.size, count=12) + == self.physical(rate, _hex_vector(accepted["input_rates_hex"], 2), rate=True), + "diagnostic_independent_physical_transfer") + self.active, self.current_map, self.segment = frame, expected_map, segment + self.prior_phi0 = _word_bytes(zero, self.size) + self.frames.append({"frame_identity": record["frame_identity"], "map_identity": record["map_identity"], + "ordinal": 1, "weight_packets": 0, "initialization_mode": "diagnostic_saved_seed"}) + return expected_map + + def constructor(self, row): + frame = self.active + expected = {"schema": "sksundae.ida.parent-affine-weights.v1", "frame_identity": _digest(frame), + **{k: frame[k] for k in ("t0_hex", "size", "q0_words_hex", "v0_words_hex", "weight_rounding")}} + weight_key, hash_key = "parent_weight_frame", "parent_weight_frame_sha256" + if "physical_tolerance_policy" in self.request: + from scripts.benchmarks.physical_tolerance import weight_option + expected = weight_option(self.request, frame, self.segment) + weight_key, hash_key = "physical_weight_frame", "weight_option_sha256" + _require(row[weight_key] == expected and row[hash_key] == _digest(expected) + and row["segment_frame_policy_sha256"] == _digest(self.request["segment_frame_policy"]) + and row["request_sha256"] == self.request_id and row["map_identity"] == self.request["map_identity"] + and row["segment_sha256"] == self.active["segment_sha256"] + and row["logical_initialization_index"] == self.active["logical_initialization_index"] + and row["constructor_controls"] == segment_startup_controls(self.request, self.segment) + and row["constructor_controls_sha256"] == _digest(row["constructor_controls"]), + "segment_frame_constructor_weight_binding") + + def prepare_refresh(self, record, segment, ordinal, sample, interval, domain, certificate, ledger): + """Require the already verified acceptance and exact dyadic transfer.""" + policy, h = self.refresh_policy, sample["history"] + continuing = "certificate_failure_policy" in self.request + proof_key = "state_transfer" if continuing else "acceptance" + _require(policy is not None and not self.refreshes and record["phase"] == "prepared" + and record["schema"] == ("solarlab.reference-state-transfer.v2" if continuing else "solarlab.accepted-reference-handoff.v1") + and record["kind"] == "voltage_lift_numeric_handoff" + and record["record_sha256"] == _digest({k: v for k, v in record.items() if k != "record_sha256"}) + and record["request_sha256"] == self.request_id and record["policy_sha256"] == _digest(policy) + and record["physical_segment_ordinal"] == ordinal == policy["physical_segment_ordinal"] + and record["segment_sha256"] == _digest(segment) == policy["segment_sha256"] + and record["new_epoch"] is None and record["state_or_rate_projected"] is False + and record["native_multistep_history_discarded"] is True, "reference_refresh_record") + if continuing: + # Every saved copy must agree with the reader-owned summary, + # including JSON types: 0/0.0 are not a boolean false verdict. + saved_ledger = _decode(record["ledger"]) + _require(type(record.get(proof_key)) is dict and type(saved_ledger) is dict, + "reference_refresh_scientific_progress_type") + for progress in (interval.get("scientific_progress"), + record[proof_key].get("scientific_progress"), + saved_ledger.get("scientific_progress")): + _require(type(progress) is dict and type(progress.get("passed")) is bool, + "reference_refresh_scientific_progress_type") + _require(_digest(progress) == _digest(ledger["scientific_progress"]), + "reference_refresh_scientific_progress") + accepted = {"schema": ("solarlab.numeric-reference-transfer-evidence.v2" if continuing else + "solarlab.full-interval-refresh-acceptance.v1"), "request_sha256": self.request_id, + **({"scientific_progress": ledger["scientific_progress"]} if continuing else {}), + "point_identity": h["point_identity"], "time_hex": h["time_hex"], + "sample_record_sha256": sample["record_sha256"], "history_sha256": _digest(h), + "interval_record_sha256": _digest(interval), "domain_record_sha256": _digest(domain), + "current_certificate_sha256": _digest(certificate), "state_checks_sha256": _digest(sample["state_checks"]), + "coefficient_frame_identity": interval["coefficient_frame_identity"]} + observed = _decode(interval["observation"]) + charge_passed = (observed["physical_charge"]["passed"] is True + and observed["physical_charge"]["prefix"]["passed"] is True + if "physical_tolerance_policy" in self.request and interval["kind"] != "voltage_lift_interval_deferred" + else observed.get("passed") is True) + proof_matches = (_digest(record[proof_key]) == _digest(accepted) if continuing else record[proof_key] == accepted) + _require(proof_matches + and (continuing or sample["state_checks"]["passed"] is True and charge_passed + and _decode(domain["evidence"])["passed"] is True + and _decode(certificate["evidence"])["passed"] is True) + and certificate["sample_record_sha256"] == sample["record_sha256"] + and interval["right"]["record_sha256"] == sample["record_sha256"] + and _decode(record["ledger"]) == ledger and record["ledger_sha256"] == _digest(record["ledger"]), + "reference_refresh_full_acceptance_or_ledger") + if continuing: + _require("acceptance" not in record and "acceptance_sha256" not in record["transfer"], + "reference_refresh_not_scientific_acceptance") + t = record["transfer"]; old, new = t["old_frame"], t["new_frame"] + _require(old == self.active and t["old_map"] == self.current_map + and t["old_frame_identity"] == _digest(old) and t["old_map_identity"] == _digest(self.current_map) + and t["time_hex"] == h["time_hex"] == policy["time_hex"] + and t["point_identity"] == h["point_identity"] + and t["inputs_hex"] == h["inputs_hex"] + and t["state_transfer_sha256" if continuing else "acceptance_sha256"] == _digest(accepted), + "reference_refresh_original_Point") + try: + _reference_refresh_point(t["Point"], h, self.request) + except HistoryVerificationError: + raise + except (KeyError, TypeError, ValueError, OverflowError) as error: + raise HistoryVerificationError("reference_refresh_Point_malformed_codec") from error + self.sample(h) + zero = [0.0.hex()]*self.size + _require(t["old_raw_state_hex"] == h["raw_solver_z_hex"] and t["old_raw_rate_hex"] == h["raw_solver_zdot_hex"] + and t["new_raw_state_hex"] == t["new_raw_rate_hex"] == zero + and t["physical_state_words_hex"] == h["physical_cumulative_words_hex"] + and t["physical_rate_words_hex"] == h["physical_rate_words_hex"] + and t["input_rates_hex"] == h["input_rates_hex"], "reference_refresh_exact_words") + when = _hex(t["time_hex"]) + rates = tuple((v[1]-v[0])/(segment["end"]-segment["start"]) for v in (segment["voltage"], segment["photons"])) + inputs = tuple(v[0]+rate*(when-segment["start"]) for v, rate in zip((segment["voltage"], segment["photons"]), rates)) + _require(t["inputs_hex"] == [float(v).hex() for v in inputs] + and t["input_rates_hex"] == [float(v).hex() for v in rates], "reference_refresh_original_input_function") + expected_frame = dict(old, t0_hex=t["time_hex"], predecessor_identity=h["point_identity"], + logical_initialization_index=old["logical_initialization_index"]+1, + parent_input_sha256=_digest(accepted), q0_words_hex=new["q0_words_hex"], v0_words_hex=new["v0_words_hex"]) + expected_map = dict(self.current_map, segment_frame=expected_frame) + _require(new == expected_frame and t["new_frame_identity"] == _digest(new) + and t["new_map"] == expected_map and t["new_map_identity"] == _digest(expected_map) + and t["old_numeric_initialization_ordinal"] == old["logical_initialization_index"] + and t["new_numeric_initialization_ordinal"] == new["logical_initialization_index"], "reference_refresh_new_frame") + q = self.parent(old, when, _hex_vector(t["old_raw_state_hex"], self.size)) + v = self.parent(old, when, _hex_vector(t["old_raw_rate_hex"], self.size), rate=True) + _require(q == _frame_word_values(new["q0_words_hex"], self.size) + and v == _frame_word_values(new["v0_words_hex"], self.size) + and self.physical(q, inputs) == _frame_word_values(t["physical_state_words_hex"], self.size, count=12) + and self.physical(v, rates, rate=True) == _frame_word_values(t["physical_rate_words_hex"], self.size, count=12), + "reference_refresh_independent_parent_composition") + raw_words = b"".join(_word_bytes(w, self.size) for w in t["physical_rate_words_hex"]) + rate_id = hashlib.sha256(repr(("physical-rate-view-v1", h["point_identity"], self.base["layout"], + self.base["physical_model"], t["new_map_identity"], "mapped-coordinate-rate")).encode()) + rate_id.update(b"frame-input-expansion12-v1:"+repr((self.size,)).encode()+raw_words+raw_words) + rate_id.update(_word_bytes(t["input_rates_hex"], 2)+_word_bytes(zero, self.size)*2) + _require(rate_id.hexdigest() == t["new_rate_identity"], "reference_refresh_rate_identity") + self.active, self.current_map = new, expected_map + self.latest_weights, self.prior_phi0 = None, _word_bytes(zero, self.size) + self.frames.append({"frame_identity": t["new_frame_identity"], "map_identity": t["new_map_identity"], + "ordinal": new["logical_initialization_index"], "physical_segment_ordinal": ordinal, + "weight_packets": 0, "initialization_mode": "accepted_numeric_refresh"}) + return expected_map + + def complete_refresh(self, prepared, complete, statistics): + _require(complete["record_sha256"] == _digest({k: v for k, v in complete.items() if k != "record_sha256"}) + and complete["phase"] == "complete" and complete["prepared_sha256"] == prepared["record_sha256"] + and all(_digest(complete[k]) == _digest(v) for k, v in prepared.items() + if k not in {"phase", "new_epoch", "record_sha256"}) + and complete["statistics_sha256"] == _digest(statistics) and complete["public_api"] == "init_step", + "reference_refresh_completion_binding") + old, new, raw = prepared["old_epoch"], complete["new_epoch"], statistics["raw_statistics"] + before = complete["before_statistics"]["raw_statistics"] + epoch_fields = ("observation_owner", "observation_generation", "num_steps", "current_time") + _require(_digest({k: before[k] for k in epoch_fields}) == _digest({ + "observation_owner": old["owner"], "observation_generation": old["generation"], + "num_steps": old["nsteps"], "current_time": _hex(self.active["t0_hex"])}) + and _digest(new) == _digest({"owner": old["owner"], "generation": old["generation"]+1, "nsteps": 0}) + and _digest({k: raw[k] for k in epoch_fields}) == _digest({ + "observation_owner": new["owner"], "observation_generation": new["generation"], + "num_steps": 0, "current_time": _hex(self.active["t0_hex"])}), + "reference_refresh_actual_generation") + expected_weights = {"schema": "sksundae.ida.parent-affine-weights.v1", "frame_identity": _digest(self.active), + **{k: self.active[k] for k in ("t0_hex", "size", "q0_words_hex", "v0_words_hex", "weight_rounding")}} + weight_key = "parent_weight_frame" + if "physical_tolerance_policy" in self.request: + from scripts.benchmarks.physical_tolerance import weight_option + expected_weights = weight_option(self.request, self.active, self.segment) + weight_key = "physical_weight_frame" + _require(_digest(complete[weight_key]) == _digest(expected_weights) + and _digest(complete["initialization_return"]) == _digest({ + "time_hex": self.active["t0_hex"], "success": True, + "raw_z_hex": [0.0.hex()]*self.size, "raw_zdot_hex": [0.0.hex()]*self.size}), + "reference_refresh_public_initialization_words") + expected_binding = _digest({"adapter": _digest({"map": _digest(self.current_map), + "partial_frame": "raw-z,raw-zdot,inputs,input-rates,time-v1"}), + "request": self.request_id, "segment": _digest(self.segment)}) + _require(complete["callback_binding_identity"] == expected_binding, "reference_refresh_callback_binding") + self.refreshes.append({"handoff_sha256": complete["record_sha256"], "old_epoch": old, "new_epoch": new, + "actual_initial_step_hex": None, "first_return_statistics_sha256": None}) + + def refresh_work(self, row): + raw = row["raw_statistics"] + if row["phase"] in {"after_onestep", "onestep_exception"} and self.refreshes: + entry = self.refreshes[-1] + if raw["num_steps"] > 0: + h0 = raw["initial_step"] + requested = segment_startup_controls(self.request, self.segment)["first_step"] + _require(type(h0) is float and math.isfinite(h0) and h0 > 0 + and (requested == 0 or h0.hex() == float(requested).hex()) + and entry["actual_initial_step_hex"] in (None, h0.hex()), "reference_refresh_actual_startup") + entry["actual_initial_step_hex"] = h0.hex() + if entry["first_return_statistics_sha256"] is None: + entry["first_return_statistics_sha256"] = _digest(row) + entry["first_return_statistics"] = raw + + def weight_state(self, value, *, owner, generation, initial=False): + value = _decode(value) + frame, controls = self.active, self.request["controls"] + if "physical_tolerance_policy" in self.request: + value = physical_weight_state(value, self.request, frame, self.segment, + owner=owner, generation=generation, initial=initial) + self.latest_weights = value + return value + _require(type(value) is dict and value["schema"] == "sksundae.ida.parent-affine-weight-state.v1" + and value["frame_identity"] == _digest(frame) and value["owner"] == owner + and value["generation"] == generation and value["size"] == self.size + and value["installed"] is True and value["setter"] == "IDAWFtolerances" and value["setter_status"] == 0 + and value["t0_hex"] == frame["t0_hex"] and _hex(value["rtol_hex"]) == controls["rtol"] + and _buffer(value["atol"], self.size) == tuple(controls["atol"]) + and value["q0_words"] == tuple(_word_bytes(w, self.size) for w in frame["q0_words_hex"]) + and value["v0_words"] == tuple(_word_bytes(w, self.size) for w in frame["v0_words_hex"]) + and value["weight_rounding"] == frame["weight_rounding"] and value["raw_tolerance_getter"] is False, + "segment_frame_actual_weight_context") + _require(type(value["callback_calls"]) is int and value["callback_calls"] >= 0, "segment_frame_weight_calls") + if initial: + _require(value["callback_calls"] == 0 and value["callback_status"] is None + and all(value[k] is None for k in ("basis_time_hex", "basis_u", "rounded_parent", "computed_weights")), + "segment_frame_unobserved_initial_weights") + elif value["callback_calls"]: + _require(value["callback_status"] == 0 and value["failure_component"] is None, + "segment_frame_weight_callback_failure") + parent = self.parent(frame, _hex(value["basis_time_hex"]), _buffer(value["basis_u"], self.size)) + rounded = tuple(float(v) for v in parent) + expected = tuple(1.0/(controls["rtol"]*abs(v)+a) for v, a in zip(rounded, controls["atol"])) + _require(_buffer(value["rounded_parent"], self.size) == rounded + and _buffer(value["computed_weights"], self.size) == expected + and all(math.isfinite(v) and v > 0 for v in expected), "segment_frame_parent_weight_metric") + self.latest_weights = value + return value + + def sample(self, history): + _require(history["segment_frame_identity"] == _digest(self.active), "segment_frame_sample_identity") + if self.input_words == 12: + _require(history.get("mapped_input_profile") == "frame-input-expansion12-v1" + and history.get("mapped_input_words") == 12, "frame_input_history_profile") + else: + _require("mapped_input_profile" not in history and "mapped_input_words" not in history, + "frame_input_unbound_history_profile") + t = _hex(history["time_hex"]) + parent = self.parent + if getattr(parent, "__func__", None) is SegmentFrameCheck.parent: + # Reuse only within this sample. Keep raw-state, Q0, V0, time, + # then raw-rate validation in the same order as the two calls. + raw = _hex_vector(history["raw_solver_z_hex"], self.size) + q0 = _frame_word_values(self.active["q0_words_hex"], self.size) + v0 = _frame_word_values(self.active["v0_words_hex"], self.size) + dt = Fraction(t)-Fraction(_hex(self.active["t0_hex"])) + q = tuple(q+dt*v+Fraction(u) for q, v, u in zip(q0, v0, raw)) + raw_rate = _hex_vector(history["raw_solver_zdot_hex"], self.size) + v = tuple(v+Fraction(u) for v, u in zip(v0, raw_rate)) + else: + # Preserve existing instance/subclass overrides of the public path. + q = parent(self.active, t, _hex_vector(history["raw_solver_z_hex"], self.size)) + v = self.parent(self.active, t, _hex_vector(history["raw_solver_zdot_hex"], self.size), rate=True) + _require(_frame_word_values(history["physical_cumulative_words_hex"], self.size, count=self.input_words) == + self.physical(q, _hex_vector(history["inputs_hex"], 2)) + and _frame_word_values(history["physical_rate_words_hex"], self.size, count=self.input_words) == + self.physical(v, _hex_vector(history["input_rates_hex"], 2), rate=True), "segment_frame_sample_physical_words") + + def packet(self, packet): + previous_receipt = self.latest_weights + value = self.weight_state(packet.get("parent_weight_state"), owner=packet["owner"], generation=packet["generation"]) + _require(value["callback_calls"] > 0 and value["build_identity"] == packet["binding"]["identity"] + and value["basis_u"] == self.prior_phi0 + and _hex(value["basis_time_hex"]) == packet["predecessor"]["internal_t"] + and value["computed_weights"] == packet["error_weights"] + and (previous_receipt is None or value == previous_receipt), "segment_frame_operative_weight_basis") + self.frames[-1]["weight_packets"] += 1 + n, order = self.size, packet["native_before"]["kused"] + phi = _buffer(packet["basis"]["phi"], n*(order+1)) + psi = tuple(map(Fraction, _buffer(packet["basis"]["psi"], order))) + h, tn = Fraction(packet["native_before"]["hused"]), Fraction(packet["native_before"]["tn"]) + result = [[Fraction(phi[i])]+[Fraction(0)]*order for i in range(n)] + basis = [Fraction(1)] + for j in range(1, order+1): + factor = Fraction(0) if j == 1 else psi[j-2] + product = [Fraction(0)]*(len(basis)+1) + for k, v in enumerate(basis): + product[k] += v*factor/psi[j-1] + product[k+1] += v*h/psi[j-1] + basis = product + for i in range(n): + for k, v in enumerate(basis): + result[i][k] += Fraction(phi[j*n+i])*v + raw_polynomials = tuple(tuple(row) for row in result) + q0, v0 = (_frame_word_values(self.active[k], n) for k in ("q0_words_hex", "v0_words_hex")) + for i in range(n): + result[i][0] += q0[i]+(tn-Fraction(_hex(self.active["t0_hex"])))*v0[i] + result[i][1] += h*v0[i] + # Full parent polynomial, independently assembled from actual phi/psi. + # The physical map uses the same exact columns and finite input line. + self.parent_polynomials = tuple(tuple(row) for row in result) + reference = self.request["numeric_packet"]["initial_reference"]["payload"] + roots = [None]*n + for name, (start, stop) in self.request["numeric_packet"]["variable_offsets"].items(): + field = reference["fields"][name] + roots[start:stop] = [Fraction(_hex(a))+Fraction(_hex(b)) for a, b in zip(field["high"], field["low"])] + columns = _hex_vector(self.base["columns_hex"], n) + lift = tuple(_hex_vector(row, 2) for row in self.base["lift_hex"]) + inputs = [] + for endpoints in (self.segment["voltage"], self.segment["photons"]): + slope = Fraction((endpoints[1]-endpoints[0])/(self.segment["end"]-self.segment["start"])) + inputs.append((Fraction(endpoints[0])+(tn-Fraction(self.segment["start"]))*slope, h*slope)) + input_reference = tuple(map(Fraction, _hex_vector(self.base["reference_inputs_hex"], 2))) + physical = [[Fraction(columns[i])*v for v in row] for i, row in enumerate(result)] + for i, row in enumerate(physical): + row[0] += roots[i]+sum((Fraction(lift[i][j])*(inputs[j][0]-input_reference[j]) for j in range(2)), Fraction(0)) + row[1] += sum((Fraction(lift[i][j])*inputs[j][1] for j in range(2)), Fraction(0)) + self.physical_polynomials = tuple(tuple(row) for row in physical) + self.polynomial_tn, self.polynomial_h, self.reference_values = tn, h, tuple(roots) + + def payload(row): + row = list(row) + while len(row) > 1 and row[-1] == 0: + row.pop() + return [[v.numerator, v.denominator] for v in row] + + coefficient_id = _digest({"role": "explicit_polynomial_data_not_native_attestation", + "raw": [payload(row) for row in raw_polynomials], "map": _digest(self.current_map), + "request": self.request_id, "segment": _digest(self.segment), + "coefficient_frame": _snapshot_digest(packet)}) + predecessor = Fraction(packet["predecessor"]["internal_t"]) + strip = max(Fraction(0), tn-h-predecessor) + clock = {k: [v.numerator, v.denominator] for k, v in { + "predecessor": predecessor, "tn": tn, "hused": h, "segment_start": Fraction(self.segment["start"]), + "segment_end": Fraction(self.segment["end"]), "native_left": tn-h, "uncovered_strip": strip}.items()} + clock.update(generation=packet["generation"], nsteps=packet["native_before"]["nsteps"], + kused=order, segment_id=self.segment["id"], owner=packet["owner"]) + self.path_identity = _digest({"clock": clock, "origin": "declared_reconstruction", + "source": self.base["physical_model"], "layout": reference["layout"], "coefficients": coefficient_id, + "clock_policy": "declared_polynomial_extension" if strip else "reject_uncovered", + "fields": {name: [payload(row) for row in physical[start:stop]] + for name, (start, stop) in self.request["numeric_packet"]["variable_offsets"].items()}, + "inputs": [payload(row) for row in inputs]}) + self.polynomials += 1 + self.polynomial_hash.update(bytes.fromhex(self.path_identity)) + self.prior_phi0 = packet["basis"]["phi"][:8*n] + + def readback(self, evidence, history): + x = (Fraction(_hex(history["time_hex"]))-self.polynomial_tn)/self.polynomial_h + states, rates = [], [] + for row in self.physical_polynomials: + states.append(sum((c*x**k for k, c in enumerate(row)), Fraction(0))) + rates.append(sum((k*c*x**(k-1) for k, c in enumerate(row) if k), Fraction(0))/self.polynomial_h) + actual = _enclosures(evidence["physical_state_enclosures"], self.size) + words = _frame_word_values(history["physical_cumulative_words_hex"], self.size, count=self.input_words) + _require(all(abs(item["center"]-root-q) <= item["absolute_error_bound"] + for item, root, q in zip(actual, self.reference_values, words)), "segment_frame_actual_state_enclosure") + expected = tuple(abs(a["center"]-p)+a["absolute_error_bound"] for a, p in zip(actual, states)) + actual_rates = _frame_word_values(history["physical_rate_words_hex"], self.size, count=self.input_words) + _require(tuple(evidence["physical_state_absolute_error"]) == expected + and tuple(evidence["physical_rate_absolute_error"]) == + tuple(abs(a-p) for a, p in zip(actual_rates, rates)), "segment_frame_polynomial_readback_error") + + def finish(self): + return {"initializations": self.frames, "numeric_refreshes": self.refreshes, + "independent_physical_polynomials": self.polynomials, + "physical_path_digests_sha256": self.polynomial_hash.hexdigest(), + "weight_basis": "actual callback u/time checked against preceding native phi[0]", + "requested_startup_unchanged": True, "actual_automatic_startup_parity_claimed": False, + "scientific_qualification": False} + + +class _ScientificCheck: + """Reader-owned verdicts; producer flags are compared, never used as oracle.""" + + def __init__(self, request): + from scripts.benchmarks.physical_tolerance import validate_certificate_policy + self.policy = validate_certificate_policy(request) + self.failures = set() + self.first_failure = None + + def observe(self, gate, value, record): + _require(type(value) is bool, "scientific_verdict_type") + if not value: + self.failures.add(gate) + if self.first_failure is None: + self.first_failure = {"gate": gate, "record_sha256": _digest(record)} + + def summary(self, *, final=False): + return {"schema": "solarlab.scientific-progress.v1", + "failed_gates": sorted(self.failures), "first_failure": self.first_failure, + "pending_proofs": ["T1"], + "status": "failed" if self.failures else "unknown" if final else "pending", + "passed": False} + + +class PhysicalChargeCheck: + """Independent three-channel physical balance from saved words and flux evidence. + + The source-bound flux enclosure is reused, never recomputed from a raw + metal derivative. Signed centers may cancel; every positive error and the + first-failure latch persist across protocol and numeric-frame boundaries. + """ + + error_names = ("saved_charge_evaluation", "physical_flux_integration", "input", "clock_strip") + flux_basis = "fixed-uniform-epsilon-Dirichlet-slab-reservoir-carrier-ion-trap-capacitance-v1" + + def __init__(self, request): + from scripts.benchmarks.physical_tolerance import physical_charge_policy, CHARGE_ALLOCATION + self.request, self.request_id = request, _digest(request) + self.policy = physical_charge_policy(request) + self.input_words = frame_input_word_count(request) + _require(request["interval_observation"].get("physical_charge") == self.policy + and request["interval_observation"].get("quadrature_error_allocation") == CHARGE_ALLOCATION, + "physical_charge_policy_or_allocation") + self.budgets = (Fraction(self.policy["budget_C"]),)*3 + self.intervals = 0 + self.signed = self.absolute = (Fraction(0),)*3 + self.components = {name: (Fraction(0),)*3 for name in self.error_names} + self.failed = (False,)*3 + + def allocation(self, duration): + first, last = self.request["segments"][0]["start"], self.request["segments"][-1]["end"] + full = Fraction(last)-Fraction(first) + _require(first == 0 and 0 < duration <= full, "physical_charge_allocation_clock") + return self.budgets[0]/12*duration/full/32 + + def saved_change(self, left, right): + """Exact affine SI actions of all saved endpoint words, including lows.""" + packet = self.request["numeric_packet"] + size, nodes = len(packet["column_scaling"]), packet["nodes"] + values = [] + for sample in (left, right): + words = sample["history"]["physical_cumulative_words_hex"] + values.append(_frame_word_values(words, size, count=self.input_words)) + delta = tuple(b-a for a, b in zip(*values)) + fields = {name: delta[lo:hi] for name, (lo, hi) in packet["variable_offsets"].items()} + _require(all(len(v) == nodes for v in fields.values()), "physical_charge_field_shape") + definition = packet["definition"] + q = Fraction(_hex(self.policy["reference_basis"]["q_C_hex"])) + rho = [q*(p-n) for p, n in zip(fields["p_m3"], fields["n_m3"])] + if definition["dynamic"]: + nt = Fraction(definition["trap_density"]) + rho = [v+q*(c-nt*f) for v, c, f in zip(rho, fields["c_m3"], fields["f"])] + volume = tuple(Fraction(v) for v in _vector(packet["volumes_m3"], nodes)) + x = _vector(packet["x_m"], nodes) + # These are the declared binary64 spacings used by the source forms. + dx0, dx1 = Fraction(float(x[1])-float(x[0])), Fraction(float(x[-1])-float(x[-2])) + _require(dx0 > 0 and dx1 > 0 and all(v > 0 for v in volume), "physical_charge_geometry") + eps_area = Fraction(definition["epsilon"])*Fraction(definition["area"]) + phi = fields["phi_V"] + return (sum((v*r for v, r in zip(volume, rho)), Fraction(0)), + eps_area*(phi[0]-phi[1])/dx0-volume[0]*rho[0], + -eps_area*(phi[-2]-phi[-1])/dx1-volume[-1]*rho[-1]) + + def summary(self): + errors = tuple(sum((v[i] for v in self.components.values()), Fraction(0)) for i in range(3)) + checks = tuple(not value for value in self.failed) + return {"schema": "solarlab.native-physical-charge-prefix.v1", "intervals": self.intervals, + "budgets_C": self.budgets, "signed_balance_C": self.signed, + "error_components_C": dict(self.components), "total_error_C": errors, + "total_bound_C": tuple(abs(v)+e for v, e in zip(self.signed, errors)), + "cumulative_interval_absolute_balance_C": self.absolute, + "failed": self.failed, "row_checks": checks, "passed": all(checks)} + + def consume(self, evidence, left, right, *, frame_identity, path_identity, map_identity, map_payload): + row = evidence.get("physical_charge") + packet = self.request["numeric_packet"] + _require(type(map_payload) is dict, "physical_charge_active_map") + root = self.request["voltage_lift_map"] + expected_map = dict(root) + if map_payload.get("segment_frame") is not None: + frame = map_payload["segment_frame"] + _require(type(frame) is dict and frame.get("parent_map_identity") == self.request["map_identity"], + "physical_charge_parent_map") + expected_map.update(segment_frame=frame, + raw_coordinate_meaning="fixed-segment affine remainder u; native history is u", + physical_coordinate_meaning="Point.y is the first retained word of S*(Q0+(t-t0)*V0+u)+L*(a-a_ref)") + _require(_digest(root) == self.request["map_identity"] and map_payload == expected_map + and _digest(map_payload) == map_identity, "physical_charge_active_map") + expected = {"schema": "solarlab.native-physical-charge.v1", "policy": self.policy, + "request_sha256": self.request_id, "map_identity": map_identity, + "root_map_identity": self.request["map_identity"], + "frame_identity": frame_identity, "path_identity": path_identity, "clock": evidence["clock"], + "source_identity": self.request["voltage_lift_map"]["physical_model"], + "layout_identity": packet["layout_identity"], "model_id": packet["definition"]["id"], + "charge_form_identities": tuple(self.request["physical_charge_forms"][k] + for k in ("body_charge", "metal_charge")), + "physical_flux_basis": self.flux_basis, + "integration_uncertainty_role": "combined quadrature and physical-integrand evaluation radius; conservative third-share bound"} + computed = {"saved_finite_charge_change_C", "physical_flux_integral_C", "signed_balance_C", + "error_components_C", "interval_total_bound_C", "prefix", "row_checks", "passed"} + _require(type(row) is dict and set(row) == set(expected) | computed + and all(row[k] == v for k, v in expected.items()) + and evidence["frame_identity"] == frame_identity and evidence["path_identity"] == path_identity, + "physical_charge_record_binding") + actual = _enclosures(row["saved_finite_charge_change_C"], 3) + flux = _enclosures(row["physical_flux_integral_C"], 3) + tangent = evidence["ledgers"]["same_state_affine_tangent"] + _require(actual == _enclosures(tangent["saved_finite_charge_change_C"], 3) + == _enclosures(evidence["ledgers"]["raw_polynomial"]["saved_finite_charge_change_C"], 3) + and flux == _enclosures(tangent["signed_integral_C"], 3), "physical_charge_independent_flux_selection") + exact = self.saved_change(left, right) + _require(all(abs(value["center"]-truth) <= value["absolute_error_bound"] + for value, truth in zip(actual, exact)), "physical_charge_saved_word_action") + components = row["error_components_C"] + _require(type(components) is dict and set(components) == set(self.error_names), "physical_charge_error_components") + components = {name: _nonnegative(components[name], 3) for name in self.error_names} + _require(components["saved_charge_evaluation"] == tuple(v["absolute_error_bound"] for v in actual) + and components["physical_flux_integration"] == tuple(v["absolute_error_bound"] for v in flux) + and components["input"] == evidence["input_error"]["tangent_charge_integral_error_C"] + and components["clock_strip"] == tangent["error_components_C"]["clock_strip"], + "physical_charge_error_coverage") + balances = tuple(a["center"]-b["center"] for a, b in zip(actual, flux)) + errors = tuple(sum((v[i] for v in components.values()), Fraction(0)) for i in range(3)) + bounds = tuple(abs(v)+e for v, e in zip(balances, errors)) + signed = tuple(a+b for a, b in zip(self.signed, balances)) + absolute = tuple(a+abs(b) for a, b in zip(self.absolute, balances)) + cumulative = {name: tuple(a+b for a, b in zip(self.components[name], components[name])) + for name in self.error_names} + totals = tuple(sum((v[i] for v in cumulative.values()), Fraction(0)) for i in range(3)) + checks = tuple(not self.failed[i] and bounds[i] <= budget + and abs(signed[i])+totals[i] <= budget + and 3*components["physical_flux_integration"][i] <= budget + and 3*cumulative["physical_flux_integration"][i] <= budget + for i, budget in enumerate(self.budgets)) + prefix = {"schema": "solarlab.native-physical-charge-prefix.v1", "intervals": self.intervals+1, + "budgets_C": self.budgets, "signed_balance_C": signed, "error_components_C": cumulative, + "total_error_C": totals, "total_bound_C": tuple(abs(v)+e for v, e in zip(signed, totals)), + "cumulative_interval_absolute_balance_C": absolute, "failed": tuple(not v for v in checks), + "row_checks": checks, "passed": all(checks)} + _require(all(type(v) is Fraction for v in _vector(row["signed_balance_C"], 3)), + "physical_charge_signed_terms") + _nonnegative(row["interval_total_bound_C"], 3) + supplied = row["prefix"] + _require(type(supplied) is dict + and all(type(v) is Fraction for v in _vector(supplied.get("signed_balance_C"), 3)) + and type(supplied.get("error_components_C")) is dict + and set(supplied["error_components_C"]) == set(self.error_names), "physical_charge_prefix_terms") + for name in ("budgets_C", "total_error_C", "total_bound_C", "cumulative_interval_absolute_balance_C"): + _nonnegative(supplied[name], 3) + for values in supplied["error_components_C"].values(): + _nonnegative(values, 3) + _require(type(row["prefix"]) is dict and type(row["prefix"].get("intervals")) is int + and all(type(v) is bool for name in ("failed", "row_checks") + for v in _vector(row["prefix"].get(name), 3)) + and type(row["prefix"].get("passed")) is bool + and all(type(v) is bool for v in _vector(row["row_checks"], 3)) + and type(row["passed"]) is bool and row["signed_balance_C"] == balances + and row["interval_total_bound_C"] == bounds and row["prefix"] == prefix + and tuple(row["row_checks"]) == checks and row["passed"] is all(checks), + "physical_charge_signed_prefix_or_latch") + self.intervals += 1 + self.signed, self.absolute, self.components, self.failed = signed, absolute, cumulative, prefix["failed"] + return all(checks) + + +class _Protocol: + science = None + offline_charge = False + sample_sink = None + + def __init__(self, request, rows, *, charge_observer=None, sample_sink=None): + from scripts.benchmarks.physical_tolerance import run_segment_count + self.run_segments = run_segment_count(request) + self.full_protocol = self.run_segments == len(request["segments"]) + self.science = _ScientificCheck(request) if "certificate_failure_policy" in request else None + self.offline_charge = self.science is not None and self.science.policy["observation"] == "sealed-history" + self.charge_observer = charge_observer + self.sample_sink = sample_sink + self._comparison_samples = {} + _require(charge_observer is None or self.offline_charge, "offline_observer_requires_deferred_history") + if "physical_tolerance_policy" in request: + from scripts.benchmarks.physical_tolerance import require_balance_integration + require_balance_integration(request) + self.request, self.rows = request, rows + self.request_id = _digest(request) + self.mapping, self.policy = request["voltage_lift_map"], request["interval_observation"] + self.map_id, self.policy_id = request["map_identity"], _digest(self.policy) + self.root_map_id = self.map_id + self.size, self.nodes = len(request["z0"]), request["numeric_packet"]["nodes"] + qualified_size = (qualification_coordinate_count(request) + if "qualification_policy" in request else None) + self.diagnostic = diagnostic_interval_binding(request) if "diagnostic_interval" in request else None + _require(request["schema"] == ("solarlab.native-interval-child-request.v1" if self.diagnostic is not None + else "solarlab.voltage-lift-native-request.v1") + and self.size >= 1 + and (self.size <= 45 if qualified_size is None else self.size == qualified_size) + and type(self.nodes) is int and 2 <= self.nodes <= self.size + and self.map_id == _digest(self.mapping), "request_schema_or_map") + _vector(request["zdot0"], self.size) + for key, value in (("map_identity", self.map_id), ("protocol_sha256", _digest(request["segments"])), + ("controls_sha256", _digest(request["controls"])), + ("budgets_sha256", _digest(request["budgets"])), + ("sampling_sha256", _digest((request["observation_times"], request["quadrature"])))): + _require(self.policy[key] == value, "request_policy_binding") + refinement = self.policy.get("charge_refinement") + _require(self.policy.get("schema") in (None, "solarlab.interval-observation-policy.v1", + "solarlab.interval-observation-policy.v2"), "observation_policy_schema") + if "charge_refinement" in self.policy or self.policy.get("schema") == "solarlab.interval-observation-policy.v2": + _require(type(refinement) is dict, "charge_refinement_policy_missing") + self.charge_refinement = _ChargeRefinement(request, self.request_id) + else: + _require("parent_policy_sha256" not in self.policy, "legacy_policy_refinement_metadata") + self.charge_refinement = None + _require(set(request["quadrature"]) == {"8", "16", "32"}, "quadrature_orders") + for order in (8, 16, 32): + table = request["quadrature"][str(order)] + _require(all(type(v) in (float, int) and -1 < v < 1 for v in _vector(table["nodes"], order)) + and all(type(v) in (float, int) and v > 0 for v in _vector(table["weights"], order)), + "quadrature_shape_or_domain") + self.jacobians = self.steps = self.intervals = self.samples = self.queries = 0 + self.prefix = {k: ((Fraction(0),) * 3, (Fraction(0),) * 3) for k in _LEDGERS} + self.physical_charge = PhysicalChargeCheck(request) if "physical_tolerance_policy" in request else None + self.coverage = [] + self.native_owner = None + self.statistics_counter_context = None + self.numeric_ordinal = 0 + self.refresh_anchor = None + self.refresh_binding_identity = None + self.startup = SegmentStartupCheck(request) + self.startup.expected = self.startup.expected[:self.run_segments] + self.segment_frame = SegmentFrameCheck(request) + if not self.full_protocol: + self.segment_frame.refresh_policy = None + self.common_clocks = [] + self.diagnostic_grid = [] + self._sample_cache, self._pending_common = {}, [] + self.signed_integrals = {key: (Fraction(0),)*3 for key in _LEDGERS} if self.diagnostic is not None or self.science is not None else None + + def _context(self, row): + _require(row["request_sha256"] == self.request_id and row["map_identity"] == self.map_id, + "record_request_or_map") + + def _statistics(self, phase, returned=None, previous=None): + initial = phase in {"initialization_return", "reference_refresh_return"} + _require(initial or phase in {"before_onestep", "after_onestep"}, "statistics_phase") + row = self.rows.take() + while row["kind"] == "jacobian_callback_context": + _require(phase != "before_onestep", "callback_outside_native_call") + self._context(row) + self.jacobians += 1 + _require(row["segment_id"] == self.segment["id"] + and row["logical_initialization_index"] == self.numeric_ordinal + and row["callback_index"] == self.jacobians, "callback_context") + _hex(row["time_hex"]) + _hex(row["cj_hex"]) + _hex_vector(row["z_hex"], self.size) + _hex_vector(row["zdot_hex"], self.size) + row = self.rows.take() + returned_receipt = None + if row["kind"] == "native_interval_return": + _require(self.diagnostic is not None and phase == "after_onestep" + and row["segment_id"] == self.segment["id"] and row["sequence"] == self.steps+1, + "diagnostic_return_sequence") + returned_receipt = row["receipt"] + _require(returned_receipt["phase"] == "native_return" and returned_receipt["success"] is True + and returned_receipt["segment_id"] == self.segment["id"], "diagnostic_raw_return") + _hex_vector(returned_receipt["z_hex"], self.size) + _hex_vector(returned_receipt["zdot_hex"], self.size) + row = self.rows.take() + _require(row["kind"] == "native_statistics" and row["phase"] == phase + and row["segment_id"] == self.segment["id"] + and row["logical_initialization_index"] == self.numeric_ordinal, "statistics_order_or_context") + if self.numeric_ordinal == self.ordinal: + self.startup.consume(row) + elif phase != "reference_refresh_return": + self.segment_frame.refresh_work(row) + target = (self.segment["start"] if phase == "initialization_return" else + _hex(self.segment_frame.active["t0_hex"]) if phase == "reference_refresh_return" else self.segment["end"]) + _require(_hex(row["requested_time_hex"]) == target, "statistics_requested_time") + raw = row["raw_statistics"] + _require(all(type(raw[k]) is int and raw[k] >= 0 for k in _COUNTERS) + and _hex(row["internal_time_hex"]) == raw["current_time"] + and row["method_state_valid"] is (raw["num_steps"] > 0), "statistics_values") + marked = "jacobian_counter_phase" in row + if marked: + _require(row["jacobian_counter_phase"] == ("pre_first_accepted_step" if raw["num_steps"] == 0 + else "current_initialization"), "statistics_jacobian_phase") + if returned is not None: + _require(_hex(row["returned_time_hex"]) == returned, "statistics_return_time") + if phase == "before_onestep": + _require(row["returned_time_hex"] is None, "statistics_before_return") + if phase == "after_onestep": + _require(_hex(row["returned_time_hex"]) == raw["current_time"], "statistics_after_return") + if self.diagnostic is not None: + _require(returned_receipt is not None + and returned_receipt["time_hex"] == row["returned_time_hex"], "diagnostic_return_clock") + self.last_raw_return = returned_receipt + owner = raw["observation_owner"], raw["observation_generation"] + _require(type(owner[0]) is str and bool(owner[0]) and type(owner[1]) is int and owner[1] > 0, + "statistics_native_owner") + if initial: + _require(previous is None and raw["num_steps"] == 0 + and "jacobian_work_basis" not in row + and (phase != "reference_refresh_return" or self.segment_frame.enabled), + "statistics_initial_counter_context") + self.native_owner = owner + else: + _require(owner == self.native_owner, "native_owner_changed_within_segment") + if self.segment_frame.enabled: + self.segment_frame.weight_state(raw.get("parent_weight_state"), owner=owner[0], generation=owner[1], + initial=phase in {"initialization_return", "reference_refresh_return"}) + counter_context = (self.segment["id"], self.numeric_ordinal, owner, marked) + if initial: + self.statistics_counter_context = counter_context + else: + _require(getattr(self, "statistics_counter_context", None) == counter_context, + "statistics_jacobian_scope_changed") + if previous is not None: + prior_row = self.last_statistics_record + _require(marked is ("jacobian_counter_phase" in prior_row), "statistics_jacobian_scope_changed") + work = {k: raw[k] - previous[k] for k in _COUNTERS} + first_solve = (marked and phase == "after_onestep" and prior_row["phase"] == "before_onestep" + and previous["num_steps"] == 0 and raw["num_steps"] == 1 + and prior_row["jacobian_counter_phase"] == "pre_first_accepted_step") + if first_solve: + _require(row.get("jacobian_work_basis") == "first_solve_current_total", + "statistics_jacobian_reset_basis") + work["jacobian_evals"] = raw["jacobian_evals"] + else: + _require("jacobian_work_basis" not in row, "statistics_unexpected_jacobian_reset") + _require(all(v >= 0 for v in work.values()) + and all(type(v) is int for v in row["work_since_before"].values()) + and row["work_since_before"] == work, + "statistics_counter_delta") + _require(raw["num_steps"] == previous["num_steps"] + 1, "onestep_not_consecutive") + self.steps += 1 + self.last_statistics_record = row + return raw + + def _sample(self, when, origin, predecessor, *, initial=False): + row = self.rows.take("voltage_lift_rate_pair") + self._context(row) + _require(row["record_sha256"] == _digest({k: v for k, v in row.items() if k != "record_sha256"}), + "sample_record_digest") + _require(row["segment_id"] == self.segment["id"] and row["segment_sha256"] == _digest(self.segment) + and row["controls_sha256"] == self.policy["controls_sha256"] + and row["observation_policy_sha256"] == self.policy_id + and row["current_certificate_follows"] is (not initial), "sample_context") + h = row["history"] + side = (("continuous" if self.ordinal == 1 else "right") if initial + else "left" if when == self.segment["end"] else "continuous") + _require(h["schema"] == "solarlab.voltage-lift-sample.v2" + and h["transition_representation"] == "paired-endpoints-v1" + and h["map_identity"] == self.map_id and h["physical_model_identity"] == self.mapping["physical_model"] + and h["reference_digest"] == self.reference_digest and h["predecessor_identity"] == predecessor + and h["time_hex"] == float(when).hex() and h["origin"] == origin and h["event_side"] == side + and h["raw_coordinate_frame"] == ("fixed-affine-state-rate-v1" if self.segment_frame.enabled + else "scaled-voltage-departure-v1") + and h["physical_rate_frame"] == "direct-map-push-forward-v1" and h["reference_embedded"] is False, + "sample_history_binding") + _require(type(h["point_identity"]) is str and len(h["point_identity"]) == 64, "point_identity_shape") + for name in ("physical_cumulative_words_hex", "physical_rate_words_hex"): + for word in _vector(h[name], self.segment_frame.input_words): + _hex_vector(word, self.size) + for name in ("raw_solver_z_hex", "raw_solver_zdot_hex"): + _hex_vector(h[name], self.size) + _hex_vector(h["inputs_hex"], 2) + _hex_vector(h["input_rates_hex"], 2) + if self.segment_frame.enabled: + self.segment_frame.sample(h) + _require(row["input_slope_hex"] == h["input_rates_hex"] + and (type(row["state_checks"]["passed"]) is bool if self.science is not None else row["state_checks"]["passed"] is True) + and row["state_checks"]["state_identity"] == h["point_identity"] + and row["state_checks"]["state_changed"] is False, "sample_state_gate") + metrics, budgets = row["state_checks"], self.request["budgets"] + state_passed = True + for metric, cap in (("constraint_potential_bound_V", "constraint_potential_V"), + ("constraint_charge_bound_C", "constraint_charge_C"), + ("contact_max_relative", "contact_relative")): + _require(type(metrics[metric]) in (int, float) and math.isfinite(metrics[metric]) + and 0 <= metrics[metric] and (self.science is not None or metrics[metric] <= budgets[cap]), "state_gate_values") + state_passed = state_passed and metrics[metric] <= budgets[cap] + _require(metrics["constraint_charge_bound_C"] == max(metrics["Poisson_absolute_constraint_charge_C"], + *_vector(metrics["metal_charge_error_bound_C"], 2), metrics["body_charge_error_bound_C"]), + "state_charge_bound_consistency") + if "c_m3" in self.request["numeric_packet"]["variable_offsets"]: + for name in ("ion_inventory_relative", "maximum_site_fraction"): + _require(type(metrics[name]) in (int, float) and math.isfinite(metrics[name]) + and 0 <= metrics[name] and (self.science is not None or metrics[name] <= budgets[name]), "dynamic_state_gate") + state_passed = state_passed and metrics[name] <= budgets[name] + _vector(metrics["ion_inventory_change_words"], 2) + _require(0 <= metrics["minimum_f"] <= metrics["maximum_f"] <= 1, "dynamic_occupancy_gate") + if self.science is not None: + _require(metrics["maximum_site_fraction"] < 1, "dynamic_vacancy_domain") + if self.science is not None: + _require(metrics["passed"] is state_passed, "state_certificate_boolean") + self.science.observe("state_accuracy", state_passed, row) + _require(row["physical_rate_consumption"] == "public RateView full mapped words" + and row["rate_projection_role"] == "counterfactual_first_word_only" + and row["rate_projection"] == h["physical_rate_projection"], "sample_rate_semantics") + for name, observed_origin in (("raw", origin), ("physical_tangent", "physical_tangent")): + obs = row[name] + _require(obs["point_identity"] == h["point_identity"] and obs["origin"] == observed_origin + and obs["event_side"] == side, "observable_point_binding") + _hex_vector(obs["physical_ydot_hex"], self.size) + _hex_vector(obs["tangent_residual_hex"], self.size - len(set(self.request["numeric_packet"]["mass_columns"]))) + for field, size in (("metal_charge", 2), ("conduction_inward", 2), ("total_inward", 2), + ("body_charge", 1), ("body_charge_rate", 1), ("gauss_defect", 1), + ("interior_total_current", self.nodes - 1)): + _word_pair(obs[field], size) + rate = row["raw"]["physical_rate"] + _require(rate["point_identity"] == h["point_identity"] and rate["source_identity"] == self.mapping["physical_model"] + and rate["mapping_identity"] == self.map_id and rate["frame"] == "mapped-coordinate-rate" + and rate["observed_origin"] == origin and rate["values_words_hex"] == h["physical_rate_words_hex"] + and rate["raw_coordinates_hex"] == h["raw_solver_z_hex"] + and rate["raw_rate_hex"] == h["raw_solver_zdot_hex"] and rate["input_rate_hex"] == h["input_rates_hex"] + and row["raw"]["physical_ydot_hex"] == h["physical_rate_words_hex"][0], "physical_rate_word_binding") + _word_pair(row["raw"]["charge_integrands"], 3) + _require(type(row["raw"]["linear_actions"]) is dict and bool(row["raw"]["linear_actions"]), + "missing_action_receipts") + for action in row["raw"]["linear_actions"].values(): + _require(all(_hex(v) >= 0 for v in action["absolute_error_bound_hex"]), "action_error_words") + if origin == "declared_polynomial": + _require(row["coefficient_frame_identity"] == self.frame_id and row["polynomial_path_identity"] == self.path_id + and row["native_getter_used"] is False and row["native_output"] is False, + "polynomial_sample_binding") + self.samples += 1 + if self.sample_sink is not None and when in self.request["observation_times"][self.segment["id"]]: + self._comparison_samples[row["record_sha256"]] = {"sample": row, "certificate": None, "tag": None} + if self.diagnostic is not None: + _require(h["inputs_hex"] == self.diagnostic["accepted"]["inputs_hex"] + and h["input_rates_hex"] == self.diagnostic["accepted"]["input_rates_hex"], + "diagnostic_same_exact_forcing_words") + self._sample_cache[row["record_sha256"]] = {"sample": row, "certificate": None} + return row + + def _initialization_sample(self, row, proof): + """Bind a fresh diagnostic sample to the unchanged complete saved seed. + + The sample has already passed _sample's map, history and physical checks. + Its new transition names the saved Point as predecessor; its identity + therefore differs even though every physical and raw word is unchanged. + Ordinary initializations retain their original same-Point requirement. + """ + h = row["history"] + _require(h["raw_solver_z_hex"] == proof["raw_z_hex"] + and h["raw_solver_zdot_hex"] == proof["raw_zdot_hex"], "initialization_words") + if self.diagnostic is None: + _require(h["point_identity"] == proof["point_identity"], "initialization_words") + return + accepted, restore = self.diagnostic["accepted"], self.diagnostic["restore"] + _require(proof["Point"] == restore["Point"] + and proof["point_identity"] == restore["base_Point_identity"] == accepted["Point_identity"] + and h["predecessor_identity"] == proof["point_identity"] + and h["point_identity"] != proof["point_identity"] + and h["time_hex"] == proof["time_hex"] and h["map_identity"] == proof["map_identity"] + and h["inputs_hex"] == proof["inputs_hex"] == accepted["inputs_hex"] + and h["input_rates_hex"] == proof["input_rates_hex"] == accepted["input_rates_hex"] + and h["physical_cumulative_words_hex"] == accepted["physical_state_words_hex"] + and h["physical_rate_words_hex"] == proof["mapped_physical_rate_words_hex"] + == accepted["physical_rate_words_hex"], "diagnostic_initial_sample") + + @staticmethod + def _pointer(row): + h = row["history"] + return {"record_sha256": row["record_sha256"], "point_identity": h["point_identity"], + "time_s": _hex(h["time_hex"]), "origin": h["origin"], "segment_id": row["segment_id"]} + + def _certificate(self, sample): + row = self.rows.take("voltage_lift_current_certificate") + evidence = _decode(row["evidence"]) + h, rate = sample["history"], sample["raw"]["physical_rate"] + _require(row["sample_record_sha256"] == sample["record_sha256"] + and evidence["point_identity"] == h["point_identity"] and evidence["path_identity"] == self.path_id + and (type(evidence["passed"]) is bool if self.science is not None else evidence["passed"] is True) + and evidence["native_rate_or_state_changed"] is False + and evidence["DAE_accuracy_certified"] is False, "current_certificate_binding") + rb = evidence["readback"] + when = _hex(h["time_hex"]) + transferred = (self.refresh_anchor["transfer"] if self.refresh_anchor is not None + and self.refresh_anchor["transfer"]["point_identity"] == h["point_identity"] + and self.refresh_anchor["transfer"]["time_hex"] == h["time_hex"] else None) + rate_identity = rate["identity"] if transferred is None else transferred["new_rate_identity"] + side = "right" if when == self.segment["start"] else "left" if when == self.segment["end"] else "continuous" + _require(rb["point_identity"] == h["point_identity"] and rb["rate_identity"] == rate_identity + and rb["map_identity"] == self.map_id and rb["path_identity"] == self.path_id + and rb["binding_identity"] == (self.refresh_binding_identity or self.initial_proof["source_identity"]) + and rb["time_hex"] == h["time_hex"] and rb["event_side"] == side + and rb["state_changed"] is False and rb["native_source_provenance_claimed"] is False, + "current_readback_binding") + for name, field, size in (("raw_z_words", "raw_solver_z_hex", self.size), + ("raw_zdot_words", "raw_solver_zdot_hex", self.size), + ("input_words", "inputs_hex", 2), ("input_rate_words", "input_rates_hex", 2)): + expected = h[field] + if transferred is not None and field in {"raw_solver_z_hex", "raw_solver_zdot_hex"}: + expected = transferred["new_raw_state_hex" if field == "raw_solver_z_hex" else "new_raw_rate_hex"] + _require(rb[name] == _word_bytes(expected, size), "current_readback_words") + _require(rb["physical_rate_words"] == tuple(_word_bytes(w, self.size) for w in h["physical_rate_words_hex"]), + "current_readback_rate_layers") + for name in ("physical_state_absolute_error", "physical_rate_absolute_error", "state_action_error_bounds"): + _nonnegative(rb[name], self.size) + _enclosures(rb["physical_state_enclosures"], self.size) + if self.segment_frame.enabled: + self.segment_frame.readback(rb, h) + _require(rb["state_error_includes_actual_input_evaluation"] is True + and rb["do_not_add_same_input_error_twice"] is True + and evidence["input_error_included_once"] is True, "current_input_error_semantics") + reported = tuple(_word_pair(sample[name]["total_inward"], 2) for name in ("raw", "physical_tangent")) + _require(evidence["reported_currents_A"] == reported, "current_reported_high_low") + references = (_enclosures(evidence["raw_reference_A"], 2), + _enclosures(evidence["same_state_exact_tangent_reference_A"], 2)) + errors = tuple(tuple(abs(v - ref["center"]) + ref["absolute_error_bound"] for v, ref in zip(values, refs)) + for values, refs in zip(reported, references)) + combined = tuple(abs(reported[0][i] - reported[1][i]) + errors[0][i] + errors[1][i] for i in range(2)) + limit = Fraction(float(self.request["budgets"]["current_A"]) / 3) + _require(evidence["source_and_readback_error_A"] == errors + and evidence["combined_current_bound_A"] == combined and evidence["original_allocation_A"] == limit + and evidence["passed"] is all(v <= limit for v in combined) + and (self.science is not None or all(v <= limit for v in combined)), "current_bound_consistency") + if self.science is not None: + self.science.observe("current", all(v <= limit for v in combined), row) + if self.diagnostic is not None: + key = sample["record_sha256"] + self._sample_cache[key]["certificate"] = row + for common in self.common_clocks: + if common["sample"]["record_sha256"] == key and common["certificate"] is None: + common["certificate"] = row + if self.sample_sink is not None and sample["record_sha256"] in self._comparison_samples: + retained = self._comparison_samples[sample["record_sha256"]] + retained["certificate"] = row + if retained["tag"] is not None: + self.sample_sink(retained["tag"], retained["sample"], row) + del self._comparison_samples[sample["record_sha256"]] + return row + + def _interval(self, left, right, frame, *, supplied_row=None, commit=True): + if self.offline_charge and supplied_row is None: + return self._deferred_interval(left, right, frame) + physical = "physical_tolerance_policy" in self.request + _require(not physical or commit and self.diagnostic is None, "physical_charge_complete_interval_required") + kind = ("voltage_lift_interval_certificate" if self.science is not None else + "voltage_lift_interval_charge_v2" if self.charge_refinement is not None else "voltage_lift_interval_charge") + if supplied_row is None and self.diagnostic is not None: + for common in self._pending_common: + self._interval(left, common["sample"], frame, supplied_row=common["prefix"], commit=False) + self._pending_common.clear() + row = self.rows.take(kind) if supplied_row is None else supplied_row + evidence = _decode(row["observation"]) + partial = "observation_subinterval" in evidence + if not commit: + _require(self.diagnostic is not None and row["kind"] == "native_interval_common_prefix" + and row["completed_intervals_before"] == self.intervals + and row["old_B_prefix_credit"] is False + and _hex(row["time_hex"]) == _hex(right["history"]["time_hex"]), "common_prefix_ancestry") + _require(partial is (_hex(row["time_hex"]) < frame["endpoint"]["internal_t"]), + "common_prefix_exact_bound") + else: + _require(not partial, "partial_evidence_cannot_commit_native_interval") + _require(row["segment_id"] == self.segment["id"] and row["left"] == self._pointer(left) + and row["right"] == self._pointer(right) and row["coefficient_frame_identity"] == self.frame_id + and evidence["frame_identity"] == self.frame_id and evidence["path_identity"] == self.path_id + and (type(evidence["passed"]) is bool if physical or self.science is not None else evidence["passed"] is True) + and row["endpoint_restore"] is None + and all(row[k] is False for k in ("normal_query_performed", "states_projected", + "reference_estimates_are_continuum_certificates")), + "interval_binding_or_gate") + clock = evidence["clock"] + for key, value in (("predecessor", frame["predecessor"]["internal_t"]), + ("tn", frame["endpoint"]["internal_t"]), ("hused", frame["native_before"]["hused"]), + ("segment_start", self.segment["start"]), ("segment_end", self.segment["end"])): + _require(Fraction(*clock[key]) == Fraction(value), "interval_clock") + _require(clock["owner"] == frame["owner"] and clock["generation"] == frame["generation"] + and clock["nsteps"] == frame["native_before"]["nsteps"] + and clock["kused"] == frame["native_before"]["kused"] and clock["segment_id"] == self.segment["id"], + "interval_clock_owner") + native_left = Fraction(frame["native_before"]["tn"]) - Fraction(frame["native_before"]["hused"]) + _require(Fraction(*clock["native_left"]) == native_left + and Fraction(*clock["uncovered_strip"]) == max(Fraction(0), native_left - Fraction(frame["predecessor"]["internal_t"])), + "interval_clock_strip") + inputs = evidence["input_error"] + _require(inputs["path_identity"] == self.path_id and inputs["mapping_identity"] == self.map_id + and inputs["native_admitted"] is False and inputs["endpoint_error_still_required"] is True + and inputs["native_readback_error_still_required"] is True, "interval_input_binding") + for name in ("raw_charge_integral_error_C", "tangent_charge_integral_error_C"): + _nonnegative(inputs[name], 3) + # Charge balances have three ledger rows; the L1 departure has two ports. + _nonnegative(inputs["raw_tangent_L1_additional_error_C"], 2) + _require(set(evidence["ledgers"]) == set(_LEDGERS), "missing_charge_ledger") + calls = row["arithmetic_calls"] + _require(type(calls) is list and bool(calls) and all(type(c) is dict for c in calls), "arithmetic_receipts_missing") + upper_step = None + if self.charge_refinement is not None: + self.charge_refinement.partition(evidence, calls, self.path_id) + if not partial: + upper_step = self.charge_refinement.step(row["observation"], evidence, self.intervals + 1) + else: + _require("upper_sum" not in evidence, "partial_prefix_cannot_mutate_upper_accumulator") + else: + _require("terminal_partition" not in evidence and "upper_sum" not in evidence, "legacy_record_refinement_metadata") + # Consume the serialized enclosure pairs before the historical-reader + # loop below replaces those pairs with its normalized Fractions. + physical_passed = (self.physical_charge.consume(evidence, left, right, frame_identity=self.frame_id, + path_identity=self.path_id, map_identity=self.map_id, map_payload=self.mapping) + if physical else None) + for key in _LEDGERS: + ledger = evidence["ledgers"][key] + _require(ledger["endpoint_debited_once"] is True + and (type(ledger["passed"]) is bool + and all(type(v) is bool for v in _vector(ledger["row_checks"], 3)) if physical or self.science is not None + else ledger["passed"] is True and all(v is True for v in _vector(ledger["row_checks"], 3))), + "charge_ledger_gate") + for name in ("saved_finite_charge_change_C", "nominal_change_C", "signed_integral_C", "signed_saved_defect_C"): + ledger[name] = _enclosures(ledger[name], 3) + bound = _nonnegative(ledger["interval_total_bound_C"], 3) + absolute = _nonnegative(ledger["prefix_absolute_defect_C"], 3) + error = _nonnegative(ledger["interval_reference_error_C"], 3) + cumulative = _nonnegative(ledger["prefix_reference_error_C"], 3) + budget = Fraction(self.request["budgets"]["charge_C"]) + # The controller records binary64(B/3); ChargePrefix also enforces + # the exact 3*error<=B condition. Preserve both, including rounding. + reference_share = Fraction(float(self.request["budgets"]["charge_C"]) / 3) + old_checks = tuple(bound[i] <= budget and absolute[i] <= budget + and error[i] <= reference_share and cumulative[i] <= reference_share + and 3*error[i] <= budget and 3*cumulative[i] <= budget for i in range(3)) + _require(ledger["original_charge_budget_C"] == budget and ledger["original_reference_share_C"] == reference_share + and tuple(ledger["row_checks"]) == old_checks and ledger["passed"] is all(old_checks) + and (physical or self.science is not None or all(old_checks)), "charge_budget_binding") + components = ledger["error_components_C"] + _require(set(components) == {"endpoint", "input", "clock_strip", "raw_tangent_departure", "integration"}, + "charge_error_components") + for values in components.values(): + _nonnegative(values, 3) + integrals, nominal, actual = ledger["signed_integral_C"], ledger["nominal_change_C"], ledger["saved_finite_charge_change_C"] + _require(all(v["absolute_error_bound"] == 0 for v in nominal) + and components["integration"] == tuple(v["absolute_error_bound"] for v in integrals) + and error == tuple(sum((v[i] for v in components.values()), Fraction(0)) for i in range(3)) + and bound == tuple(abs(a["center"] - b["center"]) + e for a, b, e in zip(nominal, integrals, error)), + "charge_error_arithmetic") + for a, b, defect in zip(actual, integrals, ledger["signed_saved_defect_C"]): + _require(defect == {"center": a["center"] - b["center"], + "absolute_error_bound": a["absolute_error_bound"] + b["absolute_error_bound"]}, + "saved_charge_defect_words") + old_abs, old_error = self.prefix[key] + if upper_step is None: + _require(absolute == tuple(a + b for a, b in zip(old_abs, bound)) + and cumulative == tuple(a + b for a, b in zip(old_error, error)), "charge_prefix_reset_or_error") + else: + offset = _LEDGERS.index(key) * 6 + _require(absolute == upper_step[3][offset:offset + 6:2] + and cumulative == upper_step[3][offset + 1:offset + 6:2], "charge_upper_ledger_prefix") + next_signed = (tuple(a+b["center"] for a, b in zip(self.signed_integrals[key], integrals)) + if self.signed_integrals is not None else None) + if not commit: + _require(_decode(row["signed_integral_centers_C"])[key] == next_signed + and _decode(row["reference_error_C"])[key] == cumulative, + "common_signed_prefix_or_error") + if commit: + self.prefix[key] = absolute, cumulative + if self.signed_integrals is not None: + self.signed_integrals[key] = next_signed + _require(evidence["passed"] is all(evidence["ledgers"][k]["passed"] for k in _LEDGERS), + "historical_charge_verdict_changed") + for call in calls: + if call.get("purpose") == "full-real-interval-precheck": + # BallIntegrator.absolute_bound first checks a real enclosure; + # this receipt is not an integral value/error estimate. + _require(call == {"evaluations": 1, "purpose": "full-real-interval-precheck", "working_bits": 512} + and type(call["evaluations"]) is int and type(call["working_bits"]) is int, + "arithmetic_precheck_receipt") + continue + actual, requested = Fraction(*call["actual_error"]), Fraction(*call["requested_error"]) + _require(type(call["evaluations"]) is int and call["evaluations"] > 0 + and 0 <= actual <= requested, "arithmetic_receipt_error") + if physical: + allocation = _decode(row.get("physical_charge_error_allocation_C")) + duration = Fraction(*clock["tn"])-Fraction(*clock["predecessor"]) + _require(row.get("charge_gate") == "signed-physical-charge-v1" and type(allocation) is Fraction + and allocation == self.physical_charge.allocation(duration), "physical_charge_actual_allocation") + _require(self.science is not None or physical_passed, "physical_charge_gate") + else: + _require("physical_charge" not in evidence and "charge_gate" not in row + and "physical_charge_error_allocation_C" not in row, "unbound_physical_charge_gate") + if upper_step is not None and commit: + self.charge_refinement.commit(upper_step) + if commit: + self.intervals += 1 + if self.science is not None: + progress = row.get("scientific_progress") + _require(type(progress) is dict and type(progress.get("passed")) is bool, "interval_scientific_progress_type") + _require(_digest(progress) == _digest(self.science.summary()), "interval_scientific_progress") + return row + + def _deferred_interval(self, left, right, frame): + """Missing quadrature is explicit pending work, not a zero-error pass.""" + row = self.rows.take("voltage_lift_interval_deferred") + evidence = _decode(row["observation"]) + _require(set(evidence) == {"frame_identity", "path_identity", "clock", "charge_observation"} + and evidence["charge_observation"] == "pending" and evidence["frame_identity"] == self.frame_id + and evidence["path_identity"] == self.path_id and row["segment_id"] == self.segment["id"] + and row["left"] == self._pointer(left) and row["right"] == self._pointer(right) + and row["coefficient_frame_identity"] == self.frame_id and row["endpoint_restore"] is None + and all(row[k] is False for k in ("normal_query_performed", "states_projected", "reference_estimates_are_continuum_certificates")) + and "charge_gate" not in row and "physical_charge_error_allocation_C" not in row, + "deferred_interval_binding") + clock = evidence["clock"] + for key, value in (("predecessor", frame["predecessor"]["internal_t"]), ("tn", frame["endpoint"]["internal_t"]), + ("hused", frame["native_before"]["hused"]), ("segment_start", self.segment["start"]), ("segment_end", self.segment["end"])): + _require(Fraction(*clock[key]) == Fraction(value), "deferred_interval_clock") + native_left = Fraction(frame["native_before"]["tn"])-Fraction(frame["native_before"]["hused"]) + _require(clock["owner"] == frame["owner"] and clock["generation"] == frame["generation"] + and clock["nsteps"] == frame["native_before"]["nsteps"] and clock["kused"] == frame["native_before"]["kused"] + and clock["segment_id"] == self.segment["id"] and Fraction(*clock["native_left"]) == native_left + and Fraction(*clock["uncovered_strip"]) == max(Fraction(0), native_left-Fraction(frame["predecessor"]["internal_t"])), + "deferred_interval_epoch") + progress = row.get("scientific_progress") + _require(type(progress) is dict and type(progress.get("passed")) is bool, "deferred_interval_scientific_progress_type") + _require(row["charge_observation"] == {"status": "pending", "deferred_intervals": self.intervals+1} + and _digest(progress) == _digest(self.science.summary()), "deferred_interval_progress") + if self.charge_observer is not None: + self.charge_observer.consume_interval(row, left, right, self.native_packet_row, self.mapping, + self.segment, self.refresh_anchor, self.science) + self.intervals += 1 + return row + + def _consume_reference_refresh(self, sample, interval, domain, certificate, cursor, frame, old_statistics): + prepared = self.rows.take("voltage_lift_numeric_handoff") + old_epoch = {"owner": frame["owner"], "generation": frame["generation"], + "nsteps": frame["native_before"]["nsteps"], "endpoint_identity": frame["endpoint"]["identity"], + "coefficient_frame_identity": self.frame_id} + _require(_digest(prepared["old_epoch"]) == _digest(old_epoch), "reference_refresh_old_native_epoch") + ledger = {"prefixes": {k: {"absolute_defects": absolute, "reference_errors": errors} + for k, (absolute, errors) in self.prefix.items()}, + "upper_accumulator": None if self.charge_refinement is None else self.charge_refinement.summary(), + "signed_prefix": self.signed_integrals, "sample_cursor": cursor, + **({"physical_charge": self.physical_charge.summary()} if self.physical_charge is not None else {}), + **({"scientific_progress": self.science.summary()} if self.science is not None else {}), + "last_accepted": None if self.science is not None else self._pointer(sample), + "physical_reference_identity": self.request["voltage_lift_map"]["physical_reference"]} + if self.offline_charge: + ledger.update(prefixes=None, physical_charge=None, upper_accumulator=None, signed_prefix=None, + charge_observation={"status": "pending", "deferred_intervals": self.intervals}) + self.mapping = self.segment_frame.prepare_refresh(prepared, self.segment, self.ordinal, + sample, interval, domain, certificate, ledger) + self.map_id = _digest(self.mapping) + self.numeric_ordinal = prepared["transfer"]["new_numeric_initialization_ordinal"] + raw = self._statistics("reference_refresh_return", _hex(prepared["transfer"]["time_hex"])) + complete = self.rows.take("voltage_lift_numeric_handoff") + before = complete["before_statistics"]["raw_statistics"] + _require(_digest({k: before[k] for k in _COUNTERS}) == _digest({k: old_statistics[k] for k in _COUNTERS}), + "reference_refresh_preserved_old_work") + self.segment_frame.complete_refresh(prepared, complete, self.last_statistics_record) + self.refresh_anchor, self.refresh_binding_identity = complete, complete["callback_binding_identity"] + return raw + + def run(self): + row = self.rows.take("voltage_lift_reference") + ref = row["reference"] + self.reference_digest = _digest(ref) + _require(row["request_sha256"] == self.request_id and row["reference_digest"] == self.reference_digest + and ref["schema"] == "solarlab.voltage-lift-reference.v1" and ref["map"] == self.mapping + and ref["map_identity"] == self.map_id and ref["physical_reference"] == self.request["numeric_packet"]["initial_reference"] + and ref["physical_reference_identity"] == self.mapping["physical_reference"] + and _digest(ref["physical_reference"]["payload"]) == ref["physical_reference"]["sha256"], + "reference_binding") + predecessor = ref["physical_reference_identity"] + last_time = _hex(ref["physical_reference"]["payload"]["time"]) + if self.diagnostic is not None: + seed = self.rows.take("voltage_lift_diagnostic_seed") + restore = self.diagnostic["restore"] + _require(seed == {"kind": "voltage_lift_diagnostic_seed", "request_sha256": self.request_id, + "descriptor_sha256": _digest(self.request["diagnostic_interval"]), + "Point": restore["Point"], "old_B_prefix_credit": False, + "original_native_authority_restored": False}, "diagnostic_seed_record") + predecessor = restore["base_Point_identity"] + last_time = _hex(restore["Point"]["payload"]["time"]) + last_right = None + previous_native = None + for self.ordinal, self.segment in enumerate(self.request["segments"][:self.run_segments], 1): + self.numeric_ordinal = self.ordinal + self.rows.checkpoint() + start, end = self.segment["start"], self.segment["end"] + _require(start == last_time and start < end, "protocol_segment_order") + times = self.request["observation_times"][self.segment["id"]] + _require(type(times) is list and bool(times) and times == sorted(times) + and all(start <= v <= end for v in times), "requested_sample_schedule") + if self.segment_frame.enabled: + self.mapping = self.segment_frame.begin(self.rows.take("voltage_lift_segment_frame"), + self.segment, self.ordinal, predecessor, last_right) + self.map_id = _digest(self.mapping) + init = self.rows.take("voltage_lift_initialization_input") + self.initial_proof = proof = init["proof"] + _require(init["phase"] == "segment_initialization" and init["segment_id"] == self.segment["id"] + and _hex(init["time_hex"]) == start and proof["request_sha256"] == self.request_id + and proof["map_identity"] == self.map_id and proof["segment_sha256"] == _digest(self.segment) + and proof["predecessor_identity"] == predecessor + and proof["record_sha256"] == _digest({k: v for k, v in proof.items() if k != "record_sha256"}), + "initialization_binding") + if self.ordinal == 1 and self.diagnostic is None: + for key in ("point_identity", "raw_z_hex", "raw_zdot_hex", "inputs_hex", "input_rates_hex", + "desired_physical_tangent_hex", "mapped_physical_rate_words_hex", + "desired_tangent_residual_SI", "represented_rate_residual_SI"): + _require(proof[key] == self.request["initial_preparation"][key], "initial_preparation_changed") + if self.startup.enabled or self.segment_frame.enabled: + control = self.rows.take("voltage_lift_initialization_controls") + if self.startup.enabled: + self.startup.consume(control) + if self.segment_frame.enabled: + self.segment_frame.constructor(control) + stats = self._statistics("initialization_return", start) + _require(stats["num_steps"] == 0, "initialization_step_counter") + left = self._sample(start, "segment_initial", predecessor, initial=True) + self._initialization_sample(left, proof) + if last_right is not None: + _require(left["history"]["physical_cumulative_words_hex"] == last_right["physical_cumulative_words_hex"], + "event_state_changed") + cursor, segment_intervals = 0, 0 + while cursor < len(times) and times[cursor] == start: + self._requested(self._pointer(left)) + cursor += 1 + now = start + while now < end: + if self.diagnostic is not None: + self._sample_cache = {left["record_sha256"]: {"sample": left, "certificate": None}} + before = self._statistics("before_onestep") + _require(all(before[k] >= stats[k] for k in _COUNTERS) + and before["num_steps"] == stats["num_steps"], "statistics_between_steps") + stats = self._statistics("after_onestep", previous=before) + packet_row = self.rows.take("voltage_lift_native_observation_packet") + self.native_packet_row = packet_row + _require(packet_row["segment_id"] == self.segment["id"], "packet_segment") + frame, self.frame_id = _native_packet(packet_row["packet"], self.policy, self.size) + if self.segment_frame.enabled: + self.segment_frame.packet(frame) + previous, endpoint = frame["predecessor"], frame["endpoint"] + then = endpoint["internal_t"] + if previous_native is not None: + old = previous_native + same_epoch = (old["owner"], old["generation"]) == (frame["owner"], frame["generation"]) + _require(old["endpoint"]["internal_t"].hex() == previous["internal_t"].hex(), "native_frame_time_gap") + if same_epoch: + _require(old["segment"]["id"] == self.segment["id"] + and old["endpoint"]["identity"] == previous["identity"], "native_frame_predecessor_identity") + elif (self.refresh_anchor is not None and old["segment"]["id"] == self.segment["id"] + and self.refresh_anchor["transfer"]["time_hex"] == previous["internal_t"].hex()): + handoff = self.refresh_anchor + _require(handoff["old_epoch"] == {"owner": old["owner"], "generation": old["generation"], + "nsteps": old["nsteps"], "endpoint_identity": old["endpoint"]["identity"], + "coefficient_frame_identity": old["frame_identity"]} + and handoff["new_epoch"] == {"owner": frame["owner"], "generation": frame["generation"], "nsteps": 0} + and old["owner"] == frame["owner"] and frame["generation"] == old["generation"]+1 + and previous["nsteps"] == 0 and frame["native_before"]["nsteps"] == 1 + and handoff["transfer"]["old_map_identity"] == old["map_identity"] + and handoff["transfer"]["new_map_identity"] == self.map_id, + "native_numeric_restart_epoch") + else: + _require(old["segment"]["id"] != self.segment["id"] + and old["endpoint"]["internal_t"] == old["segment"]["end"] + and previous["internal_t"] == self.segment["start"] + and (self.segment_frame.enabled or old["endpoint"]["raw_y"] == previous["raw_y"]) + and frame["native_before"]["nsteps"] == 1 and previous["nsteps"] == 0 + and old["segment"]["voltage"][1] == self.segment["voltage"][0] + and old["segment"]["photons"][1] == self.segment["photons"][0] + and frame["generation"] == (old["generation"] + 1 if old["owner"] == frame["owner"] else 1), + "native_restart_epoch") + # Rates may change at a protocol derivative kink; do + # not equate the two independently retained rate sides. + strip = Fraction(then) - Fraction(frame["native_before"]["hused"]) - Fraction(previous["internal_t"]) + _require(strip <= 0 or frame["predecessor_dky"]["native_eligible"] is True, "native_strip_getter_eligibility") + _require(previous["internal_t"] == now < then <= end + and stats["num_steps"] == frame["native_before"]["nsteps"] + and stats["current_time"] == then + and stats["observation_owner"] == frame["owner"] + and stats["observation_generation"] == frame["generation"], "frame_chronology_or_statistics") + if self.diagnostic is not None: + _require(frame["native_before"]["hused"] <= self.request["controls"]["max_step"] + and self.steps <= self.request["diagnostic_limits"]["accepted_intervals"], + "diagnostic_applied_grid_cap") + self.diagnostic_grid.append({"left_hex": float(now).hex(), "right_hex": float(then).hex(), + "hused_hex": float(frame["native_before"]["hused"]).hex(), "order": frame["native_before"]["kused"], + "owner": frame["owner"], "generation": frame["generation"], "step": self.steps, + "strip_exact": [max(Fraction(0), strip).numerator, max(Fraction(0), strip).denominator]}) + for name, field in (("raw_y", "raw_solver_z_hex"), ("raw_yp", "raw_solver_zdot_hex")): + expected = left["history"][field] + if self.refresh_anchor is not None and self.refresh_anchor["transfer"]["time_hex"] == float(now).hex(): + expected = self.refresh_anchor["transfer"]["new_raw_state_hex" if name == "raw_y" else "new_raw_rate_hex"] + _require(previous[name] == _word_bytes(expected, self.size), "predecessor_word_binding") + domain_row = self.rows.take("voltage_lift_polynomial_domain") + domain = _decode(domain_row["evidence"]) + self.path_id = domain["path_identity"] + if self.segment_frame.enabled: + _require(self.path_id == self.segment_frame.path_identity, "segment_frame_full_physical_polynomial") + _require(type(self.path_id) is str and len(self.path_id) == 64 + and type(domain["passed"]) is bool and all(type(v) is bool for v in domain["checks"].values()) + and domain["passed"] is all(domain["checks"].values()) + and (self.science is not None or domain["passed"] is True), "polynomial_domain_gate") + fields = set(self.request["numeric_packet"]["variable_offsets"]) + _require(set(domain["domain_bounds"]) == fields, "polynomial_domain_fields") + _require(set(domain["checks"]) == ({"maximum_site_fraction", "ion_inventory"} if "c_m3" in fields else set()), + "polynomial_domain_checks") + for name, bounds in domain["domain_bounds"].items(): + for lo, hi in _vector(bounds, self.nodes): + _require(type(lo) is Fraction and type(hi) is Fraction and lo <= hi, "polynomial_domain_bounds") + if self.science is not None: + _require(name not in {"n_m3", "p_m3"} or lo > 0, "polynomial_density_domain") + _require(name != "f" or 0 <= lo <= hi <= 1, "polynomial_occupancy_domain") + _require(name != "c_m3" or 0 <= lo <= hi < self.request["numeric_packet"]["definition"]["ion_capacity"], + "polynomial_vacancy_domain") + if self.science is not None: + if "c_m3" in fields: + metrics, budgets = domain["metrics"], self.request["budgets"] + maximum = max(hi for lo, hi in domain["domain_bounds"]["c_m3"])/Fraction( + self.request["numeric_packet"]["definition"]["ion_capacity"]) + _require(metrics["maximum_site_fraction"] == maximum + and domain["checks"]["maximum_site_fraction"] is (maximum <= budgets["maximum_site_fraction"]), + "polynomial_site_certificate_boolean") + inventory_ok = (metrics["ion_inventory_absolute_deviation"] == 0 + if metrics.get("ion_inventory_zero_branch") is True else + 0 <= metrics["ion_inventory_relative"] <= budgets["ion_inventory_relative"]) + _require(domain["checks"]["ion_inventory"] is inventory_ok, "polynomial_inventory_certificate_boolean") + self.science.observe("path_inventory", domain["passed"], domain_row) + self._certificate(left) # Deliberately re-certified in every new frame. + origin = "stop_output" if endpoint["native_status"] == 1 else "native" + right = self._sample(then, origin, left["history"]["point_identity"]) + _require(right["snapshot_status"] == endpoint["native_status"], "endpoint_status") + for name, field in (("raw_y", "raw_solver_z_hex"), ("raw_yp", "raw_solver_zdot_hex")): + _require(endpoint[name] == _word_bytes(right["history"][field], self.size), "endpoint_word_binding") + if self.diagnostic is not None: + _require(endpoint["raw_y"] == _word_bytes(self.last_raw_return["z_hex"], self.size) + and endpoint["raw_yp"] == _word_bytes(self.last_raw_return["zdot_hex"], self.size) + and endpoint["native_status"] == self.last_raw_return["status"], + "diagnostic_retained_raw_return_matches_native_snapshot") + right_certificate = self._certificate(right) + cache = {now: self._pointer(left), then: self._pointer(right)} + + def query(when): + self.rows.checkpoint() + _require(now <= when <= then, "query_outside_frame") + if when not in cache: + sample = self._sample(when, "declared_polynomial", left["history"]["point_identity"]) + self._certificate(sample) + cache[when] = self._pointer(sample) + self.queries += 1 + return cache[when] + + for order in (8, 16, 32): + for node in self.request["quadrature"][str(order)]["nodes"]: + query(now + (then - now) * (float(node) + 1) / 2) + while cursor < len(times) and times[cursor] <= then: + self._requested(query(float(times[cursor]))) + cursor += 1 + interval_row = self._interval(left, right, frame) + previous_native = {"endpoint": endpoint, "owner": frame["owner"], + "generation": frame["generation"], "segment": self.segment, "nsteps": frame["native_before"]["nsteps"], + "frame_identity": self.frame_id, "map_identity": self.map_id} + segment_intervals += 1 + left, now = right, then + policy = self.segment_frame.refresh_policy + if policy is not None and not self.segment_frame.refreshes and now >= _hex(policy["time_hex"]): + _require(float(now).hex() == policy["time_hex"], "reference_refresh_missed_boundary") + stats = self._consume_reference_refresh(right, interval_row, domain_row, right_certificate, cursor, frame, stats) + _require(cursor == len(times), "missing_requested_samples") + last_right = left["history"] + predecessor, last_time = last_right["point_identity"], now + self.final_pointer = self._pointer(left) + self.final_history, self.final_status = last_right, left["snapshot_status"] + self.coverage.append({"segment_id": self.segment["id"], "intervals": segment_intervals, + "requested_samples": cursor, "start_s": start, "end_s": end}) + _require(self.coverage and self.intervals > 0, "empty_protocol") + if self.physical_charge is not None and not self.offline_charge: + _require(self.physical_charge.intervals == self.intervals + and (self.science is not None or self.physical_charge.summary()["passed"]), + "physical_charge_protocol_prefix") + if self.segment_frame.refresh_policy is not None: + _require(len(self.segment_frame.refreshes) == 1 and self.segment_frame.refreshes[0]["actual_initial_step_hex"] is not None, + "reference_refresh_incomplete") + self.startup.finish(complete=True) + if self.sample_sink is not None: + _require(not self._comparison_samples, "comparison_sample_certificate_missing") + if self.diagnostic is not None: + _require(len(self.common_clocks) == 5 and all(c["certificate"] is not None for c in self.common_clocks) + and not self._pending_common, "complete_diagnostic_common_evidence") + self.rows.take(eof=True) + + def _requested(self, pointer): + row = self.rows.take("requested_sample") + _require(row == {"kind": "requested_sample", **pointer}, "requested_sample_pointer") + if self.sample_sink is not None: + retained = self._comparison_samples[pointer["record_sha256"]] + times = self.request["observation_times"][self.segment["id"]] + index = times.index(pointer["time_s"]) + retained["tag"] = {"segment": self.segment["id"], "index": index, + "time_hex": float(pointer["time_s"]).hex(), + "event_side": "right" if index == 0 else "left" if index == len(times)-1 else "interior", + "protocol_initial": self.ordinal == 1 and index == 0, + "protocol_terminal": self.ordinal == len(self.request["segments"]) and index == len(times)-1} + if retained["certificate"] is not None: + self.sample_sink(retained["tag"], retained["sample"], retained["certificate"]) + del self._comparison_samples[pointer["record_sha256"]] + if self.diagnostic is not None: + prefix = self.rows.take("native_interval_common_prefix") + sample = self._sample_cache[pointer["record_sha256"]] + common = {**sample, "prefix": prefix} + _require(_hex(prefix["time_hex"]) == pointer["time_s"], "common_prefix_sample_clock") + if not self.common_clocks: + zero = {key: (Fraction(0),)*3 for key in _LEDGERS} + _require(prefix["origin"] == "diagnostic_seed" and prefix["completed_intervals_before"] == 0 + and prefix["old_B_prefix_credit"] is False + and _decode(prefix["signed_integral_centers_C"]) == zero + and _decode(prefix["reference_error_C"]) == zero, "diagnostic_zero_prefix_origin") + else: + self._pending_common.append(common) + self.common_clocks.append(common) + + +def execution_output_policy(request, admission=None, *, execution_provenance=None): + """Independently bind a caller-admitted output cap; producer claims grant nothing. + + The caller must verify the actual Root admission and operation/message + before supplying these arguments. admission_sha256 is its canonical JSON + digest, not a value read from NativeResult or inferred from the history. + """ + original = request["budgets"]["total_output_bytes"] + admission = {} if admission is None else admission + code = "execution_output_binding" + _require(type(original) is int and original > 0 and type(admission) is dict, code) + if "execution_output_limit" not in admission: + _require(execution_provenance is None, code) + return {"schema": "solarlab.native-execution-output-observed.v1", + "original_total_output_bytes": original, "effective_total_output_bytes": original, + "admission_binding": None, "execution_provenance": None} + grant = admission["execution_output_limit"] + _require(type(grant) is dict and set(grant) == { + "schema", "request_sha256", "original_total_output_bytes", "total_output_bytes", + "operation_id", "coordinator_message"}, code) + _require(type(execution_provenance) is dict and set(execution_provenance) == { + "admission_sha256", "request_sha256", "operation_id", "coordinator_message"}, code) + value = grant["total_output_bytes"] + _require(type(value) is int and value > 0 + and grant["schema"] == "solarlab.native-execution-output.v1" + and type(grant["original_total_output_bytes"]) is int + and grant["original_total_output_bytes"] == original, code) + _require(admission.get("authority") == "Root" and admission.get("voltage_lift_native_authorized") is True + and admission.get("map_identity") == request.get("map_identity"), code) + operation, message = grant["operation_id"], grant["coordinator_message"] + _require(type(operation) is str and bool(operation) + and operation == admission.get("operation_id") == execution_provenance["operation_id"] + and type(message) is str and message.startswith("msg_") and len(message) > 4 + and message == admission.get("coordinator_message") == execution_provenance["coordinator_message"], code) + try: + request_id, admission_id = _digest(request), _digest(admission) + except (TypeError, ValueError, OverflowError) as cause: + raise HistoryVerificationError(code) from cause + _require(grant["request_sha256"] == admission.get("request_sha256") == request_id + and execution_provenance["request_sha256"] == request_id + and execution_provenance["admission_sha256"] == admission_id, code) + return {"schema": "solarlab.native-execution-output-observed.v1", + "original_total_output_bytes": original, "effective_total_output_bytes": value, + "admission_binding": dict(grant), "execution_provenance": dict(execution_provenance)} + + +def verify_history(folder: Path, *, max_record_bytes: int, max_logical_bytes: int, + max_records: int, deadline_monotonic: float, integer_io_policy=None, + execution_admission=None, execution_provenance=None, charge_observer=None, + sample_sink=None) -> dict: + """Verify a finalized, complete protocol, raising on every partial result. + + All limits are caller-selected stop rules. A receipt verifies stored words, + record coverage and the recorded acceptance gates; it neither repeats their + numerical proofs nor establishes full-device convergence or performance. + """ + started = time.perf_counter() + rows = None + + def checkpoint(): + _require(time.perf_counter() < deadline_monotonic, "deadline_exceeded") + + try: + _require(all(type(v) is int and v > 0 for v in (max_record_bytes, max_logical_bytes, max_records)), + "positive_limits_required") + _require(type(deadline_monotonic) in (int, float) and math.isfinite(deadline_monotonic), "finite_deadline_required") + integer_io_policy = configure_integer_io(integer_io_policy, max_record_bytes) + integer_observed = integer_io_observed(integer_io_policy) + folder = Path(folder) + checkpoint() + request = _read_json(folder / "NativeRequest.json", max_record_bytes, checkpoint) + from scripts.benchmarks.physical_tolerance import validate_certificate_policy + continuing = validate_certificate_policy(request) is not None + _require((continuing or not (folder / "FirstFailure.json").exists()) + and not any((folder / name).exists() for name in ("RunnerFailure.json", "PrimaryFailure.json", + "LastRecord.tmp", "LastAccepted.tmp", "FirstFailure.tmp")), + "failure_or_incomplete_publication") + result = _read_json(folder / "NativeResult.json", max_record_bytes, checkpoint, integer_io_policy) + execution_output = execution_output_policy( + request, execution_admission, execution_provenance=execution_provenance) + if execution_output["admission_binding"] is not None or "execution_output_policy" in result: + _require(_digest(result.get("execution_output_policy")) == _digest(execution_output), + "execution_output_observation_binding") + diagnostic = "diagnostic_interval" in request + history = result["history"] + _require(history.get("integer_io") == integer_observed, "integer_io_policy_or_applied_limit_mismatch") + if integer_observed is not None: + producer = _read_json(folder / "IntegerIOObserved.json", max_record_bytes, checkpoint) + _require(producer.get("role") == "producer" and type(producer.get("pid")) is int + and producer["pid"] > 0 + and {key: producer.get(key) for key in integer_observed} == integer_observed, + "producer_integer_io_observation_mismatch") + else: + _require(not (folder / "IntegerIOObserved.json").exists(), "unbound_integer_io_observation") + completed = (result["status"] == "completed_bounded_native_interval" + and result.get("complete_diagnostic_window") is True and result["complete_protocol"] is False + if diagnostic else result["status"] == "completed_bounded_voltage_lift_native_pilot" + and (result["complete_protocol"] is True if "execution_window" not in request else + result["complete_protocol"] is False and result.get("complete_run_window") is True + and result.get("execution_window") == request["execution_window"])) + _require(completed + and (continuing or result.get("first_failure") is None) and history["closed"] is True + and history["container_complete"] is True and history["error"] is None + and history["encoding"] == "gzip" and history["path"] == "NativeHistory.jsonl.gz", "incomplete_native_result") + path = folder / history["path"] + before_stat = path.stat() + _require(before_stat.st_size == history["encoded_bytes"] + and before_stat.st_size <= execution_output["effective_total_output_bytes"], "encoded_byte_count_or_cap") + with HistoryReader(path, encoding="gzip", max_record_bytes=max_record_bytes, + max_logical_bytes=max_logical_bytes, integer_io_policy=integer_io_policy) as reader: + rows = _Rows(reader, max_records, checkpoint) + protocol = _Protocol(request, rows, charge_observer=charge_observer, sample_sink=sample_sink) + _require(result["request_sha256"] == protocol.request_id and result["map_identity"] == protocol.map_id + and result["observation_policy_sha256"] == protocol.policy_id, "result_request_binding") + protocol.run() + _require(reader.eof_seen and reader.container_complete is True and not reader.partial_tail, "container_incomplete") + _require(history["records"] == rows.count and history["logical_bytes"] == reader.logical_bytes + and history["logical_sha256"] == rows.hash.hexdigest(), "logical_count_or_digest") + counts = result["counts"] + expected = {"history_bytes": history["logical_bytes"], + "native_steps": protocol.steps, "onestep_returns": protocol.intervals, + "normal_queries": 0, "polynomial_queries": protocol.queries, + "initializations": len(protocol.coverage)+len(protocol.segment_frame.refreshes), "jacobian": protocol.jacobians} + if protocol.segment_frame.refresh_policy is not None: + expected.update(reference_refresh_attempts=1, reference_refreshes=1) + _require(result["in_window_reinitializations"] == 1, "reference_refresh_result_count") + # The diagnostic-window producer records encoded size in history, + # without the full-protocol producer's duplicate work-counter field. + # Actual size, complete-container digest, trailer and CRC stay mandatory. + if not diagnostic or "history_encoded_bytes" in counts: + expected["history_encoded_bytes"] = history["encoded_bytes"] + _require(all(type(counts[k]) is int and counts[k] == value for k, value in expected.items()), "result_counters") + _require(type(counts["residual"]) is int and 0 <= counts["residual"] <= request["budgets"]["residual_calls"] + and protocol.steps <= request["budgets"]["native_steps"], "native_work_caps") + _require(result["last_numerical"] == protocol.final_pointer + and result["last_physically_accepted"] == (None if continuing else protocol.final_pointer), "result_final_pointers") + if continuing: + progress = protocol.science.summary() + original_progress = result.get("scientific_progress") + _require(type(original_progress) is dict and type(original_progress.get("passed")) is bool, + "result_scientific_progress_type") + _require(_digest(original_progress) == _digest(progress) and result.get("scientific_status") == progress["status"] + and result.get("scientific_pass") is False and result.get("complete_readback") is False + and result.get("first_failure") == progress["first_failure"] + and _decode(result["signed_integral_prefix_C"]) == (None if protocol.offline_charge else protocol.signed_integrals), + "result_scientific_progress") + failure_path = folder / "FirstFailure.json" + _require(failure_path.exists() is (progress["first_failure"] is not None), "first_failure_publication") + if failure_path.exists(): + _require(_read_json(failure_path, max_record_bytes, checkpoint, integer_io_policy) == progress["first_failure"], + "first_failure_sidecar_binding") + attempt = result["last_attempt"] + _require(attempt["phase"] == "native_return" and attempt["success"] is True + and attempt["segment_id"] == protocol.final_pointer["segment_id"] + and attempt["time_hex"] == protocol.final_history["time_hex"] + and attempt["status"] == protocol.final_status + and attempt["z_hex"] == protocol.final_history["raw_solver_z_hex"] + and attempt["zdot_hex"] == protocol.final_history["raw_solver_zdot_hex"], "result_last_attempt") + for key, (absolute, error) in protocol.prefix.items(): + if protocol.offline_charge: + _require(result["cumulative_absolute_charge_bounds_C"] is None + and result["cumulative_observation_reference_bounds_C"] is None, + "deferred_result_cannot_claim_observation") + else: + _require(_decode(result["cumulative_absolute_charge_bounds_C"][key]) == absolute + and _decode(result["cumulative_observation_reference_bounds_C"][key]) == error, "result_charge_prefix") + if protocol.offline_charge: + _require(result.get("charge_observation") == {"status": "pending", "deferred_intervals": protocol.intervals}, + "deferred_result_interval_count") + if protocol.physical_charge is not None: + _require(result.get("charge_gate") == "signed-physical-charge-v1" + and result.get("physical_charge_policy_sha256") == _digest(protocol.physical_charge.policy) + and _decode(result.get("physical_charge")) == (None if protocol.offline_charge else protocol.physical_charge.summary()), + "result_physical_charge_prefix") + else: + _require(not any(k in result for k in ("charge_gate", "physical_charge", "physical_charge_policy_sha256")), + "unbound_result_physical_charge") + if protocol.charge_refinement is not None and not protocol.offline_charge: + representation = _decode(result["cumulative_representation"]) + _require(type(representation) is dict and representation == protocol.charge_refinement.summary() + and type(representation["index"]) is int + and all(type(v) is int for k in ("upper_numerators", "rounded_terms") for v in representation[k]) + and all(type(v) is Fraction for v in representation["slack_upper_bounds"]), + "result_charge_representation") + else: + _require("cumulative_representation" not in result, "legacy_result_refinement_metadata") + last = _read_json(folder / "LastRecord.json", max_record_bytes, checkpoint) + accepted = None if continuing else _read_json(folder / "LastAccepted.json", max_record_bytes, checkpoint) + _require({k: last[k] for k in rows.last} == rows.last + and last["encoded_byte_offset_after_record"] + 10 == history["encoded_bytes"] + and (not (folder / "LastAccepted.json").exists() if continuing else + accepted == {"pointer": last, "right": protocol.final_pointer, "frame": protocol.frame_id}), + "final_sidecar_binding") + container_hash, size = hashlib.sha256(), 0 + # A compressed-byte pass supplies the full container digest without a + # second decompression or an in-memory copy of the history. + with path.open("rb") as stream: + _require(stream.read(10) == b"\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff", "gzip_writer_header") + stream.seek(0) + while True: + checkpoint() + chunk = stream.read(1048576) + if not chunk: + break + size += len(chunk) + _require(size <= history["encoded_bytes"], "container_grew") + container_hash.update(chunk) + stream.seek(-10, 2) + trailer = stream.read(10) + _require(trailer == b"\x03\x00" + struct.pack(" limit: + raise ValueError("helper origin input bound") + return value + raw = data(manifest_path, 2 * 1024 * 1024) + manifest = json.loads(raw) + return (hashlib.sha256(raw).hexdigest() == info["manifest_sha256"] and + manifest["schema"] == "solarlab.integer-product-build.v1" and + manifest["build_id"] == info["build_id"] and + manifest["build"]["source_sha256"] == info["c_source_sha256"] and + Path(manifest["binary_path"]).resolve() == owner and + manifest["binary_sha256"] == info["binary_sha256"] and + hashlib.sha256(data(owner, 16 * 1024 * 1024)).hexdigest() == info["binary_sha256"] and + hashlib.sha256(data(snapshot, 16 * 1024 * 1024)).hexdigest() == info["binary_sha256"]) + except (KeyError, TypeError, ValueError, OSError): + return False + +def output_bytes(folder, input_names): + """Sample files once; on disappearance, reobserve once and keep the larger sum. + + Preserve stat-following file-type and relative input-exclusion behavior. + Other I/O errors propagate; this is not an atomic or continuous census. + """ + import stat + + def observe(): + total, changed = 0, False + for path in folder.rglob("*"): + try: + info = path.stat() + except FileNotFoundError: + changed = True + continue + if stat.S_ISREG(info.st_mode) and str(path.relative_to(folder)) not in input_names: + total += info.st_size + return total, changed + + total, changed = observe() + if changed: + repeated, _ = observe() + return max(total, repeated) + return total + +def _write_document(folder: Path, name: str, value: Any, *, total_output_bytes: int, + input_names: Collection[str], integer_io_policy=None, + max_document_bytes: int | None = None) -> None: + """Retained exclusive publication, with the unchanged whole-artifact cap.""" + data = (integer_json_dumps(value, integer_io_policy, indent=2, allow_nan=False) + "\n").encode() + if max_document_bytes is not None and len(data) > max_document_bytes: + raise HistoryLimitError("bounded native failure envelope exceeds cap") + if output_bytes(folder, input_names) + len(data) > total_output_bytes: + raise HistoryLimitError("native artifact publication exceeds total output cap") + with (folder / name).open("xb") as stream: + if stream.write(data) != len(data): + raise OSError("short native artifact write") + stream.flush() + + +def _history_state(writer: HistoryWriter) -> dict[str, Any]: + state = {"encoding": writer.encoding, "path": writer.path.name, + "max_record_bytes": writer.max_record_bytes, + "logical_bytes": writer.logical_bytes, "encoded_bytes": writer.encoded_bytes, + "logical_sha256": writer.logical_sha256, "records": writer.records, + "closed": writer.closed, "container_complete": writer.container_complete, + "error": writer.error, "digest_scope": "complete record bytes written before any failed partial write"} + if writer.integer_io_policy is not None: + state["integer_io"] = integer_io_observed(writer.integer_io_policy, require_match=False) + return state + + +def _controller_failure_envelope(result, writer): + """Keep the primary cause and native context without copying huge ledgers.""" + text = {key: result.get(key)[:12000 if key == "traceback" else 2048] + for key in ("status", "reason", "exception", "traceback") + if type(result.get(key)) is str} + raw_counts = result.get("counts", {}) + count_names = {"residual", "jacobian", "native_steps", "onestep_returns", "normal_queries", + "polynomial_queries", "initializations", "history_bytes", "history_encoded_bytes"} + counts = {key: value for key, value in (raw_counts.items() if isinstance(raw_counts, dict) else ()) + if key in count_names and type(value) is int and value.bit_length() <= 64} + attempt = result.get("last_attempt") or result.get("first_failure") or {} + context = {} + if isinstance(attempt, dict): + for key in ("phase", "segment_id", "segment", "time_hex", "success", "status", "message"): + value = attempt.get(key) + if (value is None or type(value) is bool or type(value) is int and value.bit_length() <= 64 + or type(value) is float and math.isfinite(value) + or type(value) is str and len(value) <= 2048): + context[key] = value + for key in ("z_hex", "zdot_hex"): + value = attempt.get(key) + if (type(value) is list and len(value) <= 256 + and all(type(item) is str and len(item) <= 32 for item in value)): + context[key] = value + history = _history_state(writer) + if type(history.get("error")) is str: + history["error"] = history["error"][:4096] + return {"schema": "solarlab.native-primary-failure.v1", "controller": text, + "counts": counts, "last_native_context": context, "history": history, + "scope": "primary controller error before full failure/result publication; no omitted ledger is reconstructed"} + + +def _record_exception(folder: Path, error: BaseException, *, total_output_bytes: int, + input_names: Collection[str], writer: HistoryWriter | None = None) -> None: + """Reporting failures become notes; they never replace the primary exception.""" + failure = {"exception": type(error).__name__, "reason": str(error), + "traceback": "".join(traceback.format_exception(error))} + if writer is not None: + failure["history"] = _history_state(writer) + try: + writer.publish_first_failure(failure) + except BaseException as secondary: + error.add_note(f"first-failure publication failed: {type(secondary).__name__}: {secondary}") + if not (folder / "RunnerFailure.json").exists(): + try: + _write_document(folder, "RunnerFailure.json", failure, + total_output_bytes=total_output_bytes, input_names=input_names) + except BaseException as secondary: + error.add_note(f"runner-failure publication failed: {type(secondary).__name__}: {secondary}") + + +def run_recorded(folder: Path, controller: Callable[[HistoryWriter], dict[str, Any]], *, + total_output_bytes: int, input_names: Collection[str], + max_record_bytes: int = 1048576, integer_io_policy=None, + timing: RuntimeTiming | None = None) -> dict[str, Any]: + """Keep aggregate timing on ordinary return/exception; never overwrite a prior attempt.""" + folder = Path(folder) + fresh = not any((folder / name).exists() for name in ( + "NativeHistory.jsonl", "NativeHistory.jsonl.gz", "NativeResult.json", + "RunnerFailure.json", "PrimaryFailure.json", "RuntimeTiming.json")) + timing = RuntimeTiming() if timing is None else timing + primary = result = None + try: + with timing.phase("recorded_run"): + result = _run_recorded(folder, controller, total_output_bytes=total_output_bytes, + input_names=input_names, max_record_bytes=max_record_bytes, + integer_io_policy=integer_io_policy, timing=timing) + return result + except BaseException as error: + primary = error + raise + finally: + if fresh: + outcome = ("raised" if primary is not None else "returned_completed" + if result.get("status") == COMPLETED_STATUS else "returned_other_status") + try: + _write_document(folder, "RuntimeTiming.json", timing.snapshot(outcome), + total_output_bytes=total_output_bytes, input_names=input_names, + max_document_bytes=16384) + except BaseException as error: + if primary is not None: + primary.add_note(f"aggregate timing publication failed: {type(error).__name__}: {error}") + else: + _record_exception(folder, error, total_output_bytes=total_output_bytes, + input_names=input_names) + raise + + +def _run_recorded(folder: Path, controller: Callable[[HistoryWriter], dict[str, Any]], *, + total_output_bytes: int, input_names: Collection[str], + max_record_bytes: int = 1048576, integer_io_policy=None, + timing: RuntimeTiming) -> dict[str, Any]: + """Run the real controller with the writer itself, finalize, then publish. + + An already failed controller may retain an explicitly incomplete container; + no successful result is published after a write/finalization/publication + failure. Inputs are explicitly excluded from the same outer artifact census. + """ + folder = Path(folder) + writer = None + try: + if any((folder / name).exists() for name in ("NativeHistory.jsonl", "NativeHistory.jsonl.gz", "NativeResult.json", "RunnerFailure.json", "PrimaryFailure.json", "RuntimeTiming.json")): + raise FileExistsError("native attempt output already exists") + with timing.phase('history_io'): + writer = HistoryWriter(folder / "NativeHistory.jsonl.gz", encoding="gzip", + total_output_bytes=total_output_bytes, + max_record_bytes=max_record_bytes, integer_io_policy=integer_io_policy) + if writer.integer_io_policy is not None: + with timing.phase('artifact_io'): + _write_document(folder, "IntegerIOObserved.json", + {"role": "producer", "pid": os.getpid(), + **integer_io_observed(writer.integer_io_policy)}, + total_output_bytes=total_output_bytes, input_names=input_names) + with timing.phase('controller'): + result = controller(writer) # Do not wrap this object in an untyped callback. + successful = result.get("status") == COMPLETED_STATUS + if not successful: + try: + with timing.phase('artifact_io'): + _write_document(folder, "PrimaryFailure.json", _controller_failure_envelope(result, writer), + total_output_bytes=total_output_bytes, input_names=input_names, + max_document_bytes=65536) + except BaseException as publication_error: + if writer.first_exception is None: + raise + writer.first_exception.add_note(f"primary envelope publication failed: {type(publication_error).__name__}") + if writer.first_exception is not None: + # A failed controller must not mask the first writer exception with + # another attempt to serialize its enormous cumulative result. + raise writer.first_exception + if result.get("first_failure") is not None: + with timing.phase('history_io'): + writer.publish_first_failure(result["first_failure"]) + with timing.phase('history_io'): + writer.finish() + # Keep all original controller fields and logical counters. Encoded bytes + # include the footer, which the controller's last record cannot count. + result = dict(result) + if "counts" in result: + counts = dict(result["counts"]) + if writer.first_exception is None and counts["history_bytes"] != writer.logical_bytes: + raise RuntimeError("controller/history logical count mismatch") + counts["history_encoded_bytes"] = writer.encoded_bytes + result["counts"] = counts + result["history"] = _history_state(writer) + if successful and (not writer.closed or writer.container_complete is not True): + raise RuntimeError("successful native result requires finalized history") + with timing.phase('artifact_io'): + _write_document(folder, "NativeResult.json", result, + total_output_bytes=total_output_bytes, input_names=input_names, + integer_io_policy=writer.integer_io_policy) + return result + except BaseException as error: + if writer is not None: + try: + with timing.phase('history_io'): + writer.abort(error) + except BaseException as secondary: + error.add_note(f"history abort failed: {type(secondary).__name__}: {secondary}") + with timing.phase('artifact_io'): + _record_exception(folder, error, total_output_bytes=total_output_bytes, + input_names=input_names, writer=writer) + raise + + + +def main(folder: Path, admission_path: Path, *, entry_started: float | None = None, + execution_provenance: dict | None = None) -> int: + """Original source/admission/native boundary; called only by an admitted shim.""" + from AdmissionBindings import hashed, validate + + + folder=Path(folder) + freeze=json.loads((folder/"NativeFreeze.json").read_text()) + admission=json.loads(Path(admission_path).read_text()) + def canonical(value): + return hashlib.sha256(json.dumps(value,sort_keys=True,separators=(",",":"),allow_nan=False).encode()).hexdigest() + def write(name,value): + _write_document(folder, name, value, total_output_bytes=freeze["resources"]["total_output_bytes"], + input_names=freeze["watchdog"]["input_file_names"]) + if (not str(admission.get("task_id", "")).startswith("task_") or + not str(admission.get("dispatch_id", "")).startswith("ctx_") or + admission.get("session_id")!=freeze["session_id"] or + admission.get("voltage_lift_native_authorized") is not True or + admission.get("map_identity")!=freeze["map_identity"] or + admission.get("request_sha256")!=freeze["request_sha256"] or + admission.get("freeze_sha256")!=hashed(folder/"NativeFreeze.json") or + not str(admission.get("coordinator_message","")).startswith("msg_")): + raise RuntimeError("exact_native_admission_required_before_execution") + validate(freeze,folder/"NativeFreeze.json",admission) + started=entry_started if entry_started is not None else time.perf_counter() + write("RuntimeStart.json",{"utc":datetime.now(timezone.utc).isoformat(),"pid":os.getpid(),"pgid":os.getpgrp(),"executable":sys.executable, + "actual_process_argv":sys.orig_argv,"declared_command":freeze["runner_command"], + "task_id":admission["task_id"],"dispatch_id":admission["dispatch_id"], + "session_id":admission["session_id"], + "source_task_id":freeze["task_id"],"source_dispatch_id":freeze["dispatch_id"], + "request_sha256":freeze["request_sha256"],"admission":admission}) + code=1;imports={};primary_error=None + try: + for path,expected in {**freeze["source_sha256"],**freeze["external_source_sha256"]}.items(): + if hashed(path)!=expected:raise RuntimeError("frozen_source_changed:"+path) + if admission["source_sha256"]!=freeze["source_sha256"]:raise RuntimeError("admission_source_binding_mismatch") + for required in (Path(__file__).resolve(), Path(sys.modules[HistoryWriter.__module__].__file__).resolve(), + Path(sys.modules[RuntimeTiming.__module__].__file__).resolve()): + if (not required.is_relative_to(Path(freeze["isolated_root"])) or + freeze["source_sha256"].get(str(required)) != hashed(required)): + raise RuntimeError("maintained_recording_source_not_bound:"+str(required)) + if any(os.environ.get(k)!="1" for k in freeze["threads"]):raise RuntimeError("thread_environment_changed") + library="/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib" + blas=ctypes.CDLL(library);blas.BLASSetThreading.argtypes=[ctypes.c_int];blas.BLASSetThreading.restype=ctypes.c_int;blas.BLASGetThreading.restype=ctypes.c_int + previous=blas.BLASSetThreading(1);mode=blas.BLASGetThreading() + if mode!=1:raise RuntimeError("BLAS_thread_mode") + class ProductionBoundary(importlib.abc.MetaPathFinder): + def find_spec(self,fullname,path=None,target=None): + if fullname.startswith("perovskite_sim.") and fullname not in {"perovskite_sim.constants","perovskite_sim.physics","perovskite_sim.physics.compensated"}: + raise RuntimeError("unapproved_production_import:"+fullname) + sys.meta_path.insert(0,ProductionBoundary()) + import numpy,scipy,sksundae,flint + from sksundae.ida import IDA as PublicIDA + public_api={name:callable(getattr(PublicIDA,name,None)) for name in ("statistics","last_step_snapshot")} + if not all(public_api.values()):raise RuntimeError("composed_public_IDA_capabilities_missing") + from threadpoolctl import threadpool_info + from scripts.benchmarks.coupled_device_prototype import AffineCoupledSlab,AffineVoltageMap,SlabDefinition,protocol_from_plan,run_voltage_lift_native_pilot + from scripts.benchmarks import coupled_device_prototype as kernel + capabilities=freeze["binding_capabilities"] + if (numpy.__version__,scipy.__version__,sksundae.__version__)!=(capabilities["numpy_version"],capabilities["scipy_version"],capabilities["binding_version"]): + raise RuntimeError("installed_numeric_versions_changed") + pools=threadpool_info() + if any(p.get("num_threads",1)!=1 for p in pools):raise RuntimeError("native_threadpool_not_one") + for name,module in list(sys.modules.items()): + if name.startswith(("perovskite_sim","scripts.benchmarks","sksundae","flint")) and getattr(module,"__file__",None): + path=str(Path(module.__file__).resolve());actual=hashed(path) + if (name.startswith(("perovskite_sim","scripts.benchmarks")) and + not Path(path).is_relative_to(Path(freeze["isolated_root"]))): + if name != "scripts.benchmarks._integer_product_native" or not validated_integer_helper_origin( + name, {"path": path, "origin": getattr(getattr(module, "__spec__", None), "origin", None), + "build_id": getattr(module, "BUILD_ID", None), + "c_source_sha256": getattr(module, "SOURCE_SHA256", None), + "abi": getattr(module, "ABI", None)}, freeze): + raise RuntimeError("actual_local_import_outside_frozen_code:"+name) + if name.startswith("sksundae") and not Path(path).is_relative_to(Path(freeze["binding_installation"])): + raise RuntimeError("actual_binding_outside_composed_installation:"+name) + expected=freeze["source_sha256"].get(path,freeze["external_source_sha256"].get(path)) + if actual!=expected:raise RuntimeError("actual_import_not_bound:"+name+":"+path) + imports[name]={"path":path,"sha256":actual} + write("EnvironmentObserved.json",{"python":sys.version,"executable":sys.executable,"numpy":numpy.__version__, + "scipy":scipy.__version__,"binding":sksundae.__version__,"SUNDIALS":sksundae.SUNDIALS_VERSION,"python_flint":flint.__version__,"FLINT":flint.__FLINT_VERSION__, + "thread_environment":{k:os.environ.get(k) for k in freeze["threads"]}, + "threadpools":pools,"Accelerate":{"observed":mode,"previous":previous},"actual_imports":imports,"public_IDA_API_before_construction":public_api}) + source=Path(freeze["model_input_root"]);plan=Path(freeze["isolated_plan"]) + request=json.loads((folder/"NativeRequest.json").read_text()) + if canonical(request)!=freeze["request_sha256"]:raise RuntimeError("native_request_changed") + execution_output=kernel.voltage_lift_execution_output_policy( + request,admission,execution_provenance=execution_provenance) + effective_output_bytes=execution_output["effective_total_output_bytes"] + if (type(freeze["resources"]["total_output_bytes"]) is not int or + effective_output_bytes != freeze["resources"]["total_output_bytes"]): + raise RuntimeError("controller_and_outer_output_cap_mismatch") + intervals = 8 + if "qualification_policy" in request: + from scripts.benchmarks import qualification_policy + qualification_policy.check_initialized_request(request) + policy_path = str(Path(qualification_policy.__file__).resolve()) + expected = freeze["source_sha256"].get(policy_path, freeze["external_source_sha256"].get(policy_path)) + if expected is None or hashlib.sha256(Path(policy_path).read_bytes()).hexdigest() != expected: + raise RuntimeError("qualification_policy_source_not_bound") + intervals = request["qualification_policy"]["intervals"] + write("QualificationPolicyObserved.json", { + "schema": "solarlab.qualification-loaded-policy.v1", "source_path": policy_path, + "source_sha256": expected, "request_sha256": freeze["request_sha256"], + "policy_sha256": canonical(request["qualification_policy"]), "intervals": intervals, + "coordinates": request["qualification_policy"]["coordinates"], + "scope": "actual loaded metadata-policy binding before model construction; no accuracy qualification"}) + model=AffineCoupledSlab(SlabDefinition.from_plan(plan,source,request["case_id"]),intervals) + segments=protocol_from_plan(plan,request["case_id"]) + if flint.__version__!="0.8.0":raise RuntimeError("unreviewed_Arb_binding") + timing=RuntimeTiming() + result=run_recorded(folder, + lambda emit: run_voltage_lift_native_pilot(AffineVoltageMap(model, mapped_input_profile=request.get("frame_input_policy", {}).get("profile")),segments,request,admission,emit,timing=timing,execution_provenance=execution_provenance), + total_output_bytes=effective_output_bytes, + input_names=freeze["watchdog"]["input_file_names"], + max_record_bytes=freeze.get("writer_limits", {}).get("max_record_bytes", 1048576), + integer_io_policy=freeze.get("integer_io_policy"),timing=timing) + code=0 if result["status"]=="completed_bounded_voltage_lift_native_pilot" else 1 + except BaseException as error: + primary_error=error + _record_exception(folder,error,total_output_bytes=freeze["resources"]["total_output_bytes"], + input_names=freeze["watchdog"]["input_file_names"]) + code=1 + finally: + try: + drift={p:hashed(p) if Path(p).exists() else "missing" + for p,v in {**freeze["source_sha256"],**freeze["external_source_sha256"]}.items() + if not Path(p).exists() or hashed(p)!=v} + if drift:code=1 + write("RuntimeEnd.json",{"utc":datetime.now(timezone.utc).isoformat(),"elapsed_s":time.perf_counter()-started, + "peak_rss_bytes":resource.getrusage(resource.RUSAGE_SELF).ru_maxrss, + "rss_units":"Darwin ru_maxrss bytes","source_drift":drift,"exitcode":code, + "elapsed_scope":"runner module entry through source recheck; outer supervisor includes RuntimeEnd save and process exit"}) + except BaseException as end_error: + code=1 + if primary_error is None: + primary_error=end_error + else: + primary_error.add_note(f"runtime finalization failed: {type(end_error).__name__}: {end_error}") + _record_exception(folder,primary_error,total_output_bytes=freeze["resources"]["total_output_bytes"], + input_names=freeze["watchdog"]["input_file_names"]) + return code + + + +if __name__ == "__main__": + if len(sys.argv) != 3: + raise SystemExit("usage: native_runner CASE_FOLDER ADMISSION_JSON") + raise SystemExit(main(Path(sys.argv[1]), Path(sys.argv[2]))) diff --git a/scripts/benchmarks/nonlocal_device.py b/scripts/benchmarks/nonlocal_device.py new file mode 100644 index 00000000..facf21af --- /dev/null +++ b/scripts/benchmarks/nonlocal_device.py @@ -0,0 +1,613 @@ +"""N02 small physical coupling witness, not a production device entrypoint. + +The public graph has SI carrier, Poisson and contact rows. Geometry and +assembly functions are pure metadata/algebra; constitutive callbacks are +supplied only by a separately admitted, source-bound witness runner. +No physical engine, state initializer or factorization is imported here. +""" +from __future__ import annotations + +from dataclasses import dataclass +from hashlib import sha256 +import json + +import numpy as np +from scipy.sparse import csc_matrix + +from scripts.benchmarks.contract_prototype import ( + COULOMB, PARTICLE, SECOND, VOLT, VOLUME, ContractError, + EquationSpec, Geometry, Layout, Support, VariableSpec, frozen_array, +) +from scripts.benchmarks.nonlocal_sparse import NonlocalPlan, recycling_plan +from scripts.benchmarks.sparse_prototype import SparseGraph, TermSupport + +SOURCE_CHARGE_C = 1.602176634e-19 +MAX_WITNESS_NODES = 13 +VARIABLES = ("n_m3", "p_m3", "phi_V") +CARRIER_ROWS = ("a_n", "b_p") + + +def _array(value, shape, label): + array = np.asarray(value, dtype=float) + if array.shape != shape or not np.all(np.isfinite(array)): + raise ContractError("invalid_" + label) + return array + + +def array_identity(*arrays): + digest = sha256() + for array in arrays: + value = np.ascontiguousarray(array, dtype="= 2 * n for row in coupling.rows): + raise ContractError("nonlocal_direct_Poisson_source_not_declared") + for species, equation in enumerate(CARRIER_ROWS): + rows = [row % n - 1 for row in coupling.rows + if row // n == species and 0 < row % n < n - 1] + if not rows: + continue + for block, variable in enumerate(VARIABLES): + columns = [column % n for column in coupling.columns if column // n == block] + if columns: + terms.append(TermSupport.cartesian( + "nonlocal:" + coupling.id + ":" + equation + ":" + variable, + eqs[equation].owner, equation, variable, rows, columns, + unit=eqs[equation].unit / specs[variable].unit)) + topology = sha256(json.dumps({"layout": layout.identity, + "geometry": array_identity(x, [area_m2], geometry.volumes), + "nonlocal": nonlocal_plan.identity}, sort_keys=True).encode()).hexdigest() + graph = SparseGraph(layout, tuple(terms), topology_identity=topology) + return DeviceGraph(frozen_array(x), float(area_m2), geometry, layout, + tuple(terms), graph, nonlocal_plan, topology) + + +def physical_storage(plan): + """dQ/dy in actual interior carrier rows; no storage at pinned rows.""" + mass = np.zeros((3 * plan.nodes, 3 * plan.nodes)) + for block, equation in enumerate(CARRIER_ROWS): + mass[plan.rows(equation), block * plan.nodes + plan.interior] = plan.geometry.volumes[1:-1] + return mass + + +def finite_volume_rows(plan, state, state_rate, *, charge_C, local_currents_A_m2, + net_local_generation_m3_s, displacement_C_m2, + charge_density_C_m3, contacts, recycling_m3_s=None, + nonlocal_currents_A_m2=None): + """Assemble existing constitutive values once into physical FV rows. + + Face particle currents get face area, volume sources get cell volume. + Endpoint half cells remain in reservoir and exterior-displacement ledgers, + although their carrier solve rows are ideal Dirichlet constraints. + """ + n = plan.nodes + y = _array(state, (3 * n,), "physical_state") + ydot = _array(state_rate, (3 * n,), "physical_rate") + if np.any(y[:2 * n] <= 0) or not np.isfinite(charge_C) or charge_C <= 0: + raise ContractError("positive_carriers_and_charge") + currents = _array(local_currents_A_m2, (2, n - 1), "local_face_currents").copy() + if nonlocal_currents_A_m2 is not None: + currents += _array(nonlocal_currents_A_m2, (2, n - 1), "nonlocal_face_currents") + generation = _array(net_local_generation_m3_s, (n,), "net_local_generation").copy() + if recycling_m3_s is not None: + generation += _array(recycling_m3_s, (n,), "recycling_generation") + rho = _array(charge_density_C_m3, (n,), "charge_density") + displacement = _array(displacement_C_m2, (n - 1,), "face_displacement") + particle_flux = currents / charge_C + particle_flux[0] *= -1 + rates = np.zeros((2, n)) + rates[:, :-1] -= particle_flux * plan.geometry.face_measures + rates[:, 1:] += particle_flux * plan.geometry.face_measures + rates += generation[None, :] * plan.geometry.volumes + full = np.zeros(3 * n) + for block, equation in enumerate(CARRIER_ROWS): + full[plan.rows(equation)] = (plan.geometry.volumes[1:-1] + * ydot[block * n + plan.interior] - rates[block, 1:-1]) + full[plan.rows("x_poisson")] = (plan.area_m2 * np.diff(displacement) + - plan.geometry.volumes[1:-1] * rho[1:-1]) + for variable, equation in (("n_m3", "z_n_contact"), ("p_m3", "zz_p_contact"), + ("phi_V", "y_phi_contact")): + field = y[plan.layout.offsets[variable]] + full[plan.rows(equation)] = field[[0, -1]] - _array(contacts[variable], (2,), "contact_targets") + exterior_D = np.array([displacement[0] - rho[0] * plan.geometry.volumes[0] / plan.area_m2, + displacement[-1] + rho[-1] * plan.geometry.volumes[-1] / plan.area_m2]) + # Positive exchange means particles supplied to the device by its reservoir. + exchange = plan.geometry.volumes[[0, -1]] * ydot[:2 * n].reshape(2, n)[:, [0, -1]] - rates[:, [0, -1]] + return {"residual": full, "nodal_carrier_rates_particle_s": rates, + "face_currents_A_m2": currents, "exterior_displacement_C_m2": exterior_D, + "reservoir_exchange_into_device_particle_s": exchange} + + +def component_rows(plan, normalized_value, normalized_jacobian, state_scale, + component_scale, kind): + """Lift accepted N01 component values without its old 4I scaffold.""" + n = plan.nodes + value = _array(normalized_value, (3 * n,), "component_value") + jacobian = _array(normalized_jacobian, (3 * n, 3 * n), "component_jacobian") + scales = _array(state_scale, (3 * n,), "component_state_scale") + if np.any(scales <= 0) or not np.isfinite(component_scale) or component_scale <= 0: + raise ContractError("positive_component_scales") + if kind == "recycling_rate_density": + weights = plan.geometry.volumes + elif kind == "wkb_face_divergence": + weights = np.full(n, plan.area_m2) + else: + raise ContractError("explicit_component_units_required") + residual, full = np.zeros(3 * n), np.zeros((3 * n, 3 * n)) + for species, equation in enumerate(CARRIER_ROWS): + source = species * n + plan.interior + factor = -weights[1:-1] * component_scale + residual[plan.rows(equation)] = factor * value[source] + full[plan.rows(equation)] = factor[:, None] * jacobian[source] / scales[None, :] + return residual, full + + +def assemble(plan, local_jacobian, coupling_jacobians, *, topology): + """Fill declared SI blocks, rejecting even subnormal undeclared entries.""" + if topology != plan.topology: + raise ContractError("structural_recompile_required") + size = plan.layout.size + local = _array(local_jacobian, (size, size), "local_jacobian") + if set(coupling_jacobians) != {c.id for c in plan.nonlocal_plan.couplings}: + raise ContractError("complete_nonlocal_occurrences_required") + blocks = {"local": local} + blocks.update({"nonlocal:" + key: _array(value, (size, size), "nonlocal_jacobian") + for key, value in coupling_jacobians.items()}) + allowed = {key: np.zeros((size, size), dtype=bool) for key in blocks} + values = {} + for term in plan.terms: + key = "local" if term.id.startswith("local:") else ":".join(term.id.split(":")[:2]) + rows = term.pairs[:, 0] + plan.graph.row_offsets[term.equation].start + cols = term.pairs[:, 1] + plan.layout.offsets[term.variable].start + allowed[key][rows, cols] = True + values[term.id] = blocks[key][rows, cols] + for key, block in blocks.items(): + if np.any(block[~allowed[key]] != 0): + raise ContractError("derivative_outside_declared_" + key) + return plan.graph.assemble(values, supports=plan.terms, topology_identity=topology) + + +def normalized_system(matrix, residual, row_reference, variable_reference): + shape = matrix.shape + if shape[0] != shape[1]: + raise ContractError("square_physical_operator_required") + rows = _array(row_reference, (shape[0],), "row_reference") + cols = _array(variable_reference, (shape[1],), "variable_reference") + residual = _array(residual, (shape[0],), "physical_residual") + if np.any(rows <= 0) or np.any(cols <= 0): + raise ContractError("positive_dimensional_scales") + dense = matrix.toarray() if hasattr(matrix, "toarray") else _array(matrix, shape, "matrix") + return dense * cols[None, :] / rows[:, None], -residual / rows + + +def recycling_border(plan, U_normalized, V_normalized, state_scale, rate_scale): + """Use only the source-justified photon rank, never a WKB phi rank.""" + n, rank = plan.nodes, len(plan.nonlocal_plan.couplings) + if not rank or any(not c.id.startswith("recycling.") for c in plan.nonlocal_plan.couplings): + raise ContractError("only_recycling_has_this_declared_border") + u = _array(U_normalized, (3 * n, rank), "recycling_U") + v = _array(V_normalized, (3 * n, rank), "recycling_V") + scales = _array(state_scale, (3 * n,), "recycling_state_scale") + if np.any(scales <= 0) or not np.isfinite(rate_scale) or rate_scale <= 0: + raise ContractError("positive_recycling_scales") + full_u = np.zeros((3 * n, rank)) + for block, equation in enumerate(CARRIER_ROWS): + full_u[plan.rows(equation)] = (-plan.geometry.volumes[1:-1, None] + * rate_scale * u[block * n + plan.interior]) + full_v = v / scales[:, None] + return full_u, full_v + + +def auxiliary_system(plan, local_matrix, U, V, row_reference, variable_reference, surface_rate_reference): + """[[J_local,U],[-V.T,I]] with dimensioned recycling closure scaling.""" + local = np.asarray(local_matrix, dtype=float) + n = len(local) + if local.shape != (n, n) or U.shape[0] != n or V.shape != U.shape: + raise ContractError("physical_auxiliary_shapes") + rows = _array(row_reference, (n,), "auxiliary_rows") + cols = _array(variable_reference, (n,), "auxiliary_variables") + aux = _array(surface_rate_reference, (U.shape[1],), "surface_rate_reference") + if any(np.any(x <= 0) for x in (rows, cols, aux)): + raise ContractError("positive_auxiliary_scales") + # Keep structural slots even when an entire absorber is presently inactive. + # The source declaration, not a numerical zero test, defines this pattern. + if any(not c.id.startswith("recycling.") for c in plan.nonlocal_plan.couplings): + raise ContractError("only_recycling_has_this_declared_border") + pairs = set() + for term in plan.terms: + if term.id.startswith("local:"): + pairs.update((int(i)+plan.graph.row_offsets[term.equation].start, + int(j)+plan.layout.offsets[term.variable].start) for i,j in term.pairs) + allowed = np.zeros((n,n),bool) + for i,j in pairs: allowed[i,j] = True + if np.any(local[~allowed] != 0): + raise ContractError("auxiliary_local_derivative_outside_support") + ii, jj, data = [], [], [] + def append(i,j,value): ii.append(i); jj.append(j); data.append(value) + for i,j in sorted(pairs): append(i,j,local[i,j]*cols[j]/rows[i]) + if len(plan.nonlocal_plan.couplings) != len(aux): + raise ContractError("source_auxiliary_rank") + for k,coupling in enumerate(plan.nonlocal_plan.couplings): + receivers = [int(plan.rows(CARRIER_ROWS[r//plan.nodes])[r%plan.nodes-1]) + for r in coupling.rows if 0 < r%plan.nodes < plan.nodes-1] + senders = list(coupling.columns) + if np.any(np.delete(U[:,k],receivers) != 0) or np.any(np.delete(V[:,k],senders) != 0): + raise ContractError("auxiliary_derivative_outside_support") + for i in receivers: append(i,n+k,U[i,k]*aux[k]/rows[i]) + for j in senders: append(n+k,j,-V[j,k]*cols[j]/aux[k]) + append(n+k,n+k,1.) + return csc_matrix((data,(ii,jj)),shape=(n+len(aux),n+len(aux))) + + + +def poisson_chain_support(plan): + """Conservative full Dirichlet-Poisson inverse support, not coefficient sparsity.""" + n = plan.nodes + poisson_rows = np.r_[plan.rows("x_poisson"), plan.rows("y_phi_contact")] + retained_rows = np.array([row for row in range(3 * n) if row not in set(poisson_rows)]) + carrier_columns = np.arange(2 * n) + direct = set() + phi_affected, charged_columns = set(), set() + row_map = {int(row): i for i, row in enumerate(retained_rows)} + for term in plan.terms: + rows = term.pairs[:, 0] + plan.graph.row_offsets[term.equation].start + cols = term.pairs[:, 1] + plan.layout.offsets[term.variable].start + for row, col in zip(rows, cols): + if int(row) in row_map: + if col < 2 * n: + direct.add((row_map[int(row)], int(col))) + else: + phi_affected.add(row_map[int(row)]) + elif term.equation == "x_poisson" and col < 2 * n: + charged_columns.add(int(col)) + chain = {(row, col) for row in phi_affected for col in charged_columns} + return {"retained_rows": retained_rows, "poisson_rows": poisson_rows, + "carrier_columns": carrier_columns, "phi_columns": np.arange(2 * n, 3 * n), + "direct_edges": np.array(sorted(direct), dtype=int).reshape(-1, 2), + "chain_edges": np.array(sorted(chain), dtype=int).reshape(-1, 2), + "reduced_edges": np.array(sorted(direct | chain), dtype=int).reshape(-1, 2), + "coefficient_mask_used": False} + + +def poisson_schur(plan, matrix, rhs, solve): + """One explicitly counted block solve; all Poisson-chain columns survive. + + This is exact block elimination of the full linearized physical system. + It does not project the starting state or assert g=0 at that state. + """ + if not callable(solve): + raise ContractError("explicit_counted_block_solver_required") + n = plan.nodes + full = _array(matrix, (3 * n, 3 * n), "coupled_jacobian") + right = _array(rhs, (3 * n,), "coupled_rhs") + support = poisson_chain_support(plan) + rr, pr = support["retained_rows"], support["poisson_rows"] + cc, pc = support["carrier_columns"], support["phi_columns"] + solved = solve(full[np.ix_(pr, pc)], np.c_[full[np.ix_(pr, cc)], right[pr]]) + solved = _array(solved, (n, 2 * n + 1), "Poisson_block_solution") + reduced = full[np.ix_(rr, cc)] - full[np.ix_(rr, pc)] @ solved[:, :2 * n] + reduced_rhs = right[rr] - full[np.ix_(rr, pc)] @ solved[:, -1] + return {"matrix": reduced, "rhs": reduced_rhs, + "phi_per_carrier": -solved[:, :2 * n], "phi_rhs": solved[:, -1], + "support": support} + + +def recycling_2d_declaration(nx, ny, absorber_y_ranges): + """Source support only for y-then-x integration and uniform redistribution. + + Sender quadrature must use wx*wy and absorber *area*, not a flattened + one-dimensional trapezoid. Recipient FV volumes include explicit unit + depth. This declaration is not a physical 2D execution/size claim. + """ + if type(nx) is not int or type(ny) is not int or min(nx, ny) < 2: + raise ContractError("two_dimensional_axes_required") + masks = [] + for lo, hi in absorber_y_ranges: + if type(lo) is not int or type(hi) is not int or not 0 <= lo < hi <= ny: + raise ContractError("absorber_vertical_range") + masks.append(tuple(j * nx + i for j in range(lo, hi) for i in range(nx))) + return recycling_plan(nx * ny, masks) + + +def source_local_fields(plan, material, state, enter): + """Deferred constitutive calls to existing laws, with meaningful entry counts. + + The selected witness requires the original sharp thermionic cap to remain + strictly inactive. An active/equal cap is retained as a branch failure, + never replaced by uncapped transport or by another normalization. + """ + if not callable(enter): + raise ContractError("admitted_counted_physical_entry_required") + enter("local_constitutive_point") + from perovskite_sim.constants import Q + if material["charge_C"] != Q or Q != SOURCE_CHARGE_C: + raise ContractError("source_charge_constant_binding") + from perovskite_sim.physics.continuity import carrier_face_currents + from perovskite_sim.discretization.fe_operators import ( + sg_fluxes_n, sg_fluxes_p, thermionic_emission_flux, + ) + from perovskite_sim.physics.recombination import ( + srh_recombination, radiative_recombination, auger_recombination, + ) + n = plan.nodes + y = _array(state, (3 * n,), "physical_state") + electrons, holes, phi = y[:n], y[n:2 * n], y[2 * n:] + if np.any(electrons <= 0) or np.any(holes <= 0): + raise ContractError("nonpositive_physical_carriers") + params = material["transport"] + if (params.get("carrier_statistics", "maxwell_boltzmann") != "maxwell_boltzmann" + or params.get("te_softness", 0) != 0 or params.get("exclusive_interface_faces") + or params.get("het_recomb_despike", 0) != 0): + raise ContractError("unsupported_N02_local_transport_branch") + enter("carrier_face_currents") + jn, jp = carrier_face_currents(plan.x, phi, electrons, holes, params) + chi, gap = params.get("chi"), params.get("Eg") + phi_n = phi if chi is None else phi + np.asarray(chi) + phi_p = phi if chi is None else phi_n + np.asarray(gap) + enter("uncapped_SG_electron") + un = sg_fluxes_n(phi_n, electrons, np.diff(plan.x), params["D_n"], params["V_T"]) + enter("uncapped_SG_hole") + up = sg_fluxes_p(phi_p, holes, np.diff(plan.x), params["D_p"], params["V_T"]) + margins = [] + for face in params.get("interface_faces", ()): + physical_chi = np.asarray(chi if params.get("chi_te") is None else params["chi_te"]) + physical_gap = np.asarray(gap if params.get("Eg_te") is None else params["Eg_te"]) + barriers = (physical_chi[face] - physical_chi[face + 1], + physical_chi[face] + physical_gap[face] + - physical_chi[face + 1] - physical_gap[face + 1]) + for species, population, raw, barrier, richardson, dos_key in ( + ("n", electrons, un, barriers[0], params["A_star_n"], "N_C_node"), + ("p", holes, up, barriers[1], params["A_star_p"], "N_V_node"), + ): + if abs(barrier) <= 0.05: + continue + dos = None + if params.get("te_physical_norm", False): + values = params.get(dos_key) + if values is not None and all(np.isfinite(values[i]) and values[i] > 0 for i in (face, face + 1)): + dos = float(np.sqrt(values[face] * values[face + 1])) + enter("thermionic_guard") + cap = thermionic_emission_flux(float(population[face]), float(population[face + 1]), + float(barrier), params["T"], float(richardson[face]), N_dos=dos) + witness = {"face": int(face), "species": species, "uncapped_current": float(raw[face]), + "source_cap": float(cap), "normalization": "physical_DOS" if dos is not None else "legacy_empirical"} + margins.append(witness) + if not np.isfinite(cap) or not abs(raw[face]) < abs(cap): + error = ContractError("active_or_unresolved_thermionic_cap") + error.witness = witness + raise error + if not np.array_equal(jn, un) or not np.array_equal(jp, up): + raise ContractError("declared_inactive_TE_branch_not_reproduced") + rec = material["recombination"] + enter("radiative_recombination") + recombination = radiative_recombination(electrons, holes, rec["ni_sq"], rec["B_rad"]) + enter("auger_recombination") + recombination += auger_recombination(electrons, holes, rec["ni_sq"], rec["C_n"], rec["C_p"]) + if rec["srh_enabled"]: + enter("SRH_recombination") + recombination += srh_recombination(electrons, holes, rec["ni_sq"], rec["tau_n"], rec["tau_p"], rec["n1"], rec["p1"]) + enter("Poisson_residual_assembly") + eps = _array(material["epsilon_F_m"], (n,), "permittivity") + if np.any(eps <= 0): + raise ContractError("positive_permittivity") + face_eps = 2 * eps[:-1] * eps[1:] / (eps[:-1] + eps[1:]) + q = float(material["charge_C"]) + rho = q * (holes - electrons + np.asarray(material["N_D_m3"]) - np.asarray(material["N_A_m3"])) + return {"currents_A_m2": np.array([jn, jp]), + "net_generation_m3_s": np.asarray(material["external_generation_m3_s"]) - recombination, + "displacement_C_m2": -face_eps * np.diff(phi) / np.diff(plan.x), + "charge_density_C_m3": rho, "thermionic_margins": margins, + "branch_receipt": {"state": array_identity(y), "material": material_identity(material), + "topology": plan.topology, "strictly_inactive_TE": True}} + + +def source_local_jacobian(plan, material, state, cj_s_inv, branch_receipt, enter): + """Existing SG/recombination derivatives plus actual cj*dQ/dy and pins. + + The caller must first establish the strictly inactive local cap branch at + this exact state via source_local_fields. The nonlocal derivative is + added separately from source-bound N01 component data. + """ + if not callable(enter): + raise ContractError("admitted_counted_physical_entry_required") + if branch_receipt != {"state": array_identity(state), "material": material_identity(material), + "topology": plan.topology, "strictly_inactive_TE": True}: + raise ContractError("same_state_material_and_branch_receipt_required") + enter("local_analytic_jacobian") + from perovskite_sim.constants import Q + if material["charge_C"] != Q or Q != SOURCE_CHARGE_C: + raise ContractError("source_charge_constant_binding") + from perovskite_sim.discretization.fe_operators import ( + sg_fluxes_n_jacobian, sg_fluxes_p_jacobian, + ) + from perovskite_sim.physics.recombination import ( + srh_recombination_derivatives, radiative_recombination_derivatives, + auger_recombination_derivatives, + ) + n = plan.nodes + y = _array(state, (3 * n,), "physical_state") + if not np.isfinite(cj_s_inv) or cj_s_inv < 0: + raise ContractError("physical_cj_s_inv") + electrons, holes, phi = y[:n], y[n:2 * n], y[2 * n:] + params, rec = material["transport"], material["recombination"] + vt, dx, q = float(params["V_T"]), np.diff(plan.x), float(material["charge_C"]) + chi = params.get("chi") + phi_n = phi if chi is None else phi + np.asarray(chi) + phi_p = phi if chi is None else phi_n + np.asarray(params["Eg"]) + rates_jacobian = np.zeros((2 * n, 3 * n)) + for block, density, potential, diffusion, derivative in ( + (0, electrons, phi_n, params["D_n"], sg_fluxes_n_jacobian), + (1, holes, phi_p, params["D_p"], sg_fluxes_p_jacobian)): + # Each native helper evaluates and returns its SG face flux as well. + enter("SG_jacobian_with_flux") + tangent = derivative(potential, density, dx, diffusion, vt) + particle_sign = (-1 if block == 0 else 1) / q + face_derivatives = (tangent.density_left_derivative, + tangent.density_right_derivative, + tangent.potential_left_derivative, + tangent.potential_right_derivative) + for face in range(n - 1): + columns = (block * n + face, block * n + face + 1, + 2 * n + face, 2 * n + face + 1) + for node, incidence in ((face, -1), (face + 1, 1)): + row = block * n + node + for column, values in zip(columns, face_derivatives): + rates_jacobian[row, column] += (incidence * plan.area_m2 + * particle_sign * values[face]) + enter("radiative_derivatives") + radiative = radiative_recombination_derivatives(electrons, holes, rec["ni_sq"], rec["B_rad"]) + enter("auger_derivatives") + auger = auger_recombination_derivatives(electrons, holes, rec["ni_sq"], rec["C_n"], rec["C_p"]) + dn = radiative.electron_density_derivative + auger.electron_density_derivative + dp = radiative.hole_density_derivative + auger.hole_density_derivative + if rec["srh_enabled"]: + enter("SRH_derivatives") + srh = srh_recombination_derivatives(electrons, holes, rec["ni_sq"], rec["tau_n"], rec["tau_p"], rec["n1"], rec["p1"]) + dn = dn + srh.electron_density_derivative + dp = dp + srh.hole_density_derivative + for block in (0, 1): + rows = block * n + np.arange(n) + rates_jacobian[rows, np.arange(n)] -= plan.geometry.volumes * dn + rates_jacobian[rows, n + np.arange(n)] -= plan.geometry.volumes * dp + full = cj_s_inv * physical_storage(plan) + for block, equation in enumerate(CARRIER_ROWS): + full[plan.rows(equation)] -= rates_jacobian[block * n + plan.interior] + eps = np.asarray(material["epsilon_F_m"]) + face_eps = 2 * eps[:-1] * eps[1:] / (eps[:-1] + eps[1:]) + for row, node in zip(plan.rows("x_poisson"), plan.interior): + a, b = plan.area_m2 * face_eps[node - 1] / dx[node - 1], plan.area_m2 * face_eps[node] / dx[node] + full[row, 2 * n + node - 1:2 * n + node + 2] = [-a, a + b, -b] + full[row, node] = q * plan.geometry.volumes[node] + full[row, n + node] = -q * plan.geometry.volumes[node] + for variable, equation in (("n_m3", "z_n_contact"), ("p_m3", "zz_p_contact"), + ("phi_V", "y_phi_contact")): + full[plan.rows(equation), plan.layout.offsets[variable].start + np.array([0, n - 1])] = 1 + return full + + +def verify_component_binding(expected, observed): + """Require an exact cached source/state/geometry binding before reuse. + + Hashes are validated by the runner against raw files, then compared here. + A matching layout or a nearby state alone is never enough. + """ + keys = {"source_request", "artifact", "state", "geometry", "topology"} + if (set(expected) != keys or set(observed) != keys + or any(not isinstance(value, str) or len(value) != 64 + or any(c not in "0123456789abcdef" for c in value) + for value in [*expected.values(), *observed.values()]) + or expected != observed): + raise ContractError("exact_component_source_state_geometry_binding_required") + + +def solve_diagnostics(matrix, rhs, solution): + """Normwise and rowwise backward errors in a declared normalized system.""" + a = np.asarray(matrix, dtype=float) + n = len(a) + a = _array(a, (n, n), "solve_matrix") + b = _array(rhs, (n,), "solve_rhs") + x = _array(solution, (n,), "solve_solution") + residual = a @ x - b + denominator = np.abs(a) @ np.abs(x) + np.abs(b) + rowwise = np.divide(np.abs(residual), denominator, + out=np.zeros(n), where=denominator != 0) + if np.any((denominator == 0) & (residual != 0)): + raise ContractError("nonzero_residual_on_zero_scale") + scale = np.linalg.norm(a, np.inf) * np.linalg.norm(x, np.inf) + np.linalg.norm(b, np.inf) + return {"residual": residual, "componentwise_backward_error": rowwise, + "maximum_componentwise_backward_error": float(max(rowwise)), + "normwise_backward_error": float(np.linalg.norm(residual, np.inf) / scale) if scale else 0.0} diff --git a/scripts/benchmarks/nonlocal_sparse.py b/scripts/benchmarks/nonlocal_sparse.py new file mode 100644 index 00000000..b6dcb56d --- /dev/null +++ b/scripts/benchmarks/nonlocal_sparse.py @@ -0,0 +1,299 @@ +"""Small P02-07 nonlocal support witness, never a production solver. + +The coordinate order is (n, p, phi), each a nodal block. Graph/solve inputs +are explicitly scaled by the caller; ONE below is not a claim that physical +densities, potentials and rates have the same units. No legacy engine is +imported. The separately admitted driver supplies physical coefficients. +""" + +from __future__ import annotations + +import json +from dataclasses import dataclass +from hashlib import sha256 + +import numpy as np + +from scripts.benchmarks.contract_prototype import ( + ONE, ContractError, EquationSpec, Layout, Support, VariableSpec, integer_indices, +) +from scripts.benchmarks.sparse_prototype import SparseGraph, TermSupport, ion_domains + +# A small witness allocation guard, not an admission for a physical scale. +MAX_WITNESS_NODES = 128 + + +def _count(value: int) -> int: + values = integer_indices([value]) + if values.shape != (1,) or not 2 <= values[0] <= MAX_WITNESS_NODES: + raise ContractError("nonlocal_witness_size_limit") + return int(values[0]) + + +def _nodes(values, count: int) -> tuple[int, ...]: + nodes = integer_indices(values) + if (nodes.ndim != 1 or np.any(nodes < 0) or np.any(nodes >= count) + or len(set(nodes.tolist())) != len(nodes)): + raise ContractError("invalid_nonlocal_nodes") + return tuple(int(value) for value in nodes) + + +def _finite(values, shape): + array = np.asarray(values, dtype=float) + if array.shape != shape or not np.all(np.isfinite(array)): + raise ContractError("nonlocal_coefficient_shape_or_finiteness") + return array + + +@dataclass(frozen=True) +class Coupling: + id: str + rows: tuple[int, ...] + columns: tuple[int, ...] + # Ordered, per-energy branch labels, not coefficient values/nonzero masks. + topology: str + + +@dataclass(frozen=True) +class NonlocalPlan: + nodes: int + couplings: tuple[Coupling, ...] + + def __post_init__(self): + count = _count(self.nodes) + object.__setattr__(self, "nodes", count) + if len({c.id for c in self.couplings}) != len(self.couplings): + raise ContractError("duplicate_nonlocal_identity") + checked = [] + for c in self.couplings: + if (not isinstance(c.id, str) or not c.id or c.id == "identity" + or not isinstance(c.topology, str)): + raise ContractError("invalid_nonlocal_identity") + checked.append(Coupling(c.id, _nodes(c.rows, 3 * count), + _nodes(c.columns, 3 * count), c.topology)) + object.__setattr__(self, "couplings", tuple(checked)) + + def to_document(self) -> dict: + return {"schema": "solarlab.nonlocal-support.v1", "nodes": self.nodes, + "coordinate_order": ["n", "p", "phi"], + "couplings": [{"id": c.id, "rows": list(c.rows), + "columns": list(c.columns), "topology": c.topology} + for c in self.couplings]} + + @classmethod + def from_document(cls, value: dict) -> NonlocalPlan: + try: + if (set(value) != {"schema", "nodes", "coordinate_order", "couplings"} + or value["schema"] != "solarlab.nonlocal-support.v1" + or value["coordinate_order"] != ["n", "p", "phi"]): + raise ValueError + couplings = [] + for row in value["couplings"]: + if set(row) != {"id", "rows", "columns", "topology"}: + raise ValueError + couplings.append(Coupling(row["id"], tuple(row["rows"]), + tuple(row["columns"]), row["topology"])) + return cls(value["nodes"], tuple(couplings)) + except (KeyError, TypeError, ValueError) as error: + raise ContractError("invalid_nonlocal_document") from error + + @property + def identity(self): + return sha256(json.dumps(self.to_document(), sort_keys=True, + separators=(",", ":"), allow_nan=False).encode()).hexdigest() + + def compile(self) -> SparseGraph: + size = 3 * self.nodes + layout = Layout((Support("nodes", "cell", (size,)),), + (VariableSpec("state", "nonlocal", "nodes", (size,), ONE),), + (EquationSpec("balance", "nonlocal", "nodes", (size,), ONE, + derivative_support=("state",)),)) + diagonal = np.arange(size) + terms = [TermSupport("identity", "nonlocal", "balance", "state", + np.column_stack((diagonal, diagonal)))] + terms.extend(TermSupport.cartesian(c.id, "nonlocal", "balance", "state", + c.rows, c.columns) for c in self.couplings) + return SparseGraph(layout, terms, topology_identity=self.identity) + + def assemble(self, graph: SparseGraph, jacobians: dict, *, diagonal=1.0): + """Assemble diagonal*I + J; reject any lost derivative, even a tiny one.""" + current = self.compile() + if current.identity != graph.identity: + raise ContractError("structural_recompile_required") + if set(jacobians) != {c.id for c in self.couplings}: + raise ContractError("nonlocal_coefficient_identity_mismatch") + size = 3 * self.nodes + if not np.isfinite(diagonal): + raise ContractError("nonfinite_diagonal") + values = {"identity": np.full(size, diagonal)} + for term in current.supports: + if term.id == "identity": + continue + array = _finite(jacobians[term.id], (size, size)) + covered = np.zeros(array.shape, dtype=bool) + covered[term.pairs[:, 0], term.pairs[:, 1]] = True + if np.any(array[~covered] != 0.0): + raise ContractError("derivative_outside_declared_support") + values[term.id] = array[term.pairs[:, 0], term.pairs[:, 1]] + return graph.assemble(values, supports=current.supports, + topology_identity=current.topology_identity) + + +def recycling_plan(nodes: int, masks) -> NonlocalPlan: + count = _count(nodes) + couplings = [] + for occurrence, mask in enumerate(masks): + selected = _nodes(mask, count) + if tuple(sorted(selected)) != selected: + raise ContractError("absorber_mask_must_follow_grid_order") + carriers = selected + tuple(count + i for i in selected) + couplings.append(Coupling(f"recycling.{occurrence}", carriers, carriers, + json.dumps({"mask": selected, "occurrence": occurrence}))) + return NonlocalPlan(count, tuple(couplings)) + + +def recycling_factors(x, n, p, b_rad, ni_sq, masks, escape, thickness): + """MoL historical trapezoid/thickness feedback and its smooth-branch tangent. + + Returns G (m^-3 s^-1 for SI inputs), U,V with J=U@V.T in physical + (n,p,phi) coordinates, and branch labels. At R_tot==0 a regular tangent + is intentionally refused. Nonpositive thickness / escape>=1 / <2 mask + nodes retain their source-defined inactive behavior and structural slots. + """ + x = np.asarray(x, dtype=float) + count = _count(x.size) + x = _finite(x, (count,)) + if np.any(np.diff(x) <= 0): + raise ContractError("nonincreasing_recycling_grid") + n, p, b_rad, ni_sq = (_finite(v, (count,)) for v in (n, p, b_rad, ni_sq)) + plan = recycling_plan(count, masks) + escape = _finite(escape, (len(plan.couplings),)) + thickness = _finite(thickness, escape.shape) + u, v = np.zeros((3 * count, len(escape))), np.zeros((3 * count, len(escape))) + generation, branches = np.zeros(count), [] + for k, coupling in enumerate(plan.couplings): + indices = np.array([i for i in coupling.rows if i < count], dtype=int) + if thickness[k] <= 0 or escape[k] >= 1 or len(indices) < 2: + branches.append("inactive_parameter_or_mask") + continue + dx = np.diff(x[indices]) + weights = np.r_[dx, 0.0] / 2 + np.r_[0.0, dx] / 2 + total = float(weights @ (b_rad[indices] * (n[indices] * p[indices] - ni_sq[indices]))) + if not np.isfinite(total): + raise ContractError("nonfinite_recycling_integral") + if total == 0: + raise ContractError("nonregular_recycling_threshold") + if total < 0: + branches.append("inactive_negative_integral") + continue + scale = (1 - escape[k]) / thickness[k] + generation[indices] += total * scale + u[list(coupling.rows), k] = scale + v[indices, k] = weights * b_rad[indices] * p[indices] + v[count + indices, k] = weights * b_rad[indices] * n[indices] + branches.append("active_positive_integral") + if not all(np.all(np.isfinite(a)) for a in (generation, u, v)): + raise ContractError("nonfinite_recycling_coefficient") + return generation, u, v, tuple(branches) + + +def auxiliary_matrix(plan: NonlocalPlan, u, v, *, diagonal=1.0): + """Sparse [[dI,U],[-V^T,I]]; eliminate auxiliary variables to get dI+UV^T. + + Every absorber retains its separate occurrence, including overlaps and + presently inactive terms. This is a normalized linear operator witness. + """ + size, rank = 3 * plan.nodes, len(plan.couplings) + if rank < 1 or not np.isfinite(diagonal): + raise ContractError("invalid_auxiliary_rank_or_diagonal") + u, v = _finite(u, (size, rank)), _finite(v, (size, rank)) + layout = Layout((Support("nodes", "cell", (size,)), Support("aux", "global", (rank,))), + (VariableSpec("state", "nonlocal", "nodes", (size,), ONE), + VariableSpec("transfer", "aux", "aux", (rank,), ONE, role="constraint")), + (EquationSpec("balance", "nonlocal", "nodes", (size,), ONE, + derivative_support=("state", "transfer")), + EquationSpec("constraint", "aux", "aux", (rank,), ONE, + role="constraint", derivative_support=("state", "transfer")))) + d, a = np.arange(size), np.arange(rank) + terms = [TermSupport("diagonal", "nonlocal", "balance", "state", np.c_[d, d]), + TermSupport("aux.diagonal", "aux", "constraint", "transfer", np.c_[a, a], "nonlocal")] + values = {"diagonal": np.full(size, diagonal), "aux.diagonal": np.ones(rank)} + for k, c in enumerate(plan.couplings): + allowed_u, allowed_v = np.zeros(size, bool), np.zeros(size, bool) + allowed_u[list(c.rows)], allowed_v[list(c.columns)] = True, True + if np.any(u[~allowed_u, k] != 0) or np.any(v[~allowed_v, k] != 0): + raise ContractError("auxiliary_factor_outside_support") + row = TermSupport.cartesian(c.id + ".row", "aux", "constraint", "state", [k], c.columns) + col = TermSupport.cartesian(c.id + ".column", "nonlocal", "balance", "transfer", c.rows, [k]) + terms.extend((row, col)) + values[row.id], values[col.id] = -v[list(c.columns), k], u[list(c.rows), k] + graph = SparseGraph(layout, terms, topology_identity=plan.identity) + return graph, graph.assemble(values, supports=terms, topology_identity=plan.identity) + + +def wkb_plan(nodes: int, region, bounds, selectors) -> NonlocalPlan: + """Structural device-v2 electron intraband footprint, without evaluating WKB. + + Each (a,b) contains both turning segments, as in intraband_path_flux. + qFn depends on n and phi at the interpolated endpoints. The energy + window/minima/peak and actions also depend on phi throughout the declared + region, so those potential columns are never frozen away. The ordered + bounds and extrema selectors invalidate reuse even if union edges match. + """ + count = _count(nodes) + region = tuple(integer_indices(region).tolist()) + if (len(region) != 4 or not 0 <= region[0] < region[1] < region[2] < region[3] <= count): + raise ContractError("unsupported_wkb_region") + pairs = integer_indices(bounds) + if pairs.ndim != 2 or pairs.shape[1] != 2 or not 4 <= len(pairs) <= 128: + raise ContractError("unsupported_wkb_quadrature") + if np.any(np.diff(pairs[:, 0]) < 0) or np.any(np.diff(pairs[:, 1]) > 0): + raise ContractError("wkb_paths_must_nest_in_increasing_energy_order") + selected = tuple(integer_indices(selectors).tolist()) + # (left min node, right min node, peak node, base side 0/1). + if (len(selected) != 4 or not region[0] <= selected[0] < region[1] + or not region[2] <= selected[1] < region[3] + or not region[1] <= selected[2] < region[2] or selected[3] not in (0, 1)): + raise ContractError("unsupported_wkb_extrema") + rows, density = set(), set() + for a, b in pairs: + if not region[0] <= a < b < region[3] - 1 or not a < selected[2] <= b: + raise ContractError("wkb_turning_path_outside_region") + rows.update(range(int(a), int(b) + 2)) + density.update((int(a), int(a) + 1, int(b), int(b) + 1)) + columns = sorted(density) + [2 * count + i for i in range(region[0], region[3])] + token = json.dumps({"region": region, "bounds_in_energy_order": pairs.tolist(), + "selectors": selected, "device_version": "wkb-tunnelling-channel-device-v2"}, + sort_keys=True, separators=(",", ":")) + return NonlocalPlan(count, (Coupling("wkb.electron", tuple(sorted(rows)), tuple(columns), token),)) + + +def disconnected_inventory(nodes: int, faces, diffusivity, weights): + """Exact-D connectivity plus one inventory border per connected domain. + + This witnesses topology only. It does not remove a charged species when + D=0, infer c0=0, or define time-dependent/frozen-ion physical semantics. + """ + count = _count(nodes) + domains = ion_domains(count, faces, diffusivity) + weights = _finite(weights, (count,)) + if np.any(weights <= 0): + raise ContractError("positive_inventory_weights_required") + rank = len(domains.domains) + layout = Layout((Support("nodes", "cell", (count,)), Support("totals", "global", (rank,))), + (VariableSpec("density", "bulk", "nodes", (count,), ONE), + VariableSpec("multiplier", "inventory", "totals", (rank,), ONE, role="constraint")), + (EquationSpec("balance", "bulk", "nodes", (count,), ONE, + derivative_support=("density", "multiplier")), + EquationSpec("inventory", "inventory", "totals", (rank,), ONE, + role="constraint", derivative_support=("density",)))) + rows = [(k, i) for k, domain in enumerate(domains.domains) for i in domain] + row = TermSupport("inventory.row", "inventory", "inventory", "density", rows, "inventory") + col = TermSupport("inventory.column", "bulk", "balance", "multiplier", + [(i, k) for k, i in rows], "inventory") + diagonal = TermSupport("synthetic.diagonal", "bulk", "balance", "density", np.c_[np.arange(count), np.arange(count)]) + graph = SparseGraph(layout, (row, col, diagonal), topology_identity=domains.identity) + values = {row.id: weights[row.pairs[:, 1]], col.id: weights[col.pairs[:, 0]], + diagonal.id: np.ones(count)} + return domains, graph, graph.assemble(values, supports=graph.supports, + topology_identity=domains.identity) diff --git a/scripts/benchmarks/physical_tolerance.py b/scripts/benchmarks/physical_tolerance.py new file mode 100644 index 00000000..80e1bf22 --- /dev/null +++ b/scripts/benchmarks/physical_tolerance.py @@ -0,0 +1,305 @@ +"""PhysicalToleranceV1 metadata only; no model or execution authority. + +The native callback and independent reader perform their own weight arithmetic. +This module shares only frozen profile construction and exact option binding. +""" +from __future__ import annotations + +from fractions import Fraction +from hashlib import sha256 +import json +import math + +from perovskite_sim.constants import K_B, Q + +SCHEMA = "solarlab.physical-tolerance.v1" +WEIGHT_SCHEMA = "sksundae.ida.physical-affine-weights.v1" +ROUNDING = "RN-exact-physical-X_then-unfused-physical-EWT-v1" +PROFILES = ((1e-4, 1e-8), (1e-5, 1e-8), (1e-6, 1e-10)) +CHARGE_ALLOCATION = "physical_charge.budget_C/12 * actual_interval/full_protocol / 32 per integral" +NONLINEAR = dict(nonlin_conv_coef=1e-8, nonlin_guard="first-correction-wrms-v1", + nonlin_trace_capacity=4096, max_nonlin_iters=4, max_conv_fails=10) + + +def certificate_failure_policy(*, observation="online", t1=None): + """Explicit new-history semantics; absence keeps every historical stop rule. + + A missing reviewed T1 definition is a pending proof, never a zero tolerance + or a pass. This metadata does not admit a run or change IDA controls. + """ + require(type(observation) is str and observation in {"online", "sealed-history"}, "certificate_observation_mode") + if t1 is not None: + require(type(t1) is dict and set(t1) == {"schema", "sha256"} + and t1["schema"] in {"solarlab.g2-route.t1-gatespec.v2", "solarlab.g2-route.t1-gatespec.v3"} + and type(t1["sha256"]) is str and len(t1["sha256"]) == 64 + and all(c in "0123456789abcdef" for c in t1["sha256"]), "reviewed_T1_definition_required") + return {"schema": "solarlab.certificate-failure-policy.v1", + "scientific_failure": "latch-and-continue", "safety_failure": "stop", + "observation": observation, "T1": t1, + "legacy_charge_role": "retained-diagnostic", + "physical_acceptance": "requires-all-proofs"} + + +def validate_certificate_policy(request): + if "certificate_failure_policy" not in request: + return None + value = request["certificate_failure_policy"] + require(type(value) is dict and digest(value) == digest(certificate_failure_policy( + observation=value.get("observation"), t1=value.get("T1"))), "certificate_policy_binding") + require("diagnostic_interval" not in request, "certificate_complete_protocol_only") + return value + + +def run_window_policy(request, last_segment): + """A declared prefix of the original protocol, ending on a retained side.""" + require(validate_certificate_policy(request) is not None, "window_requires_certificate_policy") + segments = request["segments"] + matches = [i for i, segment in enumerate(segments) if segment["id"] == last_segment] + require(len(matches) == 1 and matches[0] < len(segments)-1, "window_segment_boundary") + count = matches[0]+1 + return {"schema": "solarlab.protocol-run-window.v1", "last_segment": last_segment, + "segment_count": count, "protocol_sha256": digest(segments), + "start_hex": float(segments[0]["start"]).hex(), "end_hex": float(segments[count-1]["end"]).hex(), + "full_end_hex": float(segments[-1]["end"]).hex(), + "sample_records": sum(len(request["observation_times"][s["id"]]) for s in segments[:count]), + "initial_state": "original-protocol-initial-state", "multistep_history_restored": False} + + +def run_segment_count(request): + window = request.get("execution_window") + if "execution_window" not in request: + return len(request["segments"]) + require(type(window) is dict and window == run_window_policy(request, window.get("last_segment")), + "window_binding") + return window["segment_count"] + + +def digest(value): + return sha256(json.dumps(value, sort_keys=True, separators=(",", ":"), allow_nan=False).encode()).hexdigest() + + +def require(condition, reason): + if not condition: + raise ValueError("physical_tolerance_" + reason) + + +def scalar(value, *, positive=False): + require(type(value) in (float, int) and math.isfinite(value), "finite_scalar") + require(not positive or value > 0, "positive_scalar") + return float(value) + + +def make_policy(packet, profile): + require(type(profile) is dict and set(profile) == {"r", "alpha"}, "profile_fields") + r, alpha = (scalar(profile[k], positive=True) for k in ("r", "alpha")) + require((r, alpha) in PROFILES, "unsupported_profile") + scales = [scalar(v, positive=True) for v in packet["column_scaling"]] + size = len(scales) + require(size > 0, "empty_layout") + offsets = packet["variable_offsets"] + require(set(offsets) in ({"n_m3", "p_m3", "phi_V"}, {"c_m3", "f", "n_m3", "p_m3", "phi_V"}), "fields") + fields = packet["physical_reference_fields"] + reference = packet["initial_reference"]["payload"]["fields"] + temperature = scalar(packet["definition"]["temperature"], positive=True) + absolute, roots, covered = [None]*size, [[None]*size for _ in range(2)], set() + for name, bounds in offsets.items(): + require(type(bounds) in (list, tuple) and len(bounds) == 2, "offsets") + lo, hi = bounds + require(type(lo) is int and type(hi) is int and 0 <= lo < hi <= size, "offsets") + require(not (set(range(lo, hi)) & covered), "overlapping_offsets") + covered.update(range(lo, hi)) + pair = fields[name] + require(set(pair) == {"high", "low"} and all(len(pair[k]) == hi-lo for k in pair), "reference_shape") + for j, i in enumerate(range(lo, hi)): + h, l = (scalar(pair[k][j]) for k in ("high", "low")) + require(h.hex() == reference[name]["high"][j] and l.hex() == reference[name]["low"][j], "reference_words") + roots[0][i], roots[1][i] = h.hex(), l.hex() + value = Fraction(h) + Fraction(l) + if name in ("n_m3", "p_m3", "c_m3"): + require(value >= 0 and (name == "c_m3" or value > 0), "reference_density") + floor = max(1e-6, float(Fraction(alpha)*value)) + elif name == "f": + require(0 <= value <= 1, "reference_occupancy") + floor = alpha + else: + floor = alpha * (K_B * temperature / Q) + absolute[i] = scalar(floor, positive=True) + require(covered == set(range(size)), "layout_coverage") + return {"schema": SCHEMA, "profile": {"r": r, "alpha": alpha}, "size": size, + "numeric_packet_sha256": digest(packet), "reference_words_hex": roots, + "scale_hex": [v.hex() for v in scales], "atol_SI": absolute, + "floor_basis": "frozen-initial-reference; fixed-electrode-gauge; no evolving-state floor", + "nonlinear_controls": dict(NONLINEAR), "nonlinear_effective_threshold_equivalence": False, + "native_execution_authorized": False, + "signed_balance_integration": "source-bound-signed-physical-charge-v1"} + + +def controls(previous, policy): + values = [a / float.fromhex(s) for a, s in zip(policy["atol_SI"], policy["scale_hex"], strict=True)] + require(all(math.isfinite(a) and a > 0 for a in values), "scaled_absolute_range") + result = dict(previous, rtol=policy["profile"]["r"], atol=values, **NONLINEAR) + result.pop("constraints_idx", None) + result.pop("constraints_type", None) + return result + + +def route_controls_policy(request, *, case_id, source_commit, run_plan_sha256): + """One prospective G2-R max-step change; all physical controls stay bound. + + The original preparation/previous-controls records remain historical data. + Git/source and plan admission are checked by the route, not created here. + """ + names = ("Coarse", "Main", "Strict") + expected_ids = {f"B_N8_{name}_{stage}" for name in names for stage in ("Probe", "Full")} + expected_ids.add("B_N16_Strict_Full") + require(case_id in expected_ids, "route_case") + mesh = 16 if "N16" in case_id else 8 + profile = dict(zip(("r", "alpha"), PROFILES[names.index(case_id.split("_")[2])])) + require(request["numeric_packet"]["intervals"] == mesh + and request["numeric_packet"]["nodes"] == mesh+1 + and request["physical_tolerance_policy"]["size"] == 5*(mesh+1) + and digest(request["physical_tolerance_policy"]["profile"]) == digest(profile), "route_profile_geometry") + for value, size in ((source_commit, 40), (run_plan_sha256, 64)): + require(type(value) is str and len(value) == size and all(c in "0123456789abcdef" for c in value), + "route_source_plan_pin") + before = controls(request["previous_controls"], request["physical_tolerance_policy"]) + if "startup_step_policy" in request: + before["first_step"] = request["startup_step_policy"]["value"] + require(before.get("max_step") == (.02 if mesh == 16 else .1), "route_ancestral_max_step") + return {"schema": "solarlab.g2-route.controls.v1", "case_id": case_id, + "source_commit": source_commit, "run_plan_sha256": run_plan_sha256, + "parent_controls_sha256": digest(before), "previous_max_step_s": before["max_step"], + "max_step_s": .02, "other_controls_changed": False} + + +def validate_request(request): + policy = request.get("physical_tolerance_policy") + require(type(policy) is dict, "missing_policy") + expected = make_policy(request["numeric_packet"], policy.get("profile")) + require(policy == expected, "policy_binding") + require(not any(k in request for k in ("time_weight_policy", "diagnostic_accuracy_policy", + "nonlinear_control_refinement", "nonlinear_guard_policy")), "mixed_legacy_profile") + applied = controls(request["previous_controls"], expected) + if "startup_step_policy" in request: + startup = request["startup_step_policy"] + value = scalar(startup.get("value"), positive=True) + require(startup.get("schema") == "solarlab.voltage-lift-startup-step.v1" + and startup.get("ancestor_request_sha256") == request["prior_request_sha256"] + and startup.get("previous_controls_sha256") == digest(request["previous_controls"]) + and startup.get("previous_value") == request["previous_controls"].get("first_step", 0.0) + and startup.get("field") == "first_step" + and startup.get("application") == "every_protocol_initialization" + and (applied.get("max_step", 0) == 0 or value <= applied["max_step"]), "startup_binding") + applied["first_step"] = value + if "g2_route_controls" in request: + route = request["g2_route_controls"] + require(type(route) is dict, "route_controls_type") + expected_route = route_controls_policy(request, case_id=route.get("case_id"), + source_commit=route.get("source_commit"), run_plan_sha256=route.get("run_plan_sha256")) + require(digest(route) == digest(expected_route), "route_controls_binding") + applied["max_step"] = expected_route["max_step_s"] + require(request["controls"] == applied, "controls_binding") + require(request["weight_certificate"] == expected, "weight_certificate") + require(request["budgets"] == request["original_budgets"], "historical_budgets_changed") + require(request.get("native_admission") is False, "execution_authority") + return expected + + +def require_balance_integration(request): + """Require the new balance contract; exact-source Root admission is separate.""" + if "physical_tolerance_policy" in request: + validate_request(request) + observer = request.get("interval_observation") + require(type(observer) is dict and observer.get("physical_charge") == physical_charge_policy(request) + and observer.get("quadrature_error_allocation") == CHARGE_ALLOCATION + and "diagnostic_interval" not in request + and "segment_frame_policy" in request and "initial_segment_frame" in request, + "signed_balance_integration_pending") + forms = request.get("physical_charge_forms") + require(type(forms) is dict and set(forms) == {"body_charge", "metal_charge"} + and all(type(v) is str and len(v) == 64 and all(c in "0123456789abcdef" for c in v) + for v in forms.values()), "physical_charge_form_binding") + + +def weight_option(request, frame, segment): + policy = validate_request(request) + require(frame["size"] == policy["size"] and frame["parent_map_identity"] == request["map_identity"], "frame_binding") + segment_id = digest(segment) + require(frame["segment_sha256"] == segment_id + and segment_id in {digest(row) for row in request["segments"]}, "segment_binding") + mapping = request["voltage_lift_map"] + require(mapping["columns_hex"] == policy["scale_hex"], "map_scale") + start, end = scalar(segment["start"]), scalar(segment["end"]) + require(start < end and start <= float.fromhex(frame["t0_hex"]) <= end, "frame_time") + pairs = [segment["voltage"], segment["photons"]] + starts = [scalar(pair[0]) for pair in pairs] + ends = [scalar(pair[1]) for pair in pairs] + rates = [(b-a)/(end-start) for a, b in zip(starts, ends)] + return {"schema": WEIGHT_SCHEMA, "frame_identity": digest(frame), + **{k: frame[k] for k in ("t0_hex", "size", "q0_words_hex", "v0_words_hex")}, + "weight_rounding": ROUNDING, "profile_identity": digest(policy), + "rtol_hex": policy["profile"]["r"].hex(), + "atol_physical_hex": [v.hex() for v in policy["atol_SI"]], + "scale_hex": policy["scale_hex"], "reference_words_hex": policy["reference_words_hex"], + "lift_hex": mapping["lift_hex"], "reference_inputs_hex": mapping["reference_inputs_hex"], + "protocol_start_hex": start.hex(), "protocol_end_hex": end.hex(), + "inputs_start_hex": [v.hex() for v in starts], "inputs_end_hex": [v.hex() for v in ends], + "input_rates_hex": [v.hex() for v in rates]} + + +def segment_startup_policy(request, overrides): + policy = validate_request(request) + require(type(overrides) is dict and set(overrides) == {"slow_state_hold"} + and type(overrides["slow_state_hold"]) is dict + and set(overrides["slow_state_hold"]) == {"first_step"}, "segment_startup_fields") + value = overrides["slow_state_hold"]["first_step"] + require(type(value) in (int, float) and value in (0, 2.0**-32) + and math.copysign(1, value) == 1, "segment_startup_value") + require(request["case_id"] == "DynamicAcceptorIonPublicDeviceV1" + and [s["id"] for s in request["segments"]] == ["dark_equilibrium_hold", "voltage_ramp", "slow_state_hold"], "segment_startup_scope") + return {"schema": "solarlab.physical-segment-startup.v1", "ancestor_request_sha256": request["prior_request_sha256"], + "base_controls_sha256": digest(request["controls"]), "segments_sha256": digest(request["segments"]), + "physical_tolerance_policy_sha256": digest(policy), + "overrides": {"slow_state_hold": {"first_step": float(value)}}, + "application": "fresh_segment_initialization_before_first_solve"} + + +def physical_charge_policy(request): + """New independent balance budget from frozen physical inputs, never old debt. + + Rational strings are serialization only; consumers use Fraction directly. + Request/frame/operation linkage belongs to the existing observation record. + """ + policy = validate_request(request) + definition = request["numeric_packet"]["definition"] + area = scalar(definition["area"], positive=True) + length = scalar(definition["length"], positive=True) + densities = [scalar(definition[k]) for k in ("ni", "ion_initial", "trap_density")] + require(all(v >= 0 for v in densities) and max(densities) > 0, "charge_reference_density") + qref = Fraction(Q)*Fraction(area)*Fraction(length)*max(map(Fraction, densities)) + budget = qref / 10**8 + return {"schema": "solarlab.physical-charge-policy.v1", + "physical_tolerance_policy_sha256": digest(policy), + "numeric_packet_sha256": digest(request["numeric_packet"]), + "original_budgets_sha256": digest(request["original_budgets"]), + "Qref_C": str(qref), "budget_C": str(budget), "budget_fraction": [1, 10**8], + "channels": ["device", "left_metal", "right_metal"], + "integration_uncertainty_fraction": [1, 3], + "reference_basis": {"q_C_hex": float(Q).hex(), "area_m2_hex": area.hex(), + "length_m_hex": length.hex(), + "density_hex": [v.hex() for v in densities]}, + "historical_budgets_changed": False, "native_execution_authorized": False} + + +def physical_charge_budgets(request): + policy = physical_charge_policy(request) + return (Fraction(policy["budget_C"]),)*3 + + +def physical_charge_error_allocation(request, duration): + """Prospective allocation only; actual interval and cumulative errors gate.""" + duration = Fraction(duration) + first, last = request["segments"][0]["start"], request["segments"][-1]["end"] + full = Fraction(scalar(last))-Fraction(scalar(first)) + require(first == 0 and 0 < duration <= full, "physical_charge_allocation_clock") + return physical_charge_budgets(request)[0]/12*duration/full/32 diff --git a/scripts/benchmarks/port_prototype.py b/scripts/benchmarks/port_prototype.py new file mode 100644 index 00000000..e974e2b2 --- /dev/null +++ b/scripts/benchmarks/port_prototype.py @@ -0,0 +1,475 @@ +"""P02-06 port and native-interval prototype, independent of device engines. + +Solver return and physical acceptance are separate. An observer must +consume the current interpolation interval before the solver advances; only +immutable endpoints and observations survive that boundary. +""" + +from __future__ import annotations + +from dataclasses import dataclass +from typing import Callable + +import numpy as np +from numpy.typing import ArrayLike + +from scripts.benchmarks.contract_prototype import ( + AcceptedStep, BalanceTerms, COULOMB, ContractError, EquationSpec, + ImmutableArrays, ImplicitSystem, Layout, LinearCoordinates, LinearStorage, + Point, SECOND, StateIncrement, Support, TerminalPort, VariableSpec, Vector, + VOLT, frozen_array, +) +from scripts.benchmarks.storage_prototype import conservative_be_step, consistent_initial_state + + +def finite_scalar(value: float) -> float: + array = np.asarray(value) + if array.ndim != 0 or not np.isfinite(array): + raise ContractError("invalid_port_scalar") + return float(array) + + +@dataclass(frozen=True) +class PortSample(ImmutableArrays): + time: float + voltage: float + voltage_rate: float + charge: Vector + conduction: Vector + current: Vector + side: str = "continuous" + + def __post_init__(self) -> None: + for name in ("time", "voltage", "voltage_rate"): + object.__setattr__(self, name, finite_scalar(getattr(self, name))) + for name in ("charge", "conduction", "current"): + value = frozen_array(getattr(self, name)) + if value.shape != (2,): + raise ContractError("two_port_shape_mismatch") + object.__setattr__(self, name, value) + if self.side not in {"continuous", "left", "right"}: + raise ContractError("invalid_event_side") + + +@dataclass(frozen=True) +class PortReading(ImmutableArrays): + point: Point + derivative: Vector + sample: PortSample + origin: str + + def __post_init__(self) -> None: + object.__setattr__(self, "derivative", frozen_array(self.derivative)) + if self.derivative.shape != self.point.y.shape or not self.origin: + raise ContractError("invalid_port_reading") + + +def consistent_physical_rate(system: ImplicitSystem, coordinates: LinearCoordinates, + point: Point, input_rate: ArrayLike, *, + history: tuple[Point, ...] = (), + gauge_nullspace: bool = False) -> Vector: + """Strict prototype tangent estimate at the unchanged physical state. + + This estimates the physical derivative from the equations. It is not the + derivative of the approximate interpolation curve, so its interval charge + balance and analytical error require separate validation. + """ + _, terms = system.evaluate(point) + if np.any(terms.algebraic != 0): + raise ContractError("nonzero_algebraic_state") + result = consistent_initial_state( + system, coordinates, point, system.storage.value(point), input_rate, + history=history, max_iterations=0, tolerance=0, + gauge_nullspace=gauge_nullspace, + ) + if (result.point.identity != point.identity or result.iterations != 0 + or tuple(p.identity for p in result.history) != tuple(p.identity for p in history) + or np.any(result.storage_error != 0)): + raise ContractError("reconstruction_changed_physical_history") + if result.rank.rank != point.y.size: + raise ContractError("reconstruction_rank_deficiency") + if np.any(result.residual != 0) or np.any(result.tangent != 0): + raise ContractError("reconstructed_rate_not_exactly_consistent") + return frozen_array(result.derivative) + + +@dataclass(frozen=True) +class VoltageImpulse(ImmutableArrays): + before: PortSample + after: PortSample + charge: Vector + + def __post_init__(self) -> None: + if (self.before.time != self.after.time or self.before.side != "left" + or self.after.side != "right"): + raise ContractError("event_limits_mismatch") + value = frozen_array(self.charge) + if value.shape != (2,): + raise ContractError("two_port_shape_mismatch") + object.__setattr__(self, "charge", value) + + +@dataclass(frozen=True) +class Capacitor: + epsilon: float + area: float + length: float + + def __post_init__(self) -> None: + for name in ("epsilon", "area", "length"): + value = finite_scalar(getattr(self, name)) + if value <= 0: + raise ContractError("invalid_capacitor_geometry") + object.__setattr__(self, name, value) + + @property + def capacitance(self) -> float: + return self.epsilon * self.area / self.length + + @property + def ports(self) -> tuple[TerminalPort, TerminalPort]: + return (TerminalPort("left", -1, self.area), + TerminalPort("right", 1, self.area)) + + def sample(self, time: float, voltage: float, voltage_rate: float, + conduction: float = 0.0, side: str = "continuous") -> PortSample: + voltage, voltage_rate, conduction = map( + finite_scalar, (voltage, voltage_rate, conduction)) + displacement = self.epsilon * voltage / self.length + displacement_rate = self.epsilon * voltage_rate / self.length + jc = conduction / self.area + return PortSample( + time, voltage, voltage_rate, + [float(port.charge(displacement)) for port in self.ports], + [float(port.current(jc, 0.0)) for port in self.ports], + [float(port.current(jc, displacement_rate)) for port in self.ports], + side, + ) + + def admittance(self, frequency: float) -> np.ndarray: + omega = 2 * np.pi * finite_scalar(frequency) + d_displacement_d_voltage = self.epsilon / self.length + return np.asarray([1j * omega * float(port.charge(d_displacement_d_voltage)) + for port in self.ports]) + + def event(self, time: float, before: float, after: float) -> VoltageImpulse: + left = self.sample(time, before, 0.0, side="left") + right = self.sample(time, after, 0.0, side="right") + # An ideal voltage jump has a charge impulse, no finite current sample. + return VoltageImpulse(left, right, right.charge - left.charge) + + def ramp_step(self, start: float, end: float, voltage: float, + slope: float) -> NativeStep: + coordinates = LinearCoordinates(Layout((), (), ())) + left = coordinates.point([], start, [voltage]) + right, increment = coordinates.advance( + left, [], end, [voltage + slope * (end - start)]) + delta_d = self.epsilon * slope * (end - start) / self.length + # The storage layout is empty; port charge comes from the input. + q0 = self.sample(start, voltage, slope).charge + sample = self.sample(end, right.inputs[0], slope) + defect = sample.charge - q0 - (end - start) * sample.current + return NativeStep(left, right, increment, [], defect, [], + [delta_d, delta_d], [slope], "prescribed-ramp") + + +@dataclass(frozen=True) +class RCModel: + capacitance: float + resistance: float + + def __post_init__(self) -> None: + for name in ("capacitance", "resistance"): + value = finite_scalar(getattr(self, name)) + if value <= 0: + raise ContractError("invalid_rc_parameter") + object.__setattr__(self, name, value) + + @property + def capacitor(self) -> Capacitor: + return Capacitor(self.capacitance, 1.0, 1.0) + + def system(self) -> tuple[LinearCoordinates, ImplicitSystem]: + support = Support("ports", "global", (1,)) + layout = Layout((support,), ( + VariableSpec("potential", "rc", "ports", (1,), VOLT), + VariableSpec("terminal_current", "rc", "ports", (1,), + COULOMB / SECOND, role="constraint"), + ), ( + EquationSpec("charge_balance", "rc", "ports", (1,), COULOMB / SECOND, + derivative_support=("potential", "terminal_current")), + EquationSpec("open_circuit", "rc", "ports", (1,), COULOMB / SECOND, + role="constraint", derivative_support=("terminal_current",)), + )) + coordinates = LinearCoordinates(layout) + + def terms(point: Point) -> BalanceTerms: + voltage, external_current = point.y + return BalanceTerms( + np.array([external_current - voltage / self.resistance]), + np.array([external_current]), + np.array([[-1 / self.resistance, 1.0]]), np.zeros((1, 0)), + np.zeros(1), np.array([[0.0, 1.0]]), np.zeros((1, 0)), np.zeros(1), + ) + + return coordinates, ImplicitSystem( + LinearStorage([[self.capacitance, 0.0]]), terms) + + def sample(self, point: Point, derivative: ArrayLike) -> PortSample: + derivative = frozen_array(derivative) + if point.y.shape != (2,) or derivative.shape != (2,): + raise ContractError("rc_state_shape_mismatch") + return self.capacitor.sample( + point.time, point.y[0], derivative[0], point.y[0] / self.resistance) + + +@dataclass(frozen=True) +class NativeStep(ImmutableArrays): + """Retained step output; an IDA stop output may itself be interpolated.""" + left: Point + right: Point + increment: StateIncrement + derivative: Vector + residual: Vector + storage_delta: Vector + displacement_delta: Vector + input_rate: Vector + method: str + + def __post_init__(self) -> None: + self.increment.validate(self.left, self.right) + if self.right.time <= self.left.time: + raise ContractError("nonpositive_step") + for name in ("derivative", "residual", "storage_delta", "displacement_delta", "input_rate"): + object.__setattr__(self, name, frozen_array(getattr(self, name))) + if self.derivative.shape != self.right.y.shape or self.input_rate.shape != self.right.inputs.shape: + raise ContractError("step_derivative_shape_mismatch") + + def accept(self, metrics: tuple[tuple[str, float], ...], passed: bool) -> AcceptedStep: + return AcceptedStep( + self.left, self.right, self.increment, self.storage_delta, + self.displacement_delta, self.derivative, self.input_rate, self.method, "continuous", + metrics, passed, + ) + + +class NativeInterval: + """A temporary interpolation capability, revoked before the next step.""" + + def __init__(self, solver, model: RCModel, coordinates: LinearCoordinates, + step: NativeStep, stop: float, derivative_policy: str = "interpolant"): + self.step = step + self._solver, self._model, self._coordinates = solver, model, coordinates + self._stop = stop + self._active = True + self.derivative_policy = derivative_policy + self._raw: dict[tuple[float, str], PortReading] = {} + self._physical: dict[tuple[str, str], PortReading] = {} + _, self._system = model.system() + + def reading(self, time: float) -> PortReading: + if not self._active: + raise ContractError("interpolation_interval_expired") + time = finite_scalar(time) + if not self.step.left.time <= time <= self.step.right.time: + raise ContractError("outside_native_interval") + kind = self.step.method if time == self.step.right.time else "IDA-normal-output" + key = (time, kind) + if key in self._raw: + return self._raw[key] + if time == self.step.right.time: + point, derivative = self.step.right, self.step.derivative + else: + result = self._solver.step(time, method="normal", tstop=self._stop) + if not result.success: + raise ContractError("native_interpolation_failed") + if abs(float(result.t) - time) > 8 * np.spacing(max(abs(time), 1.0)): + raise ContractError("native_interpolation_time_mismatch") + point, derivative = self._coordinates.point(result.y, time), result.yp + reading = PortReading(point, derivative, self._model.sample(point, derivative), kind) + self._raw[key] = reading + return reading + + def physical_reading(self, reading: PortReading) -> PortReading: + if not self._active: + raise ContractError("interpolation_interval_expired") + if not self.step.left.time <= reading.point.time <= self.step.right.time: + raise ContractError("outside_native_interval") + if not any(reading is owned for owned in self._raw.values()): + raise ContractError("foreign_interval_reading") + key = (reading.point.identity, reading.origin) + if key not in self._physical: + derivative = consistent_physical_rate( + self._system, self._coordinates, reading.point, [], history=(self.step.left,)) + self._physical[key] = PortReading( + reading.point, derivative, self._model.sample(reading.point, derivative), + "physical-tangent-v1 from " + reading.origin, + ) + return self._physical[key] + + def sample(self, time: float, derivative_policy: str | None = None) -> PortSample: + reading = self.reading(time) + policy = derivative_policy or self.derivative_policy + if policy == "physical-tangent-v1": + return self.physical_reading(reading).sample + if policy != "interpolant": + raise ContractError("unknown_derivative_policy") + return reading.sample + + @property + def raw_readings(self) -> tuple[PortReading, ...]: + return tuple(self._raw.values()) + + @property + def physical_readings(self) -> tuple[PortReading, ...]: + return tuple(self._physical.values()) + + def close(self) -> None: + self._active = False + self._solver = None + + def restore_endpoint(self) -> PortSample: + """Finish normal-output queries at the already accepted native endpoint. + + IDA remembers its last returned output time. After an interior normal + query, ONE_STEP may return that same native endpoint again. Restoring + the output cursor here avoids mistaking that return for a new step. + """ + if not self._active: + raise ContractError("interpolation_interval_expired") + result = self._solver.step(self.step.right.time, method="normal", tstop=self._stop) + if not result.success: + raise ContractError("native_endpoint_restore_failed") + if float(result.t) != self.step.right.time: + raise ContractError("native_endpoint_time_changed_by_observation") + # The interpolation derivative has its own numerical error; it is not + # bitwise identical to the native method derivative. Preserve both. + point = self._coordinates.point(result.y, self.step.right.time) + reading = PortReading(point, result.yp, self._model.sample(point, result.yp), + "IDA-normal-endpoint-restore") + self._raw[(point.time, reading.origin)] = reading + if self.derivative_policy == "physical-tangent-v1": + self.physical_reading(reading) + return reading.sample + + +@dataclass(frozen=True) +class RCResult: + observations: tuple[PortSample, ...] + native_steps: tuple[NativeStep, ...] + endpoint_outputs: tuple[PortSample, ...] + raw_readings: tuple[PortReading, ...] + physical_readings: tuple[PortReading, ...] + + +def rc_ida(model: RCModel, initial_voltage: float, end_time: float, + observation_times: ArrayLike, *, rtol: float, atol: float, + max_step: float, max_order: int, + observer: Callable[[NativeInterval], None], step_budget: int = 10000, + derivative_policy: str = "interpolant") -> RCResult: + from sksundae.ida import IDA + + end_time = finite_scalar(end_time) + times = frozen_array(observation_times) + if (end_time <= 0 or times.ndim != 1 or np.any(np.diff(times) <= 0) + or np.any(times < 0) or np.any(times > end_time)): + raise ContractError("invalid_observation_times") + coordinates, system = model.system() + + def residual(time, y, ydot, output): + output[:] = system.residual(coordinates.point(y, time), ydot, np.empty(0)) + + def jacobian(time, y, ydot, residual_value, cj, values): + values[:] = system.linearize( + coordinates.point(y, time), ydot, np.empty(0)).ida_matrix(cj) + + solver = IDA(residual, jacfn=jacobian, algebraic_idx=[1], + rtol=rtol, atol=atol, max_step=max_step, max_order=max_order) + derivative = np.array([-initial_voltage / (model.resistance * model.capacitance), 0.0]) + initial = solver.init_step(0.0, [initial_voltage, 0.0], derivative) + if not initial.success: + raise ContractError("native_initialization_failed") + left = coordinates.point(initial.y, 0.0) + observations, steps, endpoint_outputs = [], [], [] + initial_reading = PortReading(left, initial.yp, model.sample(left, initial.yp), "IDA-initial-output") + raw_readings, physical_readings = [initial_reading], [] + if derivative_policy == "physical-tangent-v1": + initial_rate = consistent_physical_rate(system, coordinates, left, []) + initial_estimate = PortReading(left, initial_rate, model.sample(left, initial_rate), "physical-tangent-v1 from IDA-initial-output") + physical_readings.append(initial_estimate) + elif derivative_policy != "interpolant": + raise ContractError("unknown_derivative_policy") + cursor = 0 + if times.size and times[0] == 0: + observations.append(physical_readings[0].sample if physical_readings else initial_reading.sample) + cursor = 1 + for _ in range(step_budget): + result = solver.step(end_time, method="onestep", tstop=end_time) + if not result.success: + raise ContractError("native_step_failed") + time = float(result.t) + if not left.time < time <= end_time: + raise ContractError("invalid_native_interval") + right = coordinates.point(result.y, time) + increment = StateIncrement(left.identity, right.identity, { + spec.id: right.state.field(spec.id).difference(left.state.field(spec.id)) + for spec in coordinates.layout.variables + }) + delta_q = system.storage.delta(left, right, increment) + delta_d = model.capacitance * increment.field("potential").values[0] + native = NativeStep( + left, right, increment, result.yp, + system.residual(right, np.asarray(result.yp), np.empty(0)), + delta_q, [delta_d, delta_d], [], + "IDA-stop-output" if result.status == 1 else "IDA-onestep-output", + ) + interval = NativeInterval(solver, model, coordinates, native, end_time, derivative_policy) + try: + while cursor < times.size and times[cursor] <= time: + observations.append(interval.sample(float(times[cursor]))) + cursor += 1 + observer(interval) + endpoint_outputs.append(interval.restore_endpoint()) + if derivative_policy == "physical-tangent-v1": + for reading in interval.raw_readings: + interval.physical_reading(reading) + raw_readings.extend(interval.raw_readings) + physical_readings.extend(interval.physical_readings) + finally: + interval.close() + steps.append(native) + left = right + if time == end_time: + break + else: + raise ContractError("native_step_budget_exhausted") + if cursor != times.size: + raise ContractError("missing_observation") + return RCResult(tuple(observations), tuple(steps), tuple(endpoint_outputs), + tuple(raw_readings), tuple(physical_readings)) + + +def rc_be(model: RCModel, initial_voltage: float, end_time: float, + step_size: float) -> tuple[tuple[PortSample, ...], tuple[NativeStep, ...]]: + end_time, step_size = map(finite_scalar, (end_time, step_size)) + if step_size <= 0 or end_time <= 0: + raise ContractError("nonpositive_step") + count = round(end_time / step_size) + if count < 1 or abs(count * step_size - end_time) > 8 * np.spacing(end_time): + raise ContractError("incomplete_be_grid") + coordinates, system = model.system() + left = coordinates.point([initial_voltage, 0.0]) + initial_rate = [-initial_voltage / (model.resistance * model.capacitance), 0.0] + samples, history = [model.sample(left, initial_rate)], [] + for _ in range(count): + trial = conservative_be_step(system, coordinates, left, step_size) + rate = (trial.right.y - left.y) / step_size + delta_q = system.storage.delta(left, trial.right, trial.increment) + delta_d = model.capacitance * trial.increment.field("potential").values[0] + history.append(NativeStep( + left, trial.right, trial.increment, rate, trial.residual, + delta_q, [delta_d, delta_d], [], "conservative-BE", + )) + samples.append(model.sample(trial.right, rate)) + left = trial.right + return tuple(samples), tuple(history) diff --git a/scripts/benchmarks/precision_prototype.py b/scripts/benchmarks/precision_prototype.py new file mode 100644 index 00000000..a867b5b8 --- /dev/null +++ b/scripts/benchmarks/precision_prototype.py @@ -0,0 +1,1688 @@ +"""P02-08 precision provider injected into the isolated public contracts. + +Only the existing stateless DD arithmetic is reused. No old device, solver, +private R1 system or experiment is imported. The arithmetic implementation is +to move to solarlab_research when the package migration is admitted. +""" + +from __future__ import annotations + +from dataclasses import dataclass, field +from fractions import Fraction +import hashlib +import json +from math import fsum +from types import MappingProxyType +from typing import Any, Mapping + +import numpy as np +from numpy.typing import ArrayLike + +from perovskite_sim.physics.compensated import DD +from scripts.benchmarks.contract_prototype import ( + ContractError, FieldProjection, FloatArray, Layout, PhysicalArray, Point, + PhysicalLinearForm, RateView, ResolvedAuthority, StateIncrement, StateView, Vector, + _apply_linear_form, frozen_array, integer_indices, +) + + +@dataclass(frozen=True, init=False) +class DoubleArray: + """Own both binary64 words, including their serialized zero signs.""" + + _high: Vector + _low: Vector + + def __init__(self, high: ArrayLike, low: ArrayLike | None = None): + # Validate the raw values before binary64 conversion, preserving DD's + # rejection of inexact integers, strings and wider floating inputs. + raw_high = np.asarray(high) + raw_low = np.zeros(raw_high.shape) if low is None else np.asarray(low) + if raw_high.shape != raw_low.shape: + raise ContractError("precision_word_shape_mismatch") + normalized = DD(raw_high, raw_low) + high = frozen_array(high) + low = frozen_array(raw_low) + if not np.array_equal(normalized.hi, high) or not np.array_equal(normalized.lo, low): + raise ContractError("unnormalized_precision_words") + object.__setattr__(self, "_high", high) + object.__setattr__(self, "_low", low) + + @property + def high(self) -> Vector: + return self._high.view() + + @property + def low(self) -> Vector: + return self._low.view() + + @property + def words(self) -> tuple[Vector, Vector]: + """Public complete words for explicit rate-input binding, without rounding.""" + return self.high, self.low + + @classmethod + def from_dd(cls, value: DD) -> DoubleArray: + return cls(value.hi, value.lo) + + @property + def shape(self) -> tuple[int, ...]: + return self.high.shape + + def as_dd(self) -> DD: + return DD(self.high, self.low) + + def immutable_copy(self) -> DoubleArray: + return DoubleArray(self.high, self.low) + + def difference(self, other: PhysicalArray) -> DoubleArray: + if not isinstance(other, DoubleArray) or self.shape != other.shape: + raise ContractError("precision_or_shape_mismatch") + return DoubleArray.from_dd(self.as_dd() - other.as_dd()) + + def take(self, indices: ArrayLike) -> DoubleArray: + indices = integer_indices(indices) + if np.any(indices < 0) or np.any(indices >= self.shape[0]): + raise ContractError("index_outside_support") + return DoubleArray(self.high[indices], self.low[indices]) + + def log_ratio(self, other: PhysicalArray) -> DoubleArray: + if not isinstance(other, DoubleArray) or other.shape != self.shape: + raise ContractError("precision_or_shape_mismatch") + return DoubleArray.from_dd(_log_ratio(self.as_dd(), other.as_dd())) + + def is_finite(self) -> bool: + return bool(np.isfinite(self.high).all() and np.isfinite(self.low).all()) + + def identity_bytes(self) -> bytes: + return b"double-word:" + repr(self.shape).encode() + self.high.tobytes() + self.low.tobytes() + + def __array__(self, dtype=None, copy=None): + raise TypeError("implicit precision rounding is forbidden") + + def __float__(self): + raise TypeError("implicit precision rounding is forbidden") + + +class DoubleArithmetic: + """A precision implementation of the public assembly operations.""" + + def array(self, value: ArrayLike | PhysicalArray) -> DD: + if isinstance(value, DD): + return value.copy() + if isinstance(value, DoubleArray): + return value.as_dd() + if isinstance(value, FloatArray): + return DD(value.values) + return DD(value) + + def zeros(self, shape: tuple[int, ...]) -> DD: + return DD(np.zeros(shape)) + + def weighted(self, value: DD, weights: Vector) -> DD: + if value.shape != weights.shape: + raise ContractError("arithmetic_shape_mismatch") + return value * DD(weights) + + def add(self, left: DD, right: DD) -> DD: + if left.shape != right.shape: + raise ContractError("arithmetic_shape_mismatch") + return left + right + + def subtract(self, left: DD, right: DD) -> DD: + if left.shape != right.shape: + raise ContractError("arithmetic_shape_mismatch") + return left - right + + def divide(self, left: DD, right: DD) -> DD: + if left.shape != right.shape or np.any(right == 0): + raise ContractError("arithmetic_shape_or_divisor") + return left / right + + def matmul(self, left: DD, right: DD) -> DD: + if left.ndim != 2 or right.ndim not in {1, 2} or left.shape[1] != right.shape[0]: + raise ContractError("arithmetic_shape_mismatch") + if right.ndim == 1: + return (left * right.reshape(1, right.size)).sum(axis=1) + if not right.shape[1]: + return self.zeros((left.shape[0], 0)) + columns = [self.matmul(left, right[:, index]).reshape(left.shape[0], 1) + for index in range(right.shape[1])] + return self.concatenate(columns, axis=1) + + def concatenate(self, values, axis: int = 0) -> DD: + values = tuple(values) + return DD(np.concatenate([value.hi for value in values], axis=axis), + np.concatenate([value.lo for value in values], axis=axis)) + + def reshape(self, value: DD, shape: tuple[int, ...]) -> DD: + return value.reshape(shape) + + def scatter_add(self, target: DD, indices: np.ndarray, value: DD) -> DD: + indices = integer_indices(indices) + if indices.shape != value.shape or target.ndim != 1 or indices.ndim != 1: + raise ContractError("arithmetic_shape_mismatch") + if np.any(indices < 0) or np.any(indices >= target.size): + raise ContractError("index_outside_support") + high, low = target.hi.copy(), target.lo.copy() + # This bounded prototype preserves DD sums for repeated node indices. + # Product binary64 assembly keeps its vectorized np.add.at path. + for index in np.unique(indices): + total = target[index] + value[indices == index].sum() + high[index], low[index] = total.hi, total.lo + return DD(high, low) + + def freeze(self, value: DD) -> DoubleArray: + return DoubleArray.from_dd(value) + + def validate_rate(self, value: RateView) -> None: + _linear_affine_authority(value.point.state) + _double_linear_words(value.values) + + def linear_form(self, form: PhysicalLinearForm, operand: Any, *, + point=None, left=None, right=None, sources=()): + if isinstance(operand, RateView): + self.validate_rate(operand) + return _apply_linear_form( + form, operand, point=point, left=left, right=right, sources=sources, + array_words=_double_linear_words, state_words=_double_linear_state_words, + increment_words=_double_linear_increment_words, output_words=2, + finish=DoubleArray, input_word_count=_double_linear_input_word_count) + + +def _double_linear_input_word_count(operand, name, *, point, right, external): + """Typed profile dispatch stays in the injected precision provider.""" + subject = (right if isinstance(operand, StateIncrement) else + operand.point if isinstance(operand, RateView) else point) + authority = (operand.authority if isinstance(operand, StateView) else + subject.state.authority if subject is not None else None) + if type(authority) is not MappedAuthority or not authority.frame_inputs: + return None + if name in external: + return 12 if type(external[name].value) is FrameInputExpansion else None + if isinstance(operand, StateView): + return 14 # two anchor words plus twelve mapped input words + if isinstance(operand, StateIncrement): + if operand.left_identity == operand.right_identity: + return 12 # the provider emits one canonical zero, not a past transition + local = authority.local_primitives[name] + if type(local) is not FrameInputDifference: + raise ContractError("linear_frame_input_difference") + return 12+len(local.previous.words) # zero reference4 or endpoint12 + return 12 if type(operand.values) is FrameInputExpansion else None + + +def _double_linear_words(value) -> tuple[Vector, ...]: + if type(value) is FloatArray: + return (value.values,) + if type(value) is DoubleArray: + return value.words + if type(value) in (PrimitiveExpansion, FrameInputExpansion): + return value.words + raise ContractError("linear_unsupported_word_source") + + +def _linear_affine_authority(state): + authority = state.authority + if type(authority) is ResolvedAuthority: + return authority + if (type(authority) is not MappedAuthority or authority.map_name != "relative-fields" + or any(mode != "linear" for mode in authority.modes.values())): + raise ContractError("linear_action_requires_affine_physical_si") + return authority + + +def _double_linear_state_words(state, name) -> tuple[Vector, ...]: + """The provider owns map interpretation; physical consumers see only actions.""" + authority = _linear_affine_authority(state) + if type(authority) is ResolvedAuthority: + return _double_linear_words(authority.field(name)) + return authority.anchor[name].words + authority.primitives[name].words + + +def physical_state_words(state: StateView) -> Mapping[str, tuple[Vector, ...]]: + """Exact SI operands of an affine physical state, with its authority intact. + + This exposes the same validated operands used by public linear actions. + Two anchor words plus twelve mapped words remain separate source operands, + not a wider canonical state profile or a projected field value. + """ + _linear_affine_authority(state) + return MappingProxyType({spec.id: tuple(frozen_array(word) for word in + _double_linear_state_words(state, spec.id)) for spec in state.layout.variables}) + + +def _double_linear_increment_words(left, right, name) -> tuple[Vector, ...]: + authority = _linear_affine_authority(right) + _linear_affine_authority(left) + if type(authority) is ResolvedAuthority: + return (_double_linear_words(authority.field(name)) + + tuple(-word for word in _double_linear_words(left.authority.field(name)))) + # The common wrapper already validated the actual Point predecessor and + # canonical increment. This checks map/root/primitive compatibility again + # and keeps the bounded original operands; projected delta fields are not + # authoritative inputs to a cross-species or spatial contraction. + local = authority._temporal_primitives(left)[name] + if type(local) in (PrimitiveDifference, FrameInputDifference): + return local.current.words + tuple(-word for word in local.previous.words) + return local.words + + +def _log_ratio(numerator: DD, denominator: DD) -> DD: + if numerator.shape != denominator.shape or np.any(numerator <= 0) or np.any(denominator <= 0): + raise ContractError("log_ratio_requires_positive_fields") + relative = (numerator-denominator) / denominator + close = (relative > -0.5) & (relative < 0.5) + high, low = np.zeros(numerator.shape), np.zeros(numerator.shape) + if np.any(close): + value = relative[close].log1p() + high[close], low[close] = value.hi, value.lo + if np.any(~close): + value = numerator[~close].log()-denominator[~close].log() + high[~close], low[~close] = value.hi, value.lo + return DD(high, low) + + +def _binary_sum_is_zero(values) -> bool: + """Exact dyadic equality for the bounded input-capacity check only.""" + total, exponent = 0, 0 + for value in values: + numerator, denominator = value.as_integer_ratio() + if not numerator: + continue + power = denominator.bit_length() - 1 + if power > exponent: + total <<= power - exponent + exponent = power + total += numerator << (exponent - power) + return total == 0 + + +def _primitive_words(components: tuple[Vector, ...]) -> tuple[Vector, ...]: + """Reduce at most eight input words to a fixed four-word exact expansion. + + Four bounded fsum reductions propose the words. Exact dyadic integers only + verify that no remainder was discarded; they do not evaluate physics. + This verification also fails closed on platform summation differences. + """ + if not components or len(components) > 8 or any(v.shape != components[0].shape for v in components): + raise ContractError("primitive_shape_or_arity") + shape = components[0].shape + output = [np.zeros(int(np.prod(shape))) for _ in range(4)] + for index in range(output[0].size): + source = [float(value.ravel()[index]) for value in components] + words = [] + try: + for _ in range(4): + words.append(fsum([*source, *(-value for value in words)])) + except OverflowError as error: + raise ContractError("primitive_expansion_sum_range") from error + if not _binary_sum_is_zero([*source, *(-value for value in words)]): + raise ContractError("primitive_expansion_capacity_exceeded") + for target, value in zip(output, words): + target[index] = value + return tuple(value.reshape(shape) for value in output) + + +@dataclass(frozen=True, init=False) +class PrimitiveExpansion: + """Four binary64 words for input primitives only; physical arithmetic is DD. + + The capacity is fixed, not adaptive. ``as_dd`` rejects a nonzero third or + fourth word instead of silently rounding an authoritative coordinate. + Map contractions consume ``words`` before producing physical DD outputs. + """ + + _words: tuple[Vector, ...] + + def __init__(self, words): + words = tuple(words) + if len(words) != 4: + raise ContractError("primitive_word_count") + owned = [] + for value in words: + raw = np.asarray(value) + if raw.dtype.kind not in {"i", "u", "f"} or raw.dtype.kind == "f" and raw.dtype.itemsize > 8: + raise ContractError("primitive_word_dtype") + converted = frozen_array(raw) + if raw.dtype.kind in {"i", "u"} and any(int(a) != int(b) for a, b in zip(raw.ravel(), converted.ravel())): + raise ContractError("inexact_primitive_integer") + owned.append(converted) + normalized = _primitive_words(tuple(owned)) + if any(not np.array_equal(a, b) for a, b in zip(owned, normalized)): + raise ContractError("unnormalized_primitive_words") + object.__setattr__(self, "_words", tuple(owned)) + + @classmethod + def _owned(cls, words) -> PrimitiveExpansion: + value = object.__new__(cls) + object.__setattr__(value, "_words", tuple(frozen_array(word) for word in words)) + return value + + @classmethod + def from_value(cls, value) -> PrimitiveExpansion: + if type(value) is cls: + return value + value = value if type(value) is DoubleArray else DoubleArray(value) + return cls._owned((value.high, value.low, np.zeros(value.shape), np.zeros(value.shape))) + + @property + def words(self) -> tuple[Vector, ...]: + return tuple(word.view() for word in self._words) + + @property + def shape(self) -> tuple[int, ...]: + return self._words[0].shape + + @property + def high(self) -> Vector: + """Explicit first-word projection used by the host coordinate vector.""" + return self._words[0].view() + + def immutable_copy(self) -> PrimitiveExpansion: + return self + + def add(self, other: PrimitiveExpansion | DoubleArray | ArrayLike) -> PrimitiveExpansion: + """Exactly add input primitives within the fixed four-word capacity.""" + return _exact_primitive_sum(self, other) + + def take_flat(self, indices: ArrayLike) -> PrimitiveExpansion: + indices = integer_indices(indices) + if np.any(indices < 0) or np.any(indices >= self._words[0].size): + raise ContractError("index_outside_support") + return self._owned(tuple(word.ravel()[indices] for word in self._words)) + + def reshape(self, shape: tuple[int, ...]) -> PrimitiveExpansion: + return self._owned(tuple(word.reshape(shape) for word in self._words)) + + def is_zero(self) -> bool: + return all(not np.any(word) for word in self._words) + + def is_finite(self) -> bool: + """Public source-value protocol; inspect all words without projection.""" + return all(bool(np.isfinite(word).all()) for word in self._words) + + def as_dd(self) -> DD: + if any(np.any(word) for word in self._words[2:]): + raise ContractError("primitive_projection_would_discard_remainder") + return DD(self._words[0], self._words[1]) + + def identity_bytes(self) -> bytes: + return b"input-expansion4-v1:"+repr(self.shape).encode()+b"".join(word.tobytes() for word in self._words) + + def __array__(self, dtype=None, copy=None): + raise TypeError("implicit primitive projection is forbidden") + + def __float__(self): + raise TypeError("implicit primitive projection is forbidden") + + +@dataclass(frozen=True) +class PrimitiveDifference: + """Exact local difference of two four-word endpoints, without reduction. + + There are exactly two operands and at most 2 x 4 signed source words per + component. Operands cannot themselves be differences, so neither memory + nor arithmetic arity grows with the number of accepted steps. Consumers + contract these words together before the existing physical DD projection. + """ + + current: PrimitiveExpansion + previous: PrimitiveExpansion + + def __post_init__(self): + if (type(self.current) is not PrimitiveExpansion + or type(self.previous) is not PrimitiveExpansion + or self.current.shape != self.previous.shape): + raise ContractError("primitive_difference_requires_two_endpoints") + + @property + def shape(self) -> tuple[int, ...]: + return self.current.shape + + def immutable_copy(self) -> PrimitiveDifference: + return self + + def take_flat(self, indices: ArrayLike) -> PrimitiveDifference: + return PrimitiveDifference(self.current.take_flat(indices), self.previous.take_flat(indices)) + + def is_zero(self) -> bool: + components = self.current.words + tuple(-word for word in self.previous.words) + return all(_binary_sum_is_zero([float(word.ravel()[i]) for word in components]) + for i in range(self.current.high.size)) + + def identity_bytes(self) -> bytes: + return (b"paired-endpoint-difference-v1:"+self.current.identity_bytes() + +b":minus:"+self.previous.identity_bytes()) + + def __array__(self, dtype=None, copy=None): + raise TypeError("implicit primitive difference projection is forbidden") + + def __float__(self): + raise TypeError("implicit primitive difference projection is forbidden") + + +FRAME_INPUT_PROFILE = "frame-input-expansion12-v1" + + +def _frame_input_words(components): + """Normalize bounded mapped SI inputs, retaining every exact source bit. + + Four raw parent words times one binary64 column produce at most eight + product words. The one nonzero voltage lift adds at most four more. + This separate input profile never widens PrimitiveExpansion or its codec. + """ + owned = [] + for value in components: + if len(owned) == 24: + raise ContractError("frame_input_shape_or_arity") + raw = np.asarray(value) + if raw.dtype.kind not in {"i", "u", "f"} or raw.dtype.kind == "f" and raw.dtype.itemsize > 8: + raise ContractError("frame_input_word_dtype") + converted = frozen_array(raw) + if raw.dtype.kind in {"i", "u"} and any(int(a) != int(b) for a, b in zip(raw.flat, converted.flat)): + raise ContractError("inexact_frame_input_integer") + owned.append(converted) + components = tuple(owned) + if (not components or len(components) > 24 + or any(value.shape != components[0].shape for value in components)): + raise ContractError("frame_input_shape_or_arity") + output = [np.zeros(components[0].size) for _ in range(12)] + for index in range(components[0].size): + source = [float(value.ravel()[index]) for value in components] + proposed = [] + try: + for _ in range(12): + proposed.append(fsum([*source, *(-word for word in proposed)])) + except OverflowError as error: + raise ContractError("frame_input_sum_range") from error + if not _binary_sum_is_zero([*source, *(-word for word in proposed)]): + raise ContractError("frame_input_capacity_exceeded") + for target, word in zip(output, proposed, strict=True): + target[index] = word + return tuple(word.reshape(components[0].shape) for word in output) + + +@dataclass(frozen=True, init=False) +class FrameInputExpansion(PrimitiveExpansion): + """Explicit twelve-word mapped input; physical arithmetic remains DD.""" + + def __init__(self, words): + words = tuple(words) + if len(words) != 12: + raise ContractError("frame_input_word_count") + owned = [] + for word in words: + raw = np.asarray(word) + if raw.dtype.kind not in {"i", "u", "f"} or raw.dtype.kind == "f" and raw.dtype.itemsize > 8: + raise ContractError("frame_input_word_dtype") + value = frozen_array(raw) + if raw.dtype.kind in {"i", "u"} and any(int(a) != int(b) for a, b in zip(raw.ravel(), value.ravel())): + raise ContractError("inexact_frame_input_integer") + owned.append(value) + normalized = _frame_input_words(owned) + if any(not np.array_equal(a, b) for a, b in zip(owned, normalized, strict=True)): + raise ContractError("unnormalized_frame_input_words") + object.__setattr__(self, "_words", tuple(owned)) + + @classmethod + def _owned(cls, words): + words = tuple(frozen_array(word) for word in words) + if len(words) != 12 or any(word.shape != words[0].shape for word in words): + raise ContractError("frame_input_word_count_or_shape") + value = object.__new__(cls) + object.__setattr__(value, "_words", words) + return value + + @classmethod + def from_terms(cls, terms): + return cls._owned(_frame_input_words(terms)) + + @classmethod + def from_value(cls, value): + if type(value) is cls: + return value + if type(value) is PrimitiveExpansion: + return cls._owned((*value.words, *(np.zeros(value.shape) for _ in range(8)))) + value = value if type(value) is DoubleArray else DoubleArray(value) + return cls._owned((value.high, value.low, *(np.zeros(value.shape) for _ in range(10)))) + + def add(self, other): + other = type(self).from_value(other) + if self.shape != other.shape: + raise ContractError("frame_input_shape_mismatch") + return type(self).from_terms((*self.words, *other.words)) + + def identity_bytes(self): + return (FRAME_INPUT_PROFILE.encode()+b":"+repr(self.shape).encode() + +b"".join(word.tobytes() for word in self._words)) + + +@dataclass(frozen=True) +class FrameInputDifference(PrimitiveDifference): + """Two bound input endpoints, at most24 signed words; never a growing tree.""" + + def __post_init__(self): + allowed = (PrimitiveExpansion, FrameInputExpansion) + if (type(self.current) not in allowed or type(self.previous) not in allowed + or type(self.current) is not FrameInputExpansion + or type(self.previous) is PrimitiveExpansion and not self.previous.is_zero() + or self.current.shape != self.previous.shape): + raise ContractError("frame_difference_requires_two_endpoints") + + def take_flat(self, indices): + return type(self)(self.current.take_flat(indices), self.previous.take_flat(indices)) + + def identity_bytes(self): + return (b"frame-input12-endpoint-difference-v1:"+self.current.identity_bytes() + +b":minus:"+self.previous.identity_bytes()) + + +def _exact_input_sum(left, right): + if type(left) is FrameInputExpansion or type(right) is FrameInputExpansion: + return FrameInputExpansion.from_value(left).add(right) + return _exact_primitive_sum(left, right) + + +def _exact_input_difference(left, right): + if type(left) is FrameInputExpansion or type(right) is FrameInputExpansion: + right = FrameInputExpansion.from_value(right) + return FrameInputExpansion.from_value(left).add( + FrameInputExpansion._owned(tuple(-word for word in right.words))) + return _exact_primitive_difference(left, right) + + +def _exact_primitive_sum(left, right) -> PrimitiveExpansion: + left, right = PrimitiveExpansion.from_value(left), PrimitiveExpansion.from_value(right) + if left.shape != right.shape: + raise ContractError("primitive_shape_mismatch") + return PrimitiveExpansion._owned(_primitive_words((*left.words, *right.words))) + + +def _exact_primitive_difference(left, right) -> PrimitiveExpansion: + right = PrimitiveExpansion.from_value(right) + return _exact_primitive_sum(left, PrimitiveExpansion._owned(tuple(-word for word in right.words))) + + +def _linear_map_sum(terms: tuple[tuple[float, DD | PrimitiveExpansion | PrimitiveDifference], ...]) -> DD: + """One bounded map contraction, with DD products preserved before summing. + + Each coefficient is an exact binary64 map parameter. Multiplying its + source words separately retains all product words until the short linear + form is reduced to DD; this is not compensation added to a final current. + No arbitrary-precision physics or growing expression/history is involved. + """ + if not terms or len(terms) > 8: + raise ContractError("unsupported_linear_map_arity") + shape = terms[0][1].shape + components = [] + for coefficient, value in terms: + if not np.isfinite(coefficient) or value.shape != shape: + raise ContractError("linear_map_shape_or_coefficient") + if coefficient == 0.0: + continue + multiplier = None if coefficient in (-1.0, 1.0) else DD(coefficient) + # A local difference remains two bounded endpoint operands until this + # final contraction; do not normalize it into a four-word primitive. + words = (value.current.words+tuple(-word for word in value.previous.words) + if isinstance(value, PrimitiveDifference) else value.words + if isinstance(value, PrimitiveExpansion) else (value.hi, value.lo)) + for word in words: + if not np.any(word): + continue + # Multiplication by +/-1 is exact for every finite source word. + # Retain the words themselves until the same fsum contraction. + if coefficient == 1.0: + components.append(word.ravel()) + elif coefficient == -1.0: + components.append((-word).ravel()) + else: + product = multiplier*DD(word) + components.extend((product.hi.ravel(), product.lo.ravel())) + high, low = np.zeros(int(np.prod(shape))), np.zeros(int(np.prod(shape))) + for index in range(len(high)): + words = [float(component[index]) for component in components] + high[index] = fsum(words) + low[index] = fsum([*words, -high[index]]) + return DD(high.reshape(shape), low.reshape(shape)) + + +def _map_identity(layout: Layout, name: str, modes: Mapping[str, str], parameters: Mapping[str, float]) -> str: + return _digest({"layout": layout.identity, "name": name, "version": 1, + "modes": dict(sorted(modes.items())), + "parameters": {key: float(value).hex() for key, value in sorted(parameters.items())}}) + + +@dataclass(frozen=True) +class MappedAuthority: + """Bounded root plus primitive map; projected words never replace the root. + + Only the relative linear/log/logit maps and the named R1 lift are supported. + Default endpoint composition must be exact in four words; v5 affine transitions + retain two endpoints when their local difference is wider. Transcendental physical + evaluations retain the existing DD domain and require observable-specific + qualification; absolute projections carry no generic sign certificate. + """ + + layout: Layout + anchor: Mapping[str, DoubleArray] + modes: Mapping[str, str] + primitives: Mapping[str, PrimitiveExpansion] + time: float + inputs: Vector + coordinates: Vector + reference: str + map_name: str = "relative-fields" + parameters: Mapping[str, float] = field(default_factory=dict) + previous_primitives: Mapping[str, PrimitiveExpansion] | None = None + local_primitives: Mapping[str, PrimitiveExpansion | PrimitiveDifference] | None = None + previous_authority_identity: str | None = None + previous_point_identity: str | None = None + coordinate_kind: str = "local" + fixed_reference: Point | None = None + identity: str = field(init=False) + root_identity: str = field(init=False) + map_identity: str = field(init=False) + _projection_cache: Mapping[str, DD] = field(init=False, repr=False, compare=False) + + def __post_init__(self) -> None: + names = {spec.id for spec in self.layout.variables} + if set(self.anchor) != names or set(self.modes) != names: + raise ContractError("incomplete_authority_anchor_or_modes") + if self.map_name not in {"relative-fields", "r1-input-lift"}: + raise ContractError("unsupported_authority_map") + modes = dict(sorted(self.modes.items())) + allowed = {"linear", "log", "inactive", "logit"} if self.map_name == "relative-fields" else { + "linear", "log_zero", "logit", "fixed"} + if any(mode not in allowed for mode in modes.values()): + raise ContractError("unsupported_authority_mode") + if self.map_name == "r1-input-lift" and modes != _r1_modes(self.layout): + raise ContractError("authority_primitive_roles_mismatch") + expected = self._primitive_shapes() + if set(self.primitives) != set(expected): + raise ContractError("authority_primitive_roles_mismatch") + framed = any(type(value) is FrameInputExpansion for value in self.primitives.values()) + if framed and (not all(type(value) is FrameInputExpansion for value in self.primitives.values()) + or self.map_name != "relative-fields" or any(mode != "linear" for mode in modes.values()) + or self.coordinate_kind != "fixed-reference"): + raise ContractError("frame_input_requires_fixed_affine_authority") + for name in ("primitives", "previous_primitives", "local_primitives"): + values = getattr(self, name) + if values is not None: + object.__setattr__(self, name, MappingProxyType({key: value if ( + name == "local_primitives" and type(value) in ( + PrimitiveDifference, FrameInputDifference) + or framed and type(value) in ( + PrimitiveExpansion, FrameInputExpansion)) + else PrimitiveExpansion.from_value(value) + for key, value in sorted(values.items())})) + parameters = dict(self.parameters) + if self.map_name == "relative-fields": + if parameters: + raise ContractError("unexpected_authority_parameters") + elif (set(parameters) != {"thermal_voltage_V"} + or not np.isfinite(parameters["thermal_voltage_V"]) or parameters["thermal_voltage_V"] <= 0): + raise ContractError("invalid_thermal_voltage") + for name, shape in expected.items(): + if type(self.primitives[name]) is not (FrameInputExpansion if framed else PrimitiveExpansion) or self.primitives[name].shape != shape: + raise ContractError("authority_primitive_shape_or_type") + for spec in self.layout.variables: + value = self.anchor[spec.id] + if type(value) is not DoubleArray or value.shape != spec.shape: + raise ContractError("authority_anchor_shape_or_type") + mode, physical = modes[spec.id], value.as_dd() + if mode == "log" and np.any(physical <= 0): + raise ContractError("log_coordinate_requires_positive_inventory") + if mode == "log_zero" and np.any(physical < 0): + raise ContractError("negative_physical_population") + if mode == "inactive" and np.any(physical != 0): + raise ContractError("inactive_inventory_not_zero") + if mode == "logit" and (np.any(physical < 0) or np.any(physical > 1)): + raise ContractError("invalid_trap_occupancy") + for name in ("anchor", "primitives"): + object.__setattr__(self, name, MappingProxyType({key: value.immutable_copy() + for key, value in sorted(getattr(self, name).items())})) + object.__setattr__(self, "modes", MappingProxyType(modes)) + object.__setattr__(self, "parameters", MappingProxyType(parameters)) + object.__setattr__(self, "inputs", frozen_array(self.inputs)) + object.__setattr__(self, "coordinates", frozen_array(self.coordinates)) + if not np.isfinite(self.time) or not self.reference or self.inputs.ndim != 1 or self.coordinates.ndim != 1: + raise ContractError("invalid_authority_binding") + object.__setattr__(self, "root_identity", ResolvedAuthority(self.layout.identity, self.anchor).identity) + object.__setattr__(self, "map_identity", _map_identity(self.layout, self.map_name, modes, parameters)) + if self.coordinate_kind not in {"local", "fixed-reference"}: + raise ContractError("unknown_coordinate_meaning") + if self.coordinate_kind == "local" and self.fixed_reference is not None: + raise ContractError("unexpected_fixed_reference") + if self.coordinate_kind == "fixed-reference" and ( + self.map_name != "relative-fields" or any(mode != "linear" for mode in modes.values()) + or not isinstance(self.fixed_reference, Point)): + raise ContractError("affine_trial_requires_linear_reference") + if (self.previous_primitives is None) != (self.local_primitives is None): + raise ContractError("incomplete_authority_transition") + if self.local_primitives is not None: + if (set(self.local_primitives) != set(expected) or set(self.previous_primitives) != set(expected) + or not self.previous_authority_identity or not self.previous_point_identity): + raise ContractError("incomplete_authority_transition") + paired = [type(value) in (PrimitiveDifference, FrameInputDifference) for value in self.local_primitives.values()] + if any(paired) and (not all(paired) or self.coordinate_kind != "fixed-reference"): + raise ContractError("paired_transition_requires_affine_endpoints") + if framed and not all(type(value) is FrameInputDifference for value in self.local_primitives.values()): + raise ContractError("frame_input_requires_paired_transition") + if not framed and any(type(value) is FrameInputDifference for value in self.local_primitives.values()): + raise ContractError("frame_difference_in_four_word_authority") + for key in expected: + local = self.local_primitives[key] + if isinstance(local, PrimitiveDifference): + if (local.shape != expected[key] + or local.current.identity_bytes() != self.primitives[key].identity_bytes() + or local.previous.identity_bytes() != self.previous_primitives[key].identity_bytes()): + raise ContractError("authority_transition_mismatch") + else: + # Preserve the exact historical v3/v4 normalization and + # identity check when decoding their four-word deltas. + composed = _exact_primitive_sum(self.previous_primitives[key], local) + if composed.identity_bytes() != self.primitives[key].identity_bytes(): + raise ContractError("authority_transition_mismatch") + for name in ("previous_primitives", "local_primitives"): + object.__setattr__(self, name, MappingProxyType({key: value.immutable_copy() + for key, value in sorted(getattr(self, name).items())})) + elif any(not value.is_zero() for value in self.primitives.values()): + raise ContractError("authority_transition_required") + order = [spec.id for spec in self.layout.variables] if self.map_name == "relative-fields" else sorted(expected) + coordinate_primitives = self.local_primitives + if self.coordinate_kind == "fixed-reference": + if self.local_primitives is None: + raise ContractError("fixed_reference_transition_required") + base = self._fixed_reference_primitives() + if framed and any(not value.is_zero() for value in base.values()): + raise ContractError("frame_input_reference_base_nonzero") + coordinate_primitives = {key: _exact_input_difference(self.primitives[key], base[key]) + for key in expected} + expected_coordinates = (np.concatenate([coordinate_primitives[key].high.ravel() for key in order]) + if coordinate_primitives is not None and order else np.zeros(sum(int(np.prod(expected[key])) for key in order))) + if self.coordinates.shape != expected_coordinates.shape or self.coordinates.tobytes() != expected_coordinates.tobytes(): + raise ContractError("authority_coordinate_projection_mismatch") + if self.coordinate_kind == "fixed-reference": + if self.reference != f"affine-trial:{self.map_identity}:{self.fixed_reference.identity}": + raise ContractError("authority_fixed_reference_mismatch") + else: + prefix = f"relative:{self.map_identity}:" if self.map_name == "relative-fields" else "physical-input-lift:" + if not self.reference.startswith(prefix): + raise ContractError("authority_reference_mismatch") + if self.local_primitives is not None and self.reference != prefix + self.previous_point_identity: + raise ContractError("authority_predecessor_reference_mismatch") + object.__setattr__(self, "identity", _digest(self.payload())) + projections = {} + for spec in self.layout.variables: + value = self._project(spec.id) + if (spec.lower is not None and np.any(value < spec.lower) + or spec.upper is not None and np.any(value > spec.upper)): + raise ContractError("physical_state_outside_domain") + projections[spec.id] = value + # The full source, map and arrays have already been made immutable. + # Reuse this validated projection without changing its word values. + object.__setattr__(self, "_projection_cache", MappingProxyType(projections)) + + def __getattribute__(self, name): + value = object.__getattribute__(self, name) + return value.view() if isinstance(value, np.ndarray) else value + + @property + def layout_identity(self) -> str: + return self.layout.identity + + @property + def frame_inputs(self): + return bool(self.primitives) and all(type(value) is FrameInputExpansion + for value in self.primitives.values()) + + def input_rate_word_count(self, values, origin): + if type(values) is FrameInputExpansion: + if not self.frame_inputs: + raise ContractError("linear_rate_word_shape_or_count") + return 12 + if self.frame_inputs and origin == "mapped-coordinate-rate": + raise ContractError("linear_rate_frame_input_profile") + return None + + def _fixed_reference_primitives(self) -> Mapping[str, PrimitiveExpansion]: + reference = self.fixed_reference + if not isinstance(reference, Point) or reference.state.layout.identity != self.layout.identity: + raise ContractError("affine_trial_reference_layout") + authority = reference.state.authority + if isinstance(authority, MappedAuthority): + if authority.coordinate_kind != "local": + raise ContractError("affine_trial_reference_rebase_forbidden") + self._compatible(authority) + return authority.primitives + if not isinstance(authority, ResolvedAuthority) or authority.identity != self.root_identity: + raise ContractError("affine_trial_reference_root_mismatch") + return {key: PrimitiveExpansion.from_value(np.zeros(value.shape)) for key, value in self.anchor.items()} + + def _primitive_shapes(self) -> dict[str, tuple[int, ...]]: + shapes = {spec.id: spec.shape for spec in self.layout.variables} + if self.map_name == "relative-fields": + return shapes + if not {"n_m3", "p_m3", "phi_V"} <= shapes.keys() or len({shapes[key] for key in ("n_m3", "p_m3", "phi_V")}) != 1: + raise ContractError("input_lift_bulk_fields_mismatch") + roles = {"electron": "n_m3", "hole": "p_m3", "potential": "phi_V", + "positive": "positive_m3", "occupancy": "occupancy", "trace_density": "trace_state_m3", + "trace_potential": "trace_potential_V", "voltage_lift": "phi_V", "trace_voltage_lift": "trace_potential_V"} + return {key: shapes[name] for key, name in roles.items() if name in shapes} + + def _drive(self, name: str) -> DD: + shape = self.anchor[name].shape + indices = np.arange(int(np.prod(shape)), dtype=np.intp).reshape(shape) + terms = self._drive_terms(name, indices) + return _linear_map_sum(terms) if terms else DD(np.zeros(shape)) + + def _drive_terms(self, name: str, selection: np.ndarray) -> tuple[tuple[float, PrimitiveExpansion], ...]: + """The same named map as _drive, before reducing its primitive terms.""" + return tuple((coefficient, self.primitives[role].take_flat(selection)) + for coefficient, role in self._drive_coefficients(name)) + + def _drive_coefficients(self, name: str) -> tuple[tuple[float, str], ...]: + if self.map_name == "relative-fields": + return ((1.0, name),) + vt = self.parameters["thermal_voltage_V"] + return { + "n_m3": ((1.0, "electron"), (1.0, "potential")), + "p_m3": ((1.0, "hole"), (-1.0, "potential")), + "phi_V": ((vt, "potential"), (1.0, "voltage_lift")), + "dqfn_V": ((vt, "electron"), (-1.0, "voltage_lift")), + "dqfp_V": ((vt, "hole"), (1.0, "voltage_lift")), + "trace_potential_V": ((vt, "trace_potential"), (1.0, "trace_voltage_lift")), + "positive_m3": ((1.0, "positive"),), "occupancy": ((1.0, "occupancy"),), + "trace_state_m3": ((1.0, "trace_density"),), + }.get(name, ()) + + def _drive_difference(self, other: MappedAuthority, name: str, + right_selection: np.ndarray, left_selection: np.ndarray) -> DD: + self._compatible(other) + terms = self._drive_terms(name, right_selection) + tuple( + (-coefficient, value) for coefficient, value in other._drive_terms(name, left_selection)) + return _linear_map_sum(terms) if terms else DD(np.zeros(right_selection.shape)) + + def _project(self, name: str) -> DD: + cached = getattr(self, "_projection_cache", None) + if cached is not None: + return cached[name] + base = self.anchor[name].as_dd() + if self.coordinate_kind == "fixed-reference": + selection = np.arange(int(np.prod(base.shape)), dtype=np.intp).reshape(base.shape) + # V4 affine trials contract the physical anchor and every source + # primitive together. Projecting the drive first could erase a + # small positive or negative remainder at complete depletion. + return _linear_map_sum(((1.0, base),)+self._drive_terms(name, selection)) + # Preserve the declared projection semantics of historical v3 maps. + drive, mode = self._drive(name), self.modes[name] + if mode in {"log", "log_zero"}: + return base*drive.exp() + if mode == "logit": + positive = drive >= 0 + hi, lo = np.zeros(base.shape), np.zeros(base.shape) + if np.any(positive): + f, d = base[positive], drive[positive] + value = f/(f+(1-f)*(-d).exp()) + hi[positive], lo[positive] = value.hi, value.lo + if np.any(~positive): + f, e = base[~positive], drive[~positive].exp() + value = f*e/((1-f)+f*e) + hi[~positive], lo[~positive] = value.hi, value.lo + return DD(hi, lo) + if mode in {"inactive", "fixed"}: + if np.any(drive != 0): raise ContractError("inactive_coordinate_change") + return base + return base+drive + + def field(self, name: str) -> MappedArray: + return MappedArray(self, name) + + def validate_binding(self, time, y, inputs, reference): + if (time != self.time or reference != self.reference or y.tobytes() != self.coordinates.tobytes() + or y.shape != self.coordinates.shape or inputs.shape != self.inputs.shape + or inputs.tobytes() != self.inputs.tobytes()): + raise ContractError("point_authority_binding_mismatch") + + def validate_transition(self, left: Point, right: Point) -> None: + if right.state.authority.identity != self.identity: + raise ContractError("incompatible_state_authority") + if left.identity != right.identity and left.identity != self.previous_point_identity: + raise ContractError("increment_predecessor_point_mismatch") + if self.coordinate_kind == "fixed-reference" and left.identity != self.fixed_reference.identity: + authority = left.state.authority + if (not isinstance(authority, MappedAuthority) or authority.coordinate_kind != "fixed-reference" + or authority.fixed_reference.identity != self.fixed_reference.identity): + raise ContractError("trial_predecessor_reference_mismatch") + self._compatible(authority) + + def _temporal_primitives(self, left: StateView) -> Mapping[str, PrimitiveExpansion | PrimitiveDifference]: + if left.authority.identity == self.identity: + return {key: type(value).from_value(np.zeros(value.shape)) + for key, value in self.primitives.items()} + if left.authority.identity != self.previous_authority_identity or self.local_primitives is None: + raise ContractError("increment_transition_anchor_mismatch") + if isinstance(left.authority, MappedAuthority): + self._compatible(left.authority) + if any(left.authority.primitives[key].identity_bytes() + != self.previous_primitives[key].identity_bytes() for key in self.primitives): + raise ContractError("increment_transition_primitive_mismatch") + elif (not isinstance(left.authority, ResolvedAuthority) + or left.authority.identity != self.root_identity + or any(not value.is_zero() for value in self.previous_primitives.values())): + raise ContractError("incompatible_state_authority") + return self.local_primitives + + def temporal_log_ratio(self, left: StateView, variable_id: str, + indices: ArrayLike | None) -> DoubleArray: + changes = self._temporal_primitives(left) + before, after = left.field(variable_id), self.field(variable_id) + selection = np.arange(int(np.prod(after.shape)), dtype=np.intp).reshape(after.shape) + if indices is not None: + before, after = before.take(indices), after.take(indices) + selection = selection[integer_indices(indices)] + old, new = before.as_dd(), after.as_dd() + if np.any(old <= 0) or np.any(new <= 0): + raise ContractError("log_ratio_requires_positive_fields") + if self.modes[variable_id] in {"log", "log_zero"}: + terms = tuple((coefficient, changes[role].take_flat(selection)) + for coefficient, role in self._drive_coefficients(variable_id)) + return DoubleArray.from_dd(_linear_map_sum(terms) if terms else DD(np.zeros(after.shape))) + change = self.delta_from(left)[variable_id] + if indices is not None: + change = change.take(indices) + relative = change.as_dd()/old + close = (relative > -0.5) & (relative < 0.5) + high, low = np.zeros(after.shape), np.zeros(after.shape) + if np.any(close): + value = relative[close].log1p(); high[close], low[close] = value.hi, value.lo + if np.any(~close): + value = _log_ratio(new[~close], old[~close]); high[~close], low[~close] = value.hi, value.lo + return DoubleArray(high, low) + + def _temporal_face_form(self, left: StateView, pairs: ArrayLike, + coefficients: tuple[tuple[float, str], ...]) -> DoubleArray: + changes = self._temporal_primitives(left) + pairs = integer_indices(pairs) + # Only identical named terms with exactly opposite coefficients cancel. + # Other coefficients/products remain separate through the DD reduction. + remaining: list[tuple[float, str]] = [] + for coefficient, role in coefficients: + for index, (previous, name) in enumerate(remaining): + if name == role and previous == -coefficient: + remaining.pop(index) + break + else: + remaining.append((coefficient, role)) + terms = tuple(term for coefficient, role in remaining for term in ( + (coefficient, changes[role].take_flat(pairs[:, 1])), + (-coefficient, changes[role].take_flat(pairs[:, 0])))) + return DoubleArray.from_dd(_linear_map_sum(terms) if terms else DD(np.zeros(len(pairs)))) + + def face_delta(self, left: StateView, variable_id: str, pairs: ArrayLike) -> DoubleArray: + if self.modes[variable_id] not in {"linear", "inactive", "fixed"}: + raise ContractError("face_delta_requires_affine_map") + return self._temporal_face_form(left, pairs, self._drive_coefficients(variable_id)) + + def _affine_log_face_delta(self, left: StateView, density_id: str, pairs: np.ndarray) -> DD: + before, after = left.field(density_id), self.field(density_id) + i, j = pairs[:, 0], pairs[:, 1] + n0l, n0r = before.take(i).as_dd(), before.take(j).as_dd() + n1l = after.take(i).as_dd() + initial_drop = before.take(j).difference(before.take(i)).as_dd() + drop_change = self.face_delta(left, density_id, pairs).as_dd() + change_left = self.delta_from(left)[density_id].take(i).as_dd() + # Change of the spatial density ratio, before taking its logarithm: + # (n1R*n0L)/(n1L*n0R)-1 = + # [n0L*delta(nR-nL) - (n0R-n0L)*delta(nL)]/(n0R*n1L). + # Source-bound spatial differences retain an existing tiny gradient + # when both populations receive the same large affine increment. + ratio_change = (n0l*drop_change-initial_drop*change_left)/(n0r*n1l) + close = (ratio_change > -0.5) & (ratio_change < 0.5) + high, low = np.zeros(len(pairs)), np.zeros(len(pairs)) + if np.any(close): + value = ratio_change[close].log1p() + high[close], low[close] = value.hi, value.lo + if np.any(~close): + # A large ratio change has no near-zero temporal face signal; + # individual finite logs avoid log1p rounding at depletion. + value = (self.temporal_log_ratio(left, density_id, j[~close]).as_dd() + - self.temporal_log_ratio(left, density_id, i[~close]).as_dd()) + high[~close], low[~close] = value.hi, value.lo + return DD(high, low) + + def electrochemical_delta(self, left: StateView, density_id: str, potential_id: str, + pairs: ArrayLike, thermal_voltage: float, + potential_sign: int) -> DoubleArray | None: + if self.modes[potential_id] not in {"linear", "inactive", "fixed"}: + raise ContractError("temporal_activity_requires_affine_potential") + pairs = integer_indices(pairs) + for value in (left.field(density_id), self.field(density_id)): + if np.any(value.take(pairs.ravel()).as_dd() <= 0): + raise ContractError("log_ratio_requires_positive_fields") + if self.modes[density_id] in {"linear", "inactive", "fixed"}: + density = self._affine_log_face_delta(left, density_id, pairs) + potential = self.face_delta(left, potential_id, pairs).as_dd() + return DoubleArray.from_dd(density+potential_sign*potential/thermal_voltage) + if self.modes[density_id] not in {"log", "log_zero"}: + return None + coefficients = tuple((thermal_voltage*coefficient, role) + for coefficient, role in self._drive_coefficients(density_id)) + tuple( + (potential_sign*coefficient, role) for coefficient, role in self._drive_coefficients(potential_id)) + return DoubleArray.from_dd(self._temporal_face_form(left, pairs, coefficients).as_dd()/thermal_voltage) + + def project(self, name: str) -> FieldProjection: + value = DoubleArray.from_dd(self._project(name)) + exact_root = all(v.is_zero() for v in self.primitives.values()) + bound = FloatArray(np.zeros(value.shape)) if exact_root else None + evaluator = ("stateless-dd-affine-joint-v1" if self.coordinate_kind == "fixed-reference" + else "stateless-dd-map-v1") + return FieldProjection(value, self.identity, evaluator, bound) + + def electrochemical_difference(self, density_id: str, potential_id: str, pairs: ArrayLike, + thermal_voltage: float, potential_sign: int) -> DoubleArray | None: + if self.map_name != "r1-input-lift" or potential_id != "phi_V" or density_id not in {"n_m3", "p_m3"}: + return None + pairs = integer_indices(pairs) + density, potential = self.anchor[density_id].as_dd(), self.anchor[potential_id].as_dd() + if (pairs.ndim != 2 or pairs.shape[1] != 2 or density.ndim != 1 or density.shape != potential.shape + or np.any(pairs < 0) or np.any(pairs >= density.size)): + raise ContractError("face_outside_support") + left, right = pairs[:, 0], pairs[:, 1] + base = _log_ratio(density[right], density[left]) + potential_sign*(potential[right]-potential[left])/thermal_voltage + role, coupled_sign = ("electron", 1) if density_id == "n_m3" else ("hole", -1) + primary, lift = self.primitives[role], self.primitives["voltage_lift"] + terms = [(thermal_voltage, primary.take_flat(right)), (-thermal_voltage, primary.take_flat(left)), + (float(potential_sign), lift.take_flat(right)), (-float(potential_sign), lift.take_flat(left))] + # With equal VT, the same named potential primitive has coefficient + # c+s=0 for electron/hole activities. Cancel that identity before a + # coordinate difference or VT product can round away the weak drive. + mapped_vt = self.parameters["thermal_voltage_V"] + if mapped_vt != thermal_voltage or coupled_sign + potential_sign != 0: + zphi = self.primitives["potential"] + terms.extend(((coupled_sign*thermal_voltage, zphi.take_flat(right)), + (-coupled_sign*thermal_voltage, zphi.take_flat(left)), + (potential_sign*mapped_vt, zphi.take_flat(right)), + (-potential_sign*mapped_vt, zphi.take_flat(left)))) + return DoubleArray.from_dd(base + _linear_map_sum(tuple(terms))/thermal_voltage) + + def _compatible(self, other: MappedAuthority) -> None: + if self.map_identity != other.map_identity or self.root_identity != other.root_identity: + raise ContractError("incompatible_state_authority") + + def delta_from(self, left: StateView) -> Mapping[str, PhysicalArray]: + if left.authority.identity != self.previous_authority_identity and left.authority.identity != self.identity: + raise ContractError("increment_transition_anchor_mismatch") + if isinstance(left.authority, MappedAuthority): + self._compatible(left.authority) + if left.authority.identity != self.identity and any( + left.authority.primitives[key].identity_bytes() != self.previous_primitives[key].identity_bytes() + for key in self.primitives): + raise ContractError("increment_transition_primitive_mismatch") + return {name: self.field(name).difference(left.field(name)) for name in self.anchor} + if left.authority.identity != self.root_identity: + raise ContractError("incompatible_state_authority") + if any(not value.is_zero() for value in self.previous_primitives.values()): + raise ContractError("increment_transition_primitive_mismatch") + # Root-relative finite change uses the same stable map, not a projected + # endpoint subtraction. This also permits the first named R1 lift. + return {name: DoubleArray.from_dd(self._root_delta(name)) for name in self.anchor} + + def _root_delta(self, name: str) -> DD: + base, drive, mode = self.anchor[name].as_dd(), self._drive(name), self.modes[name] + if mode in {"log", "log_zero"}: return base*drive.expm1() + if mode == "logit": + active = (base > 0) & (base < 1) + high, low = np.zeros(base.shape), np.zeros(base.shape) + if np.any(active): + f, e = base[active], drive[active].expm1() + value = f*(1-f)*e/(1+f*e) + high[active], low[active] = value.hi, value.lo + return DD(high, low) + return drive + + def payload(self, *, include_transition: bool = True) -> dict[str, Any]: + payload = {"schema": "solarlab.state-authority.v3", "layout": self.layout.identity, + "map": self.map_name, "version": 1, "modes": dict(self.modes), + "parameters": {key: float(value).hex() for key, value in self.parameters.items()}, + "anchor": {key: _word_payload(value) for key, value in self.anchor.items()}, + "primitives": {key: _primitive_payload(value) for key, value in self.primitives.items()}, + "time": float(self.time).hex(), "inputs": [float(v).hex() for v in self.inputs], + "coordinates": [float(v).hex() for v in self.coordinates], "reference": self.reference, + "composition_policy": "exact-four-word-primitives-v1"} + if self.coordinate_kind == "fixed-reference": + payload["schema"] = "solarlab.state-authority.v4" + # Empty layouts have no paired operands: retain their canonical + # legacy v4 identity even when trial's requested policy is paired. + if self.local_primitives and all(type(value) is PrimitiveDifference + for value in self.local_primitives.values()): + payload["schema"] = "solarlab.state-authority.v5" + payload["composition_policy"] = "four-word-endpoints-paired-transition-v1" + if self.frame_inputs: + payload["schema"] = "solarlab.state-authority.v6" + payload["composition_policy"] = "frame-input12-endpoints-paired-transition-v1" + payload["coordinate_contract"] = {"kind": "fixed-reference-affine-v1", + "solver_projection": "first-word", + "reference": encode_point(self.fixed_reference)} + if include_transition: + payload["transition"] = None if self.local_primitives is None else { + "previous_authority": self.previous_authority_identity, + "previous_point": self.previous_point_identity, + "previous_primitives": {key: _primitive_payload(value) for key, value in self.previous_primitives.items()}, + "local_primitives": {key: _difference_payload(value) if isinstance(value, PrimitiveDifference) + else _primitive_payload(value) for key, value in self.local_primitives.items()}} + return payload + + +@dataclass(frozen=True, init=False) +class MappedArray(DoubleArray): + """PhysicalArray selection retaining its generating authority and map. + + as_dd() is an explicit bounded materialization for nonsingular products. + Differences and log ratios must use these public methods before projection. + """ + + authority: MappedAuthority + variable: str + _selection: np.ndarray + + def __init__(self, authority: MappedAuthority, variable: str, selection=None): + shape = authority.anchor[variable].shape + indices = np.arange(int(np.prod(shape)), dtype=np.intp).reshape(shape) if selection is None else integer_indices(selection) + projected = authority._project(variable).ravel()[indices] + super().__init__(projected.hi, projected.lo) + object.__setattr__(self, "authority", authority) + object.__setattr__(self, "variable", variable) + object.__setattr__(self, "_selection", np.frombuffer(indices.tobytes(), dtype=np.intp).reshape(indices.shape)) + + def immutable_copy(self) -> MappedArray: + return MappedArray(self.authority, self.variable, self._selection) + + def take(self, indices: ArrayLike) -> MappedArray: + indices = integer_indices(indices) + if np.any(indices < 0) or np.any(indices >= self.shape[0]): + raise ContractError("index_outside_support") + return MappedArray(self.authority, self.variable, self._selection[indices]) + + def identity_bytes(self) -> bytes: + return (b"authority-field-v1:" + self.authority.identity.encode() + self.variable.encode() + + repr(self.shape).encode() + self._selection.tobytes()) + + def _pair(self, other: PhysicalArray, *, need_change: bool = True): + if not isinstance(other, MappedArray) or self.variable != other.variable or self.shape != other.shape: + raise ContractError("authority_field_mismatch") + self.authority._compatible(other.authority) + base = self.authority.anchor[self.variable].as_dd().ravel() + left, right = base[other._selection], base[self._selection] + change = (self.authority._drive_difference(other.authority, self.variable, + self._selection, other._selection) + if need_change else None) + return left, right, change + + def log_ratio(self, other: PhysicalArray) -> DoubleArray: + mode = self.authority.modes[self.variable] + left, right, change = self._pair(other, need_change=mode in {"log", "log_zero"}) + if mode in {"log", "log_zero"}: + return DoubleArray.from_dd(_log_ratio(right, left)+change) + difference = self.difference(other).as_dd() + actual_left, actual_right = other.as_dd(), self.as_dd() + if np.any(actual_left <= 0) or np.any(actual_right <= 0): + raise ContractError("log_ratio_requires_positive_fields") + relative = difference/actual_left + close = (relative > -0.5) & (relative < 0.5) + high, low = np.zeros(self.shape), np.zeros(self.shape) + if np.any(close): + value = relative[close].log1p(); high[close], low[close] = value.hi, value.lo + if np.any(~close): + value = _log_ratio(actual_right[~close], actual_left[~close]) + high[~close], low[~close] = value.hi, value.lo + return DoubleArray(high, low) + + def difference(self, other: PhysicalArray) -> DoubleArray: + left, right, _ = self._pair(other, need_change=False) + mode = self.authority.modes[self.variable] + if mode in {"linear", "inactive", "fixed"}: + if "fixed-reference" in (self.authority.coordinate_kind, other.authority.coordinate_kind): + # V4 paired observables use the same joint affine source as + # field projection. Reducing the two drives first can erase + # the entire surviving gradient after anchor cancellation. + terms = ((1.0, right), (-1.0, left)) + self.authority._drive_terms( + self.variable, self._selection) + tuple( + (-coefficient, value) for coefficient, value in other.authority._drive_terms( + self.variable, other._selection)) + return DoubleArray.from_dd(_linear_map_sum(terms)) + change = self.authority._drive_difference(other.authority, self.variable, + self._selection, other._selection) + if mode in {"linear", "inactive", "fixed"}: + return DoubleArray.from_dd((right-left)+change) + actual_left, actual_right = other.as_dd(), self.as_dd() + if mode in {"log", "log_zero"}: + active = (left > 0) & (right > 0) + output = actual_right-actual_left + hi, lo = output.hi.copy(), output.lo.copy() + if np.any(active): + ratio = _log_ratio(right[active], left[active])+change[active] + positive = ratio >= 0 + vh, vl = np.zeros(ratio.shape), np.zeros(ratio.shape) + if np.any(positive): + value = actual_right[active][positive]*(-(-ratio[positive]).expm1()) + vh[positive], vl[positive] = value.hi, value.lo + if np.any(~positive): + value = actual_left[active][~positive]*ratio[~positive].expm1() + vh[~positive], vl[~positive] = value.hi, value.lo + hi[active], lo[active] = vh, vl + return DoubleArray(hi, lo) + # Logit finite differences share the same odds authority. Endpoint + # values are evaluated separately, so depletion never becomes zero by + # recombining an almost -1 finite increment with the root. + active = (left > 0) & (left < 1) & (right > 0) & (right < 1) + output = actual_right-actual_left + hi, lo = output.hi.copy(), output.lo.copy() + if np.any(active): + odds = (_log_ratio(right[active], left[active]) + - _log_ratio(1-right[active], 1-left[active]) + change[active]) + f, e = actual_left[active], odds.expm1() + value = f*(1-f)*e/(1+f*e) + hi[active], lo[active] = value.hi, value.lo + return DoubleArray(hi, lo) + + +@dataclass(frozen=True) +class RelativeCoordinates: + """Keep a resolved root and compose named physical primitive coordinates. + + Trials share the accepted authority. The local transition and complete map + are retained on acceptance; an evaluated endpoint is never a new root. + """ + + layout: Layout + modes: Mapping[str, str] + + def __post_init__(self) -> None: + modes = dict(self.modes) + if set(modes) != {spec.id for spec in self.layout.variables}: + raise ContractError("incomplete_coordinate_modes") + if any(mode not in {"linear", "log", "logit", "inactive"} for mode in modes.values()): + raise ContractError("unknown_coordinate_mode") + object.__setattr__(self, "modes", MappingProxyType(modes)) + + @property + def identity(self) -> str: + return _map_identity(self.layout, "relative-fields", self.modes, {}) + + def initial(self, state: StateView, time: float = 0.0, inputs: ArrayLike = ()) -> Point: + if state.layout.identity != self.layout.identity: + raise ContractError("coordinate_layout_mismatch") + if not isinstance(state.authority, ResolvedAuthority): + raise ContractError("explicit_authority_rebase_required") + if any(type(value) is not DoubleArray for value in state.fields.values()): + raise ContractError("precision_coordinate_requires_double_words") + y, inputs = np.zeros(self.layout.size), frozen_array(inputs) + reference = f"relative:{self.identity}:initial" + authority = MappedAuthority(self.layout, state.fields, self.modes, + {spec.id: DoubleArray(np.zeros(spec.shape)) for spec in self.layout.variables}, + time, inputs, y, reference) + return Point(time, y, inputs, StateView(self.layout, authority=authority), reference) + + def advance(self, anchor: Point, increment: ArrayLike, time: float, + inputs: ArrayLike = ()) -> tuple[Point, StateIncrement]: + dz = PrimitiveExpansion.from_value(increment) + if dz.shape != (self.layout.size,) or anchor.state.layout.identity != self.layout.identity: + raise ContractError("coordinate_layout_mismatch") + if not anchor.coordinate_reference.startswith(f"relative:{self.identity}:"): + raise ContractError("coordinate_reference_mismatch") + previous = anchor.state.authority + if not isinstance(previous, MappedAuthority) or previous.map_identity != self.identity: + raise ContractError("coordinate_authority_mismatch") + local, accumulated = {}, {} + for spec in self.layout.variables: + offset = self.layout.offsets[spec.id] + local[spec.id] = dz.take_flat(np.arange(offset.start, offset.stop, dtype=np.intp)).reshape(spec.shape) + accumulated[spec.id] = _exact_primitive_sum(previous.primitives[spec.id], local[spec.id]) + y, inputs = dz.high, frozen_array(inputs) + reference = f"relative:{self.identity}:{anchor.identity}" + authority = MappedAuthority(self.layout, previous.anchor, self.modes, accumulated, + time, inputs, y, reference, previous_primitives=previous.primitives, + local_primitives=local, previous_authority_identity=previous.identity, + previous_point_identity=anchor.identity) + right = Point(time, y, inputs, StateView(self.layout, authority=authority), reference) + return right, StateIncrement.from_points(anchor, right) + + def trial(self, reference: Point, cumulative_increment: ArrayLike | DoubleArray | PrimitiveExpansion, + time: float, inputs: ArrayLike = (), *, predecessor: Point | None = None, + transition_representation: str = "paired-endpoints-v1" + ) -> tuple[Point, StateIncrement]: + """Affine physical trial at a fixed reference, with an actual predecessor. + + Point.y is the first-word projection of the cumulative SI remainder; + complete input words remain authoritative and are serialized. Local + predecessor differences are distinct from these fixed coordinates. + Existing advance() continues to expose local increments as Point.y. + The explicit four-word mode is for faithful historical v4 restoration; + it retains the original capacity rejection rather than rewriting it. + """ + if transition_representation not in {"paired-endpoints-v1", "four-word-v1"}: + raise ContractError("unknown_affine_transition_representation") + if any(mode != "linear" for mode in self.modes.values()): + raise ContractError("affine_trial_requires_linear_reference") + if not isinstance(reference, Point) or reference.state.layout.identity != self.layout.identity: + raise ContractError("affine_trial_reference_layout") + framed = type(cumulative_increment) is FrameInputExpansion + if framed and transition_representation != "paired-endpoints-v1": + raise ContractError("frame_input_requires_paired_transition") + cumulative = (FrameInputExpansion if framed else PrimitiveExpansion).from_value(cumulative_increment) + if cumulative.shape != (self.layout.size,): + raise ContractError("coordinate_layout_mismatch") + source = reference.state.authority + if isinstance(source, ResolvedAuthority): + if any(type(value) is not DoubleArray for value in reference.state.fields.values()): + raise ContractError("precision_coordinate_requires_double_words") + anchor = reference.state.fields + base = {spec.id: PrimitiveExpansion.from_value(np.zeros(spec.shape)) for spec in self.layout.variables} + elif isinstance(source, MappedAuthority) and source.map_identity == self.identity: + if source.coordinate_kind != "local": + raise ContractError("affine_trial_reference_rebase_forbidden") + anchor, base = source.anchor, source.primitives + else: + raise ContractError("coordinate_authority_mismatch") + if framed and any(not value.is_zero() for value in base.values()): + raise ContractError("frame_input_reference_base_nonzero") + previous = reference if predecessor is None else predecessor + if not isinstance(previous, Point) or previous.state.layout.identity != self.layout.identity: + raise ContractError("trial_predecessor_reference_mismatch") + previous_authority = previous.state.authority + if previous.identity == reference.identity: + old = base + elif (isinstance(previous_authority, MappedAuthority) + and previous_authority.coordinate_kind == "fixed-reference" + and previous_authority.fixed_reference.identity == reference.identity + and previous_authority.map_identity == self.identity): + old = previous_authority.primitives + else: + raise ContractError("trial_predecessor_reference_mismatch") + if framed and previous.identity != reference.identity and not previous_authority.frame_inputs: + raise ContractError("frame_input_predecessor_profile") + current, local = {}, {} + for spec in self.layout.variables: + offset = self.layout.offsets[spec.id] + value = cumulative.take_flat(np.arange(offset.start, offset.stop, dtype=np.intp)).reshape(spec.shape) + current[spec.id] = _exact_input_sum(base[spec.id], value) + difference = FrameInputDifference if framed else PrimitiveDifference + local[spec.id] = (difference(current[spec.id], old[spec.id]) + if transition_representation == "paired-endpoints-v1" else + _exact_primitive_difference(current[spec.id], old[spec.id])) + # Use the authority's canonical cumulative words for the solver view. + # In particular, a valid input -0 has canonical physical remainder +0; + # the exact byte binding below remains strict rather than using allclose. + coordinate_words = [_exact_input_difference(current[spec.id], base[spec.id]) + for spec in self.layout.variables] + y = np.concatenate([value.high.ravel() for value in coordinate_words]) if coordinate_words else np.empty(0) + inputs = frozen_array(inputs) + binding = f"affine-trial:{self.identity}:{reference.identity}" + authority = MappedAuthority(self.layout, anchor, self.modes, current, time, inputs, y, binding, + previous_primitives=old, local_primitives=local, + previous_authority_identity=previous_authority.identity, + previous_point_identity=previous.identity, + coordinate_kind="fixed-reference", fixed_reference=reference) + right = Point(time, y, inputs, StateView(self.layout, authority=authority), binding) + return right, StateIncrement.from_points(previous, right) + + def rebase(self, point: Point, maximum_projection_error: Mapping[str, ArrayLike]) -> Point: + """Only a certified projection can become an explicitly declared root. + + Nontrivial transcendental maps have no generic sign certificate here; + they stay rooted until a consumer-specific rebase qualification exists. + """ + if set(maximum_projection_error) != set(point.state.fields): + raise ContractError("incomplete_rebase_error_budget") + fields = [] + for name in point.state.fields: + projection = point.state.project_field(name) + projection.require_error(maximum_projection_error[name]) + fields.append((name, projection.value)) + return self.initial(StateView(self.layout, fields), point.time, point.inputs) + + +def _r1_modes(layout: Layout) -> dict[str, str]: + logarithmic = {"n_m3", "p_m3", "positive_m3", "trace_state_m3"} + linear = {"phi_V", "dqfn_V", "dqfp_V", "trace_potential_V"} + return {spec.id: ("log_zero" if spec.id in logarithmic else "linear" if spec.id in linear + else "logit" if spec.id == "occupancy" else "fixed") for spec in layout.variables} + + +@dataclass(frozen=True) +class InputLiftCoordinates: + """The named R1 physical input map, without a private Newton/solver state.""" + + layout: Layout + thermal_voltage_V: float + + def advance(self, anchor: Point, increments: Mapping[str, ArrayLike | DoubleArray | PrimitiveExpansion], time: float, + voltage_lift_V: ArrayLike | DoubleArray | PrimitiveExpansion | None = None, + trace_voltage_lift_V: ArrayLike | DoubleArray | PrimitiveExpansion | None = None, + inputs: ArrayLike | None = None) -> tuple[Point, StateIncrement]: + if anchor.state.layout.identity != self.layout.identity: + raise ContractError("coordinate_layout_mismatch") + params, modes = {"thermal_voltage_V": self.thermal_voltage_V}, _r1_modes(self.layout) + previous = anchor.state.authority + if isinstance(previous, MappedAuthority): + if previous.map_identity != _map_identity(self.layout, "r1-input-lift", modes, params): + raise ContractError("incompatible_state_authority") + root, old = previous.anchor, previous.primitives + shapes = previous._primitive_shapes() + else: + if not isinstance(previous, ResolvedAuthority): + raise ContractError("explicit_authority_rebase_required") + root = anchor.state.fields + field_shapes = {spec.id: spec.shape for spec in self.layout.variables} + roles = {"electron": "n_m3", "hole": "p_m3", "potential": "phi_V", "positive": "positive_m3", + "occupancy": "occupancy", "trace_density": "trace_state_m3", "trace_potential": "trace_potential_V", + "voltage_lift": "phi_V", "trace_voltage_lift": "trace_potential_V"} + shapes = {key: field_shapes[name] for key, name in roles.items() if name in field_shapes} + old = {key: DoubleArray(np.zeros(shape)) for key, shape in shapes.items()} + if not set(increments) <= set(shapes)-{"voltage_lift", "trace_voltage_lift"}: + raise ContractError("unknown_input_lift_coordinate") + raw = dict(increments) + if voltage_lift_V is not None: raw["voltage_lift"] = voltage_lift_V + if trace_voltage_lift_V is not None: raw["trace_voltage_lift"] = trace_voltage_lift_V + if not set(raw) <= shapes.keys(): + raise ContractError("input_lift_field_missing") + local, accumulated = {}, {} + for key, shape in sorted(shapes.items()): + value = raw.get(key, np.zeros(shape)) + local[key] = PrimitiveExpansion.from_value(value) + if local[key].shape != shape: + raise ContractError("input_lift_coordinate_shape_mismatch") + accumulated[key] = _exact_primitive_sum(old[key], local[key]) + y = np.concatenate([value.high.ravel() for value in local.values()]) + inputs = anchor.inputs if inputs is None else frozen_array(inputs) + reference = f"physical-input-lift:{anchor.identity}" + authority = MappedAuthority(self.layout, root, modes, accumulated, time, inputs, y, reference, + "r1-input-lift", params, old, local, previous.identity, anchor.identity) + right = Point(time, y, inputs, StateView(self.layout, authority=authority), reference) + return right, StateIncrement.from_points(anchor, right) + + +def bernoulli(value: DoubleArray) -> DoubleArray: + """Stable x/(exp(x)-1) with an exact zero branch and explicit DD range.""" + x = value.as_dd() + high, low = np.ones(x.shape), np.zeros(x.shape) + positive, negative = x > 0, x < 0 + if np.any(positive): + z = x[positive] + result = z * (-z).exp() / (-(-z).expm1()) + high[positive], low[positive] = result.hi, result.lo + if np.any(negative): + z = x[negative] + result = -z / (-z.expm1()) + high[negative], low[negative] = result.hi, result.lo + return DoubleArray(high, low) + + +def _word_payload(value: DoubleArray) -> dict[str, Any]: + return {"shape": list(value.shape), "high": [float(x).hex() for x in value.high.ravel()], + "low": [float(x).hex() for x in value.low.ravel()]} + + +def _primitive_payload(value: PrimitiveExpansion) -> dict[str, Any]: + return {"shape": list(value.shape), "precision": FRAME_INPUT_PROFILE if type(value) is FrameInputExpansion else "input-expansion4-v1", + "words": [[float(x).hex() for x in word.ravel()] for word in value.words]} + + +def _difference_payload(value: PrimitiveDifference) -> dict[str, Any]: + return {"shape": list(value.shape), "precision": "frame-input12-endpoint-difference-v1" if type(value) is FrameInputDifference else "paired-endpoint-difference-v1", + "current": _primitive_payload(value.current), "previous": _primitive_payload(value.previous)} + + +def _decode_difference(payload: Mapping[str, Any], shape: tuple[int, ...], *, framed=False) -> PrimitiveDifference: + if (set(payload) != {"shape", "precision", "current", "previous"} + or payload["shape"] != list(shape) + or payload["precision"] != ("frame-input12-endpoint-difference-v1" if framed else "paired-endpoint-difference-v1")): + raise ContractError("precision_codec_primitive_difference") + return (FrameInputDifference if framed else PrimitiveDifference)( + _decode_primitive(payload["current"], shape, framed=framed), + _decode_primitive(payload["previous"], shape, framed=framed)) + + +def _decode_primitive(payload: Mapping[str, Any], shape: tuple[int, ...], *, framed=False) -> PrimitiveExpansion: + extended = framed and payload.get("precision") == FRAME_INPUT_PROFILE + kind, count = (FrameInputExpansion, 12) if extended else (PrimitiveExpansion, 4) + if (set(payload) != {"shape", "precision", "words"} or payload["shape"] != list(shape) + or payload["precision"] != (FRAME_INPUT_PROFILE if extended else "input-expansion4-v1") or len(payload["words"]) != count + or any(len(word) != int(np.prod(shape)) for word in payload["words"])): + raise ContractError("precision_codec_primitive_shape") + return kind(tuple(np.asarray([float.fromhex(x) for x in word]).reshape(shape) + for word in payload["words"])) + + +def _decode_words(payload: Mapping[str, Any], shape: tuple[int, ...]) -> DoubleArray: + if payload.get("shape") != list(shape) or set(payload) != {"shape", "high", "low"}: + raise ContractError("precision_codec_shape_mismatch") + count = int(np.prod(shape)) + if len(payload["high"]) != count or len(payload["low"]) != count: + raise ContractError("precision_codec_word_count") + high = np.asarray([float.fromhex(word) for word in payload["high"]]).reshape(shape) + low = np.asarray([float.fromhex(word) for word in payload["low"]]).reshape(shape) + return DoubleArray(high, low) + + +def _digest(payload: Mapping[str, Any]) -> str: + return hashlib.sha256(json.dumps(payload, sort_keys=True, separators=(",", ":"), + allow_nan=False).encode()).hexdigest() + + +def encode_point(point: Point) -> dict[str, Any]: + if any(not isinstance(value, DoubleArray) for value in point.state.fields.values()): + raise ContractError("precision_codec_requires_double_words") + payload = { + "schema": "solarlab.precision-point.v2", "layout": point.state.layout.identity, + "coordinate_reference": point.coordinate_reference, "identity": point.identity, + "time": float(point.time).hex(), "y": [float(x).hex() for x in point.y], + "inputs": [float(x).hex() for x in point.inputs], + "fields": {key: _word_payload(value) for key, value in point.state.fields.items()}, + "authority_identity": point.state.authority.identity, + "authority": point.state.authority.payload() if isinstance(point.state.authority, MappedAuthority) else None, + "field_role": "projection" if isinstance(point.state.authority, MappedAuthority) else "resolved-input", + } + return {"payload": payload, "sha256": _digest(payload)} + + +def decode_point(record: Mapping[str, Any], layout: Layout) -> Point: + payload = record["payload"] + if _digest(payload) != record.get("sha256"): + raise ContractError("precision_codec_digest_mismatch") + if payload.get("schema") not in {"solarlab.precision-point.v1", "solarlab.precision-point.v2"} or payload.get("layout") != layout.identity: + raise ContractError("precision_codec_layout_mismatch") + if set(payload["fields"]) != {spec.id for spec in layout.variables}: + raise ContractError("precision_codec_fields_mismatch") + fields = [(spec.id, _decode_words(payload["fields"][spec.id], spec.shape)) for spec in layout.variables] + if payload.get("authority") is not None: + if payload.get("field_role") != "projection": + raise ContractError("precision_codec_authority_role") + authority = _decode_authority(payload["authority"], layout) + state = StateView(layout, authority=authority) + for name, value in fields: + if value.identity_bytes() != authority.project(name).value.identity_bytes(): + raise ContractError("precision_codec_projection_mismatch") + else: + if (payload.get("field_role", "resolved-input") != "resolved-input" + or payload["coordinate_reference"].startswith(("relative:", "physical-input-lift:", "affine-trial:"))): + raise ContractError("precision_codec_unresolved_authority") + state = StateView(layout, fields) + if payload.get("schema") == "solarlab.precision-point.v2" and payload.get("authority_identity") != state.authority.identity: + raise ContractError("precision_codec_authority_identity") + point = Point(float.fromhex(payload["time"]), + np.asarray([float.fromhex(x) for x in payload["y"]]), + np.asarray([float.fromhex(x) for x in payload["inputs"]]), state, + payload["coordinate_reference"]) + if point.identity != payload["identity"]: + raise ContractError("precision_codec_identity_mismatch") + return point + + +def _decode_authority(payload: Mapping[str, Any], layout: Layout) -> MappedAuthority: + keys = {"schema", "layout", "map", "version", "modes", "parameters", "anchor", "primitives", + "time", "inputs", "coordinates", "reference", "composition_policy", "transition"} + fixed_reference = None + kind = "local" + framed = payload.get("schema") == "solarlab.state-authority.v6" + paired = framed or payload.get("schema") == "solarlab.state-authority.v5" + if payload.get("schema") in {"solarlab.state-authority.v4", "solarlab.state-authority.v5", "solarlab.state-authority.v6"}: + keys.add("coordinate_contract") + contract = payload.get("coordinate_contract", {}) + if (set(contract) != {"kind", "solver_projection", "reference"} + or contract["kind"] != "fixed-reference-affine-v1" + or contract["solver_projection"] != "first-word"): + raise ContractError("precision_codec_coordinate_meaning") + fixed_reference = decode_point(contract["reference"], layout) + kind = "fixed-reference" + policy = "four-word-endpoints-paired-transition-v1" if paired else "exact-four-word-primitives-v1" + if framed: + policy = "frame-input12-endpoints-paired-transition-v1" + if (set(payload) != keys or payload["schema"] not in {"solarlab.state-authority.v3", "solarlab.state-authority.v4", "solarlab.state-authority.v5", "solarlab.state-authority.v6"} + or payload["layout"] != layout.identity or payload["version"] != 1 + or payload["composition_policy"] != policy): + raise ContractError("precision_codec_authority_schema") + shapes = {spec.id: spec.shape for spec in layout.variables} + if set(payload["anchor"]) != set(shapes) or set(payload["modes"]) != set(shapes): + raise ContractError("precision_codec_anchor_closure") + anchor = {key: _decode_words(payload["anchor"][key], shape) for key, shape in shapes.items()} + if payload["map"] == "relative-fields": + primitive_shapes = shapes + elif payload["map"] == "r1-input-lift": + roles = {"electron": "n_m3", "hole": "p_m3", "potential": "phi_V", "positive": "positive_m3", + "occupancy": "occupancy", "trace_density": "trace_state_m3", "trace_potential": "trace_potential_V", + "voltage_lift": "phi_V", "trace_voltage_lift": "trace_potential_V"} + primitive_shapes = {key: shapes[name] for key, name in roles.items() if name in shapes} + else: + raise ContractError("unsupported_authority_map") + def decode_primitives(values): + if set(values) != set(primitive_shapes): + raise ContractError("authority_primitive_roles_mismatch") + return {key: _decode_primitive(values[key], shape, framed=framed) for key, shape in primitive_shapes.items()} + primitives = decode_primitives(payload["primitives"]) + if framed and not all(type(value) is FrameInputExpansion for value in primitives.values()): + raise ContractError("frame_input_codec_profile_mismatch") + if paired and not primitives: + raise ContractError("precision_codec_empty_paired_transition") + previous, local, previous_identity, previous_point = None, None, None, None + if payload["transition"] is not None: + transition = payload["transition"] + if set(transition) != {"previous_authority", "previous_point", "previous_primitives", "local_primitives"}: + raise ContractError("incomplete_authority_transition") + previous = decode_primitives(transition["previous_primitives"]) + if paired: + if set(transition["local_primitives"]) != set(primitive_shapes): + raise ContractError("authority_primitive_roles_mismatch") + local = {key: _decode_difference(transition["local_primitives"][key], shape, framed=framed) + for key, shape in primitive_shapes.items()} + else: + local = decode_primitives(transition["local_primitives"]) + previous_identity = transition["previous_authority"] + previous_point = transition["previous_point"] + return MappedAuthority(layout, anchor, payload["modes"], primitives, float.fromhex(payload["time"]), + np.asarray([float.fromhex(x) for x in payload["inputs"]]), + np.asarray([float.fromhex(x) for x in payload["coordinates"]]), payload["reference"], + payload["map"], {key: float.fromhex(value) for key, value in payload["parameters"].items()}, + previous, local, previous_identity, previous_point, kind, fixed_reference) diff --git a/scripts/benchmarks/probe_ida_binding.py b/scripts/benchmarks/probe_ida_binding.py new file mode 100644 index 00000000..30a04277 --- /dev/null +++ b/scripts/benchmarks/probe_ida_binding.py @@ -0,0 +1,414 @@ +"""Bounded analytic probes of the pinned IDA binding, not device qualification. + +Run with the ``ida`` extra in an isolated environment. No SolarLab model or +experimental trajectory is imported. Expected missing capabilities are reported +as missing, even when this engineering probe exits successfully. +""" + +from __future__ import annotations + +import argparse +import hashlib +import importlib.metadata +import json +import os +from pathlib import Path +import sys +import threading +from typing import Any, Callable + + +THREAD_VARIABLES = ( + "OMP_NUM_THREADS", + "OPENBLAS_NUM_THREADS", + "MKL_NUM_THREADS", + "VECLIB_MAXIMUM_THREADS", + "NUMEXPR_NUM_THREADS", +) + + +def run_probes() -> dict[str, Any]: + for name in THREAD_VARIABLES: + os.environ[name] = "1" + + import numpy as np + import scipy + from scipy.sparse import csc_matrix + import sksundae as sun + from threadpoolctl import threadpool_info, threadpool_limits + + package_root = Path(sun.__file__).resolve().parent + assert sun.__version__ == "1.1.3", "probe requires scikit-SUNDAE 1.1.3" + assert sun.SUNDIALS_VERSION == "7.5.0", "probe requires SUNDIALS 7.5.0" + sources = {} + for path in [ + package_root / "ida/_solver.py", + package_root / "_cy_ida.pyx", + package_root / "py_config.pxi", + *package_root.glob("_cy_ida*.so"), + ]: + if path.is_file(): + sources[str(path)] = hashlib.sha256(path.read_bytes()).hexdigest() + + cases: list[dict[str, Any]] = [] + + def check(name: str, capability: str, fn: Callable[[], dict[str, Any]]) -> None: + try: + detail = fn() + cases.append( + dict( + name=name, capability=capability, observation_matched=True, **detail + ) + ) + except Exception as exc: + cases.append( + dict( + name=name, + capability=capability, + observation_matched=False, + error=f"{type(exc).__name__}: {exc}", + ) + ) + + def snapshot(result: Any) -> dict[str, Any]: + return { + "t": np.asarray(result.t).tolist(), + "y": np.asarray(result.y).tolist(), + "yp": np.asarray(result.yp).tolist(), + "success": bool(result.success), + "status": int(result.status), + "nfev": int(result.nfev), + } + + def decay(t: float, y: Any, yp: Any, res: Any) -> None: + res[:] = yp + y + + def init_semantics() -> dict[str, Any]: + def residual(t: float, y: Any, yp: Any, res: Any) -> None: + res[0] = yp[0] + y[0] + res[1] = y[0] - y[1] + + records = {} + for mode in (None, "yp0", "y0"): + solver = sun.ida.IDA( + residual, algebraic_idx=[1], calc_initcond=mode, rtol=1e-9, atol=1e-11 + ) + result = solver.init_step(0.0, [1.0, 0.0], [-1.0, 0.0]) + values = np.empty(2) + residual(0.0, result.y, result.yp, values) + records[str(mode)] = {**snapshot(result), "residual": values.tolist()} + if mode is None: + assert result.success and abs(values[1]) == 1.0 + else: + assert result.success and np.max(np.abs(values)) < 1e-7 + np.testing.assert_allclose(result.y, [1.0, 1.0], atol=1e-7) + return { + "records": records, + "limitation": "init success without calc_initcond does not certify consistency; yp0 mode may also change algebraic y0", + } + + def sparse_csc() -> dict[str, Any]: + lengths = [] + + def residual(t: float, y: Any, yp: Any, res: Any) -> None: + res[0] = yp[0] + y[0] + res[1] = y[0] - y[1] + + def jacobian( + t: float, y: Any, yp: Any, res: Any, cj: float, values: Any + ) -> None: + lengths.append(values.shape) + values[:] = [1.0 + cj, 1.0, -1.0] + + solver = sun.ida.IDA( + residual, + jacfn=jacobian, + algebraic_idx=[1], + linsolver="sparse", + sparsity=csc_matrix([[1.0, 0.0], [1.0, 1.0]]), + nthreads=1, + rtol=1e-9, + atol=[1e-11, 1e-11], + ) + result = solver.solve([0.0, 0.2], [1.0, 1.0], [-1.0, -1.0]) + assert result.success and lengths and all(shape == (3,) for shape in lengths) + error = float(np.max(np.abs(result.y[-1] - np.exp(-0.2)))) + assert error < 1e-7 + return { + "jacobian_calls": len(lengths), + "callback_shape": [3], + "csc_order": ["(row0,col0)=1+cj", "(row1,col0)=1", "(row1,col1)=-1"], + "endpoint_error": error, + "linear_solver": "SuperLU_MT, nthreads=1", + } + + def accepted_steps() -> dict[str, Any]: + solver = sun.ida.IDA(decay, rtol=1e-9, atol=1e-11, max_step=0.02) + initial = solver.init_step(0.0, [1.0], [-1.0]) + records = [snapshot(initial)] + for _ in range(500): + result = solver.step(0.2, method="onestep", tstop=0.2) + assert result.success and result.t > records[-1]["t"] + records.append(snapshot(result)) + if result.status == 1: + break + assert abs(records[-1]["t"] - 0.2) < 1e-13 + assert len(records) > 3 + state_error = max(abs(r["y"][0] - np.exp(-r["t"])) for r in records) + derivative_error = max(abs(r["yp"][0] + np.exp(-r["t"])) for r in records) + assert state_error < 1e-7 and derivative_error < 1e-6 + return { + "records": records, + "state_error": float(state_error), + "derivative_error": float(derivative_error), + "scope": "native onestep endpoints only; event roots are tested separately", + } + + def interpolation() -> dict[str, Any]: + solver = sun.ida.IDA(decay, rtol=1e-8, atol=1e-10, max_step=0.01) + solver.init_step(0.0, [1.0], [-1.0]) + previous = 0.0 + for _ in range(100): + result = solver.step(0.2, method="onestep") + assert result.success + if result.t > 0.04: + break + previous = float(result.t) + end = float(result.t) + mid = (previous + end) / 2 + value = solver.step(mid, method="normal") + assert value.success and abs(value.t - mid) < 1e-13 + assert abs(value.y[0] - np.exp(-mid)) < 1e-6 + assert abs(value.yp[0] + np.exp(-mid)) < 1e-5 + try: + outside = solver.step(previous - 5 * (end - previous), method="normal") + rejected = not outside.success + outside_record = snapshot(outside) + except (ValueError, RuntimeError) as exc: + rejected = True + outside_record = {"error": f"{type(exc).__name__}: {exc}"} + assert rejected + return { + "last_native_interval": [previous, end], + "interpolated": snapshot(value), + "outside_interval": outside_record, + "arbitrary_derivative_api": hasattr(solver, "get_dky"), + "limitation": "public interpolation only through step(normal), within last native interval; yp available, no public arbitrary-order derivative/history object", + } + + def stop_persistence() -> dict[str, Any]: + def constant(t: float, y: Any, yp: Any, res: Any) -> None: + res[:] = yp - 1.0 + + solver = sun.ida.IDA(constant, first_step=0.02, max_step=0.02) + solver.init_step(0.0, [0.0], [1.0]) + first = solver.step(0.2, method="onestep", tstop=0.025) + without_stop = [snapshot(first)] + for _ in range(5): + current = solver.step(0.2, method="onestep") + assert current.success and current.status == 0 + without_stop.append(snapshot(current)) + if current.t > 0.025: + break + assert without_stop[-1]["t"] > 0.025 + repeated = sun.ida.IDA(constant, first_step=0.02, max_step=0.02) + repeated.init_step(0.0, [0.0], [1.0]) + records = [] + for _ in range(5): + current = repeated.step(0.2, method="onestep", tstop=0.025) + records.append(snapshot(current)) + if current.status == 1: + break + assert records[-1]["status"] == 1 and abs(records[-1]["t"] - 0.025) < 1e-13 + return { + "single_tstop": without_stop, + "repeated_tstop": records, + "persists_between_step_calls": False, + "detail": "a previously shortened next step can still land near the old stop after it is cleared; a subsequent step passes it", + "requirement": "resupply the active tstop on every step call; binding calls IDAClearStopTime", + } + + def events() -> dict[str, Any]: + def constant(t: float, y: Any, yp: Any, res: Any) -> None: + res[:] = yp - 1.0 + + def event(t: float, y: Any, yp: Any, values: Any) -> None: + values[0] = t - 0.04 + + setattr(event, "terminal", [False]) + setattr(event, "direction", [1]) + solver = sun.ida.IDA( + constant, eventsfn=event, num_events=1, first_step=0.06, max_step=0.06 + ) + solver.init_step(0.0, [0.0], [1.0]) + root = solver.step(0.2, method="onestep") + assert root.status == 2 and abs(root.t - 0.04) < 1e-12 + after = solver.step(0.05, method="normal") + assert after.success and after.nfev == root.nfev + return { + "root": snapshot(root), + "after_root_interpolation": snapshot(after), + "nonterminal_event_still_stops_step": True, + "limitation": "root return can lie within an already accepted internal step; it is not automatically a native AcceptedStep endpoint", + } + + def ignored_return() -> dict[str, Any]: + calls = 0 + + def residual(t: float, y: Any, yp: Any, res: Any) -> int: + nonlocal calls + calls += 1 + res[:] = yp + y + return 1 + + result = sun.ida.IDA(residual, rtol=1e-8, atol=1e-10).solve( + [0.0, 0.1], [1.0], [-1.0] + ) + assert result.success and calls > 0 + assert abs(result.y[-1, 0] - np.exp(-0.1)) < 1e-6 + return { + "returned_one_count": calls, + "solver_success_despite_return_one": True, + "native_recoverable_residual_status_exposed": False, + } + + def callback_failure(cancel: bool = False) -> dict[str, Any]: + class ProbeStopped(RuntimeError): + pass + + cancelled = threading.Event() + calls = 0 + + def residual(t: float, y: Any, yp: Any, res: Any) -> None: + nonlocal calls + calls += 1 + if calls == 6: + cancelled.set() + if cancelled.is_set(): + raise ProbeStopped( + "cooperative cancellation" if cancel else "callback failure" + ) + res[:] = yp + y + + try: + result = sun.ida.IDA(residual).solve([0.0, 0.2], [1.0], [-1.0]) + except Exception as exc: + assert "cooperative cancellation" in str(exc) or "callback failure" in str( + exc + ) + return { + "calls": calls, + "exception": f"{type(exc).__name__}: {exc}", + "successful_result_published": False, + "scope": "cooperative callback exception; no native cancel method or hard worker termination tested", + } + assert not result.success, ( + "callback failure was published as a successful solve" + ) + return { + "calls": calls, + "result": snapshot(result), + "successful_result_published": False, + } + + def capacity() -> dict[str, Any]: + def residual(t: float, y: Any, yp: Any, res: Any) -> None: + res[:] = yp - 0.6 + + result = sun.ida.IDA( + residual, constraints_idx=[0, 1], constraints_type=[2, 2] + ).solve([0.0, 0.5], [0.3, 0.3], [0.6, 0.6]) + end = result.y[-1] + assert result.success and np.all(end > 0) and np.all(end < 1) + assert float(sum(end)) > 1.1 + return { + "endpoint": end.tolist(), + "shared_occupancy_sum": float(sum(end)), + "positivity_enforced_but_shared_capacity_violated": True, + "shared_capacity_or_probability_simplex_exposed": False, + } + + def option_limits() -> dict[str, Any]: + rejected = {} + for name, value in ( + ("rtol", [1e-6]), + ("suppress_algebraic_error", True), + ("error_weight_fn", lambda: None), + ("nonlinear_convergence_coefficient", 0.1), + ): + try: + sun.ida.IDA(decay, **{name: value}) + except (ValueError, TypeError) as exc: + rejected[name] = f"{type(exc).__name__}: {exc}" + assert len(rejected) == 4 + return { + "rejected_options": rejected, + "max_nonlin_iters_is_accuracy_control": False, + "public_methods": [n for n in dir(sun.ida.IDA) if not n.startswith("_")], + } + + with threadpool_limits(limits=1, user_api="blas"): + check("initial_consistency", "limited", init_semantics) + check("sparse_csc_jacobian", "available", sparse_csc) + check("native_step_observation", "available", accepted_steps) + check("dense_interpolation_bounds", "limited", interpolation) + check("tstop_persistence", "not_persistent", stop_persistence) + check("event_root_semantics", "limited", events) + check( + "residual_return_one", + "unavailable_native_recoverable_status", + ignored_return, + ) + check("callback_failure", "fatal_exception_propagation", callback_failure) + check("cooperative_cancellation", "limited", lambda: callback_failure(True)) + check("shared_site_capacity", "unavailable_as_sign_constraint", capacity) + check("error_control_options", "limited", option_limits) + pools_during_probes = threadpool_info() + + return { + "schema": "solarlab.refactor.ida-binding-capabilities.v1", + "python": sys.version, + "executable": sys.executable, + "binding_version": importlib.metadata.version("scikit-sundae"), + "sundials_version": sun.SUNDIALS_VERSION, + "binding_origin": str(package_root), + "numpy_version": np.__version__, + "scipy_version": scipy.__version__, + "source_sha256": sources, + "probe_source_sha256": hashlib.sha256(Path(__file__).read_bytes()).hexdigest(), + "documentation": "Installed 1.1.3 ida/_solver.py docstrings and _cy_ida.pyx; SUNDIALS 7.5.0", + "thread_environment": {name: os.environ[name] for name in THREAD_VARIABLES}, + "observable_threadpools": pools_during_probes, + "cases": cases, + "probe_checks_passed": all(case["observation_matched"] for case in cases), + "scientific_device_or_G2_qualification": False, + "scope": "Tiny analytic systems only; unavailable features remain unavailable", + } + + +def main() -> int: + parser = argparse.ArgumentParser(description=__doc__) + parser.add_argument("--output", type=Path, required=True) + args = parser.parse_args() + result = run_probes() + args.output.parent.mkdir(parents=True, exist_ok=True) + args.output.write_text(json.dumps(result, indent=2, allow_nan=False) + "\n") + print( + json.dumps( + { + "output": str(args.output), + "probe_checks_passed": result["probe_checks_passed"], + "cases": [ + {k: c[k] for k in ("name", "capability", "observation_matched")} + for c in result["cases"] + ], + "scientific_device_or_G2_qualification": False, + }, + indent=2, + ) + ) + return 0 if result["probe_checks_passed"] else 1 + + +if __name__ == "__main__": + raise SystemExit(main()) diff --git a/scripts/benchmarks/qualification_comparison.py b/scripts/benchmarks/qualification_comparison.py new file mode 100644 index 00000000..0d437c02 --- /dev/null +++ b/scripts/benchmarks/qualification_comparison.py @@ -0,0 +1,514 @@ +"""Finite original qualification comparisons; no solver, model or native imports. + +Values are exact represented words or outward enclosures. This module measures +differences between two finite discretizations. It does not certify a solution +of the DAE, a continuum limit, an oracle, or a scientific qualification gate. +The IO/admission adapter lives in the separately reviewed source packet. +""" +from __future__ import annotations + +from bisect import bisect_right +from dataclasses import dataclass, field +from decimal import Decimal +from fractions import Fraction +from functools import lru_cache +import math + +from scripts.benchmarks.hysteresis_current_bounds import ( + _Interval, _expm1_bounds, bernoulli_bounds, +) +from scripts.benchmarks.native_readback import _frame_word_values, _hex, _word_pair + + +class ComparisonError(ValueError): + """A missing contract/evidence or an unsupported finite calculation.""" + + +def require(condition, reason): + if not condition: + raise ComparisonError(reason) + + +def exact(value): + require(type(value) in (int, float, Fraction, Decimal), "exact_scalar_type") + if type(value) is float: + require(math.isfinite(value), "nonfinite_scalar") + result = Fraction(value) + require(max(result.numerator.bit_length(), result.denominator.bit_length()) <= 131072, + "rational_bit_limit") + return result + + +@dataclass(frozen=True) +class Span: + lo: Fraction + hi: Fraction + + def __post_init__(self): + object.__setattr__(self, "lo", exact(self.lo)) + object.__setattr__(self, "hi", exact(self.hi)) + require(self.lo <= self.hi, "reversed_enclosure") + + @classmethod + def of(cls, value): + if isinstance(value, cls): + return value + if isinstance(value, _Interval): + return cls(Fraction(value.lo), Fraction(value.hi)) + return cls(exact(value), exact(value)) + + def __add__(self, other): + b = Span.of(other) + return Span(self.lo+b.lo, self.hi+b.hi) + + __radd__ = __add__ + + def __neg__(self): + return Span(-self.hi, -self.lo) + + def __sub__(self, other): + return self + (-Span.of(other)) + + def __rsub__(self, other): + return Span.of(other) + (-self) + + def __mul__(self, other): + b = Span.of(other) + products = (self.lo*b.lo, self.lo*b.hi, self.hi*b.lo, self.hi*b.hi) + return Span(min(products), max(products)) + + __rmul__ = __mul__ + + def __truediv__(self, other): + b = Span.of(other) + require(not b.lo <= 0 <= b.hi, "undefined_denominator") + return self*Span(1/b.hi, 1/b.lo) + + @property + def absolute_upper(self): + return max(abs(self.lo), abs(self.hi)) + + +def _log_reduced(value): + """ln(value), 1<=value<=2: positive atanh series with geometric tail. + + Ninety-six fixed terms, outward decimal96 operations, no tolerance loop. + The tail is <=2*t**193/(193*(1-t*t)), where 0<=t<=1/3. + """ + t = _Interval.of((value-1)/(value+1)) + term, total = t, t + square = t*t + for k in range(1, 96): + term = term*square + total = total + term/(2*k+1) + tail = 2*term*square/(193*(1-square)) + return Span.of(_Interval((2*total).lo, (2*total+tail).hi)) + + +@lru_cache(maxsize=1) +def _log_two(): + return _log_reduced(Fraction(2)) + + +def log_exact(value): + value = exact(value) + require(value > 0, "log_requires_positive_density") + if value == 1: + return Span.of(0) + power = value.numerator.bit_length()-value.denominator.bit_length() + require(abs(power) <= 16384, "log_range_limit") + scale = Fraction(2)**power + reduced = value/scale + if reduced < 1: + power -= 1 + reduced *= 2 + require(1 <= reduced < 2, "log_range_reduction") + return _log_reduced(reduced)+_log_two()*power + + +def logarithm(value): + value = Span.of(value) + require(value.lo > 0, "log_requires_positive_density") + return Span(log_exact(value.lo).lo, log_exact(value.hi).hi) + + +def bernoulli(value): + value = Span.of(value) + # B is positive and decreasing on the real line. Each endpoint enclosure + # comes from the existing bounded positive-series implementation. + return Span(Fraction(bernoulli_bounds(value.hi).lo), + Fraction(bernoulli_bounds(value.lo).hi)) + + +def sg_interpolate(left, right, delta_phi_over_vt, fraction, *, carrier): + """Constant-field SG edge solution, including its exact flat-field limit. + + n(s)=nL+(nR-nL)*expm1(xi*s)/expm1(xi); holes use -xi. + Subtraction of densities precedes conversion to an enclosure, preserving + arbitrarily small represented endpoint differences. Contacts are exact. + """ + a, b, xi, s = map(exact, (left, right, delta_phi_over_vt, fraction)) + require(carrier in ("electron", "hole") and a > 0 and b > 0 and 0 <= s <= 1, + "sg_scope_or_domain") + if s in (0, 1): + return Span.of(a if s == 0 else b) + if a == b or xi == 0: + return Span.of(a+(b-a)*s) + if carrier == "hole": + xi = -xi + weight = Span.of(_expm1_bounds(xi*s)/_expm1_bounds(xi)) + # The exact SG weight is in [0,1]; intersect with this proved domain. + weight = Span(max(Fraction(0), weight.lo), min(Fraction(1), weight.hi)) + return a+(b-a)*weight + + +POSITIONS = tuple(Fraction(i, 18) for i in range(19)) +STATE_UNITS = {"phi_V": "V", "n_m3": "m^-3", "p_m3": "m^-3", + "c_m3": "m^-3", "f": "1"} +LEDGERS = ("raw_polynomial", "same_state_affine_tangent") +CHARGE_ROWS = ("body_conduction", "left_metal_displacement", "right_metal_displacement") + + +def check_mesh(mesh): + mesh = tuple(map(exact, mesh)) + require(2 <= len(mesh) <= 65 and mesh[0] == 0 and mesh[-1] > 0 and + all(a < b for a, b in zip(mesh, mesh[1:])), "mesh_domain") + return mesh + + +def reconstruct(mesh, fields, thermal_voltage, *, trap_rule=None, positions=POSITIONS, support=None): + mesh, vt = check_mesh(mesh), exact(thermal_voltage) + require(vt > 0 and {"phi_V", "n_m3", "p_m3"} <= fields.keys() <= STATE_UNITS.keys(), + "state_fields_or_thermal_voltage") + values = {k: tuple(map(exact, v)) for k, v in fields.items()} + require(all(len(v) == len(mesh) for v in values.values()), "field_mesh_shape") + if support is not None: + require(len(support) == len(mesh) and len(set(support)) == 1, "unsupported_material_or_defect_interface") + if "f" in fields: + require(trap_rule == "linear_nodal_occupancy_v1", "trap_reconstruction_unapproved_or_missing") + require(all(0 <= v <= 1 for v in values["f"]), "invalid_trap_endpoint_no_clipping") + if "c_m3" in fields: + require(min(values["c_m3"]) >= 0, "negative_ion_endpoint") + result = [] + for x in map(exact, positions): + require(0 <= x <= 1, "position_outside_device") + physical_x = x*mesh[-1] + i = min(bisect_right(mesh, physical_x)-1, len(mesh)-2) + s = (physical_x-mesh[i])/(mesh[i+1]-mesh[i]) + phi = values["phi_V"] + row = {} + for field, data in values.items(): + if field in ("n_m3", "p_m3"): + row[field] = sg_interpolate(data[i], data[i+1], (phi[i+1]-phi[i])/vt, s, + carrier="electron" if field == "n_m3" else "hole") + else: + row[field] = Span.of(data[i]+s*(data[i+1]-data[i])) + result.append(row) + return tuple(result) + + +def full_state(request, history): + """Retained physical reference PLUS every mapped remainder/rate word.""" + packet = request["numeric_packet"] + size = len(request["z0"]) + count = request["frame_input_policy"]["mapped_input_words"] + remainder = _frame_word_values(history["physical_cumulative_words_hex"], size, count=count) + rate = _frame_word_values(history["physical_rate_words_hex"], size, count=count) + require(history["physical_model_identity"] == request["voltage_lift_map"]["physical_model"], + "physical_source_mismatch") + fields, rates = {}, {} + for name, (start, stop) in packet["variable_offsets"].items(): + ref = packet["initial_reference"]["payload"]["fields"][name] + roots = tuple(Fraction(_hex(h))+Fraction(_hex(l)) + for h, l in zip(ref["high"], ref["low"], strict=True)) + require(len(roots) == stop-start, "physical_reference_shape") + fields[name] = tuple(a+b for a, b in zip(roots, remainder[start:stop], strict=True)) + rates[name] = rate[start:stop] + return fields, rates + + +def polynomial_state(coefficients, tn, h, when, offsets): + tn, h, when = map(exact, (tn, h, when)) + require(h > 0, "polynomial_zero_step") + u = (when-tn)/h + state, rate = [], [] + for row in coefficients: + require(1 <= len(row) <= 6, "polynomial_order") + row = tuple(map(exact, row)) + state.append(sum((v*u**k for k, v in enumerate(row)), Fraction(0))) + rate.append(sum((k*v*u**(k-1) for k, v in enumerate(row) if k), Fraction(0))/h) + return ({k: tuple(state[a:b]) for k, (a, b) in offsets.items()}, + {k: tuple(rate[a:b]) for k, (a, b) in offsets.items()}) + + +def observation_key(segment, time, event_side): + require(type(segment) is str and segment and event_side in ("left", "right", "continuous"), + "clock_or_event_side") + return segment, exact(time), event_side + + +def compare_metric(left, right, *, metric, budget, input_error, reference_error, scale=None): + """Worst enclosed finite difference + separately supplied uncertainty. + + Uncertainties are in the metric's units (log ratio for carriers), already + combined across the two cases. A missing contribution is never zero. + """ + require(input_error is not None, "input_quantization_evidence_missing") + require(reference_error is not None, "independent_reference_evidence_missing") + budget, qe, re = map(exact, (budget, input_error, reference_error)) + require(budget >= 0 and qe >= 0 and re >= 0, "negative_budget_or_uncertainty") + a, b = Span.of(left), Span.of(right) + if metric == "absolute": + difference = a-b + elif metric == "log_ratio": + difference = logarithm(a/b) + elif metric == "declared_scale": + require(scale is not None and exact(scale) > 0, "declared_positive_scale_required") + difference = (a-b)/exact(scale) + else: + raise ComparisonError("unsupported_metric") + error = difference.absolute_upper + total = error+qe+re + return {"difference_upper": error, "input_quantization_upper": qe, + "independent_reference_upper": re, "total_upper": total, "budget": budget, + "input_share_passed": 3*qe <= budget, "reference_share_passed": 3*re <= budget, + "passed": total <= budget and 3*qe <= budget and 3*re <= budget, + "continuum_or_global_error_certificate": False} + + +def accumulate_charge(previous, defect_centers, errors, budget): + """Original three rows, absolute interval/prefix accumulation; no reset.""" + budget = exact(budget) + previous = tuple((exact(a), exact(b)) for a, b in previous) + require(len(previous) == len(defect_centers) == len(errors) == 3 and budget > 0, + "charge_shape_or_budget") + result = [] + for (pa, pe), defect, error in zip(previous, defect_centers, errors, strict=True): + defect, error = exact(defect), exact(error) + require(min(pa, pe, error) >= 0, "negative_charge_uncertainty") + interval = abs(defect)+error + prefix, uncertainty = pa+interval, pe+error + result.append({"interval_bound_C": interval, "prefix_absolute_bound_C": prefix, + "interval_uncertainty_C": error, "prefix_uncertainty_C": uncertainty, + "passed": interval <= budget and prefix <= budget and + 3*error <= budget and 3*uncertainty <= budget}) + return tuple(result) + + +def physical_observables(packet, fields, rates, input_rate, constants): + """Independent fixed homogeneous-slab scalar laws, no Point/F/J/Poisson. + + The formulas are those of the pinned independent SlabPathObserver and the + original physical linear forms. Exact algebra preserves finite Gauss + defects and distinct native/polynomial versus same-state tangent rates. + Only the original two zero-doping homogeneous definitions are supported. + """ + m = packet["definition"] + require(m["id"] in ("S0NeutralPublicDeviceV1", "DynamicAcceptorIonPublicDeviceV1"), + "unsupported_physical_definition") + x = check_mesh(packet["x_m"]) + count = len(x) + require(set(fields) == set(rates) == ({"phi_V", "n_m3", "p_m3", "c_m3", "f"} + if m["dynamic"] else {"phi_V", "n_m3", "p_m3"}), "physical_channel_set") + f = {k: tuple(map(exact, v)) for k, v in fields.items()} + r = {k: tuple(map(exact, v)) for k, v in rates.items()} + require(all(len(v) == count for v in (*f.values(), *r.values())), "physical_channel_shape") + q, kb = exact(constants["Q"]), exact(constants["K_B"]) + # Preserve the original SlabDefinition.vt binary64 operation sequence. + vt = exact(float(kb)*m["temperature"]/float(q)) + area, eps, nt = map(exact, (m["area"], m["epsilon"], m["trap_density"])) + volumes = tuple(map(exact, packet["volumes_m3"])) + dx = tuple(b-a for a, b in zip(x, x[1:])) + # dx in the frozen kernel is binary64 subtraction; bind those words too. + dx = tuple(exact(float(b)-float(a)) for a, b in zip(x, x[1:])) + require(len(volumes) == count and min(*volumes, *dx, vt, q, area) > 0, + "positive_physical_geometry") + n, p, phi = (f[k] for k in ("n_m3", "p_m3", "phi_V")) + require(min(*n, *p) > 0, "nonpositive_active_carrier") + zero = (Fraction(0),)*count + c, trap = f.get("c_m3", zero), f.get("f", zero) + cr, fr = r.get("c_m3", zero), r.get("f", zero) + if m["dynamic"]: + require(all(0 <= v < exact(m["ion_capacity"]) for v in c) and + all(0 <= v <= 1 for v in trap), "ion_or_trap_domain") + rho = tuple(q*(p[i]-n[i]+(c[i]-exact(m["ion_initial"])-nt*trap[i] if m["dynamic"] else 0)) + for i in range(count)) + rho_rate = tuple(q*(r["p_m3"][i]-r["n_m3"][i]+cr[i]-nt*fr[i]) for i in range(count)) + displacement = tuple(-eps*(b-a)/d for a, b, d in zip(phi, phi[1:], dx)) + displacement_rate = tuple(-eps*(b-a)/d for a, b, d in zip(r["phi_V"], r["phi_V"][1:], dx)) + metal = (area*displacement[0]-volumes[0]*rho[0], + -area*displacement[-1]-volumes[-1]*rho[-1]) + metal_rate = (area*displacement_rate[0]-volumes[0]*rho_rate[0], + -area*displacement_rate[-1]-volumes[-1]*rho_rate[-1]) + body = sum((v*d for v, d in zip(volumes, rho)), Fraction(0)) + carrier, ion = [], [] + for i, d in enumerate(dx): + xi = (phi[i+1]-phi[i])/vt + b = bernoulli(xi) + jn = q*exact(m["mu_n"])*vt/d*(b*(n[i+1]-n[i])-xi*n[i]) + jp = q*exact(m["mu_p"])*vt/d*(-b*(p[i+1]-p[i])-xi*p[i+1]) + carrier.append(jn+jp) + if m["dynamic"]: + cap = exact(m["ion_capacity"]) + drive = xi+logarithm(Span.of(cap-c[i])/Span.of(cap-c[i+1])) + ion.append(exact(m["diffusion_ion"])/d*(-bernoulli(drive)*(c[i+1]-c[i])-drive*c[i+1])) + else: + ion.append(Span.of(0)) + capture = tuple(-q*volumes[i]*nt*(exact(m["capture_n"])*(n[i]*(1-trap[i])-exact(m["n1"])*trap[i]) + -exact(m["capture_p"])*(p[i]*trap[i]-exact(m["p1"])*(1-trap[i]))) + if m["dynamic"] else Fraction(0) for i in range(count)) + reservoir = (area*carrier[0]+capture[0], -area*carrier[-1]+capture[-1]) + endpoint_rate = tuple(q*volumes[i]*(r["p_m3"][i]-r["n_m3"][i]) for i in (0, count-1)) + raw = tuple(a+b+c for a, b, c in zip(reservoir, endpoint_rate, metal_rate)) + total_faces = tuple(a+q*b for a, b in zip(carrier, ion)) + charge_rates = [-q*area*ion[0]] + charge_rates += [area*(a-b) for a, b in zip(total_faces, total_faces[1:])] + charge_rates += [q*area*ion[-1]] + length = sum(dx, Fraction(0)) + weights = (tuple(sum(dx[i:], Fraction(0))/length for i in range(count)), + tuple(sum(dx[:i], Fraction(0))/length for i in range(count))) + tangent_metal = tuple(sign*area*eps/length*exact(input_rate[0]) + -sum((w[i]*capture[i] for i in (0, count-1)), Fraction(0)) + -sum((wi*qi for wi, qi in zip(w, charge_rates)), Span.of(0)) + for sign, w in zip((1, -1), weights)) + tangent = tuple(a+b for a, b in zip(reservoir, tangent_metal)) + nodal_tangent = list(charge_rates) + nodal_tangent[0] += capture[0] + nodal_tangent[-1] += capture[-1] + tangent_faces = tuple(total_faces[i]+(tangent_metal[0]+sum(nodal_tangent[:i+1], Span.of(0)))/area + for i in range(count-1)) + return {"raw_total_inward_A": raw, "same_state_tangent_total_inward_A": tangent, + "raw_conduction_inward_A": tuple(a+b for a, b in zip(reservoir, endpoint_rate)), + "same_state_tangent_conduction_inward_A": reservoir, + "raw_interior_total_A_m2": tuple(a+b for a, b in zip(total_faces, displacement_rate)), + "same_state_tangent_interior_total_A_m2": tangent_faces, + "metal_charge_C": metal, "body_charge_C": body, + "body_charge_rate_A": sum((v*d for v, d in zip(volumes, rho_rate)), Fraction(0)), + "gauss_defect_C": body+sum(metal), + "raw_metal_rate_A": metal_rate, "same_state_tangent_metal_rate_A": tangent_metal} + + +def retained_currents(sample): + return {"raw_total_inward_A": tuple(Span.of(x) for x in _word_pair(sample["raw"]["total_inward"], 2)), + "same_state_tangent_total_inward_A": tuple(Span.of(x) for x in _word_pair(sample["physical_tangent"]["total_inward"], 2))} + + +def validate_pair_clock(left, right): + require(left["key"] == right["key"], "clock_or_contact_event_mismatch") + require(left["fields"].keys() == right["fields"].keys(), "state_channel_mismatch") + + +def score_clock(left, right, *, thresholds, uncertainty, c0, thermal_voltage, trap_rule=None): + validate_pair_clock(left, right) + require(uncertainty is not None, "independent_reference_evidence_missing") + a = reconstruct(left["mesh"], left["fields"], thermal_voltage, trap_rule=trap_rule) + b = reconstruct(right["mesh"], right["fields"], thermal_voltage, trap_rule=trap_rule) + policies = {"phi_V": ("absolute", thresholds["potential_max_abs_V"], None), + "n_m3": ("log_ratio", thresholds["carrier_max_abs_log_ratio"], None), + "p_m3": ("log_ratio", thresholds["carrier_max_abs_log_ratio"], None), + "c_m3": ("declared_scale", thresholds["ion_max_abs_change_over_declared_c0"], c0), + "f": ("absolute", thresholds["trap_max_abs_occupancy_change"], None)} + rows = [] + for position, ra, rb in zip(POSITIONS, a, b): + for channel in ra: + require(channel in uncertainty, "uncertainty_channel_missing:"+channel) + u = uncertainty[channel] + metric, budget, scale = policies[channel] + metric_unit = "1" if metric in ("log_ratio", "declared_scale") else STATE_UNITS[channel] + rows.append({"channel": channel, "unit": metric_unit, "field_unit": STATE_UNITS[channel], + "position_x_over_L": position, + **compare_metric(ra[channel], rb[channel], metric=metric, budget=budget, scale=scale, + input_error=u.get("input"), reference_error=u.get("reference"))}) + for channel in ("raw_total_inward_A", "same_state_tangent_total_inward_A"): + require(channel in uncertainty, "uncertainty_channel_missing:"+channel) + for i, port in enumerate(("left", "right")): + u = uncertainty[channel] + rows.append({"channel": channel, "port": port, "unit": "A", + **compare_metric(left["observables"][channel][i], right["observables"][channel][i], + metric="absolute", budget=thresholds["current_A"], + input_error=u.get("input"), reference_error=u.get("reference"))}) + return {"key": left["key"], "rows": rows, "passed": all(r["passed"] for r in rows), + "scientific_qualification": False} + + +@dataclass +class StepSummary: + """Constant-storage observed step/order summary, not a trajectory certificate.""" + count: int = 0 + minimum: Fraction | None = None + maximum: Fraction | None = None + orders: dict = field(default_factory=dict) + + def add(self, value, order=None): + value = exact(value) + require(value > 0, "actual_nonpositive_step") + self.count += 1 + self.minimum = value if self.minimum is None else min(self.minimum, value) + self.maximum = value if self.maximum is None else max(self.maximum, value) + if order is not None: + require(type(order) is int and 1 <= order <= 5, "actual_order") + self.orders[order] = self.orders.get(order, 0)+1 + + def record(self): + require(self.count > 0, "actual_grid_missing") + return {"count": self.count, "minimum_h": self.minimum, "maximum_h": self.maximum, + "orders": {str(k): v for k, v in sorted(self.orders.items())}} + + +def physical_control_tightening(coarse, fine, scales): + """Pointwise strict r*abs(q)+atol contraction in the same physical map. + + The IO boundary separately proves original policy ancestry, identical maps + and actual observed controls. No nominal factor or passed flag is used. + """ + require(set(coarse) == set(fine) and + {k: v for k, v in coarse.items() if k not in ("rtol", "atol")} == + {k: v for k, v in fine.items() if k not in ("rtol", "atol")}, "tolerance_unrelated_controls") + ca, fa = tuple(map(exact, coarse["atol"])), tuple(map(exact, fine["atol"])) + scales = tuple(map(exact, scales)) + cr, fr = exact(coarse["rtol"]), exact(fine["rtol"]) + require(len(ca) == len(fa) == len(scales) > 0 and min(scales) > 0, "tolerance_physical_shape") + require(0 < fr < cr and all(0 < s*b < s*a for s, a, b in zip(scales, ca, fa)), + "strict_pairwise_physical_controls_required") + return {"rtol_ratio": fr/cr, "largest_physical_atol_ratio": max(b/a for a, b in zip(ca, fa)), + "components": len(ca), "denominator_comparison": "all parent q under identical physical map", + "global_error_certificate": False} + + +def actual_refinement(axis, coarse_mesh, fine_mesh, coarse_steps, fine_steps, *, tolerance_controls=None): + coarse_mesh, fine_mesh = check_mesh(coarse_mesh), check_mesh(fine_mesh) + def summary(values): + if isinstance(values, StepSummary): + return values.record() + result = StepSummary() + for value in values: + result.add(value) + return result.record() + coarse_steps, fine_steps = summary(coarse_steps), summary(fine_steps) + controls = None + if axis == "space": + passed = (len(fine_mesh)-1 == 2*(len(coarse_mesh)-1) and + max(b-a for a, b in zip(fine_mesh, fine_mesh[1:])) < + max(b-a for a, b in zip(coarse_mesh, coarse_mesh[1:]))) + elif axis == "tolerance": + require(coarse_mesh == fine_mesh and isinstance(tolerance_controls, dict), + "bound_tolerance_controls_missing") + controls = physical_control_tightening(**tolerance_controls) + passed = True + else: + require(axis == "time", "unknown_original_axis") + passed = fine_steps["maximum_h"] < coarse_steps["maximum_h"] + return {"axis": axis, "passed": passed, "coarse_max_h": coarse_steps["maximum_h"], + "fine_max_h": fine_steps["maximum_h"], "coarse_steps": coarse_steps, "fine_steps": fine_steps, + "physical_control_tightening": controls, "cap_change_is_not_refinement": True} + + +def joint_confirmation(disposition): + if disposition is None or disposition.get("interaction") == "unknown": + return {"passed": False, "reason": "axis_interaction_disposition_or_joint_confirmation_missing"} + require(disposition.get("independently_accepted") is True, "unreviewed_axis_interaction") + if disposition.get("interaction") is True: + return {"passed": disposition.get("joint_finest_accepted") is True, + "reason": "joint_finest_confirmation_required"} + require(disposition.get("interaction") is False, "axis_interaction_type") + return {"passed": True, "reason": "independent_no_interaction_disposition"} diff --git a/scripts/benchmarks/qualification_policy.py b/scripts/benchmarks/qualification_policy.py new file mode 100644 index 00000000..56a6cbcd --- /dev/null +++ b/scripts/benchmarks/qualification_policy.py @@ -0,0 +1,443 @@ +"""Bounded P02 mesh/control metadata; no model imports or execution authority. + +Only the original two slab cases and seven N16-centered axes are described. +New per-field denominators are bounded by the minimum CURRENT N8 applied +physical denominator, then tightened by the declared axis factor. The old plan +rtol/atol numbers are provenance, never replacements for those applied weights. +""" +from __future__ import annotations + +from collections.abc import Mapping +from fractions import Fraction +from hashlib import sha256 +import json +import math +import sys + +SCHEMA = "solarlab.p02-qualification-mesh-controls.v1" +ORIGINS = { + "S0NeutralPublicDeviceV1": "bc24e4b4add18ffaaab5469bb9875ef7fb7d84b7ff92b48fd70e1354cd3a4e5d", + "DynamicAcceptorIonPublicDeviceV1": "cd004d42e53e56b6a69e4ab7667848054bae55af33a6b1230865d761b230a3c0", +} +AXES = { + "base": (16, 0, 0), "mesh32": (32, 0, 0), "mesh64": (64, 0, 0), + "tolerance_middle": (16, 1, 0), "tolerance_tight": (16, 2, 0), + "step_middle": (16, 0, 1), "step_tight": (16, 0, 2), +} +GRID_WORDS = { + 16: "9bf4f40d7d194571210a3b2e6767eb1519ced739af0b614f06fa1ea5901ee855", + 32: "c531d6319563c0f77460e5b6e7785f27e713d066192d2d80fcb9a93d2d65944d", + 64: "9c3d62a65d55a50ba51f82d4dc4f720daa99c0e37e3e88ddd195070ae8dc1bb1", +} + + +def digest(value): + return sha256(json.dumps(value, sort_keys=True, separators=(",", ":"), + allow_nan=False).encode()).hexdigest() + + +def require(condition, reason): + if not condition: + raise ValueError("qualification_" + reason) + + +def downward(value): + value = Fraction(value) + require(value > 0, "nonpositive_weight") + rounded = float(value) + require(math.isfinite(rounded) and rounded >= sys.float_info.min, "unrepresentable_weight") + if Fraction(rounded) > value: + rounded = math.nextafter(rounded, 0.0) + require(rounded >= sys.float_info.min, "unrepresentable_weight") + return rounded + + +def make_policy(origin, intervals, axis): + require(type(origin) is dict and origin.get("case_id") in ORIGINS, "unknown_origin") + require(digest(origin) == ORIGINS[origin["case_id"]], "unbound_origin") + require(type(intervals) is int and type(axis) is str and axis in AXES + and intervals == AXES[axis][0], "unsupported_mesh_axis") + _, tolerance, step = AXES[axis] + dynamic = origin["case_id"] == "DynamicAcceptorIonPublicDeviceV1" + return { + "schema": SCHEMA, "origin": json.loads(json.dumps(origin)), + "intervals": intervals, "nodes": intervals + 1, "axis": axis, + "coordinates": (5 if dynamic else 3)*(intervals + 1), + "x_words_sha256": GRID_WORDS[intervals], + "tolerance_factor": [1, 10**tolerance], + "plan_basis": {"rtol": (1e-4, 1e-5, 1e-6)[tolerance], + "component_atol": (1e-8, 1e-9, 1e-10)[tolerance]}, + "max_step": ((0.02, 0.01, 0.005) if dynamic else (2e-8, 1e-8, 5e-9))[step], + "denominator_rule": "per-field minimum current N8 S*atol and current rtol, times exact axis factor; existing affine/voltage triangle proofs may only tighten", + "pre_time_multiplier": 1024 if dynamic else 1, + "scientific_thresholds_changed": False, + "native_execution_authorized": False, + } + + +def validate_policy(policy): + require(type(policy) is dict, "policy_type") + expected = make_policy(policy.get("origin"), policy.get("intervals"), policy.get("axis")) + require(digest(policy) == digest(expected), "policy_binding") + return expected + + +def layout_offsets(policy): + policy = validate_policy(policy) + n = policy["nodes"] + dynamic = policy["origin"]["case_id"] == "DynamicAcceptorIonPublicDeviceV1" + fields = ("c_m3", "f", "n_m3", "p_m3", "phi_V") if dynamic else ("n_m3", "p_m3", "phi_V") + variables = {name: [i*n, (i+1)*n] for i, name in enumerate(fields)} + sizes = [("a_n", n-2), ("b_p", n-2)] + if dynamic: + sizes += [("c_ion", n), ("d_trap", n)] + sizes += [("x_poisson", n-2), ("y_phi_contact", 2), ("z_n_contact", 2), ("zz_p_contact", 2)] + rows, offset = {}, 0 + for name, count in sizes: + rows[name] = [offset, offset+count] + offset += count + require(offset == policy["coordinates"], "nonsquare_layout") + return variables, rows + + +def validate_layout(packet, policy): + policy = validate_policy(policy) + origin = policy["origin"] + variables, rows = layout_offsets(policy) + n, size = policy["nodes"], policy["coordinates"] + require(type(packet) is dict and type(packet.get("intervals")) is int + and packet["intervals"] == policy["intervals"] + and type(packet.get("nodes")) is int and packet["nodes"] == n + and packet.get("variable_offsets") == variables + and packet.get("equation_offsets") == rows, "layout_binding") + definition = {k: v for k, v in packet["definition"].items() if k != "source_path"} + require(digest(definition) == digest(origin["definition"]), "physical_definition_changed") + for key, length in (("x_m", n), ("cell_edges_m", n+1), ("volumes_m3", n), + ("face_areas_m2", n-1), ("column_scaling", size), ("row_scaling", size)): + values = packet[key] + require(type(values) is list and len(values) == length + and all(type(v) in (int, float) and math.isfinite(v) for v in values), "array_shape_" + key) + x, edges, area = packet["x_m"], packet["cell_edges_m"], definition["area"] + require(digest(x) == policy["x_words_sha256"] + and x[0] == 0 and x[-1] == definition["length"] + and all(b > a for a, b in zip(x[:-1], x[1:])), "grid_domain") + require(edges == [0.0] + [(u+v)/2 for u, v in zip(x[:-1], x[1:])] + [definition["length"]] + and packet["volumes_m3"] == [area*(v-u) for u, v in zip(edges[:-1], edges[1:])] + and packet["face_areas_m2"] == [area]*(n-1), "geometric_weights_changed") + require(all(v > 0 for v in packet["row_scaling"] + packet["volumes_m3"]), "nonpositive_geometry_or_scale") + for field, (lo, hi) in variables.items(): + require(all(float(v).hex() == origin["field_denominator_ceilings"][field]["scale_hex"] + for v in packet["column_scaling"][lo:hi]), "physical_column_scale_changed") + return size + + +def raw_controls(policy, packet): + size = validate_layout(packet, policy) + origin = policy["origin"] + factor = Fraction(*policy["tolerance_factor"])*policy["pre_time_multiplier"] + rtol = downward(Fraction(float.fromhex(origin["applied_rtol_hex"]))*factor) + atols = [None]*size + for field, (lo, hi) in packet["variable_offsets"].items(): + limit = Fraction(origin["field_denominator_ceilings"][field]["applied_atol_SI_exact"])*factor + for i in range(lo, hi): + atols[i] = downward(limit/Fraction(packet["column_scaling"][i])) + dynamic = origin["case_id"] == "DynamicAcceptorIonPublicDeviceV1" + indices, types = [], [] + for name in ["n_m3", "p_m3"] + (["c_m3", "f"] if dynamic else []): + lo, hi = packet["variable_offsets"][name] + indices.extend(range(lo, hi)); types.extend([2 if name in ("n_m3", "p_m3") else 1]*(hi-lo)) + controls = {"rtol": rtol, "atol": atols, "max_step": policy["max_step"], "max_order": 5, + "max_num_steps": 200000, "max_nonlin_iters": 4, "max_conv_fails": 10, + "first_step": 0.0, "calc_initcond": None, "linsolver": "sparse", "nthreads": 1, + "constraints_idx": indices, "constraints_type": types} + if dynamic: + controls["nonlin_conv_coef"] = origin["pre_time_nonlinear_ancestor"] + return controls + + +def check_common(request, policy): + validate_layout(request["numeric_packet"], policy) + origin = policy["origin"] + require(request["case_id"] == origin["case_id"], "case_changed") + for key in ("segments", "observation_times", "quadrature", "budgets", "mandatory"): + require(digest(request[key]) == digest(origin[key]), "original_" + key + "_changed") + if request["schema"] in ("solarlab.affine-native-request.v1", "solarlab.voltage-lift-native-request.v1"): + require(digest(request.get("physical_domain_policy")) == digest(origin["physical_domain_policy"]), + "physical_domain_changed") + require(digest(request.get("qualification_policy")) == digest(policy), "missing_policy_binding") + + +def check_ancestry(request): + """Verify the complete bounded raw->affine->voltage control ancestry.""" + policy = validate_policy(request["qualification_policy"]) + check_common(request, policy) + affine = request["qualification_ancestor"] + raw = affine["qualification_ancestor"] + require(raw["schema"] == "solarlab.real-device-native-request.v1" + and affine["schema"] == "solarlab.affine-native-request.v1" + and request["schema"] == "solarlab.voltage-lift-native-request.v1", "ancestor_schema") + for row in (raw, affine): + check_common(row, policy) + require(affine["prior_request_sha256"] == digest(raw) + and request["prior_request_sha256"] == digest(affine) + and request["previous_controls"] == affine["controls"], "unbound_ancestor") + require(raw["controls"] == raw_controls(policy, raw["numeric_packet"]), "raw_denominator_origin") + # Independently reconstruct the existing affine triangle denominator from + # saved physical reference words; this performs no physical evaluation. + refs = [] + for field, _ in sorted(affine["numeric_packet"]["variable_offsets"].items(), key=lambda row: row[1][0]): + words = affine["numeric_packet"]["physical_reference_fields"][field] + refs.extend(Fraction(h)+Fraction(l) for h, l in zip(words["high"], words["low"], strict=True)) + scales = list(map(Fraction, affine["numeric_packet"]["column_scaling"])) + require(len(refs) == len(scales), "reference_shape") + upper = [] + for value in map(abs, refs): + rounded = float(value) + if Fraction(rounded) < value: + rounded = math.nextafter(rounded, math.inf) + upper.append(Fraction(rounded)) + amounts = [s*Fraction(at) for s, at in zip(scales, raw["controls"]["atol"], strict=True)] + rr = downward(min([Fraction(raw["controls"]["rtol"])] + [a/(2*u) for a, u in zip(amounts, upper, strict=True) if u])) + aa = [downward((a-Fraction(rr)*u)/s) for a, u, s in zip(amounts, upper, scales, strict=True)] + expected = dict(raw["controls"], rtol=rr, atol=aa) + expected.pop("constraints_idx"); expected.pop("constraints_type") + require(affine["controls"] == expected, "affine_denominator_origin") + require(affine["weight_certificate"]["old_controls_sha256"] == digest(raw["controls"]) + and affine["weight_certificate"]["rtol"] == rr + and affine["weight_certificate"]["atol"] == aa, "affine_certificate_binding") + return policy + + +def check_applied_ceiling(request): + policy = check_ancestry(request) + if "physical_tolerance_policy" in request: + from scripts.benchmarks.physical_tolerance import validate_request + validate_request(request) + validate_layout(request["numeric_packet"], policy) + require(request["controls"]["max_step"] == policy["max_step"], "physical_step_changed") + if any(key in request for key in ("z0", "zdot0", "initial_preparation", "interval_observation")): + check_initialization(request, policy["coordinates"]) + return policy["coordinates"] + origin, controls, packet = policy["origin"], request["controls"], request["numeric_packet"] + factor = Fraction(*policy["tolerance_factor"]) + require(type(controls["rtol"]) is float and math.isfinite(controls["rtol"]) + and 0 < Fraction(controls["rtol"]) <= Fraction(float.fromhex(origin["applied_rtol_hex"]))*factor, + "applied_rtol_ceiling") + require(len(controls["atol"]) == policy["coordinates"] and controls["max_step"] == policy["max_step"], + "applied_shape_or_step") + expected = dict(request["qualification_ancestor"]["controls"], + rtol=controls["rtol"], atol=controls["atol"]) + policy_names = ("nonlinear_control_refinement", "nonlinear_guard_policy", "startup_step_policy", + "time_weight_policy", "segment_startup_policy") + if origin["case_id"] == "DynamicAcceptorIonPublicDeviceV1": + expected.update(nonlin_conv_coef=1.024e-5, nonlin_guard="first-correction-wrms-v1", + nonlin_trace_capacity=4096, first_step=7.8125e-7) + require(all(name in request for name in policy_names), "required_B_controls_missing") + for name, schema in (("time_weight_policy", "solarlab.voltage-lift-time-weights.v2"), + ("segment_startup_policy", "solarlab.voltage-lift-segment-startup.v2")): + require(request[name].get("schema") == schema + and request[name].get("qualification_policy_sha256") == digest(policy), "control_policy_binding") + else: + require(not any(name in request for name in policy_names), "unexpected_S0_control_override") + require(controls == expected, "unbound_applied_control") + for field, (lo, hi) in packet["variable_offsets"].items(): + limit = Fraction(origin["field_denominator_ceilings"][field]["applied_atol_SI_exact"])*factor + for i in range(lo, hi): + at = controls["atol"][i] + require(type(at) is float and math.isfinite(at) and at > 0 + and Fraction(at)*Fraction(packet["column_scaling"][i]) <= limit, "applied_atol_ceiling") + require(request["weight_certificate"]["rtol"] == controls["rtol"] + and request["weight_certificate"]["atol"] == controls["atol"], "applied_certificate") + # The constructor checks denominators before it creates initial-input data. + # Every finalized observer request must also bind the exact initialization. + if any(key in request for key in ("z0", "zdot0", "initial_preparation", "interval_observation")): + check_initialization(request, policy["coordinates"]) + return policy["coordinates"] + + + +def _initial_hex_vector(values, size): + require(type(values) is list and len(values) == size + and all(type(v) is str for v in values), "initial_frame_vector_shape") + try: + decoded = tuple(float.fromhex(v) for v in values) + except (ValueError, OverflowError) as error: + raise ValueError("qualification_initial_frame_invalid_hex") from error + require(all(math.isfinite(v) for v in decoded), "initial_frame_nonfinite_word") + return decoded + + +def _initial_words(words, size, *, count=4): + require(type(words) is list and len(words) == count, "initial_frame_word_shape") + layers = tuple(_initial_hex_vector(row, size) for row in words) + values = tuple(sum((Fraction(row[i]) for row in layers), Fraction(0)) for i in range(size)) + for i, value in enumerate(values): + for row in layers: + try: + rounded = float(value) + except OverflowError as error: + raise ValueError("qualification_initial_frame_nonfinite_word") from error + require(rounded == row[i], "initial_frame_noncanonical_word") + value -= Fraction(row[i]) + require(value == 0, "initial_frame_word_capacity") + return values + + +def _initial_framed_map(request, record, size): + """Verify the post-context frame and return its distinct framed-map ID.""" + initial = request.get("initial_segment_frame") + require(type(initial) is dict and type(initial.get("frame")) is dict + and type(initial.get("map")) is dict and type(initial.get("parent_input")) is dict, + "initial_frame_shape") + frame, parent = initial["frame"], initial["parent_input"] + first = request["segments"][0] + parent_id = request["map_identity"] + expected_map = dict(request["voltage_lift_map"], segment_frame=frame, + raw_coordinate_meaning="fixed-segment affine remainder u; native history is u", + physical_coordinate_meaning="Point.y is the first retained word of S*(Q0+(t-t0)*V0+u)+L*(a-a_ref)") + require(initial.get("kind") == "voltage_lift_segment_frame" + and initial.get("record_sha256") == digest({k: v for k, v in initial.items() if k != "record_sha256"}) + and initial.get("request_sha256") == request["preparation_context_sha256"] + and initial.get("parent_map_identity") == parent_id + and initial.get("frame_identity") == digest(frame) + and initial.get("map_identity") == digest(expected_map) + and digest(initial["map"]) == digest(expected_map) + and frame.get("schema") == "solarlab.segment-affine-frame.v1" + and set(frame) == {"schema", "parent_map_identity", "segment_sha256", "logical_initialization_index", + "predecessor_identity", "parent_input_sha256", "t0_hex", "size", "q0_words_hex", + "v0_words_hex", "law", "weight_rounding"} + and frame.get("law") == "q=Q0+(t-t0)*V0+u;qdot=V0+udot" + and frame.get("weight_rounding") == "RN-exact-parent-q_then-unfused-SV-v1" + and frame.get("parent_map_identity") == parent_id + and frame.get("segment_sha256") == digest(first) + and type(frame.get("size")) is int and frame["size"] == size + and type(frame.get("logical_initialization_index")) is int + and frame["logical_initialization_index"] == 1 + and frame.get("t0_hex") == float(first["start"]).hex() + and frame.get("predecessor_identity") == record["predecessor_identity"] + and initial.get("native_initialization_performed") is False, + "initial_frame_binding") + require(parent.get("record_sha256") == digest({k: v for k, v in parent.items() if k != "record_sha256"}) + and parent.get("request_sha256") == request["preparation_context_sha256"] + and parent.get("point_identity") == record["point_identity"] + and parent.get("predecessor_identity") == record["predecessor_identity"] + and parent.get("segment_sha256") == digest(first) + and parent.get("state_changed") is False + and parent.get("native_initialization_performed") is False + and parent.get("native_steps") == 0 + and frame.get("parent_input_sha256") == parent["record_sha256"] + and record.get("schema") == "solarlab.voltage-lift-initial-input.v2" + and record.get("segment_frame_identity") == initial["frame_identity"] + and record.get("parent_coordinate_rate_hex") == parent.get("raw_zdot_hex") + and initial.get("native_initial_z_hex") == record["raw_z_hex"] + and initial.get("native_initial_zdot_hex") == record["raw_zdot_hex"] + and record["raw_zdot_hex"] == [0.0.hex()]*size + and parent.get("raw_z_hex") == [0.0.hex()]*size, + "initial_frame_handoff") + # Preserve the supplied parent state/rate and independently verify the + # physical handoff using exact dyadic arithmetic, without model evaluation. + q0 = _initial_words(frame.get("q0_words_hex"), size) + v0 = _initial_words(frame.get("v0_words_hex"), size) + supplied = _initial_hex_vector(parent.get("raw_zdot_hex"), size) + require(q0 == (Fraction(0),)*size and v0 == tuple(Fraction(v) for v in supplied), + "initial_frame_parent_words") + base = request["voltage_lift_map"] + count = base.get("mapped_input_words", 4) + require((count == 4 and "mapped_input_words" not in base and "mapped_input_profile" not in base) + or (type(count) is int and count == 12 + and base.get("mapped_input_profile") == "frame-input-expansion12-v1"), + "initial_frame_mapped_profile") + columns = _initial_hex_vector(base.get("columns_hex"), size) + lift = base.get("lift_hex") + require(type(lift) is list and len(lift) == size, "initial_frame_lift_shape") + lift = tuple(_initial_hex_vector(row, 2) for row in lift) + reference = _initial_hex_vector(base.get("reference_inputs_hex"), 2) + inputs = (first["voltage"][0], first["photons"][0]) + rates = tuple((pair[1]-pair[0])/(first["end"]-first["start"]) + for pair in (first["voltage"], first["photons"])) + require(parent.get("time_hex") == record.get("time_hex") == frame["t0_hex"] + and _initial_hex_vector(parent.get("inputs_hex"), 2) == inputs + and _initial_hex_vector(record.get("inputs_hex"), 2) == inputs + and _initial_hex_vector(parent.get("input_rates_hex"), 2) == rates + and _initial_hex_vector(record.get("input_rates_hex"), 2) == rates, + "initial_frame_input_binding") + state = _initial_words(initial.get("physical_handoff_words_hex"), size, count=count) + rate = _initial_words(initial.get("physical_rate_handoff_words_hex"), size, count=count) + for proof in (parent, record): + _initial_words(proof.get("mapped_physical_rate_words_hex"), size, count=count) + require(proof["mapped_physical_rate_words_hex"] == initial["physical_rate_handoff_words_hex"], + "initial_frame_rate_handoff") + physical = tuple(Fraction(scale)*value + sum((Fraction(row[j])*(Fraction(inputs[j])-Fraction(reference[j])) + for j in range(2)), Fraction(0)) for scale, value, row in zip(columns, q0, lift)) + physical_rate = tuple(Fraction(scale)*value + sum((Fraction(row[j])*Fraction(rates[j]) + for j in range(2)), Fraction(0)) for scale, value, row in zip(columns, v0, lift)) + require(state == physical and rate == physical_rate, "initial_frame_physical_handoff") + return initial["map_identity"] + + +def check_initialization(request, size): + names = ("z0", "zdot0", "actual_initial_identity", "initial_preparation", "preparation_context_sha256") + require(all(name in request for name in names), "initial_input_missing") + record = request["initial_preparation"] + for name in ("z0", "zdot0"): + vector = request[name] + require(type(vector) is list and len(vector) == size + and all(type(v) is float and math.isfinite(v) for v in vector), "initial_vector_shape") + key = "raw_z_hex" if name == "z0" else "raw_zdot_hex" + require(record[key] == [v.hex() for v in vector], "initial_vector_words") + require(record["raw_z_hex"] == [0.0.hex()]*size, "initial_state_reference_changed") + framed = "segment_frame_policy" in request + require(framed or "initial_segment_frame" not in request, "unbound_initial_frame") + outputs = (*names, "interval_observation") + (("initial_segment_frame",) if framed else ()) + context = {k: v for k, v in request.items() if k not in outputs} + require(digest(context) == request["preparation_context_sha256"] == record["request_sha256"], + "initial_context_binding") + map_id = _initial_framed_map(request, record, size) if framed else request["map_identity"] + require(record["record_sha256"] == digest({k: v for k, v in record.items() if k != "record_sha256"}) + and record["map_identity"] == map_id + and record["point_identity"] == request["actual_initial_identity"] + and record["predecessor_identity"] == request["voltage_lift_map"]["physical_reference"] + and record["segment_id"] == request["segments"][0]["id"] + and record["segment_sha256"] == digest(request["segments"][0]) + and record["state_changed"] is False and record["native_initialization_performed"] is False + and record["native_steps"] == 0, "initial_record_binding") + for name in ("desired_tangent_residual_SI", "represented_rate_residual_SI"): + for word in ("high_hex", "low_hex"): + values = record[name][word] + require(len(values) == size and all(math.isfinite(float.fromhex(v)) for v in values), + "initial_residual_shape") + + +def check_initialized_request(request): + require(all(name in request for name in ("z0", "zdot0", "initial_preparation")), "initial_input_missing") + return check_applied_ceiling(request) + + +def options(policy): + policy = validate_policy(policy) + if policy["origin"]["case_id"] == "DynamicAcceptorIonPublicDeviceV1": + return {"nonlin_conv_coef": 1e-8, "nonlin_guard": "first-correction-wrms-v1", + "nonlin_trace_capacity": 4096, "first_step": 7.8125e-7, + "time_weight_kappa": 1024, + "segment_startup_overrides": {"slow_state_hold": {"first_step": 0.0}}} + return {"nonlin_conv_coef": None, "nonlin_guard": None, "nonlin_trace_capacity": 4096, + "first_step": None, "time_weight_kappa": None, "segment_startup_overrides": None} + + +def matches_options(policy, chosen): + """Match fixed qualified controls, allowing only the existing hold choice.""" + expected = options(policy) + if not isinstance(chosen, Mapping): + return False + if policy["origin"]["case_id"] == "DynamicAcceptorIonPublicDeviceV1": + selected = chosen.get("segment_startup_overrides") + if (not isinstance(selected, Mapping) or set(selected) != {"slow_state_hold"} + or not isinstance(selected["slow_state_hold"], Mapping) + or set(selected["slow_state_hold"]) != {"first_step"}): + return False + value = selected["slow_state_hold"]["first_step"] + if (type(value) not in (int, float) or value not in (0, 2.0**-32) + or math.copysign(1, value) != 1): + return False + expected["segment_startup_overrides"] = {"slow_state_hold": {"first_step": float(value)}} + return chosen == expected diff --git a/scripts/benchmarks/reference_map.py b/scripts/benchmarks/reference_map.py new file mode 100644 index 00000000..09a8e34f --- /dev/null +++ b/scripts/benchmarks/reference_map.py @@ -0,0 +1,412 @@ +"""Validate P00 comparison links without importing or running scientific code. + +The map records original assertions and blocked prospective obligations. A +valid map is planning evidence, not permission to use an unqualified reference. +""" + +from __future__ import annotations + +import argparse +import ast +from datetime import datetime +import hashlib +import json +import math +from pathlib import Path + + +class MapError(ValueError): + """A comparison link or its declared eligibility is invalid.""" + + +def digest(value): + return hashlib.sha256(json.dumps( + value, sort_keys=True, separators=(",", ":"), ensure_ascii=True, + allow_nan=False, + ).encode()).hexdigest() + + +def pointer(value, path): + if not isinstance(path, str) or (path and not path.startswith("/")): + raise MapError("invalid_pointer") + try: + for part in path.split("/")[1:]: + part = part.replace("~1", "/").replace("~0", "~") + value = value[int(part)] if isinstance(value, list) else value[part] + except (KeyError, IndexError, ValueError, TypeError) as exc: + raise MapError(f"dangling_pointer: {path}") from exc + return value + + +def _require(condition, message): + if not condition: + raise MapError(message) + + +def _symbols(tree): + result = set() + + def visit(nodes, prefix=""): + for node in nodes: + if isinstance(node, (ast.ClassDef, ast.FunctionDef, ast.AsyncFunctionDef)): + name = prefix + node.name + result.add(name) + visit(node.body, name + ".") + + visit(tree.body) + return result + + +def check_comparison(record, supplied): + """Check an explicitly active binding; never invent missing qualification. + + This checks metadata only. The bound original comparator still has to run. + """ + contract = record.get("active_contract") + _require(isinstance(contract, dict), "comparison_blocked: no active contract") + for field in ("target", "source_identity", "unit", "norm", "scale", "zero_policy"): + _require(contract.get(field) is not None, f"active_missing_{field}") + _require(field in supplied and supplied[field] is not None, + f"missing_{field}") + _require(supplied[field] == contract[field], f"mismatched_{field}") + _require(contract["target"] == record["target"], "wrong_scope") + identity = contract["source_identity"] + _require(isinstance(identity, dict), "source_identity_incomplete") + for field in ("source", "input", "protocol", "initial_state", "model", "numerics", "environment"): + value = identity.get(field + "_sha256") + _require(isinstance(value, str) and len(value) == 64 + and all(c in "0123456789abcdef" for c in value), "source_identity_incomplete") + _require(isinstance(identity.get("driver"), str) and bool(identity["driver"]), + "source_identity_incomplete") + for field in ("threshold", "reference_error"): + value = contract.get(field) + _require(type(value) in (int, float) and math.isfinite(value) and value >= 0, + f"unknown_{field}") + _require(contract.get("review_status") == "approved", "unreviewed_comparison") + _require(bool(contract.get("review_evidence")), "review_evidence_missing") + try: + frozen = datetime.fromisoformat(contract["frozen_at"].replace("Z", "+00:00")) + started = datetime.fromisoformat(supplied["run_started_at"].replace("Z", "+00:00")) + except (KeyError, TypeError, ValueError, AttributeError) as exc: + raise MapError("freeze_or_start_missing") from exc + _require(frozen.tzinfo is not None and started.tzinfo is not None + and frozen < started, "posthoc_or_ambiguous_freeze") + _require(contract.get("reference_qualified") is True, + "reference_qualification_missing") + _require(contract.get("reference_error") is not None, + "reference_error_missing") + _require(contract["reference_error"] <= contract["threshold"] / 3, + "reference_error_budget_exceeded") + if contract.get("norm") == "word_equal": + _require(contract.get("change_kind") == "M", "word_equality_is_M_only") + _require(contract.get("threshold") == 0, "word_equality_threshold") + _require(isinstance(contract.get("metadata_exceptions"), list), + "metadata_exceptions_missing") + return {"metadata_eligible": True, "scientific_qualification_granted": False} + + +def validate_comparison_scopes(scopes, mapping, repo, archive): + """Validate the small prospective rule table, not the scientific results. + + Existing lane rules retain their own meaning. Missing physical scale/floor + values remain named blockers rather than being filled by test truth values. + """ + _require(scopes.get("schema") == "solarlab.refactor_comparison_scopes.v1", "scope_schema") + repo, archive = Path(repo), Path(archive) + cache, trees = {}, {} + sources = scopes["sources"] + for sid, entry in sources.items(): + _require(entry.get("root") in {"repository", "archive"}, "scope_source_root") + path = (repo if entry["root"] == "repository" else archive)/entry["path"] + _require(path.is_file(), "scope_source_missing") + raw = path.read_bytes() + _require(hashlib.sha256(raw).hexdigest() == entry["sha256"], "scope_source_changed") + cache[sid] = raw + + def cite(ref): + _require(ref.get("source_id") in cache, "scope_dangling_source") + raw = cache[ref["source_id"]] + if "symbol" in ref: + sid = ref["source_id"] + if sid not in trees: + trees[sid] = _symbols(ast.parse(raw)) + _require(ref["symbol"] in trees[sid], "scope_dangling_symbol") + if "lines" in ref: + lo, hi = ref["lines"]; lines = raw.decode().splitlines() + _require(1 <= lo <= hi <= len(lines), "scope_source_lines") + _require(hashlib.sha256("\n".join(lines[lo-1:hi]).encode()).hexdigest() == ref["text_sha256"], + "scope_source_text_changed") + + rules = scopes["rules"] + for rid, rule in rules.items(): + _require(rule.get("id") == rid, "scope_rule_identity") + _require(rule.get("status") in {"numeric_parameters_frozen", "original_contract_only", "missing_parameters"}, + "scope_rule_status") + cite(rule["comparator"]) + _require(bool(rule.get("scope_boundary")), "scope_rule_boundary") + for binding in rule.get("citations", []): + cite(binding) + if rule["status"] == "numeric_parameters_frozen": + for key in ("quantity", "unit", "norm", "scale", "zero_policy", "threshold"): + _require(rule.get(key) is not None, "scope_missing_"+key) + def finite_numbers(value): + if isinstance(value, dict): + return bool(value) and all(finite_numbers(v) for v in value.values()) + if isinstance(value, list): + return bool(value) and all(finite_numbers(v) for v in value) + return type(value) in (int, float) and math.isfinite(value) and value >= 0 + _require(finite_numbers(rule["scale"]), "scope_unknown_scale") + _require(finite_numbers(rule["threshold"]), "scope_unknown_threshold") + _require(bool(rule.get("parameter_justification")), "scope_parameter_basis") + elif rule["status"] == "missing_parameters": + _require(bool(rule.get("missing_fields")) and rule.get("active") is False, "scope_unmarked_missing_parameters") + if rule.get("original_rule_ids"): + _require(set(rule["original_rule_ids"]) <= mapping["rule_catalog"].keys(), "scope_original_rule_missing") + _require(rule.get("original_rules_sha256") == digest({k: mapping["rule_catalog"][k] for k in rule["original_rule_ids"]}), + "scope_original_rule_changed") + + original = {r["capability_id"]: r for r in mapping["scientific_records"]} + records = scopes["records"] + _require(len({r["capability_id"] for r in records}) == len(records) and + {r["capability_id"] for r in records} == original.keys(), "scope_record_coverage") + for row in records: + old = original[row["capability_id"]] + _require(row["route_id"] == old["route_id"] and row["origin_key"] == old["origin_key"], "scope_wrong_route") + _require(old.get("comparison_scope_id") == row["id"], "scope_link_mismatch") + _require(set(row["rule_ids"]) <= rules.keys() and bool(row["rule_ids"]), "scope_dangling_rule") + _require(row.get("active_comparison") is None and row.get("scientific_qualification_granted") is False, + "scope_unadmitted_active_comparison") + _require(bool(row.get("classification_basis")), "scope_classification_basis") + for binding in row.get("citations", []): + cite(binding) + for packet in row.get("parameter_bindings", []): + definition = packet.get("case_definition") + if definition is None: + continue + _require(definition.get("schema") == "solarlab.four_case_definition.v1" + and definition.get("scope_id") == row["id"] + and definition.get("case_id") == packet["case_id"] + and definition.get("protocol") == packet["known_parameters"], + "case_definition_binding") + _require(packet.get("numeric_parameter_status") == definition.get("status") == "prospective_complete" + and definition.get("reference_error_bound") is None + and definition.get("reference_qualified") is False + and definition.get("active_comparison") is None + and bool(definition.get("pending_observables")), "case_definition_eligibility") + _require(bool(definition.get("rules")) and bool(definition.get("contexts")), "case_definition_incomplete") + for rule in definition["rules"].values(): + _require(bool(rule.get("unit")) and bool(rule.get("basis")) + and all(type(rule.get(k)) in (int, float) and math.isfinite(rule[k]) + and rule[k] >= 0 for k in ("atol", "rtol")), "case_definition_threshold") + cite(packet["comparator"]) + cite(packet["definition_validator"]) + for binding in packet.get("citations", []): + cite(binding) + _require(bool(row.get("remaining_inputs")), "scope_missing_qualification_obligation") + for need in row["remaining_inputs"]: + _require(all(need.get(k) for k in ("field", "needed_from", "blocked_use")), "scope_vague_missing_input") + if row.get("disposition") == "engineering_only": + _require(row.get("positive_physical_obligation") is False and bool(row.get("engineering_expected")), + "scope_engineering_disposition") + else: + _require(row.get("positive_physical_obligation") is True, "scope_physics_obligation_erased") + return {"records": len(records), "rules": len(rules), "source_files_checked": len(cache), + "active_new_comparisons": 0, "scientific_qualification_granted": False} + + +def validate_map(mapping, repo, archive): + """Resolve every citation and partition against the frozen coverage index.""" + repo, archive = Path(repo), Path(archive) + _require(mapping.get("schema") == "solarlab.refactor_comparison_map.v1", "schema") + documents, trees, blobs = {}, {}, {} + sources = mapping["sources"] + + def source_bytes(source_id): + _require(source_id in sources, f"dangling_source: {source_id}") + if source_id not in blobs: + source = sources[source_id] + _require(source["root"] in {"repository", "archive"}, "source_root") + base = repo if source["root"] == "repository" else archive + path = base / source["path"] + _require(path.is_file(), f"missing_source: {path}") + content = path.read_bytes() + _require(hashlib.sha256(content).hexdigest() == source["sha256"], + f"source_hash_mismatch: {path}") + blobs[source_id] = content + return blobs[source_id] + + def document(source_id): + if source_id not in documents: + content = source_bytes(source_id) + if Path(sources[source_id]["path"]).suffix in {".yaml", ".yml"}: + import yaml + documents[source_id] = yaml.safe_load(content) + else: + documents[source_id] = json.loads(content) + return documents[source_id] + + def citation(ref): + _require(not ref.get("prospective"), "prospective_citation_used_as_existing") + sid = ref["source_id"] + content = source_bytes(sid) + if "pointer" in ref: + value = pointer(document(sid), ref["pointer"]) + _require(digest(value) == ref["value_sha256"], "pointer_value_mismatch") + if "symbol" in ref: + if sid not in trees: + trees[sid] = _symbols(ast.parse(content)) + _require(ref["symbol"] in trees[sid], + f"dangling_symbol: {sources[sid]['path']}::{ref['symbol']}") + if "lines" in ref: + lo, hi = ref["lines"] + lines = content.decode().splitlines() + _require(1 <= lo <= hi <= len(lines), "invalid_line_range") + text = "\n".join(lines[lo - 1:hi]) + _require(hashlib.sha256(text.encode()).hexdigest() == ref["text_sha256"], + "assertion_text_mismatch") + + coverage = document(mapping["inputs"]["coverage_source_id"]) + caps = {row["id"]: row for row in coverage["capabilities"]} + routes = coverage["migration_routes"] + manifest = json.loads((repo / "reproducibility/RefactorReferenceManifestV1.json").read_bytes()) + for path, expected in mapping["inputs"]["manifest_payload_hashes"].items(): + _require(digest(pointer(manifest, path)) == expected, f"input_payload_drift: {path}") + reconciliation = manifest["capability_reconciliation"] + link = reconciliation.get("comparison_map") + if link: + raw_map = (repo / link["path"]).read_bytes() + _require(hashlib.sha256(raw_map).hexdigest() == link["sha256"], "map_link_hash_mismatch") + _require(digest(json.loads(raw_map)) == digest(mapping), "map_argument_mismatch") + expected = {row["capability_id"] for key in ("slice_references", "experiment_bindings") + for row in reconciliation[key]} + records = mapping["scientific_records"] + _require(len({row["capability_id"] for row in records}) == len(records), + "duplicate_capability") + _require({row["capability_id"] for row in records} == expected, + "scientific_coverage_mismatch") + states = {"original_rule_bound_pending_evidence", "original_assertions_bound", + "blocked_prospective", "active"} + for record in records: + cid = record["capability_id"] + _require(cid in caps, "dangling_capability") + _require(record["route_id"] == caps[cid]["route_id"], "wrong_route") + _require(record["origin_key"] == caps[cid]["origin_key"], "wrong_origin_scope") + _require(record["state"] in states, "invalid_state") + target = record["target"] + _require(target.get("capability_id") == cid + and target.get("scope_id") == record["origin_key"], + "wrong_scope") + _require(target.get("kind") in {"original_refinement_lane", "original_scoped_assertions", + "prospective_comparison"}, "invalid_target") + for ref in record["citations"]: + citation(ref) + for rule_id in record["rule_ids"]: + _require(rule_id in mapping["rule_catalog"], "dangling_rule") + rule = mapping["rule_catalog"][rule_id] + for field in ("unit", "norm", "scale", "zero_policy"): + _require(rule.get(field) is not None, f"missing_rule_{field}") + citation(rule["binding"]) + if "expression" in rule: + _require(hashlib.sha256(rule["expression"].encode()).hexdigest() + == rule["binding"].get("text_sha256"), "assertion_expression_mismatch") + if "gate_value" in rule: + value = pointer(document(rule["binding"]["source_id"]), rule["binding"]["pointer"]) + _require(value == rule["gate_value"], "rule_changed_original_gate") + _require(rule["unit"] == value.get("units", "1"), "rule_unit_mismatch") + _require(rule["norm"] == value.get("comparison", value.get("operator")), + "rule_norm_mismatch") + _require(value.get("limit") is not None, "unknown_original_threshold") + relative = value.get("comparison") in {"relative_linf", "pointwise_relative_linf"} + floor = value.get("relative_floor", 1e-30) + scale = ({"kind": "original_symmetric_pair_scale", "relative_floor": floor} + if relative else {"kind": "absolute_original_units"}) + zero = ({"kind": "original_relative_floor", "value": floor} + if relative else {"kind": "absolute_comparison_no_division"}) + _require(rule["scale"] == scale, "rule_scale_mismatch") + _require(rule["zero_policy"] == zero, "rule_zero_policy_mismatch") + if record["state"] == "active": + contract = record.get("active_contract", {}) + _require("gate_binding" in contract and "pointer" in contract["gate_binding"], + "active_gate_binding_missing") + binding = contract["gate_binding"] + citation(binding) + bound = pointer(document(binding["source_id"]), binding["pointer"]) + policy = {key: value for key, value in contract.items() + if key not in {"gate_binding", "validation_run_started_at"}} + _require(bound == policy, "active_gate_content_mismatch") + # Eligibility is exercised with a separately supplied actual run start. + probe = {**contract, "run_started_at": contract.get("validation_run_started_at")} + check_comparison(record, probe) + else: + _require(record.get("active_contract") is None, "blocked_record_has_active_contract") + obligations = record["obligations"] + _require(bool(obligations), "missing_blocked_obligation") + for obligation in obligations: + _require(obligation.get("prospective") is True, "obligation_not_prospective") + _require(bool(obligation.get("artifact")) and bool(obligation.get("missing")), + "incomplete_obligation") + _require(set(obligation["tasks"]) == set(routes[record["route_id"]]["migration_tasks"]), + "wrong_downstream_tasks") + engineering = mapping["engineering_routes"] + for cid, cap in caps.items(): + if cid in expected: + continue + rid = cap["route_id"] + _require(rid in engineering, "missing_engineering_route") + _require(engineering[rid]["tasks"] == routes[rid]["migration_tasks"], + "wrong_engineering_tasks") + _require(engineering[rid]["physics_qualification"] is False, + "engineering_claims_physics") + expected_consumers = {} + for row in reconciliation.get("configured_capability_bindings", []): + expected_consumers[row["capability_id"]] = set(row["benchmark_reference_ids"] + row["refinement_reference_ids"]) + for row in reconciliation.get("registered_test_bindings", []): + expected_consumers[row["capability_id"]] = set(row["benchmark_reference_ids"]) + for row in reconciliation["slice_references"]: + if row.get("executor_id"): + expected_consumers.setdefault(row["executor_id"], set()).add(row["capability_id"]) + for cid, cap in caps.items(): + if cap.get("kind") == "reviewed_model_or_combination_boundary": + expected_consumers[cid] = set() + consumers = mapping.get("consumer_scientific_links", []) + _require(len({x["capability_id"] for x in consumers}) == len(consumers), "duplicate_consumer") + _require({x["capability_id"] for x in consumers} == set(expected_consumers), "consumer_link_coverage") + for row in consumers: + cid = row["capability_id"] + _require(set(row["scientific_record_ids"]) == expected_consumers[cid], "wrong_consumer_science_links") + _require(set(row["scientific_record_ids"]) <= expected, "dangling_consumer_science_link") + _require(row["route_id"] == caps[cid]["route_id"], "wrong_consumer_route") + _require(row["scientific_qualification_granted"] is False, "consumer_claims_physics") + if caps[cid].get("kind") == "reviewed_model_or_combination_boundary": + _require(row.get("original_support_boundary") == caps[cid]["support_boundary"], + "model_support_boundary_changed") + _require(bool(row.get("prospective_artifact")), "model_obligation_missing") + for item in mapping["test_link_audit"]: + _require(item["capability_id"] in expected, "unknown_test_audit_capability") + for ref in item["citations"]: + citation(ref) + _require(bool(item["chains"]) or bool(item.get("missing_test_artifact")), + "missing_test_disposition") + scope_link = mapping.get("comparison_scopes") + if scope_link: + scope_bytes = (repo / scope_link["path"]).read_bytes() + _require(hashlib.sha256(scope_bytes).hexdigest() == scope_link["sha256"], "scope_link_hash_mismatch") + validate_comparison_scopes(json.loads(scope_bytes), mapping, repo, archive) + return {"status": "valid_planning_map", "scientific_records": len(records), + "engineering_capabilities": len(caps) - len(expected), + "sources_checked": len(blobs), "active_comparisons": sum(r["state"] == "active" for r in records), + "consumer_scientific_links": len(consumers), + "scientific_qualification_granted": False} + + +def main(): + parser = argparse.ArgumentParser(description=__doc__) + parser.add_argument("--repo", required=True, type=Path) + parser.add_argument("--archive", required=True, type=Path) + args = parser.parse_args() + mapping = json.loads((args.repo / "reproducibility/RefactorComparisonMapV1.json").read_bytes()) + print(json.dumps(validate_map(mapping, args.repo, args.archive), indent=2)) + + +if __name__ == "__main__": + main() diff --git a/scripts/benchmarks/representation_prototype.py b/scripts/benchmarks/representation_prototype.py new file mode 100644 index 00000000..6b00bffc --- /dev/null +++ b/scripts/benchmarks/representation_prototype.py @@ -0,0 +1,393 @@ +"""Constant physical gauge, independent log references and solver unit charts. + +The physical Point/reference/history is retained. Binary64 chart coordinates +have an explicit inverse enclosure; they are never asserted to be an exact +restoration of transcendental coordinates. This module changes no equations. +""" +from __future__ import annotations + +from dataclasses import dataclass +from fractions import Fraction +from hashlib import sha256 +import json +import math +from types import MappingProxyType + +import numpy as np + +from scripts.benchmarks.contract_prototype import ( + ContractError, ImmutableArrays, Layout, Linearization, ONE, PARTICLE, Point, RateView, + SparseLinearization, Unit, VOLT, VOLUME, frozen_array, +) +from scripts.benchmarks.interval_observation import BallIntegrator, Enclosure +from scripts.benchmarks.precision_prototype import ( + FrameInputExpansion, physical_state_words, +) + + +def rational(value): + if isinstance(value, (float, np.floating)) and not math.isfinite(value): + raise ContractError("representation_nonfinite") + return Fraction(float(value)) if isinstance(value, np.floating) else Fraction(value) + + +def identity(value): + return sha256(json.dumps(value, sort_keys=True, separators=(",", ":"), allow_nan=False).encode()).hexdigest() + + +def state_values(point): + words = physical_state_words(point.state) + return tuple(sum((rational(w.flat[i]) for w in words[v.id]), Fraction()) + for v in point.state.layout.variables for i in range(math.prod(v.shape))) + + +def rate_values(rate): + return tuple(sum((rational(w[i]) for w in rate.words), Fraction()) for i in range(rate.shape[0])) + + +def upper_float(value): + value = rational(value) + try: + result = float(value) + except OverflowError as error: + raise ContractError("representation_weight_range") from error + if not math.isfinite(result) or result <= 0: + raise ContractError("representation_weight_range") + if rational(result) < value: + result = float(np.nextafter(result, math.inf)) + if not math.isfinite(result): + raise ContractError("representation_weight_range") + return result + + +@dataclass(frozen=True) +class UnitExpression: + """Dimensions and exact SI amount per one internal solver unit.""" + dimension: Unit + si_per_unit: Fraction + name: str + + def __post_init__(self): + scale = rational(self.si_per_unit) + if not isinstance(self.dimension, Unit) or scale <= 0 or not self.name: + raise ContractError("representation_invalid_unit_expression") + object.__setattr__(self, "si_per_unit", scale) + + +@dataclass(frozen=True) +class PhysicalAllowance: + """Unchanged SI component widths supplied by the original error promise.""" + point_identity: str + reference_identity: str + source_identity: str + layout_identity: str + widths_si: tuple[Fraction, ...] + + def __post_init__(self): + widths = tuple(map(rational, self.widths_si)) + if not widths or any(v <= 0 for v in widths): + raise ContractError("representation_nonpositive_physical_allowance") + object.__setattr__(self, "widths_si", widths) + + +@dataclass(frozen=True) +class RepresentationImage(ImmutableArrays): + point: Point + rate: RateView + representation_identity: str + coordinates: np.ndarray + coordinate_rate: np.ndarray + contact_potentials_V: tuple[Fraction, Fraction] + contact_rates_V_s: tuple[Fraction, Fraction] + + def __post_init__(self): + object.__setattr__(self, "coordinates", frozen_array(self.coordinates)) + object.__setattr__(self, "coordinate_rate", frozen_array(self.coordinate_rate)) + object.__setattr__(self, "contact_potentials_V", tuple(map(rational,self.contact_potentials_V))) + object.__setattr__(self, "contact_rates_V_s", tuple(map(rational,self.contact_rates_V_s))) + + @property + def identity(self): + return identity({"map": self.representation_identity, "Point": self.point.identity, + "rate": self.rate.identity, "z": [float(x).hex() for x in self.coordinates], + "zdot": [float(x).hex() for x in self.coordinate_rate], + "contacts": list(map(str, self.contact_potentials_V)), + "contact_rates": list(map(str, self.contact_rates_V_s))}) + + +@dataclass(frozen=True) +class InverseImage: + state_si: tuple[Enclosure, ...] + rate_si: tuple[Enclosure, ...] + inputs_si: tuple[Fraction, ...] + input_rates_si: tuple[Fraction, ...] + + +@dataclass(frozen=True) +class WeightPromise(ImmutableArrays): + weights: np.ndarray + representation_debit_si: tuple[Fraction, ...] + widths_si: tuple[Fraction, ...] + eta: Fraction + beta: Fraction + component_norm_bound: int + image_identity: str + + def __post_init__(self): + object.__setattr__(self, "weights", frozen_array(self.weights)) + + +@dataclass(frozen=True, init=False, eq=False) +class PhysicalRepresentation: + """One constant chart bound to a physical source and its actual reference. + + Gauge: all electrostatic potentials and both contact potentials translate + by the same constant, in volts. This is not a change of voltage difference + or a solver origin. Nonuniform/time-dependent gauges are not supported. + Log: n=Nref*exp(s*z), with positive independent Nref (SI density). + Linear: physical field=s*z (potential=s*z-gauge). Unit scales, Nref and + gauge are fixed; the original material/physical reference never changes. + """ + def __init__(self, layout: Layout, source_identity: str, reference: Point, *, + potential_field="phi_V", voltage_input=0, right_contact_sign=-1, + gauge_offset_V=0, reference_densities=None, column_units=None): + if not source_identity or reference.state.layout.identity != layout.identity: + raise ContractError("representation_physical_binding") + for name, value in (("layout", layout), ("source_identity", source_identity), ("reference", reference), + ("potential_field", potential_field), ("voltage_input", voltage_input)): + object.__setattr__(self, name, value) + if right_contact_sign not in (-1, 1) or not 0 <= voltage_input < reference.inputs.size: + raise ContractError("representation_contact_convention") + object.__setattr__(self, "right_contact_sign", right_contact_sign) + object.__setattr__(self, "gauge", rational(gauge_offset_V)) + specs = {v.id: v for v in layout.variables} + if potential_field not in specs or specs[potential_field].unit != VOLT: + raise ContractError("representation_potential_dimension") + references, units = dict(reference_densities or {}), dict(column_units or {}) + if not set(references).issubset(specs) or not set(units).issubset(specs): + raise ContractError("representation_unknown_field") + references = {k: rational(v) for k, v in references.items()} + for name, value in references.items(): + if value <= 0 or specs[name].unit != PARTICLE/VOLUME: + raise ContractError("representation_log_reference_dimension_or_domain") + for name, spec in specs.items(): + dimension = ONE if name in references else spec.unit + units.setdefault(name, UnitExpression(dimension, Fraction(1), "SI")) + if not isinstance(units[name], UnitExpression) or units[name].dimension != dimension: + raise ContractError("representation_column_dimension") + object.__setattr__(self, "references", MappingProxyType(references)) + object.__setattr__(self, "units", MappingProxyType(units)) + object.__setattr__(self, "names", tuple(v.id for v in layout.variables for _ in range(math.prod(v.shape)))) + object.__setattr__(self, "scales", tuple(units[name].si_per_unit for name in self.names)) + object.__setattr__(self, "identity", identity({"schema": "solarlab.physical-representation.v1", "layout": layout.identity, + "source": source_identity, "reference": reference.identity, "gauge_V": str(self.gauge), + "potential_field": potential_field, "voltage_input": voltage_input, + "right_contact_sign": right_contact_sign, "log_reference_density_SI": {k: str(v) for k,v in references.items()}, + "units": {k: {"dimensions": v.dimension.powers, "SI_per_unit": str(v.si_per_unit), "name": v.name} + for k,v in units.items()}, "arithmetic": "existing-Arb256-enclosures"})) + object.__setattr__(self, "arithmetic", BallIntegrator(bits=256)) + + def _physical(self, point, rate): + if point.state.layout.identity != self.layout.identity or point.inputs.shape != self.reference.inputs.shape: + raise ContractError("representation_layout_mismatch") + if self.arithmetic.bits != 256: + raise ContractError("representation_arithmetic_profile_changed") + rate.validate(point, rate.input_rate, self.source_identity) + for variable in self.layout.variables: + self.reference.state.field(variable.id).difference(point.state.field(variable.id)) + y, yd = state_values(point), rate_values(rate) + if any(y[i] <= 0 for i,name in enumerate(self.names) if name in self.references): + raise ContractError("representation_log_nonpositive_density") + return y, yd + + def physical_expression(self, point): + """Full-word physical field values in the translated potential gauge. + + Applying this to ``reference`` gives the expressed reference without + replacing its material, original authority or retained history. + """ + if point.state.layout.identity != self.layout.identity: + raise ContractError("representation_layout_mismatch") + for variable in self.layout.variables: + self.reference.state.field(variable.id).difference(point.state.field(variable.id)) + return tuple(v+(self.gauge if name==self.potential_field else 0) + for v,name in zip(state_values(point),self.names,strict=True)) + + def forward(self, point: Point, rate: RateView) -> RepresentationImage: + y, yd = self._physical(point, rate) + expressed = self.physical_expression(point) + z, zd = [], [] + for i, (name, scale) in enumerate(zip(self.names, self.scales, strict=True)): + if name in self.references: + value = self.arithmetic.point(lambda x, _: x.log(), y[i]/self.references[name]) + z.append(float(value.center/scale)) + zd.append(float(yd[i]/(scale*y[i]))) + else: + z.append(float(expressed[i]/scale)) + zd.append(float(yd[i]/scale)) + voltage, slope = rational(point.inputs[self.voltage_input]), rational(rate.input_rate[self.voltage_input]) + return RepresentationImage(point, rate, self.identity, z, zd, + (self.gauge, self.gauge+self.right_contact_sign*voltage), + (Fraction(), self.right_contact_sign*slope)) + + def _image(self, image): + if image.representation_identity != self.identity: + raise ContractError("representation_foreign_image") + self._physical(image.point, image.rate) + left, right = image.contact_potentials_V + ld, rd = image.contact_rates_V_s + if (left != self.gauge or ld != 0 + or (right-left)/self.right_contact_sign != rational(image.point.inputs[self.voltage_input]) + or (rd-ld)/self.right_contact_sign != rational(image.rate.input_rate[self.voltage_input])): + raise ContractError("representation_contact_input_mismatch") + + def inverse(self, image, *, coordinates=None, coordinate_rate=None) -> InverseImage: + self._image(image) + z = image.coordinates if coordinates is None else frozen_array(coordinates) + zd = image.coordinate_rate if coordinate_rate is None else frozen_array(coordinate_rate) + if z.shape != (self.layout.size,) or zd.shape != z.shape: + raise ContractError("representation_coordinate_shape") + states, rates = [], [] + for i, (name, scale) in enumerate(zip(self.names, self.scales, strict=True)): + if name in self.references: + physical = self.arithmetic.point(lambda x, _: self.arithmetic.number(self.references[name]) + *(x*self.arithmetic.number(scale)).exp(), rational(z[i])) + scaled = physical.scale(scale*rational(zd[i])) + rounded = self.arithmetic.point(lambda x, _: x, scaled.center) + velocity = Enclosure(rounded.center, rounded.radius+scaled.radius) + else: + exact = scale*rational(z[i])-(self.gauge if name == self.potential_field else 0) + physical = self.arithmetic.point(lambda x, _: x, exact) + velocity = self.arithmetic.point(lambda x, _: x, scale*rational(zd[i])) + states.append(physical); rates.append(velocity) + inputs, slopes = list(map(rational, image.point.inputs)), list(map(rational, image.rate.input_rate)) + inputs[self.voltage_input] = (image.contact_potentials_V[1]-image.contact_potentials_V[0])/self.right_contact_sign + slopes[self.voltage_input] = (image.contact_rates_V_s[1]-image.contact_rates_V_s[0])/self.right_contact_sign + return InverseImage(tuple(states), tuple(rates), tuple(inputs), tuple(slopes)) + + def physical_trial(self, model, image, *, coordinates=None, coordinate_rate=None): + """Use the public mapped12 decoder; preserve the original Point as history. + + Enclosure centers become an explicitly new Point/rate. Every omitted + mathematical remainder is retained in the returned inverse enclosure; + a center that cannot fit the existing profile is rejected, never clipped. + """ + if model.source_identity != self.source_identity or model.reference.identity != self.reference.identity: + raise ContractError("representation_trial_model_mismatch") + decoded = self.inverse(image, coordinates=coordinates, coordinate_rate=coordinate_rate) + root = state_values(self.reference) + + def words(values): + remaining, result = list(values), [] + for _ in range(12): + high = frozen_array([float(v) for v in remaining]); result.append(high) + remaining = [v-rational(h) for v,h in zip(remaining, high, strict=True)] + if any(remaining): + raise ContractError("representation_existing_profile_capacity") + return FrameInputExpansion(tuple(result)) + + state = words([v.center-r for v,r in zip(decoded.state_si, root, strict=True)]) + rate = words([v.center for v in decoded.rate_si]) + point, increment = model.trial(state, image.point.time, image.point.inputs, + predecessor=image.point, transition_representation="paired-endpoints-v1") + model.validate(point) + physical_rate = RateView(point, rate, image.rate.input_rate, source_identity=self.source_identity, + mapping_identity=self.identity, origin="mapped-coordinate-rate", + raw_coordinates=image.coordinates if coordinates is None else coordinates, + raw_rate=image.coordinate_rate if coordinate_rate is None else coordinate_rate) + return point, physical_rate, increment, decoded + + def pullback(self, point, rate, physical): + """Fz=Fy*A+Fydot*B, Fzdot=Fydot*A, at the supplied physical Point/rate. + + A=diag(s*n), B=diag(s*ndot) for log fields; A=s,B=0 for linear. + Existing nonlinear storage, input and time partials are carried through. + Every binary64 matrix output has an exact, separately returned rounding + error. Sparse slot structure is unchanged, including explicit zero slots. + """ + y, yd = self._physical(point, rate) + a = [s*y[i] if name in self.references else s for i,(name,s) in enumerate(zip(self.names,self.scales))] + b = [s*yd[i] if name in self.references else Fraction() for i,(name,s) in enumerate(zip(self.names,self.scales))] + sparse = isinstance(physical, SparseLinearization) + if sparse and physical.source_identity != self.source_identity: + raise ContractError("representation_linearization_source_mismatch") + fy, fd = physical.y, physical.ydot + if sparse: + columns = np.repeat(np.arange(self.layout.size), np.diff(physical.structure.indptr)) + yy, dd = fy.data, fd.data + else: + yy, dd = np.asarray(fy).ravel(), np.asarray(fd).ravel() + if fy.shape != fd.shape or fy.shape[1] != self.layout.size: + raise ContractError("representation_linearization_shape") + columns = np.tile(np.arange(self.layout.size), fy.shape[0]) + exact_y = tuple(rational(v)*a[j]+rational(w)*b[j] for v,w,j in zip(yy,dd,columns,strict=True)) + exact_d = tuple(rational(w)*a[j] for w,j in zip(dd,columns,strict=True)) + out_y, out_d = frozen_array([float(v) for v in exact_y]), frozen_array([float(v) for v in exact_d]) + errors = {"y": tuple(abs(v-rational(w)) for v,w in zip(exact_y,out_y,strict=True)), + "ydot": tuple(abs(v-rational(w)) for v,w in zip(exact_d,out_d,strict=True)), + "A": tuple(a), "B": tuple(b), "Point_identity": point.identity, "rate_identity": rate.identity} + if sparse: + result = SparseLinearization(physical.structure.filled(out_y), physical.structure.filled(out_d), + physical.inputs, physical.input_rate, physical.time, physical.structure, self.identity) + else: + result = Linearization(out_y.reshape(fy.shape), out_d.reshape(fd.shape), + physical.inputs, physical.input_rate, physical.time) + return result, errors + + def error_weights(self, image, allowance: PhysicalAllowance) -> WeightPromise: + self._image(image) + if (allowance.point_identity != image.point.identity or allowance.reference_identity != self.reference.identity + or allowance.source_identity != self.source_identity or allowance.layout_identity != self.layout.identity + or len(allowance.widths_si) != self.layout.size): + raise ContractError("representation_allowance_binding") + decoded, actual = self.inverse(image), state_values(image.point) + # This single debit includes forward rounding AND inverse arithmetic; + # adding a separate debit for either side would count that error twice. + debit = tuple(abs(v.center-y)+v.radius for v,y in zip(decoded.state_si,actual,strict=True)) + eta = max(e/d for e,d in zip(debit,allowance.widths_si,strict=True)) + if 3*eta > 1: + raise ContractError("representation_arithmetic_share_exceeded") + beta, r = 1-eta, math.isqrt(self.layout.size-1)+1 + weights = [] + for i,(name,scale) in enumerate(zip(self.names,self.scales)): + width = beta*allowance.widths_si[i] + if name in self.references: + nmax = decoded.state_si[i].center+decoded.state_si[i].radius + log = self.arithmetic.point(lambda x, _: x.log(), 1+r*width/nmax) + lower = (log.center-log.radius)/(scale*r) + if lower <= 0: + raise ContractError("representation_log_weight_unresolved") + weights.append(upper_float(1/lower)) + else: + weights.append(upper_float(scale/width)) + # WRMS(w*dz)<=1 => each |w*dz|<=sqrt(N)<=r. Convex secants give + # WRMS(exact_inverse_delta/D)<=beta*WRMS(w*dz)+eta<=1. + # A newly decoded numerical Point additionally needs assess_error: + # a ball radius from that distinct inverse evaluation is not assumed + # zero or silently covered by the baseline inverse's radius. + return WeightPromise(weights, debit, allowance.widths_si, eta, beta, r, image.identity) + + def assess_error(self, image, promise, *, coordinates, coordinate_rate=None): + """Check actual chart error and one combined outward physical error. + + This guard is required when using decoded numerical Points. It uses + the unchanged original SI widths, includes the new inverse's radius, + and never adds the baseline debit again to the already combined + physical difference. Solver weights alone certify the exact inverse, + not an unexamined finite-precision implementation of that inverse. + """ + if promise.image_identity != image.identity: + raise ContractError("representation_weight_image_mismatch") + z = frozen_array(coordinates) + decoded = self.inverse(image, coordinates=z, coordinate_rate=coordinate_rate) + original = state_values(image.point) + raw = tuple(rational(x)-rational(y) for x,y in zip(z,image.coordinates,strict=True)) + errors = tuple(v.center-y for v,y in zip(decoded.state_si,original,strict=True)) + upper = tuple(abs(e)+v.radius for e,v in zip(errors,decoded.state_si,strict=True)) + raw_sq = sum((e*rational(w))**2 for e,w in zip(raw,promise.weights,strict=True))/self.layout.size + physical_sq = sum((e/d)**2 for e,d in zip(upper,promise.widths_si,strict=True))/self.layout.size + return {"accepted": raw_sq <= 1 and physical_sq <= 1, + "solver_wrms_squared": raw_sq, "original_physical_wrms_upper_squared": physical_sq, + "physical_error_center_si": errors, "physical_error_upper_si": upper, + "inverse_arithmetic_bound_si": tuple(v.radius for v in decoded.state_si), + "combined_physical_error_used_once": True, "original_widths_si": promise.widths_si} diff --git a/scripts/benchmarks/runtime_timing.py b/scripts/benchmarks/runtime_timing.py new file mode 100644 index 00000000..e1e3e69c --- /dev/null +++ b/scripts/benchmarks/runtime_timing.py @@ -0,0 +1,188 @@ +"""Aggregate controller timing and separate outer-invocation clock checks. + +RuntimeTiming uses one monotonic nanosecond clock. Inclusive spans overlap; +only exclusive totals form a partition. Its timestamps never enter physical +records, solver options or scientific decisions. Import has no clock call. +""" +from __future__ import annotations + +from contextlib import contextmanager +from copy import deepcopy +from fractions import Fraction +import math +from time import perf_counter_ns + + +PHASES = ("recorded_run", "controller", "ida_calls", "observation", + "history_io", "artifact_io") + + +class RuntimeTiming: + """Six aggregate rows and a stack bounded by those six distinct phases.""" + + def __init__(self, *, clock=None): + self._clock = perf_counter_ns if clock is None else clock + self._stack = [] + self._totals = {name: {"calls": 0, "exceptions": 0, + "inclusive_ns": 0, "exclusive_ns": 0} + for name in PHASES} + + @contextmanager + def phase(self, name): + if name not in self._totals or any(row[0] == name for row in self._stack): + raise ValueError("unknown or recursively active timing phase") + row = self._totals[name] + frame = [name, self._clock(), 0] + self._stack.append(frame) + row["calls"] += 1 + try: + yield + except BaseException: + row["exceptions"] += 1 + raise + finally: + elapsed = self._clock() - frame[1] + self._stack.pop() + row["inclusive_ns"] += elapsed + row["exclusive_ns"] += elapsed - frame[2] + if self._stack: + self._stack[-1][2] += elapsed + + def snapshot(self, outcome): + """Return closed aggregate spans; no new clock read or record history.""" + if self._stack: + raise ValueError("timing snapshot requires closed spans") + if outcome not in {"returned_completed", "returned_other_status", "raised"}: + raise ValueError("unknown recorded-call outcome") + return { + "schema": "solarlab.native-aggregate-timing.v1", + "clock": "time.perf_counter_ns", "units": "integer nanoseconds", + "recorded_call_outcome": outcome, + "phases": {name: {**row, "entered": row["calls"] != 0} + for name, row in self._totals.items()}, + "partition_exclusive_ns": sum(row["exclusive_ns"] for row in self._totals.values()), + "semantics": { + "inclusive_ns": "sum of complete spans, including nested measured phases; never add inclusive rows", + "exclusive_ns": "inclusive time minus immediate nested spans; add only exclusive rows", + "controller": "controller invocation including mapping construction, admission checks, physical setup and instrumentation overhead", + "ida_calls": "native constructor/control, init/step with result snapshot, statistics helpers and last-step snapshot; includes callbacks except separately timed nested history I/O", + "observation": "independent sample, point, domain, reconstruction and charge-evidence calls, including their local preparation", + "history_io": "emit_record serialization, strict checks, compression, history/sidecar writes, writer creation/finalization/abort", + "artifact_io": "recorded-run metadata/result and exception publication, including any failure sidecars", + "zero_rows": "no instrumented span entered; does not prove the corresponding work never occurred", + }, + "unmeasured": [ + "callbacks are not separately timed; native-call time is not pure solver-core time", + "interpreter/bootstrap and main preparation before run_recorded, including model construction", + "timing snapshot serialization/publication itself and later main/OS finalization", + "independent readback or any work in other processes", + ], + "OS_whole_run_timing": "separate existing supervisor/RuntimeEnd receipts", + "scientific_decisions_use_timing": False, + } + + +def reconcile_outer_timing(*, expected_identity, actual_identity, clock_names, + outer_started_s, inner_started_s, inner_elapsed_s, + observed_interval_s, os_elapsed_s, whole_limit_s, + primary_failure=None, prior_failures=(), + inner_passed, cleanup_positive, returned_code): + """Check a closed invocation without reading a clock or replacing failures. + + All three counter sources must be the source-bound, same-host + time.perf_counter clock: the pre-invocation ToolClock, inner CloseRun, and + observer. observed_interval_s encloses an actual observer counter reading; + a new observer passes (now, now). Saved analysis may supply explicitly + derived rational endpoints, never a fabricated historical timestamp. + + The ToolClock entry must precede RunOnce. The resulting upper bound covers + RunOnce through this observer checkpoint; bootstrap before that entry and + later tool-return/final-seal checks remain with the existing outer caller. + OS 'real' is mandatory separate evidence, not a subtractable clock sample. + This helper does not award scientific acceptance or alter RuntimeTiming. + """ + def exact(value): + if type(value) not in (int, float, Fraction): + raise ValueError("invalid clock number") + if isinstance(value, float) and not math.isfinite(value): + raise ValueError("nonfinite clock number") + return Fraction(value) + + checks = { + "invocation_identity": type(expected_identity) is dict and + type(actual_identity) is dict and bool(expected_identity) and + all(type(key) is str and bool(key.strip()) and + type(value) is str and bool(value.strip()) + for identity in (expected_identity, actual_identity) + for key, value in identity.items()) and + expected_identity == actual_identity, + "same_counter_clock": type(clock_names) in (tuple, list) and + tuple(clock_names) == ("time.perf_counter",) * 3, + "counter_values": False, "event_order": False, + "whole_clock_limit": False, "closed_OS_receipt": False, + "separate_OS_limit": False, + "inner_pipeline_passed": inner_passed is True, + "positive_cleanup": cleanup_positive is True, + "tool_returned_zero": type(returned_code) is int and returned_code == 0, + } + upper = None + exact_upper = None + checkpoint = None + counter_error = None + discrepancy = None + os_exact = None + try: + if type(observed_interval_s) not in (tuple, list) or len(observed_interval_s) != 2: + raise ValueError("observer reading needs two enclosing endpoints") + origin, inner, elapsed, low, high, limit = map(exact, ( + outer_started_s, inner_started_s, inner_elapsed_s, + *observed_interval_s, whole_limit_s)) + checks["counter_values"] = min(origin, inner, elapsed, low, high) >= 0 and low <= high and limit > 0 + # CloseRun stores fl(checkpoint - inner_epoch). Enclose that subtraction's + # rounding cell; no arbitrary time tolerance or change to the old record. + if type(inner_elapsed_s) is float: + elapsed_low = (exact(math.nextafter(inner_elapsed_s, -math.inf)) + elapsed) / 2 + elapsed_high = (elapsed + exact(math.nextafter(inner_elapsed_s, math.inf))) / 2 + else: + elapsed_low = elapsed_high = elapsed + checkpoint = [str(inner + elapsed_low), str(inner + elapsed_high)] + checks["event_order"] = checks["counter_values"] and origin <= inner and inner + elapsed_high <= low + if checks["counter_values"] and checks["event_order"] and checks["same_counter_clock"]: + bound = high - origin + upper = float(bound) + if exact(upper) < bound: + upper = math.nextafter(upper, math.inf) + exact_upper = str(bound) + checks["whole_clock_limit"] = exact(upper) < limit + except (ValueError, TypeError, OverflowError) as error: + counter_error = str(error) + try: + os_duration = exact(os_elapsed_s) + os_exact = str(os_duration) + checks["closed_OS_receipt"] = os_duration >= 0 + checks["separate_OS_limit"] = checks["closed_OS_receipt"] and 0 < exact(whole_limit_s) and os_duration < exact(whole_limit_s) + discrepancy = str(exact(inner_elapsed_s) - os_duration) + except (ValueError, TypeError, OverflowError): + pass + failed_checks = [name for name, passed in checks.items() if not passed] + primary = deepcopy(primary_failure) + later = deepcopy(list(prior_failures)) + failed_checks + failures = ([primary] if primary is not None else []) + later + return { + "schema": "solarlab.outer-timing-reconciliation.v1", + "passed": not failures, "first_failure": failures[0] if failures else None, + "primary_failure": primary, "later_failures": later, "failures": failures, + "checks": checks, "counter_error": counter_error, + "elapsed_from_tool_epoch_upper_s": upper, + "elapsed_from_tool_epoch_upper_exact_s": exact_upper, + "inner_checkpoint_counter_interval_exact_s": checkpoint, + "OS_comparison": { + "elapsed_exact_s": os_exact, + "inner_elapsed_minus_OS_exact_s": discrepancy, + "status": "separate_clock_and_scope; no duration nesting assertion", + "OS_used_in_counter_bound": False, + "cause_of_disagreement": "not established by these receipts", + }, + "scope": "closed invocation timing/status only; outer bootstrap and final tool-return/seal checks remain mandatory", + "scientific_qualification": False, + } diff --git a/scripts/benchmarks/scaps_reference.py b/scripts/benchmarks/scaps_reference.py new file mode 100644 index 00000000..5d077b79 --- /dev/null +++ b/scripts/benchmarks/scaps_reference.py @@ -0,0 +1,285 @@ +"""Prepare all reported SCAPS coordinates as explicit, source-bound inputs. + +This preparation does not run a solver. It retains the historical mirror +template's declared parameters and targets each named defect separately. +The older full-scan script's combined CB/VB update is therefore not replayed. +An actual driver, effective physics, protocol and numerical qualification must +be reviewed before these inputs can be used for scientific acceptance. +""" +from __future__ import annotations + +import argparse +from copy import deepcopy +from datetime import datetime, timezone +from decimal import Decimal +import hashlib +import json +import math +from pathlib import Path +import subprocess +from typing import Any + + +CONTRACT = "reproducibility/ScapsComparisonContractV1.json" +CONTRACT_SHA256 = "5beaf9096866cd98896d0300425e107aa9323dfc3e7a1fd8d8ca5d1ceed2e3b5" +MANIFEST = "reproducibility/RefactorReferenceManifestV1.json" +TEMPLATE = "perovskite-sim/configs/scaps_mirror_v2.yaml" +CHANNEL = "historical_mirror_inputs_distinct_defect_sweeps_v1" + +# axis, container, exact template selector, field, effective input unit. +# A reported interface numeral is used in the explicitly declared areal +# hypothesis, with no invented conversion thickness. +RULES = { + "scaps_cbo": (("CBO", "layer", "SCAPS_ETL", "chi_eV", "eV"),), + "scaps_etl_donor": (("N_D", "layer", "SCAPS_ETL", "N_D_cm3", "cm^-3"),), + "scaps_pvk_donor": (("N_D", "layer", "SCAPS_PVK", "N_D_cm3", "cm^-3"),), + "scaps_nt_htl_pvk": (("Nt", "interface", "HTL/PVK", "N_t_cm2", "cm^-2"),), + "scaps_nt_pvk_cb": (("Nt", "bulk_defect", "Perovskite-CB", "N_t_cm3", "cm^-3"),), + "scaps_nt_pvk_vb": (("Nt", "bulk_defect", "Perovskite-VB", "N_t_cm3", "cm^-3"),), + "scaps_nt_pvk_etl": (("Nt", "interface", "PVK/ETL", "N_t_cm2", "cm^-2"),), + "scaps_et_htl_pvk": (("Et", "interface", "HTL/PVK", "E_t_eV_below_cb", "eV"),), + "scaps_et_pvk_cb": (("Et", "bulk_defect", "Perovskite-CB", "E_t_eV_below_cb", "eV"),), + "scaps_et_pvk_vb": (("Et", "bulk_defect", "Perovskite-VB", "E_t_eV_above_vb", "eV"),), + "scaps_et_pvk_etl": (("Et", "interface", "PVK/ETL", "E_t_eV_below_cb", "eV"),), + "scaps_nt_et": ( + ("Nt", "interface", "PVK/ETL", "N_t_cm2", "cm^-2"), + ("Et", "interface", "PVK/ETL", "E_t_eV_below_cb", "eV"), + ), + "scaps_nt_cbo": ( + ("Nt", "interface", "PVK/ETL", "N_t_cm2", "cm^-2"), + ("CBO", "layer", "SCAPS_ETL", "chi_eV", "eV"), + ), +} + + +class ReferenceError(ValueError): + """The selected reference, input or coordinate is inconsistent.""" + + +def digest(value: Any) -> str: + return hashlib.sha256(json.dumps(value, sort_keys=True, separators=(",", ":"), + ensure_ascii=True, allow_nan=False).encode()).hexdigest() + + +def file_digest(path: Path) -> str: + return hashlib.sha256(path.read_bytes()).hexdigest() + + +def _number(value: Any) -> int | float: + if type(value) not in (int, float) or not math.isfinite(value): + raise ReferenceError("coordinate must be a finite number, not a boolean or string") + return value + + +def _one(rows: Any, key: str, selector: str) -> dict: + if not isinstance(rows, list) or any(not isinstance(row, dict) for row in rows): + raise ReferenceError(f"invalid collection for {selector}") + matches = [row for row in rows if row.get(key) == selector] + if len(matches) != 1: + raise ReferenceError(f"expected exactly one {key}={selector!r}") + return matches[0] + + +def _target(document: dict, kind: str, selector: str) -> dict: + if kind == "layer": + return _one(document.get("layers"), "name", selector) + if kind == "interface": + return _one(document.get("interfaces"), "target", selector) + if kind == "bulk_defect": + absorber = _one(document.get("layers"), "name", "SCAPS_PVK") + return _one(absorber.get("bulk_defects"), "name", selector) + raise ReferenceError(f"unknown input container {kind!r}") + + +def case_document(template: dict, group_id: str, coordinates: list) -> tuple[dict, list[dict]]: + """Build a fresh input document; never update a combined SRH lifetime.""" + if group_id == "scaps_base": + if coordinates: + raise ReferenceError("the base case has no scan coordinates") + return deepcopy(template), [] + if group_id not in RULES: + raise ReferenceError(f"unsupported SCAPS group {group_id!r}") + rules = RULES[group_id] + if not isinstance(coordinates, list) or len(coordinates) != len(rules): + raise ReferenceError("coordinate dimension differs from the named scan") + document, updates = deepcopy(template), [] + for raw, (axis, kind, selector, field, unit) in zip(coordinates, rules, strict=True): + value = _number(raw) + if axis in {"N_D", "Nt", "Et"} and value < 0: + raise ReferenceError(f"negative {axis} is outside the declared scan") + transform = "identity" + if axis == "CBO": + affinity = _number(_target(template, "layer", "SCAPS_PVK")["chi_eV"]) + value = float(Decimal(str(affinity)) - Decimal(str(value))) + _number(value) + transform = "chi_PVK_eV - CBO_eV; decimal input subtraction" + target = _target(document, kind, selector) + if field not in target: + raise ReferenceError(f"missing declared field {selector}.{field}") + old = target[field] + target[field] = value + updates.append({"axis": axis, "container": kind, "selector": selector, + "field": field, "old_value": old, "value": value, + "effective_unit": unit, "transform": transform}) + return document, updates + + +def build_cases(template: dict, groups: list[dict]) -> list[dict]: + """Keep every source row, including missing references and input aliases.""" + group_ids = [group["id"] for group in groups] + if len(group_ids) != len(set(group_ids)) or set(group_ids) != set(RULES): + raise ReferenceError("the complete set of thirteen distinct scans is required") + base, _ = case_document(template, "scaps_base", []) + cases = [{"id": "scaps_base", "group_id": "scaps_base", "coordinates": [], + "source": {"source_id": "scaps_pdf", "page": 2}, + "reference_status": "reported_rounded_base", "updates": [], + "input_document_sha256": digest(base)}] + for group in groups: + group_id, points, axes = group["id"], group["points"], group["axes"] + rules = RULES[group_id] + if [axis["name"] for axis in axes] != [rule[0] for rule in rules]: + raise ReferenceError(f"axis order differs for {group_id}") + if len(points) != group["expected_points"]: + raise ReferenceError(f"missing source coordinates in {group_id}") + if "expected_shape" in group and math.prod(group["expected_shape"]) != len(points): + raise ReferenceError(f"grid shape differs for {group_id}") + seen_coordinates, seen_rows = set(), set() + numeric = 0 + for point in points: + coordinates = point["coordinates"] + if not isinstance(coordinates, list): + raise ReferenceError("coordinates must be a named-axis list") + coordinate_key = tuple(Decimal(str(_number(v))) for v in coordinates) + row = point["worksheet_row"] + if type(row) is not int or row < 2 or row in seen_rows or coordinate_key in seen_coordinates: + raise ReferenceError(f"duplicate or invalid source row in {group_id}") + seen_rows.add(row) + seen_coordinates.add(coordinate_key) + status = point["status"] + if status not in {"ok", "reference_missing"}: + raise ReferenceError(f"unknown reference status {status!r}") + numeric += status == "ok" + document, updates = case_document(template, group_id, coordinates) + for update, axis in zip(updates, axes, strict=True): + update["reported_coordinate_unit"] = axis["unit_as_reported"] + update["unit_interpretation"] = ( + "declared historical areal-input hypothesis; no thickness conversion" + if update["effective_unit"] != axis["unit_as_reported"] else "same dimension") + cases.append({"id": f"{group_id}:row{row}", "group_id": group_id, + "coordinates": deepcopy(coordinates), "axes": deepcopy(axes), + "source": {"source_id": group["source_id"], "worksheet": group["worksheet"], + "worksheet_row": row, "report_page": group["pdf_page"]}, + "reference_status": status, "updates": updates, + "input_document_sha256": digest(document)}) + if numeric != group["numeric_points"]: + raise ReferenceError(f"numeric/missing reference count differs for {group_id}") + return cases + + +def materialize_case(plan: dict, case_id: str, *, expected_plan_identity: str) -> dict: + """Regenerate an input from a separately reviewed plan identity. + + The caller supplies the identity from its approved execution record, not + from an unverified incoming plan. The complete payload binds provenance, + units, display annotations and missing-reference status as well as inputs. + """ + actual_identity = digest({key: value for key, value in plan.items() + if key != "identity_sha256"}) + if (actual_identity != plan.get("identity_sha256") + or actual_identity != expected_plan_identity): + raise ReferenceError("case plan differs from the independently reviewed identity") + if digest(plan["template"]) != plan["template_document_sha256"]: + raise ReferenceError("template content changed") + case = _one(plan["cases"], "id", case_id) + document, updates = case_document(plan["template"], case["group_id"], case["coordinates"]) + if digest(document) != case["input_document_sha256"]: + raise ReferenceError("case input content changed") + # Display annotations cannot silently disagree with the executed update. + planned = [{key: update[key] for key in actual} for update, actual in + zip(case["updates"], updates, strict=True)] + if planned != updates: + raise ReferenceError("case update annotations changed") + return document + + +def build_plan(repo: Path, archive: Path) -> dict: + import yaml + + def git(*args): + return subprocess.check_output(["git", "-C", str(repo), *args], text=True).strip() + + if git("branch", "--show-current") != "devel": + raise ReferenceError("reference preparation requires devel") + contract_path, manifest_path = repo / CONTRACT, repo / MANIFEST + if file_digest(contract_path) != CONTRACT_SHA256: + raise ReferenceError("comparison contract differs from the reviewed version") + contract = json.loads(contract_path.read_text()) + manifest = json.loads(manifest_path.read_text()) + groups = manifest["scaps"]["groups"] + if digest(groups) != contract["reference_set"]["manifest_groups_payload_sha256"]: + raise ReferenceError("reference coordinates differ from the reviewed source") + if contract["independent_review"]["status"] != "approved" or not contract["frozen_at"]: + raise ReferenceError("comparison standard is not frozen and independently reviewed") + roots, bindings = {"repository": repo, "archive": archive}, [] + for source in contract["source_bindings"]: + path = roots[source["root"]] / source["path"] + actual = file_digest(path) + if actual != source["sha256"]: + raise ReferenceError(f"source changed: {source['path']}") + bindings.append({"path": str(path), "sha256": actual, "role": source["role"]}) + template = yaml.safe_load((repo / TEMPLATE).read_text()) + cases = build_cases(template, groups) + plan = { + "schema": "solarlab.scaps-case-plan.v1", "channel": CHANNEL, + "status": "prepared_pending_effective_input_and_execution_review", + "generated_utc": datetime.now(timezone.utc).isoformat(), + "repository": {"branch": "devel", "head": git("rev-parse", "HEAD")}, + "source_bindings": bindings + [ + {"path": str(contract_path), "sha256": CONTRACT_SHA256, "role": "frozen_comparison_standard"}, + {"path": str(manifest_path), "sha256": file_digest(manifest_path), "role": "complete_reference_inventory"}, + {"path": str(Path(__file__).resolve()), "sha256": file_digest(Path(__file__)), "role": "case_preparation"}], + "template": template, "template_document_sha256": digest(template), "cases": cases, + "coverage": {"groups": len(groups), "scan_cases": len(cases) - 1, "base_cases": 1, + "numeric_reference_rows": sum(case["reference_status"] == "ok" for case in cases), + "missing_reference_rows": sum(case["reference_status"] == "reference_missing" for case in cases)}, + "interpretation": { + "template": "Declared historical mirror_v2 input values retained; no new fit.", + "bulk_defects": "Each CB/VB scan changes only its named raw defect field before the actual loader; both defects remain present.", + "interface_density": "Reported cm^-3 labels and effective cm^-2 fields are both shown; the historical areal hypothesis is explicit and unconfirmed by native inputs.", + "energy_reference": "Existing template references retained; actual driver meaning still needs capture. This is not the proposed lowest-neighbor-CB reconstruction.", + "gaussian": "Keep existing total, width and reported peak fields. Historical loader behavior and the inconsistent redundant peak must be disclosed; no new Gaussian normalization.", + "optics": "Keep the declared glass/optical stack; capture any declared-versus-effective loader differences before execution.", + "identity": "An input-document hash alone does not authorize run reuse; full physics, protocol, source and environment identity are required.", + "reference_values": "Metric values are absent from solver case recipes; the independent comparator reads the pinned reference separately.", + }, + "execution_prerequisites": [ + "Select and freeze the actual driver, effective fields, contacts, statistics, optics, ions, environment and every fallback.", + "Freeze preparation, bias path, output/metric definitions and independent mesh/bias/nonlinear error checks.", + "Independently review this input channel and its disclosed differences from native SCAPS and the old combined-defect scan.", + "Admit a bounded source-bound execution with explicit resource and failure limits.", + ], + "execution_authorized": False, "scientific_qualification_granted": False, + } + plan["identity_sha256"] = digest(plan) + return plan + + +def main(argv=None) -> int: + parser = argparse.ArgumentParser(description=__doc__) + parser.add_argument("operation", choices=("plan",)) + parser.add_argument("--repo", type=Path, required=True) + parser.add_argument("--archive", type=Path, required=True) + parser.add_argument("--output", type=Path, required=True) + args = parser.parse_args(argv) + plan = build_plan(args.repo.resolve(), args.archive.resolve()) + args.output.parent.mkdir(parents=True, exist_ok=True) + with args.output.open("x") as stream: + json.dump(plan, stream, indent=2, ensure_ascii=False, allow_nan=False) + stream.write("\n") + print(json.dumps({"output": str(args.output), "identity": plan["identity_sha256"], + "coverage": plan["coverage"], "execution_authorized": False})) + return 0 + + +if __name__ == "__main__": + raise SystemExit(main()) diff --git a/scripts/benchmarks/sparse_prototype.py b/scripts/benchmarks/sparse_prototype.py new file mode 100644 index 00000000..27318cab --- /dev/null +++ b/scripts/benchmarks/sparse_prototype.py @@ -0,0 +1,512 @@ +"""P02-07 structural sparsity prototype; no production entry point uses it. + +Declarations describe possible derivatives, independently of current values. +The small Decimal references and the manufactured scale oracle live in tests. +The scale operator is a dimensionless structure proxy, not device physics. +""" + +from __future__ import annotations + +import json +from collections.abc import Iterable, Mapping +from dataclasses import dataclass +from hashlib import sha256 +from math import prod +from types import MappingProxyType + +import numpy as np +from numpy.typing import ArrayLike, NDArray +from scipy.sparse import csc_matrix, isspmatrix_csc +from scipy.sparse.linalg import SuperLU, splu + +from scripts.benchmarks.contract_prototype import ( + ONE, + ContractError, + EquationSpec, + ImmutableArrays, + Layout, + Support, + Unit, + VariableSpec, + frozen_array, + integer_indices, +) + +Indices = NDArray[np.intp] +Vector = NDArray[np.float64] +MAX_DECLARED_ENTRIES = 1_000_000 + + +def _owned_indices(value: ArrayLike) -> Indices: + indices = integer_indices(value) + return np.frombuffer(indices.tobytes(), dtype=np.intp).reshape(indices.shape) + + +@dataclass(frozen=True) +class TermSupport(ImmutableArrays): + """Unique local (equation row, variable column) pairs, flattened in C order.""" + + id: str + owner: str + equation: str + variable: str + pairs: Indices + kind: str = "local" + unit: Unit = ONE + + def __post_init__(self) -> None: + if any( + not isinstance(value, str) or not value + for value in (self.id, self.owner, self.equation, self.variable) + ): + raise ContractError("missing_term_identity") + if self.kind not in {"local", "nonlocal", "inventory", "port"}: + raise ContractError("unsupported_support_kind") + pairs = _owned_indices(self.pairs) + if pairs.ndim != 2 or pairs.shape[1] != 2: + raise ContractError("support_pair_shape") + if len(pairs) > MAX_DECLARED_ENTRIES: + raise ContractError("structural_expansion_limit") + if len(np.unique(pairs, axis=0)) != len(pairs): + raise ContractError("duplicate_term_edge") + object.__setattr__(self, "pairs", pairs) + + @classmethod + def cartesian( + cls, + id: str, + owner: str, + equation: str, + variable: str, + rows: ArrayLike, + columns: ArrayLike, + *, + kind: str = "nonlocal", + unit: Unit = ONE, + ) -> TermSupport: + rows, columns = integer_indices(rows), integer_indices(columns) + if rows.ndim != 1 or columns.ndim != 1: + raise ContractError("support_axis_shape") + # Check before allocating: the large nonlocal operator must use a border. + if int(rows.size) * int(columns.size) > MAX_DECLARED_ENTRIES: + raise ContractError("structural_expansion_limit") + pairs = np.column_stack( + (np.repeat(rows, len(columns)), np.tile(columns, len(rows))) + ) + return cls(id, owner, equation, variable, pairs, kind, unit) + + def identity_bytes(self) -> bytes: + pairs = self.pairs + order = np.lexsort((pairs[:, 0], pairs[:, 1])) + metadata = ( + self.id, + self.owner, + self.equation, + self.variable, + self.kind, + self.unit.powers, + ) + return ( + json.dumps(metadata, separators=(",", ":")).encode() + + pairs[order].astype(" tuple[tuple[TermSupport, ...], dict[str, slice], tuple[int, int], str]: + supports = tuple(supports) + if not all(isinstance(term, TermSupport) for term in supports): + raise ContractError("untyped_support") + supports = tuple(sorted(supports, key=lambda term: term.id)) + if len({term.id for term in supports}) != len(supports): + raise ContractError("duplicate_term") + if not isinstance(topology_identity, str): + raise ContractError("invalid_topology_identity") + variables = {spec.id: spec for spec in layout.variables} + equations = {spec.id: spec for spec in layout.equations} + locations = {support.id: support.location for support in layout.supports} + offsets: dict[str, slice] = {} + rows = 0 + for equation in layout.equations: + count = prod(equation.shape) + offsets[equation.id] = slice(rows, rows + count) + rows += count + columns = sum(prod(variable.shape) for variable in layout.variables) + if columns != layout.size or rows <= 0 or rows != columns: + raise ContractError("non_square_or_invalid_layout") + if ( + rows > MAX_DECLARED_ENTRIES + or sum(len(term.pairs) for term in supports) > MAX_DECLARED_ENTRIES + ): + raise ContractError("structural_expansion_limit") + if rows * columns > np.iinfo(np.intp).max: + raise ContractError("structural_index_overflow") + for term in supports: + if term.equation not in equations or term.variable not in variables: + raise ContractError("unknown_equation_or_variable") + equation, variable = equations[term.equation], variables[term.variable] + if term.owner != equation.owner: + raise ContractError("term_owner_mismatch") + if term.variable not in equation.derivative_support: + raise ContractError("undeclared_derivative_support") + if term.unit != equation.unit / variable.unit: + raise ContractError("jacobian_unit_mismatch") + if term.kind in {"inventory", "port"} and "global" not in { + locations[equation.support], + locations[variable.support], + }: + raise ContractError("global_border_support_required") + pairs = term.pairs + if ( + np.any(pairs < 0) + or np.any(pairs[:, 0] >= prod(equation.shape)) + or np.any(pairs[:, 1] >= prod(variable.shape)) + ): + raise ContractError("index_outside_support") + fingerprint = sha256(layout.identity.encode() + topology_identity.encode()) + for term in supports: + fingerprint.update(sha256(term.identity_bytes()).digest()) + return supports, offsets, (rows, columns), fingerprint.hexdigest() + + +@dataclass(frozen=True, init=False) +class SparseGraph(ImmutableArrays): + """Immutable graph storage with fresh public array headers, like core arrays.""" + + layout: Layout + supports: tuple[TermSupport, ...] + row_offsets: Mapping[str, slice] + shape: tuple[int, int] + keys: Indices + indices: Indices + indptr: Indices + identity: str + topology_identity: str + + def __init__( + self, + layout: Layout, + supports: Iterable[TermSupport], + *, + topology_identity: str = "", + ) -> None: + terms, offsets, shape, identity = _declarations( + layout, supports, topology_identity + ) + keys = [self._term_keys(layout, offsets, shape[0], term) for term in terms] + unique = np.unique(np.concatenate(keys)) if keys else np.empty(0, dtype=np.intp) + indices = unique % shape[0] + counts = np.bincount(unique // shape[0], minlength=shape[1]) + indptr = np.concatenate(([0], np.cumsum(counts, dtype=np.intp))) + for name, value in ( + ("layout", layout), + ("supports", terms), + ("row_offsets", MappingProxyType(offsets)), + ("shape", shape), + ("keys", _owned_indices(unique)), + ("indices", _owned_indices(indices)), + ("indptr", _owned_indices(indptr)), + ("identity", identity), + ("topology_identity", topology_identity), + ): + object.__setattr__(self, name, value) + + @staticmethod + def _term_keys( + layout: Layout, offsets: Mapping[str, slice], rows: int, term: TermSupport + ) -> Indices: + pairs = term.pairs + row = pairs[:, 0] + offsets[term.equation].start + column = pairs[:, 1] + layout.offsets[term.variable].start + return column * rows + row + + @property + def nnz(self) -> int: + return len(self.indices) + + def edges(self) -> Indices: + return _owned_indices( + np.column_stack((self.keys % self.shape[0], self.keys // self.shape[0])) + ) + + def assemble( + self, + values: Mapping[str, ArrayLike], + *, + supports: Iterable[TermSupport], + topology_identity: str = "", + ) -> csc_matrix: + terms, offsets, shape, identity = _declarations( + self.layout, supports, topology_identity + ) + if identity != self.identity: + raise ContractError("structural_recompile_required") + if set(values) != {term.id for term in terms}: + raise ContractError("coefficient_terms_mismatch") + data = np.zeros(self.nnz) + for term in terms: + raw = np.asarray(values[term.id]) + if raw.dtype.kind not in {"i", "u", "f"}: + raise ContractError("unsupported_coefficient_dtype") + coefficient = frozen_array(raw) + if coefficient.shape != (len(term.pairs),): + raise ContractError("coefficient_shape_mismatch") + # Align with the current declaration order, not a cached value mask. + positions = np.searchsorted( + self.keys, self._term_keys(self.layout, offsets, shape[0], term) + ) + np.add.at(data, positions, coefficient) + return csc_matrix( + (data, self.indices.copy(), self.indptr.copy()), shape=self.shape + ) + + +@dataclass(frozen=True) +class IonDomains(ImmutableArrays): + labels: Indices + active_faces: Indices + domains: tuple[tuple[int, ...], ...] + identity: str + + def __post_init__(self) -> None: + object.__setattr__(self, "labels", _owned_indices(self.labels)) + object.__setattr__(self, "active_faces", _owned_indices(self.active_faces)) + + +def ion_domains(count: int, faces: ArrayLike, diffusivity: ArrayLike) -> IonDomains: + count_array = integer_indices([count]) + if ( + count_array.shape != (1,) + or count_array[0] <= 0 + or count_array[0] > MAX_DECLARED_ENTRIES + ): + raise ContractError("invalid_domain_size") + count = int(count_array[0]) + pairs = integer_indices(faces) + diffusion = frozen_array(diffusivity) + if pairs.ndim != 2 or pairs.shape[1] != 2 or diffusion.shape != (len(pairs),): + raise ContractError("diffusion_face_shape") + if ( + np.any(pairs < 0) + or np.any(pairs >= count) + or np.any(pairs[:, 0] == pairs[:, 1]) + ): + raise ContractError("face_outside_support") + if np.any(diffusion < 0): + raise ContractError("negative_diffusivity") + # Exact physical blocking is a topology decision, never an epsilon cutoff. + active = pairs[diffusion != 0] + parent = list(range(count)) + + def root(node: int) -> int: + while parent[node] != node: + parent[node] = parent[parent[node]] + node = parent[node] + return node + + for left, right in active: + a, b = root(int(left)), root(int(right)) + parent[max(a, b)] = min(a, b) + groups: dict[int, list[int]] = {} + for node in range(count): + groups.setdefault(root(node), []).append(node) + domains = tuple(tuple(nodes) for _, nodes in sorted(groups.items())) + labels = np.empty(count, dtype=np.intp) + for label, nodes in enumerate(domains): + labels[list(nodes)] = label + canonical = np.unique(np.sort(active, axis=1), axis=0) + fingerprint = sha256( + str(count).encode() + canonical.astype(" None: + u, v = frozen_array(u), frozen_array(v) + if u.ndim != 1 or u.shape != v.shape or not u.size or not np.isfinite(alpha): + raise ContractError("rank_one_shape_or_coefficient") + contraction = float(v @ u) + if not np.isfinite(contraction): + raise ContractError("nonfinite_rank_one_contraction") + if alpha == 0 or alpha == contraction: + raise ContractError("singular_rank_one") + + +def factorize(matrix: csc_matrix) -> SuperLU: + if ( + not isspmatrix_csc(matrix) + or matrix.shape[0] == 0 + or matrix.shape[0] != matrix.shape[1] + ): + raise ContractError("square_csc_required") + if not np.isfinite(matrix.data).all(): + raise ContractError("nonfinite_matrix") + # A native failure propagates; no alternate solver or dense fallback. + return splu( + matrix, + permc_spec="COLAMD", + diag_pivot_thresh=1.0, + relax=1, + panel_size=10, + options={"Equil": False, "IterRefine": "DOUBLE"}, + ) + + +def sparse_solve(matrix: csc_matrix, rhs: ArrayLike) -> Vector: + rhs = frozen_array(rhs) + if rhs.shape != (matrix.shape[0],): + raise ContractError("rhs_shape_mismatch") + result = factorize(matrix).solve(rhs) + if not np.isfinite(result).all(): + raise ContractError("nonfinite_solution") + return result + + +def grid_proxy( + nx: int, ny: int +) -> tuple[SparseGraph, tuple[TermSupport, ...], dict[str, Vector]]: + """Five-point field plus three global variables; never expand u*v^T.""" + dimensions = integer_indices([nx, ny]) + if dimensions.shape != (2,) or np.any(dimensions < 2): + raise ContractError("unsupported_grid_shape") + nx, ny = map(int, dimensions) + count = nx * ny + if 9 * count - 2 * nx + 2 * ny + 2 > MAX_DECLARED_ENTRIES: + raise ContractError("structural_expansion_limit") + field, auxiliary, inventory, port = ( + "00_field", + "10_nonlocal", + "20_inventory", + "30_port", + ) + balance, auxiliary_eq, inventory_eq, port_eq = ( + "00_balance", + "10_nonlocal", + "20_inventory", + "30_port", + ) + layout = Layout( + (Support("cells", "cell", (ny, nx)), Support("global", "global", (1,))), + ( + VariableSpec(field, "bulk", "cells", (ny, nx), ONE), + VariableSpec(auxiliary, "nonlocal", "global", (1,), ONE, role="constraint"), + VariableSpec( + inventory, "inventory", "global", (1,), ONE, role="constraint" + ), + VariableSpec(port, "port", "global", (1,), ONE, role="constraint"), + ), + ( + EquationSpec( + balance, + "bulk", + "cells", + (ny, nx), + ONE, + derivative_support=(field, auxiliary, inventory, port), + ), + EquationSpec( + auxiliary_eq, + "nonlocal", + "global", + (1,), + ONE, + role="constraint", + derivative_support=(field, auxiliary), + ), + EquationSpec( + inventory_eq, + "inventory", + "global", + (1,), + ONE, + role="constraint", + derivative_support=(field,), + ), + EquationSpec( + port_eq, + "port", + "global", + (1,), + ONE, + role="constraint", + derivative_support=(field, port), + ), + ), + ) + nodes = np.arange(count, dtype=np.intp) + i = np.tile(np.arange(1, nx + 1), ny) + j = np.repeat(np.arange(1, ny + 1), nx) + u = ((i + j) % 5) / 16.0 + v = 2.0 * i / ((nx + 1) * count) + boundary = nodes[(i == 1) | (i == nx)] + p = np.where(i[boundary] == 1, 1.0, -1.0) + terms: list[TermSupport] = [] + values: dict[str, Vector] = {} + + def add( + id: str, + owner: str, + equation: str, + variable: str, + pairs: ArrayLike, + coefficients: ArrayLike, + kind: str = "local", + ) -> None: + terms.append( + TermSupport(id, owner, equation, variable, _owned_indices(pairs), kind) + ) + values[id] = np.asarray(coefficients, dtype=float) + + add( + "local.diagonal", + "bulk", + balance, + field, + np.column_stack((nodes, nodes)), + np.full(count, 8.0), + ) + for name, left, right, weight in ( + ( + "x", + nodes.reshape(ny, nx)[:, :-1].ravel(), + nodes.reshape(ny, nx)[:, 1:].ravel(), + -1.0, + ), + ("y", nodes[:-nx], nodes[nx:], -2.0), + ): + pairs = np.concatenate( + (np.column_stack((left, right)), np.column_stack((right, left))) + ) + add("local." + name, "bulk", balance, field, pairs, np.full(len(pairs), weight)) + column = np.column_stack((nodes, np.zeros(count, dtype=np.intp))) + row = column[:, ::-1] + add("nonlocal.u", "bulk", balance, auxiliary, column, -u, "nonlocal") + add("nonlocal.v", "nonlocal", auxiliary_eq, field, row, -v, "nonlocal") + add("nonlocal.z", "nonlocal", auxiliary_eq, auxiliary, [[0, 0]], [1.0], "nonlocal") + add( + "inventory.column", + "bulk", + balance, + inventory, + column, + np.ones(count), + "inventory", + ) + add( + "inventory.row", + "inventory", + inventory_eq, + field, + row, + np.full(count, 1.0 / count), + "inventory", + ) + border_column = np.column_stack((boundary, np.zeros(len(boundary), dtype=np.intp))) + add("port.column", "bulk", balance, port, border_column, p, "port") + add("port.row", "port", port_eq, field, border_column[:, ::-1], p / ny, "port") + add("port.scalar", "port", port_eq, port, [[0, 0]], [-2.0], "port") + supports = tuple(terms) + return SparseGraph(layout, supports), supports, values diff --git a/scripts/benchmarks/storage_prototype.py b/scripts/benchmarks/storage_prototype.py new file mode 100644 index 00000000..94c74809 --- /dev/null +++ b/scripts/benchmarks/storage_prototype.py @@ -0,0 +1,720 @@ +"""P02 storage/initialization probes through the public numerical contracts. + +This is isolated candidate arithmetic, not a production integrator. The only +time adapters are a bounded, fixed-step conservative BE experiment and the +installed IDA binding. Independent references and gates belong to the tests. +""" + +from __future__ import annotations + +from dataclasses import dataclass, field +from hashlib import sha256 +from math import fsum +from types import MappingProxyType +from typing import Any, Callable, Mapping, Protocol + +import numpy as np +from numpy.typing import ArrayLike + +from scripts.benchmarks.contract_prototype import ( + AREA, ONE, PARTICLE, SECOND, VOLUME, BalanceTerms, ContractError, + EquationSpec, FaceFlux, FieldProjection, FloatArray, Geometry, ImmutableArrays, ImplicitSystem, Layout, + LinearCoordinates, LinearStorage, Point, StateIncrement, StateView, + StoragePartials, Support, TermSink, VariableSpec, Vector, frozen_array, +) + + +@dataclass(frozen=True) +class _FloatMapAuthority(ImmutableArrays): + """Bind the existing small float maps to their canonical finite identities. + + This adapter preserves the existing formulas and binary64 qualification; + it does not promote rounded float fields into the DD research lane. + """ + + mapper: Any + layout: Layout + values: Mapping[str, FloatArray] + y: Vector + inputs: Vector + time: float + identity: str = field(init=False) + + def __post_init__(self): + object.__setattr__(self, "values", MappingProxyType({key: value.immutable_copy() + for key, value in self.values.items()})) + object.__setattr__(self, "y", frozen_array(self.y)) + object.__setattr__(self, "inputs", frozen_array(self.inputs)) + digest = sha256(repr((self.layout.identity, self.mapper.reference, float(self.time))).encode() + + self.y.tobytes() + self.inputs.tobytes()) + for name in sorted(self.values): + digest.update(name.encode() + self.values[name].identity_bytes()) + object.__setattr__(self, "identity", digest.hexdigest()) + + @property + def layout_identity(self): + return self.layout.identity + + def field(self, name): + return _FloatMapArray(self, name) + + def point(self): + return Point(self.time, self.y, self.inputs, StateView(self.layout, authority=self), self.mapper.reference) + + def delta_from(self, left): + other = left.authority + if (not isinstance(other, _FloatMapAuthority) or self.layout_identity != other.layout_identity + or self.mapper.reference != other.mapper.reference): + raise ContractError("incompatible_state_authority") + return self.mapper._increment_fields(other.point(), self.point()) + + def project(self, name): + return FieldProjection(self.values[name], self.identity, "binary64-storage-map-v1", None) + + def validate_binding(self, time, y, inputs, reference): + if (time != self.time or reference != self.mapper.reference or y.shape != self.y.shape + or inputs.shape != self.inputs.shape or y.tobytes() != self.y.tobytes() + or inputs.tobytes() != self.inputs.tobytes()): + raise ContractError("point_authority_binding_mismatch") + + def electrochemical_difference(self, density_id, potential_id, pairs, thermal_voltage, potential_sign): + return None + + def validate_transition(self, left, right): + return None + + def temporal_log_ratio(self, left, variable_id, indices): + before, after = left.field(variable_id), self.field(variable_id) + change = self.delta_from(left)[variable_id] + if indices is not None: + before, after, change = before.take(indices), after.take(indices), change.take(indices) + old, new = before.values, after.values + if np.any(old <= 0) or np.any(new <= 0): + raise ContractError("log_ratio_requires_positive_fields") + relative = change.values/old + close = np.abs(relative) < 0.5 + value = np.log(new)-np.log(old) + value[close] = np.log1p(relative[close]) + return FloatArray(value) + + def face_delta(self, left, variable_id, pairs): + return None + + def electrochemical_delta(self, left, density_id, potential_id, pairs, thermal_voltage, potential_sign): + return None + + +@dataclass(frozen=True, init=False) +class _FloatMapArray(FloatArray): + authority: _FloatMapAuthority + variable: str + + def __init__(self, authority, variable): + super().__init__(authority.values[variable].values) + object.__setattr__(self, "authority", authority) + object.__setattr__(self, "variable", variable) + + def immutable_copy(self): + return _FloatMapArray(self.authority, self.variable) + + def identity_bytes(self): + return b"binary64-map-field-v1:" + self.authority.identity.encode() + self.variable.encode() + + +def _mapped_point(mapper, layout, fields, y, time, inputs): + authority = _FloatMapAuthority(mapper, layout, dict(fields), y, inputs, time) + return authority.point() + + +class Coordinates(Protocol): + def point(self, y: ArrayLike, time: float = 0.0, + inputs: ArrayLike = ()) -> Point: ... + + def advance(self, left: Point, dy: ArrayLike, time: float, + inputs: ArrayLike = ()) -> tuple[Point, StateIncrement]: ... + + +def physical_field(point: Point, name: str) -> Vector: + value = point.state.field(name) + if not isinstance(value, FloatArray): + raise ContractError("explicit_precision_adapter_required") + return value.values + + +def scalar_layout(variable: str = "storage") -> Layout: + return Layout( + (Support("scalar", "global", (1,)),), + (VariableSpec(variable, "storage-probe", "scalar", (1,), PARTICLE),), + (EquationSpec("balance", "storage-probe", "scalar", (1,), + PARTICLE / SECOND, derivative_support=(variable,)),), + ) + + +def no_constraints(rate: ArrayLike, Ry: ArrayLike, input_count: int = 0) -> BalanceTerms: + rate, Ry = frozen_array(rate), frozen_array(Ry) + n = rate.size + return BalanceTerms(rate, np.empty(0), Ry, np.zeros((n, input_count)), + np.zeros(n), np.empty((0, n)), + np.empty((0, input_count)), np.empty(0)) + + +@dataclass(frozen=True) +class DiffusionProbe: + coordinates: LinearCoordinates + system: ImplicitSystem + geometry: Geometry + + +def diffusion_probe(volumes: ArrayLike, faces: ArrayLike, + conductance: ArrayLike) -> DiffusionProbe: + """Unweighted face rate assembled once; Q_i=V_i*n_i.""" + volumes, conductance = frozen_array(volumes), frozen_array(conductance) + geometry = Geometry(volumes, np.asarray(faces), np.ones(conductance.size)) + if conductance.shape != geometry.face_measures.shape or np.any(conductance < 0): + raise ContractError("invalid_conductance") + layout = Layout( + (Support("cells", "cell", volumes.shape), + Support("faces", "face", conductance.shape)), + (VariableSpec("density", "diffusion", "cells", volumes.shape, + PARTICLE / VOLUME, lower=0.0),), + (EquationSpec("balance", "diffusion", "cells", volumes.shape, + PARTICLE / SECOND, derivative_support=("density",)),), + ) + coordinates = LinearCoordinates(layout) + laplacian = np.zeros((volumes.size, volumes.size)) + for (i, j), k in zip(geometry.pairs, conductance, strict=True): + laplacian[i, i] -= k + laplacian[i, j] += k + laplacian[j, i] += k + laplacian[j, j] -= k + + def terms(point: Point) -> BalanceTerms: + difference = point.state.face_difference("density", geometry.pairs) + if not isinstance(difference, FloatArray): + raise ContractError("explicit_precision_adapter_required") + sink = TermSink(layout, "balance", geometry) + sink.add(FaceFlux("transport", "faces", -conductance * difference.values, + PARTICLE / AREA / SECOND)) + return no_constraints(sink.value(), laplacian, point.inputs.size) + + return DiffusionProbe(coordinates, ImplicitSystem(LinearStorage(np.diag(volumes)), terms), + geometry) + + +def trap_exchange_probe(Nt: float, capture: float, emission: float + ) -> tuple[LinearCoordinates, ImplicitSystem]: + if not np.isfinite([Nt, capture, emission]).all() or Nt <= 0 or min(capture, emission) < 0: + raise ContractError("invalid_reaction_parameters") + layout = Layout( + (Support("scalar", "global", (1,)),), + (VariableSpec("carrier", "exchange", "scalar", (1,), PARTICLE, lower=0), + VariableSpec("occupancy", "exchange", "scalar", (1,), ONE, lower=0, upper=1)), + tuple(EquationSpec(name, "exchange", "scalar", (1,), PARTICLE / SECOND, + derivative_support=("carrier", "occupancy")) + for name in ("carrier_balance", "trap_balance")), + ) + + def terms(point: Point) -> BalanceTerms: + n = physical_field(point, "carrier")[0] + f = physical_field(point, "occupancy")[0] + r = capture * n * (1.0 - f) - emission * Nt * f + dn, df = capture * (1.0 - f), -capture * n - emission * Nt + return no_constraints([-r, r], [[-dn, -df], [dn, df]]) + + return LinearCoordinates(layout), ImplicitSystem(LinearStorage(np.diag([1.0, Nt])), terms) + + +def _positive_exp(value: float) -> float: + with np.errstate(over="raise", invalid="raise", under="ignore"): + try: + result = float(np.exp(value)) + except FloatingPointError as exc: + raise ContractError("unrepresentable_positive_population") from exc + if result == 0.0 or not np.isfinite(result): + raise ContractError("unrepresentable_positive_population") + return result + + +@dataclass(frozen=True) +class ExponentialStorage: + """Scalar nonlinear Q with explicit state, input and time dependence. + + The increment evaluates the finite exponential identity from coordinate + differences. Float64 Point fields remain rounded values; this is not a + compensated physical-state representation or a sub-ULP R1 qualification. + """ + + by: float = 2.0 + ba: float = 3.0 + bt: float = 5.0 + + @property + def reference(self) -> str: + return f"exponential-storage:{self.by!r}:{self.ba!r}:{self.bt!r}" + + def point(self, y: ArrayLike, time: float = 0.0, inputs: ArrayLike = (0.0,)) -> Point: + y, a = frozen_array(y), frozen_array(inputs) + if y.shape != (1,) or a.shape != (1,): + raise ContractError("coordinate_shape_mismatch") + Q = _positive_exp(fsum((self.by * y[0], self.ba * a[0], self.bt * time))) + return _mapped_point(self, scalar_layout(), [("storage", FloatArray([Q]))], y, time, a) + + def value(self, point: Point) -> Vector: + if point.coordinate_reference != self.reference: + raise ContractError("storage_coordinate_reference_mismatch") + return physical_field(point, "storage") + + def advance(self, left: Point, dy: ArrayLike, time: float, + inputs: ArrayLike = (0.0,)) -> tuple[Point, StateIncrement]: + right = self.point(left.y + frozen_array(dy), time, inputs) + return right, StateIncrement.from_points(left, right) + + def _increment_fields(self, left: Point, right: Point): + dz = fsum((self.by * (right.y[0] - left.y[0]), + self.ba * (right.inputs[0] - left.inputs[0]), + self.bt * (right.time - left.time))) + delta = self.value(left) * np.expm1(dz) + return {"storage": FloatArray(delta)} + + def delta(self, left: Point, right: Point, increment: StateIncrement) -> Vector: + increment.validate(left, right) + self.value(left) + self.value(right) + value = increment.field("storage") + if not isinstance(value, FloatArray): + raise ContractError("explicit_precision_adapter_required") + return value.values + + def first(self, point: Point) -> StoragePartials: + Q = self.value(point) + return StoragePartials(self.by * Q[:, None], self.ba * Q[:, None], self.bt * Q) + + def rate_jvp(self, point: Point, ydot: Vector, adot: Vector, + dy: Vector, da: Vector, dt: float) -> Vector: + rate = fsum((self.by * ydot[0], self.ba * adot[0], self.bt)) + direction = fsum((self.by * dy[0], self.ba * da[0], self.bt * dt)) + return self.value(point) * rate * direction + + def system(self) -> ImplicitSystem: + return ImplicitSystem(self, lambda point: no_constraints([0.0], [[0.0]], 1)) + + +@dataclass(frozen=True) +class CarrierPotentialStorage: + """n=exp(q+phi+alpha*a+beta*t), g=phi+n-a-gamma*t.""" + + alpha: float = 0.0 + beta: float = 0.0 + gamma: float = 0.0 + + @property + def reference(self) -> str: + return f"carrier-potential:{self.alpha!r}:{self.beta!r}:{self.gamma!r}" + + def point(self, y: ArrayLike, time: float = 0.0, inputs: ArrayLike = (0.0,)) -> Point: + y, a = frozen_array(y), frozen_array(inputs) + if y.shape != (2,) or a.shape != (1,): + raise ContractError("coordinate_shape_mismatch") + n = _positive_exp(fsum((y[0], y[1], self.alpha * a[0], self.beta * time))) + layout = Layout( + (Support("scalar", "global", (1,)),), + (VariableSpec("carrier", "ic-probe", "scalar", (1,), PARTICLE), + VariableSpec("potential", "ic-probe", "scalar", (1,), ONE, role="constraint")), + (EquationSpec("balance", "ic-probe", "scalar", (1,), PARTICLE / SECOND, + derivative_support=("carrier", "potential")), + EquationSpec("constraint", "ic-probe", "scalar", (1,), ONE, role="constraint", + derivative_support=("carrier", "potential"))), + ) + return _mapped_point(self, layout, [("carrier", FloatArray([n])), + ("potential", FloatArray([y[1]]))], y, time, a) + + def value(self, point: Point) -> Vector: + if point.coordinate_reference != self.reference: + raise ContractError("storage_coordinate_reference_mismatch") + return physical_field(point, "carrier") + + def advance(self, left: Point, dy: ArrayLike, time: float, + inputs: ArrayLike = (0.0,)) -> tuple[Point, StateIncrement]: + right = self.point(left.y + frozen_array(dy), time, inputs) + return right, StateIncrement.from_points(left, right) + + def _increment_fields(self, left: Point, right: Point): + dz = fsum((*list(right.y - left.y), self.alpha * (right.inputs[0] - left.inputs[0]), + self.beta * (right.time - left.time))) + return { + "carrier": FloatArray(self.value(left) * np.expm1(dz)), + "potential": FloatArray([right.y[1] - left.y[1]]), + } + + def delta(self, left: Point, right: Point, increment: StateIncrement) -> Vector: + increment.validate(left, right) + self.value(left) + self.value(right) + value = increment.field("carrier") + if not isinstance(value, FloatArray): + raise ContractError("explicit_precision_adapter_required") + return value.values + + def first(self, point: Point) -> StoragePartials: + n = self.value(point) + return StoragePartials(np.column_stack((n, n)), self.alpha * n[:, None], self.beta * n) + + def rate_jvp(self, point: Point, ydot: Vector, adot: Vector, + dy: Vector, da: Vector, dt: float) -> Vector: + zdot = fsum((*list(ydot), self.alpha * adot[0], self.beta)) + dz = fsum((*list(dy), self.alpha * da[0], self.beta * dt)) + return self.value(point) * zdot * dz + + def terms(self, point: Point) -> BalanceTerms: + n = self.value(point)[0] + return BalanceTerms(np.zeros(1), np.array([point.y[1] + n - point.inputs[0] + - self.gamma * point.time]), + np.zeros((1, 2)), np.zeros((1, 1)), np.zeros(1), + np.array([[n, n + 1.0]]), np.array([[self.alpha * n - 1.0]]), + np.array([self.beta * n - self.gamma])) + + def system(self) -> ImplicitSystem: + return ImplicitSystem(self, self.terms) + + +@dataclass(frozen=True) +class SharedCapacityStorage: + """One shared vacancy, explicit inactive species, C=a+capacity_rate*t. + + Inactive populations retain exact zero fields and no logarithmic coordinate. + A solver must compile the matching reduced equation set before integrating + that topology. This prototype measures its storage and active rank only. + """ + + active: tuple[bool, ...] = (True, True) + capacity_rate: float = 0.0 + + @property + def reference(self) -> str: + return f"shared-capacity:{self.active!r}:{self.capacity_rate!r}" + + def capacity(self, point: Point) -> float: + if point.coordinate_reference != self.reference or point.inputs.shape != (1,): + raise ContractError("storage_coordinate_reference_mismatch") + C = point.inputs[0] + self.capacity_rate * point.time + if not np.isfinite(C) or C <= 0: + raise ContractError("unsupported_capacity") + return float(C) + + def _theta(self, q: Vector) -> Vector: + if q.shape != (sum(self.active),): + raise ContractError("active_coordinate_shape_mismatch") + theta = np.zeros(len(self.active)) + if q.size: + shift = max(0.0, float(np.max(q))) + weights = np.exp(q - shift) + vacancy = float(np.exp(-shift)) + if vacancy == 0.0 or np.any(weights == 0.0): + raise ContractError("unsupported_singular_capacity_boundary") + theta[np.asarray(self.active)] = weights / fsum((*weights, vacancy)) + return theta + + def point(self, y: ArrayLike, time: float = 0.0, inputs: ArrayLike = (1.0,)) -> Point: + y, inputs = frozen_array(y), frozen_array(inputs) + if inputs.shape != (1,): + raise ContractError("input_shape_mismatch") + C = inputs[0] + self.capacity_rate * time + if not np.isfinite(C) or C <= 0: + raise ContractError("unsupported_capacity") + theta = self._theta(y) + layout = Layout( + (Support("sites", "global", (len(self.active),)),), + (VariableSpec("populations", "shared-sites", "sites", (len(self.active),), + PARTICLE, lower=0),), + (EquationSpec("balance", "shared-sites", "sites", (len(self.active),), + PARTICLE / SECOND, derivative_support=("populations",)),), + ) + return _mapped_point(self, layout, [("populations", FloatArray(C * theta))], y, time, inputs) + + def from_occupancies(self, theta: ArrayLike, time: float = 0.0, + inputs: ArrayLike = (1.0,)) -> Point: + theta = frozen_array(theta) + active = np.asarray(self.active) + if theta.shape != active.shape or np.any(theta < 0) or fsum(theta) > 1.0: + raise ContractError("joint_capacity_infeasible") + if np.any(theta[~active] != 0.0) or np.any(theta[active] == 0.0): + raise ContractError("inactive_identity_mismatch") + vacancy = 1.0 - fsum(theta) + if vacancy <= 0.0: + raise ContractError("unsupported_singular_capacity_boundary") + return self.point(np.log(theta[active] / vacancy), time, inputs) + + def value(self, point: Point) -> Vector: + self.capacity(point) + return physical_field(point, "populations") + + def theta(self, point: Point) -> Vector: + return self.value(point) / self.capacity(point) + + def theta_jacobian(self, point: Point) -> Vector: + theta = self.theta(point) + full = np.diag(theta) - np.outer(theta, theta) + return full[:, np.asarray(self.active)] + + def advance(self, left: Point, dy: ArrayLike, time: float, + inputs: ArrayLike = (1.0,)) -> tuple[Point, StateIncrement]: + right = self.point(left.y + frozen_array(dy), time, inputs) + return right, StateIncrement.from_points(left, right) + + def _increment_fields(self, left: Point, right: Point): + dq = right.y - left.y + theta_left, theta_right = self.theta(left), self.theta(right) + active = np.asarray(self.active) + dtheta = np.zeros(len(self.active)) + if dq.size and np.max(np.abs(dq)) <= 0.5: + em1 = np.expm1(dq) + denominator_change = fsum(theta_left[active] * em1) + dtheta[active] = theta_left[active] * (em1 - denominator_change) / (1 + denominator_change) + elif dq.size: + dtheta = theta_right - theta_left + dC = fsum((right.inputs[0] - left.inputs[0], + self.capacity_rate * (right.time - left.time))) + dQ = self.capacity(left) * dtheta + dC * theta_right + return {"populations": FloatArray(dQ)} + + def delta(self, left: Point, right: Point, increment: StateIncrement) -> Vector: + increment.validate(left, right) + self.value(left) + self.value(right) + value = increment.field("populations") + if not isinstance(value, FloatArray): + raise ContractError("explicit_precision_adapter_required") + return value.values + + def first(self, point: Point) -> StoragePartials: + theta = self.theta(point) + return StoragePartials(self.capacity(point) * self.theta_jacobian(point), + theta[:, None], self.capacity_rate * theta) + + def rate_jvp(self, point: Point, ydot: Vector, adot: Vector, + dy: Vector, da: Vector, dt: float) -> Vector: + theta, jac = self.theta(point), self.theta_jacobian(point) + dtheta = jac @ dy + djac = (np.diag(dtheta) - np.outer(dtheta, theta) + - np.outer(theta, dtheta))[:, np.asarray(self.active)] + dC = da[0] + self.capacity_rate * dt + Cdot = adot[0] + self.capacity_rate + return dC * (jac @ ydot) + self.capacity(point) * (djac @ ydot) + Cdot * dtheta + + +@dataclass(frozen=True) +class RankEvidence: + shape: tuple[int, int] + rank: int + threshold: float + singular_values: Vector + + +def rank_evidence(matrix: ArrayLike) -> RankEvidence: + matrix = frozen_array(matrix) + if matrix.ndim != 2: + raise ContractError("invalid_rank_matrix") + singular = np.linalg.svd(matrix, compute_uv=False) + threshold = 64 * np.finfo(float).eps * max(matrix.shape, default=0) * ( + float(singular[0]) if singular.size else 0.0) + return RankEvidence(matrix.shape, int(np.count_nonzero(singular > threshold)), + threshold, frozen_array(singular)) + + +def rank_aware_solve(matrix: ArrayLike, rhs: ArrayLike, *, gauge_nullspace: bool = False + ) -> tuple[Vector, RankEvidence]: + matrix, rhs = frozen_array(matrix), frozen_array(rhs) + evidence = rank_evidence(matrix) + if rhs.shape != (matrix.shape[0],): + raise ContractError("linear_rhs_shape_mismatch") + if evidence.rank < min(matrix.shape) or matrix.shape[0] != matrix.shape[1]: + augmented = rank_evidence(np.column_stack((matrix, rhs))) + if augmented.rank > evidence.rank: + raise ContractError("incompatible_fixed_physical_quantities") + raise ContractError("missing_gauge" if gauge_nullspace else "dependent_constraints") + return frozen_array(np.linalg.solve(matrix, rhs)), evidence + + +@dataclass(frozen=True) +class InitialStateResult: + point: Point + derivative: Vector + input_rate: Vector + history: tuple[Point, ...] + storage_error: Vector + residual: Vector + tangent: Vector + rank: RankEvidence + iterations: int + + +def consistent_initial_state(system: ImplicitSystem, coordinates: Coordinates, seed: Point, + preserved_storage: ArrayLike, input_rate: ArrayLike, *, + history: tuple[Point, ...] = (), tolerance: float = 1e-14, + max_iterations: int = 16, gauge_nullspace: bool = False + ) -> InitialStateResult: + """Solve [Q-Qfixed,g], then [Qy;gy]ydot with Qa/Qt and ga/gt. + + Physical storage rows and coordinate columns have independent roles. The + caller declares which storage/port quantities are to be fixed and retains + immutable pre-event history. No state is clipped or normalized afterward. + """ + target, adot = frozen_array(preserved_storage), frozen_array(input_rate) + if adot.shape != seed.inputs.shape: + raise ContractError("input_rate_shape_mismatch") + _, seed_terms = system.evaluate(seed) + if target.shape != (seed_terms.rate.size,): + raise ContractError("preserved_storage_shape_mismatch") + point = seed + for iteration in range(max_iterations + 1): + first, terms = system.evaluate(point) + error = np.concatenate((system.storage.value(point) - target, terms.algebraic)) + matrix = np.vstack((first.y, terms.gy)) + correction, rank = rank_aware_solve(matrix, -error, gauge_nullspace=gauge_nullspace) + if np.max(np.abs(error), initial=0.0) <= tolerance: + break + if iteration == max_iterations: + raise ContractError("initial_state_iteration_budget_exhausted") + # IC is not a trajectory step; its original history stays unchanged. + point = coordinates.point(point.y + correction, point.time, point.inputs) + rhs = np.concatenate((terms.rate - first.inputs @ adot - first.time, + -terms.ga @ adot - terms.gt)) + derivative, rank = rank_aware_solve(matrix, rhs, gauge_nullspace=gauge_nullspace) + residual = system.residual(point, derivative, adot) + tangent = terms.gy @ derivative + terms.ga @ adot + terms.gt + return InitialStateResult(point, derivative, adot, history, + frozen_array(system.storage.value(point) - target), + frozen_array(residual), frozen_array(tangent), rank, iteration) + + +@dataclass(frozen=True) +class ConservativeStep: + left: Point + right: Point + increment: StateIncrement + residual: Vector + newton_iterations: int + line_search_evaluations: int + + +def conservative_be_step(system: ImplicitSystem, coordinates: Coordinates, left: Point, + h: float, *, inputs: ArrayLike | None = None, tolerance: float = 2e-15, + feasible: Callable[[Point], bool] = lambda point: True, + max_iterations: int = 12, max_line_search: int = 16 + ) -> ConservativeStep: + """One declared BE step, with finite delta_Q; never adapt h or method.""" + if not np.isfinite(h) or h <= 0: + raise ContractError("nonpositive_step") + if inputs is None: + inputs = left.inputs + right, increment = coordinates.advance(left, np.zeros_like(left.y), left.time + h, inputs) + searches = 0 + for iteration in range(max_iterations + 1): + if not feasible(right): + raise ContractError("infeasible_be_candidate") + residual = system.conservative_residual(left, right, increment) + norm = float(np.max(np.abs(residual), initial=0)) + if norm <= tolerance: + return ConservativeStep(left, right, increment, frozen_array(residual), iteration, searches) + if iteration == max_iterations: + raise ContractError("be_iteration_budget_exhausted") + step, _ = rank_aware_solve(system.conservative_jacobian(left, right), -residual) + for slot in range(max_line_search): + searches += 1 + trial, trial_inc = coordinates.advance( + left, right.y - left.y + 2.0 ** (-slot) * step, left.time + h, inputs) + if feasible(trial): + trial_r = system.conservative_residual(left, trial, trial_inc) + if np.max(np.abs(trial_r), initial=0) < norm: + right, increment = trial, trial_inc + break + else: + raise ContractError("be_line_search_budget_exhausted") + raise AssertionError("unreachable") + + +@dataclass(frozen=True) +class NativeObservation: + point: Point + derivative: Vector + residual: Vector + status: int + + +@dataclass(frozen=True) +class IDAProbeResult: + observations: tuple[NativeObservation, ...] + jacobian_calls: int + residual_calls: int + completed: bool + failure_reason: str | None + options: dict + + +def ida_diffusion_probe(probe: DiffusionProbe, initial: ArrayLike, end_time: float, *, + max_step: float, max_order: int, rtol: float, atol: float, + accepted_step_budget: int = 100000) -> IDAProbeResult: + """Use actual scikit-SUNDAE sparse/onestep capabilities, no private shim. + + Returned records are native solver observations awaiting independent physical + and trajectory gates, not automatically qualified AcceptedStep objects. + Failed/invalid native payloads are never published as an accepted endpoint. + """ + import sksundae as sun + from scipy.sparse import csc_matrix + + system, coordinates = probe.system, probe.coordinates + start = coordinates.point(initial) + first, terms = system.evaluate(start) + yp, _ = rank_aware_solve(first.y, terms.rate) + initial_residual = system.residual(start, yp, np.empty(0)) + if np.max(np.abs(initial_residual), initial=0) > 1e-14: + raise ContractError("inconsistent_ida_initial_state") + observations = [NativeObservation(start, yp, frozen_array(initial_residual), 0)] + sparsity = csc_matrix((first.y != 0) | (terms.Ry != 0)) + rows, columns = sparsity.indices, np.repeat(np.arange(start.y.size), np.diff(sparsity.indptr)) + counts = {"jac": 0, "res": 0} + + def residual(t, y, ydot, output): + counts["res"] += 1 + output[:] = system.residual(coordinates.point(y, t), ydot, np.empty(0)) + + def jacobian(t, y, ydot, residual_value, cj, values): + counts["jac"] += 1 + matrix = system.linearize(coordinates.point(y, t), ydot, np.empty(0)).ida_matrix(cj) + values[:] = matrix[rows, columns] + + options = {"linsolver": "sparse", "nthreads": 1, "max_step": max_step, + "max_order": max_order, "rtol": rtol, "atol": [atol] * start.y.size} + solver = sun.ida.IDA(residual, jacfn=jacobian, sparsity=sparsity, **options) + result = solver.init_step(start.time, start.y.copy(), yp.copy()) + failure = None + if not result.success: + failure = "ida_initialization_failed" + else: + for _ in range(accepted_step_budget): + # The actual wrapper clears tstop after each call. + result = solver.step(end_time, method="onestep", tstop=end_time) + if not result.success: + failure = "ida_native_step_failed" + break + t = float(result.t) + if (not np.isfinite(t) or t <= observations[-1].point.time or t > end_time + or not np.isfinite(result.y).all() or not np.isfinite(result.yp).all()): + failure = "invalid_native_payload" + break + point = coordinates.point(result.y, t) + if np.any(point.y < 0): + failure = "native_physical_population_negative" + break + derivative = frozen_array(result.yp) + observed_residual = system.residual(point, derivative, np.empty(0)) + observations.append(NativeObservation(point, derivative, + frozen_array(observed_residual), int(result.status))) + if t == end_time: + break + else: + failure = "accepted_step_budget_exhausted" + return IDAProbeResult(tuple(observations), counts["jac"], counts["res"], + failure is None and observations[-1].point.time == end_time, + failure, options) diff --git a/scripts/benchmarks/t1_gate.py b/scripts/benchmarks/t1_gate.py new file mode 100644 index 00000000..01836cf4 --- /dev/null +++ b/scripts/benchmarks/t1_gate.py @@ -0,0 +1,1312 @@ +"""T1 V2/V3 algebra over sealed, source-bound observation evidence. + +This module does not integrate a model or admit a run. The ordinary observer +provides signed charge/flux enclosures; physical |F| bounds and fixed-window +pieces are additional evidence, never inferred from raw/tangent defect L1. +A valid lower bound can prove pass without an upper bound; otherwise missing +scale/piece/reference evidence stays unknown. Evaluation requires its own +reviewed-source admission, separate from the producer's frozen definitions. +""" +from __future__ import annotations + +import argparse +from dataclasses import dataclass +from fractions import Fraction +import hashlib +import json +import math +from pathlib import Path +import resource +import sys +import time + + +CHANNELS = ("device", "left_metal", "right_metal") +COMPONENTS = ("saved_charge_evaluation", "physical_integrand_and_quadrature", "input_representation", "clock_strip") +SPEC_SCHEMA = "solarlab.g2-route.t1-gatespec.v2" +SPEC_SCHEMA_V3 = "solarlab.g2-route.t1-gatespec.v3" +EVIDENCE_SCHEMA = "solarlab.t1-candidate-evidence.v1" +MAX_BITS = 131072 +INTEGER_POLICY = {"schema": "solarlab.native-integer-io.v1", "codec": "decimal-with-bounded-hex-v1", + "decimal_digits": 4300, "max_integer_bits": MAX_BITS} + + +class InvalidT1Data(ValueError): + pass + + +def require(value, reason): + if not value: + raise InvalidT1Data(reason) + + +def q(value): + """Exact rational input; decimal binary64 approximations are not operands.""" + if type(value) is Fraction: + result = value + elif type(value) is int: + result = Fraction(value) + elif type(value) in (list, tuple) and len(value) == 2: + require(all(type(v) is int for v in value) and value[1] > 0, "rational_integer_pair") + result = Fraction(*value) + elif type(value) is str: + require(len(value) <= 4300, "rational_text_bound") + try: + result = Fraction(value) + except (ValueError, ZeroDivisionError) as error: + raise InvalidT1Data("rational_text") from error + else: + raise InvalidT1Data("rational_type_not_float_or_bool") + require(max(abs(result.numerator).bit_length(), result.denominator.bit_length()) <= MAX_BITS, "rational_bit_bound") + return result + + +def pair(value): + value = q(value) + return [value.numerator, value.denominator] + + +def digest(value): + from scripts.benchmarks.native_history import integer_json_dumps + return hashlib.sha256(integer_json_dumps(value, INTEGER_POLICY, sort_keys=True, + separators=(",", ":"), allow_nan=False).encode()).hexdigest() + + +def enclosure(value): + require(type(value) is dict and set(value) == {"center", "absolute_error_bound"}, "enclosure_fields") + center, radius = q(value["center"]), q(value["absolute_error_bound"]) + require(radius >= 0, "negative_radius") + return center, radius + + +def abs_bounds(center, radius): + return max(Fraction(0), abs(center)-radius), abs(center)+radius + + +@dataclass(frozen=True) +class CandidateSpec: + sha256: str + Qref: Fraction + epsilon_metal: Fraction = Fraction(1, 1000) + epsilon_device: Fraction = Fraction(1, 1000) + eta: Fraction = Fraction(1, 100) + quadrature_share: Fraction = Fraction(1, 3) + version: int = 2 + + @property + def Q0(self): + return self.Qref / 10**8 + + @classmethod + def from_document(cls, document, sha256): + version = document.get("version") + require(type(version) is int and version in (2,3) + and document.get("schema") == (SPEC_SCHEMA if version == 2 else SPEC_SCHEMA_V3), "candidate_spec_V2_V3") + p = document["parameters"] + expected = {"epsilon_metal": Fraction(1, 1000), "epsilon_device_proposal": Fraction(1, 1000), + "device_signal_floor_fraction": Fraction(1, 100), "quadrature_share": Fraction(1, 3), + "reference_error_share": Fraction(1, 3), "legacy_absolute_fraction": Fraction(1, 10**8), + "resolution_multiplier": Fraction(3)} + require(all(q(p[k]) == v for k, v in expected.items()), "candidate_parameters_changed") + require(all(type(p[k]) is int and p[k] == v for k, v in + (("denominator_partition_max_depth", 8), ("denominator_partition_max_leaves", 256))), + "candidate_partition_parameters_changed") + result = cls(sha256, q(document["physical_context"]["Qref_C_exact"]), version=version) + require(result.Qref > 0 and result.Q0 == q(document["physical_context"]["legacy_absolute_C_exact"]), "input_Q0_binding") + return result + + +def verdict(defect, quadrature, lower, upper, epsilon, share=Fraction(1, 3)): + """Known numerator, lower denominator for pass, upper for definite failure.""" + defect, quadrature, lower = map(q, (defect, quadrature, lower)) + epsilon, share = q(epsilon), q(share) + require(defect >= 0 and quadrature >= 0 and lower >= 0, "nonnegative_gate_operand") + upper = None if upper is None else q(upper) + require((upper is None or upper >= lower) and epsilon > 0 and 0 < share <= 1, "gate_scale_order") + passed = defect <= epsilon*lower and quadrature <= epsilon*lower*share + failed = upper is not None and (defect > epsilon*upper or quadrature > epsilon*upper*share) + return {"status": "passed" if passed else "failed" if failed else "unknown", + "reason": "within_lower_scale" if passed else "certificate_budget_exceeded" if failed else "unknown_scale", + "defect_C": pair(defect), "quadrature_C": pair(quadrature), + "scale_lower_C": pair(lower), "scale_upper_C": None if upper is None else pair(upper), + "defect_margin_lower_C": pair(epsilon*lower-defect), + "quadrature_margin_lower_C": pair(epsilon*lower*share-quadrature)} + + +def operands(row): + """Interpret the six GateSpec operands, with inseparable integral error. + + The current observer reports a combined integrand/quadrature radius, so + this candidate charges all uF to the one-third sub-budget. A smaller + separated quadrature estimate requires a future independently checked + decomposition; it cannot be enabled by a label in the data. + """ + names = ("delta_Q_enclosure_C", "integral_F_enclosure_C", "uncertainty_components_C", "quadrature_component_upper_C") + if any(row.get(k) is None for k in names): + return None + dc, dr = enclosure(row["delta_Q_enclosure_C"]) + fc, fr = enclosure(row["integral_F_enclosure_C"]) + components = row["uncertainty_components_C"] + require(type(components) is dict and set(components) == set(COMPONENTS), "four_uncertainty_components") + if any(components[k] is None for k in COMPONENTS): + return None + values = {k: q(components[k]) for k in COMPONENTS} + require(all(v >= 0 for v in values.values()), "negative_uncertainty") + require(values[COMPONENTS[0]] >= dr and values[COMPONENTS[1]] >= fr, "enclosure_error_not_covered") + quad = q(row["quadrature_component_upper_C"]) + require(quad == values[COMPONENTS[1]], "inseparable_quadrature_must_charge_combined_uF") + lower = row.get("integral_abs_F_lower_C") + upper = row.get("integral_abs_F_upper_C") + # The signed-integral lower bound also covers the additional input/clock + # uncertainty. Q's own enclosure and Q0 remain valid even if this is zero. + signed_lower = max(Fraction(0), abs(fc)-values[COMPONENTS[1]]-values[COMPONENTS[2]]-values[COMPONENTS[3]]) + if lower is not None: + lower = q(lower) + require(lower >= 0, "negative_L1_lower") + lower = signed_lower if lower is None else max(lower, signed_lower) + upper = None if upper is None else q(upper) + require(lower >= 0 and (upper is None or upper >= lower), "physical_flux_L1_bounds") + if row.get("integral_abs_F_evidence") is not None: + _check_L1_proof(row) + return {"dc": dc, "dr": dr, "fc": fc, "fr": fr, "b": dc-fc, + "u": sum(values.values(), Fraction(0)), "components": values, "quad": quad, + "qabs": abs_bounds(dc, dr), "l1_lower": lower, "l1_upper": upper} + + +def _check_L1_proof(row): + """Check the retained sign/range algebra, never promote an upper to lower.""" + from scripts.benchmarks.native_observation import restore_observation_record + proof = restore_observation_record(row["integral_abs_F_evidence"]) + require(proof["schema"] == "solarlab.physical-flux-L1.v1", "L1_proof_schema") + cells = proof["cells"] + require(type(proof["leaves"]) is int and proof["leaves"] == len(cells) and 1 <= len(cells) <= 256 + and type(proof["depth"]) is int and type(proof["max_depth"]) is int + and 0 <= proof["depth"] <= proof["max_depth"] <= 8 + and type(proof["max_leaves"]) is int and len(cells) <= proof["max_leaves"] <= 256, "L1_proof_partition") + root_left,root_right = q(cells[0]["left"]),q(cells[-1]["right"]) + lower,upper,previous = Fraction(0),Fraction(0),None + for cell in cells: + a,b = q(cell["left"]),q(cell["right"]) + require(a < b and (previous is None or a == previous) and type(cell["depth"]) is int + and 0 <= cell["depth"] <= proof["depth"], "L1_proof_cell_cover") + require(b-a == (root_right-root_left)/2**cell["depth"] and ((a-root_left)/(b-a)).denominator == 1, + "L1_proof_dyadic_partition") + previous = b + if cell["value_range"] is None: + lo,hi = Fraction(0),None + require(cell["signed_integral"] is None and cell["sign"] == "unknown", "L1_nonfinite_cell") + else: + rc,rr = enclosure(cell["value_range"]) + range_upper = (b-a)*(abs(rc)+rr) + if cell["signed_integral"] is None: + lo,hi = Fraction(0),range_upper + require(cell["sign"] == "unknown", "L1_missing_signed_integral") + else: + c,r = enclosure(cell["signed_integral"]) + sign = "nonnegative" if rc-rr >= 0 else "nonpositive" if rc+rr <= 0 else "unknown" + require(cell["sign"] == sign, "L1_sign_certificate") + lo = max(Fraction(0),abs(c)-r) + hi = min(range_upper,abs(c)+r) if sign != "unknown" else range_upper + require(q(cell["lower"]) == lo and (cell["upper"] is None if hi is None else q(cell["upper"]) == hi), "L1_cell_bounds") + lower += lo;upper = None if upper is None or hi is None else upper+hi + require(q(proof["lower"]) == lower and (proof["upper"] is None if upper is None else q(proof["upper"]) == upper), "L1_sum_bounds") + extra = q(row["scale_input_clock_widening_C"]) + components = row["uncertainty_components_C"] + required = q(components["input_representation"])+q(components["clock_strip"]) + require(extra >= required, "L1_input_clock_coverage") + require(extra >= 0 and q(row["integral_abs_F_lower_C"]) == max(Fraction(0),lower-extra) + and (row["integral_abs_F_upper_C"] is None if upper is None else q(row["integral_abs_F_upper_C"]) == upper+extra), + "L1_input_clock_widening") + scope = row["L1_scope"] + h,tn = q(scope["hused"]),q(scope["native_tn"]) + require(h > 0 and q(cells[0]["left"])*h+tn == q(scope["t_left"]) + and q(cells[-1]["right"])*h+tn == q(scope["t_right"]), "L1_proof_physical_clock") + + +def _channels_v3(row): + a,b = _clock(row) + from scripts.benchmarks.native_observation import restore_observation_record + native_clock = restore_observation_record(row["native_clock"]) + h,tn,previous = (q(native_clock[k]) for k in ("hused","tn","predecessor")) + require(h > 0 and previous <= a < b <= tn,"V3_native_clock_coverage") + for channel in row["channels"].values(): + proof = channel.get("integral_abs_F_evidence") + require(proof is not None or channel.get("integral_abs_F_lower_C") is None + and channel.get("integral_abs_F_upper_C") is None, "V3_unproved_L1_scale") + if proof is not None: + scope = channel["L1_scope"] + require(q(scope["t_left"]) == a and q(scope["t_right"]) == b + and q(scope["hused"]) == h and q(scope["native_tn"]) == tn + and scope["path_identity"] == row["path_identity"], "V3_L1_interval_scope") + ownership = channel.get("coverage_ownership") + require(type(ownership) is dict and set(ownership) == set(COMPONENTS)|{"Qquad"} + and all(type(x) is str and x for x in ownership.values()), "V3_uncertainty_ownership") + + +class ChargeLedger: + """One nonresetting positive debt and one floor, in exact C units.""" + + def __init__(self): + self.count = 0 + self.complete = True + self.dc = self.dr = self.b = self.u = self.D = self.quad = Fraction(0) + self.q_lower = self.q_upper = self.f_lower = Fraction(0) + self.f_upper = Fraction(0) + self.old_scale_lower = self.old_scale_upper = Fraction(0) + + def append(self, value, floor): + self.count += 1 + if value is None: + self.complete = False + return + self.dc += value["dc"]; self.dr += value["dr"] + self.b += value["b"]; self.u += value["u"] + self.D += abs(value["b"])+value["u"]; self.quad += value["quad"] + self.q_lower += value["qabs"][0]; self.q_upper += value["qabs"][1] + self.f_lower += value["l1_lower"] + self.f_upper = (None if self.f_upper is None or value["l1_upper"] is None else self.f_upper+value["l1_upper"]) + self.old_scale_lower += max(value["qabs"][0], value["l1_lower"], floor) + self.old_scale_upper = (None if self.old_scale_upper is None or value["l1_upper"] is None else + self.old_scale_upper+max(value["qabs"][1], value["l1_upper"], floor)) + for number in (self.dc, self.dr, self.b, self.u, self.D, self.quad, self.q_lower, self.q_upper, + self.f_lower, self.f_upper, self.old_scale_lower, self.old_scale_upper): + if number is not None: + q(number) # bounded exact arithmetic, never round away a low word + + def result(self, *, floor, epsilon, share=Fraction(1, 3), cap=None, window=False, window_charge=None): + if not self.complete or self.count == 0: + return {"status": "unknown", "reason": "unknown_uncertainty_or_missing_records"} + lo, hi = (abs_bounds(*enclosure(window_charge)) if window_charge is not None else + abs_bounds(self.dc, self.dr) if window else (self.q_lower, self.q_upper)) + lower = max(lo, self.f_lower, floor) + upper = None if self.f_upper is None else max(hi, self.f_upper, floor) + if cap is not None: + lower = min(lower, cap) + upper = cap if upper is None else min(upper, cap) + result = verdict(self.D, self.quad, lower, upper, epsilon, share) + result.update(signed_balance_C=pair(self.b), uncertainty_C=pair(self.u), terms=self.count, + floor_occurrences=1, scale_cap_C=None if cap is None else pair(cap), + legacy_repeated_floor_scale_lower_C=pair(self.old_scale_lower), + legacy_repeated_floor_scale_upper_C=None if self.old_scale_upper is None else pair(self.old_scale_upper)) + return result + + +def assess_interval(row, *, floor, epsilon, share=Fraction(1, 3)): + value = operands(row) + ledger = ChargeLedger(); ledger.append(value, q(floor)) + return ledger.result(floor=q(floor), epsilon=q(epsilon), share=q(share)) + + +def observed_contraction(coarse_main, main_strict): + """A finite-level diagnostic; no tail/forward-error qualification.""" + cmlo, cmhi = map(q, coarse_main); mslo, mshi = map(q, main_strict) + require(0 <= cmlo <= cmhi and 0 <= mslo <= mshi, "difference_bounds") + state = ("exact_zero" if cmhi == mshi == 0 else "certified_observed_contraction" if cmlo > 0 and mshi <= cmlo/2 + else "resolved_no_contraction" if mslo > cmhi/2 else "unknown_contraction") + return {"status": state, "forward_error_qualified": False, "heuristic_two_dMS": pair(2*mshi)} + + +def matched_growth(coarse_b, coarse_u, finer_b, finer_u): + """Signed matched-window trend, separate from the positive prefix debt.""" + if any(value is None for value in (coarse_b, coarse_u, finer_b, finer_u)): + return {"status": "unknown", "reason": "unknown_matched_window_uncertainty"} + a, ua, b, ub = map(q, (coarse_b, coarse_u, finer_b, finer_u)) + require(ua >= 0 and ub >= 0, "matched_window_uncertainty") + growth = max(Fraction(0), abs(b)-abs(a)) + return {"status": "passed" if growth <= ua+ub else "failed", "resolved_growth_C": pair(growth), + "allowance_C": pair(ua+ub), "convergence_order_proved": False} + + +def resolution_conditions(Qsig, E_q, E_f, spec): + """Numerical conditions only; evidence eligibility is a separate check.""" + signal, eq, ef = map(q, (Qsig, E_q, E_f)) + require(signal >= 0 and eq >= 0 and ef >= 0, "reference_nonnegative") + error = max(eq, ef) + return signal > 0 and signal > 3*error and error <= spec.epsilon_device*spec.eta*signal/3 + + +def _pin(path, expected, *, limit=8*1024**2): + path = Path(path) + require(path.is_file() and path.stat().st_size <= limit, "metadata_file_bound") + raw = path.read_bytes() + require(len(raw) == expected["bytes"] and hashlib.sha256(raw).hexdigest() == expected["sha256"], "file_identity") + from scripts.benchmarks.native_history import decode_integer_values + return decode_integer_values(json.loads(raw),INTEGER_POLICY) + + +def physical_problem_identity(request): + """Content identity shared by profiles, retaining every initial word/rate.""" + packet, frame = request["numeric_packet"], request["initial_segment_frame"] + mapping = request["voltage_lift_map"] + return digest({"definition": packet["definition"], "x_m": packet["x_m"], + "physical_reference_fields": packet["physical_reference_fields"], "segments": request["segments"], + "initial_state_words": frame["physical_handoff_words_hex"], + "initial_rate_words": frame["physical_rate_handoff_words_hex"], + "lift_hex": mapping["lift_hex"], "reference_inputs_hex": mapping["reference_inputs_hex"]}) + + +def reference_status(reference, *, spec, labels, problem_identity): + """Bind independently reviewed q/f forward-error evidence, never a flag. + + This gate checks the pinned proof/review and norm coverage contract. The + mathematical validity of that independently reviewed proof remains an + explicit external prerequisite, not something inferred from its label. + """ + if spec.version == 3: + return reference_status_v3(reference,spec=spec,labels=labels,problem_identity=problem_identity) + unknown = {"status": "unknown", "reason": "unknown_reference_error", "Qsig_C": None} + if not reference: + return unknown + try: + require(reference["case_id"] == "B_N8_Strict_Full" and reference["problem_identity"] == problem_identity, + "reference_problem") + require(reference["unit"] == "C" and digest(reference["labels"]) == digest(labels) and len(labels) == 131, "reference_coverage") + kind = reference["proof_kind"] + require(kind in {"analytic_original_problem", "validated_IVP_enclosure", "defect_stability_bound", "independently_bounded_reference"}, + "reference_method_not_forward_bound") + proof = _pin(reference["proof"]["path"], reference["proof"]) + review = _pin(reference["independent_review"]["path"], reference["independent_review"]) + require(proof["problem_identity"] == problem_identity and proof["kind"] == kind + and proof["unit"] == "C" and proof["labels_sha256"] == digest(labels), "reference_proof_binding") + required = {"evaluation", "initial_and_algebraic", "input_clock_parameter", "trajectory_nonlinear", "stability_reconstruction"} + require(set(proof["error_coverage"]) == required, "reference_remainder_coverage") + evidence_digest = digest({k: v for k, v in reference.items() if k != "independent_review"}) + require(review.get("accepted") is True and review.get("independent_forward_error_review") is True + and review["evidence_sha256"] == evidence_digest and review["proof_sha256"] == reference["proof"]["sha256"] + and review["gate_spec_sha256"] == spec.sha256, "reference_independent_review_binding") + rows = reference["responses"] + require(len(rows) == 131 and all(digest(row["tag"]) == digest(tag) for row, tag in zip(rows, labels, strict=True)), "reference_response_tags") + require(all(enclosure(rows[0][k]) == (0, 0) for k in ("q_C", "f_C")), "reference_initial_zero") + for row in rows: + require(q(row["E_q_C"]) >= 0 and q(row["E_f_C"]) >= 0, "reference_error_bounds") + signal = min(max(abs_bounds(*enclosure(row[k]))[0] for row in rows) for k in ("q_C", "f_C")) + eq, ef = (max(q(row[k]) for row in rows) for k in ("E_q_C", "E_f_C")) + require(proof["bound_table_sha256"] == digest(rows), "reference_bound_table") + if not resolution_conditions(signal, eq, ef, spec): + return {"status": "unknown", "reason": "unresolved_reference_signal", "Qsig_C": pair(signal), + "E_q_C": pair(eq), "E_f_C": pair(ef)} + return {"status": "passed", "reason": "independent_reference_contract_and_resolution", + "Qsig_C": pair(signal), "E_q_C": pair(eq), "E_f_C": pair(ef), + "external_proof_review": reference["independent_review"], "proof_recomputed_by_this_gate": False, + "independent_proof_validity_is_external_prerequisite": True} + except (KeyError, TypeError, ValueError, OSError): + return unknown + + +def _acceptance_pin(reference, *, decode=True): + """A5 FilePin: positive byte count and complete bytes, not a future path.""" + require(type(reference) is dict and {"path", "sha256", "bytes"} <= set(reference) + and type(reference["path"]) is str and reference["path"] + and Path(reference["path"]).is_absolute() + and type(reference["bytes"]) is int and reference["bytes"] > 0 + and type(reference["sha256"]) is str and len(reference["sha256"]) == 64 + and all(c in "0123456789abcdef" for c in reference["sha256"]), "acceptance_file_pin") + if decode: + require(Path(reference["path"]).suffix == ".json", "acceptance_JSON_metadata_required") + value = _pin(reference["path"], reference) + require(type(value) is dict, "acceptance_JSON_root") + return value + path = Path(reference["path"]) + require(path.is_file() and path.stat().st_size <= 8*1024**2, "acceptance_file_bound") + raw = path.read_bytes() + require(len(raw) == reference["bytes"] and hashlib.sha256(raw).hexdigest() == reference["sha256"], + "acceptance_file_identity") + return raw + + +def _acceptance_pair(value): + require(type(value) is list and len(value) == 2 and all(type(x) is int for x in value) + and value[1] > 0, "acceptance_rational_pair") + result = q(value) + require(result >= 0, "acceptance_nonnegative_error") + return result + + +def _acceptance_quantity(key): + require(type(key) is str, "acceptance_quantity_key") + if key in {"q", "f"}: + return key, "C" + if key in {"port/left", "port/right"}: + return "port_" + key.split("/")[1], "A" + parts = key.split("/") + units = {"phi_V": "V", "n_m3": "m^-3", "p_m3": "m^-3", "c_m3": "m^-3", "f": "1"} + require(len(parts) == 3 and parts[0] == "state" and parts[1] in units + and parts[2] in {str(i) for i in range(9)}, "acceptance_quantity_key") + return parts[1], units[parts[1]] + + +def _acceptance_header(review, schema, required): + require(type(review) is dict and required <= set(review), "acceptance_required_fields") + require(review["schema"] == schema and type(review["version"]) is int and review["version"] == 1 + and review["scientific_pass"] is False and review["execution_authorized"] is False, + "acceptance_version_or_scope_flags") + require(review["claim_kind"] == "conditional_uncertainty_estimate", "acceptance_claim_upgrade") + reviewer = review["reviewer"] + require(type(reviewer) is dict and {"id", "role", "evidence_author", "independent", "review_record"} <= set(reviewer) + and all(type(reviewer[key]) is str and reviewer[key].strip() for key in ("id", "role", "evidence_author")) + and reviewer["role"] == "independent_science" and reviewer["independent"] is True + and reviewer["id"] != reviewer["evidence_author"], "acceptance_independent_reviewer") + _acceptance_pin(reviewer["review_record"], decode=False) + keys = review["accepted_quantities"] + require(type(keys) is list and all(type(key) is str for key in keys) + and keys == sorted(set(keys)) and len(keys) <= 49 + and type(review["quantity_bindings"]) is dict and set(review["quantity_bindings"]) == set(keys), + "acceptance_exact_quantity_bindings") + for key in keys: + _acceptance_quantity(key) + require(type(review["verdict"]) is str and review["verdict"] in {"accepted", "rejected", "unknown"} + and (bool(keys) if review["verdict"] == "accepted" else not keys), "acceptance_verdict_quantities") + conditions, seen = review["conditions"], set() + require(type(conditions) is list, "acceptance_conditions") + for condition in conditions: + require(type(condition) is dict and {"id", "statement", "status", "evidence"} <= set(condition) + and type(condition["id"]) is str and condition["id"].strip() and condition["id"] not in seen + and type(condition["statement"]) is str and condition["statement"].strip() + and type(condition["status"]) is str + and condition["status"] in {"satisfied", "supported_under_U1", "open", "violated", "not_applicable"} + and type(condition["evidence"]) is list, "acceptance_condition_fields") + seen.add(condition["id"]) + for evidence in condition["evidence"]: + _acceptance_pin(evidence, decode=False) + if review["verdict"] == "accepted": + require(condition["status"] not in {"open", "violated"}, "acceptance_condition_unresolved:" + condition["id"]) + require(review["verdict"] == "accepted", "acceptance_verdict_" + review["verdict"]) + return keys + + +def _acceptance_history(binding, *, case_id, labels, expected=None): + """A5 full HistoryBinding, using the existing method-specific receipts.""" + fields = {"case_id", "run_id", "source_identity", "input_sha256", "run_result", "history_manifest", + "independent_readback", "logical_sha256", "logical_bytes", "records", "encoded_bytes", + "closed", "container_complete", "labels_sha256"} + require(type(binding) is dict and fields <= set(binding) + and binding["case_id"] == case_id and binding["closed"] is True and binding["container_complete"] is True + and all(type(binding[key]) is str and binding[key] for key in ("run_id", "source_identity", "input_sha256")) + and all(type(binding[key]) is int and binding[key] > 0 for key in ("logical_bytes", "encoded_bytes", "records")) + and binding["labels_sha256"] == digest(labels), "acceptance_history_fields") + for key in ("logical_sha256", "input_sha256", "labels_sha256"): + require(type(binding[key]) is str and len(binding[key]) == 64 + and all(c in "0123456789abcdef" for c in binding[key]), "acceptance_history_digest") + if expected is not None: + require(all(binding.get(key) == value for key, value in expected.items()), "acceptance_history_source_identity") + result = _acceptance_pin(binding["run_result"]) + descriptor = _acceptance_pin(binding["history_manifest"]) + reader = _acceptance_pin(binding["independent_readback"]) + history = descriptor.get("observed_history", descriptor.get("history", descriptor)) + require(type(history) is dict and history.get("closed") is True and history.get("writer_error") is None, + "acceptance_history_closed") + names = ("logical_sha256", "logical_bytes", "encoded_bytes", "records") + require(all(type(history.get(key)) is type(binding[key]) and history[key] == binding[key] for key in names), + "acceptance_history_descriptor") + be = case_id.startswith("BE_") + if be: + require(reader.get("schema") == "solarlab.g2-reference-be-history.v1" + and result.get("schema") == "solarlab.g2-reference-be-history.v1" + and reader.get("method") == result.get("method") == "conservative-backward-euler" + and reader.get("structural_pass") is True and reader.get("numerical_complete") is True + and reader.get("case_id") == case_id and type(reader.get("tagged_observations")) is int + and reader["tagged_observations"] == len(labels) + and digest([row["tag"] for row in reader["observations"]]) == digest(labels) + and result.get("numerical_complete") is True and result.get("status") == "completed", + "acceptance_BE_semantic_readback") + actual = reader["observed_history"] + identity = {key: result[key] for key in ("case_id", "input_sha256", "method_contract_sha256", "plan_sha256", + "source_commit", "environment_identity", "schedule_identity", "source_identity", + "initial_point_identity", "controls_sha256")} + require(all(type(value) is str and value for value in identity.values()) and digest(identity) == binding["run_id"] + and identity.get("case_id") == case_id and identity.get("source_identity") == binding["source_identity"] + and identity.get("input_sha256") == binding["input_sha256"], "acceptance_BE_run_identity") + else: + require(reader.get("schema") == "solarlab.native-history-verification.v1" + and reader.get("verified") is True and reader.get("complete_protocol") is True + and reader.get("complete_readback") is True and reader.get("case_id") == case_id + and reader.get("request_sha256") == binding["input_sha256"] + and result.get("request_sha256") == binding["input_sha256"] + and result.get("status") == "completed_bounded_voltage_lift_native_pilot" + and result.get("complete_protocol") is True, "acceptance_IDA_semantic_readback") + actual = reader["history"] + require(actual.get("eof_seen") is True and actual.get("crc_verified") is True + and actual.get("container_complete") is True and type(actual.get("partial_tail_bytes")) is int + and actual["partial_tail_bytes"] == 0, + "acceptance_IDA_container") + operations = [result.get(name, {}).get("admission_binding") for name in + ("execution_wall_policy", "execution_output_policy")] + require(any(type(item) is dict and item.get("operation_id") == binding["run_id"] for item in operations) + or result.get("run_id") == binding["run_id"], "acceptance_IDA_run_identity") + require(type(actual) is dict and all(type(actual.get(key)) is type(binding[key]) + and actual[key] == binding[key] for key in names), "acceptance_history_readback") + sealed = result["observed_history" if be else "history"] + require(type(sealed) is dict and sealed.get("closed") is True and sealed.get("writer_error") is None + and all(type(sealed.get(key)) is type(binding[key]) and sealed[key] == binding[key] for key in names), + "acceptance_history_run_result") + for key in ("container_sha256", "encoded_sha256", "encoding"): + present = [doc[key] for doc in (binding, history, actual, sealed) if key in doc] + require(not present or all(value == present[0] for value in present), "acceptance_container_identity") + return binding + + +def _acceptance_quantity_binding(binding, record, record_pin, *, key, labels, strict=False): + name, unit = _acceptance_quantity(key) + require(type(binding) is dict and {"reviewed_record", "coverage", "claim_kind", "value", "radius_accounting"} <= set(binding) + and digest(binding["reviewed_record"]) == digest(record_pin) + and binding["claim_kind"] == record["claim_kind"] == "conditional_uncertainty_estimate", + "acceptance_quantity_binding") + actual = _acceptance_pin(binding["reviewed_record"]) + require(digest(actual) == digest(record), "acceptance_reviewed_quantity_bytes") + coverage = binding["coverage"] + require(type(coverage) is dict and {"kind", "records", "labels_sha256", "unit", "norm"} <= set(coverage) + and coverage["kind"] == "full_protocol" and type(coverage["records"]) is int + and coverage["records"] == len(labels) == 131 and coverage["labels_sha256"] == digest(labels) + and coverage["unit"] == unit and coverage["norm"] == record["norm_and_coverage"]["norm"] + and record["quantity_and_unit"] == {"quantity": name, "unit": unit}, "acceptance_quantity_coverage") + require(_acceptance_pair(binding["value"]) == _acceptance_pair(record["conditional_estimate_value"]), + "acceptance_quantity_value") + ownership = binding["radius_accounting"] + require(type(ownership) is dict and {"r_R_included_in_E_R", "r_R_source", "tagwise_ownership_record"} <= set(ownership) + and ownership["r_R_included_in_E_R"] is True + and ownership["r_R_source"] == "per_record//computed_value/radius", + "acceptance_radius_accounting") + proof = _acceptance_pin(ownership["tagwise_ownership_record"]) + require(proof.get("quantity_key") == key and digest(proof.get("per_record")) == digest(record["per_record"]), + "acceptance_tagwise_ownership_record") + require(digest([row["tag"] for row in record["per_record"]]) == digest(labels), "acceptance_tagwise_labels") + if strict: + require(ownership.get("r_S_included_in_E_S") is True, "acceptance_Strict_radius_ownership") + return ownership + + +def _accepted_strict_E2(reference, *, spec, labels, problem_identity): + require(type(reference) is dict and reference.get("schema") == "solarlab.g2-strict-reference.v1", + "Strict_reference_schema") + e2 = _acceptance_pin(reference["e2_file"]) + review = _acceptance_pin(reference["independent_review"]) + require(e2.get("schema") == "solarlab.g2-E2-transfer.v1" + and e2.get("target_problem_identity") == problem_identity + and digest(e2.get("labels")) == digest(labels) and len(labels) == 131 + and e2["gate_spec"]["sha256"] == spec.sha256, "Strict_E2_scope") + required = {"schema", "version", "reviewed_e2_file", "inputs", "accepted_quantities", "quantity_bindings", + "claim_kind", "reviewer", "verdict", "conditions", "target_problem_identity", "same_problem_evidence", + "scope", "scientific_pass", "execution_authorized"} + accepted = _acceptance_header(review, "solarlab.g2-strict-reference-acceptance.v1", required) + require(digest(review["reviewed_e2_file"]) == digest(reference["e2_file"]) + and review["target_problem_identity"] == problem_identity + and review["scope"] == {"route":"G2-R", "reference_case_id":"B_N8_Strict_Full", "coverage":"full131, both event sides"} + and type(e2.get("evidence_author")) is str and e2["evidence_author"] + and review["reviewer"]["evidence_author"] == e2["evidence_author"], "Strict_E2_review") + inputs = e2["inputs"] + require(type(inputs) is dict and set(inputs) == {"E_R_acceptance", "IDA_Strict_sealed_history", "BE_reference_history"} + and digest(review["inputs"]) == digest(inputs), "Strict_E2_input_binding") + identity = e2["strict_source_and_run_identity"] + require(type(identity) is dict and identity.get("case_id") == "B_N8_Strict_Full" + and all(type(identity.get(k)) is str and identity[k] for k in ("source_id", "request_sha256", "run_id")), + "Strict_E2_execution_identity") + strict_history = _acceptance_history(inputs["IDA_Strict_sealed_history"], case_id="B_N8_Strict_Full", labels=labels, + expected={"source_identity":identity["source_id"], "input_sha256":identity["request_sha256"], "run_id":identity["run_id"]}) + er_review = _acceptance_pin(inputs["E_R_acceptance"]) + from scripts.benchmarks.g2_compare import read_error_records + er = read_error_records(er_review["reviewed_error_file"], inputs["E_R_acceptance"], + method_pin=e2["method_contract"], problem_identity=e2["BE_error_problem_identity"], labels=labels) + require(er["status"] == "accepted_for_E2", "Strict_E2_E_R_acceptance:" + str(er.get("reason"))) + require(digest(inputs["BE_reference_history"]) == digest(er["reference_history"]), "Strict_E2_same_L2_history") + proof = _acceptance_pin(review["same_problem_evidence"]) + require(proof.get("target_problem_identity") == problem_identity + and proof.get("reference_error_problem_identity") == e2["BE_error_problem_identity"], "Strict_E2_problem_ID_correspondence") + strict_request = _acceptance_pin(proof["IDA_Strict_input"]) + reference_request = _acceptance_pin(proof["BE_reference_input"]) + require(digest(strict_request) == strict_history["input_sha256"] + and digest(reference_request) == er["reference_history"]["input_sha256"] + and physical_problem_identity(strict_request) == physical_problem_identity(reference_request) == problem_identity, + "Strict_E2_model_mesh_initial_rates_inputs_protocol") + require(all(type(request["numeric_packet"].get("intervals")) is int + and type(request["numeric_packet"].get("nodes")) is int + and request["numeric_packet"]["intervals"] == 8 and request["numeric_packet"]["nodes"] == 9 + and len(request["numeric_packet"]["x_m"]) == 9 + and all(len(request["initial_segment_frame"][key]) == 12 + and all(len(row) == 45 for row in request["initial_segment_frame"][key]) + for key in ("physical_handoff_words_hex", "physical_rate_handoff_words_hex")) + for request in (strict_request, reference_request)), "Strict_E2_N8_initial_word_shape") + from scripts.benchmarks.g2_route_bindings import sample_labels + from scripts.benchmarks.g2_reference_error import target_identity + source = reference_request["voltage_lift_map"]["physical_model"] + point = reference_request["initial_preparation"]["point_identity"] + require(source == strict_request["voltage_lift_map"]["physical_model"] == strict_history["source_identity"] + and source == er["reference_history"]["source_identity"] + and point == strict_request["initial_preparation"]["point_identity"] + and target_identity(source, point, reference_request["segments"]) == e2["BE_error_problem_identity"] + and digest(sample_labels(strict_request)) == digest(sample_labels(reference_request)) == digest(labels), + "Strict_E2_source_and_label_correspondence") + require(type(e2.get("quantity_records")) is dict and set(accepted) <= set(e2["quantity_records"]) + and set(accepted) <= set(e2["quantities"]), "Strict_E2_quantity_descriptors") + for key in accepted: + require(key in er["quantities"] and er["quantities"][key]["usable_for_E2"], "Strict_E2_quantity_E_R_not_accepted") + row, source_record = e2["quantities"][key], er["quantities"][key]["record"] + require(digest(row["source_BE_acceptance"]) == digest(inputs["E_R_acceptance"]) + and digest(row["source_BE_error"]) == digest(er["quantities"][key]["pin"]) + and digest(row["strict_source_and_run_identity"]) == digest({k:v for k,v in identity.items() if k != "case_id"}), + "Strict_E2_quantity_source_binding") + _acceptance_quantity_binding(review["quantity_bindings"][key], row, e2["quantity_records"][key], + key=key, labels=labels, strict=True) + name, unit = _acceptance_quantity(key) + strict_E2_values(e2, key, quantity=name, unit=unit) + if key in {"q", "f"}: + responses = e2.get("strict_responses") + require(type(responses) is list and len(responses) == len(labels) + and digest([response["tag"] for response in responses]) == digest(labels), + "Strict_E2_response_coverage") + for index, (measured, supporting) in enumerate(zip(row["per_record"], source_record["per_record"], strict=True)): + require(digest(measured["tag"]) == digest(supporting["tag"]), "Strict_E2_tagwise_support") + cs, rs = enclosure(measured["strict_value"]) + cr, rr = enclosure(measured["reference_value"]) + owned = measured["ownership"] + error = _acceptance_pair(supporting["computation"]["E_R"]) + require(cr == q(supporting["computed_value"]["center"]) + and rr == _acceptance_pair(supporting["computed_value"]["radius"]) + and owned["E_R_includes_r_R"] is True + and _acceptance_pair(owned["E_R"]) == error + and _acceptance_pair(owned["r_R_marginal"]) == 0 + and _acceptance_pair(owned["r_S_in_U_read"]) == rs + and _acceptance_pair(owned["D_center_difference"]) == abs(cs-cr), "Strict_E2_tagwise_radius_ownership") + total = abs(cs-cr)+rs+error+_acceptance_pair(owned["U_map"])+_acceptance_pair(owned["subtraction_arithmetic_bound"]) + require(_acceptance_pair(measured["conditional_estimate_value"]) == total, "Strict_E2_tagwise_arithmetic") + if key in {"q", "f"}: + require(enclosure(responses[index][key + "_C"]) == (cs, rs), "Strict_E2_charge_response_binding") + return {"status":"accepted", "reason":None, "e2":e2, "accepted_quantities":accepted} + + +def accepted_strict_E2(reference, *, spec, labels, problem_identity): + """Invalid or absent v1 authority is a reasoned unknown, never a thrown gate.""" + try: + return _accepted_strict_E2(reference, spec=spec, labels=labels, problem_identity=problem_identity) + except (KeyError, TypeError, ValueError, OSError, AttributeError, OverflowError) as error: + return {"status":"unknown_reference_error", "reason":str(error), "e2":None, "accepted_quantities":[]} + + +def strict_E2_values(e2, key, *, quantity, unit): + """The accepted claim uses its exact per-tag values and exclusive slot.""" + row = e2["quantities"][key] + require(row.get("schema") == "solarlab.g2-reference-evidence.v1" + and row.get("status") == "computed_pending_review" and row.get("quantity_key") == key + and row.get("claim_kind") == "conditional_uncertainty_estimate" + and row.get("rigorous_bound_value") is None and row.get("diagnostic_value") is None + and row.get("target_problem_identity") == e2["target_problem_identity"] + and row.get("quantity_and_unit") == {"quantity":quantity,"unit":unit}, "Strict_E2_quantity") + require(type(row["norm_and_coverage"]["records"]) is int + and row["norm_and_coverage"] == {"norm":"max_abs_tagged131","records":131,"labels_sha256":digest(e2["labels"])} + and digest([r["tag"] for r in row["per_record"]]) == digest(e2["labels"]), "Strict_E2_coverage") + values = [q(r["conditional_estimate_value"]) for r in row["per_record"]] + require(all(v >= 0 for v in values) and all(r.get("status") == "computed_pending_review" for r in row["per_record"]) + and q(row["conditional_estimate_value"]) == max(values) + and digest(row["estimated_or_enclosed_value"]) == digest({"value_field":"conditional_estimate_value", + "value":row["conditional_estimate_value"],"unit":unit}), "Strict_E2_values") + return values + + +def reference_status_v3(reference, *, spec, labels, problem_identity): + """Consume reviewed typed q/f evidence; do not compute BE/E1/E2/E3 here.""" + unknown = {"status":"unknown","reason":"unknown_reference_error","Qsig_C":None,"claim_kind":None} + if not reference: + return unknown + try: + require(type(reference) is dict, "V3_reference_root") + if reference.get("schema") == "solarlab.g2-strict-reference.v1": + acceptance = accepted_strict_E2(reference,spec=spec,labels=labels,problem_identity=problem_identity) + if acceptance["status"] != "accepted": + return {**unknown, "detail":acceptance["reason"]} + e2, accepted = acceptance["e2"], acceptance["accepted_quantities"] + require({"q","f"} <= set(accepted), "Strict_E2_q_f_not_accepted") + rows = e2["strict_responses"] + require(digest([r["tag"] for r in rows]) == digest(labels) + and all(enclosure(rows[0][k]) == (0,0) for k in ("q_C","f_C")), "Strict_E2_response_coverage") + signal = min(max(abs_bounds(*enclosure(row[k]))[0] for row in rows) for k in ("q_C","f_C")) + eq, ef = (max(strict_E2_values(e2,key,quantity=key,unit="C")) for key in ("q","f")) + return {"status":"eligible","reason":"independently_accepted_Strict_E2","Qsig_C":pair(signal), + "E_q_C":pair(eq),"E_f_C":pair(ef),"claim_kind":"conditional_uncertainty_estimate", + "method_contract":e2["method_contract"],"independent_review":reference["independent_review"], + "strict_acceptance_sha256":reference["independent_review"]["sha256"],"e2_file":reference["e2_file"], + "proof_recomputed_by_this_gate":False,"independent_proof_validity_is_external_prerequisite":True} + require(reference["case_id"] == "B_N8_Strict_Full" and reference["problem_identity"] == problem_identity, + "V3_reference_problem") + require(reference["unit"] == "C" and digest(reference["labels"]) == digest(labels) and len(labels) == 131, + "V3_reference_coverage") + rows = reference["responses"] + require(len(rows) == 131 and all(digest(r["tag"]) == digest(t) for r,t in zip(rows,labels,strict=True)), "V3_reference_tags") + require(all(enclosure(rows[0][k]) == (0,0) for k in ("q_C","f_C")), "V3_reference_initial_zero") + signal = min(max(abs_bounds(*enclosure(row[k]))[0] for row in rows) for k in ("q_C","f_C")) + method = _pin(reference["method_contract"]["path"],reference["method_contract"]) + from scripts.benchmarks.g2_route import _frozen_definition,EVIDENCE_METHOD_SCHEMA + _frozen_definition(method,EVIDENCE_METHOD_SCHEMA,1) + review = _pin(reference["independent_review"]["path"],reference["independent_review"]) + source_digest = digest({k:v for k,v in reference.items() if k != "independent_review"}) + require(type(review) is dict and review.get("accepted") is True and review.get("independent_reference_error_review") is True + and review.get("evidence_sha256") == source_digest and review.get("gate_spec_sha256") == spec.sha256 + and review.get("method_contract_sha256") == reference["method_contract"]["sha256"] + and type(review.get("reviewer")) is str and review["reviewer"] + and type(review.get("evidence_author")) is str and review["evidence_author"] + and review["reviewer"] != review["evidence_author"], "V3_reference_review") + required = {"status","evidence_class","claim_kind","target_problem_identity","quantity_and_unit", + "norm_and_coverage","reference_source_and_run_identity","error_components_and_ownership", + "assumptions_and_checked_premises","observed_refinement_and_method_independence","estimated_or_enclosed_value", + "unresolved_common_bias_and_model_error","reviewer_and_decision_authority"} + axes = {"evaluation","initial_and_algebraic","input_clock_parameter","trajectory_nonlinear","stability_reconstruction"} + values,kinds = {},[] + for field,quantity in (("E_q","q"),("E_f","f")): + record = reference["error_evidence"][field] + require(type(record) is dict and required <= set(record) + and record["schema"] == "solarlab.g2-reference-evidence.v1" and record["status"] == "accepted", + "V3_reference_record") + kind = record["claim_kind"] + slots = {"rigorous_bound":"rigorous_bound_value","conditional_uncertainty_estimate":"conditional_estimate_value"} + require(kind in slots, "V3_diagnostic_is_not_reference_error") + slot = slots[kind] + require(all(record.get(other) is None for other in + ({"rigorous_bound_value","conditional_estimate_value","diagnostic_value"}-{slot})), "V3_mixed_claim_slots") + value = q(record[slot]);require(value >= 0,"V3_reference_nonnegative") + expected = {"value_field":slot,"value":record[slot],"unit":"C"} + require(digest(record["estimated_or_enclosed_value"]) == digest(expected) + and record["target_problem_identity"] == problem_identity + and record["quantity_and_unit"] == {"quantity":quantity,"unit":"C"} + and record["norm_and_coverage"] == {"norm":"max_abs_tagged131","records":131,"labels_sha256":digest(labels)}, + "V3_reference_value_norm") + identity = record["reference_source_and_run_identity"] + require(identity["case_id"] == "B_N8_Strict_Full" and all(type(identity.get(k)) is str and identity[k] + for k in ("run_id","source_identity","request_sha256")), "V3_reference_execution_identity") + require(record["assumptions_and_checked_premises"] and record["unresolved_common_bias_and_model_error"] + and record["reviewer_and_decision_authority"], "V3_reference_premises_disclosure") + components = record["error_components_and_ownership"] + require(type(components) is list and components,"V3_reference_components") + covered,seen,total = set(),set(),Fraction(0) + for component in components: + require(type(component["id"]) is str and component["id"] not in seen + and component["claim_kind"] in slots + and (kind != "rigorous_bound" or component["claim_kind"] == "rigorous_bound"), "V3_component_claim") + owned = set(component["covered_axes"]) + require(owned and owned <= axes and not (covered & owned), "V3_component_ownership") + covered |= owned;seen.add(component["id"]) + amount = q(component["value_C"]);require(amount >= 0,"V3_component_value") + total += amount + _pin(component["source"]["path"],component["source"]) + require(covered == axes and value >= total, "V3_reference_remainder_coverage") + support = record["observed_refinement_and_method_independence"] + if kind == "conditional_uncertainty_estimate": + require(set(support) == {"E1","E2","E3"}, "V3_engineering_axes") + for axis,pin in support.items(): + proof = _pin(pin["path"],pin) + require(proof.get("status") == "accepted" and proof.get("axis") == axis + and proof.get("method_contract_sha256") == reference["method_contract"]["sha256"] + and proof.get("target_problem_identity") == problem_identity + and proof.get("checked_premises"), "V3_engineering_premises") + else: + proof = _pin(record["proof"]["path"],record["proof"]) + require(proof.get("kind") in {"analytic_original_problem","validated_IVP_enclosure", + "defect_stability_bound","independently_bounded_reference"} + and proof.get("target_problem_identity") == problem_identity + and proof.get("checked_premises"), "V3_rigorous_proof_support") + values[field]=value;kinds.append(kind) + return {"status":"eligible","reason":"independently_reviewed_typed_reference","Qsig_C":pair(signal), + **{k+"_C":pair(v) for k,v in values.items()}, + "claim_kind":"conditional_uncertainty_estimate" if "conditional_uncertainty_estimate" in kinds else "rigorous_bound", + "method_contract":reference["method_contract"],"independent_review":reference["independent_review"], + "proof_recomputed_by_this_gate":False,"E1_E2_E3_recomputed_by_this_gate":False, + "independent_proof_validity_is_external_prerequisite":True} + except (KeyError,TypeError,ValueError,OSError): + return unknown + + +def device_disposition(*, evaluated, reference, non_signal_complete, gate_failure=None, undecided=False): + """V3 precedence: missing/rejected E can never become a weak signal.""" + if gate_failure is not None: + return {"status":"failed","reason":"applicable_certificate_failure","first_failure":gate_failure} + if not evaluated: + return {"status":"not_evaluated","reason":"no_required_device_data"} + if reference["status"] != "eligible": + return {"status":"unknown_reference_error","reason":"unknown_reference_error"} + signal = q(reference["Qsig_C"]);error = max(q(reference["E_q_C"]),q(reference["E_f_C"])) + if signal > 3*error and error > Fraction(1,1000)*Fraction(1,100)*signal/3: + return {"status":"failed","reason":"reference_share_exceeded","first_failure":{"kind":"reference_share"}} + if not non_signal_complete: + return {"status":"unknown","reason":"incomplete_non_signal_evidence"} + if signal == 0 or signal <= 3*error: + return {"status":"unresolved_signal","reason":"qualified_reference_but_unresolved_signal", + "device_scaled_certification":"not_evaluated"} + if undecided: + return {"status":"unknown","reason":"unknown_scale_or_certificate"} + return {"status":"passed","reason":"all_required_device_certificates_passed"} + + +def lu2_eligibility(result, route_evidence=None): + """Local eligibility plus separately pinned route review and restriction.""" + device = result["channels"]["device"]["status"] + eligible_signal = device == "unresolved_signal" + missing = [] + if not eligible_signal:missing.append("device_status_not_unresolved_signal") + if result["case_id"] != "B_N8_Main_Full":missing.append("not_G2R_Main_target") + if any(result["channels"][k]["status"] != "passed" for k in CHANNELS[1:]):missing.append("metal_certificates") + if not all(w["complete_pieces"] for w in result["fixed_windows"]):missing.append("fixed_window_coverage") + names = {"safety","T2","T3","history_identity","matched_growth","port_reference_comparisons","state_reference_comparisons"} + scope = digest({"case_id":result["case_id"],"run_id":result["run_id"],"channels":result["channels"], + "reference":result["reference"],"fixed_windows":result["fixed_windows"]}) + try: + require(type(route_evidence) is dict and set(route_evidence["checks"]) == names + and all(v == "passed" for v in route_evidence["checks"].values()), "L_U2_other_requirements") + review = _pin(route_evidence["independent_review"]["path"],route_evidence["independent_review"]) + restriction = _pin(route_evidence["commander_restriction"]["path"],route_evidence["commander_restriction"]) + require(review.get("accepted") is True and review.get("independent_route_review") is True + and review.get("result_scope_sha256") == scope and review.get("checks_sha256") == digest(route_evidence["checks"]), + "L_U2_independent_review") + require(restriction.get("accepted") is True and restriction.get("id") == "L-U2" + and restriction.get("scope") == "G2-R" and restriction.get("result_scope_sha256") == scope + and restriction.get("transfer") == "G2-Q" and restriction.get("exit_before") == "G9P" + and restriction.get("user_record"), "L_U2_commander_restriction") + except (KeyError,TypeError,ValueError,OSError) as error: + missing.append(str(error) if isinstance(error,InvalidT1Data) else "route_review_or_restriction_missing") + return {"id":"L-U2","device_signal_eligible":eligible_signal,"eligible":not missing,"missing":missing, + "result_scope_sha256":scope,"route_status":"passed_with_user_accepted_limitation" if not missing else "not_evaluated", + "device_scientific_pass":False,"full_scientific_pass":False,"transfer":"G2-Q","exit_before":"G9P"} + + +def _clock(row): + values = [] + for key in ("t_left_hex", "t_right_hex"): + value = row[key] + require(type(value) is str and math.isfinite(float.fromhex(value)) and float.fromhex(value).hex() == value, "canonical_time") + values.append(Fraction(float.fromhex(value))) + require(values[0] < values[1], "positive_interval") + return tuple(values) + + +def _endpoint_difference(left, right): + a,ra = enclosure(left);b,rb = enclosure(right) + return {"center":pair(b-a),"absolute_error_bound":pair(ra+rb)} + + +def _compatible_enclosures(left, right, reason): + a,ra = enclosure(left);b,rb = enclosure(right) + require(abs(a-b) <= ra+rb,reason) + + +def _piece_v3(piece, parent, window, case_id): + require(piece.get("schema") == "solarlab.g2-window-piece.v1" and piece.get("case_id") == case_id, + "V3_piece_schema_case") + _channels_v3(piece) + require(piece.get("input_digest") == parent.get("input_digest") == parent.get("request_sha256") + and digest(piece.get("owner_generation")) == digest(parent.get("owner_generation")) + and piece["path_identity"] == parent["path_identity"] + and digest(piece["native_clock"]) == digest(parent["native_clock"]), "V3_piece_input_epoch") + require(piece["event_side"] == (window[1]["event_side"] if _clock(piece)[1] == window[3] else "interior"), + "V3_piece_event_side") + require(digest(piece["window_key"]) == digest({"left":window[0],"right":window[1]}) + and piece["piece_id"] == digest({k:v for k,v in piece.items() if k != "piece_id"}), "V3_piece_identity") + for name in CHANNELS: + value = piece["channels"][name] + left,right = value.get("left_charge_enclosure_C"),value.get("right_charge_enclosure_C") + if left is None or right is None: + continue # Explicit missing endpoint evidence becomes unknown coverage. + delta = _endpoint_difference(left,right) + _compatible_enclosures(delta,value["delta_Q_enclosure_C"],"V3_piece_endpoint_delta") + ownership = value.get("coverage_ownership") + require(type(ownership) is dict and set(ownership) == set(COMPONENTS)|{"Qquad"} + and all(type(x) is str and x for x in ownership.values()), "V3_piece_uncertainty_ownership") + + +def fixed_windows(labels): + require(len(labels) == 131 and len({r["time_hex"] for r in labels}) == 129, "full_131_labels") + windows = [] + names = ("dark_equilibrium_hold", "voltage_ramp", "slow_state_hold") + for name, count, first, last in zip(names, (33, 33, 65), (0., .1, .2), (.1, .2, 9.2), strict=True): + rows = [row for row in labels if row["segment"] == name] + require(len(rows) == count and rows[0]["time_hex"] == first.hex() and rows[-1]["time_hex"] == last.hex(), "full_protocol_tags") + for i, row in enumerate(rows): + require(type(row["index"]) is int and row["index"] == i and row["event_side"] == + ("right" if i == 0 else "left" if i == count-1 else "interior"), "tag_index_or_side") + for left, right in zip(labels, labels[1:]): + a, b = Fraction(float.fromhex(left["time_hex"])), Fraction(float.fromhex(right["time_hex"])) + if left["segment"] == right["segment"]: + require(right["index"] == left["index"]+1 and a < b, "fixed_window_labels") + windows.append((left, right, a, b)) + else: + require(a == b and left["event_side"] == "left" and right["event_side"] == "right", "event_sides") + require(len(windows) == 128, "fixed_window_count") + return windows + + +def evaluate(intervals, pieces, *, labels, spec, case_id, run_id, problem_identity, reference=None, + source_id=None, request_sha256=None, refresh_times=(), checkpoint=lambda: None, + route_evidence=None, known_device_failure=None): + """Evaluate every native prefix and all fixed windows; never stop at fail.""" + require(case_id in {"B_N8_Coarse_Full", "B_N8_Main_Full", "B_N8_Strict_Full", "B_N16_Strict_Full"}, "full_case_scope") + windows = fixed_windows(labels) + refreshes = tuple(Fraction(float.fromhex(value)) for value in refresh_times) + ref = reference_status(reference, spec=spec, labels=labels, problem_identity=problem_identity) + if case_id == "B_N16_Strict_Full": + ref = {"status": "unknown", "reason": "unknown_reference_error", "Qsig_C": ref.get("Qsig_C"), + "scope": "N8 proof cannot qualify a single N16 temporal trajectory"} + signal = q(ref["Qsig_C"]) if ref["status"] in {"passed","eligible"} else None + scale_applicable = (signal is not None and (spec.version == 2 or + signal > 3*max(q(ref["E_q_C"]),q(ref["E_f_C"])) and signal > 0)) + ledgers = {k: ChargeLedger() for k in CHANNELS} + segments = {name: (a, b) for name, a, b in + (("dark_equilibrium_hold", Fraction(0), Fraction(.1)), + ("voltage_ramp", Fraction(.1), Fraction(.2)), ("slow_state_hold", Fraction(.2), Fraction(9.2)))} + rows, by_id, prior = [], {}, None + for i, row in enumerate(intervals): + checkpoint() + left, right = _clock(row) + require(row["run_id"] == run_id and set(row["channels"]) == set(CHANNELS), "interval_scope") + require(row["segment_id"] in segments, "interval_segment") + start, end = segments[row["segment_id"]] + require(start <= left < right <= end and row["event_side"] == ("left" if right == end else "interior"), "interval_event_scope") + require(all(type(row[k]) is str and row[k] for k in ("native_interval_id", "frame_id", "map_id", "source_id")), "interval_identities") + require(source_id is None or row["source_id"] == source_id, "source_identity") + require(request_sha256 is None or row.get("request_sha256") == request_sha256, "request_identity") + require(row["native_interval_id"] not in by_id and (prior is None or left == prior), "interval_gap_overlap_or_duplicate") + if spec.version == 3: + epoch = row.get("owner_generation") + require(row.get("case_id") == case_id and type(epoch) is dict and set(epoch) == {"owner","generation"} + and type(epoch["owner"]) is str and epoch["owner"] + and type(epoch["generation"]) is int and epoch["generation"] > 0, "V3_native_epoch_case") + _channels_v3(row) + require(left >= 0 and right <= windows[-1][3], "interval_protocol_range") + by_id[row["native_interval_id"]] = row + output = {"index": i, "native_interval_id": row["native_interval_id"], + "t_left_hex": row["t_left_hex"], "t_right_hex": row["t_right_hex"], "channels": {}, + **{key:row.get(key) for key in ("segment_id","source_id","frame_id","map_id","source_record_sha256")}} + for name in CHANNELS: + floor = spec.Q0 if name != "device" else spec.eta*signal if signal is not None else Fraction(0) + epsilon = spec.epsilon_metal if name != "device" else spec.epsilon_device + value = operands(row["channels"][name]); ledgers[name].append(value, floor) + local = assess_interval(row["channels"][name], floor=floor, epsilon=epsilon, share=spec.quadrature_share) + prefix = ledgers[name].result(floor=floor, epsilon=epsilon, share=spec.quadrature_share, + cap=signal if name == "device" else None) + if name == "device" and signal is None: + local = {"status": "unknown", "reason": ref["reason"]} + prefix = {"status": "unknown", "reason": ref["reason"]} + elif name == "device" and not scale_applicable: + local = {"status":"not_evaluated","reason":"qualified_reference_but_unresolved_signal"} + prefix = dict(local) + ledger = ledgers[name] + legacy = (None if value is None or not ledger.complete else { + "role": "diagnostic_only", "absolute_limit_C": pair(spec.Q0), + "interval_bound_C": pair(abs(value["b"])+value["u"]), + "signed_prefix_bound_C": pair(abs(ledger.b)+ledger.u), "positive_prefix_bound_C": pair(ledger.D)}) + output["channels"][name] = {"interval": local, "prefix": prefix, "legacy_absolute": legacy, + "signed_prefix_trend_input": None if not ledger.complete else {"b_C":pair(ledger.b),"u_C":pair(ledger.u)}} + rows.append(output); prior = right + coverage_complete = bool(intervals) and _clock(intervals[0])[0] == 0 and prior == windows[-1][3] + grouped = {i: [] for i in range(128)} + parent_pieces = {key: [] for key in by_id} + for piece in pieces: + checkpoint() + index = piece["window_index"] + require(type(index) is int and index in grouped, "piece_window_index") + require(piece["native_interval_id"] in by_id and piece["run_id"] == run_id, "piece_parent") + parent = by_id[piece["native_interval_id"]] + require(piece["parent_sha256"] == digest(parent), "piece_parent_identity") + if spec.version == 3: + _piece_v3(piece,parent,windows[index],case_id) + require(all(piece[k] == parent[k] for k in + ("segment_id", "frame_id", "map_id", "source_id", "request_sha256")), "piece_source_scope") + a, b = _clock(piece); lo, hi = _clock(parent) + require(lo <= a < b <= hi, "piece_native_range") + require(not any(a < when < b for when in refreshes), "piece_crosses_refresh_boundary") + grouped[index].append(piece) + parent_pieces[piece["native_interval_id"]].append(piece) + for key, children in parent_pieces.items(): + checkpoint() + parent = by_id[key] + a, b = _clock(parent) + ordered = sorted(children, key=lambda row: _clock(row)[0]) + if not ordered or _clock(ordered[0])[0] != a or _clock(ordered[-1])[1] != b: + continue # incomplete pieces stay unknown in their fixed windows + if any(_clock(x)[1] != _clock(y)[0] for x, y in zip(ordered, ordered[1:])): + continue + for name in CHANNELS: + original = operands(parent["channels"][name]) + values = [operands(row["channels"][name]) for row in ordered] + if original is None or any(v is None for v in values): + continue + for center, radius in (("dc", "dr"), ("fc", "fr")): + require(abs(sum(v[center] for v in values)-original[center]) <= + sum(v[radius] for v in values)+original[radius], "piece_parent_integral_consistency") + lower = sum(v["l1_lower"] for v in values) + upper = None if any(v["l1_upper"] is None for v in values) else sum(v["l1_upper"] for v in values) + if original["l1_upper"] is not None and upper is not None: + require(max(lower, original["l1_lower"]) <= min(upper, original["l1_upper"]), "piece_parent_L1_consistency") + matched = [] + for index, (left_tag, right_tag, first, last) in enumerate(windows): + checkpoint() + selected = grouped[index] + complete = bool(selected) + cursor = first + local_ledgers = {k: ChargeLedger() for k in CHANNELS} + for piece in selected: + a, b = _clock(piece) + require(a >= cursor and b <= last and piece["segment_id"] == left_tag["segment"], "piece_window_cover") + # A missing first/interior piece makes this window unknown, while + # overlap, reordering and identity damage still reject the data. + complete = complete and a == cursor + cursor = b + for name in CHANNELS: + local_ledgers[name].append(operands(piece["channels"][name]), spec.Q0 if name != "device" else Fraction(0)) + complete = complete and cursor == last + result = {"index": index, "left": left_tag, "right": right_tag, "complete_pieces": complete, "channels": {}} + window_charges = {} + if spec.version == 3 and complete: + for name in CHANNELS: + data = [piece["channels"][name] for piece in selected] + endpoints_complete = all(row.get("left_charge_enclosure_C") is not None + and row.get("right_charge_enclosure_C") is not None for row in data) + if not endpoints_complete: + complete = False;continue + for previous,current in zip(data,data[1:]): + _compatible_enclosures(previous["right_charge_enclosure_C"],current["left_charge_enclosure_C"], + "V3_window_endpoint_continuity") + independent = _endpoint_difference(data[0]["left_charge_enclosure_C"],data[-1]["right_charge_enclosure_C"]) + if local_ledgers[name].complete: + _compatible_enclosures(independent,{"center":pair(local_ledgers[name].dc), + "absolute_error_bound":pair(local_ledgers[name].dr)},"V3_window_telescoping") + window_charges[name] = independent + result["complete_pieces"] = complete + result["independent_window_charge_enclosures_C"] = window_charges + for name in CHANNELS[1:]: + result["channels"][name] = (local_ledgers[name].result(floor=spec.Q0, epsilon=spec.epsilon_metal, + share=spec.quadrature_share, window=True,window_charge=window_charges.get(name)) if complete else + {"status": "unknown", "reason": "unknown_missing_window_pieces"}) + result["signed_device_trend_input"] = ({"b_C": pair(local_ledgers["device"].b), "u_C": pair(local_ledgers["device"].u)} + if complete and local_ledgers["device"].complete else None) + matched.append(result) + summaries = {} + for name in CHANNELS: + checkpoint() + events = [(Fraction(float.fromhex(row["t_right_hex"])), {"kind": gate, "index": row["index"], + "native_interval_id": row["native_interval_id"]}, row["channels"][name][gate]) + for row in rows for gate in ("interval", "prefix")] + if name != "device": + events += [(Fraction(float.fromhex(row["right"]["time_hex"])), {"kind": "fixed_window", "index": row["index"]}, + row["channels"][name]) for row in matched] + events.sort(key=lambda item: item[0]) + failed = next((where for _, where, result in events if result["status"] == "failed"), None) + unknown = next((dict(where, reason=result["reason"]) for _, where, result in events if result["status"] == "unknown"), None) + summaries[name] = {"status": "failed" if failed else "unknown" if unknown or not coverage_complete else "passed", + "first_failure": failed, "first_unknown": unknown, + "complete_native_coverage": coverage_complete, + "coverage_reason": None if coverage_complete else "unknown_incomplete_native_coverage"} + if spec.version == 3: + non_signal_complete = coverage_complete and ledgers["device"].complete and all( + row["complete_pieces"] and row["signed_device_trend_input"] is not None for row in matched) + disposition = device_disposition(evaluated=bool(rows),reference=ref,non_signal_complete=non_signal_complete, + gate_failure=known_device_failure or summaries["device"]["first_failure"], + undecided=summaries["device"]["first_unknown"] is not None) + summaries["device"].update(disposition,claim_kind=ref.get("claim_kind"), + status_scope="this run's interval/prefix certification; cross-run comparison is separately required") + result = {"schema": "solarlab.t1-candidate-result.v1", "candidate": True, "gate_spec_sha256": spec.sha256, + "case_id": case_id, "run_id": run_id, "reference": ref, "channels": summaries, + "native": rows, "fixed_windows": matched, "scientific_qualification": False, + "execution_authorized": False, "definition_frozen_by_this_code": False, + "gate_spec_version":spec.version,"cross_run_comparison":"not_evaluated_here", + "scope": "Candidate certificate arithmetic on supplied source-bound enclosures; external proof review and all other gates remain required."} + if spec.version == 3: + result["L_U2"] = lu2_eligibility(result,route_evidence) + return result + + +def from_sealed_charge(row, *, run_id, scale_evidence=None): + """Adapter for the actual SealedChargeObserver output; no guessed fields.""" + from scripts.benchmarks.native_readback import _decode + require(row.get("kind") == "sealed_voltage_lift_charge", "sealed_charge_kind") + interval = row["interval"] + observation = _decode(interval["observation"]) + p = observation["physical_charge"] + require(p["schema"] == "solarlab.native-physical-charge.v1" + and p["physical_flux_basis"] == "fixed-uniform-epsilon-Dirichlet-slab-reservoir-carrier-ion-trap-capacitance-v1", + "independent_physical_flux_basis") + require(p["request_sha256"] == row["request_sha256"] + and p["frame_identity"] == interval["coefficient_frame_identity"] + and p["path_identity"] == observation["path_identity"] + and digest(p["clock"]) == digest(observation["clock"]), "sealed_charge_scope_binding") + require(q(p["clock"]["predecessor"]) == F_time(interval["left"]["time_s"]) + and q(p["clock"]["tn"]) == F_time(interval["right"]["time_s"]), "sealed_charge_endpoint_clock") + def enc(value): + return {"center": pair(value["center"]), "absolute_error_bound": pair(value["absolute_error_bound"])} + # _decode leaves enclosure payload pairs intact, and decodes the standalone + # component Fractions. These fields are emitted at native_observation.py's + # physical_charge block, rather than its historical raw/tangent L1 ledger. + result = {"run_id": run_id, "native_interval_id": row["source_interval_sha256"], + "request_sha256": row["request_sha256"], + "source_record_sha256": digest(row), "segment_id": interval["segment_id"], + "event_side": "left" if interval["right"]["time_s"] == float(q(p["clock"]["segment_end"])) else "interior", + "t_left_hex": float(interval["left"]["time_s"]).hex(), "t_right_hex": float(interval["right"]["time_s"]).hex(), + "frame_id": p["frame_identity"], "map_id": p["map_identity"], "source_id": p["source_identity"], "channels": {}} + if scale_evidence is not None: + require(scale_evidence["source_record_sha256"] == digest(row), "scale_source_binding") + partition = scale_evidence["partition"] + require(type(partition["depth"]) is int and 0 <= partition["depth"] <= 8 + and type(partition["leaves"]) is int and 1 <= partition["leaves"] <= 256, + "scale_partition_limit") + for i, name in enumerate(CHANNELS): + scale = scale_evidence["channels"][name] if scale_evidence is not None else {} + components = p["error_components_C"] + result["channels"][name] = {"delta_Q_enclosure_C": enc(p["saved_finite_charge_change_C"][i]), + "integral_F_enclosure_C": enc(p["physical_flux_integral_C"][i]), + "integral_abs_F_lower_C": scale.get("lower_C"), "integral_abs_F_upper_C": scale.get("upper_C"), + "uncertainty_components_C": {new: pair(components[old][i]) for new, old in zip(COMPONENTS, + ("saved_charge_evaluation", "physical_flux_integration", "input", "clock_strip"), strict=True)}, + "quadrature_component_upper_C": pair(components["physical_flux_integration"][i])} + return result + + +def from_sealed_t1(row, *, run_id): + """The V3 supplement cannot replace the independently checked C operands.""" + base = {k:v for k,v in row.items() if k != "t1_evidence"} + original = from_sealed_charge(base,run_id=run_id) + result = row["t1_evidence"] + require(digest(result["native_clock"]) == digest(base["interval"]["observation"]["physical_charge"]["clock"]), + "sealed_T1_native_clock") + for key,value in original.items(): + if key != "channels": + require(digest(result.get(key)) == digest(value),"sealed_T1_source_identity") + for name in CHANNELS: + for key in ("delta_Q_enclosure_C","integral_F_enclosure_C","uncertainty_components_C","quadrature_component_upper_C"): + require(digest(result["channels"][name].get(key)) == digest(original["channels"][name][key]), + "sealed_T1_original_operand_changed") + return result + + +def F_time(value): + require(type(value) in (int, float) and math.isfinite(value), "finite_clock_value") + return Fraction(value) + + +def read_sealed_evidence(manifest_path, *, max_record_bytes, max_logical_bytes, max_records, wall_s, + max_output_bytes=64*1024**2, rss_bytes=4*1024**3, require_admission=False): + """One admitted bounded pass, reusable by comparison without another decode.""" + from scripts.benchmarks.native_history import HistoryReader, integer_json_dumps + from scripts.benchmarks.native_readback import _json + from scripts.benchmarks.g2_route_bindings import sample_labels + require(all(type(v) is int and v > 0 for v in (max_record_bytes, max_logical_bytes, max_records)), "reader_limits") + require(type(wall_s) in (int, float) and math.isfinite(wall_s) and 0 < wall_s <= 43200, "reader_wall_limit") + require(type(max_output_bytes) is int and 0 < max_output_bytes <= 4*1024**3 + and type(rss_bytes) is int and 0 < rss_bytes <= 4*1024**3, "candidate_resource_limits") + deadline = time.perf_counter()+wall_s + def checkpoint(): + rss = resource.getrusage(resource.RUSAGE_SELF).ru_maxrss * (1 if sys.platform == "darwin" else 1024) + require(time.perf_counter() < deadline and rss <= rss_bytes, "candidate_time_or_RSS_limit") + checkpoint() + path = Path(manifest_path) + require(path.stat().st_size <= 8*1024**2, "manifest_size") + manifest = json.loads(path.read_bytes()) + require(manifest["schema"] == EVIDENCE_SCHEMA, "evidence_schema") + spec_doc = _pin(manifest["gate_spec"]["path"], manifest["gate_spec"]) + spec = CandidateSpec.from_document(spec_doc, manifest["gate_spec"]["sha256"]) + request = _pin(manifest["request"]["path"], manifest["request"]) + require(manifest["problem_identity"] == physical_problem_identity(request), "physical_problem_identity") + if spec.version == 3 or require_admission: + plan_ref = manifest.get("run_plan") + require(type(plan_ref) is dict,"V3_evaluation_admission_required") + _pin(plan_ref["path"],plan_ref) + from scripts.benchmarks.g2_route import validate + admission = validate(plan_ref["path"],executable=True,case_id=manifest["case_id"],purpose="evaluate") + case = next(c for c in admission["plan"]["cases"] if c["id"] == manifest["case_id"]) + require(admission["plan"]["definitions"]["gate_spec"]["sha256"] == manifest["gate_spec"]["sha256"] + and case["execution"]["effective_input_digest"] == digest(request) + and case["execution"]["native_admission"]["operation_id"] == manifest["run_id"], "evaluation_manifest_binding") + labels = sample_labels(request) + expected = manifest["history"] + require(expected.get("closed") is True and expected.get("container_complete") is True + and expected["encoding"] == "gzip", "sealed_complete_gzip_required") + require(all(type(expected[k]) is int and expected[k] >= 0 for k in ("encoded_bytes", "logical_bytes", "records")), "history_count_types") + require(Path(expected["path"]).stat().st_size == expected["encoded_bytes"], "encoded_size") + scales = manifest.get("scales", {}) + intervals, pieces, logical = [], [], hashlib.sha256() + comparison_context, comparison_samples = None, [] + retained = 0 + with HistoryReader(Path(expected["path"]), encoding="gzip", max_record_bytes=max_record_bytes, + max_logical_bytes=max_logical_bytes, integer_io_policy=expected.get("integer_io_policy")) as reader: + for line in reader: + checkpoint() + require(reader.complete_lines <= max_records, "reader_record_limit") + require(line.endswith(b"\n"), "partial_record") + logical.update(line) + row = _json(line, reader.integer_io_policy) + if row.get("kind") == "sealed_voltage_lift_charge": + normalized = (from_sealed_t1(row,run_id=manifest["run_id"]) if "t1_evidence" in row else + from_sealed_charge(row, run_id=manifest["run_id"], scale_evidence=scales.get(digest(row)))) + intervals.append(normalized) + elif row.get("kind") == "t1_interval_evidence": + normalized = row["evidence"] + intervals.append(normalized) + elif row.get("kind") == "t1_fixed_window_piece": + normalized = row["evidence"] + pieces.append(normalized) + elif row.get("kind") in {"sealed_g2_context","sealed_g2_sample"}: + require(row["request_sha256"] == digest(request), "comparison_observation_input") + normalized = row["evidence"] + if row["kind"] == "sealed_g2_context": + require(comparison_context is None and normalized["case_id"] == manifest["case_id"] + and normalized["run_id"] == manifest["run_id"] + and normalized["request_sha256"] == digest(request), "comparison_context_identity") + comparison_context = normalized + else: + require(comparison_context is not None and len(comparison_samples)<131, "comparison_sample_count") + comparison_samples.append(normalized) + else: + raise InvalidT1Data("unsupported_T1_evidence_record") + retained += len(integer_json_dumps(normalized, INTEGER_POLICY).encode()) + require(retained <= max_output_bytes, "candidate_retained_evidence_limit") + require(reader.eof_seen and reader.container_complete is True and not reader.partial_tail + and reader.logical_bytes == expected["logical_bytes"] and reader.complete_lines == expected["records"] + and logical.hexdigest() == expected["logical_sha256"], "complete_history_identity") + history = {"records": reader.complete_lines, "logical_bytes": reader.logical_bytes, + "logical_sha256": logical.hexdigest(), "eof_seen": True, "crc_verified": True} + checkpoint() + return {"manifest":manifest,"spec":spec,"request":request,"labels":labels, + "intervals":intervals,"pieces":pieces,"history":history,"checkpoint":checkpoint, + "comparison_context":comparison_context,"comparison_samples":comparison_samples,"retained_bytes":retained} + + +def evaluate_sealed(manifest_path, *, max_record_bytes, max_logical_bytes, max_records, wall_s, + max_output_bytes=64*1024**2, rss_bytes=4*1024**3, require_admission=False): + from scripts.benchmarks.native_history import integer_json_dumps + data = read_sealed_evidence(manifest_path,max_record_bytes=max_record_bytes, + max_logical_bytes=max_logical_bytes,max_records=max_records,wall_s=wall_s, + max_output_bytes=max_output_bytes,rss_bytes=rss_bytes,require_admission=require_admission) + manifest,spec,request,labels,intervals,pieces,history,checkpoint = ( + data[k] for k in ("manifest","spec","request","labels","intervals","pieces","history","checkpoint")) + result = evaluate(intervals, pieces, labels=labels, spec=spec, case_id=manifest["case_id"], + run_id=manifest["run_id"], problem_identity=manifest["problem_identity"], reference=manifest.get("reference"), + source_id=manifest["source_id"], request_sha256=digest(request), + refresh_times=manifest.get("actual_refresh_times_hex", ()), checkpoint=checkpoint, + route_evidence=manifest.get("route_evidence"),known_device_failure=manifest.get("known_device_failure")) + result["history"] = history + result["integer_io_policy"] = INTEGER_POLICY + # Match the actual CLI rendering, including its final newline. + require(len(integer_json_dumps(result, INTEGER_POLICY, indent=2, allow_nan=False).encode())+1 + <= max_output_bytes, "candidate_output_limit") + checkpoint() + return result + + +def main(argv=None): + parser = argparse.ArgumentParser(description=__doc__) + parser.add_argument("--manifest", required=True) + parser.add_argument("--max-record-bytes", type=int, required=True) + parser.add_argument("--max-logical-bytes", type=int, required=True) + parser.add_argument("--max-records", type=int, required=True) + parser.add_argument("--wall-s", type=float, required=True) + parser.add_argument("--max-output-bytes", type=int, default=64*1024**2) + parser.add_argument("--rss-bytes", type=int, default=4*1024**3) + args = parser.parse_args(argv) + try: + result = evaluate_sealed(args.manifest, max_record_bytes=args.max_record_bytes, + max_logical_bytes=args.max_logical_bytes, max_records=args.max_records, wall_s=args.wall_s, + max_output_bytes=args.max_output_bytes, rss_bytes=args.rss_bytes,require_admission=True) + except (ValueError, TypeError, KeyError, OSError, EOFError, OverflowError) as error: + result = {"candidate": True, "status": "invalid_data", "reason": str(error)[:300], + "scientific_qualification": False, "execution_authorized": False} + print(json.dumps(result, indent=2)); return 2 + from scripts.benchmarks.native_history import integer_json_dumps + print(integer_json_dumps(result, INTEGER_POLICY, indent=2, allow_nan=False)) + return 0 + + +if __name__ == "__main__": + raise SystemExit(main()) diff --git a/scripts/ci/ionic_jv_diagnostics.py b/scripts/ci/ionic_jv_diagnostics.py new file mode 100644 index 00000000..33326eb0 --- /dev/null +++ b/scripts/ci/ionic_jv_diagnostics.py @@ -0,0 +1,107 @@ +"""Repeat the real ionic HTTP module, preserving every attempt for diagnosis. + +Each repetition uses a fresh pytest process, its own temporary directory and +the existing optional HTTP evidence sink. Failures remain failures; all requested +repetitions run before the final nonzero status is returned. +""" +from __future__ import annotations + +import argparse +from collections import Counter +from datetime import datetime, timezone +import json +import os +from pathlib import Path +import runpy +import subprocess +import sys +import time +from typing import Any +import xml.etree.ElementTree as ET + + +ROOT = Path(__file__).resolve().parents[2] +MODULE = "tests/runtime/test_ionic_jv_job_service.py" +THREADS = ("OMP_NUM_THREADS", "OPENBLAS_NUM_THREADS", "MKL_NUM_THREADS", + "VECLIB_MAXIMUM_THREADS", "NUMEXPR_NUM_THREADS", "BLIS_NUM_THREADS") + + +def environment(evidence: Path) -> dict[str, str]: + env = dict(os.environ) + for key in ("PYTEST_ADDOPTS", "PYTEST_CI_ISOLATED_GROUP", "PYTHONPATH", "PYTHONHOME", + "SOLARLAB_IONIC_JV_HTTP_SAVED", "SOLARLAB_IONIC_JV_HTTP_COMMIT", + "SOLARLAB_IONIC_JV_HTTP_ARCHIVE"): + env.pop(key, None) + env.update({key: "1" for key in THREADS}) + env.update(PYTEST_CI_JOB="backend", PYTHONDONTWRITEBYTECODE="1", PYTHONUNBUFFERED="1", + SOLARLAB_IONIC_JV_HTTP_EVIDENCE=str(evidence)) + return env + + +def diagnose(repetitions: int, output: Path) -> dict[str, Any]: + if repetitions < 1: + raise ValueError("repetitions must be a positive integer") + if output.exists() and any(output.iterdir()): + raise ValueError("diagnostic output must be empty; previous evidence is preserved") + output.mkdir(parents=True, exist_ok=True) + result_counts = runpy.run_path(str(ROOT / "scripts/test_all.py"))["result_counts"] + summary: dict[str, Any] = {"status": "running", "module": MODULE, + "python": sys.executable, "python_version": sys.version, + "requested_repetitions": repetitions, "attempts": [], + "finding": "unresolved; native terminal evidence must be classified"} + + def save() -> None: + (output / "Summary.json").write_text(json.dumps(summary, indent=2) + "\n") + + save() + for index in range(1, repetitions + 1): + directory = output / f"attempt_{index:02d}" + directory.mkdir() + evidence = directory / "evidence" + evidence.mkdir() + report, log = directory / "Tests.xml", directory / "Tests.log" + command = [sys.executable, "-m", "pytest", "-q", "-ra", "-p", "no:cacheprovider", MODULE, + "--basetemp=" + str(directory / "pytest"), "--junitxml=" + str(report), "--durations=20"] + row: dict[str, Any] = {"attempt": index, "command": command, "evidence": str(evidence), + "junit": str(report), "log": str(log), "status": "running", + "started_utc": datetime.now(timezone.utc).isoformat()} + summary["attempts"].append(row) + save() + print(f"[{index}/{repetitions}] ionic HTTP: {directory}", flush=True) + started = time.monotonic() + try: + with log.open("w") as stream: + result = subprocess.run(command, cwd=ROOT, env=environment(evidence), + stdout=stream, stderr=subprocess.STDOUT, check=False) + row["exit_code"] = result.returncode + row["counts"] = result_counts(report) + row["status"] = "passed" if (result.returncode == 0 and row["counts"]["passed"] > 0 + and row["counts"]["failed"] == row["counts"]["errors"] == 0) else "failed" + except (OSError, ET.ParseError) as error: + row.update(status="failed", error=f"{type(error).__name__}: {error}") + row["seconds"] = time.monotonic() - started + save() + print(f"[{index}/{repetitions}] {row['status']}: {row.get('counts', row.get('error'))}", flush=True) + counts: Counter[str] = Counter() + for row in summary["attempts"]: + counts.update(row.get("counts", {})) + summary["counts"] = dict(counts) + summary["status"] = "passed" if all(row["status"] == "passed" for row in summary["attempts"]) else "failed" + save() + print(f"Ionic HTTP diagnostics: {summary['status']} — {repetitions} attempts; {dict(counts)}", flush=True) + return summary + + +def main(argv: list[str] | None = None) -> int: + parser = argparse.ArgumentParser(description=__doc__) + parser.add_argument("--repetitions", type=int, default=20) + parser.add_argument("--output-dir", type=Path, required=True) + args = parser.parse_args(argv) + if args.repetitions < 1: + parser.error("repetitions must be a positive integer") + summary = diagnose(args.repetitions, args.output_dir.resolve()) + return 0 if summary["status"] == "passed" else 1 + + +if __name__ == "__main__": + raise SystemExit(main()) diff --git a/scripts/ci/ionic_jv_timing.py b/scripts/ci/ionic_jv_timing.py new file mode 100644 index 00000000..f94921cc --- /dev/null +++ b/scripts/ci/ionic_jv_timing.py @@ -0,0 +1,384 @@ +"""Time the identical ionic J-V child outside the supervisor's whole-job wall. + +Each sample uses a fresh interpreter and the real spawn entry, provenance and +artifact writer. By default the installed request and every limit are unchanged. +The explicit curve measurement mode changes only the curve ceiling to 64 seconds +in a separately source-bound diagnostic worker; it never recommends a limit. +This is diagnostic execution, not a store submission or a scientific qualification. +The workflow timeout bounds the diagnostic; there is no per-sample wall censor. +""" +from __future__ import annotations + +import argparse +from dataclasses import asdict, replace +from datetime import datetime +import hashlib +import json +import math +from pathlib import Path +import runpy +import statistics +import subprocess +import sys +import time +from types import FunctionType +from typing import TYPE_CHECKING, Any, Callable + +if TYPE_CHECKING: + from solarlab.config.identity import BuildSource + from solarlab.device.resolved import PreparedDevice + from solarlab.experiments.jv.ionic_steady import IonicSteadyJVOptions + from solarlab.experiments.jv.ionic_worker import IonicJVInitial, IonicJVJob, IonicJVProtocol + from solarlab.experiments.worker import ManifestBinding, WorkerBinding, WorkerContext, WorkerRequest, WorkerResult + from solarlab.materials.source import SourceDocument + + +ROOT = Path(__file__).resolve().parents[2] +CURVE_MEASUREMENT = "diagnostic_ionic_jv_curve_64s" +CURVE_MEASUREMENT_SECONDS = 64. + + +def _diagnostic_source() -> SourceDocument: + from solarlab.materials.source import SourceDocument + + return SourceDocument("scripts/ci/ionic_jv_timing.py", Path(__file__).read_bytes()) + + +def _diagnostic_documents() -> tuple[SourceDocument, SourceDocument]: + from solarlab.experiments.jv import ionic_worker as core + + schema = core._document("solarlab.diagnostic-ionic-jv.request.v1", + {**json.loads(core.REQUEST_SCHEMA.content), "diagnostic_measurement": CURVE_MEASUREMENT}) + registry = core._document("solarlab.diagnostic-ionic-jv.registry.v1", + {"engine": "solarlab", "worker": CURVE_MEASUREMENT, + "curve_wall_seconds": CURVE_MEASUREMENT_SECONDS, "source_sha256": _diagnostic_source().sha256}) + return schema, registry + + +def _diagnostic_validate(prepared: PreparedDevice, protocol: IonicJVProtocol, intervals: tuple[int, ...], + domain: str, endpoints: tuple[str, str], options: IonicSteadyJVOptions, initial: IonicJVInitial, +) -> None: + """Admit only the installed example with the single approved measurement delta.""" + from solarlab.experiments.jv import ionic_worker as core + from solarlab.experiments.jv.ionic_steady import IonicSteadyJVOptions + from solarlab_server.ionic_jv_preparation import ( + IonicJVJobInput, _REGISTERED_WALL_PROFILE_SHA256, _initial, _wall_profile_sha256, + ) + + if (type(options) is not IonicSteadyJVOptions or type(options.wall_s) not in {int, float} + or options.wall_s != CURVE_MEASUREMENT_SECONDS or initial != _initial()): + raise ValueError("diagnostic measurement requires exactly the 64s curve and installed initial recipe") + shipping_options = replace(options, wall_s=25.) + IonicJVJobInput.model_validate({"device_id": "research_1d_shared", **asdict(protocol), + "voltage_V": list(protocol.voltage_V), "intervals_per_layer": list(intervals), + "controls": asdict(shipping_options), + "initial": {key: asdict(initial)[key] for key in ("policy", "voltage_V", "wall_s")}}) + if _wall_profile_sha256(prepared, domain, endpoints) != _REGISTERED_WALL_PROFILE_SHA256: + raise ValueError("diagnostic measurement requires the approved installed device and domain") + core._validate(prepared, protocol, intervals, domain, endpoints, shipping_options, initial) + + +def _diagnostic_roles(prepared: PreparedDevice, body: dict[str, Any], + implementation: BuildSource) -> dict[str, SourceDocument]: + from solarlab.experiments.jv import ionic_worker as core + + roles = core._roles(prepared, body, implementation) + source = _diagnostic_source() + roles["preparation"] = core._document("solarlab.diagnostic-ionic-jv.preparation.v1", + {**json.loads(roles["preparation"].content), "source_scope": "committed_core_plus_explicit_diagnostic_adapter", + "diagnostic_measurement": { + "kind": CURVE_MEASUREMENT, "shipping_curve_wall_seconds": 25., + "measurement_curve_wall_seconds": CURVE_MEASUREMENT_SECONDS, + "source": {"id": source.id, "sha256": source.sha256, "content_hex": source.content.hex()}, + "recommendation": False}}) + return roles + + +def _diagnostic_callable(function: Callable[..., Any]) -> FunctionType: + """Reuse worker bytecode with private globals; never patch an installed module. + + The core validator rejects curves above 25s. Its diagnostic replacement + checks the exact installed recipe with only that one scalar projected back + to 25s for admission. Execution still receives the source-bound 64s request. + Separate schema/registry and preparation identities prevent production use. + """ + if not isinstance(function, FunctionType): + raise TypeError("diagnostic rebinding requires a Python function") + schema, registry = _diagnostic_documents() + namespace = {**function.__globals__, "_validate": _diagnostic_validate, "_roles": _diagnostic_roles, + "REQUEST_SCHEMA": schema, "REGISTRY": registry} + result = FunctionType(function.__code__, namespace, function.__name__, function.__defaults__, function.__closure__) + result.__kwdefaults__ = function.__kwdefaults__ + return result + + +def prepare_curve_measurement(request: WorkerRequest, execution: ManifestBinding) -> IonicJVJob: + from solarlab.experiments.jv import ionic_worker as core + from solarlab_server.ionic_jv_preparation import _initial, _options + + execution.validate_request(request) + body = json.loads(request.request.content) + grid = body["grid"] + job: IonicJVJob = _diagnostic_callable(core.prepare_ionic_jv_job)( + execution.inputs.prepared, core.IonicJVProtocol(**body["protocol"]), + intervals_per_layer=tuple(grid["intervals_per_layer"]), ion_domain_layer=grid["ion_domain_layer"], + ion_domain_endpoints=tuple(grid["ion_domain_endpoints"]), + options=replace(_options(), wall_s=CURVE_MEASUREMENT_SECONDS), initial=_initial(), + implementation=execution.execution.implementation, + current_repository_head=execution.execution.current_repository_head, engine=execution.engine) + body["schema"] = _diagnostic_documents()[0].id + body["controls"]["wall_s"] = CURVE_MEASUREMENT_SECONDS + if json.loads(job.request.request.content) != body: + raise ValueError("diagnostic preparation changed more than the curve ceiling and diagnostic schema") + return job + + +def curve_measurement_binding() -> WorkerBinding: + from solarlab.experiments.worker import WorkerBinding + # The canonical import remains transportable when this script is __main__. + from scripts.ci.ionic_jv_timing import run_curve_measurement + + schema, registry = _diagnostic_documents() + return WorkerBinding.from_function(CURVE_MEASUREMENT, run_curve_measurement, + registry_sha256=registry.sha256, schema_sha256=schema.sha256) + + +def run_curve_measurement(request: WorkerRequest, worker: WorkerContext) -> WorkerResult: + from examples.research_1d.ionic_jv_service import resource_limits + from solarlab.experiments.jv import ionic_worker as core + from solarlab.experiments.worker import WorkerResult + + curve_measurement_binding().validate_request(request) + if worker._limits != resource_limits(): + raise ValueError("diagnostic measurement must keep every installed resource limit") + result = _diagnostic_callable(core.run_ionic_jv_worker)( + request, worker, wall_ceiling_seconds=resource_limits().wall_seconds) + return WorkerResult.from_dict({**json.loads(result.result_json), "diagnostic_measurement": { + "kind": CURVE_MEASUREMENT, "source_sha256": _diagnostic_source().sha256, "recommendation": False}}, + artifacts=result.artifacts, state=result.state) + + +def numerical_measurements(history: dict[str, Any]) -> dict[str, Any]: + """Keep failed phases and every attempted point, including clipped budgets.""" + seconds: dict[str, float | None] = {} + stages: dict[str, Any] = {} + events: list[dict[str, Any]] = [] + points = [] + for name in ("dark_steady", "illumination", "curve"): + phase = history.get(name) + seconds[name] = None if phase is None else phase["wall_s"] + if phase is not None: + stages[name] = {key: phase.get(key) for key in ("accepted", "termination", "error")} + if phase.get("termination") == "wall_budget_exhausted": + events.append({"phase": name, "limit": "initialization_wall_s" if name == "illumination" else "point_wall_s", + "reason": phase["termination"]}) + curve = history.get("curve") + if curve is not None: + for attempt in curve["attempts"]["$tuple"]: + solution = attempt["solution"] + point = {key: attempt[key] for key in + ("index", "voltage_V", "accepted", "termination", "solver_called", "wall_s", "error")} + point["solver_wall_seconds"] = None if solution is None else solution["wall_s"] + point["effective_point_wall_seconds"] = None if solution is None else solution["solver_controls"]["wall_s"] + point["solver_termination"] = None if solution is None else solution["termination"] + point["solver_error"] = None if solution is None else solution["error"] + point["wall_censored"] = (point["termination"] == "wall_budget_exhausted" + or point["solver_termination"] == "wall_budget_exhausted") + if point["wall_censored"]: + clipped = (solution is not None and solution["solver_controls"]["wall_s"] + < history["controls"]["steady"]["wall_s"]) + events.append({"phase": "curve", "index": point["index"], + "limit": "curve_wall_s" if clipped or solution is None else "point_wall_s", + "reason": "wall_budget_exhausted"}) + points.append(point) + return {"numerical_seconds": seconds, "numerical_stages": stages, "point_timings": points, + "censoring": {"whole_job_wall": False, + "numerical_wall": bool(events) if any(value is not None for value in seconds.values()) else None, + "events": events, "unobserved_phases": [name for name, value in seconds.items() if value is None]}} + + +def distribution(values: list[float]) -> dict[str, float]: + if not values or any(not math.isfinite(value) or value <= 0 for value in values): + raise ValueError("positive finite uncensored measurements are required") + ordered = sorted(values) + return {"p50": statistics.median(ordered), "p95": ordered[math.ceil(.95 * len(ordered)) - 1], + "max": ordered[-1]} + + +def summarize(rows: list[dict[str, Any]], *, curve_measurement: bool = False) -> dict[str, Any]: + complete = bool(rows) and all(row.get("status") == "passed" for row in rows) + result: dict[str, Any] = {"status": "passed" if complete else "failed", + "requested": len(rows), "completed": sum(row.get("status") == "passed" for row in rows), + "percentiles": "p50: median; p95: nearest rank; seconds", + "recommended_wall_seconds": None} + measurement_only = curve_measurement or any( + row.get("measurement", {}).get("measurement_kind") == CURVE_MEASUREMENT for row in rows) + if measurement_only: + result.update(measurement_kind=CURVE_MEASUREMENT, recommendation_status="measurement_only") + observed = {} + for phase in ("dark_steady", "illumination", "curve"): + values = [row["measurement"].get("numerical_seconds", {}).get(phase) for row in rows] + available = [value for value in values if value is not None] + if available: + observed[phase] = {**distribution(available), "observed": len(available), + "unobserved": len(values) - len(available), "includes_failed_samples": True} + result["observed_numerical_seconds"] = observed + if complete and not measurement_only: + timings = distribution([row["measurement"]["child_wall_seconds"] for row in rows]) + result["child_wall_seconds"] = timings + result["recommended_wall_seconds"] = math.ceil(max(128., 4 * timings["p95"], 2 * timings["max"])) + ceilings = {row["measurement"]["request"]["limits"]["wall_seconds"] for row in rows} + result["installed_wall_seconds"] = sorted(ceilings) + result["allowance_sufficient"] = len(ceilings) == 1 and min(ceilings) >= result["recommended_wall_seconds"] + if not result["allowance_sufficient"]: + result.update(status="failed", reason="installed_allowance_below_uncensored_derivation") + # Failed/numerically capped samples stay visible and never silently become + # an uncensored success-only percentile used to approve the ceiling. + return result + + +def measure(output: Path, *, curve_measurement: bool = False) -> dict[str, Any]: + imports_started = time.perf_counter() + import multiprocessing + + from examples.research_1d.ionic_jv_service import example_submission, installed_catalog + from examples.research_1d.process_ionic_transient import source_build + # Deliberately reuse the production bootstrap and artifact writer, rather + # than timing a simplified numerical surrogate. No supervisor is created. + from solarlab.experiments.worker import PROGRESS_BYTES, _child_main + from solarlab_server.job_service import JobSubmission + + imports_seconds = time.perf_counter() - imports_started + preparation_started = time.perf_counter() + commit = subprocess.check_output(["git", "rev-parse", "HEAD"], cwd=ROOT, text=True).strip() + implementation = source_build(commit) + catalog = installed_catalog(implementation, commit) + submitted = example_submission("uncensored-ionic-jv") + spec, execution = catalog.prepare(JobSubmission.model_validate(submitted)) + binding = catalog.worker_binding("solarlab", experiment_id=submitted["experiment_id"]) + request = spec.request + if curve_measurement: + diagnostic = prepare_curve_measurement(request, execution) + request, execution = diagnostic.request, diagnostic.execution + binding = curve_measurement_binding() + preparation_seconds = time.perf_counter() - preparation_started + directory = output / "child" + directory.mkdir() + context = multiprocessing.get_context("spawn") + stop, lock = context.Event(), context.Lock() + header, buffer = context.RawArray("q", 4), context.RawArray("B", PROGRESS_BYTES) + process = context.Process(target=_child_main, args=( + request.to_bytes(), binding, spec.limits, str(directory), + {"diagnostic": CURVE_MEASUREMENT if curve_measurement else "uncensored_ionic_jv", + "sample": output.name}, stop, lock, header, buffer, execution), + daemon=True) + started = time.perf_counter() + try: + process.start() + process.join() + child_wall_seconds = time.perf_counter() - started + finally: + if process.is_alive(): + process.kill() + process.join() + terminal_path = directory / "terminal.json" + terminal = json.loads(terminal_path.read_text()) + result = terminal["result"] + summary = result.get("ionic_jv_result", {}) + artifacts = terminal["artifacts"] + measurement: dict[str, Any] = {"status": "failed", "source_commit": commit, + "measurement_kind": CURVE_MEASUREMENT if curve_measurement else "installed_recipe_wall_timing", + "python_version": sys.version, "parent_imports_seconds": imports_seconds, + "parent_preparation_seconds": preparation_seconds, "child_wall_seconds": child_wall_seconds, + "scope": "spawn, engine imports, actual worker, provenance and child artifact fsync; no supervisor/store commit", + "whole_job_wall_enforced": False, "numerical_stage_limits_unchanged": not curve_measurement, + "installed_request": submitted, "core_request": json.loads(request.request.content), + "numerical_limits_seconds": {"curve": CURVE_MEASUREMENT_SECONDS if curve_measurement else 25., + "initialization": 25., "point": 30.}, + "request": {**submitted, "input": {**submitted["input"], + "controls": json.loads(request.request.content)["controls"]}}, + "request_sha256": request.request.sha256, + "diagnostic_source_sha256": _diagnostic_source().sha256 if curve_measurement else None, + "manifest_sha256": execution.expected_sha256, "exitcode": process.exitcode, + "process_reaped": not process.is_alive(), "terminal_state": terminal["state"], + "reason": result.get("reason"), "outcome": summary.get("outcome"), + "accepted_count": summary.get("accepted_count"), "artifact_count": len(artifacts), + "terminal_sha256": hashlib.sha256(terminal_path.read_bytes()).hexdigest(), + "child_peak_rss_bytes": terminal["child_peak_rss_bytes"], + **numerical_measurements({})} + for artifact in artifacts: + raw = (directory / artifact["file"]).read_bytes() + if len(raw) != artifact["bytes"] or hashlib.sha256(raw).hexdigest() != artifact["sha256"]: + raise ValueError("direct child artifact integrity failed") + if artifact["name"] == "ionic_jv_diagnostics": + history = json.loads(raw) + measurement.update(numerical_measurements(history)) + measurement["artifact_integrity_verified"] = True + if capture := result.get("capture"): + measurement.update(runtime=capture["runtime"], computation_counts=summary["computation_counts"], + worker_body_seconds=(datetime.fromisoformat(capture["finished_utc"]) + - datetime.fromisoformat(capture["started_utc"])).total_seconds()) + if (process.exitcode == 0 and terminal["state"] == "succeeded" and summary.get("outcome") == "completed" + and summary.get("accepted_count") == summary.get("requested_count") == 51 + and len(artifacts) == 15 and len(measurement["point_timings"]) == 51 + and not measurement["censoring"]["unobserved_phases"]): + measurement["status"] = "passed" + return measurement + + +def diagnose(repetitions: int, output: Path, *, curve_measurement: bool = False) -> dict[str, Any]: + if repetitions < 1: + raise ValueError("repetitions must be positive") + if output.exists() and any(output.iterdir()): + raise ValueError("diagnostic output must be empty; previous evidence is preserved") + output.mkdir(parents=True, exist_ok=True) + environment = runpy.run_path(str(ROOT / "scripts/ci/ionic_jv_diagnostics.py"))["environment"] + rows: list[dict[str, Any]] = [] + for index in range(1, repetitions + 1): + directory = output / f"attempt_{index:02d}" + directory.mkdir() + report = directory / "Timing.json" + print(f"[{index}/{repetitions}] uncensored ionic child: {directory}", flush=True) + command = [sys.executable, "-m", "scripts.ci.ionic_jv_timing", "--single", str(directory)] + if curve_measurement: + command.append("--diagnostic-curve-64") + with (directory / "Timing.log").open("w") as log: + finished = subprocess.run(command, cwd=ROOT, env=environment(directory), + stdout=log, stderr=subprocess.STDOUT, check=False) + measurement = json.loads(report.read_text()) if report.exists() else { + "status": "failed", "error": "missing timing receipt", **numerical_measurements({})} + row = {"attempt": index, "exit_code": finished.returncode, "measurement": measurement, + "status": "passed" if finished.returncode == 0 and measurement["status"] == "passed" else "failed"} + rows.append(row) + summary = {**summarize(rows, curve_measurement=curve_measurement), "attempts": rows} + (output / "Summary.json").write_text(json.dumps(summary, indent=2, allow_nan=False) + "\n") + print(f"[{index}/{repetitions}] {row['status']}: {measurement.get('child_wall_seconds')} s", flush=True) + print("Ionic diagnostic timing: " + json.dumps(summarize(rows, curve_measurement=curve_measurement), sort_keys=True), flush=True) + return summary + + +def main(argv: list[str] | None = None) -> int: + parser = argparse.ArgumentParser(description=__doc__) + parser.add_argument("--repetitions", type=int, default=20) + parser.add_argument("--output-dir", type=Path) + parser.add_argument("--single", type=Path, help=argparse.SUPPRESS) + parser.add_argument("--diagnostic-curve-64", action="store_true", + help="measure the installed curve with a source-bound 64s ceiling; never recommend a limit") + args = parser.parse_args(argv) + if args.single is not None: + try: + result = measure(args.single, curve_measurement=args.diagnostic_curve_64) + except Exception as error: + result = {"status": "failed", "error": f"{type(error).__name__}: {error}", + "measurement_kind": CURVE_MEASUREMENT if args.diagnostic_curve_64 else "installed_recipe_wall_timing", + **numerical_measurements({})} + (args.single / "Timing.json").write_text(json.dumps(result, indent=2, allow_nan=False) + "\n") + return 0 if result["status"] == "passed" else 1 + if args.output_dir is None or args.repetitions < 1: + parser.error("--output-dir and a positive --repetitions are required") + return 0 if diagnose(args.repetitions, args.output_dir.resolve(), + curve_measurement=args.diagnostic_curve_64)["status"] == "passed" else 1 + + +if __name__ == "__main__": + raise SystemExit(main()) diff --git a/scripts/ci/scheduled_suite.py b/scripts/ci/scheduled_suite.py new file mode 100644 index 00000000..fbec166f --- /dev/null +++ b/scripts/ci/scheduled_suite.py @@ -0,0 +1,1163 @@ +"""Scheduled-only pytest sharding and report-only coverage, without source edits.""" +from __future__ import annotations + +import argparse +import builtins +from collections import Counter, defaultdict +from collections.abc import Iterable, Sequence +import hashlib +import importlib.util +import json +import os +from pathlib import Path +import runpy +import signal +import subprocess +import sys +import sysconfig +import time +from types import FunctionType +from typing import Any, TextIO +import xml.etree.ElementTree as ET + +# Tests deliberately patch these shared modules. Recorder calls must keep the +# originals, including the independent error encoder and already-open streams. +_RECORDER_LOADS = json.loads +_RECORDER_ERROR_QUOTE = json.encoder.encode_basestring_ascii +# JSONEncoder and even a bound json.dumps still resolve shared encoder globals. +# Clone the standard Python generator with private globals, and supply every +# serialization primitive explicitly instead of using the mutable C dispatcher. +_RECORDER_ENCODER_TEMPLATE: FunctionType = getattr(json.encoder, "_make_iterencode") +_RECORDER_MAKE_ITERENCODE = FunctionType( + _RECORDER_ENCODER_TEMPLATE.__code__, {"__builtins__": vars(builtins).copy()}, + argdefs=_RECORDER_ENCODER_TEMPLATE.__defaults__, +) +del _RECORDER_ENCODER_TEMPLATE +_RECORDER_FLOAT_REPR = float.__repr__ +_RECORDER_INFINITY = float("inf") +_RECORDER_MONOTONIC = time.monotonic +_RECORDER_GETCWD = os.getcwd +_RECORDER_OPEN = open +_RECORDER_REPLACE = os.replace +_RECORDER_FSYNC = os.fsync +_RECORDER_STDERR = os.write + + +def _recorder_floatstr(value: float) -> str: + if value != value: + return "NaN" + if value == _RECORDER_INFINITY: + return "Infinity" + if value == -_RECORDER_INFINITY: + return "-Infinity" + return _RECORDER_FLOAT_REPR(value) + + +def _recorder_json_default(value: Any) -> Any: + raise TypeError(f"Object of type {type(value).__name__} is not JSON serializable") + + +def _recorder_dumps(value: Any, *, indent: int | str | None = None, + sort_keys: bool = False) -> str: + """Match the recorder's json.dumps modes without consulting shared JSON state.""" + indentation = " " * indent if isinstance(indent, int) else indent + encode = _RECORDER_MAKE_ITERENCODE( + {}, _recorder_json_default, _RECORDER_ERROR_QUOTE, indentation, _recorder_floatstr, + ": ", ", " if indent is None else ",", sort_keys, False, True, + ) + return "".join(encode(value, 0)) + + +_RECORDER_DUMPS = _recorder_dumps + +ROOT = Path(__file__).resolve().parents[2] +SUITES = {"root": ROOT, "legacy": ROOT / "perovskite-sim"} +PACKAGE_ROOTS = { + "solarlab": "src/solarlab", + "solarlab_research": "src/solarlab_research", + "solarlab_server": "src/solarlab_server", + "perovskite_sim": "perovskite-sim/perovskite_sim", +} +# These files contain individually expensive protocols or several old producers. +# Split by test function; parameter reprs are not portable selector identities. +FUNCTION_SHARDS = { + "tests/integration/test_r1_v4_historical_evidence.py", + "tests/integration/test_physical_interface_cbo_scan.py", + "tests/regression/test_twod_validation.py", + "tests/regression/test_grading_cigs_notch.py", +} +# The integration directory took 56.8 min in run 40966847092 and timed out at +# 110 min in run 40986149015. Its slowest completed file took 11.5 min: retain +# module fixtures within each file and leave ample headroom between files. +FILE_COVERAGE_SHARDS = {"tests/integration"} +# This file stalled twice at the 110-minute step limit (runs 41239577644 and +# 41266788155). Its shared ladder also exhausts the slow sibling's 1200 s cap. +# Three default nodes plus one collection preflight use at most 80 minutes at +# that cap, leaving 30 minutes for termination, receipts and step overhead. +LEGACY_COVERAGE_NODE_SECONDS = { + "tests/integration/test_interface_flux_balance.py": 1200, +} +# Target 24 slow cases per ordinary shard, but never split a parameterized +# function. A function above this target runs alone; this is not a test limit. +MAX_SLOW_NODES = 24 +# Completed per-node durations from runs 40966847092 and 40986149015, rounded +# up to seconds. Use the file maximum for every node because separate processes +# recreate shared fixtures. Smaller files receive the 20-minute floor. +MEASURED_SLOW_NODE_SECONDS = { + "tests/integration/test_degradation_snapshot_refinement.py": 323, + "tests/integration/test_foundation_mobile_refinement.py": 1208, + "tests/integration/test_foundation_tpv_spatial_refinement.py": 2011, + "tests/integration/test_physical_interface_cbo_scan.py": 2898, + "tests/integration/test_r1_evidence_accounting_v5.py": 465, + "tests/integration/test_r1_v4_historical_evidence.py": 613, + "tests/regression/test_csi_quasi_fermi_convergence.py": 508, + "tests/regression/test_interface_balance_ridge.py": 696, + "tests/regression/test_interface_srv_grid_reference.py": 476, + "tests/regression/test_mesh_convergence.py": 304, + "tests/regression/test_symmetry.py": 317, + "tests/regression/test_twod_microstructure.py": 452, + "tests/regression/test_twod_validation.py": 1864, +} +THREADS = ( + "OMP_NUM_THREADS", "OPENBLAS_NUM_THREADS", "MKL_NUM_THREADS", + "VECLIB_MAXIMUM_THREADS", "NUMEXPR_NUM_THREADS", "BLIS_NUM_THREADS", +) +# These tests observe real child-process deadlines. Instrument the pytest +# parent, but leave the measured children in the same mode as push CI. +PARENT_ONLY_COVERAGE = { + "tests/numerical_contracts/test_g2_route_launcher.py": + "Synthetic process-group startup/closeout is measured inside a fixed wall budget.", + "tests/runtime/test_ionic_jv_job_service.py": + "The HTTP worker has a fixed 30 s wall limit; child tracing changes the measured workload.", +} + + +def read(path: str | Path) -> Any: + with _RECORDER_OPEN(path, encoding="utf-8") as stream: + return _RECORDER_LOADS(stream.read()) + + +def write(path: str | Path, value: Any) -> None: + Path(path).parent.mkdir(parents=True, exist_ok=True) + Path(path).write_text(json.dumps(value, indent=2, sort_keys=True) + "\n") + + +def sha256(path: str | Path) -> str: + return hashlib.sha256(Path(path).read_bytes()).hexdigest() + + +def function_nodeid(nodeid: str) -> str: + """Keep file/class/function identity, without machine-dependent case reprs.""" + return nodeid.partition("[")[0] + + +def function_counts(nodeids: Iterable[str]) -> Counter[str]: + return Counter(function_nodeid(nodeid) for nodeid in nodeids) + + +def function_groups(items: Iterable[dict[str, Any]]) -> list[list[dict[str, Any]]]: + groups: dict[str, list[dict[str, Any]]] = defaultdict(list) + for item in items: + groups[function_nodeid(item["nodeid"])].append(item) + return [groups[name] for name in sorted(groups)] + + +def slow_node_seconds(suite: str, path: str) -> int: + measured = MEASURED_SLOW_NODE_SECONDS.get(path, 0) if suite == "legacy" else 0 + # Four times the measured maximum, rounded to minutes, within 20-60 min. + # The largest completed case is 48.3 min; a global 4x cap would outlive the + # unchanged 110-minute workflow step and could not close a stalled node. + return max(1200, min(3600, ((4 * measured + 59) // 60) * 60)) + + +def commit() -> str: + return subprocess.check_output( + ["git", "rev-parse", "HEAD"], cwd=ROOT, text=True + ).strip() + + +def pinned_environment() -> dict[str, str]: + env = dict(os.environ) + env.update({name: "1" for name in THREADS}) + env["PYTHONDONTWRITEBYTECODE"] = "1" + env.pop("PYTHONPATH", None) + env.pop("PYTHONHOME", None) + # Each child receives this runner's explicit coverage policy, never an + # outer caller's automatic subprocess tracing configuration. + env.pop("COVERAGE_PROCESS_CONFIG", None) + env.pop("COVERAGE_PROCESS_START", None) + return env + + +def verify_installation() -> dict[str, dict[str, Any]]: + """Reject a stale local-project wheel before tracing it as current source.""" + packages = {} + for name, relative in PACKAGE_ROOTS.items(): + spec = importlib.util.find_spec(name) + if spec is None or spec.origin is None: + raise ValueError("installed package has no source origin: " + name) + installed = Path(spec.origin).resolve().parent + if not installed.is_relative_to(Path(sys.prefix).resolve()): + raise ValueError("scheduled CI requires a non-editable installation: " + name) + names = subprocess.check_output( + ["git", "ls-files", "-z", "--", relative], cwd=ROOT + ).decode().split("\0") + checked = 0 + for filename in filter(None, names): + source = ROOT / filename + target = installed / source.relative_to(ROOT / relative) + if not target.is_file() or target.read_bytes() != source.read_bytes(): + raise ValueError("installed package differs from checkout: " + filename) + checked += 1 + if not checked: + raise ValueError("empty package source inventory: " + name) + packages[name] = {"origin": str(installed), "files_verified": checked} + return packages + + +def _recorder_error_message(exc: BaseException) -> str: + try: + return str(exc) + except (KeyboardInterrupt, SystemExit): + raise + except BaseException: + return "Recorder exception could not be formatted" + + +def _recorder_error_line(event: dict[str, Any]) -> str: + """Encode flat diagnostic records without consulting JSONEncoder methods.""" + try: + fields = [] + for key, value in sorted(event.items()): + if value is None: + encoded = "null" + elif type(value) is int: + encoded = str(value) + else: + encoded = _RECORDER_ERROR_QUOTE(str(value)) + fields.append(_RECORDER_ERROR_QUOTE(key) + ": " + encoded) + return "{" + ", ".join(fields) + "}\n" + except (KeyboardInterrupt, SystemExit): + raise + except BaseException: + return '{"event":"recorder_error","stage":"error_record_encoding"}\n' + + +def _recorder_diagnostic(event: dict[str, Any]) -> None: + """A failed evidence sink must still produce a non-recursive diagnostic.""" + try: + _RECORDER_STDERR(2, ("SCHEDULED RECORDER: " + _recorder_error_line(event)).encode()) + except (KeyboardInterrupt, SystemExit): + raise + except BaseException: + pass # The caller still fails the run if even stderr is unavailable. + + +def _execution_gaps(items: list[dict[str, Any]], rows: list[dict[str, Any]], + started: set[str]) -> tuple[list[str], list[str]]: + reports: dict[str, list[dict[str, Any]]] = defaultdict(list) + for report in rows: + reports[report["nodeid"]].append(report) + missing, incomplete = [], [] + for item in items: + nodeid = item["nodeid"] + phases = {row["when"] for row in reports[nodeid]} + if nodeid not in started and not phases: + missing.append(nodeid) + continue + setup_stopped = any(row["when"] == "setup" and row["outcome"] in {"failed", "skipped"} + for row in reports[nodeid]) + required = {"setup", "teardown"} | (set() if setup_stopped else {"call"}) + if not required <= phases: + incomplete.append(nodeid) + return missing, incomplete + + +class _PytestRecorder: + def __init__(self, output: Path, expected: list[str] | None, journal: TextIO, + errors: TextIO, cwd: Path) -> None: + self.output = str(output) + self.temporary = str(output.with_suffix(output.suffix + ".tmp")) + self.cwd = cwd + self.expected = expected + self.journal_write, self.journal_flush = journal.write, journal.flush + self.error_write, self.error_flush = errors.write, errors.flush + self.error_fileno = errors.fileno + self.started = _RECORDER_MONOTONIC() + self.started_nodes: set[str] = set() + self.collection_complete = False + self.collect_only = False + self.data: dict[str, Any] = { + "items": [], "collection_reports": [], "reports": [], + "recorder_errors": [], "status": "collecting", + } + + def error(self, stage: str, exc: BaseException, nodeid: str | None = None) -> None: + event = {"event": "recorder_error", "stage": stage, "nodeid": nodeid, + "error_type": type(exc).__name__, "message": _recorder_error_message(exc)} + self.data["recorder_errors"].append(event) + # Do not retry the operation that failed or use the normal event path. + # The separate sink remains usable if the main journal itself failed. + line = _recorder_error_line(event) + for write_line, flush in ((self.journal_write, self.journal_flush), + (self.error_write, self.error_flush)): + try: + write_line(line) + flush() + except (KeyboardInterrupt, SystemExit): + raise + except BaseException: + pass + _recorder_diagnostic(event) + + def event(self, value: dict[str, Any]) -> None: + try: + self.journal_write(_RECORDER_DUMPS(value) + "\n") + self.journal_flush() + except (KeyboardInterrupt, SystemExit): + raise + except BaseException as exc: + self.error("journal", exc, value.get("nodeid")) + + def snapshot(self) -> bool: + try: + with _RECORDER_OPEN(self.temporary, "w", encoding="utf-8") as stream: + stream.write(_RECORDER_DUMPS(self.data, indent=2, sort_keys=True) + "\n") + stream.flush() + _RECORDER_FSYNC(stream.fileno()) + _RECORDER_REPLACE(self.temporary, self.output) + except (KeyboardInterrupt, SystemExit): + raise + except BaseException as exc: + self.error("snapshot", exc) + return False + return True + + def pytest_collectreport(self, report: Any) -> None: + try: + if report.failed or report.skipped: + self.data["collection_reports"].append({ + "nodeid": report.nodeid, "outcome": report.outcome, + "reason": str(report.longrepr), + }) + except (KeyboardInterrupt, SystemExit): + raise + except BaseException as exc: + self.error("collection_report", exc) + + def pytest_collection_finish(self, session: Any) -> None: + try: + import pytest + + self.collect_only = session.config.option.collectonly + self.data["items"] = [ + {"nodeid": item.nodeid, + "path": item.path.relative_to(self.cwd).as_posix(), + "markers": sorted({mark.name for mark in item.iter_markers()})} + for item in session.items + ] + selection_error = None + if self.expected is not None: + actual = function_counts(item["nodeid"] for item in self.data["items"]) + wanted = function_counts(self.expected) + if actual != wanted: + selection_error = pytest.UsageError( + "scheduled selection drift: missing=" + + repr(dict(sorted((wanted - actual).items()))) + + "; extra=" + + repr(dict(sorted((actual - wanted).items()))) + ) + if selection_error is None: + self.collection_complete = True + self.data["status"] = "running" + self.snapshot() + except (KeyboardInterrupt, SystemExit): + raise + except BaseException as exc: + self.error("collection", exc) + raise pytest.UsageError("scheduled collection could not be verified") from exc + if selection_error is not None: + # Preserve the established intentional selection refusal (exit 4). + raise selection_error + + def pytest_runtest_logstart(self, nodeid: str, location: Any) -> None: + try: + self.started_nodes.add(nodeid) + self.event({"event": "start", "nodeid": nodeid, + "seconds": _RECORDER_MONOTONIC() - self.started}) + except (KeyboardInterrupt, SystemExit): + raise + except BaseException as exc: + self.error("test_start", exc, nodeid) + + def pytest_runtest_logreport(self, report: Any) -> None: + try: + recorded = { + "nodeid": report.nodeid, "when": report.when, + "outcome": report.outcome, "duration": report.duration, + "wasxfail": getattr(report, "wasxfail", None), + } + if report.failed: + recorded["longrepr"] = str(report.longrepr) + self.data["reports"].append(recorded) + self.event({"event": "report", **recorded}) + except (KeyboardInterrupt, SystemExit): + raise + except BaseException as exc: + self.error("test_report", exc) + + def finish(self, pytest_code: int) -> int: + try: + return self._finish(pytest_code) + except (KeyboardInterrupt, SystemExit): + raise + except BaseException as exc: + self.error("session_finish", exc) + code = pytest_code or 1 + self.data.update(status="recorder_error", exit_code=code, + pytest_exit_code=pytest_code, execution_complete=False) + self.snapshot() + return code + + def _finish(self, pytest_code: int) -> int: + missing: list[str] = [] + incomplete: list[str] = [] + if not self.collect_only: + missing, incomplete = _execution_gaps(self.data["items"], self.data["reports"], self.started_nodes) + complete = self.collection_complete and not missing and not incomplete + self.data.update( + pytest_exit_code=pytest_code, not_started_nodeids=missing, + incomplete_nodeids=incomplete, collection_complete=self.collection_complete, + execution_complete=complete and not self.collect_only, + started_nodeids=sorted(self.started_nodes), + ) + try: + self.data["seconds"] = _RECORDER_MONOTONIC() - self.started + except (KeyboardInterrupt, SystemExit): + raise + except BaseException as exc: + self.error("session_clock", exc) + try: + self.error_flush() + _RECORDER_FSYNC(self.error_fileno()) + except (KeyboardInterrupt, SystemExit): + raise + except BaseException as exc: + self.error("error_sink_flush", exc) + code = pytest_code + if not complete: + status = "incomplete" + code = code or 1 + _recorder_diagnostic({"event": "incomplete", "not_started": len(missing), + "incomplete": len(incomplete), "pytest_exit_code": pytest_code}) + elif self.data["recorder_errors"]: + status, code = "recorder_error", code or 1 + else: + status = "collected" if self.collect_only else "completed" + self.data.update(status=status, exit_code=code) + if not self.snapshot(): + code = code or 1 + self.data.update(status="incomplete" if not complete else "recorder_error", exit_code=code) + self.snapshot() # A transient final-write failure must not leave a passing snapshot. + if self.data["recorder_errors"]: + # Test-time diagnostics may be captured even when the test passes. + # Repeat the failing result after pytest has released its capture. + _recorder_diagnostic({"event": "recorder_error", "stage": "session_result", + "errors": len(self.data["recorder_errors"]), "exit_code": code}) + return code + + +def pytest_session(arguments: list[str], output: Path, expected: list[str] | None = None) -> int: + """Preserve pytest results; recorder errors fail the receipt, not the test loop.""" + import pytest + + try: + cwd = Path(_RECORDER_GETCWD()) + sys.path.insert(0, str(cwd)) + output = Path(output).absolute() + output.parent.mkdir(parents=True, exist_ok=True) + # Both handles are opened before any test code or test monkeypatch runs. + with _RECORDER_OPEN(output.with_suffix(".jsonl"), "w", encoding="utf-8") as journal, \ + _RECORDER_OPEN(output.with_suffix(".recorder-errors.jsonl"), "w", encoding="utf-8") as errors: + recorder = _PytestRecorder(output, expected, journal, errors, cwd) + try: + result = pytest.main(arguments, plugins=[recorder]) + except (KeyboardInterrupt, SystemExit): + raise + except BaseException as exc: + recorder.error("pytest_session", exc) + return recorder.finish(1) + return recorder.finish(int(result)) + except (KeyboardInterrupt, SystemExit): + raise + except BaseException as exc: + _recorder_diagnostic({"event": "recorder_error", "stage": "recorder_files", + "error_type": type(exc).__name__, "message": _recorder_error_message(exc)}) + return 1 + + +def collect(suite: str, directory: Path) -> dict[str, Any]: + output = directory / (suite + "-collection.json") + command = [ + sys.executable, str(Path(__file__).resolve()), "_collect", "--out", + str(output), "--", "tests", "--collect-only", "-q", "-p", + "no:cacheprovider", "-m", "slow or not slow", + ] + with (directory / (suite + "-collection.log")).open("w") as log: + result = subprocess.run( + command, cwd=SUITES[suite], env=pinned_environment(), + stdout=log, stderr=subprocess.STDOUT, check=False, + ) + if result.returncode: + raise RuntimeError(f"{suite} collection failed; inspect {output.with_suffix('.log')}") + return read(output) + + +def make_shard(kind: str, suite: str, paths: Sequence[str], markers: str, + items: list[dict[str, Any]], name: str | None = None) -> dict[str, Any]: + key = json.dumps([kind, suite, paths], separators=(",", ":")) + identifier = name or f"{kind}-{suite}-" + hashlib.sha256(key.encode()).hexdigest()[:10] + shard: dict[str, Any] = { + "id": identifier, "suite": suite, "paths": list(paths), + "markers": markers, "nodeids": [item["nodeid"] for item in items], + "function_counts": dict(sorted(function_counts(item["nodeid"] for item in items).items())), + "count": len(items), "ignored": [], + } + if kind == "slow": + shard["node_wall_seconds"] = max(slow_node_seconds(suite, item["path"]) for item in items) + elif kind == "coverage" and suite == "legacy": + designated = [path for path in paths if path in LEGACY_COVERAGE_NODE_SECONDS] + if designated: + if len(paths) != 1: + raise ValueError("watchdog coverage requires a dedicated legacy file shard") + seconds = LEGACY_COVERAGE_NODE_SECONDS[designated[0]] + # Refuse future growth that would consume the step's safety margin. + if (len(items) + 1) * seconds > 90 * 60: + raise ValueError("coverage watchdog nodes and collection exceed 90 minutes") + shard["node_wall_seconds"] = seconds + return shard + + +def verify_partition(shards: list[dict[str, Any]], expected: Iterable[tuple[str, str]]) -> None: + actual = Counter((shard["suite"], node) for shard in shards for node in shard["nodeids"]) + wanted = Counter(expected) + if actual != wanted: + raise ValueError(f"partition mismatch: missing={wanted - actual}; extra={actual - wanted}") + owners: dict[tuple[str, str], str] = {} + for shard in shards: + for function in function_counts(shard["nodeids"]): + key = (shard["suite"], function) + if key in owners: + raise ValueError(f"test function split across shards: {key}: {owners[key]}, {shard['id']}") + owners[key] = shard["id"] + if len({shard["id"] for shard in shards}) != len(shards): + raise ValueError("duplicate shard ID") + if len(shards) > 256: + raise ValueError("GitHub matrix limit exceeded; split the workflow explicitly") + + +def build_shards(collections: dict[str, dict[str, Any]]) -> dict[str, list[dict[str, Any]]]: + policy = runpy.run_path(str(ROOT / "tests/ci/policy.py")) + import yaml + + workflow = yaml.safe_load((ROOT / ".github/workflows/ci.yml").read_text()) + slow, coverage = [], [] + expected_slow: list[tuple[str, str]] = [] + expected_default: list[tuple[str, str]] = [] + for suite, inventory in collections.items(): + by_file: dict[str, list[dict[str, Any]]] = defaultdict(list) + default_items = [] + for item in inventory["items"]: + is_slow = "slow" in item["markers"] + (expected_slow if is_slow else expected_default).append((suite, item["nodeid"])) + if is_slow: + by_file[item["path"]].append(item) + else: + default_items.append(item) + for file, items in sorted(by_file.items()): + if suite == "legacy" and (file in FUNCTION_SHARDS or file in MEASURED_SLOW_NODE_SECONDS): + chunks = function_groups(items) + elif len(items) > MAX_SLOW_NODES: + chunks = [] + chunk: list[dict[str, Any]] = [] + for group in function_groups(items): + if chunk and len(chunk) + len(group) > MAX_SLOW_NODES: + chunks.append(chunk) + chunk = [] + chunk.extend(group) + if chunk: + chunks.append(chunk) + else: + slow.append(make_shard("slow", suite, [file], "slow", items)) + continue + for chunk in chunks: + paths = sorted(function_counts(item["nodeid"] for item in chunk)) + slow.append(make_shard("slow", suite, paths, "slow", chunk)) + if suite == "root": + for selection in policy["workflow_selections"](workflow): + selected = [ + item for item in default_items + if any(item["path"] == path or item["path"].startswith(path + "/") + for path in selection.directories) + and item["path"] not in selection.ignored_files + and policy["matches"](selection.markers, set(item["markers"])) + ] + suffix = "-" + selection.isolated_group if selection.isolated_group else "" + shard = make_shard( + "coverage", suite, selection.directories, selection.markers, + selected, "coverage-root-" + selection.job + suffix, + ) + shard["ignored"] = list(selection.ignored_files) + shard["ci_job"] = selection.job + isolated = { + path: [item for item in selected if item["path"] == path] + for path in PARENT_ONLY_COVERAGE + if any(item["path"] == path for item in selected) + } + if isolated: + shard["nodeids"] = [item["nodeid"] for item in selected + if item["path"] not in isolated] + shard["count"] = len(shard["nodeids"]) + shard["function_counts"] = dict(sorted(function_counts(shard["nodeids"]).items())) + shard["ignored"] += sorted(isolated) + if shard["count"]: + coverage.append(shard) + for path, items in sorted(isolated.items()): + separate = make_shard( + "coverage", suite, [path], selection.markers, items, + shard["id"] + "-" + Path(path).stem.removeprefix("test_"), + ) + separate["ci_job"] = selection.job + separate["subprocess_coverage"] = False + separate["coverage_limitation"] = PARENT_ONLY_COVERAGE[path] + coverage.append(separate) + else: + groups = defaultdict(list) + for item in default_items: + groups[Path(item["path"]).parent.as_posix()].append(item) + for parent, items in sorted(groups.items()): + # Exact files avoid covering nested directories a second time. + files = sorted({item["path"] for item in items}) + name = "coverage-legacy-" + parent.removeprefix("tests/").replace("/", "-") + if parent in FILE_COVERAGE_SHARDS: + for file in files: + coverage.append(make_shard( + "coverage", suite, [file], "not slow", + [item for item in items if item["path"] == file], + name + "-" + Path(file).stem.removeprefix("test_"), + )) + else: + coverage.append(make_shard("coverage", suite, files, "not slow", items, name)) + verify_partition(slow, expected_slow) + verify_partition(coverage, expected_default) + return {"slow": slow, "coverage": coverage} + + +def choose(shards: list[dict[str, Any]], requested: str) -> list[dict[str, Any]]: + if requested == "all": + return list(shards) + names = requested.split(",") + if not names or any(not name.strip() for name in names): + raise ValueError("use all or comma-separated exact shard IDs") + names = [name.strip() for name in names] + if len(names) != len(set(names)): + raise ValueError("duplicate requested shard ID") + known = {shard["id"]: shard for shard in shards} + if set(names) - known.keys(): + raise ValueError(f"unknown shards: {sorted(set(names) - known.keys())}") + return [known[name] for name in names] + + +def plan(args: argparse.Namespace) -> None: + directory = args.out.resolve() + directory.mkdir(parents=True, exist_ok=True) + installation = verify_installation() + collections = {suite: collect(suite, directory) for suite in SUITES} + shards = build_shards(collections) + selected = {} + for kind in shards: + selected[kind] = choose(shards[kind], getattr(args, kind + "_shards")) + if getattr(args, "run_" + kind) == "false": + selected[kind] = [] + value = { + "schema": "solarlab.scheduled-ci-plan.v2", "commit": commit(), + "selection_identity": "test function with exact per-function case counts; raw case IDs retained as evidence", + "lock_sha256": sha256(ROOT / "uv.lock"), "thread_count": 1, + "installed_source_verification": installation, + "all_shards": shards, "selected_shards": selected, + "counts": {kind: sum(s["count"] for s in rows) for kind, rows in shards.items()}, + "collection_reports": {suite: v["collection_reports"] for suite, v in collections.items()}, + } + write(directory / "plan.json", value) + if os.environ.get("GITHUB_OUTPUT"): + with open(os.environ["GITHUB_OUTPUT"], "a") as out: + out.write(f"commit={value['commit']}\n") + for kind, rows in selected.items(): + out.write(f"{kind}_enabled={str(bool(rows)).lower()}\n") + # A dummy row keeps the matrix valid when its job is disabled. + matrix = {"include": [{"id": s["id"], "suite": s["suite"]} for s in rows] + or [{"id": "disabled", "suite": "root"}]} + out.write(f"{kind}_matrix={json.dumps(matrix, separators=(',', ':'))}\n") + print(json.dumps(value["counts"], sort_keys=True)) + for kind, rows in shards.items(): + for row in rows: + print(kind, row["id"], row["count"], *row["paths"]) + + +def coverage_config(path: Path, *, subprocesses: bool = True) -> None: + """Trace only this checkout and its installed packages, not old producer clones.""" + site = Path(sysconfig.get_paths()["purelib"]) + pairs = { + "solarlab": [ROOT / "src/solarlab", site / "solarlab"], + "perovskite_sim": [ROOT / "perovskite-sim/perovskite_sim", site / "perovskite_sim"], + } + text = "[run]\nparallel = true\n" + if subprocesses: + text += "patch = subprocess\n" + text += "sigterm = true\nsource =\n" + text += "".join(f" {p}\n" for paths in pairs.values() for p in paths) + text += "\n[paths]\n" + for name, paths in pairs.items(): + text += name + " =\n" + "".join(f" {p}\n" for p in paths) + text += "\n[report]\nshow_missing = true\n" + path.write_text(text) + + +def run_with_watchdog(command: Sequence[str], *, cwd: Path, env: dict[str, str], + log: Path, seconds: float) -> dict[str, Any]: + """Bound one owned process group; a timeout is never an expected failure.""" + started = time.monotonic() + with Path(log).open("w") as stream: + process = subprocess.Popen(command, cwd=cwd, env=env, stdout=stream, + stderr=subprocess.STDOUT, start_new_session=True) + timed_out = False + try: + process.wait(timeout=seconds) + except subprocess.TimeoutExpired: + timed_out = True + try: + os.killpg(process.pid, signal.SIGTERM) + except ProcessLookupError: + pass + try: + process.wait(timeout=1) + except subprocess.TimeoutExpired: + pass + # A descendant may ignore TERM even when its parent has exited. + try: + os.killpg(process.pid, signal.SIGKILL) + except ProcessLookupError: + pass + process.wait() + return {"returncode": process.returncode, "timeout": timed_out, + "seconds": time.monotonic() - started} + + +def watchdog_failure(suites: ET.Element, nodeid: str, outcome: str, seconds: float, + message: str) -> dict[str, Any]: + suite = ET.SubElement(suites, "testsuite", name="scheduled-watchdog", tests="1", + failures="1", errors="0", skipped="0", time=str(seconds)) + case = ET.SubElement(suite, "testcase", classname=nodeid.partition("::")[0], + name=nodeid.partition("::")[2], time=str(seconds)) + ET.SubElement(case, "failure", type=outcome, message=message).text = message + return {"nodeid": nodeid, "when": "watchdog", "outcome": outcome, + "duration": seconds, "wasxfail": None, "longrepr": message} + + +def run_slow_nodes(shard: dict[str, Any], out: Path, env: dict[str, str], + result: dict[str, Any], *, node_runner: Sequence[str] | None = None) -> int: + """Verify function counts, then run each worker-local case under a watchdog.""" + seconds = shard["node_wall_seconds"] + cwd = SUITES[shard["suite"]] + runner = [sys.executable, str(Path(__file__).resolve())] + execution_runner = runner if node_runner is None else node_runner + # A designated coverage node dumps every thread's stack before its kill, + # so a stalled legacy fixture leaves the stall's location in its log. + dump_seconds = None if node_runner is None else max(seconds - 60, seconds / 2) + stack_dump = [] if dump_seconds is None else ["-o", f"faulthandler_timeout={dump_seconds:g}"] + selection = [*shard["paths"], "-m", shard["markers"], "-q", "-ra", "-p", "no:cacheprovider"] + for ignored in shard["ignored"]: + selection += ["--ignore", ignored] + # Only locally collected parameter IDs are executable selectors. The plan + # is checked first using every function and its exact number of cases. + collected = out / "collection.json" + preflight = run_with_watchdog( + [*runner, "_collect", "--out", str(collected), "--expected", str(out / "expected.json"), + "--", *selection, "--collect-only"], cwd=cwd, env=env, + log=out / "pytest.log", seconds=seconds, + ) + suites = ET.Element("testsuites") + if preflight["timeout"] or preflight["returncode"]: + outcome = "timeout" if preflight["timeout"] else "failed" + report = watchdog_failure(suites, shard["id"] + "::", outcome, + preflight["seconds"], "Scheduled slow collection did not complete successfully") + write(out / "tests.json", {"items": [], "reports": [report], "status": "incomplete", + "collection_complete": False, "execution_complete": False, + "not_started_nodeids": read(out / "expected.json"), + "exit_code": preflight["returncode"] or 1}) + ET.ElementTree(suites).write(out / "junit.xml", encoding="utf-8", xml_declaration=True) + return preflight["returncode"] or 1 + inventory = read(collected) + aggregate: dict[str, Any] = { + "items": inventory["items"], "collection_reports": inventory["collection_reports"], + "reports": [], "node_outcomes": [], "status": "running", + } + scope = "scheduled slow only" if node_runner is None else "designated legacy coverage file" + result["watchdog"] = {"node_wall_seconds": seconds, "scope": scope, + "isolation": "one process per locally collected case; shared fixtures recreated"} + if dump_seconds is not None: + result["watchdog"]["stack_dump_seconds"] = dump_seconds + write(out / "result.json", result) + failed = False + started = time.monotonic() + with (out / "tests.jsonl").open("w") as journal, (out / "pytest.log").open("a") as log: + for index, item in enumerate(inventory["items"]): + nodeid = item["nodeid"] + node_out = out / "nodes" / f"{index:04d}" + node_out.mkdir(parents=True) + write(node_out / "expected.json", [nodeid]) + journal.write(json.dumps({"event": "start", "nodeid": nodeid}) + "\n") + journal.flush() + executed = run_with_watchdog( + [*execution_runner, "_pytest", "--out", str(node_out / "tests.json"), + "--expected", str(node_out / "expected.json"), "--", nodeid, + "-m", shard["markers"], "-q", "-ra", "-p", "no:cacheprovider", *stack_dump, + "--junitxml=" + str(node_out / "junit.xml")], + cwd=cwd, env=env, log=node_out / "pytest.log", seconds=seconds, + ) + log.write(f"\n=== {nodeid} ===\n" + (node_out / "pytest.log").read_text()) + reports, receipt_errors = [], [] + if (node_out / "tests.jsonl").is_file(): + for number, line in enumerate((node_out / "tests.jsonl").read_text().splitlines(), 1): + try: + row = json.loads(line) + if row.get("event") == "report": + reports.append(row) + except (ValueError, AttributeError) as exc: + # The watchdog may interrupt a write. Preserve the + # timeout and continue; a torn receipt is never a pass. + receipt_errors.append(f"journal line {number}: {exc}") + child, child_xml = None, None + if not executed["timeout"]: + try: + child = read(node_out / "tests.json") + child_xml = ET.parse(node_out / "junit.xml").getroot() + if child.get("status") != "completed" or child.get("exit_code") != executed["returncode"]: + raise ValueError("incomplete or inconsistent node receipt") + except (OSError, ValueError, ET.ParseError) as exc: + receipt_errors.append(str(exc)) + if executed["timeout"]: + outcome = "timeout" + message = f"Scheduled node exceeded its {seconds:g} s wall cap (startup/setup/call/teardown)" + reports.append(watchdog_failure(suites, nodeid, outcome, executed["seconds"], message)) + log.write(f"TIMEOUT {nodeid}: {message}\n") + failed = True + elif receipt_errors: + recorder_failed = child is not None and child.get("status") == "recorder_error" + outcome = "recorder_error" if recorder_failed else "failed" + reports.append(watchdog_failure(suites, nodeid, outcome, executed["seconds"], + "Scheduled node recorder error" if recorder_failed else + "Scheduled node exited without complete test receipts")) + failed = True + else: + assert child is not None and child_xml is not None + reports = child["reports"] + suites.extend(list(child_xml) if child_xml.tag == "testsuites" else [child_xml]) + outcome = "failed" if executed["returncode"] else "passed" + if not executed["returncode"] and any(r["outcome"] == "skipped" for r in reports): + outcome = "xfailed" if any(r.get("wasxfail") for r in reports) else "skipped" + failed |= bool(executed["returncode"]) + node_result = {"nodeid": nodeid, "outcome": outcome, + "receipt_errors": receipt_errors, **executed} + aggregate["reports"].extend(reports) + aggregate["node_outcomes"].append(node_result) + journal.write(json.dumps({"event": "outcome", **node_result}) + "\n") + journal.flush() + log.flush() + write(out / "tests.json", aggregate) + ET.ElementTree(suites).write(out / "junit.xml", encoding="utf-8", xml_declaration=True) + aggregate.update(status="completed", exit_code=int(failed), seconds=time.monotonic() - started) + write(out / "tests.json", aggregate) + return int(failed) + + +def _coverage_receipt(out: Path, expected: list[str], exit_code: int) -> dict[str, Any]: + """A clean process exit cannot certify an absent or unfinished test ledger.""" + errors = [] + items = [{"nodeid": nodeid} for nodeid in expected] + reports: list[dict[str, Any]] = [] + started: set[str] = set() + try: + child = read(out / "tests.json") + collected = child["items"] + if function_counts(item["nodeid"] for item in collected) != function_counts(expected): + errors.append("planned versus collected function counts differ") + else: + items = collected + reports = child["reports"] + if child.get("status") != "completed" or child.get("exit_code") != exit_code: + errors.append("missing or inconsistent final recorder status/exit code") + if not child.get("collection_complete") or not child.get("execution_complete"): + errors.append("recorder did not certify collection and execution completeness") + if child.get("recorder_errors"): + errors.append("recorder errors were reported") + started.update(child.get("started_nodeids", [])) + except (OSError, ValueError, TypeError, KeyError, AttributeError) as exc: + errors.append("test receipt: " + str(exc)) + try: + journal_reports = [] + for line in (out / "tests.jsonl").read_text().splitlines(): + row = json.loads(line) + if row.get("event") == "start": + started.add(row["nodeid"]) + elif row.get("event") == "report": + journal_reports.append(row) + # A hard exit may leave the JSON snapshot at collection while the + # journal still distinguishes started/partial from never-started nodes. + if errors: + reports = journal_reports + except (OSError, ValueError, TypeError, KeyError, AttributeError) as exc: + errors.append("test journal: " + str(exc)) + try: + missing, incomplete = _execution_gaps(items, reports, started) + unexpected = sorted({row["nodeid"] for row in reports} - {item["nodeid"] for item in items}) + if unexpected: + errors.append("unplanned executed nodes: " + repr(unexpected)) + except (ValueError, TypeError, KeyError) as exc: + errors.append("test phases: " + str(exc)) + missing, incomplete = expected, [] + if missing or incomplete: + errors.append("missing complete outcomes for planned nodes") + return {"receipt_complete": not errors, "receipt_errors": errors, + "not_started_nodeids": missing, "incomplete_nodeids": incomplete, + "pytest_process_exit_code": exit_code} + + +def _watchdog_coverage_receipt(out: Path, expected: list[str], exit_code: int) -> dict[str, Any]: + """A parent timeout closes a node; every other node still needs its full receipt.""" + errors: list[str] = [] + nodeids = expected + started: set[str] = set() + closed: set[str] = set() + try: + aggregate = read(out / "tests.json") + local = [item["nodeid"] for item in aggregate["items"]] + if function_counts(local) != function_counts(expected): + errors.append("planned versus collected function counts differ") + else: + nodeids = local + if aggregate.get("status") != "completed" or aggregate.get("exit_code") != exit_code: + errors.append("missing or inconsistent final watchdog status/exit code") + outcomes = aggregate.get("node_outcomes", []) + if [row["nodeid"] for row in outcomes] != local: + errors.append("missing or inconsistent watchdog node outcomes") + journal = [json.loads(line) for line in (out / "tests.jsonl").read_text().splitlines()] + starts = [row["nodeid"] for row in journal if row.get("event") == "start"] + started.update(starts) + if Counter(starts) != Counter(local): + errors.append("missing or duplicate watchdog journal starts") + terminal_rows = [{key: value for key, value in row.items() if key != "event"} + for row in journal if row.get("event") == "outcome"] + if terminal_rows != outcomes: + errors.append("watchdog journal outcomes differ from the aggregate receipt") + cases = ET.parse(out / "junit.xml").findall(".//testcase") + merged = 0 + for index, row in enumerate(outcomes): + nodeid = row["nodeid"] + node = out / "nodes" / f"{index:04d}" + labelled = [report for report in aggregate["reports"] + if report["nodeid"] == nodeid and report["when"] == "watchdog"] + if labelled: + merged += 1 + else: + # pytest may write two testcases for one node: a failed call + # and a teardown error. Count the child's own JUnit instead. + try: + count = len(ET.parse(node / "junit.xml").findall(".//testcase")) + except (OSError, ET.ParseError): + count = 0 + merged += count + if not count: + errors.append(nodeid + ": child JUnit has no testcase") + if row["timeout"] and row["outcome"] == "timeout": + failures = [case for case in cases + if case.get("classname", "") + "::" + case.get("name", "") == nodeid + and case.find("failure[@type='timeout']") is not None] + if (len(labelled) == len(failures) == 1 and labelled[0]["outcome"] == "timeout" + and exit_code != 0): + closed.add(nodeid) + else: + errors.append(nodeid + ": incomplete timeout receipt or passing timeout") + else: + receipt = _coverage_receipt(node, [nodeid], row["returncode"]) + if receipt["receipt_complete"] and not row["receipt_errors"]: + closed.add(nodeid) + else: + errors.append(nodeid + ": incomplete child receipt") + if len(cases) != merged: + errors.append("watchdog JUnit testcases differ from the node receipts") + except (OSError, ValueError, TypeError, KeyError, AttributeError, ET.ParseError) as exc: + errors.append("watchdog receipt: " + str(exc)) + missing = [nodeid for nodeid in nodeids if nodeid not in started] + incomplete = [nodeid for nodeid in nodeids if nodeid in started and nodeid not in closed] + if missing or incomplete: + errors.append("missing complete outcomes for planned nodes") + return {"receipt_complete": not errors, "receipt_errors": errors, + "not_started_nodeids": missing, "incomplete_nodeids": incomplete, + "watchdog_exit_code": exit_code} + + +def run_shard(args: argparse.Namespace) -> int: + value = read(args.plan) + if value["commit"] != commit() or value["lock_sha256"] != sha256(ROOT / "uv.lock"): + raise ValueError("plan source/lock does not match this immutable job checkout") + shard = next(row for row in value["selected_shards"][args.kind] if row["id"] == args.shard) + out = args.out.resolve() + out.mkdir(parents=True, exist_ok=True) + write(out / "expected.json", shard["nodeids"]) + result: dict[str, Any] = { + "shard": shard, "commit": value["commit"], "status": "started", + "plan_sha256": sha256(args.plan), "coverage_data": False, + } + write(out / "result.json", result) + result["installed_source_verification"] = verify_installation() + write(out / "result.json", result) + env = pinned_environment() + if shard.get("ci_job"): + env["PYTEST_CI_JOB"] = shard["ci_job"] + if args.kind == "coverage" and shard.get("ci_job") == "core": + # Live reference loaders require classes from this exact checkout. + # Audit the non-editable installation above before binding only the + # pytest child to the same bytes, as the core push job already does. + env["PYTHONPATH"] = str(ROOT / "src") + result["execution_source"] = str(ROOT / "src") + pytest_args = [ + *shard["paths"], "-m", shard["markers"], "-q", "-ra", "-p", + "no:cacheprovider", "--durations=0", "--junitxml=" + str(out / "junit.xml"), + ] + for ignored in shard["ignored"]: + pytest_args += ["--ignore", ignored] + command = [sys.executable] + if args.kind == "coverage": + config = out / "coverage.ini" + result["subprocess_coverage"] = shard.get("subprocess_coverage", True) + coverage_config(config, subprocesses=result["subprocess_coverage"]) + env["COVERAGE_FILE"] = str(out / "coverage.data") + command += ["-m", "coverage", "run", "--rcfile=" + str(config), + "--parallel-mode", "--context=" + shard["id"]] + node_runner = [*command, str(Path(__file__).resolve())] + command += [ + str(Path(__file__).resolve()), "_pytest", "--out", str(out / "tests.json"), + "--expected", str(out / "expected.json"), "--", *pytest_args, + ] + started = time.monotonic() + if args.kind == "slow": + returncode = run_slow_nodes(shard, out, env, result) + else: + if "node_wall_seconds" in shard: + returncode = run_slow_nodes(shard, out, env, result, node_runner=node_runner) + receipt = _watchdog_coverage_receipt(out, shard["nodeids"], returncode) + else: + with (out / "pytest.log").open("w") as log: + executed = subprocess.run(command, cwd=SUITES[shard["suite"]], env=env, + stdout=log, stderr=subprocess.STDOUT, check=False) + returncode = executed.returncode + receipt = _coverage_receipt(out, shard["nodeids"], returncode) + result.update(receipt) + if not receipt["receipt_complete"]: + returncode = returncode or 1 + with (out / "pytest.log").open("a") as log: + log.write("\nSCHEDULED INCOMPLETE RECEIPT: " + json.dumps(receipt, sort_keys=True) + "\n") + result.update( + status="passed" if returncode == 0 else "failed", + exit_code=returncode, seconds=time.monotonic() - started, + coverage_data=bool(list(out.glob("coverage.data.*"))), + ) + write(out / "result.json", result) + print((out / "pytest.log").read_text()) + return returncode + + +def combine(args: argparse.Namespace) -> None: + from coverage import Coverage + + value = read(args.plan) + out = args.out.resolve() + out.mkdir(parents=True, exist_ok=True) + installation = verify_installation() + directories = sorted({path.parent for path in args.data.rglob("coverage.data.*")}) + found = {read(path)["shard"]["id"]: read(path) for path in args.data.rglob("result.json")} + selected = value["selected_shards"]["coverage"] + complete = ( + len(selected) == len(value["all_shards"]["coverage"]) + and all(found.get(row["id"], {}).get("status") == "passed" + and found[row["id"]].get("coverage_data") for row in selected) + ) + status = {"schema": "solarlab.coverage-report-scope.v1", "commit": value["commit"], + "installed_source_verification": installation, + "report_only": True, "fail_under": None, "full_default_run_passed": complete, + "selected_shards": [row["id"] for row in selected], "shard_results": found, + "limits": ["Python processes using -S may disable startup instrumentation.", + "Historical producer clones and temporary release installations are outside the source filter.", + "Original explicit skips and strict expected failures remain visible in JUnit."]} + write(out / "scope.json", status) + if not directories: + raise RuntimeError("no coverage data was produced; the report is incomplete") + if value["commit"] != commit(): + raise ValueError("coverage report checkout differs from plan source") + for row in found.values(): + if row["commit"] != value["commit"] or row["plan_sha256"] != sha256(args.plan): + raise ValueError("cannot combine data from a different source or plan") + config = out / "coverage.ini" + coverage_config(config) + cov = Coverage(data_file=str(out / "coverage.data"), config_file=str(config)) + cov.combine(data_paths=[str(path) for path in directories], strict=True, keep=True) + cov.save() + cov.xml_report(outfile=str(out / "coverage.xml")) + cov.json_report(outfile=str(out / "coverage.json")) + cov.html_report(directory=str(out / "html")) + with (out / "coverage.txt").open("w") as stream: + cov.report(file=stream) + print((out / "coverage.txt").read_text()) + print(json.dumps({"full_default_run_passed": complete, "report_only": True})) + + +def main() -> int: + parser = argparse.ArgumentParser(description=__doc__) + sub = parser.add_subparsers(dest="command", required=True) + command = sub.add_parser("plan") + command.add_argument("--out", type=Path, required=True) + for kind in ("slow", "coverage"): + command.add_argument("--run-" + kind, choices=("true", "false"), default="true") + command.add_argument("--" + kind + "-shards", default="all") + command = sub.add_parser("run") + command.add_argument("--plan", type=Path, required=True) + command.add_argument("--kind", choices=("slow", "coverage"), required=True) + command.add_argument("--shard", required=True) + command.add_argument("--out", type=Path, required=True) + command = sub.add_parser("combine") + command.add_argument("--plan", type=Path, required=True) + command.add_argument("--data", type=Path, required=True) + command.add_argument("--out", type=Path, required=True) + for name in ("_collect", "_pytest"): + command = sub.add_parser(name) + command.add_argument("--out", type=Path, required=True) + command.add_argument("--expected", type=Path) + command.add_argument("pytest_args", nargs=argparse.REMAINDER) + args = parser.parse_args() + if args.command in ("_collect", "_pytest"): + arguments = args.pytest_args + if arguments and arguments[0] == "--": + arguments = arguments[1:] + return pytest_session(arguments, args.out, read(args.expected) if args.expected else None) + if args.command == "plan": + plan(args) + elif args.command == "run": + return run_shard(args) + else: + combine(args) + return 0 + + +if __name__ == "__main__": + raise SystemExit(main()) diff --git a/scripts/generate_configuration_schema.py b/scripts/generate_configuration_schema.py new file mode 100644 index 00000000..30b036ea --- /dev/null +++ b/scripts/generate_configuration_schema.py @@ -0,0 +1,68 @@ +"""Generate or check the prepared TypeScript schema DATA from this checkout. + +Run with the project's locked Python environment. No device, catalogue or solver +is constructed; caller-specific StructuredSchema records use the Python API. +""" + +from __future__ import annotations + +import argparse +import json +from pathlib import Path +import sys + +ROOT = Path(__file__).resolve().parents[1] +sys.path.insert(0, str(ROOT / "src")) + +from solarlab.config.schema import ( # noqa: E402 + configuration_schema_representation, export_configuration_schema, +) + +DEFAULT_OUTPUT = ROOT / "web/src/generated/configuration-schema.ts" + + +def render() -> bytes: + data, digest = configuration_schema_representation() + document = json.dumps(json.loads(data), indent=2, + sort_keys=True, ensure_ascii=True, allow_nan=False) + return ( + "// Generated by scripts/generate_configuration_schema.py; do not edit.\n" + "// DATA only: this typeof is not an Input/Resolved/Result wire type.\n" + "// Each schema owns its $defs/$ref scope; backend validators are authoritative.\n" + "// StructuredSchema metadata is caller-supplied through the Python API.\n" + f"export const configurationSchema = {document} as const;\n\n" + f'export const configurationSchemaSha256 = "{digest}";\n\n' + "export type ConfigurationSchemaMetadata = typeof configurationSchema;\n" + ).encode("utf-8") + + +def main(argv: list[str] | None = None) -> int: + parser = argparse.ArgumentParser(description=__doc__) + parser.add_argument("--check", action="store_true", + help="fail if output is absent or differs; never write") + parser.add_argument("--output", type=Path, default=DEFAULT_OUTPUT) + parser.add_argument("--json", action="store_true", + help="write the public metadata bundle as JSON to stdout") + args = parser.parse_args(argv) + if args.json: + if args.check or args.output != DEFAULT_OUTPUT: + parser.error("--json writes stdout and cannot use --check or --output") + print(json.dumps(export_configuration_schema(), sort_keys=True, + ensure_ascii=True, allow_nan=False)) + return 0 + expected = render() + if args.check: + if not args.output.is_file() or args.output.read_bytes() != expected: + print(f"stale or missing configuration schema: {args.output}", + file=sys.stderr) + return 1 + print(f"configuration schema is current: {args.output}") + return 0 + args.output.parent.mkdir(parents=True, exist_ok=True) + args.output.write_bytes(expected) + print(f"generated configuration schema: {args.output}") + return 0 + + +if __name__ == "__main__": + raise SystemExit(main()) diff --git a/scripts/test_all.py b/scripts/test_all.py new file mode 100644 index 00000000..bac73f08 --- /dev/null +++ b/scripts/test_all.py @@ -0,0 +1,147 @@ +"""Run the ordinary root CI pytest selections in separate developer processes. + +The parent imports no pytest or numerical packages: pool RSS includes its +process family. CI's policy owns selection, marker and isolation decisions. +""" +from __future__ import annotations + +import argparse +from collections import Counter +from dataclasses import asdict +import json +import os +from pathlib import Path +import runpy +import shlex +import subprocess +import sys +import time +from typing import Any +import xml.etree.ElementTree as ET + + +ROOT = Path(__file__).resolve().parents[1] +THREADS = ( + "OMP_NUM_THREADS", "OPENBLAS_NUM_THREADS", "MKL_NUM_THREADS", + "VECLIB_MAXIMUM_THREADS", "NUMEXPR_NUM_THREADS", "BLIS_NUM_THREADS", +) +OUTCOMES = ("passed", "failed", "errors", "skipped", "xfailed") +LEGACY = "legacy suite: not part of the green claim" + + +def selections(root: Path) -> tuple[Any, ...]: + import yaml + + policy = runpy.run_path(str(root / "tests/ci/policy.py")) + workflow = yaml.safe_load((root / ".github/workflows/ci.yml").read_text()) + groups = policy["workflow_selections"](workflow) + exclusions = json.loads((root / "tests/ci/exclusions.json").read_text()) + audit = policy["audit"](root, groups, exclusions) + if not groups or audit["uncovered_files"]: + raise ValueError("CI selections leave root tests uncovered: " + repr(audit["uncovered_files"])) + return groups + + +def environment(selection: Any) -> dict[str, str]: + result = dict(os.environ) + # An enclosing pytest command or shell must not alter CI selection/ownership + # or redirect imports away from the developer's active installation. + for name in ("PYTEST_ADDOPTS", "PYTEST_CI_JOB", "PYTEST_CI_ISOLATED_GROUP", "PYTHONPATH", "PYTHONHOME"): + result.pop(name, None) + result.update({name: "1" for name in THREADS}) + result.update(PYTEST_CI_JOB=selection.job, PYTHONDONTWRITEBYTECODE="1", PYTHONUNBUFFERED="1") + if selection.isolated_group is not None: + result["PYTEST_CI_ISOLATED_GROUP"] = selection.isolated_group + return result + + +def result_counts(path: Path) -> dict[str, int]: + counts = dict.fromkeys(OUTCOMES, 0) + # Count top-level cases, not testsuite.tests, which also includes subtests + # in pytest 9. Xfails (strict marks and runtime xfails) remain visible as their own outcome. + for case in ET.parse(path).getroot().iter("testcase"): + skipped = case.find("skipped") + if case.find("error") is not None: + outcome = "errors" + elif case.find("failure") is not None: + outcome = "failed" + elif skipped is not None: + outcome = "xfailed" if skipped.get("type") == "pytest.xfail" else "skipped" + else: + outcome = "passed" + counts[outcome] += 1 + return counts + + +def run_groups(root: Path, groups: tuple[Any, ...], output: Path) -> list[dict[str, Any]]: + output.mkdir(parents=True, exist_ok=True) + rows = [] + for index, group in enumerate(groups, 1): + label = group.job + ("/" + group.isolated_group if group.isolated_group else "") + report = output / f"selection_{index}.xml" + report.unlink(missing_ok=True) + command = [sys.executable, "-m", "pytest", "-q", "-ra", "-p", "no:cacheprovider", + *group.directories, "-m", group.markers, "--durations=20", "--junitxml=" + str(report)] + for path in group.ignored_files: + command.extend(("--ignore", path)) + print(f"\n[{index}/{len(groups)}] {label}: {shlex.join(command)}", flush=True) + started = time.monotonic() + row: dict[str, Any] = {"selection": asdict(group), "command": command, "junitxml": str(report)} + try: + result = subprocess.run(command, cwd=root, env=environment(group), check=False) + row["exit_code"] = result.returncode + row["counts"] = result_counts(report) + row["status"] = "passed" if (result.returncode == 0 + and not row["counts"]["failed"] and not row["counts"]["errors"]) else "failed" + except (OSError, ET.ParseError) as error: + row.update(status="failed", error=str(error)) + row["seconds"] = time.monotonic() - started + rows.append(row) + return rows + + +def summarize(rows: list[dict[str, Any]], *, error: str | None = None) -> dict[str, Any]: + jobs: dict[str, dict[str, Any]] = {} + for row in rows: + job = jobs.setdefault(row["selection"]["job"], {"status": "passed", "counts": Counter(), "processes": 0}) + job["counts"].update(row.get("counts", {})) + job["processes"] += 1 + if row["status"] != "passed": + job["status"] = "failed" + status = "passed" if rows and error is None and all(row["status"] == "passed" for row in rows) else "failed" + totals: Counter[str] = Counter() + print("\nRoot CI pytest summary", flush=True) + for name, job in jobs.items(): + totals.update(job["counts"]) + counts = ", ".join(f"{job['counts'][key]} {key}" for key in OUTCOMES) + print(f"{name}: {job['status'].upper()} — {counts} ({job['processes']} processes)") + if error is not None: + print(error) + for row in rows: + if row.get("error"): + print(f"{row['selection']['job']}: {row['error']}") + print(f"Overall: {status.upper()} — " + ", ".join(f"{totals[key]} {key}" for key in OUTCOMES)) + print(LEGACY, flush=True) + return {"status": status, "python": sys.executable, "python_version": sys.version, + "counts": dict(totals), "jobs": jobs, "selections": rows, "error": error, "legacy": LEGACY} + + +def main(argv: list[str] | None = None) -> int: + parser = argparse.ArgumentParser(description=__doc__) + parser.add_argument("--output-dir", type=Path, default=ROOT / "outputs/test_all", + help="JUnit reports and the final summary.json (default: outputs/test_all)") + args = parser.parse_args(argv) + output = args.output_dir.resolve() + output.mkdir(parents=True, exist_ok=True) + try: + rows = run_groups(ROOT, selections(ROOT), output) + except (OSError, ValueError) as error: + summary = summarize([], error=str(error)) + else: + summary = summarize(rows) + (output / "summary.json").write_text(json.dumps(summary, indent=2) + "\n") + return 0 if summary["status"] == "passed" else 1 + + +if __name__ == "__main__": + raise SystemExit(main()) diff --git a/src/solarlab/__init__.py b/src/solarlab/__init__.py new file mode 100644 index 00000000..3728ef9b --- /dev/null +++ b/src/solarlab/__init__.py @@ -0,0 +1,3 @@ +"""Public core namespace for SolarLab.""" + +__all__: tuple[str, ...] = () diff --git a/src/solarlab/config/__init__.py b/src/solarlab/config/__init__.py new file mode 100644 index 00000000..ecfd1b50 --- /dev/null +++ b/src/solarlab/config/__init__.py @@ -0,0 +1,3 @@ +"""Explicit configuration preparation; no legacy or numerical activation.""" + +__all__: tuple[str, ...] = () diff --git a/src/solarlab/config/behavior.py b/src/solarlab/config/behavior.py new file mode 100644 index 00000000..e45c241a --- /dev/null +++ b/src/solarlab/config/behavior.py @@ -0,0 +1,641 @@ +"""Source-bound inspection of three historical drivers, without importing them. + +This is preparation metadata, not a replacement physics schema or an executor. +Source-derived branch decisions and actually captured numerical preparations +occupy separate fields. Neither a source digest nor a capture certifies a solve. +Only the audited source revision below and the two reviewed SCAPS captures are +understood; other revisions need a new inspection rule, not a permissive flag. +""" + +from __future__ import annotations + +import ast +import base64 +from dataclasses import dataclass, field +import hashlib +import json +import math +import re +from typing import Any, Literal + +from solarlab.config.legacy_defaults import read_legacy_default_catalog +from solarlab.config.model_parameters import device_topology +from solarlab.config.resolve_device import resolve_device +from solarlab.config.scaps_input import import_scaps_device +from solarlab.device.resolved import PreparedDevice +from solarlab.materials.source import SourceDocument +from solarlab.physics.selection import Selection + +__all__ = ["BehaviorContext", "CapturedPreparation", "behavior_source_requirements", + "inspect_historical_behavior", "inspect_r1_material_behavior"] + +Driver = Literal["scaps_transient", "scaps_steady_state", "ion_hysteresis"] +_SCHEMA = "solarlab.historical-behavior-preparation.v1" +# Source identities of the inspected branches, not a table of physical defaults. +_PINS = { + "models/mode.py": "7464cf8619401997206fed5b23cded0a361ab6064f6b06a2449fb9f13a700688", + "models/device.py": "abedb9e39655a5b54997968a7bfa4d1664b7493475dc8e7c55fffa68195330b9", + "models/parameters.py": "0555a6c9280431889b34328bf1e513c7e6d6789368ea858ff3e1ea5a60db7d9d", + "models/defects.py": "0bf3cedd435ff8259fb436bbcfcfa3aa586bdee50f89caba161e162c6913159f", + "models/tandem_config.py": "9aaf4e1fb87f43950c96cabe0ac309cd3416673848b80889fc366be32ad2b595", + "physics/statistics.py": "f790b5df608ec54ff64ebd1a3203bcec0a00d1bfbc2677a29ccd34208fc29a01", + "physics/band_gap_narrowing.py": "ee7fe97002c19364750f4aa07be1dc150c2acb450ad74ee637d5b8cc783e0a78", + "constants.py": "9ae428b44bbe5f475b638d9c3339e69930249e2b1c39ba0acbfd0764fcaade76", + "twod/microstructure.py": "60d06d32976305a4c29b04e7f46188e8a916e007048a9c6507c680e6d4b6ab35", + "solver/mol.py": "1c02ff41356cfaf75245e3e9e3a0101064d43a766e9e416053ea1e75ef54b61a", + "solver/newton.py": "db4c2096108f7c6820dc900ea14bb03cd780d29212ad0fdedd290db84c95d3c2", + "solver/illuminated_ss.py": "489d3d68dc7e2a6877bc10d91152cf8504f6b878c2a32b19a622f9cf4c1aede7", + "experiments/jv_sweep.py": "428fbe1c421192e2495ac94fa171df42f2be94dca7733b7a5ab2e07a9628ef96", + "experiments/steady_state.py": "55580e14e075de0596e2a8e6e55e0a16f2c9581be380f2bb3bacbae2b5d1edbd", + "experiments/waveform_jv.py": "cac7648c136190db6bca65697cdb3200ab7b57e81787736a67d706cda333d1e7", + "physics/contacts.py": "a8bc9a2938bd979ea9a5265af8785480b554ef723d4968b0ffdced8b8231709b", + "physics/thermionic_transport.py": "996e4f1d46a10740a28f133a549ef7a2e190e72c0986b7a420a7c8f3fcfdca3d", + "physics/ion_migration.py": "19c0b83485c5e1b61dce5ad8fc05b75202a40c383d964cd4bcf38889a5cbda35", + "physics/field_mobility.py": "62ea0880e8aa05cf90dc0928f6bae7aec2caa132d69338661bff856a4d441737", + "physics/photon_recycling.py": "cda651b7fdd7c202ed308d3a0e063c1cedc4ea76d7b0ef61db65e9ffcdc3d9f9", + "physics/optical_stack.py": "ef897393af20ce1a3a096e6db2d3a9b3482ca590ad71a294057124ceb6746543", + "scaps_compat/loader.py": "a03a31b81497df6118592aebce7000befaa1d5de787ad989d880c263000e0cd6", +} +_DRIVERS = { + "scaps_transient": ("experiments/jv_sweep.py", "run_jv_sweep"), + "scaps_steady_state": ("experiments/steady_state.py", "solve_voc_ss"), + "ion_hysteresis": ("experiments/waveform_jv.py", "run_waveform_jv"), +} +# Setting / environment aliases from build_material_arrays. Only the first +# four are suppressed by LEGACY; the interface switches are not mode ceilings. +_SWITCHES = { + "band_grading": "SOLARLAB_BAND_GRADING", + "dos_band_potentials": "SOLARLAB_DOS_BAND", + "te_physical_norm": "SOLARLAB_TE_PHYSICAL", + "ion_steric_diffusion_only": "SOLARLAB_ION_STERIC_DIFF", + "interface_plane_projection": "SOLARLAB_IFACE_PROJ", + "interface_two_sided": "SOLARLAB_IFACE_TWOSIDED", + "interface_shared_occupancy": "SOLARLAB_IFACE_SHARED_OCC", + "interface_plane_closure": "SOLARLAB_IFACE_PLANE", + "interface_plane_generation": "SOLARLAB_IFACE_PLANE_GEN", + "interface_tunneling": "SOLARLAB_IFACE_TUNNEL", +} +_ENV_NAMES = frozenset(_SWITCHES.values()) | { + "SOLARLAB_INTERFACE_PLANE_STATE", "SOLARLAB_SS_JAC_REUSE", + "SOLARLAB_SS_GUMMEL", + "SOLARLAB_QSS_VTH", "SOLARLAB_IFACE_QSS", "SOLARLAB_IFACE_ALLOW_GEN", + "PEROVSKITE_RHS_FINITE_CHECK", +} +_CAPTURES = { + "solarlab.scaps-driver-preparation.v1": ( + "1568beb08b8ee4cd0d8cb4ddf809efef41203bbc02c9c189228cd3142e73612e", + "2e15784a745c9ff85e31519b88ac14e1253616bda07e79a41fadbcd4ceb21772"), + "solarlab.scaps-conditioning-capture.v1": ( + "75c87559093307475857d71f4800bb89cf021fc180cf704df5da3765dd4ed51d", + "55aa71d7915e522160ec0eef076bbe98986094ce6756502870575118a373b635"), +} +_CASE_SHA = "7204498a03f0257722256216ab1cfd55457beb85b324dbbe1a81337b1a82e7d5" +_CATALOG_SOURCES = ("models/parameters.py", "models/device.py", "models/defects.py", "physics/statistics.py", + "physics/band_gap_narrowing.py", "scaps_compat/loader.py", "constants.py", + "twod/microstructure.py", "models/tandem_config.py") + +_R1_PINS = { + "experiments/one_dimensional_mechanism_r1.py": "637bc790dc09ec0632b733bc72e3fdcacf20dc017efc88a8fafed7dd927fb116", + "experiments/one_dimensional_mechanism_r1_backend.py": "630c2a686547e269ee406ba301bb44b078de0c2a939ab5f377784d4bf77badb9", + "experiments/quasi_fermi_steady_state.py": "f8fc4b1f4274fd154e956b42d2d0d715c4b8045ec84ee50de2798023e5b14fc4", + "physics/interface_plane.py": "7e8e9344d8f96b04b565986879ad9c67bd36d54afa3de90ee39de264a44f9dee", + "physics/physical_control_volume.py": "7ab20365a9f857169a8b9e2beb3a00c5129440e934e7f9875595c85413dec245", +} + + +def behavior_source_requirements(*, driver: str | None = None) -> tuple[tuple[str, str], ...]: + """Explicit relative legacy-source IDs and audited byte digests to supply.""" + if driver == "r1_material": + return tuple(sorted({**_PINS, **_R1_PINS}.items())) + if driver is not None and driver not in _DRIVERS: + raise ValueError("unknown historical behavior source domain") + return tuple(sorted(_PINS.items())) + + +def _bytes(value: Any) -> bytes: + return json.dumps(value, sort_keys=True, separators=(",", ":"), allow_nan=False).encode() + + +def _mapping(source: SourceDocument) -> dict[str, Any]: + if type(source) is not SourceDocument: + raise ValueError("an immutable SourceDocument is required") + def unique(pairs: list[tuple[str, Any]]) -> dict[str, Any]: + result = dict(pairs) + if len(result) != len(pairs): + raise ValueError("duplicate JSON member") + return result + value = json.loads(source.content, object_pairs_hook=unique) + if not isinstance(value, dict): + raise ValueError("a JSON object is required") + _bytes(value) # Reject nonfinite JSON numbers, without converting scalar types. + return value + + +def _binding(source: SourceDocument) -> dict[str, str]: + return {"id": source.id, "sha256": source.sha256} + + +def _tree(sources: dict[str, SourceDocument], path: str) -> ast.Module: + return ast.parse(sources[path].content, filename=path) + + +def _literal(tree: ast.Module, name: str, owner: str | None = None) -> Any: + body = tree.body if owner is None else next( + item.body for item in tree.body if isinstance(item, ast.ClassDef) and item.name == owner) + for node in body: + if isinstance(node, ast.Assign) and any(isinstance(t, ast.Name) and t.id == name for t in node.targets): + return ast.literal_eval(node.value) + if isinstance(node, ast.AnnAssign) and isinstance(node.target, ast.Name) and node.target.id == name and node.value is not None: + return ast.literal_eval(node.value) + raise ValueError(f"missing audited source literal: {owner}.{name}") + + +def _import_setting(tree: ast.Module, name: str, environment: dict[str, str | None]) -> bool | float: + """Evaluate only the four audited env.get import assignments, from source.""" + expression = next(node.value for node in tree.body if isinstance(node, ast.Assign) + and any(isinstance(target, ast.Name) and target.id == name for target in node.targets)) + if isinstance(expression, ast.Call) and isinstance(expression.func, ast.Name) and expression.func.id == "float" and len(expression.args) == 1: + numeric, call = True, expression.args[0] + elif isinstance(expression, ast.Compare): + numeric, call = False, expression.left + else: + raise ValueError("audited import-time environment assignment changed") + if (not isinstance(call, ast.Call) or not isinstance(call.func, ast.Attribute) + or call.func.attr != "get" or not isinstance(call.func.value, ast.Attribute) + or call.func.value.attr != "environ" or len(call.args) != 2 or call.keywords): + raise ValueError("audited import-time environment expression changed") + key, default = (ast.literal_eval(node) for node in call.args) + if key not in _ENV_NAMES or type(default) is not str: + raise ValueError("audited import-time environment source is incomplete") + supplied = environment.get(key) + value = default if supplied is None else supplied + if numeric: + number = float(value) + if not math.isfinite(number): + raise ValueError(f"{key} must produce a finite import-time value") + return number + if not isinstance(expression, ast.Compare) or len(expression.ops) != 1 or len(expression.comparators) != 1: + raise ValueError("audited import-time comparison changed") + target = ast.literal_eval(expression.comparators[0]) + if isinstance(expression.ops[0], ast.Eq): + return value == target + if isinstance(expression.ops[0], ast.NotEq): + return value != target + raise ValueError("unsupported audited import-time comparison") + + +def _import_policy(sources: dict[str, SourceDocument], environment: dict[str, str | None]) -> dict[str, Any]: + steady, mol = _tree(sources, "experiments/steady_state.py"), _tree(sources, "solver/mol.py") + return { + "ss_jacobian_reuse": _import_setting(steady, "_SS_JAC_REUSE", environment), + "ss_gummel": _import_setting(steady, "_SS_GUMMEL", environment), + "rhs_finite_check": _import_setting(mol, "_RHS_FINITE_CHECK", environment), + "QSS_velocity_override_text": environment.get("SOLARLAB_QSS_VTH"), + "QSS_velocity_effective_m_s": _import_setting(mol, "_QSS_V_TH_MS", environment), + "binding": "supplied snapshot must precede any future isolated old import", + } + + +def _signature(tree: ast.Module, name: str) -> dict[str, Any]: + fn = next(node for node in tree.body if isinstance(node, ast.FunctionDef) and node.name == name) + pairs = list(zip(fn.args.args[-len(fn.args.defaults):], fn.args.defaults)) if fn.args.defaults else [] + pairs.extend((arg, default) for arg, default in zip(fn.args.kwonlyargs, fn.args.kw_defaults) if default is not None) + result = {} + for arg, default in pairs: + try: + result[arg.arg] = ast.literal_eval(default) + except ValueError: + # Waveform atol is symbolic. Its actual supplied control is required. + if not (name == "run_waveform_jv" and arg.arg == "atol"): + raise ValueError(f"unsupported source default: {name}.{arg.arg}") from None + return result + + +def _mode(sources: dict[str, SourceDocument], mode: str) -> dict[str, Any]: + for node in _tree(sources, "models/mode.py").body: + if isinstance(node, ast.Assign) and any(isinstance(t, ast.Name) and t.id == mode.upper() for t in node.targets): + if isinstance(node.value, ast.Call): + return {str(kw.arg): ast.literal_eval(kw.value) for kw in node.value.keywords} + raise ValueError("unsupported historical mode") + + +def _material_switches( + settings: dict[str, Any], environment: dict[str, str | None], sources: dict[str, SourceDocument], +) -> tuple[dict[str, Any], dict[str, bool]]: + """Shared, source-pinned build_material_arrays gates, including R1's base.""" + ceilings = _mode(sources, settings["mode"]) + flags = {name: bool(settings[name] or environment.get(key) == "1") for name, key in _SWITCHES.items()} + for name in ("band_grading", "dos_band_potentials", "te_physical_norm", "ion_steric_diffusion_only"): + flags[name] = flags[name] and settings["mode"] != "legacy" + flags["interface_plane_generation"] &= flags["interface_plane_closure"] + flags["interface_tunneling"] &= ceilings["use_thermionic_emission"] and settings["mode"] != "legacy" + return ceilings, flags + + +def _environment(entries: tuple[tuple[str, str | None], ...]) -> tuple[tuple[str, str | None], ...]: + if not isinstance(entries, tuple) or any(type(p) is not tuple or len(p) != 2 for p in entries): + raise ValueError("environment requires an explicit immutable snapshot of pairs") + if len({p[0] for p in entries}) != len(entries): + raise ValueError("duplicate environment key") + if any(name not in _ENV_NAMES or value is not None and type(value) is not str for name, value in entries): + raise ValueError("unsupported environment key or non-string value") + return tuple(sorted(entries)) + + +def _verify_words(value: Any, *, schema: str, path: tuple[str, ...] = ()) -> None: + """Validate capture words in place; never turn an array into decimal text.""" + if isinstance(value, dict): + if set(value) == {"binary64_hex"}: + # The sole reviewed nonfinite scalar is the step-limit sentinel; + # permit it only at that exact schema/path, never in physical data. + word = value["binary64_hex"] + if type(word) is not str or float.fromhex(word).hex() != word: + raise ValueError("invalid captured scalar word") + sentinel = (schema == "solarlab.scaps-conditioning-capture.v1" + and path == ("boundary_call", "effective_arguments", "max_step") and word == "inf") + if not math.isfinite(float.fromhex(word)) and not sentinel: + raise ValueError("nonfinite scalar outside the reviewed max_step sentinel") + if "bytes_b64" in value: + if set(value) != {"dtype", "shape", "bytes_b64", "sha256"}: + raise ValueError("unsupported captured array encoding") + dtype = re.fullmatch(r"[<>=|][fiub](1|2|4|8)", value["dtype"]) + if dtype is None or any(type(n) is not int or n < 0 for n in value["shape"]): + raise ValueError("unsupported captured dtype or shape") + raw = base64.b64decode(value["bytes_b64"], validate=True) + if len(raw) != math.prod(value["shape"]) * int(dtype.group(1)) or hashlib.sha256(raw).hexdigest() != value["sha256"]: + raise ValueError("captured array words do not match shape/digest") + for key, item in value.items(): + _verify_words(item, schema=schema, path=(*path, key)) + elif isinstance(value, list): + for index, item in enumerate(value): + _verify_words(item, schema=schema, path=(*path, str(index))) + + +def _scalars(value: Any) -> Any: + if isinstance(value, dict): + if set(value) == {"binary64_hex"}: + return float.fromhex(value["binary64_hex"]) + return {key: _scalars(item) for key, item in value.items()} + if isinstance(value, list): + return [_scalars(item) for item in value] + return value + + +@dataclass(frozen=True, slots=True) +class CapturedPreparation: + """The independently reviewed scaps_base outer or conditioning snapshot. + + Inputs are explicit bytes; no archive path is discovered or loaded. Pins + are from the independent capture reviews. This intentionally rejects new + captures until their schema, source and input relationships are reviewed. + """ + + result: SourceDocument + freeze: SourceDocument + case: SourceDocument + + def __post_init__(self) -> None: + result = _mapping(self.result) + if result.get("schema") not in _CAPTURES: + raise ValueError("unsupported captured preparation") + if (self.result.sha256, self.freeze.sha256) != _CAPTURES[result["schema"]] or self.case.sha256 != _CASE_SHA: + raise ValueError("capture or case differs from independently reviewed bytes") + frozen = _mapping(self.freeze)["source_sha256"] + if any(frozen.get("perovskite-sim/perovskite_sim/" + path) != digest for path, digest in _PINS.items()): + raise ValueError("captured source revision is outside the inspected domain") + _verify_words(result, schema=result["schema"]) + + def inspect(self, driver: Driver, device: PreparedDevice, arguments: dict[str, Any]) -> dict[str, Any]: + if driver == "ion_hysteresis": + raise ValueError("SCAPS evidence cannot stand in for an ion trajectory") + expected = resolve_device(import_scaps_device(self.case, id=device.to_input().id, defaults=device.defaults), + device.defaults, device.resources, sources=(self.case,)) + if device.input_json != expected.input_json: + raise ValueError("captured input does not match the prepared device") + result, frozen = _mapping(self.result), _mapping(self.freeze) + allowed_resources = set(frozen["source_sha256"].values()) + if any(row["source_sha256"] not in allowed_resources for row in device.values["resource_bindings"]): + raise ValueError("captured resource contents do not match prepared inputs") + if result["schema"] == "solarlab.scaps-driver-preparation.v1": + name = {"scaps_transient": "historical_transient_full_scan", "scaps_steady_state": "historical_interface_state_Voc"}[driver] + record, = [item for item in result["records"] if item["driver"] == name] + bound = {k: v for k, v in record["effective_bound_signature"].items() if k != "stack"} + payload = {"record": record, "scope": result["scope"], "head": result["head"], + "electronic_solver_calls_executed": result["electronic_solver_calls_executed"]} + else: + if driver != "scaps_transient": + raise ValueError("conditioning capture belongs only to the transient driver") + bound = {k: v for k, v in result["driver_call"]["effective_arguments"].items() if k != "stack"} + payload = {key: result[key] for key in ("objects", "driver_call", "precondition_call", "seed_call", + "boundary_call", "boundary_identity_checks", "seed_layout", "seed_has_independent_phi_block", + "scope", "stop_reason", "head", "comparison")} + if _bytes(arguments) != _bytes(_scalars(bound)): + raise ValueError("captured driver arguments do not match source inspection") + return {"result": _binding(self.result), "freeze": _binding(self.freeze), "input": _binding(self.case), + "historical_source_identity": frozen["source_identity"], + "recorded_environment": frozen.get("environment_observations"), + "unrecorded_environment": "unknown; supplied inspection snapshot is not historical environment proof", + "payload": payload, + "normalization_gap": "New exact-unit/parser values are not substituted for historical material words; glass incoherence and sub-ulp unit differences remain explicit."} + + +def _arguments(driver: Driver, source: SourceDocument, sources: dict[str, SourceDocument]) -> tuple[dict[str, Any], dict[str, Any]]: + supplied = _mapping(source) + path, function = _DRIVERS[driver] + defaults = _signature(_tree(sources, path), function) + if driver == "ion_hysteresis": + # These are the original saved frontend request.params, not a new RunSpec. + required = {"waveform", "waveform_controls", "N_grid", "n_points", "v_rate", "V_max", "illuminated"} + allowed = set(defaults) | required | {"solver", "iface_states", "interface_boundary", "interface_transport_model"} + if required - supplied.keys() or supplied.keys() - allowed: + raise ValueError("ion inspection requires the explicit saved waveform and controls") + for key, expected in (("solver", "transient"), ("iface_states", False), ("interface_boundary", False)): + if key in supplied and (type(supplied[key]) is not type(expected) or supplied[key] != expected): + raise ValueError("saved request selects a different historical driver") + wf, controls = supplied["waveform"], supplied["waveform_controls"] + wf_keys = {"schema_version", "start_voltage_V", "dark_seed_s", "dark_prep_s", "branch_dwell_s", + "turnaround_s", "turnaround_dark", "uniform_generation_rate_m3_s"} + if not isinstance(wf, dict) or set(wf) != wf_keys or type(wf["schema_version"]) is not int or wf["schema_version"] != 1: + raise ValueError("unsupported waveform declaration") + if not isinstance(controls, dict) or set(controls) != {"rtol", "atol_m3"}: + raise ValueError("explicit density controls are required") + if type(wf["turnaround_dark"]) is not bool: + raise ValueError("turnaround_dark must be boolean") + for key in wf_keys - {"schema_version", "turnaround_dark"}: + val = wf[key] + if val is None and key == "uniform_generation_rate_m3_s": + continue + if type(val) not in {int, float} or not math.isfinite(val) or key != "start_voltage_V" and val < 0: + raise ValueError("invalid waveform quantity") + defaults.update(rtol=controls["rtol"], atol=controls["atol_m3"]) + elif supplied.keys() - defaults.keys(): + raise ValueError("unknown driver argument") + effective = {**defaults, **supplied} + for key in ("N_grid", "n_points", "v_max_max_attempts"): + if key in effective and (type(effective[key]) is not int or effective[key] < 1): + raise ValueError(f"{key} requires a positive integer") + for key in ("rtol", "atol", "v_rate", "tol_v"): + if key in effective and (type(effective[key]) not in {int, float} or not math.isfinite(effective[key]) or effective[key] <= 0): + raise ValueError(f"{key} requires a positive finite number") + for key in ("V_max", "V_lo", "V_hi"): + if key in effective and effective[key] is not None and (type(effective[key]) not in {int, float} or not math.isfinite(effective[key])): + raise ValueError(f"{key} requires a finite voltage or its declared sentinel") + for key, value in defaults.items(): + if type(value) is bool and type(effective[key]) is not bool: + raise ValueError(f"{key} requires boolean, not zero/null") + for key in ("rhs_regularization", "progress", "fixed_generation", "experiment_protocol"): + if effective.get(key) is not None: + raise ValueError(f"supplied {key} is outside this inspection domain") + return supplied, effective + + +@dataclass(frozen=True, slots=True) +class BehaviorContext: + """Independent immutable context built from actual prepared public inputs. + + The environment argument is a complete snapshot for this scoped inspection: + unlisted reviewed keys are unset. It never reads or changes process globals. + Raw sources/capture words are exact; normalized configuration follows the + existing configuration contract, including its normalized positive zero. + Selection is bound, not claimed equivalent to the historical mechanisms. + """ + + driver: Driver + device: PreparedDevice + selection: Selection + sources: tuple[SourceDocument, ...] + environment: tuple[tuple[str, str | None], ...] + arguments: SourceDocument + capture: CapturedPreparation | None = None + _document: bytes = field(init=False, repr=False) + + def __post_init__(self) -> None: + if self.driver not in _DRIVERS or type(self.device) is not PreparedDevice or type(self.selection) is not Selection: + raise ValueError("an inspected driver, actual PreparedDevice and Selection are required") + if self.selection.topology != device_topology(self.device): + raise ValueError("selection topology does not match prepared device") + supplied_sources = tuple(self.sources) + if any(type(source) is not SourceDocument for source in supplied_sources): + raise ValueError("behavior sources must be immutable documents") + sources = {source.id: source for source in supplied_sources} + if len(sources) != len(supplied_sources) or set(sources) != set(_PINS) or any(sources[p].sha256 != h for p, h in _PINS.items()): + raise ValueError("exact audited behavior sources are required") + environment = _environment(self.environment) + env = dict(environment) + supplied, arguments = _arguments(self.driver, self.arguments, sources) + device = self.device.to_mapping() + settings = device["settings"] + if device["grain_boundaries"] or device.get("tunnelling_channels") or settings["interface_charge_closure"] != "off": + raise ValueError("complex/charged devices require a separate historical inspection") + if any(layer.cigs_graded_optics_json is not None or layer.metastable_document_json is not None + or layer.defect_model != "effective_lifetime" for layer in self.device.layers): + raise ValueError("extended material models require a separate historical inspection") + if any(dict(layer.parameters)["carrier_statistics"] != "maxwell_boltzmann" for layer in self.device.layers): + raise ValueError("carrier statistics are outside the audited driver subset") + ceilings, flags = _material_switches(settings, env, sources) + mol = _tree(sources, "solver/mol.py") + steady = _tree(sources, "experiments/steady_state.py") + softness = (_literal(steady, "_TE_SOFTNESS") if self.driver == "scaps_steady_state" + else _literal(mol, "te_softness", "MaterialArrays")) + contact_tree = _tree(sources, "physics/contacts.py") + contact_fn = next(n for n in contact_tree.body if isinstance(n, ast.FunctionDef) and n.name == "resolved_contact_velocities") + flat_velocity = next(ast.literal_eval(n.body) for n in ast.walk(contact_fn) if isinstance(n, ast.IfExp)) + contacts = [] + for contact in device["contacts"]: + for carrier in ("n", "p"): + original = contact["S_" + carrier] + effective = flat_velocity if settings["flat_band_contacts"] and original is None else original + if not settings["flat_band_contacts"] and not ceilings["use_selective_contacts"]: + effective = None + contacts.append({"side": contact["side"], "carrier": carrier, "configured_S_m_s": original, + "effective_S_m_s": effective, "condition": "density_dirichlet" if effective is None else + "blocking_robin" if effective == 0 else "finite_exchange_robin"}) + state_requested = env.get("SOLARLAB_INTERFACE_PLANE_STATE") == "1" or arguments.get("iface_states", False) + interfaces = [] + for interface in device["interfaces"]: + if interface["electrical"]: + defect = interface.get("defect") + if defect is not None: + base, state = defect["calibration_factor"], defect["iface_state_calibration_factor"] + interfaces.append({"id": interface["id"], "base_calibration": base, "state_calibration": state, + "calibration_if_plane_exists": base * state if self.driver == "scaps_steady_state" and arguments["iface_states"] else base, + "normalized_capture_velocities_m_s": interface["microscopic_capture_velocities_m_s"]}) + ions, incoherence = [], [] + raw_layers = json.loads(self.device.input_json)["layers"] + legacy_incoherent = _literal(_tree(sources, "models/parameters.py"), "incoherent", "MaterialParams") + for raw, layer in zip(raw_layers, self.device.layers): + params = dict(layer.parameters) + incoherence.append({"layer": layer.id, "normalized_configured": params["incoherent"], + "historical_loader_value": legacy_incoherent if raw.get("parameterization") == "scaps" else params["incoherent"]}) + if layer.role == "substrate": + continue + for species, suffix in (("positive", ""), ("negative", "_neg")): + enabled = species == "positive" or ceilings["use_dual_ions"] + diffusion, population = params["D_ion" + suffix], params["P0" + suffix] + ions.append({"layer": layer.id, "species": species, "D_reference_m2_s": diffusion, + "configured_initial_population_m3": population, "enabled_by_mode": enabled, + "seed_population_and_fixed_background_m3": population if enabled else 0.0, + "diffusion_status": "disabled_by_mode" if not enabled else "frozen_zero_diffusion" if diffusion == 0 else "temperature_scaled_not_evaluated", + "inventory_status": "zero_population_and_background" if not enabled or population == 0 else "population_and_equal_opposite_background_retained"}) + optical_data = bool(device["resource_bindings"]) + tmm_eligible = ceilings["use_tmm_optics"] and optical_data + waveform = arguments.get("waveform") + generation_override = waveform["uniform_generation_rate_m3_s"] if waveform is not None else None + preconditioning = _signature(_tree(sources, "solver/illuminated_ss.py"), "solve_illuminated_ss") + preparation = {"method": "steady_carrier_newton_with_bounded_transient_fallback" if self.driver == "scaps_steady_state" else + "finite_time_waveform_from_analytic_seed" if self.driver == "ion_hysteresis" else + "finite_illuminated_preconditioning" if arguments["illuminated"] else "analytic_seed_only", + "solver_executed": False, "converged_state_observed": False, + "seed": "quasi_neutral_n_p_clipped_then_ohmic_overrides_and_StateVec_pack; no Poisson/Newton state solve", + "actual_driver_arguments": arguments} + if self.driver == "scaps_transient" and arguments["illuminated"]: + preparation["preconditioner"] = {**preconditioning, "V_app": 0.0, "rtol": arguments["rtol"], "atol": arguments["atol"]} + preparation["material_ownership"] = "outer, independent inner preconditioner, independent seed material; outer not forwarded" + inspection = { + "mode_ceiling": ceilings, "switches": flags, + "switch_scope": "resolved requests; face/DOS/parameter activation remains conditional, including interface_tunneling's nonempty capped-face gate", + "interface_state_requested": state_requested, + "interface_state_count": {"status": "unobserved", "reason": "requires actual interface partitions; a gate is not a state count"}, + "interface_state_shared_occupancy_if_enabled": self.driver == "scaps_steady_state" and arguments.get("iface_states", False), + "interfaces": interfaces, "contacts": contacts, "ions": ions, + "ion_flux_label": "diffusion_only" if flags["ion_steric_diffusion_only"] else "whole_flux", + "te": {"softness": softness, "cap": "hard_direction_preserving_magnitude_min" if softness == 0 else "legacy_logistic_magnitude_blend", + "requested_physical_normalization": flags["te_physical_norm"], + "normalization": "unobserved_face_activation_and_DOS; disabled / legacy_density_weighted / physical_dos_normalized / legacy_fallback_missing_dos remain distinct"}, + "optics": {"generation": "uniform_absorber_override" if generation_override is not None else "TMM_eligible_unobserved" if tmm_eligible else "Beer_Lambert", + "uniform_generation_m3_s": generation_override, "incoherence": incoherence, + "resources": device["resource_bindings"], + "recycling": "disabled_without_TMM_data" if not tmm_eligible else + "uniform_absorber_nonlocal_RR_eligible_unobserved" if ceilings["use_radiative_reabsorption"] else "escape_scaled_B_eligible_unobserved"}, + "electrostatics": {"configured_V_bi": settings["V_bi"], "configured_potential_mode": settings["built_in_potential_mode"], + "signed_V_bi_eff": {"status": "unobserved"}, "signed_V_bi_bc": {"status": "unobserved"}, + "rule": "compatibility None retains distinct band-derived operating value and signed manual-magnitude BC; explicit modes share the selected value; BC drop is V_bi_bc - junction_polarity*V_app"}, + "import_time_policy": _import_policy(sources, env), + "runtime_interface_requests": {"qss": env.get("SOLARLAB_IFACE_QSS") == "1", + "allow_generation": env.get("SOLARLAB_IFACE_ALLOW_GEN") == "1", + "scope": "conditional on actual interface/phi; no RHS is evaluated"}, + "preparation": preparation, + } + captured = None + if self.capture is not None: + if type(self.capture) is not CapturedPreparation: + raise ValueError("reviewed captured preparation required") + catalog = read_legacy_default_catalog(tuple(sources[path] for path in _CATALOG_SOURCES)) + if self.device.defaults.content_sha256 != catalog.content_sha256: + raise ValueError("captured default catalog does not match prepared inputs") + captured = self.capture.inspect(self.driver, self.device, arguments) + payload = captured["payload"] + if "objects" in payload: + material = payload["objects"]["inner_material"]["value"]["fields"] + else: + record = payload["record"] + material = record["boundary_calls"][0]["kwargs"].get("mat", record["preparation"][0]["material"])["fields"] + gate_fields = {"te_physical_norm": "te_physical_norm", "ion_steric_diffusion_only": "ion_steric_diffusion_only", + "interface_plane_projection": "iface_plane_projection", "interface_two_sided": "iface_two_sided", + "interface_shared_occupancy": "iface_shared_occ", "interface_plane_closure": "iface_plane_closure", + "interface_plane_generation": "iface_plane_generation"} + if any(flags[name] != material[key] for name, key in gate_fields.items()) or state_requested != (material["N_iface_state"] > 0): + raise ValueError("captured effective gates conflict with the supplied inspection snapshot") + document = {"schema": _SCHEMA, "version": 1, "status": "prepared_pending_dependencies", "can_execute": False, + "driver": self.driver, "driver_source": {"path": _DRIVERS[self.driver][0], "function": _DRIVERS[self.driver][1]}, + "prepared_device_sha256": self.device.content_sha256, "normalized_supplied": json.loads(self.device.input_json), + "input_sources": device["input_sources"], "default_catalog": device["default_catalog"], + "layer_parameter_origins": [{"id": row["id"], "provenance": row["provenance"]} for row in device["layers"]], + "selection": self.selection.export(), "selection_sha256": self.selection.content_sha256, + "sources": [_binding(sources[path]) for path in sorted(sources)], + "environment_supplied": dict(environment), "environment_effective_snapshot": {key: env.get(key) for key in sorted(_ENV_NAMES)}, + "arguments_source": _binding(self.arguments), "arguments_supplied": supplied, + "source_inspection": inspection, "captured_preparation": captured, + "normalization_policy": "existing normalized configuration; original SourceDocument bytes and captured binary64/array words retained exactly", + "unresolved": ["historical_behavior_to_selected_model_equivalence", "complete_P03_04_migration_and_G3", + "uncaptured_material_arrays_and_optical_algebra", "signed_contact_potential_without_capture", + "general_driver_and_import_environment_replay", "quantitative_old_new_comparison", + *device["capability_gaps"]]} + if self.driver == "ion_hysteresis": + document["unresolved"].append("original_ion_run_effective_flags_not_recoverable_from_saved_request_alone") + object.__setattr__(self, "sources", tuple(sources[path] for path in sorted(sources))) + object.__setattr__(self, "environment", environment) + object.__setattr__(self, "_document", _bytes(document)) + + @property + def content_sha256(self) -> str: + return hashlib.sha256(self._document).hexdigest() + + def export(self) -> dict[str, Any]: + """A detached JSON inspection; mutations cannot affect another context.""" + return json.loads(self._document) + + +def inspect_historical_behavior( + device: PreparedDevice, selection: Selection, *, driver: Driver, + sources: tuple[SourceDocument, ...], environment: tuple[tuple[str, str | None], ...], + arguments: SourceDocument, capture: CapturedPreparation | None = None, +) -> BehaviorContext: + return BehaviorContext(driver, device, selection, sources, environment, arguments, capture) + + +def inspect_r1_material_behavior( + device: PreparedDevice, *, sources: tuple[SourceDocument, ...], + environment: tuple[tuple[str, str | None], ...], backend: str | None = None, +) -> dict[str, Any]: + """Inspect the actual R1 material overrides and inherited import settings. + + This deliberately does not reuse a SCAPS driver label or construct an R1 + state. Full raw input/source bindings remain visible; material and history + qualification belong to their existing independent consumers. + """ + if type(device) is not PreparedDevice: + raise ValueError("R1 inspection requires an actual prepared device") + documents = tuple(sources) + if any(type(source) is not SourceDocument for source in documents): + raise ValueError("R1 inspection requires immutable source documents") + by_id = {source.id: source for source in documents} + required = dict(behavior_source_requirements(driver="r1_material")) + if len(by_id) != len(documents) or set(by_id) != set(required) or any(by_id[name].sha256 != digest for name, digest in required.items()): + raise ValueError("exact audited R1 behavior sources are required") + snapshot = dict(_environment(environment)) + tree = _tree(by_id, "experiments/one_dimensional_mechanism_r1.py") + builder = next(node for node in tree.body if isinstance(node, ast.FunctionDef) and node.name == "build_r1_material") + replacement = next(node for node in ast.walk(builder) if isinstance(node, ast.Call) + and isinstance(node.func, ast.Name) and node.func.id == "replace") + overrides = {} + for keyword in replacement.keywords: + if isinstance(keyword.value, ast.Name) and keyword.value.id == "FERMI_DIRAC_RICHARDSON": + value = _literal(_tree(by_id, "physics/interface_plane.py"), keyword.value.id) + else: + value = ast.literal_eval(keyword.value) + overrides[keyword.arg] = value + qf = _tree(by_id, "experiments/quasi_fermi_steady_state.py") + charge_off = next(node for node in qf.body if isinstance(node, ast.FunctionDef) and node.name == "_research_charge_off_stack") + closure = next(ast.literal_eval(keyword.value) for node in ast.walk(charge_off) if isinstance(node, ast.Call) + for keyword in node.keywords if keyword.arg == "interface_charge_closure") + backend_tree = _tree(by_id, "experiments/one_dimensional_mechanism_r1_backend.py") + representations = {target.id: ast.literal_eval(node.value.args[0]) for node in backend_tree.body + if isinstance(node, ast.Assign) and isinstance(node.value, ast.Call) + and isinstance(node.value.func, ast.Name) and node.value.func.id == "R1Backend" + for target in node.targets if isinstance(target, ast.Name)} + if backend is None or backend in ("legacy", "float64", representations["LEGACY"]): + selected_backend = representations["LEGACY"] + elif backend in ("pair", representations["PAIR"]): + selected_backend = representations["PAIR"] + else: + raise ValueError("unrecognized R1 numerical backend") + data = device.to_mapping() + return { + "schema": "solarlab.r1-material-behavior-inspection.v1", "can_execute": False, + "driver": "r1_material", "driver_source": "experiments/one_dimensional_mechanism_r1.py#build_r1_material", + "prepared_device_sha256": device.content_sha256, "input_sources": data["input_sources"], + "declared_interface_charge_closure": data["settings"]["interface_charge_closure"], + "material_interface_charge_closure": closure, + "physical_geometry": _literal(_tree(by_id, "physics/physical_control_volume.py"), "PHYSICAL_GEOMETRY_V1"), + "material_overrides": overrides, + "ions": [{"layer": layer.id, "D_reference_m2_s": dict(layer.parameters)["D_ion"], + "configured_inventory_m3": dict(layer.parameters)["P0"], + "zero_diffusion_retains_inventory": dict(layer.parameters)["D_ion"] == 0} + for layer in device.layers if layer.role != "substrate"], + "backend_requested": backend, "backend_representation": selected_backend, + "environment_effective_snapshot": {name: snapshot.get(name) for name in sorted(_ENV_NAMES)}, + "import_time_policy": _import_policy(by_id, snapshot), + "sources": [_binding(by_id[name]) for name in sorted(by_id)], + "unperformed": ["material_array_construction", "R1_state_preparation", "R1_step_or_history", "new_core_equivalence"], + } diff --git a/src/solarlab/config/defect_documents.py b/src/solarlab/config/defect_documents.py new file mode 100644 index 00000000..42c00bb8 --- /dev/null +++ b/src/solarlab/config/defect_documents.py @@ -0,0 +1,30 @@ +"""Explicit data-only import of the existing metastable documents. + +This is a preparation API for the programmatic document consumers. It does not +add metastable keys to the legacy device YAML, backend or frontend routes. +""" + +from __future__ import annotations + +from solarlab.config.device_import import _keys, _mapping, _sequence +from solarlab.config.yaml import load_yaml_mapping +from solarlab.device.defects import MetastableDocumentInput, MetastablePreparationInput +from solarlab.materials.source import SourceDocument + + +def import_metastable_document(source: SourceDocument) -> MetastableDocumentInput: + raw = load_yaml_mapping(source.content) + fields = {"schema_version", "defect_model", "metastable_defects"} + _keys(raw, fields, fields, "metastable_document") + species = [] + for i, value in enumerate(_sequence(raw["metastable_defects"], "metastable_defects")): + item = _mapping(value, f"metastable_defects[{i}]") + species.append({"id": f"metastable_{i}", **item}) + names = [item.get("name") for item in species] + if len(names) != len(set(names)): + raise ValueError("legacy metastable species names must be unique") + return MetastableDocumentInput.model_validate({**raw, "metastable_defects": species}) + + +def import_metastable_preparation(source: SourceDocument) -> MetastablePreparationInput: + return MetastablePreparationInput.model_validate(load_yaml_mapping(source.content)) diff --git a/src/solarlab/config/device_import.py b/src/solarlab/config/device_import.py new file mode 100644 index 00000000..75b1f3d9 --- /dev/null +++ b/src/solarlab/config/device_import.py @@ -0,0 +1,217 @@ +"""Explicit standard-input preparation; no file discovery or active migration.""" + +from __future__ import annotations + +from collections.abc import Mapping +from typing import Any + +from solarlab.config.legacy_fields import retained_legacy_fields +from solarlab.config.yaml import load_yaml_mapping +from solarlab.device.defaults import DefaultCatalog +from solarlab.device.defects import MULTIVALENT_VERSION +from solarlab.device.inputs import DeviceInput +from solarlab.device.settings import DeviceSettingsInput +from solarlab.materials.full_parameters import FullParameterInput +from solarlab.materials.source import SourceDocument +from solarlab.units import normalize_quantity + +__all__ = ["import_standard_device"] + + +def _mapping(value: object, path: str) -> dict[str, Any]: + if not isinstance(value, Mapping) or any(not isinstance(key, str) for key in value): + raise ValueError(f"{path}: expected a string-keyed mapping") + return dict(value) + + +def _sequence(value: object, path: str) -> tuple[Any, ...]: + if not isinstance(value, (list, tuple)): + raise ValueError(f"{path}: expected an explicit sequence") + return tuple(value) + + +def _keys(value: dict[str, Any], allowed: set[str], required: set[str], path: str) -> None: + unknown, missing = set(value) - allowed, required - set(value) + if unknown or missing: + raise ValueError(f"{path}: unknown={sorted(unknown)}, missing={sorted(missing)}") + + +def _quantity(value: object, unit: str, path: str, input_unit: str | None = None) -> float: + return normalize_quantity(value, unit, path=path, input_unit=input_unit) + + +def _flat_defect(raw: object, id: str, defaults: DefaultCatalog, path: str) -> dict[str, Any]: + value = _mapping(raw, path) + required = {"sigma_n_cm2", "sigma_p_cm2", "v_th_cm_s", "N_t_cm2"} + allowed = required | {"E_t_eV_below_cb", "E_t_eV_above_vb", "calibration_factor", "iface_state_calibration_factor", + "distribution", "E_char_eV", "N_peak_cm3", "target"} + _keys(value, allowed, required, path) + energy = [name for name in ("E_t_eV_below_cb", "E_t_eV_above_vb") if name in value] + if len(energy) != 1: + raise ValueError(f"{path}: exactly one trap energy reference is required") + reference = "below_conduction_band" if energy[0].endswith("below_cb") else "above_valence_band" + depth = _quantity(value[energy[0]], "eV", path + "." + energy[0]) + velocity = _quantity(value["v_th_cm_s"], "m/s", path + ".v_th_cm_s", "cm/s") + result: dict[str, Any] = { + "id": id, "trap_depth_eV": depth, "energy_reference": reference, + "total_density_m2": _quantity(value["N_t_cm2"], "m^-2", path + ".N_t_cm2", "cm^-2"), + "kinetics": {"sigma_n_m2": _quantity(value["sigma_n_cm2"], "m^2", path + ".sigma_n_cm2", "cm^2"), + "sigma_p_m2": _quantity(value["sigma_p_cm2"], "m^2", path + ".sigma_p_cm2", "cm^2"), + "thermal_velocity_n_m_s": velocity, "thermal_velocity_p_m_s": velocity}, + **{name: value[name] if name in value else default for name, default in defaults.interface}, + } + if any(name in value for name in ("distribution", "E_char_eV", "N_peak_cm3")): + result["partner_metadata"] = {"defect_id": id, "distribution": value.get("distribution", "single"), + "energy_reference": reference, "trap_depth_eV": depth} + for old, new, unit, source_unit in (("E_char_eV", "E_char_eV", "eV", "eV"), ("N_peak_cm3", "N_peak_m3", "m^-3", "cm^-3")): + if old in value: + result["partner_metadata"][new] = _quantity(value[old], unit, path + "." + old, source_unit) + return result + + +def _common_device( + document: dict[str, Any], layers: list[dict[str, Any]], id: str, + defaults: DefaultCatalog, source_format: str, interfaces: list[dict[str, Any]] | None = None, +) -> DeviceInput: + raw = _mapping(document["device"], "device") + contacts_extra = {"contacts", "S_n_left", "S_p_left", "S_n_right", "S_p_right"} + retained = {"temperature"} if source_format == "standard" else set() + _keys(raw, set(DeviceSettingsInput.model_fields) | contacts_extra | retained | {"interfaces", "interface_defects", "V_bi_override", "tunnelling_channels"}, set(), "device") + settings = {name: raw[name] for name in DeviceSettingsInput.model_fields if name in raw} + if "V_bi_override" in raw: + override = _quantity(raw["V_bi_override"], "V", "device.V_bi_override") + if "V_bi" in raw and override != _quantity(raw["V_bi"], "V", "device.V_bi"): + raise ValueError("device.V_bi and V_bi_override disagree") + if settings.get("built_in_potential_mode", "legacy_manual") != "legacy_manual": + raise ValueError("V_bi_override requires legacy_manual mode") + settings["V_bi"] = override + settings["built_in_potential_mode"] = "legacy_manual" + if "V_bi" in raw and settings.get("built_in_potential_mode") in {"metal_work_function", "semiconductor_work_function"}: + raise ValueError("legacy V_bi is incompatible with an explicit physical potential source") + # Absence with no manual alias retains the existing loader's declared + # physical-source intent, without calculating a work-function potential. + if not any(name in raw for name in ("V_bi", "V_bi_override", "built_in_potential_mode")): + settings["built_in_potential_mode"] = "semiconductor_work_function" + ids = [layer["id"] for layer in layers] + if not layers or len(set(ids)) != len(ids): + raise ValueError("layers: require nonempty unique stable IDs") + electrical = [layer for layer in layers if layer["role"] != "substrate"] + if not electrical: + raise ValueError("layers: at least one electrical layer is required") + nested = _mapping(raw.get("contacts", {}), "device.contacts") + _keys(nested, {"left", "right"}, set(), "device.contacts") + contacts = [] + for side, layer in (("left", electrical[0]), ("right", electrical[-1])): + values = _mapping(nested.get(side, {}), f"device.contacts.{side}") + _keys(values, {"S_n", "S_p"}, set(), f"device.contacts.{side}") + contact = {"id": "contact_" + side, "side": side, "layer": layer["id"]} + for carrier in ("n", "p"): + flat, short = f"S_{carrier}_{side}", f"S_{carrier}" + if flat in raw and short in values: + a = None if raw[flat] is None else _quantity(raw[flat], "m/s", "device." + flat) + b = None if values[short] is None else _quantity(values[short], "m/s", f"device.contacts.{side}.{short}") + if a != b: + raise ValueError(f"device.{flat}: conflicting flat/nested contact aliases") + if flat in raw or short in values: + contact[short] = raw[flat] if flat in raw else values[short] + contacts.append(contact) + if interfaces is not None and ("interfaces" in raw or "interface_defects" in raw): + raise ValueError("cannot mix top-level SCAPS interfaces with device interface declarations") + if interfaces is None: + pairs = _sequence(raw["interfaces"], "device.interfaces") if raw.get("interfaces") is not None else () + defects = _sequence(raw["interface_defects"], "device.interface_defects") if raw.get("interface_defects") is not None else () + for name, aligned in (("interfaces", pairs), ("interface_defects", defects)): + if len(aligned) > len(layers) - 1: + raise ValueError(f"device.{name}: expected at most one full-layer-aligned entry per adjacent interface; unused trailing data is unsupported") + interfaces = [] + for i, (left, right) in enumerate(zip(layers, layers[1:])): + interface = {"id": f"interface_{i}", "left": left["id"], "right": right["id"]} + if i < len(pairs): + pair = _sequence(pairs[i], f"device.interfaces[{i}]") + if len(pair) != 2: + raise ValueError(f"device.interfaces[{i}]: expected [v_n,v_p]") + interface.update(v_n=pair[0], v_p=pair[1]) + elif pairs or (defects and len(defects) < len(layers) - 1): + # interfaces_from_device_dict pads by the FULL raw layer + # index, including substrate boundaries. Never shift slots. + # Keep the established canonical omission for already complete + # defect-only inventories; their microscopic authority is intact. + interface.update(v_n=0.0, v_p=0.0) + if i < len(defects): + interface["defect"] = None if defects[i] is None else _flat_defect(defects[i], f"interface_defect_{i}", defaults, f"device.interface_defects[{i}]") + interfaces.append(interface) + grains = [] + if "microstructure" in document: + block = _mapping(document["microstructure"], "microstructure") + _keys(block, {"grain_boundaries"}, set(), "microstructure") + for i, value in enumerate(_sequence(block.get("grain_boundaries", ()), "microstructure.grain_boundaries")): + row = _mapping(value, f"microstructure.grain_boundaries[{i}]") + _keys(row, {"id", "x_position", "width", "tau_n", "tau_p", "layer_role"}, {"x_position", "width", "tau_n", "tau_p"}, f"microstructure.grain_boundaries[{i}]") + role = row["layer_role"] if "layer_role" in row else dict(defaults.structural)["grain_boundary_layer_role"] + matching = [layer["id"] for layer in electrical if layer["role"] == role] + if not matching: + raise ValueError(f"microstructure.grain_boundaries[{i}].layer_role: no matching electrical layer") + grains.append({"id": row.get("id", f"gb_{i}"), "layer_ids": matching, + **{name: row[name] for name in ("x_position", "width", "tau_n", "tau_p")}, + "source_layer_role": role}) + grid = [] + if "electrical_grid" in document: + block = _mapping(document["electrical_grid"], "electrical_grid") + _keys(block, {"interval_weights", "alphas"}, {"interval_weights", "alphas"}, "electrical_grid") + names = [layer["name"] for layer in electrical] + if len(set(names)) != len(names): + raise ValueError("electrical_grid: legacy display-name references are ambiguous; use stable canonical IDs") + for field in ("interval_weights", "alphas"): + _keys(_mapping(block[field], "electrical_grid." + field), set(names), set(names), "electrical_grid." + field) + grid = [{"layer": layer["id"], "interval_weight": block["interval_weights"][layer["name"]], "alpha": block["alphas"][layer["name"]]} for layer in electrical] + data = {"schema_version": "solarlab.device-preparation.v1", "id": id, "source_format": source_format, + "settings": settings, "layers": layers, "interfaces": interfaces, "contacts": contacts, + "grain_boundaries": grains, "electrical_grid": grid} + if "tunnelling_channels" in raw: + data["tunnelling_channels"] = raw["tunnelling_channels"] + for name in ("name", "description", "simulation_hints"): + if name in document: + data[name] = document[name] + if "schema_version" in document: + if type(document["schema_version"]) is bool: + raise ValueError("schema_version cannot be boolean") + data["source_schema_version"] = document["schema_version"] + return DeviceInput.model_validate(data) + + +def import_standard_device(source: SourceDocument, *, id: str, defaults: DefaultCatalog) -> DeviceInput: + document = load_yaml_mapping(source.content) + _keys(document, {"schema_version", "name", "description", "device", "layers", "microstructure", "electrical_grid", "simulation_hints"}, {"device", "layers"}, "document") + layers = [] + for i, value in enumerate(_sequence(document["layers"], "layers")): + row = _mapping(value, f"layers[{i}]") + _keys(row, set(FullParameterInput.model_fields) | {"id", "name", "role", "thickness", "defect_schema_version", "defect_model", "bulk_defects", "bulk_trap_distribution", "cigs_graded_optics"}, + {"name", "role", "thickness"}, f"layers[{i}]") + layer = {"id": row.get("id", f"layer_{i}"), "name": row["name"], "role": row["role"], "thickness": row["thickness"], + "parameters": {name: row[name] for name in FullParameterInput.model_fields if name in row}} + for field in ("bulk_trap_distribution", "cigs_graded_optics"): + if field in row: + # Legacy data loaders require mappings here. The canonical + # editable layer separately permits explicit nullable clearing. + layer[field] = _mapping(row[field], f"layers[{i}].{field}") + defect_fields = {"defect_schema_version", "defect_model", "bulk_defects"} & set(row) + if defect_fields and defect_fields != {"defect_schema_version", "defect_model", "bulk_defects"}: + raise ValueError(f"layers[{i}]: defect schema/model/inventory must be declared atomically") + if defect_fields: + layer.update(defect_schema_version=row["defect_schema_version"], defect_model=row["defect_model"]) + defects = [] + for j, value in enumerate(_sequence(row["bulk_defects"], f"layers[{i}].bulk_defects")): + defect = _mapping(value, f"layers[{i}].bulk_defects[{j}]") + implicit = {} if row["defect_schema_version"] == MULTIVALENT_VERSION else {"degeneracy": defaults.defect_degeneracy} + defects.append({"id": f"bulk_{j}", **implicit, **defect}) + if row["defect_schema_version"] == MULTIVALENT_VERSION: + names = [value.get("name") for value in defects] + if len(names) != len(set(names)): + raise ValueError(f"layers[{i}].bulk_defects: duplicate legacy species name") + layer["bulk_defects"] = defects + layers.append(layer) + result = _common_device(document, layers, id, defaults, "standard") + retained = retained_legacy_fields(source) + if retained is not None: + result = result.validated_update({"legacy_fields": retained}) + return result diff --git a/src/solarlab/config/device_inputs.py b/src/solarlab/config/device_inputs.py new file mode 100644 index 00000000..41e754a6 --- /dev/null +++ b/src/solarlab/config/device_inputs.py @@ -0,0 +1,5 @@ +"""Public configuration input types; the data definitions have no loader dependency.""" + +from solarlab.device.inputs import DeviceInput, FullLayerInput, NamedMaterialInput, TandemInput + +__all__ = ["DeviceInput", "FullLayerInput", "NamedMaterialInput", "TandemInput"] diff --git a/src/solarlab/config/identity.py b/src/solarlab/config/identity.py new file mode 100644 index 00000000..265a9b3a --- /dev/null +++ b/src/solarlab/config/identity.py @@ -0,0 +1,808 @@ +"""Three identities of actual prepared configuration, model and source records. + +This is a preparation domain, not a cache or a qualified execution manifest. +Original model overrides are required because a Selection cannot reconstruct +whether its models were defaulted or explicitly requested. Execution requires +every upstream content role; this module cannot certify the missing P05 RunSpec +or P07 release-coverage contracts merely by hashing supplied documents. +""" + +from __future__ import annotations + +from collections.abc import Mapping, Sequence +from dataclasses import dataclass, field, replace +import hashlib +import json +import math +import re +from typing import Any + +from solarlab.config.behavior import BehaviorContext, _material_switches +from solarlab.config.legacy_execution import R1ExecutionContext +from solarlab.config.model_parameters import ( + device_topology, layer_parameter_source, structured_parameter_source, +) +from solarlab.contracts.layout import Layout +from solarlab.device.resolved import PreparedDevice +from solarlab.materials.resources import ResourceTable +from solarlab.materials.source import SourceDocument +from solarlab.physics.registry import ModelRegistry, Scope, metadata_value +from solarlab.physics.selection import ModelChoice, Selection, select_models, validate_selection +from solarlab.physics.semantic_projection import SemanticProjection, _project_historical_physics, _project_r1_physics +from solarlab.units import UNIT_SCHEMA_VERSION + +__all__ = [ + "ModelInputs", "IdentityInputs", "Identity", "BuildSource", "RuntimeEnvironment", + "ExecutionDescription", "ExecutionEngine", "input_identity", "physics_identity", "execution_identity", + "CACHE_LAYERS", "ExecutionManifest", "execution_manifest", "verify_execution_manifest", + "CacheLayerIdentity", "ColdPointBinding", "cold_point_binding", +] + +CACHE_LAYERS = ("topology_plan", "numeric_parameter_binding", "working_point_initial_state", "numeric_factorization") +_ZERO_POLICY = "normalized_configuration_plus_zero; source_bytes_exact" +_RESOLVED_KEYS = { + "schema", "unit_schema", "id", "settings", "layers", "declaration", "interfaces", "contacts", + "grain_boundaries", "electrical_grid", "resource_bindings", "diagnostics", "capability_gaps", + "can_execute", "default_catalog", "input_sources", +} +_RESOLVED_OPTIONAL = {"tunnelling_channels", "metastable_measurement_protocol_bindings"} + + +def _name(value: str) -> str: + if type(value) is not str or not value.strip(): + raise ValueError("an explicit nonempty identity label is required") + return value + + +def _json_value(value: Any, depth: int = 0) -> Any: + if depth > 40: + raise ValueError("identity document nesting exceeds the preparation domain") + if value is None or type(value) in {str, bool, int}: + return value + if type(value) is float and math.isfinite(value): + return 0.0 if value == 0 else value + if isinstance(value, Mapping) and all(type(key) is str for key in value): + return {key: _json_value(item, depth + 1) for key, item in value.items()} + if type(value) in {list, tuple}: + return [_json_value(item, depth + 1) for item in value] + raise ValueError(f"unsupported/nonfinite identity value: {type(value).__name__}") + + +def _json_bytes(value: Any) -> bytes: + result = json.dumps(_json_value(value), sort_keys=True, separators=(",", ":"), allow_nan=False).encode() + if len(result) > 2**23: + raise ValueError("identity document exceeds 8 MiB") + return result + + +def _source(source: SourceDocument) -> dict[str, Any]: + if type(source) is not SourceDocument: + raise ValueError("actual immutable SourceDocument bytes are required") + return {"id": source.id, "sha256": source.sha256, "bytes": len(source.content)} + + +def _choices(values: Sequence[ModelChoice]) -> tuple[ModelChoice, ...]: + if isinstance(values, (str, bytes)): + raise ValueError("model choices must be an explicit sequence") + result = tuple(values) + if any(type(item) is not ModelChoice for item in result) or len({item.id for item in result}) != len(result): + raise ValueError("model inputs require unique actual ModelChoice records") + return tuple(sorted(result, key=lambda item: item.id)) + + +def _choice_document(choice: ModelChoice) -> dict[str, Any]: + result = {"id": choice.id, "model": metadata_value(choice.model), + "parameters": dict(choice.parameters), "parameter_schema": choice.parameter_schema, + "field_bindings": dict(choice.field_bindings)} + if choice.structured is not None: + data = choice.structured.data + result["structured"] = { + "schema": data.schema.id, "document_version": data.schema.document_version, + "owner_id": data.owner_id, "local_id": data.local_id, "scope": metadata_value(data.scope), + "presence": data.presence, "normalized_supplied": json.loads(data.normalized_json), + } + return result + + +@dataclass(frozen=True, slots=True) +class ModelInputs: + """Original selector arguments; an empty override family is an explicit clear. + + Defaults are software policy, excluded from H_input but bound by execution. + Both arguments are required, including an explicitly empty overrides tuple. + No presence is inferred from the already resolved Selection. + """ + + defaults: tuple[tuple[str, tuple[ModelChoice, ...]], ...] + overrides: tuple[tuple[Scope, tuple[tuple[str, tuple[ModelChoice, ...]], ...]], ...] + + def __post_init__(self) -> None: + defaults = tuple((kind, _choices(choices)) for kind, choices in self.defaults) + if len({kind for kind, _ in defaults}) != len(defaults) or any(kind not in {"device", "layer", "interface", "contact"} for kind, _ in defaults): + raise ValueError("invalid/duplicate model default scope kind") + overrides = [] + for scope, values in self.overrides: + if not isinstance(scope, Scope): + raise ValueError("model overrides require actual Scope records") + families = tuple((_name(name), _choices(choices)) for name, choices in values) + if len({name for name, _ in families}) != len(families): + raise ValueError("duplicate model override family") + overrides.append((scope, tuple(sorted(families)))) + if len({scope for scope, _ in overrides}) != len(overrides): + raise ValueError("duplicate model override scope") + object.__setattr__(self, "defaults", tuple(sorted(defaults))) + object.__setattr__(self, "overrides", tuple(sorted(overrides, key=lambda item: item[0].key))) + + @classmethod + def from_mappings( + cls, *, defaults: Mapping[str, Sequence[ModelChoice]], + overrides: Mapping[Scope, Mapping[str, Sequence[ModelChoice]]], + ) -> ModelInputs: + if not isinstance(defaults, Mapping) or not isinstance(overrides, Mapping): + raise ValueError("original selector default and override mappings are required") + if any(not isinstance(values, Mapping) for values in overrides.values()): + raise ValueError("null is not an inherited or cleared model family") + return cls(tuple((kind, tuple(values)) for kind, values in defaults.items()), + tuple((scope, tuple((name, tuple(values)) for name, values in families.items())) + for scope, families in overrides.items())) + + def default_mapping(self) -> dict[str, tuple[ModelChoice, ...]]: + return dict(self.defaults) + + def override_mapping(self) -> dict[Scope, dict[str, tuple[ModelChoice, ...]]]: + return {scope: dict(values) for scope, values in self.overrides} + + def supplied_document(self) -> list[dict[str, Any]]: + return [{"scope": metadata_value(scope), "families": { + family: [_choice_document(choice) for choice in values] for family, values in families}} + for scope, families in self.overrides] + + def defaults_document(self) -> dict[str, Any]: + return {kind: [_choice_document(choice) for choice in choices] for kind, choices in self.defaults} + + +def _uniform_2d_geometry(source: SourceDocument | None, prepared: PreparedDevice) -> dict[str, Any]: + """Validate an explicit no-grain geometry declaration without a compiler.""" + schema = "solarlab.uniform-no-grain-2d-geometry.v1" + if type(source) is not SourceDocument or source.id != schema: + raise ValueError("dimension2 identity requires an explicit uniform lateral geometry SourceDocument") + def pairs(items: list[tuple[str, Any]]) -> dict[str, Any]: + if len({key for key, _ in items}) != len(items): + raise ValueError("duplicate 2D geometry identity field") + return dict(items) + data = json.loads(source.content, object_pairs_hook=pairs) + fields = {"schema", "lateral_length_m", "Nx", "Ny_per_layer", "lateral_bc", + "geometry_policy", "electrical_layer_ids"} + if not isinstance(data, dict) or set(data) != fields or data["schema"] != schema: + raise ValueError("unaccounted uniform2D geometry identity fields") + if (type(data["lateral_length_m"]) not in (int, float) or not math.isfinite(data["lateral_length_m"]) + or data["lateral_length_m"] <= 0 + or any(type(data[key]) is not int or not 2 <= data[key] <= 4096 for key in ("Nx", "Ny_per_layer")) + or data["lateral_bc"] != "neumann" + or data["geometry_policy"] != "rectangular_half_endpoint_neumann_2d_v1" + or data["electrical_layer_ids"] != [layer.id for layer in prepared.layers if layer.role != "substrate"]): + raise ValueError("invalid uniform2D lateral geometry, interval counts or layer ownership") + return {**data, "lateral_length_m": float(data["lateral_length_m"])} + + +@dataclass(frozen=True, slots=True) +class IdentityInputs: + """Bind real prepared/selected data to the original selector inputs. + + Validation uses existing public factories and selection, without modifying + resolution or executing a physical model. Canonical snapshots are private + immutable record data, not any of the four reusable numerical cache layers. + + ``effective_behavior`` selects the versioned historical physical rule; + its complete source/protocol/history record is bound only by execution. + Without it the original prepared-device projection stays byte-identical. + """ + + prepared: PreparedDevice + selection: Selection + registry: ModelRegistry + model_inputs: ModelInputs + projections: tuple[SemanticProjection, ...] + effective_behavior: BehaviorContext | R1ExecutionContext | None = None + spatial_geometry: SourceDocument | None = None + _input_document: bytes = field(init=False, repr=False) + _physical_document: bytes = field(init=False, repr=False) + _execution_binding: bytes = field(init=False, repr=False) + + def __post_init__(self) -> None: + if (type(self.prepared) is not PreparedDevice or type(self.selection) is not Selection + or type(self.registry) is not ModelRegistry or type(self.model_inputs) is not ModelInputs): + raise ValueError("identity requires actual prepared device, selection, registry and original model inputs") + # Rebuild only declaration data, not equations or a numerical system. + prepared = PreparedDevice(self.prepared.input_json, self.prepared.defaults, + self.prepared.resources, self.prepared.sources) + if (prepared.to_mapping() != self.prepared.to_mapping() + or [layer.to_mapping() for layer in prepared.layers] != [layer.to_mapping() for layer in self.prepared.layers]): + raise ValueError("prepared declaration no longer matches its authoritative input") + topology = device_topology(prepared) + if self.selection.topology != topology: + raise ValueError("selection topology/device identity mismatch") + if validate_selection(self.selection, self.registry): + raise ValueError("selection has unresolved declared capability requirements") + sources = {Scope("layer", (layer.id,)): layer_parameter_source(layer) + for layer in prepared.layers if layer.id in topology.electrical_layer_ids} + structured = {} + for instance in self.selection.instances: + if instance.structured is None: + if instance.parameter_schema != "full_layer" or instance.scope.kind != "layer": + raise ValueError("scalar identity currently requires actual full_layer PreparedDevice bindings") + else: + structured_data = instance.structured.data + source = structured_parameter_source(prepared, structured_data.schema.family, + structured_data.owner_id, instance_id=structured_data.local_id) + if source.structured is None or source.structured.content_sha256 != instance.structured.content_sha256: + raise ValueError("structured selection belongs to a different prepared declaration") + structured[instance.id] = source + replay = select_models(self.registry, topology, self.selection.context, + self.model_inputs.default_mapping(), sources, self.model_inputs.override_mapping(), + instance_parameter_sources=structured) + if replay != self.selection: + raise ValueError("selection does not match the supplied device and original model inputs") + projections = tuple(self.projections) + if any(type(item) is not SemanticProjection for item in projections): + raise ValueError("model-owned semantic projections are required") + if (len({item.model for item in projections}) != len(projections) + or {item.model for item in projections} != {item.model for item in self.selection.instances}): + raise ValueError("semantic projections must cover exactly the selected model versions") + object.__setattr__(self, "projections", tuple(sorted(projections, key=lambda item: item.model))) + data = prepared.to_mapping() + if data["schema"] != "solarlab.resolved-device-preparation.v1" or set(data) - _RESOLVED_OPTIONAL != _RESOLVED_KEYS: + raise ValueError("unaccounted resolved-device schema/fields require a new identity projection") + dimension = self.selection.context.dimension + if data["grain_boundaries"] or dimension not in (1, 2): + raise ValueError("full lateral geometry identity is not available in the 1D prepared-device domain") + geometry = None + if dimension == 2: + geometry = _uniform_2d_geometry(self.spatial_geometry, prepared) + if self.effective_behavior is not None: + raise ValueError("uniform2D identity does not admit a historical1D effective-behavior context") + elif self.spatial_geometry is not None: + raise ValueError("dimension1 identity cannot carry a lateral geometry document") + behavior = self.effective_behavior + if behavior is not None: + _match_behavior(behavior, prepared, self.selection) + if data["diagnostics"] and (type(behavior) is not BehaviorContext or any( + item["code"] != "legacy_scaps_ignored_incoherent" for item in data["diagnostics"] + )): + raise ValueError("historical effective-behavior diagnostics require a supplied behavior context") + temperature = self.selection.context.temperature_K + if temperature is not None and temperature != data["settings"]["T"]: + raise ValueError("selection temperature differs from the prepared device") + projected: list[dict[str, Any]] = [] + claimed: dict[str, set[str]] = {layer.id: set() for layer in prepared.layers} + by_model = {item.model: item for item in projections} + raw_models = [] + for instance in sorted(self.selection.instances, key=lambda item: item.id): + rule = by_model[instance.model] + document, names = rule.project(self.registry.get(instance.model), instance) + projected.append(document) + if names: + claimed[instance.scope.ids[0]].update(names) + raw_models.append({"instance_id": instance.id, "parameters": dict(instance.parameters), + "structured_effective": document["effective_values"] if instance.structured is not None else None}) + physical = self._device_physics(prepared, data, claimed) + context = metadata_value(self.selection.context) + context.pop("backend") # Numerical implementation belongs to execution. + physical.update(models=projected, model_context=context, + topology=metadata_value(topology), evaluation_order=list(self.selection.evaluation_order)) + supplied = {"device": prepared.to_input().normalized_data(), + "model_overrides": self.model_inputs.supplied_document(), "unit_schema": UNIT_SCHEMA_VERSION} + binding = { + "registry_sha256": self.registry.content_sha256, + "software_model_defaults": self.model_inputs.defaults_document(), + "selection_backend": self.selection.context.backend, "models": raw_models, + "all_effective_layer_parameters": [{"id": layer.id, "parameters": dict(layer.parameters)} for layer in prepared.layers], + "electrical_grid_recipe": data["electrical_grid"], + "jv_solver_policy": data["settings"]["jv_solver_policy"], + "metastable_preparation": [{"layer_id": layer.id, "preparation": ( + layer.to_mapping().get("metastable_preparation"))} for layer in prepared.layers], + } + if geometry is not None: + # Resolution/interval counts belong to input and execution; the + # physical projection retains the actual domain and boundary law. + supplied["spatial_geometry"] = geometry + physical["spatial_geometry"] = {key: value for key, value in geometry.items() + if key not in {"Nx", "Ny_per_layer"}} + assert self.spatial_geometry is not None + binding["spatial_geometry"] = {**_source(self.spatial_geometry), + "content_hex": self.spatial_geometry.content.hex(), "declaration": geometry} + if behavior is not None: + document = behavior.export() + if isinstance(behavior, BehaviorContext): + physical = _project_historical_physics(physical, document["source_inspection"]) + else: + ceilings, switches = _material_switches(data["settings"], dict(behavior.environment), + {item.id: item for item in behavior.sources}) + physical = _project_r1_physics(physical, document["material_behavior"], ceilings=ceilings, + switches=switches, controls=document["arguments"]["controls"], reference=json.loads(behavior.reference.content)) + binding["effective_behavior"] = {"sha256": behavior.content_sha256, "context": document} + object.__setattr__(self, "_input_document", _json_bytes(supplied)) + object.__setattr__(self, "_physical_document", _json_bytes(physical)) + object.__setattr__(self, "_execution_binding", _json_bytes(binding)) + + def _device_physics( + self, prepared: PreparedDevice, data: dict[str, Any], claimed: dict[str, set[str]], + ) -> dict[str, Any]: + layers = [] + for layer in prepared.layers: + complete = dict(layer.parameters) + if not claimed[layer.id] <= set(complete): + raise ValueError("model projection claims a parameter absent from its actual layer") + layers.append({ + "id": layer.id, "role": layer.role, "thickness_m": layer.thickness, + "material_id": layer.material.id, + "remaining_effective_parameters": {name: value for name, value in complete.items() if name not in claimed[layer.id]}, + "defect_model": layer.defect_model, "defect_schema_version": layer.defect_schema_version, + "bulk_defects": [item.to_mapping() for item in layer.defects], + "bulk_trap_distribution": layer.bulk_trap_distribution, + "cigs_graded_optics": layer.material.cigs_graded_optics, + "cigs_model_source": layer.cigs_source_binding, + "metastable_document": layer.metastable_document, + }) + used = {(item["name"], item["kind"]) for item in data["resource_bindings"]} + all_resources = {item.name: item for item in prepared.resources.tables} + for name in self.selection.context.resources: + if name not in all_resources: + raise ValueError("declared model resource has no actual supplied table: " + name) + used.add((name, all_resources[name].kind)) + resources = [] + for name, kind in sorted(used): + table = prepared.resources.get(name, kind) + actual = ResourceTable(table.name, table.kind, table.source) + if actual.content_sha256 != table.content_sha256: + raise ValueError("resource values no longer match their authoritative source bytes") + resources.append({"name": name, "kind": kind, "source": _source(table.source), + "content_sha256": table.content_sha256, "shape": table.shape, + "columns": table.columns, "units": table.units}) + settings = dict(data["settings"]) + settings.pop("jv_solver_policy") + return {"domain": "prepared-device-1d.v1", "unit_schema": UNIT_SCHEMA_VERSION, + "device_id": data["id"], "settings": settings, "layers": layers, + "interfaces": data["interfaces"], "contacts": data["contacts"], + "tunnelling_channels": data.get("tunnelling_channels"), + "resolver_constants": dict(prepared.defaults.constants), "used_resources": resources} + + +@dataclass(frozen=True, slots=True) +class Identity: + kind: str + canonical_json: bytes + current_repository_head: str | None = None + sha256: str = field(init=False) + status: str = field(default="prepared_pending_dependencies", init=False) + cache_eligible: bool = field(default=False, init=False) + + def __post_init__(self) -> None: + if self.kind not in {"H_input", "H_physics", "H_execution"} or type(self.canonical_json) is not bytes: + raise ValueError("invalid identity record") + document = json.loads(self.canonical_json) + if document.get("schema") != "solarlab." + self.kind + ".v1" or _json_bytes(document) != self.canonical_json: + raise ValueError("identity document is not in its canonical versioned domain") + if self.current_repository_head is not None: + _commit(self.current_repository_head) + object.__setattr__(self, "sha256", hashlib.sha256(self.canonical_json).hexdigest()) + + def export(self) -> dict[str, Any]: + return {"kind": self.kind, "sha256": self.sha256, "document": json.loads(self.canonical_json), + "current_repository_head": self.current_repository_head, + "status": self.status, "cache_eligible": self.cache_eligible} + + +def _commit(value: str) -> str: + if type(value) is not str or re.fullmatch(r"[0-9a-f]{40}|[0-9a-f]{64}", value) is None: + raise ValueError("an immutable explicit build-source commit is required, not a branch or guessed HEAD") + return value + + +@dataclass(frozen=True, slots=True) +class BuildSource: + """Supplied immutable implementation content; not a published ReleaseBundle. + + Commit/content association and complete release coverage need the upstream + build authority. Current working-tree HEAD is never substituted here. + """ + + build_source_commit: str + files: tuple[SourceDocument, ...] + + def __post_init__(self) -> None: + _commit(self.build_source_commit) + files = tuple(self.files) + if not files or any(type(item) is not SourceDocument for item in files) or len({item.id for item in files}) != len(files): + raise ValueError("implementation requires unique actual source-content records") + object.__setattr__(self, "files", tuple(sorted(files, key=lambda item: item.id))) + + +def _version_pairs(values: tuple[tuple[str, str], ...]) -> tuple[tuple[str, str], ...]: + pairs = tuple(tuple(pair) for pair in values) + if any(len(pair) != 2 for pair in pairs) or len({pair[0] for pair in pairs}) != len(pairs): + raise ValueError("environment entries must be unique named pairs") + return tuple(sorted((_name(name), _name(value)) for name, value in pairs)) + + +@dataclass(frozen=True, slots=True) +class RuntimeEnvironment: + python_implementation: str + python_version: str + system: str + machine: str + packages: tuple[tuple[str, str], ...] + settings: tuple[tuple[str, str], ...] + + def __post_init__(self) -> None: + for value in (self.python_implementation, self.python_version, self.system, self.machine): + _name(value) + packages = _version_pairs(self.packages) + if not packages: + raise ValueError("an explicit dependency environment is required") + object.__setattr__(self, "packages", packages) + object.__setattr__(self, "settings", _version_pairs(self.settings)) + + +@dataclass(frozen=True, slots=True) +class ExecutionDescription: + """Required complete upstream content roles, with no invented defaults. + + These SourceDocuments retain exact bytes (including raw initial-state + words). P05 must validate protocol/state completeness and P07 must attest + release coverage; this preparation does not pretend either adapter exists. + The schema/serialization of each upstream document is its producer's job. + """ + + protocol: SourceDocument + preparation: SourceDocument + initial_state: SourceDocument + grid: SourceDocument + numeric_controls: SourceDocument + implementation: BuildSource + environment: RuntimeEnvironment + current_repository_head: str + + def __post_init__(self) -> None: + for name in ("protocol", "preparation", "initial_state", "grid", "numeric_controls"): + _source(getattr(self, name)) + if type(self.implementation) is not BuildSource or type(self.environment) is not RuntimeEnvironment: + raise ValueError("actual implementation and environment records are required") + _commit(self.current_repository_head) + + +@dataclass(frozen=True, slots=True) +class ExecutionEngine: + """Explicit implementation choice for the high-level execution facade. + + This only binds identity. It neither imports an engine nor grants execution; + historical contexts retain their existing preparation-only status. + There is no default, automatic selection, or failure-fallback mode. + """ + + name: str + behavior: BehaviorContext | R1ExecutionContext | None = None + + def __post_init__(self) -> None: + if type(self.name) is not str or self.name not in {"legacy", "solarlab"}: + raise ValueError("execution engine must be explicitly legacy or solarlab") + if self.name == "legacy" and type(self.behavior) not in {BehaviorContext, R1ExecutionContext}: + raise ValueError("legacy execution identity requires an explicit BehaviorContext or complete R1ExecutionContext") + if self.name == "solarlab" and self.behavior is not None: + raise ValueError("a legacy BehaviorContext cannot be relabelled as the solarlab engine") + + def export(self) -> dict[str, Any]: + return { + "schema": "solarlab.execution-engine.v1", + "name": self.name, + "fallback": "forbidden", + "behavior_context_sha256": self.behavior.content_sha256 if self.behavior else None, + "behavior_context": self.behavior.export() if self.behavior else None, + } + + +def _identity(kind: str, payload: Any, head: str | None = None) -> Identity: + return Identity(kind, _json_bytes({"schema": "solarlab." + kind + ".v1", "zero_policy": _ZERO_POLICY, "payload": payload}), head) + + +def input_identity(inputs: IdentityInputs) -> Identity: + if type(inputs) is not IdentityInputs: + raise ValueError("input identity requires the actual prepared identity inputs") + return _identity("H_input", json.loads(inputs._input_document)) + + +def physics_identity(inputs: IdentityInputs) -> Identity: + if type(inputs) is not IdentityInputs: + raise ValueError("physics identity requires the actual prepared identity inputs") + return _identity("H_physics", json.loads(inputs._physical_document)) + + +def _match_behavior(behavior: BehaviorContext | R1ExecutionContext, device: PreparedDevice, selection: Selection) -> None: + if type(behavior) not in {BehaviorContext, R1ExecutionContext}: + raise ValueError("actual source-bound BehaviorContext or complete R1ExecutionContext required") + if behavior.device.content_sha256 != device.content_sha256 or ( + isinstance(behavior, BehaviorContext) and behavior.selection.content_sha256 != selection.content_sha256 + ): + raise ValueError("behavior context belongs to a different prepared device or selection") + + +def execution_identity( + inputs: IdentityInputs, execution: ExecutionDescription, *, engine: ExecutionEngine | None = None, +) -> Identity: + """Build preparation identity; facade callers must supply ``engine``. + + Omitting it preserves the existing non-executable preparation document. + A legacy facade must reject such a document, not infer an implementation. + """ + if type(inputs) is not IdentityInputs or type(execution) is not ExecutionDescription: + raise ValueError("all actual identity inputs and explicit execution content roles are required") + if engine is not None: + if type(engine) is not ExecutionEngine: + raise ValueError("a typed explicit execution engine is required") + if inputs.effective_behavior is not None and (engine.behavior is None + or engine.behavior.content_sha256 != inputs.effective_behavior.content_sha256): + raise ValueError("execution engine differs from the effective physics behavior") + if engine.behavior is not None: + _match_behavior(engine.behavior, inputs.prepared, inputs.selection) + if inputs.effective_behavior is None: + inputs = replace(inputs, effective_behavior=engine.behavior) + payload = { + "H_input": input_identity(inputs).sha256, "H_physics": physics_identity(inputs).sha256, + "effective_binding": json.loads(inputs._execution_binding), + "documents": {name: _source(getattr(execution, name)) for name in + ("protocol", "preparation", "initial_state", "grid", "numeric_controls")}, + "implementation": {"build_source_commit": execution.implementation.build_source_commit, + "files": [_source(item) for item in execution.implementation.files]}, + "environment": metadata_value(execution.environment), + } + if engine is not None: + payload["engine"] = engine.export() + return _identity("H_execution", payload, execution.current_repository_head) + + +_EXECUTION_ROLES = ("protocol", "preparation", "initial_state", "grid", "numeric_controls") + + +def _manifest_bytes(value: Any) -> bytes: + # Complete implementation content needs a larger transport envelope than + # the original identity summaries. Their 8 MiB domain remains unchanged. + result = json.dumps(_json_value(value), sort_keys=True, separators=(",", ":"), allow_nan=False).encode() + if len(result) > 2**26: + raise ValueError("execution manifest exceeds 64 MiB") + return result + + +def _content_record(source: SourceDocument) -> dict[str, Any]: + return {**_source(source), "content_hex": source.content.hex()} + + +def _manifest_source(value: Any) -> SourceDocument: + if not isinstance(value, dict) or set(value) != {"id", "sha256", "bytes", "content_hex"}: + raise ValueError("manifest requires complete source bytes and their identity") + if type(value["content_hex"]) is not str: + raise ValueError("manifest source content must be hexadecimal bytes") + try: + source = SourceDocument(value["id"], bytes.fromhex(value["content_hex"])) + except (TypeError, ValueError) as error: + raise ValueError("invalid manifest source content") from error + if _content_record(source) != value or type(value["bytes"]) is not int: + raise ValueError("manifest source bytes do not match their recorded identity") + return source + + +@dataclass(frozen=True, slots=True) +class ExecutionManifest: + """Portable complete content binding, with no execution/cache admission. + + All five upstream documents and implementation files retain their exact + bytes, including state words and signed zero. Their domain completeness + remains the upstream producer's contract. Consumers must call + ``verify_execution_manifest`` with independently supplied current inputs, + engine, content and environment; parsing alone is not verification. + Maintenance HEAD is recorded separately from the immutable build commit. + """ + + canonical_json: bytes + current_repository_head: str + sha256: str = field(init=False) + execution_sha256: str = field(init=False) + can_execute: bool = field(default=False, init=False) + cache_eligible: bool = field(default=False, init=False) + + def __post_init__(self) -> None: + _commit(self.current_repository_head) + if type(self.canonical_json) is not bytes or len(self.canonical_json) > 2**26: + raise ValueError("manifest requires bounded immutable JSON bytes") + value = json.loads(self.canonical_json) + if (not isinstance(value, dict) or set(value) != { + "schema", "execution_identity", "content_roles", "implementation_content", + } or value["schema"] != "solarlab.execution-manifest.v1" or _manifest_bytes(value) != self.canonical_json): + raise ValueError("manifest is not in its canonical versioned domain") + document = value["execution_identity"] + if not isinstance(document, dict) or set(document) != {"schema", "zero_policy", "payload"}: + raise ValueError("manifest requires a complete execution identity document") + identity = Identity("H_execution", _json_bytes(document)) + payload = document["payload"] + if not isinstance(payload, dict) or set(payload) != { + "H_input", "H_physics", "effective_binding", "documents", "implementation", "environment", "engine", + }: + raise ValueError("manifest requires the complete explicit-engine execution identity") + if (not isinstance(payload["engine"], dict) or payload["engine"].get("name") not in {"legacy", "solarlab"} + or payload["engine"].get("fallback") != "forbidden"): + raise ValueError("manifest requires an explicit engine without fallback") + if not isinstance(payload["implementation"], dict) or set(payload["implementation"]) != {"build_source_commit", "files"}: + raise ValueError("manifest requires the explicit implementation source binding") + roles = value["content_roles"] + if not isinstance(roles, dict) or set(roles) != set(_EXECUTION_ROLES): + raise ValueError("manifest is missing a complete upstream content role") + documents = {name: _source(_manifest_source(record)) for name, record in roles.items()} + implementation = value["implementation_content"] + if not isinstance(implementation, list): + raise ValueError("manifest requires implementation content") + build = BuildSource(payload["implementation"]["build_source_commit"], + tuple(_manifest_source(record) for record in implementation)) + if (payload["documents"] != documents or payload["implementation"] != { + "build_source_commit": build.build_source_commit, "files": [_source(source) for source in build.files], + }): + raise ValueError("manifest content differs from the bound execution identity") + object.__setattr__(self, "sha256", hashlib.sha256(self.canonical_json).hexdigest()) + object.__setattr__(self, "execution_sha256", identity.sha256) + + def export(self) -> dict[str, Any]: + return {"sha256": self.sha256, "document": json.loads(self.canonical_json), + "current_repository_head": self.current_repository_head, + "can_execute": self.can_execute, "cache_eligible": self.cache_eligible} + + +def execution_manifest( + inputs: IdentityInputs, execution: ExecutionDescription, *, engine: ExecutionEngine, +) -> ExecutionManifest: + """Bind every supplied role; never infer engine, initial state or protocol.""" + if type(engine) is not ExecutionEngine: + raise ValueError("manifest requires a typed explicit execution engine") + identity = execution_identity(inputs, execution, engine=engine) + value = {"schema": "solarlab.execution-manifest.v1", "execution_identity": json.loads(identity.canonical_json), + "content_roles": {name: _content_record(getattr(execution, name)) for name in _EXECUTION_ROLES}, + "implementation_content": [_content_record(source) for source in execution.implementation.files]} + return ExecutionManifest(_manifest_bytes(value), execution.current_repository_head) + + +def verify_execution_manifest( + manifest: ExecutionManifest, inputs: IdentityInputs, execution: ExecutionDescription, *, + engine: ExecutionEngine, environment: RuntimeEnvironment, expected_sha256: str, +) -> Identity: + """Check an externally pinned manifest at a real consumer boundary. + + The caller supplies its observed runtime environment, not one decoded from + the manifest. Matching bytes do not establish P05 state qualification or + P07 release coverage, and the returned identity remains cache-ineligible. + """ + if type(manifest) is not ExecutionManifest or manifest.sha256 != expected_sha256: + raise ValueError("manifest differs from the expected frozen identity") + if type(environment) is not RuntimeEnvironment or execution.environment != environment: + raise ValueError("consumer runtime environment differs from the manifest request") + if type(engine) is not ExecutionEngine or manifest.export()["document"]["execution_identity"]["payload"]["engine"] != engine.export(): + raise ValueError("consumer engine/context differs from the manifest; fallback is forbidden") + expected = execution_manifest(inputs, execution, engine=engine) + if manifest.canonical_json != expected.canonical_json: + raise ValueError("consumer inputs, protocol, state, grid, controls or implementation differ from the manifest") + return execution_identity(inputs, execution, engine=engine) + + +@dataclass(frozen=True, slots=True) +class CacheLayerIdentity: + """One distinct metadata domain; matching keys never grant reuse.""" + layer: str + canonical_json: bytes | None + sha256: str | None = field(init=False) + cache_eligible: bool = field(default=False, init=False) + + def __post_init__(self) -> None: + if self.layer not in CACHE_LAYERS: + raise ValueError("unknown cache identity layer") + if self.canonical_json is None: + if self.layer != "numeric_factorization": + raise ValueError("only an unconstructed factorization may have no identity") + object.__setattr__(self, "sha256", None) + return + if type(self.canonical_json) is not bytes: + raise ValueError("cache identity requires immutable content") + data = json.loads(self.canonical_json) + if (not isinstance(data, dict) or set(data) != {"schema", "layer", "payload"} + or data["schema"] != "solarlab.cache-layer-identity.v1" or data["layer"] != self.layer + or not isinstance(data["payload"], dict) or _json_bytes(data) != self.canonical_json): + raise ValueError("cache layer identity has the wrong canonical domain") + object.__setattr__(self, "sha256", hashlib.sha256(self.canonical_json).hexdigest()) + + def export(self) -> dict[str, Any]: + return {"layer": self.layer, "sha256": self.sha256, + "document": json.loads(self.canonical_json) if self.canonical_json is not None else None, + "cache_eligible": self.cache_eligible} + + +@dataclass(frozen=True, slots=True) +class ColdPointBinding: + """Fresh immutable per-point metadata, never a solver binding or LU.""" + point_id: str + input_sha256: str + physics_sha256: str + execution_sha256: str + layers: tuple[CacheLayerIdentity, ...] + can_execute: bool = field(default=False, init=False) + numerical_reuse: bool = field(default=False, init=False) + + def __post_init__(self) -> None: + _name(self.point_id) + for value in (self.input_sha256, self.physics_sha256, self.execution_sha256): + if type(value) is not str or re.fullmatch(r"[0-9a-f]{64}", value) is None: + raise ValueError("point binding requires actual complete identity digests") + layers = tuple(self.layers) + if any(type(item) is not CacheLayerIdentity for item in layers) or tuple(item.layer for item in layers) != CACHE_LAYERS: + raise ValueError("point binding requires all four distinct layers in their declared order") + object.__setattr__(self, "layers", layers) + + def layer(self, name: str) -> CacheLayerIdentity: + for item in self.layers: + if item.layer == name: + return item + raise ValueError("unknown cache identity layer") + + def export(self) -> dict[str, Any]: + return {"schema": "solarlab.cold-point-binding.v1", "point_id": self.point_id, + "H_input": self.input_sha256, "H_physics": self.physics_sha256, "H_execution": self.execution_sha256, + "layers": [item.export() for item in self.layers], "can_execute": self.can_execute, + "numerical_reuse": self.numerical_reuse} + + @property + def content_sha256(self) -> str: + return hashlib.sha256(_json_bytes(self.export())).hexdigest() + + +def cold_point_binding( + inputs: IdentityInputs, execution: ExecutionDescription, manifest: ExecutionManifest, *, + point_id: str, layout: Layout, topology_plan: SourceDocument, engine: ExecutionEngine, + environment: RuntimeEnvironment, expected_sha256: str, numeric_matrix: SourceDocument | None = None, +) -> ColdPointBinding: + """Separate structure, numeric parameters, state/history and factorization. + + WS3 supplies the actual Layout and complete compiled-plan document; neither + is fabricated from a device hash. Layout's own constructor revalidates its + identity. Only immutable snapshots are retained here. The first version + always cold-builds: no key, even an exact match, enables rebind or LU reuse. + A missing matrix has no factorization identity, rather than a made-up LU. + """ + verified = verify_execution_manifest(manifest, inputs, execution, engine=engine, + environment=environment, expected_sha256=expected_sha256) + if type(layout) is not Layout: + raise ValueError("point binding requires the actual public Layout contract") + actual = Layout(layout.supports, layout.variables, layout.equations) + if actual.identity != layout.identity or actual.size != layout.size or dict(actual.offsets) != dict(layout.offsets): + raise ValueError("layout identity/offsets differ from their actual declarations") + # This is exactly the existing Layout producer's declaration representation; + # no new physical-coordinate, unit or layout identity algorithm is invented. + declaration = repr((actual.supports, actual.variables, actual.equations)) + payload = verified.export()["document"]["payload"] + + def layer(name: str, value: dict[str, Any] | None) -> CacheLayerIdentity: + return CacheLayerIdentity(name, _json_bytes({"schema": "solarlab.cache-layer-identity.v1", + "layer": name, "payload": value}) if value is not None else None) + + models = [{"id": item.id, "scope": metadata_value(item.scope), + "definition": metadata_value(inputs.registry.get(item.model)), + "owned_variables": metadata_value(item.owned_variables), "reads": list(item.read_variables)} + for item in inputs.selection.instances] + topology = layer("topology_plan", {"layout_sha256": actual.identity, "layout_declarations": declaration, + "topology_plan": _source(topology_plan), "device_topology": metadata_value(inputs.selection.topology), + "models": models, "evaluation_order": list(inputs.selection.evaluation_order), "implementation": payload["implementation"]}) + parameters = layer("numeric_parameter_binding", {"topology_sha256": topology.sha256, + "H_physics": payload["H_physics"], "effective_binding_sha256": hashlib.sha256(_json_bytes(payload["effective_binding"])).hexdigest(), + "actual_grid": _source(execution.grid), "environment": payload["environment"], + "engine_sha256": hashlib.sha256(_json_bytes(engine.export())).hexdigest()}) + state = layer("working_point_initial_state", {"parameters_sha256": parameters.sha256, + "H_execution": verified.sha256, "protocol": _source(execution.protocol), + "preparation": _source(execution.preparation), "initial_state": _source(execution.initial_state)}) + factorization = layer("numeric_factorization", None if numeric_matrix is None else { + "working_point_sha256": state.sha256, "numeric_controls": _source(execution.numeric_controls), + "actual_matrix": _source(numeric_matrix)}) + return ColdPointBinding(point_id, payload["H_input"], payload["H_physics"], verified.sha256, + (topology, parameters, state, factorization)) diff --git a/src/solarlab/config/inputs.py b/src/solarlab/config/inputs.py new file mode 100644 index 00000000..c3523feb --- /dev/null +++ b/src/solarlab/config/inputs.py @@ -0,0 +1,54 @@ +"""The editable layer-template document used by configuration preparation.""" + +from __future__ import annotations + +import re +from typing import Literal + +from pydantic import Field, field_validator + +from solarlab.materials.parameters import EditableInput, LayerValuesInput + +__all__ = ["LayerInput"] + +_ID = re.compile(r"[A-Za-z_][A-Za-z0-9_.:-]*\Z") + + +class LayerInput(EditableInput): + """A named layer with a stable ID and explicitly supplied overrides.""" + + schema_version: Literal[2] = 2 + kind: Literal["layer_template"] = "layer_template" + id: str + name: str + template: str + overrides: LayerValuesInput = Field(default_factory=LayerValuesInput) + + @field_validator("overrides", mode="before") + @classmethod + def _typed_overrides(cls, value: object) -> object: + if isinstance(value, LayerValuesInput): + checked = LayerValuesInput.model_validate(value) + return checked.model_dump(exclude_unset=True, round_trip=True) + return value + + @field_validator("schema_version", mode="before") + @classmethod + def _version(cls, value: object) -> object: + if type(value) is not int or value != 2: + raise ValueError("schema_version requires the integer 2") + return value + + @field_validator("id") + @classmethod + def _identifier(cls, value: str) -> str: + if _ID.fullmatch(value) is None: + raise ValueError("id must be a stable nonempty identifier") + return value + + @field_validator("name", "template") + @classmethod + def _nonempty(cls, value: str) -> str: + if not value.strip(): + raise ValueError("must be a nonempty string") + return value diff --git a/src/solarlab/config/legacy_defaults.py b/src/solarlab/config/legacy_defaults.py new file mode 100644 index 00000000..c96cda27 --- /dev/null +++ b/src/solarlab/config/legacy_defaults.py @@ -0,0 +1,293 @@ +"""Explicit preparation adapter; normal resolution never imports this module.""" + +from __future__ import annotations + +import ast +from dataclasses import dataclass +import hashlib +import json +from typing import Any + +from solarlab.materials.source import SourceDocument +from solarlab.device.defaults import DefaultCatalog +from solarlab.device.settings import DeviceSettingsInput +from solarlab.device.tunnelling import CHANNEL_TYPES +from solarlab.experiments.two_dimensional.inputs import EXPERIMENT_DEFAULT_FIELDS +from solarlab.experiments.jv.inputs import JV_DEFAULT_FIELDS +from solarlab.materials.full_parameters import FullParameterInput +from solarlab.units import normalize_quantity + +__all__ = ["read_legacy_default_catalog"] + +_SYMBOLS = {"MAXWELL_BOLTZMANN", "FULLY_IONIZED", "BAND_GAP_NARROWING_OFF", + "EFFECTIVE_LIFETIME", "MINOURA_2015", "WIDTH_NOT_APPLICABLE", "_DEFECT_FREE_TAU", "Q", "K_B", "T", + "BOTH_CARRIERS", "BOTH_SIDES", "DEFAULT_DENSITY_ATOL_M3"} + +@dataclass(frozen=True, slots=True) +class _LiteralReader: + """Default declarations read from the actual supplied legacy sources.""" + + sources: tuple[SourceDocument, ...] + + def __post_init__(self) -> None: + sources = tuple(self.sources) + if not sources or any(not isinstance(item, SourceDocument) for item in sources): + raise ValueError("defaults require supplied source documents") + if len({item.id for item in sources}) != len(sources): + raise ValueError("duplicate default source ID") + object.__setattr__(self, "sources", tuple(sorted(sources, key=lambda item: item.id))) + + def _trees(self) -> tuple[ast.Module, ...]: + return tuple(ast.parse(source.content.decode("utf-8"), filename=source.id) for source in self.sources) + + def _literal(self, node: ast.AST, active: tuple[str, ...] = ()) -> Any: + if isinstance(node, ast.Constant) and type(node.value) in {str, int, float, bool, type(None)}: + return node.value + if isinstance(node, (ast.Tuple, ast.List)): + return tuple(self._literal(value, active) for value in node.elts) + if isinstance(node, ast.UnaryOp) and isinstance(node.op, (ast.USub, ast.UAdd)): + value = self._literal(node.operand, active) + if type(value) not in {int, float}: + raise ValueError("default sign requires a numeric literal") + return -value if isinstance(node.op, ast.USub) else value + if isinstance(node, ast.Name): + if node.id not in _SYMBOLS: + raise ValueError(f"unsupported symbolic default: {node.id}") + if node.id in active: + raise ValueError("cyclic source default reference") + values = [] + for tree in self._trees(): + for item in tree.body: + if isinstance(item, ast.Assign) and any(isinstance(target, ast.Name) and target.id == node.id for target in item.targets): + values.append(self._literal(item.value, (*active, node.id))) + elif isinstance(item, ast.AnnAssign) and isinstance(item.target, ast.Name) and item.target.id == node.id and item.value is not None: + values.append(self._literal(item.value, (*active, node.id))) + if values and all(value == values[0] for value in values): + return values[0] + raise ValueError(f"missing or ambiguous literal source default: {node.id}") + raise ValueError(f"unsupported source default expression: {ast.dump(node, include_attributes=False)}") + + def constant(self, name: str) -> Any: + return self._literal(ast.Name(id=name)) + + def fields(self, class_name: str, names: tuple[str, ...]) -> dict[str, Any]: + if class_name not in {"MaterialParams", "DeviceStack", "InterfaceDefect", "BulkDefectSpecies", "BulkDefectDistribution", "GrainBoundary", "JunctionLayer", + "CIGSGradedOptics", "BandToBandTunnellingChannel", "IntrabandTunnellingChannel", + "InterfaceDefectAssistedTunnellingChannel", "ContactTunnellingChannel", "ComponentwiseAtol", "JVRequest"}: + raise ValueError("class is outside the bounded legacy default adapter") + matches = [node for tree in self._trees() for node in tree.body + if isinstance(node, ast.ClassDef) and node.name == class_name] + if len(matches) != 1: + raise ValueError(f"expected one supplied {class_name} declaration") + result: dict[str, Any] = {} + declared = set() + for node in matches[0].body: + if isinstance(node, ast.AnnAssign) and isinstance(node.target, ast.Name): + declared.add(node.target.id) + if node.target.id in names and node.value is not None: + result[node.target.id] = self._literal(node.value) + if set(names) - declared: + raise ValueError(f"unknown fields in {class_name}: {sorted(set(names) - declared)}") + return result + + def mapping_defaults(self, function_name: str, mapping_name: str, names: tuple[str, ...]) -> dict[str, Any]: + """Read only named mapping.get(key, literal) fallback declarations.""" + if (function_name, mapping_name) not in {("_layer_from_scaps_row", "row"), ("load_tandem_from_yaml", "tandem"), ("cigs_graded_optics_from_mapping", "raw"), ("start_job", "p")}: + raise ValueError("function is outside the bounded SCAPS default adapter") + functions = [node for tree in self._trees() for node in tree.body + if isinstance(node, ast.FunctionDef) and node.name == function_name] + if len(functions) != 1: + raise ValueError(f"expected one supplied {function_name} declaration") + result: dict[str, Any] = {} + for node in ast.walk(functions[0]): + if (isinstance(node, ast.Call) and isinstance(node.func, ast.Attribute) + and isinstance(node.func.value, ast.Name) and node.func.value.id == mapping_name + and node.func.attr == "get" and len(node.args) == 2 + and isinstance(node.args[0], ast.Constant) and node.args[0].value in names): + name = node.args[0].value + value = self._literal(node.args[1]) + if name in result and result[name] != value: + raise ValueError(f"conflicting source defaults for {name}") + result[name] = value + if set(result) != set(names): + raise ValueError("required adapter defaults were not found in supplied source") + return result + + @property + def content_sha256(self) -> str: + return hashlib.sha256(json.dumps([(item.id, item.sha256) for item in self.sources], separators=(",", ":")).encode()).hexdigest() + + def experiment_fallbacks(self, kind: str, names: tuple[str, ...]) -> dict[str, Any]: + """Only the actual start_job branch; never import or execute backend.""" + if kind not in {"jv_2d", "voc_grain_sweep", "jv", "dark_jv"}: + raise ValueError("unknown experiment default branch") + functions = [node for tree in self._trees() for node in tree.body + if isinstance(node, ast.FunctionDef) and node.name == "start_job"] + if len(functions) != 1: + raise ValueError("expected one supplied start_job declaration") + branches = [node for node in ast.walk(functions[0]) if isinstance(node, ast.If) + and isinstance(node.test, ast.Compare) and isinstance(node.test.left, ast.Name) + and node.test.left.id == "kind" and len(node.test.ops) == 1 + and isinstance(node.test.ops[0], ast.Eq) and len(node.test.comparators) == 1 + and isinstance(node.test.comparators[0], ast.Constant) and node.test.comparators[0].value == kind] + if kind in {"jv", "dark_jv"}: + branches = [branch for branch in branches if any(isinstance(item, ast.FunctionDef) and item.name == "_run" for item in branch.body)] + if len(branches) != 1: + raise ValueError(f"expected one supplied {kind} backend branch") + branch = ast.Module(body=branches[0].body, type_ignores=[]) + values: dict[str, Any] = {} + for node in ast.walk(branch): + if (isinstance(node, ast.Call) and isinstance(node.func, ast.Attribute) + and isinstance(node.func.value, ast.Name) and node.func.value.id == "p" + and node.func.attr == "get" and len(node.args) == 2 + and isinstance(node.args[0], ast.Constant) and node.args[0].value in names): + name, value = node.args[0].value, self._literal(node.args[1]) + if name in values and values[name] != value: + raise ValueError(f"ambiguous backend experiment default: {name}") + values[name] = value + if kind == "jv" and "V_max" in names: + maxima = [keyword.value for call in ast.walk(branch) if isinstance(call, ast.Call) + and isinstance(call.func, ast.Name) and call.func.id == "_run_jv_dispatch" + for keyword in call.keywords if keyword.arg == "V_max"] + if len(maxima) != 1 or not isinstance(maxima[0], ast.IfExp): + raise ValueError("J-V maximum-voltage fallback changed") + maximum = maxima[0] + assert isinstance(maximum, ast.IfExp) + expected = ast.parse('p.get("V_max") is not None', mode="eval").body + if ast.dump(maximum.test) != ast.dump(expected): + raise ValueError("J-V maximum-voltage presence rule changed") + values["V_max"] = self._literal(maximum.orelse) + if kind == "jv_2d" and "atol" in names: + assignments = [node for node in ast.walk(branch) if isinstance(node, ast.Assign) + and any(isinstance(target, ast.Name) and target.id == "solver_atol" for target in node.targets) + and isinstance(node.value, ast.IfExp)] + if len(assignments) != 1: + raise ValueError("scalar/componentwise tolerance fallback changed") + default_policy = assignments[0].value + assert isinstance(default_policy, ast.IfExp) + conditional = default_policy.orelse + if not (isinstance(conditional, ast.IfExp) and isinstance(conditional.test, ast.Name) + and conditional.test.id == "extended_topology" and isinstance(conditional.body, ast.Call) + and isinstance(conditional.body.func, ast.Name) and conditional.body.func.id == "ComponentwiseAtol" + and not conditional.body.args and not conditional.body.keywords): + raise ValueError("unknown 2D tolerance default policy") + values["atol"] = self._literal(conditional.orelse) + if set(values) != set(names): + raise ValueError(f"missing source experiment defaults: {sorted(set(names) - set(values))}") + return values + + def function_defaults(self, name: str, fields: tuple[str, ...]) -> dict[str, Any]: + if name not in {"run_jv_sweep", "run_dark_jv"}: + raise ValueError("function is outside the J-V source default adapter") + matches = [node for tree in self._trees() for node in tree.body if isinstance(node, ast.FunctionDef) and node.name == name] + if len(matches) != 1: + raise ValueError(f"expected one supplied {name} declaration") + arguments = matches[0].args + pairs = list(zip(arguments.args[-len(arguments.defaults):], arguments.defaults)) + pairs.extend((arg, value) for arg, value in zip(arguments.kwonlyargs, arguments.kw_defaults) if value is not None) + result = {arg.arg: self._literal(value) for arg, value in pairs if arg.arg in fields} + if set(result) != set(fields): + raise ValueError(f"missing {name} source defaults") + return result + + def jv_defaults(self) -> dict[str, dict[str, Any]]: + endpoint = self.fields("JVRequest", JV_DEFAULT_FIELDS["jv_endpoint"]) + job_fields = tuple(name for name in JV_DEFAULT_FIELDS["jv_jobs"] if name != "protocol_mode") + jobs = {**self.experiment_fallbacks("jv", job_fields), + **self.mapping_defaults("start_job", "p", ("protocol_mode",))} + # Only the literal default controls block in the existing waveform + # parser is read. No legacy modules or function bodies are executed. + functions = [node for tree in self._trees() for node in tree.body if isinstance(node, ast.FunctionDef)] + parsers = [node for node in functions if node.name == "_parse_jv_waveform"] + if len(parsers) != 1: + raise ValueError("expected one supplied waveform request parser") + controls = [node.value for node in ast.walk(parsers[0]) if isinstance(node, ast.Assign) + and isinstance(node.value, ast.Dict) and any(isinstance(target, ast.Name) and target.id == "controls" for target in node.targets)] + if len(controls) != 1: + raise ValueError("ambiguous waveform default controls") + waveform = {} + for key, value in zip(controls[0].keys, controls[0].values): + if not isinstance(key, ast.Constant) or key.value not in {"rtol", "atol_m3"}: + raise ValueError("unsupported waveform control default") + if isinstance(value, ast.Attribute): + if not isinstance(value.value, ast.Name) or value.value.id != "waveform_jv_exp" or value.attr != "DEFAULT_DENSITY_ATOL_M3": + raise ValueError("unexpected waveform default source reference") + waveform[key.value] = self.constant(value.attr) + else: + waveform[key.value] = self._literal(value) + builders = [node for node in functions if node.name == "build_jv_experiment_protocol"] + if len(builders) != 1: + raise ValueError("expected one supplied J-V protocol builder") + lit = [item.value for branch in builders[0].body if isinstance(branch, ast.If) + and isinstance(branch.test, ast.Name) and branch.test.id == "illuminated" + for item in branch.body if isinstance(item, ast.Assign) + and any(isinstance(target, ast.Name) and target.id == "soak" for target in item.targets)] + if len(lit) != 1: + raise ValueError("missing illuminated J-V soak declaration") + return {"jv_endpoint": endpoint, "jv_jobs": jobs, + "dark_jv": self.experiment_fallbacks("dark_jv", JV_DEFAULT_FIELDS["dark_jv"]), + "jv_numerical": self.function_defaults("run_jv_sweep", JV_DEFAULT_FIELDS["jv_numerical"]), + "dark_jv_numerical": self.function_defaults("run_dark_jv", JV_DEFAULT_FIELDS["dark_jv_numerical"]), + "jv_waveform_controls": waveform, "jv_history": {"illuminated_soak_s": self._literal(lit[0])}} + + +def read_legacy_default_catalog(sources: tuple[SourceDocument, ...], *, model_sources: tuple[SourceDocument, ...] = (), + experiment_sources: tuple[SourceDocument, ...] = (), + jv_sources: tuple[SourceDocument, ...] = ()) -> DefaultCatalog: + """Compile data once; the resulting catalog needs no legacy source files.""" + reader = _LiteralReader((*sources, *model_sources)) + material = reader.fields("MaterialParams", tuple(FullParameterInput.model_fields)) + device = reader.fields("DeviceStack", tuple(DeviceSettingsInput.model_fields)) + interface = reader.fields("InterfaceDefect", ("calibration_factor", "iface_state_calibration_factor")) + contacts = reader.fields("DeviceStack", ("S_n_left", "S_p_left", "S_n_right", "S_p_right")) + scaps_fields = { + "D_ion_m2_s": ("D_ion", "m^2/s", "m^2/s"), + "P_lim_m3": ("P_lim", "m^-3", "m^-3"), "P0_m3": ("P0", "m^-3", "m^-3"), + "B_rad_cm3_s": ("B_rad", "m^3/s", "cm^3/s"), + "C_n_cm6_s": ("C_n", "m^6/s", "cm^6/s"), "C_p_cm6_s": ("C_p", "m^6/s", "cm^6/s"), + "alpha_cm": ("alpha", "m^-1", "cm^-1"), + } + raw = reader.mapping_defaults("_layer_from_scaps_row", "row", tuple(scaps_fields)) + scaps = {name: normalize_quantity(raw[key], unit, input_unit=source_unit) + for key, (name, unit, source_unit) in scaps_fields.items()} + scaps["tau_n"] = scaps["tau_p"] = reader.constant("_DEFECT_FREE_TAU") + defect = reader.fields("MaterialParams", ("defect_schema_version", "defect_model")) + degeneracy = reader.fields("BulkDefectSpecies", ("degeneracy",))["degeneracy"] + width = reader.fields("BulkDefectDistribution", ("width_convention",))["width_convention"] + structural = { + "grain_boundary_layer_role": reader.fields("GrainBoundary", ("layer_role",))["layer_role"], + "tandem_light_direction": reader.mapping_defaults("load_tandem_from_yaml", "tandem", ("light_direction",))["light_direction"], + "junction_incoherent": reader.fields("JunctionLayer", ("incoherent",))["incoherent"], + } + complex_defaults = {} + if model_sources: + model_reader = _LiteralReader(model_sources) + cigs = model_reader.fields("CIGSGradedOptics", ("model", "slices", "kk_quadrature_order")) + if cigs != model_reader.mapping_defaults("cigs_graded_optics_from_mapping", "raw", tuple(cigs)): + raise ValueError("CIGS data and loader defaults disagree") + complex_defaults["cigs_graded_optics"] = cigs + classes = {"band_to_band": "BandToBandTunnellingChannel", "intraband": "IntrabandTunnellingChannel", + "interface_defect_assisted": "InterfaceDefectAssistedTunnellingChannel", "contact": "ContactTunnellingChannel"} + for name, model in CHANNEL_TYPES.items(): + complex_defaults[name] = model_reader.fields(classes[name], tuple(model.model_fields)) + experiment_defaults = {} + if experiment_sources: + experiment_reader = _LiteralReader(experiment_sources) + for name in ("jv_2d", "voc_grain_sweep"): + experiment_defaults[name] = experiment_reader.experiment_fallbacks(name, EXPERIMENT_DEFAULT_FIELDS[name]) + experiment_defaults["jv_2d_componentwise_atol"] = experiment_reader.fields( + "ComponentwiseAtol", EXPERIMENT_DEFAULT_FIELDS["jv_2d_componentwise_atol"]) + if jv_sources: + experiment_defaults.update(_LiteralReader(jv_sources).jv_defaults()) + evidence: dict[str, str] = {} + for source in (*sources, *model_sources, *experiment_sources, *jv_sources): + if source.id in evidence and evidence[source.id] != source.sha256: + raise ValueError("conflicting source bytes for the same default identity") + evidence[source.id] = source.sha256 + return DefaultCatalog(tuple(material.items()), tuple(device.items()), tuple(scaps.items()), tuple(interface.items()), + tuple((name, reader.constant(name)) for name in ("Q", "K_B", "T")), + tuple(contacts.items()), tuple(structural.items()), + defect["defect_model"], defect["defect_schema_version"], degeneracy, width, + tuple(evidence.items()), + tuple((name, tuple(values.items())) for name, values in complex_defaults.items()), + tuple((name, tuple(values.items())) for name, values in experiment_defaults.items())) diff --git a/src/solarlab/config/legacy_execution.py b/src/solarlab/config/legacy_execution.py new file mode 100644 index 00000000..89437549 --- /dev/null +++ b/src/solarlab/config/legacy_execution.py @@ -0,0 +1,315 @@ +"""Immutable invocations of the existing historical drivers. + +These records retain original input bytes and complete numerical arguments. +The existing old reader/driver remains responsible for physical validation; +this module neither imports that engine nor grants scientific qualification. +""" + +from __future__ import annotations + +import ast +import base64 +from dataclasses import dataclass, field +import hashlib +import json +import math +from typing import Any + +from solarlab.config.behavior import ( + BehaviorContext, _binding, _bytes, _environment, _literal, _mapping, _signature, + behavior_source_requirements, inspect_r1_material_behavior, +) +from solarlab.config.device_import import import_standard_device +from solarlab.config.resolve_device import resolve_device +from solarlab.config.scaps_input import import_scaps_device +from solarlab.device.resolved import PreparedDevice +from solarlab.materials.source import SourceDocument + +__all__ = ["LegacyExecutionContext", "R1ExecutionContext", "r1_execution_source_requirements"] + +_R1_EXECUTION_PINS = { + "experiments/one_dimensional_mechanism_r1_state.py": "49bca65cf639024599781bead35db5524e5d61429efdc92bfb84e742af99422f", + "experiments/one_dimensional_mechanism_r1_protocol.py": "7b053566d7931c7e16fe60ed46fabd9ca9a6c82461bc6116348ceb69dc8d4974", + "experiments/one_dimensional_mechanism_r1_binding.py": "376ce06d1fa83e8c99bd5f69a22eb9778d903c6f20a755078a6a68c0aa562417", + "experiments/one_dimensional_mechanism_r1_dynamics.py": "64d2fbb4bbae8e8e1b887f5ca0e8fd312d4b5cb5bd1faa5ecf31909048f995af", + "experiments/one_dimensional_mechanism_r1_convergence.py": "a8e2b9738d551a5b5132cc3d99b57e534a0c5b5d4f7ab94e24f4c464406f1ca8", + "experiments/interface_defect_ion_transient.py": "8c3298a7b5a1b500a175a7687c33248efeb1a8a36794ffac5a4986a02b22a573", + "experiments/one_dimensional_mechanism_r1_pair_codec.py": "a2c23d94bdc0023ef24777613e6e5af70867bbd1759071381d64bdd47446b912", +} + + +def r1_execution_source_requirements() -> tuple[tuple[str, str], ...]: + return tuple(sorted({**dict(behavior_source_requirements(driver="r1_material")), **_R1_EXECUTION_PINS}.items())) + + +def _snapshot(source: SourceDocument) -> dict[str, Any]: + return {**_binding(source), "content_b64": base64.b64encode(source.content).decode("ascii")} + + +def _original_input(device: PreparedDevice, source: SourceDocument, *, scaps: bool) -> None: + if type(device) is not PreparedDevice or type(source) is not SourceDocument: + raise ValueError("historical invocation requires a prepared device and original source bytes") + importer = import_scaps_device if scaps else import_standard_device + expected = resolve_device(importer(source, id=device.to_input().id, defaults=device.defaults), + device.defaults, device.resources, sources=device.sources) + if (expected.input_json != device.input_json + or source.sha256 not in {item.sha256 for item in device.sources}): + raise ValueError("original historical input differs from the prepared device") + + +@dataclass(frozen=True, slots=True) +class LegacyExecutionContext: + """Exact original input and source-checked arguments for three old drivers.""" + + behavior: BehaviorContext + input_source: SourceDocument + _document: bytes = field(init=False, repr=False) + + def __post_init__(self) -> None: + if type(self.behavior) is not BehaviorContext: + raise ValueError("an actual historical BehaviorContext is required") + _original_input(self.behavior.device, self.input_source, + scaps=self.behavior.driver.startswith("scaps_")) + inspected = self.behavior.export() + arguments = _mapping(self.behavior.arguments) + # These are the existing saved request -> waveform driver bindings. + # Retain the supplied request separately, including inactive choices. + if self.behavior.driver == "ion_hysteresis": + controls = arguments.pop("waveform_controls") + for name in ("solver", "iface_states", "interface_boundary", "interface_transport_model"): + arguments.pop(name, None) + for key, name in (("rtol", "rtol"), ("atol", "atol_m3")): + if key in arguments and arguments[key] != controls[name]: + raise ValueError("ambiguous waveform numerical controls") + arguments[key] = controls[name] + object.__setattr__(self, "_document", _bytes({ + "schema": "solarlab.legacy-execution-context.v1", "driver": self.behavior.driver, + "input": _snapshot(self.input_source), "arguments_source": _snapshot(self.behavior.arguments), + "arguments": arguments, "environment": inspected["environment_effective_snapshot"], + "behavior": inspected, "behavior_sha256": self.behavior.content_sha256, + "existing_driver_validation_required": True, "scientific_qualification": False, + })) + + @property + def content_sha256(self) -> str: + return hashlib.sha256(self._document).hexdigest() + + def export(self) -> dict[str, Any]: + return json.loads(self._document) + + +def _sealed(record: dict[str, Any], *, spaced: bool = False) -> None: + payload = {key: value for key, value in record.items() if key != "sha256"} + separators = (", ", ": ") if spaced else (",", ":") + expected = hashlib.sha256(json.dumps(payload, sort_keys=True, separators=separators, allow_nan=False).encode()).hexdigest() + if record.get("sha256") != expected: + raise ValueError("historical record content hash mismatch") + + +def _numeric_shape(value: Any) -> tuple[int, ...]: + if type(value) is list: + shapes = {_numeric_shape(item) for item in value} + if len(shapes) > 1: + raise ValueError("ragged R1 state array") + return (len(value), *(next(iter(shapes)) if shapes else ())) + if type(value) not in (int, float) or not math.isfinite(value): + raise ValueError("R1 state arrays require finite numbers, not booleans") + return () + + +def _state_shapes(prepared: dict[str, Any], codec: ast.Module, *, pair: bool) -> None: + def names(key: str) -> tuple[str, ...]: + value = next(node.value for node in codec.body if isinstance(node, ast.Assign) + and any(isinstance(target, ast.Name) and target.id == key for target in node.targets)) + if not isinstance(value, ast.Call) or len(value.args) != 1: + raise ValueError("R1 snapshot source declaration changed") + return tuple(ast.literal_eval(value.args[0])) + state, grid = prepared["state"], prepared["grid"] + n, interfaces = len(grid["coordinates_m"]), len(grid["interface_positions_m"]) + if n < 3 or interfaces != 1: + raise ValueError("R1 requires the current one-interface physical geometry") + required = set(names("LEGACY_SNAPSHOT_FIELDS")) + fine = names("FINE_FIELDS") if pair else () + required.update("precision_" + name + suffix for name in fine for suffix in ("_hi", "_lo")) + if set(state) != required: + raise ValueError("R1 state field coverage differs from the bound codec") + shapes = {name: _numeric_shape(value) for name, value in state.items()} + expected = {**dict.fromkeys(("n_m3", "p_m3", "positive_m3", "phi_V", "dqfn_V", "dqfp_V", "positive_rate_m3_s"), (n,)), + **dict.fromkeys(("occupancy", "sheet_charge_C_m2"), (interfaces,)), + **dict.fromkeys(("electron_current_A_m2", "hole_current_A_m2", "positive_flux_m2_s"), (n - 1,)), + "trace_potential_V": (interfaces, 2), "trace_state_m3": (interfaces, 4), + "capture_m2_s": (interfaces, 4), "local_residual": (6 * interfaces,), + "poisson_residual_C_m2": (n - 2,), "boundary_flux_m2_s": (2,), + "positive_inventory_m2": (len(grid["positive_components"]),)} + for name, shape in expected.items(): + if name in shapes and shapes[name] != shape: + raise ValueError("R1 state shape differs from its actual grid: " + name) + for name in fine: + high, low = "precision_" + name + "_hi", "precision_" + name + "_lo" + if shapes[high] != shapes[low] or name in expected and shapes[high] != expected[name]: + raise ValueError("R1 high/low state shapes differ: " + name) + if name in state and state[high] != state[name]: + raise ValueError("R1 high word differs from its binary64 snapshot: " + name) + if name == "storage" and (len(shapes[high]) != 1 or not 2 * (n - 2) + interfaces <= shapes[high][0] <= 3 * n - 4 + interfaces): + raise ValueError("R1 storage has an invalid dimension") + # Pair-word normalization and all live equations remain checked by the + # original codec/reader. Their original words are never re-encoded here. + + +def _r1_arguments(source: SourceDocument, trees: dict[str, ast.Module]) -> dict[str, Any]: + supplied = _mapping(source) + allowed = {"intervals", "control", "amplitude_V", "times_s", "nonlinear_factor", "time_substeps", "backend", "physics_evidence"} + if "intervals" not in supplied or supplied.keys() - allowed: + raise ValueError("R1 invocation requires intervals and only the current public arguments") + protocol = trees["experiments/one_dimensional_mechanism_r1_protocol.py"] + defaults = _signature(protocol, "run_r1_step") + policy_defaults = _signature(protocol, "r1_policy") + args = {key: defaults[key] for key in ("control", "amplitude_V", "times_s", "backend", "physics_evidence")} + args.update(policy_defaults) + args.update(supplied) + if type(args["intervals"]) is not int or args["intervals"] < 3: + raise ValueError("R1 intervals require an integer of at least three") + dynamics = trees["experiments/one_dimensional_mechanism_r1_dynamics.py"] + controls = next(node for node in dynamics.body if isinstance(node, ast.ClassDef) and node.name == "R1DynamicsControls") + factory = next(node for node in controls.body if isinstance(node, ast.FunctionDef) and node.name == "from_label") + pairs = next(ast.literal_eval(node.value) for node in factory.body if isinstance(node, ast.Assign) + and any(isinstance(target, ast.Name) and target.id == "pairs" for target in node.targets)) + if type(args["control"]) is not str or args["control"].strip().upper() not in pairs: + raise ValueError("R1 control must name a source-defined A-D choice") + args["control"] = args["control"].strip().upper() + if (type(args["amplitude_V"]) not in (float, int) or not math.isfinite(args["amplitude_V"]) + or not 0 < abs(args["amplitude_V"]) < .02): + raise ValueError("R1 step amplitude is outside the current public domain") + if args["times_s"] is None: + args["times_s"] = list(_literal(protocol, "DEFAULT_TIMES_S")) + times = args["times_s"] + if (type(times) is not list or len(times) < 2 + or any(type(value) not in (int, float) or not math.isfinite(value) for value in times) + or times[0] != 0 or times[1] < 1e-12 or any(b <= a for a, b in zip(times, times[1:]))): + raise ValueError("R1 times must be a complete increasing finite protocol from zero") + if type(args["nonlinear_factor"]) not in (int, float) or args["nonlinear_factor"] not in (1., .1, .01, .001): + raise ValueError("R1 nonlinear factor is outside the existing choices") + substeps = args["time_substeps"] + if (not isinstance(substeps, (list, tuple)) or len(substeps) != 3 + or any(type(value) is not int or value < 1 for value in substeps) + or substeps[0] & (substeps[0] - 1) + or substeps[1] != 2 * substeps[0] or substeps[2] != 2 * substeps[1]): + raise ValueError("R1 time substeps must retain the existing three nested levels") + args["time_substeps"] = list(substeps) + if type(args["physics_evidence"]) is not bool: + raise ValueError("R1 physics_evidence requires an explicit boolean") + args["controls"] = dict(zip(("nu_I", "nu_t"), pairs[args["control"]])) + return args + + +@dataclass(frozen=True, slots=True) +class R1ExecutionContext: + """Complete immutable R1 common-state invocation, including its history. + + Exact original and prepared bytes stay separate from normalized device + metadata. The old restore_common_state reader must still recheck every + live equation and current source before any step; a hash is not that check. + """ + + device: PreparedDevice + input_source: SourceDocument + sources: tuple[SourceDocument, ...] + environment: tuple[tuple[str, str | None], ...] + arguments: SourceDocument + reference: SourceDocument + study_input: SourceDocument + prepared: SourceDocument + policy: SourceDocument + _document: bytes = field(init=False, repr=False) + + def __post_init__(self) -> None: + _original_input(self.device, self.input_source, scaps=False) + supplied_sources = tuple(self.sources) + if any(type(source) is not SourceDocument for source in supplied_sources): + raise ValueError("R1 execution requires immutable source documents") + by_id = {source.id: source for source in supplied_sources} + required = dict(r1_execution_source_requirements()) + if len(by_id) != len(supplied_sources) or set(by_id) != set(required) or any(by_id[key].sha256 != value for key, value in required.items()): + raise ValueError("exact R1 execution sources are required") + trees = {name: ast.parse(document.content) for name, document in by_id.items()} + args = _r1_arguments(self.arguments, trees) + snapshot = _environment(self.environment) + material_ids = dict(behavior_source_requirements(driver="r1_material")) + material = inspect_r1_material_behavior(self.device, sources=tuple(by_id[name] for name in sorted(material_ids)), + environment=snapshot, backend=args["backend"]) + reference, study, prepared, policy = (_mapping(source) for source in (self.reference, self.study_input, self.prepared, self.policy)) + _sealed(reference, spaced=True) + _sealed(prepared) + binding_tree = trees["experiments/one_dimensional_mechanism_r1_binding.py"] + if (self.study_input.sha256 != _literal(binding_tree, "PINNED_STUDY_INPUT_SHA256") + or self.input_source.sha256 != study["fixture_sha256"] + or prepared["source"]["study_input"]["sha256"] != self.study_input.sha256 + or args["controls"] != study["controls"][args["control"]]): + raise ValueError("R1 input, controls and source must bind the actual fixed study") + if reference["sha256"] != _literal(binding_tree, "PINNED_REFERENCE_BINDING_SHA256"): + raise ValueError("R1 fixed reference differs from the existing study") + state_tree = trees["experiments/one_dimensional_mechanism_r1_state.py"] + schema = _literal(state_tree, "STATE_SCHEMA") + pair = material["backend_representation"] == "float64-pair-v1" + codec = trees["experiments/one_dimensional_mechanism_r1_pair_codec.py"] + if pair: + schema = _literal(codec, "SCHEMA") + if prepared.get("schema") != schema: + raise ValueError("R1 preparation representation binding mismatch") + seed = prepared.get("seed_preparation", {}) + _sealed(seed) + if (prepared.get("seed_preparation_sha256") != seed.get("sha256") + or prepared.get("representation") != _literal(codec, "REPRESENTATION") + or prepared.get("dc_state_role") != _literal(codec, "DC_STATE_ROLE")): + raise ValueError("R1 pair state must preserve its separate original seed and representation") + if set(prepared) != set(seed) | _literal(codec, "EXTRA_FIELDS"): + raise ValueError("R1 pair preparation field coverage differs from its seed") + for name in set(seed) - _literal(codec, "REPLACED_FIELDS"): + if _bytes(prepared[name]) != _bytes(seed[name]): + raise ValueError("R1 pair changed retained seed metadata: " + name) + _state_shapes(seed, codec, pair=False) + if (prepared.get("schema") != schema or prepared.get("kind") != "equilibrium_D" + or prepared.get("state_time") != "0-" or prepared.get("intervals") != args["intervals"] + or prepared.get("preparation_controls") != {"nu_I": 1, "nu_t": 1} + or prepared.get("fixed_reference") != reference + or prepared.get("reference_sha256") != reference["sha256"] + or prepared.get("study_spec_sha256") != _literal(state_tree, "STUDY_SPEC_SHA256")): + raise ValueError("R1 preparation, reference, representation or protocol binding mismatch") + _state_shapes(prepared, codec, pair=pair) + history = next(node for node in state_tree.body if isinstance(node, ast.FunctionDef) and node.name == "_preparation_history") + expected_history = ast.literal_eval(next(node.value for node in history.body + if isinstance(node, ast.Return) and node.value is not None)) + if prepared.get("history") != expected_history or prepared.get("preparation_checks", {}).get("certified") is not True: + raise ValueError("R1 requires the complete successful common-state preparation history") + if hashlib.sha256(_bytes(prepared["physical_stack"])).hexdigest() != prepared.get("stack_sha256"): + raise ValueError("R1 original physical-stack identity mismatch") + producer_source = prepared["source"] + _sealed(producer_source) + if any(producer_source.get("files", {}).get(name) != digest for name, digest in required.items()): + raise ValueError("R1 preparation used different current execution sources") + if policy.get("refinement_substeps") != args["time_substeps"]: + raise ValueError("R1 complete policy differs from the requested time levels") + if set(policy) != set(prepared["preparation_policy"]): + raise ValueError("R1 complete policy fields differ from the real preparation policy") + object.__setattr__(self, "sources", tuple(by_id[name] for name in sorted(by_id))) + object.__setattr__(self, "environment", snapshot) + object.__setattr__(self, "_document", _bytes({ + "schema": "solarlab.r1-execution-context.v1", "driver": "r1_step", + "prepared_device_sha256": self.device.content_sha256, + "input": _snapshot(self.input_source), "arguments_source": _snapshot(self.arguments), + "arguments": args, "environment": material["environment_effective_snapshot"], + "material_behavior": material, "reference": _snapshot(self.reference), + "study_input": _snapshot(self.study_input), + "prepared": _snapshot(self.prepared), "prepared_sha256": prepared["sha256"], + "policy": _snapshot(self.policy), "history": prepared["history"], + "source_bindings": [_binding(by_id[name]) for name in sorted(by_id)], + "preparation_environment": prepared["environment"], "preparation_created_utc": prepared["created_utc"], + "existing_reader_and_policy_verification_required": True, "scientific_qualification": False, + })) + + @property + def content_sha256(self) -> str: + return hashlib.sha256(self._document).hexdigest() + + def export(self) -> dict[str, Any]: + return json.loads(self._document) diff --git a/src/solarlab/config/legacy_fields.py b/src/solarlab/config/legacy_fields.py new file mode 100644 index 00000000..be4c29bc --- /dev/null +++ b/src/solarlab/config/legacy_fields.py @@ -0,0 +1,91 @@ +"""Retained standard-loader input evidence, never additional physics settings. + +Version 1 describes the reviewed loader's ignored temperature and full raw-layer +interface indexing. A physical correction must use a distinct behavior version. +Original source bytes remain in the PreparedDevice's SourceDocuments. +""" +from __future__ import annotations + +from decimal import Decimal +from typing import Annotated, Any, Literal + +from pydantic import Field, field_serializer, field_validator + +from solarlab.config.yaml import load_yaml_mapping +from solarlab.materials.full_parameters import Nonempty, StableId, StructuredInput +from solarlab.materials.parameters import QuantityInput +from solarlab.materials.source import SourceDocument + +LegacyVelocityPair = Annotated[tuple[QuantityInput, ...], Field(min_length=2, max_length=2)] + + +class LegacyDeviceFieldsInput(StructuredInput): + schema_version: Literal["solarlab.standard-loader-fields.v1"] + source_id: Nonempty + source_sha256: str = Field(pattern=r"^[0-9a-f]{64}$") + layer_ids: tuple[StableId, ...] + # Deliberately no temperature unit validator: the old reader ignores this + # value even when it is zero, false, null or a nonnumeric string. + temperature: QuantityInput | bool | None = None + interfaces: tuple[LegacyVelocityPair, ...] | None = None + interface_defect_count: int | None = Field(default=None, ge=0) + + @field_validator("interfaces", mode="before") + @classmethod + def _pairs(cls, value: object) -> object: + if value is None: + return value + if not isinstance(value, (tuple, list)) or any( + not isinstance(pair, (tuple, list)) or len(pair) != 2 for pair in value + ): + raise ValueError("legacy interfaces require ordered [v_n,v_p] pairs") + return tuple(tuple(pair) for pair in value) + + @field_serializer("temperature", "interfaces", when_used="json") + def _raw_numbers(self, value: object) -> object: + def numeric(item: object) -> object: + if isinstance(item, Decimal): + return float(item) + if isinstance(item, (list, tuple)): + return [numeric(child) for child in item] + return item + return numeric(value) + + +def retained_legacy_fields(source: SourceDocument) -> LegacyDeviceFieldsInput | None: + """Read only original supplied evidence; no defaults, file access or models.""" + original = load_yaml_mapping(source.content) + raw, layers = original["device"], original["layers"] + retained: dict[str, Any] = {"temperature": raw["temperature"]} if "temperature" in raw else {} + short = any(key in raw and len(raw[key] or ()) < len(layers) - 1 + for key in ("interfaces", "interface_defects")) + if not retained and not short: + return None + if "interfaces" in raw: + retained["interfaces"] = raw["interfaces"] + if "interface_defects" in raw: + retained["interface_defect_count"] = len(raw["interface_defects"] or ()) + return LegacyDeviceFieldsInput.model_validate({ + "schema_version": "solarlab.standard-loader-fields.v1", + "source_id": source.id, "source_sha256": source.sha256, + "layer_ids": [layer.get("id", f"layer_{i}") for i, layer in enumerate(layers)], + **retained, + }) + + +# Audited source identities, not a second physical default catalogue. Resolution +# performs no repository lookup and does not import these legacy modules. +STANDARD_LOADER_BINDING = { + "path": "perovskite-sim/perovskite_sim/models/config_loader.py", + "sha256": "f25dd749fec6e2e755cf18d221986efdc323b6f2c22e92ec7297577117442bb2", +} +INLINE_LOADER_BINDING = { + "path": "perovskite-sim/backend/main.py", + "sha256": "7dd1292f6f34f0f065a50686802c20a8484edcc9e4a7d98287799c076f9da01f", +} +JV_HINT_CONSUMER_BINDINGS = ( + {"path": "web/src/workstation/panes/jv-pane.ts", + "sha256": "2b50f1819655ea89f2bd83baef4656e64ac9a2e680a5bf0ebfa4f8b74c125a06"}, + {"path": "web/src/jv-waveform-controls.ts", + "sha256": "9d9fdf0b6d9245d9707dac60f09177343e4e7ad6adb3391a016bad5d9a64d4e2"}, +) diff --git a/src/solarlab/config/legacy_wire.py b/src/solarlab/config/legacy_wire.py new file mode 100644 index 00000000..d53db3f3 --- /dev/null +++ b/src/solarlab/config/legacy_wire.py @@ -0,0 +1,548 @@ +"""Source-bound reverse wire preparation; no legacy execution or rollout. + +This single transitional adapter belongs to the P06/P09 exit boundary. It +applies edits to detached standard/SCAPS/tandem documents, then checks them +with the existing strict importers. Original evidence and defaults are kept +separate from emitted data; a data roundtrip is not old-driver equivalence. +""" + +from __future__ import annotations + +from collections.abc import Mapping +from copy import deepcopy +from dataclasses import dataclass +from decimal import Decimal, localcontext +import json +import math +from typing import Any + +import yaml + +from solarlab.config.behavior import BehaviorContext +from solarlab.config.device_import import import_standard_device +from solarlab.config.legacy_fields import STANDARD_LOADER_BINDING +from solarlab.config.scaps_input import _FIELDS as SCAPS_FIELDS, import_scaps_device +from solarlab.config.tandem_input import import_tandem +from solarlab.config.yaml import load_yaml_mapping +from solarlab.device.defaults import DefaultCatalog +from solarlab.device.inputs import DeviceInput, TandemInput +from solarlab.materials.parameters import EditableInput +from solarlab.materials.source import SourceDocument +from solarlab.units import normalize_quantity + +__all__ = ["LEGACY_WIRE_VERSION", "LegacyWire", "prepare_legacy_wire"] + +LEGACY_WIRE_VERSION = "solarlab.legacy-wire-preparation.v1" +_ABSENT = object() + + +class _Unsupported(ValueError): + def __init__(self, path: str, code: str, message: str): + super().__init__(message) + self.issue = {"path": path, "code": code, "message": message} + + +def _quantity(value: object, unit: str) -> float: + number = normalize_quantity(value, unit) + # The shared resolver deliberately normalizes signed zero. Wire editing + # must retain the declaration's sign without changing that resolver. + negative = (str(value).lstrip().startswith("-") if isinstance(value, (str, Decimal)) + else type(value) is float and math.copysign(1, value) < 0) + return -0.0 if number == 0 and negative else number + + +def _data(value: Any) -> Any: + """Present fields and units, retaining bool/null/omission and zero signs.""" + if isinstance(value, EditableInput): + result: dict[str, Any] = {} + for name in value.editing_data(): + child = getattr(value, name) + extra = type(value).model_fields[name].json_schema_extra + if child is not None and isinstance(extra, dict) and "unit" in extra: + result[name] = _quantity(child, str(extra["unit"])) + elif child is not None and isinstance(extra, dict) and "item_unit" in extra: + result[name] = [_quantity(item, str(extra["item_unit"])) for item in child] + else: + result[name] = _data(child) + return result + if isinstance(value, Mapping): + return {key: _data(child) for key, child in value.items()} + if isinstance(value, (tuple, list)): + return [_data(child) for child in value] + return value + + +def _same(left: Any, right: Any) -> bool: + if isinstance(left, dict) and isinstance(right, dict): + return left.keys() == right.keys() and all(_same(left[k], right[k]) for k in left) + if isinstance(left, (tuple, list)) and isinstance(right, (tuple, list)): + return len(left) == len(right) and all(_same(a, b) for a, b in zip(left, right)) + if type(left) is bool or type(right) is bool or left is None or right is None: + return type(left) is type(right) and left == right + if isinstance(left, (int, float, Decimal)) and isinstance(right, (int, float, Decimal)): + a, b = Decimal(str(left)), Decimal(str(right)) + return a == b and (bool(a) or a.is_signed() == b.is_signed()) + return type(left) is type(right) and left == right + + +def _patch(wire: Any, before: Any, after: Any) -> Any: + """Change supplied fields only; do not serialize inherited defaults.""" + if _same(before, after): + return deepcopy(wire) + if isinstance(before, dict) and isinstance(after, dict): + result = deepcopy(wire) if isinstance(wire, dict) else {} + for key in sorted(before.keys() | after.keys()): + if key not in after: + result.pop(key, None) + elif key not in before: + result[key] = deepcopy(after[key]) + elif not _same(before[key], after[key]): + result[key] = _patch(result.get(key), before[key], after[key]) + return result + if isinstance(before, list) and isinstance(after, list) and len(before) == len(after): + original = wire if isinstance(wire, list) else [] + return [_patch(original[i] if i < len(original) else None, a, b) + for i, (a, b) in enumerate(zip(before, after))] + return deepcopy(after) + + +def _differences(before: Any, after: Any, path: str = "$") -> list[dict[str, Any]]: + if _same(before, after): + return [] + if isinstance(before, dict) and isinstance(after, dict): + return [row for key in sorted(before.keys() | after.keys()) + for row in _differences(before.get(key, _ABSENT), after.get(key, _ABSENT), path + "." + key)] + if isinstance(before, list) and isinstance(after, list) and len(before) == len(after): + return [row for i, (a, b) in enumerate(zip(before, after)) + for row in _differences(a, b, f"{path}[{i}]")] + return [{"path": path, "before_present": before is not _ABSENT, "after_present": after is not _ABSENT, + **({"before": before} if before is not _ABSENT else {}), + **({"after": after} if after is not _ABSENT else {})}] + + +def _wire_quantity(value: Any, canonical: str, wire_unit: str) -> Any: + if value is None or wire_unit == canonical: + return value + # Invert only an existing whitelisted conversion, without another unit + # registry or a rounded intermediate CGS binary64 value. The shortest + # decimal representation roundtrips to the declared SI binary64 value. + # The strict importer combines the token and rational factor before float. + factor = Decimal(str(normalize_quantity(1, canonical, input_unit=wire_unit))) + with localcontext() as context: + context.prec = 50 + return Decimal(str(value)) / factor + + +class _WireDumper(yaml.SafeDumper): + pass + + +_WireDumper.add_representer(Decimal, lambda dumper, value: + dumper.represent_scalar("tag:yaml.org,2002:float", str(value))) + + +def _document(original: SourceDocument, wire: dict[str, Any]) -> SourceDocument: + if _same(load_yaml_mapping(original.content), wire): + return original + content = yaml.dump(wire, Dumper=_WireDumper, sort_keys=False, allow_unicode=True).encode() + return SourceDocument(original.id, content) + + +def _binding(source: SourceDocument) -> dict[str, Any]: + return {"id": source.id, "sha256": source.sha256, "bytes": len(source.content)} + + +def _flat_defect(value: dict[str, Any], *, standard: bool, path: str) -> dict[str, Any]: + kinetics = value["kinetics"] + if not _same(kinetics["thermal_velocity_n_m_s"], kinetics["thermal_velocity_p_m_s"]): + raise _Unsupported(path + ".kinetics", "single_thermal_velocity", "The old flat interface has one v_th_cm_s for both carriers.") + below = value["energy_reference"] == "below_conduction_band" + if standard and (not below or value.get("partner_metadata") is not None): + raise _Unsupported(path, "standard_flat_interface_schema", "The standard wire accepts below-conduction-band energy and its exact flat interface fields only.") + result = {"sigma_n_cm2": _wire_quantity(kinetics["sigma_n_m2"], "m^2", "cm^2"), + "sigma_p_cm2": _wire_quantity(kinetics["sigma_p_m2"], "m^2", "cm^2"), + "v_th_cm_s": _wire_quantity(kinetics["thermal_velocity_n_m_s"], "m/s", "cm/s"), + "N_t_cm2": _wire_quantity(value["total_density_m2"], "m^-2", "cm^-2"), + "E_t_eV_below_cb" if below else "E_t_eV_above_vb": value["trap_depth_eV"], + "calibration_factor": value["calibration_factor"], + "iface_state_calibration_factor": value["iface_state_calibration_factor"]} + metadata = value.get("partner_metadata") + if metadata is not None: + result["distribution"] = metadata["distribution"] + for key, old, unit, wire_unit in (("E_char_eV", "E_char_eV", "eV", "eV"), + ("N_peak_m3", "N_peak_cm3", "m^-3", "cm^-3")): + if key in metadata: + result[old] = _wire_quantity(metadata[key], unit, wire_unit) + return result + + +def _scaps_bulk(value: dict[str, Any], v_th: Any, path: str) -> dict[str, Any]: + distribution, kinetics = value["distribution"], value["kinetics"] + if (distribution["kind"] not in {"single_level", "gaussian"} + or value.get("energy_level") is None or value.get("spatial_profile") is not None + or any(not _same(kinetics[key], v_th) for key in ("thermal_velocity_n_m_s", "thermal_velocity_p_m_s"))): + raise _Unsupported(path, "scaps_bulk_representation", "SCAPS wire needs referenced single/Gaussian energy, no spatial profile and the layer's shared thermal velocity.") + if distribution["kind"] == "gaussian" and distribution.get("width_convention") not in {"unresolved", "scaps_characteristic_energy"}: + raise _Unsupported(path + ".distribution", "scaps_width_convention", "SCAPS wire does not encode this Gaussian width convention.") + energy = value["energy_level"] + result = {"sigma_n_cm2": _wire_quantity(kinetics["sigma_n_m2"], "m^2", "cm^2"), + "sigma_p_cm2": _wire_quantity(kinetics["sigma_p_m2"], "m^2", "cm^2"), + "N_t_cm3": _wire_quantity(distribution["total_density_m3"], "m^-3", "cm^-3"), + "E_t_eV_below_cb" if energy["reference"] == "below_conduction_band" else "E_t_eV_above_vb": energy["value_eV"], + "distribution": "single" if distribution["kind"] == "single_level" else "gaussian", + "charge_transition": value["charge_transition"], "neutral_reference": value["neutral_reference"], + "degeneracy": value["degeneracy"]} + if value.get("name") is not None: + result["name"] = value["name"] + if "width_eV" in distribution: + result["E_char_eV"] = distribution["width_eV"] + return result + + +def _scaps_layer(raw: dict[str, Any], before: dict[str, Any], after: dict[str, Any], path: str) -> dict[str, Any]: + inverse = {name: (old, unit, wire_unit) for old, (name, unit, wire_unit) in SCAPS_FIELDS.items()} + profile = {"trap_N_t_interface": ("N_t_peak_cm3", "m^-3", "cm^-3"), + "trap_decay_length": ("decay_length_nm", "m", "nm"), + "trap_profile_shape": ("profile", None, None), "trap_edge": ("target", None, None)} + a, b = before["parameters"], after["parameters"] + for name in sorted(a.keys() | b.keys()): + if _same(a.get(name, _ABSENT), b.get(name, _ABSENT)): + continue + if name in inverse: + old, unit, wire_unit = inverse[name] + target = raw + elif name in {"optical_material", "incoherent", "n_optical"}: + old, unit, wire_unit, target = name, None, None, raw + elif name in profile: + old, unit, wire_unit = profile[name] + if raw.get("interface_defect") is None: + raw["interface_defect"] = {} + target = raw["interface_defect"] + else: + raise _Unsupported(path + ".parameters." + name, "scaps_parameter_not_encodable", "This typed parameter has no field in the strict SCAPS wire schema.") + if name not in b: + target.pop(old, None) + else: + target[old] = (_wire_quantity(b[name], unit, wire_unit) + if unit is not None and wire_unit is not None else b[name]) + if not _same(before.get("bulk_defects", []), after.get("bulk_defects", [])): + singular = "bulk_defect" in raw + old_blocks = [raw["bulk_defect"]] if singular and raw["bulk_defect"] is not None else raw.get("bulk_defects", []) + blocks = [] + for i, value in enumerate(after.get("bulk_defects", [])): + target = _scaps_bulk(value, b["v_th"], f"{path}.bulk_defects[{i}]") + previous = _scaps_bulk(before["bulk_defects"][i], a["v_th"], path) if i < len(before.get("bulk_defects", [])) else {} + blocks.append(_patch(old_blocks[i] if i < len(old_blocks) else {}, previous, target)) + if singular and len(blocks) == 1: + raw["bulk_defect"] = blocks[0] + else: + raw.pop("bulk_defect", None) + raw["bulk_defects"] = blocks + # Partner metadata is retained independently. A divergent duplicate cannot + # disappear: the complete strict roundtrip below detects it. + return raw + + +def _device_wire(after: DeviceInput, before: DeviceInput, source: SourceDocument) -> dict[str, Any]: + a, b = _data(before), _data(after) + wire = deepcopy(load_yaml_mapping(source.content)) + if after.source_format not in {before.source_format, "canonical"}: + raise _Unsupported("$.source_format", "source_format_changed", "Rebase through an explicitly selected strict importer before changing the source format.") + if after.materials or any(layer.material is not None for layer in after.layers): + raise _Unsupported("$.materials", "material_inheritance", "Legacy layers have no named-material reference/override graph; it cannot be silently flattened.") + if [layer.id for layer in after.layers] != [layer.id for layer in before.layers]: + raise _Unsupported("$.layers", "source_topology_changed", "A changed layer inventory/order needs a newly bound source before reusing its historical interface slots.") + old_legacy = before.legacy_fields.model_dump(mode="json", exclude_unset=True) if before.legacy_fields else None + new_legacy = after.legacy_fields.model_dump(mode="json", exclude_unset=True) if after.legacy_fields else None + if not _same(old_legacy, new_legacy): + raise _Unsupported("$.legacy_fields", "retained_evidence_changed", "Retained fields must match original source bytes; edit canonical settings/interfaces instead.") + for name in ("name", "description", "simulation_hints"): + wire = _patch(wire, {name: a[name]} if name in a else {}, {name: b[name]} if name in b else {}) + wire = _patch(wire, {"schema_version": a["source_schema_version"]} if "source_schema_version" in a else {}, + {"schema_version": b["source_schema_version"]} if "source_schema_version" in b else {}) + dev = wire["device"] + settings_a, settings_b = a.get("settings", {}), b.get("settings", {}) + dev = _patch(dev, settings_a, settings_b) + if "V_bi_override" in dev and not _same(settings_a.get("V_bi", _ABSENT), settings_b.get("V_bi", _ABSENT)): + if "V_bi" in settings_b: + dev["V_bi_override"] = settings_b["V_bi"] + if "V_bi" not in load_yaml_mapping(source.content)["device"]: + dev.pop("V_bi", None) + else: + dev.pop("V_bi_override", None) + wire["device"] = dev + standard = before.source_format == "standard" + for i, (left, right) in enumerate(zip(a["layers"], b["layers"])): + row = wire["layers"][i] + for name in ("id", "name", "role"): + row = _patch(row, {name: left[name]}, {name: right[name]}) + thickness = "thickness" if standard else "thickness_nm" + row = _patch(row, {thickness: _wire_quantity(left["thickness"], "m", "m" if standard else "nm")}, + {thickness: _wire_quantity(right["thickness"], "m", "m" if standard else "nm")}) + if standard: + row = _patch(row, left["parameters"], right["parameters"]) + else: + row = _scaps_layer(row, left, right, f"$.layers[{i}]") + names: tuple[str, ...] = ("defect_schema_version", "defect_model", "bulk_trap_distribution", "cigs_graded_optics") + if standard: + names += ("bulk_defects",) + row = _patch(row, {k: left[k] for k in names if k in left}, {k: right[k] for k in names if k in right}) + wire["layers"][i] = row + if len(a["contacts"]) != len(b.get("contacts", [])): + raise _Unsupported("$.contacts", "contact_inventory", "The old wire has exactly one contact at each electrical endpoint.") + for old, new in zip(a["contacts"], b["contacts"]): + if any(old[k] != new[k] for k in ("id", "side", "layer")): + raise _Unsupported("$.contacts", "contact_identity", "The old wire fixes contact identity and attachment to the electrical endpoints.") + nested = dev.get("contacts", {}).get(new["side"], {}) + for carrier in ("S_n", "S_p"): + if _same(old.get(carrier, _ABSENT), new.get(carrier, _ABSENT)): + continue + flat = carrier + "_" + new["side"] + targets = [(dev, flat)] if flat in dev or carrier not in nested else [] + if carrier in nested: + targets.append((nested, carrier)) + for target, key in targets: + if carrier in new: + target[key] = new[carrier] + else: + target.pop(key, None) + if len(a["interfaces"]) != len(b.get("interfaces", [])): + raise _Unsupported("$.interfaces", "interface_inventory", "The old wire requires every full-layer adjacency, including substrates.") + for i, (old, new) in enumerate(zip(a["interfaces"], b["interfaces"])): + path = f"$.interfaces[{i}]" + if any(old[k] != new[k] for k in ("id", "left", "right")): + raise _Unsupported(path, "interface_identity", "Nonadjacent/reindexed interfaces cannot reuse an original full-layer slot.") + pair_changed = any(not _same(old.get(k, _ABSENT), new.get(k, _ABSENT)) for k in ("v_n", "v_p")) + if pair_changed: + if not standard or any(k not in new or new[k] is None for k in ("v_n", "v_p")): + raise _Unsupported(path, "velocity_pair_representation", "The standard wire needs two numeric velocities; SCAPS directed defects have no bare velocity-pair field.") + pairs = dev.get("interfaces") or [] + while len(pairs) <= i: + pairs.append([0.0, 0.0]) + pairs[i] = [new["v_n"], new["v_p"]] + dev["interfaces"] = pairs + if not _same(old.get("defect", _ABSENT), new.get("defect", _ABSENT)): + if standard: + blocks = dev.get("interface_defects") or [] + while len(blocks) <= i: + blocks.append(None) + if "defect" not in new: + raise _Unsupported(path + ".defect", "aligned_defect_omission", "An absent interior slot cannot be silently changed into explicit null.") + blocks[i] = (None if new["defect"] is None else _patch(blocks[i], + _flat_defect(old["defect"], standard=True, path=path) if old.get("defect") else {}, + _flat_defect(new["defect"], standard=True, path=path))) + dev["interface_defects"] = blocks + else: + targets = [b["layers"][i]["role"].lower(), b["layers"][i + 1]["role"].lower()] + from solarlab.config.scaps_input import _ROLE_ALIAS + blocks = wire.get("interfaces", []) + matches = [block for block in blocks if [_ROLE_ALIAS.get(x.strip().lower(), x.strip().lower()) + for x in block["target"].split("/")] == targets] + if len(matches) != 1 or not new.get("defect"): + raise _Unsupported(path + ".defect", "scaps_directed_slot", "A SCAPS defect edit requires one existing unambiguous directed slot and a non-null defect.") + replacement = _patch(matches[0], _flat_defect(old["defect"], standard=False, path=path), + _flat_defect(new["defect"], standard=False, path=path)) + blocks[blocks.index(matches[0])] = replacement + if not _same(a.get("grain_boundaries", []), b.get("grain_boundaries", [])): + rows = [] + for i, grain in enumerate(b.get("grain_boundaries", [])): + roles = {layer["role"] for layer in b["layers"] if layer["id"] in grain["layer_ids"]} + role = grain.get("source_layer_role") + if len(roles) != 1 or role not in roles or set(grain["layer_ids"]) != {layer["id"] for layer in b["layers"] if layer["role"] == role and role != "substrate"}: + raise _Unsupported(f"$.grain_boundaries[{i}]", "grain_role_scope", "The old wire selects all electrical layers of one role, not an arbitrary subset.") + rows.append({"id": grain["id"], "layer_role": role, **{k: grain[k] for k in ("x_position", "width", "tau_n", "tau_p")}}) + wire["microstructure"] = {"grain_boundaries": rows} + if not _same(a.get("electrical_grid", []), b.get("electrical_grid", [])): + grid_names = {layer["id"]: layer["name"] for layer in b["layers"] if layer["role"] != "substrate"} + grid_ids = [g["layer"] for g in b["electrical_grid"]] + if len(grid_ids) != len(set(grid_ids)) or set(grid_ids) != set(grid_names): + raise _Unsupported("$.electrical_grid", "grid_layer_identity", "The old wire requires exactly one grid row for each electrical layer.") + if len(set(grid_names.values())) != len(grid_names): + raise _Unsupported("$.electrical_grid", "ambiguous_grid_names", "Legacy grid mappings require unique electrical display names.") + wire["electrical_grid"] = {"interval_weights": {grid_names[g["layer"]]: g["interval_weight"] for g in b["electrical_grid"]}, + "alphas": {grid_names[g["layer"]]: g["alpha"] for g in b["electrical_grid"]}} + wire["device"] = _patch(dev, {"tunnelling_channels": a["tunnelling_channels"]} if "tunnelling_channels" in a else {}, + {"tunnelling_channels": b["tunnelling_channels"]} if "tunnelling_channels" in b else {}) + return wire + + +def _tandem_wire(after: TandemInput, before: TandemInput, source: SourceDocument, + references: Mapping[str, SourceDocument], defaults: DefaultCatalog) -> tuple[dict[str, Any], dict[str, SourceDocument]]: + a, b = _data(before), _data(after) + wire = deepcopy(load_yaml_mapping(source.content)) + documents: dict[str, SourceDocument] = {} + for side in ("top_cell", "bottom_cell"): + ref = getattr(after, side + "_reference") + if ref != getattr(before, side + "_reference"): + raise _Unsupported("$." + side + "_reference", "reference_rebinding", "Changing a subcell reference requires an explicitly rebound tandem source, not a filename-only edit.") + original = references[ref] + new = _document(original, _device_wire(getattr(after, side), getattr(before, side), original)) + if ref in documents and documents[ref].content != new.content: + raise _Unsupported("$." + side, "shared_reference_conflict", "One old filename cannot encode two different edited subcell instances.") + documents[ref] = new + wire["tandem"] = _patch(wire["tandem"], {"junction": {"model": a["junction_model"]}, "light_direction": a["light_direction"]}, + {"junction": {"model": b["junction_model"]}, "light_direction": b["light_direction"]}) + def optical(row: dict[str, Any]) -> dict[str, Any]: + return {**{k: row[k] for k in ("id", "name", "optical_material", "incoherent")}, + "thickness_nm": _wire_quantity(row["thickness"], "m", "nm")} + for name in ("junction_stack", "back_reflector"): + if not _same(a.get(name, _ABSENT), b.get(name, _ABSENT)): + previous = [optical(x) for x in a[name]] if name == "junction_stack" else optical(a[name]) if a.get(name) else a.get(name) + current = [optical(x) for x in b[name]] if name == "junction_stack" else optical(b[name]) if b.get(name) else b.get(name) + wire = _patch(wire, {name: previous} if name in a else {}, {name: current} if name in b else {}) + if not _same(a.get("benchmark", _ABSENT), b.get("benchmark", _ABSENT)): + fields = {"target_pce_fraction": ("target_pce", "1", "%"), "target_jsc_A_m2": ("target_jsc_ma_cm2", "A/m^2", "mA/cm^2"), + "target_voc_V": ("target_voc_v", "V", "V"), "target_ff_fraction": ("target_ff", "1", "1"), "tolerance_fraction": ("tolerance_pct", "1", "%")} + def benchmark(value: dict[str, Any] | None) -> Any: + return None if value is None else {"reference": value["reference"], **{old: _wire_quantity(value[k], unit, old_unit) for k, (old, unit, old_unit) in fields.items()}} + wire = _patch(wire, {"benchmark": benchmark(a["benchmark"])} if "benchmark" in a else {}, + {"benchmark": benchmark(b["benchmark"])} if "benchmark" in b else {}) + return wire, documents + + +def _without_source_metadata(data: dict[str, Any]) -> dict[str, Any]: + if data["schema_version"] == "solarlab.tandem-preparation.v1": + data["top_cell"].pop("legacy_fields", None) + data["bottom_cell"].pop("legacy_fields", None) + data["top_cell"].pop("source_format", None) + data["bottom_cell"].pop("source_format", None) + else: + data.pop("legacy_fields", None) + data.pop("source_format", None) + return data + + +def _semantic(value: DeviceInput | TandemInput) -> dict[str, Any]: + return _without_source_metadata(value.normalized_data()) + + +def _json_default(value: Any) -> Any: + if isinstance(value, Decimal): + return {"decimal": str(value)} + raise TypeError(type(value).__name__) + + +@dataclass(frozen=True, slots=True) +class LegacyWire: + document: SourceDocument | None + references: tuple[tuple[str, SourceDocument], ...] + original_sources: tuple[SourceDocument, ...] + _report_json: bytes + + @property + def supported(self) -> bool: + return self.document is not None + + @property + def can_execute(self) -> bool: + return False + + def export(self) -> dict[str, Any]: + """Detached dry-run evidence, never an executor request.""" + return json.loads(self._report_json) + + +def prepare_legacy_wire( + input: DeviceInput | TandemInput, *, source: SourceDocument, defaults: DefaultCatalog, + references: Mapping[str, SourceDocument] | None = None, behavior: BehaviorContext | None = None, +) -> LegacyWire: + """Prepare edited wire and a dry-run report against supplied source bytes. + + New topologies/material inheritance graphs and source-reference rebinding + are explicit boundaries of this source-bound transition. No sources are + discovered, default-filled into the wire, or written by this function. + """ + if type(source) is not SourceDocument or type(defaults) is not DefaultCatalog: + raise TypeError("actual immutable source and default catalog are required") + supplied = dict(references or {}) + if any(not isinstance(name, str) or type(doc) is not SourceDocument for name, doc in supplied.items()): + raise TypeError("references must map explicit names to immutable SourceDocuments") + report: dict[str, Any] = {"schema": LEGACY_WIRE_VERSION, "can_execute": False, "source": _binding(source), + "original_source_retained": True, "reference_sources": {name: _binding(doc) for name, doc in supplied.items()}, + "default_catalog_sha256": defaults.content_sha256, "default_catalog": defaults.to_mapping(), + "differences": [], "unsupported": [], "behavior": None, + "roundtrip_scope": "strict imported declaration data, presence and numeric words; no old-driver or physical equivalence", + "remaining_dependencies": ["P03/G3 old-driver effective payload and quantitative equivalence", "P06/P09 transition exit ownership"]} + document = None + emitted_references: dict[str, SourceDocument] = {} + try: + if type(input) not in {DeviceInput, TandemInput}: + raise _Unsupported("$", "input_schema", "Only the existing device and tandem preparation declarations have these legacy wire schemas.") + checked = type(input).model_validate(input) + report["input_declaration"] = checked.editing_data() + if isinstance(checked, TandemInput): + before = import_tandem(source, id=checked.id, references=supplied, defaults=defaults) + else: + if checked.source_format == "canonical": + matches = [] + for reader in (import_standard_device, import_scaps_device): + try: + matches.append((reader, reader(source, id=checked.id, defaults=defaults))) + except ValueError: + pass + if len(matches) != 1: + raise _Unsupported("$.source_format", "source_schema_binding", "A canonical declaration requires exactly one strict standard/SCAPS interpretation of the supplied source.") + importer, before = matches[0] + else: + importer = import_standard_device if checked.source_format == "standard" else import_scaps_device + before = importer(source, id=checked.id, defaults=defaults) + report["source_format_mapping"] = {"declared": checked.source_format, "wire": before.source_format, + "basis": "the existing strict importer accepted the explicitly supplied source"} + report["differences"] = _differences(_data(before), _data(checked)) + report["original_declaration"] = before.editing_data() + report["retained_legacy_evidence"] = (_data(before).get("legacy_fields") if isinstance(before, DeviceInput) + else {side: _data(before).get(side, {}).get("legacy_fields") for side in ("top_cell", "bottom_cell")}) + devices = (checked,) if isinstance(checked, DeviceInput) else (checked.top_cell, checked.bottom_cell) + report["inheritance"] = {device.id: { + "settings_from_catalog": {name: value for name, value in defaults.device if name not in device.settings.editing_data()}, + "undeclared_layer_parameters": {layer.id: sorted(set(type(layer.parameters).model_fields) - set(layer.parameters.editing_data())) for layer in device.layers}, + "policy": "absence is retained; SCAPS derived quantities and physical effects are not evaluated here"} for device in devices} + if isinstance(checked, TandemInput): + wire, emitted_references = _tandem_wire(checked, before, source, supplied, defaults) + candidate = _document(source, wire) + reopened = import_tandem(candidate, id=checked.id, references=emitted_references, defaults=defaults) + else: + wire = _device_wire(checked, before, source) + candidate = _document(source, wire) + reopened = importer(candidate, id=checked.id, defaults=defaults) + report["wire_differences"] = _differences(load_yaml_mapping(source.content), wire) + report["reference_differences"] = {name: _differences(load_yaml_mapping(supplied[name].content), load_yaml_mapping(doc.content)) + for name, doc in emitted_references.items()} + losses = _differences(_semantic(checked), _semantic(reopened)) + if losses: + report["roundtrip_differences"] = losses[:64] + report["roundtrip_difference_count"] = len(losses) + raise _Unsupported(losses[0]["path"], "roundtrip_loss", "The strict importer cannot retain this declaration/presence; no partial wire is published.") + report["existing_import_normalization"] = _differences( + _without_source_metadata(_data(checked)), _without_source_metadata(_data(reopened))) + report["normalization_policy"] = "Wire/editing evidence retains signed zero; the existing SI importer normalizes converted zero to positive zero, reported separately without changing that contract." + if behavior is not None: + if type(behavior) is not BehaviorContext or not isinstance(checked, DeviceInput): + raise _Unsupported("$.behavior", "behavior_type", "An actual matching device BehaviorContext is required.") + if (behavior.device.defaults.content_sha256 != defaults.content_sha256 + or source not in behavior.device.sources): + raise _Unsupported("$.behavior", "behavior_source_binding", "BehaviorContext source/default identities do not match this dry run.") + historical = _semantic(behavior.device.to_input()) + if not _same(historical, _semantic(before)) and not _same(historical, _semantic(checked)): + raise _Unsupported("$.behavior", "behavior_input_binding", "BehaviorContext belongs to neither the source nor the edited declaration.") + report["behavior"] = {"sha256": behavior.content_sha256, "context": behavior.export(), + "binding": "edited_declaration" if _same(historical, _semantic(checked)) else "original_only_requires_reinspection", + "selected_models_encoded_as_legacy_controls": False, "global_environment_mutated": False, + "model_equivalence": "unestablished; versioned multi-instance selections are retained as evidence, never flattened into legacy flags"} + else: + report["behavior"] = {"binding": "not_supplied", "historical_driver_equivalence": "unestablished"} + report["unsupported_execution"] = [{"path": "$.behavior.selection", "code": "selected_model_equivalence_unestablished", + "message": "Versioned model instances are not represented by a legacy wire document; driver/selection/effective-payload qualification remains P03/G3."}] + report["emitted"] = _binding(candidate) + report["emitted_references"] = {name: _binding(doc) for name, doc in emitted_references.items()} + report["strict_roundtrip_passed"] = True + report["standard_loader_source_binding"] = STANDARD_LOADER_BINDING + document = candidate + except _Unsupported as error: + report["unsupported"].append(error.issue) + except ValueError as error: + report["unsupported"].append({"path": "$", "code": "invalid_or_unrepresentable_declaration", "message": str(error)[:2000]}) + report["status"] = "prepared_data_only" if document else "unsupported" + report["supported"] = document is not None + return LegacyWire(document, tuple(sorted(emitted_references.items())) if document else (), (source, *supplied.values()), + json.dumps(report, sort_keys=True, allow_nan=False, default=_json_default).encode()) diff --git a/src/solarlab/config/migration.py b/src/solarlab/config/migration.py new file mode 100644 index 00000000..03bea736 --- /dev/null +++ b/src/solarlab/config/migration.py @@ -0,0 +1,200 @@ +"""One explicit legacy-to-v2 data migration and the existing reverse adapter. + +The v2 reader accepts only the new envelope and resolves its typed input. +Original sources remain evidence, not a fallback input format. Neither a data +roundtrip nor choosing the v2 reader authorizes a scientific execution. +""" +from __future__ import annotations + +from collections.abc import Mapping +from dataclasses import dataclass +import json +from typing import Any, Literal + +from pydantic import ValidationError + +from solarlab.config.behavior import _mapping +from solarlab.config.device_import import import_standard_device +from solarlab.config.legacy_wire import LegacyWire, prepare_legacy_wire +from solarlab.config.resolve_device import resolve_device, resolve_tandem +from solarlab.config.scaps_input import import_scaps_device +from solarlab.config.tandem_input import import_tandem +from solarlab.device.defaults import DefaultCatalog +from solarlab.device.inputs import DeviceInput, TandemInput +from solarlab.device.resolved import PreparedDevice, PreparedTandem +from solarlab.materials.resources import ResourceLibrary +from solarlab.materials.source import SourceDocument + +__all__ = ["CONFIGURATION_VERSION", "ConfigurationMigration", "migrate_configuration", + "read_configuration_v2", "prepare_v2_legacy_wire"] + +CONFIGURATION_VERSION = "solarlab.configuration.v2" + + +def _binding(source: SourceDocument) -> dict[str, str]: + if type(source) is not SourceDocument: + raise ValueError("explicit immutable source documents are required") + return {"id": source.id, "sha256": source.sha256} + + +def _encode(value: Any) -> bytes: + return json.dumps(value, sort_keys=True, separators=(",", ":"), allow_nan=False).encode() + + +def _decode( + document: SourceDocument, defaults: DefaultCatalog, resources: ResourceLibrary, sources: tuple[SourceDocument, ...], +) -> tuple[DeviceInput | TandemInput, tuple[SourceDocument, ...], SourceDocument, dict[str, SourceDocument]]: + _binding(document) + if type(defaults) is not DefaultCatalog or type(resources) is not ResourceLibrary: + raise ValueError("actual default and resource catalogs are required") + # v2 files are JSON: keep numeric tokens as their actual int/float types. + # The legacy YAML reader deliberately returns Decimal; routing this JSON + # through it would turn some typed interface fields into decimal strings. + data = _mapping(document) + if data.get("schema_version") != CONFIGURATION_VERSION: + raise ValueError("the formal reader accepts only solarlab.configuration.v2; use the migration tool for v1") + if set(data) != {"schema_version", "input", "source", "sources", "references", "default_catalog_sha256", "resource_library_sha256"}: + raise ValueError("unknown or missing v2 configuration field") + if (data["default_catalog_sha256"] != defaults.content_sha256 + or data["resource_library_sha256"] != resources.content_sha256): + raise ValueError("v2 default/resource content binding mismatch") + trusted = {item.id: item for item in sources if type(item) is SourceDocument} + if len(trusted) != len(sources): + raise ValueError("v2 sources must have unique IDs and actual immutable bytes") + + def source(binding: Any) -> SourceDocument: + if not isinstance(binding, dict) or set(binding) != {"id", "sha256"} or type(binding["id"]) is not str: + raise ValueError("a v2 source binding requires exactly id and sha256") + actual = trusted.get(binding["id"]) + if actual is None or binding != _binding(actual): + raise ValueError("v2 original-source content binding mismatch") + return actual + + if not isinstance(data["sources"], list) or not isinstance(data["references"], dict): + raise ValueError("v2 sources/references have invalid shapes") + original = source(data["source"]) + selected = tuple(source(item) for item in data["sources"]) + references = {name: source(item) for name, item in data["references"].items()} + raw = data["input"] + if not isinstance(raw, dict): + raise ValueError("v2 input must be a typed declaration object") + declaration: DeviceInput | TandemInput + if raw.get("schema_version") == "solarlab.device-preparation.v1": + declaration = DeviceInput.model_validate(raw) + if references or selected != (original,): + raise ValueError("a device v2 file requires exactly its original source and no references") + elif raw.get("schema_version") == "solarlab.tandem-preparation.v1": + declaration = TandemInput.model_validate(raw) + names = (declaration.top_cell_reference, declaration.bottom_cell_reference) + if set(references) != set(names) or selected != tuple(dict.fromkeys((original, *(references[name] for name in names)))): + raise ValueError("tandem v2 references must cover the exact ordered original subcells") + else: + raise ValueError("unsupported v2 typed input schema") + return declaration, selected, original, references + + +def read_configuration_v2( + document: SourceDocument, *, defaults: DefaultCatalog, resources: ResourceLibrary, + sources: tuple[SourceDocument, ...], +) -> PreparedDevice | PreparedTandem: + """Read the formal v2 declaration with exact caller-supplied provenance. + + The nested preparation schemas keep their existing versions. The outer + configuration version does not rename their units, defaults or semantics. + """ + declaration, selected, _, _ = _decode(document, defaults, resources, sources) + if isinstance(declaration, DeviceInput): + return resolve_device(declaration, defaults, resources, sources=selected) + return resolve_tandem(declaration, defaults, resources, sources=selected) + + +def prepare_v2_legacy_wire( + document: SourceDocument, *, defaults: DefaultCatalog, resources: ResourceLibrary, + sources: tuple[SourceDocument, ...], +) -> LegacyWire: + """Use the single existing reverse adapter; never implement a second one.""" + declaration, _, original, references = _decode(document, defaults, resources, sources) + read_configuration_v2(document, defaults=defaults, resources=resources, sources=sources) + return prepare_legacy_wire(declaration, source=original, defaults=defaults, references=references) + + +@dataclass(frozen=True, slots=True) +class ConfigurationMigration: + document: SourceDocument | None + _report_json: bytes + + @property + def supported(self) -> bool: + return self.document is not None + + @property + def can_execute(self) -> bool: + return False + + def export(self) -> dict[str, Any]: + return json.loads(self._report_json) + + +def migrate_configuration( + source: SourceDocument, *, format: Literal["standard-device-v1", "scaps-device-v1", "tandem-v1"], + input_id: str, defaults: DefaultCatalog, resources: ResourceLibrary, + references: Mapping[str, SourceDocument] | None = None, +) -> ConfigurationMigration: + """Dry-run one forward migration, with unchanged existing field readers. + + Failed or unsupported inputs have no proposed document. This function + writes nothing; publishing the returned data is a distinct caller action. + """ + report: dict[str, Any] = {"schema": "solarlab.configuration-migration-report.v1", "source": _binding(source), + "format": format, "input_id": input_id, "supported": False, "can_execute": False, + "evidence": "source_verified_preparation_only", "scientific_gates_awarded": [], "issues": []} + try: + if type(defaults) is not DefaultCatalog or type(resources) is not ResourceLibrary: + raise ValueError("actual default and resource catalogs are required") + supplied = dict(references or {}) + for value in supplied.values(): + _binding(value) + input: DeviceInput | TandemInput + prepared: PreparedDevice | PreparedTandem + if format == "tandem-v1": + input = import_tandem(source, id=input_id, references=supplied, defaults=defaults) + names = (input.top_cell_reference, input.bottom_cell_reference) + if set(supplied) != set(names): + raise ValueError("supply exactly the declared tandem references") + originals = tuple(dict.fromkeys((source, *(supplied[name] for name in names)))) + prepared = resolve_tandem(input, defaults, resources, sources=originals) + elif format in {"standard-device-v1", "scaps-device-v1"}: + if supplied: + raise ValueError("a device migration has no external input references") + reader = import_standard_device if format == "standard-device-v1" else import_scaps_device + input = reader(source, id=input_id, defaults=defaults) + originals = (source,) + prepared = resolve_device(input, defaults, resources, sources=originals) + else: + raise ValueError("an explicit supported legacy format is required; no schema guessing") + document = SourceDocument(input_id + ".configuration.v2", _encode({ + "schema_version": CONFIGURATION_VERSION, "input": json.loads(prepared.input_json), + "source": _binding(source), "sources": [_binding(item) for item in originals], + "references": {name: _binding(item) for name, item in supplied.items()}, + "default_catalog_sha256": defaults.content_sha256, "resource_library_sha256": resources.content_sha256, + })) + reopened = read_configuration_v2(document, defaults=defaults, resources=resources, sources=originals) + if (reopened.input_json != prepared.input_json or reopened.to_mapping() != prepared.to_mapping() + or reopened.content_sha256 != prepared.content_sha256): + raise ValueError("v2 declaration did not retain the complete prepared data") + wire = prepare_v2_legacy_wire(document, defaults=defaults, resources=resources, sources=originals) + report["reverse_adapter"] = wire.export() + if not wire.supported or wire.document != source or dict(wire.references) != supplied: + raise ValueError("the existing reverse adapter cannot retain all original bytes; keep the old path") + report.update(supported=True, proposed=_binding(document), prepared_content_sha256=prepared.content_sha256, + input_declaration=json.loads(prepared.input_json), diagnostics=prepared.to_mapping().get("diagnostics", []), + capability_gaps=prepared.to_mapping().get("capability_gaps", []), + preparation_roundtrip_exact=True, original_wire_bytes_exact=True, + runtime_behavior="existing source-bound driver context still required; v2 data is not execution admission") + return ConfigurationMigration(document, _encode(report)) + except ValueError as error: + if isinstance(error, ValidationError): + report["issues"] = error.errors(include_url=False, include_context=False, include_input=False) + else: + report["issues"] = [{"loc": [], "type": "configuration_migration", "msg": str(error)}] + return ConfigurationMigration(None, _encode(report)) diff --git a/src/solarlab/config/model_parameters.py b/src/solarlab/config/model_parameters.py new file mode 100644 index 00000000..587dc3f7 --- /dev/null +++ b/src/solarlab/config/model_parameters.py @@ -0,0 +1,22 @@ +"""Bind an actual resolved layer's full scalar values to model metadata.""" + +from __future__ import annotations + +from solarlab.device.resolved import PreparedLayer +from solarlab.physics.registry import EvidenceRef, metadata_digest +from solarlab.physics.selection import ParameterSource +from solarlab.config.structured_parameters import ( + device_topology, resolve_structured_edit, structured_parameter_source, structured_parameter_sources, + update_structured_source, +) + +__all__ = ["layer_parameter_source", "device_topology", "structured_parameter_source", + "structured_parameter_sources", "update_structured_source", "resolve_structured_edit"] + + +def layer_parameter_source(layer: PreparedLayer) -> ParameterSource: + if not isinstance(layer, PreparedLayer): + raise ValueError("a validated prepared layer is required") + digest = metadata_digest(layer.to_mapping()) + return ParameterSource(layer.id, layer.parameters, + EvidenceRef("prepared.layer:" + layer.id, digest, "source"), "full_layer") diff --git a/src/solarlab/config/resolve.py b/src/solarlab/config/resolve.py new file mode 100644 index 00000000..a0d589a7 --- /dev/null +++ b/src/solarlab/config/resolve.py @@ -0,0 +1,86 @@ +"""Explicit template loading and immutable layer resolution. + +No source path is guessed and no catalog is copied into the new core. Callers +provide the existing document bytes; current production entrypoints are intact. +""" + +from __future__ import annotations + +from collections.abc import Sequence +import hashlib +from typing import Any + +from solarlab.config.inputs import LayerInput +from solarlab.config.yaml import load_yaml_mapping +from solarlab.device.layer import ResolvedLayer, ResolvedMaterial, ValueOrigin +from solarlab.materials.library import LayerTemplate, MaterialLibrary +from solarlab.materials.parameters import LayerValuesInput + +__all__ = ["load_template_library", "load_layer_input", "layer_input_mapping", "resolve_layer", "resolve_layers"] + + +def load_template_library(content: str | bytes, *, source_id: str) -> MaterialLibrary: + """Validate the actual layer-template document and bind its exact bytes.""" + payload = content.encode("utf-8") if isinstance(content, str) else content + document = load_yaml_mapping(payload) + fields = {"role", "optical_material", "description", "source", "defaults"} + templates = [] + for template_id, record in document.items(): + if not isinstance(record, dict) or set(record) != fields: + raise ValueError(f"templates.{template_id}: expected exactly {sorted(fields)}") + if not isinstance(record["defaults"], dict): + raise ValueError(f"templates.{template_id}.defaults: expected a mapping") + if "optical_material" in record["defaults"]: + raise ValueError(f"templates.{template_id}: optical_material has two competing sources") + values = {**record["defaults"], "optical_material": record["optical_material"]} + try: + normalized = LayerValuesInput.model_validate(values).normalized_items(complete=True) + templates.append(LayerTemplate( + template_id, record["role"], record["description"], record["source"], normalized, + )) + except ValueError as error: + raise ValueError(f"templates.{template_id}.defaults: {error}") from error + return MaterialLibrary(source_id, hashlib.sha256(payload).hexdigest(), tuple(templates)) + + +def load_layer_input(content: str | bytes) -> LayerInput: + return LayerInput.model_validate(load_yaml_mapping(content)) + + +def layer_input_mapping(layer: LayerInput) -> dict[str, Any]: + """A detached JSON-compatible editing document; omitted fields stay omitted.""" + checked = LayerInput.model_validate(layer) + return checked.model_dump(mode="json", exclude_unset=True) + + +def resolve_layer(layer: LayerInput, library: MaterialLibrary) -> ResolvedLayer: + """Apply explicit overrides; zero is a value and nullable optical null clears.""" + if not isinstance(layer, LayerInput) or not isinstance(library, MaterialLibrary): + raise ValueError("resolve_layer requires LayerInput and MaterialLibrary") + layer.overrides.normalized_items() # Validate constructed/copy-bypassed instances. + if set(layer.__dict__) - set(LayerInput.model_fields): + raise ValueError("unknown layer input fields") + layer = LayerInput.model_validate(layer) + template = library.get(layer.template) + overrides = dict(layer.overrides.normalized_items()) + values = {**template.values, **overrides} + values = dict(LayerValuesInput.model_validate(values).normalized_items(complete=True)) + material = ResolvedMaterial(template.id, tuple( + (name, value) for name, value in values.items() if name not in {"thickness", "N_A", "N_D"} + )) + origins = tuple(ValueOrigin( + name, "override" if name in overrides else "template", + layer.id if name in overrides else f"{library.source_id}#{template.id}", + ) for name in values) + return ResolvedLayer( + layer.id, layer.name, template.role, + values["thickness"], values["N_A"], values["N_D"], # type: ignore[arg-type] + material, library.source_id, library.source_sha256, library.content_sha256, origins, + ) + + +def resolve_layers(layers: Sequence[LayerInput], library: MaterialLibrary) -> tuple[ResolvedLayer, ...]: + resolved = tuple(resolve_layer(layer, library) for layer in layers) + if not resolved or len({layer.id for layer in resolved}) != len(resolved): + raise ValueError("layers require nonempty, unique stable IDs; display names may repeat") + return resolved diff --git a/src/solarlab/config/resolve_device.py b/src/solarlab/config/resolve_device.py new file mode 100644 index 00000000..85f3c39a --- /dev/null +++ b/src/solarlab/config/resolve_device.py @@ -0,0 +1,27 @@ +"""Public preparation resolution from explicit input, catalog and resource data.""" + +from __future__ import annotations + +import json + +from solarlab.device.defaults import DefaultCatalog +from solarlab.device.inputs import DeviceInput, TandemInput +from solarlab.device.resolved import PreparedDevice, PreparedTandem +from solarlab.materials.resources import ResourceLibrary +from solarlab.materials.source import SourceDocument + +__all__ = ["resolve_device", "resolve_tandem"] + + +def resolve_device(input: DeviceInput, defaults: DefaultCatalog, resources: ResourceLibrary, + *, sources: tuple[SourceDocument, ...] = ()) -> PreparedDevice: + checked = DeviceInput.model_validate(input) + document = json.dumps(checked.model_dump(mode="json", exclude_unset=True), sort_keys=True, allow_nan=False).encode() + return PreparedDevice(document, defaults, resources, sources) + + +def resolve_tandem(input: TandemInput, defaults: DefaultCatalog, resources: ResourceLibrary, + *, sources: tuple[SourceDocument, ...] = ()) -> PreparedTandem: + checked = TandemInput.model_validate(input) + document = json.dumps(checked.model_dump(mode="json", exclude_unset=True), sort_keys=True, allow_nan=False).encode() + return PreparedTandem(document, defaults, resources, sources) diff --git a/src/solarlab/config/scaps_input.py b/src/solarlab/config/scaps_input.py new file mode 100644 index 00000000..f0496a28 --- /dev/null +++ b/src/solarlab/config/scaps_input.py @@ -0,0 +1,127 @@ +"""SCAPS-unit preparation import; derived quantities are recomputed on resolve.""" + +from __future__ import annotations + +from typing import Any + +from solarlab.config.device_import import _common_device, _flat_defect, _keys, _mapping, _quantity, _sequence +from solarlab.config.yaml import load_yaml_mapping +from solarlab.device.defaults import DefaultCatalog +from solarlab.device.inputs import DeviceInput +from solarlab.materials.source import SourceDocument + +__all__ = ["import_scaps_device"] + +# Schema unit mappings, not default physical parameter values. +_FIELDS = { + "E_g_eV": ("Eg", "eV", "eV"), "chi_eV": ("chi", "eV", "eV"), + "eps_r": ("eps_r", "1", "1"), + "mu_n_cm2": ("mu_n", "m^2/(V s)", "cm^2/(V s)"), "mu_p_cm2": ("mu_p", "m^2/(V s)", "cm^2/(V s)"), + "N_C_cm3": ("Nc300", "m^-3", "cm^-3"), "N_V_cm3": ("Nv300", "m^-3", "cm^-3"), + "N_D_cm3": ("N_D", "m^-3", "cm^-3"), "N_A_cm3": ("N_A", "m^-3", "cm^-3"), + "v_th_cm_s": ("v_th", "m/s", "cm/s"), + "D_ion_m2_s": ("D_ion", "m^2/s", "m^2/s"), "P_lim_m3": ("P_lim", "m^-3", "m^-3"), "P0_m3": ("P0", "m^-3", "m^-3"), + "B_rad_cm3_s": ("B_rad", "m^3/s", "cm^3/s"), "C_n_cm6_s": ("C_n", "m^6/s", "cm^6/s"), + "C_p_cm6_s": ("C_p", "m^6/s", "cm^6/s"), "alpha_cm": ("alpha", "m^-1", "cm^-1"), +} +_REQUIRED = {"name", "role", "thickness_nm", "E_g_eV", "chi_eV", "eps_r", "mu_n_cm2", "mu_p_cm2", + "N_C_cm3", "N_V_cm3", "N_D_cm3", "N_A_cm3", "v_th_cm_s"} +_ROLE_ALIAS = {"pvk": "absorber", "perovskite": "absorber", "absorber": "absorber", "htl": "htl", "etl": "etl"} + + +def _bulk_defect(raw: object, id: str, v_th: float, defaults: DefaultCatalog, path: str) -> tuple[dict[str, Any], dict[str, Any]]: + value = _mapping(raw, path) + required = {"sigma_n_cm2", "sigma_p_cm2", "N_t_cm3"} + _keys(value, required | {"name", "E_t_eV_below_cb", "E_t_eV_above_vb", "distribution", "E_char_eV", "N_peak_cm3", + "charge_transition", "neutral_reference", "degeneracy"}, required, path) + energy = [name for name in ("E_t_eV_below_cb", "E_t_eV_above_vb") if name in value] + if len(energy) != 1: + raise ValueError(f"{path}: exactly one referenced defect energy is required") + reference = "below_conduction_band" if energy[0].endswith("below_cb") else "above_valence_band" + depth = _quantity(value[energy[0]], "eV", path + "." + energy[0]) + distribution = value.get("distribution", "single") + if distribution not in {"single", "gaussian"}: + raise ValueError(f"{path}.distribution: unsupported SCAPS declaration") + if ("charge_transition" in value) != ("neutral_reference" in value): + raise ValueError(f"{path}: charge transition and neutral reference must be declared together") + distribution_data = {"kind": "single_level" if distribution == "single" else "gaussian", "normalization": "integrated_total", + "total_density_m3": _quantity(value["N_t_cm3"], "m^-3", path + ".N_t_cm3", "cm^-3")} + metadata = {"defect_id": id, "distribution": distribution, "energy_reference": reference, "trap_depth_eV": depth} + if distribution == "gaussian": + distribution_data["width_convention"] = "scaps_characteristic_energy" if "E_char_eV" in value else "unresolved" + if "E_char_eV" in value: + distribution_data["width_eV"] = _quantity(value["E_char_eV"], "eV", path + ".E_char_eV") + if "E_char_eV" in value: + metadata["E_char_eV"] = _quantity(value["E_char_eV"], "eV", path + ".E_char_eV") + if "N_peak_cm3" in value: + metadata["N_peak_m3"] = _quantity(value["N_peak_cm3"], "m^-3", path + ".N_peak_cm3", "cm^-3") + species = {"id": id, "name": value.get("name"), "distribution": distribution_data, + "energy_level": {"reference": reference, "value_eV": depth}, + "charge_transition": value.get("charge_transition", "unresolved"), + "neutral_reference": value.get("neutral_reference", "unresolved"), + "kinetics": {"sigma_n_m2": _quantity(value["sigma_n_cm2"], "m^2", path + ".sigma_n_cm2", "cm^2"), + "sigma_p_m2": _quantity(value["sigma_p_cm2"], "m^2", path + ".sigma_p_cm2", "cm^2"), + "thermal_velocity_n_m_s": v_th, "thermal_velocity_p_m_s": v_th}, + "degeneracy": value.get("degeneracy", defaults.defect_degeneracy)} + return species, metadata + + +def import_scaps_device(source: SourceDocument, *, id: str, defaults: DefaultCatalog) -> DeviceInput: + document = load_yaml_mapping(source.content) + _keys(document, {"schema_version", "name", "description", "device", "layers", "interfaces", "electrical_grid", "simulation_hints", "microstructure"}, {"device", "layers"}, "document") + layers = [] + for i, raw in enumerate(_sequence(document["layers"], "layers")): + row = _mapping(raw, f"layers[{i}]") + _keys(row, set(_FIELDS) | {"id", "name", "role", "thickness_nm", "bulk_defect", "bulk_defects", "defect_schema_version", "defect_model", + "optical_material", "incoherent", "n_optical", "interface_defect"}, _REQUIRED, f"layers[{i}]") + params: dict[str, Any] = {name: _quantity(row[key], unit, f"layers[{i}].{key}", source_unit) + for key, (name, unit, source_unit) in _FIELDS.items() if key in row} + for key in ("optical_material", "incoherent", "n_optical"): + if key in row: + params[key] = row[key] + layer = {"id": row.get("id", f"layer_{i}"), "name": row["name"], "role": row["role"], "parameterization": "scaps", + "thickness": _quantity(row["thickness_nm"], "m", f"layers[{i}].thickness_nm", "nm"), "parameters": params} + if "bulk_defect" in row and "bulk_defects" in row: + raise ValueError(f"layers[{i}]: singular and plural bulk defect declarations conflict") + defects = (row["bulk_defect"],) if "bulk_defect" in row and row["bulk_defect"] is not None else _sequence(row.get("bulk_defects", ()), f"layers[{i}].bulk_defects") + canonical, metadata = [], [] + for j, value in enumerate(defects): + defect, meta = _bulk_defect(value, f"bulk_{j}", params["v_th"], defaults, f"layers[{i}].bulk_defects[{j}]") + canonical.append(defect) + metadata.append(meta) + if canonical or "defect_model" in row or "defect_schema_version" in row: + layer.update(defect_schema_version=row.get("defect_schema_version", "solarlab-explicit-bulk-defects-v1"), + defect_model=row.get("defect_model", defaults.defect_model), + bulk_defects=canonical, scaps_defect_metadata=metadata) + if "interface_defect" in row and row["interface_defect"] is not None: + profile = _mapping(row["interface_defect"], f"layers[{i}].interface_defect") + _keys(profile, {"N_t_peak_cm3", "decay_length_nm", "profile", "target"}, {"N_t_peak_cm3", "decay_length_nm"}, f"layers[{i}].interface_defect") + params["trap_N_t_interface"] = _quantity(profile["N_t_peak_cm3"], "m^-3", f"layers[{i}].interface_defect.N_t_peak_cm3", "cm^-3") + params["trap_decay_length"] = _quantity(profile["decay_length_nm"], "m", f"layers[{i}].interface_defect.decay_length_nm", "nm") + if "profile" in profile: + params["trap_profile_shape"] = profile["profile"] + if "target" in profile: + targets = {"htl/pvk": "left", "pvk/etl": "right", "left": "left", "right": "right", "both": "both"} + if not isinstance(profile["target"], str) or profile["target"].lower() not in targets: + raise ValueError(f"layers[{i}].interface_defect.target: unknown edge") + params["trap_edge"] = targets[profile["target"].lower()] + layers.append(layer) + interfaces = [{"id": f"interface_{i}", "left": left["id"], "right": right["id"]} + for i, (left, right) in enumerate(zip(layers, layers[1:]))] + targets_used = set() + for i, raw in enumerate(_sequence(document.get("interfaces", ()), "interfaces")): + entry = _mapping(raw, f"interfaces[{i}]") + if not isinstance(entry.get("target"), str): + raise ValueError(f"interfaces[{i}].target: an explicit directed target is required") + aliases = [part.strip().lower() for part in entry["target"].split("/")] + if len(aliases) != 2 or not all(aliases): + raise ValueError(f"interfaces[{i}].target: expected LEFT/RIGHT") + aliases = [_ROLE_ALIAS.get(part, part) for part in aliases] + matching = [j for j, (left, right) in enumerate(zip(layers, layers[1:])) + if [left["role"].lower(), right["role"].lower()] == aliases] + if len(matching) != 1 or matching[0] in targets_used: + raise ValueError(f"interfaces[{i}].target: unknown, ambiguous or duplicate directed interface") + target = matching[0] + targets_used.add(target) + interfaces[target]["defect"] = _flat_defect(entry, f"interface_defect_{target}", defaults, f"interfaces[{i}]") + return _common_device(document, layers, id, defaults, "scaps", interfaces) diff --git a/src/solarlab/config/schema.py b/src/solarlab/config/schema.py new file mode 100644 index 00000000..f3c1955c --- /dev/null +++ b/src/solarlab/config/schema.py @@ -0,0 +1,128 @@ +"""Export prepared configuration metadata without activating a model or solver. + +Every nested ``schema`` is a complete, independent JSON Schema document. Resolve +its local references against that document, never against the enclosing bundle. +Unit annotations and presence rules come from the DTOs; backend validators remain +authoritative for semantic constraints that JSON Schema cannot express. +""" + +from __future__ import annotations + +from collections.abc import Iterable +from hashlib import sha256 +import json +from typing import TYPE_CHECKING, Any + +from solarlab.config.inputs import LayerInput +from solarlab.device.defects import ( + LegacyBulkTrapInput, MetastableDocumentInput, MetastablePreparationInput, + MultivalentDefectInput, +) +from solarlab.device.inputs import ( + BulkDefectInput, ContactInput, DeviceInput, FullLayerInput, InterfaceInput, + NamedMaterialInput, TandemInput, +) +from solarlab.device.settings import DeviceSettingsInput +from solarlab.device.tunnelling import TunnellingInput +from solarlab.experiments.two_dimensional.inputs import SpatialExperimentInput +from solarlab.experiments.jv.inputs import JVExperimentInput +from solarlab.sweeps.inputs import SweepInput +from solarlab.materials.full_parameters import FullParameterInput +from solarlab.materials.optics import CigsOpticsInput +from solarlab.materials.parameter_schema import parameter_schema +from solarlab.materials.parameters import LayerValuesInput +from solarlab.units import UNIT_SCHEMA_VERSION, supported_units + +if TYPE_CHECKING: + from solarlab.physics.registry import StructuredSchema + +__all__ = ["export_configuration_schema", "configuration_schema_representation"] + +# Explicit coverage of existing editing entry points, not a model catalogue. +# Their nested DTOs remain in each entry point's own $defs namespace. +_INPUT_DTOS = ( + LayerInput, LayerValuesInput, FullParameterInput, DeviceSettingsInput, + DeviceInput, TandemInput, FullLayerInput, NamedMaterialInput, + BulkDefectInput, MultivalentDefectInput, LegacyBulkTrapInput, + MetastableDocumentInput, MetastablePreparationInput, InterfaceInput, + ContactInput, TunnellingInput, CigsOpticsInput, SpatialExperimentInput, JVExperimentInput, SweepInput, +) + + +def _declared_units(value: Any) -> set[str]: + if isinstance(value, list): + return set().union(*(_declared_units(item) for item in value)) + if not isinstance(value, dict): + return set() + own = {value[key] for key in ("unit", "item_unit") + if isinstance(value.get(key), str)} + return own.union(*(_declared_units(item) for item in value.values())) + + +def export_configuration_schema( + *, structured_schemas: Iterable[StructuredSchema] = (), +) -> dict[str, Any]: + """Return detached schema DATA, with optional existing structured metadata. + + Callers may supply actual ``StructuredSchema`` records obtained from their + prepared configuration. Their public exports preserve editable/normalized + schema scope and source identity. No default catalogue or prepared device is + created here, and normalized parameters are not a resolved configuration. + Conflicting definitions of the same structured ID/version are rejected. + """ + inputs = { + dto.__name__: { + "python_type": f"{dto.__module__}:{dto.__qualname__}", + "representation": "editable_input", + "schema": dto.model_json_schema(mode="validation"), + } + for dto in sorted(_INPUT_DTOS, key=lambda dto: dto.__name__) + } + parameters = {name: parameter_schema(name) + for name in ("scalar_layer", "full_layer")} + structured: dict[str, Any] = {} + for item in structured_schemas: + key = f"{item.id}@{item.version}" + document = item.export() + if key in structured and structured[key] != document: + raise ValueError(f"conflicting structured schema: {key}") + structured[key] = document + structured = dict(sorted(structured.items())) + units = _declared_units([inputs, parameters, structured]) + return { + "schema_version": "solarlab.configuration-schema-export.v1", + "status": "prepared_pending_dependencies", + "scope": "prepared_configuration_metadata_only", + "schema_reference_scope": "each complete schema document", + "backend_semantic_validation_required": True, + "unit_schema_version": UNIT_SCHEMA_VERSION, + "unit_spellings": {unit: list(supported_units(unit)) + for unit in sorted(units)}, + "dto_schemas": inputs, + "parameter_schemas": parameters, + "structured_parameter_schemas": structured, + "pending": [ + "input_resolved_result_wire_types", + "resolved_physical_and_numerical_configuration_schema", + "production_model_catalogue_and_executors", + "complex_editors_and_frontend_model_service_integration", + "service_browser_identity_handshake", + "P03-07_and_P06-08_integration_and_G3_G6_qualification", + ], + } + + +def configuration_schema_representation( + *, structured_schemas: Iterable[StructuredSchema] = (), +) -> tuple[bytes, str]: + """Return immutable compact UTF-8 JSON and its metadata-only SHA-256. + + Identity covers these exact bytes, including each independent schema's + references and source metadata. It confers no solver/science qualification. + No mutable schema object or cached caller-owned record is returned. + """ + data = json.dumps( + export_configuration_schema(structured_schemas=structured_schemas), + sort_keys=True, separators=(",", ":"), ensure_ascii=False, allow_nan=False, + ).encode("utf-8") + return data, sha256(data).hexdigest() diff --git a/src/solarlab/config/structured_parameters.py b/src/solarlab/config/structured_parameters.py new file mode 100644 index 00000000..81ebdde2 --- /dev/null +++ b/src/solarlab/config/structured_parameters.py @@ -0,0 +1,323 @@ +"""Bind existing closed device DTOs to registry instances without physics. + +The prepared device, supplied default catalog and supplied resource bytes are +the authority. An edit replaces one complete DTO and resolves that device again; +this module has no second field/default table and no plugin discovery. Input +presence, normalized parameters and the resolver's derived projection remain +separate. The normal path never reads old Python source or imports its engine. +""" + +from __future__ import annotations + +from collections.abc import Mapping +from dataclasses import dataclass +import json +import re +from typing import Any + +from solarlab.config.resolve_device import resolve_device +from solarlab.device.defects import ( + LegacyBulkTrapInput, MetastableDocumentInput, MetastablePreparationInput, + MultivalentDefectInput, +) +from solarlab.device.inputs import BulkDefectInput, ContactInput, DeviceInput, InterfaceInput +from solarlab.device.resolved import PreparedDevice +from solarlab.device.tunnelling import TunnellingInput +from solarlab.materials.full_parameters import StructuredInput +from solarlab.materials.optics import CigsOpticsInput +from solarlab.physics.registry import ( + EvidenceRef, Scope, StructuredData, StructuredParameters, StructuredSchema, + metadata_digest, +) +from solarlab.physics.selection import ParameterSource, Topology +from solarlab.units import UNIT_SCHEMA_VERSION + +__all__ = ["structured_parameter_source", "structured_parameter_sources", + "update_structured_source", "resolve_structured_edit", "device_topology"] + +# These are actual field/DTO bindings, not another schema or default table. +_LAYER_DTOS: dict[str, type[StructuredInput]] = { + "bulk_trap_distribution": LegacyBulkTrapInput, + "cigs_graded_optics": CigsOpticsInput, + "metastable_document": MetastableDocumentInput, + "metastable_preparation": MetastablePreparationInput, +} +_ABSENT = object() + + +def _json(value: Any) -> str: + return json.dumps(value, sort_keys=True, separators=(",", ":"), allow_nan=False) + + +def _normalized_schema(value: Any) -> Any: + """Derive quantity output types from the DTO's own unit annotations.""" + if isinstance(value, list): + return [_normalized_schema(item) for item in value] + if not isinstance(value, dict): + return value + result = {key: _normalized_schema(item) for key, item in value.items()} + if "unit" in result: + number: dict[str, Any] = {"type": "number"} + if result.get("positive"): + number["exclusiveMinimum"] = 0 + elif result.get("nonnegative"): + number["minimum"] = 0 + result.pop("anyOf", None) + result.pop("type", None) + if result.get("nullable"): + result["anyOf"] = [number, {"type": "null"}] + else: + result.update(number) + if "item_unit" in result: + result["items"] = {"type": "number", "unit": result["item_unit"]} + if result.get("item_positive"): + result["items"]["exclusiveMinimum"] = 0 + return result + + +def _schema(dto: type[StructuredInput], family: str, scope: str, version: str) -> StructuredSchema: + raw = dto.model_json_schema() + normalized = _normalized_schema(raw) + normalized["title"] += "NormalizedParameters" + normalized["x-solarlab-representation"] = "normalized_parameters" + normalized["x-solarlab-unit-schema"] = UNIT_SCHEMA_VERSION + match = re.search(r"-v([1-9][0-9]*)$", version) + number = int(match.group(1)) if match else 1 + return StructuredSchema( + f"solarlab.parameters.{family}.v{number}", number, family, scope, version, + _json(raw), _json(normalized), + EvidenceRef("dto-json-schema:" + dto.__module__ + ":" + dto.__qualname__, metadata_digest(raw), "source"), + ) + + +@dataclass(frozen=True) +class _Location: + dto: type[StructuredInput] + version: str + scope: Scope + orientation: tuple[str, ...] + declared: bool + input: StructuredInput | None + normalized: dict[str, Any] | None + projection: dict[str, Any] | None + path_by_id: tuple[str, ...] + context: dict[str, Any] + + +@dataclass(frozen=True, slots=True) +class _DeviceParameterAuthority: + prepared: PreparedDevice + family: str + owner_id: str + local_id: str + + def _locate(self) -> _Location: + if not isinstance(self.prepared, PreparedDevice): + raise ValueError("structured parameters require a validated prepared device") + model, resolved = self.prepared.to_input(), self.prepared.to_mapping() + dto: type[StructuredInput] + if self.family == "bulk_defect" or self.family in _LAYER_DTOS: + layer_matches = [(raw, layer) for raw, layer in zip(model.layers, self.prepared.layers) if raw.id == self.owner_id] + if len(layer_matches) != 1: + raise ValueError("structured parameters name an unknown layer ID") + raw_layer, layer = layer_matches[0] + scope = Scope("layer", (layer.id,)) + context = {"band_gap_eV": dict(layer.parameters)["Eg"], + "material_id": layer.material.id, "material_sha256": layer.material.content_sha256, + "defect_model": layer.defect_model, "defect_schema_version": layer.defect_schema_version} + if self.family == "bulk_defect": + found = [(raw, item) for raw, item in zip(raw_layer.bulk_defects, layer.defects) if raw.id == self.local_id] + if len(found) != 1: + raise ValueError("bulk defect parameters require an existing stable species ID") + raw, item = found[0] + dto = MultivalentDefectInput if isinstance(raw, MultivalentDefectInput) else BulkDefectInput + normalized = dto.model_validate_json(item.input_json).normalized_data() + return _Location(dto, str(layer.defect_schema_version), scope, scope.ids, True, raw, + normalized, item.to_mapping(), ("layers", layer.id, "bulk_defects", self.local_id), context) + if self.local_id != self.family: + raise ValueError("a singleton layer declaration has one canonical local ID") + dto = _LAYER_DTOS[self.family] + source_json = getattr(layer, self.family + "_json") + effective = dto.model_validate_json(source_json) if source_json is not None else None + version = dto.model_json_schema()["properties"].get("schema_version", {}).get( + "const", model.schema_version + "#" + self.family) + return _Location(dto, version, scope, scope.ids, self.family in raw_layer.model_fields_set, + getattr(raw_layer, self.family), effective.normalized_data() if effective is not None else None, + layer.to_mapping().get(self.family), ("layers", layer.id, self.family), context) + if self.local_id != self.family: + raise ValueError("a singleton declaration has one canonical local ID") + if self.family == "tunnelling_channels": + if self.owner_id != model.id: + raise ValueError("tunnelling channel document belongs to the explicit device ID") + effective_data = resolved.get(self.family) + effective = TunnellingInput.model_validate(effective_data) if effective_data is not None else None + # The version is a DTO constant; no physical defaults are supplied here. + version = TunnellingInput.model_fields["schema_version"].default + return _Location(TunnellingInput, version, Scope("device"), (), self.family in model.model_fields_set, + model.tunnelling_channels, effective.normalized_data() if effective else None, + effective_data, (self.family,), {}) + if self.family == "interface": + interfaces = [item for item in self.prepared.interfaces if item.values["id"] == self.owner_id] + if len(interfaces) != 1: + raise ValueError("unknown interface ID") + interface = interfaces[0] + if not interface.electrical: + raise ValueError("optical-only interfaces do not belong to electrical model selection") + effective = InterfaceInput.model_validate_json(interface.input_json) + interface_inputs = [item for item in model.interfaces if item.id == self.owner_id] + scope = Scope("interface", (effective.left, effective.right)) + return _Location(InterfaceInput, model.schema_version + "#interface", scope, scope.ids, bool(interface_inputs), + interface_inputs[0] if interface_inputs else None, effective.normalized_data(), interface.to_mapping(), + ("interfaces", self.owner_id), {"adjacent_gaps_eV": list(interface.adjacent_gaps_eV)}) + if self.family == "contact": + contacts = [item for item in resolved["contacts"] if item["id"] == self.owner_id] + if len(contacts) != 1: + raise ValueError("unknown contact ID") + contact = contacts[0] + contact_inputs = [item for item in model.contacts if item.id == self.owner_id] + return _Location(ContactInput, model.schema_version + "#contact", Scope("contact", (self.owner_id,)), + (contact["side"], contact["layer"]), bool(contact_inputs), contact_inputs[0] if contact_inputs else None, + ContactInput.model_validate(contact).normalized_data(), contact, + ("contacts", self.owner_id), {}) + raise ValueError(f"unavailable structured parameter family: {self.family!r}") + + def snapshot(self) -> StructuredData: + location = self._locate() + resolved = self.prepared.to_mapping() + schema = _schema(location.dto, self.family, location.scope.kind, location.version) + raw = location.input.editing_data() if location.input is not None else None + presence = "absent" if not location.declared else ("null" if raw is None else "value") + reference = {"schema": resolved["schema"], "resolver": "solarlab.device.resolved:PreparedDevice", + "device_sha256": self.prepared.content_sha256, "path_by_id": list(location.path_by_id), + "projection": location.projection, "context": location.context, + "default_catalog_sha256": metadata_digest(resolved["default_catalog"]), + "resource_bindings": resolved["resource_bindings"], "input_sources": resolved["input_sources"]} + return StructuredData(schema, location.scope, resolved["id"], self.owner_id, self.local_id, + location.orientation, presence, _json(raw), _json(location.normalized), _json(reference), + EvidenceRef("prepared.device:" + resolved["id"], self.prepared.content_sha256, "source"), + tuple(resolved["capability_gaps"])) + + def replace(self, document: object) -> _DeviceParameterAuthority: + location = self._locate() + if document is _ABSENT or document is None: + if self.family not in _LAYER_DTOS and self.family != "tunnelling_channels": + raise ValueError("required instance/owner identities cannot be cleared or inherited") + value = document + else: + if not isinstance(document, (Mapping, StructuredInput)): + raise ValueError("a complete typed structured document is required") + value = location.dto.model_validate(document).editing_data() + data = self.prepared.to_input().editing_data() + if self.family == "bulk_defect" or self.family in _LAYER_DTOS: + layer = next(item for item in data["layers"] if item["id"] == self.owner_id) + if self.family == "bulk_defect": + if not isinstance(value, dict): + raise ValueError("a complete species document is required") + if value["id"] != self.local_id: + raise ValueError("an edit cannot rename the selected species identity") + layer["bulk_defects"] = [value if item["id"] == self.local_id else item for item in layer["bulk_defects"]] + elif value is _ABSENT: + layer.pop(self.family, None) + else: + layer[self.family] = value + elif self.family in {"interface", "contact"}: + if not isinstance(value, dict): + raise ValueError("a complete owner document is required") + if value["id"] != self.owner_id: + raise ValueError("an edit cannot rename its owner identity") + collection = self.family + "s" + entries = data.get(collection, []) + data[collection] = ([value if item["id"] == self.owner_id else item for item in entries] + if any(item["id"] == self.owner_id for item in entries) else [*entries, value]) + elif value is _ABSENT: + data.pop(self.family, None) + else: + data[self.family] = value + prepared = resolve_device(DeviceInput.model_validate(data), self.prepared.defaults, + self.prepared.resources, sources=self.prepared.sources) + result = _DeviceParameterAuthority(prepared, self.family, self.owner_id, self.local_id) + updated = result._locate() + if updated.scope != location.scope or updated.orientation != location.orientation: + raise ValueError("an edit cannot change selected scope or orientation") + return result + + +def structured_parameter_source( + prepared: PreparedDevice, family: str, owner_id: str, *, instance_id: str | None = None, +) -> ParameterSource: + """Bind an actual species ID, or the singleton field's canonical local ID.""" + if family == "bulk_defect" and instance_id is None: + raise ValueError("bulk_defect requires its existing stable species instance_id") + local_id = family if instance_id is None else instance_id + parameters = StructuredParameters(_DeviceParameterAuthority(prepared, family, owner_id, local_id)) + source_id = "structured:" + metadata_digest([parameters.data.device_id, family, owner_id, local_id]) + return ParameterSource(source_id, (), + parameters.data.source, parameters.data.schema.id, parameters) + + +def update_structured_source(source: ParameterSource, document: object = _ABSENT) -> ParameterSource: + """Replace a whole validated DTO; omission inherits, explicit None clears. + + Nested edits use the existing DTO validated_update methods before this call. + Parent/device constraints are then rechecked with the same supplied catalog + and resources. Required species and owner identities cannot be removed. + """ + if not isinstance(source, ParameterSource) or source.structured is None: + raise ValueError("an existing structured parameter source is required") + authority = source.structured._authority + if not isinstance(authority, _DeviceParameterAuthority): + raise ValueError("this edit requires the closed prepared-device authority") + parameters = StructuredParameters(authority.replace(document)) + if parameters.data.schema != source.structured.data.schema: + raise ValueError("schema/version changes require an explicit new model binding") + return ParameterSource(source.id, (), parameters.data.source, parameters.data.schema.id, parameters) + + +def resolve_structured_edit(source: ParameterSource, document: object = _ABSENT) -> PreparedDevice: + """Return the edited device so all selected instances can be rebound together. + + A selection cannot mix structured records from distinct device snapshots. + Re-enumerate structured_parameter_sources on this result after an edit. + """ + updated = update_structured_source(source, document) + assert updated.structured is not None + authority = updated.structured._authority + assert isinstance(authority, _DeviceParameterAuthority) + return authority.prepared + + +def device_topology(prepared: PreparedDevice) -> Topology: + """Preserve actual electrical layer, interface and contact identities.""" + if not isinstance(prepared, PreparedDevice): + raise ValueError("a prepared device is required") + resolved = prepared.to_mapping() + return Topology(tuple(layer.id for layer in prepared.layers if layer.role != "substrate"), + tuple((item["id"], item["layer"]) for item in resolved["contacts"]), + tuple((item.values["id"], item.values["left"], item.values["right"]) + for item in prepared.interfaces if item.electrical), + tuple((item["id"], item["side"]) for item in resolved["contacts"]), resolved["id"]) + + +def structured_parameter_sources(prepared: PreparedDevice) -> tuple[ParameterSource, ...]: + """Canonical ordered actual declarations, including defaults/explicit clears.""" + topology = device_topology(prepared) + model = prepared.to_input() + sources: list[ParameterSource] = [] + for raw, layer in zip(model.layers, prepared.layers): + if layer.id not in topology.electrical_layer_ids: + if layer.defects or any(family in raw.model_fields_set or getattr(layer, family + "_json") is not None for family in _LAYER_DTOS): + raise ValueError("structured declarations on optical-only layers are unavailable in electrical model selection") + continue + sources.extend(structured_parameter_source(prepared, "bulk_defect", layer.id, instance_id=item.values["id"]) + for item in layer.defects) + for family in _LAYER_DTOS: + if family in raw.model_fields_set or getattr(layer, family + "_json") is not None: + sources.append(structured_parameter_source(prepared, family, layer.id)) + sources.extend(structured_parameter_source(prepared, "interface", identifier) for identifier, _, _ in topology.interface_ids) + sources.extend(structured_parameter_source(prepared, "contact", identifier) for identifier, _ in topology.contacts) + if "tunnelling_channels" in model.model_fields_set: + sources.append(structured_parameter_source(prepared, "tunnelling_channels", model.id)) + def identifier(source: ParameterSource) -> str: + assert source.structured is not None # Every entry above uses the closed factory. + return source.structured.data.instance_id + return tuple(sorted(sources, key=identifier)) diff --git a/src/solarlab/config/tandem_input.py b/src/solarlab/config/tandem_input.py new file mode 100644 index 00000000..a03923ee --- /dev/null +++ b/src/solarlab/config/tandem_input.py @@ -0,0 +1,62 @@ +"""Tandem preparation from explicitly supplied subcell documents.""" + +from __future__ import annotations + +from collections.abc import Mapping +from typing import Any + +from solarlab.config.device_import import _keys, _mapping, _quantity, _sequence, import_standard_device +from solarlab.config.yaml import load_yaml_mapping +from solarlab.device.defaults import DefaultCatalog +from solarlab.device.inputs import TandemInput +from solarlab.materials.source import SourceDocument + +__all__ = ["import_tandem"] + + +def _optical_layer(raw: object, id: str, defaults: DefaultCatalog, path: str) -> dict[str, Any]: + row = _mapping(raw, path) + _keys(row, {"id", "name", "thickness_nm", "optical_material", "incoherent"}, {"name", "thickness_nm", "optical_material"}, path) + return {"id": row.get("id", id), "name": row["name"], + "thickness": _quantity(row["thickness_nm"], "m", path + ".thickness_nm", "nm"), + "optical_material": row["optical_material"], + "incoherent": row["incoherent"] if "incoherent" in row else dict(defaults.structural)["junction_incoherent"]} + + +def import_tandem(source: SourceDocument, *, id: str, references: Mapping[str, SourceDocument], defaults: DefaultCatalog) -> TandemInput: + raw = load_yaml_mapping(source.content) + _keys(raw, {"schema_version", "device_type", "tandem", "junction_stack", "back_reflector", "benchmark"}, + {"schema_version", "device_type", "tandem"}, "document") + if type(raw["schema_version"]) is not int or raw["schema_version"] != 1: + raise ValueError("schema_version: only tandem input version 1 is available") + tandem = _mapping(raw["tandem"], "tandem") + _keys(tandem, {"top_cell", "bottom_cell", "junction", "light_direction"}, {"top_cell", "bottom_cell", "junction"}, "tandem") + junction = _mapping(tandem["junction"], "tandem.junction") + _keys(junction, {"model"}, {"model"}, "tandem.junction") + cells = {} + for name in ("top_cell", "bottom_cell"): + ref = tandem[name] + if not isinstance(ref, str) or ref not in references or not isinstance(references[ref], SourceDocument): + raise ValueError(f"tandem.{name}: missing explicitly supplied subcell document {ref!r}") + cells[name] = import_standard_device(references[ref], id=id + "." + name, defaults=defaults).editing_data() + result = {"schema_version": "solarlab.tandem-preparation.v1", "id": id, + "source_schema_version": raw["schema_version"], "device_type": raw["device_type"], + **cells, "top_cell_reference": tandem["top_cell"], "bottom_cell_reference": tandem["bottom_cell"], + "junction_model": junction["model"], "light_direction": tandem.get("light_direction", dict(defaults.structural)["tandem_light_direction"]), + "junction_stack": [_optical_layer(item, f"junction_{i}", defaults, f"junction_stack[{i}]") + for i, item in enumerate(_sequence(raw.get("junction_stack", ()), "junction_stack"))]} + if "back_reflector" in raw: + result["back_reflector"] = None if raw["back_reflector"] is None else _optical_layer(raw["back_reflector"], "back_reflector", defaults, "back_reflector") + if "benchmark" in raw and raw["benchmark"] is None: + result["benchmark"] = None + elif "benchmark" in raw: + benchmark = _mapping(raw["benchmark"], "benchmark") + fields = {"reference", "target_pce", "target_jsc_ma_cm2", "target_voc_v", "target_ff", "tolerance_pct"} + _keys(benchmark, fields, fields, "benchmark") + result["benchmark"] = {"reference": benchmark["reference"], + "target_pce_fraction": _quantity(benchmark["target_pce"], "1", "benchmark.target_pce", "%"), + "target_jsc_A_m2": _quantity(benchmark["target_jsc_ma_cm2"], "A/m^2", "benchmark.target_jsc_ma_cm2", "mA/cm^2"), + "target_voc_V": _quantity(benchmark["target_voc_v"], "V", "benchmark.target_voc_v"), + "target_ff_fraction": _quantity(benchmark["target_ff"], "1", "benchmark.target_ff"), + "tolerance_fraction": _quantity(benchmark["tolerance_pct"], "1", "benchmark.tolerance_pct", "%")} + return TandemInput.model_validate(result) diff --git a/src/solarlab/config/yaml.py b/src/solarlab/config/yaml.py new file mode 100644 index 00000000..06f88d00 --- /dev/null +++ b/src/solarlab/config/yaml.py @@ -0,0 +1,126 @@ +"""YAML 1.2 scalars and explicit legacy merges; preserve decimal input text.""" + +from __future__ import annotations + +from decimal import Decimal +import re +from typing import Any + +import yaml + +__all__ = ["load_yaml_mapping"] + + +class _Loader(yaml.SafeLoader): + pass + + +_REMOVED_TAGS = { + "tag:yaml.org,2002:bool", "tag:yaml.org,2002:int", + "tag:yaml.org,2002:float", "tag:yaml.org,2002:timestamp", +} +_Loader.yaml_implicit_resolvers = { + key: [(tag, pattern) for tag, pattern in entries if tag not in _REMOVED_TAGS] + for key, entries in yaml.SafeLoader.yaml_implicit_resolvers.items() +} +_BOOL = re.compile(r"(?:true|True|TRUE|false|False|FALSE)\Z") +_INT = re.compile(r"(?:[-+]?[0-9]+|0o[0-7]+|0x[0-9a-fA-F]+)\Z") +_FLOAT = re.compile(r"(?:[-+]?(?:(?:[0-9]+(?:\.[0-9]*)?|\.[0-9]+)(?:[eE][-+]?[0-9]+)?|\.(?:inf|Inf|INF))|\.(?:nan|NaN|NAN))\Z") +_Loader.add_implicit_resolver("tag:yaml.org,2002:bool", _BOOL, list("tTfF")) +_Loader.add_implicit_resolver("tag:yaml.org,2002:int", _INT, list("-+0123456789")) +_Loader.add_implicit_resolver( + "tag:yaml.org,2002:float", + _FLOAT, + list("-+0123456789."), +) + + +def _integer(loader: _Loader, node: Any) -> int: + text = loader.construct_scalar(node) + if _INT.fullmatch(text) is None: + raise ValueError("invalid YAML 1.2 integer") + unsigned = text.lstrip("+-") + base = 8 if unsigned.startswith("0o") else 16 if unsigned.startswith("0x") else 10 + return int(text, base) + + +def _decimal(loader: _Loader, node: Any) -> Decimal: + text = loader.construct_scalar(node) + if _FLOAT.fullmatch(text) is None: + raise ValueError("invalid YAML 1.2 float") + if text.lstrip("+-").lower() in {".inf", ".nan"}: + raise ValueError("YAML numeric values must be finite") + value = Decimal(text) + if not value.is_finite(): + raise ValueError("YAML numeric values must be finite") + return value + + +def _boolean(loader: _Loader, node: Any) -> bool: + text = loader.construct_scalar(node) + if _BOOL.fullmatch(text) is None: + raise ValueError("invalid YAML 1.2 boolean") + return text.lower() == "true" + + +def _null(loader: _Loader, node: Any) -> None: + if loader.construct_scalar(node) not in {"", "~", "null", "Null", "NULL"}: + raise ValueError("invalid YAML 1.2 null") + return None + + +def _mapping(loader: _Loader, node: Any) -> dict[str, Any]: + if not isinstance(node, yaml.MappingNode): + raise ValueError("configuration mapping tag requires a mapping") + result: dict[str, Any] = {} + inherited: dict[str, Any] = {} + has_merge = False + for key_node, value_node in node.value: + if key_node.tag == "tag:yaml.org,2002:merge": + if has_merge: + raise ValueError("duplicate YAML merge key") + has_merge = True + nodes = value_node.value if isinstance(value_node, yaml.SequenceNode) else [value_node] + for source in nodes: + if not isinstance(source, yaml.MappingNode): + raise ValueError("YAML merge sources must be mappings") + # Earlier mappings take precedence in a merge sequence; + # explicit keys below override inherited keys in any order. + for key, value in loader.construct_object(source, deep=True).items(): + inherited.setdefault(key, value) + continue + key = loader.construct_object(key_node, deep=True) + if not isinstance(key, str): + raise ValueError("configuration mapping keys must be strings") + if key in result: + raise ValueError(f"duplicate YAML key: {key}") + result[key] = loader.construct_object(value_node, deep=True) + return {**inherited, **result} + + +_Loader.add_constructor("tag:yaml.org,2002:int", _integer) +_Loader.add_constructor("tag:yaml.org,2002:float", _decimal) +_Loader.add_constructor("tag:yaml.org,2002:bool", _boolean) +_Loader.add_constructor("tag:yaml.org,2002:null", _null) +_Loader.add_constructor("tag:yaml.org,2002:map", _mapping) + + +def _validate_tree(value: Any, ancestors: set[int]) -> None: + if isinstance(value, (dict, list)): + if id(value) in ancestors: + raise ValueError("cyclic YAML aliases are unsupported") + ancestors.add(id(value)) + for child in value.values() if isinstance(value, dict) else value: + _validate_tree(child, ancestors) + ancestors.remove(id(value)) + elif value is not None and type(value) not in {str, int, bool, Decimal}: + raise ValueError(f"unsupported YAML value type: {type(value).__name__}") + + +def load_yaml_mapping(content: str | bytes) -> dict[str, Any]: + """Load one string-keyed document; unsafe tags and cyclic maps are rejected.""" + result = yaml.load(content, Loader=_Loader) + if not isinstance(result, dict): + raise ValueError("configuration must be one mapping document") + _validate_tree(result, set()) + return result diff --git a/src/solarlab/contracts/__init__.py b/src/solarlab/contracts/__init__.py new file mode 100644 index 00000000..eda4cfc5 --- /dev/null +++ b/src/solarlab/contracts/__init__.py @@ -0,0 +1,36 @@ +"""Route-independent public numerical contracts (P02-02 subset). + +Only interfaces that do not depend on IDA storage or coordinate choices are +implemented here. Interfaces waiting on the G2-R route decision are listed in +:mod:`solarlab.contracts.pending` and fail closed when used. +""" + +from solarlab.contracts.arithmetic import AssemblyArithmetic, FloatArithmetic +from solarlab.contracts.arrays import ( + FloatArray, ImmutableArrays, PhysicalArray, Vector, frozen_array, integer_indices, +) +from solarlab.contracts.errors import ContractError +from solarlab.contracts.layout import EquationSpec, Layout, Support, VariableSpec +from solarlab.contracts.pending import PENDING_G2R +from solarlab.contracts.ports import TerminalPort +from solarlab.contracts.state import ( + FieldProjection, LinearCoordinates, Point, ResolvedAuthority, StateAuthority, + StateIncrement, StateView, +) +from solarlab.contracts.terms import ( + AlgebraicTerm, CellSource, Contribution, FaceFlux, Geometry, SurfaceCharge, TermSink, +) +from solarlab.contracts.units import ( + AREA, COULOMB, ELEMENTARY_CHARGE_C, KELVIN, LENGTH, ONE, PARTICLE, SECOND, VOLT, + VOLUME, Unit, +) + +__all__ = [ + "AREA", "AlgebraicTerm", "AssemblyArithmetic", "COULOMB", "CellSource", + "ContractError", "Contribution", "ELEMENTARY_CHARGE_C", "EquationSpec", "FaceFlux", "FieldProjection", + "FloatArithmetic", "FloatArray", "Geometry", "ImmutableArrays", "KELVIN", "LENGTH", + "Layout", "LinearCoordinates", "ONE", "PARTICLE", "PENDING_G2R", "PhysicalArray", + "Point", "ResolvedAuthority", "SECOND", "StateAuthority", "StateIncrement", + "StateView", "Support", "SurfaceCharge", "TermSink", "TerminalPort", "Unit", + "VOLT", "VOLUME", "VariableSpec", "Vector", "frozen_array", "integer_indices", +] diff --git a/src/solarlab/contracts/arithmetic.py b/src/solarlab/contracts/arithmetic.py new file mode 100644 index 00000000..1f6f10bc --- /dev/null +++ b/src/solarlab/contracts/arithmetic.py @@ -0,0 +1,86 @@ +"""Array operations supplied by a precision backend, with no physics imports.""" + +from __future__ import annotations + +from typing import Any, Iterable, Protocol + +import numpy as np +from numpy.typing import ArrayLike, NDArray + +from solarlab.contracts.arrays import FloatArray, PhysicalArray, Vector, frozen_array +from solarlab.contracts.errors import ContractError + +__all__ = ["AssemblyArithmetic", "FloatArithmetic"] + + +class AssemblyArithmetic(Protocol): + """Array operations preserving one representation. + + ``array`` checks finite values; ``freeze`` returns owned immutable storage. + Geometry and support validation remain the responsibility of TermSink. + The precision linear-form hooks of the P02-02 prototype are pending G2-R + (see :mod:`solarlab.contracts.pending`); a richer backend may implement a + structural superset of this protocol. + """ + + def array(self, value: ArrayLike | PhysicalArray) -> Any: ... + def zeros(self, shape: tuple[int, ...]) -> Any: ... + def weighted(self, value: Any, weights: Vector) -> Any: ... + def add(self, left: Any, right: Any) -> Any: ... + def subtract(self, left: Any, right: Any) -> Any: ... + def divide(self, left: Any, right: Any) -> Any: ... + def matmul(self, left: Any, right: Any) -> Any: ... + def concatenate(self, values: Iterable[Any], axis: int = 0) -> Any: ... + def reshape(self, value: Any, shape: tuple[int, ...]) -> Any: ... + def scatter_add(self, target: Any, indices: NDArray[np.intp], value: Any) -> Any: ... + def freeze(self, value: Any) -> Any: ... + + +class FloatArithmetic: + """The product binary64 implementation of the assembly arithmetic contract.""" + + def array(self, value: ArrayLike | PhysicalArray) -> Vector: + if isinstance(value, FloatArray): + value = value.values + return frozen_array(value) # type: ignore[arg-type] + + def zeros(self, shape: tuple[int, ...]) -> Vector: + return np.zeros(shape) + + def weighted(self, value: Vector, weights: Vector) -> Vector: + if value.shape != weights.shape: + raise ContractError("arithmetic_shape_mismatch") + return value * weights + + def add(self, left: Vector, right: Vector) -> Vector: + if left.shape != right.shape: + raise ContractError("arithmetic_shape_mismatch") + return left + right + + def subtract(self, left: Vector, right: Vector) -> Vector: + if left.shape != right.shape: + raise ContractError("arithmetic_shape_mismatch") + return left - right + + def divide(self, left: Vector, right: Vector) -> Vector: + if left.shape != right.shape or np.any(right == 0): + raise ContractError("arithmetic_shape_or_divisor") + return left / right + + def matmul(self, left: Vector, right: Vector) -> Vector: + if left.ndim != 2 or right.ndim not in {1, 2} or left.shape[1] != right.shape[0]: + raise ContractError("arithmetic_shape_mismatch") + return left @ right + + def concatenate(self, values: Iterable[Vector], axis: int = 0) -> Vector: + return np.concatenate(tuple(values), axis=axis) + + def reshape(self, value: Vector, shape: tuple[int, ...]) -> Vector: + return value.reshape(shape) + + def scatter_add(self, target: Vector, indices: NDArray[np.intp], value: Vector) -> Vector: + np.add.at(target, indices, value) + return target + + def freeze(self, value: Vector) -> Vector: + return frozen_array(value) diff --git a/src/solarlab/contracts/arrays.py b/src/solarlab/contracts/arrays.py new file mode 100644 index 00000000..ba9a9e63 --- /dev/null +++ b/src/solarlab/contracts/arrays.py @@ -0,0 +1,112 @@ +"""Owned immutable arrays and the explicit physical-array precision boundary.""" + +from __future__ import annotations + +from dataclasses import dataclass +from typing import Any, Protocol, TypeAlias + +import numpy as np +from numpy.typing import ArrayLike, NDArray + +from solarlab.contracts.errors import ContractError + +__all__ = [ + "FloatArray", "ImmutableArrays", "PhysicalArray", "Vector", + "frozen_array", "integer_indices", +] + +Vector: TypeAlias = NDArray[np.float64] + + +def frozen_array(value: ArrayLike) -> Vector: + """Own immutable bytes, including against setflags(write=True) by callers.""" + array = np.asarray(value, dtype=np.float64) + if not np.isfinite(array).all(): + raise ContractError("nonfinite_array") + return np.frombuffer(array.tobytes(), dtype=np.float64).reshape(array.shape) + + +def integer_indices(value: ArrayLike) -> NDArray[np.intp]: + """Reject fractional/overflowing connectivity before converting its dtype.""" + raw = np.asarray(value) + if raw.dtype.kind not in {"i", "u", "f"} or not np.isfinite(raw).all(): + raise ContractError("invalid_index") + if raw.size: + limits = np.iinfo(np.intp) + if raw.dtype.kind == "f": + invalid = (raw != np.floor(raw)) | (raw < limits.min) | (raw >= -limits.min) + if invalid.any(): + raise ContractError("invalid_index") + elif int(raw.min()) < limits.min or int(raw.max()) > limits.max: + raise ContractError("invalid_index") + return np.asarray(raw, dtype=np.intp) + + +class ImmutableArrays: + """Expose fresh array views so callers cannot mutate owned shape or dtype. + + Frozen bytes protect values; a separate view header also protects metadata. + Subclasses freeze their stored arrays during construction. + """ + + def __getattribute__(self, name: str) -> Any: + value = object.__getattribute__(self, name) + return value.view() if isinstance(value, np.ndarray) else value + + +class PhysicalArray(Protocol): + """Explicit precision boundary; no implicit conversion to a float array.""" + + @property + def shape(self) -> tuple[int, ...]: ... + def immutable_copy(self) -> PhysicalArray: ... + def difference(self, other: PhysicalArray) -> PhysicalArray: ... + def take(self, indices: ArrayLike) -> PhysicalArray: ... + def log_ratio(self, other: PhysicalArray) -> PhysicalArray: ... + def is_finite(self) -> bool: ... + def identity_bytes(self) -> bytes: ... + + +@dataclass(frozen=True) +class FloatArray(ImmutableArrays): + """The binary64 physical array; richer precision lives behind the Protocol.""" + + values: Vector + + def __post_init__(self) -> None: + object.__setattr__(self, "values", frozen_array(self.values)) + + @property + def shape(self) -> tuple[int, ...]: + return tuple(self.values.shape) + + def immutable_copy(self) -> FloatArray: + return FloatArray(self.values) + + def difference(self, other: PhysicalArray) -> FloatArray: + if not isinstance(other, FloatArray) or other.shape != self.shape: + raise ContractError("precision_or_shape_mismatch") + return FloatArray(self.values - other.values) + + def take(self, indices: ArrayLike) -> FloatArray: + selected = integer_indices(indices) + if np.any(selected < 0) or np.any(selected >= self.shape[0]): + raise ContractError("index_outside_support") + return FloatArray(self.values[selected]) + + def log_ratio(self, other: PhysicalArray) -> FloatArray: + if not isinstance(other, FloatArray) or other.shape != self.shape: + raise ContractError("precision_or_shape_mismatch") + if np.any(self.values <= 0) or np.any(other.values <= 0): + raise ContractError("log_ratio_requires_positive_fields") + relative = (self.values - other.values) / other.values + close = np.abs(relative) < 0.5 + result = np.log(self.values) - np.log(other.values) + result[close] = np.log1p(relative[close]) + return FloatArray(result) + + def is_finite(self) -> bool: + return bool(np.isfinite(self.values).all()) + + def identity_bytes(self) -> bytes: + return b"float64:" + repr(self.shape).encode() + self.values.tobytes() diff --git a/src/solarlab/contracts/errors.py b/src/solarlab/contracts/errors.py new file mode 100644 index 00000000..2ed2ec70 --- /dev/null +++ b/src/solarlab/contracts/errors.py @@ -0,0 +1,13 @@ +"""Machine-readable contract failure.""" + +from __future__ import annotations + +__all__ = ["ContractError"] + + +class ContractError(ValueError): + """An input or assembly contract failed, with a machine-readable reason.""" + + def __init__(self, reason: str): + self.reason = reason + super().__init__(reason) diff --git a/src/solarlab/contracts/layout.py b/src/solarlab/contracts/layout.py new file mode 100644 index 00000000..72a71e25 --- /dev/null +++ b/src/solarlab/contracts/layout.py @@ -0,0 +1,108 @@ +"""Named variables, equations and their supports, independent of registration order.""" + +from __future__ import annotations + +from dataclasses import dataclass, field +from hashlib import sha256 +from types import MappingProxyType +from typing import Mapping + +import numpy as np + +from solarlab.contracts.errors import ContractError +from solarlab.contracts.units import Unit + +__all__ = ["EquationSpec", "Layout", "Support", "VariableSpec"] + + +@dataclass(frozen=True) +class Support: + id: str + location: str + shape: tuple[int, ...] + + def __post_init__(self) -> None: + if not self.id or self.location not in {"cell", "face", "global"}: + raise ContractError("invalid_support") + if not self.shape or any(type(n) is not int or n < 0 for n in self.shape): + raise ContractError("invalid_shape") + + +@dataclass(frozen=True) +class VariableSpec: + id: str + owner: str + support: str + shape: tuple[int, ...] + unit: Unit + role: str = "storage" + orientation: int = 0 + lower: float | None = None + upper: float | None = None + + +@dataclass(frozen=True) +class EquationSpec: + id: str + owner: str + support: str + shape: tuple[int, ...] + unit: Unit + role: str = "storage" + orientation: int = 0 + derivative_support: tuple[str, ...] = () + + +@dataclass(frozen=True) +class Layout: + """Canonical (sorted) declarations, offsets and a content identity.""" + + supports: tuple[Support, ...] + variables: tuple[VariableSpec, ...] + equations: tuple[EquationSpec, ...] + offsets: Mapping[str, slice] = field(init=False) + size: int = field(init=False) + identity: str = field(init=False) + + def __post_init__(self) -> None: + supports = {x.id: x for x in self.supports} + if len(supports) != len(self.supports): + raise ContractError("duplicate_support") + variables = tuple(sorted(self.variables, key=lambda x: x.id)) + equations = tuple(sorted(self.equations, key=lambda x: x.id)) + specs: tuple[VariableSpec | EquationSpec, ...] + for specs in (variables, equations): + if len({x.id for x in specs}) != len(specs): + raise ContractError("duplicate_owner") + for spec in specs: + if not spec.id or not spec.owner: + raise ContractError("missing_instance_owner") + if spec.support not in supports: + raise ContractError("unknown_support") + if spec.shape != supports[spec.support].shape: + raise ContractError("support_shape_mismatch") + if spec.orientation not in {-1, 0, 1}: + raise ContractError("invalid_orientation") + if spec.role not in {"storage", "constraint", "prescribed"}: + raise ContractError("invalid_role") + ids = {x.id for x in variables} + for equation in equations: + if not set(equation.derivative_support) <= ids: + raise ContractError("unknown_derivative_support") + for variable in variables: + if (variable.lower is not None and variable.upper is not None + and variable.lower > variable.upper): + raise ContractError("invalid_feasible_domain") + offsets: dict[str, slice] = {} + size = 0 + for variable in variables: + end = size + int(np.prod(variable.shape)) + offsets[variable.id] = slice(size, end) + size = end + object.__setattr__(self, "supports", tuple(sorted(self.supports, key=lambda x: x.id))) + object.__setattr__(self, "variables", variables) + object.__setattr__(self, "equations", equations) + object.__setattr__(self, "offsets", MappingProxyType(offsets)) + object.__setattr__(self, "size", size) + identity = repr((self.supports, variables, equations)).encode() + object.__setattr__(self, "identity", sha256(identity).hexdigest()) diff --git a/src/solarlab/contracts/pending.py b/src/solarlab/contracts/pending.py new file mode 100644 index 00000000..5bb8b4e3 --- /dev/null +++ b/src/solarlab/contracts/pending.py @@ -0,0 +1,83 @@ +"""Placeholders for P02-02 interfaces whose shape waits on the G2-R route decision. + +Each name is importable so downstream code and reviews can see the boundary, +but nothing is frozen: calling or instantiating a placeholder raises +``ContractError("pending_g2r:")``. Do not add private substitutes for +these interfaces in physics or discretization code; G2-R fixes variables, +storage, coordinates, error norms and the accepted-step semantics first. +""" + +from __future__ import annotations + +from types import MappingProxyType +from typing import Any, NoReturn + +from solarlab.contracts.errors import ContractError + +__all__ = ["PENDING_G2R", "PendingG2RInterface", "pending_interface"] + +# Name -> why its signature depends on G2-R (ExecutionV2 §4.2 item 6, D17). +PENDING_G2R = MappingProxyType({ + "StorageLaw": "physical storage Q(t, y, a) and its partials follow the selected storage/coordinate route", + "StoragePartials": "partials are defined on the selected solver coordinates", + "PhysicalStorage": "storage value/delta callbacks follow the selected storage route", + "ImplicitSystem": "dense residual/linearization composition depends on the IDA and research-step contract", + "ImplicitProblem": "solver-facing residual protocol is part of the route decision", + "ValidatedProblem": "binds storage, structure and conservative callbacks of the selected route", + "SparseStructure": "sparse layout and assembly belong to P04-02 on the selected storage", + "SparseLinearization": "complete Fy/Fydot partials depend on the selected storage route", + "PhysicalScaling": "physical error norm and scaling are decided by G2-R", + "AcceptedStep": "accepted-interval semantics depend on the product/research backends", + "CoordinateMap": "production coordinates (linear/log/relative, words) are a route choice", + "StateCodec": "state encoding and precision words are a route choice", + "PhysicalLinearForm": "precision observation interface pending G2-R and D25", + "RateView": "full-word rate representation pending G2-R", + "BoundLinearSource": "precision observation interface pending G2-R and D25", + "LinearFormResult": "precision observation interface pending G2-R and D25", +}) + + +class PendingG2RInterface: + """A named, unusable placeholder; see :data:`PENDING_G2R` for the reason.""" + + __slots__ = ("name", "reason") + + def __init__(self, name: str): + if name not in PENDING_G2R: + raise ContractError("unknown_pending_interface") + self.name = name + self.reason = PENDING_G2R[name] + + def __call__(self, *args: Any, **kwargs: Any) -> NoReturn: + raise ContractError(f"pending_g2r:{self.name}") + + def __getattr__(self, attribute: str) -> NoReturn: + # Protocol lookups (copy, inspect, pickle) must keep normal semantics. + if attribute.startswith("__") and attribute.endswith("__"): + raise AttributeError(attribute) + raise ContractError(f"pending_g2r:{object.__getattribute__(self, 'name')}") + + def __repr__(self) -> str: + return f"PendingG2RInterface({self.name!r})" + + +def pending_interface(name: str) -> PendingG2RInterface: + return PendingG2RInterface(name) + + +StorageLaw = pending_interface("StorageLaw") +StoragePartials = pending_interface("StoragePartials") +PhysicalStorage = pending_interface("PhysicalStorage") +ImplicitSystem = pending_interface("ImplicitSystem") +ImplicitProblem = pending_interface("ImplicitProblem") +ValidatedProblem = pending_interface("ValidatedProblem") +SparseStructure = pending_interface("SparseStructure") +SparseLinearization = pending_interface("SparseLinearization") +PhysicalScaling = pending_interface("PhysicalScaling") +AcceptedStep = pending_interface("AcceptedStep") +CoordinateMap = pending_interface("CoordinateMap") +StateCodec = pending_interface("StateCodec") +PhysicalLinearForm = pending_interface("PhysicalLinearForm") +RateView = pending_interface("RateView") +BoundLinearSource = pending_interface("BoundLinearSource") +LinearFormResult = pending_interface("LinearFormResult") diff --git a/src/solarlab/contracts/persistence.py b/src/solarlab/contracts/persistence.py new file mode 100644 index 00000000..08a4389a --- /dev/null +++ b/src/solarlab/contracts/persistence.py @@ -0,0 +1,84 @@ +"""Injected run persistence, independent of storage and execution implementations. + +These signatures describe the existing RunStore lifecycle, event and artifact +operations. Documents remain opaque, storage-validated JSON objects; the port +does not compute scientific identities or change their meaning. Attempt tokens +and validated artifact payloads are supplied by the adapter's type parameters, +so this layer need not import either implementation. + +Store construction, closing, local paths, recovery and archive administration +remain the owner's responsibility and are deliberately outside this port. +""" + +from __future__ import annotations + +from typing import Any, Protocol, Sequence, TypeVar, runtime_checkable + +__all__ = ["PersistenceReader", "PersistencePort"] + +_Token = TypeVar("_Token") +_Payload = TypeVar("_Payload", contravariant=True) + + +@runtime_checkable +class PersistenceReader(Protocol): + """Read existing run/attempt records and bounded, ordered event pages. + + Returned records retain the producer's identities and terminal result. + Reading never recovers an attempt or changes its terminal state. + """ + + store_id: str + + def get_run(self, run_id: str) -> dict[str, Any]: ... + + def attempts(self, run_id: str) -> list[dict[str, Any]]: ... + + def events( + self, *, after: int = 0, limit: int = 100, run_id: str | None = None, + ) -> list[dict[str, Any]]: ... + + +@runtime_checkable +class PersistencePort(PersistenceReader, Protocol[_Token, _Payload]): + """The existing fenced run writer and verified artifact reader. + + Enqueue is idempotent for the exact stored request. Claim, event, publication + and terminal operations preserve attempt/owner/generation authority; a retry + creates a new attempt. Completion verifies its artifact references before + committing the unique terminal event. Implementations keep their existing + conflict and integrity errors, including refusal to mutate a read-only store. + """ + + def enqueue( + self, run_id: str, *, opaque_identity: dict[str, Any], input_metadata: dict[str, Any], + ) -> dict[str, Any]: ... + + def claim( + self, run_id: str, *, expected_attempt_id: str, expected_generation: int, owner_id: str, + ) -> _Token: ... + + def append_event(self, token: _Token, *, event_id: str, payload: dict[str, Any]) -> int: ... + + def publish(self, token: _Token, name: str, payload: _Payload) -> dict[str, Any]: ... + + def complete( + self, token: _Token, *, state: str, result: dict[str, Any], artifacts: Sequence[str] = (), + ) -> int: ... + + def fail_queued( + self, run_id: str, *, expected_attempt_id: str, expected_generation: int, + result: dict[str, Any], + ) -> int: ... + + def cancel( + self, run_id: str, *, expected_attempt_id: str, expected_generation: int, reason: str, + ) -> int: ... + + def retry( + self, run_id: str, *, expected_attempt_id: str, expected_generation: int, + ) -> dict[str, Any]: ... + + def artifact(self, artifact_id: str) -> dict[str, Any]: ... + + def read_artifact(self, artifact_id: str) -> bytes: ... diff --git a/src/solarlab/contracts/ports.py b/src/solarlab/contracts/ports.py new file mode 100644 index 00000000..e9e97ad5 --- /dev/null +++ b/src/solarlab/contracts/ports.py @@ -0,0 +1,59 @@ +"""Terminal-port sign and area conventions (route independent).""" + +from __future__ import annotations + +from dataclasses import dataclass +from typing import Any + +import numpy as np +from numpy.typing import ArrayLike + +from solarlab.contracts.arithmetic import AssemblyArithmetic, FloatArithmetic +from solarlab.contracts.arrays import PhysicalArray +from solarlab.contracts.errors import ContractError +from solarlab.contracts.units import AREA, COULOMB, SECOND, Unit + +__all__ = ["TerminalPort"] + + +@dataclass(frozen=True) +class TerminalPort: + """An electrode face with its outward normal (-1 left, +1 right) and area. + + The electrode charge balances the displacement on its face, + ``Q = -area*outward_normal*D``; the external current into the device is + the conduction plus displacement current through that face. + """ + + id: str + outward_normal: int + area: float + + def __post_init__(self) -> None: + if (not self.id or self.outward_normal not in {-1, 1} + or not np.isfinite(self.area) or self.area <= 0): + raise ContractError("invalid_port") + + def charge(self, displacement: ArrayLike | PhysicalArray, *, + arithmetic: AssemblyArithmetic | None = None, + unit: Unit = COULOMB / AREA) -> Any: + if unit != COULOMB / AREA: + raise ContractError("port_unit_mismatch") + a = arithmetic if arithmetic is not None else FloatArithmetic() + value = a.array(displacement) + return a.freeze(a.weighted(value, np.full(value.shape, -self.area * self.outward_normal))) + + def current(self, conduction: ArrayLike | PhysicalArray, + displacement_rate: ArrayLike | PhysicalArray, *, + arithmetic: AssemblyArithmetic | None = None, + conduction_unit: Unit = COULOMB / AREA / SECOND, + displacement_rate_unit: Unit = COULOMB / AREA / SECOND) -> Any: + if (conduction_unit != COULOMB / AREA / SECOND + or displacement_rate_unit != conduction_unit): + raise ContractError("port_unit_mismatch") + a = arithmetic if arithmetic is not None else FloatArithmetic() + jc, ddot = a.array(conduction), a.array(displacement_rate) + if jc.shape != ddot.shape: + raise ContractError("port_shape_mismatch") + return a.freeze(a.weighted(a.add(jc, ddot), + np.full(jc.shape, -self.area * self.outward_normal))) diff --git a/src/solarlab/contracts/state.py b/src/solarlab/contracts/state.py new file mode 100644 index 00000000..2a0cf905 --- /dev/null +++ b/src/solarlab/contracts/state.py @@ -0,0 +1,408 @@ +"""Physical state views and increments that do not expose solver coordinates. + +Models read named fields, stable face differences, log ratios and +electrochemical differences. A precision representation can specialize these +through its ``StateAuthority`` without the model importing it. The production +coordinate map/codec belongs to the G2-R route decision; ``LinearCoordinates`` +is only the identity map for already resolved physical SI states. +""" + +from __future__ import annotations + +from dataclasses import dataclass, field +from hashlib import sha256 +from types import MappingProxyType +from typing import Any, Iterable, Mapping, Protocol + +import numpy as np +from numpy.typing import ArrayLike, NDArray + +from solarlab.contracts.arithmetic import AssemblyArithmetic, FloatArithmetic +from solarlab.contracts.arrays import ( + FloatArray, ImmutableArrays, PhysicalArray, Vector, frozen_array, integer_indices, +) +from solarlab.contracts.errors import ContractError +from solarlab.contracts.layout import Layout +from solarlab.contracts.units import VOLT + +__all__ = [ + "FieldProjection", "LinearCoordinates", "Point", "ResolvedAuthority", + "StateAuthority", "StateIncrement", "StateView", +] + + +@dataclass(frozen=True) +class FieldProjection: + """An explicit materialization, never an implicit new accepted anchor. + + ``absolute_error_bound=None`` means display-only validity; physical use or + rebasing needs an independently qualified observable error certificate. + """ + + value: PhysicalArray + authority_identity: str + evaluator_identity: str + absolute_error_bound: FloatArray | None + + def require_error(self, maximum: ArrayLike) -> None: + limit = frozen_array(maximum) + if limit.shape != self.value.shape or np.any(limit < 0): + raise ContractError("projection_budget_shape_or_sign") + if self.absolute_error_bound is None: + raise ContractError("projection_not_certified_for_physical_use") + if np.any(self.absolute_error_bound.values > limit): + raise ContractError("projection_error_budget_exceeded") + + +class StateAuthority(Protocol): + """A resolved physical input meaning, implemented outside the core if needed.""" + + @property + def layout_identity(self) -> str: ... + @property + def identity(self) -> str: ... + + def field(self, name: str) -> PhysicalArray: ... + def delta_from(self, left: StateView) -> Mapping[str, PhysicalArray]: ... + def project(self, name: str) -> FieldProjection: ... + def validate_binding(self, time: float, y: Vector, inputs: Vector, reference: str) -> None: ... + def validate_transition(self, left: Point, right: Point) -> None: ... + def electrochemical_difference(self, density_id: str, potential_id: str, pairs: ArrayLike, + thermal_voltage: float, + potential_sign: int) -> PhysicalArray | None: ... + def temporal_log_ratio(self, left: StateView, variable_id: str, + indices: ArrayLike | None) -> PhysicalArray | None: ... + def face_delta(self, left: StateView, variable_id: str, + pairs: ArrayLike) -> PhysicalArray | None: ... + def electrochemical_delta(self, left: StateView, density_id: str, potential_id: str, + pairs: ArrayLike, thermal_voltage: float, + potential_sign: int) -> PhysicalArray | None: ... + + +@dataclass(frozen=True) +class ResolvedAuthority: + """Explicit absolute input words; finite changes mean endpoint differences.""" + + layout_identity: str + values: Mapping[str, PhysicalArray] + identity: str = field(init=False) + + def __post_init__(self) -> None: + owned = {name: value.immutable_copy() for name, value in self.values.items()} + # An authority-backed field needs its generating map. Call project() + # explicitly to declare different external absolute input semantics. + if any(getattr(value, "authority", None) is not None for value in owned.values()): + raise ContractError("mapped_field_requires_its_authority") + object.__setattr__(self, "values", MappingProxyType(owned)) + digest = sha256(b"resolved-physical-words-v1:" + self.layout_identity.encode()) + for name in sorted(owned): + digest.update(name.encode() + owned[name].identity_bytes()) + object.__setattr__(self, "identity", digest.hexdigest()) + + def field(self, name: str) -> PhysicalArray: + return self.values[name] + + def delta_from(self, left: StateView) -> Mapping[str, PhysicalArray]: + if not isinstance(left.authority, ResolvedAuthority): + raise ContractError("authority_rebase_required") + return {name: value.difference(left.field(name)) for name, value in self.values.items()} + + def project(self, name: str) -> FieldProjection: + value = self.field(name).immutable_copy() + return FieldProjection(value, self.identity, "resolved-words-v1", + FloatArray(np.zeros(value.shape))) + + def validate_binding(self, time: float, y: Vector, inputs: Vector, reference: str) -> None: + # A resolved state is an explicit external physical input. Point still + # binds its coordinates, time and prescribed inputs into its identity. + return None + + def validate_transition(self, left: Point, right: Point) -> None: + return None + + def electrochemical_difference(self, density_id: str, potential_id: str, pairs: ArrayLike, + thermal_voltage: float, + potential_sign: int) -> PhysicalArray | None: + return None + + def temporal_log_ratio(self, left: StateView, variable_id: str, + indices: ArrayLike | None) -> PhysicalArray | None: + return None + + def face_delta(self, left: StateView, variable_id: str, + pairs: ArrayLike) -> PhysicalArray | None: + return None + + def electrochemical_delta(self, left: StateView, density_id: str, potential_id: str, + pairs: ArrayLike, thermal_voltage: float, + potential_sign: int) -> PhysicalArray | None: + return None + + +def _face_pairs(pairs: ArrayLike) -> NDArray[np.intp]: + indices = integer_indices(pairs) + if indices.ndim != 2 or indices.shape[1] != 2: + raise ContractError("invalid_face_pairs") + return indices + + +@dataclass(frozen=True, init=False) +class StateView: + layout: Layout + fields: Mapping[str, PhysicalArray] + authority: StateAuthority + + def __init__(self, layout: Layout, fields: Iterable[tuple[str, PhysicalArray]] = (), *, + authority: StateAuthority | None = None): + owned: dict[str, PhysicalArray] = {} + specs = {x.id: x for x in layout.variables} + entries = tuple(fields) + if authority is not None: + if entries or authority.layout_identity != layout.identity: + raise ContractError("state_authority_layout_or_fields_mismatch") + entries = tuple((name, authority.field(name)) for name in specs) + for key, value in entries: + if key in owned: + raise ContractError("duplicate_state_write") + if key not in specs: + raise ContractError("unknown_variable") + if value.shape != specs[key].shape: + raise ContractError("state_shape_mismatch") + if not value.is_finite(): + raise ContractError("nonfinite_state") + owned[key] = value.immutable_copy() + if set(owned) != set(specs): + raise ContractError("incomplete_state") + object.__setattr__(self, "layout", layout) + object.__setattr__(self, "fields", MappingProxyType(owned)) + object.__setattr__(self, "authority", authority if authority is not None + else ResolvedAuthority(layout.identity, owned)) + + def field(self, variable_id: str) -> PhysicalArray: + return self.fields[variable_id] + + def face_difference(self, variable_id: str, pairs: ArrayLike) -> PhysicalArray: + indices = _face_pairs(pairs) + value = self.field(variable_id) + if np.any(indices < 0) or np.any(indices >= value.shape[0]): + raise ContractError("face_outside_support") + return value.take(indices[:, 1]).difference(value.take(indices[:, 0])) + + def log_ratio(self, variable_id: str, pairs: ArrayLike) -> PhysicalArray: + indices = _face_pairs(pairs) + value = self.field(variable_id) + if len(value.shape) != 1 or np.any(indices < 0) or np.any(indices >= value.shape[0]): + raise ContractError("face_outside_support") + return value.take(indices[:, 1]).log_ratio(value.take(indices[:, 0])) + + def electrochemical_difference(self, density_id: str, potential_id: str, pairs: ArrayLike, + thermal_voltage: float, *, potential_sign: int, + arithmetic: AssemblyArithmetic | None = None) -> Any: + """``log(c_j/c_i) + s*(phi_j-phi_i)/VT`` on each declared face pair.""" + if not np.isfinite(thermal_voltage) or thermal_voltage <= 0 or potential_sign not in {-1, 1}: + raise ContractError("invalid_activity_parameters") + specs = {spec.id: spec for spec in self.layout.variables} + if specs[potential_id].unit != VOLT: + raise ContractError("activity_potential_unit_mismatch") + a = arithmetic if arithmetic is not None else FloatArithmetic() + specialized = self.authority.electrochemical_difference( + density_id, potential_id, pairs, thermal_voltage, potential_sign) + if specialized is not None: + return a.freeze(a.array(specialized)) + density = a.array(self.log_ratio(density_id, pairs)) + potential = a.array(self.face_difference(potential_id, pairs)) + drop = a.divide(potential, a.array(np.full(potential.shape, thermal_voltage))) + return a.freeze(a.add(density, a.weighted(drop, np.full(drop.shape, potential_sign)))) + + def project_field(self, variable_id: str) -> FieldProjection: + return self.authority.project(variable_id) + + +@dataclass(frozen=True) +class Point(ImmutableArrays): + """A state bound to time, prescribed inputs and an opaque coordinate reference.""" + + time: float + y: Vector + inputs: Vector + state: StateView + coordinate_reference: str + identity: str = field(init=False) + + def __post_init__(self) -> None: + if not np.isfinite(self.time) or not self.coordinate_reference: + raise ContractError("invalid_point") + object.__setattr__(self, "time", float(self.time)) + object.__setattr__(self, "y", frozen_array(self.y)) + object.__setattr__(self, "inputs", frozen_array(self.inputs)) + if self.y.ndim != 1 or self.inputs.ndim != 1: + raise ContractError("invalid_coordinate_shape") + self.state.authority.validate_binding(self.time, self.y, self.inputs, + self.coordinate_reference) + digest = sha256(repr((self.time, self.coordinate_reference, + self.state.layout.identity)).encode()) + if not isinstance(self.state.authority, ResolvedAuthority): + digest.update(self.state.authority.identity.encode()) + digest.update(self.y.tobytes()) + digest.update(self.inputs.tobytes()) + for spec in self.state.layout.variables: + digest.update(spec.id.encode()) + digest.update(self.state.field(spec.id).identity_bytes()) + object.__setattr__(self, "identity", digest.hexdigest()) + + +@dataclass(frozen=True) +class StateIncrement: + """Endpoint-bound physical changes; values are checked against the authority.""" + + left_identity: str + right_identity: str + fields: Mapping[str, PhysicalArray] + + def __post_init__(self) -> None: + object.__setattr__(self, "fields", MappingProxyType({ + key: value.immutable_copy() for key, value in self.fields.items() + })) + + def field(self, variable_id: str) -> PhysicalArray: + return self.fields[variable_id] + + @classmethod + def from_points(cls, left: Point, right: Point) -> StateIncrement: + if left.state.layout.identity != right.state.layout.identity: + raise ContractError("increment_layout_mismatch") + right.state.authority.validate_transition(left, right) + result = cls(left.identity, right.identity, right.state.authority.delta_from(left.state)) + result.validate(left, right) + return result + + def validate(self, left: Point, right: Point) -> None: + if (left.identity, right.identity) != (self.left_identity, self.right_identity): + raise ContractError("increment_endpoint_mismatch") + if left.state.layout.identity != right.state.layout.identity: + raise ContractError("increment_layout_mismatch") + if set(self.fields) != set(left.state.fields): + raise ContractError("incomplete_increment") + if any(self.fields[key].shape != left.state.field(key).shape for key in self.fields): + raise ContractError("increment_shape_mismatch") + right.state.authority.validate_transition(left, right) + canonical = right.state.authority.delta_from(left.state) + if set(canonical) != set(self.fields) or any( + canonical[key].shape != self.fields[key].shape + or not canonical[key].is_finite() for key in self.fields): + raise ContractError("invalid_canonical_increment") + if any(self.fields[key].identity_bytes() != canonical[key].identity_bytes() + for key in self.fields): + raise ContractError("increment_authority_mismatch") + + def _log_ratio(self, left: Point, right: Point, variable_id: str, + indices: ArrayLike | None) -> PhysicalArray: + if variable_id not in self.fields: + raise ContractError("unknown_variable") + before, after = left.state.field(variable_id), right.state.field(variable_id) + if indices is not None: + indices = integer_indices(indices) + if not before.shape: + raise ContractError("index_outside_support") + before, after = before.take(indices), after.take(indices) + value = right.state.authority.temporal_log_ratio(left.state, variable_id, indices) + if value is None: + value = after.log_ratio(before) + if value.shape != after.shape or not value.is_finite(): + raise ContractError("invalid_temporal_log_ratio") + return value.immutable_copy() + + def log_ratio(self, left: Point, right: Point, variable_id: str, *, + indices: ArrayLike | None = None) -> PhysicalArray: + """Finite temporal log(n_right/n_left) on selected positive populations.""" + self.validate(left, right) + return self._log_ratio(left, right, variable_id, indices) + + def _pairs(self, variable_id: str, pairs: ArrayLike) -> NDArray[np.intp]: + if variable_id not in self.fields: + raise ContractError("unknown_variable") + indices = integer_indices(pairs) + shape = self.fields[variable_id].shape + if (len(shape) != 1 or indices.ndim != 2 or indices.shape[1] != 2 + or np.any(indices < 0) or np.any(indices >= shape[0])): + raise ContractError("face_outside_support") + return indices + + def _face_delta(self, left: Point, right: Point, variable_id: str, + pairs: NDArray[np.intp]) -> PhysicalArray: + value = right.state.authority.face_delta(left.state, variable_id, pairs) + if value is None: + change = self.field(variable_id) + value = change.take(pairs[:, 1]).difference(change.take(pairs[:, 0])) + if value.shape != (len(pairs),) or not value.is_finite(): + raise ContractError("invalid_temporal_face_delta") + return value + + def face_delta(self, left: Point, right: Point, variable_id: str, pairs: ArrayLike, *, + arithmetic: AssemblyArithmetic | None = None) -> Any: + """Finite change of a spatial difference between these endpoints.""" + self.validate(left, right) + indices = self._pairs(variable_id, pairs) + a = arithmetic if arithmetic is not None else FloatArithmetic() + return a.freeze(a.array(self._face_delta(left, right, variable_id, indices))) + + def electrochemical_delta(self, left: Point, right: Point, density_id: str, + potential_id: str, pairs: ArrayLike, thermal_voltage: float, *, + potential_sign: int, + arithmetic: AssemblyArithmetic | None = None) -> Any: + """Change of log(n_j/n_i)+s*(phi_j-phi_i)/VT across these endpoints.""" + self.validate(left, right) + if not np.isfinite(thermal_voltage) or thermal_voltage <= 0 or potential_sign not in {-1, 1}: + raise ContractError("invalid_activity_parameters") + indices = self._pairs(density_id, pairs) + self._pairs(potential_id, indices) + specs = {spec.id: spec for spec in right.state.layout.variables} + if specs[potential_id].unit != VOLT: + raise ContractError("activity_potential_unit_mismatch") + if self.field(density_id).shape != self.field(potential_id).shape: + raise ContractError("activity_support_shape_mismatch") + a = arithmetic if arithmetic is not None else FloatArithmetic() + value = right.state.authority.electrochemical_delta( + left.state, density_id, potential_id, indices, thermal_voltage, potential_sign) + if value is not None: + if value.shape != (len(indices),) or not value.is_finite(): + raise ContractError("invalid_temporal_electrochemical_delta") + return a.freeze(a.array(value)) + temporal = self._log_ratio(left, right, density_id, indices.ravel()) + even, odd = np.arange(0, 2 * len(indices), 2), np.arange(1, 2 * len(indices), 2) + density = a.array(temporal.take(odd).difference(temporal.take(even))) + potential = a.array(self._face_delta(left, right, potential_id, indices)) + drop = a.divide(potential, a.array(np.full(potential.shape, thermal_voltage))) + return a.freeze(a.add(density, a.weighted(drop, np.full(drop.shape, potential_sign)))) + + +@dataclass(frozen=True) +class LinearCoordinates: + """Identity coordinates for resolved physical SI states (not a route choice).""" + + layout: Layout + reference: str = "physical-si-v1" + + def point(self, y: ArrayLike, time: float = 0.0, inputs: ArrayLike = ()) -> Point: + words = frozen_array(y) + if words.shape != (self.layout.size,): + raise ContractError("coordinate_layout_mismatch") + fields = [(spec.id, FloatArray(words[self.layout.offsets[spec.id]].reshape(spec.shape))) + for spec in self.layout.variables] + return Point(time, words, frozen_array(inputs), + StateView(self.layout, fields), self.reference) + + def advance(self, left: Point, dy: ArrayLike, time: float, + inputs: ArrayLike = ()) -> tuple[Point, StateIncrement]: + step = frozen_array(dy) + if step.shape != left.y.shape or left.coordinate_reference != self.reference: + raise ContractError("coordinate_reference_mismatch") + right = self.point(left.y + step, time, inputs) + increment = StateIncrement(left.identity, right.identity, { + # Binary64 endpoints; a precision provider must retain a richer + # right endpoint to preserve a sub-ULP update. + spec.id: right.state.field(spec.id).difference(left.state.field(spec.id)) + for spec in self.layout.variables + }) + increment.validate(left, right) + return right, increment diff --git a/src/solarlab/contracts/terms.py b/src/solarlab/contracts/terms.py new file mode 100644 index 00000000..cbe0f1b4 --- /dev/null +++ b/src/solarlab/contracts/terms.py @@ -0,0 +1,169 @@ +"""Typed unweighted contributions; geometry is applied exactly once by TermSink. + +Constitutive models hand over volumetric sources and face fluxes that are not +multiplied by any measure. TermSink multiplies cell sources by the cell +measure and face fluxes by the face measure, and owns the divergence sign: +a face oriented from ``pairs[:, 0]`` to ``pairs[:, 1]`` removes its weighted +flux from the first cell and adds it to the second (net inflow). +""" + +from __future__ import annotations + +from dataclasses import dataclass +from typing import Any + +import numpy as np +from numpy.typing import ArrayLike, NDArray + +from solarlab.contracts.arithmetic import AssemblyArithmetic, FloatArithmetic +from solarlab.contracts.arrays import ( + ImmutableArrays, PhysicalArray, Vector, frozen_array, integer_indices, +) +from solarlab.contracts.errors import ContractError +from solarlab.contracts.layout import Layout +from solarlab.contracts.units import AREA, VOLUME, Unit + +__all__ = [ + "AlgebraicTerm", "CellSource", "Contribution", "FaceFlux", "Geometry", + "SurfaceCharge", "TermSink", +] + + +@dataclass(frozen=True) +class Geometry(ImmutableArrays): + """Control-volume measures and oriented face connectivity.""" + + volumes: Vector + pairs: NDArray[np.int64] + face_measures: Vector + volume_unit: Unit = VOLUME + face_unit: Unit = AREA + cell_support: str = "cells" + face_support: str = "faces" + + def __post_init__(self) -> None: + object.__setattr__(self, "volumes", frozen_array(self.volumes)) + object.__setattr__(self, "face_measures", frozen_array(self.face_measures)) + pairs = integer_indices(self.pairs) + immutable_pairs = np.frombuffer(pairs.tobytes(), dtype=np.int64).reshape(pairs.shape) + object.__setattr__(self, "pairs", immutable_pairs) + if self.volumes.ndim != 1 or np.any(self.volumes <= 0): + raise ContractError("invalid_volumes") + if pairs.ndim != 2 or pairs.shape != (self.face_measures.size, 2): + raise ContractError("invalid_face_pairs") + if self.face_measures.ndim != 1 or np.any(self.face_measures <= 0): + raise ContractError("invalid_face_measures") + if (np.any(pairs < 0) or np.any(pairs >= self.volumes.size) + or np.any(pairs[:, 0] == pairs[:, 1])): + raise ContractError("face_outside_support") + if not self.cell_support or not self.face_support or self.cell_support == self.face_support: + raise ContractError("invalid_geometry_support") + + +@dataclass(frozen=True) +class Contribution: + id: str + support: str + values: ArrayLike | PhysicalArray + unit: Unit + + +@dataclass(frozen=True) +class CellSource(Contribution): + """Volumetric source density; TermSink multiplies by the cell measure.""" + + +@dataclass(frozen=True) +class FaceFlux(Contribution): + """Oriented flux density on faces; TermSink multiplies by the face measure.""" + + +@dataclass(frozen=True) +class AlgebraicTerm(Contribution): + """Already-integrated constraint value; never weighted by geometry.""" + + +@dataclass(frozen=True) +class SurfaceCharge(Contribution): + """Areal density on a face-supported equation; weighted by the face measure.""" + + +class TermSink: + """Accumulate typed contributions for one equation of a layout.""" + + def __init__(self, layout: Layout, equation_id: str, geometry: Geometry, + arithmetic: AssemblyArithmetic | None = None): + equations = {x.id: x for x in layout.equations} + if equation_id not in equations: + raise ContractError("unknown_equation") + self.equation = equations[equation_id] + self.supports = {x.id: x for x in layout.supports} + self.geometry = geometry + self.arithmetic: AssemblyArithmetic = ( + arithmetic if arithmetic is not None else FloatArithmetic()) + for support_id, location, shape in ( + (geometry.cell_support, "cell", geometry.volumes.shape), + (geometry.face_support, "face", geometry.face_measures.shape), + ): + support = self.supports.get(support_id) + if support is None or support.location != location or support.shape != shape: + raise ContractError("geometry_support_mismatch") + self._seen: set[str] = set() + self._value = self.arithmetic.zeros(self.equation.shape) + + def add(self, term: Contribution) -> None: + if not term.id or term.id in self._seen: + raise ContractError("duplicate_contribution") + if term.support not in self.supports: + raise ContractError("unknown_support") + support = self.supports[term.support] + target = self.supports[self.equation.support] + arithmetic = self.arithmetic + values = arithmetic.array(term.values) + if values.shape != support.shape: + raise ContractError("term_shape_mismatch") + geometry = self.geometry + contribution: Any + if isinstance(term, CellSource): + if support != target or support.location != "cell" or values.shape != geometry.volumes.shape: + raise ContractError("wrong_source_support") + if support.id != geometry.cell_support: + raise ContractError("geometry_support_mismatch") + expected = term.unit * geometry.volume_unit + contribution = arithmetic.weighted(values, geometry.volumes) + elif isinstance(term, FaceFlux): + if (support.location != "face" or target.location != "cell" + or values.shape != geometry.face_measures.shape + or target.shape != geometry.volumes.shape): + raise ContractError("wrong_flux_support") + if support.id != geometry.face_support or target.id != geometry.cell_support: + raise ContractError("geometry_support_mismatch") + expected = term.unit * geometry.face_unit + contribution = arithmetic.zeros(self.equation.shape) + weighted = arithmetic.weighted(values, geometry.face_measures) + contribution = arithmetic.scatter_add( + contribution, geometry.pairs[:, 0], + arithmetic.weighted(weighted, -np.ones(values.shape)), + ) + contribution = arithmetic.scatter_add(contribution, geometry.pairs[:, 1], weighted) + elif isinstance(term, AlgebraicTerm): + if support != target or self.equation.role != "constraint": + raise ContractError("wrong_algebraic_support") + expected, contribution = term.unit, values + elif isinstance(term, SurfaceCharge): + if (support != target or support.location != "face" + or values.shape != geometry.face_measures.shape): + raise ContractError("wrong_surface_charge_support") + if support.id != geometry.face_support: + raise ContractError("geometry_support_mismatch") + expected = term.unit * geometry.face_unit + contribution = arithmetic.weighted(values, geometry.face_measures) + else: + raise ContractError("untyped_contribution") + if expected != self.equation.unit: + raise ContractError("unit_mismatch") + self._value = arithmetic.add(self._value, contribution) + self._seen.add(term.id) + + def value(self) -> Any: + return self.arithmetic.freeze(self._value) diff --git a/src/solarlab/contracts/units.py b/src/solarlab/contracts/units.py new file mode 100644 index 00000000..46e3a4fc --- /dev/null +++ b/src/solarlab/contracts/units.py @@ -0,0 +1,49 @@ +"""Exact physical dimensions for contract checks; no scale factors. + +This is not the configuration unit table in :mod:`solarlab.units`, which +converts user quantities. A contract ``Unit`` only proves that assembled terms +share dimensions, so products and quotients are exact integer arithmetic. +""" + +from __future__ import annotations + +from dataclasses import dataclass + +from solarlab.contracts.errors import ContractError + +__all__ = [ + "AREA", "COULOMB", "ELEMENTARY_CHARGE_C", "KELVIN", "LENGTH", "ONE", "PARTICLE", + "SECOND", "Unit", "VOLT", "VOLUME", +] + +# Exact SI 2019 defining constant: converts particle counts/fluxes to charge, +# J_s = z_s * q * F_s (V1 section 15.1). Same binary64 value as the legacy engine. +ELEMENTARY_CHARGE_C = 1.602176634e-19 + + +@dataclass(frozen=True) +class Unit: + """Dimensions (length, time, charge, number, mass, temperature); no scale.""" + + powers: tuple[int, int, int, int, int, int] + + def __post_init__(self) -> None: + if len(self.powers) != 6 or any(type(x) is not int for x in self.powers): + raise ContractError("invalid_unit") + + def __mul__(self, other: Unit) -> Unit: + return Unit(tuple(a + b for a, b in zip(self.powers, other.powers))) # type: ignore[arg-type] + + def __truediv__(self, other: Unit) -> Unit: + return Unit(tuple(a - b for a, b in zip(self.powers, other.powers))) # type: ignore[arg-type] + + +ONE = Unit((0, 0, 0, 0, 0, 0)) +SECOND = Unit((0, 1, 0, 0, 0, 0)) +LENGTH = Unit((1, 0, 0, 0, 0, 0)) +VOLUME = Unit((3, 0, 0, 0, 0, 0)) +AREA = Unit((2, 0, 0, 0, 0, 0)) +PARTICLE = Unit((0, 0, 0, 1, 0, 0)) +COULOMB = Unit((0, 0, 1, 0, 0, 0)) +VOLT = Unit((2, -2, -1, 0, 1, 0)) +KELVIN = Unit((0, 0, 0, 0, 0, 1)) diff --git a/src/solarlab/device/__init__.py b/src/solarlab/device/__init__.py new file mode 100644 index 00000000..d75018c1 --- /dev/null +++ b/src/solarlab/device/__init__.py @@ -0,0 +1,3 @@ +"""Resolved device data; numerical assembly remains separately qualified.""" + +__all__: tuple[str, ...] = () diff --git a/src/solarlab/device/compile_1d.py b/src/solarlab/device/compile_1d.py new file mode 100644 index 00000000..4bd89539 --- /dev/null +++ b/src/solarlab/device/compile_1d.py @@ -0,0 +1,349 @@ +"""Bind an existing PreparedDevice to the first production new-core 1D DC slice. + +Supported physics is explicit: Maxwell-Boltzmann carriers, fully ionized +dopants, static temperature/doping/band grading, DOS-aware SG transport, +semiconductor work-function contacts, local lifetime or explicit neutral +single-level SRH with literal above-valence-band energies and physical DOS +with radiative/Auger, +smooth Caughey-Thomas face transport without Poole-Frenkel enhancement, +and monochromatic Beer-Lambert, supplied coherent spectral TMM optics, +or a node-aligned fixed generation resource. +Historical mode labels do not select a legacy engine or enable its tier ceiling. +Unsupported active mechanisms fail before any nonlinear solve. +""" + +from __future__ import annotations + +from collections.abc import Sequence +import hashlib +import json +import math +from typing import Any, Literal, TypedDict, cast + +import numpy as np + +from solarlab.device.resolved import PreparedDevice, PreparedLayer +from solarlab.device.neutral_defects import LITERAL_ABOVE_VB_DOS_REFERENCE_V1, bind_neutral_defects +from solarlab.device.optical_generation import bind_optical_generation_1d +from solarlab.equations.dc_1d import ( + CapabilityError, + CompiledDevice1D, + LocalRecombinationModel, +) +from solarlab.equations.field_transport_1d import bind_field_transport_1d +from solarlab.mesh import INTEGER_ENDPOINT_V1, RIGHT_LAYER_WINS, build_geometry, multilayer_grid +from solarlab.mesh.grid import layer_node_masks +from solarlab.physics.band_structure.binding import ( + LayerParameterInput, + TemperatureLawSpec, + compile_layer_parameters, +) +from solarlab.physics.band_structure.doping_profile import DopingProfileSpec +from solarlab.physics.band_structure.grading import GradingSpec +from solarlab.physics.contacts import ( + CarrierExchangeChannel, + ContactMaterial, + doping_equilibrium_densities, + semiconductor_work_function, +) +from solarlab.physics.contacts.exchange import resolve_exchange_velocities +from solarlab.physics.electrostatics import PoissonOperator1D +from solarlab.physics.generation.beer_lambert import BeerLambertBinding +from solarlab.physics.generation.fixed import FixedGenerationProfile +from solarlab.physics.recombination.reaction import ( + BulkRecombinationCoefficients, + BulkRecombinationReaction, +) +from solarlab.physics.transport import legacy_face_diffusivity +from solarlab.physics.transport.field_mobility_tangents import FieldMobilityCapabilityError + +__all__ = ["CapabilityError", "CompiledDevice1D", "compile_device_1d", "unsupported"] + + +class _LayerScalars(TypedDict): + """Resolved scalar fields consumed by this supported DC binding.""" + + chi: float + Eg: float + Nc300: float + Nv300: float + ni: float + n1: float + p1: float + mu_n: float + mu_p: float + B_rad: float + v_th: float + N_A: float + N_D: float + N_A_bulk: float | None + N_D_bulk: float | None + doping_profile_shape: str | None + doping_decay_length: float | None + doping_edge: str + mu_T_gamma: float + B_rad_T_gamma: float + varshni_alpha: float + varshni_beta: float + Eg_back: float | None + chi_back: float | None + grading_profile: Literal["linear", "parabolic", "exponential"] + grading_direction: Literal["front_to_back", "back_to_front"] + grading_bowing: float + grading_char_length: float | None + + +def unsupported(prepared: PreparedDevice, data: dict[str, Any], layers: tuple[PreparedLayer, ...]) -> None: + settings = data["settings"] + missing = [] + if settings["built_in_potential_mode"] != "semiconductor_work_function": + missing.append("settings.built_in_potential_mode: only explicit semiconductor_work_function contacts are bound") + if not settings["dos_band_potentials"]: + missing.append("settings.dos_band_potentials: physical DOS transport requires this enabled") + for flag in ( + "interface_plane_projection", "te_physical_norm", "flat_band_metal_contacts", + "interface_two_sided", "interface_shared_occupancy", "interface_plane_closure", + "interface_plane_generation", "graded_optics", "interface_tunneling", + "ion_steric_diffusion_only", "ion_steric_shared_site", + ): + if settings[flag]: + missing.append("settings." + flag) + if settings["het_recomb_despike"] != 0.0: + missing.append("settings.het_recomb_despike") + if settings["interface_charge_closure"] != "off": + missing.append("settings.interface_charge_closure") + if settings["jv_solver_policy"] != "general": + missing.append("settings.jv_solver_policy: a separately qualified solver route is required") + if data["grain_boundaries"]: + missing.append("grain_boundaries: lateral geometry is not bound") + channels = data.get("tunnelling_channels") + if channels is not None: + missing.extend("tunnelling_channels." + name for name, channel in channels.items() if channel.get("enabled")) + declaration = data["declaration"] + spectral = declaration.get("spectrum") is not None + if spectral and declaration.get("fixed_generation") is not None: + missing.append("spectrum and fixed_generation are mutually exclusive") + for layer in prepared.layers: + if layer.role == "substrate": + parameters = dict(layer.parameters) + if not spectral and (parameters["alpha"] != 0.0 or layer.optical is not None or parameters["n_optical"] is not None): + missing.append("layers." + layer.id + ": absorbing/optical substrate generation is not bound") + for layer in layers: + parameters = dict(layer.parameters) + prefix = "layers." + layer.id + "." + for name in ("P0", "P0_neg", "D_ion", "D_ion_neg"): + if parameters[name] != 0.0: + missing.append(prefix + name + ": mobile or frozen ion populations are not bound") + if parameters["carrier_statistics"] != "maxwell_boltzmann": + missing.append(prefix + "carrier_statistics") + if parameters["dopant_ionization_model"] != "fully_ionized": + missing.append(prefix + "dopant_ionization_model") + if parameters["band_gap_narrowing_model"] != "off": + missing.append(prefix + "band_gap_narrowing_model") + if any(parameters[name] != 0.0 for name in ("pf_gamma_n", "pf_gamma_p")): + missing.append(prefix + "field_mobility: Poole-Frenkel enhancement is not bound") + if layer.bulk_trap_distribution_json is not None: + missing.append(prefix + "bulk_trap_distribution: distributed defects are not bound") + if layer.metastable_document_json is not None: + missing.append(prefix + "metastable_document") + if any(parameters[name] is not None for name in ("trap_N_t_interface", "trap_N_t_bulk", "trap_decay_length")): + missing.append(prefix + "trap_profile") + if layer.cigs_graded_optics_json is not None or ( + not spectral and (layer.optical is not None or parameters["n_optical"] is not None) + ): + missing.append(prefix + "optical_material: requires an explicit spectrum; graded optics is not bound") + for interface in prepared.interfaces: + entry = interface.to_mapping() + if interface.electrical and ( + entry.get("defect") is not None + or any((entry.get(name) or 0.0) != 0.0 for name in ("v_n", "v_p")) + ): + missing.append("interfaces." + entry["id"] + ": interface recombination is not bound") + if missing: + raise CapabilityError("unsupported_classical_1d_dc: " + "; ".join(missing)) + + +def _layer_input(layer: PreparedLayer) -> LayerParameterInput: + parameters = dict(layer.parameters) + for name in ("chi", "Eg", "Nc300", "Nv300", "ni", "eps_r", "mu_n", "mu_p"): + value = parameters[name] + if value is None or not math.isfinite(float(value)) or float(value) <= 0.0: + raise CapabilityError(f"layers.{layer.id}.{name}: classical 1D DC requires a finite positive value") + # Preparation has resolved the full scalar schema; the binding objects + # below validate their model-specific domains. This cast changes no values. + p = cast(_LayerScalars, parameters) + return LayerParameterInput( + name=layer.id, role=layer.role, thickness_m=layer.thickness, + electron_affinity_eV=p["chi"], band_gap_eV=p["Eg"], + intrinsic_density_m3=p["ni"], srh_n1_m3=p["n1"], srh_p1_m3=p["p1"], + electron_mobility_m2_V_s=p["mu_n"], hole_mobility_m2_V_s=p["mu_p"], + radiative_coefficient_m3_s=p["B_rad"], thermal_velocity_m_s=p["v_th"], + doping=DopingProfileSpec( + p["N_A"], p["N_D"], p["N_A_bulk"], p["N_D_bulk"], + p["doping_profile_shape"], p["doping_decay_length"], p["doping_edge"], + ), + conduction_dos_300_m3=p["Nc300"], valence_dos_300_m3=p["Nv300"], + temperature_laws=TemperatureLawSpec( + mobility_exponent=p["mu_T_gamma"], radiative_exponent=p["B_rad_T_gamma"], + varshni_alpha_eV_K=p["varshni_alpha"], varshni_beta_K=p["varshni_beta"], + ), + grading=GradingSpec( + band_gap_back_eV=p["Eg_back"], electron_affinity_back_eV=p["chi_back"], + profile=p["grading_profile"], direction=p["grading_direction"], + bowing_eV=p["grading_bowing"], characteristic_length_m=p["grading_char_length"], + ), + ) + + +def compile_device_1d( + prepared: PreparedDevice, + *, + intervals_per_layer: int | Sequence[int] = 24, + additional_recombination: LocalRecombinationModel | None = None, +) -> CompiledDevice1D: + """Cold compile genuine resolved configuration; no legacy/test execution. + + A scalar interval count is the mean per-layer budget, allocated by the + prepared electrical_grid weights. A sequence explicitly supplies each + electrical layer's interval count. Prepared grid alpha values are always + used; without declarations the existing tanh-grid alpha is 3. + """ + if not isinstance(prepared, PreparedDevice): + raise TypeError("compile_device_1d requires an existing PreparedDevice") + data = prepared.to_mapping() + settings = data["settings"] + layers = tuple(layer for layer in prepared.layers if layer.role != "substrate") + unsupported(prepared, data, layers) + grid = {entry["layer"]: entry for entry in data["electrical_grid"]} + if isinstance(intervals_per_layer, bool): + raise ValueError("intervals_per_layer must be an integer or integer sequence") + if isinstance(intervals_per_layer, int): + if intervals_per_layer < 2: + raise ValueError("intervals_per_layer must be at least 2") + weights = np.asarray([grid.get(layer.id, {}).get("interval_weight", 1.0) for layer in layers]) + counts = np.maximum(2, np.rint(intervals_per_layer * weights / np.mean(weights))).astype(int).tolist() + else: + if isinstance(intervals_per_layer, (str, bytes)): + raise ValueError("intervals_per_layer must be an integer or integer sequence") + counts = list(intervals_per_layer) + if len(counts) != len(layers) or any(type(count) is not int or count < 2 for count in counts): + raise ValueError("interval counts must be integers >= 2, one per electrical layer") + for index, layer in enumerate(layers): + p = dict(layer.parameters) + if settings["band_grading"] and (p["Eg_back"] is not None or p["chi_back"] is not None): + counts[index] *= p["grading_N_mult"] + alphas = [grid.get(layer.id, {}).get("alpha", 3.0) for layer in layers] + thicknesses = [layer.thickness for layer in layers] + nodes = multilayer_grid(list(zip(thicknesses, counts)), alpha=alphas) + masks = layer_node_masks(nodes, thicknesses, RIGHT_LAYER_WINS) + geometry = build_geometry(INTEGER_ENDPOINT_V1, nodes, np.cumsum(thicknesses)[:-1]) + binding = compile_layer_parameters( + nodes, [_layer_input(layer) for layer in layers], + temperature_K=settings["T"], temperature_scaling=True, + band_grading=settings["band_grading"], dos_band_potentials=True, dual_ions=False, + ) + + def paint(name: str) -> np.ndarray: + result = np.empty(nodes.size) + for layer, mask in zip(layers, masks): + result[mask] = dict(layer.parameters)[name] + return result + + electron_diffusivity = legacy_face_diffusivity(binding.electron_diffusivity_m2_s) + hole_diffusivity = legacy_face_diffusivity(binding.hole_diffusivity_m2_s) + try: + field_transport = bind_field_transport_1d( + nodes, electron_diffusivity, hole_diffusivity, binding.thermal_voltage_V, + v_sat_n=paint("v_sat_n"), v_sat_p=paint("v_sat_p"), + ct_beta_n=paint("ct_beta_n"), ct_beta_p=paint("ct_beta_p"), + pf_gamma_n=paint("pf_gamma_n"), pf_gamma_p=paint("pf_gamma_p"), + ) + except FieldMobilityCapabilityError as error: + raise CapabilityError("unsupported_classical_1d_dc: " + str(error)) from error + + # The configured intrinsic product must agree with the physical DOS/bands. + # Changing it silently would replace the user's recombination population. + bands = binding.band_structure + log_product = np.log(binding.conduction_dos_m3) + np.log(binding.valence_dos_m3) - bands.physical_band_gap_eV / binding.thermal_voltage_V + configured = binding.intrinsic_product_m6 + if np.any(configured <= 0.0) or not np.all(np.isfinite(configured)) or np.max(np.abs(np.log(configured) - log_product)) > 1.0e-10: + raise CapabilityError("inconsistent_intrinsic_product: configured ni and physical Nc/Nv/Eg do not share one Maxwell-Boltzmann equilibrium") + poisson = PoissonOperator1D.for_geometry(geometry, paint("eps_r")) + coefficients = BulkRecombinationCoefficients( + nodes.size, configured, paint("tau_n"), paint("tau_p"), + binding.srh_n1_m3, binding.srh_p1_m3, binding.radiative_coefficient_m3_s, + paint("C_n"), paint("C_p"), + ) + explicit_defects = bind_neutral_defects( + layers, masks, ni_sq_m6=configured, band_gap_eV=bands.physical_band_gap_eV, + thermal_voltage_V=binding.thermal_voltage_V, + conduction_dos_m3=binding.conduction_dos_m3, valence_dos_m3=binding.valence_dos_m3, + ) + recombination = BulkRecombinationReaction(coefficients, explicit_defects) + generation_name = data["declaration"].get("fixed_generation") + if generation_name is not None: + table = prepared.resources.get(generation_name, "fixed_generation") + if table.array.shape != (nodes.size, 2) or not np.array_equal(table.array[:, 0], nodes): + raise CapabilityError("fixed_generation: resource coordinates must exactly match the compiled nodes; interpolation is not bound") + generation = FixedGenerationProfile(table.array[:, 1], nodes.size).generation_profile(geometry) + elif data["declaration"].get("spectrum") is not None: + generation = bind_optical_generation_1d(prepared, geometry).profile + else: + generation = BeerLambertBinding(nodes, paint("alpha"), settings["Phi"]).generation_profile(geometry) + + def contact_material(node: int) -> ContactMaterial: + return ContactMaterial( + binding.temperature_K, + float(bands.physical_electron_affinity_eV[node]), + float(bands.physical_band_gap_eV[node]), + float(binding.conduction_dos_m3[node]), float(binding.valence_dos_m3[node]), + float(binding.donor_density_m3[node]), float(binding.acceptor_density_m3[node]), + ) + + left_material, right_material = contact_material(0), contact_material(-1) + work_left = semiconductor_work_function(left_material) + built_in = work_left - semiconductor_work_function(right_material) + phi_left = float(settings["phi_left"]) + reference_phi = phi_left + built_in * (nodes - nodes[0]) / (nodes[-1] - nodes[0]) + fermi = -work_left - phi_left + reference_n = binding.conduction_dos_m3 * np.exp((fermi + reference_phi + bands.physical_electron_affinity_eV) / binding.thermal_voltage_V) + reference_p = binding.valence_dos_m3 * np.exp(-(fermi + reference_phi + bands.physical_electron_affinity_eV + bands.physical_band_gap_eV) / binding.thermal_voltage_V) + reservoirs = [doping_equilibrium_densities(float(binding.donor_density_m3[node]), float(binding.acceptor_density_m3[node]), float(configured[node])) for node in (0, -1)] + for node, reservoir in zip((0, -1), reservoirs): + reference_n[node], reference_p[node] = reservoir + contacts = {entry["side"]: entry for entry in data["contacts"]} + velocities = resolve_exchange_velocities( + tuple(contacts[side][name] for side in ("left", "right") for name in ("S_n", "S_p")), + flat_band_contacts=settings["flat_band_contacts"], selective_contacts_enabled=True, + ) + channels = tuple( + CarrierExchangeChannel(carrier, side, velocity, reservoirs[side_index][carrier_index]) + for velocity, (side_index, side, carrier_index, carrier) in zip( + velocities, ((0, "left", 0, "n"), (0, "left", 1, "p"), (1, "right", 0, "n"), (1, "right", 1, "p")), + ) + ) + if all(channel.kind == "blocking" for channel in channels): + raise CapabilityError("fully_blocking_contacts: a closed carrier inventory constraint is not bound in this DC slice") + extra_id = None if additional_recombination is None else additional_recombination.model_id + identity_parts: tuple[object, ...] = ( + "electrode_quasi_fermi_1d_v1", prepared.content_sha256, binding.sha256, + generation.binding_sha256, geometry.name, counts, extra_id, + ) + if explicit_defects is not None: + identity_parts += (explicit_defects.identity_sha256,) + owned = explicit_defects.owned_nodes + if np.any(binding.conduction_dos_m3[owned] != binding.valence_dos_m3[owned]): + identity_parts += (LITERAL_ABOVE_VB_DOS_REFERENCE_V1,) + if field_transport is not None: + identity_parts += (field_transport.identity_sha256,) + identity = hashlib.sha256(json.dumps( + identity_parts, + separators=(",", ":"), allow_nan=False, + ).encode()).hexdigest() + return CompiledDevice1D( + data["id"], identity, geometry, binding, poisson, + electron_diffusivity, hole_diffusivity, + generation, recombination, channels, phi_left, built_in, fermi, + reference_phi, reference_n, reference_p, additional_recombination, + field_transport=field_transport, + ) diff --git a/src/solarlab/device/compile_2d.py b/src/solarlab/device/compile_2d.py new file mode 100644 index 00000000..bfc7a487 --- /dev/null +++ b/src/solarlab/device/compile_2d.py @@ -0,0 +1,122 @@ +"""Bind an explicit rectangular geometry to classical ion-free 2D DC. + +Geometry and neutral grain bands of the existing typed JV2DInput are admitted; +this is an equation compiler, not a 2D J-V/time-protocol executor. The existing +1D compiler supplies physical coefficients and reservoirs without running a +solver. All residuals and tangents are assembled on the connected 2D graph. +""" + +from __future__ import annotations + +import hashlib +import json + +import numpy as np + +from solarlab.config.resolve_device import resolve_device +from solarlab.device.compile_1d import compile_device_1d +from solarlab.device.grain_2d import bind_grain_regions_2d, grain_declarations +from solarlab.device.inputs import DeviceInput +from solarlab.device.resolved import PreparedDevice +from solarlab.device.optical_generation_2d import bind_optical_generation_2d +from solarlab.equations.dc_1d import CapabilityError +from solarlab.equations.dc_2d import CompiledDevice2D +from solarlab.equations.field_transport_2d import bind_field_transport_2d +from solarlab.experiments.two_dimensional.inputs import JV2DInput +from solarlab.mesh.geometry import half_endpoint_geometry +from solarlab.mesh.geometry_2d import RectangularGeometry2D +from solarlab.physics.generation.beer_lambert import BeerLambertBinding +from solarlab.units import normalize_quantity + +CLASSICAL_2D_DC_V1 = "classical_mb_fixed_reservoir_neumann_2d_dc_v1" +CLASSICAL_2D_CONTACTS_V1 = "classical_mb_carrier_exchange_neumann_2d_dc_v1" +_GEOMETRY_FIELDS = frozenset({"kind", "lateral_length", "Nx", "Ny_per_layer", "lateral_bc", "microstructure"}) + + +def compile_device_2d(prepared: PreparedDevice, spatial: JV2DInput) -> CompiledDevice2D: + """Compile without a nonlinear solve or inferred geometric defaults. + + Nx and Ny_per_layer are interval counts; all electrical layers receive + exactly the requested vertical count and retain their declared grid alpha. + Monochromatic Beer-Lambert and coherent normal/front spectral sources use + physical half-endpoint volumes and uniform lateral extrusion. Fixed + sources and optical-only front layers remain outside this compiler slice. + """ + if not isinstance(prepared, PreparedDevice) or not isinstance(spatial, JV2DInput): + raise TypeError("compile_device_2d requires PreparedDevice and typed JV2DInput geometry") + for name in spatial.model_fields_set - _GEOMETRY_FIELDS: + if getattr(spatial, name) is not None: + raise CapabilityError("unsupported_classical_2d_dc: execution field " + name) + if spatial.lateral_length is None or spatial.Nx is None or spatial.Ny_per_layer is None: + raise CapabilityError("2D DC requires explicit lateral_length, Nx and Ny_per_layer") + if spatial.lateral_bc != "neumann": + raise CapabilityError("2D DC requires explicit zero-normal-flux neumann lateral boundaries") + if spatial.Ny_per_layer < 2: + raise ValueError("Ny_per_layer must be at least two intervals") + data = prepared.to_mapping() + spectral = data["declaration"].get("spectrum") is not None + if data["declaration"].get("fixed_generation") is not None: + raise CapabilityError("unsupported_classical_2d_dc: spectral/fixed optical generation is not bound") + if data["settings"]["band_grading"]: + raise CapabilityError("unsupported_classical_2d_dc: graded bands are outside this first slice") + for layer in prepared.layers: + p = dict(layer.parameters) + if p["incoherent"]: + raise CapabilityError("unsupported_classical_2d_dc: layers." + layer.id + ".incoherent optics is not bound") + if layer.role == "substrate" or (not spectral and (layer.optical is not None or p["n_optical"] is not None)): + raise CapabilityError("unsupported_classical_2d_dc: optical-only/index layers are not bound") + if any(p[name] != 0.0 for name in ("pf_gamma_n", "pf_gamma_p")): + raise CapabilityError("unsupported_classical_2d_dc: field-dependent carrier mobility is not bound") + grain_declarations(prepared, spatial) # Refuse invalid bands before coefficient compilation. + column_prepared, projection = prepared, None + if prepared.to_input().grain_boundaries: + declaration_without_grains = prepared.to_input().editing_data() + declaration_without_grains["grain_boundaries"] = [] + column_prepared = resolve_device(DeviceInput.model_validate(declaration_without_grains), + prepared.defaults, prepared.resources, sources=prepared.sources) + projection = json.dumps({"kind": "grain_free_coefficients_and_auxiliary_seed", + "source_prepared_sha256": prepared.content_sha256, + "coefficient_prepared_sha256": column_prepared.content_sha256, + "removed_declaration": "grain_boundaries", "used_as_2d_result": False}, sort_keys=True).encode() + column = compile_device_1d(column_prepared, intervals_per_layer=(spatial.Ny_per_layer,) * len(prepared.layers)) + if column.recombination.explicit_defects is not None: + raise CapabilityError("unsupported_classical_2d_dc: explicit defect populations are not bound") + length = normalize_quantity(spatial.lateral_length, "m") + y_geometry = half_endpoint_geometry(column.nodes_m, [plane.position_m for plane in column.geometry.interfaces]) + geometry = RectangularGeometry2D(np.linspace(0.0, length, spatial.Nx + 1), y_geometry) + alpha, eps = np.empty(column.node_count), np.empty(column.node_count) + for layer, mask in zip(prepared.layers, column.parameters.layer_masks): + values = dict(layer.parameters) + alpha[mask], eps[mask] = values["alpha"], values["eps_r"] + optical = bind_optical_generation_2d(prepared, geometry) if spectral else None + generation = (BeerLambertBinding(column.nodes_m, alpha, data["settings"]["Phi"]).generation_profile(y_geometry) + if optical is None else optical.optical_y.profile) + grains = bind_grain_regions_2d(prepared, spatial, geometry) + faceD = [] + for carrier in ("electron", "hole"): + faceD.append(np.r_[np.repeat(getattr(column.parameters, carrier + "_diffusivity_m2_s"), geometry.nx - 1), + np.repeat(getattr(column, carrier + "_diffusivity_faces_m2_s"), geometry.nx)]) + empirical: dict[str, np.ndarray] = {} + for name in ("v_sat_n", "v_sat_p", "ct_beta_n", "ct_beta_p", "pf_gamma_n", "pf_gamma_p"): + painted = np.empty(column.node_count) + for layer, mask in zip(prepared.layers, column.parameters.layer_masks): + painted[mask] = dict(layer.parameters)[name] + empirical[name] = np.repeat(painted, geometry.nx) + transport = bind_field_transport_2d(geometry, faceD[0], faceD[1], column.thermal_voltage_V, + v_sat_n=empirical["v_sat_n"], v_sat_p=empirical["v_sat_p"], + ct_beta_n=empirical["ct_beta_n"], ct_beta_p=empirical["ct_beta_p"], + pf_gamma_n=empirical["pf_gamma_n"], pf_gamma_p=empirical["pf_gamma_p"]) + declaration = spatial.model_dump_json().encode() + contact_model = (CLASSICAL_2D_DC_V1 if all(channel.kind == "fixed_reservoir" for channel in column.channels) + else CLASSICAL_2D_CONTACTS_V1) + identity = hashlib.sha256(json.dumps((contact_model, prepared.content_sha256, column.identity, + geometry.sha256, generation.binding_sha256, declaration.decode()), + separators=(",", ":")).encode()).hexdigest() + if grains is not None: + identity = hashlib.sha256(json.dumps((identity, grains.model_id), separators=(",", ":")).encode()).hexdigest() + if optical is not None: + identity = hashlib.sha256(json.dumps((identity, optical.identity_sha256), separators=(",", ":")).encode()).hexdigest() + if transport is not None: + identity = hashlib.sha256(json.dumps((identity, transport.identity_sha256), separators=(",", ":")).encode()).hexdigest() + return CompiledDevice2D(identity, column, geometry, generation, eps, declaration, + grain_recombination=grains, column_projection_json=projection, field_transport=transport) diff --git a/src/solarlab/device/compile_ionic_1d.py b/src/solarlab/device/compile_ionic_1d.py new file mode 100644 index 00000000..576e4ca6 --- /dev/null +++ b/src/solarlab/device/compile_ionic_1d.py @@ -0,0 +1,208 @@ +"""Compile one blocking ion domain with positive and optional independent negative ions. + +The ion-free compilation below is an explicit electronic *component* projection, +not a returned ionic device or an ion-stripping fallback. All original ionic +inputs and their domain/inventory remain bound in the final manifest/identity. +""" + +from __future__ import annotations + +from collections.abc import Sequence +import hashlib +import json +import math +from typing import Any, cast + +import numpy as np + +from solarlab.config.resolve_device import resolve_device +from solarlab.device.compile_1d import compile_device_1d +from solarlab.device.inputs import DeviceInput +from solarlab.device.resolved import PreparedDevice +from solarlab.equations.dc_1d import CapabilityError +from solarlab.equations.ionic_1d import CompiledIonicDevice1D +from solarlab.mesh.geometry import half_endpoint_geometry +from solarlab.physics.band_structure.temperature import ion_diffusivity_at_temperature +from solarlab.physics.ions import ( + DIFFUSION_ONLY_STERIC_V1, HISTORICAL_OCCUPANCY_CLIP, + HISTORICAL_STERIC_FLOOR, WHOLE_FLUX_STERIC_V1, +) + +__all__ = ["CompiledIonicDevice1D", "compile_ionic_device_1d", "ION_INPUTS"] +ION_INPUTS = ("P0", "P0_neg", "D_ion", "D_ion_neg", "P_lim", "P_lim_neg", "E_a_ion") + + +def compile_ionic_device_1d( + prepared: PreparedDevice, *, intervals_per_layer: int | Sequence[int] = 24, + ion_domain_layer: str | None = None, + ion_domain_endpoints: tuple[str, str] | None = None, +) -> CompiledIonicDevice1D: + """Compile independent or shared finite-site ions in one blocking layer. + + Zero D retains each configured population/background/storage. Shared sites + require the original diffusion-only law, equal capacities and positive + vacancy. Additional domains and absent/saturated references are unsupported. + A negative population requires its own positive unsaturated reference, even + when its mobility is zero. A multilayer device requires an + explicit layer and two blocking endpoints; no interface exchange is inferred. + """ + if not isinstance(prepared, PreparedDevice): + raise TypeError("compile_ionic_device_1d requires an existing PreparedDevice") + data = prepared.to_mapping() + layers = tuple(layer for layer in prepared.layers if layer.role != "substrate") + if ion_domain_layer is None: + if len(layers) != 1: + raise CapabilityError("first_ionic_1d: one electrical layer is implicit; multilayer requires an explicit ion domain and endpoints") + domain_layer = layers[0] + else: + selected = [layer for layer in layers if layer.id == ion_domain_layer] + if len(selected) != 1: + raise CapabilityError("first_ionic_1d: ion_domain_layer must name one electrical layer") + domain_layer = selected[0] + if ion_domain_endpoints is None: + if len(layers) != 1: + raise CapabilityError("first_ionic_1d: multilayer ion domain requires explicit blocking endpoints") + elif ion_domain_endpoints != ("blocking", "blocking"): + raise CapabilityError("first_ionic_1d: ion interface exchange is unsupported; declare two blocking endpoints") + shared = bool(data["settings"]["ion_steric_shared_site"]) + if shared and not data["settings"]["ion_steric_diffusion_only"]: + raise CapabilityError("shared-site ions require the original diffusion-only crowding law") + declarations = [{"layer": layer.id, **{name: dict(layer.parameters)[name] for name in ION_INPUTS}} + for layer in prepared.layers] + for layer in prepared.layers: + parameters = dict(layer.parameters) + if layer.role == "substrate" and any(parameters[name] != 0.0 for name in ("P0", "D_ion", "P0_neg", "D_ion_neg")): + raise CapabilityError("first_ionic_1d: substrate ion domains are not assembled") + if layer.id != domain_layer.id and any(parameters[name] != 0.0 for name in ("P0", "D_ion", "P0_neg", "D_ion_neg")): + raise CapabilityError("first_ionic_1d: outside-domain population/mobility or multiple active domains are unsupported") + parameters = dict(domain_layer.parameters) + reference, capacity = float(cast(float, parameters["P0"])), float(cast(float, parameters["P_lim"])) + diffusion, activation = float(cast(float, parameters["D_ion"])), float(cast(float, parameters["E_a_ion"])) + if not all(math.isfinite(value) for value in (reference, capacity, diffusion, activation)): + raise CapabilityError("first_ionic_1d: finite ionic parameters are required") + if not 0.0 < reference < capacity: + raise CapabilityError("first_ionic_1d: a strictly positive, unsaturated finite-site reference is required") + if diffusion < 0.0 or activation < 0.0: + raise CapabilityError("first_ionic_1d: diffusivity/activation energy must be non-negative") + negative_reference = float(cast(float, parameters["P0_neg"])) + negative_capacity = float(cast(float, parameters["P_lim_neg"])) + negative_diffusion = float(cast(float, parameters["D_ion_neg"])) + dual = negative_reference != 0.0 or negative_diffusion != 0.0 + if dual: + if not all(math.isfinite(value) for value in (negative_reference, negative_capacity, negative_diffusion)): + raise CapabilityError("dual_ionic_1d: finite negative-ion parameters are required") + if not 0.0 < negative_reference < negative_capacity: + raise CapabilityError("dual_ionic_1d: a positive unsaturated negative-ion reference is required; mobility alone cannot create a population") + if negative_diffusion < 0.0: + raise CapabilityError("dual_ionic_1d: negative-ion diffusivity must be non-negative") + if shared: + if not dual: + raise CapabilityError("shared-site ions require both declared positive and negative references") + if capacity != negative_capacity: + raise CapabilityError("shared-site ions require one exactly common site capacity") + if not math.isfinite(reference + negative_reference) or reference + negative_reference >= capacity: + raise CapabilityError("shared-site reference summed occupancy must be below the common capacity") + + # Explicit component projection; only ionic populations/transport switches + # are excluded from this component, and every change is recorded below. + projection = prepared.to_input().editing_data() + changes: list[dict[str, object]] = [] + for layer in projection["layers"]: + for name in ("P0", "P0_neg", "D_ion", "D_ion_neg"): + layer.setdefault("parameters", {})[name] = 0.0 + changes.append({"path": "layers." + layer["id"] + "." + name, "component_value": 0.0}) + for name in ("ion_steric_diffusion_only", "ion_steric_shared_site"): + projection.setdefault("settings", {})[name] = False + changes.append({"path": "settings." + name, "component_value": False}) + component_prepared = resolve_device( + DeviceInput.model_validate(projection), prepared.defaults, prepared.resources, sources=prepared.sources, + ) + component = compile_device_1d(component_prepared, intervals_per_layer=intervals_per_layer) + domain_index = layers.index(domain_layer) + left = 0 if domain_index == 0 else component.geometry.interfaces[domain_index - 1].shared_node + right = component.node_count - 1 if domain_index == len(layers) - 1 else component.geometry.interfaces[domain_index].shared_node + if left is None or right is None: + raise CapabilityError("first_ionic_1d: domain endpoints require actual shared electrostatic nodes") + indices: np.ndarray = np.arange(left, right + 1, dtype=np.intp) + ion_geometry = half_endpoint_geometry(component.nodes_m[indices]) + count = ion_geometry.node_count + scaled_diffusion = ion_diffusivity_at_temperature(diffusion, component.parameters.temperature_K, activation) + if not math.isfinite(scaled_diffusion) or scaled_diffusion < 0.0: + raise CapabilityError("first_ionic_1d: temperature-scaled ion diffusivity is outside the finite envelope") + occupancy = reference / capacity + logit = math.log(occupancy) - math.log1p(-occupancy) + steric_model = DIFFUSION_ONLY_STERIC_V1 if data["settings"]["ion_steric_diffusion_only"] else WHOLE_FLUX_STERIC_V1 + reference_array, limit_array = np.full(count, reference), np.full(count, capacity) + # One uniform ionic domain: retain the ion kernel's scalar-broadcast law, + # including exact zero diffusivity, rather than a carrier-only harmonic mean. + faces = np.full(count - 1, scaled_diffusion) + positive_logit_array = np.full(count, logit) + negative_arrays: dict[str, np.ndarray] = {} + if dual: + scaled_negative = ion_diffusivity_at_temperature(negative_diffusion, component.parameters.temperature_K, activation) + if not math.isfinite(scaled_negative) or scaled_negative < 0.0: + raise CapabilityError("dual_ionic_1d: temperature-scaled negative diffusivity is outside the finite envelope") + negative_occupancy = negative_reference / negative_capacity + negative_logit = math.log(negative_occupancy) - math.log1p(-negative_occupancy) + negative_arrays = { + "negative_ion_reference_m3": np.full(count, negative_reference), + "negative_ion_site_limit_m3": np.full(count, negative_capacity), + "negative_ion_logit_reference": np.full(count, negative_logit), + "negative_ion_diffusivity_faces_m2_s": np.full(count - 1, scaled_negative), + } + if shared: + vacancy = 1.0 - (reference_array + negative_arrays["negative_ion_reference_m3"]) / limit_array + positive_logit_array = np.log(reference_array / limit_array) - np.log(vacancy) + negative_arrays["negative_ion_logit_reference"] = np.log(negative_arrays["negative_ion_reference_m3"] / limit_array) - np.log(vacancy) + manifest: dict[str, Any] = { + "binding": "single_positive_ion_classical_1d_residual_v1", + "original_prepared_sha256": prepared.content_sha256, + "original_ionic_inputs": declarations, + "original_ionic_settings": {name: data["settings"][name] for name in ("ion_steric_diffusion_only", "ion_steric_shared_site")}, + "electronic_component": {"prepared_sha256": component_prepared.content_sha256, "compiled_sha256": component.identity, + "projection": changes, "geometry": component.geometry.name}, + "ion_domain": {"layer": domain_layer.id, "bounds_m": [float(ion_geometry.nodes_m[0]), float(ion_geometry.nodes_m[-1])], + "nodes_m": ion_geometry.nodes_m.tolist(), "cell_measures_m": ion_geometry.cell_measures_m.tolist(), + "geometry": ion_geometry.name, "contacts": ["blocking", "blocking"], + "electrical_node_indices": indices.tolist(), + "declaration": {"layer": domain_layer.id, "endpoints": ["blocking", "blocking"], + "source": "compile_arguments" if len(layers) != 1 or ion_domain_endpoints is not None else "historical_outer_blocking_contract"}, + "outside_domain_policy": "configured_zero_population_and_mobility", + "reference_inventory_m2": math.fsum((ion_geometry.cell_measures_m * reference_array).tolist())}, + "ion_model": {"steric_model": steric_model, "occupancy_clip": HISTORICAL_OCCUPANCY_CLIP, + "steric_floor": HISTORICAL_STERIC_FLOOR, "activation_energy_eV": activation, + "temperature_K": component.parameters.temperature_K, "face_diffusivity_m2_s": faces.tolist()}, + "ion_charge_deposition": {"target": "electronic_component_cell_volumes", + "physical_density_ratio": (ion_geometry.cell_measures_m / component.geometry.cell_measures_m[indices]).tolist(), + "rule": "P_charge=(W_P/W_e)*P; identical projection for fixed P0 background"}, + "state_layout": {"electrical_node_count": component.node_count, "ion_node_count": count, + "size": 3 * component.node_count + count}, + "scope": "assembled residual and analytic derivatives; ionic steady/transient qualification remains open", + } + if dual: + # Positive-only manifest bytes remain the integrated v1 contract. + manifest["binding"] = "shared_site_dual_ion_classical_1d_residual_v1" if shared else "independent_dual_ion_classical_1d_residual_v1" + manifest["ion_domain"]["negative_reference_inventory_m2"] = math.fsum(( + ion_geometry.cell_measures_m * negative_arrays["negative_ion_reference_m3"] + ).tolist()) + manifest["ion_model"]["negative_face_diffusivity_m2_s"] = negative_arrays["negative_ion_diffusivity_faces_m2_s"].tolist() + manifest["ion_model"]["site_contract"] = "shared_finite_sites" if shared else "independent_finite_sites" + if shared: + manifest["ion_model"]["coordinate_map"] = "historical_shared_site_softmax_v1" + manifest["ion_model"]["reference_vacancy_fraction"] = vacancy.tolist() + manifest["ion_model"]["coordinate_reference"] = "log(species_fraction)-log(common_vacancy_fraction)" + manifest["ion_charge_deposition"]["rule"] = "rho_ion=q*(W_P/W_e)*((P_positive-P0)-(P_negative-P0_neg)); separate historical negative charge group" + manifest["state_layout"].update(size=3 * component.node_count + 2 * count, + ion_species=["positive", "negative"], ion_species_count=2) + encoded = json.dumps(manifest, sort_keys=True, separators=(",", ":"), allow_nan=False) + identity = hashlib.sha256(encoded.encode()).hexdigest() + return CompiledIonicDevice1D( + data["id"], identity, prepared.content_sha256, component, ion_geometry, domain_layer.id, + reference_array, limit_array, positive_logit_array, faces, steric_model, encoded, + ion_node_indices=indices, + negative_ion_reference_m3=negative_arrays.get("negative_ion_reference_m3", np.empty(0)), + negative_ion_site_limit_m3=negative_arrays.get("negative_ion_site_limit_m3", np.empty(0)), + negative_ion_logit_reference=negative_arrays.get("negative_ion_logit_reference", np.empty(0)), + negative_ion_diffusivity_faces_m2_s=negative_arrays.get("negative_ion_diffusivity_faces_m2_s", np.empty(0)), + ion_site_contract="shared_finite_sites" if shared else "independent_finite_sites", + ) diff --git a/src/solarlab/device/compile_multiple_ionic_1d.py b/src/solarlab/device/compile_multiple_ionic_1d.py new file mode 100644 index 00000000..46b5f702 --- /dev/null +++ b/src/solarlab/device/compile_multiple_ionic_1d.py @@ -0,0 +1,110 @@ +"""Additive two-domain compiler; the accepted one-domain API is unchanged.""" + +from __future__ import annotations + +from collections.abc import Sequence +from dataclasses import replace +import hashlib +import json + +from solarlab.config.resolve_device import resolve_device +from solarlab.device.compile_ionic_1d import ION_INPUTS, compile_ionic_device_1d +from solarlab.device.inputs import DeviceInput +from solarlab.device.resolved import PreparedDevice +from solarlab.equations.dc_1d import CapabilityError +from solarlab.equations.ionic_1d import CompiledIonicDevice1D +from solarlab.equations.multiple_ionic_1d import CompiledMultipleIonicDevice1D + +__all__ = ["CompiledMultipleIonicDevice1D", "compile_multiple_ionic_device_1d"] + + +def compile_multiple_ionic_device_1d( + prepared: PreparedDevice, *, intervals_per_layer: int | Sequence[int] = 24, + ion_domains: Sequence[tuple[str, tuple[str, str]]], +) -> CompiledMultipleIonicDevice1D: + """Exactly two layer-wide blocking domains separated by inactive material. + + Isolated ionic components are explicit projections for reusing the original + constitutive/coordinate binding. The returned identity binds the complete + original document, both projections and every original population. + """ + if not isinstance(prepared, PreparedDevice): + raise TypeError("an actual PreparedDevice is required") + if isinstance(intervals_per_layer, bool) or ( + not isinstance(intervals_per_layer, int) + and (not isinstance(intervals_per_layer, Sequence) + or any(type(value) is not int for value in intervals_per_layer)) + ): + raise ValueError("intervals_per_layer must be an integer or a sequence of integers, not bool") + if not isinstance(ion_domains, Sequence) or isinstance(ion_domains, (str, bytes)): + raise CapabilityError("ion_domains must contain exactly two explicit domain declarations") + declarations = tuple(ion_domains) + if (len(declarations) != 2 + or any(not isinstance(item, tuple) or len(item) != 2 + or not isinstance(item[0], str) or item[1] != ("blocking", "blocking") + for item in declarations)): + raise CapabilityError("two explicit (layer, ('blocking', 'blocking')) declarations are required; exchange is unsupported") + names = tuple(item[0] for item in declarations) + layers = tuple(layer for layer in prepared.layers if layer.role != "substrate") + layer_ids = tuple(layer.id for layer in layers) + if len(set(names)) != 2 or any(name not in layer_ids for name in names): + raise CapabilityError("domains must name two distinct electrical layers") + left, right = (layer_ids.index(name) for name in names) + if right - left < 2: + raise CapabilityError("domains must be left-to-right and separated by a configured inactive layer; touching domains are unsupported") + originals = [{"layer": layer.id, **{key: dict(layer.parameters)[key] for key in ION_INPUTS}} + for layer in prepared.layers] + for entry in originals: + if entry["layer"] not in names and any(entry[key] != 0.0 for key in ("P0", "P0_neg", "D_ion", "D_ion_neg")): + raise CapabilityError("all undeclared layers must have configured zero ionic populations and mobility") + components: list[CompiledIonicDevice1D] = [] + records = [] + for name, endpoints in declarations: + editing = prepared.to_input().editing_data() + changes = [] + for layer in editing["layers"]: + if layer["id"] != name: + original = next(entry for entry in originals if entry["layer"] == layer["id"]) + for key in ("P0", "P0_neg", "D_ion", "D_ion_neg"): + layer.setdefault("parameters", {})[key] = 0.0 + changes.append({"path": "layers." + layer["id"] + "." + key, + "original_value": original[key], "component_value": 0.0}) + isolated = resolve_device(DeviceInput.model_validate(editing), prepared.defaults, prepared.resources, + sources=prepared.sources) + component = compile_ionic_device_1d(isolated, intervals_per_layer=intervals_per_layer, + ion_domain_layer=name, ion_domain_endpoints=endpoints) + if components: + if component.electronic_component.identity != components[0].electronic_component.identity: + raise ValueError("isolated domains produced different electronic components") + component = replace(component, electronic_component=components[0].electronic_component) + components.append(component) + records.append({"layer": name, "endpoints": list(endpoints), "source": "compile_arguments", + "isolated_prepared_sha256": isolated.content_sha256, "component_projection": changes, + "component_sha256": component.identity, "component_manifest": component.binding_manifest, + "reference_inventories_m2": {species: component.reference_inventory_m2 if species == "positive" + else component.negative_reference_inventory_m2 + for species in component.ion_species_names}}) + size = 3 * components[0].node_count + layout = [] + for component in components: + for species in component.ion_species_names: + layout.append({"domain": component.domain_layer_id, "species": species, + "start": size, "stop": size + component.ion_node_count, + "coordinate": "original_finite_site_coordinate"}) + size += component.ion_node_count + settings = prepared.to_mapping()["settings"] + manifest = { + "binding": "two_separated_blocking_ion_domains_classical_1d_v1", + "original_prepared_sha256": prepared.content_sha256, "original_ionic_inputs": originals, + "original_ionic_settings": {key: settings[key] for key in ("ion_steric_diffusion_only", "ion_steric_shared_site")}, + "electronic_component_sha256": components[0].electronic_component.identity, + "domains": records, "state_size": size, "ionic_state_blocks": layout, + "outside_domain_policy": "configured_zero_population_and_mobility", + "between_domain_policy": "configured_inactive_layer_and_declared_blocking_endpoints", + "charge_deposition": "sum_domain q*(WP/We)*[(P_positive-P0)-(P_negative-P0_neg)]", + "storage": "original_physical_populations_per_domain; all_local_rows_retained", + "scope": "residual/J/storage assembly only; no steady/time/AC driver or scientific qualification", + } + encoded = json.dumps(manifest, sort_keys=True, separators=(",", ":"), allow_nan=False) + return CompiledMultipleIonicDevice1D(prepared.to_mapping()["id"], hashlib.sha256(encoded.encode()).hexdigest(), + prepared.content_sha256, components[0].electronic_component, tuple(components), encoded) diff --git a/src/solarlab/device/defaults.py b/src/solarlab/device/defaults.py new file mode 100644 index 00000000..03061b13 --- /dev/null +++ b/src/solarlab/device/defaults.py @@ -0,0 +1,216 @@ +"""Injected immutable default data; no Python-source or legacy dependency.""" + +from __future__ import annotations + +from dataclasses import dataclass +import hashlib +import json +import re +from typing import Any + +from solarlab.device.settings import DeviceSettingsInput +from solarlab.device.tunnelling import CHANNEL_TYPES +from solarlab.experiments.jv.inputs import ( + JV_DEFAULT_FIELDS, JVInput, DarkJVInput, JVNumericalDefaults, + JVHistoryDefaults, JVWaveformControlsInput, +) +from solarlab.experiments.two_dimensional.inputs import ( + ComponentwiseAtolInput, EXPERIMENT_DEFAULT_FIELDS, GrainSweepInput, JV2DInput, +) +from solarlab.materials.full_parameters import full_parameter_items +from solarlab.materials.optics import CigsOpticsInput +from solarlab.materials.parameters import Scalar +from solarlab.units import normalize_quantity + +__all__ = ["DefaultCatalog"] + + +def _pairs(values: tuple[tuple[str, Scalar], ...]) -> dict[str, Scalar]: + pairs = tuple(values) + if any(not isinstance(pair, tuple) or len(pair) != 2 or not isinstance(pair[0], str) for pair in pairs): + raise ValueError("catalog values must be named scalar pairs") + if len({name for name, _ in pairs}) != len(pairs): + raise ValueError("duplicate catalog field") + return dict(pairs) + + +@dataclass(frozen=True, slots=True) +class DefaultCatalog: + material: tuple[tuple[str, Scalar], ...] + device: tuple[tuple[str, Scalar], ...] + scaps: tuple[tuple[str, Scalar], ...] + interface: tuple[tuple[str, Scalar], ...] + constants: tuple[tuple[str, Scalar], ...] + contacts: tuple[tuple[str, Scalar], ...] + structural: tuple[tuple[str, Scalar], ...] + defect_model: str + defect_schema_version: str | None + defect_degeneracy: float + distribution_width_convention: str + evidence: tuple[tuple[str, str], ...] + complex_defaults: tuple[tuple[str, tuple[tuple[str, Scalar], ...]], ...] = () + experiment_defaults: tuple[tuple[str, tuple[tuple[str, Scalar], ...]], ...] = () + + def __post_init__(self) -> None: + experiment_pairs = tuple(self.experiment_defaults) + names = [name for name, _ in experiment_pairs] + all_fields = {**EXPERIMENT_DEFAULT_FIELDS, **JV_DEFAULT_FIELDS} + if len(names) != len(set(names)) or set(names) - set(all_fields): + raise ValueError("unknown or duplicate experiment default section") + for group in (EXPERIMENT_DEFAULT_FIELDS, JV_DEFAULT_FIELDS): + if set(names) & set(group) and not set(group) <= set(names): + raise ValueError("experiment defaults require complete source-bound experiment groups") + experimental = [] + for name, values in experiment_pairs: + data = _pairs(tuple(values)) + if set(data) != set(all_fields[name]): + raise ValueError(f"incomplete experiment defaults: {name}") + if name in {"jv_jobs", "jv_endpoint", "dark_jv"}: + model_jv = DarkJVInput if name == "dark_jv" else JVInput + checked = model_jv.model_validate({"kind": "dark_jv" if name == "dark_jv" else "jv", **data}).normalized_data() + checked.pop("kind") + elif name in {"jv_numerical", "dark_jv_numerical"}: + checked = JVNumericalDefaults.model_validate(data).normalized_data() + elif name == "jv_waveform_controls": + checked = JVWaveformControlsInput.model_validate(data).normalized_data() + elif name == "jv_history": + checked = JVHistoryDefaults.model_validate(data).normalized_data() + elif name == "jv_2d_componentwise_atol": + checked = ComponentwiseAtolInput.model_validate(data).normalized_data() + else: + model = JV2DInput if name == "jv_2d" else GrainSweepInput + checked = model.model_validate({"kind": name, **data}).normalized_data() + checked.pop("kind") + experimental.append((name, tuple(sorted(checked.items())))) + object.__setattr__(self, "experiment_defaults", tuple(sorted(experimental))) + complex_pairs = tuple(self.complex_defaults) + names = [name for name, _ in complex_pairs] + if len(names) != len(set(names)) or (names and set(names) != {"cigs_graded_optics", *CHANNEL_TYPES}): + raise ValueError("complex default catalog requires the five named model sections") + normalized = [] + for name, values in complex_pairs: + data = _pairs(tuple(values)) + if name == "cigs_graded_optics": + if set(data) != {"model", "slices", "kk_quadrature_order"}: + raise ValueError("CIGS defaults must not invent composition endpoints") + # Validate only the supplied nonphysical controls, using the + # corresponding field adapters rather than invented GGI/CGI. + from pydantic import TypeAdapter + for field_name, value in data.items(): + field_info = CigsOpticsInput.model_fields[field_name] + annotation = field_info.rebuild_annotation() + TypeAdapter(annotation).validate_python(value, strict=True) + if value is None: + raise ValueError("complex defaults cannot contain absent placeholders") + else: + model = CHANNEL_TYPES[name] + if set(data) != set(model.model_fields): + raise ValueError(f"incomplete default channel: {name}") + data = model.model_validate(data).normalized_data() + if data["enabled"] is not False: + raise ValueError("tunnelling defaults cannot enable a channel") + normalized.append((name, tuple(sorted(data.items())))) + object.__setattr__(self, "complex_defaults", tuple(sorted(normalized))) + object.__setattr__(self, "material", full_parameter_items(tuple(_pairs(self.material).items()))) + device = DeviceSettingsInput.model_validate(_pairs(self.device)) + if set(device.model_fields_set) != set(DeviceSettingsInput.model_fields): + raise ValueError("device default catalog is incomplete") + object.__setattr__(self, "device", device.normalized_items()) + scaps = full_parameter_items(tuple(_pairs(self.scaps).items())) + if {name for name, _ in scaps} != {"D_ion", "P_lim", "P0", "B_rad", "C_n", "C_p", "alpha", "tau_n", "tau_p"}: + raise ValueError("SCAPS adapter default catalog is incomplete") + object.__setattr__(self, "scaps", scaps) + interface = _pairs(self.interface) + if set(interface) != {"calibration_factor", "iface_state_calibration_factor"}: + raise ValueError("interface default catalog is incomplete") + factors = tuple((name, normalize_quantity(value, "1")) for name, value in sorted(interface.items())) + if any(value < 0 for _, value in factors): + raise ValueError("interface factors must be nonnegative") + object.__setattr__(self, "interface", factors) + constants = _pairs(self.constants) + if set(constants) != {"Q", "K_B", "T"}: + raise ValueError("SCAPS conversion constants are incomplete") + normalized_constants = {name: normalize_quantity(value, "1") for name, value in constants.items()} + if any(value <= 0 for value in normalized_constants.values()): + raise ValueError("conversion constants must be positive") + object.__setattr__(self, "constants", tuple(sorted(normalized_constants.items()))) + contacts = _pairs(self.contacts) + if set(contacts) != {"S_n_left", "S_p_left", "S_n_right", "S_p_right"}: + raise ValueError("contact default catalog is incomplete") + normalized_contacts = {name: None if value is None else normalize_quantity(value, "m/s") for name, value in contacts.items()} + if any(value is not None and value < 0 for value in normalized_contacts.values()): + raise ValueError("contact velocities must be nonnegative or null") + object.__setattr__(self, "contacts", tuple(sorted(normalized_contacts.items()))) + structural = _pairs(self.structural) + if set(structural) != {"grain_boundary_layer_role", "tandem_light_direction", "junction_incoherent"}: + raise ValueError("structural input default catalog is incomplete") + if not isinstance(structural["grain_boundary_layer_role"], str) or not structural["grain_boundary_layer_role"].strip(): + raise ValueError("grain-boundary default requires an explicit layer role") + if structural["tandem_light_direction"] != "top_first" or type(structural["junction_incoherent"]) is not bool: + raise ValueError("unsupported tandem structural defaults") + object.__setattr__(self, "structural", tuple(sorted(structural.items()))) + if self.defect_model != "effective_lifetime" or self.defect_schema_version is not None: + raise ValueError("undeclared microscopic defects cannot be default-enabled") + degeneracy = normalize_quantity(self.defect_degeneracy, "1") + if degeneracy <= 0 or self.distribution_width_convention != "not_applicable": + raise ValueError("invalid single-level default metadata") + object.__setattr__(self, "defect_degeneracy", degeneracy) + evidence = tuple(self.evidence) + if not evidence or any(not isinstance(pair, tuple) or len(pair) != 2 + or not isinstance(pair[0], str) or not pair[0] + or not isinstance(pair[1], str) or re.fullmatch(r"[0-9a-f]{64}", pair[1]) is None for pair in evidence): + raise ValueError("default catalog requires source evidence identities") + if len({name for name, _ in evidence}) != len(evidence): + raise ValueError("duplicate default source identity") + object.__setattr__(self, "evidence", tuple(sorted(evidence))) + + def to_mapping(self) -> dict[str, Any]: + return {"schema": "solarlab.default-catalog.v1", + **{name: dict(getattr(self, name)) for name in ("material", "device", "scaps", "interface", "constants", "contacts", "structural")}, + "defect_model": self.defect_model, "defect_schema_version": self.defect_schema_version, + "defect_degeneracy": self.defect_degeneracy, + "distribution_width_convention": self.distribution_width_convention, + "evidence": [list(pair) for pair in self.evidence], + **({"complex_defaults": {name: dict(values) for name, values in self.complex_defaults}} if self.complex_defaults else {}), + **({"experiment_defaults": {name: dict(values) for name, values in self.experiment_defaults}} if self.experiment_defaults else {})} + + @classmethod + def from_mapping(cls, data: dict[str, Any]) -> DefaultCatalog: + expected = {"schema", "material", "device", "scaps", "interface", "constants", "contacts", "structural", "defect_model", + "defect_schema_version", "defect_degeneracy", "distribution_width_convention", "evidence"} + if not isinstance(data, dict) or set(data) - {"complex_defaults", "experiment_defaults"} != expected or data["schema"] != "solarlab.default-catalog.v1": + raise ValueError("invalid default catalog schema/keys") + if any(not isinstance(data[name], dict) for name in ("material", "device", "scaps", "interface", "constants", "contacts", "structural")): + raise ValueError("catalog sections require explicit mappings") + complex_values = data.get("complex_defaults", {}) + if not isinstance(complex_values, dict) or any(not isinstance(value, dict) for value in complex_values.values()): + raise ValueError("complex defaults require named model mappings") + experiment_values = data.get("experiment_defaults", {}) + if not isinstance(experiment_values, dict) or any(not isinstance(value, dict) for value in experiment_values.values()): + raise ValueError("experiment defaults require named mappings") + return cls(material=tuple(data["material"].items()), device=tuple(data["device"].items()), + scaps=tuple(data["scaps"].items()), interface=tuple(data["interface"].items()), + constants=tuple(data["constants"].items()), contacts=tuple(data["contacts"].items()), + structural=tuple(data["structural"].items()), defect_model=data["defect_model"], + defect_schema_version=data["defect_schema_version"], defect_degeneracy=data["defect_degeneracy"], + distribution_width_convention=data["distribution_width_convention"], + evidence=tuple(tuple(pair) for pair in data["evidence"]), + complex_defaults=tuple((name, tuple(values.items())) for name, values in complex_values.items()), + experiment_defaults=tuple((name, tuple(values.items())) for name, values in experiment_values.items())) + + @property + def content_sha256(self) -> str: + # Effective values are part of identity, not merely their input hash. + return hashlib.sha256(json.dumps(self.to_mapping(), sort_keys=True, separators=(",", ":"), allow_nan=False).encode()).hexdigest() + + def model_defaults(self, name: str) -> dict[str, Scalar]: + for model, values in self.complex_defaults: + if model == name: + return dict(values) + raise ValueError(f"missing supplied complex model defaults: {name}") + + def experiment_defaults_for(self, name: str) -> dict[str, Scalar]: + for experiment, values in self.experiment_defaults: + if experiment == name: + return dict(values) + raise ValueError(f"experiment defaults not supplied: {name}") diff --git a/src/solarlab/device/defects.py b/src/solarlab/device/defects.py new file mode 100644 index 00000000..42140bd3 --- /dev/null +++ b/src/solarlab/device/defects.py @@ -0,0 +1,265 @@ +"""Typed defect inventories and preparation protocols, without a closure. + +Density is per physical defect, integrated over energy. State populations, +quadrature, capture rates and stationary configurations are not evaluated here. +The two metastable documents describe preparation; they are not solved states. +""" + +from __future__ import annotations + +import math +from typing import Annotated, Any, Literal + +from pydantic import Field, field_validator, model_validator + +from solarlab.materials.full_parameters import Nonempty, StableId, StructuredInput, quantity_field as q +from solarlab.materials.parameters import QuantityInput +from solarlab.units import normalize_quantity + +MULTIVALENT_VERSION = "solarlab-explicit-bulk-defects-v4" +METASTABLE_VERSION = "solarlab-metastable-bulk-defects-v1" +SHA256 = Annotated[str, Field(pattern=r"^[0-9a-f]{64}$")] + + +def _number(value: object, unit: str = "1") -> float: + return normalize_quantity(value, unit) + + +def _gap(value: object) -> float: + gap = _number(value, "eV") + if gap <= 0: + raise ValueError("defect requires a positive band gap") + return gap + + +class KineticsInput(StructuredInput): + sigma_n_m2: QuantityInput = q("m^2", required=True) + sigma_p_m2: QuantityInput = q("m^2", required=True) + thermal_velocity_n_m_s: QuantityInput = q("m/s", positive=True, required=True) + thermal_velocity_p_m_s: QuantityInput = q("m/s", positive=True, required=True) + + +class LegacyBulkTrapInput(StructuredInput): + distribution: Literal["single_level", "gaussian"] + total_density_m3: QuantityInput = q("m^-3", positive=True, required=True) + center_eV_above_vb: QuantityInput = q("eV", required=True) + energy_sigma_eV: QuantityInput | None = q("eV", positive=True) + sigma_n_m2: QuantityInput = q("m^2", positive=True, required=True) + sigma_p_m2: QuantityInput = q("m^2", positive=True, required=True) + thermal_velocity_m_s: QuantityInput = q("m/s", positive=True, required=True) + charge_transition: Literal["acceptor", "donor"] + + @model_validator(mode="after") + def _width(self) -> LegacyBulkTrapInput: + if self.distribution == "single_level" and "energy_sigma_eV" in self.model_fields_set: + raise ValueError("single_level forbids energy_sigma_eV") + if self.distribution == "gaussian" and self.energy_sigma_eV is None: + raise ValueError("Gaussian requires positive energy_sigma_eV") + return self + + def resolved_data(self, band_gap_eV: object) -> dict[str, Any]: + data = self.normalized_data() + gap = _gap(band_gap_eV) + if data["center_eV_above_vb"] > gap: + raise ValueError("bulk_trap_distribution center lies outside the band gap") + return {**data, "band_gap_eV": gap, "density_normalization": "integrated_total", + "density_unit": "m^-3", "continuous_density_unit": "m^-3/eV", + "energy_reference": "above_valence_band"} + + +class MultivalentEnergyInput(StructuredInput): + first_transition_eV_above_vb: QuantityInput = q("eV", required=True) + correlation_energies_eV: tuple[QuantityInput, ...] = Field(json_schema_extra={"item_unit": "eV"}) + energy_reference: Literal["above_valence_band"] + + @field_validator("correlation_energies_eV") + @classmethod + def _correlations(cls, values: tuple[QuantityInput, ...]) -> tuple[QuantityInput, ...]: + for value in values: + _number(value, "eV") # Signed correlations are allowed. + return values + + @property + def transition_energies_eV(self) -> tuple[float, ...]: + values = [_number(self.first_transition_eV_above_vb, "eV")] + # Preserve the declared left-to-right correlation convention, including + # its scalar rounding, rather than replacing it with a final sum. + for correlation in self.correlation_energies_eV: + values.append(values[-1] + _number(correlation, "eV")) + if not all(math.isfinite(value) for value in values): + raise ValueError("nonfinite cumulative transition energy") + return tuple(values) + + def normalized_data(self) -> dict[str, Any]: + return {**super().normalized_data(), + "correlation_energies_eV": [_number(value, "eV") for value in self.correlation_energies_eV]} + + +class MultivalentConfigurationInput(StructuredInput): + family: Literal["single_donor", "single_acceptor", "double_donor", "double_acceptor", "amphoteric", "custom_multilevel"] + charge_states_e: tuple[int, ...] + degeneracy_convention: Literal["scaps_binomial", "unity", "explicit"] + state_degeneracies: tuple[QuantityInput, ...] = Field(json_schema_extra={"item_unit": "1", "item_positive": True}) + energy_levels: MultivalentEnergyInput + transition_kinetics: tuple[KineticsInput, ...] + + @model_validator(mode="after") + def _transitions(self) -> MultivalentConfigurationInput: + charges = self.charge_states_e + if not 2 <= len(charges) <= 5 or any(type(value) is not int or not -3 <= value <= 3 for value in charges): + raise ValueError("multivalent charge states require 2-5 integers in [-3,3]") + if any(right != left - 1 for left, right in zip(charges, charges[1:])): + raise ValueError("multivalent charge states must descend by one") + named = {"single_donor": (1, 0), "single_acceptor": (0, -1), + "double_donor": (2, 1, 0), "double_acceptor": (0, -1, -2), "amphoteric": (1, 0, -1)} + if self.family in named and charges != named[self.family]: + raise ValueError("named family and charge states disagree") + degeneracies = tuple(_number(value) for value in self.state_degeneracies) + if len(degeneracies) != len(charges) or any(value <= 0 for value in degeneracies): + raise ValueError("require one positive degeneracy per state") + if self.degeneracy_convention == "unity" and any(value != 1 for value in degeneracies): + raise ValueError("unity requires all state degeneracies equal to 1") + if self.degeneracy_convention == "scaps_binomial" and degeneracies != tuple(math.comb(len(charges) - 1, i) for i in range(len(charges))): + raise ValueError("scaps_binomial requires binomial state degeneracies") + if len(self.energy_levels.transition_energies_eV) != len(charges) - 1 or len(self.transition_kinetics) != len(charges) - 1: + raise ValueError("one energy and kinetics record is required per transition") + if any(_number(kinetics.sigma_n_m2, "m^2") == 0 and _number(kinetics.sigma_p_m2, "m^2") == 0 for kinetics in self.transition_kinetics): + raise ValueError("each transition requires at least one nonzero capture leg") + return self + + def normalized_data(self) -> dict[str, Any]: + return {**super().normalized_data(), "state_degeneracies": [_number(value) for value in self.state_degeneracies]} + + def resolved_data(self, band_gap_eV: object) -> dict[str, Any]: + data = self.normalized_data() + gap = _gap(band_gap_eV) + levels = self.energy_levels.transition_energies_eV + tolerance = 16.0 * math.ulp(max(gap, *map(abs, levels), 1.0)) + if any(value < -tolerance or value > gap + tolerance for value in levels): + raise ValueError("multivalent transition energy lies outside the band gap") + return {**data, "transition_energies_eV_above_vb": list(levels)} + + +class MultivalentDefectInput(StructuredInput): + id: StableId + name: Nonempty + total_density_m3: QuantityInput = q("m^-3", positive=True, required=True) + configuration: MultivalentConfigurationInput + + def resolved_data(self, band_gap_eV: object) -> dict[str, Any]: + return {**self.normalized_data(), "configuration": self.configuration.resolved_data(band_gap_eV)} + + +class MetastableConversionInput(StructuredInput): + transition_energy_eV_above_vb: QuantityInput = q("eV", required=True) + electron_capture_activation_eV: QuantityInput = q("eV", required=True) + electron_emission_activation_eV: QuantityInput = q("eV", required=True) + hole_capture_activation_eV: QuantityInput = q("eV", required=True) + hole_emission_activation_eV: QuantityInput = q("eV", required=True) + electron_capture_path: Literal["double_electron_capture", "electron_capture_plus_hole_emission"] + hole_capture_path: Literal["double_hole_capture", "hole_capture_plus_electron_emission"] + capture_n_m3_s: QuantityInput = q("m^3/s", positive=True, required=True) + capture_p_m3_s: QuantityInput = q("m^3/s", positive=True, required=True) + phonon_frequency_Hz: QuantityInput = q("Hz", positive=True, required=True) + + def validate_gap(self, band_gap_eV: object) -> None: + data = self.normalized_data() + gap = _gap(band_gap_eV) + transition = data["transition_energy_eV_above_vb"] + if transition > gap: + raise ValueError("metastable conversion energy lies outside the band gap") + ec, hc = data["electron_capture_activation_eV"], data["hole_capture_activation_eV"] + ee = ec + 2 * (gap - transition) if self.electron_capture_path == "double_electron_capture" else ec + gap - 2 * transition + he = hc + 2 * transition if self.hole_capture_path == "double_hole_capture" else hc + 2 * transition - gap + actual_ee, actual_he = data["electron_emission_activation_eV"], data["hole_emission_activation_eV"] + if not all(math.isfinite(value) for value in (ee, he)): + raise ValueError("nonfinite detailed-balance barrier") + tolerance = 64 * math.ulp(max(gap, transition, abs(ee), abs(he), actual_ee, actual_he, 1.0)) + if abs(actual_ee - ee) > tolerance or abs(actual_he - he) > tolerance: + raise ValueError("metastable activation barriers violate detailed balance") + + +class MetastableDefectInput(StructuredInput): + id: StableId + name: Nonempty + total_density_m3: QuantityInput = q("m^-3", positive=True, required=True) + donor_configuration: MultivalentConfigurationInput + acceptor_configuration: MultivalentConfigurationInput + donor_conversion_state_index: int = Field(ge=0) + acceptor_conversion_state_index: int = Field(ge=0) + conversion_kinetics: MetastableConversionInput + + @model_validator(mode="after") + def _conversion(self) -> MetastableDefectInput: + donor, acceptor = self.donor_configuration.charge_states_e, self.acceptor_configuration.charge_states_e + i, j = self.donor_conversion_state_index, self.acceptor_conversion_state_index + if i >= len(donor) or j >= len(acceptor): + raise ValueError("metastable conversion state index outside configuration") + if donor[i] - acceptor[j] != 2: + raise ValueError("metastable conversion states must differ by exactly two charges") + return self + + def resolved_data(self, band_gap_eV: object) -> dict[str, Any]: + self.conversion_kinetics.validate_gap(band_gap_eV) + return {**self.normalized_data(), + "donor_configuration": self.donor_configuration.resolved_data(band_gap_eV), + "acceptor_configuration": self.acceptor_configuration.resolved_data(band_gap_eV)} + + +class MetastableDocumentInput(StructuredInput): + schema_version: Literal["solarlab-metastable-bulk-defects-v1"] + defect_model: Literal["explicit_metastable_frozen"] + metastable_defects: tuple[MetastableDefectInput, ...] + + @model_validator(mode="after") + def _inventory(self) -> MetastableDocumentInput: + ids = [item.id for item in self.metastable_defects] + if not ids or len(set(ids)) != len(ids): + raise ValueError("metastable inventory requires nonempty unique stable IDs") + return self + + def resolved_data(self, band_gap_eV: object) -> dict[str, Any]: + return {**self.normalized_data(), "metastable_defects": [item.resolved_data(band_gap_eV) for item in self.metastable_defects]} + + +class MetastableNumericsInput(StructuredInput): + initial_donor_fraction_guess: QuantityInput = q("1", required=True) + max_iterations: int = Field(gt=0) + relative_tolerance: QuantityInput = q("1", positive=True, required=True) + clamping_factor: QuantityInput = q("1", positive=True, required=True) + final_unclamped_refinement: Literal[True] + + @field_validator("final_unclamped_refinement", mode="before") + @classmethod + def _true(cls, value: object) -> object: + if value is not True: + raise ValueError("final_unclamped_refinement requires the boolean true") + return value + + @model_validator(mode="after") + def _bounds(self) -> MetastableNumericsInput: + if _number(self.initial_donor_fraction_guess) > 1 or _number(self.clamping_factor) > 1: + raise ValueError("fraction guess and clamping factor must not exceed 1") + return self + + +class MetastablePreparationInput(StructuredInput): + schema_version: Literal["solarlab-metastable-preparation-v1"] + preparation_limit: Literal["stationary_infinite_time"] + preparation_temperature_K: QuantityInput = q("K", positive=True, required=True) + preparation_voltage_V: QuantityInput = q("V", signed=True, required=True) + preparation_illumination_suns: QuantityInput = q("1", required=True) + voltage_continuation_steps: int = Field(ge=0) + illumination_continuation_steps: int = Field(ge=0) + measurement_temperature_K: QuantityInput = q("K", positive=True, required=True) + configuration_freeze_stage: Literal["after_stationary_preparation_before_measurement"] + freeze_configuration_during_measurement: Literal[True] + measurement_protocol_sha256: SHA256 + numerics: MetastableNumericsInput + + @field_validator("freeze_configuration_during_measurement", mode="before") + @classmethod + def _freeze(cls, value: object) -> object: + if value is not True: + raise ValueError("metastable v1 requires a frozen measurement") + return value diff --git a/src/solarlab/device/grain_2d.py b/src/solarlab/device/grain_2d.py new file mode 100644 index 00000000..75cebc4b --- /dev/null +++ b/src/solarlab/device/grain_2d.py @@ -0,0 +1,172 @@ +"""Neutral finite-width grain SRH on the historical 2D control volumes. + +A partial cell mixes *rates*, not lifetimes: R += f (R_grain - R_bulk_SRH). +The identical fraction multiplies both exact density partials. Grain row +ownership is LEFT_LAYER_WINS; the physical coefficients remain right-owned. +No surface rate, trap charge, extra state or mobility law is introduced. +""" + +from __future__ import annotations + +from dataclasses import dataclass, field +import hashlib +import json +import math + +import numpy as np +from numpy.typing import NDArray + +from solarlab.contracts import frozen_array +from solarlab.device.inputs import GrainBoundaryInput +from solarlab.device.resolved import PreparedDevice +from solarlab.experiments.two_dimensional.inputs import JV2DInput +from solarlab.mesh.geometry_2d import RectangularGeometry2D +from solarlab.mesh.grid import LEFT_LAYER_WINS, node_owner +from solarlab.physics.recombination.bulk import RecombinationRate, lifetime_srh_recombination +from solarlab.physics.recombination.reaction import ( + BulkRecombinationCoefficients, BulkRecombinationEvaluation, RecombinationDomainError, +) +from solarlab.units import normalize_quantity + +GRAIN_SRH_2D_V1 = "neutral_grain_fractional_lifetime_srh_left_layer_2d_v1" + + +def grain_declarations(prepared: PreparedDevice, spatial: JV2DInput) -> tuple[GrainBoundaryInput, ...]: + """Resolve the existing inherit/explicit-clear contract and reject ambiguity. + + Omitted, null and {} inherit the device inventory; an explicitly supplied + grain_boundaries array overrides it, including the empty array. layer_ids + are the selectors; source_layer_role is retained import provenance only. + """ + override = spatial.microstructure + grains = (override.grain_boundaries if override is not None and override.editing_data() + else prepared.to_input().grain_boundaries) + if not grains: + return () + if spatial.lateral_bc != "neumann" or spatial.lateral_length is None: + raise ValueError("grain regions require explicit Neumann lateral geometry") + length = normalize_quantity(spatial.lateral_length, "m") + layer_ids = {layer.id for layer in prepared.layers if layer.role != "substrate"} + seen: set[str] = set() + bands: list[tuple[float, float, set[str]]] = [] + for grain in grains: + if grain.id in seen: + raise ValueError("duplicate grain-boundary ID: " + grain.id) + seen.add(grain.id) + owners = set(grain.layer_ids) + if not owners or len(owners) != len(grain.layer_ids) or not owners <= layer_ids: + raise ValueError("grain regions require unique existing electrical layer_ids") + x, width, tau_n, tau_p = (normalize_quantity(getattr(grain, name), unit) + for name, unit in (("x_position", "m"), ("width", "m"), + ("tau_n", "s"), ("tau_p", "s"))) + if not all(math.isfinite(value) for value in (x, width, tau_n, tau_p)) or min(width, tau_n, tau_p) <= 0: + raise ValueError("grain width and lifetimes must be finite and positive") + lo, hi = x - width / 2, x + width / 2 + if lo < 0 or hi > length or hi <= lo: + raise ValueError("grain band must lie wholly inside the lateral domain; no clipping") + if any(owners & other and min(hi, b) > max(lo, a) for a, b, other in bands): + raise ValueError("overlapping grain bands in the same electrical layer are unsupported") + bands.append((lo, hi, owners)) + return tuple(grains) + + +@dataclass(frozen=True) +class GrainRegion2D: + declaration: GrainBoundaryInput + x_overlap_fraction: NDArray[np.float64] + y_mask: NDArray[np.bool_] + fractions: NDArray[np.float64] + represented_width_m: float + represented_height_m: float + represented_area_m2: float + + def __post_init__(self) -> None: + for name in ("x_overlap_fraction", "fractions"): + values = frozen_array(getattr(self, name)) + if np.any(values < 0) or np.any(values > 1): + raise ValueError("grain control-volume fractions must lie in [0,1]") + object.__setattr__(self, name, values) + mask = np.asarray(self.y_mask, dtype=bool) + object.__setattr__(self, "y_mask", np.frombuffer(mask.tobytes(), dtype=bool).reshape(mask.shape)) + if not np.array_equal(self.fractions, (mask[:, None] * self.x_overlap_fraction[None, :]).ravel()): + raise ValueError("grain fractions disagree with their declared row and lateral ownership") + + +@dataclass(frozen=True) +class GrainRecombination2D: + regions: tuple[GrainRegion2D, ...] + geometry_sha256: str + effective_origin: str + model_id: str = field(init=False) + + def __post_init__(self) -> None: + digest = hashlib.sha256(json.dumps((GRAIN_SRH_2D_V1, self.geometry_sha256, self.effective_origin, + [region.declaration.normalized_data() for region in self.regions]), sort_keys=True, + separators=(",", ":"), allow_nan=False).encode()) + for region in self.regions: + digest.update(region.fractions.astype(" RecombinationRate: + """Correct only SRH; densities, ni², n1 and p1 stay physical node values.""" + if not self.regions: + return evaluation.total + if evaluation.explicit is not None or not np.all(evaluation.lifetime_nodes): + raise ValueError("grain SRH requires lifetime bulk recombination, not explicit defects") + evaluation.require_domain() + result = np.array(evaluation.total.rate, copy=True) + dn = None if not evaluation.total.has_derivatives else np.array(evaluation.total.d_rate_dn, copy=True) + dp = None if not evaluation.total.has_derivatives else np.array(evaluation.total.d_rate_dp, copy=True) + for region in self.regions: + if region.fractions.shape != result.shape: + raise ValueError("grain binding and reaction node sets differ") + selected = region.fractions > 0 + f = region.fractions[selected] + grain = lifetime_srh_recombination( + evaluation.electron_density_m3[selected], evaluation.hole_density_m3[selected], + coefficients.ni_sq_m6[selected], normalize_quantity(region.declaration.tau_n, "s"), + normalize_quantity(region.declaration.tau_p, "s"), coefficients.n1_m3[selected], + coefficients.p1_m3[selected], derivatives=dn is not None) + result[selected] += f * (grain.rate - evaluation.srh.rate[selected]) + if dn is not None and dp is not None: + assert grain.d_rate_dn is not None and grain.d_rate_dp is not None + assert evaluation.srh.d_rate_dn is not None and evaluation.srh.d_rate_dp is not None + dn[selected] += f * (grain.d_rate_dn - evaluation.srh.d_rate_dn[selected]) + dp[selected] += f * (grain.d_rate_dp - evaluation.srh.d_rate_dp[selected]) + for value in (result, dn, dp): + if value is not None: + if not np.all(np.isfinite(value)): + raise RecombinationDomainError("grain SRH rate or exact density partial is nonfinite") + value.setflags(write=False) + return RecombinationRate(result, dn, dp) + + +def bind_grain_regions_2d(prepared: PreparedDevice, spatial: JV2DInput, + geometry: RectangularGeometry2D) -> GrainRecombination2D | None: + """Bind physical band intersections to the actual half-endpoint areas.""" + grains = grain_declarations(prepared, spatial) + if not grains: + return None + if geometry.x_m[0] != 0 or geometry.lateral_length_m != normalize_quantity(spatial.lateral_length, "m"): + raise ValueError("grain declarations and actual lateral domain differ") + electrical = tuple(layer for layer in prepared.layers if layer.role != "substrate") + owners = node_owner(geometry.y_geometry.nodes_m, [layer.thickness for layer in electrical], LEFT_LAYER_WINS) + x = geometry.x_m + bounds = np.r_[x[0], .5 * (x[:-1] + x[1:]), x[-1]] + regions = [] + for grain in grains: + center, width = normalize_quantity(grain.x_position, "m"), normalize_quantity(grain.width, "m") + overlap = np.maximum(0.0, np.minimum(bounds[1:], center + width / 2) + - np.maximum(bounds[:-1], center - width / 2)) + fractions_x = overlap / np.diff(bounds) + rows = np.isin(owners, [i for i, layer in enumerate(electrical) if layer.id in grain.layer_ids]) + fractions = (rows[:, None] * fractions_x[None, :]).ravel() + if not np.any(fractions): + raise ValueError("declared grain has no represented control-volume area") + regions.append(GrainRegion2D(grain, fractions_x, rows, fractions, + float(fractions_x @ geometry.x_widths_m), float(np.sum(geometry.y_geometry.cell_measures_m[rows])), + float(fractions @ geometry.contract_geometry.volumes))) + override = spatial.microstructure + origin = "experiment.microstructure" if override is not None and override.editing_data() else "device.grain_boundaries" + return GrainRecombination2D(tuple(regions), geometry.sha256, origin) diff --git a/src/solarlab/device/inputs.py b/src/solarlab/device/inputs.py new file mode 100644 index 00000000..055ae47b --- /dev/null +++ b/src/solarlab/device/inputs.py @@ -0,0 +1,232 @@ +"""Explicit editable preparation schemas, separate from the old wire inputs.""" + +from __future__ import annotations + +from typing import Literal + +from pydantic import Field, field_validator, model_validator + +from solarlab.config.legacy_fields import LegacyDeviceFieldsInput +from solarlab.experiments.jv.declarations import JVSweepHintsInput +from solarlab.materials.full_parameters import FullParameterInput, Nonempty, StableId, StructuredInput, quantity_field as q +from solarlab.materials.parameters import QuantityInput +from solarlab.device.settings import DeviceSettingsInput +from solarlab.device.defects import ( + KineticsInput, LegacyBulkTrapInput, MetastableDocumentInput, + MetastablePreparationInput, MultivalentDefectInput, +) +from solarlab.device.tunnelling import TunnellingInput +from solarlab.materials.optics import CigsOpticsInput + + +class DistributionInput(StructuredInput): + kind: Literal["single_level", "gaussian", "uniform", "conduction_band_tail", "valence_band_tail"] + normalization: Literal["integrated_total"] + total_density_m3: QuantityInput = q("m^-3", positive=True, required=True) + center_eV_above_vb: QuantityInput | None = q("eV", nullable=True) + width_eV: QuantityInput | None = q("eV", positive=True, nullable=True) + width_convention: Literal["not_applicable", "gaussian_standard_deviation", "scaps_characteristic_energy", "uniform_full_width", "unresolved"] | None = None + energy_reference: Literal["above_valence_band"] | None = None + support_width_multiplier: QuantityInput | None = q("1", positive=True, nullable=True) + + @model_validator(mode="after") + def _distribution(self) -> DistributionInput: + if self.kind == "single_level": + if self.width_eV is not None or self.support_width_multiplier is not None or self.width_convention not in {None, "not_applicable"}: + raise ValueError("single_level cannot carry width or support fields") + elif self.kind == "uniform": + if self.width_eV is None or self.width_convention != "uniform_full_width" or self.support_width_multiplier is not None: + raise ValueError("uniform requires a complete full width and no support multiplier") + elif self.kind in {"conduction_band_tail", "valence_band_tail"}: + if self.width_eV is None or self.width_convention != "scaps_characteristic_energy" or self.support_width_multiplier is None: + raise ValueError("band tail requires characteristic width and finite support multiplier") + elif self.width_convention == "unresolved": + if self.width_eV is not None or self.support_width_multiplier is not None: + raise ValueError("unresolved Gaussian cannot carry resolved width or support") + elif self.width_eV is None or self.width_convention not in {"gaussian_standard_deviation", "scaps_characteristic_energy"}: + raise ValueError("Gaussian requires an explicit width convention or unresolved metadata") + return self + + +class EnergyLevelInput(StructuredInput): + reference: Literal["below_conduction_band", "above_valence_band"] + value_eV: QuantityInput = q("eV", required=True) + + +class SpatialKnotInput(StructuredInput): + position_fraction: QuantityInput = q("1", required=True) + density_multiplier: QuantityInput = q("1", required=True) + + +class SpatialProfileInput(StructuredInput): + coordinate: Literal["normalized_layer_coordinate"] + interpolation: Literal["piecewise_linear"] + density_normalization: Literal["layer_average_unity"] + knots: tuple[SpatialKnotInput, ...] + + +class BulkDefectInput(StructuredInput): + id: StableId + name: Nonempty | None = None + distribution: DistributionInput + charge_transition: Literal["neutral", "acceptor", "donor", "unresolved"] + neutral_reference: Literal["all_occupancies", "empty", "filled", "unresolved"] + kinetics: KineticsInput + degeneracy: QuantityInput = q("1", positive=True, required=True) + spatial_profile: SpatialProfileInput | None = None + energy_level: EnergyLevelInput | None = None + + @model_validator(mode="after") + def _charge_reference(self) -> BulkDefectInput: + expected = {"neutral": "all_occupancies", "acceptor": "empty", "donor": "filled", "unresolved": "unresolved"} + if self.neutral_reference != expected[self.charge_transition]: + raise ValueError("defect charge transition and neutral reference disagree") + if (self.energy_level is None) == (self.distribution.center_eV_above_vb is None): + raise ValueError("declare exactly one defect energy authority: center or referenced energy_level") + return self + + +class ScapsDefectMetadataInput(StructuredInput): + """Preserved partner metadata; a Gaussian note is not a qualified closure.""" + distribution: Literal["single", "gaussian"] + E_char_eV: QuantityInput | None = q("eV", positive=True, nullable=True) + N_peak_m3: QuantityInput | None = q("m^-3", nullable=True) + energy_reference: Literal["below_conduction_band", "above_valence_band"] + trap_depth_eV: QuantityInput = q("eV", required=True) + defect_id: StableId + + +class InterfaceDefectInput(StructuredInput): + id: StableId + trap_depth_eV: QuantityInput = q("eV", required=True) + energy_reference: Literal["below_conduction_band", "above_valence_band"] + total_density_m2: QuantityInput = q("m^-2", required=True) + kinetics: KineticsInput + calibration_factor: QuantityInput = q("1", required=True) + iface_state_calibration_factor: QuantityInput = q("1", required=True) + partner_metadata: ScapsDefectMetadataInput | None = None + + +class InterfaceInput(StructuredInput): + id: StableId + left: StableId + right: StableId + v_n: QuantityInput | None = q("m/s", nullable=True) + v_p: QuantityInput | None = q("m/s", nullable=True) + defect: InterfaceDefectInput | None = None + + +class ContactInput(StructuredInput): + id: StableId + side: Literal["left", "right"] + layer: StableId + S_n: QuantityInput | None = q("m/s", nullable=True) + S_p: QuantityInput | None = q("m/s", nullable=True) + + +class GrainBoundaryInput(StructuredInput): + id: StableId + layer_ids: tuple[StableId, ...] + x_position: QuantityInput = q("m", required=True) + width: QuantityInput = q("m", positive=True, required=True) + tau_n: QuantityInput = q("s", positive=True, required=True) + tau_p: QuantityInput = q("s", positive=True, required=True) + source_layer_role: str | None = None + + +class GridLayerInput(StructuredInput): + layer: StableId + interval_weight: QuantityInput = q("1", positive=True, required=True) + alpha: QuantityInput = q("1", positive=True, required=True) + + +class FullLayerInput(StructuredInput): + parameterization: Literal["standard", "scaps"] = "standard" + id: StableId + name: Nonempty + role: Nonempty + thickness: QuantityInput = q("m", positive=True, required=True) + material: StableId | None = None + parameters: FullParameterInput = Field(default_factory=FullParameterInput) + defect_schema_version: str | None = None + defect_model: Literal["effective_lifetime", "explicit_quasi_steady"] | None = None + bulk_defects: tuple[BulkDefectInput | MultivalentDefectInput, ...] = () + scaps_defect_metadata: tuple[ScapsDefectMetadataInput, ...] = () + bulk_trap_distribution: LegacyBulkTrapInput | None = None + cigs_graded_optics: CigsOpticsInput | None = None + metastable_document: MetastableDocumentInput | None = None + metastable_preparation: MetastablePreparationInput | None = None + + +class NamedMaterialInput(StructuredInput): + id: StableId + name: Nonempty + parameters: FullParameterInput + cigs_graded_optics: CigsOpticsInput | None = None + + +class SimulationHintsInput(StructuredInput): + min_N_grid: int | None = Field(default=None, gt=0) + notes: str | None = None + jv_sweep: JVSweepHintsInput | None = None + + +class DeviceInput(StructuredInput): + schema_version: Literal["solarlab.device-preparation.v1"] + id: StableId + name: str | None = None + description: str | None = None + source_schema_version: str | int | None = None + source_format: Literal["standard", "scaps", "canonical"] + legacy_fields: LegacyDeviceFieldsInput | None = None + settings: DeviceSettingsInput = Field(default_factory=DeviceSettingsInput) + materials: tuple[NamedMaterialInput, ...] = () + layers: tuple[FullLayerInput, ...] + interfaces: tuple[InterfaceInput, ...] = () + contacts: tuple[ContactInput, ...] = () + grain_boundaries: tuple[GrainBoundaryInput, ...] = () + electrical_grid: tuple[GridLayerInput, ...] = () + simulation_hints: SimulationHintsInput | None = None + spectrum: str | None = None + fixed_generation: str | None = None + tunnelling_channels: TunnellingInput | None = None + + +class OpticalLayerInput(StructuredInput): + id: StableId + name: Nonempty + thickness: QuantityInput = q("m", positive=True, required=True) + optical_material: Nonempty + incoherent: bool + + +class BenchmarkInput(StructuredInput): + reference: Nonempty + target_pce_fraction: QuantityInput = q("1", required=True) + target_jsc_A_m2: QuantityInput = q("A/m^2", required=True) + target_voc_V: QuantityInput = q("V", required=True) + target_ff_fraction: QuantityInput = q("1", required=True) + tolerance_fraction: QuantityInput = q("1", required=True) + + +class TandemInput(StructuredInput): + schema_version: Literal["solarlab.tandem-preparation.v1"] + id: StableId + source_schema_version: Literal[1] + device_type: Literal["tandem_2T_monolithic"] + top_cell: DeviceInput + bottom_cell: DeviceInput + top_cell_reference: Nonempty + bottom_cell_reference: Nonempty + junction_model: Literal["ideal_ohmic"] + light_direction: Literal["top_first"] + junction_stack: tuple[OpticalLayerInput, ...] + back_reflector: OpticalLayerInput | None = None + benchmark: BenchmarkInput | None = None + + @field_validator("source_schema_version", mode="before") + @classmethod + def _version(cls, value: object) -> object: + if type(value) is not int: + raise ValueError("tandem schema version must be the integer 1") + return value diff --git a/src/solarlab/device/layer.py b/src/solarlab/device/layer.py new file mode 100644 index 00000000..cf8a9087 --- /dev/null +++ b/src/solarlab/device/layer.py @@ -0,0 +1,110 @@ +"""Immutable resolved data for the explicitly supported scalar-template slice.""" + +from __future__ import annotations + +from collections.abc import Mapping +from dataclasses import dataclass, field +import hashlib +import json +import re +from types import MappingProxyType + +from solarlab.materials.library import validated_parameters +from solarlab.materials.parameters import LayerValuesInput, Scalar, parameter_units +from solarlab.units import UNIT_SCHEMA_VERSION + +__all__ = ["ResolvedLayer", "ResolvedMaterial", "ValueOrigin"] + + +@dataclass(frozen=True, slots=True) +class ValueOrigin: + parameter: str + kind: str + source_id: str + + def __post_init__(self) -> None: + if self.kind not in {"template", "override"}: + raise ValueError("origin kind must be template or override") + if any(not isinstance(value, str) or not value.strip() for value in (self.parameter, self.source_id)): + raise ValueError("origin requires parameter and source ID") + + +@dataclass(frozen=True, slots=True) +class ResolvedMaterial: + template_id: str + parameters: tuple[tuple[str, Scalar], ...] + + def __post_init__(self) -> None: + if not isinstance(self.template_id, str) or not self.template_id: + raise ValueError("material template_id must be nonempty") + items = validated_parameters(self.parameters) + if {name for name, _ in items} & {"thickness", "N_A", "N_D"}: + raise ValueError("thickness and doping belong to the layer, not the material") + expected = set(LayerValuesInput.model_fields) - {"thickness", "N_A", "N_D"} + if {name for name, _ in items} != expected: + raise ValueError("material scalar parameters are incomplete") + object.__setattr__(self, "parameters", items) + + @property + def values(self) -> Mapping[str, Scalar]: + return MappingProxyType(dict(self.parameters)) + + +@dataclass(frozen=True, slots=True) +class ResolvedLayer: + id: str + name: str + role: str + thickness: float + N_A: float + N_D: float + material: ResolvedMaterial + source_id: str + source_sha256: str + library_content_sha256: str + origins: tuple[ValueOrigin, ...] + units: tuple[tuple[str, str], ...] = field(default_factory=parameter_units, init=False) + unit_schema: str = field(default=UNIT_SCHEMA_VERSION, init=False) + + def __post_init__(self) -> None: + if not isinstance(self.id, str) or re.fullmatch(r"[A-Za-z_][A-Za-z0-9_.:-]*", self.id) is None: + raise ValueError("layer requires a stable ID") + for name in ("name", "role", "source_id"): + if not isinstance(getattr(self, name), str) or not getattr(self, name).strip(): + raise ValueError(f"layer.{name} must be nonempty") + for digest in (self.source_sha256, self.library_content_sha256): + if not isinstance(digest, str) or re.fullmatch(r"[0-9a-f]{64}", digest) is None: + raise ValueError("layer source identities must be SHA-256 digests") + if not isinstance(self.material, ResolvedMaterial): + raise ValueError("layer requires a resolved material") + values = dict(LayerValuesInput.model_validate({ + "thickness": self.thickness, "N_A": self.N_A, "N_D": self.N_D, + }).normalized_items()) + for name, value in values.items(): + object.__setattr__(self, name, value) + origins = tuple(self.origins) + if any(not isinstance(origin, ValueOrigin) for origin in origins): + raise ValueError("layer requires validated value origins") + names = [origin.parameter for origin in origins] + if len(set(names)) != len(names) or set(names) != set(LayerValuesInput.model_fields): + raise ValueError("each resolved field requires exactly one origin") + object.__setattr__(self, "origins", tuple(sorted(origins, key=lambda item: item.parameter))) + + def to_mapping(self) -> dict[str, object]: + """Return a detached representation; never expose a mutable backing map.""" + return { + "schema": "solarlab.resolved-scalar-layer.v1", "unit_schema": self.unit_schema, + "id": self.id, "name": self.name, "role": self.role, + "thickness": self.thickness, "N_A": self.N_A, "N_D": self.N_D, + "material": {"template_id": self.material.template_id, "parameters": dict(self.material.parameters)}, + "units": dict(self.units), "source_id": self.source_id, + "source_sha256": self.source_sha256, "library_content_sha256": self.library_content_sha256, + "origins": [{"parameter": item.parameter, "kind": item.kind, "source_id": item.source_id} for item in self.origins], + } + + @property + def content_sha256(self) -> str: + """Resolved document identity, not the later versioned physics hash.""" + return hashlib.sha256(json.dumps( + self.to_mapping(), sort_keys=True, separators=(",", ":"), allow_nan=False, + ).encode()).hexdigest() diff --git a/src/solarlab/device/neutral_defects.py b/src/solarlab/device/neutral_defects.py new file mode 100644 index 00000000..95db0c75 --- /dev/null +++ b/src/solarlab/device/neutral_defects.py @@ -0,0 +1,109 @@ +"""Bind validated neutral single-level inventories to the existing DEF-1 law.""" + +from __future__ import annotations + +from collections.abc import Sequence +from dataclasses import replace +import hashlib +import json + +import numpy as np + +from solarlab.device.resolved import PreparedDefect, PreparedLayer +from solarlab.equations.dc_1d import CapabilityError +from solarlab.physics.recombination.explicit_neutral import ( + NeutralDefectSpecies, NeutralExplicitDefectModel, compile_neutral_defect_species, +) + +LITERAL_ABOVE_VB_DOS_REFERENCE_V1 = "neutral_literal_above_vb_dos_reference_v1" + + +def _literal_band_edge_references( + species: NeutralDefectSpecies, conduction_dos_m3: np.ndarray, valence_dos_m3: np.ndarray, +) -> NeutralDefectSpecies: + """Convert DEF1's intrinsic reference while retaining the literal document. + + Ei-Ev = Eg/2 + VT/2*log(Nv/Nc). Thus n1 needs sqrt(Nc/Nv) + and p1 its reciprocal. The original species and arithmetic are returned + unchanged when physical DOS are equal on every owned node. + """ + changed = species.active_nodes & (conduction_dos_m3 != valence_dos_m3) + if not np.any(changed): + return species + n1, p1 = np.array(species.n1_m3, copy=True), np.array(species.p1_m3, copy=True) + with np.errstate(over="ignore", under="ignore", divide="ignore", invalid="ignore"): + # Separate square roots avoid overflowing Nc/Nv before its square root. + factor = np.sqrt(conduction_dos_m3[changed]) / np.sqrt(valence_dos_m3[changed]) + n1[changed] *= factor + p1[changed] /= factor + if any(not np.all(np.isfinite(value[changed])) or np.any(value[changed] <= 0.0) + for value in (n1, p1)): + raise ValueError("literal above-VB reference densities must be finite and representable positive values") + return replace(species, n1_m3=n1, p1_m3=p1) + + +def bind_neutral_defects( + layers: Sequence[PreparedLayer], masks: Sequence[np.ndarray], *, + ni_sq_m6: np.ndarray, band_gap_eV: np.ndarray, thermal_voltage_V: float, + conduction_dos_m3: np.ndarray, valence_dos_m3: np.ndarray, +) -> NeutralExplicitDefectModel | None: + """Preserve declared species order, resolved documents and supplied ownership. + + Masks are the compiler's RIGHT_LAYER_WINS masks. Capture lifetimes and + the SRH rate use the unchanged historical law. Its reference + populations receive the physical DOS correction for a literal energy above + the valence band; equal-DOS nodes keep the exact historical arithmetic. + """ + if len(layers) != len(masks): + raise ValueError("one node ownership mask is required per electrical layer") + species: list[NeutralDefectSpecies] = [] + documents: list[tuple[str, str]] = [] + for layer, mask in zip(layers, masks): + if not layer.defects: + continue + where = f"layers.{layer.id}.bulk_defects" + if layer.defect_model != "explicit_quasi_steady": + raise CapabilityError(f"{where}: an explicit inventory requires explicit_quasi_steady") + if any(not isinstance(item, PreparedDefect) for item in layer.defects): + raise CapabilityError(f"{where}: multivalent defects are not bound") + if any(value.shape != ni_sq_m6.shape or not np.all(np.isfinite(value[mask])) + or np.any(value[mask] <= 0.0) for value in (conduction_dos_m3, valence_dos_m3)): + raise CapabilityError( + f"{where}: literal defect energies require finite positive physical DOS on owned nodes" + ) + resolved = [item.to_mapping() for item in layer.defects] + document = {"schema_version": layer.defect_schema_version, + "defect_model": layer.defect_model, "bulk_defects": resolved} + digest = hashlib.sha256(json.dumps(document, sort_keys=True, separators=(",", ":"), + allow_nan=False).encode()).hexdigest() + documents.append((layer.id, digest)) + for item in resolved: + identifier = f"{layer.id}/{item['id']}" + distribution, kinetics = item["distribution"], item["kinetics"] + if item["charge_transition"] != "neutral" or item["neutral_reference"] != "all_occupancies": + raise CapabilityError(f"{where}.{item['id']}: charged defects are not bound") + if distribution["kind"] != "single_level" or item.get("spatial_profile") is not None: + raise CapabilityError(f"{where}.{item['id']}: distributed defects are not bound") + if item["degeneracy"] != 1.0: + raise CapabilityError(f"{where}.{item['id']}: neutral DEF-1 requires unit degeneracy") + center = distribution["center_eV_above_vb"] + if center < 0.0 or np.any(center > band_gap_eV[mask]): + raise CapabilityError(f"{where}.{item['id']}: resolved level lies outside the physical gap") + try: + compiled = compile_neutral_defect_species( + identifier=identifier, document_sha256=digest, active_nodes=mask, + ni_sq_m6=ni_sq_m6, band_gap_eV=band_gap_eV, thermal_voltage_V=thermal_voltage_V, + total_density_m3=distribution["total_density_m3"], center_eV_above_vb=center, + sigma_n_m2=kinetics["sigma_n_m2"], sigma_p_m2=kinetics["sigma_p_m2"], + thermal_velocity_n_m_s=kinetics["thermal_velocity_n_m_s"], + thermal_velocity_p_m_s=kinetics["thermal_velocity_p_m_s"], + charge_transition=item["charge_transition"], distribution=distribution["kind"], + degeneracy=item["degeneracy"], + ) + species.append(_literal_band_edge_references(compiled, conduction_dos_m3, valence_dos_m3)) + except ValueError as error: + raise CapabilityError(f"{where}.{item['id']}: {error}") from error + if not species: + return None + owned = np.logical_or.reduce([item.active_nodes for item in species]) + return NeutralExplicitDefectModel(tuple(species), owned, tuple(documents)) diff --git a/src/solarlab/device/optical_generation.py b/src/solarlab/device/optical_generation.py new file mode 100644 index 00000000..4f7c947a --- /dev/null +++ b/src/solarlab/device/optical_generation.py @@ -0,0 +1,105 @@ +"""Bind explicit coherent spectral optics to the physical 1D control volumes.""" + +from __future__ import annotations + +from dataclasses import dataclass +from typing import cast + +import numpy as np + +from solarlab.device.resolved import PreparedDevice +from solarlab.equations.dc_1d import CapabilityError +from solarlab.physics.generation.optical_binding import ( + OpticalLayerSpec, OpticalStackBinding, PhotonBudget, constant_index_optical_constants, +) +from solarlab.physics.generation.profile import ControlVolumes, GenerationProfile +from solarlab.physics.generation.spectrum import SpectralPhotonFlux, sample_nk_table + +OPTICAL_BINDING_1D_V1 = "prepared_coherent_spectral_tmm_1d_v1" +PHOTON_BUDGET_RTOL = 1e-12 + + +@dataclass(frozen=True) +class OpticalGeneration1D: + binding: OpticalStackBinding + profile: GenerationProfile + budget: PhotonBudget + + +def bind_optical_generation_1d( + prepared: PreparedDevice, control_volumes: ControlVolumes, +) -> OpticalGeneration1D: + """Use the complete supplied spectrum; no inferred illumination or scaling. + + The first binding is coherent, normal/front incidence between unit-index + media. Each layer supplies a named n-k resource or explicit constant n and + alpha. Optical-only front layers retain absorption but generate no carriers. + Resource wavelengths are stored in metres; interpolation retains the + existing kernel's nanometre axis and metre wavelength quadrature. + """ + data = prepared.to_mapping() + name = data["declaration"].get("spectrum") + if name is None: + raise CapabilityError("optical_generation_1d requires an explicit spectrum resource") + if data["declaration"].get("fixed_generation") is not None: + raise CapabilityError("optical_generation_1d: spectrum and fixed_generation are mutually exclusive") + if data["settings"]["graded_optics"]: + raise CapabilityError("optical_generation_1d: graded optics is not bound") + table = prepared.resources.get(name, "spectrum") + if table.units != ("m", "m^-3/s"): + raise CapabilityError("optical_generation_1d requires spectral photon flux per metre, not irradiance") + wavelengths_nm = table.array[:, 0] * 1e9 + spectrum = SpectralPhotonFlux(wavelengths_nm, table.array[:, 1], table.source.id) + dependencies = { + "binding_convention": OPTICAL_BINDING_1D_V1, + "prepared_device_sha256": prepared.content_sha256, + "spectrum_resource_sha256": table.content_sha256, + "temperature_K": str(data["settings"]["T"]), + "monochromatic_Phi_policy": "not_used_absolute_spectrum", + } + specs = [] + for layer in prepared.layers: + parameters = dict(layer.parameters) + if parameters["incoherent"]: + raise CapabilityError(f"optical_generation_1d: {layer.id} is incoherent; this slice is coherent") + if layer.cigs_graded_optics_json is not None: + raise CapabilityError(f"optical_generation_1d: {layer.id} has unsupported graded optics") + optical = layer.optical + if optical is not None: + if parameters["n_optical"] is not None: + raise CapabilityError(f"optical_generation_1d: {layer.id} must select a table or constant index, not both") + native = optical.array + try: + n, k = sample_nk_table(native[:, 0] * 1e9, native[:, 1], native[:, 2], + wavelengths_nm, material=optical.name) + except ValueError as error: + raise CapabilityError(f"optical_generation_1d: {layer.id}: {error}") from error + dependencies["nk_resource:" + layer.id] = optical.content_sha256 + else: + if parameters["n_optical"] is None: + raise CapabilityError(f"optical_generation_1d: {layer.id} needs explicit n_optical or an n-k resource") + n, k = constant_index_optical_constants( + wavelengths_nm, absorption_coefficient_m1=cast(float, parameters["alpha"]), + refractive_index=cast(float, parameters["n_optical"]), + ) + specs.append(OpticalLayerSpec(layer.id, layer.thickness, n, k, + incoherent=False, electrical=layer.role != "substrate")) + binding = OpticalStackBinding(tuple(specs), spectrum, ambient_index=1.0, exit_index=1.0, + incidence="front", dependencies=tuple(dependencies.items())) + try: + profile = binding.generation_profile(control_volumes) + budget = binding.photon_budget() + except ValueError as error: + raise CapabilityError("optical_generation_1d: " + str(error)) from error + for value in (profile.source_m3_s, profile.absorbed_m2_s, budget.reflectance, + budget.transmittance, budget.layer_absorptance, budget.dropped_multipass): + if not np.all(np.isfinite(value)) or np.any(value < 0.0): + raise CapabilityError("optical_generation_1d: generation and photon fractions must be finite and nonnegative") + if np.max(np.abs(budget.spectral_closure_residual())) > PHOTON_BUDGET_RTOL: + raise CapabilityError("optical_generation_1d: spectral photon accounting does not close") + tolerance = PHOTON_BUDGET_RTOL * budget.incident_m2_s + weighted_source = float(np.sum(profile.source_m3_s * control_volumes.cell_measures_m)) + if (abs(profile.areal_generation_m2_s - budget.electrical_absorbed_m2_s) > tolerance + or abs(weighted_source - budget.electrical_absorbed_m2_s) > tolerance): + raise CapabilityError("optical_generation_1d: physical control volumes do not close the electrical photon budget") + return OpticalGeneration1D(binding, profile, budget) diff --git a/src/solarlab/device/optical_generation_2d.py b/src/solarlab/device/optical_generation_2d.py new file mode 100644 index 00000000..ec631e83 --- /dev/null +++ b/src/solarlab/device/optical_generation_2d.py @@ -0,0 +1,105 @@ +"""Laterally uniform spectral optics on the actual2D half-endpoint cells. + +The existing coherent1D TMM binding is evaluated on the y control volumes, +then extruded along x as in the legacy2D model. There is no lateral optical +propagation or density-dependent radiative recycling in this source. Optical +prefix absorption stays parasitic; the complete supplied spectrum is absolute. +""" + +from __future__ import annotations + +from dataclasses import dataclass, field +import hashlib +import json + +import numpy as np + +from solarlab.contracts import frozen_array +from solarlab.contracts.units import ELEMENTARY_CHARGE_C as Q +from solarlab.device.optical_generation import ( + PHOTON_BUDGET_RTOL, OpticalGeneration1D, bind_optical_generation_1d, +) +from solarlab.device.resolved import PreparedDevice +from solarlab.mesh.geometry_2d import RECTANGULAR_HALF_ENDPOINT_2D_V1, RectangularGeometry2D +from solarlab.physics.generation.profile import StaleGenerationProfileError + +OPTICAL_BINDING_2D_V1 = "uniform_lateral_coherent_front_tmm_half_cells_2d_v1" + + +@dataclass(frozen=True) +class OpticalGeneration2D: + """Fixed volumetric source and cell photons per unit out-of-plane depth. + + source_m3_s is flattened (Ny,Nx), x fastest, in particles/(m3*s). + cell_generation_per_depth_m_s is photons/(m depth*s). The y profile + already uses half-height contact cells; no endpoint factor is added here. + """ + + prepared_sha256: str + geometry: RectangularGeometry2D + optical_y: OpticalGeneration1D + source_m3_s: np.ndarray = field(init=False) + cell_generation_per_depth_m_s: np.ndarray = field(init=False) + identity_sha256: str = field(init=False) + + def __post_init__(self) -> None: + if not isinstance(self.geometry, RectangularGeometry2D) or self.geometry.name != RECTANGULAR_HALF_ENDPOINT_2D_V1: + raise ValueError("optical2D requires the explicit nonperiodic half-endpoint geometry") + if not isinstance(self.optical_y, OpticalGeneration1D): + raise TypeError("optical2D requires the actual existing1D optical binding") + if not self.prepared_sha256: + raise ValueError("optical2D requires the exact prepared source identity") + geometry, optical = self.geometry, self.optical_y + profile, budget = optical.profile, optical.budget + profile.require_inputs(optical.binding.sha256, geometry.y_geometry) + source: np.ndarray = np.repeat(profile.source_m3_s, geometry.nx) + photons = np.repeat(profile.absorbed_m2_s, geometry.nx) * np.tile(geometry.x_widths_m, geometry.ny) + if source.shape != (geometry.node_count,) or not np.all(np.isfinite(source)) or np.any(source < 0.0): + raise ValueError("optical2D source must be finite and nonnegative on every cell") + assembled = source * geometry.contract_geometry.volumes + if not np.allclose(assembled, photons, rtol=PHOTON_BUDGET_RTOL, atol=0.0): + raise ValueError("optical2D cell source does not preserve each absorbed photon count") + expected = budget.electrical_absorbed_m2_s * geometry.lateral_length_m + tolerance = PHOTON_BUDGET_RTOL * budget.incident_m2_s * geometry.lateral_length_m + if abs(float(np.sum(assembled)) - expected) > tolerance or abs(float(np.sum(photons)) - expected) > tolerance: + raise ValueError("optical2D per-depth source does not close the electrical photon budget") + object.__setattr__(self, "source_m3_s", frozen_array(source)) + object.__setattr__(self, "cell_generation_per_depth_m_s", frozen_array(photons)) + identity = (OPTICAL_BINDING_2D_V1, self.prepared_sha256, geometry.sha256, + optical.binding.sha256, profile.control_volume_sha256) + object.__setattr__(self, "identity_sha256", hashlib.sha256( + json.dumps(identity, separators=(",", ":")).encode()).hexdigest()) + + @property + def particle_generation_per_depth_m_s(self) -> float: + """Actual integrated continuity source, particles/(m depth*s).""" + return float(np.sum(self.source_m3_s * self.geometry.contract_geometry.volumes)) + + @property + def generation_current_limit_A_m(self) -> float: + return Q * self.particle_generation_per_depth_m_s + + @property + def generation_current_limit_A_m2(self) -> float: + return self.generation_current_limit_A_m / self.geometry.lateral_length_m + + def require_inputs(self, prepared: PreparedDevice, geometry: RectangularGeometry2D) -> None: + """Admission is source/mesh equality; it never reruns optics or Newton.""" + if prepared.content_sha256 != self.prepared_sha256: + raise StaleGenerationProfileError("optical2D source was computed from a different prepared device") + if geometry.sha256 != self.geometry.sha256: + raise StaleGenerationProfileError("optical2D source was computed on different2D control volumes") + self.optical_y.profile.require_inputs(self.optical_y.binding.sha256, geometry.y_geometry) + + +def bind_optical_generation_2d(prepared: PreparedDevice, geometry: RectangularGeometry2D) -> OpticalGeneration2D: + """Reuse coherent normal/front1D optics, on the physical y half cells. + + The1D binding preserves its spectrum/resource, n-k support, optical prefix, + grading/incoherent refusals and original1e-12 photon accounting checks. + This function constructs a2D source; it does not admit an electronic model. + """ + if not isinstance(prepared, PreparedDevice) or not isinstance(geometry, RectangularGeometry2D): + raise TypeError("optical2D requires PreparedDevice and RectangularGeometry2D") + optical = bind_optical_generation_1d(prepared, geometry.y_geometry) + return OpticalGeneration2D(prepared.content_sha256, geometry, optical) diff --git a/src/solarlab/device/resolved.py b/src/solarlab/device/resolved.py new file mode 100644 index 00000000..0497dbb4 --- /dev/null +++ b/src/solarlab/device/resolved.py @@ -0,0 +1,807 @@ +"""Immutable resolved declaration data, with no solver or file-loader dependency. + +The authoritative constructor inputs are a validated editing document, an +injected data catalog and supplied resources. Derived children cannot be passed +to or replaced on PreparedDevice: editing the input reconstructs them all. +""" + +from __future__ import annotations + +from dataclasses import dataclass, field +from decimal import Decimal +import hashlib +import json +import math +import re +from types import MappingProxyType +from typing import Any, Mapping + +from solarlab.config.legacy_fields import ( + INLINE_LOADER_BINDING, JV_HINT_CONSUMER_BINDINGS, STANDARD_LOADER_BINDING, + retained_legacy_fields, +) +from solarlab.device.defaults import DefaultCatalog +from solarlab.device.defects import ( + MULTIVALENT_VERSION, METASTABLE_VERSION, LegacyBulkTrapInput, + MetastableDocumentInput, MetastablePreparationInput, MultivalentDefectInput, +) +from solarlab.device.inputs import ( + BulkDefectInput, DeviceInput, FullLayerInput, InterfaceInput, SpatialProfileInput, + TandemInput, +) +from solarlab.device.settings import DeviceSettingsInput +from solarlab.device.tunnelling import CHANNEL_TYPES, validate_resolved_tunnelling +from solarlab.materials.full_parameters import FullParameterInput, LAYER_OWNED_PARAMETERS, full_parameter_items +from solarlab.materials.optics import CigsOpticsInput +from solarlab.materials.parameters import Scalar +from solarlab.materials.resources import ResourceLibrary, ResourceTable +from solarlab.materials.source import SourceDocument +from solarlab.units import UNIT_SCHEMA_VERSION, normalize_quantity + +__all__ = ["PreparedMaterial", "PreparedLayer", "PreparedDefect", "PreparedMultivalentDefect", "PreparedInterface", "PreparedDevice", "PreparedTandem"] + + +def _encode(value: Any) -> bytes: + return json.dumps(value, sort_keys=True, separators=(",", ":"), allow_nan=False).encode() + + +def _decode(value: bytes) -> Any: + if type(value) is not bytes or not value or len(value) > 2**23: + raise ValueError("declaration requires bounded immutable JSON bytes") + def pairs(items: list[tuple[str, Any]]) -> dict[str, Any]: + if len({name for name, _ in items}) != len(items): + raise ValueError("duplicate JSON declaration key") + return dict(items) + return json.loads(value, object_pairs_hook=pairs) + + +def _readonly(value: Any) -> Any: + if isinstance(value, dict): + return MappingProxyType({name: _readonly(item) for name, item in value.items()}) + if isinstance(value, list): + return tuple(_readonly(item) for item in value) + return value + + +def _identifier(value: str) -> None: + if not isinstance(value, str) or re.fullmatch(r"[A-Za-z_][A-Za-z0-9_.:-]*", value) is None: + raise ValueError("invalid stable declaration ID") + + +@dataclass(frozen=True, slots=True) +class PreparedDefect: + input_json: bytes + band_gap_eV: float + _values_json: bytes = field(init=False, repr=False) + + def __post_init__(self) -> None: + gap = normalize_quantity(self.band_gap_eV, "eV") + if gap <= 0: + raise ValueError("explicit defect requires a positive band gap") + model = BulkDefectInput.model_validate(_decode(self.input_json)) + data = model.normalized_data() + distribution = data["distribution"] + energy = data.get("energy_level") + if energy is not None: + value = energy["value_eV"] + center = float(Decimal(str(gap)) - Decimal(str(value))) if energy["reference"] == "below_conduction_band" else value + distribution["center_eV_above_vb"] = center + center = distribution["center_eV_above_vb"] + if center is None or not 0 <= center <= gap: + raise ValueError(f"defect {data['id']}: energy lies outside the layer gap") + width, multiplier = distribution.get("width_eV"), distribution.get("support_width_multiplier") + support = None + if distribution["kind"] == "uniform": + support = (center - 0.5 * width, center + 0.5 * width) + elif distribution["kind"] == "gaussian" and width is not None and multiplier is not None: + half_width = 0.5 * multiplier * width + support = (center - half_width, center + half_width) + elif distribution["kind"] == "conduction_band_tail": + support = (center - multiplier * width, center) + elif distribution["kind"] == "valence_band_tail": + support = (center, center + multiplier * width) + if support is not None: + if not all(math.isfinite(value) for value in support): + raise ValueError(f"defect {data['id']}: nonfinite distribution support") + roundoff = 16.0 * math.ulp(max(gap, abs(support[0]), abs(support[1]), 1.0)) + if support[0] < -roundoff or support[1] > gap + roundoff: + raise ValueError(f"defect {data['id']}: distribution support lies outside the layer gap") + profile = data.get("spatial_profile") + if profile is not None: + SpatialProfileInput.model_validate(profile) + knots = profile["knots"] + if len(knots) < 2 or knots[0]["position_fraction"] != 0 or knots[-1]["position_fraction"] != 1: + raise ValueError("spatial defect knots must span normalized [0,1]") + segments = [] + for left, right in zip(knots, knots[1:]): + width = right["position_fraction"] - left["position_fraction"] + if width <= 0: + raise ValueError("spatial defect knots must be strictly increasing") + segments.append(0.5 * (left["density_multiplier"] + right["density_multiplier"]) * width) + integral = math.fsum(segments) + if not math.isclose(integral, 1.0, rel_tol=0.0, abs_tol=1e-12): + raise ValueError("spatial defect density must have layer-average unity") + object.__setattr__(self, "band_gap_eV", gap) + object.__setattr__(self, "input_json", _encode(model.editing_data())) + object.__setattr__(self, "_values_json", _encode(data)) + + @property + def values(self) -> Mapping[str, Any]: + return _readonly(_decode(self._values_json)) + + def to_mapping(self) -> dict[str, Any]: + return _decode(self._values_json) + + +@dataclass(frozen=True, slots=True) +class PreparedMultivalentDefect: + input_json: bytes + band_gap_eV: float + _values_json: bytes = field(init=False, repr=False) + can_execute: bool = field(default=False, init=False) + + def __post_init__(self) -> None: + model = MultivalentDefectInput.model_validate(_decode(self.input_json)) + gap = normalize_quantity(self.band_gap_eV, "eV") + data = model.resolved_data(gap) + object.__setattr__(self, "band_gap_eV", gap) + object.__setattr__(self, "input_json", _encode(model.editing_data())) + object.__setattr__(self, "_values_json", _encode(data)) + + @property + def values(self) -> Mapping[str, Any]: + return _readonly(_decode(self._values_json)) + + def to_mapping(self) -> dict[str, Any]: + return _decode(self._values_json) + + +def _cigs_data(document: bytes | None) -> dict[str, Any] | None: + if document is None: + return None + model = CigsOpticsInput.model_validate(_decode(document)) + if model.model_fields_set != set(CigsOpticsInput.model_fields): + raise ValueError("resolved CIGS declaration requires all effective controls") + return model.normalized_data() + + +@dataclass(frozen=True, slots=True) +class PreparedMaterial: + id: str + parameters: tuple[tuple[str, Scalar], ...] + optical: ResourceTable | None + cigs_graded_optics_json: bytes | None = None + cigs_source_binding: tuple[str, str] | None = None + + def __post_init__(self) -> None: + _identifier(self.id) + parameters = full_parameter_items(tuple(self.parameters)) + if {name for name, _ in parameters} != set(FullParameterInput.model_fields) - LAYER_OWNED_PARAMETERS: + raise ValueError("material parameters must exclude layer doping and defect/lifetime fields") + optical_name = dict(parameters)["optical_material"] + if optical_name is None: + if self.optical is not None: + raise ValueError("unselected optical resource cannot be bound to material") + elif not isinstance(self.optical, ResourceTable) or self.optical.name != optical_name or self.optical.kind != "nk": + raise ValueError("material optical name and supplied n-k resource do not match") + cigs = _cigs_data(self.cigs_graded_optics_json) + if cigs is not None: + if optical_name is not None or dict(parameters)["n_optical"] is not None: + raise ValueError("cigs_graded_optics conflicts with optical_material or n_optical") + binding = self.cigs_source_binding + if not isinstance(binding, tuple) or len(binding) != 2 or not isinstance(binding[0], str) or not binding[0] or not isinstance(binding[1], str) or re.fullmatch(r"[0-9a-f]{64}", binding[1]) is None: + raise ValueError("CIGS requires a supplied model-source identity") + object.__setattr__(self, "cigs_graded_optics_json", _encode(cigs)) + elif self.cigs_source_binding is not None: + raise ValueError("unselected CIGS model cannot retain a source binding") + object.__setattr__(self, "parameters", parameters) + + @property + def values(self) -> Mapping[str, Scalar]: + return MappingProxyType(dict(self.parameters)) + + @property + def content_sha256(self) -> str: + base = (self.id, self.parameters, self.optical.content_sha256 if self.optical else None) + extra = () if self.cigs_graded_optics_json is None else (_decode(self.cigs_graded_optics_json), self.cigs_source_binding) + return hashlib.sha256(_encode((*base, *extra))).hexdigest() + + @property + def cigs_graded_optics(self) -> Mapping[str, Any] | None: + return _readonly(_cigs_data(self.cigs_graded_optics_json)) + + +@dataclass(frozen=True, slots=True) +class PreparedLayer: + id: str + name: str + role: str + thickness: float + parameters: tuple[tuple[str, Scalar], ...] + field_origins: tuple[tuple[str, str], ...] + defects: tuple[PreparedDefect | PreparedMultivalentDefect, ...] + defect_model: str + defect_schema_version: str | None + material_name: str | None + optical: ResourceTable | None + bulk_trap_distribution_json: bytes | None = None + cigs_graded_optics_json: bytes | None = None + cigs_source_binding: tuple[str, str] | None = None + metastable_document_json: bytes | None = None + metastable_preparation_json: bytes | None = None + material: PreparedMaterial = field(init=False) + + def __post_init__(self) -> None: + _identifier(self.id) + if any(not isinstance(value, str) or not value for value in (self.name, self.role)): + raise ValueError("layer name and role must be nonempty") + thickness = normalize_quantity(self.thickness, "m") + if thickness <= 0: + raise ValueError("layer thickness must be positive") + parameters = full_parameter_items(tuple(self.parameters), complete=True) + origins = tuple(self.field_origins) + if len(origins) != len(parameters) or {name for name, _ in origins} != {name for name, _ in parameters} or any(not isinstance(origin, str) or not origin for _, origin in origins): + raise ValueError("every resolved parameter requires an explicit origin") + defects = tuple(self.defects) + if any(not isinstance(defect, (PreparedDefect, PreparedMultivalentDefect)) for defect in defects) or len({defect.values["id"] for defect in defects}) != len(defects): + raise ValueError("layer defects require unique validated IDs") + if self.defect_model not in {"effective_lifetime", "explicit_quasi_steady", "explicit_metastable_frozen"}: + raise ValueError("unsupported declared defect model") + values = dict(parameters) + if self.metastable_document_json is not None: + if defects or self.bulk_trap_distribution_json is not None or self.defect_schema_version != METASTABLE_VERSION or self.defect_model != "explicit_metastable_frozen": + raise ValueError("metastable inventory is exclusive with other defect inventories") + document = MetastableDocumentInput.model_validate(_decode(self.metastable_document_json)) + document.resolved_data(values["Eg"]) + object.__setattr__(self, "metastable_document_json", _encode(document.editing_data())) + else: + if self.defect_model == "explicit_metastable_frozen" or self.metastable_preparation_json is not None: + raise ValueError("metastable mode/protocol requires a metastable document") + _validate_defect_version(self.id, self.defect_schema_version, defects, self.defect_model) + if self.metastable_preparation_json is not None: + protocol = MetastablePreparationInput.model_validate(_decode(self.metastable_preparation_json)) + object.__setattr__(self, "metastable_preparation_json", _encode(protocol.editing_data())) + if self.bulk_trap_distribution_json is not None: + if defects or self.defect_model != "effective_lifetime": + raise ValueError("bulk_trap_distribution is exclusive with explicit defect inventories") + trap = LegacyBulkTrapInput.model_validate(_decode(self.bulk_trap_distribution_json)) + trap.resolved_data(values["Eg"]) + object.__setattr__(self, "bulk_trap_distribution_json", _encode(trap.editing_data())) + if (self.defect_model != "effective_lifetime" or self.bulk_trap_distribution_json is not None) and (values["carrier_statistics"] != "maxwell_boltzmann" or values["dopant_ionization_model"] != "fully_ionized" or values["band_gap_narrowing_model"] != "off"): + raise ValueError("unavailable explicit-defect/statistics/ionization/BGN combination") + if any(defect.band_gap_eV != dict(parameters)["Eg"] for defect in defects): + raise ValueError("defect energy binding does not match its layer gap") + object.__setattr__(self, "thickness", thickness) + object.__setattr__(self, "parameters", parameters) + object.__setattr__(self, "field_origins", tuple(sorted(origins))) + object.__setattr__(self, "defects", defects) + object.__setattr__(self, "material", PreparedMaterial(self.material_name or self.id + ":material", + tuple((name, value) for name, value in parameters if name not in LAYER_OWNED_PARAMETERS), self.optical, + self.cigs_graded_optics_json, self.cigs_source_binding)) + + @property + def bulk_trap_distribution(self) -> Mapping[str, Any] | None: + if self.bulk_trap_distribution_json is None: + return None + return _readonly(LegacyBulkTrapInput.model_validate(_decode(self.bulk_trap_distribution_json)).resolved_data(dict(self.parameters)["Eg"])) + + @property + def metastable_document(self) -> Mapping[str, Any] | None: + if self.metastable_document_json is None: + return None + return _readonly(MetastableDocumentInput.model_validate(_decode(self.metastable_document_json)).resolved_data(dict(self.parameters)["Eg"])) + + @property + def local_parameters(self) -> Mapping[str, Scalar]: + return MappingProxyType({name: value for name, value in self.parameters if name in LAYER_OWNED_PARAMETERS}) + + def to_mapping(self) -> dict[str, Any]: + values = dict(self.parameters) + data = {"id": self.id, "name": self.name, "role": self.role, "thickness_m": self.thickness, + "material_id": self.material.id, "material_sha256": self.material.content_sha256, + "material_parameters": dict(self.material.parameters), "layer_parameters": dict(self.local_parameters), + "defect_model": self.defect_model, "defect_schema_version": self.defect_schema_version, + "bulk_defects": [defect.to_mapping() for defect in self.defects], + "provenance": [{"parameter": name, "effective_value": values[name], "origin": origin} for name, origin in self.field_origins]} + if self.bulk_trap_distribution_json is not None: + data["bulk_trap_distribution"] = LegacyBulkTrapInput.model_validate(_decode(self.bulk_trap_distribution_json)).resolved_data(values["Eg"]) + if self.cigs_graded_optics_json is not None: + data["cigs_graded_optics"] = _cigs_data(self.cigs_graded_optics_json) + data["cigs_model_source"] = self.cigs_source_binding + if self.metastable_document_json is not None: + data["metastable_document"] = MetastableDocumentInput.model_validate(_decode(self.metastable_document_json)).resolved_data(values["Eg"]) + data["metastable_preparation"] = (MetastablePreparationInput.model_validate(_decode(self.metastable_preparation_json)).normalized_data() + if self.metastable_preparation_json is not None else None) + data["metastable_state"] = None + return data + + +@dataclass(frozen=True, slots=True) +class PreparedInterface: + input_json: bytes + adjacent_gaps_eV: tuple[float, float] + electrical: bool + _values_json: bytes = field(init=False, repr=False) + + def __post_init__(self) -> None: + model = InterfaceInput.model_validate(_decode(self.input_json)) + gaps = tuple(normalize_quantity(value, "eV") for value in self.adjacent_gaps_eV) + if len(gaps) != 2 or any(value < 0 for value in gaps) or type(self.electrical) is not bool: + raise ValueError("interface requires two adjacent band gaps and explicit ownership") + data = model.normalized_data() + if (data.get("v_n") is None) != (data.get("v_p") is None): + raise ValueError("bare interface velocities must be declared or cleared together") + defect = data.get("defect") + if defect is not None: + if not self.electrical: + raise ValueError("microscopic electrical defects cannot belong to an optical-only interface") + gap = min(gaps) + depth = defect["trap_depth_eV"] + if not 0 <= depth <= gap: + raise ValueError("interface defect energy lies outside the adjacent reference gap") + kinetics = defect["kinetics"] + capture = tuple(kinetics[f"sigma_{carrier}_m2"] * kinetics[f"thermal_velocity_{carrier}_m_s"] * defect["total_density_m2"] for carrier in ("n", "p")) + if any(not math.isfinite(value) for value in capture): + raise ValueError("microscopic interface capture is not finite") + data["microscopic_capture_velocities_m_s"] = capture + data["reference_gap_eV"] = gap + object.__setattr__(self, "adjacent_gaps_eV", gaps) + object.__setattr__(self, "input_json", _encode(model.editing_data())) + object.__setattr__(self, "_values_json", _encode(data)) + + @property + def values(self) -> Mapping[str, Any]: + return _readonly(_decode(self._values_json)) + + def to_mapping(self) -> dict[str, Any]: + return {**_decode(self._values_json), "electrical": self.electrical} + + +def _scaps_derived(values: dict[str, Any], defects: tuple[PreparedDefect, ...], defaults: DefaultCatalog) -> dict[str, Any]: + """Data conversion at the supplied reference temperature; no equilibrium solve.""" + constants: dict[str, Any] = dict(defaults.constants) + voltage = constants["K_B"] * constants["T"] / constants["Q"] + nc, nv, gap = (values[name] for name in ("Nc300", "Nv300", "Eg")) + if any(value is None or value <= 0 for value in (nc, nv, gap)): + raise ValueError("SCAPS material data require positive N_C, N_V and E_g") + ni = math.sqrt(nc * nv * math.exp(-gap / voltage)) + if not math.isfinite(ni) or ni <= 0: + raise ValueError("SCAPS DOS conversion is outside finite positive float representation") + result: dict[str, Any] = {"ni": ni, "n1": ni, "p1": ni} + if not defects: + return result + inverse_n = inverse_p = weighted_n = weighted_p = density = 0.0 + for defect in defects: + data = defect.values + kinetics, distribution = data["kinetics"], data["distribution"] + population = distribution["total_density_m3"] + energy = data.get("energy_level") + if energy is None: + raise ValueError("SCAPS defect conversion requires its referenced energy") + # Preserve the historical scalar evaluation from the declared energy; + # the rounded absolute center is separate distribution metadata. + delta = (gap / 2 - energy["value_eV"] if energy["reference"] == "below_conduction_band" + else energy["value_eV"] - gap / 2) + ratio = math.exp(delta / voltage) + n1, p1 = ni * ratio, ni / ratio + rate_n = kinetics["sigma_n_m2"] * kinetics["thermal_velocity_n_m_s"] * population + rate_p = kinetics["sigma_p_m2"] * kinetics["thermal_velocity_p_m_s"] * population + inverse_n += rate_n + inverse_p += rate_p + weighted_n += n1 * rate_n + weighted_p += p1 * rate_p + density += population + fallback = dict(defaults.scaps) + result.update(tau_n=1 / inverse_n if inverse_n > 0 else fallback["tau_n"], + tau_p=1 / inverse_p if inverse_p > 0 else fallback["tau_p"], + n1=weighted_n / inverse_n if inverse_n > 0 else 0.0, + p1=weighted_p / inverse_p if inverse_p > 0 else 0.0, + trap_N_t_bulk=density if density > 0 else None) + return result + + +def _validate_defect_version(layer_id: str, version: str | None, defects: tuple[PreparedDefect | PreparedMultivalentDefect, ...], mode: str) -> None: + if version is None: + if mode != "effective_lifetime" or defects: + raise ValueError(f"layers.{layer_id}: microscopic inventory requires a schema version") + return + if version == MULTIVALENT_VERSION: + if mode != "explicit_quasi_steady" or not defects or any(not isinstance(defect, PreparedMultivalentDefect) for defect in defects): + raise ValueError(f"layers.{layer_id}: v4 requires a nonempty multivalent explicit inventory") + return + if any(isinstance(defect, PreparedMultivalentDefect) for defect in defects): + raise ValueError(f"layers.{layer_id}: multivalent species require the v4 schema") + if version not in {"solarlab-explicit-bulk-defects-v1", "solarlab-explicit-bulk-defects-v2", "solarlab-explicit-bulk-defects-v3"}: + raise ValueError(f"layers.{layer_id}.defect_schema_version: typed preparation is unavailable for this version") + if mode == "explicit_quasi_steady" and not defects: + raise ValueError(f"layers.{layer_id}: explicit_quasi_steady requires a nonempty defect inventory") + has_profile = False + for defect in defects: + data = defect.values + distribution = data["distribution"] + profile = data.get("spatial_profile") + has_profile |= profile is not None + v1_ready = (distribution["kind"] in {"single_level", "gaussian"} + and distribution.get("energy_reference") is None + and distribution.get("support_width_multiplier") is None and profile is None) + v2_ready = (distribution.get("energy_reference") == "above_valence_band" + and (distribution["kind"] != "gaussian" or + (distribution.get("width_convention") != "unresolved" + and distribution.get("width_eV") is not None + and distribution.get("support_width_multiplier") is not None))) + named_charge = data.get("name") is not None and data["charge_transition"] != "unresolved" + where = f"layers.{layer_id}.bulk_defects.{data['id']}" + if version.endswith("-v1"): + if not v1_ready: + raise ValueError(f"{where}: v1 forbids v2 support/reference and spatial fields") + if mode == "explicit_quasi_steady" and (not named_charge or distribution["kind"] != "single_level"): + raise ValueError(f"{where}: v1 explicit mode requires named charge-resolved single levels") + elif version.endswith("-v2"): + if not v2_ready or profile is not None: + raise ValueError(f"{where}: v2 requires complete valence-referenced energy support without spatial fields") + if mode == "explicit_quasi_steady" and not named_charge: + raise ValueError(f"{where}: v2 explicit mode requires named charge-resolved species") + elif not v2_ready or not named_charge: + raise ValueError(f"{where}: v3 requires named charge-resolved species and complete energy support") + if version.endswith("-v3") and not has_profile: + raise ValueError(f"layers.{layer_id}: v3 requires at least one normalized spatial profile") + + +def _resolve_layer(layer: FullLayerInput, material: dict[str, Any], defaults: DefaultCatalog, resources: ResourceLibrary, + material_cigs: CigsOpticsInput | None = None) -> PreparedLayer: + default_values = dict(defaults.material) + origins = {name: "catalog:" + defaults.content_sha256 for name in default_values} + if layer.parameterization == "scaps": + default_values.update(defaults.scaps) + origins.update((name, "scaps_catalog:" + defaults.content_sha256) for name, _ in defaults.scaps) + default_values.update(material) + origins.update((name, "material:" + str(layer.material)) for name in material) + explicit = dict(layer.parameters.normalized_items()) + if layer.parameterization == "scaps" and set(explicit) & {"ni", "tau_n", "tau_p", "n1", "p1", "trap_N_t_bulk"}: + raise ValueError(f"layers.{layer.id}: SCAPS-derived values must be edited through DOS/defect inputs") + values: dict[str, Any] = {**default_values, **explicit} + origins.update((name, "layer_input:" + layer.id) for name in explicit) + defect_data = [item.editing_data() for item in layer.bulk_defects] + for item in defect_data: + if "distribution" in item and item["distribution"]["kind"] == "single_level": + item["distribution"].setdefault("width_convention", defaults.distribution_width_convention) + defects = tuple((PreparedMultivalentDefect if isinstance(declared, MultivalentDefectInput) else PreparedDefect)(_encode(item), values.get("Eg", 0)) + for declared, item in zip(layer.bulk_defects, defect_data)) + metadata_ids = [item.defect_id for item in layer.scaps_defect_metadata] + if len(set(metadata_ids)) != len(metadata_ids) or set(metadata_ids) - {item.values["id"] for item in defects}: + raise ValueError(f"layers.{layer.id}.scaps_defect_metadata: duplicate or unknown defect ID") + if metadata_ids and layer.parameterization != "scaps": + raise ValueError(f"layers.{layer.id}.scaps_defect_metadata: requires SCAPS parameterization") + if layer.parameterization == "scaps": + if any(isinstance(defect, PreparedMultivalentDefect) for defect in defects) or layer.metastable_document is not None or layer.bulk_trap_distribution is not None: + raise ValueError(f"layers.{layer.id}: SCAPS scalar adapter does not define complex-defect lifetime projection") + derived = _scaps_derived(values, tuple(defect for defect in defects if isinstance(defect, PreparedDefect)), defaults) + values.update(derived) + origins.update((name, "derived:scaps_dos_and_parallel_inventory") for name in derived) + if values.get("trap_N_t_interface") is not None and values.get("trap_N_t_bulk") is None: + values["trap_N_t_bulk"] = values["trap_N_t_interface"] + origins["trap_N_t_bulk"] = "derived:source_interface_profile_fallback" + mode = layer.defect_model or defaults.defect_model + if (layer.defect_model is None) != (layer.defect_schema_version is None) or (defects and layer.defect_schema_version is None): + raise ValueError(f"layers.{layer.id}: microscopic inventory/schema/model is incomplete") + version = layer.defect_schema_version + if layer.metastable_document is not None: + if version is not None or layer.defect_model is not None or defects: + raise ValueError(f"layers.{layer.id}: metastable and ordinary defect declarations are exclusive") + mode, version = layer.metastable_document.defect_model, layer.metastable_document.schema_version + cigs = layer.cigs_graded_optics if "cigs_graded_optics" in layer.model_fields_set else material_cigs + cigs_json, cigs_binding = None, None + if cigs is not None: + effective = CigsOpticsInput.model_validate({**defaults.model_defaults("cigs_graded_optics"), **cigs.normalized_data()}) + cigs_json = _encode(effective.normalized_data()) + bindings = [binding for binding in defaults.evidence if binding[0].endswith("physics/cigs_optics.py")] + if len(bindings) != 1: + raise ValueError("CIGS requires one supplied model resource/source binding") + cigs_binding = bindings[0] + optical = None if values.get("optical_material") is None else resources.get(values["optical_material"], "nk") + return PreparedLayer(layer.id, layer.name, layer.role, normalize_quantity(layer.thickness, "m"), tuple(values.items()), + tuple(origins.items()), defects, mode, version, layer.material, optical, + bulk_trap_distribution_json=_encode(layer.bulk_trap_distribution.editing_data()) if layer.bulk_trap_distribution is not None else None, + cigs_graded_optics_json=cigs_json, cigs_source_binding=cigs_binding, + metastable_document_json=_encode(layer.metastable_document.editing_data()) if layer.metastable_document is not None else None, + metastable_preparation_json=_encode(layer.metastable_preparation.editing_data()) if layer.metastable_preparation is not None else None) + + +@dataclass(frozen=True, slots=True) +class PreparedDevice: + input_json: bytes + defaults: DefaultCatalog + resources: ResourceLibrary + sources: tuple[SourceDocument, ...] = () + layers: tuple[PreparedLayer, ...] = field(init=False) + interfaces: tuple[PreparedInterface, ...] = field(init=False) + _resolved_json: bytes = field(init=False, repr=False) + can_execute: bool = field(default=False, init=False) + + def __post_init__(self) -> None: + if not isinstance(self.defaults, DefaultCatalog) or not isinstance(self.resources, ResourceLibrary): + raise ValueError("resolution requires an injected data catalog and resource library") + model = DeviceInput.model_validate(_decode(self.input_json)) + sources = tuple(self.sources) + if any(not isinstance(source, SourceDocument) for source in sources) or len({source.id for source in sources}) != len(sources): + raise ValueError("input sources require unique content-bound records") + ids = [layer.id for layer in model.layers] + if not ids or len(set(ids)) != len(ids): + raise ValueError("device requires nonempty unique layer IDs") + materials = {} + material_cigs = {} + for material in model.materials: + if material.id in materials: + raise ValueError("duplicate material ID") + values = dict(material.parameters.normalized_items()) + if set(values) & LAYER_OWNED_PARAMETERS: + raise ValueError(f"materials.{material.id}: doping and defect/lifetime parameters belong to layers") + materials[material.id] = values + material_cigs[material.id] = material.cigs_graded_optics + layers = [] + for layer in model.layers: + if layer.material is not None and layer.material not in materials: + raise ValueError(f"layers.{layer.id}.material: unknown named material") + material_values = materials.get(layer.material, {}) if layer.material is not None else {} + layers.append(_resolve_layer(layer, material_values, self.defaults, self.resources, + material_cigs.get(layer.material) if layer.material is not None else None)) + by_id = {layer.id: layer for layer in layers} + electrical = [layer for layer in layers if layer.role != "substrate"] + if not electrical: + raise ValueError("device requires at least one electrical layer") + if any(layer.role == "substrate" for layer in layers[len(layers) - len(electrical):]): + raise ValueError("optical substrates must form a front prefix") + adjacency = set(zip(ids, ids[1:])) + interfaces = [] + seen_interfaces, endpoints = set(), set() + interface_inputs = list(model.interfaces) + supplied_pairs = {(interface.left, interface.right) for interface in interface_inputs} + for left_id, right_id in zip(ids, ids[1:]): + if (left_id, right_id) not in supplied_pairs: + stable = "interface_" + hashlib.sha256(_encode((left_id, right_id))).hexdigest()[:16] + interface_inputs.append(InterfaceInput(id=stable, left=left_id, right=right_id)) + for interface in interface_inputs: + pair = (interface.left, interface.right) + if pair not in adjacency or pair in endpoints or interface.id in seen_interfaces: + raise ValueError(f"interfaces.{interface.id}: non-adjacent/reversed/duplicate interface") + endpoints.add(pair) + seen_interfaces.add(interface.id) + left, right = (by_id[name] for name in pair) + interfaces.append(PreparedInterface(_encode(interface.editing_data()), + (normalize_quantity(dict(left.parameters)["Eg"], "eV"), normalize_quantity(dict(right.parameters)["Eg"], "eV")), + left.role != "substrate" and right.role != "substrate")) + settings = DeviceSettingsInput.model_validate({**dict(self.defaults.device), **dict(model.settings.normalized_items())}) + setting_values = dict(settings.normalized_items()) + if setting_values["graded_optics"]: + if setting_values["mode"] == "legacy" or not setting_values["band_grading"]: + raise ValueError("graded_optics requires band_grading and a non-legacy declared mode") + active = [layer for layer in layers if layer.cigs_graded_optics_json is not None] + if not active: + raise ValueError("graded_optics requires a CIGS optical declaration") + for active_layer in active: + parameters = dict(active_layer.parameters) + if active_layer.role != "absorber" or (parameters["Eg_back"] is None and parameters["chi_back"] is None): + raise ValueError(f"layers.{active_layer.id}: active CIGS optics requires an absorber and an electrical grading endpoint") + tunnelling = None + if model.tunnelling_channels is not None: + tunnelling = validate_resolved_tunnelling(model.tunnelling_channels.resolved_data( + {name: self.defaults.model_defaults(name) for name in CHANNEL_TYPES})) + if setting_values["built_in_potential_mode"] == "metal_work_function" and any(setting_values[name] is None for name in ("work_function_left_eV", "work_function_right_eV")): + raise ValueError("metal_work_function requires both work functions") + if setting_values["interface_charge_closure"] == "equilibrium_referenced" and not setting_values["interface_charge_rebaseline_acknowledged"]: + raise ValueError("equilibrium-referenced interface charge requires explicit rebaseline acknowledgement") + contacts = [] + contact_defaults = dict(self.defaults.contacts) + for side, endpoint_layer in (("left", electrical[0]), ("right", electrical[-1])): + matches = [contact for contact in model.contacts if contact.side == side] + if len(matches) > 1 or (matches and matches[0].layer != endpoint_layer.id): + raise ValueError(f"contacts.{side}: require exactly one outer electrical-layer binding") + contact = matches[0].normalized_data() if matches else {"id": "contact_" + side, "side": side, "layer": endpoint_layer.id} + contacts.append({**contact, **{name: contact[name] if name in contact else contact_defaults[f"{name}_{side}"] for name in ("S_n", "S_p")}}) + if len({contact["id"] for contact in contacts}) != len(contacts): + raise ValueError("duplicate contact IDs") + grains = [grain.normalized_data() for grain in model.grain_boundaries] + if len({grain["id"] for grain in grains}) != len(grains): + raise ValueError("duplicate grain-boundary IDs") + for grain in grains: + if not grain["layer_ids"] or len(set(grain["layer_ids"])) != len(grain["layer_ids"]) or any(name not in by_id or by_id[name].role == "substrate" for name in grain["layer_ids"]): + raise ValueError("grain boundaries require existing electrical layer IDs") + if grain["x_position"] - grain["width"] / 2 < 0: + raise ValueError("grain boundary extends before the lateral origin") + for index, left_grain in enumerate(grains): + for right_grain in grains[index + 1:]: + if not set(left_grain["layer_ids"]) & set(right_grain["layer_ids"]): + continue + left_edge = max(grain["x_position"] - grain["width"] / 2 for grain in (left_grain, right_grain)) + right_edge = min(grain["x_position"] + grain["width"] / 2 for grain in (left_grain, right_grain)) + if right_edge > left_edge: + raise ValueError("overlapping grain-boundary bands in the same layer are unsupported") + grid = [entry.normalized_data() for entry in model.electrical_grid] + if grid and (len(grid) != len(electrical) or {item["layer"] for item in grid} != {layer.id for layer in electrical}): + raise ValueError("electrical grid must cover each electrical layer exactly once") + selected_resources = {layer.optical.name: layer.optical for layer in layers if layer.optical} + for name, kind in ((model.spectrum, "spectrum"), (model.fixed_generation, "fixed_generation")): + if name is not None: + selected_resources[name] = self.resources.get(name, kind) + diagnostics: list[dict[str, Any]] = [] + legacy = model.legacy_fields + if legacy is not None: + source_matches = [source for source in sources if source.id == legacy.source_id] + if source_matches and source_matches[0].sha256 != legacy.source_sha256: + raise ValueError("legacy_fields.source_sha256: retained original source binding differs") + if source_matches: + original = retained_legacy_fields(source_matches[0]) + if original is None or _encode(original.model_dump(mode="json", exclude_unset=True)) != _encode(legacy.model_dump(mode="json", exclude_unset=True)): + raise ValueError("legacy_fields: retained declaration differs from original source bytes") + binding = {"id": legacy.source_id, "sha256": legacy.source_sha256, + "bytes_supplied": bool(source_matches)} + common = {"behavior_version": legacy.schema_version, "source_binding": binding, + "scope": "original_import_evidence; current canonical edits remain separate"} + if "temperature" in legacy.model_fields_set: + diagnostics.append({**common, "code": "legacy_standard_ignored_temperature", + "path": "device.temperature", "declared": legacy.temperature, + "historical_effective": "ignored; only device.T is read", + "effective_setting_T": setting_values["T"], + "T_origin": "input.settings.T" if "T" in model.settings.model_fields_set else "default_catalog.device.T", + "loader_bindings": [{**STANDARD_LOADER_BINDING, "symbol": "load_device_from_yaml"}, + {**INLINE_LOADER_BINDING, "symbol": "stack_from_dict"}], + "required_action": "A temperature alias would require a separate versioned physical correction"}) + if {"interfaces", "interface_defect_count"} & legacy.model_fields_set: + pairs = legacy.interfaces or () + rows = [] + has_legacy_slots = bool(pairs or legacy.interface_defect_count) + adjacencies = zip(legacy.layer_ids, legacy.layer_ids[1:]) if has_legacy_slots else () + for index, (legacy_left, legacy_right) in enumerate(adjacencies): + velocities = pairs[index] if index < len(pairs) else (0.0, 0.0) + rows.append({"raw_index": index, "left": legacy_left, "right": legacy_right, + "pair_before_defect_override": [normalize_quantity(value, "m/s") for value in velocities], + "origin": "supplied_raw_slot" if index < len(pairs) else "legacy_trailing_zero_padding"}) + diagnostics.append({**common, "code": "legacy_standard_interface_layout", + "path": "device.interfaces", "declared": legacy.model_dump(mode="json", exclude_unset=True), + "historical_effective": rows, "indexing": "full_raw_layer_adjacency_including_substrates", + "historical_return_shape": "full_layer_slots" if has_legacy_slots else "empty_tuples", + "defect_precedence": "a supplied non-null defect overrides its raw pair at the same full-layer index", + "current_interfaces": [interface.to_mapping() for interface in interfaces], + "loader_bindings": [{**STANDARD_LOADER_BINDING, "symbol": "interfaces_from_device_dict"}], + "required_action": "Electrical-only reindexing would require a separate versioned physical correction"}) + if model.simulation_hints is not None and "jv_sweep" in model.simulation_hints.model_fields_set: + hints = model.simulation_hints.jv_sweep + diagnostics.append({"code": "legacy_jv_sweep_advisory", "path": "simulation_hints.jv_sweep", + "declared": None if hints is None else hints.editing_data(), + "normalized_declaration": None if hints is None else hints.normalized_data(), + "historical_effective": "pure library run calls do not consume simulation_hints", + "workstation_behavior": "J-V pane explicitly copies supplied grid, scan, waveform and tolerance fields into its request controls", + "implicit_experiment_created": False, "physical_state_created": False, + "source_bindings": [{"id": source.id, "sha256": source.sha256} for source in sources], + "loader_bindings": [{**STANDARD_LOADER_BINDING, "symbol": "load_simulation_hints"}], + "consumer_bindings": list(JV_HINT_CONSUMER_BINDINGS), + "required_action": "Explicitly compose hints with JVExperimentInput to prepare the existing continuous forward/turnaround/reverse history"}) + if model.source_format == "scaps": + old_default = dict(self.defaults.material)["incoherent"] + loader = [pair for pair in self.defaults.evidence if pair[0].endswith("scaps_compat/loader.py")] + for layer in model.layers: + if "incoherent" in layer.parameters.model_fields_set and layer.parameters.incoherent != old_default: + diagnostics.append({"code": "legacy_scaps_ignored_incoherent", "path": f"layers.{layer.id}.parameters.incoherent", + "declared": layer.parameters.incoherent, "historical_effective": old_default, + "source_bindings": [{"id": source.id, "sha256": source.sha256} for source in sources], + "loader_bindings": [list(pair) for pair in loader], + "required_action": "P03-04 preserve historical effect; activation is a separate optical P correction"}) + gaps = ["G2_pending_no_executor", "P03_04_effective_behavior_context_pending"] + if model.source_format == "scaps": + gaps.append("P03_04_legacy_unit_conversion_bytes_pending") + if grains: + gaps.append("microstructure_requires_lateral_geometry_and_neumann_boundary") + if any(layer.defects for layer in layers): + gaps.append("microscopic_defect_execution_requires_qualified_P04_binding") + if any(layer.defect_schema_version == MULTIVALENT_VERSION for layer in layers): + gaps.append("multivalent_v4_device_binding_and_narrow_QF_DC_scope_not_migrated") + if any(layer.bulk_trap_distribution_json is not None for layer in layers): + gaps.append("legacy_bulk_trap_restricted_dark_equilibrium_not_a_production_closure") + if any(layer.cigs_graded_optics_json is not None for layer in layers): + gaps.append("cigs_constitutive_resource_and_optical_evaluation_not_migrated") + measurement_bindings: list[dict[str, str]] = [] + for resolved_layer in layers: + if resolved_layer.metastable_document_json is not None: + gaps.append("metastable_state_not_prepared_no_stationary_or_dynamic_evaluation") + if resolved_layer.metastable_preparation_json is None: + gaps.append("metastable_preparation_protocol_not_supplied") + else: + protocol = MetastablePreparationInput.model_validate(_decode(resolved_layer.metastable_preparation_json)) + source_matches = [source for source in sources if source.sha256 == protocol.measurement_protocol_sha256] + measurement_bindings.extend({"layer_id": resolved_layer.id, "source_id": source.id, "sha256": source.sha256} for source in source_matches) + if not source_matches: + gaps.append("metastable_measurement_protocol_bytes_not_supplied") + if tunnelling is not None: + for channel in CHANNEL_TYPES: + if tunnelling[channel]["enabled"]: + if channel != "intraband" or tunnelling[channel]["carrier"] != "electron": + gaps.append("device_tunnelling_coupling_unavailable:" + channel) + else: + gaps.append("electron_intraband_requires_qualified_single_barrier_dark_ion_free_QF_DC_binding") + if any(dict(layer.parameters)["carrier_statistics"] == "fermi_dirac" for layer in layers): + gaps.append("fermi_dirac_narrow_scope_not_admitted_by_configuration") + if setting_values["built_in_potential_mode"] != "legacy_manual": + gaps.append("contact_potential_requires_behavior_or_physical_model_evaluation") + data = {"schema": "solarlab.resolved-device-preparation.v1", "unit_schema": UNIT_SCHEMA_VERSION, + "id": model.id, "settings": setting_values, "layers": [layer.to_mapping() for layer in layers], + "declaration": model.normalized_data(), + "interfaces": [interface.to_mapping() for interface in interfaces], "contacts": contacts, + "grain_boundaries": grains, "electrical_grid": grid, + "resource_bindings": [{"name": name, "kind": resource.kind, "source_id": resource.source.id, + "source_sha256": resource.source.sha256, "content_sha256": resource.content_sha256, + "shape": resource.shape, "columns": resource.columns, "units": resource.units} + for name, resource in sorted(selected_resources.items())], + "diagnostics": diagnostics, "capability_gaps": sorted(set(gaps)), "can_execute": False, + "default_catalog": self.defaults.to_mapping(), + "input_sources": [{"id": source.id, "sha256": source.sha256} for source in sources]} + if tunnelling is not None: + data["tunnelling_channels"] = tunnelling + if any(layer.metastable_document_json is not None for layer in layers): + data["metastable_measurement_protocol_bindings"] = measurement_bindings + object.__setattr__(self, "input_json", _encode(model.editing_data())) + object.__setattr__(self, "sources", sources) + object.__setattr__(self, "layers", tuple(layers)) + object.__setattr__(self, "interfaces", tuple(interfaces)) + object.__setattr__(self, "_resolved_json", _encode(data)) + + def to_input(self) -> DeviceInput: + return DeviceInput.model_validate(_decode(self.input_json)) + + def to_mapping(self) -> dict[str, Any]: + return _decode(self._resolved_json) + + @property + def values(self) -> Mapping[str, Any]: + return _readonly(self.to_mapping()) + + @property + def content_sha256(self) -> str: + return hashlib.sha256(self.input_json + self._resolved_json).hexdigest() + + +@dataclass(frozen=True, slots=True) +class PreparedTandem: + input_json: bytes + defaults: DefaultCatalog + resources: ResourceLibrary + sources: tuple[SourceDocument, ...] = () + top_cell: PreparedDevice = field(init=False) + bottom_cell: PreparedDevice = field(init=False) + _resolved_json: bytes = field(init=False, repr=False) + can_execute: bool = field(default=False, init=False) + + def __post_init__(self) -> None: + model = TandemInput.model_validate(_decode(self.input_json)) + if model.top_cell.id == model.bottom_cell.id: + raise ValueError("tandem cells require distinct stable IDs") + top = PreparedDevice(_encode(model.top_cell.editing_data()), self.defaults, self.resources, self.sources) + bottom = PreparedDevice(_encode(model.bottom_cell.editing_data()), self.defaults, self.resources, self.sources) + optics = [] + ids = set() + for layer in (*model.junction_stack, *((model.back_reflector,) if model.back_reflector is not None else ())): + if layer.id in ids: + raise ValueError("duplicate tandem optical-layer ID") + ids.add(layer.id) + resource = self.resources.get(layer.optical_material, "nk") + optics.append({**layer.normalized_data(), "resource_sha256": resource.content_sha256}) + data = {"schema": "solarlab.resolved-tandem-preparation.v1", "id": model.id, + "declaration": model.normalized_data(), + "top_cell": top.to_mapping(), "bottom_cell": bottom.to_mapping(), "optical_layers": optics, + "junction_model": model.junction_model, "light_direction": model.light_direction, + "benchmark": model.benchmark.normalized_data() if model.benchmark else None, + "can_execute": False, "capability_gaps": ["G2_pending_no_executor", "tandem_optical_and_series_coupling_not_qualified"]} + object.__setattr__(self, "input_json", _encode(model.editing_data())) + object.__setattr__(self, "sources", tuple(self.sources)) + object.__setattr__(self, "top_cell", top) + object.__setattr__(self, "bottom_cell", bottom) + object.__setattr__(self, "_resolved_json", _encode(data)) + + def to_input(self) -> TandemInput: + return TandemInput.model_validate(_decode(self.input_json)) + + def to_mapping(self) -> dict[str, Any]: + return _decode(self._resolved_json) + + @property + def content_sha256(self) -> str: + return hashlib.sha256(self.input_json + self._resolved_json).hexdigest() diff --git a/src/solarlab/device/settings.py b/src/solarlab/device/settings.py new file mode 100644 index 00000000..dc22945d --- /dev/null +++ b/src/solarlab/device/settings.py @@ -0,0 +1,50 @@ +"""Declared device scalar settings, independent of configuration file formats.""" + +from __future__ import annotations + +from typing import Literal +from pydantic import ValidationInfo, field_validator +from solarlab.materials.parameters import QuantityInput +from solarlab.materials.full_parameters import ParameterFieldsInput, quantity_field as q + + +class DeviceSettingsInput(ParameterFieldsInput): + @classmethod + def _allows_null(cls, name: str) -> bool: + return name in {"built_in_potential_mode", "work_function_left_eV", "work_function_right_eV"} + + phi_left: QuantityInput | None = q("V", signed=True) + V_bi: QuantityInput | None = q("V", signed=True) + built_in_potential_mode: Literal["legacy_manual", "semiconductor_work_function", "metal_work_function"] | None = None + work_function_left_eV: QuantityInput | None = q("eV", positive=True, nullable=True) + work_function_right_eV: QuantityInput | None = q("eV", positive=True, nullable=True) + Phi: QuantityInput | None = q("m^-2/s") + T: QuantityInput | None = q("K", positive=True) + mode: Literal["legacy", "fast", "full"] | None = None + interface_plane_projection: bool | None = None + dos_band_potentials: bool | None = None + te_physical_norm: bool | None = None + ion_steric_diffusion_only: bool | None = None + ion_steric_shared_site: bool | None = None + flat_band_contacts: bool | None = None + flat_band_metal_contacts: bool | None = None + contact_phi_B_eV: QuantityInput | None = q("eV") + interface_two_sided: bool | None = None + interface_shared_occupancy: bool | None = None + interface_plane_closure: bool | None = None + interface_plane_generation: bool | None = None + het_recomb_despike: QuantityInput | None = q("1") + band_grading: bool | None = None + graded_optics: bool | None = None + interface_tunneling: bool | None = None + tunnel_mass_eff: QuantityInput | None = q("1", positive=True) + jv_solver_policy: Literal["general", "cancellation_safe_qf_required"] | None = None + interface_charge_closure: Literal["off", "equilibrium_referenced"] | None = None + interface_charge_rebaseline_acknowledged: bool | None = None + + @field_validator("*") + @classmethod + def _null_flags(cls, value: object, info: ValidationInfo) -> object: + if value is None and not cls._allows_null(str(info.field_name)): + raise ValueError("omit to inherit; explicit null is not allowed for this setting") + return value diff --git a/src/solarlab/device/tunnelling.py b/src/solarlab/device/tunnelling.py new file mode 100644 index 00000000..5f922c37 --- /dev/null +++ b/src/solarlab/device/tunnelling.py @@ -0,0 +1,113 @@ +"""Four independent tunnelling declarations, with no device execution claim. + +The current resolved-device contract covers only an isolated electron intraband +barrier. A valid declaration of the other channels does not qualify coupling. +""" + +from __future__ import annotations + +from typing import Any, Final, Literal, Mapping + +from pydantic import Field, ValidationInfo, field_validator, model_validator + +from solarlab.materials.full_parameters import StructuredInput, quantity_field as q +from solarlab.materials.parameters import QuantityInput, Scalar +from solarlab.units import normalize_quantity + +TUNNELLING_VERSION: Final = "solarlab-wkb-tunnelling-channels-v1" + + +class ChannelInput(StructuredInput): + enabled: bool | None = None + + @classmethod + def _allows_null(cls, name: str) -> bool: + return False + + @field_validator("*") + @classmethod + def _no_null(cls, value: object, info: ValidationInfo) -> object: + if value is None: + raise ValueError(f"{info.field_name}: omit to inherit; null is unsupported") + return value + + +class BandToBandInput(ChannelInput): + reduced_effective_mass_rel: QuantityInput | None = q("1", positive=True) + energy_quadrature_order: int | None = Field(default=None, ge=4) + minimum_field_V_m: QuantityInput | None = q("V/m", positive=True) + + +class IntrabandInput(ChannelInput): + electron_effective_mass_rel: QuantityInput | None = q("1", positive=True) + hole_effective_mass_rel: QuantityInput | None = q("1", positive=True) + carrier: Literal["electron", "hole", "both"] | None = None + energy_quadrature_order: int | None = Field(default=None, ge=4) + + +class DefectAssistedInput(ChannelInput): + electron_effective_mass_rel: QuantityInput | None = q("1", positive=True) + hole_effective_mass_rel: QuantityInput | None = q("1", positive=True) + requires_explicit_occupancy: Literal[True] | None = None + + @field_validator("requires_explicit_occupancy", mode="before") + @classmethod + def _explicit_occupancy(cls, value: object) -> object: + if value is not True: + raise ValueError("requires_explicit_occupancy must be boolean true") + return value + + +class ContactTunnellingInput(ChannelInput): + electron_effective_mass_rel: QuantityInput | None = q("1", positive=True) + hole_effective_mass_rel: QuantityInput | None = q("1", positive=True) + barrier_height_eV: QuantityInput | None = q("eV") + side: Literal["left", "right", "both"] | None = None + energy_quadrature_order: int | None = Field(default=None, ge=4) + + @model_validator(mode="after") + def _barrier(self) -> ContactTunnellingInput: + if self.enabled and self.barrier_height_eV is not None and normalize_quantity(self.barrier_height_eV, "eV") <= 0: + raise ValueError("enabled contact tunnelling requires a positive barrier") + return self + + +CHANNEL_TYPES = { + "band_to_band": BandToBandInput, + "intraband": IntrabandInput, + "interface_defect_assisted": DefectAssistedInput, + "contact": ContactTunnellingInput, +} + + +class TunnellingInput(StructuredInput): + schema_version: Literal["solarlab-wkb-tunnelling-channels-v1"] = TUNNELLING_VERSION + band_to_band: BandToBandInput | None = None + intraband: IntrabandInput | None = None + interface_defect_assisted: DefectAssistedInput | None = None + contact: ContactTunnellingInput | None = None + + def resolved_data(self, defaults: Mapping[str, Mapping[str, Scalar]]) -> dict[str, Any]: + checked = type(self).model_validate(self) + result: dict[str, Any] = {"schema_version": self.schema_version} + for name, model in CHANNEL_TYPES.items(): + if name not in defaults: + raise ValueError(f"missing supplied tunnelling default data: {name}") + channel = getattr(checked, name) + data = {**defaults[name], **(channel.normalized_data() if channel is not None else {})} + if set(data) != set(model.model_fields): + raise ValueError(f"incomplete or unknown resolved channel fields: {name}") + result[name] = model.model_validate(data).normalized_data() + return result + + +def validate_resolved_tunnelling(data: dict[str, Any]) -> dict[str, Any]: + """Public copied/resolved payloads cannot bypass complete-field validation.""" + checked = TunnellingInput.model_validate(data) + if set(data) != {"schema_version", *CHANNEL_TYPES}: + raise ValueError("resolved tunnelling document requires all four channels") + for name, model in CHANNEL_TYPES.items(): + channel = getattr(checked, name) + if channel is None or channel.model_fields_set != set(model.model_fields): + raise ValueError(f"resolved tunnelling channel is incomplete: {name}") + return checked.normalized_data() diff --git a/src/solarlab/discretization/__init__.py b/src/solarlab/discretization/__init__.py new file mode 100644 index 00000000..244f7cea --- /dev/null +++ b/src/solarlab/discretization/__init__.py @@ -0,0 +1,26 @@ +"""Shared discrete operators: Bernoulli, Scharfetter-Gummel, face means, divergence. + +The package namespace exports the M-class (legacy bit-identical) kernels. The +N-class stable evaluations are imported from their own modules: +:mod:`solarlab.discretization.stable_bernoulli` and +:mod:`solarlab.discretization.particle_flux`. +""" + +from solarlab.discretization.bernoulli import bernoulli, bernoulli_derivative +from solarlab.discretization.divergence import flux_divergence +from solarlab.discretization.face_average import ( + VACUUM_PERMITTIVITY_F_M, arithmetic_face_mean, guarded_harmonic_face_mean, + harmonic_face_mean, harmonic_mean, series_face_capacitance, +) +from solarlab.discretization.scharfetter_gummel import ( + LegacyFaceJacobian, legacy_sg_current_n, legacy_sg_current_n_jacobian, + legacy_sg_current_p, legacy_sg_current_p_jacobian, +) + +__all__ = [ + "LegacyFaceJacobian", "VACUUM_PERMITTIVITY_F_M", "arithmetic_face_mean", "bernoulli", + "bernoulli_derivative", "flux_divergence", "guarded_harmonic_face_mean", + "harmonic_face_mean", "harmonic_mean", "legacy_sg_current_n", + "legacy_sg_current_n_jacobian", "legacy_sg_current_p", "legacy_sg_current_p_jacobian", + "series_face_capacitance", +] diff --git a/src/solarlab/discretization/bernoulli.py b/src/solarlab/discretization/bernoulli.py new file mode 100644 index 00000000..0d1bf553 --- /dev/null +++ b/src/solarlab/discretization/bernoulli.py @@ -0,0 +1,58 @@ +"""Historical element-wise Bernoulli function ``B(x) = x / (exp(x) - 1)``. + +``bernoulli`` and ``bernoulli_derivative`` reproduce the legacy kernel +bit-for-bit (M-class migration). The stable paired evaluation that computes the +small exponential branch first lives in +:mod:`solarlab.discretization.stable_bernoulli` (N class). +""" + +from __future__ import annotations + +import numpy as np +from numpy.typing import ArrayLike, NDArray + +__all__ = ["bernoulli", "bernoulli_derivative"] + + +def bernoulli(x: ArrayLike) -> NDArray[np.float64]: + """Historical element-wise ``B(x)`` (bit-identical to the legacy kernel).""" + x = np.asarray(x, dtype=float) + result = np.empty_like(x) + small = np.abs(x) < 1e-8 + huge_pos = x > 700.0 + large = ~small & ~huge_pos + result[small] = 1.0 - x[small] / 2.0 + x[small]**2 / 12.0 + result[huge_pos] = 0.0 + result[large] = x[large] / np.expm1(x[large]) + return result + + +def bernoulli_derivative(x: ArrayLike) -> NDArray[np.float64]: + """Historical element-wise ``B'(x)`` (bit-identical to the legacy kernel).""" + x = np.asarray(x, dtype=float) + result = np.empty_like(x) + small = np.abs(x) < 1.0e-4 + large_positive = x > 50.0 + regular = ~small & ~large_positive + + xs = x[small] + result[small] = ( + -0.5 + + xs / 6.0 + - xs**3 / 180.0 + + xs**5 / 5040.0 + ) + + xp = x[large_positive] + decay = np.exp(-xp) + result[large_positive] = ( + decay * (1.0 - xp - decay) / (1.0 - decay) ** 2 + ) + + xr = x[regular] + exp_x = np.exp(xr) + denominator = np.expm1(xr) + result[regular] = ( + denominator - xr * exp_x + ) / denominator**2 + return result diff --git a/src/solarlab/discretization/divergence.py b/src/solarlab/discretization/divergence.py new file mode 100644 index 00000000..789e0e86 --- /dev/null +++ b/src/solarlab/discretization/divergence.py @@ -0,0 +1,33 @@ +"""Control-volume divergence of oriented face fluxes.""" + +from __future__ import annotations + +import numpy as np +from numpy.typing import ArrayLike, NDArray + +__all__ = ["flux_divergence"] + + +def flux_divergence( + flux: ArrayLike, + widths: ArrayLike, + *, + left_flux: float = 0.0, + right_flux: float = 0.0, +) -> NDArray[np.float64]: + """Particle rate per volume: ``w*dP/dt = F_left - F_right`` with boundary fluxes. + + ``flux`` holds the N-1 interior face fluxes oriented along +x; the contact + fluxes enter through ``left_flux``/``right_flux`` (also along +x). + """ + w = np.asarray(widths, dtype=float) + f = np.asarray(flux) + if ( + w.shape != (f.size + 1,) + or f.ndim != 1 + or not np.all(np.isfinite(w)) + or np.any(w <= 0) + ): + raise ValueError("flux and positive finite volumes must align") + rate: NDArray[np.float64] = -np.diff(np.r_[left_flux, f, right_flux]) / w + return rate diff --git a/src/solarlab/discretization/face_average.py b/src/solarlab/discretization/face_average.py new file mode 100644 index 00000000..5f396b5c --- /dev/null +++ b/src/solarlab/discretization/face_average.py @@ -0,0 +1,85 @@ +"""Face averages and face capacitances, one historical expression per channel. + +Each channel keeps its own historical mean; no global default is changed: + +* ``harmonic_face_mean`` -- unguarded ``2*a*b/(a+b)`` of adjacent nodal + values: the Poisson face permittivity of the 1D MoL and 2D operators and the + 1D MoL carrier face diffusivities ``D_n``/``D_p``. Two zero neighbours give + 0/0 = NaN; that is the historical carrier behaviour (LD-03) and stays M. +* ``guarded_harmonic_face_mean`` -- the same mean with a zero face kept at + zero when both sides vanish. Historically used only for the mobile-ion face + diffusivities (both species) and for the face permittivity of the + displacement-current and impedance/defect-transient observers; never for the + carrier ``D_n``/``D_p`` faces (substituting it there is an N-class change). +* ``series_face_capacitance`` -- two-sided geometries, where the true plane + splits a face into distances ``d_L``/``d_R``: ``eps0 / (d_L/eps_L + d_R/eps_R)``. + At the face midpoint it equals the harmonic mean over the face spacing. +""" + +from __future__ import annotations + +import numpy as np +from numpy.typing import ArrayLike, NDArray + +__all__ = [ + "VACUUM_PERMITTIVITY_F_M", "arithmetic_face_mean", "guarded_harmonic_face_mean", + "harmonic_face_mean", "harmonic_mean", "series_face_capacitance", +] + +# Historical binary64 value of the legacy engine (CODATA 2006). It differs from +# the SI 2019 recommended value in the 10th digit; changing it is a P-class +# correction, not part of this behaviour-preserving migration. +VACUUM_PERMITTIVITY_F_M = 8.854187817e-12 + + +def harmonic_mean(a: ArrayLike, b: ArrayLike) -> NDArray[np.float64]: + left = np.asarray(a, dtype=float) + right = np.asarray(b, dtype=float) + result: NDArray[np.float64] = 2.0 * left * right / (left + right) + return result + + +def harmonic_face_mean(values: ArrayLike) -> NDArray[np.float64]: + """``2 v_i v_{i+1} / (v_i + v_{i+1})`` on the N-1 faces of N nodal values. + + Unguarded: Poisson permittivity and MoL carrier ``D_n``/``D_p`` faces + (0/0 = NaN between two zero nodes, LD-03). + """ + nodal = np.asarray(values, dtype=float) + result: NDArray[np.float64] = 2.0 * nodal[:-1] * nodal[1:] / (nodal[:-1] + nodal[1:]) + return result + + +def guarded_harmonic_face_mean(values: ArrayLike) -> NDArray[np.float64]: + """Harmonic face mean with zero kept where both sides are zero. + + Historical channels: mobile-ion face diffusivities and the observer + (displacement-current, impedance, defect-transient) face permittivity. + Not the carrier ``D_n``/``D_p`` faces. + """ + nodal = np.asarray(values, dtype=float) + numer = 2.0 * nodal[:-1] * nodal[1:] + denom = nodal[:-1] + nodal[1:] + return np.divide(numer, denom, out=np.zeros_like(numer), where=denom > 0.0) + + +def arithmetic_face_mean(values: ArrayLike) -> NDArray[np.float64]: + nodal = np.asarray(values, dtype=float) + result: NDArray[np.float64] = 0.5 * (nodal[:-1] + nodal[1:]) + return result + + +def series_face_capacitance( + left_distance_m: float, + eps_r_left: float, + right_distance_m: float, + eps_r_right: float, +) -> float: + """Exact series capacitance [F/m^2] of a face split by a dielectric plane.""" + values = (left_distance_m, eps_r_left, right_distance_m, eps_r_right) + if not all(np.isfinite(value) and value > 0.0 for value in values): + raise ValueError("series capacitance needs positive distances and permittivities") + return float(VACUUM_PERMITTIVITY_F_M / ( + float(left_distance_m) / float(eps_r_left) + + float(right_distance_m) / float(eps_r_right) + )) diff --git a/src/solarlab/discretization/particle_flux.py b/src/solarlab/discretization/particle_flux.py new file mode 100644 index 00000000..46fbf684 --- /dev/null +++ b/src/solarlab/discretization/particle_flux.py @@ -0,0 +1,67 @@ +"""Unified Scharfetter-Gummel particle flux on oriented faces (N class). + + F = k * (B(D) * c_left - B(-D) * c_right), + +where ``k = D_face / h`` [m/s] and ``D`` is the dimensionless potential-energy +rise from the left to the right node (``-dphi/V_T`` for electrons, ``+dphi/V_T`` +for holes and other positive species). ``F`` is positive along the face +orientation, in particles per area per time. It is evaluated with +:func:`~solarlab.discretization.stable_bernoulli.bernoulli_pair` and returns +analytic derivatives. Reversing the face (swap densities, negate ``D``) +reverses ``F`` exactly. +""" + +from __future__ import annotations + +from dataclasses import dataclass + +import numpy as np +from numpy.typing import ArrayLike, NDArray + +from solarlab.discretization.stable_bernoulli import bernoulli_pair + +__all__ = ["ParticleFlux", "sg_particle_flux"] + + +@dataclass(frozen=True) +class ParticleFlux: + """Directed particle flux and its local partial derivatives on each face.""" + + flux: NDArray[np.float64] + left_density_derivative: NDArray[np.float64] + right_density_derivative: NDArray[np.float64] + energy_step_derivative: NDArray[np.float64] + coefficient_derivative: NDArray[np.float64] + + +def sg_particle_flux( + c_left: ArrayLike, + c_right: ArrayLike, + energy_step: ArrayLike, + coefficient: ArrayLike, +) -> ParticleFlux: + """Unified SG particle flux with derivatives w.r.t. ``c_L``, ``c_R``, ``D`` and ``k``.""" + left = np.asarray(c_left, dtype=float) + right = np.asarray(c_right, dtype=float) + step = np.asarray(energy_step, dtype=float) + k = np.asarray(coefficient, dtype=float) + shape = np.broadcast_shapes(left.shape, right.shape, step.shape, k.shape) + if (left.shape != shape or right.shape != shape or step.shape != shape + or k.shape not in {(), shape}): + raise ValueError("SG densities and energy steps must share one face shape") + if not (np.all(np.isfinite(left)) and np.all(np.isfinite(right)) + and np.all(np.isfinite(k))): + raise ValueError("SG inputs must be finite") + if np.any(k < 0.0): + raise ValueError("SG transfer coefficient must be non-negative") + pair = bernoulli_pair(step) + unscaled = pair.forward * left - pair.backward * right + k_faces = np.broadcast_to(k, shape) + return ParticleFlux( + flux=k_faces * unscaled, + left_density_derivative=k_faces * pair.forward, + right_density_derivative=-k_faces * pair.backward, + energy_step_derivative=k_faces * ( + pair.forward_derivative * left + pair.backward_derivative * right), + coefficient_derivative=unscaled, + ) diff --git a/src/solarlab/discretization/scharfetter_gummel.py b/src/solarlab/discretization/scharfetter_gummel.py new file mode 100644 index 00000000..fa23d935 --- /dev/null +++ b/src/solarlab/discretization/scharfetter_gummel.py @@ -0,0 +1,154 @@ +"""Historical Scharfetter-Gummel electrical currents (M class). + +The ``legacy_sg_current_*`` functions reproduce the historical currents +(A/m^2, historical direction convention) and their analytic face Jacobians +bit-for-bit. The unified directed particle flux is +:mod:`solarlab.discretization.particle_flux` (N class); the conversion is +``F_n = -J_n / q`` and ``F_p = +J_p / q``. +""" + +from __future__ import annotations + +from dataclasses import dataclass + +import numpy as np +from numpy.typing import ArrayLike, NDArray + +from solarlab.contracts.units import ELEMENTARY_CHARGE_C +from solarlab.discretization.bernoulli import bernoulli, bernoulli_derivative + +__all__ = [ + "LegacyFaceJacobian", "legacy_sg_current_n", "legacy_sg_current_n_jacobian", + "legacy_sg_current_p", "legacy_sg_current_p_jacobian", +] + +Q = ELEMENTARY_CHARGE_C + + +def legacy_sg_current_n( + phi: ArrayLike, + n: ArrayLike, + dx: ArrayLike, + D_n: ArrayLike, + V_T: float, +) -> NDArray[np.float64]: + """Historical vectorized SG electron current at all N-1 faces [A/m^2].""" + phi = np.asarray(phi, dtype=float) + n = np.asarray(n, dtype=float) + q = 1.602176634e-19 + xi = (phi[1:] - phi[:-1]) / V_T + current: NDArray[np.float64] = q * D_n / dx * (bernoulli(xi) * n[1:] - bernoulli(-xi) * n[:-1]) + return current + + +def legacy_sg_current_p( + phi: ArrayLike, + p: ArrayLike, + dx: ArrayLike, + D_p: ArrayLike, + V_T: float, +) -> NDArray[np.float64]: + """Historical vectorized SG hole current at all N-1 faces [A/m^2].""" + phi = np.asarray(phi, dtype=float) + p = np.asarray(p, dtype=float) + q = 1.602176634e-19 + xi = (phi[1:] - phi[:-1]) / V_T + current: NDArray[np.float64] = q * D_p / dx * (bernoulli(xi) * p[:-1] - bernoulli(-xi) * p[1:]) + return current + + +@dataclass(frozen=True, slots=True) +class LegacyFaceJacobian: + """Local derivatives of one historical carrier current on every grid face.""" + + flux: NDArray[np.float64] + density_left_derivative: NDArray[np.float64] + density_right_derivative: NDArray[np.float64] + potential_left_derivative: NDArray[np.float64] + potential_right_derivative: NDArray[np.float64] + + +def _validate_legacy_jacobian_inputs( + phi: ArrayLike, + density: ArrayLike, + dx: ArrayLike, + diffusivity: ArrayLike, + V_T: float, +) -> tuple[NDArray[np.float64], NDArray[np.float64], NDArray[np.float64], NDArray[np.float64]]: + potential = np.asarray(phi, dtype=float) + carrier_density = np.asarray(density, dtype=float) + spacing = np.asarray(dx, dtype=float) + if ( + potential.ndim != 1 + or potential.size < 2 + or carrier_density.shape != potential.shape + or spacing.shape != (potential.size - 1,) + or not np.all(np.isfinite(potential)) + or not np.all(np.isfinite(carrier_density)) + or not np.all(np.isfinite(spacing)) + or np.any(spacing <= 0.0) + or not np.isfinite(V_T) + or V_T <= 0.0 + ): + raise ValueError( + "SG Jacobian inputs must be finite, shape matched, and use " + "positive spacing and thermal voltage" + ) + diffusion = np.broadcast_to(np.asarray(diffusivity, dtype=float), spacing.shape) + if not np.all(np.isfinite(diffusion)) or np.any(diffusion < 0.0): + raise ValueError("SG diffusivity must be finite and non-negative") + return potential, carrier_density, spacing, diffusion + + +def legacy_sg_current_n_jacobian( + phi: ArrayLike, + n: ArrayLike, + dx: ArrayLike, + D_n: ArrayLike, + V_T: float, +) -> LegacyFaceJacobian: + """Historical analytic electron-current derivatives for fixed face diffusivity.""" + potential, density, spacing, diffusion = _validate_legacy_jacobian_inputs( + phi, n, dx, D_n, V_T + ) + xi = (potential[1:] - potential[:-1]) / V_T + B_pos = bernoulli(xi) + B_neg = bernoulli(-xi) + dB_pos = bernoulli_derivative(xi) + dB_neg = bernoulli_derivative(-xi) + prefactor = Q * diffusion / spacing + xi_derivative = prefactor * (dB_pos * density[1:] + dB_neg * density[:-1]) + return LegacyFaceJacobian( + flux=legacy_sg_current_n(potential, density, spacing, diffusion, V_T), + density_left_derivative=-prefactor * B_neg, + density_right_derivative=prefactor * B_pos, + potential_left_derivative=-xi_derivative / V_T, + potential_right_derivative=xi_derivative / V_T, + ) + + +def legacy_sg_current_p_jacobian( + phi: ArrayLike, + p: ArrayLike, + dx: ArrayLike, + D_p: ArrayLike, + V_T: float, +) -> LegacyFaceJacobian: + """Historical analytic hole-current derivatives for fixed face diffusivity.""" + potential, density, spacing, diffusion = _validate_legacy_jacobian_inputs( + phi, p, dx, D_p, V_T + ) + xi = (potential[1:] - potential[:-1]) / V_T + B_pos = bernoulli(xi) + B_neg = bernoulli(-xi) + dB_pos = bernoulli_derivative(xi) + dB_neg = bernoulli_derivative(-xi) + prefactor = Q * diffusion / spacing + xi_derivative = prefactor * (dB_pos * density[:-1] + dB_neg * density[1:]) + return LegacyFaceJacobian( + flux=legacy_sg_current_p(potential, density, spacing, diffusion, V_T), + density_left_derivative=prefactor * B_pos, + density_right_derivative=-prefactor * B_neg, + potential_left_derivative=-xi_derivative / V_T, + potential_right_derivative=xi_derivative / V_T, + ) diff --git a/src/solarlab/discretization/stable_bernoulli.py b/src/solarlab/discretization/stable_bernoulli.py new file mode 100644 index 00000000..9d26ecc1 --- /dev/null +++ b/src/solarlab/discretization/stable_bernoulli.py @@ -0,0 +1,100 @@ +"""Stable paired Bernoulli evaluation (N class). + +The historical element-wise kernel is :mod:`solarlab.discretization.bernoulli` +(M class); the two must not be mixed silently. + +* ``bernoulli_pair`` evaluates ``B(x)`` and ``B(-x)`` together. It first + computes the small branch ``B(|x|)`` from ``exp(-|x|)`` only (no overflow, + no cancellation) and then recovers the large branch with the exact identity + ``B(-a) = a + B(a)`` -- an addition of two positive numbers. The large value + therefore never has to be differenced to recover the small one: computing + ``B(50)`` as ``B(-50) - 50`` would return 0 in binary64, while the pair keeps + ``B(50) = 9.6e-21``. Derivatives follow ``B'(-a) = -(1 + B'(a))``; on + ``1e-4 <= a <= 1`` the cancelling numerator ``expm1(a) - a*exp(a)`` is summed + as its series. This is a new arithmetic (N-class): values agree with the + historical ones to a few units in the last place (the historical value is + exactly 0 above x = 700, the pair keeps the normal-range value), and the + derivative is ~2 ulp accurate where the historical quotient loses ~1e-12. +""" + +from __future__ import annotations + +from dataclasses import dataclass +import math + +import numpy as np +from numpy.typing import ArrayLike, NDArray + +__all__ = ["BernoulliPair", "bernoulli_pair"] + +_VALUE_SERIES_LIMIT = 1e-8 +_DERIVATIVE_SERIES_LIMIT = 1.0e-4 +_DERIVATIVE_DECAY_LIMIT = 50.0 +# a*exp(a) - expm1(a) = sum_{k>=2} (k-1)/k! a^k; coefficients of a^(k-2) for +# Horner evaluation on 0 < a <= 1, highest order first (truncation < 1e-19). +_NUMERATOR_SERIES = tuple( + (k - 1) / math.factorial(k) for k in range(22, 1, -1) +) + + +@dataclass(frozen=True) +class BernoulliPair: + """``B(x)``, ``B(-x)`` and the derivative of ``B`` at ``x`` and at ``-x``. + + ``backward_derivative`` is ``B'(-x)``; the derivative of ``B(-x)`` with + respect to ``x`` is therefore ``-backward_derivative``. + """ + + forward: NDArray[np.float64] + backward: NDArray[np.float64] + forward_derivative: NDArray[np.float64] + backward_derivative: NDArray[np.float64] + + +def _small_branch(a: NDArray[np.float64]) -> tuple[NDArray[np.float64], NDArray[np.float64]]: + """``B(a)`` and ``B'(a)`` for ``a >= 0`` using only ``exp(-a)``-safe forms.""" + value = np.empty_like(a) + series = a < _VALUE_SERIES_LIMIT + value[series] = 1.0 - a[series] / 2.0 + a[series] ** 2 / 12.0 + rest = ~series + ar = a[rest] + value[rest] = ar * np.exp(-ar) / -np.expm1(-ar) + + derivative = np.empty_like(a) + near = a < _DERIVATIVE_SERIES_LIMIT + moderate = ~near & (a <= 1.0) + decay_region = a > _DERIVATIVE_DECAY_LIMIT + regular = ~near & ~moderate & ~decay_region + an = a[near] + derivative[near] = -0.5 + an / 6.0 - an**3 / 180.0 + an**5 / 5040.0 + # expm1(a) - a*exp(a) cancels to -a^2/2 for small a; sum its series instead. + am = a[moderate] + numerator = np.zeros_like(am) + for coefficient in _NUMERATOR_SERIES: + numerator = numerator * am + coefficient + derivative[moderate] = -(am * am) * numerator / np.expm1(am) ** 2 + ad = a[decay_region] + decay = np.exp(-ad) + derivative[decay_region] = decay * (1.0 - ad - decay) / (1.0 - decay) ** 2 + ag = a[regular] + denominator = np.expm1(ag) + derivative[regular] = (denominator - ag * np.exp(ag)) / denominator**2 + return value, derivative + + +def bernoulli_pair(x: ArrayLike) -> BernoulliPair: + """Stable ``B(x)``/``B(-x)`` and derivatives, small exponential branch first.""" + values = np.asarray(x, dtype=float) + if not np.all(np.isfinite(values)): + raise ValueError("Bernoulli arguments must be finite") + a = np.abs(values) + small, small_derivative = _small_branch(a) + large = a + small + large_derivative = -(1.0 + small_derivative) + nonnegative = values >= 0.0 + return BernoulliPair( + forward=np.where(nonnegative, small, large), + backward=np.where(nonnegative, large, small), + forward_derivative=np.where(nonnegative, small_derivative, large_derivative), + backward_derivative=np.where(nonnegative, large_derivative, small_derivative), + ) diff --git a/src/solarlab/equations/__init__.py b/src/solarlab/equations/__init__.py new file mode 100644 index 00000000..bf7c8c53 --- /dev/null +++ b/src/solarlab/equations/__init__.py @@ -0,0 +1,17 @@ +"""Production equation assembly for explicitly supported new-core devices.""" + +from solarlab.equations.dc_1d import ( + CapabilityError, + CompiledDevice1D, + DC1DProblem, + LocalRecombinationModel, + State1D, +) + +__all__ = [ + "CapabilityError", + "CompiledDevice1D", + "DC1DProblem", + "LocalRecombinationModel", + "State1D", +] diff --git a/src/solarlab/equations/assembly/__init__.py b/src/solarlab/equations/assembly/__init__.py new file mode 100644 index 00000000..ef760fac --- /dev/null +++ b/src/solarlab/equations/assembly/__init__.py @@ -0,0 +1,32 @@ +"""Unified layout, Term and assembly layer (milestone A). + +One :class:`~solarlab.equations.assembly.assembler.Assembler` turns declared +blocks (:mod:`~solarlab.equations.assembly.layout`) and bound Terms +(:mod:`~solarlab.equations.assembly.terms`) on a mesh into ``F``, ``J``, +``S`` and ``S_u`` for steady, storage-difference time and frequency +analyses. Bindings live in their own modules: +:mod:`~solarlab.equations.assembly.classical_1d` (electronic 1D) and +:mod:`~solarlab.equations.assembly.ionic_1d` (finite-site ions, single and +per-domain, with their steady closures). Analyses on an assembled system +live beside them, for example the small-signal operators and their declared +row operations in :mod:`~solarlab.equations.assembly.small_signal`. +""" + +from solarlab.equations.assembly.assembler import ( + AssembledSystem, Assembler, Mesh, Port, SupportGeometry, +) +from solarlab.equations.assembly.layout import Block, ConstraintRows, NodeSet, SystemLayout +from solarlab.equations.assembly.terms import ( + CELL_SOURCE, CHAIN_DIVERGENCE, CONSTRAINT, FACE_FLUX, PORT_FLUX, SCATTER_DIVERGENCE, STORAGE, + EvaluationState, FaceValue, FieldMap, FieldValues, LocalValue, OperatingInputs, ReductionValue, + StorageTerm, Term, +) +from solarlab.equations.assembly.weighted import MEASURE, Weighted + +__all__ = [ + "AssembledSystem", "Assembler", "Block", "CELL_SOURCE", "CHAIN_DIVERGENCE", "CONSTRAINT", + "ConstraintRows", "EvaluationState", "FACE_FLUX", "FaceValue", "FieldMap", "FieldValues", + "LocalValue", "MEASURE", "Mesh", "NodeSet", "OperatingInputs", "PORT_FLUX", "Port", + "ReductionValue", "SCATTER_DIVERGENCE", "STORAGE", "StorageTerm", "SupportGeometry", + "SystemLayout", "Term", "Weighted", +] diff --git a/src/solarlab/equations/assembly/assembler.py b/src/solarlab/equations/assembly/assembler.py new file mode 100644 index 00000000..c52f7525 --- /dev/null +++ b/src/solarlab/equations/assembly/assembler.py @@ -0,0 +1,768 @@ +"""One Assembler: sparse F, J = dF/du, S and S_u = dS/du from Terms on a mesh. + +Sign and storage convention (milestone A interface decision): the +time-dependent system is ``dS(u)/dt = F(u)``. ``F`` is the steady residual +(net inflow plus sources on balance rows, the declared algebraic value on +constraint rows), ``J = dF/du``, ``S`` is the physical equation storage (zero +on constraint rows) and ``S_u = dS/du``; the implicit form is +``R(u, udot) = F(u) - S_u udot`` with ``M = dR/dudot = -S_u``. + +Accumulation order is fixed, so one declaration always produces the same bits: + +* A slot is one quantity of one kind on one block (a value, or the tangent + for one dependency). Its parts keep Term order: each run of consecutive + unweighted parts is summed and multiplied by the measure once, and each + weighted expression is its own piece. Pieces are added sequentially. (The + classical generation and recombination parts form one run: ``(gG - R) w``.) +* Per balance block, pieces are added to a zero row in the order face flux, + cell source, port flux (ports in declaration order). The face divergence of + a piece scatters ``-flux`` into every left cell and then ``+flux`` into + every right cell (the ``TermSink`` order). A block's single ``"chain"`` + face Term instead assigns ``-diff(r_[0, flux, 0])`` as the row's first + value (the historical ion-balance expression); later pieces add to it. +* Jacobian entries are summed sequentially in emission order: face pieces + face by face (left row, then right row; dependencies in first-use order), + then cell pieces, then port pieces. +* Constraint rows take the owning Term's value and tangents; every other + contribution to those rows is dropped from ``F``, ``J``, ``S`` and ``S_u``. + A ``"cell"`` constraint is weighted once by its nodes' cell measures; a + :class:`ReductionValue` row is ``fsum(summand) - fsum(reference)`` of the + weighted support arrays, with tangents placed over whole dependency blocks. + ``balance`` keeps it: on a constraint row it is the conservation defect the + boundary exchange must carry (:meth:`Assembler.reaction_flux`). + +Represented matrix entries are the nonzero sums. Exact zeros are dropped, as +the historical LIL assembly drops them. Constraint rows of ``S`` and of the +storage increment are masked as ``x * 0`` (the historical ``*= storage_mask``), +which keeps the sign of a masked increment's zero. +""" + +from __future__ import annotations + +from dataclasses import dataclass, field +from hashlib import sha256 +import json +import math +from typing import Mapping, Sequence, TypeAlias, cast + +import numpy as np +from numpy.typing import ArrayLike, NDArray +from scipy.sparse import coo_matrix, csc_matrix + +from solarlab.contracts.arrays import frozen_array, integer_indices +from solarlab.contracts.errors import ContractError +from solarlab.contracts.terms import Geometry +from solarlab.contracts.units import SECOND, Unit +from solarlab.equations.assembly.layout import ConstraintRows, SystemLayout, node_indices +from solarlab.equations.assembly.terms import ( + CELL_SOURCE, CHAIN_DIVERGENCE, CONSTRAINT, FACE_FLUX, PORT_FLUX, SCATTER_DIVERGENCE, STORAGE, + TERM_KINDS, Contribution, EvaluationState, FaceValue, FieldMap, LocalValue, OperatingInputs, + ReductionValue, StorageTerm, Term, TermValue, +) +from solarlab.equations.assembly.weighted import Weighted, evaluate as evaluate_weighted, measure_count + +__all__ = ["AssembledSystem", "Assembler", "Mesh", "Port", "SupportGeometry"] + +Vector: TypeAlias = NDArray[np.float64] +Index: TypeAlias = NDArray[np.intp] +Evaluated: TypeAlias = Sequence[tuple[Term, Mapping[str, TermValue]]] + + +@dataclass(frozen=True) +class Port: + """Boundary faces beside ``nodes``: outward normal and face measures.""" + + id: str + nodes: tuple[int, ...] + outward_normal: int + measures: Vector + measure_unit: Unit + + def __post_init__(self) -> None: + nodes = node_indices(self.nodes) + measures = frozen_array(self.measures) + if (not self.id or not nodes or self.outward_normal not in (-1, 1) + or measures.shape != (len(nodes),) or np.any(measures <= 0.0) + or len(set(nodes)) != len(nodes)): + raise ContractError("invalid_port") + object.__setattr__(self, "nodes", nodes) + object.__setattr__(self, "measures", measures) + + +@dataclass(frozen=True) +class SupportGeometry: + """Control volumes, oriented faces and ports of one node set.""" + + node_set: str + geometry: Geometry + ports: tuple[Port, ...] = () + + def __post_init__(self) -> None: + if len({port.id for port in self.ports}) != len(self.ports): + raise ContractError("duplicate_port") + count = self.geometry.volumes.size + if any(node >= count for port in self.ports for node in port.nodes): + raise ContractError("port_outside_support") + + def port(self, port_id: str) -> Port: + for port in self.ports: + if port.id == port_id: + return port + raise ContractError("unknown_port") + + +@dataclass(frozen=True) +class Mesh: + """Geometry of every node set of a layout, with a content identity.""" + + supports: tuple[SupportGeometry, ...] + identity: str = field(init=False) + + def __post_init__(self) -> None: + if len({item.node_set for item in self.supports}) != len(self.supports): + raise ContractError("duplicate_support_geometry") + digest = sha256(b"solarlab.assembly_mesh.v1") + for item in self.supports: + g = item.geometry + digest.update(json.dumps([item.node_set, list(g.volume_unit.powers), + list(g.face_unit.powers)]).encode()) + for array in (g.volumes, g.face_measures): + digest.update(np.ascontiguousarray(array, dtype=" SupportGeometry: + for item in self.supports: + if item.node_set == node_set: + return item + raise ContractError("unknown_support_geometry") + + def embedding_ratio(self, layout: SystemLayout, node_set: str) -> Vector: + """Dual-volume deposition factor ``W_child / W_parent`` at the embedded nodes. + + A Term that deposits a child-set quantity into parent balance rows uses + exactly this factor; the parent measure itself is applied by the + Assembler (``W_parent * ratio * q`` is the child's own ``W_child * q``). + """ + child = layout.node_set(node_set) + if child.parent is None or child.parent_indices is None: + raise ContractError("embedding_ratio_needs_an_embedded_node_set") + parent = self.support(child.parent).geometry + own = self.support(node_set).geometry + if own.volume_unit != parent.volume_unit: + raise ContractError("embedded_measures_need_one_unit") + ratio: Vector = frozen_array(own.volumes / parent.volumes[np.asarray(child.parent_indices)]) + return ratio + + +@dataclass(frozen=True) +class AssembledSystem: + """One evaluation in the shared convention; ``M = -S_u``.""" + + layout: SystemLayout + admissible: bool + F: Vector + balance: Vector + J: csc_matrix | None = None + S: Vector | None = None + S_u: csc_matrix | None = None + # Constraint rows whose replaced balance Jacobian has a nonfinite entry + # (``balance`` keeps the replaced F values the same way). + replaced_nonfinite_rows: NDArray[np.bool_] | None = None + + @property + def M(self) -> csc_matrix | None: + return None if self.S_u is None else cast(csc_matrix, -self.S_u) + + @property + def block_ranges(self) -> dict[str, tuple[int, int]]: + return self.layout.block_ranges() + + @property + def boundary_rows(self) -> NDArray[np.bool_]: + return self.layout.constraint_mask() + + +class _Triplets: + """Matrix entries in emission order, summed sequentially per entry.""" + + def __init__(self) -> None: + self.rows: list[Index] = [] + self.cols: list[Index] = [] + self.vals: list[Vector] = [] + + def add(self, rows: ArrayLike, cols: ArrayLike, vals: ArrayLike) -> None: + r = np.asarray(rows, dtype=np.intp).ravel() + c = np.asarray(cols, dtype=np.intp).ravel() + v = np.broadcast_to(np.asarray(vals, dtype=float), np.shape(rows)).ravel() + keep = c >= 0 + if not np.all(v[~keep] == 0.0): + raise ContractError("tangent_outside_embedded_node_set") + self.rows.append(r[keep]) + self.cols.append(c[keep]) + self.vals.append(v[keep]) + + def without_rows(self, rows: NDArray[np.bool_]) -> _Triplets: + result = _Triplets() + for r, c, v in zip(self.rows, self.cols, self.vals): + keep = ~rows[r] + result.rows.append(r[keep]) + result.cols.append(c[keep]) + result.vals.append(v[keep]) + return result + + def extend(self, other: _Triplets) -> None: + self.rows.extend(other.rows) + self.cols.extend(other.cols) + self.vals.extend(other.vals) + + def _summed(self, size: int, rows: NDArray[np.bool_] | None = None) -> tuple[NDArray[np.int64], Vector]: + r = np.concatenate(self.rows) if self.rows else np.empty(0, dtype=np.intp) + c = np.concatenate(self.cols) if self.cols else np.empty(0, dtype=np.intp) + v = np.concatenate(self.vals) if self.vals else np.empty(0) + if rows is not None: + keep = rows[r] + r, c, v = r[keep], c[keep], v[keep] + unique, inverse = np.unique(r.astype(np.int64) * size + c, return_inverse=True) + data = np.zeros(unique.size) + np.add.at(data, inverse, v) # sequential, in emission order + return unique, data + + def matrix(self, size: int) -> csc_matrix: + unique, data = self._summed(size) + nonzero = data != 0.0 + unique, data = unique[nonzero], data[nonzero] + return coo_matrix((data, (unique // size, unique % size)), shape=(size, size)).tocsc() + + def nonfinite_rows(self, rows: NDArray[np.bool_]) -> NDArray[np.bool_]: + """Those of ``rows`` with a nonfinite summed entry.""" + size = rows.size + unique, data = self._summed(size, rows) + result: NDArray[np.bool_] = np.zeros(size, dtype=bool) + result[unique[~np.isfinite(data)] // size] = True + return result + + +def _pieces(parts: Sequence[Contribution], measure: Vector, *, weighted: bool = True) -> list[Vector]: + """Measure-weighted pieces of one slot, in declaration order. + + Each run of consecutive unweighted parts is summed, then weighted once; + each weighted expression must contain the measure exactly once and forms + its own piece. With ``weighted=False`` only unweighted parts are allowed. + """ + result: list[Vector] = [] + run: list[Vector] = [] + + def flush() -> None: + if run: + accumulated = run[0] + for part in run[1:]: + accumulated = accumulated + part + accumulated = np.broadcast_to(accumulated, measure.shape) + result.append(accumulated * measure if weighted else np.array(accumulated, dtype=float)) + run.clear() + + for part in parts: + if not isinstance(part, Weighted): + run.append(np.asarray(part, dtype=float)) + continue + if not weighted or measure_count(part) != 1: + raise ContractError("weighted_contribution_needs_exactly_one_measure") + flush() + result.append(evaluate_weighted(part, measure)) + flush() + if not result: + raise ContractError("empty_contribution") + return result + + +def _sum(pieces: Sequence[Vector]) -> Vector: + total = pieces[0] + for piece in pieces[1:]: + total = total + piece + return total + + +def _face_indices(values: ArrayLike, face_count: int) -> Index: + """A one-dimensional stencil of face indices within ``[0, face_count)``.""" + raw = np.asarray(values) + indices = np.empty(0, dtype=np.intp) if raw.size == 0 else integer_indices(raw) + if indices.ndim != 1 or np.any(indices < 0) or np.any(indices >= face_count): + raise ContractError("invalid_face_stencil") + return indices + + +def _divergence(term: Term) -> str: + return str(getattr(term, "divergence", SCATTER_DIVERGENCE)) + + +def _constraint_measure(term: Term) -> str: + """A constraint's declared weighting; an absent or None ``measure`` is ``"none"``.""" + measure = getattr(term, "measure", None) + return "none" if measure is None else str(measure) + + +class Assembler: + """Validate a binding once; evaluate F, J, S and S_u for any state and drive.""" + + def __init__(self, layout: SystemLayout, mesh: Mesh, fields: FieldMap, terms: Sequence[Term]): + self.layout = layout + self.mesh = mesh + self.fields = fields + self.terms = tuple(terms) + ids = [term.id for term in self.terms] + if len(set(ids)) != len(ids) or any(not item for item in ids): + raise ContractError("duplicate_or_empty_term_id") + blocks = {block.id: block for block in layout.blocks} + for item in mesh.supports: + if item.geometry.volumes.size != layout.node_set(item.node_set).size: + raise ContractError("mesh_support_size_mismatch") + owners = {rows.owner: rows for rows in layout.constraints} + constrained = set() + chains: dict[str, str] = {} + for term in self.terms: + if term.kind not in TERM_KINDS: + raise ContractError("unknown_term_kind") + support = mesh.support(term.support) + if not term.equations or len(set(term.equations)) != len(term.equations): + raise ContractError("term_needs_distinct_equations") + if term.kind in (PORT_FLUX, CONSTRAINT) and len(term.equations) != 1: + raise ContractError("port_and_constraint_terms_own_one_block") + if term.kind == PORT_FLUX: + if term.port is None: + raise ContractError("port_term_needs_port") + support.port(term.port) + elif term.port is not None: + raise ContractError("port_on_non_port_term") + for equation in term.equations: + block = blocks.get(equation) + if block is None: + raise ContractError("unknown_equation_block") + if block.node_set != term.support: + raise ContractError("term_support_differs_from_equation_rows") + self._check_unit(term, support, block.balance_unit, owners) + if len(set(term.dependencies)) != len(term.dependencies): + raise ContractError("duplicate_dependency") + for dependency in term.dependencies: + if dependency not in blocks: + raise ContractError("unknown_dependency_block") + layout.column_map(term.support, dependency) + if term.kind == CONSTRAINT: + if term.id in constrained: + raise ContractError("constraint_rows_owned_twice") + constrained.add(term.id) + if _constraint_measure(term) not in ("none", "cell"): + raise ContractError("unknown_constraint_measure") + elif getattr(term, "measure", None) is not None: + raise ContractError("measure_option_on_non_constraint_term") + divergence = _divergence(term) + if divergence not in (SCATTER_DIVERGENCE, CHAIN_DIVERGENCE): + raise ContractError("unknown_divergence") + if divergence == CHAIN_DIVERGENCE: + if term.kind != FACE_FLUX: + raise ContractError("divergence_option_on_non_face_term") + pairs = support.geometry.pairs + count = support.geometry.volumes.size + if not np.array_equal(pairs, np.column_stack((np.arange(count - 1), np.arange(1, count)))): + raise ContractError("chain_divergence_requires_a_chain_support") + for equation in term.equations: + if equation in chains: + raise ContractError("one_chain_face_term_per_block") + chains[equation] = term.id + if term.kind == STORAGE and not callable(getattr(term, "increment", None)): + raise ContractError("storage_term_without_increment") + if constrained != set(owners): + raise ContractError("declared_constraint_rows_without_owner") + for term in self.terms: + if term.kind == FACE_FLUX and _divergence(term) == SCATTER_DIVERGENCE: + if any(equation in chains for equation in term.equations): + raise ContractError("chain_face_term_must_be_the_only_face_term") + self._constraint_mask = layout.constraint_mask() + self._constraint_mask.setflags(write=False) + self._ratios = {item.id: mesh.embedding_ratio(layout, item.id) + for item in layout.node_sets if item.parent is not None} + digest = sha256(b"solarlab.assembler.v1") + for part in (layout.identity, mesh.identity, fields.identity): + digest.update(part.encode()) + for term in self.terms: + digest.update(json.dumps([term.id, term.kind, term.identity]).encode()) + self.identity = digest.hexdigest() + + @staticmethod + def _check_unit(term: Term, support: SupportGeometry, balance: Unit, + owners: Mapping[str, ConstraintRows]) -> None: + g = support.geometry + if term.kind == FACE_FLUX: + ok = term.unit * g.face_unit == balance + elif term.kind == CELL_SOURCE: + ok = term.unit * g.volume_unit == balance + elif term.kind == PORT_FLUX: + assert term.port is not None + ok = term.unit * support.port(term.port).measure_unit == balance + elif term.kind == STORAGE: + ok = term.unit * g.volume_unit == balance * SECOND + else: + rows = owners.get(term.id) + if rows is None or term.equations != (rows.block,): + raise ContractError("constraint_term_without_declared_rows") + weighted = _constraint_measure(term) == "cell" + ok = rows.unit == (term.unit * g.volume_unit if weighted else term.unit) + if not ok: + raise ContractError("unit_mismatch") + + # -- evaluation --------------------------------------------------------------------- + + def state(self, u: ArrayLike, inputs: OperatingInputs) -> EvaluationState | None: + """Shared evaluation state, or None outside the field map's domain.""" + values = np.array(u, dtype=float, copy=True) + if values.shape != (self.layout.size,): + raise ContractError("coordinate_size_mismatch") + values.setflags(write=False) + fields = self.fields.evaluate(self.layout, values, inputs) + if not fields.admissible: + return None + return EvaluationState(self.layout, values, inputs, fields.fields, self._ratios) + + def embedding_ratio(self, node_set: str) -> Vector: + return self._ratios[node_set] + + def _evaluate(self, state: EvaluationState, derivatives: bool, kinds: tuple[str, ...], + block_id: str | None = None) -> Evaluated: + results = [] + for term in self.terms: + if term.kind not in kinds or (block_id is not None and block_id not in term.equations): + continue + values = term.evaluate(state, derivatives=derivatives) + if set(values) != set(term.equations): + raise ContractError("term_returned_undeclared_equations") + for value in values.values(): + expected: tuple[type, ...] = ((FaceValue,) if term.kind == FACE_FLUX else + (LocalValue, ReductionValue) if term.kind == CONSTRAINT + else (LocalValue,)) + if not isinstance(value, expected): + raise ContractError("term_value_kind_mismatch") + tangents = value.left if isinstance(value, FaceValue) else value.tangents + if not set(tangents) <= set(term.dependencies): + raise ContractError("tangent_with_undeclared_dependency") + results.append((term, values)) + return results + + @staticmethod + def _parts(results: Evaluated, kind: str, block_id: str, port: str | None = None) -> list[TermValue]: + return [values[block_id] for term, values in results + if term.kind == kind and block_id in values and term.port == port] + + def _columns(self, support: str, dependency: str) -> Index: + local = self.layout.column_map(support, dependency) + result: Index = np.where(local >= 0, self.layout.offsets[dependency].start + local, -1) + return result + + def _balance(self, block_id: str, results: Evaluated) -> Vector: + node_set = self.layout.block(block_id).node_set + support = self.mesh.support(node_set) + g = support.geometry + row = np.zeros(self.layout.node_set(node_set).size) + chain = [cast(FaceValue, values[block_id]).flux for term, values in results + if term.kind == FACE_FLUX and block_id in values and _divergence(term) == CHAIN_DIVERGENCE] + faces = [cast(FaceValue, values[block_id]).flux for term, values in results + if term.kind == FACE_FLUX and block_id in values and _divergence(term) == SCATTER_DIVERGENCE] + if chain: + # Assigned, not added to the zero row: the historical expression. + row = -np.diff(np.r_[0.0, _sum(_pieces(chain, g.face_measures)), 0.0]) + for flux in (_pieces(faces, g.face_measures) if faces else ()): + divergence = np.zeros(row.shape) + np.add.at(divergence, g.pairs[:, 0], -flux) + np.add.at(divergence, g.pairs[:, 1], flux) + row = row + divergence + cells = [cast(LocalValue, value).value for value in self._parts(results, CELL_SOURCE, block_id)] + for source in (_pieces(cells, g.volumes) if cells else ()): + row = row + source + for port in support.ports: + parts = [cast(LocalValue, value).value + for value in self._parts(results, PORT_FLUX, block_id, port.id)] + for exchange in (_pieces(parts, port.measures) if parts else ()): + np.add.at(row, np.asarray(port.nodes, dtype=np.intp), -port.outward_normal * exchange) + return row + + def _balance_jacobian(self, block_id: str, results: Evaluated, triplets: _Triplets) -> None: + node_set = self.layout.block(block_id).node_set + support = self.mesh.support(node_set) + g = support.geometry + rows = self.layout.rows(block_id) + faces = [cast(FaceValue, value) for value in self._parts(results, FACE_FLUX, block_id)] + dependencies = list(dict.fromkeys(dep for value in faces for dep in value.left)) + if dependencies: + left, right = g.pairs[:, 0], g.pairs[:, 1] + sides = [[_pieces([getattr(value, side)[dependency] for value in faces + if dependency in getattr(value, side)], g.face_measures) + for side in ("left", "right")] for dependency in dependencies] + for piece in range(max(len(pieces) for pair in sides for pieces in pair)): + # Each face emits its left row, then its right row, before the next face. + entry_rows = np.empty((left.size, 2, 2 * len(dependencies)), dtype=np.intp) + entry_rows[:, 0, :] = rows[left][:, None] + entry_rows[:, 1, :] = rows[right][:, None] + entry_cols = np.full(entry_rows.shape, -1, dtype=np.intp) + entry_vals = np.zeros(entry_rows.shape) + for k, dependency in enumerate(dependencies): + columns = self._columns(node_set, dependency) + for offset, nodes in ((0, left), (1, right)): + pieces = sides[k][offset] + if piece >= len(pieces): + continue + entry_cols[:, :, 2 * k + offset] = columns[nodes][:, None] + entry_vals[:, 0, 2 * k + offset] = -pieces[piece] + entry_vals[:, 1, 2 * k + offset] = pieces[piece] + triplets.add(entry_rows, entry_cols, entry_vals) + cells = [cast(LocalValue, value) for value in self._parts(results, CELL_SOURCE, block_id)] + for dependency in dict.fromkeys(dep for value in cells for dep in value.tangents): + for tangent in _pieces([value.tangents[dependency] for value in cells + if dependency in value.tangents], g.volumes): + triplets.add(rows, self._columns(node_set, dependency), tangent) + for port in support.ports: + values = [cast(LocalValue, value) for value in self._parts(results, PORT_FLUX, block_id, port.id)] + nodes = np.asarray(port.nodes, dtype=np.intp) + for dependency in dict.fromkeys(dep for value in values for dep in value.tangents): + for tangent in _pieces([value.tangents[dependency] for value in values + if dependency in value.tangents], port.measures): + triplets.add(rows[nodes], self._columns(node_set, dependency)[nodes], + -port.outward_normal * tangent) + + def _replace_constraints(self, results: Evaluated, F: Vector, triplets: _Triplets | None) -> None: + for term, values in results: + rows = self.layout.constraint_rows(term.id) + nodes: Index = np.asarray(rows.nodes, dtype=np.intp) + global_rows = self.layout.rows(rows.block, nodes) + weighted = _constraint_measure(term) == "cell" + volumes = self.mesh.support(term.support).geometry.volumes + reduction = values[rows.block] + if isinstance(reduction, ReductionValue): + if nodes.size != 1: + raise ContractError("reduction_constraint_owns_one_row") + # fsum of the weighted node list, then one subtraction. + total = math.fsum(_sum(_pieces([reduction.summand], volumes, weighted=weighted)).tolist()) + if reduction.reference is not None: + total = total - math.fsum( + _sum(_pieces([reduction.reference], volumes, weighted=weighted)).tolist()) + F[global_rows] = total + if triplets is not None: + for dependency, tangent in reduction.tangents.items(): + columns = self._columns(term.support, dependency) + values_ = _sum(_pieces([tangent], volumes, weighted=weighted)) + triplets.add(np.full(columns.size, global_rows[0]), columns, values_) + continue + value = cast(LocalValue, reduction) + measure = volumes[nodes] if weighted else np.empty(nodes.size) + F[global_rows] = _sum(_pieces([value.value], measure, weighted=weighted)) + if triplets is not None: + for dependency, tangent in value.tangents.items(): + triplets.add(global_rows, self._columns(term.support, dependency)[nodes], + _sum(_pieces([tangent], measure, weighted=weighted))) + + def evaluate(self, u: ArrayLike, inputs: OperatingInputs, *, derivatives: bool = True, + storage: bool = False) -> AssembledSystem: + """F (with J when ``derivatives``), and S (with S_u) when ``storage``.""" + state = self.state(u, inputs) + size = self.layout.size + if state is None: + if derivatives or storage: + raise FloatingPointError("state outside the field map's admissible domain") + nan = np.full(size, np.nan) + return AssembledSystem(self.layout, False, nan, nan.copy()) + results = self._evaluate(state, derivatives, (FACE_FLUX, CELL_SOURCE, PORT_FLUX)) + constraints = self._evaluate(state, derivatives, (CONSTRAINT,)) + balance = np.zeros(size) + for block in self.layout.blocks: + balance[self.layout.offsets[block.id]] = self._balance(block.id, results) + F = balance.copy() + J: csc_matrix | None = None + nonfinite: NDArray[np.bool_] | None = None + if derivatives: + triplets = _Triplets() + for block in self.layout.blocks: + self._balance_jacobian(block.id, results, triplets) + nonfinite = triplets.nonfinite_rows(self._constraint_mask) + nonfinite.setflags(write=False) + replaced = _Triplets() + self._replace_constraints(constraints, F, replaced) + kept = triplets.without_rows(self._constraint_mask) + kept.extend(replaced) + J = kept.matrix(size) + else: + self._replace_constraints(constraints, F, None) + S: Vector | None = None + S_u: csc_matrix | None = None + if storage: + S, S_u = self._storage(state, derivatives) + balance.setflags(write=False) + F.setflags(write=False) + return AssembledSystem(self.layout, True, F, balance, J, S, S_u, nonfinite) + + def _storage(self, state: EvaluationState, derivatives: bool, *, + physical: bool = False) -> tuple[Vector, csc_matrix | None]: + results = self._evaluate(state, derivatives, (STORAGE,)) + S = np.zeros(self.layout.size) + triplets = _Triplets() + for block in self.layout.blocks: + g = self.mesh.support(block.node_set).geometry + values = [cast(LocalValue, value) for value in self._parts(results, STORAGE, block.id)] + if not values: + continue + S[self.layout.offsets[block.id]] = _sum(_pieces([value.value for value in values], g.volumes)) + if derivatives: + rows = self.layout.rows(block.id) + for dependency in dict.fromkeys(dep for value in values for dep in value.tangents): + for tangent in _pieces([value.tangents[dependency] for value in values + if dependency in value.tangents], g.volumes): + triplets.add(rows, self._columns(block.node_set, dependency), tangent) + if not physical: + S[self._constraint_mask] *= 0.0 + triplets = triplets.without_rows(self._constraint_mask) + S.setflags(write=False) + return S, (triplets.matrix(self.layout.size) if derivatives else None) + + def storage(self, u: ArrayLike, inputs: OperatingInputs, *, + derivatives: bool = True) -> tuple[Vector, csc_matrix | None]: + """S (zero on constraint rows) and, with ``derivatives``, S_u; F and J are not formed.""" + state = self.state(u, inputs) + if state is None: + raise FloatingPointError("state outside the field map's admissible domain") + return self._storage(state, derivatives) + + def physical_storage(self, u: ArrayLike, inputs: OperatingInputs) -> Vector: + """Storage including constraint rows (actual boundary-cell inventories).""" + state = self.state(u, inputs) + if state is None: + raise FloatingPointError("state outside the field map's admissible domain") + return self._storage(state, False, physical=True)[0] + + def storage_increment(self, u: ArrayLike, inputs: OperatingInputs, previous_u: ArrayLike, + previous_inputs: OperatingInputs, *, physical: bool = False) -> Vector: + """Cancellation-free ``S(u) - S(previous_u)``; zero on constraint rows unless physical.""" + state = self.state(u, inputs) + previous = self.state(previous_u, previous_inputs) + if state is None or previous is None: + raise FloatingPointError("storage increment requires two admissible states") + increments = [] + for term in self.terms: + if term.kind == STORAGE: + values = cast(StorageTerm, term).increment(state, previous) + if set(values) != set(term.equations): + raise ContractError("term_returned_undeclared_equations") + increments.append(values) + result = np.zeros(self.layout.size) + for block in self.layout.blocks: + parts = [item[block.id] for item in increments if block.id in item] + if parts: + g = self.mesh.support(block.node_set).geometry + result[self.layout.offsets[block.id]] = _sum(_pieces(parts, g.volumes)) + if not physical: + result[self._constraint_mask] *= 0.0 + return result + + def reaction_flux(self, system: AssembledSystem, block_id: str, port_id: str, + storage_rate: Vector | None = None) -> Vector: + """Port flux along the support axis that closes constrained boundary cells. + + Each port cell satisfies ``balance - rate + (-n_out) * measure * flux = 0``; + ``storage_rate`` is the physical storage rate of the full layout (transient). + """ + node_set = self.layout.block(block_id).node_set + port = self.mesh.support(node_set).port(port_id) + rows = self.layout.rows(block_id, port.nodes) + if not np.all(self._constraint_mask[rows]): + raise ContractError("reaction_flux_requires_constraint_rows") + defect = system.balance[rows] + if storage_rate is not None: + defect = defect - np.asarray(storage_rate, dtype=float)[rows] + result: Vector = defect / (port.outward_normal * port.measures) + return result + + def reaction_flux_ordered(self, u: ArrayLike, inputs: OperatingInputs, block_id: str, port_id: str, *, + normal_faces: Index, transverse_faces: Index) -> Vector: + """Constrained-port flux along the support axis, in the historical readout grouping. + + With ``f`` the block's plain face parts summed in Term order and ``c`` + its plain cell parts summed in Term order, times the cell measure:: + + t = scatter(-f*w_f to tails, then +f*w_f to heads) over transverse_faces + q = (t[port] + c[port]) / port_measure + flux = f[normal_faces] - q (outward normal -1), f[normal_faces] + q (+1) + + This keeps the raw normal flux outside the quotient, which the full + ``balance`` of :meth:`reaction_flux` has already rounded together with + the transverse/source group. Each measure is still applied once, here. + The stencils are validated (:meth:`reaction_flux_ordered_identity` + records them); weighted parts, chain divergences, port exchanges on + the port nodes and unconstrained port rows are refused. DC only. + """ + port, nodes, normal, transverse = self._ordered_stencil(block_id, port_id, normal_faces, transverse_faces) + state = self.state(u, inputs) + if state is None: + raise FloatingPointError("state outside the field map's admissible domain") + results = self._evaluate(state, False, (FACE_FLUX, CELL_SOURCE), block_id) + if any(_divergence(term) != SCATTER_DIVERGENCE for term, _ in results if term.kind == FACE_FLUX): + raise ContractError("ordered_readout_needs_scatter_face_terms") + faces = [cast(FaceValue, value).flux for value in self._parts(results, FACE_FLUX, block_id)] + cells = [cast(LocalValue, value).value for value in self._parts(results, CELL_SOURCE, block_id)] + if not faces: + raise ContractError("ordered_readout_needs_a_face_flux") + if any(isinstance(part, Weighted) for part in (*faces, *cells)): + raise ContractError("ordered_readout_needs_plain_contributions") + g = self.mesh.support(self.layout.block(block_id).node_set).geometry + # The same plain-run folds as F: parts summed in Term order, weighted once. + raw = np.broadcast_to(_sum([np.asarray(part, dtype=float) for part in faces]), g.face_measures.shape) + weighted = raw[transverse] * g.face_measures[transverse] + inflow = np.zeros(g.volumes.size) + np.add.at(inflow, g.pairs[transverse, 0], -weighted) + np.add.at(inflow, g.pairs[transverse, 1], weighted) + source = (np.broadcast_to(_sum([np.asarray(part, dtype=float) for part in cells]), g.volumes.shape) + * g.volumes if cells else np.zeros(g.volumes.size)) + quotient = (inflow[nodes] + source[nodes]) / port.measures + flux = raw[normal] + result: Vector = flux - quotient if port.outward_normal < 0 else flux + quotient + return result + + def reaction_flux_ordered_identity(self, block_id: str, port_id: str, *, + normal_faces: Index, transverse_faces: Index) -> str: + """Content identity of one ordered readout: operation, both stencils and this binding.""" + _, _, normal, transverse = self._ordered_stencil(block_id, port_id, normal_faces, transverse_faces) + record = ["solarlab.reaction_flux_ordered.v1", self.identity, block_id, port_id, + normal.tolist(), transverse.tolist()] + return sha256(json.dumps(record, separators=(",", ":")).encode()).hexdigest() + + def _ordered_stencil(self, block_id: str, port_id: str, normal_faces: ArrayLike, + transverse_faces: ArrayLike) -> tuple[Port, Index, Index, Index]: + """Validated port, port nodes and face stencils of an ordered readout.""" + block = self.layout.block(block_id) + support = self.mesh.support(block.node_set) + port = support.port(port_id) + g = support.geometry + nodes: Index = np.asarray(port.nodes, dtype=np.intp) + if not np.all(self._constraint_mask[self.layout.rows(block_id, nodes)]): + raise ContractError("reaction_flux_requires_constraint_rows") + if port.measure_unit != g.face_unit: + raise ContractError("ordered_readout_needs_face_unit_port_measures") + normal, transverse = (_face_indices(faces, g.face_measures.size) + for faces in (normal_faces, transverse_faces)) + if normal.size != nodes.size or np.unique(normal).size != normal.size: + raise ContractError("normal_faces_need_one_face_per_port_node") + own, other = ((g.pairs[normal, 0], g.pairs[normal, 1]) if port.outward_normal < 0 + else (g.pairs[normal, 1], g.pairs[normal, 0])) + if not np.array_equal(own, nodes) or np.any(np.isin(other, nodes)): + raise ContractError("normal_faces_must_leave_the_port_nodes_in_port_order") + if np.any(np.diff(transverse) <= 0): + raise ContractError("transverse_faces_must_keep_the_face_order") + if np.any(np.isin(transverse, normal)): + raise ContractError("transverse_faces_overlap_normal_faces") + incident = np.flatnonzero(np.isin(g.pairs, nodes).any(axis=1)) + if np.setdiff1d(incident, np.union1d(normal, transverse)).size: + raise ContractError("transverse_faces_miss_an_incident_face") + for term in self.terms: + if term.kind == PORT_FLUX and block_id in term.equations and term.port is not None: + if np.any(np.isin(support.port(term.port).nodes, nodes)): + raise ContractError("ordered_readout_port_has_an_exchange_term") + return port, nodes, normal, transverse diff --git a/src/solarlab/equations/assembly/classical_1d.py b/src/solarlab/equations/assembly/classical_1d.py new file mode 100644 index 00000000..557ffcc7 --- /dev/null +++ b/src/solarlab/equations/assembly/classical_1d.py @@ -0,0 +1,677 @@ +"""Classical ion-free 1D electronic DC as Terms on the shared Assembler. + +The binding reuses the compiled device and its physics kernels unchanged: +the Poisson operator's displacement and capacitances, the charge ledger, the +stable SG electrochemical flux (with the optional smooth CT diffusivity), the +bound bulk recombination reaction plus an injected local law, the generation +profile, and the contact exchange kernel. Every Term writes the historical +expression of its value and tangent, so the assembled F, J, S and S_u equal +the existing :class:`~solarlab.equations.dc_1d.DC1DProblem` arrays bit for bit +(pinned by tests/unit/assembly). + +:class:`AssembledDC1DProblem` presents the assembled system with the surface +the steady driver uses (``residual``, ``jacobian``, ``fluxes``, the current +observations), plus ``storage``, ``storage_tangent`` and ``storage_increment`` +for storage-difference time steps, and the public observation kernels +``recombination_rate`` and ``contact_exchange`` that step accounting reads. +It is steady-only in the ``udot`` form. +""" + +from __future__ import annotations + +from dataclasses import dataclass, field +from hashlib import sha256 +import json +import math +from typing import Callable, Mapping, TypeAlias, cast + +import numpy as np +from numpy.typing import ArrayLike, NDArray +from scipy.sparse import csc_matrix + +from solarlab.contracts.units import ( + AREA, COULOMB, ELEMENTARY_CHARGE_C, ONE, PARTICLE, SECOND, VOLT, VOLUME, Unit, +) +from solarlab.equations.assembly.assembler import ( + AssembledSystem, Assembler, Mesh, Port, SupportGeometry, +) +from solarlab.equations.assembly.layout import Block, ConstraintRows, NodeSet, SystemLayout +from solarlab.equations.assembly.quasi_fermi import ( + ELECTRODE_QUASI_FERMI_1D_V1, ElectrodeQuasiFermiFields, quasi_fermi_potential_tangents, +) +from solarlab.equations.assembly.terms import ( + CELL_SOURCE, CONSTRAINT, FACE_FLUX, PORT_FLUX, STORAGE, Contribution, EvaluationState, + FaceValue, LocalValue, OperatingInputs, Term, TermValue, +) +from solarlab.equations.assembly.weighted import MEASURE +from solarlab.equations.dc_1d import CapabilityError, CompiledDevice1D +from solarlab.physics.contacts.boundary_flux import boundary_particle_flux +from solarlab.physics.contacts.exchange import CarrierExchangeChannel +from solarlab.physics.recombination.bulk import RecombinationRate, sum_recombination_rates +from solarlab.physics.transport.electrochemical_flux import CarrierFaceFluxes, carrier_particle_fluxes + +__all__ = [ + "AssembledDC1DProblem", "BulkRecombination", "CarrierExchange", "CarrierGeneration", + "CarrierReservoirs", "CarrierStorage", "CarrierTransport", "ClassicalDC1D", + "GaussDisplacement", "PotentialContacts", "SpaceCharge", "assembled_problem_factory", + "classical_dc_1d", +] + +Q = ELEMENTARY_CHARGE_C +NODES = "nodes" +POTENTIAL, ELECTRON, HOLE = "potential", "electron", "hole" +CARRIERS = ((ELECTRON, "n", 1.0), (HOLE, "p", -1.0)) +DISPLACEMENT_UNIT = COULOMB / AREA +CHARGE_UNIT = COULOMB / VOLUME +FLUX_UNIT = PARTICLE / (AREA * SECOND) +SOURCE_UNIT = PARTICLE / (VOLUME * SECOND) +DENSITY_UNIT = PARTICLE / VOLUME +TERM_SCHEMA = "solarlab.classical_dc_1d.terms.v1" + +Vector: TypeAlias = NDArray[np.float64] + + +def _identity(*parts: object) -> str: + return sha256(json.dumps((TERM_SCHEMA, *parts), separators=(",", ":")).encode()).hexdigest() + + +def _density(state: EvaluationState, block: str) -> Vector: + return state.field("electron_density_m3" if block == ELECTRON else "hole_density_m3") + + +@dataclass(frozen=True) +class GaussDisplacement: + """Displacement ``D = -C (phi_R - phi_L)`` [C/m2] on the Poisson channel's faces.""" + + device: CompiledDevice1D + id: str = "potential.displacement" + kind: str = FACE_FLUX + support: str = NODES + equations: tuple[str, ...] = (POTENTIAL,) + dependencies: tuple[str, ...] = (POTENTIAL,) + unit: Unit = DISPLACEMENT_UNIT + port: str | None = None + + @property + def identity(self) -> str: + return _identity(self.id, self.device.identity) + + def evaluate(self, state: EvaluationState, *, derivatives: bool) -> Mapping[str, TermValue]: + poisson = self.device.poisson + flux = poisson.face_displacement(state.field("potential_V")) + if not derivatives: + return {POTENTIAL: FaceValue(flux)} + capacitance = poisson.face_capacitance_F_m2 + return {POTENTIAL: FaceValue(flux, {POTENTIAL: capacitance}, {POTENTIAL: -capacitance})} + + +@dataclass(frozen=True) +class SpaceCharge: + """Ledger space charge [C/m3]; quasi-Fermi tangents in the historical product order.""" + + device: CompiledDevice1D + id: str = "potential.space_charge" + kind: str = CELL_SOURCE + support: str = NODES + equations: tuple[str, ...] = (POTENTIAL,) + dependencies: tuple[str, ...] = (POTENTIAL, ELECTRON, HOLE) + unit: Unit = CHARGE_UNIT + port: str | None = None + + @property + def identity(self) -> str: + return _identity(self.id, self.device.identity, ELECTRODE_QUASI_FERMI_1D_V1) + + def evaluate(self, state: EvaluationState, *, derivatives: bool) -> Mapping[str, TermValue]: + n, p = _density(state, ELECTRON), _density(state, HOLE) + rho = self.device.charge_ledger(n, p).space_charge_C_m3() + if not derivatives: + return {POTENTIAL: LocalValue(rho)} + thermal = self.device.thermal_voltage_V + return {POTENTIAL: LocalValue(rho, { + POTENTIAL: -Q * MEASURE * (n + p) / thermal, + ELECTRON: -Q * MEASURE * n, + HOLE: -Q * MEASURE * p, + })} + + +@dataclass(frozen=True) +class PotentialContacts: + """Dirichlet rows ``phi - phi_contact`` [V] at both electrodes.""" + + device: CompiledDevice1D + id: str = "potential.contacts" + kind: str = CONSTRAINT + support: str = NODES + equations: tuple[str, ...] = (POTENTIAL,) + dependencies: tuple[str, ...] = (POTENTIAL,) + unit: Unit = VOLT + port: str | None = None + + @property + def identity(self) -> str: + return _identity(self.id, self.device.identity) + + def evaluate(self, state: EvaluationState, *, derivatives: bool) -> Mapping[str, TermValue]: + phi = state.field("potential_V") + left, right = self.device.contact_potentials(state.inputs.voltage_V) + value = np.array([phi[0] - left, phi[-1] - right]) + return {POTENTIAL: LocalValue(value, {POTENTIAL: np.ones(2)} if derivatives else {})} + + +@dataclass(frozen=True) +class CarrierTransport: + """SG particle fluxes [m-2 s-1] of both carriers from the quasi-Fermi steps.""" + + device: CompiledDevice1D + id: str = "carrier.transport" + kind: str = FACE_FLUX + support: str = NODES + equations: tuple[str, ...] = (ELECTRON, HOLE) + dependencies: tuple[str, ...] = (POTENTIAL, ELECTRON, HOLE) + unit: Unit = FLUX_UNIT + port: str | None = None + + @property + def identity(self) -> str: + return _identity(self.id, self.device.identity, ELECTRODE_QUASI_FERMI_1D_V1) + + def fluxes(self, state: EvaluationState) -> CarrierFaceFluxes: + device = self.device + phi = state.field("potential_V") + electron_diffusivity = device.electron_diffusivity_faces_m2_s + hole_diffusivity = device.hole_diffusivity_faces_m2_s + if device.field_transport is not None: + transport = device.field_transport.evaluate(phi) + electron_diffusivity = transport.electron_diffusivity_m2_s + hole_diffusivity = transport.hole_diffusivity_m2_s + return carrier_particle_fluxes( + device.nodes_m, phi, _density(state, ELECTRON), _density(state, HOLE), + electron_diffusivity, hole_diffusivity, device.thermal_voltage_V, + device.parameters.band_structure, + electron_electrochemical_step=np.diff(state.block(ELECTRON)), + hole_electrochemical_step=-np.diff(state.block(HOLE)), + ) + + def evaluate(self, state: EvaluationState, *, derivatives: bool) -> Mapping[str, TermValue]: + device = self.device + fluxes = self.fluxes(state) + if not derivatives: + return {ELECTRON: FaceValue(fluxes.electron.flux), HOLE: FaceValue(fluxes.hole.flux)} + thermal = device.thermal_voltage_V + transport = None if device.field_transport is None else device.field_transport.evaluate( + state.field("potential_V")) + result: dict[str, TermValue] = {} + for block, flux, sign in ((ELECTRON, fluxes.electron, 1.0), (HOLE, fluxes.hole, -1.0)): + density = _density(state, block) + drive = sign * np.diff(state.block(block)) + left_phi, right_phi = quasi_fermi_potential_tangents(flux, drive, sign, thermal) + if transport is not None: + diffusivity = (transport.electron_diffusivity_m2_s if block == ELECTRON + else transport.hole_diffusivity_m2_s) + d_diffusivity = (transport.electron_d_diffusivity_d_field if block == ELECTRON + else transport.hole_d_diffusivity_d_field) + # SG is linear in positive D and E = -(phi_R - phi_L)/dx. + field_chain = (flux.flux / diffusivity) * d_diffusivity / np.diff(device.nodes_m) + left_phi = left_phi + field_chain + right_phi = right_phi - field_chain + left_z = sign * flux.left_density_derivative * density[:-1] + right_z = sign * flux.right_density_derivative * density[1:] + result[block] = FaceValue(flux.flux, {POTENTIAL: left_phi, block: left_z}, + {POTENTIAL: right_phi, block: right_z}) + return result + + +@dataclass(frozen=True) +class CarrierGeneration: + """Optical pair generation ``g G`` [m-3 s-1]; ``g`` is the operating drive.""" + + device: CompiledDevice1D + id: str = "carrier.generation" + kind: str = CELL_SOURCE + support: str = NODES + equations: tuple[str, ...] = (ELECTRON, HOLE) + dependencies: tuple[str, ...] = () + unit: Unit = SOURCE_UNIT + port: str | None = None + + @property + def identity(self) -> str: + return _identity(self.id, self.device.identity, self.device.generation.binding_sha256) + + def evaluate(self, state: EvaluationState, *, derivatives: bool) -> Mapping[str, TermValue]: + source = state.inputs.generation_scale * self.device.generation.source_m3_s + return {ELECTRON: LocalValue(source), HOLE: LocalValue(source)} + + +@dataclass(frozen=True) +class BulkRecombination: + """Net bulk recombination ``-R`` [m-3 s-1] on both carrier balances. + + The bound reaction plus the optional injected local law; the injected + rate is added inside ``R`` so the pair source keeps one subtraction. + """ + + device: CompiledDevice1D + id: str = "carrier.recombination" + kind: str = CELL_SOURCE + support: str = NODES + equations: tuple[str, ...] = (ELECTRON, HOLE) + dependencies: tuple[str, ...] = (POTENTIAL, ELECTRON, HOLE) + unit: Unit = SOURCE_UNIT + port: str | None = None + + @property + def identity(self) -> str: + extra = self.device.additional_recombination + return _identity(self.id, self.device.identity, ELECTRODE_QUASI_FERMI_1D_V1, + None if extra is None else extra.model_id) + + def rate(self, n: Vector, p: Vector, *, derivatives: bool = True) -> RecombinationRate: + """Bound bulk reaction plus the injected local law, with exact partials.""" + evaluation = self.device.recombination.evaluate(n, p, derivatives=derivatives) + evaluation.require_domain() + total = evaluation.total + model = self.device.additional_recombination + if model is not None: + extra = model.evaluate(n, p) + if not isinstance(extra, RecombinationRate) or not extra.has_derivatives: + raise ValueError("a local recombination model must return rate and both exact partials") + for value in (extra.rate, extra.d_rate_dn, extra.d_rate_dp): + array = np.asarray(value) + if array.shape != n.shape or not np.all(np.isfinite(array)): + raise ValueError("local recombination outputs must be finite on every node") + total = sum_recombination_rates(total, extra) + return total + + def evaluate(self, state: EvaluationState, *, derivatives: bool) -> Mapping[str, TermValue]: + n, p = _density(state, ELECTRON), _density(state, HOLE) + rate = self.rate(n, p, derivatives=derivatives) + loss = -np.asarray(rate.rate) + if not derivatives: + return {ELECTRON: LocalValue(loss), HOLE: LocalValue(loss)} + assert rate.d_rate_dn is not None and rate.d_rate_dp is not None + source_n = -np.asarray(rate.d_rate_dn) * n + source_p = np.asarray(rate.d_rate_dp) * p + source_phi = (source_n + source_p) / self.device.thermal_voltage_V + tangents: dict[str, Contribution] = {POTENTIAL: source_phi, ELECTRON: source_n, HOLE: source_p} + return {ELECTRON: LocalValue(loss, tangents), HOLE: LocalValue(loss, tangents)} + + +def _reference(device: CompiledDevice1D, block: str, voltage_V: float) -> Vector: + references = device.carrier_reference_potentials(voltage_V) + return references[0] if block == ELECTRON else references[1] + + +@dataclass(frozen=True) +class CarrierReservoirs: + """Fixed-reservoir rows ``sign (shift + z)``: the carrier's log density excess.""" + + device: CompiledDevice1D + block: str + nodes: tuple[int, ...] + kind: str = CONSTRAINT + support: str = NODES + unit: Unit = ONE + port: str | None = None + + @property + def id(self) -> str: + return self.block + ".reservoirs" + + @property + def equations(self) -> tuple[str, ...]: + return (self.block,) + + @property + def dependencies(self) -> tuple[str, ...]: + return (POTENTIAL, self.block) + + @property + def identity(self) -> str: + return _identity(self.id, self.device.identity, list(self.nodes), ELECTRODE_QUASI_FERMI_1D_V1) + + def evaluate(self, state: EvaluationState, *, derivatives: bool) -> Mapping[str, TermValue]: + sign = 1.0 if self.block == ELECTRON else -1.0 + nodes: NDArray[np.intp] = np.asarray(self.nodes, dtype=np.intp) + thermal = self.device.thermal_voltage_V + reference = _reference(self.device, self.block, state.inputs.voltage_V) + shift = (state.field("potential_V")[nodes] - reference[nodes]) / thermal + value = sign * (shift + state.block(self.block)[nodes]) + tangents: dict[str, Contribution] = {} + if derivatives: + tangents = {POTENTIAL: np.full(nodes.size, sign / thermal), self.block: np.full(nodes.size, sign)} + return {self.block: LocalValue(value, tangents)} + + +@dataclass(frozen=True) +class CarrierExchange: + """Finite-rate or blocking exchange ``n_out S (c - c_eq)`` through one port.""" + + device: CompiledDevice1D + block: str + channel: CarrierExchangeChannel + node: int + kind: str = PORT_FLUX + support: str = NODES + unit: Unit = FLUX_UNIT + + @property + def id(self) -> str: + return f"{self.block}.exchange.{self.channel.side}" + + @property + def port(self) -> str: + return self.channel.side + + @property + def equations(self) -> tuple[str, ...]: + return (self.block,) + + @property + def dependencies(self) -> tuple[str, ...]: + return (POTENTIAL, self.block) + + @property + def identity(self) -> str: + return _identity(self.id, self.device.identity, ELECTRODE_QUASI_FERMI_1D_V1) + + def exchange(self, potential: float, coordinate: float, voltage_V: float) -> tuple[float, float]: + """``(n_out S (c - c_eq), n_out S)`` at the port node, from its own coordinates. + + The density excess is ``c_eq expm1(log(c/c_eq))``, never a difference + of rounded densities. + """ + thermal = self.device.thermal_voltage_V + reference = _reference(self.device, self.block, voltage_V) + shift = (potential - reference[self.node]) / thermal + exponent = shift + coordinate if self.block == ELECTRON else -shift - coordinate + channel = self.channel + # The kernel supplies n_out * S, including exactly zero for blocking. + slope = boundary_particle_flux(channel, channel.reservoir_density_m3).density_derivative + excess = channel.reservoir_density_m3 * np.expm1(exponent) + return slope * excess, slope + + def evaluate(self, state: EvaluationState, *, derivatives: bool) -> Mapping[str, TermValue]: + sign = 1.0 if self.block == ELECTRON else -1.0 + thermal = self.device.thermal_voltage_V + node = self.node + flux, slope = self.exchange(state.block(POTENTIAL)[node], state.block(self.block)[node], + state.inputs.voltage_V) + value = np.array([flux]) + tangents: dict[str, Contribution] = {} + if derivatives: + density = _density(state, self.block)[node] + tangents = {POTENTIAL: np.array([slope * sign * density / thermal]), + self.block: np.array([slope * sign * density])} + return {self.block: LocalValue(value, tangents)} + + +@dataclass(frozen=True) +class CarrierStorage: + """Physical carrier inventories ``S = w c`` and their cancellation-free increment.""" + + device: CompiledDevice1D + id: str = "carrier.storage" + kind: str = STORAGE + support: str = NODES + equations: tuple[str, ...] = (ELECTRON, HOLE) + dependencies: tuple[str, ...] = (POTENTIAL, ELECTRON, HOLE) + unit: Unit = DENSITY_UNIT + port: str | None = None + + @property + def identity(self) -> str: + return _identity(self.id, self.device.identity, ELECTRODE_QUASI_FERMI_1D_V1) + + def evaluate(self, state: EvaluationState, *, derivatives: bool) -> Mapping[str, TermValue]: + n, p = _density(state, ELECTRON), _density(state, HOLE) + if not derivatives: + return {ELECTRON: LocalValue(n), HOLE: LocalValue(p)} + thermal = self.device.thermal_voltage_V + return { + ELECTRON: LocalValue(n, {POTENTIAL: MEASURE * n / thermal, ELECTRON: MEASURE * n}), + HOLE: LocalValue(p, {POTENTIAL: -(MEASURE * p) / thermal, HOLE: -(MEASURE * p)}), + } + + def increment(self, state: EvaluationState, previous: EvaluationState) -> Mapping[str, Contribution]: + """``S_old expm1(log(c_new/c_old))``: physical secant without subtraction.""" + device = self.device + thermal = device.thermal_voltage_V + delta = {block: state.block(block) - previous.block(block) for block in (POTENTIAL, ELECTRON, HOLE)} + old = device.carrier_reference_energies(previous.inputs.voltage_V) + new = device.carrier_reference_energies(state.inputs.voltage_V) + log_n = (delta[POTENTIAL] + (new[0] - old[0])) / thermal + delta[ELECTRON] + log_p = -(delta[POTENTIAL] + (new[1] - old[1])) / thermal - delta[HOLE] + return { + ELECTRON: _density(previous, ELECTRON) * MEASURE * np.expm1(log_n), + HOLE: _density(previous, HOLE) * MEASURE * np.expm1(log_p), + } + + +def _layout(device: CompiledDevice1D) -> SystemLayout: + count = device.node_count + constraints = [ConstraintRows(POTENTIAL, (0, count - 1), "potential.contacts", VOLT)] + for block, carrier, _ in CARRIERS: + nodes = tuple(node for side, node in (("left", 0), ("right", count - 1)) + if device.channel(carrier, side).kind == "fixed_reservoir") + if nodes: + constraints.append(ConstraintRows(block, nodes, block + ".reservoirs", ONE)) + return SystemLayout( + (NodeSet(NODES, count),), + (Block(POTENTIAL, NODES, VOLT, DISPLACEMENT_UNIT), + Block(ELECTRON, NODES, ONE, FLUX_UNIT), + Block(HOLE, NODES, ONE, FLUX_UNIT)), + tuple(constraints), + ) + + +def _mesh(device: CompiledDevice1D) -> Mesh: + geometry = device.geometry + if not np.array_equal(geometry.cell_measures_m[1:-1], device.poisson.interior_widths_m): + raise CapabilityError("Gauss and carrier control volumes must agree on interior cells") + contract = geometry.to_contract_geometry(cell_support=NODES, face_support=NODES + ".faces") + # Per unit cross-section the port measure is the face area, unit ONE as + # for the internal faces of the contract geometry. + ports = tuple(Port(face.id, (face.node,), face.outward_normal, np.array([face.area_m2]), ONE) + for face in geometry.ports) + return Mesh((SupportGeometry(NODES, contract, ports),)) + + +@dataclass(frozen=True) +class ClassicalDC1D: + """The assembled classical 1D system of one compiled device.""" + + device: CompiledDevice1D + assembler: Assembler = field(init=False, repr=False) + transport: CarrierTransport = field(init=False, repr=False) + recombination: BulkRecombination = field(init=False, repr=False) + exchanges: Mapping[tuple[str, str], CarrierExchange] = field(init=False, repr=False) + + def __post_init__(self) -> None: + device = self.device + layout = _layout(device) + transport = CarrierTransport(device) + recombination = BulkRecombination(device) + terms: list[Term] = [ + GaussDisplacement(device), SpaceCharge(device), PotentialContacts(device), + transport, CarrierGeneration(device), recombination, CarrierStorage(device), + ] + exchanges: dict[tuple[str, str], CarrierExchange] = {} + for block, carrier, _ in CARRIERS: + fixed = [] + for side, node in (("left", 0), ("right", device.node_count - 1)): + channel = device.channel(carrier, side) + if channel.kind == "fixed_reservoir": + fixed.append(node) + else: + exchanges[(block, side)] = CarrierExchange(device, block, channel, node) + if fixed: + terms.append(CarrierReservoirs(device, block, tuple(fixed))) + terms.extend(exchanges.values()) + object.__setattr__(self, "assembler", Assembler( + layout, _mesh(device), ElectrodeQuasiFermiFields(device), terms)) + object.__setattr__(self, "transport", transport) + object.__setattr__(self, "recombination", recombination) + object.__setattr__(self, "exchanges", exchanges) + + @property + def layout(self) -> SystemLayout: + return self.assembler.layout + + @property + def identity(self) -> str: + return self.assembler.identity + + +def classical_dc_1d(device: CompiledDevice1D) -> ClassicalDC1D: + """Bind the classical electronic Terms of one compiled device.""" + if not isinstance(device, CompiledDevice1D): + raise TypeError("classical_dc_1d requires a CompiledDevice1D") + return ClassicalDC1D(device) + + +def assembled_problem_factory( + device: CompiledDevice1D, +) -> Callable[[CompiledDevice1D, float, float], AssembledDC1DProblem]: + """Constructor-compatible stand-in for ``DC1DProblem``: one binding, any operating point. + + The steady driver builds ``DC1DProblem(device, voltage_V, generation_scale)`` + by name; this factory has that signature and reuses one bound system. + """ + system = classical_dc_1d(device) + + def factory(bound: CompiledDevice1D, voltage_V: float, generation_scale: float) -> AssembledDC1DProblem: + return AssembledDC1DProblem(bound, voltage_V, generation_scale, system) + + return factory + + +@dataclass(frozen=True) +class AssembledDC1DProblem: + """The assembled system with the DC1DProblem surface used by the steady driver.""" + + device: CompiledDevice1D + voltage_V: float = 0.0 + generation_scale: float = 0.0 + system: ClassicalDC1D | None = field(default=None, repr=False, compare=False) + + def __post_init__(self) -> None: + self.device.contact_potentials(self.voltage_V) + if not math.isfinite(self.generation_scale) or self.generation_scale < 0.0: + raise ValueError("generation_scale must be finite and non-negative") + if self.system is None: + object.__setattr__(self, "system", classical_dc_1d(self.device)) + elif self.system.device is not self.device: + raise ValueError("the assembled system must be bound to this device") + + @property + def binding(self) -> ClassicalDC1D: + assert self.system is not None + return self.system + + @property + def inputs(self) -> OperatingInputs: + return OperatingInputs(self.voltage_V, self.generation_scale) + + def at(self, voltage_V: float, generation_scale: float) -> AssembledDC1DProblem: + """Same bound system at another operating point (no rebinding).""" + return AssembledDC1DProblem(self.device, voltage_V, generation_scale, self.system) + + def _steady_only(self, udot: ArrayLike | None) -> None: + """Admit udot exactly as DC1DProblem does, then refuse any nonzero rate.""" + if udot is None: + return + derivative = np.asarray(udot, dtype=float) + if derivative.shape != (3 * self.device.node_count,) or not np.all(np.isfinite(derivative)): + raise ValueError("udot must be finite and match the coordinate vector") + if np.any(derivative != 0.0): + raise CapabilityError("the assembled system is time-stepped in storage-difference form, not by udot") + + def assemble(self, u: ArrayLike, *, derivatives: bool = True, storage: bool = False) -> AssembledSystem: + return self.binding.assembler.evaluate(u, self.inputs, derivatives=derivatives, storage=storage) + + def residual(self, u: ArrayLike, udot: ArrayLike | None = None) -> Vector: + self._steady_only(udot) + return np.array(self.assemble(u, derivatives=False).F, copy=True) + + def jacobian(self, u: ArrayLike, udot: ArrayLike | None = None, *, alpha: float = 0.0) -> csc_matrix: + self._steady_only(udot) + system = self.assemble(u) + assert system.J is not None + if alpha == 0.0: + return system.J + if not math.isfinite(alpha): + raise ValueError("alpha must be finite") + return csc_matrix(system.J + alpha * self.storage_jacobian(u)) + + def storage(self, u: ArrayLike) -> Vector: + return np.array(self.binding.assembler.storage(u, self.inputs, derivatives=False)[0], copy=True) + + def storage_tangent(self, u: ArrayLike) -> csc_matrix: + tangent = self.binding.assembler.storage(u, self.inputs)[1] + assert tangent is not None + return tangent + + def storage_jacobian(self, u: ArrayLike) -> csc_matrix: + """Signed ``M = dR/dudot = -S_u`` (the historical name).""" + return cast(csc_matrix, -self.storage_tangent(u)) + + def storage_increment(self, u: ArrayLike, old_problem: AssembledDC1DProblem, old_u: ArrayLike) -> Vector: + if old_problem.device.identity != self.device.identity: + raise ValueError("a storage increment needs a previous state of the same device") + return self.binding.assembler.storage_increment(u, self.inputs, old_u, old_problem.inputs) + + def fluxes(self, u: ArrayLike) -> CarrierFaceFluxes: + state = self.binding.assembler.state(u, self.inputs) + if state is None: + raise FloatingPointError("state outside the field map's admissible domain") + return self.binding.transport.fluxes(state) + + def recombination_rate(self, n: Vector, p: Vector, *, derivatives: bool = True) -> RecombinationRate: + """Net bulk recombination (bound reaction plus injected law) of the bound Term.""" + return self.binding.recombination.rate(n, p, derivatives=derivatives) + + def contact_exchange(self, u: ArrayLike, channel: CarrierExchangeChannel, node: int) -> tuple[float, float]: + """Exchange flux ``n_out S (c - c_eq)`` and slope ``n_out S`` of one bound port channel. + + Defined for the finite-rate and blocking channels the binding owns; a + fixed-reservoir channel is a constraint row, not an exchange. + """ + values = np.asarray(u, dtype=float) + count = self.device.node_count + if values.shape != (3 * count,): + raise ValueError("u must match the coordinate vector") + block = ELECTRON if channel.carrier == "n" else HOLE + exchange = self.binding.exchanges.get((block, channel.side)) + if exchange is None or exchange.channel != channel or exchange.node != node: + raise ValueError("no bound exchange channel at this port node") + offset = count if block == ELECTRON else 2 * count + return exchange.exchange(values[node], values[offset + node], self.voltage_V) + + def current_density(self, u: ArrayLike) -> Vector: + fluxes = self.fluxes(u) + result: Vector = fluxes.electron_current() + fluxes.hole_current() + return result + + def contact_current_density(self, u: ArrayLike) -> Vector: + """Left/right terminal currents [A/m2] from each channel's own port flux.""" + binding = self.binding + system = self.assemble(u, derivatives=False) + state = binding.assembler.state(u, self.inputs) + assert state is not None + currents = [] + for side in ("left", "right"): + total = 0.0 + for block, carrier, _ in CARRIERS: + charge = -Q if carrier == "n" else Q + exchange = binding.exchanges.get((block, side)) + if exchange is None: + flux = float(binding.assembler.reaction_flux(system, block, side)[0]) + else: + value = exchange.evaluate(state, derivatives=False)[block] + assert isinstance(value, LocalValue) + flux = np.asarray(value.value, dtype=float)[0] + total += charge * flux + currents.append(total) + return np.asarray(currents) diff --git a/src/solarlab/equations/assembly/ionic_1d.py b/src/solarlab/equations/assembly/ionic_1d.py new file mode 100644 index 00000000..6fe82780 --- /dev/null +++ b/src/solarlab/equations/assembly/ionic_1d.py @@ -0,0 +1,969 @@ +"""Finite-site ionic 1D (single and per-domain) as Terms on the shared Assembler. + +Each ion domain is an embedded :class:`NodeSet` (``ion:``) with the +compiled half-endpoint ion geometry. Every species is one block +(``ion::``) after ``potential, electron, hole``, in the +compiled coordinate order. The electronic Terms are the classical ones bound +to the device's electronic component; only the space charge is replaced. +The binding reuses the compiled devices and the ion kernels unchanged: +``fields_by_species``/``fields_by_domain``, the full ``charge_ledger``, +``ion_face_flux``/``ion_face_flux_jacobian``, and the finite-site and +shared-site coordinate maps, Jacobians and secants. + +Historical evaluation orders reproduced (review R03): + +* Gauss rows: the displacement scatter, then ``rho * w`` with ``rho`` from + ONE fold of the full charge ledger (electronic and every ion entry). Ion + charge tangents are ``Q * w_e * (W_i/W_e) * dP/dy`` in that product order; + the Mesh's embedding ratio ``W_i/W_e`` must equal the compiled deposition + weights ``ion_charge_weight_ratio`` bit for bit. +* Ion rows: ``-diff(r_[0, flux, 0])``, assigned (``"chain"`` divergence). + Face-major Jacobian with ``dF/dP * dP/dy`` per node; shared sites sum + ``dF/dP * m_sc + dF/dP_other * m_oc`` per coordinate column first. +* Steady closure: single-domain inventory rows (K1) are + ``fsum(W P) - fsum(W P0)``, per-domain inventory rows (KM) are + ``fsum(W (P - P0))`` and immobile profile rows (Z) are ``W (P - P0)`` per + cell. Their gradients are the physical storage rows ``W dP/dy``. + +The adapters present the original class surfaces (residual, jacobian, +storage_jacobian, ion fluxes and currents, constrained-row bookkeeping) to +the unchanged drivers, steppers and AC operators, and refuse exactly the +inputs and nonfinite evaluations the original classes refuse. Like the +electronic facade, they are steady-only in the ``ydot`` form (decision Q2). +""" + +from __future__ import annotations + +from dataclasses import dataclass, field +from hashlib import sha256 +import json +import math +from numbers import Real +from typing import Mapping, TypeAlias, cast + +import numpy as np +from numpy.typing import ArrayLike, NDArray +from scipy.sparse import csc_matrix + +from solarlab.contracts.units import AREA, COULOMB, ELEMENTARY_CHARGE_C, ONE, PARTICLE, SECOND, VOLUME, Unit +from solarlab.equations.assembly.assembler import AssembledSystem, Assembler, Mesh, SupportGeometry +from solarlab.equations.assembly.classical_1d import AssembledDC1DProblem, ClassicalDC1D, classical_dc_1d +from solarlab.equations.assembly.layout import Block, ConstraintRows, NodeSet, SystemLayout +from solarlab.equations.assembly.quasi_fermi import ELECTRODE_QUASI_FERMI_1D_V1 +from solarlab.equations.assembly.terms import ( + CELL_SOURCE, CHAIN_DIVERGENCE, CONSTRAINT, FACE_FLUX, STORAGE, Contribution, EvaluationState, + FaceValue, FieldValues, LocalValue, OperatingInputs, ReductionValue, Term, TermValue, +) +from solarlab.equations.assembly.weighted import MEASURE +from solarlab.equations.dc_1d import CapabilityError, CompiledDevice1D +from solarlab.equations.ionic_1d import CompiledIonicDevice1D +from solarlab.equations.ionic_closure import declared_immobile_profiles, ion_mobility_partition +from solarlab.equations.multiple_ionic_1d import CompiledMultipleIonicDevice1D +from solarlab.physics.electrostatics.charge import ChargeLedger +from solarlab.physics.ions import DIFFUSION_ONLY_STERIC_V1, ion_face_flux, ion_face_flux_jacobian +from solarlab.physics.ions.shared_site import shared_site_coordinate_jacobian_m3, shared_site_secant_m3 +from solarlab.solvers.time.ionic_backward_euler import finite_site_secant_m3 + +__all__ = [ + "AssembledConstrainedIonic1DProblem", "AssembledConstrainedMultipleIonic1DProblem", + "AssembledIonic1DProblem", "AssembledMultipleIonic1DProblem", "ImmobileProfile", + "InventoryReduction", "IonDomain", "IonStorage", "IonTransport", "IonicFields", + "IonicSpaceCharge", "IonicSystem", "ionic_system", "multiple_ionic_system", +] + +Q = ELEMENTARY_CHARGE_C +NODES = "nodes" +POTENTIAL, ELECTRON, HOLE = "potential", "electron", "hole" +CHARGE_UNIT = COULOMB / VOLUME +FLUX_UNIT = PARTICLE / (AREA * SECOND) +DENSITY_UNIT = PARTICLE / VOLUME +INVENTORY_UNIT = PARTICLE / AREA +TERM_SCHEMA = "solarlab.ionic_1d.terms.v1" +SHARED_SITES = "shared_finite_sites" +K1 = "inventory_minus_reference_v1" +KM = "inventory_excess_v1" +RESIDUAL_ENVELOPE = "ionic residual is outside the finite numerical envelope" +MULTIPLE_ENVELOPE = "multiple-domain residual is outside the finite envelope" +JACOBIAN_ENVELOPE = "ionic Jacobian is outside the finite numerical envelope" + +Vector: TypeAlias = NDArray[np.float64] +IonicDevice: TypeAlias = CompiledIonicDevice1D | CompiledMultipleIonicDevice1D + + +def _identity(*parts: object) -> str: + return sha256(json.dumps((TERM_SCHEMA, *parts), separators=(",", ":")).encode()).hexdigest() + + +@dataclass(frozen=True) +class IonDomain: + """One closed ion domain: its compiled component and its layout names.""" + + device: CompiledIonicDevice1D + + @property + def name(self) -> str: + return self.device.domain_layer_id + + @property + def node_set(self) -> str: + return "ion:" + self.name + + @property + def species(self) -> tuple[str, ...]: + return self.device.ion_species_names + + @property + def blocks(self) -> tuple[str, ...]: + return tuple(f"{self.node_set}:{species}" for species in self.species) + + @property + def shared(self) -> bool: + return self.device.ion_site_contract == SHARED_SITES + + @property + def mass_field(self) -> str: + """Field name of the node-local ``dP/dy`` [node, species, coordinate].""" + return "ion_coordinate_jacobian_m3:" + self.name + + def block(self, species: str) -> str: + return self.blocks[self.species.index(species)] + + def capacity(self, species: str) -> Vector: + result: Vector = getattr(self.device, species + "_ion_site_limit_m3") + return result + + def reference(self, species: str) -> Vector: + result: Vector = getattr(self.device, species + "_ion_reference_m3") + return result + + def coordinate_jacobian(self, populations: tuple[Vector, ...]) -> Vector: + """``dP/dy`` per node, in the compiled device's arithmetic.""" + device = self.device + if self.shared: + shared: Vector = shared_site_coordinate_jacobian_m3( + populations[0], populations[1], device.positive_ion_site_limit_m3) + return shared + result = np.zeros((device.ion_node_count, device.ion_species_count, device.ion_species_count)) + for index, (species, density) in enumerate(zip(self.species, populations)): + result[:, index, index] = density * (1.0 - density / self.capacity(species)) + return result + + +def _domains(device: IonicDevice) -> tuple[IonDomain, ...]: + if isinstance(device, CompiledMultipleIonicDevice1D): + return tuple(IonDomain(domain) for domain in device.domains) + return (IonDomain(device),) + + +def _populations(state: EvaluationState, domain: IonDomain) -> tuple[Vector, ...]: + return tuple(state.field(block) for block in domain.blocks) + + +@dataclass(frozen=True) +class IonicFields: + """Field map of the full ionic coordinates; inadmissible trials raise as compiled.""" + + device: IonicDevice + + @property + def identity(self) -> str: + return _identity("finite_site_ionic_fields_v1", self.device.identity) + + def evaluate(self, layout: SystemLayout, u: Vector, inputs: OperatingInputs) -> FieldValues: + device = self.device + populations: dict[str, tuple[Vector, ...]] + if isinstance(device, CompiledMultipleIonicDevice1D): + phi, n, p, populations = device.fields_by_domain(u, voltage_V=inputs.voltage_V) + else: + phi, n, p, single = device.fields_by_species(u, voltage_V=inputs.voltage_V) + populations = {device.domain_layer_id: single} + fields: dict[str, Vector] = {"potential_V": phi, "electron_density_m3": n, "hole_density_m3": p} + for domain in _domains(device): + values = populations[domain.name] + fields.update(zip(domain.blocks, values)) + fields[domain.mass_field] = domain.coordinate_jacobian(values) + return FieldValues(fields, True) + + +@dataclass(frozen=True) +class IonicSpaceCharge: + """Gauss charge from ONE fold of the full ledger; ion tangents deposited on Gauss rows.""" + + device: IonicDevice + id: str = "potential.space_charge" + kind: str = CELL_SOURCE + support: str = NODES + equations: tuple[str, ...] = (POTENTIAL,) + unit: Unit = CHARGE_UNIT + port: str | None = None + + @property + def dependencies(self) -> tuple[str, ...]: + ions = tuple(block for domain in _domains(self.device) for block in domain.blocks) + return (POTENTIAL, ELECTRON, HOLE) + ions + + @property + def identity(self) -> str: + return _identity(self.id, self.device.identity, ELECTRODE_QUASI_FERMI_1D_V1, "full_ledger_single_fold") + + def ledger(self, state: EvaluationState) -> ChargeLedger: + """The compiled full charge ledger of one state.""" + device = self.device + n, p = state.field("electron_density_m3"), state.field("hole_density_m3") + if isinstance(device, CompiledMultipleIonicDevice1D): + return device.charge_ledger(n, p, {domain.name: _populations(state, domain) + for domain in _domains(device)}) + values = _populations(state, IonDomain(device)) + return device.charge_ledger(n, p, values[0], values[1] if len(values) == 2 else None) + + def evaluate(self, state: EvaluationState, *, derivatives: bool) -> Mapping[str, TermValue]: + rho = self.ledger(state).space_charge_C_m3() + if not derivatives: + return {POTENTIAL: LocalValue(rho)} + n, p = state.field("electron_density_m3"), state.field("hole_density_m3") + thermal = self.device.electronic_component.thermal_voltage_V + tangents: dict[str, Contribution] = { + POTENTIAL: -Q * MEASURE * (n + p) / thermal, + ELECTRON: -Q * MEASURE * n, + HOLE: -Q * MEASURE * p, + } + for domain in _domains(self.device): + nodes = domain.device.ion_node_indices + ratio = np.zeros(n.size) + ratio[nodes] = state.embedding_ratio(domain.node_set) + mass = state.field(domain.mass_field) + for column, block in enumerate(domain.blocks): + partial = np.zeros(n.size) + if domain.shared: + # Net charge derivative of the shared sites: dP+/dy - dP-/dy. + partial[nodes] = mass[:, 0, column] - mass[:, 1, column] + tangents[block] = Q * MEASURE * ratio * partial + continue + partial[nodes] = mass[:, column, column] + charge = Q * MEASURE * ratio * partial + tangents[block] = charge if domain.species[column] == "positive" else -charge + return {POTENTIAL: LocalValue(rho, tangents)} + + +@dataclass(frozen=True) +class IonTransport: + """Blocking-domain particle flux of one species, in the historical chain order.""" + + domain: IonDomain + species: str + kind: str = FACE_FLUX + unit: Unit = FLUX_UNIT + port: str | None = None + divergence: str = CHAIN_DIVERGENCE + + @property + def block(self) -> str: + return self.domain.block(self.species) + + @property + def id(self) -> str: + return self.block + ".transport" + + @property + def support(self) -> str: + return self.domain.node_set + + @property + def equations(self) -> tuple[str, ...]: + return (self.block,) + + @property + def dependencies(self) -> tuple[str, ...]: + return (POTENTIAL,) + (self.domain.blocks if self.domain.shared else (self.block,)) + + @property + def identity(self) -> str: + return _identity(self.id, self.domain.device.identity, self.domain.device.steric_model) + + def evaluate(self, state: EvaluationState, *, derivatives: bool) -> Mapping[str, TermValue]: + domain, device = self.domain, self.domain.device + index = domain.species.index(self.species) + populations = _populations(state, domain) + density = populations[index] + partner = populations[1 - index] if domain.shared else None + phi = state.field("potential_V")[device.ion_node_indices] + spacing = np.diff(device.ion_geometry.nodes_m) + diffusivity = getattr(device, self.species + "_ion_diffusivity_faces_m2_s") + thermal = device.electronic_component.thermal_voltage_V + capacity = domain.capacity(self.species) + steric = device.steric_model == DIFFUSION_ONLY_STERIC_V1 + sign = 1.0 if self.species == "positive" else -1.0 + flux = ion_face_flux(phi, density, spacing, diffusivity, thermal, capacity[:-1], + steric_diffusion_only=steric, P_lim_node=capacity, + P_other_node=partner, drift_sign=sign) + if not derivatives: + return {self.block: FaceValue(flux)} + if domain.shared: + # The historical shared-site Jacobian binds the common site capacity. + limit = device.positive_ion_site_limit_m3 + tangent = ion_face_flux_jacobian(phi, density, spacing, diffusivity, thermal, limit[:-1], + steric_diffusion_only=True, P_lim_node=limit, + P_other_node=partner, drift_sign=sign) + else: + tangent = ion_face_flux_jacobian(phi, density, spacing, diffusivity, thermal, capacity[:-1], + steric_diffusion_only=steric, P_lim_node=capacity, + drift_sign=sign) + if not np.all(tangent.differentiable_faces): + raise ValueError("ionic Jacobian is undefined at a retained historical regularization kink") + mass = state.field(domain.mass_field) + left: dict[str, Contribution] = {POTENTIAL: tangent.potential_left_derivative} + right: dict[str, Contribution] = {POTENTIAL: tangent.potential_right_derivative} + if domain.shared: + other = 1 - index + for column, block in enumerate(domain.blocks): + left[block] = (tangent.density_left_derivative * mass[:-1, index, column] + + tangent.partner_left_derivative * mass[:-1, other, column]) + right[block] = (tangent.density_right_derivative * mass[1:, index, column] + + tangent.partner_right_derivative * mass[1:, other, column]) + else: + partial = mass[:, index, index] + left[self.block] = tangent.density_left_derivative * partial[:-1] + right[self.block] = tangent.density_right_derivative * partial[1:] + return {self.block: FaceValue(flux, left, right)} + + +def _storage_tangents(domain: IonDomain, mass: Vector, index: int) -> dict[str, Contribution]: + """``d(W P_index)/dy`` over every coordinate of the domain: the storage rows.""" + if domain.shared: + return {block: MEASURE * mass[:, index, column] for column, block in enumerate(domain.blocks)} + return {domain.blocks[index]: MEASURE * mass[:, index, index]} + + +@dataclass(frozen=True) +class IonStorage: + """Physical ion inventories ``S = W P`` and the cancellation-free site secants.""" + + domain: IonDomain + kind: str = STORAGE + unit: Unit = DENSITY_UNIT + port: str | None = None + + @property + def id(self) -> str: + return self.domain.node_set + ".storage" + + @property + def support(self) -> str: + return self.domain.node_set + + @property + def equations(self) -> tuple[str, ...]: + return self.domain.blocks + + @property + def dependencies(self) -> tuple[str, ...]: + return self.domain.blocks + + @property + def identity(self) -> str: + return _identity(self.id, self.domain.device.identity) + + def evaluate(self, state: EvaluationState, *, derivatives: bool) -> Mapping[str, TermValue]: + populations = _populations(state, self.domain) + if not derivatives: + return {block: LocalValue(density) for block, density in zip(self.domain.blocks, populations)} + mass = state.field(self.domain.mass_field) + return {block: LocalValue(density, _storage_tangents(self.domain, mass, index)) + for index, (block, density) in enumerate(zip(self.domain.blocks, populations))} + + def increment(self, state: EvaluationState, previous: EvaluationState) -> Mapping[str, Contribution]: + """Physical site-law secants ``P_new - P_old`` from the coordinate differences.""" + domain, device = self.domain, self.domain.device + if domain.shared: + positive, negative = domain.blocks + changes = shared_site_secant_m3( + device.positive_ion_site_limit_m3, + device.positive_ion_logit_reference, device.negative_ion_logit_reference, + previous.block(positive), previous.block(negative), state.block(positive), state.block(negative), + ) + return dict(zip(domain.blocks, changes)) + return {block: finite_site_secant_m3( + domain.capacity(species), getattr(device, species + "_ion_logit_reference"), + previous.block(block), state.block(block), + ) for species, block in zip(domain.species, domain.blocks)} + + +@dataclass(frozen=True) +class InventoryReduction: + """One mobile species' closed-domain inventory row and its whole-domain gradient.""" + + domain: IonDomain + species: str + form: str + kind: str = CONSTRAINT + unit: Unit = DENSITY_UNIT + port: str | None = None + measure: str = "cell" + + @property + def block(self) -> str: + return self.domain.block(self.species) + + @property + def id(self) -> str: + return self.block + ".inventory" + + @property + def support(self) -> str: + return self.domain.node_set + + @property + def equations(self) -> tuple[str, ...]: + return (self.block,) + + @property + def dependencies(self) -> tuple[str, ...]: + return self.domain.blocks if self.domain.shared else (self.block,) + + @property + def identity(self) -> str: + return _identity(self.id, self.domain.device.identity, self.form) + + def evaluate(self, state: EvaluationState, *, derivatives: bool) -> Mapping[str, TermValue]: + index = self.domain.species.index(self.species) + density, reference = state.field(self.block), self.domain.reference(self.species) + if self.form == K1: + summand, offset = MEASURE * density, MEASURE * reference + elif self.form == KM: + summand, offset = MEASURE * (density - reference), None + else: + raise ValueError("unknown inventory evaluation order") + tangents = _storage_tangents(self.domain, state.field(self.domain.mass_field), index) if derivatives else {} + return {self.block: ReductionValue(summand, offset, tangents)} + + +@dataclass(frozen=True) +class ImmobileProfile: + """Declared per-cell rows ``W (P - P0)`` of one exactly zero-diffusivity species.""" + + domain: IonDomain + species: str + kind: str = CONSTRAINT + unit: Unit = DENSITY_UNIT + port: str | None = None + measure: str = "cell" + + @property + def block(self) -> str: + return self.domain.block(self.species) + + @property + def id(self) -> str: + return self.block + ".profile" + + @property + def support(self) -> str: + return self.domain.node_set + + @property + def equations(self) -> tuple[str, ...]: + return (self.block,) + + @property + def dependencies(self) -> tuple[str, ...]: + return self.domain.blocks if self.domain.shared else (self.block,) + + @property + def identity(self) -> str: + return _identity(self.id, self.domain.device.identity) + + def evaluate(self, state: EvaluationState, *, derivatives: bool) -> Mapping[str, TermValue]: + index = self.domain.species.index(self.species) + profile = declared_immobile_profiles(self.domain.device)[self.species] + value = MEASURE * (state.field(self.block) - profile) + tangents = _storage_tangents(self.domain, state.field(self.domain.mass_field), index) if derivatives else {} + return {self.block: LocalValue(value, tangents)} + + +@dataclass(frozen=True) +class IonicSystem: + """The assembled ionic system of one device, optionally with its steady closure. + + With ``inventory_row_node`` every mobile species' row at that node is its + inventory (K1 single-domain, KM per domain) and every row of an immobile + species is its declared profile; ``closure_rows`` marks those rows. + """ + + device: IonicDevice + inventory_row_node: int | None = None + assembler: Assembler = field(init=False, repr=False, compare=False) + electronic: ClassicalDC1D = field(init=False, repr=False, compare=False) + transports: Mapping[tuple[str, str], IonTransport] = field(init=False, repr=False, compare=False) + closure_rows: NDArray[np.bool_] = field(init=False, repr=False, compare=False) + + def __post_init__(self) -> None: + device = self.device + component = device.electronic_component + electronic = classical_dc_1d(component) + domains = _domains(device) + base = electronic.assembler.layout + node_sets, blocks, constraints = list(base.node_sets), list(base.blocks), list(base.constraints) + supports = list(electronic.assembler.mesh.supports) + form = KM if isinstance(device, CompiledMultipleIonicDevice1D) else K1 + closure: list[ImmobileProfile | InventoryReduction] = [] + for domain in domains: + ion = domain.device + node_sets.append(NodeSet(domain.node_set, ion.ion_node_count, NODES, + tuple(int(node) for node in ion.ion_node_indices))) + blocks.extend(Block(block, domain.node_set, ONE, FLUX_UNIT) for block in domain.blocks) + supports.append(SupportGeometry(domain.node_set, ion.ion_geometry.to_contract_geometry( + cell_support=domain.node_set, face_support=domain.node_set + ".faces"))) + if self.inventory_row_node is None: + continue + immobile = ion_mobility_partition(ion)[1] + for species in domain.species: + term: ImmobileProfile | InventoryReduction + if species in immobile: + term, rows = ImmobileProfile(domain, species), tuple(range(ion.ion_node_count)) + else: + term, rows = InventoryReduction(domain, species, form), (self.inventory_row_node,) + constraints.append(ConstraintRows(term.block, rows, term.id, INVENTORY_UNIT)) + closure.append(term) + layout = SystemLayout(tuple(node_sets), tuple(blocks), tuple(constraints)) + count = component.node_count + compiled = ([device.ion_species_slices[d.name][s] for d in domains for s in d.species] + if isinstance(device, CompiledMultipleIonicDevice1D) else list(device.ion_species_slices)) + expected = [(0, count), (count, 2 * count), (2 * count, 3 * count)] + expected += [(cast(int, part.start), cast(int, part.stop)) for part in compiled] + if layout.size != device.state_size or list(layout.block_ranges().values()) != expected: + raise CapabilityError("the ionic layout must reproduce the compiled coordinate order") + transports = {(domain.name, species): IonTransport(domain, species) + for domain in domains for species in domain.species} + terms: list[Term] = [IonicSpaceCharge(device) if term.id == "potential.space_charge" else term + for term in electronic.assembler.terms] + terms += [*transports.values(), *(IonStorage(domain) for domain in domains), *closure] + assembler = Assembler(layout, Mesh(tuple(supports)), IonicFields(device), terms) + for domain in domains: + ratio = assembler.embedding_ratio(domain.node_set) + if ratio.tobytes() != domain.device.ion_charge_weight_ratio.tobytes(): + raise CapabilityError("the embedded charge ratio must equal the compiled deposition weights") + closure_rows: NDArray[np.bool_] = np.zeros(layout.size, dtype=bool) + for term in closure: + owned = layout.constraint_rows(term.id) + closure_rows[layout.rows(owned.block, owned.nodes)] = True + closure_rows.setflags(write=False) + object.__setattr__(self, "assembler", assembler) + object.__setattr__(self, "electronic", electronic) + object.__setattr__(self, "transports", transports) + object.__setattr__(self, "closure_rows", closure_rows) + + @property + def layout(self) -> SystemLayout: + return self.assembler.layout + + @property + def identity(self) -> str: + return self.assembler.identity + + +def ionic_system(device: CompiledIonicDevice1D, *, inventory_row_node: int | None = None) -> IonicSystem: + """The original single-domain rows, or with the K1 inventory / Z profile closure.""" + if not isinstance(device, CompiledIonicDevice1D): + raise TypeError("ionic_system requires a CompiledIonicDevice1D") + return IonicSystem(device, inventory_row_node) + + +def multiple_ionic_system(device: CompiledMultipleIonicDevice1D, *, + inventory_row_node: int | None = None) -> IonicSystem: + """The original per-domain rows, or with the KM inventory / Z profile closure.""" + if not isinstance(device, CompiledMultipleIonicDevice1D): + raise TypeError("multiple_ionic_system requires a CompiledMultipleIonicDevice1D") + return IonicSystem(device, inventory_row_node) + + +def _check_drive(component: CompiledDevice1D, voltage_V: float, generation_scale: float) -> None: + """The electronic problem's admission of the drive (as ``DC1DProblem``).""" + component.contact_potentials(voltage_V) + if not math.isfinite(generation_scale) or generation_scale < 0.0: + raise ValueError("generation_scale must be finite and non-negative") + + +def _finite_scalar(value: float, name: str, *, nonnegative: bool = False) -> float: + """The multiple-domain scalar admission (as ``multiple_ionic_1d``).""" + if isinstance(value, (bool, np.bool_)) or not isinstance(value, Real) or not math.isfinite(value): + raise ValueError(f"{name} must be a finite real scalar") + result = float(value) + if nonnegative and result < 0.0: + raise ValueError(f"{name} must be nonnegative") + return result + + +def _admit_coordinates(device: IonicDevice, y: ArrayLike) -> None: + """The multiple-domain device admits only real numeric arrays (single: any float cast).""" + if isinstance(device, CompiledMultipleIonicDevice1D) and np.asarray(y).dtype.kind not in {"i", "u", "f"}: + raise ValueError("multiple-domain coordinates and rates must be real numeric arrays") + + +def _admit_rate(device: IonicDevice, ydot: ArrayLike | None) -> None: + """Admit ``ydot`` as the original class does, then refuse any nonzero rate (Q2).""" + if ydot is None: + return + _admit_coordinates(device, ydot) + derivative = np.asarray(ydot, dtype=float) + if derivative.shape != (device.state_size,) or not np.all(np.isfinite(derivative)): + raise ValueError("coordinates must contain 3N and all species of both ionic domains" + if isinstance(device, CompiledMultipleIonicDevice1D) + else "ydot must be finite and match the complete ionic coordinates") + if np.any(derivative != 0.0): + raise CapabilityError("the assembled system is time-stepped in storage-difference form, not by ydot") + + +def _residual(system: AssembledSystem, closure: NDArray[np.bool_], message: str) -> Vector: + """F, refused exactly where the original-row residual is nonfinite. + + Closure-owned rows replace original balances; their ``balance`` is the + original row value that the original classes check before replacement. + """ + if not (np.all(np.isfinite(system.F[~closure])) and np.all(np.isfinite(system.balance[closure]))): + raise FloatingPointError(message) + return np.array(system.F, copy=True) + + +def _jacobian(system: AssembledSystem, closure: NDArray[np.bool_]) -> csc_matrix: + """J, refused exactly where the original-row Jacobian has a nonfinite entry. + + The original classes check their full original Jacobian, then replace the + closure rows without checking the replacement. + """ + matrix = system.J + assert matrix is not None and system.replaced_nonfinite_rows is not None + original = ~closure[matrix.indices] + if not np.all(np.isfinite(matrix.data[original])) or np.any(system.replaced_nonfinite_rows[closure]): + raise FloatingPointError(JACOBIAN_ENVELOPE) + return matrix + + +class _AssembledIonicRows: + """Observation and storage surface shared by the original-row adapters.""" + + device: IonicDevice + voltage_V: float + generation_scale: float + system: IonicSystem | None + + @property + def binding(self) -> IonicSystem: + assert self.system is not None + return self.system + + @property + def inputs(self) -> OperatingInputs: + return OperatingInputs(self.voltage_V, self.generation_scale) + + @property + def electronic_problem(self) -> AssembledDC1DProblem: + electronic = self.binding.electronic + return AssembledDC1DProblem(electronic.device, self.voltage_V, self.generation_scale, electronic) + + def assemble(self, y: ArrayLike, *, derivatives: bool = True, storage: bool = False) -> AssembledSystem: + _admit_coordinates(self.device, y) + return self.binding.assembler.evaluate(y, self.inputs, derivatives=derivatives, storage=storage) + + def _residual(self, y: ArrayLike, ydot: ArrayLike | None, message: str) -> Vector: + _admit_coordinates(self.device, y) + _admit_rate(self.device, ydot) + return _residual(self.assemble(y, derivatives=False), self.binding.closure_rows, message) + + def _jacobian(self, y: ArrayLike, ydot: ArrayLike | None, alpha: float) -> csc_matrix: + _admit_coordinates(self.device, y) + _admit_rate(self.device, ydot) + system = self.assemble(y) + assert system.J is not None + if alpha == 0.0: + return _jacobian(system, self.binding.closure_rows) + combined = csc_matrix(system.J + alpha * self.storage_jacobian(y)) + if not np.all(np.isfinite(combined.data)): + raise FloatingPointError(JACOBIAN_ENVELOPE) + return combined + + def storage(self, y: ArrayLike) -> Vector: + """Equation storage S (zero on algebraic rows), particles/m^2.""" + _admit_coordinates(self.device, y) + return np.array(self.binding.assembler.storage(y, self.inputs, derivatives=False)[0], copy=True) + + def physical_storage(self, y: ArrayLike) -> Vector: + """The original readers' physical S: zero on the algebraic carrier rows.""" + return self.storage(y) + + def storage_tangent(self, y: ArrayLike) -> csc_matrix: + _admit_coordinates(self.device, y) + tangent = self.binding.assembler.storage(y, self.inputs)[1] + assert tangent is not None + return tangent + + def storage_jacobian(self, y: ArrayLike) -> csc_matrix: + """Signed ``M = dR/dydot = -S_u`` (the historical name).""" + return cast(csc_matrix, -self.storage_tangent(y)) + + def storage_increment(self, y: ArrayLike, old_problem: _AssembledIonicRows, old_y: ArrayLike) -> Vector: + """Cancellation-free ``S(y) - S(old_y)`` (carrier and site-law secants).""" + if old_problem.device.identity != self.device.identity: + raise ValueError("a storage increment needs a previous state of the same device") + _admit_coordinates(self.device, y) + _admit_coordinates(self.device, old_y) + return self.binding.assembler.storage_increment(y, self.inputs, old_y, old_problem.inputs) + + def _domain_fluxes(self, y: ArrayLike, domain_id: str, species: str) -> Vector: + transport = self.binding.transports.get((domain_id, species)) + if transport is None: + raise ValueError("requested ion species is not assembled in this device") + _admit_coordinates(self.device, y) + state = self.binding.assembler.state(y, self.inputs) + assert state is not None + value = transport.evaluate(state, derivatives=False)[transport.block] + assert isinstance(value, FaceValue) + return np.asarray(value.flux, dtype=float) + + def _on_electronic_faces(self, y: ArrayLike, domain_id: str, species: str) -> Vector: + flux = self._domain_fluxes(y, domain_id, species) + domain = next(item for item in _domains(self.device) if item.name == domain_id) + result = np.zeros(self.device.electronic_component.node_count - 1) + result[domain.device.ion_node_indices[:-1]] = flux + return result + + +@dataclass(frozen=True) +class AssembledIonic1DProblem(_AssembledIonicRows): + """Assembled single-domain rows with the ``Ionic1DProblem`` surface.""" + + device: CompiledIonicDevice1D + voltage_V: float = 0.0 + generation_scale: float = 0.0 + system: IonicSystem | None = field(default=None, repr=False, compare=False) + + def __post_init__(self) -> None: + if not isinstance(self.device, CompiledIonicDevice1D): + raise TypeError("Ionic1DProblem requires the complete compiled ionic device") + _check_drive(self.device.electronic_component, self.voltage_V, self.generation_scale) + if self.system is None: + object.__setattr__(self, "system", ionic_system(self.device)) + elif self.system.device is not self.device or self.system.inventory_row_node is not None: + raise ValueError("the assembled system must be the original rows of this device") + + def at(self, voltage_V: float, generation_scale: float) -> AssembledIonic1DProblem: + """Same bound system at another operating point (no rebinding).""" + return AssembledIonic1DProblem(self.device, voltage_V, generation_scale, self.system) + + def residual(self, y: ArrayLike, ydot: ArrayLike | None = None) -> Vector: + return self._residual(y, ydot, RESIDUAL_ENVELOPE) + + def jacobian(self, y: ArrayLike, ydot: ArrayLike | None = None, *, alpha: float = 0.0) -> csc_matrix: + if not math.isfinite(alpha): + raise ValueError("alpha must be finite") + return self._jacobian(y, ydot, alpha) + + def ion_fluxes(self, y: ArrayLike, *, species: str = "positive") -> Vector: + """Particle flux of one named species on the domain faces, along +x.""" + return self._domain_fluxes(y, self.device.domain_layer_id, species) + + def ion_fluxes_on_electronic_faces(self, y: ArrayLike, *, species: str = "positive") -> Vector: + return self._on_electronic_faces(y, self.device.domain_layer_id, species) + + def ion_current_density_A_m2(self, y: ArrayLike) -> Vector: + """All internal electrical faces: ``q (Gamma_positive - Gamma_negative)``.""" + positive = self.ion_fluxes_on_electronic_faces(y) + if self.device.ion_species_count == 1: + single: Vector = Q * positive + return single + dual: Vector = Q * (positive - self.ion_fluxes_on_electronic_faces(y, species="negative")) + return dual + + +@dataclass(frozen=True) +class AssembledMultipleIonic1DProblem(_AssembledIonicRows): + """Assembled per-domain rows with the ``MultipleIonic1DProblem`` surface.""" + + device: CompiledMultipleIonicDevice1D + voltage_V: float = 0.0 + generation_scale: float = 0.0 + system: IonicSystem | None = field(default=None, repr=False, compare=False) + + def __post_init__(self) -> None: + if not isinstance(self.device, CompiledMultipleIonicDevice1D): + raise TypeError("a full source-bound multiple-domain device is required") + object.__setattr__(self, "voltage_V", _finite_scalar(self.voltage_V, "voltage_V")) + object.__setattr__(self, "generation_scale", + _finite_scalar(self.generation_scale, "generation_scale", nonnegative=True)) + _check_drive(self.device.electronic_component, self.voltage_V, self.generation_scale) + if self.system is None: + object.__setattr__(self, "system", multiple_ionic_system(self.device)) + elif self.system.device is not self.device or self.system.inventory_row_node is not None: + raise ValueError("the assembled system must be the original rows of this device") + + def at(self, voltage_V: float, generation_scale: float) -> AssembledMultipleIonic1DProblem: + """Same bound system at another operating point (no rebinding).""" + return AssembledMultipleIonic1DProblem(self.device, voltage_V, generation_scale, self.system) + + def residual(self, y: ArrayLike, ydot: ArrayLike | None = None) -> Vector: + return self._residual(y, ydot, MULTIPLE_ENVELOPE) + + def jacobian(self, y: ArrayLike, ydot: ArrayLike | None = None, *, alpha: float = 0.0) -> csc_matrix: + return self._jacobian(y, ydot, _finite_scalar(alpha, "alpha")) + + def ion_fluxes(self, y: ArrayLike, *, domain_id: str, species: str = "positive") -> Vector: + if domain_id not in self.device.domain_ids: + raise ValueError("requested ion domain is not assembled") + return self._domain_fluxes(y, domain_id, species) + + def ion_fluxes_on_electronic_faces(self, y: ArrayLike, *, domain_id: str, species: str = "positive") -> Vector: + if domain_id not in self.device.domain_ids: + raise ValueError("requested ion domain is not assembled") + return self._on_electronic_faces(y, domain_id, species) + + def ion_current_density_A_m2(self, y: ArrayLike) -> Vector: + result = np.zeros(self.device.node_count - 1) + for domain in self.device.domains: + for species in domain.ion_species_names: + result += (Q if species == "positive" else -Q) * self.ion_fluxes_on_electronic_faces( + y, domain_id=domain.domain_layer_id, species=species) + return result + + def inventory_gradients(self, y: ArrayLike) -> dict[str, dict[str, Vector]]: + """Full physical gradients, with shared-site cross terms and no row replacement.""" + storage = self.storage_jacobian(y) + return {name: {species: -np.asarray(storage[block, :].sum(axis=0)).ravel() + for species, block in blocks.items()} + for name, blocks in self.device.ion_species_slices.items()} + + +def _require_closed_domain(device: CompiledIonicDevice1D, inventory_row_node: int) -> None: + """The constrained wrapper's fail-closed binding checks (``ConstrainedIonic1DProblem``).""" + if type(inventory_row_node) is not int or not 0 <= inventory_row_node < device.ion_node_count: + raise ValueError("inventory_row_node must name an ion-domain node") + ion_mobility_partition(device) + manifest = device.binding_manifest + domain = manifest.get("ion_domain") + component_binding = manifest.get("electronic_component") + ion_model = manifest.get("ion_model") + if not isinstance(domain, dict) or domain.get("contacts") != ["blocking", "blocking"]: + raise CapabilityError("ionic steady closure requires the declared closed blocking domain") + if not isinstance(component_binding, dict) or not isinstance(ion_model, dict): + raise ValueError("complete component and ionic policy bindings are required") + if (sha256(device.binding_manifest_json.encode()).hexdigest() != device.identity + or manifest["original_prepared_sha256"] != device.original_prepared_sha256 + or component_binding["compiled_sha256"] != device.electronic_component.identity + or ion_model["steric_model"] != device.steric_model + or not np.array_equal(ion_model["face_diffusivity_m2_s"], device.positive_ion_diffusivity_faces_m2_s)): + raise ValueError("the full ionic/component provenance binding is inconsistent") + if (domain["layer"] != device.domain_layer_id + or not np.array_equal(domain.get("electrical_node_indices"), device.ion_node_indices) + or not np.array_equal(domain["nodes_m"], device.ion_geometry.nodes_m) + or not np.array_equal(domain["cell_measures_m"], device.ion_geometry.cell_measures_m) + or float(domain["reference_inventory_m2"]) != device.reference_inventory_m2): + raise ValueError("physical inventory must match the original prepared domain and weights") + if device.ion_species_count == 2: + if (ion_model.get("site_contract") != device.ion_site_contract + or device.ion_site_contract not in {"independent_finite_sites", SHARED_SITES} + or not np.array_equal(ion_model.get("negative_face_diffusivity_m2_s"), + device.negative_ion_diffusivity_faces_m2_s)): + raise ValueError("the negative ionic provenance binding is inconsistent") + if domain.get("negative_reference_inventory_m2") != device.negative_reference_inventory_m2: + raise ValueError("negative physical inventory must match the original prepared domain and weights") + + +def _profile_rows(slices: Mapping[str, slice], immobile: tuple[str, ...]) -> dict[str, tuple[int, ...]]: + return {species: tuple(range(cast(int, block.start), cast(int, block.stop))) + for species, block in slices.items() if species in immobile} + + +@dataclass(frozen=True) +class AssembledConstrainedIonic1DProblem: + """Assembled K1 inventory / Z profile closure with the constrained-wrapper surface.""" + + original: AssembledIonic1DProblem + inventory_row_node: int + system: IonicSystem = field(init=False, repr=False, compare=False) + + def __post_init__(self) -> None: + if not isinstance(self.original, AssembledIonic1DProblem): + raise TypeError("the assembled original ionic rows are required") + _require_closed_domain(self.original.device, self.inventory_row_node) + object.__setattr__(self, "system", ionic_system(self.original.device, + inventory_row_node=self.inventory_row_node)) + + @property + def constraint_row(self) -> int: + return 3 * self.original.device.node_count + self.inventory_row_node + + @property + def immobile_species(self) -> tuple[str, ...]: + return ion_mobility_partition(self.original.device)[1] + + @property + def profile_constraint_rows(self) -> dict[str, tuple[int, ...]]: + device = self.original.device + return _profile_rows(dict(zip(device.ion_species_names, device.ion_species_slices)), self.immobile_species) + + @property + def inventory_target_m2(self) -> float: + return self.original.device.reference_inventory_m2 + + @property + def constraint_rows(self) -> dict[str, int]: + device = self.original.device + return {species: cast(int, block.start) + self.inventory_row_node + for species, block in zip(device.ion_species_names, device.ion_species_slices)} + + @property + def inventory_targets_m2(self) -> dict[str, float]: + device = self.original.device + targets = {"positive": self.inventory_target_m2} + if device.ion_species_count == 2: + targets["negative"] = device.negative_reference_inventory_m2 + return targets + + def assemble(self, y: ArrayLike, *, derivatives: bool = True) -> AssembledSystem: + return self.system.assembler.evaluate(y, self.original.inputs, derivatives=derivatives) + + def residual(self, y: ArrayLike) -> Vector: + return _residual(self.assemble(y, derivatives=False), self.system.closure_rows, RESIDUAL_ENVELOPE) + + def jacobian(self, y: ArrayLike) -> csc_matrix: + return _jacobian(self.assemble(y), self.system.closure_rows) + + +@dataclass(frozen=True) +class AssembledConstrainedMultipleIonic1DProblem: + """Assembled per-domain KM inventory / Z profile closure.""" + + original: AssembledMultipleIonic1DProblem + inventory_row_node: int + system: IonicSystem = field(init=False, repr=False, compare=False) + + def __post_init__(self) -> None: + if not isinstance(self.original, AssembledMultipleIonic1DProblem): + raise TypeError("the original multiple-domain equations are required") + for domain in self.original.device.domains: + _require_closed_domain(domain, self.inventory_row_node) + object.__setattr__(self, "system", multiple_ionic_system( + self.original.device, inventory_row_node=self.inventory_row_node)) + + @property + def immobile_species(self) -> dict[str, tuple[str, ...]]: + return {domain.domain_layer_id: ion_mobility_partition(domain)[1] for domain in self.original.device.domains} + + @property + def profile_constraint_rows(self) -> dict[str, dict[str, tuple[int, ...]]]: + return {name: _profile_rows(blocks, self.immobile_species[name]) + for name, blocks in self.original.device.ion_species_slices.items()} + + @property + def constraint_rows(self) -> dict[str, dict[str, int]]: + return {name: {species: cast(int, block.start) + self.inventory_row_node + for species, block in blocks.items() if species not in self.immobile_species[name]} + for name, blocks in self.original.device.ion_species_slices.items()} + + def assemble(self, y: ArrayLike, *, derivatives: bool = True) -> AssembledSystem: + _admit_coordinates(self.original.device, y) + return self.system.assembler.evaluate(y, self.original.inputs, derivatives=derivatives) + + def residual(self, y: ArrayLike) -> Vector: + return _residual(self.assemble(y, derivatives=False), self.system.closure_rows, MULTIPLE_ENVELOPE) + + def jacobian(self, y: ArrayLike) -> csc_matrix: + return _jacobian(self.assemble(y), self.system.closure_rows) diff --git a/src/solarlab/equations/assembly/layout.py b/src/solarlab/equations/assembly/layout.py new file mode 100644 index 00000000..67cc3a7f --- /dev/null +++ b/src/solarlab/equations/assembly/layout.py @@ -0,0 +1,249 @@ +"""Named variable blocks on node sets, with stable global indexing. + +A binding declares one :class:`SystemLayout` before any Term exists. Each +:class:`Block` is one named variable on one node set together with its +paired equation rows, so row ranges equal column ranges and the system is +square block by block. Global offsets follow the declared block order. That +order is the coordinate convention of saved states (``phi, z_n, z_p`` for the +classical electronic system), so it is declared explicitly and is part of the +identity; Terms never create, reorder or resize blocks. + +:class:`ConstraintRows` mark the rows of one block that one named constraint +Term replaces (Dirichlet potentials, fixed carrier reservoirs, inventory +rows). The Assembler discards every other residual, Jacobian and storage +contribution on those rows, so ownership of a row is never shared. + +A :class:`NodeSet` may be embedded in a parent node set (an ion domain inside +the electronic nodes); a Term on one set reads a block on the other through +the embedding indices (:meth:`SystemLayout.column_map`). +""" + +from __future__ import annotations + +from dataclasses import dataclass, field +from hashlib import sha256 +import json +from types import MappingProxyType +from typing import Mapping + +import numpy as np +from numpy.typing import ArrayLike, NDArray + +from solarlab.contracts.arrays import integer_indices +from solarlab.contracts.errors import ContractError +from solarlab.contracts.units import Unit + +__all__ = ["Block", "ConstraintRows", "NodeSet", "SystemLayout", "node_indices"] + +LAYOUT_SCHEMA = "solarlab.system_layout.v1" + + +def node_indices(values: ArrayLike) -> tuple[int, ...]: + """Nonnegative integral node indices (the contracts integer-index rule).""" + indices = integer_indices(values) + if indices.ndim != 1 or np.any(indices < 0): + raise ContractError("invalid_index") + return tuple(int(i) for i in indices) + + +@dataclass(frozen=True) +class NodeSet: + """A node set; ``parent_indices`` embed it in ``parent`` when given.""" + + id: str + size: int + parent: str | None = None + parent_indices: tuple[int, ...] | None = None + + def __post_init__(self) -> None: + if not self.id or type(self.size) is not int or self.size < 1: + raise ContractError("invalid_node_set") + if (self.parent is None) != (self.parent_indices is None): + raise ContractError("embedding_needs_parent_and_indices") + if self.parent_indices is not None: + indices = node_indices(self.parent_indices) + if (len(indices) != self.size + or any(b <= a for a, b in zip(indices, indices[1:]))): + raise ContractError("embedding_indices_must_increase") + object.__setattr__(self, "parent_indices", indices) + + +@dataclass(frozen=True) +class Block: + """One variable on one node set and its paired equation rows. + + ``balance_unit`` is the unit of the integrated (geometry-weighted) + balance rows; constraint rows declare their own unit. + """ + + id: str + node_set: str + variable_unit: Unit + balance_unit: Unit + + def __post_init__(self) -> None: + if not self.id or not self.node_set: + raise ContractError("invalid_block") + + +@dataclass(frozen=True) +class ConstraintRows: + """Rows of ``block`` (node indices) replaced by the constraint Term ``owner``.""" + + block: str + nodes: tuple[int, ...] + owner: str + unit: Unit + + def __post_init__(self) -> None: + nodes = node_indices(self.nodes) + if (not self.block or not self.owner or not nodes + or any(b <= a for a, b in zip(nodes, nodes[1:]))): + raise ContractError("invalid_constraint_rows") + object.__setattr__(self, "nodes", nodes) + + +def _unit(unit: Unit) -> list[int]: + return list(unit.powers) + + +@dataclass(frozen=True) +class SystemLayout: + """Declared blocks, half-open global ranges, constraint rows and identity.""" + + node_sets: tuple[NodeSet, ...] + blocks: tuple[Block, ...] + constraints: tuple[ConstraintRows, ...] = () + offsets: Mapping[str, slice] = field(init=False) + size: int = field(init=False) + identity: str = field(init=False) + + def __post_init__(self) -> None: + node_sets = {item.id: item for item in self.node_sets} + blocks = {item.id: item for item in self.blocks} + if len(node_sets) != len(self.node_sets) or len(blocks) != len(self.blocks): + raise ContractError("duplicate_layout_id") + if not self.blocks: + raise ContractError("empty_layout") + for item in self.node_sets: + if item.parent is not None: + parent = node_sets.get(item.parent) + if parent is None or parent.parent is not None or item.parent == item.id: + raise ContractError("embedding_parent_must_be_a_root_node_set") + assert item.parent_indices is not None + if item.parent_indices[-1] >= parent.size: + raise ContractError("embedding_outside_parent") + for block in self.blocks: + if block.node_set not in node_sets: + raise ContractError("unknown_node_set") + owners: set[str] = set() + claimed: set[tuple[str, int]] = set() + for rows in self.constraints: + if rows.block not in blocks: + raise ContractError("unknown_constraint_block") + if rows.owner in owners: + raise ContractError("duplicate_constraint_owner") + owners.add(rows.owner) + if rows.nodes[-1] >= node_sets[blocks[rows.block].node_set].size: + raise ContractError("constraint_outside_block") + for node in rows.nodes: + if (rows.block, node) in claimed: + raise ContractError("constraint_row_owned_twice") + claimed.add((rows.block, node)) + offsets: dict[str, slice] = {} + size = 0 + for block in self.blocks: + end = size + node_sets[block.node_set].size + offsets[block.id] = slice(size, end) + size = end + object.__setattr__(self, "node_sets", tuple(self.node_sets)) + object.__setattr__(self, "blocks", tuple(self.blocks)) + object.__setattr__(self, "constraints", tuple(self.constraints)) + object.__setattr__(self, "offsets", MappingProxyType(offsets)) + object.__setattr__(self, "size", size) + declaration = { + "schema": LAYOUT_SCHEMA, + "node_sets": [[item.id, item.size, item.parent, + None if item.parent_indices is None else list(item.parent_indices)] + for item in self.node_sets], + "blocks": [[block.id, block.node_set, _unit(block.variable_unit), + _unit(block.balance_unit)] for block in self.blocks], + "constraints": sorted([rows.block, rows.owner, list(rows.nodes), _unit(rows.unit)] + for rows in self.constraints), + } + encoded = json.dumps(declaration, separators=(",", ":"), sort_keys=True).encode() + object.__setattr__(self, "identity", sha256(encoded).hexdigest()) + + def block(self, block_id: str) -> Block: + for block in self.blocks: + if block.id == block_id: + return block + raise ContractError("unknown_block") + + def node_set(self, node_set_id: str) -> NodeSet: + for item in self.node_sets: + if item.id == node_set_id: + return item + raise ContractError("unknown_node_set") + + def block_ranges(self) -> dict[str, tuple[int, int]]: + """Half-open global ``[start, stop)`` index range of every block.""" + return {name: (span.start, span.stop) for name, span in self.offsets.items()} + + def rows(self, block_id: str, nodes: ArrayLike | None = None) -> NDArray[np.intp]: + """Global row (= column) indices of ``nodes`` of one block.""" + span = self.offsets.get(block_id) + if span is None: + raise ContractError("unknown_block") + local = (np.arange(span.stop - span.start, dtype=np.intp) if nodes is None + else np.asarray(nodes, dtype=np.intp)) + if local.size and (np.min(local) < 0 or np.max(local) >= span.stop - span.start): + raise ContractError("node_outside_block") + result: NDArray[np.intp] = span.start + local + return result + + def view(self, u: ArrayLike, block_id: str) -> NDArray[np.float64]: + """Read-only view of one block of a global coordinate vector.""" + values = np.asarray(u, dtype=float) + if values.shape != (self.size,): + raise ContractError("coordinate_size_mismatch") + span = self.offsets.get(block_id) + if span is None: + raise ContractError("unknown_block") + result = values[span].view() + result.setflags(write=False) + return result + + def constraint_rows(self, owner: str) -> ConstraintRows: + for rows in self.constraints: + if rows.owner == owner: + return rows + raise ContractError("unknown_constraint_owner") + + def constraint_mask(self) -> NDArray[np.bool_]: + """Global rows owned by constraint Terms.""" + mask: NDArray[np.bool_] = np.zeros(self.size, dtype=bool) + for rows in self.constraints: + mask[self.rows(rows.block, rows.nodes)] = True + return mask + + def column_map(self, support: str, block_id: str) -> NDArray[np.intp]: + """Block-local index read by each ``support`` node; -1 where absent. + + Identical node sets map identically; a child set reads its parent + through its embedding; a parent reads a child block only on the + embedded nodes. + """ + source = self.node_set(support) + target = self.node_set(self.block(block_id).node_set) + if source.id == target.id: + return np.arange(source.size, dtype=np.intp) + if source.parent == target.id: + assert source.parent_indices is not None + return np.asarray(source.parent_indices, dtype=np.intp) + if target.parent == source.id: + assert target.parent_indices is not None + result: NDArray[np.intp] = np.full(source.size, -1, dtype=np.intp) + result[np.asarray(target.parent_indices, dtype=np.intp)] = np.arange(target.size) + return result + raise ContractError("unrelated_node_sets") diff --git a/src/solarlab/equations/assembly/quasi_fermi.py b/src/solarlab/equations/assembly/quasi_fermi.py new file mode 100644 index 00000000..79452128 --- /dev/null +++ b/src/solarlab/equations/assembly/quasi_fermi.py @@ -0,0 +1,87 @@ +"""Electrode-referenced quasi-Fermi coordinates of the classical electronic blocks. + +Blocks ``potential``, ``electron`` and ``hole`` hold ``phi`` [V] and the +dimensionless offsets ``z_n``, ``z_p`` of each carrier's quasi-Fermi level +from its majority-electrode Fermi level (``electrode_quasi_fermi_1d_v1``). +Densities come from the compiled device's own map, so they are bitwise the +historical fields. Local Terms chain through ``dn/dz_n = n``, +``dp/dz_p = -p`` and ``dc/dphi = (dc/dz)/V_T``. + +The SG flux consumes the quasi-Fermi step directly; its potential tangent at +fixed ``z`` is :func:`quasi_fermi_potential_tangents`, a chain without +equilibrium cancellation, not a density chain. +""" + +from __future__ import annotations + +from dataclasses import dataclass +from hashlib import sha256 +from typing import TypeAlias + +import numpy as np +from numpy.typing import NDArray + +from solarlab.discretization.stable_bernoulli import bernoulli_pair +from solarlab.equations.assembly.layout import SystemLayout +from solarlab.equations.assembly.terms import FieldValues, OperatingInputs +from solarlab.equations.dc_1d import CompiledDevice1D +from solarlab.physics.transport.electrochemical_flux import CarrierFaceFlux + +__all__ = [ + "ELECTRODE_QUASI_FERMI_1D_V1", "ElectrodeQuasiFermiFields", "quasi_fermi_potential_tangents", +] + +ELECTRODE_QUASI_FERMI_1D_V1 = "electrode_quasi_fermi_1d_v1" +BLOCKS = ("potential", "electron", "hole") + +Vector: TypeAlias = NDArray[np.float64] + + +@dataclass(frozen=True) +class ElectrodeQuasiFermiFields: + """Field map ``u -> (phi, n, p)`` of one compiled device; no state is cached.""" + + device: CompiledDevice1D + + @property + def identity(self) -> str: + return sha256(f"{ELECTRODE_QUASI_FERMI_1D_V1}:{self.device.identity}".encode()).hexdigest() + + def evaluate(self, layout: SystemLayout, u: Vector, inputs: OperatingInputs) -> FieldValues: + values = np.concatenate([layout.view(u, block) for block in BLOCKS]) + phi, n, p = self.device.fields(values, voltage_V=inputs.voltage_V) + # Outside this domain the historical residual returns NaN rows. + admissible = bool(np.all(np.isfinite(n)) and np.all(np.isfinite(p)) + and not np.any(n <= 0.0) and not np.any(p <= 0.0)) + return FieldValues({"potential_V": phi, "electron_density_m3": n, + "hole_density_m3": p}, admissible) + + +def quasi_fermi_potential_tangents( + flux: CarrierFaceFlux, drive: Vector, carrier_sign: float, thermal: float +) -> tuple[Vector, Vector]: + """Chain the SG kernel through density(phi, z) without equilibrium cancellation. + + Public home of the private DC1D chain, with the same arithmetic (pinned + bitwise by tests/unit/assembly). Phase 2 deletes the private copy and + moves its importers (dc_2d, impedance, ionic AC) here. + """ + pair = bernoulli_pair(flux.energy_step) + forward = np.divide( + pair.forward_derivative, pair.forward, + out=np.zeros_like(flux.flux), where=pair.forward != 0.0, + ) + backward = np.divide( + pair.backward_derivative, pair.backward, + out=np.zeros_like(flux.flux), where=pair.backward != 0.0, + ) + # An underflowed B(x), x >> 1, still has d(log B)/dx = 1/x - 1. + tiny_forward = pair.forward == 0.0 + tiny_backward = pair.backward == 0.0 + forward[tiny_forward] = 1.0 / flux.energy_step[tiny_forward] - 1.0 + backward[tiny_backward] = -1.0 / flux.energy_step[tiny_backward] - 1.0 + from_left = drive < 0.0 + left_factor = np.where(from_left, 1.0 + forward, -backward) + right_factor = np.where(from_left, -forward, 1.0 + backward) + factor = carrier_sign * flux.flux / thermal + return factor * left_factor, factor * right_factor diff --git a/src/solarlab/equations/assembly/rectangular_2d.py b/src/solarlab/equations/assembly/rectangular_2d.py new file mode 100644 index 00000000..9b38e1fe --- /dev/null +++ b/src/solarlab/equations/assembly/rectangular_2d.py @@ -0,0 +1,59 @@ +"""The existing rectangular 2D face graph as one assembler support. + +Nodes flatten ``(Ny, Nx)`` with x fastest; every x face precedes every y +face. The two stack contact strips have their physical x half-cell widths +as port measures. Exterior lateral fluxes remain the declared zero Neumann +condition: no exterior x faces or additional contact law are introduced. +""" + +from __future__ import annotations + +from dataclasses import dataclass, field +from typing import TypeAlias + +import numpy as np +from numpy.typing import NDArray + +from solarlab.contracts.units import LENGTH +from solarlab.equations.assembly.assembler import Mesh, Port, SupportGeometry +from solarlab.mesh.geometry_2d import RectangularGeometry2D + +__all__ = ["RectangularSupport2D"] + +Index: TypeAlias = NDArray[np.intp] +PORTS = ("y_min", "y_max") + + +@dataclass(frozen=True) +class RectangularSupport2D: + """One full connected support, with the historical ordered-port stencils.""" + + geometry: RectangularGeometry2D + node_set: str = "nodes" + mesh: Mesh = field(init=False, repr=False) + + def __post_init__(self) -> None: + g = self.geometry + sides = g.contact_nodes.reshape(2, g.nx) + ports = tuple(Port(name, tuple(int(node) for node in nodes), normal, + g.x_widths_m, LENGTH) + for name, nodes, normal in zip(PORTS, sides, (-1, 1))) + object.__setattr__(self, "mesh", Mesh((SupportGeometry( + self.node_set, g.contract_geometry, ports),))) + + def normal_faces(self, port_id: str) -> Index: + """One adjacent y face per port node, in the port's x-fast node order.""" + if port_id not in PORTS: + raise ValueError("2D contact readout requires y_min or y_max") + g = self.geometry + first = g.x_face_count + (0 if port_id == "y_min" else (g.ny - 2) * g.nx) + result: Index = np.arange(first, first + g.nx, dtype=np.intp) + result.setflags(write=False) + return result + + @property + def transverse_faces(self) -> Index: + """Every x face in the original order, including zero lateral inflow.""" + result: Index = np.arange(self.geometry.x_face_count, dtype=np.intp) + result.setflags(write=False) + return result diff --git a/src/solarlab/equations/assembly/small_signal.py b/src/solarlab/equations/assembly/small_signal.py new file mode 100644 index 00000000..eadd3117 --- /dev/null +++ b/src/solarlab/equations/assembly/small_signal.py @@ -0,0 +1,855 @@ +"""Small-signal (AC) analysis on the assembled ionic 1D systems (decision Q3). + +Phasors use exp(+i*omega*t). The linearization is the assembled ``J`` and +``M = -S_u`` at an admitted operating state; nothing is assembled twice. +The analysis-level row operations are explicit, applied in a fixed order, +and recorded with their identities in every :class:`AssembledACSystem`: + +1. ``contact_drive`` / ``known_contact_coordinates``: the voltage drive + ``-polarity * V`` on the right Gauss row, and the prescribed contact + potential and fixed-reservoir carrier coordinates. +2. ``moving_boundary_lift`` (moving-lift form only): the drive becomes the + grouped ``-(F_V + J c) V`` and rate ``K (c - r) V`` of the coordinate lift + ``c``, and every prescribed coordinate becomes zero. +3. ``frozen_ion_rows`` (frozen ions): ion rows become identity rows with no + storage and zero drive, and are left out of the enforced original rows. +4. ``zero_hz_inventory_rows`` / ``zero_hz_immobile_profile_rows`` (0 Hz, + mobile ions): one row per connected mobile species becomes its physical + inventory gradient; every row of a zero-diffusivity species becomes its + profile gradient. + +Every number reproduces the original ``IonicSmallSignal1D`` and +``MultipleIonicSmallSignal1D`` arithmetic in its written order (pinned bit for +bit by tests/unit/assembly). Content identities replace in-module source pins +(Q6): the operator identity binds the assembled system, the working state and +the coordinate form. +""" + +from __future__ import annotations + +from collections.abc import Mapping +from dataclasses import dataclass, field +from hashlib import sha256 +import json +import math +from typing import Any, TypeAlias, cast + +import numpy as np +from numpy.typing import ArrayLike, NDArray +from scipy.sparse import csc_matrix + +from solarlab.contracts.units import ELEMENTARY_CHARGE_C as Q +from solarlab.equations.assembly.ionic_1d import AssembledIonic1DProblem, AssembledMultipleIonic1DProblem +from solarlab.equations.assembly.quasi_fermi import quasi_fermi_potential_tangents +from solarlab.equations.dc_1d import CapabilityError +from solarlab.equations.ionic_1d import CompiledIonicDevice1D, IonicState1D +from solarlab.equations.ionic_closure import declared_immobile_profiles, immobile_profile_binding +from solarlab.equations.multiple_ionic_1d import CompiledMultipleIonicDevice1D, MultipleIonicState1D +from solarlab.physics.ions import DIFFUSION_ONLY_STERIC_V1, ion_face_flux_jacobian + +__all__ = [ + "AssembledACSystem", "AssembledIonicSmallSignal1D", "AssembledMultipleIonicSmallSignal1D", + "RowOperation", "assembled_ionic_small_signal", "assembled_multiple_ionic_small_signal", +] + +SCHEMA = "solarlab.assembled_small_signal.v1" +MOVING_LIFT = "moving_boundary_lift_v1" +FIXED_REFERENCE = "fixed_reference_v1" +FORMS = frozenset({MOVING_LIFT, FIXED_REFERENCE}) + +Vector: TypeAlias = NDArray[np.float64] +ComplexVector: TypeAlias = NDArray[np.complex128] + + +def _frequency_voltage(frequency_Hz: float, voltage_phasor_V: complex, ion_mode: str) -> tuple[float, complex]: + frequency, voltage = float(frequency_Hz), complex(voltage_phasor_V) + if not math.isfinite(frequency) or frequency < 0.0: + raise ValueError("frequency must be finite nonnegative Hz") + if not np.isfinite(voltage) or voltage == 0.0: + raise ValueError("voltage phasor must be finite and nonzero; 1 V denotes a derivative") + if ion_mode not in {"mobile", "frozen"}: + raise ValueError("ion_mode must explicitly select mobile or frozen ions") + return frequency, voltage + + +def _sum_complex(values: ArrayLike) -> complex: + array = np.asarray(values, dtype=complex) + return complex(math.fsum(array.real.ravel().tolist()), math.fsum(array.imag.ravel().tolist())) + + +def _digest(values: ArrayLike) -> str: + """Content digest of a real or complex vector (binary64 words).""" + array = np.ascontiguousarray(values) + return sha256(array.dtype.str.encode() + array.tobytes()).hexdigest() + + +def _complex_word(value: complex) -> list[str]: + return [float(value.real).hex(), float(value.imag).hex()] + + +@dataclass(frozen=True) +class RowOperation: + """One declared analysis-level operation on the assembled ``J``, ``M`` and drive.""" + + kind: str + rows: tuple[int, ...] + detail: str = "" + + @property + def identity(self) -> str: + return sha256(json.dumps([SCHEMA, self.kind, list(self.rows), self.detail], + separators=(",", ":")).encode()).hexdigest() + + +def _operation(kind: str, rows: ArrayLike, **detail: Any) -> RowOperation: + indices = tuple(int(row) for row in np.asarray(rows, dtype=np.intp).ravel()) + return RowOperation(kind, indices, json.dumps(detail, sort_keys=True, separators=(",", ":"))) + + +@dataclass(frozen=True) +class AssembledACSystem: + """One amplitude-bound frequency system and the row operations that formed it. + + ``rhs``/``fixed_coordinates`` already include ``voltage_phasor_V``. + ``identity`` binds the operator, frequency, phasor, ion mode, coordinate + form and every operation identity, in application order. + """ + + frequency_Hz: float + voltage_phasor_V: complex + ion_mode: str + jacobian: csc_matrix + storage_jacobian: csc_matrix + rhs: ComplexVector + rhs_rate: ComplexVector + fixed_coordinates: dict[int, complex] + constraint_rows: Mapping[str, Any] + original_rows_enforced: tuple[int, ...] + coordinate_form: str + coordinate_lift_per_V: Vector + immobile_constraint_rows: dict[str, tuple[int, ...]] = field(default_factory=dict) + row_operations: tuple[RowOperation, ...] = () + operator_identity: str = "" + + @property + def identity(self) -> str: + record = [SCHEMA, self.operator_identity, float(self.frequency_Hz).hex(), + _complex_word(self.voltage_phasor_V), self.ion_mode, self.coordinate_form, + [operation.identity for operation in self.row_operations]] + return sha256(json.dumps(record, separators=(",", ":")).encode()).hexdigest() + + @property + def coordinate_representation(self) -> str: + return self.coordinate_form + + @property + def rhs_per_V(self) -> ComplexVector: + result: ComplexVector = self.rhs / self.voltage_phasor_V + return result + + @property + def rhs_rate_per_V(self) -> ComplexVector: + result: ComplexVector = self.rhs_rate / self.voltage_phasor_V + return result + + @property + def fixed_coordinates_per_V(self) -> dict[int, complex]: + return {index: value / self.voltage_phasor_V for index, value in self.fixed_coordinates.items()} + + +def _system_record(system: AssembledACSystem | None, operator_identity: str, frequency: float, voltage: complex, + ion_mode: str, form: str) -> dict[str, object]: + """The identities an observation records: its frequency system and that system's row operations.""" + if system is None: + return {} + if (system.operator_identity != operator_identity or system.frequency_Hz != frequency + or system.voltage_phasor_V != voltage or system.ion_mode != ion_mode or system.coordinate_form != form): + raise ValueError("the AC system belongs to another operator, frequency, drive or representation") + return {"ac_system_identity": system.identity, + "ac_row_operations": tuple((operation.kind, operation.identity) for operation in system.row_operations)} + + +def _contact_drive(device: CompiledIonicDevice1D | CompiledMultipleIonicDevice1D, voltage: complex, + operations: list[RowOperation]) -> tuple[ComplexVector, dict[int, complex]]: + """Operation 1: the right-contact Gauss drive and the known contact coordinates. + + The carrier contact values keep each original's own expression: the + single-domain operator divides the Python ``complex`` drive, the + two-domain operator the NumPy ``complex128`` one. + """ + N, component = device.node_count, device.electronic_component + rhs: ComplexVector = np.zeros(device.state_size, dtype=complex) + rhs[N - 1] = -component.voltage_polarity * voltage + phi_right = complex(rhs[N - 1]) + known: dict[int, complex] = {0: 0.0j, N - 1: phi_right} + for offset in (N, 2 * N): + known[offset] = 0.0j + known[offset + N - 1] = (-rhs[N - 1] / component.thermal_voltage_V + if isinstance(device, CompiledMultipleIonicDevice1D) + else -phi_right / component.thermal_voltage_V) + operations.append(_operation("contact_drive", [N - 1], value=_complex_word(phi_right))) + operations.append(_operation("known_contact_coordinates", sorted(known), + values={str(row): _complex_word(value) for row, value in sorted(known.items())})) + return rhs, known + + +def _moving_lift(lift: Vector, reference: Vector, partial: Vector, drive: Vector, voltage: complex, + known: dict[int, complex], operations: list[RowOperation]) -> tuple[ + ComplexVector, ComplexVector, dict[int, complex]]: + """Operation 2: the grouped lift drive and rate, and zero prescribed coordinates.""" + rhs: ComplexVector = -partial * voltage + rhs_rate: ComplexVector = drive * voltage + operations.append(_operation("moving_boundary_lift", np.arange(partial.size), lift=_digest(lift), + reference_direction=_digest(reference), drive_per_V=_digest(partial), + rate_per_V=_digest(drive))) + return rhs, rhs_rate, {index: 0.0j for index in known} + + +@dataclass(frozen=True) +class AssembledIonicSmallSignal1D: + """Linearization of the assembled single-domain rows about an admitted state. + + The surface of ``IonicSmallSignal1D``: ``jacobian``/``storage_jacobian``, + the reference direction and coordinate lift, ``system``, + ``original_residual`` and ``observe``. Bound-field consistency is checked + here; the experiment admits the DC state and its physical gates. + """ + + problem: AssembledIonic1DProblem + operating_state: IonicState1D + coordinate_form: str = MOVING_LIFT + jacobian: csc_matrix = field(init=False, repr=False) + storage_jacobian: csc_matrix = field(init=False, repr=False) + reference_direction_per_V: Vector = field(init=False, repr=False) + coordinate_lift_per_V: Vector = field(init=False, repr=False) + working_state_digest: str = field(init=False) + working_state_identity: str = field(init=False) + identity: str = field(init=False) + + def __post_init__(self) -> None: + if not isinstance(self.problem, AssembledIonic1DProblem) or not isinstance(self.operating_state, IonicState1D): + raise ValueError("ionic AC requires a full ionic problem and bound operating state") + if self.coordinate_form not in FORMS: + raise ValueError("ionic AC requires an explicit supported coordinate representation") + device, state = self.problem.device, self.operating_state + if state.device_sha256 != device.identity or state.voltage_V != self.problem.voltage_V: + raise ValueError("ionic AC state must have the same complete device and operating voltage") + if any(channel.kind != "fixed_reservoir" for channel in device.electronic_component.channels): + raise CapabilityError("ionic AC currently requires all fixed-reservoir carrier contacts") + manifest = device.binding_manifest + domain, component = manifest.get("ion_domain"), manifest.get("electronic_component") + if (sha256(device.binding_manifest_json.encode()).hexdigest() != device.identity + or not isinstance(domain, dict) or domain.get("contacts") != ["blocking", "blocking"] + or not isinstance(component, dict) or component.get("compiled_sha256") != device.electronic_component.identity): + raise ValueError("ionic AC requires the original full binding and one declared blocking domain") + actual = device.state(state.u, voltage_V=state.voltage_V) + for name in ("potential_V", "electron_density_m3", "hole_density_m3"): + if not np.array_equal(getattr(state.electronic_state, name), getattr(actual.electronic_state, name)): + raise ValueError("ionic AC operating fields disagree with their bound coordinates") + if (state.electronic_state.device_sha256 != device.electronic_component.identity + or not np.array_equal(actual.positive_ion_density_m3, state.positive_ion_density_m3) + or not np.array_equal(actual.negative_ion_density_m3, state.negative_ion_density_m3) + or actual.domain_inventories_m2 != state.domain_inventories_m2): + raise ValueError("ionic AC requires complete consistent species fields/inventories") + object.__setattr__(self, "jacobian", self.problem.jacobian(state.u)) + object.__setattr__(self, "storage_jacobian", self.problem.storage_jacobian(state.u)) + count = device.node_count + direction = np.zeros(device.state_size) + component = device.electronic_component + before, after = component.carrier_reference_energies(0.0), component.carrier_reference_energies(1.0) + for offset, zero, one in zip((count, 2 * count), before, after): + direction[offset:offset + count] = -(one - zero) / component.thermal_voltage_V + direction.setflags(write=False) + object.__setattr__(self, "reference_direction_per_V", direction) + lift = np.zeros(device.state_size) + lift[count - 1] = -component.voltage_polarity + for offset in (count, 2 * count): + for node in (0, count - 1): + lift[offset + node] = -lift[node] / component.thermal_voltage_V + direction[offset + node] + lift.setflags(write=False) + object.__setattr__(self, "coordinate_lift_per_V", lift) + digest = sha256(np.asarray(state.u, dtype=np.float64).tobytes()).hexdigest() + object.__setattr__(self, "working_state_digest", digest) + object.__setattr__(self, "working_state_identity", sha256(json.dumps(( + device.identity, float(state.voltage_V).hex(), float(self.problem.generation_scale).hex(), digest, + )).encode()).hexdigest()) + object.__setattr__(self, "identity", sha256(json.dumps( + [SCHEMA, "ionic_1d", self.problem.binding.identity, self.working_state_identity, self.coordinate_form], + separators=(",", ":")).encode()).hexdigest()) + + @property + def device(self) -> CompiledIonicDevice1D: + return self.problem.device + + @property + def coordinate_representation(self) -> str: + return self.coordinate_form + + def system(self, frequency_Hz: float, *, voltage_phasor_V: complex = 1.0, ion_response: str = "mobile", + ion_mode: str | None = None) -> AssembledACSystem: + ion_mode = ion_response if ion_mode is None else ion_mode + frequency, voltage = _frequency_voltage(frequency_Hz, voltage_phasor_V, ion_mode) + device, N = self.device, self.device.node_count + J, K = self.jacobian.copy().tolil(), self.storage_jacobian.copy().tolil() + operations: list[RowOperation] = [] + rhs, known = _contact_drive(device, voltage, operations) + rhs_rate = np.zeros_like(rhs) + if self.coordinate_form == MOVING_LIFT: + partial, drive = self._moving_voltage_partial(self.coordinate_lift_per_V) + rhs, rhs_rate, known = _moving_lift(self.coordinate_lift_per_V, self.reference_direction_per_V, + partial, drive, voltage, known, operations) + rows: dict[str, int] = {} + profile_rows: dict[str, tuple[int, ...]] = {} + profiles = declared_immobile_profiles(device) + enforced: NDArray[np.bool_] = np.ones(device.state_size, dtype=bool) + if ion_mode == "frozen": + for index in range(3 * N, device.state_size): + J.rows[index], J.data[index] = [index], [1.0] + K.rows[index], K.data[index] = [], [] + known[index] = 0.0j + rhs[index] = rhs_rate[index] = 0.0j + enforced[3 * N:] = False + operations.append(_operation("frozen_ion_rows", np.arange(3 * N, device.state_size))) + elif frequency == 0.0: + for species, block in zip(device.ion_species_names, device.ion_species_slices): + if species in profiles: + local_rows = tuple(range(cast(int, block.start), cast(int, block.stop))) + for row in local_rows: + gradient = -self.storage_jacobian[row, :].toarray()[0] + nonzero = np.flatnonzero(gradient) + J.rows[row], J.data[row] = nonzero.tolist(), gradient[nonzero].tolist() + K.rows[row], K.data[row] = [], [] + rhs[row] = rhs_rate[row] = 0.0j + profile_rows[species] = local_rows + continue + if np.any(getattr(device, species + "_ion_diffusivity_faces_m2_s") <= 0.0): + raise CapabilityError("zero-Hz mobile ions require one connected positive-D domain per species") + row = cast(int, block.start) + gradient = -np.asarray(self.storage_jacobian[block, :].sum(axis=0)).ravel() + nonzero = np.flatnonzero(gradient) + J.rows[row], J.data[row] = nonzero.tolist(), gradient[nonzero].tolist() + K.rows[row], K.data[row] = [], [] + rhs[row] = rhs_rate[row] = 0.0j + rows[species] = row + if rows: + operations.append(_operation("zero_hz_inventory_rows", sorted(rows.values()), species=rows)) + if profile_rows: + operations.append(_operation("zero_hz_immobile_profile_rows", + sorted(row for part in profile_rows.values() for row in part), + species={name: list(part) for name, part in profile_rows.items()})) + return AssembledACSystem(frequency, voltage, ion_mode, J.tocsc(), K.tocsc(), rhs, rhs_rate, known, rows, + tuple(int(index) for index in np.flatnonzero(enforced)), self.coordinate_form, + self.coordinate_lift_per_V, profile_rows, tuple(operations), self.identity) + + def original_residual(self, fixed_perturbation: ArrayLike, frequency_Hz: float, *, + voltage_phasor_V: complex = 1.0) -> ComplexVector: + frequency, voltage = _frequency_voltage(frequency_Hz, voltage_phasor_V, "mobile") + x = np.asarray(fixed_perturbation, dtype=complex) + if x.shape != (self.device.state_size,) or not np.all(np.isfinite(x)): + raise ValueError("ionic AC perturbation must be finite and complete") + rhs = np.zeros_like(x) + rhs[self.device.node_count - 1] = -self.device.electronic_component.voltage_polarity * voltage + result: ComplexVector = (self.jacobian + 2j * math.pi * frequency * self.storage_jacobian) @ x - rhs + return result + + def _carrier_particles(self, x: ArrayLike, reference_drive: complex = 0.0) -> tuple[ComplexVector, ComplexVector]: + """Production quasi-Fermi tangent, grouping exact flux homogeneity modes.""" + component, N = self.device.electronic_component, self.device.node_count + values_x = np.asarray(x) + u = self.operating_state.u[:3 * N] + fluxes = self.problem.electronic_problem.fluxes(u) + transport = None if component.field_transport is None else component.field_transport.evaluate(u[:N]) + state = self.operating_state.electronic_state + before, after = component.carrier_reference_energies(0.0), component.carrier_reference_energies(1.0) + values = [] + for offset, density, flux, sign, reference in ( + (N, state.electron_density_m3, fluxes.electron, 1.0, after[0] - before[0]), + (2 * N, state.hole_density_m3, fluxes.hole, -1.0, after[1] - before[1])): + drive = sign * np.diff(u[offset:offset + N]) + left_phi, _ = quasi_fermi_potential_tangents(flux, drive, sign, component.thermal_voltage_V) + if transport is not None: + diffusivity = (transport.electron_diffusivity_m2_s if offset == N + else transport.hole_diffusivity_m2_s) + d_diffusivity = (transport.electron_d_diffusivity_d_field if offset == N + else transport.hole_d_diffusivity_d_field) + # Same antisymmetric CT chain as the steady Jacobian. A moving + # carrier energy reference alone has no electric-field drive. + left_phi = left_phi + (flux.flux / diffusivity) * d_diffusivity / np.diff(component.nodes_m) + left_z = sign * flux.left_density_derivative * density[:-1] + values.append(left_phi * (values_x[:N - 1] - values_x[1:N]) + + left_z * (values_x[offset:offset + N - 1] - values_x[offset + 1:offset + N]) + + sign * flux.flux * (values_x[offset + 1:offset + N] + + (values_x[1:N] + reference * reference_drive) / component.thermal_voltage_V)) + return values[0], values[1] + + def _moving_voltage_partial(self, direction: ArrayLike | None = None) -> tuple[Vector, Vector]: + """Grouped actual F_V+J*direction and K*(c-direction), before cancellation. + + Only the declared zero ion-reference/ion-lift path is used. The potential + lift's ionic endpoint force remains through the assembled Jion*lift. + """ + device, N = self.device, self.device.node_count + component, state = device.electronic_component, self.operating_state.electronic_state + moving = np.zeros(device.state_size) if direction is None else np.asarray(direction) + if np.any(moving[3 * N:] != 0.0): + raise ValueError("this AC voltage lift cannot change ion coordinates") + before, after = component.carrier_reference_energies(0.0), component.carrier_reference_energies(1.0) + references = (after[0] - before[0], after[1] - before[1]) + dn = state.electron_density_m3 * ((moving[:N] + references[0]) / component.thermal_voltage_V + moving[N:2 * N]) + dp = -state.hole_density_m3 * ((moving[:N] + references[1]) / component.thermal_voltage_V + moving[2 * N:3 * N]) + rate = self.problem.electronic_problem.recombination_rate(state.electron_density_m3, state.hole_density_m3) + assert rate.d_rate_dn is not None and rate.d_rate_dp is not None + source = -(rate.d_rate_dn * dn + rate.d_rate_dp * dp) + fn, fp = self._carrier_particles(moving, 1.0) + result: Vector = np.zeros(device.state_size) + storage_drive: Vector = np.zeros(device.state_size) + result[:N] = component.poisson.jacobian() @ moving[:N] + component.poisson.charge_jacobian() * Q * (dp - dn) + result[N - 1] += component.voltage_polarity + for offset, population, flux, sign, reference in ((N, state.electron_density_m3, fn, 1.0, references[0]), + (2 * N, state.hole_density_m3, fp, -1.0, references[1])): + rows = -np.diff(np.r_[0.0, flux, 0.0]) + component.geometry.cell_measures_m * source + for node in (0, N - 1): + rows[node] = sign * ((moving[node] + reference) / component.thermal_voltage_V + moving[offset + node]) + result[offset:offset + N] = rows + storage_drive[offset:offset + N] = component.geometry.cell_measures_m * sign * population * ( + (moving[:N] + reference) / component.thermal_voltage_V + moving[offset:offset + N] + ) + storage_drive[offset] = storage_drive[offset + N - 1] = 0.0 + result[3 * N:] = self.jacobian[3 * N:, :N] @ moving[:N] + return result, storage_drive + + def observe(self, fixed_perturbation: ArrayLike | AssembledACSystem, frequency_Hz: float | ArrayLike, *, + voltage_phasor_V: complex = 1.0, ion_mode: str = "mobile", coordinate_form: str | None = None, + system: AssembledACSystem | None = None) -> dict[str, object]: + """Physical response of one solve; with ``system`` (or the system first) its identities are recorded.""" + descriptor = system + if isinstance(fixed_perturbation, AssembledACSystem): + descriptor = fixed_perturbation + fixed_perturbation, frequency_Hz, ion_mode = cast(ArrayLike, frequency_Hz), descriptor.frequency_Hz, descriptor.ion_mode + coordinate_form = descriptor.coordinate_form + frequency, voltage = _frequency_voltage(cast(float, frequency_Hz), voltage_phasor_V, ion_mode) + device, N = self.device, self.device.node_count + x = np.asarray(fixed_perturbation, dtype=complex) + form = self.coordinate_form if coordinate_form is None else coordinate_form + if form not in FORMS: + raise ValueError("unknown AC perturbation coordinate representation") + if x.shape != (device.state_size,) or not np.all(np.isfinite(x)): + raise ValueError("ionic AC perturbation must be finite and complete") + solve_coordinates = x.copy() + moving_x = x + self.reference_direction_per_V * voltage + if form == MOVING_LIFT: + moving_x = x + self.coordinate_lift_per_V * voltage + fixed_x = x + (self.coordinate_lift_per_V - self.reference_direction_per_V) * voltage + else: + fixed_x = x + fixed_residual = self.original_residual(fixed_x, frequency, voltage_phasor_V=voltage) + if ion_mode == "frozen" and np.any(x[3 * N:] != 0.0): + raise ValueError("frozen-ion response requires every ionic coordinate perturbation to be zero") + omega = 2.0 * math.pi * frequency + component, state = device.electronic_component, self.operating_state + phi = fixed_x[:N] + n, p = state.electronic_state.electron_density_m3, state.electronic_state.hole_density_m3 + dn = n * (phi / component.thermal_voltage_V + x[N:2 * N]) + dp = -p * (phi / component.thermal_voltage_V + x[2 * N:3 * N]) + if form == MOVING_LIFT: + before, after = component.carrier_reference_energies(0.0), component.carrier_reference_energies(1.0) + lift = self.coordinate_lift_per_V + dn = n * (x[:N] / component.thermal_voltage_V + x[N:2 * N]) + n * ((lift[:N] + after[0] - before[0]) / component.thermal_voltage_V + lift[N:2 * N]) * voltage + dp = -p * (x[:N] / component.thermal_voltage_V + x[2 * N:3 * N]) - p * ((lift[:N] + after[1] - before[1]) / component.thermal_voltage_V + lift[2 * N:3 * N]) * voltage + mass = device.ion_coordinate_jacobian_m3(state.u, voltage_V=state.voltage_V) + coordinates = np.stack([x[block] for block in device.ion_species_slices], axis=1) + densities = np.sum(mass * coordinates[:, None, :], axis=2).T + fn, fp = self._carrier_particles(x) + if form == MOVING_LIFT: + known_n, known_p = self._carrier_particles(self.coordinate_lift_per_V, 1.0) + fn, fp = fn + known_n * voltage, fp + known_p * voltage + rate = self.problem.electronic_problem.recombination_rate(n, p) + assert rate.d_rate_dn is not None and rate.d_rate_dp is not None + pair = -component.geometry.cell_measures_m * (rate.d_rate_dn * dn + rate.d_rate_dp * dp) + carrier: ComplexVector = np.empty((2, N + 1), dtype=complex) + for index, (flux, density) in enumerate(((fn, dn), (fp, dp))): + carrier[index, 1:-1] = flux + carrier[index, 0] = flux[0] - pair[0] + 1j * omega * component.geometry.cell_measures_m[0] * density[0] + carrier[index, -1] = flux[-1] + pair[-1] - 1j * omega * component.geometry.cell_measures_m[-1] * density[-1] + carrier_balance = -np.diff(carrier, axis=1) + pair - 1j * omega * component.geometry.cell_measures_m * np.stack((dn, dp)) + populations = ((state.positive_ion_density_m3,) if device.ion_species_count == 1 + else (state.positive_ion_density_m3, state.negative_ion_density_m3)) + ion_particles, ion_balance, base_profiles, ion_inventory = {}, {}, {}, {} + charge = Q * component.geometry.cell_measures_m * (dp - dn) + charge_balance = Q * (carrier_balance[1] - carrier_balance[0]) + conduction = Q * (carrier[1] - carrier[0]) + ionic_conduction: ComplexVector = np.zeros(N + 1, dtype=complex) + base_ion_charge = np.zeros(N) + for index, (species, density, block) in enumerate(zip(device.ion_species_names, populations, device.ion_species_slices)): + sign = 1.0 if index == 0 else -1.0 + tangent = ion_face_flux_jacobian( + state.electronic_state.potential_V[device.ion_node_indices], density, np.diff(device.ion_geometry.nodes_m), + getattr(device, species + "_ion_diffusivity_faces_m2_s"), component.thermal_voltage_V, + getattr(device, species + "_ion_site_limit_m3")[:-1], + steric_diffusion_only=device.steric_model == DIFFUSION_ONLY_STERIC_V1, + P_lim_node=getattr(device, species + "_ion_site_limit_m3"), + P_other_node=populations[1 - index] if device.ion_site_contract == "shared_finite_sites" else None, + drift_sign=sign, + ) + if not np.all(tangent.differentiable_faces): + raise ValueError("ionic AC tangent is undefined at a retained constitutive kink") + perturbation = densities[index] + other = densities[1 - index] if device.ion_species_count == 2 else np.zeros_like(perturbation) + interior = (tangent.potential_left_derivative * phi[device.ion_node_indices[:-1]] + + tangent.potential_right_derivative * phi[device.ion_node_indices[1:]] + + tangent.density_left_derivative * perturbation[:-1] + tangent.density_right_derivative * perturbation[1:] + + tangent.partner_left_derivative * other[:-1] + tangent.partner_right_derivative * other[1:]) + if ion_mode == "frozen": + interior = np.zeros_like(interior) + full: ComplexVector = np.zeros(N + 1, dtype=complex) + full[device.ion_node_indices[:-1] + 1] = interior + balance = -np.diff(np.r_[0.0j, interior, 0.0j]) - 1j * omega * device.ion_geometry.cell_measures_m * perturbation + ion_particles[species], ion_balance[species], base_profiles[species] = full, balance, density + ion_inventory[species] = complex(np.sum(device.ion_geometry.cell_measures_m * perturbation)) + charge[device.ion_node_indices] += sign * Q * device.ion_geometry.cell_measures_m * perturbation + charge_balance[device.ion_node_indices] += sign * Q * balance + conduction += sign * Q * full + ionic_conduction += sign * Q * full + reference = getattr(device, species + "_ion_reference_m3") + base_ion_charge += sign * Q * (device.project_ion_density(density) - device.project_ion_density(reference)) + internal_D = -component.poisson.face_capacitance_F_m2 * np.diff(phi) + D = np.r_[internal_D[0] - charge[0], internal_D, internal_D[-1] + charge[-1]] + displacement = 1j * omega * D + total = conduction + displacement + gauss = D[:-1] - D[1:] + charge + identity = total[:-1] - total[1:] - charge_balance - 1j * omega * gauss + enforced: NDArray[np.bool_] = np.ones(device.state_size, dtype=bool) + if ion_mode == "frozen": + enforced[3 * N:] = False + matrix = self.jacobian + 1j * omega * self.storage_jacobian + rhs: ComplexVector = np.zeros(device.state_size, dtype=complex) + rhs[N - 1] = -component.voltage_polarity * voltage + denominator = abs(matrix) @ abs(fixed_x) + abs(rhs) + fixed_errors = np.divide(abs(fixed_residual), denominator, out=np.zeros_like(denominator), where=denominator != 0.0) + original_partial, _drive = self._moving_voltage_partial() + moving_rhs = -original_partial * voltage + 1j * omega * (self.storage_jacobian @ self.reference_direction_per_V) * voltage + residual = matrix @ moving_x - moving_rhs + moving_denominator = abs(matrix) @ abs(moving_x) + abs(moving_rhs) + moving_errors = np.divide(abs(residual), moving_denominator, out=np.zeros_like(moving_denominator), where=moving_denominator != 0.0) + errors = np.maximum(fixed_errors, moving_errors) + positive_electrode = 0 if component.voltage_polarity > 0.0 else -1 + input_current = component.voltage_polarity * total[positive_electrode] + bound = (Q * (float(np.sum(abs(carrier_balance))) + sum(float(np.sum(abs(v))) for v in ion_balance.values())) + + omega * float(np.sum(abs(gauss)))) / abs(voltage) + result: dict[str, object] = { + "frequency_Hz": frequency, "voltage_phasor_V": voltage, "ion_mode": ion_mode, + "coordinate_form": form, "coordinate_representation": form, "solve_coordinate_perturbation": solve_coordinates, + "coordinate_lift_per_V": self.coordinate_lift_per_V, + "fixed_coordinate_perturbation": fixed_x, "moving_coordinate_perturbation": moving_x, + "reference_direction_per_V": self.reference_direction_per_V, + "potential_perturbation_V": phi, "electric_field_perturbation_V_m": -np.diff(phi) / np.diff(component.nodes_m), + "electron_density_perturbation_m3": dn, "hole_density_perturbation_m3": dp, + "ion_density_perturbation_m3": dict(zip(device.ion_species_names, densities)), + "ion_inventory_perturbation_m2": ion_inventory, "carrier_particle_fluxes_m2_s": carrier, + "ion_particle_fluxes_m2_s": ion_particles, "carrier_balance_m2_s": carrier_balance, + "ion_balance_m2_s": ion_balance, "charge_inventory_perturbation_C_m2": charge, + "conduction_current_density_A_m2": conduction, "displacement_current_density_A_m2": displacement, + "ionic_conduction_current_density_A_m2": ionic_conduction, + "total_current_density_A_m2": total, "terminal_current_density_A_m2": total[[0, -1]], + "terminal_conduction_current_density_A_m2": conduction[[0, -1]], + "terminal_displacement_current_density_A_m2": displacement[[0, -1]], + "input_current_density_A_m2": input_current, "admittance_density_S_m2": input_current / voltage, + "maxwell_spread_A_m2_V": float(np.max(abs(total - total[0]))) / abs(voltage), + "current_scale_A_m2_V": float(np.max(abs(total))) / abs(voltage), + "residual_balance_bound_A_m2_V": bound, "gauss_defect_C_m2": gauss, + "maxwell_identity_error_A_m2": identity, "original_residual": residual, + "original_fixed_residual": fixed_residual, + "original_rows_enforced": tuple(int(index) for index in np.flatnonzero(enforced)), + "original_componentwise_backward_error": float(np.max(errors[enforced])), + "original_ion_force_residual": {name: residual[block] for name, block in zip(device.ion_species_names, device.ion_species_slices)}, + "base_ion_density_m3": base_profiles, "base_ion_charge_density_C_m3": base_ion_charge, + "compiled_identity": device.identity, "working_state_digest": self.working_state_digest, + "working_state_identity": self.working_state_identity, "analysis_identity": self.identity, + "physical_certificate_status": "not_evaluated", + } + result.update(_system_record(descriptor, self.identity, frequency, voltage, ion_mode, form)) + profiles = declared_immobile_profiles(device) + if profiles: + result["immobile_profile_binding"] = immobile_profile_binding(device) + result["immobile_density_perturbation_relative_per_V"] = { + species: float(np.max(abs(densities[device.ion_species_names.index(species)]) / target)) / abs(voltage) + for species, target in profiles.items()} + result["immobile_base_profile_relative_error"] = { + species: float(np.max(abs(populations[device.ion_species_names.index(species)] - target) / target)) + for species, target in profiles.items()} + return result + + +def _scope(device: CompiledMultipleIonicDevice1D, ion_mode: str = "mobile") -> None: + """The two-domain AC scope (as ``multiple_ionic_small_signal``).""" + if not isinstance(device, CompiledMultipleIonicDevice1D): + raise ValueError("an actual complete multiple-domain ionic device is required") + if ion_mode != "mobile": + raise CapabilityError("two-domain AC currently supports only mobile positive ions") + if len(device.domains) != 2: + raise CapabilityError("two-domain AC requires exactly two separated blocking domains") + if any(channel.kind != "fixed_reservoir" for channel in device.electronic_component.channels): + raise CapabilityError("two-domain AC requires all fixed-reservoir carrier contacts") + if device.electronic_component.field_transport is not None: + raise CapabilityError("combined CT and multiple-domain AC is outside this initial scope") + for domain in device.domains: + if domain.ion_species_names != ("positive",) or domain.ion_site_contract != "independent_finite_sites": + raise CapabilityError("two-domain AC requires one independent positive species per domain") + if np.any(domain.positive_ion_diffusivity_faces_m2_s <= 0.0): + raise CapabilityError("two-domain AC requires one connected positive-D population in each domain") + record = domain.binding_manifest.get("ion_domain") + if not isinstance(record, dict) or record.get("contacts") != ["blocking", "blocking"]: + raise CapabilityError("two-domain AC requires both endpoints of every domain explicitly blocking") + + +@dataclass(frozen=True) +class AssembledMultipleIonicSmallSignal1D: + """Mobile-positive AC of two separated blocking domains on the assembled rows. + + The surface of ``MultipleIonicSmallSignal1D``. The per-domain operators + supply mathematical tangents and local observations only. + """ + + problem: AssembledMultipleIonic1DProblem + operating_state: MultipleIonicState1D + coordinate_form: str = MOVING_LIFT + jacobian: csc_matrix = field(init=False, repr=False) + storage_jacobian: csc_matrix = field(init=False, repr=False) + reference_direction_per_V: Vector = field(init=False, repr=False) + coordinate_lift_per_V: Vector = field(init=False, repr=False) + working_state_digest: str = field(init=False) + working_state_identity: str = field(init=False) + identity: str = field(init=False) + _local_operators: tuple[AssembledIonicSmallSignal1D, ...] = field(init=False, repr=False) + + def __post_init__(self) -> None: + if not isinstance(self.problem, AssembledMultipleIonic1DProblem): + raise ValueError("the full production multiple-domain problem is required") + device, state = self.problem.device, self.operating_state + _scope(device) + if self.coordinate_form not in FORMS: + raise ValueError("an explicit supported AC coordinate representation is required") + device.validate_state(state) + if state.voltage_V != self.problem.voltage_V: + raise ValueError("AC state and production operating voltage must agree") + local = tuple(AssembledIonicSmallSignal1D( + AssembledIonic1DProblem(domain, state.voltage_V, self.problem.generation_scale), + component_state, self.coordinate_form) + for domain, component_state in zip(device.domains, state.domain_component_states)) + object.__setattr__(self, "_local_operators", local) + object.__setattr__(self, "jacobian", self.problem.jacobian(state.u)) + object.__setattr__(self, "storage_jacobian", self.problem.storage_jacobian(state.u)) + N = device.node_count + for name in ("reference_direction_per_V", "coordinate_lift_per_V"): + values = np.zeros(device.state_size) + values[:3 * N] = getattr(local[0], name)[:3 * N] + values.setflags(write=False) + object.__setattr__(self, name, values) + digest = sha256(np.asarray(state.u, dtype=np.float64).tobytes()).hexdigest() + object.__setattr__(self, "working_state_digest", digest) + object.__setattr__(self, "working_state_identity", sha256(json.dumps(( + device.identity, float(state.voltage_V).hex(), float(self.problem.generation_scale).hex(), digest, + )).encode()).hexdigest()) + object.__setattr__(self, "identity", sha256(json.dumps( + [SCHEMA, "multiple_ionic_1d", self.problem.binding.identity, self.working_state_identity, + self.coordinate_form, [operator.identity for operator in local]], + separators=(",", ":")).encode()).hexdigest()) + + @property + def device(self) -> CompiledMultipleIonicDevice1D: + return self.problem.device + + @property + def coordinate_representation(self) -> str: + return self.coordinate_form + + def _moving_voltage_partial(self, direction: ArrayLike | None = None) -> tuple[Vector, Vector]: + """One electronic drive plus each domain's actual J_ion,phi lift force.""" + device, N = self.device, self.device.node_count + moving = np.zeros(device.state_size) if direction is None else np.asarray(direction, dtype=float) + if moving.shape != (device.state_size,) or np.any(moving[3 * N:] != 0.0): + raise ValueError("the voltage lift must keep every ionic coordinate unchanged") + first = self._local_operators[0] + partial, drive = first._moving_voltage_partial(np.r_[moving[:3 * N], + np.zeros(first.device.state_size - 3 * N)]) + result, rate = np.zeros(device.state_size), np.zeros(device.state_size) + result[:3 * N], rate[:3 * N] = partial[:3 * N], drive[:3 * N] + result[3 * N:] = self.jacobian[3 * N:, :N] @ moving[:N] + return result, rate + + def system(self, frequency_Hz: float, *, voltage_phasor_V: complex = 1.0, + ion_mode: str = "mobile") -> AssembledACSystem: + _scope(self.device, ion_mode) + frequency, voltage = _frequency_voltage(frequency_Hz, voltage_phasor_V, "mobile") + device = self.device + J, K = self.jacobian.copy().tolil(), self.storage_jacobian.copy().tolil() + operations: list[RowOperation] = [] + rhs, known = _contact_drive(device, voltage, operations) + rhs_rate = np.zeros_like(rhs) + if self.coordinate_form == MOVING_LIFT: + partial, drive = self._moving_voltage_partial(self.coordinate_lift_per_V) + rhs, rhs_rate, known = _moving_lift(self.coordinate_lift_per_V, self.reference_direction_per_V, + partial, drive, voltage, known, operations) + constraints: dict[str, dict[str, int]] = {} + if frequency == 0.0: + for name, blocks in device.ion_species_slices.items(): + constraints[name] = {} + for species, block in blocks.items(): + row = cast(int, block.start) + gradient = -np.asarray(self.storage_jacobian[block, :].sum(axis=0)).ravel() + nonzero = np.flatnonzero(gradient) + J.rows[row], J.data[row] = nonzero.tolist(), gradient[nonzero].tolist() + K.rows[row], K.data[row] = [], [] + rhs[row] = rhs_rate[row] = 0.0j + constraints[name][species] = row + operations.append(_operation("zero_hz_inventory_rows", + sorted(row for part in constraints.values() for row in part.values()), + domains=constraints)) + return AssembledACSystem(frequency, voltage, "mobile", J.tocsc(), K.tocsc(), rhs, rhs_rate, known, + constraints, tuple(range(device.state_size)), self.coordinate_form, + self.coordinate_lift_per_V, {}, tuple(operations), self.identity) + + def original_residual(self, fixed_perturbation: ArrayLike, frequency_Hz: float, + *, voltage_phasor_V: complex = 1.0) -> ComplexVector: + frequency, voltage = _frequency_voltage(frequency_Hz, voltage_phasor_V, "mobile") + x = np.asarray(fixed_perturbation, dtype=complex) + if x.shape != (self.device.state_size,) or not np.all(np.isfinite(x)): + raise ValueError("a finite complete two-domain perturbation is required") + rhs = np.zeros_like(x) + rhs[self.device.node_count - 1] = -self.device.electronic_component.voltage_polarity * voltage + result: ComplexVector = (self.jacobian + 2j * math.pi * frequency * self.storage_jacobian) @ x - rhs + return result + + def observe(self, perturbation: ArrayLike, frequency_Hz: float, *, voltage_phasor_V: complex = 1.0, + ion_mode: str = "mobile", coordinate_form: str | None = None, + system: AssembledACSystem | None = None) -> dict[str, Any]: + """Physical response of one solve; with ``system`` its identities are recorded.""" + _scope(self.device, ion_mode) + frequency, voltage = _frequency_voltage(frequency_Hz, voltage_phasor_V, "mobile") + device, N = self.device, self.device.node_count + form = self.coordinate_form if coordinate_form is None else coordinate_form + x = np.asarray(perturbation, dtype=complex) + if form not in FORMS: + raise ValueError("unknown AC coordinate representation") + if x.shape != (device.state_size,) or not np.all(np.isfinite(x)): + raise ValueError("a finite complete two-domain perturbation is required") + fixed_x = x if form == FIXED_REFERENCE else x + ( + self.coordinate_lift_per_V - self.reference_direction_per_V) * voltage + moving_x = x + (self.reference_direction_per_V if form == FIXED_REFERENCE + else self.coordinate_lift_per_V) * voltage + pieces = tuple(cast(dict[str, Any], operator.observe(np.r_[x[:3 * N], x[device.domain_slices[name]]], frequency, + voltage_phasor_V=voltage, coordinate_form=form)) + for name, operator in zip(device.domain_ids, self._local_operators)) + first, component = pieces[0], device.electronic_component + carrier = np.asarray(first["carrier_particle_fluxes_m2_s"]) + carrier_balance = np.asarray(first["carrier_balance_m2_s"]) + dn, dp = first["electron_density_perturbation_m3"], first["hole_density_perturbation_m3"] + charge = Q * component.geometry.cell_measures_m * (dp - dn) + charge_balance = Q * (carrier_balance[1] - carrier_balance[0]) + conduction = Q * (carrier[1] - carrier[0]) + ionic_current: ComplexVector = np.zeros(N + 1, dtype=complex) + base_ionic_charge, fixed_background = np.zeros(N), np.zeros(N) + domains = {} + for domain, part in zip(device.domains, pieces): + name = domain.domain_layer_id + density = part["ion_density_perturbation_m3"]["positive"] + particles = part["ion_particle_fluxes_m2_s"]["positive"] + balance = part["ion_balance_m2_s"]["positive"] + weighted = domain.ion_geometry.cell_measures_m * density + inventory = _sum_complex(weighted) + deposited = Q * weighted + charge[domain.ion_node_indices] += deposited + charge_balance[domain.ion_node_indices] += Q * balance + conduction += Q * particles + ionic_current += Q * particles + base_ionic_charge += part["base_ion_charge_density_C_m3"] + fixed_background -= Q * domain.project_ion_density(domain.positive_ion_reference_m3) + domains[name] = {"electrical_node_indices": domain.ion_node_indices, + "physical_weights_m": domain.ion_geometry.cell_measures_m, + "compiled_component_identity": domain.identity, + "species": {"positive": {"density_perturbation_m3": density, + "particle_fluxes_m2_s": particles, "native_balance_m2_s": balance, + "inventory_perturbation_m2": inventory, + "charge_inventory_perturbation_C_m2": deposited, + "charge_inventory_roundoff_C_m2": _sum_complex(deposited) - Q * inventory, + "base_density_m3": part["base_ion_density_m3"]["positive"], + "reference_density_m3": domain.positive_ion_reference_m3, + "reference_inventory_m2": device.reference_inventories_m2[name]["positive"], + "blocking_face_indices": (int(domain.ion_node_indices[0]), int(domain.ion_node_indices[-1] + 1))}}} + omega = 2 * math.pi * frequency + phi = fixed_x[:N] + interior_D = -component.poisson.face_capacitance_F_m2 * np.diff(phi) + D = np.r_[interior_D[0] - charge[0], interior_D, interior_D[-1] + charge[-1]] + displacement = 1j * omega * D + total = conduction + displacement + gauss = D[:-1] - D[1:] + charge + identity = total[:-1] - total[1:] - charge_balance - 1j * omega * gauss + matrix = self.jacobian + 1j * omega * self.storage_jacobian + fixed_rhs: ComplexVector = np.zeros(device.state_size, dtype=complex) + fixed_rhs[N - 1] = -component.voltage_polarity * voltage + fixed_residual = matrix @ fixed_x - fixed_rhs + partial, _ = self._moving_voltage_partial() + moving_rhs = -partial * voltage + 1j * omega * (self.storage_jacobian @ self.reference_direction_per_V) * voltage + moving_residual = matrix @ moving_x - moving_rhs + errors = [] + for values, rhs, residual in ((fixed_x, fixed_rhs, fixed_residual), (moving_x, moving_rhs, moving_residual)): + denominator = abs(matrix) @ abs(values) + abs(rhs) + errors.append(float(np.max(np.divide(abs(residual), denominator, + out=np.zeros_like(denominator), where=denominator != 0.0)))) + bounds = Q * (float(np.sum(abs(carrier_balance))) + math.fsum( + float(np.sum(abs(part["ion_balance_m2_s"]["positive"]))) for part in pieces)) + bounds += omega * float(np.sum(abs(gauss))) + positive_electrode = 0 if component.voltage_polarity > 0.0 else -1 + input_current = component.voltage_polarity * total[positive_electrode] + return {"frequency_Hz": frequency, "voltage_phasor_V": voltage, "ion_mode": "mobile", + "coordinate_form": form, "solve_coordinate_perturbation": x.copy(), + "fixed_coordinate_perturbation": fixed_x, "moving_coordinate_perturbation": moving_x, + "reference_direction_per_V": self.reference_direction_per_V, + "coordinate_lift_per_V": self.coordinate_lift_per_V, + "potential_perturbation_V": phi, "electric_field_perturbation_V_m": -np.diff(phi) / np.diff(component.nodes_m), + "electron_density_perturbation_m3": dn, "hole_density_perturbation_m3": dp, + "carrier_particle_fluxes_m2_s": carrier, "carrier_balance_m2_s": carrier_balance, + "domains": domains, "charge_inventory_perturbation_C_m2": charge, + "charge_balance_C_m2_s": charge_balance, + "base_ion_charge_density_C_m3": base_ionic_charge, "fixed_ion_background_charge_C_m3": fixed_background, + "ionic_conduction_current_density_A_m2": ionic_current, + "conduction_current_density_A_m2": conduction, "displacement_current_density_A_m2": displacement, + "total_current_density_A_m2": total, "terminal_current_density_A_m2": total[[0, -1]], + "terminal_conduction_current_density_A_m2": conduction[[0, -1]], + "terminal_displacement_current_density_A_m2": displacement[[0, -1]], + "input_current_density_A_m2": input_current, "admittance_density_S_m2": input_current / voltage, + "maxwell_spread_A_m2_V": float(np.max(abs(total - total[0]))) / abs(voltage), + "current_scale_A_m2_V": float(np.max(abs(total))) / abs(voltage), + "residual_balance_bound_A_m2_V": bounds / abs(voltage), + "gauss_defect_C_m2": gauss, "maxwell_identity_error_A_m2": identity, + "original_fixed_residual": fixed_residual, "original_residual": moving_residual, + "original_componentwise_backward_error": max(errors), + "original_rows_enforced": tuple(range(device.state_size)), + "original_ion_force_residual": {name: {species: moving_residual[block] for species, block in blocks.items()} + for name, blocks in device.ion_species_slices.items()}, + "compiled_identity": device.identity, "working_state_identity": self.working_state_identity, + "working_state_digest": self.working_state_digest, "analysis_identity": self.identity, + "physical_certificate_status": "not_evaluated", + **_system_record(system, self.identity, frequency, voltage, "mobile", form)} + + +def assembled_ionic_small_signal(compiled: CompiledIonicDevice1D, state: IonicState1D, *, + generation_scale: float = 0.0, + coordinate_form: str = MOVING_LIFT) -> AssembledIonicSmallSignal1D: + """The AC operator of one admitted single-domain state (as ``build_ionic_small_signal``).""" + if not isinstance(compiled, CompiledIonicDevice1D) or not isinstance(state, IonicState1D): + raise ValueError("a complete compiled ionic device and bound operating state are required") + return AssembledIonicSmallSignal1D(AssembledIonic1DProblem(compiled, state.voltage_V, generation_scale), + state, coordinate_form) + + +def assembled_multiple_ionic_small_signal(compiled: CompiledMultipleIonicDevice1D, state: MultipleIonicState1D, *, + generation_scale: float = 0.0, + coordinate_form: str = MOVING_LIFT) -> AssembledMultipleIonicSmallSignal1D: + """The AC operator of one admitted two-domain state (as ``build_multiple_ionic_small_signal``).""" + _scope(compiled) + if not isinstance(state, MultipleIonicState1D): + raise ValueError("a complete bound multiple-domain operating state is required") + return AssembledMultipleIonicSmallSignal1D(AssembledMultipleIonic1DProblem(compiled, state.voltage_V, + generation_scale), + state, coordinate_form) diff --git a/src/solarlab/equations/assembly/terms.py b/src/solarlab/equations/assembly/terms.py new file mode 100644 index 00000000..6e2efeca --- /dev/null +++ b/src/solarlab/equations/assembly/terms.py @@ -0,0 +1,238 @@ +"""Term protocol: typed contributions with exact local tangents. + +A Term is one bound constitutive contribution. It declares the node set it +lives on (``support``), the equation blocks whose rows it feeds, the blocks +it differentiates, and the unit of its contribution per unit measure. Its +``evaluate`` returns, per equation, either + +* :class:`FaceValue` (``kind="face_flux"``): an oriented flux on the faces of + the support, from ``pairs[:, 0]`` to ``pairs[:, 1]``, with its tangents with + respect to each dependency at the face's left and right nodes; or +* :class:`LocalValue` (every other kind): a value on support nodes with its + tangents with respect to each dependency at the same node. + +Kinds: ``face_flux`` (net inflow into cells), ``cell_source`` (volumetric +source), ``port_flux`` (flux along the support axis through one declared +port), ``constraint`` (algebraic rows that replace the rows declared by +:class:`~solarlab.equations.assembly.layout.ConstraintRows`), and ``storage`` +(physical storage density ``S`` per unit measure). + +Optional attributes select a declared legacy order or weighting: + +* ``divergence`` (face flux): ``"scatter"`` (default, the ``TermSink`` order + from a zero row) or ``"chain"`` (``-diff(r_[0, flux, 0])`` on a 1D chain + with blocking ends, assigned rather than added to a zero row). +* ``measure`` (constraint): ``"none"`` (default; unweighted algebraic rows) or + ``"cell"`` (the value and tangents carry the cell measure once, so the rows + are integrated quantities such as per-cell particle errors). + +A constraint owning one row may return :class:`ReductionValue`: the row is +``fsum(summand) - fsum(reference)`` over every support node (the Python +``math.fsum`` of the measure-weighted list, in node order), and its tangents +span whole dependency blocks. + +Geometry is applied exactly once, by the Assembler. A contribution is either +an unweighted array, which the Assembler sums with the other unweighted +contributions of the same slot and then multiplies by the measure once, or a +:mod:`~solarlab.equations.assembly.weighted` expression that contains the +measure symbol exactly once (to keep an existing product order). Constraint +values never contain a measure. A Term never scatters, never reads a +measure, and never writes another Term's rows. + +Tangents are with respect to the layout coordinates of the dependency +blocks. A Term may compute them through the field map's chain factors or +supply a cancellation-free coordinate tangent directly (the SG quasi-Fermi +chain does). +""" + +from __future__ import annotations + +from dataclasses import dataclass, field +import math +from types import MappingProxyType +from typing import Mapping, Protocol, TypeAlias, Union + +import numpy as np +from numpy.typing import NDArray + +from solarlab.contracts.errors import ContractError +from solarlab.contracts.units import Unit +from solarlab.equations.assembly.layout import SystemLayout +from solarlab.equations.assembly.weighted import Weighted + +__all__ = [ + "CELL_SOURCE", "CHAIN_DIVERGENCE", "CONSTRAINT", "Contribution", "EvaluationState", + "FACE_FLUX", "FaceValue", "FieldMap", "FieldValues", "LocalValue", "OperatingInputs", + "PORT_FLUX", "ReductionValue", "SCATTER_DIVERGENCE", "STORAGE", "StorageTerm", + "TERM_KINDS", "Term", "TermValue", +] + +FACE_FLUX = "face_flux" +CELL_SOURCE = "cell_source" +PORT_FLUX = "port_flux" +CONSTRAINT = "constraint" +STORAGE = "storage" +TERM_KINDS = (FACE_FLUX, CELL_SOURCE, PORT_FLUX, CONSTRAINT, STORAGE) +SCATTER_DIVERGENCE = "scatter" +CHAIN_DIVERGENCE = "chain" + +Vector: TypeAlias = NDArray[np.float64] +#: An unweighted array (per unit measure) or a weighted expression. +Contribution: TypeAlias = Union[Vector, Weighted] + + +def _frozen_mapping(value: Mapping[str, Contribution]) -> Mapping[str, Contribution]: + return MappingProxyType(dict(value)) + + +@dataclass(frozen=True) +class FaceValue: + """Oriented face flux and its two-point tangents (empty without derivatives).""" + + flux: Contribution + left: Mapping[str, Contribution] = field(default_factory=dict) + right: Mapping[str, Contribution] = field(default_factory=dict) + + def __post_init__(self) -> None: + if set(self.left) != set(self.right): + raise ContractError("face_tangents_need_both_nodes") + object.__setattr__(self, "left", _frozen_mapping(self.left)) + object.__setattr__(self, "right", _frozen_mapping(self.right)) + + +@dataclass(frozen=True) +class LocalValue: + """Node values and same-node tangents (empty without derivatives).""" + + value: Contribution + tangents: Mapping[str, Contribution] = field(default_factory=dict) + + def __post_init__(self) -> None: + object.__setattr__(self, "tangents", _frozen_mapping(self.tangents)) + + +@dataclass(frozen=True) +class ReductionValue: + """One constraint row: ``fsum(summand) - fsum(reference)`` and block-wide tangents. + + ``summand``/``reference`` are node arrays over the support; with a cell + measure each must contain it once. Tangents are support-node arrays, + placed in the single owned row at every node of the dependency block. + """ + + summand: Contribution + reference: Contribution | None = None + tangents: Mapping[str, Contribution] = field(default_factory=dict) + + def __post_init__(self) -> None: + object.__setattr__(self, "tangents", _frozen_mapping(self.tangents)) + + +TermValue: TypeAlias = Union[FaceValue, LocalValue, ReductionValue] + + +@dataclass(frozen=True) +class OperatingInputs: + """Prescribed operating drive of one evaluation (not part of the state).""" + + voltage_V: float = 0.0 + generation_scale: float = 0.0 + + def __post_init__(self) -> None: + voltage, generation = float(self.voltage_V), float(self.generation_scale) + if not math.isfinite(voltage): + raise ValueError("applied voltage must be finite") + if not math.isfinite(generation) or generation < 0.0: + raise ValueError("generation_scale must be finite and non-negative") + object.__setattr__(self, "voltage_V", voltage) + object.__setattr__(self, "generation_scale", generation) + + +@dataclass(frozen=True) +class FieldValues: + """Physical fields of one coordinate vector; ``admissible`` gates evaluation.""" + + fields: Mapping[str, Vector] + admissible: bool + + def __post_init__(self) -> None: + object.__setattr__(self, "fields", MappingProxyType(dict(self.fields))) + + +class FieldMap(Protocol): + """Coordinate map: global coordinates and inputs to named physical fields.""" + + @property + def identity(self) -> str: ... + + def evaluate(self, layout: SystemLayout, u: Vector, inputs: OperatingInputs) -> FieldValues: ... + + +@dataclass(frozen=True) +class EvaluationState: + """One coordinate vector, its inputs and its fields, shared by every Term. + + ``ratios`` holds the Mesh's dual-volume factor ``W_child/W_parent`` of each + embedded node set, the only geometry a Term may read (for deposition). + """ + + layout: SystemLayout + u: Vector + inputs: OperatingInputs + fields: Mapping[str, Vector] + ratios: Mapping[str, Vector] = field(default_factory=dict) + + def block(self, block_id: str) -> Vector: + return self.layout.view(self.u, block_id) + + def field(self, name: str) -> Vector: + value = self.fields.get(name) + if value is None: + raise ContractError("unknown_field") + return value + + def embedding_ratio(self, node_set: str) -> Vector: + value = self.ratios.get(node_set) + if value is None: + raise ContractError("unknown_embedded_node_set") + return value + + +class Term(Protocol): + """A bound contribution; see the module docstring for the kinds.""" + + @property + def id(self) -> str: ... + + @property + def kind(self) -> str: ... + + @property + def support(self) -> str: ... + + @property + def equations(self) -> tuple[str, ...]: ... + + @property + def dependencies(self) -> tuple[str, ...]: ... + + @property + def unit(self) -> Unit: ... + + @property + def port(self) -> str | None: ... + + @property + def identity(self) -> str: ... + + def evaluate(self, state: EvaluationState, *, derivatives: bool) -> Mapping[str, TermValue]: ... + + +class StorageTerm(Term, Protocol): + """A storage Term also supplies the cancellation-free physical increment. + + ``increment`` returns ``S(state) - S(previous)`` per unit measure (or as a + weighted expression), computed without subtracting two inventories. + """ + + def increment(self, state: EvaluationState, previous: EvaluationState) -> Mapping[str, Contribution]: ... diff --git a/src/solarlab/equations/assembly/two_dimensional.py b/src/solarlab/equations/assembly/two_dimensional.py new file mode 100644 index 00000000..aaa043a4 --- /dev/null +++ b/src/solarlab/equations/assembly/two_dimensional.py @@ -0,0 +1,584 @@ +"""Classical connected 2D DC on the unified Layout/Term/Assembler. + +The compiled physical coefficients, electrode quasi-Fermi fields, SG/CT +normal-face laws, complete charge ledger and bound bulk/grain rate remain +unchanged. Terms return constitutive arrays and exact coordinate tangents; +the Assembler alone applies half-cell areas, face lengths, divergences and +constraint ownership. Generation and the complete recombination rate form +one plain source run, ``(g G - R) area``. Face-major Jacobian addition and +symbolic measures preserve the historical floating-point product order. + +Fixed-reservoir contact observations use ``reaction_flux_ordered``. Robin +and blocking channels keep their actual exchange law, even on failed rows. +All currents are per unit out-of-plane depth; width normalization gives +A/m2. This binding is DC only: S, S_u and M are absent, as in DC2DProblem. +There is no new lateral-contact, ionic, transient or AC model here. +""" + +from __future__ import annotations + +from dataclasses import dataclass, field +from hashlib import sha256 +import json +import math +from types import MappingProxyType +from typing import Callable, Mapping, TypeAlias + +import numpy as np +from numpy.typing import ArrayLike, NDArray +from scipy.sparse import csc_matrix + +from solarlab.contracts.units import ( + AREA, COULOMB, ELEMENTARY_CHARGE_C, LENGTH, ONE, PARTICLE, SECOND, VOLT, VOLUME, Unit, +) +from solarlab.equations.assembly.assembler import AssembledSystem, Assembler +from solarlab.equations.assembly.layout import Block, ConstraintRows, NodeSet, SystemLayout +from solarlab.equations.assembly.quasi_fermi import quasi_fermi_potential_tangents +from solarlab.equations.assembly.rectangular_2d import RectangularSupport2D +from solarlab.equations.assembly.terms import ( + CELL_SOURCE, CONSTRAINT, FACE_FLUX, PORT_FLUX, Contribution, EvaluationState, + FaceValue, FieldValues, LocalValue, OperatingInputs, Term, TermValue, +) +from solarlab.equations.assembly.weighted import MEASURE +from solarlab.equations.dc_2d import CompiledDevice2D +from solarlab.physics.contacts.boundary_flux import boundary_particle_flux +from solarlab.physics.contacts.exchange import CarrierExchangeChannel +from solarlab.physics.recombination.bulk import RecombinationRate +from solarlab.physics.transport.electrochemical_flux import ( + CarrierFaceFlux, CarrierFaceFluxes, stable_sg_particle_flux, +) + +__all__ = [ + "AssembledDC2DProblem", "BulkRecombination2D", "CarrierExchange2D", "CarrierGeneration2D", + "CarrierReservoirs2D", "CarrierTransport2D", "ClassicalDC2D", "ElectrodeQuasiFermiFields2D", + "GaussDisplacement2D", "PotentialContacts2D", "SpaceCharge2D", "assembled_problem_factory_2d", + "classical_dc_2d", +] + +Q = ELEMENTARY_CHARGE_C +NODES = "nodes" +POTENTIAL, ELECTRON, HOLE = "potential", "electron", "hole" +BLOCKS = (POTENTIAL, ELECTRON, HOLE) +CARRIERS = ((ELECTRON, "n", 1.0), (HOLE, "p", -1.0)) +SIDES = (("left", "y_min"), ("right", "y_max")) +DISPLACEMENT_UNIT = COULOMB / AREA +CHARGE_UNIT = COULOMB / VOLUME +FLUX_UNIT = PARTICLE / (AREA * SECOND) +SOURCE_UNIT = PARTICLE / (VOLUME * SECOND) +COORDINATE_FORM = "electrode_quasi_fermi_2d_v1" +TERM_SCHEMA = "solarlab.classical_dc_2d.terms.v1" + +Vector: TypeAlias = NDArray[np.float64] + + +def _identity(*parts: object) -> str: + return sha256(json.dumps((TERM_SCHEMA, *parts), separators=(",", ":")).encode()).hexdigest() + + +def _density(state: EvaluationState, block: str) -> Vector: + return state.field("electron_density_m3" if block == ELECTRON else "hole_density_m3") + + +def _reference(device: CompiledDevice2D, block: str, voltage_V: float) -> Vector: + references = device.reference_potentials(voltage_V) + return references[0] if block == ELECTRON else references[1] + + +@dataclass(frozen=True) +class ElectrodeQuasiFermiFields2D: + """The compiled 2D device's own field map; no state or drive is cached.""" + + device: CompiledDevice2D + + @property + def identity(self) -> str: + return _identity(COORDINATE_FORM, self.device.identity) + + def evaluate(self, layout: SystemLayout, u: Vector, inputs: OperatingInputs) -> FieldValues: + values = np.concatenate([layout.view(u, block) for block in BLOCKS]) + phi, n, p = self.device.fields(values, voltage_V=inputs.voltage_V) + admissible = bool(np.all(np.isfinite(n)) and np.all(np.isfinite(p)) + and not np.any(n <= 0.0) and not np.any(p <= 0.0)) + return FieldValues({"potential_V": phi, "electron_density_m3": n, + "hole_density_m3": p}, admissible) + + +@dataclass(frozen=True) +class GaussDisplacement2D: + """Directed displacement on x faces then y faces, in C/m2.""" + + device: CompiledDevice2D + id: str = "potential.displacement" + kind: str = FACE_FLUX + support: str = NODES + equations: tuple[str, ...] = (POTENTIAL,) + dependencies: tuple[str, ...] = (POTENTIAL,) + unit: Unit = DISPLACEMENT_UNIT + port: str | None = None + + @property + def identity(self) -> str: + return _identity(self.id, self.device.identity) + + def evaluate(self, state: EvaluationState, *, derivatives: bool) -> Mapping[str, TermValue]: + left, right = self.device.geometry.contract_geometry.pairs.T + phi = state.field("potential_V") + capacitance = self.device.face_capacitance_F_m2 + flux = -capacitance * (phi[right] - phi[left]) + return {POTENTIAL: FaceValue(flux, {POTENTIAL: capacitance} if derivatives else {}, + {POTENTIAL: -capacitance} if derivatives else {})} + + +@dataclass(frozen=True) +class SpaceCharge2D: + """The complete compiled charge ledger, with its original tangent order.""" + + device: CompiledDevice2D + id: str = "potential.space_charge" + kind: str = CELL_SOURCE + support: str = NODES + equations: tuple[str, ...] = (POTENTIAL,) + dependencies: tuple[str, ...] = BLOCKS + unit: Unit = CHARGE_UNIT + port: str | None = None + + @property + def identity(self) -> str: + return _identity(self.id, self.device.identity, COORDINATE_FORM) + + def evaluate(self, state: EvaluationState, *, derivatives: bool) -> Mapping[str, TermValue]: + n, p = _density(state, ELECTRON), _density(state, HOLE) + rho = self.device.charge_ledger(n, p).space_charge_C_m3() + if not derivatives: + return {POTENTIAL: LocalValue(rho)} + return {POTENTIAL: LocalValue(rho, { + POTENTIAL: -Q * MEASURE * (n + p) / self.device.thermal_voltage_V, + ELECTRON: -Q * MEASURE * n, + HOLE: -Q * MEASURE * p, + })} + + +@dataclass(frozen=True) +class PotentialContacts2D: + """Unweighted potential constraints on both full stack contact strips.""" + + device: CompiledDevice2D + id: str = "potential.contacts" + kind: str = CONSTRAINT + support: str = NODES + equations: tuple[str, ...] = (POTENTIAL,) + dependencies: tuple[str, ...] = (POTENTIAL,) + unit: Unit = VOLT + port: str | None = None + + @property + def identity(self) -> str: + return _identity(self.id, self.device.identity) + + def evaluate(self, state: EvaluationState, *, derivatives: bool) -> Mapping[str, TermValue]: + g = self.device.geometry + phi = state.field("potential_V") + bottom, top = self.device.column.contact_potentials(state.inputs.voltage_V) + value = np.r_[phi[:g.nx] - bottom, phi[-g.nx:] - top] + return {POTENTIAL: LocalValue(value, {POTENTIAL: np.ones(2 * g.nx)} if derivatives else {})} + + +@dataclass(frozen=True) +class CarrierTransport2D: + """The original SG/CT face law and its cancellation-safe coordinate chain.""" + + device: CompiledDevice2D + id: str = "carrier.transport" + kind: str = FACE_FLUX + support: str = NODES + equations: tuple[str, ...] = (ELECTRON, HOLE) + dependencies: tuple[str, ...] = BLOCKS + unit: Unit = FLUX_UNIT + port: str | None = None + + @property + def identity(self) -> str: + return _identity(self.id, self.device.identity, COORDINATE_FORM) + + def fluxes(self, state: EvaluationState) -> CarrierFaceFluxes: + d = self.device + phi = state.field("potential_V") + n, p = _density(state, ELECTRON), _density(state, HOLE) + left, right = d.geometry.contract_geometry.pairs.T + potentials = d.band_structure.transport_potentials(phi) + electron_step = state.block(ELECTRON)[right] - state.block(ELECTRON)[left] + hole_step = -(state.block(HOLE)[right] - state.block(HOLE)[left]) + if d.field_transport is not None: + return d.field_transport.fluxes(phi, n, p, potentials[0], potentials[1], + electron_electrochemical_step=electron_step, hole_electrochemical_step=hole_step) + fluxes = [] + for density, potential, diffusivity, block, sign in ( + (n, potentials[0], d.electron_diffusivity_faces_m2_s, ELECTRON, 1.0), + (p, potentials[1], d.hole_diffusivity_faces_m2_s, HOLE, -1.0), + ): + step = -sign * (potential[right] - potential[left]) / d.thermal_voltage_V + coefficient = diffusivity / d.geometry.face_spacing_m + drive = sign * (state.block(block)[right] - state.block(block)[left]) + evaluated = stable_sg_particle_flux(density[left], density[right], step, coefficient, + electrochemical_step=drive) + per_volt = -sign / d.thermal_voltage_V * evaluated.energy_step_derivative + fluxes.append(CarrierFaceFlux(evaluated.flux, evaluated.left_density_derivative, + evaluated.right_density_derivative, -per_volt, per_volt, step, coefficient)) + return CarrierFaceFluxes(fluxes[0], fluxes[1]) + + def evaluate(self, state: EvaluationState, *, derivatives: bool) -> Mapping[str, TermValue]: + d = self.device + fluxes = self.fluxes(state) + if not derivatives: + return {ELECTRON: FaceValue(fluxes.electron.flux), HOLE: FaceValue(fluxes.hole.flux)} + left, right = d.geometry.contract_geometry.pairs.T + thermal = d.thermal_voltage_V + transport = None if d.field_transport is None else d.field_transport.evaluate(state.field("potential_V")) + result: dict[str, TermValue] = {} + for block, flux, sign in ((ELECTRON, fluxes.electron, 1.0), (HOLE, fluxes.hole, -1.0)): + density = _density(state, block) + drive = sign * (state.block(block)[right] - state.block(block)[left]) + phi_left, phi_right = quasi_fermi_potential_tangents(flux, drive, sign, thermal) + if transport is not None: + diffusivity = (transport.electron_diffusivity_m2_s if block == ELECTRON + else transport.hole_diffusivity_m2_s) + slope = (transport.electron_d_diffusivity_d_field if block == ELECTRON + else transport.hole_d_diffusivity_d_field) + field_chain = (flux.flux / diffusivity) * slope / d.geometry.face_spacing_m + phi_left = phi_left + field_chain + phi_right = phi_right - field_chain + z_left = sign * flux.left_density_derivative * density[left] + z_right = sign * flux.right_density_derivative * density[right] + result[block] = FaceValue(flux.flux, {POTENTIAL: phi_left, block: z_left}, + {POTENTIAL: phi_right, block: z_right}) + return result + + +@dataclass(frozen=True) +class CarrierGeneration2D: + """The compiled fixed or optical source on the actual 2D half cells.""" + + device: CompiledDevice2D + id: str = "carrier.generation" + kind: str = CELL_SOURCE + support: str = NODES + equations: tuple[str, ...] = (ELECTRON, HOLE) + dependencies: tuple[str, ...] = () + unit: Unit = SOURCE_UNIT + port: str | None = None + + @property + def identity(self) -> str: + return _identity(self.id, self.device.identity, self.device.generation_y.binding_sha256) + + def evaluate(self, state: EvaluationState, *, derivatives: bool) -> Mapping[str, TermValue]: + source = state.inputs.generation_scale * self.device.generation_source_m3_s + return {ELECTRON: LocalValue(source), HOLE: LocalValue(source)} + + +@dataclass(frozen=True) +class BulkRecombination2D: + """The complete bound bulk/grain rate; grain mixes rates, never lifetimes.""" + + device: CompiledDevice2D + id: str = "carrier.recombination" + kind: str = CELL_SOURCE + support: str = NODES + equations: tuple[str, ...] = (ELECTRON, HOLE) + dependencies: tuple[str, ...] = BLOCKS + unit: Unit = SOURCE_UNIT + port: str | None = None + + @property + def identity(self) -> str: + return _identity(self.id, self.device.identity, COORDINATE_FORM) + + def rate(self, n: Vector, p: Vector, *, derivatives: bool = True) -> RecombinationRate: + evaluation = self.device.recombination.evaluate(n, p, derivatives=derivatives) + evaluation.require_domain() + if self.device.grain_recombination is not None: + return self.device.grain_recombination.evaluate(evaluation, self.device.recombination.coefficients) + return evaluation.total + + def evaluate(self, state: EvaluationState, *, derivatives: bool) -> Mapping[str, TermValue]: + n, p = _density(state, ELECTRON), _density(state, HOLE) + rate = self.rate(n, p, derivatives=derivatives) + loss = -np.asarray(rate.rate) + if not derivatives: + return {ELECTRON: LocalValue(loss), HOLE: LocalValue(loss)} + assert rate.d_rate_dn is not None and rate.d_rate_dp is not None + source_n = -np.asarray(rate.d_rate_dn) * n + source_p = np.asarray(rate.d_rate_dp) * p + source_phi = (source_n + source_p) / self.device.thermal_voltage_V + tangents: dict[str, Contribution] = {POTENTIAL: source_phi, ELECTRON: source_n, HOLE: source_p} + return {ELECTRON: LocalValue(loss, tangents), HOLE: LocalValue(loss, tangents)} + + +@dataclass(frozen=True) +class CarrierReservoirs2D: + """Log-density excess constraints, owned only by fixed-reservoir channels.""" + + device: CompiledDevice2D + block: str + nodes: tuple[int, ...] + kind: str = CONSTRAINT + support: str = NODES + unit: Unit = ONE + port: str | None = None + + @property + def id(self) -> str: + return self.block + ".reservoirs" + + @property + def equations(self) -> tuple[str, ...]: + return (self.block,) + + @property + def dependencies(self) -> tuple[str, ...]: + return (POTENTIAL, self.block) + + @property + def identity(self) -> str: + return _identity(self.id, self.device.identity, list(self.nodes), COORDINATE_FORM) + + def evaluate(self, state: EvaluationState, *, derivatives: bool) -> Mapping[str, TermValue]: + sign = 1.0 if self.block == ELECTRON else -1.0 + nodes: NDArray[np.intp] = np.asarray(self.nodes, dtype=np.intp) + thermal = self.device.thermal_voltage_V + reference = _reference(self.device, self.block, state.inputs.voltage_V) + shift = (state.field("potential_V")[nodes] - reference[nodes]) / thermal + value = sign * (shift + state.block(self.block)[nodes]) + tangents: dict[str, Contribution] = {} + if derivatives: + tangents = {POTENTIAL: np.full(nodes.size, sign / thermal), self.block: np.full(nodes.size, sign)} + return {self.block: LocalValue(value, tangents)} + + +@dataclass(frozen=True) +class CarrierExchange2D: + """One Robin or blocking channel across a full stack port, along +y.""" + + device: CompiledDevice2D + block: str + channel: CarrierExchangeChannel + nodes: tuple[int, ...] + kind: str = PORT_FLUX + support: str = NODES + unit: Unit = FLUX_UNIT + + @property + def id(self) -> str: + return f"{self.block}.exchange.{self.channel.side}" + + @property + def port(self) -> str: + return "y_min" if self.channel.side == "left" else "y_max" + + @property + def equations(self) -> tuple[str, ...]: + return (self.block,) + + @property + def dependencies(self) -> tuple[str, ...]: + return (POTENTIAL, self.block) + + @property + def identity(self) -> str: + return _identity(self.id, self.device.identity, list(self.nodes), COORDINATE_FORM) + + def exchange(self, state: EvaluationState) -> tuple[Vector, float]: + nodes: NDArray[np.intp] = np.asarray(self.nodes, dtype=np.intp) + reference = _reference(self.device, self.block, state.inputs.voltage_V) + shift = (state.block(POTENTIAL)[nodes] - reference[nodes]) / self.device.thermal_voltage_V + exponent = shift + state.block(ELECTRON)[nodes] if self.block == ELECTRON else -shift - state.block(HOLE)[nodes] + channel = self.channel + slope = boundary_particle_flux(channel, channel.reservoir_density_m3).density_derivative + excess = channel.reservoir_density_m3 * np.expm1(exponent) + return slope * excess, slope + + def evaluate(self, state: EvaluationState, *, derivatives: bool) -> Mapping[str, TermValue]: + flux, slope = self.exchange(state) + tangents: dict[str, Contribution] = {} + if derivatives: + sign = 1.0 if self.block == ELECTRON else -1.0 + density = _density(state, self.block)[np.asarray(self.nodes, dtype=np.intp)] + tangents = {POTENTIAL: slope * sign * density / self.device.thermal_voltage_V * MEASURE, + self.block: slope * sign * density * MEASURE} + return {self.block: LocalValue(flux, tangents)} + + +def _layout(device: CompiledDevice2D) -> SystemLayout: + count, g = device.node_count, device.geometry + constraints = [ConstraintRows(POTENTIAL, tuple(int(node) for node in g.contact_nodes), + "potential.contacts", VOLT)] + for block, carrier, _ in CARRIERS: + fixed = tuple(int(node) for (side, _), nodes in zip(SIDES, g.contact_nodes.reshape(2, g.nx)) + if device.column.channel(carrier, side).kind == "fixed_reservoir" for node in nodes) + if fixed: + constraints.append(ConstraintRows(block, fixed, block + ".reservoirs", ONE)) + return SystemLayout((NodeSet(NODES, count),), ( + Block(POTENTIAL, NODES, VOLT, COULOMB / LENGTH), + Block(ELECTRON, NODES, ONE, PARTICLE / (LENGTH * SECOND)), + Block(HOLE, NODES, ONE, PARTICLE / (LENGTH * SECOND)), + ), tuple(constraints)) + + +@dataclass(frozen=True) +class ClassicalDC2D: + """One connected 2D Term binding; operating points reuse this declaration.""" + + device: CompiledDevice2D + assembler: Assembler = field(init=False, repr=False) + geometry: RectangularSupport2D = field(init=False, repr=False) + transport: CarrierTransport2D = field(init=False, repr=False) + recombination: BulkRecombination2D = field(init=False, repr=False) + exchanges: Mapping[tuple[str, str], CarrierExchange2D] = field(init=False, repr=False) + + def __post_init__(self) -> None: + device = self.device + if not isinstance(device, CompiledDevice2D): + raise TypeError("classical_dc_2d requires a CompiledDevice2D") + geometry = RectangularSupport2D(device.geometry) + transport = CarrierTransport2D(device) + recombination = BulkRecombination2D(device) + terms: list[Term] = [GaussDisplacement2D(device), SpaceCharge2D(device), PotentialContacts2D(device), + transport, CarrierGeneration2D(device), recombination] + exchanges: dict[tuple[str, str], CarrierExchange2D] = {} + for block, carrier, _ in CARRIERS: + fixed: list[int] = [] + for (side, port), nodes in zip(SIDES, device.geometry.contact_nodes.reshape(2, device.geometry.nx)): + channel = device.column.channel(carrier, side) + indices = tuple(int(node) for node in nodes) + if channel.kind == "fixed_reservoir": + fixed.extend(indices) + else: + exchanges[(block, port)] = CarrierExchange2D(device, block, channel, indices) + if fixed: + terms.append(CarrierReservoirs2D(device, block, tuple(fixed))) + terms.extend(exchanges.values()) + object.__setattr__(self, "assembler", Assembler(_layout(device), geometry.mesh, + ElectrodeQuasiFermiFields2D(device), terms)) + object.__setattr__(self, "geometry", geometry) + object.__setattr__(self, "transport", transport) + object.__setattr__(self, "recombination", recombination) + object.__setattr__(self, "exchanges", MappingProxyType(exchanges)) + + @property + def layout(self) -> SystemLayout: + return self.assembler.layout + + @property + def identity(self) -> str: + return self.assembler.identity + + +def classical_dc_2d(device: CompiledDevice2D) -> ClassicalDC2D: + """Bind the existing supported 2D DC physics without changing the assembler API.""" + return ClassicalDC2D(device) + + +def assembled_problem_factory_2d(device: CompiledDevice2D) -> Callable[[CompiledDevice2D, float, float], AssembledDC2DProblem]: + """A constructor-compatible replacement for the steady driver's DC2DProblem.""" + system = classical_dc_2d(device) + + def factory(bound: CompiledDevice2D, voltage_V: float, generation_scale: float) -> AssembledDC2DProblem: + return AssembledDC2DProblem(bound, voltage_V, generation_scale, system) + + return factory + + +@dataclass(frozen=True) +class AssembledDC2DProblem: + """The assembled F/J and unchanged physical observations used by steady_2d.""" + + device: CompiledDevice2D + voltage_V: float = 0.0 + generation_scale: float = 0.0 + system: ClassicalDC2D | None = field(default=None, repr=False, compare=False) + + def __post_init__(self) -> None: + if not isinstance(self.device, CompiledDevice2D): + raise TypeError("AssembledDC2DProblem requires a CompiledDevice2D") + self.device.column.contact_potentials(self.voltage_V) + if not math.isfinite(self.generation_scale) or self.generation_scale < 0.0: + raise ValueError("generation_scale must be finite and nonnegative") + if self.system is None: + object.__setattr__(self, "system", classical_dc_2d(self.device)) + elif self.system.device is not self.device: + raise ValueError("the assembled system must be bound to this device") + + @property + def binding(self) -> ClassicalDC2D: + assert self.system is not None + return self.system + + @property + def inputs(self) -> OperatingInputs: + return OperatingInputs(self.voltage_V, self.generation_scale) + + def at(self, voltage_V: float, generation_scale: float) -> AssembledDC2DProblem: + return AssembledDC2DProblem(self.device, voltage_V, generation_scale, self.system) + + def assemble(self, u: ArrayLike, *, derivatives: bool = True) -> AssembledSystem: + """DC only: the result's S, S_u and M stay absent (no storage request).""" + return self.binding.assembler.evaluate(u, self.inputs, derivatives=derivatives) + + def residual(self, u: ArrayLike) -> Vector: + return np.array(self.assemble(u, derivatives=False).F, copy=True) + + def jacobian(self, u: ArrayLike) -> csc_matrix: + system = self.assemble(u) + assert system.J is not None + return system.J + + def _state(self, u: ArrayLike) -> EvaluationState: + state = self.binding.assembler.state(u, self.inputs) + if state is None: + raise FloatingPointError("state outside the field map's admissible domain") + return state + + def fluxes(self, u: ArrayLike) -> CarrierFaceFluxes: + return self.binding.transport.fluxes(self._state(u)) + + def recombination_rate(self, n: Vector, p: Vector, *, derivatives: bool = True) -> RecombinationRate: + return self.binding.recombination.rate(n, p, derivatives=derivatives) + + def displacement(self, u: ArrayLike) -> Vector: + state = self._state(u) + value = GaussDisplacement2D(self.device).evaluate(state, derivatives=False)[POTENTIAL] + assert isinstance(value, FaceValue) + return np.asarray(value.flux, dtype=float) + + def current_density(self, u: ArrayLike) -> Vector: + fluxes = self.fluxes(u) + return fluxes.electron_current() + fluxes.hole_current() + + def cross_section_current_A_m(self, u: ArrayLike) -> Vector: + g = self.device.geometry + current_y = self.current_density(u)[g.x_face_count:].reshape(g.ny - 1, g.nx) + return np.sum(current_y * g.x_widths_m[None, :], axis=1) + + def contact_particle_fluxes(self, u: ArrayLike) -> tuple[Vector, Vector]: + binding = self.binding + state = self._state(u) + result = [] + for block, _, _ in CARRIERS: + fluxes = [] + for _, port in SIDES: + exchange = binding.exchanges.get((block, port)) + if exchange is not None: + fluxes.append(exchange.exchange(state)[0]) + else: + fluxes.append(binding.assembler.reaction_flux_ordered( + u, self.inputs, block, port, normal_faces=binding.geometry.normal_faces(port), + transverse_faces=binding.geometry.transverse_faces)) + result.append(np.stack(fluxes)) + return result[0], result[1] + + def terminal_current_A_m(self, u: ArrayLike) -> Vector: + electron, hole = self.contact_particle_fluxes(u) + return np.sum((-Q * electron + Q * hole) * self.device.geometry.x_widths_m[None, :], axis=1) + + def terminal_current_density_A_m2(self, u: ArrayLike) -> Vector: + return self.terminal_current_A_m(u) / self.device.geometry.lateral_length_m diff --git a/src/solarlab/equations/assembly/weighted.py b/src/solarlab/equations/assembly/weighted.py new file mode 100644 index 00000000..9c74c7d3 --- /dev/null +++ b/src/solarlab/equations/assembly/weighted.py @@ -0,0 +1,148 @@ +"""Contribution expressions that carry the geometric measure symbolically. + +A Term never sees control-volume measures. It writes each residual value or +local tangent as an ordinary arithmetic expression in which the symbol +:data:`MEASURE` stands for the measure of the cell, face or port it is +assembled on, for example ``-Q * MEASURE * (n + p) / thermal_voltage``. The +Assembler substitutes the actual measure array and evaluates the expression +tree in the order Python built it, so the rounding sequence of an existing +expression is reproduced exactly while the measure value stays owned by the +Assembler. + +:func:`measure_count` lets the Assembler require exactly one measure factor +in every weighted contribution and none in a constraint. Sums, differences +and measures in a denominator are rejected when the expression is built: +inside a contribution the measure may only scale. +""" + +from __future__ import annotations + +from typing import Any, TypeAlias, Union + +import numpy as np +from numpy.typing import NDArray + +from solarlab.contracts.errors import ContractError + +__all__ = ["MEASURE", "Weighted", "evaluate", "measure_count"] + + +class Weighted: + """Node of a product/quotient expression tree; NumPy defers to it.""" + + __array_ufunc__ = None + __slots__ = () + + def __mul__(self, other: Any) -> Weighted: + return _Binary("*", self, _leaf(other)) + + def __rmul__(self, other: Any) -> Weighted: + return _Binary("*", _leaf(other), self) + + def __truediv__(self, other: Any) -> Weighted: + divisor = _leaf(other) + if measure_count(divisor): + raise ContractError("measure_in_denominator") + return _Binary("/", self, divisor) + + def __rtruediv__(self, other: Any) -> Weighted: + raise ContractError("measure_in_denominator") + + def __neg__(self) -> Weighted: + return _Negative(self) + + def __add__(self, other: Any) -> Weighted: + raise ContractError("weighted_sum_not_allowed") + + __radd__ = __sub__ = __rsub__ = __add__ + + def __bool__(self) -> bool: + raise ContractError("weighted_has_no_truth_value") + + +class _Measure(Weighted): + __slots__ = () + + def __repr__(self) -> str: + return "MEASURE" + + +class _Leaf(Weighted): + __slots__ = ("value",) + + def __init__(self, value: Any): + array = np.asarray(value) + if array.dtype.kind not in "fiu" or array.ndim > 1: + raise ContractError("weighted_operand_must_be_real_scalar_or_vector") + self.value = value + + def __repr__(self) -> str: + shape = np.shape(self.value) + return f"<{shape}>" if shape else repr(self.value) + + +class _Binary(Weighted): + __slots__ = ("operator", "left", "right") + + def __init__(self, operator: str, left: Weighted, right: Weighted): + self.operator = operator + self.left = left + self.right = right + + def __repr__(self) -> str: + return f"({self.left!r} {self.operator} {self.right!r})" + + +class _Negative(Weighted): + __slots__ = ("operand",) + + def __init__(self, operand: Weighted): + self.operand = operand + + def __repr__(self) -> str: + return f"-{self.operand!r}" + + +#: The control-volume measure of the row (cell) or face being assembled. +MEASURE: Weighted = _Measure() + +Expression: TypeAlias = Union[Weighted, float, NDArray[np.float64]] + + +def _leaf(value: Any) -> Weighted: + return value if isinstance(value, Weighted) else _Leaf(value) + + +def measure_count(expression: Expression) -> int: + """Number of measure factors in an expression (plain values have none).""" + if isinstance(expression, _Measure): + return 1 + if isinstance(expression, _Binary): + return measure_count(expression.left) + measure_count(expression.right) + if isinstance(expression, _Negative): + return measure_count(expression.operand) + return 0 + + +def evaluate(expression: Expression, measure: NDArray[np.float64]) -> NDArray[np.float64]: + """Values of ``expression`` with :data:`MEASURE` bound to ``measure``. + + The result has the measure's shape; operands must broadcast to it. + """ + def walk(node: Any) -> Any: + if isinstance(node, _Measure): + return measure + if isinstance(node, _Leaf): + return node.value + if isinstance(node, _Binary): + left, right = walk(node.left), walk(node.right) + return left * right if node.operator == "*" else left / right + if isinstance(node, _Negative): + return -walk(node.operand) + return node + + with np.errstate(all="ignore"): + value = np.asarray(walk(expression), dtype=float) + if value.shape != measure.shape: + value = np.broadcast_to(value, measure.shape) + return value diff --git a/src/solarlab/equations/dc_1d.py b/src/solarlab/equations/dc_1d.py new file mode 100644 index 00000000..82005cce --- /dev/null +++ b/src/solarlab/equations/dc_1d.py @@ -0,0 +1,553 @@ +"""Ion-free classical 1D Poisson and carrier continuity. + +Coordinates are u = (phi, z_n, z_p), with dimensionless quasi-Fermi offsets +z_n and z_p are measured from each carrier's majority electrode Fermi level. +At zero bias both references equal E_F0. Physical densities +come from one common equilibrium reference and the physical bands. SG faces +consume the differences of z directly, so a constant Fermi level gives an +exactly zero flux even across DOS and band offsets. + +The implicit residual is F(u, udot) = transport + source - d(storage)/dt. +Only steady operation is admitted by the production driver. The explicit +storage partials retain that architecture; they are not transient qualification. +""" + +from __future__ import annotations + +from dataclasses import dataclass, field +import math +from typing import Protocol, TypeAlias + +import numpy as np +from numpy.typing import ArrayLike, NDArray +from scipy.sparse import csc_matrix, diags, lil_matrix + +from solarlab.contracts import ( + AREA, + LENGTH, + PARTICLE, + SECOND, + VOLUME, + CellSource, + EquationSpec, + FaceFlux, + Geometry, + Layout, + Support, + TermSink, + frozen_array, +) +from solarlab.contracts.units import ELEMENTARY_CHARGE_C +from solarlab.discretization.stable_bernoulli import bernoulli_pair +from solarlab.equations.field_transport_1d import FieldTransport1D +from solarlab.mesh.geometry import ControlVolumeGeometry1D +from solarlab.physics.band_structure.binding import ParameterBinding +from solarlab.physics.contacts import CarrierExchangeChannel, junction_polarity +from solarlab.physics.contacts.boundary_flux import boundary_particle_flux +from solarlab.physics.electrostatics import PoissonOperator1D +from solarlab.physics.electrostatics.charge import ChargeEntry, ChargeLedger +from solarlab.physics.generation.profile import GenerationProfile +from solarlab.physics.recombination.bulk import ( + RecombinationRate, + sum_recombination_rates, +) +from solarlab.physics.recombination.reaction import BulkRecombinationReaction +from solarlab.physics.transport.electrochemical_flux import ( + CarrierFaceFlux, + CarrierFaceFluxes, + carrier_particle_fluxes, +) + +__all__ = [ + "CapabilityError", + "CompiledDevice1D", + "DC1DProblem", + "LocalRecombinationModel", + "State1D", + "quasi_fermi_potential_tangents", +] + +Vector: TypeAlias = NDArray[np.float64] +Q = ELEMENTARY_CHARGE_C +FLUX_UNIT = PARTICLE / (AREA * SECOND) +SOURCE_UNIT = PARTICLE / (VOLUME * SECOND) +assert SOURCE_UNIT * LENGTH == FLUX_UNIT + + +class CapabilityError(ValueError): + """An enabled mechanism has no binding in this first 1D DC slice.""" + + +class LocalRecombinationModel(Protocol): + """An injected local net pair rate and its exact density partials. + + The model owns its bound coefficients and a stable, parameter-specific + model_id. Its evaluate(n, p) returns production RecombinationRate arrays + of shape (N,); no file loader, registry, or solver dependency is required. + """ + + model_id: str + + def evaluate(self, n: Vector, p: Vector) -> RecombinationRate: ... + + +@dataclass(frozen=True) +class State1D: + """Immutable coordinates and physical fields on one compiled device.""" + + u: Vector + potential_V: Vector + electron_density_m3: Vector + hole_density_m3: Vector + device_sha256: str + voltage_V: float = 0.0 + + def __post_init__(self) -> None: + for name in ("u", "potential_V", "electron_density_m3", "hole_density_m3"): + object.__setattr__(self, name, frozen_array(getattr(self, name))) + n = self.potential_V.size + if self.potential_V.ndim != 1: + raise ValueError("state potential must be a vector on the nodes") + if self.u.shape != (3 * n,): + raise ValueError("state coordinates must have shape (3 * node_count,)") + for density in (self.electron_density_m3, self.hole_density_m3): + if density.shape != (n,) or np.any(density <= 0.0): + raise ValueError("state densities must be positive on every node") + if not self.device_sha256: + raise ValueError("a state must identify its compiled device") + if not math.isfinite(self.voltage_V): + raise ValueError("the state coordinate reference voltage must be finite") + + +@dataclass(frozen=True) +class CompiledDevice1D: + """Cold-compiled geometry, physical models, and contact reservoirs.""" + + device_id: str + sha256: str + geometry: ControlVolumeGeometry1D + parameters: ParameterBinding + poisson: PoissonOperator1D + electron_diffusivity_faces_m2_s: Vector + hole_diffusivity_faces_m2_s: Vector + generation: GenerationProfile + recombination: BulkRecombinationReaction + channels: tuple[CarrierExchangeChannel, ...] + phi_left_V: float + built_in_potential_V: float + fermi_level_eV: float + reference_potential_V: Vector + reference_electron_density_m3: Vector + reference_hole_density_m3: Vector + additional_recombination: LocalRecombinationModel | None = None + capabilities: tuple[str, ...] = ( + "ion_free", + "classical_1d_dc", + "maxwell_boltzmann", + "semiconductor_work_function_contacts", + "bulk_srh_radiative_auger", + ) + field_transport: FieldTransport1D | None = None + _carrier_layout: Layout = field(init=False, repr=False) + _carrier_geometry: Geometry = field(init=False, repr=False) + + def __post_init__(self) -> None: + for name in ( + "electron_diffusivity_faces_m2_s", + "hole_diffusivity_faces_m2_s", + "reference_potential_V", + "reference_electron_density_m3", + "reference_hole_density_m3", + ): + object.__setattr__(self, name, frozen_array(getattr(self, name))) + count = self.node_count + for name in ( + "reference_potential_V", + "reference_electron_density_m3", + "reference_hole_density_m3", + ): + if getattr(self, name).shape != (count,): + raise ValueError(f"{name} does not match the geometry") + for name in ("electron_diffusivity_faces_m2_s", "hole_diffusivity_faces_m2_s"): + if getattr(self, name).shape != (count - 1,): + raise ValueError(f"{name} does not match the geometry faces") + transport = self.field_transport + if transport is not None and ( + not np.array_equal(transport.nodes_m, self.nodes_m) + or transport.thermal_voltage_V != self.thermal_voltage_V + or not np.array_equal(transport.base_electron_diffusivity_m2_s, self.electron_diffusivity_faces_m2_s) + or not np.array_equal(transport.base_hole_diffusivity_m2_s, self.hole_diffusivity_faces_m2_s) + ): + raise ValueError("field transport must bind this device's grid, temperature and low-field diffusivities") + for name in ("reference_electron_density_m3", "reference_hole_density_m3"): + if np.any(getattr(self, name) <= 0.0): + raise ValueError("all reference densities must be finite and positive") + if self.poisson.node_count != count or self.recombination.node_count != count: + raise ValueError("all compiled operators must share the node count") + expected = {(carrier, side) for carrier in ("n", "p") for side in ("left", "right")} + if {(channel.carrier, channel.side) for channel in self.channels} != expected: + raise ValueError("the compiled device needs all four contact channels") + if len(self.channels) != 4: + raise ValueError("duplicate contact channel") + self.generation.require_inputs(self.generation.binding_sha256, self.geometry) + if self.additional_recombination is not None: + if not isinstance(self.additional_recombination.model_id, str) or not self.additional_recombination.model_id: + raise ValueError("an additional recombination law needs a model_id") + layout = Layout( + (Support("cells", "cell", (count,)), Support("faces", "face", (count - 1,))), + (), + ( + EquationSpec("electron", "electron", "cells", (count,), FLUX_UNIT), + EquationSpec("hole", "hole", "cells", (count,), FLUX_UNIT), + ), + ) + object.__setattr__(self, "_carrier_layout", layout) + object.__setattr__(self, "_carrier_geometry", self.geometry.to_contract_geometry()) + + @property + def node_count(self) -> int: + return self.geometry.node_count + + @property + def identity(self) -> str: + """Identity of the actual geometry and physical/model bindings.""" + return self.sha256 + + @property + def nodes_m(self) -> Vector: + return self.geometry.nodes_m + + @property + def thermal_voltage_V(self) -> float: + return self.parameters.thermal_voltage_V + + @property + def voltage_polarity(self) -> float: + return junction_polarity(self.built_in_potential_V) + + @property + def generation_limit_A_m2(self) -> float: + return Q * self.generation.areal_generation_m2_s + + def contact_potentials(self, voltage_V: float) -> tuple[float, float]: + voltage = float(voltage_V) + if not math.isfinite(voltage): + raise ValueError("applied voltage must be finite") + return ( + self.phi_left_V, + self.phi_left_V + self.built_in_potential_V - self.voltage_polarity * voltage, + ) + + def channel(self, carrier: str, side: str) -> CarrierExchangeChannel: + return next(c for c in self.channels if c.carrier == carrier and c.side == side) + + def carrier_reference_energies(self, voltage_V: float) -> tuple[float, float]: + """Majority-electrode Fermi offsets from the common dark reference.""" + bias = self.voltage_polarity * float(voltage_V) + return (bias, 0.0) if self.voltage_polarity > 0.0 else (0.0, bias) + + def carrier_reference_potentials(self, voltage_V: float) -> tuple[Vector, Vector]: + """Shift before subtraction so the majority-contact exponent is exact zero.""" + electron, hole = self.carrier_reference_energies(voltage_V) + return self.reference_potential_V - electron, self.reference_potential_V - hole + + def rebase_coordinates(self, u: ArrayLike, old_voltage_V: float, new_voltage_V: float) -> Vector: + """Preserve the physical state when its electrode reference changes.""" + values = np.array(u, dtype=float, copy=True) + old = self.carrier_reference_energies(old_voltage_V) + new = self.carrier_reference_energies(new_voltage_V) + count = self.node_count + for offset, before, after in zip((count, 2 * count), old, new): + values[offset:offset + count] += (before - after) / self.thermal_voltage_V + return values + + def fields(self, u: ArrayLike, *, voltage_V: float = 0.0) -> tuple[Vector, Vector, Vector]: + values = np.asarray(u, dtype=float) + count = self.node_count + if values.shape != (3 * count,) or not np.all(np.isfinite(values)): + raise ValueError("coordinates must be finite with shape (3 * node_count,)") + phi = values[:count] + reference_n, reference_p = self.carrier_reference_potentials(voltage_V) + shift_n = (phi - reference_n) / self.thermal_voltage_V + shift_p = (phi - reference_p) / self.thermal_voltage_V + with np.errstate(over="ignore", under="ignore", invalid="ignore"): + n = self.reference_electron_density_m3 * np.exp(shift_n + values[count:2 * count]) + p = self.reference_hole_density_m3 * np.exp(-shift_p - values[2 * count:]) + return phi, n, p + + def state(self, u: ArrayLike, *, voltage_V: float = 0.0) -> State1D: + phi, n, p = self.fields(u, voltage_V=voltage_V) + return State1D(np.asarray(u, dtype=float), phi, n, p, self.sha256, voltage_V) + + def charge_ledger(self, n: Vector, p: Vector) -> ChargeLedger: + """Poisson reads the same explicit population ledger as its tangents.""" + return ChargeLedger( + self.node_count, + len(self.geometry.interfaces), + ( + ChargeEntry("hole", "hole", 1, p), + ChargeEntry("electron", "electron", -1, n), + ChargeEntry("acceptor", "dopant", -1, self.parameters.acceptor_density_m3), + ChargeEntry("donor", "dopant", 1, self.parameters.donor_density_m3), + ), + ) + + +def quasi_fermi_potential_tangents( + flux: CarrierFaceFlux, drive: Vector, carrier_sign: float, thermal: float +) -> tuple[Vector, Vector]: + """Chain the SG kernel through density(phi, z) without equilibrium cancellation.""" + pair = bernoulli_pair(flux.energy_step) + forward = np.divide( + pair.forward_derivative, pair.forward, + out=np.zeros_like(flux.flux), where=pair.forward != 0.0, + ) + backward = np.divide( + pair.backward_derivative, pair.backward, + out=np.zeros_like(flux.flux), where=pair.backward != 0.0, + ) + # An underflowed B(x), x >> 1, still has d(log B)/dx = 1/x - 1. + tiny_forward = pair.forward == 0.0 + tiny_backward = pair.backward == 0.0 + forward[tiny_forward] = 1.0 / flux.energy_step[tiny_forward] - 1.0 + backward[tiny_backward] = -1.0 / flux.energy_step[tiny_backward] - 1.0 + from_left = drive < 0.0 + left_factor = np.where(from_left, 1.0 + forward, -backward) + right_factor = np.where(from_left, -forward, 1.0 + backward) + factor = carrier_sign * flux.flux / thermal + return factor * left_factor, factor * right_factor + + +@dataclass(frozen=True) +class DC1DProblem: + """Production F(u, udot), Fy, and Fudot for one operating point.""" + + device: CompiledDevice1D + voltage_V: float = 0.0 + generation_scale: float = 0.0 + + def __post_init__(self) -> None: + self.device.contact_potentials(self.voltage_V) + if not math.isfinite(self.generation_scale) or self.generation_scale < 0.0: + raise ValueError("generation_scale must be finite and non-negative") + + def _derivative(self, udot: ArrayLike | None) -> Vector: + if udot is None: + return np.zeros(3 * self.device.node_count) + derivative = np.asarray(udot, dtype=float) + if derivative.shape != (3 * self.device.node_count,) or not np.all(np.isfinite(derivative)): + raise ValueError("udot must be finite and match the coordinate vector") + return derivative + + def fluxes(self, u: ArrayLike) -> CarrierFaceFluxes: + device = self.device + count = device.node_count + values = np.asarray(u, dtype=float) + phi, n, p = device.fields(values, voltage_V=self.voltage_V) + electron_diffusivity = device.electron_diffusivity_faces_m2_s + hole_diffusivity = device.hole_diffusivity_faces_m2_s + if device.field_transport is not None: + transport = device.field_transport.evaluate(phi) + electron_diffusivity = transport.electron_diffusivity_m2_s + hole_diffusivity = transport.hole_diffusivity_m2_s + return carrier_particle_fluxes( + device.nodes_m, phi, n, p, + electron_diffusivity, hole_diffusivity, + device.thermal_voltage_V, + device.parameters.band_structure, + electron_electrochemical_step=np.diff(values[count:2 * count]), + hole_electrochemical_step=-np.diff(values[2 * count:]), + ) + + def recombination_rate(self, n: Vector, p: Vector, *, derivatives: bool = True) -> RecombinationRate: + evaluation = self.device.recombination.evaluate(n, p, derivatives=derivatives) + evaluation.require_domain() + total = evaluation.total + model = self.device.additional_recombination + if model is not None: + extra = model.evaluate(n, p) + if not isinstance(extra, RecombinationRate) or not extra.has_derivatives: + raise ValueError("a local recombination model must return rate and both exact partials") + for value in (extra.rate, extra.d_rate_dn, extra.d_rate_dp): + array = np.asarray(value) + if array.shape != n.shape or not np.all(np.isfinite(array)): + raise ValueError("local recombination outputs must be finite on every node") + total = sum_recombination_rates(total, extra) + return total + + def contact_exchange(self, u: Vector, channel: CarrierExchangeChannel, node: int) -> tuple[float, float]: + """Evaluate the production contact slope on an accurate density excess.""" + count = self.device.node_count + references = self.device.carrier_reference_potentials(self.voltage_V) + reference = references[0] if channel.carrier == "n" else references[1] + shift = (u[node] - reference[node]) / self.device.thermal_voltage_V + exponent = shift + u[count + node] if channel.carrier == "n" else -shift - u[2 * count + node] + boundary = boundary_particle_flux(channel, channel.reservoir_density_m3) + excess = channel.reservoir_density_m3 * np.expm1(exponent) + # The boundary kernel supplies n_out * S, including exactly zero for blocking. + return boundary.density_derivative * excess, boundary.density_derivative + + def _contact_exchange(self, u: Vector, channel: CarrierExchangeChannel, node: int) -> tuple[float, float]: + """Delegate for the pending backward-Euler accounting migration.""" + return self.contact_exchange(u, channel, node) + + def residual(self, u: ArrayLike, udot: ArrayLike | None = None) -> Vector: + device = self.device + count = device.node_count + values = np.asarray(u, dtype=float) + phi, n, p = device.fields(values, voltage_V=self.voltage_V) + if not np.all(np.isfinite(n)) or not np.all(np.isfinite(p)) or np.any(n <= 0.0) or np.any(p <= 0.0): + return np.full(3 * count, np.nan) + derivative = self._derivative(udot) + fluxes = self.fluxes(values) + rate = self.recombination_rate(n, p, derivatives=False) + source = self.generation_scale * device.generation.source_m3_s - rate.rate + result = np.empty(3 * count) + left, right = device.contact_potentials(self.voltage_V) + rho = device.charge_ledger(n, p).space_charge_C_m3() + result[:count] = device.poisson.residual(phi, rho, left, right) + geometry = device._carrier_geometry + for carrier, offset, density, flux, sign in ( + ("n", count, n, fluxes.electron, 1.0), + ("p", 2 * count, p, fluxes.hole, -1.0), + ): + name = "electron" if carrier == "n" else "hole" + sink = TermSink(device._carrier_layout, name, geometry) + sink.add(FaceFlux(name + ".sg", "faces", flux.flux, FLUX_UNIT)) + sink.add(CellSource(name + ".net_pairs", "cells", source, SOURCE_UNIT)) + rows = np.array(sink.value(), copy=True) + rate_of_density = sign * density * ( + derivative[:count] / device.thermal_voltage_V + derivative[offset:offset + count] + ) + rows -= device.geometry.cell_measures_m * rate_of_density + for side, node in (("left", 0), ("right", count - 1)): + channel = device.channel(carrier, side) + if channel.kind == "fixed_reservoir": + references = device.carrier_reference_potentials(self.voltage_V) + reference = references[0] if carrier == "n" else references[1] + shift = (phi[node] - reference[node]) / device.thermal_voltage_V + rows[node] = sign * (shift + values[offset + node]) + else: + exchange, _ = self.contact_exchange(values, channel, node) + rows[node] += (1.0 if side == "left" else -1.0) * exchange + result[offset:offset + count] = rows + return result + + def storage_jacobian(self, u: ArrayLike) -> csc_matrix: + """Exact Fudot; contact constraints and Poisson rows have no storage.""" + device = self.device + count = device.node_count + _, n, p = device.fields(u, voltage_V=self.voltage_V) + wn = device.geometry.cell_measures_m * n + wp = device.geometry.cell_measures_m * p + for carrier, weights in (("n", wn), ("p", wp)): + for side, node in (("left", 0), ("right", count - 1)): + if device.channel(carrier, side).kind == "fixed_reservoir": + weights[node] = 0.0 + matrix = lil_matrix((3 * count, 3 * count), dtype=float) + matrix[count:2 * count, :count] = diags(-wn / device.thermal_voltage_V) + matrix[count:2 * count, count:2 * count] = diags(-wn) + matrix[2 * count:, :count] = diags(wp / device.thermal_voltage_V) + matrix[2 * count:, 2 * count:] = diags(wp) + return matrix.tocsc() + + def jacobian(self, u: ArrayLike, udot: ArrayLike | None = None, *, alpha: float = 0.0) -> csc_matrix: + """Analytic Fy + alpha Fudot in the production quasi-Fermi coordinates.""" + device = self.device + count = device.node_count + thermal = device.thermal_voltage_V + values = np.asarray(u, dtype=float) + _, n, p = device.fields(values, voltage_V=self.voltage_V) + derivative = self._derivative(udot) + fluxes = self.fluxes(values) + rate = self.recombination_rate(n, p) + transport = None if device.field_transport is None else device.field_transport.evaluate(values[:count]) + assert rate.d_rate_dn is not None and rate.d_rate_dp is not None + widths = device.geometry.cell_measures_m + matrix = lil_matrix((3 * count, 3 * count), dtype=float) + matrix[:count, :count] = device.poisson.jacobian() + interior = range(1, count - 1) + charge_widths = device.poisson.interior_widths_m + for local, node in enumerate(interior): + matrix[node, node] += -Q * charge_widths[local] * (n[node] + p[node]) / thermal + matrix[node, count + node] = -Q * charge_widths[local] * n[node] + matrix[node, 2 * count + node] = -Q * charge_widths[local] * p[node] + source_n = -np.asarray(rate.d_rate_dn) * n + source_p = np.asarray(rate.d_rate_dp) * p + source_phi = (source_n + source_p) / thermal + for carrier, offset, density, flux, sign in ( + ("n", count, n, fluxes.electron, 1.0), + ("p", 2 * count, p, fluxes.hole, -1.0), + ): + drive = sign * np.diff(values[offset:offset + count]) + left_phi, right_phi = quasi_fermi_potential_tangents(flux, drive, sign, thermal) + if transport is not None: + diffusivity = (transport.electron_diffusivity_m2_s if carrier == "n" + else transport.hole_diffusivity_m2_s) + d_diffusivity = (transport.electron_d_diffusivity_d_field if carrier == "n" + else transport.hole_d_diffusivity_d_field) + # SG is linear in positive D. E = -(phi_R-phi_L)/dx, so + # this is the additional (dGamma/dD)(dD/dE)(dE/dphi) term. + field_chain = (flux.flux / diffusivity) * d_diffusivity / np.diff(device.nodes_m) + left_phi = left_phi + field_chain + right_phi = right_phi - field_chain + left_z = sign * flux.left_density_derivative * density[:-1] + right_z = sign * flux.right_density_derivative * density[1:] + for face in range(count - 1): + for orientation, node in ((-1.0, face), (1.0, face + 1)): + row = offset + node + matrix[row, face] += orientation * left_phi[face] + matrix[row, face + 1] += orientation * right_phi[face] + matrix[row, offset + face] += orientation * left_z[face] + matrix[row, offset + face + 1] += orientation * right_z[face] + density_rate = sign * density * ( + derivative[:count] / thermal + derivative[offset:offset + count] + ) + for node in range(count): + row = offset + node + matrix[row, node] += widths[node] * (source_phi[node] - sign * density_rate[node] / thermal) + matrix[row, count + node] += widths[node] * source_n[node] + matrix[row, 2 * count + node] += widths[node] * source_p[node] + matrix[row, offset + node] -= widths[node] * sign * density_rate[node] + for side, node in (("left", 0), ("right", count - 1)): + row = offset + node + channel = device.channel(carrier, side) + if channel.kind == "fixed_reservoir": + matrix.rows[row] = [node, offset + node] + matrix.data[row] = [sign / thermal, sign] + else: + _, slope = self.contact_exchange(values, channel, node) + inflow = 1.0 if side == "left" else -1.0 + matrix[row, node] += inflow * slope * sign * density[node] / thermal + matrix[row, offset + node] += inflow * slope * sign * density[node] + result = matrix.tocsc() + if alpha != 0.0: + if not math.isfinite(alpha): + raise ValueError("alpha must be finite") + result = result + alpha * self.storage_jacobian(values) + return result + + def current_density(self, u: ArrayLike) -> Vector: + fluxes = self.fluxes(u) + return fluxes.electron_current() + fluxes.hole_current() + + def contact_current_density(self, u: ArrayLike) -> Vector: + values = np.asarray(u, dtype=float) + fluxes = self.fluxes(values) + _, n, p = self.device.fields(values, voltage_V=self.voltage_V) + rate = self.recombination_rate(n, p, derivatives=False) + pairs = self.device.geometry.cell_measures_m * ( + self.generation_scale * self.device.generation.source_m3_s - rate.rate + ) + currents = [] + for side, node, face in (("left", 0, 0), ("right", self.device.node_count - 1, -1)): + total = 0.0 + for carrier, charge, flux in (("n", -Q, fluxes.electron), ("p", Q, fluxes.hole)): + channel = self.device.channel(carrier, side) + if channel.kind == "fixed_reservoir": + exchange = float(flux.flux[face] + (-1.0 if side == "left" else 1.0) * pairs[node]) + else: + exchange, _ = self.contact_exchange(values, channel, node) + total += charge * exchange + currents.append(total) + return np.asarray(currents) diff --git a/src/solarlab/equations/dc_2d.py b/src/solarlab/equations/dc_2d.py new file mode 100644 index 00000000..04f106e8 --- /dev/null +++ b/src/solarlab/equations/dc_2d.py @@ -0,0 +1,439 @@ +"""Classical 2D DC on one connected lateral/stack face graph. + +Unknowns are (phi, z_n, z_p) using the accepted majority-electrode references. +Gauss and carrier balances use physical areas and face lengths per unit depth; +fixed-reservoir contact rows are unweighted potential/log-density constraints. +Finite exchange and blocking contacts retain conservative carrier rows. +There is no independent-column residual, nonlinear solver or transient route. +""" + +from __future__ import annotations + +from dataclasses import dataclass, field +import math +from typing import Protocol, TypeAlias + +import numpy as np +from numpy.typing import ArrayLike, NDArray +from scipy.sparse import csc_matrix, lil_matrix + +from solarlab.contracts import ( + AREA, COULOMB, LENGTH, PARTICLE, SECOND, VOLUME, CellSource, EquationSpec, + FaceFlux, Layout, Support, TermSink, frozen_array, +) +from solarlab.contracts.units import ELEMENTARY_CHARGE_C +from solarlab.discretization.face_average import VACUUM_PERMITTIVITY_F_M +from solarlab.equations.dc_1d import CompiledDevice1D, quasi_fermi_potential_tangents +from solarlab.equations.field_transport_2d import FieldTransport2D +from solarlab.mesh.geometry_2d import RectangularGeometry2D +from solarlab.physics.contacts.boundary_flux import boundary_particle_flux +from solarlab.physics.contacts.exchange import CarrierExchangeChannel +from solarlab.physics.electrostatics.charge import ChargeEntry, ChargeLedger +from solarlab.physics.generation.profile import GenerationProfile +from solarlab.physics.recombination.bulk import RecombinationRate +from solarlab.physics.recombination.reaction import ( + BulkRecombinationCoefficients, BulkRecombinationEvaluation, BulkRecombinationReaction, +) +from solarlab.physics.statistics.band_potentials import BandStructure +from solarlab.physics.transport.electrochemical_flux import CarrierFaceFlux, CarrierFaceFluxes, stable_sg_particle_flux + +Vector: TypeAlias = NDArray[np.float64] +Q = ELEMENTARY_CHARGE_C + + +class GrainRecombinationModel2D(Protocol): + """A geometry-bound rate correction supplied by device assembly.""" + + @property + def geometry_sha256(self) -> str: ... + + def evaluate(self, evaluation: BulkRecombinationEvaluation, + coefficients: BulkRecombinationCoefficients) -> RecombinationRate: ... + + +@dataclass(frozen=True) +class State2D: + u: Vector + potential_V: Vector + electron_density_m3: Vector + hole_density_m3: Vector + device_sha256: str + voltage_V: float = 0.0 + + def __post_init__(self) -> None: + for name in ("u", "potential_V", "electron_density_m3", "hole_density_m3"): + object.__setattr__(self, name, frozen_array(getattr(self, name))) + shape = self.potential_V.shape + if len(shape) != 2 or self.u.shape != (3 * self.potential_V.size,): + raise ValueError("2D fields require (Ny,Nx) and a matching coordinate vector") + for value in (self.electron_density_m3, self.hole_density_m3): + if value.shape != shape or np.any(value <= 0.0): + raise ValueError("2D carrier densities must be positive on every node") + if not self.device_sha256 or not math.isfinite(self.voltage_V): + raise ValueError("state requires device identity and finite reference voltage") + + +@dataclass(frozen=True) +class CompiledDevice2D: + """Extruded physical coefficients; equations act on the full 2D face graph. + + column supplies only accepted physical coefficients/contact references. + Its integer-endpoint geometry is not used for 2D conservation weights. + generation_y is explicitly rebound to physical half-endpoint cells. + """ + + sha256: str + column: CompiledDevice1D + geometry: RectangularGeometry2D + generation_y: GenerationProfile + relative_permittivity_y: Vector + spatial_declaration_json: bytes + grain_recombination: GrainRecombinationModel2D | None = None + column_projection_json: bytes | None = None + field_transport: FieldTransport2D | None = None + band_structure: BandStructure = field(init=False) + recombination: BulkRecombinationReaction = field(init=False) + generation_source_m3_s: Vector = field(init=False) + electron_diffusivity_faces_m2_s: Vector = field(init=False) + hole_diffusivity_faces_m2_s: Vector = field(init=False) + face_capacitance_F_m2: Vector = field(init=False) + layout: Layout = field(init=False, repr=False) + + def __post_init__(self) -> None: + column, geometry = self.column, self.geometry + if self.grain_recombination is not None and self.grain_recombination.geometry_sha256 != geometry.sha256: + raise ValueError("grain recombination must be bound to this exact 2D geometry") + if not self.sha256 or not np.array_equal(column.nodes_m, geometry.y_geometry.nodes_m): + raise ValueError("column coefficients must match the 2D stack grid and identity") + if column.field_transport is not None and self.field_transport is None: + raise ValueError("active CT requires its full2D normal-face binding") + if column.recombination.explicit_defects is not None: + raise ValueError("2D DC requires lifetime SRH") + if column.additional_recombination is not None: + raise ValueError("2D DC requires the bound bulk reaction") + if all(c.kind == "blocking" for c in column.channels): + raise ValueError("fully_blocking_contacts: a closed carrier inventory constraint is not bound in 2D DC") + eps = frozen_array(self.relative_permittivity_y) + if eps.shape != (geometry.ny,) or np.any(eps <= 0.0): + raise ValueError("positive physical permittivity is required on every stack node") + object.__setattr__(self, "relative_permittivity_y", eps) + self.generation_y.require_inputs(self.generation_y.binding_sha256, geometry.y_geometry) + object.__setattr__(self, "generation_source_m3_s", frozen_array(self.extrude(self.generation_y.source_m3_s))) + bands = column.parameters.band_structure + object.__setattr__(self, "band_structure", BandStructure( + self.extrude(bands.physical_electron_affinity_eV), self.extrude(bands.physical_band_gap_eV), + self.extrude(bands.transport_electron_affinity_eV), self.extrude(bands.transport_band_gap_eV), + bands.dos_folded, bands.reference_layer, + )) + coefficients = column.recombination.coefficients + names = ("ni_sq_m6", "tau_n_s", "tau_p_s", "n1_m3", "p1_m3", "radiative_m3_s", "auger_n_m6_s", "auger_p_m6_s") + object.__setattr__(self, "recombination", BulkRecombinationReaction( + BulkRecombinationCoefficients(self.node_count, *(self.extrude(getattr(coefficients, name)) for name in names)))) + for carrier in ("electron", "hole"): + nodal = getattr(column.parameters, carrier + "_diffusivity_m2_s") + vertical = getattr(column, carrier + "_diffusivity_faces_m2_s") + values = np.r_[np.repeat(nodal, geometry.nx - 1), np.repeat(vertical, geometry.nx)] + if np.any(values <= 0.0): + raise ValueError("2D DC requires positive finite carrier diffusivities") + object.__setattr__(self, carrier + "_diffusivity_faces_m2_s", frozen_array(values)) + if self.field_transport is not None: + model = self.field_transport + if (model.geometry.sha256 != geometry.sha256 or model.thermal_voltage_V != self.thermal_voltage_V + or not np.array_equal(model.base_electron_diffusivity_m2_s, self.electron_diffusivity_faces_m2_s) + or not np.array_equal(model.base_hole_diffusivity_m2_s, self.hole_diffusivity_faces_m2_s)): + raise ValueError("field transport must match the exact2D grid, temperature and baseD") + horizontal_capacitance = (VACUUM_PERMITTIVITY_F_M * eps[:, None] / np.diff(geometry.x_m)[None, :]).ravel() + object.__setattr__(self, "face_capacitance_F_m2", frozen_array(np.r_[ + horizontal_capacitance, np.repeat(column.poisson.face_capacitance_F_m2, geometry.nx)])) + faces = geometry.face_spacing_m.size + object.__setattr__(self, "layout", Layout( + (Support("cells", "cell", (self.node_count,)), Support("faces", "face", (faces,))), (), + (EquationSpec("gauss", "electrostatics", "cells", (self.node_count,), COULOMB / LENGTH, role="constraint"), + EquationSpec("electron", "electron", "cells", (self.node_count,), PARTICLE / (LENGTH * SECOND)), + EquationSpec("hole", "hole", "cells", (self.node_count,), PARTICLE / (LENGTH * SECOND))), + )) + + @property + def identity(self) -> str: + return self.sha256 + + @property + def node_count(self) -> int: + return self.geometry.node_count + + @property + def thermal_voltage_V(self) -> float: + return self.column.thermal_voltage_V + + @property + def fixed_carrier_mask(self) -> NDArray[np.bool_]: + """Density-constraint rows, indexed by (electron/hole, node).""" + mask: NDArray[np.bool_] = np.zeros((2, self.node_count), dtype=bool) + sides = self.geometry.contact_nodes.reshape(2, self.geometry.nx) + for carrier_index, carrier in enumerate(("n", "p")): + for side, nodes in zip(("left", "right"), sides): + if self.column.channel(carrier, side).kind == "fixed_reservoir": + mask[carrier_index, nodes] = True + mask.flags.writeable = False + return mask + + @property + def generation_limit_A_m(self) -> float: + return Q * float(np.sum(self.generation_source_m3_s * self.geometry.contract_geometry.volumes)) + + def extrude(self, values_y: ArrayLike) -> Vector: + values = np.asarray(values_y, dtype=float) + if values.shape != (self.geometry.ny,): + raise ValueError("extruded nodal coefficients must match the stack grid") + return np.repeat(values, self.geometry.nx) + + def extrude_coordinates(self, u_1d: ArrayLike) -> Vector: + values = np.asarray(u_1d, dtype=float) + if values.shape != (3 * self.geometry.ny,) or not np.all(np.isfinite(values)): + raise ValueError("reference coordinates must match the compiled column") + return np.repeat(values.reshape(3, self.geometry.ny), self.geometry.nx, axis=1).ravel() + + def reference_potentials(self, voltage_V: float) -> tuple[Vector, Vector]: + left, right = self.column.carrier_reference_potentials(voltage_V) + return self.extrude(left), self.extrude(right) + + def fields(self, u: ArrayLike, *, voltage_V: float = 0.0) -> tuple[Vector, Vector, Vector]: + values = np.asarray(u, dtype=float) + count = self.node_count + if values.shape != (3 * count,) or not np.all(np.isfinite(values)): + raise ValueError("coordinates must be finite and match the 2D state layout") + phi = values[:count] + ref_n, ref_p = self.reference_potentials(voltage_V) + with np.errstate(over="ignore", under="ignore", invalid="ignore"): + n = self.extrude(self.column.reference_electron_density_m3) * np.exp( + (phi - ref_n) / self.thermal_voltage_V + values[count:2 * count]) + p = self.extrude(self.column.reference_hole_density_m3) * np.exp( + -(phi - ref_p) / self.thermal_voltage_V - values[2 * count:]) + return phi, n, p + + def state(self, u: ArrayLike, *, voltage_V: float = 0.0) -> State2D: + phi, n, p = self.fields(u, voltage_V=voltage_V) + shape = self.geometry.shape + return State2D(np.asarray(u, dtype=float), phi.reshape(shape), n.reshape(shape), p.reshape(shape), self.sha256, voltage_V) + + def charge_ledger(self, n: Vector, p: Vector) -> ChargeLedger: + return ChargeLedger(self.node_count, 0, ( + ChargeEntry("hole", "hole", 1, p), ChargeEntry("electron", "electron", -1, n), + ChargeEntry("acceptor", "dopant", -1, self.extrude(self.column.parameters.acceptor_density_m3)), + ChargeEntry("donor", "dopant", 1, self.extrude(self.column.parameters.donor_density_m3)), + )) + + +@dataclass(frozen=True) +class DC2DProblem: + device: CompiledDevice2D + voltage_V: float = 0.0 + generation_scale: float = 0.0 + + def __post_init__(self) -> None: + self.device.column.contact_potentials(self.voltage_V) + if not math.isfinite(self.generation_scale) or self.generation_scale < 0.0: + raise ValueError("generation_scale must be finite and nonnegative") + + def fluxes(self, u: ArrayLike) -> CarrierFaceFluxes: + d = self.device + values = np.asarray(u, dtype=float) + phi, n, p = d.fields(values, voltage_V=self.voltage_V) + left, right = d.geometry.contract_geometry.pairs.T + potentials = d.band_structure.transport_potentials(phi) + if d.field_transport is not None: + return d.field_transport.fluxes(phi, n, p, potentials[0], potentials[1], + electron_electrochemical_step=values[d.node_count + right] - values[d.node_count + left], + hole_electrochemical_step=-(values[2 * d.node_count + right] - values[2 * d.node_count + left])) + fluxes = [] + for density, potential, diffusivity, offset, sign in ( + (n, potentials[0], d.electron_diffusivity_faces_m2_s, d.node_count, 1.0), + (p, potentials[1], d.hole_diffusivity_faces_m2_s, 2 * d.node_count, -1.0), + ): + step = -sign * (potential[right] - potential[left]) / d.thermal_voltage_V + coefficient = diffusivity / d.geometry.face_spacing_m + drive = sign * (values[offset + right] - values[offset + left]) + evaluated = stable_sg_particle_flux(density[left], density[right], step, coefficient, electrochemical_step=drive) + per_volt = -sign / d.thermal_voltage_V * evaluated.energy_step_derivative + fluxes.append(CarrierFaceFlux(evaluated.flux, evaluated.left_density_derivative, evaluated.right_density_derivative, + -per_volt, per_volt, step, coefficient)) + return CarrierFaceFluxes(fluxes[0], fluxes[1]) + + def recombination_rate(self, n: Vector, p: Vector, *, derivatives: bool = True) -> RecombinationRate: + evaluation = self.device.recombination.evaluate(n, p, derivatives=derivatives) + evaluation.require_domain() + if self.device.grain_recombination is not None: + return self.device.grain_recombination.evaluate(evaluation, self.device.recombination.coefficients) + return evaluation.total + + def displacement(self, u: ArrayLike) -> Vector: + phi, _, _ = self.device.fields(u, voltage_V=self.voltage_V) + left, right = self.device.geometry.contract_geometry.pairs.T + return -self.device.face_capacitance_F_m2 * (phi[right] - phi[left]) + + def _contact_exchange(self, u: Vector, channel: CarrierExchangeChannel, + nodes: NDArray[np.int64]) -> tuple[Vector, float]: + """The 1D contact law/expm1 construction on a whole y contact face. + + Left/right means y-min/y-max here. Gamma is directed along +y, + in particles/(m2*s); its exact density slope is n_out*S. + """ + d, count = self.device, self.device.node_count + references = d.reference_potentials(self.voltage_V) + reference = references[0] if channel.carrier == "n" else references[1] + shift = (u[nodes] - reference[nodes]) / d.thermal_voltage_V + exponent = shift + u[count + nodes] if channel.carrier == "n" else -shift - u[2 * count + nodes] + boundary = boundary_particle_flux(channel, channel.reservoir_density_m3) + excess = channel.reservoir_density_m3 * np.expm1(exponent) + return boundary.density_derivative * excess, boundary.density_derivative + + def residual(self, u: ArrayLike) -> Vector: + d, count = self.device, self.device.node_count + values = np.asarray(u, dtype=float) + phi, n, p = d.fields(values, voltage_V=self.voltage_V) + if not np.all(np.isfinite(n)) or not np.all(np.isfinite(p)) or np.any(n <= 0.0) or np.any(p <= 0.0): + return np.full(3 * count, np.nan) + fluxes = self.fluxes(values) + source = self.generation_scale * d.generation_source_m3_s - self.recombination_rate(n, p, derivatives=False).rate + outputs = [] + for name, flux, flux_unit, cell_source, source_unit in ( + ("gauss", self.displacement(values), COULOMB / AREA, d.charge_ledger(n, p).space_charge_C_m3(), COULOMB / VOLUME), + ("electron", fluxes.electron.flux, PARTICLE / (AREA * SECOND), source, PARTICLE / (VOLUME * SECOND)), + ("hole", fluxes.hole.flux, PARTICLE / (AREA * SECOND), source, PARTICLE / (VOLUME * SECOND)), + ): + sink = TermSink(d.layout, name, d.geometry.contract_geometry) + sink.add(FaceFlux(name + ".transport", "faces", flux, flux_unit)) + sink.add(CellSource(name + ".source", "cells", cell_source, source_unit)) + outputs.append(np.array(sink.value(), copy=True)) + bottom, top = d.column.contact_potentials(self.voltage_V) + outputs[0][:d.geometry.nx] = phi[:d.geometry.nx] - bottom + outputs[0][-d.geometry.nx:] = phi[-d.geometry.nx:] - top + sides = d.geometry.contact_nodes.reshape(2, d.geometry.nx) + for carrier, rows, offset, sign, reference in zip(("n", "p"), outputs[1:], (count, 2 * count), + (1.0, -1.0), d.reference_potentials(self.voltage_V)): + for side, nodes, inflow in zip(("left", "right"), sides, (1.0, -1.0)): + channel = d.column.channel(carrier, side) + if channel.kind == "fixed_reservoir": + rows[nodes] = sign * ((phi[nodes] - reference[nodes]) / d.thermal_voltage_V + values[offset + nodes]) + else: + exchange, _ = self._contact_exchange(values, channel, nodes) + rows[nodes] += inflow * exchange * d.geometry.x_widths_m + return np.concatenate(outputs) + + def jacobian(self, u: ArrayLike) -> csc_matrix: + """Full analytic Newton Jacobian, including both spatial directions.""" + d, count = self.device, self.device.node_count + values = np.asarray(u, dtype=float) + _, n, p = d.fields(values, voltage_V=self.voltage_V) + thermal = d.thermal_voltage_V + geometry = d.geometry.contract_geometry + left, right = geometry.pairs.T + matrix = lil_matrix((3 * count, 3 * count), dtype=float) + for a, b, capacitance in zip(left, right, d.face_capacitance_F_m2 * geometry.face_measures): + matrix[a, a] -= capacitance + matrix[a, b] += capacitance + matrix[b, a] += capacitance + matrix[b, b] -= capacitance + for node, area in enumerate(geometry.volumes): + matrix[node, node] -= Q * area * (n[node] + p[node]) / thermal + matrix[node, count + node] = -Q * area * n[node] + matrix[node, 2 * count + node] = -Q * area * p[node] + fluxes = self.fluxes(values) + rate = self.recombination_rate(n, p) + assert rate.d_rate_dn is not None and rate.d_rate_dp is not None + source_n = -np.asarray(rate.d_rate_dn) * n + source_p = np.asarray(rate.d_rate_dp) * p + source_phi = (source_n + source_p) / thermal + for offset, sign, density, flux in ((count, 1.0, n, fluxes.electron), (2 * count, -1.0, p, fluxes.hole)): + drive = sign * (values[offset + right] - values[offset + left]) + # Reuse the accepted cancellation-safe quasi-Fermi chain, without altering its source. + phi_left, phi_right = quasi_fermi_potential_tangents(flux, drive, sign, thermal) + if d.field_transport is not None: + evaluated_transport = d.field_transport.evaluate(values[:count]) + diffusivity = (evaluated_transport.electron_diffusivity_m2_s if offset == count + else evaluated_transport.hole_diffusivity_m2_s) + diffusivity_slope = (evaluated_transport.electron_d_diffusivity_d_field if offset == count + else evaluated_transport.hole_d_diffusivity_d_field) + field_chain = (flux.flux / diffusivity) * diffusivity_slope / d.geometry.face_spacing_m + phi_left = phi_left + field_chain + phi_right = phi_right - field_chain + z_left = sign * flux.left_density_derivative * density[left] + z_right = sign * flux.right_density_derivative * density[right] + for face, (a, b) in enumerate(geometry.pairs): + for orientation, node in ((-1.0, a), (1.0, b)): + weight = orientation * geometry.face_measures[face] + row = offset + node + matrix[row, a] += weight * phi_left[face] + matrix[row, b] += weight * phi_right[face] + matrix[row, offset + a] += weight * z_left[face] + matrix[row, offset + b] += weight * z_right[face] + for node, area in enumerate(geometry.volumes): + row = offset + node + matrix[row, node] += area * source_phi[node] + matrix[row, count + node] += area * source_n[node] + matrix[row, 2 * count + node] += area * source_p[node] + for node in d.geometry.contact_nodes: + matrix.rows[node], matrix.data[node] = [int(node)], [1.0] + sides = d.geometry.contact_nodes.reshape(2, d.geometry.nx) + for carrier, offset, sign, density in (("n", count, 1.0, n), ("p", 2 * count, -1.0, p)): + for side, nodes, inflow in zip(("left", "right"), sides, (1.0, -1.0)): + channel = d.column.channel(carrier, side) + if channel.kind == "fixed_reservoir": + for node in nodes: + matrix.rows[offset + node] = [int(node), int(offset + node)] + matrix.data[offset + node] = [sign / thermal, sign] + else: + _, slope = self._contact_exchange(values, channel, nodes) + for node, width in zip(nodes, d.geometry.x_widths_m): + matrix[offset + node, node] += inflow * slope * sign * density[node] / thermal * width + matrix[offset + node, offset + node] += inflow * slope * sign * density[node] * width + return matrix.tocsc() + + def current_density(self, u: ArrayLike) -> Vector: + """Internal directed face currents [A/m2], x faces followed by y faces.""" + fluxes = self.fluxes(u) + return fluxes.electron_current() + fluxes.hole_current() + + def cross_section_current_A_m(self, u: ArrayLike) -> Vector: + g = self.device.geometry + current_y = self.current_density(u)[g.x_face_count:].reshape(g.ny - 1, g.nx) + return np.sum(current_y * g.x_widths_m[None, :], axis=1) + + def contact_particle_fluxes(self, u: ArrayLike) -> tuple[Vector, Vector]: + """Y-min/y-max flux densities along +y, using each channel's own law. + + Fixed channels close the contact-cell balance, including lateral + inflow and half-cell generation/recombination. Finite/blocking + channels use their actual exchange; a failed row is never closed by + substituting an inferred terminal flux. + """ + d, g = self.device, self.device.geometry + _, n, p = d.fields(u, voltage_V=self.voltage_V) + source = self.generation_scale * d.generation_source_m3_s - self.recombination_rate(n, p, derivatives=False).rate + pairs = (source * g.contract_geometry.volumes).reshape(g.shape) + fluxes = self.fluxes(u) + result = [] + horizontal_pairs = g.contract_geometry.pairs[:g.x_face_count] + for carrier, flux in zip(("n", "p"), (fluxes.electron.flux, fluxes.hole.flux)): + x_inflow = np.zeros(d.node_count) + weighted = flux[:g.x_face_count] * g.contract_geometry.face_measures[:g.x_face_count] + np.add.at(x_inflow, horizontal_pairs[:, 0], -weighted) + np.add.at(x_inflow, horizontal_pairs[:, 1], weighted) + x_inflow = x_inflow.reshape(g.shape) + y_flux = flux[g.x_face_count:].reshape(g.ny - 1, g.nx) + contact = np.stack((y_flux[0] - (x_inflow[0] + pairs[0]) / g.x_widths_m, + y_flux[-1] + (x_inflow[-1] + pairs[-1]) / g.x_widths_m)) + for side_index, (side, nodes) in enumerate(zip(("left", "right"), g.contact_nodes.reshape(2, g.nx))): + channel = d.column.channel(carrier, side) + if channel.kind != "fixed_reservoir": + contact[side_index], _ = self._contact_exchange(np.asarray(u, dtype=float), channel, nodes) + result.append(contact) + return result[0], result[1] + + def terminal_current_A_m(self, u: ArrayLike) -> Vector: + """Integrated bottom/top currents along +y, per metre of out-of-plane depth.""" + electron, hole = self.contact_particle_fluxes(u) + return np.sum((-Q * electron + Q * hole) * self.device.geometry.x_widths_m[None, :], axis=1) + + def terminal_current_density_A_m2(self, u: ArrayLike) -> Vector: + return self.terminal_current_A_m(u) / self.device.geometry.lateral_length_m diff --git a/src/solarlab/equations/field_transport_1d.py b/src/solarlab/equations/field_transport_1d.py new file mode 100644 index 00000000..5a410280 --- /dev/null +++ b/src/solarlab/equations/field_transport_1d.py @@ -0,0 +1,133 @@ +"""Smooth CT face transport and its electrostatic-potential chain rule.""" + +from __future__ import annotations + +from dataclasses import dataclass +import hashlib +import json + +import numpy as np +from numpy.typing import ArrayLike + +from solarlab.physics.transport.field_mobility import ( + FieldMobilityFaceParameters, face_electric_field, linearize_field_mobility, +) +from solarlab.physics.transport.field_mobility_tangents import ( + FACE_FIELD_1D, FieldMobilityCapabilityError, require_field_measure, +) + + +def _frozen(value: ArrayLike) -> np.ndarray: + array = np.array(value, dtype=float, copy=True) + array.setflags(write=False) + return array + + +@dataclass(frozen=True) +class FieldTransportEvaluation1D: + field_V_m: np.ndarray + electron_diffusivity_m2_s: np.ndarray + hole_diffusivity_m2_s: np.ndarray + electron_d_diffusivity_d_field: np.ndarray + hole_d_diffusivity_d_field: np.ndarray + + +@dataclass(frozen=True) +class FieldTransport1D: + """State-free physical inputs; effective diffusivities are never cached.""" + + nodes_m: np.ndarray + base_electron_diffusivity_m2_s: np.ndarray + base_hole_diffusivity_m2_s: np.ndarray + thermal_voltage_V: float + electron: FieldMobilityFaceParameters + hole: FieldMobilityFaceParameters + field_measure: str = FACE_FIELD_1D + + def __post_init__(self) -> None: + require_field_measure(self.field_measure) + if self.field_measure != FACE_FIELD_1D: + raise FieldMobilityCapabilityError("CT 1D requires the complete face_field_1d_v1 field") + nodes = _frozen(self.nodes_m) + if nodes.ndim != 1 or nodes.size < 2 or not np.all(np.isfinite(nodes)) or np.any(np.diff(nodes) <= 0.0): + raise ValueError("field transport requires a finite strictly increasing node grid") + object.__setattr__(self, "nodes_m", nodes) + if not np.isfinite(self.thermal_voltage_V) or self.thermal_voltage_V <= 0.0: + raise ValueError("field transport requires positive finite thermal voltage") + for name in ("base_electron_diffusivity_m2_s", "base_hole_diffusivity_m2_s"): + value = _frozen(getattr(self, name)) + if value.shape != (nodes.size - 1,) or not np.all(np.isfinite(value)) or np.any(value <= 0.0): + raise FieldMobilityCapabilityError("smooth CT binding requires finite positive low-field face diffusivity") + object.__setattr__(self, name, value) + for carrier in (self.electron, self.hole): + if carrier.saturation_velocity_m_s.shape != (nodes.size - 1,): + raise ValueError("CT face parameters must match the physical grid") + if np.any(carrier.pf_gamma_sqrt_m_V != 0.0): + raise FieldMobilityCapabilityError("Poole-Frenkel transport is not bound in the smooth CT slice") + velocity, beta = carrier.saturation_velocity_m_s, carrier.ct_exponent + if np.any(velocity < 0.0) or np.any((velocity > 0.0) & (beta <= 1.0)): + raise FieldMobilityCapabilityError("smooth CT requires beta > 1 on every active saturation face") + + @property + def identity_sha256(self) -> str: + header = ("smooth_ct_transport_1d_v1", self.field_measure, self.thermal_voltage_V) + digest = hashlib.sha256(json.dumps(header, separators=(",", ":"), allow_nan=False).encode()) + arrays = [self.nodes_m, self.base_electron_diffusivity_m2_s, self.base_hole_diffusivity_m2_s] + for carrier in (self.electron, self.hole): + arrays.extend((carrier.saturation_velocity_m_s, carrier.ct_exponent, carrier.pf_gamma_sqrt_m_V)) + for array in arrays: + digest.update(np.ascontiguousarray(array, dtype=" FieldTransportEvaluation1D: + phi = np.asarray(phi_V, dtype=float) + if phi.shape != self.nodes_m.shape or not np.all(np.isfinite(phi)): + raise ValueError("CT potential must be finite on the bound node grid") + field = face_electric_field(phi, self.nodes_m) + values = [] + derivatives = [] + for base, carrier in ((self.base_electron_diffusivity_m2_s, self.electron), + (self.base_hole_diffusivity_m2_s, self.hole)): + linear = linearize_field_mobility( + base / self.thermal_voltage_V, field, + carrier.saturation_velocity_m_s, carrier.ct_exponent, carrier.pf_gamma_sqrt_m_V, + ) + if not np.all(linear.differentiable): + raise FieldMobilityCapabilityError("CT transport encountered an unsupported nonsmooth tangent") + value = linear.mobility_m2_V_s * self.thermal_voltage_V + derivative = linear.field_derivative_m3_V2_s * self.thermal_voltage_V + if not np.all(np.isfinite(value)) or np.any(value <= 0.0) or not np.all(np.isfinite(derivative)): + raise FieldMobilityCapabilityError("CT effective diffusivity/tangent is outside the finite positive domain") + values.append(_frozen(value)) + derivatives.append(_frozen(derivative)) + return FieldTransportEvaluation1D(_frozen(field), values[0], values[1], derivatives[0], derivatives[1]) + + +def bind_field_transport_1d( + nodes_m: ArrayLike, electron_diffusivity_faces_m2_s: ArrayLike, + hole_diffusivity_faces_m2_s: ArrayLike, thermal_voltage_V: float, *, + v_sat_n: ArrayLike, v_sat_p: ArrayLike, ct_beta_n: ArrayLike, ct_beta_p: ArrayLike, + pf_gamma_n: ArrayLike, pf_gamma_p: ArrayLike, +) -> FieldTransport1D | None: + """Use original arithmetic face means of the compiler's painted node arrays. + + With saturation off, return None so the existing constant-D path (including + its identity and arithmetic) remains exact. + """ + count = np.asarray(nodes_m).size + arrays = [np.asarray(value, dtype=float) for value in + (v_sat_n, v_sat_p, ct_beta_n, ct_beta_p, pf_gamma_n, pf_gamma_p)] + if any(value.shape != (count,) or not np.all(np.isfinite(value)) for value in arrays): + raise ValueError("CT node parameters must be finite and match the physical node grid") + if np.any(arrays[4] != 0.0) or np.any(arrays[5] != 0.0): + raise FieldMobilityCapabilityError("Poole-Frenkel transport is not bound in the smooth CT slice") + if np.any(arrays[0] < 0.0) or np.any(arrays[1] < 0.0): + raise FieldMobilityCapabilityError("saturation velocities must be nonnegative") + if not np.any(arrays[0] > 0.0) and not np.any(arrays[1] > 0.0): + return None + electron = FieldMobilityFaceParameters.from_nodes(arrays[0], arrays[2], arrays[4]) + hole = FieldMobilityFaceParameters.from_nodes(arrays[1], arrays[3], arrays[5]) + return FieldTransport1D( + np.asarray(nodes_m), np.asarray(electron_diffusivity_faces_m2_s), + np.asarray(hole_diffusivity_faces_m2_s), thermal_voltage_V, electron, hole, + ) diff --git a/src/solarlab/equations/field_transport_2d.py b/src/solarlab/equations/field_transport_2d.py new file mode 100644 index 00000000..538a190f --- /dev/null +++ b/src/solarlab/equations/field_transport_2d.py @@ -0,0 +1,170 @@ +"""Smooth CT on the existing2D normal-face field, with exact SG chain terms. + +x faces use -(phi_R-phi_L)/dx and y faces use -(phi_R-phi_L)/dy. +The vector field norm is a different model. BaseD is supplied by the existing +compiler; empirical node parameters retain the legacy arithmetic face means. +PF and nonsmooth CT are outside this first native binding, as in new-core1D. +""" + +from __future__ import annotations + +from dataclasses import dataclass +import hashlib +import json + +import numpy as np +from numpy.typing import ArrayLike + +from solarlab.contracts import frozen_array +from solarlab.mesh.geometry_2d import RECTANGULAR_HALF_ENDPOINT_2D_V1, RectangularGeometry2D +from solarlab.physics.transport.electrochemical_flux import CarrierFaceFlux, CarrierFaceFluxes, stable_sg_particle_flux +from solarlab.physics.transport.field_mobility import FieldMobilityFaceParameters, linearize_field_mobility +from solarlab.physics.transport.field_mobility_tangents import ( + FACE_NORMAL_COMPONENT_2D, FieldMobilityCapabilityError, require_field_measure, +) + + +@dataclass(frozen=True) +class FieldTransportEvaluation2D: + field_V_m: np.ndarray + electron_diffusivity_m2_s: np.ndarray + hole_diffusivity_m2_s: np.ndarray + electron_d_diffusivity_d_field: np.ndarray + hole_d_diffusivity_d_field: np.ndarray + + +@dataclass(frozen=True) +class FieldTransport2D: + """Geometry-bound physical inputs; every evaluation uses the actual phi.""" + + geometry: RectangularGeometry2D + base_electron_diffusivity_m2_s: np.ndarray + base_hole_diffusivity_m2_s: np.ndarray + thermal_voltage_V: float + electron: FieldMobilityFaceParameters + hole: FieldMobilityFaceParameters + field_measure: str = FACE_NORMAL_COMPONENT_2D + + def __post_init__(self) -> None: + require_field_measure(self.field_measure) + if self.field_measure != FACE_NORMAL_COMPONENT_2D: + raise FieldMobilityCapabilityError("2D CT requires the declared normal-face-component field") + if not isinstance(self.geometry, RectangularGeometry2D) or self.geometry.name != RECTANGULAR_HALF_ENDPOINT_2D_V1: + raise FieldMobilityCapabilityError("2D CT requires the nonperiodic half-endpoint face geometry") + if not np.isfinite(self.thermal_voltage_V) or self.thermal_voltage_V <= 0: + raise ValueError("field transport requires positive finite thermal voltage") + count = self.geometry.face_spacing_m.size + for name in ("base_electron_diffusivity_m2_s", "base_hole_diffusivity_m2_s"): + value = frozen_array(getattr(self, name)) + if value.shape != (count,) or np.any(value <= 0): + raise FieldMobilityCapabilityError("2D CT requires positive physicalD on the full face set") + object.__setattr__(self, name, value) + for name in ("electron", "hole"): + carrier = getattr(self, name) + if carrier.saturation_velocity_m_s.shape != (count,): + raise ValueError("CT parameters must match all oriented2D faces") + velocity, beta = carrier.saturation_velocity_m_s, carrier.ct_exponent + if np.any(carrier.pf_gamma_sqrt_m_V != 0): + raise FieldMobilityCapabilityError("PF is not bound in the smoothCT2D slice") + if np.any(velocity < 0) or np.any((velocity > 0) & (beta <= 1)): + raise FieldMobilityCapabilityError("smoothCT2D requires beta>1 on every active face") + bound = FieldMobilityFaceParameters(carrier.saturation_velocity_m_s, carrier.ct_exponent, + carrier.pf_gamma_sqrt_m_V) + for field_name in ("saturation_velocity_m_s", "ct_exponent", "pf_gamma_sqrt_m_V"): + object.__setattr__(bound, field_name, frozen_array(getattr(bound, field_name))) + object.__setattr__(self, name, bound) + + @property + def identity_sha256(self) -> str: + digest = hashlib.sha256(json.dumps(("smooth_ct_normal_face_transport_2d_v1", self.geometry.sha256, + self.field_measure, self.thermal_voltage_V), separators=(",", ":"), allow_nan=False).encode()) + arrays = [self.base_electron_diffusivity_m2_s, self.base_hole_diffusivity_m2_s] + for carrier in (self.electron, self.hole): + arrays.extend((carrier.saturation_velocity_m_s, carrier.ct_exponent, carrier.pf_gamma_sqrt_m_V)) + for value in arrays: + digest.update(np.ascontiguousarray(value, dtype=" np.ndarray: + raw = np.asarray(value) + if np.iscomplexobj(raw): + raise ValueError(name + " must be real") + nodes = np.asarray(raw, dtype=float) + if nodes.shape != (self.geometry.node_count,) or not np.all(np.isfinite(nodes)): + raise ValueError(name + " must be finite on the complete2D node set") + return nodes + + def evaluate(self, phi_V: ArrayLike) -> FieldTransportEvaluation2D: + phi = self._nodes(phi_V, "electrostatic potential") + left, right = self.geometry.contract_geometry.pairs.T + field = -(phi[right] - phi[left]) / self.geometry.face_spacing_m + values, derivatives = [], [] + for base, carrier in ((self.base_electron_diffusivity_m2_s, self.electron), + (self.base_hole_diffusivity_m2_s, self.hole)): + linear = linearize_field_mobility(base / self.thermal_voltage_V, field, + carrier.saturation_velocity_m_s, carrier.ct_exponent, carrier.pf_gamma_sqrt_m_V) + if not np.all(linear.differentiable): + raise FieldMobilityCapabilityError("normal-faceCT encountered an unsupported nonsmooth tangent") + value = linear.mobility_m2_V_s * self.thermal_voltage_V + slope = linear.field_derivative_m3_V2_s * self.thermal_voltage_V + if not np.all(np.isfinite(value)) or np.any(value <= 0) or not np.all(np.isfinite(slope)): + raise FieldMobilityCapabilityError("2D CT diffusivity/tangent is outside the finite positive domain") + values.append(frozen_array(value)) + derivatives.append(frozen_array(slope)) + return FieldTransportEvaluation2D(frozen_array(field), values[0], values[1], derivatives[0], derivatives[1]) + + def fluxes(self, phi_V: ArrayLike, electron_density_m3: ArrayLike, hole_density_m3: ArrayLike, + electron_transport_potential_V: ArrayLike, hole_transport_potential_V: ArrayLike, *, + electron_electrochemical_step: ArrayLike | None = None, + hole_electrochemical_step: ArrayLike | None = None) -> CarrierFaceFluxes: + """Reuse SG density/energy derivatives and add dF/dk*dD/dphi/h.""" + evaluation = self.evaluate(phi_V) + left, right = self.geometry.contract_geometry.pairs.T + h = self.geometry.face_spacing_m + fluxes = [] + for density, potential, diffusivity, slope, sign, drive in ( + (electron_density_m3, electron_transport_potential_V, evaluation.electron_diffusivity_m2_s, + evaluation.electron_d_diffusivity_d_field, -1.0, electron_electrochemical_step), + (hole_density_m3, hole_transport_potential_V, evaluation.hole_diffusivity_m2_s, + evaluation.hole_d_diffusivity_d_field, 1.0, hole_electrochemical_step), + ): + c, psi = self._nodes(density, "carrier density"), self._nodes(potential, "transport potential") + if np.any(c <= 0): + raise ValueError("SG carrier densities must be positive") + step = sign * (psi[right] - psi[left]) / self.thermal_voltage_V + coefficient = diffusivity / h + evaluated = stable_sg_particle_flux(c[left], c[right], step, coefficient, electrochemical_step=drive) + per_volt = sign / self.thermal_voltage_V * evaluated.energy_step_derivative + chain = evaluated.coefficient_derivative * slope / h**2 + fluxes.append(CarrierFaceFlux(evaluated.flux, evaluated.left_density_derivative, + evaluated.right_density_derivative, -per_volt + chain, per_volt - chain, step, coefficient)) + return CarrierFaceFluxes(fluxes[0], fluxes[1]) + + +def bind_field_transport_2d(geometry: RectangularGeometry2D, electron_diffusivity_faces_m2_s: ArrayLike, + hole_diffusivity_faces_m2_s: ArrayLike, thermal_voltage_V: float, *, + v_sat_n: ArrayLike, v_sat_p: ArrayLike, ct_beta_n: ArrayLike, ct_beta_p: ArrayLike, + pf_gamma_n: ArrayLike, pf_gamma_p: ArrayLike, + field_measure: str = FACE_NORMAL_COMPONENT_2D) -> FieldTransport2D | None: + """Bind original painted node parameters; off returnsNone without changingD.""" + require_field_measure(field_measure) + if field_measure != FACE_NORMAL_COMPONENT_2D: + raise FieldMobilityCapabilityError("2D binding requires normal-face components, not total field") + if not isinstance(geometry, RectangularGeometry2D): + raise FieldMobilityCapabilityError("2D binding requires explicit nonperiodic physical geometry") + arrays = [np.asarray(value, dtype=float) for value in + (v_sat_n, v_sat_p, ct_beta_n, ct_beta_p, pf_gamma_n, pf_gamma_p)] + if any(value.shape != (geometry.node_count,) or not np.all(np.isfinite(value)) for value in arrays): + raise ValueError("CT node parameters must be finite on the full2D node set") + if np.any(arrays[4] != 0) or np.any(arrays[5] != 0): + raise FieldMobilityCapabilityError("PF is not bound in the smoothCT2D slice") + if np.any(arrays[0] < 0) or np.any(arrays[1] < 0): + raise FieldMobilityCapabilityError("saturation velocities must be nonnegative") + if not np.any(arrays[0] > 0) and not np.any(arrays[1] > 0): + return None + left, right = geometry.contract_geometry.pairs.T + faces = [0.5 * (value[left] + value[right]) for value in arrays] + electron = FieldMobilityFaceParameters(faces[0], faces[2], faces[4]) + hole = FieldMobilityFaceParameters(faces[1], faces[3], faces[5]) + return FieldTransport2D(geometry, np.asarray(electron_diffusivity_faces_m2_s), + np.asarray(hole_diffusivity_faces_m2_s), thermal_voltage_V, electron, hole, field_measure) diff --git a/src/solarlab/equations/implementation.py b/src/solarlab/equations/implementation.py new file mode 100644 index 00000000..6728a708 --- /dev/null +++ b/src/solarlab/equations/implementation.py @@ -0,0 +1,291 @@ +"""Equation implementation of the 1D production entry points (milestone A switch). + +The assembled systems of :mod:`solarlab.equations.assembly` are the default +for the steady, transient and small-signal 1D entry points and the steady 2D +entry point. The original Problem, closure and small-signal classes stay +selectable for one release, by an explicit opt-out: + +* in code: ``with equation_implementation(LEGACY): ...`` (this context and + everything it calls); +* per process: ``NEWCORE_EQUATIONS=legacy``, read outside any such scope. + The name avoids the ``SOLARLAB_`` prefix, which the legacy engine refuses + as a physics override. + +A scope is a ContextVar: it holds in this execution context and what it +calls, not in a new thread (unless that thread runs a copied context) or a +spawned process. Worker jobs therefore carry the resolved choice themselves: +preparation records ``NEWCORE_EQUATIONS=`` among the execution +manifest's environment settings (:func:`selection_setting`), and the child +installs those settings before any engine import, so queued and spawned +execution run the selection of the parent that prepared them. + +Both implementations give the same binary64 words for every production +quantity, Newton history and saved array (tests/unit/assembly), so the +selection changes which code runs, never a result. Unknown values are +refused, never mapped to a default. + +Each entry point branches on :func:`use_assembled` where it constructs a +problem; the original branch keeps the names it always used. Closures, +domain problems and steppers follow the problem they are given, so one +history never mixes implementations. :func:`implementation_source_modules` +names this module and the assembly modules a producer can run, for source +maps that must not depend on the selection. + +BDF's admitted electronic and single-positive-ion adapters also default to +assembled equations. BDF capture scopes its admission and integration to the +selected implementation; the original equations remain an explicit opt-out. + +Every production job admission (Q6 ``job_provenance``) states the +implementation it runs, before numerical work (:func:`provenance_binding`): +the original classes record the job's original operator label and no +Assembler; the assembled system records the assembled operator and the +``Assembler.identity`` of the device's bound system. Each analysis identity +digests the analysis kind (steady, transient, ac or initialization), the +implementation, the operator and every Assembler the analysis evaluates. A +stage inside an admitted job, such as the initialization of a J-V job, +re-derives the job's binding from its own device and controls +(:func:`substage_binding`), so Q6 admits it only when both run the same +implementation on the same Assemblers. +""" + +from __future__ import annotations + +from collections.abc import Iterable, Iterator +from contextlib import contextmanager +from contextvars import ContextVar +import importlib +import os +from typing import TYPE_CHECKING, Any, TypeAlias, TypedDict + +from solarlab.equations.assembly.classical_1d import AssembledDC1DProblem, classical_dc_1d +from solarlab.equations.dc_1d import CompiledDevice1D, DC1DProblem +from solarlab.reproducibility.job_provenance import current_provenance, digest + +if TYPE_CHECKING: + from solarlab.equations.assembly.ionic_1d import IonicSystem + +__all__ = [ + "ASSEMBLED", "BINDING_SCHEMA", "ENVIRONMENT", "IMPLEMENTATIONS", "LEGACY", "DCProblem", "ProvenanceBinding", + "equation_implementation", "implementation_source_modules", "observation_binding", + "provenance_binding", "selected_implementation", "selection_setting", "substage_binding", "use_assembled", + "verify_selection", +] + +ASSEMBLED = "assembled" +LEGACY = "legacy" +IMPLEMENTATIONS = (ASSEMBLED, LEGACY) +ENVIRONMENT = "NEWCORE_EQUATIONS" + +DCProblem: TypeAlias = DC1DProblem | AssembledDC1DProblem + +_DC = ("solarlab.equations.assembly.assembler", "solarlab.equations.assembly.classical_1d", + "solarlab.equations.assembly.layout", "solarlab.equations.assembly.quasi_fermi", + "solarlab.equations.assembly.terms", "solarlab.equations.assembly.weighted") +_IONIC = _DC + ("solarlab.equations.assembly.ionic_1d",) +_SMALL_SIGNAL = _IONIC + ("solarlab.equations.assembly.small_signal",) +_FAMILIES = {"dc": _DC, "ionic": _IONIC, "small_signal": _SMALL_SIGNAL} + +_SCOPE: ContextVar[str | None] = ContextVar("solarlab_equation_implementation", default=None) + +BINDING_SCHEMA = "solarlab.equation-binding.v1" +# Each production job's original operator label (Q6): its analysis kind, its assembled +# operator and the Assemblers it evaluates besides the device's bound ``system``. +# A missing assembled operator declares an original-only capability. +_OPERATORS: dict[str, tuple[str, str | None, tuple[str, ...]]] = { + "DC1DProblem.steady_jv": ("steady", "AssembledDC1DProblem.steady_jv", ()), + "BackwardEuler1DStep": ("transient", "BackwardEuler1DStep(AssembledStorage1D)", ()), + "BDFStep:DC1DProblem": ("transient", "BDFStep:AssembledDC1DProblem", ()), + "BDFStep:Ionic1DProblem": ("transient", "BDFStep:AssembledIonic1DProblem", ("closure", "electronic")), + "DC1DProblem.small_signal": ("ac", "AssembledDC1DProblem.small_signal", ()), + "Ionic1DProblem.steady_jv": ("steady", "AssembledIonic1DProblem.steady_jv", ("closure", "electronic")), + "Ionic1DProblem.initialization": ("initialization", "AssembledIonic1DProblem.initialization", + ("closure", "electronic")), + "IonicBackwardEuler1DStep": ("transient", "AssembledIonicBackwardEuler1DStep", ("closure", "electronic")), + "IonicSmallSignal1D": ("ac", "AssembledIonicSmallSignal1D", ("closure", "electronic")), + "MultipleIonicBackwardEuler1DStep": ("transient", "AssembledMultipleIonicBackwardEuler1DStep", + ("closure", "electronic")), + "MultipleIonicSmallSignal1D": ("ac", "AssembledMultipleIonicSmallSignal1D", ("closure", "electronic", "domains")), + "DC2DProblem.steady_jv": ("steady", "AssembledDC2DProblem.steady_jv", ()), + "DC2DProblem.steady": ("steady", "AssembledDC2DProblem.steady", ("column",)), +} +_ORIGINAL = {**{name: name for name in _OPERATORS}, + **{entry[1]: name for name, entry in _OPERATORS.items() if entry[1] is not None}} + + +class ProvenanceBinding(TypedDict): + """The keywords of Q6 ``job_provenance`` (and ``WorkerContext.admit_provenance``) for one job.""" + + operator: str + assembler_identity: str | None + analysis_identity: str + + +def _checked(name: object) -> str: + if not isinstance(name, str) or name not in IMPLEMENTATIONS: + raise ValueError(f"unknown equation implementation {name!r}; expected one of {IMPLEMENTATIONS}") + return name + + +def selected_implementation(*, operator: str | None = None) -> str: + """The explicit scope/setting or the default supported by an operator's capability. + + Without an operator, the assembled default is unchanged. An operator + without assembled capability accepts an implicit default or explicit + legacy choice; an explicit assembled choice is refused before admission. + """ + scoped = _SCOPE.get() + declared = scoped if scoped is not None else os.environ.get(ENVIRONMENT) + selected = _checked(ASSEMBLED if declared is None else declared) + if operator is not None: + if operator not in _OPERATORS: + raise ValueError(f"no equation binding is defined for operator {operator!r}") + if _OPERATORS[operator][1] is None: + if declared is not None and selected == ASSEMBLED: + raise ValueError("BDF currently supports original equations only") + return LEGACY + return selected + + +def use_assembled() -> bool: + """Whether an entry point constructs the assembled system now.""" + return selected_implementation() == ASSEMBLED + + +@contextmanager +def equation_implementation(name: str) -> Iterator[None]: + """Select ``name`` for the production entry points called inside this block.""" + token = _SCOPE.set(_checked(name)) + try: + yield + finally: + _SCOPE.reset(token) + + +def implementation_source_modules(family: str) -> tuple[str, ...]: + """This module and the assembly modules a ``dc``, ``ionic`` or ``small_signal`` producer can run. + + The names do not depend on the selection, so a source map is the same + under either implementation. Each module is imported, so a pin hashes a + loaded file. + """ + names = (__name__,) + _FAMILIES[family] + for name in names: + importlib.import_module(name) + return names + + +def selection_setting() -> tuple[str, str]: + """The resolved selection as the child setting a worker's execution manifest records.""" + return ENVIRONMENT, selected_implementation() + + +def verify_selection(settings: Iterable[tuple[str, str | None]]) -> None: + """Refuse a process whose resolved selection is not the one its job's manifest bound.""" + declared = dict(settings).get(ENVIRONMENT) + if declared is None or selected_implementation() != declared: + raise ValueError("the worker's equation selection differs from its execution manifest") + + +def _assemblers(device: object, roles: tuple[str, ...], inventory_row_node: int | None) -> dict[str, str]: + """``Assembler.identity`` of the device's bound system and of each further role an analysis evaluates. + + The identity digests the layout, mesh, field map and ordered Terms, so it + is the same for every binding production builds for the device: the + ``system``; its steady inventory/profile ``closure`` at the controls' node; + the ``electronic`` sub-system of the carrier rows (density preparation and + electronic observations); the per-domain systems of two-domain AC; and the + 1D ``column`` system a 2D job's seed solve runs. + """ + if isinstance(device, CompiledDevice1D): + return {"system": classical_dc_1d(device).identity} + from solarlab.equations.dc_2d import CompiledDevice2D + + if isinstance(device, CompiledDevice2D): + from solarlab.equations.assembly.two_dimensional import classical_dc_2d + + result = {"system": classical_dc_2d(device).identity} + if "column" in roles: + result["column"] = classical_dc_1d(device.column).identity + return result + from solarlab.equations.assembly.ionic_1d import ionic_system, multiple_ionic_system + from solarlab.equations.ionic_1d import CompiledIonicDevice1D + from solarlab.equations.multiple_ionic_1d import CompiledMultipleIonicDevice1D + + def bind(node: int | None) -> IonicSystem: + if isinstance(device, CompiledMultipleIonicDevice1D): + return multiple_ionic_system(device, inventory_row_node=node) + if isinstance(device, CompiledIonicDevice1D): + return ionic_system(device, inventory_row_node=node) + raise TypeError(f"no assembled equation system is bound for {type(device).__name__}") + + system = bind(None) + result = {"system": system.identity} + if "closure" in roles: + if inventory_row_node is None: + raise ValueError("the steady closure of an ionic job needs its controls' inventory_row_node") + result["closure"] = bind(inventory_row_node).identity + if "electronic" in roles: + result["electronic"] = system.electronic.identity + if "domains" in roles: + result.update(("domain:" + domain.domain_layer_id, ionic_system(domain).identity) + for domain in getattr(device, "domains", ())) + return result + + +def provenance_binding(operator: str, device: object, *, inventory_row_node: int | None = None, + assembled: bool | None = None) -> ProvenanceBinding: + """Q6 ``job_provenance`` keywords stating the implementation that runs ``operator`` on ``device``. + + ``operator`` is the job's original operator label and ``inventory_row_node`` + the steady closure node of an ionic job's controls. The original classes + record that label and no Assembler. The assembled system records its + operator and the identity of the device's bound system; the analysis + identity digests the analysis kind, implementation, operator and every + Assembler the analysis evaluates (``BINDING_SCHEMA``), so the two + bindings are explicit and distinct. A producer that does not follow the + selection states its implementation with ``assembled``. + """ + if operator not in _OPERATORS: + raise ValueError(f"no equation binding is defined for operator {operator!r}") + analysis, label_assembled, roles = _OPERATORS[operator] + if label_assembled is None: + selected_implementation(operator=operator) + if assembled is True: + raise ValueError("BDF currently supports original equations only") + assembled = False + if use_assembled() if assembled is None else assembled: + assert label_assembled is not None + implementation, label = ASSEMBLED, label_assembled + assemblers = _assemblers(device, roles, inventory_row_node) + else: + implementation, label, assemblers = LEGACY, operator, {} + return ProvenanceBinding(operator=label, assembler_identity=assemblers.get("system"), analysis_identity=digest({ + "schema": BINDING_SCHEMA, "implementation": implementation, "analysis": analysis, "operator": label, + "assemblers": assemblers})) + + +def substage_binding(device: object, *, inventory_row_node: int | None = None) -> ProvenanceBinding: + """The admitted job's binding, re-derived for a stage inside it from the stage's own device and controls. + + Q6 refuses an inherited binding under an assembled job and any + declaration that differs from the job's, so the stage is admitted only + when it runs the job's implementation on the same Assemblers. + """ + active = current_provenance() + if active is None: + raise ValueError("a stage binding requires an admitted job") + operator = active["record"]["assembler"]["operator"] + if operator not in _ORIGINAL: + raise ValueError(f"no equation binding is defined for the admitted operator {operator!r}") + return provenance_binding(_ORIGINAL[operator], device, inventory_row_node=inventory_row_node) + + +def observation_binding(operator: object, system: object) -> dict[str, Any]: + """``observe`` keywords recording the solved system's identities (assembled operators only).""" + from solarlab.equations.assembly.small_signal import ( + AssembledIonicSmallSignal1D, AssembledMultipleIonicSmallSignal1D, + ) + + if isinstance(operator, (AssembledIonicSmallSignal1D, AssembledMultipleIonicSmallSignal1D)): + return {"system": system} + return {} diff --git a/src/solarlab/equations/ionic_1d.py b/src/solarlab/equations/ionic_1d.py new file mode 100644 index 00000000..795dcbdc --- /dev/null +++ b/src/solarlab/equations/ionic_1d.py @@ -0,0 +1,625 @@ +"""Executable independent/shared finite-site extension of classical electronic rows. + +This binding admits one declared layer-wide ion domain, finite sites, blocking +domain endpoints, and a static operating voltage/temperature. It assembles F(y, ydot), +Fy and Fydot; it does not supply a qualified ionic steady or time driver. +The electronic component retains its own named geometry. Ionic storage uses +geometric half cells and the original P0/P0_neg compensation backgrounds. +""" + +from __future__ import annotations + +from dataclasses import dataclass, field +import json +import math + +import numpy as np +from numpy.typing import ArrayLike, NDArray +from scipy.sparse import block_diag, bmat, csc_matrix, diags, lil_matrix + +from solarlab.contracts import frozen_array +from solarlab.contracts.arrays import integer_indices +from solarlab.contracts.units import ELEMENTARY_CHARGE_C +from solarlab.equations.dc_1d import CompiledDevice1D, DC1DProblem, State1D, Vector +from solarlab.mesh.geometry import ControlVolumeGeometry1D, HALF_ENDPOINT_V1 +from solarlab.physics.band_structure.temperature import ion_diffusivity_at_temperature +from solarlab.physics.electrostatics.charge import ChargeEntry, ChargeLedger +from solarlab.physics.ions import ( + DIFFUSION_ONLY_STERIC_V1, WHOLE_FLUX_STERIC_V1, + ion_face_flux, ion_face_flux_jacobian, shared_site_densities, shifted_logistic_density, single_site_density, +) +from solarlab.physics.ions.shared_site import shared_site_coordinate_jacobian_m3, shared_site_coordinate_hessian_m3 + +__all__ = ["CompiledIonicDevice1D", "Ionic1DProblem", "IonicState1D"] +Q = ELEMENTARY_CHARGE_C + + +@dataclass(frozen=True) +class IonicState1D: + """Physical trial state bound to the complete ionic device, not just its component.""" + + u: Vector + electronic_state: State1D + positive_ion_density_m3: Vector + device_sha256: str + domain_inventory_m2: float + negative_ion_density_m3: Vector = field(default_factory=lambda: np.empty(0)) + negative_domain_inventory_m2: float = 0.0 + + def __post_init__(self) -> None: + object.__setattr__(self, "u", frozen_array(self.u)) + object.__setattr__(self, "positive_ion_density_m3", frozen_array(self.positive_ion_density_m3)) + object.__setattr__(self, "negative_ion_density_m3", frozen_array(self.negative_ion_density_m3)) + count = self.electronic_state.potential_V.size + ion_count = self.positive_ion_density_m3.size + negative_count = self.negative_ion_density_m3.size + if self.u.shape != (3 * count + ion_count + negative_count,) or not np.array_equal(self.u[:3 * count], self.electronic_state.u): + raise ValueError("ionic coordinates must include their complete electronic component") + if self.positive_ion_density_m3.ndim != 1 or ion_count < 3 or np.any(self.positive_ion_density_m3 <= 0.0): + raise ValueError("positive-ion density must be positive on its declared domain") + if not self.device_sha256 or not math.isfinite(self.domain_inventory_m2) or self.domain_inventory_m2 <= 0.0: + raise ValueError("ionic state requires complete device identity and finite positive inventory") + if negative_count: + if (self.negative_ion_density_m3.shape != (ion_count,) or np.any(self.negative_ion_density_m3 <= 0.0) + or not math.isfinite(self.negative_domain_inventory_m2) or self.negative_domain_inventory_m2 <= 0.0): + raise ValueError("negative-ion density and inventory must be positive on the complete same domain") + elif self.negative_domain_inventory_m2 != 0.0: + raise ValueError("an absent negative population cannot carry an inventory") + + @property + def voltage_V(self) -> float: + return self.electronic_state.voltage_V + + @property + def domain_inventories_m2(self) -> dict[str, float]: + if self.negative_ion_density_m3.size: + return {"positive": self.domain_inventory_m2, "negative": self.negative_domain_inventory_m2} + return {"positive": self.domain_inventory_m2} + + +@dataclass(frozen=True) +class CompiledIonicDevice1D: + """One electronic component and one closed domain with independent ion sites. + + The manifest binds the original prepared document, all ionic declarations, + the electronic projection, both geometries and the inventory. The final + device never advertises the component's ion-free capability as its own. + """ + + device_id: str + sha256: str + original_prepared_sha256: str + electronic_component: CompiledDevice1D + ion_geometry: ControlVolumeGeometry1D + domain_layer_id: str + positive_ion_reference_m3: Vector + positive_ion_site_limit_m3: Vector + positive_ion_logit_reference: Vector + positive_ion_diffusivity_faces_m2_s: Vector + steric_model: str + binding_manifest_json: str + capabilities: tuple[str, ...] = ( + "classical_1d_electronic_component", "single_positive_ion_1d_residual", + "finite_sites", "blocking_ion_contacts", "physical_ion_storage", + ) + ion_node_indices: NDArray[np.intp] = field(default_factory=lambda: np.empty(0, dtype=np.intp)) + negative_ion_reference_m3: Vector = field(default_factory=lambda: np.empty(0)) + negative_ion_site_limit_m3: Vector = field(default_factory=lambda: np.empty(0)) + negative_ion_logit_reference: Vector = field(default_factory=lambda: np.empty(0)) + negative_ion_diffusivity_faces_m2_s: Vector = field(default_factory=lambda: np.empty(0)) + ion_site_contract: str = "independent_finite_sites" + + def __post_init__(self) -> None: + count = self.ion_node_count + if self.ion_site_contract not in {"independent_finite_sites", "shared_finite_sites"}: + raise ValueError("unsupported ionic site contract") + indices = integer_indices(self.ion_node_indices) + if indices.size == 0: + if count != self.node_count: + raise ValueError("confined ion domain requires an explicit electrical-node map") + indices = np.arange(count, dtype=np.intp) + if (indices.shape != (count,) or np.any(np.diff(indices) != 1) + or indices[0] < 0 or indices[-1] >= self.node_count): + raise ValueError("ion-node map must be ordered, contiguous and inside the electronic grid") + object.__setattr__(self, "ion_node_indices", np.frombuffer(indices.tobytes(), dtype=np.intp)) + layer_ids = [layer.name for layer in self.electronic_component.parameters.layers] + if layer_ids.count(self.domain_layer_id) != 1: + raise ValueError("ionic binding: domain layer is absent from the electronic component") + layer_index = layer_ids.index(self.domain_layer_id) + planes = self.electronic_component.geometry.interfaces + left = 0 if layer_index == 0 else planes[layer_index - 1].shared_node + right = self.node_count - 1 if layer_index == len(layer_ids) - 1 else planes[layer_index].shared_node + if left is None or right is None or not np.array_equal(indices, np.arange(left, right + 1)): + raise ValueError("ionic binding: node map must cover both physical layer endpoints") + for name in ("positive_ion_reference_m3", "positive_ion_site_limit_m3", "positive_ion_logit_reference"): + object.__setattr__(self, name, frozen_array(getattr(self, name))) + if getattr(self, name).shape != (count,): + raise ValueError(f"{name} must match the declared ion nodes") + object.__setattr__(self, "positive_ion_diffusivity_faces_m2_s", frozen_array(self.positive_ion_diffusivity_faces_m2_s)) + if self.positive_ion_diffusivity_faces_m2_s.shape != (count - 1,) or np.any(self.positive_ion_diffusivity_faces_m2_s < 0.0): + raise ValueError("ionic diffusivity must be non-negative on every domain face") + for name in ("negative_ion_reference_m3", "negative_ion_site_limit_m3", "negative_ion_logit_reference", + "negative_ion_diffusivity_faces_m2_s"): + object.__setattr__(self, name, frozen_array(getattr(self, name))) + negative_count = count if self.negative_ion_reference_m3.size else 0 + if any(getattr(self, name).shape != (negative_count,) for name in ( + "negative_ion_reference_m3", "negative_ion_site_limit_m3", "negative_ion_logit_reference", + )) or self.negative_ion_diffusivity_faces_m2_s.shape != (count - 1 if negative_count else 0,): + raise ValueError("negative-ion arrays must all match the complete domain or all be absent") + if np.any(self.negative_ion_diffusivity_faces_m2_s < 0.0): + raise ValueError("negative-ion diffusivity must be non-negative on every domain face") + if self.ion_site_contract == "shared_finite_sites" and not negative_count: + raise ValueError("ionic binding: shared sites require both complete populations") + if np.any(self.positive_ion_reference_m3 <= 0.0) or np.any(self.positive_ion_reference_m3 >= self.positive_ion_site_limit_m3): + raise ValueError("finite-site reference must lie strictly between zero and capacity") + if self.ion_geometry.name != HALF_ENDPOINT_V1 or self.ion_geometry.interfaces: + raise ValueError("first ionic domain requires geometric half cells without interfaces") + if not np.array_equal(self.ion_geometry.nodes_m, self.nodes_m[indices]): + raise ValueError("ion and electronic nodes must coincide") + if not np.array_equal(self.ion_geometry.cell_measures_m[1:-1], + self.electronic_component.geometry.cell_measures_m[indices[1:-1]]): + raise ValueError("ion charge widths must match the original Poisson interiors") + if self.steric_model not in {WHOLE_FLUX_STERIC_V1, DIFFUSION_ONLY_STERIC_V1}: + raise ValueError("unsupported ionic constitutive law") + if not self.sha256 or not self.original_prepared_sha256 or not self.domain_layer_id: + raise ValueError("ionic device needs complete original and domain identities") + manifest = json.loads(self.binding_manifest_json) + declarations = manifest.get("original_ionic_inputs") if isinstance(manifest, dict) else None + if not isinstance(declarations, list): + raise ValueError("ionic binding requires original ionic declarations") + matching = [entry for entry in declarations if isinstance(entry, dict) and entry.get("layer") == self.domain_layer_id] + if len(matching) != 1: + raise ValueError("ionic binding requires exactly one original domain-layer declaration") + try: + reference = float(matching[0]["P0"]) + capacity = float(matching[0]["P_lim"]) + occupancy = reference / capacity + logit = math.log(occupancy) - math.log1p(-occupancy) + except (KeyError, TypeError, ValueError, ZeroDivisionError) as exc: + raise ValueError("ionic binding requires valid original finite-site parameters") from exc + if not np.array_equal(self.positive_ion_reference_m3, np.full(count, reference)): + raise ValueError("ionic binding: reference density differs from the original P0 declaration") + if not np.array_equal(self.positive_ion_site_limit_m3, np.full(count, capacity)): + raise ValueError("ionic binding: site capacity differs from the original P_lim declaration") + expected_positive_logit = np.full(count, logit) + if self.ion_site_contract == "shared_finite_sites": + source_negative = float(matching[0]["P0_neg"]) + source_negative_capacity = float(matching[0]["P_lim_neg"]) + if source_negative_capacity != capacity or source_negative <= 0.0 or reference + source_negative >= capacity: + raise ValueError("ionic binding: shared sites require common capacity and positive source vacancy") + source_vacancy = 1.0 - (np.full(count, reference) + np.full(count, source_negative)) / capacity + expected_positive_logit = np.log(np.full(count, reference) / capacity) - np.log(source_vacancy) + if not np.array_equal(self.positive_ion_logit_reference, expected_positive_logit): + raise ValueError("ionic binding: logit reference differs from the original P0/P_lim relationship") + negative_reference = float(matching[0]["P0_neg"]) + negative_diffusion = float(matching[0]["D_ion_neg"]) + if negative_count: + try: + negative_capacity = float(matching[0]["P_lim_neg"]) + negative_occupancy = negative_reference / negative_capacity + negative_logit = math.log(negative_occupancy) - math.log1p(-negative_occupancy) + except (KeyError, TypeError, ValueError, ZeroDivisionError) as exc: + raise ValueError("ionic binding requires valid original negative finite-site parameters") from exc + for name, value in (("negative_ion_reference_m3", negative_reference), + ("negative_ion_site_limit_m3", negative_capacity)): + if not np.array_equal(getattr(self, name), np.full(count, value)): + raise ValueError(f"ionic binding: {name} differs from its original declaration") + expected_negative_logit = np.full(count, negative_logit) + if self.ion_site_contract == "shared_finite_sites": + expected_negative_logit = np.log(np.full(count, negative_reference) / capacity) - np.log(source_vacancy) + if not np.array_equal(self.negative_ion_logit_reference, expected_negative_logit): + raise ValueError("ionic binding: negative log-ratio reference differs from its original declaration") + model = manifest.get("ion_model") + if (not isinstance(model, dict) or model.get("site_contract") != self.ion_site_contract + or not np.array_equal(model.get("negative_face_diffusivity_m2_s"), self.negative_ion_diffusivity_faces_m2_s)): + raise ValueError("ionic binding: negative transport must match the independent-site declaration") + activation = float(matching[0]["E_a_ion"]) + if (not all(math.isfinite(value) for value in (negative_reference, negative_capacity, negative_diffusion, activation)) + or negative_diffusion < 0.0 or activation < 0.0 or negative_reference <= 0.0 + or not np.all(self.negative_ion_reference_m3 < self.negative_ion_site_limit_m3)): + raise ValueError("ionic binding: negative population/transport is outside its finite-site domain") + scaled_negative = ion_diffusivity_at_temperature(negative_diffusion, self.electronic_component.parameters.temperature_K, activation) + if not np.array_equal(self.negative_ion_diffusivity_faces_m2_s, np.full(count - 1, scaled_negative)): + raise ValueError("ionic binding: negative diffusivity differs from its original temperature-scaled declaration") + settings = manifest.get("original_ionic_settings") + if not isinstance(settings, dict) or settings.get("ion_steric_shared_site") is not (self.ion_site_contract == "shared_finite_sites"): + raise ValueError("ionic binding: declared ionic site contract differs from its original flags") + if self.ion_site_contract == "shared_finite_sites": + if self.steric_model != DIFFUSION_ONLY_STERIC_V1 or settings.get("ion_steric_diffusion_only") is not True: + raise ValueError("ionic binding: shared sites require the original diffusion-only law") + if (model.get("coordinate_map") != "historical_shared_site_softmax_v1" + or not np.array_equal(model.get("reference_vacancy_fraction"), source_vacancy)): + raise ValueError("ionic binding: shared coordinate/vacancy declaration differs from its source") + layout = manifest.get("state_layout") + if (not isinstance(layout, dict) or layout.get("ion_species") != ["positive", "negative"] + or layout.get("size") != self.state_size): + raise ValueError("ionic binding: both species must remain in the declared state layout") + object.__setattr__(self, "capabilities", tuple( + ("shared_site_dual_ion_1d_residual" if self.ion_site_contract == "shared_finite_sites" else "independent_dual_ion_1d_residual") + if name == "single_positive_ion_1d_residual" else name + for name in self.capabilities + )) + elif negative_reference != 0.0 or negative_diffusion != 0.0: + raise ValueError("ionic binding: declared negative population or mobility cannot be stripped") + domain = manifest.get("ion_domain") + if (not isinstance(domain, dict) or domain.get("layer") != self.domain_layer_id + or not np.array_equal(domain.get("nodes_m"), self.ion_geometry.nodes_m) + or not np.array_equal(domain.get("cell_measures_m"), self.ion_geometry.cell_measures_m)): + raise ValueError("ionic binding: domain geometry differs from the bound declaration") + if not np.array_equal(domain.get("electrical_node_indices"), indices): + raise ValueError("ionic binding: confined node map differs from the declared domain") + if domain.get("contacts") != ["blocking", "blocking"]: + raise ValueError("ionic binding: this domain requires two declared blocking endpoints") + if negative_count and domain.get("negative_reference_inventory_m2") != self.negative_reference_inventory_m2: + raise ValueError("ionic binding: negative inventory differs from its original domain reference") + declaration = domain.get("declaration") + if (not isinstance(declaration, dict) or declaration.get("layer") != self.domain_layer_id + or declaration.get("endpoints") != ["blocking", "blocking"] + or (self.ion_node_count != self.node_count and declaration.get("source") != "compile_arguments")): + raise ValueError("ionic binding: domain endpoint configuration is incomplete") + for entry in declarations: + if not isinstance(entry, dict): + raise ValueError("ionic binding: invalid original ion declaration") + if entry.get("layer") != self.domain_layer_id and any(entry.get(name) != 0.0 for name in ("P0", "D_ion", "P0_neg", "D_ion_neg")): + raise ValueError("ionic binding: outside-domain populations or mobility are unsupported") + + @property + def identity(self) -> str: + return self.sha256 + + @property + def node_count(self) -> int: + return self.electronic_component.node_count + + @property + def ion_node_count(self) -> int: + return self.ion_geometry.node_count + + @property + def state_size(self) -> int: + return 3 * self.node_count + self.ion_species_count * self.ion_node_count + + @property + def ion_species_names(self) -> tuple[str, ...]: + return ("positive", "negative") if self.negative_ion_reference_m3.size else ("positive",) + + @property + def ion_species_count(self) -> int: + return len(self.ion_species_names) + + @property + def ion_species_slices(self) -> tuple[slice, ...]: + start, M = 3 * self.node_count, self.ion_node_count + return tuple(slice(start + index * M, start + (index + 1) * M) for index in range(self.ion_species_count)) + + @property + def nodes_m(self) -> Vector: + return self.electronic_component.nodes_m + + @property + def domain_bounds_m(self) -> tuple[float, float]: + return float(self.ion_geometry.nodes_m[0]), float(self.ion_geometry.nodes_m[-1]) + + @property + def reference_inventory_m2(self) -> float: + return math.fsum((self.ion_geometry.cell_measures_m * self.positive_ion_reference_m3).tolist()) + + @property + def negative_reference_inventory_m2(self) -> float: + if self.ion_species_count == 1: + return 0.0 + return math.fsum((self.ion_geometry.cell_measures_m * self.negative_ion_reference_m3).tolist()) + + @property + def ion_charge_weight_ratio(self) -> Vector: + """Deposit physical ion-cell charge onto the electronic ledger volumes.""" + return frozen_array(self.ion_geometry.cell_measures_m / self.electronic_component.geometry.cell_measures_m[self.ion_node_indices]) + + def project_ion_density(self, density: ArrayLike) -> Vector: + """Charge-deposition density (W_P/W_e)*P on electronic cells, zero outside.""" + values = np.asarray(density, dtype=float) + if values.shape != (self.ion_node_count,) or not np.all(np.isfinite(values)): + raise ValueError("ion density projection requires finite domain-local values") + result = np.zeros(self.node_count) + result[self.ion_node_indices] = self.ion_charge_weight_ratio * values + return result + + @property + def binding_manifest(self) -> dict[str, object]: + return json.loads(self.binding_manifest_json) + + def fields(self, y: ArrayLike, *, voltage_V: float = 0.0) -> tuple[Vector, Vector, Vector, Vector]: + """Historical positive-only reader; dual devices require fields_by_species.""" + if self.ion_species_count != 1: + raise ValueError("dual-ion fields require fields_by_species; a population cannot be omitted") + phi, n, p, populations = self.fields_by_species(y, voltage_V=voltage_V) + return phi, n, p, populations[0] + + def fields_by_species(self, y: ArrayLike, *, voltage_V: float = 0.0) -> tuple[Vector, Vector, Vector, tuple[Vector, ...]]: + """Physical electronic fields and every declared ion population, in block order.""" + values = np.asarray(y, dtype=float) + count = self.node_count + if values.shape != (self.state_size,) or not np.all(np.isfinite(values)): + raise ValueError("ionic coordinates must be finite with shape (3*N + species_count*M,)") + phi, n, p = self.electronic_component.fields(values[:3 * count], voltage_V=voltage_V) + populations: list[Vector] = [] + if self.ion_site_contract == "shared_finite_sites": + positive, negative = self.ion_species_slices + populations.extend(shared_site_densities( + self.positive_ion_site_limit_m3, self.positive_ion_logit_reference, self.negative_ion_logit_reference, + values[positive], values[negative], + )) + if np.any(populations[0] + populations[1] >= self.positive_ion_site_limit_m3): + raise ValueError("shared-site trial summed occupancy is outside the representable finite vacancy domain") + for species, block in zip(self.ion_species_names, self.ion_species_slices): + if self.ion_site_contract == "shared_finite_sites": + break + reference = getattr(self, species + "_ion_reference_m3") + capacity = getattr(self, species + "_ion_site_limit_m3") + logit = getattr(self, species + "_ion_logit_reference") + if self.ion_species_count == 1: + density = single_site_density(reference, capacity, logit, values[block]) + else: + density = shifted_logistic_density(reference, capacity, logit, values[block], label=species) + if np.any(density >= capacity): + raise ValueError(f"{species}-ion finite-site density saturated") + populations.append(density) + if any(not np.all(np.isfinite(value)) or np.any(value <= 0.0) for value in (n, p, *populations)): + raise ValueError("ionic/electronic trial density is outside the finite positive domain") + return phi, n, p, tuple(populations) + + def ion_coordinate_jacobian_m3(self, y: ArrayLike, *, voltage_V: float = 0.0) -> np.ndarray: + """Node-major complete physical ion derivatives [M,species,coordinate].""" + populations = self.fields_by_species(y, voltage_V=voltage_V)[3] + if self.ion_site_contract == "shared_finite_sites": + return shared_site_coordinate_jacobian_m3(populations[0], populations[1], self.positive_ion_site_limit_m3) + result = np.zeros((self.ion_node_count, self.ion_species_count, self.ion_species_count)) + for index, (species, density) in enumerate(zip(self.ion_species_names, populations)): + result[:, index, index] = density * (1.0 - density / getattr(self, species + "_ion_site_limit_m3")) + return result + + def ion_coordinate_hessian_m3(self, y: ArrayLike, *, voltage_V: float = 0.0) -> np.ndarray: + """Node-major complete physical ion Hessian [M,species,coordinate,coordinate].""" + populations = self.fields_by_species(y, voltage_V=voltage_V)[3] + if self.ion_site_contract == "shared_finite_sites": + return shared_site_coordinate_hessian_m3(populations[0], populations[1], self.positive_ion_site_limit_m3) + result = np.zeros((self.ion_node_count, self.ion_species_count, self.ion_species_count, self.ion_species_count)) + for index, (species, density) in enumerate(zip(self.ion_species_names, populations)): + capacity = getattr(self, species + "_ion_site_limit_m3") + result[:, index, index, index] = density * (1.0 - density / capacity) * (1.0 - 2.0 * density / capacity) + return result + + def state(self, y: ArrayLike, *, voltage_V: float = 0.0) -> IonicState1D: + values = np.asarray(y, dtype=float) + _, _, _, populations = self.fields_by_species(values, voltage_V=voltage_V) + component = self.electronic_component.state(values[:3 * self.node_count], voltage_V=voltage_V) + inventory = math.fsum((self.ion_geometry.cell_measures_m * populations[0]).tolist()) + negative = populations[1] if self.ion_species_count == 2 else np.empty(0) + negative_inventory = math.fsum((self.ion_geometry.cell_measures_m * negative).tolist()) if negative.size else 0.0 + return IonicState1D(values, component, populations[0], self.identity, inventory, negative, negative_inventory) + + def initial_state(self, *, voltage_V: float = 0.0) -> IonicState1D: + """Cold physical reference with exact configured ion density; no settling solve.""" + left, right = self.electronic_component.contact_potentials(voltage_V) + position = (self.nodes_m - self.nodes_m[0]) / self.electronic_component.geometry.extent_m + phi = left + (right - left) * position + return self.state(np.r_[phi, np.zeros(2 * self.node_count + self.ion_species_count * self.ion_node_count)], voltage_V=voltage_V) + + def charge_ledger(self, n: Vector, p: Vector, density: Vector, negative_density: Vector | None = None) -> ChargeLedger: + component = self.electronic_component.charge_ledger(n, p) + # Preserve the original positive-ion compensation and declaration order. + ion = ChargeEntry("positive_ion", "ion_charge_projection", 1, + self.project_ion_density(density), self.project_ion_density(self.positive_ion_reference_m3)) + ledger = ChargeLedger(self.node_count, component.interface_count, component.entries[:2] + (ion,) + component.entries[2:]) + if self.ion_species_count == 2: + if negative_density is None: + raise ValueError("dual-ion charge requires the declared negative population") + negative = ChargeEntry("negative_ion", "ion_charge_projection", -1, + self.project_ion_density(negative_density), self.project_ion_density(self.negative_ion_reference_m3), + group="negative_ion_space_charge") + return ledger.with_entry(negative) + if negative_density is not None: + raise ValueError("negative charge is not assembled for this positive-only device") + return ledger + + +@dataclass(frozen=True) +class Ionic1DProblem: + """Actual electronic/ionic F, Fy+alpha*Fydot and storage partials.""" + + device: CompiledIonicDevice1D + voltage_V: float = 0.0 + generation_scale: float = 0.0 + + def __post_init__(self) -> None: + if not isinstance(self.device, CompiledIonicDevice1D): + raise TypeError("Ionic1DProblem requires the complete compiled ionic device") + DC1DProblem(self.device.electronic_component, self.voltage_V, self.generation_scale) + + @property + def electronic_problem(self) -> DC1DProblem: + return DC1DProblem(self.device.electronic_component, self.voltage_V, self.generation_scale) + + def _derivative(self, ydot: ArrayLike | None) -> Vector: + if ydot is None: + return np.zeros(self.device.state_size) + derivative = np.asarray(ydot, dtype=float) + if derivative.shape != (self.device.state_size,) or not np.all(np.isfinite(derivative)): + raise ValueError("ydot must be finite and match the complete ionic coordinates") + return derivative + + def _ion_partial(self, density: Vector, species: str = "positive") -> Vector: + # Same finite-site chain derivative as the implemented single-ion map. + return density * (1.0 - density / getattr(self.device, species + "_ion_site_limit_m3")) + + def ion_fluxes(self, y: ArrayLike, *, species: str = "positive") -> Vector: + """Particle flux for one explicitly named species, oriented along +x.""" + if species not in self.device.ion_species_names: + raise ValueError("requested ion species is not assembled in this device") + phi, _, _, populations = self.device.fields_by_species(y, voltage_V=self.voltage_V) + index = self.device.ion_species_names.index(species) + density = populations[index] + partner = populations[1 - index] if self.device.ion_site_contract == "shared_finite_sites" else None + capacity = getattr(self.device, species + "_ion_site_limit_m3") + return ion_face_flux( + phi[self.device.ion_node_indices], density, np.diff(self.device.ion_geometry.nodes_m), getattr(self.device, species + "_ion_diffusivity_faces_m2_s"), + self.device.electronic_component.thermal_voltage_V, capacity[:-1], + steric_diffusion_only=self.device.steric_model == DIFFUSION_ONLY_STERIC_V1, + P_lim_node=capacity, P_other_node=partner, drift_sign=1.0 if species == "positive" else -1.0, + ) + + def ion_fluxes_on_electronic_faces(self, y: ArrayLike, *, species: str = "positive") -> Vector: + """Scatter domain face exchange without inventing cross-interface transmission.""" + result = np.zeros(self.device.node_count - 1) + result[self.device.ion_node_indices[:-1]] = self.ion_fluxes(y, species=species) + return result + + def ion_current_density_A_m2(self, y: ArrayLike) -> Vector: + """All internal electrical faces: q*(Gamma_positive-Gamma_negative).""" + positive = self.ion_fluxes_on_electronic_faces(y) + if self.device.ion_species_count == 1: + return Q * positive + return Q * (positive - self.ion_fluxes_on_electronic_faces(y, species="negative")) + + def residual(self, y: ArrayLike, ydot: ArrayLike | None = None) -> Vector: + count = self.device.node_count + values = np.asarray(y, dtype=float) + phi, n, p, populations = self.device.fields_by_species(values, voltage_V=self.voltage_V) + derivative = self._derivative(ydot) + result = np.empty(self.device.state_size) + result[:3 * count] = self.electronic_problem.residual(values[:3 * count], derivative[:3 * count]) + rho = self.device.charge_ledger(n, p, populations[0], populations[1] if len(populations) == 2 else None).space_charge_C_m3() + left, right = self.device.electronic_component.contact_potentials(self.voltage_V) + result[:count] = self.device.electronic_component.poisson.residual(phi, rho, left, right) + # Every internal face contributes -Gamma to its left cell, +Gamma to right. + for index, (species, density, block) in enumerate(zip(self.device.ion_species_names, populations, self.device.ion_species_slices)): + result[block] = -np.diff(np.r_[0.0, self.ion_fluxes(values, species=species), 0.0]) + if self.device.ion_site_contract == "shared_finite_sites": + mass = self.device.ion_coordinate_jacobian_m3(values, voltage_V=self.voltage_V) + plus, minus = self.device.ion_species_slices + rate = mass[:, index, 0] * derivative[plus] + mass[:, index, 1] * derivative[minus] + result[block] -= self.device.ion_geometry.cell_measures_m * rate + else: + result[block] -= self.device.ion_geometry.cell_measures_m * self._ion_partial(density, species) * derivative[block] + if not np.all(np.isfinite(result)): + raise FloatingPointError("ionic residual is outside the finite numerical envelope") + return result + + def storage_jacobian(self, y: ArrayLike) -> csc_matrix: + values = np.asarray(y, dtype=float) + _, _, _, populations = self.device.fields_by_species(values, voltage_V=self.voltage_V) + electronic = self.electronic_problem.storage_jacobian(values[:3 * self.device.node_count]) + if self.device.ion_site_contract == "shared_finite_sites": + mass = self.device.ion_coordinate_jacobian_m3(values, voltage_V=self.voltage_V) + coupled = bmat([[diags(-self.device.ion_geometry.cell_measures_m * mass[:, row, column], format="csc") + for column in range(2)] for row in range(2)], format="csc") + return block_diag((electronic, coupled), format="csc") + ionic = tuple(diags(-self.device.ion_geometry.cell_measures_m * self._ion_partial(density, species), format="csc") + for species, density in zip(self.device.ion_species_names, populations)) + return block_diag((electronic, *ionic), format="csc") + + def jacobian(self, y: ArrayLike, ydot: ArrayLike | None = None, *, alpha: float = 0.0) -> csc_matrix: + if not math.isfinite(alpha): + raise ValueError("alpha must be finite") + if self.device.ion_site_contract == "shared_finite_sites": + return self._shared_site_jacobian(y, ydot, alpha) + count = self.device.node_count + values = np.asarray(y, dtype=float) + phi, _, _, populations = self.device.fields_by_species(values, voltage_V=self.voltage_V) + derivative = self._derivative(ydot) + matrix = lil_matrix((self.device.state_size, self.device.state_size), dtype=float) + matrix[:3 * count, :3 * count] = self.electronic_problem.jacobian(values[:3 * count], derivative[:3 * count]) + indices = self.device.ion_node_indices + for species, density, block in zip(self.device.ion_species_names, populations, self.device.ion_species_slices): + start = block.start + capacity = getattr(self.device, species + "_ion_site_limit_m3") + partial = self._ion_partial(density, species) + sign = 1.0 if species == "positive" else -1.0 + flux = ion_face_flux_jacobian( + phi[indices], density, np.diff(self.device.ion_geometry.nodes_m), getattr(self.device, species + "_ion_diffusivity_faces_m2_s"), + self.device.electronic_component.thermal_voltage_V, capacity[:-1], + steric_diffusion_only=self.device.steric_model == DIFFUSION_ONLY_STERIC_V1, + P_lim_node=capacity, drift_sign=sign, + ) + if not np.all(flux.differentiable_faces): + raise ValueError("ionic Jacobian is undefined at a retained historical regularization kink") + charge = Q * self.device.electronic_component.poisson.charge_jacobian()[indices] * self.device.ion_charge_weight_ratio * partial + if sign < 0.0: + charge = -charge + for local, node in enumerate(indices): + matrix[node, start + local] = charge[local] + for face in range(self.device.ion_node_count - 1): + for orientation, node in ((-1.0, face), (1.0, face + 1)): + row = start + node + matrix[row, indices[face]] += orientation * flux.potential_left_derivative[face] + matrix[row, indices[face + 1]] += orientation * flux.potential_right_derivative[face] + matrix[row, start + face] += orientation * flux.density_left_derivative[face] * partial[face] + matrix[row, start + face + 1] += orientation * flux.density_right_derivative[face] * partial[face + 1] + second = partial * (1.0 - 2.0 * density / capacity) + matrix[block, block] -= diags(self.device.ion_geometry.cell_measures_m * second * derivative[block]) + result = matrix.tocsc() + if alpha != 0.0: + result = result + alpha * self.storage_jacobian(values) + if not np.all(np.isfinite(result.data)): + raise FloatingPointError("ionic Jacobian is outside the finite numerical envelope") + return result + + def _shared_site_jacobian(self, y: ArrayLike, ydot: ArrayLike | None, alpha: float) -> csc_matrix: + """Full existing-row transport, signed charge and coupled storage chain.""" + device, count = self.device, self.device.node_count + values = np.asarray(y, dtype=float) + phi, _, _, populations = device.fields_by_species(values, voltage_V=self.voltage_V) + derivative = self._derivative(ydot) + mass = device.ion_coordinate_jacobian_m3(values, voltage_V=self.voltage_V) + hessian = device.ion_coordinate_hessian_m3(values, voltage_V=self.voltage_V) + matrix = lil_matrix((device.state_size, device.state_size), dtype=float) + matrix[:3 * count, :3 * count] = self.electronic_problem.jacobian(values[:3 * count], derivative[:3 * count]) + indices, blocks = device.ion_node_indices, device.ion_species_slices + for column, block in enumerate(blocks): + charge = Q * device.electronic_component.poisson.charge_jacobian()[indices] * device.ion_charge_weight_ratio * (mass[:, 0, column] - mass[:, 1, column]) + for local, node in enumerate(indices): + matrix[node, block.start + local] = charge[local] + for species, (name, density, block) in enumerate(zip(device.ion_species_names, populations, blocks)): + other = 1 - species + flux = ion_face_flux_jacobian( + phi[indices], density, np.diff(device.ion_geometry.nodes_m), getattr(device, name + "_ion_diffusivity_faces_m2_s"), + device.electronic_component.thermal_voltage_V, device.positive_ion_site_limit_m3[:-1], + steric_diffusion_only=True, P_lim_node=device.positive_ion_site_limit_m3, + P_other_node=populations[other], drift_sign=1.0 if species == 0 else -1.0, + ) + if not np.all(flux.differentiable_faces): + raise ValueError("ionic Jacobian is undefined at a retained historical regularization kink") + for face in range(device.ion_node_count - 1): + for orientation, local in ((-1.0, face), (1.0, face + 1)): + row = block.start + local + matrix[row, indices[face]] += orientation * flux.potential_left_derivative[face] + matrix[row, indices[face + 1]] += orientation * flux.potential_right_derivative[face] + for column, column_block in enumerate(blocks): + left = flux.density_left_derivative[face] * mass[face, species, column] + flux.partner_left_derivative[face] * mass[face, other, column] + right = flux.density_right_derivative[face] * mass[face + 1, species, column] + flux.partner_right_derivative[face] * mass[face + 1, other, column] + matrix[row, column_block.start + face] += orientation * left + matrix[row, column_block.start + face + 1] += orientation * right + for column, column_block in enumerate(blocks): + second = hessian[:, species, column, 0] * derivative[blocks[0]] + hessian[:, species, column, 1] * derivative[blocks[1]] + matrix[block, column_block] -= diags(device.ion_geometry.cell_measures_m * second) + result = matrix.tocsc() + if alpha != 0.0: + result = result + alpha * self.storage_jacobian(values) + if not np.all(np.isfinite(result.data)): + raise FloatingPointError("ionic Jacobian is outside the finite numerical envelope") + return result + + def inventory_rate_m2_s(self, y: ArrayLike, ydot: ArrayLike, *, species: str = "positive") -> float: + """Actual d(sum(W_P*P))/dt; blocking face transport has zero net input.""" + if species not in self.device.ion_species_names: + raise ValueError("requested ion species is not assembled in this device") + _, _, _, populations = self.device.fields_by_species(y, voltage_V=self.voltage_V) + index = self.device.ion_species_names.index(species) + if self.device.ion_site_contract == "shared_finite_sites": + derivative = self._derivative(ydot) + mass = self.device.ion_coordinate_jacobian_m3(y, voltage_V=self.voltage_V) + plus, minus = self.device.ion_species_slices + rate = mass[:, index, 0] * derivative[plus] + mass[:, index, 1] * derivative[minus] + return math.fsum((self.device.ion_geometry.cell_measures_m * rate).tolist()) + derivative = self._derivative(ydot)[self.device.ion_species_slices[index]] + return math.fsum((self.device.ion_geometry.cell_measures_m * self._ion_partial(populations[index], species) * derivative).tolist()) diff --git a/src/solarlab/equations/ionic_closure.py b/src/solarlab/equations/ionic_closure.py new file mode 100644 index 00000000..e5833843 --- /dev/null +++ b/src/solarlab/equations/ionic_closure.py @@ -0,0 +1,106 @@ +"""Exact declared-profile closure for zero-diffusivity ion populations. + +Targets come from compiled original P0/P0_neg, never an initial guess. A +positive-D connected species keeps its global inventory; an exactly zero-D +species retains a physical constraint in every domain cell. No original +transport, charge or time-storage equation is changed by these helpers. +""" + +from __future__ import annotations + +import hashlib +import json +import math + +import numpy as np +from scipy.sparse import csc_matrix + +from solarlab.equations.dc_1d import CapabilityError +from solarlab.equations.ionic_1d import CompiledIonicDevice1D, Ionic1DProblem + +__all__ = ["ion_mobility_partition", "declared_immobile_profiles", "immobile_profile_binding", + "ionic_closure_residual", "ionic_closure_jacobian"] + + +def ion_mobility_partition(device: CompiledIonicDevice1D) -> tuple[tuple[str, ...], tuple[str, ...]]: + """Return connected mobile and exactly immobile species; no small-D threshold.""" + mobile, immobile = [], [] + for species in device.ion_species_names: + faces = getattr(device, species + "_ion_diffusivity_faces_m2_s") + if np.all(faces == 0.0): + immobile.append(species) + elif np.all(faces > 0.0): + mobile.append(species) + else: + raise CapabilityError("ionic closure supports uniformly immobile or connected positive-D species; disconnected mixed faces require another scope") + return tuple(mobile), tuple(immobile) + + +def declared_immobile_profiles(device: CompiledIonicDevice1D) -> dict[str, np.ndarray]: + """Original physical reference arrays, preserving their source/background.""" + return {species: getattr(device, species + "_ion_reference_m3") + for species in ion_mobility_partition(device)[1]} + + +def immobile_profile_binding(device: CompiledIonicDevice1D) -> dict[str, object] | None: + """Conditional provenance; positive-D records retain their existing schema.""" + profiles = declared_immobile_profiles(device) + if not profiles: + return None + payload: dict[str, object] = { + "rule": "declared_per_cell_zero_diffusivity_profile_v1", + "compiled_identity": device.identity, + "domain_layer": device.domain_layer_id, + "electrical_node_indices": device.ion_node_indices.tolist(), + "cell_measures_m": device.ion_geometry.cell_measures_m.tolist(), + "species": {species: {"source_parameter": "P0" if species == "positive" else "P0_neg", + "target_density_m3": values.tolist(), + "face_diffusivity_m2_s": getattr(device, species + "_ion_diffusivity_faces_m2_s").tolist(), + "background_policy": "original_compiled_reference_unchanged"} + for species, values in profiles.items()}, + } + encoded = json.dumps(payload, sort_keys=True, separators=(",", ":"), allow_nan=False) + return {**payload, "profile_sha256": hashlib.sha256(encoded.encode()).hexdigest()} + + +def _row_node(problem: Ionic1DProblem, inventory_row_node: int) -> None: + if type(inventory_row_node) is not int or not 0 <= inventory_row_node < problem.device.ion_node_count: + raise ValueError("inventory_row_node must name an actual ion-domain cell") + + +def ionic_closure_residual(problem: Ionic1DProblem, y: np.ndarray, inventory_row_node: int) -> np.ndarray: + """Executable original rows plus mobile/global or immobile/local closure.""" + _row_node(problem, inventory_row_node) + device = problem.device + result = problem.residual(y) + profiles = declared_immobile_profiles(device) + populations = device.fields_by_species(y, voltage_V=problem.voltage_V)[3] + for species, density, block in zip(device.ion_species_names, populations, device.ion_species_slices): + if species in profiles: + result[block] = device.ion_geometry.cell_measures_m * (density - profiles[species]) + else: + reference = getattr(device, species + "_ion_reference_m3") + target = math.fsum((device.ion_geometry.cell_measures_m * reference).tolist()) + result[block.start + inventory_row_node] = math.fsum((device.ion_geometry.cell_measures_m * density).tolist()) - target + return result + + +def ionic_closure_jacobian(problem: Ionic1DProblem, y: np.ndarray, inventory_row_node: int) -> csc_matrix: + """Full analytic physical gradients, including both shared coordinate blocks.""" + _row_node(problem, inventory_row_node) + device = problem.device + matrix = problem.jacobian(y).tolil() + storage = problem.storage_jacobian(y) + profiles = declared_immobile_profiles(device) + for species, block in zip(device.ion_species_names, device.ion_species_slices): + if species in profiles: + for row in range(block.start, block.stop): + gradient = -storage[row, :].toarray()[0] + columns = np.flatnonzero(gradient) + matrix.rows[row], matrix.data[row] = columns.tolist(), gradient[columns].tolist() + else: + row = block.start + inventory_row_node + gradient = -np.asarray(storage[block, :].sum(axis=0)).ravel() + columns = np.flatnonzero(gradient) + matrix.rows[row], matrix.data[row] = columns.tolist(), gradient[columns].tolist() + return matrix.tocsc() diff --git a/src/solarlab/equations/ionic_small_signal.py b/src/solarlab/equations/ionic_small_signal.py new file mode 100644 index 00000000..07af5035 --- /dev/null +++ b/src/solarlab/equations/ionic_small_signal.py @@ -0,0 +1,445 @@ +"""Fixed-reservoir ionic AC operator and full Maxwell-current observation. + +Phasors use exp(+i*omega*t). The fixed physical carrier-reference coordinate +x=du_moving-c*Vhat gives (J+i*omega*K)x=-polarity*e_phi_right*Vhat: +the moving storage drive -K*c*Vdot is counted once and cancels on conversion. +Main admits/revalidates accepted saved DC results; this layer checks the full +bound state and supplies mathematical operators, not an acceptance certificate. +The default solve coordinates are small boundary-lifted moving coordinates; +known voltage terms remain separate through physical density/current evaluation. +""" + +from __future__ import annotations + +from solarlab.reproducibility.job_provenance import admitted_source_pins + +from dataclasses import dataclass, field +import hashlib +import json +import math + +import numpy as np +from numpy.typing import ArrayLike +from scipy.sparse import csc_matrix + +from solarlab.contracts.units import ELEMENTARY_CHARGE_C as Q +from solarlab.equations.dc_1d import CapabilityError, quasi_fermi_potential_tangents +from solarlab.equations.ionic_1d import CompiledIonicDevice1D, Ionic1DProblem, IonicState1D +from solarlab.equations.ionic_closure import declared_immobile_profiles, immobile_profile_binding +from solarlab.physics.ions import ion_face_flux_jacobian + +__all__ = ["IonicACSystem", "IonicSmallSignal1D", "build_ionic_small_signal", "frequency_voltage"] + + +def frequency_voltage(frequency_Hz: float, voltage_phasor_V: complex, ion_mode: str) -> tuple[float, complex]: + frequency, voltage = float(frequency_Hz), complex(voltage_phasor_V) + if not math.isfinite(frequency) or frequency < 0.0: + raise ValueError("frequency must be finite nonnegative Hz") + if not np.isfinite(voltage) or voltage == 0.0: + raise ValueError("voltage phasor must be finite and nonzero; 1 V denotes a derivative") + if ion_mode not in {"mobile", "frozen"}: + raise ValueError("ion_mode must explicitly select mobile or frozen ions") + return frequency, voltage + + + + +@dataclass(frozen=True) +class IonicACSystem: + """One amplitude-bound system for the unchanged complex sparse solver. + + rhs/fixed_coordinates already include voltage_phasor_V. Inventory rows + constrain physical particle number; original mobile rows stay diagnostic. + """ + + frequency_Hz: float + voltage_phasor_V: complex + ion_mode: str + jacobian: csc_matrix + storage_jacobian: csc_matrix + rhs: np.ndarray + rhs_rate: np.ndarray + fixed_coordinates: dict[int, complex] + constraint_rows: dict[str, int] + original_rows_enforced: tuple[int, ...] + coordinate_form: str + coordinate_lift_per_V: np.ndarray + immobile_constraint_rows: dict[str, tuple[int, ...]] = field(default_factory=dict) + + @property + def coordinate_representation(self) -> str: + return self.coordinate_form + + @property + def rhs_per_V(self) -> np.ndarray: + return self.rhs / self.voltage_phasor_V + + @property + def rhs_rate_per_V(self) -> np.ndarray: + return self.rhs_rate / self.voltage_phasor_V + + @property + def fixed_coordinates_per_V(self) -> dict[int, complex]: + return {index: value / self.voltage_phasor_V for index, value in self.fixed_coordinates.items()} + + +@dataclass(frozen=True) +class IonicSmallSignal1D: + """Production linearization about a complete, externally admitted DC state. + + Bound-field consistency is checked here. The experiment driver must first + reject missing/failed DC results and revalidate its original physical gates. + """ + + problem: Ionic1DProblem + operating_state: IonicState1D + coordinate_form: str = "moving_boundary_lift_v1" + jacobian: csc_matrix = field(init=False, repr=False) + storage_jacobian: csc_matrix = field(init=False, repr=False) + reference_direction_per_V: np.ndarray = field(init=False, repr=False) + coordinate_lift_per_V: np.ndarray = field(init=False, repr=False) + source_sha256: dict[str, str] = field(init=False) + working_state_digest: str = field(init=False) + working_state_identity: str = field(init=False) + + def __post_init__(self) -> None: + if not isinstance(self.problem, Ionic1DProblem) or not isinstance(self.operating_state, IonicState1D): + raise ValueError("ionic AC requires a full ionic problem and bound operating state") + if self.coordinate_form not in {"moving_boundary_lift_v1", "fixed_reference_v1"}: + raise ValueError("ionic AC requires an explicit supported coordinate representation") + device, state = self.problem.device, self.operating_state + if state.device_sha256 != device.identity or state.voltage_V != self.problem.voltage_V: + raise ValueError("ionic AC state must have the same complete device and operating voltage") + if any(channel.kind != "fixed_reservoir" for channel in device.electronic_component.channels): + raise CapabilityError("ionic AC currently requires all fixed-reservoir carrier contacts") + manifest = device.binding_manifest + domain, component = manifest.get("ion_domain"), manifest.get("electronic_component") + if (hashlib.sha256(device.binding_manifest_json.encode()).hexdigest() != device.identity + or not isinstance(domain, dict) or domain.get("contacts") != ["blocking", "blocking"] + or not isinstance(component, dict) or component.get("compiled_sha256") != device.electronic_component.identity): + raise ValueError("ionic AC requires the original full binding and one declared blocking domain") + actual = device.state(state.u, voltage_V=state.voltage_V) + for name in ("potential_V", "electron_density_m3", "hole_density_m3"): + if not np.array_equal(getattr(state.electronic_state, name), getattr(actual.electronic_state, name)): + raise ValueError("ionic AC operating fields disagree with their bound coordinates") + if (state.electronic_state.device_sha256 != device.electronic_component.identity + or not np.array_equal(actual.positive_ion_density_m3, state.positive_ion_density_m3) + or not np.array_equal(actual.negative_ion_density_m3, state.negative_ion_density_m3) + or actual.domain_inventories_m2 != state.domain_inventories_m2): + raise ValueError("ionic AC requires complete consistent species fields/inventories") + object.__setattr__(self, "jacobian", self.problem.jacobian(state.u)) + object.__setattr__(self, "storage_jacobian", self.problem.storage_jacobian(state.u)) + count = device.node_count + direction = np.zeros(device.state_size) + before, after = device.electronic_component.carrier_reference_energies(0.0), device.electronic_component.carrier_reference_energies(1.0) + for offset, zero, one in zip((count, 2 * count), before, after): + direction[offset:offset + count] = -(one - zero) / device.electronic_component.thermal_voltage_V + direction.setflags(write=False) + object.__setattr__(self, "reference_direction_per_V", direction) + lift = np.zeros(device.state_size) + lift[count - 1] = -device.electronic_component.voltage_polarity + for offset in (count, 2 * count): + for node in (0, count - 1): + lift[offset + node] = -lift[node] / device.electronic_component.thermal_voltage_V + direction[offset + node] + lift.setflags(write=False) + object.__setattr__(self, "coordinate_lift_per_V", lift) + digest = hashlib.sha256(np.asarray(state.u, dtype=np.float64).tobytes()).hexdigest() + object.__setattr__(self, "working_state_digest", digest) + object.__setattr__(self, "working_state_identity", hashlib.sha256(json.dumps(( + device.identity, float(state.voltage_V).hex(), float(self.problem.generation_scale).hex(), digest, + )).encode()).hexdigest()) + object.__setattr__(self, "source_sha256", admitted_source_pins()) + + @property + def device(self) -> CompiledIonicDevice1D: + return self.problem.device + + @property + def coordinate_representation(self) -> str: + return self.coordinate_form + + def system(self, frequency_Hz: float, *, voltage_phasor_V: complex = 1.0, ion_response: str = "mobile", ion_mode: str | None = None) -> IonicACSystem: + ion_mode = ion_response if ion_mode is None else ion_mode + frequency, voltage = frequency_voltage(frequency_Hz, voltage_phasor_V, ion_mode) + device, N = self.device, self.device.node_count + J, K = self.jacobian.copy().tolil(), self.storage_jacobian.copy().tolil() + rhs: np.ndarray = np.zeros(device.state_size, dtype=complex) + rhs[N - 1] = -device.electronic_component.voltage_polarity * voltage + phi_right = complex(rhs[N - 1]) + known = {0: 0.0j, N - 1: phi_right} + for offset in (N, 2 * N): + known[offset] = 0.0j + known[offset + N - 1] = -phi_right / device.electronic_component.thermal_voltage_V + rhs_rate = np.zeros_like(rhs) + if self.coordinate_form == "moving_boundary_lift_v1": + partial, drive = self.moving_voltage_partial(self.coordinate_lift_per_V) + rhs = -partial * voltage + rhs_rate = drive * voltage + known = {index: 0.0j for index in known} + rows: dict[str, int] = {} + profile_rows: dict[str, tuple[int, ...]] = {} + profiles = declared_immobile_profiles(device) + enforced: np.ndarray = np.ones(device.state_size, dtype=bool) + if ion_mode == "frozen": + for index in range(3 * N, device.state_size): + J.rows[index], J.data[index] = [index], [1.0] + K.rows[index], K.data[index] = [], [] + known[index] = 0.0j + rhs[index] = rhs_rate[index] = 0.0j + enforced[3 * N:] = False + elif frequency == 0.0: + for species, block in zip(device.ion_species_names, device.ion_species_slices): + if species in profiles: + local_rows = tuple(range(block.start, block.stop)) + for row in local_rows: + gradient = -self.storage_jacobian[row, :].toarray()[0] + nonzero = np.flatnonzero(gradient) + J.rows[row], J.data[row] = nonzero.tolist(), gradient[nonzero].tolist() + K.rows[row], K.data[row] = [], [] + rhs[row] = rhs_rate[row] = 0.0j + profile_rows[species] = local_rows + continue + if np.any(getattr(device, species + "_ion_diffusivity_faces_m2_s") <= 0.0): + raise CapabilityError("zero-Hz mobile ions require one connected positive-D domain per species") + row = block.start + gradient = -np.asarray(self.storage_jacobian[block, :].sum(axis=0)).ravel() + nonzero = np.flatnonzero(gradient) + J.rows[row], J.data[row] = nonzero.tolist(), gradient[nonzero].tolist() + K.rows[row], K.data[row] = [], [] + rhs[row] = rhs_rate[row] = 0.0j + rows[species] = row + return IonicACSystem(frequency, voltage, ion_mode, J.tocsc(), K.tocsc(), rhs, + rhs_rate, known, rows, tuple(int(index) for index in np.flatnonzero(enforced)), + self.coordinate_form, self.coordinate_lift_per_V, profile_rows) + + def original_residual(self, fixed_perturbation: ArrayLike, frequency_Hz: float, *, voltage_phasor_V: complex = 1.0) -> np.ndarray: + frequency, voltage = frequency_voltage(frequency_Hz, voltage_phasor_V, "mobile") + x = np.asarray(fixed_perturbation, dtype=complex) + if x.shape != (self.device.state_size,) or not np.all(np.isfinite(x)): + raise ValueError("ionic AC perturbation must be finite and complete") + rhs = np.zeros_like(x) + rhs[self.device.node_count - 1] = -self.device.electronic_component.voltage_polarity * voltage + return (self.jacobian + 2j * math.pi * frequency * self.storage_jacobian) @ x - rhs + + def _carrier_particles(self, x: np.ndarray, reference_drive: complex = 0.0) -> tuple[np.ndarray, np.ndarray]: + """Production quasi-Fermi tangent, grouping exact flux homogeneity modes.""" + component, N = self.device.electronic_component, self.device.node_count + u = self.operating_state.u[:3 * N] + fluxes = self.problem.electronic_problem.fluxes(u) + transport = None if component.field_transport is None else component.field_transport.evaluate(u[:N]) + state = self.operating_state.electronic_state + before, after = component.carrier_reference_energies(0.0), component.carrier_reference_energies(1.0) + values = [] + for offset, density, flux, sign, reference in ((N, state.electron_density_m3, fluxes.electron, 1.0, after[0] - before[0]), + (2 * N, state.hole_density_m3, fluxes.hole, -1.0, after[1] - before[1])): + drive = sign * np.diff(u[offset:offset + N]) + left_phi, _ = quasi_fermi_potential_tangents(flux, drive, sign, component.thermal_voltage_V) + if transport is not None: + diffusivity = (transport.electron_diffusivity_m2_s if offset == N + else transport.hole_diffusivity_m2_s) + d_diffusivity = (transport.electron_d_diffusivity_d_field if offset == N + else transport.hole_d_diffusivity_d_field) + # Same antisymmetric CT chain as production Fy. A moving + # carrier energy reference alone has no electric-field drive. + left_phi = left_phi + (flux.flux / diffusivity) * d_diffusivity / np.diff(component.nodes_m) + left_z = sign * flux.left_density_derivative * density[:-1] + values.append(left_phi * (x[:N - 1] - x[1:N]) + + left_z * (x[offset:offset + N - 1] - x[offset + 1:offset + N]) + + sign * flux.flux * (x[offset + 1:offset + N] + (x[1:N] + reference * reference_drive) / component.thermal_voltage_V)) + return values[0], values[1] + + def moving_voltage_partial(self, direction: np.ndarray | None = None) -> tuple[np.ndarray, np.ndarray]: + """Grouped actual F_V+J*direction and K*(c-direction), before cancellation. + + Only the declared zero ion-reference/ion-lift path is used. The potential + lift's ionic endpoint force remains through the production Jion*lift. + """ + device, N = self.device, self.device.node_count + component, state = device.electronic_component, self.operating_state.electronic_state + moving = np.zeros(device.state_size) if direction is None else np.asarray(direction) + if np.any(moving[3 * N:] != 0.0): + raise ValueError("this AC voltage lift cannot change ion coordinates") + before, after = component.carrier_reference_energies(0.0), component.carrier_reference_energies(1.0) + references = (after[0] - before[0], after[1] - before[1]) + dn = state.electron_density_m3 * ((moving[:N] + references[0]) / component.thermal_voltage_V + moving[N:2 * N]) + dp = -state.hole_density_m3 * ((moving[:N] + references[1]) / component.thermal_voltage_V + moving[2 * N:3 * N]) + rate = self.problem.electronic_problem.recombination_rate(state.electron_density_m3, state.hole_density_m3) + assert rate.d_rate_dn is not None and rate.d_rate_dp is not None + source = -(rate.d_rate_dn * dn + rate.d_rate_dp * dp) + fn, fp = self._carrier_particles(moving, 1.0) + result: np.ndarray = np.zeros(device.state_size) + storage_drive: np.ndarray = np.zeros(device.state_size) + result[:N] = component.poisson.jacobian() @ moving[:N] + component.poisson.charge_jacobian() * Q * (dp - dn) + result[N - 1] += component.voltage_polarity + for offset, population, flux, sign, reference in ((N, state.electron_density_m3, fn, 1.0, references[0]), + (2 * N, state.hole_density_m3, fp, -1.0, references[1])): + rows = -np.diff(np.r_[0.0, flux, 0.0]) + component.geometry.cell_measures_m * source + for node in (0, N - 1): + rows[node] = sign * ((moving[node] + reference) / component.thermal_voltage_V + moving[offset + node]) + result[offset:offset + N] = rows + storage_drive[offset:offset + N] = component.geometry.cell_measures_m * sign * population * ( + (moving[:N] + reference) / component.thermal_voltage_V + moving[offset:offset + N] + ) + storage_drive[offset] = storage_drive[offset + N - 1] = 0.0 + result[3 * N:] = self.jacobian[3 * N:, :N] @ moving[:N] + return result, storage_drive + + def observe(self, fixed_perturbation: ArrayLike | IonicACSystem, frequency_Hz: float | ArrayLike, *, voltage_phasor_V: complex = 1.0, ion_mode: str = "mobile", coordinate_form: str | None = None) -> dict[str, object]: + if isinstance(fixed_perturbation, IonicACSystem): + descriptor = fixed_perturbation + fixed_perturbation, frequency_Hz, ion_mode = frequency_Hz, descriptor.frequency_Hz, descriptor.ion_mode + coordinate_form = descriptor.coordinate_form + frequency, voltage = frequency_voltage(frequency_Hz, voltage_phasor_V, ion_mode) + device, N = self.device, self.device.node_count + x = np.asarray(fixed_perturbation, dtype=complex) + form = self.coordinate_form if coordinate_form is None else coordinate_form + if form not in {"moving_boundary_lift_v1", "fixed_reference_v1"}: + raise ValueError("unknown AC perturbation coordinate representation") + if x.shape != (device.state_size,) or not np.all(np.isfinite(x)): + raise ValueError("ionic AC perturbation must be finite and complete") + solve_coordinates = x.copy() + moving_x = x + self.reference_direction_per_V * voltage + if form == "moving_boundary_lift_v1": + moving_x = x + self.coordinate_lift_per_V * voltage + fixed_x = x + (self.coordinate_lift_per_V - self.reference_direction_per_V) * voltage + else: + fixed_x = x + fixed_residual = self.original_residual(fixed_x, frequency, voltage_phasor_V=voltage) + if ion_mode == "frozen" and np.any(x[3 * N:] != 0.0): + raise ValueError("frozen-ion response requires every ionic coordinate perturbation to be zero") + omega = 2.0 * math.pi * frequency + component, state = device.electronic_component, self.operating_state + phi = fixed_x[:N] + n, p = state.electronic_state.electron_density_m3, state.electronic_state.hole_density_m3 + dn = n * (phi / component.thermal_voltage_V + x[N:2 * N]) + dp = -p * (phi / component.thermal_voltage_V + x[2 * N:3 * N]) + if form == "moving_boundary_lift_v1": + before, after = component.carrier_reference_energies(0.0), component.carrier_reference_energies(1.0) + lift = self.coordinate_lift_per_V + dn = n * (x[:N] / component.thermal_voltage_V + x[N:2 * N]) + n * ((lift[:N] + after[0] - before[0]) / component.thermal_voltage_V + lift[N:2 * N]) * voltage + dp = -p * (x[:N] / component.thermal_voltage_V + x[2 * N:3 * N]) - p * ((lift[:N] + after[1] - before[1]) / component.thermal_voltage_V + lift[2 * N:3 * N]) * voltage + mass = device.ion_coordinate_jacobian_m3(state.u, voltage_V=state.voltage_V) + coordinates = np.stack([x[block] for block in device.ion_species_slices], axis=1) + densities = np.sum(mass * coordinates[:, None, :], axis=2).T + fn, fp = self._carrier_particles(x) + if form == "moving_boundary_lift_v1": + known_n, known_p = self._carrier_particles(self.coordinate_lift_per_V, 1.0) + fn, fp = fn + known_n * voltage, fp + known_p * voltage + rate = self.problem.electronic_problem.recombination_rate(n, p) + assert rate.d_rate_dn is not None and rate.d_rate_dp is not None + pair = -component.geometry.cell_measures_m * (rate.d_rate_dn * dn + rate.d_rate_dp * dp) + carrier: np.ndarray = np.empty((2, N + 1), dtype=complex) + for index, (flux, density) in enumerate(((fn, dn), (fp, dp))): + carrier[index, 1:-1] = flux + carrier[index, 0] = flux[0] - pair[0] + 1j * omega * component.geometry.cell_measures_m[0] * density[0] + carrier[index, -1] = flux[-1] + pair[-1] - 1j * omega * component.geometry.cell_measures_m[-1] * density[-1] + carrier_balance = -np.diff(carrier, axis=1) + pair - 1j * omega * component.geometry.cell_measures_m * np.stack((dn, dp)) + populations = (state.positive_ion_density_m3,) if device.ion_species_count == 1 else (state.positive_ion_density_m3, state.negative_ion_density_m3) + ion_particles, ion_balance, base_profiles, ion_inventory = {}, {}, {}, {} + charge = Q * component.geometry.cell_measures_m * (dp - dn) + charge_balance = Q * (carrier_balance[1] - carrier_balance[0]) + conduction = Q * (carrier[1] - carrier[0]) + ionic_conduction: np.ndarray = np.zeros(N + 1, dtype=complex) + base_ion_charge = np.zeros(N) + for index, (species, density, block) in enumerate(zip(device.ion_species_names, populations, device.ion_species_slices)): + sign = 1.0 if index == 0 else -1.0 + tangent = ion_face_flux_jacobian( + state.electronic_state.potential_V[device.ion_node_indices], density, np.diff(device.ion_geometry.nodes_m), + getattr(device, species + "_ion_diffusivity_faces_m2_s"), component.thermal_voltage_V, + getattr(device, species + "_ion_site_limit_m3")[:-1], + steric_diffusion_only=device.steric_model == "historical_diffusion_only_steric_v1", + P_lim_node=getattr(device, species + "_ion_site_limit_m3"), + P_other_node=populations[1 - index] if device.ion_site_contract == "shared_finite_sites" else None, + drift_sign=sign, + ) + if not np.all(tangent.differentiable_faces): + raise ValueError("ionic AC tangent is undefined at a retained constitutive kink") + perturbation = densities[index] + other = densities[1 - index] if device.ion_species_count == 2 else np.zeros_like(perturbation) + interior = (tangent.potential_left_derivative * phi[device.ion_node_indices[:-1]] + + tangent.potential_right_derivative * phi[device.ion_node_indices[1:]] + + tangent.density_left_derivative * perturbation[:-1] + tangent.density_right_derivative * perturbation[1:] + + tangent.partner_left_derivative * other[:-1] + tangent.partner_right_derivative * other[1:]) + if ion_mode == "frozen": + interior = np.zeros_like(interior) + full: np.ndarray = np.zeros(N + 1, dtype=complex) + full[device.ion_node_indices[:-1] + 1] = interior + balance = -np.diff(np.r_[0.0j, interior, 0.0j]) - 1j * omega * device.ion_geometry.cell_measures_m * perturbation + ion_particles[species], ion_balance[species], base_profiles[species] = full, balance, density + ion_inventory[species] = complex(np.sum(device.ion_geometry.cell_measures_m * perturbation)) + charge[device.ion_node_indices] += sign * Q * device.ion_geometry.cell_measures_m * perturbation + charge_balance[device.ion_node_indices] += sign * Q * balance + conduction += sign * Q * full + ionic_conduction += sign * Q * full + reference = getattr(device, species + "_ion_reference_m3") + base_ion_charge += sign * Q * (device.project_ion_density(density) - device.project_ion_density(reference)) + internal_D = -component.poisson.face_capacitance_F_m2 * np.diff(phi) + D = np.r_[internal_D[0] - charge[0], internal_D, internal_D[-1] + charge[-1]] + displacement = 1j * omega * D + total = conduction + displacement + gauss = D[:-1] - D[1:] + charge + identity = total[:-1] - total[1:] - charge_balance - 1j * omega * gauss + enforced: np.ndarray = np.ones(device.state_size, dtype=bool) + if ion_mode == "frozen": + enforced[3 * N:] = False + matrix = self.jacobian + 1j * omega * self.storage_jacobian + rhs: np.ndarray = np.zeros(device.state_size, dtype=complex) + rhs[N - 1] = -component.voltage_polarity * voltage + denominator = abs(matrix) @ abs(fixed_x) + abs(rhs) + fixed_errors = np.divide(abs(fixed_residual), denominator, out=np.zeros_like(denominator), where=denominator != 0.0) + original_partial, _drive = self.moving_voltage_partial() + moving_rhs = -original_partial * voltage + 1j * omega * (self.storage_jacobian @ self.reference_direction_per_V) * voltage + residual = matrix @ moving_x - moving_rhs + moving_denominator = abs(matrix) @ abs(moving_x) + abs(moving_rhs) + moving_errors = np.divide(abs(residual), moving_denominator, out=np.zeros_like(moving_denominator), where=moving_denominator != 0.0) + errors = np.maximum(fixed_errors, moving_errors) + positive_electrode = 0 if component.voltage_polarity > 0.0 else -1 + input_current = component.voltage_polarity * total[positive_electrode] + bound = (Q * (float(np.sum(abs(carrier_balance))) + sum(float(np.sum(abs(v))) for v in ion_balance.values())) + + omega * float(np.sum(abs(gauss)))) / abs(voltage) + result: dict[str, object] = { + "frequency_Hz": frequency, "voltage_phasor_V": voltage, "ion_mode": ion_mode, + "coordinate_form": form, "coordinate_representation": form, "solve_coordinate_perturbation": solve_coordinates, + "coordinate_lift_per_V": self.coordinate_lift_per_V, + "fixed_coordinate_perturbation": fixed_x, "moving_coordinate_perturbation": moving_x, + "reference_direction_per_V": self.reference_direction_per_V, + "potential_perturbation_V": phi, "electric_field_perturbation_V_m": -np.diff(phi) / np.diff(component.nodes_m), + "electron_density_perturbation_m3": dn, "hole_density_perturbation_m3": dp, + "ion_density_perturbation_m3": dict(zip(device.ion_species_names, densities)), + "ion_inventory_perturbation_m2": ion_inventory, "carrier_particle_fluxes_m2_s": carrier, + "ion_particle_fluxes_m2_s": ion_particles, "carrier_balance_m2_s": carrier_balance, + "ion_balance_m2_s": ion_balance, "charge_inventory_perturbation_C_m2": charge, + "conduction_current_density_A_m2": conduction, "displacement_current_density_A_m2": displacement, + "ionic_conduction_current_density_A_m2": ionic_conduction, + "total_current_density_A_m2": total, "terminal_current_density_A_m2": total[[0, -1]], + "terminal_conduction_current_density_A_m2": conduction[[0, -1]], + "terminal_displacement_current_density_A_m2": displacement[[0, -1]], + "input_current_density_A_m2": input_current, "admittance_density_S_m2": input_current / voltage, + "maxwell_spread_A_m2_V": float(np.max(abs(total - total[0]))) / abs(voltage), + "current_scale_A_m2_V": float(np.max(abs(total))) / abs(voltage), + "residual_balance_bound_A_m2_V": bound, "gauss_defect_C_m2": gauss, + "maxwell_identity_error_A_m2": identity, "original_residual": residual, + "original_fixed_residual": fixed_residual, + "original_rows_enforced": tuple(int(index) for index in np.flatnonzero(enforced)), "original_componentwise_backward_error": float(np.max(errors[enforced])), + "original_ion_force_residual": {name: residual[block] for name, block in zip(device.ion_species_names, device.ion_species_slices)}, + "base_ion_density_m3": base_profiles, "base_ion_charge_density_C_m3": base_ion_charge, + "compiled_identity": device.identity, "working_state_digest": self.working_state_digest, + "working_state_identity": self.working_state_identity, "source_sha256": dict(self.source_sha256), + "physical_certificate_status": "not_evaluated", + } + profiles = declared_immobile_profiles(device) + if profiles: + result["immobile_profile_binding"] = immobile_profile_binding(device) + result["immobile_density_perturbation_relative_per_V"] = { + species: float(np.max(abs(densities[device.ion_species_names.index(species)]) / target)) / abs(voltage) + for species, target in profiles.items()} + result["immobile_base_profile_relative_error"] = { + species: float(np.max(abs(populations[device.ion_species_names.index(species)] - target) / target)) + for species, target in profiles.items()} + return result + + +def build_ionic_small_signal(compiled: CompiledIonicDevice1D, state: IonicState1D, *, generation_scale: float = 0.0, coordinate_form: str = "moving_boundary_lift_v1") -> IonicSmallSignal1D: + if not isinstance(compiled, CompiledIonicDevice1D) or not isinstance(state, IonicState1D): + raise ValueError("a complete compiled ionic device and bound operating state are required") + return IonicSmallSignal1D(Ionic1DProblem(compiled, state.voltage_V, generation_scale), state, coordinate_form) diff --git a/src/solarlab/equations/multiple_ionic_1d.py b/src/solarlab/equations/multiple_ionic_1d.py new file mode 100644 index 00000000..b915a3db --- /dev/null +++ b/src/solarlab/equations/multiple_ionic_1d.py @@ -0,0 +1,387 @@ +"""Two explicitly separated blocking ion domains on one electronic mesh. + +Each domain retains the integrated finite-site map, constitutive law and +physical storage. This is an assembly binding, without a steady/time driver. +""" + +from __future__ import annotations + +from dataclasses import dataclass +import hashlib +import json +import math +from numbers import Real +from typing import Any, cast + +import numpy as np +from numpy.typing import ArrayLike +from scipy.sparse import block_diag, bmat, csc_matrix + +from solarlab.contracts import frozen_array +from solarlab.contracts.units import ELEMENTARY_CHARGE_C as Q +from solarlab.equations.dc_1d import CompiledDevice1D, DC1DProblem, State1D, Vector +from solarlab.equations.ionic_1d import CompiledIonicDevice1D, Ionic1DProblem, IonicState1D +from solarlab.physics.electrostatics.charge import ChargeEntry, ChargeLedger + +__all__ = ["CompiledMultipleIonicDevice1D", "MultipleIonic1DProblem", "MultipleIonicState1D"] + + +def _finite_scalar(value: float, name: str, *, nonnegative: bool = False) -> float: + if isinstance(value, (bool, np.bool_)) or not isinstance(value, Real) or not math.isfinite(value): + raise ValueError(f"{name} must be a finite real scalar") + result = float(value) + if nonnegative and result < 0.0: + raise ValueError(f"{name} must be nonnegative") + return result + + +@dataclass(frozen=True) +class MultipleIonicState1D: + """Full physical trial coordinates and both identified component states.""" + + u: Vector + electronic_state: State1D + domain_ids: tuple[str, ...] + domain_component_states: tuple[IonicState1D, ...] + device_sha256: str + + def __post_init__(self) -> None: + object.__setattr__(self, "u", frozen_array(self.u)) + object.__setattr__(self, "domain_ids", tuple(self.domain_ids)) + object.__setattr__(self, "domain_component_states", tuple(self.domain_component_states)) + if (not isinstance(self.electronic_state, State1D) + or not all(isinstance(state, IonicState1D) for state in self.domain_component_states) + or len(self.domain_ids) != 2 or len(set(self.domain_ids)) != 2 + or not all(isinstance(name, str) and name for name in self.domain_ids) + or len(self.domain_component_states) != 2): + raise ValueError("the state requires exactly two distinct ordered domains") + electronic_size = self.electronic_state.u.size + expected = np.r_[self.electronic_state.u, *[state.u[electronic_size:] for state in self.domain_component_states]] + if not isinstance(self.device_sha256, str) or not self.device_sha256 or not np.array_equal(self.u, expected): + raise ValueError("multiple-domain state shape/coordinates must bind every component") + for state in self.domain_component_states: + if (state.voltage_V != self.voltage_V + or state.electronic_state.device_sha256 != self.electronic_state.device_sha256 + or not np.array_equal(state.electronic_state.u, self.electronic_state.u)): + raise ValueError("all ionic domains must share the same electronic state and voltage") + + @property + def voltage_V(self) -> float: + return self.electronic_state.voltage_V + + @property + def domain_inventories_m2(self) -> dict[str, dict[str, float]]: + return {name: state.domain_inventories_m2 + for name, state in zip(self.domain_ids, self.domain_component_states)} + + +@dataclass(frozen=True) +class CompiledMultipleIonicDevice1D: + """Source-bound composition of two local ionic components, never ion-free.""" + + device_id: str + sha256: str + original_prepared_sha256: str + electronic_component: CompiledDevice1D + domains: tuple[CompiledIonicDevice1D, ...] + binding_manifest_json: str + + def __post_init__(self) -> None: + object.__setattr__(self, "domains", tuple(self.domains)) + if any(not isinstance(value, str) or not value for value in ( + self.device_id, self.sha256, self.original_prepared_sha256, self.binding_manifest_json + )): + raise ValueError("multiple-domain device and source identities must be nonempty strings") + if (not isinstance(self.electronic_component, CompiledDevice1D) + or not all(isinstance(domain, CompiledIonicDevice1D) for domain in self.domains) + or len(self.domains) != 2 or len(set(self.domain_ids)) != 2): + raise ValueError("exactly two distinct blocking ion domains are required") + if self.domains[0].ion_node_indices[-1] >= self.domains[1].ion_node_indices[0]: + raise ValueError("domains must be ordered and separated by an inactive electrical region") + for domain in self.domains: + if domain.electronic_component is not self.electronic_component: + raise ValueError("both domains must use the same actual compiled electronic component") + manifest = self.binding_manifest + encoded = json.dumps(manifest, sort_keys=True, separators=(",", ":"), allow_nan=False) + if (self.sha256 != hashlib.sha256(encoded.encode()).hexdigest() + or manifest.get("original_prepared_sha256") != self.original_prepared_sha256 + or manifest.get("electronic_component_sha256") != self.electronic_component.identity + or manifest.get("state_size") != self.state_size): + raise ValueError("multiple-domain source, component or state identity is inconsistent") + declarations = manifest.get("original_ionic_inputs") + records = manifest.get("domains") + if not isinstance(declarations, list) or not isinstance(records, list) or len(records) != 2: + raise ValueError("all original ion declarations and both domain records are required") + for domain, record in zip(self.domains, records): + if not isinstance(record, dict): + raise ValueError("invalid domain binding record") + if (record.get("layer") != domain.domain_layer_id + or record.get("endpoints") != ["blocking", "blocking"] + or record.get("component_sha256") != domain.identity + or record.get("component_manifest") != domain.binding_manifest + or record.get("reference_inventories_m2") != self.reference_inventories_m2[domain.domain_layer_id]): + raise ValueError("domain identities, endpoints or inventories differ from their binding") + original = [entry for entry in declarations if isinstance(entry, dict) + and entry.get("layer") == domain.domain_layer_id] + local = [entry for entry in cast(list[dict[str, Any]], domain.binding_manifest["original_ionic_inputs"]) + if entry["layer"] == domain.domain_layer_id] + if len(original) != 1 or original != local: + raise ValueError("an isolated domain must preserve all its original ionic parameters") + for entry in declarations: + if not isinstance(entry, dict): + raise ValueError("invalid original ionic declaration") + if entry.get("layer") not in self.domain_ids and any( + entry.get(name) != 0.0 for name in ("P0", "P0_neg", "D_ion", "D_ion_neg") + ): + raise ValueError("undeclared ionic populations or mobility cannot be stripped") + expected_layout = [{"domain": name, "species": species, "start": block.start, "stop": block.stop, + "coordinate": "original_finite_site_coordinate"} + for name, species_blocks in self.ion_species_slices.items() + for species, block in species_blocks.items()] + if manifest.get("ionic_state_blocks") != expected_layout: + raise ValueError("every ordered domain/species state block must match the actual coordinates") + if any(domain.binding_manifest.get("original_ionic_settings") != manifest.get("original_ionic_settings") + for domain in self.domains): + raise ValueError("each domain must preserve the original global ionic constitutive flags") + + @property + def identity(self) -> str: + return self.sha256 + + @property + def binding_manifest(self) -> dict[str, Any]: + result = json.loads(self.binding_manifest_json) + if not isinstance(result, dict): + raise ValueError("multiple-domain manifest must be an object") + return result + + @property + def node_count(self) -> int: + return self.electronic_component.node_count + + @property + def nodes_m(self) -> Vector: + return self.electronic_component.nodes_m + + @property + def domain_ids(self) -> tuple[str, ...]: + return tuple(domain.domain_layer_id for domain in self.domains) + + @property + def state_size(self) -> int: + return 3 * self.node_count + sum(domain.state_size - 3 * self.node_count for domain in self.domains) + + @property + def domain_slices(self) -> dict[str, slice]: + offset = 3 * self.node_count + result: dict[str, slice] = {} + for domain in self.domains: + size = domain.state_size - 3 * self.node_count + result[domain.domain_layer_id] = slice(offset, offset + size) + offset += size + return result + + @property + def ion_species_slices(self) -> dict[str, dict[str, slice]]: + start = 3 * self.node_count + result: dict[str, dict[str, slice]] = {} + for domain in self.domains: + result[domain.domain_layer_id] = {} + for species in domain.ion_species_names: + result[domain.domain_layer_id][species] = slice(start, start + domain.ion_node_count) + start += domain.ion_node_count + return result + + @property + def reference_inventories_m2(self) -> dict[str, dict[str, float]]: + return {domain.domain_layer_id: { + species: math.fsum((domain.ion_geometry.cell_measures_m * getattr(domain, species + "_ion_reference_m3")).tolist()) + for species in domain.ion_species_names} for domain in self.domains} + + def values(self, y: ArrayLike) -> Vector: + """Validate complete coordinates or rates and return a real vector.""" + if np.asarray(y).dtype.kind not in {"i", "u", "f"}: + raise ValueError("multiple-domain coordinates and rates must be real numeric arrays") + values = np.asarray(y, dtype=float) + if values.shape != (self.state_size,) or not np.all(np.isfinite(values)): + raise ValueError("coordinates must contain 3N and all species of both ionic domains") + return values + + def _values(self, y: ArrayLike) -> Vector: + """Delegate for the pending multiple-ion backward-Euler migration.""" + return self.values(y) + + def local_coordinates(self, y: ArrayLike, domain_id: str) -> Vector: + values = self.values(y) + if domain_id not in self.domain_ids: + raise ValueError("requested ion domain is not assembled") + return np.r_[values[:3 * self.node_count], values[self.domain_slices[domain_id]]] + + def fields_by_domain(self, y: ArrayLike, *, voltage_V: float = 0.0) -> tuple[Vector, Vector, Vector, dict[str, tuple[Vector, ...]]]: + voltage_V = _finite_scalar(voltage_V, "voltage_V") + values = self.values(y) + phi, n, p = self.electronic_component.fields(values[:3 * self.node_count], voltage_V=voltage_V) + populations = {domain.domain_layer_id: domain.fields_by_species( + self.local_coordinates(values, domain.domain_layer_id), voltage_V=voltage_V)[3] + for domain in self.domains} + return phi, n, p, populations + + def state(self, y: ArrayLike, *, voltage_V: float = 0.0) -> MultipleIonicState1D: + voltage_V = _finite_scalar(voltage_V, "voltage_V") + values = self.values(y) + component = self.electronic_component.state(values[:3 * self.node_count], voltage_V=voltage_V) + local = tuple(domain.state(self.local_coordinates(values, domain.domain_layer_id), voltage_V=voltage_V) + for domain in self.domains) + return MultipleIonicState1D(values, component, self.domain_ids, local, self.identity) + + def validate_state(self, state: MultipleIonicState1D) -> None: + """Verify identity, shape and readback of a trial; no physical acceptance.""" + if (not isinstance(state, MultipleIonicState1D) or state.device_sha256 != self.identity + or state.domain_ids != self.domain_ids): + raise ValueError("state must bind this complete multiple-domain device and ordered domains") + expected = self.state(state.u, voltage_V=state.voltage_V) + for actual, required in zip(state.domain_component_states, expected.domain_component_states): + if (actual.device_sha256 != required.device_sha256 + or actual.domain_inventories_m2 != required.domain_inventories_m2 + or any(not np.array_equal(getattr(actual, name), getattr(required, name)) + for name in ("u", "positive_ion_density_m3", "negative_ion_density_m3"))): + raise ValueError("ionic component identities, coordinates or physical inventories disagree") + for electronic_actual in (state.electronic_state, *[value.electronic_state for value in state.domain_component_states]): + if (electronic_actual.device_sha256 != expected.electronic_state.device_sha256 + or any(not np.array_equal(getattr(electronic_actual, name), getattr(expected.electronic_state, name)) + for name in ("u", "potential_V", "electron_density_m3", "hole_density_m3"))): + raise ValueError("electronic component identity or physical fields disagree") + + def initial_state(self, *, voltage_V: float = 0.0) -> MultipleIonicState1D: + voltage_V = _finite_scalar(voltage_V, "voltage_V") + electronic = self.domains[0].initial_state(voltage_V=voltage_V).u[:3 * self.node_count] + return self.state(np.r_[electronic, np.zeros(self.state_size - electronic.size)], voltage_V=voltage_V) + + def charge_ledger(self, n: Vector, p: Vector, populations: dict[str, tuple[Vector, ...]]) -> ChargeLedger: + if set(populations) != set(self.domain_ids): + raise ValueError("charge requires every declared ionic domain") + electronic = self.electronic_component.charge_ledger(n, p) + positive: list[ChargeEntry] = [] + negative: list[ChargeEntry] = [] + for domain in self.domains: + values = populations[domain.domain_layer_id] + if len(values) != domain.ion_species_count: + raise ValueError("charge requires every species of every domain") + for index, species in enumerate(domain.ion_species_names): + entry = ChargeEntry(species + "_ion." + domain.domain_layer_id, "ion_charge_projection", + 1 if species == "positive" else -1, domain.project_ion_density(values[index]), + domain.project_ion_density(getattr(domain, species + "_ion_reference_m3")), + group="space_charge" if species == "positive" else "negative_ion_space_charge") + (positive if species == "positive" else negative).append(entry) + return ChargeLedger(self.node_count, electronic.interface_count, + electronic.entries[:2] + tuple(positive) + electronic.entries[2:] + tuple(negative), electronic.sheets) + + +@dataclass(frozen=True) +class MultipleIonic1DProblem: + """Original electronic rows and every local closed-domain balance.""" + + device: CompiledMultipleIonicDevice1D + voltage_V: float = 0.0 + generation_scale: float = 0.0 + + def __post_init__(self) -> None: + if not isinstance(self.device, CompiledMultipleIonicDevice1D): + raise TypeError("a full source-bound multiple-domain device is required") + object.__setattr__(self, "voltage_V", _finite_scalar(self.voltage_V, "voltage_V")) + object.__setattr__(self, "generation_scale", _finite_scalar(self.generation_scale, "generation_scale", nonnegative=True)) + DC1DProblem(self.device.electronic_component, self.voltage_V, self.generation_scale) + + @property + def electronic_problem(self) -> DC1DProblem: + return DC1DProblem(self.device.electronic_component, self.voltage_V, self.generation_scale) + + def _derivative(self, ydot: ArrayLike | None) -> Vector: + return np.zeros(self.device.state_size) if ydot is None else self.device.values(ydot) + + def ion_fluxes(self, y: ArrayLike, *, domain_id: str, species: str = "positive") -> Vector: + if domain_id not in self.device.domain_ids: + raise ValueError("requested ion domain is not assembled") + domain = self.device.domains[self.device.domain_ids.index(domain_id)] + return Ionic1DProblem(domain, self.voltage_V, self.generation_scale).ion_fluxes( + self.device.local_coordinates(y, domain_id), species=species) + + def ion_fluxes_on_electronic_faces(self, y: ArrayLike, *, domain_id: str, species: str = "positive") -> Vector: + flux = self.ion_fluxes(y, domain_id=domain_id, species=species) + domain = self.device.domains[self.device.domain_ids.index(domain_id)] + result = np.zeros(self.device.node_count - 1) + result[domain.ion_node_indices[:-1]] = flux + return result + + def ion_current_density_A_m2(self, y: ArrayLike) -> Vector: + result = np.zeros(self.device.node_count - 1) + for domain in self.device.domains: + for species in domain.ion_species_names: + result += (Q if species == "positive" else -Q) * self.ion_fluxes_on_electronic_faces( + y, domain_id=domain.domain_layer_id, species=species) + return result + + def residual(self, y: ArrayLike, ydot: ArrayLike | None = None) -> Vector: + device, count = self.device, self.device.node_count + values, derivative = device.values(y), self._derivative(ydot) + phi, n, p, populations = device.fields_by_domain(values, voltage_V=self.voltage_V) + result = np.empty(device.state_size) + result[:3 * count] = self.electronic_problem.residual(values[:3 * count], derivative[:3 * count]) + rho = device.charge_ledger(n, p, populations).space_charge_C_m3() + left, right = device.electronic_component.contact_potentials(self.voltage_V) + result[:count] = device.electronic_component.poisson.residual(phi, rho, left, right) + for domain in device.domains: + name = domain.domain_layer_id + local = device.local_coordinates(values, name) + mass = domain.ion_coordinate_jacobian_m3(local, voltage_V=self.voltage_V) + blocks = device.ion_species_slices[name] + for index, species in enumerate(domain.ion_species_names): + rate = sum(mass[:, index, column] * derivative[blocks[partner]] + for column, partner in enumerate(domain.ion_species_names)) + result[blocks[species]] = -np.diff(np.r_[0.0, self.ion_fluxes(values, domain_id=name, species=species), 0.0]) + result[blocks[species]] -= domain.ion_geometry.cell_measures_m * rate + if not np.all(np.isfinite(result)): + raise FloatingPointError("multiple-domain residual is outside the finite envelope") + return result + + def physical_storage(self, y: ArrayLike) -> Vector: + """Physical S in particles/m²; algebraic rows have zero storage.""" + device, count = self.device, self.device.node_count + _, n, p, populations = device.fields_by_domain(y, voltage_V=self.voltage_V) + result = np.zeros(device.state_size) + for offset, carrier, density in ((count, "n", n), (2 * count, "p", p)): + result[offset:offset + count] = device.electronic_component.geometry.cell_measures_m * density + for side, node in (("left", 0), ("right", count - 1)): + if device.electronic_component.channel(carrier, side).kind == "fixed_reservoir": + result[offset + node] = 0.0 + for domain in device.domains: + for species, density in zip(domain.ion_species_names, populations[domain.domain_layer_id]): + result[device.ion_species_slices[domain.domain_layer_id][species]] = domain.ion_geometry.cell_measures_m * density + return result + + def storage_jacobian(self, y: ArrayLike) -> csc_matrix: + device, size = self.device, 3 * self.device.node_count + values = device.values(y) + electronic = self.electronic_problem.storage_jacobian(values[:size]) + ionic = [Ionic1DProblem(domain, self.voltage_V, self.generation_scale).storage_jacobian( + device.local_coordinates(values, domain.domain_layer_id))[size:, size:] for domain in device.domains] + return block_diag((electronic, *ionic), format="csc") + + def inventory_gradients(self, y: ArrayLike) -> dict[str, dict[str, Vector]]: + """Full physical gradients, with shared-site cross terms and no row replacement.""" + storage = self.storage_jacobian(y) + return {name: {species: -np.asarray(storage[block, :].sum(axis=0)).ravel() + for species, block in blocks.items()} + for name, blocks in self.device.ion_species_slices.items()} + + def jacobian(self, y: ArrayLike, ydot: ArrayLike | None = None, *, alpha: float = 0.0) -> csc_matrix: + alpha = _finite_scalar(alpha, "alpha") + device, size = self.device, 3 * self.device.node_count + values, derivative = device.values(y), self._derivative(ydot) + electronic = self.electronic_problem.jacobian(values[:size], derivative[:size], alpha=alpha) + local = [Ionic1DProblem(domain, self.voltage_V, self.generation_scale).jacobian( + device.local_coordinates(values, domain.domain_layer_id), + device.local_coordinates(derivative, domain.domain_layer_id), alpha=alpha) for domain in device.domains] + return bmat([[electronic, local[0][:size, size:], local[1][:size, size:]], + [local[0][size:, :size], local[0][size:, size:], None], + [local[1][size:, :size], None, local[1][size:, size:]]], format="csc") diff --git a/src/solarlab/equations/multiple_ionic_small_signal.py b/src/solarlab/equations/multiple_ionic_small_signal.py new file mode 100644 index 00000000..6123fb2b --- /dev/null +++ b/src/solarlab/equations/multiple_ionic_small_signal.py @@ -0,0 +1,299 @@ +"""Mobile-positive AC for two separated blocking domains on one 1D mesh. + +The production multiple-domain J/K are assembled once. Local single-domain +operators supply mathematical tangents only; their component states are not +claimed independent equilibria. All physical charge and Maxwell faces are +assembled globally, retaining both original domain balance blocks. +""" + +from __future__ import annotations + +from solarlab.reproducibility.job_provenance import admitted_source_pins + +from dataclasses import dataclass, field +import hashlib +import json +import math +from typing import Any, cast + +import numpy as np +from numpy.typing import ArrayLike +from scipy.sparse import csc_matrix + +from solarlab.contracts.units import ELEMENTARY_CHARGE_C as Q +from solarlab.equations.dc_1d import CapabilityError +from solarlab.equations.ionic_1d import Ionic1DProblem +from solarlab.equations.ionic_small_signal import IonicSmallSignal1D, frequency_voltage +from solarlab.equations.multiple_ionic_1d import ( + CompiledMultipleIonicDevice1D, MultipleIonic1DProblem, MultipleIonicState1D, +) + +__all__ = ["MultipleIonicACSystem", "MultipleIonicSmallSignal1D", "build_multiple_ionic_small_signal", "scope"] + + +def scope(device: CompiledMultipleIonicDevice1D, ion_mode: str = "mobile") -> None: + if not isinstance(device, CompiledMultipleIonicDevice1D): + raise ValueError("an actual complete multiple-domain ionic device is required") + if ion_mode != "mobile": + raise CapabilityError("two-domain AC currently supports only mobile positive ions") + if len(device.domains) != 2: + raise CapabilityError("two-domain AC requires exactly two separated blocking domains") + if any(channel.kind != "fixed_reservoir" for channel in device.electronic_component.channels): + raise CapabilityError("two-domain AC requires all fixed-reservoir carrier contacts") + if device.electronic_component.field_transport is not None: + raise CapabilityError("combined CT and multiple-domain AC is outside this initial scope") + for domain in device.domains: + if domain.ion_species_names != ("positive",) or domain.ion_site_contract != "independent_finite_sites": + raise CapabilityError("two-domain AC requires one independent positive species per domain") + if np.any(domain.positive_ion_diffusivity_faces_m2_s <= 0.0): + raise CapabilityError("two-domain AC requires one connected positive-D population in each domain") + record = domain.binding_manifest.get("ion_domain") + if not isinstance(record, dict) or record.get("contacts") != ["blocking", "blocking"]: + raise CapabilityError("two-domain AC requires both endpoints of every domain explicitly blocking") + + + + +def _sum_complex(values: ArrayLike) -> complex: + array = np.asarray(values, dtype=complex) + return complex(math.fsum(array.real.ravel().tolist()), math.fsum(array.imag.ravel().tolist())) + + +@dataclass(frozen=True) +class MultipleIonicACSystem: + frequency_Hz: float + voltage_phasor_V: complex + jacobian: csc_matrix + storage_jacobian: csc_matrix + rhs: np.ndarray + rhs_rate: np.ndarray + fixed_coordinates: dict[int, complex] + constraint_rows: dict[str, dict[str, int]] + original_rows_enforced: tuple[int, ...] + coordinate_form: str + coordinate_lift_per_V: np.ndarray + ion_mode: str = "mobile" + + +@dataclass(frozen=True) +class MultipleIonicSmallSignal1D: + problem: MultipleIonic1DProblem + operating_state: MultipleIonicState1D + coordinate_form: str = "moving_boundary_lift_v1" + jacobian: csc_matrix = field(init=False, repr=False) + storage_jacobian: csc_matrix = field(init=False, repr=False) + reference_direction_per_V: np.ndarray = field(init=False, repr=False) + coordinate_lift_per_V: np.ndarray = field(init=False, repr=False) + source_sha256: dict[str, str] = field(init=False) + working_state_digest: str = field(init=False) + working_state_identity: str = field(init=False) + _local_operators: tuple[IonicSmallSignal1D, ...] = field(init=False, repr=False) + + def __post_init__(self) -> None: + if not isinstance(self.problem, MultipleIonic1DProblem): + raise ValueError("the full production multiple-domain problem is required") + device, state = self.problem.device, self.operating_state + scope(device) + if self.coordinate_form not in {"moving_boundary_lift_v1", "fixed_reference_v1"}: + raise ValueError("an explicit supported AC coordinate representation is required") + device.validate_state(state) + if state.voltage_V != self.problem.voltage_V: + raise ValueError("AC state and production operating voltage must agree") + local = tuple(IonicSmallSignal1D(Ionic1DProblem(domain, state.voltage_V, self.problem.generation_scale), + component_state, self.coordinate_form) + for domain, component_state in zip(device.domains, state.domain_component_states)) + object.__setattr__(self, "_local_operators", local) + object.__setattr__(self, "jacobian", self.problem.jacobian(state.u)) + object.__setattr__(self, "storage_jacobian", self.problem.storage_jacobian(state.u)) + N = device.node_count + for name in ("reference_direction_per_V", "coordinate_lift_per_V"): + values = np.zeros(device.state_size) + values[:3 * N] = getattr(local[0], name)[:3 * N] + values.setflags(write=False) + object.__setattr__(self, name, values) + digest = hashlib.sha256(np.asarray(state.u, dtype=np.float64).tobytes()).hexdigest() + object.__setattr__(self, "working_state_digest", digest) + object.__setattr__(self, "working_state_identity", hashlib.sha256(json.dumps(( + device.identity, float(state.voltage_V).hex(), float(self.problem.generation_scale).hex(), digest, + )).encode()).hexdigest()) + object.__setattr__(self, "source_sha256", admitted_source_pins()) + + @property + def device(self) -> CompiledMultipleIonicDevice1D: + return self.problem.device + + def _moving_voltage_partial(self, direction: ArrayLike | None = None) -> tuple[np.ndarray, np.ndarray]: + """One electronic drive plus each domain's actual J_ion,phi lift force.""" + device, N = self.device, self.device.node_count + moving = np.zeros(device.state_size) if direction is None else np.asarray(direction, dtype=float) + if moving.shape != (device.state_size,) or np.any(moving[3 * N:] != 0.0): + raise ValueError("the voltage lift must keep every ionic coordinate unchanged") + first = self._local_operators[0] + partial, drive = first.moving_voltage_partial(np.r_[moving[:3 * N], + np.zeros(first.device.state_size - 3 * N)]) + result, rate = np.zeros(device.state_size), np.zeros(device.state_size) + result[:3 * N], rate[:3 * N] = partial[:3 * N], drive[:3 * N] + result[3 * N:] = self.jacobian[3 * N:, :N] @ moving[:N] + return result, rate + + def system(self, frequency_Hz: float, *, voltage_phasor_V: complex = 1.0, + ion_mode: str = "mobile") -> MultipleIonicACSystem: + scope(self.device, ion_mode) + frequency, voltage = frequency_voltage(frequency_Hz, voltage_phasor_V, "mobile") + device, N = self.device, self.device.node_count + J, K = self.jacobian.copy().tolil(), self.storage_jacobian.copy().tolil() + rhs: np.ndarray = np.zeros(device.state_size, dtype=complex) + rhs[N - 1] = -device.electronic_component.voltage_polarity * voltage + known = {0: 0.0j, N - 1: complex(rhs[N - 1])} + for offset in (N, 2 * N): + known[offset] = 0.0j + known[offset + N - 1] = -rhs[N - 1] / device.electronic_component.thermal_voltage_V + rhs_rate = np.zeros_like(rhs) + if self.coordinate_form == "moving_boundary_lift_v1": + partial, drive = self._moving_voltage_partial(self.coordinate_lift_per_V) + rhs, rhs_rate = -partial * voltage, drive * voltage + known = {index: 0.0j for index in known} + constraints: dict[str, dict[str, int]] = {} + if frequency == 0.0: + for name, blocks in device.ion_species_slices.items(): + constraints[name] = {} + for species, block in blocks.items(): + row = block.start + gradient = -np.asarray(self.storage_jacobian[block, :].sum(axis=0)).ravel() + nonzero = np.flatnonzero(gradient) + J.rows[row], J.data[row] = nonzero.tolist(), gradient[nonzero].tolist() + K.rows[row], K.data[row] = [], [] + rhs[row] = rhs_rate[row] = 0.0j + constraints[name][species] = row + return MultipleIonicACSystem(frequency, voltage, J.tocsc(), K.tocsc(), rhs, rhs_rate, + known, constraints, tuple(range(device.state_size)), self.coordinate_form, + self.coordinate_lift_per_V) + + def original_residual(self, fixed_perturbation: ArrayLike, frequency_Hz: float, + *, voltage_phasor_V: complex = 1.0) -> np.ndarray: + frequency, voltage = frequency_voltage(frequency_Hz, voltage_phasor_V, "mobile") + x = np.asarray(fixed_perturbation, dtype=complex) + if x.shape != (self.device.state_size,) or not np.all(np.isfinite(x)): + raise ValueError("a finite complete two-domain perturbation is required") + rhs = np.zeros_like(x) + rhs[self.device.node_count - 1] = -self.device.electronic_component.voltage_polarity * voltage + return (self.jacobian + 2j * math.pi * frequency * self.storage_jacobian) @ x - rhs + + def observe(self, perturbation: ArrayLike, frequency_Hz: float, *, voltage_phasor_V: complex = 1.0, + ion_mode: str = "mobile", coordinate_form: str | None = None) -> dict[str, Any]: + scope(self.device, ion_mode) + frequency, voltage = frequency_voltage(frequency_Hz, voltage_phasor_V, "mobile") + device, N = self.device, self.device.node_count + form = self.coordinate_form if coordinate_form is None else coordinate_form + x = np.asarray(perturbation, dtype=complex) + if form not in {"moving_boundary_lift_v1", "fixed_reference_v1"}: + raise ValueError("unknown AC coordinate representation") + if x.shape != (device.state_size,) or not np.all(np.isfinite(x)): + raise ValueError("a finite complete two-domain perturbation is required") + fixed_x = x if form == "fixed_reference_v1" else x + ( + self.coordinate_lift_per_V - self.reference_direction_per_V) * voltage + moving_x = x + (self.reference_direction_per_V if form == "fixed_reference_v1" + else self.coordinate_lift_per_V) * voltage + pieces = tuple(cast(dict[str, Any], operator.observe(np.r_[x[:3 * N], x[device.domain_slices[name]]], frequency, + voltage_phasor_V=voltage, coordinate_form=form)) + for name, operator in zip(device.domain_ids, self._local_operators)) + first, component = pieces[0], device.electronic_component + carrier = np.asarray(first["carrier_particle_fluxes_m2_s"]) + carrier_balance = np.asarray(first["carrier_balance_m2_s"]) + dn, dp = first["electron_density_perturbation_m3"], first["hole_density_perturbation_m3"] + charge = Q * component.geometry.cell_measures_m * (dp - dn) + charge_balance = Q * (carrier_balance[1] - carrier_balance[0]) + conduction = Q * (carrier[1] - carrier[0]) + ionic_current: np.ndarray = np.zeros(N + 1, dtype=complex) + base_ionic_charge, fixed_background = np.zeros(N), np.zeros(N) + domains = {} + for domain, part in zip(device.domains, pieces): + name = domain.domain_layer_id + density = part["ion_density_perturbation_m3"]["positive"] + particles = part["ion_particle_fluxes_m2_s"]["positive"] + balance = part["ion_balance_m2_s"]["positive"] + weighted = domain.ion_geometry.cell_measures_m * density + inventory = _sum_complex(weighted) + deposited = Q * weighted + charge[domain.ion_node_indices] += deposited + charge_balance[domain.ion_node_indices] += Q * balance + conduction += Q * particles + ionic_current += Q * particles + base_ionic_charge += part["base_ion_charge_density_C_m3"] + fixed_background -= Q * domain.project_ion_density(domain.positive_ion_reference_m3) + domains[name] = {"electrical_node_indices": domain.ion_node_indices, + "physical_weights_m": domain.ion_geometry.cell_measures_m, + "compiled_component_identity": domain.identity, + "species": {"positive": {"density_perturbation_m3": density, + "particle_fluxes_m2_s": particles, "native_balance_m2_s": balance, + "inventory_perturbation_m2": inventory, + "charge_inventory_perturbation_C_m2": deposited, + "charge_inventory_roundoff_C_m2": _sum_complex(deposited) - Q * inventory, + "base_density_m3": part["base_ion_density_m3"]["positive"], + "reference_density_m3": domain.positive_ion_reference_m3, + "reference_inventory_m2": device.reference_inventories_m2[name]["positive"], + "blocking_face_indices": (int(domain.ion_node_indices[0]), int(domain.ion_node_indices[-1] + 1))}}} + omega = 2 * math.pi * frequency + phi = fixed_x[:N] + interior_D = -component.poisson.face_capacitance_F_m2 * np.diff(phi) + D = np.r_[interior_D[0] - charge[0], interior_D, interior_D[-1] + charge[-1]] + displacement = 1j * omega * D + total = conduction + displacement + gauss = D[:-1] - D[1:] + charge + identity = total[:-1] - total[1:] - charge_balance - 1j * omega * gauss + matrix = self.jacobian + 1j * omega * self.storage_jacobian + fixed_rhs: np.ndarray = np.zeros(device.state_size, dtype=complex) + fixed_rhs[N - 1] = -component.voltage_polarity * voltage + fixed_residual = matrix @ fixed_x - fixed_rhs + partial, _ = self._moving_voltage_partial() + moving_rhs = -partial * voltage + 1j * omega * (self.storage_jacobian @ self.reference_direction_per_V) * voltage + moving_residual = matrix @ moving_x - moving_rhs + errors = [] + for values, rhs, residual in ((fixed_x, fixed_rhs, fixed_residual), (moving_x, moving_rhs, moving_residual)): + denominator = abs(matrix) @ abs(values) + abs(rhs) + errors.append(float(np.max(np.divide(abs(residual), denominator, + out=np.zeros_like(denominator), where=denominator != 0.0)))) + bounds = Q * (float(np.sum(abs(carrier_balance))) + math.fsum( + float(np.sum(abs(part["ion_balance_m2_s"]["positive"]))) for part in pieces)) + bounds += omega * float(np.sum(abs(gauss))) + positive_electrode = 0 if component.voltage_polarity > 0.0 else -1 + input_current = component.voltage_polarity * total[positive_electrode] + return {"frequency_Hz": frequency, "voltage_phasor_V": voltage, "ion_mode": "mobile", + "coordinate_form": form, "solve_coordinate_perturbation": x.copy(), + "fixed_coordinate_perturbation": fixed_x, "moving_coordinate_perturbation": moving_x, + "reference_direction_per_V": self.reference_direction_per_V, + "coordinate_lift_per_V": self.coordinate_lift_per_V, + "potential_perturbation_V": phi, "electric_field_perturbation_V_m": -np.diff(phi) / np.diff(component.nodes_m), + "electron_density_perturbation_m3": dn, "hole_density_perturbation_m3": dp, + "carrier_particle_fluxes_m2_s": carrier, "carrier_balance_m2_s": carrier_balance, + "domains": domains, "charge_inventory_perturbation_C_m2": charge, + "charge_balance_C_m2_s": charge_balance, + "base_ion_charge_density_C_m3": base_ionic_charge, "fixed_ion_background_charge_C_m3": fixed_background, + "ionic_conduction_current_density_A_m2": ionic_current, + "conduction_current_density_A_m2": conduction, "displacement_current_density_A_m2": displacement, + "total_current_density_A_m2": total, "terminal_current_density_A_m2": total[[0, -1]], + "terminal_conduction_current_density_A_m2": conduction[[0, -1]], + "terminal_displacement_current_density_A_m2": displacement[[0, -1]], + "input_current_density_A_m2": input_current, "admittance_density_S_m2": input_current / voltage, + "maxwell_spread_A_m2_V": float(np.max(abs(total - total[0]))) / abs(voltage), + "current_scale_A_m2_V": float(np.max(abs(total))) / abs(voltage), + "residual_balance_bound_A_m2_V": bounds / abs(voltage), + "gauss_defect_C_m2": gauss, "maxwell_identity_error_A_m2": identity, + "original_fixed_residual": fixed_residual, "original_residual": moving_residual, + "original_componentwise_backward_error": max(errors), + "original_rows_enforced": tuple(range(device.state_size)), + "original_ion_force_residual": {name: {species: moving_residual[block] for species, block in blocks.items()} + for name, blocks in device.ion_species_slices.items()}, + "compiled_identity": device.identity, "working_state_identity": self.working_state_identity, + "working_state_digest": self.working_state_digest, "source_sha256": dict(self.source_sha256), + "physical_certificate_status": "not_evaluated"} + + +def build_multiple_ionic_small_signal(compiled: CompiledMultipleIonicDevice1D, state: MultipleIonicState1D, + *, generation_scale: float = 0.0, + coordinate_form: str = "moving_boundary_lift_v1") -> MultipleIonicSmallSignal1D: + scope(compiled) + if not isinstance(state, MultipleIonicState1D): + raise ValueError("a complete bound multiple-domain operating state is required") + return MultipleIonicSmallSignal1D(MultipleIonic1DProblem(compiled, state.voltage_V, generation_scale), + state, coordinate_form) diff --git a/src/solarlab/experiments/__init__.py b/src/solarlab/experiments/__init__.py new file mode 100644 index 00000000..507c0466 --- /dev/null +++ b/src/solarlab/experiments/__init__.py @@ -0,0 +1,3 @@ +"""Experiment metadata preparation; no numerical execution on import.""" + +__all__: tuple[str, ...] = () diff --git a/src/solarlab/experiments/bdf.py b/src/solarlab/experiments/bdf.py new file mode 100644 index 00000000..ddffc6c4 --- /dev/null +++ b/src/solarlab/experiments/bdf.py @@ -0,0 +1,363 @@ +"""BDF experiment admission and history orchestration; unchanged solver kernels.""" + +from __future__ import annotations + +from dataclasses import asdict, replace +import hashlib +import math +import time +from typing import Any, cast + +import numpy as np + +from solarlab.contracts import frozen_array +from solarlab.equations.assembly.classical_1d import AssembledDC1DProblem +from solarlab.equations.assembly.ionic_1d import AssembledIonic1DProblem, AssembledMultipleIonic1DProblem +from solarlab.equations.dc_1d import CompiledDevice1D, DC1DProblem +from solarlab.equations.implementation import use_assembled +from solarlab.equations.ionic_1d import CompiledIonicDevice1D, Ionic1DProblem +from solarlab.equations.multiple_ionic_1d import CompiledMultipleIonicDevice1D +from solarlab.experiments import ionic_transient, multiple_ionic_transient +from solarlab.experiments.ionic_transient import ( + IonicTransientInitial, IonicTransientOptions, _admit_evidence, _finite_accounting, _newton_settings, _same_state, +) +from solarlab.experiments.jv.operating_points import _verify_point +from solarlab.experiments.multiple_ionic_transient import MultipleIonicTransientInitial +from solarlab.experiments.transient import TransientOptions, TransientProtocol +from solarlab.solvers.nonlinear.newton import NewtonSettings +from solarlab.solvers.nonlinear.problem import GateOutcome, Vector +from solarlab.solvers.nonlinear.production import ( + production_convergence_norm, production_coordinates, production_residual_scaling, +) +from solarlab.solvers.nonlinear.steady_1d import SteadyOptions, SteadyState1D +from solarlab.solvers.time.assembled_ionic_bdf import ( + IonicDevice, IonicState, assembled_ionic_bdf_accounting, assembled_ionic_bdf_seed, +) +from solarlab.solvers.time.assembled_storage import AssembledIonicStorage1D +from solarlab.solvers.time.bdf import ( + Assessment, BDFEvent, BDFOptions, BDFResult, BDFStep, HistoryPoint, StorageProblem, solve_bdf, +) +from solarlab.solvers.time.bdf_1d import BDFDrive, ElectronicStorage1D, IonicStorage1D, bdf_accounting, bdf_seed +from solarlab.solvers.time.carrier_seed import DensitySeedContext + +__all__ = ["solve_electronic_bdf", "solve_ionic_bdf", "solve_assembled_ionic_bdf", "solve_assembled_multiple_ionic_bdf"] + + + +def _events(drive: BDFDrive, factory: Any, controls: TransientOptions) -> tuple[BDFEvent, ...]: + def restart(old: StorageProblem, new: StorageProblem, u: Vector) -> tuple[Vector, Assessment]: + assert isinstance(old, (ElectronicStorage1D, IonicStorage1D)) + assert isinstance(new, type(old)) + if isinstance(new, IonicStorage1D) and isinstance(old, IonicStorage1D): + e = new.problem.device.electronic_component + elif isinstance(new, ElectronicStorage1D) and isinstance(old, ElectronicStorage1D): + e = new.problem.device + else: + raise ValueError("restart must retain the same storage adapter kind") + right = bdf_seed(BDFStep(new, (HistoryPoint(0.0, u, old.storage(u), old),), 1.0, 1), + "previous", voltage_lift=True) + tangent = new.storage_tangent(right) + algebraic = np.asarray(abs(tangent).sum(axis=1)).ravel() == 0 + weights = production_residual_scaling(e, poisson_tolerance=controls.poisson_tolerance, + continuity_tolerance_A_m2=controls.continuity_tolerance_A_m2, + contact_log_tolerance=controls.contact_log_tolerance).row_weights + weights = np.r_[weights, np.ones(len(u) - len(weights))] + algebraic_norm = float(np.max(abs(new.residual(right)[algebraic] * weights[algebraic]), initial=0.0)) + if isinstance(new, ElectronicStorage1D) and isinstance(old, ElectronicStorage1D): + delta = new.physical_increment(right, old, u) + elif isinstance(new, IonicStorage1D) and isinstance(old, IonicStorage1D): + delta = new.physical_increment(right, old, u) + else: + raise ValueError("physical inventory history must keep the same adapter kind") + relative = float(np.max(abs(delta) / np.maximum(abs(old.physical_storage(u)), 1.0))) + phi_change = right[:e.node_count] - u[:e.node_count] + impulse = -e.poisson.face_capacitance_F_m2 * np.diff(phi_change) + assessment = Assessment({"left_voltage_V": old.problem.voltage_V, "right_voltage_V": new.problem.voltage_V, + "physical_inventory_change": delta, "relative_inventory_change": relative, + "displacement_charge_impulse_C_m2": impulse, "terminal_charge_impulse_C_m2": impulse[[0, -1]]}, + (GateOutcome("restart_algebraic_rows", algebraic_norm <= 1, algebraic_norm, 1.0), + GateOutcome("restart_frozen_physical_inventory", relative <= controls.contact_log_tolerance, + relative, controls.contact_log_tolerance))) + return right, assessment + events = [BDFEvent(float(t), restart, "voltage_generation_protocol_jump") for t, a, b in + zip(drive.times_s, drive.left_values, drive.right_values) if not np.array_equal(a, b)] + for t in drive.slope_breakpoints_s: + index = int(np.flatnonzero(drive.times_s == t)[0]) + left_slope = ((drive.left_values[index] - drive.right_values[index - 1]) + / (drive.times_s[index] - drive.times_s[index - 1])) + right_slope = ((drive.left_values[index + 1] - drive.right_values[index]) + / (drive.times_s[index + 1] - drive.times_s[index])) + def slope_restart(old: StorageProblem, new: StorageProblem, u: Vector, + before: Vector = left_slope, after: Vector = right_slope) -> tuple[Vector, Assessment]: + right, assessed = restart(old, new, u) + if right.tobytes() != u.tobytes(): + raise ValueError("a continuous slope knot must preserve the represented state") + return right, Assessment({**assessed.accounting, "left_drive_slope": before, + "right_drive_slope": after}, assessed.checks) + events.append(BDFEvent(t, slope_restart, "drive_slope_discontinuity")) + return tuple(sorted(events, key=lambda event: event.time_s)) + + +def _adapter_step_budget( + protocol: TransientProtocol, max_sample_intervals: int, bdf_options: BDFOptions, + adaptive_max_steps: int | None, +) -> int: + """Keep legacy clipping unless an independent adaptive work cap is explicit. + + The explicit route retains the production limit on requested sample + intervals. Its accepted-step work cap is independent and still bounded + by BDFOptions.max_steps; no physical or nonlinear controls change. + """ + if adaptive_max_steps is None: + return min(bdf_options.max_steps, max_sample_intervals) + if type(adaptive_max_steps) is not int or adaptive_max_steps < 1: + raise ValueError("adaptive_max_steps must be an explicit positive integer") + if len(protocol.times_s) - 1 > max_sample_intervals: + raise ValueError("requested timepoints exceed max_steps sample admission") + return min(bdf_options.max_steps, adaptive_max_steps) + + +def _generation_density_context(drive: BDFDrive, step: BDFStep) -> DensitySeedContext | None: + """Only a complete BDF1 target starting at a dark-to-light value jump.""" + if step.order != 1 or len(step.history) != 1: + return None + old = step.history[0] + if not isinstance(step.endpoint, ElectronicStorage1D) or not isinstance(old.problem, ElectronicStorage1D): + return None + exact = np.flatnonzero(drive.times_s == old.time_s) + if exact.size != 1: + return None + index = int(exact[0]) + left, right = drive.left_values[index], drive.right_values[index] + if left[1] != 0.0 or right[1] <= 0.0 or left[0] != right[0]: + return None + endpoint, previous = step.endpoint.problem, old.problem.problem + if (endpoint.voltage_V != right[0] or previous.voltage_V != right[0] + or endpoint.generation_scale != right[1] or previous.generation_scale != right[1]): + return None + device = endpoint.device + + def validate() -> None: + if (type(device) is not CompiledDevice1D or previous.device.identity != device.identity + or old.u.shape != (3 * device.node_count,) + or not {"classical_1d_dc", "maxwell_boltzmann", "ion_free"} <= set(device.capabilities)): + raise ValueError("density activation requires the matching compiled electronic log-coordinate target") + if (step.dt_s <= 0 or not math.isfinite(step.dt_s) + or not np.array_equal(step.coefficients, np.array([1.0, -1.0]))): + raise ValueError("density activation requires a complete positive-interval BDF1 target") + if endpoint.device.identity != device.identity or endpoint.voltage_V != right[0]: + raise ValueError("density activation device/reference changed") + + def fingerprint() -> str: + digest = hashlib.sha256() + for point in step.history: + assert isinstance(point.problem, ElectronicStorage1D) + digest.update(point.time_s.hex().encode()) + digest.update(point.u.tobytes()) + digest.update(point.storage_value.tobytes()) + digest.update(point.problem.problem.device.identity.encode()) + digest.update(float(point.problem.problem.voltage_V).hex().encode()) + digest.update(float(point.problem.problem.generation_scale).hex().encode()) + return digest.hexdigest() + + return DensitySeedContext(device, endpoint.voltage_V, { + "policy": "dark_generation_stagnation_density_v1", "device_identity": device.identity, + "coordinate_form": "electrode_quasi_fermi_1d_v1", "source_knot_s": old.time_s, + "left_source": frozen_array(left), "right_source": frozen_array(right), + "voltage_reference_V": endpoint.voltage_V, "complete_target": "BDFStep order1", + }, validate, fingerprint) + + +def solve_electronic_bdf( + compiled: CompiledDevice1D, initial: SteadyState1D, protocol: TransientProtocol, *, + options: TransientOptions, initial_options: SteadyOptions, bdf_options: BDFOptions, + drive: BDFDrive | None = None, adaptive_max_steps: int | None = None, + density_seed_activation: bool = False, +) -> BDFResult: + if type(density_seed_activation) is not bool: + raise ValueError("density_seed_activation must be an explicit boolean") + started = time.monotonic() + work_steps = _adapter_step_budget(protocol, options.max_steps, bdf_options, adaptive_max_steps) + _verify_point(compiled, initial, initial.generation_scale, initial_options) + source = BDFDrive.from_protocol(protocol) if drive is None else drive + if source.values(float(protocol.times_s[0]), "left") != (initial.voltage_V, initial.generation_scale): + raise ValueError("BDF initial drive must match the admitted steady state") + base = NewtonSettings(production_residual_scaling(compiled, poisson_tolerance=options.poisson_tolerance, + continuity_tolerance_A_m2=options.continuity_tolerance_A_m2, contact_log_tolerance=options.contact_log_tolerance), + 1.0, production_coordinates(compiled, potential_step_V=options.potential_step_V, + quasi_fermi_step=options.quasi_fermi_step), options.newton_budget, (), False) + norm = production_convergence_norm(compiled, convergence_policy=options.convergence_policy) + bound = AssembledDC1DProblem(compiled, initial.voltage_V, initial.generation_scale) if use_assembled() else None + def factory(t: float, side: str) -> ElectronicStorage1D: + voltage, generation = source.values(t, side) + return ElectronicStorage1D(bound.at(voltage, generation) if bound is not None + else DC1DProblem(compiled, voltage, generation)) + def assessment(step: BDFStep, u: Vector) -> Assessment: + data = bdf_accounting(step, u) + finite = _finite_accounting(data) + return Assessment(data, (GateOutcome("finite_original_accounting", finite, 0.0 if finite else math.inf, 0.0),)) + preparation_s = time.monotonic() - started + remaining = min(bdf_options.wall_s, options.wall_s) - preparation_s + if remaining <= 0: + raise TimeoutError("BDF initial admission exhausted the whole-history wall budget") + result = solve_bdf(factory, initial.state.u, (float(protocol.times_s[0]), float(protocol.times_s[-1])), + options=replace(bdf_options, wall_s=remaining, max_steps=work_steps), settings=lambda step: base, + convergence_norm=norm, assess=assessment, + seed=lambda step: bdf_seed(step, options.predictor, voltage_lift=True), + density_seed_context=(lambda step, failed: _generation_density_context(source, step)) if density_seed_activation else None, + breakpoints_s=tuple(float(t) for t in source.times_s[1:-1]), + events=_events(source, factory, options), output_times_s=protocol.times_s) + return replace(result, wall_s=time.monotonic() - started, controls={**result.controls, "physical_controls": asdict(options), + "initial_controls": asdict(initial_options), "compiled_identity": compiled.identity, + "drive": asdict(source), "initial_admission_wall_s": preparation_s, "method": "classical_physical_storage_bdf12", + **({"adapter_adaptive_max_steps": adaptive_max_steps, "adapter_sample_interval_limit": options.max_steps} + if adaptive_max_steps is not None else {})}) + + +def solve_ionic_bdf( + compiled: CompiledIonicDevice1D, initial: IonicTransientInitial, protocol: TransientProtocol, *, + options: IonicTransientOptions, bdf_options: BDFOptions, drive: BDFDrive | None = None, + adaptive_max_steps: int | None = None, +) -> BDFResult: + started = time.monotonic() + work_steps = _adapter_step_budget(protocol, options.electronic.max_steps, bdf_options, adaptive_max_steps) + admitted, generation, checks = _admit_evidence(compiled, initial.evidence_json, initial.source_sha256, + initial.steady_controls) + if not _same_state(initial.state, admitted) or initial.generation_scale != generation: + raise ValueError("BDF ionic initial object disagrees with its original pinned evidence") + source = BDFDrive.from_protocol(protocol) if drive is None else drive + if source.values(float(protocol.times_s[0]), "left") != (admitted.voltage_V, generation): + raise ValueError("BDF initial drive must match the admitted ionic steady state") + base, norm = _newton_settings(compiled, options) + bound = AssembledIonic1DProblem(compiled, admitted.voltage_V, generation) if use_assembled() else None + def factory(t: float, side: str) -> IonicStorage1D: + voltage, scale = source.values(t, side) + return IonicStorage1D(bound.at(voltage, scale) if bound is not None else Ionic1DProblem(compiled, voltage, scale)) + def assessment(step: BDFStep, u: Vector) -> Assessment: + data = bdf_accounting(step, u) + finite = _finite_accounting(data) + residual_norm = norm(base.scaling.scaled(step.residual(u))) if finite else math.inf + return Assessment(data, (GateOutcome("finite_original_accounting", finite, 0.0 if finite else math.inf, 0.0), + GateOutcome("all_original_dynamic_rows", residual_norm <= 1, residual_norm, 1.0))) + preparation_s = time.monotonic() - started + remaining = min(bdf_options.wall_s, options.electronic.wall_s) - preparation_s + if remaining <= 0: + raise TimeoutError("BDF ionic admission exhausted the whole-history wall budget") + result = solve_bdf(factory, admitted.u, (float(protocol.times_s[0]), float(protocol.times_s[-1])), + options=replace(bdf_options, wall_s=remaining, max_steps=work_steps), + settings=lambda step: base, convergence_norm=norm, assess=assessment, + seed=lambda step: bdf_seed(step, options.electronic.predictor, voltage_lift=True), + breakpoints_s=tuple(float(t) for t in source.times_s[1:-1]), + events=_events(source, factory, options.electronic), output_times_s=protocol.times_s) + return replace(result, wall_s=time.monotonic() - started, controls={**result.controls, "physical_controls": asdict(options), + "initial_source_sha256": initial.source_sha256, "initial_checks": checks, + "compiled_identity": compiled.identity, "drive": asdict(source), "initial_admission_wall_s": preparation_s, + "method": "classical_physical_storage_bdf12", + **({"adapter_adaptive_max_steps": adaptive_max_steps, + "adapter_sample_interval_limit": options.electronic.max_steps} + if adaptive_max_steps is not None else {})}) + + +def _assembled_events(source: BDFDrive, settings: Any, factory: Any, controls: IonicTransientOptions) -> tuple[BDFEvent, ...]: + def restart(old: Any, new: Any, u: Vector) -> tuple[Vector, Assessment]: + right = assembled_ionic_bdf_seed(BDFStep(new, (HistoryPoint(0.0, u, old.storage(u), old),), 1.0, 1)) + tangent = new.storage_tangent(right) + algebraic = np.asarray(abs(tangent).sum(axis=1)).ravel() == 0 + residual = new.residual(right) + value = float(np.max(abs(residual[algebraic] * settings.scaling.row_weights[algebraic]), initial=0.0)) + change = new.physical_increment(right, old, u) + relative = float(np.max(abs(change) / np.maximum(abs(old.physical_storage(u)), 1.0))) + return right, Assessment({"physical_inventory_change": change, "relative_inventory_change": relative}, + (GateOutcome("restart_algebraic_rows", value <= 1, value, 1.0), + GateOutcome("restart_frozen_physical_inventory", relative <= controls.electronic.contact_log_tolerance, + relative, controls.electronic.contact_log_tolerance))) + return tuple(BDFEvent(float(t), restart, "voltage_generation_protocol_jump") for t, left, right in + zip(source.times_s, source.left_values, source.right_values) if not np.array_equal(left, right)) + tuple( + BDFEvent(t, restart, "drive_slope_discontinuity") for t in source.slope_breakpoints_s) + + +def _solve_assembled( + device: IonicDevice, admitted: IonicState, initial: IonicTransientInitial | MultipleIonicTransientInitial, + protocol: TransientProtocol, options: IonicTransientOptions, bdf_options: BDFOptions, + source: BDFDrive, adaptive_max_steps: int | None, checks: Any, started: float, +) -> BDFResult: + if len(protocol.times_s) - 1 > options.electronic.max_steps: + raise ValueError("requested timepoints exceed max_steps sample admission") + if adaptive_max_steps is not None and (type(adaptive_max_steps) is not int or adaptive_max_steps < 1): + raise ValueError("adaptive_max_steps must be an explicit positive integer") + work = min(bdf_options.max_steps, options.electronic.max_steps if adaptive_max_steps is None else adaptive_max_steps) + if source.values(float(protocol.times_s[0]), "left") != (admitted.voltage_V, initial.generation_scale): + raise ValueError("BDF drive must begin at the original admitted ionic state") + multiple = isinstance(device, CompiledMultipleIonicDevice1D) + settings, norm = (multiple_ionic_transient._settings(cast(CompiledMultipleIonicDevice1D, device), options) if multiple + else ionic_transient._newton_settings(cast(CompiledIonicDevice1D, device), options)) + original_problem = (AssembledMultipleIonic1DProblem(device, admitted.voltage_V, initial.generation_scale) + if isinstance(device, CompiledMultipleIonicDevice1D) + else AssembledIonic1DProblem(device, admitted.voltage_V, initial.generation_scale)) + def factory(t: float, side: str) -> AssembledIonicStorage1D: + voltage, generation = source.values(t, side) + return AssembledIonicStorage1D(original_problem.at(voltage, generation)) + def assessment(step: BDFStep, u: Vector) -> Assessment: + data = assembled_ionic_bdf_accounting(step, u) + finite = ionic_transient._finite_accounting(data) + value = norm(settings.scaling.row_weights * step.residual(u)) if finite else math.inf + gates = [GateOutcome("finite_original_accounting", finite, 0.0 if finite else math.inf, 0.0), + GateOutcome("all_original_dynamic_rows", value <= 1, value, 1.0)] + if multiple: + for name, domain in data["domains"].items(): + for species, values in domain["species"].items(): + value = float(values["balance_l1_m2_s"]) + gates.append(GateOutcome(name + "." + species + ".all_native_balances", + value <= options.ion_balance_tolerance_m2_s, value, options.ion_balance_tolerance_m2_s)) + limit = initial.steady_controls.electronic.current_spread_tolerance_A_m2 + for key in ("maxwell_spread_A_m2", "maxwell_identity_error_A_m2"): + value = float(np.max(abs(np.asarray(data[key])))) + gates.append(GateOutcome(key, value <= limit, value, limit)) + return Assessment(data, tuple(gates)) + admission_wall = time.monotonic() - started + remaining = min(options.electronic.wall_s, bdf_options.wall_s) - admission_wall + if remaining <= 0: + raise TimeoutError("BDF whole-history budget exhausted during original initial admission") + result = solve_bdf(factory, admitted.u, (float(protocol.times_s[0]), float(protocol.times_s[-1])), + options=replace(bdf_options, max_steps=work, wall_s=remaining), settings=lambda step: settings, + convergence_norm=norm, assess=assessment, seed=assembled_ionic_bdf_seed, + breakpoints_s=tuple(float(t) for t in source.times_s[1:-1]), + events=_assembled_events(source, settings, factory, options), output_times_s=protocol.times_s) + return replace(result, wall_s=time.monotonic() - started, controls={**result.controls, + "method": "assembled_ionic_physical_storage_bdf12", "compiled_identity": device.identity, + "physical_controls": asdict(options), "initial_source_sha256": initial.source_sha256, + "initial_checks": checks, "drive": asdict(source), "initial_admission_wall_s": admission_wall, + "adapter_adaptive_max_steps": adaptive_max_steps, "adapter_sample_interval_limit": options.electronic.max_steps}) + + +def solve_assembled_ionic_bdf( + device: CompiledIonicDevice1D, initial: IonicTransientInitial, protocol: TransientProtocol, *, + options: IonicTransientOptions, bdf_options: BDFOptions, drive: BDFDrive | None = None, + adaptive_max_steps: int | None = None, +) -> BDFResult: + """Single-domain positive/dual/shared-site scope, with original admission.""" + started = time.monotonic() + admitted, generation, checks = ionic_transient._admit_evidence( + device, initial.evidence_json, initial.source_sha256, initial.steady_controls) + if not ionic_transient._same_state(initial.state, admitted) or initial.generation_scale != generation: + raise ValueError("ionic initial disagrees with the original pinned evidence") + return _solve_assembled(device, admitted, initial, protocol, options, bdf_options, + BDFDrive.from_protocol(protocol) if drive is None else drive, adaptive_max_steps, checks, started) + + +def solve_assembled_multiple_ionic_bdf( + device: CompiledMultipleIonicDevice1D, initial: MultipleIonicTransientInitial, protocol: TransientProtocol, *, + options: IonicTransientOptions, bdf_options: BDFOptions, drive: BDFDrive | None = None, + adaptive_max_steps: int | None = None, +) -> BDFResult: + """Multiple-domain scope with independent domain/species balances and gates.""" + started = time.monotonic() + admitted, generation, checks = multiple_ionic_transient._admit( + device, initial.evidence_json, initial.source_sha256, initial.steady_controls) + if not multiple_ionic_transient._same_record( + multiple_ionic_transient._decode(multiple_ionic_transient._encode(admitted)), + multiple_ionic_transient._decode(multiple_ionic_transient._encode(initial.state)), + ) or initial.generation_scale != generation: + raise ValueError("multiple-domain initial disagrees with the original pinned evidence") + return _solve_assembled(device, admitted, initial, protocol, options, bdf_options, + BDFDrive.from_protocol(protocol) if drive is None else drive, adaptive_max_steps, checks, started) diff --git a/src/solarlab/experiments/bdf_results.py b/src/solarlab/experiments/bdf_results.py new file mode 100644 index 00000000..79193f74 --- /dev/null +++ b/src/solarlab/experiments/bdf_results.py @@ -0,0 +1,740 @@ +"""Captured BDF publication and historical readback. + +Solver imports are confined to computation; both readers use recorded data only. +No method, gate, control or qualification status is inferred from current code. +""" +from __future__ import annotations + +from dataclasses import asdict, dataclass, fields, is_dataclass +from datetime import datetime, timezone +from enum import Enum +import gzip +import hashlib +import json +import math +from pathlib import Path +from typing import TYPE_CHECKING, Any + +import numpy as np + +from solarlab.experiments.results import decode_array +from solarlab.io.artifacts import bytes_artifact +from solarlab.reproducibility.job_provenance import ( + JobProvenance, job_provenance, publication_binding, read_provenance, result_provenance, +) + +if TYPE_CHECKING: + from solarlab.io.run_store import AttemptToken, RunStore + from solarlab.solvers.time.bdf import BDFOptions, BDFResult + from solarlab.solvers.time.bdf_1d import BDFDrive + +__all__ = ["CapturedBDFRun", "run_bdf_for_publication", "publish_bdf_result", + "read_bdf_result", "read_bdf_packet"] + +_SCHEMA = "solarlab.bdf-publication.v1" +_HISTORY_SCHEMA = "solarlab.physical_storage_bdf12.v1" +_METHOD = "classical_physical_storage_bdf12" +_LABEL = "experimental_unqualified" +_TAGS = {"$array", "$scalar", "$float", "$tuple"} + + +def _canonical(value: Any) -> bytes: + # Artifact content, unlike RunStore metadata, may exceed the 1 MiB inline + # document limit. Large histories remain one integrity-checked byte artifact. + return json.dumps(value, sort_keys=True, separators=(",", ":"), allow_nan=False).encode() + + +def _sha(value: bytes) -> str: + return hashlib.sha256(value).hexdigest() + + +def _require(condition: bool, message: str) -> None: + if not condition: + raise ValueError(message) + + +def _loads(raw: bytes) -> Any: + def pairs(items: list[tuple[str, Any]]) -> dict[str, Any]: + _require(len(dict(items)) == len(items), "duplicate BDF record key") + return dict(items) + + def constant(value: str) -> Any: + raise ValueError("nonfinite BDF JSON number must retain explicit words: " + value) + + return json.loads(raw, object_pairs_hook=pairs, parse_constant=constant) + + +def _fingerprint(value: np.ndarray) -> dict[str, Any]: + return {"dtype": value.dtype.str, "shape": list(value.shape), "sha256": _sha(value.tobytes(order="C"))} + + +def _same(left: Any, right: Any) -> bool: + return type(left) is np.ndarray and type(right) is np.ndarray and _fingerprint(left) == _fingerprint(right) + + +def _array(value: np.ndarray) -> dict[str, Any]: + _require(not value.dtype.hasobject and value.dtype.fields is None and value.dtype.kind in "biufc", + "BDF arrays require plain numerical words") + return {**_fingerprint(value), "words": value.tobytes(order="C").hex()} + + +def _encode(value: Any) -> Any: + if is_dataclass(value) and not isinstance(value, type): + return {field.name: _encode(getattr(value, field.name)) for field in fields(value)} + if type(value) is np.ndarray: + return {"$array": _array(value)} + if isinstance(value, np.generic): + return {"$scalar": _array(np.asarray(value))} + if isinstance(value, Enum): + return _encode(value.value) + if type(value) is float: + # Preserve every binary64 word, including signed zero and failed NaNs. + return {"$float": _array(np.asarray(value))} + if type(value) is tuple: + return {"$tuple": [_encode(item) for item in value]} + if type(value) is list: + return [_encode(item) for item in value] + if type(value) is dict: + _require(all(type(key) is str for key in value) and not set(value) & _TAGS, + "BDF record keys conflict with the numerical codec") + return {key: _encode(item) for key, item in value.items()} + if value is None or type(value) in (str, int, bool): + return value + raise ValueError("unsupported BDF record value: " + type(value).__name__) + + +def _decode(value: Any) -> Any: + if type(value) is list: + return [_decode(item) for item in value] + if type(value) is not dict: + return value + tags = set(value) & _TAGS + if not tags: + return {key: _decode(item) for key, item in value.items()} + _require(len(value) == 1, "ambiguous BDF numerical tag") + tag, = tags + item = value[tag] + if tag == "$tuple": + _require(type(item) is list, "invalid BDF tuple") + return tuple(_decode(part) for part in item) + if item.get("schema") == "solarlab.numeric-array.v1": + # Exact ReadinessV1/V2 codec, not construction of historical solver classes. + array = decode_array(item) + else: + _require(set(item) == {"dtype", "shape", "sha256", "words"}, "invalid BDF array fields") + dtype = np.dtype(item["dtype"]) + shape = item["shape"] + _require(dtype.str == item["dtype"] and not dtype.hasobject and dtype.fields is None + and dtype.kind in "biufc" and type(shape) is list and len(shape) <= 32 + and all(type(n) is int and n >= 0 for n in shape), "invalid BDF array dtype/shape") + raw = bytes.fromhex(item["words"]) + _require(len(raw) == math.prod(shape) * dtype.itemsize and _sha(raw) == item["sha256"], + "BDF array words or hash differ") + array = np.frombuffer(raw, dtype=dtype).reshape(shape) + array.setflags(write=False) + if tag == "$array": + return array + _require(array.shape == (), "BDF scalar requires scalar shape") + return array.item() if tag == "$float" else array[()] + + +def _digest(value: Any) -> str: + return _sha(_canonical(_encode(value))) + + +def _vector(value: Any, width: int | None = None, *, finite: bool = True) -> np.ndarray: + _require(type(value) is np.ndarray and value.ndim == 1 and value.dtype.kind == "f", + "BDF history requires real floating vectors") + _require(width is None or value.size == width, "BDF coordinate width differs") + _require(not finite or bool(np.all(np.isfinite(value))), "nonfinite accepted BDF vector") + return value + + +def _work(history: dict[str, Any]) -> dict[str, Any]: + attempts, samples = history["attempts"], history["samples"] + main = [step["newton"] for step in attempts if step["newton"] is not None] + auxiliary = [result for step in attempts for result in step["auxiliary_newton"]] + sample = [item["projection"] for item in samples if item.get("projection") is not None] + failure = history.get("sample_failure") + if failure is not None and failure.get("newton") is not None: + sample.append(failure["newton"]) + return { + "accepted_attempts": sum(step["accepted"] for step in attempts), + "rejected_attempts": sum(not step["accepted"] for step in attempts), + "main_newton_records": len(main), "auxiliary_newton_records": len(auxiliary), + "sample_newton_records": len(sample), "optional_samples": len(samples), + "main_newton_failures": sum(not item["accepted"] for item in main), + "auxiliary_newton_failures": sum(not item["accepted"] for item in auxiliary), + "sample_newton_failures": sum(not item["accepted"] for item in sample), + "nonlinear_calls": history["nonlinear_calls"], "evaluation_counts": history["evaluation_counts"], + "wall_s": history["wall_s"], "restart_records": len(history["restarts"]), + "initial_admission_wall_s": history["controls"].get("initial_admission_wall_s"), + } + + +def _checks_pass(checks: Any) -> bool: + _require(isinstance(checks, (tuple, list)) + and all(isinstance(check["passed"], (bool, np.bool_)) for check in checks), + "BDF gate receipts must have explicit Boolean outcomes") + # Read the recorded decisions; never re-evaluate a physical gate or limit. + return all(check["passed"] for check in checks) + + +def _validate_newton(newton: dict[str, Any], width: int) -> None: + _require(type(newton["accepted"]) is bool + and newton["accepted"] == (newton["termination"] == "converged"), + "BDF Newton completion contradicts its termination") + passed = _checks_pass(newton["gates"]) + _require(not newton["accepted"] or passed, "accepted BDF Newton record contains a rejected gate") + _vector(newton["state"], width, finite=newton["accepted"]) + _require(all(type(newton[key]) is int and newton[key] >= 0 + for key in ("residual_evaluations", "jacobian_evaluations")), + "invalid BDF Newton work counters") + + +def _validate_work(history: dict[str, Any]) -> None: + attempts, samples = history["attempts"], history["samples"] + integration = [record for step in attempts for record in (step["newton"], *step["auxiliary_newton"]) + if record is not None] + projections = [sample["projection"] for sample in samples if sample.get("projection") is not None] + failure = history.get("sample_failure") + if failure is not None and failure.get("newton") is not None: + projections.append(failure["newton"]) + counts, calls = history["evaluation_counts"], history["nonlinear_calls"] + required = {"residual", "jacobian", "storage", "assessment", "sample_projection", + "sample_residual", "sample_jacobian"} + _require(set(counts) == required and type(calls) is int and calls >= 0 + and all(type(n) is int and n >= 0 for n in counts.values()), "invalid BDF work counters") + # Calls increment before Newton returns. A terminal exception can therefore + # leave one call without a result, but cannot invent an arbitrary work count. + integration_gaps = sum(step["termination"] in {"evaluation_error", "wall_budget_exhausted"} + for step in attempts) + projection_gaps = int(failure is not None and failure.get("newton") is None) + sampled_calls = counts["sample_projection"] + _require(len(projections) <= sampled_calls <= len(projections) + projection_gaps + and len(integration) <= calls - sampled_calls <= len(integration) + integration_gaps, + "BDF nonlinear call counters contradict the saved histories") + for kind in ("residual", "jacobian"): + for records, observed, missing in ( + (projections, counts["sample_" + kind], sampled_calls - len(projections)), + (integration, counts[kind] - counts["sample_" + kind], calls - sampled_calls - len(integration)), + ): + recorded = sum(record[kind + "_evaluations"] for record in records) + _require(observed >= recorded and (missing > 0 or observed == recorded), + "BDF evaluation counters contradict the saved Newton work") + assessed = sum(step["assessment"] is not None for step in attempts) + successful = sum(step["newton"] is not None and step["newton"]["accepted"] for step in attempts) + minimum_storage = (1 + sum(step["accepted"] for step in attempts) + len(history["restarts"]) + + sum(not sample["accepted_step_endpoint"] for sample in samples)) + _require(assessed <= counts["assessment"] <= successful and counts["storage"] >= minimum_storage, + "BDF assessment/storage counters omit saved work") + _require(math.isfinite(history["wall_s"]) and history["wall_s"] >= 0 + and all(math.isfinite(step["wall_s"]) and step["wall_s"] >= 0 for step in attempts), + "invalid BDF elapsed work") + + +def _validate_history(history: dict[str, Any]) -> dict[str, Any]: + """Check saved relationships, without evaluating an equation or a gate.""" + _require(history["schema"] == _HISTORY_SCHEMA + and history["physical_certificate_status"] == "not_evaluated", "not an unqualified BDF history") + _require(history["controls"].get("method", _METHOD) == _METHOD, "mixed BDF/effective method record") + completed, termination = history["completed"], history["termination"] + _require(type(completed) is bool and completed == (termination == "completed"), + "BDF completion and termination differ") + start, end = history["initial_time_s"], history["final_time_s"] + _require(math.isfinite(start) and math.isfinite(end) and start < end, "invalid requested BDF interval") + initial = _vector(history["initial_u"]) + times = _vector(history["accepted_times_s"]) + states = history["accepted_coordinates"] + _require(bool(times.size > 0 and times[0] == start and np.all(np.diff(times) > 0) + and times[-1] <= end and len(states) == times.size), "BDF accepted prefix has invalid clocks or length") + for state in states: + _vector(state, initial.size) + restarts = {item["time_s"]: item for item in history["restarts"]} + _require(len(restarts) == len(history["restarts"]), "duplicate BDF restart clocks") + initial_restart = restarts.get(start) + initial_matches = _same(initial, states[0]) or (initial_restart is not None + and initial_restart["accepted"] is True and _same(initial, initial_restart["left_u"]) + and _same(states[0], initial_restart["right_u"])) + _require(initial_matches, "BDF initial state differs from accepted prefix/restart sides") + position = 0 + accepted_trials = {start: initial} + attempts = history["attempts"] + consecutive = 0 + for index, step in enumerate(attempts): + _require(type(step["accepted"]) is bool and type(step["order"]) is int and step["order"] in (1, 2) + and step["accepted"] == (step["termination"] == "accepted"), "invalid BDF attempt/order/termination") + _require(step["start_s"] == times[position] and step["start_s"] < step["end_s"] <= end, + "BDF trial clock differs from its last accepted state") + _vector(step["coefficients"], step["order"] + 1) + _vector(step["initial_coordinates"], initial.size, finite=False) + _vector(step["candidate_coordinates"], initial.size, finite=False) + if step["accepted"]: + position += 1 + _require(position < len(times) and step["end_s"] == times[position], + "BDF accepted clock differs from its accepted trial") + accepted_trials[step["end_s"]] = step["candidate_coordinates"] + restart = restarts.get(step["end_s"]) + if restart is None: + matches = _same(step["candidate_coordinates"], states[position]) + else: + # V1 retains the left integration node; some saved V2 histories + # retain the accepted restart's right node instead. Both words + # must be present: never reconstruct or overwrite either side. + matches = _same(step["candidate_coordinates"], restart["left_u"]) and ( + _same(states[position], restart["left_u"]) or + restart["accepted"] is True and _same(states[position], restart["right_u"])) + _require(matches, "BDF accepted state differs from its accepted trial/restart sides") + _require(step["termination"] == "accepted" and step["newton"] is not None + and step["newton"]["accepted"] is True, "BDF accepted trial has no successful Newton record") + _require(_same(step["candidate_coordinates"], step["newton"]["state"]) + and step["assessment"] is not None and _checks_pass(step["assessment"]["checks"]) + and all(item["accepted"] for item in step["auxiliary_newton"]), + "accepted BDF trial contradicts its Newton/assessment evidence") + consecutive = 0 + else: + consecutive += 1 + terminal = (step["termination"] in {"physical_gate_rejected", "evaluation_error", "wall_budget_exhausted"} + or not history["controls"]["adaptive"]) + if terminal: + _require(index == len(attempts) - 1 and not completed and termination == step["termination"], + "BDF history continues after a terminal rejected trial") + elif consecutive > history["controls"]["max_consecutive_rejections"]: + _require(index == len(attempts) - 1 and termination == "rejection_budget_exhausted", + "BDF history continues after exhausting its rejection budget") + for newton in (step["newton"], *step["auxiliary_newton"]): + if newton is not None: + _validate_newton(newton, initial.size) + _require(position + 1 == len(times), "BDF prefix contains an invented accepted endpoint") + restart_times = [] + for restart in history["restarts"]: + clock = restart["time_s"] + indices = np.flatnonzero(times == clock) + _require(indices.size == 1 and clock not in restart_times, "BDF restart is outside accepted progress") + restart_times.append(clock) + _require(_same(restart["left_u"], accepted_trials[clock]), "BDF restart lost its left state") + for name in ("left_u", "right_u", "left_storage", "right_storage"): + _vector(restart[name], initial.size) + _require(type(restart["accepted"]) is bool, "BDF restart acceptance must be explicit") + _require(restart["accepted"] == _checks_pass(restart["assessment"]["checks"]), + "BDF restart acceptance contradicts its recorded checks") + # In the captured electronic/single-ion adapters S is a function of + # the represented state. Identical sides cannot name different S words. + if _same(restart["left_u"], restart["right_u"]): + _require(_same(restart["left_storage"], restart["right_storage"]), + "BDF identical restart states have inconsistent left/right storage") + if not restart["accepted"]: + # The initial-event path records evaluation_error; later rejections + # record restart_physical_gate_rejected. Neither path starts a trial + # from the rejected right side or publishes optional output samples. + expected = "evaluation_error" if clock == start else "restart_physical_gate_rejected" + _require(not completed and clock == times[-1] and termination == expected + and all(step["start_s"] < clock for step in attempts) and not history["samples"], + "rejected BDF restart cannot complete or continue accepted progress") + _require(all(left < right for left, right in zip(restart_times, restart_times[1:])), + "BDF restart history is out of order") + rejected_restarts = [item for item in history["restarts"] if not item["accepted"]] + _require(termination != "restart_physical_gate_rejected" or bool(rejected_restarts), + "BDF restart termination lacks its rejected restart") + requested = _vector(history.get("requested_output_times_s")) + _require(bool(np.all(np.diff(requested) >= 0) and np.all(requested >= start) and np.all(requested <= end)), + "invalid requested BDF sample clocks") + observed_samples: dict[float, dict[str, Any]] = {} + for index, sample in enumerate(history["samples"]): + _require(requested is not None and index < requested.size and sample["time_s"] == requested[index], + "BDF optional sample differs from the requested sample prefix") + _require(sample["time_s"] <= times[-1], "BDF sample lies after accepted progress") + _vector(sample["u"], initial.size) + _vector(sample["storage_value"], initial.size) + _require(type(sample["accepted_step_endpoint"]) is bool, "missing BDF sample role") + clock = sample["time_s"] + _require(sample["accepted_step_endpoint"] == bool(np.any(times == clock)), + "BDF sample role contradicts the accepted clocks") + if sample["accepted_step_endpoint"]: + restart = restarts.get(clock) + state = states[int(np.flatnonzero(times == clock)[0])] if restart is None else restart["right_u"] + _require(_same(sample["u"], state) and sample["interpolant_order"] == 0 + and sample.get("projection") is None, "BDF endpoint sample has invented state or work") + if restart is not None: + _require(restart["accepted"] and _same(sample["storage_value"], restart["right_storage"]), + "BDF restart sample lost its right-side state/storage") + else: + _require(sample.get("projection") is not None and sample["projection"]["accepted"] is True, + "BDF interpolated sample lacks its accepted projection") + _validate_newton(sample["projection"], initial.size) + _require(_same(sample["u"], sample["projection"]["state"]) + and sample["interpolant_order"] in (1, 2), "BDF sample contradicts its saved projection") + previous = observed_samples.get(clock) + if previous is not None: + _require(_same(sample["u"], previous["u"]) and _same(sample["storage_value"], previous["storage_value"]), + "duplicate BDF sample clocks contain inconsistent state/storage") + observed_samples[clock] = sample + if completed: + _require(times[-1] == end and requested is not None and len(history["samples"]) == requested.size + and history.get("sample_failure") is None and not rejected_restarts, + "completed BDF record did not finish its request/restarts") + failure = history.get("sample_failure") + _require((failure is not None) == (termination == "sample_projection_failed"), + "BDF sample termination lacks its failure record") + _require(not history["samples"] or (times[-1] == end and (completed or failure is not None)), + "BDF optional samples precede completed integration") + if failure is not None: + _require(not completed and times[-1] == end and not rejected_restarts + and type(failure["accepted_sample_prefix"]) is int + and failure["accepted_sample_prefix"] == len(history["samples"]) + and requested is not None and len(history["samples"]) < requested.size + and failure["time_s"] == requested[len(history["samples"])], "BDF sample failure lost its requested clock") + if failure.get("newton") is not None: + _validate_newton(failure["newton"], initial.size) + controls = history["controls"] + _require(len(times) - 1 <= controls["max_steps"] and len(attempts) <= controls["max_attempts"], + "BDF history exceeds its saved step/attempt caps") + if termination == "step_budget_exhausted": + _require(times[-1] < end and (len(times) - 1 == controls["max_steps"] or len(attempts) == controls["max_attempts"]), + "BDF step-budget termination contradicts its accepted progress/work") + if termination == "rejection_budget_exhausted": + _require(times[-1] < end and controls["adaptive"] and consecutive > controls["max_consecutive_rejections"], + "BDF rejection-budget termination contradicts its saved trials") + _validate_work(history) + return {"schema": _SCHEMA, "requested_method": "bdf", "effective_method": _METHOD, + "qualification": False, "label": _LABEL, "completed": completed, + "termination": history["termination"], "requested_end_s": end, + "last_accepted_time_s": float(times[-1]), "requested_end_reached": completed, + "accepted_count": len(times), "sample_count": len(history["samples"]), "work": _work(history)} + + +def _input_record(request: dict[str, Any]) -> dict[str, Any]: + return {"requested_method": request["method"], "request_sha256": _digest(request), + "device_sha256": request["device_sha256"], "initial_sha256": request["initial_sha256"]} + + +def _requested_end_state(history: dict[str, Any]) -> np.ndarray | None: + """Return only a saved completed endpoint, including an accepted right side. + + The accepted integration node is retained separately. A failed sample or + restart never supplies a requested-end result, even if integration reached + that clock; samples and rejected candidates cannot manufacture an endpoint. + """ + if not history["completed"]: + return None + for restart in history["restarts"]: + if restart["accepted"] and restart["time_s"] == history["final_time_s"]: + return restart["right_u"] + return history["accepted_coordinates"][-1] + + +def _validate_body(body: dict[str, Any]) -> dict[str, Any]: + _require(body["schema"] == _SCHEMA and body["qualification"] is False and body["label"] == _LABEL, + "BDF publication cannot claim qualification or another method") + request, history = body["request"], body["history"] + _require(request["method"] == "bdf" and body["effective_method"] == _METHOD, "mixed requested/effective BDF methods") + summary = _validate_history(history) + _require(body["summary"] == summary, "BDF publication summary differs from its saved history") + controls = history["controls"] + effective = body["effective_bdf_options"] + _require(_digest(effective) == _digest({key: controls[key] for key in request["bdf_options"]}), + "BDF effective options differ from history") + _require(_digest(controls["physical_controls"]) == _digest(request["physical_controls"]) + and controls["compiled_identity"] == request["device_sha256"], "BDF physical/device controls differ from request") + _require(_digest(controls["drive"]) == _digest(request["drive"]), "BDF drive sides differ from the admitted request") + policy = request["event_restart_policy"] + events = {clock: policy["jump_restart"] for clock in policy["jump_times_s"]} + events.update({clock: policy["slope_restart"] for clock in policy["slope_breakpoints_s"]}) + actual = {restart["time_s"]: restart["name"] for restart in history["restarts"]} + _require(all(events.get(clock) == name for clock, name in actual.items()) + and all(clock in actual for clock in events + if summary["completed"] or clock < summary["last_accepted_time_s"]), + "BDF restart history contradicts the saved event policy") + _require(_same(history["requested_output_times_s"], request["protocol"]["times_s"]) + and history["initial_time_s"] == request["protocol"]["times_s"][0] + and history["final_time_s"] == request["protocol"]["times_s"][-1], "BDF requested/sample clocks differ") + _require(_digest(request["initial"]) == request["initial_sha256"] + and _same(request["initial"]["state"]["u"], history["initial_u"]), "BDF initial object differs from history") + if request["initial_source_sha256"] is None: + _require(_digest(controls["initial_controls"]) == _digest(request["initial_controls"]), + "BDF initial controls differ from admission") + else: + _require(controls["initial_source_sha256"] == request["initial_source_sha256"] + == request["initial"]["source_sha256"] + == _sha(request["initial"]["evidence_json"].encode()), "BDF initial evidence hash differs") + _require(_digest(request["initial_controls"]) == _digest(request["initial"]["steady_controls"]), + "BDF ionic initial controls differ from admission") + _require(body["remaining_wall_budget_s"] == controls["wall_s"] + and body["initial_admission_wall_s"] == controls["initial_admission_wall_s"], "BDF wall budget accounting differs") + _require(body["caps"] == {"requested_max_steps": request["bdf_options"]["max_steps"], + "physical_max_steps": request["physical_controls"].get("electronic", request["physical_controls"])["max_steps"], + "effective_max_steps": controls["max_steps"], "effective_max_attempts": controls["max_attempts"]}, + "BDF clipped caps differ from the saved controls") + return summary + + +def _capture_identity(body: dict[str, Any], provenance: dict[str, Any]) -> dict[str, str]: + description, request = provenance["description"], body["request"] + _require(provenance["status"] == "captured_at_computation" and description["scope"] == "bdf_computation_call" + and description["equation_implementation"] == request["equation_implementation"], + "BDF equation implementation differs from its capture") + admitted = read_provenance(description["job_provenance"]) + value = admitted.export() + _require(value["assembler"]["operator"] == "BDFStep:" + request["equation_implementation"]["problem"].rsplit(".", 1)[1] + and value["assembler"]["unified_assembler"] == request["equation_implementation"]["unified_assembler"], + "BDF declared equation binding differs from admission") + implementation = request["equation_implementation"] + assembled = implementation["kind"] == "assembled" + _require(implementation["kind"] in {"original", "assembled"} + and implementation["unified_assembler"] is assembled, + "BDF implementation kind differs from its equation binding") + if "provenance_binding" in implementation: + binding = implementation["provenance_binding"] + _require(type(binding) is dict and set(binding) == {"operator", "assembler_identity", "analysis_identity"}, + "BDF saved equation binding is incomplete") + expected_binding = {"operator": binding["operator"], "identity": binding["assembler_identity"], + "analysis_identity": binding["analysis_identity"], "unified_assembler": assembled} + else: + # Pre-wiring captures used Q6's original operator-only analysis identity. + # Verify that historical form from saved fields; never import today's helper. + _require(not assembled, "assembled BDF capture requires its complete saved equation binding") + operator = "BDFStep:" + implementation["problem"].rsplit(".", 1)[1] + expected_binding = {"operator": operator, "identity": None, "unified_assembler": False, + "analysis_identity": _sha(_canonical({"operator": operator}))} + _require(value["assembler"] == expected_binding + and (isinstance(expected_binding["identity"], str) if assembled else expected_binding["identity"] is None), + "BDF full saved equation binding differs from admission") + hashes = {"source_tree_sha256": value["source_tree_sha256"], + "runtime_sha256": _sha(_canonical(value["runtime_observed"])), + "device_sha256": request["device_sha256"], "initial_sha256": request["initial_sha256"]} + _require(body["hashes"] == hashes and description["runtime"] == value["runtime_observed"] + and description["input_record"] == _input_record(request), "BDF source/runtime/input binding differs") + expected = {"H_input": _sha(_canonical(_input_record(request))), "H_physics": request["device_sha256"], + "H_execution": _sha(_canonical(description))} + _require(provenance["identity"] == expected, "BDF computation capture differs from inputs/results") + result_provenance(description, expected_inputs=_input_record(request)) + return expected + + +def read_bdf_result(store: RunStore, run_id: str, *, attempt_id: str | None = None, + current_identity: JobProvenance | dict[str, Any] | None = None, + strict_same_source: bool = False) -> dict[str, Any]: + """Read a committed BDF publication without defaults, solvers or source recapture.""" + run = store.get_run(run_id) + selected = run["current_attempt_id"] if attempt_id is None else attempt_id + attempt = next((a for a in store.attempts(run_id) if a["attempt_id"] == selected), None) + _require(attempt is not None and attempt["terminal"] is not None + and attempt["state"] in {"succeeded", "failed", "cancelled"}, "a committed terminal BDF attempt is required") + assert attempt is not None + document = attempt["result"] + _require(type(document) is dict and document.get("schema") == _SCHEMA, "attempt does not contain a BDF publication") + owner = {"store_id": store.store_id, "run_id": run_id, "attempt_id": selected, + "owner_id": attempt["owner_id"], "generation": attempt["generation"]} + _require(document["owner"] == owner, "BDF publication belongs to another attempt") + references = {r["artifact_id"]: r for r in attempt["terminal"]["artifacts"]} + _require(len(references) == 2 and len(attempt["terminal"]["artifacts"]) == 2 + and set(document["artifact_ids"]) == set(references) and len(document["artifact_ids"]) == 2, + "BDF terminal lacks its exact artifact set") + + def content(identifier: str, name: str) -> bytes: + item = store.artifact(identifier) + _require(identifier in references and item["name"] == name and item["phase"] == "committed" + and item["format"] == "bytes" and item["metadata"] == {"schema": _SCHEMA, "role": name} + and all(item[key] == owner[key] for key in ("run_id", "attempt_id", "generation")) + and item["manifest_sha256"] == references[identifier]["manifest_sha256"], "BDF artifact role/owner/manifest differs") + return store.read_artifact(identifier) + + raw_manifest = content(document["manifest_artifact_id"], "bdf_manifest") + _require(_sha(raw_manifest) == document["manifest_sha256"], "BDF manifest hash differs") + manifest = _loads(raw_manifest) + _require(manifest["schema"] == _SCHEMA and manifest["owner"] == owner + and manifest["identity"] == run["request"]["identity"], "BDF manifest identity differs") + raw = content(manifest["history_artifact_id"], "bdf_history") + _require(_sha(raw) == manifest["history_sha256"], "BDF history content hash differs") + body = _decode(_loads(raw)) + summary = _validate_body(body) + _require(document["summary"] == summary and manifest["summary"] == summary, "BDF result and terminal summary differ") + _require(summary["completed"] == (attempt["state"] == "succeeded"), + "BDF completion and terminal outcome differ") + provenance = manifest["provenance"] + description = provenance["description"] + request = body["request"] + expected_identity = _capture_identity(body, provenance) + _require(expected_identity == manifest["identity"] + and provenance["history_sha256"] == _sha(raw), "BDF computation capture differs from inputs/results") + _require(manifest["publication_binding"] == publication_binding(description["job_provenance"], owner=owner, + request_identity=expected_identity, result_sha256=_sha(raw)), "BDF producer/publication binding differs") + comparison = result_provenance(description, current_identity, strict_same_source=strict_same_source, + expected_inputs=_input_record(request)) + return {"document": document, "manifest": manifest, "record": body, "history": body["history"], + "summary": summary, "run_state": attempt["state"], "provenance_comparison": comparison, + "last_accepted_state": body["history"]["accepted_coordinates"][-1], + "requested_end_state": _requested_end_state(body["history"])} + + +def read_bdf_packet(path: str | Path, sha256: str, *, strict_same_source: bool = False) -> dict[str, Any]: + """Read exact ReadinessV1/V2 packets, retaining unavailable historical provenance. + + The supplied digest binds the file bytes (including gzip when used). No old + packet is rewritten or promoted into a contemporaneously captured publication. + """ + raw = Path(path).read_bytes() + _require(_sha(raw) == sha256, "historical BDF packet hash differs") + content = gzip.decompress(raw) if raw.startswith(b"\x1f\x8b") else raw + encoded = _loads(content) + _require(encoded.get("method") == "bdf" and encoded.get("qualification") is False + and type(encoded.get("result")) is dict, "packet is not an unqualified BDF history") + packet = _decode(encoded) + summary = _validate_history(packet["result"]) + _require(packet["completed"] == summary["completed"] and packet["termination"] == summary["termination"], + "historical BDF packet contradicts its raw history") + _require(packet["compiled_identity"] == packet["result"]["controls"]["compiled_identity"] + and _same(packet["requested"]["times_s"], packet["result"]["requested_output_times_s"]), + "historical BDF packet input/clock binding differs") + _require(not strict_same_source, "strict_same_source requires complete historical source/runtime admission evidence") + return {"packet": packet, "history": packet["result"], "summary": summary, + "file_sha256": sha256, "original_packet_sha256": _sha(content), + "requested_bdf_options": packet["BDF_options"], "effective_controls": packet["result"]["controls"], + "source_pins": packet["source_pins"], "runtime_identity": None, + "provenance_status": "historical_packet; no admission/runtime identity inferred", + "last_accepted_state": packet["result"]["accepted_coordinates"][-1], + "requested_end_state": _requested_end_state(packet["result"])} + + +@dataclass(frozen=True, slots=True) +class CapturedBDFRun: + result: BDFResult + nodes_m: np.ndarray + history_bytes: bytes + capture_json: str + + @property + def identity(self) -> dict[str, str]: + return dict(_loads(self.capture_json.encode())["identity"]) + + +def run_bdf_for_publication( + compiled: Any, initial: Any, protocol: Any, *, options: Any, + bdf_options: BDFOptions, initial_options: Any = None, bdf_drive: BDFDrive | None = None, +) -> CapturedBDFRun: + """Capture an actual electronic or admitted single-ion BDF call. + + No default is flipped and no fallback is attempted. Admission refusals that + produce no BDF history still raise; returned failed histories are retained. + Initial/DC history is represented by its supplied bytes, not re-attributed. + """ + from solarlab.equations.dc_1d import CompiledDevice1D + from solarlab.equations.implementation import ( + ASSEMBLED, equation_implementation, provenance_binding, selected_implementation, + ) + from solarlab.equations.ionic_1d import CompiledIonicDevice1D + from solarlab.experiments.transient import solve_transient + from solarlab.experiments.ionic_transient import solve_ionic_transient + from solarlab.solvers.time.bdf import BDFOptions, BDFResult + from solarlab.solvers.time.bdf_1d import BDFDrive + + _require(type(bdf_options) is BDFOptions, "BDF publication requires explicit BDFOptions") + ionic = isinstance(compiled, CompiledIonicDevice1D) + _require(ionic or isinstance(compiled, CompiledDevice1D), "BDF publication requires a supported compiled device") + _require(ionic or initial_options is not None, "electronic BDF publication requires initial controls") + operator = "Ionic1DProblem" if ionic else "DC1DProblem" + selection = selected_implementation(operator="BDFStep:" + operator) + assembled = selection == ASSEMBLED + binding = provenance_binding("BDFStep:" + operator, compiled, + inventory_row_node=initial.steady_controls.inventory_row_node if ionic else None, assembled=assembled) + drive = BDFDrive.from_protocol(protocol) if bdf_drive is None else bdf_drive + _require(type(drive) is BDFDrive, "BDF publication requires the actual drive") + nodes = np.frombuffer(compiled.nodes_m.tobytes(), dtype=compiled.nodes_m.dtype).reshape(compiled.nodes_m.shape) + problem_module = ("assembly.ionic_1d" if ionic else "assembly.classical_1d") if assembled else ( + "ionic_1d" if ionic else "dc_1d") + implementation = {"problem": "solarlab.equations." + problem_module + "." + ("Assembled" if assembled else "") + operator, + "time_adapter": "solarlab.experiments.bdf." + ("solve_ionic_bdf" if ionic else "solve_electronic_bdf"), + "kind": "assembled" if assembled else "original", "unified_assembler": assembled, "provenance_binding": binding} + request = _decode(_encode({ + "method": "bdf", "bdf_options": asdict(bdf_options), "physical_controls": asdict(options), + "initial_controls": initial.steady_controls if ionic else asdict(initial_options), + "protocol": asdict(protocol), "drive": asdict(drive), "drive_was_explicit": bdf_drive is not None, + "nodes_m": nodes, "initial": initial, "initial_sha256": _digest(initial), + "initial_source_sha256": getattr(initial, "source_sha256", None), "device_sha256": compiled.identity, + "equation_implementation": implementation, + "event_restart_policy": { + "interpolation": "right[i] to left[i+1] between drive knots", + "breakpoints_s": tuple(float(t) for t in drive.times_s[1:-1]), + "jump_times_s": tuple(float(t) for t, left, right in zip(drive.times_s, drive.left_values, drive.right_values) + if not np.array_equal(left, right)), + "slope_breakpoints_s": drive.slope_breakpoints_s, + "jump_restart": "voltage_generation_protocol_jump", + "slope_restart": "drive_slope_discontinuity", "restart_order": 1, + "inventory": "retain physical inventory; check algebraic rows", + "output_samples": "optional post-integration projections; never accepted trajectory nodes", + }, + })) + inputs = _input_record(request) + started = datetime.now(timezone.utc).isoformat() + # Initial admission and integration retain the same resolved implementation. + with equation_implementation(selection), job_provenance(inputs, **binding) as admitted: + # A later RunStore publication is supported here, as in the BE capture + # API. Existing spawned routes must retain their separate verified + # transport/manifest admission rather than laundering an attempt claim. + _require(admitted.export()["attempt_ref"] is None + and admitted.export()["execution_manifest_sha256"] is None, + "process-bound BDF publication requires its verified worker/manifest route") + if ionic: + result = solve_ionic_transient(compiled, initial, protocol, options=options, + method="bdf", bdf_options=bdf_options, bdf_drive=drive) + else: + result = solve_transient(compiled, initial, protocol, options=options, initial_options=initial_options, + method="bdf", bdf_options=bdf_options, bdf_drive=drive) + _require(type(result) is BDFResult, "the requested BDF call returned another method") + history = _decode(_encode(result)) + summary = _validate_history(history) + runtime = admitted.export()["runtime_observed"] + body = {"schema": _SCHEMA, "qualification": False, "label": _LABEL, + "request": request, "history": history, "summary": summary, + "effective_method": _METHOD, + "effective_bdf_options": {key: history["controls"][key] for key in request["bdf_options"]}, + "remaining_wall_budget_s": history["controls"]["wall_s"], + "initial_admission_wall_s": history["controls"]["initial_admission_wall_s"], + "caps": {"requested_max_steps": bdf_options.max_steps, + "physical_max_steps": request["physical_controls"].get("electronic", request["physical_controls"])["max_steps"], + "effective_max_steps": history["controls"]["max_steps"], + "effective_max_attempts": history["controls"]["max_attempts"]}, + "hashes": {"source_tree_sha256": admitted.export()["source_tree_sha256"], + "runtime_sha256": _sha(_canonical(runtime)), "device_sha256": compiled.identity, + "initial_sha256": request["initial_sha256"]}} + _validate_body(body) + raw = _canonical(_encode(body)) + description = {"scope": "bdf_computation_call", "input_record": inputs, + "equation_implementation": implementation, "job_provenance": admitted.envelope(), + "runtime": runtime, "initial_history": "supplied object; no source/runtime provenance inferred"} + identity = {"H_input": _sha(_canonical(inputs)), "H_physics": compiled.identity, + "H_execution": _sha(_canonical(description))} + capture = {"status": "captured_at_computation", "started_utc": started, + "finished_utc": datetime.now(timezone.utc).isoformat(), "description": description, + "identity": identity, "history_sha256": _sha(raw)} + return CapturedBDFRun(result, nodes, raw, _canonical(capture).decode()) + + +def publish_bdf_result( + store: RunStore, token: AttemptToken, result: BDFResult, *, nodes_m: np.ndarray, + capture: CapturedBDFRun, +) -> dict[str, Any]: + """Publish captured completed/failed history; the attempt owner commits it.""" + _require(type(capture) is CapturedBDFRun, "BDF publication needs its contemporaneous capture, not inferred defaults") + body = _decode(_loads(capture.history_bytes)) + summary = _validate_body(body) + _require(_same(nodes_m, capture.nodes_m) and _same(nodes_m, body["request"]["nodes_m"]) + and _digest(result) == _digest(body["history"]), "BDF capture differs from result or grid words") + provenance = _loads(capture.capture_json.encode()) + _capture_identity(body, provenance) + _require(provenance["history_sha256"] == _sha(capture.history_bytes), "BDF capture history hash differs") + identity = store.get_run(token.run_id)["request"]["identity"] + _require(identity == capture.identity, "RunStore identity differs from the captured BDF computation") + owner = asdict(token) + binding = publication_binding(provenance["description"]["job_provenance"], owner=owner, + request_identity=identity, result_sha256=_sha(capture.history_bytes)) + history = store.publish(token, "bdf_history", bytes_artifact(capture.history_bytes, + metadata={"schema": _SCHEMA, "role": "bdf_history"})) + manifest = {"schema": _SCHEMA, "summary": summary, "owner": owner, "identity": identity, + "history_artifact_id": history["artifact_id"], "history_sha256": history["sha256"], + "provenance": provenance, "publication_binding": binding} + raw = _canonical(manifest) + record = store.publish(token, "bdf_manifest", bytes_artifact(raw, metadata={"schema": _SCHEMA, "role": "bdf_manifest"})) + return {"schema": _SCHEMA, "summary": summary, "owner": owner, + "manifest_artifact_id": record["artifact_id"], "manifest_sha256": _sha(raw), + "artifact_ids": [history["artifact_id"], record["artifact_id"]]} diff --git a/src/solarlab/experiments/execution.py b/src/solarlab/experiments/execution.py new file mode 100644 index 00000000..8f902d8e --- /dev/null +++ b/src/solarlab/experiments/execution.py @@ -0,0 +1,1793 @@ +"""Shared bounded spawn supervision against the real RunStore. + +This is prepared_pending_dependencies, not a P05 executor or scheduler service. +One parent monitor writes the store; children receive immutable document bytes +and transport synchronization only. All submitters use the same active/pending +capacity and accounting. No scientific registry, endpoint or cache is activated. + +Wall/RSS/disk limits are monitored limits, not a hard realtime sandbox. Receipts +include observed overruns and cleanup time. Counter completeness depends on the +trusted worker's explicit cumulative instrumentation, never UI progress. +""" + +from __future__ import annotations + +from collections import deque +from dataclasses import asdict, dataclass, field +import fcntl +import hashlib +import math +import multiprocessing +import os +from pathlib import Path +import sqlite3 +import subprocess +import threading +import time +from typing import Any +import uuid + +from solarlab.io.artifacts import ArtifactPayload, _parse_document +from solarlab.io.run_store import AttemptToken, RunStore, StateConflict +from solarlab.experiments.worker import ( + PROGRESS_BYTES, TERMINAL_BYTES, ManifestBinding, ResourceLimits, RunSpec, WorkerBinding, WorkerRequest, + _atomic_json, _child_main, _directory_bytes, _name, _object, _process_info, _regular_bytes, _sha, +) + +__all__ = ["ProcessSupervisor", "JobHandle", "ExecutionReceipt", "QueueFull", "ScanPoint", "ScanSpec", "ScanRunner"] + +SCAN_BYTES = 1024**2 # Match the shared strict metadata codec's 1 MiB bound. +MAX_SCAN_POINTS = 1024 +_TERMINAL = {"succeeded", "failed", "cancelled"} +_RSS_MAX_MISSING_SAMPLES = 3 +_RSS_MAX_GAP_SECONDS = 2.0 + + +class _RSSUnavailable(RuntimeError): + """The bounded window for enforcing the RSS budget has expired.""" + + +class _AdmissionLimit(RuntimeError): + """A measured shared limit leaves no capacity to start queued work.""" + + +class QueueFull(RuntimeError): + """No active reservation or bounded pending position remains.""" + + +@dataclass(frozen=True, slots=True) +class JobHandle: + store_id: str + run_id: str + attempt_id: str + + +@dataclass(frozen=True, slots=True) +class ExecutionReceipt: + document_json: str + + @property + def data(self) -> dict[str, Any]: + return _parse_document(self.document_json) + + +@dataclass(frozen=True, slots=True) +class ScanPoint: + point_id: str + run_id: str + coordinates_json: str + spec: RunSpec + + def __post_init__(self) -> None: + _name(self.point_id) + _name(self.run_id) + if type(self.spec) is not RunSpec: + raise ValueError("a scan point requires an explicit RunSpec") + if type(self.coordinates_json) is not str or len(self.coordinates_json.encode()) > 16384: + raise ValueError("scan coordinates require a bounded JSON object") + object.__setattr__(self, "coordinates_json", _object(_parse_document(self.coordinates_json))) + + def to_document(self) -> dict[str, Any]: + return {"point_id": self.point_id, "run_id": self.run_id, + "coordinates": _parse_document(self.coordinates_json), "spec": self.spec.to_document()} + + +@dataclass(frozen=True, slots=True) +class ScanSpec: + """An ordered declaration of at most 1 MiB; unsubmitted points use no slots.""" + + scan_id: str + points: tuple[ScanPoint, ...] + + def __post_init__(self) -> None: + _name(self.scan_id) + points = tuple(self.points) + if not 1 <= len(points) <= MAX_SCAN_POINTS or any(type(p) is not ScanPoint for p in points): + raise ValueError("a scan requires between 1 and 1024 explicit point declarations") + if len({p.point_id for p in points}) != len(points) or len({p.run_id for p in points}) != len(points): + raise ValueError("scan point and run IDs must be unique within the declaration") + object.__setattr__(self, "points", points) + if sum(len(p.spec.to_bytes()) + len(p.coordinates_json.encode()) for p in points) > SCAN_BYTES: + raise ValueError("scan declaration exceeds 1 MiB; it was not truncated") + if len(self.to_bytes()) > SCAN_BYTES: + raise ValueError("scan declaration exceeds 1 MiB; it was not truncated") + + def to_bytes(self) -> bytes: + return _object({"schema": "solarlab.scan-spec.v1", "scan_id": self.scan_id, + "points": [p.to_document() for p in self.points]}).encode() + + @classmethod + def from_bytes(cls, raw: bytes) -> ScanSpec: + if type(raw) is not bytes or len(raw) > SCAN_BYTES: + raise ValueError("invalid bounded scan transport") + value = _parse_document(raw.decode()) + if (type(value) is not dict or set(value) != {"schema", "scan_id", "points"} + or value["schema"] != "solarlab.scan-spec.v1" or type(value["points"]) is not list + or not 1 <= len(value["points"]) <= MAX_SCAN_POINTS): + raise ValueError("unknown or incomplete scan declaration") + points = [] + for point in value["points"]: + if type(point) is not dict or set(point) != {"point_id", "run_id", "coordinates", "spec"}: + raise ValueError("invalid scan point fields") + points.append(ScanPoint(point["point_id"], point["run_id"], _object(point["coordinates"]), + RunSpec.from_bytes(_object(point["spec"]).encode()))) + result = cls(value["scan_id"], tuple(points)) + if result.to_bytes() != raw: + raise ValueError("scan differs from its canonical declaration") + return result + + +@dataclass +class _Job: + handle: JobHandle + generation: int + request: WorkerRequest + binding: WorkerBinding + limits: ResourceLimits + enqueued: float + execution: ManifestBinding | None = None + token: AttemptToken | None = None + process: Any = None + directory: Path | None = None + pid: int | None = None + pgid: int | None = None + started: float | None = None + stop: Any = None + lock: Any = None + header: Any = None + buffer: Any = None + progress_revision: int = 0 + counts: dict[str, int | None] = field(default_factory=lambda: {"accepted_steps": None, "calls": None}) + peak_rss: int | None = None + output_peak: int = 0 + os_identity: dict[str, Any] | None = None + stop_reason: str | None = None + stop_state: str = "failed" + stop_at: float | None = None + terminate_at: float | None = None + kill_at: float | None = None + signals: list[str] = field(default_factory=list) + setup_error: str | None = None + + +class ProcessSupervisor: + """Explicit owner of a finite pool, local work area and RunStore writer. + + Construction starts only the parent monitor thread. ``submit`` requires an + allowlisted worker ID; a request cannot supply Python modules or commands. + ``close`` retains queued rows for explicit matching resubmission and stops + running children. It succeeds only after the owned children are joined. + + Recovered intents reserve only their affected slots. Explicit reconciliation + fences their recorded tokens, never all store runs, and never signals an + unowned/restored PID. Absence or a changed OS start identity proves that old + process exited; equal coarse timestamps remain uncertain. + """ + + def __init__( + self, store: RunStore, work_root: str | Path, workers: tuple[WorkerBinding, ...], *, + max_active: int, max_pending: int, shared_rss_bytes: int, shared_output_bytes: int, + soft_grace_seconds: float = 0.2, terminate_grace_seconds: float = 0.2, + poll_seconds: float = 0.025, + ) -> None: + if multiprocessing.current_process().daemon: + raise ValueError("workers cannot create nested supervisors or scans") + if not isinstance(store, RunStore) or not workers or any(type(w) is not WorkerBinding for w in workers): + raise ValueError("a real store and explicit trusted worker allowlist are required") + if len({w.id for w in workers}) != len(workers): + raise ValueError("duplicate trusted worker ID") + if type(max_active) is not int or max_active < 1 or type(max_pending) is not int or max_pending < 0: + raise ValueError("finite positive active and nonnegative pending capacities are required") + for value in (shared_rss_bytes, shared_output_bytes): + if type(value) is not int or value <= 0: + raise ValueError("explicit shared resource caps are required") + for interval in (soft_grace_seconds, terminate_grace_seconds, poll_seconds): + if type(interval) not in {int, float} or not math.isfinite(interval) or interval <= 0: + raise ValueError("bounded positive monitor and stop intervals are required") + root = Path(work_root) + if (not root.is_absolute() or root.resolve() != root or root == store.root + or root.is_relative_to(store.root) or store.root.is_relative_to(root)): + raise ValueError("work root must be a canonical local path disjoint from the store") + root.mkdir(mode=0o700, exist_ok=True) + self._lock_fd = os.open(root / ".supervisor.lock", os.O_RDWR | os.O_CREAT | os.O_NOFOLLOW, 0o600) + try: + fcntl.flock(self._lock_fd, fcntl.LOCK_EX | fcntl.LOCK_NB) + except BaseException: + os.close(self._lock_fd) + raise + self.store, self.work_root = store, root + self.owner_id = uuid.uuid4().hex + self._workers = {w.id: w for w in workers} + self.max_active, self.max_pending = max_active, max_pending + self._rss_cap, self._output_cap = shared_rss_bytes, shared_output_bytes + self._soft, self._terminate, self._poll = soft_grace_seconds, terminate_grace_seconds, poll_seconds + self._condition = threading.Condition(threading.RLock()) + self._context = multiprocessing.get_context("spawn") + self._pending: deque[_Job] = deque() + self._active: dict[str, _Job] = {} + self._known: dict[str, _Job] = {} + self._done: dict[str, ExecutionReceipt] = {} + self._recovery: dict[str, dict[str, Any]] = {} + self._control_recovery: dict[str, dict[str, Any]] = {} + self._unknown_history: set[str] = set() + self._scans: dict[str, ScanRunner] = {} + self._closing = False + self._closed = False + self._fatal: BaseException | None = None + self._parent_rss: int | None = None + self._shared_rss: int | None = None + self._known_family_rss: int | None = None + self._unlocated_prior_intents = 0 + self._sampled_family_pids: list[int] = [] + self._shared_peak_rss: int | None = None + self._rss_sample_at: float | None = None + self._rss_missing_since: float | None = None + self._rss_missing_count = 0 + self._rss_failures_total = 0 + self._rss_sample_error: str | None = None + self._control_cleanup_errors: list[str] = [] + self._control_audit_errors: dict[str, list[str]] = {} + self._control_retention: dict[str, list[str]] = {} + try: + self._store_baseline = _directory_bytes(store.root) + self._shared_output_peak = _directory_bytes(root) + for directory in sorted(root.glob(store.store_id + "-*")): + if directory.is_symlink() or not directory.is_dir(): + raise ValueError("unsafe previous owned work directory") + receipt = self._discover_control_failure(directory) + if receipt is not None: + if (directory / "finalization.json").exists(): + audit = self._read_json(directory / "finalization.json") + if audit.get("token") != receipt.get("token"): + raise ValueError("finalization audit belongs to a different attempt") + self._shared_output_peak = max(self._shared_output_peak, audit["shared_output_peak_bytes"]) + receipt = {**receipt, "finalization": audit} + if (directory / "finalization_overrun.json").exists(): + overrun = self._read_json(directory / "finalization_overrun.json") + if overrun.get("token") != receipt.get("token"): + raise ValueError("finalization overrun belongs to a different attempt") + self._shared_output_peak = max(self._shared_output_peak, overrun["observed_bytes"]) + receipt = {**receipt, "finalization_overrun": overrun} + self._done[receipt["attempt_id"]] = ExecutionReceipt(_object(receipt)) + if receipt.get("terminal_committed") and (receipt.get("process_started") is False + or receipt.get("process_exit_observed") is True and receipt.get("process_joined") is True): + continue + if (directory / "launch.json").exists(): + launch = self._read_json(directory / "launch.json") + token = AttemptToken(**launch["token"]) + if token.store_id != store.store_id or directory.name != store.store_id + "-" + token.attempt_id: + raise ValueError("previous process intent belongs to a different store/attempt") + if (directory / "reconciled.json").exists(): + recovered = self._read_json(directory / "reconciled.json") + if recovered.get("token") != asdict(token) or recovered.get("evidence", {}).get("process_exit_observed") is not True: + raise ValueError("invalid prior process reconciliation") + self._unknown_history.add(token.attempt_id) + else: + self._recovery[token.attempt_id] = {"directory": directory, "launch": launch} + else: + entry = self._control_recovery.get(directory.name[len(store.store_id) + 1:]) + if entry is not None and entry["intent"] is not None: + process = entry["intent"]["result"]["process"] + if process.get("process_started") and process.get("token") is not None: + token = AttemptToken(**process["token"]) + self._recovery[token.attempt_id] = {"directory": directory, + "launch": {"token": asdict(token)}, "process": process} + self._thread = threading.Thread(target=self._loop, name="solarlab-process-supervisor", daemon=True) + self._thread.start() + except BaseException: + os.close(self._lock_fd) + raise + + @staticmethod + def _read_json(path: Path) -> dict[str, Any]: + value = _parse_document(_regular_bytes(path, TERMINAL_BYTES).decode()) + _object(value) + return value + + def _control_error(self, attempt_id: str, operation: str, error: Exception) -> None: + message = operation + ": " + type(error).__name__ + ": " + str(error)[:512] + errors = self._control_audit_errors.setdefault(attempt_id, []) + if message not in errors: + errors.append(message) + self._control_cleanup_errors.append(attempt_id + "/" + message) + + def _control_binding(self, directory: Path, intent: dict[str, Any]) -> tuple[JobHandle, AttemptToken | None]: + handle = JobHandle(**intent["handle"]) + generation, owner = intent["generation"], intent["owner_id"] + if (intent["schema"] != "solarlab.supervisor-control-failure.v1" + or handle.store_id != self.store.store_id + or directory.name != handle.store_id + "-" + handle.attempt_id + or type(generation) is not int or generation < 0 + or owner is not None and (type(owner) is not str or not owner) + or intent["result"]["worker_result"]["reason"] != "supervisor_control_failure"): + raise ValueError("invalid prior control-failure intent") + token = AttemptToken(**intent["token"]) if intent["token"] is not None else None + if token is not None and (token.store_id != handle.store_id or token.run_id != handle.run_id + or token.attempt_id != handle.attempt_id or token.owner_id != owner or token.generation != generation): + raise ValueError("control-failure token differs from its retained binding") + process_token = intent["result"]["process"].get("token") + if process_token is not None: + saved = AttemptToken(**process_token) + if (saved.store_id != handle.store_id or saved.run_id != handle.run_id + or saved.attempt_id != handle.attempt_id or saved.owner_id != owner + or saved.generation != generation + (token is None)): + raise ValueError("control-failure process differs from its retained binding") + return handle, token + + def _fallback_control_intent(self, directory: Path, record: dict[str, Any]) -> dict[str, Any]: + """Read historical failure evidence; never reconstruct or run a request.""" + if "control_intent" in record: + return dict(record["control_intent"]) + saved_token = record.get("token") + if saved_token is None: + try: + saved_token = self._read_json(directory / "launch.json")["token"] + except FileNotFoundError: + pass + token = AttemptToken(**saved_token) if saved_token is not None else None + run_id = record.get("run_id", token.run_id if token else None) + attempt_id = record.get("attempt_id", token.attempt_id if token else None) + if type(run_id) is not str or type(attempt_id) is not str: + raise ValueError("failure evidence lacks its run/attempt binding") + handle = JobHandle(self.store.store_id, run_id, attempt_id) + prior = next(a for a in self.store.attempts(handle.run_id) if a["attempt_id"] == handle.attempt_id) + if token is None and (prior["owner_id"] is not None or prior["started_ns"] is not None): + raise StateConflict("failure evidence lacks the claimed owner/generation; administrative fencing required") + process = {key: record.get(key) for key in ( + "pid", "pgid", "os_identity", "exitcode", "signals", "process_started", + "process_joined", "process_exit_observed")} + process["token"] = asdict(token) if token is not None else None + if "process_started" not in record: + process["process_started"] = type(process["pid"]) is int and process["pid"] > 0 + resources = record.get("resources", {key: None for key in ( + "owned_wall_seconds", "queue_seconds", "child_peak_rss_bytes", "output_bytes", "accepted_steps", "calls")}) + failure = record.get("control_failure") or record.get("worker_result") or { + "reason": "supervisor_control_failure", "control_reason": "retained_control_exit_evidence"} + return {"schema": "solarlab.supervisor-control-failure.v1", "handle": asdict(handle), + "generation": token.generation if token else prior["generation"], + "owner_id": token.owner_id if token else None, "token": process["token"], + "result": {"status": "prepared_pending_dependencies", "worker_result": failure, + "process": process, "resources": resources, + "counter_observation_kind": "worker_reported_or_null_unobserved"}} + + def _discover_control_failure(self, directory: Path) -> dict[str, Any] | None: + """Load all available evidence, including complete interrupted writes. + + Nonterminal receipts are recovery input, never completed submissions. + A damaged record is retained and reported without hiding other attempts. + """ + attempt_id = directory.name[len(self.store.store_id) + 1:] + receipt: dict[str, Any] | None = None + intent: dict[str, Any] | None = None + selected_rank = 4 + control = attempt_id in self._control_recovery + paths = [directory / name for name in ("control-failure.json", "receipt.json", "exit.json")] + for name in ("control-failure.json", "receipt.json", "exit.json"): + paths.append(directory / (name + ".part")) + paths.extend(sorted(directory.glob(name + ".recovery-*"))) + for path in paths: + try: + record = self._read_json(path) + except FileNotFoundError: + continue + except Exception as error: + self._control_error(attempt_id, path.name, error) + control = True + continue + if path.name == "receipt.json": + receipt = record + is_intent = path.name.startswith("control-failure.json") + if not (is_intent or record.get("control_failure") or record.get("control_intent") + or record.get("reason") == "supervisor_control_failure" + or record.get("worker_result", {}).get("reason") == "supervisor_control_failure"): + continue + control = True + try: + candidate = record if is_intent else self._fallback_control_intent(directory, record) + handle, token = self._control_binding(directory, candidate) + prior = next(a for a in self.store.attempts(handle.run_id) if a["attempt_id"] == handle.attempt_id) + if prior["state"] not in _TERMINAL: + if prior["state"] == "queued": + if token is not None or candidate["generation"] != prior["generation"]: + raise StateConflict("failure evidence differs from the queued generation") + elif (candidate["owner_id"] is None or candidate["owner_id"] != prior["owner_id"] + or candidate["generation"] + (token is None) != prior["generation"]): + raise StateConflict("failure evidence differs from the claimed owner/generation") + except Exception as error: + self._control_error(attempt_id, path.name, error) + continue + retained = self._control_retention.setdefault(attempt_id, []) + if path.name not in retained: + retained.append(path.name) + rank = 0 if is_intent else 1 if "control_intent" in record else 2 if path.name.startswith("receipt.json") else 3 + if rank < selected_rank: + intent = candidate + selected_rank = rank + if not control: + return receipt + if receipt is not None and intent is not None: + handle, _ = self._control_binding(directory, intent) + prior = next(a for a in self.store.attempts(handle.run_id) if a["attempt_id"] == attempt_id) + if (receipt.get("terminal_committed") is True and prior["state"] in _TERMINAL + and receipt.get("run_id") == handle.run_id and receipt.get("attempt_id") == attempt_id + and receipt.get("store_state") == prior["state"] + and receipt.get("worker_result") == prior["result"].get("worker_result", prior["result"])): + return receipt # Preserve an already current terminal receipt's bytes. + committed = False + if intent is not None: + handle, token = self._control_binding(directory, intent) + prior = next(a for a in self.store.attempts(handle.run_id) if a["attempt_id"] == attempt_id) + committed = prior["state"] in _TERMINAL + if committed: + self._done[attempt_id] = ExecutionReceipt(_object(self._control_receipt(intent, prior, token))) + self._control_recovery[attempt_id] = {"directory": directory, "intent": intent, + "terminal_committed": committed} + return None + + @staticmethod + def _control_receipt(intent: dict[str, Any], prior: dict[str, Any], token: AttemptToken | None) -> dict[str, Any]: + result, handle = intent["result"], intent["handle"] + return {"status": "prepared_pending_dependencies", "run_id": handle["run_id"], + "attempt_id": handle["attempt_id"], **result["process"], + "token": asdict(token) if token is not None else result["process"].get("token"), + "store_state": prior["state"], "proposed_state": "failed", "terminal_committed": True, + "commit_error": None, "resources": result["resources"], + "worker_result": prior["result"].get("worker_result", prior["result"]), + "terminal_artifacts": [a["artifact_id"] for a in prior["terminal"]["artifacts"]], + "publication_error": None, "control_failure": result["worker_result"], "control_intent": intent} + + def _check_open(self) -> None: + if self._fatal is not None: + raise RuntimeError("supervisor control failure; inspect retained process records") from self._fatal + if self._closing or self._closed: + raise RuntimeError("supervisor is closing or closed") + if any(not entry["terminal_committed"] for entry in self._control_recovery.values()): + raise RuntimeError("uncommitted control failures require explicit reconciliation before submission") + + def _submission(self, worker_id: str, request: WorkerRequest, limits: ResourceLimits, + execution: ManifestBinding | None) -> tuple[dict[str, Any], dict[str, Any]]: + if type(request) is not WorkerRequest or type(limits) is not ResourceLimits: + raise ValueError("explicit immutable request documents and resource limits are required") + if worker_id not in self._workers: + raise ValueError("worker ID is not in the trusted code allowlist") + binding = self._workers[worker_id] + binding.validate_request(request) + if limits.rss_bytes > self._rss_cap or limits.output_bytes > self._output_cap: + raise ValueError("request resource limit exceeds the explicit shared capacity") + document = request.to_document() + metadata = {"transport": document, "worker_binding": asdict(binding), "limits": asdict(limits)} + if execution is not None: + if type(execution) is not ManifestBinding: + raise ValueError("explicit trusted manifest binding required") + execution.validate_request(request) + if len(execution.manifest.canonical_json) * 4 + 16384 > limits.output_bytes: + raise ValueError("output allowance cannot retain the complete execution manifest") + metadata["execution_manifest"] = execution.summary() + identity = {key: document[key] for key in ("H_input", "H_physics", "H_execution")} + return identity, metadata + + def submit(self, run_id: str, worker_id: str, request: WorkerRequest, limits: ResourceLimits, *, + execution: ManifestBinding | None = None) -> JobHandle: + identity, metadata = self._submission(worker_id, request, limits, execution) + binding = self._workers[worker_id] + with self._condition: + self._check_open() + try: + previous = self.store.get_run(run_id) + except KeyError: + previous = None + if previous is not None: + # Matching duplicates are idempotent even when the queue is full. + self.store.enqueue(run_id, opaque_identity=identity, input_metadata=metadata) + old = previous["current_attempt_id"] + if old in self._known or old in self._done: + return JobHandle(self.store.store_id, run_id, old) + if previous["state"] != "queued": + raise StateConflict("only an explicitly queued attempt can be resumed; retries belong to RunStore") + if len(self._active) + len(self._pending) + len(self._recovery) >= self.max_active + self.max_pending: + raise QueueFull("shared active reservations and pending queue are full") + record = self.store.enqueue(run_id, opaque_identity=identity, input_metadata=metadata) + handle = JobHandle(self.store.store_id, run_id, record["current_attempt_id"]) + job = _Job(handle, record["generation"], request, binding, limits, time.monotonic(), execution) + self._known[handle.attempt_id] = job + self._pending.append(job) + self._condition.notify_all() + return handle + + def scan(self, spec: ScanSpec, *, executions: tuple[ManifestBinding, ...], max_in_flight: int) -> ScanRunner: + """Parent-side coordination using this exact server/sweep resource owner. + + No coordinator process or second pool is created. The caller drives + ``advance`` or bounded ``wait``; only admitted points occupy capacity. + """ + with self._condition: + self._check_open() + if type(spec) is not ScanSpec: + raise ValueError("an explicit immutable scan declaration is required") + previous = self._scans.get(spec.scan_id) + if previous is not None: + if previous.spec != spec or previous.executions != tuple(executions) or previous.max_in_flight != max_in_flight: + raise StateConflict("scan coordinator already exists with different inputs or capacity") + return previous + runner = ScanRunner(self, spec, tuple(executions), max_in_flight=max_in_flight) + self._scans[spec.scan_id] = runner + return runner + + def cancel(self, handle: JobHandle, *, reason: str = "cancel_requested") -> bool: + if type(reason) is not str or not reason.strip(): + raise ValueError("cancellation requires an explicit reason") + with self._condition: + try: + return self._cancel(handle, reason) + except (StateConflict, KeyError): + raise + except BaseException as error: + self._abort_control(error) + raise RuntimeError("supervisor failed during cancellation") from error + + def _cancel(self, handle: JobHandle, reason: str) -> bool: + """Unexpected cancellation side-effect failures abort the owned pool.""" + with self._condition: + if handle.store_id != self.store.store_id: + raise StateConflict("foreign store handle") + if handle.attempt_id in self._done: + return False + job = self._known[handle.attempt_id] + if job.handle != handle: + raise StateConflict("stale run/attempt handle") + if job in self._pending: + self.store.cancel(handle.run_id, expected_attempt_id=handle.attempt_id, + expected_generation=job.generation, reason=reason) + self._pending.remove(job) + self._done[handle.attempt_id] = ExecutionReceipt(_object({ + "status": "prepared_pending_dependencies", "run_id": handle.run_id, "attempt_id": handle.attempt_id, + "store_state": "cancelled", "terminal_committed": True, "reason": reason, + "process_started": False, "process_exit_observed": None, "process_joined": False, + "resources": {"owned_wall_seconds": 0.0, "queue_seconds": time.monotonic() - job.enqueued, + "accepted_steps": None, "calls": None, "child_peak_rss_bytes": None, "output_bytes": 0}})) + directory = self.work_root / (self.store.store_id + "-" + handle.attempt_id) + directory.mkdir(mode=0o700) + _atomic_json(directory / "receipt.json", self._done[handle.attempt_id].data) + self._condition.notify_all() + return True + if job.stop_reason is not None: + return False + self._request_stop(job, reason, "cancelled") + self._condition.notify_all() + return True + + def wait(self, handle: JobHandle, timeout: float) -> ExecutionReceipt: + if type(timeout) not in {int, float} or not math.isfinite(timeout) or timeout <= 0: + raise ValueError("wait requires a positive finite timeout") + deadline = time.monotonic() + timeout + with self._condition: + recovery = self._control_recovery.get(handle.attempt_id) + if self._fatal is None and recovery is not None and not recovery["terminal_committed"]: + raise RuntimeError("uncommitted control failure requires explicit reconciliation before readback") + while handle.attempt_id not in self._done: + if self._fatal is not None: + raise RuntimeError("supervisor failed; child cleanup is still owned until close returns") from self._fatal + if self._closed: + raise RuntimeError("queued work was retained; explicitly resubmit its matching documents after restart") + remaining = deadline - time.monotonic() + if remaining <= 0: + raise TimeoutError("attempt has not produced a joined-process receipt") + self._condition.wait(remaining) + receipt = self._done[handle.attempt_id] + if handle.store_id != self.store.store_id or receipt.data["run_id"] != handle.run_id: + raise StateConflict("foreign/stale result handle") + return receipt + + def _request_stop(self, job: _Job, reason: str, state: str) -> None: + if job.stop_reason is not None: + return + assert job.token is not None and job.directory is not None + job.stop_reason, job.stop_state, job.stop_at = reason, state, time.monotonic() + decision = {"token": asdict(job.token), "reason": reason, "state": state, "requested_monotonic": job.stop_at} + if job.setup_error is not None: + decision["setup_error"] = job.setup_error + _atomic_json(job.directory / "stop.json", decision) + job.stop.set() + job.signals.append("soft_stop") + try: + self.store.append_event(job.token, event_id="stop_requested", payload=decision) + except StateConflict: + pass # Revoked authority is retained; signalling still targets our owned child. + + def _start(self, job: _Job) -> None: + job.token = self.store.claim(job.handle.run_id, expected_attempt_id=job.handle.attempt_id, + expected_generation=job.generation, owner_id=self.owner_id) + job.generation = job.token.generation + job.started = time.monotonic() + job.directory = self.work_root / (self.store.store_id + "-" + job.handle.attempt_id) + job.directory.mkdir(mode=0o700) + if job.execution is not None: + # This owned launch input remains available even if the child + # crashes before returning or refuses the actual environment. + with (job.directory / "execution-manifest.json").open("xb") as stream: + stream.write(job.execution.manifest.canonical_json) + stream.flush() + os.fsync(stream.fileno()) + _atomic_json(job.directory / "launch.json", {"schema": "solarlab.process-intent.v1", "token": asdict(job.token), + "request_sha256": hashlib.sha256(job.request.to_bytes()).hexdigest(), "binding": asdict(job.binding), + "limits": asdict(job.limits), "started_monotonic": job.started, "owner_pid": os.getpid()}) + job.stop = self._context.Event() + job.lock = self._context.Lock() + job.header = self._context.RawArray("q", (0, 0, -1, -1)) + job.buffer = self._context.RawArray("B", PROGRESS_BYTES) + job.process = self._context.Process(target=_child_main, args=(job.request.to_bytes(), job.binding, job.limits, + str(job.directory), asdict(job.token), job.stop, job.lock, job.header, job.buffer, job.execution), daemon=True) + self._active[job.handle.attempt_id] = job + job.process.start() + job.pid = job.process.pid + assert job.pid is not None + try: + job.pgid = os.getpgid(job.pid) + except ProcessLookupError: + pass + _atomic_json(job.directory / "spawned.json", {"token": asdict(job.token), "pid": job.pid, "pgid": job.pgid}) + + def _progress(self, job: _Job) -> None: + if not job.lock.acquire(False): + return + try: + revision, length, steps, calls = job.header[:] + raw = bytes(job.buffer[:length]) if 0 <= length <= PROGRESS_BYTES else b"" + finally: + job.lock.release() + if revision < job.progress_revision or not 0 <= length <= PROGRESS_BYTES: + raise ValueError("corrupt shared progress header") + for name, value in (("accepted_steps", steps), ("calls", calls)): + old = job.counts[name] + observed = None if value == -1 else value + if observed is not None and (observed < 0 or old is not None and observed < old): + raise ValueError("corrupt decreasing cumulative counter") + if observed is not None: + job.counts[name] = observed + if revision > job.progress_revision and raw: + assert job.token is not None + try: + self.store.append_event(job.token, event_id=f"ui-{revision}", payload={"ui_progress": _parse_document(raw.decode()), + "coalesced_revision": revision}) + except StateConflict: + pass + job.progress_revision = revision + + def _unstarted(self, job: _Job, error: BaseException) -> None: + if job.process is not None and job.process.pid is not None: + job.pid = job.process.pid + job.setup_error = type(error).__name__ + ": " + str(error)[:1024] + self._request_stop(job, "spawn_setup_failed", "failed") + return # Keep this exact child and slot owned through normal bounded stop/join. + committed = False + reason = str(error) if isinstance(error, _AdmissionLimit) else "spawn_failed" + result = {"reason": reason, "detail": str(error)[:1024], "process_started": False} + try: + if job.token is not None: + self.store.complete(job.token, state="failed", result=result) + else: + self.store.fail_queued(job.handle.run_id, expected_attempt_id=job.handle.attempt_id, + expected_generation=job.generation, result=result) + committed = True + except StateConflict: + pass + prior = next(a for a in self.store.attempts(job.handle.run_id) if a["attempt_id"] == job.handle.attempt_id) + if prior["state"] == "running" and prior["owner_id"] == self.owner_id: + # A claim can commit before returning its token. Do not strand our + # own generation in the expected spawn-error/conflict fallback. + raise RuntimeError("unstarted owned claim has no terminal state") from error + receipt = {"status": "prepared_pending_dependencies", "run_id": job.handle.run_id, + "attempt_id": job.handle.attempt_id, "store_state": prior["state"], "terminal_committed": committed, + "reason": reason if isinstance(error, _AdmissionLimit) else "spawn_failed_or_queued_authority_revoked", + "worker_result": result, "detail": str(error)[:1024], + "process_started": False, "process_exit_observed": None, "process_joined": False, + "resources": {"owned_wall_seconds": time.monotonic() - job.started if job.started is not None else 0.0, + "queue_seconds": (job.started or time.monotonic()) - job.enqueued, "accepted_steps": None, + "calls": None, "child_peak_rss_bytes": None, "output_bytes": 0}} + self._done[job.handle.attempt_id] = ExecutionReceipt(_object(receipt)) + self._active.pop(job.handle.attempt_id, None) + if job.directory is not None and job.directory.is_dir() and not (job.directory / "receipt.json").exists(): + _atomic_json(job.directory / "receipt.json", receipt) + if job.process is not None: + job.process.close() + self._condition.notify_all() + + def _resource_reason(self, job: _Job, now: float) -> str | None: + assert job.started is not None and job.directory is not None + job.output_peak = max(job.output_peak, _directory_bytes(job.directory)) + if now - job.started > job.limits.wall_seconds: + return "wall_limit" + if job.peak_rss is not None and job.peak_rss > job.limits.rss_bytes: + return "rss_limit" + if job.output_peak > job.limits.output_bytes: + return "output_limit" + for name, cap in (("accepted_steps", job.limits.accepted_steps), ("calls", job.limits.calls)): + observed = job.counts[name] + if cap is not None and observed is not None and observed > cap: + return name + "_limit" + return None + + def _sample(self) -> None: + self._shared_output() + if (self._rss_missing_since is not None + and time.monotonic() - self._rss_missing_since >= _RSS_MAX_GAP_SECONDS): + raise _RSSUnavailable("RSS measurement gap exceeded its bounded interval") + pids = [os.getpid(), *(j.pid for j in self._active.values() if j.pid is not None)] + self._unlocated_prior_intents = 0 + for recovered in self._recovery.values(): + located = False + for name in ("started.json", "spawned.json"): + path = recovered["directory"] / name + if path.exists(): + old = self._read_json(path) + if old.get("token") != recovered["launch"]["token"] or type(old.get("pid")) is not int or old["pid"] <= 0: + raise ValueError("invalid unresolved process identity") + pids.append(old["pid"]) + located = True + break + if not located: + self._unlocated_prior_intents += 1 + # Include spawn's resource tracker and auxiliary descendants. This is a + # conservative parent-family charge, not only a sum of worker processes. + started = time.monotonic() + try: + information = _process_info(pids, include_descendants=True) + except (subprocess.SubprocessError, OSError, UnicodeError) as error: + self._missing_rss_sample(started, type(error).__name__ + ": " + str(error)[:512]) + return + live_pids = [os.getpid(), *(j.pid for j in self._active.values() + if j.pid is not None and j.process.is_alive())] + if any(pid not in information or information[pid]["rss_bytes"] <= 0 for pid in live_pids): + self._missing_rss_sample(started, "RSS is missing for a live owned process or its parent") + return + if (self._rss_missing_since is not None + and time.monotonic() - self._rss_missing_since >= _RSS_MAX_GAP_SECONDS): + raise _RSSUnavailable("RSS measurement resumed after its bounded interval expired") + self._rss_sample_at = started + self._rss_missing_since = None + self._rss_missing_count = 0 + self._rss_sample_error = None + self._sampled_family_pids = sorted(information) + self._parent_rss = information.get(os.getpid(), {}).get("rss_bytes") + self._known_family_rss = sum(info["rss_bytes"] for info in information.values()) if self._parent_rss is not None else None + self._shared_rss = self._known_family_rss if self._unlocated_prior_intents == 0 else None + if self._known_family_rss is not None: + self._shared_peak_rss = max(self._shared_peak_rss or 0, self._known_family_rss) + for job in self._active.values(): + info = information.get(job.pid) if job.pid is not None else None + if info is not None: + job.os_identity = info + job.peak_rss = max(job.peak_rss or 0, info["rss_bytes"]) + self._shared_output_peak = max(self._shared_output_peak, _directory_bytes(self.work_root) + + max(0, _directory_bytes(self.store.root) - self._store_baseline)) + + def _missing_rss_sample(self, started: float, detail: str) -> None: + if self._rss_missing_since is None: + self._rss_missing_since = (self._rss_sample_at + if self._active and self._rss_sample_at is not None else started) + self._rss_missing_count += 1 + self._rss_failures_total += 1 + self._rss_sample_error = detail + # No stale measurement is represented as current and missing is never + # charged as zero. Historical peaks remain available for accounting. + self._parent_rss = self._known_family_rss = self._shared_rss = None + self._sampled_family_pids = [] + if (self._rss_missing_count >= _RSS_MAX_MISSING_SAMPLES + or time.monotonic() - self._rss_missing_since >= _RSS_MAX_GAP_SECONDS): + raise _RSSUnavailable("RSS measurement unavailable: " + detail) + + def _rss_observation(self) -> dict[str, Any]: + return {"last_sample_monotonic": self._rss_sample_at, + "missing_since_monotonic": self._rss_missing_since, + "consecutive_missing_samples": self._rss_missing_count, + "missing_samples_total": self._rss_failures_total, + "max_missing_samples": _RSS_MAX_MISSING_SAMPLES, + "max_missing_seconds": _RSS_MAX_GAP_SECONDS, + "last_error": self._rss_sample_error} + + def _failure_commit(self, writer: RunStore, job: _Job, result: dict[str, Any]) -> dict[str, Any]: + """Fence a failure to this admitted attempt; never relabel a terminal.""" + if writer.store_id != job.handle.store_id: + raise StateConflict("control failure cannot write to a different store") + prior = next(a for a in writer.attempts(job.handle.run_id) if a["attempt_id"] == job.handle.attempt_id) + if prior["state"] in _TERMINAL: + return prior + current = writer.get_run(job.handle.run_id) + if current["current_attempt_id"] != job.handle.attempt_id: + raise StateConflict("control failure cannot replace a newer attempt") + if job.token is None and prior["state"] == "running": + # Claim may have committed before a subsequent launch/setup error. + # Recover only our own exact claimed generation, never another owner. + if prior["owner_id"] != self.owner_id or prior["generation"] != job.generation + 1: + raise StateConflict("control failure cannot replace another owner") + job.token = AttemptToken(self.store.store_id, job.handle.run_id, job.handle.attempt_id, + self.owner_id, prior["generation"]) + job.generation = job.token.generation + result["process"]["token"] = asdict(job.token) + try: + if job.token is None: + writer.fail_queued(job.handle.run_id, expected_attempt_id=job.handle.attempt_id, + expected_generation=job.generation, result=result) + else: + writer.complete(job.token, state="failed", result=result) + except StateConflict: + prior = next(a for a in writer.attempts(job.handle.run_id) if a["attempt_id"] == job.handle.attempt_id) + if prior["state"] not in _TERMINAL: + raise + return prior + return next(a for a in writer.attempts(job.handle.run_id) if a["attempt_id"] == job.handle.attempt_id) + + @staticmethod + def _sync_audit(path: Path) -> None: + for target, flags in ((path, os.O_RDONLY | os.O_NOFOLLOW), + (path.parent, os.O_RDONLY | os.O_DIRECTORY | os.O_NOFOLLOW)): + fd = os.open(target, flags) + try: + os.fsync(fd) + finally: + os.close(fd) + + def _control_audit(self, attempt_id: str, directory: Path | None, name: str, + value: dict[str, Any], *, preserve_existing: bool = False) -> bool: + """Publish independently, preserving partial evidence and reporting durability. + + Only recovery audits use an alternate staging name after a collision; + ordinary producer publication retains its original exclusive-write rule. + """ + try: + assert directory is not None + if directory.is_symlink() or directory.resolve() != directory: + raise ValueError("unsafe control-failure audit directory") + directory.mkdir(mode=0o700, exist_ok=True) + path = directory / name + if name == "receipt.json": + value["control_audit_errors"] = list(self._control_audit_errors.get(attempt_id, [])) + if path.exists(): + saved = self._read_json(path) + if (name == "exit.json" or preserve_existing and saved.get("terminal_committed") is True + or _object(saved) == _object(value)): + self._sync_audit(path) + return True + try: + _atomic_json(path, value) + except FileExistsError as error: + # Never truncate, unlink or overwrite interrupted-write evidence. + # Refuse unsafe/oversized partials and isolate that error too. + _regular_bytes(path.with_suffix(path.suffix + ".part"), TERMINAL_BYTES) + self._control_error(attempt_id, name, error) + if name == "receipt.json": + value["control_audit_errors"] = list(self._control_audit_errors[attempt_id]) + staging = directory / (name + ".recovery-" + uuid.uuid4().hex) + _atomic_json(staging, value) + os.replace(staging, path) + self._sync_audit(path) + return True + except Exception as error: + self._control_error(attempt_id, name, error) + return False + + def _abort_control(self, error: BaseException) -> None: + """Stop execution, then commit one fenced failure for every owned job. + + This path deliberately avoids progress parsing, RSS sampling, artifact + publication and normal finalization: any of those may have caused the + control failure. A terminal already committed remains historical truth. + """ + if self._fatal is not None: + return + self._fatal = error + exits: dict[str, dict[str, Any]] = {} + # Signal all owned processes before any potentially slow store work. + for job in list(self._active.values()): + try: + if job.process is not None and job.process.pid is not None and job.process.is_alive(): + job.process.kill() + job.signals.append("kill") + except Exception as cleanup: + self._control_cleanup_errors.append("kill: " + type(cleanup).__name__ + ": " + str(cleanup)[:512]) + for job in self._known.values(): + previous = self._done.get(job.handle.attempt_id) + old = previous.data if previous is not None else {} + evidence = {"token": asdict(job.token) if job.token is not None else None, + "pid": job.pid, "pgid": job.pgid, "os_identity": job.os_identity, + "process_started": job.pid is not None, + "process_exit_observed": old.get("process_exit_observed", False), + "process_joined": old.get("process_joined", False), + "exitcode": old.get("exitcode"), "signals": list(job.signals), + "reason": "supervisor_control_failure"} + if job.handle.attempt_id in self._active and not evidence["process_joined"]: + try: + if job.process is not None and job.process.pid is not None: + job.pid = job.process.pid + evidence.update(process_started=True, pid=job.pid) + job.process.join(timeout=1.0) + joined = job.process.exitcode is not None and not job.process.is_alive() + evidence.update(process_exit_observed=joined, process_joined=joined, + exitcode=job.process.exitcode) + except Exception as cleanup: + self._control_cleanup_errors.append("join: " + type(cleanup).__name__ + ": " + str(cleanup)[:512]) + exits[job.handle.attempt_id] = evidence + for job in self._known.values(): + evidence = exits[job.handle.attempt_id] + previous = self._done.get(job.handle.attempt_id) + if previous is not None and previous.data.get("terminal_committed"): + if evidence["process_joined"] or not evidence["process_started"]: + self._active.pop(job.handle.attempt_id, None) + continue # Already completed receipts remain byte-for-byte historical. + job.directory = job.directory or self.work_root / (self.store.store_id + "-" + job.handle.attempt_id) + now = time.monotonic() + resources = {"owned_wall_seconds": now - job.started if job.started is not None else 0.0, + "queue_seconds": (job.started if job.started is not None else now) - job.enqueued, + "child_peak_rss_bytes": job.peak_rss, "output_bytes": job.output_peak, + **job.counts, "rss_observation": self._rss_observation()} + failure = {"reason": "supervisor_control_failure", "exception_type": type(error).__name__, + "detail": str(error)[:2048], + "control_reason": "rss_measurement_unavailable" if isinstance(error, _RSSUnavailable) + else "unexpected_control_exception"} + result = {"status": "prepared_pending_dependencies", "worker_result": failure, + "process": evidence, "resources": resources, + "counter_observation_kind": "worker_reported_or_null_unobserved"} + intent = {"schema": "solarlab.supervisor-control-failure.v1", "handle": asdict(job.handle), + "generation": job.generation, "owner_id": self.owner_id, + "token": evidence["token"], "result": result} + # If storage is unavailable, retain the failure intent independently + # for explicit recovery. File failures never gate the DB commit. + retained = [] + if self._control_audit(job.handle.attempt_id, job.directory, "control-failure.json", intent): + retained.append("control-failure.json") + prior: dict[str, Any] | None = None + commit_error: str | None = None + try: + prior = self._failure_commit(self.store, job, result) + except StateConflict as conflict: + commit_error = str(conflict) + except Exception as failed_writer: + # A broken writer connection must not strand a readable store. + # Use the same fenced API and no artifact references on one + # fresh, bounded local writer; never bypass ownership with SQL. + try: + with RunStore(self.store.root, timeout=0.5) as repair: + prior = self._failure_commit(repair, job, result) + except Exception as repair_error: + commit_error = (type(failed_writer).__name__ + ": " + str(failed_writer)[:512] + + "; repair: " + type(repair_error).__name__ + ": " + str(repair_error)[:512]) + self._control_cleanup_errors.append("terminal commit: " + commit_error) + state = prior["state"] if prior is not None else "unknown" + committed = state in _TERMINAL + if not committed: + self._control_recovery[job.handle.attempt_id] = {"directory": job.directory, + "intent": intent, "terminal_committed": False} + saved_result = prior["result"] if prior is not None and prior["result"] is not None else result + terminal = prior.get("terminal") if prior is not None else None + receipt = {"status": "prepared_pending_dependencies", "run_id": job.handle.run_id, + "attempt_id": job.handle.attempt_id, "token": asdict(job.token) if job.token is not None else None, + "store_state": state, "proposed_state": "failed", "terminal_committed": committed, + "commit_error": commit_error, **evidence, "resources": resources, + "worker_result": saved_result.get("worker_result", saved_result), + "terminal_artifacts": [a["artifact_id"] for a in terminal["artifacts"]] if terminal else [], + "publication_error": None, "control_failure": failure, "control_intent": intent} + if evidence["process_exit_observed"]: + if self._control_audit(job.handle.attempt_id, job.directory, "exit.json", evidence): + retained.append("exit.json") + if self._control_audit(job.handle.attempt_id, job.directory, "receipt.json", receipt, + preserve_existing=previous is None): + retained.append("receipt.json") + self._control_retention[job.handle.attempt_id] = retained + receipt["control_recovery_retention"] = {"confirmed_records": retained, + "memory_only": not retained, "administrative_fencing_required": not committed and not retained} + self._done[job.handle.attempt_id] = ExecutionReceipt(_object(receipt)) + if not evidence["process_started"] or evidence["process_joined"]: + if job.handle.attempt_id in self._active and job.process is not None: + try: + job.process.close() + except Exception as cleanup: + self._control_cleanup_errors.append("close: " + type(cleanup).__name__ + ": " + str(cleanup)[:512]) + self._active.pop(job.handle.attempt_id, None) + self._pending.clear() + self._condition.notify_all() + + def _shared_output(self) -> int: + observed = _directory_bytes(self.work_root) + max(0, _directory_bytes(self.store.root) - self._store_baseline) + self._shared_output_peak = max(self._shared_output_peak, observed) + return observed + + def _completion_allowance(self, job: _Job, result: dict[str, Any]) -> int: + # RunStore writes result/terminal/event JSON plus SQLite pages and an + # independent audit receipt. Reserve conservatively; this is not an OS + # quota or a claim that concurrent filesystem writes are transactional. + others = sum(other.limits.output_bytes + 131072 for other in self._active.values() if other is not job) + return 131072 + 8 * (len(_object(result).encode()) + 4096) + others + + def _output_guard(self, extra_bytes: int, allowance: int) -> dict[str, Any]: + current = self._shared_output() + return {"observed_bytes": current, "charged_peak_bytes": self._shared_output_peak, + "additional_payload_bytes": extra_bytes, "reserved_completion_bytes": allowance, + "limit_bytes": self._output_cap, + "would_exceed": self._shared_output_peak + extra_bytes + allowance > self._output_cap} + + @staticmethod + def _checked_artifacts(job: _Job, items: Any) -> list[tuple[str, ArtifactPayload]]: + """Validate all untrusted terminal entries before touching the store.""" + if type(items) is not list or len(items) > 16: + raise ValueError("invalid artifact manifest collection") + assert job.directory is not None + checked = [] + names: set[str] = set() + total = 0 + for index, item in enumerate(items): + if type(item) is not dict or set(item) != {"name", "file", "sha256", "bytes", "format", "metadata_json"}: + raise ValueError("malformed artifact manifest entry") + name = _name(item["name"]) + if name in names or item["file"] != f"artifact-{index}.bin": + raise ValueError("duplicate artifact or invalid generated filename") + names.add(name) + _sha(item["sha256"]) + if type(item["bytes"]) is not int or item["bytes"] < 0 or type(item["format"]) is not str or type(item["metadata_json"]) is not str: + raise ValueError("invalid artifact size/format/metadata type") + total += item["bytes"] + if total > job.limits.output_bytes: + raise ValueError("artifact manifest exceeds the output budget") + data = _regular_bytes(job.directory / item["file"], job.limits.output_bytes) + if len(data) != item["bytes"] or hashlib.sha256(data).hexdigest() != item["sha256"]: + raise ValueError("artifact payload digest/size mismatch") + checked.append((name, ArtifactPayload(data, item["format"], item["metadata_json"]))) + return checked + + def _child_start_identity_diagnostic(self, job: _Job) -> dict[str, Any]: + """Retain degraded child metadata, separately from parent RSS/identity. + + This optional audit is not a terminal authority. Missing, malformed or + differently fenced startup records cannot replace the worker's outcome. + """ + assert job.directory is not None and job.token is not None + try: + started = self._read_json(job.directory / "started.json") + if AttemptToken(**started["token"]) != job.token: + return {} + except (OSError, ValueError, TypeError, KeyError): + return {} + observation = started.get("os_identity_observation") + if (type(started.get("pid")) is not int or started["pid"] != job.pid + or started.get("os_identity") is not None or type(observation) is not dict + or observation.get("scope") != "child_start_identity_only" + or observation.get("status") != "unavailable" + or type(observation.get("missing_samples")) is not int + or not 0 <= observation["missing_samples"] <= _RSS_MAX_MISSING_SAMPLES): + return {} + return {"child_start_identity_observation": {"scope": "child_start_identity_only", + "status": "unavailable", "missing_samples": observation["missing_samples"]}} + + def _finish(self, job: _Job) -> None: + assert job.token is not None and job.directory is not None and job.started is not None + job.process.join(timeout=0) + exitcode = job.process.exitcode + if exitcode is None or job.process.is_alive(): + raise RuntimeError("a slot cannot be released without positive process exit/join") + self._progress(job) + exit_evidence = {"token": asdict(job.token), "pid": job.pid, "pgid": job.pgid, "os_identity": job.os_identity, + "exitcode": exitcode, "process_joined": True, "process_exit_observed": True, + "signals": list(job.signals)} + _atomic_json(job.directory / "exit.json", exit_evidence) + child_start = self._child_start_identity_diagnostic(job) + manifest: dict[str, Any] = {} + payloads: list[tuple[str, ArtifactPayload]] = [] + publishable = False + state, result = "failed", {"reason": "child_crash", "exitcode": exitcode} + try: + if (job.directory / "terminal.json").exists(): + manifest = self._read_json(job.directory / "terminal.json") + if (set(manifest) != {"token", "worker_source_sha256", "state", "result", "artifacts", "counters", "child_peak_rss_bytes"} + or type(manifest["token"]) is not dict or AttemptToken(**manifest["token"]) != job.token + or manifest["worker_source_sha256"] != job.binding.source_sha256 + or type(manifest["state"]) is not str or manifest["state"] not in {"succeeded", "failed", "cancelled"}): + raise ValueError("terminal identity/schema mismatch") + _object(manifest["result"]) + if type(manifest["child_peak_rss_bytes"]) is not int or manifest["child_peak_rss_bytes"] <= 0: + raise ValueError("invalid child RSS measurement") + job.peak_rss = max(job.peak_rss or 0, manifest["child_peak_rss_bytes"]) + if type(manifest["counters"]) is not dict or set(manifest["counters"]) != set(job.counts): + raise ValueError("incomplete counter measurement fields") + for name, count in manifest["counters"].items(): + if count is not None and (type(count) is not int or count < 0 or count >= 2**63): + raise ValueError("invalid cumulative terminal counter") + old = job.counts[name] + if old is not None and (count is None or count < old): + raise ValueError("terminal counters lost a prior observation") + job.counts[name] = count + payloads = self._checked_artifacts(job, manifest["artifacts"]) + if exitcode == 0: + state, result = manifest["state"], manifest["result"] + # Exceptions/cooperative stops carry no payloads. Only a + # validated clean return may publish a numerical failure. + publishable = state == "succeeded" or state == "failed" and bool(payloads) + elif exitcode == 0: + result = {"reason": "missing_terminal"} + except (ValueError, TypeError, KeyError, OSError) as error: + state, result = "failed", {"reason": "invalid_terminal", "detail": str(error)[:1024]} + payloads = [] + publishable = False + reason = self._resource_reason(job, time.monotonic()) + if reason is not None: + state, result = "failed", {"reason": reason} + publishable = False + if publishable: + missing = [name for name, cap in (("accepted_steps", job.limits.accepted_steps), ("calls", job.limits.calls)) + if cap is not None and job.counts[name] is None] + if missing or job.peak_rss is None: + state, result = "failed", {"reason": "required_measurement_unobserved", "counters": missing} + publishable = False + if job.stop_reason is not None: + state, result = job.stop_state, {"reason": job.stop_reason, "discarded_terminal_state": manifest.get("state")} + publishable = False + if job.setup_error is not None: + result["setup_error"] = job.setup_error + references: list[str] = [] + published_bytes = 0 + publication_error: str | None = None + if publishable: + try: + for name, payload in payloads: + if _directory_bytes(job.directory) + published_bytes + len(payload.data) > job.limits.output_bytes: + raise ValueError("output limit before parent publication") + guard = self._output_guard(len(payload.data), self._completion_allowance(job, result)) + if guard["would_exceed"]: + state, result, references = "failed", {"reason": "shared_output_publication_reservation", "budget": guard}, [] + publishable = False + break + published = self.store.publish(job.token, name, payload) + references.append(published["artifact_id"]) + published_bytes += len(payload.data) + guard = self._output_guard(0, self._completion_allowance(job, result)) + if guard["would_exceed"]: + state, result, references = "failed", {"reason": "shared_output_after_publication", "budget": guard}, [] + publishable = False + break + except (ValueError, OSError, StateConflict) as error: + publication_error = str(error)[:1024] + state, result, references = "failed", {"reason": "artifact_publication", "detail": publication_error}, [] + publishable = False + if time.monotonic() - job.started > job.limits.wall_seconds and publishable: + state, result, references = "failed", {"reason": "wall_limit_during_publication"}, [] + publishable = False + retained_output = _directory_bytes(job.directory) + published_bytes + job.output_peak = max(job.output_peak, retained_output) + resources: dict[str, Any] = {"owned_wall_seconds": time.monotonic() - job.started, "queue_seconds": job.started - job.enqueued, + "child_peak_rss_bytes": job.peak_rss, "parent_rss_last_observed_bytes": self._parent_rss, + "output_bytes": job.output_peak, "retained_output_bytes_before_terminal_commit": retained_output, + "wall_measurement_phase": "before_terminal_commit", **job.counts} + resources["observed_limit_violations"] = [name for name, observed, cap in ( + ("wall_seconds", resources["owned_wall_seconds"], job.limits.wall_seconds), + ("rss_bytes", job.peak_rss, job.limits.rss_bytes), ("output_bytes", job.output_peak, job.limits.output_bytes), + ("accepted_steps", job.counts["accepted_steps"], job.limits.accepted_steps), + ("calls", job.counts["calls"], job.limits.calls)) if observed is not None and cap is not None and observed > cap] + final_result = {"status": "prepared_pending_dependencies", "worker_result": result, + "process": exit_evidence, "resources": resources, + "counter_observation_kind": "worker_reported_or_null_unobserved", **child_start} + guard = self._output_guard(0, self._completion_allowance(job, final_result)) + resources["shared_output_before_terminal_commit"] = guard + if publishable and guard["would_exceed"]: + state, result, references = "failed", {"reason": "shared_output_finalization_reservation", "budget": guard}, [] + publishable = False + final_result["worker_result"] = result + committed, commit_error = False, None + storage_error: sqlite3.Error | None = None + try: + self.store.complete(job.token, state=state, result=final_result, artifacts=references) + committed = True + except StateConflict as error: + commit_error = str(error) # Late output cannot overwrite a terminal or a new generation. + result = {"reason": "late_result_rejected", "discarded_terminal_state": manifest.get("state")} + except sqlite3.Error as error: + storage_error = error + commit_error = type(error).__name__ + ": " + str(error)[:1024] + prior = next(a for a in self.store.attempts(job.handle.run_id) if a["attempt_id"] == job.handle.attempt_id) + resources = {**resources, "owned_wall_seconds": time.monotonic() - job.started, + "wall_measurement_phase": "after_terminal_commit_before_audit_fsync", + "shared_output_after_terminal_commit_bytes": self._shared_output()} + receipt = {"status": "prepared_pending_dependencies", "run_id": job.handle.run_id, "attempt_id": job.handle.attempt_id, + "token": asdict(job.token), "store_state": prior["state"], "proposed_state": state, + "terminal_committed": committed, "commit_error": commit_error, "process_started": True, + "process_exit_observed": True, "process_joined": True, "exitcode": exitcode, "pid": job.pid, "pgid": job.pgid, + "signals": list(job.signals), "resources": resources, "worker_result": result, + "terminal_artifacts": references if committed else [], "publication_error": publication_error, + **child_start} + _atomic_json(job.directory / "receipt.json", receipt) + after_audit = self._shared_output() + finalization = {"token": asdict(job.token), "shared_output_after_audit_bytes": after_audit, + "shared_output_peak_bytes": self._shared_output_peak, "shared_limit_bytes": self._output_cap, + "owned_wall_after_audit_seconds": time.monotonic() - job.started, + "finalization_overrun": self._shared_output_peak > self._output_cap, + "measurement_phase": "after_receipt_fsync_before_finalization_record", + "store_terminal_is_historical": True} + _atomic_json(job.directory / "finalization.json", finalization) + finalization_record_bytes = (job.directory / "finalization.json").stat().st_size + finalization["finalization_record_bytes"] = finalization_record_bytes + finalization["shared_output_after_finalization_record_bytes"] = self._shared_output() + finalization["finalization_overrun"] = self._shared_output_peak > self._output_cap + if finalization["finalization_overrun"] and after_audit <= self._output_cap: + _atomic_json(job.directory / "finalization_overrun.json", {"token": asdict(job.token), + "observed_bytes": self._shared_output_peak, "limit_bytes": self._output_cap, + "measurement_phase": "after_finalization_record_write", "store_terminal_is_historical": True}) + self._shared_output() + self._done[job.handle.attempt_id] = ExecutionReceipt(_object({**receipt, "finalization": finalization})) + job.process.close() + del self._active[job.handle.attempt_id] + self._condition.notify_all() + if storage_error is not None: + raise RuntimeError("parent RunStore terminal commit failed; joined-process result remains in local records") from storage_error + + def _loop(self) -> None: + try: + while True: + with self._condition: + if self._fatal is not None: + break + if self._closing: + self._pending.clear() # SQLite queued rows remain available for explicit resubmission. + for job in list(self._active.values()): + self._request_stop(job, "supervisor_shutdown", "cancelled") + if self._active or self._pending: + self._sample() + now = time.monotonic() + for job in list(self._active.values()): + self._progress(job) + assert job.token is not None + current = self.store.get_run(job.handle.run_id) + if (current["current_attempt_id"] != job.handle.attempt_id or current["generation"] != job.generation + or current["state"] != "running"): + self._request_stop(job, "authority_revoked", "failed") + if self._known_family_rss is not None and self._known_family_rss > self._rss_cap: + self._request_stop(job, "shared_rss_limit", "failed") + if self._shared_output_peak > self._output_cap: + self._request_stop(job, "shared_output_limit", "failed") + reason = self._resource_reason(job, now) + if reason is not None: + self._request_stop(job, reason, "failed") + if not job.process.is_alive(): + if self._rss_missing_since is not None: + continue + self._finish(job) + continue + if job.stop_at is not None and now - job.stop_at >= self._soft and job.terminate_at is None: + job.process.terminate() # Only this still-owned, unreaped multiprocessing child. + job.terminate_at = now + job.signals.append("terminate") + elif job.terminate_at is not None and now - job.terminate_at >= self._terminate and job.kill_at is None: + job.process.kill() + job.kill_at = now + job.signals.append("kill") + if not self._active and self._pending and self._rss_missing_since is None: + unavailable = ("shared_rss_limit" if self._known_family_rss is not None + and self._known_family_rss > self._rss_cap else + "shared_output_limit" if self._shared_output_peak > self._output_cap else None) + if unavailable is not None: + while self._pending: + self._unstarted(self._pending.popleft(), _AdmissionLimit(unavailable)) + while (not self._closing and self._pending and self._rss_missing_since is None + and self._shared_output_peak <= self._output_cap + and len(self._active) + len(self._recovery) < self.max_active): + queued = self._pending.popleft() + try: + self._start(queued) + except (StateConflict, OSError) as error: + self._unstarted(queued, error) + if self._closing and not self._active: + break + self._condition.wait(self._poll) + except BaseException as error: + with self._condition: + self._abort_control(error) + finally: + with self._condition: + self._closed = True + self._condition.notify_all() + + def _reconcile_control_failures(self) -> list[str]: + """Replay only a retained failure intent, never the worker request.""" + invalidated = [] + for attempt_id, entry in list(self._control_recovery.items()): + try: + directory = entry["directory"] + if entry["intent"] is None: + receipt = self._discover_control_failure(directory) + if receipt is not None: + self._done[attempt_id] = ExecutionReceipt(_object(receipt)) + del self._control_recovery[attempt_id] + continue + entry = self._control_recovery[attempt_id] + if entry["intent"] is None: + raise StateConflict("incomplete control evidence; administrative fencing required") + intent = entry["intent"] + handle, token = self._control_binding(directory, intent) + prior = next(a for a in self.store.attempts(handle.run_id) if a["attempt_id"] == attempt_id) + if prior["state"] not in _TERMINAL: + if token is None and prior["state"] == "running": + if (intent["owner_id"] is None or prior["owner_id"] != intent["owner_id"] + or prior["generation"] != intent["generation"] + 1): + raise StateConflict("control-failure recovery cannot replace another owner") + token = AttemptToken(handle.store_id, handle.run_id, attempt_id, + intent["owner_id"], prior["generation"]) + if token is None: + self.store.fail_queued(handle.run_id, expected_attempt_id=attempt_id, + expected_generation=intent["generation"], result=intent["result"]) + else: + self.store.complete(token, state="failed", result=intent["result"]) + invalidated.append(attempt_id) + prior = next(a for a in self.store.attempts(handle.run_id) if a["attempt_id"] == attempt_id) + entry["terminal_committed"] = True + receipt = self._control_receipt(intent, prior, token) + # Store truth is current even if both audits below are unavailable. + self._done[attempt_id] = ExecutionReceipt(_object(receipt)) + retained = self._control_retention.setdefault(attempt_id, []) + if self._control_audit(attempt_id, directory, "control-failure.json", intent): + if "control-failure.json" not in retained: + retained.append("control-failure.json") + published = self._control_audit(attempt_id, directory, "receipt.json", receipt) + self._done[attempt_id] = ExecutionReceipt(_object(receipt)) + if published: + if "receipt.json" not in retained: + retained.append("receipt.json") + del self._control_recovery[attempt_id] + except Exception as error: + self._control_error(attempt_id, "reconcile control failure", error) + return invalidated + + def reconcile_interrupted(self) -> dict[str, Any]: + """Explicitly invalidate affected tokens and observe, never kill, old PIDs.""" + with self._condition: + released, unresolved, invalidated = [], [], self._reconcile_control_failures() + for attempt_id, item in list(self._recovery.items()): + control = self._control_recovery.get(attempt_id) + if control is not None and not control["terminal_committed"]: + unresolved.append({"attempt_id": attempt_id, "process_exit_observed": False, + "method": "control_failure_requires_reconciliation"}) + continue # Never relabel an unresolved control failure as interrupted. + try: + evidence, changed = self._reconcile_process(item) + if changed: + invalidated.append(attempt_id) + if evidence["process_exit_observed"]: + if self._control_audit(attempt_id, item["directory"], "reconciled.json", + {"token": item["launch"]["token"], "evidence": evidence}): + released.append(attempt_id) + del self._recovery[attempt_id] + if attempt_id not in self._done: + self._unknown_history.add(attempt_id) + continue + evidence = {**evidence, "method": "exit_observed_audit_pending"} + unresolved.append({"attempt_id": attempt_id, **evidence}) + except Exception as error: + self._control_error(attempt_id, "reconcile process", error) + unresolved.append({"attempt_id": attempt_id, "process_exit_observed": False, + "method": "process_reconciliation_failed", "error": type(error).__name__ + ": " + str(error)[:512]}) + self._condition.notify_all() + return {"invalidated_owned_attempts": invalidated, "released_owned_reservations": released, + "unresolved_owned_slots": unresolved, "unowned_processes_signalled": False, + "uncommitted_control_failures": [key for key, entry in self._control_recovery.items() + if not entry["terminal_committed"]], + "pending_control_audits": [key for key, entry in self._control_recovery.items() + if entry["terminal_committed"]], + "control_audit_errors": {key: list(value) for key, value in self._control_audit_errors.items()}, + "queued_policy": "explicit_matching_resubmission; no automatic scientific rerun"} + + def _reconcile_process(self, item: dict[str, Any]) -> tuple[dict[str, Any], bool]: + """Observe one old process; publication errors cannot bypass its exit proof.""" + directory, launch = item["directory"], item["launch"] + token = AttemptToken(**launch["token"]) + evidence: dict[str, Any] = {"process_exit_observed": False, "method": "unknown_intent", "pid": None} + if (directory / "exit.json").exists(): + old = self._read_json(directory / "exit.json") + if old.get("token") != asdict(token) or old.get("process_joined") is not True or type(old.get("exitcode")) is not int: + raise ValueError("invalid prior positive exit receipt") + evidence = {"process_exit_observed": True, "method": "prior_owned_join", "pid": old["pid"], "exitcode": old["exitcode"]} + else: + ready: dict[str, Any] = item.get("process", {}) + for name in ("started.json", "spawned.json"): + if (directory / name).exists(): + ready = self._read_json(directory / name) + break + if ready: + pid = ready.get("pid") + if ready.get("token") != asdict(token) or type(pid) is not int or pid <= 0: + raise ValueError("invalid prior process identity") + evidence.update(pid=pid, method="unowned_pid_still_uncertain") + try: + os.kill(pid, 0) # Presence check only, never a cancellation signal. + except ProcessLookupError: + evidence.update(process_exit_observed=True, method="observed_pid_absence") + except PermissionError: + pass + else: + try: + current = _process_info([pid]).get(pid) + except (subprocess.SubprocessError, OSError, UnicodeError) as error: + current = None + evidence.update(method="unowned_pid_measurement_unavailable", + measurement_error=type(error).__name__ + ": " + str(error)[:512]) + previous = ready.get("os_identity") + if current is not None and previous is not None and current["start_lstart"] != previous["start_lstart"]: + evidence.update(process_exit_observed=True, method="observed_pid_reuse", old_identity=previous, current_identity=current) + current_run = self.store.get_run(token.run_id) + if (current_run["current_attempt_id"] == token.attempt_id and current_run["generation"] == token.generation + and current_run["state"] == "running"): + self.store.complete(token, state="failed", result={"reason": "interrupted", "ownership_invalidated": True, + "process_exit_observed": evidence["process_exit_observed"], "process_evidence": evidence}) + return evidence, True + return evidence, False + + def accounting(self) -> dict[str, Any]: + with self._condition: + self._shared_output_peak = max(self._shared_output_peak, _directory_bytes(self.work_root) + + max(0, _directory_bytes(self.store.root) - self._store_baseline)) + finished = [r.data["resources"] for r in self._done.values()] + active = [{**j.counts, "owned_wall_seconds": time.monotonic() - j.started if j.started is not None else 0.0} + for j in self._active.values()] + rows = finished + active + counts = {name: sum(r[name] for r in rows) if rows and not self._unknown_history and not self._recovery + and all(r[name] is not None for r in rows) else None + for name in ("accepted_steps", "calls")} + return {"status": "prepared_pending_dependencies", "active": len(self._active), "pending": len(self._pending), + "unresolved_owned_slots": len(self._recovery), "completed_receipts": len(finished), + "uncommitted_control_failures": sum(not e["terminal_committed"] for e in self._control_recovery.values()), + "pending_control_audits": sum(e["terminal_committed"] for e in self._control_recovery.values()), + "control_audit_errors": {key: list(value) for key, value in self._control_audit_errors.items()}, + "control_recovery_records": {key: list(value) for key, value in self._control_retention.items()}, + "administrative_fencing_required": [key for key, entry in self._control_recovery.items() + if not entry["terminal_committed"] and (entry["intent"] is None or not self._control_retention.get(key))], + "known_owned_wall_seconds": sum(r["owned_wall_seconds"] for r in rows if r["owned_wall_seconds"] is not None), + "counter_totals": counts, "unknown_historical_attempts": len(self._recovery) + len(self._unknown_history), + "shared_rss_last_observed_bytes": self._shared_rss, "shared_rss_peak_bytes": self._shared_peak_rss, + "known_family_rss_last_observed_bytes": self._known_family_rss, + "rss_scope": "conservative_parent_process_family_and_located_prior_intents", + "sampled_family_pids": list(self._sampled_family_pids), + "rss_observation": self._rss_observation(), + "control_cleanup_errors": list(self._control_cleanup_errors), + "unlocated_prior_intents": self._unlocated_prior_intents, + "retained_output_peak_bytes": self._shared_output_peak, "queued_recovery_is_explicit": True} + + def close(self, *, timeout: float = 3.0) -> None: + if type(timeout) not in {int, float} or not math.isfinite(timeout) or timeout <= 0: + raise ValueError("close requires a positive finite join bound") + with self._condition: + self._closing = True + self._condition.notify_all() + self._thread.join(timeout) + if self._thread.is_alive() or any(j.process is not None and j.process.pid is not None and j.process.is_alive() + for j in self._active.values()): + raise TimeoutError("owned process/monitor exit is not yet observed; capacity is not released") + # A fatal cleanup may have timed out before a killed child finally + # exited. Close its native handle only after this later positive join. + if self._fatal is not None: + for attempt_id, job in list(self._active.items()): + if job.process is not None: + if job.process.pid is not None: + job.process.join(timeout=0) + self._control_audit(attempt_id, job.directory, "exit.json", {"token": asdict(job.token) if job.token else None, + "pid": job.pid, "exitcode": job.process.exitcode, "process_joined": True, + "process_exit_observed": True, "reason": "supervisor_control_failure"}) + job.process.close() + del self._active[attempt_id] + if self._lock_fd >= 0: + os.close(self._lock_fd) + self._lock_fd = -1 + if self._fatal is not None: + raise RuntimeError("supervisor failed; preserved process intents require reconciliation") from self._fatal + + def __enter__(self) -> ProcessSupervisor: + return self + + def __exit__(self, *error: Any) -> None: + self.close() + + +class ScanRunner: + """Bounded parent coordination, persisted declarations and explicit retries. + + RunStore remains the sole attempt/terminal authority. A scan's status is a + derived view of those rows, never a second mutable terminal. Every point + starts a fresh worker with its own manifest; state and numerical bindings + are not carried from a preceding point. Scientific qualification belongs + to the worker's retained result and is never inferred from process success. + """ + + def __init__(self, supervisor: ProcessSupervisor, spec: ScanSpec, executions: tuple[ManifestBinding, ...], *, + max_in_flight: int) -> None: + if multiprocessing.current_process().daemon: + raise ValueError("workers cannot create nested supervisors or scans") + if type(supervisor) is not ProcessSupervisor or type(spec) is not ScanSpec: + raise ValueError("scans must share an existing ProcessSupervisor") + if type(max_in_flight) is not int or not 1 <= max_in_flight <= supervisor.max_active + supervisor.max_pending: + raise ValueError("scan in-flight bound must fit the shared finite capacity") + if len(executions) != len(spec.points): + raise ValueError("every point requires its independently prepared manifest binding") + self.supervisor, self.spec, self.executions = supervisor, spec, tuple(executions) + self.max_in_flight = max_in_flight + self._submitted: set[str] = set() + self._reused: set[str] = set() + self._metadata = [] + self._path = supervisor.work_root / ("scan-" + supervisor.store.store_id + "-" + spec.scan_id + ".json") + self._cancel_path = self._path.with_suffix(".cancel.json") + self._sha256 = hashlib.sha256(spec.to_bytes()).hexdigest() + with supervisor._condition: + supervisor._check_open() + # Check the whole declaration before persisting or starting any point. + for point, binding in zip(spec.points, self.executions): + point.spec.validate(binding) + self._metadata.append(supervisor._submission(point.spec.worker_id, point.spec.request, point.spec.limits, binding)) + for index in range(len(spec.points)): + self._existing(index) + known = {p["point_id"]: p for p in supervisor.store.sweep_points(spec.scan_id)} + if set(known) - {p.point_id for p in spec.points}: + raise StateConflict("stored scan has points outside this declaration") + for point in spec.points: + previous = known.get(point.point_id) + if previous is not None and (previous["run_id"] != point.run_id + or previous["opaque_execution_identity"] != point.spec.request.execution_identity.sha256 + or _object(previous["coordinates"]) != point.coordinates_json): + raise StateConflict("stored scan association differs from this declaration") + self._persist(self._path, _parse_document(spec.to_bytes().decode())) + self._cancel_reason() # Refuse malformed cancellation intent before scheduling. + + @property + def declaration_path(self) -> Path: + return self._path + + def _persist(self, path: Path, value: dict[str, Any]) -> None: + raw = _object(value).encode() + if path.exists() or path.is_symlink(): + if _regular_bytes(path, SCAN_BYTES) != raw: + raise StateConflict("scan declaration or cancellation intent already has different content") + return + guard = self.supervisor._output_guard(len(raw), 65536) + if guard["would_exceed"]: + raise ValueError("shared output capacity cannot retain scan metadata") + _atomic_json(path, value) + + def _cancel_reason(self) -> str | None: + if not self._cancel_path.exists() and not self._cancel_path.is_symlink(): + return None + value = self.supervisor._read_json(self._cancel_path) + if (set(value) != {"schema", "scan_sha256", "reason"} or value["schema"] != "solarlab.scan-cancel.v1" + or value["scan_sha256"] != self._sha256 or type(value["reason"]) is not str or not value["reason"].strip()): + raise ValueError("invalid persisted scan cancellation intent") + return value["reason"] + + def _existing(self, index: int) -> dict[str, Any] | None: + point = self.spec.points[index] + try: + row = self.supervisor.store.get_run(point.run_id) + except KeyError: + return None + identity, metadata = self._metadata[index] + expected = {"identity_kind": "opaque_upstream", "identity": identity, "input_metadata": metadata} + if _object(row["request"]) != _object(expected): + raise StateConflict("scan point differs from the complete stored execution request, manifest, worker or budgets") + return row + + def _owned(self, run_id: str) -> bool: + pool = self.supervisor + return (any(job.handle.run_id == run_id for job in pool._active.values()) + or any(item["launch"]["token"]["run_id"] == run_id for item in pool._recovery.values())) + + def _bind(self, point: ScanPoint) -> None: + self.supervisor.store.bind_sweep_point(self.spec.scan_id, point.point_id, run_id=point.run_id, + coordinates=_parse_document(point.coordinates_json)) + + def _verify_success(self, index: int, row: dict[str, Any]) -> None: + """Reuse requires actual committed artifacts and a joined local receipt.""" + point, binding = self.spec.points[index], self.executions[index] + pool = self.supervisor + receipt = pool._done.get(row["current_attempt_id"]) + attempt = pool.store.attempts(point.run_id)[-1] + if receipt is None: + raise StateConflict("completed point has no retained owned-process receipt") + evidence = receipt.data + token = {"store_id": pool.store.store_id, "run_id": point.run_id, + "attempt_id": attempt["attempt_id"], "owner_id": attempt["owner_id"], "generation": attempt["generation"]} + # Restart retains a post-write overrun separately from the earlier audit. + # Its presence fences reuse even when that earlier audit still says False. + if (evidence.get("token") != token or evidence.get("store_state") != "succeeded" + or evidence.get("terminal_committed") is not True or evidence.get("process_exit_observed") is not True + or evidence.get("process_joined") is not True or evidence.get("exitcode") != 0 + or evidence.get("finalization", {}).get("finalization_overrun") is True + or "finalization_overrun" in evidence): + raise StateConflict("completed point lacks a successful closed resource receipt") + audit = evidence.get("finalization", {}) + resources = evidence.get("resources", {}) + if audit.get("token") != token or audit.get("finalization_overrun") is not False: + raise StateConflict("completed point lacks its complete final resource audit") + for name, value, limit in ( + ("wall_seconds", audit.get("owned_wall_after_audit_seconds"), point.spec.limits.wall_seconds), + ("rss_bytes", resources.get("child_peak_rss_bytes"), point.spec.limits.rss_bytes), + ("output_bytes", resources.get("output_bytes"), point.spec.limits.output_bytes), + ("accepted_steps", resources.get("accepted_steps"), point.spec.limits.accepted_steps), + ("calls", resources.get("calls"), point.spec.limits.calls), + ): + if limit is not None and (type(value) not in {int, float} or not math.isfinite(value) or not 0 <= value <= limit): + raise StateConflict("completed point lacks an in-budget measurement: " + name) + result = attempt["result"] + if (result["process"]["token"] != token or result["process"]["process_joined"] is not True + or result["process"]["process_exit_observed"] is not True or result["process"]["exitcode"] != 0 + or _object(result["worker_result"]) != _object(evidence["worker_result"])): + raise StateConflict("completed point result differs from its owned receipt") + references = attempt["terminal"]["artifacts"] + if [item["artifact_id"] for item in references] != evidence.get("terminal_artifacts"): + raise StateConflict("completed point terminal differs from its owned receipt") + manifest_count = 0 + for item in references: + record = pool.store.artifact(item["artifact_id"]) + content = pool.store.read_artifact(item["artifact_id"]) + if (record["run_id"] != point.run_id or record["attempt_id"] != attempt["attempt_id"] + or record["generation"] != attempt["generation"] or record["manifest_sha256"] != item["manifest_sha256"]): + raise StateConflict("completed artifact belongs to another attempt or generation") + if record["name"] == "execution_manifest": + if content != binding.manifest.canonical_json: + raise StateConflict("completed point has a different complete execution manifest") + manifest_count += 1 + if manifest_count != 1: + raise StateConflict("completed point requires exactly one verified execution manifest artifact") + + def advance(self) -> dict[str, Any]: + """Admit only available points, or finish an explicit durable cancellation.""" + pool = self.supervisor + with pool._condition: + pool._check_open() + reason = self._cancel_reason() + in_flight = sum(job.handle.run_id in {p.run_id for p in self.spec.points} + for job in (*pool._active.values(), *pool._pending)) + for index, point in enumerate(self.spec.points): + row = self._existing(index) + if reason is not None: + if row is None: + identity, metadata = self._metadata[index] + row = pool.store.enqueue(point.run_id, opaque_identity=identity, input_metadata=metadata) + self._bind(point) + if row["state"] not in _TERMINAL: + handle = JobHandle(pool.store.store_id, point.run_id, row["current_attempt_id"]) + if handle.attempt_id in pool._known: + pool.cancel(handle, reason=reason) + else: + # A declared/unstarted point needs no process slot. + # Recovered running ownership is fenced, never signalled here. + pool.store.cancel(point.run_id, expected_attempt_id=handle.attempt_id, + expected_generation=row["generation"], reason=reason) + continue + if row is not None and row["state"] in _TERMINAL: + self._bind(point) + if row["state"] == "succeeded" and not self._owned(point.run_id): + self._verify_success(index, row) + if row["current_attempt_id"] not in self._submitted: + self._reused.add(row["current_attempt_id"]) + continue + if row is not None and row["current_attempt_id"] in pool._known: + continue + if row is not None and row["state"] == "running": + raise StateConflict("interrupted point needs explicit owned-process reconciliation before resume") + if in_flight >= self.max_in_flight: + continue + try: + handle = pool.submit(point.run_id, point.spec.worker_id, point.spec.request, + point.spec.limits, execution=self.executions[index]) + except QueueFull: + break # Server/other scans own the remaining shared capacity. + self._submitted.add(handle.attempt_id) + try: + self._bind(point) + except (StateConflict, sqlite3.Error, OSError): + # The monitor still shares this lock: revoke the queued + # child before a failed association can reach execution. + try: + pool.cancel(handle, reason="scan_association_failed") + finally: + job = pool._known[handle.attempt_id] + if job in pool._pending: + pool._pending.remove(job) # Retain the DB row if storage itself failed. + raise + in_flight += 1 + return self.snapshot() + + def snapshot(self) -> dict[str, Any]: + """Detached aggregate view; original numerical and qualification fields survive.""" + pool = self.supervisor + with pool._condition: + points = [] + for index, point in enumerate(self.spec.points): + row = self._existing(index) + value: dict[str, Any] = {"point_id": point.point_id, "run_id": point.run_id, + "coordinates": _parse_document(point.coordinates_json), "limits": asdict(point.spec.limits), + "initial_state": {"id": point.spec.initial_state_id, "sha256": point.spec.initial_state_sha256}, + "manifest_sha256": point.spec.manifest_sha256, **self._metadata[index][0], + "state": "declared", "reason": "waiting_for_capacity", "attempt_id": None, + "reused": False, "closure_pending": False, "result": None, "attempts": []} + if row is not None: + attempts = pool.store.attempts(point.run_id) + attempt = attempts[-1] + result = attempt["result"] + reason = row["state"] + if result is not None: + reason = result.get("worker_result", result).get("reason", "completed" if row["state"] == "succeeded" else row["state"]) + value.update(state=row["state"], reason=reason, attempt_id=attempt["attempt_id"], + generation=attempt["generation"], reused=attempt["attempt_id"] in self._reused, + closure_pending=self._owned(point.run_id), result=result, + attempts=[{"attempt_id": a["attempt_id"], "state": a["state"], "generation": a["generation"]} for a in attempts]) + points.append(value) + complete = all(p["state"] in _TERMINAL and not p["closure_pending"] for p in points) + state = "succeeded" if all(p["state"] == "succeeded" for p in points) else "failed" + if self._cancel_reason() is not None: + state = "cancelled" + return {"schema": "solarlab.scan-status.v1", "scan_id": self.spec.scan_id, "scan_sha256": self._sha256, + "state": state if complete else "running", "complete": complete, "points": points, + "max_in_flight": self.max_in_flight, "coordinator_uses_process_slot": False, + "scientific_qualification_inferred": False} + + def wait(self, timeout: float) -> dict[str, Any]: + if type(timeout) not in {int, float} or not math.isfinite(timeout) or timeout <= 0: + raise ValueError("scan wait requires a positive finite timeout") + pool = self.supervisor + deadline = time.monotonic() + timeout + with pool._condition: + while True: + result = self.advance() + if result["complete"]: + return result + remaining = deadline - time.monotonic() + if remaining <= 0: + raise TimeoutError("scan remains resumable; caller wait timeout is not execution cancellation") + pool._condition.wait(min(remaining, pool._poll)) + + def cancel(self, *, reason: str) -> bool: + if type(reason) is not str or not reason.strip() or len(reason.encode()) > 4096: + raise ValueError("scan cancellation requires a bounded explicit reason") + pool = self.supervisor + with pool._condition: + pool._check_open() + if self.snapshot()["complete"]: + return False + self._persist(self._cancel_path, {"schema": "solarlab.scan-cancel.v1", "scan_sha256": self._sha256, "reason": reason}) + self.advance() + return True + + def retry(self, point_id: str, *, expected_attempt_id: str) -> JobHandle: + """Explicit one-point retry; old failures survive and no retry loop exists.""" + pool = self.supervisor + with pool._condition: + pool._check_open() + if self._cancel_reason() is not None: + raise StateConflict("a cancelled scan stays cancelled; retry explicitly under a new scan declaration") + index = next((i for i, p in enumerate(self.spec.points) if p.point_id == point_id), None) + if index is None: + raise KeyError(point_id) + row = self._existing(index) + point = self.spec.points[index] + if row is None or row["current_attempt_id"] != expected_attempt_id or row["state"] not in {"failed", "cancelled"}: + raise StateConflict("retry requires the exact current failed/cancelled attempt") + if self._owned(point.run_id): + raise StateConflict("retry cannot precede the owned process's observed exit") + attempt = pool.store.attempts(point.run_id)[-1] + receipt = pool._done.get(expected_attempt_id) + closed = receipt is not None and receipt.data.get("process_exit_observed") is True + reconciled = (pool.work_root / (pool.store.store_id + "-" + expected_attempt_id) / "reconciled.json").exists() + if attempt["started_ns"] is not None and not closed and not reconciled: + raise StateConflict("retry requires positive previous process closure") + queued = pool.store.retry(point.run_id, expected_attempt_id=expected_attempt_id, expected_generation=row["generation"]) + return JobHandle(pool.store.store_id, point.run_id, queued["current_attempt_id"]) diff --git a/src/solarlab/experiments/impedance.py b/src/solarlab/experiments/impedance.py new file mode 100644 index 00000000..2c389f1f --- /dev/null +++ b/src/solarlab/experiments/impedance.py @@ -0,0 +1,484 @@ +"""Ion-free classical 1D fixed/finite/selective small signal about accepted DC. + +Phasors use exp(+i*omega*t). A 1 V normalization describes a derivative, +not a finite one-volt experiment. Coordinates use the DC state's fixed +physical Fermi reference; moving electrode-reference terms are retained +explicitly when converting the reported coordinate perturbation. +""" + +from __future__ import annotations + +from solarlab.reproducibility.job_provenance import ( + admitted_source_pins, current_provenance, job_provenance, +) + +from typing import Any + +from dataclasses import asdict, dataclass, field +import hashlib +import json +import math + +import numpy as np +from numpy.typing import ArrayLike +from scipy.sparse import csc_matrix, eye + +from solarlab.contracts.units import ELEMENTARY_CHARGE_C +from solarlab.equations.assembly.classical_1d import AssembledDC1DProblem +from solarlab.equations.dc_1d import ( + CompiledDevice1D, DC1DProblem, quasi_fermi_potential_tangents, +) +from solarlab.equations.implementation import DCProblem, provenance_binding, use_assembled +from solarlab.experiments.jv.operating_points import _verify_point +from solarlab.physics.contacts.boundary_flux import boundary_particle_flux +from solarlab.solvers.linear import FrequencyOptions, FrequencySolution, solve_frequency_systems +from solarlab.solvers.nonlinear.problem import state_digest +from solarlab.solvers.nonlinear.production import production_convergence_norm, production_residual_scaling +from solarlab.solvers.nonlinear.steady_1d import SteadyOptions, SteadyState1D + +__all__ = ["SmallSignalResult1D", "voltage_reference_direction", "solve_impedance"] + +Q = ELEMENTARY_CHARGE_C + + +def voltage_reference_direction(device: CompiledDevice1D) -> np.ndarray: + """du_moving/dV at fixed physical fields, from the affine DC references.""" + count = device.node_count + result = np.zeros(3 * count) + zero = device.carrier_reference_energies(0.0) + one = device.carrier_reference_energies(1.0) + for offset, before, after in zip((count, 2 * count), zero, one): + result[offset:offset + count] = -(after - before) / device.thermal_voltage_V + return result + + + + +@dataclass(frozen=True) +class SmallSignalResult1D: + """Complex field/current phasors for the requested linear normalization. + + All face currents are oriented along +x. Terminal columns are left/right; + the passive input port uses polarity times the positive-electrode current. + Y is in S/m^2, and its inverse is an impedance-area product in ohm*m^2. + """ + + frequency_Hz: np.ndarray + voltage_phasor_V: complex + nodes_m: np.ndarray + fixed_coordinate_perturbation: np.ndarray + moving_coordinate_perturbation: np.ndarray + reference_direction_per_V: np.ndarray + potential_perturbation_V: np.ndarray + electric_field_perturbation_V_m: np.ndarray + electron_density_perturbation_m3: np.ndarray + hole_density_perturbation_m3: np.ndarray + conduction_current_density_A_m2: np.ndarray + displacement_current_density_A_m2: np.ndarray + total_current_density_A_m2: np.ndarray + terminal_conduction_current_density_A_m2: np.ndarray + terminal_displacement_current_density_A_m2: np.ndarray + terminal_current_density_A_m2: np.ndarray + input_current_density_A_m2: np.ndarray + admittance_density_S_m2: np.ndarray + maxwell_spread_A_m2_V: np.ndarray + residual_balance_bound_A_m2_V: np.ndarray + linear_solutions: tuple[FrequencySolution, ...] + compiled_identity: str + working_state_identity: str + working_state_digest: str + operating_voltage_V: float + generation_scale: float + voltage_polarity: float + source_identity: str + source_sha256: dict[str, str] + revalidation_solver_controls: dict[str, object] + linear_solver_controls: dict[str, object] + + job_provenance: dict[str, Any] | None = field(default_factory=current_provenance) + + def __post_init__(self) -> None: + real = {"frequency_Hz", "nodes_m", "reference_direction_per_V", "maxwell_spread_A_m2_V", "residual_balance_bound_A_m2_V"} + for name, value in vars(self).items(): + if isinstance(value, np.ndarray): + array = np.array(value, dtype=float if name in real else complex, copy=True) + if not np.all(np.isfinite(array)): + raise ValueError(f"nonfinite small-signal output: {name}") + array.setflags(write=False) + object.__setattr__(self, name, array) + + @property + def impedance_area_ohm_m2(self) -> np.ndarray: + if np.any(self.admittance_density_S_m2 == 0.0): + raise ValueError("zero admittance has no finite impedance-area product") + result = 1.0 / self.admittance_density_S_m2 + if not np.all(np.isfinite(result)): + raise ValueError("impedance-area product is outside the finite numerical envelope") + return result + + +def _particle_perturbations( + problem: DCProblem, u: np.ndarray, x: np.ndarray, voltage: complex, +) -> tuple[np.ndarray, np.ndarray]: + """Use the same stable quasi-Fermi tangent blocks as the production Fy.""" + device = problem.device + count = device.node_count + fluxes = problem.fluxes(u) + transport = None if device.field_transport is None else device.field_transport.evaluate(u[:count]) + _, n, p = device.fields(u, voltage_V=problem.voltage_V) + references = tuple( + after - before for before, after in zip( + device.carrier_reference_energies(0.0), device.carrier_reference_energies(1.0), + ) + ) + result = [] + for offset, density, flux, sign, reference in ( + (count, n, fluxes.electron, 1.0, references[0]), + (2 * count, p, fluxes.hole, -1.0, references[1]), + ): + drive = sign * np.diff(u[offset:offset + count]) + left_phi, _right_phi = quasi_fermi_potential_tangents(flux, drive, sign, device.thermal_voltage_V) + if transport is not None: + diffusivity = (transport.electron_diffusivity_m2_s if offset == count + else transport.hole_diffusivity_m2_s) + d_diffusivity = (transport.electron_d_diffusivity_d_field if offset == count + else transport.hole_d_diffusivity_d_field) + # The CT chain is antisymmetric in phi_L/phi_R. SG is linear in D; + # its carrier sign is already in Gamma, never applied a second time. + left_phi = left_phi + (flux.flux / diffusivity) * d_diffusivity / np.diff(device.nodes_m) + left_z = sign * flux.left_density_derivative * density[:-1] + # A uniform Fermi or potential shift scales the particle flux. Group + # that exact homogeneity mode before multiplying the large SG slopes. + result.append( + left_phi * (x[:count - 1] - x[1:count]) + + left_z * (x[offset:offset + count - 1] - x[offset + 1:offset + count]) + + sign * flux.flux * ( + x[offset + 1:offset + count] + (x[1:count] + reference * voltage) / device.thermal_voltage_V + ) + ) + return result[0], result[1] + + +def _moving_voltage_partial( + problem: DCProblem, u: np.ndarray, coordinate_direction: np.ndarray | None = None, +) -> np.ndarray: + """Actual F_V+J*direction, combining density/contact terms before cancellation.""" + device = problem.device + count = device.node_count + _, n, p = device.fields(u, voltage_V=problem.voltage_V) + references = tuple( + after - before for before, after in zip( + device.carrier_reference_energies(0.0), device.carrier_reference_energies(1.0), + ) + ) + direction = np.zeros(3 * count) if coordinate_direction is None else coordinate_direction + phi = direction[:count] + dn = n * ((phi + references[0]) / device.thermal_voltage_V + direction[count:2 * count]) + dp = -p * ((phi + references[1]) / device.thermal_voltage_V + direction[2 * count:]) + rate = problem.recombination_rate(n, p) + assert rate.d_rate_dn is not None and rate.d_rate_dp is not None + source = -(rate.d_rate_dn * dn + rate.d_rate_dp * dp) + fn, fp = _particle_perturbations(problem, u, direction, 1.0) + partial = np.zeros(3 * count) + partial[:count] = device.poisson.jacobian() @ phi + device.poisson.charge_jacobian() * Q * (dp - dn) + partial[count - 1] += device.voltage_polarity + for carrier, offset, density_derivative, face, sign, reference in ( + ("n", count, dn, fn, 1.0, references[0]), + ("p", 2 * count, dp, fp, -1.0, references[1]), + ): + rows = -np.diff(np.r_[0.0, face, 0.0]) + device.geometry.cell_measures_m * source + for side, node in (("left", 0), ("right", count - 1)): + channel = device.channel(carrier, side) + if channel.kind == "fixed_reservoir": + rows[node] = sign * ( + (phi[node] + reference) / device.thermal_voltage_V + direction[offset + node] + ) + else: + slope = boundary_particle_flux(channel, channel.reservoir_density_m3).density_derivative + rows[node] += (1.0 if side == "left" else -1.0) * slope * density_derivative[node] + partial[offset:offset + count] = rows + return partial + + +def _lifted_storage_drive(problem: DCProblem, u: np.ndarray, lift: np.ndarray) -> np.ndarray: + """K*(c-lift), evaluated as the merged physical density drive.""" + device = problem.device + count = device.node_count + _, n, p = device.fields(u, voltage_V=problem.voltage_V) + references = tuple( + after - before for before, after in zip( + device.carrier_reference_energies(0.0), device.carrier_reference_energies(1.0), + ) + ) + result = np.zeros(3 * count) + for carrier, offset, density, sign, reference in ( + ("n", count, n, 1.0, references[0]), ("p", 2 * count, p, -1.0, references[1]), + ): + result[offset:offset + count] = device.geometry.cell_measures_m * sign * density * ( + (lift[:count] + reference) / device.thermal_voltage_V + lift[offset:offset + count] + ) + for side, node in (("left", 0), ("right", count - 1)): + if device.channel(carrier, side).kind == "fixed_reservoir": + result[offset + node] = 0.0 + return result + + +def _uniform_carrier_partial(problem: DCProblem, u: np.ndarray, shifted_carrier: str) -> np.ndarray: + """Production derivative for a uniform dimensionless carrier offset. + + A unit electron offset gives dn=n; a unit hole offset gives dp=-p. + The corresponding particle flux scales by +Gamma_n or -Gamma_p. + """ + device = problem.device + count = device.node_count + _, n, p = device.fields(u, voltage_V=problem.voltage_V) + dn = n if shifted_carrier == "n" else np.zeros(count) + dp = -p if shifted_carrier == "p" else np.zeros(count) + rate = problem.recombination_rate(n, p) + assert rate.d_rate_dn is not None and rate.d_rate_dp is not None + source = -(rate.d_rate_dn * dn + rate.d_rate_dp * dp) + fluxes = problem.fluxes(u) + result = np.zeros(3 * count) + result[:count] = device.poisson.charge_jacobian() * Q * (dp - dn) + for carrier, offset, density, flux, sign in ( + ("n", count, dn, fluxes.electron, 1.0), ("p", 2 * count, dp, fluxes.hole, -1.0), + ): + face = sign * flux.flux if carrier == shifted_carrier else np.zeros(count - 1) + rows = -np.diff(np.r_[0.0, face, 0.0]) + device.geometry.cell_measures_m * source + for side, node in (("left", 0), ("right", count - 1)): + channel = device.channel(carrier, side) + if channel.kind == "fixed_reservoir": + rows[node] = sign if carrier == shifted_carrier else 0.0 + else: + slope = boundary_particle_flux(channel, channel.reservoir_density_m3).density_derivative + rows[node] += (1.0 if side == "left" else -1.0) * slope * density[node] + result[offset:offset + count] = rows + return result + + +def _reference_anchor_system( + problem: DCProblem, u: np.ndarray, J: csc_matrix, K: csc_matrix, +) -> tuple[csc_matrix, csc_matrix, csc_matrix, tuple[int, int]]: + """Sparse carrier-offset basis with analytically grouped uniform columns. + + q_i=eta_i+eta_anchor off the anchor, q_anchor=eta_anchor. Thus the + anchor column is the uniform carrier derivative. Evaluating it from + the production kernels retains the small physical mode that can be + lost when large opposite entries of the nodal Jacobian are summed. + """ + device = problem.device + count = device.node_count + transform = eye(3 * count, format="lil") + anchors = [] + for carrier, offset, preferred in ( + ("n", count, "right" if device.voltage_polarity > 0.0 else "left"), + ("p", 2 * count, "left" if device.voltage_polarity > 0.0 else "right"), + ): + fixed = [side for side in ("left", "right") if device.channel(carrier, side).kind == "fixed_reservoir"] + side = fixed[0] if fixed else preferred + anchor = offset + (0 if side == "left" else count - 1) + anchors.append(anchor) + transform[offset:offset + count, anchor] = np.ones(count) + P = transform.tocsc() + matrix = (J @ P).tolil() + for carrier, anchor in zip(("n", "p"), anchors): + uniform = _uniform_carrier_partial(problem, u, carrier) + matrix[:, anchor] = uniform[:, None] + return matrix.tocsc(), (K @ P).tocsc(), P, (anchors[0], anchors[1]) + + +def solve_impedance( + compiled: CompiledDevice1D, + operating_point: SteadyState1D, + frequencies_Hz: ArrayLike, + *, + voltage_phasor_V: complex = 1.0, + steady_options: SteadyOptions | None = None, + linear_options: FrequencyOptions | None = None, + current_absolute_tolerance_A_m2_V: float = 1e-8, + current_relative_tolerance: float = 1e-10, +) -> SmallSignalResult1D: + """Actual fixed/Robin/selective linearization within checked numerical limits. + + Input fields/gates are revalidated against supplied current controls and + code. A bare SteadyState1D does not bind complete historical solver/source + provenance; the checks here do not grant that stronger guarantee. + + With c=du_moving/dV at fixed physical fields, the moving-reference + storage drive is -K*c*Vdot and F_V=polarity*e_phi_right-J*c. For the fixed-reference + perturbation x=du_moving-c*v this cancels, leaving + (J+i*omega*K)x=-polarity*e_phi_right*v. Here K is exactly F_udot. + """ + if not isinstance(compiled, CompiledDevice1D): + raise ValueError("an actual CompiledDevice1D is required") + if not isinstance(operating_point, SteadyState1D): + raise ValueError("an accepted same-device SteadyState1D is required") + if not {"ion_free", "classical_1d_dc", "maxwell_boltzmann"} <= set(compiled.capabilities): + raise ValueError("small-signal capability is limited to ion-free classical 1D") + voltage = complex(voltage_phasor_V) + if not np.isfinite(voltage) or voltage == 0.0: + raise ValueError("voltage_phasor_V must be finite and nonzero") + if not all(math.isfinite(value) and value > 0.0 for value in ( + current_absolute_tolerance_A_m2_V, current_relative_tolerance, + )): + raise ValueError("numerical current-closure controls must be finite and positive") + controls = SteadyOptions() if steady_options is None else steady_options + linear = FrequencyOptions() if linear_options is None else linear_options + limits = { + "poisson_balance": controls.poisson_tolerance, + "continuity_current_bound": controls.continuity_tolerance_A_m2, + "all_face_current_spread": controls.current_spread_tolerance_A_m2, + "zero_equilibrium_carrier_current": controls.equilibrium_current_tolerance_A_m2, + } + if any(gate.name in limits and gate.limit != limits[gate.name] for gate in operating_point.physical_gates): + raise ValueError("supplied DC controls disagree with recorded physical gate limits") + widths = compiled.geometry.cell_measures_m + if not np.array_equal(widths[1:-1], compiled.poisson.interior_widths_m): + raise ValueError("small signal requires matching carrier and Poisson interior control widths") + for channel in compiled.channels: + if channel.kind not in {"fixed_reservoir", "robin", "blocking"}: + raise ValueError(f"unsupported small-signal contact kind: {channel.kind}") + if np.any(np.asarray(frequencies_Hz) == 0.0): + for carrier in ("n", "p"): + if all(compiled.channel(carrier, side).kind == "blocking" for side in ("left", "right")): + raise ValueError(f"zero-frequency {carrier} blocked at both ends is not validated by this small-signal slice") + with job_provenance({"compiled_identity": compiled.identity, "state_sha256": state_digest(operating_point.state.u), "voltage_V": operating_point.voltage_V, "generation_scale": operating_point.generation_scale, "frequencies_Hz": np.asarray(frequencies_Hz).tolist(), "voltage_phasor_V": [voltage.real, voltage.imag], "steady": asdict(controls), "linear": asdict(linear), "current_absolute_tolerance_A_m2_V": current_absolute_tolerance_A_m2_V, "current_relative_tolerance": current_relative_tolerance}, + **provenance_binding("DC1DProblem.small_signal", compiled)): + # Revalidation evaluates the equations, so it runs inside the job that names them. + _verify_point(compiled, operating_point, operating_point.generation_scale, controls) + source_pins = admitted_source_pins() + problem: DCProblem = ( + AssembledDC1DProblem(compiled, operating_point.voltage_V, operating_point.generation_scale) + if use_assembled() else DC1DProblem(compiled, operating_point.voltage_V, operating_point.generation_scale)) + u = operating_point.state.u + J, K = problem.jacobian(u), problem.storage_jacobian(u) + scaled = production_residual_scaling( + compiled, poisson_tolerance=controls.poisson_tolerance, + continuity_tolerance_A_m2=controls.continuity_tolerance_A_m2, + contact_log_tolerance=controls.contact_log_tolerance, + ).scaled(problem.residual(u)) + norm = production_convergence_norm(compiled, convergence_policy=controls.convergence_policy) + recorded_norm = float(np.max(abs(scaled))) if norm is None else norm(scaled) + if recorded_norm != operating_point.newton.scaled_residual: + raise ValueError("supplied DC convergence norm does not match the recorded metric") + count = compiled.node_count + c = voltage_reference_direction(compiled) + lift = np.zeros(3 * count) + lift[count - 1] = -compiled.voltage_polarity + fixed_coordinates: dict[int, complex] = {0: 0.0j, count - 1: 0.0j} + for carrier, offset in (("n", count), ("p", 2 * count)): + for side, node in (("left", 0), ("right", count - 1)): + if compiled.channel(carrier, side).kind == "fixed_reservoir": + lift[offset + node] = ( + -lift[node] / compiled.thermal_voltage_V + c[offset + node] + ) + fixed_coordinates[offset + node] = 0.0j + rhs = -_moving_voltage_partial(problem, u, lift) * voltage + rhs_rate = _lifted_storage_drive(problem, u, lift) * voltage + transform = eye(3 * count, format="csc") + solve_J, solve_K = J, K + anchors: tuple[int, int] | None = None + if any(channel.kind != "fixed_reservoir" for channel in compiled.channels): + solve_J, solve_K, transform, anchors = _reference_anchor_system(problem, u, J, K) + reduced_solutions = solve_frequency_systems( + solve_J, solve_K, rhs, frequencies_Hz, options=linear, fixed_coordinates=fixed_coordinates, rhs_rate=rhs_rate, + ) + original_rhs = -_moving_voltage_partial(problem, u) * voltage + original_rate = (K @ c) * voltage + full_solutions = [] + for item in reduced_solutions: + omega = 2.0 * math.pi * item.frequency_Hz + matrix = J + 1j * omega * K + y = transform @ item.solution + lift * voltage + b = original_rhs + 1j * omega * original_rate + residual = matrix @ y - b + denominator = abs(matrix) @ abs(y) + abs(b) + error = float(np.max(np.divide( + abs(residual), denominator, out=np.zeros_like(denominator), where=denominator != 0.0, + ))) + if not math.isfinite(error) or error > linear.relative_tolerance: + raise ArithmeticError("reconstructed small-signal state fails the full original system") + full_solutions.append(FrequencySolution(item.frequency_Hz, y, residual, error, item.refinement_steps)) + solved = tuple(full_solutions) + moving_x = np.stack([item.solution for item in solved]) + fixed_x = moving_x - c * voltage + phi = fixed_x[:, :count] + n, p = operating_point.state.electron_density_m3, operating_point.state.hole_density_m3 + references = tuple( + after - before for before, after in zip( + compiled.carrier_reference_energies(0.0), compiled.carrier_reference_energies(1.0), + ) + ) + dn = n * ((phi + references[0] * voltage) / compiled.thermal_voltage_V + moving_x[:, count:2 * count]) + dp = -p * ((phi + references[1] * voltage) / compiled.thermal_voltage_V + moving_x[:, 2 * count:]) + charge = Q * (dp - dn) + field = -np.diff(phi, axis=1) / np.diff(compiled.nodes_m) + displacement = -np.diff(phi, axis=1) * compiled.poisson.face_capacitance_F_m2 + terminal_D = np.stack(( + displacement[:, 0] - widths[0] * charge[:, 0], + displacement[:, -1] + widths[-1] * charge[:, -1], + ), axis=1) + rate = problem.recombination_rate(n, p) + assert rate.d_rate_dn is not None and rate.d_rate_dp is not None + pair_perturbation = -widths * (rate.d_rate_dn * dn + rate.d_rate_dp * dp) + conduction_rows: list[np.ndarray] = [] + terminal_rows: list[list[complex]] = [] + bounds: list[float] = [] + for index, item in enumerate(solved): + omega = 2.0 * math.pi * item.frequency_Hz + fn, fp = _particle_perturbations(problem, u, moving_x[index], voltage) + conduction_rows.append(-Q * fn + Q * fp) + terminals = [] + for side, node, face, orientation in (("left", 0, 0, -1.0), ("right", count - 1, -1, 1.0)): + current = 0.0j + for carrier, density_perturbation, flux, charge_sign in (("n", dn[index], fn, -Q), ("p", dp[index], fp, Q)): + channel = compiled.channel(carrier, side) + if channel.kind == "fixed_reservoir": + exchange = flux[face] + orientation * ( + pair_perturbation[index, node] - 1j * omega * widths[node] * density_perturbation[node] + ) + else: + slope = boundary_particle_flux(channel, channel.reservoir_density_m3).density_derivative + exchange = slope * density_perturbation[node] + current += charge_sign * exchange + terminals.append(current) + terminal_rows.append(terminals) + residual = abs(item.residual[count:]).copy() + for carrier, offset in (("n", 0), ("p", count)): + for side, node in (("left", 0), ("right", count - 1)): + if compiled.channel(carrier, side).kind == "fixed_reservoir": + residual[offset + node] = 0.0 + bounds.append((Q * float(np.sum(residual)) + omega * float(np.sum(abs(item.residual[1:count - 1])))) / abs(voltage)) + conduction = np.asarray(conduction_rows) + terminal_conduction = np.asarray(terminal_rows) + omegas = 2.0 * math.pi * np.asarray([item.frequency_Hz for item in solved]) + displacement_current = 1j * omegas[:, None] * displacement + terminal_displacement = 1j * omegas[:, None] * terminal_D + total = conduction + displacement_current + terminal_total = terminal_conduction + terminal_displacement + all_faces = np.c_[terminal_total[:, :1], total, terminal_total[:, 1:]] / voltage + spread = np.max(abs(all_faces - all_faces[:, :1]), axis=1) + scale = np.max(abs(all_faces), axis=1) + if np.any(spread > current_absolute_tolerance_A_m2_V + current_relative_tolerance * scale): + raise ArithmeticError(f"small-signal Maxwell-current closure failed: {float(np.max(spread)):g} A/m^2/V") + positive_electrode = 0 if compiled.voltage_polarity > 0.0 else 1 + input_current = compiled.voltage_polarity * terminal_total[:, positive_electrode] + digest = state_digest(u) + identity = hashlib.sha256(json.dumps(( + compiled.identity, float(operating_point.voltage_V).hex(), float(operating_point.generation_scale).hex(), digest, + )).encode()).hexdigest() + source_identity = hashlib.sha256(json.dumps(source_pins, sort_keys=True).encode()).hexdigest() + return SmallSignalResult1D( + np.asarray([item.frequency_Hz for item in solved]), voltage, compiled.nodes_m, + fixed_x, moving_x, c, phi, field, dn, dp, conduction, displacement_current, + total, terminal_conduction, terminal_displacement, terminal_total, input_current, + input_current / voltage, spread, np.asarray(bounds), solved, compiled.identity, + identity, digest, operating_point.voltage_V, operating_point.generation_scale, + compiled.voltage_polarity, source_identity, source_pins, asdict(controls), { + **asdict(linear), "fixed_coordinate_indices": sorted(fixed_coordinates), + "carrier_reference_anchor_coordinates": anchors, + "coordinate_form": "boundary-voltage lifted moving reference; full original residual verified", + "current_absolute_tolerance_A_m2_V": current_absolute_tolerance_A_m2_V, + "current_relative_tolerance": current_relative_tolerance, + }, + ) diff --git a/src/solarlab/experiments/inputs.py b/src/solarlab/experiments/inputs.py new file mode 100644 index 00000000..858bf240 --- /dev/null +++ b/src/solarlab/experiments/inputs.py @@ -0,0 +1,69 @@ +"""Strict editable experiment primitives shared by declared preparation routes.""" +from __future__ import annotations + +import json +from typing import Any, ClassVar, NoReturn +from pydantic import Field, ValidationError, ValidationInfo, field_validator +from solarlab.materials.full_parameters import StructuredInput +from solarlab.units import normalize_quantity + + +def vector(unit: str, *, required: bool = True, minimum: int = 0, + input_unit: str | None = None, positive: bool = False) -> Any: + return Field(default=... if required else None, min_length=minimum, + json_schema_extra={"item_unit": unit, "item_input_unit": input_unit, + "item_positive": positive}) + + +def invalid(name: str, path: tuple[str | int, ...], message: str, value: object) -> NoReturn: + raise ValidationError.from_exception_data(name, [{"type": "value_error", "loc": path, + "input": value, "ctx": {"error": ValueError(message)}}]) + + +class ExperimentInput(StructuredInput): + _nullable_fields: ClassVar[frozenset[str]] = frozenset() + + @classmethod + def _allows_null(cls, name: str) -> bool: + return name in cls._nullable_fields + + @field_validator("*") + @classmethod + def _nulls(cls, value: object, info: ValidationInfo) -> object: + if value is None and not cls._allows_null(str(info.field_name)): + raise ValueError("omit to inherit; explicit null is unsupported") + return value + + @field_validator("*", mode="before") + @classmethod + def _vectors(cls, value: object, info: ValidationInfo) -> object: + extra = cls.model_fields[str(info.field_name)].json_schema_extra + if not isinstance(extra, dict) or "item_unit" not in extra or value is None: + return value + if not isinstance(value, (tuple, list)): + raise ValueError("supply an explicit ordered array") + for index, item in enumerate(value): + try: + number = normalize_quantity(item, str(extra["item_unit"]), input_unit=extra.get("item_input_unit")) + if extra.get("item_positive") and number <= 0: + raise ValueError("must be positive; values are never silently dropped") + except ValueError as error: + invalid(cls.__name__, (index,), str(error), item) + return tuple(value) + + def normalized_data(self) -> dict[str, Any]: + data = super().normalized_data() + for name in self.model_fields_set: + extra = type(self).model_fields[name].json_schema_extra + value = getattr(self, name) + if value is not None and isinstance(extra, dict) and "item_unit" in extra: + data[name] = [normalize_quantity(item, str(extra["item_unit"]), input_unit=extra.get("item_input_unit")) for item in value] + return data + + +def input_document(raw: bytes) -> Any: + def pairs(items: list[tuple[str, Any]]) -> dict[str, Any]: + if len({key for key, _ in items}) != len(items): + raise ValueError("duplicate experiment JSON declaration field") + return dict(items) + return json.loads(raw, object_pairs_hook=pairs, parse_int=lambda word: -0.0 if word == "-0" else int(word)) diff --git a/src/solarlab/experiments/ionic_impedance.py b/src/solarlab/experiments/ionic_impedance.py new file mode 100644 index 00000000..f8c8d2a0 --- /dev/null +++ b/src/solarlab/experiments/ionic_impedance.py @@ -0,0 +1,407 @@ +"""Bounded ionic AC sweeps from an accepted, source-bound steady artifact. + +Phasors use exp(+i omega t); voltage amplitude is a linear normalization. +Mobile and explicitly frozen-ion responses retain the same operating ionic +profile. Result reading is checksum-checked data access without a solve. +""" + +from __future__ import annotations + +from solarlab.reproducibility.job_provenance import ( + JobProvenance, admitted_source_pins, current_provenance, job_provenance, result_provenance, +) + +from dataclasses import asdict, dataclass, field, fields, is_dataclass +import hashlib +import json +import math +from pathlib import Path +import time +from typing import TYPE_CHECKING, Any + +import numpy as np +from numpy.typing import ArrayLike + +from solarlab.equations.ionic_1d import CompiledIonicDevice1D +from solarlab.experiments.ionic_transient import IonicTransientInitial, _admit_evidence, _same_state +from solarlab.solvers.linear.frequency_domain import FrequencyOptions, FrequencySolution, solve_frequency_systems +from solarlab.solvers.nonlinear.problem import GateOutcome, state_digest + +if TYPE_CHECKING: + from solarlab.equations.assembly.small_signal import AssembledIonicSmallSignal1D + from solarlab.equations.ionic_small_signal import IonicSmallSignal1D + +__all__ = [ + "IonicImpedanceOptions", "IonicImpedanceAttempt", "IonicImpedanceResult", + "solve_ionic_impedance", "write_ionic_impedance_result", "read_ionic_impedance_result", +] + +RESULT_SCHEMA = "solarlab.ionic_impedance.v1" + + +@dataclass(frozen=True) +class IonicImpedanceOptions: + linear: FrequencyOptions = field(default_factory=FrequencyOptions) + current_absolute_tolerance_A_m2_V: float = 1e-8 + current_relative_tolerance: float = 1e-10 + inventory_relative_tolerance_per_V: float = 1e-12 + wall_s: float = 30.0 + + def __post_init__(self) -> None: + if not isinstance(self.linear, FrequencyOptions): + raise ValueError("explicit FrequencyOptions are required") + for name in ("current_absolute_tolerance_A_m2_V", "current_relative_tolerance", + "inventory_relative_tolerance_per_V", "wall_s"): + value = getattr(self, name) + if not math.isfinite(value) or value <= 0.0: + raise ValueError(f"{name} must be finite and positive") + + +@dataclass(frozen=True) +class IonicImpedanceAttempt: + frequency_Hz: float + accepted: bool + termination: str + linear_solution: FrequencySolution | None + observation: dict[str, Any] | None + checks: tuple[GateOutcome, ...] + wall_s: float + error: str | None = None + coordinate_representation: str | None = None + + +@dataclass(frozen=True) +class IonicImpedanceResult: + requested_frequencies_Hz: np.ndarray + voltage_phasor_V: complex + ion_mode: str + attempts: tuple[IonicImpedanceAttempt, ...] + initial_provenance: dict[str, Any] + compiled_identity: str + original_prepared_identity: str + binding_manifest: dict[str, Any] + source_sha256: dict[str, str] + solver_controls: dict[str, Any] + linear_solver_calls: int + wall_s: float + phasor_convention: str = "exp(+i omega t)" + physical_certificate_status: str = "not_evaluated" + + job_provenance: dict[str, Any] | None = field(default_factory=current_provenance) + + def __post_init__(self) -> None: + frequencies = np.array(self.requested_frequencies_Hz, dtype=float, copy=True) + frequencies.setflags(write=False) + object.__setattr__(self, "requested_frequencies_Hz", frequencies) + + @property + def completed(self) -> bool: + return (len(self.attempts) == self.requested_frequencies_Hz.size + and all(attempt.accepted for attempt in self.attempts)) + + @property + def failed_attempts(self) -> tuple[IonicImpedanceAttempt, ...]: + return tuple(attempt for attempt in self.attempts if not attempt.accepted) + + +def _frequencies(values: ArrayLike, controls: FrequencyOptions) -> np.ndarray: + supplied = np.asarray(values) + if np.iscomplexobj(supplied): + raise ValueError("frequencies must be real Hz") + result = np.asarray(supplied, dtype=float) + if (result.ndim != 1 or result.size == 0 or result.size > controls.max_frequencies + or not np.all(np.isfinite(result)) or np.any(result < 0.0) + or np.unique(result).size != result.size): + raise ValueError("frequencies must be a bounded distinct list of finite nonnegative Hz") + return result.copy() + + + + +def _finite(value: Any) -> bool: + if isinstance(value, dict): + return all(_finite(item) for item in value.values()) + if isinstance(value, (tuple, list)): + return all(_finite(item) for item in value) + if isinstance(value, (np.ndarray, complex, float, int, np.number)): + return bool(np.all(np.isfinite(value))) + return True + + +def _checks( + compiled: CompiledIonicDevice1D, observed: dict[str, Any], linear: FrequencySolution, + voltage: complex, ion_mode: str, controls: IonicImpedanceOptions, +) -> tuple[GateOutcome, ...]: + from solarlab.equations.ionic_closure import declared_immobile_profiles + + def check(name: str, value: float, limit: float) -> GateOutcome: + return GateOutcome(name, math.isfinite(value) and value <= limit, value, limit, + "prospective numerical AC control; physical status not_evaluated") + + current = np.asarray(observed["total_current_density_A_m2"], dtype=complex) + if current.shape != (compiled.node_count + 1,): + raise ValueError("ionic AC accounting requires both external and all internal current faces") + normalized = current / voltage + spread = float(np.max(abs(normalized - normalized[0]))) + scale = float(np.max(abs(normalized))) + results = [ + check("linear_system_backward_error", linear.componentwise_backward_error, controls.linear.relative_tolerance), + check("original_linear_rows_backward_error", float(observed["original_componentwise_backward_error"]), + controls.linear.relative_tolerance), + check("all_face_Maxwell_spread_A_m2_V", spread, + controls.current_absolute_tolerance_A_m2_V + controls.current_relative_tolerance * scale), + ] + inventories, ratios = {}, {} + immobile_profiles = declared_immobile_profiles(compiled) + for species in compiled.ion_species_names: + density = np.asarray(observed["ion_density_perturbation_m3"][species], dtype=complex) + if density.shape != (compiled.ion_node_count,): + raise ValueError("ionic AC density perturbation must cover each species domain") + weighted = compiled.ion_geometry.cell_measures_m * density + inventory = complex(math.fsum(weighted.real.tolist()), math.fsum(weighted.imag.tolist())) + target = math.fsum((compiled.ion_geometry.cell_measures_m + * getattr(compiled, f"{species}_ion_reference_m3")).tolist()) + ratio = abs(inventory) / (target * abs(voltage)) + inventories[species], ratios[species] = inventory, ratio + results.append(check(f"{species}_inventory_relative_per_V", ratio, controls.inventory_relative_tolerance_per_V)) + if species in immobile_profiles: + local_ratio = float(np.max(abs(density) / immobile_profiles[species])) / abs(voltage) + results.append(check(f"{species}_immobile_density_relative_per_V", local_ratio, + controls.inventory_relative_tolerance_per_V)) + if ion_mode == "frozen": + results.append(check(f"{species}_frozen_density_response", float(np.max(abs(density))), 0.0)) + if ion_mode == "frozen": + ionic_current = np.asarray(observed["ionic_conduction_current_density_A_m2"], dtype=complex) + results.append(check("frozen_ionic_current_response", float(np.max(abs(ionic_current))), 0.0)) + observed["consumer_inventory_perturbation_m2"] = inventories + observed["consumer_inventory_relative_per_V"] = ratios + observed["consumer_Maxwell_spread_A_m2_V"] = spread + return tuple(results) + + +class _SweepWallLimit(RuntimeError): + pass + + +def solve_ionic_impedance( + compiled: CompiledIonicDevice1D, initial: IonicTransientInitial, frequencies_Hz: ArrayLike, + *, ion_mode: str = "mobile", voltage_phasor_V: complex = 1.0, + options: IonicImpedanceOptions | None = None, +) -> IonicImpedanceResult: + """One bounded sweep using the existing complex solver and a pinned steady input. + + The shared steady-artifact reader performs admission only. No nonlinear + solve, time advance or ionic relaxation is run here. A frequency failure + stops the sweep and preserves its preceding responses and failed attempt. + The wall limit is cooperative between bounded native operations. + """ + started = time.monotonic() + controls = IonicImpedanceOptions() if options is None else options + if not isinstance(controls, IonicImpedanceOptions): + raise ValueError("IonicImpedanceOptions are required") + requested = _frequencies(frequencies_Hz, controls.linear) + voltage = complex(voltage_phasor_V) + if not np.isfinite(voltage) or voltage == 0.0: + raise ValueError("voltage normalization must be finite and nonzero") + if ion_mode not in {"mobile", "frozen"}: + raise ValueError("ion_mode must be explicitly mobile or frozen") + if not isinstance(compiled, CompiledIonicDevice1D) or not isinstance(initial, IonicTransientInitial): + raise ValueError("an actual ionic device and pinned accepted steady input are required") + if any(channel.kind != "fixed_reservoir" for channel in compiled.electronic_component.channels): + raise ValueError("ionic AC currently supports only fixed-reservoir carrier contacts") + + # Kept lazy so checksum-checked result reading never loads the AC operator. + from solarlab.equations.assembly.small_signal import assembled_ionic_small_signal + from solarlab.equations.implementation import observation_binding, provenance_binding, use_assembled + from solarlab.equations.ionic_small_signal import build_ionic_small_signal + + with job_provenance({"compiled_identity": compiled.identity, "initial_sha256": initial.source_sha256, "initial_state_sha256": state_digest(initial.state.u), "steady_controls": asdict(initial.steady_controls), "frequencies_Hz": requested.tolist(), "voltage_phasor_V": [voltage.real, voltage.imag], "ion_mode": ion_mode, "controls": asdict(controls)}, + **provenance_binding("IonicSmallSignal1D", compiled, + inventory_row_node=initial.steady_controls.inventory_row_node)): + pins = admitted_source_pins() + admitted, generation, initial_checks = _admit_evidence( + compiled, initial.evidence_json, initial.source_sha256, initial.steady_controls, + ) + if not _same_state(initial.state, admitted) or initial.generation_scale != generation: + raise ValueError("ionic AC initial object disagrees with its pinned steady evidence") + operator: IonicSmallSignal1D | AssembledIonicSmallSignal1D = ( + assembled_ionic_small_signal(compiled, admitted, generation_scale=generation) if use_assembled() + else build_ionic_small_signal(compiled, admitted, generation_scale=generation)) + deadline = started + controls.wall_s + attempts = [] + calls = 0 + + def checkpoint() -> None: + if time.monotonic() >= deadline: + raise _SweepWallLimit("ionic AC sweep wall budget exhausted; no retry") + + for supplied in requested: + frequency = float(supplied) + attempt_started = time.monotonic() + solved, observed, error = None, None, None + representation = None + checks: tuple[GateOutcome, ...] = () + try: + checkpoint() + system = operator.system(frequency, voltage_phasor_V=voltage, ion_mode=ion_mode) + representation = system.coordinate_form + if not isinstance(representation, str) or not representation: + raise ValueError("ionic AC solve requires an explicit coordinate representation") + expected_rows = tuple(range(compiled.state_size if ion_mode == "mobile" else 3 * compiled.node_count)) + if tuple(system.original_rows_enforced) != expected_rows: + raise ValueError("ionic AC original-row coverage disagrees with its response model") + checkpoint() + calls += 1 + solved = solve_frequency_systems( + system.jacobian, system.storage_jacobian, system.rhs, [frequency], + options=controls.linear, + fixed_coordinates=system.fixed_coordinates, + rhs_rate=system.rhs_rate, + )[0] + checkpoint() + observed = operator.observe(solved.solution, frequency, voltage_phasor_V=voltage, ion_mode=ion_mode, + **observation_binding(operator, system)) + if not isinstance(observed, dict) or not _finite(observed): + raise ValueError("ionic AC accounting is malformed or nonfinite") + observed_rows = observed["original_rows_enforced"] + if not isinstance(observed_rows, (tuple, list)) or tuple(observed_rows) != expected_rows: + raise ValueError("ionic AC observation omits required original rows") + if (observed["coordinate_form"] != representation + or not np.array_equal(observed["solve_coordinate_perturbation"], solved.solution)): + raise ValueError("ionic AC observation must retain its exact raw solve coordinates") + observed["inventory_constraint_rows"] = system.constraint_rows + if system.immobile_constraint_rows: + observed["immobile_constraint_rows"] = system.immobile_constraint_rows + checks = _checks(compiled, observed, solved, voltage, ion_mode, controls) + checkpoint() + accepted = all(item.passed for item in checks) + termination = "converged" if accepted else "numerical_check_failed" + except Exception as exc: + accepted = False + termination = "wall_budget_exhausted" if isinstance(exc, _SweepWallLimit) else "evaluation_error" + error = f"{type(exc).__name__}: {str(exc)[:400]}" + attempts.append(IonicImpedanceAttempt(frequency, accepted, termination, solved, observed, checks, + time.monotonic() - attempt_started, error, representation)) + if not accepted: + break + provenance = {"source_path": initial.source_path, "source_sha256": initial.source_sha256, + "state_sha256": state_digest(admitted.u), "voltage_V": admitted.voltage_V, + "generation_scale": generation, "steady_controls": asdict(initial.steady_controls), + "initial_admission_checks": initial_checks} + recorded = asdict(controls) + recorded["voltage_normalization"] = "linear derivative; not a finite-amplitude voltage experiment" + return IonicImpedanceResult(requested, voltage, ion_mode, tuple(attempts), provenance, compiled.identity, + compiled.original_prepared_sha256, compiled.binding_manifest, pins, recorded, calls, time.monotonic() - started) + + +def _encoded(value: Any) -> Any: + """Lossless binary64 JSON roundtrip, with explicit failed nonfinite values.""" + if is_dataclass(value) and not isinstance(value, type): + return {item.name: _encoded(getattr(value, item.name)) for item in fields(value)} + if isinstance(value, np.ndarray): + return {"__array__": _encoded(value.tolist()), "dtype": value.dtype.str, "shape": list(value.shape)} + if isinstance(value, np.generic): + return _encoded(value.item()) + if isinstance(value, complex): + return {"__complex__": [_encoded(value.real), _encoded(value.imag)]} + if isinstance(value, float) and not math.isfinite(value): + return {"__nonfinite__": "nan" if math.isnan(value) else "inf" if value > 0 else "-inf"} + if isinstance(value, dict): + return {key: _encoded(item) for key, item in value.items()} + if isinstance(value, (tuple, list)): + return [_encoded(item) for item in value] + return value + + +def _decoded(value: Any) -> Any: + if isinstance(value, list): + return [_decoded(item) for item in value] + if not isinstance(value, dict): + return value + if set(value) == {"__nonfinite__"}: + if value["__nonfinite__"] not in {"nan", "inf", "-inf"}: + raise ValueError("invalid nonfinite encoding") + return float(value["__nonfinite__"]) + if set(value) == {"__complex__"}: + components = value["__complex__"] + if not isinstance(components, list) or len(components) != 2: + raise ValueError("invalid complex encoding") + return complex(_decoded(components[0]), _decoded(components[1])) + if set(value) == {"__array__", "dtype", "shape"}: + dtype = np.dtype(value["dtype"]) + if dtype.kind not in "biufc": + raise ValueError("result arrays require numerical dtypes") + shape = value["shape"] + if not isinstance(shape, list) or any(type(size) is not int or size < 0 for size in shape): + raise ValueError("invalid result array shape") + result = np.asarray(_decoded(value["__array__"]), dtype=dtype).reshape(shape) + result.setflags(write=False) + return result + return {key: _decoded(item) for key, item in value.items()} + + +def write_ionic_impedance_result(result: IonicImpedanceResult, path: str | Path) -> str: + """Write one result exclusively and return the hash of its complete bytes.""" + if not isinstance(result, IonicImpedanceResult): + raise ValueError("an actual IonicImpedanceResult is required") + record = {"schema": RESULT_SCHEMA, "completed": result.completed, "result": _encoded(result)} + raw = (json.dumps(record, indent=2, allow_nan=False) + "\n").encode() + with Path(path).open("xb") as output: + output.write(raw) + return hashlib.sha256(raw).hexdigest() + + +def read_ionic_impedance_result(path: str | Path, sha256: str, *, + current_identity: JobProvenance | dict[str, Any] | None = None, + strict_same_source: bool = False, +) -> dict[str, Any]: + """Read and validate recorded data without an operator, model rebuild or solve.""" + raw = Path(path).read_bytes() + if hashlib.sha256(raw).hexdigest() != sha256: + raise ValueError("ionic impedance artifact SHA-256 mismatch") + try: + record = _decoded(json.loads(raw)) + if record["schema"] != RESULT_SCHEMA: + raise ValueError("unsupported ionic impedance result schema") + result = record["result"] + controls = FrequencyOptions(**result["solver_controls"]["linear"]) + requested = _frequencies(result["requested_frequencies_Hz"], controls) + attempts = result["attempts"] + voltage = complex(result["voltage_phasor_V"]) + if (result["ion_mode"] not in {"mobile", "frozen"} + or not np.isfinite(voltage) or voltage == 0.0 + or result["phasor_convention"] != "exp(+i omega t)" + or result["physical_certificate_status"] != "not_evaluated" + or len(attempts) > requested.size): + raise ValueError("inconsistent ionic impedance result metadata") + for index, attempt in enumerate(attempts): + if (attempt["frequency_Hz"] != requested[index] or type(attempt["accepted"]) is not bool + or (not attempt["accepted"] and index != len(attempts) - 1)): + raise ValueError("ionic impedance attempts must retain the requested prefix and first failure") + if attempt["accepted"]: + linear = attempt["linear_solution"] + error = linear["componentwise_backward_error"] + if (attempt["termination"] != "converged" or attempt["observation"] is None + or not math.isfinite(error) or error > controls.relative_tolerance + or not attempt["checks"] or any( + check["passed"] is not True or not math.isfinite(check["value"]) + or check["value"] > check["limit"] for check in attempt["checks"])): + raise ValueError("contradictory accepted ionic impedance evidence") + observed = attempt["observation"] + representation = attempt["coordinate_representation"] + if (not isinstance(representation, str) or not representation + or observed["coordinate_form"] != representation + or not np.array_equal(observed["solve_coordinate_perturbation"], linear["solution"]) + or not _finite(observed)): + raise ValueError("ionic impedance evidence lost its finite raw solve representation") + completed = len(attempts) == requested.size and all(item["accepted"] for item in attempts) + if record["completed"] is not completed: + raise ValueError("ionic impedance completion contradicts its retained attempts") + except (KeyError, TypeError, AttributeError, IndexError) as exc: + raise ValueError("incomplete or malformed ionic impedance artifact") from exc + record["provenance_comparison"] = result_provenance(result, current_identity, + strict_same_source=strict_same_source, expected_inputs=None if result.get("job_provenance") is None else {"compiled_identity": result["compiled_identity"], "initial_sha256": result["initial_provenance"]["source_sha256"], + "initial_state_sha256": result["initial_provenance"]["state_sha256"], "steady_controls": result["initial_provenance"]["steady_controls"], + "frequencies_Hz": result["requested_frequencies_Hz"].tolist(), "voltage_phasor_V": [voltage.real, voltage.imag], + "ion_mode": result["ion_mode"], "controls": {k: v for k, v in result["solver_controls"].items() if k != "voltage_normalization"}}) + return record diff --git a/src/solarlab/experiments/ionic_initialization.py b/src/solarlab/experiments/ionic_initialization.py new file mode 100644 index 00000000..54bcfeed --- /dev/null +++ b/src/solarlab/experiments/ionic_initialization.py @@ -0,0 +1,528 @@ +"""Explicit physical-density preparation followed by the full coupled ionic solve. + +Select direct_density_seed_v1 for one fresh preparation, or explicitly supply +a pinned preparation to reuse. Both routes retain the original ionic profile +while forming a guess and then solve every coupled ionic/electronic equation. +The earlier electronic_density_seed_v1 auxiliary policy remains explicit for +its recorded failure evidence; it is never selected as a fallback. +""" + +from __future__ import annotations + +from solarlab.reproducibility.job_provenance import ( + JobProvenance, result_provenance, + admitted_source_pins, current_provenance, job_provenance, +) + +from dataclasses import asdict, dataclass, field +import hashlib +import json +import math +from pathlib import Path +import time +from typing import Any + +import numpy as np +from numpy.typing import ArrayLike + +from solarlab.equations.assembly.classical_1d import AssembledDC1DProblem +from solarlab.equations.dc_1d import DC1DProblem, State1D +from solarlab.equations.implementation import ( + DCProblem, provenance_binding, substage_binding, use_assembled, +) +from solarlab.equations.ionic_1d import CompiledIonicDevice1D, IonicState1D +from solarlab.experiments.ionic_transient import IonicTransientInitial, _admit_evidence, _same_state +from solarlab.experiments.transient_results import _decode, _encode +from solarlab.solvers.nonlinear.ionic_1d import IonicSteadyOptions, IonicSteadyResult, solve_ionic_steady_state +from solarlab.solvers.nonlinear.newton import NewtonResult +from solarlab.solvers.nonlinear.problem import state_digest +from solarlab.solvers.nonlinear.steady_1d import ( + SteadyState1D, SteadyStateError, density_basin_seed, solve_steady_state, +) + +__all__ = ["IonicInitializationOptions", "IonicInitializationResult", "IonicDensitySeedArtifact", + "load_ionic_density_seed", "initialize_ionic_steady_state", + "write_ionic_initialization", "read_ionic_initialization"] + +POLICY = "electronic_density_seed_v1" +DIRECT_POLICY = "direct_density_seed_v1" +SCHEMA = "solarlab.ionic_initialization.v1" + + +@dataclass(frozen=True) +class IonicInitializationOptions: + """Unchanged coupled/electronic controls and a stage-boundary wall limit. + + The component's existing public solver has finite evaluation budgets but + no interrupt callback. A caller needing a hard process deadline must also + supervise the whole command; wall_s here is checked between stages. + """ + + steady: IonicSteadyOptions + policy: str + wall_s: float + + def __post_init__(self) -> None: + if not isinstance(self.steady, IonicSteadyOptions): + raise ValueError("explicit IonicSteadyOptions are required") + if self.policy not in {POLICY, DIRECT_POLICY}: + raise ValueError("explicit electronic_density_seed_v1 or direct_density_seed_v1 is required") + if not math.isfinite(self.wall_s) or self.wall_s <= 0: + raise ValueError("wall_s must be finite and positive") + + +@dataclass(frozen=True) +class IonicInitializationResult: + accepted: bool + termination: str + voltage_V: float + generation_scale: float + initial: IonicTransientInitial + solver_controls: dict[str, Any] + compiled_identity: str + component_identity: str + binding_manifest: dict[str, Any] + source_sha256: dict[str, str] + initial_electronic_state: State1D + density_seed: State1D | None + component_result: SteadyState1D | None + component_failure: NewtonResult | None + coupled_initial_state: IonicState1D | None + coupled_result: IonicSteadyResult | None + stages: tuple[dict[str, Any], ...] + evaluation_counts: dict[str, int] + wall_s: float + error: str | None + physical_certificate_status: str = "not_evaluated" + qualification: bool = False + density_seed_provenance: dict[str, Any] | None = None + + job_provenance: dict[str, Any] | None = field(default_factory=current_provenance) + + @property + def state(self) -> IonicState1D | None: + return self.coupled_result.state if self.accepted and self.coupled_result is not None else None + + +@dataclass(frozen=True) +class IonicDensitySeedArtifact: + """Pinned existing preparation evidence, never a certified ionic solution.""" + + source_path: str + source_sha256: str + evidence_json: str + + +def load_ionic_density_seed(path: str | Path, sha256: str) -> IonicDensitySeedArtifact: + """Read a recorded positive physical-density seed; perform no preparation.""" + read_ionic_initialization(path, sha256) + text = Path(path).read_text() + if hashlib.sha256(text.encode()).hexdigest() != sha256: + raise ValueError("density seed artifact changed during read") + return IonicDensitySeedArtifact(str(Path(path).resolve()), sha256, text) + + +def _admit_density_seed( + compiled: CompiledIonicDevice1D, initial: IonicTransientInitial, voltage: float, generation: float, + artifact: IonicDensitySeedArtifact, electronic_initial: State1D, +) -> tuple[State1D, dict[str, Any]]: + if hashlib.sha256(artifact.evidence_json.encode()).hexdigest() != artifact.source_sha256: + raise ValueError("density seed artifact SHA-256 mismatch") + document = json.loads(artifact.evidence_json) + saved = _decode(document["result"]) + if document.get("schema") != SCHEMA or document.get("bindings") != _request_bindings(saved): + raise ValueError("density seed request/control/source identity mismatch") + _validate_record(saved) + if (saved["solver_controls"]["policy"] != POLICY or saved["density_seed"] is None + or saved["compiled_identity"] != compiled.identity or saved["voltage_V"] != voltage + or saved["generation_scale"] != generation + or saved["initial"]["source_sha256"] != initial.source_sha256 + or saved["initial"]["evidence_json"] != initial.evidence_json + or saved["solver_controls"]["steady"] != asdict(initial.steady_controls) + or not any(stage["name"] == "physical_density_preparation" and stage["accepted"] is True + for stage in saved["stages"])): + raise ValueError("recorded density seed does not match the declared device/initial/request") + fields = saved["density_seed"] + state = compiled.electronic_component.state(fields["u"], voltage_V=voltage) + if (not np.array_equal(state.potential_V, electronic_initial.potential_V) + or any(not np.array_equal(fields[name], getattr(state, name)) for name in + ("u", "potential_V", "electron_density_m3", "hole_density_m3")) + or any(np.any(value <= 0) or not np.all(np.isfinite(value)) for value in + (state.electron_density_m3, state.hole_density_m3))): + raise ValueError("recorded density fields disagree with their positive frozen-phi coordinates") + return state, {**asdict(artifact), "mode": "saved", "original_preparation_counts": { + name: saved["evaluation_counts"][name] for name in + ("density_preparation_calls", "density_residual", "density_jacobian")}, + "producer_source_sha256": saved["source_sha256"], + "selected_field": "density_seed", "physical_acceptance": False} + + + + +def initialize_ionic_steady_state( + compiled: CompiledIonicDevice1D, *, initial: IonicTransientInitial, + voltage_V: float, generation_scale: float, options: IonicInitializationOptions, + density_seed_artifact: IonicDensitySeedArtifact | None = None, +) -> IonicInitializationResult: + """A declared numerical seed path; final acceptance uses full ionic equations. + + Admission rechecks the pinned original input. The direct policy prepares + positive finite carriers once at fixed phi, or reuses an explicitly supplied + preparation. It immediately solves the full system with untouched ionic + coordinates/inventory in the guess. Only the separately selected auxiliary + policy runs an electronic-only Newton. Every stage/failure remains recorded. + """ + started = time.monotonic() + if not isinstance(compiled, CompiledIonicDevice1D) or not isinstance(options, IonicInitializationOptions): + raise ValueError("an actual ionic device and explicit initialization options are required") + if density_seed_artifact is not None and not isinstance(density_seed_artifact, IonicDensitySeedArtifact): + raise ValueError("recorded density seed must carry an explicit artifact binding") + if options.policy == POLICY and density_seed_artifact is not None: + raise ValueError("electronic_density_seed_v1 performs its own declared preparation") + if not isinstance(initial, IonicTransientInitial) or initial.steady_controls != options.steady: + raise ValueError("a pinned accepted same-device initial and identical steady controls are required") + voltage, generation = float(voltage_V), float(generation_scale) + if not math.isfinite(voltage) or not math.isfinite(generation) or generation <= 0: + raise ValueError("voltage must be finite and illuminated generation_scale must be positive") + if any(channel.kind != "fixed_reservoir" for channel in compiled.electronic_component.channels): + raise ValueError("ionic initialization currently requires fixed-reservoir contacts") + domain = compiled.binding_manifest.get("ion_domain") + if not isinstance(domain, dict) or domain.get("contacts") != ["blocking", "blocking"]: + raise ValueError("ionic initialization requires one declared blocking domain") + for species in compiled.ion_species_names: + diffusion = getattr(compiled, species + "_ion_diffusivity_faces_m2_s") + if not np.all(np.isfinite(diffusion)) or np.any(diffusion <= 0): + raise ValueError("ionic initialization requires connected positive-D species") + # In a process job this is a preparation substage of the already admitted + # ionic curve, bound to its implementation; standalone initialization + # declares its own operator. Revalidating the evidence evaluates the + # equations, so it runs inside the job that names them. + closure = options.steady.inventory_row_node + with job_provenance({"compiled_identity": compiled.identity, "initial_sha256": initial.source_sha256, "voltage_V": voltage, "generation_scale": generation, "controls": asdict(options), "density_seed_sha256": None if density_seed_artifact is None else density_seed_artifact.source_sha256}, + **(provenance_binding("Ionic1DProblem.initialization", compiled, inventory_row_node=closure) + if current_provenance() is None else substage_binding(compiled, inventory_row_node=closure))): + admitted, old_generation, checks = _admit_evidence( + compiled, initial.evidence_json, initial.source_sha256, initial.steady_controls) + if not _same_state(admitted, initial.state) or old_generation != initial.generation_scale: + raise ValueError("initial state/generation disagrees with its pinned original evidence") + component = compiled.electronic_component + electronic_u = component.rebase_coordinates( + admitted.electronic_state.u, admitted.voltage_V, voltage) + electronic_initial = component.state(electronic_u, voltage_V=voltage) + pins = admitted_source_pins() + density_seed = component_result = component_failure = coupled_initial = coupled_result = None + density_seed_provenance = ({"mode": "fresh", + "routine": "solarlab.solvers.nonlinear.steady_1d._density_basin_seed", + "source_sha256": pins.get("solarlab.solvers.nonlinear.steady_1d"), + "initial_electronic_sha256": state_digest(electronic_u), "voltage_V": voltage, + "generation_scale": generation, "physical_acceptance": False} + if options.policy == DIRECT_POLICY and density_seed_artifact is None else None) + stages: list[dict[str, Any]] = [{"name": "saved_initial_admission", "accepted": True, + "checks": checks, "source_sha256": initial.source_sha256, + "state_sha256": state_digest(admitted.u), "generation_scale": old_generation}] + counts = {"density_preparation_calls": 0, "density_residual": 0, "density_jacobian": 0, + "component_solver_calls": 0, "component_residual": 0, "component_jacobian": 0, + "coupled_solver_calls": 0, "coupled_residual": 0, "coupled_jacobian": 0} + deadline = started + options.wall_s + + def finish(accepted: bool, termination: str, error: str | None = None) -> IonicInitializationResult: + return IonicInitializationResult(accepted, termination, voltage, generation, initial, asdict(options), + compiled.identity, component.identity, compiled.binding_manifest, pins, electronic_initial, + density_seed, component_result, component_failure, coupled_initial, coupled_result, + tuple(stages), dict(counts), time.monotonic() - started, error, + density_seed_provenance=density_seed_provenance) + + def expired() -> bool: + return time.monotonic() >= deadline + + if options.policy == DIRECT_POLICY and density_seed_artifact is not None: + stage_started = time.monotonic() + density_seed, density_seed_provenance = _admit_density_seed( + compiled, initial, voltage, generation, density_seed_artifact, electronic_initial) + stages.append({"name": "recorded_density_seed_admission", "accepted": True, + "source_sha256": density_seed_artifact.source_sha256, "physical_acceptance": False, + "wall_s": time.monotonic() - stage_started}) + electronic_for_coupled = density_seed + else: + # Count actual F/J calls to the unchanged physical-density preparation. + class ObservedDensityProblem(DC1DProblem): + def residual(self, u: ArrayLike, udot: ArrayLike | None = None) -> np.ndarray: + counts["density_residual"] += 1 + return super().residual(u, udot) + + def jacobian(self, u: ArrayLike, udot: ArrayLike | None = None, *, alpha: float = 0.0) -> Any: + counts["density_jacobian"] += 1 + return super().jacobian(u, udot, alpha=alpha) + + class ObservedAssembledDensityProblem(AssembledDC1DProblem): + def residual(self, u: ArrayLike, udot: ArrayLike | None = None) -> np.ndarray: + counts["density_residual"] += 1 + return super().residual(u, udot) + + def jacobian(self, u: ArrayLike, udot: ArrayLike | None = None, *, alpha: float = 0.0) -> Any: + counts["density_jacobian"] += 1 + return super().jacobian(u, udot, alpha=alpha) + + observed: DCProblem = (ObservedAssembledDensityProblem(component, voltage, generation) if use_assembled() + else ObservedDensityProblem(component, voltage, generation)) + if expired(): + return finish(False, "wall_budget_exhausted") + stage_started = time.monotonic() + counts["density_preparation_calls"] += 1 + try: + seeded_u = density_basin_seed(observed, electronic_u) + density_seed = component.state(seeded_u, voltage_V=voltage) + if (not np.array_equal(density_seed.potential_V, electronic_initial.potential_V) + or any(not np.all(np.isfinite(a)) or np.any(a <= 0) + for a in (density_seed.electron_density_m3, density_seed.hole_density_m3))): + raise ValueError("density preparation violated frozen potential or positive carrier contract") + except Exception as exc: + error = f"{type(exc).__name__}: {str(exc)[:400]}" + stages.append({"name": "physical_density_preparation", "accepted": False, "error": error, + "wall_s": time.monotonic() - stage_started}) + return finish(False, "density_preparation_failed", error) + stages.append({"name": "physical_density_preparation", "accepted": True, + "initial_coordinates": electronic_u, "candidate_coordinates": density_seed.u, + "routine": "solarlab.solvers.nonlinear.steady_1d._density_basin_seed", + "residual_evaluations": counts["density_residual"], "jacobian_evaluations": counts["density_jacobian"], + "wall_s": time.monotonic() - stage_started, "physical_acceptance": False}) + if expired(): + return finish(False, "wall_budget_exhausted") + if options.policy == POLICY: + stage_started = time.monotonic() + counts["component_solver_calls"] += 1 + try: + component_result = solve_steady_state(component, initial_state=density_seed, + voltage_V=voltage, generation_scale=generation, options=options.steady.electronic) + result = component_result.newton + counts["component_residual"] = result.residual_evaluations + counts["component_jacobian"] = result.jacobian_evaluations + if component_result.preparation or component_result.density_basin_initializations: + raise ValueError("supplied-initial component path unexpectedly performed extra preparation") + except SteadyStateError as exc: + component_failure = exc.result + counts["component_residual"] = exc.result.residual_evaluations + counts["component_jacobian"] = exc.result.jacobian_evaluations + error = str(exc)[:500] + stages.append({"name": "electronic_component_solve", "accepted": False, + "termination": exc.result.termination.value, "error": error, + "wall_s": time.monotonic() - stage_started}) + return finish(False, "component_" + exc.result.termination.value, error) + except Exception as exc: + error = f"{type(exc).__name__}: {str(exc)[:400]}" + stages.append({"name": "electronic_component_solve", "accepted": False, "error": error, + "wall_s": time.monotonic() - stage_started}) + return finish(False, "component_evaluation_error", error) + stages.append({"name": "electronic_component_solve", "accepted": True, + "termination": component_result.newton.termination.value, + "component_identity": component.identity, "full_ionic_acceptance": False, + "wall_s": time.monotonic() - stage_started}) + if expired(): + return finish(False, "wall_budget_exhausted") + electronic_for_coupled = component_result.state + else: + electronic_for_coupled = density_seed + if options.policy == DIRECT_POLICY: + stages.append({"name": "electronic_component_solve", "accepted": None, "status": "not_run", + "reason": "explicit direct_density_seed_v1; no auxiliary solve"}) + if expired(): + return finish(False, "wall_budget_exhausted") + stage_started = time.monotonic() + try: + joined = np.r_[electronic_for_coupled.u, admitted.u[3 * compiled.node_count:]] + coupled_initial = compiled.state(joined, voltage_V=voltage) + if (not np.array_equal(coupled_initial.u[3 * compiled.node_count:], + admitted.u[3 * compiled.node_count:]) + or coupled_initial.domain_inventories_m2 != admitted.domain_inventories_m2 + or any(not np.array_equal(getattr(coupled_initial, species + "_ion_density_m3"), + getattr(admitted, species + "_ion_density_m3")) + for species in compiled.ion_species_names)): + raise ValueError("component seed changed original ionic coordinates/profile/inventory") + counts["coupled_solver_calls"] += 1 + coupled_result = solve_ionic_steady_state(compiled, voltage_V=voltage, + generation_scale=generation, options=options.steady, initial_state=coupled_initial) + counts["coupled_residual"] = coupled_result.evaluation_counts["residual"] + counts["coupled_jacobian"] = coupled_result.evaluation_counts["jacobian"] + except Exception as exc: + error = f"{type(exc).__name__}: {str(exc)[:400]}" + stages.append({"name": "full_coupled_ionic_solve", "accepted": False, "error": error, + "wall_s": time.monotonic() - stage_started}) + return finish(False, "coupled_evaluation_error", error) + stages.append({"name": "full_coupled_ionic_solve", "accepted": coupled_result.accepted, + "termination": coupled_result.termination, "wall_s": time.monotonic() - stage_started}) + if expired(): + return finish(False, "wall_budget_exhausted") + return finish(coupled_result.accepted, coupled_result.termination, coupled_result.error) + + +def _identity(value: Any) -> str: + return hashlib.sha256(json.dumps(value, sort_keys=True, separators=(",", ":"), allow_nan=False).encode()).hexdigest() + + +def _request_bindings(record: dict[str, Any]) -> dict[str, Any]: + controls = _identity(record["solver_controls"]) + sources = _identity(record["source_sha256"]) + request = {"policy": record["solver_controls"]["policy"], "voltage_V": record["voltage_V"], + "generation_scale": record["generation_scale"], "compiled_identity": record["compiled_identity"], + "component_identity": record["component_identity"], "controls_sha256": controls, + "source_identity": sources, "initial_source_sha256": record["initial"]["source_sha256"], + "initial_state_sha256": state_digest(record["initial"]["state"]["u"]), + "initial_voltage_V": record["initial"]["state"]["electronic_state"]["voltage_V"], + "initial_generation_scale": record["initial"]["generation_scale"]} + if record.get("density_seed_provenance") is not None: + request["density_seed_sha256"] = record["density_seed_provenance"]["source_sha256"] + if record["density_seed_provenance"].get("mode") == "fresh": + request["density_seed_mode"] = "fresh" + return {"request": request, "request_sha256": _identity(request), + "controls_sha256": controls, "source_identity": sources} + + +def _validate_record(record: dict[str, Any]) -> None: + """Consistency of captured data only; never compile or recompute a solution.""" + seed = record.get("density_seed_provenance") + result_provenance(record, expected_inputs=None if record.get("job_provenance") is None else {"compiled_identity": record["compiled_identity"], + "initial_sha256": record["initial"]["source_sha256"], "voltage_V": record["voltage_V"], + "generation_scale": record["generation_scale"], "controls": record["solver_controls"], + "density_seed_sha256": seed["source_sha256"] if seed is not None and seed.get("mode", "saved") == "saved" else None}) + if record["qualification"] is not False or record["physical_certificate_status"] != "not_evaluated": + raise ValueError("initialization evidence cannot claim physical qualification") + options, initial = record["solver_controls"], record["initial"] + if options["policy"] not in {POLICY, DIRECT_POLICY} or options["steady"] != initial["steady_controls"]: + raise ValueError("initialization policy/controls mismatch") + if (not math.isfinite(record["voltage_V"]) or not math.isfinite(record["generation_scale"]) + or record["generation_scale"] <= 0.0): + raise ValueError("invalid illuminated initialization request") + if hashlib.sha256(initial["evidence_json"].encode()).hexdigest() != initial["source_sha256"]: + raise ValueError("original initial evidence SHA-256 mismatch") + saved = json.loads(initial["evidence_json"]) + if (saved["summary"]["accepted"] is not True or saved["result"]["accepted"] is not True + or saved["result"]["newton"]["accepted"] is not True + or saved["summary"]["generation_scale"] != initial["generation_scale"] + or saved["summary"]["voltage_V"] != initial["state"]["electronic_state"]["voltage_V"] + or saved["result"]["compiled_identity"] != record["compiled_identity"] + or initial["state"]["device_sha256"] != record["compiled_identity"] + or saved["result"]["binding_manifest"] != record["binding_manifest"] + or saved["result"]["solver_controls"] != options["steady"] + or record["binding_manifest"]["electronic_component"]["compiled_sha256"] != record["component_identity"] + or not np.array_equal(saved["result"]["state"]["u"], initial["state"]["u"])): + raise ValueError("original initial/source/component binding mismatch") + for electronic in (record["initial_electronic_state"], record["density_seed"]): + if electronic is not None and (electronic["device_sha256"] != record["component_identity"] + or electronic["voltage_V"] != record["voltage_V"]): + raise ValueError("electronic seed voltage/component mismatch") + component = record["component_result"] + if options["policy"] == DIRECT_POLICY: + provenance = record.get("density_seed_provenance") + if provenance is None or component is not None or record["component_failure"] is not None: + raise ValueError("direct density policy requires preparation provenance and no component solve") + mode = provenance.get("mode", "saved") + if mode not in {"fresh", "saved"} or record["evaluation_counts"]["component_solver_calls"] != 0: + raise ValueError("invalid direct density source mode/component count") + if mode == "fresh": + if (provenance["routine"] != "solarlab.solvers.nonlinear.steady_1d._density_basin_seed" + or provenance["source_sha256"] != record["source_sha256"].get("solarlab.solvers.nonlinear.steady_1d") + or provenance["initial_electronic_sha256"] != state_digest(record["initial_electronic_state"]["u"]) + or provenance["voltage_V"] != record["voltage_V"] + or provenance["generation_scale"] != record["generation_scale"] + or record["evaluation_counts"]["density_preparation_calls"] not in (0, 1)): + raise ValueError("fresh density preparation source/input mismatch") + seed = record["density_seed"] + if seed is not None and ( + record["evaluation_counts"]["density_preparation_calls"] != 1 + or not np.array_equal(seed["potential_V"], record["initial_electronic_state"]["potential_V"]) + or any(not np.all(np.isfinite(seed[name])) or np.any(seed[name] <= 0) for name in + ("electron_density_m3", "hole_density_m3"))): + raise ValueError("fresh density seed violated its positive frozen-phi contract") + if record["accepted"] and any(record["evaluation_counts"][name] != 1 for name in + ("density_preparation_calls", "density_residual", "density_jacobian")): + raise ValueError("accepted fresh preparation must retain its single F/J evaluation") + else: + if hashlib.sha256(provenance["evidence_json"].encode()).hexdigest() != provenance["source_sha256"]: + raise ValueError("recorded density seed source mismatch") + seed_document = json.loads(provenance["evidence_json"]) + seed_record = _decode(seed_document["result"]) + if (seed_document.get("bindings") != _request_bindings(seed_record) + or seed_record["solver_controls"]["policy"] != POLICY + or seed_record["voltage_V"] != record["voltage_V"] + or seed_record["generation_scale"] != record["generation_scale"] + or seed_record["compiled_identity"] != record["compiled_identity"] + or seed_record["initial"]["source_sha256"] != initial["source_sha256"] + or provenance["selected_field"] != "density_seed" + or not np.array_equal(seed_record["density_seed"]["u"], record["density_seed"]["u"]) + or record["evaluation_counts"]["density_preparation_calls"] != 0): + raise ValueError("direct density request/seed/call binding mismatch") + _validate_record(seed_record) + if component is not None and (component["voltage_V"] != record["voltage_V"] + or component["generation_scale"] != record["generation_scale"] + or component["state"]["device_sha256"] != record["component_identity"] + or component["newton"]["accepted"] is not True or component["preparation"] + or component["density_basin_initializations"] != 0 + or component["newton"]["start_digest"] != state_digest(record["density_seed"]["u"])): + raise ValueError("auxiliary component condition/seed mismatch") + joined = record["coupled_initial_state"] + if joined is not None: + n = record["initial_electronic_state"]["potential_V"].size + expected = record["density_seed"] if options["policy"] == DIRECT_POLICY else component["state"] + if expected is None or not np.array_equal(joined["u"][:3*n], expected["u"]): + raise ValueError("coupled initial is not the declared density/component seed") + if (joined["device_sha256"] != record["compiled_identity"] + or joined["electronic_state"]["voltage_V"] != record["voltage_V"] + or not np.array_equal(joined["u"][3*n:], initial["state"]["u"][3*n:]) + or any(not np.array_equal(joined[key], initial["state"][key]) for key in + ("positive_ion_density_m3", "negative_ion_density_m3", "domain_inventory_m2", + "negative_domain_inventory_m2"))): + raise ValueError("coupled seed changed the admitted ionic profile/inventory") + coupled = record["coupled_result"] + if coupled is not None: + if (coupled["compiled_identity"] != record["compiled_identity"] + or coupled["binding_manifest"] != record["binding_manifest"] + or coupled["solver_controls"] != options["steady"] + or joined is None or not np.array_equal(coupled["initial_state"]["u"], joined["u"])): + raise ValueError("coupled controls/source/initial mismatch") + state = coupled["state"] + if state is not None and (state["device_sha256"] != record["compiled_identity"] + or state["electronic_state"]["voltage_V"] != record["voltage_V"] + or state["electronic_state"]["device_sha256"] != record["component_identity"]): + raise ValueError("coupled state voltage/component mismatch") + if record["accepted"] and (coupled is None or coupled["accepted"] is not True + or (options["policy"] == POLICY and component is None) or joined is None or coupled["state"] is None + or coupled["newton"]["accepted"] is not True or not coupled["checks"] + or any(item["passed"] is not True for item in coupled["checks"]) + or record["evaluation_counts"]["coupled_solver_calls"] != 1): + raise ValueError("accepted initialization lacks original coupled acceptance") + + +def write_ionic_initialization( + result: IonicInitializationResult | dict[str, Any], path: str | Path, +) -> str: + """Save a result or its decoded readback without changing its producer metadata.""" + encoded = _encode(result) + record = _decode(encoded) + _validate_record(record) + document = {"schema": SCHEMA, "bindings": _request_bindings(record), "result": encoded} + raw = (json.dumps(document, indent=2, allow_nan=False) + "\n").encode() + with Path(path).open("xb") as stream: + stream.write(raw) + return hashlib.sha256(raw).hexdigest() + + +def read_ionic_initialization(path: str | Path, sha256: str, *, + current_identity: JobProvenance | dict[str, Any] | None = None, + strict_same_source: bool = False, +) -> dict[str, Any]: + """Verify the supplied digest and read evidence without any solver/device work.""" + raw = Path(path).read_bytes() + if hashlib.sha256(raw).hexdigest() != sha256: + raise ValueError("ionic initialization SHA-256 mismatch") + document = json.loads(raw) + if document.get("schema") != SCHEMA: + raise ValueError("unsupported ionic initialization schema") + try: + result = _decode(document["result"]) + if document.get("bindings") != _request_bindings(result): + raise ValueError("initialization request/control/source identity mismatch") + _validate_record(result) + except (KeyError, TypeError, AttributeError) as exc: + raise ValueError("malformed ionic initialization evidence") from exc + return {"schema": SCHEMA, "bindings": document["bindings"], "result": result, + "provenance_comparison": result_provenance(result, current_identity, strict_same_source=strict_same_source)} diff --git a/src/solarlab/experiments/ionic_transient.py b/src/solarlab/experiments/ionic_transient.py new file mode 100644 index 00000000..c2c9c32a --- /dev/null +++ b/src/solarlab/experiments/ionic_transient.py @@ -0,0 +1,411 @@ +"""Explicit driven ionic histories from a pinned, accepted same-device steady state. + +Every carrier/ion continuity row remains active in the physical BE solve. +The steady inventory replacement is used only when admitting the initial +artifact. Histories retain their accepted prefix and first failure, without +substeps, normalization, retries, or physical qualification claims. +""" + +from __future__ import annotations + +from collections.abc import Callable +from dataclasses import asdict, dataclass +import hashlib +import json +import math +from pathlib import Path +import time +from typing import TYPE_CHECKING, Literal, cast, overload + +import numpy as np + +from solarlab.contracts import frozen_array +from solarlab.equations.assembly.ionic_1d import AssembledConstrainedIonic1DProblem, AssembledIonic1DProblem +from solarlab.equations.implementation import equation_implementation, selected_implementation, use_assembled +from solarlab.equations.ionic_1d import CompiledIonicDevice1D, Ionic1DProblem, IonicState1D +from solarlab.equations.ionic_closure import immobile_profile_binding +from solarlab.experiments.transient import TransientOptions, TransientProtocol +from solarlab.solvers.nonlinear.ionic_1d import ( + ConstrainedIonic1DProblem, IonicSteadyOptions, checks as ionic_checks, diagnostics as ionic_diagnostics, ionic_steady_control_record, +) +from solarlab.solvers.nonlinear.newton import NewtonResult, NewtonSettings, solve_newton +from solarlab.solvers.nonlinear.problem import ( + CallableProblem, GateOutcome, Matrix, ResidualScaling, StepControl, state_digest, +) +from solarlab.solvers.nonlinear.production import ( + POISSON_CONTACT_BALANCE_V1, production_convergence_norm, + production_coordinates, production_residual_scaling, +) +from solarlab.solvers.time.assembled_ionic_backward_euler import AssembledIonicBackwardEuler1DStep +from solarlab.solvers.time.ionic_backward_euler import IonicBackwardEuler1DStep, step_accounting + +if TYPE_CHECKING: + from solarlab.solvers.time.bdf import BDFOptions, BDFResult + from solarlab.solvers.time.bdf_1d import BDFDrive + +__all__ = [ + "IonicTransientInitial", "IonicTransientOptions", "IonicTransientAttempt", + "IonicTransientResult", "load_ionic_steady_initial", "solve_ionic_transient", +] + + +@dataclass(frozen=True) +class IonicTransientInitial: + """Exact state and retained source bytes of an accepted steady artifact.""" + + state: IonicState1D + generation_scale: float + steady_controls: IonicSteadyOptions + source_path: str + source_sha256: str + evidence_json: str + + +def _same_state(left: IonicState1D, right: IonicState1D) -> bool: + if not isinstance(left, IonicState1D) or not isinstance(right, IonicState1D): + return False + if (left.device_sha256 != right.device_sha256 or left.voltage_V != right.voltage_V + or left.domain_inventories_m2 != right.domain_inventories_m2 + or left.electronic_state.device_sha256 != right.electronic_state.device_sha256): + return False + pairs = [(left.u, right.u), (left.positive_ion_density_m3, right.positive_ion_density_m3), + (left.negative_ion_density_m3, right.negative_ion_density_m3)] + pairs.extend((getattr(left.electronic_state, name), getattr(right.electronic_state, name)) + for name in ("potential_V", "electron_density_m3", "hole_density_m3")) + return all(np.array_equal(a, b) for a, b in pairs) + + +def _admit_evidence( + compiled: CompiledIonicDevice1D, text: str, sha256: str, controls: IonicSteadyOptions, +) -> tuple[IonicState1D, float, tuple[GateOutcome, ...]]: + """Recheck the saved initial steady point, without solving or changing it.""" + if not isinstance(controls, IonicSteadyOptions): + raise ValueError("initial steady controls must be explicit IonicSteadyOptions") + if hashlib.sha256(text.encode()).hexdigest() != sha256: + raise ValueError("initial steady artifact SHA-256 mismatch") + try: + document = json.loads(text) + summary, result = document["summary"], document["result"] + if (summary["accepted"] is not True or result["accepted"] is not True + or result["newton"]["accepted"] is not True or result["termination"] != "converged" + or result["newton"]["termination"] != "converged"): + raise ValueError("initial artifact must retain an accepted steady solve") + if (summary["compiled_identity"] != compiled.identity + or result["compiled_identity"] != compiled.identity + or result["original_prepared_identity"] != compiled.original_prepared_sha256 + or result["binding_manifest"] != compiled.binding_manifest): + raise ValueError("initial artifact belongs to a different compiled device or source binding") + if result["solver_controls"] != ionic_steady_control_record(compiled, controls): + raise ValueError("initial steady controls differ from the recorded solve") + voltage, generation = summary["voltage_V"], summary["generation_scale"] + if (type(voltage) not in (int, float) or type(generation) not in (int, float) + or not math.isfinite(voltage) or not math.isfinite(generation) or generation < 0): + raise ValueError("initial voltage/generation must be explicit finite numbers") + saved = result["state"] + state = compiled.state(np.asarray(saved["u"], dtype=float), voltage_V=voltage) + electronic = saved["electronic_state"] + if (saved["device_sha256"] != compiled.identity + or electronic["device_sha256"] != compiled.electronic_component.identity + or electronic["voltage_V"] != voltage + or saved["domain_inventory_m2"] != state.domain_inventory_m2 + or not np.array_equal(saved["positive_ion_density_m3"], state.positive_ion_density_m3) + or saved.get("negative_domain_inventory_m2", 0.0) != state.negative_domain_inventory_m2 + or not np.array_equal(saved.get("negative_ion_density_m3", []), state.negative_ion_density_m3) + or not np.array_equal(electronic["u"], state.electronic_state.u) + or not np.array_equal(result["candidate_coordinates"], state.u) + or not np.array_equal(result["newton"]["state"], state.u) + or any(not np.array_equal(electronic[name], getattr(state.electronic_state, name)) + for name in ("potential_V", "electron_density_m3", "hole_density_m3"))): + raise ValueError("initial recorded physical fields disagree with their coordinates") + recorded_checks = result["checks"] + if not recorded_checks or any(check["passed"] is not True for check in recorded_checks): + raise ValueError("initial steady artifact contains unaccepted checks") + saved_checks = tuple(GateOutcome(**check) for check in recorded_checks) + except (KeyError, TypeError, AttributeError) as exc: + raise ValueError("incomplete or malformed initial steady artifact") from exc + # Initial admission only. The time loop below never constructs this problem. + steady: ConstrainedIonic1DProblem | AssembledConstrainedIonic1DProblem + if use_assembled(): + steady = AssembledConstrainedIonic1DProblem(AssembledIonic1DProblem(compiled, voltage, generation), + controls.inventory_row_node) + else: + steady = ConstrainedIonic1DProblem(Ionic1DProblem(compiled, voltage, generation), controls.inventory_row_node) + checks = ionic_checks(ionic_diagnostics(steady, state.u), controls) + saved_limits = {check.name: check.limit for check in saved_checks} + if len(saved_limits) != len(saved_checks) or saved_limits != {check.name: check.limit for check in checks}: + raise ValueError("initial recorded checks do not match the declared steady controls") + if not all(check.passed for check in checks): + raise ValueError("initial steady admission failed: " + ", ".join(check.name for check in checks if not check.passed)) + return state, float(generation), checks + + +def load_ionic_steady_initial( + compiled: CompiledIonicDevice1D, path: str | Path, sha256: str, *, controls: IonicSteadyOptions, +) -> IonicTransientInitial: + """Load and validate a pinned steady example artifact; never rerun its solve.""" + source = Path(path) + raw = source.read_bytes() + if hashlib.sha256(raw).hexdigest() != sha256: + raise ValueError("initial steady artifact SHA-256 mismatch") + text = raw.decode() + state, generation, _ = _admit_evidence(compiled, text, sha256, controls) + return IonicTransientInitial(state, generation, controls, str(source.resolve()), sha256, text) + + +@dataclass(frozen=True) +class IonicTransientOptions: + """Existing electronic controls plus independent per-species L1 and step bounds.""" + + electronic: TransientOptions + ion_balance_tolerance_m2_s: float + ion_logit_step: float + + def __post_init__(self) -> None: + if not isinstance(self.electronic, TransientOptions): + raise ValueError("explicit electronic TransientOptions are required") + if self.electronic.convergence_policy != POISSON_CONTACT_BALANCE_V1: + raise ValueError("ionic transient supports only poisson_contact_balance_v1") + if self.electronic.predictor != "previous": + raise ValueError("ionic transient currently supports only the previous-state predictor") + for value in (self.ion_balance_tolerance_m2_s, self.ion_logit_step): + if not math.isfinite(value) or value <= 0: + raise ValueError("ion residual tolerance and logit step must be finite and positive") + + +@dataclass(frozen=True) +class IonicTransientAttempt: + start_s: float + end_s: float + voltage_V: float + generation_scale: float + accepted: bool + termination: str + initial_coordinates: np.ndarray + candidate_coordinates: np.ndarray + newton: NewtonResult | None + accounting: dict[str, object] | None + evaluation_counts: dict[str, int] + wall_s: float + error: str | None = None + + def __post_init__(self) -> None: + for name in ("initial_coordinates", "candidate_coordinates"): + value = np.array(getattr(self, name), dtype=float, copy=True) + value.setflags(write=False) + object.__setattr__(self, name, value) + + +@dataclass(frozen=True) +class IonicTransientResult: + protocol: TransientProtocol + accepted_times_s: np.ndarray + states: tuple[IonicState1D, ...] + attempts: tuple[IonicTransientAttempt, ...] + initial_provenance: dict[str, object] + compiled_identity: str + original_prepared_identity: str + binding_manifest: dict[str, object] + solver_controls: dict[str, object] + evaluation_counts: dict[str, int] + wall_s: float + physical_certificate_status: str = "not_evaluated" + + def __post_init__(self) -> None: + object.__setattr__(self, "accepted_times_s", frozen_array(self.accepted_times_s)) + + @property + def completed(self) -> bool: + return (len(self.states) == self.protocol.times_s.size + and len(self.attempts) == self.protocol.times_s.size - 1 + and all(attempt.accepted for attempt in self.attempts)) + + @property + def failed_attempts(self) -> tuple[IonicTransientAttempt, ...]: + return tuple(attempt for attempt in self.attempts if not attempt.accepted) + + +class _WallBudgetExceeded(RuntimeError): + pass + + +def _finite_accounting(value: object) -> bool: + if isinstance(value, dict): + return all(_finite_accounting(item) for item in value.values()) + if isinstance(value, (list, tuple)): + return all(_finite_accounting(item) for item in value) + if isinstance(value, np.ndarray): + return bool(np.all(np.isfinite(value))) + if isinstance(value, (float, int, np.number)): + return bool(np.isfinite(value)) + return True + + +def _newton_settings( + compiled: CompiledIonicDevice1D, options: IonicTransientOptions, +) -> tuple[NewtonSettings, Callable[[np.ndarray], float]]: + electronic = options.electronic + count, ion_count = compiled.node_count, compiled.ion_node_count + weights = np.r_[production_residual_scaling( + compiled.electronic_component, poisson_tolerance=electronic.poisson_tolerance, + continuity_tolerance_A_m2=electronic.continuity_tolerance_A_m2, + contact_log_tolerance=electronic.contact_log_tolerance, + ).row_weights, np.full(ion_count * compiled.ion_species_count, ion_count / options.ion_balance_tolerance_m2_s)] + steps = np.r_[production_coordinates(compiled.electronic_component, + potential_step_V=electronic.potential_step_V, quasi_fermi_step=electronic.quasi_fermi_step).max_step, + np.full(ion_count * compiled.ion_species_count, options.ion_logit_step)] + settings = NewtonSettings(ResidualScaling(weights), 1.0, StepControl(steps), electronic.newton_budget, (), False) + electronic_norm = production_convergence_norm(compiled.electronic_component, + convergence_policy=electronic.convergence_policy) + assert electronic_norm is not None + + def convergence_norm(scaled: np.ndarray) -> float: + if scaled.shape != (compiled.state_size,) or not np.all(np.isfinite(scaled)): + return math.inf + return max(electronic_norm(scaled[:3 * count]), + *(math.fsum(abs(scaled[block]).tolist()) / ion_count for block in compiled.ion_species_slices)) + + return settings, convergence_norm + + +@overload +def solve_ionic_transient(compiled: CompiledIonicDevice1D, initial: IonicTransientInitial, + protocol: TransientProtocol, *, options: IonicTransientOptions, + method: Literal["backward_euler"] = "backward_euler", bdf_options: BDFOptions | None = None, + bdf_drive: BDFDrive | None = None) -> IonicTransientResult: ... + + +@overload +def solve_ionic_transient(compiled: CompiledIonicDevice1D, initial: IonicTransientInitial, + protocol: TransientProtocol, *, options: IonicTransientOptions, method: Literal["bdf"], + bdf_options: BDFOptions, bdf_drive: BDFDrive | None = None) -> BDFResult: ... + + +def solve_ionic_transient( + compiled: CompiledIonicDevice1D, initial: IonicTransientInitial, protocol: TransientProtocol, + *, options: IonicTransientOptions, method: str = "backward_euler", + bdf_options: BDFOptions | None = None, bdf_drive: BDFDrive | None = None, +) -> IonicTransientResult | BDFResult: + """Run requested physical BE steps once, preserving the first partial outcome. + +The one history wall budget includes initial admission and all attempted steps. +Newton call budgets are explicit per step, with the total bounded by max_steps; +accounting is called at most once per attempt and counted separately. Individual +NumPy/SciPy calls are not preempted. Initial-only steady checks never gate the +time steps, and all dynamic ion continuity rows remain in residual and J. +""" + if method == "bdf": + from solarlab.experiments.bdf import solve_ionic_bdf + if bdf_options is None: + raise ValueError("BDF selection requires explicit BDFOptions") + with equation_implementation(selected_implementation(operator="BDFStep:Ionic1DProblem")): + return solve_ionic_bdf(compiled, initial, protocol, options=options, + bdf_options=bdf_options, drive=bdf_drive) + if method != "backward_euler": + raise ValueError("unknown time integrator") + started = time.monotonic() + if not isinstance(compiled, CompiledIonicDevice1D) or not isinstance(initial, IonicTransientInitial): + raise ValueError("an actual compiled ionic device and pinned steady initial are required") + if not isinstance(protocol, TransientProtocol) or not isinstance(options, IonicTransientOptions): + raise ValueError("explicit transient protocol and ionic controls are required") + electronic = options.electronic + if protocol.times_s.size - 1 > electronic.max_steps: + raise ValueError("requested timepoints exceed max_steps") + admitted, generation0, initial_checks = _admit_evidence( + compiled, initial.evidence_json, initial.source_sha256, initial.steady_controls, + ) + if not _same_state(initial.state, admitted) or initial.generation_scale != generation0: + raise ValueError("initial object disagrees with its pinned steady evidence") + if admitted.voltage_V != protocol.voltage_V[0] or generation0 != protocol.generation_scale[0]: + raise ValueError("initial voltage/generation must equal the first protocol sample") + settings, convergence_norm = _newton_settings(compiled, options) + deadline = started + electronic.wall_s + assembled = use_assembled() + states, accepted_times, attempts = [admitted], [float(protocol.times_s[0])], [] + total_counts = {"residual": 0, "jacobian": 0, "accounting": 0} + + def checkpoint() -> None: + if time.monotonic() >= deadline: + raise _WallBudgetExceeded("ionic transient history wall budget exhausted; no retry") + + for index in range(1, protocol.times_s.size): + start, end = float(protocol.times_s[index - 1]), float(protocol.times_s[index]) + voltage, generation = float(protocol.voltage_V[index]), float(protocol.generation_scale[index]) + attempt_started = time.monotonic() + candidate = np.array(states[-1].u, copy=True) + seed = candidate.copy() + counts = {"residual": 0, "jacobian": 0, "accounting": 0} + newton, accounting, error = None, None, None + next_state = None + + def evaluate(kind: str, function: Callable[[np.ndarray], Matrix], y: np.ndarray) -> Matrix: + nonlocal candidate + candidate = np.array(y, copy=True) + checkpoint() + counts[kind] += 1 + value = function(y) + checkpoint() + return value + + try: + checkpoint() + # The assembled step is constructor-compatible with the original one. + step = (cast(IonicBackwardEuler1DStep, AssembledIonicBackwardEuler1DStep( + AssembledIonic1DProblem(compiled, voltage, generation), states[-1], end - start)) + if assembled else + IonicBackwardEuler1DStep(Ionic1DProblem(compiled, voltage, generation), states[-1], end - start)) + candidate = step.initial_coordinates(electronic.predictor, voltage_lift=True) + seed = candidate.copy() + checkpoint() + newton = solve_newton(CallableProblem(lambda y: evaluate("residual", step.residual, y), + lambda y: evaluate("jacobian", step.jacobian, y)), + candidate, settings, convergence_norm=convergence_norm) + candidate = newton.state + checkpoint() + if np.all(np.isfinite(candidate)): + next_state = compiled.state(candidate, voltage_V=voltage) + counts["accounting"] += 1 + accounting = step_accounting(step, candidate) + checkpoint() + accepted, termination = newton.accepted, newton.termination.value + if accepted and (accounting is None or not _finite_accounting(accounting)): + accepted, termination = False, "nonfinite_accounting" + if accepted: + assert accounting is not None + if convergence_norm(settings.scaling.row_weights * np.asarray(accounting["backward_euler_residual"])) > 1: + accepted, termination = False, "residual_check_failed" + except Exception as exc: + accepted = False + termination = "wall_budget_exhausted" if isinstance(exc, _WallBudgetExceeded) else "evaluation_error" + error = f"{type(exc).__name__}: {str(exc)[:400]}" + attempts.append(IonicTransientAttempt(start, end, voltage, generation, accepted, termination, + seed, candidate, newton, accounting, counts.copy(), time.monotonic() - attempt_started, error)) + for kind in total_counts: + total_counts[kind] += counts[kind] + if not accepted: + break + assert next_state is not None + states.append(next_state) + accepted_times.append(end) + provenance = {"source_path": initial.source_path, "source_sha256": initial.source_sha256, + "state_sha256": state_digest(admitted.u), "generation_scale": generation0, + "steady_controls": asdict(initial.steady_controls), "admission_checks": initial_checks} + profile_binding = immobile_profile_binding(compiled) + if profile_binding is not None: + provenance["ion_closure"] = profile_binding + recorded = asdict(options) + recorded["stopping_norm"] = "max(electronic_balance_norm(scaled_BE[:3N]),sum(abs(scaled_BE[3N:]))/M)" + if compiled.ion_species_count == 2: + recorded["stopping_norm"] = "max(electronic_balance_norm(scaled_BE[:3N]),L1(scaled_BE[positive])/M,L1(scaled_BE[negative])/M)" + recorded["ion_species_controls"] = {species: { + "ion_balance_tolerance_m2_s": options.ion_balance_tolerance_m2_s, + "ion_logit_step": options.ion_logit_step, + } for species in compiled.ion_species_names} + if compiled.ion_site_contract == "shared_finite_sites": + recorded["ion_site_contract"] = compiled.ion_site_contract + recorded["ion_inventory_increment"] = "coupled_shared_site_physical_secant" + recorded["voltage_seed_policy"] = "harmonic_potential_preserve_carrier_and_ion_densities" + recorded["max_total_newton_residual_calls"] = electronic.max_steps * electronic.newton_budget.max_residual_evaluations + recorded["max_total_newton_jacobian_calls"] = electronic.max_steps * electronic.newton_budget.max_jacobian_evaluations + return IonicTransientResult(protocol, np.asarray(accepted_times), tuple(states), tuple(attempts), provenance, + compiled.identity, compiled.original_prepared_sha256, compiled.binding_manifest, recorded, total_counts, + time.monotonic() - started) diff --git a/src/solarlab/experiments/ionic_transient_results.py b/src/solarlab/experiments/ionic_transient_results.py new file mode 100644 index 00000000..6175c9bf --- /dev/null +++ b/src/solarlab/experiments/ionic_transient_results.py @@ -0,0 +1,304 @@ +"""Ionic history payloads and solver-free structural validation for real workers. + +All-face currents include the two ports; terminal conduction/displacement are +exact endpoint selections. Raw diagnostics retain every producer field and +nonfinite failure word using the existing transient numeric codec. +""" +from __future__ import annotations + +from dataclasses import fields, is_dataclass +from enum import Enum +import hashlib +import json +import math +from typing import TYPE_CHECKING, Any + +import numpy as np + +from solarlab.experiments.transient_results import _decode, _digest, _encode, _fingerprint, _same +from solarlab.io.artifacts import ArtifactPayload, _json_document, array_artifact, bytes_artifact + +if TYPE_CHECKING: + from solarlab.equations.ionic_1d import CompiledIonicDevice1D + from solarlab.experiments.ionic_transient import IonicTransientResult + from solarlab.experiments.transient import TransientProtocol + from solarlab.solvers.nonlinear.ionic_1d import IonicSteadyResult + +__all__ = ["ionic_initial_document", "ionic_transient_payload", "validate_ionic_history"] +SCHEMA = "solarlab.ionic-transient-result.v1" +INITIAL_ROLE = "worker-produced:ionic_initial_steady" +CURRENT_FIELDS = tuple(prefix + "current_density_A_m2" for prefix in + ("carrier_conduction_", "ion_conduction_", "conduction_", "displacement_", "total_")) +TERMINAL_FIELDS = tuple("terminal_" + prefix + "current_density_A_m2" for prefix in + ("conduction_", "displacement_", "total_")) + + +def units(species: tuple[str, ...]) -> dict[str, str]: + return {"requested_times_s": "s", "requested_voltage_V": "V", "requested_generation_scale": "1", + "accepted_times_s": "s", "nodes_m": "m", "ion_nodes_m": "m", "ion_node_indices": "1", + "ion_cell_measures_m": "m", "state_coordinates": "mixed: first N in V; remaining coordinates dimensionless", "potential_V": "V", + "electron_density_m3": "m^-3", "hole_density_m3": "m^-3", + **{name: "A/m^2" for name in (*CURRENT_FIELDS, *TERMINAL_FIELDS)}, + **{name + "_ion_density_m3": "m^-3" for name in species}, + **{name + "_ion_cell_inventory_m2": "m^-2" for name in species}, + **{name + "_ion_inventory_m2": "m^-2" for name in species}} + + +def storage_components(species: tuple[str, ...]) -> dict[str, tuple[str, ...]]: + return {"carrier_density_m3": ("electron_density_m3", "hole_density_m3"), + "ion_density_m3": tuple(name + "_ion_density_m3" for name in species), + "ion_inventory_m2": tuple(name + "_ion_inventory_m2" for name in species), + "all_face_current_density_A_m2": CURRENT_FIELDS, + "terminal_current_density_A_m2": TERMINAL_FIELDS} + + +def stored_units() -> dict[str, str]: + """Thirteen fixed NPY roles keep the existing worker's artifact bound.""" + return {"requested_times_s": "s", "requested_voltage_V": "V", "requested_generation_scale": "1", + "accepted_times_s": "s", "nodes_m": "m", "ion_node_indices": "1", "ion_cell_measures_m": "m", + "potential_V": "V", "carrier_density_m3": "m^-3", "ion_density_m3": "m^-3", + "ion_inventory_m2": "m^-2", "all_face_current_density_A_m2": "A/m^2", "terminal_current_density_A_m2": "A/m^2"} + + +def _pack(arrays: dict[str, np.ndarray], species: tuple[str, ...]) -> dict[str, np.ndarray]: + components = storage_components(species) + return {name: np.stack([arrays[key] for key in components[name]]) if name in components else arrays[name] + for name in stored_units()} + + +def unpack_ionic_arrays(summary: dict[str, Any], stored: dict[str, np.ndarray], raw: dict[str, Any]) -> dict[str, np.ndarray]: + """Restore logical views from committed raw words and check every NPY group.""" + species = tuple(summary["ion_species"]) + arrays = _arrays(raw, species) + expected = _pack(arrays, species) + if set(stored) != set(expected) or any(not _same(stored[name], expected[name]) for name in expected): + raise ValueError("packed ionic arrays differ from their raw producer words/components") + return arrays + + +def _plain(value: Any) -> Any: + """The existing initial loader's example-compatible JSON, never its raw codec.""" + if is_dataclass(value) and not isinstance(value, type): + return {field.name: _plain(getattr(value, field.name)) for field in fields(value)} + if isinstance(value, np.ndarray): + return _plain(value.tolist()) + if isinstance(value, np.generic): + return _plain(value.item()) + if isinstance(value, Enum): + return value.value + if isinstance(value, dict): + return {key: _plain(item) for key, item in value.items()} + if isinstance(value, (tuple, list)): + return [_plain(item) for item in value] + if isinstance(value, float) and not math.isfinite(value): + return {"nonfinite": repr(value)} + return value + + +def ionic_initial_document(compiled: CompiledIonicDevice1D, initial: IonicSteadyResult, + protocol: TransientProtocol) -> bytes: + """Retain the actual cold result in the accepted initial-admission format.""" + return _json_document({"summary": {"accepted": initial.accepted, + "compiled_identity": compiled.identity, "voltage_V": float(protocol.voltage_V[0]), + "generation_scale": float(protocol.generation_scale[0]), "qualification": False}, + "result": _plain(initial)}).encode() + + +def _arrays(raw: dict[str, Any], species: tuple[str, ...]) -> dict[str, np.ndarray]: + grid, history = raw["grid"], raw["history"] + states = () if history is None else history["states"] + accepted = [] if history is None else [a for a in history["attempts"] if a["accepted"]] + N, M, size = len(grid["nodes_m"]), len(grid["ion_nodes_m"]), raw["state_size"] + arrays = {"requested_" + name: np.asarray(raw["protocol"][name], dtype=np.float64) + for name in ("times_s", "voltage_V", "generation_scale")} + arrays.update({name: np.asarray(value, dtype=np.int64 if name == "ion_node_indices" else np.float64) + for name, value in grid.items()}) + arrays["accepted_times_s"] = np.asarray([] if history is None else history["accepted_times_s"], dtype=np.float64) + arrays["state_coordinates"] = np.stack([s["u"] for s in states]) if states else np.empty((0, size)) + for name in ("potential_V", "electron_density_m3", "hole_density_m3"): + arrays[name] = np.stack([s["electronic_state"][name] for s in states]) if states else np.empty((0, N)) + for name in species: + density = np.stack([s[name + "_ion_density_m3"] for s in states]) if states else np.empty((0, M)) + arrays[name + "_ion_density_m3"] = density + arrays[name + "_ion_cell_inventory_m2"] = density * arrays["ion_cell_measures_m"] + key = "domain_inventory_m2" if name == "positive" else "negative_domain_inventory_m2" + arrays[name + "_ion_inventory_m2"] = np.asarray([s[key] for s in states], dtype=np.float64) + for name in CURRENT_FIELDS: + arrays[name] = np.stack([a["accounting"][name] for a in accepted]) if accepted else np.empty((0, N + 1)) + for name in TERMINAL_FIELDS: + arrays[name] = arrays[name.removeprefix("terminal_")][:, [0, -1]] + return arrays + + +def _finite(value: Any) -> bool: + if isinstance(value, dict): + return all(_finite(item) for item in value.values()) + if isinstance(value, (tuple, list)): + return all(_finite(item) for item in value) + if isinstance(value, (np.ndarray, np.number, float, int)): + return bool(np.all(np.isfinite(value))) + return True + + +def validate_ionic_history(summary: dict[str, Any], arrays: dict[str, np.ndarray], raw: dict[str, Any], + initial_bytes: bytes) -> None: + """Check exact histories, units/layout relationships and truth, not solve again.""" + species = tuple(summary["ion_species"]) + if (summary["schema"] != SCHEMA or summary["engine"] != "solarlab" + or summary["physical_certificate_status"] != "not_evaluated" + or species not in (("positive",), ("positive", "negative")) or set(arrays) != set(units(species))): + raise ValueError("invalid ionic history scope or physical status") + binding = raw["compiled_binding"] + if (hashlib.sha256(json.dumps(binding, sort_keys=True, separators=(",", ":"), allow_nan=False).encode()).hexdigest() + != summary["compiled_identity"] or binding["original_prepared_sha256"] != summary["prepared_sha256"]): + raise ValueError("ionic compiled/prepared identity differs from the retained binding") + expected = _arrays(raw, species) + if any(not _same(arrays[name], expected[name]) for name in expected): + raise ValueError("physical arrays differ from raw ionic history") + if any(not np.all(np.isfinite(a)) or a.dtype != np.dtype("int64" if name == "ion_node_indices" else "float64") + for name, a in arrays.items()): + raise ValueError("accepted physical arrays must retain finite exact words") + times, accepted, nodes, ion_nodes = (arrays[name] for name in + ("requested_times_s", "accepted_times_s", "nodes_m", "ion_nodes_m")) + N, M, count = len(nodes), len(ion_nodes), len(accepted) + indices, widths = arrays["ion_node_indices"], arrays["ion_cell_measures_m"] + if (times.ndim != 1 or len(times) < 2 or np.any(np.diff(times) <= 0) or not np.all(np.isfinite(np.diff(times))) + or nodes.ndim != 1 or N < 2 or np.any(np.diff(nodes) <= 0) + or ion_nodes.ndim != 1 or M < 2 or indices.shape != (M,) or widths.shape != (M,) + or np.any(widths <= 0) or np.any(indices < 0) or np.any(indices >= N) + or not _same(nodes[indices], ion_nodes) or np.any(np.diff(indices) != 1) + or count > len(times) or not _same(accepted, times[:count])): + raise ValueError("ionic history grids or accepted-prefix alignment differ") + if (not np.array_equal(binding["ion_domain"]["electrical_node_indices"], indices) + or not np.array_equal(binding["ion_domain"]["cell_measures_m"], widths) + or binding["ion_domain"]["contacts"] != ["blocking", "blocking"] + or raw["state_size"] != 3 * N + len(species) * M + or raw["state_size"] != binding["state_layout"]["size"] + or N != binding["state_layout"]["electrical_node_count"] or M != binding["state_layout"]["ion_node_count"] + or list(species) != binding["state_layout"].get("ion_species", ["positive"]) + or summary["ion_site_contract"] != binding["ion_model"].get("site_contract", "independent_finite_sites")): + raise ValueError("ionic domain/coordinate layout differs from compiled binding") + if any(arrays['requested_' + name].shape != times.shape for name in ("voltage_V", "generation_scale")): + raise ValueError("incomplete requested ionic protocol") + if np.any(arrays["requested_generation_scale"] < 0): + raise ValueError("negative requested generation") + if summary["requested_count"] != len(times) or summary["accepted_count"] != count: + raise ValueError("ionic result counts differ from actual arrays") + initial = raw["initial"] + initial_document = json.loads(initial_bytes) + if (initial_document["result"] != _plain(initial) + or initial_document["summary"] != {"accepted": initial["accepted"], + "compiled_identity": summary["compiled_identity"], "voltage_V": float(arrays["requested_voltage_V"][0]), + "generation_scale": float(arrays["requested_generation_scale"][0]), "qualification": False} + or initial["compiled_identity"] != summary["compiled_identity"] or initial["qualification"] is not False): + raise ValueError("cold initial artifact differs from raw producer result") + history = raw["history"] + if history is None: + if (initial["accepted"] is not False or count != 0 or summary["outcome"] != "initial_failed" + or summary["reason"] != initial["termination"] or summary["attempt_count"] != 0): + raise ValueError("failed cold start cannot fabricate an accepted history") + return + if (initial["accepted"] is not True or initial["newton"]["accepted"] is not True + or history["physical_certificate_status"] != "not_evaluated" + or history["compiled_identity"] != summary["compiled_identity"] + or history["original_prepared_identity"] != summary["prepared_sha256"] + or history["binding_manifest"] != binding or not count): + raise ValueError("ionic history lacks its accepted same-device cold start") + attempts = history["attempts"] + flags = [a["accepted"] for a in attempts] + complete = count == len(times) and flags == [True] * (count - 1) + if (any(type(flag) is not bool for flag in flags) + or (not complete and flags != [True] * (count - 1) + [False]) + or summary["outcome"] != ("completed" if complete else "partial") + or summary["reason"] != (None if complete else attempts[-1]["termination"]) + or summary["requested_count"] != len(times) or summary["accepted_count"] != count + or summary["attempt_count"] != len(attempts)): + raise ValueError("ionic result must retain exactly its accepted prefix and first failure") + if not _same(initial["state"]["u"], arrays["state_coordinates"][0]): + raise ValueError("initial ionic coordinate words differ") + for name in ("potential_V", "electron_density_m3", "hole_density_m3"): + if not _same(initial["state"]["electronic_state"][name], arrays[name][0]): + raise ValueError("initial electronic fields differ from the accepted first state") + for name in species: + if not _same(initial["state"][name + "_ion_density_m3"], arrays[name + "_ion_density_m3"][0]): + raise ValueError("initial ionic fields differ from the accepted first state") + for name in ("times_s", "voltage_V", "generation_scale"): + if not _same(history["protocol"][name], arrays["requested_" + name]): + raise ValueError("raw ionic result protocol differs from requested samples") + provenance = history["initial_provenance"] + if (provenance["source_sha256"] != hashlib.sha256(initial_bytes).hexdigest() + or provenance["source_path"] != INITIAL_ROLE or provenance["steady_controls"] != initial["solver_controls"] + or provenance["state_sha256"] != _fingerprint(initial["state"]["u"])["sha256"]): + raise ValueError("initial provenance is not bound to the actual cold artifact") + for index, state in enumerate(history["states"]): + if (state["device_sha256"] != summary["compiled_identity"] + or state["electronic_state"]["voltage_V"] != arrays["requested_voltage_V"][index] + or state["u"].shape != (raw["state_size"],) + or state["electronic_state"]["device_sha256"] != binding["electronic_component"]["compiled_sha256"] + or not _same(state["electronic_state"]["u"], state["u"][:3 * N])): + raise ValueError("accepted ionic state belongs to another device/protocol") + for name in ("electron_density_m3", "hole_density_m3"): + if arrays[name].shape != (count, N) or np.any(arrays[name] <= 0): + raise ValueError("invalid accepted electronic density") + for name in species: + if arrays[name + "_ion_density_m3"].shape != (count, M) or np.any(arrays[name + "_ion_density_m3"] <= 0): + raise ValueError("invalid accepted ionic density") + if math.fsum(arrays[name + "_ion_cell_inventory_m2"][index].tolist()) != arrays[name + "_ion_inventory_m2"][index]: + raise ValueError("ionic inventory differs from its physical cell measures") + for index, attempt in enumerate(attempts): + if (attempt["start_s"] != times[index] or attempt["end_s"] != times[index + 1] + or attempt["voltage_V"] != arrays["requested_voltage_V"][index + 1] + or attempt["generation_scale"] != arrays["requested_generation_scale"][index + 1] + or attempt["initial_coordinates"].shape != (raw["state_size"],) + or attempt["candidate_coordinates"].shape != (raw["state_size"],)): + raise ValueError("ionic attempt differs from requested protocol/layout") + if attempt["accepted"]: + accounting = attempt["accounting"] + if (attempt["newton"] is None or attempt["newton"]["accepted"] is not True or accounting is None + or not _finite(accounting) + or accounting["physical_certificate_status"] != "not_evaluated" + or accounting["compiled_identity"] != summary["compiled_identity"] + or not _same(attempt["candidate_coordinates"], arrays["state_coordinates"][index + 1]) + or not _same(attempt["newton"]["state"], attempt["candidate_coordinates"]) + or not _same(accounting["terminal_total_current_density_A_m2"], arrays["terminal_total_current_density_A_m2"][index])): + raise ValueError("accepted ionic step lacks consistent raw solver/current evidence") + if any(arrays[name].shape != (count - 1, N + 1) for name in CURRENT_FIELDS): + raise ValueError("all-face ionic current layout must include both ports") + if (not _same(arrays["conduction_current_density_A_m2"], arrays["carrier_conduction_current_density_A_m2"] + arrays["ion_conduction_current_density_A_m2"]) + or not _same(arrays["total_current_density_A_m2"], arrays["conduction_current_density_A_m2"] + arrays["displacement_current_density_A_m2"])): + raise ValueError("ionic current components do not reproduce their recorded total") + + +def ionic_transient_payload(compiled: CompiledIonicDevice1D, initial: IonicSteadyResult, + protocol: TransientProtocol, history: IonicTransientResult | None, + initial_bytes: bytes) -> tuple[dict[str, Any], dict[str, ArtifactPayload]]: + """Encode actual producer objects; ProcessSupervisor owns durable publication.""" + species = compiled.ion_species_names + raw = _decode(_encode({"initial": initial, "history": history, + "protocol": {name: getattr(protocol, name) for name in ("times_s", "voltage_V", "generation_scale")}, + "compiled_binding": compiled.binding_manifest, "state_size": compiled.state_size, + "grid": {"nodes_m": compiled.electronic_component.nodes_m, "ion_nodes_m": compiled.ion_geometry.nodes_m, + "ion_node_indices": np.asarray(compiled.ion_node_indices, dtype=np.int64), + "ion_cell_measures_m": compiled.ion_geometry.cell_measures_m}})) + arrays = _arrays(raw, species) + summary = {"schema": SCHEMA, "engine": "solarlab", "compiled_identity": compiled.identity, + "prepared_sha256": compiled.original_prepared_sha256, "ion_species": list(species), + "ion_site_contract": compiled.ion_site_contract, "requested_count": protocol.times_s.size, + "accepted_count": len(arrays["accepted_times_s"]), "attempt_count": 0 if history is None else len(history.attempts), + "outcome": "initial_failed" if history is None else "completed" if history.completed else "partial", + "reason": initial.termination if history is None else history.failed_attempts[0].termination if history.failed_attempts else None, + "physical_certificate_status": "not_evaluated", + "current_alignment": "accepted_times_s[1:]; full faces include both ports; no initial displacement current"} + validate_ionic_history(summary, arrays, raw, initial_bytes) + metadata = {"schema": SCHEMA, "compiled_identity": compiled.identity} + payloads = {name: array_artifact(value, unit=stored_units()[name], + metadata={**metadata, "components": list(storage_components(species).get(name, ()))}) + for name, value in _pack(arrays, species).items()} + payloads["ionic_initial_steady"] = bytes_artifact(initial_bytes, metadata={**metadata, "role": "actual_cold_initial"}) + payloads["ionic_transient_diagnostics"] = bytes_artifact(_json_document(_encode(raw)).encode(), + metadata={**metadata, "role": "raw_ionic_history"}) + return summary, payloads + + +def result_digest(summary: dict[str, Any], payloads: dict[str, ArtifactPayload]) -> str: + return _digest({"summary": summary, "payloads": {name: value.sha256 for name, value in payloads.items()}}) diff --git a/src/solarlab/experiments/ionic_transient_worker.py b/src/solarlab/experiments/ionic_transient_worker.py new file mode 100644 index 00000000..9e0746d8 --- /dev/null +++ b/src/solarlab/experiments/ionic_transient_worker.py @@ -0,0 +1,395 @@ +"""Cold ionic steady/time jobs on the existing supervisor, manifest and store.""" +from __future__ import annotations + +from solarlab.reproducibility.job_provenance import ( + JobProvenance, worker_result_provenance, +) + +from dataclasses import asdict, dataclass, replace +from datetime import datetime, timezone +import hashlib +import importlib.metadata +import json +import math +import platform +from typing import TYPE_CHECKING, Any + +from solarlab.config.identity import ( + BuildSource, ExecutionDescription, ExecutionEngine, ExecutionManifest, IdentityInputs, ModelInputs, + RuntimeEnvironment, execution_manifest, input_identity, physics_identity, +) +from solarlab.config.model_parameters import device_topology, layer_parameter_source +from solarlab.device.resolved import PreparedDevice +from solarlab.experiments.jv.worker import _PACKAGES, _THREADS, _adapter_sources, _document, _verify_sources +from solarlab.experiments.worker import ( + ManifestBinding, ResourceLimits, WorkerBinding, WorkerContext, WorkerRequest, WorkerResult, observe_environment, +) +from solarlab.materials.source import SourceDocument +from solarlab.physics.registry import CapabilityContext, CapabilityRule, EvidenceRef, ModelDefinition, ModelRef, ModelRegistry, Scope +from solarlab.physics.selection import ModelChoice, select_models +from solarlab.physics.semantic_projection import SemanticProjection + +if TYPE_CHECKING: + from solarlab.experiments.execution import JobHandle, ProcessSupervisor + from solarlab.experiments.ionic_transient import IonicTransientOptions + from solarlab.experiments.transient import TransientProtocol + from solarlab.io.run_store import RunStore + from solarlab.solvers.nonlinear.ionic_1d import IonicSteadyOptions + +__all__ = ["IonicTransientJob", "prepare_ionic_transient_job", "ionic_transient_worker_binding", + "run_ionic_transient_worker", "read_ionic_transient_job", "ionic_transient_identity_inputs"] +_ID = "ionic_transient_1d" +_SCHEMA = _document("solarlab.ionic-transient.worker-request.v1", { + "engine": "solarlab", "fields": ["schema", "engine", "prepared_sha256", "protocol", "grid", "controls"]}) +_REGISTRY = _document("solarlab.ionic-transient.worker-registry.v1", { + "engine": "solarlab", "worker": _ID, "scope": "one_blocking_domain_classical_1d_ionic_time", "fallback": "forbidden"}) +_RESULT = "solarlab.ionic-transient.worker-result.v1" +_PHYSICS = ("solarlab/device/compile_ionic_1d.py", "solarlab/equations/ionic_1d.py", + "solarlab/solvers/time/ionic_backward_euler.py", "solarlab/experiments/ionic_transient.py") + + +def _identity_inputs(prepared: PreparedDevice, implementation: BuildSource) -> IdentityInputs: + sources = tuple(next((s for s in implementation.files if s.id == name), None) for name in _PHYSICS) + if any(source is None for source in sources): + raise ValueError("actual ionic compiler, equation, time and driver sources must be bound") + checked = tuple(source for source in sources if source is not None) + ref = ModelRef("classical_ionic_1d_transient", 1) + rule = CapabilityRule("source_bound_classical_ionic_transient", (1,), ("transient",), + tuple(EvidenceRef(s.id, s.sha256, "source") for s in checked), + backends=(_ID,), statistics=("maxwell_boltzmann",)) + definition = ModelDefinition(ref, "Source-bound blocking ionic time", "classical_ionic_transient", ("layer",), "node", + ("mu_n", "mu_p", "tau_n", "tau_p", "alpha", "B_rad", "C_n", "C_p", "N_A", "N_D", + "P0", "P0_neg", "P_lim", "P_lim_neg", "D_ion", "D_ion_neg", "E_a_ion"), (), (), rule, + parameter_schema="full_layer") + registry = ModelRegistry((definition,)) + defaults = {"layer": (ModelChoice("classical_ionic_transient", ref, parameter_schema="full_layer"),)} + topology = device_topology(prepared) + parameters = {Scope("layer", (layer.id,)): layer_parameter_source(layer) + for layer in prepared.layers if layer.id in topology.electrical_layer_ids} + context = CapabilityContext(1, "transient", _ID, "maxwell_boltzmann", temperature_K=prepared.to_mapping()["settings"]["T"]) + selection = select_models(registry, topology, context, defaults, parameters, {}) + return IdentityInputs(prepared, selection, registry, ModelInputs.from_mappings(defaults=defaults, overrides={}), + (SemanticProjection(ref, "all_values_v1", checked),)) + + +def ionic_transient_identity_inputs(prepared: PreparedDevice, implementation: BuildSource) -> IdentityInputs: + """Expose the existing identity recipe for explicitly installed adapters.""" + return _identity_inputs(prepared, implementation) + + +def _validate(prepared: PreparedDevice, protocol: TransientProtocol, intervals: tuple[int, ...], domain: str, + endpoints: tuple[str, str], options: IonicTransientOptions, initial: IonicSteadyOptions) -> None: + from solarlab.device.compile_1d import unsupported + from solarlab.experiments.ionic_transient import IonicTransientOptions + from solarlab.experiments.transient import TransientProtocol + from solarlab.solvers.nonlinear.ionic_1d import IonicSteadyOptions + + if type(prepared) is not PreparedDevice or type(protocol) is not TransientProtocol: + raise ValueError("explicit prepared device and transient protocol required") + if type(options) is not IonicTransientOptions or type(initial) is not IonicSteadyOptions: + raise ValueError("explicit ionic steady and time controls required") + layers = tuple(layer for layer in prepared.layers if layer.role != "substrate") + if (len(intervals) != len(layers) or any(type(v) is not int or v < 2 for v in intervals) + or domain not in {layer.id for layer in layers} or endpoints != ("blocking", "blocking")): + raise ValueError("explicit layer intervals and one named blocking ion domain required") + count = intervals[next(i for i, layer in enumerate(layers) if layer.id == domain)] + 1 + if (type(initial.inventory_row_node) is not int or not 0 <= initial.inventory_row_node < count + or protocol.times_s.size - 1 > options.electronic.max_steps + or initial.wall_s > 30 or options.electronic.wall_s > 30): + raise ValueError("invalid ionic grid/step budget or numerical wall ceiling above30s") + data = prepared.to_mapping() + populations = ("P0", "P0_neg", "D_ion", "D_ion_neg") + for layer in prepared.layers: + parameters = dict(layer.parameters) + if layer.id != domain and any(parameters[name] != 0.0 for name in populations): + raise ValueError("outside-domain ions or multiple ionic domains are unsupported") + p: dict[str, Any] = dict(next(layer for layer in layers if layer.id == domain).parameters) + if not math.isfinite(float(p["E_a_ion"])) or p["E_a_ion"] < 0: + raise ValueError("finite nonnegative ionic activation energy required") + dual = p["P0_neg"] != 0 or p["D_ion_neg"] != 0 + for suffix in ("", "_neg") if dual else ("",): + reference, capacity, diffusivity = (float(p[name + suffix]) for name in ("P0", "P_lim", "D_ion")) + if not (all(math.isfinite(x) for x in (reference, capacity, diffusivity)) and 0 < reference < capacity and diffusivity > 0): + raise ValueError("cold ionic steady requires a positive unsaturated connected species") + if data["settings"]["ion_steric_shared_site"] and (not dual or not data["settings"]["ion_steric_diffusion_only"] + or p["P_lim"] != p["P_lim_neg"] or p["P0"] + p["P0_neg"] >= p["P_lim"]): + raise ValueError("shared sites require two unsaturated populations and one diffusion-only capacity") + # Static electronic admission only; the original prepared input remains the + # identity and the child compiles the full ionic device, never this view. + screen = {**data, "settings": {**data["settings"], "ion_steric_shared_site": False, "ion_steric_diffusion_only": False}} + screened_layers = tuple(replace(layer, parameters=tuple((key, 0.0 if key in populations else value) + for key, value in layer.parameters)) for layer in layers) + unsupported(prepared, screen, screened_layers) + + +def _body(prepared: PreparedDevice, protocol: TransientProtocol, intervals: tuple[int, ...], domain: str, + endpoints: tuple[str, str], options: IonicTransientOptions, initial: IonicSteadyOptions) -> dict[str, Any]: + return {"schema": _SCHEMA.id, "engine": "solarlab", "prepared_sha256": prepared.content_sha256, + "protocol": {name: getattr(protocol, name).tolist() for name in ("times_s", "voltage_V", "generation_scale")}, + "grid": {"intervals_per_layer": list(intervals), "ion_domain_layer": domain, "ion_domain_endpoints": list(endpoints)}, + "controls": {"transient": asdict(options), "initial_steady": asdict(initial)}} + + +def _roles(prepared: PreparedDevice, body: dict[str, Any], implementation: BuildSource) -> dict[str, SourceDocument]: + return {"protocol": _document("solarlab.ionic-transient.protocol.v1", body["protocol"]), + "preparation": _document("solarlab.ionic-transient.preparation.v1", { + "prepared_sha256": prepared.content_sha256, "resolved_experiment": prepared.to_mapping(), + "source_experiment": [{"id": s.id, "sha256": s.sha256, "content_hex": s.content.hex()} for s in prepared.sources], + "adapter_sources": _adapter_sources(implementation), "cold_compile_per_job": True, + "source_scope": "committed_core_plus_explicit_active_adapters", "fallback": "forbidden"}), + "initial_state": _document("solarlab.ionic-transient.initial-recipe.v1", { + "recipe": "cold_solve_ionic_steady_state_in_worker", "prepared_sha256": prepared.content_sha256, + "voltage_V": body["protocol"]["voltage_V"][0], "generation_scale": body["protocol"]["generation_scale"][0], + "supplied_working_point": False, "cross_job_reuse": False}), + "grid": _document("solarlab.ionic-transient.grid.v1", body["grid"]), + "numeric_controls": _document("solarlab.ionic-transient.controls.v1", body["controls"])} + + +def _limits(limits: ResourceLimits) -> None: + if limits.accepted_steps is not None or limits.calls is not None: + raise ValueError("ionic cold/time adapter does not observe whole-job counter budgets") + if limits.wall_seconds > 30: + raise ValueError("ionic worker requires a whole-job wall ceiling <=30s") + + +@dataclass(frozen=True, slots=True) +class IonicTransientJob: + request: WorkerRequest + execution: ManifestBinding + + def submit(self, supervisor: ProcessSupervisor, run_id: str, limits: ResourceLimits) -> JobHandle: + _limits(limits) + return supervisor.submit(run_id, _ID, self.request, limits, execution=self.execution) + + +def prepare_ionic_transient_job(prepared: PreparedDevice, protocol: TransientProtocol, *, + intervals_per_layer: int | tuple[int, ...], ion_domain_layer: str, ion_domain_endpoints: tuple[str, str], + options: IonicTransientOptions, initial_options: IonicSteadyOptions, + implementation: BuildSource, current_repository_head: str, engine: ExecutionEngine, +) -> IonicTransientJob: + """Bind the complete explicit cold recipe without compiling or solving.""" + if type(engine) is not ExecutionEngine or engine.name != "solarlab" or type(implementation) is not BuildSource: + raise ValueError("explicit solarlab engine and immutable core sources required") + if type(prepared) is not PreparedDevice: + raise ValueError("explicit PreparedDevice required") + layers = tuple(layer for layer in prepared.layers if layer.role != "substrate") + intervals = (intervals_per_layer,) * len(layers) if isinstance(intervals_per_layer, int) else tuple(intervals_per_layer) + _validate(prepared, protocol, intervals, ion_domain_layer, ion_domain_endpoints, options, initial_options) + inputs = _identity_inputs(prepared, implementation) + body = _body(prepared, protocol, intervals, ion_domain_layer, ion_domain_endpoints, options, initial_options) + from solarlab.equations.implementation import selection_setting + + # The child installs these before any engine import: a queued or spawned + # job runs the equation selection of the parent that prepared it. + settings = tuple(sorted([*((name, "1") for name in _THREADS), selection_setting()])) + environment = RuntimeEnvironment(platform.python_implementation(), platform.python_version(), platform.system(), platform.machine(), + tuple((name, importlib.metadata.version(name)) for name in _PACKAGES), tuple((name, json.dumps(value)) for name, value in settings)) + description = ExecutionDescription(**_roles(prepared, body, implementation), implementation=implementation, + environment=environment, current_repository_head=current_repository_head) + _verify_sources(description) + manifest = execution_manifest(inputs, description, engine=engine) + execution = ManifestBinding(manifest, inputs, description, engine, manifest.sha256, settings) + identity = manifest.export()["document"]["execution_identity"] + request = WorkerRequest(_document(_SCHEMA.id, body), _REGISTRY, _SCHEMA, + _document("solarlab.ionic-transient.execution-identity.v1", identity), identity["payload"]["H_input"], identity["payload"]["H_physics"]) + execution.validate_request(request) + return IonicTransientJob(request, execution) + + +def ionic_transient_worker_binding() -> WorkerBinding: + return WorkerBinding.from_function(_ID, run_ionic_transient_worker, registry_sha256=_REGISTRY.sha256, schema_sha256=_SCHEMA.sha256) + + +def run_ionic_transient_worker(request: WorkerRequest, worker: WorkerContext) -> WorkerResult: + worker.check_cancel() + binding = worker.consume_manifest(request, engine="solarlab") + from solarlab.equations.implementation import verify_selection + + verify_selection(binding.environment) + _verify_sources(binding.execution) + _limits(worker._limits) + from solarlab.device.compile_ionic_1d import compile_ionic_device_1d + from solarlab.equations.implementation import provenance_binding + from solarlab.experiments.ionic_transient import IonicTransientInitial, IonicTransientOptions, solve_ionic_transient + from solarlab.experiments.ionic_transient_results import INITIAL_ROLE, ionic_initial_document, ionic_transient_payload, result_digest + from solarlab.experiments.transient import TransientOptions, TransientProtocol + from solarlab.experiments.transient_results import _fingerprint + from solarlab.solvers.nonlinear.ionic_1d import IonicSteadyOptions, solve_ionic_steady_state + from solarlab.solvers.nonlinear.problem import SolveBudget + from solarlab.solvers.nonlinear.steady_1d import SteadyOptions + from threadpoolctl import threadpool_info, threadpool_limits + + body = json.loads(request.request.content) + controls, grid = body["controls"], body["grid"] + initial_data, time_data = controls["initial_steady"], controls["transient"] + electronic = time_data["electronic"] + options = IonicTransientOptions(**{**time_data, "electronic": TransientOptions(**{**electronic, + "newton_budget": SolveBudget(**electronic["newton_budget"])})}) + initial_options = IonicSteadyOptions(**{**initial_data, "electronic": SteadyOptions(**initial_data["electronic"]), + "budget": SolveBudget(**initial_data["budget"])}) + protocol = TransientProtocol(**body["protocol"]) + intervals, domain, endpoints = tuple(grid["intervals_per_layer"]), grid["ion_domain_layer"], tuple(grid["ion_domain_endpoints"]) + prepared = binding.inputs.prepared + _validate(prepared, protocol, intervals, domain, endpoints, options, initial_options) + inputs = _identity_inputs(prepared, binding.execution.implementation) + if (body != _body(prepared, protocol, intervals, domain, endpoints, options, initial_options) + or input_identity(inputs).sha256 != request.H_input or physics_identity(inputs).sha256 != request.H_physics + or any(getattr(binding.execution, name) != value for name, value in _roles(prepared, body, binding.execution.implementation).items())): + raise ValueError("ionic request/configuration/protocol/controls differ from manifest") + _verify_sources(binding.execution) + worker.check_cancel() + started_utc = datetime.now(timezone.utc).isoformat() + worker.progress({"stage": "ionic_cold_compile"}) + with threadpool_limits(limits=1): + compiled = compile_ionic_device_1d(prepared, intervals_per_layer=intervals, + ion_domain_layer=domain, ion_domain_endpoints=endpoints) + # Admission names the bound equation system the job evaluates, so the device is compiled first. + with worker.admit_provenance(request, **provenance_binding("IonicBackwardEuler1DStep", compiled, + inventory_row_node=initial_options.inventory_row_node)): + capture: dict[str, Any] = {"scope": "cold_ionic_compile_steady_and_time_in_worker", "started_utc": started_utc, + "prepared_sha256": prepared.content_sha256, "request_sha256": request.request.sha256, + "manifest_sha256": binding.expected_sha256, "build_source_commit": binding.execution.implementation.build_source_commit} + with threadpool_limits(limits=1): + pools = threadpool_info() + if any(pool["num_threads"] != 1 for pool in pools): + raise ValueError("child thread limit was not installed") + capture.update(runtime=asdict(observe_environment(_PACKAGES, tuple(name for name, _ in binding.environment))), threadpools=pools) + worker.check_cancel() + worker.progress({"stage": "ionic_initial_steady", "electrical_nodes": compiled.node_count, "ion_nodes": compiled.ion_node_count}) + initial = solve_ionic_steady_state(compiled, voltage_V=float(protocol.voltage_V[0]), + generation_scale=float(protocol.generation_scale[0]), options=initial_options) + initial_bytes = ionic_initial_document(compiled, initial, protocol) + initial_sha256 = hashlib.sha256(initial_bytes).hexdigest() + worker.check_cancel() + history = None + if initial.accepted: + assert initial.state is not None + admitted = IonicTransientInitial(initial.state, float(protocol.generation_scale[0]), initial_options, + INITIAL_ROLE, initial_sha256, initial_bytes.decode()) + worker.progress({"stage": "ionic_time_steps", "requested_steps": protocol.times_s.size - 1}) + history = solve_ionic_transient(compiled, admitted, protocol, options=options) + worker.check_cancel() + summary, payloads = ionic_transient_payload(compiled, initial, protocol, history, initial_bytes) + sources = {source.id: source.sha256 for source in binding.execution.implementation.files} + sources.update({item["id"]: item["sha256"] for item in json.loads(binding.execution.preparation.content)["adapter_sources"]}) + capture.update(finished_utc=datetime.now(timezone.utc).isoformat(), compiled_identity=compiled.identity, + initial_artifact_sha256=initial_sha256, initial_state=None if initial.state is None else _fingerprint(initial.state.u), + source_sha256=sources, result_sha256=result_digest(summary, payloads), time_solve_started=initial.accepted) + capture = json.loads(_document("ionic-capture", capture).content) + return WorkerResult.from_dict({"schema": _RESULT, "engine": "solarlab", "H_input": request.H_input, + "H_physics": request.H_physics, "H_execution": request.execution_identity.sha256, "manifest_sha256": binding.expected_sha256, + "prepared_sha256": prepared.content_sha256, "ionic_result": summary, "reason": summary["reason"], + "capture": capture, "payloads": {name: {"sha256": p.sha256, "format": p.format, "metadata": json.loads(p.metadata_json)} + for name, p in payloads.items()}, "scientific_qualification": False}, artifacts=tuple(payloads.items()), + state="succeeded" if summary["outcome"] == "completed" else "failed") + + +def read_ionic_transient_job(store: RunStore, run_id: str, *, attempt_id: str | None = None, + current_identity: JobProvenance | dict[str, Any] | None = None, strict_same_source: bool = False) -> dict[str, Any]: + """Verify committed completed/partial ionic history without solver imports.""" + from solarlab.experiments.ionic_transient_results import ( + SCHEMA, result_digest, storage_components, stored_units, units, unpack_ionic_arrays, validate_ionic_history, + ) + from solarlab.experiments.transient_results import _decode, _fingerprint + from solarlab.io.artifacts import ArtifactPayload, _json_document, _parse_document + + run = store.get_run(run_id) + selected = run["current_attempt_id"] if attempt_id is None else attempt_id + attempt = next((a for a in store.attempts(run_id) if a["attempt_id"] == selected), None) + if attempt is None or attempt["state"] not in {"succeeded", "failed"} or attempt["terminal"] is None: + raise ValueError("a committed ionic completed/failed attempt is required; cancelled has no invented history") + result = (attempt["result"] or {}).get("worker_result", {}) + if result.get("schema") != _RESULT or result.get("engine") != "solarlab" or result.get("scientific_qualification") is not False: + raise ValueError("attempt has no returned ionic history") + identity = run["request"]["identity"] + metadata = run["request"]["input_metadata"]["execution_manifest"] + if any(result[name] != identity[name] for name in ("H_input", "H_physics", "H_execution")) or result["manifest_sha256"] != metadata["manifest_sha256"]: + raise ValueError("ionic result identity differs from its attempt") + summary = result["ionic_result"] + species = tuple(summary["ion_species"]) + unit_map = stored_units() + references = attempt["terminal"]["artifacts"] + records = [store.artifact(ref["artifact_id"]) for ref in references] + by_name = {item["name"]: item for item in records} + expected = {*unit_map, "ionic_initial_steady", "ionic_transient_diagnostics"} + if len(records) != len(expected) + 1 or set(by_name) != {*expected, "execution_manifest"} or set(result["payloads"]) != expected: + raise ValueError("ionic terminal lacks the exact artifact roles") + for reference, item in zip(references, records): + if (item["phase"] != "committed" or item["run_id"] != run_id or item["attempt_id"] != selected + or item["generation"] != attempt["generation"] or item["manifest_sha256"] != reference["manifest_sha256"]): + raise ValueError("ionic artifact belongs to another committed attempt/reference") + manifest = ExecutionManifest(store.read_artifact(by_name["execution_manifest"]["artifact_id"]), metadata["current_repository_head"]) + document = manifest.export()["document"] + bound = document["execution_identity"]["payload"] + if (manifest.sha256 != result["manifest_sha256"] or manifest.execution_sha256 != identity["H_execution"] + or any(bound[name] != identity[name] for name in ("H_input", "H_physics")) or bound["engine"]["name"] != "solarlab"): + raise ValueError("ionic execution manifest differs from request/result") + stored, payloads = {}, {} + for name, data in result["payloads"].items(): + item = by_name[name] + if (data != {"sha256": item["sha256"], "format": item["format"], "metadata": item["metadata"]} + or item["metadata"].get("schema") != SCHEMA or item["metadata"].get("compiled_identity") != summary["compiled_identity"]): + raise ValueError("ionic payload metadata differs from result") + payloads[name] = ArtifactPayload(store.read_artifact(item["artifact_id"]), item["format"], _json_document(item["metadata"])) + if name in unit_map: + if (item["metadata"].get("unit") != unit_map[name] + or item["metadata"].get("components") != list(storage_components(species).get(name, ()))): + raise ValueError("unexpected ionic physical unit") + stored[name] = store.read_array(item["artifact_id"]) + raw = _decode(_parse_document(payloads["ionic_transient_diagnostics"].data.decode())) + arrays = unpack_ionic_arrays(summary, stored, raw) + validate_ionic_history(summary, arrays, raw, payloads["ionic_initial_steady"].data) + if attempt["state"] != ("succeeded" if summary["outcome"] == "completed" else "failed") or result["reason"] != summary["reason"]: + raise ValueError("ionic terminal state differs from the retained numerical result") + roles = {name: json.loads(bytes.fromhex(value["content_hex"])) for name, value in document["content_roles"].items()} + transport = WorkerRequest.from_bytes(_json_document(run["request"]["input_metadata"]["transport"]).encode()) + submitted = json.loads(transport.request.content) + if (transport.H_input != identity["H_input"] or transport.H_physics != identity["H_physics"] + or transport.execution_identity.sha256 != identity["H_execution"] + or submitted.get("schema") != _SCHEMA.id or submitted.get("engine") != "solarlab" + or submitted["prepared_sha256"] != summary["prepared_sha256"] + or submitted["protocol"] != roles["protocol"] or submitted["grid"] != roles["grid"] + or submitted["controls"] != roles["numeric_controls"]): + raise ValueError("ionic manifest/result differs from the exact submitted request") + grid = roles["grid"] + layers = [layer for layer in roles["preparation"]["resolved_experiment"]["layers"] if layer["role"] != "substrate"] + domain = next((i for i, layer in enumerate(layers) if layer["id"] == grid["ion_domain_layer"]), None) + if (domain is None or grid["ion_domain_endpoints"] != ["blocking", "blocking"] + or raw["compiled_binding"]["ion_domain"]["layer"] != grid["ion_domain_layer"] + or len(grid["intervals_per_layer"]) != len(layers) + or len(arrays["nodes_m"]) != 1 + sum(grid["intervals_per_layer"]) + or len(arrays["ion_nodes_m"]) != 1 + grid["intervals_per_layer"][domain]): + raise ValueError("compiled ionic grid differs from the explicit submitted domain recipe") + if (raw["protocol"] is None or any(arrays["requested_" + name].tolist() != roles["protocol"][name] + for name in ("times_s", "voltage_V", "generation_scale")) + or raw["initial"]["solver_controls"] != roles["numeric_controls"]["initial_steady"] + or roles["preparation"]["prepared_sha256"] != summary["prepared_sha256"]): + raise ValueError("saved ionic protocol/initial controls differ from manifest") + if raw["history"] is not None: + saved_controls = raw["history"]["solver_controls"] + if any(saved_controls[name] != value for name, value in roles["numeric_controls"]["transient"].items()): + raise ValueError("ionic time controls differ from the executed request") + capture = result["capture"] + sources = {item["id"]: item["sha256"] for item in document["implementation_content"]} + sources.update({item["id"]: item["sha256"] for item in roles["preparation"]["adapter_sources"]}) + initial_state = raw["initial"]["state"] + if (capture["scope"] != "cold_ionic_compile_steady_and_time_in_worker" + or capture["build_source_commit"] != bound["implementation"]["build_source_commit"] + or capture["source_sha256"] != sources or capture["runtime"] != bound["environment"] + or capture["manifest_sha256"] != manifest.sha256 or capture["compiled_identity"] != summary["compiled_identity"] + or capture["request_sha256"] != transport.request.sha256 + or capture["prepared_sha256"] != summary["prepared_sha256"] + or capture["initial_artifact_sha256"] != payloads["ionic_initial_steady"].sha256 + or capture["initial_state"] != (None if initial_state is None else _fingerprint(initial_state["u"])) + or capture["time_solve_started"] != raw["initial"]["accepted"] + or capture["result_sha256"] != result_digest(summary, payloads)): + raise ValueError("ionic computation capture differs from actual stored source/inputs/result") + return {"document": {**summary, "run_id": run_id, "attempt_id": selected, "generation": attempt["generation"], + "arrays": {name: by_name[name]["artifact_id"] for name in unit_map}, "logical_array_units": units(species), + "array_layout": {"packed_components": storage_components(species), + "raw_diagnostic_fields": ["state_coordinates", "ion_nodes_m"], + "cell_inventory_definition": "declared ion cell measure times committed species density"}}, + "arrays": arrays, "stored_arrays": stored, "diagnostics": raw, + "worker_result": result, "manifest": manifest.export(), "run_state": attempt["state"], "provenance_comparison": worker_result_provenance(result, run, attempt, store_id=store.store_id, + current=current_identity, strict_same_source=strict_same_source, + provenance_ref=by_name["execution_manifest"]["metadata"].get("job_provenance_sha256"), execution_document=document)} diff --git a/src/solarlab/experiments/jv/__init__.py b/src/solarlab/experiments/jv/__init__.py new file mode 100644 index 00000000..420cafd3 --- /dev/null +++ b/src/solarlab/experiments/jv/__init__.py @@ -0,0 +1 @@ +"""One-dimensional J-V input and non-executing protocol preparation.""" diff --git a/src/solarlab/experiments/jv/declarations.py b/src/solarlab/experiments/jv/declarations.py new file mode 100644 index 00000000..527e441c --- /dev/null +++ b/src/solarlab/experiments/jv/declarations.py @@ -0,0 +1,186 @@ +"""Device-independent J-V request/history DTOs shared with advisory hints.""" +from __future__ import annotations + +from decimal import Decimal +from typing import Any, Literal +from pydantic import Field, field_validator, model_serializer, model_validator + +from solarlab.experiments.inputs import ExperimentInput as SpatialInput, invalid, vector +from solarlab.materials.full_parameters import quantity_field as q +from solarlab.materials.parameters import QuantityInput +from solarlab.units import normalize_quantity + + +class JVWaveformInput(SpatialInput): + """All eight fields of JVWaveform.from_dict are explicit, including null.""" + _nullable_fields = frozenset({"uniform_generation_rate_m3_s"}) + schema_version: Literal[1] + start_voltage_V: QuantityInput = q("V", signed=True, required=True) + dark_seed_s: QuantityInput = q("s", required=True) + dark_prep_s: QuantityInput = q("s", required=True) + branch_dwell_s: QuantityInput = q("s", positive=True, required=True) + turnaround_s: QuantityInput = q("s", required=True) + turnaround_dark: bool + uniform_generation_rate_m3_s: QuantityInput | None = q("m^-3/s", nullable=True, required=True) + + @field_validator("schema_version", mode="before") + @classmethod + def _version(cls, value: object) -> object: + if type(value) is not int: + raise ValueError("schema_version must be the integer 1") + return value + + @model_validator(mode="after") + def _start(self) -> JVWaveformInput: + if normalize_quantity(self.start_voltage_V, "V") > 0: + invalid(type(self).__name__, ("start_voltage_V",), "start voltage must be <= 0 for the existing Jsc extraction", self.start_voltage_V) + return self + + +class JVWaveformControlsInput(SpatialInput): + rtol: QuantityInput = q("1", positive=True, required=True) + atol_m3: QuantityInput = q("m^-3", positive=True, required=True) + + +class JVNumericalDefaults(SpatialInput): + rtol: QuantityInput = q("1", positive=True, required=True) + atol: QuantityInput = q("m^-3", positive=True, required=True) + + +class JVHistoryDefaults(SpatialInput): + illuminated_soak_s: QuantityInput = q("s", positive=True, required=True) + + +class JVIlluminationStepInput(SpatialInput): + _nullable_fields = frozenset({"duration_s", "intensity_suns", "photon_flux_m2_s", "relative_generation_change", "source_reference"}) + phase: str = Field(min_length=1) + condition: Literal["dark", "baseline", "scaled", "monochromatic", "pulse"] + duration_s: QuantityInput | None = q("s", nullable=True, required=True) + intensity_suns: QuantityInput | None = q("1", nullable=True, required=True) + photon_flux_m2_s: QuantityInput | None = q("m^-2/s", positive=True, nullable=True, required=True) + relative_generation_change: QuantityInput | None = q("1", signed=True, nullable=True, required=True) + source_reference: str | None = Field(min_length=1) + + +class JVScanInput(SpatialInput): + axis: Literal["voltage_V"] + direction: Literal["ascending", "descending", "ascending_then_descending", "declared_order", "forward_time"] + start: QuantityInput = q("V", signed=True, required=True) + stop: QuantityInput = q("V", signed=True, required=True) + rate_V_s: QuantityInput = q("V/s", positive=True, required=True) + + +class JVSamplingInput(SpatialInput): + axis: Literal["voltage_V"] + mode: Literal["linear", "log", "declared", "piecewise_linear"] + values: tuple[QuantityInput, ...] = vector("V", minimum=1) + + +class JVDCSettleInput(SpatialInput): + _nullable_fields = frozenset({"duration_s", "max_carrier_area_rate_A_m2", "max_ion_area_rate_A_m2", "max_ionic_face_current_A_m2", "max_face_current_spread_A_m2"}) + kind: Literal["finite_time", "residual_certified", "finite_time_with_certificate", "not_applicable"] + duration_s: QuantityInput | None = q("s", nullable=True, positive=True, required=True) + max_carrier_area_rate_A_m2: QuantityInput | None = q("A/m^2", nullable=True, positive=True, required=True) + max_ion_area_rate_A_m2: QuantityInput | None = q("A/m^2", nullable=True, positive=True, required=True) + max_ionic_face_current_A_m2: QuantityInput | None = q("A/m^2", nullable=True, positive=True, required=True) + max_face_current_spread_A_m2: QuantityInput | None = q("A/m^2", nullable=True, positive=True, required=True) + + @model_validator(mode="after") + def _policy(self) -> JVDCSettleInput: + if self.kind == "finite_time" and self.duration_s is None: + invalid(type(self).__name__, ("duration_s",), "finite_time requires a duration", None) + if self.kind == "not_applicable": + for name in self._nullable_fields: + if getattr(self, name) is not None: + invalid(type(self).__name__, (name,), "not_applicable cannot carry thresholds", getattr(self, name)) + return self + + +class JVProtocolInput(SpatialInput): + """The existing ExperimentProtocol fields for its J-V branch only.""" + _nullable_fields = frozenset({"pre_bias_V", "soak_duration_s", "dwell_duration_s", "ac_excitation", "voc_search"}) + experiment: Literal["jv_hysteresis"] + initial_state_source: Literal["dark_equilibrium", "dark_equilibrium_each_sample", "finite_time_illuminated_preconditioned", "finite_time_dc_preconditioned", "qf_dc_candidate", "user_supplied_state"] + pre_bias_V: QuantityInput | None = q("V", signed=True, nullable=True, required=True) + soak_duration_s: QuantityInput | None = q("s", nullable=True, required=True) + dwell_duration_s: QuantityInput | None = q("s", nullable=True, required=True) + illumination_history: tuple[JVIlluminationStepInput, ...] = Field(min_length=1) + temperature_K: QuantityInput = q("K", positive=True, required=True) + scan: JVScanInput + ac_excitation: None + dc_settle: JVDCSettleInput + sampling: JVSamplingInput + voc_search: None + implicit_legacy_protocol: bool + schema_version: Literal[1] + + @field_validator("schema_version", mode="before") + @classmethod + def _version(cls, value: object) -> object: + if type(value) is not int: + raise ValueError("schema_version must be the integer 1") + return value + + +class JVRequestFieldsInput(SpatialInput): + _nullable_fields = frozenset({"V_max", "waveform", "waveform_controls", "experiment_protocol"}) + N_grid: int | None = Field(default=None, ge=3, title="Requested electrical grid allocation") + n_points: int | None = Field(default=None, ge=2, title="Samples per branch") + v_rate: QuantityInput | None = q("V/s", positive=True) + V_max: QuantityInput | None = q("V", signed=True, nullable=True) + illuminated: bool | None = None + solver: Literal["transient", "steady_state", "quasi_fermi"] | None = None + iface_states: bool | None = None + interface_boundary: bool | None = None + interface_transport_model: str | None = Field(default=None, min_length=1) + protocol_mode: Literal["compatibility", "research_strict"] | None = None + waveform: JVWaveformInput | None = None + waveform_controls: JVWaveformControlsInput | None = None + experiment_protocol: JVProtocolInput | None = None + + +class JVInput(JVRequestFieldsInput): + kind: Literal["jv"] + # Transport provenance chooses actual existing endpoint defaults. + request_api: Literal["jobs", "jv_endpoint"] = "jobs" + + +class JVSweepHintsInput(JVRequestFieldsInput): + """Supplied advisory fields, without an endpoint or implied execution. + + Unknown fields reject rather than disappear. A caller must explicitly + compose these fields with JVInput to request protocol preparation. + """ + + @model_serializer(mode="plain", when_used="json") + def _json_words(self) -> dict[str, Any]: + # YAML Decimal tokens stay JSON numbers; unit strings stay strings. + # The original decimal spelling is independently retained in source bytes. + def raw(value: Any) -> Any: + if isinstance(value, Decimal): + return float(value) + if isinstance(value, dict): + return {key: raw(item) for key, item in value.items()} + if isinstance(value, (tuple, list)): + return [raw(item) for item in value] + return value + return raw(self.editing_data()) + + +class DarkJVInput(SpatialInput): + kind: Literal["dark_jv"] + N_grid: int | None = Field(default=None, ge=3, title="Requested electrical grid allocation") + n_points: int | None = Field(default=None, ge=2, title="Samples per branch") + v_rate: QuantityInput | None = q("V/s", positive=True) + V_max: QuantityInput | None = q("V", signed=True) + + +JV_DEFAULT_FIELDS = { + "jv_jobs": ("N_grid", "n_points", "v_rate", "V_max", "solver", "iface_states", "interface_boundary", "interface_transport_model", "protocol_mode", "illuminated"), + "jv_endpoint": ("N_grid", "n_points", "v_rate", "V_max", "solver", "iface_states", "interface_boundary", "interface_transport_model", "protocol_mode"), + "dark_jv": ("N_grid", "n_points", "v_rate", "V_max"), + "jv_numerical": tuple(JVNumericalDefaults.model_fields), + "dark_jv_numerical": tuple(JVNumericalDefaults.model_fields), + "jv_waveform_controls": tuple(JVWaveformControlsInput.model_fields), + "jv_history": tuple(JVHistoryDefaults.model_fields), +} diff --git a/src/solarlab/experiments/jv/inputs.py b/src/solarlab/experiments/jv/inputs.py new file mode 100644 index 00000000..e0d2ce96 --- /dev/null +++ b/src/solarlab/experiments/jv/inputs.py @@ -0,0 +1,40 @@ +"""Editable 1D experiment envelope; pure declarations have no device dependency.""" +from __future__ import annotations + +from typing import Literal +from pydantic import field_validator + +from solarlab.device.inputs import DeviceInput +from solarlab.experiments.inputs import ExperimentInput as SpatialInput, invalid +from solarlab.materials.full_parameters import StableId +from solarlab.experiments.jv.declarations import ( + JVWaveformInput as JVWaveformInput, + JVWaveformControlsInput as JVWaveformControlsInput, + JVNumericalDefaults as JVNumericalDefaults, + JVHistoryDefaults as JVHistoryDefaults, + JVIlluminationStepInput as JVIlluminationStepInput, + JVScanInput as JVScanInput, + JVSamplingInput as JVSamplingInput, + JVDCSettleInput as JVDCSettleInput, + JVProtocolInput as JVProtocolInput, + JVInput as JVInput, + DarkJVInput as DarkJVInput, + JV_DEFAULT_FIELDS as JV_DEFAULT_FIELDS, +) + + +class JVExperimentInput(SpatialInput): + schema_version: Literal["solarlab.experiment-preparation.v1"] + id: StableId + device: DeviceInput + experiment: JVInput | DarkJVInput + + @field_validator("experiment", mode="before") + @classmethod + def _branch(cls, value: object) -> object: + if isinstance(value, (JVInput, DarkJVInput)): + value = value.editing_data() + if not isinstance(value, dict) or value.get("kind") not in {"jv", "dark_jv"}: + invalid(cls.__name__, ("kind",), "choose jv or dark_jv", value) + assert isinstance(value, dict) + return (JVInput if value["kind"] == "jv" else DarkJVInput).model_validate(value) diff --git a/src/solarlab/experiments/jv/ionic_results.py b/src/solarlab/experiments/jv/ionic_results.py new file mode 100644 index 00000000..52bf12f5 --- /dev/null +++ b/src/solarlab/experiments/jv/ionic_results.py @@ -0,0 +1,459 @@ +"""Immutable ionic steady J-V payloads and data-only committed readback. + +Raw attempts retain original finite/nonfinite failure words. Arrays contain +accepted points only; steady currents have no displacement/time interpretation. +""" +from __future__ import annotations + +from solarlab.reproducibility.job_provenance import ( + JobProvenance, validate_recorded_sources, worker_result_provenance, +) + +from dataclasses import asdict +import hashlib +import json +import math +from typing import TYPE_CHECKING, Any + +import numpy as np + +from solarlab.config.identity import ExecutionManifest +from solarlab.experiments.ionic_transient_results import _finite, _plain, result_digest +from solarlab.experiments.jv.steady import SteadyJVMetrics, steady_jv_metrics +from solarlab.experiments.transient_results import _decode, _encode, _fingerprint, _same +from solarlab.experiments.worker import WorkerRequest +from solarlab.io.artifacts import ArtifactPayload, _json_document, array_artifact, bytes_artifact + +if TYPE_CHECKING: + from solarlab.equations.ionic_1d import CompiledIonicDevice1D + from solarlab.experiments.ionic_initialization import IonicInitializationResult + from solarlab.experiments.jv.ionic_steady import IonicSteadyJVResult + from solarlab.io.run_store import RunStore + from solarlab.solvers.nonlinear.ionic_1d import IonicSteadyResult + +SCHEMA = "solarlab.ionic-jv.result.v1" +INITIAL = "ionic_jv_initial" +RAW = "ionic_jv_diagnostics" +CURRENTS = ("electronic_current_density_A_m2", "ionic_current_density_A_m2", "total_current_density_A_m2") + + +def _identity(value: Any) -> str: + return hashlib.sha256(json.dumps(value, sort_keys=True, separators=(",", ":"), allow_nan=False).encode()).hexdigest() + + +def stored_units() -> dict[str, str]: + return {"requested_voltage_V": "V", "voltage_V": "V", "nodes_m": "m", "ion_node_indices": "1", + "ion_cell_measures_m": "m", "state_coordinates": "mixed: first N in V; remaining coordinates dimensionless", + "potential_V": "V", "carrier_density_m3": "m^-3", "ion_density_m3": "m^-3", "ion_inventory_m2": "m^-2", + "current_density_A_m2": "A/m^2", "output_current_A_m2": "A/m^2"} + + +def components(species: tuple[str, ...]) -> dict[str, tuple[str, ...]]: + return {"carrier_density_m3": ("electron_density_m3", "hole_density_m3"), + "ion_density_m3": tuple(s + "_ion_density_m3" for s in species), + "ion_inventory_m2": tuple(s + "_ion_inventory_m2" for s in species), "current_density_A_m2": CURRENTS} + + +def units(species: tuple[str, ...]) -> dict[str, str]: + groups = components(species) + return {**{k: v for k, v in stored_units().items() if k not in groups}, "ion_nodes_m": "m", + **{key: stored_units()[name] for name, keys in groups.items() for key in keys}, + **{"terminal_" + name: "A/m^2" for name in CURRENTS}, + **{s + "_ion_cell_inventory_m2": "m^-2" for s in species}} + + +def initial_document(compiled_identity: str, result: IonicSteadyResult | None, voltage: float, generation: float) -> bytes: + return _json_document({"summary": {"accepted": result is not None and result.accepted, + "compiled_identity": compiled_identity, "voltage_V": voltage, "generation_scale": generation, + "qualification": False}, "result": _plain(result)}).encode() + + +def _diagnostic_payload(raw: dict[str, Any], metadata: dict[str, Any]) -> ArtifactPayload: + """Full histories use the artifact byte ceiling; metadata keeps its own cap.""" + return bytes_artifact(json.dumps(_encode(raw), sort_keys=True, separators=(",", ":"), allow_nan=False).encode(), + metadata={**metadata, "role": "original_ionic_jv_attempts"}) + + +def _parse_diagnostics(data: bytes) -> dict[str, Any]: + def pairs(items: list[tuple[str, Any]]) -> dict[str, Any]: + if len({k for k, _ in items}) != len(items): + raise ValueError("duplicate raw diagnostic key") + return dict(items) + + def check(value: Any, depth: int = 0) -> None: + if depth > 32: + raise ValueError("raw diagnostics exceed supported nesting depth") + if isinstance(value, dict): + for k, v in value.items(): + k.encode("utf-8") + check(v, depth + 1) + elif isinstance(value, list): + for v in value: + check(v, depth + 1) + elif isinstance(value, str): + value.encode("utf-8") + elif isinstance(value, float) and not math.isfinite(value): + raise ValueError("nonfinite raw JSON must use the lossless numerical codec") + + value = json.loads(data, object_pairs_hook=pairs) + check(value) + if not isinstance(value, dict): + raise ValueError("raw diagnostic artifact must be an object") + return _decode(value) + + +def _arrays(raw: dict[str, Any]) -> dict[str, np.ndarray]: + curve, grid = raw["curve"], raw["grid"] + accepted = [] if curve is None else [a for a in curve["attempts"] if a["accepted"]] + states = [a["solution"]["state"] for a in accepted] + N, M, K = len(grid["nodes_m"]), len(grid["ion_node_indices"]), len(states) + a = {name: np.asarray(value, dtype=np.int64 if name == "ion_node_indices" else np.float64) for name, value in grid.items()} + a.update(requested_voltage_V=np.asarray(raw["protocol"]["voltage_V"], dtype=np.float64), + voltage_V=np.asarray([] if curve is None else curve["voltage_V"], dtype=np.float64), + output_current_A_m2=np.asarray([] if curve is None else curve["output_current_A_m2"], dtype=np.float64), + state_coordinates=np.stack([s["u"] for s in states]) if K else np.empty((0, raw["state_size"]))) + a["ion_nodes_m"] = a["nodes_m"][a["ion_node_indices"]] + for name in ("potential_V", "electron_density_m3", "hole_density_m3"): + a[name] = np.stack([s["electronic_state"][name] for s in states]) if K else np.empty((0, N)) + for species in raw["ion_species"]: + a[species + "_ion_density_m3"] = np.stack([s[species + "_ion_density_m3"] for s in states]) if K else np.empty((0, M)) + a[species + "_ion_cell_inventory_m2"] = a[species + "_ion_density_m3"] * a["ion_cell_measures_m"] + key = "domain_inventory_m2" if species == "positive" else "negative_domain_inventory_m2" + a[species + "_ion_inventory_m2"] = np.asarray([s[key] for s in states], dtype=np.float64) + for name in CURRENTS: + a[name] = np.stack([p["solution"]["diagnostics"][name] for p in accepted]) if K else np.empty((0, N + 1)) + a["terminal_" + name] = a[name][:, [0, -1]] + return a + + +def _pack(arrays: dict[str, np.ndarray], species: tuple[str, ...]) -> dict[str, np.ndarray]: + groups = components(species) + return {name: np.stack([arrays[k] for k in groups[name]]) if name in groups else arrays[name] for name in stored_units()} + + +def _metrics(voltage: np.ndarray, current: np.ndarray, incident: float | None) -> dict[str, Any]: + reason = "insufficient_accepted_points" if voltage.size < 2 else "zero_voltage_not_bracketed" if not min(voltage) <= 0 <= max(voltage) else None + return asdict(SteadyJVMetrics(None, None, None, None, None, reason) if reason else + steady_jv_metrics(voltage, current, incident_power_W_m2=incident)) + + +def _counts(raw: dict[str, Any]) -> dict[str, Any]: + dark, light, curve = (raw[k] for k in ("dark_steady", "illumination", "curve")) + cold = {"solver_calls": int(dark is not None), "evaluation_counts": {} if dark is None else dark["evaluation_counts"]} + initialization = {k: 0 for k in ("density_preparation_calls", "density_residual", "density_jacobian", "component_solver_calls", + "component_residual", "component_jacobian", "coupled_solver_calls", "coupled_residual", "coupled_jacobian")} + if light is not None: + initialization = light["evaluation_counts"] + sweep = {"solver_calls": 0 if curve is None else curve["solver_calls"], + "evaluation_counts": {} if curve is None else curve["evaluation_counts"]} + return {"cold_steady": cold, "illumination": initialization, "curve": sweep, + "total_solver_calls": cold["solver_calls"] + initialization["component_solver_calls"] + initialization["coupled_solver_calls"] + sweep["solver_calls"], + "evaluation_scope": "producer-reported solver/preparation evaluations; admission diagnostics excluded", + "saved_initial_producer_calls_in_current_job": 0} + + +def _summary(raw: dict[str, Any]) -> dict[str, Any]: + curve, light, dark = raw["curve"], raw["illumination"], raw["dark_steady"] + attempts = [] if curve is None else curve["attempts"] + count = sum(a["accepted"] for a in attempts) + complete = curve is not None and count == len(raw["protocol"]["voltage_V"]) + failure = None if curve is None else next((a for a in attempts if not a["accepted"]), None) + if curve is not None and not complete and failure is None: + raise ValueError("incomplete curve lacks its first failed attempt") + reason = (light["termination"] if light is not None else dark["termination"]) if curve is None else None if failure is None else failure["termination"] + return {"schema": SCHEMA, "engine": "solarlab", "compiled_identity": _identity(raw["compiled_binding"]), + "prepared_sha256": raw["compiled_binding"]["original_prepared_sha256"], "ion_species": list(raw["ion_species"]), + "ion_site_contract": raw["compiled_binding"]["ion_model"].get("site_contract", "independent_finite_sites"), + "requested_count": len(raw["protocol"]["voltage_V"]), "accepted_count": count, "attempt_count": len(attempts), + "outcome": "initial_failed" if curve is None else "completed" if complete else "partial", "reason": reason, + "first_failure": None if failure is None else {k: failure[k] for k in ("index", "voltage_V", "termination", "solver_called", "error")}, + "metrics": _metrics(np.asarray([]), np.asarray([]), raw["protocol"]["incident_power_W_m2"]) if curve is None else curve["metrics"], + "incident_power_W_m2": raw["protocol"]["incident_power_W_m2"], "generation_scale": raw["protocol"]["generation_scale"], + "initial_policy": raw["initial_recipe"]["policy"], "computation_counts": _counts(raw), + "physical_certificate_status": "not_evaluated", "voltage_grid_qualification": "not_evaluated", + "current_alignment": "accepted voltage samples; all faces include both ports; steady conduction only", + "metric_basis": "piecewise-linear accepted samples; fill factor and efficiency are fractions"} + + +def _validate_point(point: dict[str, Any], binding: dict[str, Any], controls: dict[str, Any], *, exact_wall: bool) -> None: + if point["compiled_identity"] != _identity(binding) or point["binding_manifest"] != binding or point["qualification"] is not False: + raise ValueError("point identity/physical status differs from actual compiled input") + declared = dict(point["solver_controls"]) + actual_wall = declared["wall_s"] + if not exact_wall: + declared["wall_s"] = controls["wall_s"] + if declared != controls or not 0 < actual_wall <= controls["wall_s"]: + raise ValueError("point controls differ from declared physical controls/remaining wall cap") + if not point["accepted"]: + return + state, newton = point["state"], point["newton"] + if (newton is None or newton["accepted"] is not True or point["termination"] != "converged" + or not point["checks"] or any(c["passed"] is not True or not math.isfinite(c["value"]) + or not math.isfinite(c["limit"]) or c["value"] > c["limit"] for c in point["checks"]) + or state is None or not _finite(state) or not _finite(point["diagnostics"]) + or state["device_sha256"] != point["compiled_identity"] + or not _same(newton["state"], state["u"]) or not _same(point["candidate_coordinates"], state["u"])): + raise ValueError("contradictory accepted steady state/checks/diagnostics") + + +def validate_result(summary: dict[str, Any], raw: dict[str, Any], arrays: dict[str, np.ndarray], initial_bytes: bytes) -> None: + """Verify stored relationships; never reevaluate a physical residual.""" + binding, curve, species = raw["compiled_binding"], raw["curve"], tuple(raw["ion_species"]) + if summary != _summary(raw) or species not in (("positive",), ("positive", "negative")): + raise ValueError("ionic J-V summary differs from original attempts") + if set(arrays) != set(units(species)) or any(not np.all(np.isfinite(a)) or a.dtype != np.dtype( + "int64" if k == "ion_node_indices" else "float64") for k, a in arrays.items()): + raise ValueError("accepted ionic arrays must be complete finite original words") + a, layout, domain = arrays, binding["state_layout"], binding["ion_domain"] + N, M, K = len(a["nodes_m"]), len(a["ion_node_indices"]), len(a["voltage_V"]) + if (N != layout["electrical_node_count"] or M != layout["ion_node_count"] or raw["state_size"] != layout["size"] + or raw["state_size"] != 3 * N + len(species) * M or list(species) != layout.get("ion_species", ["positive"]) + or domain["contacts"] != ["blocking", "blocking"] or np.any(np.diff(a["nodes_m"]) <= 0) + or np.any(np.diff(a["ion_node_indices"]) != 1) or np.any(a["ion_cell_measures_m"] <= 0) + or not np.array_equal(a["ion_node_indices"], domain["electrical_node_indices"]) + or not np.array_equal(a["ion_cell_measures_m"], domain["cell_measures_m"])): + raise ValueError("ionic domain/grid/state layout differs from declared compiled binding") + protocol, recipe = raw["protocol"], raw["initial_recipe"] + requested = a["requested_voltage_V"] + if (requested.ndim != 1 or not 1 <= requested.size <= raw["controls"]["max_points"] + or not (np.all(np.diff(requested) > 0) or np.all(np.diff(requested) < 0)) + or not _same(a["voltage_V"], requested[:K]) or protocol["generation_scale"] <= 0 + or (protocol["incident_power_W_m2"] is not None and protocol["incident_power_W_m2"] <= 0)): + raise ValueError("invalid ionic J-V requested/accepted protocol") + initial = json.loads(initial_bytes) + initial_sha = hashlib.sha256(initial_bytes).hexdigest() + if initial["summary"]["compiled_identity"] != summary["compiled_identity"] or initial["summary"]["qualification"] is not False: + raise ValueError("initial artifact lacks exact compiled identity/qualification") + dark, light = raw["dark_steady"], raw["illumination"] + if recipe["policy"] == "saved_accepted": + if (dark is not None or light is not None or initial_sha != recipe["artifact_sha256"] + or initial_bytes.hex() != recipe["artifact_content_hex"]): + raise ValueError("supplied initial bytes changed or were silently recomputed") + elif recipe["policy"] == "dark_direct_density_seed_v1": + if dark is None: + raise ValueError("cold recipe lacks its real first solve") + _validate_point(dark, binding, raw["controls"]["steady"], exact_wall=True) + expected_initial = dark if light is None else light["coupled_result"] + if initial["result"] != _plain(expected_initial): + raise ValueError("initial artifact differs from raw producer result") + if light is not None: + if (dark["accepted"] is not True or light["compiled_identity"] != summary["compiled_identity"] + or light["binding_manifest"] != binding or light["qualification"] is not False + or light["physical_certificate_status"] != "not_evaluated" + or light["solver_controls"] != {"steady": raw["controls"]["steady"], "policy": "direct_density_seed_v1", "wall_s": recipe["wall_s"]} + or light["evaluation_counts"]["component_solver_calls"] != 0 + or light["generation_scale"] != protocol["generation_scale"] or light["voltage_V"] != recipe["voltage_V"] + or json.loads(light["initial"]["evidence_json"])["result"] != _plain(dark) + or hashlib.sha256(light["initial"]["evidence_json"].encode()).hexdigest() != light["initial"]["source_sha256"]): + raise ValueError("direct-density initialization provenance/controls/counts differ") + if light["coupled_result"] is not None: + _validate_point(light["coupled_result"], binding, raw["controls"]["steady"], exact_wall=True) + else: + raise ValueError("unsupported initial policy") + if curve is None: + if K or summary["outcome"] != "initial_failed" or (dark["accepted"] and (light is None or light["accepted"])): + raise ValueError("initial failure cannot invent a curve") + return + if (initial["summary"]["accepted"] is not True or initial["result"]["accepted"] is not True + or initial["result"]["solver_controls"] != raw["controls"]["steady"] + or initial["summary"]["generation_scale"] != protocol["generation_scale"] + or initial["summary"]["voltage_V"] != recipe["voltage_V"] + or (light is not None and light["accepted"] is not True) + or curve["physical_certificate_status"] != "not_evaluated" or curve["experiment_kind"] != "equilibrated_ionic_steady_jv" + or curve["compiled_identity"] != summary["compiled_identity"] or curve["binding_manifest"] != binding + or curve["original_prepared_identity"] != summary["prepared_sha256"] + or curve["solver_controls"] != raw["controls"] or curve["controls_sha256"] != _identity(raw["controls"]) + or curve["source_identity"] != _identity(curve["source_sha256"])): + raise ValueError("curve initial/source/control identity mismatch") + provenance = curve["initial_provenance"] + if (provenance["policy"] != "saved_accepted" or provenance["source_sha256"] != initial_sha + or _plain(provenance["state"]) != initial["result"]["state"] + or provenance["state_sha256"] != hashlib.sha256(provenance["state"]["u"].tobytes()).hexdigest() + or provenance["generation_scale"] != protocol["generation_scale"]): + raise ValueError("curve initial admission differs from exact initial artifact") + expected_request = {**protocol, "initial_policy": "saved_accepted", "initial_source_sha256": initial_sha, "controls": raw["controls"]} + if (curve["request_sha256"] != _identity(expected_request) or curve["generation_scale"] != protocol["generation_scale"] + or curve["incident_power_W_m2"] != protocol["incident_power_W_m2"] or curve["voltage_polarity"] not in {-1., 1.} + or not _same(curve["requested_voltage_V"], requested) or not _same(curve["nodes_m"], a["nodes_m"]) + or not _same(curve["ion_weights_m"], a["ion_cell_measures_m"]) or tuple(curve["ion_species"]) != species): + raise ValueError("curve request/grid/polarity differs from declared values") + attempts = curve["attempts"] + flags = [p["accepted"] for p in attempts] + if (not attempts or len(attempts) > requested.size or any(type(flag) is not bool for flag in flags) + or flags != ([True] * K if K == len(requested) else [True] * K + [False]) + or curve["solver_calls"] != sum(p["solver_called"] for p in attempts)): + raise ValueError("J-V must retain exact accepted prefix, first failure and actual calls") + counts = {"residual": 0, "jacobian": 0} + for i, attempt in enumerate(attempts): + point = attempt["solution"] + if attempt["index"] != i or attempt["voltage_V"] != requested[i] or type(attempt["solver_called"]) is not bool: + raise ValueError("attempt differs from requested voltage/index") + if point is not None: + if attempt["solver_called"] is not True: + raise ValueError("returned numerical point lacks its solver call") + _validate_point(point, binding, raw["controls"]["steady"], exact_wall=False) + if point["solver_controls"]["wall_s"] > raw["controls"]["wall_s"]: + raise ValueError("point exceeds the declared curve wall budget") + for key, number in point["evaluation_counts"].items(): + if type(number) is not int or number < 0: + raise ValueError("invalid actual evaluation count") + counts[key] = counts.get(key, 0) + number + if attempt["accepted"]: + if (point is None or point["accepted"] is not True or attempt["termination"] != "converged" + or point["state"]["electronic_state"]["voltage_V"] != requested[i]): + raise ValueError("accepted attempt lacks actual converged solution") + if not _same(point["state"]["u"][:3 * N], point["state"]["electronic_state"]["u"]): + raise ValueError("ionic/electronic state coordinates disagree") + for s in species: + density = a[s + "_ion_density_m3"][i] + if density.shape != (M,) or np.any(density <= 0) or math.fsum((density * a["ion_cell_measures_m"]).tolist()) != a[s + "_ion_inventory_m2"][i]: + raise ValueError("species inventory differs from accepted physical profile") + if (counts != curve["evaluation_counts"] or a["state_coordinates"].shape != (K, raw["state_size"]) + or any(a[k].shape != (K, N) for k in ("potential_V", "electron_density_m3", "hole_density_m3")) + or any(a[k].shape != (K, N + 1) for k in CURRENTS) + or not _same(a[CURRENTS[2]], a[CURRENTS[0]] + a[CURRENTS[1]]) + or not _same(curve["current_density_A_m2"], a[CURRENTS[2]]) + or not _same(a["output_current_A_m2"], -curve["voltage_polarity"] * a[CURRENTS[2]][:, 0]) + or curve["metrics"] != _metrics(a["voltage_V"], a["output_current_A_m2"], protocol["incident_power_W_m2"])): + raise ValueError("counts/current components/output polarity/accepted-only metrics differ") + + +def ionic_jv_payload(compiled: CompiledIonicDevice1D, body: dict[str, Any], dark: IonicSteadyResult | None, + illumination: IonicInitializationResult | None, curve: IonicSteadyJVResult | None, initial_bytes: bytes, +) -> tuple[dict[str, Any], dict[str, ArtifactPayload]]: + raw = _decode(_encode({"protocol": body["protocol"], "controls": body["controls"], "initial_recipe": body["initial"], + "dark_steady": dark, "illumination": illumination, "curve": curve, "compiled_binding": compiled.binding_manifest, + "state_size": compiled.state_size, "ion_species": compiled.ion_species_names, + "grid": {"nodes_m": compiled.electronic_component.nodes_m, "ion_node_indices": np.asarray(compiled.ion_node_indices, dtype=np.int64), + "ion_cell_measures_m": compiled.ion_geometry.cell_measures_m}})) + arrays, summary = _arrays(raw), _summary(raw) + validate_result(summary, raw, arrays, initial_bytes) + metadata = {"schema": SCHEMA, "compiled_identity": compiled.identity} + payloads = {name: array_artifact(value, unit=stored_units()[name], + metadata={**metadata, "components": list(components(compiled.ion_species_names).get(name, ()))}) + for name, value in _pack(arrays, compiled.ion_species_names).items()} + payloads[INITIAL] = bytes_artifact(initial_bytes, metadata={**metadata, "role": "exact_initial_evidence"}) + payloads[RAW] = _diagnostic_payload(raw, metadata) + return summary, payloads + + +def read_ionic_jv_job(store: RunStore, run_id: str, *, attempt_id: str | None = None, + current_identity: JobProvenance | dict[str, Any] | None = None, strict_same_source: bool = False) -> dict[str, Any]: + """Validate exact terminal, manifest, request and immutable physical payloads.""" + from solarlab.experiments.jv.ionic_worker import REGISTRY, REQUEST_SCHEMA, RESULT_SCHEMA + + run = store.get_run(run_id) + selected = run["current_attempt_id"] if attempt_id is None else attempt_id + attempt = next((a for a in store.attempts(run_id) if a["attempt_id"] == selected), None) + if attempt is None or attempt["state"] not in {"succeeded", "failed"} or attempt["terminal"] is None: + raise ValueError("a committed completed/failed ionic J-V attempt is required; cancellation has no invented curve") + result = (attempt["result"] or {}).get("worker_result", {}) + if result.get("schema") != RESULT_SCHEMA or result.get("engine") != "solarlab" or result.get("scientific_qualification") is not False: + raise ValueError("attempt has no returned ionic J-V result") + identity, metadata = run["request"]["identity"], run["request"]["input_metadata"]["execution_manifest"] + if any(result[k] != identity[k] for k in ("H_input", "H_physics", "H_execution")) or result["manifest_sha256"] != metadata["manifest_sha256"]: + raise ValueError("ionic J-V result identity differs from its attempt") + summary = result["ionic_jv_result"] + references = attempt["terminal"]["artifacts"] + records = [store.artifact(ref["artifact_id"]) for ref in references] + by_name = {item["name"]: item for item in records} + expected = {*stored_units(), INITIAL, RAW} + if len(records) != len(expected) + 1 or set(by_name) != {*expected, "execution_manifest"} or set(result["payloads"]) != expected: + raise ValueError("ionic J-V terminal lacks the exact artifact roles") + for ref, item in zip(references, records): + if (item["phase"] != "committed" or item["run_id"] != run_id or item["attempt_id"] != selected + or item["generation"] != attempt["generation"] or item["manifest_sha256"] != ref["manifest_sha256"]): + raise ValueError("artifact differs from committed attempt/reference") + # ExecutionManifest has a separate64MiB domain; never route it through SourceDocument. + manifest = ExecutionManifest(store.read_artifact(by_name["execution_manifest"]["artifact_id"]), metadata["current_repository_head"]) + document = manifest.export()["document"] + bound = document["execution_identity"]["payload"] + if (manifest.sha256 != result["manifest_sha256"] or manifest.execution_sha256 != identity["H_execution"] + or any(bound[k] != identity[k] for k in ("H_input", "H_physics")) or bound["engine"]["name"] != "solarlab"): + raise ValueError("ionic J-V manifest differs from request/result") + species = tuple(summary["ion_species"]) + stored, payloads = {}, {} + for name, data in result["payloads"].items(): + item = by_name[name] + if (data != {"sha256": item["sha256"], "format": item["format"], "metadata": item["metadata"]} + or item["metadata"].get("schema") != SCHEMA or item["metadata"].get("compiled_identity") != summary["compiled_identity"]): + raise ValueError("ionic J-V payload metadata differs from result") + payloads[name] = ArtifactPayload(store.read_artifact(item["artifact_id"]), item["format"], _json_document(item["metadata"])) + if name in stored_units(): + if (item["metadata"].get("unit") != stored_units()[name] + or item["metadata"].get("components") != list(components(species).get(name, ()))): + raise ValueError("unexpected ionic J-V physical unit/components") + stored[name] = store.read_array(item["artifact_id"]) + raw = _parse_diagnostics(payloads[RAW].data) + arrays = _arrays(raw) + packed = _pack(arrays, species) + if set(stored) != set(packed) or any(not _same(stored[k], packed[k]) for k in packed): + raise ValueError("packed physical arrays differ from raw producer words") + validate_result(summary, raw, arrays, payloads[INITIAL].data) + if attempt["state"] != ("succeeded" if summary["outcome"] == "completed" else "failed") or result["reason"] != summary["reason"]: + raise ValueError("terminal state differs from original numerical outcome") + roles = {name: json.loads(bytes.fromhex(v["content_hex"])) for name, v in document["content_roles"].items()} + transport = WorkerRequest.from_bytes(_json_document(run["request"]["input_metadata"]["transport"]).encode()) + submitted = json.loads(transport.request.content) + request_contract = transport.registry == REGISTRY and transport.schema == REQUEST_SCHEMA + if not request_contract: + # HTTP retains the actual core request body and supplies an explicit + # installed catalog. Check its stored contract without server imports. + catalog = json.loads(transport.registry.content) + entries = [e for e in catalog.get("bindings", ()) if e.get("driver") == "ionic_steady_jv"] + request_contract = (transport.registry.id == "solarlab.execution-catalog.v1" + and transport.schema.id == "solarlab.job-submission.schema.v1" + and catalog.get("schema") == "solarlab.execution-catalog.v1" + and catalog.get("job_schema_sha256") == transport.schema.sha256 and len(entries) == 1 + and entries[0].get("experiment_id") == "ionic_steady_jv" and entries[0].get("version") == 1 + and entries[0].get("engine") == "solarlab" and entries[0].get("result_schema") == RESULT_SCHEMA + and entries[0].get("worker_source_sha256") == result["capture"]["source_sha256"].get("solarlab/experiments/jv/ionic_worker.py") + and result.get("execution_catalog_sha256") == transport.registry.sha256 + and result.get("experiment_id") == "ionic_steady_jv" and result.get("experiment_version") == 1) + if (not request_contract + or transport.H_input != identity["H_input"] or transport.H_physics != identity["H_physics"] + or transport.execution_identity.sha256 != identity["H_execution"] + or submitted["schema"] != REQUEST_SCHEMA.id or submitted["engine"] != "solarlab" + or submitted["prepared_sha256"] != summary["prepared_sha256"] + or any(submitted[k] != roles[role] for k, role in (("protocol", "protocol"), ("grid", "grid"), + ("controls", "numeric_controls"), ("initial", "initial_state"))) + or raw["protocol"] != roles["protocol"] or raw["controls"] != roles["numeric_controls"] + or raw["initial_recipe"] != roles["initial_state"] or result["prepared_sha256"] != summary["prepared_sha256"] + or roles["preparation"]["prepared_sha256"] != summary["prepared_sha256"]): + raise ValueError("saved curve differs from exact request/configuration/controls/initial") + grid = roles["grid"] + layers = [p for p in roles["preparation"]["resolved_experiment"]["layers"] if p["role"] != "substrate"] + domain = next((i for i, p in enumerate(layers) if p["id"] == grid["ion_domain_layer"]), None) + if (domain is None or grid["ion_domain_endpoints"] != ["blocking", "blocking"] + or raw["compiled_binding"]["ion_domain"]["layer"] != grid["ion_domain_layer"] + or len(grid["intervals_per_layer"]) != len(layers) or len(arrays["nodes_m"]) != 1 + sum(grid["intervals_per_layer"]) + or len(arrays["ion_nodes_m"]) != 1 + grid["intervals_per_layer"][domain]): + raise ValueError("compiled grid differs from explicit requested domain") + capture = result["capture"] + sources = {s["id"]: s["sha256"] for s in document["implementation_content"]} + sources.update({s["id"]: s["sha256"] for s in roles["preparation"]["adapter_sources"]}) + curve = raw["curve"] + for producer in (raw["illumination"], curve): + if producer is not None: + if producer.get("job_provenance") is not None: + if producer["job_provenance"] != result.get("job_provenance"): + raise ValueError("numerical producer differs from admitted job provenance") + validate_recorded_sources(producer) + elif any(sources.get(name.replace(".", "/") + ".py") != sha for name, sha in producer["source_sha256"].items()): + raise ValueError("original numerical producer source differs from computation-time binding") + initial_state = None if curve is None else curve["initial_provenance"]["state"]["u"] + if (capture["scope"] != "ionic_compile_initialization_and_steady_jv_in_worker" + or capture["build_source_commit"] != bound["implementation"]["build_source_commit"] + or capture["source_sha256"] != sources or capture["runtime"] != bound["environment"] + or capture["manifest_sha256"] != manifest.sha256 or capture["compiled_identity"] != summary["compiled_identity"] + or capture["request_sha256"] != transport.request.sha256 or capture["prepared_sha256"] != summary["prepared_sha256"] + or capture["initial_artifact_sha256"] != payloads[INITIAL].sha256 + or capture["initial_state"] != (None if initial_state is None else _fingerprint(initial_state)) + or capture["curve_started"] != (curve is not None) or capture["result_sha256"] != result_digest(summary, payloads)): + raise ValueError("computation capture differs from actual source/inputs/result") + return {"document": {**summary, "run_id": run_id, "attempt_id": selected, "generation": attempt["generation"], + "arrays": {name: by_name[name]["artifact_id"] for name in stored_units()}, "logical_array_units": units(species)}, + "arrays": arrays, "stored_arrays": stored, "diagnostics": raw, "initial_bytes": payloads[INITIAL].data, + "worker_result": result, "manifest": manifest.export(), "run_state": attempt["state"], "provenance_comparison": worker_result_provenance(result, run, attempt, store_id=store.store_id, + current=current_identity, strict_same_source=strict_same_source, + provenance_ref=by_name["execution_manifest"]["metadata"].get("job_provenance_sha256"), execution_document=document)} diff --git a/src/solarlab/experiments/jv/ionic_steady.py b/src/solarlab/experiments/jv/ionic_steady.py new file mode 100644 index 00000000..7bc15c39 --- /dev/null +++ b/src/solarlab/experiments/jv/ionic_steady.py @@ -0,0 +1,391 @@ +"""Equilibrated ionic J-V, with explicit guesses and retained first failures. + +Each requested voltage gets at most one call to the coupled new-core steady +solver. This experiment has no time, scan-rate or hysteresis interpretation. +Saved data can be read without constructing a device or invoking a solver. +""" + +from __future__ import annotations + +from solarlab.reproducibility.job_provenance import ( + JobProvenance, result_provenance, + admitted_source_pins, current_provenance, job_provenance, +) + +from dataclasses import asdict, dataclass, replace, field +import hashlib +import json +import math +from pathlib import Path +import time +from typing import Any + +import numpy as np +from numpy.typing import ArrayLike + +from solarlab.equations.implementation import provenance_binding +from solarlab.equations.ionic_1d import CompiledIonicDevice1D, IonicState1D +from solarlab.experiments.ionic_transient import IonicTransientInitial, _admit_evidence, _same_state +from solarlab.experiments.jv.steady import SteadyJVMetrics, steady_jv_metrics +from solarlab.experiments.transient_results import _decode, _encode +from solarlab.solvers.nonlinear.ionic_1d import IonicSteadyOptions, IonicSteadyResult, solve_ionic_steady_state +from solarlab.solvers.nonlinear.problem import state_digest + +__all__ = ["IonicSteadyJVOptions", "IonicSteadyJVAttempt", "IonicSteadyJVResult", + "run_ionic_steady_jv", "write_ionic_steady_jv", "read_ionic_steady_jv"] + +SCHEMA = "solarlab.ionic_steady_jv.v1" + + +@dataclass(frozen=True) +class IonicSteadyJVOptions: + steady: IonicSteadyOptions + max_points: int = 32 + wall_s: float = 30.0 + + def __post_init__(self) -> None: + if not isinstance(self.steady, IonicSteadyOptions): + raise ValueError("explicit IonicSteadyOptions are required") + if type(self.max_points) is not int or self.max_points < 1: + raise ValueError("max_points must be a positive integer") + if not math.isfinite(self.wall_s) or self.wall_s <= 0.0: + raise ValueError("wave wall_s must be finite and positive") + + +@dataclass(frozen=True) +class IonicSteadyJVAttempt: + index: int + voltage_V: float + accepted: bool + termination: str + initial_guess: IonicState1D | None + seed_provenance: dict[str, Any] + solution: IonicSteadyResult | None + solver_called: bool + wall_s: float + error: str | None = None + + +@dataclass(frozen=True) +class IonicSteadyJVResult: + requested_voltage_V: np.ndarray + voltage_V: np.ndarray + current_density_A_m2: np.ndarray + output_current_A_m2: np.ndarray + attempts: tuple[IonicSteadyJVAttempt, ...] + metrics: SteadyJVMetrics + generation_scale: float + incident_power_W_m2: float | None + voltage_polarity: float + initial_provenance: dict[str, Any] + compiled_identity: str + original_prepared_identity: str + binding_manifest: dict[str, Any] + source_sha256: dict[str, str] + source_identity: str + controls_sha256: str + request_sha256: str + solver_controls: dict[str, Any] + ion_species: tuple[str, ...] + reference_inventories_m2: dict[str, float] + ion_weights_m: np.ndarray + nodes_m: np.ndarray + solver_calls: int + evaluation_counts: dict[str, int] + wall_s: float + experiment_kind: str = "equilibrated_ionic_steady_jv" + physical_certificate_status: str = "not_evaluated" + + job_provenance: dict[str, Any] | None = field(default_factory=current_provenance) + + def __post_init__(self) -> None: + for name in ("requested_voltage_V", "voltage_V", "current_density_A_m2", "output_current_A_m2", + "ion_weights_m", "nodes_m"): + array = np.array(getattr(self, name), copy=True) + array.setflags(write=False) + object.__setattr__(self, name, array) + + @property + def completed(self) -> bool: + return (len(self.attempts) == self.requested_voltage_V.size + and all(attempt.accepted for attempt in self.attempts)) + + @property + def failed_attempts(self) -> tuple[IonicSteadyJVAttempt, ...]: + return tuple(attempt for attempt in self.attempts if not attempt.accepted) + + +def _voltages(value: ArrayLike, max_points: int) -> np.ndarray: + raw = np.asarray(value) + if np.iscomplexobj(raw): + raise ValueError("requested voltages must be real") + result = np.asarray(raw, dtype=float) + if (result.ndim != 1 or not 1 <= result.size <= max_points or not np.all(np.isfinite(result)) + or (result.size > 1 and not (np.all(np.diff(result) > 0.0) or np.all(np.diff(result) < 0.0)))): + raise ValueError("requested voltages must be a bounded strictly monotonic finite vector") + return result.copy() + + +def _identity(value: Any) -> str: + return hashlib.sha256(json.dumps(value, sort_keys=True, separators=(",", ":"), allow_nan=False).encode()).hexdigest() + + + + +def _rebase_guess(device: CompiledIonicDevice1D, state: IonicState1D, voltage: float) -> IonicState1D: + if not _same_state(state, device.state(state.u, voltage_V=state.voltage_V)): + raise ValueError("previous accepted seed fields disagree with their bound coordinates") + if state.voltage_V == voltage: + return state + values = state.u.copy() + count = 3 * device.node_count + values[:count] = device.electronic_component.rebase_coordinates(values[:count], state.voltage_V, voltage) + return device.state(values, voltage_V=voltage) + + +def _metrics(voltage: np.ndarray, current: np.ndarray, incident: float | None) -> SteadyJVMetrics: + reason = ("insufficient_accepted_points" if voltage.size < 2 else + "zero_voltage_not_bracketed" if not np.min(voltage) <= 0.0 <= np.max(voltage) else None) + if reason is not None: + return SteadyJVMetrics(None, None, None, None, None, reason) + return steady_jv_metrics(voltage, current, incident_power_W_m2=incident) + + +class _WaveWallLimit(RuntimeError): + pass + + +def run_ionic_steady_jv( + compiled: CompiledIonicDevice1D, voltage_V: ArrayLike, *, generation_scale: float, + options: IonicSteadyJVOptions, initial_policy: str, + initial: IonicTransientInitial | None = None, incident_power_W_m2: float | None = None, +) -> IonicSteadyJVResult: + """One coupled steady solve per point; only an accepted point may seed the next. + + The sole cold/saved policy concerns the first numerical guess. Subsequent + guesses use the previous accepted full state, rebased by the existing + electronic reference map while retaining ionic coordinates. The remaining + wave wall budget caps each solver call; physical controls never change. + """ + started = time.monotonic() + if not isinstance(compiled, CompiledIonicDevice1D) or not isinstance(options, IonicSteadyJVOptions): + raise ValueError("an actual ionic device and explicit steady J-V options are required") + requested = _voltages(voltage_V, options.max_points) + generation = float(generation_scale) + if not math.isfinite(generation) or generation < 0.0: + raise ValueError("generation_scale must be finite and nonnegative") + if incident_power_W_m2 is not None and (not math.isfinite(incident_power_W_m2) or incident_power_W_m2 <= 0.0): + raise ValueError("incident power must be finite and positive when supplied") + if initial_policy not in {"compiled_cold", "saved_accepted"}: + raise ValueError("initial_policy must explicitly be compiled_cold or saved_accepted") + if any(channel.kind != "fixed_reservoir" for channel in compiled.electronic_component.channels): + raise ValueError("ionic steady J-V currently requires fixed-reservoir contacts") + domain = compiled.binding_manifest.get("ion_domain") + if not isinstance(domain, dict) or domain.get("contacts") != ["blocking", "blocking"]: + raise ValueError("ionic steady J-V requires one declared blocking domain") + for species in compiled.ion_species_names: + diffusivity = getattr(compiled, species + "_ion_diffusivity_faces_m2_s") + if not np.all(np.isfinite(diffusivity)) or np.any(diffusivity <= 0.0): + raise ValueError("ionic steady J-V requires connected positive-D species; D0 is unsupported here") + polarity = float(compiled.electronic_component.voltage_polarity) + if polarity not in {-1.0, 1.0}: + raise ValueError("terminal voltage polarity must be explicitly signed") + with job_provenance({"compiled_identity": compiled.identity, "voltage_V": requested.tolist(), "generation_scale": generation, "controls": asdict(options), "initial_policy": initial_policy, "initial_sha256": None if initial is None else initial.source_sha256, "incident_power_W_m2": incident_power_W_m2}, + **provenance_binding("Ionic1DProblem.steady_jv", compiled, inventory_row_node=options.steady.inventory_row_node)): + pins = admitted_source_pins() + previous = None + initial_provenance: dict[str, Any] = {"policy": initial_policy} + if initial_policy == "saved_accepted": + if not isinstance(initial, IonicTransientInitial) or initial.steady_controls != options.steady: + raise ValueError("saved initial requires an accepted artifact and matching declared steady controls") + previous, initial_generation, checks = _admit_evidence( + compiled, initial.evidence_json, initial.source_sha256, initial.steady_controls) + if not _same_state(previous, initial.state) or initial_generation != initial.generation_scale: + raise ValueError("initial object disagrees with its pinned steady evidence") + initial_provenance.update(source_path=initial.source_path, source_sha256=initial.source_sha256, + state=previous, state_sha256=state_digest(previous.u), generation_scale=initial_generation, + admission_checks=checks) + elif initial is not None: + raise ValueError("compiled_cold policy cannot accept a hidden supplied initial state") + controls = asdict(options) + request = {"voltage_V": requested.tolist(), "generation_scale": generation, + "incident_power_W_m2": incident_power_W_m2, "initial_policy": initial_policy, + "initial_source_sha256": initial_provenance.get("source_sha256"), "controls": controls} + deadline = started + options.wall_s + attempts: list[IonicSteadyJVAttempt] = [] + accepted_voltages, currents = [], [] + calls, counts = 0, {"residual": 0, "jacobian": 0} + + def checkpoint() -> None: + if time.monotonic() >= deadline: + raise _WaveWallLimit("ionic J-V wave wall budget exhausted; no retry") + + for index, supplied in enumerate(requested): + voltage = float(supplied) + attempt_started = time.monotonic() + seed, solution, error = None, None, None + called = False + seed_provenance: dict[str, Any] = {"policy": initial_policy if index == 0 else "previous_accepted"} + try: + checkpoint() + if previous is None: + seed = compiled.initial_state(voltage_V=voltage) + else: + seed_provenance.update(previous_voltage_V=previous.voltage_V, + previous_state_sha256=state_digest(previous.u), previous_accepted_point=None if index == 0 else index - 1) + seed = _rebase_guess(compiled, previous, voltage) + seed_provenance["rebased_state_sha256"] = state_digest(seed.u) + checkpoint() + remaining = deadline - time.monotonic() + if remaining <= 0.0: + raise _WaveWallLimit("ionic J-V wave wall budget exhausted before solver call") + effective = replace(options.steady, wall_s=min(options.steady.wall_s, remaining)) + calls += 1 + called = True + solution = solve_ionic_steady_state(compiled, voltage_V=voltage, generation_scale=generation, + options=effective, initial_state=seed) + for name, number in solution.evaluation_counts.items(): + counts[name] = counts.get(name, 0) + number + checkpoint() + accepted = solution.accepted + termination, error = solution.termination, solution.error + if accepted: + if (solution.state is None or solution.newton is None or not solution.newton.accepted + or not solution.checks or not all(check.passed for check in solution.checks) + or solution.compiled_identity != compiled.identity + or solution.original_prepared_identity != compiled.original_prepared_sha256 + or solution.binding_manifest != compiled.binding_manifest + or solution.solver_controls != asdict(effective) + or solution.state.voltage_V != voltage + or not _same_state(solution.state, compiled.state(solution.state.u, voltage_V=voltage)) + or solution.diagnostics is None): + raise ValueError("accepted solver result has inconsistent state, controls or provenance") + current = np.asarray(solution.diagnostics["total_current_density_A_m2"], dtype=float) + if current.shape != (compiled.node_count + 1,) or not np.all(np.isfinite(current)): + raise ValueError("accepted J-V point must retain all internal and external current faces") + currents.append(current.copy()) + accepted_voltages.append(voltage) + previous = solution.state + except Exception as exc: + accepted = False + termination = "wall_budget_exhausted" if isinstance(exc, _WaveWallLimit) else "evaluation_error" + error = f"{type(exc).__name__}: {str(exc)[:400]}" + attempts.append(IonicSteadyJVAttempt(index, voltage, accepted, termination, seed, + seed_provenance, solution, called, time.monotonic() - attempt_started, error)) + if not accepted: + break + voltage_array: np.ndarray = np.asarray(accepted_voltages, dtype=float) + current_array = np.asarray(currents, dtype=float).reshape((-1, compiled.node_count + 1)) + output = -polarity * current_array[:, 0] + targets = {"positive": compiled.reference_inventory_m2} + if compiled.ion_species_count == 2: + targets["negative"] = compiled.negative_reference_inventory_m2 + return IonicSteadyJVResult(requested, voltage_array, current_array, output, tuple(attempts), + _metrics(voltage_array, output, incident_power_W_m2), generation, incident_power_W_m2, polarity, + initial_provenance, compiled.identity, compiled.original_prepared_sha256, compiled.binding_manifest, + pins, _identity(pins), _identity(controls), _identity(request), controls, compiled.ion_species_names, + targets, compiled.ion_geometry.cell_measures_m, compiled.electronic_component.nodes_m, + calls, counts, time.monotonic() - started) + + +def write_ionic_steady_jv(result: IonicSteadyJVResult, path: str | Path) -> str: + """Create one result exclusively, preserving array words and all failed data.""" + if not isinstance(result, IonicSteadyJVResult): + raise ValueError("an actual IonicSteadyJVResult is required") + raw = (json.dumps({"schema": SCHEMA, "completed": result.completed, "result": _encode(result)}, + indent=2, allow_nan=False) + "\n").encode() + with Path(path).open("xb") as output: + output.write(raw) + return hashlib.sha256(raw).hexdigest() + + +def read_ionic_steady_jv(path: str | Path, sha256: str, *, + current_identity: JobProvenance | dict[str, Any] | None = None, + strict_same_source: bool = False, +) -> dict[str, Any]: + """Validate saved checks, hashes and prefix consistency without a model solve.""" + raw = Path(path).read_bytes() + if hashlib.sha256(raw).hexdigest() != sha256: + raise ValueError("ionic steady J-V artifact SHA-256 mismatch") + try: + record = _decode(json.loads(raw)) + result = record["result"] + if (record["schema"] != SCHEMA or result["experiment_kind"] != "equilibrated_ionic_steady_jv" + or result["physical_certificate_status"] != "not_evaluated" + or result["controls_sha256"] != _identity(result["solver_controls"]) + or result["source_identity"] != _identity(result["source_sha256"]) + or result["compiled_identity"] != _identity(result["binding_manifest"]) + or result["original_prepared_identity"] != result["binding_manifest"]["original_prepared_sha256"]): + raise ValueError("inconsistent ionic steady J-V metadata") + requested = _voltages(result["requested_voltage_V"], result["solver_controls"]["max_points"]) + generation, incident = result["generation_scale"], result["incident_power_W_m2"] + policy = result["initial_provenance"]["policy"] + if (type(generation) not in {int, float} or not math.isfinite(generation) or generation < 0.0 + or (incident is not None and (type(incident) not in {int, float} or not math.isfinite(incident) or incident <= 0.0)) + or policy not in {"compiled_cold", "saved_accepted"} or result["voltage_polarity"] not in {-1.0, 1.0}): + raise ValueError("invalid recorded ionic J-V generation, incident power, initial policy or polarity") + request = {"voltage_V": requested.tolist(), "generation_scale": result["generation_scale"], + "incident_power_W_m2": result["incident_power_W_m2"], "initial_policy": result["initial_provenance"]["policy"], + "initial_source_sha256": result["initial_provenance"].get("source_sha256"), "controls": result["solver_controls"]} + if result["request_sha256"] != _identity(request): + raise ValueError("ionic J-V request identity differs from its recorded protocol") + attempts = result["attempts"] + if not 1 <= len(attempts) <= requested.size: + raise ValueError("ionic J-V must retain its first attempted point") + accepted = [] + for index, attempt in enumerate(attempts): + if (attempt["index"] != index or attempt["voltage_V"] != requested[index] + or type(attempt["accepted"]) is not bool + or (not attempt["accepted"] and index != len(attempts) - 1)): + raise ValueError("ionic J-V attempts must retain the requested prefix and first failure") + if attempt["accepted"]: + point = attempt["solution"] + if (point["accepted"] is not True or point["newton"]["accepted"] is not True + or attempt["solver_called"] is not True or attempt["termination"] != "converged" + or point["compiled_identity"] != result["compiled_identity"] + or point["binding_manifest"] != result["binding_manifest"] + or point["state"]["electronic_state"]["voltage_V"] != requested[index] + or not point["checks"] or any(check["passed"] is not True + or not math.isfinite(check["value"]) or check["value"] > check["limit"] for check in point["checks"])): + raise ValueError("contradictory accepted ionic steady evidence") + actual_controls = dict(point["solver_controls"]) + actual_wall = actual_controls["wall_s"] + declared = result["solver_controls"]["steady"] + actual_controls["wall_s"] = declared["wall_s"] + if (actual_controls != declared or not 0.0 < actual_wall <= min( + declared["wall_s"], result["solver_controls"]["wall_s"])): + raise ValueError("point controls differ from the declared controls/remaining wall cap") + accepted.append(attempt) + completed = len(attempts) == requested.size and len(accepted) == len(attempts) + if not completed and attempts[-1]["accepted"]: + raise ValueError("an incomplete ionic J-V curve must retain its first failed point") + if record["completed"] is not completed or result["solver_calls"] != sum(a["solver_called"] for a in attempts): + raise ValueError("ionic J-V completion or call count contradicts its attempts") + voltage, current, output = (result[key] for key in ("voltage_V", "current_density_A_m2", "output_current_A_m2")) + if (not np.array_equal(voltage, requested[:len(accepted)]) + or current.shape != (len(accepted), result["nodes_m"].size + 1) + or not np.all(np.isfinite(current)) + or not np.array_equal(output, -result["voltage_polarity"] * current[:, 0])): + raise ValueError("ionic J-V accepted currents/voltages do not match its recorded prefix") + for index, attempt in enumerate(accepted): + if not np.array_equal(current[index], attempt["solution"]["diagnostics"]["total_current_density_A_m2"]): + raise ValueError("ionic J-V current differs from its original point diagnostics") + state = attempt["solution"]["state"] + for species in result["ion_species"]: + density = state[species + "_ion_density_m3"] + if density.shape != result["ion_weights_m"].shape or not np.all(np.isfinite(density)) or np.any(density <= 0.0): + raise ValueError("ionic J-V species profile is incomplete or invalid") + inventory = math.fsum((result["ion_weights_m"] * density).tolist()) + key = "domain_inventory_m2" if species == "positive" else "negative_domain_inventory_m2" + if inventory != state[key]: + raise ValueError("ionic J-V inventory differs from its physical profile") + if result["metrics"] != asdict(_metrics(voltage, output, result["incident_power_W_m2"])): + raise ValueError("ionic J-V metrics contradict the accepted voltage brackets") + except (KeyError, TypeError, IndexError, AttributeError) as exc: + raise ValueError("incomplete or malformed ionic steady J-V artifact") from exc + record["provenance_comparison"] = result_provenance(result, current_identity, + strict_same_source=strict_same_source, expected_inputs=None if result.get("job_provenance") is None else {"compiled_identity": result["compiled_identity"], "voltage_V": result["requested_voltage_V"].tolist(), + "generation_scale": result["generation_scale"], "controls": result["solver_controls"], + "initial_policy": result["initial_provenance"]["policy"], "initial_sha256": result["initial_provenance"].get("source_sha256"), + "incident_power_W_m2": result["incident_power_W_m2"]}) + return record diff --git a/src/solarlab/experiments/jv/ionic_worker.py b/src/solarlab/experiments/jv/ionic_worker.py new file mode 100644 index 00000000..af18991e --- /dev/null +++ b/src/solarlab/experiments/jv/ionic_worker.py @@ -0,0 +1,352 @@ +"""Explicit illuminated ionic J-V jobs using the existing process owner/store. + +The child compiles the declared device and admits an exact saved initial or +runs the existing cold-dark/direct-density/coupled initialization. Only the +supervisor publishes artifacts and commits a terminal; no numerical fallback. +""" +from __future__ import annotations + +from solarlab.reproducibility.job_provenance import JobProvenance + +from dataclasses import asdict, dataclass, replace +from datetime import datetime, timezone +import hashlib +import importlib.metadata +import json +import math +import platform +from typing import TYPE_CHECKING, Any + +from solarlab.config.identity import ( + BuildSource, ExecutionDescription, ExecutionEngine, IdentityInputs, ModelInputs, + RuntimeEnvironment, execution_manifest, input_identity, physics_identity, +) +from solarlab.config.model_parameters import device_topology, layer_parameter_source +from solarlab.device.resolved import PreparedDevice +from solarlab.experiments.jv.worker import _PACKAGES, _THREADS, _adapter_sources, _document, _verify_sources +from solarlab.experiments.worker import ( + ManifestBinding, ResourceLimits, WorkerBinding, WorkerContext, WorkerRequest, WorkerResult, observe_environment, +) +from solarlab.materials.source import SourceDocument +from solarlab.physics.registry import CapabilityContext, CapabilityRule, EvidenceRef, ModelDefinition, ModelRef, ModelRegistry, Scope +from solarlab.physics.selection import ModelChoice, select_models +from solarlab.physics.semantic_projection import SemanticProjection + +if TYPE_CHECKING: + from solarlab.experiments.execution import JobHandle, ProcessSupervisor + from solarlab.experiments.jv.ionic_steady import IonicSteadyJVOptions + from solarlab.io.run_store import RunStore + +__all__ = ["IonicJVProtocol", "IonicJVInitial", "IonicJVJob", "prepare_ionic_jv_job", + "ionic_jv_worker_binding", "run_ionic_jv_worker", "read_ionic_jv_job", "ionic_jv_identity_inputs", + "REGISTERED_WALL_SECONDS"] +# Provisional engineering allowance, passed only by an opted-in installed v1 +# registration. Linux run 41062040632 was censored at 30 s; uncensored direct +# diagnostics must confirm ceil(max(128 s, 4 * p95, 2 * max)). Numerical-stage +# caps remain 30/25/25 s, and direct submissions retain their 30 s default. +REGISTERED_WALL_SECONDS = 128. +WORKER_ID = "ionic_steady_jv" +REQUEST_SCHEMA = _document("solarlab.ionic-jv.worker-request.v1", { + "engine": "solarlab", "fields": ["schema", "engine", "prepared_sha256", "protocol", "grid", "controls", "initial"]}) +REGISTRY = _document("solarlab.ionic-jv.worker-registry.v1", { + "engine": "solarlab", "worker": WORKER_ID, "scope": "illuminated_positive_D_one_blocking_domain_ionic_steady_jv", + "fallback": "forbidden"}) +RESULT_SCHEMA = "solarlab.ionic-jv.worker-result.v1" + + +@dataclass(frozen=True, slots=True) +class IonicJVProtocol: + voltage_V: tuple[float, ...] + generation_scale: float + incident_power_W_m2: float | None + + def __post_init__(self) -> None: + values = tuple(self.voltage_V) + if (not 1 <= len(values) <= 101 or any(type(v) not in {int, float} or not math.isfinite(v) for v in values) + or not (all(b > a for a, b in zip(values, values[1:])) or all(b < a for a, b in zip(values, values[1:])))): + raise ValueError("ionic J-V requires 1..101 finite strictly monotonic voltages") + if (type(self.generation_scale) not in {int, float} or not math.isfinite(self.generation_scale) + or self.generation_scale <= 0): + raise ValueError("this worker requires explicit positive illumination") + power = self.incident_power_W_m2 + if power is not None and (type(power) not in {int, float} or not math.isfinite(power) or power <= 0): + raise ValueError("incident power must be finite and positive when supplied") + object.__setattr__(self, "voltage_V", tuple(float(v) for v in values)) + + +@dataclass(frozen=True, slots=True) +class IonicJVInitial: + policy: str + voltage_V: float + wall_s: float + artifact_bytes: bytes | None = None + artifact_sha256: str | None = None + + def __post_init__(self) -> None: + if (self.policy not in {"dark_direct_density_seed_v1", "saved_accepted"} + or not math.isfinite(self.voltage_V) or not math.isfinite(self.wall_s) or not 0 < self.wall_s <= 30): + raise ValueError("explicit initial policy, finite voltage and wall ceiling <=30s required") + if self.policy == "saved_accepted": + if (type(self.artifact_bytes) is not bytes or not self.artifact_bytes + or hashlib.sha256(self.artifact_bytes).hexdigest() != self.artifact_sha256): + raise ValueError("saved initial requires exact artifact bytes and matching SHA-256") + SourceDocument("ionic-jv-saved-initial", self.artifact_bytes) + if not isinstance(json.loads(self.artifact_bytes), dict): + raise ValueError("saved initial must be an explicit result document") + elif self.artifact_bytes is not None or self.artifact_sha256 is not None: + raise ValueError("cold initialization cannot contain a hidden saved initial") + + +def _initial_body(initial: IonicJVInitial) -> dict[str, Any]: + return {"policy": initial.policy, "voltage_V": initial.voltage_V, "wall_s": initial.wall_s, + "artifact_content_hex": None if initial.artifact_bytes is None else initial.artifact_bytes.hex(), + "artifact_sha256": initial.artifact_sha256} + + +def _identity_inputs(prepared: PreparedDevice, implementation: BuildSource) -> IdentityInputs: + names = ("solarlab/device/compile_ionic_1d.py", "solarlab/equations/ionic_1d.py", + "solarlab/solvers/nonlinear/ionic_1d.py", "solarlab/experiments/ionic_initialization.py", + "solarlab/experiments/jv/ionic_steady.py") + sources = tuple(s for s in implementation.files if s.id in names) + if {s.id for s in sources} != set(names): + raise ValueError("actual ionic compiler/equation/steady/initialization/J-V sources must be bound") + ref = ModelRef("classical_ionic_steady_jv", 1) + rule = CapabilityRule("source_bound_ionic_steady_jv", (1,), ("dc",), + tuple(EvidenceRef(s.id, s.sha256, "source") for s in sources), + backends=(WORKER_ID,), statistics=("maxwell_boltzmann",)) + definition = ModelDefinition(ref, "Source-bound illuminated ionic steady J-V", "classical_ionic_dc", ("layer",), "node", + ("mu_n", "mu_p", "tau_n", "tau_p", "alpha", "B_rad", "C_n", "C_p", "N_A", "N_D", + "P0", "P0_neg", "P_lim", "P_lim_neg", "D_ion", "D_ion_neg", "E_a_ion"), (), (), rule, + parameter_schema="full_layer") + registry = ModelRegistry((definition,)) + defaults = {"layer": (ModelChoice("classical_ionic_dc", ref, parameter_schema="full_layer"),)} + topology = device_topology(prepared) + parameters = {Scope("layer", (layer.id,)): layer_parameter_source(layer) + for layer in prepared.layers if layer.id in topology.electrical_layer_ids} + context = CapabilityContext(1, "dc", WORKER_ID, "maxwell_boltzmann", temperature_K=prepared.to_mapping()["settings"]["T"]) + selection = select_models(registry, topology, context, defaults, parameters, {}) + return IdentityInputs(prepared, selection, registry, ModelInputs.from_mappings(defaults=defaults, overrides={}), + (SemanticProjection(ref, "all_values_v1", sources),)) + + +def ionic_jv_identity_inputs(prepared: PreparedDevice, implementation: BuildSource) -> IdentityInputs: + """Expose the unchanged identity recipe for explicitly installed adapters.""" + return _identity_inputs(prepared, implementation) + + +def _validate(prepared: PreparedDevice, protocol: IonicJVProtocol, intervals: tuple[int, ...], domain: str, + endpoints: tuple[str, str], options: IonicSteadyJVOptions, initial: IonicJVInitial) -> None: + from solarlab.device.compile_1d import unsupported + from solarlab.experiments.jv.ionic_steady import IonicSteadyJVOptions + + if type(prepared) is not PreparedDevice or type(protocol) is not IonicJVProtocol or type(initial) is not IonicJVInitial: + raise ValueError("explicit prepared device, J-V protocol and initial policy required") + if type(options) is not IonicSteadyJVOptions: + raise ValueError("explicit ionic steady J-V controls required") + layers = tuple(layer for layer in prepared.layers if layer.role != "substrate") + if (len(intervals) != len(layers) or any(type(v) is not int or v < 2 for v in intervals) + or domain not in {layer.id for layer in layers} or endpoints != ("blocking", "blocking")): + raise ValueError("explicit layer intervals and one named blocking domain required") + count = intervals[next(i for i, layer in enumerate(layers) if layer.id == domain)] + 1 + if (type(options.steady.inventory_row_node) is not int or not 0 <= options.steady.inventory_row_node < count + or len(protocol.voltage_V) > options.max_points or options.wall_s > 25 or options.steady.wall_s > 30): + raise ValueError("invalid inventory row/point count or curve wall ceiling >25s") + data = prepared.to_mapping() + populations = ("P0", "P0_neg", "D_ion", "D_ion_neg") + for layer in prepared.layers: + parameters = dict(layer.parameters) + if layer.id != domain and any(parameters[name] != 0 for name in populations): + raise ValueError("outside-domain ions or multiple ionic domains are unsupported") + p: dict[str, Any] = dict(next(layer for layer in layers if layer.id == domain).parameters) + dual = p["P0_neg"] != 0 or p["D_ion_neg"] != 0 + for suffix in ("", "_neg") if dual else ("",): + reference, capacity, diffusion = (float(p[name + suffix]) for name in ("P0", "P_lim", "D_ion")) + if not (all(math.isfinite(x) for x in (reference, capacity, diffusion)) and 0 < reference < capacity and diffusion > 0): + raise ValueError("ionic J-V requires unsaturated connected positive-D species") + if data["settings"]["ion_steric_shared_site"] and (not dual or not data["settings"]["ion_steric_diffusion_only"] + or p["P_lim"] != p["P_lim_neg"] or p["P0"] + p["P0_neg"] >= p["P_lim"]): + raise ValueError("shared sites require two unsaturated populations and one diffusion-only capacity") + screen = {**data, "settings": {**data["settings"], "ion_steric_shared_site": False, "ion_steric_diffusion_only": False}} + screened = tuple(replace(layer, parameters=tuple((k, 0.0 if k in populations else v) for k, v in layer.parameters)) for layer in layers) + unsupported(prepared, screen, screened) + + +def _roles(prepared: PreparedDevice, body: dict[str, Any], implementation: BuildSource) -> dict[str, SourceDocument]: + return {"protocol": _document("solarlab.ionic-jv.protocol.v1", body["protocol"]), + "preparation": _document("solarlab.ionic-jv.preparation.v1", { + "prepared_sha256": prepared.content_sha256, "resolved_experiment": prepared.to_mapping(), + "source_experiment": [{"id": s.id, "sha256": s.sha256, "content_hex": s.content.hex()} for s in prepared.sources], + "adapter_sources": _adapter_sources(implementation), "cold_compile_per_job": True, + "source_scope": "committed_core_plus_explicit_active_adapters", "fallback": "forbidden"}), + "initial_state": _document("solarlab.ionic-jv.initial.v1", body["initial"]), + "grid": _document("solarlab.ionic-jv.grid.v1", body["grid"]), + "numeric_controls": _document("solarlab.ionic-jv.controls.v1", body["controls"])} + + +def _limits(limits: ResourceLimits, *, wall_ceiling_seconds: float = 30.) -> None: + if (type(wall_ceiling_seconds) not in {int, float} + or not 30. <= wall_ceiling_seconds <= REGISTERED_WALL_SECONDS): + raise ValueError("ionic J-V requires a bounded approved wall ceiling") + if limits.accepted_steps is not None or limits.calls is not None or limits.wall_seconds > wall_ceiling_seconds: + raise ValueError(f"ionic J-V requires wall<={wall_ceiling_seconds:g}s and no unobserved whole-job counter caps") + + +@dataclass(frozen=True, slots=True) +class IonicJVJob: + request: WorkerRequest + execution: ManifestBinding + + def submit(self, supervisor: ProcessSupervisor, run_id: str, limits: ResourceLimits) -> JobHandle: + _limits(limits) + return supervisor.submit(run_id, WORKER_ID, self.request, limits, execution=self.execution) + + +def prepare_ionic_jv_job(prepared: PreparedDevice, protocol: IonicJVProtocol, *, intervals_per_layer: tuple[int, ...], + ion_domain_layer: str, ion_domain_endpoints: tuple[str, str], options: IonicSteadyJVOptions, initial: IonicJVInitial, + implementation: BuildSource, current_repository_head: str, engine: ExecutionEngine, +) -> IonicJVJob: + """Bind explicit data, artifact bytes and actual sources before child work.""" + if type(engine) is not ExecutionEngine or engine.name != "solarlab" or type(implementation) is not BuildSource: + raise ValueError("explicit solarlab engine and immutable core sources required") + intervals = tuple(intervals_per_layer) + _validate(prepared, protocol, intervals, ion_domain_layer, ion_domain_endpoints, options, initial) + inputs = _identity_inputs(prepared, implementation) + body = {"schema": REQUEST_SCHEMA.id, "engine": "solarlab", "prepared_sha256": prepared.content_sha256, + "protocol": asdict(protocol), "grid": {"intervals_per_layer": list(intervals), "ion_domain_layer": ion_domain_layer, + "ion_domain_endpoints": list(ion_domain_endpoints)}, "controls": asdict(options), "initial": _initial_body(initial)} + from solarlab.equations.implementation import selection_setting + + # The child installs these before any engine import: a queued or spawned + # job runs the equation selection of the parent that prepared it. + settings = tuple(sorted([*((name, "1") for name in _THREADS), selection_setting()])) + environment = RuntimeEnvironment(platform.python_implementation(), platform.python_version(), platform.system(), platform.machine(), + tuple((name, importlib.metadata.version(name)) for name in _PACKAGES), tuple((name, json.dumps(value)) for name, value in settings)) + description = ExecutionDescription(**_roles(prepared, body, implementation), implementation=implementation, + environment=environment, current_repository_head=current_repository_head) + _verify_sources(description) + manifest = execution_manifest(inputs, description, engine=engine) + execution = ManifestBinding(manifest, inputs, description, engine, manifest.sha256, settings) + identity = manifest.export()["document"]["execution_identity"] + request = WorkerRequest(_document(REQUEST_SCHEMA.id, body), REGISTRY, REQUEST_SCHEMA, + _document("solarlab.ionic-jv.execution-identity.v1", identity), identity["payload"]["H_input"], identity["payload"]["H_physics"]) + execution.validate_request(request) + return IonicJVJob(request, execution) + + +def ionic_jv_worker_binding() -> WorkerBinding: + return WorkerBinding.from_function(WORKER_ID, run_ionic_jv_worker, registry_sha256=REGISTRY.sha256, schema_sha256=REQUEST_SCHEMA.sha256) + + +def run_ionic_jv_worker(request: WorkerRequest, worker: WorkerContext, *, + wall_ceiling_seconds: float = 30.) -> WorkerResult: + worker.check_cancel() + binding = worker.consume_manifest(request, engine="solarlab") + from solarlab.equations.implementation import verify_selection + + verify_selection(binding.environment) + _verify_sources(binding.execution) + _limits(worker._limits, wall_ceiling_seconds=wall_ceiling_seconds) + from solarlab.device.compile_ionic_1d import compile_ionic_device_1d + from solarlab.equations.implementation import provenance_binding + from solarlab.experiments.ionic_initialization import IonicInitializationOptions, initialize_ionic_steady_state + from solarlab.experiments.ionic_transient import IonicTransientInitial, _admit_evidence + from solarlab.experiments.jv.ionic_results import initial_document, ionic_jv_payload, result_digest + from solarlab.experiments.jv.ionic_steady import IonicSteadyJVOptions, run_ionic_steady_jv + from solarlab.experiments.transient_results import _fingerprint + from solarlab.solvers.nonlinear.ionic_1d import IonicSteadyOptions, solve_ionic_steady_state + from solarlab.solvers.nonlinear.problem import SolveBudget + from solarlab.solvers.nonlinear.steady_1d import SteadyOptions + from threadpoolctl import threadpool_info, threadpool_limits + + body = json.loads(request.request.content) + controls, grid, initial_data = body["controls"], body["grid"], body["initial"] + steady_data = controls["steady"] + steady = IonicSteadyOptions(**{**steady_data, "electronic": SteadyOptions(**steady_data["electronic"]), + "budget": SolveBudget(**steady_data["budget"])}) + options = IonicSteadyJVOptions(steady, controls["max_points"], controls["wall_s"]) + protocol = IonicJVProtocol(**body["protocol"]) + initial = IonicJVInitial(initial_data["policy"], initial_data["voltage_V"], initial_data["wall_s"], + None if initial_data["artifact_content_hex"] is None else bytes.fromhex(initial_data["artifact_content_hex"]), + initial_data["artifact_sha256"]) + intervals, domain, endpoints = tuple(grid["intervals_per_layer"]), grid["ion_domain_layer"], tuple(grid["ion_domain_endpoints"]) + prepared = binding.inputs.prepared + _validate(prepared, protocol, intervals, domain, endpoints, options, initial) + inputs = _identity_inputs(prepared, binding.execution.implementation) + if (body["schema"] != REQUEST_SCHEMA.id or body["engine"] != "solarlab" or body["prepared_sha256"] != prepared.content_sha256 + or input_identity(inputs).sha256 != request.H_input or physics_identity(inputs).sha256 != request.H_physics + or any(getattr(binding.execution, k) != v for k, v in _roles(prepared, body, binding.execution.implementation).items())): + raise ValueError("ionic J-V request/initial/configuration differs from manifest") + _verify_sources(binding.execution) + started_utc = datetime.now(timezone.utc).isoformat() + worker.progress({"stage": "ionic_jv_compile"}) + with threadpool_limits(limits=1): + compiled = compile_ionic_device_1d(prepared, intervals_per_layer=intervals, + ion_domain_layer=domain, ion_domain_endpoints=endpoints) + # Admission names the bound equation system the job evaluates, so the device is compiled first. + with worker.admit_provenance(request, **provenance_binding("Ionic1DProblem.steady_jv", compiled, + inventory_row_node=steady.inventory_row_node)): + capture: dict[str, Any] = {"scope": "ionic_compile_initialization_and_steady_jv_in_worker", + "started_utc": started_utc, "prepared_sha256": prepared.content_sha256, + "request_sha256": request.request.sha256, "manifest_sha256": binding.expected_sha256, + "build_source_commit": binding.execution.implementation.build_source_commit} + dark = illumination = curve = admitted = None + with threadpool_limits(limits=1): + pools = threadpool_info() + if any(pool["num_threads"] != 1 for pool in pools): + raise ValueError("child thread limit was not installed") + capture.update(runtime=asdict(observe_environment(_PACKAGES, tuple(name for name, _ in binding.environment))), threadpools=pools) + worker.check_cancel() + if initial.policy == "saved_accepted": + assert initial.artifact_bytes is not None and initial.artifact_sha256 is not None + initial_bytes = initial.artifact_bytes + state, generation, _ = _admit_evidence(compiled, initial_bytes.decode(), initial.artifact_sha256, steady) + if generation != protocol.generation_scale or state.voltage_V != initial.voltage_V: + raise ValueError("saved initial voltage/illumination differs from explicit recipe") + admitted = IonicTransientInitial(state, generation, steady, "request-supplied:ionic_jv_initial", + initial.artifact_sha256, initial_bytes.decode()) + else: + worker.progress({"stage": "ionic_jv_cold_dark", "electrical_nodes": compiled.node_count, "ion_nodes": compiled.ion_node_count}) + dark = solve_ionic_steady_state(compiled, voltage_V=initial.voltage_V, generation_scale=0., options=steady) + initial_bytes = initial_document(compiled.identity, dark, initial.voltage_V, 0.) + worker.check_cancel() + if dark.accepted: + assert dark.state is not None + dark_input = IonicTransientInitial(dark.state, 0., steady, "worker-produced:ionic_jv_dark", + hashlib.sha256(initial_bytes).hexdigest(), initial_bytes.decode()) + worker.progress({"stage": "ionic_jv_direct_density_initialization"}) + illumination = initialize_ionic_steady_state(compiled, initial=dark_input, + voltage_V=initial.voltage_V, generation_scale=protocol.generation_scale, + options=IonicInitializationOptions(steady, "direct_density_seed_v1", initial.wall_s)) + initial_bytes = initial_document(compiled.identity, illumination.coupled_result, initial.voltage_V, + protocol.generation_scale) + if illumination.accepted: + assert illumination.state is not None + admitted = IonicTransientInitial(illumination.state, protocol.generation_scale, steady, + "worker-produced:ionic_jv_initial", hashlib.sha256(initial_bytes).hexdigest(), initial_bytes.decode()) + worker.check_cancel() + if admitted is not None: + worker.progress({"stage": "ionic_jv_curve", "requested_points": len(protocol.voltage_V)}) + curve = run_ionic_steady_jv(compiled, protocol.voltage_V, generation_scale=protocol.generation_scale, + options=options, initial_policy="saved_accepted", initial=admitted, incident_power_W_m2=protocol.incident_power_W_m2) + worker.check_cancel() + summary, payloads = ionic_jv_payload(compiled, body, dark, illumination, curve, initial_bytes) + sources = {s.id: s.sha256 for s in binding.execution.implementation.files} + sources.update({s["id"]: s["sha256"] for s in json.loads(binding.execution.preparation.content)["adapter_sources"]}) + capture.update(finished_utc=datetime.now(timezone.utc).isoformat(), compiled_identity=compiled.identity, + initial_artifact_sha256=hashlib.sha256(initial_bytes).hexdigest(), + initial_state=None if admitted is None else _fingerprint(admitted.state.u), + source_sha256=sources, result_sha256=result_digest(summary, payloads), curve_started=curve is not None) + capture = json.loads(_document("ionic-jv-capture", capture).content) + return WorkerResult.from_dict({"schema": RESULT_SCHEMA, "engine": "solarlab", "H_input": request.H_input, + "H_physics": request.H_physics, "H_execution": request.execution_identity.sha256, "manifest_sha256": binding.expected_sha256, + "prepared_sha256": prepared.content_sha256, "ionic_jv_result": summary, "reason": summary["reason"], + "capture": capture, "payloads": {name: {"sha256": p.sha256, "format": p.format, "metadata": json.loads(p.metadata_json)} + for name, p in payloads.items()}, "scientific_qualification": False}, artifacts=tuple(payloads.items()), + state="succeeded" if summary["outcome"] == "completed" else "failed") + + +def read_ionic_jv_job(store: RunStore, run_id: str, *, attempt_id: str | None = None, + current_identity: JobProvenance | dict[str, Any] | None = None, strict_same_source: bool = False) -> dict[str, Any]: + """Read exact committed data without importing a compiler/equation/solver.""" + from solarlab.experiments.jv.ionic_results import read_ionic_jv_job as read + return read(store, run_id, attempt_id=attempt_id, current_identity=current_identity, strict_same_source=strict_same_source) diff --git a/src/solarlab/experiments/jv/operating_points.py b/src/solarlab/experiments/jv/operating_points.py new file mode 100644 index 00000000..3e7548de --- /dev/null +++ b/src/solarlab/experiments/jv/operating_points.py @@ -0,0 +1,354 @@ +"""Bracketed direct operating points of the actual new-core DC equations. + +An input bracket comes from accepted SteadyJVResult solutions. Every refined +point is another solve of the same DC equations and physical controls. The +reported voltage estimate belongs to an accepted solved state; interpolation +of current is never used to manufacture an operating point. +""" + +from __future__ import annotations + +from dataclasses import asdict, dataclass +import math + +import numpy as np + +from solarlab.equations.assembly.classical_1d import AssembledDC1DProblem +from solarlab.equations.dc_1d import CompiledDevice1D, DC1DProblem +from solarlab.equations.implementation import DCProblem, use_assembled +from solarlab.experiments.jv.steady import SteadyJVResult +from solarlab.solvers.nonlinear.newton import NewtonResult +from solarlab.solvers.nonlinear.problem import state_digest +from solarlab.solvers.nonlinear.production import ( + production_convergence_norm, production_residual_scaling, +) +from solarlab.solvers.nonlinear.steady_1d import ( + SteadyOptions, + SteadyState1D, + SteadyStateError, + physical_gates, + solve_steady_state, +) + +__all__ = [ + "DirectVocError", + "DirectVocResult", + "VocBracketError", + "VocFailure", + "solve_direct_voc", +] + + +class VocBracketError(ValueError): + """The supplied solutions do not identify one actual DC current root.""" + + +@dataclass(frozen=True) +class VocFailure: + """A failed DC step, with its accepted seed and original diagnostics.""" + + voltage_V: float + seed_voltage_V: float + seed_digest: str + subdivisions: int + exception_type: str + message: str + newton_result: NewtonResult | None + + +class DirectVocError(RuntimeError): + """A bounded refinement failed; accepted states and failures are retained.""" + + def __init__( + self, + message: str, + lower: SteadyState1D, + upper: SteadyState1D, + solutions: tuple[SteadyState1D, ...], + failed_attempts: tuple[VocFailure, ...], + solve_calls: int, + ) -> None: + self.lower = lower + self.upper = upper + self.solutions = solutions + self.failed_attempts = failed_attempts + self.solve_calls = solve_calls + super().__init__(message) + + @property + def interval_V(self) -> tuple[float, float]: + return self.lower.voltage_V, self.upper.voltage_V + + +@dataclass(frozen=True) +class DirectVocResult: + """An accepted solved estimate inside a sign-bracketed voltage interval.""" + + solution: SteadyState1D + lower: SteadyState1D + upper: SteadyState1D + initial_endpoints: tuple[SteadyState1D, SteadyState1D] + solutions: tuple[SteadyState1D, ...] + failed_attempts: tuple[VocFailure, ...] + solve_calls: int + voltage_tolerance_V: float + voltage_polarity: float + compiled_identity: str + generation_scale: float + solver_controls: dict[str, object] + + @property + def voltage_V(self) -> float: + return self.solution.voltage_V + + @property + def interval_V(self) -> tuple[float, float]: + return self.lower.voltage_V, self.upper.voltage_V + + @property + def interval_width_V(self) -> float: + return self.upper.voltage_V - self.lower.voltage_V + + @property + def output_current_A_m2(self) -> float: + return _output_current(self.solution, self.voltage_polarity) + + +def _output_current(point: SteadyState1D, polarity: float) -> float: + return float(-polarity * point.current_density_A_m2[0]) + + +def _unique_root_indices(current: np.ndarray) -> tuple[int, int]: + """Select one exact zero or adjacent strict sign change, without products.""" + zeros = np.flatnonzero(current == 0.0) + signs = np.sign(current) + changes = np.flatnonzero(signs[:-1] * signs[1:] < 0.0) + if zeros.size == 1 and changes.size == 0: + node = int(zeros[0]) + return node, node + if zeros.size > 1 or zeros.size + changes.size > 1: + raise VocBracketError("multiple or ambiguous DC current roots in the bracket") + if changes.size == 1 and zeros.size == 0: + node = int(changes[0]) + return node, node + 1 + raise VocBracketError("no actual solved sign-changing DC current bracket") + + +def _verify_point( + compiled: CompiledDevice1D, + point: SteadyState1D, + generation_scale: float, + controls: SteadyOptions, +) -> None: + """Validate saved acceptance against the same actual physical equations.""" + if not isinstance(point, SteadyState1D) or not point.converged: + raise VocBracketError("every input point must be an accepted steady solve") + if ( + point.state.device_sha256 != compiled.identity + or point.state.voltage_V != point.voltage_V + or point.generation_scale != generation_scale + or not np.array_equal(point.newton.state, point.state.u) + ): + raise VocBracketError("steady point identity, voltage, or state is inconsistent") + required = {"poisson_balance", "continuity_current_bound", "all_face_current_spread"} + if not required <= {gate.name for gate in point.physical_gates} or not all( + gate.passed for gate in point.physical_gates + ): + raise VocBracketError("steady point lacks passed production physical gates") + state = compiled.state(point.state.u, voltage_V=point.voltage_V) + for name in ("potential_V", "electron_density_m3", "hole_density_m3"): + if not np.array_equal(getattr(state, name), getattr(point.state, name)): + raise VocBracketError("saved fields do not match the actual state coordinates") + problem: DCProblem = (AssembledDC1DProblem(compiled, point.voltage_V, generation_scale) if use_assembled() + else DC1DProblem(compiled, point.voltage_V, generation_scale)) + current = problem.current_density(point.state.u) + contact = problem.contact_current_density(point.state.u) + if not np.array_equal(current, point.current_density_A_m2) or not np.array_equal( + contact, point.contact_current_density_A_m2 + ): + raise VocBracketError("saved current is not the current of the solved DC state") + scaling = production_residual_scaling( + compiled, + poisson_tolerance=controls.poisson_tolerance, + continuity_tolerance_A_m2=controls.continuity_tolerance_A_m2, + contact_log_tolerance=controls.contact_log_tolerance, + ) + residual = scaling.scaled(problem.residual(point.state.u)) + norm = production_convergence_norm(compiled, convergence_policy=controls.convergence_policy) + if not np.all(np.isfinite(residual)) or ( + float(np.max(np.abs(residual))) if norm is None else norm(residual) + ) > 1.0: + raise VocBracketError("saved point fails the production residual controls") + if np.ptp(np.r_[current, contact]) > controls.current_spread_tolerance_A_m2: + raise VocBracketError("saved point fails the all-face current gate") + if any(not gate(point.state.u).passed for gate in physical_gates( + problem, controls, equilibrium=point.voltage_V == 0.0 and generation_scale == 0.0, + )): + raise VocBracketError("saved point fails a recomputed production physical gate") + + +def solve_direct_voc( + compiled: CompiledDevice1D, + bracket: SteadyJVResult, + *, + voltage_tolerance_V: float = 1.0e-6, + max_solve_calls: int = 64, + max_continuation_subdivisions: int = 16, + options: SteadyOptions | None = None, +) -> DirectVocResult: + """Refine one actual DC current bracket to a positive voltage-width control. + + A failed step may use bounded finer continuation from the nearest accepted + same-device state. All failed attempts remain diagnostic evidence; their + states are never seeds. The final estimate is whichever accepted endpoint + has smaller absolute output current, with its enclosing interval reported. + Voltage width is a numerical stopping control, not scientific qualification. + """ + if not math.isfinite(voltage_tolerance_V) or voltage_tolerance_V <= 0.0: + raise ValueError("voltage_tolerance_V must be finite and positive") + for name, value, minimum in ( + ("max_solve_calls", max_solve_calls, 1), + ("max_continuation_subdivisions", max_continuation_subdivisions, 2), + ): + if type(value) is not int or value < minimum: + raise ValueError(f"{name} must be an integer >= {minimum}") + if not isinstance(bracket, SteadyJVResult): + raise VocBracketError("an actual SteadyJVResult bracket is required") + if ( + bracket.compiled_identity != compiled.identity + or bracket.voltage_polarity != compiled.voltage_polarity + or not np.array_equal(bracket.nodes_m, compiled.nodes_m) + ): + raise VocBracketError("the bracket must belong to the same compiled device") + controls = SteadyOptions(**bracket.solver_controls) + if options is not None and options != controls: + raise VocBracketError("direct refinement must retain the bracket's solver controls") + voltage = np.asarray(bracket.voltage_V, dtype=float) + output = np.asarray(bracket.output_current_A_m2, dtype=float) + current = np.asarray(bracket.current_density_A_m2, dtype=float) + count = voltage.size + if ( + voltage.shape != (count,) or count < 2 + or output.shape != (count,) + or current.shape != (count, compiled.node_count - 1) + or len(bracket.solutions) != count + or not np.all(np.isfinite(voltage)) + or not np.all(np.isfinite(output)) + or np.unique(voltage).size != count + ): + raise VocBracketError("bracket arrays and accepted solutions are inconsistent") + accepted: dict[float, SteadyState1D] = {} + for index, point in enumerate(bracket.solutions): + _verify_point(compiled, point, bracket.generation_scale, controls) + if point.voltage_V != float(voltage[index]) or not np.array_equal( + current[index], point.current_density_A_m2 + ) or output[index] != _output_current(point, compiled.voltage_polarity): + raise VocBracketError("bracket currents/voltages are not actual solved outputs") + accepted[point.voltage_V] = point + ordered = sorted(accepted.values(), key=lambda point: point.voltage_V) + left, right = _unique_root_indices( + np.array([_output_current(point, compiled.voltage_polarity) for point in ordered]) + ) + lower, upper = ordered[left], ordered[right] + initial = lower, upper + failures: list[VocFailure] = [] + calls = 0 + + def saved() -> tuple[SteadyState1D, ...]: + return tuple(sorted(accepted.values(), key=lambda point: point.voltage_V)) + + def fail(message: str) -> DirectVocError: + return DirectVocError(message, lower, upper, saved(), tuple(failures), calls) + + def attempt(target: float, subdivisions: int) -> SteadyState1D | None: + nonlocal calls + if target in accepted: + return accepted[target] + if calls >= max_solve_calls: + raise fail("direct V_oc exhausted the DC solve-call budget") + seed = min( + accepted.values(), + key=lambda point: (abs(point.voltage_V - target), point.voltage_V), + ) + calls += 1 + try: + point = solve_steady_state( + compiled, initial_state=seed.state, voltage_V=target, + generation_scale=bracket.generation_scale, options=controls, + ) + except (SteadyStateError, ArithmeticError) as error: + failures.append(VocFailure( + target, seed.voltage_V, state_digest(seed.state.u), subdivisions, + type(error).__name__, str(error), + error.result if isinstance(error, SteadyStateError) else None, + )) + return None + except Exception as error: + failures.append(VocFailure( + target, seed.voltage_V, state_digest(seed.state.u), subdivisions, + type(error).__name__, str(error), None, + )) + raise fail("DC step raised a non-recoverable error") from error + try: + _verify_point(compiled, point, bracket.generation_scale, controls) + if point.voltage_V != target: + raise VocBracketError("DC solve returned a different requested voltage") + except Exception as error: + failures.append(VocFailure( + target, seed.voltage_V, state_digest(seed.state.u), subdivisions, + type(error).__name__, str(error), + getattr(point, "newton", None), + )) + raise fail("DC step did not return an accepted physical operating point") from error + accepted[target] = point + return point + + def reach(target: float) -> SteadyState1D: + point = attempt(target, 0) + if point is not None: + return point + subdivisions = 2 + while subdivisions <= max_continuation_subdivisions: + start = min( + accepted.values(), + key=lambda point: (abs(point.voltage_V - target), point.voltage_V), + ) + success = True + for value in np.linspace(start.voltage_V, target, subdivisions + 1)[1:]: + point = attempt(float(value), subdivisions) + if point is None: + success = False + break + if _output_current(point, compiled.voltage_polarity) == 0.0: + return point + if success: + assert point is not None + return point + subdivisions *= 2 + raise fail("bounded finer same-equation continuation could not reach the midpoint") + + while upper.voltage_V - lower.voltage_V > voltage_tolerance_V: + midpoint = lower.voltage_V + 0.5 * (upper.voltage_V - lower.voltage_V) + if midpoint == lower.voltage_V or midpoint == upper.voltage_V: + raise fail("binary64 cannot further subdivide the accepted voltage bracket") + reach(midpoint) + candidates = [ + point for point in saved() + if lower.voltage_V <= point.voltage_V <= upper.voltage_V + ] + try: + left, right = _unique_root_indices(np.array([ + _output_current(point, compiled.voltage_polarity) for point in candidates + ])) + except VocBracketError as error: + raise fail("new solved points make the DC root bracket ambiguous") from error + lower, upper = candidates[left], candidates[right] + estimate = min( + (lower, upper), + key=lambda point: (abs(_output_current(point, compiled.voltage_polarity)), point.voltage_V), + ) + return DirectVocResult( + estimate, lower, upper, initial, saved(), tuple(failures), calls, + voltage_tolerance_V, compiled.voltage_polarity, compiled.identity, + bracket.generation_scale, asdict(controls), + ) diff --git a/src/solarlab/experiments/jv/preparation.py b/src/solarlab/experiments/jv/preparation.py new file mode 100644 index 00000000..46276e65 --- /dev/null +++ b/src/solarlab/experiments/jv/preparation.py @@ -0,0 +1,278 @@ +"""Declared 1D J-V history, with no physical state or executor construction.""" +from __future__ import annotations + +from dataclasses import dataclass, field +import hashlib +import json +import math +from typing import Any, NoReturn + +import numpy as np + +from solarlab.config.identity import ( + ExecutionDescription, ExecutionEngine, ExecutionManifest, Identity, IdentityInputs, + RuntimeEnvironment, verify_execution_manifest, +) +from solarlab.config.resolve_device import resolve_device +from solarlab.device.defaults import DefaultCatalog +from solarlab.experiments.jv.inputs import DarkJVInput, JVExperimentInput, JVInput, JVProtocolInput +from solarlab.experiments.inputs import invalid, input_document as _document +from solarlab.materials.resources import ResourceLibrary +from solarlab.materials.source import SourceDocument + + +def _bytes(value: Any) -> bytes: + return json.dumps(value, sort_keys=True, separators=(",", ":"), allow_nan=False).encode() + + +def _fail(path: tuple[str | int, ...], message: str, value: Any) -> NoReturn: + invalid("JVPreparation", path, message, value) + + +def _canonical(value: Any) -> Any: + # The old declaration hash normalizes floating zero only. Editable input + # independently keeps its sign and original numeric/string representation. + if isinstance(value, dict): + return {key: _canonical(item) for key, item in value.items()} + if isinstance(value, (tuple, list)): + return [_canonical(item) for item in value] + return 0.0 if type(value) is float and value == 0 else value + + +def _phase(name: str, light: str, duration: float, source: str | None = None, suns: float | None = None) -> dict[str, Any]: + return dict(phase=name, condition=light, duration_s=duration, intensity_suns=suns, + photon_flux_m2_s=None, relative_generation_change=None, source_reference=source) + + +def _settle(duration: float | None) -> dict[str, Any]: + return dict(kind="not_applicable" if duration is None else "finite_time", duration_s=duration, + max_carrier_area_rate_A_m2=None, max_ion_area_rate_A_m2=None, + max_ionic_face_current_A_m2=None, max_face_current_spread_A_m2=None) + + +def _expected_protocol(values: dict[str, Any], temperature: float, waveform: dict[str, Any] | None, + soak_s: float) -> dict[str, Any] | None: + maximum = values["V_max"] + if maximum is None: + return None + count = values["n_points"] + # This is a bounded metadata expansion, not an executor point limit. + if count > 8192: + _fail(("experiment", "n_points"), "preview expansion is limited to 8192 declared samples per branch; no trajectory was started", count) + start = 0.0 if waveform is None else waveform["start_voltage_V"] + forward = np.linspace(start, maximum, count).tolist() + scan_s = abs(maximum - start) / values["v_rate"] + if not math.isfinite(scan_s): + _fail(("experiment", "v_rate"), "declared scan duration is not finite", values["v_rate"]) + illuminated = values["illuminated"] + if waveform is not None: + rate = waveform["uniform_generation_rate_m3_s"] + source = "device_optics" if rate is None else f"uniform_absorber_G_m3_s:{rate:.17g}" + light = "baseline" if illuminated else "dark" + history = [ + _phase("dark_seed_at_0V", "dark", waveform["dark_seed_s"]), + _phase("dark_prebias_at_scan_start", "dark", waveform["dark_prep_s"]), + _phase("forward_start_dwell", light, waveform["branch_dwell_s"], source), + _phase("forward_continuous_ramp", light, scan_s, source), + _phase("turnaround_at_scan_stop", "dark" if waveform["turnaround_dark"] else light, waveform["turnaround_s"], source), + _phase("reverse_start_dwell", light, waveform["branch_dwell_s"], source), + _phase("reverse_continuous_ramp", light, scan_s, source), + ] + state, bias, soak, dwell = "finite_time_dc_preconditioned", start, waveform["dark_prep_s"], waveform["branch_dwell_s"] + settle, mode, implicit = _settle(soak if soak else None), "piecewise_linear", False + reverse = list(reversed(forward)) + else: + dwell = abs(maximum) / (values["v_rate"] * (count - 1)) + reverse = np.linspace(maximum, 0.0, count).tolist() + if illuminated: + state, bias, soak = "finite_time_illuminated_preconditioned", 0.0, soak_s + history = [_phase("short_circuit_preconditioning", "baseline", soak, "stack_baseline_generation", 1.0), + _phase("forward_reverse_scan", "baseline", 2.0 * count * dwell, "stack_baseline_generation", 1.0)] + settle = _settle(soak) + else: + state, bias, soak = "dark_equilibrium", None, 0.0 + history, settle = [_phase("forward_reverse_scan", "dark", 2.0 * count * dwell)], _settle(None) + mode, implicit = "linear", True + declaration = dict(experiment="jv_hysteresis", initial_state_source=state, pre_bias_V=bias, + soak_duration_s=soak, dwell_duration_s=dwell, illumination_history=history, temperature_K=temperature, + scan=dict(axis="voltage_V", direction="ascending_then_descending", start=start, stop=maximum, rate_V_s=values["v_rate"]), + ac_excitation=None, dc_settle=settle, sampling=dict(axis="voltage_V", mode=mode, values=forward + reverse), + voc_search=None, implicit_legacy_protocol=implicit, schema_version=1) + return _canonical(JVProtocolInput.model_validate(declaration).normalized_data()) + + +def _compare(actual: Any, expected: Any, path: tuple[str | int, ...]) -> None: + if isinstance(actual, dict) and isinstance(expected, dict): + for key in expected: + if key == "implicit_legacy_protocol": + continue + _compare(actual.get(key), expected[key], (*path, key)) + elif isinstance(actual, list) and isinstance(expected, list): + if len(actual) != len(expected): + _fail(path, "supplied protocol array length disagrees with the declared request", actual) + for index, (left, right) in enumerate(zip(actual, expected)): + _compare(left, right, (*path, index)) + elif actual != expected: + _fail(path, "supplied protocol disagrees with the declared J-V history; no reordering or normalization repair is applied", actual) + + +def _resolve(experiment: JVInput | DarkJVInput, defaults: DefaultCatalog, device: dict[str, Any]) -> dict[str, Any]: + section = "dark_jv" if isinstance(experiment, DarkJVInput) else "jv_endpoint" if experiment.request_api == "jv_endpoint" else "jv_jobs" + values = defaults.experiment_defaults_for(section) + origins = {key: f"default_catalog.experiment_defaults.{section}.{key}" for key in values} + declared = experiment.normalized_data() + for key in values: + if key in declared: + values[key], origins[key] = declared[key], f"input.experiment.{key}" + is_jv = isinstance(experiment, JVInput) + if section == "jv_endpoint": + if "illuminated" in declared and declared["illuminated"] is not True: + _fail(("experiment", "illuminated"), "the existing /api/jv endpoint fixes illuminated=True; use the jobs request contract for a dark J-V history", declared["illuminated"]) + values["illuminated"], origins["illuminated"] = True, "existing_run_jv_endpoint_fixed_illumination" + if not is_jv: + values.update(illuminated=False, solver="transient", protocol_mode="compatibility") + origins.update(illuminated="existing_dark_jv_driver", solver="existing_dark_jv_driver", protocol_mode="existing_dark_jv_driver") + waveform = experiment.waveform.normalized_data() if is_jv and experiment.waveform is not None else None + supplied = experiment.experiment_protocol if is_jv else None + if is_jv and experiment.waveform_controls is not None and waveform is None: + _fail(("experiment", "waveform_controls"), "waveform_controls requires an explicit waveform", experiment.waveform_controls.editing_data()) + if waveform is not None: + for key, required in (("solver", "transient"), ("iface_states", False), ("interface_boundary", False)): + if values[key] != required: + _fail(("experiment", key), "continuous waveform requires the transient driver without algebraic interface options", values[key]) + maximum = values["V_max"] + if not isinstance(maximum, (int, float)) or maximum <= 0: + _fail(("experiment", "V_max"), "continuous waveform requires an explicit positive V_max", values["V_max"]) + if waveform["uniform_generation_rate_m3_s"] is not None and not any(layer["role"] == "absorber" for layer in device["layers"]): + _fail(("experiment", "waveform", "uniform_generation_rate_m3_s"), "uniform generation requires a supplied absorber layer", waveform["uniform_generation_rate_m3_s"]) + if device["settings"]["interface_charge_closure"] != "off": + _fail(("device", "settings", "interface_charge_closure"), "charged-interface J-V requires its dedicated protocol and qualified binding, outside this preparation route", device["settings"]["interface_charge_closure"]) + if device["settings"]["jv_solver_policy"] == "cancellation_safe_qf_required" and values["solver"] != "quasi_fermi": + _fail(("experiment", "solver"), "the supplied device requires the quasi_fermi driver; no substitution is made", values["solver"]) + if is_jv and waveform is None: + if values["interface_boundary"] and values["solver"] != "quasi_fermi": + _fail(("experiment", "interface_boundary"), "interface_boundary requires quasi_fermi", True) + if not values["interface_boundary"] and values["interface_transport_model"] != "fermi_richardson": + _fail(("experiment", "interface_transport_model"), "interface transport choice requires interface_boundary=True", values["interface_transport_model"]) + transient = values["solver"] == "transient" + if not transient and (supplied is not None or values["protocol_mode"] != "compatibility"): + _fail(("experiment", "experiment_protocol"), "this physical-history protocol belongs to the transient branch, not a steady-state curve", None if supplied is None else supplied.editing_data()) + if waveform is not None: + numeric = experiment.waveform_controls.normalized_data() if is_jv and experiment.waveform_controls is not None else defaults.experiment_defaults_for("jv_waveform_controls") + numeric_origin = "input.experiment.waveform_controls" if is_jv and experiment.waveform_controls is not None else "default_catalog.experiment_defaults.jv_waveform_controls" + elif transient: + key = "jv_numerical" if is_jv else "dark_jv_numerical" + numeric, numeric_origin = defaults.experiment_defaults_for(key), f"default_catalog.experiment_defaults.{key}" + else: + numeric, numeric_origin = None, "separate_steady_driver_controls_not_prepared" + soak = defaults.experiment_defaults_for("jv_history")["illuminated_soak_s"] + assert isinstance(soak, (int, float)) # The catalog validates JVHistoryDefaults. + expected = _expected_protocol(values, device["settings"]["T"], waveform, soak) if transient else None + protocol = _canonical(supplied.normalized_data()) if supplied is not None else expected + if supplied is not None and expected is not None: + _compare(protocol, expected, ("experiment", "experiment_protocol")) + if values["protocol_mode"] == "research_strict" and (protocol is None or protocol["implicit_legacy_protocol"]): + _fail(("experiment", "experiment_protocol"), "research_strict requires an explicit history; no state is created by declaration", None if supplied is None else supplied.editing_data()) + return dict(kind=experiment.kind, request_api=section, controls=values, field_origins=origins, + waveform=waveform, numerical_controls=numeric, numerical_controls_origin=numeric_origin, + history_kind="continuous_forward_reverse" if waveform is not None else "staircase_forward_reverse" if transient else "single_steady_curve", + state_history=dict(required=transient, generated=False, continuation="one_state_through_forward_turnaround_reverse" if transient else "separate_steady_driver", + initial_state="not_created", reset_between_branches=False if transient else None), + protocol=dict(status="declared_history" if expected is not None else "pending_operating_contact_potential" if transient else "separate_steady_driver_declaration", + declaration=protocol, declaration_sha256=hashlib.sha256(_bytes(protocol)).hexdigest() if protocol is not None else None, + request_history_compared=supplied is not None and expected is not None, + execution_bound=False, executor_id=None), + mesh=dict(requested_N_grid=values["N_grid"], actual_nodes=None, generated=False, retained_electrical_grid=device["electrical_grid"]), + legacy_result_scope="forward_curve_and_diode_fit_only_from_transient_dark_sweep" if not is_jv else "forward_reverse_history" if transient else "forward_equals_reverse_DC_wrapper", + pending=["qualified_material_and_initial_state_binding", "actual_mesh_and_numerical_admission", "execution_identity_and_executor_unavailable"], + compatibility=["jv_jobs_and_jv_endpoint_defaults_are_distinct", "dark_jv_does_not_accept_waveforms_or_illumination_overrides", + "null_or_omitted_jv_V_max_requires_operating_contact_potential_not_evaluated_here", + "waveform_complete_input_defines_history_even_without_a_duplicate_experiment_protocol", + "unknown_server_fields_reject_instead_of_legacy_params_silent_ignore", + "declarations_do_not_reproduce_historical_currents_or_hysteresis_metrics"]) + + +@dataclass(frozen=True, slots=True) +class PreparedJVExperiment: + input_json: bytes + defaults: DefaultCatalog + resources: ResourceLibrary + sources: tuple[SourceDocument, ...] = () + can_execute: bool = field(default=False, init=False) + _resolved_json: bytes = field(init=False, repr=False) + + def __post_init__(self) -> None: + if type(self.input_json) is not bytes or not self.input_json or len(self.input_json) > 2**23: + raise ValueError("J-V declaration requires bounded immutable JSON bytes") + model = JVExperimentInput.model_validate(_document(self.input_json)) + sources = tuple(self.sources) + device = resolve_device(model.device, self.defaults, self.resources, sources=sources) + data = device.to_mapping() + result = dict(schema="solarlab.resolved-jv-experiment-preparation.v1", id=model.id, + status="prepared_pending_dependencies", can_execute=False, device=data, + experiment=_resolve(model.experiment, self.defaults, data), + identity=dict(scope="experiment_declaration_content", execution_identity=None, + device_content_sha256=device.content_sha256, default_catalog_sha256=self.defaults.content_sha256, + resource_library_sha256=self.resources.content_sha256, default_source_bindings=[list(pair) for pair in self.defaults.evidence], + input_source_bindings=[dict(id=source.id, sha256=source.sha256) for source in sources]), + capability_gaps=[*data["capability_gaps"], "one_dimensional_experiment_execution_binding_not_prepared", + "initial_state_history_not_generated", "qualified_executor_not_registered"]) + object.__setattr__(self, "sources", sources) + object.__setattr__(self, "input_json", _bytes(model.model_dump(mode="json", exclude_unset=True))) + object.__setattr__(self, "_resolved_json", _bytes(result)) + + def to_input(self) -> JVExperimentInput: + return JVExperimentInput.model_validate(_document(self.input_json)) + + def to_mapping(self) -> dict[str, Any]: + return json.loads(self._resolved_json) + + @property + def content_sha256(self) -> str: + return hashlib.sha256(_bytes([_document(self.input_json), self.to_mapping()])).hexdigest() + + def execution_documents(self) -> tuple[SourceDocument, SourceDocument]: + """The actual complete J-V declaration and controls, without a state.""" + resolved = self.to_mapping()["experiment"] + if resolved["protocol"]["status"] != "declared_history" or resolved["numerical_controls"] is None: + raise ValueError("a complete transient J-V protocol and numerical controls are required") + protocol = SourceDocument("solarlab.jv-execution-protocol.v1", _bytes({ + "schema": "solarlab.jv-execution-protocol.v1", + "input": self.to_input().experiment.editing_data(), "resolved": resolved, + })) + controls = SourceDocument("solarlab.jv-execution-controls.v1", _bytes({ + "schema": "solarlab.jv-execution-controls.v1", "controls": resolved["numerical_controls"], + "mesh_request": resolved["mesh"], + })) + return protocol, controls + + def verify_manifest( + self, manifest: ExecutionManifest, inputs: IdentityInputs, execution: ExecutionDescription, *, + engine: ExecutionEngine, environment: RuntimeEnvironment, expected_sha256: str, + ) -> Identity: + device = resolve_device(self.to_input().device, self.defaults, self.resources, sources=self.sources) + if inputs.prepared.content_sha256 != device.content_sha256: + raise ValueError("manifest identity inputs belong to a different J-V device") + if (execution.protocol, execution.numeric_controls) != self.execution_documents(): + raise ValueError("manifest request differs from the complete actual J-V protocol/controls") + return verify_execution_manifest(manifest, inputs, execution, engine=engine, + environment=environment, expected_sha256=expected_sha256) + + +def prepare_jv_experiment(input: JVExperimentInput, defaults: DefaultCatalog, resources: ResourceLibrary, + *, sources: tuple[SourceDocument, ...] = ()) -> PreparedJVExperiment: + model = JVExperimentInput.model_validate(input) + return PreparedJVExperiment(_bytes(model.model_dump(mode="json", exclude_unset=True)), defaults, resources, sources) + + +def consume_jv_manifest( + input: JVExperimentInput, defaults: DefaultCatalog, resources: ResourceLibrary, *, + manifest: ExecutionManifest, inputs: IdentityInputs, execution: ExecutionDescription, + engine: ExecutionEngine, environment: RuntimeEnvironment, expected_sha256: str, + sources: tuple[SourceDocument, ...] = (), +) -> PreparedJVExperiment: + """Reprepare the real request and verify its manifest before any executor.""" + prepared = prepare_jv_experiment(input, defaults, resources, sources=sources) + prepared.verify_manifest(manifest, inputs, execution, engine=engine, + environment=environment, expected_sha256=expected_sha256) + return prepared diff --git a/src/solarlab/experiments/jv/steady.py b/src/solarlab/experiments/jv/steady.py new file mode 100644 index 00000000..0bb68707 --- /dev/null +++ b/src/solarlab/experiments/jv/steady.py @@ -0,0 +1,237 @@ +"""Steady J-V experiments executed by the new 1D core. + +Each requested voltage is independently residual/current certified by the +steady solver, with the preceding state used only as an initial guess. This +protocol has no scan-rate or hysteresis interpretation. Extracted metrics use +piecewise-linear interpolation and do not certify voltage-grid convergence. +""" + +from __future__ import annotations + +from dataclasses import asdict, dataclass +from typing import TYPE_CHECKING, Any + +import numpy as np +from numpy.typing import ArrayLike, NDArray + +if TYPE_CHECKING: + from solarlab.equations import CompiledDevice1D + from solarlab.io.artifacts import ArtifactPayload + from solarlab.io.run_store import AttemptToken, RunStore + from solarlab.solvers.nonlinear.steady_1d import SteadyOptions, SteadyState1D + + +def _vector(value: ArrayLike) -> NDArray[np.float64]: + result = np.array(value, dtype=float, copy=True) + if result.ndim != 1 or result.size < 2 or not np.all(np.isfinite(result)): + raise ValueError("J-V coordinates require at least two finite values") + result.setflags(write=False) + return result + + +@dataclass(frozen=True) +class SteadyJVMetrics: + """Missing brackets remain None; FF and efficiency are fractions.""" + + short_circuit_current_A_m2: float | None + open_circuit_voltage_V: float | None + maximum_power_W_m2: float | None + fill_factor: float | None + efficiency: float | None + limitation: str + + +def steady_jv_metrics( + voltage_V: ArrayLike, output_current_A_m2: ArrayLike, + *, incident_power_W_m2: float | None = None, +) -> SteadyJVMetrics: + """Metrics for output-positive current, without inventing a missing V_oc.""" + voltage, current = _vector(voltage_V), _vector(output_current_A_m2) + if current.shape != voltage.shape or np.unique(voltage).size != voltage.size: + raise ValueError("J-V arrays must have matching shapes and unique voltages") + if incident_power_W_m2 is not None and ( + not np.isfinite(incident_power_W_m2) or incident_power_W_m2 <= 0.0 + ): + raise ValueError("incident power must be finite and positive") + order = np.argsort(voltage) + voltage, current = voltage[order], current[order] + if not voltage[0] <= 0.0 <= voltage[-1]: + return SteadyJVMetrics(None, None, None, None, None, "zero_voltage_not_bracketed") + jsc = float(np.interp(0.0, voltage, current)) + if jsc <= 0.0: + return SteadyJVMetrics(jsc, None, None, None, None, "no_positive_short_circuit_output") + positive = voltage > 0.0 + v = np.r_[0.0, voltage[positive]] + j = np.r_[jsc, current[positive]] + crossings = np.flatnonzero(j <= 0.0) + if crossings.size == 0: + return SteadyJVMetrics(jsc, None, None, None, None, "open_circuit_not_bracketed") + end = int(crossings[0]) + voc = float(v[end - 1] + j[end - 1] * (v[end] - v[end - 1]) / (j[end - 1] - j[end])) + v, j = np.r_[v[:end], voc], np.r_[j[:end], 0.0] + maximum = float(np.max(v * j)) + for left in range(v.size - 1): + slope = (j[left + 1] - j[left]) / (v[left + 1] - v[left]) + intercept = j[left] - slope * v[left] + if slope < 0.0: + peak = -intercept / (2.0 * slope) + if v[left] < peak < v[left + 1]: + maximum = max(maximum, float(peak * (intercept + slope * peak))) + return SteadyJVMetrics(jsc, voc, maximum, maximum / (jsc * voc), + None if incident_power_W_m2 is None else maximum / incident_power_W_m2, + "piecewise_linear_voltage_grid; mesh_and_grid_convergence_not_certified") + + +@dataclass(frozen=True) +class SteadyJVResult: + voltage_V: NDArray[np.float64] + current_density_A_m2: NDArray[np.float64] + output_current_A_m2: NDArray[np.float64] + solutions: tuple[SteadyState1D, ...] + metrics: SteadyJVMetrics + generation_scale: float + incident_power_W_m2: float | None + voltage_polarity: float + compiled_identity: str + nodes_m: NDArray[np.float64] + solver_controls: dict[str, Any] + + +def run_steady_jv( + compiled: CompiledDevice1D, voltage_V: ArrayLike, *, + generation_scale: float = 1.0, incident_power_W_m2: float | None = None, + options: SteadyOptions | None = None, +) -> SteadyJVResult: + """Run the actual new solver; the first failed point raises its solver error.""" + from solarlab.solvers.nonlinear.steady_1d import SteadyOptions, solve_steady_state + + voltages = _vector(voltage_V) + differences = np.diff(voltages) + if not (np.all(differences > 0.0) or np.all(differences < 0.0)): + raise ValueError("steady J-V voltages must be strictly monotonic") + if not np.isfinite(generation_scale) or generation_scale < 0.0: + raise ValueError("generation scale must be finite and nonnegative") + if incident_power_W_m2 is not None and ( + not np.isfinite(incident_power_W_m2) or incident_power_W_m2 <= 0.0 + ): + raise ValueError("incident power must be finite and positive") + polarity = float(compiled.voltage_polarity) + if polarity not in (-1.0, 1.0): + raise ValueError("compiled device must declare its terminal voltage polarity") + state = None + solutions = [] + controls = SteadyOptions() if options is None else options + for voltage in voltages: + result = solve_steady_state(compiled, initial_state=state, voltage_V=float(voltage), + generation_scale=generation_scale, options=controls) + if not result.converged: + raise RuntimeError(f"uncertified steady-state result at {voltage} V") + solutions.append(result) + state = result.state + currents = np.array([result.current_density_A_m2 for result in solutions], dtype=float) + if currents.ndim != 2 or not np.all(np.isfinite(currents)): + raise ValueError("steady solutions must contain finite all-face currents") + # Keep every face, and report the left terminal rather than averaging away + # a conservation error. The solver's all-face gate must already have passed. + output = -polarity * currents[:, 0] + currents.setflags(write=False) + output.setflags(write=False) + return SteadyJVResult(voltages, currents, output, tuple(solutions), + steady_jv_metrics(voltages, output, incident_power_W_m2=incident_power_W_m2), + generation_scale, incident_power_W_m2, polarity, + compiled.identity, _vector(compiled.nodes_m), asdict(controls)) + + +def steady_jv_payload(result: SteadyJVResult) -> tuple[dict[str, Any], tuple[tuple[str, ArtifactPayload], ...]]: + """Encode the completed curve without claiming or inventing an attempt. + + A supervisor may transfer these named payloads before it publishes them. + Actual artifact IDs and attempt fields belong to the publishing owner. + """ + from solarlab.io.artifacts import array_artifact + + if len(result.solutions) != result.voltage_V.size or any( + not point.converged or point.state.device_sha256 != result.compiled_identity + for point in result.solutions + ): + raise ValueError("every J-V point must be an accepted state of the same compiled device") + arrays = { + "nodes_m": (result.nodes_m, "m"), + "voltage_V": (result.voltage_V, "V"), + "current_density_A_m2": (result.current_density_A_m2, "A/m^2"), + "contact_current_density_A_m2": (np.array([point.contact_current_density_A_m2 for point in result.solutions]), "A/m^2"), + "output_current_A_m2": (result.output_current_A_m2, "A/m^2"), + } + for name, unit in (("potential_V", "V"), ("electron_density_m3", "m^-3"), ("hole_density_m3", "m^-3")): + arrays[name] = (np.array([getattr(point.state, name) for point in result.solutions]), unit) + payloads = tuple((name, array_artifact(array, unit=unit, + metadata={"schema": "solarlab.steady-jv.v1", "engine": "solarlab", + "compiled_identity": result.compiled_identity})) + for name, (array, unit) in arrays.items()) + document = { + "schema": "solarlab.steady-jv.v1", "engine": "solarlab", "outcome": "completed", + "protocol": "steady_voltage_continuation", "voltage_polarity": result.voltage_polarity, + "generation_scale": result.generation_scale, "incident_power_W_m2": result.incident_power_W_m2, + "compiled_identity": result.compiled_identity, "solver_controls": result.solver_controls, + "metrics": asdict(result.metrics), + "solver_evidence": [{"voltage_V": point.voltage_V, "accepted": point.newton.accepted, + "termination": point.newton.termination.value, + "scaled_residual": point.newton.scaled_residual, + "iterations": point.newton.iteration_count, + "preparation_iterations": [step.iteration_count for step in point.preparation], + "density_basin_initializations": point.density_basin_initializations, + "density_basin_stages": [ + {"voltage_V": voltage, "generation_scale": generation} + for voltage, generation in point.density_basin_stages + ], + "gates": [asdict(gate) for gate in point.newton.gates]} + for point in result.solutions], + "qualification": "run_completed; final_scientific_acceptance_not_established", + } + return document, payloads + + +def publish_steady_jv(store: RunStore, token: AttemptToken, result: SteadyJVResult) -> dict[str, Any]: + """Publish the same lossless payload to an already claimed RunStore attempt.""" + document, payloads = steady_jv_payload(result) + records = {name: store.publish(token, name, payload) for name, payload in payloads} + return {**document, "run_id": token.run_id, "attempt_id": token.attempt_id, + "generation": token.generation, + "arrays": {name: record["artifact_id"] for name, record in records.items()}, + "artifact_ids": [record["artifact_id"] for record in records.values()]} + + +def read_steady_jv(store: RunStore, document: dict[str, Any]) -> dict[str, NDArray[np.float64]]: + """Read through RunStore integrity verification, with no solver invocation.""" + if (document.get("schema") != "solarlab.steady-jv.v1" or document.get("engine") != "solarlab" + or document.get("outcome") != "completed"): + raise ValueError("expected a new-core steady J-V result") + units = {"nodes_m": "m", "voltage_V": "V", "current_density_A_m2": "A/m^2", "output_current_A_m2": "A/m^2", + "contact_current_density_A_m2": "A/m^2", + "potential_V": "V", "electron_density_m3": "m^-3", "hole_density_m3": "m^-3"} + if set(document.get("arrays", {})) != set(units): + raise ValueError("incomplete steady J-V array set") + values = {} + for name, unit in units.items(): + identifier = document["arrays"][name] + record = store.artifact(identifier) + if record["name"] != name or any(record[key] != document.get(key) + for key in ("run_id", "attempt_id", "generation")): + raise ValueError("artifact role or originating attempt does not match the result") + if record["metadata"].get("unit") != unit: + raise ValueError(f"unexpected unit for {name}") + if record["metadata"].get("compiled_identity") != document.get("compiled_identity"): + raise ValueError("array belongs to a different compiled device") + values[name] = store.read_array(identifier) + count = values["voltage_V"].size + if values["voltage_V"].shape != (count,) or values["output_current_A_m2"].shape != (count,): + raise ValueError("voltage and output current must each be a vector") + if any(value.shape[0] != count for name, value in values.items() if name != "nodes_m"): + raise ValueError("steady J-V arrays have inconsistent point counts") + nodes = values["nodes_m"].size + if (values["nodes_m"].shape != (nodes,) or values["contact_current_density_A_m2"].shape != (count, 2) + or values["current_density_A_m2"].shape != (count, nodes - 1)) or any( + values[name].shape != (count, nodes) for name in ("potential_V", "electron_density_m3", "hole_density_m3") + ): + raise ValueError("steady J-V fields do not share the saved node grid") + return values diff --git a/src/solarlab/experiments/jv/steady_2d.py b/src/solarlab/experiments/jv/steady_2d.py new file mode 100644 index 00000000..9923b5c3 --- /dev/null +++ b/src/solarlab/experiments/jv/steady_2d.py @@ -0,0 +1,798 @@ +"""Accepted-only steady voltage continuation of connected classical2D models. + +Every voltage invokes the existing full2D Newton once. Seeds are rebased +accepted2D states; failed states, independent-column solves and retries are +never used. Sampled PV metrics retain the existing interpolation limitations. +""" + +from __future__ import annotations + +from solarlab.reproducibility.job_provenance import ( + JobProvenance, admitted_source_pins, current_provenance, job_provenance, result_provenance, +) + +from dataclasses import asdict, dataclass, field, replace +from collections.abc import Callable +import hashlib +import json +import math +import os +from pathlib import Path +import time +from typing import Any + +import numpy as np +from numpy.typing import ArrayLike + +from solarlab.device.grain_2d import GRAIN_SRH_2D_V1, GrainRecombination2D +from solarlab.equations.assembly.two_dimensional import AssembledDC2DProblem +from solarlab.equations.dc_2d import CompiledDevice2D, DC2DProblem, State2D +from solarlab.equations.implementation import provenance_binding, use_assembled +from solarlab.experiments.jv.steady import SteadyJVMetrics, steady_jv_metrics +from solarlab.experiments.transient_results import _decode, _encode +from solarlab.experiments.worker import _atomic_json +from solarlab.io.artifacts import bytes_artifact +from solarlab.solvers.nonlinear.problem import GateOutcome, state_digest +from solarlab.solvers.nonlinear.steady_2d import ( + Steady2DOptions, Steady2DResult, checks as steady_checks, diagnostics as steady_diagnostics, scope as steady_scope, + solve_steady_state_2d, +) + +__all__ = ["SteadyJV2DOptions", "SteadyJV2DInitial", "SteadyJV2DAttempt", "SteadyJV2DResult", + "load_steady_jv_2d_initial", "run_steady_jv_2d", "write_steady_jv_2d", "read_steady_jv_2d", + "read_steady_jv_2d_checkpoint", "admit_steady_jv_2d_checkpoint", "continue_steady_jv_2d"] +LEGACY_SCHEMA = "solarlab.steady_jv_2d.v1" +SCHEMA = "solarlab.steady_jv_2d.v2" + + +@dataclass(frozen=True) +class SteadyJV2DOptions: + steady: Steady2DOptions = field(default_factory=Steady2DOptions) + max_points: int = 51 + wall_s: float = 30.0 + + def __post_init__(self) -> None: + if not isinstance(self.steady, Steady2DOptions): + raise ValueError("existing Steady2DOptions are required") + if type(self.max_points) is not int or self.max_points < 1: + raise ValueError("max_points must be a positive integer") + if not math.isfinite(self.wall_s) or self.wall_s <= 0.0: + raise ValueError("wave wall budget must be finite and positive") + + +@dataclass(frozen=True) +class SteadyJV2DInitial: + state: State2D + generation_scale: float + source_path: str + source_sha256: str + evidence_json: str + + +@dataclass(frozen=True) +class SteadyJV2DAttempt: + index: int + voltage_V: float + accepted: bool + termination: str + initial_guess: State2D | None + seed_provenance: dict[str, Any] + solution: Steady2DResult | None + solver_called: bool + wall_s: float + error: str | None = None + + +@dataclass(frozen=True) +class SteadyJV2DResult: + requested_voltage_V: np.ndarray + voltage_V: np.ndarray + output_current_A_m2: np.ndarray + terminal_current_per_depth_A_m: np.ndarray + attempts: tuple[SteadyJV2DAttempt, ...] + metrics: SteadyJVMetrics + generation_scale: float + incident_power_W_m2: float | None + voltage_polarity: float + lateral_width_m: float + initial_provenance: dict[str, Any] + compiled_identity: str + geometry: dict[str, Any] + solver_controls: dict[str, Any] + source_sha256: dict[str, str] + solver_calls: int + wall_s: float + physical_certificate_status: str = "not_evaluated" + + job_provenance: dict[str, Any] | None = field(default_factory=current_provenance) + + def __post_init__(self) -> None: + for name in ("requested_voltage_V", "voltage_V", "output_current_A_m2", "terminal_current_per_depth_A_m"): + array = np.array(getattr(self, name), dtype=float, copy=True) + array.setflags(write=False) + object.__setattr__(self, name, array) + + @property + def completed(self) -> bool: + return len(self.attempts) == self.requested_voltage_V.size and all(item.accepted for item in self.attempts) + + @property + def unattempted_voltage_V(self) -> np.ndarray: + return self.requested_voltage_V[len(self.attempts):] + + +def _problem(device: CompiledDevice2D, voltage_V: float, generation_scale: float) -> DC2DProblem | AssembledDC2DProblem: + """The selected 2D problem for admission and point checks (equations.implementation).""" + if use_assembled(): + return AssembledDC2DProblem(device, voltage_V, generation_scale) + return DC2DProblem(device, voltage_V, generation_scale) + + +def _scope(device: CompiledDevice2D) -> None: + steady_scope(device) + if device.field_transport is not None: + raise ValueError("unsupported_field_transport_2d_jv: CT source binding is not admitted for 2D J-V") + grain = getattr(device, "grain_recombination", None) + if grain is not None and (not isinstance(grain, GrainRecombination2D) or not grain.regions + or grain.geometry_sha256 != device.geometry.sha256 + or not grain.model_id.startswith(GRAIN_SRH_2D_V1 + ":")): + raise ValueError("steady2D J-V requires the declared neutral grain-region model") + + +def _grain_model(device: CompiledDevice2D) -> dict[str, Any] | None: + """Record the existing exact compiled binding; introduce no grain law.""" + grain = getattr(device, "grain_recombination", None) + if grain is None: + return None + _scope(device) + names = ("solarlab.device.grain_2d", "solarlab.device.compile_2d", "solarlab.equations.dc_2d", + "solarlab.physics.recombination.bulk", "solarlab.mesh.grid") + sources = {name: pin for name, pin in admitted_source_pins().items() if name in names} + return {"model_id": grain.model_id, "geometry_sha256": grain.geometry_sha256, + "effective_origin": grain.effective_origin, + "regions": [{"declaration": r.declaration.normalized_data(), "x_overlap_fraction": r.x_overlap_fraction, + "y_mask": r.y_mask, "fractions": r.fractions.reshape(device.geometry.shape), + "represented_width_m": r.represented_width_m, "represented_height_m": r.represented_height_m, + "represented_area_m2": r.represented_area_m2} for r in grain.regions], + "rule": "R_total += f * (R_grain_SRH - R_bulk_SRH); exact density partials use the same f", + "no_grain_charge_or_extra_state": True, + "source_sha256": sources} + + +def _read_grain_model(geometry: dict[str, Any]) -> None: + """Verify the saved exact binding, without compiling or solving.""" + model = geometry.get("grain_model") + if model is None: + return + if (model["geometry_sha256"] != geometry["identity"] or not model["regions"] + or model["no_grain_charge_or_extra_state"] is not True): + raise ValueError("saved neutral grain2D model/geometry identity changed") + digest = hashlib.sha256(json.dumps((GRAIN_SRH_2D_V1, model["geometry_sha256"], model["effective_origin"], + [r["declaration"] for r in model["regions"]]), sort_keys=True, separators=(",", ":"), allow_nan=False).encode()) + for region in model["regions"]: + f = np.asarray(region["fractions"]) + expected = np.asarray(region["y_mask"])[:, None] * np.asarray(region["x_overlap_fraction"])[None, :] + if (f.shape != tuple(geometry["shape_Ny_Nx"]) or not np.array_equal(f, expected) + or not np.all(np.isfinite(f)) or np.any(f < 0) or np.any(f > 1) + or float(f.ravel() @ np.asarray(geometry["cell_areas_m2"]).ravel()) != region["represented_area_m2"]): + raise ValueError("saved neutral grain2D physical fraction/area changed") + digest.update(f.ravel().astype(" State2D: + if not isinstance(state, State2D) or state.device_sha256 != device.identity: + raise ValueError("continuation requires a complete same-device2D state") + expected = device.state(state.u, voltage_V=state.voltage_V) + if any(not np.array_equal(getattr(state, name), getattr(expected, name)) + for name in ("potential_V", "electron_density_m3", "hole_density_m3")): + raise ValueError("2D physical fields disagree with their bound coordinates") + return expected + + +def _admit(device: CompiledDevice2D, text: str, sha256: str, + options: Steady2DOptions) -> tuple[State2D, float, tuple[GateOutcome, ...]]: + _scope(device) + if hashlib.sha256(text.encode()).hexdigest() != sha256: + raise ValueError("accepted initial artifact SHA-256 mismatch") + try: + document = _decode(json.loads(text)) + if document["completed"] is not True: + raise ValueError("an actually completed accepted2D steady artifact is required") + if document["schema"] == "solarlab.classical_2d_steady.research.v1": + if getattr(device, "grain_recombination", None) is not None: + raise ValueError("a declared grain model requires its explicit grain initial artifact") + attempt = document["attempts"][-1] + result = attempt["result_2d"] + elif document["schema"] == "solarlab.neutral_grain_2d.research.v1": + model = _grain_model(device) + if (model is None or document["mode"] != "steady" or document["accepted"] is not True + or document["error"] is not None or document["full_2d_newton_calls"] != 1): + raise ValueError("initial artifact requires actual accepted neutral grain2D Newton evidence") + binding = document["grain_binding"] + result_provenance(document) + result_provenance(document["result_2d"]) + if any(document["source_sha256"].get(name, pin) != pin + for name, pin in document["result_2d"]["source_sha256"].items()): + raise ValueError("saved grain initial source records contradict each other") + for name in ("model_id", "geometry_sha256", "effective_origin"): + if binding[name] != model[name]: + raise ValueError("initial physical grain declaration/model differs from the compiled device") + if len(binding["regions"]) != len(model["regions"]): + raise ValueError("initial physical grain region inventory differs") + for saved_region, expected_region in zip(binding["regions"], model["regions"]): + for name, expected in expected_region.items(): + if not np.array_equal(saved_region[name], expected): + raise ValueError("initial physical grain declaration/fraction differs: " + name) + attempt, result = {"accepted": document["accepted"]}, document["result_2d"] + else: + raise ValueError("an actually completed accepted2D steady artifact is required") + if (attempt["accepted"] is not True or result["accepted"] is not True + or result["newton"]["accepted"] is not True or result["termination"] != "converged" + or result["compiled_identity"] != device.identity or document["compiled_identity"] != device.identity + or result["solver_controls"]["numerical"]["electronic"] != asdict(options.electronic) + or not result["checks"] or not all(item["passed"] is True for item in result["checks"])): + raise ValueError("initial2D acceptance, model or physical controls disagree") + saved = result["state"] + voltage, generation = float(result["operating_voltage_V"]), float(result["generation_scale"]) + if not math.isfinite(generation) or generation < 0.0: + raise ValueError("initial generation must be explicit finite nonnegative") + state = device.state(saved["u"], voltage_V=voltage) + if (saved["device_sha256"] != device.identity or saved["voltage_V"] != voltage + or not np.array_equal(result["newton"]["state"], state.u) + or not np.array_equal(result["candidate_coordinates"], state.u) + or any(not np.array_equal(saved[name], getattr(state, name)) + for name in ("potential_V", "electron_density_m3", "hole_density_m3"))): + raise ValueError("initial accepted2D fields/coordinates are inconsistent") + checks = steady_checks(steady_diagnostics(_problem(device, voltage, generation), state.u, options), options) + if ({item.name: item.limit for item in checks} != {item["name"]: item["limit"] for item in result["checks"]} + or not all(item.passed for item in checks)): + raise ValueError("initial2D state fails current full original-gate admission") + except (KeyError, TypeError, AttributeError, IndexError) as exc: + raise ValueError("incomplete accepted2D initial evidence") from exc + return state, generation, checks + + +def load_steady_jv_2d_initial(device: CompiledDevice2D, path: str | Path, sha256: str, + *, options: Steady2DOptions | None = None) -> SteadyJV2DInitial: + controls = Steady2DOptions() if options is None else options + source = Path(path) + text = source.read_text() + state, generation, _ = _admit(device, text, sha256, controls) + return SteadyJV2DInitial(state, generation, str(source.resolve()), sha256, text) + + +def _rebase(device: CompiledDevice2D, state: State2D, voltage: float) -> State2D: + _state(device, state) + if state.voltage_V == voltage: + return state + values, N = state.u.copy(), device.node_count + before, after = device.column.carrier_reference_energies(state.voltage_V), device.column.carrier_reference_energies(voltage) + for offset, old, new in zip((N, 2 * N), before, after): + values[offset:offset + N] += (old - new) / device.thermal_voltage_V + return device.state(values, voltage_V=voltage) + + +def _voltages(value: ArrayLike, maximum: int) -> np.ndarray: + raw = np.asarray(value) + if np.iscomplexobj(raw): + raise ValueError("2D J-V voltages must be real") + result = np.asarray(raw, dtype=float) + if (result.ndim != 1 or not 1 <= result.size <= maximum or not np.all(np.isfinite(result)) + or (result.size > 1 and not (np.all(np.diff(result) > 0) or np.all(np.diff(result) < 0)))): + raise ValueError("requested2D voltages must be a bounded strictly monotonic finite vector") + return result.copy() + + + + +def _metrics(voltage: np.ndarray, current: np.ndarray, incident: float | None) -> SteadyJVMetrics: + if voltage.size < 2: + return SteadyJVMetrics(None, None, None, None, None, "insufficient_accepted_points") + return steady_jv_metrics(voltage, current, incident_power_W_m2=incident) + + +def _checkpoint_write(path: Path, value: dict[str, Any], *, exclusive: bool = False) -> str: + if exclusive and path.exists(): + raise FileExistsError("preserve the existing2D point checkpoint") + _atomic_json(path, _encode(value)) + return hashlib.sha256(path.read_bytes()).hexdigest() + + +def _checkpoint_artifact(path: Path, raw: bytes) -> str: + """Scoped immutable large input/point artifact; metadata limits stay intact.""" + if len(raw) > 32 * 2**20: + raise ValueError("scoped2D checkpoint payload exceeds32MiB") + payload = bytes_artifact(raw, metadata={"role": "steady2d_jv_checkpoint_payload", "unit": "raw lossless JSON bytes"}) + if path.exists(): + raise FileExistsError("preserve immutable2D checkpoint artifact") + partial = path.with_suffix(path.suffix + ".part") + fd = os.open(partial, os.O_CREAT | os.O_EXCL | os.O_WRONLY | os.O_NOFOLLOW, 0o600) + with os.fdopen(fd, "wb") as stream: + stream.write(payload.data) + stream.flush() + os.fsync(stream.fileno()) + os.replace(partial, path) + directory = os.open(path.parent, os.O_RDONLY | os.O_DIRECTORY) + try: + os.fsync(directory) + finally: + os.close(directory) + return payload.sha256 + + +def read_steady_jv_2d_checkpoint(directory: str | Path, manifest_sha256: str) -> dict[str, Any]: + """Read immutable point records and an interrupted active marker, no solve.""" + root = Path(directory) + raw = (root / "Manifest.json").read_bytes() + if hashlib.sha256(raw).hexdigest() != manifest_sha256: + raise ValueError("2D checkpoint manifest SHA-256 mismatch") + manifest = _decode(json.loads(raw)) + def read_bound(name: str, sha: str) -> Any: + if name not in {"Request.json", "Active.json"} and not ( + name.startswith("Points/") and len(name.split("/")) == 2 and name.endswith(".json")): + raise ValueError("invalid scoped2D checkpoint member") + data = (root / name).read_bytes() + if hashlib.sha256(data).hexdigest() != sha: + raise ValueError("2D checkpoint member SHA-256 mismatch") + return _decode(json.loads(data)) + request = read_bound("Request.json", manifest["request_sha256"]) + result_provenance(request) + initial = request["initial_evidence_artifact"] + if initial["path"] != "Initial.json" or initial["sha256"] != request["initial_source_sha256"]: + raise ValueError("initial2D checkpoint artifact descriptor changed") + initial_raw = (root / "Initial.json").read_bytes() + if len(initial_raw) != initial["nbytes"] or hashlib.sha256(initial_raw).hexdigest() != initial["sha256"]: + raise ValueError("initial2D checkpoint artifact SHA-256/size mismatch") + requested = _voltages(request["requested_voltage_V"], request["controls"]["max_points"]) + if len(manifest["points"]) > requested.size: + raise ValueError("2D checkpoint points exceed the bounded request") + attempts = [] + for index, item in enumerate(manifest["points"]): + point = read_bound(item["path"], item["sha256"]) + attempt = point["attempt"] + if (point["request_sha256"] != manifest["request_sha256"] or attempt["index"] != index + or attempt["voltage_V"] != requested[index]): + raise ValueError("2D durable point does not match its request/prefix") + if not attempt["accepted"] and index != len(manifest["points"]) - 1: + raise ValueError("failure-state2D continuation cannot be resumed") + attempts.append(attempt) + active = None if manifest["active"] is None else read_bound("Active.json", manifest["active"]) + if manifest["finished"] and active is not None: + raise ValueError("a finished2D checkpoint cannot contain an unresolved active point") + if active is not None and (type(active["index"]) is not int or not 0 <= active["index"] < requested.size + or active["request_sha256"] != manifest["request_sha256"] + or active["voltage_V"] != requested[active["index"]]): + raise ValueError("active2D point does not match its exact requested index/voltage") + if active is not None and active["index"] < len(attempts): + active = None # A completed immutable record wins over a stale active marker. + if active is not None and active["index"] != len(attempts): + raise ValueError("interrupted2D point must follow the exact complete prefix") + next_index = len(attempts) + if active is not None: + next_index = active["index"] + unattempted_index = len(attempts) if active is None else active["index"] + 1 + return {"request": request, "attempts": attempts, "active_point": active, + "active_status": None if active is None else "unresolved_or_interrupted", + "unattempted_voltage_V": request["requested_voltage_V"][unattempted_index:], + "next_index": next_index, "finished": manifest["finished"], + "completed": manifest["finished"] and len(attempts) == len(request["requested_voltage_V"]) + and all(item["accepted"] for item in attempts)} + + +def admit_steady_jv_2d_checkpoint(device: CompiledDevice2D, directory: str | Path, manifest_sha256: str, + *, options: SteadyJV2DOptions | None = None) -> tuple[State2D, int]: + """Validate the last accepted raw state for explicit resume; never retry here.""" + controls = SteadyJV2DOptions() if options is None else options + checkpoint = read_steady_jv_2d_checkpoint(directory, manifest_sha256) + request = checkpoint["request"] + _scope(device) + if "continuation_prefix" in request: + raise ValueError("a wall-tail checkpoint requires the explicit continuation entry; no automatic retry") + if (request["compiled_identity"] != device.identity or request["controls"] != asdict(controls) + ): + raise ValueError("2D checkpoint model/control binding changed") + text = (Path(directory) / request["initial_evidence_artifact"]["path"]).read_text() + state, generation, _ = _admit(device, text, request["initial_source_sha256"], controls.steady) + for attempt in checkpoint["attempts"]: + if not attempt["accepted"]: + raise ValueError("a failed2D point requires explicit recovery; never failure-state seeding") + point = attempt["solution"] + if (point["accepted"] is not True or point["newton"]["accepted"] is not True + or point["compiled_identity"] != device.identity + or point["operating_voltage_V"] != attempt["voltage_V"] + or not np.array_equal(point["state"]["u"], point["newton"]["state"])): + raise ValueError("checkpoint lost actual accepted2D Newton identity") + state = device.state(point["state"]["u"], voltage_V=attempt["voltage_V"]) + if any(not np.array_equal(point["state"][name], getattr(state, name)) + for name in ("potential_V", "electron_density_m3", "hole_density_m3")): + raise ValueError("checkpoint physical fields changed") + if not all(item.passed for item in steady_checks(steady_diagnostics(_problem(device, state.voltage_V, generation), state.u, + controls.steady), controls.steady)): + raise ValueError("checkpoint failed current original2D physical gate admission") + return state, checkpoint["next_index"] + + +def run_steady_jv_2d(device: CompiledDevice2D, initial: SteadyJV2DInitial, voltage_V: ArrayLike, + *, options: SteadyJV2DOptions | None = None, incident_power_W_m2: float | None = None, + on_point: Callable[[SteadyJV2DAttempt], None] | None = None, + checkpoint_directory: str | Path | None = None, + absolute_deadline_s: float | None = None) -> SteadyJV2DResult: + """At most one original full2D solve per voltage; stop at first failure.""" + return _run_steady_jv_2d(device, initial, voltage_V, options=options, + incident_power_W_m2=incident_power_W_m2, on_point=on_point, + checkpoint_directory=checkpoint_directory, absolute_deadline_s=absolute_deadline_s) + + +def _read_wall_prefix(device: CompiledDevice2D, path: str | Path, sha256: str, controls: SteadyJV2DOptions, + ) -> tuple[SteadyJV2DInitial, np.ndarray, Callable[[], tuple[State2D, float, tuple[GateOutcome, ...]]]]: + """Only an exact wall-stopped prefix may supply its last accepted2D state. + + Reading parses and hash-checks the prefix and evaluates no equation. It returns the tail's initial + (the last accepted state, from its saved coordinates), the remaining requested voltages and the + prefix's numerical readmission, which the tail job runs once its equation binding is admitted. + """ + _scope(device) + source = Path(path) + record = read_steady_jv_2d(source, sha256) + result, attempts = record["result"], record["result"]["attempts"] + accepted = len(result["voltage_V"]) + if (record["completed"] or accepted < 1 + or len(attempts) != accepted + 1 or attempts[-1]["accepted"] + or attempts[-1]["termination"] not in {"wall_budget_exhausted", "wave_wall_budget_exhausted"}): + raise ValueError("explicit2D continuation requires an original wall-stopped accepted prefix") + linked = record.get("continuation") + requested = result["requested_voltage_V"] + points = list(attempts[:accepted]) + original = result["initial_provenance"] + if linked is not None: + requested = linked["original_requested_voltage_V"] + if linked.get("endpoint_only") or requested.size - linked["combined_voltage_V"].size != 1: + raise ValueError("linked2D recovery supports only the one final original endpoint") + binding = linked["prefix_artifact"] + earlier = read_steady_jv_2d(binding["path"], binding["sha256"]) + if "continuation" in earlier: + raise ValueError("no continuation beyond the single final2D endpoint") + points = list(earlier["result"]["attempts"][:linked["prefix_accepted_points"]]) + points + accepted = len(points) + original = {"source_path": linked["original_initial_artifact"]["path"], + "source_sha256": linked["original_initial_artifact"]["sha256"]} + if result["compiled_identity"] != device.identity or result["solver_controls"] != asdict(controls): + raise ValueError("wall-prefix2D model or controls changed") + last = points[-1] + initial = SteadyJV2DInitial(device.state(last["solution"]["state"]["u"], voltage_V=last["voltage_V"]), + result["generation_scale"], str(source.resolve()), sha256, source.read_text()) + + def readmit() -> tuple[State2D, float, tuple[GateOutcome, ...]]: + _, generation, _ = _admit(device, Path(original["source_path"]).read_text(), + original["source_sha256"], controls.steady) + if result["generation_scale"] != generation: + raise ValueError("wall-prefix2D generation identity changed") + admission: tuple[GateOutcome, ...] = () + state = None + for attempt in points: + point = attempt["solution"] + if (point["solver_controls"]["numerical"]["electronic"] != asdict(controls.steady.electronic)): + raise ValueError("wall-prefix2D point physical source or controls changed") + state = device.state(point["state"]["u"], voltage_V=attempt["voltage_V"]) + if any(not np.array_equal(point["state"][name], getattr(state, name)) + for name in ("potential_V", "electron_density_m3", "hole_density_m3")): + raise ValueError("wall-prefix2D accepted physical fields changed") + admission = steady_checks(steady_diagnostics(_problem(device, state.voltage_V, generation), state.u, + controls.steady), controls.steady) + if not all(item.passed for item in admission): + raise ValueError("wall-prefix2D accepted state fails original physical gates") + if state is None: + raise ValueError("wall-prefix2D contains no accepted seed") + return state, generation, admission + return initial, np.array(requested[accepted:], copy=True), readmit + + +def continue_steady_jv_2d(device: CompiledDevice2D, prefix_path: str | Path, prefix_sha256: str, + *, options: SteadyJV2DOptions | None = None, + on_point: Callable[[SteadyJV2DAttempt], None] | None = None, + checkpoint_directory: str | Path | None = None, + absolute_deadline_s: float | None = None) -> SteadyJV2DResult: + """Explicit wall-prefix recovery: solve only its exact remaining voltage tail. + + The original failed artifact and driver-source identity remain unchanged. + All physical sources/controls and accepted rows are readmitted before using + the last accepted state, inside the tail job once its equation binding is + admitted. This entry performs no retry of a numerical failure. + A stopped linked tail may supply only its single final original endpoint. + """ + controls = SteadyJV2DOptions() if options is None else options + initial, requested, readmit = _read_wall_prefix(device, prefix_path, prefix_sha256, controls) + prefix = read_steady_jv_2d(prefix_path, prefix_sha256) + return _run_steady_jv_2d(device, initial, requested, options=controls, + incident_power_W_m2=prefix["result"]["incident_power_W_m2"], on_point=on_point, + checkpoint_directory=checkpoint_directory, absolute_deadline_s=absolute_deadline_s, + wall_prefix_admission=readmit) + + +def _run_steady_jv_2d(device: CompiledDevice2D, initial: SteadyJV2DInitial, voltage_V: ArrayLike, + *, options: SteadyJV2DOptions | None = None, incident_power_W_m2: float | None = None, + on_point: Callable[[SteadyJV2DAttempt], None] | None = None, + checkpoint_directory: str | Path | None = None, + absolute_deadline_s: float | None = None, + wall_prefix_admission: Callable[[], tuple[State2D, float, tuple[GateOutcome, ...]]] | None = None, + ) -> SteadyJV2DResult: + started = time.monotonic() + _scope(device) + controls = SteadyJV2DOptions() if options is None else options + if not isinstance(controls, SteadyJV2DOptions) or not isinstance(initial, SteadyJV2DInitial): + raise ValueError("reviewed2D controls and a hash-bound accepted2D initial are required") + requested = _voltages(voltage_V, controls.max_points) + if incident_power_W_m2 is not None and (not math.isfinite(incident_power_W_m2) or incident_power_W_m2 <= 0.0): + raise ValueError("efficiency requires explicitly supplied finite positive irradiance W/m2") + with job_provenance({"compiled_identity": device.identity, "geometry_identity": device.geometry.sha256, "initial_sha256": initial.source_sha256, "voltage_V": requested.tolist(), "controls": asdict(controls), "incident_power_W_m2": incident_power_W_m2}, + **provenance_binding("DC2DProblem.steady_jv", device)): + pins = admitted_source_pins() + if wall_prefix_admission is None: + previous, generation, admission = _admit(device, initial.evidence_json, initial.source_sha256, controls.steady) + else: + previous, generation, admission = wall_prefix_admission() + if not np.array_equal(_state(device, initial.state).u, previous.u) or initial.generation_scale != generation: + raise ValueError("initial object differs from its admitted saved state") + deadline = started + controls.wall_s + if absolute_deadline_s is not None: + if not math.isfinite(absolute_deadline_s): + raise ValueError("parent-owned absolute monotonic deadline must be finite") + deadline = min(deadline, absolute_deadline_s) + journal = None + manifest: dict[str, Any] | None = None + if checkpoint_directory is not None: + journal = Path(checkpoint_directory) + journal.mkdir(parents=True, exist_ok=False) + (journal / "Points").mkdir() + raw_initial = initial.evidence_json.encode() + initial_digest = _checkpoint_artifact(journal / "Initial.json", raw_initial) + request = {"schema": "solarlab.steady_jv_2d.checkpoint_request.v1", "requested_voltage_V": requested, + "compiled_identity": device.identity, "generation_scale": generation, + "initial_source_sha256": initial.source_sha256, + "initial_evidence_artifact": {"path": "Initial.json", "sha256": initial_digest, "nbytes": len(raw_initial)}, + "controls": asdict(controls), "source_sha256": pins, "job_provenance": current_provenance(), + "incident_power_W_m2": incident_power_W_m2, + "absolute_compute_deadline_s": deadline} + grain_model = _grain_model(device) + if grain_model is not None: + request["grain_model"] = grain_model + if wall_prefix_admission is not None: + request["continuation_prefix"] = {"path": initial.source_path, "sha256": initial.source_sha256} + digest = _checkpoint_write(journal / "Request.json", request, exclusive=True) + manifest = {"request_sha256": digest, "points": [], "active": None, "finished": False} + _checkpoint_write(journal / "Manifest.json", manifest) + attempts: list[SteadyJV2DAttempt] = [] + voltages, output, terminals = [], [], [] + calls = 0 + for index, supplied in enumerate(requested): + voltage, began = float(supplied), time.monotonic() + seed, solution, error = None, None, None + called = False + first_kind = "accepted_saved_initial" if wall_prefix_admission is None else "accepted_wall_prefix" + provenance = {"kind": first_kind if index == 0 else "previous_accepted2D", + "previous_voltage_V": previous.voltage_V, "previous_state_sha256": state_digest(previous.u)} + try: + if time.monotonic() >= deadline: + raise TimeoutError("2D J-V wave wall budget exhausted before next point") + seed = _rebase(device, previous, voltage) + provenance["rebased_state_sha256"] = state_digest(seed.u) + remaining = deadline - time.monotonic() + if remaining <= 0.0: + raise TimeoutError("2D J-V wave wall budget exhausted before solver call") + effective = replace(controls.steady, wall_s=min(controls.steady.wall_s, remaining)) + if journal is not None and manifest is not None: + marker = {"index": index, "voltage_V": voltage, "initial_guess": seed, + "seed_provenance": provenance, "request_sha256": manifest["request_sha256"], + "status": "solver_entry_pending_or_running", "solver_called": None} + manifest["active"] = _checkpoint_write(journal / "Active.json", marker) + _checkpoint_write(journal / "Manifest.json", manifest) + remaining = deadline - time.monotonic() + if remaining <= 0.0: + raise TimeoutError("2D compute deadline reached after durable solver-entry marker") + effective = replace(controls.steady, wall_s=min(controls.steady.wall_s, remaining)) + called, calls = True, calls + 1 + solution = solve_steady_state_2d(device, voltage_V=voltage, generation_scale=generation, + options=effective, initial_state=seed, initial_provenance=provenance) + accepted, termination, error = solution.accepted, solution.termination, solution.error + if accepted: + if solution.state is None or solution.diagnostics is None: + raise ValueError("accepted2D point must retain its original state and current ledger") + checks = steady_checks(steady_diagnostics(_problem(device, voltage, generation), solution.state.u, effective), effective) + if not all(item.passed for item in checks): + raise ValueError("accepted2D point fails original physical gates on readback") + previous = _state(device, solution.state) + terminal = np.asarray(solution.diagnostics["terminal_current_per_depth_A_m"]) + voltages.append(voltage) + terminals.append(terminal) + output.append(-device.column.voltage_polarity * terminal[0] / device.geometry.lateral_length_m) + except Exception as exc: + accepted = False + termination = "wave_wall_budget_exhausted" if isinstance(exc, TimeoutError) else "evaluation_error" + error = f"{type(exc).__name__}: {str(exc)[:600]}" + attempt = SteadyJV2DAttempt(index, voltage, accepted, termination, seed, provenance, solution, called, + time.monotonic() - began, error) + attempts.append(attempt) + if journal is not None and manifest is not None: + name = f"Points/{index:05d}.json" + raw_point = json.dumps(_encode({"request_sha256": manifest["request_sha256"], "attempt": attempt}), + sort_keys=True, separators=(",", ":"), allow_nan=False).encode() + digest = _checkpoint_artifact(journal / name, raw_point) + manifest["points"].append({"path": name, "sha256": digest}) + manifest["active"] = None + _checkpoint_write(journal / "Manifest.json", manifest) + if on_point is not None: + on_point(attempt) + if not accepted: + break + if journal is not None and manifest is not None: + manifest["finished"] = True + _checkpoint_write(journal / "Manifest.json", manifest) + accepted_v: np.ndarray = np.asarray(voltages, dtype=float) + accepted_j: np.ndarray = np.asarray(output, dtype=float) + g = device.geometry + geometry = {"identity": g.sha256, "shape_Ny_Nx": g.shape, "x_m": g.x_m, "y_m": device.column.nodes_m, + "cell_areas_m2": g.contract_geometry.volumes, "face_lengths_m": g.contract_geometry.face_measures, + "face_pairs": g.contract_geometry.pairs, "lateral_width_m": g.lateral_length_m} + grain_model = _grain_model(device) + if grain_model is not None: + geometry["grain_model"] = grain_model + initial_provenance = {"source_path": initial.source_path, "source_sha256": initial.source_sha256, + "state_sha256": state_digest(initial.state.u), "operating_voltage_V": initial.state.voltage_V, + "admission_checks": admission, "no_new_cold_or_1d_seed": True} + if wall_prefix_admission is not None: + initial_provenance["continuation_prefix"] = {"path": initial.source_path, "sha256": initial.source_sha256} + elif grain_model is not None: + original = _decode(json.loads(initial.evidence_json))["result_2d"]["source_sha256"] + current = admitted_source_pins() + initial_provenance["grain_source_admission"] = {"saved_result_source_sha256": original, + "current_result_source_sha256": current, "exact_source_match": original == current, + "current_original_gate_revalidation": True, "original_saved_acceptance_preserved": True} + return SteadyJV2DResult(requested, accepted_v, accepted_j, np.asarray(terminals, dtype=float).reshape(-1, 2), + tuple(attempts), _metrics(accepted_v, accepted_j, incident_power_W_m2), generation, incident_power_W_m2, + device.column.voltage_polarity, g.lateral_length_m, initial_provenance, device.identity, geometry, + asdict(controls), pins, calls, time.monotonic() - started) + + +def write_steady_jv_2d(result: SteadyJV2DResult, path: str | Path) -> str: + if not isinstance(result, SteadyJV2DResult): + raise ValueError("an actual steady2D J-V result is required") + document = {"schema": SCHEMA, "completed": result.completed, "qualification": False, + "unattempted_voltage_V": result.unattempted_voltage_V, "result": result} + if "continuation_prefix" in result.initial_provenance: + binding = result.initial_provenance["continuation_prefix"] + prefix = read_steady_jv_2d(binding["path"], binding["sha256"]) + document["continuation"] = _linked_tail(prefix, asdict(result)) + raw = (json.dumps(_encode(document), indent=2, allow_nan=False) + "\n").encode() + with Path(path).open("xb") as stream: + stream.write(raw) + return hashlib.sha256(raw).hexdigest() + + +def _linked_tail(prefix: dict[str, Any], tail: dict[str, Any]) -> dict[str, Any]: + """Bind one new tail to preserved raw prefix evidence and sampled metrics.""" + old = prefix["result"] + local_accepted = len(old["voltage_V"]) + prior = prefix.get("continuation") + requested = old["requested_voltage_V"] if prior is None else prior["original_requested_voltage_V"] + prior_voltage = old["voltage_V"] if prior is None else prior["combined_voltage_V"] + offset = prior_voltage.size + if prior is not None and (prior.get("endpoint_only") or requested.size - offset != 1): + raise ValueError("linked2D recovery supports only the one final original endpoint") + if (prefix["completed"] or local_accepted < 1 + or len(old["attempts"]) != local_accepted + 1 or old["attempts"][-1]["accepted"] + or old["attempts"][-1]["termination"] not in {"wall_budget_exhausted", "wave_wall_budget_exhausted"} + or not np.array_equal(tail["requested_voltage_V"], requested[offset:])): + raise ValueError("linked2D continuation must be only the original wall-stopped remaining tail") + for name in ("compiled_identity", "generation_scale", "voltage_polarity", "lateral_width_m", + "incident_power_W_m2", "solver_controls"): + if tail[name] != old[name]: + raise ValueError("linked2D continuation model, generation, units or controls changed") + if tail.get("job_provenance") is None and { + k: v for k, v in tail["source_sha256"].items() if k != __name__} != { + k: v for k, v in old["source_sha256"].items() if k != __name__}: + raise ValueError("linked2D v1 continuation changed a physical source") + last = old["attempts"][local_accepted - 1]["solution"]["state"] + seed = tail["initial_provenance"] + if seed["operating_voltage_V"] != last["voltage_V"] or seed["state_sha256"] != state_digest(last["u"]): + raise ValueError("linked2D continuation must use the last accepted state, never the failed candidate") + prior_current = old["output_current_A_m2"] if prior is None else prior["combined_output_current_A_m2"] + prior_terminals = old["terminal_current_per_depth_A_m"] if prior is None else prior["combined_terminal_current_per_depth_A_m"] + voltage = np.r_[prior_voltage, tail["voltage_V"]] + current = np.r_[prior_current, tail["output_current_A_m2"]] + terminals = np.concatenate((prior_terminals, tail["terminal_current_per_depth_A_m"]), axis=0) + failure = old["attempts"][-1] + linked: dict[str, Any] = {"prefix_artifact": seed["continuation_prefix"], "prefix_completed": False, + "preserved_prefix_failure": {key: failure[key] for key in ("index", "voltage_V", "termination", "error")}, + "prefix_accepted_points": offset, "tail_index_offset": offset, + "original_initial_artifact": {"path": old["initial_provenance"]["source_path"], + "sha256": old["initial_provenance"]["source_sha256"]} if prior is None + else prior["original_initial_artifact"], + "original_requested_voltage_V": requested, "combined_voltage_V": voltage, + "combined_output_current_A_m2": current, "combined_terminal_current_per_depth_A_m": terminals, + "metrics": asdict(_metrics(voltage, current, tail["incident_power_W_m2"])), + "completed": voltage.size == requested.size, + "total_actual_solver_calls": (old["solver_calls"] if prior is None else prior["total_actual_solver_calls"]) + tail["solver_calls"], + "prefix_driver_sha256": old["source_sha256"].get(__name__), + "tail_driver_sha256": tail["source_sha256"].get(__name__), "qualification": False} + if tail.get("job_provenance") is not None: + linked["schema"] = "solarlab.steady_jv_2d.continuation.v2" + linked["producer_provenance"] = {"prefix": old.get("job_provenance"), "tail": tail["job_provenance"]} + linked["source_comparison"] = result_provenance(old, tail["job_provenance"])["status"] + if prior is not None: + linked["preserved_prefix_failure"]["index"] += offset - local_accepted + linked["endpoint_only"] = True + linked["preserved_earlier_failure"] = prior["preserved_prefix_failure"] + linked["preserved_earlier_artifact"] = prior["prefix_artifact"] + return linked + + +def read_steady_jv_2d(path: str | Path, sha256: str, *, + current_identity: JobProvenance | dict[str, Any] | None = None, + strict_same_source: bool = False, +) -> dict[str, Any]: + """Validate saved identity and accepted/failed prefix without any solver.""" + raw = Path(path).read_bytes() + if hashlib.sha256(raw).hexdigest() != sha256: + raise ValueError("steady2D J-V artifact SHA-256 mismatch") + try: + document = _decode(json.loads(raw)) + if document["schema"] not in {LEGACY_SCHEMA, SCHEMA} or document["qualification"] is not False: + raise ValueError("unsupported steady2D J-V result schema") + result = document["result"] + if document["schema"] == LEGACY_SCHEMA and result.get("job_provenance") is not None: + raise ValueError("legacy2D producer identity cannot be relabelled with new job provenance") + _read_grain_model(result["geometry"]) + requested = _voltages(result["requested_voltage_V"], result["solver_controls"]["max_points"]) + attempts = result["attempts"] + count = int(np.prod(result["geometry"]["shape_Ny_Nx"])) + if len(attempts) > requested.size: + raise ValueError("attempts exceed the requested2D voltage wave") + accepted = [] + for index, attempt in enumerate(attempts): + if (attempt["index"] != index or attempt["voltage_V"] != requested[index] + or type(attempt["accepted"]) is not bool + or (not attempt["accepted"] and index != len(attempts) - 1)): + raise ValueError("2D J-V attempts must retain the exact prefix and first failure") + point = attempt["solution"] + if point is not None: + for name, pin in point["source_sha256"].items(): + if name in result["source_sha256"] and result["source_sha256"][name] != pin: + raise ValueError("saved2D point source differs from its recorded producer") + if attempt["accepted"]: + point = attempt["solution"] + if (point["accepted"] is not True or point["newton"]["accepted"] is not True + or point["termination"] != "converged" or point["compiled_identity"] != result["compiled_identity"] + or point["operating_voltage_V"] != requested[index] + or point["generation_scale"] != result["generation_scale"] + or tuple(point["diagnostics"]["original_rows"]) != tuple(range(3 * count)) + or not np.array_equal(point["state"]["u"], point["newton"]["state"]) + or not point["checks"] or any(item["passed"] is not True or not math.isfinite(item["value"]) + or item["value"] > item["limit"] for item in point["checks"])): + raise ValueError("accepted2D J-V point lost original fields/rows/gates") + accepted.append(attempt["voltage_V"]) + if not np.array_equal(result["voltage_V"], accepted) or not np.array_equal( + document["unattempted_voltage_V"], requested[len(attempts):]): + raise ValueError("accepted/unattempted2D voltage prefixes disagree") + if document["completed"] is not (len(attempts) == requested.size and all(item["accepted"] for item in attempts)): + raise ValueError("completed2D voltage result contradicts its attempts") + terminals = np.asarray(result["terminal_current_per_depth_A_m"]) + expected = -result["voltage_polarity"] * terminals[:, 0] / result["lateral_width_m"] + if not np.array_equal(result["output_current_A_m2"], expected): + raise ValueError("output current sign or per-depth width normalization changed") + if "continuation_prefix" in result["initial_provenance"]: + binding = result["initial_provenance"]["continuation_prefix"] + prefix = read_steady_jv_2d(binding["path"], binding["sha256"]) + linked = _linked_tail(prefix, result) + if json.dumps(_encode(linked), sort_keys=True) != json.dumps(_encode(document.get("continuation")), sort_keys=True): + raise ValueError("linked2D continuation lost its preserved source, prefix or combined metrics") + elif "continuation" in document: + raise ValueError("linked2D continuation requires a bound original prefix artifact") + except (KeyError, TypeError, AttributeError, IndexError) as exc: + raise ValueError("incomplete steady2D J-V artifact") from exc + document["provenance_comparison"] = result_provenance(result, current_identity, + strict_same_source=strict_same_source, expected_inputs=None if result.get("job_provenance") is None else {"compiled_identity": result["compiled_identity"], "geometry_identity": result["geometry"]["identity"], + "initial_sha256": result["initial_provenance"]["source_sha256"], "voltage_V": result["requested_voltage_V"].tolist(), + "controls": result["solver_controls"], "incident_power_W_m2": result["incident_power_W_m2"]}) + return document diff --git a/src/solarlab/experiments/jv/worker.py b/src/solarlab/experiments/jv/worker.py new file mode 100644 index 00000000..68ae8d7f --- /dev/null +++ b/src/solarlab/experiments/jv/worker.py @@ -0,0 +1,344 @@ +"""Explicit classical DC jobs on the existing manifest, supervisor and store. + +The child returns named payloads. Only ProcessSupervisor claims attempts, +publishes artifacts and commits a terminal. Preparation/cache admission flags +retain their existing meaning; successful execution is not qualification. +""" +from __future__ import annotations + +from solarlab.reproducibility.job_provenance import ( + JobProvenance, worker_result_provenance, +) + +from dataclasses import asdict, dataclass +import hashlib +import importlib.metadata +import json +import math +from pathlib import Path +import platform +import sys +from typing import TYPE_CHECKING, Any + +from solarlab.config.identity import ( + BuildSource, ExecutionDescription, ExecutionEngine, ExecutionManifest, IdentityInputs, ModelInputs, + RuntimeEnvironment, execution_manifest, input_identity, physics_identity, +) +from solarlab.config.model_parameters import device_topology, layer_parameter_source +from solarlab.device.resolved import PreparedDevice +from solarlab.experiments.worker import ( + ManifestBinding, ResourceLimits, WorkerBinding, WorkerContext, WorkerRequest, WorkerResult, +) +from solarlab.materials.source import SourceDocument +from solarlab.physics.registry import ( + CapabilityContext, CapabilityRule, EvidenceRef, ModelDefinition, ModelRef, ModelRegistry, Scope, +) +from solarlab.physics.selection import ModelChoice, select_models +from solarlab.physics.semantic_projection import SemanticProjection + +if TYPE_CHECKING: + from solarlab.experiments.execution import JobHandle, ProcessSupervisor + from solarlab.io.run_store import RunStore + +__all__ = ["SteadyJVProtocol", "SteadyJVJob", "prepare_steady_jv_job", + "steady_jv_worker_binding", "read_steady_jv_job", "run_steady_jv_worker", + "steady_jv_identity_inputs", "validate_steady_jv_scope"] + +_ID = "steady_jv" +_SCHEMA = SourceDocument("solarlab.steady-jv.worker-request.v1", b'{"engine":"solarlab","fields":["schema","engine","prepared_sha256","protocol"],"schema":"solarlab.steady-jv.worker-request.v1"}') +_REGISTRY = SourceDocument("solarlab.steady-jv.worker-registry.v1", b'{"engine":"solarlab","worker":"steady_jv","scope":"static_classical_ion_free_1d_dc","fallback":"forbidden"}') +_THREADS = ("OMP_NUM_THREADS", "OPENBLAS_NUM_THREADS", "MKL_NUM_THREADS", + "VECLIB_MAXIMUM_THREADS", "NUMEXPR_NUM_THREADS", "BLIS_NUM_THREADS") +_PACKAGES = ("numpy", "scipy", "pydantic", "threadpoolctl") +_ADAPTERS = ("solarlab/experiments/jv/worker.py", "solarlab/experiments/jv/steady.py", + "solarlab/sweeps/steady_worker.py", "solarlab/experiments/transient_worker.py", + "solarlab/experiments/ionic_transient_worker.py", "solarlab/experiments/ionic_transient_results.py", + "solarlab/experiments/jv/ionic_worker.py", "solarlab/experiments/jv/ionic_results.py", + "solarlab/experiments/worker.py", "solarlab/experiments/execution.py") + + +def _document(name: str, value: Any) -> SourceDocument: + return SourceDocument(name, json.dumps(value, sort_keys=True, separators=(",", ":"), allow_nan=False).encode()) + + +def _package_root() -> Path: + return Path(__file__).resolve().parents[2] + + +def _source_path(name: str) -> Path: + if not name.startswith("solarlab/"): + raise ValueError("implementation IDs must be relative to the installed solarlab package") + path = _package_root() / name.removeprefix("solarlab/") + if not path.resolve().is_relative_to(_package_root()) or path.suffix != ".py": + raise ValueError("invalid implementation source path") + return path + + +def _adapter_sources(implementation: BuildSource) -> list[dict[str, Any]]: + base = {item.id: item for item in implementation.files} + # These actively authored adapters are bound separately from the + # supplied committed core. Never label new author bytes as that commit. + return [{"id": name, "sha256": source.sha256, "content_hex": source.content.hex(), + "base_sha256": base[name].sha256 if name in base else None} + for name in _ADAPTERS + for source in (SourceDocument(name, _source_path(name).read_bytes()),)] + + +def _verify_sources(execution: ExecutionDescription) -> None: + expected = {item.id: item.content for item in execution.implementation.files} + adapters = json.loads(execution.preparation.content)["adapter_sources"] + if adapters != _adapter_sources(execution.implementation): + raise ValueError("installed worker/result encoder differs from its execution source binding") + expected.update({item["id"]: bytes.fromhex(item["content_hex"]) for item in adapters}) + for name, content in expected.items(): + if _source_path(name).read_bytes() != content: + raise ValueError("installed core implementation differs: " + name) + for name, module in tuple(sys.modules.items()): + if name != "solarlab" and not name.startswith("solarlab."): + continue + origin = module.__file__ + if origin is None: + raise ValueError("loaded core module has no verifiable source origin") + path = Path(origin).resolve() + if not path.is_relative_to(_package_root()): + raise ValueError("loaded core module is outside the bound installation") + source_id = "solarlab/" + path.relative_to(_package_root()).as_posix() + if path.read_bytes() and source_id not in expected: + raise ValueError("loaded core module lacks a source binding: " + source_id) + + +@dataclass(frozen=True, slots=True) +class SteadyJVProtocol: + voltage_V: tuple[float, ...] + intervals_per_layer: int + generation_scale: float + incident_power_W_m2: float | None + + def __post_init__(self) -> None: + values = tuple(self.voltage_V) + if (not 2 <= len(values) <= 101 or any(type(v) not in {int, float} or not math.isfinite(v) for v in values) + or not (all(b > a for a, b in zip(values, values[1:])) + or all(b < a for a, b in zip(values, values[1:])))): + raise ValueError("steady protocol requires 2..101 finite strictly monotonic voltages") + if type(self.intervals_per_layer) is not int or self.intervals_per_layer < 2: + raise ValueError("explicit integer intervals_per_layer >= 2 required") + if type(self.generation_scale) not in {int, float} or not math.isfinite(self.generation_scale) or self.generation_scale < 0: + raise ValueError("generation scale must be finite and nonnegative") + if self.incident_power_W_m2 is not None and (type(self.incident_power_W_m2) not in {int, float} + or not math.isfinite(self.incident_power_W_m2) or self.incident_power_W_m2 <= 0): + raise ValueError("incident power must be finite and positive when supplied") + object.__setattr__(self, "voltage_V", tuple(float(v) for v in values)) + + +def validate_steady_jv_scope(prepared: PreparedDevice) -> None: + """Refuse unsupported configured physics before numerical preparation.""" + from solarlab.device.compile_1d import unsupported + + if type(prepared) is not PreparedDevice: + raise ValueError("an actual explicit PreparedDevice is required") + # Reuse the compiler's static check, before geometry/operators or a solve. + unsupported(prepared, prepared.to_mapping(), tuple(p for p in prepared.layers if p.role != "substrate")) + + +def steady_jv_identity_inputs(prepared: PreparedDevice, implementation: BuildSource) -> IdentityInputs: + """Bind the actual prepared input and compiler source to classical models.""" + source = next((item for item in implementation.files if item.id == "solarlab/device/compile_1d.py"), None) + if source is None: + raise ValueError("the actual core compiler source must be bound") + ref = ModelRef("classical_1d_dc", 1) + capability = CapabilityRule("source_bound_classical_dc", (1,), ("dc",), + (EvidenceRef(source.id, source.sha256, "source"),), + backends=("steady_jv_worker",), statistics=("maxwell_boltzmann",)) + definition = ModelDefinition(ref, "Fixed classical 1D core source binding", "classical_dc", ("layer",), "node", + ("mu_n", "mu_p", "tau_n", "tau_p", "alpha", "B_rad", "C_n", "C_p", "N_A", "N_D"), (), (), + capability, parameter_schema="full_layer") + registry = ModelRegistry((definition,)) + defaults = {"layer": (ModelChoice("classical_dc", ref, parameter_schema="full_layer"),)} + topology = device_topology(prepared) + sources = {Scope("layer", (layer.id,)): layer_parameter_source(layer) + for layer in prepared.layers if layer.id in topology.electrical_layer_ids} + context = CapabilityContext(1, "dc", "steady_jv_worker", "maxwell_boltzmann", + temperature_K=prepared.to_mapping()["settings"]["T"]) + selection = select_models(registry, topology, context, defaults, sources, {}) + return IdentityInputs(prepared, selection, registry, + ModelInputs.from_mappings(defaults=defaults, overrides={}), + (SemanticProjection(ref, "all_values_v1", (source,)),)) + + +def _roles(prepared: PreparedDevice, protocol: SteadyJVProtocol, implementation: BuildSource) -> dict[str, SourceDocument]: + from solarlab.solvers.nonlinear.steady_1d import SteadyOptions + + return { + "protocol": _document("solarlab.steady-jv.protocol.v1", asdict(protocol)), + "preparation": _document("solarlab.steady-jv.preparation.v1", { + "prepared_sha256": prepared.content_sha256, "adapter_sources": _adapter_sources(implementation), + "source_scope": "supplied_committed_core_plus_explicit_adapter_bytes", + "cold_compile_per_job": True, "fallback": "forbidden"}), + "initial_state": _document("solarlab.steady-jv.initial-recipe.v1", { + "prepared_sha256": prepared.content_sha256, "initial_state": None, + "recipe": "solve_steady_state cold initialization; continuation within this curve only", + "supplied_working_point": False, "cross_job_reuse": False}), + "grid": _document("solarlab.steady-jv.grid-recipe.v1", { + "intervals_per_layer": protocol.intervals_per_layer, + "electrical_grid": prepared.to_mapping()["electrical_grid"]}), + "numeric_controls": _document("solarlab.steady-jv.controls.v1", asdict(SteadyOptions())), + } + + +def _body(prepared: PreparedDevice, protocol: SteadyJVProtocol) -> dict[str, Any]: + return {"schema": _SCHEMA.id, "engine": "solarlab", "prepared_sha256": prepared.content_sha256, + "protocol": json.loads(_document("protocol", asdict(protocol)).content)} + + +@dataclass(frozen=True, slots=True) +class SteadyJVJob: + request: WorkerRequest + execution: ManifestBinding + + def submit(self, supervisor: ProcessSupervisor, run_id: str, limits: ResourceLimits) -> JobHandle: + return supervisor.submit(run_id, _ID, self.request, limits, execution=self.execution) + + +def prepare_steady_jv_job(prepared: PreparedDevice, protocol: SteadyJVProtocol, *, + implementation: BuildSource, current_repository_head: str, + engine: ExecutionEngine) -> SteadyJVJob: + """Bind explicit data and actual source/runtime; do not execute a model.""" + if type(engine) is not ExecutionEngine or engine.name != "solarlab": + raise ValueError("the steady worker requires the explicit solarlab engine") + if type(protocol) is not SteadyJVProtocol or type(implementation) is not BuildSource: + raise ValueError("explicit steady protocol and actual implementation sources required") + validate_steady_jv_scope(prepared) + inputs = steady_jv_identity_inputs(prepared, implementation) + from solarlab.equations.implementation import selection_setting + + # The child installs these before any engine import: a queued or spawned + # job runs the equation selection of the parent that prepared it. + settings = tuple(sorted([*((name, "1") for name in _THREADS), selection_setting()])) + environment = RuntimeEnvironment(platform.python_implementation(), platform.python_version(), + platform.system(), platform.machine(), tuple((name, importlib.metadata.version(name)) for name in _PACKAGES), + tuple((name, json.dumps(value)) for name, value in settings)) + roles = _roles(prepared, protocol, implementation) + description = ExecutionDescription(**roles, implementation=implementation, environment=environment, + current_repository_head=current_repository_head) + _verify_sources(description) + manifest = execution_manifest(inputs, description, engine=engine) + binding = ManifestBinding(manifest, inputs, description, engine, manifest.sha256, settings) + identity = manifest.export()["document"]["execution_identity"] + request = WorkerRequest(_document(_SCHEMA.id, _body(prepared, protocol)), _REGISTRY, _SCHEMA, + _document("solarlab.steady-jv.execution-identity.v1", identity), + identity["payload"]["H_input"], identity["payload"]["H_physics"]) + binding.validate_request(request) + return SteadyJVJob(request, binding) + + +def steady_jv_worker_binding() -> WorkerBinding: + return WorkerBinding.from_function(_ID, run_steady_jv_worker, registry_sha256=_REGISTRY.sha256, + schema_sha256=_SCHEMA.sha256) + + +def run_steady_jv_worker(request: WorkerRequest, worker: WorkerContext) -> WorkerResult: + """Run the explicitly bound cold job using the supplied existing context.""" + worker.check_cancel() + binding = worker.consume_manifest(request, engine="solarlab") + from solarlab.equations.implementation import verify_selection + + verify_selection(binding.environment) + body = json.loads(request.request.content) + protocol = SteadyJVProtocol(**body["protocol"]) + prepared = binding.inputs.prepared + if body != _body(prepared, protocol): + raise ValueError("request differs from the explicit prepared steady invocation") + _verify_sources(binding.execution) + validate_steady_jv_scope(prepared) + expected = steady_jv_identity_inputs(prepared, binding.execution.implementation) + if (input_identity(expected).sha256 != request.H_input or physics_identity(expected).sha256 != request.H_physics + or any(getattr(binding.execution, name) != value for name, value in + _roles(prepared, protocol, binding.execution.implementation).items())): + raise ValueError("steady input/model/protocol roles differ from the manifest") + worker.check_cancel() + from solarlab.device.compile_1d import compile_device_1d + from solarlab.equations.implementation import provenance_binding + from solarlab.experiments.jv.steady import run_steady_jv, steady_jv_payload + from solarlab.solvers.nonlinear.steady_1d import SteadyOptions + from threadpoolctl import threadpool_info, threadpool_limits + + _verify_sources(binding.execution) # Check newly imported numerical modules before native work. + worker.progress({"stage": "steady_jv_native", "voltage_points": len(protocol.voltage_V)}) + with threadpool_limits(limits=1): + compiled = compile_device_1d(prepared, intervals_per_layer=protocol.intervals_per_layer) + # Admission names the bound equation system the job evaluates, so the device is compiled first. + with worker.admit_provenance(request, **provenance_binding("DC1DProblem.steady_jv", compiled)): + with threadpool_limits(limits=1): + pools = threadpool_info() + if any(pool["num_threads"] != 1 for pool in pools): + raise ValueError("child numerical thread limit was not installed") + result = run_steady_jv(compiled, protocol.voltage_V, generation_scale=protocol.generation_scale, + incident_power_W_m2=protocol.incident_power_W_m2, options=SteadyOptions()) + worker.check_cancel() + document, payloads = steady_jv_payload(result) + return WorkerResult.from_dict({"schema": "solarlab.steady-jv.worker-result.v1", + "engine": "solarlab", "prepared_sha256": prepared.content_sha256, + "H_input": request.H_input, "H_physics": request.H_physics, + "H_execution": request.execution_identity.sha256, "manifest_sha256": binding.expected_sha256, + "steady_result": document, "array_payloads": {name: payload.sha256 for name, payload in payloads}, + "threadpools": pools, "scientific_qualification": False}, artifacts=payloads) + + +def read_steady_jv_job(store: RunStore, run_id: str, *, attempt_id: str | None = None, + current_identity: JobProvenance | dict[str, Any] | None = None, strict_same_source: bool = False) -> dict[str, Any]: + """Bind real committed artifact IDs/attempts, then use the existing reader.""" + from solarlab.experiments.jv.steady import read_steady_jv + + run = store.get_run(run_id) + selected = run["current_attempt_id"] if attempt_id is None else attempt_id + attempt = next((a for a in store.attempts(run_id) if a["attempt_id"] == selected), None) + if attempt is None or attempt["state"] != "succeeded": + raise ValueError("a succeeded attempt of this run is required") + result = attempt["result"]["worker_result"] + identity = run["request"]["identity"] + if result.get("schema") != "solarlab.steady-jv.worker-result.v1" or result.get("engine") != "solarlab": + raise ValueError("not a new-core steady worker result") + if any(result[name] != identity[name] for name in ("H_input", "H_physics", "H_execution")): + raise ValueError("steady result belongs to a different execution identity") + metadata = run["request"]["input_metadata"] + if result["manifest_sha256"] != metadata["execution_manifest"]["manifest_sha256"]: + raise ValueError("steady result manifest mismatch") + records = [store.artifact(item["artifact_id"]) for item in attempt["terminal"]["artifacts"]] + by_name = {item["name"]: item for item in records} + if len(by_name) != len(records) or set(by_name) != {*result["array_payloads"], "execution_manifest"}: + raise ValueError("committed terminal does not contain the exact named result payloads") + for name, item in by_name.items(): + if (item["phase"] != "committed" or item["run_id"] != run_id + or item["attempt_id"] != selected or item["generation"] != attempt["generation"]): + raise ValueError("artifact belongs to a different committed attempt") + if name in result["array_payloads"] and item["sha256"] != result["array_payloads"][name]: + raise ValueError("committed array differs from the child's actual payload") + manifest = store.read_artifact(by_name["execution_manifest"]["artifact_id"]) + # Aggregate manifests have their own bound, separate from each source file. + if hashlib.sha256(manifest).hexdigest() != result["manifest_sha256"]: + raise ValueError("committed manifest bytes differ from the execution binding") + saved = ExecutionManifest(manifest, metadata["execution_manifest"]["current_repository_head"]) + saved_document = saved.export()["document"] + saved_identity = saved_document["execution_identity"]["payload"] + if saved.execution_sha256 != identity["H_execution"] or any( + saved_identity[name] != identity[name] for name in ("H_input", "H_physics") + ): + raise ValueError("committed manifest belongs to a different input/physics/execution identity") + roles = {name: json.loads(bytes.fromhex(item["content_hex"])) + for name, item in saved_document["content_roles"].items()} + protocol = roles["protocol"] + if (result["prepared_sha256"] != roles["preparation"]["prepared_sha256"] + or result["steady_result"]["solver_controls"] != roles["numeric_controls"]): + raise ValueError("result differs from its prepared input or numeric controls") + document = {**result["steady_result"], "run_id": run_id, "attempt_id": selected, + "generation": attempt["generation"], + "arrays": {name: by_name[name]["artifact_id"] for name in result["array_payloads"]}, + "artifact_ids": [by_name[name]["artifact_id"] for name in result["array_payloads"]]} + arrays = read_steady_jv(store, document) + if (arrays["voltage_V"].tolist() != protocol["voltage_V"] + or document["generation_scale"] != protocol["generation_scale"] + or document["incident_power_W_m2"] != protocol["incident_power_W_m2"]): + raise ValueError("committed result differs from its exact protocol") + return {"document": document, "arrays": arrays, "worker_result": result, "provenance_comparison": worker_result_provenance(result, run, attempt, store_id=store.store_id, + current=current_identity, strict_same_source=strict_same_source, + provenance_ref=by_name["execution_manifest"]["metadata"].get("job_provenance_sha256"), execution_document=saved_document)} diff --git a/src/solarlab/experiments/multiple_ionic_impedance.py b/src/solarlab/experiments/multiple_ionic_impedance.py new file mode 100644 index 00000000..6c666e18 --- /dev/null +++ b/src/solarlab/experiments/multiple_ionic_impedance.py @@ -0,0 +1,235 @@ +"""One bounded two-domain AC sweep from admitted source-bound dark DC.""" + +from __future__ import annotations + +from solarlab.reproducibility.job_provenance import ( + JobProvenance, admitted_source_pins, current_provenance, job_provenance, result_provenance, +) + +from dataclasses import asdict, dataclass, field +import hashlib +import json +import math +from pathlib import Path +import time +from typing import TYPE_CHECKING, Any + +import numpy as np +from numpy.typing import ArrayLike + +from solarlab.equations.multiple_ionic_1d import CompiledMultipleIonicDevice1D +from solarlab.experiments.ionic_impedance import IonicImpedanceAttempt, IonicImpedanceOptions, _decoded, _encoded, _finite, _frequencies +from solarlab.experiments.multiple_ionic_transient import MultipleIonicTransientInitial, _admit, _same_record +from solarlab.experiments.transient_results import _decode, _encode +from solarlab.solvers.linear import FrequencyOptions, FrequencySolution, solve_frequency_systems +from solarlab.solvers.nonlinear.problem import GateOutcome, state_digest + +if TYPE_CHECKING: + from solarlab.equations.assembly.small_signal import AssembledMultipleIonicSmallSignal1D + from solarlab.equations.multiple_ionic_small_signal import MultipleIonicSmallSignal1D + +__all__ = ["MultipleIonicImpedanceResult", "solve_multiple_ionic_impedance", + "write_multiple_ionic_impedance_result", "read_multiple_ionic_impedance_result"] +SCHEMA = "solarlab.multiple_ionic_impedance.v1" + + +@dataclass(frozen=True) +class MultipleIonicImpedanceResult: + requested_frequencies_Hz: np.ndarray + voltage_phasor_V: complex + attempts: tuple[IonicImpedanceAttempt, ...] + initial_provenance: dict[str, Any] + compiled_identity: str + original_prepared_identity: str + binding_manifest: dict[str, Any] + source_sha256: dict[str, str] + solver_controls: dict[str, Any] + linear_solver_calls: int + wall_s: float + ion_mode: str = "mobile" + phasor_convention: str = "exp(+i omega t)" + physical_certificate_status: str = "not_evaluated" + + job_provenance: dict[str, Any] | None = field(default_factory=current_provenance) + + def __post_init__(self) -> None: + values = np.array(self.requested_frequencies_Hz, dtype=float, copy=True) + values.setflags(write=False) + object.__setattr__(self, "requested_frequencies_Hz", values) + + @property + def completed(self) -> bool: + return len(self.attempts) == self.requested_frequencies_Hz.size and all(attempt.accepted for attempt in self.attempts) + + @property + def failed_attempts(self) -> tuple[IonicImpedanceAttempt, ...]: + return tuple(attempt for attempt in self.attempts if not attempt.accepted) + + + + +def _checks(device: CompiledMultipleIonicDevice1D, observed: dict[str, Any], linear: FrequencySolution, + voltage: complex, options: IonicImpedanceOptions) -> tuple[GateOutcome, ...]: + def check(name: str, value: float, limit: float) -> GateOutcome: + return GateOutcome(name, math.isfinite(value) and value <= limit, value, limit, + "existing reviewed AC numerical control; qualification not_evaluated") + current = np.asarray(observed["total_current_density_A_m2"], dtype=complex) + if current.shape != (device.node_count + 1,) or set(observed["domains"]) != set(device.domain_ids): + raise ValueError("AC current/domain observation must cover the full assembled device") + normalized = current / voltage + spread, scale = float(np.max(abs(normalized - normalized[0]))), float(np.max(abs(normalized))) + results = [check("linear_system_backward_error", linear.componentwise_backward_error, options.linear.relative_tolerance), + check("original_linear_rows_backward_error", observed["original_componentwise_backward_error"], options.linear.relative_tolerance), + check("all_face_Maxwell_spread_A_m2_V", spread, + options.current_absolute_tolerance_A_m2_V + options.current_relative_tolerance * scale)] + inventories: dict[str, dict[str, complex]] = {} + ratios: dict[str, dict[str, float]] = {} + for domain in device.domains: + name = domain.domain_layer_id + values = observed["domains"][name]["species"]["positive"] + density = np.asarray(values["density_perturbation_m3"], dtype=complex) + if density.shape != (domain.ion_node_count,): + raise ValueError("every original domain population must retain its physical nodes") + weighted = domain.ion_geometry.cell_measures_m * density + inventory = complex(math.fsum(weighted.real.tolist()), math.fsum(weighted.imag.tolist())) + ratio = abs(inventory) / (device.reference_inventories_m2[name]["positive"] * abs(voltage)) + inventories[name], ratios[name] = {"positive": inventory}, {"positive": ratio} + results.append(check(name + ".positive_inventory_relative_per_V", ratio, options.inventory_relative_tolerance_per_V)) + observed["consumer_inventory_perturbation_m2"], observed["consumer_inventory_relative_per_V"] = inventories, ratios + observed["consumer_Maxwell_spread_A_m2_V"] = spread + return tuple(results) + + +def solve_multiple_ionic_impedance(device: CompiledMultipleIonicDevice1D, initial: MultipleIonicTransientInitial, + frequencies_Hz: ArrayLike, *, voltage_phasor_V: complex = 1.0, + ion_mode: str = "mobile", options: IonicImpedanceOptions | None = None) -> MultipleIonicImpedanceResult: + """No DC solve or retry; preserve all requested/accepted/first-failed frequencies.""" + started = time.monotonic() + from solarlab.equations.assembly.small_signal import assembled_multiple_ionic_small_signal + from solarlab.equations.implementation import observation_binding, provenance_binding, use_assembled + from solarlab.equations.multiple_ionic_small_signal import scope, build_multiple_ionic_small_signal + scope(device, ion_mode) + controls = IonicImpedanceOptions() if options is None else options + if not isinstance(controls, IonicImpedanceOptions) or not isinstance(initial, MultipleIonicTransientInitial): + raise ValueError("explicit reviewed controls and pinned accepted multiple-domain DC evidence are required") + requested = _frequencies(frequencies_Hz, controls.linear) + voltage = complex(voltage_phasor_V) + if not np.isfinite(voltage) or voltage == 0.0: + raise ValueError("voltage normalization must be finite and nonzero") + with job_provenance({"compiled_identity": device.identity, "initial_sha256": initial.source_sha256, "steady_controls": asdict(initial.steady_controls), "frequencies_Hz": requested.tolist(), "voltage_phasor_V": [voltage.real, voltage.imag], "ion_mode": ion_mode, "controls": asdict(controls)}, + **provenance_binding("MultipleIonicSmallSignal1D", device, + inventory_row_node=initial.steady_controls.inventory_row_node)): + pins = admitted_source_pins() + state, generation, initial_checks = _admit(device, initial.evidence_json, initial.source_sha256, initial.steady_controls) + if not _same_record(_decode(_encode(state)), _decode(_encode(initial.state))) or initial.generation_scale != generation: + raise ValueError("initial object disagrees with its exact admitted evidence") + operator: MultipleIonicSmallSignal1D | AssembledMultipleIonicSmallSignal1D + if use_assembled(): + operator = assembled_multiple_ionic_small_signal(device, state, generation_scale=generation) + else: + operator = build_multiple_ionic_small_signal(device, state, generation_scale=generation) + pins.update(operator.source_sha256) + deadline = started + controls.wall_s + attempts, calls = [], 0 + def checkpoint() -> None: + if time.monotonic() >= deadline: + raise TimeoutError("multiple-domain AC wall budget exhausted; no retry") + for supplied in requested: + frequency, began = float(supplied), time.monotonic() + solved, observed, error, representation = None, None, None, None + checks: tuple[GateOutcome, ...] = () + try: + checkpoint() + system = operator.system(frequency, voltage_phasor_V=voltage) + representation = system.coordinate_form + if system.original_rows_enforced != tuple(range(device.state_size)): + raise ValueError("AC system omitted an original two-domain balance row") + calls += 1 + solved = solve_frequency_systems(system.jacobian, system.storage_jacobian, system.rhs, [frequency], + options=controls.linear, fixed_coordinates=system.fixed_coordinates, rhs_rate=system.rhs_rate)[0] + checkpoint() + observed = operator.observe(solved.solution, frequency, voltage_phasor_V=voltage, + **observation_binding(operator, system)) + if (not _finite(observed) or observed["original_rows_enforced"] != tuple(range(device.state_size)) + or not np.array_equal(observed["solve_coordinate_perturbation"], solved.solution) + or observed["coordinate_form"] != representation): + raise ValueError("AC observation lost finite original rows or raw solve coordinates") + observed["inventory_constraint_rows"] = system.constraint_rows + checks = _checks(device, observed, solved, voltage, controls) + checkpoint() + accepted = all(item.passed for item in checks) + termination = "converged" if accepted else "numerical_check_failed" + except Exception as exc: + accepted = False + termination = "wall_budget_exhausted" if isinstance(exc, TimeoutError) else "evaluation_error" + error = f"{type(exc).__name__}: {str(exc)[:400]}" + attempts.append(IonicImpedanceAttempt(frequency, accepted, termination, solved, observed, checks, + time.monotonic() - began, error, representation)) + if not accepted: + break + provenance = {"source_path": initial.source_path, "source_sha256": initial.source_sha256, + "state_sha256": state_digest(state.u), "voltage_V": state.voltage_V, "generation_scale": generation, + "steady_controls": asdict(initial.steady_controls), "initial_admission_checks": initial_checks} + recorded = asdict(controls) + recorded["voltage_normalization"] = "linear derivative; not a finite-amplitude voltage experiment" + return MultipleIonicImpedanceResult(requested, voltage, tuple(attempts), provenance, device.identity, + device.original_prepared_sha256, device.binding_manifest, pins, recorded, calls, time.monotonic() - started) + + +def write_multiple_ionic_impedance_result(result: MultipleIonicImpedanceResult, path: str | Path) -> str: + if not isinstance(result, MultipleIonicImpedanceResult): + raise ValueError("an actual multiple-domain AC result is required") + record = {"schema": SCHEMA, "completed": result.completed, "result": _encoded(result)} + raw = (json.dumps(record, indent=2, allow_nan=False) + "\n").encode() + with Path(path).open("xb") as stream: + stream.write(raw) + return hashlib.sha256(raw).hexdigest() + + +def read_multiple_ionic_impedance_result(path: str | Path, sha256: str, *, + current_identity: JobProvenance | dict[str, Any] | None = None, + strict_same_source: bool = False, +) -> dict[str, Any]: + """Checksum-checked prefix validation without compiling, solving or an operator.""" + raw = Path(path).read_bytes() + if hashlib.sha256(raw).hexdigest() != sha256: + raise ValueError("multiple-domain AC artifact SHA-256 mismatch") + try: + record = _decoded(json.loads(raw)) + if record["schema"] != SCHEMA: + raise ValueError("unsupported multiple-domain AC schema") + result = record["result"] + numerical = {name: result["solver_controls"][name] for name in ( + "current_absolute_tolerance_A_m2_V", "current_relative_tolerance", "inventory_relative_tolerance_per_V", "wall_s")} + controls = IonicImpedanceOptions(linear=FrequencyOptions(**result["solver_controls"]["linear"]), **numerical) + requested, attempts = _frequencies(result["requested_frequencies_Hz"], controls.linear), result["attempts"] + voltage = complex(result["voltage_phasor_V"]) + if (result["ion_mode"] != "mobile" or len(attempts) > requested.size + or result["physical_certificate_status"] != "not_evaluated" + or result["phasor_convention"] != "exp(+i omega t)" or not np.isfinite(voltage) or voltage == 0.0): + raise ValueError("inconsistent multiple-domain AC metadata") + for index, attempt in enumerate(attempts): + if (attempt["frequency_Hz"] != requested[index] or type(attempt["accepted"]) is not bool + or (not attempt["accepted"] and index != len(attempts) - 1)): + raise ValueError("AC attempts must retain the requested prefix and first failure") + if attempt["accepted"]: + linear, observed = attempt["linear_solution"], attempt["observation"] + if (attempt["termination"] != "converged" or observed is None or linear is None + or not math.isfinite(linear["componentwise_backward_error"]) + or linear["componentwise_backward_error"] > controls.linear.relative_tolerance + or not attempt["checks"] or not all(item["passed"] is True and math.isfinite(item["value"]) + and item["value"] <= item["limit"] for item in attempt["checks"])): + raise ValueError("contradictory accepted multiple-domain AC evidence") + if (not _finite(observed) or observed["coordinate_form"] != attempt["coordinate_representation"] + or not np.array_equal(observed["solve_coordinate_perturbation"], linear["solution"])): + raise ValueError("AC evidence lost its finite raw solve representation") + if record["completed"] != (len(attempts) == requested.size and all(item["accepted"] for item in attempts)): + raise ValueError("AC completion contradicts its retained attempts") + except (KeyError, TypeError, AttributeError, IndexError) as exc: + raise ValueError("incomplete or malformed multiple-domain AC artifact") from exc + record["provenance_comparison"] = result_provenance(result, current_identity, + strict_same_source=strict_same_source, expected_inputs=None if result.get("job_provenance") is None else {"compiled_identity": result["compiled_identity"], "initial_sha256": result["initial_provenance"]["source_sha256"], + "steady_controls": result["initial_provenance"]["steady_controls"], "frequencies_Hz": result["requested_frequencies_Hz"].tolist(), + "voltage_phasor_V": [voltage.real, voltage.imag], "ion_mode": result["ion_mode"], + "controls": {k: v for k, v in result["solver_controls"].items() if k != "voltage_normalization"}}) + return record diff --git a/src/solarlab/experiments/multiple_ionic_transient.py b/src/solarlab/experiments/multiple_ionic_transient.py new file mode 100644 index 00000000..d7a35439 --- /dev/null +++ b/src/solarlab/experiments/multiple_ionic_transient.py @@ -0,0 +1,359 @@ +"""One explicit native two-domain history from pinned accepted steady evidence.""" + +from __future__ import annotations + +from solarlab.reproducibility.job_provenance import ( + JobProvenance, current_provenance, job_provenance, result_provenance, +) + +from dataclasses import asdict, dataclass, field +from collections.abc import Callable +import hashlib +import json +import math +from pathlib import Path +import time +from typing import Any, cast + +import numpy as np + +from solarlab.contracts import frozen_array +from solarlab.equations.assembly.ionic_1d import ( + AssembledConstrainedMultipleIonic1DProblem, AssembledMultipleIonic1DProblem, +) +from solarlab.equations.implementation import provenance_binding, use_assembled +from solarlab.equations.ionic_closure import immobile_profile_binding, ion_mobility_partition +from solarlab.equations.multiple_ionic_1d import CompiledMultipleIonicDevice1D, MultipleIonic1DProblem, MultipleIonicState1D +from solarlab.experiments.ionic_transient import IonicTransientOptions, _finite_accounting +from solarlab.experiments.transient import TransientProtocol +from solarlab.experiments.transient_results import _decode, _encode +from solarlab.solvers.nonlinear.ionic_1d import IonicSteadyOptions +from solarlab.solvers.nonlinear.multiple_ionic_1d import ConstrainedMultipleIonic1DProblem, multiple_ionic_checks +from solarlab.solvers.nonlinear.newton import NewtonResult, NewtonSettings, solve_newton +from solarlab.solvers.nonlinear.problem import CallableProblem, GateOutcome, Matrix, ResidualScaling, StepControl, state_digest +from solarlab.solvers.nonlinear.production import production_convergence_norm, production_coordinates, production_residual_scaling +from solarlab.solvers.time.assembled_ionic_backward_euler import AssembledMultipleIonicBackwardEuler1DStep +from solarlab.solvers.time.multiple_ionic_backward_euler import MultipleIonicBackwardEuler1DStep, multiple_ionic_step_accounting + +__all__ = ["MultipleIonicTransientInitial", "MultipleIonicTransientAttempt", "MultipleIonicTransientResult", + "load_multiple_ionic_steady_initial", "solve_multiple_ionic_transient", + "write_multiple_ionic_transient", "read_multiple_ionic_transient"] + + +@dataclass(frozen=True) +class MultipleIonicTransientInitial: + state: MultipleIonicState1D + generation_scale: float + source_path: str + source_sha256: str + evidence_json: str + steady_controls: IonicSteadyOptions + + +def _same_record(left: Any, right: Any) -> bool: + if isinstance(left, np.ndarray) or isinstance(right, np.ndarray): + return isinstance(left, np.ndarray) and isinstance(right, np.ndarray) and np.array_equal(left, right) + if isinstance(left, dict) and isinstance(right, dict): + return left.keys() == right.keys() and all(_same_record(left[key], right[key]) for key in left) + if isinstance(left, (list, tuple)) and isinstance(right, (list, tuple)): + return len(left) == len(right) and all(_same_record(a, b) for a, b in zip(left, right)) + return bool(left == right) + + +def _admit( + device: CompiledMultipleIonicDevice1D, text: str, sha256: str, controls: IonicSteadyOptions, +) -> tuple[MultipleIonicState1D, float, tuple[GateOutcome, ...]]: + if not isinstance(device, CompiledMultipleIonicDevice1D) or not isinstance(controls, IonicSteadyOptions): + raise ValueError("a complete device and explicit initial steady controls are required") + immobile = {domain.domain_layer_id: ion_mobility_partition(domain)[1] for domain in device.domains} + if hashlib.sha256(text.encode()).hexdigest() != sha256: + raise ValueError("initial evidence SHA256 mismatch") + document = _decode(json.loads(text)) + if document.get("schema") != "solarlab.multiple_ionic_steady.v1": + raise ValueError("an actual multiple-domain steady result is required") + record = document["result"] + if (record["accepted"] is not True or record["newton"] is None or record["newton"]["accepted"] is not True + or not record["checks"] or not all(item["passed"] for item in record["checks"])): + raise ValueError("missing or failed steady evidence cannot initialize a history") + if (record["compiled_identity"] != device.identity + or record["original_prepared_identity"] != device.original_prepared_sha256 + or record["binding_manifest"] != device.binding_manifest + or record["solver_controls"]["numerical"] != asdict(controls)): + raise ValueError("initial model/source/control binding mismatch") + if any(immobile.values()): + binding = {domain.domain_layer_id: immobile_profile_binding(domain) + for domain in device.domains if immobile[domain.domain_layer_id]} + if record["solver_controls"].get("immobile_profile_binding") != binding: + raise ValueError("initial declared D0 profile binding mismatch") + saved = record["state"] + if saved is None: + raise ValueError("accepted evidence must contain its actual state") + voltage = saved["electronic_state"]["voltage_V"] + state = device.state(saved["u"], voltage_V=voltage) + if (not _same_record(_decode(_encode(state)), saved) + or not np.array_equal(record["newton"]["state"], state.u) + or not np.array_equal(record["candidate_coordinates"], state.u)): + raise ValueError("saved physical fields, coordinates or state identity disagree") + # This reader explicitly admits the dark initial scope by rechecking G=0; + # the old saved envelope did not record a standalone generation field. + generation = 0.0 + problem: ConstrainedMultipleIonic1DProblem | AssembledConstrainedMultipleIonic1DProblem + if use_assembled(): + problem = AssembledConstrainedMultipleIonic1DProblem(AssembledMultipleIonic1DProblem(device, voltage, generation), + controls.inventory_row_node) + else: + problem = ConstrainedMultipleIonic1DProblem(MultipleIonic1DProblem(device, voltage, generation), + controls.inventory_row_node) + checks = multiple_ionic_checks(problem, state.u, controls) + if not all(check.passed for check in checks): + raise ValueError("saved state fails current full original steady revalidation") + return state, generation, checks + + +def load_multiple_ionic_steady_initial( + device: CompiledMultipleIonicDevice1D, path: str | Path, sha256: str, *, controls: IonicSteadyOptions, +) -> MultipleIonicTransientInitial: + source = Path(path) + text = source.read_text() + state, generation, _ = _admit(device, text, sha256, controls) + return MultipleIonicTransientInitial(state, generation, str(source.resolve()), sha256, text, controls) + + +@dataclass(frozen=True) +class MultipleIonicTransientAttempt: + start_s: float + end_s: float + voltage_V: float + generation_scale: float + accepted: bool + termination: str + initial_coordinates: np.ndarray + candidate_coordinates: np.ndarray + newton: NewtonResult | None + accounting: dict[str, Any] | None + checks: tuple[GateOutcome, ...] + evaluation_counts: dict[str, int] + wall_s: float + error: str | None = None + + +@dataclass(frozen=True) +class MultipleIonicTransientResult: + protocol: TransientProtocol + accepted_times_s: np.ndarray + states: tuple[MultipleIonicState1D, ...] + attempts: tuple[MultipleIonicTransientAttempt, ...] + initial_provenance: dict[str, Any] + compiled_identity: str + original_prepared_identity: str + binding_manifest: dict[str, Any] + solver_controls: dict[str, Any] + evaluation_counts: dict[str, int] + wall_s: float + physical_certificate_status: str = "not_evaluated" + + job_provenance: dict[str, Any] | None = field(default_factory=current_provenance) + + def __post_init__(self) -> None: + object.__setattr__(self, "accepted_times_s", frozen_array(self.accepted_times_s)) + + @property + def completed(self) -> bool: + return (len(self.states) == self.protocol.times_s.size and len(self.attempts) == self.protocol.times_s.size - 1 + and all(attempt.accepted for attempt in self.attempts)) + + @property + def failed_attempts(self) -> tuple[MultipleIonicTransientAttempt, ...]: + return tuple(attempt for attempt in self.attempts if not attempt.accepted) + + +def _settings(device: CompiledMultipleIonicDevice1D, options: IonicTransientOptions) -> tuple[NewtonSettings, Callable[[np.ndarray], float]]: + electronic, size = options.electronic, 3 * device.node_count + weights = np.r_[production_residual_scaling(device.electronic_component, + poisson_tolerance=electronic.poisson_tolerance, continuity_tolerance_A_m2=electronic.continuity_tolerance_A_m2, + contact_log_tolerance=electronic.contact_log_tolerance).row_weights, np.zeros(device.state_size - size)] + for domain in device.domains: + for block in device.ion_species_slices[domain.domain_layer_id].values(): + weights[block] = domain.ion_node_count / options.ion_balance_tolerance_m2_s + steps = np.r_[production_coordinates(device.electronic_component, + potential_step_V=electronic.potential_step_V, quasi_fermi_step=electronic.quasi_fermi_step).max_step, + np.full(device.state_size - size, options.ion_logit_step)] + settings = NewtonSettings(ResidualScaling(weights), 1.0, StepControl(steps), electronic.newton_budget, (), False) + electronic_norm = production_convergence_norm(device.electronic_component, convergence_policy=electronic.convergence_policy) + assert electronic_norm is not None + def norm(scaled: np.ndarray) -> float: + if scaled.shape != (device.state_size,) or not np.all(np.isfinite(scaled)): + return math.inf + return max(electronic_norm(scaled[:size]), + *(math.fsum(abs(scaled[block]).tolist()) / domain.ion_node_count + for domain in device.domains for block in device.ion_species_slices[domain.domain_layer_id].values())) + return settings, norm + + +def solve_multiple_ionic_transient( + device: CompiledMultipleIonicDevice1D, initial: MultipleIonicTransientInitial, protocol: TransientProtocol, + *, options: IonicTransientOptions, +) -> MultipleIonicTransientResult: + """Exactly the requested native time steps, stopping at the first failure.""" + started = time.monotonic() + if not isinstance(initial, MultipleIonicTransientInitial) or not isinstance(protocol, TransientProtocol) or not isinstance(options, IonicTransientOptions): + raise ValueError("explicit bound initial evidence, protocol and reviewed ionic controls are required") + with job_provenance({"compiled_identity": device.identity, "initial_sha256": initial.source_sha256, "steady_controls": asdict(initial.steady_controls), "protocol": _encode(protocol), "controls": asdict(options)}, + **provenance_binding("MultipleIonicBackwardEuler1DStep", device, + inventory_row_node=initial.steady_controls.inventory_row_node)): + admitted, generation, admission_checks = _admit(device, initial.evidence_json, initial.source_sha256, initial.steady_controls) + if not _same_record(_decode(_encode(admitted)), _decode(_encode(initial.state))) or initial.generation_scale != generation: + raise ValueError("initial object disagrees with pinned evidence") + if admitted.voltage_V != protocol.voltage_V[0] or generation != protocol.generation_scale[0]: + raise ValueError("initial voltage/generation must match the first protocol sample") + if protocol.times_s.size - 1 > options.electronic.max_steps: + raise ValueError("requested steps exceed the existing max_steps control") + settings, norm = _settings(device, options) + deadline = started + options.electronic.wall_s + assembled = use_assembled() + states, times, attempts = [admitted], [float(protocol.times_s[0])], [] + total = {"residual": 0, "jacobian": 0, "accounting": 0} + def checkpoint() -> None: + if time.monotonic() >= deadline: + raise TimeoutError("two-domain history wall budget exhausted; no retry") + for index in range(1, protocol.times_s.size): + began = time.monotonic() + start, end = float(protocol.times_s[index - 1]), float(protocol.times_s[index]) + voltage, light = float(protocol.voltage_V[index]), float(protocol.generation_scale[index]) + seed = states[-1].u.copy() + candidate = seed.copy() + counts = {"residual": 0, "jacobian": 0, "accounting": 0} + newton, accounting, next_state, error = None, None, None, None + checks: tuple[GateOutcome, ...] = () + def evaluate(kind: str, y: np.ndarray) -> Matrix: + nonlocal candidate + candidate = np.array(y, copy=True) + checkpoint() + counts[kind] += 1 + value = step.residual(y) if kind == "residual" else step.jacobian(y) + checkpoint() + return value + try: + checkpoint() + # The assembled step is constructor-compatible with the original one. + step = (cast(MultipleIonicBackwardEuler1DStep, AssembledMultipleIonicBackwardEuler1DStep( + AssembledMultipleIonic1DProblem(device, voltage, light), states[-1], end - start)) + if assembled else + MultipleIonicBackwardEuler1DStep(MultipleIonic1DProblem(device, voltage, light), states[-1], + end - start)) + seed = step.initial_coordinates() + candidate = seed.copy() + newton = solve_newton(CallableProblem(lambda y: evaluate("residual", y), + lambda y: evaluate("jacobian", y)), seed, settings, convergence_norm=norm) + candidate = newton.state + checkpoint() + next_state = device.state(candidate, voltage_V=voltage) + counts["accounting"] += 1 + accounting = multiple_ionic_step_accounting(step, candidate) + for domain in device.domains: + name = domain.domain_layer_id + for species in ion_mobility_partition(domain)[1]: + index = device.domain_ids.index(name) + before = getattr(states[-1].domain_component_states[index], species + "_ion_density_m3") + after = getattr(next_state.domain_component_states[index], species + "_ion_density_m3") + reference = getattr(domain, species + "_ion_reference_m3") + block = device.ion_species_slices[name][species] + values = accounting["domains"][name]["species"][species] + values["immobile_profile"] = { + "compiled_reference_m3": reference, "previous_density_m3": before, "new_density_m3": after, + "physical_density_increment_m3": values["physical_inventory_increment_m2"] / domain.ion_geometry.cell_measures_m, + "rounded_density_increment_m3": after - before, + "profile_relative_error": float(np.max(abs(after - reference) / reference)), + "step_density_relative_change": float(np.max(abs(after - before) / before)), + "coordinate_increment": candidate[block] - states[-1].u[block], + } + checkpoint() + accepted, termination = newton.accepted, newton.termination.value + if not _finite_accounting(accounting): + accepted, termination = False, "nonfinite_accounting" + residual_norm = norm(settings.scaling.row_weights * accounting["backward_euler_residual"]) + checks_list = [GateOutcome("full_native_BE_norm", residual_norm <= 1.0, residual_norm, 1.0)] + for name, record in accounting["domains"].items(): + for species, values in record["species"].items(): + value = float(values["balance_l1_m2_s"]) + checks_list.append(GateOutcome(name + "." + species + ".all_native_balances", + value <= options.ion_balance_tolerance_m2_s, value, options.ion_balance_tolerance_m2_s)) + current_limit = initial.steady_controls.electronic.current_spread_tolerance_A_m2 + for key in ("maxwell_spread_A_m2", "maxwell_identity_error_A_m2"): + value = float(np.max(abs(np.asarray(accounting[key])))) + checks_list.append(GateOutcome(key, value <= current_limit, value, current_limit)) + checks = tuple(checks_list) + if accepted and not all(check.passed for check in checks): + accepted, termination = False, "original_time_accounting_rejected" + except Exception as exc: + accepted = False + termination = "wall_budget_exhausted" if isinstance(exc, TimeoutError) else "evaluation_error" + error = f"{type(exc).__name__}: {str(exc)[:500]}" + attempts.append(MultipleIonicTransientAttempt(start, end, voltage, light, accepted, termination, + seed, candidate, newton, accounting, checks, counts.copy(), time.monotonic() - began, error)) + for key in total: + total[key] += counts[key] + if not accepted: + break + assert next_state is not None + states.append(next_state) + times.append(end) + recorded = {"numerical": asdict(options), "stopping_norm": "max(original_electronic_norm,each_domain_species_L1/M_domain)", + "operator": "physical_backward_euler_all_native_rows", "inventory_row_replacement": False, + "zero_flux_time_gate": False, "voltage_seed": "original_harmonic_lift_preserving_populations", + "current_accuracy_A_m2": initial.steady_controls.electronic.current_spread_tolerance_A_m2} + provenance = {"source_path": initial.source_path, "source_sha256": initial.source_sha256, + "state_sha256": state_digest(admitted.u), "steady_controls": asdict(initial.steady_controls), + "generation_scale": generation, "generation_admission": "explicit_dark_G0_revalidation", + "admission_checks": admission_checks} + if any(ion_mobility_partition(domain)[1] for domain in device.domains): + provenance["immobile_profile_binding"] = { + domain.domain_layer_id: immobile_profile_binding(domain) + for domain in device.domains if ion_mobility_partition(domain)[1]} + return MultipleIonicTransientResult(protocol, np.asarray(times), tuple(states), tuple(attempts), provenance, + device.identity, device.original_prepared_sha256, device.binding_manifest, recorded, total, + time.monotonic() - started) + + +def write_multiple_ionic_transient(result: MultipleIonicTransientResult, path: str | Path) -> str: + output = Path(path) + if output.exists(): + raise FileExistsError("preserve the original history; no replacement or retry") + output.parent.mkdir(parents=True, exist_ok=True) + document = _encode({"schema": "solarlab.multiple_ionic_transient.v1", "completed": result.completed, "result": result}) + output.write_text(json.dumps(document, indent=2, allow_nan=False) + "\n") + return hashlib.sha256(output.read_bytes()).hexdigest() + + +def read_multiple_ionic_transient(path: str | Path, sha256: str, *, + current_identity: JobProvenance | dict[str, Any] | None = None, + strict_same_source: bool = False, +) -> dict[str, Any]: + """Verify a saved requested/accepted/failed prefix without invoking any solver.""" + text = Path(path).read_text() + if hashlib.sha256(text.encode()).hexdigest() != sha256: + raise ValueError("history SHA256 mismatch") + document = _decode(json.loads(text)) + if document.get("schema") != "solarlab.multiple_ionic_transient.v1": + raise ValueError("wrong native multiple-domain history schema") + result = document["result"] + requested = result["protocol"]["times_s"] + states, attempts = result["states"], result["attempts"] + if (not states or len(attempts) > requested.size - 1 + or not np.array_equal(result["accepted_times_s"], requested[:len(states)]) + or len(states) != 1 + sum(attempt["accepted"] for attempt in attempts) + or any(not attempt["accepted"] for attempt in attempts[:-1])): + raise ValueError("invalid requested/accepted/first-failed prefix") + for index, attempt in enumerate(attempts): + if attempt["start_s"] != requested[index] or attempt["end_s"] != requested[index + 1]: + raise ValueError("attempt times disagree with the explicit request") + if any(state["device_sha256"] != result["compiled_identity"] for state in states): + raise ValueError("saved history contains an unbound state") + completed = len(states) == requested.size and all(attempt["accepted"] for attempt in attempts) + if document["completed"] != completed or result["solver_controls"]["inventory_row_replacement"] is not False: + raise ValueError("completion/native-row contract mismatch") + document["provenance_comparison"] = result_provenance(result, current_identity, + strict_same_source=strict_same_source, expected_inputs=None if result.get("job_provenance") is None else {"compiled_identity": result["compiled_identity"], "initial_sha256": result["initial_provenance"]["source_sha256"], + "steady_controls": result["initial_provenance"]["steady_controls"], "protocol": _encode(result["protocol"]), + "controls": result["solver_controls"]["numerical"]}) + return document diff --git a/src/solarlab/experiments/protocol.py b/src/solarlab/experiments/protocol.py new file mode 100644 index 00000000..92309799 --- /dev/null +++ b/src/solarlab/experiments/protocol.py @@ -0,0 +1,164 @@ +"""P05-01a draft data contracts; no state transfer or experiment execution. + +WS2/WS3 co-signing is still required before registry/service activation. A +content reference locates evidence; it does not certify a working point. +""" + +from __future__ import annotations + +from dataclasses import dataclass +import hashlib +import re +from typing import Any + +from solarlab.io.artifacts import _json_document, _parse_document + +__all__ = ["Protocol", "WorkingPoint", "protocol_schema", "working_point_schema", "SCHEMA_STATUS"] + +SCHEMA_STATUS = "draft_pending_WS2_WS3_cosign" +_PRESERVED = ("state", "inventories", "coordinate_reference", "materials", "damage", "grid", "history") +_POINT_REFS = ("state", "inventories", "coordinate_reference", "materials", "damage", "grid", "history", "qualification") + + +def _text(value: Any) -> None: + if type(value) is not str or not value.strip(): + raise ValueError("an explicit nonempty string is required") + + +def _sha(value: Any) -> None: + if type(value) is not str or re.fullmatch(r"[0-9a-f]{64}", value) is None: + raise ValueError("an explicit SHA-256 content identity is required") + + +def _keys(value: Any, keys: set[str]) -> None: + if type(value) is not dict or set(value) != keys: + raise ValueError("missing or unknown versioned document fields") + + +def _reference(value: Any) -> None: + _keys(value, {"id", "sha256"}) + _text(value["id"]) + _sha(value["sha256"]) + + +def _strings(value: Any, *, nonempty: bool = False) -> None: + if type(value) is not list or nonempty and not value: + raise ValueError("an explicit string list is required") + for item in value: + _text(item) + if len(set(value)) != len(value): + raise ValueError("duplicate declaration") + + +def _ref_schema() -> dict[str, Any]: + return {"type": "object", "additionalProperties": False, "required": ["id", "sha256"], + "properties": {"id": {"type": "string", "minLength": 1}, + "sha256": {"type": "string", "pattern": "^[0-9a-f]{64}$"}}} + + +@dataclass(frozen=True, slots=True) +class Protocol: + """Complete versioned declaration; experiment-owned sections stay intact. + + Preparation, waveform, switching and sampling each name their own schema. + Transfers declare preserved quantities without performing a reset/rebind. + All mutable objects returned to callers are detached from canonical bytes. + """ + + canonical_json: str + + def __post_init__(self) -> None: + value = _parse_document(self.canonical_json) + _keys(value, {"schema", "id", "version", "experiment_id", "preparation", "waveform", "switches", + "sampling", "control_mode", "phases", "transfers"}) + if value["schema"] != "solarlab.protocol.v1" or type(value["version"]) is not int or value["version"] < 1: + raise ValueError("unsupported protocol schema/version") + for name in ("id", "experiment_id", "control_mode"): + _text(value[name]) + for name in ("preparation", "waveform", "switches", "sampling"): + if type(value[name]) is not dict or "schema" not in value[name]: + raise ValueError("each experiment-owned protocol section must name its schema") + _text(value[name]["schema"]) + _strings(value["phases"], nonempty=True) + if type(value["transfers"]) is not list: + raise ValueError("transfers require explicit declarations, including an empty list") + for transfer in value["transfers"]: + _keys(transfer, {"from", "to", "working_point", "preserve"}) + if (transfer["from"] not in value["phases"] or transfer["to"] not in value["phases"] + or transfer["from"] == transfer["to"]): + raise ValueError("transfer endpoints must be distinct declared phases") + _reference(transfer["working_point"]) + _strings(transfer["preserve"], nonempty=True) + if set(transfer["preserve"]) - set(_PRESERVED): + raise ValueError("unknown preserved working-point quantity") + object.__setattr__(self, "canonical_json", _json_document(value)) + + @classmethod + def from_document(cls, value: dict[str, Any]) -> Protocol: + return cls(_json_document(value)) + + def export(self) -> dict[str, Any]: + return _parse_document(self.canonical_json) + + @property + def sha256(self) -> str: + return hashlib.sha256(self.canonical_json.encode()).hexdigest() + + +@dataclass(frozen=True, slots=True) +class WorkingPoint: + """State/reference/material/grid/history identity, not a live state object. + + Physical identity and encoded state are separate supplied identities. Their + equivalence and phase-left/right compatibility need P05-01b validation. + Damage and qualification records are explicit even when they declare none. + """ + + canonical_json: str + + def __post_init__(self) -> None: + value = _parse_document(self.canonical_json) + _keys(value, {"schema", "id", "engine", "owner_epoch", "physical_identity", "state_encoding", *_POINT_REFS}) + if value["schema"] != "solarlab.working-point.v1" or value["engine"] not in {"legacy", "solarlab"}: + raise ValueError("unsupported working-point schema/engine") + for key in ("id", "owner_epoch", "state_encoding"): + _text(value[key]) + _sha(value["physical_identity"]) + for key in _POINT_REFS: + _reference(value[key]) + object.__setattr__(self, "canonical_json", _json_document(value)) + + @classmethod + def from_document(cls, value: dict[str, Any]) -> WorkingPoint: + return cls(_json_document(value)) + + def export(self) -> dict[str, Any]: + return _parse_document(self.canonical_json) + + @property + def sha256(self) -> str: + return hashlib.sha256(self.canonical_json.encode()).hexdigest() + + +def protocol_schema() -> dict[str, Any]: + properties: dict[str, Any] = {"schema": {"const": "solarlab.protocol.v1"}, + "version": {"type": "integer", "minimum": 1}} + properties.update({key: {"type": "string", "minLength": 1} for key in ("id", "experiment_id", "control_mode")}) + properties.update({key: {"type": "object", "required": ["schema"], "properties": {"schema": {"type": "string", "minLength": 1}}} + for key in ("preparation", "waveform", "switches", "sampling")}) + properties["phases"] = {"type": "array", "minItems": 1, "uniqueItems": True, "items": {"type": "string", "minLength": 1}} + properties["transfers"] = {"type": "array", "items": {"type": "object", "additionalProperties": False, + "required": ["from", "to", "working_point", "preserve"], "properties": { + "from": {"type": "string"}, "to": {"type": "string"}, "working_point": _ref_schema(), + "preserve": {"type": "array", "minItems": 1, "uniqueItems": True, "items": {"enum": list(_PRESERVED)}}}}} + return {"$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", + "additionalProperties": False, "required": list(properties), "properties": properties} + + +def working_point_schema() -> dict[str, Any]: + properties: dict[str, Any] = {"schema": {"const": "solarlab.working-point.v1"}, "engine": {"enum": ["legacy", "solarlab"]}, + "physical_identity": {"type": "string", "pattern": "^[0-9a-f]{64}$"}} + properties.update({key: {"type": "string", "minLength": 1} for key in ("id", "owner_epoch", "state_encoding")}) + properties.update({key: _ref_schema() for key in _POINT_REFS}) + return {"$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", + "additionalProperties": False, "required": list(properties), "properties": properties} diff --git a/src/solarlab/experiments/registry.py b/src/solarlab/experiments/registry.py new file mode 100644 index 00000000..a742b4d0 --- /dev/null +++ b/src/solarlab/experiments/registry.py @@ -0,0 +1,233 @@ +"""Deterministic experiment declarations and non-executing preflight. + +References identify actual source contracts awaiting migration. A source path, +schema or successful metadata check is not a registered callable or numerical +qualification. Executor binding belongs to the gated P05 runner; none is +installed by this preparation API. +""" + +from __future__ import annotations + +from collections.abc import Callable, Iterable +import ast +from dataclasses import dataclass, field +import hashlib +from pathlib import Path +import re +from typing import Any, TYPE_CHECKING + +from solarlab.physics.registry import ( + CapabilityRule, EvidenceRef, ModelRef, ModelRegistry, _token, _verify_evidence_sources, + metadata_digest, metadata_value, +) +from solarlab.physics.selection import Selection, validate_selection + +if TYPE_CHECKING: + from solarlab.device.defaults import DefaultCatalog + from solarlab.experiments.jv.preparation import PreparedJVExperiment + from solarlab.experiments.two_dimensional.preparation import PreparedSpatialExperiment + from solarlab.materials.resources import ResourceLibrary + from solarlab.materials.source import SourceDocument + +__all__ = ["ExperimentDefinition", "ExperimentPreflight", "ExperimentRegistry"] + + +@dataclass(frozen=True, slots=True) +class ExperimentDefinition: + id: str + version: int + label: str + parameter_schema: EvidenceRef + result_schema: EvidenceRef + protocol_builder: EvidenceRef + executor_source: EvidenceRef + renderer_id: str + renderer_source: EvidenceRef + capability: CapabilityRule + required_models: tuple[ModelRef, ...] = () + + def __post_init__(self) -> None: + ModelRef(self.id, self.version) + _token(self.renderer_id, "renderer ID") + if not isinstance(self.label, str) or not self.label.strip(): + raise ValueError("experiment requires a display label") + for name in ("parameter_schema", "result_schema", "protocol_builder", "executor_source", "renderer_source"): + if not isinstance(getattr(self, name), EvidenceRef): + raise ValueError(f"experiment {name} requires a source reference") + if not isinstance(self.capability, CapabilityRule): + raise ValueError("experiment requires a declared capability") + models = tuple(self.required_models) + if any(not isinstance(item, ModelRef) for item in models) or len(set(models)) != len(models): + raise ValueError("experiment requires unique versioned model references") + object.__setattr__(self, "required_models", tuple(sorted(models))) + + +@dataclass(frozen=True, slots=True) +class ExperimentPreflight: + experiment: ExperimentDefinition + experiment_registry_sha256: str + selection_sha256: str + declared_problems: tuple[str, ...] + # Non-configurable: declaration-only APIs cannot enable an executor. + can_execute: bool = field(default=False, init=False) + availability_problems: tuple[str, ...] = field( + default=("qualified_executor_not_registered",), init=False, + ) + + def __post_init__(self) -> None: + if not isinstance(self.experiment, ExperimentDefinition): + raise ValueError("preflight requires a declared experiment") + for digest in (self.experiment_registry_sha256, self.selection_sha256): + if not isinstance(digest, str) or re.fullmatch(r"[0-9a-f]{64}", digest) is None: + raise ValueError("preflight requires registry and selection identities") + if isinstance(self.declared_problems, (str, bytes)): + raise ValueError("preflight problems require a sequence") + problems = tuple(self.declared_problems) + if any(not isinstance(item, str) or not item for item in problems): + raise ValueError("invalid preflight problem") + object.__setattr__(self, "declared_problems", tuple(sorted(set(problems)))) + + @property + def declared_compatible(self) -> bool: + return not self.declared_problems + + +@dataclass(frozen=True, slots=True) +class ExperimentRegistry: + definitions: tuple[ExperimentDefinition, ...] + + def __post_init__(self) -> None: + definitions = tuple(self.definitions) + if any(not isinstance(item, ExperimentDefinition) for item in definitions): + raise ValueError("experiment registry requires declarations") + if len({(item.id, item.version) for item in definitions}) != len(definitions): + raise ValueError("duplicate experiment ID/version") + object.__setattr__(self, "definitions", tuple(sorted(definitions, key=lambda item: (item.id, item.version)))) + + def get(self, id: str, version: int) -> ExperimentDefinition: + ModelRef(id, version) + for item in self.definitions: + if (item.id, item.version) == (id, version): + return item + raise ValueError(f"unknown experiment ID/version: {id}/{version}") + + def export(self) -> dict[str, Any]: + return {"schema": "solarlab.experiment-registry.v1", "experiments": metadata_value(self.definitions), + "registered_executors": [], "status": "prepared_pending_dependencies"} + + @property + def content_sha256(self) -> str: + return metadata_digest(self.export()) + + def verify_startup( + self, models: ModelRegistry, sources: Iterable[tuple[str, bytes]], *, + expected_sha256: str, expected_model_sha256: str, + ) -> None: + """Verify the exact registry, schemas and source contracts at startup. + + Source/qualification records are checked as bytes, not promoted to + executable capability. No source path is imported by this check. + """ + if expected_sha256 != self.content_sha256: + raise ValueError("experiment registry changed from the expected frozen identity") + documents = tuple(sources) + models.verify_sources(documents, expected_sha256=expected_model_sha256) + references: list[EvidenceRef] = [] + for item in self.definitions: + references.extend((item.parameter_schema, item.result_schema, item.protocol_builder, + item.executor_source, item.renderer_source, *item.capability.evidence)) + for ref in item.required_models: + models.get(ref) + _verify_evidence_sources(references, documents) + by_id = dict(documents) + for item in self.definitions: + for reference in (item.parameter_schema, item.result_schema, item.protocol_builder, + item.executor_source, item.renderer_source): + path, _, symbol = reference.id.partition("#") + if not symbol: + continue + if path.endswith(".py"): + body = ast.parse(by_id[path]).body + for part in symbol.split("."): + node = next((node for node in body if isinstance(node, (ast.ClassDef, ast.FunctionDef, ast.AsyncFunctionDef)) + and node.name == part), None) + if node is None: + raise ValueError(f"declared entry symbol is absent: {reference.id}") + body = node.body + elif reference is item.renderer_source and path.endswith((".ts", ".js")): + pattern = r"\bexport\s+(?:async\s+)?function\s+" + re.escape(symbol) + r"\s*\(" + if re.search(pattern, by_id[path].decode("utf-8")) is None: + raise ValueError(f"declared renderer symbol is absent: {reference.id}") + + def prepare( + self, id: str, version: int, input: Any, + defaults: DefaultCatalog, resources: ResourceLibrary, *, + models: ModelRegistry, selection: Selection, + startup_sources: Iterable[tuple[str, bytes]], + expected_sha256: str, expected_model_sha256: str, + sources: tuple[SourceDocument, ...] = (), + ) -> PreparedJVExperiment | PreparedSpatialExperiment: + """Call an existing public data preparer after the complete startup check. + + Only the two actual preparation functions below are dispatchable. A + legacy executor reference remains evidence, never a callable fallback. + Input schema bytes bind the DTO; result_schema binds the actual source + contract of the immutable prepared result, not a future P05 result DTO. + """ + self.verify_startup(models, startup_sources, expected_sha256=expected_sha256, + expected_model_sha256=expected_model_sha256) + preflight = self.preflight(id, version, selection, models) + if not preflight.declared_compatible: + raise ValueError("experiment preparation capability refused: " + "; ".join(preflight.declared_problems)) + definition = preflight.experiment + from solarlab.config.model_parameters import device_topology + from solarlab.config.resolve_device import resolve_device + from solarlab.experiments.jv.inputs import JVExperimentInput + from solarlab.experiments.jv.preparation import PreparedJVExperiment, prepare_jv_experiment + from solarlab.experiments.two_dimensional.inputs import SpatialExperimentInput + from solarlab.experiments.two_dimensional.preparation import PreparedSpatialExperiment, prepare_spatial_experiment + + symbol = definition.protocol_builder.id.partition("#")[2] + result_type: type[PreparedJVExperiment | PreparedSpatialExperiment] + factory: Callable[..., PreparedJVExperiment | PreparedSpatialExperiment] + if symbol == "prepare_jv_experiment": + dto, result_type, factory, dimension = JVExperimentInput, PreparedJVExperiment, prepare_jv_experiment, 1 + elif symbol == "prepare_spatial_experiment": + dto, result_type, factory, dimension = SpatialExperimentInput, PreparedSpatialExperiment, prepare_spatial_experiment, 2 + else: + raise ValueError("experiment is not bound to a supported public preparation entry") + current_source = Path(factory.__code__.co_filename).read_bytes() + digest = hashlib.sha256(current_source).hexdigest() + if definition.protocol_builder.sha256 != digest: + raise ValueError("loaded preparation source differs from its registry binding") + if (definition.result_schema.id.partition("#")[2] != result_type.__name__ + or definition.result_schema.sha256 != digest): + raise ValueError("prepared result source contract differs from its registry binding") + if definition.parameter_schema.sha256 != metadata_digest(dto.model_json_schema(mode="validation")): + raise ValueError("actual preparation input schema differs from its registry binding") + checked = dto.model_validate(input) + if checked.experiment.kind != id or selection.context.dimension != dimension: + raise ValueError("experiment kind/dimension differs from the selected registry entry") + device = resolve_device(checked.device, defaults, resources, sources=sources) + if selection.topology != device_topology(device): + raise ValueError("selected model topology differs from the actual prepared device") + if selection.context.temperature_K is not None and selection.context.temperature_K != device.values["settings"]["T"]: + raise ValueError("selected temperature context differs from the actual prepared device") + statistics = {layer.material.values["carrier_statistics"] for layer in device.layers if layer.role != "substrate"} + if statistics != {selection.context.statistics}: + raise ValueError("selected statistics context differs from the actual prepared device") + return factory(checked, defaults, resources, sources=sources) + + def preflight( + self, id: str, version: int, selection: Selection, models: ModelRegistry, + ) -> ExperimentPreflight: + problems = list(validate_selection(selection, models)) + experiment = self.get(id, version) + refs = tuple(sorted({item.model for item in selection.instances})) + problems.extend(f"experiment:{reason}" for reason in experiment.capability.problems(selection.context, refs)) + for ref in experiment.required_models: + models.get(ref) + if ref not in refs: + problems.append(f"experiment:missing_model:{ref.id}/{ref.version}") + return ExperimentPreflight(experiment, self.content_sha256, selection.content_sha256, + tuple(sorted(set(problems)))) diff --git a/src/solarlab/experiments/results.py b/src/solarlab/experiments/results.py new file mode 100644 index 00000000..22d99449 --- /dev/null +++ b/src/solarlab/experiments/results.py @@ -0,0 +1,233 @@ +"""Draft P05-01a result envelopes and lossless bounded array serialization. + +The seven original NumericsHardening §0.2 labels retain their scopes. A +successful run cannot promote them. Physics/state transfer remains P05-01b. +Large arrays belong in the existing independently verified NPY artifacts. +""" + +from __future__ import annotations + +from dataclasses import dataclass +import hashlib +import math +from typing import Any + +from solarlab.experiments.protocol import _keys, _reference, _ref_schema, _sha, _strings, _text +from solarlab.io.artifacts import _json_document, _parse_document + +__all__ = ["EVIDENCE_LABELS", "ExperimentResult", "encode_array", "decode_array", "result_schema", "array_schema"] + +EVIDENCE_LABELS = ("PARKED", "FIRST_SLICE", "INTERNAL_TESTED", "INTERNAL_CERTIFIED", "CROSS_CODE_CALIBRATED", + "EXTERNAL_SOLVER_VALIDATED", "EXPERIMENT_VALIDATED") +_BINDINGS = ("source", "schema", "registry", "physics", "protocol", "initial", "numerics", "resources") +_HEADER = {"run_id", "attempt_id", "experiment_id", "engine", "manifest_sha256", "outcome", "reason", "bindings", "evidence"} +_MAX_ARRAY_RANK = 32 + + +@dataclass(frozen=True, slots=True) +class ExperimentResult: + canonical_json: str + + def __post_init__(self) -> None: + value = _parse_document(self.canonical_json) + _keys(value, {"schema", "header", "payload_schema", "payload", "metrics"}) + if value["schema"] != "solarlab.experiment-result.v1": + raise ValueError("unsupported result schema") + _text(value["payload_schema"]) + if type(value["payload"]) is not dict or type(value["metrics"]) is not dict: + raise ValueError("experiment payload and metrics must be explicit objects") + header = value["header"] + _keys(header, _HEADER) + for name in ("run_id", "attempt_id", "experiment_id"): + _text(header[name]) + _sha(header["manifest_sha256"]) + if header["engine"] not in {"legacy", "solarlab"} or header["outcome"] not in {"completed", "failed", "partial"}: + raise ValueError("explicit engine and completed/failed/partial outcome required") + if header["outcome"] == "completed": + if header["reason"] is not None: + raise ValueError("a completed result has no failure reason") + else: + _text(header["reason"]) + _keys(header["bindings"], set(_BINDINGS)) + for record in header["bindings"].values(): + _reference(record) + if type(header["evidence"]) is not list or not header["evidence"]: + raise ValueError("original scoped evidence labels must be supplied") + for item in header["evidence"]: + _keys(item, {"label", "scope", "sources", "limitations"}) + if item["label"] not in EVIDENCE_LABELS: + raise ValueError("unknown original evidence label") + _strings(item["scope"], nonempty=True) + _strings(item["limitations"]) + if type(item["sources"]) is not list: + raise ValueError("evidence source references must be explicit") + if item["label"] not in {"PARKED", "FIRST_SLICE"} and not item["sources"]: + raise ValueError("tested/validated labels require source references, independently verified upstream") + for record in item["sources"]: + _reference(record) + for name, metric in value["metrics"].items(): + _text(name) + _keys(metric, {"status", "value", "reason"}) + if metric["status"] not in {"identified", "unidentified"}: + raise ValueError("metric identification is separate from run completion") + if metric["value"] is None: + _text(metric["reason"]) + elif (metric["status"] != "identified" or type(metric["value"]) not in (int, float) + or metric["reason"] is not None): + raise ValueError("an unidentified or missing metric cannot carry a numeric value") + object.__setattr__(self, "canonical_json", _json_document(value)) + + @classmethod + def from_document(cls, value: dict[str, Any]) -> ExperimentResult: + return cls(_json_document(value)) + + def export(self) -> dict[str, Any]: + return _parse_document(self.canonical_json) + + @property + def sha256(self) -> str: + return hashlib.sha256(self.canonical_json.encode()).hexdigest() + + +def _dtype(value: Any) -> Any: + import numpy as np + dtype = np.dtype(value) + if dtype.str != value or dtype.fields or dtype.kind not in "biufc" or ( + dtype.kind == "f" and dtype.itemsize not in (4, 8) or dtype.kind == "c" and dtype.itemsize not in (8, 16) + ): + raise ValueError("arrays require canonical bool/integer/binary32/binary64 or matching complex dtype") + return dtype + + +def _component(array: Any) -> dict[str, Any]: + import numpy as np + flat = array.ravel(order="C") + words, size = flat.tobytes(), flat.dtype.itemsize + values, mask, reasons, special = [], [], [], [] + for index, number in enumerate(flat): + missing = not bool(np.isfinite(number)) + values.append(None if missing else number.item()) + mask.append(missing) + reasons.append(("nan" if np.isnan(number) else "negative_infinity" if np.signbit(number) else "positive_infinity") if missing else None) + special.append(words[index * size:(index + 1) * size].hex() if missing else None) + return {"values": values, "mask": mask, "reasons": reasons, "nonfinite_words": special} + + +def encode_array(array: Any, *, unit: str) -> dict[str, Any]: + """real/imag + shape; nonfinite values are null/mask/reason, with raw words. + + Supplemental words retain NaN payloads/signs without treating them as valid + metrics. Finite decimal JSON round-trips to the exact source dtype words. + Boolean words must be canonical 00/01; other true representations refuse + before conversion to Python bool can silently normalize their bytes. + """ + import numpy as np + if type(array) is not np.ndarray: + raise TypeError("expected an explicit numpy array") + _text(unit) + dtype = _dtype(array.dtype.str) + if array.ndim > _MAX_ARRAY_RANK: + raise ValueError("array rank exceeds the schema/decoder limit of 32") + if dtype.kind == "b" and any(word not in (0, 1) for word in array.tobytes(order="C")): + raise ValueError("noncanonical boolean words require a raw artifact; inline encoding accepts only 00/01") + value = {"schema": "solarlab.numeric-array.v1", "dtype": dtype.str, "shape": list(array.shape), "unit": unit, + "real": _component(array.real), "imag": _component(array.imag) if dtype.kind == "c" else None} + _json_document(value) # Bounded inline contract; large arrays use artifacts. + return value + + +def decode_array(value: dict[str, Any]) -> Any: + import numpy as np + _json_document(value) + _keys(value, {"schema", "dtype", "shape", "unit", "real", "imag"}) + if value["schema"] != "solarlab.numeric-array.v1": + raise ValueError("unknown numeric array schema") + _text(value["unit"]) + dtype = _dtype(value["dtype"]) + shape = value["shape"] + if type(shape) is not list or len(shape) > _MAX_ARRAY_RANK or any(type(n) is not int or n < 0 for n in shape): + raise ValueError("invalid array shape") + count = math.prod(shape) + real_dtype = np.empty(0, dtype=dtype).real.dtype + + def read_component(component: Any) -> bytes: + _keys(component, {"values", "mask", "reasons", "nonfinite_words"}) + if any(type(items) is not list or len(items) != count for items in component.values()): + raise ValueError("component lengths differ from shape") + parts = [] + for number, masked, reason, word in zip(component["values"], component["mask"], component["reasons"], component["nonfinite_words"]): + if type(masked) is not bool: + raise ValueError("nonfinite mask requires booleans") + if masked: + if number is not None or reason not in {"nan", "positive_infinity", "negative_infinity"} or type(word) is not str: + raise ValueError("nonfinite component requires null, reason and original words") + raw = bytes.fromhex(word) + if len(raw) != real_dtype.itemsize: + raise ValueError("nonfinite word has the wrong dtype size") + else: + if number is None or reason is not None or word is not None: + raise ValueError("finite component cannot be missing or masked") + if (real_dtype.kind == "b" and type(number) is not bool + or real_dtype.kind in "iu" and type(number) is not int + or real_dtype.kind == "f" and type(number) is not float): + raise ValueError("finite component has the wrong scalar type") + raw = np.asarray([number], dtype=real_dtype).tobytes() + parts.append(raw) + return b"".join(parts) + + real = read_component(value["real"]) + if dtype.kind == "c": + imag = read_component(value["imag"]) + size = real_dtype.itemsize + raw = b"".join(real[i:i + size] + imag[i:i + size] for i in range(0, len(real), size)) + else: + if value["imag"] is not None: + raise ValueError("real arrays cannot carry an imaginary component") + raw = real + result = np.frombuffer(raw, dtype=dtype).reshape(shape).copy() + if _json_document(encode_array(result, unit=value["unit"])) != _json_document(value): + raise ValueError("array values/mask/reasons/words are inconsistent or noncanonical") + return result + + +def array_schema() -> dict[str, Any]: + component = {"type": "object", "additionalProperties": False, + "required": ["values", "mask", "reasons", "nonfinite_words"], "properties": { + "values": {"type": "array", "items": {"type": ["number", "boolean", "null"]}}, + "mask": {"type": "array", "items": {"type": "boolean"}}, + "reasons": {"type": "array", "items": {"enum": [None, "nan", "positive_infinity", "negative_infinity"]}}, + "nonfinite_words": {"type": "array", "items": {"type": ["string", "null"]}}}} + return {"$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "additionalProperties": False, + "required": ["schema", "dtype", "shape", "unit", "real", "imag"], "properties": { + "schema": {"const": "solarlab.numeric-array.v1"}, "dtype": {"type": "string"}, + "shape": {"type": "array", "maxItems": _MAX_ARRAY_RANK, "items": {"type": "integer", "minimum": 0}}, + "unit": {"type": "string", "minLength": 1}, "real": component, + "imag": {"anyOf": [component, {"type": "null"}]}}} + + +def result_schema() -> dict[str, Any]: + properties: dict[str, Any] = {key: {"type": "string", "minLength": 1} for key in ("run_id", "attempt_id", "experiment_id")} + properties.update(engine={"enum": ["legacy", "solarlab"]}, manifest_sha256={"type": "string", "pattern": "^[0-9a-f]{64}$"}, + outcome={"enum": ["completed", "failed", "partial"]}, reason={"type": ["string", "null"]}, + bindings={"type": "object", "additionalProperties": False, "required": list(_BINDINGS), + "properties": {name: _ref_schema() for name in _BINDINGS}}, + evidence={"type": "array", "minItems": 1, "items": {"type": "object", "additionalProperties": False, + "required": ["label", "scope", "sources", "limitations"], "properties": { + "label": {"enum": list(EVIDENCE_LABELS)}, "scope": {"type": "array", "minItems": 1, "uniqueItems": True, "items": {"type": "string", "minLength": 1}}, + "sources": {"type": "array", "items": _ref_schema()}, "limitations": {"type": "array", "uniqueItems": True, "items": {"type": "string", "minLength": 1}}}}}) + header = {"type": "object", "additionalProperties": False, + "required": sorted(_HEADER), "properties": properties, "allOf": [{ + "if": {"properties": {"outcome": {"const": "completed"}}}, + "then": {"properties": {"reason": {"type": "null"}}}, + "else": {"properties": {"reason": {"type": "string", "minLength": 1}}}}]} + metric = {"type": "object", "additionalProperties": False, "required": ["status", "value", "reason"], + "properties": {"status": {"enum": ["identified", "unidentified"]}, + "value": {"type": ["number", "null"]}, "reason": {"type": ["string", "null"]}}, + "allOf": [{"if": {"properties": {"value": {"type": "null"}}}, + "then": {"properties": {"reason": {"type": "string", "minLength": 1}}}, + "else": {"properties": {"status": {"const": "identified"}, "reason": {"type": "null"}}}}]} + return {"$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "additionalProperties": False, + "required": ["schema", "header", "payload_schema", "payload", "metrics"], "properties": { + "schema": {"const": "solarlab.experiment-result.v1"}, "header": header, + "payload_schema": {"type": "string", "minLength": 1}, "payload": {"type": "object"}, + "metrics": {"type": "object", "additionalProperties": metric}}} diff --git a/src/solarlab/experiments/transient.py b/src/solarlab/experiments/transient.py new file mode 100644 index 00000000..5e85ff2b --- /dev/null +++ b/src/solarlab/experiments/transient.py @@ -0,0 +1,287 @@ +"""Driven voltage/generation transients from an accepted same-device DC state. + +The caller specifies every time and endpoint voltage/generation value. There are no +automatic substeps/retries, steady settling stages, or scientific certificates. +Newton acceptance concerns the physical backward-Euler residual, not constant +DC conduction current. The first failed attempt and accepted prefix are kept. +""" + +from __future__ import annotations + +from collections.abc import Callable +from dataclasses import asdict, dataclass +import math +import time +from typing import TYPE_CHECKING, Literal, cast, overload + +import numpy as np + +from solarlab.contracts import frozen_array +from solarlab.equations.assembly.classical_1d import AssembledDC1DProblem, classical_dc_1d +from solarlab.equations.dc_1d import CompiledDevice1D, DC1DProblem, State1D +from solarlab.equations.implementation import equation_implementation, selected_implementation, use_assembled +from solarlab.experiments.jv.operating_points import _verify_point +from solarlab.solvers.nonlinear.newton import NewtonResult, NewtonSettings, solve_newton +from solarlab.solvers.nonlinear.problem import CallableProblem, Matrix, SolveBudget +from solarlab.solvers.nonlinear.production import ( + HISTORICAL_MAX_ROW_V1, POISSON_CONTACT_BALANCE_V1, production_convergence_norm, + production_coordinates, production_residual_scaling, +) +from solarlab.solvers.nonlinear.steady_1d import SteadyOptions, SteadyState1D +from solarlab.solvers.time import BackwardEuler1DStep, step_accounting +from solarlab.solvers.time.assembled_storage import AssembledStorage1D + +if TYPE_CHECKING: + from solarlab.solvers.time.bdf import BDFOptions, BDFResult + from solarlab.solvers.time.bdf_1d import BDFDrive + +__all__ = ["TransientProtocol", "TransientOptions", "TransientAttempt", "TransientResult1D", "solve_transient"] + + +@dataclass(frozen=True) +class TransientProtocol: + """Explicit voltage/generation samples at each BE right endpoint. + + There is no inferred event interpolation or steady solve at intermediate + biases. The samples drive a time history, not a steady JV scan. + """ + + times_s: np.ndarray + voltage_V: np.ndarray + generation_scale: np.ndarray + + def __post_init__(self) -> None: + for name in ("times_s", "voltage_V", "generation_scale"): + if np.iscomplexobj(getattr(self, name)): + raise ValueError(f"{name} must be real; complex values are unsupported") + array = frozen_array(getattr(self, name)) + object.__setattr__(self, name, array) + times = self.times_s + with np.errstate(over="ignore"): + differences = np.diff(times) if times.ndim == 1 else np.asarray([]) + if (times.ndim != 1 or times.size < 2 or not np.all(np.isfinite(differences)) + or np.any(differences <= 0.0)): + raise ValueError("times_s must be an explicit strictly increasing finite vector") + if any(a.shape != times.shape for a in (self.voltage_V, self.generation_scale)): + raise ValueError("voltage and generation must have one value per requested time") + if np.any(self.generation_scale < 0.0): + raise ValueError("generation_scale must be nonnegative") + + +@dataclass(frozen=True) +class TransientOptions: + """Required numerical tolerances, step limits, and finite work budgets.""" + + poisson_tolerance: float + continuity_tolerance_A_m2: float + contact_log_tolerance: float + potential_step_V: float + quasi_fermi_step: float + newton_budget: SolveBudget + max_steps: int + wall_s: float + predictor: str + convergence_policy: str + + def __post_init__(self) -> None: + for name in ("poisson_tolerance", "continuity_tolerance_A_m2", "contact_log_tolerance", + "potential_step_V", "quasi_fermi_step", "wall_s"): + if not math.isfinite(getattr(self, name)) or getattr(self, name) <= 0.0: + raise ValueError(f"{name} must be finite and positive") + if type(self.max_steps) is not int or self.max_steps < 1: + raise ValueError("max_steps must be a positive integer") + if not isinstance(self.newton_budget, SolveBudget): + raise ValueError("newton_budget must be explicit SolveBudget controls") + if self.predictor not in ("previous", "generation_inventory"): + raise ValueError("predictor must be previous or generation_inventory") + if self.convergence_policy not in (HISTORICAL_MAX_ROW_V1, POISSON_CONTACT_BALANCE_V1): + raise ValueError("unknown convergence policy") + + +@dataclass(frozen=True) +class TransientAttempt: + start_s: float + end_s: float + voltage_V: float + generation_scale: float + accepted: bool + termination: str + initial_coordinates: np.ndarray + candidate_coordinates: np.ndarray + newton: NewtonResult | None + accounting: dict[str, object] | None + wall_s: float + error: str | None = None + + def __post_init__(self) -> None: + for name in ("initial_coordinates", "candidate_coordinates"): + value = np.array(getattr(self, name), dtype=float, copy=True) + value.setflags(write=False) + object.__setattr__(self, name, value) + + +@dataclass(frozen=True) +class TransientResult1D: + protocol: TransientProtocol + accepted_times_s: np.ndarray + states: tuple[State1D, ...] + attempts: tuple[TransientAttempt, ...] + initial: SteadyState1D + compiled_identity: str + solver_controls: dict[str, object] + initial_controls: dict[str, object] + wall_s: float + physical_certificate_status: str = "not_evaluated" + + def __post_init__(self) -> None: + object.__setattr__(self, "accepted_times_s", frozen_array(self.accepted_times_s)) + + @property + def completed(self) -> bool: + return len(self.states) == self.protocol.times_s.size and all(a.accepted for a in self.attempts) + + @property + def failed_attempts(self) -> tuple[TransientAttempt, ...]: + return tuple(a for a in self.attempts if not a.accepted) + + +class _WallBudgetExceeded(RuntimeError): + pass + + +@overload +def solve_transient(compiled: CompiledDevice1D, initial: SteadyState1D, protocol: TransientProtocol, *, + options: TransientOptions, initial_options: SteadyOptions, method: Literal["backward_euler"] = "backward_euler", + bdf_options: BDFOptions | None = None, bdf_drive: BDFDrive | None = None) -> TransientResult1D: ... + + +@overload +def solve_transient(compiled: CompiledDevice1D, initial: SteadyState1D, protocol: TransientProtocol, *, + options: TransientOptions, initial_options: SteadyOptions, method: Literal["bdf"], + bdf_options: BDFOptions, bdf_drive: BDFDrive | None = None) -> BDFResult: ... + + +def solve_transient( + compiled: CompiledDevice1D, + initial: SteadyState1D, + protocol: TransientProtocol, + *, + options: TransientOptions, + initial_options: SteadyOptions, + method: str = "backward_euler", + bdf_options: BDFOptions | None = None, + bdf_drive: BDFDrive | None = None, +) -> TransientResult1D | BDFResult: + """Run exactly the requested BE steps; stop and retain the first failure. + +The wall budget is monotonic and checked around each residual/Jacobian and +accounting call; individual SciPy operations are not preempted. No wall clock +or evaluation budget is reset after failure. Initial DC gates are rechecked +only for admission of the initial state, never used to gate transient steps. +For a changing voltage, the recorded Newton seed is rebased and harmonically +lifted to the new electrode potentials while preserving old carrier densities. +The full physical secant already includes reference-voltage changes, so no +additional voltage-rate storage term is added. +""" + if method == "bdf": + from solarlab.experiments.bdf import solve_electronic_bdf + if bdf_options is None: + raise ValueError("BDF selection requires explicit BDFOptions") + with equation_implementation(selected_implementation(operator="BDFStep:DC1DProblem")): + return solve_electronic_bdf(compiled, initial, protocol, options=options, + initial_options=initial_options, bdf_options=bdf_options, drive=bdf_drive) + if method != "backward_euler": + raise ValueError("unknown time integrator") + started = time.monotonic() + if not isinstance(compiled, CompiledDevice1D) or not isinstance(initial, SteadyState1D): + raise ValueError("an actual compiled device and accepted same-device DC initial state are required") + if not isinstance(protocol, TransientProtocol) or not isinstance(options, TransientOptions): + raise ValueError("an explicit TransientProtocol and TransientOptions are required") + if not isinstance(initial_options, SteadyOptions): + raise ValueError("initial_options must contain the DC admission controls") + if not {"ion_free", "classical_1d_dc", "maxwell_boltzmann"} <= set(compiled.capabilities): + raise ValueError("transient capability is limited to ion-free classical 1D") + if protocol.times_s.size - 1 > options.max_steps: + raise ValueError("requested timepoints exceed max_steps") + if initial.voltage_V != protocol.voltage_V[0] or initial.generation_scale != protocol.generation_scale[0]: + raise ValueError("initial voltage/generation must equal the first protocol sample") + if not np.array_equal(compiled.geometry.cell_measures_m[1:-1], compiled.poisson.interior_widths_m): + raise ValueError("carrier and Poisson control volumes must agree") + if any(channel.kind not in {"fixed_reservoir", "robin", "blocking"} for channel in compiled.channels): + raise ValueError("unsupported contact channel for the transient slice") + _verify_point(compiled, initial, initial.generation_scale, initial_options) + settings = NewtonSettings( + production_residual_scaling(compiled, poisson_tolerance=options.poisson_tolerance, + continuity_tolerance_A_m2=options.continuity_tolerance_A_m2, + contact_log_tolerance=options.contact_log_tolerance), + 1.0, production_coordinates(compiled, potential_step_V=options.potential_step_V, + quasi_fermi_step=options.quasi_fermi_step), + options.newton_budget, (), False, + ) + deadline = started + options.wall_s + # One bound assembled system serves every step (the BE bridge's storage adapter). + binding = classical_dc_1d(compiled) if use_assembled() else None + states, accepted_times, attempts = [initial.state], [float(protocol.times_s[0])], [] + for index in range(1, protocol.times_s.size): + start, end = float(protocol.times_s[index - 1]), float(protocol.times_s[index]) + voltage, generation = float(protocol.voltage_V[index]), float(protocol.generation_scale[index]) + # The storage adapter has the step's endpoint surface (as in the BE bridge). + endpoint = (DC1DProblem(compiled, voltage, generation) if binding is None + else cast(DC1DProblem, AssembledStorage1D(AssembledDC1DProblem(compiled, voltage, generation, + binding)))) + step = BackwardEuler1DStep(endpoint, states[-1], end - start) + candidate = step.initial_coordinates(voltage_lift=True) + initial_guess = candidate.copy() + attempt_start = time.monotonic() + newton, accounting, error = None, None, None + + def checkpoint() -> None: + if time.monotonic() >= deadline: + raise _WallBudgetExceeded("transient wall budget exhausted; no retry") + + def evaluate(function: Callable[[np.ndarray], Matrix], u: np.ndarray) -> Matrix: + nonlocal candidate + candidate = np.array(u, copy=True) + checkpoint() + value = function(u) + checkpoint() + return value + + try: + checkpoint() + candidate = step.initial_coordinates(options.predictor, voltage_lift=True) + initial_guess = candidate.copy() + newton = solve_newton( + CallableProblem(lambda u: evaluate(step.residual, u), lambda u: evaluate(step.jacobian, u)), + candidate, settings, + convergence_norm=production_convergence_norm(compiled, convergence_policy=options.convergence_policy), + ) + candidate = newton.state + checkpoint() + if np.all(np.isfinite(candidate)): + _, n, p = compiled.fields(candidate, voltage_V=voltage) + if np.all(np.isfinite(n)) and np.all(np.isfinite(p)) and np.all(n > 0) and np.all(p > 0): + accounting = step_accounting(step, candidate) + checkpoint() + accepted, termination = newton.accepted, newton.termination.value + if accepted and (accounting is None or any( + not np.all(np.isfinite(value)) for value in accounting.values() + if isinstance(value, (np.ndarray, float)) + )): + accepted, termination = False, "nonfinite_accounting" + except Exception as exc: + accepted = False + termination = "wall_budget_exhausted" if isinstance(exc, _WallBudgetExceeded) else "evaluation_error" + error = f"{type(exc).__name__}: {str(exc)[:400]}" + attempts.append(TransientAttempt(start, end, voltage, generation, accepted, termination, + initial_guess, candidate, newton, accounting, + time.monotonic() - attempt_start, error)) + if not accepted: + break + states.append(compiled.state(candidate, voltage_V=voltage)) + accepted_times.append(end) + recorded_controls = asdict(options) + if np.any(protocol.voltage_V != protocol.voltage_V[0]): + recorded_controls["voltage_seed_policy"] = "harmonic_potential_preserve_densities_when_voltage_changes" + return TransientResult1D(protocol, np.asarray(accepted_times), tuple(states), tuple(attempts), initial, + compiled.identity, recorded_controls, asdict(initial_options), time.monotonic() - started) diff --git a/src/solarlab/experiments/transient_results.py b/src/solarlab/experiments/transient_results.py new file mode 100644 index 00000000..094ad682 --- /dev/null +++ b/src/solarlab/experiments/transient_results.py @@ -0,0 +1,456 @@ +"""Transient history publication on RunStore, with a solver-free reader. + +Primary physical arrays use the existing immutable NPY artifacts. Raw Newton +and accounting diagnostics use the existing lossless numeric codec. A returned +TransientResult1D has no historical source/runtime or node-grid provenance; +only the explicit computation wrapper can supply a contemporaneous capture. +""" +from __future__ import annotations + +from dataclasses import asdict, dataclass, fields, is_dataclass +from datetime import datetime, timezone +from enum import Enum +import hashlib +import math +import re +from typing import TYPE_CHECKING, Any, Literal, cast, overload + +import numpy as np + +from solarlab.reproducibility.job_provenance import ( + JobProvenance, admitted_source_pins, job_provenance, read_provenance, result_provenance, publication_binding, +) +from solarlab.experiments.results import decode_array, encode_array +from solarlab.io.artifacts import ( + ArtifactPayload, _json_document, _parse_document, array_artifact, bytes_artifact, +) + +if TYPE_CHECKING: + from solarlab.experiments.bdf_results import CapturedBDFRun + from solarlab.equations.dc_1d import CompiledDevice1D + from solarlab.experiments.transient import TransientOptions, TransientProtocol, TransientResult1D + from solarlab.io.run_store import AttemptToken, RunStore + from solarlab.solvers.nonlinear.steady_1d import SteadyOptions, SteadyState1D + from solarlab.solvers.time.bdf import BDFOptions, BDFResult + from solarlab.solvers.time.bdf_1d import BDFDrive + +__all__ = ["CapturedTransientRun", "run_transient_for_publication", + "publish_transient_result", "read_transient_result", "transient_result_payload"] + +_SCHEMA = "solarlab.transient-result.v1" +_CURRENTS = tuple(prefix + "current_density_A_m2" for prefix in ( + "conduction_", "displacement_", "total_", "terminal_conduction_", + "terminal_displacement_", "terminal_total_")) +_UNITS = {"requested_times_s": "s", "requested_voltage_V": "V", "requested_generation_scale": "1", + "accepted_times_s": "s", "nodes_m": "m", "potential_V": "V", + "electron_density_m3": "m^-3", "hole_density_m3": "m^-3", + **{name: "A/m^2" for name in _CURRENTS}} +_TAGS = {"$array", "$scalar", "$float", "$tuple"} +_SOURCE_MODULES = (__name__, "solarlab.experiments.transient", "solarlab.solvers.time.backward_euler", + "solarlab.solvers.nonlinear.newton", "solarlab.solvers.nonlinear.problem", + "solarlab.solvers.nonlinear.production", "solarlab.solvers.nonlinear.steady_1d", + "solarlab.experiments.jv.operating_points", "solarlab.equations.dc_1d", + "solarlab.physics.transport.electrochemical_flux", "solarlab.physics.recombination.bulk", + "solarlab.physics.recombination.reaction", "solarlab.physics.electrostatics.poisson", + "solarlab.physics.contacts.boundary_flux", "solarlab.discretization.stable_bernoulli", + "solarlab.contracts.units") + + +def _digest(value: Any) -> str: + return hashlib.sha256(_json_document(value).encode()).hexdigest() + + +def _fingerprint(array: np.ndarray) -> dict[str, Any]: + return {"dtype": array.dtype.str, "shape": list(array.shape), + "sha256": hashlib.sha256(array.tobytes(order="C")).hexdigest()} + + +def _same(left: np.ndarray, right: np.ndarray) -> bool: + return _fingerprint(left) == _fingerprint(right) + + +def _encode(value: Any) -> Any: + """Plain dataclass fields, explicit tuples and original nonfinite words.""" + if is_dataclass(value) and not isinstance(value, type): + return {field.name: _encode(getattr(value, field.name)) for field in fields(value)} + if type(value) is np.ndarray: + return {"$array": encode_array(value, unit="raw diagnostic; units follow the named producer field")} + if isinstance(value, np.generic): + return {"$scalar": encode_array(np.asarray(value), unit="raw diagnostic")} + if isinstance(value, Enum): + return _encode(value.value) + if type(value) is tuple: + return {"$tuple": [_encode(item) for item in value]} + if type(value) is list: + return [_encode(item) for item in value] + if type(value) is dict: + if any(type(key) is not str for key in value) or set(value) & _TAGS: + raise ValueError("diagnostics require plain string keys without codec tags") + return {key: _encode(item) for key, item in value.items()} + if type(value) is float and not math.isfinite(value): + return {"$float": encode_array(np.asarray(value), unit="raw diagnostic")} + if value is None or type(value) in {str, bool, int, float}: + return value + raise ValueError("unsupported raw diagnostic type: " + type(value).__name__) + + +def _decode(value: Any) -> Any: + if type(value) is list: + return [_decode(item) for item in value] + if type(value) is dict: + tags = set(value) & _TAGS + if tags: + if len(value) != 1: + raise ValueError("ambiguous raw diagnostic tag") + tag, = tags + if tag == "$tuple": + if type(value[tag]) is not list: + raise ValueError("invalid diagnostic tuple") + return tuple(_decode(item) for item in value[tag]) + array = decode_array(value[tag]) + if tag != "$array": + if array.shape != (): + raise ValueError("diagnostic scalar must have scalar shape") + return array.item() if tag == "$float" else array[()] + return array + return {key: _decode(item) for key, item in value.items()} + return value + + +def _validate(data: dict[str, Any], arrays: dict[str, np.ndarray], diagnostics: dict[str, Any]) -> None: + """Validate relationships and completeness, not physical convergence gates.""" + if (data["schema"] != _SCHEMA or data["engine"] != "solarlab" + or data["physical_certificate_status"] != "not_evaluated" + or re.fullmatch(r"[0-9a-f]{64}", data["compiled_identity"]) is None + or set(arrays) != set(_UNITS)): + raise ValueError("invalid transient result domain or physical status") + if any(a.dtype != np.dtype("float64") or not np.all(np.isfinite(a)) for a in arrays.values()): + raise ValueError("accepted physical arrays must be finite float64 values") + times, accepted, nodes = arrays["requested_times_s"], arrays["accepted_times_s"], arrays["nodes_m"] + if (times.ndim != 1 or times.size < 2 or not np.all(np.isfinite(np.diff(times))) or np.any(np.diff(times) <= 0) + or nodes.ndim != 1 or nodes.size < 2 or np.any(np.diff(nodes) <= 0) + or accepted.ndim != 1 or not 1 <= accepted.size <= times.size + or not _same(accepted, times[:accepted.size])): + raise ValueError("accepted times must be an exact prefix on the declared time/grid vectors") + if (arrays["requested_voltage_V"].shape != times.shape + or arrays["requested_generation_scale"].shape != times.shape + or np.any(arrays["requested_generation_scale"] < 0)): + raise ValueError("incomplete requested protocol") + count, width = accepted.size, nodes.size + for name in ("potential_V", "electron_density_m3", "hole_density_m3"): + if arrays[name].shape != (count, width): + raise ValueError("accepted field shape differs from time/node grid: " + name) + if any(np.any(arrays[name] <= 0) for name in ("electron_density_m3", "hole_density_m3")): + raise ValueError("accepted carrier densities must be positive") + for name in _CURRENTS: + expected = (count - 1, 2 if name.startswith("terminal_") else width - 1) + if arrays[name].shape != expected: + raise ValueError("step-current shape differs from accepted right endpoints: " + name) + attempts = diagnostics["attempts"] + accepted_flags = [a["accepted"] for a in attempts] + if (any(type(flag) is not bool for flag in accepted_flags) + or accepted_flags not in ([True] * (count - 1), [True] * (count - 1) + [False])): + raise ValueError("attempts must preserve the accepted prefix and at most one final failure") + completed = count == times.size and accepted_flags == [True] * (count - 1) + if not completed and accepted_flags != [True] * (count - 1) + [False]: + raise ValueError("an incomplete result must retain its first failed attempt") + expected_outcome = "completed" if completed else "partial" + reason = None if completed else attempts[-1]["termination"] + if (data["outcome"] != expected_outcome or data["reason"] != reason + or data["requested_count"] != times.size or data["accepted_count"] != count + or data["attempt_count"] != len(attempts)): + raise ValueError("transient outcome/counts differ from retained history") + if len(diagnostics["accepted_state_coordinates"]) != count or len(diagnostics["state_device_identities"]) != count: + raise ValueError("missing accepted state diagnostics") + if any(identity != data["compiled_identity"] for identity in diagnostics["state_device_identities"]): + raise ValueError("accepted state belongs to another compiled device") + for u in diagnostics["accepted_state_coordinates"]: + if u.shape != (3 * width,) or not np.all(np.isfinite(u)): + raise ValueError("invalid accepted solver coordinates") + if not _same(np.asarray(diagnostics["accepted_state_voltage_V"]), arrays["requested_voltage_V"][:count]): + raise ValueError("state reference voltages differ from accepted protocol") + initial = diagnostics["initial"] + if (initial["state"]["device_sha256"] != data["compiled_identity"] + or initial["newton"]["accepted"] is not True + or initial["voltage_V"] != arrays["requested_voltage_V"][0] + or initial["generation_scale"] != arrays["requested_generation_scale"][0]): + raise ValueError("initial steady state differs from the transient protocol/device") + for name in ("potential_V", "electron_density_m3", "hole_density_m3"): + if not _same(initial["state"][name], arrays[name][0]): + raise ValueError("initial field differs from first accepted state") + if not _same(initial["state"]["u"], diagnostics["accepted_state_coordinates"][0]): + raise ValueError("initial coordinate words differ from first accepted state") + for index, attempt in enumerate(attempts): + if (attempt["start_s"] != times[index] or attempt["end_s"] != times[index + 1] + or attempt["voltage_V"] != arrays["requested_voltage_V"][index + 1] + or attempt["generation_scale"] != arrays["requested_generation_scale"][index + 1]): + raise ValueError("attempt timing/driving values differ from requested protocol") + for key in ("initial_coordinates", "candidate_coordinates"): + if attempt[key].shape != (3 * width,): + raise ValueError("attempt coordinates have wrong shape") + if attempt["accepted"]: + if attempt["newton"] is None or attempt["newton"]["accepted"] is not True or attempt["accounting"] is None: + raise ValueError("accepted attempt lacks raw Newton/accounting evidence") + if attempt["accounting"]["physical_certificate_status"] != "not_evaluated": + raise ValueError("transient accounting cannot promote physical status") + for name in _CURRENTS: + if not _same(attempt["accounting"][name], arrays[name][index]): + raise ValueError("stored current differs from raw accepted-step accounting") + + +def _payload(result: TransientResult1D, nodes_m: np.ndarray) -> tuple[dict[str, Any], dict[str, ArtifactPayload]]: + from solarlab.experiments.transient import TransientResult1D + if type(result) is not TransientResult1D or type(nodes_m) is not np.ndarray: + raise ValueError("an actual TransientResult1D and explicit numpy node grid are required") + arrays = {"requested_times_s": result.protocol.times_s, "requested_voltage_V": result.protocol.voltage_V, + "requested_generation_scale": result.protocol.generation_scale, "accepted_times_s": result.accepted_times_s, + "nodes_m": nodes_m} + for name in ("potential_V", "electron_density_m3", "hole_density_m3"): + arrays[name] = np.stack([getattr(state, name) for state in result.states]) + for name in _CURRENTS: + values = [cast(dict[str, Any], attempt.accounting)[name] for attempt in result.attempts if attempt.accepted] + arrays[name] = (np.stack(values) if values else np.empty((0, 2 if name.startswith("terminal_") else nodes_m.size - 1))) + diagnostics = _encode({"initial": result.initial, "attempts": result.attempts, + "accepted_state_coordinates": tuple(state.u for state in result.states), + "accepted_state_voltage_V": tuple(state.voltage_V for state in result.states), + "state_device_identities": tuple(state.device_sha256 for state in result.states), + "solver_controls": result.solver_controls, "initial_controls": result.initial_controls, "wall_s": result.wall_s}) + data = {"schema": _SCHEMA, "engine": "solarlab", "compiled_identity": result.compiled_identity, + "requested_count": result.protocol.times_s.size, "accepted_count": result.accepted_times_s.size, + "attempt_count": len(result.attempts), "outcome": "completed" if result.completed else "partial", + "reason": result.failed_attempts[0].termination if result.failed_attempts else None, + "physical_certificate_status": result.physical_certificate_status} + _validate(data, arrays, _decode(diagnostics)) + payloads = {name: array_artifact(array, unit=_UNITS[name], metadata={"schema": _SCHEMA, + "compiled_identity": result.compiled_identity}) for name, array in arrays.items()} + payloads["transient_diagnostics"] = bytes_artifact(_json_document(diagnostics).encode(), + metadata={"schema": _SCHEMA, "role": "raw_diagnostics", "compiled_identity": result.compiled_identity}) + return data, payloads + + +def _result_digest(data: dict[str, Any], payloads: dict[str, ArtifactPayload]) -> str: + return _digest({"summary": data, "payloads": {name: value.sha256 for name, value in payloads.items()}}) + + + + +def _inputs(compiled_identity: str, arrays: dict[str, np.ndarray], initial: dict[str, Any], controls: Any) -> dict[str, Any]: + return {"compiled_identity": compiled_identity, + "protocol_and_grid": {name: _fingerprint(arrays[name]) for name in + ("requested_times_s", "requested_voltage_V", "requested_generation_scale", "nodes_m")}, + "initial_state": {name: _fingerprint(initial["state"][name]) for name in + ("u", "potential_V", "electron_density_m3", "hole_density_m3")}, + "initial_controls": _encode(controls)} + + +@dataclass(frozen=True, slots=True) +class CapturedTransientRun: + result: TransientResult1D + nodes_m: np.ndarray + capture_json: str + + @property + def identity(self) -> dict[str, str]: + return dict(_parse_document(self.capture_json)["identity"]) + + +@overload +def run_transient_for_publication( + compiled: CompiledDevice1D, initial: SteadyState1D, protocol: TransientProtocol, *, + options: TransientOptions, initial_options: SteadyOptions, + method: Literal["backward_euler"] = "backward_euler", bdf_options: None = None, + bdf_drive: None = None, +) -> CapturedTransientRun: ... + + +@overload +def run_transient_for_publication( + compiled: CompiledDevice1D, initial: SteadyState1D, protocol: TransientProtocol, *, + options: TransientOptions, initial_options: SteadyOptions, method: Literal["bdf"], + bdf_options: BDFOptions, bdf_drive: BDFDrive | None = None, +) -> CapturedBDFRun: ... + + +def run_transient_for_publication( + compiled: CompiledDevice1D, initial: SteadyState1D, protocol: TransientProtocol, *, + options: TransientOptions, initial_options: SteadyOptions, + method: str = "backward_euler", bdf_options: BDFOptions | None = None, + bdf_drive: BDFDrive | None = None, +) -> CapturedTransientRun | CapturedBDFRun: + """Capture this call's actual inputs/source/runtime, then run the existing solver. + + It makes no claim about when/how the supplied compiled device or initial + DC state was produced. No HEAD, build commit, release or certificate is + inferred. Sources are contemporaneous file hashes, not a source archive. + """ + if method == "bdf": + from solarlab.experiments.bdf_results import run_bdf_for_publication + if bdf_options is None: + raise ValueError("BDF publication requires explicit BDFOptions") + return run_bdf_for_publication(compiled, initial, protocol, options=options, + initial_options=initial_options, bdf_options=bdf_options, bdf_drive=bdf_drive) + if method != "backward_euler" or bdf_options is not None or bdf_drive is not None: + raise ValueError("mixed or unknown transient publication method/options") + from solarlab.equations.implementation import provenance_binding + from solarlab.experiments.transient import solve_transient + nodes = np.frombuffer(compiled.nodes_m.tobytes(), dtype=compiled.nodes_m.dtype).reshape(compiled.nodes_m.shape) + arrays = {"requested_times_s": protocol.times_s, "requested_voltage_V": protocol.voltage_V, + "requested_generation_scale": protocol.generation_scale, "nodes_m": nodes} + inputs = _inputs(compiled.identity, arrays, _decode(_encode(initial)), asdict(initial_options)) + with job_provenance({"inputs": inputs, "numerics": _encode(asdict(options))}, + **provenance_binding("BackwardEuler1DStep", compiled)) as admitted: + description = {"scope": "solve_transient_call", "inputs": inputs, "numerics": _encode(asdict(options)), + "sources": admitted_source_pins(path_keys=True), "job_provenance": admitted.envelope(), + "runtime": admitted.export()["runtime_observed"], + "source_content": "admitted execution snapshot; historical inputs retain their own identities", + "build_source_commit": admitted.export()["git_commit"], + "compiled_device_history": None, "initial_dc_history": None} + started = datetime.now(timezone.utc).isoformat() + result = solve_transient(compiled, initial, protocol, options=options, initial_options=initial_options) + data, payloads = _payload(result, nodes) + identity = {"H_input": _digest(inputs), "H_physics": compiled.identity, "H_execution": _digest(description)} + record = {"status": "captured_at_computation", "started_utc": started, + "finished_utc": datetime.now(timezone.utc).isoformat(), "description": description, + "identity": identity, "result_sha256": _result_digest(data, payloads)} + return CapturedTransientRun(result, nodes, _json_document(record)) + + +def publish_transient_result( + store: RunStore, token: AttemptToken, result: TransientResult1D | BDFResult, *, nodes_m: np.ndarray, + capture: CapturedTransientRun | CapturedBDFRun | None = None, +) -> dict[str, Any]: + """Publish into an already claimed attempt; its owner still commits the terminal.""" + if getattr(result, "schema", None) == "solarlab.physical_storage_bdf12.v1": + from solarlab.experiments.bdf_results import CapturedBDFRun, publish_bdf_result + if type(capture) is not CapturedBDFRun: + raise ValueError("BDF publication requires its contemporaneous capture") + return publish_bdf_result(store, token, cast("BDFResult", result), nodes_m=nodes_m, capture=capture) + result = cast("TransientResult1D", result) + capture = cast("CapturedTransientRun | None", capture) + data, payloads = _payload(result, nodes_m) + identity = store.get_run(token.run_id)["request"]["identity"] + provenance: dict[str, Any] = {"status": "not_recorded", + "reason": "returned TransientResult1D has no historical source/runtime or node-grid provenance", + "node_grid": "caller_supplied; shape_checked_only"} + if capture is not None: + if type(capture) is not CapturedTransientRun: + raise ValueError("capture must come from the explicit computation wrapper") + record = _parse_document(capture.capture_json) + if not _same(capture.nodes_m, nodes_m) or record["result_sha256"] != _result_digest(data, payloads): + raise ValueError("computation capture belongs to different result/grid words") + if identity != record["identity"]: + raise ValueError("RunStore identity differs from the captured computation") + provenance = record + publication = None + if provenance.get("description", {}).get("job_provenance") is not None: + publication = publication_binding(provenance["description"]["job_provenance"], owner=asdict(token), + request_identity=identity, result_sha256=_result_digest(data, payloads)) + records = {name: store.publish(token, name, payload) for name, payload in payloads.items()} + manifest = {"summary": data, "store_id": token.store_id, "run_id": token.run_id, "attempt_id": token.attempt_id, "generation": token.generation, + "identity": identity, "provenance": provenance, + **({"provenance_publication": publication} if publication is not None else {}), + "current_alignment": "accepted_times_s[1:]; no displacement current exists at the initial sample", + "payloads": {name: {"artifact_id": item["artifact_id"], "sha256": item["sha256"], + "metadata": item["metadata"]} for name, item in records.items()}} + raw = _json_document(manifest).encode() + record = store.publish(token, "transient_manifest", bytes_artifact(raw, + metadata={"schema": _SCHEMA, "role": "result_manifest", "compiled_identity": result.compiled_identity})) + return {**data, "store_id": token.store_id, "run_id": token.run_id, "attempt_id": token.attempt_id, "generation": token.generation, + "manifest_artifact_id": record["artifact_id"], "manifest_sha256": hashlib.sha256(raw).hexdigest(), + "artifact_ids": [*[item["artifact_id"] for item in records.values()], record["artifact_id"]]} + + +def read_transient_result(store: RunStore, run_id: str, *, attempt_id: str | None = None, + current_identity: JobProvenance | dict[str, Any] | None = None, strict_same_source: bool = False) -> dict[str, Any]: + """Read committed complete/partial results and raw diagnostics without a solver.""" + run = store.get_run(run_id) + selected = run["current_attempt_id"] if attempt_id is None else attempt_id + attempt = next((a for a in store.attempts(run_id) if a["attempt_id"] == selected), None) + if attempt is None or attempt["state"] not in {"succeeded", "failed", "cancelled"} or attempt["terminal"] is None: + raise ValueError("a committed terminal attempt of this run is required") + document = attempt["result"] + if type(document) is dict and document.get("schema") == "solarlab.bdf-publication.v1": + from solarlab.experiments.bdf_results import read_bdf_result + return read_bdf_result(store, run_id, attempt_id=selected, + current_identity=current_identity, strict_same_source=strict_same_source) + if type(document) is not dict or document.get("schema") != _SCHEMA: + raise ValueError("attempt does not contain a transient publication") + origin = {"run_id": run_id, "attempt_id": selected, "generation": attempt["generation"]} + if document.get("store_id") != store.store_id or any(document.get(key) != value for key, value in origin.items()): + raise ValueError("transient result belongs to a different attempt/generation") + terminal_ids = [item["artifact_id"] for item in attempt["terminal"]["artifacts"]] + if (len(document["artifact_ids"]) != 16 or len(set(document["artifact_ids"])) != 16 + or len(terminal_ids) != 16 or set(terminal_ids) != set(document["artifact_ids"])): + raise ValueError("terminal lacks the exact transient artifact set") + terminal_references = {item["artifact_id"]: item for item in attempt["terminal"]["artifacts"]} + + def record(identifier: str, name: str) -> dict[str, Any]: + item = store.artifact(identifier) + if (identifier not in terminal_ids or item["name"] != name or item["phase"] != "committed" + or any(item[key] != value for key, value in origin.items()) + or item["metadata"].get("schema") != _SCHEMA + or item["metadata"].get("compiled_identity") != document["compiled_identity"]): + raise ValueError("transient artifact role/attempt/compiled identity mismatch") + if item["manifest_sha256"] != terminal_references[identifier]["manifest_sha256"]: + raise ValueError("terminal reference differs from the committed artifact manifest") + return item + + manifest_record = record(document["manifest_artifact_id"], "transient_manifest") + raw = store.read_artifact(manifest_record["artifact_id"]) + if hashlib.sha256(raw).hexdigest() != document["manifest_sha256"]: + raise ValueError("transient manifest hash mismatch") + manifest = _parse_document(raw.decode()) + if (manifest["store_id"] != store.store_id or any(manifest[key] != value for key, value in origin.items()) + or manifest["identity"] != run["request"]["identity"] + or any(document.get(key) != value for key, value in manifest["summary"].items()) + or set(manifest["payloads"]) != {*_UNITS, "transient_diagnostics"}): + raise ValueError("transient manifest differs from its terminal result") + arrays, payloads = {}, {} + for name, bound in manifest["payloads"].items(): + item = record(bound["artifact_id"], name) + if item["sha256"] != bound["sha256"] or item["metadata"] != bound["metadata"]: + raise ValueError("artifact hash/unit/shape metadata differs from its transient manifest") + content = store.read_artifact(item["artifact_id"]) + payloads[name] = ArtifactPayload(content, item["format"], _json_document(item["metadata"])) + if name in _UNITS: + if item["metadata"].get("unit") != _UNITS[name]: + raise ValueError("unexpected transient physical unit: " + name) + arrays[name] = store.read_array(item["artifact_id"]) + diagnostics = _decode(_parse_document(payloads["transient_diagnostics"].data.decode())) + _validate(manifest["summary"], arrays, diagnostics) + if document["outcome"] != "completed" and attempt["state"] == "succeeded": + raise ValueError("an incomplete transient cannot claim a succeeded terminal") + provenance = manifest["provenance"] + if provenance["status"] == "captured_at_computation": + description = provenance["description"] + inputs = _inputs(document["compiled_identity"], arrays, diagnostics["initial"], diagnostics["initial_controls"]) + job = description.get("job_provenance") + if job is not None: + expected_publication = publication_binding(job, + owner={"store_id": store.store_id, "run_id": run_id, "attempt_id": selected, + "owner_id": attempt["owner_id"], "generation": attempt["generation"]}, + request_identity=run["request"]["identity"], result_sha256=provenance["result_sha256"]) + if manifest.get("provenance_publication") != expected_publication: + raise ValueError("transient provenance publication owner/input/result binding differs") + if job is None: + if description["build_source_commit"] is not None: + raise ValueError("legacy transient capture cannot invent a build source commit") + elif read_provenance(job).export()["git_commit"] != description["build_source_commit"]: + raise ValueError("transient capture source commit differs from admitted provenance") + expected = {"H_input": _digest(inputs), "H_physics": document["compiled_identity"], "H_execution": _digest(description)} + if (description["scope"] != "solve_transient_call" + or any(description[name] is not None for name in ("compiled_device_history", "initial_dc_history")) + or description["inputs"] != inputs or provenance["identity"] != expected or manifest["identity"] != expected + or provenance["result_sha256"] != _result_digest(manifest["summary"], payloads)): + raise ValueError("transient computation capture differs from the saved inputs/result") + elif provenance["status"] != "not_recorded": + raise ValueError("unknown transient provenance status") + return {"document": document, "manifest": manifest, "arrays": arrays, "diagnostics": diagnostics, + "run_state": attempt["state"], "provenance": provenance, + "provenance_comparison": result_provenance(provenance.get("description", {}), current_identity, + strict_same_source=strict_same_source, + expected_inputs=None if provenance["status"] != "captured_at_computation" else { + "inputs": provenance["description"]["inputs"], "numerics": provenance["description"]["numerics"]})} + +# Public entry point for trusted companion preparation. +transient_result_payload = _payload diff --git a/src/solarlab/experiments/transient_worker.py b/src/solarlab/experiments/transient_worker.py new file mode 100644 index 00000000..e6d32c4c --- /dev/null +++ b/src/solarlab/experiments/transient_worker.py @@ -0,0 +1,354 @@ +"""Cold ion-free transient jobs and solver-free readback on the shared runtime. + +The worker returns the accepted transient publisher's payloads. The supervisor +alone publishes them and commits success or numerical failure. Cancellation +and resource overrides discard late output through the existing owner. +""" +from __future__ import annotations + +from solarlab.reproducibility.job_provenance import ( + JobProvenance, read_provenance, validate_recorded_sources, worker_result_provenance, +) + +from dataclasses import asdict, dataclass +from datetime import datetime, timezone +import importlib.metadata +import json +import platform +from typing import TYPE_CHECKING, Any + +from solarlab.config.identity import ( + BuildSource, ExecutionDescription, ExecutionEngine, ExecutionManifest, IdentityInputs, ModelInputs, + RuntimeEnvironment, execution_manifest, input_identity, physics_identity, +) +from solarlab.config.model_parameters import device_topology, layer_parameter_source +from solarlab.device.resolved import PreparedDevice +from solarlab.experiments.jv.worker import ( + _PACKAGES, _THREADS, _adapter_sources, _document, _verify_sources, validate_steady_jv_scope, +) +from solarlab.experiments.worker import ( + ManifestBinding, ResourceLimits, WorkerBinding, WorkerContext, WorkerRequest, WorkerResult, + observe_environment, +) +from solarlab.materials.source import SourceDocument +from solarlab.physics.registry import ( + CapabilityContext, CapabilityRule, EvidenceRef, ModelDefinition, ModelRef, ModelRegistry, Scope, +) +from solarlab.physics.selection import ModelChoice, select_models +from solarlab.physics.semantic_projection import SemanticProjection + +if TYPE_CHECKING: + from solarlab.experiments.execution import JobHandle, ProcessSupervisor + from solarlab.experiments.transient import TransientOptions, TransientProtocol + from solarlab.io.run_store import RunStore + from solarlab.solvers.nonlinear.steady_1d import SteadyOptions + +__all__ = ["TransientJob", "prepare_transient_job", "transient_worker_binding", + "run_transient_worker", "read_transient_job", "transient_identity_inputs"] + +_ID = "transient_1d" +_SCHEMA = _document("solarlab.transient.worker-request.v1", { + "engine": "solarlab", "fields": ["schema", "engine", "prepared_sha256", "protocol", + "intervals_per_layer", "transient_options", "initial_options"]}) +_REGISTRY = _document("solarlab.transient.worker-registry.v1", { + "engine": "solarlab", "worker": _ID, "scope": "classical_ion_free_1d_transient", "fallback": "forbidden"}) +_RESULT = "solarlab.transient.worker-result.v1" +_PHYSICS_SOURCES = ("solarlab/device/compile_1d.py", "solarlab/equations/dc_1d.py", + "solarlab/solvers/time/backward_euler.py") + + +def _identity_inputs(prepared: PreparedDevice, implementation: BuildSource) -> IdentityInputs: + sources = tuple(next((s for s in implementation.files if s.id == name), None) for name in _PHYSICS_SOURCES) + if any(source is None for source in sources): + raise ValueError("actual compiler, equation and conservative time sources must be bound") + # This selection describes the implemented law; it grants no scientific certificate. + checked = tuple(source for source in sources if source is not None) + ref = ModelRef("classical_1d_transient", 1) + rule = CapabilityRule("source_bound_classical_transient", (1,), ("transient",), + tuple(EvidenceRef(s.id, s.sha256, "source") for s in checked), + backends=(_ID,), statistics=("maxwell_boltzmann",)) + definition = ModelDefinition(ref, "Conservative ion-free 1D source binding", "classical_transient", + ("layer",), "node", ("mu_n", "mu_p", "tau_n", "tau_p", "alpha", "B_rad", "C_n", "C_p", "N_A", "N_D"), + (), (), rule, parameter_schema="full_layer") + registry = ModelRegistry((definition,)) + defaults = {"layer": (ModelChoice("classical_transient", ref, parameter_schema="full_layer"),)} + topology = device_topology(prepared) + parameters = {Scope("layer", (layer.id,)): layer_parameter_source(layer) + for layer in prepared.layers if layer.id in topology.electrical_layer_ids} + context = CapabilityContext(1, "transient", _ID, "maxwell_boltzmann", + temperature_K=prepared.to_mapping()["settings"]["T"]) + selection = select_models(registry, topology, context, defaults, parameters, {}) + return IdentityInputs(prepared, selection, registry, ModelInputs.from_mappings(defaults=defaults, overrides={}), + (SemanticProjection(ref, "all_values_v1", checked),)) + + +def _body(prepared: PreparedDevice, protocol: TransientProtocol, intervals: int, + options: TransientOptions, initial_options: SteadyOptions) -> dict[str, Any]: + return {"schema": _SCHEMA.id, "engine": "solarlab", "prepared_sha256": prepared.content_sha256, + "protocol": {name: getattr(protocol, name).tolist() for name in ("times_s", "voltage_V", "generation_scale")}, + "intervals_per_layer": intervals, "transient_options": asdict(options), "initial_options": asdict(initial_options)} + + +def _roles(prepared: PreparedDevice, body: dict[str, Any], implementation: BuildSource) -> dict[str, SourceDocument]: + return { + "protocol": _document("solarlab.transient.protocol.v1", body["protocol"]), + "preparation": _document("solarlab.transient.preparation.v1", { + "prepared_sha256": prepared.content_sha256, "resolved_experiment": prepared.to_mapping(), + "source_experiment": [{"id": s.id, "sha256": s.sha256, "content_hex": s.content.hex()} + for s in prepared.sources], + "adapter_sources": _adapter_sources(implementation), + "source_scope": "supplied_committed_core_plus_explicit_adapter_bytes", + "cold_compile_per_job": True, "fallback": "forbidden"}), + "initial_state": _document("solarlab.transient.initial-recipe.v1", { + "prepared_sha256": prepared.content_sha256, "recipe": "cold_solve_steady_state_in_worker", + "voltage_V": body["protocol"]["voltage_V"][0], + "generation_scale": body["protocol"]["generation_scale"][0], + "supplied_working_point": False, "cross_job_reuse": False}), + "grid": _document("solarlab.transient.grid-recipe.v1", { + "intervals_per_layer": body["intervals_per_layer"], "electrical_grid": prepared.to_mapping()["electrical_grid"]}), + "numeric_controls": _document("solarlab.transient.controls.v1", { + "transient": body["transient_options"], "initial_dc": body["initial_options"]}), + } + + +def _validate_controls(protocol: TransientProtocol, intervals: int, options: TransientOptions, + initial_options: SteadyOptions) -> None: + from solarlab.experiments.transient import TransientOptions, TransientProtocol + from solarlab.solvers.nonlinear.steady_1d import SteadyOptions + + if type(protocol) is not TransientProtocol or type(options) is not TransientOptions or type(initial_options) is not SteadyOptions: + raise ValueError("explicit transient protocol, time controls and initial DC controls are required") + if type(intervals) is not int or intervals < 2: + raise ValueError("explicit integer intervals_per_layer >= 2 required") + if protocol.times_s.size - 1 > options.max_steps: + raise ValueError("requested protocol exceeds its explicit step budget") + + +@dataclass(frozen=True, slots=True) +class TransientJob: + request: WorkerRequest + execution: ManifestBinding + + def submit(self, supervisor: ProcessSupervisor, run_id: str, limits: ResourceLimits) -> JobHandle: + if limits.accepted_steps is not None or limits.calls is not None: + raise ValueError("this cold DC/transient adapter does not observe whole-job counter budgets") + return supervisor.submit(run_id, _ID, self.request, limits, execution=self.execution) + + +def prepare_transient_job(prepared: PreparedDevice, protocol: TransientProtocol, *, + intervals_per_layer: int, options: TransientOptions, initial_options: SteadyOptions, + implementation: BuildSource, current_repository_head: str, engine: ExecutionEngine, +) -> TransientJob: + """Bind explicit experiment/protocol/controls and source bytes; perform no solve.""" + if type(engine) is not ExecutionEngine or engine.name != "solarlab" or type(implementation) is not BuildSource: + raise ValueError("explicit solarlab engine and actual implementation sources required") + validate_steady_jv_scope(prepared) + _validate_controls(protocol, intervals_per_layer, options, initial_options) + inputs = _identity_inputs(prepared, implementation) + body = _body(prepared, protocol, intervals_per_layer, options, initial_options) + from solarlab.equations.implementation import selection_setting + + # The child installs these before any engine import: a queued or spawned + # job runs the equation selection of the parent that prepared it. + settings = tuple(sorted([*((name, "1") for name in _THREADS), selection_setting()])) + environment = RuntimeEnvironment(platform.python_implementation(), platform.python_version(), + platform.system(), platform.machine(), tuple((n, importlib.metadata.version(n)) for n in _PACKAGES), + tuple((name, json.dumps(value)) for name, value in settings)) + description = ExecutionDescription(**_roles(prepared, body, implementation), implementation=implementation, + environment=environment, current_repository_head=current_repository_head) + _verify_sources(description) + manifest = execution_manifest(inputs, description, engine=engine) + binding = ManifestBinding(manifest, inputs, description, engine, manifest.sha256, settings) + identity = manifest.export()["document"]["execution_identity"] + request = WorkerRequest(_document(_SCHEMA.id, body), _REGISTRY, _SCHEMA, + _document("solarlab.transient.execution-identity.v1", identity), + identity["payload"]["H_input"], identity["payload"]["H_physics"]) + binding.validate_request(request) + return TransientJob(request, binding) + + +def transient_worker_binding() -> WorkerBinding: + return WorkerBinding.from_function(_ID, run_transient_worker, + registry_sha256=_REGISTRY.sha256, schema_sha256=_SCHEMA.sha256) + + +def run_transient_worker(request: WorkerRequest, worker: WorkerContext) -> WorkerResult: + """Cold compile/DC followed by one time history, within the existing owner.""" + worker.check_cancel() + binding = worker.consume_manifest(request, engine="solarlab") + from solarlab.equations.implementation import verify_selection + + verify_selection(binding.environment) + _verify_sources(binding.execution) + body = json.loads(request.request.content) + prepared = binding.inputs.prepared + if body.get("engine") != "solarlab" or body.get("schema") != _SCHEMA.id: + raise ValueError("request differs from the explicit transient invocation") + validate_steady_jv_scope(prepared) + from solarlab.device.compile_1d import compile_device_1d + from solarlab.equations.implementation import provenance_binding + from solarlab.experiments.transient import TransientOptions, TransientProtocol + from solarlab.experiments.transient_results import _payload, run_transient_for_publication + from solarlab.solvers.nonlinear.problem import SolveBudget + from solarlab.solvers.nonlinear.steady_1d import SteadyOptions, solve_steady_state + from threadpoolctl import threadpool_info, threadpool_limits + + protocol = TransientProtocol(**body["protocol"]) + options = TransientOptions(**{**body["transient_options"], + "newton_budget": SolveBudget(**body["transient_options"]["newton_budget"])}) + initial_options = SteadyOptions(**body["initial_options"]) + intervals = body["intervals_per_layer"] + _validate_controls(protocol, intervals, options, initial_options) + expected = _identity_inputs(prepared, binding.execution.implementation) + if (body != _body(prepared, protocol, intervals, options, initial_options) + or input_identity(expected).sha256 != request.H_input or physics_identity(expected).sha256 != request.H_physics + or any(getattr(binding.execution, name) != value for name, value in + _roles(prepared, body, binding.execution.implementation).items())): + raise ValueError("request/input/model/protocol/controls differ from the transient manifest") + if worker._limits.accepted_steps is not None or worker._limits.calls is not None: + raise ValueError("whole-job counter budgets are not observed by this transient adapter") + _verify_sources(binding.execution) + worker.check_cancel() + started = datetime.now(timezone.utc).isoformat() + worker.progress({"stage": "transient_cold_compile", "requested_steps": protocol.times_s.size - 1}) + with threadpool_limits(limits=1): + compiled = compile_device_1d(prepared, intervals_per_layer=intervals) + # Admission names the bound equation system the job evaluates, so the device is compiled first. + with worker.admit_provenance(request, **provenance_binding("BackwardEuler1DStep", compiled)): + with threadpool_limits(limits=1): + pools = threadpool_info() + if any(pool["num_threads"] != 1 for pool in pools): + raise ValueError("child numerical thread limit was not installed") + runtime = asdict(observe_environment(_PACKAGES, tuple(name for name, _ in binding.environment))) + worker.check_cancel() + worker.progress({"stage": "transient_initial_dc", "nodes": compiled.node_count}) + initial = solve_steady_state(compiled, voltage_V=float(protocol.voltage_V[0]), + generation_scale=float(protocol.generation_scale[0]), options=initial_options) + worker.check_cancel() + cold = {"scope": "cold_compile_and_initial_dc_in_worker", "started_utc": started, + "finished_utc": datetime.now(timezone.utc).isoformat(), "prepared_sha256": prepared.content_sha256, + "compiled_identity": compiled.identity, "manifest_sha256": binding.expected_sha256, + "runtime": runtime, "threadpools": pools} + worker.progress({"stage": "transient_time_steps", "nodes": compiled.node_count}) + captured = run_transient_for_publication(compiled, initial, protocol, + options=options, initial_options=initial_options) + worker.check_cancel() + summary, payloads = _payload(captured.result, captured.nodes_m) + capture = json.loads(captured.capture_json) + # Link the pre-transient cold execution to the wrapper's actual input words. + cold["inputs"] = capture["description"]["inputs"] + return WorkerResult.from_dict({"schema": _RESULT, "engine": "solarlab", + "prepared_sha256": prepared.content_sha256, "H_input": request.H_input, "H_physics": request.H_physics, + "H_execution": request.execution_identity.sha256, "manifest_sha256": binding.expected_sha256, + "transient_result": summary, "reason": summary["reason"], "cold_start": json.loads(_document("cold", cold).content), + "transient_capture": capture, + "payloads": {name: {"sha256": p.sha256, "format": p.format, "metadata": json.loads(p.metadata_json)} + for name, p in payloads.items()}, + "scientific_qualification": False}, artifacts=tuple(payloads.items()), + state="succeeded" if captured.result.completed else "failed") + + +def read_transient_job(store: RunStore, run_id: str, *, attempt_id: str | None = None, + current_identity: JobProvenance | dict[str, Any] | None = None, strict_same_source: bool = False) -> dict[str, Any]: + """Verify one committed complete/partial history without importing a solver.""" + import numpy as np + from solarlab.experiments.transient_results import ( + _UNITS, _decode, _digest, _inputs, _result_digest, _validate, + ) + from solarlab.io.artifacts import ArtifactPayload, _json_document, _parse_document + + run = store.get_run(run_id) + selected = run["current_attempt_id"] if attempt_id is None else attempt_id + attempt = next((a for a in store.attempts(run_id) if a["attempt_id"] == selected), None) + if attempt is None or attempt["state"] not in {"succeeded", "failed"} or attempt["terminal"] is None: + raise ValueError("a committed completed or partial transient attempt is required") + result = (attempt["result"] or {}).get("worker_result", {}) + if (result.get("schema") != _RESULT or result.get("engine") != "solarlab" + or result.get("scientific_qualification") is not False): + raise ValueError("attempt has no returned transient history") + identity = run["request"]["identity"] + metadata = run["request"]["input_metadata"]["execution_manifest"] + if any(result[name] != identity[name] for name in ("H_input", "H_physics", "H_execution")) or result["manifest_sha256"] != metadata["manifest_sha256"]: + raise ValueError("transient result belongs to another execution identity/manifest") + summary = result["transient_result"] + references = attempt["terminal"]["artifacts"] + records = [store.artifact(ref["artifact_id"]) for ref in references] + by_name = {item["name"]: item for item in records} + if (len(records) != 16 or len(by_name) != 16 or set(result["payloads"]) != {*_UNITS, "transient_diagnostics"} + or set(by_name) != {*result["payloads"], "execution_manifest"}): + raise ValueError("terminal lacks the exact transient payloads and execution manifest") + for ref, item in zip(references, records): + if (item["phase"] != "committed" or item["run_id"] != run_id or item["attempt_id"] != selected + or item["generation"] != attempt["generation"] or item["manifest_sha256"] != ref["manifest_sha256"]): + raise ValueError("transient artifact/terminal reference belongs to another committed attempt") + raw = store.read_artifact(by_name["execution_manifest"]["artifact_id"]) + manifest = ExecutionManifest(raw, metadata["current_repository_head"]) + document = manifest.export()["document"] + bound = document["execution_identity"]["payload"] + if (manifest.sha256 != result["manifest_sha256"] or manifest.execution_sha256 != identity["H_execution"] + or any(bound[name] != identity[name] for name in ("H_input", "H_physics")) + or bound["engine"]["name"] != "solarlab"): + raise ValueError("committed manifest differs from the transient execution binding") + roles = {name: json.loads(bytes.fromhex(value["content_hex"])) for name, value in document["content_roles"].items()} + arrays, payloads = {}, {} + for name, item_binding in result["payloads"].items(): + item = by_name[name] + if (item_binding != {"sha256": item["sha256"], "format": item["format"], "metadata": item["metadata"]} + or item["metadata"].get("schema") != summary["schema"] + or item["metadata"].get("compiled_identity") != summary["compiled_identity"]): + raise ValueError("transient payload differs from its result identity/metadata") + payloads[name] = ArtifactPayload(store.read_artifact(item["artifact_id"]), item["format"], _json_document(item["metadata"])) + if name in _UNITS: + if item["metadata"].get("unit") != _UNITS[name]: + raise ValueError("unexpected transient physical unit") + arrays[name] = store.read_array(item["artifact_id"]) + diagnostics = _decode(_parse_document(payloads["transient_diagnostics"].data.decode())) + _validate(summary, arrays, diagnostics) + if (attempt["state"] != ("succeeded" if summary["outcome"] == "completed" else "failed") + or result["reason"] != summary["reason"]): + raise ValueError("terminal state/reason differs from the actual transient outcome") + protocol = {name: arrays["requested_" + name].tolist() for name in ("times_s", "voltage_V", "generation_scale")} + controls = roles["numeric_controls"] + expected_controls = dict(controls["transient"]) + if np.any(arrays["requested_voltage_V"] != arrays["requested_voltage_V"][0]): + expected_controls["voltage_seed_policy"] = "harmonic_potential_preserve_densities_when_voltage_changes" + if (protocol != roles["protocol"] or diagnostics["solver_controls"] != expected_controls + or diagnostics["initial_controls"] != controls["initial_dc"] + or result["prepared_sha256"] != roles["preparation"]["prepared_sha256"]): + raise ValueError("saved history differs from the prepared protocol or numerical controls") + capture, cold = result["transient_capture"], result["cold_start"] + description = capture["description"] + inputs = _inputs(summary["compiled_identity"], arrays, diagnostics["initial"], diagnostics["initial_controls"]) + expected_identity = {"H_input": _digest(inputs), "H_physics": summary["compiled_identity"], "H_execution": _digest(description)} + if (capture["status"] != "captured_at_computation" or description["scope"] != "solve_transient_call" + or any(description[n] is not None for n in ("compiled_device_history", "initial_dc_history")) + or description["inputs"] != inputs or capture["identity"] != expected_identity + or description["numerics"] != controls["transient"] + or capture["result_sha256"] != _result_digest(summary, payloads)): + raise ValueError("transient computation capture differs from saved inputs/results") + sources = {s["id"]: s["sha256"] for s in document["implementation_content"]} + sources.update({s["id"]: s["sha256"] for s in roles["preparation"]["adapter_sources"]}) + if description.get("job_provenance") is not None: + if description["job_provenance"] != result.get("job_provenance"): + raise ValueError("transient producer differs from admitted job provenance") + validate_recorded_sources(description) + if description["build_source_commit"] != read_provenance(description["job_provenance"]).export()["git_commit"]: + raise ValueError("transient build commit differs from admitted job provenance") + elif description["build_source_commit"] is not None or any( + sources.get(name) != digest for name, digest in description["sources"].items()): + raise ValueError("transient execution source differs from the request source binding") + if (cold["scope"] != "cold_compile_and_initial_dc_in_worker" or cold["inputs"] != inputs + or cold["compiled_identity"] != summary["compiled_identity"] + or cold["prepared_sha256"] != result["prepared_sha256"] or cold["manifest_sha256"] != manifest.sha256 + or cold["runtime"] != bound["environment"] + or any(pool["num_threads"] != 1 for pool in cold["threadpools"])): + raise ValueError("cold compile/DC capture differs from the actual execution") + return {"document": {**summary, "run_id": run_id, "attempt_id": selected, "generation": attempt["generation"], + "arrays": {name: by_name[name]["artifact_id"] for name in _UNITS}}, + "arrays": arrays, "diagnostics": diagnostics, "worker_result": result, + "run_state": attempt["state"], "manifest": manifest.export(), "provenance_comparison": worker_result_provenance(result, run, attempt, store_id=store.store_id, + current=current_identity, strict_same_source=strict_same_source, + provenance_ref=by_name["execution_manifest"]["metadata"].get("job_provenance_sha256"), execution_document=document)} + +# Public entry point for trusted companion preparation. +transient_identity_inputs = _identity_inputs diff --git a/src/solarlab/experiments/two_dimensional/__init__.py b/src/solarlab/experiments/two_dimensional/__init__.py new file mode 100644 index 00000000..7455ac17 --- /dev/null +++ b/src/solarlab/experiments/two_dimensional/__init__.py @@ -0,0 +1 @@ +"""Two-dimensional experiment declarations; no mesh or executor activation.""" diff --git a/src/solarlab/experiments/two_dimensional/inputs.py b/src/solarlab/experiments/two_dimensional/inputs.py new file mode 100644 index 00000000..2b1d78e8 --- /dev/null +++ b/src/solarlab/experiments/two_dimensional/inputs.py @@ -0,0 +1,215 @@ +"""Editable declarations from the existing 2D request/protocol contracts. + +Geometry belongs to the experiment, not DeviceInput. Source defaults are +injected separately; optional None defaults represent absent fields only. +""" +from __future__ import annotations + +from typing import Literal + +from pydantic import Field, field_validator, model_validator + +from solarlab.device.inputs import DeviceInput, GrainBoundaryInput +from solarlab.materials.full_parameters import StableId, quantity_field as q +from solarlab.materials.parameters import QuantityInput +from solarlab.units import normalize_quantity +from solarlab.experiments.inputs import ExperimentInput as SpatialInput, invalid, vector + + + + +class ComponentwiseAtolInput(SpatialInput): + carrier_fraction: QuantityInput = q("1", positive=True, required=True) + ion_fraction: QuantityInput = q("1", positive=True, required=True) + interface_fraction: QuantityInput = q("1", positive=True, required=True) + minimum_atol: QuantityInput = q("m^-3", positive=True, required=True) + refinement_factor: QuantityInput = q("1", positive=True, required=True) + + +class JV2DAtolInput(SpatialInput): + _nullable_fields = frozenset({"scalar_atol", "carrier_fraction", "ion_fraction", "interface_fraction", "minimum_atol", "refinement_factor"}) + mode: Literal["scalar", "componentwise"] + scalar_atol: QuantityInput | None = q("m^-3", positive=True, nullable=True, required=True) + carrier_fraction: QuantityInput | None = q("1", positive=True, nullable=True, required=True) + ion_fraction: QuantityInput | None = q("1", positive=True, nullable=True, required=True) + interface_fraction: QuantityInput | None = q("1", positive=True, nullable=True, required=True) + minimum_atol: QuantityInput | None = q("m^-3", positive=True, nullable=True, required=True) + refinement_factor: QuantityInput | None = q("1", positive=True, nullable=True, required=True) + + @model_validator(mode="after") + def _variant(self) -> JV2DAtolInput: + for name in self._nullable_fields: + expected = name == "scalar_atol" if self.mode == "scalar" else name != "scalar_atol" + if (getattr(self, name) is not None) != expected: + invalid(type(self).__name__, (name,), f"{self.mode} mode has inconsistent tolerance fields", getattr(self, name)) + return self + + +class JV2DGrainProtocolInput(SpatialInput): + x_position_m: QuantityInput = q("m", signed=True, required=True) + width_m: QuantityInput = q("m", positive=True, required=True) + tau_n_s: QuantityInput = q("s", positive=True, required=True) + tau_p_s: QuantityInput = q("s", positive=True, required=True) + layer_role: str = Field(min_length=1) + + @field_validator("layer_role") + @classmethod + def _role(cls, value: str) -> str: + if not value.strip(): + raise ValueError("layer_role must be nonempty") + return value + + +class JV2DProtocolInput(SpatialInput): + """Supplied execution-protocol declaration, not a generated or bound mesh.""" + _nullable_fields = frozenset({"illumination_source", "initial_state_settle_s"}) + temperature_K: QuantityInput = q("K", positive=True, required=True) + illuminated: bool + illumination_source: str | None + initial_state_source: Literal["one_dimensional_illuminated_finite_time", "one_dimensional_dark_equilibrium"] + initial_state_voltage_V: QuantityInput = q("V", signed=True, required=True) + initial_state_settle_s: QuantityInput | None = q("s", positive=True, nullable=True, required=True) + voltage_values_V: tuple[QuantityInput, ...] = vector("V", minimum=1) + dwell_time_per_voltage_s: QuantityInput = q("s", positive=True, required=True) + state_topology: Literal["frozen_ion_background", "single_positive_mobile_ion"] + ion_boundary_condition: Literal["frozen", "blocking"] + carrier_boundary_condition: Literal["ohmic", "selective_robin"] + interface_srh: Literal["off", "two_sided_cross_node"] + lateral_bc: Literal["periodic", "neumann"] + x_coordinates_m: tuple[QuantityInput, ...] = vector("m", minimum=2) + y_coordinates_m: tuple[QuantityInput, ...] = vector("m", minimum=3) + grain_boundaries: tuple[JV2DGrainProtocolInput, ...] + current_composition: Literal["electron_hole_conduction", "electron_hole_positive_ion_displacement"] + current_sampling: Literal["instantaneous_dwell_endpoint"] + applied_voltage_rate_at_sampling_V_s: QuantityInput = q("V/s", signed=True, required=True) + solver_method: Literal["Radau"] + solver_rtol: QuantityInput = q("1", positive=True, required=True) + solver_atol: JV2DAtolInput + solver_max_step_divisor: int = Field(gt=0) + max_nfev_per_solve: int = Field(gt=0) + max_bisect: int = Field(ge=0) + ion_inventory_rtol: QuantityInput = q("1", required=True) + save_snapshots: bool + implicit_legacy_protocol: bool + schema_version: Literal["jv-2d-execution-protocol-v1"] + + @model_validator(mode="after") + def _relations(self) -> JV2DProtocolInput: + def fail(field: str, message: str) -> None: + invalid(type(self).__name__, (field,), message, getattr(self, field)) + if self.illuminated: + if not self.illumination_source or not self.illumination_source.strip(): + fail("illumination_source", "illuminated 2D J-V requires an illumination source") + if self.initial_state_source != "one_dimensional_illuminated_finite_time": + fail("initial_state_source", "illuminated 2D J-V requires illuminated 1D initial state") + if self.initial_state_settle_s is None: + fail("initial_state_settle_s", "illuminated 1D initial state requires settle time") + else: + if self.illumination_source is not None: + fail("illumination_source", "dark 2D J-V cannot carry illumination source") + if self.initial_state_source != "one_dimensional_dark_equilibrium": + fail("initial_state_source", "dark 2D J-V requires dark-equilibrium initial state") + if self.initial_state_settle_s is not None: + fail("initial_state_settle_s", "dark-equilibrium initial state has no settle time") + if normalize_quantity(self.initial_state_voltage_V, "V") != 0: + fail("initial_state_voltage_V", "2D J-V v1 initial voltage must be zero") + if normalize_quantity(self.applied_voltage_rate_at_sampling_V_s, "V/s") != 0: + fail("applied_voltage_rate_at_sampling_V_s", "fixed-voltage dwell endpoint requires zero voltage rate") + for field, unit in (("voltage_values_V", "V"), ("x_coordinates_m", "m"), ("y_coordinates_m", "m")): + values = [normalize_quantity(value, unit) for value in getattr(self, field)] + if field == "voltage_values_V" and values[0] != 0: + fail(field, "voltage values must start at zero") + if any(right <= left for left, right in zip(values, values[1:])): + fail(field, "values must be strictly increasing; input is never sorted") + mobile = self.state_topology == "single_positive_mobile_ion" + if (self.grain_boundaries or mobile or self.interface_srh != "off") and self.lateral_bc != "neumann": + fail("lateral_bc", "grain, mobile-ion or interface-SRH declarations require Neumann-x topology") + if (mobile or self.interface_srh != "off") and self.carrier_boundary_condition != "ohmic": + fail("carrier_boundary_condition", "mobile-ion/interface-SRH 2D J-V requires ohmic contacts") + if self.ion_boundary_condition != ("blocking" if mobile else "frozen"): + fail("ion_boundary_condition", "ion boundary label disagrees with state topology") + if self.current_composition != ("electron_hole_positive_ion_displacement" if mobile else "electron_hole_conduction"): + fail("current_composition", "current composition disagrees with state topology") + return self + + +class MicrostructureInput(SpatialInput): + grain_boundaries: tuple[GrainBoundaryInput, ...] = () + + +class JV2DInput(SpatialInput): + _nullable_fields = frozenset({"microstructure", "lateral_bc", "componentwise_atol", "jv_2d_protocol"}) + kind: Literal["jv_2d"] + lateral_length: QuantityInput | None = q("m", positive=True) + Nx: int | None = Field(default=None, gt=0, title="Lateral intervals (Nx)") + Ny_per_layer: int | None = Field(default=None, gt=0, title="Vertical intervals per electrical layer") + lateral_bc: Literal["periodic", "neumann"] | None = None + microstructure: MicrostructureInput | None = None + V_max: QuantityInput | None = q("V") + V_step: QuantityInput | None = q("V", positive=True) + illuminated: bool | None = None + save_snapshots: bool | None = None + settle_t: QuantityInput | None = q("s", positive=True) + rtol: QuantityInput | None = q("1", positive=True) + atol: QuantityInput | None = q("m^-3", positive=True) + componentwise_atol: ComponentwiseAtolInput | None = None + max_nfev_per_solve: int | None = Field(default=None, gt=0) + max_bisect: int | None = Field(default=None, ge=0) + ion_inventory_rtol: QuantityInput | None = q("1") + initial_state_settle_s: QuantityInput | None = q("s", positive=True) + ion_dynamics: Literal["frozen", "single_mobile"] | None = None + interface_srh: Literal["off", "two_sided_cross_node"] | None = None + protocol_mode: Literal["compatibility", "research_strict"] | None = None + jv_2d_protocol: JV2DProtocolInput | None = None + + @model_validator(mode="after") + def _tolerances(self) -> JV2DInput: + if self.componentwise_atol is not None and "atol" in self.model_fields_set: + invalid(type(self).__name__, ("componentwise_atol",), "supply atol or componentwise_atol, not both", self.componentwise_atol.editing_data()) + return self + + +class GrainSweepInput(SpatialInput): + _nullable_fields = frozenset({"grain_sizes_nm", "grain_sizes"}) + kind: Literal["voc_grain_sweep"] + grain_sizes_nm: tuple[QuantityInput, ...] | None = vector("m", required=False, input_unit="nm", positive=True) + grain_sizes: tuple[QuantityInput, ...] | None = vector("m", required=False, input_unit="nm", positive=True) + tau_gb_n: QuantityInput | None = q("s", positive=True) + tau_gb_p: QuantityInput | None = q("s", positive=True) + gb_width: QuantityInput | None = q("m", positive=True) + Nx: int | None = Field(default=None, gt=0, title="Lateral intervals (Nx)") + Ny_per_layer: int | None = Field(default=None, gt=0, title="Vertical intervals per electrical layer") + V_max: QuantityInput | None = q("V") + V_step: QuantityInput | None = q("V", positive=True) + illuminated: bool | None = None + settle_t: QuantityInput | None = q("s", positive=True) + + +class SpatialExperimentInput(SpatialInput): + schema_version: Literal["solarlab.experiment-preparation.v1"] + id: StableId + device: DeviceInput + experiment: JV2DInput | GrainSweepInput + + @field_validator("experiment", mode="before") + @classmethod + def _experiment(cls, value: object) -> object: + # The shared input primitives validate every field before parsing, so + # a Pydantic field discriminator cannot wrap their kind validators. + # Validate the selected branch first for precise, non-duplicated paths. + if isinstance(value, (JV2DInput, GrainSweepInput)): + value = value.editing_data() + if not isinstance(value, dict) or value.get("kind") not in {"jv_2d", "voc_grain_sweep"}: + invalid(cls.__name__, ("kind",), "choose jv_2d or voc_grain_sweep", value) + model = JV2DInput if value["kind"] == "jv_2d" else GrainSweepInput + return model.model_validate(value) + + +# Names only: values are read from the actual backend/tolerance source bytes. +EXPERIMENT_DEFAULT_FIELDS = { + "jv_2d": tuple(name for name in JV2DInput.model_fields if name not in + {"kind", "lateral_bc", "microstructure", "componentwise_atol", "jv_2d_protocol"}), + "voc_grain_sweep": tuple(name for name in GrainSweepInput.model_fields if name not in + {"kind", "grain_sizes_nm", "grain_sizes"}), + "jv_2d_componentwise_atol": tuple(ComponentwiseAtolInput.model_fields), +} diff --git a/src/solarlab/experiments/two_dimensional/preparation.py b/src/solarlab/experiments/two_dimensional/preparation.py new file mode 100644 index 00000000..219a7e4f --- /dev/null +++ b/src/solarlab/experiments/two_dimensional/preparation.py @@ -0,0 +1,281 @@ +"""Pure 2D experiment declarations composed with the actual device resolver. + +No grid, material-array compiler, initializer or executor is imported here. +Input words, declared controls and unavailable execution binding are separate. +The legacy adapter supplies defaults and hashes from explicit source documents. +""" +from __future__ import annotations + +from dataclasses import dataclass, field +import hashlib +import json +import math +from typing import Any, NoReturn + +from solarlab.config.resolve_device import resolve_device +from solarlab.device.defaults import DefaultCatalog +from solarlab.experiments.two_dimensional.inputs import ( + GrainSweepInput, JV2DInput, SpatialExperimentInput, invalid, +) +from solarlab.materials.resources import ResourceLibrary +from solarlab.materials.source import SourceDocument +from solarlab.units import UNIT_SCHEMA_VERSION +from solarlab.experiments.inputs import input_document as _document + +__all__ = ["PreparedSpatialExperiment", "prepare_spatial_experiment"] + + +def _bytes(value: Any) -> bytes: + return json.dumps(value, sort_keys=True, separators=(",", ":"), allow_nan=False).encode() + + + + +def _fail(path: tuple[str | int, ...], message: str, value: Any) -> NoReturn: + invalid("SpatialExperimentPreparation", path, message, value) + + +def _controls(experiment: JV2DInput | GrainSweepInput, defaults: DefaultCatalog) -> tuple[dict[str, Any], dict[str, str]]: + values = defaults.experiment_defaults_for(experiment.kind) + origins = {key: f"default_catalog.experiment_defaults.{experiment.kind}.{key}" for key in values} + declared = experiment.normalized_data() + for key in values: + if key in declared: + values[key] = declared[key] + origins[key] = f"input.experiment.{key}" + return values, origins + + +def _grains(grains: list[dict[str, Any]], length: float, electrical: list[dict[str, Any]], + path: tuple[str | int, ...]) -> None: + """Validate bands against a supplied domain, never allocate cell fractions.""" + seen: set[str] = set() + ids = {layer["id"] for layer in electrical} + for index, grain in enumerate(grains): + here = (*path, index) + if grain["id"] in seen: + _fail((*here, "id"), "duplicate grain-boundary ID", grain["id"]) + seen.add(grain["id"]) + if not grain["layer_ids"]: + _fail((*here, "layer_ids"), "grain bands require electrical layer references", grain["layer_ids"]) + for entry, layer_id in enumerate(grain["layer_ids"]): + if layer_id not in ids or layer_id in grain["layer_ids"][:entry]: + _fail((*here, "layer_ids", entry), "unknown or duplicate electrical layer reference", layer_id) + lo, hi = grain["x_position"] - grain["width"] / 2, grain["x_position"] + grain["width"] / 2 + if not math.isfinite(hi) or lo < 0 or hi > length: + _fail((*here, "width"), "strict declaration requires the grain band wholly inside the lateral domain; no clipping is performed", grain["width"]) + for previous in grains[:index]: + if not set(previous["layer_ids"]) & set(grain["layer_ids"]): + continue + if min(hi, previous["x_position"] + previous["width"] / 2) > max(lo, previous["x_position"] - previous["width"] / 2): + _fail(here, "overlapping grain bands in the same electrical layer are unsupported", grain) + + +def _geometry(controls: dict[str, Any], electrical: list[dict[str, Any]], device: dict[str, Any]) -> dict[str, Any]: + return { + "scope": "declared_mesh_controls_only", + "lateral_interval_count": controls["Nx"], + "expected_lateral_node_count": controls["Nx"] + 1, + "vertical_intervals_per_electrical_layer": controls["Ny_per_layer"], + "electrical_layer_ids": [layer["id"] for layer in electrical], + "expected_vertical_node_count": len(electrical) * controls["Ny_per_layer"] + 1, + "lateral_grid_policy": "existing_jv_2d_caller_uniform_x", + "vertical_grid_policy": "existing_multilayer_grid_Ny_per_layer", + "device_electrical_grid_applied": False, + "retained_electrical_grid": device["electrical_grid"], + "x_coordinates_m": None, "y_coordinates_m": None, + "mesh_generated": False, + } + + +def _protocol(experiment: JV2DInput, values: dict[str, Any], device: dict[str, Any], + grains: list[dict[str, Any]], atol: dict[str, Any], carrier_bc: str) -> dict[str, Any]: + supplied = experiment.jv_2d_protocol + if values["protocol_mode"] == "research_strict" and (supplied is None or supplied.implicit_legacy_protocol): + _fail(("experiment", "jv_2d_protocol"), "research_strict requires a supplied explicit execution-protocol declaration", None if supplied is None else supplied.editing_data()) + result: dict[str, Any] = {"status": "not_supplied" if supplied is None else "supplied_declaration_only", + "execution_binding": "pending_actual_mesh_schedule_state_and_capabilities", + "declaration": None, "declaration_sha256": None} + if supplied is None: + return result + declared = supplied.normalized_data() + known = { + "temperature_K": device["settings"]["T"], "illuminated": values["illuminated"], + "save_snapshots": values["save_snapshots"], "dwell_time_per_voltage_s": values["settle_t"], + "lateral_bc": values["lateral_bc"], "carrier_boundary_condition": carrier_bc, + "interface_srh": values["interface_srh"], "solver_rtol": values["rtol"], + "max_nfev_per_solve": values["max_nfev_per_solve"], "max_bisect": values["max_bisect"], + "ion_inventory_rtol": values["ion_inventory_rtol"], "solver_atol": atol, + "state_topology": "single_positive_mobile_ion" if values["ion_dynamics"] == "single_mobile" else "frozen_ion_background", + } + if values["illuminated"]: + known["initial_state_settle_s"] = values["initial_state_settle_s"] + for key, expected in known.items(): + if declared[key] != expected: + _fail(("experiment", "jv_2d_protocol", key), "supplied protocol disagrees with effective declared request control", declared[key]) + if len(declared["x_coordinates_m"]) != values["Nx"] + 1: + _fail(("experiment", "jv_2d_protocol", "x_coordinates_m"), "Nx declares intervals; supplied x coordinates require Nx+1 nodes", declared["x_coordinates_m"]) + if not grains and declared["grain_boundaries"]: + _fail(("experiment", "jv_2d_protocol", "grain_boundaries"), "protocol declares bands absent from the effective microstructure", declared["grain_boundaries"]) + result.update(declaration=declared, declaration_sha256=hashlib.sha256(_bytes(declared)).hexdigest(), + checked_declared_fields=sorted(known), + unchecked_bindings=["actual_x_y_coordinates", "actual_voltage_schedule", "grain_role_to_layer_compilation", + "initial_state", "material_arrays", "physical_capabilities"]) + return result + + +def _jv(experiment: JV2DInput, defaults: DefaultCatalog, device: dict[str, Any], + electrical: list[dict[str, Any]]) -> dict[str, Any]: + values, origins = _controls(experiment, defaults) + supplied = experiment.editing_data() + override = experiment.microstructure + # Preserve the actual backend truthiness contract. {} is declared, but + # inherits; {grain_boundaries: []} is truthy and clears the inventory. + active_override = override is not None and bool(override.editing_data()) + grains = (override.normalized_data().get("grain_boundaries", []) if active_override and override is not None else device["grain_boundaries"]) + grain_path = ("experiment", "microstructure", "grain_boundaries") if active_override else ("device", "grain_boundaries") + _grains(grains, values["lateral_length"], electrical, grain_path) + boundary = experiment.lateral_bc if experiment.lateral_bc is not None else ("neumann" if grains else "periodic") + values["lateral_bc"] = boundary + origins["lateral_bc"] = "input.experiment.lateral_bc" if experiment.lateral_bc is not None else "legacy_microstructure_boundary_rule" + extended = values["ion_dynamics"] != "frozen" or values["interface_srh"] != "off" + if (grains or extended) and boundary != "neumann": + _fail(("experiment", "lateral_bc"), "grain, mobile-ion and interface-SRH 2D declarations require Neumann-x; periodic support is unavailable", boundary) + carrier_bc = "selective_robin" if any(contact[key] is not None for contact in device["contacts"] for key in ("S_n", "S_p")) else "ohmic" + if extended and carrier_bc != "ohmic": + _fail(("device", "contacts"), "mobile-ion/interface-SRH 2D declarations require ohmic carrier contacts", device["contacts"]) + if extended and values["protocol_mode"] != "research_strict": + _fail(("experiment", "protocol_mode"), "mobile-ion/interface-SRH 2D declarations require research_strict and an explicit protocol", values["protocol_mode"]) + componentwise = experiment.componentwise_atol + use_componentwise = componentwise is not None or (extended and "atol" not in supplied) + names = ("carrier_fraction", "ion_fraction", "interface_fraction", "minimum_atol", "refinement_factor") + if use_componentwise: + fields = componentwise.normalized_data() if componentwise is not None else defaults.experiment_defaults_for("jv_2d_componentwise_atol") + atol = {"mode": "componentwise", "scalar_atol": None, **fields} + origins["solver_atol"] = "input.experiment.componentwise_atol" if componentwise is not None else "default_catalog.experiment_defaults.jv_2d_componentwise_atol" + else: + atol = {"mode": "scalar", "scalar_atol": values["atol"], **dict.fromkeys(names)} + origins["solver_atol"] = origins["atol"] + values.pop("atol") + origins.pop("atol") + values["solver_atol"] = atol + protocol = _protocol(experiment, values, device, grains, atol, carrier_bc) + return {"kind": experiment.kind, "controls": values, "field_origins": origins, + "geometry": {**_geometry(values, electrical, device), "lateral_length_m": values["lateral_length"], "lateral_bc": boundary}, + "microstructure": {"declared_presence": "omitted" if "microstructure" not in supplied else "null" if override is None else "object", + "effective_origin": "experiment.microstructure" if active_override else "device.grain_boundaries", + "legacy_empty_object_inherits": True, "grain_boundaries": grains, + "geometry_bounds_checked": True, "cell_overlap_fractions_computed": False}, + "carrier_boundary_condition": carrier_bc, "protocol": protocol, + "compatibility": ["omitted_or_null_boundary_uses_effective_microstructure", + "empty_microstructure_object_inherits_but_explicit_empty_grain_array_clears", + "device_electrical_grid_retained_but_not_consumed_by_current_jv_2d", + "strict_scalar_validation_does_not_coerce_boolean_or_fractional_counts"]} + + +def _sweep(experiment: GrainSweepInput, defaults: DefaultCatalog, device: dict[str, Any], + electrical: list[dict[str, Any]]) -> dict[str, Any]: + values, origins = _controls(experiment, defaults) + data = experiment.normalized_data() + name = "grain_sizes_nm" if experiment.grain_sizes_nm else "grain_sizes" + sizes = data.get(name) + if not sizes: + _fail(("experiment", "grain_sizes_nm"), "supply a nonempty grain_sizes_nm or grain_sizes array; empty/null is not a zero size", sizes) + # This is the sweep's fixed protocol target, explicitly supplied to + # GrainBoundary in voc_grain_sweep.py, not that class's fallback role. + role = "absorber" + target_ids = [layer["id"] for layer in electrical if layer["role"] == role] + if not target_ids: + _fail(("device", "layers"), "grain sweep requires the existing grain-boundary target layer role", role) + for index, size in enumerate(sizes): + if values["gb_width"] > size: + _fail(("experiment", name, index), "grain sweep band width exceeds this declared lateral domain", size) + values.update(grain_sizes_m=sizes, lateral_bc="neumann") + origins.update(grain_sizes_m=f"input.experiment.{name}", lateral_bc="existing_grain_sweep_neumann_rule") + return {"kind": experiment.kind, "controls": values, "field_origins": origins, + "geometry": _geometry(values, electrical, device), + "sweep_domains": [{"lateral_length_m": size, "lateral_bc": "neumann", + "band_declaration": {"x_position_m": size / 2, "width_m": values["gb_width"], + "tau_n_s": values["tau_gb_n"], "tau_p_s": values["tau_gb_p"], "layer_role": role, "layer_ids": target_ids}} + for size in sizes], + "protocol": {"status": "declared_sweep_controls_only", "execution_binding": "pending_per_domain_mesh_schedule_state_and_capabilities"}, + "compatibility": ["both_legacy_size_aliases_interpret_bare_numbers_as_nm", + "nonempty_grain_sizes_nm_precedes_grain_sizes", + "nonpositive_sizes_rejected_not_silently_filtered_as_in_legacy_sweep", + "centered_band_replaces_inherited_device_grain_inventory_for_each_domain", + "device_electrical_grid_retained_but_not_consumed_by_current_jv_2d"]} + + +@dataclass(frozen=True, slots=True) +class PreparedSpatialExperiment: + input_json: bytes + defaults: DefaultCatalog + resources: ResourceLibrary + sources: tuple[SourceDocument, ...] = () + can_execute: bool = field(default=False, init=False) + _resolved_json: bytes = field(init=False, repr=False) + + def __post_init__(self) -> None: + if type(self.input_json) is not bytes or not self.input_json or len(self.input_json) > 2**23: + raise ValueError("experiment declaration requires bounded immutable JSON bytes") + if not isinstance(self.defaults, DefaultCatalog) or not isinstance(self.resources, ResourceLibrary): + raise TypeError("experiment preparation requires an explicit trusted catalog and resource library") + model = SpatialExperimentInput.model_validate(_document(self.input_json)) + sources = tuple(self.sources) + device = resolve_device(model.device, self.defaults, self.resources, sources=sources) + resolved_device = device.to_mapping() + electrical = [layer for layer in resolved_device["layers"] if layer["role"] != "substrate"] + experiment = (_jv(model.experiment, self.defaults, resolved_device, electrical) if isinstance(model.experiment, JV2DInput) + else _sweep(model.experiment, self.defaults, resolved_device, electrical)) + result = {"schema": "solarlab.resolved-spatial-experiment-preparation.v1", "unit_schema": UNIT_SCHEMA_VERSION, + "id": model.id, "status": "prepared_pending_dependencies", "can_execute": False, + "device": resolved_device, "experiment": experiment, + "identity": {"scope": "experiment_declaration_content", "device_content_sha256": device.content_sha256, + "default_catalog_sha256": self.defaults.content_sha256, + "resource_library_sha256": self.resources.content_sha256, "execution_identity": None, + "default_source_bindings": [list(pair) for pair in self.defaults.evidence], + "input_source_bindings": [{"id": source.id, "sha256": source.sha256} for source in sources]}, + "capability_gaps": [*resolved_device["capability_gaps"], "two_dimensional_mesh_not_generated", + "two_dimensional_material_state_capabilities_not_qualified", "two_dimensional_protocol_not_execution_bound", + "qualified_two_dimensional_executor_not_registered"]} + # These checks consume actual material-array/state outputs in the old + # solver. Record their absence instead of inferring node capabilities + # from a declaration or invoking that compiler during preview. + result["unperformed_capability_checks"] = [ + "neutral_bulk_defect_2d_binding_is_unsupported", + "mobile_ion_material_arrays_must_not_contain_dual_ion_species", + "mobile_ion_nodes_need_positive_diffusion_density_and_adequate_site_limits", + "mobile_ions_cannot_use_a_static_P_ion_background", + "two_sided_interface_SRH_requires_qualified_sheet_area_and_couplings", + ] + result["validation_contract"] = { + "scope": "strict_new_preparation_input_not_legacy_request_equivalence", + "legacy_numerical_sources_changed": False, + "differences": [ + "nonpositive_sweep_sizes_reject_instead_of_legacy_filtering", + "band_bounds_are_strict_without_legacy_grid_roundoff_tolerance_or_clipping", + "counts_and_booleans_are_strict_without_legacy_int_or_bool_coercion", + "overlap_rejection_uses_shared_stable_layer_ids_while_legacy_uses_matching_roles", + ], + "preserved": ["input_presence_units_and_scalar_words", "legacy_truthy_microstructure_override_rule", + "legacy_nullable_boundary_rule", "fixed_absorber_role_of_grain_sweep"], + } + object.__setattr__(self, "sources", sources) + object.__setattr__(self, "input_json", _bytes(model.model_dump(mode="json", exclude_unset=True))) + object.__setattr__(self, "_resolved_json", _bytes(result)) + + def to_input(self) -> SpatialExperimentInput: + return SpatialExperimentInput.model_validate(json.loads(self.input_json)) + + def to_mapping(self) -> dict[str, Any]: + return json.loads(self._resolved_json) + + @property + def content_sha256(self) -> str: + return hashlib.sha256(_bytes([json.loads(self.input_json), json.loads(self._resolved_json)])).hexdigest() + + +def prepare_spatial_experiment(input: SpatialExperimentInput, defaults: DefaultCatalog, + resources: ResourceLibrary, *, sources: tuple[SourceDocument, ...] = ()) -> PreparedSpatialExperiment: + checked = SpatialExperimentInput.model_validate(input) + return PreparedSpatialExperiment(_bytes(checked.model_dump(mode="json", exclude_unset=True)), defaults, resources, sources) diff --git a/src/solarlab/experiments/two_dimensional/steady_results.py b/src/solarlab/experiments/two_dimensional/steady_results.py new file mode 100644 index 00000000..f9166f3c --- /dev/null +++ b/src/solarlab/experiments/two_dimensional/steady_results.py @@ -0,0 +1,350 @@ +"""Immutable 2D steady payloads and readers; no compiler/equation/solver imports.""" +from __future__ import annotations + +from solarlab.reproducibility.job_provenance import ( + JobProvenance, validate_recorded_sources, worker_result_provenance, +) + +import hashlib +import json +import math +from typing import TYPE_CHECKING, Any + +import numpy as np + +from solarlab.config.identity import ExecutionManifest +from solarlab.experiments.transient_results import _decode, _encode, _fingerprint, _same +from solarlab.experiments.worker import WorkerRequest +from solarlab.io.artifacts import ArtifactPayload, _json_document, array_artifact, bytes_artifact + +if TYPE_CHECKING: + from solarlab.device.resolved import PreparedDevice + from solarlab.equations.dc_2d import CompiledDevice2D + from solarlab.io.run_store import RunStore + +__all__ = ["steady_2d_payload", "read_steady_2d_job"] +SCHEMA = "solarlab.steady-2d.result.v1" +RAW = "steady_2d_diagnostics" +COORDINATE_UNIT = "mixed: phi[V], electron/hole dimensionless log coordinates; C order" +RESIDUAL_UNIT = "mixed: Gauss[C/m depth], carrier[particles/(m depth*s)], contact[V or dimensionless log]" +UNITS = {"x_m": "m", "y_m": "m", "cell_areas_m2": "m^2", "face_lengths_m": "m", "face_spacing_m": "m", + "face_pairs": "1", "accepted_indices": "1", "accepted_voltage_V": "V", "accepted_generation_scale": "1", + "state_coordinates": COORDINATE_UNIT, "potential_V": "V", "electron_density_m3": "m^-3", "hole_density_m3": "m^-3", + "face_current_density_A_m2": "A/m^2", "lateral_current_density_A_m2": "A/m^2", "stack_current_density_A_m2": "A/m^2", + "terminal_current_per_depth_A_m": "A/m", "cross_section_current_per_depth_A_m": "A/m", + "terminal_mean_current_density_A_m2": "A/m^2", "original_residual": RESIDUAL_UNIT, + "face_displacement_C_m2": "C/m^2", "carrier_face_particle_flux_m2_s": "m^-2 s^-1"} +STORED_UNITS = {"x_m": "m", "y_m": "m", "cell_areas_m2": "m^2", "face_geometry_m": "m", + "face_pairs": "1", "accepted_indices": "1", "state_coordinates": COORDINATE_UNIT, + "potential_V": "V", "carrier_density_m3": "m^-3", "face_current_density_A_m2": "A/m^2", + "section_terminal_current_A_m": "A/m", "original_residual": RESIDUAL_UNIT} +COMPONENTS = {"face_geometry_m": ["face_lengths_m", "face_spacing_m"], + "carrier_density_m3": ["electron_density_m3", "hole_density_m3"], + "section_terminal_current_A_m": ["lower_terminal", "stack_cross_sections", "upper_terminal"]} + + +def _raw_bytes(raw: dict[str, Any]) -> bytes: + # Payload bytes use the supervisor artifact limit, not SourceDocument or metadata limits. + return json.dumps(_encode(raw), sort_keys=True, separators=(",", ":"), allow_nan=False).encode() + + +def _load_raw(raw: bytes) -> dict[str, Any]: + def pairs(items: list[tuple[str, Any]]) -> dict[str, Any]: + if len({k for k, _ in items}) != len(items): + raise ValueError("duplicate raw 2D diagnostic key") + return dict(items) + def invalid(value: str) -> None: + raise ValueError("nonfinite raw JSON must use the lossless codec: " + value) + data = json.loads(raw, object_pairs_hook=pairs, parse_constant=invalid) + if not isinstance(data, dict): + raise ValueError("raw 2D diagnostics must be an object") + return dict(_decode(data)) + + +def _arrays(raw: dict[str, Any]) -> dict[str, np.ndarray]: + g = raw["geometry"] + ny, nx = g["shape_Ny_Nx"] + n, f = ny * nx, g["face_pairs"].shape[0] + accepted = [(i, a) for i, a in enumerate(raw["attempts"]) if a["accepted"]] + def collect(key: str, shape: tuple[int, ...], *, state: bool = False) -> np.ndarray: + if not accepted: + return np.empty((0, *shape), dtype=np.float64) + values = [a["result_2d"]["state" if state else "diagnostics"][key] for _, a in accepted] + return np.stack(values) + arrays = {key: np.asarray(g[key]) for key in ("x_m", "y_m", "cell_areas_m2", "face_lengths_m", "face_spacing_m", "face_pairs")} + arrays.update(accepted_indices=np.asarray([i for i, _ in accepted], dtype=np.int64), + accepted_voltage_V=np.asarray([a["target"]["voltage_V"] for _, a in accepted], dtype=np.float64), + accepted_generation_scale=np.asarray([a["target"]["generation_scale"] for _, a in accepted], dtype=np.float64), + state_coordinates=collect("u", (3 * n,), state=True), + potential_V=collect("potential_V", (ny, nx), state=True), + electron_density_m3=collect("electron_density_m3", (ny, nx), state=True), + hole_density_m3=collect("hole_density_m3", (ny, nx), state=True)) + shapes = {"face_current_density_A_m2": (f,), "lateral_current_density_A_m2": (ny, nx - 1), + "stack_current_density_A_m2": (ny - 1, nx), "terminal_current_per_depth_A_m": (2,), + "cross_section_current_per_depth_A_m": (ny - 1,), "terminal_mean_current_density_A_m2": (2,), + "original_residual": (3 * n,), "face_displacement_C_m2": (f,), + "carrier_face_particle_flux_m2_s": (2, f)} + arrays.update({key: collect(key, shape) for key, shape in shapes.items()}) + return arrays + + +def _pack(arrays: dict[str, np.ndarray]) -> dict[str, np.ndarray]: + result = {key: arrays[key] for key in STORED_UNITS if key in arrays} + result.update(face_geometry_m=np.stack((arrays["face_lengths_m"], arrays["face_spacing_m"])), + carrier_density_m3=np.stack((arrays["electron_density_m3"], arrays["hole_density_m3"])), + section_terminal_current_A_m=np.concatenate((arrays["terminal_current_per_depth_A_m"][:, :1], + arrays["cross_section_current_per_depth_A_m"], arrays["terminal_current_per_depth_A_m"][:, 1:]), axis=1)) + return result + + +def _counts(raw: dict[str, Any]) -> dict[str, Any]: + seeds, full = [], [] + for attempt in raw["attempts"]: + seed, failure, result = attempt["auxiliary_1d_seed"], attempt["failed_auxiliary_seed_newton"], attempt["result_2d"] + if seed is not None: + seeds.extend([*seed["preparation"], seed["newton"]]) + elif failure is not None: + seeds.append(failure) + if result is not None: + full.append(result) + return {"auxiliary_1d_seed_calls": sum(a["auxiliary_1d_seed_called"] for a in raw["attempts"]), + "auxiliary_1d_observed_newton_results": len(seeds), + "auxiliary_1d_observed_residual_evaluations": sum(r["residual_evaluations"] for r in seeds), + "auxiliary_1d_observed_jacobian_evaluations": sum(r["jacobian_evaluations"] for r in seeds), + "auxiliary_1d_complete_counts_observed": all(not a["auxiliary_1d_seed_called"] or a["auxiliary_1d_seed"] is not None for a in raw["attempts"]), + "density_basin_initializations": sum(a["auxiliary_1d_seed"]["density_basin_initializations"] + for a in raw["attempts"] if a["auxiliary_1d_seed"] is not None), + "full_2d_adapter_calls": sum(a["full_2d_adapter_called"] for a in raw["attempts"]), + "full_2d_newton_calls": sum(r["solver_controls"]["full_2d_newton_calls"] for r in full), + "full_2d_evaluation_counts": {name: sum(r["evaluation_counts"][name] for r in full) + for name in ("residual", "jacobian", "diagnostics")}, + "scope": "separate auxiliary1D invocation/observed Newton records and actual full2D callbacks; no inferred fallback calls"} + + +def _summary(raw: dict[str, Any]) -> dict[str, Any]: + attempts = raw["attempts"] + failed = next(({"index": i, "target": a["target"], "termination": a["termination"], "error": a["error"], + "full_2d_adapter_called": a["full_2d_adapter_called"]} for i, a in enumerate(attempts) if not a["accepted"]), None) + count = sum(a["accepted"] for a in attempts) + complete = len(attempts) == len(raw["requested_targets"]) and all(a["accepted"] for a in attempts) + return {"schema": SCHEMA, "dimension": 2, "engine": "solarlab", "completed": complete, + "reason": None if complete else "no_attempt" if failed is None else failed["termination"], + "requested_count": len(raw["requested_targets"]), "attempt_count": len(attempts), + "accepted_count": count, "unattempted_count": len(raw["requested_targets"]) - len(attempts), + "first_failure": failed, "prepared_sha256": raw["prepared_identity"], "compiled_identity": raw["compiled_identity"], + "geometry_identity": raw["geometry"]["identity"], "shape_Ny_Nx": list(raw["geometry"]["shape_Ny_Nx"]), + "flatten_order": "C: y-major, x-fastest; coordinates [phi,z_n,z_p]", + "lateral_width_m": raw["geometry"]["lateral_width_m"], "face_order": "x faces then y faces; positive coordinate direction", + "array_alignment": "accepted target prefix only; failed candidate/state/diagnostics retained exclusively in raw attempts", + "computation_counts": _counts(raw), "physical_certificate_status": "not_evaluated", + "scientific_qualification": False, "mesh_qualification": "not_evaluated", "photovoltaic_metrics": None} + + +def _validate(raw: dict[str, Any], summary: dict[str, Any], arrays: dict[str, np.ndarray]) -> None: + if raw.get("schema") != SCHEMA or raw.get("qualification") is not False or summary != _summary(raw): + raise ValueError("2D summary differs from original raw outcome") + g = raw["geometry"] + if tuple(g["shape_Ny_Nx"]) != (13, 5) or g["lateral_width_m"] != 1e-6: + raise ValueError("2D result is outside the declared fixed geometry") + ny, nx = g["shape_Ny_Nx"] + n, f, k = ny * nx, ny * (nx - 1) + (ny - 1) * nx, summary["accepted_count"] + expected_shapes = {"x_m": (nx,), "y_m": (ny,), "cell_areas_m2": (ny, nx), "face_lengths_m": (f,), + "face_spacing_m": (f,), "face_pairs": (f, 2), "accepted_indices": (k,), "accepted_voltage_V": (k,), + "accepted_generation_scale": (k,), "state_coordinates": (k, 3 * n), "potential_V": (k, ny, nx), + "electron_density_m3": (k, ny, nx), "hole_density_m3": (k, ny, nx), + "face_current_density_A_m2": (k, f), "lateral_current_density_A_m2": (k, ny, nx - 1), + "stack_current_density_A_m2": (k, ny - 1, nx), "terminal_current_per_depth_A_m": (k, 2), + "cross_section_current_per_depth_A_m": (k, ny - 1), "terminal_mean_current_density_A_m2": (k, 2), + "original_residual": (k, 3 * n), "face_displacement_C_m2": (k, f), "carrier_face_particle_flux_m2_s": (k, 2, f)} + if set(arrays) != set(UNITS): + raise ValueError("missing logical 2D arrays") + for name, shape in expected_shapes.items(): + array = arrays[name] + kind = "i" if name in {"accepted_indices", "face_pairs"} else "f" + if array.shape != shape or array.dtype.kind != kind or not np.all(np.isfinite(array)): + raise ValueError("2D shape/dtype/nonfinite field mismatch: " + name) + expected_pairs = [(iy * nx + ix, iy * nx + ix + 1) for iy in range(ny) for ix in range(nx - 1)] + expected_pairs += [(iy * nx + ix, (iy + 1) * nx + ix) for iy in range(ny - 1) for ix in range(nx)] + if not np.array_equal(arrays["face_pairs"], expected_pairs) or g["x_face_count"] != ny * (nx - 1): + raise ValueError("2D directed-face connectivity/order differs") + if (np.any(np.diff(arrays["x_m"]) <= 0) or np.any(np.diff(arrays["y_m"]) <= 0) + or any(np.any(arrays[name] <= 0) for name in ("cell_areas_m2", "face_lengths_m", "face_spacing_m"))): + raise ValueError("invalid physical 2D axes/measures") + flags = [a["accepted"] for a in raw["attempts"]] + if (not flags or len(flags) > len(raw["requested_targets"]) or any(type(flag) is not bool for flag in flags) + or flags != ([True] * k if summary["completed"] else [True] * k + [False])): + raise ValueError("2D accepted prefix/first failure was changed") + for i, attempt in enumerate(raw["attempts"]): + if (attempt["target"] != raw["requested_targets"][i] or attempt["auxiliary_seed_is_2d_completion"] is not False + or type(attempt["auxiliary_1d_seed_called"]) is not bool or type(attempt["full_2d_adapter_called"]) is not bool): + raise ValueError("2D attempt target/seed provenance differs") + result = attempt["result_2d"] + if result is None: + if attempt["accepted"]: + raise ValueError("accepted 2D attempt has no actual 2D result") + continue + if (result["compiled_identity"] != raw["compiled_identity"] or result["accepted"] != attempt["accepted"] + or result["termination"] != attempt["termination"] or result["error"] != attempt["error"] + or result["operating_voltage_V"] != attempt["target"]["voltage_V"] + or result["generation_scale"] != attempt["target"]["generation_scale"] + or result["physical_certificate_status"] != "not_evaluated"): + raise ValueError("original 2D state/outcome identity differs") + for name in ("initial_coordinates", "candidate_coordinates"): + if result[name].shape != (3 * n,): + raise ValueError("2D original coordinates lost their flattening") + if result["initial_provenance"]["state_sha256"] != hashlib.sha256(result["initial_coordinates"].tobytes()).hexdigest(): + raise ValueError("2D numerical initial identity differs") + actual_controls = result["solver_controls"]["numerical"] + requested_controls = raw["request"]["controls"]["full_2d"] + if (actual_controls["electronic"] != requested_controls["electronic"] + or not 0 < actual_controls["wall_s"] <= requested_controls["wall_s"] + or result["solver_controls"]["hidden_seed_or_fallback_calls"] != 0): + raise ValueError("2D controls/hidden solver accounting differs") + state, newton, diagnostics = result["state"], result["newton"], result["diagnostics"] + if newton is not None and not _same(newton["state"], result["candidate_coordinates"]): + raise ValueError("2D candidate differs from original Newton state") + if state is not None and (state["device_sha256"] != raw["compiled_identity"] + or not _same(state["u"], result["candidate_coordinates"])): + raise ValueError("2D field state differs from candidate/source") + if diagnostics is not None and tuple(diagnostics["original_rows"]) != tuple(range(3 * n)): + raise ValueError("2D diagnostic original rows were omitted") + if attempt["accepted"] and (state is None or newton is None or diagnostics is None + or not newton["accepted"] or result["termination"] != "converged" or not result["checks"] + or any(check["passed"] is not True or not math.isfinite(check["value"]) or check["value"] > check["limit"] for check in result["checks"])): + raise ValueError("accepted state lacks original full-2D Newton/gate evidence") + if attempt["accepted"]: + if not _same(state["u"][:n].reshape(ny, nx), state["potential_V"]): + raise ValueError("2D potential flattening differs") + if not np.array_equal(diagnostics["terminal_current_per_depth_A_m"] / g["lateral_width_m"], + diagnostics["terminal_mean_current_density_A_m2"]): + raise ValueError("2D terminal current lost width normalization") + + +def result_digest(summary: dict[str, Any], payloads: dict[str, ArtifactPayload]) -> str: + return hashlib.sha256(_json_document({"summary": summary, + "payloads": {key: value.sha256 for key, value in payloads.items()}}).encode()).hexdigest() + + +def steady_2d_payload(device: CompiledDevice2D, prepared: PreparedDevice, body: dict[str, Any], + attempts: list[dict[str, Any]], wall_s: float) -> tuple[dict[str, Any], dict[str, ArtifactPayload]]: + g = device.geometry + raw = {"schema": SCHEMA, "qualification": False, "request": body, + "requested_targets": [{"voltage_V": body["protocol"]["voltage_V"], "generation_scale": scale} + for scale in body["protocol"]["generation_scales"]], + "attempts": attempts, "prepared_identity": prepared.content_sha256, "prepared_declaration": prepared.to_mapping(), + "compiled_identity": device.identity, "column_identity": device.column.identity, + "generation_identity": device.generation_y.binding_sha256, "wall_s": wall_s, + "geometry": {"identity": g.sha256, "shape_Ny_Nx": g.shape, "x_m": g.x_m, "y_m": device.column.nodes_m, + "cell_areas_m2": g.contract_geometry.volumes.reshape(g.shape), "face_lengths_m": g.contract_geometry.face_measures, + "face_pairs": g.contract_geometry.pairs, "face_spacing_m": g.face_spacing_m, + "x_widths_m": g.x_widths_m, "x_face_count": g.x_face_count, "lateral_width_m": g.lateral_length_m}, + "generation_source_m3_s": device.generation_source_m3_s.reshape(g.shape)} + content = _raw_bytes(raw) + original = _load_raw(content) + arrays = _arrays(original) + summary = _summary(original) + _validate(original, summary, arrays) + metadata = {"schema": SCHEMA, "compiled_identity": device.identity, "geometry_identity": g.sha256, + "array_alignment": "accepted target prefix", "flatten_order": summary["flatten_order"]} + payloads = {name: array_artifact(a, unit=STORED_UNITS[name], + metadata={**metadata, "components": COMPONENTS.get(name, [])}) for name, a in _pack(arrays).items()} + payloads[RAW] = bytes_artifact(content, metadata={**metadata, "role": "original_auxiliary_and_2d_attempts"}) + return summary, payloads + + +def read_steady_2d_job(store: RunStore, run_id: str, *, attempt_id: str | None = None, + current_identity: JobProvenance | dict[str, Any] | None = None, strict_same_source: bool = False) -> dict[str, Any]: + from solarlab.experiments.two_dimensional.steady_worker import REGISTRY, REQUEST_SCHEMA, RESULT_SCHEMA, _request_contract + run = store.get_run(run_id) + selected = run["current_attempt_id"] if attempt_id is None else attempt_id + attempt = next((a for a in store.attempts(run_id) if a["attempt_id"] == selected), None) + if attempt is None or attempt["state"] not in {"succeeded", "failed"} or attempt["terminal"] is None: + raise ValueError("committed completed/failed 2D result required; cancellation has no invented fields") + worker = (attempt["result"] or {}).get("worker_result", {}) + if worker.get("schema") != RESULT_SCHEMA or worker.get("engine") != "solarlab" or worker.get("scientific_qualification") is not False: + raise ValueError("attempt has no returned new-core 2D result") + identity = run["request"]["identity"] + metadata = run["request"]["input_metadata"]["execution_manifest"] + if (any(worker[k] != identity[k] for k in ("H_input", "H_physics", "H_execution")) + or worker["manifest_sha256"] != metadata["manifest_sha256"]): + raise ValueError("2D result belongs to another input/physics/execution") + refs = attempt["terminal"]["artifacts"] + records = [store.artifact(ref["artifact_id"]) for ref in refs] + by_name = {r["name"]: r for r in records} + if (len(records) != len(STORED_UNITS) + 2 or set(by_name) != {*STORED_UNITS, RAW, "execution_manifest"} + or set(worker["payloads"]) != {*STORED_UNITS, RAW}): + raise ValueError("2D terminal does not own exactly the required payloads") + for ref, item in zip(refs, records): + if (item["phase"] != "committed" or item["run_id"] != run_id or item["attempt_id"] != selected + or item["generation"] != attempt["generation"] or item["manifest_sha256"] != ref["manifest_sha256"]): + raise ValueError("2D artifact ownership/generation differs") + # ExecutionManifest keeps its 64MiB aggregate domain, distinct from SourceDocument. + manifest = ExecutionManifest(store.read_artifact(by_name["execution_manifest"]["artifact_id"]), metadata["current_repository_head"]) + document = manifest.export()["document"] + bound = document["execution_identity"]["payload"] + if (manifest.sha256 != worker["manifest_sha256"] or manifest.execution_sha256 != identity["H_execution"] + or any(bound[k] != identity[k] for k in ("H_input", "H_physics")) or bound["engine"]["name"] != "solarlab"): + raise ValueError("2D execution manifest identity differs") + summary = worker["steady_2d_result"] + payloads, packed = {}, {} + for name, data in worker["payloads"].items(): + item = by_name[name] + if (data != {"sha256": item["sha256"], "format": item["format"], "metadata": item["metadata"]} + or item["metadata"].get("schema") != SCHEMA + or item["metadata"].get("compiled_identity") != summary["compiled_identity"] + or item["metadata"].get("geometry_identity") != summary["geometry_identity"]): + raise ValueError("2D immutable payload metadata differs") + payloads[name] = ArtifactPayload(store.read_artifact(item["artifact_id"]), item["format"], _json_document(item["metadata"])) + if name in STORED_UNITS: + if item["metadata"].get("unit") != STORED_UNITS[name] or item["metadata"].get("components") != COMPONENTS.get(name, []): + raise ValueError("2D artifact unit/components differ") + packed[name] = store.read_array(item["artifact_id"]) + raw = _load_raw(payloads[RAW].data) + arrays = _arrays(raw) + _validate(raw, summary, arrays) + expected = _pack(arrays) + if set(packed) != set(expected) or any(not _same(packed[k], expected[k]) for k in expected): + raise ValueError("2D NPY payload differs from original producer words") + if attempt["state"] != ("succeeded" if summary["completed"] else "failed") or worker["reason"] != summary["reason"]: + raise ValueError("2D terminal outcome differs from original numerical truth") + transport = WorkerRequest.from_bytes(_json_document(run["request"]["input_metadata"]["transport"]).encode()) + body = json.loads(transport.request.content) + roles = {name: json.loads(bytes.fromhex(v["content_hex"])) for name, v in document["content_roles"].items()} + private_request = transport.registry == REGISTRY and transport.schema == REQUEST_SCHEMA + request_contract = _request_contract(transport, + worker["capture"]["source_sha256"].get("solarlab/experiments/two_dimensional/steady_worker.py")) + if (not request_contract or not private_request and ( + worker.get("execution_catalog_sha256") != transport.registry.sha256 + or worker.get("experiment_id") != "steady_2d" or worker.get("experiment_version") != 1) + or transport.execution_identity.sha256 != identity["H_execution"] + or transport.H_input != identity["H_input"] or transport.H_physics != identity["H_physics"] + or body != raw["request"] or body["schema"] != REQUEST_SCHEMA.id or body["engine"] != "solarlab" + or body["prepared_sha256"] != summary["prepared_sha256"] or worker["prepared_sha256"] != summary["prepared_sha256"] + or roles["preparation"]["dimension"] != 2 or roles["preparation"]["resolved_device"] != raw["prepared_declaration"] + or roles["preparation"]["prepared_sha256"] != summary["prepared_sha256"] + or any(body[key] != roles[role] for key, role in (("protocol", "protocol"), ("spatial", "grid"), + ("controls", "numeric_controls"), ("initial", "initial_state")))): + raise ValueError("2D request/source/grid/controls do not match the saved producer") + sources = {s["id"]: s["sha256"] for s in document["implementation_content"]} + sources.update({s["id"]: s["sha256"] for s in roles["preparation"]["adapter_sources"]}) + capture = worker["capture"] + if (capture["source_sha256"] != sources or capture["build_source_commit"] != bound["implementation"]["build_source_commit"] + or capture["runtime"] != bound["environment"] or capture["manifest_sha256"] != manifest.sha256 + or capture["request_sha256"] != transport.request.sha256 or capture["prepared_sha256"] != summary["prepared_sha256"] + or capture["compiled_identity"] != summary["compiled_identity"] or capture["geometry_identity"] != summary["geometry_identity"] + or capture["result_sha256"] != result_digest(summary, payloads)): + raise ValueError("2D computation capture differs from bound sources/runtime/result") + for item in raw["attempts"]: + result = item["result_2d"] + if result is not None: + if worker.get("job_provenance") is not None: + validate_recorded_sources({**result, "job_provenance": worker["job_provenance"]}) + elif any(sources.get(name.replace(".", "/") + ".py") != pin for name, pin in result["source_sha256"].items()): + raise ValueError("original 2D numerical source differs from execution binding") + return {"document": {**summary, "run_id": run_id, "attempt_id": selected, "generation": attempt["generation"], + "logical_array_units": UNITS, "arrays": {name: by_name[name]["artifact_id"] for name in STORED_UNITS}}, + "run_state": attempt["state"], "arrays": arrays, "stored_arrays": packed, "diagnostics": raw, + "worker_result": worker, "manifest": manifest.export(), + "array_fingerprints": {name: _fingerprint(a) for name, a in arrays.items()}, "provenance_comparison": worker_result_provenance(worker, run, attempt, store_id=store.store_id, + current=current_identity, strict_same_source=strict_same_source, + provenance_ref=by_name["execution_manifest"]["metadata"].get("job_provenance_sha256"), execution_document=document)} diff --git a/src/solarlab/experiments/two_dimensional/steady_worker.py b/src/solarlab/experiments/two_dimensional/steady_worker.py new file mode 100644 index 00000000..78f19247 --- /dev/null +++ b/src/solarlab/experiments/two_dimensional/steady_worker.py @@ -0,0 +1,396 @@ +"""Explicit cold-seed/full-2D jobs on the existing process owner and store. + +Prepared spatial declarations keep their existing preview meaning. This +adapter binds a separate dimension-two execution, without a legacy fallback. +""" +from __future__ import annotations + +from solarlab.reproducibility.job_provenance import JobProvenance + +from dataclasses import asdict, dataclass, replace +from datetime import datetime, timezone +import hashlib +import importlib.metadata +import json +import math +from pathlib import Path +import platform +import sys +import time +from typing import TYPE_CHECKING, Any + +from solarlab.config.identity import ( + BuildSource, ExecutionDescription, ExecutionEngine, IdentityInputs, ModelInputs, + RuntimeEnvironment, execution_manifest, input_identity, physics_identity, +) +from solarlab.config.model_parameters import device_topology, layer_parameter_source +from solarlab.device.resolved import PreparedDevice +from solarlab.experiments.two_dimensional.inputs import JV2DInput +from solarlab.experiments.worker import ( + ManifestBinding, ResourceLimits, WorkerBinding, WorkerContext, WorkerRequest, WorkerResult, observe_environment, +) +from solarlab.materials.source import SourceDocument +from solarlab.physics.registry import CapabilityContext, CapabilityRule, EvidenceRef, ModelDefinition, ModelRef, ModelRegistry, Scope +from solarlab.physics.selection import ModelChoice, select_models +from solarlab.physics.semantic_projection import SemanticProjection + +if TYPE_CHECKING: + import numpy as np + from solarlab.equations.dc_2d import CompiledDevice2D, State2D + from solarlab.experiments.execution import JobHandle, ProcessSupervisor + from solarlab.io.run_store import RunStore + from solarlab.solvers.nonlinear.steady_2d import Steady2DOptions + +__all__ = ["INITIAL_POLICY", "REQUEST_SCHEMA", "RESULT_SCHEMA", + "Steady2DProtocol", "Steady2DJob", "prepare_steady_2d_job", "steady_2d_worker_binding", + "run_steady_2d_worker", "read_steady_2d_job"] +WORKER_ID = "steady_2d" +RESULT_SCHEMA = "solarlab.steady-2d.worker-result.v1" +THREADS = ("OMP_NUM_THREADS", "OPENBLAS_NUM_THREADS", "MKL_NUM_THREADS", + "VECLIB_MAXIMUM_THREADS", "NUMEXPR_NUM_THREADS", "BLIS_NUM_THREADS") +PACKAGES = ("numpy", "scipy", "pydantic", "threadpoolctl") +ADAPTERS = ("solarlab/experiments/two_dimensional/steady_worker.py", + "solarlab/experiments/two_dimensional/steady_results.py", + "solarlab/config/identity.py") +INITIAL_POLICY = { + "policy": "cold_auxiliary_1d_lateral_v1", "initial_state": None, + "auxiliary_seed_is_2d_completion": False, "cross_target_seed_reuse": False, + "perturbation": {"phi_V": .0007, "z_n": .013, "z_p": -.011, + "shape": "stack sine times lateral sine/cosine; contact perturbations exactly zero"}, +} + + +def document(name: str, value: Any) -> SourceDocument: + return SourceDocument(name, json.dumps(value, sort_keys=True, separators=(",", ":"), allow_nan=False).encode()) + + +REQUEST_SCHEMA = document("solarlab.steady-2d.worker-request.v1", { + "type": "object", "additionalProperties": False, + "required": ["schema", "engine", "prepared_sha256", "protocol", "spatial", "controls", "initial"], + "properties": {"schema": {"const": "solarlab.steady-2d.worker-request.v1"}, "engine": {"const": "solarlab"}, + "prepared_sha256": {"type": "string", "pattern": "^[0-9a-f]{64}$"}, + "protocol": {"type": "object", "additionalProperties": False, + "required": ["voltage_V", "generation_scales"], + "properties": {"voltage_V": {"const": .002}, "generation_scales": {"enum": [[0.], [1.], [0., 1.]]}}}, + "spatial": {"type": "object"}, "controls": {"type": "object"}, + "initial": {"const": INITIAL_POLICY}}, + "scope": "uniform_no_grain_classical_2d_13_by_5_fixed_reservoir_neumann"}) +REGISTRY = document("solarlab.steady-2d.worker-registry.v1", { + "worker": WORKER_ID, "engine": "solarlab", "dimension": 2, "fallback": "forbidden", + "scientific_qualification": False}) + + +def _root() -> Path: + return Path(__file__).resolve().parents[2] + + +def _source_path(name: str) -> Path: + path = _root() / name.removeprefix("solarlab/") + if not name.startswith("solarlab/") or path.suffix != ".py" or not path.resolve().is_relative_to(_root()): + raise ValueError("invalid bound core source identifier") + return path + + +def _adapter_sources(implementation: BuildSource) -> list[dict[str, Any]]: + base = {s.id: s for s in implementation.files} + return [{"id": name, "sha256": s.sha256, "content_hex": s.content.hex(), + "base_sha256": base[name].sha256 if name in base else None} + for name in ADAPTERS for s in (SourceDocument(name, _source_path(name).read_bytes()),)] + + +def _verify_sources(execution: ExecutionDescription) -> None: + expected = {s.id: s.content for s in execution.implementation.files} + adapters = json.loads(execution.preparation.content)["adapter_sources"] + if adapters != _adapter_sources(execution.implementation): + raise ValueError("2D worker/reader differs from the bound adapter bytes") + expected.update({s["id"]: bytes.fromhex(s["content_hex"]) for s in adapters}) + for name, raw in expected.items(): + if _source_path(name).read_bytes() != raw: + raise ValueError("installed core differs from bound source: " + name) + for name, module in tuple(sys.modules.items()): + if name != "solarlab" and not name.startswith("solarlab."): + continue + origin = getattr(module, "__file__", None) + if origin is None or not Path(origin).resolve().is_relative_to(_root()): + raise ValueError("loaded core is outside the bound source installation") + path = Path(origin).resolve() + identifier = "solarlab/" + path.relative_to(_root()).as_posix() + if path.read_bytes() and identifier not in expected: + raise ValueError("loaded core source is unbound: " + identifier) + + +@dataclass(frozen=True, slots=True) +class Steady2DProtocol: + voltage_V: float + generation_scales: tuple[float, ...] + + def __post_init__(self) -> None: + values = tuple(self.generation_scales) + if (type(self.voltage_V) not in (int, float) or self.voltage_V != .002 + or any(type(v) not in (int, float) or not math.isfinite(v) for v in values) + or values not in ((0.,), (1.,), (0., 1.))): + raise ValueError("2D process scope is explicit 2mV dark/G1 targets in order") + object.__setattr__(self, "generation_scales", tuple(float(v) for v in values)) + + +def _validate(prepared: PreparedDevice, spatial: JV2DInput, options: Steady2DOptions) -> None: + from solarlab.device.compile_1d import unsupported + from solarlab.solvers.nonlinear.steady_1d import SteadyOptions + from solarlab.solvers.nonlinear.steady_2d import Steady2DOptions + from solarlab.units import normalize_quantity + + if type(prepared) is not PreparedDevice or type(spatial) is not JV2DInput or type(options) is not Steady2DOptions: + raise ValueError("explicit prepared device, geometry and controls required") + if (spatial.model_fields_set - {"kind", "lateral_length", "Nx", "Ny_per_layer", "lateral_bc"} + or spatial.Nx != 4 or spatial.Ny_per_layer != 4 or spatial.lateral_bc != "neumann" + or spatial.lateral_length is None or normalize_quantity(spatial.lateral_length, "m") != 1e-6): + raise ValueError("fixed 13x5 geometry requires Nx4/Ny_per_layer4/1um/Neumann, without execution overrides") + data = prepared.to_mapping() + if len(prepared.layers) != 3 or data["grain_boundaries"] or data["settings"]["band_grading"]: + raise ValueError("first 2D process requires three uniform layers and no grain declarations") + if data["declaration"].get("spectrum") is not None or data["declaration"].get("fixed_generation") is not None: + raise ValueError("first 2D process has no spectral/fixed generation binding") + for layer in prepared.layers: + p = dict(layer.parameters) + if (layer.role == "substrate" or layer.optical is not None or p["n_optical"] is not None or p["incoherent"] + or any(p[k] != 0 for k in ("v_sat_n", "v_sat_p", "pf_gamma_n", "pf_gamma_p"))): + raise ValueError("2D process requires constant-mobility electrical layers without optical-only layers") + unsupported(prepared, data, prepared.layers) + expected, supplied = asdict(SteadyOptions()), asdict(options.electronic) + for key in ("max_iterations", "max_residual_evaluations", "max_jacobian_evaluations"): + value = supplied.pop(key) + if type(value) is not int or not 1 <= value <= expected.pop(key): + raise ValueError("explicit 2D Newton budgets may only decrease the accepted defaults") + if document("gates", expected) != document("gates", supplied) or options.wall_s != 30.: + raise ValueError("2D physical gates, step controls and wall ceiling must retain accepted defaults") + + +def _identity_inputs(prepared: PreparedDevice, spatial: JV2DInput, implementation: BuildSource) -> IdentityInputs: + from solarlab.units import normalize_quantity + names = ("solarlab/device/compile_2d.py", "solarlab/equations/dc_2d.py", + "solarlab/mesh/geometry_2d.py", "solarlab/solvers/nonlinear/steady_2d.py") + sources = tuple(s for s in implementation.files if s.id in names) + if {s.id for s in sources} != set(names): + raise ValueError("actual 2D compiler/equation/geometry/solver source bindings required") + ref = ModelRef("classical_2d_dc", 1) + rule = CapabilityRule("source_bound_classical_2d_dc", (2,), ("dc",), + tuple(EvidenceRef(s.id, s.sha256, "source") for s in sources), + backends=(WORKER_ID,), statistics=("maxwell_boltzmann",)) + definition = ModelDefinition(ref, "Source-bound connected classical 2D DC", "classical_2d_dc", ("layer",), "node", + ("mu_n", "mu_p", "tau_n", "tau_p", "alpha", "B_rad", "C_n", "C_p", "N_A", "N_D"), (), (), rule, + parameter_schema="full_layer") + registry = ModelRegistry((definition,)) + defaults = {"layer": (ModelChoice("classical_2d_dc", ref, parameter_schema="full_layer"),)} + topology = device_topology(prepared) + parameters = {Scope("layer", (layer.id,)): layer_parameter_source(layer) + for layer in prepared.layers if layer.id in topology.electrical_layer_ids} + context = CapabilityContext(2, "dc", WORKER_ID, "maxwell_boltzmann", temperature_K=prepared.to_mapping()["settings"]["T"]) + selection = select_models(registry, topology, context, defaults, parameters, {}) + schema = "solarlab.uniform-no-grain-2d-geometry.v1" + geometry = document(schema, {"schema": schema, "lateral_length_m": normalize_quantity(spatial.lateral_length, "m"), + "Nx": spatial.Nx, "Ny_per_layer": spatial.Ny_per_layer, "lateral_bc": spatial.lateral_bc, + "geometry_policy": "rectangular_half_endpoint_neumann_2d_v1", + "electrical_layer_ids": [layer.id for layer in prepared.layers if layer.role != "substrate"]}) + return IdentityInputs(prepared, selection, registry, ModelInputs.from_mappings(defaults=defaults, overrides={}), + (SemanticProjection(ref, "all_values_v1", sources),), spatial_geometry=geometry) + + +def _body(prepared: PreparedDevice, spatial: JV2DInput, protocol: Steady2DProtocol, options: Steady2DOptions) -> dict[str, Any]: + from solarlab.solvers.nonlinear.steady_1d import SteadyOptions + return {"schema": REQUEST_SCHEMA.id, "engine": "solarlab", "prepared_sha256": prepared.content_sha256, + "protocol": {"voltage_V": protocol.voltage_V, "generation_scales": list(protocol.generation_scales)}, + "spatial": spatial.editing_data(), "controls": {"auxiliary_1d": asdict(SteadyOptions()), "full_2d": asdict(options)}, + "initial": INITIAL_POLICY} + + +def _roles(prepared: PreparedDevice, body: dict[str, Any], implementation: BuildSource) -> dict[str, SourceDocument]: + return {"protocol": document("solarlab.steady-2d.protocol.v1", body["protocol"]), + "preparation": document("solarlab.steady-2d.preparation.v1", { + "prepared_sha256": prepared.content_sha256, "resolved_device": prepared.to_mapping(), + "adapter_sources": _adapter_sources(implementation), "cold_compile_per_job": True, + "dimension": 2, "source_scope": "committed_core_plus_explicit_active_adapters", "fallback": "forbidden"}), + "grid": document("solarlab.steady-2d.geometry.v1", body["spatial"]), + "numeric_controls": document("solarlab.steady-2d.controls.v1", body["controls"]), + "initial_state": document("solarlab.steady-2d.initial.v1", body["initial"])} + + +@dataclass(frozen=True, slots=True) +class Steady2DJob: + request: WorkerRequest + execution: ManifestBinding + + def submit(self, supervisor: ProcessSupervisor, run_id: str, limits: ResourceLimits) -> JobHandle: + if limits.wall_seconds > 30 or limits.calls is not None or limits.accepted_steps is not None: + raise ValueError("2D jobs require wall<=30s and no unobserved whole-job counter caps") + return supervisor.submit(run_id, WORKER_ID, self.request, limits, execution=self.execution) + + +def prepare_steady_2d_job(prepared: PreparedDevice, spatial: JV2DInput, protocol: Steady2DProtocol, *, + options: Steady2DOptions, implementation: BuildSource, + current_repository_head: str, engine: ExecutionEngine) -> Steady2DJob: + if type(engine) is not ExecutionEngine or engine.name != "solarlab" or type(protocol) is not Steady2DProtocol: + raise ValueError("explicit new-core engine and 2D target protocol required") + _validate(prepared, spatial, options) + inputs = _identity_inputs(prepared, spatial, implementation) + from solarlab.equations.implementation import selection_setting + + # The child installs these before any engine import: a queued or spawned + # job runs the equation selection of the parent that prepared it. + environment = tuple(sorted([*((name, "1") for name in THREADS), selection_setting()])) + runtime = RuntimeEnvironment(platform.python_implementation(), platform.python_version(), + platform.system(), platform.machine(), tuple((name, importlib.metadata.version(name)) for name in PACKAGES), + tuple((name, json.dumps(value)) for name, value in environment)) + body = _body(prepared, spatial, protocol, options) + execution = ExecutionDescription(**_roles(prepared, body, implementation), implementation=implementation, + environment=runtime, current_repository_head=current_repository_head) + _verify_sources(execution) + manifest = execution_manifest(inputs, execution, engine=engine) + binding = ManifestBinding(manifest, inputs, execution, engine, manifest.sha256, environment) + identity = manifest.export()["document"]["execution_identity"] + request = WorkerRequest(document(REQUEST_SCHEMA.id, body), REGISTRY, REQUEST_SCHEMA, + document("solarlab.steady-2d.execution-identity.v1", identity), identity["payload"]["H_input"], identity["payload"]["H_physics"]) + binding.validate_request(request) + return Steady2DJob(request, binding) + + +def steady_2d_worker_binding() -> WorkerBinding: + return WorkerBinding.from_function(WORKER_ID, run_steady_2d_worker, + registry_sha256=REGISTRY.sha256, schema_sha256=REQUEST_SCHEMA.sha256) + + +def _request_contract(request: WorkerRequest, worker_source_sha256: str | None) -> bool: + """Admit original process requests or the explicitly installed HTTP route.""" + if request.registry == REGISTRY and request.schema == REQUEST_SCHEMA: + return True + catalog = json.loads(request.registry.content) + if not isinstance(catalog, dict): + return False + entries = [entry for entry in catalog.get("bindings", ()) + if isinstance(entry, dict) and entry.get("driver") == WORKER_ID] + return bool(request.registry.id == "solarlab.execution-catalog.v1" + and request.schema.id == "solarlab.job-submission.schema.v1" + and catalog.get("schema") == "solarlab.execution-catalog.v1" + and catalog.get("job_schema_sha256") == request.schema.sha256 and len(entries) == 1 + and entries[0].get("experiment_id") == WORKER_ID and entries[0].get("version") == 1 + and entries[0].get("engine") == "solarlab" and entries[0].get("result_schema") == RESULT_SCHEMA + and entries[0].get("scope") == "uniform_no_grain_classical_2d_steady" + and worker_source_sha256 is not None and entries[0].get("worker_source_sha256") == worker_source_sha256) + + +def _lateral_initial(device: CompiledDevice2D, column_u: np.ndarray, *, voltage_V: float) -> State2D: + """The accepted research_2d.steady lateral seed recipe, unchanged.""" + import numpy as np + g, N = device.geometry, device.node_count + y = (device.column.nodes_m - device.column.nodes_m[0]) / np.ptp(device.column.nodes_m) + x = (g.x_m - g.x_m[0]) / g.lateral_length_m + wave = np.sin(np.pi * y) + wave[[0, -1]] = 0.0 + u = device.extrude_coordinates(column_u) + u[:N] += (.0007 * wave[:, None] * np.cos(np.pi * x)[None, :]).ravel() + u[N:2 * N] += (.013 * wave[:, None] * np.sin(np.pi * x)[None, :]).ravel() + u[2 * N:] += (-.011 * wave[:, None] * np.cos(2 * np.pi * x)[None, :]).ravel() + return device.state(u, voltage_V=voltage_V) + + +def run_steady_2d_worker(request: WorkerRequest, worker: WorkerContext) -> WorkerResult: + worker.check_cancel() + binding = worker.consume_manifest(request, engine="solarlab") + from solarlab.equations.implementation import verify_selection + + verify_selection(binding.environment) + _verify_sources(binding.execution) + from solarlab.device.compile_2d import compile_device_2d + from solarlab.equations.implementation import provenance_binding + from solarlab.solvers.nonlinear.steady_1d import SteadyOptions, SteadyStateError, solve_steady_state + from solarlab.solvers.nonlinear.steady_2d import Steady2DOptions, solve_steady_state_2d + from solarlab.experiments.two_dimensional.steady_results import steady_2d_payload, result_digest + from threadpoolctl import threadpool_info, threadpool_limits + + body = json.loads(request.request.content) + protocol = Steady2DProtocol(**body["protocol"]) + spatial = JV2DInput.model_validate(body["spatial"]) + supplied = body["controls"]["full_2d"] + options = Steady2DOptions(SteadyOptions(**supplied["electronic"]), supplied["wall_s"]) + prepared = binding.inputs.prepared + _validate(prepared, spatial, options) + expected = _identity_inputs(prepared, spatial, binding.execution.implementation) + if (body != _body(prepared, spatial, protocol, options) + or not _request_contract(request, steady_2d_worker_binding().source_sha256) + or input_identity(expected).sha256 != request.H_input or physics_identity(expected).sha256 != request.H_physics + or any(getattr(binding.execution, name) != value for name, value in + _roles(prepared, body, binding.execution.implementation).items())): + raise ValueError("2D request/input/model/controls differ from the bound execution") + _verify_sources(binding.execution) + started = time.monotonic() + started_utc = datetime.now(timezone.utc).isoformat() + with threadpool_limits(limits=1): + device = compile_device_2d(prepared, spatial) + # Admission names the bound equation systems the job evaluates, so the device is compiled first. + with worker.admit_provenance(request, **provenance_binding("DC2DProblem.steady", device)): + attempts = [] + capture: dict[str, Any] = {"started_utc": started_utc, + "build_source_commit": binding.execution.implementation.build_source_commit, + "runtime": json.loads(json.dumps(asdict(observe_environment( + PACKAGES, tuple(name for name, _ in binding.environment))))), + "manifest_sha256": binding.expected_sha256, "request_sha256": request.request.sha256, + "prepared_sha256": prepared.content_sha256, "scope": "cold_auxiliary_seed_then_connected_2d_newton_in_worker"} + with threadpool_limits(limits=1): + pools = threadpool_info() + if any(pool["num_threads"] != 1 for pool in pools): + raise ValueError("requested native thread ceiling was not installed") + deadline = started + options.wall_s + for scale in protocol.generation_scales: + worker.check_cancel() + target = {"voltage_V": protocol.voltage_V, "generation_scale": scale} + seed, result, failed_seed = None, None, None + seed_called, full_called = False, False + try: + if time.monotonic() >= deadline: + raise TimeoutError("whole2D path exhausted before auxiliary seed") + worker.progress({"stage": "steady_2d_auxiliary_seed", "target": target}) + seed_called = True + seed = solve_steady_state(device.column, **target, initial_state=None, options=SteadyOptions()) + initial = _lateral_initial(device, seed.state.u, voltage_V=protocol.voltage_V) + remaining = deadline - time.monotonic() + if remaining <= 0: + raise TimeoutError("whole2D path exhausted during auxiliary seed") + worker.check_cancel() + worker.progress({"stage": "steady_2d_full_newton", "target": target, "coordinates": 3 * device.node_count}) + full_called = True + result = solve_steady_state_2d(device, **target, options=replace(options, wall_s=remaining), + initial_state=initial, initial_provenance={ + "kind": "lateral perturbation of auxiliary1D numerical seed", "auxiliary_seed_is_2d_completion": False, + "auxiliary_1d_compiled_identity": device.column.identity, + "auxiliary_1d_state_sha256": hashlib.sha256(seed.state.u.tobytes()).hexdigest(), + "perturbation": INITIAL_POLICY["perturbation"]}) + accepted, termination, error = result.accepted, result.termination, result.error + except Exception as exc: + accepted, termination, error = False, "preparation_or_evaluation_failed", f"{type(exc).__name__}: {str(exc)[:600]}" + if isinstance(exc, SteadyStateError): + failed_seed = exc.result + attempts.append({"target": target, "accepted": accepted, "termination": termination, "error": error, + "auxiliary_1d_seed_called": seed_called, "full_2d_adapter_called": full_called, + "auxiliary_1d_seed": seed, "failed_auxiliary_seed_newton": failed_seed, "result_2d": result, + "auxiliary_seed_is_2d_completion": False}) + if not accepted: + break + worker.check_cancel() + summary, payloads = steady_2d_payload(device, prepared, body, attempts, time.monotonic() - started) + sources = {s.id: s.sha256 for s in binding.execution.implementation.files} + sources.update({s["id"]: s["sha256"] for s in json.loads(binding.execution.preparation.content)["adapter_sources"]}) + capture.update(finished_utc=datetime.now(timezone.utc).isoformat(), source_sha256=sources, + compiled_identity=device.identity, geometry_identity=device.geometry.sha256, + result_sha256=result_digest(summary, payloads), threadpools=pools, native_thread_counts_observed=bool(pools)) + return WorkerResult.from_dict({"schema": RESULT_SCHEMA, "engine": "solarlab", "H_input": request.H_input, + "H_physics": request.H_physics, "H_execution": request.execution_identity.sha256, + "manifest_sha256": binding.expected_sha256, "prepared_sha256": prepared.content_sha256, + "steady_2d_result": summary, "capture": capture, "reason": summary["reason"], + "payloads": {name: {"sha256": p.sha256, "format": p.format, "metadata": json.loads(p.metadata_json)} + for name, p in payloads.items()}, "scientific_qualification": False}, + artifacts=tuple(payloads.items()), state="succeeded" if summary["completed"] else "failed") + + +def read_steady_2d_job(store: RunStore, run_id: str, *, attempt_id: str | None = None, + current_identity: JobProvenance | dict[str, Any] | None = None, strict_same_source: bool = False) -> dict[str, Any]: + from solarlab.experiments.two_dimensional.steady_results import read_steady_2d_job as read + return read(store, run_id, attempt_id=attempt_id, current_identity=current_identity, strict_same_source=strict_same_source) diff --git a/src/solarlab/experiments/worker.py b/src/solarlab/experiments/worker.py new file mode 100644 index 00000000..82d493d4 --- /dev/null +++ b/src/solarlab/experiments/worker.py @@ -0,0 +1,680 @@ +"""Spawn transport and trusted infrastructure workers, not scientific executors. + +No solver, database, closure or native solver handle crosses this boundary. +Request documents belong to the future P05 authority. A source/schema match +only admits this transport; it does not validate a physical RunSpec. Progress +is replaceable UI metadata. Required state history must be an artifact. +""" + +from __future__ import annotations + +import base64 +from contextlib import contextmanager +from collections.abc import Iterator +from dataclasses import asdict, dataclass, replace +import hashlib +import importlib +import importlib.util +import importlib.metadata +import inspect +import json +import math +import os +import platform +from pathlib import Path +import re +import resource +import stat +import subprocess +import sys +import time +from typing import TYPE_CHECKING, Any, Callable + +from solarlab.io.artifacts import ArtifactPayload, _json_document, _parse_document, bytes_artifact +from solarlab.materials.source import SourceDocument +from solarlab.reproducibility.job_provenance import ( + JobProvenance, execution_checkout, job_provenance, provenance_owner, worker_input_record, +) + +if TYPE_CHECKING: + from solarlab.config.identity import ( + ExecutionDescription, ExecutionEngine, ExecutionManifest, IdentityInputs, RuntimeEnvironment, + ) + +__all__ = ["WorkerRequest", "WorkerBinding", "ResourceLimits", "WorkerResult", "WorkerContext", "CooperativeStop", + "ManifestBinding", "RunSpec", "observe_environment"] + +PROGRESS_BYTES = 4096 +REQUEST_BYTES = 262144 +TERMINAL_BYTES = 262144 +RUN_SPEC_BYTES = REQUEST_BYTES + 8192 +# Mirror the supervisor RSS-sampler bounds; tested for equality. +_STARTUP_IDENTITY_MAX_MISSING_SAMPLES = 3 +_STARTUP_IDENTITY_MAX_GAP_SECONDS = 2.0 + + +def _name(value: str) -> str: + if type(value) is not str or re.fullmatch(r"[A-Za-z0-9_][A-Za-z0-9_.:-]{0,127}", value) is None: + raise ValueError("expected a bounded identifier, not a module or path supplied in payload") + return value + + +def _sha(value: str) -> str: + if type(value) is not str or re.fullmatch(r"[0-9a-f]{64}", value) is None: + raise ValueError("an explicit SHA-256 identity is required") + return value + + +def _object(value: Any) -> str: + if type(value) is not dict: + raise ValueError("an explicit strict JSON object is required") + return _json_document(value) + + +def observe_environment(packages: tuple[str, ...], names: tuple[str, ...]) -> RuntimeEnvironment: + """Observe dependency versions and exact environment values in this process. + + A missing variable is JSON null, distinct from an empty string. Callers + choose the dependency/key coverage; no values are taken from a manifest. + """ + from solarlab.config.identity import RuntimeEnvironment + + return RuntimeEnvironment(platform.python_implementation(), platform.python_version(), + platform.system(), platform.machine(), + tuple((name, importlib.metadata.version(name)) for name in packages), + tuple((name, _json_document(os.environ.get(name))) for name in names)) + + +@dataclass(frozen=True, slots=True) +class ManifestBinding: + """Trusted per-job W11 data, separate from untrusted request transport. + + Spawn transfers these existing immutable preparation records, never a + model or native handle. The child revalidates them and observes its own + runtime. This is not a serialized object loader or scientific admission. + """ + + manifest: ExecutionManifest + inputs: IdentityInputs + execution: ExecutionDescription + engine: ExecutionEngine + expected_sha256: str + environment: tuple[tuple[str, str | None], ...] + + def __post_init__(self) -> None: + from solarlab.config.identity import ( + ExecutionDescription, ExecutionEngine, ExecutionManifest, IdentityInputs, verify_execution_manifest, + ) + + _sha(self.expected_sha256) + if (type(self.manifest) is not ExecutionManifest or type(self.inputs) is not IdentityInputs + or type(self.execution) is not ExecutionDescription or type(self.engine) is not ExecutionEngine): + raise ValueError("manifest consumption requires the actual W11 preparation records") + snapshot = tuple(sorted(self.environment)) + if (len({key for key, _ in snapshot}) != len(snapshot) + or any(type(key) is not str or re.fullmatch(r"[A-Z][A-Z0-9_]*", key) is None + or value is not None and type(value) is not str for key, value in snapshot)): + raise ValueError("explicit unique child environment keys and string/null values are required") + if any(key in {"PYTHONPATH", "PYTHONHOME", "LD_PRELOAD", "DYLD_INSERT_LIBRARIES"} for key, _ in snapshot): + raise ValueError("a manifest cannot select code through environment injection") + object.__setattr__(self, "environment", snapshot) + if self.execution.environment.settings != tuple((key, _json_document(value)) for key, value in snapshot): + raise ValueError("child environment settings differ from the execution description") + verify_execution_manifest(self.manifest, self.inputs, self.execution, engine=self.engine, + environment=self.execution.environment, expected_sha256=self.expected_sha256) + + def validate_request(self, request: WorkerRequest) -> None: + identity = self.manifest.export()["document"]["execution_identity"] + if (request.execution_identity.sha256 != self.manifest.execution_sha256 + or request.H_input != identity["payload"]["H_input"] + or request.H_physics != identity["payload"]["H_physics"]): + raise ValueError("worker request does not belong to this execution manifest") + + def summary(self) -> dict[str, Any]: + return {"manifest_sha256": self.expected_sha256, "H_execution": self.manifest.execution_sha256, + "engine": self.engine.name, "current_repository_head": self.execution.current_repository_head} + + +@dataclass(frozen=True, slots=True) +class WorkerRequest: + request: SourceDocument + registry: SourceDocument + schema: SourceDocument + execution_identity: SourceDocument + H_input: str + H_physics: str + + def __post_init__(self) -> None: + for document in (self.request, self.registry, self.schema, self.execution_identity): + if type(document) is not SourceDocument: + raise ValueError("all four actual immutable upstream content documents are required") + _sha(self.H_input) + _sha(self.H_physics) + if len(self.to_bytes()) > REQUEST_BYTES: + raise ValueError("request exceeds bounded inline transport; a future large-document adapter is required") + + def to_document(self) -> dict[str, Any]: + return {"transport": "solarlab.worker-request.v1", "status": "prepared_pending_dependencies", + "H_input": self.H_input, "H_physics": self.H_physics, + "H_execution": self.execution_identity.sha256, + "documents": {name: {"id": document.id, "sha256": document.sha256, + "base64": base64.b64encode(document.content).decode("ascii")} + for name in ("request", "registry", "schema", "execution_identity") + for document in (getattr(self, name),)}} + + def to_bytes(self) -> bytes: + return _object(self.to_document()).encode() + + @classmethod + def from_bytes(cls, raw: bytes) -> WorkerRequest: + if type(raw) is not bytes or len(raw) > REQUEST_BYTES: + raise ValueError("invalid bounded request transport") + value = _parse_document(raw.decode()) + if type(value) is not dict or set(value) != {"transport", "status", "H_input", "H_physics", "H_execution", "documents"}: + raise ValueError("unknown request transport fields") + documents = value["documents"] + if type(documents) is not dict or set(documents) != {"request", "registry", "schema", "execution_identity"}: + raise ValueError("incomplete request documents") + decoded = {} + for name, item in documents.items(): + if type(item) is not dict or set(item) != {"id", "sha256", "base64"}: + raise ValueError("invalid source document transport") + source = SourceDocument(item["id"], base64.b64decode(item["base64"], validate=True)) + if source.sha256 != item["sha256"]: + raise ValueError("source document digest mismatch") + decoded[name] = source + result = cls(decoded["request"], decoded["registry"], decoded["schema"], decoded["execution_identity"], + value["H_input"], value["H_physics"]) + if result.to_bytes() != raw: + raise ValueError("request transport identity/schema differs from canonical content") + return result + + +@dataclass(frozen=True, slots=True) +class ResourceLimits: + wall_seconds: float + rss_bytes: int + output_bytes: int + accepted_steps: int | None + calls: int | None + + def __post_init__(self) -> None: + if type(self.wall_seconds) not in {int, float} or not math.isfinite(self.wall_seconds) or self.wall_seconds <= 0: + raise ValueError("a positive finite owned execution wall limit is required") + for value in (self.rss_bytes, self.output_bytes): + if type(value) is not int or value <= 0: + raise ValueError("explicit positive RSS and output limits are required") + if self.output_bytes < 16384: + raise ValueError("output allowance must include at least 16 KiB for bounded control records") + for cap in (self.accepted_steps, self.calls): + if cap is not None and (type(cap) is not int or not 0 <= cap < 2**63): + raise ValueError("counter cap must be a nonnegative int64 or explicitly unrequested") + + +@dataclass(frozen=True, slots=True) +class RunSpec: + """Serializable bounded invocation of an already trusted worker. + + A restored declaration is data, not a loader for trusted Python objects. + Submission requires the independently reconstructed W11 ManifestBinding. + The initial-state reference retains its producer's meaning: a legacy seed + recipe is not promoted to a supplied or qualified working point. + """ + + worker_id: str + request: WorkerRequest + limits: ResourceLimits + manifest_sha256: str + initial_state_id: str + initial_state_sha256: str + + def __post_init__(self) -> None: + _name(self.worker_id) + if type(self.request) is not WorkerRequest or type(self.limits) is not ResourceLimits: + raise ValueError("RunSpec requires immutable request documents and explicit budgets") + _sha(self.manifest_sha256) + _sha(self.initial_state_sha256) + if type(self.initial_state_id) is not str or not self.initial_state_id.strip() or len(self.initial_state_id) > 4096: + raise ValueError("the actual initial-state source identity is required") + if len(self.to_bytes()) > RUN_SPEC_BYTES: + raise ValueError("RunSpec exceeds the bounded declaration transport") + + @classmethod + def from_binding(cls, worker_id: str, request: WorkerRequest, limits: ResourceLimits, + execution: ManifestBinding) -> RunSpec: + if type(execution) is not ManifestBinding: + raise ValueError("RunSpec requires an independently prepared execution manifest") + initial = execution.execution.initial_state + result = cls(worker_id, request, limits, execution.expected_sha256, initial.id, initial.sha256) + result.validate(execution) + return result + + def validate(self, execution: ManifestBinding) -> None: + if type(execution) is not ManifestBinding: + raise ValueError("restored RunSpec requires an independently prepared manifest binding") + execution.validate_request(self.request) + initial = execution.execution.initial_state + if (self.manifest_sha256 != execution.expected_sha256 + or self.initial_state_id != initial.id or self.initial_state_sha256 != initial.sha256): + raise ValueError("RunSpec manifest or initial-state source differs from the actual binding") + + def to_document(self) -> dict[str, Any]: + return {"schema": "solarlab.run-spec.v1", "worker_id": self.worker_id, + "request": self.request.to_document(), "limits": asdict(self.limits), + "manifest_sha256": self.manifest_sha256, + "initial_state": {"id": self.initial_state_id, "sha256": self.initial_state_sha256}} + + def to_bytes(self) -> bytes: + return _object(self.to_document()).encode() + + @classmethod + def from_bytes(cls, raw: bytes) -> RunSpec: + if type(raw) is not bytes or len(raw) > RUN_SPEC_BYTES: + raise ValueError("invalid bounded RunSpec transport") + value = _parse_document(raw.decode()) + if type(value) is not dict or set(value) != { + "schema", "worker_id", "request", "limits", "manifest_sha256", "initial_state", + } or value["schema"] != "solarlab.run-spec.v1": + raise ValueError("unknown RunSpec fields or schema") + if type(value["initial_state"]) is not dict or set(value["initial_state"]) != {"id", "sha256"}: + raise ValueError("incomplete RunSpec initial-state reference") + if type(value["limits"]) is not dict or set(value["limits"]) != { + "wall_seconds", "rss_bytes", "output_bytes", "accepted_steps", "calls", + }: + raise ValueError("incomplete RunSpec budgets") + result = cls(value["worker_id"], WorkerRequest.from_bytes(_object(value["request"]).encode()), + ResourceLimits(**value["limits"]), value["manifest_sha256"], + value["initial_state"]["id"], value["initial_state"]["sha256"]) + if result.to_bytes() != raw: + raise ValueError("RunSpec differs from its canonical content") + return result + + +@dataclass(frozen=True, slots=True) +class WorkerBinding: + """Trusted parent-code allowlist entry; user request data never creates one.""" + + id: str + module: str + symbol: str + source_sha256: str + registry_sha256: str + schema_sha256: str + + def __post_init__(self) -> None: + _name(self.id) + if not self.module or self.module == "__main__" or any(not p.isidentifier() for p in self.module.split(".")) or not self.symbol.isidentifier(): + raise ValueError("worker must be an importable named module-level function") + for value in (self.source_sha256, self.registry_sha256, self.schema_sha256): + _sha(value) + + @classmethod + def from_function( + cls, id: str, function: Callable[..., Any], *, registry_sha256: str, schema_sha256: str, + ) -> WorkerBinding: + if (not inspect.isfunction(function) or function.__closure__ is not None + or function.__qualname__ != function.__name__ or function.__module__ == "__main__"): + raise ValueError("closures, nested functions and anonymous workers are not transportable") + module = importlib.import_module(function.__module__) + if getattr(module, function.__name__, None) is not function: + raise ValueError("worker is not the registered module-level function") + path = Path(inspect.getfile(module)) + if path.suffix != ".py": + raise ValueError("this preparation requires an explicit Python source worker") + return cls(id, function.__module__, function.__name__, hashlib.sha256(path.read_bytes()).hexdigest(), + registry_sha256, schema_sha256) + + def validate_request(self, request: WorkerRequest) -> None: + if request.registry.sha256 != self.registry_sha256 or request.schema.sha256 != self.schema_sha256: + raise ValueError("worker registry/schema content mismatch") + + +@dataclass(frozen=True, slots=True) +class WorkerResult: + result_json: str + artifacts: tuple[tuple[str, ArtifactPayload], ...] = () + state: str = "succeeded" + + def __post_init__(self) -> None: + if type(self.state) is not str or self.state not in {"succeeded", "failed"}: + raise ValueError("a returned worker result must explicitly succeed or fail; cancellation belongs to the runtime") + object.__setattr__(self, "result_json", _object(_parse_document(self.result_json))) + artifacts = tuple(self.artifacts) + if len(artifacts) > 16 or len({name for name, _ in artifacts}) != len(artifacts): + raise ValueError("result requires at most sixteen uniquely named artifacts") + for name, payload in artifacts: + _name(name) + if type(payload) is not ArtifactPayload: + raise ValueError("result artifacts require validated immutable ArtifactPayload records") + object.__setattr__(self, "artifacts", artifacts) + + @classmethod + def from_dict(cls, value: dict[str, Any], *, artifacts: tuple[tuple[str, ArtifactPayload], ...] = (), + state: str = "succeeded") -> WorkerResult: + return cls(_object(value), artifacts, state) + + +class CooperativeStop(BaseException): + """A requested soft cancellation, independent of worker exceptions.""" + + +class _LimitExceeded(BaseException): + def __init__(self, reason: str, observed: int) -> None: + self.reason, self.observed = reason, observed + + +class WorkerContext: + """One child only; counters are explicit cumulative observations, not estimates. + + Reporting no counters leaves them unknown. They are never fabricated from + progress or reset at an output point. IPC primitives here are transport + synchronization, not native solver handles. A worker cannot create a nested + multiprocessing pool because its process is daemonic. + """ + + def __init__(self, stop: Any, lock: Any, header: Any, buffer: Any, limits: ResourceLimits, + execution: ManifestBinding | None = None) -> None: + self._stop, self._lock, self._header, self._buffer = stop, lock, header, buffer + self._limits = limits + self._counts: tuple[int | None, int | None] = (None, None) + self._progress = b"" + self._revision = 0 + self._execution = execution + self._manifest_consumed = False + + def consume_manifest(self, request: WorkerRequest, *, engine: str) -> ManifestBinding: + """Real child-side validation before an explicitly selected executor.""" + from solarlab.config.identity import verify_execution_manifest + + binding = self._execution + if binding is None: + raise ValueError("this worker requires a complete execution manifest") + if binding.engine.name != engine: + raise ValueError("wrong execution engine; fallback is forbidden") + binding.validate_request(request) + # Re-run the existing preparation constructors after trusted spawn + # transport. Do not reconstruct any trusted fact from manifest claims. + inputs = replace(binding.inputs) + environment = observe_environment(tuple(key for key, _ in binding.execution.environment.packages), + tuple(key for key, _ in binding.environment)) + verify_execution_manifest(binding.manifest, inputs, binding.execution, engine=binding.engine, + environment=environment, expected_sha256=binding.expected_sha256) + self._manifest_consumed = True + return binding + + @contextmanager + def admit_provenance(self, request: WorkerRequest, *, operator: str, + assembler_identity: str | None = None, + analysis_identity: str | None = None) -> Iterator[JobProvenance]: + """Enter only after installed binding/input checks, before numerical work.""" + if self._execution is not None and not self._manifest_consumed: + raise ValueError("job provenance requires prior manifest admission") + with job_provenance({"request_sha256": request.request.sha256, + "H_input": request.H_input, "H_physics": request.H_physics}, + operator=operator, assembler_identity=assembler_identity, + analysis_identity=analysis_identity) as record: + yield record + + @property + def cancelled(self) -> bool: + return bool(self._stop.is_set()) + + def check_cancel(self) -> None: + if self.cancelled: + raise CooperativeStop() + + def _publish(self) -> None: + self._revision += 1 + # A killed peer must never leave the control loop waiting on this lock. + if self._lock.acquire(timeout=0.05): + try: + self._buffer[:len(self._progress)] = self._progress + self._header[:] = (self._revision, len(self._progress), + *(-1 if x is None else x for x in self._counts)) + finally: + self._lock.release() + + def progress(self, value: dict[str, Any]) -> None: + raw = _object(value).encode() + if len(raw) > PROGRESS_BYTES: + raise ValueError("replaceable progress exceeds its bounded slot; use an artifact for history") + self._progress = raw + self._publish() + + def counters(self, *, accepted_steps: int | None, calls: int | None) -> None: + values = (accepted_steps, calls) + for old, new in zip(self._counts, values): + if new is not None and (type(new) is not int or not 0 <= new < 2**63): + raise ValueError("counters require cumulative nonnegative int64 observations") + if old is not None and (new is None or new < old): + raise ValueError("cumulative counters cannot decrease or become unobserved") + self._counts = values + self._publish() + for name, observed, cap in zip(("accepted_steps", "calls"), values, (self._limits.accepted_steps, self._limits.calls)): + if observed is not None and cap is not None and observed > cap: + raise _LimitExceeded(name + "_limit", observed) + + +def _atomic_json(path: Path, value: dict[str, Any]) -> None: + raw = _object(value).encode() + partial = path.with_suffix(path.suffix + ".part") + fd = os.open(partial, os.O_CREAT | os.O_EXCL | os.O_WRONLY | os.O_NOFOLLOW, 0o600) + with os.fdopen(fd, "wb") as stream: + stream.write(raw) + stream.flush() + os.fsync(stream.fileno()) + os.replace(partial, path) + directory = os.open(path.parent, os.O_RDONLY | os.O_DIRECTORY) + try: + os.fsync(directory) + finally: + os.close(directory) + + +def _process_info(pids: list[int], *, include_descendants: bool = False) -> dict[int, dict[str, Any]]: + """Read supported macOS/Linux ps fields; missing measurements remain missing. + + lstart has seconds precision: a mismatch proves an old PID exited, while + equality never authorizes signalling a restored/unowned process. + """ + if not pids: + return {} + fields = "pid=,ppid=,lstart=,rss=" + argv = ["ps", "-axo", fields] if include_descendants else ["ps", "-p", ",".join(str(p) for p in pids), "-o", fields] + result = subprocess.run(argv, capture_output=True, text=True, timeout=0.5) + if include_descendants and result.returncode: + # A failed whole-family query is not a complete RSS measurement, even + # if ps happened to print a partial set of otherwise valid rows. + raise subprocess.CalledProcessError(result.returncode, argv, result.stdout, result.stderr) + found = {} + for line in result.stdout.splitlines(): + words = line.split() + if len(words) == 8 and words[0].isdigit() and words[1].isdigit() and words[-1].isdigit(): + found[int(words[0])] = {"pid": int(words[0]), "ppid": int(words[1]), "start_lstart": " ".join(words[2:-1]), + "start_precision": "seconds", "rss_bytes": int(words[-1]) * 1024} + selected = set(pids) + if include_descendants: + while True: + extended = selected | {pid for pid, item in found.items() if item["ppid"] in selected} + if extended == selected: + break + selected = extended + return {pid: item for pid, item in found.items() if pid in selected} + + +def _observe_child_identity(pid: int) -> tuple[dict[str, Any] | None, dict[str, Any]]: + """Bound startup metadata queries without turning a miss into worker failure. + + The parent independently enforces RSS through its tolerant sampler. This + identity only helps later PID-reuse diagnosis: unknown was already allowed, + and never authorizes signalling or releasing an uncertain restored process. + Share the sampler's retry bounds, keeping each ps invocation capped at 0.5 s. + """ + started = time.monotonic() + attempts = 0 + errors: list[str] = [] + identity = None + while (len(errors) < _STARTUP_IDENTITY_MAX_MISSING_SAMPLES + and time.monotonic() - started < _STARTUP_IDENTITY_MAX_GAP_SECONDS): + attempts += 1 + try: + observed = _process_info([pid]).get(pid) + except (subprocess.SubprocessError, OSError, UnicodeError) as error: + detail = type(error).__name__ + ": " + str(error)[:512] + else: + if observed is None: + detail = "child OS identity is unobserved" + elif time.monotonic() - started >= _STARTUP_IDENTITY_MAX_GAP_SECONDS: + detail = "child OS identity arrived after its bounded interval expired" + else: + identity = observed + break + errors.append(detail) + return identity, {"scope": "child_start_identity_only", "status": "observed" if identity is not None else "unavailable", + "attempts": attempts, "missing_samples": len(errors), "errors": errors, + "elapsed_seconds": time.monotonic() - started, + "max_missing_samples": _STARTUP_IDENTITY_MAX_MISSING_SAMPLES, "max_gap_seconds": _STARTUP_IDENTITY_MAX_GAP_SECONDS} + + +def _regular_bytes(path: Path, maximum: int) -> bytes: + fd = os.open(path, os.O_RDONLY | os.O_NOFOLLOW | os.O_NONBLOCK) + with os.fdopen(fd, "rb") as stream: + info = os.fstat(stream.fileno()) + if not stat.S_ISREG(info.st_mode) or info.st_nlink != 1 or info.st_size > maximum: + raise ValueError("unsafe or oversized generated file") + return stream.read(maximum + 1) + + +def _directory_bytes(path: Path) -> int: + """Measure existing files, reobserving once if atomic publication races us. + + A directory census is not an atomic filesystem snapshot. Keep the larger + observation and let the supervisor retain its historical peak; permission + and other I/O errors still propagate instead of becoming a zero reading. + """ + def observe() -> tuple[int, bool]: + total, changed = 0, False + for file in path.rglob("*"): + try: + info = file.lstat() + except FileNotFoundError: + changed = True + continue + if stat.S_ISLNK(info.st_mode): + raise ValueError("worker output must not contain links") + if stat.S_ISREG(info.st_mode): + total += info.st_size + return total, changed + + total, changed = observe() + if changed: + repeated, _ = observe() + return max(total, repeated) + return total + + +def _child_main( + raw: bytes, binding: WorkerBinding, limits: ResourceLimits, directory: str, + token: dict[str, Any], stop: Any, lock: Any, header: Any, buffer: Any, + execution: ManifestBinding | None = None, +) -> None: + """Importable spawn entry. The allowlist binding comes only from parent code.""" + path = Path(directory) + context = WorkerContext(stop, lock, header, buffer, limits, execution) + state = "failed" + result: dict[str, Any] = {} + artifacts: list[dict[str, Any]] = [] + owner: dict[str, Any] = {} + try: + os.chdir(path) + log = os.open(path / "worker.log", os.O_WRONLY | os.O_CREAT | os.O_EXCL | os.O_NOFOLLOW, 0o600) + os.dup2(log, 1) + os.dup2(log, 2) + os.close(log) + resource.setrlimit(resource.RLIMIT_FSIZE, (limits.output_bytes, limits.output_bytes)) + identity, observation = _observe_child_identity(os.getpid()) + _atomic_json(path / "started.json", {"token": token, "pid": os.getpid(), "pgid": os.getpgrp(), + "os_identity": identity, "os_identity_observation": observation}) + request = WorkerRequest.from_bytes(raw) + binding.validate_request(request) + if execution is not None: + if any(name in sys.modules for name in ("scipy", "perovskite_sim")): + raise ValueError("engine imports preceded the isolated worker environment") + for name, value in execution.environment: + if value is None: + os.environ.pop(name, None) + else: + os.environ[name] = value + spec = importlib.util.find_spec(binding.module) + if spec is None or spec.origin is None or Path(spec.origin).suffix != ".py" or hashlib.sha256(Path(spec.origin).read_bytes()).hexdigest() != binding.source_sha256: + raise ValueError("worker source content changed since trusted registration") + module = importlib.import_module(binding.module) + function = getattr(module, binding.symbol) + if not inspect.isfunction(function) or function.__qualname__ != binding.symbol or function.__module__ != binding.module: + raise ValueError("registered worker is not a module-level function") + context.check_cancel() + options: dict[str, Any] = {"dirty_policy": "record", "attempt_ref": token, + "execution_manifest_sha256": None if execution is None else execution.expected_sha256, + "input_record": worker_input_record(request.to_document(), + None if execution is None else execution.manifest.export()["document"])} + checkout = execution_checkout() + if checkout is not None: + options["source_root"] = checkout + elif execution is not None: + # Supplied source bytes passed installed checks in the route before + # admission. Absent lock/build coverage remains explicit unknown. + files = {s.id: s.content for s in execution.execution.implementation.files} + adapters = json.loads(execution.execution.preparation.content).get("adapter_sources", []) + files.update({a["id"]: bytes.fromhex(a["content_hex"]) for a in adapters}) + options.update(source_files=tuple(files.items()), + git_commit=execution.execution.implementation.build_source_commit, + source_attested=True, + source_dirty_paths=tuple(a["id"] for a in adapters if a.get("base_sha256") != a["sha256"]), + environment_lock=files.get("uv.lock", files.get("share/uv.lock"))) + with provenance_owner(**options) as owner: + output = function(request, context) + if type(output) is WorkerResult and owner.get("_record") is not None: + recorded = _parse_document(output.result_json) + recorded["job_provenance"] = owner["_record"].envelope() + output = WorkerResult.from_dict(recorded, artifacts=output.artifacts, state=output.state) + if type(output) is not WorkerResult: + raise ValueError("worker must return a validated WorkerResult") + output = WorkerResult(output.result_json, output.artifacts, output.state) + if execution is not None: + if not context._manifest_consumed: + raise ValueError("worker returned without consuming its execution manifest") + output = WorkerResult(output.result_json, (*output.artifacts, ("execution_manifest", bytes_artifact( + execution.manifest.canonical_json, metadata={"schema": "solarlab.execution-manifest.v1", + "manifest_sha256": execution.expected_sha256, "scientific_qualification": False, + **({"job_provenance_sha256": owner["_record"].sha256} if owner.get("_record") is not None else {})}))), output.state) + for name, observed, cap in zip(("accepted_steps", "calls"), context._counts, (limits.accepted_steps, limits.calls)): + if cap is not None and observed is None: + raise ValueError("requested counter is unobserved: " + name) + for index, (name, payload) in enumerate(output.artifacts): + if _directory_bytes(path) + 2 * len(payload.data) > limits.output_bytes: + raise _LimitExceeded("output_limit_before_publication", _directory_bytes(path) + 2 * len(payload.data)) + filename = f"artifact-{index}.bin" + fd = os.open(path / filename, os.O_WRONLY | os.O_CREAT | os.O_EXCL | os.O_NOFOLLOW, 0o600) + with os.fdopen(fd, "wb") as stream: + stream.write(payload.data) + stream.flush() + os.fsync(stream.fileno()) + artifacts.append({"name": name, "file": filename, "sha256": payload.sha256, + "bytes": len(payload.data), "format": payload.format, "metadata_json": payload.metadata_json}) + state, result = output.state, _parse_document(output.result_json) + except CooperativeStop: + state, result, artifacts = "cancelled", {"reason": "cooperative_stop"}, [] + except _LimitExceeded as error: + result, artifacts = {"reason": error.reason, "observed": error.observed}, [] + except BaseException as error: + result, artifacts = {"reason": "worker_exception", "exception_type": type(error).__name__, "detail": str(error)[:2048]}, [] + if owner.get("_record") is not None: + result.setdefault("job_provenance", owner["_record"].envelope()) + peak = resource.getrusage(resource.RUSAGE_SELF).ru_maxrss + manifest = {"token": token, "worker_source_sha256": binding.source_sha256, "state": state, + "result": result, "artifacts": artifacts, + "counters": dict(zip(("accepted_steps", "calls"), context._counts)), + "child_peak_rss_bytes": peak if sys.platform == "darwin" else peak * 1024} + if len(_object(manifest).encode()) > TERMINAL_BYTES: + manifest.update(state="failed", result={"reason": "terminal_transport_limit"}, artifacts=[]) + _atomic_json(path / "terminal.json", manifest) diff --git a/src/solarlab/io/__init__.py b/src/solarlab/io/__init__.py new file mode 100644 index 00000000..d91b5d5e --- /dev/null +++ b/src/solarlab/io/__init__.py @@ -0,0 +1,7 @@ +"""Explicit local persistence; importing this namespace opens no store. + +The RunStore preparation awaits the upstream execution contracts and runtime +integration. It does not select an engine or activate a production endpoint. +""" + +__all__: tuple[str, ...] = () diff --git a/src/solarlab/io/artifacts.py b/src/solarlab/io/artifacts.py new file mode 100644 index 00000000..48379e4e --- /dev/null +++ b/src/solarlab/io/artifacts.py @@ -0,0 +1,327 @@ +"""Validated byte/NPY artifacts and confined, non-overwriting file publication. + +NumPy is imported only for explicit array operations. Numerical words are never +converted to JSON or pickle. Metadata accepts strict JSON values, not implicit +conversions of paths, dataclasses, tuples, NumPy scalars, or nonfinite scalars. +""" + +from __future__ import annotations + +from dataclasses import dataclass +import hashlib +import io +import json +import math +import os +from pathlib import Path +import re +import stat +from typing import Any + +__all__ = [ + "ArtifactIntegrityError", "ArtifactPayload", "bytes_artifact", "array_artifact", +] + + +class ArtifactIntegrityError(ValueError): + """A recorded artifact is missing, unsafe, corrupt, or incorrectly described.""" + + +def _json_document(value: Any) -> str: + def check(item: Any, depth: int) -> None: + if depth > 32: + raise ValueError("metadata exceeds the supported nesting depth") + if item is None or type(item) in {bool, int}: + return + if type(item) is str: + item.encode("utf-8") # Reject unpaired surrogates. + return + if type(item) is float and math.isfinite(item): + return + if type(item) is list: + for child in item: + check(child, depth + 1) + return + if type(item) is dict and all(type(key) is str for key in item): + for key, child in item.items(): + check(key, depth + 1) + check(child, depth + 1) + return + raise ValueError(f"unsupported metadata type/value: {type(item).__name__}") + + check(value, 0) + encoded = json.dumps(value, sort_keys=True, separators=(",", ":"), allow_nan=False) + if len(encoded.encode("utf-8")) > 2**20: + raise ValueError("metadata exceeds 1 MiB; use an independent artifact") + return encoded + + +def _parse_document(text: str) -> Any: + def pairs(items: list[tuple[str, Any]]) -> dict[str, Any]: + if len({key for key, _ in items}) != len(items): + raise ValueError("duplicate metadata key") + return dict(items) + + value = json.loads(text, object_pairs_hook=pairs) + _json_document(value) + return value + + +def _metadata(value: Any) -> dict[str, Any]: + if type(value) is not dict: + raise ValueError("artifact metadata must be an explicit JSON object") + copy = _parse_document(_json_document(value)) + if "missing_reason" in copy and copy["missing_reason"] is not None: + if type(copy["missing_reason"]) is not str or not copy["missing_reason"].strip(): + raise ValueError("missing_reason must be null or a nonempty string") + return copy + + +def _load_npy(data: bytes, metadata: dict[str, Any]) -> Any: + import numpy as np + + stream = io.BytesIO(data) + try: + version = np.lib.format.read_magic(stream) + if version == (1, 0): + shape, fortran, dtype = np.lib.format.read_array_header_1_0(stream) + elif version == (2, 0): + shape, fortran, dtype = np.lib.format.read_array_header_2_0(stream) + else: + raise ValueError("unsupported NPY version") + except (ValueError, EOFError, OSError) as error: + raise ArtifactIntegrityError("invalid non-pickle NPY payload") from error + if dtype.kind not in "biufc" or dtype.hasobject or dtype.metadata: + raise ArtifactIntegrityError("only plain numeric/boolean dtypes are supported") + declared_shape = metadata.get("shape") + if (type(declared_shape) is not list or any(type(n) is not int or n < 0 for n in declared_shape) + or declared_shape != list(shape) or metadata.get("dtype") != dtype.str + or metadata.get("order") != "C" or fortran): + raise ArtifactIntegrityError("NPY shape/dtype/order differs from its metadata") + if type(metadata.get("unit")) is not str or not metadata["unit"].strip(): + raise ArtifactIntegrityError("an array requires an explicit unit label") + # Check the declared byte count before allocating anything from a file header. + if math.prod(shape) * dtype.itemsize != len(data) - stream.tell(): + raise ArtifactIntegrityError("NPY byte count mismatch or trailing data") + array = np.frombuffer(data, dtype=dtype, offset=stream.tell()).reshape(shape) + # Immutable independent bytes, never a view into an externally mutable file. + array.setflags(write=False) + return array + + +@dataclass(frozen=True, slots=True) +class ArtifactPayload: + data: bytes + format: str + metadata_json: str + + def __post_init__(self) -> None: + if type(self.data) is not bytes: + raise ValueError("artifact payload must be immutable bytes") + metadata = _metadata(_parse_document(self.metadata_json)) + if self.format == "npy": + _load_npy(self.data, metadata) + elif self.format == "bytes": + if set(metadata) & {"shape", "dtype", "order"}: + raise ValueError("array metadata requires a validated NPY artifact") + else: + raise ValueError("unsupported artifact serialization") + object.__setattr__(self, "metadata_json", _json_document(metadata)) + + @property + def sha256(self) -> str: + return hashlib.sha256(self.data).hexdigest() + + +def bytes_artifact(data: bytes, *, metadata: dict[str, Any]) -> ArtifactPayload: + """Keep the exact bytes; metadata fields, including null, remain explicit.""" + return ArtifactPayload(data, "bytes", _json_document(_metadata(metadata))) + + +def array_artifact( + array: Any, *, unit: str, metadata: dict[str, Any], +) -> ArtifactPayload: + """Snapshot array values/shape/dtype as NPY, preserving all element words. + +Strides are normalized to C order without dtype conversion. Object, structured, +and other unsupported dtypes fail explicitly. Unit semantics belong upstream. +""" + import numpy as np + + if (type(array) is not np.ndarray or array.dtype.kind not in "biufc" + or array.dtype.hasobject or array.dtype.metadata): + raise ValueError("expected a plain numeric/boolean numpy.ndarray") + info = _metadata(metadata) + if set(info) & {"shape", "dtype", "order", "unit"}: + raise ValueError("array structure and unit have dedicated arguments") + words = array.tobytes(order="C") + info.update(shape=list(array.shape), dtype=array.dtype.str, order="C", unit=unit) + stream = io.BytesIO() + np.lib.format.write_array_header_1_0(stream, { + "descr": array.dtype.str, "fortran_order": False, "shape": array.shape, + }) + stream.write(words) # No elementwise cast/copy can normalize stored words. + return ArtifactPayload(stream.getvalue(), "npy", _json_document(info)) + + +class _ArtifactFiles: + """Private POSIX file area; names come only from DB publication reservations. + +The store root must be a local, canonical absolute path under a trusted parent. +All writers/recovery use the RunStore advisory lock. This is not a sandbox for + an attacker who can replace the database or store directories themselves. + """ + + objects_fd: int + partial_fd: int + + def __init__(self, root: Path, *, read_only: bool = False) -> None: + if os.name != "posix" or not hasattr(os, "O_NOFOLLOW"): + raise NotImplementedError("this file publisher requires POSIX no-follow operations") + if not root.is_absolute() or root.resolve() != root: + raise ValueError("store root must be an explicit canonical absolute local path") + if not read_only: + root.mkdir(mode=0o700, exist_ok=True) # Never create parents outside the root. + self.root = root + self._fds: list[int] = [] + try: + self.root_fd = self._open_dir(root) + for name in ("objects", "partial"): + if not read_only: + try: + os.mkdir(name, mode=0o700, dir_fd=self.root_fd) + except FileExistsError: + pass + setattr(self, name + "_fd", self._open_dir(name, self.root_fd)) + self.lock_fd = os.open( + ".writer.lock", (os.O_RDONLY if read_only else os.O_CREAT | os.O_RDWR) | os.O_NOFOLLOW, + 0o600, dir_fd=self.root_fd, + ) + self._fds.append(self.lock_fd) + self._regular(self.lock_fd, require_single_link=True) + if not read_only: + os.fsync(self.root_fd) + except BaseException: + self.close() + raise + + def _open_dir(self, path: Any, parent: int | None = None) -> int: + fd = os.open(path, os.O_RDONLY | os.O_DIRECTORY | os.O_NOFOLLOW, dir_fd=parent) + self._fds.append(fd) + return fd + + @staticmethod + def _regular(fd: int, *, require_single_link: bool = False) -> os.stat_result: + info = os.fstat(fd) + if not stat.S_ISREG(info.st_mode) or (require_single_link and info.st_nlink != 1): + raise ArtifactIntegrityError("expected an independent regular file") + return info + + def check_database_files(self) -> None: + for name in ("store.sqlite3", "store.sqlite3-wal", "store.sqlite3-shm", "store.sqlite3-journal"): + try: + fd = os.open(name, os.O_RDONLY | os.O_NOFOLLOW | os.O_NONBLOCK, dir_fd=self.root_fd) + except FileNotFoundError: + continue + try: + self._regular(fd, require_single_link=True) + finally: + os.close(fd) + + @staticmethod + def names(record: dict[str, Any]) -> tuple[str, str]: + identifier, digest = record["artifact_id"], record["sha256"] + if (type(identifier) is not str or re.fullmatch(r"[0-9a-f]{32}", identifier) is None + or type(digest) is not str or re.fullmatch(r"[0-9a-f]{64}", digest) is None): + raise ArtifactIntegrityError("invalid generated artifact identity") + name = identifier + "-" + digest + ".bin" + if record["relative_path"] != "objects/" + name: + raise ArtifactIntegrityError("artifact path differs from its generated identity") + return name, identifier + ".part" + + def _read(self, directory: int, name: str, record: dict[str, Any]) -> bytes: + try: + fd = os.open(name, os.O_RDONLY | os.O_NOFOLLOW | os.O_NONBLOCK, dir_fd=directory) + with os.fdopen(fd, "rb") as stream: + info = self._regular(stream.fileno()) + if info.st_size != record["size_bytes"]: + raise ArtifactIntegrityError("artifact size mismatch") + data = stream.read() + except OSError as error: + raise ArtifactIntegrityError(f"artifact unavailable: {name}: {error.strerror}") from error + if hashlib.sha256(data).hexdigest() != record["sha256"]: + raise ArtifactIntegrityError("artifact content digest mismatch") + return data + + def read(self, record: dict[str, Any]) -> bytes: + name, _ = self.names(record) + return self._read(self.objects_fd, name, record) + + @staticmethod + def _write(fd: int, data: bytes) -> None: + remaining = memoryview(data) + while remaining: + count = os.write(fd, remaining) + if count <= 0: + raise OSError("artifact write made no progress") + remaining = remaining[count:] + os.fsync(fd) + + @staticmethod + def _unlink_regular(directory: int, name: str) -> bool: + try: + info = os.stat(name, dir_fd=directory, follow_symlinks=False) + except FileNotFoundError: + return False + if not stat.S_ISREG(info.st_mode): + raise ArtifactIntegrityError("recovery refuses a symlink or non-regular file") + os.unlink(name, dir_fd=directory) + os.fsync(directory) + return True + + def publish(self, record: dict[str, Any], data: bytes) -> None: + name, partial = self.names(record) + try: + os.stat(name, dir_fd=self.objects_fd, follow_symlinks=False) + except FileNotFoundError: + pass + else: + self.read(record) # Never replace even a corrupt existing object. + self._unlink_regular(self.partial_fd, partial) + return + try: + fd = os.open(partial, os.O_WRONLY | os.O_CREAT | os.O_EXCL | os.O_NOFOLLOW, + 0o600, dir_fd=self.partial_fd) + except FileExistsError: + self._read(self.partial_fd, partial, record) # A partial write is not retried blindly. + else: + try: + self._write(fd, data) + finally: + os.close(fd) # Retain failed writes for registered recovery. + self._read(self.partial_fd, partial, record) + os.link(partial, name, src_dir_fd=self.partial_fd, dst_dir_fd=self.objects_fd, + follow_symlinks=False) + os.fsync(self.objects_fd) + self._unlink_regular(self.partial_fd, partial) + self.read(record) + + def remove_unreferenced(self, record: dict[str, Any]) -> list[str]: + name, partial = self.names(record) + removed = [] + try: + os.stat(name, dir_fd=self.objects_fd, follow_symlinks=False) + except FileNotFoundError: + pass + else: + self.read(record) # Preserve corrupt evidence; do not remove unknown content. + if self._unlink_regular(self.objects_fd, name): + removed.append("objects/" + name) + if self._unlink_regular(self.partial_fd, partial): + removed.append("partial/" + partial) + return removed + + def close(self) -> None: + for fd in reversed(self._fds): + os.close(fd) + self._fds.clear() diff --git a/src/solarlab/io/run_bundle.py b/src/solarlab/io/run_bundle.py new file mode 100644 index 00000000..c0181b72 --- /dev/null +++ b/src/solarlab/io/run_bundle.py @@ -0,0 +1,328 @@ +"""Completed immutable run archives, with a digest-pinned read-only reader. + +ZIP_STORED is a transport container, never an active database. It includes all +attempts/events and only committed, verified artifact references for one run. +Publication has no effect on the store's terminal state or scientific labels. +""" + +from __future__ import annotations + +import hashlib +import json +import os +from pathlib import Path +import re +import stat +import tempfile +from typing import Any, BinaryIO +import uuid +import zipfile + +from solarlab.io.artifacts import ArtifactIntegrityError, ArtifactPayload, _ArtifactFiles, _json_document, _load_npy +from solarlab.io.run_store import RunStore, StateConflict, _identifier, _public + +__all__ = ["RunBundle"] + +_TERMINAL = {"succeeded", "failed", "cancelled"} +_MAX_INDEX = 16 * 1024**2 + + +def _digest(stream: BinaryIO) -> tuple[str, int]: + stream.seek(0) + result, size = hashlib.sha256(), 0 + while part := stream.read(1024**2): + result.update(part) + size += len(part) + stream.seek(0) + return result.hexdigest(), size + + +def _open(path: Path) -> BinaryIO: + fd = os.open(path, os.O_RDONLY | os.O_NOFOLLOW | os.O_NONBLOCK) + if not stat.S_ISREG(os.fstat(fd).st_mode): + os.close(fd) + raise ArtifactIntegrityError("bundle must be a regular independent file") + return os.fdopen(fd, "rb") + + +def _sync_parent(path: Path) -> None: + fd = os.open(path.parent, os.O_RDONLY | os.O_DIRECTORY) + try: + os.fsync(fd) + finally: + os.close(fd) + + +def _publish(stream: BinaryIO, destination: Path, expected: str) -> None: + """Copy an already complete local snapshot, then atomically link a name. + + A hard process crash may leave an unreferenced .part. Unknown files are + preserved; an idempotent retry never treats such a partial as a bundle. + """ + def verify_existing() -> None: + with _open(destination) as existing: + if _digest(existing)[0] != expected: + raise StateConflict("bundle destination already contains different bytes") + + if destination.exists() or destination.is_symlink(): + verify_existing() + _sync_parent(destination) # A prior writer may have died immediately after link(). + return + temporary = destination.with_name("." + destination.name + "." + uuid.uuid4().hex + ".part") + fd = os.open(temporary, os.O_WRONLY | os.O_CREAT | os.O_EXCL | os.O_NOFOLLOW, 0o600) + try: + with os.fdopen(fd, "wb") as output: + stream.seek(0) + while chunk := stream.read(1024**2): + output.write(chunk) + output.flush() + os.fsync(output.fileno()) + with _open(temporary) as written: + if _digest(written)[0] != expected: + raise ArtifactIntegrityError("bundle copy failed digest verification") + try: + os.link(temporary, destination, follow_symlinks=False) + _sync_parent(destination) + except FileExistsError: + verify_existing() + finally: + # Only this call's newly created unreferenced temporary is removed. + temporary.unlink() + _sync_parent(destination) + + +def _index_bytes(index: dict[str, Any]) -> bytes: + encoded = json.dumps(index, sort_keys=True, separators=(",", ":"), allow_nan=False).encode() + if len(encoded) > _MAX_INDEX: + raise ValueError("run index exceeds the bounded archive limit") + return encoded + + +def archive_run(store: RunStore, run_id: str, destination: Path, *, max_bytes: int) -> dict[str, Any]: + if store.read_only: + raise StateConflict("read-only RunStore cannot stage a new archive") + if type(max_bytes) is not int or max_bytes < 1: + raise ValueError("archive requires an explicit positive byte bound") + if (not destination.is_absolute() or destination.resolve() != destination + or destination.is_relative_to(store.root)): + raise ValueError("bundle destination must be canonical, absolute and outside the active store") + # tempfile is on the verified local store disk; never snapshot a live WAL + # into the archive destination. The coordinator lock serializes writers. + with tempfile.TemporaryFile(dir=store.root / "partial") as stream: + with store._guard(): + run = _public(store._run(run_id)) + attempts = [_public(row) for row in store._db.execute("SELECT * FROM attempts WHERE run_id=? ORDER BY attempt_number", (run_id,))] + if run["state"] not in _TERMINAL or any(row["state"] not in _TERMINAL for row in attempts): + raise StateConflict("only a completed run with terminal attempts can be archived") + events = [_public(row) for row in store._db.execute("SELECT * FROM events WHERE run_id=? ORDER BY sequence", (run_id,))] + identifiers = store._db.execute("SELECT artifact_id FROM artifacts WHERE run_id=? AND phase='committed' ORDER BY artifact_id", (run_id,)).fetchall() + artifacts = [store._artifact(row[0]) for row in identifiers] + points = [_public(row) for row in store._db.execute("SELECT * FROM sweep_points WHERE run_id=? ORDER BY sweep_id,point_id", (run_id,))] + index = {"schema": "solarlab.run-bundle.v1", "store_schema_version": 1, "store_id": store.store_id, + "run": run, "attempts": attempts, "events": events, + "artifacts": [_public(row) for row in artifacts], "sweep_points": points} + encoded = _index_bytes(index) + # Include ZIP headers/index overhead before reading large arrays. + estimate = len(encoded) + sum(row["size_bytes"] + 1024 for row in artifacts) + 2048 + if estimate > max_bytes: + raise ValueError("completed bundle exceeds the archive byte bound") + with zipfile.ZipFile(stream, "w", compression=zipfile.ZIP_STORED, allowZip64=True) as archive: + archive.writestr(zipfile.ZipInfo("index.json"), encoded) + for row in artifacts: + data = store._verify(row) + archive.writestr(zipfile.ZipInfo(row["relative_path"]), data) + stream.flush() + os.fsync(stream.fileno()) + digest, size = _digest(stream) + if size > max_bytes: + raise ValueError("serialized bundle exceeds the archive byte bound") + _publish(stream, destination, digest) + return {"schema": "solarlab.run-bundle-publication.v1", "run_id": run_id, "store_id": store.store_id, + "path": str(destination), "sha256": digest, "bytes": size, "state": run["state"], "contains_active_database": False} + + +class RunBundle: + """Read a complete digest-pinned bundle without extracting or migrating it. + + Unknown experiment/result metadata is returned intact. Only the storage + envelope is validated; success is never interpreted as scientific proof. + """ + + def __init__(self, path: str | Path, *, expected_sha256: str, max_bytes: int = 256 * 1024**2) -> None: + if type(expected_sha256) is not str or re.fullmatch(r"[0-9a-f]{64}", expected_sha256) is None: + raise ValueError("bundle reader requires its independently supplied SHA-256") + if type(max_bytes) is not int or max_bytes < 1: + raise ValueError("bundle reader requires a positive byte bound") + self._stream = _open(Path(path)) + try: + if os.fstat(self._stream.fileno()).st_size > max_bytes: + raise ArtifactIntegrityError("bundle exceeds the reader byte bound") + if _digest(self._stream)[0] != expected_sha256: + raise ArtifactIntegrityError("bundle digest mismatch") + self._zip = zipfile.ZipFile(self._stream, "r") + entries = self._zip.infolist() + if (len({item.filename for item in entries}) != len(entries) + or any(item.compress_type != zipfile.ZIP_STORED for item in entries)): + raise ArtifactIntegrityError("duplicate or compressed bundle members are unsupported") + info = self._zip.getinfo("index.json") + if info.file_size > _MAX_INDEX: + raise ArtifactIntegrityError("oversized bundle index") + raw = self._zip.read(info) + + def pairs(items: list[tuple[str, Any]]) -> dict[str, Any]: + if len({key for key, _ in items}) != len(items): + raise ArtifactIntegrityError("duplicate bundle index field") + return dict(items) + + self._index = json.loads(raw, object_pairs_hook=pairs) + if _index_bytes(self._index) != raw: + raise ArtifactIntegrityError("noncanonical bundle index") + self._validate() + self.sha256 = expected_sha256 + except (KeyError, TypeError, ValueError, zipfile.BadZipFile, RecursionError) as error: + self.close() + if isinstance(error, ArtifactIntegrityError): + raise + raise ArtifactIntegrityError("invalid completed run bundle") from error + except BaseException: + self.close() + raise + + def _validate(self) -> None: + index = self._index + if (type(index) is not dict or set(index) != {"schema", "store_schema_version", "store_id", "run", "attempts", "events", "artifacts", "sweep_points"} + or index["schema"] != "solarlab.run-bundle.v1" or type(index["store_schema_version"]) is not int or index["store_schema_version"] != 1): + raise ArtifactIntegrityError("unsupported bundle/storage schema") + self.store_id = _identifier(index["store_id"]) + run = index["run"] + self.run_id = _identifier(run["run_id"]) + for group in ("attempts", "events", "artifacts", "sweep_points"): + if type(index[group]) is not list: + raise ArtifactIntegrityError("bundle rows must be explicit lists") + for row in index[group]: + _json_document(row) + if row["run_id"] != self.run_id: + raise ArtifactIntegrityError("bundle contains a foreign run") + _json_document(run) + if run["state"] not in _TERMINAL: + raise ArtifactIntegrityError("bundle cannot contain an active run") + attempts = {row["attempt_id"]: row for row in index["attempts"]} + if len(attempts) != len(index["attempts"]) or run["current_attempt_id"] not in attempts: + raise ArtifactIntegrityError("bundle attempt identity mismatch") + current = attempts[run["current_attempt_id"]] + if current["state"] != run["state"] or current["generation"] != run["generation"]: + raise ArtifactIntegrityError("current run/attempt terminal mismatch") + events = index["events"] + sequences = [row["sequence"] for row in events] + if sequences != sorted(set(sequences)) or any(type(number) is not int or number < 1 for number in sequences): + raise ArtifactIntegrityError("event sequence is not strictly ordered") + references: dict[str, tuple[str, str]] = {} + queued_generation = 0 + previous_attempt: str | None = None + for number, (key, attempt) in enumerate(attempts.items(), start=1): + timeline = [row for row in events if row["attempt_id"] == key] + queued = [row for row in timeline if row["kind"] == "queued"] + running = [row for row in timeline if row["kind"] == "running"] + terminal = [row for row in timeline if row["kind"] == "terminal"] + if (type(attempt["attempt_number"]) is not int or attempt["attempt_number"] != number + or type(attempt["generation"]) is not int or len(queued) != 1 or len(running) > 1 + or not timeline or timeline[0] is not queued[0] or timeline[-1]["kind"] != "terminal" + or queued[0]["event_key"] != "queued" or queued[0]["generation"] != queued_generation + or queued[0]["payload"] != ({} if previous_attempt is None else {"retry_of": previous_attempt}) + or any(type(row["generation"]) is not int or row["kind"] not in {"queued", "running", "progress", "terminal"} + for row in timeline)): + raise ArtifactIntegrityError("invalid attempt queue/retry lifecycle") + if running: + if (timeline[1] is not running[0] or running[0]["event_key"] != "running" + or running[0]["payload"] != {"owner_id": _identifier(attempt["owner_id"])} + or attempt["started_ns"] is None or attempt["generation"] != queued_generation + 1): + raise ArtifactIntegrityError("attempt owner/running lifecycle mismatch") + elif (attempt["state"] != "cancelled" or attempt["owner_id"] is not None + or attempt["started_ns"] is not None or attempt["generation"] != queued_generation + or len(timeline) != 2): + raise ArtifactIntegrityError("unstarted attempt must be a queued cancellation") + if any(row["generation"] != attempt["generation"] for row in timeline[1:]): + raise ArtifactIntegrityError("running/progress/terminal event generation mismatch") + if (attempt["state"] not in _TERMINAL or len(terminal) != 1 + or _json_document(terminal[0]["payload"]) != _json_document(attempt["terminal"]) + or terminal[0]["generation"] != attempt["generation"] + or attempt["terminal"]["state"] != attempt["state"] + or _json_document(attempt["terminal"]["result"]) != _json_document(attempt["result"])): + raise ArtifactIntegrityError("attempt does not have exactly one consistent terminal") + queued_generation = attempt["generation"] + 1 + previous_attempt = key + for ref in attempt["terminal"]["artifacts"]: + if ref["artifact_id"] in references: + raise ArtifactIntegrityError("duplicate terminal artifact reference") + references[ref["artifact_id"]] = (key, ref["manifest_sha256"]) + if previous_attempt != run["current_attempt_id"]: + raise ArtifactIntegrityError("current attempt is not the last lifecycle") + if any(row["attempt_id"] not in attempts for row in events): + raise ArtifactIntegrityError("event refers to a foreign attempt") + if len({(row["attempt_id"], row["event_key"]) for row in events}) != len(events): + raise ArtifactIntegrityError("event idempotency key is duplicated") + self._artifacts = {row["artifact_id"]: row for row in index["artifacts"]} + if len(self._artifacts) != len(index["artifacts"]) or self._artifacts.keys() != references.keys(): + raise ArtifactIntegrityError("terminal/committed artifact coverage mismatch") + names = {"index.json"} + for key, row in self._artifacts.items(): + _ArtifactFiles.names(row) + metadata = {**row, "metadata_json": _json_document(row["metadata"])} + digest = hashlib.sha256(RunStore._manifest(metadata).encode()).hexdigest() + if (row["phase"] != "committed" or digest != row["manifest_sha256"] + or references[key] != (row["attempt_id"], row["manifest_sha256"]) + or row["generation"] != attempts[row["attempt_id"]]["generation"]): + raise ArtifactIntegrityError("artifact owner/metadata binding differs") + names.add(row["relative_path"]) + self.read_artifact(key) + if set(self._zip.namelist()) != names: + raise ArtifactIntegrityError("unknown or missing bundle member") + for point in index["sweep_points"]: + if point["opaque_execution_identity"] != run["request"]["identity"]["H_execution"]: + raise ArtifactIntegrityError("sweep point execution identity mismatch") + + def get_run(self) -> dict[str, Any]: + return json.loads(json.dumps(self._index["run"])) + + def attempts(self) -> list[dict[str, Any]]: + return json.loads(json.dumps(self._index["attempts"])) + + def events(self) -> list[dict[str, Any]]: + return json.loads(json.dumps(self._index["events"])) + + def sweep_points(self) -> list[dict[str, Any]]: + return json.loads(json.dumps(self._index["sweep_points"])) + + def artifact(self, artifact_id: str) -> dict[str, Any]: + return json.loads(json.dumps(self._artifacts[artifact_id])) + + def read_artifact(self, artifact_id: str) -> bytes: + row = self._artifacts[artifact_id] + try: + info = self._zip.getinfo(row["relative_path"]) + if info.file_size != row["size_bytes"]: + raise ArtifactIntegrityError("bundle artifact size mismatch") + data = self._zip.read(info) + except (zipfile.BadZipFile, KeyError) as error: + raise ArtifactIntegrityError("bundle artifact is missing or corrupt") from error + if hashlib.sha256(data).hexdigest() != row["sha256"]: + raise ArtifactIntegrityError("bundle artifact digest mismatch") + ArtifactPayload(data, row["format"], _json_document(row["metadata"])) + return data + + def read_array(self, artifact_id: str) -> Any: + row = self._artifacts[artifact_id] + if row["format"] != "npy": + raise StateConflict("artifact is not an NPY array") + return _load_npy(self.read_artifact(artifact_id), row["metadata"]) + + def close(self) -> None: + if hasattr(self, "_zip"): + self._zip.close() + self._stream.close() + + def __enter__(self) -> RunBundle: + return self + + def __exit__(self, *exception: Any) -> None: + self.close() diff --git a/src/solarlab/io/run_store.py b/src/solarlab/io/run_store.py new file mode 100644 index 00000000..54eea66c --- /dev/null +++ b/src/solarlab/io/run_store.py @@ -0,0 +1,687 @@ +"""Local SQLite RunStore preparation, independent of solvers and services. + +Use one coordinating writer and explicit canonical local storage roots. WAL, +FULL synchronous commits, and a bounded advisory lock serialize cooperating +handles. Transactions do not contain artifact I/O. Open/close never claims a +worker has stopped: interrupted-attempt recovery is an explicit authority +decision, and queued attempts remain queued. A retry creates a new attempt; +each attempt has exactly one terminal event. A run reflects its current attempt. + +H_input/H_physics/H_execution are opaque upstream strings, not identities +computed or scientifically validated here. Read-only handles never migrate or +recover data. Completed bundles preserve prior results without upgrading their +scientific labels; executor and schema admission remain upstream decisions. +""" + +from __future__ import annotations + +from contextlib import contextmanager +from dataclasses import dataclass +import hashlib +import json +import math +import os +from pathlib import Path +import re +import sqlite3 +import threading +import time +from typing import TYPE_CHECKING, Any, Iterator, Sequence +import uuid + +from solarlab.io.artifacts import ( + ArtifactIntegrityError, ArtifactPayload, _ArtifactFiles, _json_document, + _load_npy, _parse_document, +) +from solarlab.io.storage import require_local_storage + +if TYPE_CHECKING: + from solarlab.contracts.persistence import PersistencePort + +__all__ = ["RunStore", "AttemptToken", "StateConflict", "StaleAttempt"] + +_TERMINAL = {"succeeded", "failed", "cancelled"} +_APPLICATION_ID = 0x534C5253 +_SCHEMA_VERSION = 1 +_STATES = "('queued','running','succeeded','failed','cancelled')" +_SCHEMA = ( + "CREATE TABLE store_meta(singleton INTEGER PRIMARY KEY CHECK(singleton=1), store_id TEXT NOT NULL)", + f"""CREATE TABLE runs( + run_id TEXT PRIMARY KEY, request_json TEXT NOT NULL, + state TEXT NOT NULL CHECK(state IN {_STATES}), + generation INTEGER NOT NULL CHECK(generation>=0), current_attempt_id TEXT, + created_ns INTEGER NOT NULL, + FOREIGN KEY(current_attempt_id) REFERENCES attempts(attempt_id) + DEFERRABLE INITIALLY DEFERRED)""", + f"""CREATE TABLE attempts( + attempt_id TEXT PRIMARY KEY, run_id TEXT NOT NULL REFERENCES runs(run_id), + attempt_number INTEGER NOT NULL CHECK(attempt_number>0), + state TEXT NOT NULL CHECK(state IN {_STATES}), owner_id TEXT, + generation INTEGER NOT NULL CHECK(generation>=0), + result_json TEXT, terminal_json TEXT, created_ns INTEGER NOT NULL, + started_ns INTEGER, finished_ns INTEGER, + UNIQUE(run_id,attempt_number), + CHECK((state IN ('succeeded','failed','cancelled')) = (terminal_json IS NOT NULL)), + CHECK((state IN ('succeeded','failed','cancelled')) = (finished_ns IS NOT NULL)))""", + """CREATE TABLE events( + sequence INTEGER PRIMARY KEY AUTOINCREMENT, + run_id TEXT NOT NULL REFERENCES runs(run_id), + attempt_id TEXT NOT NULL REFERENCES attempts(attempt_id), + generation INTEGER NOT NULL, kind TEXT NOT NULL, event_key TEXT NOT NULL, + payload_json TEXT NOT NULL, created_ns INTEGER NOT NULL, + UNIQUE(attempt_id,event_key))""", + "CREATE UNIQUE INDEX one_terminal_event ON events(attempt_id) WHERE kind='terminal'", + "CREATE INDEX run_events ON events(run_id,sequence)", + """CREATE TABLE artifacts( + artifact_id TEXT PRIMARY KEY, run_id TEXT NOT NULL REFERENCES runs(run_id), + attempt_id TEXT NOT NULL REFERENCES attempts(attempt_id), + generation INTEGER NOT NULL, name TEXT NOT NULL, + relative_path TEXT NOT NULL UNIQUE, sha256 TEXT NOT NULL, + size_bytes INTEGER NOT NULL CHECK(size_bytes>=0), format TEXT NOT NULL, + metadata_json TEXT NOT NULL, manifest_sha256 TEXT NOT NULL, + phase TEXT NOT NULL CHECK(phase IN ('reserved','published','committed','collected')), + created_ns INTEGER NOT NULL, UNIQUE(attempt_id,name))""", + """CREATE TABLE sweep_points( + sweep_id TEXT NOT NULL, point_id TEXT NOT NULL, + run_id TEXT NOT NULL REFERENCES runs(run_id), + opaque_execution_identity TEXT NOT NULL, coordinates_json TEXT NOT NULL, + PRIMARY KEY(sweep_id,point_id))""", +) + + +class StateConflict(RuntimeError): + """The request contradicts an already recorded state or idempotency key.""" + + +class StaleAttempt(StateConflict): + """The attempt, store, or owner generation no longer has authority.""" + + +def _identifier(value: str) -> str: + if type(value) is not str or re.fullmatch(r"[A-Za-z0-9_][A-Za-z0-9_.:-]{0,127}", value) is None: + raise ValueError("expected a bounded stable identifier, not a path") + return value + + +def _generation(value: int) -> int: + if type(value) is not int or value < 0: + raise ValueError("generation must be a nonnegative integer") + return value + + +def _object(value: Any) -> str: + if type(value) is not dict: + raise ValueError("expected an explicit JSON object") + return _json_document(value) + + +def _public(row: sqlite3.Row | dict[str, Any]) -> dict[str, Any]: + return { + key.removesuffix("_json"): (_parse_document(value) if value is not None else None) + if key.endswith("_json") else value + for key, value in dict(row).items() + } + + +@dataclass(frozen=True, slots=True) +class AttemptToken: + store_id: str + run_id: str + attempt_id: str + owner_id: str + generation: int + + def __post_init__(self) -> None: + for value in (self.store_id, self.run_id, self.attempt_id, self.owner_id): + _identifier(value) + _generation(self.generation) + + +class RunStore: + """Explicit store at ``root/store.sqlite3`` with sibling WAL and artifacts. + +No process is launched/killed, no environment is inferred, and no recovery is +implicit. POSIX local filesystems supporting SQLite WAL, fsync and hard links +are required. Keep the root private to cooperating store users. File/DB +atomicity and hostile replacement of the root are not promised. + +``read_only`` opens a query-only live reader. ``immutable`` additionally +requires a closed checkpointed database without WAL/journal and creates no +sidecars; its owner must keep that historical database closed to future writers. +""" + + def __init__(self, root: str | Path, *, timeout: float = 5.0, + read_only: bool = False, immutable: bool = False) -> None: + if type(timeout) not in {int, float} or not math.isfinite(timeout) or timeout <= 0: + raise ValueError("timeout must be positive and finite") + import fcntl + + if type(read_only) is not bool or type(immutable) is not bool or immutable and not read_only: + raise ValueError("immutable requires explicit read_only mode") + if not immutable: + require_local_storage(Path(root)) + self.read_only = read_only + self.immutable = immutable + self._fcntl = fcntl + self._timeout = timeout + self._mutex = threading.Lock() + self._closed = False + self._files = _ArtifactFiles(Path(root), read_only=read_only) + self.root = self._files.root + self.database_path = self.root / "store.sqlite3" + self._db: sqlite3.Connection + try: + with self._guard(): + self._files.check_database_files() + if immutable and any((self.root / name).exists() for name in ("store.sqlite3-wal", "store.sqlite3-journal")): + raise StateConflict("immutable old results require a closed checkpointed database without WAL/journal") + if read_only: + uri = self.database_path.as_uri() + "?mode=ro" + ("&immutable=1" if immutable else "") + self._db = sqlite3.connect(uri, uri=True, timeout=timeout, isolation_level=None, check_same_thread=False) + else: + try: + fd = os.open("store.sqlite3", os.O_CREAT | os.O_EXCL | os.O_WRONLY | os.O_NOFOLLOW, + 0o600, dir_fd=self._files.root_fd) + except FileExistsError: + pass + else: + os.close(fd) + self._db = sqlite3.connect(self.database_path, timeout=timeout, + isolation_level=None, check_same_thread=False) + self._db.row_factory = sqlite3.Row + self._initialize() + except BaseException: + if hasattr(self, "_db"): + self._db.close() + self._files.close() + self._closed = True + raise + + @contextmanager + def _guard(self) -> Iterator[None]: + if not self._mutex.acquire(timeout=self._timeout): + raise TimeoutError("store handle is busy") + locked = False + try: + if self._closed: + raise RuntimeError("RunStore is closed") + deadline = time.monotonic() + self._timeout + while True: + try: + kind = self._fcntl.LOCK_SH if self.read_only else self._fcntl.LOCK_EX + self._fcntl.flock(self._files.lock_fd, kind | self._fcntl.LOCK_NB) + locked = True + break + except BlockingIOError: + if time.monotonic() >= deadline: + raise TimeoutError("store writer is busy") from None + time.sleep(min(0.01, max(0.0, deadline - time.monotonic()))) + self._files.check_database_files() + yield + finally: + if locked: + self._fcntl.flock(self._files.lock_fd, self._fcntl.LOCK_UN) + self._mutex.release() + + @contextmanager + def _transaction(self) -> Iterator[None]: + if self.read_only: + raise StateConflict("read-only RunStore cannot change historical records") + self._db.execute("BEGIN IMMEDIATE") + try: + yield + self._db.execute("COMMIT") + except BaseException: + if self._db.in_transaction: + self._db.execute("ROLLBACK") + raise + + def _initialize(self) -> None: + application = self._db.execute("PRAGMA application_id").fetchone()[0] + version = self._db.execute("PRAGMA user_version").fetchone()[0] + tables = self._db.execute("SELECT name FROM sqlite_master WHERE type='table'").fetchall() + fresh = application == 0 and version == 0 and not tables + if not fresh and (application != _APPLICATION_ID or version != _SCHEMA_VERSION): + raise StateConflict("unknown database/schema; no destructive or implicit migration") + if self.read_only: + if fresh: + raise StateConflict("read-only RunStore requires an existing schema") + self._db.execute("PRAGMA query_only=ON") + self.store_id = _identifier(self._db.execute("SELECT store_id FROM store_meta WHERE singleton=1").fetchone()[0]) + return + self._db.execute("PRAGMA foreign_keys=ON") + mode = self._db.execute("PRAGMA journal_mode=WAL").fetchone()[0] + if mode != "wal": + raise RuntimeError("local SQLite WAL is required") + self._db.execute("PRAGMA synchronous=FULL") + self._db.execute("PRAGMA temp_store=MEMORY") + if fresh: + with self._transaction(): + for statement in _SCHEMA: + self._db.execute(statement) + self._db.execute("INSERT INTO store_meta(singleton,store_id) VALUES(1,?)", (uuid.uuid4().hex,)) + self._db.execute(f"PRAGMA application_id={_APPLICATION_ID}") + self._db.execute(f"PRAGMA user_version={_SCHEMA_VERSION}") + self.store_id = _identifier(self._db.execute("SELECT store_id FROM store_meta WHERE singleton=1").fetchone()[0]) + os.fsync(self._files.root_fd) + + def __enter__(self) -> RunStore: + return self + + def __exit__(self, *exception: Any) -> None: + self.close() + + def close(self) -> None: + if self._closed: + return + with self._guard(): + self._db.close() + self._closed = True + self._files.close() + + def _run(self, run_id: str) -> dict[str, Any]: + row = self._db.execute("SELECT * FROM runs WHERE run_id=?", (_identifier(run_id),)).fetchone() + if row is None: + raise KeyError(run_id) + return dict(row) + + def _attempt(self, attempt_id: str) -> dict[str, Any]: + row = self._db.execute("SELECT * FROM attempts WHERE attempt_id=?", (_identifier(attempt_id),)).fetchone() + if row is None: + raise KeyError(attempt_id) + return dict(row) + + def _expected(self, run_id: str, attempt_id: str, generation: int) -> dict[str, Any]: + run = self._run(run_id) + if run["current_attempt_id"] != _identifier(attempt_id) or run["generation"] != _generation(generation): + raise StaleAttempt("current attempt/generation differs from the request") + return run + + def _token(self, token: AttemptToken, *, running: bool = True) -> dict[str, Any]: + if not isinstance(token, AttemptToken) or token.store_id != self.store_id: + raise StaleAttempt("foreign store or invalid attempt token") + self._expected(token.run_id, token.attempt_id, token.generation) + attempt = self._attempt(token.attempt_id) + if (attempt["run_id"] != token.run_id or attempt["owner_id"] != token.owner_id + or attempt["generation"] != token.generation): + raise StaleAttempt("attempt owner/generation mismatch") + if running and attempt["state"] != "running": + raise StateConflict("attempt is not running; publication authority is revoked") + return attempt + + def _event(self, attempt: dict[str, Any], kind: str, key: str, payload: str) -> int: + existing = self._db.execute( + "SELECT * FROM events WHERE attempt_id=? AND event_key=?", (attempt["attempt_id"], key), + ).fetchone() + if existing is not None: + if existing["kind"] != kind or existing["payload_json"] != payload: + raise StateConflict("event idempotency key has different content") + return existing["sequence"] + cursor = self._db.execute( + "INSERT INTO events(run_id,attempt_id,generation,kind,event_key,payload_json,created_ns) VALUES(?,?,?,?,?,?,?)", + (attempt["run_id"], attempt["attempt_id"], attempt["generation"], kind, key, payload, time.time_ns()), + ) + assert cursor.lastrowid is not None + return cursor.lastrowid + + def _queue(self, run_id: str, generation: int, number: int, payload: dict[str, Any]) -> str: + identifier = uuid.uuid4().hex + self._db.execute( + "INSERT INTO attempts(attempt_id,run_id,attempt_number,state,generation,created_ns) VALUES(?,?,?,'queued',?,?)", + (identifier, run_id, number, generation, time.time_ns()), + ) + self._db.execute("UPDATE runs SET state='queued',current_attempt_id=?,generation=? WHERE run_id=?", + (identifier, generation, run_id)) + self._event(self._attempt(identifier), "queued", "queued", _object(payload)) + return identifier + + def enqueue( + self, run_id: str, *, opaque_identity: dict[str, Any], input_metadata: dict[str, Any], + ) -> dict[str, Any]: + """Idempotent by run_id and exact normalized storage document, not physics. + + Callers supply H_input/H_physics/H_execution from their authority. Extra + registry/schema/source labels are retained; none are invented here. + """ + _identifier(run_id) + _object(opaque_identity) + for name in ("H_input", "H_physics", "H_execution"): + if type(opaque_identity.get(name)) is not str or not opaque_identity[name].strip(): + raise ValueError(f"opaque upstream {name} must be explicit") + _object(input_metadata) + request = _object({"identity_kind": "opaque_upstream", "identity": opaque_identity, + "input_metadata": input_metadata}) + with self._guard(), self._transaction(): + row = self._db.execute("SELECT * FROM runs WHERE run_id=?", (run_id,)).fetchone() + if row is None: + self._db.execute("""INSERT INTO runs(run_id,request_json,state,generation,current_attempt_id,created_ns) + VALUES(?,?,'queued',0,NULL,?)""", + (run_id, request, time.time_ns())) + self._queue(run_id, 0, 1, {}) + elif row["request_json"] != request: + raise StateConflict("run_id was already used with different input/identity") + return _public(self._run(run_id)) + + def get_run(self, run_id: str) -> dict[str, Any]: + with self._guard(): + return _public(self._run(run_id)) + + def attempts(self, run_id: str) -> list[dict[str, Any]]: + with self._guard(): + self._run(run_id) + return [_public(row) for row in self._db.execute( + "SELECT * FROM attempts WHERE run_id=? ORDER BY attempt_number", (run_id,))] + + def claim( + self, run_id: str, *, expected_attempt_id: str, expected_generation: int, owner_id: str, + ) -> AttemptToken: + _identifier(owner_id) + with self._guard(), self._transaction(): + run = self._expected(run_id, expected_attempt_id, expected_generation) + if run["state"] != "queued": + raise StateConflict("only a queued attempt can be claimed") + generation = run["generation"] + 1 + self._db.execute("UPDATE runs SET state='running',generation=? WHERE run_id=?", (generation, run_id)) + self._db.execute("UPDATE attempts SET state='running',owner_id=?,generation=?,started_ns=? WHERE attempt_id=?", + (owner_id, generation, time.time_ns(), expected_attempt_id)) + self._event(self._attempt(expected_attempt_id), "running", "running", _object({"owner_id": owner_id})) + return AttemptToken(self.store_id, run_id, expected_attempt_id, owner_id, generation) + + def append_event(self, token: AttemptToken, *, event_id: str, payload: dict[str, Any]) -> int: + key, encoded = "user:" + _identifier(event_id), _object(payload) + with self._guard(), self._transaction(): + return self._event(self._token(token), "progress", key, encoded) + + def events(self, *, after: int = 0, limit: int = 100, run_id: str | None = None) -> list[dict[str, Any]]: + """Persistent global sequence cursor, suitable for a future SSE adapter.""" + if type(after) is not int or after < 0 or type(limit) is not int or not 1 <= limit <= 1000: + raise ValueError("invalid event cursor/page size") + with self._guard(): + if run_id is None: + rows = self._db.execute("SELECT * FROM events WHERE sequence>? ORDER BY sequence LIMIT ?", (after, limit)) + else: + rows = self._db.execute("SELECT * FROM events WHERE sequence>? AND run_id=? ORDER BY sequence LIMIT ?", + (after, _identifier(run_id), limit)) + return [_public(row) for row in rows] + + @staticmethod + def _manifest(record: dict[str, Any]) -> str: + return _object({key: record[key] for key in ( + "artifact_id", "run_id", "attempt_id", "generation", "name", "relative_path", + "sha256", "size_bytes", "format", "metadata_json", + )}) + + def _artifact(self, artifact_id: str) -> dict[str, Any]: + row = self._db.execute("SELECT * FROM artifacts WHERE artifact_id=?", (_identifier(artifact_id),)).fetchone() + if row is None: + raise KeyError(artifact_id) + record = dict(row) + self._files.names(record) + if hashlib.sha256(self._manifest(record).encode()).hexdigest() != record["manifest_sha256"]: + raise ArtifactIntegrityError("artifact metadata/identity digest mismatch") + return record + + def _verify(self, record: dict[str, Any]) -> bytes: + data = self._files.read(record) + ArtifactPayload(data, record["format"], record["metadata_json"]) + return data + + def publish(self, token: AttemptToken, name: str, payload: ArtifactPayload) -> dict[str, Any]: + """Reserve a generated path, publish bytes, then mark publication ready. + + Publication is not a result commit. Failures leave the registered file + window available for explicit recovery. A matching duplicate returns + the same object; different bytes or metadata under that name conflict. + """ + _identifier(name) + if not isinstance(payload, ArtifactPayload): + raise ValueError("publish requires a validated ArtifactPayload") + payload = ArtifactPayload(payload.data, payload.format, payload.metadata_json) + content_sha256, size_bytes = payload.sha256, len(payload.data) + with self._guard(): + with self._transaction(): + self._token(token) + row = self._db.execute("SELECT artifact_id FROM artifacts WHERE attempt_id=? AND name=?", + (token.attempt_id, name)).fetchone() + if row is None: + identifier = uuid.uuid4().hex + record = dict(artifact_id=identifier, run_id=token.run_id, attempt_id=token.attempt_id, + generation=token.generation, name=name, sha256=content_sha256, + size_bytes=size_bytes, format=payload.format, + metadata_json=payload.metadata_json, + relative_path=f"objects/{identifier}-{content_sha256}.bin") + digest = hashlib.sha256(self._manifest(record).encode()).hexdigest() + self._db.execute( + """INSERT INTO artifacts(artifact_id,run_id,attempt_id,generation,name,relative_path, + sha256,size_bytes,format,metadata_json,manifest_sha256,phase,created_ns) + VALUES(?,?,?,?,?,?,?,?,?,?,?,'reserved',?)""", + tuple(record[key] for key in ("artifact_id", "run_id", "attempt_id", "generation", "name", + "relative_path", "sha256", "size_bytes", "format", "metadata_json")) + (digest, time.time_ns()), + ) + else: + identifier = row["artifact_id"] + record = self._artifact(identifier) + if (record["sha256"] != content_sha256 or record["size_bytes"] != size_bytes + or record["format"] != payload.format or record["metadata_json"] != payload.metadata_json): + raise StateConflict("artifact name was already used with different content/metadata") + if record["phase"] not in {"reserved", "published"}: + raise StateConflict("artifact publication is no longer pending") + self._files.publish(record, payload.data) + self._verify(record) + with self._transaction(): + self._token(token) + self._db.execute("UPDATE artifacts SET phase='published' WHERE artifact_id=?", (identifier,)) + return _public(self._artifact(identifier)) + + def _finish(self, attempt: dict[str, Any], state: str, result: dict[str, Any], records: list[dict[str, Any]]) -> int: + terminal = _object({"state": state, "result": result, "artifacts": [ + {"artifact_id": item["artifact_id"], "manifest_sha256": item["manifest_sha256"]} for item in records]}) + with self._transaction(): + self._expected(attempt["run_id"], attempt["attempt_id"], attempt["generation"]) + current = self._attempt(attempt["attempt_id"]) + if current["state"] in _TERMINAL: + if current["terminal_json"] != terminal: + raise StateConflict("attempt already has a contradictory terminal result") + return self._event(current, "terminal", "terminal", terminal) + for item in records: + self._db.execute("UPDATE artifacts SET phase='committed' WHERE artifact_id=?", (item["artifact_id"],)) + self._db.execute("UPDATE attempts SET state=?,result_json=?,terminal_json=?,finished_ns=? WHERE attempt_id=?", + (state, _object(result), terminal, time.time_ns(), attempt["attempt_id"])) + self._db.execute("UPDATE runs SET state=? WHERE run_id=?", (state, attempt["run_id"])) + return self._event(current, "terminal", "terminal", terminal) + + def complete( + self, token: AttemptToken, *, state: str, result: dict[str, Any], artifacts: Sequence[str] = (), + ) -> int: + """Commit verified references, state and terminal event in one transaction. + + Matching retries return the original sequence. Integrity failure before + a first terminal commit records a failed attempt and raises; SQL failure + rolls back and leaves publication recoverable. Later file loss is an + integrity error, never permission to rewrite a historical terminal. + """ + if state not in _TERMINAL: + raise ValueError("completion requires succeeded, failed, or cancelled") + _object(result) + if isinstance(artifacts, (str, bytes)): + raise ValueError("artifacts must be an explicit sequence of IDs") + identifiers = tuple(_identifier(item) for item in artifacts) + if len(identifiers) != len(set(identifiers)): + raise ValueError("duplicate artifact reference") + with self._guard(): + attempt = self._token(token, running=False) + records = [] + for identifier in identifiers: + try: + record = self._artifact(identifier) + if (record["attempt_id"] != token.attempt_id or record["generation"] != token.generation + or record["phase"] not in {"published", "committed"}): + raise StaleAttempt("artifact is not published by this attempt/generation") + self._verify(record) + except ArtifactIntegrityError as error: + if attempt["state"] == "running": + self._finish(attempt, "failed", {"reason": "artifact_integrity", "detail": str(error)}, []) + raise + records.append(record) + return self._finish(attempt, state, result, records) + + def fail_queued( + self, run_id: str, *, expected_attempt_id: str, expected_generation: int, + result: dict[str, Any], + ) -> int: + """Fail an unclaimed attempt without inventing a worker or start time. + + The exact queued generation is required. Matching repeated failure is + idempotent; claimed attempts require their owner token via complete. + """ + _object(result) + with self._guard(): + self._expected(run_id, expected_attempt_id, expected_generation) + attempt = self._attempt(expected_attempt_id) + if attempt["owner_id"] is not None or attempt["state"] not in {"queued", "failed"}: + raise StateConflict("only an unclaimed attempt can fail without an owner token") + return self._finish(attempt, "failed", result, []) + + def cancel( + self, run_id: str, *, expected_attempt_id: str, expected_generation: int, reason: str, + ) -> int: + """Revoke commit authority; this does not signal, join, or release a worker.""" + if type(reason) is not str or not reason.strip(): + raise ValueError("cancellation requires an explicit reason") + with self._guard(): + self._expected(run_id, expected_attempt_id, expected_generation) + attempt = self._attempt(expected_attempt_id) + return self._finish(attempt, "cancelled", { + "reason": reason, "ownership_invalidated": True, "process_exit_observed": False, + }, []) + + def retry(self, run_id: str, *, expected_attempt_id: str, expected_generation: int) -> dict[str, Any]: + """An explicit new queued attempt; never overwrite a prior failure/cancel.""" + with self._guard(), self._transaction(): + run = self._expected(run_id, expected_attempt_id, expected_generation) + if run["state"] not in {"failed", "cancelled"}: + raise StateConflict("only failed/cancelled runs can be retried") + previous = self._attempt(expected_attempt_id) + self._queue(run_id, run["generation"] + 1, previous["attempt_number"] + 1, + {"retry_of": expected_attempt_id}) + return _public(self._run(run_id)) + + def recover_interrupted(self) -> dict[str, Any]: + """Explicitly fail recorded running attempts and retain queued work. + + The caller decides to invalidate old ownership. This method observes no + OS process and does not authorize releasing a native execution slot. + """ + if self.read_only: + raise StateConflict("read-only RunStore cannot recover attempts") + with self._guard(): + runs = [dict(row) for row in self._db.execute("SELECT * FROM runs ORDER BY run_id")] + interrupted, queued = [], [] + for run in runs: + if run["state"] == "running": + self._finish(self._attempt(run["current_attempt_id"]), "failed", { + "reason": "interrupted", "ownership_invalidated": True, "process_exit_observed": False, + }, []) + interrupted.append(run["current_attempt_id"]) + elif run["state"] == "queued": + queued.append(run["current_attempt_id"]) + return {"interrupted_attempts": interrupted, "queued_attempts_retained": queued, + "process_exit_observed": False} + + def artifact(self, artifact_id: str) -> dict[str, Any]: + with self._guard(): + return _public(self._artifact(artifact_id)) + + def read_artifact(self, artifact_id: str) -> bytes: + with self._guard(): + record = self._artifact(artifact_id) + if record["phase"] != "committed": + raise StateConflict("artifact is not a committed result") + return self._verify(record) + + def read_array(self, artifact_id: str) -> Any: + with self._guard(): + record = self._artifact(artifact_id) + if record["phase"] != "committed" or record["format"] != "npy": + raise StateConflict("artifact is not a committed NPY result") + return _load_npy(self._verify(record), _parse_document(record["metadata_json"])) + + def recover_artifacts(self, *, cleanup: bool = False) -> dict[str, Any]: + """Audit known objects; optionally collect only unreferenced terminal work. + + Active publications, unknown files, and all committed results survive. + Corrupt/missing references are reported, not relabelled as success or + deleted. Cleanup failure and a crash after unlink are retryable. + """ + if type(cleanup) is not bool: + raise ValueError("cleanup must be explicit boolean") + if cleanup and self.read_only: + raise StateConflict("read-only RunStore cannot collect artifacts") + with self._guard(): + rows = self._db.execute("SELECT artifact_id FROM artifacts ORDER BY artifact_id").fetchall() + issues, removed, retained = [], [], [] + for row in rows: + identifier = row["artifact_id"] + try: + record = self._artifact(identifier) + if record["phase"] == "collected": + continue + if record["phase"] == "committed": + self._verify(record) + elif cleanup and self._attempt(record["attempt_id"])["state"] in _TERMINAL: + removed.extend(self._files.remove_unreferenced(record)) + with self._transaction(): + self._db.execute("UPDATE artifacts SET phase='collected' WHERE artifact_id=?", (identifier,)) + else: + retained.append(identifier) + if record["phase"] == "published": + self._verify(record) + except (ArtifactIntegrityError, OSError) as error: + issues.append({"artifact_id": identifier, "error": str(error)}) + return {"issues": issues, "removed_paths": removed, "retained_unreferenced": retained} + + def bind_sweep_point( + self, sweep_id: str, point_id: str, *, run_id: str, coordinates: dict[str, Any], + ) -> dict[str, Any]: + """Persist a point/run association, not a scheduler or qualified cache. + + The full opaque execution identity is retained. Semantic validation and + scientific reuse eligibility still belong to P03-05/P05-05/P06-05. + """ + _identifier(sweep_id) + _identifier(point_id) + encoded = _object(coordinates) + with self._guard(), self._transaction(): + run = self._run(run_id) + identity = json.loads(run["request_json"])["identity"]["H_execution"] + row = self._db.execute("SELECT * FROM sweep_points WHERE sweep_id=? AND point_id=?", (sweep_id, point_id)).fetchone() + if row is None: + self._db.execute("""INSERT INTO sweep_points(sweep_id,point_id,run_id,opaque_execution_identity,coordinates_json) + VALUES(?,?,?,?,?)""", (sweep_id, point_id, run_id, identity, encoded)) + row = self._db.execute("SELECT * FROM sweep_points WHERE sweep_id=? AND point_id=?", (sweep_id, point_id)).fetchone() + elif row["run_id"] != run_id or row["opaque_execution_identity"] != identity or row["coordinates_json"] != encoded: + raise StateConflict("sweep point was already bound to different input/execution") + return _public(row) + + def sweep_points(self, sweep_id: str) -> list[dict[str, Any]]: + with self._guard(): + return [_public(row) for row in self._db.execute( + """SELECT p.*,r.state,r.current_attempt_id FROM sweep_points p + JOIN runs r ON r.run_id=p.run_id WHERE sweep_id=? ORDER BY point_id""", + (_identifier(sweep_id),))] + + def archive_run(self, run_id: str, destination: str | Path, *, max_bytes: int = 256 * 1024**2) -> dict[str, Any]: + """Publish a completed immutable bundle, never an active DB or WAL. + + The snapshot is prepared on local store disk. Publication does not + overwrite a target and is idempotent by bytes; old attempts survive. + """ + from solarlab.io.run_bundle import archive_run + + return archive_run(self, run_id, Path(destination), max_bytes=max_bytes) + + +if TYPE_CHECKING: + # Check structural conformance without importing the numerical contracts + # package initializer on the solver-free storage/readback path. + _persistence_implementation: type[PersistencePort[AttemptToken, ArtifactPayload]] = RunStore diff --git a/src/solarlab/io/storage.py b/src/solarlab/io/storage.py new file mode 100644 index 00000000..955a470f --- /dev/null +++ b/src/solarlab/io/storage.py @@ -0,0 +1,43 @@ +"""Local active-storage guard; completed archives have a separate writer.""" + +from __future__ import annotations + +from pathlib import Path +import re +import subprocess +import sys + + +def _unescape(value: str) -> str: + return re.sub(r"\\([0-7]{3})", lambda match: chr(int(match[1], 8)), value) + + +def require_local_storage(root: Path) -> None: + """Check the actual mount and reject known managed cloud-sync locations. + + Arbitrary third-party synchronization cannot be discovered here; callers + must still choose a private unsynchronized root. + """ + if not root.is_absolute() or root.resolve() != root: + raise ValueError("active store requires a canonical absolute local path") + if any(part in str(root).casefold() + "/" for part in ("/library/mobile documents/", "/library/cloudstorage/", "/dropbox/", "/onedrive/")): + raise ValueError("active database and WAL cannot use a cloud-sync directory") + mounts: list[tuple[Path, bool]] = [] + if sys.platform == "darwin": + output = subprocess.run(["/sbin/mount"], capture_output=True, text=True, check=True, timeout=5).stdout + for line in output.splitlines(): + match = re.fullmatch(r".+ on (.+) \(([^)]+)\)", line) + if match: + mounts.append((Path(_unescape(match[1])), "local" in match[2].split(", "))) + elif sys.platform.startswith("linux"): + local = {"ext2", "ext3", "ext4", "xfs", "btrfs", "tmpfs", "ramfs", "overlay", "zfs", "f2fs"} + for line in Path("/proc/self/mountinfo").read_text().splitlines(): + fields = line.split() + split = fields.index("-") + mounts.append((Path(_unescape(fields[4])), fields[split + 1] in local)) + else: + raise NotImplementedError("local WAL storage currently supports macOS and Linux") + matches = [(len(path.parts), is_local) for path, is_local in mounts if root.is_relative_to(path)] + depth = max((depth for depth, _ in matches), default=-1) + if not matches or not all(local for size, local in matches if size == depth): + raise ValueError("active database and WAL require a verified local filesystem") diff --git a/src/solarlab/materials/__init__.py b/src/solarlab/materials/__init__.py new file mode 100644 index 00000000..62a26aa7 --- /dev/null +++ b/src/solarlab/materials/__init__.py @@ -0,0 +1,3 @@ +"""Material and layer-template data, independent of numerical engines.""" + +__all__: tuple[str, ...] = () diff --git a/src/solarlab/materials/full_parameters.py b/src/solarlab/materials/full_parameters.py new file mode 100644 index 00000000..2d26ef06 --- /dev/null +++ b/src/solarlab/materials/full_parameters.py @@ -0,0 +1,244 @@ +"""Full declared scalar layer parameters; physical defaults are supplied data. + +The smaller LayerValuesInput/template contract remains unchanged. This schema +adds actual MaterialParams fields without copying their physical defaults. +Layer-owned doping and trap-profile values are separated during resolution. +""" + +from __future__ import annotations + +from copy import deepcopy +from typing import Annotated, Any, Literal, get_origin + +from pydantic import Field, GetJsonSchemaHandler, ValidationInfo, field_validator +from pydantic.fields import FieldInfo +from pydantic.json_schema import JsonSchemaValue +from pydantic_core import CoreSchema + +from solarlab.materials.parameters import EditableInput, LayerValuesInput, QuantityInput, Scalar +from solarlab.units import normalize_quantity + +__all__ = ["ParameterFieldsInput", "StructuredInput", "StableId", "Nonempty", "FullParameterInput", "quantity_field", "LAYER_OWNED_PARAMETERS", "full_parameter_items"] + +StableId = Annotated[str, Field(pattern=r"^[A-Za-z_][A-Za-z0-9_.:-]*$")] +Nonempty = Annotated[str, Field(min_length=1)] + + +def quantity_field(unit: str, *, positive: bool = False, signed: bool = False, + nullable: bool = False, required: bool = False, + input_unit: str | None = None) -> Any: + # None is an absent editing placeholder, never a physical default. + return Field(default=... if required else None, json_schema_extra={ + "unit": unit, "positive": positive, "nonnegative": not signed, + "nullable": nullable, + "input_unit": input_unit, + }) + + +def _scalar(name: str) -> FieldInfo: + return deepcopy(LayerValuesInput.model_fields[name]) + + +class ParameterFieldsInput(EditableInput): + """Strict unit fields shared by these explicit preparation schemas.""" + + @classmethod + def _allows_null(cls, name: str) -> bool: + extra = cls.model_fields[name].json_schema_extra + return not isinstance(extra, dict) or "unit" not in extra or bool(extra.get("nullable", False)) + + @classmethod + def __get_pydantic_json_schema__(cls, core_schema: CoreSchema, handler: GetJsonSchemaHandler) -> JsonSchemaValue: + schema = handler(core_schema) + for name, definition in schema.get("properties", {}).items(): + if definition.get("default") is None: + definition.pop("default", None) + if not cls._allows_null(name) and "anyOf" in definition: + definition["anyOf"] = [choice for choice in definition["anyOf"] if choice.get("type") != "null"] + return schema + + @field_validator("*", mode="before") + @classmethod + def _check_parameter(cls, value: object, info: ValidationInfo) -> object: + # Pydantic revalidates nested instances through its core schema, not + # the public model_validate override. Snapshot only supplied fields + # before that path can reinterpret absent placeholders as nulls. + if isinstance(value, EditableInput): + return type(value).model_validate(value).editing_data() + if isinstance(value, (tuple, list)): + return tuple(type(item).model_validate(item).editing_data() if isinstance(item, EditableInput) else item for item in value) + name = info.field_name + assert name is not None + extra = cls.model_fields[name].json_schema_extra + if isinstance(extra, dict) and "unit" in extra: + if value is None: + if extra.get("nullable", False): + return value + raise ValueError(f"{name}: omit to inherit; null is not a number") + number = normalize_quantity(value, str(extra["unit"]), path=name, input_unit=extra.get("input_unit")) + if extra.get("positive", False) and number <= 0: + raise ValueError(f"{name}: must be positive") + if extra.get("nonnegative", True) and number < 0: + raise ValueError(f"{name}: must be nonnegative") + return value + + def normalized_items(self) -> tuple[tuple[str, Scalar], ...]: + checked = type(self).model_validate(self) + values = [] + for name in sorted(checked.model_fields_set): + value = getattr(checked, name) + extra = type(self).model_fields[name].json_schema_extra + if value is not None and isinstance(extra, dict) and "unit" in extra: + value = normalize_quantity(value, str(extra["unit"]), path=name, input_unit=extra.get("input_unit")) + values.append((name, value)) + return tuple(values) + + +class StructuredInput(ParameterFieldsInput): + """Named structured input shared by material and device declarations.""" + + @field_validator("*", mode="before") + @classmethod + def _explicit_sequences(cls, value: object, info: ValidationInfo) -> object: + assert info.field_name is not None + if get_origin(cls.model_fields[info.field_name].annotation) is tuple: + if not isinstance(value, (tuple, list)): + raise ValueError("expected an explicit sequence") + return tuple(value) + return value + + def normalized_data(self) -> dict[str, Any]: + checked = type(self).model_validate(self) + own = dict(checked.normalized_items()) + def item(value: Any) -> Any: + if isinstance(value, StructuredInput): + return value.normalized_data() + if isinstance(value, ParameterFieldsInput): + return dict(value.normalized_items()) + if isinstance(value, tuple): + return [item(part) for part in value] + return value + return {name: item(value) for name, value in own.items()} + + +class FullParameterInput(ParameterFieldsInput): + eps_r: QuantityInput | None = _scalar("eps_r") + mu_n: QuantityInput | None = _scalar("mu_n") + mu_p: QuantityInput | None = _scalar("mu_p") + D_ion: QuantityInput | None = _scalar("D_ion") + P_lim: QuantityInput | None = _scalar("P_lim") + P0: QuantityInput | None = _scalar("P0") + ni: QuantityInput | None = _scalar("ni") + tau_n: QuantityInput | None = _scalar("tau_n") + tau_p: QuantityInput | None = _scalar("tau_p") + n1: QuantityInput | None = _scalar("n1") + p1: QuantityInput | None = _scalar("p1") + B_rad: QuantityInput | None = _scalar("B_rad") + C_n: QuantityInput | None = _scalar("C_n") + C_p: QuantityInput | None = _scalar("C_p") + alpha: QuantityInput | None = _scalar("alpha") + N_A: QuantityInput | None = _scalar("N_A") + N_D: QuantityInput | None = _scalar("N_D") + chi: QuantityInput | None = _scalar("chi") + Eg: QuantityInput | None = _scalar("Eg") + A_star_n: QuantityInput | None = quantity_field("A/(m^2 K^2)") + A_star_p: QuantityInput | None = quantity_field("A/(m^2 K^2)") + v_th: QuantityInput | None = quantity_field("m/s", positive=True) + D_ion_neg: QuantityInput | None = quantity_field("m^2/s") + P0_neg: QuantityInput | None = quantity_field("m^-3") + P_lim_neg: QuantityInput | None = quantity_field("m^-3") + Nc300: QuantityInput | None = quantity_field("m^-3", positive=True, nullable=True) + Nv300: QuantityInput | None = quantity_field("m^-3", positive=True, nullable=True) + carrier_statistics: Literal["maxwell_boltzmann", "fermi_dirac"] | None = None + dopant_ionization_model: Literal["fully_ionized", "discrete_level"] | None = None + donor_binding_energy_eV: QuantityInput | None = quantity_field("eV", nullable=True) + acceptor_binding_energy_eV: QuantityInput | None = quantity_field("eV", nullable=True) + donor_degeneracy: QuantityInput | None = quantity_field("1", positive=True) + acceptor_degeneracy: QuantityInput | None = quantity_field("1", positive=True) + band_gap_narrowing_model: Literal["off", "slotboom"] | None = None + bgn_reference_energy_eV: QuantityInput | None = quantity_field("eV") + bgn_reference_density_m3: QuantityInput | None = quantity_field("m^-3", positive=True) + bgn_log_shape: QuantityInput | None = quantity_field("1", positive=True) + bgn_conduction_band_fraction: QuantityInput | None = quantity_field("1") + mu_T_gamma: QuantityInput | None = quantity_field("1", signed=True) + E_a_ion: QuantityInput | None = quantity_field("eV") + B_rad_T_gamma: QuantityInput | None = quantity_field("1", signed=True) + varshni_alpha: QuantityInput | None = quantity_field("eV/K", signed=True) + varshni_beta: QuantityInput | None = quantity_field("K") + trap_N_t_interface: QuantityInput | None = quantity_field("m^-3", nullable=True) + trap_N_t_bulk: QuantityInput | None = quantity_field("m^-3", nullable=True) + trap_decay_length: QuantityInput | None = quantity_field("m", nullable=True) + trap_profile_shape: Literal["exponential", "gaussian"] | None = None + trap_edge: Literal["both", "left", "right"] | None = None + optical_material: str | None = None + n_optical: QuantityInput | None = quantity_field("1", positive=True, nullable=True) + incoherent: bool | None = None + v_sat_n: QuantityInput | None = quantity_field("m/s") + v_sat_p: QuantityInput | None = quantity_field("m/s") + ct_beta_n: QuantityInput | None = quantity_field("1") + ct_beta_p: QuantityInput | None = quantity_field("1") + pf_gamma_n: QuantityInput | None = quantity_field("(m/V)^0.5") + pf_gamma_p: QuantityInput | None = quantity_field("(m/V)^0.5") + Eg_back: QuantityInput | None = quantity_field("eV", nullable=True) + chi_back: QuantityInput | None = quantity_field("eV", signed=True, nullable=True) + grading_profile: Literal["linear", "parabolic", "exponential"] | None = None + grading_direction: Literal["front_to_back", "back_to_front"] | None = None + grading_bowing: QuantityInput | None = quantity_field("eV", signed=True) + grading_char_length: QuantityInput | None = quantity_field("m", positive=True, nullable=True) + grading_N_mult: int | None = Field(default=None, gt=0) + N_A_bulk: QuantityInput | None = quantity_field("m^-3", nullable=True) + N_D_bulk: QuantityInput | None = quantity_field("m^-3", nullable=True) + doping_profile_shape: Literal["gaussian"] | None = None + doping_decay_length: QuantityInput | None = quantity_field("m", positive=True, nullable=True) + doping_edge: Literal["front", "back"] | None = None + + @classmethod + def _allows_null(cls, name: str) -> bool: + extra = cls.model_fields[name].json_schema_extra + return bool(isinstance(extra, dict) and extra.get("nullable", False)) or name in {"optical_material", "doping_profile_shape"} + + @field_validator("*") + @classmethod + def _check_null(cls, value: object, info: ValidationInfo) -> object: + name = info.field_name + assert name is not None + if value is None and not cls._allows_null(name): + raise ValueError(f"{name}: omit to inherit; null is not supported") + if name == "optical_material" and value is not None and (not isinstance(value, str) or not value.strip()): + raise ValueError("optical_material requires a nonempty name or null") + return value + + +LAYER_OWNED_PARAMETERS = frozenset({ + "N_A", "N_D", "N_A_bulk", "N_D_bulk", "doping_profile_shape", "doping_decay_length", "doping_edge", + "tau_n", "tau_p", "n1", "p1", "trap_N_t_interface", "trap_N_t_bulk", + "trap_decay_length", "trap_profile_shape", "trap_edge", +}) + + +def full_parameter_items(items: tuple[tuple[str, Scalar], ...], *, complete: bool = False) -> tuple[tuple[str, Scalar], ...]: + if len({name for name, _ in items}) != len(items): + raise ValueError("duplicate full parameter name") + checked = FullParameterInput.model_validate(dict(items)) + values: dict[str, Any] = dict(checked.normalized_items()) + if complete and set(values) != set(FullParameterInput.model_fields): + raise ValueError(f"missing full parameter values: {sorted(set(FullParameterInput.model_fields) - set(values))}") + for density, capacity in (("P0", "P_lim"), ("P0_neg", "P_lim_neg")): + if {density, capacity} <= values.keys() and values[density] > values[capacity]: + raise ValueError("ion density exceeds declared site capacity") + if "bgn_conduction_band_fraction" in values and not 0 <= values["bgn_conduction_band_fraction"] <= 1: + raise ValueError("BGN conduction fraction must be within [0,1]") + if values.get("carrier_statistics") == "fermi_dirac" and {"Eg", "Nc300", "Nv300"} <= values.keys() and any(values[name] is None or values[name] <= 0 for name in ("Eg", "Nc300", "Nv300")): + raise ValueError("Fermi-Dirac data require positive Eg/Nc300/Nv300") + profile_fields = {"N_A_bulk", "N_D_bulk", "doping_profile_shape", "doping_decay_length"} + profile = values.get("N_A_bulk") is not None or values.get("N_D_bulk") is not None + if profile_fields <= values.keys() and profile and (values["doping_profile_shape"] != "gaussian" or values["doping_decay_length"] is None): + raise ValueError("spatial doping requires gaussian shape and positive decay length") + if profile_fields <= values.keys() and not profile and (values["doping_profile_shape"] is not None or values["doping_decay_length"] is not None): + raise ValueError("orphaned spatial doping profile") + if values.get("dopant_ionization_model") == "discrete_level": + for carrier, density in (("donor", "N_D"), ("acceptor", "N_A")): + required = {density, density + "_bulk", carrier + "_binding_energy_eV"} + if required <= values.keys() and max(values[density], values[density + "_bulk"] or 0) > 0 and values[carrier + "_binding_energy_eV"] is None: + raise ValueError(f"active discrete {carrier} requires binding energy") + return tuple(sorted(values.items())) diff --git a/src/solarlab/materials/library.py b/src/solarlab/materials/library.py new file mode 100644 index 00000000..2ea09e5d --- /dev/null +++ b/src/solarlab/materials/library.py @@ -0,0 +1,95 @@ +"""Immutable records derived from the one supplied layer-template catalog.""" + +from __future__ import annotations + +from collections.abc import Iterable, Mapping +from dataclasses import dataclass, field +import hashlib +import json +import re +from types import MappingProxyType + +from solarlab.materials.parameters import LayerValuesInput, Scalar +from solarlab.units import UNIT_SCHEMA_VERSION + +__all__ = ["LayerTemplate", "MaterialLibrary", "validated_parameters"] + + +def validated_parameters( + items: Iterable[tuple[str, Scalar]], *, complete: bool = False, +) -> tuple[tuple[str, Scalar], ...]: + """Own the values and reject duplicate/unknown fields before freezing.""" + pairs = tuple(items) + if any(not isinstance(pair, tuple) or len(pair) != 2 for pair in pairs): + raise ValueError("parameters must be (name, value) pairs") + names = [pair[0] for pair in pairs] + if any(not isinstance(name, str) for name in names) or len(set(names)) != len(names): + raise ValueError("parameter names must be unique strings") + return LayerValuesInput.model_validate(dict(pairs)).normalized_items(complete=complete) + + +@dataclass(frozen=True, slots=True) +class LayerTemplate: + id: str + role: str + description: str + citation: str + parameters: tuple[tuple[str, Scalar], ...] + + def __post_init__(self) -> None: + for name in ("id", "role", "description", "citation"): + value = getattr(self, name) + if not isinstance(value, str) or not value.strip(): + raise ValueError(f"template.{name} must be a nonempty string") + object.__setattr__(self, "parameters", validated_parameters(self.parameters, complete=True)) + + @property + def values(self) -> Mapping[str, Scalar]: + return MappingProxyType(dict(self.parameters)) + + +@dataclass(frozen=True, slots=True) +class MaterialLibrary: + """Validated scalar templates, with source bytes and effective content IDs. + + A template includes layer thickness and doping. A resolved material later + excludes these, matching the material/layer separation in the plan. + """ + + source_id: str + source_sha256: str + templates: tuple[LayerTemplate, ...] + unit_schema: str = field(default=UNIT_SCHEMA_VERSION, init=False) + + def __post_init__(self) -> None: + if not isinstance(self.source_id, str) or not self.source_id.strip(): + raise ValueError("source_id must be a nonempty string") + if not isinstance(self.source_sha256, str) or re.fullmatch(r"[0-9a-f]{64}", self.source_sha256) is None: + raise ValueError("source_sha256 must be a SHA-256 digest") + templates = tuple(self.templates) + if not templates or any(not isinstance(item, LayerTemplate) for item in templates): + raise ValueError("library requires validated layer templates") + if len({item.id for item in templates}) != len(templates): + raise ValueError("duplicate layer-template ID") + object.__setattr__(self, "templates", tuple(sorted(templates, key=lambda item: item.id))) + + def get(self, template_id: str) -> LayerTemplate: + for template in self.templates: + if template.id == template_id: + return template + raise ValueError(f"template: unknown template ID {template_id!r}") + + @property + def content_sha256(self) -> str: + payload = { + "schema": "solarlab.scalar-template-library.v1", "units": self.unit_schema, + "source_id": self.source_id, "source_sha256": self.source_sha256, + "templates": [ + {"id": item.id, "role": item.role, "description": item.description, + "citation": item.citation, "parameters": dict(item.parameters)} + for item in self.templates + ], + } + return hashlib.sha256(json.dumps( + payload, sort_keys=True, separators=(",", ":"), allow_nan=False, + ).encode()).hexdigest() diff --git a/src/solarlab/materials/optics.py b/src/solarlab/materials/optics.py new file mode 100644 index 00000000..c90e1056 --- /dev/null +++ b/src/solarlab/materials/optics.py @@ -0,0 +1,45 @@ +"""Composition optical declarations; no dielectric or optical calculation.""" + +from __future__ import annotations + +from typing import Literal + +from pydantic import Field, ValidationInfo, field_validator, model_validator + +from solarlab.materials.full_parameters import StructuredInput, quantity_field as q +from solarlab.materials.parameters import QuantityInput +from solarlab.units import normalize_quantity + + +class CigsOpticsInput(StructuredInput): + """GGI endpoints follow the layer's electrical grading coordinate. + +Absent model, slice and quadrature values are supplied by the injected catalog, +compiled from the existing model declaration. None is never a numeric default. +""" + + ggi_front: QuantityInput = q("1", required=True) + ggi_back: QuantityInput = q("1", required=True) + cgi: QuantityInput = q("1", required=True) + model: Literal["minoura_2015"] | None = None + slices: int | None = Field(default=None, ge=1, le=512) + kk_quadrature_order: int | None = Field(default=None, ge=48, le=2048) + + @classmethod + def _allows_null(cls, name: str) -> bool: + return False + + @field_validator("model", "slices", "kk_quadrature_order") + @classmethod + def _no_null(cls, value: object, info: ValidationInfo) -> object: + if value is None: + raise ValueError(f"{info.field_name}: omit to inherit; null is unsupported") + return value + + @model_validator(mode="after") + def _composition(self) -> CigsOpticsInput: + if any(normalize_quantity(value, "1") > 1 for value in (self.ggi_front, self.ggi_back, self.cgi)): + raise ValueError("CIGS composition fractions cannot exceed 1") + if normalize_quantity(self.cgi, "1") < 0.75: + raise ValueError("cgi must lie in [0.75,1]") + return self diff --git a/src/solarlab/materials/parameter_schema.py b/src/solarlab/materials/parameter_schema.py new file mode 100644 index 00000000..013c06e5 --- /dev/null +++ b/src/solarlab/materials/parameter_schema.py @@ -0,0 +1,34 @@ +"""The two actual scalar parameter schemas accepted by metadata selection.""" + +from __future__ import annotations + +from typing import Any + +from solarlab.materials.full_parameters import FullParameterInput, full_parameter_items +from solarlab.materials.library import validated_parameters +from solarlab.materials.parameters import LayerValuesInput, Scalar + +__all__ = ["parameter_names", "parameter_schema", "parameter_values"] + + +def _model(name: str) -> Any: + if name == "scalar_layer": + return LayerValuesInput + if name == "full_layer": + return FullParameterInput + raise ValueError(f"unsupported parameter schema: {name!r}") + + +def parameter_names(name: str) -> frozenset[str]: + return frozenset(_model(name).model_fields) + + +def parameter_schema(name: str) -> dict[str, Any]: + return _model(name).model_json_schema() + + +def parameter_values(values: tuple[tuple[str, Scalar], ...], schema: str) -> tuple[tuple[str, Scalar], ...]: + _model(schema) + if schema == "scalar_layer": + return validated_parameters(values) + return full_parameter_items(values) diff --git a/src/solarlab/materials/parameters.py b/src/solarlab/materials/parameters.py new file mode 100644 index 00000000..79b3d0c9 --- /dev/null +++ b/src/solarlab/materials/parameters.py @@ -0,0 +1,176 @@ +"""Editable scalar fields consumed by the existing layer-template library. + +None defaults here mark an absent override, not a physical default. Actual +defaults remain in the supplied template document. This schema does not claim +to resolve the full legacy MaterialParams or nested defect/2D configurations. +""" + +from __future__ import annotations + +from collections.abc import Mapping +from decimal import Decimal +from typing import Any, Self, TypeAlias + +from pydantic import BaseModel, ConfigDict, Field, GetJsonSchemaHandler, ValidationInfo, field_validator +from pydantic.fields import FieldInfo +from pydantic.json_schema import JsonSchemaValue +from pydantic_core import CoreSchema + +from solarlab.units import normalize_quantity + +__all__ = ["EditableInput", "LayerValuesInput", "Scalar", "parameter_units"] + +Scalar: TypeAlias = float | bool | str | None +QuantityInput: TypeAlias = int | float | Decimal | str + + +class EditableInput(BaseModel): + """Input editing always reconstructs and validates complete values.""" + + model_config = ConfigDict( + strict=True, extra="forbid", allow_inf_nan=False, + validate_assignment=True, revalidate_instances="always", + ) + + @classmethod + def model_validate(cls, obj: Any, **kwargs: Any) -> Self: + # Revalidating an editable instance must not turn absent placeholders + # into explicit nulls. Preserve exactly its supplied editing fields. + if isinstance(obj, cls): + if set(obj.__dict__) - set(cls.model_fields): + raise ValueError("unknown input fields") + obj = obj.editing_data() + return super().model_validate(obj, **kwargs) + + def editing_data(self) -> dict[str, Any]: + """Keep child edits even if the containing object began as a default.""" + def edited(value: Any) -> Any: + if isinstance(value, EditableInput): + return value.editing_data() + if isinstance(value, (tuple, list)): + return tuple(edited(item) for item in value) + return value + + data = self.model_dump(exclude_unset=True, round_trip=True) + for name in type(self).model_fields: + value = getattr(self, name) + if isinstance(value, EditableInput): + nested = value.editing_data() + if nested or name in self.model_fields_set: + data[name] = nested + elif isinstance(value, (tuple, list)) and name in self.model_fields_set: + data[name] = edited(value) + return data + + def validated_update(self, updates: Mapping[str, object]) -> Self: + data = self.editing_data() + data.update(updates) + return type(self).model_validate(data) + + def model_copy( + self, *, update: Mapping[str, Any] | None = None, deep: bool = False, + ) -> Self: + """Unlike BaseModel.model_copy, this editing path revalidates updates.""" + return self.validated_update(update or {}) + + +def _quantity( + unit: str, *, positive: bool = False, nonnegative: bool = True, +) -> FieldInfo: + return Field(default=None, json_schema_extra={ + "unit": unit, "positive": positive, "nonnegative": nonnegative, + }) + + +class LayerValuesInput(EditableInput): + """Explicit scalar overrides; absence inherits, only optical null clears.""" + + thickness: QuantityInput | None = _quantity("m", positive=True) + eps_r: QuantityInput | None = _quantity("1", positive=True) + mu_n: QuantityInput | None = _quantity("m^2/(V s)") + mu_p: QuantityInput | None = _quantity("m^2/(V s)") + D_ion: QuantityInput | None = _quantity("m^2/s") + P_lim: QuantityInput | None = _quantity("m^-3") + P0: QuantityInput | None = _quantity("m^-3") + ni: QuantityInput | None = _quantity("m^-3") + tau_n: QuantityInput | None = _quantity("s", positive=True) + tau_p: QuantityInput | None = _quantity("s", positive=True) + n1: QuantityInput | None = _quantity("m^-3") + p1: QuantityInput | None = _quantity("m^-3") + B_rad: QuantityInput | None = _quantity("m^3/s") + C_n: QuantityInput | None = _quantity("m^6/s") + C_p: QuantityInput | None = _quantity("m^6/s") + alpha: QuantityInput | None = _quantity("m^-1") + N_A: QuantityInput | None = _quantity("m^-3") + N_D: QuantityInput | None = _quantity("m^-3") + chi: QuantityInput | None = _quantity("eV", nonnegative=False) + Eg: QuantityInput | None = _quantity("eV") + incoherent: bool | None = None + optical_material: str | None = None + + @classmethod + def __get_pydantic_json_schema__( + cls, core_schema: CoreSchema, handler: GetJsonSchemaHandler, + ) -> JsonSchemaValue: + schema = handler(core_schema) + for name, definition in schema.get("properties", {}).items(): + # Internal absent placeholders are not schema defaults. Only the + # explicitly nullable optical source accepts a JSON null value. + definition.pop("default", None) + if name != "optical_material" and "anyOf" in definition: + definition["anyOf"] = [choice for choice in definition["anyOf"] if choice.get("type") != "null"] + return schema + + @field_validator("*", mode="before") + @classmethod + def _validate_value(cls, value: object, info: ValidationInfo) -> object: + name = info.field_name + assert name is not None + if name == "optical_material": + if value is not None and (not isinstance(value, str) or not value.strip()): + raise ValueError("optical_material must be a nonempty string or null") + return value + if value is None: + raise ValueError(f"{name}: null is not a numeric/boolean value; omit it to inherit") + if name == "incoherent": + if type(value) is not bool: + raise ValueError("incoherent requires a boolean") + return value + extra = cls.model_fields[name].json_schema_extra + assert isinstance(extra, dict) + normalized = normalize_quantity(value, str(extra["unit"]), path=name) + if extra["positive"] and normalized <= 0: + raise ValueError(f"{name}: must be positive") + if extra["nonnegative"] and normalized < 0: + raise ValueError(f"{name}: must be nonnegative") + return value + + def normalized_items(self, *, complete: bool = False) -> tuple[tuple[str, Scalar], ...]: + """Return owned scalar data after checking even constructed instances.""" + unexpected = set(self.__dict__) - set(type(self).model_fields) + if unexpected: + raise ValueError(f"unknown parameter keys: {sorted(unexpected)}") + data = self.model_dump(exclude_unset=True, round_trip=True) + checked = type(self).model_validate(data) + if complete: + missing = set(type(self).model_fields) - checked.model_fields_set + if missing: + raise ValueError(f"missing template parameters: {sorted(missing)}") + result: list[tuple[str, Scalar]] = [] + for name in sorted(checked.model_fields_set): + value = getattr(checked, name) + if name not in {"optical_material", "incoherent"}: + extra = type(self).model_fields[name].json_schema_extra + assert isinstance(extra, dict) + value = normalize_quantity(value, str(extra["unit"]), path=name) + result.append((name, value)) + return tuple(result) + + +def parameter_units() -> tuple[tuple[str, str], ...]: + """Units derive from the same field declarations used by input validation.""" + return tuple( + (name, str(field.json_schema_extra["unit"])) + for name, field in sorted(LayerValuesInput.model_fields.items()) + if isinstance(field.json_schema_extra, dict) and "unit" in field.json_schema_extra + ) diff --git a/src/solarlab/materials/resources.py b/src/solarlab/materials/resources.py new file mode 100644 index 00000000..2277fa19 --- /dev/null +++ b/src/solarlab/materials/resources.py @@ -0,0 +1,115 @@ +"""Content-bound optical tables and explicitly supplied fixed generation data. + +No path discovery, spectral model or profile_file loader is provided. Tables +own immutable byte storage; NumPy access returns a fresh read-only view, so a +caller's shape/dtype edits cannot mutate the stored table or another consumer. +""" + +from __future__ import annotations + +import csv +from dataclasses import dataclass, field +import hashlib +import json + +import numpy as np + +from solarlab.materials.source import SourceDocument +from solarlab.units import normalize_quantity + +__all__ = ["ResourceTable", "ResourceLibrary"] + + +@dataclass(frozen=True, slots=True) +class ResourceTable: + name: str + kind: str + source: SourceDocument + shape: tuple[int, int] = field(init=False) + columns: tuple[str, ...] = field(init=False) + units: tuple[str, ...] = field(init=False) + _values: bytes = field(init=False, repr=False) + + def __post_init__(self) -> None: + if not isinstance(self.name, str) or not self.name.strip() or not isinstance(self.source, SourceDocument): + raise ValueError("resource requires a name and supplied source bytes") + text = self.source.content.decode("utf-8") + columns: tuple[str, ...] + units: tuple[str, ...] + if self.kind in {"nk", "spectrum"}: + rows = list(csv.reader(line for line in text.splitlines() if line.strip() and not line.lstrip().startswith("#"))) + if self.kind == "nk": + if not rows or rows.pop(0) != ["wavelength_nm", "n", "k"]: + raise ValueError("nk source requires wavelength_nm,n,k columns") + columns, units = ("wavelength", "n", "k"), ("m", "1", "1") + else: + if rows and rows[0] == ["wavelength_nm", "spectral_flux_m-2_s-1_m-1"]: + rows.pop(0) + columns, units = ("wavelength", "spectral_photon_flux"), ("m", "m^-3/s") + if any(len(row) != len(columns) for row in rows): + raise ValueError("resource row has an unexpected column count") + numbers = [tuple([normalize_quantity(row[0] + " nm", "m"), + *(normalize_quantity(value, unit) for value, unit in zip(row[1:], units[1:]))]) for row in rows] + elif self.kind == "fixed_generation": + def exact_mapping(pairs: list[tuple[str, object]]) -> dict[str, object]: + if len({name for name, _ in pairs}) != len(pairs): + raise ValueError("duplicate fixed-generation source key") + return dict(pairs) + data = json.loads(text, object_pairs_hook=exact_mapping) + if not isinstance(data, dict) or set(data) != {"coordinate_m", "generation_m3_s"}: + raise ValueError("fixed generation requires coordinate_m and generation_m3_s") + if any(not isinstance(data[key], list) for key in data) or len(data["coordinate_m"]) != len(data["generation_m3_s"]): + raise ValueError("fixed-generation arrays must have matching lengths") + columns, units = ("coordinate", "generation"), ("m", "m^-3/s") + numbers = [(normalize_quantity(x, "m"), normalize_quantity(g, "m^-3/s")) + for x, g in zip(data["coordinate_m"], data["generation_m3_s"])] + else: + raise ValueError(f"unsupported resource kind: {self.kind}") + array: np.ndarray = np.asarray(numbers, dtype=" np.ndarray: + return np.frombuffer(self._values, dtype=" str: + meta = json.dumps((self.name, self.kind, self.source.id, self.source.sha256, + self.shape, self.columns, self.units), separators=(",", ":")).encode() + return hashlib.sha256(meta + self._values).hexdigest() + + +@dataclass(frozen=True, slots=True) +class ResourceLibrary: + tables: tuple[ResourceTable, ...] = () + + def __post_init__(self) -> None: + tables = tuple(self.tables) + if any(not isinstance(table, ResourceTable) for table in tables): + raise ValueError("resource library requires validated tables") + if len({table.name for table in tables}) != len(tables): + raise ValueError("duplicate resource name") + object.__setattr__(self, "tables", tuple(sorted(tables, key=lambda table: table.name))) + + def get(self, name: str, kind: str) -> ResourceTable: + for table in self.tables: + if table.name == name: + if table.kind != kind: + raise ValueError(f"resource {name!r}: expected {kind}, found {table.kind}") + return table + raise ValueError(f"missing supplied {kind} resource: {name!r}") + + @property + def content_sha256(self) -> str: + return hashlib.sha256(json.dumps([(table.name, table.content_sha256) for table in self.tables], separators=(",", ":")).encode()).hexdigest() diff --git a/src/solarlab/materials/source.py b/src/solarlab/materials/source.py new file mode 100644 index 00000000..ac4eafb1 --- /dev/null +++ b/src/solarlab/materials/source.py @@ -0,0 +1,26 @@ +"""Explicit immutable source bytes, independent of files and installation paths.""" + +from __future__ import annotations + +from dataclasses import dataclass +import hashlib + +__all__ = ["SourceDocument"] + + +@dataclass(frozen=True, slots=True) +class SourceDocument: + id: str + content: bytes + + def __post_init__(self) -> None: + if not isinstance(self.id, str) or not self.id.strip(): + raise ValueError("source requires an explicit ID") + if type(self.content) is not bytes or not self.content or len(self.content) > 2**22: + raise ValueError("source content requires nonempty bounded bytes") + + @property + def sha256(self) -> str: + return hashlib.sha256(self.content).hexdigest() + + diff --git a/src/solarlab/mesh/__init__.py b/src/solarlab/mesh/__init__.py new file mode 100644 index 00000000..16d5f2b6 --- /dev/null +++ b/src/solarlab/mesh/__init__.py @@ -0,0 +1,19 @@ +"""Mesh geometry: grids, layer alignment and named control-volume geometries.""" + +from solarlab.mesh.geometry import ( + GEOMETRY_NAMES, HALF_ENDPOINT_V1, INTEGER_ENDPOINT_V1, PHYSICAL_BOUNDARY_TWO_SIDED_V1, + TWO_SIDED_TRACE_V1, ControlVolumeGeometry1D, InterfacePlane, PortFace, build_geometry, +) +from solarlab.mesh.grid import ( + LEFT_LAYER_WINS, RIGHT_LAYER_WINS, InterfaceStencil, build_interface_stencils, + multilayer_grid, node_owner, remove_shared_interface_nodes, tanh_grid, +) +from solarlab.mesh.layers import ElectricalStack, StackLayer + +__all__ = [ + "ControlVolumeGeometry1D", "ElectricalStack", "GEOMETRY_NAMES", "HALF_ENDPOINT_V1", + "INTEGER_ENDPOINT_V1", "InterfacePlane", "InterfaceStencil", "LEFT_LAYER_WINS", + "PHYSICAL_BOUNDARY_TWO_SIDED_V1", "PortFace", "RIGHT_LAYER_WINS", "StackLayer", + "TWO_SIDED_TRACE_V1", "build_geometry", "build_interface_stencils", "multilayer_grid", + "node_owner", "remove_shared_interface_nodes", "tanh_grid", +] diff --git a/src/solarlab/mesh/geometry.py b/src/solarlab/mesh/geometry.py new file mode 100644 index 00000000..785b2386 --- /dev/null +++ b/src/solarlab/mesh/geometry.py @@ -0,0 +1,365 @@ +"""Explicitly named historical 1D control-volume geometries. + +Each historical consumer used its own node-centred control volumes. They are +kept as separate, named geometries so a change of geometry can never hide in a +"unified" endpoint rule (V1 P04-01). Every builder reproduces its source's +arithmetic, so the arrays are bit-identical to the historical ones: + +``INTEGER_ENDPOINT_V1`` + 1D method of lines (``solver/mol.py``, ``physics/continuity.py``, + ``physics/generation.dual_cell_widths``). Interior nodes own half of each + neighbouring interval; the two contact nodes own the FULL adjacent + interval, so the conservation weights sum to ``L + (dx[0]+dx[-1])/2``. The + shared layer-boundary node stays on the grid; the right layer owns it for + both material values and role masks. +``HALF_ENDPOINT_V1`` + 2D transport axis (``twod/continuity_2d.py``, ``twod/poisson_2d.py``) and + the 2D non-periodic lateral axis. Contact cells are geometric half cells, + so the weights sum to ``L``. The shared node stays on the grid. Its + material values (eps_r, doping, chi, Eg, A*, lifetimes) are extruded from + the 1D arrays, so the right layer owns them; only role tagging (absorber + range, grain-boundary painting) gives the node to the left layer. +``TWO_SIDED_TRACE_V1`` + Quasi-Fermi ``two_sided_trace`` topology without physical boundary volumes + (``quasi_fermi_steady_state._prepare_two_sided_material``). Shared nodes + are removed; the two cells beside each interface extend to the true plane; + contact cells keep the full integer-endpoint width. +``PHYSICAL_BOUNDARY_TWO_SIDED_V1`` + R1 physical lane (``physics/physical_control_volume.physical_cell_faces``). + Faces are midpoints, clipped at the contacts and moved to the true plane + at every interface gap; the weights are the face differences and sum to + ``L``. + +The periodic 2D lateral wrap cell is a 2D geometry and belongs to P06-01. +""" + +from __future__ import annotations + +from dataclasses import dataclass, field +import math + +import numpy as np +from numpy.typing import ArrayLike, NDArray + +from solarlab.contracts import ( + LENGTH, ONE, Geometry, ImmutableArrays, TerminalPort, frozen_array, +) +from solarlab.mesh.grid import ( + LEFT_LAYER_WINS, RIGHT_LAYER_WINS, InterfaceStencil, build_interface_stencils, +) + +__all__ = [ + "ControlVolumeGeometry1D", "GEOMETRY_NAMES", "HALF_ENDPOINT_V1", "INTEGER_ENDPOINT_V1", + "InterfacePlane", "NO_SHARED_NODES", "PHYSICAL_BOUNDARY_TWO_SIDED_V1", "PortFace", + "TWO_SIDED_TRACE_V1", "build_geometry", "dual_cell_faces", "half_endpoint_widths", + "half_endpoint_geometry", "integer_endpoint_geometry", "integer_endpoint_widths", + "physical_boundary_two_sided_geometry", "physical_cell_faces", "two_sided_trace_geometry", + "two_sided_trace_widths", +] + +INTEGER_ENDPOINT_V1 = "legacy_mol_integer_endpoint_v1" +HALF_ENDPOINT_V1 = "legacy_twod_half_endpoint_v1" +TWO_SIDED_TRACE_V1 = "qf_two_sided_trace_integer_endpoint_v1" +PHYSICAL_BOUNDARY_TWO_SIDED_V1 = "physical_boundary_two_sided_v1" +GEOMETRY_NAMES = ( + INTEGER_ENDPOINT_V1, HALF_ENDPOINT_V1, TWO_SIDED_TRACE_V1, PHYSICAL_BOUNDARY_TWO_SIDED_V1, +) +NO_SHARED_NODES = "no_shared_nodes" +# Geometries whose contact cells are geometric half cells; the other two weight +# each contact node by its full adjacent interval. +_GEOMETRIC_CONTACT_CELLS = frozenset({HALF_ENDPOINT_V1, PHYSICAL_BOUNDARY_TWO_SIDED_V1}) + +# 1D devices are evaluated per unit cross-section: ports and faces have area +# 1 m^2, cell measures are lengths and stored particles are per m^2. +UNIT_CROSS_SECTION_M2 = 1.0 + + +def _strict_grid(x: ArrayLike, *, minimum: int) -> NDArray[np.float64]: + grid = np.asarray(x, dtype=float) + if ( + grid.ndim != 1 + or grid.size < minimum + or not np.all(np.isfinite(grid)) + or np.any(np.diff(grid) <= 0) + ): + raise ValueError("grid must be finite and strictly increasing") + return grid + + +def integer_endpoint_widths(x: ArrayLike) -> NDArray[np.float64]: + """Historical MoL dual-cell weights (full interval at both contact nodes).""" + grid = _strict_grid(x, minimum=2) + dx = np.diff(grid) + w = np.empty(grid.shape[0], dtype=float) + w[0] = dx[0] + w[-1] = dx[-1] + w[1:-1] = 0.5 * (dx[:-1] + dx[1:]) + return w + + +def dual_cell_faces(x: ArrayLike) -> NDArray[np.float64]: + """The ``N+1`` geometric faces bounding the node-centred dual cells.""" + grid = _strict_grid(x, minimum=2) + faces = np.empty(grid.shape[0] + 1, dtype=float) + faces[0] = grid[0] + faces[-1] = grid[-1] + faces[1:-1] = 0.5 * (grid[:-1] + grid[1:]) + return faces + + +def half_endpoint_widths(x: ArrayLike) -> NDArray[np.float64]: + """Historical 2D dual-cell widths along a non-periodic axis.""" + grid = _strict_grid(x, minimum=2) + dx = np.diff(grid) + w = np.empty(grid.shape[0]) + w[0] = dx[0] / 2.0 + w[-1] = dx[-1] / 2.0 + if grid.shape[0] > 2: + w[1:-1] = 0.5 * (dx[:-1] + dx[1:]) + return w + + +def physical_cell_faces(x: ArrayLike, interface_positions: ArrayLike = ()) -> NDArray[np.float64]: + """Clip outer cells at contacts; split unlike materials at the true plane.""" + grid = np.asarray(x, dtype=float) + positions = np.asarray(interface_positions, dtype=float) + if ( + grid.ndim != 1 + or grid.size < 3 + or not np.all(np.isfinite(grid)) + or np.any(np.diff(grid) <= 0) + ): + raise ValueError("physical grid must be finite and strictly increasing") + if ( + positions.ndim != 1 + or not np.all(np.isfinite(positions)) + or np.any(np.diff(positions) <= 0) + ): + raise ValueError("interface positions must be finite and ordered") + faces = np.r_[grid[0], (grid[:-1] + grid[1:]) / 2, grid[-1]] + used = set() + for position in positions: + right = int(np.searchsorted(grid, position)) + if right == 0 or right == grid.size or grid[right] == position or right in used: + raise ValueError("each interface needs its own two-sided grid gap") + faces[right] = position + used.add(right) + if np.any(np.diff(faces) <= 0): + raise ValueError("nonpositive physical control volume") + faces.setflags(write=False) + return faces + + +def _two_sided_stencils(grid: NDArray[np.float64], + positions: ArrayLike) -> tuple[InterfaceStencil, ...]: + stencils = build_interface_stencils(grid, positions) + if any(stencil.shared_boundary_node is not None for stencil in stencils): + raise ValueError( + "two-sided geometry requires a grid without shared interface nodes" + ) + for stencil in stencils: + if stencil.right_bulk_node != stencil.left_bulk_node + 1: + raise ValueError("two-sided interface bulk nodes must share one grid face") + return stencils + + +def two_sided_trace_widths(x: ArrayLike, interface_positions: ArrayLike) -> NDArray[np.float64]: + """QF two-sided-trace carrier volumes: integer endpoints, true-plane interiors.""" + grid = _strict_grid(x, minimum=3) + widths = integer_endpoint_widths(grid).copy() + for stencil in _two_sided_stencils(grid, interface_positions): + left = int(stencil.left_bulk_node) + right = int(stencil.right_bulk_node) + face_width = float(grid[right] - grid[left]) + half_width = 0.5 * face_width + widths[left] += float(stencil.left_distance_m) - half_width + widths[right] += float(stencil.right_distance_m) - half_width + if np.any(~np.isfinite(widths)) or np.any(widths <= 0.0): + raise ValueError("two-sided interface produced an invalid carrier control volume") + return widths + + +@dataclass(frozen=True) +class InterfacePlane: + """A true material interface and the nodes that bracket it.""" + + index: int + position_m: float + left_node: int + right_node: int + left_distance_m: float + right_distance_m: float + shared_node: int | None + + @classmethod + def from_stencil(cls, index: int, stencil: InterfaceStencil) -> InterfacePlane: + return cls(index, stencil.interface_position_m, stencil.left_bulk_node, + stencil.right_bulk_node, stencil.left_distance_m, + stencil.right_distance_m, stencil.shared_boundary_node) + + +@dataclass(frozen=True) +class PortFace: + """A contact face: its node, position, outward normal and area.""" + + id: str + node: int + position_m: float + outward_normal: int + area_m2: float = UNIT_CROSS_SECTION_M2 + + def terminal_port(self) -> TerminalPort: + return TerminalPort(self.id, self.outward_normal, self.area_m2) + + +@dataclass(frozen=True) +class ControlVolumeGeometry1D(ImmutableArrays): + """Named node-centred control volumes on a 1D grid (unit cross-section). + + ``cell_measures_m`` are the weights the conservation laws multiply. + ``cell_faces_m`` are the geometric extents ``[faces[i], faces[i+1]]`` of + each cell; for the integer-endpoint geometry the contact cells' weights + deliberately differ from their extents (``geometric_cells=False``). + Transport faces join consecutive nodes and are oriented along +x. + + A node on a layer boundary has two independent historical owners: + ``material_owner_convention`` picks the layer whose material values + (eps_r, doping, bands, DOS, mobilities) the node carries, and + ``role_owner_convention`` the layer whose role tag (absorber range, + grain-boundary painting) it carries. They differ for ``HALF_ENDPOINT_V1``. + """ + + name: str + nodes_m: NDArray[np.float64] + cell_measures_m: NDArray[np.float64] + cell_faces_m: NDArray[np.float64] + interfaces: tuple[InterfacePlane, ...] + material_owner_convention: str + role_owner_convention: str + face_normal: int = 1 + face_area_m2: float = UNIT_CROSS_SECTION_M2 + face_pairs: NDArray[np.int64] = field(init=False) + face_spacing_m: NDArray[np.float64] = field(init=False) + ports: tuple[PortFace, PortFace] = field(init=False) + extent_m: float = field(init=False) + total_measure_m: float = field(init=False) + geometric_cells: bool = field(init=False) + + def __post_init__(self) -> None: + if self.name not in GEOMETRY_NAMES: + raise ValueError(f"unknown historical geometry {self.name!r}") + conventions = {RIGHT_LAYER_WINS, LEFT_LAYER_WINS, NO_SHARED_NODES} + if (self.material_owner_convention not in conventions + or self.role_owner_convention not in conventions): + raise ValueError("unknown node ownership convention") + if self.face_normal != 1 or not self.face_area_m2 > 0.0: + raise ValueError("1D faces are oriented along +x with a positive area") + nodes = frozen_array(self.nodes_m) + measures = frozen_array(self.cell_measures_m) + faces = frozen_array(self.cell_faces_m) + if (nodes.ndim != 1 or nodes.size < 2 or np.any(np.diff(nodes) <= 0) + or measures.shape != nodes.shape or np.any(measures <= 0) + or faces.shape != (nodes.size + 1,) or np.any(np.diff(faces) <= 0)): + raise ValueError("inconsistent control-volume geometry") + pairs = np.column_stack((np.arange(nodes.size - 1), np.arange(1, nodes.size))) + pairs = np.frombuffer(pairs.astype(np.int64).tobytes(), dtype=np.int64).reshape(pairs.shape) + object.__setattr__(self, "nodes_m", nodes) + object.__setattr__(self, "cell_measures_m", measures) + object.__setattr__(self, "cell_faces_m", faces) + object.__setattr__(self, "face_pairs", pairs) + object.__setattr__(self, "face_spacing_m", frozen_array(np.diff(nodes))) + object.__setattr__(self, "ports", ( + PortFace("left", 0, float(nodes[0]), -1, self.face_area_m2), + PortFace("right", int(nodes.size - 1), float(nodes[-1]), 1, self.face_area_m2), + )) + geometric = self.name in _GEOMETRIC_CONTACT_CELLS + # Measures and extents come from different historical expressions, so + # they agree to rounding (not bitwise) wherever the cell is geometric. + extents = np.diff(faces) + checked = slice(None) if geometric else slice(1, -1) + tolerance = 16.0 * np.finfo(float).eps * max(1.0, float(np.max(np.abs(faces)))) + if np.any(np.abs(measures[checked] - extents[checked]) > tolerance): + raise ValueError("cell measures disagree with their geometric extents") + object.__setattr__(self, "extent_m", float(nodes[-1] - nodes[0])) + object.__setattr__(self, "total_measure_m", math.fsum(measures.tolist())) + object.__setattr__(self, "geometric_cells", geometric) + + @property + def node_count(self) -> int: + return int(self.nodes_m.size) + + def to_contract_geometry(self, *, cell_support: str = "cells", + face_support: str = "faces") -> Geometry: + """Contract geometry: measures are lengths, faces are dimensionless.""" + return Geometry(self.cell_measures_m, self.face_pairs, + np.full(self.node_count - 1, self.face_area_m2), LENGTH, ONE, + cell_support, face_support) + + +def _planes(grid: NDArray[np.float64], positions: ArrayLike) -> tuple[InterfacePlane, ...]: + stencils = build_interface_stencils(grid, positions) if np.asarray(positions).size else () + return tuple(InterfacePlane.from_stencil(i, stencil) for i, stencil in enumerate(stencils)) + + +def integer_endpoint_geometry(x: ArrayLike, + interface_positions: ArrayLike = ()) -> ControlVolumeGeometry1D: + grid = _strict_grid(x, minimum=2) + planes = _planes(grid, interface_positions) + if any(plane.shared_node is None for plane in planes): + raise ValueError("the integer-endpoint grid keeps a node on every interface") + return ControlVolumeGeometry1D(INTEGER_ENDPOINT_V1, grid, integer_endpoint_widths(grid), + dual_cell_faces(grid), planes, + material_owner_convention=RIGHT_LAYER_WINS, + role_owner_convention=RIGHT_LAYER_WINS) + + +def half_endpoint_geometry(x: ArrayLike, + interface_positions: ArrayLike = ()) -> ControlVolumeGeometry1D: + grid = _strict_grid(x, minimum=2) + planes = _planes(grid, interface_positions) + if any(plane.shared_node is None for plane in planes): + raise ValueError("the half-endpoint grid keeps a node on every interface") + # Material arrays are extruded from the 1D (right-owned) arrays; roles are left-owned. + return ControlVolumeGeometry1D(HALF_ENDPOINT_V1, grid, half_endpoint_widths(grid), + dual_cell_faces(grid), planes, + material_owner_convention=RIGHT_LAYER_WINS, + role_owner_convention=LEFT_LAYER_WINS) + + +def two_sided_trace_geometry(x: ArrayLike, + interface_positions: ArrayLike) -> ControlVolumeGeometry1D: + grid = _strict_grid(x, minimum=3) + planes = tuple(InterfacePlane.from_stencil(i, stencil) for i, stencil + in enumerate(_two_sided_stencils(grid, interface_positions))) + faces = dual_cell_faces(grid).copy() + for plane in planes: + faces[plane.right_node] = plane.position_m + return ControlVolumeGeometry1D(TWO_SIDED_TRACE_V1, grid, + two_sided_trace_widths(grid, interface_positions), + faces, planes, material_owner_convention=NO_SHARED_NODES, + role_owner_convention=NO_SHARED_NODES) + + +def physical_boundary_two_sided_geometry( + x: ArrayLike, interface_positions: ArrayLike) -> ControlVolumeGeometry1D: + grid = _strict_grid(x, minimum=3) + planes = tuple(InterfacePlane.from_stencil(i, stencil) for i, stencil + in enumerate(_two_sided_stencils(grid, interface_positions))) + faces = physical_cell_faces(grid, interface_positions) + return ControlVolumeGeometry1D(PHYSICAL_BOUNDARY_TWO_SIDED_V1, grid, np.diff(faces), + faces, planes, material_owner_convention=NO_SHARED_NODES, + role_owner_convention=NO_SHARED_NODES) + + +def build_geometry(name: str, x: ArrayLike, + interface_positions: ArrayLike = ()) -> ControlVolumeGeometry1D: + """Build one named historical geometry; there is no default geometry.""" + builders = { + INTEGER_ENDPOINT_V1: integer_endpoint_geometry, + HALF_ENDPOINT_V1: half_endpoint_geometry, + TWO_SIDED_TRACE_V1: two_sided_trace_geometry, + PHYSICAL_BOUNDARY_TWO_SIDED_V1: physical_boundary_two_sided_geometry, + } + if name not in builders: + raise ValueError(f"unknown historical geometry {name!r}") + return builders[name](x, interface_positions) diff --git a/src/solarlab/mesh/geometry_2d.py b/src/solarlab/mesh/geometry_2d.py new file mode 100644 index 00000000..e37f702d --- /dev/null +++ b/src/solarlab/mesh/geometry_2d.py @@ -0,0 +1,84 @@ +"""Rectangular, nonperiodic control volumes per unit out-of-plane depth.""" + +from __future__ import annotations + +from dataclasses import dataclass, field +import hashlib + +import numpy as np +from numpy.typing import NDArray + +from solarlab.contracts import AREA, LENGTH, Geometry, frozen_array +from solarlab.mesh.geometry import HALF_ENDPOINT_V1, ControlVolumeGeometry1D, half_endpoint_widths + +RECTANGULAR_HALF_ENDPOINT_2D_V1 = "rectangular_half_endpoint_neumann_2d_v1" + + +@dataclass(frozen=True) +class RectangularGeometry2D: + """x is lateral, y is the stack; flatten (Ny, Nx) with x varying fastest. + + Areas are wx*wy [m2], and x/y face lengths are wy/wx [m]. Fluxes + retain their three-dimensional densities; integrated rows are per metre + of out-of-plane depth. There are no exterior x faces: their explicitly + prescribed displacement and particle fluxes are exactly zero. + """ + + x_m: NDArray[np.float64] + y_geometry: ControlVolumeGeometry1D + name: str = field(init=False, default=RECTANGULAR_HALF_ENDPOINT_2D_V1) + x_widths_m: NDArray[np.float64] = field(init=False) + face_spacing_m: NDArray[np.float64] = field(init=False) + contract_geometry: Geometry = field(init=False) + sha256: str = field(init=False) + + def __post_init__(self) -> None: + x = frozen_array(self.x_m) + widths = half_endpoint_widths(x) + y = self.y_geometry + if y.name != HALF_ENDPOINT_V1 or y.node_count < 3: + raise ValueError("2D stack requires at least three nodes with physical half-endpoint cells") + object.__setattr__(self, "x_m", x) + object.__setattr__(self, "x_widths_m", frozen_array(widths)) + ids = np.arange(self.node_count).reshape(self.shape) + x_pairs = np.column_stack((ids[:, :-1].ravel(), ids[:, 1:].ravel())) + y_pairs = np.column_stack((ids[:-1, :].ravel(), ids[1:, :].ravel())) + pairs = np.concatenate((x_pairs, y_pairs)) + areas = (y.cell_measures_m[:, None] * widths[None, :]).ravel() + measures = np.r_[np.repeat(y.cell_measures_m, self.nx - 1), np.tile(widths, self.ny - 1)] + distances = np.r_[np.tile(np.diff(x), self.ny), np.repeat(np.diff(y.nodes_m), self.nx)] + geometry = Geometry(areas, pairs, measures, AREA, LENGTH) + object.__setattr__(self, "contract_geometry", geometry) + object.__setattr__(self, "face_spacing_m", frozen_array(distances)) + digest = hashlib.sha256(self.name.encode()) + for value in (x, y.nodes_m, areas, pairs, measures, distances): + digest.update(np.ascontiguousarray(value, dtype=" int: + return int(self.x_m.size) + + @property + def ny(self) -> int: + return self.y_geometry.node_count + + @property + def shape(self) -> tuple[int, int]: + return self.ny, self.nx + + @property + def node_count(self) -> int: + return self.nx * self.ny + + @property + def x_face_count(self) -> int: + return self.ny * (self.nx - 1) + + @property + def lateral_length_m(self) -> float: + return float(self.x_m[-1] - self.x_m[0]) + + @property + def contact_nodes(self) -> NDArray[np.int64]: + return np.r_[np.arange(self.nx), np.arange(self.node_count - self.nx, self.node_count)] diff --git a/src/solarlab/mesh/grid.py b/src/solarlab/mesh/grid.py new file mode 100644 index 00000000..6a785c83 --- /dev/null +++ b/src/solarlab/mesh/grid.py @@ -0,0 +1,230 @@ +"""Historical 1D grid constructors, node ownership and interface stencils. + +``tanh_grid`` and ``multilayer_grid`` reproduce the legacy constructors +bit-for-bit. Node ownership at a shared layer-boundary node differs between +the historical consumers and is therefore explicit: + +* ``RIGHT_LAYER_WINS`` -- 1D method-of-lines material arrays: inclusive spans + with a roundoff padding, assigned in layer order so the right layer owns the + boundary node. The 2D material arrays are extruded from these, so they are + right-owned too. +* ``LEFT_LAYER_WINS`` -- 2D role tagging only (absorber range, grain-boundary + painting): the first layer whose cumulative right boundary (plus 1e-15 m) is + not below the node owns it (upstream). It never selects 2D material values. + +Two-sided interface geometries remove the shared node instead, so each +material keeps strictly interior reservoirs on both sides of the true plane. +""" + +from __future__ import annotations + +from collections.abc import Sequence +from dataclasses import dataclass +import math + +import numpy as np +from numpy.typing import ArrayLike, NDArray + +__all__ = [ + "InterfaceStencil", "LEFT_LAYER_WINS", "RIGHT_LAYER_WINS", "build_interface_stencils", + "layer_boundary_padding", "layer_node_masks", "multilayer_grid", "node_owner", + "remove_shared_interface_nodes", "tanh_grid", +] + +RIGHT_LAYER_WINS = "right_layer_wins" +LEFT_LAYER_WINS = "left_layer_wins" +_TWOD_BOUNDARY_TOLERANCE_M = 1e-15 + + +def tanh_grid(N: int, L: float, alpha: float = 3.0) -> NDArray[np.float64]: + """N+1 points on [0, L] with boundary concentration parameter alpha.""" + xi = np.linspace(-1.0, 1.0, N + 1) + x: NDArray[np.float64] = L * (1.0 + np.tanh(alpha * xi) / np.tanh(alpha)) / 2.0 + return x + + +def multilayer_grid( + layers: Sequence[tuple[float, int]], + alpha: float | Sequence[float] = 3.0, +) -> NDArray[np.float64]: + """Concatenated tanh grid for ``(thickness, intervals)`` layers. + + ``alpha`` may be one scalar shared by every layer or one value per layer. + The shared boundary node is kept once (the deduplicated historical grid). + """ + alpha_array: NDArray[np.float64] = np.asarray(alpha, dtype=float) + if alpha_array.ndim == 0: + layer_alphas = (float(alpha_array),) * len(layers) + elif alpha_array.ndim == 1 and len(alpha_array) == len(layers): + layer_alphas = tuple(float(value) for value in alpha_array) + else: + raise ValueError("alpha must be a scalar or contain exactly one value per layer") + + segments = [] + offset = 0.0 + for k, ((thickness, intervals), layer_alpha) in enumerate(zip(layers, layer_alphas)): + x_seg = tanh_grid(intervals, thickness, layer_alpha) + offset + if k > 0: + x_seg = x_seg[1:] # drop duplicate interface point + segments.append(x_seg) + offset += thickness + return np.concatenate(segments) + + +def layer_boundary_padding(x: ArrayLike, thicknesses: Sequence[float]) -> float: + """Roundoff allowance that cannot consume a resolved interface interval.""" + grid = np.asarray(x, dtype=float) + scale = max(abs(float(grid[0])), abs(float(grid[-1])), math.fsum(thicknesses)) + roundoff = 2 * (len(thicknesses) + 1) * np.spacing(scale) + return float(min(roundoff, 0.25 * float(np.min(np.diff(grid))))) + + +def node_owner(x: ArrayLike, thicknesses: Sequence[float], convention: str) -> NDArray[np.intp]: + """Owning layer index of every node under one named historical convention.""" + grid = np.asarray(x, dtype=float) + if grid.ndim != 1 or grid.size < 2 or not np.all(np.isfinite(grid)): + raise ValueError("grid must be a finite 1-D array with at least two nodes") + if not thicknesses: + raise ValueError("at least one layer is required") + if convention == RIGHT_LAYER_WINS: + padding = layer_boundary_padding(grid, thicknesses) + owner = np.full(grid.shape, -1, dtype=np.intp) + offset = 0.0 + for index, thickness in enumerate(thicknesses): + span = (grid >= offset - padding) & (grid <= offset + thickness + padding) + owner[span] = index + offset += thickness + return owner + if convention == LEFT_LAYER_WINS: + boundaries = [0.0] + for thickness in thicknesses: + boundaries.append(boundaries[-1] + thickness) + result = np.empty(grid.shape, dtype=np.intp) + for node, value in enumerate(grid): + for k in range(len(thicknesses)): + if value <= boundaries[k + 1] + _TWOD_BOUNDARY_TOLERANCE_M: + result[node] = k + break + else: + result[node] = len(thicknesses) - 1 + return result + raise ValueError(f"unknown node ownership convention {convention!r}") + + +def layer_node_masks(x: ArrayLike, thicknesses: Sequence[float], + convention: str = RIGHT_LAYER_WINS) -> list[NDArray[np.bool_]]: + """One mutually exclusive boolean mask per layer.""" + owner = node_owner(x, thicknesses, convention) + return [owner == index for index in range(len(thicknesses))] + + +@dataclass(frozen=True) +class InterfaceStencil: + """Grid indices bracketing a material boundary with interior reservoirs. + + ``shared_boundary_node`` records the node of the deduplicated grid that + lies on the plane, when present. It is never used as a reservoir, because + its distance to the physical interface is zero. + """ + + interface_position_m: float + left_bulk_node: int + right_bulk_node: int + left_distance_m: float + right_distance_m: float + shared_boundary_node: int | None + + +def _coordinate_tolerance(grid: NDArray[np.float64]) -> float: + return float( + 32.0 + * np.finfo(float).eps + * max( + 1.0, + abs(float(grid[0])), + abs(float(grid[-1])), + abs(float(grid[-1] - grid[0])), + ) + ) + + +def _strict_grid_and_positions( + grid_m: ArrayLike, interface_positions_m: ArrayLike, +) -> tuple[NDArray[np.float64], NDArray[np.float64]]: + grid = np.asarray(grid_m, dtype=float) + positions = np.asarray(interface_positions_m, dtype=float) + if ( + grid.ndim != 1 + or grid.size < 3 + or not np.all(np.isfinite(grid)) + or np.any(np.diff(grid) <= 0.0) + ): + raise ValueError("grid_m must be finite and strictly increasing") + if positions.ndim != 1 or not np.all(np.isfinite(positions)): + raise ValueError("interface_positions_m must be a finite vector") + if positions.size and np.any(np.diff(positions) <= 0.0): + raise ValueError("interface_positions_m must be strictly increasing") + return grid, positions + + +def build_interface_stencils( + grid_m: ArrayLike, + interface_positions_m: ArrayLike, +) -> tuple[InterfaceStencil, ...]: + """Map physical interfaces to the nearest strict left/right bulk nodes.""" + grid, positions = _strict_grid_and_positions(grid_m, interface_positions_m) + tolerance = _coordinate_tolerance(grid) + stencils: list[InterfaceStencil] = [] + for position_value in positions: + position = float(position_value) + if not float(grid[0]) < position < float(grid[-1]): + raise ValueError("each interface position must lie inside grid_m") + nearest = int(np.argmin(np.abs(grid - position))) + shared = nearest if abs(float(grid[nearest]) - position) <= tolerance else None + if shared is None: + right = int(np.searchsorted(grid, position, side="right")) + left = right - 1 + else: + left = shared - 1 + right = shared + 1 + if left < 0 or right >= grid.size: + raise ValueError("interface lacks strict left/right bulk nodes") + left_distance = position - float(grid[left]) + right_distance = float(grid[right]) - position + if left_distance <= 0.0 or right_distance <= 0.0: + raise ValueError("interface stencil contains a zero-distance half-cell") + stencils.append( + InterfaceStencil( + interface_position_m=position, + left_bulk_node=left, + right_bulk_node=right, + left_distance_m=left_distance, + right_distance_m=right_distance, + shared_boundary_node=shared, + ) + ) + return tuple(stencils) + + +def remove_shared_interface_nodes( + grid_m: ArrayLike, + interface_positions_m: ArrayLike, +) -> NDArray[np.float64]: + """Return a strict grid with deduplicated material-boundary nodes removed.""" + grid, positions = _strict_grid_and_positions(grid_m, interface_positions_m) + tolerance = _coordinate_tolerance(grid) + keep = np.ones(grid.size, dtype=bool) + for position_value in positions: + position = float(position_value) + if not float(grid[0]) < position < float(grid[-1]): + raise ValueError("each interface position must lie inside grid_m") + nearest = int(np.argmin(np.abs(grid - position))) + if abs(float(grid[nearest]) - position) <= tolerance: + keep[nearest] = False + reduced = grid[keep] + if reduced.size < 3: + raise ValueError("removing interface nodes leaves fewer than three nodes") + stencils = build_interface_stencils(reduced, positions) + if any(stencil.shared_boundary_node is not None for stencil in stencils): + raise RuntimeError("shared interface node remained after grid reduction") + return reduced diff --git a/src/solarlab/mesh/layers.py b/src/solarlab/mesh/layers.py new file mode 100644 index 00000000..9f25b2e5 --- /dev/null +++ b/src/solarlab/mesh/layers.py @@ -0,0 +1,121 @@ +"""Layer stacks, substrate prefixes and electrical-interface alignment. + +Optical-only ``substrate`` layers may only form a contiguous prefix. The +electrical grid starts at the first electrical layer, so interface data that is +aligned to the full layer list must be shifted by the substrate prefix before +it is indexed by electrical interface number. Positions are accumulated in +layer order with binary64 additions, the order every historical grid used. +""" + +from __future__ import annotations + +from dataclasses import dataclass, field +from typing import Sequence, TypeVar + +__all__ = ["ElectricalStack", "StackLayer", "SUBSTRATE_ROLE"] + +SUBSTRATE_ROLE = "substrate" +T = TypeVar("T") + + +@dataclass(frozen=True) +class StackLayer: + """One layer of the full optical/electrical stack.""" + + name: str + thickness_m: float + role: str + + def __post_init__(self) -> None: + thickness = float(self.thickness_m) + if not self.name or not self.role: + raise ValueError("layer name and role must be non-empty") + if not thickness > 0.0 or thickness == float("inf"): + raise ValueError(f"layer {self.name!r} thickness must be finite and positive") + object.__setattr__(self, "thickness_m", thickness) + + +@dataclass(frozen=True) +class ElectricalStack: + """The electrical view of a full stack, with explicit index alignment.""" + + layers: tuple[StackLayer, ...] + substrate_prefix: int = field(init=False) + electrical: tuple[StackLayer, ...] = field(init=False) + optical_offset_m: float = field(init=False) + interface_positions_m: tuple[float, ...] = field(init=False) + thickness_m: float = field(init=False) + + def __post_init__(self) -> None: + layers = tuple(self.layers) + if not all(isinstance(layer, StackLayer) for layer in layers): + raise TypeError("layers must be StackLayer values") + seen_electrical = False + for layer in layers: + if layer.role == SUBSTRATE_ROLE: + if seen_electrical: + raise ValueError( + "substrate layers must form a contiguous prefix of " + "stack.layers (mid-stack or trailing substrate layers " + "are not supported)" + ) + else: + seen_electrical = True + prefix = 0 + for layer in layers: + if layer.role != SUBSTRATE_ROLE: + break + prefix += 1 + electrical = layers[prefix:] + if not electrical: + raise ValueError("stack has no electrical layers") + offset = 0.0 + for layer in layers[:prefix]: + offset += layer.thickness_m + positions: list[float] = [] + position = 0.0 + for layer in electrical[:-1]: + position += layer.thickness_m + positions.append(position) + total = 0.0 + for layer in electrical: + total += layer.thickness_m + object.__setattr__(self, "layers", layers) + object.__setattr__(self, "substrate_prefix", prefix) + object.__setattr__(self, "electrical", electrical) + object.__setattr__(self, "optical_offset_m", offset) + object.__setattr__(self, "interface_positions_m", tuple(positions)) + object.__setattr__(self, "thickness_m", total) + + @classmethod + def from_layers(cls, layers: Sequence[StackLayer]) -> ElectricalStack: + return cls(tuple(layers)) + + @property + def interface_count(self) -> int: + return len(self.electrical) - 1 + + def full_interface_index(self, electrical_index: int) -> int: + """Index into data aligned with the full layer list (``len(layers)-1``).""" + if type(electrical_index) is not int or not 0 <= electrical_index < self.interface_count: + raise IndexError("electrical interface index outside the stack") + return electrical_index + self.substrate_prefix + + def electrical_interface_data(self, full_aligned: Sequence[T], *, + pad_missing: bool = False) -> tuple[T | None, ...]: + """Slice full-layer-aligned per-interface data to electrical interfaces. + + ``pad_missing=False`` keeps the historical interface-pair behaviour (a + short tuple stays short); ``pad_missing=True`` keeps the historical + interface-defect behaviour (missing slots become ``None``). + """ + start = self.substrate_prefix + desired = max(0, self.interface_count) + selected: list[T | None] = list(tuple(full_aligned)[start:start + desired]) + if pad_missing: + selected.extend([None] * (desired - len(selected))) + return tuple(selected) + + def optical_coordinates(self, electrical_x_m: float) -> float: + """Map an electrical coordinate into the full optical stack.""" + return float(electrical_x_m) + self.optical_offset_m diff --git a/src/solarlab/physics/__init__.py b/src/solarlab/physics/__init__.py new file mode 100644 index 00000000..ec627365 --- /dev/null +++ b/src/solarlab/physics/__init__.py @@ -0,0 +1,3 @@ +"""Physics declarations; no model or numerical executor is enabled on import.""" + +__all__: tuple[str, ...] = () diff --git a/src/solarlab/physics/band_structure/__init__.py b/src/solarlab/physics/band_structure/__init__.py new file mode 100644 index 00000000..85e0e6ec --- /dev/null +++ b/src/solarlab/physics/band_structure/__init__.py @@ -0,0 +1,114 @@ +"""Temperature, doping, composition and band-edge parameter binding (P04-11, M class). + +Value laws migrated bit for bit from the historical engine, and a cold-compiled, +state-free parameter binding whose band edges are W3a's ``BandStructure``. +Temperature and composition tangents (new, N class) live in +``solarlab.physics.band_structure.sensitivity`` and are not re-exported here, +so the M and N parts can be committed separately. +""" + +from solarlab.physics.band_structure.binding import ( + TIME_DOMAIN_TEMPERATURE_QUALIFIED, + LayerParameterInput, + LayerTemperatureState, + ParameterBinding, + StaleParameterBindingError, + TemperatureCapabilityError, + TemperatureLawSpec, + compile_layer_parameters, + require_time_domain_temperature, +) +from solarlab.physics.band_structure.doping_profile import ( + DOPING_EDGES, + DOPING_SHAPES, + DopingProfileSpec, + doping_at_position, + gaussian_doping_profile, + layer_doping_profiles, +) +from solarlab.physics.band_structure.grading import ( + GRADING_DIRECTIONS, + GRADING_PROFILES, + GradingSpec, + affinity_profile, + band_gap_profile, + grade_n1_p1, + grade_ni_sq, + grading_coordinate, + minimum_band_gap_eV, +) +from solarlab.physics.band_structure.narrowing import ( + BAND_GAP_NARROWING_OFF, + SLOTBOOM, + BandGapNarrowingSpec, + BandGapNarrowingState, + apply_band_gap_narrowing, + intrinsic_product_narrowing_scale, + normalize_band_gap_narrowing_model, + slotboom_band_gap_narrowing, + srh_reference_narrowing_scale, +) +from solarlab.physics.band_structure.temperature import ( + REFERENCE_CALIBRATED_TERMS, + T_REF, + TEMPERATURE_LAWS, + ReferenceCalibratedTerm, + band_edge_dos_at_temperature, + band_gap_at_temperature, + device_temperature, + intrinsic_density_at_temperature, + ion_diffusivity_at_temperature, + mobility_at_temperature, + radiative_coefficient_at_temperature, + srh_reference_scale, + thermal_velocity_at_temperature, +) + +__all__ = [ + "BAND_GAP_NARROWING_OFF", + "BandGapNarrowingSpec", + "BandGapNarrowingState", + "DOPING_EDGES", + "DOPING_SHAPES", + "DopingProfileSpec", + "GRADING_DIRECTIONS", + "GRADING_PROFILES", + "GradingSpec", + "LayerParameterInput", + "LayerTemperatureState", + "ParameterBinding", + "REFERENCE_CALIBRATED_TERMS", + "ReferenceCalibratedTerm", + "SLOTBOOM", + "StaleParameterBindingError", + "T_REF", + "TEMPERATURE_LAWS", + "TIME_DOMAIN_TEMPERATURE_QUALIFIED", + "TemperatureCapabilityError", + "TemperatureLawSpec", + "affinity_profile", + "apply_band_gap_narrowing", + "band_edge_dos_at_temperature", + "band_gap_at_temperature", + "band_gap_profile", + "compile_layer_parameters", + "device_temperature", + "doping_at_position", + "gaussian_doping_profile", + "grade_n1_p1", + "grade_ni_sq", + "grading_coordinate", + "intrinsic_density_at_temperature", + "intrinsic_product_narrowing_scale", + "ion_diffusivity_at_temperature", + "layer_doping_profiles", + "minimum_band_gap_eV", + "mobility_at_temperature", + "normalize_band_gap_narrowing_model", + "radiative_coefficient_at_temperature", + "require_time_domain_temperature", + "slotboom_band_gap_narrowing", + "srh_reference_narrowing_scale", + "srh_reference_scale", + "thermal_velocity_at_temperature", +] diff --git a/src/solarlab/physics/band_structure/binding.py b/src/solarlab/physics/band_structure/binding.py new file mode 100644 index 00000000..b0c957cb --- /dev/null +++ b/src/solarlab/physics/band_structure/binding.py @@ -0,0 +1,488 @@ +"""Parameter binding: one cold compile of the resolved layer parameters at (T, composition). + +``compile_layer_parameters`` evaluates, node by node, every temperature-, +composition- and doping-dependent material parameter the historical +material build derives (``solver/mol.build_material_arrays``), in the same +order and with the same expressions, so its arrays are bit-identical to the +historical ones (M class): + + doping profile -> Varshni gap -> grading -> band-gap narrowing + -> mobility/diffusivity -> intrinsic product -> SRH references + -> radiative coefficient -> band-edge DOS -> thermal velocity + +then keeps the physical band edges and hands them to W3a's +``fold_dos_into_transport_bands``; the result's band edges are a W3a +``BandStructure`` (physical and DOS-folded transport potentials, never one +in place of the other). + +A binding is immutable and state free. ``rebind`` always recompiles from the +stored 300 K inputs; it never derives the new arrays from the old ones, so a +binding can never carry stale coefficients into a new temperature or +composition. ``require`` rejects a binding offered for a different request. +Explicit temperature-input derivatives for an externally driven T(t) belong +to the time domain (P04-B): :data:`TIME_DOMAIN_TEMPERATURE_QUALIFIED` is +False and :func:`require_time_domain_temperature` refuses. + +Interface switch point: layer inputs are explicit resolved SI values; the +WS2 configuration layer maps declared materials onto ``LayerParameterInput``. +""" + +from __future__ import annotations + +from collections.abc import Sequence +from dataclasses import asdict, dataclass, field +import hashlib +import json +import math + +import numpy as np +from numpy.typing import ArrayLike + +from solarlab.mesh.grid import RIGHT_LAYER_WINS, layer_node_masks +from solarlab.physics.band_structure.doping_profile import DopingProfileSpec, layer_doping_profiles +from solarlab.physics.band_structure.grading import ( + GradingSpec, + affinity_profile, + band_gap_profile, + grade_n1_p1, + grade_ni_sq, +) +from solarlab.physics.band_structure.narrowing import ( + BandGapNarrowingSpec, + intrinsic_product_narrowing_scale, + srh_reference_narrowing_scale, +) +from solarlab.physics.band_structure.temperature import ( + TEMPERATURE_LAWS, + band_edge_dos_at_temperature, + band_gap_at_temperature, + device_temperature, + intrinsic_density_at_temperature, + ion_diffusivity_at_temperature, + mobility_at_temperature, + radiative_coefficient_at_temperature, + srh_reference_scale, + thermal_velocity_at_temperature, +) +from solarlab.physics.statistics.band_potentials import ( + BandStructure, + dos_fold_reference_layer, + fold_dos_into_transport_bands, +) + +__all__ = [ + "LayerParameterInput", + "LayerTemperatureState", + "ParameterBinding", + "StaleParameterBindingError", + "TIME_DOMAIN_TEMPERATURE_QUALIFIED", + "TemperatureCapabilityError", + "TemperatureLawSpec", + "compile_layer_parameters", + "require_time_domain_temperature", +] + +#: Explicit T(t) input/storage derivatives are declared, not qualified (P04-B). +TIME_DOMAIN_TEMPERATURE_QUALIFIED = False + + +class StaleParameterBindingError(ValueError): + """A parameter binding was offered for a request it was not compiled for.""" + + +class TemperatureCapabilityError(ValueError): + """A temperature capability that is declared but not available.""" + + +def require_time_domain_temperature() -> None: + """Refuse externally driven T(t) in a time-domain residual until P04-B.""" + + raise TemperatureCapabilityError( + "pending_p04b: explicit temperature-input and storage derivatives for an " + "externally driven T(t) are declared but not time-domain qualified" + ) + + +def _finite(value: object, name: str) -> float: + if isinstance(value, bool): + raise ValueError(f"{name} must be a finite number") + number = float(value) # type: ignore[arg-type] + if not math.isfinite(number): + raise ValueError(f"{name} must be a finite number") + return number + + +@dataclass(frozen=True, slots=True) +class TemperatureLawSpec: + """Exponents and coefficients of one layer's temperature laws.""" + + mobility_exponent: float = -1.5 + ion_activation_energy_eV: float = 0.58 + radiative_exponent: float = 0.0 + varshni_alpha_eV_K: float = 0.0 + varshni_beta_K: float = 0.0 + + def __post_init__(self) -> None: + for name in ("mobility_exponent", "ion_activation_energy_eV", "radiative_exponent", + "varshni_alpha_eV_K", "varshni_beta_K"): + _finite(getattr(self, name), name) + + +@dataclass(frozen=True, slots=True) +class LayerParameterInput: + """One electrical layer's resolved 300 K parameters (SI; energies in eV).""" + + name: str + role: str + thickness_m: float + electron_affinity_eV: float + band_gap_eV: float + intrinsic_density_m3: float + srh_n1_m3: float + srh_p1_m3: float + electron_mobility_m2_V_s: float + hole_mobility_m2_V_s: float + radiative_coefficient_m3_s: float + doping: DopingProfileSpec + thermal_velocity_m_s: float = 1.0e5 + ion_diffusivity_m2_s: float = 0.0 + negative_ion_diffusivity_m2_s: float = 0.0 + conduction_dos_300_m3: float | None = None + valence_dos_300_m3: float | None = None + temperature_laws: TemperatureLawSpec = field(default_factory=TemperatureLawSpec) + grading: GradingSpec = field(default_factory=GradingSpec) + narrowing: BandGapNarrowingSpec = field(default_factory=BandGapNarrowingSpec) + + def __post_init__(self) -> None: + if not isinstance(self.name, str) or not self.name.strip(): + raise ValueError("layer requires a name") + if _finite(self.thickness_m, "thickness_m") <= 0.0: + raise ValueError("thickness_m must be positive") + for name in ("electron_affinity_eV", "band_gap_eV", "intrinsic_density_m3", "srh_n1_m3", + "srh_p1_m3", "electron_mobility_m2_V_s", "hole_mobility_m2_V_s", + "radiative_coefficient_m3_s", "thermal_velocity_m_s", "ion_diffusivity_m2_s", + "negative_ion_diffusivity_m2_s"): + _finite(getattr(self, name), name) + for name in ("conduction_dos_300_m3", "valence_dos_300_m3"): + value = getattr(self, name) + if value is not None and _finite(value, name) < 0.0: + raise ValueError(f"{name} must be non-negative") + for name, kind in (("doping", DopingProfileSpec), ("temperature_laws", TemperatureLawSpec), + ("grading", GradingSpec), ("narrowing", BandGapNarrowingSpec)): + if not isinstance(getattr(self, name), kind): + raise TypeError(f"{name} must be a {kind.__name__}") + + +@dataclass(frozen=True, slots=True) +class LayerTemperatureState: + """Per-layer scalars the compile derived at the binding temperature.""" + + band_gap_front_eV: float + band_gap_back_eV: float | None + intrinsic_density_m3: float + srh_reference_scale: float + electron_mobility_m2_V_s: float + hole_mobility_m2_V_s: float + graded: bool + narrowed: bool + + +def _readonly(array: np.ndarray) -> np.ndarray: + frozen = np.array(array, dtype=float, copy=True) + frozen.setflags(write=False) + return frozen + + +def _layers_digest(layers: Sequence[LayerParameterInput]) -> str: + payload = json.dumps([asdict(layer) for layer in layers], sort_keys=True, separators=(",", ":"), + allow_nan=False) + return hashlib.sha256(payload.encode("utf-8")).hexdigest() + + +@dataclass(frozen=True) +class ParameterBinding: + """Node parameters of one cold compile; immutable and free of state.""" + + nodes_m: np.ndarray + layers: tuple[LayerParameterInput, ...] + requested_temperature_K: float + temperature_K: float + thermal_voltage_V: float + temperature_scaling: bool + band_grading: bool + dos_band_potentials: bool + dual_ions: bool + band_structure: BandStructure + acceptor_density_m3: np.ndarray + donor_density_m3: np.ndarray + band_gap_narrowing_eV: np.ndarray + composition_coordinate: np.ndarray + intrinsic_product_m6: np.ndarray + srh_n1_m3: np.ndarray + srh_p1_m3: np.ndarray + radiative_coefficient_m3_s: np.ndarray + electron_mobility_m2_V_s: np.ndarray + hole_mobility_m2_V_s: np.ndarray + electron_diffusivity_m2_s: np.ndarray + hole_diffusivity_m2_s: np.ndarray + ion_diffusivity_m2_s: np.ndarray + negative_ion_diffusivity_m2_s: np.ndarray + conduction_dos_m3: np.ndarray + valence_dos_m3: np.ndarray + thermal_velocity_m_s: np.ndarray + layer_masks: tuple[np.ndarray, ...] + layer_states: tuple[LayerTemperatureState, ...] + inputs_sha256: str + sha256: str = field(init=False) + + def __post_init__(self) -> None: + payload = json.dumps( + { + "model": "layer_parameter_binding_v1", + "laws": [list(item) for item in TEMPERATURE_LAWS], + "requested_temperature_K": repr(float(self.requested_temperature_K)), + "temperature_K": repr(float(self.temperature_K)), + "thermal_voltage_V": repr(float(self.thermal_voltage_V)), + "flags": [self.temperature_scaling, self.band_grading, self.dos_band_potentials, + self.dual_ions], + "inputs_sha256": self.inputs_sha256, + }, + sort_keys=True, + separators=(",", ":"), + ).encode("ascii") + digest = hashlib.sha256(payload) + digest.update(np.ascontiguousarray(self.nodes_m, dtype=" int: + return int(self.nodes_m.size) + + def require(self, *, temperature_K: float, inputs_sha256: str | None = None) -> None: + """Refuse use for a request this binding was not compiled for.""" + + if float(temperature_K) != float(self.requested_temperature_K): + raise StaleParameterBindingError( + f"parameter binding was compiled for T={self.requested_temperature_K!r} K, " + f"not {temperature_K!r} K; rebind instead of reusing its coefficients" + ) + if inputs_sha256 is not None and inputs_sha256 != self.inputs_sha256: + raise StaleParameterBindingError("parameter binding was compiled from different layer inputs") + + def rebind( + self, + *, + temperature_K: float | None = None, + layers: Sequence[LayerParameterInput] | None = None, + ) -> ParameterBinding: + """Cold recompile from the stored 300 K inputs (never from these arrays).""" + + return compile_layer_parameters( + self.nodes_m, + self.layers if layers is None else layers, + temperature_K=self.requested_temperature_K if temperature_K is None else temperature_K, + temperature_scaling=self.temperature_scaling, + band_grading=self.band_grading, + dos_band_potentials=self.dos_band_potentials, + dual_ions=self.dual_ions, + ) + + +def _grid(x_nodes_m: ArrayLike) -> np.ndarray: + x = np.array(x_nodes_m, dtype=float, copy=True) + if x.ndim != 1 or x.size < 2 or not np.all(np.isfinite(x)) or np.any(np.diff(x) <= 0.0): + raise ValueError("nodes must be finite and strictly increasing with at least two entries") + return x + + +def compile_layer_parameters( + x_nodes_m: ArrayLike, + layers: Sequence[LayerParameterInput], + *, + temperature_K: float, + temperature_scaling: bool, + band_grading: bool, + dos_band_potentials: bool, + dual_ions: bool = True, +) -> ParameterBinding: + """Cold-compile every T/composition/doping-dependent node parameter. + + ``temperature_scaling``, ``band_grading`` and ``dos_band_potentials`` are + the resolved tier switches (the LEGACY tier turns all three off); + ``dual_ions`` gates the negative-ion diffusivity as historically. + """ + + layer_inputs = tuple(layers) + if not layer_inputs or not all(isinstance(item, LayerParameterInput) for item in layer_inputs): + raise ValueError("at least one LayerParameterInput is required") + requested = _finite(temperature_K, "temperature_K") + if requested <= 0.0: + raise ValueError("temperature_K must be positive") + x = _grid(x_nodes_m) + T, V_T = device_temperature(requested, temperature_scaling=bool(temperature_scaling)) + masks = tuple(layer_node_masks(x, [layer.thickness_m for layer in layer_inputs], RIGHT_LAYER_WINS)) + if np.any(np.sum(masks, axis=0) != 1): + raise ValueError("layer thicknesses must cover every node exactly once") + N = x.size + + N_A = np.zeros(N) + N_D = np.zeros(N) + narrowing_eV = np.zeros(N) + composition = np.full(N, np.nan) + chi = np.zeros(N) + Eg = np.zeros(N) + D_ion = np.zeros(N) + D_ion_neg = np.zeros(N) + mu_n = np.empty(N) + mu_p = np.empty(N) + D_n = np.empty(N) + D_p = np.empty(N) + ni_sq = np.empty(N) + n1 = np.empty(N) + p1 = np.empty(N) + B_rad = np.empty(N) + N_C = np.full(N, np.nan) + N_V = np.full(N, np.nan) + v_th = np.empty(N) + states: list[LayerTemperatureState] = [] + + offset = 0.0 + for layer, mask in zip(layer_inputs, masks): + laws = layer.temperature_laws + x_local = x[mask] - offset + + D_ion[mask] = ion_diffusivity_at_temperature(layer.ion_diffusivity_m2_s, T, laws.ion_activation_energy_eV) + if dual_ions: + D_ion_neg[mask] = ion_diffusivity_at_temperature( + layer.negative_ion_diffusivity_m2_s, T, laws.ion_activation_energy_eV + ) + N_A[mask], N_D[mask] = layer_doping_profiles(x_local, layer.thickness_m, layer.doping) + + Eg_T = band_gap_at_temperature(layer.band_gap_eV, T, laws.varshni_alpha_eV_K, laws.varshni_beta_K) + graded = bool(band_grading) and layer.grading.graded + Eg_back_T: float | None = None + if graded: + grading = layer.grading + y = grading.coordinate(x_local, layer.thickness_m) + composition[mask] = y + Eg_back = grading.band_gap_back_eV if grading.band_gap_back_eV is not None else layer.band_gap_eV + Eg_back_T = band_gap_at_temperature(Eg_back, T, laws.varshni_alpha_eV_K, laws.varshni_beta_K) + chi_back = ( + grading.electron_affinity_back_eV + if grading.electron_affinity_back_eV is not None + else layer.electron_affinity_eV + ) + chi[mask] = affinity_profile(y, layer.electron_affinity_eV, chi_back) + Eg[mask] = band_gap_profile(y, Eg_T, Eg_back_T, grading.bowing_eV) + else: + chi[mask] = layer.electron_affinity_eV + Eg[mask] = Eg_T + + narrowed = layer.narrowing.active + if narrowed: + edges = tuple( + layer.narrowing.apply(affinity, gap, acceptors, donors) + for affinity, gap, acceptors, donors in zip(chi[mask], Eg[mask], N_A[mask], N_D[mask]) + ) + chi[mask] = np.asarray([state.effective_electron_affinity_eV for state in edges]) + Eg[mask] = np.asarray([state.effective_band_gap_eV for state in edges]) + narrowing_eV[mask] = np.asarray([state.narrowing_eV for state in edges]) + + mu_n_T = mobility_at_temperature(layer.electron_mobility_m2_V_s, T, laws.mobility_exponent) + mu_p_T = mobility_at_temperature(layer.hole_mobility_m2_V_s, T, laws.mobility_exponent) + mu_n[mask] = mu_n_T + mu_p[mask] = mu_p_T + D_n[mask] = mu_n_T * V_T + D_p[mask] = mu_p_T * V_T + + ni_T = intrinsic_density_at_temperature( + layer.intrinsic_density_m3, Eg_T, T, layer.conduction_dos_300_m3, layer.valence_dos_300_m3 + ) + if graded: + ni_sq[mask] = grade_ni_sq(ni_T**2, Eg[mask], Eg_T, V_T) + else: + ni_sq[mask] = ni_T**2 + if narrowed: + ni_sq[mask] *= intrinsic_product_narrowing_scale(narrowing_eV[mask], V_T) + + scale = srh_reference_scale(ni_T, layer.intrinsic_density_m3, T) + if graded: + n1[mask], p1[mask] = grade_n1_p1( + layer.srh_n1_m3 * scale, layer.srh_p1_m3 * scale, Eg[mask], Eg_T, V_T + ) + else: + reference = srh_reference_narrowing_scale(narrowing_eV[mask], V_T) + n1[mask] = layer.srh_n1_m3 * scale * reference + p1[mask] = layer.srh_p1_m3 * scale * reference + + B_rad[mask] = radiative_coefficient_at_temperature( + layer.radiative_coefficient_m3_s, T, laws.radiative_exponent + ) + if layer.conduction_dos_300_m3: + N_C[mask] = band_edge_dos_at_temperature(layer.conduction_dos_300_m3, T) + if layer.valence_dos_300_m3: + N_V[mask] = band_edge_dos_at_temperature(layer.valence_dos_300_m3, T) + v_th[mask] = thermal_velocity_at_temperature(layer.thermal_velocity_m_s, T) + + states.append(LayerTemperatureState( + band_gap_front_eV=Eg_T, + band_gap_back_eV=Eg_back_T, + intrinsic_density_m3=ni_T, + srh_reference_scale=scale, + electron_mobility_m2_V_s=mu_n_T, + hole_mobility_m2_V_s=mu_p_T, + graded=graded, + narrowed=narrowed, + )) + offset += layer.thickness_m + + if dos_band_potentials: + band_structure = fold_dos_into_transport_bands( + chi, + Eg, + masks, + [(layer.conduction_dos_300_m3, layer.valence_dos_300_m3) for layer in layer_inputs], + reference_layer=dos_fold_reference_layer([layer.role for layer in layer_inputs]), + thermal_voltage_V=V_T, + ) + else: + band_structure = BandStructure.without_dos_fold(chi, Eg) + + frozen_masks = [] + for mask in masks: + owned = np.array(mask, dtype=bool, copy=True) + owned.setflags(write=False) + frozen_masks.append(owned) + nodes = _readonly(x) + return ParameterBinding( + nodes_m=nodes, + layers=layer_inputs, + requested_temperature_K=requested, + temperature_K=T, + thermal_voltage_V=V_T, + temperature_scaling=bool(temperature_scaling), + band_grading=bool(band_grading), + dos_band_potentials=bool(dos_band_potentials), + dual_ions=bool(dual_ions), + band_structure=band_structure, + acceptor_density_m3=_readonly(N_A), + donor_density_m3=_readonly(N_D), + band_gap_narrowing_eV=_readonly(narrowing_eV), + composition_coordinate=_readonly(composition), + intrinsic_product_m6=_readonly(ni_sq), + srh_n1_m3=_readonly(n1), + srh_p1_m3=_readonly(p1), + radiative_coefficient_m3_s=_readonly(B_rad), + electron_mobility_m2_V_s=_readonly(mu_n), + hole_mobility_m2_V_s=_readonly(mu_p), + electron_diffusivity_m2_s=_readonly(D_n), + hole_diffusivity_m2_s=_readonly(D_p), + ion_diffusivity_m2_s=_readonly(D_ion), + negative_ion_diffusivity_m2_s=_readonly(D_ion_neg), + conduction_dos_m3=_readonly(N_C), + valence_dos_m3=_readonly(N_V), + thermal_velocity_m_s=_readonly(v_th), + layer_masks=tuple(frozen_masks), + layer_states=tuple(states), + inputs_sha256=_layers_digest(layer_inputs), + ) diff --git a/src/solarlab/physics/band_structure/doping_profile.py b/src/solarlab/physics/band_structure/doping_profile.py new file mode 100644 index 00000000..57990125 --- /dev/null +++ b/src/solarlab/physics/band_structure/doping_profile.py @@ -0,0 +1,141 @@ +"""Static one-dimensional dopant profiles within an electrical layer (M class). + +``N_A`` and ``N_D`` stay uniform unless a species declares a bulk asymptote. +For a profiled species the declared density is the value at the selected +layer edge and the bulk density is the deep-layer asymptote; the Gaussian +convention is + + N(d) = N_bulk + (N_edge - N_bulk) exp(-(d / L)^2), + +with ``d`` the distance from the selected edge, so ``L`` is a 1/e distance. +Ionization statistics are not part of this module. + +Validation and arithmetic are the historical ones (``perovskite_sim.physics.doping``), +including the error messages. +""" + +from __future__ import annotations + +from dataclasses import dataclass +import math + +import numpy as np + +__all__ = [ + "DOPING_EDGES", + "DOPING_SHAPES", + "DopingProfileSpec", + "doping_at_position", + "gaussian_doping_profile", + "layer_doping_profiles", +] + +DOPING_SHAPES = ("gaussian",) +DOPING_EDGES = ("front", "back") + + +@dataclass(frozen=True, slots=True) +class DopingProfileSpec: + """A layer's dopant declaration [m^-3]; edge densities double as uniform values.""" + + acceptor_density_m3: float + donor_density_m3: float + acceptor_bulk_density_m3: float | None = None + donor_bulk_density_m3: float | None = None + shape: str | None = None + decay_length_m: float | None = None + edge: str = "front" + + def __post_init__(self) -> None: + if not self.profiled: + if self.shape is not None or self.decay_length_m is not None: + raise ValueError("doping profile shape/decay length requires N_A_bulk or N_D_bulk") + return + if self.shape not in DOPING_SHAPES: + raise ValueError(f"doping_profile_shape must be one of {DOPING_SHAPES}, got {self.shape!r}") + if str(self.edge) not in DOPING_EDGES: + raise ValueError(f"doping_edge must be one of {DOPING_EDGES}, got {str(self.edge)!r}") + try: + length = float(self.decay_length_m) # type: ignore[arg-type] + except (TypeError, ValueError) as exc: + raise ValueError("doping_decay_length must be finite and positive") from exc + if not math.isfinite(length) or length <= 0.0: + raise ValueError("doping_decay_length must be finite and positive") + for name, value in ( + ("N_A", self.acceptor_density_m3), + ("N_D", self.donor_density_m3), + ("N_A_bulk", self.acceptor_bulk_density_m3), + ("N_D_bulk", self.donor_bulk_density_m3), + ): + if value is None: + continue + number = float(value) + if not math.isfinite(number) or number < 0.0: + raise ValueError(f"{name} must be finite and non-negative") + + @property + def profiled(self) -> bool: + """Whether either species has a bulk asymptote (historical presence rule).""" + + return self.acceptor_bulk_density_m3 is not None or self.donor_bulk_density_m3 is not None + + +def gaussian_doping_profile( + x_local: np.ndarray, + thickness: float, + edge_density: float, + bulk_density: float, + decay_length: float, + *, + edge: str, +) -> np.ndarray: + """One Gaussian dopant species on local layer coordinates [m^-3].""" + + positions = np.asarray(x_local, dtype=float) + if edge == "front": + distance = positions + elif edge == "back": + distance = float(thickness) - positions + else: + raise ValueError(f"doping edge must be one of {DOPING_EDGES}, got {edge!r}") + kernel = np.exp(-((distance / float(decay_length)) ** 2)) + return float(bulk_density) + (float(edge_density) - float(bulk_density)) * kernel + + +def layer_doping_profiles( + x_local: np.ndarray, thickness: float, spec: DopingProfileSpec +) -> tuple[np.ndarray, np.ndarray]: + """Per-node ``(N_A, N_D)`` [m^-3] of one layer.""" + + positions = np.asarray(x_local, dtype=float) + acceptors = np.full_like(positions, float(spec.acceptor_density_m3)) + donors = np.full_like(positions, float(spec.donor_density_m3)) + if not spec.profiled: + return acceptors, donors + assert spec.decay_length_m is not None + if spec.acceptor_bulk_density_m3 is not None: + acceptors = gaussian_doping_profile( + positions, + float(thickness), + float(spec.acceptor_density_m3), + float(spec.acceptor_bulk_density_m3), + float(spec.decay_length_m), + edge=str(spec.edge), + ) + if spec.donor_bulk_density_m3 is not None: + donors = gaussian_doping_profile( + positions, + float(thickness), + float(spec.donor_density_m3), + float(spec.donor_bulk_density_m3), + float(spec.decay_length_m), + edge=str(spec.edge), + ) + return acceptors, donors + + +def doping_at_position(spec: DopingProfileSpec, position: float, thickness: float) -> tuple[float, float]: + """Scalar ``(N_A, N_D)`` at one layer position [m^-3].""" + + acceptors, donors = layer_doping_profiles(np.asarray([float(position)]), float(thickness), spec) + return float(acceptors[0]), float(donors[0]) diff --git a/src/solarlab/physics/band_structure/grading.py b/src/solarlab/physics/band_structure/grading.py new file mode 100644 index 00000000..08c62e25 --- /dev/null +++ b/src/solarlab/physics/band_structure/grading.py @@ -0,0 +1,165 @@ +"""Continuous composition grading within one layer (M class). + +SCAPS material-driven grading (Burgelman & Marlein, 23rd EU PVSEC 2008): a +graded layer mixes material A (front face, the layer's scalar ``chi``/``Eg``) +and material B (back face, ``chi_back``/``Eg_back``) with composition +``y(x) in [0, 1]``. The material laws are + +* ``Eg(y) = (1-y) Eg_A + y Eg_B - b y (1-y)`` (bowing ``b``) +* ``chi(y) = (1-y) chi_A + y chi_B`` (Vegard) + +and the Eg-derived statistics are anchored to the FRONT value through the +DOS law, ``ni^2(x) = ni_A^2 exp(-(Eg(x) - Eg_A)/V_T)`` and +``n1, p1 *= exp(-(Eg(x) - Eg_A)/2V_T)`` (trap level fixed relative to +midgap), so ``n1 p1 = ni^2`` holds node by node. Grading is a static +coefficient transform; it never sees the state. + +Flat grades are exact identities: equal endpoints (and zero bowing) return a +constant front array, never ``(1-y) E + y E`` with its interior rounding. + +All arithmetic is the historical one (``perovskite_sim.physics.grading``). +""" + +from __future__ import annotations + +from dataclasses import dataclass +import math +from typing import Literal + +import numpy as np + +__all__ = [ + "GRADING_DIRECTIONS", + "GRADING_PROFILES", + "GradingSpec", + "affinity_profile", + "band_gap_profile", + "grade_n1_p1", + "grade_ni_sq", + "grading_coordinate", + "minimum_band_gap_eV", +] + +GRADING_PROFILES = ("linear", "parabolic", "exponential") +GRADING_DIRECTIONS = ("front_to_back", "back_to_front") +GradingProfile = Literal["linear", "parabolic", "exponential"] +GradingDirection = Literal["front_to_back", "back_to_front"] + + +def grading_coordinate( + x_local: np.ndarray, + thickness: float, + profile: str = "linear", + char_length: float | None = None, + direction: str = "front_to_back", +) -> np.ndarray: + """Composition coordinate ``y(x) in [0, 1]`` across one layer. + + ``x_local`` is measured from the layer's front face [m]. ``linear`` gives + ``y = s``, ``parabolic`` ``y = s^2`` and ``exponential`` the Burgelman + notch ``(1 - e^{-x/L}) / (1 - e^{-d/L})`` (linear when ``L`` is unset or + non-positive), with ``s = clip(x/d, 0, 1)``; ``back_to_front`` flips ``y``. + """ + + s = np.clip(x_local / thickness, 0.0, 1.0) + if profile == "parabolic": + y = s * s + elif profile == "exponential": + if char_length is None or char_length <= 0.0: + y = s + else: + L = char_length + denom = 1.0 - np.exp(-thickness / L) + if denom == 0.0: + y = s + else: + y = (1.0 - np.exp(-x_local / L)) / denom + y = np.clip(y, 0.0, 1.0) + else: + y = s + if direction == "back_to_front": + y = 1.0 - y + return y + + +def band_gap_profile(y: np.ndarray, Eg_front: float, Eg_back: float, bowing: float = 0.0) -> np.ndarray: + """``Eg(y) = (1-y) Eg_A + y Eg_B - b y (1-y)``; flat grades are exact.""" + + if Eg_front == Eg_back and bowing == 0.0: + return np.full_like(y, float(Eg_front)) + return (1.0 - y) * Eg_front + y * Eg_back - bowing * y * (1.0 - y) + + +def minimum_band_gap_eV(Eg_front: float, Eg_back: float | None = None, bowing: float = 0.0) -> float: + """Exact minimum of the graded gap over ``y in [0, 1]``.""" + + front = float(Eg_front) + back = front if Eg_back is None else float(Eg_back) + curve = float(bowing) + candidates = [front, back] + if curve > 0.0: + stationary = (front + curve - back) / (2.0 * curve) + if 0.0 < stationary < 1.0: + candidates.append(float(band_gap_profile(np.asarray([stationary]), front, back, curve)[0])) + return min(candidates) + + +def affinity_profile(y: np.ndarray, chi_front: float, chi_back: float) -> np.ndarray: + """``chi(y) = (1-y) chi_A + y chi_B``; flat grades are exact.""" + + if chi_front == chi_back: + return np.full_like(y, float(chi_front)) + return (1.0 - y) * chi_front + y * chi_back + + +def grade_ni_sq(ni_front_sq: float, Eg_node: np.ndarray, Eg_front: float, V_T: float) -> np.ndarray: + """``ni^2(x) = ni_A^2 exp(-(Eg(x) - Eg_A)/V_T)`` (exact where ``Eg = Eg_A``).""" + + return ni_front_sq * np.exp(-(Eg_node - Eg_front) / V_T) + + +def grade_n1_p1( + n1_front: float, p1_front: float, Eg_node: np.ndarray, Eg_front: float, V_T: float +) -> tuple[np.ndarray, np.ndarray]: + """``(n1(x), p1(x))``, both scaled by ``exp(-(Eg(x) - Eg_A)/2V_T)``.""" + + r = np.exp(-(Eg_node - Eg_front) / (2.0 * V_T)) + return n1_front * r, p1_front * r + + +@dataclass(frozen=True, slots=True) +class GradingSpec: + """A layer's grading declaration: back endpoints and the composition path. + + A layer is graded iff ``band_gap_back_eV`` or ``electron_affinity_back_eV`` + is set (the historical presence rule); a missing endpoint is flat. + Unknown profile or direction names are rejected here, never read as linear. + """ + + band_gap_back_eV: float | None = None + electron_affinity_back_eV: float | None = None + profile: GradingProfile = "linear" + direction: GradingDirection = "front_to_back" + bowing_eV: float = 0.0 + characteristic_length_m: float | None = None + + def __post_init__(self) -> None: + if self.profile not in GRADING_PROFILES: + raise ValueError(f"grading profile must be one of {GRADING_PROFILES}, got {self.profile!r}") + if self.direction not in GRADING_DIRECTIONS: + raise ValueError(f"grading direction must be one of {GRADING_DIRECTIONS}, got {self.direction!r}") + for name in ("band_gap_back_eV", "electron_affinity_back_eV", "characteristic_length_m"): + value = getattr(self, name) + if value is not None and (isinstance(value, bool) or not math.isfinite(float(value))): + raise ValueError(f"{name} must be finite when set") + if isinstance(self.bowing_eV, bool) or not math.isfinite(float(self.bowing_eV)): + raise ValueError("bowing_eV must be finite") + + @property + def graded(self) -> bool: + return self.band_gap_back_eV is not None or self.electron_affinity_back_eV is not None + + def coordinate(self, x_local_m: np.ndarray, thickness_m: float) -> np.ndarray: + return grading_coordinate( + x_local_m, thickness_m, self.profile, self.characteristic_length_m, self.direction + ) diff --git a/src/solarlab/physics/band_structure/narrowing.py b/src/solarlab/physics/band_structure/narrowing.py new file mode 100644 index 00000000..cf338496 --- /dev/null +++ b/src/solarlab/physics/band_structure/narrowing.py @@ -0,0 +1,222 @@ +"""Doping-dependent band-gap narrowing of the physical band edges (M class). + +Slotboom's empirical law gives ``Delta Eg`` from the total dopant density; +a fraction ``f`` lowers the conduction edge (raises the effective electron +affinity by ``f Delta Eg``) and the rest raises the valence edge. The +intrinsic product and the SRH reference densities follow the narrowed gap +(``ni^2 exp(Delta Eg / V_T)``, ``n1, p1 exp(Delta Eg / 2 V_T)``), which keeps +``n1 p1 = ni^2`` when it held before narrowing. The narrowing is static: it +depends on the resolved dopant profile, never on the state. + +All arithmetic is the historical one (``perovskite_sim.physics.band_gap_narrowing`` +and the material build's scale factors). +""" + +from __future__ import annotations + +from dataclasses import dataclass +import math +from typing import Literal + +import numpy as np + +__all__ = [ + "BAND_GAP_NARROWING_OFF", + "BandGapNarrowingModel", + "BandGapNarrowingSpec", + "BandGapNarrowingState", + "SLOTBOOM", + "apply_band_gap_narrowing", + "intrinsic_product_narrowing_scale", + "normalize_band_gap_narrowing_model", + "slotboom_band_gap_narrowing", + "srh_reference_narrowing_scale", +] + +BAND_GAP_NARROWING_OFF = "off" +SLOTBOOM = "slotboom" +BandGapNarrowingModel = Literal["off", "slotboom"] + +_DEFAULT_REFERENCE_ENERGY_EV = 0.009 +_DEFAULT_REFERENCE_DENSITY_M3 = 1.0e23 +_DEFAULT_LOG_SHAPE = 0.5 +_DEFAULT_CONDUCTION_FRACTION = 0.5 + + +@dataclass(frozen=True, slots=True) +class BandGapNarrowingState: + """One static doping-dependent band-edge transformation.""" + + model: BandGapNarrowingModel + total_dopant_density_m3: float + narrowing_eV: float + conduction_band_fraction: float + conduction_band_shift_eV: float + valence_band_shift_eV: float + effective_electron_affinity_eV: float + effective_band_gap_eV: float + + +def normalize_band_gap_narrowing_model(value: object) -> BandGapNarrowingModel: + """Return one supported BGN identifier or fail closed.""" + + if not isinstance(value, str): + raise ValueError("band-gap narrowing model must be a string") + normalized = value.strip().lower() + if normalized not in {BAND_GAP_NARROWING_OFF, SLOTBOOM}: + raise ValueError("band-gap narrowing model must be 'off' or 'slotboom'") + return normalized # type: ignore[return-value] + + +def _finite_positive(value: float, name: str) -> float: + number = float(value) + if not math.isfinite(number) or number <= 0.0: + raise ValueError(f"{name} must be finite and positive") + return number + + +def _finite_nonnegative(value: float, name: str) -> float: + number = float(value) + if not math.isfinite(number) or number < 0.0: + raise ValueError(f"{name} must be finite and non-negative") + return number + + +def slotboom_band_gap_narrowing( + total_dopant_density_m3: float, + *, + reference_energy_eV: float = _DEFAULT_REFERENCE_ENERGY_EV, + reference_density_m3: float = _DEFAULT_REFERENCE_DENSITY_M3, + log_shape: float = _DEFAULT_LOG_SHAPE, +) -> float: + """Slotboom ``Delta Eg = E_ref (ln(N/N_ref) + sqrt(ln^2 + C))`` [eV]. + + The negative-log branch uses the conjugate form ``C / (root - ln)`` so the + small positive narrowing survives for ``N << N_ref``. + """ + + density = _finite_nonnegative(total_dopant_density_m3, "total_dopant_density_m3") + energy = _finite_positive(reference_energy_eV, "reference_energy_eV") + reference = _finite_positive(reference_density_m3, "reference_density_m3") + shape = _finite_positive(log_shape, "log_shape") + if density == 0.0: + return 0.0 + logarithm = math.log(density) - math.log(reference) + root = math.hypot(logarithm, math.sqrt(shape)) + slotboom_factor = logarithm + root if logarithm >= 0.0 else shape / (root - logarithm) + narrowing = energy * slotboom_factor + if not math.isfinite(narrowing) or narrowing < 0.0: + raise FloatingPointError("Slotboom band-gap narrowing is non-finite") + return narrowing + + +def apply_band_gap_narrowing( + *, + electron_affinity_eV: float, + band_gap_eV: float, + acceptor_density_m3: float, + donor_density_m3: float, + model: BandGapNarrowingModel | str = BAND_GAP_NARROWING_OFF, + reference_energy_eV: float = _DEFAULT_REFERENCE_ENERGY_EV, + reference_density_m3: float = _DEFAULT_REFERENCE_DENSITY_M3, + log_shape: float = _DEFAULT_LOG_SHAPE, + conduction_band_fraction: float = _DEFAULT_CONDUCTION_FRACTION, +) -> BandGapNarrowingState: + """Apply one BGN law to the physical conduction and valence edges.""" + + affinity = _finite_nonnegative(electron_affinity_eV, "electron_affinity_eV") + gap = _finite_positive(band_gap_eV, "band_gap_eV") + acceptors = _finite_nonnegative(acceptor_density_m3, "acceptor_density_m3") + donors = _finite_nonnegative(donor_density_m3, "donor_density_m3") + total_dopants = _finite_nonnegative(acceptors + donors, "total_dopant_density_m3") + narrowing_model = normalize_band_gap_narrowing_model(model) + fraction = float(conduction_band_fraction) + if not math.isfinite(fraction) or not 0.0 <= fraction <= 1.0: + raise ValueError("conduction_band_fraction must be finite and in [0, 1]") + if narrowing_model == BAND_GAP_NARROWING_OFF: + if ( + reference_energy_eV != _DEFAULT_REFERENCE_ENERGY_EV + or reference_density_m3 != _DEFAULT_REFERENCE_DENSITY_M3 + or log_shape != _DEFAULT_LOG_SHAPE + or fraction != _DEFAULT_CONDUCTION_FRACTION + ): + raise ValueError("BGN parameters require band-gap narrowing model 'slotboom'") + narrowing = 0.0 + else: + narrowing = slotboom_band_gap_narrowing( + total_dopants, + reference_energy_eV=reference_energy_eV, + reference_density_m3=reference_density_m3, + log_shape=log_shape, + ) + if narrowing >= gap: + raise ValueError("band-gap narrowing must remain smaller than the base gap") + conduction_shift = fraction * narrowing + valence_shift = (1.0 - fraction) * narrowing + return BandGapNarrowingState( + model=narrowing_model, + total_dopant_density_m3=total_dopants, + narrowing_eV=narrowing, + conduction_band_fraction=fraction, + conduction_band_shift_eV=conduction_shift, + valence_band_shift_eV=valence_shift, + effective_electron_affinity_eV=affinity + conduction_shift, + effective_band_gap_eV=gap - narrowing, + ) + + +@dataclass(frozen=True, slots=True) +class BandGapNarrowingSpec: + """A layer's resolved BGN declaration (defaults are the 'off' sentinel).""" + + model: str = BAND_GAP_NARROWING_OFF + reference_energy_eV: float = _DEFAULT_REFERENCE_ENERGY_EV + reference_density_m3: float = _DEFAULT_REFERENCE_DENSITY_M3 + log_shape: float = _DEFAULT_LOG_SHAPE + conduction_band_fraction: float = _DEFAULT_CONDUCTION_FRACTION + + def __post_init__(self) -> None: + object.__setattr__(self, "model", normalize_band_gap_narrowing_model(self.model)) + if self.model == BAND_GAP_NARROWING_OFF and ( + self.reference_energy_eV != _DEFAULT_REFERENCE_ENERGY_EV + or self.reference_density_m3 != _DEFAULT_REFERENCE_DENSITY_M3 + or self.log_shape != _DEFAULT_LOG_SHAPE + or self.conduction_band_fraction != _DEFAULT_CONDUCTION_FRACTION + ): + raise ValueError("BGN parameters require band-gap narrowing model 'slotboom'") + + @property + def active(self) -> bool: + return self.model != BAND_GAP_NARROWING_OFF + + def apply(self, electron_affinity_eV: float, band_gap_eV: float, + acceptor_density_m3: float, donor_density_m3: float) -> BandGapNarrowingState: + return apply_band_gap_narrowing( + electron_affinity_eV=float(electron_affinity_eV), + band_gap_eV=float(band_gap_eV), + acceptor_density_m3=float(acceptor_density_m3), + donor_density_m3=float(donor_density_m3), + model=self.model, + reference_energy_eV=float(self.reference_energy_eV), + reference_density_m3=float(self.reference_density_m3), + log_shape=float(self.log_shape), + conduction_band_fraction=float(self.conduction_band_fraction), + ) + + +def intrinsic_product_narrowing_scale(narrowing_eV: np.ndarray, thermal_voltage_V: float) -> np.ndarray: + """``exp(Delta Eg / V_T)`` applied to ``ni^2`` on narrowed nodes.""" + + scale = np.exp(narrowing_eV / thermal_voltage_V) + if not np.all(np.isfinite(scale)): + raise FloatingPointError("band-gap narrowing intrinsic-product scale is non-finite") + return scale + + +def srh_reference_narrowing_scale(narrowing_eV: np.ndarray, thermal_voltage_V: float) -> np.ndarray: + """``exp(Delta Eg / 2 V_T)`` applied to each SRH reference density.""" + + scale = np.exp(0.5 * narrowing_eV / thermal_voltage_V) + if not np.all(np.isfinite(scale)): + raise FloatingPointError("band-gap narrowing SRH-reference scale is non-finite") + return scale diff --git a/src/solarlab/physics/band_structure/sensitivity.py b/src/solarlab/physics/band_structure/sensitivity.py new file mode 100644 index 00000000..f4501c58 --- /dev/null +++ b/src/solarlab/physics/band_structure/sensitivity.py @@ -0,0 +1,401 @@ +"""Temperature and composition tangents of the parameter laws (N class). + +The historical engine evaluates the laws only; these analytic tangents are +new. They differentiate the SAME expressions the M-class value laws +evaluate (``temperature``, ``grading``, ``narrowing``, ``binding``): + +* ``dV_T/dT = k_B/q``; ``N(T)``: ``1.5 N/T``; ``v_th``: ``0.5 v/T``; + ``mu``: ``gamma mu/T``; ``B``: ``gamma B/T``; + ``D_ion``: ``D E_a q / (k_B T^2)``; +* Varshni: ``dEg/dT = -alpha T (T + 2 beta) / (T + beta)^2``; +* intrinsic density: ``d ln ni / dT |_Eg = 3/(2T) + Eg q / (2 k_B T^2)`` on + both branches, ``d ln ni / dEg = -q/(2 k_B T)`` (DOS branch) or + ``-q/(2 k_B) (1/T - 1/300)`` (scaled branch); +* grading: ``dEg/dy = Eg_B - Eg_A - b (1 - 2y)``, ``dchi/dy = chi_B - chi_A``; +* DOS fold: ``d(chi_t - chi)/dT = (chi_t - chi)/T`` (the fold is V_T times + a temperature-independent logarithm). + +Reference-temperature caveat (kept, not repaired): with both DOS declared +the intrinsic density returns the DECLARED ``ni_300`` at exactly 300 K but +the DOS formula elsewhere, so it jumps at 300 K whenever the declaration is +not mass-action consistent. ``intrinsic_density_reference_jump`` measures +the jump; the tangent at 300 K is the formula's one-sided limit, and +:func:`require_continuous_reference` refuses it when the jump is not zero. + +These tangents are DC/parameter sensitivities. Using them as explicit +time-domain input derivatives for an externally driven T(t) is P04-B. +""" + +from __future__ import annotations + +from dataclasses import dataclass +from typing import Any + +import numpy as np + +from solarlab.physics.band_structure.binding import ParameterBinding, TemperatureCapabilityError +from solarlab.physics.band_structure.temperature import T_REF, intrinsic_density_at_temperature +from solarlab.physics.statistics.thermal import BOLTZMANN_CONSTANT_J_K as K_B +from solarlab.physics.statistics.thermal import ELEMENTARY_CHARGE_C as Q + +__all__ = [ + "BindingTemperatureSensitivity", + "affinity_composition_derivative", + "band_edge_dos_temperature_derivative", + "band_gap_at_reference", + "band_gap_composition_derivative", + "band_gap_temperature_derivative", + "binding_temperature_sensitivity", + "grading_coordinate_slope", + "grading_position", + "intrinsic_density_reference_jump", + "intrinsic_density_temperature_partials", + "ion_diffusivity_temperature_derivative", + "mobility_temperature_derivative", + "radiative_coefficient_temperature_derivative", + "require_continuous_reference", + "thermal_velocity_temperature_derivative", + "thermal_voltage_temperature_derivative", +] + + +def thermal_voltage_temperature_derivative() -> float: + """``dV_T/dT = k_B/q`` [V K^-1].""" + + return K_B / Q + + +def band_edge_dos_temperature_derivative(dos_300_m3: float, temperature_K: float) -> float: + """``d/dT [N_300 (T/300)^1.5] = 1.5 N(T)/T`` [m^-3 K^-1].""" + + return 1.5 * float(dos_300_m3) * (temperature_K / T_REF) ** 1.5 / temperature_K + + +def thermal_velocity_temperature_derivative(velocity_300_m_s: float, temperature_K: float) -> float: + """``d/dT [v_300 (T/300)^0.5] = 0.5 v(T)/T``.""" + + return 0.5 * float(velocity_300_m_s) * (temperature_K / T_REF) ** 0.5 / temperature_K + + +def mobility_temperature_derivative(mobility_300: float, temperature_K: float, exponent: float = -1.5) -> float: + """``d/dT [mu_300 (T/300)^gamma] = gamma mu(T)/T``.""" + + return exponent * mobility_300 * (temperature_K / T_REF) ** exponent / temperature_K + + +def radiative_coefficient_temperature_derivative( + coefficient_300_m3_s: float, temperature_K: float, exponent: float = 0.0 +) -> float: + """``gamma B(T)/T``; exactly zero when the law is disabled.""" + + if coefficient_300_m3_s == 0.0 or exponent == 0.0: + return 0.0 + return exponent * coefficient_300_m3_s * (temperature_K / T_REF) ** exponent / temperature_K + + +def ion_diffusivity_temperature_derivative( + diffusivity_300_m2_s: float, temperature_K: float, activation_energy_eV: float +) -> float: + """``D(T) E_a q / (k_B T^2)``; exactly zero for a zero diffusivity.""" + + if diffusivity_300_m2_s == 0.0: + return 0.0 + T = temperature_K + value = diffusivity_300_m2_s * np.exp(-activation_energy_eV * Q / K_B * (1.0 / T - 1.0 / T_REF)) + return float(value * activation_energy_eV * Q / (K_B * T * T)) + + +def band_gap_temperature_derivative( + temperature_K: float, varshni_alpha_eV_K: float = 0.0, varshni_beta_K: float = 0.0 +) -> float: + """``dEg/dT = -alpha T (T + 2 beta) / (T + beta)^2`` [eV K^-1]. + + Zero when the shift is disabled (``alpha = 0``) or degenerate at the + reference (``300 + beta = 0``, where the value law is the constant + ``Eg_300``); undefined at the pole ``T + beta = 0``. + """ + + if varshni_alpha_eV_K == 0.0 or T_REF + varshni_beta_K == 0.0: + return 0.0 + denominator = temperature_K + varshni_beta_K + if denominator == 0.0: + raise TemperatureCapabilityError("the Varshni band gap has no derivative at T = -beta") + return -varshni_alpha_eV_K * temperature_K * (temperature_K + 2.0 * varshni_beta_K) / (denominator * denominator) + + +def intrinsic_density_temperature_partials( + ni_300_m3: float, + band_gap_eV: float, + temperature_K: float, + conduction_dos_300_m3: float | None = None, + valence_dos_300_m3: float | None = None, +) -> tuple[float, float, float]: + """``(ni, dni/dT|_Eg, dni/dEg|_T)`` of the formula branch at ``T``. + + At exactly 300 K the formula branch is evaluated (its one-sided limit), + which differs from the declared ``ni_300`` by the reference jump. + """ + + T = temperature_K + if conduction_dos_300_m3 is not None and valence_dos_300_m3 is not None: + ratio = T / T_REF + Nc_T = conduction_dos_300_m3 * ratio**1.5 + Nv_T = valence_dos_300_m3 * ratio**1.5 + ni = float(np.sqrt(Nc_T * Nv_T) * np.exp(-band_gap_eV * Q / (2.0 * K_B * T))) + d_eg = -ni * Q / (2.0 * K_B * T) + else: + ni = float(ni_300_m3 * (T / T_REF) ** 1.5 * np.exp(-band_gap_eV * Q / (2.0 * K_B) * (1.0 / T - 1.0 / T_REF))) + d_eg = -ni * Q / (2.0 * K_B) * (1.0 / T - 1.0 / T_REF) + d_t = ni * (1.5 / T + band_gap_eV * Q / (2.0 * K_B * T * T)) + return ni, d_t, d_eg + + +def intrinsic_density_reference_jump( + ni_300_m3: float, + band_gap_300_eV: float, + conduction_dos_300_m3: float | None = None, + valence_dos_300_m3: float | None = None, +) -> float: + """Formula value at 300 K minus the declared ``ni_300`` (0 when consistent).""" + + formula, _, _ = intrinsic_density_temperature_partials( + ni_300_m3, band_gap_300_eV, T_REF, conduction_dos_300_m3, valence_dos_300_m3 + ) + return formula - float(intrinsic_density_at_temperature(ni_300_m3, band_gap_300_eV, T_REF)) + + +def require_continuous_reference( + ni_300_m3: float, + band_gap_300_eV: float, + conduction_dos_300_m3: float | None = None, + valence_dos_300_m3: float | None = None, + *, + relative_tolerance: float = 1.0e-12, +) -> None: + """Refuse a 300 K temperature tangent across a discontinuous ``ni(T)``. + + The default tolerance only absorbs the round-off of evaluating the DOS + formula; a declared ``ni_300`` that differs from it by more is a jump. + """ + + jump = intrinsic_density_reference_jump(ni_300_m3, band_gap_300_eV, conduction_dos_300_m3, valence_dos_300_m3) + if abs(jump) > relative_tolerance * abs(ni_300_m3): + raise TemperatureCapabilityError( + f"ni(T) is discontinuous at 300 K (declared ni_300={ni_300_m3!r}, DOS formula " + f"differs by {jump!r} m^-3); its temperature derivative at the reference is undefined" + ) + + +def band_gap_at_reference( + band_gap_eV: float, temperature_K: float, varshni_alpha_eV_K: float = 0.0, varshni_beta_K: float = 0.0 +) -> float: + """Inverse Varshni map: the 300 K gap whose shift gives ``band_gap_eV`` at ``T``.""" + + T = temperature_K + if T == T_REF or varshni_alpha_eV_K == 0.0: + return band_gap_eV + denom_T = T + varshni_beta_K + denom_ref = T_REF + varshni_beta_K + if denom_T == 0.0 or denom_ref == 0.0: + return band_gap_eV + return float(band_gap_eV + varshni_alpha_eV_K * (T * T / denom_T - T_REF * T_REF / denom_ref)) + + +def grading_position( + y: np.ndarray, + thickness_m: float, + profile: str = "linear", + char_length_m: float | None = None, + direction: str = "front_to_back", +) -> np.ndarray: + """Inverse of ``grading_coordinate``: the local position [m] of composition ``y``.""" + + composition = np.asarray(y, dtype=float) + if not np.all(np.isfinite(composition)) or np.any(composition < 0.0) or np.any(composition > 1.0): + raise ValueError("composition must lie in [0, 1]") + u = 1.0 - composition if direction == "back_to_front" else composition + if profile == "parabolic": + return np.sqrt(u) * thickness_m + if profile == "exponential" and char_length_m is not None and char_length_m > 0.0: + ratio = thickness_m / char_length_m + denom = -np.expm1(-ratio) + if denom != 0.0: + # 1-u+u*exp(-ratio) retains the exact back endpoint even when + # 1-exp(-ratio) rounds to one. log1p is more accurate near u=0. + with np.errstate(divide="ignore"): + if direction == "back_to_front": + # Preserve a small supplied y; forming 1-y first can round + # to one and lose a physically meaningful interior point. + log_remaining = np.logaddexp(np.log(composition), np.log1p(-composition) - ratio) + else: + log_remaining = np.logaddexp(np.log1p(-composition), np.log(composition) - ratio) + log_remaining = np.where(u < 0.5, np.log1p(-u * denom), log_remaining) + position = -char_length_m * log_remaining + endpoint = composition == (0.0 if direction == "back_to_front" else 1.0) + return np.where(endpoint, thickness_m, position) + return u * thickness_m + + +def grading_coordinate_slope( + x_local_m: np.ndarray, + thickness_m: float, + profile: str = "linear", + char_length_m: float | None = None, + direction: str = "front_to_back", +) -> np.ndarray: + """``dy/dx`` [m^-1] inside the layer (the clip to [0, 1] is inactive there).""" + + x = np.asarray(x_local_m, dtype=float) + if profile == "parabolic": + slope = 2.0 * x / (thickness_m * thickness_m) + elif profile == "exponential" and char_length_m is not None and char_length_m > 0.0 and ( + 1.0 - np.exp(-thickness_m / char_length_m) + ) != 0.0: + slope = np.exp(-x / char_length_m) / (char_length_m * (1.0 - np.exp(-thickness_m / char_length_m))) + else: + slope = np.full_like(x, 1.0 / thickness_m) + return -slope if direction == "back_to_front" else slope + + +def band_gap_composition_derivative( + y: np.ndarray, band_gap_front_eV: float, band_gap_back_eV: float, bowing_eV: float = 0.0 +) -> np.ndarray: + """``dEg/dy = Eg_B - Eg_A - b (1 - 2y)``; exactly zero on a flat grade.""" + + composition = np.asarray(y, dtype=float) + if band_gap_front_eV == band_gap_back_eV and bowing_eV == 0.0: + return np.zeros_like(composition) + return (band_gap_back_eV - band_gap_front_eV) - bowing_eV * (1.0 - 2.0 * composition) + + +def affinity_composition_derivative(y: np.ndarray, chi_front_eV: float, chi_back_eV: float) -> np.ndarray: + """``dchi/dy = chi_B - chi_A`` (Vegard).""" + + return np.full_like(np.asarray(y, dtype=float), float(chi_back_eV) - float(chi_front_eV)) + + +@dataclass(frozen=True) +class BindingTemperatureSensitivity: + """Node-wise ``d(parameter)/dT`` of one binding at its temperature [unit K^-1]. + + All zero, with ``temperature_dependent=False``, when the binding was + compiled with temperature scaling off (every law is then frozen at 300 K). + """ + + temperature_K: float + temperature_dependent: bool + thermal_voltage_V_K: float + physical_band_gap_eV_K: np.ndarray + physical_electron_affinity_eV_K: np.ndarray + transport_band_gap_eV_K: np.ndarray + transport_electron_affinity_eV_K: np.ndarray + intrinsic_product_m6_K: np.ndarray + srh_n1_m3_K: np.ndarray + srh_p1_m3_K: np.ndarray + radiative_coefficient_m3_s_K: np.ndarray + electron_mobility_K: np.ndarray + hole_mobility_K: np.ndarray + electron_diffusivity_K: np.ndarray + hole_diffusivity_K: np.ndarray + ion_diffusivity_K: np.ndarray + negative_ion_diffusivity_K: np.ndarray + conduction_dos_m3_K: np.ndarray + valence_dos_m3_K: np.ndarray + thermal_velocity_K: np.ndarray + time_domain_qualified: bool = False + + +def binding_temperature_sensitivity(binding: ParameterBinding) -> BindingTemperatureSensitivity: + """Analytic ``d/dT`` of every temperature-dependent node parameter. + + Refused at exactly 300 K for a layer whose ``ni(T)`` jumps there. + """ + + N = binding.node_count + zeros = np.zeros(N) + names = ( + "physical_band_gap_eV_K", "physical_electron_affinity_eV_K", "transport_band_gap_eV_K", + "transport_electron_affinity_eV_K", "intrinsic_product_m6_K", "srh_n1_m3_K", "srh_p1_m3_K", + "radiative_coefficient_m3_s_K", "electron_mobility_K", "hole_mobility_K", "electron_diffusivity_K", + "hole_diffusivity_K", "ion_diffusivity_K", "negative_ion_diffusivity_K", "conduction_dos_m3_K", + "valence_dos_m3_K", "thermal_velocity_K", + ) + if not binding.temperature_scaling: + frozen: dict[str, Any] = {name: zeros.copy() for name in names} + return BindingTemperatureSensitivity(binding.temperature_K, False, 0.0, **frozen) + T = binding.temperature_K + V_T = binding.thermal_voltage_V + dV_T = thermal_voltage_temperature_derivative() + out: dict[str, Any] = {name: np.zeros(N) for name in names} + band = binding.band_structure + for layer, mask, state in zip(binding.layers, binding.layer_masks, binding.layer_states): + laws = layer.temperature_laws + if T == T_REF: + require_continuous_reference( + layer.intrinsic_density_m3, layer.band_gap_eV, layer.conduction_dos_300_m3, layer.valence_dos_300_m3 + ) + # One Varshni law shifts both grading endpoints alike and narrowing + # has no temperature law, so dEg/dT is the front-endpoint slope on + # every node of the layer and Eg(x) - Eg_T is temperature independent. + dEg_front = band_gap_temperature_derivative(T, laws.varshni_alpha_eV_K, laws.varshni_beta_K) + out["physical_band_gap_eV_K"][mask] = dEg_front + offset_eV = binding.band_structure.physical_band_gap_eV[mask] - state.band_gap_front_eV + + ni_T, dni_dT, dni_dEg = intrinsic_density_temperature_partials( + layer.intrinsic_density_m3, state.band_gap_front_eV, T, + layer.conduction_dos_300_m3, layer.valence_dos_300_m3, + ) + dni_total = dni_dT + dni_dEg * dEg_front + ni_sq = binding.intrinsic_product_m6[mask] + # ln ni^2 = 2 ln ni_T - (Eg(x) - Eg_T)/V_T [graded] + dEg_BGN/V_T [narrowed, ungraded] + d_ln_ni_sq = np.full(ni_sq.shape, 2.0 * dni_total / ni_T if ni_T != 0.0 else 0.0) + if state.graded: + d_ln_ni_sq = d_ln_ni_sq + offset_eV * dV_T / (V_T * V_T) + elif state.narrowed: + d_ln_ni_sq = d_ln_ni_sq - binding.band_gap_narrowing_eV[mask] * dV_T / (V_T * V_T) + out["intrinsic_product_m6_K"][mask] = ni_sq * d_ln_ni_sq + + d_ln_scale = dni_total / ni_T if (T != T_REF and layer.intrinsic_density_m3 > 0.0 and ni_T != 0.0) else 0.0 + if T == T_REF and layer.intrinsic_density_m3 > 0.0: + d_ln_scale = dni_total / layer.intrinsic_density_m3 + d_ln_ref = np.full(int(np.sum(mask)), d_ln_scale) + if state.graded: + d_ln_ref = d_ln_ref + 0.5 * offset_eV * dV_T / (V_T * V_T) + elif state.narrowed: + d_ln_ref = d_ln_ref - 0.5 * binding.band_gap_narrowing_eV[mask] * dV_T / (V_T * V_T) + out["srh_n1_m3_K"][mask] = binding.srh_n1_m3[mask] * d_ln_ref + out["srh_p1_m3_K"][mask] = binding.srh_p1_m3[mask] * d_ln_ref + + out["radiative_coefficient_m3_s_K"][mask] = radiative_coefficient_temperature_derivative( + layer.radiative_coefficient_m3_s, T, laws.radiative_exponent + ) + dmu_n = mobility_temperature_derivative(layer.electron_mobility_m2_V_s, T, laws.mobility_exponent) + dmu_p = mobility_temperature_derivative(layer.hole_mobility_m2_V_s, T, laws.mobility_exponent) + out["electron_mobility_K"][mask] = dmu_n + out["hole_mobility_K"][mask] = dmu_p + out["electron_diffusivity_K"][mask] = dmu_n * V_T + state.electron_mobility_m2_V_s * dV_T + out["hole_diffusivity_K"][mask] = dmu_p * V_T + state.hole_mobility_m2_V_s * dV_T + out["ion_diffusivity_K"][mask] = ion_diffusivity_temperature_derivative( + layer.ion_diffusivity_m2_s, T, laws.ion_activation_energy_eV + ) + if binding.dual_ions: + out["negative_ion_diffusivity_K"][mask] = ion_diffusivity_temperature_derivative( + layer.negative_ion_diffusivity_m2_s, T, laws.ion_activation_energy_eV + ) + out["conduction_dos_m3_K"][mask] = ( + band_edge_dos_temperature_derivative(layer.conduction_dos_300_m3, T) if layer.conduction_dos_300_m3 else np.nan + ) + out["valence_dos_m3_K"][mask] = ( + band_edge_dos_temperature_derivative(layer.valence_dos_300_m3, T) if layer.valence_dos_300_m3 else np.nan + ) + out["thermal_velocity_K"][mask] = thermal_velocity_temperature_derivative(layer.thermal_velocity_m_s, T) + + # The narrowing (eV) and the electron affinity have no temperature law. + fold_chi = band.transport_electron_affinity_eV - band.physical_electron_affinity_eV + fold_gap = band.transport_band_gap_eV - band.physical_band_gap_eV + out["transport_electron_affinity_eV_K"] = out["physical_electron_affinity_eV_K"] + fold_chi / T + out["transport_band_gap_eV_K"] = out["physical_band_gap_eV_K"] + fold_gap / T + for array in out.values(): + array.setflags(write=False) + return BindingTemperatureSensitivity(T, True, dV_T, **out) + diff --git a/src/solarlab/physics/band_structure/temperature.py b/src/solarlab/physics/band_structure/temperature.py new file mode 100644 index 00000000..e3d13044 --- /dev/null +++ b/src/solarlab/physics/band_structure/temperature.py @@ -0,0 +1,230 @@ +"""Temperature laws of the resolved material parameters (M class). + +Every law takes the parameter's value at the reference temperature +``T_REF = 300 K`` and returns its value at ``T``. The arithmetic, including +the reference-temperature short circuits and the use of NumPy versus Python +scalar operations, is the historical one, so a migrated consumer reproduces +the historical binary64 values exactly: + +* effective DOS ``N(T) = N_300 (T/300)^(3/2)`` +* intrinsic density: with both DOS, ``sqrt(Nc(T) Nv(T)) exp(-Eg q / 2kT)``; + otherwise ``ni_300 (T/300)^(3/2) exp(-Eg q / 2k (1/T - 1/300))`` +* mobility ``mu_300 (T/300)^gamma`` (default ``gamma = -1.5``) +* ion diffusivity ``D_300 exp(-E_a q/k (1/T - 1/300))`` (Arrhenius) +* radiative coefficient ``B_300 (T/300)^gamma`` (``gamma = 0`` disables it) +* band gap, Varshni referenced to 300 K: + ``Eg(T) = Eg_300 - alpha [T^2/(T+beta) - 300^2/(300+beta)]`` (``alpha = 0`` + disables it); the shift moves the valence edge only -- the electron + affinity is not temperature dependent in the historical engine +* thermal velocity ``v_300 (T/300)^(1/2)`` +* SRH reference densities ``n1, p1`` scaled by ``ni(T)/ni(300)`` (trap level + fixed relative to midgap), so ``n1 p1 = ni(T)^2`` follows from a + mass-action-consistent 300 K input. + +Reference-temperature semantics, kept on purpose: at exactly ``T_REF`` every +law returns its input unchanged. For the intrinsic density with both DOS this +is the DECLARED ``ni_300``, which need not equal the DOS formula at 300 K; the +law is then discontinuous at ``T_REF`` (see the temperature tangents). + +Terms that remain calibrated at 300 K are listed in +:data:`REFERENCE_CALIBRATED_TERMS`. They keep their 300 K values at every +temperature; giving any of them a temperature law is a new, separately +reviewed law, never an incidental change. +""" + +from __future__ import annotations + +from dataclasses import dataclass + +import numpy as np + +from solarlab.physics.statistics.thermal import ( + BOLTZMANN_CONSTANT_J_K as K_B, + ELEMENTARY_CHARGE_C as Q, + REFERENCE_TEMPERATURE_K, + REFERENCE_THERMAL_VOLTAGE_V, + thermal_voltage, +) + +__all__ = [ + "REFERENCE_CALIBRATED_TERMS", + "ReferenceCalibratedTerm", + "T_REF", + "TEMPERATURE_LAWS", + "band_edge_dos_at_temperature", + "band_gap_at_temperature", + "device_temperature", + "intrinsic_density_at_temperature", + "ion_diffusivity_at_temperature", + "mobility_at_temperature", + "radiative_coefficient_at_temperature", + "srh_reference_scale", + "thermal_velocity_at_temperature", +] + +T_REF = REFERENCE_TEMPERATURE_K + +#: Stable identities of the temperature laws a parameter binding applies. +#: A binding records this table in its identity; a new or changed law gets a +#: new identity and its own review. +TEMPERATURE_LAWS: tuple[tuple[str, str], ...] = ( + ("band_edge_dos", "dos_power_three_halves_v1"), + ("intrinsic_density", "intrinsic_density_dos_or_scaled_v1"), + ("mobility", "mobility_power_law_v1"), + ("ion_diffusivity", "ion_diffusivity_arrhenius_v1"), + ("radiative_coefficient", "radiative_power_law_v1"), + ("band_gap", "varshni_referenced_to_300k_v1"), + ("thermal_velocity", "thermal_velocity_square_root_v1"), + ("srh_reference_densities", "srh_reference_midgap_ratio_v1"), +) + + +@dataclass(frozen=True, slots=True) +class ReferenceCalibratedTerm: + """A historical term that keeps its 300 K value at every temperature.""" + + term: str + owner: str + semantics: str + + +REFERENCE_CALIBRATED_TERMS: tuple[ReferenceCalibratedTerm, ...] = ( + ReferenceCalibratedTerm( + "interface_plane_thermal_velocity", + "P04-09", + "interface_plane._DEFAULT_V_TH_MS and _S_EFF have no T^(1/2) law", + ), + ReferenceCalibratedTerm( + "qss_interface_thermal_velocity", "P04-09", "mol._QSS_V_TH_MS is a 300 K constant" + ), + ReferenceCalibratedTerm( + "steady_state_interface_state_thermal_velocity", + "P04-09", + "steady_state._IFACE_STATE_V_TH is a 300 K constant", + ), + ReferenceCalibratedTerm( + "interface_defect_reference_densities", + "P04-09/P04-10", + "per-side interface-defect n1/p1 keep a 300 K DOS prefactor", + ), +) + + +def device_temperature(temperature_K: float, *, temperature_scaling: bool) -> tuple[float, float]: + """``(T, V_T)`` the material build evaluates at. + + With temperature scaling disabled the historical engine evaluates every + law at 300 K with its module constant ``V_T``, whatever the declared + device temperature; that tier choice is explicit here, not a silent + freeze. + """ + + if temperature_scaling: + return temperature_K, thermal_voltage(temperature_K) + return T_REF, REFERENCE_THERMAL_VOLTAGE_V + + +def intrinsic_density_at_temperature( + ni_300_m3: float, + band_gap_eV: float, + temperature_K: float, + conduction_dos_300_m3: float | None = None, + valence_dos_300_m3: float | None = None, +) -> float: + """Intrinsic carrier density [m^-3] at ``T`` (historical ``ni_at_T``). + + ``band_gap_eV`` is the gap at ``T`` (already Varshni-shifted by the caller). + """ + + T = temperature_K + if T == T_REF: + return ni_300_m3 + if conduction_dos_300_m3 is not None and valence_dos_300_m3 is not None: + ratio = T / T_REF + Nc_T = conduction_dos_300_m3 * ratio**1.5 + Nv_T = valence_dos_300_m3 * ratio**1.5 + return float(np.sqrt(Nc_T * Nv_T) * np.exp(-band_gap_eV * Q / (2.0 * K_B * T))) + ratio = T / T_REF + return float( + ni_300_m3 * ratio**1.5 * np.exp(-band_gap_eV * Q / (2.0 * K_B) * (1.0 / T - 1.0 / T_REF)) + ) + + +def mobility_at_temperature(mobility_300: float, temperature_K: float, exponent: float = -1.5) -> float: + """Power-law mobility ``mu_300 (T/300)^gamma`` [m^2 V^-1 s^-1].""" + + T = temperature_K + if T == T_REF: + return mobility_300 + return float(mobility_300 * (T / T_REF) ** exponent) + + +def ion_diffusivity_at_temperature( + diffusivity_300_m2_s: float, temperature_K: float, activation_energy_eV: float +) -> float: + """Arrhenius ion diffusivity [m^2 s^-1]; a zero diffusivity stays zero.""" + + T = temperature_K + if T == T_REF or diffusivity_300_m2_s == 0.0: + return diffusivity_300_m2_s + return float( + diffusivity_300_m2_s * np.exp(-activation_energy_eV * Q / K_B * (1.0 / T - 1.0 / T_REF)) + ) + + +def radiative_coefficient_at_temperature( + coefficient_300_m3_s: float, temperature_K: float, exponent: float = 0.0 +) -> float: + """Power-law band-to-band radiative coefficient [m^3 s^-1].""" + + T = temperature_K + if T == T_REF or coefficient_300_m3_s == 0.0 or exponent == 0.0: + return coefficient_300_m3_s + return float(coefficient_300_m3_s * (T / T_REF) ** exponent) + + +def band_gap_at_temperature( + band_gap_300_eV: float, + temperature_K: float, + varshni_alpha_eV_K: float = 0.0, + varshni_beta_K: float = 0.0, +) -> float: + """Varshni band gap referenced to 300 K [eV]. + + A vanishing denominator (``T + beta = 0`` or ``300 + beta = 0``) returns + the reference gap, as historically, instead of dividing by zero. + """ + + T = temperature_K + if T == T_REF or varshni_alpha_eV_K == 0.0: + return band_gap_300_eV + denom_T = T + varshni_beta_K + denom_ref = T_REF + varshni_beta_K + if denom_T == 0.0 or denom_ref == 0.0: + return band_gap_300_eV + shift = varshni_alpha_eV_K * (T * T / denom_T - T_REF * T_REF / denom_ref) + return float(band_gap_300_eV - shift) + + +def band_edge_dos_at_temperature(dos_300_m3: float, temperature_K: float) -> float: + """Effective band-edge DOS ``N_300 (T/300)^(3/2)`` [m^-3].""" + + scale = 1.0 + if temperature_K != T_REF: + scale = (temperature_K / T_REF) ** 1.5 + return float(dos_300_m3) * scale + + +def thermal_velocity_at_temperature(velocity_300_m_s: float, temperature_K: float) -> float: + """Carrier thermal velocity ``v_300 (T/300)^(1/2)`` [m s^-1].""" + + scale = (temperature_K / T_REF) ** 0.5 if temperature_K != T_REF else 1.0 + return float(velocity_300_m_s) * scale + + +def srh_reference_scale(intrinsic_density_m3: float, ni_300_m3: float, temperature_K: float) -> float: + """Factor ``ni(T)/ni(300)`` applied to the 300 K SRH reference densities.""" + + if temperature_K != T_REF and ni_300_m3 > 0.0: + return intrinsic_density_m3 / ni_300_m3 + return 1.0 diff --git a/src/solarlab/physics/contacts/__init__.py b/src/solarlab/physics/contacts/__init__.py new file mode 100644 index 00000000..bb789f2c --- /dev/null +++ b/src/solarlab/physics/contacts/__init__.py @@ -0,0 +1,49 @@ +"""Outer contacts: Poisson potential sources, reservoirs, exchange channels, thermodynamics. + +The namespace exports the M-class (legacy bit-identical) contact physics. The +unified boundary particle flux (N class) is +:mod:`solarlab.physics.contacts.boundary_flux`. +""" + +from solarlab.physics.contacts.exchange import ( + BLOCKING, CONTACT_SIDES, DOPING_EQUILIBRIUM, EXCHANGE_KINDS, FIXED_RESERVOIR, + FLAT_BAND_CONTACT_VELOCITY_M_S, METAL_FLOOR, RESERVOIR_SOURCES, ROBIN, + SCHOTTKY_BARRIER, STATISTICS_CLOSURE, CarrierExchangeChannel, exchange_kind, + legacy_selective_contact_current, resolve_exchange_velocities, +) +from solarlab.physics.contacts.potential import ( + BUILT_IN_POTENTIAL_MODES, LEGACY_MANUAL, METAL_WORK_FUNCTION, + SEMICONDUCTOR_WORK_FUNCTION, BuiltInPotentialSources, ContactPotentialBoundary, + LegacyBandContact, junction_polarity, legacy_band_contact_potential, + legacy_band_fermi_level, resolve_built_in_potential_mode, +) +from solarlab.physics.contacts.reservoirs import ( + ContactClosureCapabilityError, ContactMaterial, SemiconductorContactState, + doping_equilibrium_densities, metal_reservoir_floor, schottky_equilibrium_n, + schottky_equilibrium_p, semiconductor_contact_state, semiconductor_work_function, +) +from solarlab.physics.contacts.thermodynamics import ( + CONTACT_THERMODYNAMIC_TOLERANCE_EV, LEGACY_MANUAL_CONTACT_OFFSET, ContactEndpoint, + ContactThermodynamicAssessment, ContactThermodynamicError, + assess_contact_thermodynamics, contact_quasi_fermi_levels, + require_contact_thermodynamic_certificate, +) + +__all__ = [ + "BLOCKING", "BUILT_IN_POTENTIAL_MODES", "BuiltInPotentialSources", + "CONTACT_SIDES", "CONTACT_THERMODYNAMIC_TOLERANCE_EV", "CarrierExchangeChannel", + "ContactClosureCapabilityError", "ContactEndpoint", "ContactMaterial", + "ContactPotentialBoundary", "ContactThermodynamicAssessment", + "ContactThermodynamicError", "DOPING_EQUILIBRIUM", "EXCHANGE_KINDS", + "FIXED_RESERVOIR", "FLAT_BAND_CONTACT_VELOCITY_M_S", "LEGACY_MANUAL", + "LEGACY_MANUAL_CONTACT_OFFSET", "LegacyBandContact", "METAL_FLOOR", + "METAL_WORK_FUNCTION", "RESERVOIR_SOURCES", "ROBIN", "SCHOTTKY_BARRIER", + "SEMICONDUCTOR_WORK_FUNCTION", "STATISTICS_CLOSURE", "SemiconductorContactState", + "assess_contact_thermodynamics", "contact_quasi_fermi_levels", + "doping_equilibrium_densities", "exchange_kind", "junction_polarity", + "legacy_band_contact_potential", "legacy_band_fermi_level", + "legacy_selective_contact_current", "metal_reservoir_floor", + "require_contact_thermodynamic_certificate", "resolve_built_in_potential_mode", + "resolve_exchange_velocities", "schottky_equilibrium_n", "schottky_equilibrium_p", + "semiconductor_contact_state", "semiconductor_work_function", +] diff --git a/src/solarlab/physics/contacts/boundary_flux.py b/src/solarlab/physics/contacts/boundary_flux.py new file mode 100644 index 00000000..dbdc1867 --- /dev/null +++ b/src/solarlab/physics/contacts/boundary_flux.py @@ -0,0 +1,55 @@ +"""Unified contact boundary particle flux (N class). + +Along the outward normal ``n_out`` (-1 at the left contact, +1 at the right), +a channel exchanges + + F = n_out S (c - c_eq) [m^-2 s^-1, along +x] + +for both carriers; ``dF/dc = n_out S``. A blocking channel returns exactly +zero and a fixed reservoir is the algebraic constraint ``c - c_eq``. The +historical currents follow from the output channels' own signs, +``J_n = -q F_n`` and ``J_p = +q F_p``; they equal +:func:`~solarlab.physics.contacts.exchange.legacy_selective_contact_current` +up to the product order of ``q S (c - c_eq)`` (one rounding) and the sign of +an exact zero. +""" + +from __future__ import annotations + +from dataclasses import dataclass + +from solarlab.physics.contacts.exchange import ( + BLOCKING, FIXED_RESERVOIR, CarrierExchangeChannel, +) + +__all__ = ["BoundaryParticleFlux", "boundary_particle_flux", "reservoir_constraint"] + + +@dataclass(frozen=True, slots=True) +class BoundaryParticleFlux: + """Particle flux through one contact face and its density derivative.""" + + flux: float + density_derivative: float + + +def boundary_particle_flux(channel: CarrierExchangeChannel, density_m3: float) -> BoundaryParticleFlux: + """Exchange flux of a blocking or Robin channel at its boundary density.""" + if channel.kind == FIXED_RESERVOIR: + raise ValueError( + "a fixed-reservoir channel is the constraint c - c_eq, not a flux; " + "use reservoir_constraint" + ) + if channel.kind == BLOCKING: + return BoundaryParticleFlux(0.0, 0.0) + assert channel.velocity_m_s is not None + rate = channel.outward_normal * float(channel.velocity_m_s) + excess = float(density_m3) - float(channel.reservoir_density_m3) + return BoundaryParticleFlux(rate * excess, rate) + + +def reservoir_constraint(channel: CarrierExchangeChannel, density_m3: float) -> float: + """Dirichlet constraint value ``c - c_eq`` of a fixed-reservoir channel.""" + if channel.kind != FIXED_RESERVOIR: + raise ValueError("only a fixed-reservoir channel pins its boundary density") + return float(density_m3) - float(channel.reservoir_density_m3) diff --git a/src/solarlab/physics/contacts/exchange.py b/src/solarlab/physics/contacts/exchange.py new file mode 100644 index 00000000..535f8462 --- /dev/null +++ b/src/solarlab/physics/contacts/exchange.py @@ -0,0 +1,139 @@ +"""Carrier exchange at the outer contacts, one channel per carrier and side (M class). + +Each of the four channels (electron/hole x left/right) independently selects +its exchange kinetics: + +* ``fixed_reservoir`` (velocity ``None``) -- the boundary density is pinned to + its reservoir (a Dirichlet constraint row ``c - c_eq``); +* ``blocking`` (velocity ``0``) -- zero carrier exchange; +* ``robin`` (finite velocity ``S > 0``) -- finite exchange ``S (c - c_eq)``. + +The reservoir density and its source (doping equilibrium, statistics closure, +Schottky barrier or calibrated metal floor) are declared with the channel and +never select the Poisson potential. ``legacy_selective_contact_current`` is the +historical Robin current with its carrier/side sign table, signed zero +included; the unified boundary particle flux is +:mod:`solarlab.physics.contacts.boundary_flux` (N class). +""" + +from __future__ import annotations + +from dataclasses import dataclass +import math + +import numpy as np +from numpy.typing import ArrayLike, NDArray + +from solarlab.contracts.units import ELEMENTARY_CHARGE_C + +__all__ = [ + "BLOCKING", "CONTACT_SIDES", "CarrierExchangeChannel", "DOPING_EQUILIBRIUM", + "EXCHANGE_KINDS", "FIXED_RESERVOIR", "FLAT_BAND_CONTACT_VELOCITY_M_S", "METAL_FLOOR", + "RESERVOIR_SOURCES", "ROBIN", "SCHOTTKY_BARRIER", "STATISTICS_CLOSURE", + "exchange_kind", "legacy_selective_contact_current", "resolve_exchange_velocities", +] + +Q = ELEMENTARY_CHARGE_C +FIXED_RESERVOIR = "fixed_reservoir" +BLOCKING = "blocking" +ROBIN = "robin" +EXCHANGE_KINDS = (FIXED_RESERVOIR, BLOCKING, ROBIN) +DOPING_EQUILIBRIUM = "doping_equilibrium" +STATISTICS_CLOSURE = "statistics_closure" +SCHOTTKY_BARRIER = "schottky_barrier" +METAL_FLOOR = "metal_floor" +RESERVOIR_SOURCES = (DOPING_EQUILIBRIUM, STATISTICS_CLOSURE, SCHOTTKY_BARRIER, METAL_FLOOR) +CONTACT_SIDES = ("left", "right") +# Historical finite exchange velocity of ``flat_band_contacts`` [m/s]. +FLAT_BAND_CONTACT_VELOCITY_M_S = 1.0e5 + + +def resolve_exchange_velocities( + velocities: tuple[float | None, float | None, float | None, float | None], + *, + flat_band_contacts: bool, + selective_contacts_enabled: bool, +) -> tuple[float | None, float | None, float | None, float | None]: + """Effective (n-left, p-left, n-right, p-right) exchange velocities. + + ``None`` pins a reservoir density and zero blocks that carrier. The + historical ``flat_band_contacts`` flag enables finite exchange on every + unset channel regardless of tier; otherwise the tier gate decides. + """ + if flat_band_contacts: + return tuple( # type: ignore[return-value] + FLAT_BAND_CONTACT_VELOCITY_M_S if value is None else value + for value in velocities + ) + if not selective_contacts_enabled: + return (None, None, None, None) + return velocities + + +def exchange_kind(velocity_m_s: float | None) -> str: + """Exchange kinetics of one channel from its velocity.""" + if velocity_m_s is None: + return FIXED_RESERVOIR + velocity = float(velocity_m_s) + if not math.isfinite(velocity) or velocity < 0.0: + raise ValueError("a contact exchange velocity must be finite and non-negative") + return BLOCKING if velocity == 0.0 else ROBIN + + +@dataclass(frozen=True, slots=True) +class CarrierExchangeChannel: + """One carrier/side contact channel: kinetics plus its reservoir.""" + + carrier: str + side: str + velocity_m_s: float | None + reservoir_density_m3: float + reservoir_source: str = DOPING_EQUILIBRIUM + + def __post_init__(self) -> None: + if self.carrier not in ("n", "p"): + raise ValueError(f"carrier must be 'n' or 'p', got {self.carrier!r}") + if self.side not in CONTACT_SIDES: + raise ValueError(f"side must be 'left' or 'right', got {self.side!r}") + if self.reservoir_source not in RESERVOIR_SOURCES: + raise ValueError(f"unknown reservoir source {self.reservoir_source!r}") + density = float(self.reservoir_density_m3) + if not math.isfinite(density) or density < 0.0: + raise ValueError("a contact reservoir density must be finite and non-negative") + exchange_kind(self.velocity_m_s) + + @property + def kind(self) -> str: + return exchange_kind(self.velocity_m_s) + + @property + def outward_normal(self) -> float: + """Outward normal of the contact face along x: -1 left, +1 right.""" + return -1.0 if self.side == "left" else 1.0 + + +def legacy_selective_contact_current( + density: float | ArrayLike, + density_eq: float | ArrayLike, + S: float, + *, + carrier: str, + side: str, +) -> float | NDArray[np.float64]: + """Historical Robin boundary current density [A/m^2] along +x. + + ``J_n = +q S (n - n_eq)`` and ``J_p = -q S (p - p_eq)`` at the left + contact; the right contact flips both. ``S = 0`` returns a signed zero + exactly as before. + """ + if side not in ("left", "right"): + raise ValueError(f"side must be 'left' or 'right', got {side!r}") + if carrier not in ("n", "p"): + raise ValueError(f"carrier must be 'n' or 'p', got {carrier!r}") + + excess = np.asarray(density, dtype=float) - np.asarray(density_eq, dtype=float) + mag = Q * float(S) * excess + J = mag if carrier == "n" else -mag + if side == "right": + J = -J + return float(J) if np.isscalar(density) else J diff --git a/src/solarlab/physics/contacts/potential.py b/src/solarlab/physics/contacts/potential.py new file mode 100644 index 00000000..12158c4c --- /dev/null +++ b/src/solarlab/physics/contacts/potential.py @@ -0,0 +1,211 @@ +"""Poisson contact-potential sources, independent of carrier exchange (M class). + +The signed contact potential ``V_bi_bc = phi(right) - phi(left)`` comes from +one explicitly selected source: + +* ``semiconductor_work_function`` -- ``W_left - W_right`` of the two contact + faces from :func:`~solarlab.physics.contacts.reservoirs.semiconductor_work_function`; +* ``metal_work_function`` -- ``W_left - W_right`` of two declared metals; +* ``legacy_manual`` -- the configured magnitude, oriented by the historical + band-derived endpoint estimate; +* ``None`` -- the compatibility sentinel of old configurations: with + ``flat_band_contacts`` it uses the historical estimate itself, otherwise it + behaves as ``legacy_manual``. + +The historical estimate (``legacy_band_contact_potential``) evaluates each +contact face's Fermi level with the configured scalar ``n_i`` and the 300 K +thermal voltage, and returns the manual value when every electrical layer has +``chi = Eg = 0``. Carrier exchange (Dirichlet, blocking, Robin) never selects +the potential source. Positive forward bias reduces ``|V_bi_bc|`` for either +junction orientation through ``junction_polarity``. All values are +bit-identical to the legacy engine. +""" + +from __future__ import annotations + +from collections.abc import Sequence +from dataclasses import dataclass +import math + +from solarlab.physics.contacts.reservoirs import ContactMaterial, semiconductor_work_function +from solarlab.physics.statistics.thermal import REFERENCE_THERMAL_VOLTAGE_V + +__all__ = [ + "BUILT_IN_POTENTIAL_MODES", "BuiltInPotentialSources", "ContactPotentialBoundary", + "LEGACY_MANUAL", "LegacyBandContact", "METAL_WORK_FUNCTION", + "SEMICONDUCTOR_WORK_FUNCTION", "junction_polarity", "legacy_band_contact_potential", + "legacy_band_fermi_level", "resolve_built_in_potential_mode", +] + +SEMICONDUCTOR_WORK_FUNCTION = "semiconductor_work_function" +METAL_WORK_FUNCTION = "metal_work_function" +LEGACY_MANUAL = "legacy_manual" +BUILT_IN_POTENTIAL_MODES = (SEMICONDUCTOR_WORK_FUNCTION, METAL_WORK_FUNCTION, LEGACY_MANUAL) + + +@dataclass(frozen=True, slots=True) +class LegacyBandContact: + """Inputs of the historical endpoint Fermi-level estimate at one contact face.""" + + electron_affinity_eV: float + band_gap_eV: float + donor_density_m3: float + acceptor_density_m3: float + intrinsic_density_m3: float + + +def legacy_band_fermi_level(contact: LegacyBandContact) -> float: + """Historical Fermi level below vacuum [eV] from ``E_i = chi + Eg/2``. + + Uses the two-branch majority density and the 300 K thermal voltage. + """ + ni = contact.intrinsic_density_m3 + e_i = contact.electron_affinity_eV + contact.band_gap_eV / 2.0 + net = 0.5 * (contact.donor_density_m3 - contact.acceptor_density_m3) + disc = math.sqrt(net * net + ni * ni) + if contact.donor_density_m3 > contact.acceptor_density_m3: + n = net + disc + return e_i - REFERENCE_THERMAL_VOLTAGE_V * math.log(n / ni) + if contact.acceptor_density_m3 > contact.donor_density_m3: + hole = -net + disc + return e_i + REFERENCE_THERMAL_VOLTAGE_V * math.log(hole / ni) + return e_i + + +def legacy_band_contact_potential( + left: LegacyBandContact, + right: LegacyBandContact, + *, + electrical_layer_bands: Sequence[tuple[float, float]], + manual_V_bi: float, +) -> float: + """Historical signed estimate ``E_F,left - E_F,right`` [V]. + + ``electrical_layer_bands`` holds ``(chi, Eg)`` of every electrical layer + that has material parameters; when all are zero the manual value is + returned unchanged (old configurations without band data). + """ + if not electrical_layer_bands: + return manual_V_bi + if all(chi == 0.0 and gap == 0.0 for chi, gap in electrical_layer_bands): + return manual_V_bi + return legacy_band_fermi_level(left) - legacy_band_fermi_level(right) + + +def resolve_built_in_potential_mode(mode: str | None, *, flat_band_contacts: bool) -> str: + """Public mode, including the compatibility sentinel's inference.""" + if mode is not None: + if mode not in BUILT_IN_POTENTIAL_MODES: + raise ValueError(f"unknown built-in-potential mode {mode!r}") + return mode + if flat_band_contacts: + return SEMICONDUCTOR_WORK_FUNCTION + return LEGACY_MANUAL + + +@dataclass(frozen=True) +class BuiltInPotentialSources: + """Every input a contact-potential source may read; each is evaluated lazily. + + ``left_band``/``right_band`` feed the historical estimate, + ``left_material``/``right_material`` the semiconductor work functions and + ``work_function_*_eV`` the metal mode. A source that is not selected is + never evaluated, exactly as in the historical resolution. + """ + + mode: str | None + manual_V_bi: float + flat_band_contacts: bool = False + left_band: LegacyBandContact | None = None + right_band: LegacyBandContact | None = None + electrical_layer_bands: tuple[tuple[float, float], ...] = () + left_material: ContactMaterial | None = None + right_material: ContactMaterial | None = None + work_function_left_eV: float | None = None + work_function_right_eV: float | None = None + + def __post_init__(self) -> None: + if self.mode is not None and self.mode not in BUILT_IN_POTENTIAL_MODES: + raise ValueError(f"unknown built-in-potential mode {self.mode!r}") + + @property + def resolved_mode(self) -> str: + return resolve_built_in_potential_mode( + self.mode, flat_band_contacts=self.flat_band_contacts) + + def historical_estimate(self) -> float: + """The deprecated band-derived endpoint estimate (``compute_V_bi``).""" + if not self.electrical_layer_bands: + return self.manual_V_bi + if all(chi == 0.0 and gap == 0.0 for chi, gap in self.electrical_layer_bands): + return self.manual_V_bi + if self.left_band is None or self.right_band is None: + raise ValueError("the historical estimate needs both contact faces") + return legacy_band_contact_potential( + self.left_band, self.right_band, + electrical_layer_bands=self.electrical_layer_bands, + manual_V_bi=self.manual_V_bi, + ) + + def semiconductor_potential(self) -> float: + """``W_left - W_right`` of the two semiconductor contact faces.""" + if self.left_material is None or self.right_material is None: + raise ValueError( + "semiconductor_work_function requires material parameters on both " + "electrical contact layers" + ) + W_left = semiconductor_work_function(self.left_material) + W_right = semiconductor_work_function(self.right_material) + return W_left - W_right + + def metal_potential(self) -> float: + """Signed ``W_left - W_right`` from explicit metal contacts.""" + if self.work_function_left_eV is None or self.work_function_right_eV is None: + raise ValueError("metal_work_function requires both contact work functions") + return float(self.work_function_left_eV - self.work_function_right_eV) + + def _oriented_manual(self) -> float: + orientation = -1.0 if self.historical_estimate() < 0.0 else 1.0 + return orientation * abs(float(self.manual_V_bi)) + + def poisson_potential(self) -> float: + """Signed ``V_bi_bc`` for the Poisson boundary.""" + if self.mode is None: + if self.flat_band_contacts: + return self.historical_estimate() + return self._oriented_manual() + if self.mode == LEGACY_MANUAL: + return self._oriented_manual() + if self.mode == SEMICONDUCTOR_WORK_FUNCTION: + return self.semiconductor_potential() + return self.metal_potential() + + def operating_potential(self) -> float: + """Signed potential for operating defaults; the sentinel keeps the estimate.""" + if self.mode is None: + return self.historical_estimate() + return self.poisson_potential() + + +def junction_polarity(V_bi_bc: float) -> float: + """``-1`` for an n-contact-left orientation (negative ``V_bi_bc``), else ``+1``.""" + return -1.0 if V_bi_bc < 0.0 else 1.0 + + +@dataclass(frozen=True, slots=True) +class ContactPotentialBoundary: + """Dirichlet potentials of the two contacts for an applied bias.""" + + V_bi_bc: float + left_V: float = 0.0 + + @property + def junction_polarity(self) -> float: + return junction_polarity(self.V_bi_bc) + + def right(self, V_app: float) -> float: + """Right contact potential; positive forward bias reduces ``|V_bi_bc|``.""" + return float(self.V_bi_bc - self.junction_polarity * float(V_app)) + + def values(self, V_app: float) -> tuple[float, float]: + return self.left_V, self.right(V_app) diff --git a/src/solarlab/physics/contacts/reservoirs.py b/src/solarlab/physics/contacts/reservoirs.py new file mode 100644 index 00000000..28fd65a5 --- /dev/null +++ b/src/solarlab/physics/contacts/reservoirs.py @@ -0,0 +1,286 @@ +"""Equilibrium contact reservoirs, Schottky and metal-floor densities (M class). + +A contact reservoir is the carrier density the contact holds in equilibrium. +Its source is declared separately from the exchange kinetics +(:mod:`solarlab.physics.contacts.exchange`) and from the Poisson boundary +(:mod:`solarlab.physics.contacts.potential`): + +* ``doping_equilibrium_densities`` -- the historical default, the two-branch + MB mass-action closure of the contact node's net doping and ``n_i^2``; +* ``semiconductor_contact_state`` -- one statistics/ionization closure (MB or + restricted FD, fully ionized or discrete levels) for both the reservoir + densities and the semiconductor work function; +* ``schottky_equilibrium_n/p`` -- ``N exp(-phi_B/V_T)`` behind a barrier; +* ``metal_reservoir_floor`` -- the calibrated flat-band metal floor that + raises a weakly doped contact's majority reservoir to ``N exp(-phi_B/V_T)``. + +Band-gap narrowing, bulk traps and explicit defects at a contact belong to +later slices and are rejected rather than silently dropped. +""" + +from __future__ import annotations + +from dataclasses import dataclass +import math + +import numpy as np + +from solarlab.physics.statistics.carriers import ( + FERMI_DIRAC, MAXWELL_BOLTZMANN, CarrierStatistics, normalize_carrier_statistics, +) +from solarlab.physics.statistics.dopants import ( + DISCRETE_LEVEL, FULLY_IONIZED, normalize_dopant_ionization_model, +) +from solarlab.physics.statistics.neutrality import ( + BulkChargeNeutralityState, mass_action_carrier_densities, solve_charge_neutrality, +) +from solarlab.physics.statistics.thermal import thermal_voltage + +__all__ = [ + "ContactClosureCapabilityError", "ContactMaterial", "SemiconductorContactState", + "doping_equilibrium_densities", "metal_reservoir_floor", "schottky_equilibrium_n", + "schottky_equilibrium_p", "semiconductor_contact_state", "semiconductor_work_function", +] + +_BAND_GAP_NARROWING_OFF = "off" + + +class ContactClosureCapabilityError(ValueError): + """A contact closure needs physics that this slice does not provide.""" + + +@dataclass(frozen=True, slots=True) +class ContactMaterial: + """Equilibrium inputs of one contact layer at the contact temperature. + + ``band_gap_eV`` and the effective DOS are already resolved at + ``temperature_K`` (Varshni shift and ``(T/300)^1.5`` DOS scaling are applied + by the caller when its temperature model is active), exactly as the + historical contact closures receive them. ``explicit_defects`` means + explicit defect species that carry charge in the contact neutrality + (charged, energy-distributed or multivalent); neutral single-level species + do not enter it and must not set the flag. + """ + + temperature_K: float + electron_affinity_eV: float + band_gap_eV: float + conduction_dos_m3: float + valence_dos_m3: float + donor_density_m3: float + acceptor_density_m3: float + carrier_statistics: str = MAXWELL_BOLTZMANN + dopant_ionization_model: str = FULLY_IONIZED + donor_binding_energy_eV: float | None = None + acceptor_binding_energy_eV: float | None = None + donor_degeneracy: float = 2.0 + acceptor_degeneracy: float = 4.0 + band_gap_narrowing_model: str = _BAND_GAP_NARROWING_OFF + bulk_trap_distribution: bool = False + explicit_defects: bool = False + + def requires_statistics_closure(self) -> bool: + """Historical dispatch: anything beyond MB/fully ionized uses the closure.""" + return ( + normalize_carrier_statistics(self.carrier_statistics) == FERMI_DIRAC + or normalize_dopant_ionization_model(self.dopant_ionization_model) == DISCRETE_LEVEL + or self.band_gap_narrowing_model != _BAND_GAP_NARROWING_OFF + or self.bulk_trap_distribution + or self.explicit_defects + ) + + +@dataclass(frozen=True, slots=True) +class SemiconductorContactState: + """Thermodynamically closed equilibrium state at one contact face.""" + + statistics: CarrierStatistics + electron_affinity_eV: float + band_gap_eV: float + work_function_eV: float + neutrality: BulkChargeNeutralityState + band_gap_narrowing_eV: float = 0.0 + conduction_band_shift_eV: float = 0.0 + valence_band_shift_eV: float = 0.0 + + @property + def electron_density_m3(self) -> float: + return self.neutrality.electron_density_m3 + + @property + def hole_density_m3(self) -> float: + return self.neutrality.hole_density_m3 + + @property + def reduced_electron_fermi_level(self) -> float: + return self.neutrality.reduced_electron_fermi_level + + @property + def reduced_hole_fermi_level(self) -> float: + return self.neutrality.reduced_hole_fermi_level + + +def _require_positive_band_inputs(material: ContactMaterial, message: str) -> None: + required = { + "chi": material.electron_affinity_eV, + "Eg": material.band_gap_eV, + "Nc300": material.conduction_dos_m3, + "Nv300": material.valence_dos_m3, + } + invalid = [ + name for name, value in required.items() + if value is None or not math.isfinite(float(value)) or float(value) <= 0.0 + ] + if invalid: + raise ValueError(message + ", ".join(invalid)) + + +def _reject_unowned_closures(material: ContactMaterial) -> None: + if material.band_gap_narrowing_model != _BAND_GAP_NARROWING_OFF: + raise ContactClosureCapabilityError( + "band-gap narrowing at a contact is owned by the parameter-model " + "slice (P04-11) and is not available here" + ) + if material.bulk_trap_distribution or material.explicit_defects: + raise ContactClosureCapabilityError( + "trap- and defect-charged contact closures are owned by the " + "dynamic-defect slice (P04-10) and are not available here" + ) + + +def semiconductor_contact_state(material: ContactMaterial) -> SemiconductorContactState: + """One statistics/ionization closure for densities and work function. + + The reservoir densities and the work function come from the same common + Fermi level, so an FD Poisson boundary cannot be paired with MB + reservoirs constructed independently. + """ + _require_positive_band_inputs( + material, "semiconductor contact state requires finite positive ") + temperature = float(material.temperature_K) + if not np.isfinite(temperature) or temperature <= 0.0: + raise ValueError("contact temperature must be finite and positive") + _reject_unowned_closures(material) + # BGN off: the effective edges are the physical ones (+0.0/-0.0 as before). + affinity = float(material.electron_affinity_eV) + 0.0 + band_gap = float(material.band_gap_eV) - 0.0 + neutrality = solve_charge_neutrality( + temperature_K=temperature, + band_gap_eV=band_gap, + effective_conduction_dos_m3=float(material.conduction_dos_m3), + effective_valence_dos_m3=float(material.valence_dos_m3), + acceptor_density_m3=float(material.acceptor_density_m3), + donor_density_m3=float(material.donor_density_m3), + statistics=material.carrier_statistics, + dopant_ionization_model=material.dopant_ionization_model, + donor_binding_energy_eV=material.donor_binding_energy_eV, + acceptor_binding_energy_eV=material.acceptor_binding_energy_eV, + donor_degeneracy=float(material.donor_degeneracy), + acceptor_degeneracy=float(material.acceptor_degeneracy), + ) + work_function = affinity - ( + neutrality.thermal_voltage_V * neutrality.reduced_electron_fermi_level + ) + if not np.isfinite(work_function): + raise FloatingPointError("semiconductor work function is non-finite") + return SemiconductorContactState( + statistics=neutrality.statistics, + electron_affinity_eV=affinity, + band_gap_eV=band_gap, + work_function_eV=float(work_function), + neutrality=neutrality, + ) + + +def semiconductor_work_function(material: ContactMaterial) -> float: + """Semiconductor work function below vacuum [eV] at the contact face. + + MB statistics with fully ionized dopants use the historical closed form; + every other qualified law goes through :func:`semiconductor_contact_state`. + """ + if material.requires_statistics_closure(): + return semiconductor_contact_state(material).work_function_eV + _require_positive_band_inputs( + material, "semiconductor_work_function requires positive contact-layer ") + if not all( + math.isfinite(float(value)) and float(value) >= 0.0 + for value in (material.acceptor_density_m3, material.donor_density_m3) + ): + raise ValueError( + "semiconductor_work_function requires finite, non-negative contact " + "doping densities" + ) + chi = material.electron_affinity_eV + V_T_contact = thermal_voltage(material.temperature_K) + Eg = float(material.band_gap_eV) + Nc = float(material.conduction_dos_m3) + Nv = float(material.valence_dos_m3) + net_doping = float(material.donor_density_m3 - material.acceptor_density_m3) + + if net_doping == 0.0: + band_distance = 0.5 * Eg + 0.5 * V_T_contact * math.log(Nc / Nv) + return float(chi + band_distance) + + log_ni = 0.5 * (math.log(Nc) + math.log(Nv)) - Eg / (2.0 * V_T_contact) + ni = math.exp(log_ni) if log_ni > -745.0 else 0.0 + half_net = 0.5 * net_doping + disc = math.hypot(half_net, ni) + if net_doping > 0.0: + n_majority = half_net + disc + return float(chi + V_T_contact * math.log(Nc / n_majority)) + p_majority = -half_net + disc + return float(chi + Eg - V_T_contact * math.log(Nv / p_majority)) + + +def doping_equilibrium_densities(donor_density_m3: float, acceptor_density_m3: float, + intrinsic_density_squared_m6: float) -> tuple[float, float]: + """Historical ohmic reservoir ``(n, p)`` from the contact node's doping. + + ``n_i`` is ``sqrt(n_i^2)`` of the node's own (temperature- and + grading-resolved) mass-action product. + """ + intrinsic = np.sqrt(float(intrinsic_density_squared_m6)) + return mass_action_carrier_densities(donor_density_m3, acceptor_density_m3, float(intrinsic)) + + +def schottky_equilibrium_n(N_c: float, phi_B: float, V_T: float) -> float: + """Equilibrium electron density behind a Schottky barrier, ``N_c exp(-phi_B/V_T)``.""" + return float(N_c) * float(np.exp(-float(phi_B) / float(V_T))) + + +def schottky_equilibrium_p(N_v: float, phi_B: float, V_T: float) -> float: + """Equilibrium hole density behind a Schottky barrier, ``N_v exp(-phi_B/V_T)``.""" + return float(N_v) * float(np.exp(-float(phi_B) / float(V_T))) + + +def metal_reservoir_floor( + electron_density_m3: float, + hole_density_m3: float, + *, + intrinsic_density_squared_m6: float, + donor_density_m3: float, + acceptor_density_m3: float, + conduction_dos_m3: float | None, + valence_dos_m3: float | None, + barrier_eV: float, + thermal_voltage_V: float, +) -> tuple[float, float]: + """Raise the majority reservoir to the metal density ``N exp(-phi_B/V_T)``. + + The doping sign picks the carrier (``N_D >= N_A`` electrons, else holes); + the floor is dormant (inputs returned unchanged) when the doping + equilibrium already exceeds it or the layer lacks that DOS. ``n p = n_i^2`` + is kept. + """ + gate = math.exp(-float(barrier_eV) / thermal_voltage_V) + if donor_density_m3 >= acceptor_density_m3: + if conduction_dos_m3: + floor = float(conduction_dos_m3) * gate + if floor > electron_density_m3: + return floor, intrinsic_density_squared_m6 / floor + else: + if valence_dos_m3: + floor = float(valence_dos_m3) * gate + if floor > hole_density_m3: + return intrinsic_density_squared_m6 / floor, floor + return electron_density_m3, hole_density_m3 diff --git a/src/solarlab/physics/contacts/thermodynamics.py b/src/solarlab/physics/contacts/thermodynamics.py new file mode 100644 index 00000000..68465716 --- /dev/null +++ b/src/solarlab/physics/contacts/thermodynamics.py @@ -0,0 +1,275 @@ +"""Contact thermodynamic assessment with the fixed 5 meV gate (M class). + +A zero-bias equilibrium requires the electron and hole reservoirs of both +contacts to share one Fermi level. From the reservoir densities, the physical +(unfolded) band edges and the Poisson drop at each contact node, the four +contact quasi-Fermi levels are + + E_Fn = E_C + V_T eta_n, E_Fp = E_V - V_T eta_p, E_C = -phi - chi, + +with ``eta`` from the shared statistics definition. The status is +``certified`` only when their span (and any declared metal work function) is +within ``CONTACT_THERMODYNAMIC_TOLERANCE_EV = 5 meV``; a caller may tighten +that gate but never relax it. Without endpoint DOS a band-derived potential +mismatch can still disprove compatibility, but agreement is only +``compatible_unverified``. Values and statuses are those of the legacy engine. + +``historical_label`` names a known historical inconsistency without changing +the status: a ``legacy_manual`` contact potential whose two reservoirs are each +self-consistent is labelled ``legacy_manual_v_bi_contact_offset`` -- the span is +then exactly the offset between the configured ``V_bi`` and the reservoirs +(6.025 meV on the historical scaps mirror), and it stays ``inconsistent``. +""" + +from __future__ import annotations + +from dataclasses import dataclass +from typing import Literal + +import numpy as np + +from solarlab.physics.contacts.potential import LEGACY_MANUAL, METAL_WORK_FUNCTION +from solarlab.physics.statistics.carriers import ( + MAXWELL_BOLTZMANN, CarrierStatistics, reduced_fermi_level_from_density, +) + +__all__ = [ + "CONTACT_THERMODYNAMIC_TOLERANCE_EV", "ContactEndpoint", "ContactThermodynamicAssessment", + "ContactThermodynamicError", "LEGACY_MANUAL_CONTACT_OFFSET", + "assess_contact_thermodynamics", "contact_quasi_fermi_levels", + "require_contact_thermodynamic_certificate", +] + +CONTACT_THERMODYNAMIC_TOLERANCE_EV = 5.0e-3 +LEGACY_MANUAL_CONTACT_OFFSET = "legacy_manual_v_bi_contact_offset" +AssessmentStatus = Literal["certified", "inconsistent", "compatible_unverified", "not_assessable"] + + +class ContactThermodynamicError(ValueError): + """The selected Poisson/contact-reservoir pair lacks a certificate.""" + + +@dataclass(frozen=True, slots=True) +class ContactEndpoint: + """Physical band data and reservoir densities at one contact node.""" + + electron_density_m3: float + hole_density_m3: float + conduction_dos_m3: float | None = None + valence_dos_m3: float | None = None + electron_affinity_eV: float | None = None + band_gap_eV: float | None = None + + def assessable(self) -> bool: + values = (self.conduction_dos_m3, self.valence_dos_m3, + self.electron_affinity_eV, self.band_gap_eV) + if any(value is None for value in values): + return False + return bool( + all(np.isfinite(value) for value in values) # type: ignore[arg-type] + and self.conduction_dos_m3 > 0.0 # type: ignore[operator] + and self.valence_dos_m3 > 0.0 # type: ignore[operator] + and self.electron_density_m3 > 0.0 + and self.hole_density_m3 > 0.0 + ) + + +@dataclass(frozen=True) +class ContactThermodynamicAssessment: + """Internal compatibility evidence for the Poisson boundary and reservoirs.""" + + status: AssessmentStatus + built_in_potential_mode: str + tolerance_eV: float + fermi_level_span_eV: float | None + potential_mismatch_V: float | None + metal_work_function_mismatch_eV: float | None + contact_quasi_fermi_levels_eV: tuple[float, ...] + message: str + historical_label: str | None = None + + @property + def certified(self) -> bool: + return self.status == "certified" + + +def contact_quasi_fermi_levels( + left: ContactEndpoint, + right: ContactEndpoint, + *, + V_bi_bc: float, + thermal_voltage_V: float, + statistics: CarrierStatistics | str = MAXWELL_BOLTZMANN, +) -> tuple[tuple[float, ...], tuple[float, ...]]: + """Contact QFLs ``(E_Fn,L, E_Fp,L, E_Fn,R, E_Fp,R)`` and semiconductor work functions. + + Endpoints that lack positive DOS or reservoir densities contribute nothing. + """ + levels: list[float] = [] + work_functions: list[float] = [] + for endpoint, phi in ((left, 0.0), (right, float(V_bi_bc))): + if not endpoint.assessable(): + continue + chi = endpoint.electron_affinity_eV + gap = endpoint.band_gap_eV + assert chi is not None and gap is not None + conduction_edge = -phi - chi + valence_edge = conduction_edge - gap + eta_n = reduced_fermi_level_from_density( + endpoint.electron_density_m3, endpoint.conduction_dos_m3, # type: ignore[arg-type] + statistics=statistics, + ) + eta_p = reduced_fermi_level_from_density( + endpoint.hole_density_m3, endpoint.valence_dos_m3, # type: ignore[arg-type] + statistics=statistics, + ) + levels.extend(( + float(conduction_edge + thermal_voltage_V * eta_n), + float(valence_edge - thermal_voltage_V * eta_p), + )) + work_functions.extend(( + float(chi - thermal_voltage_V * eta_n), + float(chi + gap + thermal_voltage_V * eta_p), + )) + return tuple(levels), tuple(work_functions) + + +def _validated_tolerance(tolerance_eV: float) -> float: + if not np.isfinite(tolerance_eV) or tolerance_eV <= 0.0: + raise ValueError("tolerance_eV must be finite and positive") + if tolerance_eV > CONTACT_THERMODYNAMIC_TOLERANCE_EV: + raise ValueError( + "tolerance_eV cannot exceed the fixed internal certificate gate " + f"of {CONTACT_THERMODYNAMIC_TOLERANCE_EV:g} eV" + ) + return float(tolerance_eV) + + +def assess_contact_thermodynamics( + *, + built_in_potential_mode: str, + left: ContactEndpoint, + right: ContactEndpoint, + V_bi_bc: float, + thermal_voltage_V: float, + statistics: CarrierStatistics | str = MAXWELL_BOLTZMANN, + semiconductor_potential_V: float | None = None, + metal_work_functions_eV: tuple[float, float] | None = None, + has_band_reference: bool = False, + tolerance_eV: float = CONTACT_THERMODYNAMIC_TOLERANCE_EV, +) -> ContactThermodynamicAssessment: + """Assess whether all four statistics-consistent contact QFLs agree. + + ``built_in_potential_mode`` is the resolved public mode; + ``semiconductor_potential_V`` is the strict semiconductor work-function + potential when it is computable (else ``None``); ``metal_work_functions_eV`` + are the declared ``(W_left, W_right)`` of the metal mode. + """ + tolerance = _validated_tolerance(tolerance_eV) + mode = built_in_potential_mode + potential_mismatch: float | None = None + if semiconductor_potential_V is not None: + potential_mismatch = float(V_bi_bc - semiconductor_potential_V) + if not np.isfinite(potential_mismatch): + potential_mismatch = None + + levels, work_functions = contact_quasi_fermi_levels( + left, right, V_bi_bc=V_bi_bc, thermal_voltage_V=thermal_voltage_V, + statistics=statistics, + ) + if len(levels) == 4: + span = float(max(levels) - min(levels)) + metal_mismatch: float | None = None + if mode == METAL_WORK_FUNCTION: + if metal_work_functions_eV is None: + raise ValueError("metal_work_function requires both contact work functions") + W_left, W_right = (float(value) for value in metal_work_functions_eV) + metal_mismatch = float(np.max(np.abs( + np.asarray((W_left, W_left, W_right, W_right)) + - np.asarray(work_functions) + ))) + qfl_compatible = span <= tolerance + metal_compatible = metal_mismatch is None or metal_mismatch <= tolerance + status: AssessmentStatus = ( + "certified" if qfl_compatible and metal_compatible else "inconsistent" + ) + if status == "certified": + message = ( + "carrier reservoirs, Poisson drop, and any explicit metal " + "work functions agree within the fixed internal " + f"{tolerance:g} eV gate" + ) + elif not qfl_compatible: + message = ( + "Poisson contact potential and carrier reservoirs impose a " + f"{span:.6g} eV equilibrium quasi-Fermi-level span" + ) + else: + message = ( + "explicit metal work functions differ from the modeled " + "semiconductor reservoirs by as much as " + f"{metal_mismatch:.6g} eV" + ) + label = None + if (status == "inconsistent" and not qfl_compatible and mode == LEGACY_MANUAL + and abs(levels[0] - levels[1]) <= tolerance + and abs(levels[2] - levels[3]) <= tolerance): + label = LEGACY_MANUAL_CONTACT_OFFSET + return ContactThermodynamicAssessment( + status=status, + built_in_potential_mode=mode, + tolerance_eV=tolerance, + fermi_level_span_eV=span, + potential_mismatch_V=potential_mismatch, + metal_work_function_mismatch_eV=metal_mismatch, + contact_quasi_fermi_levels_eV=levels, + message=message, + historical_label=label, + ) + + if potential_mismatch is not None and abs(potential_mismatch) > tolerance: + status = "inconsistent" + message = ( + "endpoint DOS data are incomplete, but the imposed Poisson drop " + "already differs from the band-derived contact potential by " + f"{abs(potential_mismatch):.6g} V" + ) + elif has_band_reference: + status = "compatible_unverified" + message = ( + "the imposed and band-derived contact potentials agree, but " + "endpoint effective-DOS data are missing, so the four contact " + "quasi-Fermi levels cannot be certified" + ) + else: + status = "not_assessable" + message = ( + "the stack lacks endpoint band/DOS data required for a " + "thermodynamic contact assessment" + ) + return ContactThermodynamicAssessment( + status=status, + built_in_potential_mode=mode, + tolerance_eV=tolerance, + fermi_level_span_eV=None, + potential_mismatch_V=potential_mismatch, + metal_work_function_mismatch_eV=None, + contact_quasi_fermi_levels_eV=(), + message=message, + ) + + +def require_contact_thermodynamic_certificate( + assessment: ContactThermodynamicAssessment, +) -> ContactThermodynamicAssessment: + """Return a certified assessment or fail closed, keeping any label in the error.""" + if not assessment.certified: + label = ( + f" [historical label: {assessment.historical_label}]" + if assessment.historical_label else "" + ) + raise ContactThermodynamicError( + f"contact thermodynamic status={assessment.status}: " + f"{assessment.message}{label}" + ) + return assessment diff --git a/src/solarlab/physics/electrostatics/__init__.py b/src/solarlab/physics/electrostatics/__init__.py new file mode 100644 index 00000000..73cfde4d --- /dev/null +++ b/src/solarlab/physics/electrostatics/__init__.py @@ -0,0 +1,27 @@ +"""Electrostatics: shared charge ledger, Poisson residual and interface traces. + +The namespace exports the M-class (legacy bit-identical) electrostatics. The +TermSink assembly of the same Gauss law (N class) is +:mod:`solarlab.physics.electrostatics.gauss_assembly`. +""" + +from solarlab.physics.electrostatics.charge import ( + SPACE_CHARGE_GROUP, ChargeEntry, ChargeLedger, SheetChargeEntry, +) +from solarlab.physics.electrostatics.interface_traces import ( + InterfaceTraceDeclaration, TraceElectrostatics, add_sheet_charge_to_interior_residual, + electrostatic_trace_residual_and_jacobian, interface_trace_layout, require_carrier_trace, + require_occupancy, sheet_charge_row_weights, solve_electrostatic_traces, +) +from solarlab.physics.electrostatics.poisson import ( + PoissonFactorization, PoissonOperator1D, contact_displacement, +) + +__all__ = [ + "ChargeEntry", "ChargeLedger", "InterfaceTraceDeclaration", + "PoissonFactorization", "PoissonOperator1D", "SPACE_CHARGE_GROUP", "SheetChargeEntry", + "TraceElectrostatics", "add_sheet_charge_to_interior_residual", "contact_displacement", + "electrostatic_trace_residual_and_jacobian", + "interface_trace_layout", "require_carrier_trace", "require_occupancy", + "sheet_charge_row_weights", "solve_electrostatic_traces", +] diff --git a/src/solarlab/physics/electrostatics/charge.py b/src/solarlab/physics/electrostatics/charge.py new file mode 100644 index 00000000..edae4f1a --- /dev/null +++ b/src/solarlab/physics/electrostatics/charge.py @@ -0,0 +1,185 @@ +"""The shared charge ledger: one declaration of every charged population. + +Poisson rows, Gauss jumps at interfaces and electrode charges must read their +charge from this single ledger instead of re-deriving ``rho`` locally. Each +volumetric entry declares its integer charge number and an optional +compensating background (e.g. a mobile-ion reference profile); interface +sheet charges are separate, areal entries that only enter through a Gauss +jump. Populations are non-negative densities; their charge sign comes only +from ``charge_number``. + +``space_charge_C_m3`` folds the entries of one group left to right and +multiplies by ``q`` once per group, then adds the groups in declaration order. +That order reproduces the historical +``Q*(p - n + (P - P0) - N_A + N_D)`` followed by ``rho -= Q*(P_neg - P_neg0)`` +bit-for-bit when declared as two groups in that order. + +The bitwise equivalence holds only on the ledger's domain of non-negative +densities and backgrounds. The historical expression also accepts negative +(trial) carrier or ion densities; the ledger rejects them, so building it from +an unaccepted signed trial state is a behaviour change that must be decided +and classified explicitly. +""" + +from __future__ import annotations + +from dataclasses import dataclass, field +import math + +import numpy as np +from numpy.typing import ArrayLike, NDArray + +from solarlab.contracts import ELEMENTARY_CHARGE_C, frozen_array + +__all__ = ["ChargeEntry", "ChargeLedger", "SheetChargeEntry", "SPACE_CHARGE_GROUP"] + +SPACE_CHARGE_GROUP = "space_charge" + + +@dataclass(frozen=True) +class ChargeEntry: + """A volumetric population [m^-3] on the nodes, with its charge number.""" + + id: str + owner: str + charge_number: int + density_m3: NDArray[np.float64] + background_m3: NDArray[np.float64] | None = None + group: str = SPACE_CHARGE_GROUP + + def __post_init__(self) -> None: + if not self.id or not self.owner or not self.group: + raise ValueError("charge entries need an id, owner and group") + if type(self.charge_number) is not int or self.charge_number == 0: + raise ValueError("charge_number must be a nonzero integer") + density = frozen_array(self.density_m3) + if density.ndim != 1 or np.any(density < 0.0): + raise ValueError(f"{self.id}: densities must be a non-negative 1-D array") + object.__setattr__(self, "density_m3", density) + if self.background_m3 is not None: + background = frozen_array(self.background_m3) + if background.shape != density.shape or np.any(background < 0.0): + raise ValueError(f"{self.id}: background must match and be non-negative") + object.__setattr__(self, "background_m3", background) + + def net_population(self) -> NDArray[np.float64]: + if self.background_m3 is None: + return self.density_m3 + net: NDArray[np.float64] = self.density_m3 - self.background_m3 + return net + + +@dataclass(frozen=True) +class SheetChargeEntry: + """An areal charge [C/m^2] on one electrical interface (Gauss-jump source).""" + + id: str + owner: str + interface: int + charge_C_m2: float + + def __post_init__(self) -> None: + if not self.id or not self.owner: + raise ValueError("sheet charges need an id and owner") + if type(self.interface) is not int or self.interface < 0: + raise ValueError("sheet charge interface must be a non-negative index") + value = float(self.charge_C_m2) + if not math.isfinite(value): + raise ValueError("sheet charge must be finite") + object.__setattr__(self, "charge_C_m2", value) + + +@dataclass(frozen=True) +class ChargeLedger: + """Immutable ledger; ``with_*`` returns a new ledger and rejects duplicates.""" + + node_count: int + interface_count: int = 0 + entries: tuple[ChargeEntry, ...] = () + sheets: tuple[SheetChargeEntry, ...] = () + _groups: tuple[str, ...] = field(init=False, repr=False) + + def __post_init__(self) -> None: + if type(self.node_count) is not int or self.node_count < 1: + raise ValueError("node_count must be a positive integer") + if type(self.interface_count) is not int or self.interface_count < 0: + raise ValueError("interface_count must be a non-negative integer") + entries, sheets = tuple(self.entries), tuple(self.sheets) + ids = [entry.id for entry in entries] + [sheet.id for sheet in sheets] + if len(set(ids)) != len(ids): + raise ValueError("duplicate charge ledger entry") + for entry in entries: + if entry.density_m3.shape != (self.node_count,): + raise ValueError(f"{entry.id}: density does not match the node count") + for sheet in sheets: + if sheet.interface >= self.interface_count: + raise ValueError(f"{sheet.id}: interface outside the stack") + groups: list[str] = [] + for entry in entries: + if entry.group not in groups: + groups.append(entry.group) + object.__setattr__(self, "entries", entries) + object.__setattr__(self, "sheets", sheets) + object.__setattr__(self, "_groups", tuple(groups)) + + def with_entry(self, entry: ChargeEntry) -> ChargeLedger: + return ChargeLedger(self.node_count, self.interface_count, + self.entries + (entry,), self.sheets) + + def with_sheet(self, sheet: SheetChargeEntry) -> ChargeLedger: + return ChargeLedger(self.node_count, self.interface_count, + self.entries, self.sheets + (sheet,)) + + @property + def groups(self) -> tuple[str, ...]: + return self._groups + + def entry(self, entry_id: str) -> ChargeEntry: + for entry in self.entries: + if entry.id == entry_id: + return entry + raise KeyError(entry_id) + + def space_charge_C_m3(self) -> NDArray[np.float64]: + """Volumetric charge density [C/m^3] on the nodes.""" + rho: NDArray[np.float64] | None = None + for group in self._groups: + accumulated: NDArray[np.float64] | None = None + for entry in self.entries: + if entry.group != group: + continue + term = entry.net_population() + z = entry.charge_number + if accumulated is None: + accumulated = term if z == 1 else (-term if z == -1 else z * term) + elif z == 1: + accumulated = accumulated + term + elif z == -1: + accumulated = accumulated - term + else: + accumulated = accumulated + z * term + assert accumulated is not None + contribution: NDArray[np.float64] = ELEMENTARY_CHARGE_C * accumulated + rho = contribution if rho is None else rho + contribution + if rho is None: + return np.zeros(self.node_count) + return rho + + def space_charge_derivative(self, entry_id: str) -> float: + """``d rho / d density`` [C] of one entry; its background enters with minus.""" + return float(self.entry(entry_id).charge_number * ELEMENTARY_CHARGE_C) + + def sheet_charge_C_m2(self) -> NDArray[np.float64]: + """Total areal charge per interface, summed in declaration order.""" + sigma = np.zeros(self.interface_count) + for sheet in self.sheets: + sigma[sheet.interface] = sigma[sheet.interface] + sheet.charge_C_m2 + return sigma + + def total_charge_C_m2(self, cell_measures_m: ArrayLike) -> float: + """Net charge per unit cross-section: ``sum(w*rho) + sum(sigma)``.""" + measures = np.asarray(cell_measures_m, dtype=float) + if measures.shape != (self.node_count,) or np.any(measures <= 0.0): + raise ValueError("cell measures must match the ledger nodes") + volumetric = (measures * self.space_charge_C_m3()).tolist() + return math.fsum(volumetric + self.sheet_charge_C_m2().tolist()) diff --git a/src/solarlab/physics/electrostatics/gauss_assembly.py b/src/solarlab/physics/electrostatics/gauss_assembly.py new file mode 100644 index 00000000..4970eb68 --- /dev/null +++ b/src/solarlab/physics/electrostatics/gauss_assembly.py @@ -0,0 +1,59 @@ +"""Gauss law assembled through the public TermSink contract (N class). + +The same algebraic Poisson residual as +:meth:`~solarlab.physics.electrostatics.poisson.PoissonOperator1D.interior_residual`, +but the constitutive displacement and charge density are handed to +:class:`~solarlab.contracts.TermSink` unweighted, which applies the cell and face +measures exactly once. With unit face measures every term is the historical +product and IEEE addition is commutative, so the rows are bitwise equal to the +historical residual and contact displacements on every finite state whose row +is not an exact zero. The one difference is the sign of an exact zero: the +contract accumulator starts from ``+0.0``, so a row whose historical value is +``-0.0`` comes back ``+0.0``. That byte difference is why this stays N class. +""" + +from __future__ import annotations + +import numpy as np +from numpy.typing import ArrayLike, NDArray + +from solarlab.contracts import ( + AREA, COULOMB, VOLUME, CellSource, EquationSpec, FaceFlux, Geometry, Layout, Support, + TermSink, +) +from solarlab.mesh.geometry import ControlVolumeGeometry1D +from solarlab.physics.electrostatics.poisson import PoissonOperator1D + +__all__ = ["GAUSS_EQUATION", "gauss_balance_with_term_sink"] + +GAUSS_EQUATION = "electrostatics.gauss" + + +def gauss_balance_with_term_sink(operator: PoissonOperator1D, + geometry: ControlVolumeGeometry1D, + phi: ArrayLike, rho_C_m3: ArrayLike) -> NDArray[np.float64]: + """Assemble ``sum(inflow D) + w*rho`` on every cell through the public TermSink. + + The constitutive displacement and charge density are handed over unweighted; + TermSink applies the cell/face measures once. Interior rows equal + :meth:`PoissonOperator1D.interior_residual` bitwise up to the sign of an + exact zero; the two contact rows are ``-D(left contact)`` and + ``+D(right contact)``. + """ + if geometry.node_count != operator.node_count: + raise ValueError("geometry and operator must share the nodes") + n = geometry.node_count + layout = Layout( + (Support("cells", "cell", (n,)), Support("faces", "face", (n - 1,))), + (), + (EquationSpec(GAUSS_EQUATION, "electrostatics", "cells", (n,), COULOMB / AREA, + role="constraint"),), + ) + contract_geometry: Geometry = geometry.to_contract_geometry() + sink = TermSink(layout, GAUSS_EQUATION, contract_geometry) + sink.add(FaceFlux("electrostatics.displacement", "faces", + operator.face_displacement(phi), COULOMB / AREA)) + sink.add(CellSource("electrostatics.space_charge", "cells", + np.asarray(rho_C_m3, dtype=float), COULOMB / VOLUME)) + balance: NDArray[np.float64] = sink.value() + return balance diff --git a/src/solarlab/physics/electrostatics/interface_traces.py b/src/solarlab/physics/electrostatics/interface_traces.py new file mode 100644 index 00000000..14584319 --- /dev/null +++ b/src/solarlab/physics/electrostatics/interface_traces.py @@ -0,0 +1,210 @@ +"""Two-sided interface declarations and the electrostatic (Gauss-jump) traces. + +At a two-sided heterointerface three different kinds of local unknowns exist +and are declared separately, with different supports, units and domains: + +* carrier traces ``n_L, p_L, n_R, p_R`` -- volumetric densities [m^-3] at the + two sides of the plane; +* electrostatic potential traces ``phi_L, phi_R`` [V]; +* trap occupancy ``f`` -- dimensionless, in ``[0, 1]``. + +A carrier trace is never an occupancy. The interface sheet charge enters only +through the Gauss jump ``C_L(phi_L - phi_bulk,L) + C_R(phi_R - phi_bulk,R) = sigma`` +with the potential jump ``phi_R - phi_L = Delta``. The functions below reproduce +the historical trace residual, its exact solution and the row weights used to +fold an eliminated sheet charge into deduplicated bulk Poisson rows. +""" + +from __future__ import annotations + +from dataclasses import dataclass +import math +from typing import Sequence + +import numpy as np +from numpy.typing import ArrayLike, NDArray + +from solarlab.contracts import ( + ONE, PARTICLE, VOLT, VOLUME, Layout, Support, VariableSpec, +) +from solarlab.discretization.face_average import VACUUM_PERMITTIVITY_F_M +from solarlab.mesh.geometry import InterfacePlane + +__all__ = [ + "CARRIER_TRACE_UNIT", "InterfaceTraceDeclaration", "OCCUPANCY_UNIT", "TraceElectrostatics", + "add_sheet_charge_to_interior_residual", "electrostatic_trace_residual_and_jacobian", + "interface_trace_layout", "require_carrier_trace", "require_occupancy", + "sheet_charge_row_weights", "solve_electrostatic_traces", +] + +EPS_0 = VACUUM_PERMITTIVITY_F_M +CARRIER_TRACE_UNIT = PARTICLE / VOLUME +OCCUPANCY_UNIT = ONE + +LEFT_TRACE_SUPPORT = "interfaces.left_trace" +RIGHT_TRACE_SUPPORT = "interfaces.right_trace" +PLANE_SUPPORT = "interfaces.plane" + + +@dataclass(frozen=True) +class InterfaceTraceDeclaration: + """The separately owned variables of a set of two-sided interfaces.""" + + carrier_traces: tuple[VariableSpec, ...] + potential_traces: tuple[VariableSpec, ...] + trap_occupancy: VariableSpec + layout: Layout + + +def interface_trace_layout(interface_count: int, *, + owner: str = "interfaces") -> InterfaceTraceDeclaration: + """Declare carrier traces, potential traces and occupancy for each interface.""" + if type(interface_count) is not int or interface_count < 1: + raise ValueError("at least one interface is required") + shape = (interface_count,) + supports = ( + Support(LEFT_TRACE_SUPPORT, "face", shape), + Support(RIGHT_TRACE_SUPPORT, "face", shape), + Support(PLANE_SUPPORT, "face", shape), + ) + carriers = tuple( + VariableSpec(f"{owner}.{name}", owner, support, shape, CARRIER_TRACE_UNIT, lower=0.0) + for name, support in (("n_left", LEFT_TRACE_SUPPORT), ("p_left", LEFT_TRACE_SUPPORT), + ("n_right", RIGHT_TRACE_SUPPORT), ("p_right", RIGHT_TRACE_SUPPORT)) + ) + potentials = ( + VariableSpec(f"{owner}.phi_left", owner, LEFT_TRACE_SUPPORT, shape, VOLT, + role="constraint"), + VariableSpec(f"{owner}.phi_right", owner, RIGHT_TRACE_SUPPORT, shape, VOLT, + role="constraint"), + ) + occupancy = VariableSpec(f"{owner}.trap_occupancy", owner, PLANE_SUPPORT, shape, + OCCUPANCY_UNIT, lower=0.0, upper=1.0) + layout = Layout(supports, carriers + potentials + (occupancy,), ()) + return InterfaceTraceDeclaration(carriers, potentials, occupancy, layout) + + +def require_occupancy(spec: VariableSpec) -> VariableSpec: + """Accept only a dimensionless variable bounded to [0, 1] as an occupancy.""" + if spec.unit != OCCUPANCY_UNIT or spec.lower != 0.0 or spec.upper != 1.0: + raise ValueError(f"{spec.id} is not a trap occupancy in [0, 1]") + return spec + + +def require_carrier_trace(spec: VariableSpec) -> VariableSpec: + """Accept only a non-negative volumetric density as a carrier trace.""" + if spec.unit != CARRIER_TRACE_UNIT or spec.lower != 0.0: + raise ValueError(f"{spec.id} is not a carrier trace density [m^-3]") + return spec + + +@dataclass(frozen=True) +class TraceElectrostatics: + """Geometry and electrostatic jump data for one physical interface.""" + + left_distance_m: float + right_distance_m: float + eps_r_left: float + eps_r_right: float + potential_jump_right_minus_left_V: float = 0.0 + fixed_sheet_charge_C_m2: float = 0.0 + + def __post_init__(self) -> None: + for name in ("left_distance_m", "right_distance_m", "eps_r_left", "eps_r_right"): + value = float(getattr(self, name)) + if not math.isfinite(value) or value <= 0.0: + raise ValueError(f"{name} must be finite and positive") + for name in ("potential_jump_right_minus_left_V", "fixed_sheet_charge_C_m2"): + if not math.isfinite(float(getattr(self, name))): + raise ValueError(f"{name} must be finite") + + @classmethod + def from_plane(cls, plane: InterfacePlane, eps_r_left: float, eps_r_right: float, *, + potential_jump_V: float = 0.0, + sheet_charge_C_m2: float = 0.0) -> TraceElectrostatics: + return cls(plane.left_distance_m, plane.right_distance_m, eps_r_left, eps_r_right, + potential_jump_V, sheet_charge_C_m2) + + +def electrostatic_trace_residual_and_jacobian( + trace_potentials_V: ArrayLike, + geometry: TraceElectrostatics, + phi_bulk_left_V: float, + phi_bulk_right_V: float, +) -> tuple[NDArray[np.float64], NDArray[np.float64]]: + """Potential-jump and Gauss-law residuals plus their Jacobian (historical).""" + values = np.asarray(trace_potentials_V, dtype=float) + if values.shape != (2,) or not np.all(np.isfinite(values)): + raise ValueError("trace_potentials_V must contain two finite values") + phi_left, phi_right = (float(value) for value in values) + capacitance_left = EPS_0 * float(geometry.eps_r_left) / float(geometry.left_distance_m) + capacitance_right = EPS_0 * float(geometry.eps_r_right) / float(geometry.right_distance_m) + residual = np.array( + [ + phi_right - phi_left - float(geometry.potential_jump_right_minus_left_V), + capacitance_left * (phi_left - float(phi_bulk_left_V)) + + capacitance_right * (phi_right - float(phi_bulk_right_V)) + - float(geometry.fixed_sheet_charge_C_m2), + ], + dtype=float, + ) + jacobian = np.array([[-1.0, 1.0], [capacitance_left, capacitance_right]], dtype=float) + return residual, jacobian + + +def solve_electrostatic_traces( + geometry: TraceElectrostatics, + phi_bulk_left_V: float, + phi_bulk_right_V: float, +) -> tuple[float, float]: + """Solve the two linear electrostatic interface constraints exactly.""" + capacitance_left = EPS_0 * float(geometry.eps_r_left) / float(geometry.left_distance_m) + capacitance_right = EPS_0 * float(geometry.eps_r_right) / float(geometry.right_distance_m) + jump = float(geometry.potential_jump_right_minus_left_V) + denominator = capacitance_left + capacitance_right + phi_left = ( + capacitance_left * float(phi_bulk_left_V) + + capacitance_right * float(phi_bulk_right_V) + + float(geometry.fixed_sheet_charge_C_m2) + - capacitance_right * jump + ) / denominator + phi_right = phi_left + jump + return phi_left, phi_right + + +def sheet_charge_row_weights(eps_r_left: float, left_distance_m: float, + eps_r_right: float, right_distance_m: float) -> tuple[float, float]: + """Share of an eliminated sheet charge that each adjacent bulk row receives.""" + capacitance_left = EPS_0 * float(eps_r_left) / float(left_distance_m) + capacitance_right = EPS_0 * float(eps_r_right) / float(right_distance_m) + capacitance_sum = capacitance_left + capacitance_right + return capacitance_left / capacitance_sum, capacitance_right / capacitance_sum + + +def add_sheet_charge_to_interior_residual( + interior_residual: NDArray[np.float64], + planes: Sequence[InterfacePlane], + eps_r_node: ArrayLike, + sheet_charge_C_m2: ArrayLike, +) -> None: + """Fold eliminated sheet charges into interior Poisson rows, in place. + + Row ``k`` of ``interior_residual`` belongs to node ``k + 1``. Each plane must + have adjacent interior bulk nodes, as on a two-sided geometry. + """ + permittivity = np.asarray(eps_r_node, dtype=float) + sheets = np.asarray(sheet_charge_C_m2, dtype=float) + node_count = interior_residual.size + 2 + if sheets.shape != (len(planes),) or permittivity.shape != (node_count,): + raise ValueError("sheet charges and permittivity must match the planes and nodes") + for index, plane in enumerate(planes): + left, right = plane.left_node, plane.right_node + if left <= 0 or right >= node_count - 1 or right != left + 1: + raise ValueError("charged two-sided interfaces require adjacent interior nodes") + weight_left, weight_right = sheet_charge_row_weights( + float(permittivity[left]), plane.left_distance_m, + float(permittivity[right]), plane.right_distance_m, + ) + sheet = sheets[index] + interior_residual[left - 1] += weight_left * sheet + interior_residual[right - 1] += weight_right * sheet diff --git a/src/solarlab/physics/electrostatics/poisson.py b/src/solarlab/physics/electrostatics/poisson.py new file mode 100644 index 00000000..6027eda2 --- /dev/null +++ b/src/solarlab/physics/electrostatics/poisson.py @@ -0,0 +1,249 @@ +"""1D Poisson/Gauss law as an algebraic residual on named control volumes. + +The electrostatic potential is a constrained variable: on every interior node + + C_-(phi_{i-1} - phi_i) + C_+(phi_{i+1} - phi_i) + rho_i w_i = 0 + +(net inflow of displacement plus enclosed charge, per unit cross-section), +with the original Dirichlet contact rows ``phi_0 = phi_left`` and +``phi_{N-1} = phi_right``. Face capacitances ``C = eps0*eps_face/h`` and the +interior widths ``w`` are taken from the channel's own historical geometry; +they are never replaced by a global default. + +:class:`PoissonFactorization` eliminates the constraint for a given charge with +the same LAPACK tridiagonal factorisation as the legacy MoL. It is an exact +elimination tool for the algebraic constraint, not a new default solve path. +""" + +from __future__ import annotations + +from dataclasses import dataclass +import math + +import numpy as np +from numpy.typing import ArrayLike, NDArray +from scipy.linalg.lapack import dgttrf, dgttrs +from scipy.sparse import csc_matrix, diags + +from solarlab.contracts.arrays import ImmutableArrays, frozen_array +from solarlab.discretization.face_average import ( + VACUUM_PERMITTIVITY_F_M, harmonic_face_mean, series_face_capacitance, +) +from solarlab.mesh.geometry import ( + HALF_ENDPOINT_V1, INTEGER_ENDPOINT_V1, PHYSICAL_BOUNDARY_TWO_SIDED_V1, + TWO_SIDED_TRACE_V1, ControlVolumeGeometry1D, +) + +__all__ = ["PoissonFactorization", "PoissonOperator1D", "contact_displacement"] + +EPS_0 = VACUUM_PERMITTIVITY_F_M + + +@dataclass(frozen=True) +class PoissonOperator1D(ImmutableArrays): + """Face capacitances [F/m^2] and interior control widths [m] of one channel.""" + + face_capacitance_F_m2: NDArray[np.float64] + interior_widths_m: NDArray[np.float64] + geometry_name: str + + def __post_init__(self) -> None: + C = frozen_array(self.face_capacitance_F_m2) + widths = frozen_array(self.interior_widths_m) + if C.ndim != 1 or C.size < 2 or np.any(C <= 0.0): + raise ValueError("face capacitances must be a finite positive vector") + if widths.shape != (C.size - 1,) or np.any(widths <= 0.0): + raise ValueError("interior cell widths must be finite, positive, and match faces") + if not self.geometry_name: + raise ValueError("a Poisson operator must name its geometry channel") + object.__setattr__(self, "face_capacitance_F_m2", C) + object.__setattr__(self, "interior_widths_m", widths) + + @property + def node_count(self) -> int: + return int(self.face_capacitance_F_m2.size + 1) + + @classmethod + def from_harmonic_nodes(cls, x: ArrayLike, eps_r: ArrayLike, *, + geometry_name: str = INTEGER_ENDPOINT_V1) -> PoissonOperator1D: + """Historical MoL/2D channel: harmonic face permittivity of nodal values.""" + grid = np.asarray(x, dtype=float) + permittivity = np.asarray(eps_r, dtype=float) + if grid.ndim != 1 or permittivity.shape != grid.shape or grid.size < 3: + raise ValueError("grid and nodal permittivity must be matching 1-D arrays") + if np.any(np.diff(grid) <= 0.0) or np.any(permittivity <= 0.0): + raise ValueError("grid must increase and permittivity must be positive") + h = np.diff(grid) + eps_face = harmonic_face_mean(permittivity) + C = EPS_0 * eps_face / h + h_cell = 0.5 * (h[:-1] + h[1:]) + return cls(C, h_cell, geometry_name) + + @classmethod + def from_finite_volume(cls, face_capacitance_F_m2: ArrayLike, + interior_widths_m: ArrayLike, *, + geometry_name: str) -> PoissonOperator1D: + """Explicit series capacitances and charge-control volumes.""" + return cls(np.asarray(face_capacitance_F_m2, dtype=float), + np.asarray(interior_widths_m, dtype=float), geometry_name) + + @classmethod + def for_geometry(cls, geometry: ControlVolumeGeometry1D, + eps_r_node: ArrayLike) -> PoissonOperator1D: + """The channel each named geometry historically used. + + Integer/half-endpoint grids keep the harmonic nodal mean. Two-sided + geometries replace each interface face by its exact series capacitance + at the true plane and use their own carrier control volumes. + """ + nodes = geometry.nodes_m + permittivity = np.asarray(eps_r_node, dtype=float) + if permittivity.shape != nodes.shape: + raise ValueError("permittivity must be given on the geometry nodes") + base = cls.from_harmonic_nodes(nodes, permittivity, geometry_name=geometry.name) + if geometry.name in {INTEGER_ENDPOINT_V1, HALF_ENDPOINT_V1}: + return base + if geometry.name not in {TWO_SIDED_TRACE_V1, PHYSICAL_BOUNDARY_TWO_SIDED_V1}: + raise ValueError(f"no historical Poisson channel for {geometry.name!r}") + capacitance = np.asarray(base.face_capacitance_F_m2, dtype=float).copy() + for plane in geometry.interfaces: + capacitance[plane.left_node] = series_face_capacitance( + plane.left_distance_m, float(permittivity[plane.left_node]), + plane.right_distance_m, float(permittivity[plane.right_node]), + ) + return cls(capacitance, geometry.cell_measures_m[1:-1], geometry.name) + + def interior_residual(self, phi: ArrayLike, rho_C_m3: ArrayLike) -> NDArray[np.float64]: + """Gauss balance of nodes ``1..N-2`` [C/m^2] (historical expression).""" + potential = self._nodal(phi, "phi") + charge = self._nodal(rho_C_m3, "rho") + C = self.face_capacitance_F_m2 + residual: NDArray[np.float64] = ( + C[:-1] * (potential[:-2] - potential[1:-1]) + + C[1:] * (potential[2:] - potential[1:-1]) + + charge[1:-1] * self.interior_widths_m + ) + return residual + + def residual(self, phi: ArrayLike, rho_C_m3: ArrayLike, phi_left: float, + phi_right: float) -> NDArray[np.float64]: + """All N rows: Dirichlet constraint rows around the interior Gauss rows.""" + potential = self._nodal(phi, "phi") + if not (math.isfinite(phi_left) and math.isfinite(phi_right)): + raise ValueError("contact potentials must be finite") + rows = np.empty(self.node_count) + rows[0] = potential[0] - phi_left + rows[-1] = potential[-1] - phi_right + rows[1:-1] = self.interior_residual(potential, rho_C_m3) + return rows + + def jacobian(self) -> csc_matrix: + """``d residual / d phi`` (constant, tridiagonal) for :meth:`residual`.""" + C = self.face_capacitance_F_m2 + n = self.node_count + diagonal = np.ones(n) + diagonal[1:-1] = -(C[:-1] + C[1:]) + lower = np.zeros(n - 1) + upper = np.zeros(n - 1) + lower[:-1] = C[:-1] # row i, column i-1, for i = 1..N-2 + upper[1:] = C[1:] # row i, column i+1, for i = 1..N-2 + matrix: csc_matrix = diags([lower, diagonal, upper], [-1, 0, 1], format="csc") + return matrix + + def charge_jacobian(self) -> NDArray[np.float64]: + """``d residual_i / d rho_i`` (diagonal): interior widths, zero on contact rows.""" + derivative = np.zeros(self.node_count) + derivative[1:-1] = self.interior_widths_m + return derivative + + def face_displacement(self, phi: ArrayLike) -> NDArray[np.float64]: + """Displacement ``D = -C*dphi`` [C/m^2] on the N-1 faces, oriented along +x.""" + potential = self._nodal(phi, "phi") + displacement: NDArray[np.float64] = -self.face_capacitance_F_m2 * np.diff(potential) + return displacement + + def _nodal(self, value: ArrayLike, label: str) -> NDArray[np.float64]: + array = np.asarray(value, dtype=float) + if array.shape != (self.node_count,) or not np.all(np.isfinite(array)): + raise ValueError(f"{label} must be a finite array on the operator nodes") + return array + + +def contact_displacement(face_displacement_C_m2: ArrayLike, rho_C_m3: ArrayLike, + widths_m: ArrayLike) -> NDArray[np.float64]: + """Gauss extension from the first/last internal faces to the two contacts.""" + face_d = np.asarray(face_displacement_C_m2, dtype=float) + rho = np.asarray(rho_C_m3, dtype=float) + widths = np.asarray(widths_m, dtype=float) + return np.asarray( + [ + face_d[0] - rho[0] * widths[0], + face_d[-1] + rho[-1] * widths[-1], + ] + ) + + +@dataclass(frozen=True) +class PoissonFactorization: + """Precomputed LAPACK LU of the interior Poisson tridiagonal (legacy identical). + + SciPy's ``dgttrf`` wrapper cannot infer ``n < 3``; such tiny operators are + embedded in a decoupled 3x3 block whose dummy rows are discarded. + """ + + C: NDArray[np.float64] + h_cell: NDArray[np.float64] + dl: NDArray[np.float64] + d: NDArray[np.float64] + du: NDArray[np.float64] + du2: NDArray[np.float64] + ipiv: NDArray[np.int32] + N: int + + @classmethod + def factor(cls, operator: PoissonOperator1D) -> PoissonFactorization: + C = np.asarray(operator.face_capacitance_F_m2, dtype=float) + h_cell = np.asarray(operator.interior_widths_m, dtype=float) + N = C.size + 1 + dia = -(C[:-1] + C[1:]) # (N-2,) main diagonal + off = C[1:-1].copy() # (N-3,) sub- and super-diagonals + physical_interior = dia.size + if physical_interior < 3: + padded_dia: NDArray[np.float64] = -np.ones(3, dtype=float) + padded_dia[:physical_interior] = dia + padded_off: NDArray[np.float64] = np.zeros(2, dtype=float) + if physical_interior == 2: + padded_off[0] = off[0] + dia = padded_dia + off = padded_off + dl_in = off.astype(np.float64) + d_in = dia.astype(np.float64) + du_in = off.astype(np.float64) + dl, d, du, du2, ipiv, info = dgttrf(dl_in, d_in, du_in) + if info != 0: + raise RuntimeError(f"dgttrf failed with info={info}") + return cls(C.copy(), h_cell.copy(), dl, d, du, du2, ipiv, N) + + def solve(self, rho_C_m3: ArrayLike, phi_left: float, + phi_right: float) -> NDArray[np.float64]: + """Potential satisfying every Poisson row for this charge and contacts.""" + rho = np.asarray(rho_C_m3, dtype=float) + N = self.N + C = self.C + rhs = -rho[1:-1] * self.h_cell + rhs[0] -= C[0] * phi_left + rhs[-1] -= C[-1] * phi_right + factor_size = self.d.size + if factor_size == rhs.size: + b = rhs.reshape(-1, 1) + else: + b = np.zeros((factor_size, 1), dtype=float) + b[: rhs.size, 0] = rhs + phi_int, info = dgttrs(self.dl, self.d, self.du, self.du2, self.ipiv, b) + if info != 0: + raise RuntimeError(f"dgttrs failed with info={info}") + phi = np.empty(N) + phi[0] = phi_left + phi[-1] = phi_right + phi[1:-1] = phi_int[: N - 2, 0] + return phi diff --git a/src/solarlab/physics/generation/__init__.py b/src/solarlab/physics/generation/__init__.py new file mode 100644 index 00000000..b91e572b --- /dev/null +++ b/src/solarlab/physics/generation/__init__.py @@ -0,0 +1,89 @@ +"""Optical generation constitutive layer (P04-07, values and DC). + +Monochromatic Beer-Lambert, coherent transfer-matrix optics with an optional +incoherent front substrate, explicitly supplied fixed generation arrays and +tabulated spectra/optical constants. Generation is integrated per control +volume (exact absorbed photons per cell) and divided by the caller's cell +measures; optical bindings carry a content identity so a profile is never +reused after its inputs change. Spectral Beer-Lambert is not provided (P08-04). +""" + +from solarlab.physics.generation.beer_lambert import ( + BeerLambertBinding, + beer_lambert_absorbed_photon_flux, + beer_lambert_generation, + beer_lambert_optical_depth, + face_optical_depth, +) +from solarlab.physics.generation.fixed import ( + BASELINE_GENERATION_REFERENCE, + FixedGenerationProfile, + fixed_generation_reference, +) +from solarlab.physics.generation.optical_binding import ( + INCIDENCE_SIDES, + OpticalLayerSpec, + OpticalStackBinding, + PhotonBudget, + constant_index_optical_constants, + graded_slice_centres, +) +from solarlab.physics.generation.profile import ( + GENERATION_SOURCE_UNIT, + ControlVolumes, + GenerationProfile, + StaleGenerationProfileError, + control_volume_digest, +) +from solarlab.physics.generation.spectrum import ( + SPECTRAL_PHOTON_FLUX_UNIT, + SpectralPhotonFlux, + sample_nk_table, + sample_tabulated, + wavelength_grid_m, +) +from solarlab.physics.generation.transfer_matrix import ( + TMMLayer, + dropped_multipass_fraction, + tmm_absorbed_photon_flux_per_cell, + tmm_absorption_profile, + tmm_cumulative_absorptance, + tmm_point_generation, + tmm_reflectance, + tmm_transmittance, +) + +__all__ = [ + "BASELINE_GENERATION_REFERENCE", + "BeerLambertBinding", + "ControlVolumes", + "FixedGenerationProfile", + "GENERATION_SOURCE_UNIT", + "GenerationProfile", + "INCIDENCE_SIDES", + "OpticalLayerSpec", + "OpticalStackBinding", + "PhotonBudget", + "SPECTRAL_PHOTON_FLUX_UNIT", + "SpectralPhotonFlux", + "StaleGenerationProfileError", + "TMMLayer", + "beer_lambert_absorbed_photon_flux", + "beer_lambert_generation", + "beer_lambert_optical_depth", + "constant_index_optical_constants", + "control_volume_digest", + "dropped_multipass_fraction", + "face_optical_depth", + "fixed_generation_reference", + "graded_slice_centres", + "sample_nk_table", + "sample_tabulated", + "tmm_absorbed_photon_flux_per_cell", + "tmm_absorption_profile", + "tmm_cumulative_absorptance", + "tmm_point_generation", + "tmm_reflectance", + "tmm_transmittance", + "wavelength_grid_m", +] diff --git a/src/solarlab/physics/generation/_validation.py b/src/solarlab/physics/generation/_validation.py new file mode 100644 index 00000000..2d22543d --- /dev/null +++ b/src/solarlab/physics/generation/_validation.py @@ -0,0 +1,50 @@ +"""Input checks shared by the generation modules; they never alter a value.""" + +from __future__ import annotations + +import hashlib + +import numpy as np + +__all__ = [ + "array_digest", + "require_cell_faces", + "require_node_coordinates", +] + + +def require_node_coordinates(x_nodes_m: np.ndarray) -> np.ndarray: + """Finite, strictly increasing 1D node coordinates with at least two nodes. + + A single node has no control volume, so it has no photon-conserving + generation either; it is rejected instead of point-sampled. + """ + + x = np.asarray(x_nodes_m, dtype=float) + if x.ndim != 1: + raise ValueError(f"x must be 1-D, got shape {x.shape}") + if x.shape[0] < 2: + raise ValueError("a control-volume generation needs at least two nodes") + if not np.all(np.isfinite(x)) or np.any(np.diff(x) <= 0.0): + raise ValueError("node coordinates must be finite and strictly increasing") + return x + + +def require_cell_faces(faces_m: np.ndarray) -> np.ndarray: + faces = np.asarray(faces_m, dtype=float) + if faces.ndim != 1 or faces.shape[0] < 2: + raise ValueError(f"faces must be 1-D with at least 2 entries, got shape {faces.shape}") + if not np.all(np.isfinite(faces)) or np.any(np.diff(faces) <= 0.0): + raise ValueError("cell faces must be finite and strictly increasing") + return faces + + +def array_digest(*arrays: np.ndarray) -> str: + """SHA-256 of little-endian float64 bytes and shapes, in argument order.""" + + digest = hashlib.sha256() + for array in arrays: + values = np.ascontiguousarray(np.asarray(array, dtype=" np.ndarray: + alpha = np.asarray(alpha_m1, dtype=float) + if alpha.ndim > 1 or (alpha.ndim == 1 and alpha.shape != x.shape): + raise ValueError(f"alpha must be scalar or shape {x.shape}, got {alpha.shape}") + if not np.all(np.isfinite(alpha)) or np.any(alpha < 0.0): + raise ValueError("alpha must be finite and non-negative") + return alpha + + +def _require_photon_flux(photon_flux_m2_s: float) -> float: + phi = float(photon_flux_m2_s) + if not math.isfinite(phi) or phi < 0.0: + raise ValueError("photon_flux_m2_s must be finite and non-negative") + return phi + + +def beer_lambert_optical_depth(x_nodes_m: np.ndarray, alpha_m1: Any) -> np.ndarray: + """Optical depth ``tau(x_i)`` from the first node (mid-face trapezoid).""" + + x = np.asarray(x_nodes_m, dtype=float) + alpha = np.asarray(alpha_m1, dtype=float) + if alpha.ndim == 0: + return float(alpha) * x + dx = np.diff(x) + alpha_mid = 0.5 * (alpha[:-1] + alpha[1:]) + cum = np.zeros_like(x) + cum[1:] = np.cumsum(alpha_mid * dx) + return cum + + +def face_optical_depth(x_nodes_m: np.ndarray, alpha_m1: Any, faces_m: np.ndarray) -> np.ndarray: + """Historical optical depth on the nodal linear interpolant, at each face.""" + + x = np.asarray(x_nodes_m, dtype=float) + faces = np.asarray(faces_m, dtype=float) + alpha = np.asarray(alpha_m1, dtype=float) + cum = beer_lambert_optical_depth(x, alpha) + interval = np.clip(np.searchsorted(x, faces, side="right") - 1, 0, x.size - 2) + if alpha.ndim == 0: + slope = np.full(x.size - 1, float(alpha)) + else: + slope = 0.5 * (alpha[:-1] + alpha[1:]) + tau = cum[interval] + (faces - x[interval]) * slope[interval] + midpoint = faces == 0.5 * (x[interval] + x[interval + 1]) + tau[midpoint] = 0.5 * (cum[interval[midpoint]] + cum[interval[midpoint] + 1]) + tau[faces == x[0]] = cum[0] + tau[faces == x[-1]] = cum[-1] + return tau + + +def _two_sided_absorbed_photon_flux( + control_volumes: ControlVolumes, alpha: np.ndarray, photon_flux_m2_s: float +) -> np.ndarray: + """Integrate constant material coefficients on true layer/cell extents.""" + nodes, faces, _ = require_control_volumes(control_volumes) + if alpha.ndim == 0 or np.all(alpha == alpha[0]): + coefficient = float(alpha) if alpha.ndim == 0 else float(alpha[0]) + cell_alpha = np.full(nodes.size, coefficient) + depth_left = coefficient * (faces[:-1] - nodes[0]) + else: + planes = getattr(control_volumes, "interfaces", None) + if planes is None or any(not isinstance(plane, InterfacePlane) for plane in planes): + raise ValueError( + "two-sided Beer-Lambert requires explicit interface planes " + "for nonuniform absorption" + ) + positions = np.asarray([plane.position_m for plane in planes], dtype=float) + if ( + not np.all(np.isfinite(positions)) + or np.any(np.diff(positions) <= 0.0) + or np.any(positions <= nodes[0]) + or np.any(positions >= nodes[-1]) + or np.any(np.isin(nodes, positions)) + or not np.all(np.isin(positions, faces)) + ): + raise ValueError( + "two-sided Beer-Lambert requires strictly interior interface " + "planes on cell faces, without shared nodes" + ) + boundaries = np.concatenate(([nodes[0]], positions, [nodes[-1]])) + owner = np.searchsorted(positions, nodes, side="right") + layer_alpha = np.empty(boundaries.size - 1) + for layer in range(layer_alpha.size): + values = alpha[owner == layer] + if values.size == 0 or not np.all(values == values[0]): + raise ValueError( + "two-sided Beer-Lambert requires piecewise-constant " + "absorption in each layer; varying or missing one-sided " + "layer coefficients are not supported" + ) + layer_alpha[layer] = values[0] + depth_front = np.concatenate( + ([0.0], np.cumsum(layer_alpha * np.diff(boundaries))) + ) + cell_owner = np.searchsorted(positions, faces[:-1], side="right") + cell_alpha = layer_alpha[cell_owner] + depth_left = ( + depth_front[cell_owner] + + cell_alpha * (faces[:-1] - boundaries[cell_owner]) + ) + # Each cell uses its actual extent, never its carrier storage weight. + # expm1 retains thin-cell absorption without subtracting transmissions. + depth_increment = cell_alpha * np.diff(faces) + return photon_flux_m2_s * np.exp(-depth_left) * -np.expm1(-depth_increment) + + +def beer_lambert_absorbed_photon_flux( + control_volumes: ControlVolumes, alpha_m1: Any, photon_flux_m2_s: float +) -> np.ndarray: + """Exact absorbed photons of each control volume [m^-2 s^-1], shape ``(N,)``. + + ``alpha_m1`` is a scalar or one value per node [m^-1]; ``photon_flux_m2_s`` + is the above-gap photon flux entering at the first node. + + Named two-sided channels interpret nodal coefficients as one-sided + piecewise-constant material values. They require explicit interface planes + and reject within-layer variation whose optical traces are unspecified. + """ + + nodes, faces, _ = require_control_volumes(control_volumes) + alpha = _require_absorption(nodes, alpha_m1) + phi = _require_photon_flux(photon_flux_m2_s) + if control_volumes.name in _TWO_SIDED_GEOMETRIES: + absorbed = _two_sided_absorbed_photon_flux(control_volumes, alpha, phi) + else: + tau_face = face_optical_depth(nodes, alpha, faces) + absorbed = phi * (np.exp(-tau_face[:-1]) - np.exp(-tau_face[1:])) + absorbed.setflags(write=False) + return absorbed + + +def beer_lambert_generation(control_volumes: ControlVolumes, alpha_m1: Any, photon_flux_m2_s: float) -> np.ndarray: + """Photon-conserving Beer-Lambert cell source ``absorbed / w`` [m^-3 s^-1].""" + + _, _, measures = require_control_volumes(control_volumes) + generation = beer_lambert_absorbed_photon_flux(control_volumes, alpha_m1, photon_flux_m2_s) / measures + generation.setflags(write=False) + return generation + + +@dataclass(frozen=True) +class BeerLambertBinding: + """Frozen monochromatic Beer-Lambert inputs on one node set.""" + + x_nodes_m: np.ndarray + alpha_m1: np.ndarray + photon_flux_m2_s: float + sha256: str = field(init=False) + + def __post_init__(self) -> None: + x = np.array(self.x_nodes_m, dtype=float, copy=True) + if x.ndim != 1 or x.size < 2 or not np.all(np.isfinite(x)) or np.any(np.diff(x) <= 0.0): + raise ValueError("x_nodes_m must be finite and strictly increasing with >= 2 nodes") + alpha = np.array(_require_absorption(x, self.alpha_m1), copy=True) + phi = _require_photon_flux(self.photon_flux_m2_s) + x.setflags(write=False) + alpha.setflags(write=False) + object.__setattr__(self, "x_nodes_m", x) + object.__setattr__(self, "alpha_m1", alpha) + object.__setattr__(self, "photon_flux_m2_s", phi) + header = json.dumps( + {"model": "beer_lambert_monochromatic_v1", "photon_flux_m2_s": repr(phi)}, + sort_keys=True, + separators=(",", ":"), + ).encode("ascii") + object.__setattr__(self, "sha256", hashlib.sha256(header + array_digest(x, alpha).encode("ascii")).hexdigest()) + + def generation_profile(self, control_volumes: ControlVolumes) -> GenerationProfile: + nodes, _, measures = require_control_volumes(control_volumes) + if nodes.tobytes() != self.x_nodes_m.tobytes(): + raise StaleGenerationProfileError("control volumes are not on this binding's nodes") + absorbed = beer_lambert_absorbed_photon_flux(control_volumes, self.alpha_m1, self.photon_flux_m2_s) + return GenerationProfile( + method="beer_lambert", + geometry_name=str(control_volumes.name), + source_m3_s=absorbed / measures, + absorbed_m2_s=absorbed, + binding_sha256=self.sha256, + control_volume_sha256=control_volume_digest(control_volumes), + ) diff --git a/src/solarlab/physics/generation/fixed.py b/src/solarlab/physics/generation/fixed.py new file mode 100644 index 00000000..472c6c54 --- /dev/null +++ b/src/solarlab/physics/generation/fixed.py @@ -0,0 +1,80 @@ +"""Explicitly supplied fixed generation arrays (the existing tandem path). + +A caller that already owns a cell-averaged generation profile on the +electrical nodes (e.g. the sub-cell split of a combined tandem TMM) injects +it verbatim. The array must be finite and have one value per node; its +provenance string is the historical ``sha256:`` digest of its shape and +little-endian float64 bytes, so protocol identities are unchanged. There is +deliberately no file or coordinate-table loader here: none existed, and a +new profile-file entry is not a migration. +""" + +from __future__ import annotations + +from dataclasses import dataclass, field +import hashlib + +import numpy as np + +from solarlab.physics.generation.profile import ( + ControlVolumes, + GenerationProfile, + control_volume_digest, + require_control_volumes, +) + +__all__ = ["BASELINE_GENERATION_REFERENCE", "FixedGenerationProfile", "fixed_generation_reference"] + +#: Provenance label of a run that keeps the stack's own optical generation. +BASELINE_GENERATION_REFERENCE = "stack_baseline_generation" + + +def fixed_generation_reference(generation: np.ndarray | None) -> str: + """Historical provenance string of a supplied generation array (or its absence).""" + + if generation is None: + return BASELINE_GENERATION_REFERENCE + values = np.ascontiguousarray(np.asarray(generation, dtype=" None: + if type(self.node_count) is not int or self.node_count < 1: + raise ValueError("node_count must be a positive integer") + values = np.array(self.values_m3_s, dtype=float, copy=True) + if values.shape != (self.node_count,): + raise ValueError( + f"fixed_generation shape {values.shape} != expected ({self.node_count},)" + ) + reference = fixed_generation_reference(values) + values.setflags(write=False) + object.__setattr__(self, "values_m3_s", values) + object.__setattr__(self, "source_reference", reference) + + def generation_profile(self, control_volumes: ControlVolumes) -> GenerationProfile: + """The supplied source verbatim; its cell photons follow from the measures.""" + + _, _, measures = require_control_volumes(control_volumes) + if measures.shape != (self.node_count,): + raise ValueError("control volumes do not match the supplied generation's node count") + return GenerationProfile( + method="fixed", + geometry_name=str(control_volumes.name), + source_m3_s=self.values_m3_s, + absorbed_m2_s=self.values_m3_s * measures, + binding_sha256=self.source_reference, + control_volume_sha256=control_volume_digest(control_volumes), + ) diff --git a/src/solarlab/physics/generation/optical_binding.py b/src/solarlab/physics/generation/optical_binding.py new file mode 100644 index 00000000..6c71dd5a --- /dev/null +++ b/src/solarlab/physics/generation/optical_binding.py @@ -0,0 +1,388 @@ +"""Optical binding of a device stack: the inputs a TMM generation depends on. + +``OpticalStackBinding`` freezes the full optical stack (including optical-only +layers such as a glass substrate), the wavelength grid, the spectral photon +flux, the bounding media, the incidence side and any declared temperature / +composition dependence, and identifies them by one SHA-256. A generation +profile carries that identity, so changing any input forces recomputation. + +Coordinates. The optical coordinate starts at the illuminated front face of +``layers[0]``. Optical-only layers must form a contiguous front prefix (the +existing substrate rule); the electrical coordinate starts at the first +electrical layer, so ``optical = electrical + electrical_offset_m``. +Incidence is the front face only -- the single existing behaviour; any other +side is rejected rather than approximated. + +Photon budget. Per wavelength, ``R + T + sum_layers A + dropped = 1`` where +``dropped`` is the documented incoherent-bypass multi-pass term (zero for a +coherent stack). Electrical-layer absorption is the generation budget; +optical-only (parasitic) absorption never generates carriers. + +The arithmetic of the generation path is the historical one +(``_compute_tmm_generation``), so profiles reproduce bit for bit. +""" + +from __future__ import annotations + +from collections.abc import Mapping +from dataclasses import dataclass, field +import hashlib +import json +import math + +import numpy as np + +from solarlab.physics.generation._validation import ( + array_digest, + require_cell_faces, + require_node_coordinates, +) +from solarlab.physics.generation.profile import ( + ControlVolumes, + GenerationProfile, + control_volume_digest, + require_control_volumes, +) +from solarlab.physics.generation.spectrum import SpectralPhotonFlux, wavelength_grid_m +from solarlab.physics.generation.transfer_matrix import ( + TMMLayer, + dropped_multipass_fraction, + tmm_absorbed_photon_flux_per_cell, + tmm_absorption_profile, + tmm_cumulative_absorptance, + tmm_reflectance, + tmm_transmittance, +) + +__all__ = [ + "INCIDENCE_SIDES", + "OpticalLayerSpec", + "OpticalStackBinding", + "PhotonBudget", + "constant_index_optical_constants", + "graded_slice_centres", +] + +INCIDENCE_SIDES = ("front",) +_WINDOW_TOLERANCE_M = 1e-15 + + +@dataclass(frozen=True) +class OpticalLayerSpec: + """One optical layer (or one slice of a graded physical layer). + + ``n`` and ``k`` are sampled on the binding's wavelength grid. Slices of + one physical layer share ``name`` and must be contiguous. + """ + + name: str + thickness_m: float + n: np.ndarray + k: np.ndarray + incoherent: bool = False + electrical: bool = True + + def __post_init__(self) -> None: + if not isinstance(self.name, str) or not self.name.strip(): + raise ValueError("optical layer requires a name") + thickness = float(self.thickness_m) + if not math.isfinite(thickness) or thickness <= 0.0: + raise ValueError(f"{self.name}: thickness_m must be finite and positive") + n = np.array(self.n, dtype=float, copy=True) + k = np.array(self.k, dtype=float, copy=True) + if n.ndim != 1 or k.shape != n.shape: + raise ValueError(f"{self.name}: n and k must be 1-D arrays of one length") + if not np.all(np.isfinite(n)) or not np.all(np.isfinite(k)) or np.any(n <= 0.0) or np.any(k < 0.0): + raise ValueError(f"{self.name}: n must be finite positive and k finite non-negative") + n.setflags(write=False) + k.setflags(write=False) + object.__setattr__(self, "thickness_m", thickness) + object.__setattr__(self, "n", n) + object.__setattr__(self, "k", k) + object.__setattr__(self, "incoherent", bool(self.incoherent)) + object.__setattr__(self, "electrical", bool(self.electrical)) + + +def constant_index_optical_constants( + wavelengths_nm: np.ndarray, + *, + absorption_coefficient_m1: float, + refractive_index: float | None = None, + relative_permittivity: float | None = None, +) -> tuple[np.ndarray, np.ndarray]: + """``(n, k)`` of a layer without tabulated optical constants. + + ``n`` is the declared constant index, or ``sqrt(eps_r)`` when none is + declared; ``k = alpha lam / (4 pi)`` reproduces the layer's scalar + absorption coefficient at every wavelength (historical fallback). + """ + + wavelengths = np.asarray(wavelengths_nm, dtype=float) + if refractive_index is not None: + n = np.full(len(wavelengths), refractive_index) + elif relative_permittivity is not None: + n = np.full(len(wavelengths), np.sqrt(relative_permittivity)) + else: + raise ValueError("a constant-index layer needs refractive_index or relative_permittivity") + k = absorption_coefficient_m1 * wavelength_grid_m(wavelengths) / (4.0 * np.pi) + return n, k + + +def graded_slice_centres(thickness_m: float, slices: int) -> tuple[np.ndarray, float]: + """Slice-centre positions and the common slice thickness of a graded layer. + + The composition (and hence n, k) of each slice is evaluated at these + centres by the composition binding (P04-11); this is only the geometry. + """ + + if type(slices) is not int or slices < 1: + raise ValueError("slices must be a positive integer") + thickness = float(thickness_m) + if not math.isfinite(thickness) or thickness <= 0.0: + raise ValueError("thickness_m must be finite and positive") + centres = (np.arange(slices, dtype=float) + 0.5) * (thickness / slices) + return centres, thickness / slices + + +def _canonical_dependencies(value: Mapping[str, object] | tuple) -> tuple[tuple[str, str], ...]: + items = dict(value) if isinstance(value, Mapping) else dict(value) + canonical: list[tuple[str, str]] = [] + for key in sorted(items): + if not isinstance(key, str) or not key.strip(): + raise ValueError("dependency names must be non-empty strings") + raw = items[key] + if isinstance(raw, bool) or not isinstance(raw, (int, float, str)): + raise ValueError(f"dependency {key!r} must be a number or a string") + if isinstance(raw, float) and not math.isfinite(raw): + raise ValueError(f"dependency {key!r} must be finite") + canonical.append((key, repr(float(raw)) if isinstance(raw, (int, float)) else raw)) + return tuple(canonical) + + +@dataclass(frozen=True) +class PhotonBudget: + """Spectral and integrated photon bookkeeping of one optical binding. + + Integrated values are photon fluxes [m^-2 s^-1] (trapezoid over the + metre wavelength grid, the same rule the generation uses). + """ + + wavelengths_nm: np.ndarray + incident_spectral_m2_s_m: np.ndarray + reflectance: np.ndarray + transmittance: np.ndarray + layer_absorptance: np.ndarray + dropped_multipass: np.ndarray + layer_names: tuple[str, ...] + layer_electrical: tuple[bool, ...] + + def _integrate(self, fraction: np.ndarray) -> float: + return float(np.trapezoid(self.incident_spectral_m2_s_m * fraction, x=wavelength_grid_m(self.wavelengths_nm))) + + @property + def incident_m2_s(self) -> float: + return self._integrate(np.ones_like(self.reflectance)) + + @property + def reflected_m2_s(self) -> float: + return self._integrate(self.reflectance) + + @property + def transmitted_m2_s(self) -> float: + return self._integrate(self.transmittance) + + @property + def dropped_m2_s(self) -> float: + return self._integrate(self.dropped_multipass) + + @property + def layer_absorbed_m2_s(self) -> np.ndarray: + return np.array([self._integrate(row) for row in self.layer_absorptance]) + + @property + def electrical_absorbed_m2_s(self) -> float: + mask: np.ndarray = np.asarray(self.layer_electrical, dtype=bool) + return self._integrate(np.sum(self.layer_absorptance[mask], axis=0)) + + @property + def parasitic_absorbed_m2_s(self) -> float: + mask: np.ndarray = ~np.asarray(self.layer_electrical, dtype=bool) + if not np.any(mask): + return 0.0 + return self._integrate(np.sum(self.layer_absorptance[mask], axis=0)) + + def spectral_closure_residual(self) -> np.ndarray: + """``1 - R - T - sum A - dropped`` per wavelength (round-off only).""" + + return 1.0 - self.reflectance - self.transmittance - np.sum(self.layer_absorptance, axis=0) - self.dropped_multipass + + +@dataclass(frozen=True) +class OpticalStackBinding: + """Frozen optical inputs of one device and their content identity.""" + + layers: tuple[OpticalLayerSpec, ...] + spectrum: SpectralPhotonFlux + ambient_index: float = 1.0 + exit_index: float = 1.0 + incidence: str = "front" + dependencies: tuple[tuple[str, str], ...] = () + sha256: str = field(init=False) + boundaries_m: np.ndarray = field(init=False, repr=False) + electrical_offset_m: float = field(init=False) + physical_layer_slices: tuple[tuple[str, slice], ...] = field(init=False, repr=False) + + def __post_init__(self) -> None: + layers = tuple(self.layers) + if not layers or not all(isinstance(item, OpticalLayerSpec) for item in layers): + raise ValueError("optical binding requires OpticalLayerSpec layers") + if not isinstance(self.spectrum, SpectralPhotonFlux): + raise TypeError("spectrum must be a SpectralPhotonFlux") + n_wl = self.spectrum.wavelengths_nm.shape[0] + if any(item.n.shape != (n_wl,) for item in layers): + raise ValueError("every layer's n, k must be sampled on the spectrum's wavelength grid") + if any(item.incoherent for item in layers[1:]): + raise ValueError("only the first optical layer may be incoherent") + seen_electrical = False + for item in layers: + if item.electrical: + seen_electrical = True + elif seen_electrical: + raise ValueError("optical-only layers must form a contiguous front prefix") + if not seen_electrical: + raise ValueError("optical binding requires at least one electrical layer") + if self.incidence not in INCIDENCE_SIDES: + raise ValueError(f"incidence must be one of {INCIDENCE_SIDES}; only front illumination exists") + for name in ("ambient_index", "exit_index"): + value = float(getattr(self, name)) + if not math.isfinite(value) or value <= 0.0: + raise ValueError(f"{name} must be finite and positive") + object.__setattr__(self, name, value) + groups: list[tuple[str, slice]] = [] + start = 0 + for index in range(1, len(layers) + 1): + if index == len(layers) or layers[index].name != layers[start].name: + groups.append((layers[start].name, slice(start, index))) + start = index + if len({name for name, _ in groups}) != len(groups): + raise ValueError("slices of one physical layer must be contiguous") + dependencies = _canonical_dependencies(self.dependencies) + boundaries: np.ndarray = np.empty(len(layers) + 1, dtype=float) + boundaries[0] = 0.0 + boundaries[1:] = np.cumsum([item.thickness_m for item in layers]) + boundaries.setflags(write=False) + object.__setattr__(self, "layers", layers) + object.__setattr__(self, "dependencies", dependencies) + object.__setattr__(self, "boundaries_m", boundaries) + object.__setattr__(self, "electrical_offset_m", sum(item.thickness_m for item in layers if not item.electrical)) + object.__setattr__(self, "physical_layer_slices", tuple(groups)) + object.__setattr__(self, "sha256", self._identity()) + + def _identity(self) -> str: + digest = hashlib.sha256() + header = { + "model": "transfer_matrix_front_incidence_v1", + "ambient_index": repr(self.ambient_index), + "exit_index": repr(self.exit_index), + "incidence": self.incidence, + "dependencies": [list(item) for item in self.dependencies], + "spectrum": {"source_id": self.spectrum.source_id, "unit": self.spectrum.unit, + "sha256": self.spectrum.sha256}, + "layers": [ + {"name": item.name, "thickness_m": repr(item.thickness_m), + "incoherent": item.incoherent, "electrical": item.electrical} + for item in self.layers + ], + } + digest.update(json.dumps(header, sort_keys=True, separators=(",", ":")).encode("ascii")) + digest.update(array_digest(*[array for item in self.layers for array in (item.n, item.k)]).encode("ascii")) + return digest.hexdigest() + + @property + def wavelengths_nm(self) -> np.ndarray: + return self.spectrum.wavelengths_nm + + @property + def wavelengths_m(self) -> np.ndarray: + return wavelength_grid_m(self.spectrum.wavelengths_nm) + + @property + def tmm_layers(self) -> tuple[TMMLayer, ...]: + return tuple(TMMLayer(d=item.thickness_m, n=item.n, k=item.k, incoherent=item.incoherent) for item in self.layers) + + @property + def electrical_thickness_m(self) -> float: + return float(self.boundaries_m[-1]) - self.electrical_offset_m + + def _optical_faces(self, electrical_faces_m: np.ndarray) -> np.ndarray: + faces = require_cell_faces(electrical_faces_m) + optical = faces + self.electrical_offset_m + if ( + float(faces[0]) < -_WINDOW_TOLERANCE_M + or float(optical[-1]) > float(self.boundaries_m[-1]) + _WINDOW_TOLERANCE_M + ): + raise ValueError("cell faces must lie inside the electrical window of the optical stack") + return optical + + def absorbed_photon_flux_per_cell(self, electrical_faces_m: np.ndarray) -> np.ndarray: + """Exact photons absorbed in each electrical cell [m^-2 s^-1].""" + + absorbed = tmm_absorbed_photon_flux_per_cell( + list(self.tmm_layers), + self.wavelengths_m, + self.spectrum.flux_m2_s_m, + self._optical_faces(electrical_faces_m), + self.boundaries_m, + self.ambient_index, + self.exit_index, + ) + absorbed.setflags(write=False) + return absorbed + + def generation_profile(self, control_volumes: ControlVolumes) -> GenerationProfile: + """Photon-conserving TMM cell source ``absorbed / w`` on named control volumes. + + ``control_volumes`` live in the electrical coordinate; their faces + are shifted by ``electrical_offset_m`` into the optical coordinate. + """ + + _, faces, measures = require_control_volumes(control_volumes) + absorbed = self.absorbed_photon_flux_per_cell(faces) + return GenerationProfile( + method="transfer_matrix", + geometry_name=str(control_volumes.name), + source_m3_s=absorbed / measures, + absorbed_m2_s=absorbed, + binding_sha256=self.sha256, + control_volume_sha256=control_volume_digest(control_volumes), + ) + + def absorption_profile(self, x_electrical_m: np.ndarray) -> np.ndarray: + """Point-sampled ``A(x, lambda)`` [m^-1] at electrical positions (diagnostic).""" + + x = require_node_coordinates(x_electrical_m) + return tmm_absorption_profile( + list(self.tmm_layers), + self.wavelengths_m, + x + self.electrical_offset_m, + self.boundaries_m, + self.ambient_index, + self.exit_index, + ) + + def photon_budget(self) -> PhotonBudget: + layers = list(self.tmm_layers) + wavelengths = self.wavelengths_m + C = tmm_cumulative_absorptance( + layers, wavelengths, self.boundaries_m, self.boundaries_m, self.ambient_index, self.exit_index + ) + return PhotonBudget( + wavelengths_nm=self.wavelengths_nm, + incident_spectral_m2_s_m=self.spectrum.flux_m2_s_m, + reflectance=tmm_reflectance(layers, wavelengths, self.ambient_index, self.exit_index), + transmittance=tmm_transmittance(layers, wavelengths, self.ambient_index, self.exit_index), + layer_absorptance=np.diff(C, axis=0), + dropped_multipass=dropped_multipass_fraction(layers, wavelengths, self.ambient_index, self.exit_index), + layer_names=tuple(item.name for item in self.layers), + layer_electrical=tuple(item.electrical for item in self.layers), + ) diff --git a/src/solarlab/physics/generation/profile.py b/src/solarlab/physics/generation/profile.py new file mode 100644 index 00000000..85b09707 --- /dev/null +++ b/src/solarlab/physics/generation/profile.py @@ -0,0 +1,132 @@ +"""Generation profiles bound to the inputs and control volumes that produced them. + +Control volumes come from a named geometry (W3a ``solarlab.mesh.geometry``; +e.g. ``legacy_mol_integer_endpoint_v1``): its cell faces bound each cell's +geometric extent and its cell measures are the weights the conservation +law multiplies. Generation is integrated over the faces and divided by the +measures, so ``sum(G * measures)`` is the exact absorbed photon count for +EVERY named geometry. Where a geometry's contact-cell measure is not its +geometric extent (the historical 1D integer endpoint: full ``dx`` against a +``dx/2`` extent), the outer-node G is the cell-integrated count spread over +that wider weight -- a historical convention recorded by the geometry name +on every profile, never silently converted. + +A profile also records the identity of its optical inputs. Reusing it after +any input change (thickness, n-k, temperature/composition declaration, +spectrum, mesh, geometry) is rejected instead of returning a stale source. + +Interface switch point (S3): ``ControlVolumes`` is the structural subset of +``solarlab.mesh.geometry.ControlVolumeGeometry1D`` this slice reads; the +annotation becomes that class once W3a's mesh package is integrated. +""" + +from __future__ import annotations + +from dataclasses import dataclass +import hashlib +from typing import Protocol + +import numpy as np + +from solarlab.physics.generation._validation import array_digest + +__all__ = [ + "ControlVolumes", + "GENERATION_SOURCE_UNIT", + "GenerationProfile", + "StaleGenerationProfileError", + "control_volume_digest", + "require_control_volumes", +] + +#: Unweighted cell source; the assembly multiplies by the cell measure once. +GENERATION_SOURCE_UNIT = "m^-3 s^-1" + + +class StaleGenerationProfileError(ValueError): + """A generation profile was offered for inputs it was not computed from.""" + + +class ControlVolumes(Protocol): + """Named node-centred control volumes on a 1D node set (unit cross-section).""" + + @property + def name(self) -> str: ... + + @property + def nodes_m(self) -> np.ndarray: ... + + @property + def cell_faces_m(self) -> np.ndarray: ... + + @property + def cell_measures_m(self) -> np.ndarray: ... + + +def require_control_volumes(control_volumes: ControlVolumes) -> tuple[np.ndarray, np.ndarray, np.ndarray]: + """``(nodes, faces, measures)`` after the checks every integration relies on.""" + + name = getattr(control_volumes, "name", None) + if not isinstance(name, str) or not name: + raise TypeError("control volumes must carry their geometry name") + nodes = np.asarray(control_volumes.nodes_m, dtype=float) + faces = np.asarray(control_volumes.cell_faces_m, dtype=float) + measures = np.asarray(control_volumes.cell_measures_m, dtype=float) + if ( + nodes.ndim != 1 + or nodes.size < 2 + or not np.all(np.isfinite(nodes)) + or np.any(np.diff(nodes) <= 0.0) + ): + raise ValueError("control-volume nodes must be finite and strictly increasing") + if faces.shape != (nodes.size + 1,) or not np.all(np.isfinite(faces)) or np.any(np.diff(faces) <= 0.0): + raise ValueError("control volumes need N+1 finite strictly increasing faces") + if faces[0] < nodes[0] or faces[-1] > nodes[-1]: + raise ValueError("cell faces must lie inside the node span") + if measures.shape != nodes.shape or not np.all(np.isfinite(measures)) or np.any(measures <= 0.0): + raise ValueError("cell measures must be finite, positive and one per node") + return nodes, faces, measures + + +def control_volume_digest(control_volumes: ControlVolumes) -> str: + nodes, faces, measures = require_control_volumes(control_volumes) + digest = hashlib.sha256(str(control_volumes.name).encode("utf-8")) + digest.update(array_digest(nodes, faces, measures).encode("ascii")) + return digest.hexdigest() + + +@dataclass(frozen=True) +class GenerationProfile: + """Cell-averaged generation and the exact absorbed photons of each cell. + + ``source_m3_s * cell_measures == absorbed_m2_s`` cell by cell (to one + rounding), so the assembled areal generation is ``sum(absorbed_m2_s)``. + """ + + method: str + geometry_name: str + source_m3_s: np.ndarray + absorbed_m2_s: np.ndarray + binding_sha256: str + control_volume_sha256: str + unit: str = GENERATION_SOURCE_UNIT + + def __post_init__(self) -> None: + for name in ("source_m3_s", "absorbed_m2_s"): + array = np.array(getattr(self, name), dtype=float, copy=True) + array.setflags(write=False) + object.__setattr__(self, name, array) + + @property + def areal_generation_m2_s(self) -> float: + return float(np.sum(self.absorbed_m2_s)) + + def require_inputs(self, binding_sha256: str, control_volumes: ControlVolumes) -> None: + if binding_sha256 != self.binding_sha256: + raise StaleGenerationProfileError( + "generation profile was computed from different optical inputs" + ) + if control_volume_digest(control_volumes) != self.control_volume_sha256: + raise StaleGenerationProfileError( + "generation profile was computed on different control volumes" + ) diff --git a/src/solarlab/physics/generation/spectrum.py b/src/solarlab/physics/generation/spectrum.py new file mode 100644 index 00000000..b1bdc3fd --- /dev/null +++ b/src/solarlab/physics/generation/spectrum.py @@ -0,0 +1,143 @@ +"""Tabulated optical constants and spectral photon flux on a wavelength grid. + +Tables are supplied as arrays by the caller (no path discovery here). The +sampling is the historical one: linear interpolation on the nanometre axis, +and a hard failure instead of ``np.interp``'s silent edge clamping for any +requested wavelength outside the table -- clamping ``k`` or the AM1.5G edge +value is exactly the historical spurious-absorption / inflated-J_sc bug. + +Spectral unit: the photon flux per unit wavelength is in m^-2 s^-1 m^-1 and +is integrated over wavelength in metres, so ``int Phi dlam`` is a photon +flux in m^-2 s^-1. Irradiance (W m^-2 nm^-1) is a different quantity and is +rejected by unit name rather than converted implicitly. + +Interface switch point (S5): WS2's ``materials.resources.ResourceTable`` +stores wavelengths in metres; reaching these tables through it must keep the +nanometre sampling axis (or be recorded as an N-class change). +""" + +from __future__ import annotations + +from dataclasses import dataclass, field + +import numpy as np + +from solarlab.physics.generation._validation import array_digest + +__all__ = [ + "SPECTRAL_PHOTON_FLUX_UNIT", + "SpectralPhotonFlux", + "sample_nk_table", + "sample_tabulated", + "wavelength_grid_m", +] + +SPECTRAL_PHOTON_FLUX_UNIT = "m^-2 s^-1 m^-1" + + +def wavelength_grid_m(wavelengths_nm: np.ndarray) -> np.ndarray: + """The metre grid every optical integral uses (historical ``nm * 1e-9``).""" + + return np.asarray(wavelengths_nm, dtype=float) * 1e-9 + + +def _require_table_axis(table_wavelength_nm: np.ndarray) -> np.ndarray: + axis = np.asarray(table_wavelength_nm, dtype=float) + if axis.ndim != 1 or axis.size < 2: + raise ValueError("table wavelength axis must be 1-D with at least two rows") + if not np.all(np.isfinite(axis)) or np.any(axis <= 0.0) or np.any(np.diff(axis) <= 0.0): + raise ValueError("table wavelengths must be finite, positive and strictly increasing") + return axis + + +def sample_tabulated( + table_wavelength_nm: np.ndarray, + table_values: np.ndarray, + wavelengths_nm: np.ndarray, + *, + name: str, +) -> np.ndarray: + """Interpolate one tabulated column onto ``wavelengths_nm``; never extrapolate.""" + + axis = _require_table_axis(table_wavelength_nm) + values = np.asarray(table_values, dtype=float) + if values.shape != axis.shape or not np.all(np.isfinite(values)): + raise ValueError(f"{name}: table values must be finite and match the wavelength axis") + wl_req = np.asarray(wavelengths_nm, dtype=float) + lo, hi = float(axis[0]), float(axis[-1]) + if wl_req.size and (wl_req.min() < lo or wl_req.max() > hi): + raise ValueError( + f"Requested wavelengths [{wl_req.min():.2f}, {wl_req.max():.2f}] nm " + f"are outside the native range of {name!r} [{lo:.2f}, {hi:.2f}] nm." + ) + return np.interp(wl_req, axis, values) + + +def sample_nk_table( + table_wavelength_nm: np.ndarray, + table_n: np.ndarray, + table_k: np.ndarray, + wavelengths_nm: np.ndarray, + *, + material: str, +) -> tuple[np.ndarray, np.ndarray]: + """``(n, k)`` of one material on ``wavelengths_nm`` (historical ``load_nk``).""" + + n = sample_tabulated(table_wavelength_nm, table_n, wavelengths_nm, name=material) + k = sample_tabulated(table_wavelength_nm, table_k, wavelengths_nm, name=material) + if np.any(n <= 0.0) or np.any(k < 0.0): + raise ValueError(f"{material}: n must be positive and k non-negative") + return n, k + + +@dataclass(frozen=True) +class SpectralPhotonFlux: + """Incident spectral photon flux sampled on one wavelength grid.""" + + wavelengths_nm: np.ndarray + flux_m2_s_m: np.ndarray + source_id: str + unit: str = SPECTRAL_PHOTON_FLUX_UNIT + sha256: str = field(init=False) + + def __post_init__(self) -> None: + if self.unit != SPECTRAL_PHOTON_FLUX_UNIT: + raise ValueError( + f"spectral photon flux must be in {SPECTRAL_PHOTON_FLUX_UNIT}, got {self.unit!r}" + ) + if not isinstance(self.source_id, str) or not self.source_id.strip(): + raise ValueError("spectrum requires an explicit source_id") + wavelengths = np.array(self.wavelengths_nm, dtype=float, copy=True) + flux = np.array(self.flux_m2_s_m, dtype=float, copy=True) + if wavelengths.ndim != 1 or wavelengths.size < 2: + raise ValueError("spectrum wavelengths must be 1-D with at least two points") + if not np.all(np.isfinite(wavelengths)) or np.any(wavelengths <= 0.0) or np.any(np.diff(wavelengths) <= 0.0): + raise ValueError("spectrum wavelengths must be finite, positive and strictly increasing") + if flux.shape != wavelengths.shape or not np.all(np.isfinite(flux)) or np.any(flux < 0.0): + raise ValueError("spectral flux must be finite, non-negative and match the wavelengths") + wavelengths.setflags(write=False) + flux.setflags(write=False) + object.__setattr__(self, "wavelengths_nm", wavelengths) + object.__setattr__(self, "flux_m2_s_m", flux) + object.__setattr__(self, "sha256", array_digest(wavelengths, flux)) + + @classmethod + def from_table( + cls, + table_wavelength_nm: np.ndarray, + table_flux_m2_s_m: np.ndarray, + wavelengths_nm: np.ndarray, + *, + source_id: str, + ) -> SpectralPhotonFlux: + flux = sample_tabulated(table_wavelength_nm, table_flux_m2_s_m, wavelengths_nm, name=source_id) + return cls(np.asarray(wavelengths_nm, dtype=float), flux, source_id) + + @property + def wavelengths_m(self) -> np.ndarray: + return wavelength_grid_m(self.wavelengths_nm) + + def integrated_photon_flux_m2_s(self) -> float: + """``int Phi dlam`` over this grid (trapezoid in metres) [m^-2 s^-1].""" + + return float(np.trapezoid(self.flux_m2_s_m, x=self.wavelengths_m)) diff --git a/src/solarlab/physics/generation/transfer_matrix.py b/src/solarlab/physics/generation/transfer_matrix.py new file mode 100644 index 00000000..22c348d1 --- /dev/null +++ b/src/solarlab/physics/generation/transfer_matrix.py @@ -0,0 +1,567 @@ +"""Coherent thin-film transfer-matrix optics (normal incidence, front illumination). + +Pettersson et al., J. Appl. Phys. 86, 487 (1999); Burkhard et al., Adv. Mater. +22, 3293 (2010). Every layer carries ``n(lambda) + i k(lambda)`` sampled on one +wavelength grid [m]. The primary generation quantity is the cumulative +absorbed fraction ``C(x, lambda)`` -- the normalised Poynting-flux drop from +the stack front to ``x`` in closed form -- whose differences across control- +volume faces give each cell's exact absorbed photon count with no spatial +quadrature. ``C(back) = 1 - R - T`` up to the dropped multi-pass term of the +incoherent first-layer bypass, so generation is bounded by the incident flux. + +Kept guards (do not remove): the ``_inv2x2`` determinant floor, the float64 +representability check on the backward-wave power, and the ``C <= 1`` bound. +A first layer may be marked incoherent (a thick substrate): it is treated as +one Fresnel reflection plus Beer-Lambert power attenuation feeding the +coherent sub-stack; only the first layer may be incoherent. + +The numerical kernels are migrated with their evaluation order unchanged +(perovskite_sim.physics.optics), so results reproduce bit for bit. +``tmm_transmittance`` is new and diagnostic only: it closes the R + T + A +photon budget and never enters generation. +""" + +from __future__ import annotations + +from dataclasses import dataclass +from typing import Any, Sequence, cast + +import numpy as np + +__all__ = [ + "TMMLayer", + "dropped_multipass_fraction", + "tmm_absorbed_photon_flux_per_cell", + "tmm_absorption_profile", + "tmm_cumulative_absorptance", + "tmm_point_generation", + "tmm_reflectance", + "tmm_transmittance", +] + + +@dataclass(frozen=True) +class TMMLayer: + """One optical layer: thickness ``d`` [m], ``n`` and ``k`` per wavelength.""" + + d: float + n: np.ndarray + k: np.ndarray + incoherent: bool = False + + @property + def n_complex(self) -> np.ndarray: + return self.n + 1j * self.k + + +def _require_single_incoherent_front(layers: Sequence[TMMLayer]) -> None: + for j, lyr in enumerate(layers): + if j > 0 and lyr.incoherent: + raise ValueError( + "only the first layer may be incoherent " + f"(layer index {j} has incoherent=True)" + ) + + +def _transfer_matrix_stack( + layers: Sequence[TMMLayer], + wavelengths: np.ndarray, + n_ambient: float | np.ndarray = 1.0, + n_substrate: float | np.ndarray = 1.0, +) -> tuple[np.ndarray, list[np.ndarray]]: + """Total transfer matrix ``(n_wl, 2, 2)`` and partial products per layer.""" + + _require_single_incoherent_front(layers) + + n_wl = len(wavelengths) + S: np.ndarray = np.zeros((n_wl, 2, 2), dtype=complex) + S[:, 0, 0] = 1.0 + S[:, 1, 1] = 1.0 + + def interface_matrix(n_a: np.ndarray, n_b: np.ndarray) -> np.ndarray: + r = (n_a - n_b) / (n_a + n_b) + t = 2.0 * n_a / (n_a + n_b) + I_mat: np.ndarray = np.zeros((n_wl, 2, 2), dtype=complex) + I_mat[:, 0, 0] = 1.0 / t + I_mat[:, 0, 1] = r / t + I_mat[:, 1, 0] = r / t + I_mat[:, 1, 1] = 1.0 / t + return I_mat + + def propagation_matrix(n_c: np.ndarray, d: float) -> np.ndarray: + # Maps fields at the right edge to the left edge; for k > 0 the + # forward wave is stronger at the (illuminated) left face. + delta = 2.0 * np.pi * n_c * d / wavelengths + P: np.ndarray = np.zeros((n_wl, 2, 2), dtype=complex) + P[:, 0, 0] = np.exp(-1j * delta) + P[:, 1, 1] = np.exp(1j * delta) + return P + + def mat_mul(A: np.ndarray, B: np.ndarray) -> np.ndarray: + return np.einsum("wij,wjk->wik", A, B) + + S_partial: list[np.ndarray] = [] + n_prev = np.broadcast_to(np.asarray(n_ambient, dtype=complex), (n_wl,)).astype(complex, copy=True) + for layer in layers: + n_c = layer.n_complex + S = mat_mul(S, interface_matrix(n_prev, n_c)) + S = mat_mul(S, propagation_matrix(n_c, layer.d)) + S_partial.append(S.copy()) + n_prev = n_c + n_sub = np.broadcast_to(np.asarray(n_substrate, dtype=complex), (n_wl,)).astype(complex, copy=True) + S_total = mat_mul(S, interface_matrix(n_prev, n_sub)) + return S_total, S_partial + + +def _inv2x2(M: np.ndarray) -> np.ndarray: + """Batched 2x2 inverse; a singular wavelength contributes zero, not NaN.""" + + det = M[:, 0, 0] * M[:, 1, 1] - M[:, 0, 1] * M[:, 1, 0] + safe = np.abs(det) > 1e-30 + inv_det = np.where(safe, 1.0 / np.where(safe, det, 1.0), 0.0) + inv = np.empty_like(M) + inv[:, 0, 0] = M[:, 1, 1] * inv_det + inv[:, 0, 1] = -M[:, 0, 1] * inv_det + inv[:, 1, 0] = -M[:, 1, 0] * inv_det + inv[:, 1, 1] = M[:, 0, 0] * inv_det + return inv + + +def _layer_field_amplitudes( + layers: Sequence[TMMLayer], + wavelengths: np.ndarray, + n_ambient: float | np.ndarray = 1.0, + n_substrate: float | np.ndarray = 1.0, +) -> list[tuple[np.ndarray, np.ndarray]]: + """Forward/backward amplitudes at the LEFT edge of every layer. + + Normalised to unit incident amplitude; inside layer ``j`` at local depth + ``u``: ``E(u) = E+ exp(+i 2 pi n_c u / lam) + E- exp(-i 2 pi n_c u / lam)``. + """ + + n_wl = len(wavelengths) + S_total, _S_partial = _transfer_matrix_stack(layers, wavelengths, n_ambient, n_substrate) + r = S_total[:, 1, 0] / S_total[:, 0, 0] + + def interface_matrix(n_a: np.ndarray, n_b: np.ndarray) -> np.ndarray: + r_ab = (n_a - n_b) / (n_a + n_b) + t_ab = 2.0 * n_a / (n_a + n_b) + I_mat: np.ndarray = np.zeros((n_wl, 2, 2), dtype=complex) + I_mat[:, 0, 0] = 1.0 / t_ab + I_mat[:, 0, 1] = r_ab / t_ab + I_mat[:, 1, 0] = r_ab / t_ab + I_mat[:, 1, 1] = 1.0 / t_ab + return I_mat + + S_before: list[np.ndarray] = [] + M: np.ndarray = np.zeros((n_wl, 2, 2), dtype=complex) + M[:, 0, 0] = 1.0 + M[:, 1, 1] = 1.0 + n_prev = np.broadcast_to(np.asarray(n_ambient, dtype=complex), (n_wl,)).astype(complex, copy=True) + for layer in layers: + n_c = layer.n_complex + M = np.einsum("wij,wjk->wik", M, interface_matrix(n_prev, n_c)) + S_before.append(M.copy()) + delta = 2.0 * np.pi * n_c * layer.d / wavelengths + P_full: np.ndarray = np.zeros((n_wl, 2, 2), dtype=complex) + P_full[:, 0, 0] = np.exp(-1j * delta) + P_full[:, 1, 1] = np.exp(1j * delta) + M = np.einsum("wij,wjk->wik", M, P_full) + n_prev = n_c + + E_in = np.stack([np.ones(n_wl, dtype=complex), r], axis=1) + amplitudes: list[tuple[np.ndarray, np.ndarray]] = [] + for j in range(len(layers)): + S_inv = _inv2x2(S_before[j]) + E_j = np.einsum("wij,wj->wi", S_inv, E_in) + amplitudes.append((E_j[:, 0], E_j[:, 1])) + return amplitudes + + +def _electric_field_profile( + layers: Sequence[TMMLayer], + wavelengths: np.ndarray, + x_positions: np.ndarray, + layer_indices: np.ndarray, + local_positions: np.ndarray, + n_ambient: float | np.ndarray = 1.0, + n_substrate: float | np.ndarray = 1.0, +) -> np.ndarray: + """``|E(x)|^2 / |E_0|^2`` with shape ``(N, n_wl)``.""" + + n_wl = len(wavelengths) + N = len(x_positions) + amplitudes = _layer_field_amplitudes(layers, wavelengths, n_ambient, n_substrate) + E_sq = np.zeros((N, n_wl)) + for j in range(len(layers)): + mask = layer_indices == j + if not np.any(mask): + continue + x_local = local_positions[mask] + n_c = layers[j].n_complex + E_plus, E_minus = amplitudes[j] + delta_x = 2.0 * np.pi * np.outer(n_c, x_local) / wavelengths[:, None] + E_field = E_plus[:, None] * np.exp(1j * delta_x) + E_minus[:, None] * np.exp(-1j * delta_x) + E_sq[mask, :] = (np.abs(E_field) ** 2).T + return E_sq + + +def _map_to_layers( + x: np.ndarray, layer_boundaries: np.ndarray, n_layers: int +) -> tuple[np.ndarray, np.ndarray]: + """Layer index and local offset of each position. + + A position exactly on an internal boundary belongs to the LATER layer at + local depth 0, which keeps the cumulative absorptance continuous. + """ + + layer_indices: np.ndarray = np.zeros(len(x), dtype=int) + local_positions = np.zeros(len(x)) + for j in range(n_layers): + x_lo = layer_boundaries[j] + x_hi = layer_boundaries[j + 1] + mask = (x >= x_lo - 1e-15) & (x <= x_hi + 1e-15) + layer_indices[mask] = j + local_positions[mask] = x[mask] - x_lo + return layer_indices, local_positions + + +def _layer_absorbed_fraction( + layer: TMMLayer, + wavelengths: np.ndarray, + u: np.ndarray, + E_plus: np.ndarray, + E_minus: np.ndarray, + n_ambient: float | np.ndarray, +) -> np.ndarray: + """Exact ``integral_0^u A du'`` inside one coherent layer, ``(n_u, n_wl)``. + + With ``a = 4 pi k / lam`` and ``b = 4 pi n / lam``:: + + I(u) = (n / n_amb) [ (|E+|^2 - |E+|^2 e^{-a u}) + (|E-|^2 e^{a u} - |E-|^2) ] + + (2 k / n_amb) Im( E+ E-^* (e^{i b u} - 1) ) + + The prefactor collapse removes the ``a -> 0`` / ``b -> 0`` singularities + analytically, so a transparent layer contributes an exact zero. Past + ``a u = 300`` the growing backward power is rebuilt from the log of its + amplitude; past the float64 window it raises instead of returning +inf. + The front-referenced backward amplitude itself loses meaning beyond + ``a d ~ 70`` (inherited transfer-matrix limit, guarded by ``C <= 1``). + """ + + n_r = np.asarray(layer.n, dtype=float) + kappa = np.asarray(layer.k, dtype=float) + n_amb = np.asarray(n_ambient, dtype=float) + a = 4.0 * np.pi * kappa / wavelengths + b = 4.0 * np.pi * n_r / wavelengths + u2 = np.asarray(u, dtype=float)[:, None] + fwd0 = np.abs(E_plus) ** 2 + bwd0 = np.abs(E_minus) ** 2 + au = a[None, :] * u2 + fwd_u = fwd0[None, :] * np.exp(-au) + big = au > 300.0 + with np.errstate(divide="ignore", invalid="ignore", over="ignore"): + log_amp = np.log(np.abs(E_minus)) + bwd_u = np.where( + big, + np.exp(np.where(big, 2.0 * log_amp[None, :] + au, 0.0)), + bwd0[None, :] * np.exp(np.where(big, 0.0, au)), + ) + if not np.all(np.isfinite(bwd_u)): + raise ValueError( + "TMM backward-wave power is not representable in float64 for " + f"this layer (d={layer.d:.3e} m, max alpha*d={float(au.max()):.1f}); " + "split the layer or mark it incoherent" + ) + cross = E_plus * np.conj(E_minus) + osc = np.exp(1j * b[None, :] * u2) - 1.0 + decay_part = (n_r / n_amb)[None, :] * ((fwd0[None, :] - fwd_u) + (bwd_u - bwd0[None, :])) + beat_part = (2.0 * kappa / n_amb)[None, :] * np.imag(cross[None, :] * osc) + return decay_part + beat_part + + +#: ``C`` is a fraction of the incident flux; the slack only absorbs round-off. +_C_MAX_SLACK = 1e-6 + + +def _assert_absorptance_bounded(C: np.ndarray, layers: Sequence[TMMLayer], wavelengths: np.ndarray) -> None: + if C.size == 0: + return + C_max = float(np.max(C)) + if np.isfinite(C_max) and C_max <= 1.0 + _C_MAX_SLACK: + return + worst, au_max = -1, 0.0 + for j, lyr in enumerate(layers): + au = float(np.max(4.0 * np.pi * np.asarray(lyr.k) / np.asarray(wavelengths)) * lyr.d) + if au > au_max: + worst, au_max = j, au + where = ( + f"layer {worst} (d={layers[worst].d:.3e} m, max alpha*d={au_max:.1f})" + if worst >= 0 + else "the stack" + ) + raise ValueError( + f"TMM cumulative absorptance reached {C_max:.4g}, above the physical " + f"bound of 1 — the stack cannot absorb more than the incident flux. " + f"Thickest optical depth is {where}; the transfer matrix loses the " + "backward amplitude to round-off past alpha*d ~ 70. Split the layer, " + "thin it, or mark it incoherent." + ) + + +def _incoherent_front_factors( + layer0: TMMLayer, wavelengths: np.ndarray, n_ambient: float | np.ndarray +) -> tuple[np.ndarray, np.ndarray, np.ndarray]: + """Air -> thick-slab Fresnel power reflection, bulk power transmission, slab index. + + Power form, no phase: the field form would reintroduce substrate fringes. + """ + + n_real = np.asarray(layer0.n, dtype=float) + k_slab = np.asarray(layer0.k, dtype=float) + r0 = (n_ambient - n_real) / (n_ambient + n_real) + R_front = r0 * r0 + alpha = 4.0 * np.pi * k_slab / wavelengths + T_bulk = np.exp(-alpha * layer0.d) + return R_front, T_bulk, n_real + + +def tmm_cumulative_absorptance( + layers: Sequence[TMMLayer], + wavelengths: np.ndarray, + x: np.ndarray, + layer_boundaries: np.ndarray, + n_ambient: float | np.ndarray = 1.0, + n_substrate: float | np.ndarray = 1.0, +) -> np.ndarray: + """Cumulative absorbed fraction ``C(x, lambda)``, shape ``(N, n_wl)``. + + ``x`` is measured from the FRONT of ``layers[0]``. ``C(x_b) - C(x_a)`` is + exactly the absorbed fraction between the two positions on any sampling. + """ + + x = np.asarray(x, dtype=float) + N = len(x) + n_wl = len(wavelengths) + n_layers = len(layers) + if n_layers == 0: + return np.zeros((N, n_wl)) + layer_indices, local_positions = _map_to_layers(x, layer_boundaries, n_layers) + + if layers[0].incoherent: + _require_single_incoherent_front(layers) + R_front, T_bulk, n_real = _incoherent_front_factors(layers[0], wavelengths, n_ambient) + C = np.zeros((N, n_wl)) + alpha_slab = 4.0 * np.pi * layers[0].k / wavelengths + slab_mask = layer_indices == 0 + if np.any(slab_mask): + u_slab = np.clip(local_positions[slab_mask], 0.0, layers[0].d)[:, None] + C[slab_mask, :] = (1.0 - R_front)[None, :] * (-np.expm1(-alpha_slab[None, :] * u_slab)) + C_slab_full = (1.0 - R_front) * (1.0 - T_bulk) + sub_mask = layer_indices >= 1 + if np.any(sub_mask) and n_layers > 1: + x0_sub = layer_boundaries[1] + C_sub = tmm_cumulative_absorptance( + layers[1:], wavelengths, x[sub_mask] - x0_sub, + layer_boundaries[1:] - x0_sub, + n_ambient=n_real, n_substrate=n_substrate, + ) + scale = (1.0 - R_front) * T_bulk + C[sub_mask, :] = C_slab_full[None, :] + C_sub * scale[None, :] + _assert_absorptance_bounded(C, layers, wavelengths) + return C + + amplitudes = _layer_field_amplitudes(layers, wavelengths, n_ambient, n_substrate) + offsets = np.zeros((n_layers + 1, n_wl)) + for j, layer in enumerate(layers): + E_plus, E_minus = amplitudes[j] + full_j = _layer_absorbed_fraction( + layer, wavelengths, np.array([layer.d]), E_plus, E_minus, n_ambient + )[0, :] + offsets[j + 1, :] = offsets[j, :] + full_j + C = np.zeros((N, n_wl)) + for j in range(n_layers): + mask = layer_indices == j + if not np.any(mask): + continue + E_plus, E_minus = amplitudes[j] + u_local = np.clip(local_positions[mask], 0.0, layers[j].d) + C[mask, :] = offsets[j, :][None, :] + _layer_absorbed_fraction( + layers[j], wavelengths, u_local, E_plus, E_minus, n_ambient + ) + _assert_absorptance_bounded(C, layers, wavelengths) + return C + + +def tmm_absorbed_photon_flux_per_cell( + layers: Sequence[TMMLayer], + wavelengths: np.ndarray, + spectral_flux: np.ndarray, + faces: np.ndarray, + layer_boundaries: np.ndarray, + n_ambient: float | np.ndarray = 1.0, + n_substrate: float | np.ndarray = 1.0, +) -> np.ndarray: + """Photons absorbed per unit area and time in each cell [m^-2 s^-1]. + + ``faces`` are the ``n_cells + 1`` cell boundaries (optical coordinate). + The spatial part is exact; the wavelength integral is the trapezoid on + ``wavelengths`` [m], which commutes with the spatial telescoping. + """ + + faces = np.asarray(faces, dtype=float) + if faces.ndim != 1 or faces.shape[0] < 2: + raise ValueError(f"faces must be 1-D with at least 2 entries, got shape {faces.shape}") + C = tmm_cumulative_absorptance(layers, wavelengths, faces, layer_boundaries, n_ambient, n_substrate) + dC = C[1:, :] - C[:-1, :] + return cast(np.ndarray, np.trapezoid(dC * spectral_flux[None, :], x=wavelengths, axis=1)) + + +def tmm_absorption_profile( + layers: Sequence[TMMLayer], + wavelengths: np.ndarray, + x: np.ndarray, + layer_boundaries: np.ndarray, + n_ambient: float | np.ndarray = 1.0, + n_substrate: float | np.ndarray = 1.0, +) -> np.ndarray: + """Point-sampled spectral absorption rate ``A(x, lambda)`` [m^-1], ``(N, n_wl)``. + + ``A = (4 pi n k) / (lam n_amb) |E|^2``; a pointwise diagnostic (EQE, EL, + escape probability), never a photon-conserving cell source. + """ + + N = len(x) + n_wl = len(wavelengths) + n_layers = len(layers) + layer_indices, local_positions = _map_to_layers(x, layer_boundaries, n_layers) + + if layers and layers[0].incoherent: + R_front, T_bulk, n_real = _incoherent_front_factors(layers[0], wavelengths, n_ambient) + A = np.zeros((N, n_wl)) + slab_mask = layer_indices == 0 + if np.any(slab_mask): + x_local_slab = local_positions[slab_mask] + alpha_slab = 4.0 * np.pi * layers[0].k / wavelengths + decay = np.exp(-alpha_slab[None, :] * x_local_slab[:, None]) + E_sq_slab = (1.0 - R_front)[None, :] * decay + A[slab_mask, :] = alpha_slab[None, :] * E_sq_slab + sub_mask = layer_indices >= 1 + if np.any(sub_mask) and n_layers > 1: + x0_sub = layer_boundaries[1] + x_sub = x[sub_mask] - x0_sub + boundaries_sub = layer_boundaries[1:] - x0_sub + scale = (1.0 - R_front) * T_bulk + A_sub = tmm_absorption_profile( + layers[1:], wavelengths, x_sub, boundaries_sub, + n_ambient=n_real, n_substrate=n_substrate, + ) + A[sub_mask, :] = A_sub * scale[None, :] + return A + + E_sq = _electric_field_profile( + layers, wavelengths, x, layer_indices, local_positions, n_ambient, n_substrate + ) + A = np.zeros((N, n_wl)) + for j in range(n_layers): + mask = layer_indices == j + if not np.any(mask): + continue + coeff_j = 4.0 * np.pi * layers[j].n * layers[j].k / (wavelengths * n_ambient) + A[mask, :] = E_sq[mask, :] * coeff_j[None, :] + return A + + +def tmm_point_generation( + layers: Sequence[TMMLayer], + wavelengths: np.ndarray, + spectral_flux: np.ndarray, + x: np.ndarray, + layer_boundaries: np.ndarray, + n_ambient: float = 1.0, + n_substrate: float = 1.0, + return_absorbance: bool = False, +) -> Any: + """POINT-SAMPLED ``G(x) = int A Phi dlam`` [m^-3 s^-1] (historical ``tmm_generation``). + + Diagnostic only: not photon-conserving under the solver's cell rule; + use ``tmm_absorbed_photon_flux_per_cell`` for a generation source. + """ + + A = tmm_absorption_profile(layers, wavelengths, x, layer_boundaries, n_ambient, n_substrate) + G = np.trapezoid(A * spectral_flux[None, :], x=wavelengths, axis=1) + if return_absorbance: + return G, A + return G + + +def tmm_reflectance( + layers: Sequence[TMMLayer], + wavelengths: np.ndarray, + n_ambient: float = 1.0, + n_substrate: float = 1.0, +) -> np.ndarray: + """Spectral power reflectance ``R(lambda)`` of the stack. + + With an incoherent first layer: front Fresnel plus one round trip + through the slab off the coherent sub-stack (further round trips are + dropped, see ``dropped_multipass_fraction``). + """ + + if layers and layers[0].incoherent: + _require_single_incoherent_front(layers) + R_front, T_bulk, n_real = _incoherent_front_factors(layers[0], wavelengths, n_ambient) + S_sub, _ = _transfer_matrix_stack(layers[1:], wavelengths, n_ambient=n_real, n_substrate=n_substrate) + r_sub = S_sub[:, 1, 0] / S_sub[:, 0, 0] + R_sub = np.abs(r_sub) ** 2 + return R_front + (1.0 - R_front) ** 2 * (T_bulk**2) * R_sub + S_total, _ = _transfer_matrix_stack(layers, wavelengths, n_ambient, n_substrate) + r = S_total[:, 1, 0] / S_total[:, 0, 0] + return np.abs(r) ** 2 + + +def tmm_transmittance( + layers: Sequence[TMMLayer], + wavelengths: np.ndarray, + n_ambient: float = 1.0, + n_substrate: float = 1.0, +) -> np.ndarray: + """Spectral power transmittance into the exit medium (diagnostic). + + ``T = (n_exit / n_entry) |t|^2`` for real bounding indices, with the + coherent sub-stack entered from the slab index after an incoherent + first layer. + """ + + if layers and layers[0].incoherent: + _require_single_incoherent_front(layers) + R_front, T_bulk, n_real = _incoherent_front_factors(layers[0], wavelengths, n_ambient) + S_sub, _ = _transfer_matrix_stack(layers[1:], wavelengths, n_ambient=n_real, n_substrate=n_substrate) + return (1.0 - R_front) * T_bulk * np.abs(1.0 / S_sub[:, 0, 0]) ** 2 * (n_substrate / n_real) + S_total, _ = _transfer_matrix_stack(layers, wavelengths, n_ambient, n_substrate) + return np.abs(1.0 / S_total[:, 0, 0]) ** 2 * (n_substrate / n_ambient) + + +def dropped_multipass_fraction( + layers: Sequence[TMMLayer], + wavelengths: np.ndarray, + n_ambient: float = 1.0, + n_substrate: float = 1.0, +) -> np.ndarray: + """Fraction not booked as R, T or A by the incoherent first-layer bypass. + + The light the sub-stack reflects back into the slab, ``(1-R_f) T_b R_sub``, + is booked only for its single front escape ``(1-R_f)^2 T_b^2 R_sub``; the + remainder ``(1-R_f) T_b R_sub (1 - (1-R_f) T_b)`` (slab re-absorption and + further round trips) is dropped. Zero for a fully coherent stack. + """ + + n_wl = len(wavelengths) + if not (layers and layers[0].incoherent): + return np.zeros(n_wl) + _require_single_incoherent_front(layers) + R_front, T_bulk, n_real = _incoherent_front_factors(layers[0], wavelengths, n_ambient) + S_sub, _ = _transfer_matrix_stack(layers[1:], wavelengths, n_ambient=n_real, n_substrate=n_substrate) + R_sub = np.abs(S_sub[:, 1, 0] / S_sub[:, 0, 0]) ** 2 + entering = (1.0 - R_front) * T_bulk + return entering * R_sub * (1.0 - entering) diff --git a/src/solarlab/physics/ions/__init__.py b/src/solarlab/physics/ions/__init__.py new file mode 100644 index 00000000..5b60c529 --- /dev/null +++ b/src/solarlab/physics/ions/__init__.py @@ -0,0 +1,21 @@ +"""Historical ionic constitutive kernels; no assembled device/time capability.""" + +from solarlab.physics.ions.finite_site import ( + shared_site_densities, shared_site_fractions, shifted_logistic_density, + single_site_density, +) +from solarlab.physics.ions.migration import ( + DIFFUSION_ONLY_STERIC_V1, HISTORICAL_OCCUPANCY_CLIP, + HISTORICAL_STERIC_FLOOR, WHOLE_FLUX_STERIC_V1, + IonFaceFluxJacobian, ion_continuity_rhs, ion_continuity_rhs_neg, + ion_face_flux, ion_face_flux_jacobian, ion_flux_steric, +) + +__all__ = [ + "DIFFUSION_ONLY_STERIC_V1", "HISTORICAL_OCCUPANCY_CLIP", + "HISTORICAL_STERIC_FLOOR", "WHOLE_FLUX_STERIC_V1", + "IonFaceFluxJacobian", "ion_continuity_rhs", "ion_continuity_rhs_neg", + "ion_face_flux", "ion_face_flux_jacobian", "ion_flux_steric", + "shared_site_densities", "shared_site_fractions", "shifted_logistic_density", + "single_site_density", +] diff --git a/src/solarlab/physics/ions/finite_site.py b/src/solarlab/physics/ions/finite_site.py new file mode 100644 index 00000000..a62ec621 --- /dev/null +++ b/src/solarlab/physics/ions/finite_site.py @@ -0,0 +1,125 @@ +"""M extraction of the implemented finite-site coordinate mappings. + +These array kernels preserve the legacy single/dual DAE mapping arithmetic +and saturation refusals. They do not create a DAE layout, residual or solver. +Distinct-site calls retain separate limits; shared-site densities use one +explicit common capacity, as in the original shared-site mapping. +""" + +from __future__ import annotations + +import numpy as np +from scipy.special import expit + +__all__ = [ + "single_site_density", "shifted_logistic_density", + "shared_site_fractions", "shared_site_densities", +] + + +def single_site_density( + reference_m3: np.ndarray, + limit_m3: np.ndarray, + logit_reference: np.ndarray, + coordinate: np.ndarray, +) -> np.ndarray: + """Retain the single-ion shifted logistic map and saturation error.""" + theta = expit(logit_reference + coordinate) + theta_reference = reference_m3 / limit_m3 + positive_delta = ( + theta + * (1.0 - theta_reference) + * (-np.expm1(-np.maximum(coordinate, 0.0))) + ) + negative_delta = ( + -theta_reference + * (1.0 - theta) + * (-np.expm1(np.minimum(coordinate, 0.0))) + ) + density = reference_m3 + ( + limit_m3 * np.where(coordinate >= 0.0, positive_delta, negative_delta) + ) + if np.any(theta <= 0.0) or np.any(theta >= 1.0): + raise ValueError("single-ion DAE logit coordinate saturated") + return density + + +def shifted_logistic_density( + reference_m3: np.ndarray, + limit_m3: np.ndarray, + logit_reference: np.ndarray, + coordinate: np.ndarray, + *, + label: str, +) -> np.ndarray: + """Retain the distinct-site dual-ion map, including its label argument.""" + theta = expit(logit_reference + coordinate) + theta_reference = reference_m3 / limit_m3 + positive_delta = ( + theta + * (1.0 - theta_reference) + * (-np.expm1(-np.maximum(coordinate, 0.0))) + ) + negative_delta = ( + -theta_reference + * (1.0 - theta) + * (-np.expm1(np.minimum(coordinate, 0.0))) + ) + density = reference_m3 + limit_m3 * np.where( + coordinate >= 0.0, + positive_delta, + negative_delta, + ) + if np.any(theta <= 0.0) or np.any(theta >= 1.0): + raise ValueError(f"dual-ion {label} logit coordinate saturated") + return density + + +def shared_site_fractions( + positive_coordinate_reference: np.ndarray, + negative_coordinate_reference: np.ndarray, + positive_coordinate: np.ndarray, + negative_coordinate: np.ndarray, +) -> tuple[np.ndarray, np.ndarray, np.ndarray]: + """Retain the shared-site (positive, negative, vacancy) softmax map.""" + positive_log_ratio = positive_coordinate_reference + positive_coordinate + negative_log_ratio = negative_coordinate_reference + negative_coordinate + offset = np.maximum.reduce( + ( + np.zeros(positive_log_ratio.size), + positive_log_ratio, + negative_log_ratio, + ) + ) + with np.errstate(over="ignore", under="ignore", invalid="ignore"): + positive_weight = np.exp(positive_log_ratio - offset) + negative_weight = np.exp(negative_log_ratio - offset) + vacancy_weight = np.exp(-offset) + denominator = positive_weight + negative_weight + vacancy_weight + positive_fraction = positive_weight / denominator + negative_fraction = negative_weight / denominator + vacancy_fraction = vacancy_weight / denominator + fractions = (positive_fraction, negative_fraction, vacancy_fraction) + if any( + not np.all(np.isfinite(value)) or np.any(value <= 0.0) + for value in fractions + ): + raise ValueError("dual-ion shared-site coordinate saturated") + return fractions + + +def shared_site_densities( + site_limit_m3: np.ndarray, + positive_coordinate_reference: np.ndarray, + negative_coordinate_reference: np.ndarray, + positive_coordinate: np.ndarray, + negative_coordinate: np.ndarray, +) -> tuple[np.ndarray, np.ndarray]: + """Retain the original common-capacity multiplication for both species.""" + positive_fraction, negative_fraction, _vacancy = shared_site_fractions( + positive_coordinate_reference, negative_coordinate_reference, + positive_coordinate, negative_coordinate, + ) + positive_ion = site_limit_m3 * positive_fraction + negative_ion = site_limit_m3 * negative_fraction + return positive_ion, negative_ion diff --git a/src/solarlab/physics/ions/migration.py b/src/solarlab/physics/ions/migration.py new file mode 100644 index 00000000..75b9ef8e --- /dev/null +++ b/src/solarlab/physics/ions/migration.py @@ -0,0 +1,418 @@ +"""M-class route-independent migration of the historical ionic kernels. + +The imported Bernoulli/divergence functions are the existing core M kernels. +All flux formulas and inherited branches below are preserved. The historical +names distinguish empirical whole-flux crowding from the implemented nodal +crowding-in-potential form; neither name grants scientific qualification. +""" + +from __future__ import annotations +from dataclasses import dataclass + +import numpy as np + +from solarlab.discretization.bernoulli import ( + bernoulli, + bernoulli_derivative, +) + + +__all__ = [ + "WHOLE_FLUX_STERIC_V1", "DIFFUSION_ONLY_STERIC_V1", + "HISTORICAL_OCCUPANCY_CLIP", "HISTORICAL_STERIC_FLOOR", + "IonFaceFluxJacobian", "ion_face_flux", "ion_face_flux_jacobian", + "ion_flux_steric", "ion_continuity_rhs", "ion_continuity_rhs_neg", +] + +WHOLE_FLUX_STERIC_V1 = "historical_whole_flux_steric_v1" +DIFFUSION_ONLY_STERIC_V1 = "historical_diffusion_only_steric_v1" +# Descriptions of the retained literals, not additional solver controls. +HISTORICAL_OCCUPANCY_CLIP = (0.0, 0.999999) +HISTORICAL_STERIC_FLOOR = 1.0e-6 + + + +def _steric_diffusion_only_flux( + P: np.ndarray, phi: np.ndarray, dx: np.ndarray, + D_I_face: np.ndarray | float, V_T: float, P_lim: np.ndarray | float, + P_lim_node: np.ndarray | float | None, P_other_node: np.ndarray | None, + drift_sign: float, +) -> np.ndarray: + """Face flux for the diffusion-only steric ion transport (review F05). + + Folds the lattice-gas crowding chemical potential + ``mu_ex/kT = -ln(1 - theta)`` into the Scharfetter-Gummel drift argument + (bare ``D_I``), so the excluded-volume correction acts on diffusion only + while the Bernoulli exponential fitting is preserved. ``drift_sign`` is + ``+1`` for a positive species and ``-1`` for a negative one. + + Site occupancy ``theta``: + + * single species, or distinct-sublattice dual-ion (``P_other_node`` None): + ``theta = P / P_lim`` — each species crowds only against itself; + * shared-site dual-ion (``P_other_node`` given): the crowding potential + uses the TOTAL occupancy ``theta = (P + P_other) / P_lim``, so the two + species compete for the same reservoir — the physically standard + multi-species finite-size PNP coupling. Reduces exactly to the + single-species form when the other density is zero. + """ + Plim_n = P_lim_node if P_lim_node is not None else P_lim + Plim_n = np.broadcast_to(np.asarray(Plim_n, dtype=float), P.shape) + P_tot = P if P_other_node is None else P + np.asarray(P_other_node, dtype=float) + c = np.clip(P_tot / Plim_n, 0.0, 0.999999) # site occupancy theta + mu_ex = -np.log1p(-c) # -ln(1 - theta), per node + xi = drift_sign * (phi[1:] - phi[:-1]) / V_T + (mu_ex[1:] - mu_ex[:-1]) + return D_I_face / dx * (bernoulli(xi) * P[:-1] - bernoulli(-xi) * P[1:]) + + +def ion_face_flux( + phi: np.ndarray, + P: np.ndarray, + dx: np.ndarray, + D_I_face: np.ndarray, + V_T: float, + P_lim: np.ndarray | float, + *, + steric_diffusion_only: bool = False, + P_lim_node: np.ndarray | float | None = None, + P_other_node: np.ndarray | None = None, + drift_sign: float = 1.0, +) -> np.ndarray: + """Historical particle flux [m^-2 s^-1] for either unit-charge sign. + + M migration of both implemented steric forms. The default whole-flux + multiplier uses face-averaged own density; the diffusion-only flag uses + the nodal crowding potential and optional shared-site partner density. + Clips, denominator floors, capacity fallbacks and arithmetic order are + retained exactly. This kernel supplies no device/time qualification. + """ + if steric_diffusion_only: + return _steric_diffusion_only_flux( + P, phi, dx, D_I_face, V_T, P_lim, P_lim_node, P_other_node, + drift_sign=drift_sign, + ) + P_lim_face = np.broadcast_to(np.asarray(P_lim, dtype=float), dx.shape) + P_avg = 0.5 * (P[:-1] + P[1:]) + steric = 1.0 / np.maximum( + 1.0 - np.clip(P_avg / P_lim_face, 0.0, 0.999999), 1e-6) + xi = drift_sign * (phi[1:] - phi[:-1]) / V_T + D_eff = D_I_face * steric + return D_eff / dx * (bernoulli(xi) * P[:-1] - bernoulli(-xi) * P[1:]) + + +@dataclass(frozen=True, slots=True) +class IonFaceFluxJacobian: + """Local derivatives of one ionic particle flux on every face.""" + + flux: np.ndarray + density_left_derivative: np.ndarray + density_right_derivative: np.ndarray + partner_left_derivative: np.ndarray + partner_right_derivative: np.ndarray + potential_left_derivative: np.ndarray + potential_right_derivative: np.ndarray + differentiable_faces: np.ndarray + + +def ion_face_flux_jacobian( + phi: np.ndarray, + P: np.ndarray, + dx: np.ndarray, + D_I_face: np.ndarray, + V_T: float, + P_lim: np.ndarray | float, + *, + steric_diffusion_only: bool = False, + P_lim_node: np.ndarray | float | None = None, + P_other_node: np.ndarray | None = None, + drift_sign: float = 1.0, +) -> IonFaceFluxJacobian: + """M migration of the already-implemented legacy local derivatives. + + Values and differentiable-face masks follow the original clipped law, + including its existing numerical limits and refusal semantics. No new + derivative, formula correction or tangent qualification is introduced. + """ + potential = np.asarray(phi, dtype=float) + density = np.asarray(P, dtype=float) + spacing = np.asarray(dx, dtype=float) + if ( + potential.ndim != 1 + or potential.size < 2 + or density.shape != potential.shape + or spacing.shape != (potential.size - 1,) + or not np.all(np.isfinite(potential)) + or not np.all(np.isfinite(density)) + or not np.all(np.isfinite(spacing)) + or np.any(spacing <= 0.0) + or not np.isfinite(V_T) + or V_T <= 0.0 + or drift_sign not in (-1.0, 1.0) + ): + raise ValueError( + "ion-flux Jacobian inputs must be finite, shape matched, and " + "use positive spacing, thermal voltage, and unit charge sign" + ) + diffusion = np.broadcast_to( + np.asarray(D_I_face, dtype=float), spacing.shape + ) + if not np.all(np.isfinite(diffusion)) or np.any(diffusion < 0.0): + raise ValueError("ionic diffusivity must be finite and non-negative") + partner = None + if P_other_node is not None: + partner = np.asarray(P_other_node, dtype=float) + if partner.shape != density.shape or not np.all(np.isfinite(partner)): + raise ValueError("partner ion density must be finite and shape matched") + + flux = ion_face_flux( + potential, + density, + spacing, + diffusion, + V_T, + P_lim, + steric_diffusion_only=steric_diffusion_only, + P_lim_node=P_lim_node, + P_other_node=partner, + drift_sign=drift_sign, + ) + prefactor = diffusion / spacing + zero = np.zeros_like(spacing) + + if steric_diffusion_only: + node_limit_source = P_lim_node if P_lim_node is not None else P_lim + node_limit = np.broadcast_to( + np.asarray(node_limit_source, dtype=float), density.shape + ) + if ( + not np.all(np.isfinite(node_limit)) + or np.any(node_limit <= 0.0) + ): + raise ValueError("node site limits must be finite and positive") + total_density = density if partner is None else density + partner + occupancy = total_density / node_limit + clipped = np.clip(occupancy, 0.0, 0.999999) + chemical_potential = -np.log1p(-clipped) + xi = ( + drift_sign * (potential[1:] - potential[:-1]) / V_T + + chemical_potential[1:] + - chemical_potential[:-1] + ) + interior = (occupancy > 0.0) & (occupancy < 0.999999) + chemical_derivative = np.divide( + 1.0, + node_limit * (1.0 - occupancy), + out=np.zeros_like(density), + where=interior, + ) + node_differentiable = ( + (occupancy != 0.0) & (occupancy != 0.999999) + ) + differentiable = ( + (diffusion == 0.0) + | (node_differentiable[:-1] & node_differentiable[1:]) + ) + B_pos = bernoulli(xi) + B_neg = bernoulli(-xi) + xi_derivative = ( + bernoulli_derivative(xi) * density[:-1] + + bernoulli_derivative(-xi) * density[1:] + ) + left_mu_derivative = chemical_derivative[:-1] + right_mu_derivative = chemical_derivative[1:] + density_left = prefactor * ( + B_pos - xi_derivative * left_mu_derivative + ) + density_right = prefactor * ( + -B_neg + xi_derivative * right_mu_derivative + ) + if partner is None: + partner_left = zero.copy() + partner_right = zero.copy() + else: + partner_left = -prefactor * xi_derivative * left_mu_derivative + partner_right = prefactor * xi_derivative * right_mu_derivative + else: + face_limit = np.broadcast_to( + np.asarray(P_lim, dtype=float), spacing.shape + ) + if ( + not np.all(np.isfinite(face_limit)) + or np.any(face_limit <= 0.0) + ): + raise ValueError("face site limits must be finite and positive") + average_density = 0.5 * (density[:-1] + density[1:]) + occupancy = average_density / face_limit + clipped = np.clip(occupancy, 0.0, 0.999999) + denominator = np.maximum(1.0 - clipped, 1.0e-6) + steric = 1.0 / denominator + xi = drift_sign * (potential[1:] - potential[:-1]) / V_T + B_pos = bernoulli(xi) + B_neg = bernoulli(-xi) + flux_core = B_pos * density[:-1] - B_neg * density[1:] + xi_derivative = ( + bernoulli_derivative(xi) * density[:-1] + + bernoulli_derivative(-xi) * density[1:] + ) + active_clip = (occupancy > 0.0) & (occupancy < 0.999999) + active_max = (1.0 - clipped) > 1.0e-6 + steric_density_derivative = np.divide( + 0.5, + face_limit * denominator**2, + out=np.zeros_like(spacing), + where=active_clip & active_max, + ) + differentiable = ( + (diffusion == 0.0) + | ( + (occupancy != 0.0) + & (occupancy != 0.999999) + & ((1.0 - clipped) != 1.0e-6) + ) + ) + density_left = prefactor * ( + steric * B_pos + flux_core * steric_density_derivative + ) + density_right = prefactor * ( + -steric * B_neg + flux_core * steric_density_derivative + ) + partner_left = zero.copy() + partner_right = zero.copy() + xi_derivative = steric * xi_derivative + + potential_scale = prefactor * xi_derivative * drift_sign / V_T + arrays = ( + flux, + density_left, + density_right, + partner_left, + partner_right, + potential_scale, + ) + if any(not np.all(np.isfinite(array)) for array in arrays): + raise ValueError("ion-flux Jacobian produced a non-finite derivative") + return IonFaceFluxJacobian( + flux=np.asarray(flux, dtype=float), + density_left_derivative=density_left, + density_right_derivative=density_right, + partner_left_derivative=partner_left, + partner_right_derivative=partner_right, + potential_left_derivative=-potential_scale, + potential_right_derivative=potential_scale, + differentiable_faces=np.asarray(differentiable, dtype=bool), + ) + + +def ion_flux_steric( + phi: np.ndarray, # [phi_i, phi_{i+1}] + P: np.ndarray, # [P_i, P_{i+1}] + h: float, + D_I: float, + V_T: float, + P_lim: float, +) -> float: + """ + Sterically corrected positive-vacancy flux F_P [m⁻² s⁻¹]. + + The vacancy drift term uses a Scharfetter-Gummel face discretisation so the + flux has the correct sign for a positively charged mobile ion and remains + conservative on strongly biased, non-uniform grids. + """ + P_avg = 0.5 * (P[0] + P[1]) + steric = 1.0 / max(1.0 - np.clip(P_avg / P_lim, 0.0, 0.999999), 1e-6) + xi = (phi[1] - phi[0]) / V_T + D_eff = D_I * steric + return float(D_eff / h * (bernoulli(np.array([xi]))[0] * P[0] + - bernoulli(np.array([-xi]))[0] * P[1])) + + +def ion_continuity_rhs( + x: np.ndarray, + phi: np.ndarray, + P: np.ndarray, + D_I: np.ndarray | float, + V_T: float, + P_lim: np.ndarray | float, + steric_diffusion_only: bool = False, + P_lim_node: np.ndarray | float | None = None, + P_other_node: np.ndarray | None = None, + *, + cell_widths_m: np.ndarray | None = None, +) -> np.ndarray: + """Historical positive-ion rate -div(F), with blocking outer contacts. + + The two original steric forms and all parameters are retained. Without + cell_widths_m, endpoint widths equal the adjacent full grid spacing; + explicit widths select the existing control-volume divergence instead. + This callable rate kernel does not implement a time solver or ion device. + """ + P = np.asarray(P, dtype=float) + dx = np.diff(x) # (N-1,) + D_I_face = np.broadcast_to(np.asarray(D_I, dtype=float), dx.shape) + F_int = ion_face_flux( + phi, P, dx, D_I_face, V_T, P_lim, + steric_diffusion_only=steric_diffusion_only, + P_lim_node=P_lim_node, + P_other_node=P_other_node, + drift_sign=+1.0, + ) + + if cell_widths_m is not None: + from solarlab.discretization.divergence import flux_divergence + return flux_divergence(F_int, cell_widths_m) + + # Zero-flux BCs: pad with 0 at both ends + F_full = np.concatenate([[0.0], F_int, [0.0]]) # (N+1,) + + # Dual-grid cell widths + dx_cell = np.empty(len(x)) + dx_cell[0] = dx[0] + dx_cell[-1] = dx[-1] + dx_cell[1:-1] = 0.5 * (dx[:-1] + dx[1:]) + + return -(F_full[1:] - F_full[:-1]) / dx_cell + + +def ion_continuity_rhs_neg( + x: np.ndarray, + phi: np.ndarray, + P_neg: np.ndarray, + D_I: np.ndarray | float, + V_T: float, + P_lim: np.ndarray | float, + steric_diffusion_only: bool = False, + P_lim_node: np.ndarray | float | None = None, + P_other_node: np.ndarray | None = None, + *, + cell_widths_m: np.ndarray | None = None, +) -> np.ndarray: + """Historical negative-ion rate, with reversed drift and blocking contacts. + + The diffusion-only flag and optional partner use the same clipped total + occupancy as the positive species. Capacity and width semantics are + unchanged; this pure kernel supplies no device/time qualification. + """ + P_neg = np.asarray(P_neg, dtype=float) + dx = np.diff(x) + D_I_face = np.broadcast_to(np.asarray(D_I, dtype=float), dx.shape) + # Reversed drift: negative charge → drift_sign = -1. + F_int = ion_face_flux( + phi, P_neg, dx, D_I_face, V_T, P_lim, + steric_diffusion_only=steric_diffusion_only, + P_lim_node=P_lim_node, + P_other_node=P_other_node, + drift_sign=-1.0, + ) + + if cell_widths_m is not None: + from solarlab.discretization.divergence import flux_divergence + return flux_divergence(F_int, cell_widths_m) + + F_full = np.concatenate([[0.0], F_int, [0.0]]) + + dx_cell = np.empty(len(x)) + dx_cell[0] = dx[0] + dx_cell[-1] = dx[-1] + dx_cell[1:-1] = 0.5 * (dx[:-1] + dx[1:]) + + return -(F_full[1:] - F_full[:-1]) / dx_cell diff --git a/src/solarlab/physics/ions/shared_site.py b/src/solarlab/physics/ions/shared_site.py new file mode 100644 index 00000000..4ea55ea6 --- /dev/null +++ b/src/solarlab/physics/ions/shared_site.py @@ -0,0 +1,99 @@ +"""Shared-site physical derivatives and cancellation-aware paired increments. + +The first/second derivatives retain the original dual-ion DAE arithmetic. +The pairwise secant is an algebraically equivalent numerical representation +of a softmax density difference, including motion from nonzero coordinates. +""" + +from __future__ import annotations + +import numpy as np + +from solarlab.physics.ions.finite_site import shared_site_fractions + +__all__ = ["shared_site_coordinate_jacobian_m3", "shared_site_coordinate_hessian_m3", "shared_site_secant_m3"] + + +def _physical_arrays(positive: np.ndarray, negative: np.ndarray, capacity: np.ndarray) -> tuple[np.ndarray, np.ndarray, np.ndarray]: + plus, minus, limit = (np.asarray(value, dtype=float) for value in (positive, negative, capacity)) + if (plus.ndim != 1 or plus.size == 0 or minus.shape != plus.shape or limit.shape != plus.shape + or any(not np.all(np.isfinite(value)) for value in (plus, minus, limit)) + or np.any(plus < 0.0) or np.any(minus < 0.0) or np.any(limit <= 0.0) + or np.any(plus + minus >= limit)): + raise ValueError("shared-site physical arrays require matched finite populations and a positive common vacancy") + return plus, minus, limit + + +def shared_site_coordinate_jacobian_m3(positive: np.ndarray, negative: np.ndarray, capacity: np.ndarray) -> np.ndarray: + """Original node-local d(P+,P-)/d(a+,a-), indexed [node,species,coordinate].""" + plus, minus, limit = _physical_arrays(positive, negative, capacity) + result: np.ndarray = np.zeros((plus.size, 2, 2), dtype=float) + plus_fraction, minus_fraction = plus / limit, minus / limit + coupling = plus * minus_fraction + result[:, 0, 0] = plus * (1.0 - plus_fraction) + result[:, 0, 1] = -coupling + result[:, 1, 0] = -coupling + result[:, 1, 1] = minus * (1.0 - minus_fraction) + if not np.all(np.isfinite(result)): + raise FloatingPointError("shared-site coordinate mass matrix is nonfinite") + return result + + +def shared_site_coordinate_hessian_m3(positive: np.ndarray, negative: np.ndarray, capacity: np.ndarray) -> np.ndarray: + """Original complete softmax Hessian [node,species,coordinate,coordinate].""" + plus, minus, limit = _physical_arrays(positive, negative, capacity) + fractions = np.stack((plus / limit, minus / limit), axis=1) + result: np.ndarray = np.zeros((plus.size, 2, 2, 2), dtype=float) + for species in range(2): + for first in range(2): + for second in range(2): + result[:, species, first, second] = limit * fractions[:, species] * ( + (float(species == second) - fractions[:, second]) + * (float(species == first) - fractions[:, first]) + - fractions[:, first] * (float(first == second) - fractions[:, second]) + ) + if not np.all(np.isfinite(result)): + raise FloatingPointError("shared-site coordinate Hessian is nonfinite") + return result + + +def shared_site_secant_m3( + capacity: np.ndarray, positive_reference: np.ndarray, negative_reference: np.ndarray, + old_positive: np.ndarray, old_negative: np.ndarray, + new_positive: np.ndarray, new_negative: np.ndarray, +) -> tuple[np.ndarray, np.ndarray]: + """Stable paired physical increments; no independent logistic fallback. + + The reference arguments are the compiled positive_ion_logit_reference and + negative_ion_logit_reference: log(species fraction/vacancy fraction). + Each pair exchanges C*(theta_i_new*theta_j_old-theta_i_old*theta_j_new). + Vacancy has coordinate increment zero. Every expm1 argument is nonpositive; + coordinate differences precede reference addition and each exchange is + added with opposite signs by identity, without a balancing correction. + """ + arrays = [np.asarray(value, dtype=float) for value in ( + capacity, positive_reference, negative_reference, old_positive, old_negative, new_positive, new_negative, + )] + limit, ref_plus, ref_minus, old_plus, old_minus, new_plus, new_minus = arrays + if (limit.ndim != 1 or limit.size == 0 or any(value.shape != limit.shape or not np.all(np.isfinite(value)) for value in arrays) + or np.any(limit <= 0.0)): + raise ValueError("shared-site secant requires matched finite vectors and positive common capacities") + before = np.stack(shared_site_fractions(ref_plus, ref_minus, old_plus, old_minus)) + after = np.stack(shared_site_fractions(ref_plus, ref_minus, new_plus, new_minus)) + _physical_arrays(limit * before[0], limit * before[1], limit) + _physical_arrays(limit * after[0], limit * after[1], limit) + delta = np.stack((new_plus - old_plus, new_minus - old_minus, np.zeros_like(limit))) + if not np.all(np.isfinite(delta)): + raise FloatingPointError("shared-site coordinate increment is nonfinite") + change = np.zeros_like(before) + for first in range(3): + for second in range(first + 1, 3): + difference = delta[first] - delta[second] + positive = limit * after[first] * before[second] * (-np.expm1(-np.maximum(difference, 0.0))) + negative = limit * before[first] * after[second] * np.expm1(np.minimum(difference, 0.0)) + pair = np.where(difference >= 0.0, positive, negative) + change[first] += pair + change[second] -= pair + if not np.all(np.isfinite(change)): + raise FloatingPointError("shared-site physical secant is nonfinite") + return change[0], change[1] diff --git a/src/solarlab/physics/presets.py b/src/solarlab/physics/presets.py new file mode 100644 index 00000000..93c7c257 --- /dev/null +++ b/src/solarlab/physics/presets.py @@ -0,0 +1,128 @@ +"""Named starting selections, without the old mode-ceiling semantics. + +Migration supplies effective choices and historical disables with their source +evidence. This module neither imports old drivers nor guesses effective physics +from mode flags. Unresolved driver/environment behavior remains explicit. +""" + +from __future__ import annotations + +from collections.abc import Iterable, Mapping, Sequence +from dataclasses import dataclass + +from solarlab.physics.registry import ( + CapabilityContext, EvidenceRef, ModelRef, ModelRegistry, Scope, + _strings, _token, _verify_evidence_sources, metadata_digest, metadata_value, +) +from solarlab.physics.selection import ( + ModelChoice, ParameterSource, Selection, Topology, _choices, select_models, +) + +__all__ = ["HistoricalDisable", "NamedPreset", "PresetSelection", "select_preset"] + + +@dataclass(frozen=True, slots=True) +class HistoricalDisable: + """One source-observed suppression, with explicit model-version mapping.""" + + id: str + models: tuple[ModelRef, ...] + evidence: EvidenceRef + + def __post_init__(self) -> None: + _token(self.id, "historical disabled mechanism") + models = tuple(self.models) + if not models or any(not isinstance(model, ModelRef) for model in models): + raise ValueError("historical disable requires explicit model versions") + if len(set(models)) != len(models) or not isinstance(self.evidence, EvidenceRef): + raise ValueError("invalid historical disable mapping/evidence") + object.__setattr__(self, "models", tuple(sorted(models))) + + +@dataclass(frozen=True, slots=True) +class NamedPreset: + id: str + version: int + label: str + defaults: tuple[tuple[str, tuple[ModelChoice, ...]], ...] + evidence: tuple[EvidenceRef, ...] + historical_disables: tuple[HistoricalDisable, ...] = () + unresolved_behavior: tuple[str, ...] = () + + def __post_init__(self) -> None: + ModelRef(self.id, self.version) + if not isinstance(self.label, str) or not self.label.strip(): + raise ValueError("preset requires a display label") + defaults = tuple(self.defaults) + if any(not isinstance(item, tuple) or len(item) != 2 for item in defaults): + raise ValueError("preset defaults require (scope kind, choices) pairs") + if len({kind for kind, _ in defaults}) != len(defaults): + raise ValueError("duplicate preset scope kind") + if any(kind not in {"device", "layer", "interface", "contact"} for kind, _ in defaults): + raise ValueError("unknown preset scope kind") + object.__setattr__(self, "defaults", tuple(sorted( + (kind, tuple(sorted(_choices(choices), key=lambda item: item.id))) + for kind, choices in defaults + ))) + evidence = tuple(self.evidence) + if not evidence or any(not isinstance(item, EvidenceRef) for item in evidence): + raise ValueError("preset requires evidence for its supplied defaults") + object.__setattr__(self, "evidence", tuple(sorted(set(evidence)))) + disabled = tuple(self.historical_disables) + if any(not isinstance(item, HistoricalDisable) for item in disabled): + raise ValueError("invalid historical disable record") + if len({item.id for item in disabled}) != len(disabled): + raise ValueError("duplicate historical mechanism ID") + active = {choice.model for _, choices in self.defaults for choice in choices} + if any(active.intersection(item.models) for item in disabled): + raise ValueError("starting preset enables a historically disabled mechanism") + object.__setattr__(self, "historical_disables", tuple(sorted(disabled, key=lambda item: item.id))) + object.__setattr__(self, "unresolved_behavior", _strings(self.unresolved_behavior, "unresolved legacy behavior")) + + @property + def content_sha256(self) -> str: + return metadata_digest(metadata_value(self)) + + def verify_sources( + self, sources: Iterable[tuple[str, bytes]], *, expected_sha256: str, + ) -> None: + """Bind default/disable records to bytes without changing their policy.""" + if expected_sha256 != self.content_sha256: + raise ValueError("preset changed from the expected frozen identity") + _verify_evidence_sources( + (*self.evidence, *(item.evidence for item in self.historical_disables)), sources, + ) + + +@dataclass(frozen=True, slots=True) +class PresetSelection: + preset: NamedPreset + selection: Selection + + def __post_init__(self) -> None: + if not isinstance(self.preset, NamedPreset) or not isinstance(self.selection, Selection): + raise ValueError("preset selection requires validated metadata") + + @property + def reenabled_historical_mechanisms(self) -> tuple[str, ...]: + active = {item.model for item in self.selection.instances} + return tuple(item.id for item in self.preset.historical_disables if active.intersection(item.models)) + + @property + def content_sha256(self) -> str: + return metadata_digest(metadata_value(self)) + + +def select_preset( + preset: NamedPreset, registry: ModelRegistry, topology: Topology, + context: CapabilityContext, parameter_sources: Mapping[Scope, ParameterSource], + overrides: Mapping[Scope, Mapping[str, Sequence[ModelChoice]]] | None = None, + *, instance_parameter_sources: Mapping[str, ParameterSource] | None = None, +) -> PresetSelection: + """Explicit overrides may depart from history; that departure is retained.""" + if not isinstance(preset, NamedPreset): + raise ValueError("a named preset is required") + return PresetSelection(preset, select_models( + registry, topology, context, dict(preset.defaults), parameter_sources, overrides, + instance_parameter_sources=instance_parameter_sources, + )) diff --git a/src/solarlab/physics/recombination/__init__.py b/src/solarlab/physics/recombination/__init__.py new file mode 100644 index 00000000..edc5c3d0 --- /dev/null +++ b/src/solarlab/physics/recombination/__init__.py @@ -0,0 +1,82 @@ +"""Bulk recombination constitutive laws (P04-07, values, tangents and DC). + +Maxwell-Boltzmann lifetime SRH, radiative and Auger recombination; the DEF-1 +explicit neutral SRH inventory and its node ownership; position-dependent +trap profiles; and the energy-resolved bulk-trap closure. Interface SRH +belongs to the interface-transport slice and dynamic, multivalent and +metastable defect closures to the defect slice; neither is provided here. +""" + +from solarlab.physics.recombination.bulk import ( + RecombinationRate, + auger_recombination, + lifetime_srh_denominator, + lifetime_srh_from_denominator, + lifetime_srh_recombination, + radiative_recombination, + sum_recombination_rates, +) +from solarlab.physics.recombination.energy_resolved_traps import ( + BulkTrapDistribution, + BulkTrapQuadrature, + BulkTrapState, + TrapAwareNeutrality, + build_bulk_trap_quadrature, + bulk_trap_distribution_from_mapping, + evaluate_bulk_trap_state, + solve_bulk_trap_charge_neutrality, +) +from solarlab.physics.recombination.explicit_neutral import ( + NeutralDefectSpecies, + NeutralExplicitDefectEvaluation, + NeutralExplicitDefectModel, + compile_neutral_defect_species, + evaluate_neutral_explicit_defects, +) +from solarlab.physics.recombination.reaction import ( + BulkRecombinationCoefficients, + BulkRecombinationEvaluation, + BulkRecombinationReaction, + CarrierSources, + RecombinationDomainError, +) +from solarlab.physics.recombination.trap_profile import ( + TrapProfile, + TrapProfileBinding, + exponential_edge_profile, + gaussian_edge_profile, + tau_from_trap_density, +) + +__all__ = [ + "BulkRecombinationCoefficients", + "BulkRecombinationEvaluation", + "BulkRecombinationReaction", + "BulkTrapDistribution", + "BulkTrapQuadrature", + "BulkTrapState", + "CarrierSources", + "NeutralDefectSpecies", + "NeutralExplicitDefectEvaluation", + "NeutralExplicitDefectModel", + "RecombinationDomainError", + "RecombinationRate", + "TrapAwareNeutrality", + "TrapProfile", + "TrapProfileBinding", + "auger_recombination", + "build_bulk_trap_quadrature", + "bulk_trap_distribution_from_mapping", + "compile_neutral_defect_species", + "evaluate_bulk_trap_state", + "evaluate_neutral_explicit_defects", + "exponential_edge_profile", + "gaussian_edge_profile", + "lifetime_srh_denominator", + "lifetime_srh_from_denominator", + "lifetime_srh_recombination", + "radiative_recombination", + "solve_bulk_trap_charge_neutrality", + "sum_recombination_rates", + "tau_from_trap_density", +] diff --git a/src/solarlab/physics/recombination/_validation.py b/src/solarlab/physics/recombination/_validation.py new file mode 100644 index 00000000..6da740c7 --- /dev/null +++ b/src/solarlab/physics/recombination/_validation.py @@ -0,0 +1,74 @@ +"""Small array helpers shared by the recombination constitutive modules. + +These helpers only validate and freeze inputs. They never change a finite +value, so a law evaluated on a validated array performs exactly the same +floating-point operations as on the caller's array. +""" + +from __future__ import annotations + +import math + +import numpy as np + +__all__ = [ + "frozen_float_array", + "frozen_bool_mask", + "require_finite", + "finite_positive", + "finite_nonnegative", +] + + +def frozen_float_array(value: object, *, name: str) -> np.ndarray: + """Return a detached read-only float64 copy of ``value``.""" + + array = np.array(value, dtype=float, copy=True) + array.setflags(write=False) + return array + + +def frozen_bool_mask(value: object, *, name: str, length: int | None = None) -> np.ndarray: + """Return a detached read-only 1D boolean mask.""" + + raw = np.asarray(value) + if raw.dtype != np.bool_: + raise TypeError(f"{name} must be a boolean mask") + mask = np.array(raw, dtype=bool, copy=True) + if mask.ndim != 1 or (length is not None and mask.shape != (length,)): + raise ValueError(f"{name} must be a 1D mask of length {length}") + mask.setflags(write=False) + return mask + + +def require_finite(array: np.ndarray, *, name: str) -> None: + if not np.all(np.isfinite(array)): + raise ValueError(f"{name} must be finite") + + +def finite_positive(value: object, name: str) -> float: + """A finite strictly positive scalar; booleans are not numbers here.""" + + if isinstance(value, bool): + raise ValueError(f"{name} must be finite and positive") + try: + number = float(value) # type: ignore[arg-type] + except (TypeError, ValueError) as exc: + raise ValueError(f"{name} must be finite and positive") from exc + if not math.isfinite(number) or number <= 0.0: + raise ValueError(f"{name} must be finite and positive") + return number + + +def finite_nonnegative(value: object, name: str) -> float: + """A finite non-negative scalar; booleans are not numbers here.""" + + if isinstance(value, bool): + raise ValueError(f"{name} must be finite and non-negative") + try: + number = float(value) # type: ignore[arg-type] + except (TypeError, ValueError) as exc: + raise ValueError(f"{name} must be finite and non-negative") from exc + if not math.isfinite(number) or number < 0.0: + raise ValueError(f"{name} must be finite and non-negative") + return number diff --git a/src/solarlab/physics/recombination/bulk.py b/src/solarlab/physics/recombination/bulk.py new file mode 100644 index 00000000..4c1fa4c7 --- /dev/null +++ b/src/solarlab/physics/recombination/bulk.py @@ -0,0 +1,154 @@ +"""Maxwell-Boltzmann bulk recombination rate laws with exact local tangents. + +Every law returns the net recombination rate ``R`` [m^-3 s^-1] (positive is +recombination, negative is net thermal generation) together with its exact +partial derivatives with respect to the local electron and hole densities +[s^-1]. The arithmetic, including its evaluation order, is the historical +one, so a migrated consumer reproduces the historical arrays bit for bit: + +* lifetime SRH ``(n p - ni^2) / (tau_p (n + n1) + tau_n (p + p1))`` +* radiative ``B (n p - ni^2)`` +* Auger ``(C_n n + C_p p) (n p - ni^2)`` + +The kernels do not validate or broadcast. They accept real or complex +arrays (the latter only for complex-step verification); coefficient +validation belongs to the bound reaction in ``reaction.py``. +""" + +from __future__ import annotations + +from dataclasses import dataclass +from typing import Any + +import numpy as np + +__all__ = [ + "RecombinationRate", + "auger_recombination", + "lifetime_srh_denominator", + "lifetime_srh_from_denominator", + "lifetime_srh_recombination", + "radiative_recombination", + "sum_recombination_rates", +] + + +@dataclass(frozen=True, slots=True) +class RecombinationRate: + """Net rate [m^-3 s^-1] and local derivatives d/dn, d/dp [s^-1]. + + The derivatives are ``None`` when only the value was requested. + """ + + rate: np.ndarray + d_rate_dn: np.ndarray | None + d_rate_dp: np.ndarray | None + + @property + def has_derivatives(self) -> bool: + return self.d_rate_dn is not None and self.d_rate_dp is not None + + +def _result(rate: Any, d_dn: Any, d_dp: Any) -> RecombinationRate: + arrays = [np.asarray(rate)] + if d_dn is not None: + arrays += [np.asarray(d_dn), np.asarray(d_dp)] + for array in arrays: + if array.ndim: + array.setflags(write=False) + if d_dn is None: + return RecombinationRate(arrays[0], None, None) + return RecombinationRate(arrays[0], arrays[1], arrays[2]) + + +def lifetime_srh_denominator(n: Any, p: Any, tau_n: Any, tau_p: Any, n1: Any, p1: Any) -> Any: + """Bulk SRH denominator ``tau_p (n + n1) + tau_n (p + p1)`` [s m^-3].""" + + return tau_p * (n + n1) + tau_n * (p + p1) + + +def lifetime_srh_recombination( + n: Any, p: Any, ni_sq: Any, tau_n: Any, tau_p: Any, n1: Any, p1: Any, *, derivatives: bool = True +) -> RecombinationRate: + """Single-level lifetime-form SRH and its exact local derivatives. + + ``dR/dn = (p - R tau_p) / D`` and ``dR/dp = (n - R tau_n) / D`` follow + from the quotient rule on ``R = (n p - ni^2) / D``. + """ + + denominator = lifetime_srh_denominator(n, p, tau_n, tau_p, n1, p1) + return lifetime_srh_from_denominator(n, p, ni_sq, tau_n, tau_p, denominator, derivatives=derivatives) + + +def lifetime_srh_from_denominator( + n: Any, p: Any, ni_sq: Any, tau_n: Any, tau_p: Any, denominator: Any, *, derivatives: bool = True +) -> RecombinationRate: + """Lifetime-form SRH given its already evaluated denominator. + + Lets one evaluation report the denominator it divided by (the SRH + observation) without computing it twice. + """ + + blocked = np.equal(tau_n, np.inf) | np.equal(tau_p, np.inf) + if np.any(~np.isfinite(denominator) & ~blocked): + raise FloatingPointError("finite-lifetime SRH denominator overflow or nonfinite value") + numerator = n * p - ni_sq + with np.errstate(invalid="ignore"): + rate = numerator / denominator + rate = np.where(blocked, np.copysign(0.0, np.real(numerator)), rate) + if not derivatives: + return _result(rate, None, None) + with np.errstate(invalid="ignore"): + d_dn = (p - rate * tau_p) / denominator + d_dp = (n - rate * tau_n) / denominator + if np.any(blocked): + # A blocked capture leg (tau = +inf) makes R vanish identically, so + # both exact partials are 0; the quotient-rule form would evaluate + # 0 * inf = NaN there (N-class difference, only on these nodes). + d_dn = np.where(blocked, 0.0, d_dn) + d_dp = np.where(blocked, 0.0, d_dp) + return _result(rate, d_dn, d_dp) + + +def radiative_recombination(n: Any, p: Any, ni_sq: Any, B_rad: Any, *, derivatives: bool = True) -> RecombinationRate: + """Bimolecular band-to-band radiative recombination.""" + + rate = B_rad * (n * p - ni_sq) + if not derivatives: + return _result(rate, None, None) + return _result(rate, B_rad * p, B_rad * n) + + +def auger_recombination( + n: Any, p: Any, ni_sq: Any, C_n: Any, C_p: Any, *, derivatives: bool = True +) -> RecombinationRate: + """Band-to-band Auger recombination ``(C_n n + C_p p)(n p - ni^2)``.""" + + numerator = n * p - ni_sq + coefficient = C_n * n + C_p * p + rate = coefficient * numerator + if not derivatives: + return _result(rate, None, None) + return _result( + rate, + C_n * numerator + coefficient * p, + C_p * numerator + coefficient * n, + ) + + +def sum_recombination_rates(*terms: RecombinationRate) -> RecombinationRate: + """Add channels left to right, in the historical SRH + radiative + Auger order.""" + + if not terms: + raise ValueError("at least one recombination channel is required") + rate: Any = terms[0].rate + for term in terms[1:]: + rate = rate + term.rate + if not all(term.has_derivatives for term in terms): + return _result(rate, None, None) + d_dn: Any = terms[0].d_rate_dn + d_dp: Any = terms[0].d_rate_dp + for term in terms[1:]: + d_dn = d_dn + term.d_rate_dn + d_dp = d_dp + term.d_rate_dp + return _result(rate, d_dn, d_dp) diff --git a/src/solarlab/physics/recombination/energy_resolved_traps.py b/src/solarlab/physics/recombination/energy_resolved_traps.py new file mode 100644 index 00000000..05bfd3c5 --- /dev/null +++ b/src/solarlab/physics/recombination/energy_resolved_traps.py @@ -0,0 +1,483 @@ +"""Energy-resolved bulk traps: one quadrature for occupancy, rate and charge. + +This is the explicit Maxwell-Boltzmann research closure of the historical +``bulk_traps`` module. A single normalised energy quadrature supplies every +trap observable, so recombination and electrostatic charge are two views of +one reaction population and cannot silently disagree. Energies are measured +upward from the valence-band edge [eV]; ``total_density_m3`` is the +energy-integrated density, never a peak density. Acceptor traps are neutral +when empty and negative when filled; donor traps are positive when empty +and neutral when filled. + +The trap-aware charge-neutrality solve is the DC contact closure +``p - n + N_D - N_A + N_trap = 0`` in the MB limit, bisected on the reduced +electron Fermi level. Interface switch point (S4): the MB activity and the +SI constants below are private copies of the shared statistics/constants +definitions that W3a's P04-03 slice will own; the arithmetic is identical +(``dos * exp(eta)`` with overflow to ``+inf``, ``V_T = k_B T / q``). +""" + +from __future__ import annotations + +from collections.abc import Mapping +from dataclasses import dataclass +import math +from typing import Any, Literal + +import numpy as np +from scipy.special import ndtr, ndtri + +from solarlab.physics.recombination._validation import ( + finite_nonnegative, + finite_positive, + frozen_float_array, +) + +__all__ = [ + "ACCEPTOR", + "DEFAULT_BULK_TRAP_QUADRATURE_ORDER", + "DONOR", + "GAUSSIAN", + "SINGLE_LEVEL", + "BulkTrapDistribution", + "BulkTrapQuadrature", + "BulkTrapState", + "TrapAwareNeutrality", + "build_bulk_trap_quadrature", + "bulk_trap_distribution_from_mapping", + "evaluate_bulk_trap_state", + "solve_bulk_trap_charge_neutrality", +] + +SINGLE_LEVEL = "single_level" +GAUSSIAN = "gaussian" +ACCEPTOR = "acceptor" +DONOR = "donor" +DEFAULT_BULK_TRAP_QUADRATURE_ORDER = 64 +BulkTrapDistributionKind = Literal["single_level", "gaussian"] +BulkTrapChargeTransition = Literal["acceptor", "donor"] + +# Exact SI 2019 values (switch point S4: shared constants module). +_ELEMENTARY_CHARGE_C = 1.602176634e-19 +_BOLTZMANN_J_K = 1.380649e-23 + + +def _thermal_voltage(temperature_K: float) -> float: + return _BOLTZMANN_J_K * temperature_K / _ELEMENTARY_CHARGE_C + + +def _boltzmann_activity(eta: float) -> float: + try: + return math.exp(eta) + except OverflowError: + return math.inf + + +def _mb_density(reduced_fermi_level: float, density_of_states_m3: float) -> float: + """Maxwell-Boltzmann ``N exp(eta)`` (switch point S4: P04-03 statistics).""" + + eta = float(reduced_fermi_level) + if math.isnan(eta): + raise ValueError("reduced_fermi_level must not be NaN") + return float(density_of_states_m3 * _boltzmann_activity(eta)) + + +@dataclass(frozen=True, slots=True) +class BulkTrapDistribution: + """One spatially uniform, energy-resolved bulk-defect population.""" + + distribution: BulkTrapDistributionKind + total_density_m3: float + center_eV_above_vb: float + sigma_n_m2: float + sigma_p_m2: float + thermal_velocity_m_s: float + charge_transition: BulkTrapChargeTransition + energy_sigma_eV: float | None = None + + def __post_init__(self) -> None: + distribution = str(self.distribution).strip().lower() + if distribution not in {SINGLE_LEVEL, GAUSSIAN}: + raise ValueError("bulk trap distribution must be 'single_level' or 'gaussian'") + transition = str(self.charge_transition).strip().lower() + if transition not in {ACCEPTOR, DONOR}: + raise ValueError("bulk trap charge_transition must be 'acceptor' or 'donor'") + object.__setattr__(self, "distribution", distribution) + object.__setattr__(self, "charge_transition", transition) + for name in ("total_density_m3", "sigma_n_m2", "sigma_p_m2", "thermal_velocity_m_s"): + object.__setattr__(self, name, finite_positive(getattr(self, name), name)) + object.__setattr__( + self, + "center_eV_above_vb", + finite_nonnegative(self.center_eV_above_vb, "center_eV_above_vb"), + ) + if distribution == SINGLE_LEVEL: + if self.energy_sigma_eV is not None: + raise ValueError("energy_sigma_eV is forbidden for single_level bulk traps") + else: + if self.energy_sigma_eV is None: + raise ValueError("gaussian bulk traps require energy_sigma_eV") + object.__setattr__( + self, "energy_sigma_eV", finite_positive(self.energy_sigma_eV, "energy_sigma_eV") + ) + + def validate_band_gap(self, band_gap_eV: float) -> None: + gap = finite_positive(band_gap_eV, "band_gap_eV") + if self.center_eV_above_vb > gap: + raise ValueError("bulk trap center_eV_above_vb must lie inside the band gap") + + +def bulk_trap_distribution_from_mapping(value: Mapping[str, Any]) -> BulkTrapDistribution: + """Parse the strict standard-SI bulk-trap schema (no unknown keys).""" + + if not isinstance(value, Mapping): + raise ValueError("bulk_trap_distribution must be a mapping") + common = { + "distribution", + "total_density_m3", + "center_eV_above_vb", + "sigma_n_m2", + "sigma_p_m2", + "thermal_velocity_m_s", + "charge_transition", + } + raw_distribution = value.get("distribution") + distribution = ( + str(raw_distribution).strip().lower() + if isinstance(raw_distribution, str) + else raw_distribution + ) + allowed = common | ({"energy_sigma_eV"} if distribution == GAUSSIAN else set()) + missing = sorted(common - set(value)) + unknown = sorted(str(key) for key in set(value) - allowed) + if missing or unknown: + raise ValueError( + f"bulk_trap_distribution schema mismatch: missing={missing}, unknown={unknown}" + ) + return BulkTrapDistribution( + distribution=value["distribution"], + total_density_m3=value["total_density_m3"], + center_eV_above_vb=value["center_eV_above_vb"], + sigma_n_m2=value["sigma_n_m2"], + sigma_p_m2=value["sigma_p_m2"], + thermal_velocity_m_s=value["thermal_velocity_m_s"], + charge_transition=value["charge_transition"], + energy_sigma_eV=value.get("energy_sigma_eV"), + ) + + +@dataclass(frozen=True, slots=True) +class BulkTrapQuadrature: + """Finite energy levels [eV above E_V] and volume-density weights [m^-3].""" + + energy_levels_eV: tuple[float, ...] + density_weights_m3: tuple[float, ...] + + @property + def order(self) -> int: + return len(self.energy_levels_eV) + + +def build_bulk_trap_quadrature( + distribution: BulkTrapDistribution, + *, + band_gap_eV: float, + order: int = DEFAULT_BULK_TRAP_QUADRATURE_ORDER, +) -> BulkTrapQuadrature: + """A normalised quadrature confined to ``0 <= E_t <= E_g``. + + Gaussian levels use Gauss-Legendre nodes in the probability coordinate + of the truncated normal, which keeps the total density exact and stays + resolved in the delta-like limit. + """ + + if not isinstance(distribution, BulkTrapDistribution): + raise TypeError("distribution must be a BulkTrapDistribution") + distribution.validate_band_gap(band_gap_eV) + gap = float(band_gap_eV) + if distribution.distribution == SINGLE_LEVEL: + return BulkTrapQuadrature( + energy_levels_eV=(float(distribution.center_eV_above_vb),), + density_weights_m3=(float(distribution.total_density_m3),), + ) + if isinstance(order, bool) or not isinstance(order, (int, np.integer)): + raise ValueError("bulk trap quadrature order must be an integer") + resolved_order = int(order) + if resolved_order < 2 or resolved_order > 512: + raise ValueError("bulk trap quadrature order must be in [2, 512]") + assert distribution.energy_sigma_eV is not None + sigma = float(distribution.energy_sigma_eV) + center = float(distribution.center_eV_above_vb) + lower_cdf = float(ndtr(-center / sigma)) + upper_cdf = float(ndtr((gap - center) / sigma)) + mass = upper_cdf - lower_cdf + if not math.isfinite(mass) or mass <= np.finfo(float).eps: + raise ValueError("gaussian bulk trap has no resolvable mass inside the gap") + nodes, weights = np.polynomial.legendre.leggauss(resolved_order) + probability = lower_cdf + 0.5 * (nodes + 1.0) * mass + energy = center + sigma * ndtri(probability) + density_weights = 0.5 * weights * float(distribution.total_density_m3) + if ( + not np.all(np.isfinite(energy)) + or not np.all(np.isfinite(density_weights)) + or np.any(energy < 0.0) + or np.any(energy > gap) + or np.any(density_weights <= 0.0) + ): + raise FloatingPointError("bulk trap energy quadrature is invalid") + density_weights *= float(distribution.total_density_m3) / float(np.sum(density_weights)) + return BulkTrapQuadrature( + energy_levels_eV=tuple(float(value) for value in energy), + density_weights_m3=tuple(float(value) for value in density_weights), + ) + + +@dataclass(frozen=True, slots=True) +class BulkTrapState: + """Energy-integrated trap state and exact local derivatives. + + ``recombination_rate_m3_s`` and ``charge_density_C_m3`` come from the same + level occupancies, i.e. from one reaction instance. + """ + + occupancy: np.ndarray + occupied_density_m3: np.ndarray + signed_charge_number_density_m3: np.ndarray + charge_density_C_m3: np.ndarray + recombination_rate_m3_s: np.ndarray + recombination_derivative_n_s: np.ndarray + recombination_derivative_p_s: np.ndarray + charge_number_derivative_n: np.ndarray + charge_number_derivative_p: np.ndarray + charge_number_derivative_potential_m3_V: np.ndarray + minimum_level_occupancy: float + maximum_level_occupancy: float + + def __post_init__(self) -> None: + for name in ( + "occupancy", + "occupied_density_m3", + "signed_charge_number_density_m3", + "charge_density_C_m3", + "recombination_rate_m3_s", + "recombination_derivative_n_s", + "recombination_derivative_p_s", + "charge_number_derivative_n", + "charge_number_derivative_p", + "charge_number_derivative_potential_m3_V", + ): + object.__setattr__(self, name, frozen_float_array(getattr(self, name), name=name)) + + +def evaluate_bulk_trap_state( + electron_density_m3: np.ndarray | float, + hole_density_m3: np.ndarray | float, + distribution: BulkTrapDistribution, + *, + band_gap_eV: float, + effective_conduction_dos_m3: float, + effective_valence_dos_m3: float, + temperature_K: float, + quadrature_order: int = DEFAULT_BULK_TRAP_QUADRATURE_ORDER, +) -> BulkTrapState: + """Steady occupancy, SRH rate, charge and analytic tangent at one state.""" + + n, p = np.broadcast_arrays( + np.asarray(electron_density_m3, dtype=float), + np.asarray(hole_density_m3, dtype=float), + ) + if ( + not np.all(np.isfinite(n)) + or not np.all(np.isfinite(p)) + or np.any(n < 0.0) + or np.any(p < 0.0) + ): + raise ValueError("bulk trap carrier densities must be finite and non-negative") + gap = finite_positive(band_gap_eV, "band_gap_eV") + conduction_dos = finite_positive(effective_conduction_dos_m3, "effective_conduction_dos_m3") + valence_dos = finite_positive(effective_valence_dos_m3, "effective_valence_dos_m3") + thermal = _thermal_voltage(finite_positive(temperature_K, "temperature_K")) + quadrature = build_bulk_trap_quadrature(distribution, band_gap_eV=gap, order=quadrature_order) + energy: np.ndarray = np.asarray(quadrature.energy_levels_eV, dtype=float) + weights: np.ndarray = np.asarray(quadrature.density_weights_m3, dtype=float) + shape = (energy.size,) + (1,) * n.ndim + energy = energy.reshape(shape) + weights = weights.reshape(shape) + n_expanded = np.expand_dims(n, axis=0) + p_expanded = np.expand_dims(p, axis=0) + n1 = conduction_dos * np.exp(-(gap - energy) / thermal) + p1 = valence_dos * np.exp(-energy / thermal) + capture_n = float(distribution.sigma_n_m2) * float(distribution.thermal_velocity_m_s) + capture_p = float(distribution.sigma_p_m2) * float(distribution.thermal_velocity_m_s) + denominator = capture_n * (n_expanded + n1) + capture_p * (p_expanded + p1) + if not np.all(np.isfinite(denominator)) or np.any(denominator <= 0.0): + raise FloatingPointError("bulk trap kinetic denominator is invalid") + filled_numerator = capture_n * n_expanded + capture_p * p1 + level_occupancy = filled_numerator / denominator + one_minus_occupancy = 1.0 - level_occupancy + occupancy = np.sum(weights * level_occupancy, axis=0) / float(distribution.total_density_m3) + occupied_density = np.sum(weights * level_occupancy, axis=0) + intrinsic_product = conduction_dos * valence_dos * math.exp(-gap / thermal) + excess_product = n_expanded * p_expanded - intrinsic_product + level_rate = weights * capture_n * capture_p * excess_product / denominator + rate = np.sum(level_rate, axis=0) + derivative_n = np.sum( + weights + * capture_n + * capture_p + * (p_expanded * denominator - excess_product * capture_n) + / denominator**2, + axis=0, + ) + derivative_p = np.sum( + weights + * capture_n + * capture_p + * (n_expanded * denominator - excess_product * capture_p) + / denominator**2, + axis=0, + ) + occupancy_derivative_n = capture_n * one_minus_occupancy / denominator + occupancy_derivative_p = -capture_p * level_occupancy / denominator + charge_derivative_n = -np.sum(weights * occupancy_derivative_n, axis=0) + charge_derivative_p = -np.sum(weights * occupancy_derivative_p, axis=0) + if distribution.charge_transition == ACCEPTOR: + signed_charge_number = -occupied_density + else: + signed_charge_number = float(distribution.total_density_m3) - occupied_density + potential_derivative = charge_derivative_n * n / thermal - charge_derivative_p * p / thermal + outputs = ( + occupancy, + occupied_density, + signed_charge_number, + rate, + derivative_n, + derivative_p, + charge_derivative_n, + charge_derivative_p, + potential_derivative, + ) + if not all(np.all(np.isfinite(value)) for value in outputs): + raise FloatingPointError("bulk trap state is non-finite") + minimum = float(np.min(level_occupancy)) + maximum = float(np.max(level_occupancy)) + if minimum < -1.0e-14 or maximum > 1.0 + 1.0e-14: + raise FloatingPointError("bulk trap level occupancy left [0, 1]") + return BulkTrapState( + occupancy=occupancy, + occupied_density_m3=occupied_density, + signed_charge_number_density_m3=signed_charge_number, + charge_density_C_m3=_ELEMENTARY_CHARGE_C * signed_charge_number, + recombination_rate_m3_s=rate, + recombination_derivative_n_s=derivative_n, + recombination_derivative_p_s=derivative_p, + charge_number_derivative_n=charge_derivative_n, + charge_number_derivative_p=charge_derivative_p, + charge_number_derivative_potential_m3_V=potential_derivative, + minimum_level_occupancy=minimum, + maximum_level_occupancy=maximum, + ) + + +@dataclass(frozen=True, slots=True) +class TrapAwareNeutrality: + """A trap-aware common-Fermi-level bulk state (MB, fully ionised dopants).""" + + temperature_K: float + thermal_voltage_V: float + band_gap_eV: float + effective_conduction_dos_m3: float + effective_valence_dos_m3: float + acceptor_density_m3: float + donor_density_m3: float + reduced_electron_fermi_level: float + reduced_hole_fermi_level: float + electron_density_m3: float + hole_density_m3: float + normalized_charge_residual: float + trap_state: BulkTrapState + + +def solve_bulk_trap_charge_neutrality( + *, + temperature_K: float, + band_gap_eV: float, + effective_conduction_dos_m3: float, + effective_valence_dos_m3: float, + acceptor_density_m3: float, + donor_density_m3: float, + distribution: BulkTrapDistribution, + quadrature_order: int = DEFAULT_BULK_TRAP_QUADRATURE_ORDER, +) -> TrapAwareNeutrality: + """Solve ``p - n + N_D - N_A + N_trap = 0`` in the MB limit by bisection.""" + + temperature = finite_positive(temperature_K, "temperature_K") + gap = finite_positive(band_gap_eV, "band_gap_eV") + conduction_dos = finite_positive(effective_conduction_dos_m3, "effective_conduction_dos_m3") + valence_dos = finite_positive(effective_valence_dos_m3, "effective_valence_dos_m3") + acceptors = finite_nonnegative(acceptor_density_m3, "acceptor_density_m3") + donors = finite_nonnegative(donor_density_m3, "donor_density_m3") + thermal = _thermal_voltage(temperature) + reduced_gap = gap / thermal + + def evaluate(eta_n: float) -> tuple[float, float, float, float, BulkTrapState]: + eta_p = -reduced_gap - eta_n + electron = _mb_density(eta_n, conduction_dos) + hole = _mb_density(eta_p, valence_dos) + trap = evaluate_bulk_trap_state( + electron, + hole, + distribution, + band_gap_eV=gap, + effective_conduction_dos_m3=conduction_dos, + effective_valence_dos_m3=valence_dos, + temperature_K=temperature, + quadrature_order=quadrature_order, + ) + residual = hole - electron + donors - acceptors + float(trap.signed_charge_number_density_m3) + return residual, electron, hole, eta_p, trap + + intrinsic_center = 0.5 * (-reduced_gap + math.log(valence_dos / conduction_dos)) + half_width = max(32.0, 0.5 * reduced_gap + 8.0) + lower = intrinsic_center - half_width + upper = intrinsic_center + half_width + for _ in range(32): + lower_residual = evaluate(lower)[0] + upper_residual = evaluate(upper)[0] + if lower_residual >= 0.0 and upper_residual <= 0.0: + break + half_width *= 2.0 + lower = intrinsic_center - half_width + upper = intrinsic_center + half_width + else: + raise RuntimeError("could not bracket trap-aware charge neutrality") + for _ in range(220): + midpoint = 0.5 * (lower + upper) + residual = evaluate(midpoint)[0] + if residual > 0.0: + lower = midpoint + else: + upper = midpoint + if upper - lower <= max(2.0e-14, 4.0 * math.ulp(midpoint)): + break + eta_n = 0.5 * (lower + upper) + residual, electron, hole, eta_p, trap = evaluate(eta_n) + scale = max(electron, hole, donors, acceptors, float(distribution.total_density_m3), 1.0) + normalized = abs(residual) / scale + if not math.isfinite(normalized) or normalized > 1.0e-12: + raise RuntimeError("trap-aware charge-neutrality residual exceeded gate") + return TrapAwareNeutrality( + temperature_K=temperature, + thermal_voltage_V=thermal, + band_gap_eV=gap, + effective_conduction_dos_m3=conduction_dos, + effective_valence_dos_m3=valence_dos, + acceptor_density_m3=acceptors, + donor_density_m3=donors, + reduced_electron_fermi_level=eta_n, + reduced_hole_fermi_level=eta_p, + electron_density_m3=electron, + hole_density_m3=hole, + normalized_charge_residual=normalized, + trap_state=trap, + ) diff --git a/src/solarlab/physics/recombination/explicit_neutral.py b/src/solarlab/physics/recombination/explicit_neutral.py new file mode 100644 index 00000000..c0ec3766 --- /dev/null +++ b/src/solarlab/physics/recombination/explicit_neutral.py @@ -0,0 +1,338 @@ +"""DEF-1 explicit neutral multi-species SRH and its node ownership. + +An explicit defect inventory REPLACES the layer's lifetime-form SRH on the +nodes it owns; it is never added on top of it. Each neutral single-level +species contributes its own lifetime-form SRH term with capture lifetimes +``tau = 1 / (sigma v_th N_t)`` and trap reference densities +``n1 = ni exp((E_t - E_g/2)/V_T)``, ``p1 = ni exp(-(E_t - E_g/2)/V_T)``. +Species owning the same node are summed in declaration order. A species +with an infinite capture lifetime cannot close the SRH cycle and +contributes nothing. + +Model identity (``explicit_neutral_multi_species_srh_v1``) and every array +operation follow the historical implementation exactly. +""" + +from __future__ import annotations + +from dataclasses import dataclass +import hashlib +import json +import math + +import numpy as np + +from solarlab.physics.recombination._validation import frozen_bool_mask, frozen_float_array +from solarlab.physics.recombination.bulk import lifetime_srh_denominator + +__all__ = [ + "EXPLICIT_NEUTRAL_MODEL_ID", + "NeutralDefectSpecies", + "NeutralExplicitDefectEvaluation", + "NeutralExplicitDefectModel", + "compile_neutral_defect_species", + "evaluate_neutral_explicit_defects", +] + +EXPLICIT_NEUTRAL_MODEL_ID = "explicit_neutral_multi_species_srh_v1" + + +@dataclass(frozen=True, slots=True) +class NeutralDefectSpecies: + """One neutral single-level SRH species compiled onto the device grid.""" + + identifier: str + document_sha256: str + active_nodes: np.ndarray + tau_n_s: float + tau_p_s: float + n1_m3: np.ndarray + p1_m3: np.ndarray + + def __post_init__(self) -> None: + identifier = str(self.identifier).strip() + if not identifier: + raise ValueError("neutral defect identifier must be non-empty") + digest = str(self.document_sha256).lower() + if len(digest) != 64 or any(c not in "0123456789abcdef" for c in digest): + raise ValueError("neutral defect document_sha256 must be a SHA-256 hex") + active = np.asarray(self.active_nodes, dtype=bool) + n1 = np.asarray(self.n1_m3, dtype=float) + p1 = np.asarray(self.p1_m3, dtype=float) + if active.ndim != 1 or not np.any(active): + raise ValueError("neutral defect active_nodes must be a non-empty 1D mask") + if n1.shape != active.shape or p1.shape != active.shape: + raise ValueError("neutral defect reference arrays must match active_nodes") + if ( + not np.all(np.isfinite(n1)) + or not np.all(np.isfinite(p1)) + or np.any(n1 < 0.0) + or np.any(p1 < 0.0) + ): + raise ValueError("neutral defect n1/p1 arrays must be finite and non-negative") + for name in ("tau_n_s", "tau_p_s"): + value = float(getattr(self, name)) + if np.isnan(value) or value <= 0.0: + raise ValueError(f"{name} must be positive or +inf") + object.__setattr__(self, name, value) + object.__setattr__(self, "identifier", identifier) + object.__setattr__(self, "document_sha256", digest) + object.__setattr__(self, "active_nodes", frozen_bool_mask(active, name="active_nodes")) + object.__setattr__(self, "n1_m3", frozen_float_array(n1, name="n1_m3")) + object.__setattr__(self, "p1_m3", frozen_float_array(p1, name="p1_m3")) + + @property + def cycle_active(self) -> bool: + """Whether both capture legs are finite and the SRH cycle can close.""" + + return bool(np.isfinite(self.tau_n_s) and np.isfinite(self.tau_p_s)) + + +@dataclass(frozen=True, slots=True) +class NeutralExplicitDefectModel: + """Compiled DEF-1 inventory; ``explicit_node_mask`` is its node ownership.""" + + species: tuple[NeutralDefectSpecies, ...] + explicit_node_mask: np.ndarray + layer_document_sha256: tuple[tuple[str, str], ...] + + def __post_init__(self) -> None: + species = tuple(self.species) + if not species or not all(isinstance(item, NeutralDefectSpecies) for item in species): + raise ValueError("neutral bulk-defect model requires compiled species") + identifiers = [item.identifier for item in species] + if len(identifiers) != len(set(identifiers)): + raise ValueError("compiled neutral defect identifiers must be unique") + mask = np.asarray(self.explicit_node_mask, dtype=bool) + if mask.ndim != 1 or not np.any(mask): + raise ValueError("explicit_node_mask must be a non-empty 1D mask") + if any(item.active_nodes.shape != mask.shape for item in species): + raise ValueError("compiled neutral defect grids must have one node count") + union = np.logical_or.reduce([item.active_nodes for item in species]) + if not np.array_equal(mask, union): + raise ValueError("explicit_node_mask must equal the union of species masks") + documents = tuple( + (str(layer), str(digest).lower()) for layer, digest in self.layer_document_sha256 + ) + if not documents: + raise ValueError("neutral bulk-defect model requires layer document hashes") + if len({layer for layer, _ in documents}) != len(documents): + raise ValueError("neutral bulk-defect layer names must be unique") + valid_hashes = {item.document_sha256 for item in species} + for layer, digest in documents: + if not layer or digest not in valid_hashes: + raise ValueError("layer document hashes must match compiled species") + object.__setattr__(self, "species", species) + object.__setattr__(self, "explicit_node_mask", frozen_bool_mask(mask, name="explicit_node_mask")) + object.__setattr__(self, "layer_document_sha256", documents) + + @property + def node_count(self) -> int: + return int(self.explicit_node_mask.size) + + @property + def owned_nodes(self) -> np.ndarray: + """Nodes on which this model replaces the lifetime-form SRH law.""" + + return self.explicit_node_mask + + @property + def identity_sha256(self) -> str: + payload = { + "model": EXPLICIT_NEUTRAL_MODEL_ID, + "layers": [ + {"name": layer, "document_sha256": digest} + for layer, digest in self.layer_document_sha256 + ], + } + canonical = json.dumps(payload, sort_keys=True, separators=(",", ":"), ensure_ascii=True) + return hashlib.sha256(canonical.encode("ascii")).hexdigest() + + +def compile_neutral_defect_species( + *, + identifier: str, + document_sha256: str, + active_nodes: np.ndarray, + ni_sq_m6: np.ndarray, + band_gap_eV: np.ndarray, + thermal_voltage_V: float, + total_density_m3: float, + center_eV_above_vb: float, + sigma_n_m2: float, + sigma_p_m2: float, + thermal_velocity_n_m_s: float, + thermal_velocity_p_m_s: float, + charge_transition: str, + distribution: str, + degeneracy: float, +) -> NeutralDefectSpecies: + """Compile one DEF-1 species from resolved node arrays. + + ``ni_sq_m6`` and ``band_gap_eV`` are full-grid arrays; only the + ``active_nodes`` entries are read. DEF-1 requires a uniform positive gap + and intrinsic density on the owned nodes, a neutral transition, a single + level and unit degeneracy; anything else is a capability error, never a + silent approximation. + """ + + if charge_transition != "neutral": + raise ValueError( + f"DEF-1 explicit execution accepts neutral species only; {identifier} " + f"is {charge_transition!r}" + ) + if distribution != "single_level": + raise ValueError("DEF-1 explicit execution accepts single-level species only") + if degeneracy != 1.0: + raise ValueError( + "DEF-1 does not silently ignore degeneracy; explicit neutral species " + f"{identifier} must set degeneracy=1.0" + ) + mask = np.asarray(active_nodes, dtype=bool) + ni_sq = np.asarray(ni_sq_m6, dtype=float) + gap = np.asarray(band_gap_eV, dtype=float) + if mask.ndim != 1 or ni_sq.shape != mask.shape or gap.shape != mask.shape: + raise ValueError("DEF-1 node arrays must share one 1D grid") + local_gap = gap[mask] + local_ni_sq = ni_sq[mask] + if ( + local_gap.size == 0 + or not np.all(np.isfinite(local_gap)) + or not np.all(local_gap == local_gap[0]) + or not np.all(np.isfinite(local_ni_sq)) + or np.any(local_ni_sq <= 0.0) + ): + raise ValueError( + "DEF-1 explicit neutral SRH requires a uniform positive band gap " + f"and intrinsic density in {identifier}; spatial grading starts at D3" + ) + if not math.isfinite(float(thermal_voltage_V)) or float(thermal_voltage_V) <= 0.0: + raise ValueError("thermal_voltage_V must be finite and positive") + density = float(total_density_m3) + inverse_tau_n = float(sigma_n_m2) * float(thermal_velocity_n_m_s) * density + inverse_tau_p = float(sigma_p_m2) * float(thermal_velocity_p_m_s) * density + tau_n_s = 1.0 / inverse_tau_n if inverse_tau_n > 0.0 else math.inf + tau_p_s = 1.0 / inverse_tau_p if inverse_tau_p > 0.0 else math.inf + active = np.array(mask, dtype=bool, copy=True) + node_count = int(mask.size) + n1_nodes: np.ndarray = np.zeros(node_count, dtype=float) + p1_nodes: np.ndarray = np.zeros(node_count, dtype=float) + ni = np.sqrt(local_ni_sq) + offset_from_midgap_eV = float(center_eV_above_vb) - 0.5 * local_gap + ratio = np.exp(offset_from_midgap_eV / thermal_voltage_V) + n1_nodes[active] = ni * ratio + p1_nodes[active] = ni / ratio + return NeutralDefectSpecies( + identifier=identifier, + document_sha256=document_sha256, + active_nodes=active, + tau_n_s=tau_n_s, + tau_p_s=tau_p_s, + n1_m3=n1_nodes, + p1_m3=p1_nodes, + ) + + +@dataclass(frozen=True, slots=True) +class NeutralExplicitDefectEvaluation: + """Per-species and total explicit SRH on the full grid. + + Arrays are zero on nodes a species does not own. The total is the + declaration-order sum of the species rows. + """ + + model_identity_sha256: str + species_identifiers: tuple[str, ...] + total_rate_m3_s: np.ndarray + total_d_rate_dn_s1: np.ndarray + total_d_rate_dp_s1: np.ndarray + per_species_rate_m3_s: np.ndarray + per_species_d_rate_dn_s1: np.ndarray + per_species_d_rate_dp_s1: np.ndarray + per_species_denominators_s_m3: tuple[np.ndarray | None, ...] + minimum_denominator_s_m3: tuple[float | None, ...] + + def to_dict(self) -> dict[str, object]: + """The historical JSON result payload, key for key.""" + + return { + "model": EXPLICIT_NEUTRAL_MODEL_ID, + "model_identity_sha256": self.model_identity_sha256, + "species_identifiers": list(self.species_identifiers), + "total_rate_m3_s": np.asarray(self.total_rate_m3_s).tolist(), + "total_electron_derivative_s1": np.asarray(self.total_d_rate_dn_s1).tolist(), + "total_hole_derivative_s1": np.asarray(self.total_d_rate_dp_s1).tolist(), + "per_species_rate_m3_s": self.per_species_rate_m3_s.tolist(), + "per_species_electron_derivative_s1": self.per_species_d_rate_dn_s1.tolist(), + "per_species_hole_derivative_s1": self.per_species_d_rate_dp_s1.tolist(), + "minimum_denominator_s_m3": list(self.minimum_denominator_s_m3), + "charge_density_C_m3": None, + } + + +def evaluate_neutral_explicit_defects( + n: np.ndarray, + p: np.ndarray, + ni_sq: np.ndarray, + model: NeutralExplicitDefectModel, +) -> NeutralExplicitDefectEvaluation: + """Evaluate exact per-species neutral SRH and analytic carrier tangents.""" + + n_a, p_a, ni_a = np.broadcast_arrays( + np.asarray(n, dtype=float), + np.asarray(p, dtype=float), + np.asarray(ni_sq, dtype=float), + ) + if n_a.shape != (model.node_count,): + raise ValueError("neutral bulk-defect state must match the compiled grid") + shape = (len(model.species), model.node_count) + rates: np.ndarray = np.zeros(shape, dtype=float) + derivative_n: np.ndarray = np.zeros(shape, dtype=float) + derivative_p: np.ndarray = np.zeros(shape, dtype=float) + denominators: list[np.ndarray | None] = [] + minima: list[float | None] = [] + for index, species in enumerate(model.species): + if not species.cycle_active: + denominators.append(None) + minima.append(None) + continue + active = species.active_nodes + denominator = lifetime_srh_denominator( + n_a[active], + p_a[active], + species.tau_n_s, + species.tau_p_s, + species.n1_m3[active], + species.p1_m3[active], + ) + numerator = n_a[active] * p_a[active] - ni_a[active] + rate = numerator / denominator + rates[index, active] = rate + derivative_n[index, active] = (p_a[active] - rate * species.tau_p_s) / denominator + derivative_p[index, active] = (n_a[active] - rate * species.tau_n_s) / denominator + denominator.setflags(write=False) + denominators.append(denominator) + finite = denominator[np.isfinite(denominator)] + minima.append(float(np.min(finite)) if finite.size else None) + if len(model.species) == 1: + total_rate = rates[0].copy() + total_n = derivative_n[0].copy() + total_p = derivative_p[0].copy() + else: + total_rate = np.sum(rates, axis=0) + total_n = np.sum(derivative_n, axis=0) + total_p = np.sum(derivative_p, axis=0) + for array in (rates, derivative_n, derivative_p, total_rate, total_n, total_p): + array.setflags(write=False) + return NeutralExplicitDefectEvaluation( + model_identity_sha256=model.identity_sha256, + species_identifiers=tuple(item.identifier for item in model.species), + total_rate_m3_s=total_rate, + total_d_rate_dn_s1=total_n, + total_d_rate_dp_s1=total_p, + per_species_rate_m3_s=rates, + per_species_d_rate_dn_s1=derivative_n, + per_species_d_rate_dp_s1=derivative_p, + per_species_denominators_s_m3=tuple(denominators), + minimum_denominator_s_m3=tuple(minima), + ) diff --git a/src/solarlab/physics/recombination/reaction.py b/src/solarlab/physics/recombination/reaction.py new file mode 100644 index 00000000..8e464423 --- /dev/null +++ b/src/solarlab/physics/recombination/reaction.py @@ -0,0 +1,287 @@ +"""The bound bulk-recombination reaction: one instance for rate, tangent and source. + +``BulkRecombinationReaction`` binds the per-node coefficients once (after +temperature, grading, band-gap-narrowing and trap-profile resolution by the +caller) together with the explicit-defect node ownership. One call to +``evaluate`` produces the channel rates, their exact local tangents, the +SRH denominators (the observation the historical code routed through a +process-wide context variable) and the carrier sources. The electron and +hole continuity equations both consume ``-R`` from the same evaluated array, +so they can never see two different reaction populations. + +Node ownership: a node owned by an explicit defect model carries that +model's SRH and no lifetime-form SRH; every other node carries the +lifetime-form law. Radiative and Auger channels are independent of SRH +ownership and act on every node. + +Interface switch point (S1/S2 in the W3b design note): ``evaluate`` takes the +physical electron/hole density arrays directly until the public +``StateView``/``StateIncrement`` subset and the typed ``TermSink`` sources +exist in ``solarlab.contracts``. +""" + +from __future__ import annotations + +from dataclasses import dataclass +from typing import Any + +import numpy as np + +from solarlab.physics.recombination._validation import frozen_float_array, require_finite +from solarlab.physics.recombination.bulk import ( + RecombinationRate, + auger_recombination, + lifetime_srh_denominator, + lifetime_srh_from_denominator, + radiative_recombination, + sum_recombination_rates, +) +from solarlab.physics.recombination.explicit_neutral import ( + NeutralExplicitDefectEvaluation, + NeutralExplicitDefectModel, + evaluate_neutral_explicit_defects, +) + +__all__ = [ + "BulkRecombinationCoefficients", + "BulkRecombinationEvaluation", + "BulkRecombinationReaction", + "CARRIER_SOURCE_UNIT", + "CarrierSources", + "RecombinationDomainError", +] + +#: Unit of every unweighted cell source returned here; the assembly layer +#: multiplies by the cell measure exactly once. +CARRIER_SOURCE_UNIT = "m^-3 s^-1" + + +class RecombinationDomainError(ValueError): + """A state lies outside the rate laws' physical domain.""" + + +def _node_coefficient(value: object, name: str, node_count: int, *, positive: bool) -> np.ndarray: + array = frozen_float_array(np.broadcast_to(np.asarray(value, dtype=float), (node_count,)), name=name) + if np.any(np.isnan(array)): + raise ValueError(f"{name} must not be NaN") + if positive: + if np.any(array <= 0.0): + raise ValueError(f"{name} must be positive or +inf") + else: + if not np.all(np.isfinite(array)) or np.any(array < 0.0): + raise ValueError(f"{name} must be finite and non-negative") + return array + + +@dataclass(frozen=True, slots=True) +class BulkRecombinationCoefficients: + """Resolved per-node coefficients on one 1D node set (SI units). + + ``tau_*`` [s] may be ``+inf`` (a blocked capture leg); every other + coefficient is finite and non-negative. Scalars broadcast to ``(N,)``. + """ + + node_count: int + ni_sq_m6: np.ndarray + tau_n_s: np.ndarray + tau_p_s: np.ndarray + n1_m3: np.ndarray + p1_m3: np.ndarray + radiative_m3_s: np.ndarray + auger_n_m6_s: np.ndarray + auger_p_m6_s: np.ndarray + + def __post_init__(self) -> None: + if type(self.node_count) is not int or self.node_count < 1: + raise ValueError("node_count must be a positive integer") + count = self.node_count + for name in ("ni_sq_m6", "n1_m3", "p1_m3", "radiative_m3_s", "auger_n_m6_s", "auger_p_m6_s"): + object.__setattr__(self, name, _node_coefficient(getattr(self, name), name, count, positive=False)) + for name in ("tau_n_s", "tau_p_s"): + object.__setattr__(self, name, _node_coefficient(getattr(self, name), name, count, positive=True)) + + +@dataclass(frozen=True, slots=True) +class CarrierSources: + """Unweighted cell sources of one reaction evaluation. + + ``electron`` and ``hole`` are ``-R`` built from the same rate array; the + local Jacobian blocks are ``d(-R)/dn`` and ``d(-R)/dp`` for both rows. + """ + + electron: np.ndarray + hole: np.ndarray + d_source_dn: np.ndarray | None + d_source_dp: np.ndarray | None + unit: str = CARRIER_SOURCE_UNIT + stoichiometry: tuple[tuple[str, int], ...] = (("electron", -1), ("hole", -1)) + + +@dataclass(frozen=True, slots=True) +class BulkRecombinationEvaluation: + """Every observable of one reaction evaluation at one state.""" + + total: RecombinationRate + srh: RecombinationRate + radiative: RecombinationRate + auger: RecombinationRate + lifetime_nodes: np.ndarray + srh_denominators_s_m3: np.ndarray + explicit: NeutralExplicitDefectEvaluation | None + electron_density_m3: np.ndarray + hole_density_m3: np.ndarray + + @property + def minimum_srh_denominator_s_m3(self) -> float | None: + finite = self.srh_denominators_s_m3[np.isfinite(self.srh_denominators_s_m3)] + return float(np.min(finite)) if finite.size else None + + def carrier_sources(self) -> CarrierSources: + rate = self.total.rate + source = -rate + source.setflags(write=False) + if not self.total.has_derivatives: + return CarrierSources(source, source, None, None) + d_dn: Any = -np.asarray(self.total.d_rate_dn) + d_dp: Any = -np.asarray(self.total.d_rate_dp) + d_dn.setflags(write=False) + d_dp.setflags(write=False) + return CarrierSources(source, source, d_dn, d_dp) + + def in_domain(self) -> bool: + """Non-negative densities, valid denominators, and finite rates/tangents.""" + + denominators = self.srh_denominators_s_m3 + return bool( + np.all(self.electron_density_m3 >= 0.0) + and np.all(self.hole_density_m3 >= 0.0) + and np.all(denominators[np.isfinite(denominators)] > 0.0) + and not np.any(np.isnan(denominators)) + and all(np.all(np.isfinite(channel.rate)) + and (not channel.has_derivatives or + np.all(np.isfinite(channel.d_rate_dn)) and np.all(np.isfinite(channel.d_rate_dp))) + for channel in (self.srh, self.radiative, self.auger, self.total)) + ) + + def require_domain(self) -> None: + if not self.in_domain(): + raise RecombinationDomainError( + "bulk recombination evaluated outside its domain: densities must be " + "non-negative, every SRH denominator positive, and rates/tangents finite" + ) + + +@dataclass(frozen=True, slots=True) +class BulkRecombinationReaction: + """Lifetime SRH + radiative + Auger with optional explicit SRH ownership.""" + + coefficients: BulkRecombinationCoefficients + explicit_defects: NeutralExplicitDefectModel | None = None + + def __post_init__(self) -> None: + if not isinstance(self.coefficients, BulkRecombinationCoefficients): + raise TypeError("coefficients must be BulkRecombinationCoefficients") + model = self.explicit_defects + if model is not None: + if not isinstance(model, NeutralExplicitDefectModel): + raise TypeError("explicit_defects must be a NeutralExplicitDefectModel") + if model.node_count != self.coefficients.node_count: + raise ValueError("explicit defect model and coefficients must share one grid") + + @property + def node_count(self) -> int: + return self.coefficients.node_count + + @property + def lifetime_nodes(self) -> np.ndarray: + """Nodes whose SRH channel is the lifetime-form law.""" + + if self.explicit_defects is None: + mask: np.ndarray = np.ones(self.node_count, dtype=bool) + else: + mask = ~self.explicit_defects.owned_nodes + mask.setflags(write=False) + return mask + + def evaluate(self, n: np.ndarray, p: np.ndarray, *, derivatives: bool = True) -> BulkRecombinationEvaluation: + """Evaluate every channel at one state (densities [m^-3], shape ``(N,)``). + + Any finite state is evaluated with the historical arithmetic; the + physical-domain gate is the explicit ``require_domain`` call, so a + trial state is never silently clipped here. + """ + + c = self.coefficients + # Owned read-only copies: the evaluation keeps the state it judged. + n_a = np.array(n, dtype=float, copy=True) + p_a = np.array(p, dtype=float, copy=True) + n_a.setflags(write=False) + p_a.setflags(write=False) + if n_a.shape != (c.node_count,) or p_a.shape != (c.node_count,): + raise ValueError("electron and hole densities must have shape (node_count,)") + require_finite(n_a, name="electron density") + require_finite(p_a, name="hole density") + model = self.explicit_defects + lifetime = self.lifetime_nodes + if model is None: + denominators = lifetime_srh_denominator(n_a, p_a, c.tau_n_s, c.tau_p_s, c.n1_m3, c.p1_m3) + srh = lifetime_srh_from_denominator( + n_a, p_a, c.ni_sq_m6, c.tau_n_s, c.tau_p_s, denominators, derivatives=derivatives + ) + explicit = None + else: + srh, denominators, explicit = self._owned_srh(n_a, p_a, lifetime, model, derivatives) + radiative = radiative_recombination(n_a, p_a, c.ni_sq_m6, c.radiative_m3_s, derivatives=derivatives) + auger = auger_recombination(n_a, p_a, c.ni_sq_m6, c.auger_n_m6_s, c.auger_p_m6_s, derivatives=derivatives) + denominators = np.asarray(denominators, dtype=float) + denominators.setflags(write=False) + return BulkRecombinationEvaluation( + total=sum_recombination_rates(srh, radiative, auger), + srh=srh, + radiative=radiative, + auger=auger, + lifetime_nodes=lifetime, + srh_denominators_s_m3=denominators, + explicit=explicit, + electron_density_m3=n_a, + hole_density_m3=p_a, + ) + + def _owned_srh( + self, + n_a: np.ndarray, + p_a: np.ndarray, + lifetime: np.ndarray, + model: NeutralExplicitDefectModel, + derivatives: bool, + ) -> tuple[RecombinationRate, np.ndarray, NeutralExplicitDefectEvaluation]: + c = self.coefficients + rate: np.ndarray = np.zeros(c.node_count, dtype=float) + d_dn: np.ndarray = np.zeros(c.node_count, dtype=float) + d_dp: np.ndarray = np.zeros(c.node_count, dtype=float) + parts: list[np.ndarray] = [] + if np.any(lifetime): + denominator = lifetime_srh_denominator( + n_a[lifetime], p_a[lifetime], c.tau_n_s[lifetime], c.tau_p_s[lifetime], + c.n1_m3[lifetime], c.p1_m3[lifetime], + ) + local = lifetime_srh_from_denominator( + n_a[lifetime], p_a[lifetime], c.ni_sq_m6[lifetime], + c.tau_n_s[lifetime], c.tau_p_s[lifetime], denominator, + ) + rate[lifetime] = local.rate + d_dn[lifetime] = local.d_rate_dn + d_dp[lifetime] = local.d_rate_dp + parts.append(np.ravel(denominator)) + explicit = evaluate_neutral_explicit_defects(n_a, p_a, c.ni_sq_m6, model) + owned = model.owned_nodes + rate[owned] = explicit.total_rate_m3_s[owned] + d_dn[owned] = explicit.total_d_rate_dn_s1[owned] + d_dp[owned] = explicit.total_d_rate_dp_s1[owned] + parts.extend(np.ravel(item) for item in explicit.per_species_denominators_s_m3 if item is not None) + denominators = np.concatenate(parts) if parts else np.empty(0, dtype=float) + for array in (rate, d_dn, d_dp): + array.setflags(write=False) + if derivatives: + return RecombinationRate(rate, d_dn, d_dp), denominators, explicit + return RecombinationRate(rate, None, None), denominators, explicit diff --git a/src/solarlab/physics/recombination/trap_profile.py b/src/solarlab/physics/recombination/trap_profile.py new file mode 100644 index 00000000..669a3689 --- /dev/null +++ b/src/solarlab/physics/recombination/trap_profile.py @@ -0,0 +1,198 @@ +"""Position-dependent bulk trap density and the SRH lifetime it implies. + +A layer's bulk SRH lifetime describes its cleanest region. With a trap +profile the trap density rises towards the layer faces, +``N_t(x) = N_t,bulk + (N_t,if - N_t,bulk) S(x)``, and the local lifetime +follows the inverse-density rule ``tau(x) = tau_bulk N_t,bulk / N_t(x)``. + +``S`` is an exponential (``exp(-s/L_d)``) or Gaussian (``exp(-(s/sigma)^2)``) +kernel of the distance ``s`` to the selected face(s). For ``edge="both"`` +the two face kernels are added and divided by the closed-form supremum +``max(1 + k(d), 2 k(d/2))`` so the profile saturates at ``N_t,if`` even in a +thin layer (2026-07 review F-05); a single face already peaks at 1. The +normalisation is exact for the exponential and under-estimates the +Gaussian peak by < 3 % only for ``sigma ~ 0.64 d``. These are build-time +parameter bindings, evaluated once per node set; they never see the state. + +The kernels reproduce the historical arithmetic exactly, including the +``L_d <= 0`` "no profile" sentinel returning the bulk density. +""" + +from __future__ import annotations + +from dataclasses import dataclass +import math +from typing import Any, Callable, Literal + +import numpy as np + +from solarlab.physics.recombination._validation import frozen_float_array + +__all__ = [ + "TRAP_PROFILE_EDGES", + "TRAP_PROFILE_SHAPES", + "TrapProfile", + "TrapProfileBinding", + "exponential_edge_profile", + "gaussian_edge_profile", + "tau_from_trap_density", +] + +TRAP_PROFILE_SHAPES = ("exponential", "gaussian") +TRAP_PROFILE_EDGES = ("both", "left", "right") +TrapProfileShape = Literal["exponential", "gaussian"] +TrapProfileEdge = Literal["both", "left", "right"] + + +def _combine_edge_kernel( + d_left: np.ndarray, + d_right: np.ndarray, + edge: str, + kernel: Callable[[Any], Any], + thickness: float, +) -> np.ndarray: + if edge not in TRAP_PROFILE_EDGES: + raise ValueError(f"edge must be one of {TRAP_PROFILE_EDGES}, got {edge!r}") + if edge == "left": + return kernel(d_left) + if edge == "right": + return kernel(d_right) + both = kernel(d_left) + kernel(d_right) + # The sum is symmetric about the midpoint, so its extrema sit at the + # faces or at the midpoint; both candidates are closed form, so the + # normalisation is independent of the node set. + peak = max(float(1.0 + kernel(thickness)), float(2.0 * kernel(0.5 * thickness))) + return both / peak + + +def exponential_edge_profile( + x_local: np.ndarray, + thickness: float, + N_t_interface: float, + N_t_bulk: float, + L_d: float, + edge: str = "both", +) -> np.ndarray: + """``N_t(x)`` [m^-3] for an exponential interface-trap distribution. + + ``x_local`` is the position inside the layer (0 at its left face) [m]. + """ + + if L_d <= 0.0: + return np.full_like(x_local, N_t_bulk) + d_left = x_local + d_right = thickness - x_local + + def kernel(d: Any) -> Any: + return np.exp(-d / L_d) + + edge_contribution = _combine_edge_kernel(d_left, d_right, edge, kernel, thickness) + return N_t_bulk + (N_t_interface - N_t_bulk) * edge_contribution + + +def gaussian_edge_profile( + x_local: np.ndarray, + thickness: float, + N_t_interface: float, + N_t_bulk: float, + sigma: float, + edge: str = "both", +) -> np.ndarray: + """``N_t(x)`` [m^-3] for a Gaussian interface-trap distribution.""" + + if sigma <= 0.0: + return np.full_like(x_local, N_t_bulk) + d_left = x_local + d_right = thickness - x_local + + def kernel(d: Any) -> Any: + return np.exp(-((d / sigma) ** 2)) + + edge_contribution = _combine_edge_kernel(d_left, d_right, edge, kernel, thickness) + return N_t_bulk + (N_t_interface - N_t_bulk) * edge_contribution + + +def tau_from_trap_density(tau_bulk: Any, N_t: Any, N_t_bulk: float) -> Any: + """SRH inverse-density rule ``tau = tau_bulk N_t,bulk / max(N_t, N_t,bulk, 1)``. + + The floor keeps a passivation profile (``N_t,if < N_t,bulk``) physical + and monotone instead of lengthening the lifetime above its bulk value. + """ + + N_t_arr = np.asarray(N_t, dtype=float) + floor = max(float(N_t_bulk), 1.0) + safe = np.maximum(N_t_arr, floor) + return tau_bulk * float(N_t_bulk) / safe + + +@dataclass(frozen=True, slots=True) +class TrapProfile: + """A layer's resolved trap-profile declaration (SI units). + + ``decay_length_m`` is ``L_d`` for the exponential and ``sigma`` for the + Gaussian shape; ``0`` is the documented "no profile" sentinel. + """ + + interface_density_m3: float + bulk_density_m3: float + decay_length_m: float + shape: TrapProfileShape = "exponential" + edge: TrapProfileEdge = "both" + + def __post_init__(self) -> None: + if self.shape not in TRAP_PROFILE_SHAPES: + raise ValueError(f"trap profile shape must be one of {TRAP_PROFILE_SHAPES}") + if self.edge not in TRAP_PROFILE_EDGES: + raise ValueError(f"trap profile edge must be one of {TRAP_PROFILE_EDGES}") + for name in ("interface_density_m3", "bulk_density_m3", "decay_length_m"): + value = getattr(self, name) + if isinstance(value, bool) or not math.isfinite(float(value)) or float(value) < 0.0: + raise ValueError(f"{name} must be finite and non-negative") + object.__setattr__(self, name, float(value)) + + def trap_density(self, x_local_m: np.ndarray, thickness_m: float) -> np.ndarray: + profile = gaussian_edge_profile if self.shape == "gaussian" else exponential_edge_profile + return profile( + x_local_m, + thickness_m, + self.interface_density_m3, + self.bulk_density_m3, + self.decay_length_m, + edge=self.edge, + ) + + def bind( + self, + x_local_m: np.ndarray, + thickness_m: float, + tau_n_bulk_s: np.ndarray | float, + tau_p_bulk_s: np.ndarray | float, + ) -> TrapProfileBinding: + """Bind the profile to a layer's nodes and its bulk lifetimes.""" + + x_local = np.asarray(x_local_m, dtype=float) + if x_local.ndim != 1 or not np.all(np.isfinite(x_local)): + raise ValueError("x_local_m must be a finite 1D array") + if not math.isfinite(float(thickness_m)) or float(thickness_m) <= 0.0: + raise ValueError("thickness_m must be finite and positive") + density = self.trap_density(x_local, float(thickness_m)) + return TrapProfileBinding( + profile=self, + trap_density_m3=frozen_float_array(density, name="trap_density_m3"), + tau_n_s=frozen_float_array( + tau_from_trap_density(tau_n_bulk_s, density, self.bulk_density_m3), name="tau_n_s" + ), + tau_p_s=frozen_float_array( + tau_from_trap_density(tau_p_bulk_s, density, self.bulk_density_m3), name="tau_p_s" + ), + ) + + +@dataclass(frozen=True, slots=True) +class TrapProfileBinding: + """Per-node trap density and the lifetimes that replace the bulk values.""" + + profile: TrapProfile + trap_density_m3: np.ndarray + tau_n_s: np.ndarray + tau_p_s: np.ndarray diff --git a/src/solarlab/physics/registry.py b/src/solarlab/physics/registry.py new file mode 100644 index 00000000..1eb74369 --- /dev/null +++ b/src/solarlab/physics/registry.py @@ -0,0 +1,540 @@ +"""Versioned, immutable model declarations for configuration preflight. + +Declarations do not compile a numerical graph or certify an executor. Consumed +scalar parameters use the existing input/unit definition, with supplied defaults +bound separately by selection. No built-in physics/default table is duplicated. +""" + +from __future__ import annotations + +from collections.abc import Iterable +from dataclasses import dataclass, field, fields, is_dataclass +import hashlib +import json +import re +from typing import Any, Protocol + +from solarlab.materials.parameter_schema import parameter_names, parameter_schema +from solarlab.units import normalize_quantity, supported_units + +__all__ = [ + "CapabilityContext", "CapabilityRule", "EvidenceRef", "ModelDefinition", + "ModelRef", "ModelRegistry", "OwnedVariable", "Requirement", "Scope", + "StructuredSchema", "StructuredData", "StructuredParameters", "StructuredAuthority", + "metadata_digest", "metadata_value", +] + +_ID = re.compile(r"[A-Za-z_][A-Za-z0-9_.:-]*\Z") +_KINDS = {"device", "layer", "interface", "contact"} +_SUPPORTS = {"node", "face", "interface_left", "interface_right", "port", "global", "nonlocal"} + + +def _token(value: str, label: str) -> str: + if not isinstance(value, str) or _ID.fullmatch(value) is None: + raise ValueError(f"{label}: invalid stable identifier {value!r}") + return value + + +def _strings(values: Iterable[str], label: str) -> tuple[str, ...]: + if isinstance(values, (str, bytes)): + raise ValueError(f"{label}: expected a sequence, not one string") + result = tuple(values) + for value in result: + _token(value, label) + if len(set(result)) != len(result): + raise ValueError(f"{label}: duplicate entries") + return tuple(sorted(result)) + + +def metadata_value(value: Any) -> Any: + """Detached JSON data for these immutable declarations, in canonical order.""" + if isinstance(value, (StructuredSchema, StructuredParameters)): + return value.export() + if is_dataclass(value) and not isinstance(value, type): + return {item.name: metadata_value(getattr(value, item.name)) + for item in fields(value) if not item.name.startswith("_") + and not (item.metadata.get("omit_none") and getattr(value, item.name) is None) + and not (item.metadata.get("omit_empty") and getattr(value, item.name) == ())} + if isinstance(value, tuple): + return [metadata_value(item) for item in value] + if value is None or type(value) in {str, int, float, bool}: + return value + raise ValueError(f"unsupported metadata value: {type(value).__name__}") + + +def metadata_digest(value: Any) -> str: + return hashlib.sha256(json.dumps( + value, sort_keys=True, separators=(",", ":"), allow_nan=False, + ).encode()).hexdigest() + + +def _verify_evidence_sources( + references: Iterable[EvidenceRef], sources: Iterable[tuple[str, bytes]], +) -> None: + """Check supplied bytes; a #fragment names a symbol in that same document. + + This does not import source or endorse the conclusions of a qualification + record. Schema references require their actual serialized schema document. + """ + documents = tuple(sources) + if any(type(item) is not tuple or len(item) != 2 or type(item[0]) is not str + or not item[0].strip() or type(item[1]) is not bytes or not item[1] + for item in documents): + raise ValueError("evidence sources require (ID, immutable bytes) pairs") + by_id = dict(documents) + if len(by_id) != len(documents): + raise ValueError("duplicate evidence source ID") + for reference in references: + source_id = reference.id.partition("#")[0] + if source_id not in by_id: + raise ValueError(f"missing evidence source: {source_id}") + if hashlib.sha256(by_id[source_id]).hexdigest() != reference.sha256: + raise ValueError(f"evidence source content mismatch: {reference.id}") + + +@dataclass(frozen=True, slots=True, order=True) +class ModelRef: + id: str + version: int + + def __post_init__(self) -> None: + _token(self.id, "model.id") + if type(self.version) is not int or self.version < 1: + raise ValueError("model.version must be a positive integer") + + +@dataclass(frozen=True, slots=True, order=True) +class EvidenceRef: + id: str + sha256: str + kind: str = "scope_reference" + + def __post_init__(self) -> None: + if not isinstance(self.id, str) or not self.id.strip(): + raise ValueError("evidence requires an explicit source ID") + if not isinstance(self.sha256, str) or re.fullmatch(r"[0-9a-f]{64}", self.sha256) is None: + raise ValueError("evidence requires a SHA-256 digest") + if self.kind not in {"source", "scope_reference", "qualification"}: + raise ValueError("unknown evidence kind") + + +@dataclass(frozen=True, slots=True, order=True) +class Scope: + kind: str + ids: tuple[str, ...] = () + + def __post_init__(self) -> None: + if self.kind not in _KINDS or isinstance(self.ids, (str, bytes)): + raise ValueError("invalid scope kind or endpoint shape") + ids = tuple(self.ids) + if len(ids) != {"device": 0, "layer": 1, "interface": 2, "contact": 1}[self.kind]: + raise ValueError(f"{self.kind}: incorrect endpoint count") + if len(set(ids)) != len(ids): + raise ValueError("scope endpoints must be distinct") + for value in ids: + _token(value, "scope endpoint") + object.__setattr__(self, "ids", ids) # Orientation is meaningful. + + @property + def key(self) -> str: + return "/".join((self.kind, *self.ids)) + + +def _json_document(value: str) -> str: + """Freeze bounded JSON, rejecting duplicate keys and nonfinite values.""" + if type(value) is not str or not value or len(value) > 2**23: + raise ValueError("structured metadata requires bounded JSON text") + def pairs(items: list[tuple[str, Any]]) -> dict[str, Any]: + if len({key for key, _ in items}) != len(items): + raise ValueError("duplicate structured metadata key") + return dict(items) + return json.dumps(json.loads(value, object_pairs_hook=pairs), sort_keys=True, + separators=(",", ":"), allow_nan=False) + + +@dataclass(frozen=True, slots=True) +class StructuredSchema: + """A closed DTO's schemas, supplied across the configuration boundary. + + These schemas describe editable and normalized parameters, not the derived + physical output of a resolver or numerical eligibility. + """ + + id: str + version: int + family: str + scope_kind: str + document_version: str + input_json: str + normalized_json: str + source: EvidenceRef + + def __post_init__(self) -> None: + ModelRef(self.id, self.version) + _token(self.family, "structured family") + if self.scope_kind not in _KINDS or not isinstance(self.document_version, str) or not self.document_version: + raise ValueError("structured schema requires a scope and document version") + for name in ("input_json", "normalized_json"): + object.__setattr__(self, name, _json_document(getattr(self, name))) + schema = json.loads(getattr(self, name)) + if not isinstance(schema, dict) or schema.get("type") != "object" or schema.get("additionalProperties") is not False: + raise ValueError("structured schema must be a closed object DTO") + if self.parameter_names != tuple(sorted(json.loads(self.normalized_json).get("properties", {}))): + raise ValueError("input and normalized parameter names differ") + if not isinstance(self.source, EvidenceRef) or self.source.sha256 != metadata_digest(json.loads(self.input_json)): + raise ValueError("structured schema source must bind the actual DTO input schema") + + @property + def parameter_names(self) -> tuple[str, ...]: + return tuple(sorted(json.loads(self.input_json).get("properties", {}))) + + def export(self) -> dict[str, Any]: + return {"id": self.id, "version": self.version, "family": self.family, + "scope_kind": self.scope_kind, "document_version": self.document_version, + "source": metadata_value(self.source), + "input_schema": json.loads(self.input_json), + "normalized_parameter_schema": json.loads(self.normalized_json)} + + @property + def content_sha256(self) -> str: + return metadata_digest(self.export()) + + +@dataclass(frozen=True, slots=True) +class StructuredData: + """Immutable snapshot returned by the explicitly injected DTO authority.""" + + schema: StructuredSchema + scope: Scope + device_id: str + owner_id: str + local_id: str + orientation: tuple[str, ...] + presence: str + input_json: str + normalized_json: str + resolved_reference_json: str + source: EvidenceRef + capability_gaps: tuple[str, ...] + + def __post_init__(self) -> None: + if not isinstance(self.schema, StructuredSchema) or not isinstance(self.scope, Scope) or self.scope.kind != self.schema.scope_kind: + raise ValueError("structured data/schema scope mismatch") + for name in ("device_id", "owner_id", "local_id"): + _token(getattr(self, name), name) + orientation = tuple(self.orientation) + if isinstance(self.orientation, (str, bytes)): + raise ValueError("orientation requires named endpoints") + for item in orientation: + _token(item, "orientation") + object.__setattr__(self, "orientation", orientation) + if self.presence not in {"absent", "null", "value"} or not isinstance(self.source, EvidenceRef): + raise ValueError("structured parameters require explicit presence/source") + for name in ("input_json", "normalized_json", "resolved_reference_json"): + object.__setattr__(self, name, _json_document(getattr(self, name))) + raw, normalized = json.loads(self.input_json), json.loads(self.normalized_json) + if (self.presence == "value") != isinstance(raw, dict) or (self.presence != "value" and raw is not None): + raise ValueError("input presence and document disagree") + for value in (raw, normalized): + if value is not None and (not isinstance(value, dict) or set(value) - set(self.schema.parameter_names)): + raise ValueError("structured data has unknown top-level fields") + object.__setattr__(self, "capability_gaps", _strings(self.capability_gaps, "capability gap")) + + @property + def instance_id(self) -> str: + return self.scope.key + "/" + self.local_id + + +class StructuredAuthority(Protocol): + """Explicit data-validation injection; no discovery or physics callbacks.""" + + def snapshot(self) -> StructuredData: ... + + +@dataclass(frozen=True, slots=True) +class StructuredParameters: + """Resolved data cannot be supplied to or replaced on this wrapper. + + The configuration-owned authority validates the complete DTO/device and + supplies the snapshot. Physics depends only on this low-level protocol. + """ + + _authority: StructuredAuthority = field(repr=False, compare=False) + data: StructuredData = field(init=False) + + def __post_init__(self) -> None: + data = self._authority.snapshot() + if not isinstance(data, StructuredData): + raise ValueError("structured authority must return a validated immutable snapshot") + object.__setattr__(self, "data", data) + + @property + def input_sha256(self) -> str: + return metadata_digest({"schema": self.data.schema.source.sha256, + "presence": self.data.presence, "input": json.loads(self.data.input_json)}) + + @property + def normalized_sha256(self) -> str: + return metadata_digest({"schema": metadata_digest(json.loads(self.data.schema.normalized_json)), + "parameters": json.loads(self.data.normalized_json)}) + + def export(self) -> dict[str, Any]: + data = self.data + return {"schema": {"id": data.schema.id, "version": data.schema.version, + "sha256": data.schema.content_sha256}, + "scope": metadata_value(data.scope), "device_id": data.device_id, + "owner_id": data.owner_id, "local_id": data.local_id, + "orientation": list(data.orientation), "presence": data.presence, + "input": json.loads(data.input_json), "input_sha256": self.input_sha256, + "normalized_parameters": json.loads(data.normalized_json), + "normalized_sha256": self.normalized_sha256, + "resolved_reference": json.loads(data.resolved_reference_json), + "source": metadata_value(data.source), "capability_gaps": list(data.capability_gaps), + "can_execute": False} + + @property + def content_sha256(self) -> str: + return metadata_digest(self.export()) + + +@dataclass(frozen=True, slots=True) +class OwnedVariable: + name: str + unit: str + support: str + shape_axes: tuple[str, ...] + + def __post_init__(self) -> None: + _token(self.name, "owned variable") + supported_units(self.unit) + if self.support not in _SUPPORTS: + raise ValueError("unknown structural support") + axes = tuple(self.shape_axes) + if isinstance(self.shape_axes, (str, bytes)): + raise ValueError("shape_axes requires explicit named axes") + _strings(axes, "shape axis") + if self.support in {"node", "face", "nonlocal"} and not axes: + raise ValueError("distributed support requires explicit shape axes") + object.__setattr__(self, "shape_axes", axes) + + +@dataclass(frozen=True, slots=True, order=True) +class Requirement: + model: ModelRef + relation: str = "same" + + def __post_init__(self) -> None: + if not isinstance(self.model, ModelRef) or self.relation not in {"same", "device", "left", "right"}: + raise ValueError("invalid model requirement or scope relation") + + +@dataclass(frozen=True, slots=True) +class CapabilityContext: + dimension: int + mode: str + backend: str + statistics: str + facts: tuple[str, ...] = () + resources: tuple[str, ...] = () + available_variables: tuple[str, ...] = () + temperature_K: float | None = None + + def __post_init__(self) -> None: + if type(self.dimension) is not int or self.dimension not in {1, 2}: + raise ValueError("only explicit 1D/2D metadata contexts are supported") + if self.mode not in {"equilibrium", "dc", "transient", "ac"}: + raise ValueError("unknown execution mode") + _token(self.backend, "backend") + if self.statistics not in {"maxwell_boltzmann", "fermi_dirac"}: + raise ValueError("unsupported carrier statistics") + for name in ("facts", "resources", "available_variables"): + object.__setattr__(self, name, _strings(getattr(self, name), name)) + if self.temperature_K is not None: + value = normalize_quantity(self.temperature_K, "K", path="temperature_K") + if value <= 0: + raise ValueError("temperature_K must be positive") + object.__setattr__(self, "temperature_K", value) + + +@dataclass(frozen=True, slots=True) +class CapabilityRule: + """Necessary declared constraints, not evidence that an executor exists.""" + + id: str + dimensions: tuple[int, ...] + modes: tuple[str, ...] + evidence: tuple[EvidenceRef, ...] + backends: tuple[str, ...] = () + statistics: tuple[str, ...] = () + required_facts: tuple[str, ...] = () + forbidden_facts: tuple[str, ...] = () + required_resources: tuple[str, ...] = () + forbidden_models: tuple[ModelRef, ...] = () + temperature_K: float | None = None + + def __post_init__(self) -> None: + _token(self.id, "capability rule") + dimensions = tuple(self.dimensions) + if not dimensions or any(type(v) is not int or v not in {1, 2} for v in dimensions) or len(set(dimensions)) != len(dimensions): + raise ValueError("invalid capability dimensions") + object.__setattr__(self, "dimensions", tuple(sorted(dimensions))) + for name in ("modes", "backends", "statistics", "required_facts", "forbidden_facts", "required_resources"): + object.__setattr__(self, name, _strings(getattr(self, name), name)) + if not self.modes or set(self.modes) - {"equilibrium", "dc", "transient", "ac"}: + raise ValueError("capability requires known modes") + if set(self.required_facts) & set(self.forbidden_facts): + raise ValueError("a capability cannot require and forbid the same fact") + if set(self.statistics) - {"maxwell_boltzmann", "fermi_dirac"}: + raise ValueError("unknown capability statistics") + evidence = tuple(self.evidence) + if not evidence or any(not isinstance(item, EvidenceRef) for item in evidence) or len(set(evidence)) != len(evidence): + raise ValueError("capability requires source evidence") + object.__setattr__(self, "evidence", tuple(sorted(evidence))) + models = tuple(self.forbidden_models) + if any(not isinstance(item, ModelRef) for item in models) or len(set(models)) != len(models): + raise ValueError("forbidden_models requires explicit model versions") + object.__setattr__(self, "forbidden_models", tuple(sorted(models))) + if self.temperature_K is not None: + temperature = normalize_quantity(self.temperature_K, "K") + if temperature <= 0: + raise ValueError("capability temperature must be positive") + object.__setattr__(self, "temperature_K", temperature) + + def problems(self, context: CapabilityContext, models: tuple[ModelRef, ...]) -> tuple[str, ...]: + issues = [] + if context.dimension not in self.dimensions: + issues.append("dimension") + if context.mode not in self.modes: + issues.append("mode") + if self.backends and context.backend not in self.backends: + issues.append("backend") + if self.statistics and context.statistics not in self.statistics: + issues.append("statistics") + issues.extend("missing_fact:" + name for name in self.required_facts if name not in context.facts) + issues.extend("forbidden_fact:" + name for name in self.forbidden_facts if name in context.facts) + issues.extend("missing_resource:" + name for name in self.required_resources if name not in context.resources) + issues.extend("forbidden_model:" + ref.id for ref in self.forbidden_models if ref in models) + if self.temperature_K is not None and context.temperature_K != self.temperature_K: + issues.append("temperature") + return tuple(issues) + + +@dataclass(frozen=True, slots=True) +class ModelDefinition: + ref: ModelRef + label: str + family: str + scopes: tuple[str, ...] + support: str + parameters: tuple[str, ...] + reads: tuple[str, ...] + owns: tuple[OwnedVariable, ...] + capability: CapabilityRule + composition: str = "exclusive" + requires: tuple[Requirement, ...] = () + conflicts: tuple[ModelRef, ...] = () + derivative_support: str = "not_registered" + parameter_schema: str = "scalar_layer" + structured_schema: StructuredSchema | None = field(default=None, metadata={"omit_none": True}) + + def __post_init__(self) -> None: + if not isinstance(self.ref, ModelRef) or not isinstance(self.capability, CapabilityRule): + raise ValueError("model requires a versioned ref and declared capability") + if not isinstance(self.label, str) or not self.label.strip(): + raise ValueError("model label must be nonempty") + _token(self.family, "model family") + for name in ("scopes", "parameters", "reads"): + object.__setattr__(self, name, _strings(getattr(self, name), name)) + if not self.scopes or set(self.scopes) - _KINDS or self.support not in _SUPPORTS: + raise ValueError("invalid model scope/support declaration") + if self.structured_schema is None: + if set(self.parameters) - parameter_names(self.parameter_schema): + raise ValueError("parameter schema is not available in this scalar preparation slice") + else: + schema = self.structured_schema + if not isinstance(schema, StructuredSchema) or self.parameter_schema != schema.id or self.family != schema.family or self.scopes != (schema.scope_kind,): + raise ValueError("structured model schema/family/scope mismatch") + if self.parameters != schema.parameter_names: + raise ValueError("a structured model must consume its complete closed DTO") + if self.composition not in {"exclusive", "additive"}: + raise ValueError("composition must be exclusive or additive") + if self.derivative_support not in {"not_registered", "declared_analytic", "declared_directional"}: + raise ValueError("unknown derivative declaration") + for name, expected in (("owns", OwnedVariable), ("requires", Requirement), ("conflicts", ModelRef)): + values = tuple(getattr(self, name)) + if any(not isinstance(value, expected) for value in values): + raise ValueError(f"invalid {name} declaration") + object.__setattr__(self, name, values) + if len({value.name for value in self.owns}) != len(self.owns): + raise ValueError("duplicate owned variable declaration") + if len(set(self.requires)) != len(self.requires) or len(set(self.conflicts)) != len(self.conflicts): + raise ValueError("duplicate dependency/conflict declaration") + object.__setattr__(self, "owns", tuple(sorted(self.owns, key=lambda item: item.name))) + object.__setattr__(self, "requires", tuple(sorted(self.requires))) + object.__setattr__(self, "conflicts", tuple(sorted(self.conflicts))) + + +@dataclass(frozen=True, slots=True) +class ModelRegistry: + definitions: tuple[ModelDefinition, ...] + _parameter_schema: str = field(init=False, repr=False) + + def __post_init__(self) -> None: + definitions = tuple(self.definitions) + if any(not isinstance(item, ModelDefinition) for item in definitions): + raise ValueError("registry requires model definitions") + refs = {item.ref for item in definitions} + if len(refs) != len(definitions): + raise ValueError("duplicate model ID/version") + for item in definitions: + if any(requirement.model not in refs for requirement in item.requires): + raise ValueError(f"{item.ref.id}: unknown dependency") + if any(conflict not in refs for conflict in item.conflicts): + raise ValueError(f"{item.ref.id}: unknown conflict") + object.__setattr__(self, "definitions", tuple(sorted(definitions, key=lambda item: item.ref))) + object.__setattr__(self, "_parameter_schema", json.dumps(self._schemas(), sort_keys=True, allow_nan=False)) + + def _schemas(self) -> dict[str, Any]: + result = {"scalar_layer": parameter_schema("scalar_layer")} + for item in self.definitions: + schema = (parameter_schema(item.parameter_schema) if item.structured_schema is None + else item.structured_schema.export()) + if item.parameter_schema in result and result[item.parameter_schema] != schema: + raise ValueError("conflicting definitions of one parameter schema") + result[item.parameter_schema] = schema + return {name: result[name] for name in sorted(result)} + + def get(self, ref: ModelRef) -> ModelDefinition: + for item in self.definitions: + if item.ref == ref: + return item + raise ValueError(f"unknown model ID/version: {ref!r}") + + def validate_parameter_schema(self) -> None: + if json.dumps(self._schemas(), sort_keys=True, allow_nan=False) != self._parameter_schema: + raise ValueError("parameter schema changed after registry construction; rebuild explicitly") + + def verify_sources( + self, sources: Iterable[tuple[str, bytes]], *, expected_sha256: str, + ) -> None: + """Verify a frozen registry and every declared evidence/schema source. + + Expected identity is supplied by the consumer. This validates content + only, leaving numerical qualification and executor availability intact. + """ + self.validate_parameter_schema() + if expected_sha256 != self.content_sha256: + raise ValueError("model registry changed from the expected frozen identity") + references = [ref for item in self.definitions for ref in item.capability.evidence] + references.extend(item.structured_schema.source for item in self.definitions + if item.structured_schema is not None) + _verify_evidence_sources(references, sources) + + def export(self) -> dict[str, Any]: + return {"schema": "solarlab.model-registry.v1", "models": metadata_value(self.definitions), + "parameter_schema": json.loads(self._parameter_schema)["scalar_layer"], + "parameter_schemas": json.loads(self._parameter_schema), "numerical_graph_compiled": False} + + @property + def content_sha256(self) -> str: + return metadata_digest(self.export()) diff --git a/src/solarlab/physics/selection.py b/src/solarlab/physics/selection.py new file mode 100644 index 00000000..088cba8b --- /dev/null +++ b/src/solarlab/physics/selection.py @@ -0,0 +1,512 @@ +"""Resolve explicit model selections without a solver or a Device dependency.""" + +from __future__ import annotations + +from collections.abc import Mapping, Sequence +from dataclasses import dataclass, field +import re +from typing import Any + +from solarlab.materials.parameter_schema import parameter_values +from solarlab.materials.parameters import Scalar +from solarlab.physics.registry import ( + CapabilityContext, EvidenceRef, ModelRef, ModelRegistry, OwnedVariable, + Scope, StructuredParameters, _strings, _token, metadata_digest, metadata_value, +) + +__all__ = [ + "ModelChoice", "ParameterSource", "SelectedModel", "Selection", "Topology", + "select_models", "validate_selection", +] + + +@dataclass(frozen=True, slots=True) +class Topology: + """Explicit electrical layer IDs; optical substrates are not inferred here.""" + + electrical_layer_ids: tuple[str, ...] + contacts: tuple[tuple[str, str], ...] = () + interface_ids: tuple[tuple[str, str, str], ...] = field(default=(), metadata={"omit_empty": True}) + contact_sides: tuple[tuple[str, str], ...] = field(default=(), metadata={"omit_empty": True}) + device_id: str | None = field(default=None, metadata={"omit_none": True}) + + def __post_init__(self) -> None: + ids = tuple(self.electrical_layer_ids) + _strings(ids, "electrical layer IDs") + if isinstance(self.electrical_layer_ids, (str, bytes)) or not ids: + raise ValueError("topology requires explicit electrical layer IDs") + if isinstance(self.contacts, (str, bytes)): + raise ValueError("contacts require explicit endpoint pairs") + entries = tuple(self.contacts) + if any(isinstance(item, (str, bytes)) for item in entries): + raise ValueError("contacts require explicit endpoint pairs") + contacts = tuple(tuple(item) for item in entries) + if any(len(item) != 2 for item in contacts): + raise ValueError("contact binding must be (contact ID, endpoint layer ID)") + if len({item[0] for item in contacts}) != len(contacts): + raise ValueError("duplicate contact ID") + for contact, layer in contacts: + _token(contact, "contact ID") + if layer not in {ids[0], ids[-1]}: + raise ValueError("contact must bind an outer electrical layer") + object.__setattr__(self, "electrical_layer_ids", ids) + object.__setattr__(self, "contacts", tuple(sorted(contacts))) + if self.device_id is not None: + _token(self.device_id, "device ID") + if isinstance(self.interface_ids, (str, bytes)) or isinstance(self.contact_sides, (str, bytes)): + raise ValueError("topology IDs require explicit tuples") + interface_entries, side_entries = tuple(self.interface_ids), tuple(self.contact_sides) + if any(isinstance(item, (str, bytes)) for item in (*interface_entries, *side_entries)): + raise ValueError("topology bindings require explicit endpoint tuples") + interfaces = tuple(tuple(item) for item in interface_entries) + if any(len(item) != 3 for item in interfaces) or len({item[0] for item in interfaces}) != len(interfaces): + raise ValueError("interfaces require unique (ID, left, right) triples") + pairs = set(zip(ids, ids[1:])) + if len({item[1:] for item in interfaces}) != len(interfaces) or any(item[1:] not in pairs for item in interfaces): + raise ValueError("interface IDs must bind directed adjacent electrical layers") + for identifier, _, _ in interfaces: + _token(identifier, "interface ID") + sides = tuple(tuple(item) for item in side_entries) + if any(len(item) != 2 for item in sides) or len({item[0] for item in sides}) != len(sides): + raise ValueError("contact sides require unique (ID, side) pairs") + if len({item[1] for item in sides}) != len(sides): + raise ValueError("only one contact may bind each side") + contact_layers = {pair[0]: pair[1] for pair in contacts} + for identifier, side in sides: + if side not in {"left", "right"} or contact_layers.get(identifier) != ids[0 if side == "left" else -1]: + raise ValueError("contact side and endpoint disagree") + object.__setattr__(self, "interface_ids", tuple(sorted(interfaces))) + object.__setattr__(self, "contact_sides", tuple(sorted(sides))) + + def scopes(self) -> tuple[Scope, ...]: + return (Scope("device"), *(Scope("layer", (value,)) for value in self.electrical_layer_ids), + *(Scope("interface", pair) for pair in zip(self.electrical_layer_ids, self.electrical_layer_ids[1:])), + *(Scope("contact", (contact,)) for contact, _ in self.contacts)) + + def validate(self, scope: Scope) -> None: + if not isinstance(scope, Scope) or scope not in self.scopes(): + raise ValueError(f"scope is not in the directed electrical topology: {scope!r}") + + def validate_parameters(self, parameters: StructuredParameters) -> None: + data = parameters.data + self.validate(data.scope) + if self.device_id != data.device_id: + raise ValueError("structured parameters require their explicit device identity") + if data.scope.kind == "layer": + valid = data.scope.ids == (data.owner_id,) and data.orientation == data.scope.ids + elif data.scope.kind == "interface": + valid = (data.owner_id, *data.scope.ids) in self.interface_ids and data.orientation == data.scope.ids + elif data.scope.kind == "contact": + valid = (data.scope.ids == (data.owner_id,) and data.owner_id in dict(self.contacts) + and data.owner_id in dict(self.contact_sides) + and data.orientation == (dict(self.contact_sides)[data.owner_id], dict(self.contacts)[data.owner_id])) + else: + valid = data.owner_id == self.device_id and data.orientation == () + if not valid: + raise ValueError("structured owner ID or orientation disagrees with topology") + + +@dataclass(frozen=True, slots=True) +class ParameterSource: + id: str + values: tuple[tuple[str, Scalar], ...] + evidence: EvidenceRef + parameter_schema: str = "scalar_layer" + structured: StructuredParameters | None = field(default=None, metadata={"omit_none": True}) + + def __post_init__(self) -> None: + _token(self.id, "parameter source") + if not isinstance(self.evidence, EvidenceRef): + raise ValueError("parameter source needs evidence") + if self.structured is None: + object.__setattr__(self, "values", parameter_values(self.values, self.parameter_schema)) + else: + _structured_binding(self.structured, self.parameter_schema, self.values) + if self.evidence != self.structured.data.source: + raise ValueError("structured parameter source evidence mismatch") + object.__setattr__(self, "values", ()) + + @property + def content_sha256(self) -> str: + return metadata_digest(metadata_value(self)) + + +@dataclass(frozen=True, slots=True) +class ModelChoice: + id: str + model: ModelRef + parameters: tuple[tuple[str, Scalar], ...] = () + field_bindings: tuple[tuple[str, str], ...] = () + parameter_schema: str = "scalar_layer" + structured: StructuredParameters | None = field(default=None, metadata={"omit_none": True}) + + def __post_init__(self) -> None: + _token(self.id, "local model instance ID") + if not isinstance(self.model, ModelRef): + raise ValueError("model choice requires an explicit ID/version") + if self.parameter_schema in {"scalar_layer", "full_layer"}: + if self.structured is not None: + raise ValueError("scalar choices cannot carry a structured document") + object.__setattr__(self, "parameters", parameter_values(self.parameters, self.parameter_schema)) + else: + _token(self.parameter_schema, "structured parameter schema") + if tuple(self.parameters): + raise ValueError("structured choices cannot also contain scalar overrides") + if self.structured is not None: + _structured_binding(self.structured, self.parameter_schema, ()) + object.__setattr__(self, "parameters", ()) + if isinstance(self.field_bindings, (str, bytes)): + raise ValueError("field bindings require explicit pairs") + entries = tuple(self.field_bindings) + if any(isinstance(item, (str, bytes)) for item in entries): + raise ValueError("field bindings require explicit pairs") + bindings = tuple(tuple(item) for item in entries) + if any(len(item) != 2 for item in bindings) or len({item[0] for item in bindings}) != len(bindings): + raise ValueError("field bindings must have unique local names") + for name, target in bindings: + _token(name, "local field binding") + if not isinstance(target, str) or not target.strip(): + raise ValueError("field binding requires an explicit target ID") + object.__setattr__(self, "field_bindings", tuple(sorted(bindings))) + + +@dataclass(frozen=True, slots=True) +class SelectedModel: + local_id: str + model: ModelRef + scope: Scope + parameters: tuple[tuple[str, Scalar], ...] + parameter_source_sha256: str | None + overridden_parameters: tuple[str, ...] + owned_variables: tuple[tuple[str, OwnedVariable], ...] + read_variables: tuple[str, ...] + parameter_schema: str = "scalar_layer" + structured: StructuredParameters | None = field(default=None, metadata={"omit_none": True}) + + def __post_init__(self) -> None: + _token(self.local_id, "selected model instance") + if not isinstance(self.model, ModelRef) or not isinstance(self.scope, Scope): + raise ValueError("selected model requires explicit ref and scope") + if self.structured is None: + object.__setattr__(self, "parameters", parameter_values(self.parameters, self.parameter_schema)) + parameter_names = {name for name, _ in self.parameters} + else: + _structured_binding(self.structured, self.parameter_schema, self.parameters) + if self.structured.data.scope != self.scope or self.structured.data.local_id != self.local_id: + raise ValueError("structured instance identity does not match selection") + if self.parameter_source_sha256 != self.structured.content_sha256: + raise ValueError("structured selected source identity is stale") + object.__setattr__(self, "parameters", ()) + parameter_names = set(self.structured.data.schema.parameter_names) + if self.parameter_source_sha256 is not None and re.fullmatch(r"[0-9a-f]{64}", self.parameter_source_sha256) is None: + raise ValueError("invalid parameter source identity") + overridden = _strings(self.overridden_parameters, "overridden parameter") + if set(overridden) - parameter_names: + raise ValueError("override origin names an absent parameter") + if self.structured is not None and set(overridden) not in (set(), parameter_names): + raise ValueError("structured overrides replace one complete validated document") + object.__setattr__(self, "overridden_parameters", overridden) + owned = tuple(self.owned_variables) + if any(not isinstance(item, tuple) or len(item) != 2 or not isinstance(item[0], str) + or not item[0] or not isinstance(item[1], OwnedVariable) for item in owned): + raise ValueError("invalid variable ownership binding") + object.__setattr__(self, "owned_variables", owned) + reads = tuple(self.read_variables) + if isinstance(self.read_variables, (str, bytes)) or any(not isinstance(item, str) or not item for item in reads): + raise ValueError("invalid physical variable references") + object.__setattr__(self, "read_variables", reads) + + @property + def id(self) -> str: + return self.scope.key + "/" + self.local_id + + +@dataclass(frozen=True, slots=True) +class Selection: + registry_sha256: str + topology: Topology + context: CapabilityContext + instances: tuple[SelectedModel, ...] + evaluation_order: tuple[str, ...] + declared_problems: tuple[str, ...] + + def __post_init__(self) -> None: + if re.fullmatch(r"[0-9a-f]{64}", self.registry_sha256) is None: + raise ValueError("selection requires a registry identity") + if not isinstance(self.topology, Topology) or not isinstance(self.context, CapabilityContext): + raise ValueError("selection requires topology and context") + instances = tuple(self.instances) + if any(not isinstance(item, SelectedModel) for item in instances): + raise ValueError("invalid selected model instance") + ids = {item.id for item in instances} + order = tuple(self.evaluation_order) + if len(ids) != len(instances) or len(order) != len(ids) or set(order) != ids: + raise ValueError("selection order must cover every unique model instance") + for item in instances: + self.topology.validate(item.scope) + if item.structured is not None: + self.topology.validate_parameters(item.structured) + problems = tuple(self.declared_problems) + if any(not isinstance(item, str) or not item for item in problems): + raise ValueError("invalid declared compatibility problem") + object.__setattr__(self, "instances", instances) + object.__setattr__(self, "evaluation_order", order) + object.__setattr__(self, "declared_problems", problems) + + @property + def content_sha256(self) -> str: + # Parameters are included: this is not permission to reuse numeric + # caches when D=0, thickness or another physical input changes. + return metadata_digest(metadata_value(self)) + + def export(self) -> dict[str, Any]: + """Ordered metadata for future input/UI consumers; never run permission.""" + schemas = {item.structured.data.schema.id: item.structured.data.schema.export() + for item in self.instances if item.structured is not None} + return {"schema": "solarlab.model-selection.v1", **metadata_value(self), + "parameter_schemas": {name: schemas[name] for name in sorted(schemas)}, + "status": "prepared_pending_dependencies", "can_execute": False} + + +def _structured_binding(parameters: StructuredParameters, schema: str, scalars: object) -> None: + if not isinstance(parameters, StructuredParameters) or parameters.data.schema.id != schema: + raise ValueError("structured parameter schema binding mismatch") + if scalars != (): + raise ValueError("structured parameters cannot be mixed with scalar parameters") + + +def _choices(values: Sequence[ModelChoice]) -> tuple[ModelChoice, ...]: + if values is None or isinstance(values, (str, bytes)): + raise ValueError("model choices require a sequence") + result = tuple(values) + if any(not isinstance(value, ModelChoice) for value in result): + raise ValueError("invalid model choice") + if len({value.id for value in result}) != len(result): + raise ValueError("duplicate model instance ID within a scope") + return result + + +def _bind( + choice: ModelChoice, scope: Scope, registry: ModelRegistry, + source: ParameterSource | None, +) -> SelectedModel: + definition = registry.get(choice.model) + if choice.parameter_schema != definition.parameter_schema or (source is not None and source.parameter_schema != definition.parameter_schema): + raise ValueError(f"{choice.id}: parameter schema binding mismatch") + if scope.kind not in definition.scopes: + raise ValueError(f"{scope.key}/{choice.id}: model does not support this scope") + structured = None + source_sha = source.content_sha256 if source is not None else None + if definition.structured_schema is not None: + structured = choice.structured if choice.structured is not None else (source.structured if source is not None else None) + if structured is None or structured.data.schema != definition.structured_schema: + raise ValueError(f"{choice.id}: missing or mismatched closed structured parameters") + parameters: tuple[tuple[str, Scalar], ...] = () + explicit_names = definition.parameters if choice.structured is not None else () + source_sha = structured.content_sha256 + else: + explicit = dict(choice.parameters) + if set(explicit) - set(definition.parameters): + raise ValueError(f"{choice.id}: unconsumed model parameters") + inherited = dict(source.values) if source is not None else {} + values = {name: explicit[name] if name in explicit else inherited.get(name) + for name in definition.parameters} + missing = [name for name in definition.parameters if name not in explicit and name not in inherited] + if missing: + raise ValueError(f"{choice.id}: missing consumed parameters {missing}") + parameters = parameter_values(tuple(values.items()), definition.parameter_schema) + explicit_names = tuple(sorted(explicit)) + bindings = dict(choice.field_bindings) + names = {item.name for item in definition.owns} | set(definition.reads) + if set(bindings) - names: + raise ValueError(f"{choice.id}: unused field binding") + owned = tuple((bindings.get(item.name, f"{scope.key}/{choice.id}:{item.name}"), item) + for item in definition.owns) + local_owned = {item.name: target for target, item in owned} + reads = tuple(bindings.get(name, local_owned.get(name, name)) for name in definition.reads) + return SelectedModel(choice.id, choice.model, scope, parameters, + source_sha, explicit_names, owned, reads, definition.parameter_schema, structured) + + +def _dependency_scope(scope: Scope, relation: str) -> Scope: + if relation == "same": + return scope + if relation == "device": + return Scope("device") + if scope.kind != "interface": + raise ValueError("left/right model dependencies require a directed interface scope") + return Scope("layer", (scope.ids[0 if relation == "left" else 1],)) + + +def _order(instances: tuple[SelectedModel, ...], registry: ModelRegistry) -> tuple[str, ...]: + edges: dict[str, tuple[str, ...]] = {} + for instance in instances: + dependencies = [] + for requirement in registry.get(instance.model).requires: + target = _dependency_scope(instance.scope, requirement.relation) + matches = [item.id for item in instances if item.scope == target and item.model == requirement.model] + if not matches: + raise ValueError(f"{instance.id}: missing dependency {requirement.model} at {target.key}") + dependencies.extend(matches) + edges[instance.id] = tuple(sorted(set(dependencies))) + done: set[str] = set() + active: set[str] = set() + ordered: list[str] = [] + + def visit(name: str) -> None: + if name in active: + raise ValueError(f"cyclic model dependency at {name}") + if name in done: + return + active.add(name) + for dependency in edges[name]: + visit(dependency) + active.remove(name) + done.add(name) + ordered.append(name) + + for name in sorted(edges): + visit(name) + return tuple(ordered) + + +def _declared_problems( + instances: tuple[SelectedModel, ...], registry: ModelRegistry, + context: CapabilityContext, +) -> tuple[str, ...]: + refs = tuple(sorted({instance.model for instance in instances})) + return tuple(sorted( + f"{instance.id}:{reason}" for instance in instances + for reason in registry.get(instance.model).capability.problems(context, refs) + )) + + +def validate_selection(selection: Selection, registry: ModelRegistry) -> tuple[str, ...]: + """Revalidate resolved metadata, including ordinary dataclass copy/edits. + + Physical state reads need an available owner, but are not execution-DAG + dependencies: simultaneously coupled variables may read one another. + Only explicit model Requirements constrain the evaluation order. + """ + if not isinstance(selection, Selection) or not isinstance(registry, ModelRegistry): + raise ValueError("validation requires a selection and model registry") + registry.validate_parameter_schema() + if selection.registry_sha256 != registry.content_sha256: + raise ValueError("selection/model registry identity mismatch") + owners = {name: "external" for name in selection.context.available_variables} + families: dict[tuple[Scope, str], list[SelectedModel]] = {} + structured_sources: set[str] = set() + for instance in selection.instances: + selection.topology.validate(instance.scope) + definition = registry.get(instance.model) + if instance.scope.kind not in definition.scopes: + raise ValueError(f"{instance.id}: model does not support this scope") + if instance.parameter_schema != definition.parameter_schema: + raise ValueError(f"{instance.id}: parameter schema binding mismatch") + if definition.structured_schema is None: + parameters = parameter_values(instance.parameters, definition.parameter_schema) + if instance.structured is not None or tuple(name for name, _ in parameters) != definition.parameters: + raise ValueError(f"{instance.id}: consumed parameter names do not match declaration") + if instance.parameter_source_sha256 is None and set(definition.parameters) != set(instance.overridden_parameters): + raise ValueError(f"{instance.id}: inherited parameters require a source identity") + else: + structured = instance.structured + if structured is None or structured.data.schema != definition.structured_schema: + raise ValueError(f"{instance.id}: structured schema identity mismatch") + selection.topology.validate_parameters(structured) + if structured.data.instance_id != instance.id or instance.parameter_source_sha256 != structured.content_sha256: + raise ValueError(f"{instance.id}: structured parameter instance/source identity mismatch") + structured_sources.add(structured.data.source.sha256) + declared_owns = tuple(variable for _, variable in instance.owned_variables) + if declared_owns != definition.owns: + raise ValueError(f"{instance.id}: owned variable specs do not match declaration") + if len(instance.read_variables) != len(definition.reads): + raise ValueError(f"{instance.id}: read bindings do not match declaration") + local_owners = {variable.name: target for target, variable in instance.owned_variables} + for name, target in zip(definition.reads, instance.read_variables): + if name in local_owners and local_owners[name] != target: + raise ValueError(f"{instance.id}: local read and ownership binding disagree") + for target, _ in instance.owned_variables: + if target in owners: + raise ValueError(f"duplicate ownership of physical variable {target}") + owners[target] = instance.id + families.setdefault((instance.scope, definition.family), []).append(instance) + if len(structured_sources) > 1: + raise ValueError("structured selections cannot mix distinct prepared-device snapshots; rebind all instances") + for group in families.values(): + if len(group) > 1 and any(registry.get(item.model).composition == "exclusive" for item in group): + raise ValueError(f"{group[0].scope.key}: exclusive model family has multiple instances") + for instance in selection.instances: + definition = registry.get(instance.model) + if set(instance.read_variables) - set(owners): + raise ValueError(f"{instance.id}: missing required physical variable") + if any(other.scope == instance.scope and other.model in definition.conflicts for other in selection.instances): + raise ValueError(f"{instance.id}: conflicting model selection") + if selection.evaluation_order != _order(selection.instances, registry): + raise ValueError("selection evaluation order does not match declared dependencies") + problems = _declared_problems(selection.instances, registry, selection.context) + if selection.declared_problems != problems: + raise ValueError("selection compatibility diagnostics are stale; resolve again") + return problems + + +def select_models( + registry: ModelRegistry, topology: Topology, context: CapabilityContext, + defaults: Mapping[str, Sequence[ModelChoice]], + parameter_sources: Mapping[Scope, ParameterSource], + overrides: Mapping[Scope, Mapping[str, Sequence[ModelChoice]]] | None = None, + *, instance_parameter_sources: Mapping[str, ParameterSource] | None = None, +) -> Selection: + """Inherit kind defaults, then replace explicitly overridden families. + + An empty family tuple explicitly clears it. Null is not an inheritance or + disable shortcut. Interface endpoint orientation comes from Topology. + """ + if not isinstance(registry, ModelRegistry) or not isinstance(topology, Topology) or not isinstance(context, CapabilityContext): + raise ValueError("selection requires a registry, topology and context") + registry.validate_parameter_schema() + patches = {} if overrides is None else overrides + if not all(isinstance(value, Mapping) for value in (defaults, parameter_sources, patches)): + raise ValueError("selection defaults, parameter sources and overrides must be mappings") + if any(not isinstance(value, Mapping) for value in patches.values()): + raise ValueError("scope overrides must map families to choices") + if set(defaults) - {"device", "layer", "interface", "contact"}: + raise ValueError("unknown default scope kind") + for scope in (*patches, *parameter_sources): + topology.validate(scope) + for source in parameter_sources.values(): + if not isinstance(source, ParameterSource): + raise ValueError("parameter sources must be immutable validated records") + # A default family is reused at every matching scope. Freeze it once so a + # one-pass input cannot silently omit the second layer's model instances. + default_choices = {kind: _choices(values) for kind, values in defaults.items()} + per_instance = {} if instance_parameter_sources is None else instance_parameter_sources + if not isinstance(per_instance, Mapping): + raise ValueError("instance parameter sources must be a mapping") + for identifier, source in per_instance.items(): + if not isinstance(source, ParameterSource) or source.structured is None or identifier != source.structured.data.instance_id: + raise ValueError("structured sources must be keyed by their canonical instance IDs") + topology.validate_parameters(source.structured) + selected: list[SelectedModel] = [] + for scope in topology.scopes(): + families: dict[str, tuple[ModelChoice, ...]] = {} + for choice in default_choices.get(scope.kind, ()): + family = registry.get(choice.model).family + families[family] = (*families.get(family, ()), choice) + for family, values in patches.get(scope, {}).items(): + _token(family, "override family") + choices = _choices(values) + if family not in {item.family for item in registry.definitions}: + raise ValueError("unknown model family override") + if any(registry.get(choice.model).family != family for choice in choices): + raise ValueError("model choice does not belong to the overridden family") + families[family] = choices + choices = _choices(tuple(choice for family in sorted(families) for choice in families[family])) + selected.extend(_bind(choice, scope, registry, + per_instance.get(scope.key + "/" + choice.id) if registry.get(choice.model).structured_schema is not None + else parameter_sources.get(scope)) for choice in choices) + instances = tuple(sorted(selected, key=lambda item: item.id)) + selection = Selection(registry.content_sha256, topology, context, instances, + _order(instances, registry), _declared_problems(instances, registry, context)) + validate_selection(selection, registry) + return selection diff --git a/src/solarlab/physics/semantic_projection.py b/src/solarlab/physics/semantic_projection.py new file mode 100644 index 00000000..0c2a86b0 --- /dev/null +++ b/src/solarlab/physics/semantic_projection.py @@ -0,0 +1,190 @@ +"""Source-bound model projections for identity preparation, never cache grants. + +Both rules retain all physical model values, including temperature exponents. +The only reduced rule removes the documentary display label from a pinned +declaration/selection API. There is no caller-defined field exclusion list or +pointwise-value equivalence flag. +This module depends on model declarations, not devices, solvers or config. +""" + +from __future__ import annotations + +from copy import deepcopy +from dataclasses import dataclass +import json +from typing import Any + +from solarlab.materials.source import SourceDocument +from solarlab.physics.registry import ModelDefinition, ModelRef, metadata_value +from solarlab.physics.selection import SelectedModel + +__all__ = ["SemanticProjection"] + +_DISPLAY_LABEL_EVIDENCE = { + "src/solarlab/physics/registry.py": "b22c15eae2fbcc64aaef9aa8230b07d794b26caa30fc7818e6c23c77230cce1e", + "src/solarlab/physics/selection.py": "2fcfd5279feba3d35de577772371ee3a5cc60b17d7b8ebbe765d939e9475198b", +} + + +def _project_historical_physics(physical: dict[str, Any], inspection: dict[str, Any]) -> dict[str, Any]: + """The fixed v1 behavior rule, called with a validated historical context. + + Only the source-proven effective settings replace declarations. Everything + else remains conservative: this is not a caller-defined exclusion list or + a claim of model/solver qualification. Driver protocol, preparation and + numerical import switches belong to the complete execution context. + """ + expected = {"mode_ceiling", "switches", "switch_scope", "interface_state_requested", "interface_state_count", + "interface_state_shared_occupancy_if_enabled", "interfaces", "contacts", "ions", "ion_flux_label", + "te", "optics", "electrostatics", "import_time_policy", "runtime_interface_requests", "preparation"} + if set(inspection) != expected: + raise ValueError("historical inspection changed; a new semantic projection is required") + result = deepcopy(physical) + result["domain"] = "prepared-historical-device-1d.v2" + result["settings"].update(inspection["switches"]) + effective_contacts = [] + for contact in inspection["contacts"]: + target = next(row for row in result["contacts"] if row["side"] == contact["side"]) + target["S_" + contact["carrier"]] = contact["effective_S_m_s"] + effective_contacts.append({key: contact[key] for key in ("side", "carrier", "effective_S_m_s", "condition")}) + incoherence = [] + for row in inspection["optics"]["incoherence"]: + layer = next(item for item in result["layers"] if item["id"] == row["layer"]) + value = row["historical_loader_value"] + if "incoherent" in layer["remaining_effective_parameters"]: + layer["remaining_effective_parameters"]["incoherent"] = value + for model in result["models"]: + if model["scope"] == {"kind": "layer", "ids": [row["layer"]]} and "incoherent" in model["effective_values"]: + model["effective_values"]["incoherent"] = value + incoherence.append({"layer": row["layer"], "effective": value}) + optical = inspection["optics"] + result["effective_behavior"] = { + "projection": "historical-driver-effective.v1", + **{key: deepcopy(inspection[key]) for key in ("mode_ceiling", "switches", "te", "interfaces", "ions", + "ion_flux_label", "electrostatics", "interface_state_requested", "interface_state_shared_occupancy_if_enabled")}, + "contacts": effective_contacts, + "optics": {**{key: optical[key] for key in ("generation", "uniform_generation_m3_s", "recycling")}, + "incoherence": incoherence}, + "runtime_interface_requests": {key: inspection["runtime_interface_requests"][key] for key in ("qss", "allow_generation")}, + "QSS_velocity_m_s": inspection["import_time_policy"]["QSS_velocity_effective_m_s"], + } + return result + + +def _project_r1_physics( + physical: dict[str, Any], material: dict[str, Any], *, ceilings: dict[str, Any], switches: dict[str, bool], + controls: dict[str, int], reference: dict[str, Any], +) -> dict[str, Any]: + """Fixed R1 model/charge reference; complete history stays in execution. + + Pair and binary64 representations implement the same declared physics. + Their seed, high/low words and source bytes are retained by the caller's + complete R1 execution context, never projected into one rounded state. + """ + if set(reference) != {"f_ref", "geometry", "maximum_difference", "microscopic_documents", "reference_intervals", + "rungs", "schema", "scope", "sha256", "stack_sha256"} or reference["schema"] != "ReferenceBindingV1": + raise ValueError("R1 reference changed; a new semantic projection is required") + result = deepcopy(physical) + result["domain"] = "prepared-historical-device-1d.v2" + result["settings"].update(switches) + result["settings"]["interface_charge_closure"] = material["material_interface_charge_closure"] + overrides = dict(material["material_overrides"]) + # This controls acceptance of an inner solve, not a physical coefficient. + overrides.pop("iface_qss_allow_inexact_inner") + environment = material["environment_effective_snapshot"] + result["effective_behavior"] = { + "projection": "historical-r1-effective.v1", "mode_ceiling": deepcopy(ceilings), + "switches": dict(switches), "geometry": material["physical_geometry"], + "material_interface_charge_closure": material["material_interface_charge_closure"], + "material_overrides": overrides, "ions": deepcopy(material["ions"]), + "active_populations": dict(controls), + "charge_reference": {key: deepcopy(reference[key]) for key in ("f_ref", "geometry", "microscopic_documents", "scope")}, + "QSS_velocity_m_s": material["import_time_policy"]["QSS_velocity_effective_m_s"], + "runtime_interface_requests": {"qss": environment["SOLARLAB_IFACE_QSS"] == "1", + "allow_generation": environment["SOLARLAB_IFACE_ALLOW_GEN"] == "1"}, + } + return result + + +@dataclass(frozen=True, slots=True) +class SemanticProjection: + """One model/version and actual immutable source documents. + + ``all_values_v1`` binds the complete declared model and effective values. + ``without_display_label_v1`` removes only ModelDefinition.label, which the + pinned selector never forwards to SelectedModel or uses to bind values. + A changed proof source needs review, not an automatic fallback. Equality + of a physical value at one temperature never permits omitting its exponent. + """ + + model: ModelRef + rule: str + sources: tuple[SourceDocument, ...] + projection_evidence: tuple[SourceDocument, ...] = () + + def __post_init__(self) -> None: + if not isinstance(self.model, ModelRef) or self.rule not in {"all_values_v1", "without_display_label_v1"}: + raise ValueError("unknown model-owned semantic projection") + sources = tuple(self.sources) + if not sources or any(type(item) is not SourceDocument for item in sources): + raise ValueError("semantic projection requires actual immutable source bytes") + if len({item.id for item in sources}) != len(sources): + raise ValueError("duplicate semantic source ID") + object.__setattr__(self, "sources", tuple(sorted(sources, key=lambda item: item.id))) + proof = tuple(self.projection_evidence) + if any(type(item) is not SourceDocument for item in proof) or len({item.id for item in proof}) != len(proof): + raise ValueError("invalid/duplicate documentary projection evidence") + if self.rule == "without_display_label_v1": + if {item.id: item.sha256 for item in proof} != _DISPLAY_LABEL_EVIDENCE: + raise ValueError("display-label projection requires the exact audited declaration and selector sources") + elif proof: + raise ValueError("lossless model projection has no documentary omission proof") + object.__setattr__(self, "projection_evidence", tuple(sorted(proof, key=lambda item: item.id))) + + def _evidence(self, definition: ModelDefinition) -> list[dict[str, str]]: + evidence = [item for item in definition.capability.evidence if item.kind == "source"] + documents = {item.id: item for item in self.sources} + if not evidence or set(documents) != {item.id.partition("#")[0] for item in evidence}: + raise ValueError("model source evidence must exactly match supplied source documents") + for item in evidence: + if documents[item.id.partition("#")[0]].sha256 != item.sha256: + raise ValueError("model semantic source bytes disagree with the registry evidence") + return [{"id": item.id, "sha256": item.sha256} for item in self.sources] + + def project( + self, definition: ModelDefinition, instance: SelectedModel, + ) -> tuple[dict[str, Any], tuple[str, ...]]: + """Return a fresh declaration and the layer parameters it accounts for. + + The configuration producer retains every other effective layer value. + Thus a narrow reduction here cannot silently drop unrelated parameters. + """ + if definition.ref != self.model or instance.model != self.model: + raise ValueError("model/projection semantic-version mismatch") + sources = self._evidence(definition) + declaration = metadata_value(definition) + if instance.structured is None: + values: Any = dict(instance.parameters) + if set(values) != set(definition.parameters): + raise ValueError("projection requires the complete declared parameter set") + claimed = tuple(definition.parameters) + else: + data = instance.structured.data + reference = json.loads(data.resolved_reference_json) + if definition.structured_schema != data.schema: + raise ValueError("structured projection schema mismatch") + values = { + "normalized_supplied": json.loads(data.normalized_json), + "resolved": reference["projection"], "context": reference["context"], + } + claimed = () + if self.rule == "without_display_label_v1": + declaration.pop("label") + return { + "model": declaration, "rule": self.rule, "sources": sources, + "instance_id": instance.id, "scope": metadata_value(instance.scope), + "owned_variables": metadata_value(instance.owned_variables), + "read_variables": list(instance.read_variables), + "effective_values": values, + "projection_evidence": [{"id": item.id, "sha256": item.sha256} for item in self.projection_evidence], + }, claimed diff --git a/src/solarlab/physics/statistics/__init__.py b/src/solarlab/physics/statistics/__init__.py new file mode 100644 index 00000000..5967917d --- /dev/null +++ b/src/solarlab/physics/statistics/__init__.py @@ -0,0 +1,53 @@ +"""Carrier statistics: one MB/restricted-FD definition, dopants, neutrality, bands. + +Every name exported here is M class (bit-identical to the legacy engine). +""" + +from solarlab.physics.statistics.band_potentials import ( + ABSORBER_ROLE, BandStructure, LayerBandInput, dos_fold_reference_layer, + fold_dos_into_transport_bands, layered_band_structure, +) +from solarlab.physics.statistics.carriers import ( + CARRIER_STATISTICS, FERMI_DIRAC, MAXWELL_BOLTZMANN, CarrierStatistics, + boltzmann_activity, carrier_density_derivative_reduced_fermi_level, + carrier_density_from_reduced_fermi_level, carrier_logarithmic_compressibility, + carrier_occupation, generalized_einstein_factor, normalize_carrier_statistics, + reduced_fermi_level_from_density, +) +from solarlab.physics.statistics.dopants import ( + DISCRETE_LEVEL, DOPANT_IONIZATION_MODELS, FULLY_IONIZED, DopantChargeState, + DopantIonizationModel, dopant_charge_state, ionized_acceptor_fraction, + ionized_donor_fraction, normalize_dopant_ionization_model, +) +from solarlab.physics.statistics.fermi_dirac import ( + fermi_dirac_half, fermi_dirac_half_log_derivative, fermi_dirac_half_table, + inverse_fermi_dirac_half, +) +from solarlab.physics.statistics.neutrality import ( + CHARGE_NEUTRALITY_RELATIVE_TOLERANCE, BulkChargeNeutralityState, + mass_action_carrier_densities, solve_charge_neutrality, + solve_discrete_level_charge_neutrality, solve_fully_ionized_charge_neutrality, +) +from solarlab.physics.statistics.thermal import ( + BOLTZMANN_CONSTANT_J_K, REFERENCE_TEMPERATURE_K, REFERENCE_THERMAL_VOLTAGE_V, + thermal_voltage, +) + +__all__ = [ + "ABSORBER_ROLE", "BOLTZMANN_CONSTANT_J_K", "BandStructure", "BulkChargeNeutralityState", + "CARRIER_STATISTICS", "CHARGE_NEUTRALITY_RELATIVE_TOLERANCE", "CarrierStatistics", + "DISCRETE_LEVEL", "DOPANT_IONIZATION_MODELS", "DopantChargeState", + "DopantIonizationModel", "FERMI_DIRAC", "FULLY_IONIZED", "LayerBandInput", + "MAXWELL_BOLTZMANN", "REFERENCE_TEMPERATURE_K", "REFERENCE_THERMAL_VOLTAGE_V", + "boltzmann_activity", "carrier_density_derivative_reduced_fermi_level", + "carrier_density_from_reduced_fermi_level", "carrier_logarithmic_compressibility", + "carrier_occupation", "dopant_charge_state", "dos_fold_reference_layer", + "fermi_dirac_half", "fermi_dirac_half_log_derivative", "fermi_dirac_half_table", + "fold_dos_into_transport_bands", "generalized_einstein_factor", + "inverse_fermi_dirac_half", "ionized_acceptor_fraction", "ionized_donor_fraction", + "layered_band_structure", "mass_action_carrier_densities", + "normalize_carrier_statistics", "normalize_dopant_ionization_model", + "reduced_fermi_level_from_density", "solve_charge_neutrality", + "solve_discrete_level_charge_neutrality", "solve_fully_ionized_charge_neutrality", + "thermal_voltage", +] diff --git a/src/solarlab/physics/statistics/_validation.py b/src/solarlab/physics/statistics/_validation.py new file mode 100644 index 00000000..a4aabefb --- /dev/null +++ b/src/solarlab/physics/statistics/_validation.py @@ -0,0 +1,21 @@ +"""Scalar domain checks shared by the statistics closures (legacy messages).""" + +from __future__ import annotations + +import math + +__all__ = ["finite_nonnegative", "finite_positive"] + + +def finite_positive(value: float, name: str) -> float: + result = float(value) + if not math.isfinite(result) or result <= 0.0: + raise ValueError(f"{name} must be finite and positive") + return result + + +def finite_nonnegative(value: float, name: str) -> float: + result = float(value) + if not math.isfinite(result) or result < 0.0: + raise ValueError(f"{name} must be finite and non-negative") + return result diff --git a/src/solarlab/physics/statistics/band_potentials.py b/src/solarlab/physics/statistics/band_potentials.py new file mode 100644 index 00000000..053f6185 --- /dev/null +++ b/src/solarlab/physics/statistics/band_potentials.py @@ -0,0 +1,194 @@ +"""Physical band edges kept apart from DOS-folded transport potentials (M class). + +Under Boltzmann statistics the heterostructure-correct drift potentials carry +``V_T ln(N_C)`` and ``-V_T ln(N_V)`` besides the physical band edges. The +historical engine folds these terms, relative to one reference layer, into its +cached affinity and gap arrays:: + + dC = V_T ln(N_C / N_C,ref) dV = V_T ln(N_V / N_V,ref) + chi_t = chi + dC Eg_t = Eg - dC - dV + +The folded arrays are transport potentials only: thermionic emission, band +diagrams, contact quasi-Fermi levels and every statistics evaluation read the +physical edges. ``BandStructure`` therefore carries both on the same nodes and +names which is which; neither substitutes for the other. + +Layers whose DOS is missing are skipped, and nothing is folded when the +reference layer lacks DOS. Node ownership must be a partition; the historical +1D owner is :data:`solarlab.mesh.RIGHT_LAYER_WINS`, under which the shared +interface node takes the right layer's correction, so the effective material +interface stays at ``x_I - h_{I-1}/2`` (LD-05, kept on purpose). +""" + +from __future__ import annotations + +from collections.abc import Sequence +from dataclasses import dataclass +import math + +import numpy as np +from numpy.typing import ArrayLike, NDArray + +from solarlab.contracts.arrays import ImmutableArrays, Vector, frozen_array +from solarlab.mesh.grid import RIGHT_LAYER_WINS, layer_node_masks + +__all__ = [ + "ABSORBER_ROLE", "BandStructure", "LayerBandInput", "dos_fold_reference_layer", + "fold_dos_into_transport_bands", "layered_band_structure", +] + +ABSORBER_ROLE = "absorber" + + +@dataclass(frozen=True) +class BandStructure(ImmutableArrays): + """Physical band edges and transport potentials on one set of nodes [eV].""" + + physical_electron_affinity_eV: Vector + physical_band_gap_eV: Vector + transport_electron_affinity_eV: Vector + transport_band_gap_eV: Vector + dos_folded: bool + reference_layer: int | None + + def __post_init__(self) -> None: + names = ( + "physical_electron_affinity_eV", "physical_band_gap_eV", + "transport_electron_affinity_eV", "transport_band_gap_eV", + ) + arrays = [frozen_array(object.__getattribute__(self, name)) for name in names] + if arrays[0].ndim != 1 or any(array.shape != arrays[0].shape for array in arrays): + raise ValueError("band arrays must be 1-D and share one node set") + for name, array in zip(names, arrays): + object.__setattr__(self, name, array) + if not self.dos_folded and ( + arrays[0].tobytes() != arrays[2].tobytes() + or arrays[1].tobytes() != arrays[3].tobytes() + ): + raise ValueError("an unfolded band structure must reuse the physical edges") + + @classmethod + def without_dos_fold(cls, electron_affinity_eV: ArrayLike, + band_gap_eV: ArrayLike) -> BandStructure: + """Transport potentials equal to the physical edges (fold disabled).""" + chi = np.asarray(electron_affinity_eV, dtype=float) + gap = np.asarray(band_gap_eV, dtype=float) + return cls(chi, gap, chi, gap, dos_folded=False, reference_layer=None) + + def transport_potentials(self, phi: ArrayLike) -> tuple[NDArray[np.float64], NDArray[np.float64]]: + """Historical SG drift potentials ``(phi + chi_t, phi + chi_t + Eg_t)`` [V].""" + potential = np.asarray(phi, dtype=float) + if potential.shape != self.transport_electron_affinity_eV.shape: + raise ValueError("phi must live on the band-structure nodes") + electron = potential + self.transport_electron_affinity_eV + hole = potential + self.transport_electron_affinity_eV + self.transport_band_gap_eV + return electron, hole + + def physical_band_edges(self, phi: ArrayLike) -> tuple[NDArray[np.float64], NDArray[np.float64]]: + """Physical ``(E_C, E_V)`` below vacuum [eV]: ``E_C = -phi - chi``.""" + potential = np.asarray(phi, dtype=float) + if potential.shape != self.physical_electron_affinity_eV.shape: + raise ValueError("phi must live on the band-structure nodes") + conduction = -potential - self.physical_electron_affinity_eV + return conduction, conduction - self.physical_band_gap_eV + + +def dos_fold_reference_layer(roles: Sequence[str]) -> int: + """Historical fold reference: the first absorber layer, else layer 0.""" + if not roles: + raise ValueError("at least one electrical layer is required") + return next((index for index, role in enumerate(roles) if role == ABSORBER_ROLE), 0) + + +def _has_dos(conduction: float | None, valence: float | None) -> bool: + # Truthiness as in the historical engine: None and 0.0 both mean "absent". + return bool(conduction and valence) + + +def fold_dos_into_transport_bands( + electron_affinity_eV: ArrayLike, + band_gap_eV: ArrayLike, + layer_masks: Sequence[ArrayLike], + layer_dos_m3: Sequence[tuple[float | None, float | None]], + *, + reference_layer: int, + thermal_voltage_V: float, +) -> BandStructure: + """Fold per-layer ``V_T ln(N/N_ref)`` into the transport potentials. + + ``electron_affinity_eV`` and ``band_gap_eV`` are the physical node arrays; + ``layer_masks`` must be mutually exclusive because the fold accumulates. + """ + chi = np.array(electron_affinity_eV, dtype=float, copy=True) + gap = np.array(band_gap_eV, dtype=float, copy=True) + if chi.ndim != 1 or gap.shape != chi.shape: + raise ValueError("affinity and gap must be 1-D node arrays of one shape") + masks = [np.asarray(mask, dtype=bool) for mask in layer_masks] + if len(masks) != len(layer_dos_m3) or not masks: + raise ValueError("one DOS pair is required per layer mask") + if any(mask.shape != chi.shape for mask in masks): + raise ValueError("layer masks must live on the band nodes") + if np.any(np.sum(masks, axis=0) > 1): + raise ValueError("an accumulating fold requires a node partition") + if not 0 <= reference_layer < len(masks): + raise ValueError("reference_layer is outside the layer list") + thermal = float(thermal_voltage_V) + if not math.isfinite(thermal) or thermal <= 0.0: + raise ValueError("thermal_voltage_V must be finite and positive") + physical_chi, physical_gap = chi.copy(), gap.copy() + reference_nc, reference_nv = layer_dos_m3[reference_layer] + if not _has_dos(reference_nc, reference_nv): + return BandStructure(physical_chi, physical_gap, chi, gap, + dos_folded=False, reference_layer=reference_layer) + for (conduction, valence), mask in zip(layer_dos_m3, masks): + if _has_dos(conduction, valence): + shift_c = thermal * math.log(conduction / reference_nc) # type: ignore[operator] + shift_v = thermal * math.log(valence / reference_nv) # type: ignore[operator] + chi[mask] = chi[mask] + shift_c + gap[mask] = gap[mask] - shift_c - shift_v + return BandStructure(physical_chi, physical_gap, chi, gap, + dos_folded=True, reference_layer=reference_layer) + + +@dataclass(frozen=True, slots=True) +class LayerBandInput: + """One uniform electrical layer for :func:`layered_band_structure`.""" + + thickness_m: float + electron_affinity_eV: float + band_gap_eV: float + conduction_dos_m3: float | None = None + valence_dos_m3: float | None = None + role: str = "" + + +def layered_band_structure( + x: ArrayLike, + layers: Sequence[LayerBandInput], + *, + thermal_voltage_V: float, + fold_dos: bool, + convention: str = RIGHT_LAYER_WINS, +) -> BandStructure: + """Paint uniform layers onto nodes, then optionally fold their DOS. + + Assignment and fold share one ownership partition, as in the historical + builder; graded or temperature-shifted edges are prepared by the caller + and passed to :func:`fold_dos_into_transport_bands` directly. + """ + grid = np.asarray(x, dtype=float) + thicknesses = [layer.thickness_m for layer in layers] + masks = layer_node_masks(grid, thicknesses, convention) + chi = np.zeros(grid.shape) + gap = np.zeros(grid.shape) + for layer, mask in zip(layers, masks): + chi[mask] = layer.electron_affinity_eV + gap[mask] = layer.band_gap_eV + if not fold_dos: + return BandStructure.without_dos_fold(chi, gap) + return fold_dos_into_transport_bands( + chi, gap, masks, + [(layer.conduction_dos_m3, layer.valence_dos_m3) for layer in layers], + reference_layer=dos_fold_reference_layer([layer.role for layer in layers]), + thermal_voltage_V=thermal_voltage_V, + ) diff --git a/src/solarlab/physics/statistics/carriers.py b/src/solarlab/physics/statistics/carriers.py new file mode 100644 index 00000000..4f327f90 --- /dev/null +++ b/src/solarlab/physics/statistics/carriers.py @@ -0,0 +1,155 @@ +"""One carrier-statistics definition for MB and restricted FD (M class). + +Reduced Fermi levels follow the semiconductor convention +``eta_n = (E_F - E_C) / kT`` and ``eta_p = (E_V - E_F) / kT``. The forward +map, its inverse, the logarithmic compressibility ``d log n / d eta``, the +generalized Einstein factor and ``dn/d eta`` all dispatch through this module, +so a neutrality solve, a contact reservoir and a transport face cannot use +different statistics. Values are bit-identical to the legacy engine. +""" + +from __future__ import annotations + +import math +from typing import Final, Literal + +from solarlab.physics.statistics._validation import finite_nonnegative, finite_positive +from solarlab.physics.statistics.fermi_dirac import ( + fermi_dirac_half, fermi_dirac_half_log_derivative, inverse_fermi_dirac_half, +) + +__all__ = [ + "CARRIER_STATISTICS", "CarrierStatistics", "FERMI_DIRAC", "MAXWELL_BOLTZMANN", + "boltzmann_activity", "carrier_density_derivative_reduced_fermi_level", + "carrier_density_from_reduced_fermi_level", "carrier_logarithmic_compressibility", + "carrier_occupation", "generalized_einstein_factor", "normalize_carrier_statistics", + "reduced_fermi_level_from_density", +] + +MAXWELL_BOLTZMANN: Final = "maxwell_boltzmann" +FERMI_DIRAC: Final = "fermi_dirac" +CARRIER_STATISTICS = (MAXWELL_BOLTZMANN, FERMI_DIRAC) +CarrierStatistics = Literal["maxwell_boltzmann", "fermi_dirac"] + + +def normalize_carrier_statistics(value: object) -> CarrierStatistics: + """Return one supported carrier-statistics identifier or fail closed.""" + if not isinstance(value, str): + raise ValueError("carrier statistics must be a string") + normalized = value.strip().lower() + if normalized not in {MAXWELL_BOLTZMANN, FERMI_DIRAC}: + raise ValueError( + "carrier statistics must be 'maxwell_boltzmann' or 'fermi_dirac'" + ) + return normalized # type: ignore[return-value] + + +def boltzmann_activity(eta: float) -> float: + """``exp(eta)`` with overflow mapped to ``+inf``.""" + try: + return math.exp(eta) + except OverflowError: + return math.inf + + +def carrier_occupation( + reduced_fermi_level: float, + *, + statistics: CarrierStatistics | str = MAXWELL_BOLTZMANN, +) -> float: + """Return ``n/N_C`` or ``p/N_V`` for one reduced Fermi level.""" + eta = float(reduced_fermi_level) + if math.isnan(eta): + raise ValueError("reduced_fermi_level must not be NaN") + model = normalize_carrier_statistics(statistics) + if model == MAXWELL_BOLTZMANN: + return boltzmann_activity(eta) + return fermi_dirac_half(eta) + + +def carrier_density_from_reduced_fermi_level( + reduced_fermi_level: float, + effective_density_of_states_m3: float, + *, + statistics: CarrierStatistics | str = MAXWELL_BOLTZMANN, +) -> float: + """Return a bulk carrier density from its reduced Fermi level.""" + density_of_states = finite_positive( + effective_density_of_states_m3, + "effective_density_of_states_m3", + ) + occupation = carrier_occupation( + reduced_fermi_level, + statistics=statistics, + ) + density = density_of_states * occupation + return float(density) + + +def reduced_fermi_level_from_density( + carrier_density_m3: float, + effective_density_of_states_m3: float, + *, + statistics: CarrierStatistics | str = MAXWELL_BOLTZMANN, +) -> float: + """Invert the bulk density law for ``eta_n`` or ``eta_p``.""" + density = finite_nonnegative(carrier_density_m3, "carrier_density_m3") + density_of_states = finite_positive( + effective_density_of_states_m3, + "effective_density_of_states_m3", + ) + if density == 0.0: + return -math.inf + ratio = density / density_of_states + model = normalize_carrier_statistics(statistics) + if model == MAXWELL_BOLTZMANN: + return math.log(ratio) + return inverse_fermi_dirac_half(ratio) + + +def carrier_logarithmic_compressibility( + reduced_fermi_level: float, + *, + statistics: CarrierStatistics | str = MAXWELL_BOLTZMANN, +) -> float: + """Return ``d(log n)/d eta`` (or the equivalent hole derivative).""" + eta = float(reduced_fermi_level) + if not math.isfinite(eta): + raise ValueError("reduced_fermi_level must be finite") + model = normalize_carrier_statistics(statistics) + if model == MAXWELL_BOLTZMANN: + return 1.0 + derivative = float(fermi_dirac_half_log_derivative(eta)) + if not math.isfinite(derivative) or derivative <= 0.0: + raise FloatingPointError("Fermi-Dirac compressibility must be positive") + return derivative + + +def generalized_einstein_factor( + reduced_fermi_level: float, + *, + statistics: CarrierStatistics | str = MAXWELL_BOLTZMANN, +) -> float: + """Return ``D/(mu*V_T) = 1 / d(log n)/d eta``.""" + return 1.0 / carrier_logarithmic_compressibility( + reduced_fermi_level, + statistics=statistics, + ) + + +def carrier_density_derivative_reduced_fermi_level( + reduced_fermi_level: float, + effective_density_of_states_m3: float, + *, + statistics: CarrierStatistics | str = MAXWELL_BOLTZMANN, +) -> float: + """Return ``dn/deta`` or ``dp/deta`` for the chosen statistics.""" + density = carrier_density_from_reduced_fermi_level( + reduced_fermi_level, + effective_density_of_states_m3, + statistics=statistics, + ) + return density * carrier_logarithmic_compressibility( + reduced_fermi_level, + statistics=statistics, + ) diff --git a/src/solarlab/physics/statistics/dopants.py b/src/solarlab/physics/statistics/dopants.py new file mode 100644 index 00000000..8da8594e --- /dev/null +++ b/src/solarlab/physics/statistics/dopants.py @@ -0,0 +1,185 @@ +"""Dopant ionization: fully ionized or discrete donor/acceptor levels (M class). + +A discrete donor level sits ``binding_energy_eV`` below ``E_C`` and a discrete +acceptor level the same distance above ``E_V``; the ionized fractions are +``1 / (1 + g exp(eta + E_b/kT))`` evaluated without overflow, with exact +derivatives with respect to the reduced Fermi level. Bit-identical to the +legacy engine. +""" + +from __future__ import annotations + +from dataclasses import dataclass +import math +from typing import Final, Literal + +from solarlab.physics.statistics._validation import finite_nonnegative, finite_positive + +__all__ = [ + "DISCRETE_LEVEL", "DOPANT_IONIZATION_MODELS", "DopantChargeState", + "DopantIonizationModel", "FULLY_IONIZED", "dopant_charge_state", + "ionized_acceptor_fraction", "ionized_donor_fraction", + "normalize_dopant_ionization_model", +] + +FULLY_IONIZED: Final = "fully_ionized" +DISCRETE_LEVEL: Final = "discrete_level" +DOPANT_IONIZATION_MODELS = (FULLY_IONIZED, DISCRETE_LEVEL) +DopantIonizationModel = Literal["fully_ionized", "discrete_level"] + + +@dataclass(frozen=True, slots=True) +class DopantChargeState: + """Ionized donor/acceptor charge and reduced-level derivatives.""" + + model: DopantIonizationModel + ionized_donor_density_m3: float + ionized_acceptor_density_m3: float + donor_ionized_fraction: float + acceptor_ionized_fraction: float + donor_density_derivative_eta_n_m3: float + acceptor_density_derivative_eta_p_m3: float + + +def normalize_dopant_ionization_model(value: object) -> DopantIonizationModel: + """Return one supported dopant-ionization identifier or fail closed.""" + if not isinstance(value, str): + raise ValueError("dopant ionization model must be a string") + normalized = value.strip().lower() + if normalized not in {FULLY_IONIZED, DISCRETE_LEVEL}: + raise ValueError( + "dopant ionization model must be 'fully_ionized' or " + "'discrete_level'" + ) + return normalized # type: ignore[return-value] + + +def _inverse_one_plus_exp(log_term: float) -> float: + """Return ``1 / (1 + exp(log_term))`` without overflow.""" + if math.isnan(log_term): + raise ValueError("dopant occupation exponent must not be NaN") + if log_term >= 0.0: + tail = math.exp(-log_term) + return tail / (1.0 + tail) + return 1.0 / (1.0 + math.exp(log_term)) + + +def ionized_donor_fraction( + reduced_electron_fermi_level: float, + *, + binding_energy_eV: float, + thermal_voltage_V: float, + degeneracy: float = 2.0, +) -> float: + """Return ``N_D+ / N_D`` for a discrete donor level below ``E_C``.""" + binding = finite_nonnegative(binding_energy_eV, "binding_energy_eV") + thermal = finite_positive(thermal_voltage_V, "thermal_voltage_V") + factor = finite_positive(degeneracy, "degeneracy") + eta_n = float(reduced_electron_fermi_level) + if math.isnan(eta_n): + raise ValueError("reduced_electron_fermi_level must not be NaN") + return _inverse_one_plus_exp( + math.log(factor) + eta_n + binding / thermal + ) + + +def ionized_acceptor_fraction( + reduced_hole_fermi_level: float, + *, + binding_energy_eV: float, + thermal_voltage_V: float, + degeneracy: float = 4.0, +) -> float: + """Return ``N_A- / N_A`` for a discrete acceptor level above ``E_V``.""" + binding = finite_nonnegative(binding_energy_eV, "binding_energy_eV") + thermal = finite_positive(thermal_voltage_V, "thermal_voltage_V") + factor = finite_positive(degeneracy, "degeneracy") + eta_p = float(reduced_hole_fermi_level) + if math.isnan(eta_p): + raise ValueError("reduced_hole_fermi_level must not be NaN") + return _inverse_one_plus_exp( + math.log(factor) + eta_p + binding / thermal + ) + + +def dopant_charge_state( + *, + reduced_electron_fermi_level: float, + reduced_hole_fermi_level: float, + donor_density_m3: float, + acceptor_density_m3: float, + thermal_voltage_V: float, + model: DopantIonizationModel | str = FULLY_IONIZED, + donor_binding_energy_eV: float | None = None, + acceptor_binding_energy_eV: float | None = None, + donor_degeneracy: float = 2.0, + acceptor_degeneracy: float = 4.0, +) -> DopantChargeState: + """Evaluate fixed or discrete-level dopant charge and exact derivatives.""" + donors = finite_nonnegative(donor_density_m3, "donor_density_m3") + acceptors = finite_nonnegative(acceptor_density_m3, "acceptor_density_m3") + ionization = normalize_dopant_ionization_model(model) + if ionization == FULLY_IONIZED: + if ( + donor_binding_energy_eV is not None + or acceptor_binding_energy_eV is not None + ): + raise ValueError( + "binding energies require dopant ionization model 'discrete_level'" + ) + return DopantChargeState( + model=ionization, + ionized_donor_density_m3=donors, + ionized_acceptor_density_m3=acceptors, + donor_ionized_fraction=1.0, + acceptor_ionized_fraction=1.0, + donor_density_derivative_eta_n_m3=0.0, + acceptor_density_derivative_eta_p_m3=0.0, + ) + + donor_factor = finite_positive(donor_degeneracy, "donor_degeneracy") + acceptor_factor = finite_positive( + acceptor_degeneracy, + "acceptor_degeneracy", + ) + if donors > 0.0 and donor_binding_energy_eV is None: + raise ValueError("active discrete donors require donor_binding_energy_eV") + if acceptors > 0.0 and acceptor_binding_energy_eV is None: + raise ValueError( + "active discrete acceptors require acceptor_binding_energy_eV" + ) + donor_binding = finite_nonnegative( + 0.0 if donor_binding_energy_eV is None else donor_binding_energy_eV, + "donor_binding_energy_eV", + ) + acceptor_binding = finite_nonnegative( + 0.0 if acceptor_binding_energy_eV is None else acceptor_binding_energy_eV, + "acceptor_binding_energy_eV", + ) + donor_fraction = ionized_donor_fraction( + reduced_electron_fermi_level, + binding_energy_eV=donor_binding, + thermal_voltage_V=thermal_voltage_V, + degeneracy=donor_factor, + ) + acceptor_fraction = ionized_acceptor_fraction( + reduced_hole_fermi_level, + binding_energy_eV=acceptor_binding, + thermal_voltage_V=thermal_voltage_V, + degeneracy=acceptor_factor, + ) + ionized_donors = donors * donor_fraction + ionized_acceptors = acceptors * acceptor_fraction + return DopantChargeState( + model=ionization, + ionized_donor_density_m3=ionized_donors, + ionized_acceptor_density_m3=ionized_acceptors, + donor_ionized_fraction=donor_fraction, + acceptor_ionized_fraction=acceptor_fraction, + donor_density_derivative_eta_n_m3=( + -ionized_donors * (1.0 - donor_fraction) + ), + acceptor_density_derivative_eta_p_m3=( + -ionized_acceptors * (1.0 - acceptor_fraction) + ), + ) diff --git a/src/solarlab/physics/statistics/fermi_dirac.py b/src/solarlab/physics/statistics/fermi_dirac.py new file mode 100644 index 00000000..93d08d61 --- /dev/null +++ b/src/solarlab/physics/statistics/fermi_dirac.py @@ -0,0 +1,166 @@ +"""Normalized complete Fermi-Dirac integral of order 1/2 (M class). + +``F_1/2`` is normalized so that ``F_1/2(eta) -> exp(eta)`` in the +non-degenerate limit and the carrier density is ``N * F_1/2(eta)``. Inside +``[-40, 20]`` the value is the exponential of a piecewise-linear interpolation +of ``log F_1/2`` tabulated every ``5e-3`` with 256-point Gauss-Legendre +quadrature; below the table it is ``exp(eta)`` and above it the two-term +Sommerfeld expansion. The table, its log-derivative and the inverse are those +of the legacy engine, bit for bit. ``F_1`` and ``F_0`` (thermionic supply) +belong to the interface-transport slice and are not migrated here. +""" + +from __future__ import annotations + +from functools import lru_cache +import math + +import numpy as np +from numpy.typing import NDArray +from scipy.special import expit + +__all__ = [ + "FERMI_DIRAC_HALF_TABLE_ETA_MAX", "FERMI_DIRAC_HALF_TABLE_ETA_MIN", + "FERMI_DIRAC_HALF_TABLE_STEP", "fermi_dirac_half", "fermi_dirac_half_log_derivative", + "fermi_dirac_half_table", "inverse_fermi_dirac_half", +] + +FERMI_DIRAC_HALF_TABLE_ETA_MIN = -40.0 +FERMI_DIRAC_HALF_TABLE_ETA_MAX = 20.0 +FERMI_DIRAC_HALF_TABLE_STEP = 5.0e-3 +_ETA_MIN = FERMI_DIRAC_HALF_TABLE_ETA_MIN +_ETA_MAX = FERMI_DIRAC_HALF_TABLE_ETA_MAX +_ETA_STEP = FERMI_DIRAC_HALF_TABLE_STEP + + +def _half_sommerfeld(eta: float) -> float: + root = math.sqrt(eta) + return ( + 4.0 * eta * root / (3.0 * math.sqrt(math.pi)) + + math.pi**2 / (6.0 * math.sqrt(math.pi) * root) + ) + + +def _half_sommerfeld_derivative(eta: float) -> float: + root = math.sqrt(eta) + return ( + 2.0 * root / math.sqrt(math.pi) + - math.pi**2 + / (12.0 * math.sqrt(math.pi) * eta * root) + ) + + +@lru_cache(maxsize=1) +def _half_table() -> tuple[NDArray[np.float64], NDArray[np.float64], NDArray[np.float64]]: + """Tabulate normalized F_1/2 with deterministic Gaussian quadrature.""" + eta = np.linspace( + _ETA_MIN, + _ETA_MAX, + int(round((_ETA_MAX - _ETA_MIN) / _ETA_STEP)) + 1, + ) + nodes, weights = np.polynomial.legendre.leggauss(256) + transformed = 0.5 * (nodes + 1.0) + weights = 0.5 * weights + energy = transformed / (1.0 - transformed) + jacobian = 1.0 / (1.0 - transformed) ** 2 + kernel = weights * np.sqrt(energy) * jacobian + values = np.empty_like(eta) + for start in range(0, len(eta), 256): + stop = min(start + 256, len(eta)) + occupation = expit(eta[start:stop, None] - energy[None, :]) + values[start:stop] = ( + 2.0 / math.sqrt(math.pi) * (occupation @ kernel) + ) + log_values = np.log(values) + for array in (eta, values, log_values): + array.setflags(write=False) + return eta, values, log_values + + +def fermi_dirac_half_table() -> tuple[ + NDArray[np.float64], NDArray[np.float64], NDArray[np.float64] +]: + """Read-only ``(eta, F_1/2, log F_1/2)`` table behind the interpolation.""" + eta, values, log_values = _half_table() + return eta.view(), values.view(), log_values.view() + + +def fermi_dirac_half(eta: float) -> float: + """Return normalized complete ``F_1/2(eta)``.""" + value = float(eta) + if math.isnan(value): + return math.nan + if value == -math.inf: + return 0.0 + if value == math.inf: + return math.inf + if value <= _ETA_MIN: + return math.exp(value) + if value >= _ETA_MAX: + return _half_sommerfeld(value) + eta_grid, _table, log_table = _half_table() + return float( + math.exp(np.interp(value, eta_grid, log_table)) + ) + + +def fermi_dirac_half_log_derivative(eta: float) -> float: + """Return ``d log F_1/2 / d eta`` of the implemented approximation. + + Inside the table this differentiates the piecewise-linear interpolation of + ``log F_1/2``; a value on a table node uses the centred difference. The + inverse-map derivative is therefore consistent with the constitutive law + to machine precision. + """ + value = float(eta) + if math.isnan(value): + return math.nan + if value == -math.inf: + return 1.0 + if value == math.inf: + return 0.0 + if value <= _ETA_MIN: + return 1.0 + if value >= _ETA_MAX: + integral = _half_sommerfeld(value) + return _half_sommerfeld_derivative(value) / integral + eta_grid, _table, log_table = _half_table() + position = (value - _ETA_MIN) / _ETA_STEP + nearest = int(round(position)) + if ( + 0 < nearest < len(eta_grid) - 1 + and abs(position - nearest) <= 1.0e-10 + ): + return float( + (log_table[nearest + 1] - log_table[nearest - 1]) + / (eta_grid[nearest + 1] - eta_grid[nearest - 1]) + ) + interval = min(int(position), len(eta_grid) - 2) + return float( + (log_table[interval + 1] - log_table[interval]) + / (eta_grid[interval + 1] - eta_grid[interval]) + ) + + +def inverse_fermi_dirac_half(state_to_dos: float) -> float: + """Return ``eta`` satisfying ``F_1/2(eta) = state_to_dos``.""" + ratio = float(state_to_dos) + if math.isnan(ratio) or ratio < 0.0: + raise ValueError("state_to_dos must be non-negative") + if ratio == 0.0: + return -math.inf + if ratio == math.inf: + return math.inf + log_ratio = math.log(ratio) + eta_grid, _table, log_table = _half_table() + if log_ratio <= log_table[0]: + return log_ratio + if log_ratio <= log_table[-1]: + return float(np.interp(log_ratio, log_table, eta_grid)) + + coefficient = 4.0 / (3.0 * math.sqrt(math.pi)) + eta = max(_ETA_MAX, math.exp(2.0 / 3.0 * (log_ratio - math.log(coefficient)))) + for _ in range(6): + residual = _half_sommerfeld(eta) - ratio + eta = max(_ETA_MAX, eta - residual / _half_sommerfeld_derivative(eta)) + return eta diff --git a/src/solarlab/physics/statistics/neutrality.py b/src/solarlab/physics/statistics/neutrality.py new file mode 100644 index 00000000..4e21e289 --- /dev/null +++ b/src/solarlab/physics/statistics/neutrality.py @@ -0,0 +1,373 @@ +"""Bulk charge neutrality and the doping mass-action closure (M class). + +``solve_charge_neutrality`` finds the common Fermi level of +``p - n + N_D+ - N_A- = 0`` by bracketing around the intrinsic level and +bisecting on ``eta_n``, with a fixed ``1e-12`` relative residual gate; both +dopant closures share one bracket and bisection sequence and one carrier +statistics definition. ``mass_action_carrier_densities`` is the two-branch +Maxwell-Boltzmann closed form behind the historical contact reservoirs. All +results are bit-identical to the legacy engine. +""" + +from __future__ import annotations + +from collections.abc import Callable +from dataclasses import dataclass +import math + +import numpy as np + +from solarlab.physics.statistics._validation import finite_nonnegative, finite_positive +from solarlab.physics.statistics.carriers import ( + CarrierStatistics, MAXWELL_BOLTZMANN, carrier_density_from_reduced_fermi_level, + normalize_carrier_statistics, +) +from solarlab.physics.statistics.dopants import ( + DISCRETE_LEVEL, FULLY_IONIZED, DopantChargeState, DopantIonizationModel, + dopant_charge_state, normalize_dopant_ionization_model, +) +from solarlab.physics.statistics.thermal import thermal_voltage + +__all__ = [ + "BulkChargeNeutralityState", "CHARGE_NEUTRALITY_RELATIVE_TOLERANCE", + "mass_action_carrier_densities", "solve_charge_neutrality", + "solve_discrete_level_charge_neutrality", "solve_fully_ionized_charge_neutrality", +] + +CHARGE_NEUTRALITY_RELATIVE_TOLERANCE = 1.0e-12 + + +@dataclass(frozen=True, slots=True) +class BulkChargeNeutralityState: + """One spatially uniform equilibrium carrier/dopant state.""" + + statistics: CarrierStatistics + temperature_K: float + thermal_voltage_V: float + band_gap_eV: float + effective_conduction_dos_m3: float + effective_valence_dos_m3: float + acceptor_density_m3: float + donor_density_m3: float + reduced_electron_fermi_level: float + reduced_hole_fermi_level: float + electron_density_m3: float + hole_density_m3: float + normalized_charge_residual: float + dopant_ionization_model: DopantIonizationModel + ionized_acceptor_density_m3: float + ionized_donor_density_m3: float + acceptor_ionized_fraction: float + donor_ionized_fraction: float + + @property + def fermi_level_above_conduction_eV(self) -> float: + return self.thermal_voltage_V * self.reduced_electron_fermi_level + + @property + def electron_degeneracy_ratio(self) -> float: + return self.electron_density_m3 / self.effective_conduction_dos_m3 + + @property + def hole_degeneracy_ratio(self) -> float: + return self.hole_density_m3 / self.effective_valence_dos_m3 + + +def mass_action_carrier_densities( + donor_density_m3: float, + acceptor_density_m3: float, + intrinsic_density_m3: float, +) -> tuple[float, float]: + """Two-branch MB equilibrium ``(n, p)`` from net doping and ``n_i``. + + ``net = (N_D - N_A)/2`` and ``disc = sqrt(net^2 + n_i^2)``; the majority + carrier is ``|net| + disc`` and the minority carrier ``n_i^2`` divided by + it, so ``n p = n_i^2`` without cancellation. The arithmetic runs on + binary64 NumPy scalars in the historical order. + """ + donors = np.float64(finite_nonnegative(donor_density_m3, "donor_density_m3")) + acceptors = np.float64(finite_nonnegative(acceptor_density_m3, "acceptor_density_m3")) + intrinsic = np.float64(finite_nonnegative(intrinsic_density_m3, "intrinsic_density_m3")) + if donors == acceptors and intrinsic == 0.0: + raise ValueError("an exactly compensated contact needs a positive intrinsic density") + net = 0.5 * (donors - acceptors) + disc = np.sqrt(net ** 2 + intrinsic ** 2) + if net >= 0: + electrons = net + disc + holes = intrinsic ** 2 / electrons + else: + holes = -net + disc + electrons = intrinsic ** 2 / holes + return float(electrons), float(holes) + + +def _neutral_reduced_electron_level( + residual: Callable[[float], float], + *, + reduced_gap: float, + conduction_dos: float, + valence_dos: float, +) -> float: + """Bracket around the intrinsic level, then bisect on ``eta_n``.""" + intrinsic_center = 0.5 * ( + -reduced_gap + math.log(valence_dos / conduction_dos) + ) + half_width = max(32.0, 0.5 * reduced_gap + 8.0) + lower = intrinsic_center - half_width + upper = intrinsic_center + half_width + lower_residual = residual(lower) + upper_residual = residual(upper) + for _ in range(32): + if lower_residual >= 0.0 and upper_residual <= 0.0: + break + half_width *= 2.0 + lower = intrinsic_center - half_width + upper = intrinsic_center + half_width + lower_residual = residual(lower) + upper_residual = residual(upper) + else: + raise RuntimeError("could not bracket the charge-neutral Fermi level") + + for _ in range(200): + midpoint = 0.5 * (lower + upper) + if residual(midpoint) > 0.0: + lower = midpoint + else: + upper = midpoint + coordinate_tolerance = max(2.0e-14, 4.0 * math.ulp(midpoint)) + if upper - lower <= coordinate_tolerance: + break + return 0.5 * (lower + upper) + + +def _normalized_residual(residual: float, electron: float, hole: float, + donors: float, acceptors: float) -> float: + charge_scale = max(electron, hole, donors, acceptors, 1.0) + normalized = abs(residual) / charge_scale + if not math.isfinite(normalized): + raise FloatingPointError("charge-neutrality residual is non-finite") + if normalized > CHARGE_NEUTRALITY_RELATIVE_TOLERANCE: + raise RuntimeError( + "charge-neutrality solve exceeded the fixed relative residual gate" + ) + return normalized + + +def solve_fully_ionized_charge_neutrality( + *, + temperature_K: float, + band_gap_eV: float, + effective_conduction_dos_m3: float, + effective_valence_dos_m3: float, + acceptor_density_m3: float = 0.0, + donor_density_m3: float = 0.0, + statistics: CarrierStatistics | str = MAXWELL_BOLTZMANN, +) -> BulkChargeNeutralityState: + """Solve ``p - n + N_D - N_A = 0`` for a common Fermi level.""" + temperature = finite_positive(temperature_K, "temperature_K") + band_gap = finite_nonnegative(band_gap_eV, "band_gap_eV") + conduction_dos = finite_positive( + effective_conduction_dos_m3, + "effective_conduction_dos_m3", + ) + valence_dos = finite_positive( + effective_valence_dos_m3, + "effective_valence_dos_m3", + ) + acceptors = finite_nonnegative(acceptor_density_m3, "acceptor_density_m3") + donors = finite_nonnegative(donor_density_m3, "donor_density_m3") + model = normalize_carrier_statistics(statistics) + thermal = thermal_voltage(temperature) + reduced_gap = band_gap / thermal + net_donor_density = donors - acceptors + + def evaluate(eta_n: float) -> tuple[float, float, float, float]: + eta_p = -reduced_gap - eta_n + electron = carrier_density_from_reduced_fermi_level( + eta_n, conduction_dos, statistics=model, + ) + hole = carrier_density_from_reduced_fermi_level( + eta_p, valence_dos, statistics=model, + ) + return hole - electron + net_donor_density, electron, hole, eta_p + + eta_n = _neutral_reduced_electron_level( + lambda value: evaluate(value)[0], + reduced_gap=reduced_gap, + conduction_dos=conduction_dos, + valence_dos=valence_dos, + ) + residual, electron, hole, eta_p = evaluate(eta_n) + if not all( + math.isfinite(value) and value >= 0.0 + for value in (electron, hole) + ): + raise FloatingPointError("charge-neutral carrier densities are non-finite") + normalized_residual = _normalized_residual(residual, electron, hole, donors, acceptors) + return BulkChargeNeutralityState( + statistics=model, + temperature_K=temperature, + thermal_voltage_V=thermal, + band_gap_eV=band_gap, + effective_conduction_dos_m3=conduction_dos, + effective_valence_dos_m3=valence_dos, + acceptor_density_m3=acceptors, + donor_density_m3=donors, + reduced_electron_fermi_level=eta_n, + reduced_hole_fermi_level=eta_p, + electron_density_m3=electron, + hole_density_m3=hole, + normalized_charge_residual=normalized_residual, + dopant_ionization_model=FULLY_IONIZED, + ionized_acceptor_density_m3=acceptors, + ionized_donor_density_m3=donors, + acceptor_ionized_fraction=1.0, + donor_ionized_fraction=1.0, + ) + + +def solve_discrete_level_charge_neutrality( + *, + temperature_K: float, + band_gap_eV: float, + effective_conduction_dos_m3: float, + effective_valence_dos_m3: float, + acceptor_density_m3: float = 0.0, + donor_density_m3: float = 0.0, + acceptor_binding_energy_eV: float | None = None, + donor_binding_energy_eV: float | None = None, + acceptor_degeneracy: float = 4.0, + donor_degeneracy: float = 2.0, + statistics: CarrierStatistics | str = MAXWELL_BOLTZMANN, +) -> BulkChargeNeutralityState: + """Solve equilibrium neutrality with discrete donor/acceptor levels.""" + temperature = finite_positive(temperature_K, "temperature_K") + band_gap = finite_nonnegative(band_gap_eV, "band_gap_eV") + conduction_dos = finite_positive( + effective_conduction_dos_m3, + "effective_conduction_dos_m3", + ) + valence_dos = finite_positive( + effective_valence_dos_m3, + "effective_valence_dos_m3", + ) + acceptors = finite_nonnegative(acceptor_density_m3, "acceptor_density_m3") + donors = finite_nonnegative(donor_density_m3, "donor_density_m3") + carrier_model = normalize_carrier_statistics(statistics) + thermal = thermal_voltage(temperature) + reduced_gap = band_gap / thermal + + def evaluate( + eta_n: float, + ) -> tuple[float, float, float, float, DopantChargeState]: + eta_p = -reduced_gap - eta_n + electron = carrier_density_from_reduced_fermi_level( + eta_n, conduction_dos, statistics=carrier_model, + ) + hole = carrier_density_from_reduced_fermi_level( + eta_p, valence_dos, statistics=carrier_model, + ) + dopants = dopant_charge_state( + reduced_electron_fermi_level=eta_n, + reduced_hole_fermi_level=eta_p, + donor_density_m3=donors, + acceptor_density_m3=acceptors, + thermal_voltage_V=thermal, + model=DISCRETE_LEVEL, + donor_binding_energy_eV=donor_binding_energy_eV, + acceptor_binding_energy_eV=acceptor_binding_energy_eV, + donor_degeneracy=donor_degeneracy, + acceptor_degeneracy=acceptor_degeneracy, + ) + residual = ( + hole + - electron + + dopants.ionized_donor_density_m3 + - dopants.ionized_acceptor_density_m3 + ) + return residual, electron, hole, eta_p, dopants + + eta_n = _neutral_reduced_electron_level( + lambda value: evaluate(value)[0], + reduced_gap=reduced_gap, + conduction_dos=conduction_dos, + valence_dos=valence_dos, + ) + residual, electron, hole, eta_p, dopants = evaluate(eta_n) + if not all( + math.isfinite(value) and value >= 0.0 + for value in ( + electron, + hole, + dopants.ionized_donor_density_m3, + dopants.ionized_acceptor_density_m3, + ) + ): + raise FloatingPointError("charge-neutral densities are non-finite") + normalized_residual = _normalized_residual(residual, electron, hole, donors, acceptors) + return BulkChargeNeutralityState( + statistics=carrier_model, + temperature_K=temperature, + thermal_voltage_V=thermal, + band_gap_eV=band_gap, + effective_conduction_dos_m3=conduction_dos, + effective_valence_dos_m3=valence_dos, + acceptor_density_m3=acceptors, + donor_density_m3=donors, + reduced_electron_fermi_level=eta_n, + reduced_hole_fermi_level=eta_p, + electron_density_m3=electron, + hole_density_m3=hole, + normalized_charge_residual=normalized_residual, + dopant_ionization_model=DISCRETE_LEVEL, + ionized_acceptor_density_m3=dopants.ionized_acceptor_density_m3, + ionized_donor_density_m3=dopants.ionized_donor_density_m3, + acceptor_ionized_fraction=dopants.acceptor_ionized_fraction, + donor_ionized_fraction=dopants.donor_ionized_fraction, + ) + + +def solve_charge_neutrality( + *, + dopant_ionization_model: DopantIonizationModel | str = FULLY_IONIZED, + acceptor_binding_energy_eV: float | None = None, + donor_binding_energy_eV: float | None = None, + acceptor_degeneracy: float = 4.0, + donor_degeneracy: float = 2.0, + temperature_K: float, + band_gap_eV: float, + effective_conduction_dos_m3: float, + effective_valence_dos_m3: float, + acceptor_density_m3: float = 0.0, + donor_density_m3: float = 0.0, + statistics: CarrierStatistics | str = MAXWELL_BOLTZMANN, +) -> BulkChargeNeutralityState: + """Dispatch to the fixed-charge or discrete-level neutrality closure.""" + model = normalize_dopant_ionization_model(dopant_ionization_model) + common = dict( + temperature_K=temperature_K, + band_gap_eV=band_gap_eV, + effective_conduction_dos_m3=effective_conduction_dos_m3, + effective_valence_dos_m3=effective_valence_dos_m3, + acceptor_density_m3=acceptor_density_m3, + donor_density_m3=donor_density_m3, + ) + if model == FULLY_IONIZED: + if ( + acceptor_binding_energy_eV is not None + or donor_binding_energy_eV is not None + or acceptor_degeneracy != 4.0 + or donor_degeneracy != 2.0 + ): + raise ValueError( + "dopant level parameters require 'discrete_level' ionization" + ) + return solve_fully_ionized_charge_neutrality(**common, statistics=statistics) + return solve_discrete_level_charge_neutrality( + **common, + acceptor_binding_energy_eV=acceptor_binding_energy_eV, + donor_binding_energy_eV=donor_binding_energy_eV, + acceptor_degeneracy=acceptor_degeneracy, + donor_degeneracy=donor_degeneracy, + statistics=statistics, + ) diff --git a/src/solarlab/physics/statistics/thermal.py b/src/solarlab/physics/statistics/thermal.py new file mode 100644 index 00000000..761a2754 --- /dev/null +++ b/src/solarlab/physics/statistics/thermal.py @@ -0,0 +1,34 @@ +"""Thermal voltage and the historical 300 K reference (M class). + +``thermal_voltage`` evaluates ``k_B * T / q`` in the legacy order, so every +temperature gives the same binary64 value as the legacy engine. +``REFERENCE_THERMAL_VOLTAGE_V`` is the module constant the legacy engine uses +for its 300 K paths (``perovskite_sim.constants.V_T``), for example the +historical endpoint Fermi-level estimate. +""" + +from __future__ import annotations + +import math + +from solarlab.contracts.units import ELEMENTARY_CHARGE_C + +__all__ = [ + "BOLTZMANN_CONSTANT_J_K", "ELEMENTARY_CHARGE_C", "REFERENCE_TEMPERATURE_K", + "REFERENCE_THERMAL_VOLTAGE_V", "thermal_voltage", +] + +# Exact SI 2019 defining constant; same binary64 value as the legacy engine. +BOLTZMANN_CONSTANT_J_K = 1.380649e-23 +REFERENCE_TEMPERATURE_K = 300.0 +REFERENCE_THERMAL_VOLTAGE_V = ( + BOLTZMANN_CONSTANT_J_K * REFERENCE_TEMPERATURE_K / ELEMENTARY_CHARGE_C +) + + +def thermal_voltage(temperature_K: float) -> float: + """Thermal voltage ``k_B T / q`` [V] for a finite positive temperature.""" + temperature = float(temperature_K) + if not math.isfinite(temperature) or temperature <= 0.0: + raise ValueError("temperature_K must be finite and positive") + return BOLTZMANN_CONSTANT_J_K * temperature / ELEMENTARY_CHARGE_C diff --git a/src/solarlab/physics/transport/__init__.py b/src/solarlab/physics/transport/__init__.py new file mode 100644 index 00000000..6842fb33 --- /dev/null +++ b/src/solarlab/physics/transport/__init__.py @@ -0,0 +1,26 @@ +"""Bulk carrier transport: historical MB/FD face currents and the FD capability gate. + +The namespace exports the M-class (legacy bit-identical) transport. The +unified directed particle flux in stable electrochemical form (N class) is +:mod:`solarlab.physics.transport.electrochemical_flux`. +""" + +from solarlab.physics.transport.drift_diffusion import ( + legacy_carrier_face_currents, legacy_face_diffusivity, +) +from solarlab.physics.transport.generalized import ( + BLAKEMORE, RECOMBINATION_OFF, GeneralizedCarrierFaceStatistics, + TransportCapabilityError, TransportCapabilityRequest, + generalized_carrier_face_statistics, legacy_fermi_dirac_face_currents, + legacy_generalized_sg_current_n, legacy_generalized_sg_current_p, + require_carrier_transport, +) + +__all__ = [ + "BLAKEMORE", "GeneralizedCarrierFaceStatistics", "RECOMBINATION_OFF", + "TransportCapabilityError", "TransportCapabilityRequest", + "generalized_carrier_face_statistics", "legacy_carrier_face_currents", + "legacy_face_diffusivity", "legacy_fermi_dirac_face_currents", + "legacy_generalized_sg_current_n", "legacy_generalized_sg_current_p", + "require_carrier_transport", +] diff --git a/src/solarlab/physics/transport/drift_diffusion.py b/src/solarlab/physics/transport/drift_diffusion.py new file mode 100644 index 00000000..b033ff54 --- /dev/null +++ b/src/solarlab/physics/transport/drift_diffusion.py @@ -0,0 +1,49 @@ +"""Historical Maxwell-Boltzmann drift-diffusion face quantities (M class). + +The electron and hole currents are the historical Scharfetter-Gummel currents +(A/m^2, historical direction convention) driven by the DOS-folded transport +potentials ``phi + chi_t`` and ``phi + chi_t + Eg_t`` of a +:class:`~solarlab.physics.statistics.BandStructure`. They exclude the +thermionic-emission cap and exclusive interface faces, which belong to the +interface-transport slice. The unified directed particle flux and its stable +electrochemical evaluation are in +:mod:`solarlab.physics.transport.electrochemical_flux` (N class). +""" + +from __future__ import annotations + +import numpy as np +from numpy.typing import ArrayLike, NDArray + +from solarlab.discretization.face_average import harmonic_face_mean +from solarlab.discretization.scharfetter_gummel import legacy_sg_current_n, legacy_sg_current_p +from solarlab.physics.statistics.band_potentials import BandStructure + +__all__ = ["legacy_carrier_face_currents", "legacy_face_diffusivity"] + + +def legacy_face_diffusivity(node_diffusivity: ArrayLike) -> NDArray[np.float64]: + """Historical carrier face diffusivity ``2 D_i D_{i+1} / (D_i + D_{i+1})``. + + Kept exactly, including the 0/0 = NaN face between two zero-diffusivity + nodes (LD-03); a guarded mean would be a separate, declared change. + """ + return harmonic_face_mean(node_diffusivity) + + +def legacy_carrier_face_currents( + x: ArrayLike, + phi: ArrayLike, + n: ArrayLike, + p: ArrayLike, + D_n_face: ArrayLike, + D_p_face: ArrayLike, + thermal_voltage_V: float, + bands: BandStructure, +) -> tuple[NDArray[np.float64], NDArray[np.float64]]: + """Historical MB face currents ``(J_n, J_p)`` [A/m^2] on the N-1 faces.""" + spacing = np.diff(np.asarray(x, dtype=float)) + electron_potential, hole_potential = bands.transport_potentials(phi) + J_n = legacy_sg_current_n(electron_potential, n, spacing, D_n_face, thermal_voltage_V) + J_p = legacy_sg_current_p(hole_potential, p, spacing, D_p_face, thermal_voltage_V) + return J_n, J_p diff --git a/src/solarlab/physics/transport/electrochemical_flux.py b/src/solarlab/physics/transport/electrochemical_flux.py new file mode 100644 index 00000000..69f34a97 --- /dev/null +++ b/src/solarlab/physics/transport/electrochemical_flux.py @@ -0,0 +1,264 @@ +"""Unified directed carrier particle flux in stable electrochemical form (N class). + +The Scharfetter-Gummel particle flux on a face oriented from node L to node R is + + F = k (B(D) c_L - B(-D) c_R), k = D_face / h [m/s], + +with ``D`` the dimensionless potential-energy rise of the carrier: electrons +``D_n = -(psi_n,R - psi_n,L)/V_T`` with ``psi_n = phi + chi_t`` and holes +``D_p = +(psi_p,R - psi_p,L)/V_T`` with ``psi_p = phi + chi_t + Eg_t``. The +transport potentials carry the DOS terms +(:class:`~solarlab.physics.statistics.BandStructure`), so ``m = ln(c_R/c_L) + D`` +is the reduced electrochemical-potential step: ``m_n = dE_Fn/kT`` and +``m_p = -dE_Fp/kT``. With ``B(-D) = B(D) e^D`` the flux is exactly + + F = k B(-D) c_R expm1(-m) (m >= 0, carriers come from R) + F = -k B(D) c_L expm1(m) (m < 0, carriers come from L), + +a product of the upwind density, one Bernoulli value and an exponential factor +bounded by one. It is therefore exactly zero at ``m = 0`` and +keeps its relative accuracy for weak drives instead of differencing two nearly +equal terms. Extreme energy steps combine the logarithms of all factors before +exponentiation, avoiding premature underflow of an otherwise representable +flux or derivative. ``m`` may come from a state representation (for example +``StateView.electrochemical_difference``, which it equals for binary64 fields); +without one it is formed from the densities with ``log1p`` near equal states. +Derivatives are those of ``F(c_L, c_R, D, k)`` from +:func:`~solarlab.discretization.stable_bernoulli.bernoulli_pair`. + +Accuracy: the evaluation adds only a few roundings to whatever error ``m`` +carries. When ``m`` is rebuilt from binary64 densities it carries about +``eps (|ln c_L| + |ln c_R| + |D|)``, so the absolute flux error is that times +``k (B(D) c_L + B(-D) c_R)`` -- slightly larger than the two-term form's +``eps`` times the same scale. The form gains relative accuracy where it +matters, near equilibrium, only when ``m`` is supplied by a representation that +holds the electrochemical step precisely (for example quasi-Fermi variables). + +Output channels keep their own signs: ``J_n = -q F_n`` and ``J_p = +q F_p`` +(A/m^2, along +x) adapt the flux to the historical current directions. +""" + +from __future__ import annotations + +from dataclasses import dataclass + +import numpy as np +from numpy.typing import ArrayLike, NDArray + +from solarlab.contracts.units import ELEMENTARY_CHARGE_C +from solarlab.discretization.particle_flux import ParticleFlux +from solarlab.discretization.stable_bernoulli import bernoulli_pair +from solarlab.physics.statistics.band_potentials import BandStructure + +__all__ = [ + "CarrierFaceFlux", "CarrierFaceFluxes", "carrier_particle_fluxes", + "electrochemical_step_from_densities", "electron_current_from_particle_flux", + "hole_current_from_particle_flux", "stable_sg_particle_flux", +] + +Q = ELEMENTARY_CHARGE_C + + +def _extreme_bernoulli_product( + argument: NDArray[np.float64], density: NDArray[np.float64], + factor: NDArray[np.float64], *, extra_factor: NDArray[np.float64] | None = None, + derivative: bool = False, +) -> NDArray[np.float64]: + """B(argument)*density*factor for |argument| > 500, without losing B first. + + All multiplicative factors are nonnegative; the derivative of B is negative. + True values outside binary64 still under/overflow, as they should. + """ + a = np.abs(argument) + decay = np.exp(-a) + if derivative: + log_small = -a + np.log(a - 1.0 + decay) - 2.0 * np.log1p(-decay) + log_b = np.where(argument > 0.0, log_small, 0.0) + else: + log_b = np.log(a) - np.log1p(-decay) - np.where(argument > 0.0, a, 0.0) + with np.errstate(divide="ignore", over="ignore", under="ignore"): + log_product = log_b + np.log(density) + np.log(factor) + if extra_factor is not None: + log_product = log_product + np.log(extra_factor) + product = np.exp(log_product) + return -product if derivative else product + + +def electrochemical_step_from_densities(c_left: ArrayLike, c_right: ArrayLike, + energy_step: ArrayLike) -> NDArray[np.float64]: + """``ln(c_R/c_L) + D`` with ``log1p`` for nearly equal densities.""" + left = np.asarray(c_left, dtype=float) + right = np.asarray(c_right, dtype=float) + if np.any(left <= 0.0) or np.any(right <= 0.0): + raise ValueError("the electrochemical form requires positive densities") + with np.errstate(over="ignore"): + relative = (right - left) / left + close = np.abs(relative) < 0.5 + log_ratio = np.where(close, np.log1p(np.where(close, relative, 0.0)), + np.log(right) - np.log(left)) + result: NDArray[np.float64] = log_ratio + np.asarray(energy_step, dtype=float) + return result + + +def stable_sg_particle_flux( + c_left: ArrayLike, + c_right: ArrayLike, + energy_step: ArrayLike, + coefficient: ArrayLike, + *, + electrochemical_step: ArrayLike | None = None, +) -> ParticleFlux: + """SG particle flux in upwind electrochemical form with analytic derivatives.""" + left = np.asarray(c_left, dtype=float) + right = np.asarray(c_right, dtype=float) + step = np.asarray(energy_step, dtype=float) + k = np.asarray(coefficient, dtype=float) + shape = np.broadcast_shapes(left.shape, right.shape, step.shape, k.shape) + if (left.shape != shape or right.shape != shape or step.shape != shape + or k.shape not in {(), shape}): + raise ValueError("SG densities and energy steps must share one face shape") + if not (np.all(np.isfinite(left)) and np.all(np.isfinite(right)) + and np.all(np.isfinite(step)) and np.all(np.isfinite(k))): + raise ValueError("SG inputs must be finite") + if np.any(k < 0.0): + raise ValueError("SG transfer coefficient must be non-negative") + if electrochemical_step is None: + drive = electrochemical_step_from_densities(left, right, step) + else: + drive = np.asarray(electrochemical_step, dtype=float) + if drive.shape != shape or not np.all(np.isfinite(drive)): + raise ValueError("electrochemical steps must be finite on every face") + if np.any(left <= 0.0) or np.any(right <= 0.0): + raise ValueError("the electrochemical form requires positive densities") + pair = bernoulli_pair(step) + decay = np.expm1(-np.abs(drive)) # expm1(-m) for m >= 0, expm1(m) for m < 0 + k_faces = np.broadcast_to(k, shape) + with np.errstate(over="ignore", invalid="ignore", under="ignore"): + upwind = np.where(drive >= 0.0, pair.backward * right, -(pair.forward * left)) + unscaled = np.array(decay * upwind + 0.0) # normalize the equilibrium -0.0 + flux = np.array(k_faces * unscaled + 0.0) + d_left = np.array(k_faces * pair.forward) + d_right = np.array(-k_faces * pair.backward) + d_step = np.array(k_faces * (pair.forward_derivative * left + pair.backward_derivative * right)) + extreme = np.abs(step) > 500.0 + if np.any(extreme): + selected_step = np.where(drive >= 0.0, -step, step)[extreme] + selected_density = np.where(drive >= 0.0, right, left)[extreme] + sign = np.where(drive >= 0.0, -1.0, 1.0)[extreme] + magnitude = -decay[extreme] + unscaled[extreme] = sign * _extreme_bernoulli_product(selected_step, selected_density, magnitude) + # Keep k separate from the decay so their product cannot underflow first. + flux[extreme] = sign * _extreme_bernoulli_product( + selected_step, selected_density, k_faces[extreme], extra_factor=magnitude) + d_left[extreme] = _extreme_bernoulli_product(step[extreme], np.ones_like(selected_density), k_faces[extreme]) + d_right[extreme] = -_extreme_bernoulli_product(-step[extreme], np.ones_like(selected_density), k_faces[extreme]) + d_step[extreme] = ( + _extreme_bernoulli_product(step[extreme], left[extreme], k_faces[extreme], derivative=True) + + _extreme_bernoulli_product(-step[extreme], right[extreme], k_faces[extreme], derivative=True) + ) + flux = np.where((drive == 0.0) | (k_faces == 0.0), 0.0, flux) + unscaled = np.where(drive == 0.0, 0.0, unscaled) + return ParticleFlux( + flux=flux + 0.0, + left_density_derivative=d_left, + right_density_derivative=d_right, + energy_step_derivative=d_step, + coefficient_derivative=unscaled, + ) + + +@dataclass(frozen=True) +class CarrierFaceFlux: + """One carrier's directed particle flux [m^-2 s^-1] and local derivatives.""" + + flux: NDArray[np.float64] + left_density_derivative: NDArray[np.float64] + right_density_derivative: NDArray[np.float64] + left_potential_derivative: NDArray[np.float64] + right_potential_derivative: NDArray[np.float64] + energy_step: NDArray[np.float64] + coefficient: NDArray[np.float64] + + +@dataclass(frozen=True) +class CarrierFaceFluxes: + """Electron and hole particle fluxes on the same oriented faces.""" + + electron: CarrierFaceFlux + hole: CarrierFaceFlux + + def electron_current(self) -> NDArray[np.float64]: + return electron_current_from_particle_flux(self.electron.flux) + + def hole_current(self) -> NDArray[np.float64]: + return hole_current_from_particle_flux(self.hole.flux) + + +def electron_current_from_particle_flux(flux: ArrayLike) -> NDArray[np.float64]: + """Electron current density ``J_n = -q F_n`` [A/m^2] (charge -q).""" + result: NDArray[np.float64] = -Q * np.asarray(flux, dtype=float) + return result + + +def hole_current_from_particle_flux(flux: ArrayLike) -> NDArray[np.float64]: + """Hole current density ``J_p = +q F_p`` [A/m^2] (charge +q).""" + result: NDArray[np.float64] = Q * np.asarray(flux, dtype=float) + return result + + +def _carrier_flux(density: NDArray[np.float64], potential: NDArray[np.float64], + coefficient: NDArray[np.float64], thermal_voltage_V: float, + energy_sign: float, electrochemical_step: ArrayLike | None) -> CarrierFaceFlux: + step = energy_sign * (potential[1:] - potential[:-1]) / thermal_voltage_V + result = stable_sg_particle_flux(density[:-1], density[1:], step, coefficient, + electrochemical_step=electrochemical_step) + # D = s (psi_R - psi_L)/V_T, so dF/dpsi_R = s/V_T dF/dD and dF/dpsi_L = -s/V_T dF/dD. + per_volt = energy_sign / thermal_voltage_V * result.energy_step_derivative + return CarrierFaceFlux( + flux=result.flux, + left_density_derivative=result.left_density_derivative, + right_density_derivative=result.right_density_derivative, + left_potential_derivative=-per_volt, + right_potential_derivative=per_volt, + energy_step=step, + coefficient=np.broadcast_to(coefficient, step.shape).copy(), + ) + + +def carrier_particle_fluxes( + x: ArrayLike, + phi: ArrayLike, + n: ArrayLike, + p: ArrayLike, + D_n_face: ArrayLike, + D_p_face: ArrayLike, + thermal_voltage_V: float, + bands: BandStructure, + *, + electron_electrochemical_step: ArrayLike | None = None, + hole_electrochemical_step: ArrayLike | None = None, +) -> CarrierFaceFluxes: + """Electron and hole particle fluxes along +x on the N-1 grid faces. + + Potential derivatives are with respect to each carrier's transport + potential, which equal those with respect to ``phi`` because the band + terms are fixed. + """ + grid = np.asarray(x, dtype=float) + spacing = np.diff(grid) + electrons = np.asarray(n, dtype=float) + holes = np.asarray(p, dtype=float) + thermal = float(thermal_voltage_V) + if (grid.ndim != 1 or grid.size < 2 or electrons.shape != grid.shape + or holes.shape != grid.shape or np.any(spacing <= 0.0) + or not np.isfinite(thermal) or thermal <= 0.0): + raise ValueError("flux inputs must share a strictly increasing node grid") + electron_potential, hole_potential = bands.transport_potentials(phi) + k_n = np.asarray(D_n_face, dtype=float) / spacing + k_p = np.asarray(D_p_face, dtype=float) / spacing + return CarrierFaceFluxes( + electron=_carrier_flux(electrons, electron_potential, k_n, thermal, -1.0, + electron_electrochemical_step), + hole=_carrier_flux(holes, hole_potential, k_p, thermal, 1.0, + hole_electrochemical_step), + ) diff --git a/src/solarlab/physics/transport/field_mobility.py b/src/solarlab/physics/transport/field_mobility.py new file mode 100644 index 00000000..2ea70a9f --- /dev/null +++ b/src/solarlab/physics/transport/field_mobility.py @@ -0,0 +1,325 @@ +"""Field-dependent carrier mobility on transport faces (M class). + +Two empirical laws compose multiplicatively, in a FIXED order -- Poole-Frenkel +first, Caughey-Thomas second: + + mu(E) = CT( PF(mu_0, |E|), |E| ) + PF(mu_0, |E|) = mu_0 exp(gamma sqrt|E|) (argument clipped to [-80, 80]) + CT(mu, |E|) = mu / (1 + (mu |E| / v_sat)^beta)^(1/beta) + +so PF raises the low-field mobility and CT then caps the enhanced mobility as +the drift velocity saturates. ``v_sat = 0`` or ``beta <= 0`` disables CT and +``gamma = 0`` disables PF at that face; zero field is the exact identity +``mu(0) = mu_0``. The laws depend on ``|E|`` only. + +The mobility is a function of the state (the face field), so it is evaluated +on every call and is never stored in a parameter binding; only the +state-free face parameters are bound (:class:`FieldMobilityFaceParameters`). +Einstein's relation is applied around it exactly as historically: +``D_eff = mu(E) V_T`` with ``mu_0 = D_face / V_T``. + +An optional compact regularization width replaces ``sqrt|E|`` in PF near +zero field by a C2 even polynomial (research width ladders only); zero width +is the historical expression. + +All arithmetic is the historical one (``perovskite_sim.physics.field_mobility``, +``physics.regularization.compact_sqrt_abs`` and the RHS face recompute in +``solver/mol.assemble_rhs``). One-sided directional derivatives at the +non-smooth points and the field-measure capability labels are in +``field_mobility_tangents`` (N class). +""" + +from __future__ import annotations + +from dataclasses import dataclass + +import numpy as np +from numpy.typing import ArrayLike + +from solarlab.discretization.face_average import arithmetic_face_mean + +__all__ = [ + "COMPOSITION_ORDER", + "FieldMobilityFaceParameters", + "FieldMobilityLinearization", + "apply_field_mobility", + "caughey_thomas", + "compact_sqrt_abs", + "face_electric_field", + "field_dependent_face_diffusivity", + "linearize_field_mobility", + "poole_frenkel", +] + +#: The composition order is part of the model; it is not configurable. +COMPOSITION_ORDER = ("poole_frenkel", "caughey_thomas") + + +def _finite_nonnegative(name: str, value: float) -> float: + if isinstance(value, (bool, np.bool_)): + raise ValueError(f"{name} must be finite and non-negative") + value = float(value) + if not np.isfinite(value) or value < 0.0: + raise ValueError(f"{name} must be finite and non-negative") + return 0.0 if value == 0.0 else value + + +def compact_sqrt_abs(value: np.ndarray | float, width: float = 0.0) -> np.ndarray: + """C2 regularization of ``sqrt(abs(value))`` inside ``|value| < width``. + + Outside the transition region the exact NumPy expression is returned; a + zero width is the exact expression everywhere. + """ + + width = _finite_nonnegative("width", width) + values = np.asarray(value, dtype=float) + magnitude = np.abs(values) + exact = np.sqrt(magnitude) + if width == 0.0: + return exact + inside = magnitude < width + if not np.any(inside): + return exact + z = magnitude[inside] / width + polynomial = (77.0 * z**2 - 66.0 * z**4 + 21.0 * z**6) / 32.0 + result = np.array(exact, copy=True) + result[inside] = np.sqrt(width) * polynomial + return result + + +@dataclass(frozen=True, slots=True) +class FieldMobilityLinearization: + """Mobility and its signed-electric-field derivative on each face. + + ``differentiable`` is False at the zero-field PF cusp (zero width), the + zero-field CT cusp for ``beta <= 1`` and the exact exp-clip surfaces; + the derivative stored there is a finite placeholder, not a tangent. + """ + + mobility_m2_V_s: np.ndarray + field_derivative_m3_V2_s: np.ndarray + differentiable: np.ndarray + + +def caughey_thomas(mu0: np.ndarray, E_abs: np.ndarray, v_sat: np.ndarray, beta: np.ndarray) -> np.ndarray: + """Caughey-Thomas velocity-saturation mobility (CT disabled where degenerate).""" + + mu0 = np.asarray(mu0, dtype=float) + E_abs = np.abs(np.asarray(E_abs, dtype=float)) + v_sat = np.asarray(v_sat, dtype=float) + beta = np.asarray(beta, dtype=float) + active = (v_sat > 0.0) & (beta > 0.0) + with np.errstate(divide="ignore", invalid="ignore", over="ignore"): + ratio = np.where(active, mu0 * E_abs / np.where(v_sat > 0.0, v_sat, 1.0), 0.0) + denom = np.where( + active, + (1.0 + ratio ** np.where(active, beta, 1.0)) ** (1.0 / np.where(active, beta, 1.0)), + 1.0, + ) + return mu0 / denom + + +def poole_frenkel( + mu0: np.ndarray, + E_abs: np.ndarray, + gamma_pf: np.ndarray, + *, + field_regularization_width_V_m: float = 0.0, +) -> np.ndarray: + """Poole-Frenkel enhanced mobility ``mu_0 exp(clip(gamma sqrt|E|, -80, 80))``.""" + + mu0 = np.asarray(mu0, dtype=float) + E_abs = np.abs(np.asarray(E_abs, dtype=float)) + gamma_pf = np.asarray(gamma_pf, dtype=float) + arg = gamma_pf * compact_sqrt_abs(E_abs, field_regularization_width_V_m) + arg = np.clip(arg, -80.0, 80.0) + return mu0 * np.exp(arg) + + +def apply_field_mobility( + mu0: np.ndarray, + E_abs: np.ndarray, + v_sat: np.ndarray, + beta: np.ndarray, + gamma_pf: np.ndarray, + *, + pf_field_regularization_width_V_m: float = 0.0, +) -> np.ndarray: + """``CT(PF(mu_0, |E|), |E|)`` -- the only composition order.""" + + mu_pf = poole_frenkel( + mu0, E_abs, gamma_pf, field_regularization_width_V_m=pf_field_regularization_width_V_m + ) + return caughey_thomas(mu_pf, E_abs, v_sat, beta) + + +def linearize_field_mobility( + mu0: np.ndarray, + E: np.ndarray, + v_sat: np.ndarray, + beta: np.ndarray, + gamma_pf: np.ndarray, + *, + pf_field_regularization_width_V_m: float = 0.0, +) -> FieldMobilityLinearization: + """The composition and its derivative with respect to the SIGNED field.""" + + try: + mobility0, field, saturation_velocity, exponent, gamma = np.broadcast_arrays( + np.asarray(mu0, dtype=float), + np.asarray(E, dtype=float), + np.asarray(v_sat, dtype=float), + np.asarray(beta, dtype=float), + np.asarray(gamma_pf, dtype=float), + ) + except ValueError as exc: + raise ValueError("field-mobility inputs must be broadcast compatible") from exc + inputs = (mobility0, field, saturation_velocity, exponent, gamma) + if any(not np.all(np.isfinite(value)) for value in inputs) or np.any(mobility0 < 0.0): + raise ValueError( + "field-mobility linearization requires finite inputs and non-negative low-field mobility" + ) + + root_field = compact_sqrt_abs(field, pf_field_regularization_width_V_m) + width = float(pf_field_regularization_width_V_m) + field_magnitude = np.abs(field) + field_sign = np.sign(field) + root_derivative = np.zeros_like(field_magnitude) + positive_field = field_magnitude > 0.0 + if width == 0.0: + root_derivative[positive_field] = ( + field_sign[positive_field] / (2.0 * np.sqrt(field_magnitude[positive_field])) + ) + else: + exact = positive_field & (field_magnitude >= width) + root_derivative[exact] = field_sign[exact] / (2.0 * np.sqrt(field_magnitude[exact])) + transition = positive_field & (field_magnitude < width) + z = field_magnitude[transition] / width + polynomial_derivative = (154.0 * z - 264.0 * z**3 + 126.0 * z**5) / 32.0 + root_derivative[transition] = field_sign[transition] * polynomial_derivative / np.sqrt(width) + + raw_pf_argument = gamma * root_field + clipped_pf_argument = np.clip(raw_pf_argument, -80.0, 80.0) + pf_clip_interior = (raw_pf_argument > -80.0) & (raw_pf_argument < 80.0) + pf_log_derivative = np.where(pf_clip_interior, gamma * root_derivative, 0.0) + mobility_pf = mobility0 * np.exp(clipped_pf_argument) + + ct_active = (saturation_velocity > 0.0) & (exponent > 0.0) + safe_velocity = np.where(saturation_velocity > 0.0, saturation_velocity, 1.0) + ratio = np.where(ct_active, mobility_pf * field_magnitude / safe_velocity, 0.0) + with np.errstate(invalid="ignore", over="ignore"): + ratio_power = np.where(ct_active, ratio ** np.where(ct_active, exponent, 1.0), 0.0) + ct_weight = np.zeros_like(ratio_power) + finite_power = ct_active & np.isfinite(ratio_power) + ct_weight[finite_power] = ratio_power[finite_power] / (1.0 + ratio_power[finite_power]) + ct_weight[ct_active & np.isposinf(ratio_power)] = 1.0 + + signed_inverse_field = np.divide( + field_sign, field_magnitude, out=np.zeros_like(field_magnitude), where=positive_field + ) + mobility = apply_field_mobility( + mobility0, + field, + saturation_velocity, + exponent, + gamma, + pf_field_regularization_width_V_m=pf_field_regularization_width_V_m, + ) + field_derivative = mobility * ((1.0 - ct_weight) * pf_log_derivative - ct_weight * signed_inverse_field) + + differentiable = np.ones(field.shape, dtype=bool) + if width == 0.0: + differentiable &= ~((field_magnitude == 0.0) & (gamma != 0.0) & (mobility0 > 0.0)) + differentiable &= ~( + (field_magnitude == 0.0) & ct_active & (exponent <= 1.0) & (mobility_pf > 0.0) + ) + differentiable &= ~((np.abs(raw_pf_argument) == 80.0) & (mobility0 > 0.0)) + if ( + not np.all(np.isfinite(mobility)) + or np.any(mobility < 0.0) + or np.any(~np.isfinite(field_derivative) & differentiable) + ): + raise ValueError("field-mobility linearization produced a non-finite tangent") + return FieldMobilityLinearization( + mobility_m2_V_s=np.asarray(mobility, dtype=float), + field_derivative_m3_V2_s=np.asarray(field_derivative, dtype=float), + differentiable=differentiable, + ) + + +@dataclass(frozen=True, slots=True) +class FieldMobilityFaceParameters: + """State-free CT/PF parameters of one carrier on the transport faces. + + Face values are the arithmetic mean of the node values (historical), so + a face between an opted-in and an opted-out layer gets half strength. + """ + + saturation_velocity_m_s: np.ndarray + ct_exponent: np.ndarray + pf_gamma_sqrt_m_V: np.ndarray + + def __post_init__(self) -> None: + arrays = [] + for name in ("saturation_velocity_m_s", "ct_exponent", "pf_gamma_sqrt_m_V"): + array = np.array(getattr(self, name), dtype=float, copy=True) + if array.ndim != 1 or not np.all(np.isfinite(array)): + raise ValueError(f"{name} must be a finite face array") + array.setflags(write=False) + object.__setattr__(self, name, array) + arrays.append(array) + if any(array.shape != arrays[0].shape for array in arrays): + raise ValueError("field-mobility face parameters must share one face set") + + @classmethod + def from_nodes( + cls, saturation_velocity_m_s: ArrayLike, ct_exponent: ArrayLike, pf_gamma_sqrt_m_V: ArrayLike + ) -> FieldMobilityFaceParameters: + return cls( + arithmetic_face_mean(saturation_velocity_m_s), + arithmetic_face_mean(ct_exponent), + arithmetic_face_mean(pf_gamma_sqrt_m_V), + ) + + @property + def opted_in(self) -> bool: + """Whether any face carries an active CT or PF parameter (tier gate aside).""" + + return bool(np.any(self.saturation_velocity_m_s > 0.0) or np.any(self.pf_gamma_sqrt_m_V > 0.0)) + + +def face_electric_field(phi_V: ArrayLike, x_nodes_m: ArrayLike) -> np.ndarray: + """Face field ``E = -(phi[i+1] - phi[i]) / dx`` [V m^-1] (historical RHS).""" + + phi = np.asarray(phi_V, dtype=float) + x = np.asarray(x_nodes_m, dtype=float) + if phi.ndim != 1 or phi.shape != x.shape: + raise ValueError("phi and x must be 1-D arrays on the same nodes") + dx = np.diff(x) + return -(phi[1:] - phi[:-1]) / dx + + +def field_dependent_face_diffusivity( + diffusivity_face_m2_s: ArrayLike, + thermal_voltage_V: float, + field_V_m: ArrayLike, + parameters: FieldMobilityFaceParameters, + *, + pf_field_regularization_width_V_m: float = 0.0, +) -> np.ndarray: + """Per-face ``D_eff = mu(E) V_T`` with ``mu_0 = D_face / V_T`` [m^2 s^-1]. + + A fresh array on every call: the result depends on the state and must + not be cached. + """ + + mobility_base = np.asarray(diffusivity_face_m2_s, dtype=float) / thermal_voltage_V + mobility = apply_field_mobility( + mobility_base, + field_V_m, + parameters.saturation_velocity_m_s, + parameters.ct_exponent, + parameters.pf_gamma_sqrt_m_V, + pf_field_regularization_width_V_m=pf_field_regularization_width_V_m, + ) + return mobility * thermal_voltage_V diff --git a/src/solarlab/physics/transport/field_mobility_tangents.py b/src/solarlab/physics/transport/field_mobility_tangents.py new file mode 100644 index 00000000..c4ab31a7 --- /dev/null +++ b/src/solarlab/physics/transport/field_mobility_tangents.py @@ -0,0 +1,232 @@ +"""One-sided directional derivatives of the field-dependent mobility (N class). + +The composition ``mu(E) = CT(PF(mu_0, |E|), |E|)`` (``field_mobility``) is +smooth except at three kinds of faces, where the historical linearization +only stores a placeholder and ``differentiable = False``: + +* zero field with a PF term and no regularization width: ``sqrt|E|`` gives + an infinite one-sided slope, ``mu_0 gamma sqrt|d| / sqrt(h)``; +* zero field with an active CT term and ``beta <= 1``: ``|E|^beta`` gives the + finite slope ``-mu_0^2 |d| / v_sat`` for ``beta = 1`` and an infinite + negative slope for ``beta < 1``; +* the exact exp-clip surfaces ``|gamma s(E)| = 80``: the PF factor is frozen + on the clipped side, so the slope depends on whether the direction enters + the clipped region. + +``field_mobility_directional_derivative`` returns +``lim_{h->0+} [mu(E + h d) - mu(E)] / h`` for every face and direction ``d`` +-- equal to ``mu'(E) d`` at smooth faces, finite or signed-infinite at the +cusps -- and :func:`require_finite_directional_derivative` rejects the +infinite ones instead of handing a solver a meaningless tangent. + +The field measure the law is evaluated with is a declared capability: in 1D +the face field is the whole field; the 2D solver applies the 1D law to the +face-normal component only (x faces use ``|E_x|``, y faces ``|E_y|``), an +approximation carried as its own label. Evaluating with the total field +magnitude is a different model and is refused here. +""" + +from __future__ import annotations + +from dataclasses import dataclass +from fractions import Fraction + +import numpy as np +from numpy.typing import ArrayLike + +from solarlab.physics.transport.field_mobility import compact_sqrt_abs, linearize_field_mobility + +__all__ = [ + "FACE_FIELD_1D", + "FACE_NORMAL_COMPONENT_2D", + "FIELD_MEASURES", + "FieldMeasureCapability", + "FieldMobilityCapabilityError", + "FieldMobilityDirectionalDerivative", + "field_mobility_directional_derivative", + "require_field_measure", + "require_finite_directional_derivative", +] + +_CLIP = 80.0 + + +class FieldMobilityCapabilityError(ValueError): + """A field-mobility request outside the declared capability.""" + + +@dataclass(frozen=True, slots=True) +class FieldMeasureCapability: + """Which field magnitude a face law is evaluated with.""" + + label: str + dimension: int + exact: bool + description: str + + +FACE_FIELD_1D = "face_field_1d_v1" +FACE_NORMAL_COMPONENT_2D = "face_normal_component_2d_v1" +FIELD_MEASURES: dict[str, FieldMeasureCapability] = { + FACE_FIELD_1D: FieldMeasureCapability( + FACE_FIELD_1D, 1, True, "1D face field -(phi[i+1]-phi[i])/dx; the complete field" + ), + FACE_NORMAL_COMPONENT_2D: FieldMeasureCapability( + FACE_NORMAL_COMPONENT_2D, + 2, + False, + "2D approximation: x faces use |E_x| only, y faces |E_y| only (no cross-axis interpolation)", + ), +} + + +def require_field_measure(label: str) -> FieldMeasureCapability: + """Return the capability of a declared field measure or refuse it.""" + + capability = FIELD_MEASURES.get(label) + if capability is None: + raise FieldMobilityCapabilityError( + f"field measure {label!r} is not a declared capability; evaluating the " + "field-dependent mobility with the total field magnitude (or any other " + "measure) is a model change, not a numerical option" + ) + return capability + + +@dataclass(frozen=True) +class FieldMobilityDirectionalDerivative: + """``mu(E)`` and its one-sided derivative along ``direction`` on each face.""" + + mobility_m2_V_s: np.ndarray + derivative_m3_V2_s: np.ndarray + smooth: np.ndarray + + @property + def finite(self) -> np.ndarray: + return np.isfinite(self.derivative_m3_V2_s) + + +def field_mobility_directional_derivative( + mu0: ArrayLike, + E: ArrayLike, + direction: ArrayLike, + v_sat: ArrayLike, + beta: ArrayLike, + gamma_pf: ArrayLike, + *, + pf_field_regularization_width_V_m: float = 0.0, +) -> FieldMobilityDirectionalDerivative: + """One-sided directional derivative ``D mu(E; d)`` [m^3 V^-2 s^-1 per unit d]. + + ``direction`` is the field perturbation ``d`` [V m^-1] (any real value; + the result is positively homogeneous in ``d``). Infinite values are + signed. When ``beta = 1/2`` and the leading PF and CT cusps cancel, + the next term gives the finite derivative ``-mu0**2 * abs(d) / v_sat``. + """ + + linear = linearize_field_mobility( + mu0, E, v_sat, beta, gamma_pf, pf_field_regularization_width_V_m=pf_field_regularization_width_V_m + ) + mobility0, field, d, velocity, exponent, gamma = np.broadcast_arrays( + np.asarray(mu0, dtype=float), + np.asarray(E, dtype=float), + np.asarray(direction, dtype=float), + np.asarray(v_sat, dtype=float), + np.asarray(beta, dtype=float), + np.asarray(gamma_pf, dtype=float), + ) + if not np.all(np.isfinite(d)): + raise ValueError("direction must be finite") + width = float(pf_field_regularization_width_V_m) + smooth = np.broadcast_to(linear.differentiable, field.shape) + derivative = np.array(np.broadcast_to(linear.field_derivative_m3_V2_s, field.shape) * d, dtype=float) + mobility = np.broadcast_to(linear.mobility_m2_V_s, field.shape) + + magnitude = np.abs(field) + ct_active = (velocity > 0.0) & (exponent > 0.0) + zero_field = (magnitude == 0.0) & ~smooth + pf_cusp = zero_field & (width == 0.0) & (gamma != 0.0) & (mobility0 > 0.0) + ct_cusp = zero_field & ~pf_cusp & ct_active & (exponent <= 1.0) & (mobility0 > 0.0) + clip_surface = ~smooth & ~zero_field + + with np.errstate(invalid="ignore", divide="ignore"): + # PF cusp: sqrt slope ~ h^-1/2; an active CT term contributes h^(beta-1). + pf_coeff = mobility0 * gamma * np.sqrt(np.abs(d)) + safe_velocity = np.where(velocity > 0.0, velocity, 1.0) + pf_value = np.where(ct_active & (exponent < 0.5), -np.inf, np.sign(pf_coeff) * np.inf) + # Set t=sqrt(|E|), a=sqrt(mu0/v_sat). For beta=1/2, + # mu/mu0 = exp(gamma*t)/(1+a*t*exp(gamma*t/2))**2. + # At gamma=2*a its t term vanishes and its t**2 term is -a**2. + competing = pf_cusp & ct_active & (exponent == 0.5) & (d != 0.0) + for index in np.flatnonzero(competing): + # The sign of gamma - 2*sqrt(mu0/vsat) must be decided from + # the exact supplied floats, not a rounded square root. A tiny + # nonzero coefficient still gives an infinite limiting slope. + g = Fraction(float(gamma.flat[index])) + mu = Fraction(float(mobility0.flat[index])) + velocity_exact = Fraction(float(velocity.flat[index])) + difference = g * g * velocity_exact - 4 * mu + if g <= 0 or difference < 0: + pf_value.flat[index] = -np.inf + elif difference > 0: + pf_value.flat[index] = np.inf + else: + pf_value.flat[index] = -float(mu * mu * Fraction(abs(float(d.flat[index]))) / velocity_exact) + pf_value = np.where(d == 0.0, 0.0, pf_value) + # CT cusp (PF smooth at zero field): beta = 1 finite, beta < 1 infinite. + ct_value = np.where( + exponent == 1.0, + -(mobility0 * mobility0) * np.abs(d) / safe_velocity, + -np.inf, + ) + ct_value = np.where(d == 0.0, 0.0, ct_value) + derivative[pf_cusp] = pf_value[pf_cusp] + derivative[ct_cusp] = ct_value[ct_cusp] + + if np.any(clip_surface): + root = compact_sqrt_abs(field, width) + sign = np.sign(field) + root_slope = np.zeros_like(magnitude) + positive = magnitude > 0.0 + if width == 0.0: + root_slope[positive] = sign[positive] / (2.0 * np.sqrt(magnitude[positive])) + else: + exact = positive & (magnitude >= width) + root_slope[exact] = sign[exact] / (2.0 * np.sqrt(magnitude[exact])) + transition = positive & (magnitude < width) + z = magnitude[transition] / width + root_slope[transition] = ( + sign[transition] * (154.0 * z - 264.0 * z**3 + 126.0 * z**5) / 32.0 / np.sqrt(width) + ) + argument = gamma * root + argument_rate = gamma * root_slope * d + entering = ((argument >= _CLIP) & (argument_rate > 0.0)) | ((argument <= -_CLIP) & (argument_rate < 0.0)) + pf_log_rate = np.where(entering, 0.0, argument_rate) + mobility_pf = mobility0 * np.exp(np.clip(argument, -_CLIP, _CLIP)) + ratio = np.where(ct_active, mobility_pf * magnitude / safe_velocity, 0.0) + with np.errstate(invalid="ignore", over="ignore"): + power = np.where(ct_active, ratio ** np.where(ct_active, exponent, 1.0), 0.0) + weight = np.where(np.isposinf(power), 1.0, np.where(ct_active, power / (1.0 + power), 0.0)) + inverse_field = np.divide(sign * d, magnitude, out=np.zeros_like(magnitude), where=positive) + clipped = mobility * ((1.0 - weight) * pf_log_rate - weight * inverse_field) + derivative[clip_surface] = clipped[clip_surface] + + derivative.setflags(write=False) + return FieldMobilityDirectionalDerivative( + mobility_m2_V_s=np.array(mobility, dtype=float), + derivative_m3_V2_s=derivative, + smooth=np.array(smooth, dtype=bool), + ) + + +def require_finite_directional_derivative(result: FieldMobilityDirectionalDerivative) -> np.ndarray: + """The directional derivative, refusing faces where it is not finite.""" + + if not np.all(result.finite): + count = int(np.sum(~result.finite)) + raise FieldMobilityCapabilityError( + f"field-dependent mobility has no finite one-sided derivative on {count} face(s) " + "(zero-field Poole-Frenkel cusp or Caughey-Thomas beta < 1); use a regularization " + "width ladder or exclude the faces instead of a placeholder tangent" + ) + return result.derivative_m3_V2_s diff --git a/src/solarlab/physics/transport/generalized.py b/src/solarlab/physics/transport/generalized.py new file mode 100644 index 00000000..11ac9e21 --- /dev/null +++ b/src/solarlab/physics/transport/generalized.py @@ -0,0 +1,376 @@ +"""Restricted Fermi-Dirac transport: generalized SG and its capability gate (M class). + +For statistics ``F(eta)`` the face diffusion enhancement is the logarithmic +secant ``g = (eta_R - eta_L) / (log F_R - log F_L)``, the removable +equal-state singularity is the local generalized Einstein factor, and the +current is the SG current with ``D -> D g`` and ``dpsi -> dpsi / g``. Fermi-Dirac +transport reads the physical band edges and one homogeneous DOS; it is +admitted only in the existing qualified research combination. Currents are +bit-identical to the legacy engine. The Blakemore approximation is not +implemented and is rejected by name. +""" + +from __future__ import annotations + +from dataclasses import dataclass +import math + +import numpy as np +from numpy.typing import ArrayLike, NDArray + +from solarlab.contracts.units import ELEMENTARY_CHARGE_C +from solarlab.discretization.bernoulli import bernoulli +from solarlab.physics.statistics.band_potentials import BandStructure +from solarlab.physics.statistics.carriers import ( + FERMI_DIRAC, MAXWELL_BOLTZMANN, CarrierStatistics, generalized_einstein_factor, + normalize_carrier_statistics, reduced_fermi_level_from_density, +) +from solarlab.physics.statistics.dopants import FULLY_IONIZED, normalize_dopant_ionization_model + +__all__ = [ + "BLAKEMORE", "GeneralizedCarrierFaceStatistics", "RECOMBINATION_OFF", + "TransportCapabilityError", "TransportCapabilityRequest", + "generalized_carrier_face_statistics", "legacy_fermi_dirac_face_currents", + "legacy_generalized_sg_current_n", "legacy_generalized_sg_current_p", + "require_carrier_transport", +] + +Q = ELEMENTARY_CHARGE_C +BLAKEMORE = "blakemore" +RECOMBINATION_OFF = "off" +_SEMICONDUCTOR_WORK_FUNCTION = "semiconductor_work_function" +_BAND_GAP_NARROWING_OFF = "off" +_BAND_GAP_NARROWING_MODELS = frozenset({_BAND_GAP_NARROWING_OFF, "slotboom"}) + + +class TransportCapabilityError(ValueError): + """The requested statistics/closure combination is not qualified.""" + + +@dataclass(frozen=True, slots=True) +class GeneralizedCarrierFaceStatistics: + """Node chemical potentials and face diffusion-enhancement factors.""" + + statistics: CarrierStatistics + reduced_fermi_level: NDArray[np.float64] + log_occupation: NDArray[np.float64] + diffusion_enhancement: NDArray[np.float64] + + +def generalized_carrier_face_statistics( + density_m3: ArrayLike, + effective_density_of_states_m3: float, + *, + statistics: CarrierStatistics | str, +) -> GeneralizedCarrierFaceStatistics: + """Return the logarithmic-secant generalized Einstein factor per face. + + Maxwell-Boltzmann statistics return exact ones rather than a numerically + reconstructed identity. + """ + density = np.asarray(density_m3, dtype=float) + dos = float(effective_density_of_states_m3) + model = normalize_carrier_statistics(statistics) + if ( + density.ndim != 1 + or density.size < 2 + or not np.all(np.isfinite(density)) + or np.any(density <= 0.0) + ): + raise ValueError("carrier density must be a finite positive 1D array") + if not math.isfinite(dos) or dos <= 0.0: + raise ValueError("effective density of states must be finite and positive") + + log_occupation = np.log(density / dos) + if model == MAXWELL_BOLTZMANN: + eta = log_occupation.copy() + enhancement = np.ones(density.size - 1, dtype=float) + else: + eta = np.asarray( + [ + reduced_fermi_level_from_density(value, dos, statistics=model) + for value in density + ], + dtype=float, + ) + delta_eta = np.diff(eta) + delta_log = np.diff(log_occupation) + scale = np.maximum( + 1.0, + np.maximum( + np.abs(log_occupation[:-1]), + np.abs(log_occupation[1:]), + ), + ) + regular = np.abs(delta_log) > 64.0 * np.finfo(float).eps * scale + enhancement = np.empty_like(delta_log) + enhancement[regular] = delta_eta[regular] / delta_log[regular] + for index in np.flatnonzero(~regular): + enhancement[index] = generalized_einstein_factor( + 0.5 * (eta[index] + eta[index + 1]), + statistics=model, + ) + if ( + not np.all(np.isfinite(eta)) + or not np.all(np.isfinite(enhancement)) + or np.any(enhancement <= 0.0) + ): + raise FloatingPointError( + "generalized carrier face statistics are non-finite or non-positive" + ) + return GeneralizedCarrierFaceStatistics( + statistics=model, + reduced_fermi_level=eta, + log_occupation=log_occupation, + diffusion_enhancement=enhancement, + ) + + +def _validated_flux_inputs( + band_potential_V: ArrayLike, + density_m3: ArrayLike, + spacing_m: ArrayLike, + mobility_m2_V_s: ArrayLike, + thermal_voltage_V: float, +) -> tuple[NDArray[np.float64], NDArray[np.float64], NDArray[np.float64], + NDArray[np.float64], float]: + potential = np.asarray(band_potential_V, dtype=float) + density = np.asarray(density_m3, dtype=float) + spacing = np.asarray(spacing_m, dtype=float) + thermal = float(thermal_voltage_V) + mobility = np.broadcast_to( + np.asarray(mobility_m2_V_s, dtype=float), + spacing.shape, + ) + if ( + potential.ndim != 1 + or density.shape != potential.shape + or potential.size < 2 + or spacing.shape != (potential.size - 1,) + or not np.all(np.isfinite(potential)) + or not np.all(np.isfinite(spacing)) + or np.any(spacing <= 0.0) + or not np.all(np.isfinite(mobility)) + or np.any(mobility < 0.0) + or not math.isfinite(thermal) + or thermal <= 0.0 + ): + raise ValueError( + "generalized SG inputs must be finite, shape matched, and use " + "positive spacing/thermal voltage with non-negative mobility" + ) + return potential, density, spacing, mobility, thermal + + +def legacy_generalized_sg_current_n( + band_potential_V: ArrayLike, + electron_density_m3: ArrayLike, + spacing_m: ArrayLike, + mobility_m2_V_s: ArrayLike, + thermal_voltage_V: float, + effective_conduction_dos_m3: float, + *, + statistics: CarrierStatistics | str, +) -> NDArray[np.float64]: + """Historical generalized electron current on all faces [A m-2].""" + potential, density, spacing, mobility, thermal = _validated_flux_inputs( + band_potential_V, electron_density_m3, spacing_m, mobility_m2_V_s, + thermal_voltage_V, + ) + face = generalized_carrier_face_statistics( + density, effective_conduction_dos_m3, statistics=statistics, + ) + enhancement = face.diffusion_enhancement + argument = np.diff(potential) / (thermal * enhancement) + current: NDArray[np.float64] = ( + Q * mobility * thermal * enhancement / spacing + * (bernoulli(argument) * density[1:] - bernoulli(-argument) * density[:-1]) + ) + return current + + +def legacy_generalized_sg_current_p( + band_potential_V: ArrayLike, + hole_density_m3: ArrayLike, + spacing_m: ArrayLike, + mobility_m2_V_s: ArrayLike, + thermal_voltage_V: float, + effective_valence_dos_m3: float, + *, + statistics: CarrierStatistics | str, +) -> NDArray[np.float64]: + """Historical generalized hole current on all faces [A m-2].""" + potential, density, spacing, mobility, thermal = _validated_flux_inputs( + band_potential_V, hole_density_m3, spacing_m, mobility_m2_V_s, + thermal_voltage_V, + ) + face = generalized_carrier_face_statistics( + density, effective_valence_dos_m3, statistics=statistics, + ) + enhancement = face.diffusion_enhancement + argument = np.diff(potential) / (thermal * enhancement) + current: NDArray[np.float64] = ( + Q * mobility * thermal * enhancement / spacing + * (bernoulli(argument) * density[:-1] - bernoulli(-argument) * density[1:]) + ) + return current + + +def legacy_fermi_dirac_face_currents( + x: ArrayLike, + phi: ArrayLike, + n: ArrayLike, + p: ArrayLike, + D_n_face: ArrayLike, + D_p_face: ArrayLike, + thermal_voltage_V: float, + bands: BandStructure, + *, + conduction_dos_m3: float, + valence_dos_m3: float, + recombination_closure: str, +) -> tuple[NDArray[np.float64], NDArray[np.float64]]: + """Historical FD face currents on the physical (unfolded) band edges. + + The mobility handed to the generalized SG is ``D / V_T``; the + recombination closure must be named explicitly and only ``"off"`` exists. + """ + if recombination_closure != RECOMBINATION_OFF: + raise TransportCapabilityError( + "Fermi-Dirac bulk transport requires an explicit compatible " + "recombination closure" + ) + potential = np.asarray(phi, dtype=float) + spacing = np.diff(np.asarray(x, dtype=float)) + chi = bands.physical_electron_affinity_eV + gap = bands.physical_band_gap_eV + J_n = legacy_generalized_sg_current_n( + potential + chi, n, spacing, np.asarray(D_n_face) / thermal_voltage_V, + thermal_voltage_V, conduction_dos_m3, statistics=FERMI_DIRAC, + ) + J_p = legacy_generalized_sg_current_p( + potential + chi + gap, p, spacing, np.asarray(D_p_face) / thermal_voltage_V, + thermal_voltage_V, valence_dos_m3, statistics=FERMI_DIRAC, + ) + return J_n, J_p + + +@dataclass(frozen=True, slots=True) +class TransportCapabilityRequest: + """One requested bulk-transport combination, as a device adapter declares it. + + ``carrier_statistics``, ``dopant_ionization`` and ``band_gap_narrowing`` + hold one law per electrical layer. ``inhomogeneous_fields`` names the + material fields (eps_r, chi, Eg, Nc300, Nv300, BGN parameters) that differ + between layers. ``recombination_closure`` is the bulk recombination law + paired with the transport: ``"maxwell_boltzmann"`` (default) or ``"off"``, + the only one qualified for FD. + """ + + carrier_statistics: tuple[str, ...] + dopant_ionization: tuple[str, ...] + band_gap_narrowing: tuple[str, ...] + recombination_closure: str + built_in_potential_mode: str | None + inhomogeneous_fields: tuple[str, ...] = () + interface_recombination: bool = False + optical_generation: bool = False + band_grading: bool = False + doping_profiles: bool = False + contact_floors: bool = False + selective_contacts: bool = False + mobile_ions: bool = False + field_dependent_mobility: bool = False + advanced_interface_closure: bool = False + environment_overrides: tuple[str, ...] = () + + +def require_carrier_transport(request: TransportCapabilityRequest) -> CarrierStatistics: + """Admit only qualified statistics/closure combinations; return the law. + + The default path is MB statistics, fully ionized dopants, no BGN and the + MB recombination closure. Naming the recombination closure ``"off"`` is + the historical research selector; it admits FD, discrete-level and BGN + layers only in the qualified topology: one law per field on every layer, + a homojunction, dark, no interface or contact extras, no ions, no field + mobility, the semiconductor work-function contact potential and no + ``SOLARLAB_*`` overrides. FD is never auto-paired with an MB + recombination law. + """ + requested = [str(value).strip().lower() for value in request.carrier_statistics] + layer_count = len(requested) + if not layer_count: + raise TransportCapabilityError("at least one electrical layer is required") + if (len(request.dopant_ionization) != layer_count + or len(request.band_gap_narrowing) != layer_count): + raise TransportCapabilityError( + "research degenerate transport requires material parameters " + "and one carrier-statistics/dopant-ionization/BGN law on " + "every electrical layer" + ) + if BLAKEMORE in requested: + raise TransportCapabilityError( + "Blakemore carrier statistics are not implemented; only " + "'maxwell_boltzmann' and the restricted 'fermi_dirac' law exist" + ) + models = {normalize_carrier_statistics(value) for value in requested} + ionization = { + normalize_dopant_ionization_model(value) for value in request.dopant_ionization + } + narrowing = {str(value).strip().lower() for value in request.band_gap_narrowing} + if not narrowing <= _BAND_GAP_NARROWING_MODELS: + raise TransportCapabilityError("band-gap narrowing model must be 'off' or 'slotboom'") + closure = str(request.recombination_closure).strip().lower() + if closure not in {MAXWELL_BOLTZMANN, RECOMBINATION_OFF}: + raise TransportCapabilityError( + f"unknown bulk recombination closure {request.recombination_closure!r}" + ) + needs_research = ( + FERMI_DIRAC in models + or ionization != {FULLY_IONIZED} + or narrowing != {_BAND_GAP_NARROWING_OFF} + ) + if closure != RECOMBINATION_OFF: + if needs_research: + raise TransportCapabilityError( + "Fermi-Dirac, discrete-level and BGN bulk transport are not " + "enabled on the default path; they require the explicit " + "recombination closure 'off' and are never paired with the MB " + "recombination law automatically" + ) + return MAXWELL_BOLTZMANN + if len(models) != 1 or len(ionization) != 1 or len(narrowing) != 1: + raise TransportCapabilityError( + "research degenerate transport requires material parameters " + "and one carrier-statistics/dopant-ionization/BGN law on " + "every electrical layer" + ) + disallowed = [] + if request.inhomogeneous_fields: + disallowed.append( + "non-homojunction fields=" + ",".join(request.inhomogeneous_fields) + ) + flags = ( + (request.interface_recombination, "interface recombination"), + (request.optical_generation, "optical generation"), + (request.band_grading, "band grading"), + (request.doping_profiles, "spatial doping profiles"), + (request.contact_floors, "calibrated contact floors"), + (request.selective_contacts, "selective contacts"), + (request.mobile_ions, "mobile ions"), + (request.field_dependent_mobility, "field-dependent mobility"), + (request.advanced_interface_closure, "advanced interface closure"), + (request.built_in_potential_mode != _SEMICONDUCTOR_WORK_FUNCTION, + "non-thermodynamic contact potential"), + ) + disallowed.extend(label for active, label in flags if active) + if request.environment_overrides: + disallowed.append( + "environment overrides=" + ",".join(sorted(request.environment_overrides)) + ) + if disallowed: + raise TransportCapabilityError( + "research degenerate transport topology rejected: " + + "; ".join(disallowed) + ) + return next(iter(models)) diff --git a/src/solarlab/py.typed b/src/solarlab/py.typed new file mode 100644 index 00000000..e69de29b diff --git a/src/solarlab/reproducibility/PublicAPI.json b/src/solarlab/reproducibility/PublicAPI.json new file mode 100644 index 00000000..e8251f73 --- /dev/null +++ b/src/solarlab/reproducibility/PublicAPI.json @@ -0,0 +1,1176 @@ +{ + "schema": "solarlab.public-api-policy.v1", + "version": 1, + "core_root_exports": [], + "scope": "Closed public symbols for configuration, companion consumers, ion-free classical 1D DC and process studies, fixed/finite-rate and bounded selective-contact small signal and explicit voltage/generation transients with durable readback, plus bounded positive, independent dual-ion and shared-site assembly, steady/time solving and mobile/frozen small signal, and bounded fixed-reservoir 2D steady process/HTTP execution; listing is API permission, not full scientific qualification.", + "declared_exports": { + "solarlab": [], + "solarlab.config": [], + "solarlab.config.behavior": [ + "BehaviorContext", + "CapturedPreparation", + "behavior_source_requirements", + "inspect_historical_behavior", + "inspect_r1_material_behavior" + ], + "solarlab.config.device_import": [ + "import_standard_device" + ], + "solarlab.config.device_inputs": [ + "DeviceInput", + "FullLayerInput", + "NamedMaterialInput", + "TandemInput" + ], + "solarlab.config.identity": [ + "ModelInputs", + "IdentityInputs", + "Identity", + "BuildSource", + "RuntimeEnvironment", + "ExecutionDescription", + "ExecutionEngine", + "input_identity", + "physics_identity", + "execution_identity", + "CACHE_LAYERS", + "ExecutionManifest", + "execution_manifest", + "verify_execution_manifest", + "CacheLayerIdentity", + "ColdPointBinding", + "cold_point_binding" + ], + "solarlab.config.inputs": [ + "LayerInput" + ], + "solarlab.config.legacy_defaults": [ + "read_legacy_default_catalog" + ], + "solarlab.config.legacy_execution": [ + "LegacyExecutionContext", + "R1ExecutionContext", + "r1_execution_source_requirements" + ], + "solarlab.config.legacy_wire": [ + "LEGACY_WIRE_VERSION", + "LegacyWire", + "prepare_legacy_wire" + ], + "solarlab.config.migration": [ + "CONFIGURATION_VERSION", + "ConfigurationMigration", + "migrate_configuration", + "read_configuration_v2", + "prepare_v2_legacy_wire" + ], + "solarlab.config.model_parameters": [ + "layer_parameter_source", + "device_topology", + "structured_parameter_source", + "structured_parameter_sources", + "update_structured_source", + "resolve_structured_edit" + ], + "solarlab.config.resolve": [ + "load_template_library", + "load_layer_input", + "layer_input_mapping", + "resolve_layer", + "resolve_layers" + ], + "solarlab.config.resolve_device": [ + "resolve_device", + "resolve_tandem" + ], + "solarlab.config.scaps_input": [ + "import_scaps_device" + ], + "solarlab.config.schema": [ + "export_configuration_schema", + "configuration_schema_representation" + ], + "solarlab.config.structured_parameters": [ + "structured_parameter_source", + "structured_parameter_sources", + "update_structured_source", + "resolve_structured_edit", + "device_topology" + ], + "solarlab.config.tandem_input": [ + "import_tandem" + ], + "solarlab.config.yaml": [ + "load_yaml_mapping" + ], + "solarlab.contracts.persistence": [ + "PersistenceReader", + "PersistencePort" + ], + "solarlab.device": [], + "solarlab.device.defaults": [ + "DefaultCatalog" + ], + "solarlab.device.layer": [ + "ResolvedLayer", + "ResolvedMaterial", + "ValueOrigin" + ], + "solarlab.device.resolved": [ + "PreparedMaterial", + "PreparedLayer", + "PreparedDefect", + "PreparedMultivalentDefect", + "PreparedInterface", + "PreparedDevice", + "PreparedTandem" + ], + "solarlab.experiments.bdf_results": [ + "CapturedBDFRun", + "run_bdf_for_publication", + "publish_bdf_result", + "read_bdf_result", + "read_bdf_packet" + ], + "solarlab.experiments.registry": [ + "ExperimentDefinition", + "ExperimentPreflight", + "ExperimentRegistry" + ], + "solarlab.experiments.two_dimensional.preparation": [ + "PreparedSpatialExperiment", + "prepare_spatial_experiment" + ], + "solarlab.materials": [], + "solarlab.materials.full_parameters": [ + "ParameterFieldsInput", + "StructuredInput", + "StableId", + "Nonempty", + "FullParameterInput", + "quantity_field", + "LAYER_OWNED_PARAMETERS", + "full_parameter_items" + ], + "solarlab.materials.library": [ + "LayerTemplate", + "MaterialLibrary", + "validated_parameters" + ], + "solarlab.materials.parameter_schema": [ + "parameter_names", + "parameter_schema", + "parameter_values" + ], + "solarlab.materials.parameters": [ + "EditableInput", + "LayerValuesInput", + "Scalar", + "parameter_units" + ], + "solarlab.materials.resources": [ + "ResourceTable", + "ResourceLibrary" + ], + "solarlab.materials.source": [ + "SourceDocument" + ], + "solarlab.physics.presets": [ + "HistoricalDisable", + "NamedPreset", + "PresetSelection", + "select_preset" + ], + "solarlab.physics.registry": [ + "CapabilityContext", + "CapabilityRule", + "EvidenceRef", + "ModelDefinition", + "ModelRef", + "ModelRegistry", + "OwnedVariable", + "Requirement", + "Scope", + "StructuredSchema", + "StructuredData", + "StructuredParameters", + "StructuredAuthority", + "metadata_digest", + "metadata_value" + ], + "solarlab.physics.selection": [ + "ModelChoice", + "ParameterSource", + "SelectedModel", + "Selection", + "Topology", + "select_models", + "validate_selection" + ], + "solarlab.physics.semantic_projection": [ + "SemanticProjection" + ], + "solarlab.reproducibility": [ + "MigrationRegistry", + "load_registry", + "validate_registry_pair", + "SourceRef", + "SourceSet", + "read_sources" + ], + "solarlab.reproducibility.configuration_migration": [ + "ConfigurationMigrationPlan", + "prepare_configuration_migration", + "prepare_registered_configuration_v2", + "read_selected_configuration_v2", + "load_selected_configuration_v2", + "publish_configuration_migration" + ], + "solarlab.units": [ + "UNIT_SCHEMA_VERSION", + "QuantityError", + "normalize_quantity", + "supported_units" + ], + "solarlab.reproducibility.release": [ + "ReleaseFile", + "ReleaseBundle", + "snapshot_release_bundle", + "write_release_bundle", + "read_release_bundle", + "verify_release_installation" + ], + "solarlab.reproducibility.registry_mapping": [ + "RegistryMapping", + "prepare_registry_mapping", + "read_registry_mapping" + ], + "solarlab.device.compile_1d": [ + "CapabilityError", + "CompiledDevice1D", + "compile_device_1d", + "unsupported" + ], + "solarlab.equations": [ + "CapabilityError", + "CompiledDevice1D", + "DC1DProblem", + "LocalRecombinationModel", + "State1D" + ], + "solarlab.equations.dc_1d": [ + "CapabilityError", + "CompiledDevice1D", + "DC1DProblem", + "LocalRecombinationModel", + "State1D", + "quasi_fermi_potential_tangents" + ], + "solarlab.equations.implementation": [ + "ASSEMBLED", + "BINDING_SCHEMA", + "ENVIRONMENT", + "IMPLEMENTATIONS", + "LEGACY", + "DCProblem", + "ProvenanceBinding", + "equation_implementation", + "implementation_source_modules", + "observation_binding", + "provenance_binding", + "selected_implementation", + "selection_setting", + "substage_binding", + "use_assembled", + "verify_selection" + ], + "solarlab.solvers.nonlinear.steady_1d": [ + "SteadyOptions", + "SteadyState1D", + "SteadyStateError", + "solve_equilibrium", + "solve_steady_state", + "physical_gates", + "density_basin_seed" + ], + "solarlab.solvers.nonlinear.production": [ + "HISTORICAL_MAX_ROW_V1", + "POISSON_CONTACT_BALANCE_V1", + "production_convergence_norm", + "production_coordinates", + "production_residual_scaling", + "production_steady_problem", + "production_steady_linearization" + ], + "solarlab.experiments.jv.operating_points": [ + "DirectVocError", + "DirectVocResult", + "VocBracketError", + "VocFailure", + "solve_direct_voc" + ], + "solarlab.physics.ions": [ + "DIFFUSION_ONLY_STERIC_V1", + "HISTORICAL_OCCUPANCY_CLIP", + "HISTORICAL_STERIC_FLOOR", + "WHOLE_FLUX_STERIC_V1", + "IonFaceFluxJacobian", + "ion_continuity_rhs", + "ion_continuity_rhs_neg", + "ion_face_flux", + "ion_face_flux_jacobian", + "ion_flux_steric", + "shared_site_densities", + "shared_site_fractions", + "shifted_logistic_density", + "single_site_density" + ], + "solarlab.physics.ions.migration": [ + "WHOLE_FLUX_STERIC_V1", + "DIFFUSION_ONLY_STERIC_V1", + "HISTORICAL_OCCUPANCY_CLIP", + "HISTORICAL_STERIC_FLOOR", + "IonFaceFluxJacobian", + "ion_face_flux", + "ion_face_flux_jacobian", + "ion_flux_steric", + "ion_continuity_rhs", + "ion_continuity_rhs_neg" + ], + "solarlab.physics.ions.finite_site": [ + "single_site_density", + "shifted_logistic_density", + "shared_site_fractions", + "shared_site_densities" + ], + "solarlab.experiments.jv.worker": [ + "SteadyJVProtocol", + "SteadyJVJob", + "prepare_steady_jv_job", + "steady_jv_worker_binding", + "read_steady_jv_job", + "run_steady_jv_worker", + "steady_jv_identity_inputs", + "validate_steady_jv_scope" + ], + "solarlab.solvers.linear": [ + "FrequencyOptions", + "FrequencySolution", + "FrequencySolveError", + "solve_frequency_systems" + ], + "solarlab.solvers.linear.frequency_domain": [ + "FrequencyOptions", + "FrequencySolution", + "FrequencySolveError", + "solve_frequency_systems" + ], + "solarlab.experiments.impedance": [ + "SmallSignalResult1D", + "voltage_reference_direction", + "solve_impedance" + ], + "solarlab.sweeps.steady_worker": [ + "SteadySweepJobs", + "prepare_steady_sweep_jobs", + "read_steady_sweep_jobs" + ], + "solarlab.solvers.time": [ + "BackwardEuler1DStep", + "inventory_m2", + "step_accounting" + ], + "solarlab.solvers.time.backward_euler": [ + "BackwardEuler1DStep", + "inventory_m2", + "step_accounting", + "storage_mask" + ], + "solarlab.experiments.transient": [ + "TransientProtocol", + "TransientOptions", + "TransientAttempt", + "TransientResult1D", + "solve_transient" + ], + "solarlab.device.compile_ionic_1d": [ + "CompiledIonicDevice1D", + "compile_ionic_device_1d", + "ION_INPUTS" + ], + "solarlab.equations.ionic_1d": [ + "CompiledIonicDevice1D", + "Ionic1DProblem", + "IonicState1D" + ], + "solarlab.solvers.nonlinear.ionic_1d": [ + "ConstrainedIonic1DProblem", + "IonicSteadyOptions", + "IonicSteadyResult", + "solve_ionic_steady_state", + "ionic_steady_control_record", + "checks", + "diagnostics" + ], + "solarlab.experiments.transient_results": [ + "CapturedTransientRun", + "run_transient_for_publication", + "publish_transient_result", + "read_transient_result", + "transient_result_payload" + ], + "solarlab.experiments.transient_worker": [ + "TransientJob", + "prepare_transient_job", + "transient_worker_binding", + "run_transient_worker", + "read_transient_job", + "transient_identity_inputs" + ], + "solarlab.solvers.time.ionic_backward_euler": [ + "IonicBackwardEuler1DStep", + "finite_site_secant_m3", + "inventory_m2", + "step_accounting", + "ionic_step_accounting" + ], + "solarlab.experiments.ionic_transient": [ + "IonicTransientInitial", + "IonicTransientOptions", + "IonicTransientAttempt", + "IonicTransientResult", + "load_ionic_steady_initial", + "solve_ionic_transient" + ], + "solarlab.solvers.nonlinear.problem": [ + "CallableProblem", + "GateOutcome", + "Matrix", + "PhysicalGate", + "ResidualScaling", + "SolveBudget", + "SteadyProblem", + "StepControl", + "Vector", + "state_digest" + ], + "solarlab.equations.ionic_small_signal": [ + "IonicACSystem", + "IonicSmallSignal1D", + "build_ionic_small_signal", + "frequency_voltage" + ], + "solarlab.experiments.ionic_impedance": [ + "IonicImpedanceOptions", + "IonicImpedanceAttempt", + "IonicImpedanceResult", + "solve_ionic_impedance", + "write_ionic_impedance_result", + "read_ionic_impedance_result" + ], + "solarlab.equations.ionic_closure": [ + "ion_mobility_partition", + "declared_immobile_profiles", + "immobile_profile_binding", + "ionic_closure_residual", + "ionic_closure_jacobian" + ], + "solarlab.experiments.jv.ionic_steady": [ + "IonicSteadyJVOptions", + "IonicSteadyJVAttempt", + "IonicSteadyJVResult", + "run_ionic_steady_jv", + "write_ionic_steady_jv", + "read_ionic_steady_jv" + ], + "solarlab.experiments.ionic_transient_worker": [ + "IonicTransientJob", + "prepare_ionic_transient_job", + "ionic_transient_worker_binding", + "run_ionic_transient_worker", + "read_ionic_transient_job", + "ionic_transient_identity_inputs" + ], + "solarlab.experiments.ionic_transient_results": [ + "ionic_initial_document", + "ionic_transient_payload", + "validate_ionic_history" + ], + "solarlab.experiments.ionic_initialization": [ + "IonicInitializationOptions", + "IonicInitializationResult", + "IonicDensitySeedArtifact", + "load_ionic_density_seed", + "initialize_ionic_steady_state", + "write_ionic_initialization", + "read_ionic_initialization" + ], + "solarlab.device.compile_multiple_ionic_1d": [ + "CompiledMultipleIonicDevice1D", + "compile_multiple_ionic_device_1d" + ], + "solarlab.equations.multiple_ionic_1d": [ + "CompiledMultipleIonicDevice1D", + "MultipleIonic1DProblem", + "MultipleIonicState1D" + ], + "solarlab.solvers.nonlinear.multiple_ionic_1d": [ + "ConstrainedMultipleIonic1DProblem", + "MultipleIonicSteadyResult", + "multiple_ionic_diagnostics", + "multiple_ionic_checks", + "solve_multiple_ionic_steady_state" + ], + "solarlab.solvers.time.multiple_ionic_backward_euler": [ + "MultipleIonicBackwardEuler1DStep", + "multiple_ionic_step_accounting" + ], + "solarlab.experiments.multiple_ionic_transient": [ + "MultipleIonicTransientInitial", + "MultipleIonicTransientAttempt", + "MultipleIonicTransientResult", + "load_multiple_ionic_steady_initial", + "solve_multiple_ionic_transient", + "write_multiple_ionic_transient", + "read_multiple_ionic_transient" + ], + "solarlab.experiments.jv.ionic_worker": [ + "IonicJVProtocol", + "IonicJVInitial", + "IonicJVJob", + "prepare_ionic_jv_job", + "ionic_jv_worker_binding", + "run_ionic_jv_worker", + "read_ionic_jv_job", + "ionic_jv_identity_inputs", + "REGISTERED_WALL_SECONDS" + ], + "solarlab.experiments.two_dimensional.steady_worker": [ + "INITIAL_POLICY", + "REQUEST_SCHEMA", + "RESULT_SCHEMA", + "Steady2DProtocol", + "Steady2DJob", + "prepare_steady_2d_job", + "steady_2d_worker_binding", + "run_steady_2d_worker", + "read_steady_2d_job" + ], + "solarlab.experiments.two_dimensional.steady_results": [ + "steady_2d_payload", + "read_steady_2d_job" + ], + "solarlab.solvers.nonlinear.steady_2d": [ + "Steady2DOptions", + "Steady2DResult", + "solve_steady_state_2d", + "checks", + "diagnostics", + "scope", + "sources" + ] + }, + "public_imports": { + "solarlab": [], + "solarlab.config": [], + "solarlab.config.behavior": [ + "BehaviorContext", + "CapturedPreparation", + "behavior_source_requirements", + "inspect_historical_behavior", + "inspect_r1_material_behavior" + ], + "solarlab.config.device_import": [ + "import_standard_device" + ], + "solarlab.config.device_inputs": [ + "DeviceInput", + "FullLayerInput", + "NamedMaterialInput", + "TandemInput" + ], + "solarlab.config.identity": [ + "BuildSource", + "CACHE_LAYERS", + "CacheLayerIdentity", + "ColdPointBinding", + "ExecutionDescription", + "ExecutionEngine", + "ExecutionManifest", + "Identity", + "IdentityInputs", + "ModelInputs", + "RuntimeEnvironment", + "cold_point_binding", + "execution_identity", + "execution_manifest", + "input_identity", + "physics_identity", + "verify_execution_manifest" + ], + "solarlab.config.inputs": [ + "LayerInput" + ], + "solarlab.config.legacy_defaults": [ + "read_legacy_default_catalog" + ], + "solarlab.config.legacy_execution": [ + "LegacyExecutionContext", + "R1ExecutionContext", + "r1_execution_source_requirements" + ], + "solarlab.config.legacy_wire": [ + "LEGACY_WIRE_VERSION", + "LegacyWire", + "prepare_legacy_wire" + ], + "solarlab.config.migration": [ + "CONFIGURATION_VERSION", + "ConfigurationMigration", + "migrate_configuration", + "prepare_v2_legacy_wire", + "read_configuration_v2" + ], + "solarlab.config.model_parameters": [ + "device_topology", + "layer_parameter_source", + "resolve_structured_edit", + "structured_parameter_source", + "structured_parameter_sources", + "update_structured_source" + ], + "solarlab.config.resolve": [ + "layer_input_mapping", + "load_layer_input", + "load_template_library", + "resolve_layer", + "resolve_layers" + ], + "solarlab.config.resolve_device": [ + "resolve_device", + "resolve_tandem" + ], + "solarlab.config.scaps_input": [ + "import_scaps_device" + ], + "solarlab.config.schema": [ + "configuration_schema_representation", + "export_configuration_schema" + ], + "solarlab.config.structured_parameters": [ + "device_topology", + "resolve_structured_edit", + "structured_parameter_source", + "structured_parameter_sources", + "update_structured_source" + ], + "solarlab.config.tandem_input": [ + "import_tandem" + ], + "solarlab.config.yaml": [ + "load_yaml_mapping" + ], + "solarlab.contracts.persistence": [ + "PersistenceReader" + ], + "solarlab.device": [], + "solarlab.device.defaults": [ + "DefaultCatalog" + ], + "solarlab.device.inputs": [ + "DeviceInput", + "TandemInput" + ], + "solarlab.device.layer": [ + "ResolvedLayer", + "ResolvedMaterial", + "ValueOrigin" + ], + "solarlab.device.resolved": [ + "PreparedDefect", + "PreparedDevice", + "PreparedInterface", + "PreparedLayer", + "PreparedMaterial", + "PreparedMultivalentDefect", + "PreparedTandem" + ], + "solarlab.experiments.inputs": [ + "invalid" + ], + "solarlab.experiments.jv.inputs": [ + "JVExperimentInput" + ], + "solarlab.experiments.jv.preparation": [ + "PreparedJVExperiment", + "consume_jv_manifest", + "prepare_jv_experiment" + ], + "solarlab.experiments.registry": [ + "ExperimentDefinition", + "ExperimentPreflight", + "ExperimentRegistry" + ], + "solarlab.experiments.two_dimensional.inputs": [ + "SpatialExperimentInput", + "JV2DInput" + ], + "solarlab.experiments.two_dimensional.preparation": [ + "PreparedSpatialExperiment", + "prepare_spatial_experiment" + ], + "solarlab.io.artifacts": [ + "ArtifactIntegrityError", + "bytes_artifact" + ], + "solarlab.io.run_store": [ + "RunStore", + "StateConflict" + ], + "solarlab.materials": [], + "solarlab.materials.full_parameters": [ + "FullParameterInput", + "LAYER_OWNED_PARAMETERS", + "Nonempty", + "ParameterFieldsInput", + "StableId", + "StructuredInput", + "full_parameter_items", + "quantity_field" + ], + "solarlab.materials.library": [ + "LayerTemplate", + "MaterialLibrary", + "validated_parameters" + ], + "solarlab.materials.parameter_schema": [ + "parameter_names", + "parameter_schema", + "parameter_values" + ], + "solarlab.materials.parameters": [ + "EditableInput", + "LayerValuesInput", + "Scalar", + "parameter_units" + ], + "solarlab.materials.resources": [ + "ResourceLibrary", + "ResourceTable" + ], + "solarlab.materials.source": [ + "SourceDocument" + ], + "solarlab.physics.presets": [ + "HistoricalDisable", + "NamedPreset", + "PresetSelection", + "select_preset" + ], + "solarlab.physics.registry": [ + "CapabilityContext", + "CapabilityRule", + "EvidenceRef", + "ModelDefinition", + "ModelRef", + "ModelRegistry", + "OwnedVariable", + "Requirement", + "Scope", + "StructuredAuthority", + "StructuredData", + "StructuredParameters", + "StructuredSchema", + "metadata_digest", + "metadata_value" + ], + "solarlab.physics.selection": [ + "ModelChoice", + "ParameterSource", + "SelectedModel", + "Selection", + "Topology", + "select_models", + "validate_selection" + ], + "solarlab.physics.semantic_projection": [ + "SemanticProjection" + ], + "solarlab.reproducibility": [ + "MigrationRegistry", + "SourceRef", + "SourceSet", + "load_registry", + "read_sources", + "validate_registry_pair" + ], + "solarlab.reproducibility.configuration_migration": [ + "ConfigurationMigrationPlan", + "load_selected_configuration_v2", + "prepare_configuration_migration", + "prepare_registered_configuration_v2", + "publish_configuration_migration", + "read_selected_configuration_v2" + ], + "solarlab.sweeps.inputs": [ + "SweepInput" + ], + "solarlab.sweeps.preparation": [ + "PreparedSweep", + "prepare_sweep" + ], + "solarlab.sweeps.reference": [ + "SweepReference" + ], + "solarlab.units": [ + "QuantityError", + "UNIT_SCHEMA_VERSION", + "normalize_quantity", + "supported_units" + ], + "solarlab.reproducibility.release": [ + "ReleaseBundle", + "ReleaseFile", + "read_release_bundle", + "snapshot_release_bundle", + "verify_release_installation", + "write_release_bundle" + ], + "solarlab.reproducibility.registry_mapping": [ + "RegistryMapping", + "prepare_registry_mapping", + "read_registry_mapping" + ], + "solarlab.experiments.worker": [ + "ManifestBinding", + "ResourceLimits", + "WorkerBinding", + "WorkerContext", + "WorkerRequest", + "WorkerResult", + "RunSpec" + ], + "solarlab.experiments.execution": [ + "JobHandle", + "ProcessSupervisor", + "QueueFull" + ], + "solarlab.experiments.protocol": [ + "protocol_schema", + "working_point_schema" + ], + "solarlab.experiments.results": [ + "array_schema", + "result_schema" + ], + "solarlab.device.compile_1d": [ + "CapabilityError", + "CompiledDevice1D", + "compile_device_1d" + ], + "solarlab.equations": [ + "CapabilityError", + "CompiledDevice1D", + "DC1DProblem", + "LocalRecombinationModel", + "State1D" + ], + "solarlab.equations.dc_1d": [ + "CapabilityError", + "CompiledDevice1D", + "DC1DProblem", + "LocalRecombinationModel", + "State1D" + ], + "solarlab.solvers.nonlinear.steady_1d": [ + "SteadyOptions", + "SteadyState1D", + "SteadyStateError", + "solve_equilibrium", + "solve_steady_state" + ], + "solarlab.solvers.nonlinear.production": [ + "production_coordinates", + "production_residual_scaling", + "production_steady_linearization", + "production_steady_problem", + "HISTORICAL_MAX_ROW_V1", + "POISSON_CONTACT_BALANCE_V1", + "production_convergence_norm" + ], + "solarlab.experiments.jv.steady": [ + "SteadyJVMetrics", + "SteadyJVResult", + "steady_jv_metrics", + "run_steady_jv", + "publish_steady_jv", + "read_steady_jv", + "steady_jv_payload" + ], + "solarlab.sweeps.steady": [ + "SteadySweepPoint", + "run_prepared_steady_sweep" + ], + "solarlab.experiments.jv.operating_points": [ + "DirectVocError", + "DirectVocResult", + "VocBracketError", + "VocFailure", + "solve_direct_voc" + ], + "solarlab.physics.ions": [ + "DIFFUSION_ONLY_STERIC_V1", + "HISTORICAL_OCCUPANCY_CLIP", + "HISTORICAL_STERIC_FLOOR", + "IonFaceFluxJacobian", + "WHOLE_FLUX_STERIC_V1", + "ion_continuity_rhs", + "ion_continuity_rhs_neg", + "ion_face_flux", + "ion_face_flux_jacobian", + "ion_flux_steric", + "shared_site_densities", + "shared_site_fractions", + "shifted_logistic_density", + "single_site_density" + ], + "solarlab.physics.ions.migration": [ + "DIFFUSION_ONLY_STERIC_V1", + "HISTORICAL_OCCUPANCY_CLIP", + "HISTORICAL_STERIC_FLOOR", + "IonFaceFluxJacobian", + "WHOLE_FLUX_STERIC_V1", + "ion_continuity_rhs", + "ion_continuity_rhs_neg", + "ion_face_flux", + "ion_face_flux_jacobian", + "ion_flux_steric" + ], + "solarlab.physics.ions.finite_site": [ + "shared_site_densities", + "shared_site_fractions", + "shifted_logistic_density", + "single_site_density" + ], + "solarlab.experiments.jv.worker": [ + "SteadyJVProtocol", + "SteadyJVJob", + "prepare_steady_jv_job", + "steady_jv_worker_binding", + "read_steady_jv_job", + "run_steady_jv_worker", + "steady_jv_identity_inputs", + "validate_steady_jv_scope" + ], + "solarlab.solvers.linear": [ + "FrequencyOptions", + "FrequencySolution", + "FrequencySolveError", + "solve_frequency_systems" + ], + "solarlab.solvers.linear.frequency_domain": [ + "FrequencyOptions", + "FrequencySolution", + "FrequencySolveError", + "solve_frequency_systems" + ], + "solarlab.experiments.impedance": [ + "SmallSignalResult1D", + "voltage_reference_direction", + "solve_impedance" + ], + "solarlab.sweeps.steady_worker": [ + "SteadySweepJobs", + "prepare_steady_sweep_jobs", + "read_steady_sweep_jobs" + ], + "solarlab.solvers.time": [ + "BackwardEuler1DStep", + "inventory_m2", + "step_accounting" + ], + "solarlab.solvers.time.backward_euler": [ + "BackwardEuler1DStep", + "inventory_m2", + "step_accounting" + ], + "solarlab.experiments.transient": [ + "TransientProtocol", + "TransientOptions", + "TransientAttempt", + "TransientResult1D", + "solve_transient" + ], + "solarlab.device.compile_ionic_1d": [ + "CompiledIonicDevice1D", + "compile_ionic_device_1d" + ], + "solarlab.equations.ionic_1d": [ + "CompiledIonicDevice1D", + "Ionic1DProblem", + "IonicState1D" + ], + "solarlab.solvers.nonlinear.ionic_1d": [ + "ConstrainedIonic1DProblem", + "IonicSteadyOptions", + "IonicSteadyResult", + "solve_ionic_steady_state", + "ionic_steady_control_record" + ], + "solarlab.experiments.transient_results": [ + "CapturedTransientRun", + "run_transient_for_publication", + "publish_transient_result", + "read_transient_result", + "transient_result_payload" + ], + "solarlab.experiments.transient_worker": [ + "TransientJob", + "prepare_transient_job", + "transient_worker_binding", + "run_transient_worker", + "read_transient_job", + "transient_identity_inputs" + ], + "solarlab.solvers.time.ionic_backward_euler": [ + "IonicBackwardEuler1DStep", + "finite_site_secant_m3", + "inventory_m2", + "step_accounting", + "ionic_step_accounting" + ], + "solarlab.experiments.ionic_transient": [ + "IonicTransientInitial", + "IonicTransientOptions", + "IonicTransientAttempt", + "IonicTransientResult", + "load_ionic_steady_initial", + "solve_ionic_transient" + ], + "solarlab.solvers.nonlinear.problem": [ + "SolveBudget" + ], + "solarlab.equations.ionic_small_signal": [ + "IonicACSystem", + "IonicSmallSignal1D", + "build_ionic_small_signal" + ], + "solarlab.experiments.ionic_impedance": [ + "IonicImpedanceOptions", + "IonicImpedanceAttempt", + "IonicImpedanceResult", + "solve_ionic_impedance", + "write_ionic_impedance_result", + "read_ionic_impedance_result" + ], + "solarlab.equations.ionic_closure": [ + "ion_mobility_partition", + "declared_immobile_profiles", + "immobile_profile_binding", + "ionic_closure_residual", + "ionic_closure_jacobian" + ], + "solarlab.experiments.jv.ionic_steady": [ + "IonicSteadyJVOptions", + "IonicSteadyJVAttempt", + "IonicSteadyJVResult", + "run_ionic_steady_jv", + "write_ionic_steady_jv", + "read_ionic_steady_jv" + ], + "solarlab.experiments.ionic_transient_worker": [ + "IonicTransientJob", + "prepare_ionic_transient_job", + "ionic_transient_worker_binding", + "run_ionic_transient_worker", + "read_ionic_transient_job", + "ionic_transient_identity_inputs" + ], + "solarlab.experiments.ionic_transient_results": [ + "ionic_initial_document", + "ionic_transient_payload", + "validate_ionic_history" + ], + "solarlab.experiments.ionic_initialization": [ + "IonicInitializationOptions", + "IonicInitializationResult", + "IonicDensitySeedArtifact", + "load_ionic_density_seed", + "initialize_ionic_steady_state", + "write_ionic_initialization", + "read_ionic_initialization" + ], + "solarlab.device.compile_multiple_ionic_1d": [ + "CompiledMultipleIonicDevice1D", + "compile_multiple_ionic_device_1d" + ], + "solarlab.equations.multiple_ionic_1d": [ + "CompiledMultipleIonicDevice1D", + "MultipleIonic1DProblem", + "MultipleIonicState1D" + ], + "solarlab.solvers.nonlinear.multiple_ionic_1d": [ + "ConstrainedMultipleIonic1DProblem", + "MultipleIonicSteadyResult", + "multiple_ionic_diagnostics", + "multiple_ionic_checks", + "solve_multiple_ionic_steady_state" + ], + "solarlab.solvers.time.multiple_ionic_backward_euler": [ + "MultipleIonicBackwardEuler1DStep", + "multiple_ionic_step_accounting" + ], + "solarlab.experiments.multiple_ionic_transient": [ + "MultipleIonicTransientInitial", + "MultipleIonicTransientAttempt", + "MultipleIonicTransientResult", + "load_multiple_ionic_steady_initial", + "solve_multiple_ionic_transient", + "write_multiple_ionic_transient", + "read_multiple_ionic_transient" + ], + "solarlab.experiments.jv.ionic_worker": [ + "IonicJVProtocol", + "IonicJVInitial", + "IonicJVJob", + "prepare_ionic_jv_job", + "ionic_jv_worker_binding", + "run_ionic_jv_worker", + "read_ionic_jv_job", + "ionic_jv_identity_inputs", + "REGISTERED_WALL_SECONDS" + ], + "solarlab.experiments.jv.ionic_results": [ + "ionic_jv_payload" + ], + "solarlab.experiments.two_dimensional.steady_worker": [ + "INITIAL_POLICY", + "REQUEST_SCHEMA", + "RESULT_SCHEMA", + "Steady2DProtocol", + "Steady2DJob", + "prepare_steady_2d_job", + "steady_2d_worker_binding", + "run_steady_2d_worker", + "read_steady_2d_job" + ], + "solarlab.experiments.two_dimensional.steady_results": [ + "steady_2d_payload", + "read_steady_2d_job" + ], + "solarlab.solvers.nonlinear.steady_2d": [ + "Steady2DOptions", + "Steady2DResult", + "solve_steady_state_2d" + ] + }, + "checked_consumers": [ + "solarlab_server", + "solarlab_research" + ], + "future_contracts": { + "owner": "WS3", + "namespace": "solarlab.contracts", + "rule": "Low-level protocols only; implementation and export list come from WS3, not placeholder source from WS2." + } +} diff --git a/src/solarlab/reproducibility/__init__.py b/src/solarlab/reproducibility/__init__.py new file mode 100644 index 00000000..c0b02ab7 --- /dev/null +++ b/src/solarlab/reproducibility/__init__.py @@ -0,0 +1,28 @@ +"""Source-verified registry migration, without scientific execution admission.""" + +from typing import TYPE_CHECKING + +if TYPE_CHECKING: + from solarlab.reproducibility.registry import MigrationRegistry, load_registry, validate_registry_pair + from solarlab.reproducibility.sources import SourceRef, SourceSet, read_sources + +__all__ = ["MigrationRegistry", "load_registry", "validate_registry_pair", "SourceRef", "SourceSet", "read_sources"] + + +def __getattr__(name: str) -> object: + if name in ("MigrationRegistry", "load_registry", "validate_registry_pair"): + from solarlab.reproducibility import registry + + value = getattr(registry, name) + elif name in ("SourceRef", "SourceSet", "read_sources"): + from solarlab.reproducibility import sources + + value = getattr(sources, name) + else: + raise AttributeError(f"module {__name__!r} has no attribute {name!r}") + globals()[name] = value + return value + + +def __dir__() -> list[str]: + return sorted(set(globals()) | set(__all__)) diff --git a/src/solarlab/reproducibility/configuration_migration.py b/src/solarlab/reproducibility/configuration_migration.py new file mode 100644 index 00000000..4ae91e3f --- /dev/null +++ b/src/solarlab/reproducibility/configuration_migration.py @@ -0,0 +1,300 @@ +"""Explicit data-source switchover for the existing configuration inventory. + +The original registry retains all old scientific claims and remains immutable. +A new selection manifest binds v2 data to a strict v2 consumer; it grants no +experiment or numerical qualification. All I/O is confined to the CLI/publisher. +""" +from __future__ import annotations + +import argparse +from dataclasses import dataclass +import hashlib +import json +import warnings +from pathlib import Path, PurePosixPath +import posixpath +from typing import Any + +from solarlab.config.migration import migrate_configuration, read_configuration_v2 +from solarlab.device.defaults import DefaultCatalog +from solarlab.device.resolved import PreparedDevice, PreparedTandem +from solarlab.materials.resources import ResourceLibrary +from solarlab.materials.source import SourceDocument +from solarlab.reproducibility.preparation import prepare_configuration, read_preparation_context +from solarlab.reproducibility.registry import MigrationRegistry, RegistryDocument, load_registry, mapping +from solarlab.reproducibility.sources import read_sources, relative_path + +__all__ = ["ConfigurationMigrationPlan", "prepare_configuration_migration", + "prepare_registered_configuration_v2", "read_selected_configuration_v2", "load_selected_configuration_v2", + "publish_configuration_migration"] + +_READER = "solarlab.reproducibility.configuration_migration:read_selected_configuration_v2" + + +def _json(value: Any) -> bytes: + return json.dumps(value, sort_keys=True, separators=(",", ":"), allow_nan=False).encode() + + +@dataclass(frozen=True, slots=True) +class ConfigurationMigrationPlan: + files: tuple[tuple[str, SourceDocument], ...] + report_json: bytes + selection_json: bytes + + @property + def sha256(self) -> str: + return hashlib.sha256(self.report_json).hexdigest() + + @property + def supported(self) -> bool: + return bool(self.files) and not self.export()["blocked"] + + def export(self) -> dict[str, Any]: + return json.loads(self.report_json) + + +def prepare_registered_configuration_v2( + registry: MigrationRegistry, id: str, document: SourceDocument, *, + defaults: DefaultCatalog, resources: ResourceLibrary, + expected_document_sha256: str | None = None, strict_derived_metadata: bool = False, + reconciliation: dict[str, Any] | None = None, +) -> PreparedDevice | PreparedTandem: + """Consume v2 directly; old-source labels remain original evidence only.""" + entry = registry.entry(id) + expected = entry.preparation + if entry.section != "configs" or expected is None or expected.status != "prepared_only": + raise ValueError("the selected original configuration has no accepted data preparation") + if expected_document_sha256 is not None and document.sha256 != expected_document_sha256: + raise ValueError("v2 selected configuration content binding mismatch") + value = read_configuration_v2(document, defaults=defaults, resources=resources, sources=registry.sources.documents) + if value.to_input().id != expected.input_id: + raise ValueError("v2 data differs from the original registered preparation; retain the old path") + comparison = {"recorded_prepared_sha256": expected.content_sha256, + "current_prepared_sha256": value.content_sha256, + "status": "same" if value.content_sha256 == expected.content_sha256 else "different"} + if reconciliation is not None: + reconciliation.update(comparison) + if comparison["status"] == "different": + # Without an independent original-document digest a changed declaration + # cannot be distinguished from derived metadata drift. + if expected_document_sha256 is None or strict_derived_metadata: + raise ValueError("v2 data differs from the original registered preparation; retain the old path") + warnings.warn("bound v2 input bytes unchanged; derived preparation metadata differs from the recorded identity", + RuntimeWarning, stacklevel=2) + return value + + +def read_selected_configuration_v2( + registry: MigrationRegistry, selection: SourceDocument, id: str, *, documents: tuple[SourceDocument, ...], + defaults: DefaultCatalog, resources: ResourceLibrary, + strict_derived_metadata: bool = False, reconciliation: dict[str, Any] | None = None, +) -> PreparedDevice | PreparedTandem: + """The actual consumer of the published data-source selection manifest.""" + reference = registry.spec.configuration_selection + if reference is not None and (selection.id != reference.path or selection.sha256 != reference.sha256): + raise ValueError("v2 selection differs from the matrix data pin") + data = mapping(selection) + original_registry = registry.sources.document(registry.spec.original_registry) + if (set(data) != {"schema_version", "reader", "original_registry", "configurations", "scope", "can_execute", "scientific_gates_awarded"} + or data["schema_version"] != "solarlab.configuration-sources.v2" or data["reader"] != _READER + or data["original_registry"] != {"id": original_registry.id, "sha256": original_registry.sha256} + or data["scope"] != "data_source_selection_only" or data["can_execute"] is not False + or data["scientific_gates_awarded"] != []): + raise ValueError("v2 selection schema, source or scope binding mismatch") + rows = data["configurations"] + if not isinstance(rows, list) or any(not isinstance(row, dict) for row in rows): + raise ValueError("v2 selection requires configuration rows") + names = [] + for row in rows: + if set(row) != {"id", "path", "document_id", "sha256", "prepared_content_sha256", "original_source"}: + raise ValueError("v2 selection row schema mismatch") + if any(type(row[key]) is not str for key in ("id", "path", "document_id", "sha256", "prepared_content_sha256")): + raise ValueError("v2 selection identifiers and digests must be strings") + names.append(relative_path(row["path"])) + if len({row["id"] for row in rows}) != len(rows) or len(set(names)) != len(rows): + raise ValueError("duplicate v2 configuration selection") + row = next((row for row in rows if row["id"] == id), None) + trusted = {document.id: document for document in documents if type(document) is SourceDocument} + if row is None or len(trusted) != len(documents): + raise ValueError("unknown v2 selection or duplicate supplied document ID") + document = trusted.get(row["document_id"]) + original = registry.sources.at_path(registry.spec.original_path_root + "/" + registry.entry(id).original_key) + if (document is None or document.sha256 != row["sha256"] + or row["original_source"] != {"id": original.id, "sha256": original.sha256}): + raise ValueError("v2 selected configuration content binding mismatch") + expected = registry.entry(id).preparation + if expected is None or row["prepared_content_sha256"] != expected.content_sha256: + raise ValueError("v2 selected preparation content binding mismatch") + value = prepare_registered_configuration_v2(registry, id, document, defaults=defaults, resources=resources, + expected_document_sha256=row["sha256"], strict_derived_metadata=strict_derived_metadata, + reconciliation=reconciliation) + return value + + +def load_selected_configuration_v2( + registry: MigrationRegistry, id: str, *, source_root: Path, + defaults: DefaultCatalog, resources: ResourceLibrary, +) -> PreparedDevice | PreparedTandem: + """Read the matrix's pinned v2 selection from an explicit data bundle.""" + reference = registry.spec.configuration_selection + if reference is None or not Path(source_root).is_absolute(): + raise ValueError("the matrix must select v2 data with an explicit absolute source root") + root = Path(source_root).resolve(strict=True) + selection_path = (root / reference.path).resolve(strict=True) + if not selection_path.is_relative_to(root): + raise ValueError("v2 selection escapes the explicit source root") + selection = SourceDocument(reference.path, selection_path.read_bytes()) + if selection.sha256 != reference.sha256: + raise ValueError("v2 selection differs from the matrix data pin") + rows = mapping(selection).get("configurations") + if not isinstance(rows, list): + raise ValueError("v2 selection requires configuration rows") + row = next((row for row in rows if isinstance(row, dict) and row.get("id") == id), None) + if row is None: + raise ValueError("configuration is absent from the selected v2 dataset") + path = (selection_path.parent / relative_path(row["path"])).resolve(strict=True) + if not path.is_relative_to(selection_path.parent): + raise ValueError("v2 configuration escapes the selected namespace") + document = SourceDocument(row["document_id"], path.read_bytes()) + return read_selected_configuration_v2(registry, selection, id, documents=(document,), defaults=defaults, resources=resources) + + +def prepare_configuration_migration( + registry: MigrationRegistry, *, ids: tuple[str, ...] | None = None, +) -> ConfigurationMigrationPlan: + """Dry-run the exact registered inputs through the one forward migrator.""" + if registry.spec.kind != "configuration_matrix": + raise ValueError("configuration migration requires the actual configuration matrix") + defaults, resources = read_preparation_context(registry) + all_ids = tuple(entry.id for entry in registry.spec.entries if entry.section == "configs") + selected = all_ids if ids is None else tuple(ids) + if not selected or len(set(selected)) != len(selected) or not set(selected) <= set(all_ids): + raise ValueError("select unique existing configuration entry IDs") + files = [] + rows = [] + blocked = [] + bindings = [] + for id in selected: + entry = registry.entry(id) + prepared = prepare_configuration(registry, id, defaults=defaults, resources=resources).prepared + if prepared is None: + blocked.append({"id": id, "issues": entry.preparation.model_dump(mode="json") if entry.preparation else None}) + continue + source = registry.sources.at_path(registry.spec.original_path_root + "/" + entry.original_key) + references = {} + if isinstance(prepared, PreparedTandem): + parent = PurePosixPath(registry.sources.reference(source.id).path).parent + declaration = prepared.to_input() + for name in (declaration.top_cell_reference, declaration.bottom_cell_reference): + references[name] = registry.sources.at_path(relative_path(posixpath.normpath(str(parent / name)))) + result = migrate_configuration(source, format=registry.original(id)["schema"], input_id=prepared.to_input().id, + defaults=defaults, resources=resources, references=references) + row = {"id": id, "original_key": entry.original_key, "legacy_status": entry.legacy_status, + "legacy_claim_level": entry.legacy_claim_level, "legacy_evidence_tier": entry.legacy_evidence_tier, + "legacy_semantic_sha256": entry.legacy_semantic_sha256, "migration": result.export()} + rows.append(row) + if result.document is None: + blocked.append({"id": id, "issues": result.export()["issues"]}) + continue + reopened = prepare_registered_configuration_v2(registry, id, result.document, defaults=defaults, resources=resources) + if reopened.to_mapping() != prepared.to_mapping() or reopened.input_json != prepared.input_json: + raise ValueError("registered v2 consumer changed the actual prepared payload") + path = relative_path(str(PurePosixPath(entry.original_key).with_suffix(".json"))) + files.append((path, result.document)) + bindings.append({"id": id, "path": path, "document_id": result.document.id, "sha256": result.document.sha256, + "prepared_content_sha256": prepared.content_sha256, + "original_source": {"id": source.id, "sha256": source.sha256}}) + if len({path for path, _ in files}) != len(files): + raise ValueError("v2 target configuration paths collide") + source = registry.sources.document(registry.spec.original_registry) + selection = {"schema_version": "solarlab.configuration-sources.v2", "reader": _READER, + "original_registry": {"id": source.id, "sha256": source.sha256}, "configurations": bindings, + "scope": "data_source_selection_only", "can_execute": False, "scientific_gates_awarded": []} + report = {"schema": "solarlab.configuration-switch-plan.v1", "registry": selection["original_registry"], + "migration_control_registry": {"id": registry.source.id, "sha256": registry.source.sha256}, + "default_catalog_sha256": defaults.content_sha256, "resource_library_sha256": resources.content_sha256, + "selected_ids": list(selected), "rows": rows, "blocked": blocked, + "selection_sha256": hashlib.sha256(_json(selection)).hexdigest(), "can_execute": False, + "scientific_gates_awarded": [], "original_registry_activation": registry.spec.activation} + return ConfigurationMigrationPlan(tuple(files), _json(report), _json(selection)) + + +def publish_configuration_migration( + plan: ConfigurationMigrationPlan, destination: Path, *, expected_plan_sha256: str, +) -> Path: + """Publish an explicitly selected, previously inspected data-only plan. + + Existing namespaces are refused. The manifest is written last, so a write + failure cannot make an incomplete namespace appear as a complete selection. + """ + if type(plan) is not ConfigurationMigrationPlan or plan.sha256 != expected_plan_sha256 or not plan.supported: + raise ValueError("a complete matching dry-run plan is required before data publication") + destination = Path(destination) + if not destination.is_absolute() or destination.exists(): + raise ValueError("publication requires a new explicit absolute destination") + selection = json.loads(plan.selection_json) + report = plan.export() + names = tuple(relative_path(path) for path, _ in plan.files) + if (hashlib.sha256(plan.selection_json).hexdigest() != report["selection_sha256"] + or len(set(names)) != len(names) or "ConfigurationSourcesV2.json" in names + or {(row["path"], row["sha256"]) for row in selection["configurations"]} + != {(path, document.sha256) for path, document in plan.files}): + raise ValueError("migration file/selection content binding mismatch") + destination.mkdir() + for name, document in plan.files: + path = destination / relative_path(name) + path.parent.mkdir(parents=True, exist_ok=True) + with path.open("xb") as stream: + stream.write(document.content) + if hashlib.sha256(path.read_bytes()).hexdigest() != document.sha256: + raise ValueError("published configuration bytes differ") + manifest = destination / "ConfigurationSourcesV2.json" + with manifest.open("xb") as stream: + stream.write(plan.selection_json) + return manifest + + +def main() -> None: + parser = argparse.ArgumentParser(description=__doc__) + parser.add_argument("--registry", type=Path, required=True) + parser.add_argument("--source-root", type=Path, required=True) + parser.add_argument("--entry", action="append") + parser.add_argument("--report", type=Path, required=True) + modes = parser.add_mutually_exclusive_group(required=True) + modes.add_argument("--dry-run", action="store_true") + modes.add_argument("--apply", action="store_true") + modes.add_argument("--check-selected", action="store_true") + parser.add_argument("--destination", type=Path) + parser.add_argument("--expected-plan-sha256") + args = parser.parse_args() + registry_path = args.registry.resolve() + registry_id = relative_path(registry_path.relative_to(args.source_root.resolve()).as_posix()) + original = SourceDocument(registry_id, registry_path.read_bytes()) + spec = RegistryDocument.model_validate(mapping(original)) + registry = load_registry(original, read_sources(args.source_root, spec.sources).documents) + if args.check_selected: + defaults, resources = read_preparation_context(registry) + ids = args.entry or [entry.id for entry in registry.spec.entries if entry.section == "configs"] + rows = [{"id": id, "prepared_content_sha256": load_selected_configuration_v2(registry, id, + source_root=args.source_root, defaults=defaults, resources=resources).content_sha256} for id in ids] + result = {"schema": "solarlab.selected-configurations-check.v1", "passed": True, + "configurations": rows, "can_execute": False, "scientific_gates_awarded": []} + args.report.write_bytes(_json(result)) + print(json.dumps({"passed": True, "configurations": len(rows), "report": str(args.report)}, indent=2)) + return + plan = prepare_configuration_migration(registry, ids=tuple(args.entry) if args.entry else None) + output = {"report": str(args.report), "plan_sha256": plan.sha256, "supported": plan.supported, + "configurations": len(plan.files), "can_execute": False} + if args.apply: + if args.destination is None or args.expected_plan_sha256 is None: + parser.error("--apply requires --destination and --expected-plan-sha256 from the inspected dry-run") + output["manifest"] = str(publish_configuration_migration(plan, args.destination, + expected_plan_sha256=args.expected_plan_sha256)) + args.report.write_bytes(plan.report_json) + print(json.dumps(output, indent=2)) + if not plan.supported: + raise SystemExit(1) + + +if __name__ == "__main__": + main() diff --git a/src/solarlab/reproducibility/job_provenance.py b/src/solarlab/reproducibility/job_provenance.py new file mode 100644 index 00000000..fa16453c --- /dev/null +++ b/src/solarlab/reproducibility/job_provenance.py @@ -0,0 +1,486 @@ +"""Job-owned source capture and read-only provenance comparison. + +Only admission reads the execution source tree. Numerical code may carry the +active record's reference, but never discovers or rechecks Python files. A +historical reader consumes recorded data and an optional supplied current +record; it does not discover the current installation. +""" +from __future__ import annotations + +from collections.abc import Iterator, Mapping, Sequence +from contextlib import contextmanager +from contextvars import ContextVar +from dataclasses import dataclass +import hashlib +import importlib.metadata +import json +import os +from pathlib import Path +import platform +import re +import subprocess +from typing import Any, Literal + + +SCHEMA = "solarlab.job-provenance.v1" +DirtyPolicy = Literal["record", "refuse"] +_LIMIT = 4 * 1024**2 +_THREADS = ("OMP_NUM_THREADS", "OPENBLAS_NUM_THREADS", "MKL_NUM_THREADS", + "VECLIB_MAXIMUM_THREADS", "NUMEXPR_NUM_THREADS", "BLIS_NUM_THREADS") +_ACTIVE: ContextVar[JobProvenance | None] = ContextVar("solarlab_job_provenance", default=None) +_OWNER: ContextVar[dict[str, Any] | None] = ContextVar("solarlab_job_provenance_owner", default=None) + + +def canonical(value: Any) -> bytes: + """Canonical metadata bytes, separate from original numerical array bytes.""" + return json.dumps(value, sort_keys=True, separators=(",", ":"), + ensure_ascii=True, allow_nan=False).encode() + + +def digest(value: Any) -> str: + return hashlib.sha256(canonical(value)).hexdigest() + + +def _sha(value: Any, *, optional: bool = False) -> None: + if optional and value is None: + return + if not isinstance(value, str) or re.fullmatch(r"[0-9a-f]{64}", value) is None: + raise ValueError("provenance requires a SHA-256 content digest") + + +def _commit(value: Any) -> None: + if value is not None and (not isinstance(value, str) + or re.fullmatch(r"[0-9a-f]{40}|[0-9a-f]{64}", value) is None): + raise ValueError("provenance commit must be an immutable commit or unknown") + + +@dataclass(frozen=True, slots=True) +class JobProvenance: + """Immutable canonical admission metadata; no acceptance is inferred.""" + + canonical_json: bytes + + def __post_init__(self) -> None: + if type(self.canonical_json) is not bytes or len(self.canonical_json) > _LIMIT: + raise ValueError("provenance must be bounded immutable metadata") + value = json.loads(self.canonical_json) + fields = {"schema", "git_commit", "source_state", "dirty_policy", "dirty_paths", + "source_tree_sha256", "source_scope", "source_files", "input_sha256", + "environment_lock_sha256", "runtime_observed", "assembler", "attempt_ref", "execution_manifest_sha256"} + if not isinstance(value, dict) or set(value) != fields or value["schema"] != SCHEMA: + raise ValueError("unsupported job provenance schema") + if canonical(value) != self.canonical_json: + raise ValueError("job provenance is not canonical") + _commit(value["git_commit"]) + for name in ("input_sha256", "source_tree_sha256"): + _sha(value[name]) + _sha(value["environment_lock_sha256"], optional=True) + _sha(value["execution_manifest_sha256"], optional=True) + if value["dirty_policy"] not in {"record", "refuse"}: + raise ValueError("explicit dirty-source policy is required") + if value["source_state"] not in {"clean", "dirty_recorded", "unknown"}: + raise ValueError("unsupported source state") + paths = value["dirty_paths"] + if (not isinstance(paths, list) or any(not isinstance(p, str) or not p for p in paths) + or paths != sorted(set(paths))): + raise ValueError("dirty paths must be unique recorded paths") + if value["source_state"] == "clean" and (paths or value["git_commit"] is None): + raise ValueError("clean provenance cannot conceal dirty or unknown source") + if value["source_state"] == "dirty_recorded" and (not paths or value["dirty_policy"] != "record"): + raise ValueError("dirty provenance needs explicit recording") + files = value["source_files"] + if not isinstance(files, list): + raise ValueError("source inventory must be a list") + names = [] + for item in files: + if (not isinstance(item, dict) or set(item) != {"path", "mode", "sha256"} + or not isinstance(item["path"], str) or not item["path"] + or item["mode"] not in {"file", "executable", "supplied"}): + raise ValueError("invalid admitted source record") + _sha(item["sha256"]) + names.append(item["path"]) + if names != sorted(set(names)) or digest(files) != value["source_tree_sha256"]: + raise ValueError("source tree digest differs from the admitted inventory") + if value["source_state"] == "clean" and not files: + raise ValueError("clean provenance requires an actual source inventory") + if not isinstance(value["source_scope"], str) or not value["source_scope"]: + raise ValueError("source inventory scope is required") + assembler = value["assembler"] + if (not isinstance(assembler, dict) or set(assembler) != {"operator", "unified_assembler", "identity", "analysis_identity"} + or not isinstance(assembler["operator"], str) or not assembler["operator"]): + raise ValueError("actual assembler/operator description is required") + if type(assembler["unified_assembler"]) is not bool: + raise ValueError("assembler use must be explicit") + if assembler["unified_assembler"] != (assembler["identity"] is not None): + raise ValueError("an assembled operation requires its actual Assembler identity") + _sha(assembler["identity"], optional=True) + _sha(assembler["analysis_identity"], optional=True) + if not isinstance(value["runtime_observed"], dict): + raise ValueError("observed runtime metadata is required") + attempt = value["attempt_ref"] + if attempt is not None and (not isinstance(attempt, dict) + or any(not isinstance(k, str) or not isinstance(v, (str, int)) for k, v in attempt.items())): + raise ValueError("invalid provenance attempt reference") + + @classmethod + def from_record(cls, record: Mapping[str, Any]) -> JobProvenance: + return cls(canonical(dict(record))) + + @property + def sha256(self) -> str: + return hashlib.sha256(self.canonical_json).hexdigest() + + def export(self) -> dict[str, Any]: + return dict(json.loads(self.canonical_json)) + + def envelope(self) -> dict[str, Any]: + return {"sha256": self.sha256, "record": self.export()} + + +def read_provenance(value: Mapping[str, Any]) -> JobProvenance: + """Check recorded provenance content without examining current source.""" + if set(value) != {"sha256", "record"} or not isinstance(value["record"], dict): + raise ValueError("invalid provenance envelope") + record = JobProvenance.from_record(value["record"]) + if record.sha256 != value["sha256"]: + raise ValueError("producer provenance content digest mismatch") + return record + + +def _git(root: Path, *arguments: str) -> str: + result = subprocess.run(["git", "-C", str(root), *arguments], + capture_output=True, text=True, timeout=15) + if result.returncode: + raise ValueError("execution source is not an available Git checkout") + return result.stdout + + +def execution_checkout() -> Path | None: + """Locate this imported package's source checkout, never a caller's cwd.""" + candidate = Path(__file__).resolve().parents[3] + if not (candidate / "pyproject.toml").is_file(): + return None + try: + actual = Path(_git(candidate, "rev-parse", "--show-toplevel").strip()).resolve() + except (ValueError, OSError, subprocess.TimeoutExpired): + return None + return actual if actual == candidate else None + + +def _runtime() -> dict[str, Any]: + return {"python": platform.python_version(), "implementation": platform.python_implementation(), + "system": platform.system(), "machine": platform.machine(), + "packages": dict(sorted((d.metadata["Name"].lower().replace("_", "-"), d.version) + for d in importlib.metadata.distributions() if d.metadata["Name"])), + "settings": {name: os.environ.get(name) for name in _THREADS}} + + +def capture_job_provenance( + inputs: Mapping[str, Any], *, dirty_policy: DirtyPolicy, operator: str, + source_root: Path | None = None, git_commit: str | None = None, + source_files: Sequence[tuple[str, bytes]] | None = None, + environment_lock: bytes | None = None, source_attested: bool = False, + source_dirty_paths: Sequence[str] = (), + assembler_identity: str | None = None, + analysis_identity: str | None = None, attempt_ref: Mapping[str, str | int] | None = None, + execution_manifest_sha256: str | None = None, +) -> JobProvenance: + """Capture once at a trusted job boundary; supplied bytes require authority. + + A Git checkout is inspected only when explicitly supplied. An installed + source bundle can supply its existing attested commit/content/lock instead; + without that attestation its source state remains unknown. + """ + if dirty_policy not in {"record", "refuse"}: + raise ValueError("explicit dirty-source policy is required") + _commit(git_commit) + _sha(assembler_identity, optional=True) + _sha(analysis_identity, optional=True) + if assembler_identity is not None and analysis_identity is None: + raise ValueError("an actual assembler requires explicit analysis-operation identity") + dirty: list[str] = sorted(set(source_dirty_paths)) + files: list[dict[str, str]] = [] + state = "dirty_recorded" if dirty else "clean" if source_attested and git_commit is not None else "unknown" + scope = "supplied-content-v1" if source_files is not None else "unrecorded" + if source_root is not None: + if source_dirty_paths: + raise ValueError("checkout changes are observed, never supplied by payload") + root = source_root.resolve(strict=True) + actual = _git(root, "rev-parse", "HEAD").strip() + if git_commit is not None and git_commit != actual: + raise ValueError("job source commit differs from the selected checkout") + git_commit = actual + changed = _git(root, "diff", "--name-only", "-z", "HEAD", "--", "src", "pyproject.toml", "uv.lock") + new = _git(root, "ls-files", "--others", "--exclude-standard", "-z", "--", "src", "pyproject.toml", "uv.lock") + dirty = sorted(set(filter(None, (changed + new).split("\0")))) + state = "dirty_recorded" if dirty else "clean" + scope = "checkout-first-party-src/path-mode-sha256-v1" + observations: dict[Path, os.stat_result] = {} + inventory = _git(root, "ls-files", "--cached", "--others", "--exclude-standard", "-z", "--", "src") + for name in sorted(set(filter(None, inventory.split("\0")))): + path = root / name + if not path.exists(): + continue # Deletions are retained in dirty_paths. + if path.is_symlink() or not path.resolve().is_relative_to(root) or not path.is_file(): + raise ValueError("source snapshot contains an escaping or non-file path") + if path.suffix in {".pyc", ".pyo"} or "__pycache__" in path.parts: + continue + observations[path] = path.stat() + files.append({"path": name, "mode": "executable" if path.stat().st_mode & 0o111 else "file", + "sha256": hashlib.sha256(path.read_bytes()).hexdigest()}) + if environment_lock is None and (root / "uv.lock").is_file(): + observations[root / "uv.lock"] = (root / "uv.lock").stat() + environment_lock = (root / "uv.lock").read_bytes() + def stamp(info: os.stat_result) -> tuple[int, int, int, int]: + return info.st_ino, info.st_size, info.st_mtime_ns, info.st_ctime_ns + if (any(not path.is_file() or stamp(path.stat()) != stamp(before) for path, before in observations.items()) + or _git(root, "rev-parse", "HEAD").strip() != actual + or _git(root, "diff", "--name-only", "-z", "HEAD", "--", "src", "pyproject.toml", "uv.lock") != changed + or _git(root, "ls-files", "--others", "--exclude-standard", "-z", "--", "src", "pyproject.toml", "uv.lock") != new + or _git(root, "ls-files", "--cached", "--others", "--exclude-standard", "-z", "--", "src") != inventory): + raise ValueError("execution source snapshot changed during admission; freeze it before running") + if source_files is not None: + if source_root is not None: + raise ValueError("choose the execution checkout or supplied source snapshot explicitly") + files = [{"path": name, "mode": "supplied", "sha256": hashlib.sha256(content).hexdigest()} + for name, content in sorted(source_files)] + if dirty_policy == "refuse" and state != "clean": + raise ValueError("strict source admission requires a clean attested source snapshot") + return JobProvenance.from_record({ + "schema": SCHEMA, "git_commit": git_commit, "source_state": state, + "dirty_policy": dirty_policy, "dirty_paths": dirty, "source_scope": scope, + "source_files": files, "source_tree_sha256": digest(files), "input_sha256": digest(dict(inputs)), + "environment_lock_sha256": hashlib.sha256(environment_lock).hexdigest() if environment_lock is not None else None, + "runtime_observed": _runtime(), "assembler": {"operator": operator, + "unified_assembler": assembler_identity is not None, + "identity": assembler_identity, "analysis_identity": analysis_identity or digest({"operator": operator})}, + "attempt_ref": dict(attempt_ref) if attempt_ref is not None else None, + "execution_manifest_sha256": execution_manifest_sha256, + }) + + +def current_provenance() -> dict[str, Any] | None: + """Return detached admission metadata; no capture or filesystem access.""" + active = _ACTIVE.get() + return None if active is None else active.envelope() + + +def current_provenance_ref() -> str | None: + active = _ACTIVE.get() + return None if active is None else active.sha256 + + +def admitted_source_pins(*, path_keys: bool = False) -> dict[str, str]: + """Compatibility metadata from the one admitted snapshot, never a rehash. + + Bare numerical objects have no producer claim and expose an empty map. + Full scientific provenance is the enclosing job record, not this legacy + display field. Snapshot membership does not imply an enabled physical law. + """ + active = _ACTIVE.get() + if active is None: + return {} + result = {} + for item in active.export()["source_files"]: + name = item["path"].removeprefix("src/") + if name.startswith("solarlab/") and name.endswith(".py"): + key = name if path_keys else name[:-3].replace("/", ".") + result[key] = item["sha256"] + return result + + +@contextmanager +def provenance_owner(**options: Any) -> Iterator[dict[str, Any]]: + """Supply trusted job/package capture options to nested producer calls.""" + owner = dict(options) + token = _OWNER.set(owner) + active_token = _ACTIVE.set(None) + try: + yield owner + finally: + _ACTIVE.reset(active_token) + _OWNER.reset(token) + + +@contextmanager +def job_provenance( + inputs: Mapping[str, Any], *, operator: str | None, assembler_identity: str | None = None, + analysis_identity: str | None = None, +) -> Iterator[JobProvenance]: + """Admit once and reject reuse under a different declared binding. + + ``operator=None`` explicitly inherits an existing unassembled job's record + for a preparation substage; it cannot declare or conceal an assembler. + """ + _sha(assembler_identity, optional=True) + _sha(analysis_identity, optional=True) + if assembler_identity is not None and analysis_identity is None: + raise ValueError("provenance binding requires explicit analysis-operation identity") + owner = _OWNER.get() + existing = _ACTIVE.get() or (None if owner is None else owner.get("_record")) + if existing is not None: + binding = existing.export()["assembler"] + if operator is None: + if (assembler_identity is not None or analysis_identity is not None + or binding["unified_assembler"]): + raise ValueError("an assembled operation requires an explicit provenance binding") + elif binding != {"operator": operator, + "unified_assembler": assembler_identity is not None, + "identity": assembler_identity, + "analysis_identity": analysis_identity or digest({"operator": operator})}: + raise ValueError("declared provenance binding differs from the admitted job") + active_token = _ACTIVE.set(existing) + try: + yield existing + finally: + _ACTIVE.reset(active_token) + return + if operator is None: + raise ValueError("inherited provenance binding requires an admitted unassembled job") + options = dict(owner or {}) + actual_inputs = options.pop("input_record", inputs) + if "source_files" not in options: + options.setdefault("source_root", execution_checkout()) + options.setdefault("dirty_policy", "record") + record = capture_job_provenance(actual_inputs, operator=operator, assembler_identity=assembler_identity, + analysis_identity=analysis_identity, **options) + if owner is not None: + owner["_record"] = record + token = _ACTIVE.set(record) + try: + yield record + finally: + _ACTIVE.reset(token) + + +def compare_provenance( + producer: Mapping[str, Any] | None, current: JobProvenance | Mapping[str, Any] | None = None, + *, strict_same_source: bool = False, +) -> dict[str, Any]: + """Compare supplied records only; source drift is informational by default.""" + old = None if producer is None else read_provenance(producer) + now = current if isinstance(current, JobProvenance) else None if current is None else read_provenance(current) + left = None if old is None else old.export() + right = None if now is None else now.export() + keys = ("git_commit", "source_tree_sha256", "source_scope", "environment_lock_sha256", "assembler", "runtime_observed") + differences = [] if left is None or right is None else [name for name in keys if left[name] != right[name]] + known = (left is not None and right is not None + and all(value["source_state"] != "unknown" and value["git_commit"] is not None + and value["environment_lock_sha256"] is not None + and value["assembler"]["analysis_identity"] is not None + and value["source_scope"] in {"supplied-content-v1", "checkout-first-party-src/path-mode-sha256-v1"} + for value in (left, right))) + complete = bool(known and left is not None and right is not None + and left["source_state"] == right["source_state"] == "clean") + status = "unknown" if not known else "different" if differences else "same" + if strict_same_source and (not complete or differences): + raise ValueError("strict_same_source requires matching clean producer/current source, lock and assembler evidence") + return {"producer_identity": None if old is None else old.envelope(), + "current_identity": None if now is None else now.envelope(), + "status": status, "different_fields": differences, "complete_same_source_evidence": bool(complete and not differences), + "strict_same_source": strict_same_source, "scientific_qualification": False} + + +def result_provenance( + record: Mapping[str, Any], current: JobProvenance | Mapping[str, Any] | None = None, + *, strict_same_source: bool = False, expected_inputs: Mapping[str, Any] | None = None, +) -> dict[str, Any]: + """Validate a standalone result; process claims need their RunStore reader.""" + producer = record.get("job_provenance") + if producer is not None: + value = read_provenance(producer).export() + if value["attempt_ref"] is not None or value["execution_manifest_sha256"] is not None: + raise ValueError("process provenance requires its verified RunStore attempt and execution manifest") + if expected_inputs is not None and value["input_sha256"] != digest(dict(expected_inputs)): + raise ValueError("saved producer provenance belongs to different inputs") + return _result_provenance_comparison(record, current, strict_same_source=strict_same_source) + + +def validate_recorded_sources(record: Mapping[str, Any]) -> None: + """Check recorded source content only, without asserting input admission. + + Store readers use this for inner payloads before independently verifying + the outer job's attempt, execution manifest, input and publication record. + """ + producer = record.get("job_provenance") + admitted = None if producer is None else read_provenance(producer).export() + legacy = record.get("source_sha256", record.get("sources")) + if isinstance(legacy, dict): + for value in legacy.values(): + _sha(value) + if admitted is not None and isinstance(legacy, dict): + pins = {item["path"].removeprefix("src/"): item["sha256"] for item in admitted["source_files"]} + for key, value in legacy.items(): + path = key if "/" in key else key.replace(".", "/") + ".py" + if pins.get(path) != value: + raise ValueError("saved source metadata differs from its producer provenance") + + +def _result_provenance_comparison( + record: Mapping[str, Any], current: JobProvenance | Mapping[str, Any] | None, + *, strict_same_source: bool, +) -> dict[str, Any]: + validate_recorded_sources(record) + result = compare_provenance(record.get("job_provenance"), current, strict_same_source=strict_same_source) + result["legacy_source_sha256"] = record.get("source_sha256") + result["legacy_source_identity"] = record.get("source_identity") + return result + + +def verify_loaded_source(content: bytes, filename: str | Path, *, label: str) -> None: + """Admission consistency for a trusted installed consumer, never readback.""" + if Path(filename).read_bytes() != content: + raise ValueError("loaded " + label + " differs from the bound source bytes") + + +def worker_input_record(transport: Mapping[str, Any], execution_document: Mapping[str, Any] | None) -> dict[str, Any]: + """Actual admitted inputs; source/attempt identity is outside this digest.""" + value = {"request_sha256": transport["documents"]["request"]["sha256"], + **{k: transport[k] for k in ("H_input", "H_physics")}} + if execution_document is not None: + value["execution_inputs"] = {name: execution_document["content_roles"][name]["sha256"] + for name in ("protocol", "initial_state", "grid", "numeric_controls")} + return value + + +def worker_result_provenance( + record: Mapping[str, Any], run: Mapping[str, Any], attempt: Mapping[str, Any], *, store_id: str, + current: JobProvenance | Mapping[str, Any] | None = None, strict_same_source: bool = False, + provenance_ref: str | None = None, execution_document: Mapping[str, Any] | None = None, +) -> dict[str, Any]: + """Validate a job receipt against saved transport and attempt; never recapture.""" + producer = record.get("job_provenance") + if producer is not None: + value = read_provenance(producer).export() + reference = value["attempt_ref"] + expected = {"store_id": store_id, "run_id": run["run_id"], + "attempt_id": attempt["attempt_id"], "owner_id": attempt["owner_id"], "generation": attempt["generation"]} + if reference is None or any(reference.get(k) != v for k, v in expected.items()): + raise ValueError("saved job provenance belongs to another attempt") + if provenance_ref != read_provenance(producer).sha256: + raise ValueError("saved job provenance differs from its publication reference") + manifest_sha = run["request"]["input_metadata"]["execution_manifest"]["manifest_sha256"] + if value["execution_manifest_sha256"] != manifest_sha or record.get("manifest_sha256") != manifest_sha: + raise ValueError("saved job provenance belongs to a different execution manifest") + transport = run["request"]["input_metadata"]["transport"] + if execution_document is None: + raise ValueError("saved job provenance requires its verified execution content") + inputs = worker_input_record(transport, execution_document) + if value["input_sha256"] != digest(inputs): + raise ValueError("saved job provenance input differs from transport") + return _result_provenance_comparison(record, current, strict_same_source=strict_same_source) + + +def publication_binding(producer: Mapping[str, Any], *, owner: Mapping[str, Any], + request_identity: Mapping[str, Any], result_sha256: str) -> dict[str, Any]: + """Seal an already captured computation to a later publication token. + + The original admission record is unchanged. This digest excludes both the + later publication-manifest digest and its own checksum, avoiding a cycle. + """ + _sha(result_sha256) + value = {"schema": "solarlab.provenance-publication.v1", + "admission_sha256": read_provenance(producer).sha256, + "owner": dict(owner), "request_identity": dict(request_identity), + "result_sha256": result_sha256} + return {"sha256": digest(value), "record": value} diff --git a/src/solarlab/reproducibility/preparation.py b/src/solarlab/reproducibility/preparation.py new file mode 100644 index 00000000..ae844ac0 --- /dev/null +++ b/src/solarlab/reproducibility/preparation.py @@ -0,0 +1,109 @@ +"""Exercise declared configuration mappings through existing public readers. + +The result is a prepared declaration, never a migrated scientific executor or +an admission decision. Missing legacy input contracts remain explicit errors. +""" +from __future__ import annotations + +from dataclasses import dataclass +from pathlib import PurePosixPath +import posixpath + +from pydantic import ValidationError + +from solarlab.config.device_import import import_standard_device +from solarlab.config.legacy_defaults import read_legacy_default_catalog +from solarlab.config.resolve_device import resolve_device, resolve_tandem +from solarlab.config.scaps_input import import_scaps_device +from solarlab.config.tandem_input import import_tandem +from solarlab.config.yaml import load_yaml_mapping +from solarlab.device.defaults import DefaultCatalog +from solarlab.device.resolved import PreparedDevice, PreparedTandem +from solarlab.materials.resources import ResourceLibrary, ResourceTable +from solarlab.materials.source import SourceDocument +from solarlab.reproducibility.registry import ConfigurationPreparation, MigrationRegistry, PreparationIssue +from solarlab.reproducibility.sources import SourceSet, relative_path + + +def read_preparation_context(registry: MigrationRegistry) -> tuple[DefaultCatalog, ResourceLibrary]: + """Use explicitly bound source data; no legacy module import or discovery.""" + context = registry.spec.preparation_context + if context is None: + raise ValueError("use the configuration matrix's explicit preparation context") + catalog = read_legacy_default_catalog( + tuple(registry.sources.document(id) for id in context.default_sources), + model_sources=tuple(registry.sources.document(id) for id in context.model_sources)) + resources = ResourceLibrary(tuple(ResourceTable(PurePosixPath(registry.sources.reference(id).path).stem, "nk", registry.sources.document(id)) + for id in context.resource_sources)) + if catalog.content_sha256 != context.default_catalog_sha256 or resources.content_sha256 != context.resource_library_sha256: + raise ValueError("prepared default/resource context identity mismatch") + return catalog, resources + + +def prepare_original(source: SourceDocument, *, input_id: str, schema: str, + sources: SourceSet, defaults: DefaultCatalog, + resources: ResourceLibrary) -> PreparedDevice | PreparedTandem: + """Prepare one verified V1 input without changing its unsupported fields.""" + if sources.document(source.id) != source: + raise ValueError("configuration source is not in the verified bundle") + if schema == "standard-device-v1": + return resolve_device(import_standard_device(source, id=input_id, defaults=defaults), defaults, resources, sources=(source,)) + if schema == "scaps-device-v1": + return resolve_device(import_scaps_device(source, id=input_id, defaults=defaults), defaults, resources, sources=(source,)) + if schema != "tandem-v1": + raise ValueError("unsupported registered configuration schema") + original = load_yaml_mapping(source.content) + parent = PurePosixPath(sources.reference(source.id).path).parent + references = {} + for field in ("top_cell", "bottom_cell"): + name = original["tandem"][field] + if not isinstance(name, str) or PurePosixPath(name).is_absolute(): + raise ValueError("tandem reference must be a supplied relative document path") + path = relative_path(posixpath.normpath(str(parent / name))) + references[name] = sources.at_path(path) + value = import_tandem(source, id=input_id, references=references, defaults=defaults) + return resolve_tandem(value, defaults, resources, sources=(source, *references.values())) + + +def preparation_issues(error: ValueError) -> tuple[PreparationIssue, ...]: + if isinstance(error, ValidationError): + return tuple(PreparationIssue(path=tuple(item["loc"]), type=item["type"], message=item["msg"]) + for item in error.errors(include_url=False, include_context=False, include_input=False)) + return (PreparationIssue(path=(), type="configuration_resolution", message=str(error)),) + + +@dataclass(frozen=True, slots=True) +class PreparationResult: + declaration: ConfigurationPreparation + prepared: PreparedDevice | PreparedTandem | None + + @property + def can_execute(self) -> bool: + return False + + +def prepare_configuration(registry: MigrationRegistry, id: str, *, defaults: DefaultCatalog, + resources: ResourceLibrary) -> PreparationResult: + if registry.spec.configuration_selection is not None: + raise ValueError("formal v2 data is selected; use load_selected_configuration_v2, not the old migration reader") + entry = registry.entry(id) + context = registry.spec.preparation_context + expected = entry.preparation + if entry.section != "configs" or context is None or expected is None: + raise ValueError("only a mapped configuration has a public preparation path") + if defaults.content_sha256 != context.default_catalog_sha256 or resources.content_sha256 != context.resource_library_sha256: + raise ValueError("prepared default/resource context identity mismatch") + row = registry.original(id) + source = registry.sources.at_path(registry.spec.original_path_root + "/" + row["path"]) + prepared = None + try: + prepared = prepare_original(source, input_id=expected.input_id, schema=row["schema"], sources=registry.sources, defaults=defaults, resources=resources) + except ValueError as error: + actual = ConfigurationPreparation(status="blocked", input_id=expected.input_id, loader=expected.loader, resolver=expected.resolver, + content_sha256=None, issues=preparation_issues(error)) + else: + actual = ConfigurationPreparation(status="prepared_only", input_id=expected.input_id, loader=expected.loader, resolver=expected.resolver, + content_sha256=prepared.content_sha256, issues=()) + if actual != expected: + raise ValueError(f"registered preparation no longer matches its actual public reader: {id}") + return PreparationResult(actual, prepared) diff --git a/src/solarlab/reproducibility/registry.py b/src/solarlab/reproducibility/registry.py new file mode 100644 index 00000000..45221db4 --- /dev/null +++ b/src/solarlab/reproducibility/registry.py @@ -0,0 +1,363 @@ +"""Inactive V2 mappings over the exact, separately retained V1 registries. + +This module validates source and location correspondence. It neither executes +registered callables nor interprets a research certificate as a new award. +""" +from __future__ import annotations + +from dataclasses import dataclass +import hashlib +import json +from pathlib import PurePosixPath +from typing import Annotated, Any, Literal + +from pydantic import Field, model_validator +import yaml + +from solarlab.materials.source import SourceDocument +from solarlab.reproducibility.sources import Digest, Record, SourceRef, SourceSet, SymbolRef, relative_path + + +class _Loader(yaml.SafeLoader): + """Retain the V1 readers' scalar rules, adding duplicate-key rejection.""" + + +def _mapping(loader: _Loader, node: yaml.MappingNode) -> dict[str, Any]: + result = {} + for key_node, value_node in node.value: + key = loader.construct_object(key_node, deep=True) + if not isinstance(key, str) or key in result: + raise ValueError("registry keys must be unique strings") + result[key] = loader.construct_object(value_node, deep=True) + return result + + +_Loader.add_constructor("tag:yaml.org,2002:map", _mapping) + + +def mapping(source: SourceDocument) -> dict[str, Any]: + value = yaml.load(source.content, Loader=_Loader) + if not isinstance(value, dict): + raise ValueError("registry source must contain a mapping") + canonical(value) # Reject nonfinite values and non-JSON tags. + return value + + +def canonical(value: Any) -> bytes: + return json.dumps(value, sort_keys=True, separators=(",", ":"), allow_nan=False).encode() + + +def record_digest(value: Any) -> str: + """V1 parsed record locator integrity; not its scientific semantic hash.""" + return hashlib.sha256(canonical(value)).hexdigest() + + +def config_id(path: str) -> str: + return "config:" + relative_path(path) + + +class PreparationIssue(Record): + path: tuple[str | int, ...] + type: str + message: str + + +class ConfigurationPreparation(Record): + status: Literal["prepared_only", "blocked"] + input_id: Annotated[str, Field(min_length=1)] + loader: SymbolRef + resolver: SymbolRef + content_sha256: Digest | None + issues: tuple[PreparationIssue, ...] + + @model_validator(mode="after") + def _status(self) -> ConfigurationPreparation: + if self.status == "prepared_only" and (self.content_sha256 is None or self.issues): + raise ValueError("prepared mapping requires actual content identity and no input errors") + if self.status == "blocked" and (self.content_sha256 is not None or not self.issues): + raise ValueError("blocked mapping requires the original preparation errors and no invented identity") + return self + + +class IdentityGaps(Record): + # Actual registry configurations have no migrated model-selection, + # protocol/state or executor contract. Prepared content is bound separately. + H_input: None + H_physics: None + protocol_sha256: None + H_execution: None + dependencies: Annotated[tuple[str, ...], Field(min_length=1)] + + +class SourceNote(Record): + source: SymbolRef + note: Annotated[str, Field(min_length=1)] + + +class MigrationEntry(Record): + id: Annotated[str, Field(min_length=1)] + section: Literal["configs", "benchmarks", "lanes"] + original_key: Annotated[str, Field(min_length=1)] + original_record_sha256: Digest + legacy_status: str | None + legacy_claim_level: str | None + legacy_evidence_tier: str | None + legacy_semantic_sha256: Digest | None + configurations: tuple[str, ...] + test_files: tuple[str, ...] + test_nodes: tuple[str, ...] + executor: SymbolRef | None + executor_version: str | None + migration_status: Literal["prepared_only", "blocked_input", "legacy_only"] + migration_evidence: Literal["source_verified_preparation_only"] + new_executor: None + new_test_nodes: tuple[str, ...] + identities: IdentityGaps + preparation: ConfigurationPreparation | None + migration_notes: tuple[SourceNote, ...] + + +class PreparationContext(Record): + default_catalog_sha256: Digest + resource_library_sha256: Digest + default_sources: tuple[str, ...] + model_sources: tuple[str, ...] + resource_sources: tuple[str, ...] + + +class _ConfigurationSelectionRef(Record): + """Generated data pins; original source/commit references remain intact.""" + + path: str + sha256: Digest + migration_plan_sha256: Digest + + @model_validator(mode="after") + def _path(self) -> _ConfigurationSelectionRef: + relative_path(self.path) + return self + + +class _PreparationMappingRef(Record): + """A generated non-activating mapping, not an input source selection.""" + path: str + sha256: Digest + migration_plan_sha256: Digest + + @model_validator(mode="after") + def _path(self) -> _PreparationMappingRef: + relative_path(self.path) + return self + + +class RegistryDocument(Record): + schema_version: Literal["solarlab.registry-migration.v2"] + kind: Literal["configuration_matrix", "numerical_refinement"] + activation: Literal["pending_migration"] + original_registry: str + companion_registry: str + original_path_root: str + original_reader: SymbolRef + historical_verification: Literal["original_bytes_paths_and_original_reader; no_certificate_reinterpretation"] + sources: Annotated[tuple[SourceRef, ...], Field(min_length=1)] + preparation_context: PreparationContext | None + entries: Annotated[tuple[MigrationEntry, ...], Field(min_length=1)] + configuration_selection: _ConfigurationSelectionRef | None = None + preparation_mapping: _PreparationMappingRef | None = None + + +def _registry_mapping(spec: RegistryDocument) -> dict[str, Any]: + result = spec.model_dump(mode="json") + if spec.configuration_selection is None: + # Preserve the original preparation-registry bytes when this new, + # optional data selection is absent; no source pin is removed. + result.pop("configuration_selection") + if spec.preparation_mapping is None: + result.pop("preparation_mapping") + return result + + +def _rows(document: dict[str, Any], section: str) -> dict[str, dict[str, Any]]: + raw = document[section] + if section == "configs": + if not isinstance(raw, list) or any(not isinstance(row, dict) or "path" not in row for row in raw): + raise ValueError("V1 configuration inventory must be a list of path records") + values = {row["path"]: row for row in raw} + if len(values) != len(raw): + raise ValueError("duplicate V1 configuration path") + return values + if not isinstance(raw, dict) or any(not isinstance(row, dict) for row in raw.values()): + raise ValueError("V1 registry inventory must be a mapping of records") + return raw + + +def _module_symbol(location: str, prefix: str) -> tuple[str, str]: + parts = location.split(":") + if len(parts) != 2: + raise ValueError("executor requires its original module:symbol location") + module, symbol = parts + return relative_path(prefix + "/" + module.replace(".", "/") + ".py"), symbol + + +def _require_symbol(sources: SourceSet, ref: SymbolRef, path: str, symbol: str) -> None: + if sources.reference(ref.source_id).path != path or ref.symbol != symbol: + raise ValueError(f"test/executor/reader binding does not match the original declared path: {path}:{symbol}") + sources.verify_symbol(ref) + + +def _test_node(sources: SourceSet, node: str, prefix: str) -> None: + file, *parts = node.split("::") + path = relative_path(prefix + "/" + file) + source = sources.at_path(path) + if not parts: + raise ValueError("test node must name its actual test function") + symbol = ".".join(part.split("[", 1)[0] for part in parts) + sources.verify_symbol(SymbolRef(source_id=source.id, symbol=symbol)) + + +@dataclass(frozen=True, slots=True) +class MigrationRegistry: + source: SourceDocument + spec: RegistryDocument + sources: SourceSet + + @property + def can_execute(self) -> bool: + return False + + @property + def content_sha256(self) -> str: + return record_digest(_registry_mapping(self.spec)) + + def entry(self, id: str) -> MigrationEntry: + for entry in self.spec.entries: + if entry.id == id: + return entry + raise KeyError(id) + + def original(self, id: str) -> dict[str, Any]: + entry = self.entry(id) + return _rows(mapping(self.sources.document(self.spec.original_registry)), entry.section)[entry.original_key] + + def original_bytes(self) -> bytes: + return self.sources.document(self.spec.original_registry).content + + def export(self) -> dict[str, Any]: + return _registry_mapping(self.spec) + + +def load_registry(source: SourceDocument, documents: tuple[SourceDocument, ...]) -> MigrationRegistry: + """Verify a complete supplied V2 registry and its immutable source bundle. + + No registered scientific executor is imported or called. Pending V2 data + cannot activate a consumer; migration needs a later qualified contract. + """ + spec = RegistryDocument.model_validate(mapping(source)) + sources = SourceSet(spec.sources, documents) + root = relative_path(spec.original_path_root) + original = mapping(sources.document(spec.original_registry)) + companion = mapping(sources.document(spec.companion_registry)) + is_matrix = spec.kind == "configuration_matrix" + if not is_matrix and spec.configuration_selection is not None: + raise ValueError("only the configuration matrix can select v2 configuration data") + matrix, refinement = (original, companion) if is_matrix else (companion, original) + if matrix.get("schema_version") != 1 or refinement.get("schema_version") != "numerical-refinement-registry-v1": + raise ValueError("V2 source types must match the original V1 registries") + matrix_source = sources.document(spec.original_registry if is_matrix else spec.companion_registry) + refinement_source = sources.document(spec.companion_registry if is_matrix else spec.original_registry) + if sources.reference(refinement_source.id).path != root + "/" + matrix["numerical_refinement_registry"]["path"] or refinement_source.sha256 != matrix["numerical_refinement_registry"]["sha256"]: + raise ValueError("V1 companion registry path/hash mismatch") + if sources.reference(matrix_source.id).path != root + "/reproducibility/ConfigBenchmarkMatrix.yaml": + raise ValueError("V1 matrix path mismatch") + schema_source = sources.at_path(root + "/" + matrix["schema_registry"]) + schemas = mapping(schema_source)["schemas"] + configuration_rows = _rows(matrix, "configs") + for key, row in configuration_rows.items(): + actual = sources.at_path(root + "/" + relative_path(key)) + if actual.sha256 != row["sha256"]: + raise ValueError(f"original config SHA-256 mismatch: {key}") + if row["schema"] not in schemas: + raise ValueError("missing original input schema declaration") + for row in matrix["resources"]: + if sources.at_path(root + "/" + relative_path(row["path"])).sha256 != row["sha256"]: + raise ValueError("original resource SHA-256 mismatch") + reader = "perovskite_sim.reproducibility:validate_matrix" if is_matrix else "perovskite_sim.validation.numerical_certificate:load_refinement_registry" + _require_symbol(sources, spec.original_reader, *_module_symbol(reader, root)) + sections = ("configs", "benchmarks") if is_matrix else ("lanes",) + expected = {(section, key) for section in sections for key in _rows(original, section)} + found = {(entry.section, entry.original_key) for entry in spec.entries} + if len(found) != len(spec.entries) or found != expected or len({entry.id for entry in spec.entries}) != len(spec.entries): + raise ValueError("missing, duplicate or unexpected V1-to-V2 inventory entry") + if is_matrix != (spec.preparation_context is not None): + raise ValueError("configuration preparation requires one explicit context") + if spec.preparation_context: + context = spec.preparation_context + for id in (*context.default_sources, *context.model_sources, *context.resource_sources): + sources.document(id) + input_ids = set() + for entry in spec.entries: + row = _rows(original, entry.section)[entry.original_key] + identifier = config_id(entry.original_key) if entry.section == "configs" else ("benchmark:" if is_matrix else "lane:") + entry.original_key + if entry.id != identifier or entry.original_record_sha256 != record_digest(row): + raise ValueError("old/new stable identity or original record digest mismatch") + if (entry.legacy_status, entry.legacy_claim_level, entry.legacy_evidence_tier, entry.legacy_semantic_sha256) != (row.get("status"), row.get("claim_level"), row.get("evidence_tier"), row.get("semantic_sha256")): + raise ValueError("original evidence/semantic identity must be preserved without reinterpretation") + paths = [entry.original_key] if entry.section == "configs" else row.get("configs", [row.get("config")]) + if not paths or any(path not in configuration_rows for path in paths) or entry.configurations != tuple(config_id(path) for path in paths): + raise ValueError("configuration link is missing or does not match its original record") + if entry.section == "lanes" and row["config_sha256"] != configuration_rows[row["config"]]["sha256"]: + raise ValueError("lane/config identity mismatch") + if entry.test_files != tuple(row.get("tests", [])) or entry.test_nodes != tuple(row.get("node_ids", [])): + raise ValueError("original test/node binding mismatch") + for path in entry.test_files: + sources.at_path(root + "/" + relative_path(path)) + for node in entry.test_nodes: + if node.split("::", 1)[0] not in entry.test_files: + raise ValueError("test node does not belong to the declared test files") + _test_node(sources, node, root) + if "executor" in row: + if entry.executor is None or entry.executor_version != row["executor_version"]: + raise ValueError("missing/mismatched original executor binding") + _require_symbol(sources, entry.executor, *_module_symbol(row["executor"], root)) + elif entry.executor is not None or entry.executor_version is not None: + raise ValueError("no executor was declared in the original record") + if entry.new_test_nodes: + raise ValueError("no migrated scientific test-node binding is established") + for note in entry.migration_notes: + sources.verify_symbol(note.source) + prep = entry.preparation + if entry.section == "configs": + if prep is None or prep.input_id in input_ids or entry.migration_status != ("prepared_only" if prep.status == "prepared_only" else "blocked_input"): + raise ValueError("configuration preparation status/identity mismatch") + input_ids.add(prep.input_id) + if prep.input_id != "registry." + PurePosixPath(entry.original_key).stem: + raise ValueError("new configuration identity must retain its explicit original-name binding") + loader, resolver = preparation_symbols(row["schema"]) + _require_symbol(sources, prep.loader, *loader) + _require_symbol(sources, prep.resolver, *resolver) + elif prep is not None or entry.migration_status != "legacy_only": + raise ValueError("unmigrated benchmark/lane must remain legacy-only") + return MigrationRegistry(source, spec, sources) + + +def preparation_symbols(schema: str) -> tuple[tuple[str, str], tuple[str, str]]: + if schema == "standard-device-v1": + return ("src/solarlab/config/device_import.py", "import_standard_device"), ("src/solarlab/config/resolve_device.py", "resolve_device") + if schema == "scaps-device-v1": + return ("src/solarlab/config/scaps_input.py", "import_scaps_device"), ("src/solarlab/config/resolve_device.py", "resolve_device") + if schema == "tandem-v1": + return ("src/solarlab/config/tandem_input.py", "import_tandem"), ("src/solarlab/config/resolve_device.py", "resolve_tandem") + raise ValueError("no public preparation reader for the original schema") + + +def validate_registry_pair(matrix: MigrationRegistry, refinement: MigrationRegistry) -> None: + if matrix.spec.kind != "configuration_matrix" or refinement.spec.kind != "numerical_refinement": + raise ValueError("a configuration matrix and numerical registry are required") + if matrix.spec.preparation_mapping != refinement.spec.preparation_mapping: + raise ValueError("both V2 registries must bind the same non-activating preparation mapping") + for id in (matrix.spec.original_registry, matrix.spec.companion_registry): + if matrix.sources.reference(id) != refinement.sources.reference(id) or matrix.sources.document(id) != refinement.sources.document(id): + raise ValueError("V2 registries refer to different original source snapshots") + for entry in refinement.spec.entries: + for id in entry.configurations: + matrix.entry(id) diff --git a/src/solarlab/reproducibility/registry_mapping.py b/src/solarlab/reproducibility/registry_mapping.py new file mode 100644 index 00000000..cb78e44c --- /dev/null +++ b/src/solarlab/reproducibility/registry_mapping.py @@ -0,0 +1,247 @@ +"""Complete pending V2 configuration/physics/protocol/entry correspondence. + +Actual configurations use the strict W09 consumer. No model selection, driver, +protocol, state or execution identity is inferred from a legacy entry's name. +The current mapping domain deliberately refuses populated scientific bindings; +their genuine owner-produced contracts require a separately reviewed extension. +""" +from __future__ import annotations + +from collections import Counter +from dataclasses import dataclass, field, replace +import hashlib +import json +from typing import Any + +from solarlab.config.migration import read_configuration_v2 +from solarlab.materials.source import SourceDocument +from solarlab.reproducibility.configuration_migration import ( + ConfigurationMigrationPlan, prepare_registered_configuration_v2, read_selected_configuration_v2, +) +from solarlab.reproducibility.preparation import read_preparation_context +from solarlab.reproducibility.registry import MigrationRegistry, canonical, record_digest, validate_registry_pair +from solarlab.reproducibility.job_provenance import verify_loaded_source +from solarlab.reproducibility.sources import SourceSet, SymbolRef, relative_path + +__all__ = ["RegistryMapping", "prepare_registry_mapping", "read_registry_mapping"] + +_SCHEMA = "solarlab.preparation-mapping.v2" +_CONSUMERS = ( + ("src/solarlab/config/migration.py", "read_configuration_v2", read_configuration_v2), + ("src/solarlab/reproducibility/configuration_migration.py", "prepare_registered_configuration_v2", prepare_registered_configuration_v2), +) +_MISSING = ( + ("model_registry", "WS2/WS3", "P03-02 actual model/source/schema records"), + ("model_inputs", "WS2/WS4", "P03-02 original defaults and overrides for this entry"), + ("selection", "WS2/WS3", "P03-02 actual model/topology/capability selection"), + ("semantic_projections", "WS2/WS3", "W10 model-version and effective-physics source projections"), + ("driver", "WS4", "W03 facade explicit effective driver for this entry"), + ("effective_behavior", "WS4", "W03 facade with W08/W10 BehaviorContext or R1ExecutionContext"), + ("protocol", "P05 executor owner", "W11 full actual protocol document"), + ("preparation", "P05 executor owner", "W11 actual preparation/history document"), + ("initial_state", "P05 executor owner", "W11 actual initial-state bytes and qualification"), + ("grid", "WS3/P05 executor owner", "actual compiled mesh/layout binding"), + ("numeric_controls", "P05 executor owner", "complete numerical policy for the actual entry"), + ("engine", "WS4", "W03 explicit engine with no fallback"), + ("runtime_environment", "WS4", "worker observed environment before engine import"), + ("release_bundle", "Root/P07", "W13 reviewed build-source bundle and isolated installation"), + ("execution_manifest", "WS4/P05 executor owner", "W11 complete externally pinned and consumed manifest"), + ("new_executor_and_tests", "executor owner/Root", "W15 actual entry and independent applicable node evidence"), +) + + +def _base(registry: MigrationRegistry) -> dict[str, str]: + data = registry.export() + data.pop("preparation_mapping", None) + return {"id": registry.source.id, "kind": registry.spec.kind, "canonical_sha256": record_digest(data)} + + +def _consumer_bindings(sources: SourceSet, *, admission: bool = True) -> list[dict[str, Any]]: + required = {path for path, _, _ in _CONSUMERS} + if {ref.path for ref in sources.references} != required: + raise ValueError("mapping requires the exact current v2 consumer source set") + result = [] + for path, symbol, consumer in _CONSUMERS: + document = sources.at_path(path) + sources.verify_symbol(SymbolRef(source_id=document.id, symbol=symbol)) + if admission: + verify_loaded_source(document.content, consumer.__code__.co_filename, label="v2 consumer") + result.append({"source": sources.reference(document.id).model_dump(mode="json"), "symbol": symbol, + "kind": "data_preparation_only", "can_execute": False}) + return result + + +@dataclass(frozen=True, slots=True) +class RegistryMapping: + document: SourceDocument + reconciliation: dict[str, Any] | None = field(default=None, compare=False) + + def __post_init__(self) -> None: + if type(self.document) is not SourceDocument: + raise ValueError("mapping requires actual immutable source bytes") + relative_path(self.document.id) + data = json.loads(self.document.content) + if (not isinstance(data, dict) or data.get("schema") != _SCHEMA + or data.get("activation") != "pending_migration" or data.get("can_execute") is not False + or data.get("scientific_gates_awarded") != [] or canonical(data) != self.document.content): + raise ValueError("mapping requires canonical, non-activating source-only data") + + @property + def sha256(self) -> str: + return self.document.sha256 + + def export(self) -> dict[str, Any]: + return json.loads(self.document.content) + + def entry(self, id: str) -> dict[str, Any]: + for entry in self.export()["entries"]: + if entry["id"] == id: + return entry + raise ValueError("unknown mapped registry entry") + + def reference(self) -> dict[str, str]: + return {"path": self.document.id, "sha256": self.sha256, + "migration_plan_sha256": self.export()["migration_plan_sha256"]} + + +def _mapping( + matrix: MigrationRegistry, refinement: MigrationRegistry, *, migration: ConfigurationMigrationPlan, + expected_migration_sha256: str, consumer_sources: SourceSet, + document_id: str = "reproducibility/PreparationMappingV2.json", + reprepare: bool = True, +) -> RegistryMapping: + """Map every actual entry and consume all proposed configuration bytes. + + The independently pinned W09 dry-run is an input. No data namespace, + selector, model or numerical execution is generated by this function. + """ + validate_registry_pair(matrix, refinement) + relative_path(document_id) + if type(migration) is not ConfigurationMigrationPlan or migration.sha256 != expected_migration_sha256 or not migration.supported: + raise ValueError("mapping requires the exact complete configuration migration plan") + consumers = _consumer_bindings(consumer_sources, admission=reprepare) + report, selection = migration.export(), json.loads(migration.selection_json) + config_ids = {entry.id for entry in matrix.spec.entries if entry.section == "configs"} + if (set(report["selected_ids"]) != config_ids or len(report["selected_ids"]) != len(config_ids) + or report["selection_sha256"] != hashlib.sha256(migration.selection_json).hexdigest()): + raise ValueError("mapping requires the complete original configuration inventory and selection") + rows = selection["configurations"] + if len(rows) != len(config_ids) or {row["id"] for row in rows} != config_ids: + raise ValueError("mapping configuration selection inventory is incomplete or duplicated") + files = dict(migration.files) + if (len(files) != len(migration.files) or len(files) != len(config_ids) + or {(path, doc.id, doc.sha256) for path, doc in migration.files} + != {(row["path"], row["document_id"], row["sha256"]) for row in rows}): + raise ValueError("mapping file paths/content differ from the frozen migration selection") + context = matrix.spec.preparation_context + if (context is None or report["default_catalog_sha256"] != context.default_catalog_sha256 + or report["resource_library_sha256"] != context.resource_library_sha256): + raise ValueError("mapping preparation context differs from the frozen migration plan") + # The W09 selection is still prospective. Do not override any active source + # selector; one would require an explicit new joint mapping/switch review. + if matrix.spec.configuration_selection is not None: + raise ValueError("this mapping domain requires the inactive W09 source selection") + selection_source = SourceDocument("ConfigurationSourcesV2.json", migration.selection_json) + configurations = {} + defaults, resources = read_preparation_context(matrix) if reprepare else (None, None) + for row in rows: + relative_path(row["path"]) + document = files[row["path"]] + raw = json.loads(document.content) + original_document = matrix.sources.document(row["original_source"]["id"]) + preparation = matrix.entry(row["id"]).preparation + if (row["original_source"]["sha256"] != original_document.sha256 or raw["source"] != row["original_source"] + or raw["default_catalog_sha256"] != context.default_catalog_sha256 + or raw["resource_library_sha256"] != context.resource_library_sha256 + or preparation is None or row["prepared_content_sha256"] != preparation.content_sha256): + raise ValueError("mapping recorded input/dependency identity mismatch") + # This digest uses the original serialized typed input, not today's resolver. + typed_sha = hashlib.sha256(canonical(raw["input"])).hexdigest() + if reprepare: + assert defaults is not None and resources is not None + prepared = read_selected_configuration_v2(matrix, selection_source, row["id"], + documents=(document,), defaults=defaults, resources=resources) + typed_sha = hashlib.sha256(prepared.input_json).hexdigest() + configurations[row["id"]] = {**row, "proposed_path": "reproducibility/ConfigurationsV2/" + row["path"], + "typed_input_sha256": typed_sha, + "input_identity_kind": "prepared_content_only; not H_input", "data_verified": True, + "publication": "pending_WS4_editor_and_consumer_adaptation"} + entries: list[dict[str, Any]] = [] + for registry in (matrix, refinement): + for entry in registry.spec.entries: + original = registry.original(entry.id) + if any(getattr(entry.identities, name) is not None for name in ("H_input", "H_physics", "protocol_sha256", "H_execution")) or entry.new_executor is not None: + raise ValueError("actual identity/executor binding needs a reviewed extension, not implicit promotion") + executor = None + if entry.executor: + executor = {"source": registry.sources.reference(entry.executor.source_id).model_dump(mode="json"), + "symbol": entry.executor.symbol, "version": entry.executor_version} + tests = [{"path": path, "source": registry.sources.reference(registry.sources.at_path(registry.spec.original_path_root + "/" + path).id).model_dump(mode="json")} + for path in entry.test_files] + entries.append({"id": entry.id, "section": entry.section, "original_key": entry.original_key, + "original_record_sha256": entry.original_record_sha256, "original_record": original, + "legacy_evidence": {"status": entry.legacy_status, "claim_level": entry.legacy_claim_level, + "evidence_tier": entry.legacy_evidence_tier, "semantic_sha256": entry.legacy_semantic_sha256}, + "configurations": [configurations[id] for id in entry.configurations], + "physical": {"status": "pending", "H_input": None, "H_physics": None, "contexts": []}, + "protocol": {"status": "pending", "sha256": None, "declared_legacy_entry": executor}, + "execution": {"status": "pending", "H_execution": None, "new_executor": None, "manifest": None}, + "old_test_files": tests, "old_test_nodes": list(entry.test_nodes), "new_scientific_test_nodes": [], + "missing_fields": [{"field": field, "status": "pending", "owner": owner, "source_dependency": dependency} + for field, owner, dependency in _MISSING], + "preparation_consumers": consumers, "new_evidence": "source_verified_data_preparation_only", + "can_execute": False}) + value = {"schema": _SCHEMA, "registries": [_base(matrix), _base(refinement)], + "original_sources": [{"source": r.sources.reference(r.spec.original_registry).model_dump(mode="json"), + "reader": r.spec.original_reader.model_dump(mode="json"), "verification": r.spec.historical_verification} + for r in (matrix, refinement)], + "migration_plan_sha256": migration.sha256, "configuration_selection_sha256": report["selection_sha256"], + "preparation_context": {"default_catalog_sha256": context.default_catalog_sha256, "resource_library_sha256": context.resource_library_sha256}, + "inventory_counts": dict(Counter(entry["section"] for entry in entries)), + "entries": sorted(entries, key=lambda entry: entry["id"]), + "activation": "pending_migration", "can_execute": False, "scientific_gates_awarded": []} + return RegistryMapping(SourceDocument(document_id, canonical(value))) + + +def prepare_registry_mapping( + matrix: MigrationRegistry, refinement: MigrationRegistry, *, migration: ConfigurationMigrationPlan, + expected_migration_sha256: str, consumer_sources: SourceSet, + document_id: str = "reproducibility/PreparationMappingV2.json", +) -> RegistryMapping: + """Prepare new data; installed consumer consistency is an admission check.""" + return _mapping(matrix, refinement, migration=migration, + expected_migration_sha256=expected_migration_sha256, consumer_sources=consumer_sources, + document_id=document_id, reprepare=True) + + +def read_registry_mapping( + matrix: MigrationRegistry, refinement: MigrationRegistry, source: SourceDocument, *, + migration: ConfigurationMigrationPlan, expected_migration_sha256: str, + expected_sha256: str, consumer_sources: SourceSet, + reconcile_current: bool = False, strict_same_source: bool = False, +) -> RegistryMapping: + """Check immutable input/entry bindings; current re-preparation is explicit.""" + validate_registry_pair(matrix, refinement) + reference = matrix.spec.preparation_mapping + if (reference is None or source.id != reference.path or source.sha256 != reference.sha256 + or source.sha256 != expected_sha256 or reference.migration_plan_sha256 != expected_migration_sha256): + raise ValueError("mapping source differs from the two registries and the external expected pins") + actual = RegistryMapping(source) + expected = _mapping(matrix, refinement, migration=migration, + expected_migration_sha256=expected_migration_sha256, consumer_sources=consumer_sources, document_id=source.id, reprepare=False) + if actual.document.content != expected.document.content: + raise ValueError("mapping content differs from actual configurations, original evidence, entries or pending context") + if reconcile_current or strict_same_source: + try: + now = prepare_registry_mapping(matrix, refinement, migration=migration, + expected_migration_sha256=expected_migration_sha256, consumer_sources=consumer_sources, + document_id=source.id) + comparison = {"status": "same" if now.sha256 == actual.sha256 else "different", + "producer_sha256": actual.sha256, "current_sha256": now.sha256} + except ValueError as exc: + comparison = {"status": "different", "producer_sha256": actual.sha256, + "reason": str(exc)} + if strict_same_source and comparison["status"] != "same": + raise ValueError("strict_same_source mapping reconciliation differs") + return replace(actual, reconciliation=comparison) + return actual diff --git a/src/solarlab/reproducibility/release.py b/src/solarlab/reproducibility/release.py new file mode 100644 index 00000000..b5d5efe4 --- /dev/null +++ b/src/solarlab/reproducibility/release.py @@ -0,0 +1,280 @@ +"""Immutable release content and installed-source verification. + +The build authority supplies a frozen source directory and its actual source +commit. This module does not infer that association from maintenance HEAD. +Generated schema files are explicitly distinguished from source-commit files. +Verification needs no Git checkout and grants no scientific qualification. +""" +from __future__ import annotations + +from dataclasses import dataclass, field +import hashlib +import json +from pathlib import Path +import re +from typing import Any + +from solarlab.config.identity import BuildSource, RuntimeEnvironment +from solarlab.materials.source import SourceDocument +from solarlab.reproducibility.sources import relative_path +from solarlab.reproducibility.job_provenance import JobProvenance, capture_job_provenance, compare_provenance + +__all__ = ["ReleaseFile", "ReleaseBundle", "snapshot_release_bundle", "write_release_bundle", + "read_release_bundle", "verify_release_installation"] + +_PACKAGES = ("solarlab", "solarlab_research", "solarlab_server") +_ROLES = {"package", "validator", "contract", "resource", "dependency_lock", "generated_schema", "build_configuration"} + + +def _json(value: Any) -> bytes: + return json.dumps(value, sort_keys=True, separators=(",", ":"), allow_nan=False).encode() + + +def _commit(value: str) -> None: + if type(value) is not str or re.fullmatch(r"[0-9a-f]{40}|[0-9a-f]{64}", value) is None: + raise ValueError("release requires an explicit immutable build-source commit") + + +def _files(root: Path) -> tuple[Path, ...]: + return tuple(sorted(path for path in root.rglob("*") if path.is_file() + and "__pycache__" not in path.parts and path.suffix not in {".pyc", ".pyo"} and path.name != ".DS_Store")) + + +def _contained(root: Path, name: str) -> Path: + path = root / relative_path(name) + if path.is_symlink() or not path.resolve(strict=True).is_relative_to(root) or not path.is_file(): + raise ValueError(f"release path escapes its explicit root: {name}") + return path + + +@dataclass(frozen=True, slots=True) +class ReleaseFile: + source_path: str + path: str + role: str + content: bytes = field(repr=False) + + def __post_init__(self) -> None: + relative_path(self.source_path) + relative_path(self.path) + if self.role not in _ROLES or type(self.content) is not bytes or len(self.content) > 2**24: + raise ValueError("release requires a known content role and bounded immutable bytes") + prefix = next((value for value in ("src/", "perovskite-sim/") if self.source_path.startswith(value) + and self.source_path[len(value):].split("/")[0] in (*_PACKAGES, "perovskite_sim")), None) + expected = "site/" + self.source_path[len(prefix):] if prefix else "share/" + self.source_path + if self.path != expected or self.role == "package" and prefix is None: + raise ValueError("release source-to-install mapping is not the declared package/data layout") + + def record(self) -> dict[str, Any]: + return dict(source_path=self.source_path, path=self.path, role=self.role, bytes=len(self.content), + sha256=hashlib.sha256(self.content).hexdigest(), + origin="generated_from_build_source" if self.role == "generated_schema" else "build_source") + + +@dataclass(frozen=True, slots=True) +class ReleaseBundle: + """Complete versioned content snapshot, separate from release acceptance. + + Empty markers are retained in the bundle even though SourceDocument (used + by existing scientific source identities) intentionally excludes them. + ``transition`` keeps the one old engine; ``target`` excludes it. Neither + profile silently changes an existing certificate's source algorithm. + """ + build_source_commit: str + profile: str + files: tuple[ReleaseFile, ...] + canonical_json: bytes = field(init=False, repr=False) + sha256: str = field(init=False) + can_execute: bool = field(default=False, init=False) + + def __post_init__(self) -> None: + _commit(self.build_source_commit) + if self.profile not in {"transition", "target"}: + raise ValueError("release profile must explicitly be transition or target") + files = tuple(self.files) + if not files or any(type(item) is not ReleaseFile for item in files): + raise ValueError("release requires actual file content") + if len({item.path for item in files}) != len(files) or len({item.source_path for item in files}) != len(files): + raise ValueError("duplicate release path/source mapping") + if sum(len(item.content) for item in files) > 2**26: + raise ValueError("release content exceeds the bounded 64 MiB contract") + by_path = {item.path: item for item in files} + required = {f"site/{package}/{leaf}" for package in _PACKAGES for leaf in ("__init__.py", "py.typed")} + required.update(("share/uv.lock", "share/pyproject.toml", "site/solarlab/reproducibility/PublicAPI.json")) + if not required <= set(by_path) or not _ROLES <= {item.role for item in files}: + raise ValueError("release is missing packages, validators, contracts, resources, lock, schema or build configuration") + if by_path["share/uv.lock"].role != "dependency_lock" or by_path["share/pyproject.toml"].role != "build_configuration": + raise ValueError("release lock/build source roles do not match their actual files") + has_legacy = any(item.path.startswith("site/perovskite_sim/") for item in files) + if has_legacy != (self.profile == "transition"): + raise ValueError("legacy engine content differs from the explicit release profile") + files = tuple(sorted(files, key=lambda item: item.path)) + value = {"schema": "solarlab.release-bundle.v1", "build_source_commit": self.build_source_commit, + "profile": self.profile, "files": [item.record() for item in files], + "historical_source_algorithms": "unchanged", "scientific_qualification": False} + content = _json(value) + object.__setattr__(self, "files", files) + object.__setattr__(self, "canonical_json", content) + object.__setattr__(self, "sha256", hashlib.sha256(content).hexdigest()) + + def export(self) -> dict[str, Any]: + return json.loads(self.canonical_json) + + def implementation(self) -> BuildSource: + """Bind the full release, including schema and empty-file records. + + The generated manifest explicitly distinguishes source-commit files + from derived schema. It is a new source record, never a replacement + interpretation of any historical source identity. + """ + return BuildSource(self.build_source_commit, ( + SourceDocument("release:content-manifest.v1", self.canonical_json), + *(SourceDocument(item.source_path, item.content) for item in self.files if item.content), + )) + + def job_provenance(self, inputs: dict[str, Any], *, operator: str, + assembler_identity: str | None = None, + analysis_identity: str | None = None) -> JobProvenance: + """Admission from this trusted bundle; full release file pins stay intact. + + The caller still verifies the installed bundle before executing. This + record is provenance only and never grants scientific qualification. + """ + lock = next(item.content for item in self.files if item.path == "share/uv.lock") + return capture_job_provenance(inputs, dirty_policy="refuse", operator=operator, + git_commit=self.build_source_commit, source_files=tuple((item.source_path, item.content) for item in self.files), + environment_lock=lock, source_attested=True, assembler_identity=assembler_identity, + analysis_identity=analysis_identity) + + def verify_job_provenance( + self, producer: dict[str, Any], current: JobProvenance, *, installation_root: Path, + expected_bundle_sha256: str, module_origins: tuple[tuple[str, str], ...], + required_modules: tuple[str, ...], environment: RuntimeEnvironment, + ) -> dict[str, Any]: + """Strict prerequisite checks; no scientific qualification is awarded. + + The trusted release launcher supplies module origins and the environment + from its existing locked execution contract. Matching metadata alone is + insufficient: retain the full installed-file and actual environment checks. + """ + from solarlab.experiments.worker import observe_environment + installation = verify_release_installation(self, installation_root, + expected_sha256=expected_bundle_sha256, module_origins=module_origins, + required_modules=required_modules) + observed = observe_environment(tuple(name for name, _ in environment.packages), + tuple(name for name, _ in environment.settings)) + if observed != environment: + raise ValueError("strict release environment differs from its admitted locked contract") + value = current.export() + expected = self.job_provenance({}, operator=value["assembler"]["operator"], + assembler_identity=value["assembler"]["identity"], analysis_identity=value["assembler"]["analysis_identity"]) + compare_provenance(expected.envelope(), current, strict_same_source=True) + return {**compare_provenance(producer, current, strict_same_source=True), + "installation": installation, "environment_admitted": True, + "scientific_qualification": False} + + +def snapshot_release_bundle( + source_root: Path, *, build_source_commit: str, profile: str, + required_files: tuple[tuple[str, str], ...], +) -> ReleaseBundle: + """Read all first-party package bytes and the caller's required data closure. + + Use a frozen directory exported from build_source_commit, not an editable + checkout labelled with HEAD. The build authority must bind that export and + generate schema with its own source. This helper never edits the source. + """ + if not source_root.is_absolute(): + raise ValueError("an absolute frozen source root is required") + root = source_root.resolve(strict=True) + required = dict(required_files) + if len(required) != len(required_files): + raise ValueError("duplicate required release file") + roots = [(f"src/{name}", name) for name in _PACKAGES] + if profile == "transition": + roots.append(("perovskite-sim/perovskite_sim", "perovskite_sim")) + values = {} + for prefix, package in roots: + folder = root / prefix + if not folder.is_dir(): + raise ValueError(f"missing complete package source: {prefix}") + for path in _files(folder): + source = path.relative_to(root).as_posix() + target = f"site/{package}/" + path.relative_to(folder).as_posix() + values[source] = ReleaseFile(source, target, required.pop(source, "package"), _contained(root, source).read_bytes()) + for source, role in required.items(): + values[source] = ReleaseFile(source, "share/" + relative_path(source), role, _contained(root, source).read_bytes()) + return ReleaseBundle(build_source_commit, profile, tuple(values.values())) + + +def write_release_bundle(bundle: ReleaseBundle, destination: Path) -> None: + """Materialize immutable content into a fresh directory; no installation.""" + if not destination.is_absolute(): + raise ValueError("an absolute new release directory is required") + destination.mkdir(parents=True, exist_ok=False) + for item in bundle.files: + path = destination / item.path + path.parent.mkdir(parents=True, exist_ok=True) + path.write_bytes(item.content) + (destination / "ReleaseBundle.json").write_bytes(bundle.canonical_json) + + +def read_release_bundle(manifest: SourceDocument, root: Path, *, expected_sha256: str) -> ReleaseBundle: + """Read exactly the pinned manifest/content without discovering a checkout.""" + if manifest.sha256 != expected_sha256 or not root.is_absolute(): + raise ValueError("release manifest/root differs from the expected binding") + value = json.loads(manifest.content) + if not isinstance(value, dict) or set(value) != {"schema", "build_source_commit", "profile", "files", "historical_source_algorithms", "scientific_qualification"}: + raise ValueError("invalid release manifest schema") + root = root.resolve(strict=True) + files = tuple(ReleaseFile(item["source_path"], item["path"], item["role"], _contained(root, item["path"]).read_bytes()) for item in value["files"]) + result = ReleaseBundle(value["build_source_commit"], value["profile"], files) + if result.canonical_json != manifest.content: + raise ValueError("release source content/schema differs from the complete pinned manifest") + return result + + +def verify_release_installation( + bundle: ReleaseBundle, root: Path, *, expected_sha256: str, + module_origins: tuple[tuple[str, str], ...], required_modules: tuple[str, ...], + current_repository_head: str | None = None, +) -> dict[str, Any]: + """Verify actual installed bytes and the isolated process's module origins. + + Collect *all* first-party module __file__ values in the isolated process, + after importing the required entry/validator modules. That trusted launcher + also fixes the expected digest and required modules; payload claims cannot + choose them. Dependencies are pinned by uv.lock and runtime identity, not + claimed as first-party files by this contract. + """ + if type(bundle) is not ReleaseBundle or bundle.sha256 != expected_sha256 or not root.is_absolute(): + raise ValueError("installed release differs from the expected bundle/root") + if current_repository_head is not None: + _commit(current_repository_head) + root = root.resolve(strict=True) + for item in bundle.files: + if _contained(root, item.path).read_bytes() != item.content: + raise ValueError(f"installed release file changed: {item.path}") + packages = (*_PACKAGES, "perovskite_sim") + # Even bytecode is unbound executable content. The isolated launcher uses + # -B and an installation with no compiled cache, rather than trusting it. + actual = {path.relative_to(root).as_posix() for package in packages + for path in (root / "site" / package).rglob("*") if path.is_file()} + expected = {item.path for item in bundle.files if item.path.startswith("site/")} + if actual != expected: + raise ValueError("installed package inventory has missing or unbound content") + origins = dict(module_origins) + if not required_modules or len(origins) != len(module_origins) or not set(required_modules) <= set(origins): + raise ValueError("isolated installation must report every required module origin") + for name, origin in origins.items(): + if name.split(".")[0] not in packages: + raise ValueError("only first-party module origins belong to this verification") + base = "site/" + name.replace(".", "/") + candidates = {base + ".py", base + "/__init__.py"} & expected + path = Path(origin) + if not path.is_absolute() or not any(path == root / item and path.resolve(strict=True) == root / item for item in candidates): + raise ValueError(f"module is imported from an editable/unbound location: {name}") + return dict(schema="solarlab.release-installation-check.v1", bundle_sha256=bundle.sha256, + build_source_commit=bundle.build_source_commit, current_repository_head=current_repository_head, + files_verified=len(bundle.files), module_origins=dict(sorted(origins.items())), + source_installation_verified=True, scientific_qualification=False) diff --git a/src/solarlab/reproducibility/sources.py b/src/solarlab/reproducibility/sources.py new file mode 100644 index 00000000..05b0bf1d --- /dev/null +++ b/src/solarlab/reproducibility/sources.py @@ -0,0 +1,125 @@ +"""Explicit portable source locators and immutable byte/symbol verification. + +No checkout, Git repository or installed resource is discovered implicitly. +The caller supplies a source bundle and its trusted commit/content association; +as with BuildSource, this is not a release-coverage certificate. +""" +from __future__ import annotations + +import ast +from dataclasses import dataclass +from pathlib import Path, PurePosixPath +from typing import Annotated + +from pydantic import BaseModel, ConfigDict, Field, field_validator + +from solarlab.config.identity import BuildSource +from solarlab.materials.source import SourceDocument + +Digest = Annotated[str, Field(pattern=r"^[0-9a-f]{64}$")] +Commit = Annotated[str, Field(pattern=r"^(?:[0-9a-f]{40}|[0-9a-f]{64})$")] + + +class Record(BaseModel): + model_config = ConfigDict(frozen=True, extra="forbid", validate_default=True) + + +def relative_path(value: str) -> str: + path = PurePosixPath(value) + if not value or path.is_absolute() or path.as_posix() != value or any(part in {".", ".."} for part in value.split("/")) or "\\" in value or ":" in value: + raise ValueError("source path must be an explicit normalized bundle-relative POSIX path") + return value + + +class SourceRef(Record): + id: Annotated[str, Field(min_length=1)] + path: str + sha256: Digest + source_commit: Commit + + _path = field_validator("path")(relative_path) + + +class SymbolRef(Record): + source_id: Annotated[str, Field(min_length=1)] + symbol: Annotated[str, Field(pattern=r"^[A-Za-z_]\w*(?:\.[A-Za-z_]\w*)*$")] + + +@dataclass(frozen=True, slots=True) +class SourceSet: + references: tuple[SourceRef, ...] + documents: tuple[SourceDocument, ...] + + def __post_init__(self) -> None: + refs, documents = tuple(self.references), tuple(self.documents) + if not refs or any(type(ref) is not SourceRef for ref in refs): + raise ValueError("source references are required") + if any(type(source) is not SourceDocument for source in documents): + raise ValueError("actual immutable SourceDocument bytes are required") + if len({ref.id for ref in refs}) != len(refs) or len({(ref.path, ref.source_commit) for ref in refs}) != len(refs): + raise ValueError("duplicate or ambiguous source ID/path/commit") + if len({doc.id for doc in documents}) != len(documents) or {doc.id for doc in documents} != {ref.id for ref in refs}: + raise ValueError("source bundle has missing, unexpected or ambiguous documents") + actual = {doc.id: doc for doc in documents} + for ref in refs: + if actual[ref.id].sha256 != ref.sha256: + raise ValueError(f"{ref.path}: source SHA-256 mismatch") + for commit in {ref.source_commit for ref in refs}: + BuildSource(commit, tuple(actual[ref.id] for ref in refs if ref.source_commit == commit)) + object.__setattr__(self, "references", refs) + object.__setattr__(self, "documents", documents) + + def document(self, id: str) -> SourceDocument: + for document in self.documents: + if document.id == id: + return document + raise ValueError(f"missing source ID: {id}") + + def reference(self, id: str) -> SourceRef: + for reference in self.references: + if reference.id == id: + return reference + raise ValueError(f"missing source ID: {id}") + + def at_path(self, path: str) -> SourceDocument: + relative_path(path) + matches = [ref for ref in self.references if ref.path == path] + if len(matches) != 1: + raise ValueError(f"source path is missing or ambiguous: {path}") + return self.document(matches[0].id) + + def verify_symbol(self, ref: SymbolRef) -> None: + source = self.document(ref.source_id) + if not self.reference(ref.source_id).path.endswith(".py"): + raise ValueError("symbol must be bound to a Python source document") + try: + body = ast.parse(source.content).body + except (SyntaxError, UnicodeError) as error: + raise ValueError("invalid bound Python source") from error + for index, name in enumerate(ref.symbol.split(".")): + matches = [node for node in body if isinstance(node, (ast.FunctionDef, ast.AsyncFunctionDef, ast.ClassDef)) and node.name == name] + if len(matches) != 1: + raise ValueError(f"missing or ambiguous symbol {ref.symbol} in {source.id}") + selected = matches[0] + if index < len(ref.symbol.split(".")) - 1 and not isinstance(selected, ast.ClassDef): + raise ValueError("only module or class member bindings are supported") + body = selected.body + + +def read_sources(root: str | Path, references: tuple[SourceRef, ...]) -> SourceSet: + """Load an explicit directory bundle, including after relocation/install. + + V2 YAMLs and historical source bundles are caller-owned data; they are not + implicitly bundled package resources or resolved relative to the CWD. + """ + root = Path(root) + if not root.is_absolute(): + raise ValueError("an absolute explicit source bundle root is required") + root = root.resolve(strict=True) + documents = [] + for ref in references: + path = (root / relative_path(ref.path)).resolve(strict=True) + if not path.is_relative_to(root) or not path.is_file(): + raise ValueError(f"source escapes or is absent from the supplied bundle: {ref.path}") + documents.append(SourceDocument(ref.id, path.read_bytes())) + return SourceSet(references, tuple(documents)) diff --git a/src/solarlab/solvers/__init__.py b/src/solarlab/solvers/__init__.py new file mode 100644 index 00000000..829d75ea --- /dev/null +++ b/src/solarlab/solvers/__init__.py @@ -0,0 +1,3 @@ +"""Solver layers; ``solarlab.solvers.nonlinear`` is the layout-independent DC layer.""" + +__all__: tuple[str, ...] = () diff --git a/src/solarlab/solvers/linear/__init__.py b/src/solarlab/solvers/linear/__init__.py new file mode 100644 index 00000000..ab2abcb6 --- /dev/null +++ b/src/solarlab/solvers/linear/__init__.py @@ -0,0 +1,7 @@ +"""Bounded sparse linear systems; physical assembly belongs to callers.""" + +from solarlab.solvers.linear.frequency_domain import ( + FrequencyOptions, FrequencySolution, FrequencySolveError, solve_frequency_systems, +) + +__all__ = ["FrequencyOptions", "FrequencySolution", "FrequencySolveError", "solve_frequency_systems"] diff --git a/src/solarlab/solvers/linear/frequency_domain.py b/src/solarlab/solvers/linear/frequency_domain.py new file mode 100644 index 00000000..5379ab8b --- /dev/null +++ b/src/solarlab/solvers/linear/frequency_domain.py @@ -0,0 +1,163 @@ +"""Bounded complex sparse solves of (J + i*omega*K) x = b. + +The caller supplies the actual residual and storage Jacobians. Row/column +equilibration and bounded refinement change no equation or right-hand side. +""" + +from __future__ import annotations + +from dataclasses import dataclass +import math + +import numpy as np +from numpy.typing import ArrayLike +from scipy.sparse import csc_matrix, diags +from scipy.sparse.linalg import splu + +__all__ = ["FrequencyOptions", "FrequencySolution", "FrequencySolveError", "solve_frequency_systems"] + + +@dataclass(frozen=True) +class FrequencyOptions: + max_frequencies: int = 32 + relative_tolerance: float = 1e-11 + max_refinements: int = 2 + + def __post_init__(self) -> None: + if type(self.max_frequencies) is not int or self.max_frequencies < 1: + raise ValueError("max_frequencies must be a positive integer") + if not math.isfinite(self.relative_tolerance) or self.relative_tolerance <= 0.0: + raise ValueError("relative_tolerance must be finite and positive") + if type(self.max_refinements) is not int or self.max_refinements < 0: + raise ValueError("max_refinements must be a nonnegative integer") + + +@dataclass(frozen=True) +class FrequencySolution: + frequency_Hz: float + solution: np.ndarray + residual: np.ndarray + componentwise_backward_error: float + refinement_steps: int + + def __post_init__(self) -> None: + for name in ("solution", "residual"): + value = np.array(getattr(self, name), dtype=complex, copy=True) + if value.ndim != 1 or not np.all(np.isfinite(value)): + raise ValueError(f"{name} must be a finite complex vector") + value.setflags(write=False) + object.__setattr__(self, name, value) + + +class FrequencySolveError(ArithmeticError): + """A complex solve failed; no alternative equation/solver is attempted.""" + + +def solve_frequency_systems( + jacobian: csc_matrix, + storage_jacobian: csc_matrix, + rhs: ArrayLike, + frequencies_Hz: ArrayLike, + *, + options: FrequencyOptions | None = None, + fixed_coordinates: dict[int, complex] | None = None, + rhs_rate: ArrayLike | None = None, +) -> tuple[FrequencySolution, ...]: + """exp(+i*omega*t) systems with rhs+i*omega*rhs_rate. + + Prescribed coordinates eliminate an invertible algebraic row block; + every result is checked against all original rows, not just the reduction. + """ + controls = FrequencyOptions() if options is None else options + supplied = np.asarray(frequencies_Hz) + if np.iscomplexobj(supplied): + raise ValueError("frequencies must be real Hz") + frequencies = np.asarray(supplied, dtype=float) + if ( + frequencies.ndim != 1 or frequencies.size == 0 + or frequencies.size > controls.max_frequencies + or not np.all(np.isfinite(frequencies)) or np.any(frequencies < 0.0) + or np.unique(frequencies).size != frequencies.size + ): + raise ValueError("frequencies must be a bounded nonempty list of distinct finite nonnegative Hz") + J = csc_matrix(jacobian, dtype=complex) + K = csc_matrix(storage_jacobian, dtype=complex) + b_static = np.asarray(rhs, dtype=complex) + b_rate = np.zeros_like(b_static) if rhs_rate is None else np.asarray(rhs_rate, dtype=complex) + if ( + J.shape[0] == 0 or J.shape[0] != J.shape[1] or K.shape != J.shape + or b_static.shape != (J.shape[0],) or b_rate.shape != b_static.shape + or not np.all(np.isfinite(J.data)) or not np.all(np.isfinite(K.data)) + or not np.all(np.isfinite(b_static)) or not np.all(np.isfinite(b_rate)) + ): + raise ValueError("finite square Jacobians and a matching finite complex rhs are required") + known = {} if fixed_coordinates is None else dict(fixed_coordinates) + if any( + type(index) is not int or not 0 <= index < J.shape[0] or not np.isfinite(value) + for index, value in known.items() + ): + raise ValueError("fixed coordinates must be finite and index the system") + fixed: np.ndarray = np.asarray(sorted(known), dtype=int) + free: np.ndarray = np.asarray([index for index in range(J.shape[0]) if index not in known], dtype=int) + prescribed: np.ndarray = np.asarray([known[index] for index in fixed], dtype=complex) + if fixed.size: + if np.any(K[fixed].data != 0.0) or np.any(J[fixed][:, free].data != 0.0): + raise ValueError("fixed coordinate rows must be algebraic and contain no free variables") + try: + splu(J[fixed][:, fixed].tocsc()) + except RuntimeError as error: + raise FrequencySolveError("fixed algebraic coordinate block is singular") from error + solutions = [] + for frequency in frequencies: + omega = 2.0 * math.pi * float(frequency) + if not math.isfinite(omega): + raise ValueError("angular frequency must be finite") + b = b_static + 1j * omega * b_rate + if not np.all(np.isfinite(b)): + raise FrequencySolveError(f"nonfinite frequency rhs at {frequency:g} Hz") + matrix = (J + 1j * omega * K).tocsc() + if not np.all(np.isfinite(matrix.data)): + raise FrequencySolveError(f"nonfinite frequency matrix at {frequency:g} Hz") + reduced = matrix[free][:, free] + reduced_rhs = b[free] - matrix[free][:, fixed] @ prescribed + if free.size == 0: + x = np.zeros(J.shape[0], dtype=complex) + x[fixed] = prescribed + residual = matrix @ x - b + if np.any(residual != 0.0): + raise FrequencySolveError("fully prescribed coordinates do not satisfy the original equations") + solutions.append(FrequencySolution(float(frequency), x, residual, 0.0, 0)) + continue + row_max = np.asarray(abs(reduced).max(axis=1).todense()).ravel() + if np.any(row_max == 0.0): + raise FrequencySolveError(f"singular zero row at {frequency:g} Hz") + rows = 1.0 / row_max + scaled = diags(rows) @ reduced + column_max = np.asarray(abs(scaled).max(axis=0).todense()).ravel() + if np.any(column_max == 0.0): + raise FrequencySolveError(f"singular zero column at {frequency:g} Hz") + columns = 1.0 / column_max + try: + factor = splu((scaled @ diags(columns)).tocsc()) + x = np.zeros(J.shape[0], dtype=complex) + x[fixed] = prescribed + x[free] = columns * factor.solve(rows * reduced_rhs) + except RuntimeError as error: + raise FrequencySolveError(f"factorization failed at {frequency:g} Hz: {error}") from error + for refinement in range(controls.max_refinements + 1): + residual = matrix @ x - b + denominator = abs(matrix) @ abs(x) + abs(b) + error_rows = np.divide( + abs(residual), denominator, out=np.zeros_like(denominator), where=denominator != 0.0, + ) + error_rows[(denominator == 0.0) & (abs(residual) != 0.0)] = math.inf + backward_error = float(np.max(error_rows)) + if np.all(np.isfinite(x)) and math.isfinite(backward_error) and backward_error <= controls.relative_tolerance: + solutions.append(FrequencySolution(float(frequency), x, residual, backward_error, refinement)) + break + if refinement == controls.max_refinements: + raise FrequencySolveError( + f"linear residual failed at {frequency:g} Hz after {refinement} refinements: {backward_error:g}" + ) + x[free] += columns * factor.solve(-rows * residual[free]) + return tuple(solutions) diff --git a/src/solarlab/solvers/nonlinear/__init__.py b/src/solarlab/solvers/nonlinear/__init__.py new file mode 100644 index 00000000..716aea49 --- /dev/null +++ b/src/solarlab/solvers/nonlinear/__init__.py @@ -0,0 +1,33 @@ +"""Layout-independent DC nonlinear solver layer (P04-04 DC part). + +The namespace exports the M-class (legacy bit-identical) criteria, loops and +preparation. The unified N-class solver is imported from its modules: +:mod:`~solarlab.solvers.nonlinear.problem`, :mod:`~solarlab.solvers.nonlinear.newton`, +:mod:`~solarlab.solvers.nonlinear.continuation`, :mod:`~solarlab.solvers.nonlinear.ptc` +and :mod:`~solarlab.solvers.nonlinear.constraints`; the P04-B switch points are +:mod:`~solarlab.solvers.nonlinear.production`. +""" + +from solarlab.solvers.nonlinear.legacy_criteria import ( + CURRENT_BOUNDED_STALL, LEGACY_ACCEPTANCE_LABELS, RESIDUAL_CONVERGED, + LegacySteadyStateCriteriaError, LegacySteadyStateTolerances, + legacy_continuity_current_bound, legacy_normalized_poisson_residual, + legacy_steady_state_tolerances, +) +from solarlab.solvers.nonlinear.legacy_newton import ( + LEGACY_FD_EPS, LEGACY_LN_STEP_CAP, LegacyNewtonStageError, legacy_damped_fd_newton, + legacy_newton_stage, +) +from solarlab.solvers.nonlinear.legacy_preparation import ( + LEGACY_DEFAULT_ILLUMINATION_STAGES, LEGACY_INTERFACE_FALLBACK_ILLUMINATION_STAGES, + legacy_illumination_stages, legacy_quasi_neutral_seed, +) + +__all__ = [ + "CURRENT_BOUNDED_STALL", "LEGACY_ACCEPTANCE_LABELS", "LEGACY_DEFAULT_ILLUMINATION_STAGES", + "LEGACY_FD_EPS", "LEGACY_INTERFACE_FALLBACK_ILLUMINATION_STAGES", "LEGACY_LN_STEP_CAP", + "LegacyNewtonStageError", "LegacySteadyStateCriteriaError", "LegacySteadyStateTolerances", + "RESIDUAL_CONVERGED", "legacy_continuity_current_bound", "legacy_damped_fd_newton", + "legacy_illumination_stages", "legacy_newton_stage", "legacy_normalized_poisson_residual", + "legacy_quasi_neutral_seed", "legacy_steady_state_tolerances", +] diff --git a/src/solarlab/solvers/nonlinear/constraints.py b/src/solarlab/solvers/nonlinear/constraints.py new file mode 100644 index 00000000..326ae936 --- /dev/null +++ b/src/solarlab/solvers/nonlinear/constraints.py @@ -0,0 +1,219 @@ +"""Steady-state constraints: domain inventories, frozen fields, the DC port (N class). + +* :class:`InventoryConstrainedProblem` -- with blocking boundaries a mobile + species' steady continuity rows sum to zero in every closed domain, so the + DC system is rank deficient by one per domain. One declared row of each + domain is replaced by ``sum_i w_i c_i(u) - N_domain``; the caller supplies + ``c(u)`` and ``dc/du`` in its own coordinates. +* :class:`FrozenVariables` -- a frozen species keeps its complete profile and + background bit for bit; only the free variables are solved, and the rows of + the frozen equations are dropped. +* :class:`DcPortProblem` -- direct ``V_oc``: the bias becomes an unknown and + the DC terminal-current constraint ``J_dc(u, V) = 0`` closes the system. + Only the DC total terminal current is a valid port constraint here; a zero + transient conduction current (the TPV open-circuit condition) is a dynamic + port constraint and is refused. +""" + +from __future__ import annotations + +from collections.abc import Callable +from dataclasses import dataclass, field + +import numpy as np +from numpy.typing import ArrayLike, NDArray +from scipy.sparse import csr_matrix, hstack, issparse, vstack + +from solarlab.solvers.nonlinear.problem import Matrix, SteadyProblem, Vector + +__all__ = [ + "DC_TERMINAL_CURRENT", "DcPortProblem", "DomainInventory", "FrozenVariables", + "InventoryConstrainedProblem", "PortConstraintError", "TRANSIENT_CONDUCTION_CURRENT", + "augmented_start", +] + +DC_TERMINAL_CURRENT = "dc_terminal_current" +TRANSIENT_CONDUCTION_CURRENT = "transient_conduction_current" + + +def _dense(matrix: Matrix) -> NDArray[np.float64]: + return np.asarray(matrix.toarray() if issparse(matrix) else matrix, dtype=float) + + +def _indices(values: ArrayLike, size: int | None = None) -> NDArray[np.intp]: + array = np.asarray(values) + if array.ndim != 1 or array.size == 0 or array.dtype.kind not in "iu": + raise ValueError("index sets must be non-empty 1-D integer arrays") + result = array.astype(np.intp) + if np.unique(result).size != result.size or np.any(result < 0) or ( + size is not None and np.any(result >= size)): + raise ValueError("index sets must be unique and inside the system") + return result + + +@dataclass(frozen=True) +class DomainInventory: + """``sum_i weights_i c_i(u) = inventory`` over the domain's ``indices``.""" + + name: str + indices: NDArray[np.intp] + weights: Vector + inventory: float + replaced_row: int + + def __post_init__(self) -> None: + object.__setattr__(self, "indices", _indices(self.indices)) + weights = np.array(self.weights, dtype=float, copy=True) + if weights.shape != self.indices.shape or not np.all(np.isfinite(weights)) \ + or np.any(weights <= 0.0): + raise ValueError(f"{self.name}: weights must be positive, one per index") + object.__setattr__(self, "weights", weights) + if not (np.isfinite(self.inventory) and self.inventory > 0.0): + raise ValueError(f"{self.name}: inventory must be finite and positive") + if int(self.replaced_row) not in set(self.indices.tolist()): + raise ValueError(f"{self.name}: the replaced row must belong to the domain") + + +@dataclass(frozen=True) +class InventoryConstrainedProblem: + """Replace one continuity row per closed domain by its inventory.""" + + base: SteadyProblem + domains: tuple[DomainInventory, ...] + density: Callable[[Vector], Vector] + density_derivative: Callable[[Vector], Vector] + + def __post_init__(self) -> None: + object.__setattr__(self, "domains", tuple(self.domains)) + if not self.domains: + raise ValueError("at least one inventory domain is required") + seen: set[int] = set() + for domain in self.domains: + members = set(domain.indices.tolist()) + if seen & members: + raise ValueError("inventory domains must not overlap") + seen |= members + + def residual(self, u: Vector) -> Vector: + values = np.array(self.base.residual(u), dtype=float, copy=True) + density = np.asarray(self.density(u), dtype=float) + for domain in self.domains: + values[domain.replaced_row] = ( + float(np.dot(domain.weights, density[domain.indices])) - domain.inventory) + return values + + def jacobian(self, u: Vector) -> NDArray[np.float64]: + matrix = _dense(self.base.jacobian(u)).copy() + slope = np.asarray(self.density_derivative(u), dtype=float) + for domain in self.domains: + matrix[domain.replaced_row, :] = 0.0 + matrix[domain.replaced_row, domain.indices] = domain.weights * slope[domain.indices] + return matrix + + def inventories(self, u: Vector) -> dict[str, float]: + density = np.asarray(self.density(u), dtype=float) + return {domain.name: float(np.dot(domain.weights, density[domain.indices])) + for domain in self.domains} + + +@dataclass(frozen=True) +class FrozenVariables: + """Solve only the free variables; the frozen entries are held exactly.""" + + base: SteadyProblem + frozen: NDArray[np.intp] + frozen_values: Vector + size: int + free: NDArray[np.intp] = field(init=False) + + def __post_init__(self) -> None: + frozen = _indices(self.frozen, self.size) + values = np.array(self.frozen_values, dtype=float, copy=True) + if values.shape != frozen.shape or not np.all(np.isfinite(values)): + raise ValueError("one finite frozen value is required per frozen index") + values.setflags(write=False) + object.__setattr__(self, "frozen", frozen) + object.__setattr__(self, "frozen_values", values) + mask: NDArray[np.bool_] = np.ones(self.size, dtype=bool) + mask[frozen] = False + if not np.any(mask): + raise ValueError("at least one variable must stay free") + object.__setattr__(self, "free", np.flatnonzero(mask)) + + def expand(self, free_values: Vector) -> Vector: + full: Vector = np.empty(self.size, dtype=float) + full[self.frozen] = self.frozen_values + full[self.free] = np.asarray(free_values, dtype=float) + return full + + def restrict(self, full: Vector) -> Vector: + result: Vector = np.asarray(full, dtype=float)[self.free].copy() + return result + + def residual(self, u: Vector) -> Vector: + result: Vector = np.asarray(self.base.residual(self.expand(u)), dtype=float)[self.free] + return result + + def jacobian(self, u: Vector) -> Matrix: + matrix = self.base.jacobian(self.expand(u)) + if issparse(matrix): + return matrix.tocsr()[self.free][:, self.free] + return np.asarray(matrix, dtype=float)[np.ix_(self.free, self.free)] + + +class PortConstraintError(ValueError): + """A port constraint of the wrong kind was requested.""" + + +@dataclass(frozen=True) +class DcPortProblem: + """Unknowns ``(u, V)``; equations ``F(u, V) = 0`` and ``J_dc(u, V) / J_scale = 0``. + + ``problem_at(V)`` builds the steady problem at bias ``V``; ``dresidual_dV`` + is ``dF/dV``; ``terminal_current`` and its two derivatives describe the DC + total terminal current. ``current_scale`` [A/m^2] makes the port row + dimensionless (no default). + """ + + problem_at: Callable[[float], SteadyProblem] + dresidual_dV: Callable[[Vector, float], Vector] + terminal_current: Callable[[Vector, float], float] + terminal_current_gradient: Callable[[Vector, float], Vector] + terminal_current_dV: Callable[[Vector, float], float] + current_scale: float + kind: str = DC_TERMINAL_CURRENT + + def __post_init__(self) -> None: + if self.kind == TRANSIENT_CONDUCTION_CURRENT: + raise PortConstraintError( + "a zero transient conduction current is the dynamic (TPV) open-circuit " + "constraint; the DC solver only closes on the DC terminal current") + if self.kind != DC_TERMINAL_CURRENT: + raise PortConstraintError(f"unknown port constraint kind {self.kind!r}") + if not (np.isfinite(self.current_scale) and self.current_scale > 0.0): + raise ValueError("current_scale must be finite and positive") + + @staticmethod + def split(z: Vector) -> tuple[Vector, float]: + return np.asarray(z[:-1], dtype=float), float(z[-1]) + + def residual(self, z: Vector) -> Vector: + u, V = self.split(z) + values = np.asarray(self.problem_at(V).residual(u), dtype=float) + return np.append(values, self.terminal_current(u, V) / self.current_scale) + + def jacobian(self, z: Vector) -> Matrix: + u, V = self.split(z) + base = self.problem_at(V).jacobian(u) + column = np.asarray(self.dresidual_dV(u, V), dtype=float)[:, None] + row = np.append(np.asarray(self.terminal_current_gradient(u, V), dtype=float), + self.terminal_current_dV(u, V)) / self.current_scale + if issparse(base): + top = hstack([base, csr_matrix(column)]) + return vstack([top, csr_matrix(row[None, :])]).tocsr() + return np.vstack([np.hstack([np.asarray(base, dtype=float), column]), row[None, :]]) + + +def augmented_start(u: Vector, V: float) -> Vector: + """``(u, V)`` as one vector for :class:`DcPortProblem`.""" + return np.append(np.asarray(u, dtype=float), float(V)) diff --git a/src/solarlab/solvers/nonlinear/continuation.py b/src/solarlab/solvers/nonlinear/continuation.py new file mode 100644 index 00000000..ad547eec --- /dev/null +++ b/src/solarlab/solvers/nonlinear/continuation.py @@ -0,0 +1,170 @@ +"""Bounded parameter continuation for staged preparation and bias sweeps (N class). + +``solve_continuation`` marches one scalar parameter (bias, generation scale, +contact homotopy, ...) from an accepted start to each requested target. A +failed attempt halves the step; the number of consecutive cuts, the smallest +step and the total number of attempts are bounded, and running out of any of +them is a reported failure -- no further fallback is tried. + +Every attempt starts from a guess built only from accepted states (the last +accepted state, or a secant through the last two), so a failed or rejected +attempt can never seed the next one. Each attempt records its parameters, the +digest of the accepted state it was built from, the digest of its actual start, +its predictor, its termination and its cost. +""" + +from __future__ import annotations + +from collections.abc import Callable, Sequence +from dataclasses import dataclass +import math + +import numpy as np + +from solarlab.solvers.nonlinear.newton import NewtonResult, Termination +from solarlab.solvers.nonlinear.problem import SteadyProblem, Vector, state_digest + +__all__ = [ + "AttemptRecord", "ContinuationPoint", "ContinuationResult", "ContinuationSettings", + "PREVIOUS", "SECANT", "solve_continuation", +] + +PREVIOUS = "previous" +SECANT = "secant" +INITIAL = "initial" + + +@dataclass(frozen=True) +class ContinuationSettings: + max_step: float + min_step: float + max_consecutive_cuts: int + max_attempts: int + predictor: str + growth: float + + def __post_init__(self) -> None: + if not (math.isfinite(self.max_step) and math.isfinite(self.min_step) + and 0.0 < self.min_step <= self.max_step): + raise ValueError("steps must satisfy 0 < min_step <= max_step") + if type(self.max_consecutive_cuts) is not int or self.max_consecutive_cuts < 0: + raise ValueError("max_consecutive_cuts must be a non-negative integer") + if type(self.max_attempts) is not int or self.max_attempts < 1: + raise ValueError("max_attempts must be a positive integer") + if self.predictor not in (PREVIOUS, SECANT): + raise ValueError("predictor must be 'previous' or 'secant'") + if not (math.isfinite(self.growth) and self.growth >= 1.0): + raise ValueError("growth must be finite and at least 1") + + +@dataclass(frozen=True) +class AttemptRecord: + index: int + start_parameter: float + target_parameter: float + base_digest: str + start_digest: str + predictor: str + termination: Termination + accepted: bool + iterations: int + residual_evaluations: int + jacobian_evaluations: int + scaled_residual: float + message: str + + +@dataclass(frozen=True) +class ContinuationPoint: + parameter: float + state: Vector + result: NewtonResult + requested: bool + + +@dataclass(frozen=True) +class ContinuationResult: + completed: bool + points: tuple[ContinuationPoint, ...] + attempts: tuple[AttemptRecord, ...] + failure: str | None + + def requested_points(self) -> tuple[ContinuationPoint, ...]: + return tuple(point for point in self.points if point.requested) + + +def solve_continuation( + problem_at: Callable[[float], SteadyProblem], + initial_guess: Vector, + start_parameter: float, + targets: Sequence[float], + newton: Callable[[SteadyProblem, Vector], NewtonResult], + settings: ContinuationSettings, +) -> ContinuationResult: + """Accept ``start_parameter``, then march to every target in order.""" + goals = [float(value) for value in targets] + start = float(start_parameter) + if not goals or not all(math.isfinite(value) for value in [start, *goals]): + raise ValueError("continuation needs finite start and target parameters") + direction = math.copysign(1.0, goals[0] - start) if goals[0] != start else 1.0 + path = [start, *goals] + if any(direction * (right - left) < 0.0 for left, right in zip(path[:-1], path[1:])) or \ + any(right == left for left, right in zip(path[1:-1], path[2:])): + raise ValueError("targets must move monotonically away from the start") + attempts: list[AttemptRecord] = [] + points: list[ContinuationPoint] = [] + + def attempt(parameter: float, base: Vector | None, guess: Vector, predictor: str, + origin: float) -> NewtonResult: + result = newton(problem_at(parameter), guess.copy()) + attempts.append(AttemptRecord( + len(attempts), origin, parameter, + state_digest(base) if base is not None else "", result.start_digest, predictor, + result.termination, result.accepted, result.iteration_count, + result.residual_evaluations, result.jacobian_evaluations, + result.scaled_residual, result.message)) + return result + + def failed(message: str) -> ContinuationResult: + return ContinuationResult(False, tuple(points), tuple(attempts), message) + + first = attempt(start, None, np.asarray(initial_guess, dtype=float), INITIAL, start) + if not first.accepted: + return failed(f"start parameter {start:g} not accepted: {first.termination.value}: " + f"{first.message}") + points.append(ContinuationPoint(start, first.state, first, True)) + accepted_parameter, accepted_state = start, first.state + previous: tuple[float, Vector] | None = None + step = settings.max_step + for goal in goals: + cuts = 0 + while accepted_parameter != goal: + if len(attempts) >= settings.max_attempts: + return failed(f"attempt budget {settings.max_attempts} exhausted before " + f"{goal:g} (last accepted {accepted_parameter:g})") + remaining = abs(goal - accepted_parameter) + parameter = goal if remaining <= step else accepted_parameter + direction * step + guess = accepted_state + predictor = PREVIOUS + if settings.predictor == SECANT and previous is not None: + old_parameter, old_state = previous + ratio = (parameter - accepted_parameter) / (accepted_parameter - old_parameter) + guess = accepted_state + ratio * (accepted_state - old_state) + predictor = SECANT + result = attempt(parameter, accepted_state, guess, predictor, accepted_parameter) + if result.accepted: + points.append(ContinuationPoint(parameter, result.state, result, + parameter == goal)) + previous = (accepted_parameter, accepted_state) + accepted_parameter, accepted_state = parameter, result.state + cuts = 0 + step = min(settings.max_step, step * settings.growth) + continue + cuts += 1 + step *= 0.5 + if cuts > settings.max_consecutive_cuts or step < settings.min_step: + return failed( + f"continuation stopped at {accepted_parameter:g} toward {goal:g}: " + f"{cuts} consecutive cuts, step {step:.3g}; last attempt " + f"{result.termination.value}: {result.message}") + return ContinuationResult(True, tuple(points), tuple(attempts), None) diff --git a/src/solarlab/solvers/nonlinear/ionic_1d.py b/src/solarlab/solvers/nonlinear/ionic_1d.py new file mode 100644 index 00000000..2db6bcb3 --- /dev/null +++ b/src/solarlab/solvers/nonlinear/ionic_1d.py @@ -0,0 +1,460 @@ +"""Mobile inventory and per-cell immobile closure for coupled finite-site ions. + +One balance per mobile species or every cell of an immobile species is closed +by its declared physical inventory/profile. All original balances remain diagnostic and +are checked independently. No density projection or electronic-only solve +occurs here; every Newton system contains 3N electronic coordinates and M +coordinates per species, with explicit mapping into the electrical grid. +""" + +from __future__ import annotations + +from collections.abc import Callable +from dataclasses import asdict, dataclass +import hashlib +import math +import time +from typing import cast + +import numpy as np +from scipy.sparse import csc_matrix + +from solarlab.contracts.units import ELEMENTARY_CHARGE_C as Q +from solarlab.equations.assembly.ionic_1d import AssembledConstrainedIonic1DProblem, AssembledIonic1DProblem +from solarlab.equations.dc_1d import CapabilityError +from solarlab.equations.implementation import use_assembled +from solarlab.equations.ionic_1d import CompiledIonicDevice1D, Ionic1DProblem, IonicState1D +from solarlab.equations.ionic_closure import ( + declared_immobile_profiles, immobile_profile_binding, ion_mobility_partition, + ionic_closure_residual, ionic_closure_jacobian, +) +from solarlab.solvers.nonlinear.newton import NewtonResult, NewtonSettings, solve_newton +from solarlab.solvers.nonlinear.problem import CallableProblem, GateOutcome, Matrix, ResidualScaling, SolveBudget, StepControl +from solarlab.solvers.nonlinear.production import ( + HISTORICAL_MAX_ROW_V1, poisson_row_weights, production_coordinates, production_residual_scaling, +) +from solarlab.solvers.nonlinear.steady_1d import SteadyOptions + +__all__ = ["ConstrainedIonic1DProblem", "IonicSteadyOptions", "IonicSteadyResult", "solve_ionic_steady_state", "ionic_steady_control_record", "checks", "diagnostics"] + + +@dataclass(frozen=True) +class ConstrainedIonic1DProblem: + """Original rows with mobile inventory or immobile per-cell physical closure.""" + + original: Ionic1DProblem + inventory_row_node: int + + def __post_init__(self) -> None: + device = self.original.device + if type(self.inventory_row_node) is not int or not 0 <= self.inventory_row_node < device.ion_node_count: + raise ValueError("inventory_row_node must name an ion-domain node") + ion_mobility_partition(device) + manifest = device.binding_manifest + domain = manifest.get("ion_domain") + component_binding = manifest.get("electronic_component") + ion_model = manifest.get("ion_model") + if not isinstance(domain, dict) or domain.get("contacts") != ["blocking", "blocking"]: + raise CapabilityError("ionic steady closure requires the declared closed blocking domain") + if not isinstance(component_binding, dict) or not isinstance(ion_model, dict): + raise ValueError("complete component and ionic policy bindings are required") + if (hashlib.sha256(device.binding_manifest_json.encode()).hexdigest() != device.identity + or manifest["original_prepared_sha256"] != device.original_prepared_sha256 + or component_binding["compiled_sha256"] != device.electronic_component.identity + or ion_model["steric_model"] != device.steric_model + or not np.array_equal(ion_model["face_diffusivity_m2_s"], device.positive_ion_diffusivity_faces_m2_s)): + raise ValueError("the full ionic/component provenance binding is inconsistent") + if (domain["layer"] != device.domain_layer_id + or not np.array_equal(domain.get("electrical_node_indices"), device.ion_node_indices) + or not np.array_equal(domain["nodes_m"], device.ion_geometry.nodes_m) + or not np.array_equal(domain["cell_measures_m"], device.ion_geometry.cell_measures_m) + or float(domain["reference_inventory_m2"]) != device.reference_inventory_m2): + raise ValueError("physical inventory must match the original prepared domain and weights") + if device.ion_species_count == 2: + if (ion_model.get("site_contract") != device.ion_site_contract + or device.ion_site_contract not in {"independent_finite_sites", "shared_finite_sites"} + or not np.array_equal(ion_model.get("negative_face_diffusivity_m2_s"), + device.negative_ion_diffusivity_faces_m2_s)): + raise ValueError("the negative ionic provenance binding is inconsistent") + if domain.get("negative_reference_inventory_m2") != device.negative_reference_inventory_m2: + raise ValueError("negative physical inventory must match the original prepared domain and weights") + + @property + def constraint_row(self) -> int: + return 3 * self.original.device.node_count + self.inventory_row_node + + @property + def immobile_species(self) -> tuple[str, ...]: + return ion_mobility_partition(self.original.device)[1] + + @property + def profile_constraint_rows(self) -> dict[str, tuple[int, ...]]: + return {species: tuple(range(block.start, block.stop)) + for species, block in zip(self.original.device.ion_species_names, self.original.device.ion_species_slices) + if species in self.immobile_species} + + @property + def inventory_target_m2(self) -> float: + return self.original.device.reference_inventory_m2 + + @property + def constraint_rows(self) -> dict[str, int]: + device = self.original.device + return {species: block.start + self.inventory_row_node + for species, block in zip(device.ion_species_names, device.ion_species_slices)} + + @property + def inventory_targets_m2(self) -> dict[str, float]: + device = self.original.device + targets = {"positive": self.inventory_target_m2} + if device.ion_species_count == 2: + targets["negative"] = device.negative_reference_inventory_m2 + return targets + + def residual(self, y: np.ndarray) -> np.ndarray: + if self.immobile_species: + return ionic_closure_residual(self.original, y, self.inventory_row_node) + result = self.original.residual(y) + device = self.original.device + _, _, _, populations = device.fields_by_species(y, voltage_V=self.original.voltage_V) + for species, density in zip(device.ion_species_names, populations): + inventory = math.fsum((device.ion_geometry.cell_measures_m * density).tolist()) + result[self.constraint_rows[species]] = inventory - self.inventory_targets_m2[species] + return result + + def jacobian(self, y: np.ndarray) -> csc_matrix: + if self.immobile_species: + return ionic_closure_jacobian(self.original, y, self.inventory_row_node) + matrix = self.original.jacobian(y).tolil() + device = self.original.device + # The actual physical storage derivative supplies d(sum(W_P*P))/da. + storage = self.original.storage_jacobian(y) + derivative = -storage.diagonal() + for species, block in zip(device.ion_species_names, device.ion_species_slices): + row = self.constraint_rows[species] + if device.ion_site_contract == "shared_finite_sites": + # Each inventory depends on both shared-site coordinates. + first_ion = 3 * device.node_count + gradient = -np.asarray(storage[block, first_ion:].sum(axis=0)).ravel() + matrix.rows[row] = list(range(first_ion, device.state_size)) + matrix.data[row] = gradient.tolist() + else: + matrix.rows[row] = list(range(block.start, block.stop)) + matrix.data[row] = derivative[block].tolist() + return matrix.tocsc() + + +@dataclass(frozen=True) +class IonicSteadyOptions: + """Explicit internal row controls and independent numerical checks. + + electronic supplies physical limits and phi/quasi-Fermi step bounds only; + budget controls the one coupled solve. Ionic limits apply independently + to every configured species. No electronic continuation runs. + """ + + electronic: SteadyOptions + inventory_relative_tolerance: float + ion_balance_tolerance_m2_s: float + ion_flux_tolerance_m2_s: float + ion_logit_step: float + inventory_row_node: int + budget: SolveBudget + wall_s: float + + def __post_init__(self) -> None: + if not isinstance(self.electronic, SteadyOptions) or not isinstance(self.budget, SolveBudget): + raise ValueError("explicit electronic controls and a Newton budget are required") + if self.electronic.convergence_policy != HISTORICAL_MAX_ROW_V1: + raise ValueError("ionic steady supports only historical_max_row_v1; no other convergence policy is implemented") + for name in ("inventory_relative_tolerance", "ion_balance_tolerance_m2_s", + "ion_flux_tolerance_m2_s", "ion_logit_step", "wall_s"): + if not math.isfinite(getattr(self, name)) or getattr(self, name) <= 0.0: + raise ValueError(f"{name} must be finite and positive") + + +@dataclass(frozen=True) +class IonicSteadyResult: + """Candidate state and original evidence; accepted is numerical only.""" + + state: IonicState1D | None + accepted: bool + termination: str + newton: NewtonResult | None + initial_state: IonicState1D + candidate_coordinates: np.ndarray + diagnostics: dict[str, object] | None + checks: tuple[GateOutcome, ...] + solver_controls: dict[str, object] + compiled_identity: str + original_prepared_identity: str + binding_manifest: dict[str, object] + evaluation_counts: dict[str, int] + wall_s: float + error: str | None = None + qualification: bool = False + + +def ionic_steady_control_record(device: CompiledIonicDevice1D, options: IonicSteadyOptions) -> dict[str, object]: + """Retain old positive-D controls; bind declared profiles only for zero D.""" + recorded = asdict(options) + binding = immobile_profile_binding(device) + if binding is not None: + recorded["ion_closure"] = binding + return recorded + + +def diagnostics(problem: ConstrainedIonic1DProblem | AssembledConstrainedIonic1DProblem, + y: np.ndarray) -> dict[str, object]: + """Keep historical positive aliases; dual evidence also names each species.""" + original, device = problem.original, problem.original.device + count = device.node_count + phi, n, p, populations = device.fields_by_species(y, voltage_V=original.voltage_V) + density = populations[0] + positive_rows = device.ion_species_slices[0] + full = original.residual(y) + component = device.electronic_component + electronic = original.electronic_problem + carrier_rows = full[count:3 * count].reshape(2, count).copy() + fixed_logs = [] + for species, carrier in enumerate(("n", "p")): + for side, node in (("left", 0), ("right", count - 1)): + if component.channel(carrier, side).kind == "fixed_reservoir": + fixed_logs.append(abs(carrier_rows[species, node])) + carrier_rows[species, node] = 0.0 + flux = original.ion_fluxes(y) + electronic_current = np.r_[electronic.contact_current_density(y[:3 * count])[0], + electronic.current_density(y[:3 * count]), + electronic.contact_current_density(y[:3 * count])[1]] + ionic_current = np.r_[0.0, original.ion_current_density_A_m2(y), 0.0] + inventory = math.fsum((device.ion_geometry.cell_measures_m * density).tolist()) + ledger = device.charge_ledger(n, p, density, populations[1] if len(populations) == 2 else None) + deposited = component.geometry.cell_measures_m * Q * ledger.entry("positive_ion").net_population() + domain_charge = Q * device.ion_geometry.cell_measures_m * (density - device.positive_ion_reference_m3) + physical = np.zeros(count) + physical[device.ion_node_indices] = domain_charge + result = { + "electrical_node_count": count, "ion_node_count": device.ion_node_count, + "ion_node_indices": device.ion_node_indices, "ion_nodes_m": device.ion_geometry.nodes_m, + "original_residual": full, "constrained_residual": problem.residual(y), + "constraint_row": problem.constraint_row, "constraint_unit": "particles/m^2", + "inventory_target_m2": problem.inventory_target_m2, "inventory_m2": inventory, + "inventory_error_m2": inventory - problem.inventory_target_m2, + "inventory_relative_error": abs(inventory - problem.inventory_target_m2) / problem.inventory_target_m2, + "ion_flux_m2_s": flux, "ion_balance_m2_s": full[positive_rows], + "ion_balance_l1_m2_s": math.fsum(abs(full[positive_rows]).tolist()), + "ion_balance_sum_m2_s": math.fsum(full[positive_rows].tolist()), + "ion_flux_max_m2_s": float(np.max(abs(flux))), + "electronic_current_density_A_m2": electronic_current, + "ionic_current_density_A_m2": ionic_current, + "total_current_density_A_m2": electronic_current + ionic_current, + "current_spread_A_m2": float(np.ptp(electronic_current + ionic_current)), + "carrier_balance_A_m2": float(Q * np.sum(abs(carrier_rows))), + "poisson_normalized_max": float(np.max(abs(full[:count] * poisson_row_weights(component)))), + "fixed_contact_log_max": max(fixed_logs, default=0.0), + "charge_density_C_m3": ledger.space_charge_C_m3(), + "physical_ion_net_charge_C_m2": physical, + "domain_ion_net_charge_C_m2": domain_charge, + "deposited_ion_net_charge_C_m2": deposited, + "charge_deposition_error_C_m2": deposited - physical, + "ion_density_change_from_reference_m3": density - device.positive_ion_reference_m3, + "minimum_ion_density_m3": float(np.min(density)), + "maximum_site_fraction": float(np.max(density / device.positive_ion_site_limit_m3)), + "potential_V": phi, + } + if device.ion_species_count == 2: + species_keys = ( + "constraint_row", "inventory_target_m2", "inventory_m2", "inventory_error_m2", + "inventory_relative_error", "ion_flux_m2_s", "ion_balance_m2_s", "ion_balance_l1_m2_s", + "ion_balance_sum_m2_s", "ion_flux_max_m2_s", "domain_ion_net_charge_C_m2", + "physical_ion_net_charge_C_m2", "deposited_ion_net_charge_C_m2", "charge_deposition_error_C_m2", + "ion_density_change_from_reference_m3", "minimum_ion_density_m3", "maximum_site_fraction", + ) + positive = {key: result[key] for key in species_keys} + positive["original_dropped_balance_m2_s"] = float(full[problem.constraint_row]) + negative_density = populations[1] + negative_rows = device.ion_species_slices[1] + negative_flux = original.ion_fluxes(y, species="negative") + negative_inventory = math.fsum((device.ion_geometry.cell_measures_m * negative_density).tolist()) + negative_target = problem.inventory_targets_m2["negative"] + negative_domain_charge = -Q * device.ion_geometry.cell_measures_m * ( + negative_density - device.negative_ion_reference_m3) + negative_physical = np.zeros(count) + negative_physical[device.ion_node_indices] = negative_domain_charge + negative_deposited = -component.geometry.cell_measures_m * Q * ledger.entry("negative_ion").net_population() + negative = { + "constraint_row": problem.constraint_rows["negative"], "inventory_target_m2": negative_target, + "inventory_m2": negative_inventory, "inventory_error_m2": negative_inventory - negative_target, + "inventory_relative_error": abs(negative_inventory - negative_target) / negative_target, + "ion_flux_m2_s": negative_flux, "ion_balance_m2_s": full[negative_rows], + "ion_balance_l1_m2_s": math.fsum(abs(full[negative_rows]).tolist()), + "ion_balance_sum_m2_s": math.fsum(full[negative_rows].tolist()), + "ion_flux_max_m2_s": float(np.max(abs(negative_flux))), + "original_dropped_balance_m2_s": float(full[problem.constraint_rows["negative"]]), + "domain_ion_net_charge_C_m2": negative_domain_charge, + "physical_ion_net_charge_C_m2": negative_physical, + "deposited_ion_net_charge_C_m2": negative_deposited, + "charge_deposition_error_C_m2": negative_deposited - negative_physical, + "ion_density_change_from_reference_m3": negative_density - device.negative_ion_reference_m3, + "minimum_ion_density_m3": float(np.min(negative_density)), + "maximum_site_fraction": float(np.max(negative_density / device.negative_ion_site_limit_m3)), + } + result["ion_species"] = {"positive": positive, "negative": negative} + for key in ("domain_ion_net_charge_C_m2", "physical_ion_net_charge_C_m2", + "deposited_ion_net_charge_C_m2", "charge_deposition_error_C_m2"): + result[key] = positive[key] + negative[key] + if device.ion_site_contract == "shared_finite_sites": + occupied = (populations[0] + populations[1]) / device.positive_ion_site_limit_m3 + result["shared_site"] = { + "summed_site_fraction": occupied, "vacancy_fraction": 1.0 - occupied, + "maximum_summed_site_fraction": float(np.max(occupied)), + "minimum_vacancy_fraction": float(np.min(1.0 - occupied)), + } + profiles = declared_immobile_profiles(device) + if profiles: + result["immobile_profiles"] = {"binding": immobile_profile_binding(device), "species": { + species: {"constraint_rows": problem.profile_constraint_rows[species], + "target_density_m3": target, + "actual_density_m3": populations[device.ion_species_names.index(species)], + "cell_particle_error_m2": device.ion_geometry.cell_measures_m * + (populations[device.ion_species_names.index(species)] - target), + "relative_error": float(np.max(abs(populations[device.ion_species_names.index(species)] - target) / target))} + for species, target in profiles.items()}} + return result + + +def checks(diagnostics: dict[str, object], options: IonicSteadyOptions) -> tuple[GateOutcome, ...]: + limits = { + "inventory_relative_error": options.inventory_relative_tolerance, + "ion_balance_l1_m2_s": options.ion_balance_tolerance_m2_s, + "ion_flux_max_m2_s": options.ion_flux_tolerance_m2_s, + "carrier_balance_A_m2": options.electronic.continuity_tolerance_A_m2, + "poisson_normalized_max": options.electronic.poisson_tolerance, + "fixed_contact_log_max": options.electronic.contact_log_tolerance, + "current_spread_A_m2": options.electronic.current_spread_tolerance_A_m2, + } + outcomes = [] + for name, limit in limits.items(): + measured = diagnostics[name] + if not isinstance(measured, (int, float)): + raise TypeError("numerical check must have a scalar measurement") + value = float(measured) + outcomes.append(GateOutcome(name, math.isfinite(value) and value <= limit, value, limit, + "prospective numerical research control; qualification remains false")) + if "ion_species" in diagnostics: + negative = cast(dict[str, dict[str, object]], diagnostics["ion_species"])["negative"] + for name in ("inventory_relative_error", "ion_balance_l1_m2_s", "ion_flux_max_m2_s"): + value, limit = float(cast(float, negative[name])), limits[name] + outcomes.append(GateOutcome("negative_" + name, math.isfinite(value) and value <= limit, + value, limit, "independent negative-species numerical control; qualification remains false")) + if "immobile_profiles" in diagnostics: + local = cast(dict[str, dict[str, object]], diagnostics["immobile_profiles"]) + for species, values in cast(dict[str, dict[str, object]], local["species"]).items(): + value = float(cast(float, values["relative_error"])) + limit = options.inventory_relative_tolerance + outcomes.append(GateOutcome(species + "_immobile_profile_relative_error", math.isfinite(value) and value <= limit, + value, limit, "declared physical target per cell; no average or profile projection")) + return tuple(outcomes) + + +class _WallLimit(RuntimeError): + pass + + +def solve_ionic_steady_state( + device: CompiledIonicDevice1D, *, voltage_V: float, generation_scale: float, + options: IonicSteadyOptions, initial_state: IonicState1D | None = None, +) -> IonicSteadyResult: + """One bounded joint solve, retaining the first failure without a retry.""" + started = time.monotonic() + if not isinstance(device, CompiledIonicDevice1D) or not isinstance(options, IonicSteadyOptions): + raise ValueError("an actual full ionic device and explicit ionic steady controls are required") + problem: ConstrainedIonic1DProblem | AssembledConstrainedIonic1DProblem + if use_assembled(): + problem = AssembledConstrainedIonic1DProblem( + AssembledIonic1DProblem(device, voltage_V, generation_scale), options.inventory_row_node) + else: + original = Ionic1DProblem(device, voltage_V=voltage_V, generation_scale=generation_scale) + problem = ConstrainedIonic1DProblem(original, options.inventory_row_node) + initial = device.initial_state(voltage_V=voltage_V) if initial_state is None else initial_state + if (not isinstance(initial, IonicState1D) or initial.device_sha256 != device.identity + or initial.voltage_V != voltage_V + or initial.electronic_state.device_sha256 != device.electronic_component.identity): + raise ValueError("initial state must carry the full same-device ionic identity and voltage") + checked = device.state(initial.u, voltage_V=voltage_V) + for name in ("positive_ion_density_m3", "negative_ion_density_m3"): + if not np.array_equal(getattr(checked, name), getattr(initial, name)): + raise ValueError("initial ionic fields disagree with the bound coordinates") + for name in ("potential_V", "electron_density_m3", "hole_density_m3"): + if not np.array_equal(getattr(checked.electronic_state, name), getattr(initial.electronic_state, name)): + raise ValueError("initial electronic fields disagree with the bound full state") + if (initial.domain_inventories_m2 != checked.domain_inventories_m2 + or any(abs(checked.domain_inventories_m2[species] - target) + > options.inventory_relative_tolerance * target + for species, target in problem.inventory_targets_m2.items() if species not in problem.immobile_species)): + raise ValueError("initial physical inventory must match the declared prepared-domain inventory") + ion_count = device.ion_node_count + electronic = options.electronic + weights = np.r_[production_residual_scaling( + device.electronic_component, poisson_tolerance=electronic.poisson_tolerance, + continuity_tolerance_A_m2=electronic.continuity_tolerance_A_m2, + contact_log_tolerance=electronic.contact_log_tolerance, + ).row_weights, np.full(ion_count * device.ion_species_count, 2 * ion_count / options.ion_balance_tolerance_m2_s)] + for species, row in problem.constraint_rows.items(): + weights[row] = 1.0 / (options.inventory_relative_tolerance * problem.inventory_targets_m2[species]) + for species, block in zip(device.ion_species_names, device.ion_species_slices): + if species in problem.immobile_species: + target = getattr(device, species + "_ion_reference_m3") + weights[block] = 1.0 / (options.inventory_relative_tolerance * device.ion_geometry.cell_measures_m * target) + steps = np.r_[production_coordinates(device.electronic_component, + potential_step_V=electronic.potential_step_V, + quasi_fermi_step=electronic.quasi_fermi_step).max_step, + np.full(ion_count * device.ion_species_count, options.ion_logit_step)] + deadline = started + options.wall_s + last = np.array(initial.u, copy=True) + counts = {"residual": 0, "jacobian": 0} + + def checkpoint() -> None: + if time.monotonic() >= deadline: + raise _WallLimit("ionic steady wall budget exhausted") + + def evaluate(kind: str, function: Callable[[np.ndarray], Matrix], y: np.ndarray) -> Matrix: + nonlocal last + last = np.array(y, copy=True) + checkpoint() + counts[kind] += 1 + value = function(y) + checkpoint() + return value + + def gate(y: np.ndarray) -> GateOutcome: + checkpoint() + outcomes = checks(diagnostics(problem, y), options) + checkpoint() + ratio = max(item.value / item.limit for item in outcomes) + return GateOutcome("original_ionic_inventory_flux_current_checks", all(item.passed for item in outcomes), + ratio, 1.0, "; ".join(item.name for item in outcomes if not item.passed)) + + settings = NewtonSettings(ResidualScaling(weights), 1.0, StepControl(steps), options.budget, (gate,), False) + newton, error, state, diagnostic_values = None, None, None, None + check_outcomes: tuple[GateOutcome, ...] = () + try: + newton = solve_newton(CallableProblem(lambda y: evaluate("residual", problem.residual, y), + lambda y: evaluate("jacobian", problem.jacobian, y)), last, settings) + last = newton.state + checkpoint() + state = device.state(last, voltage_V=voltage_V) + diagnostic_values = diagnostics(problem, last) + check_outcomes = checks(diagnostic_values, options) + checkpoint() + accepted = newton.accepted and all(item.passed for item in check_outcomes) + termination = newton.termination.value + except Exception as exc: + accepted = False + termination = "wall_budget_exhausted" if isinstance(exc, _WallLimit) else "evaluation_error" + error = f"{type(exc).__name__}: {str(exc)[:400]}" + candidate = np.array(last, copy=True) + candidate.setflags(write=False) + return IonicSteadyResult(state, accepted, termination, newton, initial, candidate, diagnostic_values, check_outcomes, + ionic_steady_control_record(device, options), device.identity, device.original_prepared_sha256, + device.binding_manifest, counts, time.monotonic() - started, error) diff --git a/src/solarlab/solvers/nonlinear/legacy_criteria.py b/src/solarlab/solvers/nonlinear/legacy_criteria.py new file mode 100644 index 00000000..c9214af6 --- /dev/null +++ b/src/solarlab/solvers/nonlinear/legacy_criteria.py @@ -0,0 +1,123 @@ +"""Historical steady-state acceptance quantities reproduced bit for bit (M class). + +* :func:`legacy_steady_state_tolerances` -- the effective residual and stall + bounds of ``experiments.steady_state.solve_steady_state``: the configured + peak-density-relative rate tolerances, each capped by the continuity-current + limit ``max_error / (q n_ref W)``. +* :func:`legacy_continuity_current_bound` -- the reported certificate + ``q n_ref W * residual`` [A/m^2]. +* :func:`legacy_normalized_poisson_residual` -- the dimensionless Poisson + residual of the dark degenerate and bulk-trap pn equilibrium lanes. + +The acceptance labels are those of the historical result objects. +""" + +from __future__ import annotations + +from dataclasses import dataclass + +import numpy as np +from numpy.typing import ArrayLike + +from solarlab.contracts.units import ELEMENTARY_CHARGE_C + +__all__ = [ + "CURRENT_BOUNDED_STALL", "LEGACY_ACCEPTANCE_LABELS", "LegacySteadyStateCriteriaError", + "LegacySteadyStateTolerances", "RESIDUAL_CONVERGED", "legacy_continuity_current_bound", + "legacy_normalized_poisson_residual", "legacy_steady_state_tolerances", +] + +Q = ELEMENTARY_CHARGE_C +RESIDUAL_CONVERGED = "residual_converged" +CURRENT_BOUNDED_STALL = "current_bounded_stall" +LEGACY_ACCEPTANCE_LABELS = (RESIDUAL_CONVERGED, CURRENT_BOUNDED_STALL) + + +class LegacySteadyStateCriteriaError(RuntimeError): + """The historical continuity-current scale cannot be formed.""" + + +@dataclass(frozen=True, slots=True) +class LegacySteadyStateTolerances: + """Effective bounds of the historical steady-state Newton.""" + + continuity_current_scale_A_m2: float + current_limited_tolerance: float + residual_tolerance: float + stall_acceptance_tolerance: float + + +def legacy_steady_state_tolerances( + *, + tol: float, + tol_accept: float, + max_continuity_current_error: float, + n_ref: float, + device_width_m: float, +) -> LegacySteadyStateTolerances: + """``tol``/``tol_accept`` capped by ``max_error / (q n_ref W)``.""" + if (not np.isfinite(max_continuity_current_error) + or max_continuity_current_error <= 0.0): + raise ValueError( + "max_continuity_current_error must be finite and positive, got " + f"{max_continuity_current_error}" + ) + continuity_current_scale = Q * n_ref * device_width_m + if not np.isfinite(continuity_current_scale) or continuity_current_scale <= 0.0: + raise LegacySteadyStateCriteriaError( + "cannot construct a finite continuity-current convergence scale" + ) + current_limited_tol = ( + max_continuity_current_error / continuity_current_scale + ) + return LegacySteadyStateTolerances( + continuity_current_scale_A_m2=continuity_current_scale, + current_limited_tolerance=current_limited_tol, + residual_tolerance=min(tol, current_limited_tol), + stall_acceptance_tolerance=min(tol_accept, current_limited_tol), + ) + + +def legacy_continuity_current_bound(tolerances: LegacySteadyStateTolerances, + residual: float) -> float: + """Reported continuity-current certificate ``q n_ref W * residual`` [A/m^2].""" + return float(tolerances.continuity_current_scale_A_m2 * residual) + + +def legacy_normalized_poisson_residual( + residual: ArrayLike, + *, + face_capacitance_F_m2: ArrayLike, + interior_widths_m: ArrayLike, + acceptor_density_m3: ArrayLike, + donor_density_m3: ArrayLike, + V_bi_bc: float, + thermal_voltage_V: float, + trap_density_m3: float | None = None, +) -> float: + """``max |r| / (q N_ref h + (C_L + C_R) V_ref)`` over the interior nodes. + + ``N_ref = max(N_A, N_D, 1)`` (and the bulk-trap density when given) and + ``V_ref = max(|V_bi_bc|, V_T)``. + """ + C = np.asarray(face_capacitance_F_m2) + N_A = np.asarray(acceptor_density_m3) + N_D = np.asarray(donor_density_m3) + if trap_density_m3 is None: + density_reference = np.maximum( + np.maximum(N_A[1:-1], N_D[1:-1]), + 1.0, + ) + else: + density_reference = np.maximum.reduce(( + np.asarray(N_A[1:-1], dtype=float), + np.asarray(N_D[1:-1], dtype=float), + np.full(N_A.size - 2, float(trap_density_m3)), + np.ones(N_A.size - 2), + )) + voltage_reference = max(abs(float(V_bi_bc)), thermal_voltage_V) + scale = ( + Q * density_reference * np.asarray(interior_widths_m) + + (C[:-1] + C[1:]) * voltage_reference + ) + return float(np.max(np.abs(np.asarray(residual)) / scale)) diff --git a/src/solarlab/solvers/nonlinear/legacy_newton.py b/src/solarlab/solvers/nonlinear/legacy_newton.py new file mode 100644 index 00000000..f25f3a5e --- /dev/null +++ b/src/solarlab/solvers/nonlinear/legacy_newton.py @@ -0,0 +1,178 @@ +"""Historical damped-Newton loops reproduced bit for bit (M class). + +``legacy_damped_fd_newton`` is ``experiments.steady_state._damped_newton``: +a forward-difference Jacobian, a 4-step ridge fallback for a singular matrix, +a componentwise clip of the step to +-5 and an Armijo backtracking search on +the 2-norm (12 halvings). It returns ``(z, max|F|)`` and never certifies +convergence; the caller decides. + +``legacy_newton_stage`` is ``experiments.quasi_fermi_steady_state. +_solve_newton_stage``: the same structure with a fixed finite-difference step, +an optional equilibrated least-squares step for rank-deficient systems, a +-5 +clip, 30 halvings and the near-tolerance stagnation exit of intermediate +continuation stages. The residual callback takes ``(z, stage_value)``; the +historical system object and its edge-coordinate variant are the caller's +concern. Failures raise :class:`LegacyNewtonStageError` with the historical +messages. +""" + +from __future__ import annotations + +from collections.abc import Callable + +import numpy as np +from numpy.typing import ArrayLike, NDArray + +__all__ = [ + "LEGACY_FD_EPS", "LEGACY_LN_STEP_CAP", "LegacyNewtonStageError", + "legacy_damped_fd_newton", "legacy_newton_stage", +] + +LEGACY_FD_EPS = 1.0e-7 # relative FD perturbation of _damped_newton +LEGACY_LN_STEP_CAP = 5.0 # componentwise step clip of both loops + + +class LegacyNewtonStageError(RuntimeError): + """A historical Newton stage failed (same messages as the legacy error).""" + + +def legacy_damped_fd_newton( + F: Callable[[NDArray[np.float64]], NDArray[np.float64]], + z0: ArrayLike, + n_unk: int, + *, + max_it: int, + tol: float, + tol_step: float = 1e-9, +) -> tuple[NDArray[np.float64], float]: + """Historical compact damped FD-Jacobian Newton; returns ``(z, res)``.""" + z = np.array(z0, dtype=float, copy=True) + f = F(z) + res = float(np.max(np.abs(f))) + for _ in range(max_it): + if res < tol: + break + J = np.empty((n_unk, n_unk)) + for j in range(n_unk): + dz = LEGACY_FD_EPS * max(1.0, abs(z[j])) + zj = z.copy() + zj[j] += dz + J[:, j] = (F(zj) - f) / dz + try: + step = np.linalg.solve(J, -f) + except np.linalg.LinAlgError: + lam_r = 1e-10 * float(np.max(np.abs(np.diag(J))) or 1.0) + step = None + for _r in range(4): + try: + step = np.linalg.solve(J + lam_r * np.eye(n_unk), -f) + break + except np.linalg.LinAlgError: + lam_r *= 1e3 + if step is None: + break + if float(np.max(np.abs(step))) < tol_step: + break + step = np.clip(step, -LEGACY_LN_STEP_CAP, LEGACY_LN_STEP_CAP) + nrm = float(np.linalg.norm(f)) + lam, accepted = 1.0, False + for _ls in range(12): + f_try = F(z + lam * step) + if float(np.linalg.norm(f_try)) < nrm * (1.0 - 1.0e-4 * lam): + z = z + lam * step + f = f_try + res = float(np.max(np.abs(f))) + accepted = True + break + lam *= 0.5 + if not accepted: + break + return z, res + + +def legacy_newton_stage( + evaluate: Callable[[NDArray[np.float64], float], ArrayLike], + z0: ArrayLike, + stage_value: float, + *, + finite_difference_step: float, + residual_tolerance: float, + max_iterations: int, + rank_deficient: bool = False, + near_tolerance_stagnation_factor: float = 1.0, +) -> tuple[NDArray[np.float64], int]: + """Historical QF Newton stage; returns ``(z, iterations)`` or raises.""" + z = np.asarray(z0, dtype=float).copy() + size = z.size + + for iteration in range(max_iterations + 1): + residual = np.asarray(evaluate(z, stage_value)) + max_residual = float(np.max(np.abs(residual))) + if max_residual < residual_tolerance: + return z, iteration + if iteration == max_iterations: + break + + jacobian = np.empty((size, size), dtype=float) + for column in range(size): + trial = z.copy() + trial[column] += finite_difference_step + jacobian[:, column] = ( + np.asarray(evaluate(trial, stage_value)) - residual + ) / finite_difference_step + if rank_deficient: + column_scale = np.max(np.abs(jacobian), axis=0) + active = column_scale > 1.0e-30 + if not np.any(active): + raise LegacyNewtonStageError( + "QF interface Jacobian has no active transport columns" + ) + equilibrated = jacobian[:, active] / column_scale[active] + scaled_step, *_ = np.linalg.lstsq( + equilibrated, + -residual, + rcond=1.0e-14, + ) + step = np.zeros(size, dtype=float) + step[active] = scaled_step / column_scale[active] + else: + try: + step = np.linalg.solve(jacobian, -residual) + except np.linalg.LinAlgError as exc: + raise LegacyNewtonStageError( + "singular QF Newton Jacobian at " + f"illumination={stage_value:g}" + ) from exc + step = np.clip(step, -LEGACY_LN_STEP_CAP, LEGACY_LN_STEP_CAP) + norm = float(np.linalg.norm(residual)) + for line_search_iteration in range(30): + damping = 0.5**line_search_iteration + candidate = z + damping * step + try: + candidate_norm = float( + np.linalg.norm(np.asarray(evaluate(candidate, stage_value))) + ) + except (RuntimeError, ValueError): + if rank_deficient: + continue + raise + if candidate_norm < norm * (1.0 - 1.0e-4 * damping): + z = candidate + break + else: + if ( + near_tolerance_stagnation_factor > 1.0 + and max_residual + <= near_tolerance_stagnation_factor * residual_tolerance + ): + return z, iteration + raise LegacyNewtonStageError( + "QF Newton line search failed at " + f"illumination={stage_value:g}, " + f"max normalized residual={max_residual:.6g}" + ) + raise LegacyNewtonStageError( + "QF Newton iteration limit reached at " + f"illumination={stage_value:g}, " + f"max normalized residual={max_residual:.6g}" + ) diff --git a/src/solarlab/solvers/nonlinear/legacy_preparation.py b/src/solarlab/solvers/nonlinear/legacy_preparation.py new file mode 100644 index 00000000..6091405c --- /dev/null +++ b/src/solarlab/solvers/nonlinear/legacy_preparation.py @@ -0,0 +1,71 @@ +"""Historical operating-point preparation reproduced bit for bit (M class). + +* :func:`legacy_quasi_neutral_seed` -- the dark seed of + ``solver.newton.solve_equilibrium``: two-branch ``n - p = N_D - N_A``, + ``n p = n_i^2`` per node, clipped to ``[1, 1e36]``, with the four contact + reservoirs written on the boundary nodes. It is a seed, not an equilibrium. +* :func:`legacy_illumination_stages` and the two historical stage tables of + the quasi-Fermi steady-state preparation (dark is the single stage 0). +""" + +from __future__ import annotations + +import numpy as np +from numpy.typing import ArrayLike, NDArray + +__all__ = [ + "LEGACY_DEFAULT_ILLUMINATION_STAGES", "LEGACY_INTERFACE_FALLBACK_ILLUMINATION_STAGES", + "legacy_illumination_stages", "legacy_quasi_neutral_seed", +] + +LEGACY_DEFAULT_ILLUMINATION_STAGES = ( + 0.0, 1.0e-14, 1.0e-12, 1.0e-10, 1.0e-8, 1.0e-6, 1.0e-5, 1.0e-4, 1.0e-3, 1.0e-2, + 1.0e-1, 1.0, +) +LEGACY_INTERFACE_FALLBACK_ILLUMINATION_STAGES = ( + 0.0, 1.0e-14, 1.0e-13, 1.0e-12, 1.0e-11, 1.0e-10, 1.0e-9, 1.0e-8, 1.0e-7, 1.0e-6, + 1.0e-5, 1.0e-4, 1.0e-3, 1.0e-2, 1.0e-1, 1.0, +) + + +def legacy_quasi_neutral_seed( + donor_density_m3: ArrayLike, + acceptor_density_m3: ArrayLike, + intrinsic_density_squared_m6: ArrayLike, + *, + n_left: float, + n_right: float, + p_left: float, + p_right: float, +) -> tuple[NDArray[np.float64], NDArray[np.float64]]: + """Quasi-neutral ``(n, p)`` seed with the contact reservoirs pinned.""" + net = np.asarray(donor_density_m3) - np.asarray(acceptor_density_m3) + ni_sq = np.asarray(intrinsic_density_squared_m6) + disc = np.sqrt(net ** 2 + 4.0 * ni_sq) + half_pos = 0.5 * (net + disc) + half_neg = 0.5 * (-net + disc) + with np.errstate(divide="ignore", invalid="ignore"): + n = np.where(net >= 0, half_pos, ni_sq / half_neg) + p = np.where(net >= 0, ni_sq / half_pos, half_neg) + n = np.clip(n, 1.0, 1e36) + p = np.clip(p, 1.0, 1e36) + n[0] = n_left + n[-1] = n_right + p[0] = p_left + p[-1] = p_right + return n, p + + +def legacy_illumination_stages(illuminated: bool, + values: tuple[float, ...]) -> tuple[float, ...]: + """Validated illumination continuation: strictly increasing in [0, 1], ending at 1.""" + if not illuminated: + return (0.0,) + stages = tuple(float(value) for value in values) + if not stages or stages[-1] != 1.0: + raise ValueError("illuminated continuation must end at 1.0") + if any(not np.isfinite(value) or not 0.0 <= value <= 1.0 for value in stages): + raise ValueError("illumination continuation values must lie in [0, 1]") + if any(right <= left for left, right in zip(stages[:-1], stages[1:])): + raise ValueError("illumination continuation values must strictly increase") + return stages diff --git a/src/solarlab/solvers/nonlinear/multiple_ionic_1d.py b/src/solarlab/solvers/nonlinear/multiple_ionic_1d.py new file mode 100644 index 00000000..2b804e7e --- /dev/null +++ b/src/solarlab/solvers/nonlinear/multiple_ionic_1d.py @@ -0,0 +1,364 @@ +"""One bounded joint steady solve with separate closed-domain inventories.""" + +from __future__ import annotations + +from dataclasses import asdict, dataclass +import math +import time +from types import SimpleNamespace +from typing import Any, cast + +import numpy as np +from scipy.sparse import csc_matrix + +from solarlab.contracts import frozen_array +from solarlab.contracts.units import ELEMENTARY_CHARGE_C as Q +from solarlab.equations.assembly.ionic_1d import ( + AssembledConstrainedMultipleIonic1DProblem, AssembledMultipleIonic1DProblem, +) +from solarlab.equations.dc_1d import DC1DProblem +from solarlab.equations.implementation import use_assembled +from solarlab.equations.ionic_1d import Ionic1DProblem +from solarlab.equations.ionic_closure import immobile_profile_binding, ion_mobility_partition +from solarlab.equations.multiple_ionic_1d import CompiledMultipleIonicDevice1D, MultipleIonic1DProblem, MultipleIonicState1D +from solarlab.solvers.nonlinear.ionic_1d import ConstrainedIonic1DProblem, IonicSteadyOptions +from solarlab.solvers.nonlinear.newton import NewtonResult, NewtonSettings, solve_newton +from solarlab.solvers.nonlinear.problem import CallableProblem, GateOutcome, ResidualScaling, StepControl +from solarlab.solvers.nonlinear.production import poisson_row_weights, production_coordinates, production_residual_scaling +from solarlab.solvers.nonlinear.steady_1d import physical_gates + +__all__ = ["ConstrainedMultipleIonic1DProblem", "MultipleIonicSteadyResult", + "multiple_ionic_diagnostics", "multiple_ionic_checks", "solve_multiple_ionic_steady_state"] + + +@dataclass(frozen=True) +class ConstrainedMultipleIonic1DProblem: + """Own mobile inventories and original per-cell immobile physical closure.""" + + original: MultipleIonic1DProblem + inventory_row_node: int + + def __post_init__(self) -> None: + if not isinstance(self.original, MultipleIonic1DProblem): + raise TypeError("the original multiple-domain equations are required") + for domain in self.original.device.domains: + # Preserve the accepted local source/geometry/mobility validation. + ConstrainedIonic1DProblem(Ionic1DProblem(domain, self.original.voltage_V, + self.original.generation_scale), self.inventory_row_node) + + @property + def immobile_species(self) -> dict[str, tuple[str, ...]]: + return {domain.domain_layer_id: ion_mobility_partition(domain)[1] for domain in self.original.device.domains} + + @property + def profile_constraint_rows(self) -> dict[str, dict[str, tuple[int, ...]]]: + return {name: {species: tuple(range(cast(int, block.start), cast(int, block.stop))) + for species, block in blocks.items() if species in self.immobile_species[name]} + for name, blocks in self.original.device.ion_species_slices.items()} + + @property + def constraint_rows(self) -> dict[str, dict[str, int]]: + return {name: {species: cast(int, block.start) + self.inventory_row_node + for species, block in blocks.items() if species not in self.immobile_species[name]} + for name, blocks in self.original.device.ion_species_slices.items()} + + def residual(self, y: np.ndarray) -> np.ndarray: + device = self.original.device + result = self.original.residual(y) + populations = device.fields_by_domain(y, voltage_V=self.original.voltage_V)[3] + for domain in device.domains: + name = domain.domain_layer_id + local_physical = None + if self.immobile_species[name]: + local = ConstrainedIonic1DProblem(Ionic1DProblem(domain, self.original.voltage_V, + self.original.generation_scale), self.inventory_row_node) + local_physical = local.residual(device.local_coordinates(y, name)) + for index, species in enumerate(domain.ion_species_names): + if species in self.immobile_species[name]: + assert local_physical is not None + result[device.ion_species_slices[name][species]] = local_physical[domain.ion_species_slices[index]] + continue + cells = domain.ion_geometry.cell_measures_m * ( + populations[name][index] - getattr(domain, species + "_ion_reference_m3")) + result[self.constraint_rows[name][species]] = math.fsum(cells.tolist()) + return result + + def jacobian(self, y: np.ndarray) -> csc_matrix: + matrix = self.original.jacobian(y).tolil() + storage = self.original.storage_jacobian(y) + device = self.original.device + for domain in device.domains: + name, blocks = domain.domain_layer_id, device.ion_species_slices[domain.domain_layer_id] + if self.immobile_species[name]: + local = ConstrainedIonic1DProblem(Ionic1DProblem(domain, self.original.voltage_V, + self.original.generation_scale), self.inventory_row_node) + local_jacobian = local.jacobian(device.local_coordinates(y, name)) + domain_block = device.domain_slices[name] + global_columns = np.r_[np.arange(3 * device.node_count), + np.arange(cast(int, domain_block.start), cast(int, domain_block.stop))] + for index, species in enumerate(domain.ion_species_names): + if species not in self.immobile_species[name]: + continue + for local_row, global_row in zip( + range(cast(int, domain.ion_species_slices[index].start), cast(int, domain.ion_species_slices[index].stop)), + self.profile_constraint_rows[name][species]): + gradient = local_jacobian.getrow(local_row).toarray().ravel() + columns = np.flatnonzero(gradient) + matrix.rows[global_row], matrix.data[global_row] = global_columns[columns].tolist(), gradient[columns].tolist() + for species, block in blocks.items(): + if species in self.immobile_species[name]: + continue + row = self.constraint_rows[name][species] + gradient = -np.asarray(storage[block, :].sum(axis=0)).ravel() + columns = np.flatnonzero(gradient) + matrix.rows[row], matrix.data[row] = columns.tolist(), gradient[columns].tolist() + return matrix.tocsc() + + +@dataclass(frozen=True) +class MultipleIonicSteadyResult: + """Raw candidate/evidence; numerical acceptance is not scientific qualification.""" + + state: MultipleIonicState1D | None + accepted: bool + termination: str + newton: NewtonResult | None + initial_state: MultipleIonicState1D + candidate_coordinates: np.ndarray + diagnostics: dict[str, Any] | None + checks: tuple[GateOutcome, ...] + solver_controls: dict[str, Any] + compiled_identity: str + original_prepared_identity: str + binding_manifest: dict[str, Any] + evaluation_counts: dict[str, int] + wall_s: float + error: str | None = None + qualification: bool = False + + def __post_init__(self) -> None: + object.__setattr__(self, "candidate_coordinates", frozen_array(self.candidate_coordinates)) + if self.accepted and (self.state is None or self.newton is None or not self.newton.accepted + or not self.checks or not all(check.passed for check in self.checks)): + raise ValueError("acceptance requires the joint Newton result and every original check") + + +def multiple_ionic_diagnostics(problem: ConstrainedMultipleIonic1DProblem | AssembledConstrainedMultipleIonic1DProblem, y: np.ndarray) -> dict[str, Any]: + original, device = problem.original, problem.original.device + count = device.node_count + state = device.state(y, voltage_V=original.voltage_V) + full = original.residual(y) + electronic = original.electronic_problem + carrier = full[count:3 * count].reshape(2, count).copy() + fixed = [] + for index, species in enumerate(("n", "p")): + for side, node in (("left", 0), ("right", count - 1)): + if device.electronic_component.channel(species, side).kind == "fixed_reservoir": + fixed.append(abs(carrier[index, node])) + carrier[index, node] = 0.0 + current = np.r_[electronic.contact_current_density(y[:3 * count])[0], + electronic.current_density(y[:3 * count]), electronic.contact_current_density(y[:3 * count])[1]] + ionic = np.r_[0.0, original.ion_current_density_A_m2(y), 0.0] + populations = device.fields_by_domain(y, voltage_V=original.voltage_V)[3] + ledger = device.charge_ledger(state.electronic_state.electron_density_m3, + state.electronic_state.hole_density_m3, populations) + domains: dict[str, Any] = {} + for domain in device.domains: + name = domain.domain_layer_id + species_records = {} + for index, species in enumerate(domain.ion_species_names): + density = populations[name][index] + reference = getattr(domain, species + "_ion_reference_m3") + capacity = getattr(domain, species + "_ion_site_limit_m3") + target = device.reference_inventories_m2[name][species] + error = math.fsum((domain.ion_geometry.cell_measures_m * (density - reference)).tolist()) + block = device.ion_species_slices[name][species] + flux = original.ion_fluxes(y, domain_id=name, species=species) + sign = 1.0 if species == "positive" else -1.0 + physical = np.zeros(count) + physical[domain.ion_node_indices] = sign * Q * domain.ion_geometry.cell_measures_m * (density - reference) + deposited = sign * Q * device.electronic_component.geometry.cell_measures_m * ledger.entry( + species + "_ion." + name).net_population() + species_records[species] = { + "density_m3": density, "reference_density_m3": reference, "site_capacity_m3": capacity, + "inventory_m2": state.domain_inventories_m2[name][species], "inventory_target_m2": target, + "inventory_error_m2": error, "inventory_relative_error": abs(error) / target, + "gross_inventory_subtraction_error_m2": state.domain_inventories_m2[name][species] - target, + "ion_balance_m2_s": full[block], "ion_balance_l1_m2_s": math.fsum(abs(full[block]).tolist()), + "ion_balance_sum_m2_s": math.fsum(full[block].tolist()), + "ion_flux_m2_s": np.r_[0.0, flux, 0.0], "ion_flux_max_m2_s": float(np.max(abs(flux))), + "global_face_flux_m2_s": original.ion_fluxes_on_electronic_faces(y, domain_id=name, species=species), + "minimum_density_m3": float(density.min()), "maximum_site_fraction": float(np.max(density / capacity)), + "physical_excess_charge_C_m2": physical, "deposited_excess_charge_C_m2": deposited, + "charge_deposition_error_C_m2": deposited - physical, + "closure": "declared_per_cell_profile" if species in problem.immobile_species[name] else "own_domain_inventory", + "dropped_row": None if species in problem.immobile_species[name] else problem.constraint_rows[name][species], + "dropped_balance_m2_s": None if species in problem.immobile_species[name] else float(full[problem.constraint_rows[name][species]]), + "maximum_relative_change_from_reference": float(np.max(abs(density - reference) / reference)), + } + if species in problem.immobile_species[name]: + species_records[species].update( + profile_constraint_rows=problem.profile_constraint_rows[name][species], + profile_relative_error=float(np.max(abs(density - reference) / reference)), + profile_cell_error_m2=domain.ion_geometry.cell_measures_m * (density - reference), + reference_source_parameter="P0" if species == "positive" else "P0_neg") + domains[name] = { + "species": species_records, "electrical_node_indices": domain.ion_node_indices, + "physical_weights_m": domain.ion_geometry.cell_measures_m, "site_contract": domain.ion_site_contract, + "maximum_summed_site_fraction": float(np.max(sum(populations[name]) / domain.positive_ion_site_limit_m3)) + if domain.ion_site_contract == "shared_finite_sites" else None, + } + return { + "original_residual": full, "constrained_residual": problem.residual(y), "domains": domains, + "electrical_node_count": count, "state_size": device.state_size, + "carrier_balance_A_m2": float(Q * np.sum(abs(carrier))), + "fixed_contact_log_max": max(fixed, default=0.0), + "poisson_normalized_max": float(np.max(abs(full[:count] * poisson_row_weights(device.electronic_component)))), + "electronic_current_density_A_m2": current, "ionic_current_density_A_m2": ionic, + "total_current_density_A_m2": current + ionic, "current_spread_A_m2": float(np.ptp(current + ionic)), + "charge_density_C_m3": ledger.space_charge_C_m3(), "potential_V": state.electronic_state.potential_V, + } + + +def multiple_ionic_checks( + problem: ConstrainedMultipleIonic1DProblem | AssembledConstrainedMultipleIonic1DProblem, y: np.ndarray, options: IonicSteadyOptions, +) -> tuple[GateOutcome, ...]: + """Recheck original electronic gates and each complete closed-domain balance.""" + original, device = problem.original, problem.original.device + size = 3 * device.node_count + electronic = original.electronic_problem + # Existing gates use the actual full ionic candidate for Poisson/current; + # their individual-carrier equilibrium checks still use original fluxes. + def full(u: np.ndarray) -> np.ndarray: + return np.r_[u, y[size:]] + gate_view = SimpleNamespace(device=device.electronic_component, voltage_V=original.voltage_V, + generation_scale=original.generation_scale, + residual=lambda u: original.residual(full(u))[:size], + current_density=lambda u: electronic.current_density(u) + original.ion_current_density_A_m2(full(u)), + contact_current_density=electronic.contact_current_density, fluxes=electronic.fluxes) + gates = physical_gates(cast(DC1DProblem, gate_view), options.electronic, + equilibrium=original.voltage_V == 0.0 and original.generation_scale == 0.0) + outcomes = [gate(y[:size]) for gate in gates] + data = multiple_ionic_diagnostics(problem, y) + log = float(data["fixed_contact_log_max"]) + outcomes.append(GateOutcome("fixed_contact_log_max", log <= options.electronic.contact_log_tolerance, + log, options.electronic.contact_log_tolerance)) + for name, record in data["domains"].items(): + for species, values in record["species"].items(): + prefix = name + "." + species + "." + limits = {"inventory_relative_error": options.inventory_relative_tolerance, + "ion_balance_l1_m2_s": options.ion_balance_tolerance_m2_s, + "ion_flux_max_m2_s": options.ion_flux_tolerance_m2_s} + if species in problem.immobile_species[name]: + limits["profile_relative_error"] = options.inventory_relative_tolerance + for key, limit in limits.items(): + value = float(values[key]) + outcomes.append(GateOutcome(prefix + key, math.isfinite(value) and value <= limit, value, limit, + "all original rows and compiled reference; qualification remains false")) + fraction = float(values["maximum_site_fraction"]) + valid = float(values["minimum_density_m3"]) > 0.0 and fraction < 1.0 + if record["maximum_summed_site_fraction"] is not None: + valid = valid and float(record["maximum_summed_site_fraction"]) < 1.0 + outcomes.append(GateOutcome(prefix + "finite_site_admissibility", valid, fraction, 1.0)) + return tuple(outcomes) + + +def _settings(problem: ConstrainedMultipleIonic1DProblem | AssembledConstrainedMultipleIonic1DProblem, options: IonicSteadyOptions) -> NewtonSettings: + device = problem.original.device + weights = np.r_[production_residual_scaling(device.electronic_component, + poisson_tolerance=options.electronic.poisson_tolerance, + continuity_tolerance_A_m2=options.electronic.continuity_tolerance_A_m2, + contact_log_tolerance=options.electronic.contact_log_tolerance).row_weights, + np.zeros(device.state_size - 3 * device.node_count)] + for domain in device.domains: + name = domain.domain_layer_id + for species, block in device.ion_species_slices[name].items(): + if species in problem.immobile_species[name]: + weights[block] = 1.0 / (options.inventory_relative_tolerance * domain.ion_geometry.cell_measures_m + * getattr(domain, species + "_ion_reference_m3")) + continue + weights[block] = 2 * domain.ion_node_count / options.ion_balance_tolerance_m2_s + weights[problem.constraint_rows[name][species]] = 1.0 / ( + options.inventory_relative_tolerance * device.reference_inventories_m2[name][species]) + steps = np.r_[production_coordinates(device.electronic_component, + potential_step_V=options.electronic.potential_step_V, + quasi_fermi_step=options.electronic.quasi_fermi_step).max_step, + np.full(device.state_size - 3 * device.node_count, options.ion_logit_step)] + return NewtonSettings(ResidualScaling(weights), 1.0, StepControl(steps), options.budget, (), False) + + +def solve_multiple_ionic_steady_state( + device: CompiledMultipleIonicDevice1D, *, voltage_V: float, generation_scale: float, + options: IonicSteadyOptions, initial_state: MultipleIonicState1D | None = None, +) -> MultipleIonicSteadyResult: + """One unchanged-control coupled solve; no retry, preparation or projection.""" + started = time.monotonic() + if not isinstance(device, CompiledMultipleIonicDevice1D) or not isinstance(options, IonicSteadyOptions): + raise TypeError("full multiple-domain device and existing explicit ionic controls are required") + problem: ConstrainedMultipleIonic1DProblem | AssembledConstrainedMultipleIonic1DProblem + if use_assembled(): + problem = AssembledConstrainedMultipleIonic1DProblem( + AssembledMultipleIonic1DProblem(device, voltage_V, generation_scale), options.inventory_row_node) + else: + original = MultipleIonic1DProblem(device, voltage_V, generation_scale) + problem = ConstrainedMultipleIonic1DProblem(original, options.inventory_row_node) + initial = device.initial_state(voltage_V=voltage_V) if initial_state is None else initial_state + device.validate_state(initial) + if initial.voltage_V != voltage_V: + raise ValueError("initial voltage must match; no implicit voltage/reference conversion") + for name, targets in device.reference_inventories_m2.items(): + for species, target in targets.items(): + if species not in problem.immobile_species[name] and abs(initial.domain_inventories_m2[name][species] - target) > options.inventory_relative_tolerance * target: + raise ValueError("each mobile domain/species initial inventory must match its own compiled target") + deadline = started + options.wall_s + last = initial.u.copy() + counts = {"residual": 0, "jacobian": 0} + def checkpoint() -> None: + if time.monotonic() >= deadline: + raise TimeoutError("multiple-domain steady wall budget exhausted") + def evaluate(kind: str, y: np.ndarray) -> Any: + nonlocal last + last = np.array(y, copy=True) + checkpoint() + counts[kind] += 1 + value = problem.residual(y) if kind == "residual" else problem.jacobian(y) + checkpoint() + return value + def gate(y: np.ndarray) -> GateOutcome: + checkpoint() + checks = multiple_ionic_checks(problem, y, options) + checkpoint() + return GateOutcome("all_original_multiple_domain_checks", all(item.passed for item in checks), + max(item.value / item.limit for item in checks), 1.0, + "; ".join(item.name for item in checks if not item.passed)) + base = _settings(problem, options) + settings = NewtonSettings(base.scaling, base.tolerance, base.step_control, base.budget, (gate,), False) + newton, state, diagnostics, error = None, None, None, None + checks: tuple[GateOutcome, ...] = () + accepted = False + try: + newton = solve_newton(CallableProblem(lambda y: evaluate("residual", y), + lambda y: evaluate("jacobian", y)), last, settings) + last = newton.state + checkpoint() + state = device.state(last, voltage_V=voltage_V) + diagnostics = multiple_ionic_diagnostics(problem, last) + checks = multiple_ionic_checks(problem, last, options) + checkpoint() + accepted = newton.accepted and all(item.passed for item in checks) + termination = newton.termination.value + except Exception as exc: + termination = "wall_budget_exhausted" if isinstance(exc, TimeoutError) else "evaluation_error" + error = f"{type(exc).__name__}: {str(exc)[:500]}" + control = {"numerical": asdict(options), "constraint_rows": problem.constraint_rows, + "inventory_targets_m2": device.reference_inventories_m2, + "supported_mobility": "every_domain_species_connected_positive_D", + "convergence_norm": "historical_max_row_v1", "merit": "original_weighted_l2_armijo"} + if any(problem.immobile_species.values()): + control["supported_mobility"] = "connected_positive_D_or_declared_per_cell_D0" + control["profile_constraint_rows"] = problem.profile_constraint_rows + control["immobile_profile_binding"] = {domain.domain_layer_id: immobile_profile_binding(domain) + for domain in device.domains if problem.immobile_species[domain.domain_layer_id]} + return MultipleIonicSteadyResult(state, accepted, termination, newton, initial, np.array(last, copy=True), + diagnostics, checks, control, device.identity, device.original_prepared_sha256, + device.binding_manifest, counts, time.monotonic() - started, error) diff --git a/src/solarlab/solvers/nonlinear/newton.py b/src/solarlab/solvers/nonlinear/newton.py new file mode 100644 index 00000000..077d94b3 --- /dev/null +++ b/src/solarlab/solvers/nonlinear/newton.py @@ -0,0 +1,323 @@ +"""Unified damped Newton for ``F(u) = 0`` in caller coordinates (N class). + +Each iteration solves ``J du = -F``, shortens the whole step to the caller's +step limits and feasible bounds (the direction is kept), and backtracks on the +merit ``phi = |w F|_2^2 / 2`` with the Armijo condition +``phi(a) <= (1 - 2 c a) phi(0)``; a non-finite trial is rejected like any +other. A reused (stale) factorization that fails the line search, or needs +deep backtracking, is rebuilt before the iteration is declared failed; a +reused factor that does not halve the scaled residual is rebuilt next time. + +A state is **accepted** only when the convergence norm (``max |w F|`` by +default) is within the tolerance *and* every physical gate passes. An explicit +caller callback may measure the scaled rows; it does not change the merit or +the row-max factor refresh rule. A converged residual whose +gates fail is a rejected (wrong-branch) state, never a solution. Every exit +names its reason, and all work is bounded by a :class:`SolveBudget`; there is +no hidden fallback. Steps that no longer lower the merit end the solve as +stagnated rather than consuming the budget. +""" + +from __future__ import annotations + +from collections.abc import Callable +from dataclasses import dataclass +from enum import Enum +import math +from typing import Any +import warnings + +import numpy as np +from scipy.linalg import LinAlgWarning, lu_factor, lu_solve +from scipy.sparse import diags, issparse +from scipy.sparse.linalg import splu + +from solarlab.solvers.nonlinear.problem import ( + GateOutcome, Matrix, PhysicalGate, ResidualScaling, SolveBudget, SteadyProblem, + StepControl, Vector, state_digest, +) + +__all__ = [ + "IterationRecord", "LinearSolveError", "NewtonResult", "NewtonSettings", "Termination", + "factorize", "gate_from", "solve_newton", +] + +_ARMIJO = 1.0e-4 +# A reused factor must at least halve the scaled residual, or it is rebuilt. +_CHORD_CONTRACTION = 0.5 +# Accepted steps that lower the merit by less than this fraction, this many +# times in a row, end the solve as stagnated instead of draining the budget. +_STAGNATION_DECREASE = 1.0e-10 +_STAGNATION_WINDOW = 3 + + +class Termination(str, Enum): + CONVERGED = "converged" + GATE_REJECTED = "gate_rejected" + LINE_SEARCH_FAILED = "line_search_failed" + SINGULAR_JACOBIAN = "singular_jacobian" + NONFINITE_RESIDUAL = "nonfinite_residual" + BUDGET_EXHAUSTED = "budget_exhausted" + STAGNATED = "stagnated" + INFEASIBLE_START = "infeasible_start" + + +class LinearSolveError(ArithmeticError): + """The Jacobian cannot be factorized or its solve is not finite.""" + + +@dataclass(frozen=True) +class NewtonSettings: + """All controls of one Newton solve; none of them has a default value.""" + + scaling: ResidualScaling + tolerance: float + step_control: StepControl + budget: SolveBudget + gates: tuple[PhysicalGate, ...] + reuse_jacobian: bool + + def __post_init__(self) -> None: + if not math.isfinite(self.tolerance) or self.tolerance <= 0.0: + raise ValueError("tolerance must be finite and positive") + if self.scaling.row_weights.shape != self.step_control.max_step.shape: + raise ValueError("residual weights and step limits must have one size") + object.__setattr__(self, "gates", tuple(self.gates)) + + +@dataclass(frozen=True) +class IterationRecord: + iteration: int + scaled_residual: float + step_inf: float + damping: float + backtracks: int + fresh_jacobian: bool + + +@dataclass(frozen=True) +class NewtonResult: + """Solve evidence; scaled_residual reports the selected convergence norm.""" + + state: Vector + accepted: bool + termination: Termination + scaled_residual: float + gates: tuple[GateOutcome, ...] + iterations: tuple[IterationRecord, ...] + residual_evaluations: int + jacobian_evaluations: int + start_digest: str + message: str + + @property + def iteration_count(self) -> int: + return len(self.iterations) + + +class _Factor: + """LU of the row- and column-equilibrated Jacobian. + + Equilibration (max-norm rows, then columns) changes only the rounding of + the linear solve, not the Newton direction: ``J du = -F`` is solved as + ``(R J C) v = -R F``, ``du = C v``. It keeps partial pivoting meaningful + when rows and columns span many decades (e.g. log-density coordinates). + """ + + def __init__(self, matrix: Matrix): + self.sparse = bool(issparse(matrix)) + if self.sparse: + csr = matrix.tocsr().astype(float) + if csr.shape[0] != csr.shape[1] or not np.all(np.isfinite(csr.data)): + raise LinearSolveError("the Jacobian must be square and finite") + row_max = np.asarray(abs(csr).max(axis=1).todense()).ravel() + if np.any(row_max == 0.0): + raise LinearSolveError("the Jacobian has an all-zero row") + self._rows = 1.0 / row_max + scaled = diags(self._rows) @ csr + column_max = np.asarray(abs(scaled).max(axis=0).todense()).ravel() + if np.any(column_max == 0.0): + raise LinearSolveError("the Jacobian has an all-zero column") + self._columns = 1.0 / column_max + try: + self._lu: Any = splu((scaled @ diags(self._columns)).tocsc()) + except RuntimeError as error: + raise LinearSolveError(str(error)) from error + else: + dense: Vector = np.asarray(matrix, dtype=float) + if dense.ndim != 2 or dense.shape[0] != dense.shape[1]: + raise LinearSolveError("the Jacobian must be square") + if not np.all(np.isfinite(dense)): + raise LinearSolveError("the Jacobian is not finite") + row_max = np.max(np.abs(dense), axis=1) + if np.any(row_max == 0.0): + raise LinearSolveError("the Jacobian has an all-zero row") + self._rows = 1.0 / row_max + scaled = dense * self._rows[:, None] + column_max = np.max(np.abs(scaled), axis=0) + if np.any(column_max == 0.0): + raise LinearSolveError("the Jacobian has an all-zero column") + self._columns = 1.0 / column_max + with np.errstate(all="ignore"), warnings.catch_warnings(): + warnings.simplefilter("ignore", LinAlgWarning) + self._lu = lu_factor(scaled * self._columns[None, :], check_finite=False) + pivots = np.abs(np.diag(self._lu[0])) + if np.any(pivots == 0.0) or not np.all(np.isfinite(pivots)): + raise LinearSolveError("the Jacobian is exactly singular") + + def solve(self, rhs: Vector) -> Vector: + scaled_rhs = self._rows * np.asarray(rhs, dtype=float) + with np.errstate(all="ignore"): + result = (self._lu.solve(scaled_rhs) if self.sparse + else lu_solve(self._lu, scaled_rhs, check_finite=False)) + solution: Vector = self._columns * np.asarray(result, dtype=float) + if not np.all(np.isfinite(solution)): + raise LinearSolveError("the Newton step is not finite") + return solution + + +def factorize(matrix: Matrix) -> _Factor: + """LU factorization of a dense or sparse Jacobian (raises LinearSolveError).""" + return _Factor(matrix) + + +def solve_newton( + problem: SteadyProblem, u0: Vector, settings: NewtonSettings, *, + convergence_norm: Callable[[Vector], float] | None = None, +) -> NewtonResult: + """Damped Newton with explicit acceptance; see the module docstring.""" + if convergence_norm is not None and not callable(convergence_norm): + raise ValueError("convergence_norm must be callable or None") + budget = settings.budget + u = np.array(u0, dtype=float, copy=True) + start = state_digest(u) + records: list[IterationRecord] = [] + counts = {"residual": 0, "jacobian": 0} + gates: tuple[GateOutcome, ...] = () + + def finish(termination: Termination, residual_norm: float, message: str, + accepted: bool = False) -> NewtonResult: + state = u.copy() + state.setflags(write=False) + return NewtonResult(state, accepted, termination, residual_norm, gates, + tuple(records), counts["residual"], counts["jacobian"], start, + message) + + if u.shape != settings.scaling.row_weights.shape or not np.all(np.isfinite(u)): + return finish(Termination.INFEASIBLE_START, math.inf, + "the start state is not finite or has the wrong size") + if not settings.step_control.feasible(u): + return finish(Termination.INFEASIBLE_START, math.inf, + "the start state violates the feasible bounds") + + def evaluate(point: Vector) -> Vector | None: + counts["residual"] += 1 + with np.errstate(all="ignore"): + values = np.asarray(problem.residual(point), dtype=float) + if values.shape != u.shape: + raise ValueError("the residual has the wrong size") + return values if np.all(np.isfinite(values)) else None + + def measure_norm(values: Vector) -> float: + if convergence_norm is None: + return float(np.max(np.abs(values))) + value = float(convergence_norm(values.copy())) + if not math.isfinite(value) or value < 0.0: + raise ValueError("convergence_norm must return a finite nonnegative scalar") + return value + + F = evaluate(u) + if F is None: + return finish(Termination.NONFINITE_RESIDUAL, math.inf, + "the residual is not finite at the start state") + scaled = settings.scaling.scaled(F) + norm = measure_norm(scaled) + factor: _Factor | None = None + fresh = False + iteration = 0 + stagnant = 0 + while True: + if norm <= settings.tolerance: + gates = tuple(gate(u.copy()) for gate in settings.gates) + failed = [gate for gate in gates if not gate.passed] + if failed: + return finish(Termination.GATE_REJECTED, norm, + "residual converged but gates failed: " + + "; ".join(f"{gate.name} {gate.value:.6g} > {gate.limit:.6g}" + f" {gate.message}".rstrip() for gate in failed)) + return finish(Termination.CONVERGED, norm, "converged", accepted=True) + if iteration >= budget.max_iterations: + return finish(Termination.BUDGET_EXHAUSTED, norm, + f"iteration budget {budget.max_iterations} exhausted at " + f"scaled residual {norm:.6g}") + iteration += 1 + if factor is None or not settings.reuse_jacobian: + if counts["jacobian"] >= budget.max_jacobian_evaluations: + return finish(Termination.BUDGET_EXHAUSTED, norm, + f"Jacobian budget {budget.max_jacobian_evaluations} exhausted") + counts["jacobian"] += 1 + try: + factor = _Factor(problem.jacobian(u.copy())) + except LinearSolveError as error: + return finish(Termination.SINGULAR_JACOBIAN, norm, str(error)) + fresh = True + try: + step = factor.solve(-F) + except LinearSolveError as error: + if not fresh: + factor = None + continue + return finish(Termination.SINGULAR_JACOBIAN, norm, str(error)) + step_inf = float(np.max(np.abs(step))) + alpha = settings.step_control.step_fraction(u, step) + merit = 0.5 * float(np.dot(scaled, scaled)) + accepted_trial: tuple[Vector, Vector, Vector] | None = None + backtracks = 0 + while backtracks <= budget.max_backtracks: + if counts["residual"] >= budget.max_residual_evaluations: + return finish(Termination.BUDGET_EXHAUSTED, norm, + "residual-evaluation budget " + f"{budget.max_residual_evaluations} exhausted") + trial = u + alpha * step + values = evaluate(trial) if settings.step_control.feasible(trial) else None + if values is not None: + trial_scaled = settings.scaling.scaled(values) + trial_merit = 0.5 * float(np.dot(trial_scaled, trial_scaled)) + if trial_merit <= (1.0 - 2.0 * _ARMIJO * alpha) * merit: + accepted_trial = (trial, values, trial_scaled) + stagnant = (stagnant + 1 + if trial_merit > (1.0 - _STAGNATION_DECREASE) * merit else 0) + break + alpha *= 0.5 + backtracks += 1 + if accepted_trial is None: + if not fresh: # a stale factor failed: rebuild before giving up + factor = None + continue + return finish(Termination.LINE_SEARCH_FAILED, norm, + f"line search failed after {budget.max_backtracks} backtracks at " + f"scaled residual {norm:.6g}") + previous_row_norm = float(np.max(np.abs(scaled))) + u, F, scaled = accepted_trial + norm = measure_norm(scaled) + records.append(IterationRecord(iteration, norm, step_inf, alpha, backtracks, fresh)) + # Refresh after any backtracking, and when a reused factor contracts poorly. + if backtracks > 0 or ( + not fresh and float(np.max(np.abs(scaled))) > _CHORD_CONTRACTION * previous_row_norm + ): + factor = None + fresh = False + if stagnant >= _STAGNATION_WINDOW and norm > settings.tolerance: + return finish(Termination.STAGNATED, norm, + f"no merit progress in {_STAGNATION_WINDOW} consecutive iterations " + f"at scaled residual {norm:.6g} (last damping {alpha:.3g})") + + +def gate_from(name: str, measure: Callable[[Vector], float], limit: float, + message: str = "") -> PhysicalGate: + """Gate passing when ``measure(u) <= limit`` (non-finite values fail).""" + def gate(u: Vector) -> GateOutcome: + value = float(measure(u)) + return GateOutcome(name, bool(math.isfinite(value) and value <= limit), value, limit, + message) + return gate diff --git a/src/solarlab/solvers/nonlinear/problem.py b/src/solarlab/solvers/nonlinear/problem.py new file mode 100644 index 00000000..ef795f20 --- /dev/null +++ b/src/solarlab/solvers/nonlinear/problem.py @@ -0,0 +1,179 @@ +"""Solver-facing steady-state problem interface and its controls (N class). + +The nonlinear layer sees only a residual ``F(u)`` and its Jacobian ``dF/du`` in +the caller's coordinates ``u``. It never chooses coordinates, norms or +scalings itself: the row weights of the scaled residual, the step limits and +feasible bounds, the budgets and the physical acceptance gates are explicit +arguments without defaults. The production residual, linearization, scaling +and coordinates are G2-R/P04-B interfaces +(:mod:`solarlab.solvers.nonlinear.production`). +""" + +from __future__ import annotations + +from collections.abc import Callable +from dataclasses import dataclass +import hashlib +import math +from typing import Any, Protocol, TypeAlias + +import numpy as np +from numpy.typing import ArrayLike, NDArray + +__all__ = [ + "CallableProblem", "GateOutcome", "Matrix", "PhysicalGate", "ResidualScaling", + "SolveBudget", "SteadyProblem", "StepControl", "Vector", "state_digest", +] + +Vector: TypeAlias = NDArray[np.float64] +Matrix: TypeAlias = Any # dense ndarray or scipy.sparse matrix + + +class SteadyProblem(Protocol): + """A square nonlinear system ``F(u) = 0`` with its Jacobian.""" + + def residual(self, u: Vector) -> Vector: ... + + def jacobian(self, u: Vector) -> Matrix: ... + + +@dataclass(frozen=True) +class CallableProblem: + """Adapter from two callables to :class:`SteadyProblem`.""" + + residual_function: Callable[[Vector], ArrayLike] + jacobian_function: Callable[[Vector], Matrix] + + def residual(self, u: Vector) -> Vector: + return np.asarray(self.residual_function(u), dtype=float) + + def jacobian(self, u: Vector) -> Matrix: + return self.jacobian_function(u) + + +def _positive_vector(value: ArrayLike, name: str, allow_inf: bool = False) -> Vector: + array = np.array(value, dtype=float, copy=True) + finite = np.isfinite(array) | (allow_inf & np.isposinf(array)) + if array.ndim != 1 or array.size == 0 or not np.all(finite) or np.any(array <= 0.0): + raise ValueError(f"{name} must be a non-empty 1-D array of positive values") + array.setflags(write=False) + return array + + +@dataclass(frozen=True) +class ResidualScaling: + """Row weights ``w``: the scaled residual is ``w * F`` (no default exists).""" + + row_weights: Vector + + def __post_init__(self) -> None: + object.__setattr__(self, "row_weights", _positive_vector(self.row_weights, + "row_weights")) + + def scaled(self, residual: Vector) -> Vector: + if residual.shape != self.row_weights.shape: + raise ValueError("residual and row weights have different shapes") + result: Vector = self.row_weights * residual + return result + + +@dataclass(frozen=True) +class StepControl: + """Largest allowed ``|du_i|`` per iteration and optional feasible bounds. + + A Newton direction longer than ``max_step`` is shortened as a whole, so its + direction is kept. With bounds, the step is also shortened so the trial + point keeps ``fraction_to_boundary`` of the distance to every bound. + """ + + max_step: Vector + lower: Vector | None = None + upper: Vector | None = None + fraction_to_boundary: float = 0.99 + + def __post_init__(self) -> None: + object.__setattr__(self, "max_step", _positive_vector(self.max_step, "max_step", + allow_inf=True)) + for name in ("lower", "upper"): + bound = getattr(self, name) + if bound is not None: + array = np.array(bound, dtype=float, copy=True) + if array.shape != self.max_step.shape or np.any(np.isnan(array)): + raise ValueError(f"{name} must match max_step and not be NaN") + array.setflags(write=False) + object.__setattr__(self, name, array) + if self.lower is not None and self.upper is not None and np.any(self.lower >= self.upper): + raise ValueError("lower bounds must lie below upper bounds") + if not 0.0 < self.fraction_to_boundary < 1.0: + raise ValueError("fraction_to_boundary must lie in (0, 1)") + + def feasible(self, u: Vector) -> bool: + if self.lower is not None and np.any(u <= self.lower): + return False + if self.upper is not None and np.any(u >= self.upper): + return False + return True + + def step_fraction(self, u: Vector, step: Vector) -> float: + """Largest ``alpha <= 1`` keeping the step bounded and the trial feasible.""" + magnitude = np.abs(step) + with np.errstate(divide="ignore"): + limits = np.where(magnitude > self.max_step, self.max_step / magnitude, 1.0) + alpha = float(np.min(limits)) + tau = self.fraction_to_boundary + if self.lower is not None: + falling = step < 0.0 + if np.any(falling): + alpha = min(alpha, float(np.min(tau * (self.lower[falling] - u[falling]) + / step[falling]))) + if self.upper is not None: + rising = step > 0.0 + if np.any(rising): + alpha = min(alpha, float(np.min(tau * (self.upper[rising] - u[rising]) + / step[rising]))) + return min(alpha, 1.0) + + +@dataclass(frozen=True) +class SolveBudget: + """Hard limits of one solve; exhausting any of them is a reported failure.""" + + max_iterations: int + max_residual_evaluations: int + max_jacobian_evaluations: int + max_backtracks: int + + def __post_init__(self) -> None: + for name in ("max_iterations", "max_residual_evaluations", + "max_jacobian_evaluations"): + if type(getattr(self, name)) is not int or getattr(self, name) < 1: + raise ValueError(f"{name} must be a positive integer") + if type(self.max_backtracks) is not int or self.max_backtracks < 0: + raise ValueError("max_backtracks must be a non-negative integer") + + +@dataclass(frozen=True) +class GateOutcome: + """One physical acceptance gate evaluated on a candidate solution.""" + + name: str + passed: bool + value: float + limit: float + message: str = "" + + def __post_init__(self) -> None: + if not self.name: + raise ValueError("a gate needs a name") + if self.passed and not (math.isfinite(self.value) and self.value <= self.limit): + raise ValueError(f"gate {self.name!r} cannot pass with value above its limit") + + +PhysicalGate: TypeAlias = Callable[[Vector], GateOutcome] + + +def state_digest(u: ArrayLike) -> str: + """sha256 of the binary64 bytes of a state (start-state traceability).""" + array = np.ascontiguousarray(np.asarray(u, dtype=np.float64)) + return hashlib.sha256(array.tobytes()).hexdigest() + diff --git a/src/solarlab/solvers/nonlinear/production.py b/src/solarlab/solvers/nonlinear/production.py new file mode 100644 index 00000000..fce5c833 --- /dev/null +++ b/src/solarlab/solvers/nonlinear/production.py @@ -0,0 +1,134 @@ +"""Concrete production bindings for the ion-free classical 1D DC system. + +Adapters consume the equations-layer compiled object and provide the residual, +analytic sparse linearization, physical row scaling, and coordinate limits. +No G2 qualification or unsupported time/ion capability is inferred from them. +""" + +from __future__ import annotations + +from collections.abc import Callable +import math + +import numpy as np +from numpy.typing import ArrayLike, NDArray +from scipy.sparse import csc_matrix + +from solarlab.contracts.units import ELEMENTARY_CHARGE_C +from solarlab.equations.dc_1d import CompiledDevice1D, DC1DProblem +from solarlab.solvers.nonlinear.problem import ResidualScaling, StepControl + +__all__ = [ + "HISTORICAL_MAX_ROW_V1", "POISSON_CONTACT_BALANCE_V1", "production_convergence_norm", + "production_coordinates", "production_residual_scaling", + "production_steady_problem", "production_steady_linearization", +] + +HISTORICAL_MAX_ROW_V1 = "historical_max_row_v1" +POISSON_CONTACT_BALANCE_V1 = "poisson_contact_balance_v1" + + +def production_convergence_norm( + device: CompiledDevice1D, *, convergence_policy: str = HISTORICAL_MAX_ROW_V1, +) -> Callable[[np.ndarray], float] | None: + """Optional convergence norm of the unchanged production-scaled rows. + + Poisson and fixed-reservoir log rows retain their individual limits. + Other carrier rows use q*sum(abs(balance))/current_tol, obtained by + dividing their existing 2*N*q/current_tol scaling by 2*N. Finite-rate + and blocking boundary cells are included. The Newton merit is untouched. + """ + if convergence_policy == HISTORICAL_MAX_ROW_V1: + return None + if convergence_policy != POISSON_CONTACT_BALANCE_V1: + raise ValueError("unknown production convergence policy") + count = device.node_count + fixed: NDArray[np.bool_] = np.zeros(3 * count, dtype=bool) + fixed[:count] = True + for carrier, offset in (("n", count), ("p", 2 * count)): + for side, node in (("left", 0), ("right", count - 1)): + if device.channel(carrier, side).kind == "fixed_reservoir": + fixed[offset + node] = True + + def norm(scaled_residual: np.ndarray) -> float: + values = np.asarray(scaled_residual, dtype=float) + if values.shape != (3 * count,): + raise ValueError("production convergence rows must match the compiled device") + if not np.all(np.isfinite(values)): + return math.inf + absolute = np.abs(values) + carrier_rows = absolute[count:].copy() + carrier_rows[fixed[count:]] = 0.0 + balance = ( + float(np.sum(carrier_rows[:count])) + float(np.sum(carrier_rows[count:])) + ) / (2 * count) + return max(float(np.max(absolute[fixed])), balance) + + return norm + + +def poisson_row_weights(device: CompiledDevice1D) -> np.ndarray: + """Inverse Gauss scale q N_ref w + (C_left + C_right) V_ref.""" + count = device.node_count + voltage_ref = max(abs(device.built_in_potential_V), device.thermal_voltage_V) + density_ref = np.maximum( + np.maximum(device.parameters.acceptor_density_m3[1:-1], device.parameters.donor_density_m3[1:-1]), + 1.0, + ) + capacitance = device.poisson.face_capacitance_F_m2 + scale = ( + ELEMENTARY_CHARGE_C * density_ref * device.poisson.interior_widths_m + + (capacitance[:-1] + capacitance[1:]) * voltage_ref + ) + weights = np.full(count, 1.0 / voltage_ref) + weights[1:-1] = 1.0 / scale + return weights + + +def production_steady_problem( + device: CompiledDevice1D, *, voltage_V: float = 0.0, generation_scale: float = 0.0 +) -> DC1DProblem: + return DC1DProblem(device, voltage_V, generation_scale) + + +def production_steady_linearization( + problem: DC1DProblem, u: ArrayLike, udot: ArrayLike | None = None, *, alpha: float = 0.0 +) -> csc_matrix: + return problem.jacobian(u, udot, alpha=alpha) + + +def production_residual_scaling( + device: CompiledDevice1D, + *, + poisson_tolerance: float = 1.0e-11, + continuity_tolerance_A_m2: float = 1.0e-8, + contact_log_tolerance: float = 1.0e-11, +) -> ResidualScaling: + """Physical bound per row; use a Newton tolerance of 1. + + Bounding each carrier row by current_tol/(2 N q) bounds the sum of + their absolute balances independently of density or mesh clustering. + """ + for value in (poisson_tolerance, continuity_tolerance_A_m2, contact_log_tolerance): + if not math.isfinite(value) or value <= 0.0: + raise ValueError("physical residual tolerances must be finite and positive") + count = device.node_count + weights = np.full(3 * count, 2 * count * ELEMENTARY_CHARGE_C / continuity_tolerance_A_m2) + weights[:count] = poisson_row_weights(device) / poisson_tolerance + for carrier, offset in (("n", count), ("p", 2 * count)): + for side, node in (("left", 0), ("right", count - 1)): + if device.channel(carrier, side).kind == "fixed_reservoir": + weights[offset + node] = 1.0 / contact_log_tolerance + return ResidualScaling(weights) + + +def production_coordinates( + device: CompiledDevice1D, *, potential_step_V: float = 0.1, quasi_fermi_step: float = 2.0 +) -> StepControl: + """Whole-direction step limits in phi and dimensionless quasi-Fermi offsets.""" + if not all(math.isfinite(value) and value > 0.0 for value in (potential_step_V, quasi_fermi_step)): + raise ValueError("coordinate step limits must be finite and positive") + return StepControl(np.r_[ + np.full(device.node_count, potential_step_V), + np.full(2 * device.node_count, quasi_fermi_step), + ]) diff --git a/src/solarlab/solvers/nonlinear/ptc.py b/src/solarlab/solvers/nonlinear/ptc.py new file mode 100644 index 00000000..b3f150e2 --- /dev/null +++ b/src/solarlab/solvers/nonlinear/ptc.py @@ -0,0 +1,150 @@ +"""Bounded pseudo-transient continuation toward a steady state (N class). + +Each pseudo-time step solves ``(diag(m) / dtau + J) du = -F`` with a positive +caller-given pseudo mass ``m``, shortens the step to the caller's step limits +and feasible bounds, and adapts ``dtau`` by switched evolution relaxation +(``dtau *= |wF|_old / |wF|_new``, clipped to ``[min_dtau, max_dtau]``); a +non-finite or infeasible trial is rejected and ``dtau`` is quartered. + +PTC is only a numerical path into the Newton basin. When the scaled residual +reaches ``handoff_tolerance`` the steady Newton (with its gates) solves the +unmodified system; only its accepted result is a steady state. The recorded +pseudo-time states are numerical, never a physical preparation history +(``physical_history`` is always ``False``). Step count and ``dtau`` range are +bounded; running out is a reported failure. +""" + +from __future__ import annotations + +from collections.abc import Callable +from dataclasses import dataclass +import math + +import numpy as np +from scipy.sparse import diags, issparse + +from solarlab.solvers.nonlinear.newton import LinearSolveError, NewtonResult, factorize +from solarlab.solvers.nonlinear.problem import ( + ResidualScaling, SteadyProblem, StepControl, Vector, state_digest, +) + +__all__ = ["PtcResult", "PtcSettings", "PtcStepRecord", "solve_ptc"] + + +@dataclass(frozen=True) +class PtcSettings: + pseudo_mass: Vector + initial_dtau: float + min_dtau: float + max_dtau: float + max_steps: int + handoff_tolerance: float + scaling: ResidualScaling + step_control: StepControl + + def __post_init__(self) -> None: + mass = np.array(self.pseudo_mass, dtype=float, copy=True) + if mass.shape != self.scaling.row_weights.shape or not np.all(np.isfinite(mass)) \ + or np.any(mass <= 0.0): + raise ValueError("pseudo_mass must be positive and match the system size") + mass.setflags(write=False) + object.__setattr__(self, "pseudo_mass", mass) + if not (0.0 < self.min_dtau <= self.initial_dtau <= self.max_dtau < math.inf): + raise ValueError("dtau must satisfy 0 < min <= initial <= max < inf") + if type(self.max_steps) is not int or self.max_steps < 1: + raise ValueError("max_steps must be a positive integer") + if not math.isfinite(self.handoff_tolerance) or self.handoff_tolerance <= 0.0: + raise ValueError("handoff_tolerance must be finite and positive") + + +@dataclass(frozen=True) +class PtcStepRecord: + step: int + dtau: float + scaled_residual: float + accepted: bool + + +@dataclass(frozen=True) +class PtcResult: + accepted: bool + termination: str + newton: NewtonResult | None + pseudo_history: tuple[PtcStepRecord, ...] + start_digest: str + message: str + physical_history: bool = False + + def __post_init__(self) -> None: + if self.physical_history: + raise ValueError("pseudo-time states are never a physical preparation history") + + @property + def state(self) -> Vector | None: + return self.newton.state if self.accepted and self.newton is not None else None + + +def solve_ptc(problem: SteadyProblem, u0: Vector, settings: PtcSettings, + newton: Callable[[SteadyProblem, Vector], NewtonResult]) -> PtcResult: + """Pseudo-time march to the Newton basin, then a steady Newton acceptance.""" + u = np.array(u0, dtype=float, copy=True) + start = state_digest(u) + history: list[PtcStepRecord] = [] + control = settings.step_control + + def residual(point: Vector) -> Vector | None: + with np.errstate(all="ignore"): + values = np.asarray(problem.residual(point), dtype=float) + return values if np.all(np.isfinite(values)) else None + + def failure(termination: str, message: str) -> PtcResult: + return PtcResult(False, termination, None, tuple(history), start, message) + + if u.shape != settings.pseudo_mass.shape or not np.all(np.isfinite(u)) \ + or not control.feasible(u): + return failure("infeasible_start", "the PTC start state is not admissible") + F = residual(u) + if F is None: + return failure("nonfinite_residual", "the residual is not finite at the PTC start") + norm = float(np.linalg.norm(settings.scaling.scaled(F))) + dtau = settings.initial_dtau + for step in range(1, settings.max_steps + 1): + if float(np.max(np.abs(settings.scaling.scaled(F)))) <= settings.handoff_tolerance: + break + jacobian = problem.jacobian(u.copy()) + shift = settings.pseudo_mass / dtau + if issparse(jacobian): + matrix = jacobian + diags(shift) + else: + matrix = np.asarray(jacobian, dtype=float) + np.diag(shift) + try: + direction = factorize(matrix).solve(-F) + except LinearSolveError as error: + return failure("singular_jacobian", f"PTC step {step}: {error}") + alpha = control.step_fraction(u, direction) + trial = u + alpha * direction + trial_residual = residual(trial) if control.feasible(trial) else None + if trial_residual is None: + history.append(PtcStepRecord(step, dtau, math.nan, False)) + dtau *= 0.25 + if dtau < settings.min_dtau: + return failure("stagnated", f"PTC dtau fell below {settings.min_dtau:g}") + continue + new_norm = float(np.linalg.norm(settings.scaling.scaled(trial_residual))) + u, F = trial, trial_residual + history.append(PtcStepRecord(step, dtau, float(np.max(np.abs( + settings.scaling.scaled(F)))), True)) + ratio = norm / new_norm if new_norm > 0.0 else settings.max_dtau / dtau + dtau = min(settings.max_dtau, max(settings.min_dtau, dtau * ratio)) + norm = new_norm + else: + if float(np.max(np.abs(settings.scaling.scaled(F)))) > settings.handoff_tolerance: + return failure("budget_exhausted", + f"PTC step budget {settings.max_steps} exhausted at scaled " + f"residual {np.max(np.abs(settings.scaling.scaled(F))):.6g}") + final = newton(problem, u.copy()) + if not final.accepted: + return PtcResult(False, "handoff_rejected", final, tuple(history), start, + f"steady Newton after PTC: {final.termination.value}: " + f"{final.message}") + return PtcResult(True, "converged", final, tuple(history), start, "converged") diff --git a/src/solarlab/solvers/nonlinear/steady_1d.py b/src/solarlab/solvers/nonlinear/steady_1d.py new file mode 100644 index 00000000..1af2bd33 --- /dev/null +++ b/src/solarlab/solvers/nonlinear/steady_1d.py @@ -0,0 +1,393 @@ +"""Dark equilibrium and illuminated classical 1D DC using unified Newton. + +Poisson-Boltzmann prepares a common-Fermi seed. Coupled Poisson/continuity +certify the same production equations at every illuminated and biased point. +Bounded light/bias continuation records each Newton result. Failed residuals +or physical gates raise SteadyStateError; no legacy/transient fallback exists. +""" + +from __future__ import annotations + +from dataclasses import dataclass +import math + +import numpy as np +from scipy.sparse import diags + +from solarlab.contracts.units import ELEMENTARY_CHARGE_C +from solarlab.equations.assembly.classical_1d import AssembledDC1DProblem +from solarlab.equations.dc_1d import CompiledDevice1D, DC1DProblem, State1D +from solarlab.equations.implementation import DCProblem, use_assembled +from solarlab.physics.contacts import ContactEndpoint, assess_contact_thermodynamics +from solarlab.solvers.nonlinear.newton import ( + NewtonResult, NewtonSettings, factorize, gate_from, solve_newton, +) +from solarlab.solvers.nonlinear.problem import ( + CallableProblem, GateOutcome, PhysicalGate, ResidualScaling, SolveBudget, StepControl, +) +from solarlab.solvers.nonlinear.production import ( + HISTORICAL_MAX_ROW_V1, POISSON_CONTACT_BALANCE_V1, + poisson_row_weights, production_convergence_norm, production_coordinates, + production_residual_scaling, +) + +__all__ = [ + "SteadyOptions", "SteadyState1D", "SteadyStateError", + "solve_equilibrium", "solve_steady_state", + "physical_gates", "density_basin_seed", +] + +Q = ELEMENTARY_CHARGE_C + + +@dataclass(frozen=True) +class SteadyOptions: + """Physical limits, bounded work and an explicit convergence policy. + + The historical row policy is the default. The opt-in balance norm changes + the internal stopping budget; every independent physical gate is retained. + """ + + poisson_tolerance: float = 1.0e-11 + continuity_tolerance_A_m2: float = 1.0e-8 + current_spread_tolerance_A_m2: float = 1.0e-8 + equilibrium_current_tolerance_A_m2: float = 1.0e-10 + contact_log_tolerance: float = 1.0e-11 + potential_step_V: float = 0.1 + quasi_fermi_step: float = 2.0 + max_iterations: int = 100 + max_residual_evaluations: int = 10000 + max_jacobian_evaluations: int = 2000 + max_backtracks: int = 40 + max_bias_step_V: float = 0.1 + max_continuation_steps: int = 100 + convergence_policy: str = HISTORICAL_MAX_ROW_V1 + + def __post_init__(self) -> None: + for name in ( + "poisson_tolerance", "continuity_tolerance_A_m2", + "current_spread_tolerance_A_m2", "equilibrium_current_tolerance_A_m2", + "contact_log_tolerance", "potential_step_V", "quasi_fermi_step", + "max_bias_step_V", + ): + if not math.isfinite(getattr(self, name)) or getattr(self, name) <= 0.0: + raise ValueError(f"{name} must be finite and positive") + self.budget() + if type(self.max_continuation_steps) is not int or self.max_continuation_steps < 1: + raise ValueError("max_continuation_steps must be a positive integer") + if self.convergence_policy not in (HISTORICAL_MAX_ROW_V1, POISSON_CONTACT_BALANCE_V1): + raise ValueError("unknown production convergence policy") + + def budget(self) -> SolveBudget: + return SolveBudget( + self.max_iterations, self.max_residual_evaluations, + self.max_jacobian_evaluations, self.max_backtracks, + ) + + +@dataclass(frozen=True) +class SteadyState1D: + """A physically accepted operating point and its Newton evidence.""" + + state: State1D + current_density_A_m2: np.ndarray + contact_current_density_A_m2: np.ndarray + voltage_V: float + generation_scale: float + newton: NewtonResult + preparation: tuple[NewtonResult, ...] = () + density_basin_initializations: int = 0 + density_basin_stages: tuple[tuple[float, float], ...] = () + + def __post_init__(self) -> None: + for name, shape in ( + ("current_density_A_m2", (self.state.potential_V.size - 1,)), + ("contact_current_density_A_m2", (2,)), + ): + array = np.array(getattr(self, name), dtype=float, copy=True) + if array.shape != shape or not np.all(np.isfinite(array)): + raise ValueError(f"{name} must be finite with shape {shape}") + array.setflags(write=False) + object.__setattr__(self, name, array) + if not self.newton.accepted: + raise ValueError("an unaccepted Newton result cannot be a steady point") + if type(self.density_basin_initializations) is not int or self.density_basin_initializations < 0: + raise ValueError("density_basin_initializations must be a nonnegative integer") + stages = tuple((float(voltage), float(light)) for voltage, light in self.density_basin_stages) + if len(stages) != self.density_basin_initializations or any( + not math.isfinite(voltage) or not math.isfinite(light) or light <= 0.0 + for voltage, light in stages + ): + raise ValueError("density_basin_stages must record each positive-light initialization") + object.__setattr__(self, "density_basin_stages", stages) + + @property + def converged(self) -> bool: + return self.newton.accepted + + @property + def physical_gates(self) -> tuple[GateOutcome, ...]: + return self.newton.gates + + +class SteadyStateError(RuntimeError): + """A bounded solve/gate failed; the attached result is diagnostic only.""" + + def __init__(self, stage: str, result: NewtonResult): + self.stage = stage + self.result = result + super().__init__( + f"{stage}: {result.termination.value}: {result.message}; " + f"scaled residual={result.scaled_residual:.6g}" + ) + + +def _continuity_current_bound(problem: DCProblem, u: np.ndarray) -> float: + count = problem.device.node_count + residual = problem.residual(u) + total = 0.0 + for carrier, offset in (("n", count), ("p", 2 * count)): + rows = np.abs(residual[offset:offset + count]).copy() + for side, node in (("left", 0), ("right", count - 1)): + if problem.device.channel(carrier, side).kind == "fixed_reservoir": + rows[node] = 0.0 + total += float(np.sum(rows)) + return Q * total + + +def physical_gates( + problem: DCProblem, options: SteadyOptions, *, equilibrium: bool +) -> tuple[PhysicalGate, ...]: + device = problem.device + count = device.node_count + + def all_currents(u: np.ndarray) -> np.ndarray: + contact = problem.contact_current_density(u) + return np.r_[contact[:1], problem.current_density(u), contact[1:]] + + gates: list[PhysicalGate] = [ + gate_from( + "poisson_balance", + lambda u: float(np.max(np.abs(problem.residual(u)[:count] * poisson_row_weights(device)))), + options.poisson_tolerance, "maximum normalized Gauss/contact residual", + ), + gate_from( + "continuity_current_bound", lambda u: _continuity_current_bound(problem, u), + options.continuity_tolerance_A_m2, + "q * sum of absolute carrier balances, including finite-rate contact cells", + ), + gate_from( + "all_face_current_spread", lambda u: float(np.ptp(all_currents(u))), + options.current_spread_tolerance_A_m2, + "maximum minus minimum over every internal/external contact face", + ), + ] + if equilibrium: + def thermodynamics(u: np.ndarray) -> GateOutcome: + state = device.state(u, voltage_V=problem.voltage_V) + bands = device.parameters.band_structure + + def endpoint(node: int) -> ContactEndpoint: + return ContactEndpoint( + float(state.electron_density_m3[node]), float(state.hole_density_m3[node]), + float(device.parameters.conduction_dos_m3[node]), + float(device.parameters.valence_dos_m3[node]), + float(bands.physical_electron_affinity_eV[node]), + float(bands.physical_band_gap_eV[node]), + ) + + assessment = assess_contact_thermodynamics( + built_in_potential_mode="semiconductor_work_function", + left=endpoint(0), right=endpoint(-1), + V_bi_bc=float(state.potential_V[-1] - state.potential_V[0]), + thermal_voltage_V=device.thermal_voltage_V, has_band_reference=True, + ) + span = assessment.fermi_level_span_eV + return GateOutcome( + "contact_thermodynamics", assessment.certified, + math.inf if span is None else span, assessment.tolerance_eV, assessment.status, + ) + + gates.extend(( + gate_from( + "zero_equilibrium_carrier_current", + lambda u: float(max( + np.max(np.abs(problem.fluxes(u).electron_current())), + np.max(np.abs(problem.fluxes(u).hole_current())), + np.max(np.abs(problem.contact_current_density(u))), + )), + options.equilibrium_current_tolerance_A_m2, + "each carrier on every face and both physical contacts", + ), + thermodynamics, + )) + return tuple(gates) + + +def _problem(device: CompiledDevice1D, voltage_V: float, generation_scale: float) -> DCProblem: + """The selected production problem at one operating point (equations.implementation).""" + if use_assembled(): + return AssembledDC1DProblem(device, voltage_V, generation_scale) + return DC1DProblem(device, voltage_V, generation_scale) + + +def _solve_point( + device: CompiledDevice1D, u: np.ndarray, voltage_V: float, + generation_scale: float, options: SteadyOptions, *, equilibrium: bool = False, +) -> tuple[DCProblem, NewtonResult]: + problem = _problem(device, voltage_V, generation_scale) + settings = NewtonSettings( + production_residual_scaling( + device, poisson_tolerance=options.poisson_tolerance, + continuity_tolerance_A_m2=options.continuity_tolerance_A_m2, + contact_log_tolerance=options.contact_log_tolerance, + ), + 1.0, + production_coordinates( + device, potential_step_V=options.potential_step_V, + quasi_fermi_step=options.quasi_fermi_step, + ), + options.budget(), physical_gates(problem, options, equilibrium=equilibrium), False, + ) + result = solve_newton( + problem, np.asarray(u, dtype=float), settings, + convergence_norm=production_convergence_norm(device, convergence_policy=options.convergence_policy), + ) + if not result.accepted: + raise SteadyStateError(f"DC V={voltage_V:g}, generation_scale={generation_scale:g}", result) + return problem, result + + +def _point_result( + problem: DCProblem, result: NewtonResult, preparation: tuple[NewtonResult, ...] = (), + density_basin_stages: tuple[tuple[float, float], ...] = (), +) -> SteadyState1D: + return SteadyState1D( + problem.device.state(result.state, voltage_V=problem.voltage_V), problem.current_density(result.state), + problem.contact_current_density(result.state), problem.voltage_V, + problem.generation_scale, result, preparation, len(density_basin_stages), density_basin_stages, + ) + + +def density_basin_seed(problem: DCProblem, u: np.ndarray) -> np.ndarray: + """One physical density linearization at frozen phi, used only as a seed. + + The full production Jacobian supplies SG, contact, and recombination + derivatives. Solving its carrier block in density coordinates avoids an + enormous logarithmic step out of an almost empty carrier population. + The seed receives no acceptance certificate; coupled Newton still judges it. + """ + count = problem.device.node_count + _, n, p = problem.device.fields(u, voltage_V=problem.voltage_V) + residual = problem.residual(u)[count:] + density_inverse = np.r_[1.0 / n, -1.0 / p] + matrix = problem.jacobian(u)[count:, count:] @ diags(density_inverse) + increment = factorize(matrix).solve(-residual) + trial_n, trial_p = n + increment[:count], p + increment[count:] + if not all(np.all(np.isfinite(value)) and np.all(value > 0.0) for value in (trial_n, trial_p)): + raise ValueError("density preparation did not produce finite positive carriers") + seed = np.array(u, copy=True) + for offset, density, trial, delta, sign in ( + (count, n, trial_n, increment[:count], 1.0), + (2 * count, p, trial_p, increment[count:], -1.0), + ): + with np.errstate(over="ignore", divide="ignore"): + relative = delta / density + change = np.log1p(relative) + large = ~np.isfinite(change) + change[large] = np.log(trial[large]) - np.log(density[large]) + seed[offset:offset + count] += sign * change + return seed + + +def solve_equilibrium( + device: CompiledDevice1D, *, options: SteadyOptions | None = None +) -> SteadyState1D: + """Dark equilibrium of physical bands, contact reservoirs, and Poisson.""" + controls = SteadyOptions() if options is None else options + count = device.node_count + + def densities(phi: np.ndarray) -> tuple[np.ndarray, np.ndarray]: + _, n, p = device.fields(np.r_[phi, np.zeros(2 * count)]) + return n, p + + def residual(phi: np.ndarray) -> np.ndarray: + n, p = densities(phi) + if not np.all(np.isfinite(n)) or not np.all(np.isfinite(p)): + return np.full(count, np.nan) + rho = device.charge_ledger(n, p).space_charge_C_m3() + return device.poisson.residual(phi, rho, *device.contact_potentials(0.0)) + + def jacobian(phi: np.ndarray) -> object: + n, p = densities(phi) + slope = np.zeros(count) + slope[1:-1] = -Q * device.poisson.interior_widths_m * (n[1:-1] + p[1:-1]) / device.thermal_voltage_V + return device.poisson.jacobian() + diags(slope) + + settings = NewtonSettings( + ResidualScaling(poisson_row_weights(device) / controls.poisson_tolerance), + 1.0, StepControl(np.full(count, controls.potential_step_V)), controls.budget(), (), False, + ) + prepared = solve_newton( + CallableProblem(residual, jacobian), device.reference_potential_V, settings, + ) + if not prepared.accepted: + raise SteadyStateError("Poisson-Boltzmann equilibrium preparation", prepared) + u = np.r_[prepared.state, np.zeros(2 * count)] + problem, result = _solve_point(device, u, 0.0, 0.0, controls, equilibrium=True) + return _point_result(problem, result, (prepared,)) + + +def solve_steady_state( + device: CompiledDevice1D, + *, + initial_state: State1D | None = None, + voltage_V: float = 0.0, + generation_scale: float = 1.0, + options: SteadyOptions | None = None, +) -> SteadyState1D: + """Solve a real operating point; an accepted state may seed the next point.""" + controls = SteadyOptions() if options is None else options + target = _problem(device, voltage_V, generation_scale) + if initial_state is not None: + if not isinstance(initial_state, State1D) or initial_state.device_sha256 != device.sha256: + raise ValueError("initial_state must belong to the same compiled device") + problem, result = _solve_point( + device, + device.rebase_coordinates(initial_state.u, initial_state.voltage_V, target.voltage_V), + target.voltage_V, target.generation_scale, controls, + equilibrium=voltage_V == 0.0 and generation_scale == 0.0, + ) + return _point_result(problem, result) + equilibrium = solve_equilibrium(device, options=controls) + if generation_scale == 0.0 and voltage_V == 0.0: + return equilibrium + u = equilibrium.state.u + preparation = [*equilibrium.preparation, equilibrium.newton] + light_steps = [fraction * generation_scale for fraction in ( + 1.0e-8, 1.0e-6, 1.0e-4, 1.0e-2, 1.0, + )] if generation_scale > 0.0 else [] + bias_count = int(math.ceil(abs(voltage_V) / controls.max_bias_step_V)) + if len(light_steps) + bias_count > controls.max_continuation_steps: + raise ValueError("requested initialization exceeds the continuation-step budget") + points = [(0.0, value) for value in light_steps] + points.extend( + (float(value), generation_scale) + for value in np.linspace(0.0, voltage_V, bias_count + 1)[1:] + ) + previous_voltage = 0.0 + density_stages: list[tuple[float, float]] = [] + for index, (voltage, light) in enumerate(points): + u = device.rebase_coordinates(u, previous_voltage, voltage) + # Every prescribed light increment can refill depleted carriers by + # orders of magnitude. Prepare in physical density coordinates from + # the previous accepted point, then certify with coupled Newton. + if index < len(light_steps) and light > 0.0: + u = density_basin_seed(_problem(device, voltage, light), u) + density_stages.append((voltage, light)) + problem, result = _solve_point(device, u, voltage, light, controls) + u = result.state + previous_voltage = voltage + if index != len(points) - 1: + preparation.append(result) + return _point_result(problem, result, tuple(preparation), tuple(density_stages)) diff --git a/src/solarlab/solvers/nonlinear/steady_2d.py b/src/solarlab/solvers/nonlinear/steady_2d.py new file mode 100644 index 00000000..acc21ca0 --- /dev/null +++ b/src/solarlab/solvers/nonlinear/steady_2d.py @@ -0,0 +1,308 @@ +"""Bounded unified Newton for genuine connected classical 2D DC. + +Integrated Gauss/carrier rows are C/m and particles/(m*s), per unit depth. +Current checks divide A/m by the actual lateral width, retaining the existing +1D physical A/m2 tolerances. Fixed stack contacts retain unweighted V/log rows. +No column solve, seed solver, continuation or legacy fallback is hidden here. +""" + +from __future__ import annotations + +from solarlab.reproducibility.job_provenance import admitted_source_pins + +from dataclasses import asdict, dataclass, field +import math +import time +from typing import Any, TypeAlias + +import numpy as np + +from solarlab.contracts import frozen_array +from solarlab.contracts.units import ELEMENTARY_CHARGE_C as Q +from solarlab.equations.assembly.two_dimensional import AssembledDC2DProblem +from solarlab.equations.dc_2d import CompiledDevice2D, DC2DProblem, State2D +from solarlab.equations.implementation import use_assembled +from solarlab.mesh.geometry_2d import RECTANGULAR_HALF_ENDPOINT_2D_V1 +from solarlab.solvers.nonlinear.newton import NewtonResult, NewtonSettings, solve_newton +from solarlab.solvers.nonlinear.problem import CallableProblem, GateOutcome, ResidualScaling, StepControl, state_digest +from solarlab.solvers.nonlinear.production import HISTORICAL_MAX_ROW_V1, POISSON_CONTACT_BALANCE_V1 +from solarlab.solvers.nonlinear.steady_1d import SteadyOptions + +__all__ = ["Steady2DOptions", "Steady2DResult", "solve_steady_state_2d", "checks", "diagnostics", "scope", "sources"] + + +@dataclass(frozen=True) +class Steady2DOptions: + electronic: SteadyOptions = field(default_factory=SteadyOptions) + wall_s: float = 30.0 + + def __post_init__(self) -> None: + if not isinstance(self.electronic, SteadyOptions): + raise ValueError("explicit existing SteadyOptions are required") + if not math.isfinite(self.wall_s) or self.wall_s <= 0.0: + raise ValueError("2D owned wall budget must be finite and positive") + + +_Problem2D: TypeAlias = DC2DProblem | AssembledDC2DProblem + + +def _problem(device: CompiledDevice2D, voltage_V: float, generation_scale: float) -> _Problem2D: + """The selected production 2D problem at one operating point (equations.implementation).""" + if use_assembled(): + return AssembledDC2DProblem(device, voltage_V, generation_scale) + return DC2DProblem(device, voltage_V, generation_scale) + + +def scope(device: CompiledDevice2D) -> None: + if not isinstance(device, CompiledDevice2D): + raise ValueError("an actual fully compiled classical 2D device is required") + if device.geometry.name != RECTANGULAR_HALF_ENDPOINT_2D_V1: + raise ValueError("2D steady requires physical half-endpoint Neumann geometry") + if ((device.column.field_transport is not None and device.field_transport is None) or device.column.recombination.explicit_defects is not None + or device.column.additional_recombination is not None): + raise ValueError("2D steady supports constant mobility and lifetime SRH") + if all(channel.kind == "blocking" for channel in device.column.channels): + raise ValueError("fully_blocking_contacts: a closed carrier inventory constraint is not bound in 2D steady") + + +def _poisson_weights(device: CompiledDevice2D) -> np.ndarray: + """Inverse physical C/m scale, with unweighted contact voltage rows.""" + g = device.geometry.contract_geometry + reference_V = max(abs(device.column.built_in_potential_V), device.thermal_voltage_V) + density = device.extrude(np.maximum(np.maximum(device.column.parameters.acceptor_density_m3, + device.column.parameters.donor_density_m3), 1.0)) + capacitance = np.zeros(device.node_count) + face = device.face_capacitance_F_m2 * g.face_measures + np.add.at(capacitance, g.pairs[:, 0], face) + np.add.at(capacitance, g.pairs[:, 1], face) + scale = Q * density * g.volumes + reference_V * capacitance + result = 1.0 / scale + result[device.geometry.contact_nodes] = 1.0 / reference_V + return result + + +def _settings(device: CompiledDevice2D, options: Steady2DOptions, gate: Any) -> tuple[NewtonSettings, Any]: + c, N = options.electronic, device.node_count + weights = np.full(3 * N, 2 * N * Q / (device.geometry.lateral_length_m * c.continuity_tolerance_A_m2)) + weights[:N] = _poisson_weights(device) / c.poisson_tolerance + contact_mask = device.fixed_carrier_mask + weights[N:].reshape(2, N)[contact_mask] = 1.0 / c.contact_log_tolerance + steps = np.r_[np.full(N, c.potential_step_V), np.full(2 * N, c.quasi_fermi_step)] + settings = NewtonSettings(ResidualScaling(weights), 1.0, StepControl(steps), c.budget(), (gate,), False) + norm = None + if c.convergence_policy == POISSON_CONTACT_BALANCE_V1: + fixed: np.ndarray = np.zeros(3 * N, dtype=bool) + fixed[:N] = True + fixed[N:] = contact_mask.ravel() + def balance_norm(scaled: np.ndarray) -> float: + if scaled.shape != (3 * N,) or not np.all(np.isfinite(scaled)): + return math.inf + return max(float(np.max(abs(scaled[fixed]))), float(np.sum(abs(scaled[~fixed]))) / (2 * N)) + norm = balance_norm + elif c.convergence_policy != HISTORICAL_MAX_ROW_V1: + raise ValueError("unsupported 2D convergence policy") + return settings, norm + + +def sources(device: CompiledDevice2D | None = None) -> dict[str, str]: + """Return already admitted job metadata; a bare solver has no source claim. + + Keep the promoted public accessor without moving capture back into the + numerical layer. The device argument remains compatible with Part B; + inventory membership does not claim an enabled physical model. + """ + return admitted_source_pins() + + +def diagnostics(problem: _Problem2D, u: np.ndarray, options: Steady2DOptions) -> dict[str, Any]: + d, g, N = problem.device, problem.device.geometry, problem.device.node_count + residual = problem.residual(u) + phi, n, p = d.fields(u, voltage_V=problem.voltage_V) + if not np.all(np.isfinite(residual)) or not np.all(np.isfinite(n)) or not np.all(np.isfinite(p)): + raise ValueError("2D diagnostic fields/residual are nonfinite") + fluxes = problem.fluxes(u) + source = (problem.generation_scale * d.generation_source_m3_s + - problem.recombination_rate(n, p, derivatives=False).rate) * g.contract_geometry.volumes + contact_mask = d.fixed_carrier_mask + carrier_rows = residual[N:].reshape(2, N).copy() + contact_logs = carrier_rows[contact_mask].copy() + carrier_rows[contact_mask] = 0.0 + terminal_particles = np.stack(problem.contact_particle_fluxes(u)) + rates = np.array([[math.fsum((values * g.x_widths_m).tolist()) for values in carrier] + for carrier in terminal_particles]) + net_source = math.fsum(source.tolist()) + source_balance = net_source + rates[:, 0] - rates[:, 1] + sections, terminals = problem.cross_section_current_A_m(u), problem.terminal_current_A_m(u) + integrated = np.r_[terminals[:1], sections, terminals[1:]] + current = problem.current_density(u) + physical = np.tile(source, (2, 1)) + for row, flux, contact in zip(physical, (fluxes.electron.flux, fluxes.hole.flux), terminal_particles): + weighted = flux * g.contract_geometry.face_measures + np.add.at(row, g.contract_geometry.pairs[:, 0], -weighted) + np.add.at(row, g.contract_geometry.pairs[:, 1], weighted) + row[:g.nx] += contact[0] * g.x_widths_m + row[-g.nx:] -= contact[1] * g.x_widths_m + controls, width = options.electronic, g.lateral_length_m + normalized_phi = residual[:N] * _poisson_weights(d) + settings, norm = _settings(d, options, lambda values: GateOutcome("unused", True, 0.0, 1.0)) + scaled = settings.scaling.scaled(residual) + row_norm = float(np.max(abs(scaled))) if norm is None else norm(scaled) + result: dict[str, Any] = {"original_residual": residual, "scaled_residual": scaled, "original_rows": tuple(range(3 * N)), + "convergence_norm": row_norm, "poisson_normalized_max": float(np.max(abs(normalized_phi))), + "contact_log_max": float(np.max(abs(contact_logs), initial=0.0)), + "carrier_balance_bound_A_m2": Q * float(np.sum(abs(carrier_rows))) / width, + "physical_carrier_balance_per_depth_m_s": physical, + "source_terminal_particle_balance_per_depth_m_s": source_balance, + "source_terminal_current_bound_A_m2": Q * float(np.sum(abs(source_balance))) / width, + "net_pair_source_per_depth_m_s": net_source, "terminal_particle_rates_per_depth_m_s": rates, + "terminal_particle_flux_density_m2_s": terminal_particles, + "terminal_current_per_depth_A_m": terminals, "cross_section_current_per_depth_A_m": sections, + "terminal_mean_current_density_A_m2": terminals / width, + "cross_section_terminal_spread_A_m2": float(np.ptp(integrated)) / width, + "face_current_density_A_m2": current, + "lateral_current_density_A_m2": current[:g.x_face_count].reshape(g.ny, g.nx - 1), + "stack_current_density_A_m2": current[g.x_face_count:].reshape(g.ny - 1, g.nx), + "carrier_face_particle_flux_m2_s": np.stack((fluxes.electron.flux, fluxes.hole.flux)), + "face_displacement_C_m2": problem.displacement(u), + "lateral_boundary_particle_flux_m2_s": np.zeros((2, g.ny, 2)), + "lateral_boundary_displacement_C_m2": np.zeros((g.ny, 2)), + "finite_positive_fields": bool(np.all(n > 0.0) and np.all(p > 0.0) and np.all(np.isfinite(phi))), + "minimum_electron_density_m3": float(np.min(n)), "minimum_hole_density_m3": float(np.min(p)), + "generation_current_limit_per_depth_A_m": d.generation_limit_A_m * problem.generation_scale, + "physical_limits": {"poisson": controls.poisson_tolerance, "contact_log": controls.contact_log_tolerance, + "continuity_A_m2": controls.continuity_tolerance_A_m2, "current_spread_A_m2": controls.current_spread_tolerance_A_m2}} + if any(channel.kind != "fixed_reservoir" for channel in d.column.channels): + result.update(fixed_carrier_mask=contact_mask, + carrier_contact_channels=[dict(asdict(channel), kind=channel.kind) for channel in d.column.channels]) + return result + + +def checks(values: dict[str, Any], options: Steady2DOptions) -> tuple[GateOutcome, ...]: + c = options.electronic + limits = {"convergence_norm": 1.0, "poisson_normalized_max": c.poisson_tolerance, + "contact_log_max": c.contact_log_tolerance, "carrier_balance_bound_A_m2": c.continuity_tolerance_A_m2, + "source_terminal_current_bound_A_m2": c.continuity_tolerance_A_m2, + "cross_section_terminal_spread_A_m2": c.current_spread_tolerance_A_m2} + result = [GateOutcome(name, math.isfinite(values[name]) and values[name] <= limit, values[name], limit, + "original numerical tolerances, physical2D per-depth mapping; qualification false") for name, limit in limits.items()] + result.append(GateOutcome("finite_positive_fields", values["finite_positive_fields"], + 0.0 if values["finite_positive_fields"] else math.inf, 0.0)) + return tuple(result) + + +@dataclass(frozen=True) +class Steady2DResult: + state: State2D | None + accepted: bool + termination: str + newton: NewtonResult | None + initial_coordinates: np.ndarray + candidate_coordinates: np.ndarray + initial_provenance: dict[str, Any] + initial_diagnostics: dict[str, Any] | None + diagnostics: dict[str, Any] | None + checks: tuple[GateOutcome, ...] + compiled_identity: str + operating_voltage_V: float + generation_scale: float + solver_controls: dict[str, Any] + source_sha256: dict[str, str] + evaluation_counts: dict[str, int] + wall_s: float + error: str | None = None + physical_certificate_status: str = "not_evaluated" + + def __post_init__(self) -> None: + object.__setattr__(self, "initial_coordinates", frozen_array(self.initial_coordinates)) + object.__setattr__(self, "candidate_coordinates", frozen_array(self.candidate_coordinates)) + + +def solve_steady_state_2d(device: CompiledDevice2D, *, voltage_V: float, generation_scale: float, + options: Steady2DOptions | None = None, initial_state: State2D | None = None, + initial_provenance: dict[str, Any] | None = None) -> Steady2DResult: + """One full2D Newton, preserving its first failure and every original row.""" + started = time.monotonic() + scope(device) + controls = Steady2DOptions() if options is None else options + if not isinstance(controls, Steady2DOptions): + raise ValueError("Steady2DOptions are required") + problem = _problem(device, voltage_V, generation_scale) + if initial_state is None: + u = device.extrude_coordinates(np.r_[device.column.reference_potential_V, np.zeros(2 * device.geometry.ny)]) + phi = u[:device.node_count] + bottom, top = device.column.contact_potentials(voltage_V) + phi[:device.geometry.nx], phi[-device.geometry.nx:] = bottom, top + for offset, ref, mask in zip((device.node_count, 2 * device.node_count), device.reference_potentials(voltage_V), + device.fixed_carrier_mask): + u[offset:offset + device.node_count][mask] = (ref[mask] - phi[mask]) / device.thermal_voltage_V + provenance = {"kind": "compiler physical reference; no seed solve"} + else: + if not isinstance(initial_state, State2D) or initial_state.device_sha256 != device.identity or initial_state.voltage_V != voltage_V: + raise ValueError("initial2D state must have the same device identity and voltage") + expected = device.state(initial_state.u, voltage_V=voltage_V) + if any(not np.array_equal(getattr(initial_state, name), getattr(expected, name)) + for name in ("potential_V", "electron_density_m3", "hole_density_m3")): + raise ValueError("initial physical2D fields disagree with their coordinates") + u = np.array(initial_state.u, copy=True) + provenance = {"kind": "provided full2D numerical guess"} + provenance.update({} if initial_provenance is None else initial_provenance) + provenance["state_sha256"] = state_digest(u) + pins = admitted_source_pins() + deadline = started + controls.wall_s + candidate = u.copy() + counts = {"residual": 0, "jacobian": 0, "diagnostics": 0} + newton_calls = 0 + def checkpoint() -> None: + if time.monotonic() >= deadline: + raise TimeoutError("2D steady owned wall budget exhausted; no retry") + def evaluate(kind: str, values: np.ndarray) -> Any: + nonlocal candidate + candidate = np.array(values, copy=True) + checkpoint() + counts[kind] += 1 + output = problem.residual(values) if kind == "residual" else problem.jacobian(values) + checkpoint() + return output + def gate(values: np.ndarray) -> GateOutcome: + checkpoint() + counts["diagnostics"] += 1 + check_outcomes = checks(diagnostics(problem, values, controls), controls) + checkpoint() + return GateOutcome("all_original_2d_physical_checks", all(check.passed for check in check_outcomes), + max(check.value / check.limit if check.limit > 0.0 else check.value for check in check_outcomes), 1.0) + settings, norm = _settings(device, controls, gate) + state, newton, diagnostic_values, initial_data, error = None, None, None, None, None + check_outcomes: tuple[GateOutcome, ...] = () + try: + checkpoint() + counts["diagnostics"] += 1 + initial_data = diagnostics(problem, u, controls) + checkpoint() + newton_calls += 1 + newton = solve_newton(CallableProblem(lambda values: evaluate("residual", values), + lambda values: evaluate("jacobian", values)), u, settings, convergence_norm=norm) + candidate = newton.state + checkpoint() + counts["diagnostics"] += 1 + diagnostic_values = diagnostics(problem, candidate, controls) + check_outcomes = checks(diagnostic_values, controls) + state = device.state(candidate, voltage_V=voltage_V) + checkpoint() + accepted = newton.accepted and all(check.passed for check in check_outcomes) + termination = newton.termination.value if accepted or not newton.accepted else "physical_checks_rejected" + except Exception as exc: + accepted = False + termination = "wall_budget_exhausted" if isinstance(exc, TimeoutError) else "evaluation_error" + error = f"{type(exc).__name__}: {str(exc)[:600]}" + recorded: dict[str, Any] = {"numerical": asdict(controls), "row_units": {"gauss": "C/m depth", "carrier": "particles/(m depth*s)", + "contact_phi": "V", "contact_carrier": "dimensionless log"}, + "current_gate_normalization": "raw A/m divided by actual lateral width[m] gives A/m2", + "lateral_boundary": "zero normal displacement and particle flux", "full_2d_newton_calls": newton_calls, + "evaluation_count_semantics": "residual/jacobian count Newton callbacks; diagnostics count separate initial/gate/final physical rechecks", + "hidden_seed_or_fallback_calls": 0} + if any(channel.kind != "fixed_reservoir" for channel in device.column.channels): + recorded["row_units"]["contact_carrier"] = "fixed: dimensionless log; finite/blocking: particles/(m depth*s)" + recorded["carrier_contact_channels"] = [dict(asdict(channel), kind=channel.kind) for channel in device.column.channels] + return Steady2DResult(state, accepted, termination, newton, u, candidate, provenance, initial_data, + diagnostic_values, check_outcomes, device.identity, voltage_V, generation_scale, recorded, pins, counts, + time.monotonic() - started, error) diff --git a/src/solarlab/solvers/time/__init__.py b/src/solarlab/solvers/time/__init__.py new file mode 100644 index 00000000..538eeff6 --- /dev/null +++ b/src/solarlab/solvers/time/__init__.py @@ -0,0 +1,5 @@ +"""Conservative, explicitly bounded research time integration.""" + +from .backward_euler import BackwardEuler1DStep, inventory_m2, step_accounting + +__all__ = ["BackwardEuler1DStep", "inventory_m2", "step_accounting"] diff --git a/src/solarlab/solvers/time/assembled_ionic_backward_euler.py b/src/solarlab/solvers/time/assembled_ionic_backward_euler.py new file mode 100644 index 00000000..ba74eadf --- /dev/null +++ b/src/solarlab/solvers/time/assembled_ionic_backward_euler.py @@ -0,0 +1,165 @@ +"""Physical BE steps on the unified single/multiple-domain ionic assembly. + +The existing BDFStep at order one supplies R = F - delta(S)/dt and its +Jacobian. All storage/secants come from the Assembler through the thin +storage protocol; carrier and each domain/species remain independent. +The original BE predictors and current/charge accounting are reused without +changing their equations, gates or tolerances. No adaptive ionic driver or +new physics is introduced by these constructor-compatible step adapters. +""" + +from __future__ import annotations + +from dataclasses import dataclass +import math +from numbers import Real +from typing import Any, cast + +import numpy as np +from scipy.sparse import csc_matrix + +from solarlab.equations.assembly.ionic_1d import AssembledIonic1DProblem, AssembledMultipleIonic1DProblem +from solarlab.equations.dc_1d import DC1DProblem +from solarlab.equations.ionic_1d import IonicState1D +from solarlab.equations.multiple_ionic_1d import MultipleIonicState1D +from solarlab.solvers.time.assembled_storage import AssembledIonicStorage1D, AssembledStorage1D +from solarlab.solvers.time.backward_euler import BackwardEuler1DStep +from solarlab.solvers.time.bdf import BDFStep, HistoryPoint +from solarlab.solvers.time.ionic_backward_euler import ( + IonicBackwardEuler1DStep, step_accounting as ionic_accounting, +) +from solarlab.solvers.time.multiple_ionic_backward_euler import ( + MultipleIonicBackwardEuler1DStep, multiple_ionic_step_accounting as multiple_accounting, +) + +__all__ = ["AssembledIonicBackwardEuler1DStep", "AssembledMultipleIonicBackwardEuler1DStep"] + + +def _step( + endpoint: AssembledIonic1DProblem | AssembledMultipleIonic1DProblem, + previous: IonicState1D | MultipleIonicState1D, dt_s: float, +) -> BDFStep: + old = AssembledIonicStorage1D(endpoint.at(previous.voltage_V, endpoint.generation_scale)) + history = HistoryPoint(0.0, previous.u, old.storage(previous.u), old) + return BDFStep(AssembledIonicStorage1D(endpoint), (history,), dt_s, 1) + + +@dataclass(frozen=True) +class AssembledIonicBackwardEuler1DStep: + """One single-domain step, including independent or shared-site species.""" + + endpoint: AssembledIonic1DProblem + previous: IonicState1D + dt_s: float + + def __post_init__(self) -> None: + if not isinstance(self.endpoint, AssembledIonic1DProblem) or not isinstance(self.previous, IonicState1D): + raise ValueError("an assembled ionic endpoint and previous ionic state are required") + if not math.isfinite(self.dt_s) or self.dt_s <= 0.0: + raise ValueError("dt_s must be finite and positive") + device = self.endpoint.device + if self.previous.device_sha256 != device.identity: + raise ValueError("previous state must belong to the same complete ionic device") + actual = device.state(self.previous.u, voltage_V=self.previous.voltage_V) + if self.previous.electronic_state.device_sha256 != device.electronic_component.identity: + raise ValueError("previous electronic component identity is inconsistent") + for name in ("potential_V", "electron_density_m3", "hole_density_m3"): + if not np.array_equal(getattr(actual.electronic_state, name), getattr(self.previous.electronic_state, name)): + raise ValueError("previous electronic fields disagree with their voltage reference") + if (any(not np.array_equal(getattr(actual, f"{species}_ion_density_m3"), + getattr(self.previous, f"{species}_ion_density_m3")) + for species in device.ion_species_names) + or actual.domain_inventories_m2 != self.previous.domain_inventories_m2): + raise ValueError("previous physical ion fields/inventory disagree with the bound coordinates") + + @property + def electronic_step(self) -> BackwardEuler1DStep: + # The unchanged BE constructor is annotated with its old concrete + # endpoint, but consumes this same public surface at runtime. + endpoint = cast(DC1DProblem, AssembledStorage1D(self.endpoint.electronic_problem)) + return BackwardEuler1DStep(endpoint, self.previous.electronic_state, self.dt_s) + + @property + def bdf_step(self) -> BDFStep: + return _step(self.endpoint, self.previous, self.dt_s) + + def physical_increment(self, y: np.ndarray) -> np.ndarray: + step = self.bdf_step + old = step.history[0] + endpoint = cast(AssembledIonicStorage1D, step.endpoint) + return endpoint.physical_increment(y, old.problem, old.u) + + def inventory_rates_m2_s(self, y: np.ndarray) -> tuple[np.ndarray, tuple[np.ndarray, ...]]: + rate = self.physical_increment(y) / self.dt_s + count = self.endpoint.device.node_count + return rate[count:3 * count].reshape(2, count), tuple(rate[block] for block in self.endpoint.device.ion_species_slices) + + def inventory_rate_m2_s(self, y: np.ndarray, *, species: str = "positive") -> tuple[np.ndarray, np.ndarray]: + if species not in self.endpoint.device.ion_species_names: + raise ValueError("requested ion species is not assembled in this device") + carrier, ions = self.inventory_rates_m2_s(y) + return carrier, ions[self.endpoint.device.ion_species_names.index(species)] + + def residual(self, y: np.ndarray) -> np.ndarray: + return self.bdf_step.residual(y) + + def jacobian(self, y: np.ndarray) -> csc_matrix: + return csc_matrix(self.bdf_step.jacobian(y)) + + def initial_coordinates(self, predictor: str = "previous", *, voltage_lift: bool = False) -> np.ndarray: + electronic = self.electronic_step.initial_coordinates(predictor, voltage_lift=voltage_lift) + return np.r_[electronic, self.previous.u[3 * self.endpoint.device.node_count:]] + + def accounting(self, y: np.ndarray) -> dict[str, object]: + return ionic_accounting(cast(IonicBackwardEuler1DStep, self), y) + + +@dataclass(frozen=True) +class AssembledMultipleIonicBackwardEuler1DStep: + """One full step with separate storage for every declared ionic domain.""" + + endpoint: AssembledMultipleIonic1DProblem + previous: MultipleIonicState1D + dt_s: float + + def __post_init__(self) -> None: + if not isinstance(self.endpoint, AssembledMultipleIonic1DProblem): + raise TypeError("the assembled multiple-domain endpoint equations are required") + if isinstance(self.dt_s, bool) or not isinstance(self.dt_s, Real) or not math.isfinite(self.dt_s) or self.dt_s <= 0: + raise ValueError("dt_s must be a finite positive real scalar") + self.endpoint.device.validate_state(self.previous) + + @property + def electronic_step(self) -> BackwardEuler1DStep: + endpoint = cast(DC1DProblem, AssembledStorage1D(self.endpoint.electronic_problem)) + return BackwardEuler1DStep(endpoint, self.previous.electronic_state, self.dt_s) + + @property + def bdf_step(self) -> BDFStep: + return _step(self.endpoint, self.previous, self.dt_s) + + def physical_increment(self, y: np.ndarray) -> np.ndarray: + step = self.bdf_step + old = step.history[0] + endpoint = cast(AssembledIonicStorage1D, step.endpoint) + return endpoint.physical_increment(y, old.problem, old.u) + + def inventory_rates_m2_s(self, y: np.ndarray) -> tuple[np.ndarray, dict[str, dict[str, np.ndarray]]]: + device, count = self.endpoint.device, self.endpoint.device.node_count + rate = self.physical_increment(y) / self.dt_s + domains = {name: {species: rate[block] for species, block in blocks.items()} + for name, blocks in device.ion_species_slices.items()} + return rate[count:3 * count].reshape(2, count), domains + + def residual(self, y: np.ndarray) -> np.ndarray: + return self.bdf_step.residual(y) + + def jacobian(self, y: np.ndarray) -> csc_matrix: + return csc_matrix(self.bdf_step.jacobian(y)) + + def initial_coordinates(self) -> np.ndarray: + electronic = self.electronic_step.initial_coordinates("previous", voltage_lift=True) + return np.r_[electronic, self.previous.u[3 * self.endpoint.device.node_count:]] + + def accounting(self, y: np.ndarray) -> dict[str, Any]: + return multiple_accounting(cast(MultipleIonicBackwardEuler1DStep, self), y) diff --git a/src/solarlab/solvers/time/assembled_ionic_bdf.py b/src/solarlab/solvers/time/assembled_ionic_bdf.py new file mode 100644 index 00000000..4c3e97f2 --- /dev/null +++ b/src/solarlab/solvers/time/assembled_ionic_bdf.py @@ -0,0 +1,255 @@ +"""Physical BDF on the canonical assembled single/multiple ionic BE storage. + +Every species secant and tangent is supplied by AssembledIonicStorage1D. +D0 species retain their full physical mass, as in the original BE time rows; +only genuinely algebraic/constraint rows have zero equation storage. The +original BE observations supply fluxes, sources, charge and domain geometry. +No experiment selection or production default is changed by this module. +""" + +from __future__ import annotations + +from dataclasses import dataclass +import math +from typing import Any, TypeAlias, cast + +import numpy as np + +from solarlab.contracts.units import ELEMENTARY_CHARGE_C as Q +from solarlab.equations.assembly.ionic_1d import AssembledIonic1DProblem, AssembledMultipleIonic1DProblem +from solarlab.equations.dc_1d import DC1DProblem, State1D +from solarlab.equations.ionic_1d import CompiledIonicDevice1D, IonicState1D +from solarlab.equations.multiple_ionic_1d import CompiledMultipleIonicDevice1D, MultipleIonicState1D +from solarlab.physics.electrostatics import contact_displacement +from solarlab.solvers.nonlinear.problem import Vector +from solarlab.solvers.time.assembled_ionic_backward_euler import ( + AssembledIonicBackwardEuler1DStep, AssembledMultipleIonicBackwardEuler1DStep, +) +from solarlab.solvers.time.assembled_storage import AssembledIonicStorage1D +from solarlab.solvers.time.backward_euler import BackwardEuler1DStep +from solarlab.solvers.time.bdf import BDFStep +from solarlab.solvers.time.ionic_backward_euler import IonicBackwardEuler1DStep, ionic_step_accounting +from solarlab.solvers.time.multiple_ionic_backward_euler import MultipleIonicBackwardEuler1DStep, multiple_ionic_step_accounting + +__all__ = ["assembled_ionic_bdf_accounting", "assembled_ionic_bdf_seed"] + +IonicDevice: TypeAlias = CompiledIonicDevice1D | CompiledMultipleIonicDevice1D +IonicState: TypeAlias = IonicState1D | MultipleIonicState1D +IonicBEStep: TypeAlias = AssembledIonicBackwardEuler1DStep | AssembledMultipleIonicBackwardEuler1DStep + + +def _adapter(step: BDFStep) -> AssembledIonicStorage1D: + if not isinstance(step.endpoint, AssembledIonicStorage1D): + raise TypeError("canonical assembled ionic storage is required") + return step.endpoint + + +def _be(step: BDFStep) -> IonicBEStep: + endpoint = _adapter(step) + old = step.history[0] + if not isinstance(old.problem, AssembledIonicStorage1D): + raise TypeError("ionic history must retain the canonical assembled storage") + previous = old.problem.device.state(old.u, voltage_V=old.problem.voltage_V) + if isinstance(endpoint.problem, AssembledIonic1DProblem): + return AssembledIonicBackwardEuler1DStep(endpoint.problem, cast(IonicState1D, previous), step.dt_s) + return AssembledMultipleIonicBackwardEuler1DStep(endpoint.problem, cast(MultipleIonicState1D, previous), step.dt_s) + + +def assembled_ionic_bdf_seed(step: BDFStep) -> Vector: + """Reuse the original harmonic carrier lift and unchanged ion coordinates.""" + be = _be(step) + return (be.initial_coordinates("previous", voltage_lift=True) + if isinstance(be, AssembledIonicBackwardEuler1DStep) else be.initial_coordinates()) + + +def _physical_rate(step: BDFStep, u: Vector) -> Vector: + adapter = _adapter(step) + old = step.history[0] + rate = step.coefficients[0] * adapter.physical_increment(u, old.problem, old.u) / step.dt_s + if step.order == 2: + older = step.history[1] + if not isinstance(old.problem, AssembledIonicStorage1D): + raise TypeError("ionic history must retain its storage binding") + rate -= step.coefficients[2] * old.problem.physical_increment(old.u, older.problem, older.u) / step.dt_s + return rate + + +@dataclass(frozen=True) +class _CarrierRateStep(BackwardEuler1DStep): + """Readout-only view with the complete BDF carrier inventory rate.""" + + physical_rate: np.ndarray + + def inventory_rate_m2_s(self, u: np.ndarray) -> np.ndarray: + return self.physical_rate + + +@dataclass(frozen=True) +class _AccountingStep: + """Supply canonical BDF rates to the unchanged BE flux/charge readers.""" + + step: BDFStep + be: IonicBEStep + rate: Vector + + @property + def endpoint(self) -> AssembledIonic1DProblem | AssembledMultipleIonic1DProblem: + return self.be.endpoint + + @property + def previous(self) -> IonicState: + return self.be.previous + + @property + def dt_s(self) -> float: + return self.step.dt_s + + @property + def electronic_step(self) -> _CarrierRateStep: + original = self.be.electronic_step + n = self.endpoint.device.node_count + return _CarrierRateStep(cast(DC1DProblem, original.endpoint), cast(State1D, original.previous), + self.dt_s, self.rate[n:3 * n].reshape(2, n)) + + def inventory_rates_m2_s(self, u: Vector) -> Any: + device = self.endpoint.device + n = device.node_count + if isinstance(device, CompiledIonicDevice1D): + ions: Any = tuple(self.rate[block] for block in device.ion_species_slices) + else: + ions = {name: {species: self.rate[block] for species, block in blocks.items()} + for name, blocks in device.ion_species_slices.items()} + return self.rate[n:3 * n].reshape(2, n), ions + + def residual(self, u: Vector) -> Vector: + return self.step.residual(u) + + +def _domains(device: IonicDevice) -> tuple[tuple[CompiledIonicDevice1D, dict[str, slice]], ...]: + if isinstance(device, CompiledIonicDevice1D): + return ((device, dict(zip(device.ion_species_names, device.ion_species_slices))),) + return tuple((domain, dict(device.ion_species_slices[domain.domain_layer_id])) for domain in device.domains) + + +def _electrostatic(adapter: AssembledIonicStorage1D, u: Vector) -> tuple[Vector, Vector, Vector]: + device = adapter.device + state = device.state(u, voltage_V=adapter.voltage_V) + e = state.electronic_state + if isinstance(device, CompiledIonicDevice1D): + assert isinstance(state, IonicState1D) + ledger = device.charge_ledger(e.electron_density_m3, e.hole_density_m3, + state.positive_ion_density_m3, + state.negative_ion_density_m3 if device.ion_species_count == 2 else None) + else: + populations = device.fields_by_domain(u, voltage_V=adapter.voltage_V)[3] + ledger = device.charge_ledger(e.electron_density_m3, e.hole_density_m3, populations) + geometry, poisson = device.electronic_component.geometry, device.electronic_component.poisson + rho = ledger.space_charge_C_m3() + interior = poisson.face_displacement(e.potential_V) + ports = contact_displacement(interior, rho, geometry.cell_measures_m) + return e.potential_V, np.r_[ports[0], interior, ports[1]], rho * geometry.cell_measures_m + + +def _domain_records(device: IonicDevice, data: dict[str, Any]) -> dict[str, Any]: + if isinstance(device, CompiledMultipleIonicDevice1D): + return cast(dict[str, Any], data["domains"]) + names = data.get("ion_species", {"positive": data}) + records = {} + for species in device.ion_species_names: + values = names[species] + records[species] = { + "inventory_m2": values["ion_inventory_m2"], + "inventory_rate_m2_s": values["ion_inventory_rate_m2_s"], + "balance_m2_s": values["ion_balance_m2_s"], + "balance_l1_m2_s": math.fsum(abs(np.asarray(values["ion_balance_m2_s"])).tolist()), + "domain_flux_m2_s": np.r_[0.0, values["ion_domain_fluxes_m2_s"], 0.0], + } + return {device.domain_layer_id: {"species": records, + "electrical_node_indices": device.ion_node_indices, + "physical_weights_m": device.ion_geometry.cell_measures_m}} + + +def assembled_ionic_bdf_accounting(step: BDFStep, u: Vector) -> dict[str, Any]: + """Original BE readouts at order one; full coefficient-consistent BDF2.""" + adapter, be = _adapter(step), _be(step) + device = adapter.device + original = dict(be.accounting(u)) + if step.order == 1: + original["domains"] = _domain_records(device, original) + return original + rate = _physical_rate(step, u) + view = _AccountingStep(step, be, rate) + data = dict(ionic_step_accounting(cast(IonicBackwardEuler1DStep, view), u) + if isinstance(be, AssembledIonicBackwardEuler1DStep) + else multiple_ionic_step_accounting(cast(MultipleIonicBackwardEuler1DStep, view), u)) + domains = _domain_records(device, data) + old, older = step.history[:2] + assert isinstance(old.problem, AssembledIonicStorage1D) + assert isinstance(older.problem, AssembledIonicStorage1D) + coefficients, h = step.coefficients, step.dt_s + new_s, old_s, older_s = adapter.physical_storage(u), old.problem.physical_storage(old.u), older.problem.physical_storage(older.u) + rounded_rate = (coefficients[0] * (new_s - old_s) - coefficients[2] * (old_s - older_s)) / h + actual_increment = adapter.physical_increment(u, old.problem, old.u) + ion_balance = np.zeros(device.node_count) + for domain, blocks in _domains(device): + for species, block in blocks.items(): + record = domains[domain.domain_layer_id]["species"][species] + sign = 1.0 if species == "positive" else -1.0 + ion_balance[domain.ion_node_indices] += sign * np.asarray(record["balance_m2_s"]) + record.update(inventory_rate_m2_s=rate[block], rounded_inventory_rate_m2_s=rounded_rate[block], + inventory_readback_error_m2_s=rate[block] - rounded_rate[block], + physical_inventory_increment_m2=actual_increment[block], + bdf_weighted_inventory_increment_m2=h * rate[block], + native_BDF_rows_m2_s=step.residual(u)[block]) + if isinstance(device, CompiledMultipleIonicDevice1D): + record["native_BE_rows_m2_s"] = original["domains"][domain.domain_layer_id]["species"][species]["native_BE_rows_m2_s"] + else: + named = data.get("ion_species", {"positive": data})[species] + named["rounded_ion_inventory_rate_m2_s"] = rounded_rate[block] + named["ion_inventory_readback_error_m2_s"] = rate[block] - rounded_rate[block] + phi, displacement, charge = _electrostatic(adapter, u) + old_phi, old_d, old_charge = _electrostatic(old.problem, old.u) + older_phi, older_d, older_charge = _electrostatic(older.problem, older.u) + phi_rate = (coefficients[0] * (phi - old_phi) - coefficients[2] * (old_phi - older_phi)) / h + interior = -device.electronic_component.poisson.face_capacitance_F_m2 * np.diff(phi_rate) + charge_rate = np.asarray(data["charge_inventory_rate_A_m2"]) + displacement_rate = np.r_[interior[0] - charge_rate[0], interior, interior[-1] + charge_rate[-1]] + rounded_d_rate = (coefficients[0] * (displacement - old_d) - coefficients[2] * (old_d - older_d)) / h + rounded_charge_rate = (coefficients[0] * (charge - old_charge) - coefficients[2] * (old_charge - older_charge)) / h + d_error, q_error = displacement_rate - rounded_d_rate, charge_rate - rounded_charge_rate + gauss = displacement_rate[:-1] - displacement_rate[1:] + charge_rate + rounded_gauss = rounded_d_rate[:-1] - rounded_d_rate[1:] + rounded_charge_rate + carrier_balance = np.asarray(data["carrier_balance_m2_s"]) + defect = Q * (carrier_balance[1] - carrier_balance[0] + ion_balance) + current = np.asarray(data["conduction_current_density_A_m2"]) + displacement_rate + jump = current[:-1] - current[1:] + data.update(domains=domains, bdf_order=2, bdf_coefficients=coefficients, bdf_residual=step.residual(u), + backward_euler_comparison=original, backward_euler_residual=original["backward_euler_residual"], + bdf_physical_inventory_rate_m2_s=rate, bdf_rounded_inventory_rate_m2_s=rounded_rate, + carrier_inventory_rate_m2_s=rate[device.node_count:3 * device.node_count].reshape(2, device.node_count), + rounded_carrier_inventory_rate_m2_s=rounded_rate[device.node_count:3 * device.node_count].reshape(2, device.node_count), + carrier_inventory_readback_error_m2_s=(rate - rounded_rate)[device.node_count:3 * device.node_count].reshape(2, device.node_count), + bdf_displacement_rate_A_m2=displacement_rate, bdf_rounded_displacement_rate_A_m2=rounded_d_rate, + bdf_displacement_readback_error_A_m2=d_error, + bdf_weighted_displacement_increment_C_m2=h * displacement_rate, + bdf_actual_physical_inventory_increment_m2=actual_increment, + displacement_C_m2=displacement, charge_inventory_C_m2=charge, + charge_inventory_rate_A_m2=charge_rate, charge_readback_error_A_m2=q_error, + charge_subtraction_roundoff_A_m2=q_error, + interval_displacement_C_m2=original["interval_displacement_C_m2"], + rounded_interval_displacement_C_m2=original["rounded_interval_displacement_C_m2"], + displacement_readback_error_C_m2=original["displacement_readback_error_C_m2"], + displacement_current_density_A_m2=displacement_rate, total_current_density_A_m2=current, + terminal_total_current_density_A_m2=current[[0, -1]], + stable_gauss_defect_rate_A_m2=gauss, rounded_gauss_defect_rate_A_m2=rounded_gauss, + gauss_defect_rate_A_m2=rounded_gauss, + maxwell_cell_jump_A_m2=jump, predicted_maxwell_cell_jump_A_m2=defect + gauss, + readback_predicted_maxwell_cell_jump_A_m2=defect + rounded_gauss + q_error + d_error[:-1] - d_error[1:], + maxwell_identity_error_A_m2=jump - defect - gauss, + readback_maxwell_identity_error_A_m2=jump - defect - rounded_gauss - q_error - d_error[:-1] + d_error[1:], + maxwell_spread_A_m2=float(np.ptp(current))) + if isinstance(device, CompiledIonicDevice1D): + positive = device.ion_species_slices[0] + data["rounded_ion_inventory_rate_m2_s"] = rounded_rate[positive] + data["ion_inventory_readback_error_m2_s"] = rate[positive] - rounded_rate[positive] + return data diff --git a/src/solarlab/solvers/time/assembled_storage.py b/src/solarlab/solvers/time/assembled_storage.py new file mode 100644 index 00000000..28385748 --- /dev/null +++ b/src/solarlab/solvers/time/assembled_storage.py @@ -0,0 +1,170 @@ +"""Thin physical-storage BDF adapter for the unified classical 1D assembly. + +Equation storage has zero algebraic rows. The separate physical readers keep +the boundary-cell inventories needed by conservative interval accounting. +Every value and tangent comes from the bound assembler; no DC problem is +constructed and no storage secant is replaced by coordinate differences. +""" + +from __future__ import annotations + +from dataclasses import dataclass +from typing import TYPE_CHECKING + +from solarlab.equations.assembly.classical_1d import AssembledDC1DProblem +from solarlab.equations.dc_1d import CompiledDevice1D +from solarlab.physics.contacts import CarrierExchangeChannel +from solarlab.physics.recombination.bulk import RecombinationRate +from solarlab.physics.transport.electrochemical_flux import CarrierFaceFluxes +from solarlab.solvers.nonlinear.problem import Matrix, Vector +from solarlab.solvers.time.bdf import StorageProblem + +if TYPE_CHECKING: + # Ion-free transients bind no ionic source; the ionic adapter imports these when used. + from solarlab.equations.assembly.ionic_1d import AssembledIonic1DProblem, AssembledMultipleIonic1DProblem + from solarlab.equations.ionic_1d import CompiledIonicDevice1D + from solarlab.equations.multiple_ionic_1d import CompiledMultipleIonicDevice1D + + +@dataclass(frozen=True) +class AssembledStorage1D: + problem: AssembledDC1DProblem + + def __post_init__(self) -> None: + if not isinstance(self.problem, AssembledDC1DProblem): + raise TypeError("assembled storage requires an AssembledDC1DProblem") + + def residual(self, u: Vector) -> Vector: + return self.problem.residual(u) + + @property + def device(self) -> CompiledDevice1D: + return self.problem.device + + @property + def voltage_V(self) -> float: + return self.problem.voltage_V + + @property + def generation_scale(self) -> float: + return self.problem.generation_scale + + def jacobian(self, u: Vector) -> Matrix: + return self.problem.jacobian(u) + + def storage(self, u: Vector) -> Vector: + return self.problem.storage(u) + + def storage_tangent(self, u: Vector) -> Matrix: + return self.problem.storage_tangent(u) + + def mass_matrix(self, u: Vector) -> Matrix: + """The signed DAE mass M = -S_u, without a second convention.""" + return self.problem.storage_jacobian(u) + + def storage_jacobian(self, u: Vector) -> Matrix: + """Historical BE name for the same signed mass.""" + return self.mass_matrix(u) + + def fluxes(self, u: Vector) -> CarrierFaceFluxes: + return self.problem.fluxes(u) + + def recombination_rate(self, n: Vector, p: Vector, *, derivatives: bool = True) -> RecombinationRate: + """Original BE observation, provided by Architecture's public facade.""" + return self.problem.recombination_rate(n, p, derivatives=derivatives) + + def contact_exchange(self, u: Vector, channel: CarrierExchangeChannel, node: int) -> tuple[float, float]: + return self.problem.contact_exchange(u, channel, node) + + def _contact_exchange(self, u: Vector, channel: CarrierExchangeChannel, node: int) -> tuple[float, float]: + """Map the unchanged BE private name to the assembled public name.""" + return self.contact_exchange(u, channel, node) + + def _previous(self, old_problem: StorageProblem) -> AssembledDC1DProblem: + if not isinstance(old_problem, AssembledStorage1D): + raise TypeError("assembled storage history requires the same adapter") + old = old_problem.problem + if old.binding.identity != self.problem.binding.identity: + raise ValueError("assembled storage history requires the same bound system") + return old + + def storage_increment(self, u: Vector, old_problem: StorageProblem, old_u: Vector) -> Vector: + return self.problem.storage_increment(u, self._previous(old_problem), old_u) + + def physical_storage(self, u: Vector) -> Vector: + return self.problem.binding.assembler.physical_storage(u, self.problem.inputs) + + def physical_increment(self, u: Vector, old_problem: StorageProblem, old_u: Vector) -> Vector: + old = self._previous(old_problem) + return self.problem.binding.assembler.storage_increment( + u, self.problem.inputs, old_u, old.inputs, physical=True) + + +@dataclass(frozen=True) +class AssembledIonicStorage1D: + """The same storage protocol for the original single/multiple-domain rows. + + S is masked on algebraic carrier rows. Physical readers include those + endpoint-cell inventories for current and charge accounting. Independent + and shared-site species retain their bound cancellation-free secants and + domain weights; no domain is collapsed into a total ion inventory. + """ + + problem: AssembledIonic1DProblem | AssembledMultipleIonic1DProblem + + def __post_init__(self) -> None: + from solarlab.equations.assembly.ionic_1d import AssembledIonic1DProblem, AssembledMultipleIonic1DProblem + + if not isinstance(self.problem, (AssembledIonic1DProblem, AssembledMultipleIonic1DProblem)): + raise TypeError("ionic assembled storage requires original-row ionic assembly") + + @property + def device(self) -> CompiledIonicDevice1D | CompiledMultipleIonicDevice1D: + return self.problem.device + + @property + def voltage_V(self) -> float: + return self.problem.voltage_V + + @property + def generation_scale(self) -> float: + return self.problem.generation_scale + + def residual(self, u: Vector) -> Vector: + return self.problem.residual(u) + + def jacobian(self, u: Vector) -> Matrix: + return self.problem.jacobian(u) + + def storage(self, u: Vector) -> Vector: + return self.problem.storage(u) + + def storage_tangent(self, u: Vector) -> Matrix: + return self.problem.storage_tangent(u) + + def mass_matrix(self, u: Vector) -> Matrix: + """The signed DAE mass M = -S_u, as in the electronic bridge.""" + return self.problem.storage_jacobian(u) + + def storage_jacobian(self, u: Vector) -> Matrix: + return self.mass_matrix(u) + + def _previous(self, old_problem: StorageProblem) -> AssembledIonic1DProblem | AssembledMultipleIonic1DProblem: + if not isinstance(old_problem, AssembledIonicStorage1D): + raise TypeError("ionic assembled storage history requires the same adapter") + old = old_problem.problem + if type(old) is not type(self.problem) or old.binding.identity != self.problem.binding.identity: + raise ValueError("ionic assembled history requires the same bound domain system") + return old + + def storage_increment(self, u: Vector, old_problem: StorageProblem, old_u: Vector) -> Vector: + old = self._previous(old_problem) + return self.problem.binding.assembler.storage_increment(u, self.problem.inputs, old_u, old.inputs) + + def physical_storage(self, u: Vector) -> Vector: + return self.problem.binding.assembler.physical_storage(u, self.problem.inputs) + + def physical_increment(self, u: Vector, old_problem: StorageProblem, old_u: Vector) -> Vector: + old = self._previous(old_problem) + return self.problem.binding.assembler.storage_increment( + u, self.problem.inputs, old_u, old.inputs, physical=True) diff --git a/src/solarlab/solvers/time/backward_euler.py b/src/solarlab/solvers/time/backward_euler.py new file mode 100644 index 00000000..aa84f0c4 --- /dev/null +++ b/src/solarlab/solvers/time/backward_euler.py @@ -0,0 +1,232 @@ +"""Physical-inventory backward Euler for the existing ion-free 1D equations. + +For positive carrier inventories S=(0,w*n,w*p), R_BE=F_DC-(S_new-S_old)/dt. +Fixed-reservoir rows have zero equation storage, but their actual endpoint +inventories remain in port accounting. K=F_udot=-dS/du, hence J_BE=J_DC+K/dt. +No coordinate time difference or nonlinear coordinate normalization is used. +""" + +from __future__ import annotations + +from dataclasses import dataclass +import math + +import numpy as np +from scipy.sparse import csc_matrix + +from solarlab.contracts.units import ELEMENTARY_CHARGE_C as Q +from solarlab.equations.dc_1d import CompiledDevice1D, DC1DProblem, State1D +from solarlab.physics.electrostatics import contact_displacement +from solarlab.solvers.nonlinear.production import poisson_row_weights + +__all__ = ["BackwardEuler1DStep", "inventory_m2", "step_accounting", "storage_mask"] + + +def inventory_m2(device: CompiledDevice1D, state: State1D) -> np.ndarray: + """Both physical particle inventories per area, including endpoint cells.""" + if state.device_sha256 != device.identity: + raise ValueError("inventory requires a state from the same compiled device") + return np.stack((state.electron_density_m3, state.hole_density_m3)) * device.geometry.cell_measures_m + + +def storage_mask(device: CompiledDevice1D) -> np.ndarray: + mask: np.ndarray = np.ones((2, device.node_count), dtype=bool) + for species, carrier in enumerate(("n", "p")): + for side, node in (("left", 0), ("right", device.node_count - 1)): + if device.channel(carrier, side).kind == "fixed_reservoir": + mask[species, node] = False + return mask + + +@dataclass(frozen=True) +class BackwardEuler1DStep: + """One physical step with independently bound old/new voltage references.""" + + endpoint: DC1DProblem + previous: State1D + dt_s: float + + def __post_init__(self) -> None: + if not math.isfinite(self.dt_s) or self.dt_s <= 0.0: + raise ValueError("dt_s must be finite and positive") + if self.previous.device_sha256 != self.endpoint.device.identity: + raise ValueError("the old state must belong to this same device") + actual = self.endpoint.device.state(self.previous.u, voltage_V=self.previous.voltage_V) + for name in ("potential_V", "electron_density_m3", "hole_density_m3"): + if not np.array_equal(getattr(actual, name), getattr(self.previous, name)): + raise ValueError("old physical fields disagree with their coordinate reference") + + def inventory_rate_m2_s(self, u: np.ndarray) -> np.ndarray: + """Nonlinear physical inventory secant, evaluated without cancellation. + + For each carrier S_new-S_old = S_old*expm1(log(c_new/c_old)). + expm1 is essential: replacing it by the exponent would instead be + coordinate differencing, which is not backward Euler in inventory. + """ + device = self.endpoint.device + count = device.node_count + values = np.asarray(u, dtype=float) + delta = values - self.previous.u + old_ref = device.carrier_reference_energies(self.previous.voltage_V) + new_ref = device.carrier_reference_energies(self.endpoint.voltage_V) + log_ratio = np.stack(( + (delta[:count] + (new_ref[0] - old_ref[0])) / device.thermal_voltage_V + delta[count:2 * count], + -(delta[:count] + (new_ref[1] - old_ref[1])) / device.thermal_voltage_V - delta[2 * count:], + )) + return inventory_m2(device, self.previous) * np.expm1(log_ratio) / self.dt_s + + def residual(self, u: np.ndarray) -> np.ndarray: + result = self.endpoint.residual(u) + count = self.endpoint.device.node_count + rate = self.inventory_rate_m2_s(u) + rows = result[count:].reshape(2, count) + mask = storage_mask(self.endpoint.device) + rows[mask] -= rate[mask] + return result + + def jacobian(self, u: np.ndarray) -> csc_matrix: + return self.endpoint.jacobian(u) + self.endpoint.storage_jacobian(u) / self.dt_s + + def initial_coordinates( + self, predictor: str = "previous", *, voltage_lift: bool = False, + ) -> np.ndarray: + """Explicit Newton seed; it never changes the old physical inventory. + + generation_inventory adds dt*G_new equally to the two differential + carrier populations, retaining old phi. Transport/recombination are + solved by implicit Newton, not included in this positive source seed. + This is neither an accepted time step nor a steady settling stage. + + voltage_lift additionally imposes the change of electrode potential + through the charge-free harmonic potential profile. Compensating both + carrier coordinates preserves physical populations. It is skipped + exactly at fixed voltage; the default retains the original pure rebase. + """ + device = self.endpoint.device + values = device.rebase_coordinates( + self.previous.u, self.previous.voltage_V, self.endpoint.voltage_V, + ) + if voltage_lift and self.endpoint.voltage_V != self.previous.voltage_V: + count = device.node_count + resistance = 1.0 / device.poisson.face_capacitance_F_m2 + profile = np.r_[0.0, np.cumsum(resistance)] + profile /= profile[-1] + change = -device.voltage_polarity * (self.endpoint.voltage_V - self.previous.voltage_V) + before = values[:count].copy() + values[:count] += change * profile + # Use the represented potential change in the compensating shift. + shift = (values[:count] - before) / device.thermal_voltage_V + values[count:2 * count] -= shift + values[2 * count:] -= shift + if predictor == "previous": + return values + if predictor != "generation_inventory": + raise ValueError("unknown explicit Newton predictor") + increment = self.dt_s * self.endpoint.generation_scale * device.generation.source_m3_s + mask = storage_mask(device) + count = device.node_count + for species, (density, offset, sign) in enumerate(( + (self.previous.electron_density_m3, count, 1.0), + (self.previous.hole_density_m3, 2 * count, -1.0), + )): + addition = np.where(mask[species], increment, 0.0) + values[offset:offset + count] += sign * np.log1p(addition / density) + if not np.all(np.isfinite(values)): + raise ValueError("generation-inventory predictor is nonfinite; no clipping or fallback") + return values + + +def step_accounting(step: BackwardEuler1DStep, u: np.ndarray) -> dict[str, object]: + """Raw conservative diagnostics, never a physical qualification verdict. + +All face currents point along +x, including left/right external faces. Number +inventories are particles/m^2; charge and D are C/m^2; currents are A/m^2. +Fixed-reservoir particle fluxes are reconstructed from physical endpoint +inventory rates, not the overwritten algebraic continuity rows. +""" + problem, old = step.endpoint, step.previous + device, count = problem.device, problem.device.node_count + new = device.state(u, voltage_V=problem.voltage_V) + widths = device.geometry.cell_measures_m + if not np.array_equal(widths[1:-1], device.poisson.interior_widths_m): + raise ValueError("carrier and Gauss interior control volumes must agree") + rate = step.inventory_rate_m2_s(u) + pair_source = widths * (problem.generation_scale * device.generation.source_m3_s + - problem.recombination_rate(new.electron_density_m3, + new.hole_density_m3, + derivatives=False).rate) + internal = problem.fluxes(u) + particles = np.empty((2, count + 1)) + for species, (carrier, flux) in enumerate((("n", internal.electron), ("p", internal.hole))): + particles[species, 1:-1] = flux.flux + for side, node, face, target, sign in ( + ("left", 0, 0, 0, 1.0), ("right", count - 1, -1, -1, -1.0), + ): + channel = device.channel(carrier, side) + if channel.kind == "fixed_reservoir": + exchange = flux.flux[face] + sign * (rate[species, node] - pair_source[node]) + else: + exchange, _ = problem._contact_exchange(u, channel, node) + particles[species, target] = exchange + balance = particles[:, :-1] - particles[:, 1:] + pair_source - rate + conduction = Q * (particles[1] - particles[0]) + + def displacement(state: State1D) -> tuple[np.ndarray, np.ndarray]: + rho = device.charge_ledger(state.electron_density_m3, state.hole_density_m3).space_charge_C_m3() + interior = device.poisson.face_displacement(state.potential_V) + ports = contact_displacement(interior, rho, widths) + return np.r_[ports[0], interior, ports[1]], rho * widths + + old_d, old_charge = displacement(old) + new_d, new_charge = displacement(new) + displacement_current = (new_d - old_d) / step.dt_s + maxwell = conduction + displacement_current + old_gauss = old_d[:-1] - old_d[1:] + old_charge + new_gauss = new_d[:-1] - new_d[1:] + new_charge + gauss_rate = (new_gauss - old_gauss) / step.dt_s + charge_defect = Q * (balance[1] - balance[0]) + # A separately rounded charge-ledger subtraction and the stable physical + # secant can differ by roundoff. Expose it in the identity, never erase it. + charge_subtraction_roundoff = Q * (rate[1] - rate[0]) - (new_charge - old_charge) / step.dt_s + predicted_jump = charge_defect + gauss_rate + charge_subtraction_roundoff + actual_jump = maxwell[:-1] - maxwell[1:] + dc_residual, be_residual = problem.residual(u), step.residual(u) + mask = storage_mask(device) + return { + "physical_certificate_status": "not_evaluated", + "inventory_m2": inventory_m2(device, new), + "inventory_rate_m2_s": rate, + "rounded_inventory_subtraction_rate_m2_s": ( + inventory_m2(device, new) - inventory_m2(device, old)) / step.dt_s, + "inventory_subtraction_roundoff_m2_s": rate - ( + inventory_m2(device, new) - inventory_m2(device, old)) / step.dt_s, + "net_pair_source_m2_s": pair_source, + "particle_fluxes_m2_s": particles, + "carrier_balance_m2_s": balance, + "charge_inventory_C_m2": new_charge, + "charge_inventory_rate_A_m2": Q * (rate[1] - rate[0]), + "charge_subtraction_roundoff_A_m2": charge_subtraction_roundoff, + "conduction_current_density_A_m2": conduction[1:-1], + "displacement_current_density_A_m2": displacement_current[1:-1], + "total_current_density_A_m2": maxwell[1:-1], + "terminal_conduction_current_density_A_m2": conduction[[0, -1]], + "terminal_displacement_current_density_A_m2": displacement_current[[0, -1]], + "terminal_total_current_density_A_m2": maxwell[[0, -1]], + "displacement_C_m2": new_d, + "old_gauss_defect_C_m2": old_gauss, + "gauss_defect_C_m2": new_gauss, + "gauss_defect_rate_A_m2": gauss_rate, + "maxwell_cell_jump_A_m2": actual_jump, + "predicted_maxwell_cell_jump_A_m2": predicted_jump, + "maxwell_identity_error_A_m2": actual_jump - predicted_jump, + "global_particle_balance_m2_s": np.sum(rate, axis=1) - ( + particles[:, 0] - particles[:, -1] + np.sum(pair_source)), + "global_charge_balance_A_m2": float(np.sum(Q * (rate[1] - rate[0])) + - (conduction[0] - conduction[-1])), + "maxwell_spread_A_m2": float(np.ptp(maxwell)), + "continuity_defect_bound_A_m2": float(Q * np.sum(np.abs(be_residual[count:].reshape(2, count)[mask]))), + "poisson_normalized_max": float(np.max(np.abs(dc_residual[:count] * poisson_row_weights(device)))), + "dc_residual": dc_residual, + "backward_euler_residual": be_residual, + "storage_mask": mask, + } diff --git a/src/solarlab/solvers/time/bdf.py b/src/solarlab/solvers/time/bdf.py new file mode 100644 index 00000000..c27827bb --- /dev/null +++ b/src/solarlab/solvers/time/bdf.py @@ -0,0 +1,543 @@ +"""Variable-step classical BDF1/2 in physical equation storage. + +Only F, F_u, S and positive S_u are required. The sign is F-dS/dt=0. +Optional cancellation-safe storage_increment methods are algebraically the +same S difference, never coordinate time differences. Accepted history, +rejected trials, protocol restarts and interpolated samples are distinct. +""" + +from __future__ import annotations + +from collections.abc import Callable +from dataclasses import asdict, dataclass, field, replace +import math +import time +from typing import Any, Protocol + +import numpy as np +from scipy.sparse import csc_matrix, diags, issparse + +from solarlab.contracts import frozen_array +from solarlab.solvers.nonlinear.newton import NewtonResult, NewtonSettings, solve_newton +from solarlab.solvers.nonlinear.problem import CallableProblem, GateOutcome, Matrix, Vector +from solarlab.solvers.time.carrier_seed import DensitySeedContext, recover_density_seed, stagnation_basin_signature + + +class StorageProblem(Protocol): + """Square residual and physical equation storage in caller coordinates.""" + + def residual(self, u: Vector) -> Vector: ... + def jacobian(self, u: Vector) -> Matrix: ... + def storage(self, u: Vector) -> Vector: ... + def storage_tangent(self, u: Vector) -> Matrix: ... + + +class _StartupNewtonRejected(ArithmeticError): + """A returned auxiliary Newton failure rejects a trial, not the history.""" + + +@dataclass(frozen=True) +class BDFOptions: + initial_step_s: float + min_step_s: float = 1e-16 + max_step_s: float = 1e30 + relative_tolerance: float = 1e-4 + absolute_tolerance: float | np.ndarray = 1e-12 + max_order: int = 2 + adaptive: bool = True + safety: float = .8 + min_factor: float = .2 + max_factor: float = 2.0 + max_steps: int = 10000 + max_attempts: int = 20000 + max_consecutive_rejections: int = 12 + wall_s: float = 60.0 + + def __post_init__(self) -> None: + for name in ("initial_step_s", "min_step_s", "max_step_s", "relative_tolerance", "wall_s"): + if not math.isfinite(getattr(self, name)) or getattr(self, name) <= 0: + raise ValueError(name + " must be finite and positive") + if self.min_step_s > self.initial_step_s or self.initial_step_s > self.max_step_s: + raise ValueError("min_step <= initial_step <= max_step is required") + absolute = np.asarray(self.absolute_tolerance, dtype=float) + if absolute.ndim > 1 or not np.all(np.isfinite(absolute)) or np.any(absolute <= 0): + raise ValueError("absolute_tolerance must be positive in physical storage units") + if absolute.ndim == 1: + object.__setattr__(self, "absolute_tolerance", frozen_array(absolute)) + if self.max_order not in (1, 2) or not .1 <= self.safety < 1: + raise ValueError("orders1/2 and a conservative safety factor are required") + if not 0 < self.min_factor < 1 < self.max_factor <= 2: + raise ValueError("step growth is limited to2, below the BDF2 zero-stability ratio") + for name in ("max_steps", "max_attempts", "max_consecutive_rejections"): + if type(getattr(self, name)) is not int or getattr(self, name) < 1: + raise ValueError(name + " must be a positive integer") + + +@dataclass(frozen=True) +class HistoryPoint: + time_s: float + u: Vector + storage_value: Vector + problem: StorageProblem = field(repr=False, compare=False) + + +def storage_increment(problem: StorageProblem, u: Vector, old: HistoryPoint) -> Vector: + """Physical S difference; an adapter may preserve small differences.""" + function = getattr(problem, "storage_increment", None) + value = (function(u, old.problem, old.u) if callable(function) + else problem.storage(u) - old.storage_value) + result = np.asarray(value, dtype=float) + if result.shape != u.shape or not np.all(np.isfinite(result)): + raise ValueError("storage increment must be finite on every equation row") + return result + + +def bdf_coefficients(step_s: float, previous_step_s: float | None, order: int) -> Vector: + if not math.isfinite(step_s) or step_s <= 0: + raise ValueError("positive finite BDF step required") + if order == 1: + return np.array([1.0, -1.0]) + if order != 2 or previous_step_s is None or previous_step_s <= 0: + raise ValueError("BDF2 needs its previous accepted interval") + ratio = step_s / previous_step_s + if not math.isfinite(ratio) or ratio > 2.0 * (1 + 8 * np.finfo(float).eps): + raise ValueError("BDF2 step growth cannot exceed2") + return np.array([(1 + 2 * ratio) / (1 + ratio), -(1 + ratio), ratio**2 / (1 + ratio)]) + + +@dataclass(frozen=True) +class BDFStep: + endpoint: StorageProblem + history: tuple[HistoryPoint, ...] # newest first; rejected states never enter + end_s: float + order: int + + @property + def dt_s(self) -> float: + return self.end_s - self.history[0].time_s + + @property + def coefficients(self) -> Vector: + old_step = None if len(self.history) < 2 else self.history[0].time_s - self.history[1].time_s + return bdf_coefficients(self.dt_s, old_step, self.order) + + def storage_rate(self, u: Vector) -> Vector: + coefficients = self.coefficients + rate = coefficients[0] * storage_increment(self.endpoint, u, self.history[0]) / self.dt_s + if self.order == 2: + old = storage_increment(self.history[0].problem, self.history[0].u, self.history[1]) + rate -= coefficients[2] * old / self.dt_s + return rate + + def residual(self, u: Vector) -> Vector: + value = self.endpoint.residual(u) + rate = self.storage_rate(u) + result = value - rate + tangent = self.endpoint.storage_tangent(u) + if tangent.shape != (u.size, u.size): + raise ValueError("physical storage tangent must match the equation rows") + row_size = (np.asarray(abs(tangent).sum(axis=1)).ravel() if issparse(tangent) + else np.sum(abs(np.asarray(tangent)), axis=1)) + algebraic = (row_size == 0.0) & (rate == 0.0) + # An algebraic row has no physical storage subtraction. Preserve its + # represented value, including -0; nonzero history rates are retained + # even when the current storage tangent happens to vanish. + result[algebraic] = value[algebraic] + return result + + def jacobian(self, u: Vector) -> Matrix: + return self.endpoint.jacobian(u) - self.coefficients[0] * self.endpoint.storage_tangent(u) / self.dt_s + + +@dataclass(frozen=True) +class Assessment: + accounting: dict[str, Any] = field(default_factory=dict) + checks: tuple[GateOutcome, ...] = () + + +@dataclass(frozen=True) +class BDFEvent: + time_s: float + restart: Callable[[StorageProblem, StorageProblem, Vector], tuple[Vector, Assessment]] + name: str = "protocol_discontinuity" + + +@dataclass(frozen=True) +class BDFAttempt: + start_s: float + end_s: float + order: int + coefficients: Vector + accepted: bool + termination: str + initial_coordinates: Vector + candidate_coordinates: Vector + error_norm: float + error_estimate_storage: Vector | None + estimator: str + newton: NewtonResult | None + auxiliary_newton: tuple[NewtonResult, ...] + assessment: Assessment | None + wall_s: float + error: str | None = None + + +@dataclass(frozen=True) +class BDFSample: + time_s: float + u: Vector + storage_value: Vector + interpolant_order: int + accepted_step_endpoint: bool + projection: NewtonResult | None = None + + +@dataclass(frozen=True) +class RestartRecord: + time_s: float + name: str + left_u: Vector + right_u: Vector + left_storage: Vector + right_storage: Vector + assessment: Assessment + accepted: bool + + +@dataclass(frozen=True) +class BDFResult: + initial_time_s: float + initial_u: Vector + final_time_s: float + accepted_times_s: Vector + accepted_coordinates: tuple[Vector, ...] + attempts: tuple[BDFAttempt, ...] + samples: tuple[BDFSample, ...] + restarts: tuple[RestartRecord, ...] + controls: dict[str, Any] + completed: bool + termination: str + wall_s: float + nonlinear_calls: int + evaluation_counts: dict[str, int] + error: str | None = None + requested_output_times_s: Vector | None = None + sample_failure: dict[str, Any] | None = None + physical_certificate_status: str = "not_evaluated" + schema: str = "solarlab.physical_storage_bdf12.v1" + + @property + def accepted_steps(self) -> tuple[BDFAttempt, ...]: + return tuple(item for item in self.attempts if item.accepted) + + @property + def rejected_steps(self) -> tuple[BDFAttempt, ...]: + return tuple(item for item in self.attempts if not item.accepted) + + +def lagrange_weights(nodes: Vector, target: float) -> Vector: + result = np.ones(len(nodes)) + for j in range(len(nodes)): + for k in range(len(nodes)): + if j != k: + result[j] *= (target - nodes[k]) / (nodes[j] - nodes[k]) + return result + + +def _prediction_change(points: tuple[HistoryPoint, ...], target: float) -> Vector: + weights = lagrange_weights(np.array([point.time_s for point in points]), target) + change = np.zeros_like(points[0].u) + for weight, point in zip(weights[1:], points[1:]): + change -= weight * storage_increment(points[0].problem, points[0].u, point) + return change + + +def solve_bdf( + factory: Callable[[float, str], StorageProblem], initial_u: Vector, interval_s: tuple[float, float], *, + options: BDFOptions, settings: Callable[[BDFStep], NewtonSettings], + convergence_norm: Callable[[Vector], float] | None = None, + assess: Callable[[BDFStep, Vector], Assessment] | None = None, + seed: Callable[[BDFStep], Vector] | None = None, + density_seed_context: Callable[[BDFStep, NewtonResult], DensitySeedContext | None] | None = None, + breakpoints_s: tuple[float, ...] = (), events: tuple[BDFEvent, ...] = (), + output_times_s: Vector | None = None, +) -> BDFResult: + """Bounded physical BDF; samples never feed the accepted trajectory. + + Residual/Jacobian counters include projection work; sample_* are subsets. + """ + started = time.monotonic() + start, finish = interval_s + if not math.isfinite(start) or not math.isfinite(finish) or finish <= start: + raise ValueError("finite increasing integration interval required") + u0 = frozen_array(initial_u) + if u0.ndim != 1 or u0.size == 0: + raise ValueError("a complete initial coordinate vector is required") + output = np.array([start, finish]) if output_times_s is None else frozen_array(output_times_s) + if (output.ndim != 1 or np.any(np.diff(output) < 0) or np.any(output < start) or np.any(output > finish)): + raise ValueError("output samples must be ordered within the integration interval") + event_map = {event.time_s: event for event in events} + if len(event_map) != len(events) or any(not start <= t <= finish for t in event_map): + raise ValueError("protocol events must be unique and within the interval") + boundaries = sorted(set((finish, *breakpoints_s, *event_map))) + if any(not math.isfinite(t) or t < start or t > finish for t in boundaries): + raise ValueError("protocol segment breakpoints must lie within the interval") + counts = {"residual": 0, "jacobian": 0, "storage": 0, "assessment": 0, "sample_projection": 0, + "sample_residual": 0, "sample_jacobian": 0} + nonlinear_calls = 0 + density_recoveries: list[dict[str, Any]] = [] + deadline = started + options.wall_s + + def checkpoint() -> None: + if time.monotonic() >= deadline: + raise TimeoutError("BDF whole-history wall budget exhausted") + + def point(t: float, u: Vector, problem: StorageProblem) -> HistoryPoint: + checkpoint() + counts["storage"] += 1 + value = np.asarray(problem.storage(u), dtype=float) + if value.shape != u.shape or not np.all(np.isfinite(value)): + raise ValueError("finite physical storage is required on every equation row") + checkpoint() + return HistoryPoint(t, frozen_array(u), frozen_array(value), problem) + + first = point(start, u0, factory(start, "left" if start in event_map else "right")) + all_points = [first] + history = [first] + attempts: list[BDFAttempt] = [] + restarts: list[RestartRecord] = [] + dense: list[tuple[float, float, tuple[HistoryPoint, ...], int]] = [] + accepted_times, accepted_u = [start], [u0] + t, h, consecutive, next_order = start, options.initial_step_s, 0, 1 + termination, error = "completed", None + + def perform(step: BDFStep, initial: Vector | None = None, *, stage: str = "main") -> NewtonResult: + nonlocal nonlinear_calls + guess = (step.history[0].u.copy() if seed is None else seed(step)) if initial is None else initial + control = settings(step) + def evaluate(kind: str, value: Vector) -> Any: + checkpoint() + counts[kind] += 1 + result = step.residual(value) if kind == "residual" else step.jacobian(value) + checkpoint() + return result + nonlinear_calls += 1 + target = CallableProblem(lambda value: evaluate("residual", value), lambda value: evaluate("jacobian", value)) + original = solve_newton(target, guess, control, convergence_norm=convergence_norm) + if density_seed_context is None or not stagnation_basin_signature(original, control.tolerance): + return original + context = density_seed_context(step, original) + if context is None: + return original + record: dict[str, Any] = {"stage": stage, "start_s": step.history[0].time_s, + "end_s": step.end_s, "order": step.order, "coefficients": frozen_array(step.coefficients)} + density_recoveries.append(record) + try: + return recover_density_seed(target, guess, original, control, + replace(context, checkpoint=checkpoint), record, convergence_norm=convergence_norm) + finally: + retry = int(record.get("retry_attempted", False)) + nonlinear_calls += retry + counts["density_recovery_original_failures"] = counts.get("density_recovery_original_failures", 0) + 1 + counts["density_recovery_retry_calls"] = counts.get("density_recovery_retry_calls", 0) + retry + for kind, value in record.get("seed_work", {}).items(): + key = "density_seed_" + kind + counts[key] = counts.get(key, 0) + value + + def restart(event: BDFEvent) -> bool: + nonlocal history, next_order + old = history[0] + new_problem = factory(t, "right") + right, assessment = event.restart(old.problem, new_problem, old.u.copy()) + new = point(t, right, new_problem) + passed = all(check.passed for check in assessment.checks) + restarts.append(RestartRecord(t, event.name, old.u, new.u, old.storage_value, + new.storage_value, assessment, passed)) + if passed: + history, next_order = [new], 1 + all_points.append(new) + accepted_u[-1] = new.u + return passed + + try: + if start in event_map and not restart(event_map[start]): + raise ValueError("initial protocol restart physical checks failed") + while t < finish: + checkpoint() + if len(accepted_times) - 1 >= options.max_steps or len(attempts) >= options.max_attempts: + termination = "step_budget_exhausted" + break + boundary = next(value for value in boundaries if value > t) + h = min(h, options.max_step_s, boundary - t) + if h < options.min_step_s or t + h == t: + termination = "step_underflow" + break + # Snap only a few representable time ulps, avoiding a spurious + # near-zero last interval from floating-point accumulation. + candidate_end = t + h + time_roundoff = 8 * np.finfo(float).eps * max(abs(boundary), abs(t), h) + end = boundary if boundary - candidate_end <= time_roundoff else candidate_end + h = end - t + order = next_order if len(history) >= 2 else 1 + if order == 2 and h > 2 * (history[0].time_s - history[1].time_s): + order = 1 + endpoint = factory(end, "left" if end in event_map else "right") + step = BDFStep(endpoint, tuple(history[:3]), end, order) + guess = history[0].u.copy() if seed is None else seed(step) + attempt_start = time.monotonic() + newton, assessment, estimate = None, None, None + auxiliary: list[NewtonResult] = [] + estimator, norm, accepted, why, message = "disabled_fixed_step", 0.0, False, "evaluation_error", None + candidate = guess.copy() + selected: HistoryPoint | None = None + try: + newton = perform(step, guess) + candidate = newton.state + checkpoint() + if not newton.accepted: + why = "newton_" + newton.termination.value + else: + counts["assessment"] += 1 + assessment = Assessment() if assess is None else assess(step, candidate) + checkpoint() + if not all(check.passed for check in assessment.checks): + why = "physical_gate_rejected" + else: + if options.adaptive: + if len(history) < order + 1: + estimator = "startup_step_doubling_physical_storage" + middle = t + h / 2 + half = BDFStep(factory(middle, "right"), tuple(history), middle, 1) + a = perform(half, stage="startup_half_1") + auxiliary.append(a) + if not a.accepted: + raise _StartupNewtonRejected("startup error-estimate half step failed") + mid = point(middle, a.state, half.endpoint) + half2 = BDFStep(endpoint, (mid,), end, 1) + b = perform(half2, stage="startup_half_2") + auxiliary.append(b) + if not b.accepted: + raise _StartupNewtonRejected("startup error-estimate second half step failed") + fine = point(end, b.state, endpoint) + estimate = 2 * storage_increment(endpoint, candidate, fine) + else: + estimator = "physical_storage_divided_difference" + change = storage_increment(endpoint, candidate, history[0]) + prediction = _prediction_change(tuple(history[:order + 1]), end) + span = end - history[order].time_s + estimate = (h / (step.coefficients[0] * span)) * (change - prediction) + counts["storage"] += 1 + new_s = np.asarray(endpoint.storage(candidate)) + scale = np.asarray(options.absolute_tolerance) + options.relative_tolerance * np.maximum(abs(new_s), abs(history[0].storage_value)) + if scale.shape not in ((), candidate.shape): + raise ValueError("physical absolute tolerances must match storage rows") + norm = float(np.max(abs(estimate) / scale)) + if not math.isfinite(norm): + raise FloatingPointError("physical BDF error estimate is nonfinite") + accepted = norm <= 1 + why = "accepted" if accepted else "local_error_rejected" + if accepted: + selected = point(end, candidate, endpoint) + except _StartupNewtonRejected as exc: + accepted = False + why = "startup_newton_" + auxiliary[-1].termination.value + message = f"ArithmeticError: {exc}" + except Exception as exc: + accepted = False + why = "wall_budget_exhausted" if isinstance(exc, TimeoutError) else "evaluation_error" + message = f"{type(exc).__name__}: {exc}" + attempts.append(BDFAttempt(t, end, order, step.coefficients, accepted, why, frozen_array(guess), + frozen_array(candidate), norm, None if estimate is None else frozen_array(estimate), estimator, + newton, tuple(auxiliary), assessment, time.monotonic() - attempt_start, message)) + if accepted: + assert selected is not None + new = selected + dense.append((t, end, (new, *tuple(history[:order])), order)) + history.insert(0, new) + history = history[:4] + all_points.append(new) + t = end + accepted_times.append(t) + accepted_u.append(new.u) + consecutive = 0 + next_order = options.max_order if len(history) >= (3 if options.adaptive else 2) else 1 + if t in event_map and not restart(event_map[t]): + termination = "restart_physical_gate_rejected" + break + if options.adaptive: + factor = options.max_factor if norm == 0 else options.safety * norm**(-1 / (order + 1)) + h *= min(options.max_factor, max(options.min_factor, factor)) + else: + h = options.initial_step_s + else: + if why in ("physical_gate_rejected", "evaluation_error", "wall_budget_exhausted") or not options.adaptive: + termination, error = why, message + break + consecutive += 1 + if consecutive > options.max_consecutive_rejections: + termination = "rejection_budget_exhausted" + break + factor = .5 if norm <= 1 else options.safety * norm**(-1 / (order + 1)) + h *= max(options.min_factor, min(.8, factor)) + next_order = 1 if order == 2 else order + except Exception as exc: + termination = "wall_budget_exhausted" if isinstance(exc, TimeoutError) else "evaluation_error" + error = f"{type(exc).__name__}: {exc}" + + samples: list[BDFSample] = [] + sample_failure: dict[str, Any] | None = None + projection: NewtonResult | None = None + if t == finish and termination == "completed": + try: + for target in output: + projection = None + exact = next((p for p in reversed(all_points) if p.time_s == target), None) + if exact is not None: + samples.append(BDFSample(float(target), exact.u, exact.storage_value, 0, True)) + continue + left, right, nodes, order = next(item for item in dense if item[0] < target < item[1]) + problem = factory(float(target), "right") + anchor = nodes[0] + target_delta = _prediction_change(nodes, float(target)) + weights = lagrange_weights(np.array([p.time_s for p in nodes]), float(target)) + guess = sum((weight * p.u for weight, p in zip(weights, nodes)), np.zeros_like(u0)) + tangent = problem.storage_tangent(guess) + tangent_values = tangent.data if issparse(tangent) else np.asarray(tangent) + if tangent.shape != (len(u0), len(u0)) or not np.all(np.isfinite(tangent_values)): + raise ValueError("sample physical storage tangent is nonfinite or has the wrong shape") + mask = (np.asarray(abs(tangent).sum(axis=1)).ravel() > 0 if issparse(tangent) + else np.any(np.asarray(tangent) != 0, axis=1)) + h_sample = right - left + def sample_residual(value: Vector) -> Vector: + checkpoint() + counts["residual"] += 1 + counts["sample_residual"] += 1 + base = problem.residual(value) + delta = storage_increment(problem, value, anchor) + return np.where(mask, (target_delta - delta) / h_sample, base) + def sample_jacobian(value: Vector) -> Matrix: + checkpoint() + counts["jacobian"] += 1 + counts["sample_jacobian"] += 1 + return (diags((~mask).astype(np.float64)) @ csc_matrix(problem.jacobian(value)) + - diags(mask.astype(np.float64)) @ csc_matrix(problem.storage_tangent(value)) / h_sample) + control = settings(BDFStep(problem, (anchor,), float(target) + h_sample, 1)) + nonlinear_calls += 1 + counts["sample_projection"] += 1 + projection = solve_newton(CallableProblem(sample_residual, sample_jacobian), guess, + control, convergence_norm=convergence_norm) + if not projection.accepted: + raise ArithmeticError("storage-interpolant sample projection failed: " + projection.termination.value) + sampled = point(float(target), projection.state, problem) + samples.append(BDFSample(float(target), sampled.u, sampled.storage_value, order, False, projection)) + except Exception as exc: + termination, error = "sample_projection_failed", f"{type(exc).__name__}: {exc}" + sample_failure = {"time_s": float(target), "newton": projection, "error": error, + "accepted_sample_prefix": len(samples)} + controls = asdict(options) + if density_recoveries: + controls["density_seed_recoveries"] = tuple(density_recoveries) + return BDFResult(start, u0, finish, frozen_array(accepted_times), tuple(accepted_u), tuple(attempts), + tuple(samples), tuple(restarts), controls, t == finish and termination == "completed", + termination, time.monotonic() - started, nonlinear_calls, counts, error, + requested_output_times_s=output, sample_failure=sample_failure) diff --git a/src/solarlab/solvers/time/bdf_1d.py b/src/solarlab/solvers/time/bdf_1d.py new file mode 100644 index 00000000..737828ae --- /dev/null +++ b/src/solarlab/solvers/time/bdf_1d.py @@ -0,0 +1,398 @@ +"""Opt-in electronic/single-positive-ion adapters for physical-storage BDF. + +All constitutive laws, admission controls and Newton row/step policies come +from the unchanged BE paths. Order1 uses their exact accounting implementation. +Order2 combines physical secants and the corresponding displacement derivative. +""" + +from __future__ import annotations + +from dataclasses import dataclass +import math +from typing import Any, Protocol, cast + +import numpy as np + +from solarlab.contracts import frozen_array +from solarlab.contracts.units import ELEMENTARY_CHARGE_C as Q +from solarlab.physics.electrostatics import contact_displacement +from solarlab.equations.assembly.classical_1d import AssembledDC1DProblem +from solarlab.equations.assembly.ionic_1d import AssembledIonic1DProblem +from solarlab.equations.dc_1d import DC1DProblem +from solarlab.equations.ionic_1d import Ionic1DProblem +from solarlab.solvers.nonlinear.problem import Matrix, Vector +from solarlab.solvers.time.assembled_ionic_backward_euler import AssembledIonicBackwardEuler1DStep +from solarlab.solvers.time.assembled_storage import AssembledIonicStorage1D, AssembledStorage1D +from solarlab.solvers.time.backward_euler import BackwardEuler1DStep, storage_mask, inventory_m2, step_accounting +from solarlab.solvers.time.ionic_backward_euler import ( + IonicBackwardEuler1DStep, step_accounting as ionic_accounting, +) +from solarlab.solvers.time.bdf import ( + BDFStep, HistoryPoint, StorageProblem, +) + + +class BDFProtocol(Protocol): + """Read-only drive arrays, without dependence on an experiment value type.""" + + @property + def times_s(self) -> Vector: ... + + @property + def voltage_V(self) -> Vector: ... + + @property + def generation_scale(self) -> Vector: ... + + +@dataclass(frozen=True) +class BDFDrive: + """Separate protocol knots and left/right voltage/generation values. + + Between knots interpolate from right[i] to left[i+1]. Unequal left/right + values at a knot declare a discontinuity and trigger a consistent restart. + Output samples are supplied independently through TransientProtocol.times_s. + """ + + times_s: Vector + left_values: np.ndarray # (knots,2): voltage[V], generation scale + right_values: np.ndarray + + def __post_init__(self) -> None: + for name in ("times_s", "left_values", "right_values"): + if np.iscomplexobj(getattr(self, name)): + raise ValueError("protocol values must be real") + object.__setattr__(self, name, frozen_array(getattr(self, name))) + if (self.times_s.ndim != 1 or len(self.times_s) < 2 or np.any(np.diff(self.times_s) <= 0) + or self.left_values.shape != (len(self.times_s), 2) or self.right_values.shape != self.left_values.shape + or np.any(self.left_values[:, 1] < 0) or np.any(self.right_values[:, 1] < 0)): + raise ValueError("ordered protocol knots and matched nonnegative generation values required") + + @classmethod + def from_protocol(cls, protocol: BDFProtocol) -> BDFDrive: + values = np.column_stack((protocol.voltage_V, protocol.generation_scale)) + return cls(protocol.times_s, values, values) + + def values(self, t: float, side: str = "right") -> tuple[float, float]: + exact = np.flatnonzero(self.times_s == t) + if exact.size: + data = self.left_values if side == "left" else self.right_values + return float(data[exact[0], 0]), float(data[exact[0], 1]) + index = int(np.searchsorted(self.times_s, t)) - 1 + if index < 0 or index >= len(self.times_s) - 1: + raise ValueError("drive evaluation outside its declared protocol") + fraction = (t - self.times_s[index]) / (self.times_s[index + 1] - self.times_s[index]) + value = self.right_values[index] + fraction * (self.left_values[index + 1] - self.right_values[index]) + return float(value[0]), float(value[1]) + + @property + def slope_breakpoints_s(self) -> tuple[float, ...]: + """Continuous protocol knots with different adjacent segment slopes.""" + slopes = (self.left_values[1:] - self.right_values[:-1]) / np.diff(self.times_s)[:, None] + return tuple(float(self.times_s[index]) for index in range(1, len(self.times_s) - 1) + if np.array_equal(self.left_values[index], self.right_values[index]) + and not np.array_equal(slopes[index - 1], slopes[index])) + + +@dataclass(frozen=True) +class ElectronicStorage1D: + problem: DC1DProblem | AssembledDC1DProblem + + def residual(self, u: Vector) -> Vector: + return self.problem.residual(u) + + def jacobian(self, u: Vector) -> Matrix: + return self.problem.jacobian(u) + + def physical_storage(self, u: Vector) -> Vector: + if isinstance(self.problem, AssembledDC1DProblem): + return AssembledStorage1D(self.problem).physical_storage(u) + device = self.problem.device + state = device.state(u, voltage_V=self.problem.voltage_V) + return np.r_[np.zeros(device.node_count), inventory_m2(device, state).ravel()] + + def storage(self, u: Vector) -> Vector: + if isinstance(self.problem, AssembledDC1DProblem): + return self.problem.storage(u) + result = self.physical_storage(u) + result[self.problem.device.node_count:] *= storage_mask(self.problem.device).ravel() + return result + + def storage_tangent(self, u: Vector) -> Matrix: + if isinstance(self.problem, AssembledDC1DProblem): + return self.problem.storage_tangent(u) + return -self.problem.storage_jacobian(u) + + def physical_increment(self, u: Vector, old: ElectronicStorage1D, old_u: Vector) -> Vector: + if isinstance(self.problem, AssembledDC1DProblem) != isinstance(old.problem, AssembledDC1DProblem): + raise ValueError("electronic BDF history must retain its equation implementation") + if isinstance(self.problem, AssembledDC1DProblem): + assert isinstance(old.problem, AssembledDC1DProblem) + return AssembledStorage1D(self.problem).physical_increment(u, AssembledStorage1D(old.problem), old_u) + state = old.problem.device.state(old_u, voltage_V=old.problem.voltage_V) + change = BackwardEuler1DStep(self.problem, state, 1.0).inventory_rate_m2_s(u) + return np.r_[np.zeros(self.problem.device.node_count), change.ravel()] + + def storage_increment(self, u: Vector, old_problem: StorageProblem, old_u: Vector) -> Vector: + if not isinstance(old_problem, ElectronicStorage1D): + raise ValueError("electronic BDF history must keep its original reference problem") + if isinstance(self.problem, AssembledDC1DProblem): + if not isinstance(old_problem.problem, AssembledDC1DProblem): + raise ValueError("electronic BDF history must retain its equation implementation") + return AssembledStorage1D(self.problem).storage_increment( + u, AssembledStorage1D(old_problem.problem), old_u) + change = self.physical_increment(u, old_problem, old_u) + change[self.problem.device.node_count:] *= storage_mask(self.problem.device).ravel() + return change + + +@dataclass(frozen=True) +class IonicStorage1D: + problem: Ionic1DProblem | AssembledIonic1DProblem + + def __post_init__(self) -> None: + if self.problem.device.ion_species_count != 1: + raise ValueError("this BDF adapter supports exactly one positive ion population; dual/shared-site is unadmitted") + + @property + def electronic(self) -> ElectronicStorage1D: + return ElectronicStorage1D(self.problem.electronic_problem) + + def residual(self, u: Vector) -> Vector: + return self.problem.residual(u) + + def jacobian(self, u: Vector) -> Matrix: + return self.problem.jacobian(u) + + def physical_storage(self, u: Vector) -> Vector: + if isinstance(self.problem, AssembledIonic1DProblem): + return AssembledIonicStorage1D(self.problem).physical_storage(u) + device = self.problem.device + state = device.state(u, voltage_V=self.problem.voltage_V) + return np.r_[self.electronic.physical_storage(u[:3 * device.node_count]), + device.ion_geometry.cell_measures_m * state.positive_ion_density_m3] + + def storage(self, u: Vector) -> Vector: + if isinstance(self.problem, AssembledIonic1DProblem): + return self.problem.storage(u) + device = self.problem.device + state = device.state(u, voltage_V=self.problem.voltage_V) + return np.r_[self.electronic.storage(u[:3 * device.node_count]), + device.ion_geometry.cell_measures_m * state.positive_ion_density_m3] + + def storage_tangent(self, u: Vector) -> Matrix: + if isinstance(self.problem, AssembledIonic1DProblem): + return self.problem.storage_tangent(u) + return -self.problem.storage_jacobian(u) + + def physical_increment(self, u: Vector, old: IonicStorage1D, old_u: Vector) -> Vector: + if isinstance(self.problem, AssembledIonic1DProblem) != isinstance(old.problem, AssembledIonic1DProblem): + raise ValueError("ionic BDF history must retain its equation implementation") + if isinstance(self.problem, AssembledIonic1DProblem): + assert isinstance(old.problem, AssembledIonic1DProblem) + return AssembledIonicStorage1D(self.problem).physical_increment( + u, AssembledIonicStorage1D(old.problem), old_u) + state = old.problem.device.state(old_u, voltage_V=old.problem.voltage_V) + carrier, ion = IonicBackwardEuler1DStep(self.problem, state, 1.0).inventory_rate_m2_s(u) + return np.r_[np.zeros(self.problem.device.node_count), carrier.ravel(), ion] + + def storage_increment(self, u: Vector, old_problem: StorageProblem, old_u: Vector) -> Vector: + if not isinstance(old_problem, IonicStorage1D): + raise ValueError("ionic BDF history must keep its original physical reference") + if isinstance(self.problem, AssembledIonic1DProblem): + if not isinstance(old_problem.problem, AssembledIonic1DProblem): + raise ValueError("ionic BDF history must retain its equation implementation") + return AssembledIonicStorage1D(self.problem).storage_increment( + u, AssembledIonicStorage1D(old_problem.problem), old_u) + change = self.physical_increment(u, old_problem, old_u) + count = self.problem.device.node_count + change[count:3 * count] *= storage_mask(self.problem.device.electronic_component).ravel() + return change + + +def _be_step(step: BDFStep) -> BackwardEuler1DStep | IonicBackwardEuler1DStep | AssembledIonicBackwardEuler1DStep: + new, old = step.endpoint, step.history[0] + if isinstance(new, ElectronicStorage1D) and isinstance(old.problem, ElectronicStorage1D): + endpoint = AssembledStorage1D(new.problem) if isinstance(new.problem, AssembledDC1DProblem) else new.problem + return BackwardEuler1DStep(cast(DC1DProblem, endpoint), old.problem.problem.device.state(old.u, + voltage_V=old.problem.problem.voltage_V), step.dt_s) + if isinstance(new, IonicStorage1D) and isinstance(old.problem, IonicStorage1D): + if isinstance(new.problem, AssembledIonic1DProblem): + return AssembledIonicBackwardEuler1DStep(new.problem, old.problem.problem.device.state(old.u, + voltage_V=old.problem.problem.voltage_V), step.dt_s) + return IonicBackwardEuler1DStep(new.problem, old.problem.problem.device.state(old.u, + voltage_V=old.problem.problem.voltage_V), step.dt_s) + raise TypeError("matched electronic or single-ion BDF history required") + + +def bdf_seed(step: BDFStep, predictor: str, *, voltage_lift: bool) -> Vector: + """Read the matched BE seed without changing its predictor or arithmetic.""" + return _be_step(step).initial_coordinates(predictor, voltage_lift=voltage_lift) + + +def _full_increment(new: ElectronicStorage1D | IonicStorage1D, u: Vector, + old: StorageProblem, old_u: Vector) -> Vector: + if isinstance(new, ElectronicStorage1D) and isinstance(old, ElectronicStorage1D): + return new.physical_increment(u, old, old_u) + if isinstance(new, IonicStorage1D) and isinstance(old, IonicStorage1D): + return new.physical_increment(u, old, old_u) + raise ValueError("physical inventory history must keep the same adapter kind") + + +def _potential(adapter: ElectronicStorage1D | IonicStorage1D, u: Vector) -> Vector: + if isinstance(adapter, ElectronicStorage1D): + return adapter.problem.device.state(u, voltage_V=adapter.problem.voltage_V).potential_V + return adapter.problem.device.state(u, voltage_V=adapter.problem.voltage_V).electronic_state.potential_V + + +def _displacement(adapter: ElectronicStorage1D | IonicStorage1D, u: Vector) -> tuple[Vector, Vector]: + if isinstance(adapter, ElectronicStorage1D): + state = adapter.problem.device.state(u, voltage_V=adapter.problem.voltage_V) + device = adapter.problem.device + rho = device.charge_ledger(state.electron_density_m3, state.hole_density_m3).space_charge_C_m3() + else: + state_i = adapter.problem.device.state(u, voltage_V=adapter.problem.voltage_V) + state = state_i.electronic_state + device = adapter.problem.device.electronic_component + rho = adapter.problem.device.charge_ledger(state.electron_density_m3, state.hole_density_m3, + state_i.positive_ion_density_m3).space_charge_C_m3() + inner = device.poisson.face_displacement(state.potential_V) + ports = contact_displacement(inner, rho, device.geometry.cell_measures_m) + return np.r_[ports[0], inner, ports[1]], rho * device.geometry.cell_measures_m + + +def bdf_accounting(step: BDFStep, u: Vector) -> dict[str, Any]: + """Original order1 readout, or full coefficient-consistent BDF2 accounting.""" + be = _be_step(step) + data: dict[str, Any] = dict(step_accounting(be, u) if isinstance(be, BackwardEuler1DStep) + else ionic_accounting(cast(IonicBackwardEuler1DStep, be), u)) + if step.order == 1: + return data + be_comparison = dict(data) + adapter = step.endpoint + assert isinstance(adapter, (ElectronicStorage1D, IonicStorage1D)) + previous = step.history[0] + older = step.history[1] + assert isinstance(previous.problem, type(adapter)) and isinstance(older.problem, type(adapter)) + coefficient = step.coefficients + rate = coefficient[0] * _full_increment(adapter, u, previous.problem, previous.u) / step.dt_s + rate -= coefficient[2] * _full_increment(previous.problem, previous.u, older.problem, older.u) / step.dt_s + new_inventory = adapter.physical_storage(u) + previous_inventory = previous.problem.physical_storage(previous.u) + older_inventory = older.problem.physical_storage(older.u) + rounded_rate = (coefficient[0] * (new_inventory - previous_inventory) + - coefficient[2] * (previous_inventory - older_inventory)) / step.dt_s + ionic = isinstance(adapter, IonicStorage1D) + if isinstance(adapter, IonicStorage1D): + device = adapter.problem.device.electronic_component + else: + device = adapter.problem.device + count = device.node_count + carrier_rate = rate[count:3 * count].reshape(2, count) + if ionic: + assert isinstance(adapter, IonicStorage1D) + assert isinstance(be, (IonicBackwardEuler1DStep, AssembledIonicBackwardEuler1DStep)) + electronic_data = step_accounting(be.electronic_step, u[:3 * count]) + old_rate = np.asarray(data["carrier_inventory_rate_m2_s"]) + particles = np.array(data["carrier_particle_fluxes_m2_s"], copy=True) + else: + electronic_data = data + old_rate = np.asarray(data["inventory_rate_m2_s"]) + particles = np.array(data["particle_fluxes_m2_s"], copy=True) + for species, carrier in enumerate(("n", "p")): + if device.channel(carrier, "left").kind == "fixed_reservoir": + particles[species, 0] += carrier_rate[species, 0] - old_rate[species, 0] + if device.channel(carrier, "right").kind == "fixed_reservoir": + particles[species, -1] -= carrier_rate[species, -1] - old_rate[species, -1] + pair_source = np.asarray(electronic_data["net_pair_source_m2_s"]) + carrier_balance = particles[:, :-1] - particles[:, 1:] + pair_source - carrier_rate + conduction = Q * (particles[1] - particles[0]) + charge_rate = Q * (carrier_rate[1] - carrier_rate[0]) + charge_defect = Q * (carrier_balance[1] - carrier_balance[0]) + if ionic: + assert isinstance(adapter, IonicStorage1D) + ion_rate = rate[3 * count:] + ion_flux = np.asarray(data["ion_domain_fluxes_m2_s"]) + ion_balance = -np.diff(np.r_[0.0, ion_flux, 0.0]) - ion_rate + indices = adapter.problem.device.ion_node_indices + charge_rate[indices] += Q * ion_rate + charge_defect[indices] += Q * ion_balance + conduction += np.asarray(data["ion_conduction_current_density_A_m2"]) + data.update(ion_inventory_rate_m2_s=ion_rate, ion_balance_m2_s=ion_balance, + global_ion_inventory_rate_m2_s=math.fsum(ion_rate.tolist()), + global_ion_balance_m2_s=math.fsum(ion_balance.tolist()), + carrier_inventory_rate_m2_s=carrier_rate, carrier_particle_fluxes_m2_s=particles, + rounded_ion_inventory_rate_m2_s=rounded_rate[3 * count:], + ion_inventory_readback_error_m2_s=ion_rate - rounded_rate[3 * count:], + rounded_carrier_inventory_rate_m2_s=rounded_rate[count:3 * count].reshape(2, count), + carrier_inventory_readback_error_m2_s=carrier_rate - rounded_rate[count:3 * count].reshape(2, count), + carrier_conduction_current_density_A_m2=Q * (particles[1] - particles[0])) + else: + data.update(inventory_rate_m2_s=carrier_rate, particle_fluxes_m2_s=particles, + rounded_inventory_subtraction_rate_m2_s=rounded_rate[count:].reshape(2, count), + inventory_subtraction_roundoff_m2_s=carrier_rate - rounded_rate[count:].reshape(2, count)) + def phi(point: HistoryPoint) -> Vector: + a = point.problem + assert isinstance(a, (ElectronicStorage1D, IonicStorage1D)) + return _potential(a, point.u) + new_phi = _potential(adapter, u) + phi_rate = (coefficient[0] * (new_phi - phi(previous)) + - coefficient[2] * (phi(previous) - phi(older))) / step.dt_s + interior = -device.poisson.face_capacitance_F_m2 * np.diff(phi_rate) + displacement_rate = np.r_[interior[0] - charge_rate[0], interior, interior[-1] + charge_rate[-1]] + current = conduction + displacement_rate + gauss_rate = displacement_rate[:-1] - displacement_rate[1:] + charge_rate + new_d, new_charge = _displacement(adapter, u) + previous_d, previous_charge = _displacement(previous.problem, previous.u) + older_d, older_charge = _displacement(older.problem, older.u) + rounded_displacement_rate = (coefficient[0] * (new_d - previous_d) + - coefficient[2] * (previous_d - older_d)) / step.dt_s + rounded_charge_rate = (coefficient[0] * (new_charge - previous_charge) + - coefficient[2] * (previous_charge - older_charge)) / step.dt_s + displacement_roundoff = displacement_rate - rounded_displacement_rate + charge_roundoff = charge_rate - rounded_charge_rate + rounded_gauss_rate = rounded_displacement_rate[:-1] - rounded_displacement_rate[1:] + rounded_charge_rate + jump = current[:-1] - current[1:] + residual = step.residual(u) + mask = storage_mask(device) + continuity = Q * float(np.sum(abs(residual[count:3 * count].reshape(2, count)[mask]))) + if ionic: + continuity += Q * math.fsum(abs(residual[3 * count:]).tolist()) + data.update(bdf_order=2, bdf_coefficients=coefficient, bdf_residual=residual, + backward_euler_comparison=be_comparison, + bdf_physical_inventory_rate=rate, carrier_balance_m2_s=carrier_balance, + bdf_rounded_inventory_rate=rounded_rate, displacement_C_m2=new_d, charge_inventory_C_m2=new_charge, + charge_inventory_rate_A_m2=charge_rate, bdf_displacement_rate_A_m2=displacement_rate, + charge_subtraction_roundoff_A_m2=charge_roundoff, + bdf_rounded_displacement_rate_A_m2=rounded_displacement_rate, + bdf_displacement_readback_error_A_m2=displacement_roundoff, + actual_endpoint_displacement_increment_C_m2=new_d - previous_d, + bdf_weighted_displacement_increment_C_m2=step.dt_s * displacement_rate, + bdf_weighted_rounded_displacement_increment_C_m2=step.dt_s * rounded_displacement_rate, + bdf_weighted_displacement_readback_error_C_m2=step.dt_s * displacement_roundoff, + bdf_conduction_current_A_m2=conduction, bdf_total_current_A_m2=current, + terminal_total_current_density_A_m2=current[[0, -1]], + stable_gauss_defect_rate_A_m2=gauss_rate, gauss_defect_rate_A_m2=rounded_gauss_rate, + maxwell_cell_jump_A_m2=jump, + predicted_maxwell_cell_jump_A_m2=charge_defect + gauss_rate, + maxwell_identity_error_A_m2=jump - charge_defect - gauss_rate, + readback_predicted_maxwell_cell_jump_A_m2=charge_defect + rounded_gauss_rate + charge_roundoff + + displacement_roundoff[:-1] - displacement_roundoff[1:], + readback_maxwell_identity_error_A_m2=jump - charge_defect - rounded_gauss_rate - charge_roundoff + - displacement_roundoff[:-1] + displacement_roundoff[1:], + maxwell_spread_A_m2=float(np.ptp(current)), continuity_defect_bound_A_m2=continuity, + global_particle_balance_m2_s=np.sum(carrier_rate, axis=1) - (particles[:, 0] - particles[:, -1] + np.sum(pair_source)), + global_charge_balance_A_m2=float(np.sum(charge_rate) - (conduction[0] - conduction[-1]))) + if ionic: + data.update(conduction_current_density_A_m2=conduction, displacement_current_density_A_m2=displacement_rate, + total_current_density_A_m2=current, + interval_displacement_C_m2=be_comparison["interval_displacement_C_m2"], + rounded_interval_displacement_C_m2=be_comparison["rounded_interval_displacement_C_m2"], + displacement_readback_error_C_m2=be_comparison["displacement_readback_error_C_m2"]) + else: + data.update(conduction_current_density_A_m2=conduction[1:-1], + displacement_current_density_A_m2=displacement_rate[1:-1], + total_current_density_A_m2=current[1:-1], + terminal_conduction_current_density_A_m2=conduction[[0, -1]], + terminal_displacement_current_density_A_m2=displacement_rate[[0, -1]]) + return data diff --git a/src/solarlab/solvers/time/carrier_seed.py b/src/solarlab/solvers/time/carrier_seed.py new file mode 100644 index 00000000..ebda91d5 --- /dev/null +++ b/src/solarlab/solvers/time/carrier_seed.py @@ -0,0 +1,197 @@ +"""Unwired N proposal: a physical-density seed for a complete transient step.""" + +from __future__ import annotations + +from dataclasses import asdict, dataclass, replace +import math +from typing import Any, Callable, Mapping, Protocol + +import numpy as np +from scipy.sparse import diags + +from solarlab.contracts import frozen_array +from solarlab.solvers.nonlinear.newton import NewtonResult, NewtonSettings, Termination, factorize, solve_newton +from solarlab.solvers.nonlinear.problem import Matrix, SolveBudget, SteadyProblem, Vector, state_digest + +__all__ = ["CarrierDensityDevice", "DensitySeedContext", "recover_density_seed", + "stagnation_basin_signature", "transient_density_basin_seed"] + + +class CarrierDensityDevice(Protocol): + @property + def node_count(self) -> int: ... + + def fields(self, u: Vector, *, voltage_V: float = 0.0) -> tuple[Vector, Vector, Vector]: ... + + +@dataclass(frozen=True) +class DensitySeedContext: + """Caller-certified full target and immutable-history scope for one retry. + + The caller names its deadline exception types so its original exception can + propagate unchanged, including a deadline derived from RuntimeError. + """ + + device: CarrierDensityDevice + voltage_V: float + scope: Mapping[str, Any] + validate: Callable[[], None] + history_fingerprint: Callable[[], str] + checkpoint: Callable[[], None] = lambda: None + deadline_exceptions: tuple[type[Exception], ...] = (TimeoutError,) + + +def transient_density_basin_seed( + problem: SteadyProblem, u: Vector, *, device: CarrierDensityDevice, voltage_V: float, + work_observer: Callable[[str], None] | None = None, +) -> Vector: + """One carrier density linearization using the full BE/BDF residual and J. + + The supplied problem must retain the actual time-step storage and history. + Its potential stays frozen only while constructing this unaccepted guess; + the original coupled Newton and physical/LTE gates still judge the result. + No default, waveform, old state, inventory, or generation stage is changed. + + The caller must charge the one residual, Jacobian and factorization to its + existing work/deadline accounting. This helper grants no solve or retry. + Nonpositive/nonfinite density proposals fail through the existing seeder. + """ + if np.asarray(u).shape != (3 * device.node_count,): + raise ValueError("transient carrier seed requires an electronic 3N state") + observe = (lambda phase: None) if work_observer is None else work_observer + count = device.node_count + observe("field_map") + _, n, p = device.fields(u, voltage_V=voltage_V) + observe("checkpoint") + if not all(np.all(np.isfinite(v)) and np.all(v > 0) for v in (n, p)): + raise ValueError("density seed requires finite strictly positive input populations") + residual = problem.residual(u)[count:] + density_inverse = np.r_[1.0 / n, -1.0 / p] + matrix = problem.jacobian(u)[count:, count:] @ diags(density_inverse) + observe("factorization") + factor = factorize(matrix) + observe("linear_solve") + increment = factor.solve(-residual) + observe("checkpoint") + trial_n, trial_p = n + increment[:count], p + increment[count:] + if not all(np.all(np.isfinite(v)) and np.all(v > 0) for v in (trial_n, trial_p)): + raise ValueError("density preparation did not produce finite positive carriers") + observe("conversion") + result = np.array(u, copy=True) + for offset, density, trial, delta, sign in ( + (count, n, trial_n, increment[:count], 1.0), + (2 * count, p, trial_p, increment[count:], -1.0), + ): + with np.errstate(over="ignore", divide="ignore"): + relative = delta / density + change = np.log1p(relative) + large = ~np.isfinite(change) + change[large] = np.log(trial[large]) - np.log(density[large]) + result[offset:offset + count] += sign * change + observe("checkpoint") + if not np.all(np.isfinite(result)): + raise ValueError("density seed coordinates are nonfinite; no clipping or fallback") + return result + + +def stagnation_basin_signature(result: NewtonResult, tolerance: float) -> bool: + """The frozen three-iteration, sub-epsilon whole-direction plateau only.""" + if result.accepted or result.termination != Termination.STAGNATED or len(result.iterations) < 3: + return False + return all(row.fresh_jacobian and row.backtracks == 0 + and math.isfinite(row.damping) and 0 < row.damping <= np.finfo(float).eps + and math.isfinite(row.step_inf) and row.step_inf > 0 + and math.isfinite(row.scaled_residual) and row.scaled_residual > tolerance + for row in result.iterations[-3:]) + + +def recover_density_seed( + problem: SteadyProblem, initial: Vector, original: NewtonResult, settings: NewtonSettings, + context: DensitySeedContext, record: dict[str, Any], *, + convergence_norm: Callable[[Vector], float] | None = None, +) -> NewtonResult: + """One explicit density retry within the remaining original call budget. + + Caller eligibility is separate from the signature. The record is appended + before calling this function so failures/timeouts retain all available work. + Original and following Newton records are separate; only the latter is the + returned candidate. A failure never grants another initializer or acceptance. + """ + diagnostic_initial = np.asarray(initial, dtype=np.float64) + diagnostic_initial = np.frombuffer(diagnostic_initial.tobytes(), dtype=np.float64).reshape(diagnostic_initial.shape) + record.update(original_newton=original, original_initial=diagnostic_initial, + scope=dict(context.scope), original_budget=asdict(settings.budget), + seed=None, retry_newton=None, retry_attempted=False, status="checking_binding", + seed_work={"residual": 0, "jacobian": 0, "field_map": 0, "factorization": 0, + "linear_solve": 0, "conversion": 0}) + work = record["seed_work"] + if not stagnation_basin_signature(original, settings.tolerance): + raise ValueError("density recovery requires the scoped recorded stagnation signature") + before = context.history_fingerprint() + initial_bytes = np.asarray(initial).tobytes() + record["history_before"] = before + budget = settings.budget + used_i = len(original.iterations) + left_i = budget.max_iterations - used_i + left_r = budget.max_residual_evaluations - original.residual_evaluations + left_j = budget.max_jacobian_evaluations - original.jacobian_evaluations + if left_i < 1 or left_r < 2 or left_j < 2: + record.update(status="remaining_budget_exhausted", history_after=before, error="no seed and following Newton allocation remains") + return original + + class CountedSeed: + def residual(self, u: Vector) -> Vector: + context.checkpoint() + if work["residual"] >= left_r - 1: + raise ArithmeticError("density seed residual budget exhausted") + work["residual"] += 1 + value = problem.residual(u) + context.checkpoint() + return value + + def jacobian(self, u: Vector) -> Matrix: + context.checkpoint() + if work["jacobian"] >= left_j - 1: + raise ArithmeticError("density seed Jacobian budget exhausted") + work["jacobian"] += 1 + value = problem.jacobian(u) + context.checkpoint() + return value + + def observe(phase: str) -> None: + context.checkpoint() + if phase != "checkpoint": + work[phase] += 1 + + try: + context.checkpoint() + context.validate() + if original.start_digest != state_digest(initial): + raise ValueError("original Newton start differs from the recorded initial guess") + record["status"] = "constructing_seed" + proposed = transient_density_basin_seed(CountedSeed(), initial, + device=context.device, voltage_V=context.voltage_V, work_observer=observe) + if initial_bytes != np.asarray(initial).tobytes() or context.history_fingerprint() != before: + raise RuntimeError("density seed mutated the frozen initial/history") + record["seed"] = frozen_array(proposed) + remaining = SolveBudget(left_i, left_r - work["residual"], left_j - work["jacobian"], budget.max_backtracks) + record.update(remaining_budget=asdict(remaining), status="retrying", retry_attempted=True) + following = solve_newton(problem, proposed, replace(settings, budget=remaining), convergence_norm=convergence_norm) + record["retry_newton"] = following + context.checkpoint() + after = context.history_fingerprint() + record["history_after"] = after + if before != after or initial_bytes != np.asarray(initial).tobytes(): + raise RuntimeError("density retry mutated the frozen initial/history") + record["status"] = "recovered" if following.accepted else "retry_rejected" + return following + except context.deadline_exceptions as exc: + record.update(status="wall_budget_exhausted", error=str(exc), history_after=context.history_fingerprint()) + raise + except RuntimeError as exc: + record.update(status="frozen_history_violation", error=str(exc), history_after=context.history_fingerprint()) + raise + except Exception as exc: + record.update(status="seed_or_binding_failed", error=type(exc).__name__ + ": " + str(exc), + history_after=context.history_fingerprint()) + return original diff --git a/src/solarlab/solvers/time/ionic_backward_euler.py b/src/solarlab/solvers/time/ionic_backward_euler.py new file mode 100644 index 00000000..3227a053 --- /dev/null +++ b/src/solarlab/solvers/time/ionic_backward_euler.py @@ -0,0 +1,301 @@ +"""Physical backward Euler for the integrated electronic/confined-ion model. + +R=F_DC-(S_new-S_old)/dt and J=F_y+K/dt. All M balances per species remain; +only fixed-reservoir carrier rows are algebraic. Diagnostics carry actual +motion currents and explicit floating readback errors, not acceptance labels. +""" + +from __future__ import annotations + +from dataclasses import dataclass +import math + +import numpy as np +from scipy.sparse import csc_matrix +from scipy.special import expit + +from solarlab.contracts.units import ELEMENTARY_CHARGE_C as Q +from solarlab.equations.ionic_1d import CompiledIonicDevice1D, Ionic1DProblem, IonicState1D +from solarlab.physics.electrostatics import contact_displacement +from solarlab.physics.ions.shared_site import shared_site_secant_m3 +from solarlab.solvers.time.backward_euler import ( + BackwardEuler1DStep, storage_mask, inventory_m2 as electronic_inventory_m2, + step_accounting as electronic_step_accounting, +) + +__all__ = ["IonicBackwardEuler1DStep", "finite_site_secant_m3", "inventory_m2", "step_accounting", "ionic_step_accounting"] + + +def finite_site_secant_m3( + capacity_m3: np.ndarray, logit_reference: np.ndarray, + old_coordinate: np.ndarray, new_coordinate: np.ndarray, +) -> np.ndarray: + """Stable physical logistic difference, including arbitrary nonzero old logits. + + The represented coordinate difference is formed before adding the common + reference. expit(-logit) retains the vacancy fraction near capacity, and + expm1 retains tiny motion whose rounded density subtraction can be zero. + """ + arrays = [np.asarray(value, dtype=float) for value in ( + capacity_m3, logit_reference, old_coordinate, new_coordinate, + )] + capacity, reference, old, new = arrays + if (capacity.ndim != 1 or any(value.shape != capacity.shape or not np.all(np.isfinite(value)) for value in arrays) + or np.any(capacity <= 0.0)): + raise ValueError("finite-site secant requires finite matched vectors and positive capacities") + old_logit, new_logit = reference + old, reference + new + old_theta, new_theta = expit(old_logit), expit(new_logit) + if np.any(old_theta <= 0.0) or np.any(old_theta >= 1.0) or np.any(new_theta <= 0.0) or np.any(new_theta >= 1.0): + raise ValueError("finite-site secant coordinate saturated") + delta = new - old + positive = capacity * new_theta * expit(-old_logit) * (-np.expm1(-np.maximum(delta, 0.0))) + negative = capacity * old_theta * expit(-new_logit) * np.expm1(np.minimum(delta, 0.0)) + result = np.where(delta >= 0.0, positive, negative) + if not np.all(np.isfinite(result)): + raise FloatingPointError("finite-site physical secant is nonfinite") + return result + + +def inventory_m2( + device: CompiledIonicDevice1D, state: IonicState1D, *, species: str = "positive", +) -> tuple[np.ndarray, np.ndarray]: + """Physical carrier (2,N) and named ion (M,) inventories, including endpoints.""" + if not isinstance(state, IonicState1D) or state.device_sha256 != device.identity: + raise ValueError("inventory requires a full same-device ionic state") + if species not in device.ion_species_names: + raise ValueError("requested ion species is not assembled in this device") + carrier = electronic_inventory_m2(device.electronic_component, state.electronic_state) + return carrier, device.ion_geometry.cell_measures_m * getattr(state, f"{species}_ion_density_m3") + + +@dataclass(frozen=True) +class IonicBackwardEuler1DStep: + """One full nonlinear physical step; no steady inventory-row substitution.""" + + endpoint: Ionic1DProblem + previous: IonicState1D + dt_s: float + + def __post_init__(self) -> None: + if not isinstance(self.endpoint, Ionic1DProblem) or not isinstance(self.previous, IonicState1D): + raise ValueError("a full ionic endpoint and previous ionic state are required") + if not math.isfinite(self.dt_s) or self.dt_s <= 0.0: + raise ValueError("dt_s must be finite and positive") + device = self.endpoint.device + if self.previous.device_sha256 != device.identity: + raise ValueError("previous state must belong to the same complete ionic device") + actual = device.state(self.previous.u, voltage_V=self.previous.voltage_V) + if self.previous.electronic_state.device_sha256 != device.electronic_component.identity: + raise ValueError("previous electronic component identity is inconsistent") + for name in ("potential_V", "electron_density_m3", "hole_density_m3"): + if not np.array_equal(getattr(actual.electronic_state, name), getattr(self.previous.electronic_state, name)): + raise ValueError("previous electronic fields disagree with their voltage reference") + if (any(not np.array_equal(getattr(actual, f"{species}_ion_density_m3"), + getattr(self.previous, f"{species}_ion_density_m3")) + for species in device.ion_species_names) + or actual.domain_inventories_m2 != self.previous.domain_inventories_m2): + raise ValueError("previous physical ion fields/inventory disagree with the bound coordinates") + + @property + def electronic_step(self) -> BackwardEuler1DStep: + return BackwardEuler1DStep(self.endpoint.electronic_problem, self.previous.electronic_state, self.dt_s) + + def inventory_rates_m2_s(self, y: np.ndarray) -> tuple[np.ndarray, tuple[np.ndarray, ...]]: + """Carrier rates and physical site-law secants for every species, in block order.""" + device, N = self.endpoint.device, self.endpoint.device.node_count + values = np.asarray(y, dtype=float) + device.fields_by_species(values, voltage_V=self.endpoint.voltage_V) + carrier = self.electronic_step.inventory_rate_m2_s(values[:3 * N]) + if device.ion_site_contract == "shared_finite_sites": + positive, negative = device.ion_species_slices + changes = shared_site_secant_m3( + device.positive_ion_site_limit_m3, + device.positive_ion_logit_reference, device.negative_ion_logit_reference, + self.previous.u[positive], self.previous.u[negative], values[positive], values[negative], + ) + return carrier, tuple(device.ion_geometry.cell_measures_m * change / self.dt_s for change in changes) + rates = [] + for species, block in zip(device.ion_species_names, device.ion_species_slices): + ion_change = finite_site_secant_m3( + getattr(device, f"{species}_ion_site_limit_m3"), getattr(device, f"{species}_ion_logit_reference"), + self.previous.u[block], values[block], + ) + rates.append(device.ion_geometry.cell_measures_m * ion_change / self.dt_s) + return carrier, tuple(rates) + + def inventory_rate_m2_s(self, y: np.ndarray, *, species: str = "positive") -> tuple[np.ndarray, np.ndarray]: + """Historical positive-rate reader, with an explicit negative-species selector.""" + if species not in self.endpoint.device.ion_species_names: + raise ValueError("requested ion species is not assembled in this device") + carrier, rates = self.inventory_rates_m2_s(y) + return carrier, rates[self.endpoint.device.ion_species_names.index(species)] + + def residual(self, y: np.ndarray) -> np.ndarray: + result = self.endpoint.residual(y) + N = self.endpoint.device.node_count + carrier, ions = self.inventory_rates_m2_s(y) + rows = result[N:3 * N].reshape(2, N) + mask = storage_mask(self.endpoint.device.electronic_component) + rows[mask] -= carrier[mask] + for block, ion in zip(self.endpoint.device.ion_species_slices, ions): + result[block] -= ion + return result + + def jacobian(self, y: np.ndarray) -> csc_matrix: + return self.endpoint.jacobian(y) + self.endpoint.storage_jacobian(y) / self.dt_s + + def initial_coordinates(self, predictor: str = "previous", *, voltage_lift: bool = False) -> np.ndarray: + """Rebase carrier references; ion seed is unchanged, but every ion row is solved.""" + electronic = self.electronic_step.initial_coordinates(predictor, voltage_lift=voltage_lift) + return np.r_[electronic, self.previous.u[3 * self.endpoint.device.node_count:]] + + +def step_accounting(step: IonicBackwardEuler1DStep, y: np.ndarray) -> dict[str, object]: + """All-face conduction/displacement and independent interval balance diagnostics. + + All currents point along +x in A/m^2. Ion number rates are domain-local + particles/(m^2*s); their charge is scattered without a second volume factor. + Stable interval displacement and separately rounded state readbacks are + both exposed, including their effect on the complete Maxwell identity. + Historical unnamed ion arrays refer to the positive species; dual evidence + also records both named species. Ionic conduction/charge arrays sum signs. + """ + problem, device, old = step.endpoint, step.endpoint.device, step.previous + N, dt, idx = device.node_count, step.dt_s, device.ion_node_indices + new = device.state(y, voltage_V=problem.voltage_V) + carrier_info = electronic_step_accounting(step.electronic_step, np.asarray(y)[:3 * N]) + carrier_rate, ion_rates = step.inventory_rates_m2_s(y) + ion_rate = ion_rates[0] + carrier_balance = np.asarray(carrier_info["carrier_balance_m2_s"]) + carrier_particles = np.asarray(carrier_info["particle_fluxes_m2_s"]) + carrier_conduction = Q * (carrier_particles[1] - carrier_particles[0]) + ion_domain_flux = problem.ion_fluxes(y) + ion_particles = np.r_[0.0, problem.ion_fluxes_on_electronic_faces(y), 0.0] + ion_balance = -np.diff(np.r_[0.0, ion_domain_flux, 0.0]) - ion_rate + ion_charge_rate = np.zeros(N) + ion_charge_rate[idx] = Q * ion_rate + signed_ion_particles = ion_particles + if device.ion_species_count == 2: + negative_rate = ion_rates[1] + negative_flux = problem.ion_fluxes(y, species="negative") + negative_particles = np.r_[0.0, problem.ion_fluxes_on_electronic_faces(y, species="negative"), 0.0] + negative_balance = -np.diff(np.r_[0.0, negative_flux, 0.0]) - negative_rate + signed_ion_particles = ion_particles - negative_particles + ion_charge_rate[idx] = Q * (ion_rate - negative_rate) + charge_rate = Q * (carrier_rate[1] - carrier_rate[0]) + ion_charge_rate + conduction = carrier_conduction + Q * signed_ion_particles + widths = device.electronic_component.geometry.cell_measures_m + poisson = device.electronic_component.poisson + + def readback(state: IonicState1D) -> tuple[np.ndarray, np.ndarray]: + e = state.electronic_state + rho = device.charge_ledger(e.electron_density_m3, e.hole_density_m3, + state.positive_ion_density_m3, + state.negative_ion_density_m3 if device.ion_species_count == 2 else None).space_charge_C_m3() + interior = poisson.face_displacement(e.potential_V) + ports = contact_displacement(interior, rho, widths) + return np.r_[ports[0], interior, ports[1]], widths * rho + + old_d, old_charge = readback(old) + new_d, new_charge = readback(new) + phi_delta = new.electronic_state.potential_V - old.electronic_state.potential_V + interior_delta = -poisson.face_capacitance_F_m2 * np.diff(phi_delta) + interval_d = np.r_[interior_delta[0] - dt * charge_rate[0], interior_delta, + interior_delta[-1] + dt * charge_rate[-1]] + rounded_interval_d = new_d - old_d + displacement_readback_error = interval_d - rounded_interval_d + displacement_current = interval_d / dt + maxwell = conduction + displacement_current + old_gauss = old_d[:-1] - old_d[1:] + old_charge + new_gauss = new_d[:-1] - new_d[1:] + new_charge + rounded_gauss_rate = (new_gauss - old_gauss) / dt + stable_gauss_rate = (interval_d[:-1] - interval_d[1:]) / dt + charge_rate + charge_readback_error = charge_rate - (new_charge - old_charge) / dt + ion_balance_global = np.zeros(N) + ion_balance_global[idx] = ion_balance + if device.ion_species_count == 2: + ion_balance_global[idx] = ion_balance - negative_balance + charge_defect = Q * (carrier_balance[1] - carrier_balance[0] + ion_balance_global) + jump = maxwell[:-1] - maxwell[1:] + predicted = charge_defect + stable_gauss_rate + rounded_predicted = (charge_defect + rounded_gauss_rate + charge_readback_error + + (displacement_readback_error[:-1] - displacement_readback_error[1:]) / dt) + old_carrier_inventory, old_ion_inventory = inventory_m2(device, old) + new_carrier_inventory, new_ion_inventory = inventory_m2(device, new) + rounded_carrier_rate = (new_carrier_inventory - old_carrier_inventory) / dt + rounded_ion_rate = (new_ion_inventory - old_ion_inventory) / dt + residual = step.residual(y) + mask = storage_mask(device.electronic_component) + continuity_bound = Q * (float(np.sum(abs(residual[N:3 * N].reshape(2, N)[mask]))) + + math.fsum(abs(residual[3 * N:]).tolist())) + result = { + "physical_certificate_status": "not_evaluated", + "carrier_inventory_m2": new_carrier_inventory, "ion_inventory_m2": new_ion_inventory, + "carrier_inventory_rate_m2_s": carrier_rate, "ion_inventory_rate_m2_s": ion_rate, + "rounded_carrier_inventory_rate_m2_s": rounded_carrier_rate, + "rounded_ion_inventory_rate_m2_s": rounded_ion_rate, + "carrier_inventory_readback_error_m2_s": carrier_rate - rounded_carrier_rate, + "ion_inventory_readback_error_m2_s": ion_rate - rounded_ion_rate, + "carrier_particle_fluxes_m2_s": carrier_particles, "ion_particle_fluxes_m2_s": ion_particles, + "ion_domain_fluxes_m2_s": ion_domain_flux, + "carrier_balance_m2_s": carrier_balance, "ion_balance_m2_s": ion_balance, + "charge_inventory_C_m2": new_charge, "charge_inventory_rate_A_m2": charge_rate, + "charge_subtraction_roundoff_A_m2": charge_readback_error, + "carrier_conduction_current_density_A_m2": carrier_conduction, + "ion_conduction_current_density_A_m2": Q * signed_ion_particles, + "conduction_current_density_A_m2": conduction, + "interval_displacement_C_m2": interval_d, + "rounded_interval_displacement_C_m2": rounded_interval_d, + "displacement_readback_error_C_m2": displacement_readback_error, + "displacement_current_density_A_m2": displacement_current, + "total_current_density_A_m2": maxwell, + "terminal_total_current_density_A_m2": maxwell[[0, -1]], + "displacement_C_m2": new_d, + "old_gauss_defect_C_m2": old_gauss, "gauss_defect_C_m2": new_gauss, + "gauss_defect_rate_A_m2": rounded_gauss_rate, "stable_gauss_defect_rate_A_m2": stable_gauss_rate, + "maxwell_cell_jump_A_m2": jump, "predicted_maxwell_cell_jump_A_m2": predicted, + "readback_predicted_maxwell_cell_jump_A_m2": rounded_predicted, + "maxwell_identity_error_A_m2": jump - predicted, + "readback_maxwell_identity_error_A_m2": jump - rounded_predicted, + "global_ion_inventory_rate_m2_s": math.fsum(ion_rate.tolist()), + "global_ion_balance_m2_s": math.fsum(ion_balance.tolist()), + "global_charge_balance_A_m2": float(np.sum(charge_rate) - (conduction[0] - conduction[-1])), + "maxwell_spread_A_m2": float(np.ptp(maxwell)), + "continuity_defect_bound_A_m2": continuity_bound, + "backward_euler_residual": residual, "dc_residual": problem.residual(y), "storage_mask": mask, + "compiled_identity": device.identity, "previous_compiled_identity": old.device_sha256, + "previous_voltage_V": old.voltage_V, "voltage_V": problem.voltage_V, "dt_s": dt, + } + if device.ion_species_count == 2: + positive_keys = ( + "ion_inventory_m2", "ion_inventory_rate_m2_s", "rounded_ion_inventory_rate_m2_s", + "ion_inventory_readback_error_m2_s", "ion_particle_fluxes_m2_s", "ion_domain_fluxes_m2_s", + "ion_balance_m2_s", "global_ion_inventory_rate_m2_s", "global_ion_balance_m2_s", + ) + positive = {key: result[key] for key in positive_keys} + positive["ion_conduction_current_density_A_m2"] = Q * ion_particles + _, old_negative_inventory = inventory_m2(device, old, species="negative") + _, new_negative_inventory = inventory_m2(device, new, species="negative") + rounded_negative_rate = (new_negative_inventory - old_negative_inventory) / dt + negative = { + "ion_inventory_m2": new_negative_inventory, "ion_inventory_rate_m2_s": negative_rate, + "rounded_ion_inventory_rate_m2_s": rounded_negative_rate, + "ion_inventory_readback_error_m2_s": negative_rate - rounded_negative_rate, + "ion_particle_fluxes_m2_s": negative_particles, "ion_domain_fluxes_m2_s": negative_flux, + "ion_balance_m2_s": negative_balance, + "ion_conduction_current_density_A_m2": -Q * negative_particles, + "global_ion_inventory_rate_m2_s": math.fsum(negative_rate.tolist()), + "global_ion_balance_m2_s": math.fsum(negative_balance.tolist()), + } + result["ion_species"] = {"positive": positive, "negative": negative} + if device.ion_site_contract == "shared_finite_sites": + occupied = (new.positive_ion_density_m3 + new.negative_ion_density_m3) / device.positive_ion_site_limit_m3 + result["shared_site"] = { + "summed_site_fraction": occupied, "vacancy_fraction": 1.0 - occupied, + "maximum_summed_site_fraction": float(np.max(occupied)), + "minimum_vacancy_fraction": float(np.min(1.0 - occupied)), + } + return result + + +ionic_step_accounting = step_accounting diff --git a/src/solarlab/solvers/time/multiple_ionic_backward_euler.py b/src/solarlab/solvers/time/multiple_ionic_backward_euler.py new file mode 100644 index 00000000..641a8428 --- /dev/null +++ b/src/solarlab/solvers/time/multiple_ionic_backward_euler.py @@ -0,0 +1,173 @@ +"""Native physical backward Euler and Maxwell accounting for both ion domains.""" + +from __future__ import annotations + +from dataclasses import dataclass +import math +from numbers import Real +from typing import Any + +import numpy as np +from scipy.sparse import csc_matrix + +from solarlab.contracts.units import ELEMENTARY_CHARGE_C as Q +from solarlab.equations.ionic_1d import Ionic1DProblem +from solarlab.equations.multiple_ionic_1d import MultipleIonic1DProblem, MultipleIonicState1D +from solarlab.physics.electrostatics import contact_displacement +from solarlab.solvers.time.backward_euler import BackwardEuler1DStep, storage_mask, step_accounting as electronic_accounting +from solarlab.solvers.time.ionic_backward_euler import IonicBackwardEuler1DStep + +__all__ = ["MultipleIonicBackwardEuler1DStep", "multiple_ionic_step_accounting"] + + +@dataclass(frozen=True) +class MultipleIonicBackwardEuler1DStep: + """Full R=F_DC-delta(S)/dt and J=F_y+K/dt; no steady row replacement.""" + + endpoint: MultipleIonic1DProblem + previous: MultipleIonicState1D + dt_s: float + + def __post_init__(self) -> None: + if not isinstance(self.endpoint, MultipleIonic1DProblem): + raise TypeError("the original multiple-domain endpoint equations are required") + if isinstance(self.dt_s, bool) or not isinstance(self.dt_s, Real) or not math.isfinite(self.dt_s) or self.dt_s <= 0: + raise ValueError("dt_s must be a finite positive real scalar") + self.endpoint.device.validate_state(self.previous) + + @property + def electronic_step(self) -> BackwardEuler1DStep: + return BackwardEuler1DStep(self.endpoint.electronic_problem, self.previous.electronic_state, self.dt_s) + + def inventory_rates_m2_s(self, y: np.ndarray) -> tuple[np.ndarray, dict[str, dict[str, np.ndarray]]]: + device, size = self.endpoint.device, 3 * self.endpoint.device.node_count + values = device._values(y) + device.fields_by_domain(values, voltage_V=self.endpoint.voltage_V) + carrier = self.electronic_step.inventory_rate_m2_s(values[:size]) + rates: dict[str, dict[str, np.ndarray]] = {} + for domain, previous in zip(device.domains, self.previous.domain_component_states): + local = IonicBackwardEuler1DStep(Ionic1DProblem(domain, self.endpoint.voltage_V, + self.endpoint.generation_scale), previous, self.dt_s) + _, ionic = local.inventory_rates_m2_s(device.local_coordinates(values, domain.domain_layer_id)) + rates[domain.domain_layer_id] = dict(zip(domain.ion_species_names, ionic)) + return carrier, rates + + def residual(self, y: np.ndarray) -> np.ndarray: + device, count = self.endpoint.device, self.endpoint.device.node_count + result = self.endpoint.residual(y) + carrier, ionic = self.inventory_rates_m2_s(y) + rows = result[count:3 * count].reshape(2, count) + mask = storage_mask(device.electronic_component) + rows[mask] -= carrier[mask] + for name, species_rates in ionic.items(): + for species, rate in species_rates.items(): + result[device.ion_species_slices[name][species]] -= rate + return result + + def jacobian(self, y: np.ndarray) -> csc_matrix: + return self.endpoint.jacobian(y) + self.endpoint.storage_jacobian(y) / self.dt_s + + def initial_coordinates(self) -> np.ndarray: + """Existing harmonic voltage lift; all ionic unknowns stay in the solve.""" + electronic = self.electronic_step.initial_coordinates("previous", voltage_lift=True) + return np.r_[electronic, self.previous.u[3 * self.endpoint.device.node_count:]] + + +def multiple_ionic_step_accounting(step: MultipleIonicBackwardEuler1DStep, y: np.ndarray) -> dict[str, Any]: + """All internal/external +x currents and separate conservative inventories.""" + problem, device, old = step.endpoint, step.endpoint.device, step.previous + count, dt = device.node_count, step.dt_s + new = device.state(y, voltage_V=problem.voltage_V) + carrier_info = electronic_accounting(step.electronic_step, np.asarray(y)[:3 * count]) + carrier_rate, ionic_rates = step.inventory_rates_m2_s(y) + carrier_balance = np.asarray(carrier_info["carrier_balance_m2_s"]) + particles = np.asarray(carrier_info["particle_fluxes_m2_s"]) + carrier_conduction = Q * (particles[1] - particles[0]) + ionic_conduction, ion_charge_rate = np.zeros(count + 1), np.zeros(count) + ion_charge_balance = np.zeros(count) + domains: dict[str, Any] = {} + residual = step.residual(y) + for domain, before, after in zip(device.domains, old.domain_component_states, new.domain_component_states): + name, indices, weights = domain.domain_layer_id, domain.ion_node_indices, domain.ion_geometry.cell_measures_m + species_records: dict[str, Any] = {} + for species in domain.ion_species_names: + sign = 1.0 if species == "positive" else -1.0 + rate = ionic_rates[name][species] + flux = problem.ion_fluxes(y, domain_id=name, species=species) + global_flux = np.r_[0.0, problem.ion_fluxes_on_electronic_faces(y, domain_id=name, species=species), 0.0] + balance = -np.diff(np.r_[0.0, flux, 0.0]) - rate + ion_charge_rate[indices] += sign * Q * rate + ion_charge_balance[indices] += sign * balance + ionic_conduction += sign * Q * global_flux + old_inventory = weights * getattr(before, species + "_ion_density_m3") + new_inventory = weights * getattr(after, species + "_ion_density_m3") + rounded = (new_inventory - old_inventory) / dt + rounding_bound = 8 * np.finfo(float).eps * ( + math.fsum(abs(flux).tolist()) + math.fsum(abs(rate).tolist())) + species_records[species] = { + "inventory_m2": new_inventory, "inventory_rate_m2_s": rate, + "physical_inventory_increment_m2": dt * rate, + "rounded_inventory_rate_m2_s": rounded, "inventory_readback_error_m2_s": rate - rounded, + "balance_m2_s": balance, "balance_l1_m2_s": math.fsum(abs(balance).tolist()), + "native_BE_rows_m2_s": residual[device.ion_species_slices[name][species]], + "domain_flux_m2_s": np.r_[0.0, flux, 0.0], "global_particle_flux_m2_s": global_flux, + "signed_conduction_current_A_m2": sign * Q * global_flux, + "inventory_rate_sum_m2_s": math.fsum(rate.tolist()), + "balance_sum_m2_s": math.fsum(balance.tolist()), + "inventory_balance_identity_error_m2_s": math.fsum(balance.tolist()) + math.fsum(rate.tolist()), + "inventory_balance_roundoff_bound_m2_s": rounding_bound, + } + domains[name] = {"species": species_records, "electrical_node_indices": indices, "physical_weights_m": weights} + charge_rate = Q * (carrier_rate[1] - carrier_rate[0]) + ion_charge_rate + conduction = carrier_conduction + ionic_conduction + poisson, widths = device.electronic_component.poisson, device.electronic_component.geometry.cell_measures_m + + def readback(state: MultipleIonicState1D) -> tuple[np.ndarray, np.ndarray]: + e = state.electronic_state + populations = device.fields_by_domain(state.u, voltage_V=state.voltage_V)[3] + rho = device.charge_ledger(e.electron_density_m3, e.hole_density_m3, populations).space_charge_C_m3() + internal = poisson.face_displacement(e.potential_V) + ports = contact_displacement(internal, rho, widths) + return np.r_[ports[0], internal, ports[1]], widths * rho + + old_d, old_charge = readback(old) + new_d, new_charge = readback(new) + phi_delta = new.electronic_state.potential_V - old.electronic_state.potential_V + internal_delta = -poisson.face_capacitance_F_m2 * np.diff(phi_delta) + interval_d = np.r_[internal_delta[0] - dt * charge_rate[0], internal_delta, + internal_delta[-1] + dt * charge_rate[-1]] + rounded_d = new_d - old_d + d_error = interval_d - rounded_d + displacement_current = interval_d / dt + maxwell = conduction + displacement_current + old_gauss = old_d[:-1] - old_d[1:] + old_charge + new_gauss = new_d[:-1] - new_d[1:] + new_charge + stable_gauss_rate = (interval_d[:-1] - interval_d[1:]) / dt + charge_rate + rounded_gauss_rate = (new_gauss - old_gauss) / dt + charge_readback_error = charge_rate - (new_charge - old_charge) / dt + charge_defect = Q * (carrier_balance[1] - carrier_balance[0] + ion_charge_balance) + jump = maxwell[:-1] - maxwell[1:] + predicted = charge_defect + stable_gauss_rate + rounded_predicted = charge_defect + rounded_gauss_rate + charge_readback_error + (d_error[:-1] - d_error[1:]) / dt + mask = storage_mask(device.electronic_component) + return { + "domains": domains, "backward_euler_residual": residual, "dc_residual": problem.residual(y), + "carrier_inventory_rate_m2_s": carrier_rate, "carrier_balance_m2_s": carrier_balance, + "carrier_particle_fluxes_m2_s": particles, "carrier_conduction_current_A_m2": carrier_conduction, + "ionic_conduction_current_A_m2": ionic_conduction, "conduction_current_density_A_m2": conduction, + "interval_displacement_C_m2": interval_d, "rounded_interval_displacement_C_m2": rounded_d, + "displacement_readback_error_C_m2": d_error, "displacement_current_density_A_m2": displacement_current, + "total_current_density_A_m2": maxwell, "terminal_total_current_density_A_m2": maxwell[[0, -1]], + "charge_inventory_rate_A_m2": charge_rate, "charge_inventory_C_m2": new_charge, + "charge_readback_error_A_m2": charge_readback_error, + "old_gauss_defect_C_m2": old_gauss, "gauss_defect_C_m2": new_gauss, + "stable_gauss_defect_rate_A_m2": stable_gauss_rate, "rounded_gauss_defect_rate_A_m2": rounded_gauss_rate, + "maxwell_cell_jump_A_m2": jump, "predicted_maxwell_cell_jump_A_m2": predicted, + "maxwell_identity_error_A_m2": jump - predicted, "readback_maxwell_identity_error_A_m2": jump - rounded_predicted, + "maxwell_spread_A_m2": float(np.ptp(maxwell)), + "global_charge_balance_A_m2": float(np.sum(charge_rate) - (conduction[0] - conduction[-1])), + "continuity_defect_bound_A_m2": Q * (float(np.sum(abs(residual[count:3 * count].reshape(2, count)[mask]))) + + math.fsum(abs(residual[3 * count:]).tolist())), + "storage_mask": mask, "previous_voltage_V": old.voltage_V, "voltage_V": problem.voltage_V, + "dt_s": dt, "compiled_identity": device.identity, "physical_certificate_status": "not_evaluated", + } diff --git a/src/solarlab/solvers/time/radau_enclosure.py b/src/solarlab/solvers/time/radau_enclosure.py new file mode 100644 index 00000000..ca295736 --- /dev/null +++ b/src/solarlab/solvers/time/radau_enclosure.py @@ -0,0 +1,1778 @@ +"""Directed-rounding nonlinear E/I enclosures for the independent Radau route. + +This is an enclosure of the real arithmetic expressions of the pinned static +physics, with compiled binary64 coefficients taken as exact input data. It is +not another time integrator and does not call BDF. Radau's stored polynomial +is evaluated independently, so its floating stepping/reconstruction errors +enter the enclosed defect rather than being presumed zero. + +Only the declared four-reservoir electronic / confined positive-ion cases +are implemented. A tube crossing a discontinuous Bernoulli approximation +boundary is refused by the original point path. The opt-in branch enclosure +uses an analytic nominal Bernoulli law and carries an explicit bound on the +retained value-law difference as a separate forcing uncertainty. Unhandled +clipping is still refused. Full protocol qualification and uncertainty of +the prepared initial physical state remain separate admission requirements. + +Integration conditions: optional, unqualified reference infrastructure for +restricted declared E/I inputs and analytic unit fixtures only. Independence +is static-only: no BDF stepping, history, interpolation or accounting is used. +Retained failed attempts stay failures and qualification flags stay false. +Any future nonzero initial uncertainty must be expressed in the selected +weighted log norm; a numerical trajectory alone does not qualify a reference. +""" + +from __future__ import annotations + +from dataclasses import dataclass +from fractions import Fraction +from functools import cache +from importlib import import_module +import math +from types import ModuleType +from typing import Any, TypeAlias + +import numpy as np +from numpy.typing import ArrayLike, NDArray + +from solarlab.contracts.units import ELEMENTARY_CHARGE_C +from solarlab.equations.assembly.classical_1d import AssembledDC1DProblem +from solarlab.equations.assembly.ionic_1d import AssembledIonic1DProblem +from solarlab.equations.assembly.terms import OperatingInputs +from solarlab.physics.ions import DIFFUSION_ONLY_STERIC_V1 +from solarlab.solvers.time.radau_reference import ( + InventoryDAE, + InventoryPoint, + RadauControls, + RadauCounters, + RadauFailure, + RadauTrajectory, + assembled_inventory_dae, +) + +__all__ = [ + "EnclosureBlocked", + "NonlinearInventoryEnclosure", + "NonlinearTubeResult", + "PWLDrive", + "enclosed_inventory_dae", + "nonlinear_tube_bound", + "BernoulliBranchEnclosure", + "bernoulli_branch_enclosure", + "PolynomialPath", + "PositiveTubeResult", + "positive_polynomial_tube", + "weighted_logarithmic_norm_upper", + "WeightedTubeResult", + "weighted_positive_polynomial_tube", +] + +Vector: TypeAlias = NDArray[np.float64] +Ball: TypeAlias = Any +PRECISION = 192 + + +@cache +def _flint() -> ModuleType: + """Load optional Arb arithmetic only when a reference operation needs it.""" + try: + return import_module("flint") + except ImportError as error: + raise ImportError( + "nonlinear Radau enclosures require the optional python-flint backend " + "(install solarlab[arb])" + ) from error + + +class EnclosureBlocked(RuntimeError): + def __init__(self, code: str, detail: str = ""): + super().__init__(code + (": " + detail if detail else "")) + self.code, self.detail = code, detail + + +def _q(value: float | int | Fraction) -> Ball: + fraction = value if isinstance(value, Fraction) else Fraction(value) + return _flint().arb(_flint().fmpq(fraction.numerator, fraction.denominator)) + + +def _upper(value: Ball) -> float: + if not value.is_finite(): + raise EnclosureBlocked("nonfinite_enclosure") + if value.is_zero(): + return 0.0 + result = float(value.upper()) + if not math.isfinite(result): + raise EnclosureBlocked("enclosure_not_representable_in_binary64") + return math.nextafter(result, math.inf) + + +def _box(center: Ball, radius: Ball) -> Ball: + return (center - radius).union(center + radius) + + +@dataclass(frozen=True) +class _Jet: + value: Ball + gradient: tuple[Ball, ...] = () + + def __add__(self, other: _Jet | int) -> _Jet: + rhs = other if isinstance(other, _Jet) else _Jet(_q(other)) + gradient = ( + tuple(a + b for a, b in zip(self.gradient, rhs.gradient)) + if self.gradient and rhs.gradient + else self.gradient or rhs.gradient + ) + return _Jet(self.value + rhs.value, gradient) + + __radd__ = __add__ + + def __neg__(self) -> _Jet: + return _Jet(-self.value, tuple(-x for x in self.gradient)) + + def __sub__(self, other: _Jet | int) -> _Jet: + return self + -(other if isinstance(other, _Jet) else _Jet(_q(other))) + + def __rsub__(self, other: int) -> _Jet: + return -self + other + + def __mul__(self, other: _Jet | int) -> _Jet: + rhs = other if isinstance(other, _Jet) else _Jet(_q(other)) + if self.gradient and rhs.gradient: + derivative = tuple( + a * rhs.value + self.value * b + for a, b in zip(self.gradient, rhs.gradient) + ) + elif self.gradient: + derivative = tuple(a * rhs.value for a in self.gradient) + else: + derivative = tuple(self.value * b for b in rhs.gradient) + return _Jet(self.value * rhs.value, derivative) + + __rmul__ = __mul__ + + def reciprocal(self) -> _Jet: + if self.value.contains(0): + raise EnclosureBlocked("interval_denominator_contains_zero") + value = 1 / self.value + return _Jet(value, tuple(-x * value * value for x in self.gradient)) + + def __truediv__(self, other: _Jet | int) -> _Jet: + return ( + self * (other if isinstance(other, _Jet) else _Jet(_q(other))).reciprocal() + ) + + def exp(self) -> _Jet: + value = self.value.exp() + return _Jet(value, tuple(value * x for x in self.gradient)) + + def expm1(self) -> _Jet: + return _Jet( + self.value.expm1(), tuple(self.value.exp() * x for x in self.gradient) + ) + + def log(self) -> _Jet: + if not self.value > 0: + raise EnclosureBlocked("log_domain_not_positive") + return _Jet(self.value.log(), tuple(x / self.value for x in self.gradient)) + + +def _constant(value: float | int | Ball) -> _Jet: + return _Jet(value if isinstance(value, _flint().arb) else _q(value)) + + +def _hull(left: _Jet, right: _Jet) -> _Jet: + size = max(len(left.gradient), len(right.gradient)) + a, b = left.gradient or (_flint().arb(0),) * size, right.gradient or (_flint().arb(0),) * size + return _Jet(left.value.union(right.value), tuple(x.union(y) for x, y in zip(a, b))) + + +def _bernoulli(x: _Jet, *, historical: bool = False) -> _Jet: + limit = _q(1.0e-8) + if x.value.abs_upper() < limit: + return 1 - x / 2 + x * x / 12 + if not (x.value >= limit or x.value <= -limit): + raise EnclosureBlocked("bernoulli_value_branch_crossing", str(x.value)) + if historical: + if x.value > 700: + return _constant(0) + if not x.value <= 700: + raise EnclosureBlocked("historical_bernoulli_700_crossing", str(x.value)) + return x / x.expm1() + # The stable paired kernel uses the decaying branch plus B(-a)=a+B(a). + a = x if x.value > 0 else -x + small = a * (-a).exp() / -(-a).expm1() + return small if x.value > 0 else a + small + + +def _analytic_bernoulli(x: _Jet) -> _Jet: + """Analytic B including zero, with proved exprel value/tangent tails. + + D=1/B=integral_0^1 exp(t*x) dt. For |x|<=r<=1, the degree-24 + series for D has remainder <=exp(r)*r^25/26!; its differentiated + remainder is <=exp(r)*r^24/(24!*26). + """ + radius = x.value.abs_upper() + if radius <= 1: + degree = 24 + coefficients = [ + _q(Fraction(1, math.factorial(k + 1))) for k in range(degree + 1) + ] + value, derivative = coefficients[-1], coefficients[-1] * degree + for k in range(degree - 1, -1, -1): + value = value * x.value + coefficients[k] + for k in range(degree - 1, 0, -1): + derivative = derivative * x.value + k * coefficients[k] + tail = radius.exp() * radius ** (degree + 1) / math.factorial(degree + 2) + tangent_tail = ( + radius.exp() * radius**degree / (math.factorial(degree) * (degree + 2)) + ) + denominator = _box(value, tail.upper()) + slope = _box(derivative, tangent_tail.upper()) + return _Jet(denominator, tuple(slope * v for v in x.gradient)).reciprocal() + if x.value > 0 or x.value < 0: + a = x if x.value > 0 else -x + small = a * (-a).exp() / -(-a).expm1() + return small if x.value > 0 else a + small + # D'>0 implies B'<0; differentiating B(-x)=x+B(x) also gives B'>-1. + # Monotonicity therefore provides a broad but rigorous wide-box fallback. + left = _analytic_bernoulli(_Jet(x.value.lower())).value + right = _analytic_bernoulli(_Jet(x.value.upper())).value + slope = _flint().arb(-1).union(_flint().arb(0)) + return _Jet(left.union(right), tuple(slope * v for v in x.gradient)) + + +def _quadratic_bernoulli_gap(radius: Ball) -> Ball: + """Bound |Q-B| for |x|<=radius, Q=1-x/2+x^2/12. + + Multiply Q by the degree-8 exprel polynomial in exact rationals. + Coefficients through degree three of Q*D8-1 vanish. Bound the remaining + polynomial and Q*(D-D8), then divide using D>=exp(-radius). This + includes the nonzero retained switch jump rather than ignoring it. + """ + Q = (Fraction(1), Fraction(-1, 2), Fraction(1, 12)) + D = tuple(Fraction(1, math.factorial(k + 1)) for k in range(9)) + coefficients = tuple( + sum((Q[j] * D[k - j] for j in range(3) if 0 <= k - j < len(D)), Fraction(0)) + - (1 if k == 0 else 0) + for k in range(11) + ) + remainder = sum( + (_q(abs(c)) * radius**k for k, c in enumerate(coefficients)), _flint().arb(0) + ) + tail = radius.exp() * radius**9 / math.factorial(10) + q_upper = 1 + radius / 2 + radius * radius / 12 + return ((remainder + q_upper * tail) * radius.exp()).upper() + + +def _bernoulli_gap(value: Ball, *, historical: bool = False) -> Ball: + limit, error = _q(1e-8), _flint().arb(0) + if not (value >= limit or value <= -limit): + radius = value.abs_upper() + error = _quadratic_bernoulli_gap(radius if radius <= limit else limit) + if historical and not value <= 700: + # On x>700 the retained value is zero. B decreases on the real axis. + cut = value if value > 700 else _flint().arb(700) + error = error.union(_analytic_bernoulli(_Jet(cut)).value.abs_upper()).upper() + return error + + +@dataclass(frozen=True) +class BernoulliBranchEnclosure: + analytic_value: Ball + analytic_derivative: Ball + retained_value: Ball + retained_error_upper: Ball + + +def bernoulli_branch_enclosure( + argument: Ball, *, historical: bool = False +) -> BernoulliBranchEnclosure: + """Enclose B/B' and the retained piecewise value with an explicit gap. + + No derivative of the discontinuous retained switch is asserted. Its + value difference must enter trajectory comparison as forcing error. + """ + with _flint().ctx.workprec(PRECISION): + value = argument if isinstance(argument, _flint().arb) else _q(argument) + if not value.is_finite(): + raise EnclosureBlocked("nonfinite_bernoulli_argument") + nominal = _analytic_bernoulli(_Jet(value, (_flint().arb(1),))) + error = _bernoulli_gap(value, historical=historical) + return BernoulliBranchEnclosure( + nominal.value, nominal.gradient[0], _box(nominal.value, error), error + ) + + +def _carrier_branch_error( + left: _Jet, right: _Jet, step: _Jet, drive: _Jet, k: _Jet +) -> Ball: + population = _maximum((left.value.abs_upper(), right.value.abs_upper())) + gap = _maximum((_bernoulli_gap(step.value), _bernoulli_gap(-step.value))) + decay = -(-drive.value.abs_upper()).expm1() + return (k.value.abs_upper() * population * decay * gap).abs_upper() + + +def _carrier_flux( + left: _Jet, right: _Jet, step: _Jet, drive: _Jet, k: _Jet, *, analytic: bool = False +) -> _Jet: + if not step.value.abs_upper() <= 500: + raise EnclosureBlocked("carrier_extreme_product_branch_not_enclosed") + + B = _analytic_bernoulli if analytic else _bernoulli + + def branch(m: _Jet, positive: bool) -> _Jet: + if positive: + return k * B(-step) * right * (-m).expm1() + return -k * B(step) * left * m.expm1() + + if drive.value >= 0: + return branch(drive, True) + if drive.value <= 0: + return branch(drive, False) + # The two drive branches meet at zero flux; enclose their one-sided + # derivatives (Clarke hull), not a derivative of a substituted SG law. + positive = _Jet(_flint().arb(0).union(drive.value.upper()), drive.gradient) + negative = _Jet(drive.value.lower().union(_flint().arb(0)), drive.gradient) + return _hull(branch(positive, True), branch(negative, False)) + + +@dataclass(frozen=True) +class PWLDrive: + """Fixed binary64 knots, interpreted exactly as piecewise-linear data.""" + + times_s: tuple[float, ...] + voltage_V: tuple[float, ...] + generation: tuple[float, ...] + + def __post_init__(self) -> None: + if ( + len(self.times_s) < 2 + or len(self.voltage_V) != len(self.times_s) + or len(self.generation) != len(self.times_s) + or not all( + math.isfinite(x) + for row in (self.times_s, self.voltage_V, self.generation) + for x in row + ) + or any(b <= a for a, b in zip(self.times_s, self.times_s[1:])) + or any(x < 0 for x in self.generation) + ): + raise ValueError("invalid_frozen_PWL_drive") + + def __call__(self, time_s: float) -> OperatingInputs: + if not self.times_s[0] <= time_s <= self.times_s[-1]: + raise ValueError("drive_clock_outside_knots") + return OperatingInputs( + float(np.interp(time_s, self.times_s, self.voltage_V)), + float(np.interp(time_s, self.times_s, self.generation)), + ) + + def enclose(self, left: Fraction, right: Fraction) -> tuple[Ball, Ball]: + for i, (start, stop) in enumerate(zip(self.times_s, self.times_s[1:])): + if Fraction(start) <= left <= right <= Fraction(stop): + fraction = (_q(left) - _q(start)).union(_q(right) - _q(start)) / ( + _q(stop) - _q(start) + ) + return tuple( + _q(values[i]) + fraction * (_q(values[i + 1]) - _q(values[i])) + for values in (self.voltage_V, self.generation) + ) # type: ignore[return-value] + raise EnclosureBlocked("tube_crosses_drive_knot_or_jump") + + +@dataclass(frozen=True) +class _Evaluation: + rhs: tuple[Ball, ...] + scaled_jacobian: tuple[tuple[Ball, ...], ...] + coordinates: tuple[Ball, ...] + densities: tuple[Ball, ...] + kernel_error_bound: tuple[Ball, ...] = () + + +class NonlinearInventoryEnclosure: + """Verified physical reconstruction and interval AD of the E/I static law. + + B is eliminated analytically: densities equal inventories/CV measures, + fixed carrier densities equal their reference populations, and the + positive Dirichlet Poisson matrix is solved with Arb's verified inverse. + Coordinate reconstruction uses the actual voltage references and the + retained shifted finite-site formula, including its stored logit offset. + """ + + def __init__( + self, + problem: AssembledDC1DProblem | AssembledIonic1DProblem, + drive: PWLDrive, + component_scale: ArrayLike, + *, + branch_aware: bool = False, + ): + if not isinstance(problem, (AssembledDC1DProblem, AssembledIonic1DProblem)): + raise EnclosureBlocked("unsupported_assembled_problem") + self.problem, self.drive = problem, drive + if type(branch_aware) is not bool: + raise ValueError("branch_aware_must_be_boolean") + self.branch_aware = branch_aware + self.ion = ( + problem.device if isinstance(problem, AssembledIonic1DProblem) else None + ) + self.device = ( + problem.device + if isinstance(problem, AssembledDC1DProblem) + else problem.device.electronic_component + ) + e = self.device + if ( + e.field_transport is not None + or e.additional_recombination is not None + or e.recombination.explicit_defects is not None + or any(channel.kind != "fixed_reservoir" for channel in e.channels) + ): + raise EnclosureBlocked("unsupported_E_physics_or_contacts") + if self.ion is not None and ( + self.ion.ion_species_names != ("positive",) + or self.ion.ion_site_contract != "independent_finite_sites" + or self.ion.steric_model != DIFFUSION_ONLY_STERIC_V1 + or np.any(self.ion.positive_ion_diffusivity_faces_m2_s <= 0) + or self.ion.ion_node_indices[0] == 0 + or self.ion.ion_node_indices[-1] == e.node_count - 1 + ): + raise EnclosureBlocked("unsupported_I_scope") + self.n = e.node_count + self.size = 2 * (self.n - 2) + ( + 0 if self.ion is None else self.ion.ion_node_count + ) + self.scale = np.array(component_scale, dtype=float, copy=True) + if ( + self.scale.shape != (self.size,) + or np.any(self.scale <= 0) + or not np.all(np.isfinite(self.scale)) + ): + raise ValueError("positive_component_scales_required") + self.scale.setflags(write=False) + self.evaluations = 0 + with _flint().ctx.workprec(PRECISION): + C = [_q(x) for x in e.poisson.face_capacitance_F_m2] + matrix = [[_flint().arb(0) for _ in range(self.n - 2)] for _ in range(self.n - 2)] + for i in range(self.n - 2): + matrix[i][i] = C[i] + C[i + 1] + if i: + matrix[i][i - 1] = -C[i] + if i < self.n - 3: + matrix[i][i + 1] = -C[i + 1] + try: + self.poisson_inverse = _flint().arb_mat(matrix).inv() + except ZeroDivisionError as error: + raise EnclosureBlocked("verified_poisson_inverse_failed") from error + if not all(x.is_finite() for x in self.poisson_inverse.entries()): + raise EnclosureBlocked("verified_poisson_inverse_nonfinite") + + def evaluate( + self, + left: Fraction, + right: Fraction, + inventories: tuple[Ball, ...], + *, + derivatives: bool = True, + ) -> _Evaluation: + with _flint().ctx.workprec(PRECISION): + self.evaluations += 1 + if len(inventories) != self.size or not all( + z.is_finite() and z > 0 for z in inventories + ): + raise EnclosureBlocked("inventory_tube_not_positive") + size = self.size if derivatives else 0 + z = [] + for j, value in enumerate(inventories): + gradient = tuple( + _q(self.scale[j]) if i == j else _flint().arb(0) for i in range(size) + ) + z.append(_Jet(value, gradient)) + voltage, light = self.drive.enclose(left, right) + e, count = self.device, self.n + W = [_constant(x) for x in e.geometry.cell_measures_m] + n = [_constant(e.reference_electron_density_m3[0])] + p = [_constant(e.reference_hole_density_m3[0])] + n += [z[i - 1] / W[i] for i in range(1, count - 1)] + p += [z[count - 2 + i - 1] / W[i] for i in range(1, count - 1)] + n.append(_constant(e.reference_electron_density_m3[-1])) + p.append(_constant(e.reference_hole_density_m3[-1])) + populations: list[_Jet] = [] + if self.ion is not None: + ion = self.ion + populations = [ + z[2 * (count - 2) + i] / _constant(w) + for i, w in enumerate(ion.ion_geometry.cell_measures_m) + ] + if not all( + value.value < _q(cap) + for value, cap in zip(populations, ion.positive_ion_site_limit_m3) + ): + raise EnclosureBlocked("ion_tube_reaches_site_capacity") + rho = [ + p[i] + - n[i] + - _constant(e.parameters.acceptor_density_m3[i]) + + _constant(e.parameters.donor_density_m3[i]) + for i in range(count) + ] + if self.ion is not None: + for j, i in enumerate(self.ion.ion_node_indices): + rho[i] = rho[i] + _constant(self.ion.ion_charge_weight_ratio[j]) * ( + populations[j] + - _constant(self.ion.positive_ion_reference_m3[j]) + ) + rho = [_constant(ELEMENTARY_CHARGE_C) * value for value in rho] + left_phi = _constant(e.phi_left_V) + right_phi = ( + left_phi + + _constant(e.built_in_potential_V) + - _constant(e.voltage_polarity) * _constant(voltage) + ) + poisson_rhs = [rho[i] * W[i] for i in range(1, count - 1)] + poisson_rhs[0] = ( + poisson_rhs[0] + + _constant(e.poisson.face_capacitance_F_m2[0]) * left_phi + ) + poisson_rhs[-1] = ( + poisson_rhs[-1] + + _constant(e.poisson.face_capacitance_F_m2[-1]) * right_phi + ) + rhs_matrix = _flint().arb_mat( + [ + [value.value, *(value.gradient or (_flint().arb(0),) * size)] + for value in poisson_rhs + ] + ) + solved = self.poisson_inverse * rhs_matrix + phi = ( + [left_phi] + + [ + _Jet(solved[i, 0], tuple(solved[i, j + 1] for j in range(size))) + for i in range(count - 2) + ] + + [right_phi] + ) + vt = _constant(e.thermal_voltage_V) + bias = _constant(e.voltage_polarity) * _constant(voltage) + offsets = ( + (bias, _constant(0)) if e.voltage_polarity > 0 else (_constant(0), bias) + ) + qn, qp = [], [] + for i in range(count): + reference = _constant(e.reference_potential_V[i]) + qn.append( + (n[i] / _constant(e.reference_electron_density_m3[i])).log() + - (phi[i] - reference + offsets[0]) / vt + ) + qp.append( + -(p[i] / _constant(e.reference_hole_density_m3[i])).log() + - (phi[i] - reference + offsets[1]) / vt + ) + bands = e.parameters.band_structure + electron_potential = [ + phi[i] + _constant(bands.transport_electron_affinity_eV[i]) + for i in range(count) + ] + hole_potential = [ + electron_potential[i] + _constant(bands.transport_band_gap_eV[i]) + for i in range(count) + ] + fn, fp = [], [] + fn_error: list[Ball] = [] + fp_error: list[Ball] = [] + for i, spacing in enumerate(np.diff(e.nodes_m)): + en = -(electron_potential[i + 1] - electron_potential[i]) / vt + ep = (hole_potential[i + 1] - hole_potential[i]) / vt + fn.append( + _carrier_flux( + n[i], + n[i + 1], + en, + qn[i + 1] - qn[i], + _constant(e.electron_diffusivity_faces_m2_s[i]) + / _constant(spacing), + analytic=self.branch_aware, + ) + ) + fp.append( + _carrier_flux( + p[i], + p[i + 1], + ep, + qp[i] - qp[i + 1], + _constant(e.hole_diffusivity_faces_m2_s[i]) + / _constant(spacing), + analytic=self.branch_aware, + ) + ) + fn_error.append( + _carrier_branch_error( + n[i], + n[i + 1], + en, + qn[i + 1] - qn[i], + _constant(e.electron_diffusivity_faces_m2_s[i]) + / _constant(spacing), + ) + if self.branch_aware + else _flint().arb(0) + ) + fp_error.append( + _carrier_branch_error( + p[i], + p[i + 1], + ep, + qp[i] - qp[i + 1], + _constant(e.hole_diffusivity_faces_m2_s[i]) + / _constant(spacing), + ) + if self.branch_aware + else _flint().arb(0) + ) + coefficients = e.recombination.coefficients + source = [] + for i in range(count): + excess = n[i] * p[i] - _constant(coefficients.ni_sq_m6[i]) + if math.isinf(coefficients.tau_n_s[i]) or math.isinf( + coefficients.tau_p_s[i] + ): + srh = _constant(0) + else: + denominator = _constant(coefficients.tau_p_s[i]) * ( + n[i] + _constant(coefficients.n1_m3[i]) + ) + _constant(coefficients.tau_n_s[i]) * ( + p[i] + _constant(coefficients.p1_m3[i]) + ) + if not denominator.value > 0: + raise EnclosureBlocked("SRH_denominator_not_positive") + srh = excess / denominator + radiative = _constant(coefficients.radiative_m3_s[i]) * excess + auger = ( + _constant(coefficients.auger_n_m6_s[i]) * n[i] + + _constant(coefficients.auger_p_m6_s[i]) * p[i] + ) * excess + source.append( + ( + _constant(light) * _constant(e.generation.source_m3_s[i]) + - (srh + radiative + auger) + ) + * W[i] + ) + residual = [fn[i - 1] - fn[i] + source[i] for i in range(1, count - 1)] + residual += [fp[i - 1] - fp[i] + source[i] for i in range(1, count - 1)] + kernel_error = [fn_error[i - 1] + fn_error[i] for i in range(1, count - 1)] + kernel_error += [fp_error[i - 1] + fp_error[i] for i in range(1, count - 1)] + ion_coordinates: list[Ball] = [] + if self.ion is not None: + ion = self.ion + mu = [] + for value, cap in zip(populations, ion.positive_ion_site_limit_m3): + occupancy = value / _constant(cap) + if not occupancy.value < _q(0.999999): + raise EnclosureBlocked("ion_occupancy_clip_branch_not_enclosed") + mu.append(-(1 - occupancy).log()) + fluxes = [_constant(0)] + flux_errors = [_flint().arb(0)] + for i, spacing in enumerate(np.diff(ion.ion_geometry.nodes_m)): + xi = ( + ( + phi[ion.ion_node_indices[i + 1]] + - phi[ion.ion_node_indices[i]] + ) + / vt + + mu[i + 1] + - mu[i] + ) + fluxes.append( + _constant(ion.positive_ion_diffusivity_faces_m2_s[i]) + / _constant(spacing) + * ( + ( + _analytic_bernoulli(xi) + if self.branch_aware + else _bernoulli(xi, historical=True) + ) + * populations[i] + - ( + _analytic_bernoulli(-xi) + if self.branch_aware + else _bernoulli(-xi, historical=True) + ) + * populations[i + 1] + ) + ) + flux_errors.append( + ( + _q(ion.positive_ion_diffusivity_faces_m2_s[i]) + / _q(spacing) + * ( + populations[i].value.abs_upper() + * _bernoulli_gap(xi.value, historical=True) + + populations[i + 1].value.abs_upper() + * _bernoulli_gap(-xi.value, historical=True) + ) + ).abs_upper() + if self.branch_aware + else _flint().arb(0) + ) + fluxes.append(_constant(0)) + flux_errors.append(_flint().arb(0)) + residual += [a - b for a, b in zip(fluxes, fluxes[1:])] + kernel_error += [a + b for a, b in zip(flux_errors, flux_errors[1:])] + for value, pref, cap, logit in zip( + populations, + ion.positive_ion_reference_m3, + ion.positive_ion_site_limit_m3, + ion.positive_ion_logit_reference, + ): + P, P0, L, a = value.value, _q(pref), _q(cap), _q(logit).exp() + r = P0 / L + v, w = (P - P0) / (L * (1 - r)), (P0 - P) / (L * r) + positive = ((a + v) / (a * (1 - v))).log() + negative = ((1 - w) / (1 + a * w)).log() + coordinate = ( + positive + if P >= P0 + else negative + if P <= P0 + else positive.union(negative) + ) + if not coordinate.is_finite(): + raise EnclosureBlocked("finite_site_inverse_not_enclosed") + ion_coordinates.append(coordinate) + jacobian = tuple( + tuple( + value / _q(self.scale[i]) + for value in (row.gradient or (_flint().arb(0),) * size) + ) + for i, row in enumerate(residual) + ) + coordinates = tuple(value.value for value in (*phi, *qn, *qp)) + tuple( + ion_coordinates + ) + values = tuple(row.value for row in residual) + if not all( + x.is_finite() + for x in (*values, *coordinates, *(x for row in jacobian for x in row)) + ): + raise EnclosureBlocked("nonfinite_nonlinear_enclosure") + return _Evaluation( + values, + jacobian, + coordinates, + tuple(x.value for x in (*n, *p, *populations)), + tuple(value.abs_upper() for value in kernel_error), + ) + + +class _EnclosedInventoryDAE(InventoryDAE): + """Explicit precision adapter; the existing Radau stepping remains intact. + + A small physical-inventory correction must still change f even if it is + below the floating reconstruction stopping tolerance. This adapter obtains + U and f independently from the verified physical map, then requires the + original static F_A/S_D residual checks at exactly the same tolerance. + It does not classify its midpoint values themselves as certified output; + a trajectory still needs the separate whole-interval tube proof. + """ + + def __init__(self, base: InventoryDAE, enclosure: NonlinearInventoryEnclosure): + super().__init__( + base.layout, + base.evaluate, + base.differential_rows, + base.inventory_scale, + base.algebraic_scale, + base.inventory_capacity, + ) + object.__setattr__(self, "enclosure", enclosure) + + enclosure: NonlinearInventoryEnclosure + + def reconstruct( + self, + time_s: float, + inventory: ArrayLike, + guess: ArrayLike, + controls: RadauControls, + counters: RadauCounters, + *, + derivatives: bool = False, + ) -> InventoryPoint: + z = np.array(inventory, dtype=float, copy=True) + if ( + not math.isfinite(time_s) + or z.shape != self.inventory_scale.shape + or not np.all(np.isfinite(z)) + or np.asarray(guess).shape != (self.layout.size,) + ): + raise ValueError("invalid_enclosed_reconstruction_input") + if np.any(z <= 0) or ( + self.inventory_capacity is not None and np.any(z >= self.inventory_capacity) + ): + raise FloatingPointError("radau_inventory_outside_physical_domain") + counters.reconstructions += 1 + with _flint().ctx.workprec(PRECISION): + try: + enclosed = self.enclosure.evaluate( + Fraction(time_s), + Fraction(time_s), + tuple(_q(x) for x in z), + derivatives=derivatives, + ) + except EnclosureBlocked as error: + raise RadauFailure( + "radau_enclosed_reconstruction_blocked", time_s, z + ) from error + u = np.asarray([float(x.mid()) for x in enclosed.coordinates]) + rhs = np.asarray([float(x.mid()) for x in enclosed.rhs]) + if not np.all(np.isfinite(u)) or not np.all(np.isfinite(rhs)): + raise RadauFailure("radau_enclosed_midpoint_nonfinite", time_s, z) + jacobian = None + if derivatives: + jacobian = np.asarray( + [ + [ + float( + ( + x + * _q(self.inventory_scale[i]) + / _q(self.inventory_scale[j]) + ).mid() + ) + for j, x in enumerate(row) + ] + for i, row in enumerate(enclosed.scaled_jacobian) + ] + ) + static = self.assembled(time_s, u, counters) + assert static.S is not None + storage_error = static.S[list(self.differential_rows)] - z + algebraic_error = static.F[list(self.algebraic_rows)] + norm = float( + np.max( + np.abs( + np.r_[ + storage_error / self.inventory_scale, + algebraic_error / self.algebraic_scale, + ] + ) + ) + ) + if norm > controls.scaled_newton_tolerance: + raise RadauFailure("radau_enclosed_static_checks_failed", time_s, u) + for value in (z, u, rhs, storage_error, algebraic_error): + value.setflags(write=False) + if jacobian is not None: + if not np.all(np.isfinite(jacobian)): + raise RadauFailure("radau_enclosed_jacobian_nonfinite", time_s, u) + jacobian.setflags(write=False) + return InventoryPoint( + time_s, z, u, rhs, algebraic_error, storage_error, norm, jacobian + ) + + +def enclosed_inventory_dae( + problem: AssembledDC1DProblem | AssembledIonic1DProblem, + drive: PWLDrive, + *, + inventory_scale: ArrayLike, + algebraic_scale: ArrayLike, +) -> InventoryDAE: + """Opt-in independent enclosed point evaluation, with unchanged static checks.""" + base = assembled_inventory_dae( + problem, drive, inventory_scale=inventory_scale, algebraic_scale=algebraic_scale + ) + return _EnclosedInventoryDAE( + base, NonlinearInventoryEnclosure(problem, drive, inventory_scale) + ) + + +def _polynomial_range( + coefficients: Vector, + left: Fraction, + right: Fraction, + *, + derivative: bool = False, + correction: Vector | None = None, +) -> tuple[Ball, ...]: + degree, dimension = ( + coefficients.shape[0] - 1 - int(derivative), + coefficients.shape[1], + ) + a, width = _q(left), _q(right - left) + result = [] + for i in range(dimension): + values = [] + for j in range(degree + 1): + power = j + int(derivative) + value = _q(coefficients[power, i]) + if correction is not None: + value += _q(correction[power, i]) + values.append(value * (j + 1) if derivative else value) + powers = [ + sum( + ( + values[j] * math.comb(j, k) * a ** (j - k) * width**k + for j in range(k, degree + 1) + ), + _flint().arb(0), + ) + for k in range(degree + 1) + ] + bernstein = [ + sum( + ( + powers[k] * _q(Fraction(math.comb(j, k), math.comb(degree, k))) + for k in range(j + 1) + ), + _flint().arb(0), + ) + for j in range(degree + 1) + ] + value = bernstein[0] + for item in bernstein[1:]: + value = value.union(item) + result.append(value) + return tuple(result) + + +def _maximum(values: list[Ball] | tuple[Ball, ...]) -> Ball: + result = values[0] + for value in values[1:]: + result = result.union(value) + return result.upper() + + +@dataclass(frozen=True) +class NonlinearTubeResult: + """A local polynomial certificate, never a complete scope certificate. + + ``error_upper`` bounds the exact polynomial encoded by the stored words. + It does not include floating evaluation at arbitrary output clocks. + ``reconstruction_error_upper`` separately covers stored endpoint + coordinates; physical current, charge and protocol certificates are absent. + """ + + status: str + reason: str + tube_proved: bool + error_upper: float | None + conditional_majorant: float | None + log_norm_upper: float | None + defect_upper: float | None + completed_slabs: int + evaluation_count: int + reconstruction_error_upper: tuple[float, ...] = () + reference_qualified: bool = False + error_target: str = "exact_encoded_inventory_polynomial" + + +def nonlinear_tube_bound( + enclosure: NonlinearInventoryEnclosure, + trajectory: RadauTrajectory, + *, + initial_error: float, + tube_radius: float, + subdivisions: int = 2, + coefficient_corrections: tuple[Vector, ...] | None = None, + initial_inventory_correction: ArrayLike | None = None, +) -> NonlinearTubeResult: + """Sufficient tube test; a failed bootstrap never returns an error bound. + + The returned conditional majorant is diagnostic only if the assumed tube + fails to close. The exact IVP starts in the supplied scaled initial ball; + this function cannot establish the provenance of that initial uncertainty. + Optional correction words are added in Arb before evaluating the initial + center, polynomial, derivative or jump. They are never added in binary64. + """ + if getattr(enclosure, "branch_aware", False): + raise ValueError("branch_aware_enclosure_requires_positive_polynomial_tube") + if ( + not math.isfinite(initial_error) + or initial_error < 0 + or not math.isfinite(tube_radius) + or tube_radius <= 0 + or type(subdivisions) is not int + or not 1 <= subdivisions <= 16 + ): + raise ValueError("invalid_nonlinear_tube_controls") + if coefficient_corrections is not None and ( + len(coefficient_corrections) != len(trajectory.steps) + or any( + value.shape != (4, enclosure.size) or not np.all(np.isfinite(value)) + for value in coefficient_corrections + ) + ): + raise ValueError("invalid_polynomial_correction_words") + initial_low = ( + np.zeros(enclosure.size) + if initial_inventory_correction is None + else np.asarray(initial_inventory_correction, dtype=float) + ) + if initial_low.shape != (enclosure.size,) or not np.all(np.isfinite(initial_low)): + raise ValueError("invalid_initial_inventory_correction_words") + count = 0 + last_mu = last_defect = conditional = None + start_count = enclosure.evaluations + with _flint().ctx.workprec(PRECISION): + error = _q(initial_error) + maximum = error + last_center = tuple( + _q(x) + _q(low) for x, low in zip(trajectory.initial.inventory, initial_low) + ) + centers = [last_center] + previous_time = Fraction(trajectory.initial.time_s) + try: + if not trajectory.steps: + raise EnclosureBlocked("empty_trajectory_has_no_time_tube") + if trajectory.initial.inventory.shape != (enclosure.size,): + raise EnclosureBlocked("trajectory_inventory_dimension_mismatch") + for index, step in enumerate(trajectory.steps): + low = ( + None + if coefficient_corrections is None + else coefficient_corrections[index] + ) + if Fraction(step.left_s) != previous_time: + raise EnclosureBlocked("trajectory_clock_gap") + if not step.right_s > step.left_s: + raise EnclosureBlocked("trajectory_clock_not_increasing") + if step.coefficients.shape != (4, enclosure.size): + raise EnclosureBlocked("trajectory_polynomial_shape_mismatch") + if not np.all(np.isfinite(step.coefficients)): + raise EnclosureBlocked("trajectory_polynomial_nonfinite") + if ( + step.endpoint.time_s != step.right_s + or step.endpoint.u.shape != trajectory.initial.u.shape + ): + raise EnclosureBlocked("trajectory_endpoint_mismatch") + jump = _maximum( + tuple( + ( + _q(step.coefficients[0, i]) + + (_flint().arb(0) if low is None else _q(low[0, i])) + - last_center[i] + ).abs_upper() + / _q(enclosure.scale[i]) + for i in range(enclosure.size) + ) + ) + error += jump + h = Fraction(step.right_s) - Fraction(step.left_s) + for part in range(subdivisions): + a, b = ( + Fraction(part, subdivisions), + Fraction(part + 1, subdivisions), + ) + left, right = ( + Fraction(step.left_s) + a * h, + Fraction(step.left_s) + b * h, + ) + center = _polynomial_range(step.coefficients, a, b, correction=low) + tube = tuple( + _box(value, _q(tube_radius) * _q(scale)) + for value, scale in zip(center, enclosure.scale) + ) + tube_evaluation = enclosure.evaluate(left, right, tube) + row_bounds = [ + row[i].upper() + + sum( + (x.abs_upper() for j, x in enumerate(row) if j != i), _flint().arb(0) + ) + for i, row in enumerate(tube_evaluation.scaled_jacobian) + ] + mu = row_bounds[0] + for value in row_bounds[1:]: + mu = mu.union(value) + mu = mu.upper() + last_mu = _upper(mu) + central = enclosure.evaluate(left, right, center, derivatives=False) + # Derivative coefficients remain exact input words times + # integer powers; divide by the exact binary64 clock gap. + derivative = _polynomial_range( + step.coefficients, a, b, derivative=True, correction=low + ) + defect = [ + ((rate / _q(h)) - rhs).abs_upper() / _q(scale) + for rate, rhs, scale in zip( + derivative, central.rhs, enclosure.scale + ) + ] + delta = defect[0] + for value in defect[1:]: + delta = delta.union(value) + delta = delta.upper() + last_defect = _upper(delta) + width = _q(right - left) + if mu * width > 50: + raise EnclosureBlocked( + "log_norm_propagation_exponent_exceeds_50" + ) + growth = (mu * width).exp() + integral = width if mu.is_zero() else (mu * width).expm1() / mu + after = (growth * error + integral * delta).upper() + majorant = error.union(after).upper() + conditional = _upper(majorant) + if not majorant < _q(tube_radius): + raise EnclosureBlocked("tube_bootstrap_did_not_close") + maximum = maximum.union(majorant).upper() + error = after + count += 1 + last_center = tuple( + sum( + ( + _q(step.coefficients[k, i]) + + (_flint().arb(0) if low is None else _q(low[k, i])) + for k in range(4) + ), + _flint().arb(0), + ) + for i in range(enclosure.size) + ) + centers.append(last_center) + previous_time = Fraction(step.right_s) + # Independent reconstruction/evaluation terms at saved endpoints. + reconstruction = [0.0] * trajectory.initial.u.size + for point, center in zip( + (trajectory.initial, *(step.endpoint for step in trajectory.steps)), + centers, + ): + # p(1) is an exact sum of stored words; point.inventory is a + # separately rounded Horner output. Include that discrepancy. + boxes = tuple( + _box(value, maximum * _q(scale)) + for value, scale in zip(center, enclosure.scale) + ) + exact = enclosure.evaluate( + Fraction(point.time_s), + Fraction(point.time_s), + boxes, + derivatives=False, + ) + reconstruction = [ + max(old, _upper((value - _q(stored)).abs_upper())) + for old, value, stored in zip( + reconstruction, exact.coordinates, point.u + ) + ] + return NonlinearTubeResult( + "reference_blocked", + "unit_tube_proved_but_scope_gate_initial_and_observation_certificates_pending", + True, + _upper(maximum), + conditional, + last_mu, + last_defect, + count, + enclosure.evaluations - start_count, + tuple(reconstruction), + ) + except EnclosureBlocked as failure: + return NonlinearTubeResult( + "reference_blocked", + str(failure), + False, + None, + conditional, + last_mu, + last_defect, + count, + enclosure.evaluations - start_count, + ) + + +@dataclass(frozen=True) +class PolynomialPath: + """Complete saved split-polynomial data; no time integrator or fake stages.""" + + step_times_s: Vector + coefficients_high: Vector + coefficients_low: Vector + initial_high: Vector + initial_low: Vector + initial_u: Vector + endpoint_u: Vector + original_scale: Vector + + def __post_init__(self) -> None: + for name in self.__dataclass_fields__: + value = np.array(getattr(self, name), dtype=float, copy=True) + if not np.all(np.isfinite(value)): + raise ValueError("saved_polynomial_nonfinite") + value.setflags(write=False) + object.__setattr__(self, name, value) + if self.coefficients_high.ndim != 3: + raise ValueError("saved_polynomial_shape_mismatch") + steps, size = self.coefficients_high.shape[0], self.initial_high.size + if ( + steps == 0 + or size == 0 + or self.initial_high.shape != (size,) + or self.initial_low.shape != (size,) + or self.original_scale.shape != (size,) + or np.any(self.original_scale <= 0) + or self.coefficients_high.shape != (steps, 4, size) + or self.coefficients_low.shape != self.coefficients_high.shape + or self.step_times_s.shape != (steps, 2) + or self.initial_u.ndim != 1 + or self.endpoint_u.shape != (steps, self.initial_u.size) + ): + raise ValueError("saved_polynomial_shape_mismatch") + times = self.step_times_s + if np.any(times[:, 1] <= times[:, 0]) or not np.array_equal( + times[:-1, 1], times[1:, 0] + ): + raise ValueError("saved_polynomial_clock_gap") + + +@dataclass(frozen=True) +class PositiveTubeResult: + status: str + reason: str + tube_proved: bool + error_upper: float | None + log_error_upper: float | None + completed_slabs: int + evaluation_count: int + slabs: tuple[dict[str, Any], ...] + component_inventory_error_upper: tuple[float, ...] = () + reconstruction_error_upper: tuple[float, ...] = () + reference_qualified: bool = False + error_target: str = "encoded_inventory_polynomial_in_original_saved_scale" + comparison_scope: str = ( + "solutions_of_the_retained_field_enclosed_by_nominal_plus_bounded_forcing" + ) + target_existence_and_uniqueness_certified: bool = False + + +def _log_inventory_jacobian( + evaluation: _Evaluation, inventories: tuple[Ball, ...], scale: Vector +) -> tuple[tuple[Ball, ...], ...]: + """Jacobian of G(z)/z with respect to log(z), before norm weighting.""" + return tuple( + tuple( + value - evaluation.rhs[i] / inventories[i] + if i == j + else value + * (_q(scale[i]) * inventories[j]) + / (_q(scale[j]) * inventories[i]) + for j, value in enumerate(row) + ) + for i, row in enumerate(evaluation.scaled_jacobian) + ) + + +def positive_polynomial_tube( + enclosure: NonlinearInventoryEnclosure, + path: PolynomialPath, + *, + initial_log_error: float, + log_radius: float, + subdivisions: int = 2, + log_weights: ArrayLike | None = None, +) -> PositiveTubeResult: + """Positive tube z_i=p_i*exp(e_i), with |e_i|<=radius*w_i. + + For an analytic nominal G and retained F=G+eta, the comparison uses + A_ij=(z_j/z_i)*G_z,ij-delta_ij*G_i/z_i, scaled by w_j/w_i. + The center defect is (p'-G(t,p))/p; the separately bounded forcing + eta/z is added once on the full tube. This encloses the retained + branch values without differentiating their discontinuous switch. + Existence/uniqueness of the retained target and full reference + qualification remain separate obligations even if inclusion closes. + """ + if not getattr(enclosure, "branch_aware", False): + raise ValueError("positive_tube_requires_branch_aware_field") + size = enclosure.size + if path.initial_high.size != size: + raise ValueError("positive_tube_inventory_dimension_mismatch") + weights: Vector = ( + np.ones(size) if log_weights is None else np.asarray(log_weights, dtype=float) + ) + if ( + not math.isfinite(initial_log_error) + or initial_log_error < 0 + or not math.isfinite(log_radius) + or log_radius <= 0 + or type(subdivisions) is not int + or not 1 <= subdivisions <= 16 + or weights.shape != (size,) + or not np.all(np.isfinite(weights)) + or np.any(weights <= 0) + ): + raise ValueError("invalid_positive_tube_controls") + start_count = enclosure.evaluations + slabs: list[dict[str, Any]] = [] + completed = 0 + with _flint().ctx.workprec(PRECISION): + error, maximum = _q(initial_log_error), _q(initial_log_error) + centers = [ + tuple( + _q(hi) + _q(lo) for hi, lo in zip(path.initial_high, path.initial_low) + ) + ] + previous = centers[0] + component_error = [_flint().arb(0) for _ in range(size)] + try: + if not all(z > 0 for z in previous): + raise EnclosureBlocked("initial_inventory_not_positive") + for index, (start, stop) in enumerate(path.step_times_s): + high, low = path.coefficients_high[index], path.coefficients_low[index] + first = tuple(_q(high[0, i]) + _q(low[0, i]) for i in range(size)) + if not all(z > 0 for z in first): + raise EnclosureBlocked("saved_polynomial_start_not_positive") + jump = _maximum( + tuple( + (before / after).log().abs_upper() / _q(w) + for before, after, w in zip(previous, first, weights) + ) + ) + error += jump + h = Fraction(float(stop)) - Fraction(float(start)) + for part in range(subdivisions): + a, b = ( + Fraction(part, subdivisions), + Fraction(part + 1, subdivisions), + ) + left, right = ( + Fraction(float(start)) + a * h, + Fraction(float(start)) + b * h, + ) + record: dict[str, Any] = { + "step": index, + "part": part, + "left_s": float(left), + "right_s": float(right), + "log_radius": log_radius, + "center_jump_upper": _upper(jump) if part == 0 else 0.0, + "closed": False, + } + slabs.append(record) + center = _polynomial_range(high, a, b, correction=low) + if not all(z > 0 for z in center): + raise EnclosureBlocked("saved_polynomial_range_not_positive") + tube = tuple( + value + * ( + (-_q(log_radius) * _q(w)) + .exp() + .union((_q(log_radius) * _q(w)).exp()) + ) + for value, w in zip(center, weights) + ) + if not all(z > 0 for z in tube): + raise EnclosureBlocked( + "multiplicative_tube_not_representably_positive" + ) + record["positive_tube"] = True + broad = enclosure.evaluate(left, right, tube) + if ( + len(broad.rhs) != size + or len(broad.scaled_jacobian) != size + or any(len(row) != size for row in broad.scaled_jacobian) + ): + raise EnclosureBlocked("nominal_field_shape_mismatch") + if len(broad.kernel_error_bound) != size or not all( + x.is_finite() and x >= 0 for x in broad.kernel_error_bound + ): + raise EnclosureBlocked( + "missing_or_invalid_retained_kernel_error" + ) + record["nominal_and_retained_field_enclosed"] = True + rows: list[Ball] = [] + for i, row in enumerate( + _log_inventory_jacobian(broad, tube, enclosure.scale) + ): + terms = [] + for j, value in enumerate(row): + term = value * (_q(weights[j]) / _q(weights[i])) + terms.append(term.upper() if i == j else term.abs_upper()) + rows.append(sum(terms, _flint().arb(0)).upper()) + mu = _maximum(tuple(rows)) + nominal = enclosure.evaluate(left, right, center, derivatives=False) + if len(nominal.rhs) != size: + raise EnclosureBlocked("nominal_field_shape_mismatch") + derivative = _polynomial_range( + high, a, b, derivative=True, correction=low + ) + defect = _maximum( + tuple( + ((d / _q(h) - f) / p / _q(w)).abs_upper() + for d, f, p, w in zip( + derivative, nominal.rhs, center, weights + ) + ) + ) + perturbation = _maximum( + tuple( + (eps / z / _q(w)).abs_upper() + for eps, z, w in zip( + broad.kernel_error_bound, tube, weights + ) + ) + ) + width = _q(right - left) + record.update( + log_norm_upper=_upper(mu), + nominal_defect_upper=_upper(defect), + retained_kernel_perturbation_upper=_upper(perturbation), + propagation_exponent_upper=_upper(mu * width), + dominant_log_row_approx=int( + np.argmax([float(row) for row in rows]) + ), + ) + if mu * width > 50: + raise EnclosureBlocked( + "positive_log_norm_propagation_exponent_exceeds_50" + ) + growth = (mu * width).exp() + integral = width if mu.is_zero() else (mu * width).expm1() / mu + after = ( + growth * error + integral * (defect + perturbation) + ).upper() + majorant = error.union(after).upper() + record["conditional_log_majorant"] = _upper(majorant) + if not majorant < _q(log_radius): + raise EnclosureBlocked("positive_tube_bootstrap_did_not_close") + record["closed"] = True + completed += 1 + maximum = maximum.union(majorant).upper() + for i, (p, w) in enumerate(zip(center, weights)): + local = (p.abs_upper() * (majorant * _q(w)).expm1()).abs_upper() + component_error[i] = component_error[i].union(local).upper() + error = after + previous = tuple( + sum((_q(high[k, i]) + _q(low[k, i]) for k in range(4)), _flint().arb(0)) + for i in range(size) + ) + centers.append(previous) + reconstruction = [0.0] * path.initial_u.size + times = [float(path.step_times_s[0, 0]), *path.step_times_s[:, 1].tolist()] + for time_s, center, stored in zip( + times, centers, (path.initial_u, *path.endpoint_u) + ): + box = tuple( + z * ((-maximum * _q(w)).exp().union((maximum * _q(w)).exp())) + for z, w in zip(center, weights) + ) + exact = enclosure.evaluate( + Fraction(time_s), Fraction(time_s), box, derivatives=False + ) + if len(exact.coordinates) != path.initial_u.size: + raise EnclosureBlocked("positive_tube_coordinate_shape_mismatch") + reconstruction = [ + max(old, _upper((value - _q(word)).abs_upper())) + for old, value, word in zip( + reconstruction, exact.coordinates, stored + ) + ] + scaled_error = _maximum( + tuple( + value / _q(scale) + for value, scale in zip(component_error, path.original_scale) + ) + ) + return PositiveTubeResult( + "reference_blocked", + "positive_comparison_tube_closed_full_reference_certificates_pending", + True, + _upper(scaled_error), + _upper(maximum), + completed, + enclosure.evaluations - start_count, + tuple(slabs), + tuple(_upper(value) for value in component_error), + tuple(reconstruction), + ) + except EnclosureBlocked as failure: + if slabs: + slabs[-1]["failure"] = str(failure) + return PositiveTubeResult( + "reference_blocked", + str(failure), + False, + None, + None, + completed, + enclosure.evaluations - start_count, + tuple(slabs), + ) + + +def _weighted_rows( + matrix: tuple[tuple[Ball, ...], ...], weights: tuple[Ball, ...] +) -> tuple[Ball, ...]: + return tuple( + row[i] + + sum( + (value * weights[j] / weights[i] for j, value in enumerate(row) if j != i), + _flint().arb(0), + ) + for i, row in enumerate(matrix) + ) + + +def weighted_logarithmic_norm_upper( + jacobian: tuple[tuple[Ball, ...], ...], weights: ArrayLike +) -> float: + """Verified infinity mu(D*J*D^-1), D=diag(1/weights). + + Every entry may enclose a whole time/state interval. The binary64 + positive weights are exact proposal data; no eigensolver is trusted. + """ + values = np.asarray(weights, dtype=float) + size = len(jacobian) + if ( + size == 0 + or any(len(row) != size for row in jacobian) + or values.shape != (size,) + or not np.all(np.isfinite(values)) + or np.any(values <= 0) + ): + raise ValueError("invalid_diagonal_norm_inputs") + with _flint().ctx.workprec(PRECISION): + matrix = tuple( + tuple( + (x if isinstance(x, _flint().arb) else _q(x)).upper() + if i == j + else (x if isinstance(x, _flint().arb) else _q(x)).abs_upper() + for j, x in enumerate(row) + ) + for i, row in enumerate(jacobian) + ) + return max( + _upper(row) for row in _weighted_rows(matrix, tuple(map(_q, values))) + ) + + +def _diagonal_weight_proposals( + global_matrix: Vector, first_matrix: Vector, initial: Vector +) -> tuple[tuple[tuple[str, Vector], ...], tuple[dict[str, str], ...]]: + """Untrusted finite proposals; positivity and all bounds are checked later. + + The inverse-inventory square root corresponds to inventory-weighted + quadratic log deviations. Perron/resolvent proposals minimize the + Metzler row-sum envelope, without changing any physical matrix entry. + Resolvents only condition the proposal calculation; they are not used + in the propagation certificate. + """ + candidates = [("uniform", np.ones(initial.size))] + rejected: list[dict[str, str]] = [] + logs = np.log(initial) + for power, name in ((0.5, "inverse_inventory_sqrt"), (1.0, "inverse_inventory")): + candidates.append((name, np.exp(-power * (logs - logs.min())))) + for label, matrix in (("global", global_matrix), ("first_slab", first_matrix)): + magnitude = float(np.max(np.abs(matrix))) + if magnitude == 0.0: + continue + scaled = matrix / magnitude + try: + eigenvalues, eigenvectors = np.linalg.eig(scaled) + index = int(np.argmax(eigenvalues.real)) + rho = float(eigenvalues[index].real) + candidates.append((label + "_perron", np.abs(eigenvectors[:, index]))) + for bits in (8, 16, 24): + name = label + f"_resolvent_2m{bits}" + try: + vector = np.linalg.solve( + (rho + 2.0 ** (-bits)) * np.eye(initial.size) - scaled, + np.ones(initial.size), + ) + candidates.append((name, vector)) + except np.linalg.LinAlgError as error: + rejected.append({"candidate": name, "reason": str(error)}) + except np.linalg.LinAlgError as error: + rejected.append({"candidate": label + "_eigen", "reason": str(error)}) + accepted = [] + for name, raw in candidates: + if not np.all(np.isfinite(raw)) or np.any(raw <= 0): + rejected.append({"candidate": name, "reason": "nonpositive_or_nonfinite"}) + continue + value = np.array(raw / np.max(raw), dtype=float) + if not np.all(np.isfinite(value)) or np.any(value <= 0) or np.any(value > 1): + rejected.append({"candidate": name, "reason": "invalid_normalization"}) + continue + value.setflags(write=False) + accepted.append((name, value)) + return tuple(accepted), tuple(rejected) + + +@dataclass(frozen=True) +class WeightedTubeResult: + status: str + reason: str + selected_candidate: str | None + selected_weights: tuple[float, ...] + best_exponent_upper: float | None + best_first_slab_exponent_upper: float | None + enclosed_slabs: int + evaluation_count: int + candidates: tuple[dict[str, Any], ...] + rejected_candidates: tuple[dict[str, str], ...] + slabs: tuple[dict[str, Any], ...] + comparison_matrices: Vector + tube_bound: PositiveTubeResult | None = None + reference_qualified: bool = False + + +def weighted_positive_polynomial_tube( + enclosure: NonlinearInventoryEnclosure, + path: PolynomialPath, + *, + initial_log_error: float, + log_radius: float, + subdivisions: int = 2, +) -> WeightedTubeResult: + """Select constant diagonal weights on verified whole-slab enclosures. + + First enclose each log-Jacobian on the original positive outer tube. + Its diagonal upper bounds and off-diagonal absolute upper bounds make + a Metzler majorant. Candidate weights are verified in Arb on every + such matrix, not on sampled Jacobians. They satisfy max(w)=1, so the + later weighted tube cannot expand the original physical log radius. + The selected fixed weights are used for the complete existing tube + computation only if every certified exponent clears its original cap. + """ + if ( + not getattr(enclosure, "branch_aware", False) + or path.initial_high.size != enclosure.size + or not math.isfinite(initial_log_error) + or initial_log_error < 0 + or not math.isfinite(log_radius) + or log_radius <= 0 + or type(subdivisions) is not int + or not 1 <= subdivisions <= 16 + ): + raise ValueError("invalid_weighted_tube_controls") + start_count, size = enclosure.evaluations, enclosure.size + matrices: list[Vector] = [] + widths: list[Fraction] = [] + slabs: list[dict[str, Any]] = [] + certificates: list[dict[str, Any]] = [] + rejected: tuple[dict[str, str], ...] = () + selected: dict[str, Any] | None = None + tube_bound: PositiveTubeResult | None = None + with _flint().ctx.workprec(PRECISION): + try: + initial = tuple( + _q(hi) + _q(lo) for hi, lo in zip(path.initial_high, path.initial_low) + ) + if not all(z > 0 for z in initial): + raise EnclosureBlocked("initial_inventory_not_positive") + factor = (-_q(log_radius)).exp().union(_q(log_radius).exp()) + for step, (start, stop) in enumerate(path.step_times_s): + h = Fraction(float(stop)) - Fraction(float(start)) + for part in range(subdivisions): + a, b = ( + Fraction(part, subdivisions), + Fraction(part + 1, subdivisions), + ) + left = Fraction(float(start)) + a * h + right = Fraction(float(start)) + b * h + center = _polynomial_range( + path.coefficients_high[step], + a, + b, + correction=path.coefficients_low[step], + ) + if not all(z > 0 for z in center): + raise EnclosureBlocked("saved_polynomial_range_not_positive") + box = tuple(z * factor for z in center) + field = enclosure.evaluate(left, right, box) + if ( + len(field.rhs) != size + or len(field.scaled_jacobian) != size + or any(len(row) != size for row in field.scaled_jacobian) + ): + raise EnclosureBlocked("nominal_field_shape_mismatch") + jacobian = _log_inventory_jacobian(field, box, enclosure.scale) + matrix = np.array( + [ + [ + _upper(value if i == j else value.abs_upper()) + for j, value in enumerate(row) + ] + for i, row in enumerate(jacobian) + ] + ) + matrix.setflags(write=False) + matrices.append(matrix) + widths.append(right - left) + slabs.append( + { + "step": step, + "part": part, + "left_s": float(left), + "right_s": float(right), + } + ) + global_matrix = np.max(np.stack(matrices), axis=0) + proposals, rejected = _diagonal_weight_proposals( + global_matrix, matrices[0], np.array([float(z) for z in initial]) + ) + exact_matrices = tuple( + tuple(tuple(map(_q, row)) for row in matrix) for matrix in matrices + ) + exact_global = tuple(tuple(map(_q, row)) for row in global_matrix) + for label, weights in proposals: + w = tuple(map(_q, weights)) + upper = tuple( + max(_upper(row) for row in _weighted_rows(matrix, w)) + for matrix in exact_matrices + ) + exponents = tuple( + _upper(_q(mu) * _q(width)) for mu, width in zip(upper, widths) + ) + ratios = _weighted_rows(exact_global, w) + lower = min( + math.nextafter(float(value.lower()), -math.inf) for value in ratios + ) + global_upper = max(_upper(value) for value in ratios) + certificates.append( + { + "candidate": label, + "weights": weights.tolist(), + "weight_min": float(weights.min()), + "weight_max": float(weights.max()), + "log_norm_upper_per_slab": upper, + "exponent_upper_per_slab": exponents, + "worst_exponent_upper": max(exponents), + "global_comparison_abscissa_lower": lower, + "global_comparison_abscissa_upper": global_upper, + "spectral_bracket_scope": "Metzler interval majorant only; not the physical Jacobian", + } + ) + selected = min(certificates, key=lambda c: c["worst_exponent_upper"]) + if selected["worst_exponent_upper"] > 50: + reason = "weighted_log_norm_propagation_exponent_exceeds_50" + else: + tube_bound = positive_polynomial_tube( + enclosure, + path, + initial_log_error=initial_log_error, + log_radius=log_radius, + subdivisions=subdivisions, + log_weights=selected["weights"], + ) + reason = tube_bound.reason + except EnclosureBlocked as error: + reason = str(error) + packed = np.stack(matrices) if matrices else np.empty((0, size, size)) + packed.setflags(write=False) + return WeightedTubeResult( + "reference_blocked", + reason, + None if selected is None else selected["candidate"], + () if selected is None else tuple(selected["weights"]), + None if selected is None else selected["worst_exponent_upper"], + None if selected is None else selected["exponent_upper_per_slab"][0], + len(matrices), + enclosure.evaluations - start_count, + tuple(certificates), + rejected, + tuple(slabs), + packed, + tube_bound, + ) diff --git a/src/solarlab/solvers/time/radau_reference.py b/src/solarlab/solvers/time/radau_reference.py new file mode 100644 index 00000000..6df562ef --- /dev/null +++ b/src/solarlab/solvers/time/radau_reference.py @@ -0,0 +1,567 @@ +"""Independent, fixed-grid Radau IIA(3) in physical control-volume inventories. + +Only static assembled F/J/S/S_u are shared with other time routes. Each +stage and output solves [S_D(u)-z, F_A(t,u)]=0; no coordinate interpolation, +BDF history, storage secants, time-step selection or accounting is reused. +The cubic inventory polynomial is retained verbatim, including the defect +of an inexact stage solve. A successful numerical trajectory is unqualified. + +``linear_tube_bound`` is a small exact-rational certificate for a DECLARED +constant affine reduced ODE, not an enclosure of nonlinear device physics. +It bounds the exact polynomial encoded by binary64 coefficients, its jumps, +initial uncertainty and output-evaluation roundoff. Nonlinear E/I physics, +Poisson reconstruction and terminal-observable enclosures remain required +before these trajectories can supply C2 admission references. + +Integration conditions: optional, unqualified reference infrastructure for +restricted declared E/I inputs and analytic unit fixtures only. Independence +is static-only: no BDF stepping, history, interpolation or accounting is used. +Retained failed attempts stay failures and qualification flags stay false. +Any future nonzero initial uncertainty must be expressed in the selected +weighted log norm; a numerical trajectory alone does not qualify a reference. +""" + +from __future__ import annotations + +from collections.abc import Callable, Sequence +from dataclasses import dataclass, field +from fractions import Fraction +import math +from typing import TypeAlias + +import numpy as np +from numpy.typing import ArrayLike, NDArray + +from solarlab.equations.assembly.assembler import AssembledSystem +from solarlab.equations.assembly.classical_1d import AssembledDC1DProblem +from solarlab.equations.assembly.ionic_1d import AssembledIonic1DProblem +from solarlab.equations.assembly.layout import SystemLayout +from solarlab.equations.assembly.terms import OperatingInputs +from solarlab.physics.ions import DIFFUSION_ONLY_STERIC_V1 + +__all__ = [ + "InventoryDAE", "InventoryPoint", "LinearTubeBound", "RadauControls", + "RadauCounters", "RadauFailure", "RadauStep", "RadauTrajectory", + "assembled_inventory_dae", "integrate_radau", "linear_tube_bound", +] + +Vector: TypeAlias = NDArray[np.float64] +Evaluate: TypeAlias = Callable[[float, Vector], AssembledSystem] +Drive: TypeAlias = Callable[[float], OperatingInputs] + + +def _frozen(value: ArrayLike) -> Vector: + result = np.array(value, dtype=float, copy=True) + if not np.all(np.isfinite(result)): + raise ValueError("radau_nonfinite_array") + result.setflags(write=False) + return result + + +_ROOT6 = math.sqrt(6.0) +_C = _frozen([(4 - _ROOT6) / 10, (4 + _ROOT6) / 10, 1.0]) +_A = _frozen([ + [(88 - 7 * _ROOT6) / 360, (296 - 169 * _ROOT6) / 1800, (-2 + 3 * _ROOT6) / 225], + [(296 + 169 * _ROOT6) / 1800, (88 + 7 * _ROOT6) / 360, (-2 - 3 * _ROOT6) / 225], + [(16 - _ROOT6) / 36, (16 + _ROOT6) / 36, 1 / 9], +]) +# Columns are the three Lagrange basis polynomials in ascending powers. +_BASIS = _frozen(np.linalg.solve(np.vander(_C, 3, increasing=True), np.eye(3))) + + +@dataclass(frozen=True) +class RadauControls: + """Numerical solve controls only; none is a physical admission gate.""" + + scaled_newton_tolerance: float = 1.0e-12 + max_newton_iterations: int = 16 + max_backtracks: int = 12 + max_steps: int = 4096 + + def __post_init__(self) -> None: + if not math.isfinite(self.scaled_newton_tolerance) or self.scaled_newton_tolerance <= 0: + raise ValueError("radau_invalid_newton_tolerance") + for count in (self.max_newton_iterations, self.max_backtracks, self.max_steps): + if type(count) is not int or count <= 0: + raise ValueError("radau_invalid_iteration_cap") + + +@dataclass +class RadauCounters: + assembly_evaluations: int = 0 + reconstructions: int = 0 + reconstruction_updates: int = 0 + stage_updates: int = 0 + linear_solves: int = 0 + output_reconstructions: int = 0 + + +class RadauFailure(RuntimeError): + """Retained failed trial plus all completed steps; no automatic retry.""" + + def __init__(self, code: str, time_s: float, trial: ArrayLike): + super().__init__(code) + self.code = code + self.time_s = time_s + self.trial = _frozen(trial) + self.completed_steps: tuple[RadauStep, ...] = () + self.failed_step: int | None = None + + +def _solve(matrix: Vector, rhs: Vector, counters: RadauCounters) -> Vector: + counters.linear_solves += 1 + result: Vector = np.linalg.solve(matrix, rhs) + if not np.all(np.isfinite(result)): + raise FloatingPointError("radau_nonfinite_linear_solution") + return result + + +@dataclass(frozen=True) +class InventoryPoint: + time_s: float + inventory: Vector + u: Vector + rhs: Vector + algebraic_residual: Vector + inventory_residual: Vector + scaled_reconstruction_residual: float + rhs_jacobian: Vector | None = None + + +@dataclass(frozen=True) +class InventoryDAE: + """Index-1 map using an explicit partition and dimensional row scales. + + ``differential_rows`` identifies physical storage rows, not coordinates + whose derivative happens to be nonzero at a single state. All remaining + rows, including interior Poisson rows, are algebraic. The reduced map + exists where B=[S_u[D,:]; J[A,:]] is nonsingular. A floating Newton solve + neither proves nonsingularity on a tube nor certifies its inverse. + """ + + layout: SystemLayout + evaluate: Evaluate + differential_rows: tuple[int, ...] + inventory_scale: Vector + algebraic_scale: Vector + inventory_capacity: Vector | None = None + algebraic_rows: tuple[int, ...] = field(init=False) + + def __post_init__(self) -> None: + rows = self.differential_rows + if (not rows or any(type(row) is not int for row in rows) + or tuple(sorted(set(rows))) != rows or rows[0] < 0 or rows[-1] >= self.layout.size): + raise ValueError("radau_invalid_differential_partition") + algebraic = tuple(row for row in range(self.layout.size) if row not in rows) + for value, size in ((self.inventory_scale, len(rows)), (self.algebraic_scale, len(algebraic))): + array = np.asarray(value) + if array.shape != (size,) or not np.all(np.isfinite(array)) or np.any(array <= 0): + raise ValueError("radau_requires_explicit_positive_row_scales") + object.__setattr__(self, "algebraic_rows", algebraic) + object.__setattr__(self, "inventory_scale", _frozen(self.inventory_scale)) + object.__setattr__(self, "algebraic_scale", _frozen(self.algebraic_scale)) + if self.inventory_capacity is not None: + capacity = np.array(self.inventory_capacity, dtype=float, copy=True) + if capacity.shape != (len(rows),) or np.any(np.isnan(capacity)) or np.any(capacity <= 0): + raise ValueError("radau_invalid_inventory_capacity") + capacity.setflags(write=False) + object.__setattr__(self, "inventory_capacity", capacity) + + def assembled(self, time_s: float, u: Vector, counters: RadauCounters) -> AssembledSystem: + if not math.isfinite(time_s) or u.shape != (self.layout.size,): + raise ValueError("radau_invalid_time_or_coordinates") + counters.assembly_evaluations += 1 + value = self.evaluate(time_s, _frozen(u)) + if not value.admissible: + raise FloatingPointError("radau_inadmissible_static_state") + if value.layout.identity != self.layout.identity: + raise ValueError("radau_layout_changed") + if value.S is None or value.S_u is None or value.J is None: + raise ValueError("radau_requires_F_J_S_Su") + size = self.layout.size + if (value.F.shape != (size,) or value.S.shape != (size,) + or value.J.shape != (size, size) or value.S_u.shape != (size, size)): + raise ValueError("radau_invalid_static_shape") + if not all(np.all(np.isfinite(x)) for x in (value.F, value.S, value.J.data, value.S_u.data)): + raise FloatingPointError("radau_nonfinite_static_evaluation") + if (np.any(value.S[list(self.algebraic_rows)] != 0) + or np.any(value.S_u[list(self.algebraic_rows), :].data != 0)): + raise ValueError("radau_algebraic_rows_have_storage") + return value + + def reconstruct(self, time_s: float, inventory: ArrayLike, guess: ArrayLike, + controls: RadauControls, counters: RadauCounters, *, + derivatives: bool = False) -> InventoryPoint: + z, u = _frozen(inventory), np.array(guess, dtype=float, copy=True) + d, a = list(self.differential_rows), list(self.algebraic_rows) + if z.shape != (len(d),) or u.shape != (self.layout.size,): + raise ValueError("radau_invalid_reconstruction_shape") + if np.any(z <= 0) or (self.inventory_capacity is not None and np.any(z >= self.inventory_capacity)): + raise FloatingPointError("radau_inventory_outside_physical_domain") + counters.reconstructions += 1 + scale = np.r_[self.inventory_scale, self.algebraic_scale] + + def evaluate(trial: Vector) -> tuple[Vector, Vector, AssembledSystem]: + value = self.assembled(time_s, trial, counters) + assert value.S is not None and value.S_u is not None and value.J is not None + residual = np.r_[value.S[d] - z, value.F[a]] + matrix = np.vstack((value.S_u[d, :].toarray(), value.J[a, :].toarray())) + return residual, matrix, value + + for _ in range(controls.max_newton_iterations + 1): + residual, matrix, value = evaluate(u) + norm = float(np.max(np.abs(residual / scale))) + if norm <= controls.scaled_newton_tolerance: + jacobian = None + if derivatives: + rhs = np.zeros((self.layout.size, len(d))) + rhs[:len(d), :] = np.eye(len(d)) + try: + lift = _solve(matrix / scale[:, None], rhs / scale[:, None], counters) + except np.linalg.LinAlgError as error: + raise RadauFailure("radau_singular_reconstruction", time_s, u) from error + assert value.J is not None + jacobian = _frozen(value.J[d, :] @ lift) + return InventoryPoint(time_s, z, _frozen(u), _frozen(value.F[d]), + _frozen(value.F[a]), _frozen(residual[:len(d)]), norm, jacobian) + if _ == controls.max_newton_iterations: + break + counters.reconstruction_updates += 1 + try: + delta = _solve(matrix / scale[:, None], -residual / scale, counters) + except np.linalg.LinAlgError as error: + raise RadauFailure("radau_singular_reconstruction", time_s, u) from error + for backtrack in range(controls.max_backtracks): + trial = u + (0.5 ** backtrack) * delta + try: + trial_residual = evaluate(trial)[0] + except (FloatingPointError, OverflowError): + continue + if np.max(np.abs(trial_residual / scale)) < norm: + u = trial + break + else: + raise RadauFailure("radau_reconstruction_line_search", time_s, u) + raise RadauFailure("radau_reconstruction_iteration_cap", time_s, u) + + +def assembled_inventory_dae( + problem: AssembledDC1DProblem | AssembledIonic1DProblem, drive: Drive, *, + inventory_scale: ArrayLike, algebraic_scale: ArrayLike, +) -> InventoryDAE: + """Structural E/I adapter; exact admission deck/protocol binding is separate. + + Fixed carrier reservoirs and optional confined, mobile, positive finite- + site ions only. Original ion rows remain differential, including both + blocking endpoints; no steady inventory-replacement row is imported. + """ + if not isinstance(problem, (AssembledDC1DProblem, AssembledIonic1DProblem)): + raise TypeError("radau_requires_public_assembled_E_or_I_problem") + if isinstance(problem, AssembledIonic1DProblem): + ion = problem.device + electronic = ion.electronic_component + if (ion.ion_species_names != ("positive",) + or ion.ion_site_contract != "independent_finite_sites" + or ion.steric_model != DIFFUSION_ONLY_STERIC_V1 + or np.any(ion.positive_ion_diffusivity_faces_m2_s <= 0) + or ion.ion_node_indices[0] == 0 or ion.ion_node_indices[-1] == ion.node_count - 1): + raise ValueError("radau_ionic_scope_not_supported") + else: + electronic = problem.device + if any(channel.kind != "fixed_reservoir" for channel in electronic.channels): + raise ValueError("radau_requires_four_fixed_reservoirs") + if electronic.field_transport is not None or electronic.additional_recombination is not None: + raise ValueError("radau_additional_transport_or_reaction_not_supported") + layout = problem.binding.layout + mask = layout.constraint_mask() + mask[layout.rows("potential")] = True + rows = tuple(int(row) for row in np.flatnonzero(~mask)) + + def evaluate(time_s: float, u: Vector) -> AssembledSystem: + inputs = drive(time_s) + return problem.at(inputs.voltage_V, inputs.generation_scale).assemble(u, storage=True) + + capacity = np.full(layout.size, np.inf) + if isinstance(problem, AssembledIonic1DProblem): + block = layout.blocks[3] + weights = problem.binding.assembler.mesh.support(block.node_set).geometry.volumes + capacity[layout.rows(block.id)] = weights * problem.device.positive_ion_site_limit_m3 + return InventoryDAE(layout, evaluate, rows, _frozen(inventory_scale), _frozen(algebraic_scale), + capacity[list(rows)]) + + +@dataclass(frozen=True) +class RadauStep: + left_s: float + right_s: float + coefficients: Vector # [power 0..3, inventory component], theta in [0,1] + stages: tuple[InventoryPoint, ...] + stage_residual: Vector + endpoint: InventoryPoint + + def inventory(self, time_s: float) -> Vector: + if not math.isfinite(time_s) or not self.left_s <= time_s <= self.right_s: + raise ValueError("radau_output_outside_step") + theta = (time_s - self.left_s) / (self.right_s - self.left_s) + p = self.coefficients + return _frozen(p[0] + theta * (p[1] + theta * (p[2] + theta * p[3]))) + + def inventory_rate(self, time_s: float) -> Vector: + self.inventory(time_s) # Same finite, closed-domain check. + h = self.right_s - self.left_s + theta = (time_s - self.left_s) / h + p = self.coefficients + return _frozen((p[1] + theta * (2 * p[2] + theta * 3 * p[3])) / h) + + +@dataclass(frozen=True) +class RadauTrajectory: + model: InventoryDAE + initial: InventoryPoint + steps: tuple[RadauStep, ...] + controls: RadauControls + counters: RadauCounters + qualified: bool = field(default=False, init=False) + + def sample(self, time_s: float) -> InventoryPoint: + """Reconstruct at every output; never interpolate algebraic coordinates.""" + self.counters.output_reconstructions += 1 + if time_s == self.initial.time_s: + return self.model.reconstruct(time_s, self.initial.inventory, self.initial.u, + self.controls, self.counters) + for step in self.steps: + if step.left_s <= time_s <= step.right_s: + return self.model.reconstruct(time_s, step.inventory(time_s), step.endpoint.u, + self.controls, self.counters) + raise ValueError("radau_output_outside_trajectory") + + +def _step(model: InventoryDAE, start: InventoryPoint, right_s: float, + controls: RadauControls, counters: RadauCounters) -> RadauStep: + h = right_s - start.time_s + times = start.time_s + h * _C + times[-1] = right_s + z = np.tile(start.inventory, (3, 1)) + if times[0] <= start.time_s or np.any(np.diff(times) <= 0): + raise RadauFailure("radau_stage_clock_resolution", start.time_s, z) + size = start.inventory.size + guesses = [start.u] * 3 + + def stages(trial: Vector, *, derivatives: bool) -> tuple[Vector, tuple[InventoryPoint, ...]]: + points = tuple(model.reconstruct(float(t), row, guess, controls, counters, derivatives=derivatives) + for t, row, guess in zip(times, trial, guesses)) + rhs = np.array([point.rhs for point in points]) + return trial - start.inventory - h * (_A @ rhs), points + + for iteration in range(controls.max_newton_iterations + 1): + residual, points = stages(z, derivatives=True) + norm = float(np.max(np.abs(residual / model.inventory_scale))) + if norm <= controls.scaled_newton_tolerance: + rates = np.array([point.rhs for point in points]) + coefficients = _frozen(np.vstack((start.inventory, + h * (_BASIS @ rates) / np.arange(1, 4)[:, None]))) + end_z = coefficients[0] + (coefficients[1] + (coefficients[2] + coefficients[3])) + endpoint = model.reconstruct(right_s, end_z, points[-1].u, controls, counters) + return RadauStep(start.time_s, right_s, coefficients, points, _frozen(residual), endpoint) + if iteration == controls.max_newton_iterations: + break + counters.stage_updates += 1 + guesses = [point.u for point in points] + matrix = np.zeros((3 * size, 3 * size)) + for i in range(3): + for j, point in enumerate(points): + assert point.rhs_jacobian is not None + matrix[i * size:(i + 1) * size, j * size:(j + 1) * size] = -h * _A[i, j] * point.rhs_jacobian + matrix[i * size:(i + 1) * size, i * size:(i + 1) * size] += np.eye(size) + scale = np.tile(model.inventory_scale, 3) + try: + delta = _solve(matrix / scale[:, None], -residual.ravel() / scale, counters).reshape(z.shape) + except np.linalg.LinAlgError as error: + raise RadauFailure("radau_singular_stage_system", start.time_s, z) from error + for backtrack in range(controls.max_backtracks): + trial = z + (0.5 ** backtrack) * delta + try: + trial_residual = stages(trial, derivatives=False)[0] + except (RadauFailure, FloatingPointError, OverflowError): + continue + if np.max(np.abs(trial_residual / model.inventory_scale)) < norm: + z = trial + break + else: + raise RadauFailure("radau_stage_line_search", start.time_s, z) + raise RadauFailure("radau_stage_iteration_cap", start.time_s, z) + + +def integrate_radau(model: InventoryDAE, initial_u: ArrayLike, times_s: ArrayLike, *, + controls: RadauControls = RadauControls(), + initial_inventory: ArrayLike | None = None) -> RadauTrajectory: + """One continuous-drive segment on an explicit grid; no adaptive retries. + + The caller must split at drive knots and jumps. A jump needs independent + left/right reconstruction at identical inventories (``initial_inventory``) + and separate impulse accounting; this driver does not provide that packet + or admit arbitrary checkpoint continuation. ``initial_u`` is only a + reconstruction guess when an explicit physical inventory is supplied. + """ + times = _frozen(times_s) + if (times.ndim != 1 or times.size < 2 or not np.all(np.isfinite(np.diff(times))) + or np.any(np.diff(times) <= 0)): + raise ValueError("radau_requires_increasing_grid") + if times.size - 1 > controls.max_steps: + raise ValueError("radau_step_cap") + counters = RadauCounters() + raw = model.assembled(float(times[0]), _frozen(initial_u), counters) + assert raw.S is not None + z0 = raw.S[list(model.differential_rows)] if initial_inventory is None else _frozen(initial_inventory) + initial = model.reconstruct(float(times[0]), z0, initial_u, controls, counters) + start = initial + completed: list[RadauStep] = [] + for index, right in enumerate(times[1:]): + try: + step = _step(model, start, float(right), controls, counters) + except RadauFailure as failure: + failure.completed_steps = tuple(completed) + failure.failed_step = index + raise + except (FloatingPointError, np.linalg.LinAlgError) as error: + wrapped = RadauFailure("radau_static_evaluation_failed", start.time_s, start.u) + wrapped.completed_steps = tuple(completed) + wrapped.failed_step = index + raise wrapped from error + completed.append(step) + start = step.endpoint + return RadauTrajectory(model, initial, tuple(completed), controls, counters) + + +def _q(value: float) -> Fraction: + if not math.isfinite(value): + raise ValueError("radau_bound_nonfinite_input") + return Fraction.from_float(float(value)) + + +def _upper(value: Fraction) -> float: + rounded = float(value) + if not math.isfinite(rounded): + raise ValueError("radau_bound_overflow") + if _q(rounded) < value: + rounded = float(np.nextafter(rounded, np.inf)) + return rounded + + +def _exp_enclosure(value: Fraction) -> tuple[Fraction, Fraction]: + """Taylor sum and geometric tail, all rational; bounded tiny-case utility.""" + if abs(value) > 16: + raise ValueError("radau_bound_exponential_argument_cap") + if value < 0: + lower, upper = _exp_enclosure(-value) + return 1 / upper, 1 / lower + term = total = Fraction(1) + for k in range(1, 257): + term *= value / k + total += term + ratio = value / (k + 2) + if ratio < 1: + tail = term * value / (k + 1) / (1 - ratio) + if tail <= Fraction(1, 10**45): + return total, total + tail + raise ValueError("radau_bound_exponential_iteration_cap") + + +@dataclass(frozen=True) +class LinearTubeBound: + """Exact affine-inventory proof only; not a device/reference qualification.""" + + scaled_error_upper: float + log_norm_upper: float + defect_upper: tuple[float, ...] + interval_error_upper: tuple[float, ...] + output_evaluation_error_upper: tuple[float, ...] + tube_validated: bool + within_budget: bool + status: str + full_state_reconstruction_bound: None = None + reference_qualified: bool = field(default=False, init=False) + + +def linear_tube_bound( + trajectory: RadauTrajectory, matrix: ArrayLike, exact_initial: ArrayLike, *, + component_scale: ArrayLike, tube_radius: float, reference_budget: float, + initial_radius: ArrayLike, forcing: ArrayLike | None = None, + output_times_s: Sequence[float] = (), +) -> LinearTubeBound: + """Certify z'=Az+b with constant exact binary64 A,b and initial box. + + On each entire interval Bernstein coefficients enclose the defect of the + stored cubic. The scaled infinity logarithmic norm is exact rational; + exponential propagation uses a rigorous Taylor-tail enclosure. Center + jumps and actual output Horner/clock roundoff are added, never reset. + The affine ODE is globally defined, so a radius check gives a validated + trajectory tube without presuming the truth of a nonlinear local box. + A loose radius or budget returns an unusable certificate. This function + does not assert that an arbitrary assembled device has affine physics. + """ + n = trajectory.initial.inventory.size + A = np.asarray(matrix, dtype=float) + initial = np.asarray(exact_initial, dtype=float) + scale = np.asarray(component_scale, dtype=float) + radius = np.asarray(initial_radius, dtype=float) + b = np.zeros(n) if forcing is None else np.asarray(forcing, dtype=float) + if (A.shape != (n, n) or any(x.shape != (n,) for x in (initial, scale, radius, b)) + or not all(np.all(np.isfinite(x)) for x in (A, initial, scale, radius, b)) + or np.any(scale <= 0) or np.any(radius < 0) + or not math.isfinite(tube_radius) or tube_radius <= 0 + or not math.isfinite(reference_budget) or reference_budget <= 0): + raise ValueError("radau_bound_invalid_affine_data") + aq: list[list[Fraction]] = [[_q(v) for v in row] for row in A] + sq, bq = [_q(v) for v in scale], [_q(v) for v in b] + mu: Fraction = max(aq[i][i] + sum((abs(aq[i][j]) * sq[j] / sq[i] + for j in range(n) if j != i), Fraction(0)) for i in range(n)) + initial_q = [_q(v) for v in initial] + error = max(_q(radius[i]) / sq[i] for i in range(n)) + last_center = initial_q + interval_errors: list[Fraction] = [] + defects: list[Fraction] = [] + previous_time = _q(trajectory.initial.time_s) + for step in trajectory.steps: + if _q(step.left_s) != previous_time: + raise ValueError("radau_bound_discontinuous_clock") + p = [[_q(v) for v in row] for row in step.coefficients] + h = _q(step.right_s) - _q(step.left_s) + error += max(abs(p[0][i] - last_center[i]) / sq[i] for i in range(n)) + # Power coefficients of p'(theta)/h - A p(theta) - b. + defect = [[(Fraction(k + 1) * p[k + 1][i] / h if k < 3 else Fraction(0)) + - sum((aq[i][j] * p[k][j] for j in range(n)), Fraction(0)) + - (bq[i] if k == 0 else Fraction(0)) for i in range(n)] for k in range(4)] + bernstein = [[sum((Fraction(math.comb(j, k), math.comb(3, k)) * defect[k][i] + for k in range(j + 1)), Fraction(0)) for i in range(n)] for j in range(4)] + delta = max(abs(row[i]) / sq[i] for row in bernstein for i in range(n)) + lower, upper = _exp_enclosure(mu * h) + integral = h if mu == 0 else (upper - 1) / mu if mu > 0 else (1 - lower) / (-mu) + after = upper * error + integral * delta + interval_errors.append(max(error, after)) + defects.append(delta) + error = after + last_center = [sum((p[k][i] for k in range(4)), Fraction(0)) for i in range(n)] + previous_time = _q(step.right_s) + if not interval_errors: + raise ValueError("radau_bound_empty_trajectory") + evaluations: list[Fraction] = [] + for time_s in output_times_s: + for step in trajectory.steps: + if step.left_s <= time_s <= step.right_s: + theta = (_q(time_s) - _q(step.left_s)) / (_q(step.right_s) - _q(step.left_s)) + exact = [sum((_q(step.coefficients[k, i]) * theta**k for k in range(4)), Fraction(0)) + for i in range(n)] + floating = step.inventory(time_s) + evaluations.append(max(abs(exact[i] - _q(floating[i])) / sq[i] for i in range(n))) + break + else: + raise ValueError("radau_bound_output_outside_trajectory") + tube_error = max(interval_errors) + total_error = tube_error + max(evaluations, default=Fraction(0)) + tube_valid = tube_error <= _q(tube_radius) + budget_valid = tube_valid and total_error <= _q(reference_budget) + status = "bounded_affine_inventories" if budget_valid else "reference_budget_exceeded" if tube_valid else "tube_radius_exceeded" + return LinearTubeBound(_upper(total_error), _upper(mu), tuple(map(_upper, defects)), + tuple(map(_upper, interval_errors)), tuple(map(_upper, evaluations)), + tube_valid, budget_valid, status) diff --git a/src/solarlab/solvers/time/radau_split.py b/src/solarlab/solvers/time/radau_split.py new file mode 100644 index 00000000..969fccce --- /dev/null +++ b/src/solarlab/solvers/time/radau_split.py @@ -0,0 +1,580 @@ +"""Radau IIA with binary64 stage departures from two-word inventories. + +The unknown v is dimensionless: Z_i = z_start_hi + z_start_lo + s*v_i. +All three summands survive into the independent Arb reconstruction. The +stage equation v_i - h*sum_j(A_ij*f_j/s) is evaluated in Arb, so neither a +large-inventory subtraction nor a rounded RHS dot product sets its floor. +Only the small Newton departures and the equilibrated linear solve use +binary64. Accepted inventories and cubic coefficients retain two words; +any remaining encoding error belongs to the separate trajectory defect. + +This changes reference arithmetic, not the tableau, controls or physics. +It shares no BDF/BE step, history, interpolation or accounting. A successful +numerical trajectory is unqualified until its independent certificates pass. + +Integration conditions: optional, unqualified reference infrastructure for +restricted declared E/I inputs and analytic unit fixtures only. Independence +is static-only: no BDF stepping, history, interpolation or accounting is used. +Retained failed attempts stay failures and qualification flags stay false. +Any future nonzero initial uncertainty must be expressed in the selected +weighted log norm; a numerical trajectory alone does not qualify a reference. +""" + +from __future__ import annotations + +from dataclasses import dataclass, field +from fractions import Fraction +from functools import cache +from importlib import import_module +import math +from types import ModuleType +from typing import Any, TypeAlias + +import numpy as np +from numpy.typing import ArrayLike, NDArray + +from solarlab.solvers.time.radau_enclosure import ( + EnclosureBlocked, + NonlinearInventoryEnclosure, + NonlinearTubeResult, + nonlinear_tube_bound, +) +from solarlab.solvers.time.radau_reference import ( + InventoryDAE, + InventoryPoint, + RadauControls, + RadauCounters, + RadauStep, + RadauTrajectory, +) + +__all__ = [ + "SplitInventory", + "SplitRadauModel", + "SplitRadauPoint", + "SplitRadauStep", + "SplitRadauTrajectory", + "SplitRadauFailure", + "integrate_split_radau", +] + +Vector: TypeAlias = NDArray[np.float64] +Ball: TypeAlias = Any +PRECISION = 192 + + +@cache +def _flint() -> ModuleType: + """Load optional Arb arithmetic only when a reference operation needs it.""" + try: + return import_module("flint") + except ImportError as error: + raise ImportError( + "split-inventory Radau arithmetic require the optional python-flint backend " + "(install solarlab[arb])" + ) from error + + +def _frozen(value: ArrayLike) -> Vector: + result = np.array(value, dtype=float, copy=True) + if not np.all(np.isfinite(result)): + raise ValueError("radau_split_nonfinite_array") + result.setflags(write=False) + return result + + +def _q(value: float | int | Fraction) -> Ball: + fraction = value if isinstance(value, Fraction) else Fraction(value) + return _flint().arb(_flint().fmpq(fraction.numerator, fraction.denominator)) + + +def _upper(value: Ball) -> float: + if not value.is_finite(): + raise EnclosureBlocked("radau_split_nonfinite_enclosure") + if value.is_zero(): + return 0.0 + result = float(value.upper()) + if not math.isfinite(result): + raise EnclosureBlocked("radau_split_unrepresentable_enclosure") + return math.nextafter(result, math.inf) + + +def _maximum(values: tuple[Ball, ...]) -> float: + if not values: + return 0.0 + result = values[0] + for value in values[1:]: + result = result.union(value) + return _upper(result.upper()) + + +# The exact same binary64 tableau words and integrated Lagrange basis as the +# stage-1 implementation. Unit tests bind every word; no BDF source is used. +_ROOT6 = math.sqrt(6.0) +_C = _frozen([(4 - _ROOT6) / 10, (4 + _ROOT6) / 10, 1.0]) +_A = _frozen( + [ + [(88 - 7 * _ROOT6) / 360, (296 - 169 * _ROOT6) / 1800, (-2 + 3 * _ROOT6) / 225], + [(296 + 169 * _ROOT6) / 1800, (88 + 7 * _ROOT6) / 360, (-2 - 3 * _ROOT6) / 225], + [(16 - _ROOT6) / 36, (16 + _ROOT6) / 36, 1 / 9], + ] +) +_BASIS = _frozen(np.linalg.solve(np.vander(_C, 3, increasing=True), np.eye(3))) + + +@dataclass(frozen=True) +class SplitInventory: + """The exact sum of two immutable binary64 reference vectors.""" + + high: Vector + low: Vector + + def __post_init__(self) -> None: + high, low = _frozen(self.high), _frozen(self.low) + if high.ndim != 1 or high.shape != low.shape: + raise ValueError("radau_split_inventory_shape") + object.__setattr__(self, "high", high) + object.__setattr__(self, "low", low) + + @classmethod + def from_values(cls, values: tuple[Ball, ...]) -> tuple[SplitInventory, Vector]: + """Encode a midpoint as two words and enclose the discarded remainder.""" + with _flint().ctx.workprec(PRECISION): + high = _frozen([float(value.mid()) for value in values]) + low = _frozen( + [float((value - _q(hi)).mid()) for value, hi in zip(values, high)] + ) + errors = _frozen( + [ + _upper((value - _q(hi) - _q(lo)).abs_upper()) + for value, hi, lo in zip(values, high, low) + ] + ) + return cls(high, low), errors + + def values(self) -> tuple[Ball, ...]: + with _flint().ctx.workprec(PRECISION): + return tuple(_q(hi) + _q(lo) for hi, lo in zip(self.high, self.low)) + + def shifted(self, departure: Vector, scale: Vector) -> tuple[Ball, ...]: + if departure.shape != self.high.shape or scale.shape != self.high.shape: + raise ValueError("radau_split_departure_shape") + with _flint().ctx.workprec(PRECISION): + return tuple( + value + _q(s) * _q(v) + for value, s, v in zip(self.values(), scale, departure) + ) + + +@dataclass +class SplitCounters(RadauCounters): + compensated_residual_evaluations: int = 0 + backtrack_evaluations: int = 0 + changed_departures_with_unchanged_high_word: int = 0 + + +@dataclass(frozen=True) +class SplitRadauPoint: + time_s: float + inventory: SplitInventory + inventory_encoding_error_upper: Vector + u: Vector + rhs: tuple[Ball, ...] + scaled_jacobian: Vector | None + algebraic_residual: Vector + storage_residual: Vector + scaled_reconstruction_residual: float + + def bound_point(self) -> InventoryPoint: + """High-word view only; the bound must receive its explicit low words.""" + return InventoryPoint( + self.time_s, + self.inventory.high, + self.u, + _frozen([float(value.mid()) for value in self.rhs]), + self.algebraic_residual, + self.storage_residual, + self.scaled_reconstruction_residual, + ) + + +class SplitRadauModel: + """Static assembled checks plus the independent inventory reconstruction.""" + + def __init__(self, static: InventoryDAE, enclosure: NonlinearInventoryEnclosure): + if enclosure.size != len(static.differential_rows) or not np.array_equal( + enclosure.scale, static.inventory_scale + ): + raise ValueError("radau_split_enclosure_partition_or_scale_mismatch") + self.static, self.enclosure = static, enclosure + self.scale = static.inventory_scale + + def point( + self, + time_s: float, + inventory: tuple[Ball, ...], + controls: RadauControls, + counters: SplitCounters, + *, + derivatives: bool = False, + ) -> SplitRadauPoint: + with _flint().ctx.workprec(PRECISION): + counters.reconstructions += 1 + enclosed = self.enclosure.evaluate( + Fraction(time_s), Fraction(time_s), inventory, derivatives=derivatives + ) + u = _frozen([float(value.mid()) for value in enclosed.coordinates]) + static = self.static.assembled(time_s, u, counters) + assert static.S is not None + d, a = list(self.static.differential_rows), list(self.static.algebraic_rows) + storage_error = tuple( + _q(value) - z for value, z in zip(static.S[d], inventory) + ) + errors = tuple( + error.abs_upper() / _q(scale) + for error, scale in zip(storage_error, self.scale) + ) + errors += tuple( + _q(value).abs_upper() / _q(scale) + for value, scale in zip(static.F[a], self.static.algebraic_scale) + ) + norm = _maximum(errors) + if norm > controls.scaled_newton_tolerance: + raise EnclosureBlocked( + "radau_split_original_static_checks_failed", str(norm) + ) + jacobian = ( + _frozen( + [[float(x.mid()) for x in row] for row in enclosed.scaled_jacobian] + ) + if derivatives + else None + ) + encoded, error = SplitInventory.from_values(inventory) + return SplitRadauPoint( + time_s, + encoded, + error, + u, + enclosed.rhs, + jacobian, + _frozen(static.F[a]), + _frozen([float(x.mid()) for x in storage_error]), + norm, + ) + + +@dataclass(frozen=True) +class SplitRadauStep: + left_s: float + right_s: float + coefficients_high: Vector + coefficients_low: Vector + coefficient_encoding_error_upper: Vector + stages: tuple[SplitRadauPoint, ...] + stage_departures: Vector + scaled_stage_residual: Vector + scaled_stage_residual_upper: float + endpoint: SplitRadauPoint + + def polynomial(self, time_s: float) -> tuple[Ball, ...]: + if not math.isfinite(time_s) or not self.left_s <= time_s <= self.right_s: + raise ValueError("radau_split_output_outside_step") + with _flint().ctx.workprec(PRECISION): + theta = _q( + (Fraction(time_s) - Fraction(self.left_s)) + / (Fraction(self.right_s) - Fraction(self.left_s)) + ) + output = [] + for i in range(self.coefficients_high.shape[1]): + value = _flint().arb(0) + for k in (3, 2, 1, 0): + value = ( + value * theta + + _q(self.coefficients_high[k, i]) + + _q(self.coefficients_low[k, i]) + ) + output.append(value) + return tuple(output) + + +@dataclass(frozen=True) +class SplitRadauTrajectory: + model: SplitRadauModel + initial: SplitRadauPoint + steps: tuple[SplitRadauStep, ...] + controls: RadauControls + counters: SplitCounters + qualified: bool = field(default=False, init=False) + + def sample(self, time_s: float) -> SplitRadauPoint: + self.counters.output_reconstructions += 1 + if time_s == self.initial.time_s: + return self.model.point( + time_s, self.initial.inventory.values(), self.controls, self.counters + ) + for step in self.steps: + if step.left_s <= time_s <= step.right_s: + return self.model.point( + time_s, step.polynomial(time_s), self.controls, self.counters + ) + raise ValueError("radau_split_output_outside_trajectory") + + def bound( + self, *, initial_error: float, tube_radius: float, subdivisions: int = 2 + ) -> NonlinearTubeResult: + steps = tuple( + RadauStep( + step.left_s, + step.right_s, + step.coefficients_high, + tuple(point.bound_point() for point in step.stages), + _frozen(step.scaled_stage_residual * self.model.scale), + step.endpoint.bound_point(), + ) + for step in self.steps + ) + view = RadauTrajectory( + self.model.static, + self.initial.bound_point(), + steps, + self.controls, + self.counters, + ) + return nonlinear_tube_bound( + self.model.enclosure, + view, + initial_error=initial_error, + tube_radius=tube_radius, + subdivisions=subdivisions, + coefficient_corrections=tuple(step.coefficients_low for step in self.steps), + initial_inventory_correction=self.initial.inventory.low, + ) + + +class SplitRadauFailure(RuntimeError): + """A failed departure and exact reference, with the accepted prefix intact.""" + + def __init__( + self, + code: str, + start: SplitRadauPoint, + departure: Vector | None, + residual_upper: float | None = None, + ): + super().__init__(code) + self.code, self.time_s = code, start.time_s + self.step_start = start.inventory + self.trial_departures = None if departure is None else _frozen(departure) + self.scaled_residual_upper = residual_upper + self.completed_steps: tuple[SplitRadauStep, ...] = () + self.failed_step: int | None = None + self.counters: SplitCounters | None = None + + +def _residual( + departures: Vector, + points: tuple[SplitRadauPoint, ...], + h: Ball, + scale: Vector, + counters: SplitCounters, +) -> tuple[Vector, float]: + counters.compensated_residual_evaluations += 1 + rows = [] + bounds: list[Ball] = [] + for i in range(3): + values = tuple( + _q(departures[i, k]) + - h + * sum( + (_q(_A[i, j]) * points[j].rhs[k] / _q(scale[k]) for j in range(3)), + _flint().arb(0), + ) + for k in range(scale.size) + ) + rows.append([float(value.mid()) for value in values]) + bounds.extend(value.abs_upper() for value in values) + return _frozen(rows), _maximum(tuple(bounds)) + + +def _step( + model: SplitRadauModel, + start: SplitRadauPoint, + right_s: float, + controls: RadauControls, + counters: SplitCounters, +) -> SplitRadauStep: + with _flint().ctx.workprec(PRECISION): + h = _q(Fraction(right_s) - Fraction(start.time_s)) + times = np.array([float((_q(start.time_s) + h * _q(c)).mid()) for c in _C]) + times[-1] = right_s + v = np.zeros((3, model.scale.size)) + if times[0] <= start.time_s or np.any(np.diff(times) <= 0): + raise SplitRadauFailure("radau_split_stage_clock_resolution", start, v) + + def evaluate( + values: Vector, derivatives: bool + ) -> tuple[Vector, float, tuple[SplitRadauPoint, ...]]: + points = tuple( + model.point( + float(t), + start.inventory.shifted(row, model.scale), + controls, + counters, + derivatives=derivatives, + ) + for t, row in zip(times, values) + ) + residual, norm = _residual(values, points, h, model.scale, counters) + return residual, norm, points + + norm: float | None = None + for iteration in range(controls.max_newton_iterations + 1): + try: + residual, norm, points = evaluate(v, True) + except (EnclosureBlocked, FloatingPointError) as error: + raise SplitRadauFailure( + "radau_split_static_evaluation_failed", start, v, norm + ) from error + if norm <= controls.scaled_newton_tolerance: + high, low = [start.inventory.high], [start.inventory.low] + encoding = [np.zeros(model.scale.size)] + for power in (1, 2, 3): + values = tuple( + h + / power + * sum( + ( + _q(_BASIS[power - 1, j]) * points[j].rhs[i] + for j in range(3) + ), + _flint().arb(0), + ) + for i in range(model.scale.size) + ) + words, discarded = SplitInventory.from_values(values) + high.append(words.high) + low.append(words.low) + encoding.append(discarded) + values = tuple( + sum((_q(hi[i]) + _q(lo[i]) for hi, lo in zip(high, low)), _flint().arb(0)) + for i in range(model.scale.size) + ) + endpoint_inventory, _ = SplitInventory.from_values(values) + endpoint = model.point( + right_s, endpoint_inventory.values(), controls, counters + ) + return SplitRadauStep( + start.time_s, + right_s, + _frozen(high), + _frozen(low), + _frozen(encoding), + points, + _frozen(v), + residual, + norm, + endpoint, + ) + if iteration == controls.max_newton_iterations: + break + size = model.scale.size + matrix = np.empty((3 * size, 3 * size)) + for i in range(3): + for j, point in enumerate(points): + assert point.scaled_jacobian is not None + matrix[i * size : (i + 1) * size, j * size : (j + 1) * size] = ( + -float((h * _q(_A[i, j])).mid()) * point.scaled_jacobian + ) + matrix[i * size : (i + 1) * size, i * size : (i + 1) * size] += np.eye( + size + ) + counters.stage_updates += 1 + counters.linear_solves += 1 + try: + correction = np.linalg.solve(matrix, -residual.ravel()).reshape(v.shape) + except np.linalg.LinAlgError as error: + raise SplitRadauFailure( + "radau_split_singular_stage_system", start, v, norm + ) from error + if not np.all(np.isfinite(correction)): + raise SplitRadauFailure( + "radau_split_nonfinite_stage_correction", start, v, norm + ) + for backtrack in range(controls.max_backtracks): + trial = v + (0.5**backtrack) * correction + counters.backtrack_evaluations += 1 + try: + _, trial_norm, trial_points = evaluate(trial, False) + except (EnclosureBlocked, FloatingPointError, OverflowError): + continue + if trial_norm < norm: + for row, old, new, before in zip(trial, points, trial_points, v): + counters.changed_departures_with_unchanged_high_word += int( + np.count_nonzero( + (row != before) + & (old.inventory.high == new.inventory.high) + ) + ) + v = trial + break + else: + raise SplitRadauFailure("radau_split_stage_line_search", start, v, norm) + raise SplitRadauFailure("radau_split_stage_iteration_cap", start, v, norm) + + +def integrate_split_radau( + model: SplitRadauModel, + initial_u: ArrayLike, + times_s: ArrayLike, + *, + controls: RadauControls = RadauControls(), + initial_inventory: SplitInventory | None = None, +) -> SplitRadauTrajectory: + """One explicit grid, unchanged controls, no adaptive retries or admission.""" + times = _frozen(times_s) + if ( + times.ndim != 1 + or times.size < 2 + or np.any(np.diff(times) <= 0) + or not np.all(np.isfinite(np.diff(times))) + ): + raise ValueError("radau_split_requires_increasing_grid") + if times.size - 1 > controls.max_steps: + raise ValueError("radau_split_step_cap") + counters = SplitCounters() + raw = model.static.assembled(float(times[0]), _frozen(initial_u), counters) + assert raw.S is not None + inventory = ( + SplitInventory( + raw.S[list(model.static.differential_rows)], np.zeros(model.scale.size) + ) + if initial_inventory is None + else initial_inventory + ) + if inventory.high.shape != model.scale.shape: + raise ValueError("radau_split_initial_inventory_shape") + initial = model.point(float(times[0]), inventory.values(), controls, counters) + completed: list[SplitRadauStep] = [] + start = initial + for index, right in enumerate(times[1:]): + try: + step = _step(model, start, float(right), controls, counters) + except SplitRadauFailure as failure: + failure.completed_steps, failure.failed_step = tuple(completed), index + failure.counters = counters + raise + except (EnclosureBlocked, FloatingPointError, TimeoutError) as error: + wrapped = SplitRadauFailure( + "radau_split_budget_exhausted" + if isinstance(error, TimeoutError) + else "radau_split_endpoint_evaluation_failed", + start, + None, + ) + wrapped.completed_steps, wrapped.failed_step = tuple(completed), index + wrapped.counters = counters + raise wrapped from error + completed.append(step) + start = step.endpoint + return SplitRadauTrajectory(model, initial, tuple(completed), controls, counters) diff --git a/src/solarlab/sweeps/__init__.py b/src/solarlab/sweeps/__init__.py new file mode 100644 index 00000000..4bc32416 --- /dev/null +++ b/src/solarlab/sweeps/__init__.py @@ -0,0 +1 @@ +"""Serial sweep declarations; no executor, caching or scientific qualification.""" diff --git a/src/solarlab/sweeps/inputs.py b/src/solarlab/sweeps/inputs.py new file mode 100644 index 00000000..6b4d51f1 --- /dev/null +++ b/src/solarlab/sweeps/inputs.py @@ -0,0 +1,77 @@ +"""Explicit ordered coordinates and stable parameter-instance targets.""" +from __future__ import annotations + +from typing import Literal +from pydantic import Field, StrictBool, model_validator, field_validator + +from solarlab.device.inputs import DeviceInput +from solarlab.experiments.inputs import ExperimentInput, invalid +from solarlab.experiments.jv.inputs import JVExperimentInput +from solarlab.materials.full_parameters import StableId +from solarlab.materials.parameters import QuantityInput + + +class SweepTargetInput(ExperimentInput): + family: Literal["layer_parameter", "material_parameter", "setting", "bulk_defect", "interface_defect", "jv", "cbo"] + owner_id: StableId | None = None + local_id: StableId | None = None + reference_id: StableId | None = None + parameter: tuple[StableId, ...] = Field(min_length=1, max_length=2) + + @model_validator(mode="after") + def _identity(self) -> SweepTargetInput: + required = {"owner_id"} if self.family not in {"setting", "jv"} else set() + if self.family in {"bulk_defect", "interface_defect"}: + required.add("local_id") + if self.family == "cbo": + required.add("reference_id") + for name in ("owner_id", "local_id", "reference_id"): + if (getattr(self, name) is not None) != (name in required): + invalid(type(self).__name__, (name,), f"{self.family} target requires exactly {sorted(required)}", getattr(self, name)) + return self + + +class SweepCoordinateInput(ExperimentInput): + _nullable_fields = frozenset({"value"}) + kind: Literal["value", "omit"] + value: StrictBool | QuantityInput | None = None + + @model_validator(mode="after") + def _presence(self) -> SweepCoordinateInput: + if ("value" in self.model_fields_set) != (self.kind == "value"): + invalid(type(self).__name__, ("value",), "value coordinates require an explicit value (including null); omission coordinates carry no value", self.editing_data()) + return self + + +class SweepAxisInput(ExperimentInput): + id: StableId + target: SweepTargetInput + coordinates: tuple[SweepCoordinateInput, ...] = Field(min_length=1) + + +class SweepInput(ExperimentInput): + _nullable_fields = frozenset({"reference_id"}) + schema_version: Literal["solarlab.sweep-preparation.v1"] + id: StableId + base: DeviceInput | JVExperimentInput + axes: tuple[SweepAxisInput, ...] = Field(min_length=1, max_length=2) + reference_id: StableId | None = None + + @field_validator("base", mode="before") + @classmethod + def _base(cls, value: object) -> object: + if isinstance(value, (DeviceInput, JVExperimentInput)): + value = value.editing_data() + models = {"solarlab.device-preparation.v1": DeviceInput, "solarlab.experiment-preparation.v1": JVExperimentInput} + if not isinstance(value, dict) or value.get("schema_version") not in models: + invalid(cls.__name__, ("schema_version",), "sweep preparation requires a supplied DeviceInput or one-dimensional JVExperimentInput", value) + return models[value["schema_version"]].model_validate(value) + + @model_validator(mode="after") + def _axes(self) -> SweepInput: + seen = set() + for index, axis in enumerate(self.axes): + if axis.id in seen: + invalid(type(self).__name__, ("axes", index, "id"), "duplicate sweep-axis ID", axis.id) + seen.add(axis.id) + return self diff --git a/src/solarlab/sweeps/preparation.py b/src/solarlab/sweeps/preparation.py new file mode 100644 index 00000000..a4741d2d --- /dev/null +++ b/src/solarlab/sweeps/preparation.py @@ -0,0 +1,221 @@ +"""Bounded serial declaration expansion through the actual prepared resolvers.""" +from __future__ import annotations + +from copy import deepcopy +from dataclasses import dataclass, field +import hashlib +from itertools import product +import json +from typing import Any + +from pydantic import ValidationError +from solarlab.config.identity import ( + ColdPointBinding, ExecutionDescription, ExecutionEngine, ExecutionManifest, IdentityInputs, + RuntimeEnvironment, cold_point_binding, verify_execution_manifest, +) +from solarlab.contracts.layout import Layout +from solarlab.config.resolve_device import resolve_device +from solarlab.device.defaults import DefaultCatalog +from solarlab.device.inputs import DeviceInput +from solarlab.device.resolved import PreparedDevice +from solarlab.experiments.inputs import invalid, input_document +from solarlab.experiments.jv.inputs import JVExperimentInput +from solarlab.experiments.jv.preparation import PreparedJVExperiment, prepare_jv_experiment +from solarlab.materials.resources import ResourceLibrary +from solarlab.materials.source import SourceDocument +from solarlab.sweeps.inputs import SweepInput +from solarlab.sweeps.reference import SweepReference, baseline_signature +from solarlab.sweeps.targets import bind_target, effective_target, write_coordinate + +MAX_PREVIEW_POINTS = 128 # Preview resource bound, not an executable scan limit. + + +def encode(value: Any) -> bytes: + return json.dumps(value, sort_keys=True, separators=(",", ":"), allow_nan=False).encode() + + +def digest(value: Any) -> str: + return hashlib.sha256(encode(value)).hexdigest() + + +def prepare_point(raw: dict[str, Any], defaults: DefaultCatalog, resources: ResourceLibrary, sources: tuple[SourceDocument, ...]) -> PreparedDevice | PreparedJVExperiment: + if raw["schema_version"] == "solarlab.device-preparation.v1": + return resolve_device(DeviceInput.model_validate(raw), defaults, resources, sources=sources) + return prepare_jv_experiment(JVExperimentInput.model_validate(raw), defaults, resources, sources=sources) + + +def _coordinate_key(value: dict[str, Any]) -> str: + # Unit-equivalent numeric coordinates occupy one axis location. The input + # token, its type and numeric zero sign remain in the original declaration. + canonical = deepcopy(value) + raw = canonical.get("value") + if type(raw) in (int, float): + canonical["value"] = float(raw) if raw else 0.0 + return encode(canonical).decode() + + +@dataclass(frozen=True, slots=True) +class PreparedSweep: + input_json: bytes + defaults: DefaultCatalog + resources: ResourceLibrary + sources: tuple[SourceDocument, ...] = () + references: tuple[SweepReference, ...] = () + can_execute: bool = field(default=False, init=False) + _resolved_json: bytes = field(init=False, repr=False) + + def __post_init__(self) -> None: + if type(self.input_json) is not bytes or not self.input_json or len(self.input_json) > 2**23: + raise ValueError("sweep input requires bounded immutable JSON bytes") + object.__setattr__(self, "sources", tuple(self.sources)) + object.__setattr__(self, "references", tuple(self.references)) + if any(not isinstance(item, SweepReference) for item in self.references) or len({item.id for item in self.references}) != len(self.references): + raise ValueError("sweep reference identities must be unique") + model = SweepInput.model_validate(input_document(self.input_json)) + original = model.model_dump(mode="json", exclude_unset=True) + raw_base = original["base"] + total = 1 + for axis in model.axes: + total *= len(axis.coordinates) + if total > MAX_PREVIEW_POINTS: + invalid("SweepPreparation", ("axes",), f"preview permits at most {MAX_PREVIEW_POINTS} points; the declared {total} points were not truncated or executed", total) + bindings, normalized, invalid_coordinates = [], [], {} + for index, axis in enumerate(model.axes): + try: + binding = bind_target(model.base, axis.target) + except ValueError as error: + invalid("SweepPreparation", ("axes", index, "target"), str(error), axis.target.editing_data()) + bindings.append(binding) + values, seen = [], set() + for position, coordinate in enumerate(axis.coordinates): + try: + value = binding.coordinate(coordinate) + except ValueError as error: + invalid_coordinates[index, position] = str(error) + value = {"kind": "invalid", "declared": coordinate.editing_data()} + key = _coordinate_key(value) + if key in seen: + invalid("SweepPreparation", ("axes", index, "coordinates", position), "duplicate physical coordinate, including equivalent units or signed-zero aliases", coordinate.editing_data()) + seen.add(key) + values.append(value) + normalized.append(values) + writes = [binding.input_path for binding in bindings] + if len(set(writes)) != len(writes): + invalid("SweepPreparation", ("axes",), "axes address the same parameter; no last-write-wins ordering", writes) + reference_affinity = {} + for index, binding in enumerate(bindings): + if binding.reference_layer is None: + continue + base_device = model.base.device if isinstance(model.base, JVExperimentInput) else model.base + anchor_input = next(layer for layer in base_device.layers if layer.id == binding.reference_layer) + if any(other.field == "chi" and (other.target.owner_id == binding.reference_layer + or other.target.family == "material_parameter" and other.target.owner_id == anchor_input.material) for other in bindings): + invalid("SweepPreparation", ("axes", index, "target"), "CBO reference affinity cannot be another sweep axis", binding.reference_layer) + prepared_base = resolve_device(base_device, self.defaults, self.resources, sources=self.sources) + affinity = dict(next(layer for layer in prepared_base.layers if layer.id == binding.reference_layer).parameters)["chi"] + assert isinstance(affinity, (int, float)) + reference_affinity[index] = affinity + supplied_targets = {axis.id: axis.target.model_dump(mode="json", exclude_unset=True) for axis in model.axes} + reference = next((item for item in self.references if item.id == model.reference_id), None) + baseline_key = baseline_signature(raw_base) if reference is not None else "" + points = [] + for positions in product(*(range(len(axis.coordinates)) for axis in model.axes)): + raw = deepcopy(raw_base) + declared = {axis.id: original["axes"][index]["coordinates"][position] for index, (axis, position) in enumerate(zip(model.axes, positions))} + coordinates = {axis.id: normalized[index][position] for index, (axis, position) in enumerate(zip(model.axes, positions))} + point_id = "point:" + digest([raw_base, supplied_targets, declared]) + point: dict[str, Any] = dict(id=point_id, coordinates=declared, normalized_coordinates=coordinates, + reference=reference.match(supplied_targets, coordinates, baseline_key) if reference is not None else dict(status="not_requested" if model.reference_id is None else "reference_unavailable", reason="no trusted reference supplied", comparison_qualified=False), + can_execute=False, execution_identity=None, simulation_status="not_started") + applied = True + try: + for index, (axis, position, binding) in enumerate(zip(model.axes, positions, bindings)): + if (index, position) in invalid_coordinates and binding.reference_layer is not None: + applied = False + continue + write_coordinate(raw, binding, axis.coordinates[position], reference_affinity.get(index)) + for index, (axis, position, binding) in enumerate(zip(model.axes, positions, bindings)): + if (index, position) in invalid_coordinates and binding.reference_layer is not None: + invalid("SweepPoint", ("axes", index, "coordinates", position), invalid_coordinates[index, position], axis.coordinates[position].editing_data()) + # Every materialized point, including invalid direct field + # edits, passes the actual full device/J-V input resolver. + prepared = prepare_point(raw, self.defaults, self.resources, self.sources) + resolved = prepared.to_mapping() + point.update(status="prepared_pending_dependencies", content_sha256=prepared.content_sha256, + resolved_sha256=digest(resolved), capability_gaps=resolved["capability_gaps"], + effective_targets={axis.id: effective_target(binding, resolved) for axis, binding in zip(model.axes, bindings)}) + except (ValueError, OverflowError) as error: + fields = error.errors(include_url=False, include_context=False) if isinstance(error, ValidationError) else [{"loc": ["base"], "type": "configuration_resolution", "msg": str(error)}] + point.update(status="unresolved", field_errors=fields, effective_targets={}) + point["applied_input"] = raw if applied else None + points.append(point) + reference_scope = reference.to_mapping() if reference is not None else None + result = dict(schema="solarlab.resolved-sweep-preparation.v1", id=model.id, + status="prepared_pending_dependencies", can_execute=False, execution_identity=None, + expansion=dict(mode="serial_declaration", declared_points=total, expanded_points=len(points), preview_limit=MAX_PREVIEW_POINTS, truncated=False, numerical_calls=0), + axes=[dict(id=axis.id, target=supplied_targets[axis.id], stable_path=binding.stable_path, + input_field_schema=binding.metadata, required=binding.required, normalized_coordinates=values, + transform="reference_affinity_eV - CBO_eV; explicit decimal subtraction" if binding.reference_layer else "selected_field_only") for axis, binding, values in zip(model.axes, bindings, normalized)], + points=points, reference_scope={key: value for key, value in reference_scope.items() if key not in {"rows", "targets"}} if reference_scope else None, + summary=dict(prepared=sum(p["status"]=="prepared_pending_dependencies" for p in points), unresolved=sum(p["status"]=="unresolved" for p in points)), + identity=dict(scope="sweep_declaration_content", execution_identity=None, default_catalog_sha256=self.defaults.content_sha256, + resource_library_sha256=self.resources.content_sha256, source_bindings=[dict(id=s.id, sha256=s.sha256) for s in self.sources]), + capability_gaps=["qualified_executor_not_registered", "serial_numerical_rebind_not_qualified", "no_point_reuse_or_resume_qualification", "no_scientific_scan_comparison"], + compatibility=["all_unrelated_input_and_partner_metadata_retained", "no_automatic_V_bi_or_tau_update", "no_doping_clear_or_ion_inventory_removal", "D_zero_and_P0_zero_are_distinct", "pair_scan_is_parameter_space_not_two_dimensional_device_geometry"]) + object.__setattr__(self, "input_json", encode(original)) + object.__setattr__(self, "_resolved_json", encode(result)) + + def to_input(self) -> SweepInput: + return SweepInput.model_validate(input_document(self.input_json)) + + def to_mapping(self) -> dict[str, Any]: + return json.loads(self._resolved_json) + + @property + def content_sha256(self) -> str: + return digest([input_document(self.input_json), self.to_mapping()]) + + def consume_point_manifest( + self, point_id: str, manifest: ExecutionManifest, inputs: IdentityInputs, + execution: ExecutionDescription, *, engine: ExecutionEngine, + environment: RuntimeEnvironment, expected_sha256: str, + ) -> PreparedDevice | PreparedJVExperiment: + """Freshly prepare one declared point and verify its complete binding. + + No state, numerical binding or factorization is shared with any other + point. A device-only point needs its caller's upstream protocol/state + contract; a J-V point additionally checks the actual history builder. + """ + point = next((value for value in self.to_mapping()["points"] if value["id"] == point_id), None) + if point is None or point["status"] != "prepared_pending_dependencies" or point["applied_input"] is None: + raise ValueError("manifest consumption requires a resolved declared sweep point") + prepared = prepare_point(point["applied_input"], self.defaults, self.resources, self.sources) + if prepared.content_sha256 != point["content_sha256"] or digest(prepared.to_mapping()) != point["resolved_sha256"]: + raise ValueError("fresh sweep preparation differs from its declared point") + if isinstance(prepared, PreparedJVExperiment): + prepared.verify_manifest(manifest, inputs, execution, engine=engine, + environment=environment, expected_sha256=expected_sha256) + else: + if inputs.prepared.content_sha256 != prepared.content_sha256: + raise ValueError("manifest identity inputs belong to a different sweep device") + verify_execution_manifest(manifest, inputs, execution, engine=engine, + environment=environment, expected_sha256=expected_sha256) + return prepared + + def prepare_point_binding( + self, point_id: str, manifest: ExecutionManifest, inputs: IdentityInputs, + execution: ExecutionDescription, *, layout: Layout, topology_plan: SourceDocument, + engine: ExecutionEngine, environment: RuntimeEnvironment, expected_sha256: str, + ) -> tuple[PreparedDevice | PreparedJVExperiment, ColdPointBinding]: + """Fresh data and binding for one point; no factorization/rebind reuse.""" + prepared = self.consume_point_manifest(point_id, manifest, inputs, execution, engine=engine, + environment=environment, expected_sha256=expected_sha256) + binding = cold_point_binding(inputs, execution, manifest, point_id=point_id, + layout=layout, topology_plan=topology_plan, engine=engine, environment=environment, + expected_sha256=expected_sha256) + return prepared, binding + + +def prepare_sweep(input: SweepInput, defaults: DefaultCatalog, resources: ResourceLibrary, *, sources: tuple[SourceDocument, ...] = (), references: tuple[SweepReference, ...] = ()) -> PreparedSweep: + model = SweepInput.model_validate(input) + return PreparedSweep(encode(model.model_dump(mode="json", exclude_unset=True)), defaults, resources, sources, references) diff --git a/src/solarlab/sweeps/reference.py b/src/solarlab/sweeps/reference.py new file mode 100644 index 00000000..b9fb76c7 --- /dev/null +++ b/src/solarlab/sweeps/reference.py @@ -0,0 +1,49 @@ +"""Trusted coordinate coverage only; reference metrics never enter preparation.""" +from __future__ import annotations + +from dataclasses import dataclass +from fractions import Fraction +import hashlib +import json +import math +from typing import Any + + +def baseline_signature(value: Any) -> str: + """Reference correspondence by exact JSON values, not int/float spelling. + + Browsers serialize 1.0 as 1. This comparison alone treats those numeric + values alike; it does not rewrite input, convert units or erase signed zero. + """ + def words(item: Any) -> Any: + if isinstance(item, dict): + return {key: words(part) for key, part in item.items()} + if isinstance(item, (list, tuple)): + return [words(part) for part in item] + if type(item) in (int, float): + number = Fraction(item) + return ["number", str(number.numerator), str(number.denominator), item == 0 and math.copysign(1, item) < 0] + return [type(item).__name__, item] + return hashlib.sha256(json.dumps(words(value), sort_keys=True, separators=(",", ":"), allow_nan=False).encode()).hexdigest() + + +@dataclass(frozen=True, slots=True) +class SweepReference: + id: str + source_id: str + source_sha256: str + document_json: bytes + + def to_mapping(self) -> dict[str, Any]: + return json.loads(self.document_json) + + def match(self, targets: dict[str, dict[str, Any]], coordinates: dict[str, dict[str, Any]], baseline_sha256: str) -> dict[str, Any]: + document = self.to_mapping() + result = dict(id=self.id, source_id=self.source_id, source_sha256=self.source_sha256, comparison_qualified=False, + baseline_matches=baseline_sha256 == document["baseline_input_sha256"], scope="coordinate_and_target_coverage_only") + if document["targets"] != targets: + return {**result, "status": "target_mismatch", "reason": "reference belongs to different named parameter instances"} + for row in document["rows"]: + if row["coordinates"] == coordinates: + return {**result, **row} + return {**result, "status": "coordinate_missing", "reason": "no reference row at these exact normalized coordinates; no positional or nearest-point substitution"} diff --git a/src/solarlab/sweeps/scaps.py b/src/solarlab/sweeps/scaps.py new file mode 100644 index 00000000..63dc816e --- /dev/null +++ b/src/solarlab/sweeps/scaps.py @@ -0,0 +1,141 @@ +"""Bind the thirteen frozen SCAPS coordinate groups to existing stable DTO IDs. + +This is an input adapter, not the older combined-SRH sweep or a comparator. +Reported interface density units and the historical areal-input hypothesis are +kept separate. There is no invented thickness, Gaussian normalization or fit. +""" +from __future__ import annotations + +from copy import deepcopy +from decimal import Decimal +import json +from typing import Any, Literal + +from solarlab.device.inputs import DeviceInput +from solarlab.experiments.jv.inputs import JVExperimentInput +from solarlab.materials.source import SourceDocument +from solarlab.sweeps.inputs import SweepInput, SweepCoordinateInput, SweepTargetInput +from solarlab.sweeps.preparation import digest, encode +from solarlab.sweeps.reference import SweepReference, baseline_signature +from solarlab.sweeps.targets import bind_target + +# Coordinate names and field bindings follow scaps_reference.case_document; +# values and shapes are read from the supplied frozen manifest/contract. +_GROUPS = { + "scaps_cbo": (("CBO", "etl", "chi", "eV"),), + "scaps_etl_donor": (("N_D", "etl", "N_D", "cm^-3"),), + "scaps_pvk_donor": (("N_D", "pvk", "N_D", "cm^-3"),), + "scaps_nt_htl_pvk": (("Nt", "left", "total_density_m2", "cm^-2"),), + "scaps_nt_pvk_cb": (("Nt", "cb", "distribution.total_density_m3", "cm^-3"),), + "scaps_nt_pvk_vb": (("Nt", "vb", "distribution.total_density_m3", "cm^-3"),), + "scaps_nt_pvk_etl": (("Nt", "right", "total_density_m2", "cm^-2"),), + "scaps_et_htl_pvk": (("Et", "left", "trap_depth_eV", "eV"),), + "scaps_et_pvk_cb": (("Et", "cb", "energy_level.value_eV", "eV"),), + "scaps_et_pvk_vb": (("Et", "vb", "energy_level.value_eV", "eV"),), + "scaps_et_pvk_etl": (("Et", "right", "trap_depth_eV", "eV"),), + "scaps_nt_et": (("Nt", "right", "total_density_m2", "cm^-2"), ("Et", "right", "trap_depth_eV", "eV")), + "scaps_nt_cbo": (("Nt", "right", "total_density_m2", "cm^-2"), ("CBO", "etl", "chi", "eV")), +} + + +def _one(items: tuple[Any, ...], name: str, field: str = "name") -> Any: + found = [item for item in items if getattr(item, field) == name] + if len(found) != 1: + raise ValueError(f"SCAPS binding needs one supplied {field}={name}; no fallback by array index") + return found[0] + + +def scaps_sweeps(base: DeviceInput | JVExperimentInput, manifest: SourceDocument, + contract: SourceDocument, *, interface_density_interpretation: Literal["historical_areal_input"] + ) -> tuple[tuple[SweepInput, ...], tuple[SweepReference, ...]]: + """Return declarations using an explicitly chosen interface-density channel. + + This choice is an input interpretation, not a dimensional conversion or + evidence of the missing native SCAPS input. There is no default channel. + """ + if interface_density_interpretation != "historical_areal_input": + raise ValueError("SCAPS interface density requires the explicit historical_areal_input interpretation; native volume/areal input is not established") + device = base.device if isinstance(base, JVExperimentInput) else base + data, standard = json.loads(manifest.content), json.loads(contract.content) + groups = data["scaps"]["groups"] + if digest(groups) != standard["reference_set"]["manifest_groups_payload_sha256"]: + raise ValueError("SCAPS coordinates differ from the supplied frozen comparison contract") + if standard["independent_review"]["status"] != "approved" or not standard["frozen_at"]: + raise ValueError("SCAPS comparison contract has no completed source review") + if len(groups) != len(_GROUPS) or {g["id"] for g in groups} != set(_GROUPS): + raise ValueError("the thirteen distinct SCAPS groups must be present") + pvk, etl, htl = (_one(device.layers, name) for name in ("SCAPS_PVK", "SCAPS_ETL", "SCAPS_HTL")) + cb, vb = (_one(pvk.bulk_defects, name) for name in ("Perovskite-CB", "Perovskite-VB")) + joins = {} + for name, left, right in (("left", htl.id, pvk.id), ("right", pvk.id, etl.id)): + found = [item for item in device.interfaces if item.left == left and item.right == right] + if len(found) != 1 or found[0].defect is None: + raise ValueError("SCAPS interface binding requires a supplied directed interface and defect") + joins[name] = found[0] + declarations, references = [], [] + for group in groups: + rules, axes, bindings = _GROUPS[group["id"]], [], [] + if [axis["name"] for axis in group["axes"]] != [rule[0] for rule in rules]: + raise ValueError("SCAPS named-axis order changed") + for axis_index, (axis, location, field, unit) in enumerate(rules): + if location in {"etl", "pvk"}: + target: dict[str, Any] = dict(family="cbo" if axis == "CBO" else "layer_parameter", owner_id=etl.id if location == "etl" else pvk.id, parameter=field.split('.')) + if axis == "CBO": + target["reference_id"] = pvk.id + elif location in {"cb", "vb"}: + target = dict(family="bulk_defect", owner_id=pvk.id, local_id=cb.id if location == "cb" else vb.id, parameter=field.split('.')) + else: + join = joins[location] + assert join.defect is not None + target = dict(family="interface_defect", owner_id=join.id, local_id=join.defect.id, parameter=[field]) + binding = bind_target(base, SweepTargetInput.model_validate(target)) + bindings.append(binding) + axis_coordinates, seen = [], set() + for point in group["points"]: + original = point["coordinates"][axis_index] + if type(original) not in (int, float): + raise ValueError("frozen SCAPS coordinates must be numeric") + axis_key = Decimal(str(original)) + if axis_key not in seen: + axis_coordinates.append(dict(kind="value", value=f"{original} {unit}")) + seen.add(axis_key) + axes.append(dict(id=axis, target=target, coordinates=axis_coordinates)) + if len(group["points"]) != group["expected_points"]: + raise ValueError("SCAPS reference points are missing") + if len(axes[0]["coordinates"]) * (len(axes[1]["coordinates"]) if len(axes) == 2 else 1) != group["expected_points"]: + raise ValueError("SCAPS explicit coordinate product does not match the supplied reference shape") + rows, row_keys = [], set() + for point in group["points"]: + if point["status"] not in {"ok", "reference_missing"} or point["status"] == "reference_missing" and not point.get("reason"): + raise ValueError("each reference status requires its original missing reason") + row_coordinates = {rule[0]: binding.coordinate(SweepCoordinateInput(kind="value", value=f"{point['coordinates'][i]} {rule[3]}")) for i, (rule, binding) in enumerate(zip(rules, bindings))} + row_key = digest(row_coordinates) + if row_key in row_keys: + raise ValueError("duplicate SCAPS reference coordinate") + row_keys.add(row_key) + rows.append(dict(coordinates=row_coordinates, reported_coordinates=deepcopy(point["coordinates"]), worksheet_row=point["worksheet_row"], + status="available" if point["status"] == "ok" else "reference_missing", reason=point.get("reason"), + solver_execution_status=point.get("solver_execution_status", "not_established_by_reference_table"), + **({"original_delta_E_C_eV_cell": point["original_delta_E_C_eV_cell"]} if "original_delta_E_C_eV_cell" in point else {}))) + if sum(row["status"] == "available" for row in rows) != group["numeric_points"]: + raise ValueError("SCAPS reference count differs from frozen metadata") + ref_id = group["id"] + reference_document = dict(targets={axis["id"]: axis["target"] for axis in axes}, rows=rows, + baseline_input_sha256=baseline_signature(base.model_dump(mode="json", exclude_unset=True)), + baseline_comparison="exact_json_values_with_number_spelling_independent_and_signed_zero_sensitive", + missing_original_inputs=deepcopy(data["scaps"]["missing_original_inputs"]), + interpretation=dict(reported_axes=group["axes"], effective_coordinate_units=[rule[3] for rule in rules], + interface_density_choice=interface_density_interpretation, + interface_density_axes=[dict(axis_id=rule[0], reported_unit=group["axes"][index]["unit_as_reported"], + input_unit=rule[3], resolved_unit=binding.metadata["unit"], thickness_conversion=False, native_input_verified=False) + for index, (rule, binding) in enumerate(zip(rules, bindings)) + if binding.target.family == "interface_defect" and binding.field == "total_density_m2"], + interface_density="historical areal-input hypothesis; reported cm^-3 numerals used in cm^-2 fields with no thickness conversion", + energy="supplied CB/VB authorities remain distinct; partner metadata remains historical and is not overwritten", + gaussian="total/peak/width uncertainty retained; no normalization or calibration repair", + protocol="historical steady/transient/ion-state differences are not qualified by preparation", + source_contract_sha256=contract.sha256, worksheet=group["worksheet"], report_page=group["pdf_page"])) + references.append(SweepReference(ref_id, manifest.id, manifest.sha256, encode(reference_document))) + declarations.append(SweepInput.model_validate(dict(schema_version="solarlab.sweep-preparation.v1", id=ref_id, + base=base.model_dump(mode="json", exclude_unset=True), axes=axes, reference_id=ref_id))) + return tuple(declarations), tuple(references) diff --git a/src/solarlab/sweeps/steady.py b/src/solarlab/sweeps/steady.py new file mode 100644 index 00000000..e36929ce --- /dev/null +++ b/src/solarlab/sweeps/steady.py @@ -0,0 +1,65 @@ +"""Serial new-core DC sweeps of the existing prepared device declarations. + +Every point is resolved and compiled cold. No state, factorization or result +is reused across parameter changes; voltage continuation stays within a point. +Point failures remain explicit and do not discard other completed points. +""" + +from __future__ import annotations + +from dataclasses import dataclass +from typing import TYPE_CHECKING, Any + +from numpy.typing import ArrayLike + +from solarlab.device.resolved import PreparedDevice +from solarlab.experiments.jv.steady import SteadyJVResult, run_steady_jv +from solarlab.sweeps.preparation import PreparedSweep, prepare_point + +if TYPE_CHECKING: + from solarlab.solvers.nonlinear.steady_1d import SteadyOptions + + +@dataclass(frozen=True) +class SteadySweepPoint: + point_id: str + coordinates: dict[str, Any] + status: str + result: SteadyJVResult | None + error: str | None + + +def run_prepared_steady_sweep( + sweep: PreparedSweep, voltage_V: ArrayLike, *, + intervals_per_layer: int = 24, generation_scale: float = 1.0, + incident_power_W_m2: float | None = None, options: SteadyOptions | None = None, +) -> tuple[SteadySweepPoint, ...]: + """Execute device-only sweep points with the real 1D compiler and solver. + + A PreparedJVExperiment carries an independent timed protocol. It is not + silently converted to this explicitly steady protocol. + """ + from solarlab.device.compile_1d import compile_device_1d + from solarlab.solvers.nonlinear.steady_1d import SteadyStateError + + if not isinstance(sweep, PreparedSweep): + raise TypeError("expected PreparedSweep") + if sweep.to_input().base.schema_version != "solarlab.device-preparation.v1": + raise ValueError("steady sweep requires a device base and explicit steady voltages") + output = [] + for point in sweep.to_mapping()["points"]: + result, error = None, None + try: + if point["applied_input"] is None or point["status"] == "unresolved": + raise ValueError(f"unresolved sweep point: {point.get('field_errors', [])}") + prepared = prepare_point(point["applied_input"], sweep.defaults, sweep.resources, sweep.sources) + if not isinstance(prepared, PreparedDevice): + raise ValueError("steady sweep point must resolve to PreparedDevice") + compiled = compile_device_1d(prepared, intervals_per_layer=intervals_per_layer) + result = run_steady_jv(compiled, voltage_V, generation_scale=generation_scale, + incident_power_W_m2=incident_power_W_m2, options=options) + except (ValueError, SteadyStateError) as failure: + error = f"{type(failure).__name__}: {failure}" + output.append(SteadySweepPoint(point["id"], point["normalized_coordinates"], + "completed" if result is not None else "failed", result, error)) + return tuple(output) diff --git a/src/solarlab/sweeps/steady_worker.py b/src/solarlab/sweeps/steady_worker.py new file mode 100644 index 00000000..7258e112 --- /dev/null +++ b/src/solarlab/sweeps/steady_worker.py @@ -0,0 +1,166 @@ +"""Cold steady parameter points on the existing process scan and result store. + +The prepared sweep remains a declaration, not scientific qualification. This +adapter creates ordinary steady jobs and a ScanSpec; the supplied supervisor +owns capacity, cancellation, retries and the sole terminal of every attempt. +""" +from __future__ import annotations + +from dataclasses import asdict, dataclass +import json +from typing import TYPE_CHECKING, Any + +from solarlab.config.identity import BuildSource, ExecutionEngine +from solarlab.device.resolved import PreparedDevice +from solarlab.experiments.execution import ProcessSupervisor, ScanPoint, ScanRunner, ScanSpec +from solarlab.experiments.jv.worker import ( + SteadyJVProtocol, prepare_steady_jv_job, read_steady_jv_job, +) +from solarlab.experiments.worker import ManifestBinding, ResourceLimits, RunSpec +from solarlab.sweeps.preparation import PreparedSweep, digest, encode, prepare_point + +if TYPE_CHECKING: + from solarlab.io.run_store import RunStore + +__all__ = ["SteadySweepJobs", "prepare_steady_sweep_jobs", "read_steady_sweep_jobs"] + + +def _limits(limits: ResourceLimits) -> None: + if type(limits) is not ResourceLimits: + raise ValueError("explicit per-point ResourceLimits are required") + if limits.accepted_steps is not None or limits.calls is not None: + raise ValueError("steady workers do not report accepted_steps or calls; counter caps are unsupported") + + +@dataclass(frozen=True, slots=True) +class SteadySweepJobs: + """Independently bound points; submission adds no pool or state cache.""" + + spec: ScanSpec + executions: tuple[ManifestBinding, ...] + + def __post_init__(self) -> None: + executions = tuple(self.executions) + if type(self.spec) is not ScanSpec or len(executions) != len(self.spec.points): + raise ValueError("each declared point requires its own execution binding") + for point, binding in zip(self.spec.points, executions): + if point.spec.worker_id != "steady_jv": + raise ValueError("only the installed steady_jv worker is supported") + _limits(point.spec.limits) + point.spec.validate(binding) + object.__setattr__(self, "executions", executions) + + def submit(self, supervisor: ProcessSupervisor, *, max_in_flight: int = 1) -> ScanRunner: + """Use this exact shared supervisor; serial admission is the default.""" + return supervisor.scan(self.spec, executions=self.executions, max_in_flight=max_in_flight) + + +def prepare_steady_sweep_jobs( + sweep: PreparedSweep, protocol: SteadyJVProtocol, *, limits: ResourceLimits, + implementation: BuildSource, current_repository_head: str, engine: ExecutionEngine, + scan_id: str | None = None, +) -> SteadySweepJobs: + """Resolve every point afresh and bind its actual cold steady invocation. + + An unresolved point or unsupported physics refuses the whole declaration + before submission. Failures during execution remain individual RunStore + attempts and do not prevent later points from running. Continuation is + confined to the voltages of one point, never across parameter changes. + """ + if type(sweep) is not PreparedSweep: + raise TypeError("an actual PreparedSweep is required") + if sweep.to_input().base.schema_version != "solarlab.device-preparation.v1": + raise ValueError("steady process sweeps require a device base and an explicit steady protocol") + _limits(limits) + declaration = sweep.to_mapping() + scan_id = declaration["id"] if scan_id is None else scan_id + for point in declaration["points"]: + if point["status"] != "prepared_pending_dependencies" or point["applied_input"] is None: + raise ValueError(f"unresolved sweep point {point['id']}: {point.get('field_errors', [])}") + points, executions = [], [] + for index, point in enumerate(declaration["points"]): + prepared = prepare_point(point["applied_input"], sweep.defaults, sweep.resources, sweep.sources) + if type(prepared) is not PreparedDevice: + raise ValueError("every steady sweep point must resolve to PreparedDevice") + job = prepare_steady_jv_job(prepared, protocol, implementation=implementation, + current_repository_head=current_repository_head, engine=engine) + binding = job.execution + # Consume the existing declaration contract, including a fresh resolve + # and comparison against the independently prepared point manifest. + sweep.consume_point_manifest(point["id"], binding.manifest, binding.inputs, binding.execution, + engine=engine, environment=binding.execution.environment, + expected_sha256=binding.expected_sha256) + coordinates = { + "index": index, "sweep_sha256": sweep.content_sha256, + "prepared_sha256": prepared.content_sha256, + "declared_coordinates": point["coordinates"], + "normalized_coordinates": point["normalized_coordinates"], + "effective_targets": point["effective_targets"], + "targets": {axis["id"]: axis["target"] for axis in declaration["axes"]}, + "units": {axis["id"]: axis["input_field_schema"].get("unit") for axis in declaration["axes"]}, + } + run_id = "scan:" + digest([scan_id, point["id"]]) + spec = RunSpec.from_binding("steady_jv", job.request, limits, binding) + points.append(ScanPoint(point["id"], run_id, encode(coordinates).decode(), spec)) + executions.append(binding) + return SteadySweepJobs(ScanSpec(scan_id, tuple(points)), tuple(executions)) + + +def read_steady_sweep_jobs(store: RunStore, spec: ScanSpec) -> tuple[dict[str, Any], ...]: + """Read in declared order using the persisted ScanSpec; never run a solver. + + Undispatched points stay ``declared``. Each stored attempt retains its state, + reason and raw result; only succeeded attempts acquire verified array data. + Passing the original (or restored) ScanSpec checks the immutable point/run, + coordinate, complete request, resource and manifest association. + """ + if type(spec) is not ScanSpec: + raise ValueError("the original or restored ScanSpec is required") + associations = {row["point_id"]: row for row in store.sweep_points(spec.scan_id)} + if set(associations) - {point.point_id for point in spec.points}: + raise ValueError("stored sweep contains points outside this declaration") + output = [] + for point in spec.points: + coordinates = json.loads(point.coordinates_json) + request = point.spec.request + body = json.loads(request.request.content) + if (point.spec.worker_id != "steady_jv" or body.get("engine") != "solarlab" + or body.get("schema") != "solarlab.steady-jv.worker-request.v1" + or coordinates.get("prepared_sha256") != body.get("prepared_sha256")): + raise ValueError("point declaration is not its bound steady device invocation") + value: dict[str, Any] = { + "point_id": point.point_id, "run_id": point.run_id, "coordinates": coordinates, + "state": "declared", "reason": "waiting_for_capacity", "attempt_id": None, + "attempts": [], "result": None, + } + association = associations.get(point.point_id) + if association is None: + output.append(value) + continue + if (association["run_id"] != point.run_id or association["coordinates"] != coordinates + or association["opaque_execution_identity"] != request.execution_identity.sha256): + raise ValueError("stored sweep association differs from the declared point") + run = store.get_run(point.run_id) + metadata = run["request"]["input_metadata"] + identity = {"H_input": request.H_input, "H_physics": request.H_physics, + "H_execution": request.execution_identity.sha256} + if (run["request"]["identity"] != identity or metadata["transport"] != request.to_document() + or metadata["limits"] != asdict(point.spec.limits) + or metadata["worker_binding"]["id"] != point.spec.worker_id + or metadata["execution_manifest"]["manifest_sha256"] != point.spec.manifest_sha256): + raise ValueError("stored steady request differs from its declared execution") + attempts = [] + for attempt in store.attempts(point.run_id): + loaded = (read_steady_jv_job(store, point.run_id, attempt_id=attempt["attempt_id"]) + if attempt["state"] == "succeeded" else None) + if loaded is not None and loaded["worker_result"]["prepared_sha256"] != coordinates["prepared_sha256"]: + raise ValueError("committed result belongs to a different prepared sweep point") + raw = attempt["result"] + reason = (raw.get("worker_result", raw).get("reason", attempt["state"]) + if raw is not None else attempt["state"]) + attempts.append({**attempt, "reason": reason, "steady_result": loaded}) + latest = next(a for a in attempts if a["attempt_id"] == run["current_attempt_id"]) + value.update(state=latest["state"], reason=latest["reason"], attempt_id=latest["attempt_id"], + attempts=attempts, result=latest["steady_result"]) + output.append(value) + return tuple(output) diff --git a/src/solarlab/sweeps/targets.py b/src/solarlab/sweeps/targets.py new file mode 100644 index 00000000..0dd20545 --- /dev/null +++ b/src/solarlab/sweeps/targets.py @@ -0,0 +1,166 @@ +"""Closed bindings to actual DTO fields; stable IDs never mean list positions.""" +from __future__ import annotations + +from dataclasses import dataclass +from decimal import Decimal +from typing import Any + +from pydantic import TypeAdapter +from solarlab.device.inputs import DeviceInput, DistributionInput, EnergyLevelInput, InterfaceDefectInput +from solarlab.device.settings import DeviceSettingsInput +from solarlab.experiments.inputs import invalid +from solarlab.experiments.jv.inputs import DarkJVInput, JVExperimentInput, JVInput +from solarlab.materials.full_parameters import FullParameterInput, StructuredInput +from solarlab.sweeps.inputs import SweepCoordinateInput, SweepTargetInput +from solarlab.units import normalize_quantity + + +def _one(rows: list[dict[str, Any]], id: str | None, path: tuple[str | int, ...]) -> tuple[int, dict[str, Any]]: + found = [(i, row) for i, row in enumerate(rows) if row.get("id") == id] + if len(found) != 1: + invalid("SweepTarget", path, "stable target ID is missing or ambiguous; no positional fallback", id) + return found[0] + + +@dataclass(frozen=True) +class TargetBinding: + target: SweepTargetInput + input_path: tuple[str | int, ...] + stable_path: tuple[str, ...] + dto: type[StructuredInput] + field: str + reference_layer: str | None = None + + @property + def metadata(self) -> dict[str, Any]: + return self.dto.model_json_schema()["properties"][self.field] + + @property + def required(self) -> bool: + return self.dto.model_fields[self.field].is_required() or self.target.family == "cbo" + + def coordinate(self, value: SweepCoordinateInput) -> dict[str, Any]: + if value.kind == "omit": + if self.required: + raise ValueError("required target has no inheritance/omission mode") + return {"kind": "omit"} + raw, metadata = value.value, self.metadata + if raw is None: + if not self.dto._allows_null(self.field): + raise ValueError("target does not permit explicit null") + return {"kind": "value", "value": None} + if "unit" in metadata: + number = normalize_quantity(raw, metadata["unit"], input_unit=metadata.get("input_unit")) + if metadata.get("positive") and number <= 0: + raise ValueError("target value must be positive") + if metadata.get("nonnegative", True) and number < 0 and self.target.family != "cbo": + raise ValueError("target value must be nonnegative") + return {"kind": "value", "value": number} + checked = TypeAdapter(self.dto.model_fields[self.field].rebuild_annotation()).validate_python(raw, strict=True) + return {"kind": "value", "value": checked} + + +def bind_target(base: DeviceInput | JVExperimentInput, target: SweepTargetInput) -> TargetBinding: + device = base.device if isinstance(base, JVExperimentInput) else base + raw = device.editing_data() + prefix: tuple[str | int, ...] = ("device",) if isinstance(base, JVExperimentInput) else () + family, owner, local = target.family, target.owner_id, target.local_id + parameter = target.parameter + stable = (family, *(x for x in (owner, local, target.reference_id) if x is not None), *parameter) + dto: type[StructuredInput] + reference = None + if family == "setting": + dto, path = DeviceSettingsInput, (*prefix, "settings") + elif family == "jv": + if not isinstance(base, JVExperimentInput): + raise ValueError("a J-V target requires a supplied J-V experiment base") + dto, path = (JVInput if isinstance(base.experiment, JVInput) else DarkJVInput), ("experiment",) + elif family == "material_parameter": + index, _ = _one(raw.get("materials", []), owner, ("materials", str(owner))) + dto, path = FullParameterInput, (*prefix, "materials", index, "parameters") + elif family in {"layer_parameter", "cbo", "bulk_defect"}: + index, layer = _one(raw["layers"], owner, ("layers", str(owner))) + path = (*prefix, "layers", index) + if family == "bulk_defect": + defect_index, defect = _one(layer.get("bulk_defects", []), local, ("layers", str(owner), "bulk_defects", str(local))) + if len(parameter) != 2 or parameter[0] not in {"distribution", "energy_level"}: + raise ValueError("bulk sweep fields belong to a supplied distribution or referenced energy_level") + if not isinstance(defect.get(parameter[0]), dict): + raise ValueError("create the required defect declaration before selecting this sweep target") + dto = DistributionInput if parameter[0] == "distribution" else EnergyLevelInput + path = (*path, "bulk_defects", defect_index, parameter[0]) + else: + dto, path = FullParameterInput, (*path, "parameters") + if family == "cbo": + _, anchor = _one(raw["layers"], target.reference_id, ("layers", str(target.reference_id))) + if parameter != ("chi",) or owner == target.reference_id or layer["role"] != "ETL" or anchor["role"] != "absorber": + raise ValueError("CBO requires distinct supplied ETL/absorber IDs and the chi field") + reference = target.reference_id + elif family == "interface_defect": + index, interface = _one(raw.get("interfaces", []), owner, ("interfaces", str(owner))) + if not isinstance(interface.get("defect"), dict) or interface["defect"].get("id") != local: + raise ValueError("interface target requires its supplied defect ID") + dto, path = InterfaceDefectInput, (*prefix, "interfaces", index, "defect") + else: + raise ValueError("unsupported sweep family") + field = parameter[-1] + if len(parameter) != (2 if family == "bulk_defect" else 1) or field not in dto.model_fields: + raise ValueError("target parameter is not a field in its authoritative DTO") + metadata = dto.model_json_schema()["properties"][field] + variants = metadata.get("anyOf", [metadata]) + if field in {"id", "kind", "request_api", "schema_version"} or any("$ref" in value or value.get("type") in {"array", "object"} for value in variants): + raise ValueError("only existing scalar model parameters are sweep targets; identities and complex declarations are retained") + return TargetBinding(target, (*path, field), stable, dto, field, reference) + + +def write_coordinate(data: dict[str, Any], binding: TargetBinding, coordinate: SweepCoordinateInput, + reference_affinity: float | None = None) -> None: + owner = data + for key in binding.input_path[:-1]: + if isinstance(owner, dict) and key not in owner: + if coordinate.kind == "omit": + return + if key not in {"parameters", "settings"}: + raise ValueError("sweep edits cannot initialize a missing complex declaration") + owner[key] = {} + owner = owner[key] + key = binding.input_path[-1] + assert isinstance(key, str) + if coordinate.kind == "omit": + owner.pop(key, None) + elif binding.reference_layer is not None: + assert reference_affinity is not None + number = normalize_quantity(coordinate.value, "eV") + owner[key] = f"{Decimal(str(reference_affinity)) - Decimal(str(number))} eV" + else: + owner[key] = coordinate.value + + +def effective_target(binding: TargetBinding, resolved: dict[str, Any]) -> dict[str, Any]: + device = resolved.get("device", resolved) + family = binding.target.family + if family == "jv": + return {"value": resolved["experiment"]["controls"].get(binding.field), "origin": resolved["experiment"]["field_origins"].get(binding.field)} + if family == "setting": + return {"value": device["settings"].get(binding.field), "origin": "prepared_device_settings"} + if family == "material_parameter": + layers = [layer for layer in device["layers"] if layer["material_id"] == binding.target.owner_id] + return {"consumers": [{"layer_id": layer["id"], **next(row for row in layer["provenance"] if row["parameter"] == binding.field)} for layer in layers], "origin": "named_material_with_layer_overrides_retained"} + if family == "interface_defect": + _, interface = _one(device["interfaces"], binding.target.owner_id, ("interfaces", str(binding.target.owner_id))) + # The prepared interface retains the authoritative normalized declaration. + return {"value": interface["defect"][binding.field], "origin": "supplied_interface_defect", "energy_reference": interface["defect"]["energy_reference"]} + _, layer = _one(device["layers"], binding.target.owner_id, ("layers", str(binding.target.owner_id))) + if family == "bulk_defect": + _, defect = _one(layer["bulk_defects"], binding.target.local_id, ("bulk_defects", str(binding.target.local_id))) + value = defect + for part in binding.target.parameter: + value = value[part] + return {"value": value, "origin": "supplied_bulk_defect", "energy_reference": defect.get("energy_level", {}).get("reference")} + provenance = next(row for row in layer["provenance"] if row["parameter"] == binding.field) + result = {"value": provenance["effective_value"], "origin": provenance["origin"]} + if family == "cbo": + _, anchor = _one(device["layers"], binding.reference_layer, ("layers", str(binding.reference_layer))) + affinity = anchor["material_parameters"]["chi"] + result.update(reference_affinity_eV=affinity, offset_eV=float(Decimal(str(affinity)) - Decimal(str(result["value"])))) + return result diff --git a/src/solarlab/units.py b/src/solarlab/units.py new file mode 100644 index 00000000..30ad6f58 --- /dev/null +++ b/src/solarlab/units.py @@ -0,0 +1,137 @@ +"""Small SI/eV unit whitelist for configuration inputs. + +Decimal text and rational conversion factors are combined before one float +conversion. Bare Python floats retain their original binary value. Nonzero +underflow is rejected: a tiny diffusion coefficient must not become a zero face. +""" + +from __future__ import annotations + +from dataclasses import dataclass +from decimal import Decimal, InvalidOperation +from fractions import Fraction +import math +import re +from types import MappingProxyType + +__all__ = ["UNIT_SCHEMA_VERSION", "QuantityError", "normalize_quantity", "supported_units"] + +UNIT_SCHEMA_VERSION = "si-ev-1" + + +class QuantityError(ValueError): + """A quantity cannot be represented in its declared canonical unit.""" + + +@dataclass(frozen=True, slots=True) +class _Unit: + canonical: str + factor: Fraction + + +# These are unit definitions, not physical/model defaults. Energy remains eV. +_GROUPS = { + "1": {"1": "1", "%": "1e-2"}, + "m": {"m": "1", "cm": "1e-2", "mm": "1e-3", "um": "1e-6", "µm": "1e-6", "nm": "1e-9"}, + "s": {"s": "1", "ms": "1e-3", "us": "1e-6", "µs": "1e-6", "ns": "1e-9", "ps": "1e-12"}, + "m^-1": {"m^-1": "1", "cm^-1": "1e2"}, + "m^-2": {"m^-2": "1", "cm^-2": "1e4"}, + "m^-3": {"m^-3": "1", "cm^-3": "1e6"}, + "m^2": {"m^2": "1", "cm^2": "1e-4"}, + "m^2/(V s)": {"m^2/(V s)": "1", "m^2/Vs": "1", "cm^2/(V s)": "1e-4", "cm^2/Vs": "1e-4"}, + "m^2/s": {"m^2/s": "1", "cm^2/s": "1e-4"}, + "m^3/s": {"m^3/s": "1", "cm^3/s": "1e-6"}, + "m^6/s": {"m^6/s": "1", "cm^6/s": "1e-12"}, + "m/s": {"m/s": "1", "cm/s": "1e-2"}, + "K": {"K": "1"}, + "eV/K": {"eV/K": "1"}, + "A/(m^2 K^2)": {"A/(m^2 K^2)": "1", "A/(cm^2 K^2)": "1e4"}, + "(m/V)^0.5": {"(m/V)^0.5": "1", "(V/m)^-0.5": "1"}, + "m^-2/s": {"m^-2/s": "1", "cm^-2/s": "1e4"}, + "m^-3/s": {"m^-3/s": "1", "cm^-3/s": "1e6"}, + "V/m": {"V/m": "1", "V/cm": "1e2"}, + "Hz": {"Hz": "1", "kHz": "1e3"}, + "V": {"V": "1", "mV": "1e-3"}, + "V/s": {"V/s": "1", "mV/s": "1e-3"}, + "eV": {"eV": "1", "meV": "1e-3"}, + "A/m^2": {"A/m^2": "1", "mA/cm^2": "10"}, + "ohm m^2": {"ohm m^2": "1", "ohm cm^2": "1e-4", "Ω m^2": "1", "Ω cm^2": "1e-4"}, +} +_unit_values = { + name: _Unit(canonical, Fraction(factor)) + for canonical, entries in _GROUPS.items() + for name, factor in entries.items() +} +# SI's exact elementary-charge definition; no binary q multiplication/division. +_unit_values["J"] = _Unit("eV", 1 / Fraction("1.602176634e-19")) +_UNITS = MappingProxyType(_unit_values) +_CANONICAL = frozenset(_GROUPS) +del _unit_values + +_QUANTITY = re.compile( + r"\s*([+-]?(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?)\s*(.*?)\s*\Z" +) + + +def _fraction(value: object, path: str) -> Fraction: + if type(value) is int: + if value.bit_length() > 4096: + raise QuantityError(f"{path}: quantity is outside finite float range") + return Fraction(value) + if type(value) is float: + if not math.isfinite(value): + raise QuantityError(f"{path}: quantity must be finite") + return Fraction.from_float(value) + if isinstance(value, Decimal): + if not value.is_finite(): + raise QuantityError(f"{path}: quantity must be finite") + if value.is_zero(): + return Fraction(0) + # Every whitelist factor is within 10**±28. This bound rejects only + # unrepresentable results and avoids allocating enormous powers of ten. + if abs(value.adjusted()) > 1024: + raise QuantityError(f"{path}: quantity is outside finite float range") + return Fraction(value) + raise QuantityError(f"{path}: expected a number or unit string, not {type(value).__name__}") + + +def supported_units(canonical_unit: str) -> tuple[str, ...]: + """Return the actual accepted spellings for one canonical unit.""" + if not isinstance(canonical_unit, str) or canonical_unit not in _CANONICAL: + raise QuantityError(f"unknown canonical unit: {canonical_unit!r}") + return tuple(sorted(name for name, unit in _UNITS.items() if unit.canonical == canonical_unit)) + + +def normalize_quantity( + value: object, canonical_unit: str, *, path: str = "value", input_unit: str | None = None, +) -> float: + """Resolve one finite input to SI (or eV), rejecting bools and wrong units. + + Signed zeros normalize to +0. Affine Celsius conversion and unlisted unit + expressions are deliberately unsupported; callers must provide Kelvin. + """ + supported_units(canonical_unit) + source_unit = input_unit or canonical_unit + if isinstance(value, str): + match = _QUANTITY.fullmatch(value) + if match is None: + raise QuantityError(f"{path}: invalid finite quantity {value!r}") + text, suffix = match.groups() + source_unit = suffix or input_unit or canonical_unit + try: + value = Decimal(text) + except InvalidOperation as error: + raise QuantityError(f"{path}: invalid number") from error + definition = _UNITS.get(source_unit) + if definition is None or definition.canonical != canonical_unit: + raise QuantityError(f"{path}: unit {source_unit!r} is not compatible with {canonical_unit!r}") + exact = _fraction(value, path) * definition.factor + try: + result = float(exact) + except OverflowError as error: + raise QuantityError(f"{path}: quantity is outside finite float range") from error + if not math.isfinite(result): + raise QuantityError(f"{path}: quantity must be finite") + if exact and result == 0.0: + raise QuantityError(f"{path}: nonzero quantity underflows the resolved float representation") + return result diff --git a/src/solarlab_research/__init__.py b/src/solarlab_research/__init__.py new file mode 100644 index 00000000..ecf545a5 --- /dev/null +++ b/src/solarlab_research/__init__.py @@ -0,0 +1,3 @@ +"""Research extensions for the public SolarLab interfaces.""" + +__all__: tuple[str, ...] = () diff --git a/src/solarlab_research/py.typed b/src/solarlab_research/py.typed new file mode 100644 index 00000000..e69de29b diff --git a/src/solarlab_server/__init__.py b/src/solarlab_server/__init__.py new file mode 100644 index 00000000..67a482e8 --- /dev/null +++ b/src/solarlab_server/__init__.py @@ -0,0 +1,3 @@ +"""Service adapters for the public SolarLab interfaces.""" + +__all__: tuple[str, ...] = () diff --git a/src/solarlab_server/app.py b/src/solarlab_server/app.py new file mode 100644 index 00000000..1f7f51cd --- /dev/null +++ b/src/solarlab_server/app.py @@ -0,0 +1,131 @@ +"""Explicit local routes over a read handle and optional shared execution owner. + +The factory has no import-time/file/network side effects. ASGI lifespan opens +and closes its own handle to an EXISTING local RunStore; the coordinating +writer remains external. Opening the reader never recovers attempts, cancels +work, or starts a solver. Do not expose this unauthenticated preparation on a +public interface: deployment/authentication and the production switch are +separate integration work. + +Runs and attempt records include stored opaque execution metadata and results. +Event pages span a run's history; SSE URLs explicitly select one attempt. +Submission requires an explicit source-checked execution catalog. +Server shutdown and subscriber disconnect never cancel the external owner. +Only installed legacy routes and the classical steady adapter are admitted; +unregistered experiments and broader scientific qualification are unavailable. +""" + +from __future__ import annotations + +from collections.abc import AsyncIterator +from contextlib import asynccontextmanager +import math +from pathlib import Path +import sqlite3 +from typing import cast + +from fastapi import FastAPI, Request +from starlette.concurrency import run_in_threadpool +from starlette.responses import JSONResponse + +from solarlab.io.artifacts import ArtifactIntegrityError +from solarlab.io.run_store import RunStore, StateConflict +from solarlab_server.configuration import ConfigurationPreviewContext +from solarlab_server.job_service import JobService +from solarlab_server.routes.configs import router as configuration_router +from solarlab_server.routes.jobs import router as jobs_router +from solarlab_server.routes.materials import router as materials_router +from solarlab_server.routes.schema import router as schema_router +from solarlab_server.routes.results import install_results, verified_artifact +from solarlab_server.routes.legacy import install_legacy + + +def _store(request: Request) -> RunStore: + return cast(RunStore, request.app.state.run_store) + + +_verified_artifact = verified_artifact # Preserve the previous internal reader name. + + +def create_app( + store_root: str | Path, *, event_page_size: int = 100, + poll_interval: float = 0.1, keepalive_interval: float = 15.0, + max_artifact_bytes: int = 16 * 1024**2, + configuration_preview: ConfigurationPreviewContext | None = None, + job_service: JobService | None = None, +) -> FastAPI: + """Build a local reader; start/stop its owned handle with ASGI lifespan. + + ``store_root`` must name an existing canonical absolute local store. + Limits describe transport, not numerical controls or physical defaults. + JSON pages accept ``after``/``limit``; SSE accepts ``after`` and gives + ``Last-Event-ID`` precedence. Artifact bodies are exact validated bytes. + Preview POSTs resolve DTOs only when the caller supplies trusted catalog + and resource data through ``configuration_preview``; they never execute. + ``job_service`` explicitly adds checked installed submissions through an + existing shared supervisor. Its lifecycle is owned by the caller. + """ + if type(event_page_size) is not int or not 1 <= event_page_size <= 1000: + raise ValueError("event_page_size must be between 1 and 1000") + for value in (poll_interval, keepalive_interval): + if type(value) not in {int, float} or not math.isfinite(value) or value <= 0: + raise ValueError("poll/keepalive intervals must be positive and finite") + if type(max_artifact_bytes) is not int or max_artifact_bytes < 0: + raise ValueError("max_artifact_bytes must be a nonnegative integer") + if configuration_preview is not None and not isinstance(configuration_preview, ConfigurationPreviewContext): + raise TypeError("configuration_preview must be an explicit ConfigurationPreviewContext") + root = Path(store_root) + if not root.is_absolute(): + raise ValueError("store_root must be an explicit absolute local path") + if job_service is not None: + if type(job_service) is not JobService or job_service.supervisor.store.root != root: + raise ValueError("job service must share this exact local store and external process owner") + job_service.catalog.verify() + + @asynccontextmanager + async def lifespan(app: FastAPI) -> AsyncIterator[None]: + if not (root / "store.sqlite3").is_file(): + raise ValueError("the read service requires an existing RunStore") + store = await run_in_threadpool(RunStore, root, read_only=True) + app.state.run_store = store + try: + yield + finally: + await run_in_threadpool(store.close) + app.state.run_store = None + + app = FastAPI(title="SolarLab stored runs", lifespan=lifespan) + app.state.run_store = None + app.state.configuration_preview = configuration_preview + app.state.job_service = job_service + app.include_router(schema_router) + app.include_router(configuration_router) + app.include_router(materials_router) + app.include_router(jobs_router) + + @app.exception_handler(KeyError) + async def not_found(request: Request, error: KeyError) -> JSONResponse: + return JSONResponse({"detail": "unknown stored identifier"}, status_code=404) + + @app.exception_handler(ArtifactIntegrityError) + async def artifact_integrity(request: Request, error: ArtifactIntegrityError) -> JSONResponse: + return JSONResponse({"detail": {"code": "artifact_integrity", "message": str(error)}}, status_code=409) + + @app.exception_handler(StateConflict) + async def conflict(request: Request, error: StateConflict) -> JSONResponse: + return JSONResponse({"detail": str(error)}, status_code=409) + + @app.exception_handler(ValueError) + async def invalid(request: Request, error: ValueError) -> JSONResponse: + return JSONResponse({"detail": str(error)}, status_code=400) + + @app.exception_handler(sqlite3.OperationalError) + @app.exception_handler(TimeoutError) + async def unavailable(request: Request, error: Exception) -> JSONResponse: + return JSONResponse({"detail": "stored data temporarily unavailable"}, status_code=503) + + install_results(app, lambda request: _store(request), event_page_size=event_page_size, + poll_interval=poll_interval, keepalive_interval=keepalive_interval, max_artifact_bytes=max_artifact_bytes) + install_legacy(app, max_artifact_bytes=max_artifact_bytes, event_page_size=event_page_size, + poll_interval=poll_interval, keepalive_interval=keepalive_interval) + return app diff --git a/src/solarlab_server/configuration.py b/src/solarlab_server/configuration.py new file mode 100644 index 00000000..2ae5d7c8 --- /dev/null +++ b/src/solarlab_server/configuration.py @@ -0,0 +1,261 @@ +"""Pure configuration preview using explicitly supplied trusted preparation data.""" + +from __future__ import annotations + +from dataclasses import dataclass +import json +import math +from typing import Any, Literal, cast + +from fastapi import APIRouter, HTTPException, Request +from pydantic import BaseModel, ConfigDict, Field, ValidationError +from starlette.concurrency import run_in_threadpool +from starlette.responses import JSONResponse + +from solarlab.config.resolve_device import resolve_device, resolve_tandem +from solarlab.config.legacy_wire import prepare_legacy_wire +from solarlab.config.schema import configuration_schema_representation +from solarlab.device.defaults import DefaultCatalog +from solarlab.device.inputs import DeviceInput, TandemInput +from solarlab.device.resolved import PreparedDevice, PreparedTandem +from solarlab.experiments.two_dimensional.inputs import SpatialExperimentInput +from solarlab.experiments.two_dimensional.preparation import PreparedSpatialExperiment, prepare_spatial_experiment +from solarlab.experiments.jv.inputs import JVExperimentInput +from solarlab.experiments.jv.preparation import PreparedJVExperiment, prepare_jv_experiment +from solarlab.experiments.inputs import invalid +from solarlab.sweeps.inputs import SweepInput +from solarlab.sweeps.preparation import PreparedSweep, prepare_sweep +from solarlab.sweeps.reference import SweepReference +from solarlab.materials.resources import ResourceLibrary +from solarlab.materials.source import SourceDocument + +router = APIRouter() +Kind = Literal["device", "tandem", "experiment", "sweep", "legacy-wire"] + + +@dataclass(frozen=True, slots=True) +class ConfigurationPreviewContext: + """App-owned data, never decoded from a preview request or discovered by path. + + ``sources`` are optional original documents supplied by the trusted caller. + An empty tuple means that no original document provenance was supplied. + The byte limit is a transport limit, not a physical configuration default. + """ + + defaults: DefaultCatalog + resources: ResourceLibrary + sources: tuple[SourceDocument, ...] = () + max_input_bytes: int = 1024**2 + sweep_references: tuple[SweepReference, ...] = () + + def __post_init__(self) -> None: + if not isinstance(self.defaults, DefaultCatalog) or not isinstance(self.resources, ResourceLibrary): + raise TypeError("preview requires an explicit DefaultCatalog and ResourceLibrary") + sources = tuple(self.sources) + if any(not isinstance(source, SourceDocument) for source in sources): + raise TypeError("preview sources must be explicit SourceDocument records") + if len({source.id for source in sources}) != len(sources): + raise ValueError("preview source IDs must be unique") + if type(self.max_input_bytes) is not int or self.max_input_bytes <= 0: + raise ValueError("max_input_bytes must be a positive transport byte limit") + object.__setattr__(self, "sources", sources) + references = tuple(self.sweep_references) + if any(not isinstance(item, SweepReference) for item in references) or len({item.id for item in references}) != len(references): + raise ValueError("sweep references require unique trusted coverage records") + object.__setattr__(self, "sweep_references", references) + + +def _error(status: int, code: str, message: str, fields: list[dict[str, Any]] | None = None) -> HTTPException: + return HTTPException(status, detail={ + "code": code, "message": message, "status": "unresolved", "can_execute": False, + "field_errors": fields if fields is not None else [ + {"loc": ["body"], "type": code, "msg": message}], + }) + + +def _pairs(items: list[tuple[str, Any]]) -> dict[str, Any]: + if len({name for name, _ in items}) != len(items): + raise ValueError("duplicate JSON configuration field") + return dict(items) + + +def _number(text: str) -> float: + value = float(text) + if not math.isfinite(value): + raise ValueError("configuration JSON numbers must be finite") + return value + + +def _constant(text: str) -> Any: + raise ValueError(f"non-JSON numeric constant: {text}") + + +class _SourceIdentity(BaseModel): + model_config = ConfigDict(extra="forbid", strict=True) + id: str = Field(min_length=1) + sha256: str = Field(pattern=r"^[a-f0-9]{64}$") + + +class _LegacyWireRequest(BaseModel): + model_config = ConfigDict(extra="forbid", strict=True) + schema_version: Literal["solarlab.legacy-wire-preview-request.v1"] + # Both existing models validate their own literal schema version with a + # before-validator, which Pydantic's field discriminator cannot wrap. + input: DeviceInput | TandemInput + source: _SourceIdentity + references: dict[str, _SourceIdentity] = Field(default_factory=dict) + + +def _legacy_wire(data: Any, context: ConfigurationPreviewContext) -> dict[str, Any]: + declaration = _LegacyWireRequest.model_validate(data) + trusted = {source.id: source for source in context.sources} + + def source(binding: _SourceIdentity, path: list[str]) -> SourceDocument: + original = trusted.get(binding.id) + if original is None: + raise _error(422, "configuration_source_unknown", "Choose an explicitly supplied source ID", [ + {"loc": [*path, "id"], "type": "source_unknown", "msg": "Unknown trusted source ID"}]) + if original.sha256 != binding.sha256: + raise _error(409, "configuration_source_mismatch", "Original source content identity changed", [ + {"loc": [*path, "sha256"], "type": "source_mismatch", "msg": "SHA-256 does not match the selected trusted source"}]) + return original + + original = source(declaration.source, ["source"]) + expected = ({declaration.input.top_cell_reference, declaration.input.bottom_cell_reference} + if isinstance(declaration.input, TandemInput) else set()) + if set(declaration.references) != expected: + raise _error(422, "configuration_source_references", "Supply exactly the declared tandem reference bindings", [ + {"loc": ["references"], "type": "reference_identity", "msg": "Reference names must match the declared subcells; device exports use no references"}]) + references = {name: source(binding, ["references", name]) for name, binding in declaration.references.items()} + result = prepare_legacy_wire(declaration.input, source=original, defaults=context.defaults, references=references) + report = result.export() + documents = [] + if result.document is not None: + for name, document in [(None, result.document), *result.references]: + documents.append({ + "role": "source" if name is None else "reference", "reference": name, + "source_id": document.id, "sha256": document.sha256, "size_bytes": len(document.content), + "media_type": "application/yaml", "utf8": document.content.decode("utf-8"), + }) + return { + "schema": "solarlab.legacy-wire-preview.v1", "kind": "legacy-wire", + "status": report["status"], "can_execute": False, + "input": report["input_declaration"], "report": report, "documents": documents, + "identity": {"scope": "legacy_wire_preparation", "source": declaration.source.model_dump(), + "references": {name: binding.model_dump() for name, binding in declaration.references.items()}, + "default_catalog_sha256": context.defaults.content_sha256, + "resource_library_sha256": context.resources.content_sha256, + "configuration_schema_sha256": configuration_schema_representation()[1]}, + } + + +def _resolve(kind: Kind, data: Any, context: ConfigurationPreviewContext) -> dict[str, Any]: + try: + if kind == "legacy-wire": + return _legacy_wire(data, context) + prepared: PreparedDevice | PreparedTandem | PreparedSpatialExperiment | PreparedJVExperiment | PreparedSweep + if kind == "device": + prepared = resolve_device(DeviceInput.model_validate(data), context.defaults, + context.resources, sources=context.sources) + elif kind == "tandem": + prepared = resolve_tandem(TandemInput.model_validate(data), context.defaults, + context.resources, sources=context.sources) + elif kind == "sweep": + sweep = SweepInput.model_validate(data) + if isinstance(sweep.base, JVExperimentInput) and not any(name == "jv_jobs" for name, _ in context.defaults.experiment_defaults): + raise _error(503, "configuration_experiment_context_missing", "J-V sweep preview requires explicit source-bound J-V defaults") + prepared = prepare_sweep(sweep, context.defaults, context.resources, sources=context.sources, references=context.sweep_references) + else: + declaration = data.get("experiment") if isinstance(data, dict) else None + experiment_kind = declaration.get("kind") if isinstance(declaration, dict) else None + if experiment_kind in {"jv", "dark_jv"}: + if not any(name == "jv_jobs" for name, _ in context.defaults.experiment_defaults): + raise _error(503, "configuration_experiment_context_missing", "J-V preview requires explicit source-bound J-V defaults") + prepared = prepare_jv_experiment(JVExperimentInput.model_validate(data), context.defaults, + context.resources, sources=context.sources) + elif experiment_kind in {"jv_2d", "voc_grain_sweep"}: + if not any(name == "jv_2d" for name, _ in context.defaults.experiment_defaults): + raise _error(503, "configuration_experiment_context_missing", "Spatial preview requires explicit source-bound spatial defaults") + prepared = prepare_spatial_experiment(SpatialExperimentInput.model_validate(data), context.defaults, + context.resources, sources=context.sources) + else: + invalid("ExperimentPreview", ("experiment", "kind"), "choose jv, dark_jv, jv_2d or voc_grain_sweep", experiment_kind) + except ValidationError as error: + fields = [dict(field) for field in error.errors(include_url=False, include_context=False)] + raise _error(422, "configuration_validation", "Invalid configuration input", fields) from error + except ValueError as error: + # The core currently supplies textual semantic errors, not structured + # paths. Preserve that message at the document level; do not guess a path. + raise _error(422, "configuration_resolution", str(error)) from error + return { + "schema": "solarlab.configuration-preview.v1", "kind": kind, + "status": "prepared_pending_dependencies", "can_execute": prepared.can_execute, + "input": prepared.to_input().editing_data(), "resolved": prepared.to_mapping(), + "identity": { + "scope": "configuration_content", + "content_sha256": prepared.content_sha256, + "default_catalog_sha256": context.defaults.content_sha256, + "resource_library_sha256": context.resources.content_sha256, + **({"configuration_schema_sha256": configuration_schema_representation()[1]} if kind in {"experiment", "sweep"} else {}), + }, + } + + +async def _preview(request: Request, kind: Kind) -> JSONResponse: + context = cast(ConfigurationPreviewContext | None, request.app.state.configuration_preview) + if context is None: + raise _error(503, "configuration_context_missing", + "Configuration preview requires an explicitly supplied trusted catalog and resource library") + if kind in {"experiment", "sweep", "legacy-wire"}: + if kind == "experiment" and not context.defaults.experiment_defaults: + raise _error(503, "configuration_experiment_context_missing", "Experiment preview requires explicit source-bound experiment defaults") + declared_schema = request.headers.get("x-solarlab-configuration-schema") + if declared_schema is None: + raise _error(428, "configuration_schema_required", "Send the generated configuration schema SHA-256 in X-Solarlab-Configuration-Schema") + if declared_schema != configuration_schema_representation()[1]: + raise _error(409, "configuration_schema_mismatch", "Configuration schema identity does not match this server") + if request.headers.get("content-type", "").split(";", 1)[0].strip().lower() != "application/json": + raise _error(415, "configuration_content_type", "Expected application/json") + raw = bytearray() + async for chunk in request.stream(): + if len(raw) + len(chunk) > context.max_input_bytes: + raise _error(413, "configuration_input_limit", "Configuration exceeds the preview byte limit") + raw.extend(chunk) + try: + data = json.loads(raw.decode("utf-8"), object_pairs_hook=_pairs, + parse_float=_number, parse_constant=_constant, + parse_int=lambda word: -0.0 if word == "-0" else int(word)) + except (ValueError, UnicodeError, RecursionError) as error: + raise _error(400, "configuration_json", str(error)) from error + result = await run_in_threadpool(_resolve, kind, data, context) + return JSONResponse(result, headers={"Cache-Control": "no-store"}) + + +@router.post("/configuration-preview/device") +async def preview_device(request: Request) -> JSONResponse: + """Resolve a DeviceInput JSON document; never construct an execution request.""" + return await _preview(request, "device") + + +@router.post("/configuration-preview/tandem") +async def preview_tandem(request: Request) -> JSONResponse: + """Resolve a TandemInput with supplied subcells; references are not file paths.""" + return await _preview(request, "tandem") + + +@router.post("/configuration-preview/experiment") +async def preview_experiment(request: Request) -> JSONResponse: + """Prepare declared geometry/protocol controls without generating a mesh or state.""" + return await _preview(request, "experiment") + + +@router.post("/configuration-preview/sweep") +async def preview_sweep(request: Request) -> JSONResponse: + """Expand bounded serial declarations; no numerical work, reuse or run submission.""" + return await _preview(request, "sweep") + + +@router.post("/configuration-preview/legacy-wire") +async def preview_legacy_wire(request: Request) -> JSONResponse: + """Prepare exact UTF-8 wire documents from selected trusted source bytes.""" + return await _preview(request, "legacy-wire") diff --git a/src/solarlab_server/events.py b/src/solarlab_server/events.py new file mode 100644 index 00000000..5e6e9ff5 --- /dev/null +++ b/src/solarlab_server/events.py @@ -0,0 +1,98 @@ +"""Attempt-scoped replay of committed RunStore events; no event broker. + +IDs are the store's global SQLite sequences, scoped by store and attempt. +One stored terminal event contains the result and artifact references. There +are no synthetic result/error/done siblings that could share a replay cursor. +""" + +from __future__ import annotations + +import asyncio +from collections.abc import AsyncIterator +import json +from typing import TYPE_CHECKING, Any + +from starlette.concurrency import run_in_threadpool +from starlette.requests import Request + +if TYPE_CHECKING: + from solarlab.contracts.persistence import PersistenceReader + +MAX_SEQUENCE = 2**63 - 1 +TERMINAL_STATES = frozenset({"succeeded", "failed", "cancelled"}) + + +def attempt_record(store: PersistenceReader, run_id: str, attempt_id: str) -> dict[str, Any]: + """Read an existing attempt, including its unaltered result/terminal data.""" + for record in store.attempts(run_id): + if record["attempt_id"] == attempt_id: + return record + raise KeyError(attempt_id) + + +def replay_cursor( + store: PersistenceReader, run_id: str, attempt_id: str, after: int, last_event_id: str | None, +) -> tuple[int, bool]: + """A supplied Last-Event-ID overrides ``after`` and must belong here. + + Zero starts a replay. Acknowledging this attempt's terminal produces an + empty HTTP 204 response, which also stops EventSource auto-reconnection. + A future, foreign, or malformed cursor is an error, not an empty success. + """ + cursor = after + if last_event_id is not None: + if not (last_event_id.isascii() and last_event_id.isdecimal() + and len(last_event_id) <= 19): + raise ValueError("Last-Event-ID must be a bounded nonnegative integer") + cursor = int(last_event_id) + if not 0 <= cursor <= MAX_SEQUENCE: + raise ValueError("event cursor is outside the SQLite sequence domain") + if cursor == 0: + return 0, False + records = store.events(after=cursor - 1, limit=1, run_id=run_id) + if (not records or records[0]["sequence"] != cursor + or records[0]["attempt_id"] != attempt_id): + raise ValueError("event cursor does not identify an event of this attempt") + return cursor, records[0]["kind"] == "terminal" + + +async def event_stream( + request: Request, store: PersistenceReader, run_id: str, attempt_id: str, *, + after: int, page_size: int, poll_interval: float, keepalive_interval: float, +) -> AsyncIterator[str]: + """Poll bounded pages without consuming another subscriber's events. + + A retry needs its own attempt URL. Disconnect/shutdown cancels only this + iterator. If the store fails after HTTP headers, the connection fails; + no business failure or successful terminal is fabricated in its place. + """ + clock = asyncio.get_running_loop().time + cursor = after + next_keepalive = clock() + keepalive_interval + while not await request.is_disconnected(): + records = await run_in_threadpool(store.events, after=cursor, limit=page_size, run_id=run_id) + if not records: + attempt = await run_in_threadpool(attempt_record, store, run_id, attempt_id) + if attempt["state"] in TERMINAL_STATES: + # The first page can precede the terminal commit. Reading again + # AFTER the terminal state prevents closing across that window. + records = await run_in_threadpool( + store.events, after=cursor, limit=page_size, run_id=run_id, + ) + if not records: + return + for record in records: + cursor = record["sequence"] + if record["attempt_id"] != attempt_id: + continue + data = json.dumps(record, ensure_ascii=True, allow_nan=False, separators=(",", ":")) + yield f"id: {cursor}\nevent: {record['kind']}\ndata: {data}\n\n" + next_keepalive = clock() + keepalive_interval + if record["kind"] == "terminal": + return + if records: + continue + if clock() >= next_keepalive: + yield ": keepalive\n\n" + next_keepalive = clock() + keepalive_interval + await asyncio.sleep(min(poll_interval, max(0.0, next_keepalive - clock()))) diff --git a/src/solarlab_server/ionic_jv_preparation.py b/src/solarlab_server/ionic_jv_preparation.py new file mode 100644 index 00000000..2ca7c82f --- /dev/null +++ b/src/solarlab_server/ionic_jv_preparation.py @@ -0,0 +1,382 @@ +"""Installed illuminated shared-site ionic J-V on the existing HTTP owner. + +HTTP selects registered prepared data and supplies the explicit verified +protocol/controls. The actual core request body is preserved while the +installed catalog binds HTTP configuration, source and runtime identities. +""" +from __future__ import annotations + +from dataclasses import asdict, dataclass, field +import inspect +import json +import math +from pathlib import Path +import re +from typing import TYPE_CHECKING, Annotated, Any, Literal, cast + +from pydantic import BaseModel, ConfigDict, Field, model_validator + +from solarlab.config.identity import BuildSource, ExecutionEngine +from solarlab.device.resolved import PreparedDevice +from solarlab.experiments.jv.ionic_worker import ( + REGISTERED_WALL_SECONDS, IonicJVInitial, IonicJVJob, IonicJVProtocol, + ionic_jv_identity_inputs, ionic_jv_worker_binding, prepare_ionic_jv_job, read_ionic_jv_job, run_ionic_jv_worker, +) +from solarlab.experiments.worker import ResourceLimits, WorkerContext, WorkerRequest, WorkerResult +from solarlab.materials.source import SourceDocument +from solarlab.physics.registry import ModelRegistry, metadata_digest +from solarlab_server.steady_preparation import _device_binding, _implementation_binding +from solarlab_server.transient_preparation import _server_runtime + +if TYPE_CHECKING: + from solarlab.experiments.jv.ionic_steady import IonicSteadyJVOptions + from solarlab.io.run_store import RunStore + from solarlab_server.job_service import ExecutionCatalog + +__all__ = ["IonicJVJobInput", "IonicJVPreparationContext", "ionic_jv_execution_catalog", + "prepare_ionic_jv_input", "read_registered_ionic_jv_job"] +EXPERIMENT_ID = "ionic_steady_jv" +_CORE_REQUEST_SCHEMA_ID = "solarlab.ionic-jv.worker-request.v1" +_CORE_RESULT_SCHEMA_ID = "solarlab.ionic-jv.worker-result.v1" +SCOPE = "illuminated_shared_site_positive_D_single_blocking_domain_ionic_steady_jv" +_REGISTERED_WALL_DEVICE_ID = "research_1d_shared" +# Content-only approval for this device and the exact fixed v1 recipe. Source +# locations and the catalog-origin hashes derived from them are normalized; +# the ordinary prepared/compiled identities retain their full provenance. +_REGISTERED_WALL_PROFILE_SHA256 = "b051cb0cc9f99205c3c2361f0540162a412114f983b4d98bfc0ac873bab4908b" +VOLTAGES_V = tuple(tick / 40. for tick in range(51)) +_SERVER_PATHS = ("ionic_jv_preparation.py", "ionic_transient_preparation.py", "transient_preparation.py", + "steady_preparation.py", "job_service.py", "registered_worker.py", "app.py", + "routes/jobs.py", "routes/results.py", "events.py") + + +def _canonical(value: Any) -> bytes: + return json.dumps(value, sort_keys=True, separators=(",", ":"), allow_nan=False).encode() + + +def _same_fixed_policy(value: Any, expected: Any) -> bool: + """JSON numeric values are equal across int/float spelling, never booleans.""" + if type(expected) in (int, float): + return bool(type(value) in (int, float) and (type(value) is int or math.isfinite(value)) + and value == expected) + if type(value) is not type(expected): + return False + if isinstance(expected, dict): + return bool(value.keys() == expected.keys() and all(_same_fixed_policy(value[k], v) for k, v in expected.items())) + if isinstance(expected, list): + return len(value) == len(expected) and all(_same_fixed_policy(a, b) for a, b in zip(value, expected)) + return bool(value == expected) + + +def _options() -> IonicSteadyJVOptions: + from solarlab.experiments.jv.ionic_steady import IonicSteadyJVOptions + from solarlab.solvers.nonlinear.ionic_1d import IonicSteadyOptions + from solarlab.solvers.nonlinear.problem import SolveBudget + from solarlab.solvers.nonlinear.steady_1d import SteadyOptions + return IonicSteadyJVOptions(IonicSteadyOptions(SteadyOptions(), 1e-12, 1e6, 1e6, 1., 12, + SolveBudget(60, 600, 60, 24), 30.), max_points=51, wall_s=25.) + + +def _initial() -> IonicJVInitial: + return IonicJVInitial("dark_direct_density_seed_v1", .002, 25.) + + +def _policy() -> dict[str, Any]: + return {"protocol": {"voltage_V": list(VOLTAGES_V), "generation_scale": 1., "incident_power_W_m2": None}, + "intervals_per_layer": [12, 12, 12], "controls": asdict(_options()), + "initial": {"policy": "dark_direct_density_seed_v1", "voltage_V": .002, "wall_s": 25.}} + + +def _wall_profile_sha256(prepared: PreparedDevice, ion_domain_layer: str, + ion_domain_endpoints: tuple[str, ...]) -> str: + """Bind all prepared values and the fixed recipe without source locations.""" + data = prepared.to_mapping() + source_origin = "catalog:" + prepared.defaults.content_sha256 + data["input_sources"] = [{"sha256": item["sha256"]} + for item in sorted(data["input_sources"], key=lambda item: item["sha256"])] + data["default_catalog"]["evidence"] = sorted(sha for _, sha in data["default_catalog"]["evidence"]) + content_origin = "catalog:" + metadata_digest(data["default_catalog"]) + for layer in data["layers"]: + for item in layer["provenance"]: + if item["origin"] == source_origin: + item["origin"] = content_origin + for item in data["resource_bindings"]: + del item["source_id"] # Source bytes and resource content digests remain bound. + return metadata_digest({"schema": "solarlab.ionic-jv.wall-profile.v1", + "device_id": _REGISTERED_WALL_DEVICE_ID, "input": json.loads(prepared.input_json), + "prepared": data, "ion_domain_layer": ion_domain_layer, + "ion_domain_endpoints": list(ion_domain_endpoints), "fixed_numerical_policy": _policy()}) + + +def _wall_ceiling_seconds(device_id: str, prepared: PreparedDevice, ion_domain_layer: str, + ion_domain_endpoints: tuple[str, ...], wall_profile_sha256: str | None) -> float: + if wall_profile_sha256 is None: + return 30. + if type(wall_profile_sha256) is not str or wall_profile_sha256 != _REGISTERED_WALL_PROFILE_SHA256: + raise ValueError("ionic J-V wall profile is not the approved installed request") + if device_id != _REGISTERED_WALL_DEVICE_ID: + return 30. + if _wall_profile_sha256(prepared, ion_domain_layer, ion_domain_endpoints) != wall_profile_sha256: + raise ValueError("ionic J-V wall profile differs from the approved prepared device and recipe") + return REGISTERED_WALL_SECONDS + + +def _control_schema(schema: dict[str, Any]) -> None: + schema["const"] = _policy()["controls"] + + +class _InitialInput(BaseModel): + model_config = ConfigDict(extra="forbid", strict=True, allow_inf_nan=False) + policy: Literal["dark_direct_density_seed_v1"] + voltage_V: float = Field(ge=.002, le=.002) + wall_s: float = Field(ge=25., le=25.) + + +class IonicJVJobInput(BaseModel): + """The first verified HTTP protocol; scientific controls cannot be changed.""" + model_config = ConfigDict(extra="forbid", strict=True, allow_inf_nan=False) + device_id: str = Field(pattern=r"^[A-Za-z0-9_][A-Za-z0-9_.:-]{0,127}$") + voltage_V: list[Annotated[float, Field(ge=0, le=1.25)]] = Field( + min_length=51, max_length=51, json_schema_extra={"const": list(VOLTAGES_V)}) + generation_scale: float = Field(ge=1, le=1) + incident_power_W_m2: None + intervals_per_layer: list[Annotated[int, Field(ge=12, le=12)]] = Field(min_length=3, max_length=3) + controls: dict[str, Any] = Field(description="Exact complete controls advertised in fixed_numerical_policy.controls", + json_schema_extra=_control_schema) + initial: _InitialInput + + @model_validator(mode="after") + def fixed_verified_protocol(self) -> IonicJVJobInput: + declared = _policy() + if (tuple(self.voltage_V) != VOLTAGES_V or not _same_fixed_policy(self.controls, declared["controls"]) + or not _same_fixed_policy(self.initial.model_dump(), declared["initial"])): + raise ValueError("ionic J-V v1 requires the exact installed51-point protocol and unchanged full controls/initial recipe") + return self + + +def _server_documents() -> tuple[SourceDocument, ...]: + root = Path(__file__).resolve().parent + return tuple(SourceDocument("solarlab_server/" + name, (root / name).read_bytes()) for name in _SERVER_PATHS) + + +def _server_bindings() -> list[dict[str, str]]: + return [{"id": s.id, "sha256": s.sha256} for s in _server_documents()] + + +@dataclass(frozen=True, slots=True) +class IonicJVPreparationContext: + devices: tuple[tuple[str, PreparedDevice], ...] + ion_domain_layer: str + implementation: BuildSource + current_repository_head: str + models: ModelRegistry = field(init=False) + server_sources: tuple[SourceDocument, ...] = field(init=False) + + def __post_init__(self) -> None: + devices = tuple(tuple(item) for item in self.devices) + if (not devices or any(len(item) != 2 or type(item[0]) is not str + or re.fullmatch(r"[A-Za-z0-9_][A-Za-z0-9_.:-]{0,127}", item[0]) is None + or type(item[1]) is not PreparedDevice for item in devices) + or len({item[0] for item in devices}) != len(devices) + or len({cast(PreparedDevice, item[1]).content_sha256 for item in devices}) != len(devices)): + raise ValueError("ionic J-V installation needs unique IDs and unique actual prepared devices") + if (type(self.implementation) is not BuildSource or type(self.current_repository_head) is not str + or re.fullmatch(r"[0-9a-f]{40}|[0-9a-f]{64}", self.current_repository_head) is None): + raise ValueError("immutable implementation and independently supplied maintenance context required") + object.__setattr__(self, "devices", tuple(sorted(devices, key=lambda item: item[0]))) + for _, prepared in self.devices: + layers = [p for p in prepared.layers if p.role != "substrate"] + selected = [p for p in layers if p.id == self.ion_domain_layer] + settings = prepared.to_mapping()["settings"] + if len(layers) != 3 or len(selected) != 1 or not settings["ion_steric_shared_site"] or not settings["ion_steric_diffusion_only"]: + raise ValueError("this installation requires the verified three-layer shared-site blocking-domain scope") + parameters = dict(selected[0].parameters) + values: dict[str, float] = {} + for name in ("P0", "P0_neg", "P_lim", "P_lim_neg", "D_ion", "D_ion_neg"): + value = parameters[name] + if isinstance(value, bool) or not isinstance(value, (int, float)): + raise ValueError("shared-site populations/capacities/diffusivities must be numeric") + values[name] = float(value) + for suffix in ("", "_neg"): + reference, capacity, diffusion = (float(values[name + suffix]) for name in ("P0", "P_lim", "D_ion")) + if not all(math.isfinite(v) for v in (reference, capacity, diffusion)) or not 0 < reference < capacity or diffusion <= 0: + raise ValueError("both shared-site species require positive connected diffusivities and unsaturated populations") + if values["P_lim"] != values["P_lim_neg"] or values["P0"] + values["P0_neg"] >= values["P_lim"]: + raise ValueError("shared-site populations require the same available capacity") + if any(any(dict(p.parameters)[key] != 0 for key in ("P0", "P0_neg", "D_ion", "D_ion_neg")) + for p in prepared.layers if p.id != self.ion_domain_layer): + raise ValueError("outside-domain ionic populations are unsupported") + object.__setattr__(self, "models", ionic_jv_identity_inputs(self.devices[0][1], self.implementation).registry) + object.__setattr__(self, "server_sources", _server_documents()) + + def device(self, id: str) -> PreparedDevice: + for key, prepared in self.devices: + if key == id: + return prepared + raise ValueError("device is not installed in the trusted ionic J-V catalog") + + def registered_wall_profile(self) -> str: + """Approve only the installed device content and the exact v1 recipe.""" + profile = _wall_profile_sha256(self.device(_REGISTERED_WALL_DEVICE_ID), + self.ion_domain_layer, ("blocking", "blocking")) + if profile != _REGISTERED_WALL_PROFILE_SHA256: + raise ValueError("ionic J-V wall profile differs from the approved prepared device and recipe") + return profile + + def wall_ceiling_seconds(self, device_id: str, *, wall_profile_sha256: str | None = None) -> float: + return _wall_ceiling_seconds(device_id, self.device(device_id), self.ion_domain_layer, + ("blocking", "blocking"), wall_profile_sha256) + + def verify_sources(self) -> None: + if self.server_sources != _server_documents(): + raise ValueError("ionic J-V server source changed after installation") + + def export(self) -> dict[str, Any]: + self.verify_sources() + return {"devices": [_device_binding(id, p) for id, p in self.devices], "ion_domain_layer": self.ion_domain_layer, + "ion_domain_endpoints": ["blocking", "blocking"], "implementation": _implementation_binding(self.implementation), + "current_repository_head": self.current_repository_head, + "server_sources": [{"id": s.id, "sha256": s.sha256} for s in self.server_sources], "server_runtime": _server_runtime(), + "fixed_numerical_policy": _policy(), "request_transport": "unchanged_core_request_with_unique_registered_prepared_identity", + "submission_initial_policies": ["dark_direct_density_seed_v1"], + "historical_process_readback": "unchanged_original_process_identity"} + + +def prepare_ionic_jv_input(input: IonicJVJobInput, context: IonicJVPreparationContext) -> IonicJVJob: + context.verify_sources() + return prepare_ionic_jv_job(context.device(input.device_id), + IonicJVProtocol(tuple(input.voltage_V), float(input.generation_scale), input.incident_power_W_m2), + intervals_per_layer=tuple(input.intervals_per_layer), ion_domain_layer=context.ion_domain_layer, + ion_domain_endpoints=("blocking", "blocking"), options=_options(), initial=_initial(), + implementation=context.implementation, current_repository_head=context.current_repository_head, engine=ExecutionEngine("solarlab")) + + +def ionic_jv_execution_catalog(context: IonicJVPreparationContext, *, ceiling: ResourceLimits, + wall_profile_sha256: str | None = None) -> ExecutionCatalog: + from solarlab.experiments.jv.ionic_results import ionic_jv_payload + from solarlab.experiments.registry import ExperimentDefinition, ExperimentRegistry + from solarlab.physics.registry import CapabilityRule, EvidenceRef + from solarlab_server.job_service import ExecutionCatalog, IonicJVRegistration + from solarlab_server.registered_worker import run_ionic_jv + if type(context) is not IonicJVPreparationContext or ceiling.wall_seconds > 30: + raise ValueError("explicit ionic J-V installation and <=30s ordinary job ceiling required") + context.verify_sources() + documents = {s.id: s for s in context.server_sources} + + def reference(id: str, function: Any) -> EvidenceRef: + source = SourceDocument(id, Path(inspect.getfile(function)).read_bytes()) + documents[id] = source + return EvidenceRef(id + "#" + function.__name__, source.sha256, "source") + + schema = SourceDocument("solarlab.ionic-jv-job-input.schema.v1", _canonical(IonicJVJobInput.model_json_schema())) + documents[schema.id] = schema + factory = reference("solarlab_server/ionic_jv_preparation.py", prepare_ionic_jv_input) + payload = reference("solarlab/experiments/jv/ionic_results.py", ionic_jv_payload) + executor = reference("solarlab_server/registered_worker.py", run_ionic_jv) + reader = reference("solarlab_server/ionic_jv_preparation.py", read_registered_ionic_jv_job) + for source in context.implementation.files: + if source.id in {"solarlab/device/compile_ionic_1d.py", "solarlab/equations/ionic_1d.py", + "solarlab/solvers/nonlinear/ionic_1d.py", "solarlab/experiments/ionic_initialization.py", + "solarlab/experiments/jv/ionic_steady.py"}: + documents[source.id] = source + definition = ExperimentDefinition(EXPERIMENT_ID, 1, "Illuminated shared-site ionic steady J-V", + EvidenceRef(schema.id, schema.sha256, "source"), payload, factory, executor, "ionic_steady_jv_arrays", reader, + CapabilityRule("installed_shared_site_ionic_jv", (1,), ("dc",), (factory,), backends=(EXPERIMENT_ID,), + statistics=("maxwell_boltzmann",)), tuple(m.ref for m in context.models.definitions)) + registry = ExperimentRegistry((definition,)) + return ExecutionCatalog(registry, context.models, tuple(documents.values()), + (IonicJVRegistration(EXPERIMENT_ID, 1, context, wall_profile_sha256),), + registry.content_sha256, context.models.content_sha256, ceiling) + + +def _registration(request: WorkerRequest) -> tuple[dict[str, Any], dict[str, Any]]: + body, catalog = json.loads(request.request.content), json.loads(request.registry.content) + entries = [e for e in catalog.get("bindings", ()) if e.get("driver") == EXPERIMENT_ID] + if (catalog.get("schema") != "solarlab.execution-catalog.v1" or catalog.get("job_schema_sha256") != request.schema.sha256 + or body.get("schema") != _CORE_REQUEST_SCHEMA_ID or body.get("engine") != "solarlab" or len(entries) != 1 + or entries[0]["experiment_id"] != EXPERIMENT_ID or entries[0]["version"] != 1 + or entries[0]["engine"] != "solarlab" or entries[0]["scope"] != SCOPE): + raise ValueError("ionic J-V request/catalog/schema differs from the installed route") + return entries[0], body + + +def execute_registered_ionic_jv(request: WorkerRequest, context: WorkerContext) -> WorkerResult: + context.check_cancel() + entry, body = _registration(request) + if (entry["worker_source_sha256"] != ionic_jv_worker_binding().source_sha256 + or entry["input_schema"] != IonicJVJobInput.model_json_schema()): + raise ValueError("ionic J-V worker/schema source differs from installed registration") + binding = context.consume_manifest(request, engine="solarlab") + prepared = binding.inputs.prepared + installation = entry["preparation_context"] + selected = [p for p in installation["devices"] if p["prepared_sha256"] == prepared.content_sha256] + if len(selected) != 1: + raise ValueError("ionic J-V requires one exact registered prepared identity") + device_id = selected[0]["device_id"] + if (selected != [_device_binding(device_id, prepared)] + or entry["model_registry_sha256"] != binding.inputs.registry.content_sha256 + or installation["implementation"] != _implementation_binding(binding.execution.implementation) + or installation["current_repository_head"] != binding.execution.current_repository_head + or installation["server_sources"] != _server_bindings() or installation["server_runtime"] != _server_runtime() + or installation["fixed_numerical_policy"] != _policy()): + raise ValueError("ionic J-V device/source/model/runtime/policy differs from consumed manifest") + declared = IonicJVJobInput.model_validate({"device_id": device_id, **body["protocol"], + "intervals_per_layer": body["grid"]["intervals_per_layer"], "controls": body["controls"], + "initial": {k: body["initial"][k] for k in ("policy", "voltage_V", "wall_s")}}) + if (body["initial"]["artifact_content_hex"] is not None or body["initial"]["artifact_sha256"] is not None + or body["prepared_sha256"] != prepared.content_sha256 + or body["grid"]["ion_domain_layer"] != installation["ion_domain_layer"] + or body["grid"]["ion_domain_endpoints"] != installation["ion_domain_endpoints"]): + raise ValueError("ionic J-V initial/domain differs from explicit installed recipe") + allowance = entry.get("whole_job_wall_allowance") + profile = None + if allowance is not None: + if (type(allowance) is not dict or set(allowance) != {"profile_sha256", "wall_seconds"} + or type(allowance["profile_sha256"]) is not str + or type(allowance["wall_seconds"]) not in {int, float} + or allowance["wall_seconds"] != REGISTERED_WALL_SECONDS): + raise ValueError("ionic J-V wall allowance is not the bounded registered profile") + profile = allowance["profile_sha256"] + wall_ceiling = _wall_ceiling_seconds(device_id, prepared, body["grid"]["ion_domain_layer"], + tuple(body["grid"]["ion_domain_endpoints"]), profile) + output = run_ionic_jv_worker(request, context, wall_ceiling_seconds=wall_ceiling) + return WorkerResult.from_dict({**json.loads(output.result_json), "experiment_id": EXPERIMENT_ID, "experiment_version": 1, + "registered_device_id": declared.device_id, "execution_catalog_sha256": request.registry.sha256, + "registered_input_schema_sha256": metadata_digest(entry["input_schema"]), + "registered_model_registry_sha256": entry["model_registry_sha256"], + "registered_numerical_policy": installation["fixed_numerical_policy"], + "server_sources": installation["server_sources"], "server_runtime": installation["server_runtime"], + "http_request_sha256": request.request.sha256}, artifacts=output.artifacts, state=output.state) + + +def read_registered_ionic_jv_job(store: RunStore, run_id: str, *, attempt_id: str | None = None) -> dict[str, Any]: + """Validate original HTTP transport and the source-bound core result reader.""" + request = WorkerRequest.from_bytes(_canonical(store.get_run(run_id)["request"]["input_metadata"]["transport"])) + entry, body = _registration(request) + loaded = read_ionic_jv_job(store, run_id, attempt_id=attempt_id) + result = loaded["worker_result"] + installation = entry["preparation_context"] + manifest = loaded["manifest"] + bound = manifest["document"]["execution_identity"]["payload"] + implementation = {"build_source_commit": bound["implementation"]["build_source_commit"], + "source_manifest_sha256": metadata_digest([{"id": s["id"], "sha256": s["sha256"]} + for s in manifest["document"]["implementation_content"]])} + selected = [p for p in installation["devices"] if p["prepared_sha256"] == loaded["document"]["prepared_sha256"]] + policy = installation["fixed_numerical_policy"] + if (result["schema"] != _CORE_RESULT_SCHEMA_ID or result["experiment_id"] != EXPERIMENT_ID or result["experiment_version"] != 1 + or len(selected) != 1 or result["registered_device_id"] != selected[0]["device_id"] + or result["execution_catalog_sha256"] != request.registry.sha256 + or result["registered_input_schema_sha256"] != metadata_digest(entry["input_schema"]) + or result["registered_model_registry_sha256"] != entry["model_registry_sha256"] + or entry["model_registry_sha256"] != bound["effective_binding"]["registry_sha256"] + or installation["implementation"] != implementation + or installation["current_repository_head"] != manifest["current_repository_head"] + or result["registered_numerical_policy"] != policy or result["server_sources"] != installation["server_sources"] + or result["server_runtime"] != installation["server_runtime"] + or result["http_request_sha256"] != request.request.sha256 + or result["capture"]["request_sha256"] != request.request.sha256 + or body["protocol"] != policy["protocol"] or body["controls"] != policy["controls"] + or body["grid"]["intervals_per_layer"] != policy["intervals_per_layer"] + or {k: body["initial"][k] for k in ("policy", "voltage_V", "wall_s")} != policy["initial"]): + raise ValueError("stored ionic J-V HTTP/catalog/request bindings differ") + return loaded diff --git a/src/solarlab_server/ionic_transient_preparation.py b/src/solarlab_server/ionic_transient_preparation.py new file mode 100644 index 00000000..a5cdb70a --- /dev/null +++ b/src/solarlab_server/ionic_transient_preparation.py @@ -0,0 +1,261 @@ +"""Explicit dark, positive-diffusivity ionic jobs on the existing HTTP owner.""" +from __future__ import annotations + +from dataclasses import asdict, dataclass, field +import inspect +import json +import math +from pathlib import Path +import re +from typing import Annotated, Any, TYPE_CHECKING, cast + +from pydantic import BaseModel, ConfigDict, Field, model_validator + +from solarlab.config.identity import BuildSource, ExecutionEngine +from solarlab.device.resolved import PreparedDevice +from solarlab.experiments.ionic_transient_worker import ( + IonicTransientJob, ionic_transient_identity_inputs, prepare_ionic_transient_job, read_ionic_transient_job, +) +from solarlab.experiments.worker import ResourceLimits, WorkerRequest +from solarlab.materials.source import SourceDocument +from solarlab.physics.registry import ModelRegistry, metadata_digest +from solarlab_server.steady_preparation import _device_binding, _implementation_binding +from solarlab_server.transient_preparation import _server_runtime + +if TYPE_CHECKING: + from solarlab.experiments.ionic_transient import IonicTransientOptions + from solarlab.experiments.transient import TransientProtocol + from solarlab.io.run_store import RunStore + from solarlab.solvers.nonlinear.ionic_1d import IonicSteadyOptions + from solarlab_server.job_service import ExecutionCatalog + +__all__ = ["IonicTransientJobInput", "IonicTransientPreparationContext", "ionic_transient_execution_catalog", + "read_registered_ionic_transient_job"] +EXPERIMENT_ID = "ionic_transient_1d" +SCOPE = "classical_1d_dark_positive_diffusivity_ionic_transient" +_SERVER_PATHS = ("ionic_transient_preparation.py", "transient_preparation.py", "steady_preparation.py", + "job_service.py", "registered_worker.py", "app.py", "routes/jobs.py", "routes/results.py", "events.py") + + +class _NewtonBudgetInput(BaseModel): + model_config = ConfigDict(extra="forbid", strict=True) + max_iterations: int = Field(ge=1, le=60) + max_residual_evaluations: int = Field(ge=1, le=600) + max_jacobian_evaluations: int = Field(ge=1, le=60) + max_backtracks: int = Field(ge=0, le=24) + + +class _InitialControls(BaseModel): + model_config = ConfigDict(extra="forbid", strict=True, allow_inf_nan=False) + budget: _NewtonBudgetInput + inventory_row_node: int = Field(ge=0, le=64) + wall_s: float = Field(gt=0, le=30) + + +class _TimeControls(BaseModel): + model_config = ConfigDict(extra="forbid", strict=True, allow_inf_nan=False) + newton_budget: _NewtonBudgetInput + max_steps: int = Field(ge=1, le=16) + wall_s: float = Field(gt=0, le=30) + + @model_validator(mode="after") + def bounded_time_budget(self) -> _TimeControls: + b = self.newton_budget + if b.max_iterations > 50 or b.max_residual_evaluations > 500 or b.max_jacobian_evaluations > 50: + raise ValueError("time Newton work exceeds the installed 50/500/50 budget") + return self + + +class _Controls(BaseModel): + model_config = ConfigDict(extra="forbid", strict=True) + initial_steady: _InitialControls + transient: _TimeControls + + +def _numerical_policy() -> dict[str, Any]: + from solarlab.solvers.nonlinear.production import POISSON_CONTACT_BALANCE_V1 + from solarlab.solvers.nonlinear.steady_1d import SteadyOptions + + return {"initial_steady": {"electronic": asdict(SteadyOptions()), "inventory_relative_tolerance": 1e-12, + "ion_balance_tolerance_m2_s": 1e6, "ion_flux_tolerance_m2_s": 1e6, "ion_logit_step": 1.}, + "transient": {"electronic": {"poisson_tolerance": 1e-11, "continuity_tolerance_A_m2": 1e-8, + "contact_log_tolerance": 1e-11, "potential_step_V": .1, "quasi_fermi_step": 2., + "predictor": "previous", "convergence_policy": POISSON_CONTACT_BALANCE_V1}, + "ion_balance_tolerance_m2_s": 1e6, "ion_logit_step": 1.}} + + +class IonicTransientJobInput(BaseModel): + """All samples/grid/work controls are explicit; scientific gates stay fixed.""" + model_config = ConfigDict(extra="forbid", strict=True, allow_inf_nan=False) + device_id: str = Field(pattern=r"^[A-Za-z0-9_][A-Za-z0-9_.:-]{0,127}$") + times_s: list[Annotated[float, Field(ge=0, le=1)]] = Field(min_length=2, max_length=17) + voltage_V: list[Annotated[float, Field(ge=-.02, le=.02)]] = Field(min_length=2, max_length=17) + generation_scale: list[Annotated[float, Field(ge=0, le=0)]] = Field(min_length=2, max_length=17) + intervals_per_layer: list[Annotated[int, Field(ge=2, le=64)]] = Field(min_length=1, max_length=8) + controls: _Controls + + @model_validator(mode="after") + def check_protocol(self) -> IonicTransientJobInput: + self.protocol() + if len(self.times_s) - 1 > self.controls.transient.max_steps: + raise ValueError("explicit samples exceed the requested step budget") + return self + + def protocol(self) -> TransientProtocol: + import numpy as np + from solarlab.experiments.transient import TransientProtocol + return TransientProtocol(np.asarray(self.times_s), np.asarray(self.voltage_V), np.asarray(self.generation_scale)) + + def initial_options(self) -> IonicSteadyOptions: + from solarlab.solvers.nonlinear.ionic_1d import IonicSteadyOptions + from solarlab.solvers.nonlinear.problem import SolveBudget + from solarlab.solvers.nonlinear.steady_1d import SteadyOptions + policy = _numerical_policy()["initial_steady"] + controls = self.controls.initial_steady + return IonicSteadyOptions(**{**policy, "electronic": SteadyOptions(**policy["electronic"]), + "budget": SolveBudget(**controls.budget.model_dump()), "inventory_row_node": controls.inventory_row_node, + "wall_s": controls.wall_s}) + + def options(self) -> IonicTransientOptions: + from solarlab.experiments.ionic_transient import IonicTransientOptions + from solarlab.experiments.transient import TransientOptions + from solarlab.solvers.nonlinear.problem import SolveBudget + policy = _numerical_policy()["transient"] + controls = self.controls.transient + return IonicTransientOptions(**{**policy, "electronic": TransientOptions(**policy["electronic"], + newton_budget=SolveBudget(**controls.newton_budget.model_dump()), max_steps=controls.max_steps, wall_s=controls.wall_s)}) + + +def _server_documents() -> tuple[SourceDocument, ...]: + root = Path(__file__).resolve().parent + return tuple(SourceDocument("solarlab_server/" + name, (root / name).read_bytes()) for name in _SERVER_PATHS) + + +def _server_bindings() -> list[dict[str, str]]: + return [{"id": s.id, "sha256": s.sha256} for s in _server_documents()] + + +@dataclass(frozen=True, slots=True) +class IonicTransientPreparationContext: + devices: tuple[tuple[str, PreparedDevice], ...] + ion_domain_layer: str + implementation: BuildSource + current_repository_head: str + models: ModelRegistry = field(init=False) + server_sources: tuple[SourceDocument, ...] = field(init=False) + + def __post_init__(self) -> None: + devices = tuple(tuple(item) for item in self.devices) + if (not devices or any(len(item) != 2 or type(item[0]) is not str + or re.fullmatch(r"[A-Za-z0-9_][A-Za-z0-9_.:-]{0,127}", item[0]) is None + or type(item[1]) is not PreparedDevice for item in devices) + or len({item[0] for item in devices}) != len(devices) + or len({cast(PreparedDevice, item[1]).content_sha256 for item in devices}) != len(devices)): + raise ValueError("ionic installation requires unique IDs and unique actual prepared-device identities") + if (type(self.implementation) is not BuildSource or type(self.current_repository_head) is not str + or re.fullmatch(r"[0-9a-f]{40}|[0-9a-f]{64}", self.current_repository_head) is None): + raise ValueError("actual build sources and independently supplied maintenance HEAD required") + object.__setattr__(self, "devices", tuple(sorted(devices, key=lambda item: item[0]))) + for _, prepared in self.devices: + domain = [layer for layer in prepared.layers if layer.id == self.ion_domain_layer and layer.role != "substrate"] + if len(domain) != 1: + raise ValueError("one trusted electrical ion domain is required") + parameters: dict[str, Any] = dict(domain[0].parameters) + for suffix in ("", "_neg"): + reference, diffusion = float(parameters["P0" + suffix]), float(parameters["D_ion" + suffix]) + if (not math.isfinite(reference) or not math.isfinite(diffusion) + or (suffix == "" or reference != 0 or diffusion != 0) and (reference <= 0 or diffusion <= 0)): + raise ValueError("this ionic HTTP installation requires positive connected diffusivities; D0 is unsupported") + for layer in prepared.layers: + if layer.id != self.ion_domain_layer and any(dict(layer.parameters)[name] != 0 + for name in ("P0", "P0_neg", "D_ion", "D_ion_neg")): + raise ValueError("multiple or outside-domain ionic populations are unsupported") + object.__setattr__(self, "models", ionic_transient_identity_inputs(self.devices[0][1], self.implementation).registry) + object.__setattr__(self, "server_sources", _server_documents()) + + def verify_sources(self) -> None: + if self.server_sources != _server_documents(): + raise ValueError("active ionic server sources changed after installation") + + def device(self, id: str) -> PreparedDevice: + for key, prepared in self.devices: + if key == id: + return prepared + raise ValueError("device is not installed in this trusted ionic registration") + + def export(self) -> dict[str, Any]: + self.verify_sources() + return {"devices": [_device_binding(id, p) for id, p in self.devices], + "ion_domain_layer": self.ion_domain_layer, "ion_domain_endpoints": ["blocking", "blocking"], + "implementation": _implementation_binding(self.implementation), "current_repository_head": self.current_repository_head, + "server_sources": [{"id": s.id, "sha256": s.sha256} for s in self.server_sources], + "server_runtime": _server_runtime(), "fixed_numerical_policy": _numerical_policy(), + "request_transport": "unchanged_ionic_worker_request_with_unique_registered_prepared_identity"} + + +def prepare_ionic_transient_input(input: IonicTransientJobInput, context: IonicTransientPreparationContext) -> IonicTransientJob: + context.verify_sources() + return prepare_ionic_transient_job(context.device(input.device_id), input.protocol(), + intervals_per_layer=tuple(input.intervals_per_layer), ion_domain_layer=context.ion_domain_layer, + ion_domain_endpoints=("blocking", "blocking"), options=input.options(), initial_options=input.initial_options(), + implementation=context.implementation, current_repository_head=context.current_repository_head, engine=ExecutionEngine("solarlab")) + + +def ionic_transient_execution_catalog(context: IonicTransientPreparationContext, *, ceiling: ResourceLimits) -> ExecutionCatalog: + from solarlab.experiments.ionic_transient_results import ionic_transient_payload + from solarlab.experiments.registry import ExperimentDefinition, ExperimentRegistry + from solarlab.physics.registry import CapabilityRule, EvidenceRef + from solarlab_server.job_service import ExecutionCatalog, IonicTransientRegistration, canonical + from solarlab_server.registered_worker import run_ionic_transient + if type(context) is not IonicTransientPreparationContext or ceiling.wall_seconds > 30: + raise ValueError("explicit ionic installation and a <=30s job ceiling required") + context.verify_sources() + documents = {s.id: s for s in context.server_sources} + + def reference(id: str, function: Any) -> EvidenceRef: + source = SourceDocument(id, Path(inspect.getfile(function)).read_bytes()) + documents[id] = source + return EvidenceRef(id + "#" + function.__name__, source.sha256, "source") + + schema = SourceDocument("solarlab.ionic-transient-job-input.schema.v1", canonical(IonicTransientJobInput.model_json_schema())) + documents[schema.id] = schema + factory = reference("solarlab_server/ionic_transient_preparation.py", prepare_ionic_transient_input) + result = reference("solarlab/experiments/ionic_transient_results.py", ionic_transient_payload) + executor = reference("solarlab_server/registered_worker.py", run_ionic_transient) + reader = reference("solarlab_server/ionic_transient_preparation.py", read_registered_ionic_transient_job) + for source in context.implementation.files: + if source.id in {"solarlab/device/compile_ionic_1d.py", "solarlab/equations/ionic_1d.py", + "solarlab/solvers/time/ionic_backward_euler.py", "solarlab/experiments/ionic_transient.py"}: + documents[source.id] = source + definition = ExperimentDefinition(EXPERIMENT_ID, 1, "Dark positive-D blocking 1D ionic transient", + EvidenceRef(schema.id, schema.sha256, "source"), result, factory, executor, "ionic_transient_history_arrays", reader, + CapabilityRule("installed_dark_positive_d_ionic_transient", (1,), ("transient",), (factory,), + backends=(EXPERIMENT_ID,), statistics=("maxwell_boltzmann",)), tuple(m.ref for m in context.models.definitions)) + registry = ExperimentRegistry((definition,)) + return ExecutionCatalog(registry, context.models, tuple(documents.values()), + (IonicTransientRegistration(EXPERIMENT_ID, 1, context),), registry.content_sha256, context.models.content_sha256, ceiling) + + +def read_registered_ionic_transient_job(store: RunStore, run_id: str, *, attempt_id: str | None = None) -> dict[str, Any]: + """Verify saved HTTP bindings as well as the unchanged solver-free reader.""" + from solarlab_server.job_service import canonical + loaded = read_ionic_transient_job(store, run_id, attempt_id=attempt_id) + transport = WorkerRequest.from_bytes(canonical(store.get_run(run_id)["request"]["input_metadata"]["transport"])) + catalog, result = json.loads(transport.registry.content), loaded["worker_result"] + entries = [r for r in catalog["bindings"] if r["driver"] == EXPERIMENT_ID] + if len(entries) != 1: + raise ValueError("saved ionic catalog must retain its unique installed route") + entry = entries[0] + preparation = entry["preparation_context"] + selected = [d for d in preparation["devices"] if d["prepared_sha256"] == loaded["document"]["prepared_sha256"]] + if (catalog["schema"] != "solarlab.execution-catalog.v1" or catalog["job_schema_sha256"] != transport.schema.sha256 + or result["execution_catalog_sha256"] != transport.registry.sha256 + or entry["experiment_id"] != EXPERIMENT_ID or entry["version"] != 1 or entry["engine"] != "solarlab" + or entry["scope"] != SCOPE or len(selected) != 1 or result["registered_device_id"] != selected[0]["device_id"] + or result["experiment_id"] != EXPERIMENT_ID or result["experiment_version"] != 1 + or result["registered_model_registry_sha256"] != entry["model_registry_sha256"] + or result["server_sources"] != preparation["server_sources"] or result["server_runtime"] != preparation["server_runtime"] + or result["registered_numerical_policy"] != preparation["fixed_numerical_policy"] + or result["registered_input_schema_sha256"] != metadata_digest(entry["input_schema"])): + raise ValueError("saved ionic HTTP catalog/schema/device/source binding differs from the result") + return loaded diff --git a/src/solarlab_server/job_service.py b/src/solarlab_server/job_service.py new file mode 100644 index 00000000..c62de0d3 --- /dev/null +++ b/src/solarlab_server/job_service.py @@ -0,0 +1,463 @@ +"""Explicit execution registrations over the existing P03/P06 contracts. + +Factories and source bindings are supplied by trusted application code, never +by HTTP. Declaration compatibility alone never authorizes execution: legacy +drivers and the single classical steady adapter require separate installation. +""" +from __future__ import annotations + +from collections.abc import Callable +from dataclasses import asdict, dataclass, field +import base64 +import hashlib +import inspect +import json +import math +from pathlib import Path +from typing import Any, Literal + +from pydantic import BaseModel, ConfigDict, Field + +from solarlab.experiments.execution import JobHandle, ProcessSupervisor +from solarlab.experiments.jv.worker import SteadyJVJob, steady_jv_worker_binding +from solarlab.experiments.transient_worker import TransientJob, transient_worker_binding +from solarlab.experiments.ionic_transient_worker import IonicTransientJob, ionic_transient_worker_binding +from solarlab.experiments.jv.ionic_worker import REGISTERED_WALL_SECONDS, IonicJVJob, ionic_jv_worker_binding +from solarlab.experiments.two_dimensional.steady_worker import Steady2DJob, steady_2d_worker_binding +from solarlab.experiments.registry import ExperimentRegistry +from solarlab.experiments.worker import ManifestBinding, ResourceLimits, RunSpec, WorkerBinding, WorkerRequest +from solarlab.materials.source import SourceDocument +from solarlab.physics.registry import ModelRegistry, metadata_digest +from solarlab_server.legacy_engine import LegacyJob, legacy_worker_binding +from solarlab_server.steady_preparation import SteadyJobInput, SteadyPreparationContext, prepare_steady_input +from solarlab_server.transient_preparation import TransientJobInput, TransientPreparationContext, prepare_transient_input +from solarlab_server.ionic_transient_preparation import ( + EXPERIMENT_ID as IONIC_EXPERIMENT_ID, SCOPE as IONIC_SCOPE, + IonicTransientJobInput, IonicTransientPreparationContext, prepare_ionic_transient_input, +) +from solarlab_server.ionic_jv_preparation import ( + EXPERIMENT_ID as IONIC_JV_EXPERIMENT_ID, SCOPE as IONIC_JV_SCOPE, + IonicJVJobInput, IonicJVPreparationContext, prepare_ionic_jv_input, +) +from solarlab_server.steady_2d_preparation import ( + EXPERIMENT_ID as STEADY_2D_EXPERIMENT_ID, SCOPE as STEADY_2D_SCOPE, + Steady2DJobInput, Steady2DPreparationContext, prepare_steady_2d_input, +) + + +def canonical(value: Any) -> bytes: + return json.dumps(value, sort_keys=True, separators=(",", ":"), allow_nan=False).encode() + + +class BudgetInput(BaseModel): + model_config = ConfigDict(extra="forbid", strict=True, allow_inf_nan=False) + wall_seconds: float = Field(gt=0) + rss_bytes: int = Field(gt=0) + output_bytes: int = Field(ge=16384) + accepted_steps: int | None = Field(ge=0, lt=2**63) + calls: int | None = Field(ge=0, lt=2**63) + + +class JobSubmission(BaseModel): + model_config = ConfigDict(extra="forbid", strict=True) + schema_version: Literal["solarlab.job-submission.v1"] + run_id: str = Field(pattern=r"^[A-Za-z0-9_][A-Za-z0-9_.:-]{0,127}$") + experiment_id: str = Field(min_length=1) + version: int = Field(ge=1) + engine: Literal["legacy", "solarlab"] + input: dict[str, Any] + limits: BudgetInput + + +@dataclass(frozen=True, slots=True) +class LegacyRegistration: + experiment_id: str + version: int + driver: str + input_type: type[BaseModel] + prepare: Callable[[Any], LegacyJob] + legacy_kinds: tuple[str, ...] = () + synchronous_paths: tuple[str, ...] = () + engine: Literal["legacy"] = field(default="legacy", init=False) + + def __post_init__(self) -> None: + if self.driver not in {"scaps_transient", "scaps_steady_state", "ion_hysteresis"}: + raise ValueError("only explicitly supported legacy facade drivers may be registered") + if (not inspect.isfunction(self.prepare) or self.prepare.__closure__ is not None + or self.prepare.__qualname__ != self.prepare.__name__ or self.prepare.__module__ == "__main__"): + raise ValueError("legacy preparation must be an explicit module-level source-bound factory") + if not issubclass(self.input_type, BaseModel) or self.input_type.model_config.get("extra") != "forbid": + raise ValueError("registered input models must refuse unknown fields") + object.__setattr__(self, "legacy_kinds", tuple(self.legacy_kinds)) + object.__setattr__(self, "synchronous_paths", tuple(self.synchronous_paths)) + if any(not p.startswith("/api/") or "{" in p for p in self.synchronous_paths): + raise ValueError("synchronous aliases require explicit fixed /api paths") + + +@dataclass(frozen=True, slots=True) +class SteadyRegistration: + """Only the installed steady adapter; no HTTP-selectable Python factory.""" + + experiment_id: str + version: int + context: SteadyPreparationContext + engine: Literal["solarlab"] = field(default="solarlab", init=False) + input_type: type[SteadyJobInput] = field(default=SteadyJobInput, init=False) + legacy_kinds: tuple[str, ...] = field(default=(), init=False) + synchronous_paths: tuple[str, ...] = field(default=(), init=False) + + def __post_init__(self) -> None: + if type(self.context) is not SteadyPreparationContext: + raise ValueError("steady registration requires the actual trusted preparation context") + + +@dataclass(frozen=True, slots=True) +class TransientRegistration: + """One installed transient adapter, with no caller-selectable code or state.""" + + experiment_id: str + version: int + context: TransientPreparationContext + engine: Literal["solarlab"] = field(default="solarlab", init=False) + input_type: type[TransientJobInput] = field(default=TransientJobInput, init=False) + legacy_kinds: tuple[str, ...] = field(default=(), init=False) + synchronous_paths: tuple[str, ...] = field(default=(), init=False) + + def __post_init__(self) -> None: + if type(self.context) is not TransientPreparationContext: + raise ValueError("transient registration requires the actual trusted preparation context") + + +@dataclass(frozen=True, slots=True) +class IonicTransientRegistration: + """One explicit dark positive-D ionic route over the accepted worker.""" + + experiment_id: str + version: int + context: IonicTransientPreparationContext + engine: Literal["solarlab"] = field(default="solarlab", init=False) + input_type: type[IonicTransientJobInput] = field(default=IonicTransientJobInput, init=False) + legacy_kinds: tuple[str, ...] = field(default=(), init=False) + synchronous_paths: tuple[str, ...] = field(default=(), init=False) + + def __post_init__(self) -> None: + if (type(self.context) is not IonicTransientPreparationContext + or self.experiment_id != IONIC_EXPERIMENT_ID or self.version != 1): + raise ValueError("ionic registration requires the installed v1 route and actual preparation context") + + +@dataclass(frozen=True, slots=True) +class IonicJVRegistration: + """The installed illuminated shared-site ionic steady J-V route.""" + + experiment_id: str + version: int + context: IonicJVPreparationContext + wall_profile_sha256: str | None = None + engine: Literal["solarlab"] = field(default="solarlab", init=False) + input_type: type[IonicJVJobInput] = field(default=IonicJVJobInput, init=False) + legacy_kinds: tuple[str, ...] = field(default=(), init=False) + synchronous_paths: tuple[str, ...] = field(default=(), init=False) + + def __post_init__(self) -> None: + if type(self.context) is not IonicJVPreparationContext or self.experiment_id != IONIC_JV_EXPERIMENT_ID or self.version != 1: + raise ValueError("ionic J-V requires the explicit installed v1 route and preparation context") + if (self.wall_profile_sha256 is not None + and (type(self.wall_profile_sha256) is not str + or self.wall_profile_sha256 != self.context.registered_wall_profile())): + raise ValueError("ionic J-V wall profile differs from the approved installed request") + + +@dataclass(frozen=True, slots=True) +class Steady2DRegistration: + """The installed uniform no-grain full2D steady route.""" + + experiment_id: str + version: int + context: Steady2DPreparationContext + engine: Literal["solarlab"] = field(default="solarlab", init=False) + input_type: type[Steady2DJobInput] = field(default=Steady2DJobInput, init=False) + legacy_kinds: tuple[str, ...] = field(default=(), init=False) + synchronous_paths: tuple[str, ...] = field(default=(), init=False) + + def __post_init__(self) -> None: + if type(self.context) is not Steady2DPreparationContext or self.experiment_id != STEADY_2D_EXPERIMENT_ID or self.version != 1: + raise ValueError("2D steady requires its explicit installed v1 preparation context") + + +@dataclass(frozen=True, slots=True) +class ExecutionCatalog: + """A source-checked table over the existing experiment/model declarations.""" + + registry: ExperimentRegistry + models: ModelRegistry + sources: tuple[SourceDocument, ...] + registrations: tuple[LegacyRegistration | SteadyRegistration | TransientRegistration | IonicTransientRegistration | IonicJVRegistration | Steady2DRegistration, ...] + expected_registry_sha256: str + expected_model_sha256: str + ceiling: ResourceLimits + schema: SourceDocument = field(init=False) + document: SourceDocument = field(init=False) + + def __post_init__(self) -> None: + object.__setattr__(self, "sources", tuple(self.sources)) + object.__setattr__(self, "registrations", tuple(self.registrations)) + if (type(self.ceiling) is not ResourceLimits or not self.registrations + or any(type(r) not in {LegacyRegistration, SteadyRegistration, TransientRegistration, IonicTransientRegistration, IonicJVRegistration, Steady2DRegistration} for r in self.registrations)): + raise ValueError("explicit route registrations and a resource ceiling are required") + keys = [(r.experiment_id, r.version) for r in self.registrations] + aliases = [a for r in self.registrations for a in (*r.legacy_kinds, *r.synchronous_paths)] + if len(set(keys)) != len(keys) or len(set(aliases)) != len(aliases): + raise ValueError("ambiguous execution registration or legacy alias") + self.verify() + object.__setattr__(self, "schema", SourceDocument("solarlab.job-submission.schema.v1", canonical(JobSubmission.model_json_schema()))) + object.__setattr__(self, "document", SourceDocument("solarlab.execution-catalog.v1", canonical({ + "schema": "solarlab.execution-catalog.v1", "registry": self.registry.export(), + "registry_sha256": self.registry.content_sha256, "model_registry_sha256": self.models.content_sha256, + "job_schema_sha256": self.schema.sha256, "resource_ceiling": asdict(self.ceiling), + "legacy_facade_sha256": legacy_worker_binding().source_sha256, + "bindings": [self._entry(r) for r in self.registrations]}))) + + def _models(self, registration: LegacyRegistration | SteadyRegistration | TransientRegistration | IonicTransientRegistration | IonicJVRegistration | Steady2DRegistration) -> ModelRegistry: + return self.models if isinstance(registration, LegacyRegistration) else registration.context.models + + def _entry(self, registration: LegacyRegistration | SteadyRegistration | TransientRegistration | IonicTransientRegistration | IonicJVRegistration | Steady2DRegistration) -> dict[str, Any]: + entry = {"experiment_id": registration.experiment_id, "version": registration.version, + "engine": registration.engine, "input_schema": registration.input_type.model_json_schema(), + "model_registry_sha256": self._models(registration).content_sha256, + "legacy_kinds": list(registration.legacy_kinds), + "synchronous_paths": list(registration.synchronous_paths), "scientific_qualification": False} + if isinstance(registration, LegacyRegistration): + entry.update(driver=registration.driver, scope="legacy_compatibility") + elif isinstance(registration, SteadyRegistration): + entry.update(driver="steady_jv", scope="static_classical_ion_free_1d_dc", + preparation_context=registration.context.export(), + worker_source_sha256=steady_jv_worker_binding().source_sha256) + elif isinstance(registration, TransientRegistration): + entry.update(driver="transient_1d", scope="classical_ion_free_1d_transient", + preparation_context=registration.context.export(), + worker_source_sha256=transient_worker_binding().source_sha256, + result_schema="solarlab.transient.worker-result.v1") + elif isinstance(registration, IonicTransientRegistration): + entry.update(driver=IONIC_EXPERIMENT_ID, scope=IONIC_SCOPE, + preparation_context=registration.context.export(), + worker_source_sha256=ionic_transient_worker_binding().source_sha256, + result_schema="solarlab.ionic-transient.worker-result.v1") + elif isinstance(registration, IonicJVRegistration): + entry.update(driver=IONIC_JV_EXPERIMENT_ID, scope=IONIC_JV_SCOPE, + preparation_context=registration.context.export(), worker_source_sha256=ionic_jv_worker_binding().source_sha256, + result_schema="solarlab.ionic-jv.worker-result.v1", + **({"whole_job_wall_allowance": {"profile_sha256": registration.wall_profile_sha256, + "wall_seconds": REGISTERED_WALL_SECONDS}} + if registration.wall_profile_sha256 is not None else {})) + else: + entry.update(driver=STEADY_2D_EXPERIMENT_ID, scope=STEADY_2D_SCOPE, + preparation_context=registration.context.export(), worker_source_sha256=steady_2d_worker_binding().source_sha256, + result_schema="solarlab.steady-2d.worker-result.v1") + return entry + + def verify(self) -> None: + if self.registry.content_sha256 != self.expected_registry_sha256: + raise ValueError("experiment registry changed from the expected frozen identity") + sources = tuple((s.id, s.content) for s in self.sources) + self.models.verify_sources(sources, expected_sha256=self.expected_model_sha256) + by_key = {(r.experiment_id, r.version): r for r in self.registrations} + # A mixed catalog must not relabel the steady worker's registry as the + # legacy registry (or vice versa). Uninstalled declarations still get + # the original startup verification against the catalog's base models. + for definition in self.registry.definitions: + registration = by_key.get((definition.id, definition.version)) + models = self.models if registration is None else self._models(registration) + declared = ExperimentRegistry((definition,)) + declared.verify_startup(models, sources, expected_sha256=declared.content_sha256, + expected_model_sha256=models.content_sha256) + for registration in self.registrations: + definition = self.registry.get(registration.experiment_id, registration.version) + factory: Callable[..., Any] + if isinstance(registration, LegacyRegistration): + factory = registration.prepare + elif isinstance(registration, SteadyRegistration): + factory = prepare_steady_input + elif isinstance(registration, TransientRegistration): + registration.context.verify_sources() + factory = prepare_transient_input + elif isinstance(registration, IonicTransientRegistration): + registration.context.verify_sources() + factory = prepare_ionic_transient_input + elif isinstance(registration, IonicJVRegistration): + registration.context.verify_sources() + factory = prepare_ionic_jv_input + else: + registration.context.verify_sources() + factory = prepare_steady_2d_input + source = Path(inspect.getfile(factory)).read_bytes() + if (definition.protocol_builder.sha256 != hashlib.sha256(source).hexdigest() + or definition.protocol_builder.id.partition("#")[2] != factory.__name__ + or definition.parameter_schema.sha256 != metadata_digest(registration.input_type.model_json_schema())): + raise ValueError("loaded preparation/schema differs from the frozen registry") + + def worker_binding(self, engine: Literal["legacy", "solarlab"] = "legacy", *, + experiment_id: str | None = None) -> WorkerBinding: + from solarlab_server.registered_worker import run_ionic_jv, run_ionic_transient, run_legacy, run_steady, run_steady_2d, run_transient + registrations = [r for r in self.registrations if r.engine == engine + and (experiment_id is None or r.experiment_id == experiment_id)] + if not registrations: + raise ValueError("engine has no explicit installed execution registration") + kinds = {"registered_legacy" if isinstance(r, LegacyRegistration) else + "registered_steady" if isinstance(r, SteadyRegistration) else + "registered_transient" if isinstance(r, TransientRegistration) else + "registered_ionic_transient" if isinstance(r, IonicTransientRegistration) else + "registered_ionic_jv" if isinstance(r, IonicJVRegistration) else "registered_steady_2d" for r in registrations} + if len(kinds) != 1: + raise ValueError("multiple workers are installed for this engine; select an explicit experiment_id") + id, = kinds + function = {"registered_legacy": run_legacy, "registered_steady": run_steady, + "registered_transient": run_transient, "registered_ionic_transient": run_ionic_transient, + "registered_ionic_jv": run_ionic_jv, "registered_steady_2d": run_steady_2d}[id] + return WorkerBinding.from_function(id, function, + registry_sha256=self.document.sha256, schema_sha256=self.schema.sha256) + + def worker_bindings(self) -> tuple[WorkerBinding, ...]: + """All explicitly installed worker kinds for one shared supervisor.""" + values = [self.worker_binding(r.engine, experiment_id=r.experiment_id) for r in self.registrations] + return tuple({binding.id: binding for binding in values}.values()) + + def prepare(self, submission: JobSubmission) -> tuple[RunSpec, ManifestBinding]: + self.verify() + registration = next((r for r in self.registrations if (r.experiment_id, r.version) == + (submission.experiment_id, submission.version)), None) + if registration is None: + raise ValueError("experiment has no explicit installed execution registration") + if submission.engine != registration.engine: + raise ValueError("engine differs from the installed registration; fallback is forbidden") + limits = ResourceLimits(**submission.limits.model_dump()) + wall_maximum = self.ceiling.wall_seconds + if isinstance(registration, IonicJVRegistration): + ionic_jv_input = IonicJVJobInput.model_validate(submission.input) + ionic_jv_ceiling = registration.context.wall_ceiling_seconds( + ionic_jv_input.device_id, wall_profile_sha256=registration.wall_profile_sha256) + # Only the approved registration may exceed the ordinary service + # wall. The catalog ceiling and every other route remain unchanged. + if ionic_jv_ceiling > 30.: + wall_maximum = max(wall_maximum, ionic_jv_ceiling) + for key, maximum in asdict(self.ceiling).items(): + value = getattr(limits, key) + if key == "wall_seconds": + maximum = wall_maximum + if maximum is not None and (value is None or value > maximum): + raise ValueError("requested budget exceeds the service ceiling: " + key) + job: LegacyJob | SteadyJVJob | TransientJob | IonicTransientJob | IonicJVJob | Steady2DJob + if isinstance(registration, LegacyRegistration): + model = registration.input_type.model_validate(submission.input) + job = registration.prepare(model) + if type(job) is not LegacyJob or job.execution.engine.name != "legacy": + raise ValueError("registered factory did not prepare the explicit legacy facade") + behavior = job.execution.engine.behavior + if behavior is None or getattr(behavior, "driver", None) != registration.driver: + raise ValueError("registered driver differs from the complete execution manifest") + worker_id, request_kind = "registered_legacy", "legacy" + extra: dict[str, Any] = {} + elif isinstance(registration, SteadyRegistration): + if limits.accepted_steps is not None or limits.calls is not None: + raise ValueError("steady worker counters are unobserved; accepted_steps/calls budgets are unsupported") + steady_input = SteadyJobInput.model_validate(submission.input) + job = prepare_steady_input(steady_input, registration.context) + if type(job) is not SteadyJVJob or job.execution.engine.name != "solarlab": + raise ValueError("registered preparation did not return the explicit steady worker") + worker_id, request_kind = "registered_steady", "steady" + extra = {"device_id": steady_input.device_id} + elif isinstance(registration, TransientRegistration): + if limits.accepted_steps is not None or limits.calls is not None: + raise ValueError("transient worker counters are unobserved; accepted_steps/calls budgets are unsupported") + transient_input = TransientJobInput.model_validate(submission.input) + job = prepare_transient_input(transient_input, registration.context) + if type(job) is not TransientJob or job.execution.engine.name != "solarlab": + raise ValueError("registered preparation did not return the explicit transient worker") + worker_id, request_kind = "registered_transient", "transient" + extra = {"device_id": transient_input.device_id} + elif isinstance(registration, IonicTransientRegistration): + if limits.accepted_steps is not None or limits.calls is not None or limits.wall_seconds > 30: + raise ValueError("ionic worker requires <=30s and no unobserved counter budgets") + ionic_input = IonicTransientJobInput.model_validate(submission.input) + job = prepare_ionic_transient_input(ionic_input, registration.context) + if type(job) is not IonicTransientJob or job.execution.engine.name != "solarlab": + raise ValueError("registered preparation did not return the explicit ionic worker") + worker_id, request_kind = "registered_ionic_transient", "ionic_transient" + extra = {"device_id": ionic_input.device_id} + elif isinstance(registration, IonicJVRegistration): + if limits.accepted_steps is not None or limits.calls is not None: + raise ValueError("ionic J-V requires no unobserved counter budgets") + if limits.wall_seconds > ionic_jv_ceiling: + raise ValueError("ionic J-V exceeds the installed request wall ceiling") + job = prepare_ionic_jv_input(ionic_jv_input, registration.context) + if type(job) is not IonicJVJob or job.execution.engine.name != "solarlab": + raise ValueError("registered preparation did not return the explicit ionic J-V worker") + worker_id, request_kind = "registered_ionic_jv", "ionic_jv" + extra = {"device_id": ionic_jv_input.device_id} + else: + if limits.accepted_steps is not None or limits.calls is not None or limits.wall_seconds > 30: + raise ValueError("2D steady requires <=30s and no unobserved counter budgets") + steady_2d_input = Steady2DJobInput.model_validate(submission.input) + job = prepare_steady_2d_input(steady_2d_input, registration.context) + if type(job) is not Steady2DJob or job.execution.engine.name != "solarlab": + raise ValueError("registered preparation did not return the explicit2D steady worker") + worker_id, request_kind = "registered_steady_2d", "steady_2d" + extra = {"device_id": steady_2d_input.device_id} + models = self._models(registration) + if job.execution.inputs.registry.content_sha256 != models.content_sha256: + raise ValueError("prepared model registry differs from the server registry") + preflight = self.registry.preflight(submission.experiment_id, submission.version, + job.execution.inputs.selection, models) + if not preflight.declared_compatible: + raise ValueError("experiment capability refused: " + "; ".join(preflight.declared_problems)) + # The explicit installation admits this adapter only; declaration + # can_execute and scientific qualification are not changed. + # Ionic transport retains the accepted reader's exact core request. + # Its sole installed v1 route and unique prepared identity bind the + # HTTP experiment/device selection without another request schema. + payload = job.request.request if isinstance(registration, (IonicTransientRegistration, IonicJVRegistration, Steady2DRegistration)) else SourceDocument(f"solarlab.registered-{request_kind}-request.v1", canonical({ + "experiment_id": submission.experiment_id, "version": submission.version, "engine": submission.engine, + f"{request_kind}_request_id": job.request.request.id, + f"{request_kind}_request_base64": base64.b64encode(job.request.request.content).decode(), **extra})) + request = WorkerRequest(payload, self.document, self.schema, job.request.execution_identity, + job.request.H_input, job.request.H_physics) + return RunSpec.from_binding(worker_id, request, limits, job.execution), job.execution + + +@dataclass(frozen=True, slots=True) +class JobService: + catalog: ExecutionCatalog + supervisor: ProcessSupervisor + allow_legacy_routes: bool = False + synchronous_wait_seconds: float = 5.0 + + def __post_init__(self) -> None: + if type(self.catalog) is not ExecutionCatalog or type(self.supervisor) is not ProcessSupervisor: + raise ValueError("an explicit catalog and shared process supervisor are required") + if type(self.allow_legacy_routes) is not bool: + raise ValueError("legacy route activation must be explicit") + if (type(self.synchronous_wait_seconds) not in {int, float} + or not math.isfinite(self.synchronous_wait_seconds) or self.synchronous_wait_seconds <= 0): + raise ValueError("synchronous compatibility wait must be positive and bounded") + + def submit(self, submission: JobSubmission) -> JobHandle: + spec, execution = self.catalog.prepare(submission) + return self.supervisor.submit(submission.run_id, spec.worker_id, spec.request, spec.limits, execution=execution) + +def legacy_job_id(handle: JobHandle) -> str: + return base64.urlsafe_b64encode(canonical([handle.run_id, handle.attempt_id])).decode().rstrip("=") + + +def legacy_job_target(value: str) -> tuple[str, str]: + if len(value) > 512: + raise ValueError("invalid legacy job identifier") + try: + raw = base64.b64decode(value + "=" * (-len(value) % 4), altchars=b"-_", validate=True) + pair = json.loads(raw) + if type(pair) is not list or len(pair) != 2 or any(type(x) is not str or not x for x in pair): + raise ValueError("invalid legacy job target") + if base64.urlsafe_b64encode(canonical(pair)).decode().rstrip("=") != value: + raise ValueError("noncanonical legacy job identifier") + return pair[0], pair[1] + except (ValueError, UnicodeError) as error: + raise ValueError("invalid legacy job identifier") from error diff --git a/src/solarlab_server/legacy_engine/__init__.py b/src/solarlab_server/legacy_engine/__init__.py new file mode 100644 index 00000000..9bdcb8b2 --- /dev/null +++ b/src/solarlab_server/legacy_engine/__init__.py @@ -0,0 +1,239 @@ +"""Explicit high-level transition to the three source-audited old drivers. + +The public entry prepares data for the shared supervisor. Only its registered +child worker imports the old engine, after manifest/environment/source checks. +Existing backend and research consumers remain registered until their separate +migration tasks; this facade does not activate routes or qualify new physics. +""" + +from __future__ import annotations + +import base64 +from dataclasses import dataclass, fields, is_dataclass +import hashlib +import importlib.metadata +import importlib.util +import json +import os +from pathlib import Path +import platform +import struct +import sys +from typing import Any + +from solarlab.config.behavior import BehaviorContext +from solarlab.config.identity import ( + BuildSource, ExecutionDescription, ExecutionEngine, ExecutionManifest, IdentityInputs, + RuntimeEnvironment, +) +from solarlab.config.legacy_execution import LegacyExecutionContext +from solarlab.experiments.execution import JobHandle, ProcessSupervisor +from solarlab.experiments.worker import ( + ManifestBinding, ResourceLimits, WorkerBinding, WorkerContext, WorkerRequest, WorkerResult, +) +from solarlab.io.artifacts import bytes_artifact +from solarlab.materials.source import SourceDocument + +__all__ = ["LegacyJob", "legacy_environment", "legacy_description", "prepare_legacy_job", "legacy_worker_binding"] + +_THREADS = ("OMP_NUM_THREADS", "OPENBLAS_NUM_THREADS", "MKL_NUM_THREADS", "VECLIB_MAXIMUM_THREADS", "NUMEXPR_NUM_THREADS") +_PACKAGES = ("numpy", "scipy", "PyYAML", "pydantic", "threadpoolctl") +_REGISTRY = SourceDocument("solarlab.legacy-facade-registry.v1", b'{"drivers":["ion_hysteresis","scaps_steady_state","scaps_transient"],"engine":"legacy","fallback":"forbidden"}') +_SCHEMA = SourceDocument("solarlab.legacy-facade-request.v1", b'{"fields":["engine","driver","input_id","input_base64","context_sha256"],"version":1}') + + +def _document(name: str, value: Any) -> SourceDocument: + return SourceDocument(name, json.dumps(value, sort_keys=True, separators=(",", ":"), allow_nan=False).encode()) + + +def _environment(invocation: LegacyExecutionContext) -> tuple[tuple[str, str | None], ...]: + return tuple(sorted({**invocation.export()["environment"], **dict.fromkeys(_THREADS, "1")}.items())) + + +def legacy_environment(invocation: LegacyExecutionContext) -> RuntimeEnvironment: + """Describe the requested child environment without changing the parent. + + Versions come from this installation. The worker must independently + observe them after installing the explicit behavior/thread settings. + """ + if type(invocation) is not LegacyExecutionContext: + raise ValueError("an explicit supported legacy invocation is required") + return RuntimeEnvironment(platform.python_implementation(), platform.python_version(), platform.system(), platform.machine(), + tuple((name, importlib.metadata.version(name)) for name in _PACKAGES), + tuple((key, json.dumps(value)) for key, value in _environment(invocation))) + + +def _roles(invocation: LegacyExecutionContext) -> dict[str, SourceDocument]: + record = invocation.export() + preparation = record["behavior"]["source_inspection"]["preparation"] + # These original high-level drivers create their seed/grid internally. + # Bind that exact recipe, never label it a supplied/qualified working point. + return { + "protocol": _document("legacy.protocol.v1", {"driver": record["driver"], "arguments": record["arguments"]}), + "preparation": _document("legacy.preparation.v1", record), + "initial_state": _document("legacy.initial-recipe.v1", { + "input_sha256": invocation.input_source.sha256, "recipe": preparation, + "source": "created_by_original_driver", "supplied_working_point": False}), + "grid": _document("legacy.grid-recipe.v1", {"input_sha256": invocation.input_source.sha256, + "N_grid": record["arguments"]["N_grid"], "source": "created_by_original_driver"}), + "numeric_controls": _document("legacy.driver-controls.v1", preparation["actual_driver_arguments"]), + } + + +def legacy_description(invocation: LegacyExecutionContext, *, implementation: BuildSource, + environment: RuntimeEnvironment, current_repository_head: str) -> ExecutionDescription: + """Bind the full original invocation and its source-defined seed recipe.""" + roles = _roles(invocation) + return ExecutionDescription(roles["protocol"], roles["preparation"], roles["initial_state"], roles["grid"], + roles["numeric_controls"], implementation, environment, current_repository_head) + + +@dataclass(frozen=True, slots=True) +class LegacyJob: + request: WorkerRequest + execution: ManifestBinding + + def submit(self, supervisor: ProcessSupervisor, run_id: str, limits: ResourceLimits) -> JobHandle: + return supervisor.submit(run_id, "legacy", self.request, limits, execution=self.execution) + + +def prepare_legacy_job( + invocation: LegacyExecutionContext, inputs: IdentityInputs, execution: ExecutionDescription, *, + engine: ExecutionEngine, manifest: ExecutionManifest, expected_sha256: str, +) -> LegacyJob: + """Prepare one explicit old-engine job; no execution or route activation.""" + if type(engine) is not ExecutionEngine or engine.name != "legacy": + raise ValueError("this facade requires the explicit legacy engine; fallback is forbidden") + if type(invocation) is not LegacyExecutionContext or type(engine.behavior) is not BehaviorContext: + raise ValueError("this facade supports only the three audited BehaviorContext drivers") + if engine.behavior.content_sha256 != invocation.behavior.content_sha256: + raise ValueError("the engine and original invocation have different behavior contexts") + if any(getattr(execution, name) != document for name, document in _roles(invocation).items()): + raise ValueError("execution roles differ from the original legacy invocation") + binding = ManifestBinding(manifest, inputs, execution, engine, expected_sha256, _environment(invocation)) + identity = manifest.export()["document"]["execution_identity"] + request = WorkerRequest(_document("legacy.invocation.v1", { + "engine": engine.name, "driver": invocation.behavior.driver, + "input_id": invocation.input_source.id, "input_base64": base64.b64encode(invocation.input_source.content).decode(), + "context_sha256": invocation.content_sha256, + }), _REGISTRY, _SCHEMA, _document("legacy.execution-identity.v1", identity), + identity["payload"]["H_input"], identity["payload"]["H_physics"]) + binding.validate_request(request) + return LegacyJob(request, binding) + + +def legacy_worker_binding() -> WorkerBinding: + return WorkerBinding.from_function("legacy", _run_legacy, registry_sha256=_REGISTRY.sha256, schema_sha256=_SCHEMA.sha256) + + +def _installed_sources(invocation: LegacyExecutionContext, execution: ExecutionDescription) -> Path: + if "perovskite_sim" in sys.modules: + raise ValueError("legacy engine was imported before source and environment verification") + spec = importlib.util.find_spec("perovskite_sim") + if spec is None or spec.origin is None: + raise ValueError("the explicitly requested legacy engine is not installed") + root = Path(spec.origin).resolve().parent + required = {"perovskite_sim/" + source.id: source.content for source in invocation.behavior.sources} + files = {source.id: source.content for source in execution.implementation.files} + # SourceDocument deliberately excludes empty bytes. The original package + # initializer is empty and is checked as such, never fabricated content. + if Path(spec.origin).read_bytes() != b"": + raise ValueError("legacy package initializer is no longer the original empty file") + if not {"perovskite_sim/models/config_loader.py", *required} <= files.keys(): + raise ValueError("legacy implementation is missing required original source content") + if any(files[key] != value for key, value in required.items()): + raise ValueError("implementation differs from the audited behavior sources") + for name, expected in files.items(): + if not name.startswith("perovskite_sim/"): + raise ValueError("legacy implementation source IDs must be relative to perovskite_sim") + path = root / name.removeprefix("perovskite_sim/") + if not path.resolve().is_relative_to(root) or path.read_bytes() != expected: + raise ValueError("installed legacy implementation content differs: " + name) + actual = {"perovskite_sim/" + str(path.relative_to(root)) for path in root.rglob("*.py") if path.stat().st_size} + if actual != files.keys(): + raise ValueError("installed nonempty legacy Python source coverage differs") + for table in invocation.behavior.device.resources.tables: + path = root / "data/nk" / (table.name + ".csv") + if table.kind != "nk" or not path.resolve().is_relative_to(root / "data/nk"): + raise ValueError("legacy facade has no source-bound resolver for this resource") + if path.read_bytes() != table.source.content: + raise ValueError("installed legacy resource content differs: " + table.name) + return root + + +def _words(value: Any) -> Any: + """Lossless transitional payload; no decimal projection of numeric words.""" + import numpy as np + if is_dataclass(value) and not isinstance(value, type): + return {"type": type(value).__qualname__, "fields": {f.name: _words(getattr(value, f.name)) for f in fields(value)}} + if isinstance(value, np.ndarray): + if value.dtype.hasobject: + raise ValueError("object arrays are not a supported numeric result") + return {"dtype": value.dtype.str, "shape": list(value.shape), "raw_hex": value.tobytes(order="C").hex()} + if isinstance(value, np.generic): + return {"dtype": value.dtype.str, "raw_hex": value.tobytes().hex()} + if type(value) is float: + return {"binary64_be": struct.pack(">d", value).hex()} + if value is None or type(value) in (str, bool, int): + return value + if type(value) is bytes: + return {"bytes_b64": base64.b64encode(value).decode()} + if isinstance(value, (list, tuple)): + return [_words(item) for item in value] + if isinstance(value, dict) and all(type(key) is str for key in value): + return {key: _words(item) for key, item in value.items()} + raise ValueError("unsupported original result type: " + type(value).__qualname__) + + +def _run_legacy(request: WorkerRequest, worker: WorkerContext) -> WorkerResult: + binding = worker.consume_manifest(request, engine="legacy") + body = json.loads(request.request.content) + if (set(body) != {"engine", "driver", "input_id", "input_base64", "context_sha256"} + or body["engine"] != "legacy" or type(binding.engine.behavior) is not BehaviorContext): + raise ValueError("invalid explicit legacy invocation") + invocation = LegacyExecutionContext(binding.engine.behavior, + SourceDocument(body["input_id"], base64.b64decode(body["input_base64"], validate=True))) + if body["driver"] != invocation.behavior.driver or body["context_sha256"] != invocation.content_sha256: + raise ValueError("request differs from the source-bound original invocation") + if _environment(invocation) != binding.environment: + raise ValueError("worker environment differs from the actual behavior context") + if any(getattr(binding.execution, name) != document for name, document in _roles(invocation).items()): + raise ValueError("worker execution roles differ from the original legacy invocation") + root = _installed_sources(invocation, binding.execution) + worker.check_cancel() + # Imports occur only inside the isolated child, after all checks above. + from perovskite_sim.models.config_loader import load_device_from_yaml + from perovskite_sim.scaps_compat.loader import load_scaps_yaml + from perovskite_sim.experiments import jv_sweep, steady_state, waveform_jv + from threadpoolctl import threadpool_info, threadpool_limits + + path = Path.cwd() / "original-input.yaml" + with path.open("xb") as stream: + stream.write(invocation.input_source.content) + # Public preparation records already import NumPy for immutable resource + # arrays. Bound the live BLAS pools too, including SciPy's newly loaded one. + with threadpool_limits(limits=1): + threadpools = threadpool_info() + if any(item["num_threads"] != 1 for item in threadpools): + raise ValueError("legacy child numerical thread limit was not installed") + stack = (load_scaps_yaml(path) if invocation.behavior.driver.startswith("scaps_") else load_device_from_yaml(path)) + arguments = dict(invocation.export()["arguments"]) + worker.progress({"stage": "legacy_driver", "driver": invocation.behavior.driver, + "manifest_sha256": binding.expected_sha256}) + if invocation.behavior.driver == "scaps_transient": + result = jv_sweep.run_jv_sweep(stack, **arguments) + elif invocation.behavior.driver == "scaps_steady_state": + result = steady_state.solve_voc_ss(stack, **arguments) + elif invocation.behavior.driver == "ion_hysteresis": + waveform = waveform_jv.JVWaveform.from_dict(arguments.pop("waveform")) + result = waveform_jv.run_waveform_jv(stack, waveform, **arguments) + else: + raise ValueError("unsupported old driver; fallback is forbidden") + worker.check_cancel() + data = json.dumps(_words(result), sort_keys=True, separators=(",", ":"), allow_nan=False).encode() + return WorkerResult.from_dict({"engine": "legacy", "driver": invocation.behavior.driver, + "manifest_sha256": binding.expected_sha256, "H_execution": binding.manifest.execution_sha256, + "input_sha256": invocation.input_source.sha256, "context_sha256": invocation.content_sha256, + "legacy_source_root": str(root), "pid": os.getpid(), "threadpools": threadpools, "scientific_qualification": False, + "payload_sha256": hashlib.sha256(data).hexdigest()}, artifacts=(("legacy_result", bytes_artifact(data, metadata= + {"schema": "solarlab.legacy-raw-result.v1", "encoding": "exact_numeric_words"})),)) diff --git a/src/solarlab_server/py.typed b/src/solarlab_server/py.typed new file mode 100644 index 00000000..e69de29b diff --git a/src/solarlab_server/registered_worker.py b/src/solarlab_server/registered_worker.py new file mode 100644 index 00000000..199ce0b9 --- /dev/null +++ b/src/solarlab_server/registered_worker.py @@ -0,0 +1,178 @@ +"""Checked installed routes to the existing legacy and steady workers.""" +from dataclasses import asdict, replace +import base64 +import json + +from solarlab.experiments.worker import WorkerContext, WorkerRequest, WorkerResult +from solarlab.materials.source import SourceDocument +from solarlab_server.legacy_engine import _run_legacy, legacy_worker_binding + + +def run_legacy(request: WorkerRequest, context: WorkerContext) -> WorkerResult: + catalog = json.loads(request.registry.content) + body = json.loads(request.request.content) + if (set(body) != {"experiment_id", "version", "engine", "legacy_request_id", "legacy_request_base64"} + or catalog["schema"] != "solarlab.execution-catalog.v1" or body["engine"] != "legacy" + or catalog["job_schema_sha256"] != request.schema.sha256 + or catalog["legacy_facade_sha256"] != legacy_worker_binding().source_sha256): + raise ValueError("worker registry/schema/facade differs from the admitted source") + entry = next((r for r in catalog["bindings"] if (r["experiment_id"], r["version"], r["engine"]) == + (body["experiment_id"], body["version"], body["engine"])), None) + binding = context.consume_manifest(request, engine="legacy") + if (entry is None or catalog["model_registry_sha256"] != binding.inputs.registry.content_sha256 + or entry["model_registry_sha256"] != binding.inputs.registry.content_sha256): + raise ValueError("worker experiment/model registry mismatch") + inner = replace(request, request=SourceDocument(body["legacy_request_id"], + base64.b64decode(body["legacy_request_base64"], validate=True))) + if json.loads(inner.request.content)["driver"] != entry["driver"]: + raise ValueError("worker driver differs from the selected experiment") + output = _run_legacy(inner, context) + return WorkerResult.from_dict({**json.loads(output.result_json), + "experiment_id": body["experiment_id"], "experiment_version": body["version"], + "execution_catalog_sha256": request.registry.sha256}, artifacts=output.artifacts) + + +def run_steady(request: WorkerRequest, context: WorkerContext) -> WorkerResult: + """Consume the installed source/device binding, then the real cold worker.""" + from solarlab.experiments.jv.worker import run_steady_jv_worker, steady_jv_worker_binding + from solarlab_server.steady_preparation import _device_binding, _implementation_binding + + context.check_cancel() + catalog = json.loads(request.registry.content) + body = json.loads(request.request.content) + if (set(body) != {"experiment_id", "version", "engine", "device_id", "steady_request_id", "steady_request_base64"} + or catalog["schema"] != "solarlab.execution-catalog.v1" or body["engine"] != "solarlab" + or catalog["job_schema_sha256"] != request.schema.sha256): + raise ValueError("steady worker registry/schema differs from the installed route") + entry = next((r for r in catalog["bindings"] if (r["experiment_id"], r["version"], r["engine"]) == + (body["experiment_id"], body["version"], body["engine"])), None) + if (entry is None or entry["scope"] != "static_classical_ion_free_1d_dc" + or entry["driver"] != "steady_jv" + or entry["worker_source_sha256"] != steady_jv_worker_binding().source_sha256): + raise ValueError("steady experiment/worker source is not the installed binding") + binding = context.consume_manifest(request, engine="solarlab") + preparation = entry["preparation_context"] + selected = next((item for item in preparation["devices"] if item["device_id"] == body["device_id"]), None) + if (entry["model_registry_sha256"] != binding.inputs.registry.content_sha256 + or selected != _device_binding(body["device_id"], binding.inputs.prepared) + or preparation["implementation"] != _implementation_binding(binding.execution.implementation) + or preparation["current_repository_head"] != binding.execution.current_repository_head): + raise ValueError("steady registry/device/source differs from the consumed manifest") + inner = replace(request, request=SourceDocument(body["steady_request_id"], + base64.b64decode(body["steady_request_base64"], validate=True))) + output = run_steady_jv_worker(inner, context) + return WorkerResult.from_dict({**json.loads(output.result_json), + "experiment_id": body["experiment_id"], "experiment_version": body["version"], + "registered_device_id": body["device_id"], + "execution_catalog_sha256": request.registry.sha256}, artifacts=output.artifacts) + + +def run_transient(request: WorkerRequest, context: WorkerContext) -> WorkerResult: + """Check the trusted transient route and retain the numerical outcome.""" + from solarlab.experiments.transient_worker import run_transient_worker, transient_worker_binding + from solarlab_server.steady_preparation import _device_binding, _implementation_binding + from solarlab_server.transient_preparation import TransientJobInput, _numerical_policy, _server_bindings, _server_runtime + + context.check_cancel() + catalog = json.loads(request.registry.content) + body = json.loads(request.request.content) + if (set(body) != {"experiment_id", "version", "engine", "device_id", "transient_request_id", "transient_request_base64"} + or catalog["schema"] != "solarlab.execution-catalog.v1" or body["engine"] != "solarlab" + or catalog["job_schema_sha256"] != request.schema.sha256): + raise ValueError("transient worker registry/schema differs from the installed route") + entry = next((r for r in catalog["bindings"] if (r["experiment_id"], r["version"], r["engine"]) == + (body["experiment_id"], body["version"], body["engine"])), None) + if (entry is None or entry["scope"] != "classical_ion_free_1d_transient" or entry["driver"] != "transient_1d" + or entry["worker_source_sha256"] != transient_worker_binding().source_sha256): + raise ValueError("transient experiment/worker source is not the installed binding") + binding = context.consume_manifest(request, engine="solarlab") + preparation = entry["preparation_context"] + selected = next((item for item in preparation["devices"] if item["device_id"] == body["device_id"]), None) + if (entry["model_registry_sha256"] != binding.inputs.registry.content_sha256 + or selected != _device_binding(body["device_id"], binding.inputs.prepared) + or preparation["implementation"] != _implementation_binding(binding.execution.implementation) + or preparation["current_repository_head"] != binding.execution.current_repository_head + or preparation["server_sources"] != _server_bindings() + or preparation["server_runtime"] != _server_runtime() + or preparation["fixed_numerical_policy"] != _numerical_policy()): + raise ValueError("transient registry/device/source/policy differs from the consumed manifest") + inner = replace(request, request=SourceDocument(body["transient_request_id"], + base64.b64decode(body["transient_request_base64"], validate=True))) + inner_body = json.loads(inner.request.content) + declared = TransientJobInput.model_validate({"device_id": body["device_id"], **inner_body["protocol"], + "intervals_per_layer": inner_body["intervals_per_layer"], + "controls": {key: inner_body["transient_options"][key] for key in ("newton_budget", "max_steps", "wall_s")}}) + if (inner_body["transient_options"] != asdict(declared.options()) + or inner_body["initial_options"] != _numerical_policy()["initial_dc"]): + raise ValueError("transient inner controls differ from the installed fixed numerical policy") + output = run_transient_worker(inner, context) + return WorkerResult.from_dict({**json.loads(output.result_json), + "experiment_id": body["experiment_id"], "experiment_version": body["version"], + "registered_device_id": body["device_id"], "execution_catalog_sha256": request.registry.sha256, + "server_sources": preparation["server_sources"], "server_runtime": preparation["server_runtime"]}, + artifacts=output.artifacts, state=output.state) + + +def run_ionic_transient(request: WorkerRequest, context: WorkerContext) -> WorkerResult: + """Check the unique installed route while preserving the core request bytes.""" + from solarlab.experiments.ionic_transient_worker import ionic_transient_worker_binding, run_ionic_transient_worker + from solarlab.physics.registry import metadata_digest + from solarlab_server.ionic_transient_preparation import ( + EXPERIMENT_ID, SCOPE, IonicTransientJobInput, _numerical_policy, _server_bindings, _server_runtime, + ) + from solarlab_server.steady_preparation import _device_binding, _implementation_binding + + context.check_cancel() + catalog, body = json.loads(request.registry.content), json.loads(request.request.content) + entries = [r for r in catalog["bindings"] if r["driver"] == EXPERIMENT_ID] + if (catalog["schema"] != "solarlab.execution-catalog.v1" or catalog["job_schema_sha256"] != request.schema.sha256 + or body.get("schema") != "solarlab.ionic-transient.worker-request.v1" or body.get("engine") != "solarlab" + or len(entries) != 1): + raise ValueError("ionic worker request/catalog/schema differs from the unique installed route") + entry = entries[0] + if (entry["experiment_id"] != EXPERIMENT_ID or entry["version"] != 1 or entry["engine"] != "solarlab" + or entry["scope"] != SCOPE or entry["worker_source_sha256"] != ionic_transient_worker_binding().source_sha256 + or entry["input_schema"] != IonicTransientJobInput.model_json_schema()): + raise ValueError("ionic experiment/worker/schema source is not the installed binding") + binding = context.consume_manifest(request, engine="solarlab") + preparation = entry["preparation_context"] + selected = [item for item in preparation["devices"] if item["prepared_sha256"] == binding.inputs.prepared.content_sha256] + if len(selected) != 1: + raise ValueError("ionic request must identify exactly one registered prepared device") + device_id = selected[0]["device_id"] + if (entry["model_registry_sha256"] != binding.inputs.registry.content_sha256 + or selected[0] != _device_binding(device_id, binding.inputs.prepared) + or preparation["implementation"] != _implementation_binding(binding.execution.implementation) + or preparation["current_repository_head"] != binding.execution.current_repository_head + or preparation["server_sources"] != _server_bindings() or preparation["server_runtime"] != _server_runtime() + or preparation["fixed_numerical_policy"] != _numerical_policy() + or body["grid"]["ion_domain_layer"] != preparation["ion_domain_layer"] + or body["grid"]["ion_domain_endpoints"] != preparation["ion_domain_endpoints"]): + raise ValueError("ionic registry/device/source/domain/policy differs from the consumed manifest") + controls = body["controls"] + declared = IonicTransientJobInput.model_validate({"device_id": device_id, **body["protocol"], + "intervals_per_layer": body["grid"]["intervals_per_layer"], "controls": { + "initial_steady": {name: controls["initial_steady"][name] for name in ("budget", "inventory_row_node", "wall_s")}, + "transient": {name: controls["transient"]["electronic"][name] for name in ("newton_budget", "max_steps", "wall_s")}}}) + if controls != {"initial_steady": asdict(declared.initial_options()), "transient": asdict(declared.options())}: + raise ValueError("ionic inner controls differ from the installed fixed scientific policy") + output = run_ionic_transient_worker(request, context) + return WorkerResult.from_dict({**json.loads(output.result_json), "experiment_id": EXPERIMENT_ID, "experiment_version": 1, + "registered_device_id": device_id, "execution_catalog_sha256": request.registry.sha256, + "registered_input_schema_sha256": metadata_digest(entry["input_schema"]), + "registered_model_registry_sha256": entry["model_registry_sha256"], + "registered_numerical_policy": preparation["fixed_numerical_policy"], + "server_sources": preparation["server_sources"], "server_runtime": preparation["server_runtime"]}, + artifacts=output.artifacts, state=output.state) + + +def run_ionic_jv(request: WorkerRequest, context: WorkerContext) -> WorkerResult: + """Dispatch the source-checked ionic J-V installation to its existing worker.""" + from solarlab_server.ionic_jv_preparation import execute_registered_ionic_jv + return execute_registered_ionic_jv(request, context) + + +def run_steady_2d(request: WorkerRequest, context: WorkerContext) -> WorkerResult: + """Run the installed full2D worker with its actual catalog and core body.""" + from solarlab_server.steady_2d_preparation import execute_registered_steady_2d + return execute_registered_steady_2d(request, context) diff --git a/src/solarlab_server/routes/__init__.py b/src/solarlab_server/routes/__init__.py new file mode 100644 index 00000000..05aa331d --- /dev/null +++ b/src/solarlab_server/routes/__init__.py @@ -0,0 +1 @@ +"""Configuration, material, schema, job and stored-result HTTP routes.""" diff --git a/src/solarlab_server/routes/configs.py b/src/solarlab_server/routes/configs.py new file mode 100644 index 00000000..0bc751fe --- /dev/null +++ b/src/solarlab_server/routes/configs.py @@ -0,0 +1,28 @@ +"""Read explicitly supplied sources and retain the existing typed previews.""" +from fastapi import APIRouter, HTTPException, Request +from starlette.responses import Response + +from solarlab_server.configuration import router as preview_router + +router = APIRouter() +router.include_router(preview_router) + + +@router.get("/configs") +def configs(request: Request) -> dict: + context = request.app.state.configuration_preview + if context is None: + raise HTTPException(503, "trusted configuration context is unavailable") + return {"sources": [{"id": s.id, "sha256": s.sha256, "bytes": len(s.content)} for s in context.sources], + "default_catalog_sha256": context.defaults.content_sha256} + + +@router.get("/configs/{source_id:path}") +def source(request: Request, source_id: str) -> Response: + context = request.app.state.configuration_preview + if context is None: + raise HTTPException(503, "trusted configuration context is unavailable") + item = next((s for s in context.sources if s.id == source_id), None) + if item is None: + raise HTTPException(404, "unknown supplied configuration source") + return Response(item.content, media_type="application/octet-stream", headers={"ETag": '"' + item.sha256 + '"'}) diff --git a/src/solarlab_server/routes/jobs.py b/src/solarlab_server/routes/jobs.py new file mode 100644 index 00000000..82238a87 --- /dev/null +++ b/src/solarlab_server/routes/jobs.py @@ -0,0 +1,114 @@ +"""Stable-ID submissions and exact-attempt cancellation on the shared owner.""" +from __future__ import annotations + +from typing import Any, cast + +from fastapi import APIRouter, HTTPException, Request +from pydantic import BaseModel, ConfigDict, Field, ValidationError +from starlette.concurrency import run_in_threadpool +from starlette.responses import JSONResponse + +from solarlab.experiments.execution import JobHandle, QueueFull +from solarlab.io.run_store import StateConflict +from solarlab_server.configuration import _constant, _number, _pairs +from solarlab_server.job_service import JobService, JobSubmission, legacy_job_id + +router = APIRouter() + + +def service(request: Request) -> JobService: + value = cast(JobService | None, request.app.state.job_service) + if value is None: + raise HTTPException(503, detail={"code": "execution_unavailable", "message": "No trusted execution catalog/owner supplied"}) + return value + + +async def body(request: Request, limit: int = 1024**2) -> dict[str, Any]: + import json + if request.headers.get("content-type", "").split(";", 1)[0].strip().lower() != "application/json": + raise HTTPException(415, "Expected application/json") + raw = bytearray() + async for chunk in request.stream(): + if len(raw) + len(chunk) > limit: + raise HTTPException(413, "job submission exceeds the bounded input limit") + raw.extend(chunk) + try: + value = json.loads(raw, object_pairs_hook=_pairs, parse_float=_number, parse_constant=_constant, + parse_int=lambda word: -0.0 if word == "-0" else int(word)) + if type(value) is not dict: + raise ValueError("job body must be an object") + return value + except (ValueError, UnicodeError, RecursionError) as error: + raise HTTPException(400, str(error)) from error + + +def submitted(service: JobService, declaration: JobSubmission) -> dict[str, Any]: + try: + handle = service.submit(declaration) + except ValidationError as error: + raise HTTPException(422, error.errors(include_url=False, include_context=False)) from error + except ValueError as error: + raise HTTPException(422, {"code": "capability_or_binding_refused", "message": str(error)}) from error + except QueueFull as error: + raise HTTPException(429, {"code": "queue_full", "message": str(error)}, headers={"Retry-After": "1"}) from error + return {"status": "accepted", "store_id": handle.store_id, "run_id": handle.run_id, + "attempt_id": handle.attempt_id, "job_id": legacy_job_id(handle), + "events_url": f"/runs/{handle.run_id}/attempts/{handle.attempt_id}/events", + "result_url": f"/results/{handle.run_id}/attempts/{handle.attempt_id}", + "execution_catalog_sha256": service.catalog.document.sha256, + "job_schema_sha256": service.catalog.schema.sha256, "scientific_qualification": False} + + +@router.get("/experiments") +def experiments(request: Request) -> JSONResponse: + import json + catalog = service(request).catalog + return JSONResponse(json.loads(catalog.document.content), headers={"ETag": '"' + catalog.document.sha256 + '"', + "X-Solarlab-Registry": catalog.document.sha256, "X-Solarlab-Job-Schema": catalog.schema.sha256}) + + +@router.post("/jobs", status_code=202) +async def submit(request: Request) -> JSONResponse: + context = service(request) + for name, expected in (("X-Solarlab-Registry", context.catalog.document.sha256), + ("X-Solarlab-Job-Schema", context.catalog.schema.sha256)): + declared = request.headers.get(name) + if declared is None: + raise HTTPException(428, "required submission identity header: " + name) + if declared != expected: + raise HTTPException(409, {"code": "schema_registry_mismatch", "header": name}) + try: + declaration = JobSubmission.model_validate(await body(request)) + except ValidationError as error: + raise HTTPException(422, error.errors(include_url=False, include_context=False)) from error + result = await run_in_threadpool(submitted, context, declaration) + return JSONResponse(result, status_code=202, headers={"Location": result["events_url"], "Cache-Control": "no-store"}) + + +class CancelInput(BaseModel): + model_config = ConfigDict(extra="forbid", strict=True) + expected_generation: int = Field(ge=0) + reason: str = Field(min_length=1, max_length=4096) + + +@router.post("/jobs/{run_id}/attempts/{attempt_id}/cancel") +async def cancel(request: Request, run_id: str, attempt_id: str) -> dict[str, Any]: + context = service(request) + try: + value = CancelInput.model_validate(await body(request, 8192)) + except ValidationError as error: + raise HTTPException(422, error.errors(include_url=False, include_context=False)) from error + row = await run_in_threadpool(context.supervisor.store.get_run, run_id) + if row["current_attempt_id"] != attempt_id or row["generation"] != value.expected_generation: + raise StateConflict("cancellation target is a stale attempt/generation") + # The store repeats the comparison in its transaction. The attempt can be + # claimed/retried between this HTTP read and the cancellation operation. + await run_in_threadpool(context.supervisor.store.cancel, run_id, + expected_attempt_id=attempt_id, expected_generation=value.expected_generation, reason=value.reason) + try: + stop_requested = await run_in_threadpool(context.supervisor.cancel, + JobHandle(context.supervisor.store.store_id, run_id, attempt_id), reason=value.reason) + except KeyError: + stop_requested = False # Fence old ownership; never signal an unowned PID. + return {"requested": True, "owner_stop_requested": stop_requested, "run_id": run_id, "attempt_id": attempt_id, + "state": context.supervisor.store.get_run(run_id)["state"], "process_exit_inferred": False} diff --git a/src/solarlab_server/routes/legacy.py b/src/solarlab_server/routes/legacy.py new file mode 100644 index 00000000..972618eb --- /dev/null +++ b/src/solarlab_server/routes/legacy.py @@ -0,0 +1,165 @@ +"""Opt-in old HTTP framing; durable sequence plus phase prevents terminal gaps.""" +from __future__ import annotations + +from dataclasses import asdict +from collections.abc import AsyncIterator, Awaitable, Callable +import json +import math +import struct +from typing import Any +import uuid + +from fastapi import FastAPI, Header, HTTPException, Request +from starlette.concurrency import run_in_threadpool +from starlette.responses import JSONResponse, Response, StreamingResponse + +from solarlab.experiments.execution import JobHandle +from solarlab_server.events import attempt_record, event_stream, replay_cursor +from solarlab_server.job_service import JobSubmission, legacy_job_target +from solarlab_server.routes.jobs import body, service, submitted +from solarlab_server.routes.results import result_payload + + +def _old_json(value: Any) -> Any: + """Project verified W03 words to the old JSON view; raw artifacts survive.""" + import numpy as np + if isinstance(value, list): + return [_old_json(x) for x in value] + if type(value) is dict: + if set(value) == {"type", "fields"}: + return _old_json(value["fields"]) + if set(value) == {"binary64_be"}: + number = struct.unpack(">d", bytes.fromhex(value["binary64_be"]))[0] + return number if math.isfinite(number) else None + if set(value) in ({"dtype", "shape", "raw_hex"}, {"dtype", "raw_hex"}): + dtype = np.dtype(value["dtype"]) + if dtype.hasobject or dtype.fields: + raise ValueError("unsupported legacy result dtype") + raw = bytes.fromhex(value["raw_hex"]) + shape = value.get("shape", []) + if (any(type(n) is not int or n < 0 for n in shape) + or math.prod(shape) * dtype.itemsize != len(raw)): + raise ValueError("legacy result words differ from shape") + return _old_json(np.frombuffer(raw, dtype=dtype).reshape(shape).tolist()) + return {key: _old_json(item) for key, item in value.items()} + if type(value) is float and not math.isfinite(value): + return None + return value + + +def legacy_result(store: Any, run_id: str, attempt_id: str, maximum_bytes: int) -> dict[str, Any]: + view = result_payload(store, run_id, attempt_id, maximum_bytes) + payload = next((a for a in view["artifacts"] if a["name"] == "legacy_result"), None) + if payload is not None and payload["size_bytes"] <= 256 * 1024: + result = _old_json(json.loads(store.read_artifact(payload["artifact_id"]))) + if type(result) is not dict: + result = {"value": result} + else: + result = {"payload_inline": False} + return {**result, "artifacts": view["artifacts"], "execution": view["result"], + "run_id": run_id, "attempt_id": attempt_id} + + +def legacy_cursor(store: Any, run_id: str, attempt_id: str, last: str | None) -> tuple[int, str | None, bool]: + if last is None: + return 0, None, False + words = last.split(".") + if len(words) != 2 or words[1] not in {"event", "result", "error", "done"}: + raise ValueError("legacy cursor requires a durable sequence and frame phase") + sequence, terminal = replay_cursor(store, run_id, attempt_id, 0, words[0]) + if sequence == 0: + raise ValueError("legacy phase cursor must identify a committed event") + if not terminal: + if words[1] != "event": + raise ValueError("nonterminal event cannot acknowledge a terminal frame") + return sequence, None, False + event = store.events(after=sequence - 1, limit=1, run_id=run_id)[0] + expected = "result" if event["payload"]["state"] == "succeeded" else "error" + if words[1] not in {expected, "done"}: + raise ValueError("cursor phase differs from the committed terminal outcome") + return sequence - 1, words[1], words[1] == "done" + + +def install_legacy(app: FastAPI, *, max_artifact_bytes: int, event_page_size: int, + poll_interval: float, keepalive_interval: float) -> None: + async def submit_legacy(request: Request, *, fixed_key: tuple[str, int] | None = None) -> dict[str, Any]: + context = service(request) + if not context.allow_legacy_routes: + raise HTTPException(404, "legacy compatibility routes are not enabled") + value = await body(request) + if fixed_key is None: + if set(value) - {"kind", "device", "config_path", "params"} or "kind" not in value: + raise HTTPException(422, "legacy jobs require kind/device/config_path/params") + registration = next((r for r in context.catalog.registrations if value["kind"] in r.legacy_kinds), None) + parameters = {"device": value.get("device"), "config_path": value.get("config_path"), "params": value.get("params", {})} + else: + registration = next((r for r in context.catalog.registrations + if (r.experiment_id, r.version) == fixed_key), None) + parameters = {"device": value.get("device"), "config_path": value.get("config_path"), + "params": {k: v for k, v in value.items() if k not in {"device", "config_path"}}} + if registration is None: + raise HTTPException(422, "legacy caller has not migrated; retain its original entry") + declaration = JobSubmission.model_validate({"schema_version": "solarlab.job-submission.v1", "run_id": uuid.uuid4().hex, + "experiment_id": registration.experiment_id, "version": registration.version, "engine": "legacy", + "input": parameters, "limits": asdict(context.catalog.ceiling)}) + result = await run_in_threadpool(submitted, context, declaration) + return {**result, "status": "ok", "legacy_events_url": f"/api/jobs/{result['job_id']}/events"} + + @app.post("/api/jobs") + async def jobs(request: Request) -> JSONResponse: + return JSONResponse(await submit_legacy(request), status_code=202) + + @app.get("/api/jobs/{job_id}/events") + async def events(request: Request, job_id: str, last_event_id: str | None = Header(None, alias="Last-Event-ID")) -> Response: + # A read-only restart needs no live execution service to replay old jobs. + store = request.app.state.run_store + run_id, attempt_id = legacy_job_target(job_id) + await run_in_threadpool(attempt_record, store, run_id, attempt_id) + cursor, phase, acknowledged = await run_in_threadpool(legacy_cursor, store, run_id, attempt_id, last_event_id) + headers = {"Cache-Control": "no-cache", "X-Accel-Buffering": "no", "X-RunStore-ID": store.store_id} + if acknowledged: + return Response(status_code=204, headers=headers) + + async def stream() -> AsyncIterator[str]: + async for block in event_stream(request, store, run_id, attempt_id, after=cursor, + page_size=event_page_size, poll_interval=poll_interval, keepalive_interval=keepalive_interval): + if block.startswith(":"): + yield block + continue + record = json.loads(next(line[6:] for line in block.splitlines() if line.startswith("data: "))) + sequence = record["sequence"] + if record["kind"] == "terminal": + event = "result" if record["payload"]["state"] == "succeeded" else "error" + if phase is None: + if event == "result": + data = await run_in_threadpool(legacy_result, store, run_id, attempt_id, max_artifact_bytes) + else: + result = record["payload"]["result"] + cause = result.get("worker_result", result) + data = {"message": cause.get("reason", record["payload"]["state"]), + "state": record["payload"]["state"], "result": result} + yield f"id: {sequence}.{event}\nevent: {event}\ndata: {json.dumps(data, allow_nan=False)}\n\n" + yield f"id: {sequence}.done\nevent: done\ndata: {{}}\n\n" + return + data = record["payload"].get("ui_progress", {"stage": record["kind"]}) + yield f"id: {sequence}.event\nevent: progress\ndata: {json.dumps(data, allow_nan=False)}\n\n" + return StreamingResponse(stream(), media_type="text/event-stream", headers=headers) + + context = app.state.job_service + if context is not None and context.allow_legacy_routes: + def endpoint(experiment_id: str, version: int) -> Callable[[Request], Awaitable[JSONResponse]]: + async def synchronous(request: Request) -> JSONResponse: + submitted_job = await submit_legacy(request, fixed_key=(experiment_id, version)) + handle = JobHandle(submitted_job["store_id"], submitted_job["run_id"], submitted_job["attempt_id"]) + try: + receipt = await run_in_threadpool(context.supervisor.wait, handle, context.synchronous_wait_seconds) + except TimeoutError: + return JSONResponse({**submitted_job, "status": "pending"}, status_code=202) + if receipt.data["store_state"] != "succeeded": + return JSONResponse({"status": "error", "job": submitted_job, "result": receipt.data}, status_code=422) + result = await run_in_threadpool(legacy_result, context.supervisor.store, handle.run_id, handle.attempt_id, max_artifact_bytes) + return JSONResponse({"status": "ok", "result": result}) + return synchronous + for registration in context.catalog.registrations: + for path in registration.synchronous_paths: + app.add_api_route(path, endpoint(registration.experiment_id, registration.version), methods=["POST"]) diff --git a/src/solarlab_server/routes/materials.py b/src/solarlab_server/routes/materials.py new file mode 100644 index 00000000..40153bb1 --- /dev/null +++ b/src/solarlab_server/routes/materials.py @@ -0,0 +1,28 @@ +"""Read actual immutable resource metadata and source bytes, without discovery.""" +from fastapi import APIRouter, HTTPException, Request +from starlette.responses import Response + +router = APIRouter() + + +@router.get("/materials") +def materials(request: Request) -> dict: + context = request.app.state.configuration_preview + if context is None: + raise HTTPException(503, "trusted material context is unavailable") + return {"resource_library_sha256": context.resources.content_sha256, + "resources": [{"name": t.name, "kind": t.kind, "sha256": t.content_sha256, + "source_sha256": t.source.sha256, "shape": t.shape, "columns": t.columns, "units": t.units} + for t in context.resources.tables]} + + +@router.get("/materials/{name}") +def material(request: Request, name: str) -> Response: + context = request.app.state.configuration_preview + if context is None: + raise HTTPException(503, "trusted material context is unavailable") + table = next((t for t in context.resources.tables if t.name == name), None) + if table is None: + raise HTTPException(404, "unknown supplied material resource") + return Response(table.source.content, media_type="application/octet-stream", + headers={"ETag": '"' + table.source.sha256 + '"'}) diff --git a/src/solarlab_server/routes/results.py b/src/solarlab_server/routes/results.py new file mode 100644 index 00000000..564eea30 --- /dev/null +++ b/src/solarlab_server/routes/results.py @@ -0,0 +1,111 @@ +"""Stored results and canonical durable event routes, moved without wire changes.""" +from __future__ import annotations +from collections.abc import Callable +from typing import Any +from fastapi import FastAPI, Header, HTTPException, Query, Request +from starlette.concurrency import run_in_threadpool +from starlette.responses import JSONResponse, Response, StreamingResponse +from solarlab.io.run_store import RunStore, StateConflict +from solarlab_server.events import MAX_SEQUENCE, attempt_record, event_stream, replay_cursor + + +def verified_artifact(store: RunStore, artifact_id: str, maximum_bytes: int) -> tuple[dict[str, Any], bytes]: + record = store.artifact(artifact_id) + if record["phase"] != "committed": + raise StateConflict("artifact is not a committed result") + if record["size_bytes"] > maximum_bytes: + raise HTTPException(413, detail="artifact exceeds this reader's byte limit") + return record, store.read_artifact(artifact_id) + + +def result_payload(store: RunStore, run_id: str, attempt_id: str, maximum_bytes: int) -> dict[str, Any]: + attempt = attempt_record(store, run_id, attempt_id) + if attempt["state"] not in {"succeeded", "failed", "cancelled"}: + raise HTTPException(409, "attempt has no committed terminal result") + artifacts = [] + for reference in attempt["terminal"]["artifacts"]: + record, _ = verified_artifact(store, reference["artifact_id"], maximum_bytes) + if (record["attempt_id"] != attempt_id or record["run_id"] != run_id + or record["generation"] != attempt["generation"] or record["manifest_sha256"] != reference["manifest_sha256"]): + raise StateConflict("terminal artifact belongs to a different attempt/generation") + artifacts.append({**record, "content_url": f"/artifacts/{record['artifact_id']}/content"}) + result = {"run_id": run_id, "attempt_id": attempt_id, "state": attempt["state"], + "result": attempt["result"], "artifacts": artifacts} + worker = (attempt["result"] or {}).get("worker_result", {}) + if worker.get("schema") == "solarlab.steady-2d.worker-result.v1": + from solarlab.experiments.two_dimensional.steady_results import read_steady_2d_job + from solarlab_server.steady_2d_preparation import read_registered_steady_2d_job + registered = "experiment_id" in worker + reader = read_registered_steady_2d_job if registered else read_steady_2d_job + loaded = reader(store, run_id, attempt_id=attempt_id) + result["steady_2d"] = {"document": loaded["document"], "array_fingerprints": loaded["array_fingerprints"], + "origin": "registered_http" if registered else "original_process"} + return result + + +def install_results(app: FastAPI, get_store: Callable[[Request], RunStore], *, event_page_size: int, + poll_interval: float, keepalive_interval: float, max_artifact_bytes: int) -> None: + @app.get("/runs/{run_id}") + def run(request: Request, run_id: str) -> JSONResponse: + store = get_store(request) + return JSONResponse(store.get_run(run_id), headers={"X-RunStore-ID": store.store_id}) + + @app.get("/runs/{run_id}/attempts/{attempt_id}") + def attempt(request: Request, run_id: str, attempt_id: str) -> JSONResponse: + store = get_store(request) + return JSONResponse(attempt_record(store, run_id, attempt_id), + headers={"X-RunStore-ID": store.store_id}) + + @app.get("/runs/{run_id}/events") + def events( + request: Request, run_id: str, + after: int = Query(0, ge=0, le=MAX_SEQUENCE), + limit: int = Query(event_page_size, ge=1, le=event_page_size), + ) -> JSONResponse: + store = get_store(request) + store.get_run(run_id) + page = store.events(after=after, limit=limit, run_id=run_id) + return JSONResponse({"store_id": store.store_id, "events": page, + "next_cursor": page[-1]["sequence"] if page else after}, + headers={"X-RunStore-ID": store.store_id}) + + @app.get("/runs/{run_id}/attempts/{attempt_id}/events") + async def stream( + request: Request, run_id: str, attempt_id: str, + after: int = Query(0, ge=0, le=MAX_SEQUENCE), + last_event_id: str | None = Header(None, alias="Last-Event-ID"), + ) -> Response: + store = get_store(request) + await run_in_threadpool(attempt_record, store, run_id, attempt_id) + cursor, terminal_acknowledged = await run_in_threadpool( + replay_cursor, store, run_id, attempt_id, after, last_event_id, + ) + headers = {"Cache-Control": "no-cache", "X-Accel-Buffering": "no", + "X-RunStore-ID": store.store_id} + if terminal_acknowledged: + return Response(status_code=204, headers=headers) + return StreamingResponse( + event_stream(request, store, run_id, attempt_id, after=cursor, + page_size=event_page_size, poll_interval=poll_interval, + keepalive_interval=keepalive_interval), + media_type="text/event-stream", headers=headers, + ) + + @app.get("/artifacts/{artifact_id}") + def artifact(request: Request, artifact_id: str) -> JSONResponse: + store = get_store(request) + record, _ = verified_artifact(store, artifact_id, max_artifact_bytes) + return JSONResponse(record, headers={"X-RunStore-ID": store.store_id}) + + @app.get("/artifacts/{artifact_id}/content") + def content(request: Request, artifact_id: str) -> Response: + store = get_store(request) + record, data = verified_artifact(store, artifact_id, max_artifact_bytes) + return Response(data, media_type="application/octet-stream", + headers={"ETag": f'"{record["sha256"]}"', "X-RunStore-ID": store.store_id}) + + @app.get("/results/{run_id}/attempts/{attempt_id}") + def result(request: Request, run_id: str, attempt_id: str) -> JSONResponse: + store = get_store(request) + return JSONResponse(result_payload(store, run_id, attempt_id, max_artifact_bytes), + headers={"X-RunStore-ID": store.store_id}) diff --git a/src/solarlab_server/routes/schema.py b/src/solarlab_server/routes/schema.py new file mode 100644 index 00000000..efb5a577 --- /dev/null +++ b/src/solarlab_server/routes/schema.py @@ -0,0 +1,21 @@ +"""Generated schemas and their content identities; no admission by schema alone.""" +import hashlib + +from fastapi import APIRouter +from starlette.responses import Response + +from solarlab.experiments.protocol import protocol_schema, working_point_schema +from solarlab.experiments.results import array_schema, result_schema +from solarlab_server.job_service import JobSubmission, canonical +from solarlab_server.schema import router as configuration_schema_router + +router = APIRouter() +router.include_router(configuration_schema_router) + + +@router.get("/schema") +def schemas() -> Response: + data = canonical({"protocol": protocol_schema(), "working_point": working_point_schema(), + "result": result_schema(), "array": array_schema(), "job_submission": JobSubmission.model_json_schema(), + "scope": "schemas_only; Python consistency, capability and execution checks remain required"}) + return Response(data, media_type="application/json", headers={"ETag": '"' + hashlib.sha256(data).hexdigest() + '"'}) diff --git a/src/solarlab_server/schema.py b/src/solarlab_server/schema.py new file mode 100644 index 00000000..53130016 --- /dev/null +++ b/src/solarlab_server/schema.py @@ -0,0 +1,14 @@ +"""Exact prepared metadata delivery; no store or model operations.""" + +from fastapi import APIRouter +from starlette.responses import Response + +from solarlab.config.schema import configuration_schema_representation + +router = APIRouter() + + +@router.get("/configuration-schema") +def configuration_schema() -> Response: + data, digest = configuration_schema_representation() + return Response(data, media_type="application/json", headers={"ETag": f'"{digest}"'}) diff --git a/src/solarlab_server/steady_2d_preparation.py b/src/solarlab_server/steady_2d_preparation.py new file mode 100644 index 00000000..b223b0c9 --- /dev/null +++ b/src/solarlab_server/steady_2d_preparation.py @@ -0,0 +1,293 @@ +"""Explicit uniform 2D steady installation on the shared HTTP job owner.""" +from __future__ import annotations + +from dataclasses import asdict, dataclass, field, replace +import inspect +import json +from pathlib import Path +import re +from typing import TYPE_CHECKING, Annotated, Any, Literal, cast + +from pydantic import BaseModel, ConfigDict, Field, model_validator + +from solarlab.config.identity import BuildSource, ExecutionEngine +from solarlab.device.resolved import PreparedDevice +from solarlab.experiments.two_dimensional.inputs import JV2DInput +from solarlab.experiments.two_dimensional.steady_worker import ( + INITIAL_POLICY, REQUEST_SCHEMA, RESULT_SCHEMA, Steady2DJob, Steady2DProtocol, + prepare_steady_2d_job, run_steady_2d_worker, steady_2d_worker_binding, +) +from solarlab.experiments.two_dimensional.steady_results import read_steady_2d_job +from solarlab.experiments.worker import ResourceLimits, WorkerContext, WorkerRequest, WorkerResult +from solarlab.materials.source import SourceDocument +from solarlab.physics.registry import ModelRegistry, metadata_digest +from solarlab_server.ionic_jv_preparation import _same_fixed_policy +from solarlab_server.steady_preparation import _device_binding, _implementation_binding +from solarlab_server.transient_preparation import _server_runtime + +if TYPE_CHECKING: + from solarlab.io.run_store import RunStore + from solarlab.solvers.nonlinear.steady_2d import Steady2DOptions + from solarlab_server.job_service import ExecutionCatalog + +__all__ = ["Steady2DJobInput", "Steady2DPreparationContext", "steady_2d_execution_catalog", + "prepare_steady_2d_input", "read_registered_steady_2d_job"] +EXPERIMENT_ID = "steady_2d" +SCOPE = "uniform_no_grain_classical_2d_steady" +GEOMETRY = {"lateral_length_m": 1e-6, "Nx": 4, "Ny_per_layer": 4, "lateral_bc": "neumann", + "geometry_policy": "rectangular_half_endpoint_neumann_2d_v1"} +_SERVER_PATHS = ("steady_2d_preparation.py", "steady_preparation.py", "transient_preparation.py", + "ionic_jv_preparation.py", "job_service.py", "registered_worker.py", "app.py", + "routes/jobs.py", "routes/results.py", "events.py") +_NUMERICAL_SOURCES = ("solarlab/device/compile_2d.py", "solarlab/equations/dc_2d.py", + "solarlab/mesh/geometry_2d.py", "solarlab/solvers/nonlinear/steady_2d.py") + + +def _canonical(value: Any) -> bytes: + return json.dumps(value, sort_keys=True, separators=(",", ":"), allow_nan=False).encode() + + +def _options(insufficient_budget: bool = False) -> Steady2DOptions: + from solarlab.solvers.nonlinear.steady_1d import SteadyOptions + from solarlab.solvers.nonlinear.steady_2d import Steady2DOptions + controls = SteadyOptions() + if insufficient_budget: + controls = replace(controls, max_iterations=1, max_residual_evaluations=1, max_jacobian_evaluations=1) + return Steady2DOptions(controls, 30.) + + +def _controls(insufficient_budget: bool = False) -> dict[str, Any]: + from solarlab.solvers.nonlinear.steady_1d import SteadyOptions + return {"auxiliary_1d": asdict(SteadyOptions()), "full_2d": asdict(_options(insufficient_budget))} + + +def _policy() -> dict[str, Any]: + return {"spatial": dict(GEOMETRY), "voltage_V": .002, "generation_scales": [[0.], [1.], [0., 1.]], + "controls": _controls(), "insufficient_budget_controls": _controls(True), "initial": INITIAL_POLICY, + "scope": SCOPE, "shape_Ny_Nx": [13, 5], "numerical_coordinates": 195, + "auxiliary_seed_is_2d_completion": False, "scientific_qualification": False} + + +def _control_schema(schema: dict[str, Any]) -> None: + schema["anyOf"] = [{"const": _controls()}, {"const": _controls(True)}] + + +class _SpatialInput(BaseModel): + model_config = ConfigDict(extra="forbid", strict=True, allow_inf_nan=False) + lateral_length_m: float = Field(ge=1e-6, le=1e-6) + Nx: int = Field(ge=4, le=4) + Ny_per_layer: int = Field(ge=4, le=4) + lateral_bc: Literal["neumann"] + geometry_policy: Literal["rectangular_half_endpoint_neumann_2d_v1"] + + def declaration(self) -> JV2DInput: + return JV2DInput(kind="jv_2d", lateral_length=f"{self.lateral_length_m} m", Nx=self.Nx, + Ny_per_layer=self.Ny_per_layer, lateral_bc=self.lateral_bc) + + +class Steady2DJobInput(BaseModel): + """Installed data IDs and full explicit fixed controls, with no file/code inputs.""" + model_config = ConfigDict(extra="forbid", strict=True, allow_inf_nan=False) + device_id: str = Field(pattern=r"^[A-Za-z0-9_][A-Za-z0-9_.:-]{0,127}$") + voltage_V: float = Field(ge=.002, le=.002) + generation_scales: list[Annotated[float, Field(ge=0, le=1)]] = Field( + min_length=1, max_length=2, json_schema_extra={"enum": [[0.], [1.], [0., 1.]]}) + spatial: _SpatialInput + controls: dict[str, Any] = Field(json_schema_extra=_control_schema) + initial: dict[str, Any] = Field(json_schema_extra={"const": INITIAL_POLICY}) + + @model_validator(mode="after") + def fixed_scope(self) -> Steady2DJobInput: + Steady2DProtocol(self.voltage_V, tuple(self.generation_scales)) + if (not _same_fixed_policy(self.initial, INITIAL_POLICY) + or not any(_same_fixed_policy(self.controls, _controls(failure)) for failure in (False, True))): + raise ValueError("2D steady v1 requires the full unchanged initial recipe and default or explicit one-count controls") + return self + + def options(self) -> Steady2DOptions: + return _options(_same_fixed_policy(self.controls, _controls(True))) + + +def _server_documents() -> tuple[SourceDocument, ...]: + root = Path(__file__).resolve().parent + return tuple(SourceDocument("solarlab_server/" + name, (root / name).read_bytes()) for name in _SERVER_PATHS) + + +def _server_bindings() -> list[dict[str, str]]: + return [{"id": source.id, "sha256": source.sha256} for source in _server_documents()] + + +@dataclass(frozen=True, slots=True) +class Steady2DPreparationContext: + devices: tuple[tuple[str, PreparedDevice], ...] + implementation: BuildSource + current_repository_head: str + models: ModelRegistry = field(init=False) + server_sources: tuple[SourceDocument, ...] = field(init=False) + + def __post_init__(self) -> None: + devices = tuple(tuple(item) for item in self.devices) + if (not devices or any(len(item) != 2 or type(item[0]) is not str + or re.fullmatch(r"[A-Za-z0-9_][A-Za-z0-9_.:-]{0,127}", item[0]) is None + or type(item[1]) is not PreparedDevice for item in devices) + or len({item[0] for item in devices}) != len(devices) + or len({cast(PreparedDevice, item[1]).content_sha256 for item in devices}) != len(devices)): + raise ValueError("2D installation requires unique IDs and distinct actual prepared devices") + if (type(self.implementation) is not BuildSource or type(self.current_repository_head) is not str + or re.fullmatch(r"[0-9a-f]{40}|[0-9a-f]{64}", self.current_repository_head) is None): + raise ValueError("2D installation requires immutable build sources and an explicit maintenance context") + object.__setattr__(self, "devices", tuple(sorted(devices, key=lambda item: item[0]))) + models = [] + for _, prepared in self.devices: + # Public preparation checks the actual no-grain scope and sources; + # it creates neither a compiled device nor a numerical solve. + job = prepare_steady_2d_job(prepared, _SpatialInput.model_validate(GEOMETRY).declaration(), + Steady2DProtocol(.002, (0., 1.)), options=_options(), implementation=self.implementation, + current_repository_head=self.current_repository_head, engine=ExecutionEngine("solarlab")) + models.append(job.execution.inputs.registry) + if len({model.content_sha256 for model in models}) != 1: + raise ValueError("2D devices must share this installed physical model registry") + object.__setattr__(self, "models", models[0]) + object.__setattr__(self, "server_sources", _server_documents()) + + def device(self, id: str) -> PreparedDevice: + for key, prepared in self.devices: + if key == id: + return prepared + raise ValueError("device is not installed in the trusted2D catalog") + + def verify_sources(self) -> None: + if self.server_sources != _server_documents(): + raise ValueError("2D server source changed after installation") + + def export(self) -> dict[str, Any]: + self.verify_sources() + return {"devices": [_device_binding(id, p) for id, p in self.devices], + "implementation": _implementation_binding(self.implementation), "current_repository_head": self.current_repository_head, + "server_sources": [{"id": s.id, "sha256": s.sha256} for s in self.server_sources], + "server_runtime": _server_runtime(), "fixed_numerical_policy": _policy(), + "request_transport": "unchanged_core_request_with_explicit_installed_catalog", + "historical_process_readback": "original_process_identity_without_relabelling"} + + +def prepare_steady_2d_input(input: Steady2DJobInput, context: Steady2DPreparationContext) -> Steady2DJob: + context.verify_sources() + return prepare_steady_2d_job(context.device(input.device_id), input.spatial.declaration(), + Steady2DProtocol(input.voltage_V, tuple(input.generation_scales)), options=input.options(), + implementation=context.implementation, current_repository_head=context.current_repository_head, + engine=ExecutionEngine("solarlab")) + + +def steady_2d_execution_catalog(context: Steady2DPreparationContext, *, ceiling: ResourceLimits) -> ExecutionCatalog: + from solarlab.experiments.registry import ExperimentDefinition, ExperimentRegistry + from solarlab.experiments.two_dimensional.steady_results import steady_2d_payload + from solarlab.physics.registry import CapabilityRule, EvidenceRef + from solarlab_server.job_service import ExecutionCatalog, Steady2DRegistration + from solarlab_server.registered_worker import run_steady_2d + if type(context) is not Steady2DPreparationContext or ceiling.wall_seconds > 30: + raise ValueError("explicit2D installation and <=30s job ceiling required") + context.verify_sources() + documents = {s.id: s for s in context.server_sources} + + def reference(id: str, function: Any) -> EvidenceRef: + source = SourceDocument(id, Path(inspect.getfile(function)).read_bytes()) + documents[id] = source + return EvidenceRef(id + "#" + function.__name__, source.sha256, "source") + + schema = SourceDocument("solarlab.steady-2d-job-input.schema.v1", _canonical(Steady2DJobInput.model_json_schema())) + documents[schema.id] = schema + factory = reference("solarlab_server/steady_2d_preparation.py", prepare_steady_2d_input) + payload = reference("solarlab/experiments/two_dimensional/steady_results.py", steady_2d_payload) + executor = reference("solarlab_server/registered_worker.py", run_steady_2d) + reader = reference("solarlab_server/steady_2d_preparation.py", read_registered_steady_2d_job) + documents.update({s.id: s for s in context.implementation.files if s.id in _NUMERICAL_SOURCES}) + definition = ExperimentDefinition(EXPERIMENT_ID, 1, "Uniform no-grain full2D steady", + EvidenceRef(schema.id, schema.sha256, "source"), payload, factory, executor, "steady_2d_arrays", reader, + CapabilityRule("installed_uniform_2d_steady", (2,), ("dc",), (factory,), backends=(EXPERIMENT_ID,), + statistics=("maxwell_boltzmann",)), tuple(m.ref for m in context.models.definitions)) + registry = ExperimentRegistry((definition,)) + return ExecutionCatalog(registry, context.models, tuple(documents.values()), + (Steady2DRegistration(EXPERIMENT_ID, 1, context),), registry.content_sha256, context.models.content_sha256, ceiling) + + +def _registration(request: WorkerRequest) -> tuple[dict[str, Any], dict[str, Any]]: + body, catalog = json.loads(request.request.content), json.loads(request.registry.content) + entries = [e for e in catalog.get("bindings", ()) if e.get("driver") == EXPERIMENT_ID] + if (request.registry.id != "solarlab.execution-catalog.v1" or request.schema.id != "solarlab.job-submission.schema.v1" + or catalog.get("schema") != "solarlab.execution-catalog.v1" or catalog.get("job_schema_sha256") != request.schema.sha256 + or body.get("schema") != REQUEST_SCHEMA.id or body.get("engine") != "solarlab" or len(entries) != 1 + or entries[0].get("experiment_id") != EXPERIMENT_ID or entries[0].get("version") != 1 + or entries[0].get("engine") != "solarlab" or entries[0].get("scope") != SCOPE + or entries[0].get("result_schema") != RESULT_SCHEMA): + raise ValueError("2D HTTP request/catalog/schema differs from the installed route") + return entries[0], body + + +def execute_registered_steady_2d(request: WorkerRequest, context: WorkerContext) -> WorkerResult: + context.check_cancel() + entry, body = _registration(request) + if (entry["worker_source_sha256"] != steady_2d_worker_binding().source_sha256 + or entry["input_schema"] != Steady2DJobInput.model_json_schema()): + raise ValueError("2D worker/schema source differs from the installed registration") + binding = context.consume_manifest(request, engine="solarlab") + prepared = binding.inputs.prepared + installation = entry["preparation_context"] + selected = [p for p in installation["devices"] if p["prepared_sha256"] == prepared.content_sha256] + if len(selected) != 1: + raise ValueError("2D request requires exactly one installed prepared identity") + device_id = selected[0]["device_id"] + if (selected != [_device_binding(device_id, prepared)] + or entry["model_registry_sha256"] != binding.inputs.registry.content_sha256 + or binding.inputs.selection.context.dimension != 2 + or installation["implementation"] != _implementation_binding(binding.execution.implementation) + or installation["current_repository_head"] != binding.execution.current_repository_head + or installation["server_sources"] != _server_bindings() or installation["server_runtime"] != _server_runtime() + or installation["fixed_numerical_policy"] != _policy()): + raise ValueError("2D device/geometry/model/source/runtime differs from the consumed manifest") + declared = Steady2DJobInput.model_validate({"device_id": device_id, **body["protocol"], + "spatial": installation["fixed_numerical_policy"]["spatial"], "controls": body["controls"], "initial": body["initial"]}) + if body["spatial"] != declared.spatial.declaration().editing_data(): + raise ValueError("2D core geometry differs from the explicit installed geometry") + output = run_steady_2d_worker(request, context) + return WorkerResult.from_dict({**json.loads(output.result_json), "experiment_id": EXPERIMENT_ID, "experiment_version": 1, + "registered_device_id": device_id, "execution_catalog_sha256": request.registry.sha256, + "registered_input_schema_sha256": metadata_digest(entry["input_schema"]), + "registered_model_registry_sha256": entry["model_registry_sha256"], + "registered_numerical_policy": installation["fixed_numerical_policy"], + "registered_spatial_declaration": declared.spatial.model_dump(), + "server_sources": installation["server_sources"], "server_runtime": installation["server_runtime"], + "http_request_sha256": request.request.sha256}, artifacts=output.artifacts, state=output.state) + + +def read_registered_steady_2d_job(store: RunStore, run_id: str, *, attempt_id: str | None = None) -> dict[str, Any]: + """Check actual saved HTTP transport, then read its unchanged core result.""" + request = WorkerRequest.from_bytes(_canonical(store.get_run(run_id)["request"]["input_metadata"]["transport"])) + entry, body = _registration(request) + loaded = read_steady_2d_job(store, run_id, attempt_id=attempt_id) + result, installation = loaded["worker_result"], entry["preparation_context"] + manifest = loaded["manifest"] + bound = manifest["document"]["execution_identity"]["payload"] + implementation = {"build_source_commit": bound["implementation"]["build_source_commit"], + "source_manifest_sha256": metadata_digest([{"id": s["id"], "sha256": s["sha256"]} + for s in manifest["document"]["implementation_content"]])} + selected = [p for p in installation["devices"] if p["prepared_sha256"] == loaded["document"]["prepared_sha256"]] + policy = installation["fixed_numerical_policy"] + if (result["schema"] != RESULT_SCHEMA or result["experiment_id"] != EXPERIMENT_ID or result["experiment_version"] != 1 + or len(selected) != 1 or result["registered_device_id"] != selected[0]["device_id"] + or result["execution_catalog_sha256"] != request.registry.sha256 + or result["registered_input_schema_sha256"] != metadata_digest(entry["input_schema"]) + or result["registered_model_registry_sha256"] != entry["model_registry_sha256"] + or entry["model_registry_sha256"] != bound["effective_binding"]["registry_sha256"] + or installation["implementation"] != implementation + or installation["current_repository_head"] != manifest["current_repository_head"] + or result["registered_numerical_policy"] != policy or result["server_sources"] != installation["server_sources"] + or result["server_runtime"] != installation["server_runtime"] + or result["registered_spatial_declaration"] != policy["spatial"] + or result["http_request_sha256"] != request.request.sha256 + or result["capture"]["request_sha256"] != request.request.sha256 + or body["protocol"]["voltage_V"] != policy["voltage_V"] + or body["protocol"]["generation_scales"] not in policy["generation_scales"] + or body["controls"] not in (policy["controls"], policy["insufficient_budget_controls"]) + or body["initial"] != policy["initial"]): + raise ValueError("stored2D HTTP/catalog/request bindings differ") + return loaded diff --git a/src/solarlab_server/steady_preparation.py b/src/solarlab_server/steady_preparation.py new file mode 100644 index 00000000..1539c1b6 --- /dev/null +++ b/src/solarlab_server/steady_preparation.py @@ -0,0 +1,151 @@ +"""Trusted installation data for the single classical 1D steady HTTP adapter. + +Only a registered device ID and a bounded numerical protocol cross HTTP. The +application supplies prepared devices, their defaults/resources and actual +build sources. Installation does not discover files or run a numerical model. +""" +from __future__ import annotations + +from dataclasses import dataclass, field +import inspect +from pathlib import Path +import re +from typing import Any, TYPE_CHECKING + +from pydantic import BaseModel, ConfigDict, Field, model_validator + +from solarlab.config.identity import BuildSource, ExecutionEngine +from solarlab.device.resolved import PreparedDevice +from solarlab.experiments.jv.worker import ( + SteadyJVJob, SteadyJVProtocol, prepare_steady_jv_job, + steady_jv_identity_inputs, validate_steady_jv_scope, +) +from solarlab.experiments.worker import ResourceLimits +from solarlab.materials.source import SourceDocument +from solarlab.physics.registry import ModelRegistry, metadata_digest + +if TYPE_CHECKING: + from solarlab_server.job_service import ExecutionCatalog + +__all__ = ["SteadyJobInput", "SteadyPreparationContext", "steady_execution_catalog"] + + +class SteadyJobInput(BaseModel): + """All protocol fields are explicit; no caller-selected code or source.""" + + model_config = ConfigDict(extra="forbid", strict=True, allow_inf_nan=False) + device_id: str = Field(pattern=r"^[A-Za-z0-9_][A-Za-z0-9_.:-]{0,127}$") + voltage_V: list[float] = Field(min_length=2, max_length=101) + intervals_per_layer: int = Field(ge=2, le=256) + generation_scale: float = Field(ge=0) + incident_power_W_m2: float | None = Field(gt=0) + + @model_validator(mode="after") + def check_protocol(self) -> SteadyJobInput: + self.protocol() + return self + + def protocol(self) -> SteadyJVProtocol: + return SteadyJVProtocol(tuple(self.voltage_V), self.intervals_per_layer, + self.generation_scale, self.incident_power_W_m2) + + +def _device_binding(id: str, prepared: PreparedDevice) -> dict[str, Any]: + return {"device_id": id, "prepared_sha256": prepared.content_sha256, + "defaults_sha256": prepared.defaults.content_sha256, + "resources_sha256": prepared.resources.content_sha256, + "sources": [{"id": source.id, "sha256": source.sha256} for source in prepared.sources]} + + +def _implementation_binding(implementation: BuildSource) -> dict[str, str]: + return {"build_source_commit": implementation.build_source_commit, + "source_manifest_sha256": metadata_digest( + [{"id": source.id, "sha256": source.sha256} for source in implementation.files])} + + +@dataclass(frozen=True, slots=True) +class SteadyPreparationContext: + devices: tuple[tuple[str, PreparedDevice], ...] + implementation: BuildSource + current_repository_head: str + models: ModelRegistry = field(init=False) + + def __post_init__(self) -> None: + devices = tuple(tuple(item) for item in self.devices) + if (not devices or any(len(item) != 2 or type(item[0]) is not str + or re.fullmatch(r"[A-Za-z0-9_][A-Za-z0-9_.:-]{0,127}", item[0]) is None + or type(item[1]) is not PreparedDevice for item in devices) + or len({item[0] for item in devices}) != len(devices)): + raise ValueError("steady installation requires unique registered IDs and actual PreparedDevice data") + if type(self.implementation) is not BuildSource: + raise ValueError("steady installation requires actual trusted build sources") + if (type(self.current_repository_head) is not str + or re.fullmatch(r"[0-9a-f]{40}|[0-9a-f]{64}", self.current_repository_head) is None): + raise ValueError("maintenance HEAD must be supplied independently of build-source identity") + object.__setattr__(self, "devices", tuple(sorted(devices, key=lambda item: item[0]))) + # Reuse the worker's static scope and model binding. These helpers do + # not compile operators or call a solver; do not duplicate their policy. + for _, prepared in self.devices: + validate_steady_jv_scope(prepared) + object.__setattr__(self, "models", steady_jv_identity_inputs(self.devices[0][1], self.implementation).registry) + + def device(self, id: str) -> PreparedDevice: + for key, prepared in self.devices: + if key == id: + return prepared + raise ValueError("device is not installed in this trusted steady registration") + + def export(self) -> dict[str, Any]: + return {"devices": [_device_binding(id, prepared) for id, prepared in self.devices], + "implementation": _implementation_binding(self.implementation), + "current_repository_head": self.current_repository_head} + + +def prepare_steady_input(input: SteadyJobInput, context: SteadyPreparationContext) -> SteadyJVJob: + """Prepare the existing cold worker; all trusted records stay server-owned.""" + return prepare_steady_jv_job(context.device(input.device_id), input.protocol(), + implementation=context.implementation, current_repository_head=context.current_repository_head, + engine=ExecutionEngine("solarlab")) + + +def steady_execution_catalog(context: SteadyPreparationContext, *, ceiling: ResourceLimits) -> ExecutionCatalog: + """Explicitly install the one supported steady adapter with actual sources. + + The renderer reference is the existing array reader, not a claim that a + frontend has been installed. Global declaration/qualification flags stay + unchanged. A caller may combine this registration with explicit legacy + registrations; each retains its own model-registry binding. + """ + from solarlab.experiments.jv.steady import steady_jv_payload + from solarlab.experiments.jv.worker import read_steady_jv_job + from solarlab.experiments.registry import ExperimentDefinition, ExperimentRegistry + from solarlab.physics.registry import CapabilityRule, EvidenceRef + from solarlab_server.job_service import ExecutionCatalog, SteadyRegistration, canonical + from solarlab_server.registered_worker import run_steady + + if type(context) is not SteadyPreparationContext: + raise ValueError("an explicit trusted steady preparation context is required") + documents: dict[str, SourceDocument] = {} + + def reference(id: str, function: Any) -> EvidenceRef: + source = SourceDocument(id, Path(inspect.getfile(function)).read_bytes()) + documents[id] = source + return EvidenceRef(id + "#" + function.__name__, source.sha256, "source") + + schema = SourceDocument("solarlab.steady-job-input.schema.v1", canonical(SteadyJobInput.model_json_schema())) + documents[schema.id] = schema + factory = reference("solarlab_server/steady_preparation.py", prepare_steady_input) + result = reference("solarlab/experiments/jv/steady.py", steady_jv_payload) + executor = reference("solarlab_server/registered_worker.py", run_steady) + reader = reference("solarlab/experiments/jv/worker.py", read_steady_jv_job) + compiler = next(source for source in context.implementation.files if source.id == "solarlab/device/compile_1d.py") + documents[compiler.id] = compiler + definition = ExperimentDefinition("steady_jv", 1, "Classical ion-free 1D steady J-V", + EvidenceRef(schema.id, schema.sha256, "source"), result, factory, executor, + "steady_jv_arrays", reader, CapabilityRule("installed_classical_1d_dc", (1,), ("dc",), (factory,), + backends=("steady_jv_worker",), statistics=("maxwell_boltzmann",)), + tuple(model.ref for model in context.models.definitions)) + registry = ExperimentRegistry((definition,)) + return ExecutionCatalog(registry, context.models, tuple(documents.values()), + (SteadyRegistration("steady_jv", 1, context),), registry.content_sha256, + context.models.content_sha256, ceiling) diff --git a/src/solarlab_server/transient_preparation.py b/src/solarlab_server/transient_preparation.py new file mode 100644 index 00000000..6bcd6332 --- /dev/null +++ b/src/solarlab_server/transient_preparation.py @@ -0,0 +1,193 @@ +"""Trusted, bounded ion-free transient installation on the existing job service.""" +from __future__ import annotations + +from dataclasses import asdict, dataclass, field +import importlib.metadata +import inspect +from pathlib import Path +import re +from typing import Annotated, Any, TYPE_CHECKING + +from pydantic import BaseModel, ConfigDict, Field, model_validator + +from solarlab.config.identity import BuildSource, ExecutionEngine +from solarlab.device.resolved import PreparedDevice +from solarlab.experiments.jv.worker import validate_steady_jv_scope +from solarlab.experiments.transient_worker import TransientJob, prepare_transient_job, transient_identity_inputs +from solarlab.experiments.worker import ResourceLimits +from solarlab.materials.source import SourceDocument +from solarlab.physics.registry import ModelRegistry +from solarlab_server.steady_preparation import _device_binding, _implementation_binding + +if TYPE_CHECKING: + from solarlab.experiments.transient import TransientOptions, TransientProtocol + from solarlab_server.job_service import ExecutionCatalog + +__all__ = ["TransientJobInput", "TransientPreparationContext", "transient_execution_catalog"] + +_SERVER_PATHS = ("transient_preparation.py", "steady_preparation.py", "job_service.py", "registered_worker.py", + "app.py", "routes/jobs.py", "routes/results.py", "events.py") + + +class _NewtonBudgetInput(BaseModel): + model_config = ConfigDict(extra="forbid", strict=True) + max_iterations: int = Field(ge=1, le=50) + max_residual_evaluations: int = Field(ge=1, le=1000) + max_jacobian_evaluations: int = Field(ge=1, le=50) + max_backtracks: int = Field(ge=0, le=24) + + +class _TimeControls(BaseModel): + model_config = ConfigDict(extra="forbid", strict=True, allow_inf_nan=False) + newton_budget: _NewtonBudgetInput + max_steps: int = Field(ge=1, le=32) + wall_s: float = Field(gt=0, le=30) + + +def _numerical_policy() -> dict[str, Any]: + from solarlab.solvers.nonlinear.production import POISSON_CONTACT_BALANCE_V1 + from solarlab.solvers.nonlinear.steady_1d import SteadyOptions + + return {"transient": {"poisson_tolerance": 1e-11, "continuity_tolerance_A_m2": 1e-8, + "contact_log_tolerance": 1e-11, "potential_step_V": .1, "quasi_fermi_step": 2., + "predictor": "previous", "convergence_policy": POISSON_CONTACT_BALANCE_V1}, + "initial_dc": asdict(SteadyOptions())} + + +class TransientJobInput(BaseModel): + """Explicit driving samples and work budgets; scientific gates are server policy.""" + + model_config = ConfigDict(extra="forbid", strict=True, allow_inf_nan=False) + device_id: str = Field(pattern=r"^[A-Za-z0-9_][A-Za-z0-9_.:-]{0,127}$") + times_s: list[Annotated[float, Field(ge=0, le=1)]] = Field(min_length=2, max_length=33) + voltage_V: list[Annotated[float, Field(ge=-2, le=2)]] = Field(min_length=2, max_length=33) + generation_scale: list[Annotated[float, Field(ge=0, le=10)]] = Field(min_length=2, max_length=33) + intervals_per_layer: int = Field(ge=2, le=256) + controls: _TimeControls + + @model_validator(mode="after") + def check_protocol(self) -> TransientJobInput: + self.protocol() + if len(self.times_s) - 1 > self.controls.max_steps: + raise ValueError("explicit samples exceed the requested max_steps budget") + return self + + def protocol(self) -> TransientProtocol: + import numpy as np + from solarlab.experiments.transient import TransientProtocol + return TransientProtocol(np.asarray(self.times_s), np.asarray(self.voltage_V), np.asarray(self.generation_scale)) + + def options(self) -> TransientOptions: + from solarlab.experiments.transient import TransientOptions + from solarlab.solvers.nonlinear.problem import SolveBudget + return TransientOptions(**_numerical_policy()["transient"], + newton_budget=SolveBudget(**self.controls.newton_budget.model_dump()), + max_steps=self.controls.max_steps, wall_s=self.controls.wall_s) + + +def _server_documents() -> tuple[SourceDocument, ...]: + root = Path(__file__).resolve().parent + return tuple(SourceDocument("solarlab_server/" + name, (root / name).read_bytes()) for name in _SERVER_PATHS) + + +def _server_bindings() -> list[dict[str, str]]: + return [{"id": source.id, "sha256": source.sha256} for source in _server_documents()] + + +def _server_runtime() -> dict[str, str]: + return {name: importlib.metadata.version(name) for name in ("fastapi", "starlette", "uvicorn", "pydantic")} + + +@dataclass(frozen=True, slots=True) +class TransientPreparationContext: + devices: tuple[tuple[str, PreparedDevice], ...] + implementation: BuildSource + current_repository_head: str + models: ModelRegistry = field(init=False) + server_sources: tuple[SourceDocument, ...] = field(init=False) + + def __post_init__(self) -> None: + devices = tuple(tuple(item) for item in self.devices) + if (not devices or any(len(item) != 2 or type(item[0]) is not str + or re.fullmatch(r"[A-Za-z0-9_][A-Za-z0-9_.:-]{0,127}", item[0]) is None + or type(item[1]) is not PreparedDevice for item in devices) + or len({item[0] for item in devices}) != len(devices)): + raise ValueError("transient installation requires unique registered IDs and actual PreparedDevice data") + if type(self.implementation) is not BuildSource: + raise ValueError("transient installation requires actual trusted build sources") + if (type(self.current_repository_head) is not str + or re.fullmatch(r"[0-9a-f]{40}|[0-9a-f]{64}", self.current_repository_head) is None): + raise ValueError("maintenance HEAD must be supplied independently of build-source identity") + object.__setattr__(self, "devices", tuple(sorted(devices, key=lambda item: item[0]))) + for _, prepared in self.devices: + validate_steady_jv_scope(prepared) + object.__setattr__(self, "models", transient_identity_inputs(self.devices[0][1], self.implementation).registry) + object.__setattr__(self, "server_sources", _server_documents()) + + def verify_sources(self) -> None: + if self.server_sources != _server_documents(): + raise ValueError("active transient server sources changed after trusted installation") + + def device(self, id: str) -> PreparedDevice: + for key, prepared in self.devices: + if key == id: + return prepared + raise ValueError("device is not installed in this trusted transient registration") + + def export(self) -> dict[str, Any]: + self.verify_sources() + return {"devices": [_device_binding(id, prepared) for id, prepared in self.devices], + "implementation": _implementation_binding(self.implementation), + "current_repository_head": self.current_repository_head, + "server_sources": [{"id": s.id, "sha256": s.sha256} for s in self.server_sources], + "server_runtime": _server_runtime(), "fixed_numerical_policy": _numerical_policy()} + + +def prepare_transient_input(input: TransientJobInput, context: TransientPreparationContext) -> TransientJob: + from solarlab.solvers.nonlinear.steady_1d import SteadyOptions + + context.verify_sources() + return prepare_transient_job(context.device(input.device_id), input.protocol(), + intervals_per_layer=input.intervals_per_layer, options=input.options(), initial_options=SteadyOptions(), + implementation=context.implementation, current_repository_head=context.current_repository_head, + engine=ExecutionEngine("solarlab")) + + +def transient_execution_catalog(context: TransientPreparationContext, *, ceiling: ResourceLimits) -> ExecutionCatalog: + """Install this one source-checked adapter; no declaration grants broad execution.""" + from solarlab.experiments.registry import ExperimentDefinition, ExperimentRegistry + from solarlab.experiments.transient_results import transient_result_payload + from solarlab.experiments.transient_worker import read_transient_job + from solarlab.physics.registry import CapabilityRule, EvidenceRef + from solarlab_server.job_service import ExecutionCatalog, TransientRegistration, canonical + from solarlab_server.registered_worker import run_transient + + if type(context) is not TransientPreparationContext: + raise ValueError("an explicit trusted transient preparation context is required") + context.verify_sources() + documents = {source.id: source for source in context.server_sources} + + def reference(id: str, function: Any) -> EvidenceRef: + source = SourceDocument(id, Path(inspect.getfile(function)).read_bytes()) + documents[id] = source + return EvidenceRef(id + "#" + function.__name__, source.sha256, "source") + + schema = SourceDocument("solarlab.transient-job-input.schema.v1", canonical(TransientJobInput.model_json_schema())) + documents[schema.id] = schema + factory = reference("solarlab_server/transient_preparation.py", prepare_transient_input) + result = reference("solarlab/experiments/transient_results.py", transient_result_payload) + executor = reference("solarlab_server/registered_worker.py", run_transient) + reader = reference("solarlab/experiments/transient_worker.py", read_transient_job) + for source in context.implementation.files: + if source.id in {"solarlab/device/compile_1d.py", "solarlab/equations/dc_1d.py", "solarlab/solvers/time/backward_euler.py"}: + documents[source.id] = source + definition = ExperimentDefinition("transient_1d", 1, "Classical ion-free 1D transient", + EvidenceRef(schema.id, schema.sha256, "source"), result, factory, executor, + "transient_history_arrays", reader, + CapabilityRule("installed_classical_1d_transient", (1,), ("transient",), (factory,), + backends=("transient_1d",), statistics=("maxwell_boltzmann",)), + tuple(model.ref for model in context.models.definitions)) + registry = ExperimentRegistry((definition,)) + return ExecutionCatalog(registry, context.models, tuple(documents.values()), + (TransientRegistration("transient_1d", 1, context),), registry.content_sha256, + context.models.content_sha256, ceiling) diff --git a/tests/ci/__init__.py b/tests/ci/__init__.py new file mode 100644 index 00000000..eee942b5 --- /dev/null +++ b/tests/ci/__init__.py @@ -0,0 +1 @@ +"""Checks for the root suite's CI discovery and prerequisites.""" diff --git a/tests/ci/exclusions.json b/tests/ci/exclusions.json new file mode 100644 index 00000000..2977fd52 --- /dev/null +++ b/tests/ci/exclusions.json @@ -0,0 +1,130 @@ +{ + "schema": "solarlab.ci-test-exclusions.v1", + "files": {}, + "conditional_tests": { + "tests/numerical_contracts/test_coupled_device.py": "Collected by core; skips explicitly if REAL_DEVICE_PLAN with source-bound readiness gates is absent. No archive or physical campaign is invented in CI.", + "tests/independent/p04/test_p04_legacy_golden.py::test_legacy_reproduces_golden_bitwise": "Bitwise reference was captured on macOS/Accelerate; Linux still runs live legacy parity and independent analytic tests.", + "tests/independent/p04/test_p04_legacy_golden.py::test_candidate_against_golden": "Bitwise macOS/Accelerate capture; no threshold is relaxed on Linux.", + "tests/refactor/test_reference_map.py::ComparisonScopeTests::test_actual_scope_links_and_protected_payloads": "Needs the source-bound archive; when present OI-RefMapPin remains a strict xfail for MapError, never a passing reference check.", + "tests/integration/test_multiple_ionic_transient_1d.py::test_actual_four_step_history_and_reuse_saved_reader": "Requires explicit PYTEST_MULTIPLE_TRANSIENT_INITIAL with exact current model/source/control identity; the historical absolute path is not a portable initial.", + "tests/refactor/test_factor_cache.py::TestFactorPolicyWiring::test_bridge_preserves_failure_history_and_factor_counters": "Archive-dependent factor policy witness; collected by packages and skipped only when the source-bound SOLARLAB_ARCHIVE root is absent.", + "tests/refactor/test_factor_cache.py::TestFactorPolicyWiring::test_plan_default_stays_absent_and_optin_is_identity_bound": "Archive-dependent factor policy input; collected by packages and skipped only when the source-bound SOLARLAB_ARCHIVE root is absent.", + "tests/refactor/test_hysteresis_reference.py::TestSourcesAndInput::test_exact_archived_requests_distinguish_D0_and_c0": "Archive-dependent original request bytes; collected by packages and skipped only when the source-bound SOLARLAB_ARCHIVE root is absent.", + "tests/refactor/test_hysteresis_reference.py::TestSourcesAndInput::test_nominal_saved_request_is_bound": "Archive-dependent nominal request bytes; collected by packages and skipped only when the source-bound SOLARLAB_ARCHIVE root is absent.", + "tests/refactor/test_hysteresis_reference.py::TestPrebiasFirstStepPolicy::test_default_plan_omits_policy_and_request_stays_exact": "Archive-dependent prebias policy input; collected by packages and skipped only when the source-bound SOLARLAB_ARCHIVE root is absent.", + "tests/unit/assembly_parity/test_frozen_baselines.py::test_frozen_factory": "Bitwise words and CSR patterns require the recorded platform system/machine, Python/NumPy/SciPy versions and each library BLAS/LAPACK vendor; mismatches skip with named fields. The live old-vs-new assembly/parity tests remain collected and run on every platform.", + "tests/independent/p04/test_p04_legacy_golden.py::test_fixture_identity_and_sources": "Portable metadata or quoted-value check of the existing platform-bound golden; no cross-platform bitwise output equivalence is inferred.", + "tests/independent/p04/test_p04_legacy_golden.py::test_quoted_existing_values_are_reproduced": "Portable metadata or quoted-value check of the existing platform-bound golden; no cross-platform bitwise output equivalence is inferred.", + "tests/unit/assembly/test_assembly_ionic_1d.py::test_assembled_captures_match_the_frozen_digests": "Captured floating words/patterns require frozen_digests, which reuses the existing require_capture_environment guard; separate live old-vs-new comparisons remain unconditional on every platform.", + "tests/unit/assembly/test_assembly_small_signal.py::test_harness_ac_captures_match_the_frozen_digests": "Captured floating words/patterns require frozen_digests, which reuses the existing require_capture_environment guard; separate live old-vs-new comparisons remain unconditional on every platform.", + "tests/unit/assembly/test_assembly_steady_2d.py::test_actual_195_row_steady_histories_are_bitwise": "Reads exact archived input coordinates with portable byte-integrity checks; current physical gates and live old-vs-new Newton histories remain unconditional on every platform. Platform-dependent decoded field digests are checked in the separate capture-guarded test.", + "tests/unit/assembly/test_assembly_steady_2d.py::test_archived_seed_fields_match_frozen_digests": "Captured floating words/patterns require frozen_digests, which reuses the existing require_capture_environment guard; separate live old-vs-new comparisons remain unconditional on every platform.", + "tests/unit/assembly/test_assembly_two_dimensional.py::test_all_twenty_states_match_frozen_original_arrays": "Captured floating words/patterns require frozen_digests, which reuses the existing require_capture_environment guard; separate live old-vs-new comparisons remain unconditional on every platform.", + "tests/unit/assembly_parity/test_frozen_baselines.py::test_foreign_environment_skips_before_factory_evaluation": "Portable frozen-fixture schema or guard regression: checks recorded metadata and skip/refusal behavior, not local floating outputs against foreign captures, and must run on every platform.", + "tests/unit/assembly_parity/test_frozen_baselines.py::test_frozen_inventory": "Portable frozen-fixture schema or guard regression: checks recorded metadata and skip/refusal behavior, not local floating outputs against foreign captures, and must run on every platform.", + "tests/unit/assembly_parity/test_frozen_baselines.py::test_matching_environment_keeps_a_frozen_word_failure_visible": "Portable frozen-fixture schema or guard regression: checks recorded metadata and skip/refusal behavior, not local floating outputs against foreign captures, and must run on every platform.", + "tests/unit/assembly_parity/test_frozen_baselines.py::test_unobserved_vendor_is_an_explicit_skip": "Portable frozen-fixture schema or guard regression: checks recorded metadata and skip/refusal behavior, not local floating outputs against foreign captures, and must run on every platform.", + "tests/unit/solvers/time/test_assembled_ionic_steps.py::test_all_32_probes_match_frozen_step_and_storage_arrays": "Only the stored BE step/storage digests require the shared require_capture_environment guard. The separate test_all_32_probes_match_live_step_and_storage_arrays has no capture fixture or skip and compares all 32 live probes on every platform.", + "tests/integration/test_bdf_publication.py::test_saved_readiness_packets_keep_original_words_and_identity": "Reads exact captured ReadinessV1/V2 BDF words and checks stored integrity only; no locally regenerated floating output is compared, so readback runs on every platform.", + "tests/integration/test_bdf_publication.py::test_historical_packet_structural_tampering_refuses": "Reads exact captured ReadinessV1/V2 BDF words and checks stored integrity only; no locally regenerated floating output is compared, so readback runs on every platform.", + "tests/integration/test_bdf_publication.py::test_solver_free_process_reads_historical_packets": "Reads historical BDF fixture words with solver imports forbidden; this byte-integrity/readback test performs no local numerical recomputation and runs on every platform.", + "tests/integration/test_bdf_publication.py::test_reviewer_rejected_restart_witness_refuses_historical_packets": "Reseals one Boolean in a temporary copy of the captured V1/V2 packet; checks historical semantic integrity without recomputing floats, on every platform." + }, + "markers": { + "slow": "Excluded from the default fast command. scheduled-suite.yml inventories and partitions every slow node in both root and legacy suites; the older optional ci.yml smoke job retains its bounded legacy regression scope.", + "frontend": "Collected from tests/refactor and tests/runtime by frontend CI after npm ci; other jobs exclude this marker.", + "requires_clean_core": "Skipped only when bound src/solarlab Python files are changed or Git provenance is unavailable; clean CI runs the test.", + "platform_bound": "Explicit captured-fixture consumer inventory; does not skip tests. Only locally regenerated floating outputs compared with historical words require a capture-environment guard; portable metadata and live parity remain unconditional." + }, + "optional_dependencies": { + "arb": "python-flint==0.8.0 is locked and installed in core CI; local tests requiring it skip explicitly when absent.", + "ida": "scikit-sundae==1.1.3 is locked and installed in core CI; the five original failing IDA cases run as strict xfails.", + "uv": "The packages job installs pinned uv; isolated release installation tests skip with a reason when uv is absent locally." + }, + "archive_dependent_tests": [ + "tests/refactor/test_factor_cache.py::TestFactorPolicyWiring::test_bridge_preserves_failure_history_and_factor_counters", + "tests/refactor/test_factor_cache.py::TestFactorPolicyWiring::test_plan_default_stays_absent_and_optin_is_identity_bound", + "tests/refactor/test_hysteresis_reference.py::TestPrebiasFirstStepPolicy::test_default_plan_omits_policy_and_request_stays_exact", + "tests/refactor/test_hysteresis_reference.py::TestSourcesAndInput::test_exact_archived_requests_distinguish_D0_and_c0", + "tests/refactor/test_hysteresis_reference.py::TestSourcesAndInput::test_nominal_saved_request_is_bound", + "tests/refactor/test_reference_map.py::ComparisonScopeTests::test_actual_scope_links_and_protected_payloads" + ], + "isolated_groups": { + "scan_execution": { + "job": "backend", + "files": [ + "tests/runtime/test_scan_execution.py" + ], + "reason": "Pool RSS includes the pytest parent process family; importing all numerical/runtime modules first exhausts the unchanged per-job budgets. Run this file once in its own pytest process and ignore it only in bulk discovery." + }, + "supervisor_control_failure": { + "job": "backend", + "files": [ + "tests/runtime/test_supervisor_control_failure.py" + ], + "reason": "The real 768 MiB supervisor budget charges the pytest process family. Bulk runtime imports can exhaust it and stop the barrier child before control-failure injection; run these recovery contracts once in a fresh process with unchanged RSS and sampling limits." + }, + "run_client": { + "job": "frontend", + "files": [ + "tests/runtime/test_run_client_contract.py" + ], + "reason": "The supervised browser client uses the existing bounded pool; broad schema/runtime collection retains unrelated numerical modules in the parent. Run this file once in its own pytest process with unchanged RSS limits." + } + }, + "platform_bound": [ + "tests/independent/p04/test_p04_legacy_golden.py::test_candidate_against_golden", + "tests/independent/p04/test_p04_legacy_golden.py::test_fixture_identity_and_sources", + "tests/independent/p04/test_p04_legacy_golden.py::test_legacy_reproduces_golden_bitwise", + "tests/independent/p04/test_p04_legacy_golden.py::test_quoted_existing_values_are_reproduced", + "tests/unit/assembly/test_assembly_ionic_1d.py::test_assembled_captures_match_the_frozen_digests", + "tests/unit/assembly/test_assembly_small_signal.py::test_harness_ac_captures_match_the_frozen_digests", + "tests/unit/assembly/test_assembly_steady_2d.py::test_actual_195_row_steady_histories_are_bitwise", + "tests/unit/assembly/test_assembly_steady_2d.py::test_archived_seed_fields_match_frozen_digests", + "tests/unit/assembly/test_assembly_two_dimensional.py::test_all_twenty_states_match_frozen_original_arrays", + "tests/unit/assembly_parity/test_frozen_baselines.py::test_foreign_environment_skips_before_factory_evaluation", + "tests/unit/assembly_parity/test_frozen_baselines.py::test_frozen_factory", + "tests/unit/assembly_parity/test_frozen_baselines.py::test_frozen_inventory", + "tests/unit/assembly_parity/test_frozen_baselines.py::test_matching_environment_keeps_a_frozen_word_failure_visible", + "tests/unit/assembly_parity/test_frozen_baselines.py::test_unobserved_vendor_is_an_explicit_skip", + "tests/unit/solvers/time/test_assembled_ionic_steps.py::test_all_32_probes_match_frozen_step_and_storage_arrays", + "tests/integration/test_bdf_publication.py::test_saved_readiness_packets_keep_original_words_and_identity", + "tests/integration/test_bdf_publication.py::test_historical_packet_structural_tampering_refuses", + "tests/integration/test_bdf_publication.py::test_solver_free_process_reads_historical_packets", + "tests/integration/test_bdf_publication.py::test_reviewer_rejected_restart_witness_refuses_historical_packets" + ], + "platform_bound_fixtures": { + "tests/support/assembly_baselines.json": "Raw float/complex words and sparse patterns captured on the recorded Darwin arm64 Python/NumPy/SciPy and Accelerate stack.", + "tests/unit/assembly/fixtures/dc2d_steady_seeds_v1.json": "Exact historical input-coordinate bytes are portable; decoded physical-field word digests require the supported capture stack. Live original-vs-assembled solves use the unchanged input words and current gates on every platform.", + "env:SOLARLAB_ASSEMBLY_2D_BASELINE": "Optional pinned DC2D gate NPZ contains original captured float arrays and sparse patterns; compare only on the capture stack.", + "tests/independent/p04/fixtures/P04LegacyGoldenV1.json": "Existing macOS/Accelerate golden: floating comparisons retain their current platform prerequisites; metadata and quoted-value checks remain portable.", + "tests/integration/fixtures/bdf_readiness/readinessv1_e_saved_packet.json.gz": "Exact captured BDF history words; reader tests preserve bytes without running a solver or comparing locally regenerated floating outputs.", + "tests/integration/fixtures/bdf_readiness/readinessv1_e_light_step.json.gz": "Exact captured BDF history words; reader tests preserve bytes without running a solver or comparing locally regenerated floating outputs.", + "tests/integration/fixtures/bdf_readiness/readinessv2_e_saved_packet.json.gz": "Exact captured BDF history words; reader tests preserve bytes without running a solver or comparing locally regenerated floating outputs.", + "tests/integration/fixtures/bdf_readiness/readinessv2_e_dark_voltage_step.json.gz": "Exact captured failed ReadinessV2 BDF restart history; validate the recorded left/right words without local floating recomputation or endpoint reconstruction." + }, + "portable_fixtures": { + "tests/fixtures/native_history/accepted.jsonl": "Exact historical reader bytes from the incomplete original attempt; no local floating output is regenerated or qualified against them.", + "tests/fixtures/native_history/manifest.json": "Byte hashes and provenance for the historical reader fixtures; metadata/integrity checks remain portable.", + "tests/fixtures/native_history/prefix.jsonl.gz": "Compressed historical reader input, including deliberate incomplete-tail cases; not a numerical reproduction oracle.", + "tests/fixtures/native_history/reader.txt": "Exact historical reader source fragment preserved as fixture text for byte/provenance checks; no computed floating output oracle.", + "tests/fixtures/refactor/EmptyStateV4.json": "Original fixed-reference codec input; tests validate decoding and preserved identity, not bitwise reproduction by a solver.", + "tests/fixtures/refactor/R1FailureWitnessV1.json": "Original failed-attempt request/state/event bytes for codec, refusal and stable-operator witnesses; historical failure stays a failure.", + "tests/integration/fixtures/multiple_ionic_d0_steady.json.gz": "Exact saved initial-state input; admission validates its recorded identity and current tests apply their own physical gates.", + "tests/numerical_contracts/AnalyticGatesV1.json": "Declared analytic acceptance contracts and tolerances, not outputs captured from a numerical stack.", + "tests/numerical_contracts/fixtures/native_interval_charge.json": "Recorded interval input used to test algebraic charge accounting against the declared analytic gates; no frozen solver-word equivalence claim.", + "tests/numerical_contracts/fixtures/qualification_cases.json": "Declared experiment requests and qualification inputs, not frozen numerical output comparisons.", + "tests/numerical_contracts/fixtures/qualification_grids.json": "Declared grid inputs used by qualification contracts, not captured numerical outputs.", + "tests/numerical_contracts/fixtures/qualification_origins.json": "Historical request definitions and origin metadata used for qualification input binding; not a cross-platform output oracle.", + "tests/refactor/fixtures/jv_reference_requests.json": "Serialized JV request inputs and identities, not computed curve references.", + "tests/refactor/fixtures/r1_common_state_preparation.json": "Saved common-state input and its preparation identity; consumed or validated as input, not regenerated bitwise.", + "tests/refactor/fixtures/r1_execution_policy.json": "Explicit execution controls and declared tolerances; no captured numerical output arrays.", + "tests/refactor/fixtures/r1_pair_common_state_preparation.json": "Saved paired-coordinate initial input; high/low words and identity must be preserved when decoded.", + "tests/runtime/fixtures/ionic_jv_failed_prefix.tar.gz": "Immutable failed-prefix store for historical reading/refusal checks; no failure is relabelled or replayed as a success.", + "tests/runtime/fixtures/ionic_jv_saved_results.tar.gz": "Stored RunStore records and artifacts for reader/identity contracts; existing artifact bytes are compared without recomputation.", + "tests/runtime/fixtures/ionic_jv_wall_composition_baseline.json": "Boolean admission outcomes and ordinary wall ceilings observed on cbec4788; portable policy comparisons without captured floating-point numerical results.", + "tests/runtime/fixtures/steady_2d_process_saved.tar.gz": "Saved process/HTTP artifacts for historical readback and tamper checks, not a new solve against captured arrays.", + "tests/unit/reproducibility/fixtures/q6_readback_witnesses.tar.gz": "Pinned original and tampered Q6 review artifacts for byte-integrity, recorded-identity and reader-refusal checks; tests forbid numerical recomputation and source recapture, so no local floating output is compared to historical words.", + "tests/integration/fixtures/bdf_readiness/manifest.json": "Original packet/source digests for BDF readback; no numerical output regeneration." + } +} diff --git a/tests/ci/fixtures/scheduled_suite_8a0bf115.py b/tests/ci/fixtures/scheduled_suite_8a0bf115.py new file mode 100644 index 00000000..6355228c --- /dev/null +++ b/tests/ci/fixtures/scheduled_suite_8a0bf115.py @@ -0,0 +1,712 @@ +"""Scheduled-only pytest sharding and report-only coverage, without source edits.""" +from __future__ import annotations + +import argparse +from collections import Counter, defaultdict +import hashlib +import importlib.util +import json +import os +from pathlib import Path +import runpy +import signal +import subprocess +import sys +import sysconfig +import time +import xml.etree.ElementTree as ET + +ROOT = Path(__file__).resolve().parents[2] +SUITES = {"root": ROOT, "legacy": ROOT / "perovskite-sim"} +PACKAGE_ROOTS = { + "solarlab": "src/solarlab", + "solarlab_research": "src/solarlab_research", + "solarlab_server": "src/solarlab_server", + "perovskite_sim": "perovskite-sim/perovskite_sim", +} +# These files contain individually expensive protocols or several old producers. +# Split by test function; parameter reprs are not portable selector identities. +FUNCTION_SHARDS = { + "tests/integration/test_r1_v4_historical_evidence.py", + "tests/integration/test_physical_interface_cbo_scan.py", + "tests/regression/test_twod_validation.py", + "tests/regression/test_grading_cigs_notch.py", +} +# The integration directory took 56.8 min in run 40966847092 and timed out at +# 110 min in run 40986149015. Its slowest completed file took 11.5 min: retain +# module fixtures within each file and leave ample headroom between files. +FILE_COVERAGE_SHARDS = {"tests/integration"} +# Target 24 slow cases per ordinary shard, but never split a parameterized +# function. A function above this target runs alone; this is not a test limit. +MAX_SLOW_NODES = 24 +# Completed per-node durations from runs 40966847092 and 40986149015, rounded +# up to seconds. Use the file maximum for every node because separate processes +# recreate shared fixtures. Smaller files receive the 20-minute floor. +MEASURED_SLOW_NODE_SECONDS = { + "tests/integration/test_degradation_snapshot_refinement.py": 323, + "tests/integration/test_foundation_mobile_refinement.py": 1208, + "tests/integration/test_foundation_tpv_spatial_refinement.py": 2011, + "tests/integration/test_physical_interface_cbo_scan.py": 2898, + "tests/integration/test_r1_evidence_accounting_v5.py": 465, + "tests/integration/test_r1_v4_historical_evidence.py": 613, + "tests/regression/test_csi_quasi_fermi_convergence.py": 508, + "tests/regression/test_interface_balance_ridge.py": 696, + "tests/regression/test_interface_srv_grid_reference.py": 476, + "tests/regression/test_mesh_convergence.py": 304, + "tests/regression/test_symmetry.py": 317, + "tests/regression/test_twod_microstructure.py": 452, + "tests/regression/test_twod_validation.py": 1864, +} +THREADS = ( + "OMP_NUM_THREADS", "OPENBLAS_NUM_THREADS", "MKL_NUM_THREADS", + "VECLIB_MAXIMUM_THREADS", "NUMEXPR_NUM_THREADS", "BLIS_NUM_THREADS", +) +# These tests observe real child-process deadlines. Instrument the pytest +# parent, but leave the measured children in the same mode as push CI. +PARENT_ONLY_COVERAGE = { + "tests/numerical_contracts/test_g2_route_launcher.py": + "Synthetic process-group startup/closeout is measured inside a fixed wall budget.", + "tests/runtime/test_ionic_jv_job_service.py": + "The HTTP worker has a fixed 30 s wall limit; child tracing changes the measured workload.", +} + + +def read(path): + return json.loads(Path(path).read_text()) + + +def write(path, value): + Path(path).parent.mkdir(parents=True, exist_ok=True) + Path(path).write_text(json.dumps(value, indent=2, sort_keys=True) + "\n") + + +def sha256(path): + return hashlib.sha256(Path(path).read_bytes()).hexdigest() + + +def function_nodeid(nodeid): + """Keep file/class/function identity, without machine-dependent case reprs.""" + return nodeid.partition("[")[0] + + +def function_counts(nodeids): + return Counter(function_nodeid(nodeid) for nodeid in nodeids) + + +def function_groups(items): + groups = defaultdict(list) + for item in items: + groups[function_nodeid(item["nodeid"])].append(item) + return [groups[name] for name in sorted(groups)] + + +def slow_node_seconds(suite, path): + measured = MEASURED_SLOW_NODE_SECONDS.get(path, 0) if suite == "legacy" else 0 + # Four times the measured maximum, rounded to minutes, within 20-60 min. + # The largest completed case is 48.3 min; a global 4x cap would outlive the + # unchanged 110-minute workflow step and could not close a stalled node. + return max(1200, min(3600, ((4 * measured + 59) // 60) * 60)) + + +def commit(): + return subprocess.check_output( + ["git", "rev-parse", "HEAD"], cwd=ROOT, text=True + ).strip() + + +def pinned_environment(): + env = dict(os.environ) + env.update({name: "1" for name in THREADS}) + env["PYTHONDONTWRITEBYTECODE"] = "1" + env.pop("PYTHONPATH", None) + env.pop("PYTHONHOME", None) + # Each child receives this runner's explicit coverage policy, never an + # outer caller's automatic subprocess tracing configuration. + env.pop("COVERAGE_PROCESS_CONFIG", None) + env.pop("COVERAGE_PROCESS_START", None) + return env + + +def verify_installation(): + """Reject a stale local-project wheel before tracing it as current source.""" + packages = {} + for name, relative in PACKAGE_ROOTS.items(): + spec = importlib.util.find_spec(name) + if spec is None or spec.origin is None: + raise ValueError("installed package has no source origin: " + name) + installed = Path(spec.origin).resolve().parent + if not installed.is_relative_to(Path(sys.prefix).resolve()): + raise ValueError("scheduled CI requires a non-editable installation: " + name) + names = subprocess.check_output( + ["git", "ls-files", "-z", "--", relative], cwd=ROOT + ).decode().split("\0") + checked = 0 + for filename in filter(None, names): + source = ROOT / filename + target = installed / source.relative_to(ROOT / relative) + if not target.is_file() or target.read_bytes() != source.read_bytes(): + raise ValueError("installed package differs from checkout: " + filename) + checked += 1 + if not checked: + raise ValueError("empty package source inventory: " + name) + packages[name] = {"origin": str(installed), "files_verified": checked} + return packages + + +def pytest_session(arguments, output, expected=None): + """Collect actual inherited/parameterized nodes and preserve raw outcomes.""" + import pytest + + data = {"items": [], "collection_reports": [], "reports": [], "status": "collecting"} + started = time.monotonic() + + class Recorder: + def pytest_collectreport(self, report): + if report.failed or report.skipped: + data["collection_reports"].append({ + "nodeid": report.nodeid, "outcome": report.outcome, + "reason": str(report.longrepr), + }) + + def pytest_collection_finish(self, session): + data["items"] = [ + {"nodeid": item.nodeid, + "path": item.path.relative_to(Path.cwd()).as_posix(), + "markers": sorted({mark.name for mark in item.iter_markers()})} + for item in session.items + ] + if expected is not None: + actual = function_counts(item["nodeid"] for item in data["items"]) + wanted = function_counts(expected) + if actual != wanted: + raise pytest.UsageError( + "scheduled selection drift: missing=" + + repr(dict(sorted((wanted - actual).items()))) + + "; extra=" + + repr(dict(sorted((actual - wanted).items()))) + ) + # Retain the collection even if the outer job later times out. + data["status"] = "running" + write(output, data) + + def pytest_runtest_logstart(self, nodeid, location): + journal.write(json.dumps({"event": "start", "nodeid": nodeid, + "seconds": time.monotonic() - started}) + "\n") + journal.flush() + + def pytest_runtest_logreport(self, report): + recorded = { + "nodeid": report.nodeid, "when": report.when, + "outcome": report.outcome, "duration": report.duration, + "wasxfail": getattr(report, "wasxfail", None), + } + if report.failed: + recorded["longrepr"] = str(report.longrepr) + data["reports"].append(recorded) + journal.write(json.dumps({"event": "report", **recorded}) + "\n") + journal.flush() + + sys.path.insert(0, str(Path.cwd())) + Path(output).parent.mkdir(parents=True, exist_ok=True) + with Path(output).with_suffix(".jsonl").open("w") as journal: + result = pytest.main(arguments, plugins=[Recorder()]) + data.update(status="completed", exit_code=int(result), seconds=time.monotonic() - started) + write(output, data) + return int(result) + + +def collect(suite, directory): + output = directory / (suite + "-collection.json") + command = [ + sys.executable, str(Path(__file__).resolve()), "_collect", "--out", + str(output), "--", "tests", "--collect-only", "-q", "-p", + "no:cacheprovider", "-m", "slow or not slow", + ] + with (directory / (suite + "-collection.log")).open("w") as log: + result = subprocess.run( + command, cwd=SUITES[suite], env=pinned_environment(), + stdout=log, stderr=subprocess.STDOUT, check=False, + ) + if result.returncode: + raise RuntimeError(f"{suite} collection failed; inspect {output.with_suffix('.log')}") + return read(output) + + +def make_shard(kind, suite, paths, markers, items, name=None): + key = json.dumps([kind, suite, paths], separators=(",", ":")) + identifier = name or f"{kind}-{suite}-" + hashlib.sha256(key.encode()).hexdigest()[:10] + shard = { + "id": identifier, "suite": suite, "paths": list(paths), + "markers": markers, "nodeids": [item["nodeid"] for item in items], + "function_counts": dict(sorted(function_counts(item["nodeid"] for item in items).items())), + "count": len(items), "ignored": [], + } + if kind == "slow": + shard["node_wall_seconds"] = max(slow_node_seconds(suite, item["path"]) for item in items) + return shard + + +def verify_partition(shards, expected): + actual = Counter((shard["suite"], node) for shard in shards for node in shard["nodeids"]) + wanted = Counter(expected) + if actual != wanted: + raise ValueError(f"partition mismatch: missing={wanted - actual}; extra={actual - wanted}") + owners = {} + for shard in shards: + for function in function_counts(shard["nodeids"]): + key = (shard["suite"], function) + if key in owners: + raise ValueError(f"test function split across shards: {key}: {owners[key]}, {shard['id']}") + owners[key] = shard["id"] + if len({shard["id"] for shard in shards}) != len(shards): + raise ValueError("duplicate shard ID") + if len(shards) > 256: + raise ValueError("GitHub matrix limit exceeded; split the workflow explicitly") + + +def build_shards(collections): + policy = runpy.run_path(str(ROOT / "tests/ci/policy.py")) + import yaml + + workflow = yaml.safe_load((ROOT / ".github/workflows/ci.yml").read_text()) + slow, coverage = [], [] + expected_slow, expected_default = [], [] + for suite, inventory in collections.items(): + by_file = defaultdict(list) + default_items = [] + for item in inventory["items"]: + is_slow = "slow" in item["markers"] + (expected_slow if is_slow else expected_default).append((suite, item["nodeid"])) + if is_slow: + by_file[item["path"]].append(item) + else: + default_items.append(item) + for file, items in sorted(by_file.items()): + if suite == "legacy" and (file in FUNCTION_SHARDS or file in MEASURED_SLOW_NODE_SECONDS): + chunks = function_groups(items) + elif len(items) > MAX_SLOW_NODES: + chunks, chunk = [], [] + for group in function_groups(items): + if chunk and len(chunk) + len(group) > MAX_SLOW_NODES: + chunks.append(chunk) + chunk = [] + chunk.extend(group) + if chunk: + chunks.append(chunk) + else: + slow.append(make_shard("slow", suite, [file], "slow", items)) + continue + for chunk in chunks: + paths = sorted(function_counts(item["nodeid"] for item in chunk)) + slow.append(make_shard("slow", suite, paths, "slow", chunk)) + if suite == "root": + for selection in policy["workflow_selections"](workflow): + selected = [ + item for item in default_items + if any(item["path"] == path or item["path"].startswith(path + "/") + for path in selection.directories) + and item["path"] not in selection.ignored_files + and policy["matches"](selection.markers, set(item["markers"])) + ] + suffix = "-" + selection.isolated_group if selection.isolated_group else "" + shard = make_shard( + "coverage", suite, selection.directories, selection.markers, + selected, "coverage-root-" + selection.job + suffix, + ) + shard["ignored"] = list(selection.ignored_files) + shard["ci_job"] = selection.job + isolated = { + path: [item for item in selected if item["path"] == path] + for path in PARENT_ONLY_COVERAGE + if any(item["path"] == path for item in selected) + } + if isolated: + shard["nodeids"] = [item["nodeid"] for item in selected + if item["path"] not in isolated] + shard["count"] = len(shard["nodeids"]) + shard["function_counts"] = dict(sorted(function_counts(shard["nodeids"]).items())) + shard["ignored"] += sorted(isolated) + if shard["count"]: + coverage.append(shard) + for path, items in sorted(isolated.items()): + separate = make_shard( + "coverage", suite, [path], selection.markers, items, + shard["id"] + "-" + Path(path).stem.removeprefix("test_"), + ) + separate["ci_job"] = selection.job + separate["subprocess_coverage"] = False + separate["coverage_limitation"] = PARENT_ONLY_COVERAGE[path] + coverage.append(separate) + else: + groups = defaultdict(list) + for item in default_items: + groups[Path(item["path"]).parent.as_posix()].append(item) + for parent, items in sorted(groups.items()): + # Exact files avoid covering nested directories a second time. + files = sorted({item["path"] for item in items}) + name = "coverage-legacy-" + parent.removeprefix("tests/").replace("/", "-") + if parent in FILE_COVERAGE_SHARDS: + for file in files: + coverage.append(make_shard( + "coverage", suite, [file], "not slow", + [item for item in items if item["path"] == file], + name + "-" + Path(file).stem.removeprefix("test_"), + )) + else: + coverage.append(make_shard("coverage", suite, files, "not slow", items, name)) + verify_partition(slow, expected_slow) + verify_partition(coverage, expected_default) + return {"slow": slow, "coverage": coverage} + + +def choose(shards, requested): + if requested == "all": + return list(shards) + names = requested.split(",") + if not names or any(not name.strip() for name in names): + raise ValueError("use all or comma-separated exact shard IDs") + names = [name.strip() for name in names] + if len(names) != len(set(names)): + raise ValueError("duplicate requested shard ID") + known = {shard["id"]: shard for shard in shards} + if set(names) - known.keys(): + raise ValueError(f"unknown shards: {sorted(set(names) - known.keys())}") + return [known[name] for name in names] + + +def plan(args): + directory = args.out.resolve() + directory.mkdir(parents=True, exist_ok=True) + installation = verify_installation() + collections = {suite: collect(suite, directory) for suite in SUITES} + shards = build_shards(collections) + selected = {} + for kind in shards: + selected[kind] = choose(shards[kind], getattr(args, kind + "_shards")) + if getattr(args, "run_" + kind) == "false": + selected[kind] = [] + value = { + "schema": "solarlab.scheduled-ci-plan.v2", "commit": commit(), + "selection_identity": "test function with exact per-function case counts; raw case IDs retained as evidence", + "lock_sha256": sha256(ROOT / "uv.lock"), "thread_count": 1, + "installed_source_verification": installation, + "all_shards": shards, "selected_shards": selected, + "counts": {kind: sum(s["count"] for s in rows) for kind, rows in shards.items()}, + "collection_reports": {suite: v["collection_reports"] for suite, v in collections.items()}, + } + write(directory / "plan.json", value) + if os.environ.get("GITHUB_OUTPUT"): + with open(os.environ["GITHUB_OUTPUT"], "a") as out: + out.write(f"commit={value['commit']}\n") + for kind, rows in selected.items(): + out.write(f"{kind}_enabled={str(bool(rows)).lower()}\n") + # A dummy row keeps the matrix valid when its job is disabled. + matrix = {"include": [{"id": s["id"], "suite": s["suite"]} for s in rows] + or [{"id": "disabled", "suite": "root"}]} + out.write(f"{kind}_matrix={json.dumps(matrix, separators=(',', ':'))}\n") + print(json.dumps(value["counts"], sort_keys=True)) + for kind, rows in shards.items(): + for row in rows: + print(kind, row["id"], row["count"], *row["paths"]) + + +def coverage_config(path, *, subprocesses=True): + """Trace only this checkout and its installed packages, not old producer clones.""" + site = Path(sysconfig.get_paths()["purelib"]) + pairs = { + "solarlab": [ROOT / "src/solarlab", site / "solarlab"], + "perovskite_sim": [ROOT / "perovskite-sim/perovskite_sim", site / "perovskite_sim"], + } + text = "[run]\nparallel = true\n" + if subprocesses: + text += "patch = subprocess\n" + text += "sigterm = true\nsource =\n" + text += "".join(f" {p}\n" for paths in pairs.values() for p in paths) + text += "\n[paths]\n" + for name, paths in pairs.items(): + text += name + " =\n" + "".join(f" {p}\n" for p in paths) + text += "\n[report]\nshow_missing = true\n" + path.write_text(text) + + +def run_with_watchdog(command, *, cwd, env, log, seconds): + """Bound one owned process group; a timeout is never an expected failure.""" + started = time.monotonic() + with Path(log).open("w") as stream: + process = subprocess.Popen(command, cwd=cwd, env=env, stdout=stream, + stderr=subprocess.STDOUT, start_new_session=True) + timed_out = False + try: + process.wait(timeout=seconds) + except subprocess.TimeoutExpired: + timed_out = True + try: + os.killpg(process.pid, signal.SIGTERM) + except ProcessLookupError: + pass + try: + process.wait(timeout=1) + except subprocess.TimeoutExpired: + pass + # A descendant may ignore TERM even when its parent has exited. + try: + os.killpg(process.pid, signal.SIGKILL) + except ProcessLookupError: + pass + process.wait() + return {"returncode": process.returncode, "timeout": timed_out, + "seconds": time.monotonic() - started} + + +def watchdog_failure(suites, nodeid, outcome, seconds, message): + suite = ET.SubElement(suites, "testsuite", name="scheduled-watchdog", tests="1", + failures="1", errors="0", skipped="0", time=str(seconds)) + case = ET.SubElement(suite, "testcase", classname=nodeid.partition("::")[0], + name=nodeid.partition("::")[2], time=str(seconds)) + ET.SubElement(case, "failure", type=outcome, message=message).text = message + return {"nodeid": nodeid, "when": "watchdog", "outcome": outcome, + "duration": seconds, "wasxfail": None, "longrepr": message} + + +def run_slow_nodes(shard, out, env, result): + """Verify function counts, then run each worker-local case under a watchdog.""" + seconds = shard["node_wall_seconds"] + cwd = SUITES[shard["suite"]] + runner = [sys.executable, str(Path(__file__).resolve())] + selection = [*shard["paths"], "-m", shard["markers"], "-q", "-ra", "-p", "no:cacheprovider"] + for ignored in shard["ignored"]: + selection += ["--ignore", ignored] + # Only locally collected parameter IDs are executable selectors. The plan + # is checked first using every function and its exact number of cases. + collected = out / "collection.json" + preflight = run_with_watchdog( + [*runner, "_collect", "--out", str(collected), "--expected", str(out / "expected.json"), + "--", *selection, "--collect-only"], cwd=cwd, env=env, + log=out / "pytest.log", seconds=seconds, + ) + suites = ET.Element("testsuites") + if preflight["timeout"] or preflight["returncode"]: + outcome = "timeout" if preflight["timeout"] else "failed" + report = watchdog_failure(suites, shard["id"] + "::", outcome, + preflight["seconds"], "Scheduled slow collection did not complete successfully") + write(out / "tests.json", {"items": [], "reports": [report], "status": "completed", + "exit_code": preflight["returncode"] or 1}) + ET.ElementTree(suites).write(out / "junit.xml", encoding="utf-8", xml_declaration=True) + return preflight["returncode"] or 1 + inventory = read(collected) + aggregate = {"items": inventory["items"], "collection_reports": inventory["collection_reports"], + "reports": [], "node_outcomes": [], "status": "running"} + result["watchdog"] = {"node_wall_seconds": seconds, "scope": "scheduled slow only", + "isolation": "one process per locally collected case; shared fixtures recreated"} + write(out / "result.json", result) + failed = False + started = time.monotonic() + with (out / "tests.jsonl").open("w") as journal, (out / "pytest.log").open("a") as log: + for index, item in enumerate(inventory["items"]): + nodeid = item["nodeid"] + node_out = out / "nodes" / f"{index:04d}" + node_out.mkdir(parents=True) + write(node_out / "expected.json", [nodeid]) + journal.write(json.dumps({"event": "start", "nodeid": nodeid}) + "\n") + journal.flush() + executed = run_with_watchdog( + [*runner, "_pytest", "--out", str(node_out / "tests.json"), + "--expected", str(node_out / "expected.json"), "--", nodeid, + "-m", shard["markers"], "-q", "-ra", "-p", "no:cacheprovider", + "--junitxml=" + str(node_out / "junit.xml")], + cwd=cwd, env=env, log=node_out / "pytest.log", seconds=seconds, + ) + log.write(f"\n=== {nodeid} ===\n" + (node_out / "pytest.log").read_text()) + reports, receipt_errors = [], [] + if (node_out / "tests.jsonl").is_file(): + for number, line in enumerate((node_out / "tests.jsonl").read_text().splitlines(), 1): + try: + row = json.loads(line) + if row.get("event") == "report": + reports.append(row) + except (ValueError, AttributeError) as exc: + # The watchdog may interrupt a write. Preserve the + # timeout and continue; a torn receipt is never a pass. + receipt_errors.append(f"journal line {number}: {exc}") + child, child_xml = None, None + if not executed["timeout"]: + try: + child = read(node_out / "tests.json") + child_xml = ET.parse(node_out / "junit.xml").getroot() + if child.get("status") != "completed" or child.get("exit_code") != executed["returncode"]: + raise ValueError("incomplete or inconsistent node receipt") + except (OSError, ValueError, ET.ParseError) as exc: + receipt_errors.append(str(exc)) + if executed["timeout"]: + outcome = "timeout" + message = f"Scheduled node exceeded its {seconds:g} s wall cap (startup/setup/call/teardown)" + reports.append(watchdog_failure(suites, nodeid, outcome, executed["seconds"], message)) + log.write(f"TIMEOUT {nodeid}: {message}\n") + failed = True + elif receipt_errors: + outcome = "failed" + reports.append(watchdog_failure(suites, nodeid, outcome, executed["seconds"], + "Scheduled node exited without complete test receipts")) + failed = True + else: + reports = child["reports"] + suites.extend(list(child_xml) if child_xml.tag == "testsuites" else [child_xml]) + outcome = "failed" if executed["returncode"] else "passed" + if not executed["returncode"] and any(r["outcome"] == "skipped" for r in reports): + outcome = "xfailed" if any(r.get("wasxfail") for r in reports) else "skipped" + failed |= bool(executed["returncode"]) + node_result = {"nodeid": nodeid, "outcome": outcome, + "receipt_errors": receipt_errors, **executed} + aggregate["reports"].extend(reports) + aggregate["node_outcomes"].append(node_result) + journal.write(json.dumps({"event": "outcome", **node_result}) + "\n") + journal.flush() + log.flush() + write(out / "tests.json", aggregate) + ET.ElementTree(suites).write(out / "junit.xml", encoding="utf-8", xml_declaration=True) + aggregate.update(status="completed", exit_code=int(failed), seconds=time.monotonic() - started) + write(out / "tests.json", aggregate) + return int(failed) + + +def run_shard(args): + value = read(args.plan) + if value["commit"] != commit() or value["lock_sha256"] != sha256(ROOT / "uv.lock"): + raise ValueError("plan source/lock does not match this immutable job checkout") + shard = next(row for row in value["selected_shards"][args.kind] if row["id"] == args.shard) + out = args.out.resolve() + out.mkdir(parents=True, exist_ok=True) + write(out / "expected.json", shard["nodeids"]) + result = {"shard": shard, "commit": value["commit"], "status": "started", + "plan_sha256": sha256(args.plan), "coverage_data": False} + write(out / "result.json", result) + result["installed_source_verification"] = verify_installation() + write(out / "result.json", result) + env = pinned_environment() + if shard.get("ci_job"): + env["PYTEST_CI_JOB"] = shard["ci_job"] + if args.kind == "coverage" and shard.get("ci_job") == "core": + # Live reference loaders require classes from this exact checkout. + # Audit the non-editable installation above before binding only the + # pytest child to the same bytes, as the core push job already does. + env["PYTHONPATH"] = str(ROOT / "src") + result["execution_source"] = str(ROOT / "src") + pytest_args = [ + *shard["paths"], "-m", shard["markers"], "-q", "-ra", "-p", + "no:cacheprovider", "--durations=0", "--junitxml=" + str(out / "junit.xml"), + ] + for ignored in shard["ignored"]: + pytest_args += ["--ignore", ignored] + command = [sys.executable] + if args.kind == "coverage": + config = out / "coverage.ini" + result["subprocess_coverage"] = shard.get("subprocess_coverage", True) + coverage_config(config, subprocesses=result["subprocess_coverage"]) + env["COVERAGE_FILE"] = str(out / "coverage.data") + command += ["-m", "coverage", "run", "--rcfile=" + str(config), + "--parallel-mode", "--context=" + shard["id"]] + command += [ + str(Path(__file__).resolve()), "_pytest", "--out", str(out / "tests.json"), + "--expected", str(out / "expected.json"), "--", *pytest_args, + ] + started = time.monotonic() + if args.kind == "slow": + returncode = run_slow_nodes(shard, out, env, result) + else: + with (out / "pytest.log").open("w") as log: + executed = subprocess.run(command, cwd=SUITES[shard["suite"]], env=env, + stdout=log, stderr=subprocess.STDOUT, check=False) + returncode = executed.returncode + result.update( + status="passed" if returncode == 0 else "failed", + exit_code=returncode, seconds=time.monotonic() - started, + coverage_data=bool(list(out.glob("coverage.data.*"))), + ) + write(out / "result.json", result) + print((out / "pytest.log").read_text()) + return returncode + + +def combine(args): + from coverage import Coverage + + value = read(args.plan) + out = args.out.resolve() + out.mkdir(parents=True, exist_ok=True) + installation = verify_installation() + directories = sorted({path.parent for path in args.data.rglob("coverage.data.*")}) + found = {read(path)["shard"]["id"]: read(path) for path in args.data.rglob("result.json")} + selected = value["selected_shards"]["coverage"] + complete = ( + len(selected) == len(value["all_shards"]["coverage"]) + and all(found.get(row["id"], {}).get("status") == "passed" + and found[row["id"]].get("coverage_data") for row in selected) + ) + status = {"schema": "solarlab.coverage-report-scope.v1", "commit": value["commit"], + "installed_source_verification": installation, + "report_only": True, "fail_under": None, "full_default_run_passed": complete, + "selected_shards": [row["id"] for row in selected], "shard_results": found, + "limits": ["Python processes using -S may disable startup instrumentation.", + "Historical producer clones and temporary release installations are outside the source filter.", + "Original explicit skips and strict expected failures remain visible in JUnit."]} + write(out / "scope.json", status) + if not directories: + raise RuntimeError("no coverage data was produced; the report is incomplete") + if value["commit"] != commit(): + raise ValueError("coverage report checkout differs from plan source") + for row in found.values(): + if row["commit"] != value["commit"] or row["plan_sha256"] != sha256(args.plan): + raise ValueError("cannot combine data from a different source or plan") + config = out / "coverage.ini" + coverage_config(config) + cov = Coverage(data_file=str(out / "coverage.data"), config_file=str(config)) + cov.combine(data_paths=[str(path) for path in directories], strict=True, keep=True) + cov.save() + cov.xml_report(outfile=str(out / "coverage.xml")) + cov.json_report(outfile=str(out / "coverage.json")) + cov.html_report(directory=str(out / "html")) + with (out / "coverage.txt").open("w") as stream: + cov.report(file=stream) + print((out / "coverage.txt").read_text()) + print(json.dumps({"full_default_run_passed": complete, "report_only": True})) + + +def main(): + parser = argparse.ArgumentParser(description=__doc__) + sub = parser.add_subparsers(dest="command", required=True) + command = sub.add_parser("plan") + command.add_argument("--out", type=Path, required=True) + for kind in ("slow", "coverage"): + command.add_argument("--run-" + kind, choices=("true", "false"), default="true") + command.add_argument("--" + kind + "-shards", default="all") + command = sub.add_parser("run") + command.add_argument("--plan", type=Path, required=True) + command.add_argument("--kind", choices=("slow", "coverage"), required=True) + command.add_argument("--shard", required=True) + command.add_argument("--out", type=Path, required=True) + command = sub.add_parser("combine") + command.add_argument("--plan", type=Path, required=True) + command.add_argument("--data", type=Path, required=True) + command.add_argument("--out", type=Path, required=True) + for name in ("_collect", "_pytest"): + command = sub.add_parser(name) + command.add_argument("--out", type=Path, required=True) + command.add_argument("--expected", type=Path) + command.add_argument("pytest_args", nargs=argparse.REMAINDER) + args = parser.parse_args() + if args.command in ("_collect", "_pytest"): + arguments = args.pytest_args + if arguments and arguments[0] == "--": + arguments = arguments[1:] + return pytest_session(arguments, args.out, read(args.expected) if args.expected else None) + if args.command == "plan": + plan(args) + elif args.command == "run": + return run_shard(args) + else: + combine(args) + return 0 + + +if __name__ == "__main__": + raise SystemExit(main()) diff --git a/tests/ci/fixtures/scheduled_suite_v3.py b/tests/ci/fixtures/scheduled_suite_v3.py new file mode 100644 index 00000000..1b651ce3 --- /dev/null +++ b/tests/ci/fixtures/scheduled_suite_v3.py @@ -0,0 +1,1019 @@ +"""Scheduled-only pytest sharding and report-only coverage, without source edits.""" +from __future__ import annotations + +import argparse +from collections import Counter, defaultdict +from collections.abc import Iterable, Sequence +import hashlib +import importlib.util +import json +import os +from pathlib import Path +import runpy +import signal +import subprocess +import sys +import sysconfig +import time +from typing import Any, TextIO +import xml.etree.ElementTree as ET + +# Tests deliberately patch these shared modules. Recorder calls must keep the +# originals, including the independent error encoder and already-open streams. +_RECORDER_DUMPS = json.dumps +_RECORDER_LOADS = json.loads +_RECORDER_ERROR_QUOTE = json.encoder.encode_basestring_ascii +_RECORDER_MONOTONIC = time.monotonic +_RECORDER_GETCWD = os.getcwd +_RECORDER_OPEN = open +_RECORDER_REPLACE = os.replace +_RECORDER_FSYNC = os.fsync +_RECORDER_STDERR = os.write + +ROOT = Path(__file__).resolve().parents[2] +SUITES = {"root": ROOT, "legacy": ROOT / "perovskite-sim"} +PACKAGE_ROOTS = { + "solarlab": "src/solarlab", + "solarlab_research": "src/solarlab_research", + "solarlab_server": "src/solarlab_server", + "perovskite_sim": "perovskite-sim/perovskite_sim", +} +# These files contain individually expensive protocols or several old producers. +# Split by test function; parameter reprs are not portable selector identities. +FUNCTION_SHARDS = { + "tests/integration/test_r1_v4_historical_evidence.py", + "tests/integration/test_physical_interface_cbo_scan.py", + "tests/regression/test_twod_validation.py", + "tests/regression/test_grading_cigs_notch.py", +} +# The integration directory took 56.8 min in run 40966847092 and timed out at +# 110 min in run 40986149015. Its slowest completed file took 11.5 min: retain +# module fixtures within each file and leave ample headroom between files. +FILE_COVERAGE_SHARDS = {"tests/integration"} +# Target 24 slow cases per ordinary shard, but never split a parameterized +# function. A function above this target runs alone; this is not a test limit. +MAX_SLOW_NODES = 24 +# Completed per-node durations from runs 40966847092 and 40986149015, rounded +# up to seconds. Use the file maximum for every node because separate processes +# recreate shared fixtures. Smaller files receive the 20-minute floor. +MEASURED_SLOW_NODE_SECONDS = { + "tests/integration/test_degradation_snapshot_refinement.py": 323, + "tests/integration/test_foundation_mobile_refinement.py": 1208, + "tests/integration/test_foundation_tpv_spatial_refinement.py": 2011, + "tests/integration/test_physical_interface_cbo_scan.py": 2898, + "tests/integration/test_r1_evidence_accounting_v5.py": 465, + "tests/integration/test_r1_v4_historical_evidence.py": 613, + "tests/regression/test_csi_quasi_fermi_convergence.py": 508, + "tests/regression/test_interface_balance_ridge.py": 696, + "tests/regression/test_interface_srv_grid_reference.py": 476, + "tests/regression/test_mesh_convergence.py": 304, + "tests/regression/test_symmetry.py": 317, + "tests/regression/test_twod_microstructure.py": 452, + "tests/regression/test_twod_validation.py": 1864, +} +THREADS = ( + "OMP_NUM_THREADS", "OPENBLAS_NUM_THREADS", "MKL_NUM_THREADS", + "VECLIB_MAXIMUM_THREADS", "NUMEXPR_NUM_THREADS", "BLIS_NUM_THREADS", +) +# These tests observe real child-process deadlines. Instrument the pytest +# parent, but leave the measured children in the same mode as push CI. +PARENT_ONLY_COVERAGE = { + "tests/numerical_contracts/test_g2_route_launcher.py": + "Synthetic process-group startup/closeout is measured inside a fixed wall budget.", + "tests/runtime/test_ionic_jv_job_service.py": + "The HTTP worker has a fixed 30 s wall limit; child tracing changes the measured workload.", +} + + +def read(path: str | Path) -> Any: + with _RECORDER_OPEN(path, encoding="utf-8") as stream: + return _RECORDER_LOADS(stream.read()) + + +def write(path: str | Path, value: Any) -> None: + Path(path).parent.mkdir(parents=True, exist_ok=True) + Path(path).write_text(json.dumps(value, indent=2, sort_keys=True) + "\n") + + +def sha256(path: str | Path) -> str: + return hashlib.sha256(Path(path).read_bytes()).hexdigest() + + +def function_nodeid(nodeid: str) -> str: + """Keep file/class/function identity, without machine-dependent case reprs.""" + return nodeid.partition("[")[0] + + +def function_counts(nodeids: Iterable[str]) -> Counter[str]: + return Counter(function_nodeid(nodeid) for nodeid in nodeids) + + +def function_groups(items: Iterable[dict[str, Any]]) -> list[list[dict[str, Any]]]: + groups: dict[str, list[dict[str, Any]]] = defaultdict(list) + for item in items: + groups[function_nodeid(item["nodeid"])].append(item) + return [groups[name] for name in sorted(groups)] + + +def slow_node_seconds(suite: str, path: str) -> int: + measured = MEASURED_SLOW_NODE_SECONDS.get(path, 0) if suite == "legacy" else 0 + # Four times the measured maximum, rounded to minutes, within 20-60 min. + # The largest completed case is 48.3 min; a global 4x cap would outlive the + # unchanged 110-minute workflow step and could not close a stalled node. + return max(1200, min(3600, ((4 * measured + 59) // 60) * 60)) + + +def commit() -> str: + return subprocess.check_output( + ["git", "rev-parse", "HEAD"], cwd=ROOT, text=True + ).strip() + + +def pinned_environment() -> dict[str, str]: + env = dict(os.environ) + env.update({name: "1" for name in THREADS}) + env["PYTHONDONTWRITEBYTECODE"] = "1" + env.pop("PYTHONPATH", None) + env.pop("PYTHONHOME", None) + # Each child receives this runner's explicit coverage policy, never an + # outer caller's automatic subprocess tracing configuration. + env.pop("COVERAGE_PROCESS_CONFIG", None) + env.pop("COVERAGE_PROCESS_START", None) + return env + + +def verify_installation() -> dict[str, dict[str, Any]]: + """Reject a stale local-project wheel before tracing it as current source.""" + packages = {} + for name, relative in PACKAGE_ROOTS.items(): + spec = importlib.util.find_spec(name) + if spec is None or spec.origin is None: + raise ValueError("installed package has no source origin: " + name) + installed = Path(spec.origin).resolve().parent + if not installed.is_relative_to(Path(sys.prefix).resolve()): + raise ValueError("scheduled CI requires a non-editable installation: " + name) + names = subprocess.check_output( + ["git", "ls-files", "-z", "--", relative], cwd=ROOT + ).decode().split("\0") + checked = 0 + for filename in filter(None, names): + source = ROOT / filename + target = installed / source.relative_to(ROOT / relative) + if not target.is_file() or target.read_bytes() != source.read_bytes(): + raise ValueError("installed package differs from checkout: " + filename) + checked += 1 + if not checked: + raise ValueError("empty package source inventory: " + name) + packages[name] = {"origin": str(installed), "files_verified": checked} + return packages + + +def _recorder_error_message(exc: BaseException) -> str: + try: + return str(exc) + except (KeyboardInterrupt, SystemExit): + raise + except BaseException: + return "Recorder exception could not be formatted" + + +def _recorder_error_line(event: dict[str, Any]) -> str: + """Encode flat diagnostic records without consulting JSONEncoder methods.""" + try: + fields = [] + for key, value in sorted(event.items()): + if value is None: + encoded = "null" + elif type(value) is int: + encoded = str(value) + else: + encoded = _RECORDER_ERROR_QUOTE(str(value)) + fields.append(_RECORDER_ERROR_QUOTE(key) + ": " + encoded) + return "{" + ", ".join(fields) + "}\n" + except (KeyboardInterrupt, SystemExit): + raise + except BaseException: + return '{"event":"recorder_error","stage":"error_record_encoding"}\n' + + +def _recorder_diagnostic(event: dict[str, Any]) -> None: + """A failed evidence sink must still produce a non-recursive diagnostic.""" + try: + _RECORDER_STDERR(2, ("SCHEDULED RECORDER: " + _recorder_error_line(event)).encode()) + except (KeyboardInterrupt, SystemExit): + raise + except BaseException: + pass # The caller still fails the run if even stderr is unavailable. + + +def _execution_gaps(items: list[dict[str, Any]], rows: list[dict[str, Any]], + started: set[str]) -> tuple[list[str], list[str]]: + reports: dict[str, list[dict[str, Any]]] = defaultdict(list) + for report in rows: + reports[report["nodeid"]].append(report) + missing, incomplete = [], [] + for item in items: + nodeid = item["nodeid"] + phases = {row["when"] for row in reports[nodeid]} + if nodeid not in started and not phases: + missing.append(nodeid) + continue + setup_stopped = any(row["when"] == "setup" and row["outcome"] in {"failed", "skipped"} + for row in reports[nodeid]) + required = {"setup", "teardown"} | (set() if setup_stopped else {"call"}) + if not required <= phases: + incomplete.append(nodeid) + return missing, incomplete + + +class _PytestRecorder: + def __init__(self, output: Path, expected: list[str] | None, journal: TextIO, + errors: TextIO, cwd: Path) -> None: + self.output = str(output) + self.temporary = str(output.with_suffix(output.suffix + ".tmp")) + self.cwd = cwd + self.expected = expected + self.journal_write, self.journal_flush = journal.write, journal.flush + self.error_write, self.error_flush = errors.write, errors.flush + self.error_fileno = errors.fileno + self.started = _RECORDER_MONOTONIC() + self.started_nodes: set[str] = set() + self.collection_complete = False + self.collect_only = False + self.data: dict[str, Any] = { + "items": [], "collection_reports": [], "reports": [], + "recorder_errors": [], "status": "collecting", + } + + def error(self, stage: str, exc: BaseException, nodeid: str | None = None) -> None: + event = {"event": "recorder_error", "stage": stage, "nodeid": nodeid, + "error_type": type(exc).__name__, "message": _recorder_error_message(exc)} + self.data["recorder_errors"].append(event) + # Do not retry the operation that failed or use the normal event path. + # The separate sink remains usable if the main journal itself failed. + line = _recorder_error_line(event) + for write_line, flush in ((self.journal_write, self.journal_flush), + (self.error_write, self.error_flush)): + try: + write_line(line) + flush() + except (KeyboardInterrupt, SystemExit): + raise + except BaseException: + pass + _recorder_diagnostic(event) + + def event(self, value: dict[str, Any]) -> None: + try: + self.journal_write(_RECORDER_DUMPS(value) + "\n") + self.journal_flush() + except (KeyboardInterrupt, SystemExit): + raise + except BaseException as exc: + self.error("journal", exc, value.get("nodeid")) + + def snapshot(self) -> bool: + try: + with _RECORDER_OPEN(self.temporary, "w", encoding="utf-8") as stream: + stream.write(_RECORDER_DUMPS(self.data, indent=2, sort_keys=True) + "\n") + stream.flush() + _RECORDER_FSYNC(stream.fileno()) + _RECORDER_REPLACE(self.temporary, self.output) + except (KeyboardInterrupt, SystemExit): + raise + except BaseException as exc: + self.error("snapshot", exc) + return False + return True + + def pytest_collectreport(self, report: Any) -> None: + try: + if report.failed or report.skipped: + self.data["collection_reports"].append({ + "nodeid": report.nodeid, "outcome": report.outcome, + "reason": str(report.longrepr), + }) + except (KeyboardInterrupt, SystemExit): + raise + except BaseException as exc: + self.error("collection_report", exc) + + def pytest_collection_finish(self, session: Any) -> None: + try: + import pytest + + self.collect_only = session.config.option.collectonly + self.data["items"] = [ + {"nodeid": item.nodeid, + "path": item.path.relative_to(self.cwd).as_posix(), + "markers": sorted({mark.name for mark in item.iter_markers()})} + for item in session.items + ] + selection_error = None + if self.expected is not None: + actual = function_counts(item["nodeid"] for item in self.data["items"]) + wanted = function_counts(self.expected) + if actual != wanted: + selection_error = pytest.UsageError( + "scheduled selection drift: missing=" + + repr(dict(sorted((wanted - actual).items()))) + + "; extra=" + + repr(dict(sorted((actual - wanted).items()))) + ) + if selection_error is None: + self.collection_complete = True + self.data["status"] = "running" + self.snapshot() + except (KeyboardInterrupt, SystemExit): + raise + except BaseException as exc: + self.error("collection", exc) + raise pytest.UsageError("scheduled collection could not be verified") from exc + if selection_error is not None: + # Preserve the established intentional selection refusal (exit 4). + raise selection_error + + def pytest_runtest_logstart(self, nodeid: str, location: Any) -> None: + try: + self.started_nodes.add(nodeid) + self.event({"event": "start", "nodeid": nodeid, + "seconds": _RECORDER_MONOTONIC() - self.started}) + except (KeyboardInterrupt, SystemExit): + raise + except BaseException as exc: + self.error("test_start", exc, nodeid) + + def pytest_runtest_logreport(self, report: Any) -> None: + try: + recorded = { + "nodeid": report.nodeid, "when": report.when, + "outcome": report.outcome, "duration": report.duration, + "wasxfail": getattr(report, "wasxfail", None), + } + if report.failed: + recorded["longrepr"] = str(report.longrepr) + self.data["reports"].append(recorded) + self.event({"event": "report", **recorded}) + except (KeyboardInterrupt, SystemExit): + raise + except BaseException as exc: + self.error("test_report", exc) + + def finish(self, pytest_code: int) -> int: + try: + return self._finish(pytest_code) + except (KeyboardInterrupt, SystemExit): + raise + except BaseException as exc: + self.error("session_finish", exc) + code = pytest_code or 1 + self.data.update(status="recorder_error", exit_code=code, + pytest_exit_code=pytest_code, execution_complete=False) + self.snapshot() + return code + + def _finish(self, pytest_code: int) -> int: + missing: list[str] = [] + incomplete: list[str] = [] + if not self.collect_only: + missing, incomplete = _execution_gaps(self.data["items"], self.data["reports"], self.started_nodes) + complete = self.collection_complete and not missing and not incomplete + self.data.update( + pytest_exit_code=pytest_code, not_started_nodeids=missing, + incomplete_nodeids=incomplete, collection_complete=self.collection_complete, + execution_complete=complete and not self.collect_only, + started_nodeids=sorted(self.started_nodes), + ) + try: + self.data["seconds"] = _RECORDER_MONOTONIC() - self.started + except (KeyboardInterrupt, SystemExit): + raise + except BaseException as exc: + self.error("session_clock", exc) + try: + self.error_flush() + _RECORDER_FSYNC(self.error_fileno()) + except (KeyboardInterrupt, SystemExit): + raise + except BaseException as exc: + self.error("error_sink_flush", exc) + code = pytest_code + if not complete: + status = "incomplete" + code = code or 1 + _recorder_diagnostic({"event": "incomplete", "not_started": len(missing), + "incomplete": len(incomplete), "pytest_exit_code": pytest_code}) + elif self.data["recorder_errors"]: + status, code = "recorder_error", code or 1 + else: + status = "collected" if self.collect_only else "completed" + self.data.update(status=status, exit_code=code) + if not self.snapshot(): + code = code or 1 + self.data.update(status="incomplete" if not complete else "recorder_error", exit_code=code) + self.snapshot() # A transient final-write failure must not leave a passing snapshot. + if self.data["recorder_errors"]: + # Test-time diagnostics may be captured even when the test passes. + # Repeat the failing result after pytest has released its capture. + _recorder_diagnostic({"event": "recorder_error", "stage": "session_result", + "errors": len(self.data["recorder_errors"]), "exit_code": code}) + return code + + +def pytest_session(arguments: list[str], output: Path, expected: list[str] | None = None) -> int: + """Preserve pytest results; recorder errors fail the receipt, not the test loop.""" + import pytest + + try: + cwd = Path(_RECORDER_GETCWD()) + sys.path.insert(0, str(cwd)) + output = Path(output).absolute() + output.parent.mkdir(parents=True, exist_ok=True) + # Both handles are opened before any test code or test monkeypatch runs. + with _RECORDER_OPEN(output.with_suffix(".jsonl"), "w", encoding="utf-8") as journal, \ + _RECORDER_OPEN(output.with_suffix(".recorder-errors.jsonl"), "w", encoding="utf-8") as errors: + recorder = _PytestRecorder(output, expected, journal, errors, cwd) + try: + result = pytest.main(arguments, plugins=[recorder]) + except (KeyboardInterrupt, SystemExit): + raise + except BaseException as exc: + recorder.error("pytest_session", exc) + return recorder.finish(1) + return recorder.finish(int(result)) + except (KeyboardInterrupt, SystemExit): + raise + except BaseException as exc: + _recorder_diagnostic({"event": "recorder_error", "stage": "recorder_files", + "error_type": type(exc).__name__, "message": _recorder_error_message(exc)}) + return 1 + + +def collect(suite: str, directory: Path) -> dict[str, Any]: + output = directory / (suite + "-collection.json") + command = [ + sys.executable, str(Path(__file__).resolve()), "_collect", "--out", + str(output), "--", "tests", "--collect-only", "-q", "-p", + "no:cacheprovider", "-m", "slow or not slow", + ] + with (directory / (suite + "-collection.log")).open("w") as log: + result = subprocess.run( + command, cwd=SUITES[suite], env=pinned_environment(), + stdout=log, stderr=subprocess.STDOUT, check=False, + ) + if result.returncode: + raise RuntimeError(f"{suite} collection failed; inspect {output.with_suffix('.log')}") + return read(output) + + +def make_shard(kind: str, suite: str, paths: Sequence[str], markers: str, + items: list[dict[str, Any]], name: str | None = None) -> dict[str, Any]: + key = json.dumps([kind, suite, paths], separators=(",", ":")) + identifier = name or f"{kind}-{suite}-" + hashlib.sha256(key.encode()).hexdigest()[:10] + shard: dict[str, Any] = { + "id": identifier, "suite": suite, "paths": list(paths), + "markers": markers, "nodeids": [item["nodeid"] for item in items], + "function_counts": dict(sorted(function_counts(item["nodeid"] for item in items).items())), + "count": len(items), "ignored": [], + } + if kind == "slow": + shard["node_wall_seconds"] = max(slow_node_seconds(suite, item["path"]) for item in items) + return shard + + +def verify_partition(shards: list[dict[str, Any]], expected: Iterable[tuple[str, str]]) -> None: + actual = Counter((shard["suite"], node) for shard in shards for node in shard["nodeids"]) + wanted = Counter(expected) + if actual != wanted: + raise ValueError(f"partition mismatch: missing={wanted - actual}; extra={actual - wanted}") + owners: dict[tuple[str, str], str] = {} + for shard in shards: + for function in function_counts(shard["nodeids"]): + key = (shard["suite"], function) + if key in owners: + raise ValueError(f"test function split across shards: {key}: {owners[key]}, {shard['id']}") + owners[key] = shard["id"] + if len({shard["id"] for shard in shards}) != len(shards): + raise ValueError("duplicate shard ID") + if len(shards) > 256: + raise ValueError("GitHub matrix limit exceeded; split the workflow explicitly") + + +def build_shards(collections: dict[str, dict[str, Any]]) -> dict[str, list[dict[str, Any]]]: + policy = runpy.run_path(str(ROOT / "tests/ci/policy.py")) + import yaml + + workflow = yaml.safe_load((ROOT / ".github/workflows/ci.yml").read_text()) + slow, coverage = [], [] + expected_slow: list[tuple[str, str]] = [] + expected_default: list[tuple[str, str]] = [] + for suite, inventory in collections.items(): + by_file: dict[str, list[dict[str, Any]]] = defaultdict(list) + default_items = [] + for item in inventory["items"]: + is_slow = "slow" in item["markers"] + (expected_slow if is_slow else expected_default).append((suite, item["nodeid"])) + if is_slow: + by_file[item["path"]].append(item) + else: + default_items.append(item) + for file, items in sorted(by_file.items()): + if suite == "legacy" and (file in FUNCTION_SHARDS or file in MEASURED_SLOW_NODE_SECONDS): + chunks = function_groups(items) + elif len(items) > MAX_SLOW_NODES: + chunks = [] + chunk: list[dict[str, Any]] = [] + for group in function_groups(items): + if chunk and len(chunk) + len(group) > MAX_SLOW_NODES: + chunks.append(chunk) + chunk = [] + chunk.extend(group) + if chunk: + chunks.append(chunk) + else: + slow.append(make_shard("slow", suite, [file], "slow", items)) + continue + for chunk in chunks: + paths = sorted(function_counts(item["nodeid"] for item in chunk)) + slow.append(make_shard("slow", suite, paths, "slow", chunk)) + if suite == "root": + for selection in policy["workflow_selections"](workflow): + selected = [ + item for item in default_items + if any(item["path"] == path or item["path"].startswith(path + "/") + for path in selection.directories) + and item["path"] not in selection.ignored_files + and policy["matches"](selection.markers, set(item["markers"])) + ] + suffix = "-" + selection.isolated_group if selection.isolated_group else "" + shard = make_shard( + "coverage", suite, selection.directories, selection.markers, + selected, "coverage-root-" + selection.job + suffix, + ) + shard["ignored"] = list(selection.ignored_files) + shard["ci_job"] = selection.job + isolated = { + path: [item for item in selected if item["path"] == path] + for path in PARENT_ONLY_COVERAGE + if any(item["path"] == path for item in selected) + } + if isolated: + shard["nodeids"] = [item["nodeid"] for item in selected + if item["path"] not in isolated] + shard["count"] = len(shard["nodeids"]) + shard["function_counts"] = dict(sorted(function_counts(shard["nodeids"]).items())) + shard["ignored"] += sorted(isolated) + if shard["count"]: + coverage.append(shard) + for path, items in sorted(isolated.items()): + separate = make_shard( + "coverage", suite, [path], selection.markers, items, + shard["id"] + "-" + Path(path).stem.removeprefix("test_"), + ) + separate["ci_job"] = selection.job + separate["subprocess_coverage"] = False + separate["coverage_limitation"] = PARENT_ONLY_COVERAGE[path] + coverage.append(separate) + else: + groups = defaultdict(list) + for item in default_items: + groups[Path(item["path"]).parent.as_posix()].append(item) + for parent, items in sorted(groups.items()): + # Exact files avoid covering nested directories a second time. + files = sorted({item["path"] for item in items}) + name = "coverage-legacy-" + parent.removeprefix("tests/").replace("/", "-") + if parent in FILE_COVERAGE_SHARDS: + for file in files: + coverage.append(make_shard( + "coverage", suite, [file], "not slow", + [item for item in items if item["path"] == file], + name + "-" + Path(file).stem.removeprefix("test_"), + )) + else: + coverage.append(make_shard("coverage", suite, files, "not slow", items, name)) + verify_partition(slow, expected_slow) + verify_partition(coverage, expected_default) + return {"slow": slow, "coverage": coverage} + + +def choose(shards: list[dict[str, Any]], requested: str) -> list[dict[str, Any]]: + if requested == "all": + return list(shards) + names = requested.split(",") + if not names or any(not name.strip() for name in names): + raise ValueError("use all or comma-separated exact shard IDs") + names = [name.strip() for name in names] + if len(names) != len(set(names)): + raise ValueError("duplicate requested shard ID") + known = {shard["id"]: shard for shard in shards} + if set(names) - known.keys(): + raise ValueError(f"unknown shards: {sorted(set(names) - known.keys())}") + return [known[name] for name in names] + + +def plan(args: argparse.Namespace) -> None: + directory = args.out.resolve() + directory.mkdir(parents=True, exist_ok=True) + installation = verify_installation() + collections = {suite: collect(suite, directory) for suite in SUITES} + shards = build_shards(collections) + selected = {} + for kind in shards: + selected[kind] = choose(shards[kind], getattr(args, kind + "_shards")) + if getattr(args, "run_" + kind) == "false": + selected[kind] = [] + value = { + "schema": "solarlab.scheduled-ci-plan.v2", "commit": commit(), + "selection_identity": "test function with exact per-function case counts; raw case IDs retained as evidence", + "lock_sha256": sha256(ROOT / "uv.lock"), "thread_count": 1, + "installed_source_verification": installation, + "all_shards": shards, "selected_shards": selected, + "counts": {kind: sum(s["count"] for s in rows) for kind, rows in shards.items()}, + "collection_reports": {suite: v["collection_reports"] for suite, v in collections.items()}, + } + write(directory / "plan.json", value) + if os.environ.get("GITHUB_OUTPUT"): + with open(os.environ["GITHUB_OUTPUT"], "a") as out: + out.write(f"commit={value['commit']}\n") + for kind, rows in selected.items(): + out.write(f"{kind}_enabled={str(bool(rows)).lower()}\n") + # A dummy row keeps the matrix valid when its job is disabled. + matrix = {"include": [{"id": s["id"], "suite": s["suite"]} for s in rows] + or [{"id": "disabled", "suite": "root"}]} + out.write(f"{kind}_matrix={json.dumps(matrix, separators=(',', ':'))}\n") + print(json.dumps(value["counts"], sort_keys=True)) + for kind, rows in shards.items(): + for row in rows: + print(kind, row["id"], row["count"], *row["paths"]) + + +def coverage_config(path: Path, *, subprocesses: bool = True) -> None: + """Trace only this checkout and its installed packages, not old producer clones.""" + site = Path(sysconfig.get_paths()["purelib"]) + pairs = { + "solarlab": [ROOT / "src/solarlab", site / "solarlab"], + "perovskite_sim": [ROOT / "perovskite-sim/perovskite_sim", site / "perovskite_sim"], + } + text = "[run]\nparallel = true\n" + if subprocesses: + text += "patch = subprocess\n" + text += "sigterm = true\nsource =\n" + text += "".join(f" {p}\n" for paths in pairs.values() for p in paths) + text += "\n[paths]\n" + for name, paths in pairs.items(): + text += name + " =\n" + "".join(f" {p}\n" for p in paths) + text += "\n[report]\nshow_missing = true\n" + path.write_text(text) + + +def run_with_watchdog(command: Sequence[str], *, cwd: Path, env: dict[str, str], + log: Path, seconds: float) -> dict[str, Any]: + """Bound one owned process group; a timeout is never an expected failure.""" + started = time.monotonic() + with Path(log).open("w") as stream: + process = subprocess.Popen(command, cwd=cwd, env=env, stdout=stream, + stderr=subprocess.STDOUT, start_new_session=True) + timed_out = False + try: + process.wait(timeout=seconds) + except subprocess.TimeoutExpired: + timed_out = True + try: + os.killpg(process.pid, signal.SIGTERM) + except ProcessLookupError: + pass + try: + process.wait(timeout=1) + except subprocess.TimeoutExpired: + pass + # A descendant may ignore TERM even when its parent has exited. + try: + os.killpg(process.pid, signal.SIGKILL) + except ProcessLookupError: + pass + process.wait() + return {"returncode": process.returncode, "timeout": timed_out, + "seconds": time.monotonic() - started} + + +def watchdog_failure(suites: ET.Element, nodeid: str, outcome: str, seconds: float, + message: str) -> dict[str, Any]: + suite = ET.SubElement(suites, "testsuite", name="scheduled-watchdog", tests="1", + failures="1", errors="0", skipped="0", time=str(seconds)) + case = ET.SubElement(suite, "testcase", classname=nodeid.partition("::")[0], + name=nodeid.partition("::")[2], time=str(seconds)) + ET.SubElement(case, "failure", type=outcome, message=message).text = message + return {"nodeid": nodeid, "when": "watchdog", "outcome": outcome, + "duration": seconds, "wasxfail": None, "longrepr": message} + + +def run_slow_nodes(shard: dict[str, Any], out: Path, env: dict[str, str], + result: dict[str, Any]) -> int: + """Verify function counts, then run each worker-local case under a watchdog.""" + seconds = shard["node_wall_seconds"] + cwd = SUITES[shard["suite"]] + runner = [sys.executable, str(Path(__file__).resolve())] + selection = [*shard["paths"], "-m", shard["markers"], "-q", "-ra", "-p", "no:cacheprovider"] + for ignored in shard["ignored"]: + selection += ["--ignore", ignored] + # Only locally collected parameter IDs are executable selectors. The plan + # is checked first using every function and its exact number of cases. + collected = out / "collection.json" + preflight = run_with_watchdog( + [*runner, "_collect", "--out", str(collected), "--expected", str(out / "expected.json"), + "--", *selection, "--collect-only"], cwd=cwd, env=env, + log=out / "pytest.log", seconds=seconds, + ) + suites = ET.Element("testsuites") + if preflight["timeout"] or preflight["returncode"]: + outcome = "timeout" if preflight["timeout"] else "failed" + report = watchdog_failure(suites, shard["id"] + "::", outcome, + preflight["seconds"], "Scheduled slow collection did not complete successfully") + write(out / "tests.json", {"items": [], "reports": [report], "status": "incomplete", + "collection_complete": False, "execution_complete": False, + "not_started_nodeids": read(out / "expected.json"), + "exit_code": preflight["returncode"] or 1}) + ET.ElementTree(suites).write(out / "junit.xml", encoding="utf-8", xml_declaration=True) + return preflight["returncode"] or 1 + inventory = read(collected) + aggregate: dict[str, Any] = { + "items": inventory["items"], "collection_reports": inventory["collection_reports"], + "reports": [], "node_outcomes": [], "status": "running", + } + result["watchdog"] = {"node_wall_seconds": seconds, "scope": "scheduled slow only", + "isolation": "one process per locally collected case; shared fixtures recreated"} + write(out / "result.json", result) + failed = False + started = time.monotonic() + with (out / "tests.jsonl").open("w") as journal, (out / "pytest.log").open("a") as log: + for index, item in enumerate(inventory["items"]): + nodeid = item["nodeid"] + node_out = out / "nodes" / f"{index:04d}" + node_out.mkdir(parents=True) + write(node_out / "expected.json", [nodeid]) + journal.write(json.dumps({"event": "start", "nodeid": nodeid}) + "\n") + journal.flush() + executed = run_with_watchdog( + [*runner, "_pytest", "--out", str(node_out / "tests.json"), + "--expected", str(node_out / "expected.json"), "--", nodeid, + "-m", shard["markers"], "-q", "-ra", "-p", "no:cacheprovider", + "--junitxml=" + str(node_out / "junit.xml")], + cwd=cwd, env=env, log=node_out / "pytest.log", seconds=seconds, + ) + log.write(f"\n=== {nodeid} ===\n" + (node_out / "pytest.log").read_text()) + reports, receipt_errors = [], [] + if (node_out / "tests.jsonl").is_file(): + for number, line in enumerate((node_out / "tests.jsonl").read_text().splitlines(), 1): + try: + row = json.loads(line) + if row.get("event") == "report": + reports.append(row) + except (ValueError, AttributeError) as exc: + # The watchdog may interrupt a write. Preserve the + # timeout and continue; a torn receipt is never a pass. + receipt_errors.append(f"journal line {number}: {exc}") + child, child_xml = None, None + if not executed["timeout"]: + try: + child = read(node_out / "tests.json") + child_xml = ET.parse(node_out / "junit.xml").getroot() + if child.get("status") != "completed" or child.get("exit_code") != executed["returncode"]: + raise ValueError("incomplete or inconsistent node receipt") + except (OSError, ValueError, ET.ParseError) as exc: + receipt_errors.append(str(exc)) + if executed["timeout"]: + outcome = "timeout" + message = f"Scheduled node exceeded its {seconds:g} s wall cap (startup/setup/call/teardown)" + reports.append(watchdog_failure(suites, nodeid, outcome, executed["seconds"], message)) + log.write(f"TIMEOUT {nodeid}: {message}\n") + failed = True + elif receipt_errors: + recorder_failed = child is not None and child.get("status") == "recorder_error" + outcome = "recorder_error" if recorder_failed else "failed" + reports.append(watchdog_failure(suites, nodeid, outcome, executed["seconds"], + "Scheduled node recorder error" if recorder_failed else + "Scheduled node exited without complete test receipts")) + failed = True + else: + assert child is not None and child_xml is not None + reports = child["reports"] + suites.extend(list(child_xml) if child_xml.tag == "testsuites" else [child_xml]) + outcome = "failed" if executed["returncode"] else "passed" + if not executed["returncode"] and any(r["outcome"] == "skipped" for r in reports): + outcome = "xfailed" if any(r.get("wasxfail") for r in reports) else "skipped" + failed |= bool(executed["returncode"]) + node_result = {"nodeid": nodeid, "outcome": outcome, + "receipt_errors": receipt_errors, **executed} + aggregate["reports"].extend(reports) + aggregate["node_outcomes"].append(node_result) + journal.write(json.dumps({"event": "outcome", **node_result}) + "\n") + journal.flush() + log.flush() + write(out / "tests.json", aggregate) + ET.ElementTree(suites).write(out / "junit.xml", encoding="utf-8", xml_declaration=True) + aggregate.update(status="completed", exit_code=int(failed), seconds=time.monotonic() - started) + write(out / "tests.json", aggregate) + return int(failed) + + +def _coverage_receipt(out: Path, expected: list[str], exit_code: int) -> dict[str, Any]: + """A clean process exit cannot certify an absent or unfinished test ledger.""" + errors = [] + items = [{"nodeid": nodeid} for nodeid in expected] + reports: list[dict[str, Any]] = [] + started: set[str] = set() + try: + child = read(out / "tests.json") + collected = child["items"] + if function_counts(item["nodeid"] for item in collected) != function_counts(expected): + errors.append("planned versus collected function counts differ") + else: + items = collected + reports = child["reports"] + if child.get("status") != "completed" or child.get("exit_code") != exit_code: + errors.append("missing or inconsistent final recorder status/exit code") + if not child.get("collection_complete") or not child.get("execution_complete"): + errors.append("recorder did not certify collection and execution completeness") + if child.get("recorder_errors"): + errors.append("recorder errors were reported") + started.update(child.get("started_nodeids", [])) + except (OSError, ValueError, TypeError, KeyError, AttributeError) as exc: + errors.append("test receipt: " + str(exc)) + try: + journal_reports = [] + for line in (out / "tests.jsonl").read_text().splitlines(): + row = json.loads(line) + if row.get("event") == "start": + started.add(row["nodeid"]) + elif row.get("event") == "report": + journal_reports.append(row) + # A hard exit may leave the JSON snapshot at collection while the + # journal still distinguishes started/partial from never-started nodes. + if errors: + reports = journal_reports + except (OSError, ValueError, TypeError, KeyError, AttributeError) as exc: + errors.append("test journal: " + str(exc)) + try: + missing, incomplete = _execution_gaps(items, reports, started) + unexpected = sorted({row["nodeid"] for row in reports} - {item["nodeid"] for item in items}) + if unexpected: + errors.append("unplanned executed nodes: " + repr(unexpected)) + except (ValueError, TypeError, KeyError) as exc: + errors.append("test phases: " + str(exc)) + missing, incomplete = expected, [] + if missing or incomplete: + errors.append("missing complete outcomes for planned nodes") + return {"receipt_complete": not errors, "receipt_errors": errors, + "not_started_nodeids": missing, "incomplete_nodeids": incomplete, + "pytest_process_exit_code": exit_code} + + +def run_shard(args: argparse.Namespace) -> int: + value = read(args.plan) + if value["commit"] != commit() or value["lock_sha256"] != sha256(ROOT / "uv.lock"): + raise ValueError("plan source/lock does not match this immutable job checkout") + shard = next(row for row in value["selected_shards"][args.kind] if row["id"] == args.shard) + out = args.out.resolve() + out.mkdir(parents=True, exist_ok=True) + write(out / "expected.json", shard["nodeids"]) + result: dict[str, Any] = { + "shard": shard, "commit": value["commit"], "status": "started", + "plan_sha256": sha256(args.plan), "coverage_data": False, + } + write(out / "result.json", result) + result["installed_source_verification"] = verify_installation() + write(out / "result.json", result) + env = pinned_environment() + if shard.get("ci_job"): + env["PYTEST_CI_JOB"] = shard["ci_job"] + if args.kind == "coverage" and shard.get("ci_job") == "core": + # Live reference loaders require classes from this exact checkout. + # Audit the non-editable installation above before binding only the + # pytest child to the same bytes, as the core push job already does. + env["PYTHONPATH"] = str(ROOT / "src") + result["execution_source"] = str(ROOT / "src") + pytest_args = [ + *shard["paths"], "-m", shard["markers"], "-q", "-ra", "-p", + "no:cacheprovider", "--durations=0", "--junitxml=" + str(out / "junit.xml"), + ] + for ignored in shard["ignored"]: + pytest_args += ["--ignore", ignored] + command = [sys.executable] + if args.kind == "coverage": + config = out / "coverage.ini" + result["subprocess_coverage"] = shard.get("subprocess_coverage", True) + coverage_config(config, subprocesses=result["subprocess_coverage"]) + env["COVERAGE_FILE"] = str(out / "coverage.data") + command += ["-m", "coverage", "run", "--rcfile=" + str(config), + "--parallel-mode", "--context=" + shard["id"]] + command += [ + str(Path(__file__).resolve()), "_pytest", "--out", str(out / "tests.json"), + "--expected", str(out / "expected.json"), "--", *pytest_args, + ] + started = time.monotonic() + if args.kind == "slow": + returncode = run_slow_nodes(shard, out, env, result) + else: + with (out / "pytest.log").open("w") as log: + executed = subprocess.run(command, cwd=SUITES[shard["suite"]], env=env, + stdout=log, stderr=subprocess.STDOUT, check=False) + returncode = executed.returncode + receipt = _coverage_receipt(out, shard["nodeids"], returncode) + result.update(receipt) + if not receipt["receipt_complete"]: + returncode = returncode or 1 + with (out / "pytest.log").open("a") as log: + log.write("\nSCHEDULED INCOMPLETE RECEIPT: " + json.dumps(receipt, sort_keys=True) + "\n") + result.update( + status="passed" if returncode == 0 else "failed", + exit_code=returncode, seconds=time.monotonic() - started, + coverage_data=bool(list(out.glob("coverage.data.*"))), + ) + write(out / "result.json", result) + print((out / "pytest.log").read_text()) + return returncode + + +def combine(args: argparse.Namespace) -> None: + from coverage import Coverage + + value = read(args.plan) + out = args.out.resolve() + out.mkdir(parents=True, exist_ok=True) + installation = verify_installation() + directories = sorted({path.parent for path in args.data.rglob("coverage.data.*")}) + found = {read(path)["shard"]["id"]: read(path) for path in args.data.rglob("result.json")} + selected = value["selected_shards"]["coverage"] + complete = ( + len(selected) == len(value["all_shards"]["coverage"]) + and all(found.get(row["id"], {}).get("status") == "passed" + and found[row["id"]].get("coverage_data") for row in selected) + ) + status = {"schema": "solarlab.coverage-report-scope.v1", "commit": value["commit"], + "installed_source_verification": installation, + "report_only": True, "fail_under": None, "full_default_run_passed": complete, + "selected_shards": [row["id"] for row in selected], "shard_results": found, + "limits": ["Python processes using -S may disable startup instrumentation.", + "Historical producer clones and temporary release installations are outside the source filter.", + "Original explicit skips and strict expected failures remain visible in JUnit."]} + write(out / "scope.json", status) + if not directories: + raise RuntimeError("no coverage data was produced; the report is incomplete") + if value["commit"] != commit(): + raise ValueError("coverage report checkout differs from plan source") + for row in found.values(): + if row["commit"] != value["commit"] or row["plan_sha256"] != sha256(args.plan): + raise ValueError("cannot combine data from a different source or plan") + config = out / "coverage.ini" + coverage_config(config) + cov = Coverage(data_file=str(out / "coverage.data"), config_file=str(config)) + cov.combine(data_paths=[str(path) for path in directories], strict=True, keep=True) + cov.save() + cov.xml_report(outfile=str(out / "coverage.xml")) + cov.json_report(outfile=str(out / "coverage.json")) + cov.html_report(directory=str(out / "html")) + with (out / "coverage.txt").open("w") as stream: + cov.report(file=stream) + print((out / "coverage.txt").read_text()) + print(json.dumps({"full_default_run_passed": complete, "report_only": True})) + + +def main() -> int: + parser = argparse.ArgumentParser(description=__doc__) + sub = parser.add_subparsers(dest="command", required=True) + command = sub.add_parser("plan") + command.add_argument("--out", type=Path, required=True) + for kind in ("slow", "coverage"): + command.add_argument("--run-" + kind, choices=("true", "false"), default="true") + command.add_argument("--" + kind + "-shards", default="all") + command = sub.add_parser("run") + command.add_argument("--plan", type=Path, required=True) + command.add_argument("--kind", choices=("slow", "coverage"), required=True) + command.add_argument("--shard", required=True) + command.add_argument("--out", type=Path, required=True) + command = sub.add_parser("combine") + command.add_argument("--plan", type=Path, required=True) + command.add_argument("--data", type=Path, required=True) + command.add_argument("--out", type=Path, required=True) + for name in ("_collect", "_pytest"): + command = sub.add_parser(name) + command.add_argument("--out", type=Path, required=True) + command.add_argument("--expected", type=Path) + command.add_argument("pytest_args", nargs=argparse.REMAINDER) + args = parser.parse_args() + if args.command in ("_collect", "_pytest"): + arguments = args.pytest_args + if arguments and arguments[0] == "--": + arguments = arguments[1:] + return pytest_session(arguments, args.out, read(args.expected) if args.expected else None) + if args.command == "plan": + plan(args) + elif args.command == "run": + return run_shard(args) + else: + combine(args) + return 0 + + +if __name__ == "__main__": + raise SystemExit(main()) diff --git a/tests/ci/policy.py b/tests/ci/policy.py new file mode 100644 index 00000000..1d64414a --- /dev/null +++ b/tests/ci/policy.py @@ -0,0 +1,357 @@ +"""Audit actual workflow pytest directories without maintaining a file allowlist.""" +from __future__ import annotations + +import ast +from dataclasses import dataclass +from pathlib import Path, PurePosixPath +import shlex +from typing import Any + + +@dataclass(frozen=True) +class Selection: + job: str + directories: tuple[str, ...] + markers: str + ignored_files: tuple[str, ...] = () + isolated_group: str | None = None + + +def workflow_selections(workflow: dict[str, Any]) -> tuple[Selection, ...]: + selected = [] + default = workflow.get("defaults", {}).get("run", {}).get("working-directory", ".") + for job, body in workflow["jobs"].items(): + if body.get("if"): + continue # Optional/manual jobs cannot conceal gaps in ordinary CI. + job_cwd = body.get("defaults", {}).get("run", {}).get("working-directory", default) + for step in body.get("steps", []): + if step.get("if"): + continue + if step.get("working-directory", job_cwd) != ".": + continue # The legacy project's separate smoke suite is out of root scope. + group = step.get("env", {}).get("PYTEST_CI_ISOLATED_GROUP") + if group is not None and (not isinstance(group, str) or not group.strip()): + raise ValueError(f"{job}: an isolated process group requires a name") + for line in step.get("run", "").splitlines(): + if "-m pytest" not in line: + continue + argv = shlex.split(line) + argv = argv[argv.index("pytest") + 1:] + if any(arg == "-k" or arg.startswith(("--ignore-glob", "--deselect")) for arg in argv): + raise ValueError(f"{job}: exclusions belong in explicit test prerequisites, not hidden CLI deselection") + positional, ignored = [], [] + index = 0 + while index < len(argv): + argument = argv[index] + if argument == "--ignore": + index += 1 + if index == len(argv): + raise ValueError(f"{job}: --ignore requires an explicit file") + ignored.append(argv[index]) + elif argument.startswith("--ignore="): + ignored.append(argument.split("=", 1)[1]) + else: + positional.append(argument) + index += 1 + directories = tuple(arg for arg in positional if arg == "tests" or arg.startswith("tests/")) + if any("::" in path for path in directories): + raise ValueError(f"{job}: root CI must not select individual test nodes") + if group is None and any(".py" in path for path in directories): + raise ValueError(f"{job}: root CI must discover directories, not list test files") + if not directories: + continue + markers = argv[argv.index("-m") + 1] if "-m" in argv else "not slow" + selected.append(Selection(job, directories, markers, tuple(ignored), group)) + return tuple(selected) + + +def marker_names(nodes: list[ast.AST]) -> set[str]: + result = set() + for node in nodes: + for value in ast.walk(node): + if (isinstance(value, ast.Attribute) and isinstance(value.value, ast.Attribute) + and value.value.attr == "mark"): + result.add(value.attr) + return result + + +def source_test_node_markers(source: str) -> dict[str, set[str]]: + tree = ast.parse(source) + module = marker_names([node.value for node in tree.body if isinstance(node, ast.Assign) + and any(isinstance(t, ast.Name) and t.id == "pytestmark" for t in node.targets)]) + result = {} + for node in tree.body: + if isinstance(node, (ast.FunctionDef, ast.AsyncFunctionDef)) and node.name.startswith("test_"): + result[node.name] = module | marker_names(node.decorator_list) + if isinstance(node, ast.ClassDef): + class_markers = module | marker_names(node.decorator_list) + result.update({f"{node.name}::{child.name}": class_markers | marker_names(child.decorator_list) + for child in node.body if isinstance(child, (ast.FunctionDef, ast.AsyncFunctionDef)) + and child.name.startswith("test_")}) + return result + + +def source_test_markers(source: str) -> tuple[set[str], ...]: + return tuple(source_test_node_markers(source).values()) + + +def matches(expression: str, markers: set[str]) -> bool: + def visit(node: ast.AST) -> bool: + if isinstance(node, ast.Name): + return node.id in markers + if isinstance(node, ast.UnaryOp) and isinstance(node.op, ast.Not): + return not visit(node.operand) + if isinstance(node, ast.BoolOp): + values = [visit(value) for value in node.values] + return all(values) if isinstance(node.op, ast.And) else any(values) + raise ValueError("unsupported CI marker expression") + return visit(ast.parse(expression, mode="eval").body) + + +def source_test_nodes(source: str) -> set[str]: + return set(source_test_node_markers(source)) + + +def audit_fixture_inventory(root: Path, captured: dict[str, str], portable: dict[str, str]) -> list[str]: + """Inventory serialized data without relying on a particular capture schema. + + JSON can store interned binary64 digests, hex words or literal arrays; + NumPy files and compressed readback bundles need the same explicit review. + Portable input/readback/metadata declarations do not authorize comparisons + of newly computed floating outputs to historical words. + """ + # Treat every non-source/documentation asset as a candidate, including + # unfamiliar suffixes. A new encoding must not bypass the inventory. + source_suffixes = {".py", ".pyc", ".pyo", ".md"} + files = {path.relative_to(root).as_posix() for path in (root / "tests").rglob("*") + if path.is_file() and path.suffix not in source_suffixes + and "__pycache__" not in path.parts and path.name != ".DS_Store"} + files.discard("tests/ci/exclusions.json") # This policy is not a numerical fixture. + if captured.keys() & portable.keys(): + raise ValueError("fixture cannot be both captured and portable") + for name, reason in {**captured, **portable}.items(): + if not isinstance(reason, str) or not reason.strip() or (not name.startswith("env:") and name not in files): + raise ValueError(f"stale or unexplained fixture classification: {name}") + missing = sorted(files - captured.keys() - portable.keys()) + if missing: + raise ValueError(f"unclassified serialized fixtures: {missing}") + return sorted(files) + + +def platform_fixture_consumers(sources: dict[str, str], fixtures: dict[str, str]) -> dict[str, list[str]]: + """Conservatively follow fixture references, helpers, imports and pytest fixtures. + + Classification is separate from skipping: input-byte and metadata checks + stay portable, while comparisons to captured floating outputs need the + capture-environment guard. Literal paths, basenames and named external + fixture environment variables are all inventoried by the policy. + """ + symbols: dict[tuple[str, str], ast.AST] = {} + imported: dict[tuple[str, str], tuple[str, str]] = {} + modules: dict[tuple[str, str], str] = {} + tests = set() + + def module_file(module: str) -> str | None: + path = module.replace(".", "/") + ".py" + for candidate in (path, "tests/" + path): + if candidate in sources: + return candidate + candidates = [name for name in sources if PurePosixPath(name).name == path] + return candidates[0] if len(candidates) == 1 else None + + for path, source in sources.items(): + tree = ast.parse(source) + for node in tree.body: + if isinstance(node, (ast.FunctionDef, ast.AsyncFunctionDef)): + symbols[path, node.name] = node + elif isinstance(node, ast.ClassDef): + for method in node.body: + if isinstance(method, (ast.FunctionDef, ast.AsyncFunctionDef)): + symbols[path, node.name + "::" + method.name] = method + elif isinstance(node, (ast.Assign, ast.AnnAssign)): + targets = node.targets if isinstance(node, ast.Assign) else [node.target] + for target in targets: + if isinstance(target, ast.Name) and node.value is not None: + symbols[path, target.id] = node.value + elif isinstance(node, ast.ImportFrom) and node.module: + target = module_file(node.module) + if target is not None: + for alias in node.names: + imported[path, alias.asname or alias.name] = (target, alias.name) + elif isinstance(node, ast.Import): + for alias in node.names: + target = module_file(alias.name) + if target is not None: + modules[path, alias.asname or alias.name] = target + tests.update((path, name) for name in source_test_nodes(source) + if PurePosixPath(path).name.startswith("test_")) + + def resolve(path: str, name: str) -> tuple[str, str] | None: + if (path, name) in symbols: + return path, name + if (path, name) in imported: + return imported[path, name] + for parent in PurePosixPath(path).parents: + key = (str(parent / "conftest.py"), name) + if key in symbols: + return key + return None + + direct: dict[tuple[str, str], set[str]] = {} + edges: dict[tuple[str, str], set[tuple[str, str]]] = {} + origins: dict[tuple[str, str], set[str]] = {} + attributes: list[tuple[tuple[str, str], str]] = [] + for key, node in symbols.items(): + path, _ = key + direct[key], edges[key], origins[key] = set(), set(), set() + for part in ast.walk(node): + if isinstance(part, ast.Constant) and isinstance(part.value, str): + for fixture in fixtures: + label = fixture.removeprefix("env:") + if part.value == label or part.value.endswith("/" + label) or part.value == PurePosixPath(label).name: + direct[key].add(fixture) + target = module_file(part.value.removesuffix(".py")) if part.value.endswith(".py") else None + if target is not None: + origins[key].add(target) + if isinstance(part, (ast.Name, ast.arg)): + dependency = resolve(path, part.id if isinstance(part, ast.Name) else part.arg) + if dependency is not None: + edges[key].add(dependency) + if isinstance(part, ast.Attribute): + if isinstance(part.value, ast.Name) and (path, part.value.id) in modules: + edges[key].add((modules[path, part.value.id], part.attr)) + else: + attributes.append((key, part.attr)) + # runpy.run_path returns an export dictionary, not a module. + # Follow the named export through the same actual-file origins. + if isinstance(part, ast.Subscript) and isinstance(part.slice, ast.Constant) and isinstance(part.slice.value, str): + attributes.append((key, part.slice.value)) + if isinstance(part, ast.Call): + export = None + if isinstance(part.func, ast.Attribute) and part.func.attr == "get" and part.args: + export = part.args[0] + elif isinstance(part.func, ast.Name) and part.func.id == "getattr" and len(part.args) > 1: + export = part.args[1] + if isinstance(export, ast.Constant) and isinstance(export.value, str): + attributes.append((key, export.value)) + if isinstance(part, ast.Call) and isinstance(part.func, ast.Attribute) and part.func.attr in { + "usefixtures", "getfixturevalue"}: + for argument in part.args: + if isinstance(argument, ast.Constant) and isinstance(argument.value, str): + dependency = resolve(path, argument.value) + if dependency is not None: + edges[key].add(dependency) + def propagate(values: dict[tuple[str, str], set[str]]) -> None: + changed = True + while changed: + changed = False + for key, dependencies in edges.items(): + before = len(values[key]) + for dependency in dependencies: + values[key].update(values.get(dependency, ())) + changed |= len(values[key]) != before + + # Resolve dynamically loaded oracle attributes through their actual file, + # not every unrelated module that happens to export a constant named FIXTURE. + propagate(origins) + for key, attribute in attributes: + edges[key].update((path, attribute) for path in origins[key]) + propagate(direct) + return {path + "::" + name: sorted(direct[path, name]) + for path, name in sorted(tests) if direct[path, name]} + + +def audit_platform_fixtures(sources: dict[str, str], fixtures: dict[str, str], + classified: list[str]) -> dict[str, list[str]]: + consumers = platform_fixture_consumers(sources, fixtures) + marked = {path + "::" + name for path, source in sources.items() + if PurePosixPath(path).name.startswith("test_") + for name, markers in source_test_node_markers(source).items() if "platform_bound" in markers} + missing = sorted((set(consumers) | marked) - set(classified)) + if missing: + raise ValueError(f"unclassified platform-bound fixture consumers: {missing}") + unmarked = sorted(set(consumers) - marked) + if unmarked: + raise ValueError(f"platform-bound fixture consumers lack explicit pytest markers: {unmarked}") + return consumers + + +def audit_files(files: dict[str, str], selections: tuple[Selection, ...], + exclusions: dict[str, Any]) -> dict[str, Any]: + """Audit a source mapping, also usable with synthetic in-memory files.""" + excluded = exclusions["files"] + for name, reason in excluded.items(): + if not isinstance(reason, str) or not reason.strip() or name not in files: + raise ValueError(f"stale or unexplained exclusion: {name}") + groups = exclusions.get("isolated_groups", {}) + grouped_files: set[str] = set() + group_report = {} + for group, definition in groups.items(): + paths = definition.get("files", []) + if (not definition.get("reason", "").strip() or not definition.get("job") + or not paths or len(paths) != len(set(paths)) + or any(path not in files or path in grouped_files for path in paths)): + raise ValueError(f"stale or unexplained isolated group: {group}") + grouped_files.update(paths) + invocations = [selection for selection in selections if selection.isolated_group == group] + if len(invocations) != 1: + raise ValueError(f"isolated group {group} must run exactly once; found {len(invocations)}") + selected = invocations[0] + if (selected.job != definition["job"] or selected.directories != tuple(paths) + or selected.ignored_files): + raise ValueError(f"isolated group {group} must use its exact files and job") + for path in paths: + if any("slow" not in markers and not matches(selected.markers, markers) + for markers in source_test_markers(files[path])): + raise ValueError(f"isolated group {group} hides fast tests in {path}") + group_report[group] = {"job": selected.job, "files": paths, "invocations": len(invocations)} + for selection in selections: + if selection.isolated_group is not None and selection.isolated_group not in groups: + raise ValueError(f"undocumented isolated group: {selection.isolated_group}") + for name in selection.ignored_files: + if name not in excluded and name not in grouped_files: + raise ValueError(f"undocumented CI exclusion: {name}") + archive_nodes = exclusions.get("archive_dependent_tests", []) + platform_nodes = exclusions.get("platform_bound", []) + for nodes, label in ((archive_nodes, "archive-dependent"), (platform_nodes, "platform-bound")): + for node in nodes: + name, _, test = node.partition("::") + reason = exclusions.get("conditional_tests", {}).get(node) + if (name not in files or test not in source_test_nodes(files[name]) + or not isinstance(reason, str) or not reason.strip()): + raise ValueError(f"stale or unexplained {label} test: {node}") + uncovered, assignments = [], {} + duplicates, repeated, conflicts = {}, {}, [] + for name, source in sorted(files.items()): + path = PurePosixPath(name) + markers = source_test_markers(source) + candidates = [selection for selection in selections if name not in selection.ignored_files + and any(path.is_relative_to(directory) for directory in selection.directories)] + jobs = sorted({selection.job for selection in candidates + if any(matches(selection.markers, value) for value in markers)}) + assignments[name] = jobs + if len(jobs) > 1: + duplicates[name] = jobs + if any(sum(matches(selection.markers, value) for selection in candidates) > 1 for value in markers): + repeated[name] = [selection.job for selection in candidates] + if jobs and name in excluded: + conflicts.append(name) + if not jobs and name not in excluded: + uncovered.append(name) + if duplicates: + raise ValueError(f"duplicate CI job assignments: {duplicates}") + if repeated: + raise ValueError(f"duplicate CI process invocations: {repeated}") + if conflicts: + raise ValueError(f"covered files conflict with exclusions: {conflicts}") + return {"test_files": len(files), "uncovered_files": uncovered, + "duplicate_files": duplicates, "duplicate_invocations": repeated, "conflicting_exclusions": conflicts, + "isolated_groups": group_report, "archive_dependent_tests": archive_nodes, + "platform_bound": platform_nodes, + "explicit_file_exclusions": excluded, "assignments": assignments} + + +def audit(root: Path, selections: tuple[Selection, ...], exclusions: dict[str, Any]) -> dict[str, Any]: + files = {path.relative_to(root).as_posix(): path.read_text() + for path in (root / "tests").rglob("test_*.py")} + return audit_files(files, selections, exclusions) diff --git a/tests/ci/test_developer_command.py b/tests/ci/test_developer_command.py new file mode 100644 index 00000000..9e403545 --- /dev/null +++ b/tests/ci/test_developer_command.py @@ -0,0 +1,94 @@ +"""The developer green command must preserve CI selection and real failures.""" +from dataclasses import asdict +import json +import os +import sys + +import pytest +import yaml + +from scripts import test_all +from .policy import Selection, workflow_selections + + +def test_developer_command_reuses_every_ci_selection_and_isolated_group(): + workflow = yaml.safe_load((test_all.ROOT / ".github/workflows/ci.yml").read_text()) + expected = workflow_selections(workflow) + actual = test_all.selections(test_all.ROOT) + assert [asdict(group) for group in actual] == [asdict(group) for group in expected] + assert {group.isolated_group for group in actual} >= { + "scan_execution", "supervisor_control_failure", "run_client"} + assert all(path == "tests" or path.startswith("tests/") for group in actual for path in group.directories) + + +def test_environment_pins_threads_and_removes_inherited_selection(monkeypatch): + for variable in test_all.THREADS: + monkeypatch.setenv(variable, "8") + for variable in ("PYTEST_CI_JOB", "PYTEST_CI_ISOLATED_GROUP", "PYTEST_ADDOPTS", "PYTHONPATH", "PYTHONHOME"): + monkeypatch.setenv(variable, "foreign") + isolated = test_all.environment(Selection("backend", ("tests/runtime/test_scan_execution.py",), "not slow", + isolated_group="scan_execution")) + assert isolated["PYTEST_CI_JOB"] == "backend" + assert isolated["PYTEST_CI_ISOLATED_GROUP"] == "scan_execution" + bulk = test_all.environment(Selection("packages", ("tests/integration",), "not slow")) + assert bulk["PYTEST_CI_JOB"] == "packages" + assert "PYTEST_CI_ISOLATED_GROUP" not in bulk + assert all(bulk[name] == "1" for name in test_all.THREADS) + assert not {"PYTEST_ADDOPTS", "PYTHONPATH", "PYTHONHOME"} & bulk.keys() + + +@pytest.mark.parametrize("bad_report", ["missing", "malformed"]) +def test_missing_or_malformed_report_cannot_reuse_an_earlier_pass(tmp_path, monkeypatch, bad_report): + report = tmp_path / "selection_1.xml" + report.write_text('') + + def process(*args, **kwargs): + assert not report.exists() + if bad_report == "malformed": + report.write_text("truncated report") + from types import SimpleNamespace + return SimpleNamespace(returncode=0) + + monkeypatch.setattr(test_all.subprocess, "run", process) + rows = test_all.run_groups(tmp_path, (Selection("core", ("tests",), "not slow"),), tmp_path) + assert rows[0]["status"] == "failed" + assert test_all.summarize(rows)["status"] == "failed" + + +def test_counts_keep_strict_xfail_and_subtests_separate(tmp_path): + report = tmp_path / "report.xml" + report.write_text(''' + + + + + ''') + assert test_all.result_counts(report) == {"passed": 1, "failed": 1, "errors": 1, "skipped": 1, "xfailed": 1} + + +@pytest.mark.parametrize("first_passes", [True, False]) +def test_real_process_isolation_runs_all_groups_and_propagates_failure(tmp_path, monkeypatch, capsys, first_passes): + tests = tmp_path / "tests" + tests.mkdir() + for name, passes in (("first", first_passes), ("second", True)): + (tests / f"test_{name}.py").write_text( + "import json, os\nfrom pathlib import Path\n" + f"def test_{name}():\n" + f" Path({str(tmp_path / (name + '.json'))!r}).write_text(json.dumps(\n" + " [os.getpid(), os.getenv('PYTEST_CI_JOB'), os.getenv('PYTEST_CI_ISOLATED_GROUP')]))\n" + f" assert {passes!r}\n" + ) + selections = (Selection("backend", ("tests/test_first.py",), "not slow", isolated_group="first"), + Selection("frontend", ("tests/test_second.py",), "not slow", isolated_group="second")) + monkeypatch.setattr(test_all, "ROOT", tmp_path) + monkeypatch.setattr(test_all, "selections", lambda root: selections) + assert test_all.main(["--output-dir", str(tmp_path / "results")]) == (0 if first_passes else 1) + records = [json.loads((tmp_path / (name + ".json")).read_text()) for name in ("first", "second")] + assert records[0][0] != records[1][0] and all(record[0] != os.getpid() for record in records) + assert [record[1:] for record in records] == [["backend", "first"], ["frontend", "second"]] + summary = json.loads((tmp_path / "results/summary.json").read_text()) + assert [row["exit_code"] for row in summary["selections"]] == [0 if first_passes else 1, 0] + assert all(row["command"][0] == sys.executable for row in summary["selections"]) + assert summary["counts"]["passed"] == (2 if first_passes else 1) + assert summary["counts"]["failed"] == (0 if first_passes else 1) + assert test_all.LEGACY in capsys.readouterr().out diff --git a/tests/ci/test_ionic_jv_curve_measurement.py b/tests/ci/test_ionic_jv_curve_measurement.py new file mode 100644 index 00000000..14cdc7d2 --- /dev/null +++ b/tests/ci/test_ionic_jv_curve_measurement.py @@ -0,0 +1,82 @@ +"""Pure diagnostic receipt and summary contracts for the dev-only static job.""" +import subprocess + +import pytest + +from scripts.ci import ionic_jv_timing as timing + + +def history(): + return {"controls": {"steady": {"wall_s": 30.}}, "dark_steady": { + "wall_s": .1, "accepted": True, "termination": "converged", "error": None}, + "illumination": {"wall_s": .2, "accepted": True, "termination": "converged", "error": None}, + "curve": {"wall_s": 64.001, "attempts": {"$tuple": [{ + "index": 50, "voltage_V": 1.25, "accepted": False, "termination": "wall_budget_exhausted", + "solver_called": True, "wall_s": .501, "error": "_WaveWallLimit", + "solution": {"wall_s": .5005, "termination": "wall_budget_exhausted", "error": "_WallLimit", + "solver_controls": {"wall_s": .5}}}]}}} + + +def test_failed_curve_and_clipped_point_timings_remain_visible(): + result = timing.numerical_measurements(history()) + assert result["numerical_seconds"] == {"dark_steady": .1, "illumination": .2, "curve": 64.001} + point, = result["point_timings"] + assert point["index"] == 50 and point["wall_s"] == .501 and point["solver_wall_seconds"] == .5005 + assert point["effective_point_wall_seconds"] == .5 and point["wall_censored"] is True + assert result["censoring"] == {"whole_job_wall": False, "numerical_wall": True, + "events": [{"phase": "curve", "index": 50, "limit": "curve_wall_s", "reason": "wall_budget_exhausted"}], + "unobserved_phases": []} + + +def test_initialization_failure_preserves_unstarted_curve(): + data = history() + data["illumination"].update(wall_s=25.01, accepted=False, termination="wall_budget_exhausted") + data["curve"] = None + result = timing.numerical_measurements(data) + assert result["numerical_seconds"] == {"dark_steady": .1, "illumination": 25.01, "curve": None} + assert result["point_timings"] == [] + assert result["censoring"]["unobserved_phases"] == ["curve"] + assert result["censoring"]["events"] == [ + {"phase": "illumination", "limit": "initialization_wall_s", "reason": "wall_budget_exhausted"}] + + +@pytest.mark.parametrize("failed", [False, True]) +def test_measurement_never_recommends_a_shipping_limit_and_keeps_failures(failed): + completed = history() + completed["curve"]["wall_s"] = 20. + point = completed["curve"]["attempts"]["$tuple"][0] + point.update(accepted=True, termination="converged", error=None) + point["solution"].update(termination="converged", error=None, solver_controls={"wall_s": 30.}) + rows = [{"attempt": index, "status": "failed" if failed and index == 3 else "passed", + "measurement": {"measurement_kind": timing.CURVE_MEASUREMENT, "child_wall_seconds": 35., + **timing.numerical_measurements(history() if failed and index == 3 else completed)}} + for index in range(1, 4)] + result = timing.summarize(rows) + assert result["status"] == ("failed" if failed else "passed") + assert result["completed"] == 3 - failed and result["requested"] == 3 + assert result["recommended_wall_seconds"] is None + assert result["recommendation_status"] == "measurement_only" + assert "allowance_sufficient" not in result + assert result["observed_numerical_seconds"]["curve"]["observed"] == 3 + assert result["observed_numerical_seconds"]["curve"]["max"] == (64.001 if failed else 20.) + + + +def test_static_harness_imports_without_service_packages(): + code = """ +import importlib.abc +import runpy +import sys + +class DenyServices(importlib.abc.MetaPathFinder): + def find_spec(self, fullname, path=None, target=None): + if fullname.split(".")[0] in {"fastapi", "solarlab_server"}: + raise ImportError("static tests must not import " + fullname) + +sys.meta_path.insert(0, DenyServices()) +loaded = runpy.run_path(sys.argv[1]) +measurement = loaded["timing"].numerical_measurements(loaded["history"]()) +assert measurement["censoring"]["numerical_wall"] is True +assert not any(name.split(".")[0] in {"fastapi", "solarlab_server"} for name in sys.modules) +""" + subprocess.run([timing.sys.executable, "-c", code, __file__], cwd=timing.ROOT, check=True) diff --git a/tests/ci/test_ionic_jv_diagnostics.py b/tests/ci/test_ionic_jv_diagnostics.py new file mode 100644 index 00000000..9dbb2d85 --- /dev/null +++ b/tests/ci/test_ionic_jv_diagnostics.py @@ -0,0 +1,79 @@ +"""The opt-in ionic HTTP diagnostic must retain failures and every attempt.""" +from pathlib import Path +from types import SimpleNamespace + +import pytest +import yaml + +from scripts.ci import ionic_jv_diagnostics as diagnostics + + +def test_workflow_diagnostics_are_manual_and_keep_both_python_versions(): + workflow = yaml.safe_load((diagnostics.ROOT / ".github/workflows/ci.yml").read_text()) + job = workflow["jobs"]["ionic-jv-diagnostics"] + assert job["if"] == "github.event_name == 'workflow_dispatch' && inputs.run_ionic_jv_diagnostics" + assert job["strategy"]["matrix"]["python"] == ["3.11.16", "3.13.15"] + # PyYAML's YAML 1.1 loader calls the workflow's `on` key True. + inputs = workflow.get("on", workflow.get(True))["workflow_dispatch"]["inputs"] + assert inputs["run_ionic_jv_diagnostics"]["default"] is False + assert inputs["ionic_jv_diagnostic_repetitions"]["default"] == 20 + assert inputs["ionic_jv_measure_curve_64s"]["default"] is False + assert inputs["ionic_jv_measure_curve_64s"]["type"] == "boolean" + timing, = [step for step in job["steps"] if "scripts/ci/ionic_jv_timing.py" in step.get("run", "")] + assert timing["if"] == "always()" + assert timing["env"]["IONIC_JV_DIAGNOSTIC_REPETITIONS"] == "${{ inputs.ionic_jv_diagnostic_repetitions }}" + assert timing["env"]["IONIC_JV_MEASURE_CURVE_64S"] == "${{ inputs.ionic_jv_measure_curve_64s }}" + assert 'if [ "$IONIC_JV_MEASURE_CURVE_64S" = "true" ]' in timing["run"] + assert "measurement_args+=(--diagnostic-curve-64)" in timing["run"] + http, = [step for step in job["steps"] if "scripts/ci/ionic_jv_diagnostics.py" in step.get("run", "")] + assert "IONIC_JV_MEASURE_CURVE_64S" not in http["env"] + assert "--diagnostic-curve-64" not in http["run"] + assert 'ionic-jv-diagnostics-${{ matrix.python }}/uncensored' in timing["run"] + upload, = [step for step in job["steps"] if "actions/upload-artifact@" in step.get("uses", "")] + assert upload["if"] == "always()" + assert "ionic-jv-diagnostics-${{ matrix.python }}" in upload["with"]["path"] + assert upload["with"]["include-hidden-files"] is True + + +@pytest.mark.parametrize("first_code", [0, 1]) +def test_every_attempt_has_distinct_evidence_and_failures_do_not_stop_the_diagnostic(tmp_path, monkeypatch, first_code): + for name in ("PYTEST_ADDOPTS", "PYTEST_CI_ISOLATED_GROUP", "SOLARLAB_IONIC_JV_HTTP_SAVED"): + monkeypatch.setenv(name, "must-not-be-inherited") + calls = [] + + def process(command, **kwargs): + calls.append((command, kwargs)) + number = len(calls) + env = kwargs["env"] + assert env["PYTEST_CI_JOB"] == "backend" and all(env[key] == "1" for key in diagnostics.THREADS) + assert not {"PYTEST_ADDOPTS", "PYTEST_CI_ISOLATED_GROUP", "SOLARLAB_IONIC_JV_HTTP_SAVED"} & env.keys() + evidence = Path(env["SOLARLAB_IONIC_JV_HTTP_EVIDENCE"]) + (evidence / "Receipt.json").write_text(str(number)) + report = Path(next(arg.split("=", 1)[1] for arg in command if arg.startswith("--junitxml="))) + code = first_code if number == 1 else 0 + detail = "" if code else "" + report.write_text(f'{detail}') + return SimpleNamespace(returncode=code) + + monkeypatch.setattr(diagnostics.subprocess, "run", process) + output = tmp_path / "diagnostic" + assert diagnostics.main(["--repetitions", "3", "--output-dir", str(output)]) == first_code + assert len(calls) == 3 + assert [p.read_text() for p in sorted(output.glob("attempt_*/evidence/Receipt.json"))] == ["1", "2", "3"] + assert len({next(arg for arg in command if arg.startswith("--basetemp=")) for command, _ in calls}) == 3 + + +@pytest.mark.parametrize("count", ["0", "-1", "1.5"]) +def test_invalid_repeat_count_cannot_start_work(tmp_path, monkeypatch, count): + monkeypatch.setattr(diagnostics.subprocess, "run", lambda *args, **kwargs: pytest.fail("must not start")) + with pytest.raises(SystemExit) as error: + diagnostics.main(["--repetitions", count, "--output-dir", str(tmp_path / "unused")]) + assert error.value.code == 2 + assert not (tmp_path / "unused").exists() + + +def test_existing_evidence_is_never_overwritten(tmp_path): + (tmp_path / "evidence").write_text("retained") + with pytest.raises(ValueError, match="previous evidence is preserved"): + diagnostics.diagnose(1, tmp_path) + assert (tmp_path / "evidence").read_text() == "retained" diff --git a/tests/ci/test_ionic_jv_timing.py b/tests/ci/test_ionic_jv_timing.py new file mode 100644 index 00000000..92509498 --- /dev/null +++ b/tests/ci/test_ionic_jv_timing.py @@ -0,0 +1,84 @@ +"""Uncensored samples, conservative wall derivation and failed evidence retention.""" +import json +from pathlib import Path +from types import SimpleNamespace + +import pytest + +from scripts.ci import ionic_jv_timing as timing + + +def row(seconds, *, ceiling=400., status="passed"): + return {"status": status, "measurement": {"status": status, "child_wall_seconds": seconds, + "request": {"limits": {"wall_seconds": ceiling}}}} + + +@pytest.mark.parametrize("seconds,expected", [ + (list(range(1, 21)), 128), + (list(range(20, 40)), 152), + ([1.] * 19 + [200.], 400), + ([32.1] * 19 + [40.2], 129), +]) +def test_allowance_uses_floor_p95_max_and_rounds_up(seconds, expected): + result = timing.summarize([row(value) for value in seconds]) + assert result["status"] == "passed" and result["completed"] == 20 + assert result["recommended_wall_seconds"] == expected + assert result["child_wall_seconds"]["max"] == max(seconds) + + +def test_insufficient_provisional_allowance_cannot_be_reported_as_validated(): + result = timing.summarize([row(33., ceiling=128.) for _ in range(20)]) + assert result["status"] == "failed" and result["completed"] == 20 + assert result["recommended_wall_seconds"] == 132 and result["allowance_sufficient"] is False + assert result["reason"] == "installed_allowance_below_uncensored_derivation" + + +def test_numerical_or_process_failure_cannot_disappear_from_uncensored_percentiles(): + result = timing.summarize([row(10.) for _ in range(19)] + [row(25., status="failed")]) + assert result["status"] == "failed" and result["requested"] == 20 and result["completed"] == 19 + assert result["recommended_wall_seconds"] is None and "child_wall_seconds" not in result + + +@pytest.mark.parametrize("first_code", [0, 1]) +@pytest.mark.parametrize("curve_measurement", [False, True]) +def test_timing_runs_every_fresh_child_without_a_whole_job_timeout(tmp_path, monkeypatch, first_code, curve_measurement): + calls = [] + + def run(command, **kwargs): + calls.append((command, kwargs)) + assert command[1:4] == ["-m", "scripts.ci.ionic_jv_timing", "--single"] + assert "timeout" not in kwargs + assert kwargs["env"]["OPENBLAS_NUM_THREADS"] == "1" + assert ("--diagnostic-curve-64" in command) is curve_measurement + directory = Path(command[4]) + code = first_code if len(calls) == 1 else 0 + data = row(10., ceiling=128., status="failed" if code else "passed")["measurement"] + (directory / "Timing.json").write_text(json.dumps(data)) + return SimpleNamespace(returncode=code) + + monkeypatch.setattr(timing.subprocess, "run", run) + output = tmp_path / "timing" + arguments = ["--repetitions", "3", "--output-dir", str(output)] + if curve_measurement: + arguments.append("--diagnostic-curve-64") + assert timing.main(arguments) == first_code + assert len(calls) == len({command[4] for command, _ in calls}) == 3 + summary = json.loads((output / "Summary.json").read_text()) + assert summary["requested"] == 3 and summary["completed"] == 3 - first_code + if curve_measurement: + assert summary["recommended_wall_seconds"] is None and summary["recommendation_status"] == "measurement_only" + assert len(list(output.glob("attempt_*/Timing.json"))) == 3 + + +def test_timing_preserves_previous_evidence(tmp_path): + saved = tmp_path / "Timing.json" + saved.write_text("retained") + with pytest.raises(ValueError, match="previous evidence is preserved"): + timing.diagnose(1, tmp_path) + assert saved.read_text() == "retained" + + +@pytest.mark.parametrize("seconds", [[], [0.], [-1.], [float("nan")], [float("inf")]]) +def test_invalid_measurements_cannot_drive_a_ceiling(seconds): + with pytest.raises(ValueError, match="positive finite"): + timing.distribution(seconds) diff --git a/tests/ci/test_scheduled_recorder.py b/tests/ci/test_scheduled_recorder.py new file mode 100644 index 00000000..8039fabc --- /dev/null +++ b/tests/ci/test_scheduled_recorder.py @@ -0,0 +1,804 @@ +"""Real pytest processes exercise recorder isolation and fail-closed receipts.""" +import hashlib +import json +from pathlib import Path +import random +import runpy +import struct +import subprocess +import sys +import textwrap +from types import SimpleNamespace +import xml.etree.ElementTree as ET + +import pytest + +from scripts.ci import scheduled_suite as scheduled + + +JSON_PROBE = """ +import json +from pathlib import Path +import pytest + +@pytest.fixture(scope="module", autouse=True) +def shared_json(): + def forbidden(*args, **kwargs): + raise AssertionError("test replaced the shared JSON callable") + with pytest.MonkeyPatch.context() as patch: + patch.setattr(json, "dumps", forbidden) + patch.setattr(json, "loads", forbidden) + yield + +def test_monkeypatch(): + assert True + +def test_canary(): + Path("canary").write_text("ran") +""" + + +JSON_INTERNAL_ATTRIBUTES = ( + "json.encoder.encode_basestring_ascii", "json.encoder.encode_basestring", + "json.encoder.c_make_encoder", "json.encoder._make_iterencode", "json.encoder.INFINITY", + "json.encoder.sorted", "json.encoder.TypeError", + "json.JSONEncoder.encode", "json.JSONEncoder.iterencode", "json.JSONEncoder.default", + "json.JSONEncoder.__init__", "json._default_encoder", "json.JSONEncoder", + "json.encoder.JSONEncoder", "json.dump", "json.dumps", "json.encoder", +) +REQUIRED_JSON_INTERNAL_ATTRIBUTES = ( + "json.encoder.encode_basestring_ascii", "json.encoder.c_make_encoder", "json.JSONEncoder.iterencode", +) + + +JSON_INTERNALS_PROBE = ''' +import json, sys, pytest +from pathlib import Path + +def test_monkeypatch(monkeypatch, request): + targets = [] + for path in ATTRIBUTES: + parts = path.split(".") + owner = json + for part in parts[1:-1]: + owner = getattr(owner, part) + targets.append((owner, parts[-1])) + def forbidden(*args, **kwargs): + pytest.fail("shared JSON internals were called") + for owner, name in targets: + monkeypatch.setattr(owner, name, forbidden, raising=False) + recorder = next(p for p in request.config.pluginmanager.get_plugins() + if type(p).__name__ == "_PytestRecorder") + # Exercise snapshots while the patch is active as well as the call journal. + # The parent assertions require an error-free receipt for this operation. + recorder.snapshot() + +def test_canary(): + Path("canary").write_text("ran") +'''.replace("ATTRIBUTES", repr(REQUIRED_JSON_INTERNAL_ATTRIBUTES)) +JSON_ALL_INTERNALS_PROBE = JSON_INTERNALS_PROBE.replace( + repr(REQUIRED_JSON_INTERNAL_ATTRIBUTES), repr(JSON_INTERNAL_ATTRIBUTES), +) + + +def patch_json_internals(monkeypatch): + targets = [] + for path in JSON_INTERNAL_ATTRIBUTES: + parts = path.split(".") + owner = json + for part in parts[1:-1]: + owner = getattr(owner, part) + targets.append((owner, parts[-1])) + + def forbidden(*args, **kwargs): + pytest.fail("shared JSON internals were called") + + for owner, name in targets: + monkeypatch.setattr(owner, name, forbidden, raising=False) + + +def v3_recorder_file(): + path = Path(__file__).parent / "fixtures" / "scheduled_suite_v3.py" + assert hashlib.sha256(path.read_bytes()).hexdigest() == ( + "7a81306030d131c102b160b8d6a9260e18e25b808ef4e561d44f748c9729cb31" + ) + return path + + +def serialization_samples(): + values = [None, True, False, 0, 1, -1, 2**256, -(2**256), + 0.0, -0.0, 0.1, -0.1, 1e-300, 1e300, float("nan"), float("inf"), -float("inf"), + "", 'quotes " and backslashes \\', "\b\f\n\r\t", "".join(map(chr, range(32))), + "é Ω 汉字 🌊 \u2028\u2029", "\ud800\udfff", [], {}, (), + {"z": [None, True, 1.5, {"nested": "Ω"}], "a": (1, 2), "empty": {}}, + {3: "three", 1: "one", 2: "two"}, + {"event": "report", "nodeid": 'test_Ω.py::test_case["x"]', "when": "call", + "outcome": "failed", "duration": 0.123456789, "wasxfail": None, + "longrepr": 'failure\nwith quotes " and a backslash \\'}, + {"status": "running", "items": [{"nodeid": "test.py::test_x", "markers": []}], + "reports": [], "seconds": -0.0}] + rng = random.Random(41201981031) + for _ in range(256): + values.append(struct.unpack("!d", rng.getrandbits(64).to_bytes(8, "big"))[0]) + for _ in range(64): + values.append({"z": [rng.choice(values[:26]), rng.choice(values[:26])], + "a": {"Ω": rng.choice(values[:26]), "b": [rng.randrange(-10000, 10000)]}}) + return values + + +def test_private_serialization_matches_v3_bytes_under_all_json_patches(monkeypatch): + encode_v3 = runpy.run_path(str(v3_recorder_file()))["_RECORDER_DUMPS"] + cases = [(value, {"indent": indent, "sort_keys": sort}) + for value in serialization_samples() for indent in (None, 0, 2, "\t") for sort in (False, True)] + expected = [encode_v3(value, **options) for value, options in cases] + patch_json_internals(monkeypatch) + assert [scheduled._RECORDER_DUMPS(value, **options) for value, options in cases] == expected + + +def test_private_serialization_preserves_invalid_input_failures(monkeypatch): + patch_json_internals(monkeypatch) + cycle = [] + cycle.append(cycle) + with pytest.raises(ValueError, match="Circular reference detected"): + scheduled._RECORDER_DUMPS(cycle) + with pytest.raises(TypeError, match="not JSON serializable"): + scheduled._RECORDER_DUMPS(object()) + with pytest.raises(TypeError, match="keys must be"): + scheduled._RECORDER_DUMPS({object(): "unsupported key"}) + + +def run_recorder(tmp_path, source, *, conftest="", extra=(), runner=None): + (tmp_path / "test_probe.py").write_text(textwrap.dedent(source)) + if conftest: + (tmp_path / "conftest.py").write_text(textwrap.dedent(conftest)) + output = tmp_path / "actual.json" + command = [sys.executable, str(runner or Path(scheduled.__file__)), "_pytest", "--out", str(output), + "--", "test_probe.py", "-q", "-p", "no:cacheprovider", + "--junitxml=" + str(tmp_path / "junit.xml"), *extra] + env = scheduled.pinned_environment() + env["PYTEST_DISABLE_PLUGIN_AUTOLOAD"] = "1" + result = subprocess.run(command, cwd=tmp_path, env=env, text=True, capture_output=True, timeout=30) + data = json.loads(output.read_text()) + journal = [json.loads(line) for line in output.with_suffix(".jsonl").read_text().splitlines()] + errors = [json.loads(line) for line in output.with_suffix(".recorder-errors.jsonl").read_text().splitlines()] + xml = ET.parse(tmp_path / "junit.xml") + return result, data, journal, errors, xml + + +def assert_complete_two_tests(result, data, journal, errors, xml): + assert result.returncode == 0, result.stdout + result.stderr + assert data["status"] == "completed" and data["execution_complete"] + assert data["exit_code"] == data["pytest_exit_code"] == 0 + assert data["recorder_errors"] == errors == [] + assert data["not_started_nodeids"] == data["incomplete_nodeids"] == [] + assert data["started_nodeids"] == ["test_probe.py::test_canary", "test_probe.py::test_monkeypatch"] + phases = [(r["nodeid"], r["when"], r["outcome"]) for r in data["reports"]] + assert phases == [("test_probe.py::" + name, phase, "passed") + for name in ("test_monkeypatch", "test_canary") + for phase in ("setup", "call", "teardown")] + assert [(r["nodeid"], r["when"], r["outcome"]) for r in journal if r["event"] == "report"] == phases + assert len(xml.findall(".//testcase")) == 2 + assert not xml.findall(".//failure") and not xml.findall(".//error") and not xml.findall(".//skipped") + + +def test_real_recorder_survives_shared_json_monkeypatch_and_runs_canary(tmp_path): + observed = run_recorder(tmp_path, JSON_PROBE) + assert_complete_two_tests(*observed) + assert (tmp_path / "canary").read_text() == "ran" + + +@pytest.mark.parametrize("probe", [JSON_INTERNALS_PROBE, JSON_ALL_INTERNALS_PROBE], ids=["required", "all"]) +def test_real_recorder_survives_json_internals_and_keeps_v3_bytes(tmp_path, probe): + observed = run_recorder(tmp_path, probe) + assert_complete_two_tests(*observed) + assert (tmp_path / "canary").read_text() == "ran" + encode_v3 = runpy.run_path(str(v3_recorder_file()))["_RECORDER_DUMPS"] + data, journal = observed[1:3] + assert (tmp_path / "actual.jsonl").read_text() == "".join(encode_v3(row) + "\n" for row in journal) + assert (tmp_path / "actual.json").read_text() == encode_v3(data, indent=2, sort_keys=True) + "\n" + + +@pytest.mark.parametrize("probe", [JSON_INTERNALS_PROBE, JSON_ALL_INTERNALS_PROBE], ids=["required", "all"]) +def test_v3_negative_control_records_json_internals_failure(tmp_path, probe): + result, data, journal, errors, xml = run_recorder(tmp_path, probe, runner=v3_recorder_file()) + assert result.returncode == 1 and data["pytest_exit_code"] == 0 + assert data["status"] == "recorder_error" and data["execution_complete"] + assert len(data["reports"]) == 6 and len(xml.findall(".//testcase")) == 2 + assert data["recorder_errors"] == errors and errors + assert any(row["event"] == "recorder_error" for row in journal) + assert (tmp_path / "canary").read_text() == "ran" + assert "SCHEDULED RECORDER" in result.stderr and "INTERNALERROR" not in result.stdout + + +def test_8a0bf115_recorder_file_negative_control_aborts_before_canary(tmp_path): + # This is the complete git-show 8a0bf115:scripts/ci/scheduled_suite.py file. + # Vendor exact bytes so a shallow checkout still runs the historical plugin. + runner = Path(__file__).parent / "fixtures" / "scheduled_suite_8a0bf115.py" + assert hashlib.sha256(runner.read_bytes()).hexdigest() == ( + "9ac0502f157bf0c5d7ce0dea8286db21af423cf8321e40ecd8a3f47136fc1045" + ) + (tmp_path / "test_probe.py").write_text(textwrap.dedent(JSON_PROBE)) + env = scheduled.pinned_environment() + env["PYTEST_DISABLE_PLUGIN_AUTOLOAD"] = "1" + result = subprocess.run([ + sys.executable, str(runner), "_pytest", "--out", str(tmp_path / "legacy.json"), + "--", "test_probe.py", "-q", "-p", "no:cacheprovider", "--junitxml=legacy.xml", + ], cwd=tmp_path, env=env, + capture_output=True, text=True, timeout=30) + assert result.returncode == 3, result.stdout + result.stderr + assert "test replaced the shared JSON callable" in result.stdout + result.stderr + assert "INTERNALERROR" in result.stdout and not (tmp_path / "canary").exists() + assert ET.parse(tmp_path / "legacy.xml").findall(".//error") + data = json.loads((tmp_path / "legacy.json").read_text()) + assert len(data["reports"]) < 6 + + +def test_module_scoped_patches_leave_clock_io_and_decoder_bound(tmp_path): + source = ''' + import builtins, json, os, sys, time + from pathlib import Path + import pytest + @pytest.fixture(scope="module", autouse=True) + def shared_stdlib(): + def forbidden(*args, **kwargs): + pytest.fail("recorder used a test-patched stdlib callable") + with pytest.MonkeyPatch.context() as patch: + for obj, name in [(json, "dumps"), (json, "loads"), (time, "monotonic"), + (os, "getcwd"), (os, "replace"), (os, "fsync"), (builtins, "open")]: + patch.setattr(obj, name, forbidden) + yield + def test_monkeypatch(request): + recorder = next(p for p in request.config.pluginmanager.get_plugins() + if type(p).__name__ == "_PytestRecorder") + module = sys.modules[type(recorder).__module__] + assert recorder.snapshot() + assert module.read(recorder.output)["status"] == "running" + def test_canary(): + Path("canary").write_text("ran") + ''' + observed = run_recorder(tmp_path, source) + assert_complete_two_tests(*observed) + assert (tmp_path / "canary").read_text() == "ran" + + +def test_session_entry_and_finish_keep_their_original_clock_and_cwd(tmp_path, monkeypatch): + import builtins + import os + import time + + def collection_only(arguments, plugins): + # Isolate pytest's own use of cwd/open from the runner's entry/finalization. + plugins[0].pytest_collection_finish(SimpleNamespace( + config=SimpleNamespace(option=SimpleNamespace(collectonly=True)), items=[], + )) + return 0 + + def forbidden(*args, **kwargs): + pytest.fail("session used a test-patched stdlib callable") + + output = tmp_path / "actual.json" + with monkeypatch.context() as patch: + patch.setattr(pytest, "main", collection_only) + patch.setattr(sys, "path", sys.path.copy()) + for obj, name in [(json, "dumps"), (json, "loads"), (time, "monotonic"), + (os, "getcwd"), (os, "replace"), (os, "fsync"), (builtins, "open")]: + patch.setattr(obj, name, forbidden) + code = scheduled.pytest_session([], output) + assert code == 0 + data = json.loads(output.read_text()) + assert code == 0 and data["status"] == "collected" + assert data["recorder_errors"] == [] and data["seconds"] >= 0 + assert output.with_suffix(".jsonl").exists() + assert output.with_suffix(".recorder-errors.jsonl").read_text() == "" + + +def test_diagnostic_keeps_original_stderr_when_os_write_is_patched(monkeypatch, capfd): + import os + + def forbidden(*args, **kwargs): + pytest.fail("shared os.write was called") + + monkeypatch.setattr(os, "write", forbidden) + scheduled._recorder_diagnostic({"event": "recorder_error", "stage": "stderr-probe"}) + assert "stderr-probe" in capfd.readouterr().err + + +@pytest.mark.parametrize("stage", ["session_clock", "error_sink_flush"]) +def test_finalization_baseexceptions_name_the_failed_operation(tmp_path, monkeypatch, stage): + def broken(*args, **kwargs): + pytest.fail("finalization fault") + + output = tmp_path / "actual.json" + with output.with_suffix(".jsonl").open("w") as journal, \ + output.with_suffix(".recorder-errors.jsonl").open("w") as errors: + recorder = scheduled._PytestRecorder(output, None, journal, errors, tmp_path) + recorder.pytest_collection_finish(SimpleNamespace( + config=SimpleNamespace(option=SimpleNamespace(collectonly=True)), items=[], + )) + if stage == "session_clock": + monkeypatch.setattr(scheduled, "_RECORDER_MONOTONIC", broken) + else: + monkeypatch.setattr(recorder, "error_flush", broken) + assert recorder.finish(0) == 1 + data = json.loads(output.read_text()) + assert data["status"] == "recorder_error" and data["pytest_exit_code"] == 0 + assert [error["stage"] for error in data["recorder_errors"]] == [stage] + + +def test_unexpected_pytest_baseexception_is_finalized(tmp_path, monkeypatch): + def interrupted(arguments, plugins): + plugins[0].pytest_collection_finish(SimpleNamespace( + config=SimpleNamespace(option=SimpleNamespace(collectonly=False)), items=[], + )) + pytest.fail("unexpected pytest failure") + + monkeypatch.setattr(pytest, "main", interrupted) + monkeypatch.setattr(sys, "path", sys.path.copy()) + output = tmp_path / "actual.json" + assert scheduled.pytest_session([], output) == 1 + data = json.loads(output.read_text()) + assert data["status"] == "recorder_error" and data["exit_code"] == 1 + assert [row["stage"] for row in data["recorder_errors"]] == ["pytest_session"] + + +def test_file_setup_baseexception_still_emits_an_explicit_failure(tmp_path, monkeypatch, capfd): + class Unprintable(BaseException): + def __str__(self): + pytest.fail("unprintable exception") + + def broken(*args, **kwargs): + raise Unprintable() + + monkeypatch.setattr(scheduled, "_RECORDER_OPEN", broken) + monkeypatch.setattr(sys, "path", sys.path.copy()) + assert scheduled.pytest_session([], tmp_path / "actual.json") == 1 + diagnostic = capfd.readouterr().err + assert "recorder_files" in diagnostic and "Recorder exception could not be formatted" in diagnostic + + +def test_error_serializer_keeps_bound_string_quoting(monkeypatch): + def forbidden(*args, **kwargs): + pytest.fail("shared string quoting was called") + + monkeypatch.setattr(json.encoder, "encode_basestring_ascii", forbidden) + event = {"event": "recorder_error", "stage": "quoting", "nodeid": None, + "message": 'quoted "text"\nUnicode: Ω\tbackslash: \\', "errors": 1} + assert json.loads(scheduled._recorder_error_line(event)) == event + + +def test_recorder_error_protects_unprintable_exception_messages(tmp_path): + class Unprintable(BaseException): + def __str__(self): + pytest.fail("unprintable exception") + + output = tmp_path / "actual.json" + with output.with_suffix(".jsonl").open("w") as journal, \ + output.with_suffix(".recorder-errors.jsonl").open("w") as errors: + recorder = scheduled._PytestRecorder(output, None, journal, errors, tmp_path) + recorder.error("probe", Unprintable(), "test_probe.py::test_probe") + assert recorder.finish(0) == 1 + data = json.loads(output.read_text()) + recorded = [json.loads(line) for line in output.with_suffix(".recorder-errors.jsonl").read_text().splitlines()] + assert recorded == data["recorder_errors"] and len(recorded) == 1 + assert recorded[0]["error_type"] == "Unprintable" and recorded[0]["stage"] == "probe" + assert recorded[0]["message"] == "Recorder exception could not be formatted" + assert recorded[0]["nodeid"] == "test_probe.py::test_probe" + + +@pytest.mark.parametrize("method", ["encode", "iterencode"]) +@pytest.mark.parametrize("exception", ["RuntimeError", "pytest.fail"]) +def test_patched_encoder_methods_fail_receipts_without_aborting_tests(tmp_path, method, exception): + # Keep the scheduled node identities; V4 strengthens this to clean receipts. + source = ''' + import json, pytest + from pathlib import Path + @pytest.fixture(scope="module", autouse=True) + def broken_encoder(): + def broken(*args, **kwargs): + RAISE + with pytest.MonkeyPatch.context() as patch: + patch.setattr(json.JSONEncoder, METHOD, broken) + yield + def test_monkeypatch(): + assert True + def test_canary(): + Path("canary").write_text("ran") + '''.replace("METHOD", repr(method)).replace( + "RAISE", 'raise RuntimeError("encoder fault")' if exception == "RuntimeError" else + 'pytest.fail("encoder fault")', + ) + observed = run_recorder(tmp_path, source) + assert_complete_two_tests(*observed) + assert (tmp_path / "canary").read_text() == "ran" + + +@pytest.mark.parametrize("fault", ["sinks", "quoting"]) +def test_error_reporting_baseexceptions_do_not_abort_the_canary(tmp_path, fault): + source = ''' + import pytest, sys + from pathlib import Path + def test_monkeypatch(monkeypatch, request): + recorder = next(p for p in request.config.pluginmanager.get_plugins() + if type(p).__name__ == "_PytestRecorder") + module = sys.modules[type(recorder).__module__] + def broken(*args, **kwargs): + pytest.fail("error-path fault") + if FAULT == "sinks": + monkeypatch.setattr(recorder, "journal_write", broken) + monkeypatch.setattr(recorder, "error_write", broken) + monkeypatch.setattr(module, "_RECORDER_STDERR", broken) + else: + monkeypatch.setattr(module, "_RECORDER_DUMPS", broken) + monkeypatch.setattr(module, "_RECORDER_ERROR_QUOTE", broken) + def test_canary(): + Path("canary").write_text("ran") + '''.replace("FAULT", repr(fault)) + result, data, journal, errors, xml = run_recorder(tmp_path, source) + assert result.returncode == 1, result.stdout + result.stderr + assert data["status"] == "recorder_error" and data["pytest_exit_code"] == 0 + assert data["recorder_errors"] and data["execution_complete"] + assert len(data["reports"]) == 6 and (tmp_path / "canary").read_text() == "ran" + assert len(xml.findall(".//testcase")) == 2 and not xml.findall(".//error") + assert "SCHEDULED RECORDER" in result.stderr and "INTERNALERROR" not in result.stdout + if fault == "quoting": + assert errors and all(row == {"event": "recorder_error", "stage": "error_record_encoding"} + for row in errors) + else: + assert errors == [] # Both sinks failed, but the result and stderr still fail explicitly. + + +@pytest.mark.parametrize("hook", ["pytest_collectreport", "pytest_collection_finish", + "pytest_runtest_logstart", "pytest_runtest_logreport", "finish"]) +def test_hook_body_baseexceptions_become_recorder_errors(tmp_path, hook): + class Broken: + def __getattr__(self, name): + pytest.fail("hook property fault") + + def __getitem__(self, name): + pytest.fail("hook item fault") + + output = tmp_path / "actual.json" + with output.with_suffix(".jsonl").open("w") as journal, \ + output.with_suffix(".recorder-errors.jsonl").open("w") as errors: + recorder = scheduled._PytestRecorder(output, None, journal, errors, tmp_path) + if hook == "pytest_runtest_logstart": + recorder.started_nodes = Broken() + recorder.pytest_runtest_logstart("test_probe.py::test_probe", None) + recorder.started_nodes = set() + elif hook == "finish": + recorder.data["items"] = [Broken()] + assert recorder.finish(0) == 1 + recorder.data["items"] = [] + elif hook == "pytest_collection_finish": + with pytest.raises(pytest.UsageError, match="scheduled collection could not be verified"): + recorder.pytest_collection_finish(Broken()) + else: + getattr(recorder, hook)(Broken()) + assert recorder.data["recorder_errors"] + assert recorder.finish(0) == 1 + lines = [json.loads(line) for line in output.with_suffix(".recorder-errors.jsonl").read_text().splitlines()] + assert lines and all(row["event"] == "recorder_error" for row in lines) + + +@pytest.mark.parametrize("exception", [KeyboardInterrupt, SystemExit]) +def test_control_exceptions_propagate_from_hooks_and_error_paths(tmp_path, monkeypatch, exception): + def interrupted(*args, **kwargs): + raise exception() + + output = tmp_path / "actual.json" + with output.with_suffix(".jsonl").open("w") as journal, \ + output.with_suffix(".recorder-errors.jsonl").open("w") as errors: + recorder = scheduled._PytestRecorder(output, None, journal, errors, tmp_path) + monkeypatch.setattr(scheduled, "_RECORDER_DUMPS", interrupted) + with pytest.raises(exception): + recorder.pytest_runtest_logreport(SimpleNamespace( + nodeid="test_probe.py::test_probe", when="call", outcome="passed", duration=0, failed=False, + )) + with pytest.raises(exception): + recorder.snapshot() + monkeypatch.setattr(scheduled, "_RECORDER_MONOTONIC", interrupted) + with pytest.raises(exception): + recorder.pytest_runtest_logstart("test_probe.py::test_probe", None) + monkeypatch.setattr(scheduled, "_RECORDER_STDERR", interrupted) + with pytest.raises(exception): + scheduled._recorder_diagnostic({"event": "recorder_error"}) + monkeypatch.setattr(scheduled, "_RECORDER_ERROR_QUOTE", interrupted) + with pytest.raises(exception): + recorder.error("interrupted", ValueError("failure")) + + +@pytest.mark.parametrize("sink", ["journal", "snapshot", "encoder"]) +@pytest.mark.parametrize("exception", ["OSError", "pytest.fail"]) +def test_recorder_io_failure_keeps_tests_running_but_fails_receipt(tmp_path, sink, exception): + source = ''' + import json, os, sys, pytest + from pathlib import Path + def test_monkeypatch(monkeypatch, request): + recorder = next(p for p in request.config.pluginmanager.get_plugins() + if type(p).__name__ == "_PytestRecorder") + module = sys.modules[type(recorder).__module__] + def broken(*args, **kwargs): + RAISE + def forbidden(*args, **kwargs): + raise AssertionError("error reporting used a shared callable") + for obj, name in [(json, "dumps"), (json, "loads"), (os, "write")]: + monkeypatch.setattr(obj, name, forbidden) + monkeypatch.setattr(json.JSONEncoder, "iterencode", forbidden) + if SINK == "journal": + monkeypatch.setattr(recorder, "journal_write", broken) + elif SINK == "encoder": + monkeypatch.setattr(module, "_RECORDER_DUMPS", broken) + else: + monkeypatch.setattr(module, "_RECORDER_REPLACE", broken) + assert not recorder.snapshot() + def test_canary(): + Path("canary").write_text("ran") + '''.replace("SINK", repr(sink)).replace( + "RAISE", 'raise OSError("injected recorder I/O failure")' if exception == "OSError" else + 'pytest.fail("injected recorder I/O failure")', + ) + result, data, journal, errors, xml = run_recorder(tmp_path, source) + assert result.returncode == 1, result.stdout + result.stderr + assert data["pytest_exit_code"] == 0 and data["exit_code"] == 1 + assert data["status"] == "recorder_error" and data["execution_complete"] + assert len(data["reports"]) == 6 and (tmp_path / "canary").read_text() == "ran" + assert errors and errors == data["recorder_errors"] + assert all(r["event"] == "recorder_error" and "injected recorder I/O failure" in r["message"] for r in errors) + assert {row["stage"] for row in errors} == ({"snapshot"} if sink == "snapshot" else {"journal"}) + assert "SCHEDULED RECORDER" in result.stderr and "INTERNALERROR" not in result.stdout + if sink != "journal": + assert any(r["event"] == "recorder_error" for r in journal) + assert len(xml.findall(".//testcase")) == 2 and not xml.findall(".//error") + + +def test_final_snapshot_failure_cannot_leave_a_passing_receipt(tmp_path): + conftest = ''' + import sys + def pytest_sessionfinish(session, exitstatus): + recorder = next(p for p in session.config.pluginmanager.get_plugins() + if type(p).__name__ == "_PytestRecorder") + module = sys.modules[type(recorder).__module__] + replace = module._RECORDER_REPLACE + def fail_once(*args, **kwargs): + module._RECORDER_REPLACE = replace + raise OSError("injected final snapshot failure") + module._RECORDER_REPLACE = fail_once + ''' + result, data, journal, errors, xml = run_recorder(tmp_path, JSON_PROBE, conftest=conftest) + assert result.returncode == 1, result.stdout + result.stderr + assert data["pytest_exit_code"] == 0 and data["exit_code"] == 1 + assert data["status"] == "recorder_error" and data["execution_complete"] + assert len(data["reports"]) == 6 and len(xml.findall(".//testcase")) == 2 + assert errors == data["recorder_errors"] and len(errors) == 1 + assert errors[0]["stage"] == "snapshot" + assert "injected final snapshot failure" in result.stderr + assert any(r["event"] == "recorder_error" for r in journal) + + +def test_incomplete_zero_exit_is_failed_and_names_unexecuted_cases(tmp_path): + source = ''' + import pytest + def test_first(): + pytest.exit("explicit early exit", returncode=0) + def test_canary(): + assert False, "must not run" + ''' + result, data, journal, errors, xml = run_recorder(tmp_path, source) + assert result.returncode == 1, result.stdout + result.stderr + assert data["pytest_exit_code"] == 0 and data["exit_code"] == 1 + assert data["status"] == "incomplete" and not data["execution_complete"] + assert data["not_started_nodeids"] == ["test_probe.py::test_canary"] + assert data["incomplete_nodeids"] == ["test_probe.py::test_first"] + assert "incomplete" in result.stderr + + +def test_unverifiable_external_collection_refuses_before_test_body(tmp_path): + cwd, external = tmp_path / "cwd", tmp_path / "external" + cwd.mkdir() + external.mkdir() + sentinel = tmp_path / "body-ran" + probe = external / "test_probe.py" + probe.write_text("from pathlib import Path\ndef test_probe():\n" + f" Path({str(sentinel)!r}).write_text('ran')\n") + expected, output = tmp_path / "expected.json", tmp_path / "actual.json" + expected.write_text(json.dumps(["test_probe.py::test_probe"])) + env = scheduled.pinned_environment() + env["PYTEST_DISABLE_PLUGIN_AUTOLOAD"] = "1" + command = [sys.executable, str(Path(scheduled.__file__)), "_pytest", "--out", str(output), + "--expected", str(expected), "--", str(probe), "-q", "-p", "no:cacheprovider", + "--junitxml=" + str(tmp_path / "junit.xml")] + result = subprocess.run(command, cwd=cwd, env=env, text=True, capture_output=True, timeout=30) + assert result.returncode == 4, result.stdout + result.stderr + assert not sentinel.exists() + assert "scheduled collection could not be verified" in result.stderr + data = json.loads(output.read_text()) + assert data["status"] == "incomplete" and data["pytest_exit_code"] == data["exit_code"] == 4 + assert not data["collection_complete"] and not data["execution_complete"] + assert data["reports"] == data["started_nodeids"] == [] + assert [row["stage"] for row in data["recorder_errors"]] == ["collection"] + errors = [json.loads(line) for line in output.with_suffix(".recorder-errors.jsonl").read_text().splitlines()] + assert errors == data["recorder_errors"] + journal = [json.loads(line) for line in output.with_suffix(".jsonl").read_text().splitlines()] + assert all(row["event"] == "recorder_error" for row in journal) + assert not ET.parse(tmp_path / "junit.xml").findall(".//testcase") + + +def test_started_node_without_any_report_is_incomplete_not_unstarted(tmp_path): + conftest = ''' + import pytest + @pytest.hookimpl(trylast=True) + def pytest_runtest_logstart(nodeid, location): + pytest.exit("exit after recorder start but before setup", returncode=0) + ''' + result, data, journal, errors, xml = run_recorder(tmp_path, JSON_PROBE, conftest=conftest) + assert result.returncode == 1, result.stdout + result.stderr + assert data["status"] == "incomplete" and data["pytest_exit_code"] == 0 + assert data["reports"] == [] and not data["execution_complete"] + assert data["started_nodeids"] == ["test_probe.py::test_monkeypatch"] + assert data["incomplete_nodeids"] == ["test_probe.py::test_monkeypatch"] + assert data["not_started_nodeids"] == ["test_probe.py::test_canary"] + assert [row["nodeid"] for row in journal if row["event"] == "start"] == data["started_nodeids"] + + +def test_internal_error_is_incomplete_and_preserves_pytest_exit_code(tmp_path): + conftest = ''' + def pytest_runtest_logreport(report): + if report.when == "call": + raise RuntimeError("external plugin aborted test execution") + ''' + result, data, journal, errors, xml = run_recorder(tmp_path, JSON_PROBE, conftest=conftest) + assert result.returncode == data["pytest_exit_code"] == data["exit_code"] == 3 + assert data["status"] == "incomplete" and not data["execution_complete"] + assert data["not_started_nodeids"] == ["test_probe.py::test_canary"] + assert data["incomplete_nodeids"] == ["test_probe.py::test_monkeypatch"] + assert "INTERNALERROR" in result.stdout and "incomplete" in result.stderr + assert not (tmp_path / "canary").exists() + + +def test_collect_only_has_explicit_collected_status(tmp_path): + result, data, journal, errors, xml = run_recorder(tmp_path, JSON_PROBE, extra=("--collect-only",)) + assert result.returncode == 0, result.stdout + result.stderr + assert data["status"] == "collected" and data["collection_complete"] + assert not data["execution_complete"] and data["reports"] == [] + assert data["recorder_errors"] == errors == [] + assert not (tmp_path / "canary").exists() + + +def test_setup_error_and_setup_skip_are_complete_terminal_outcomes(tmp_path): + source = ''' + import pytest + @pytest.fixture + def broken(): + raise ValueError("fixture failure") + def test_error(broken): + assert False + @pytest.mark.skip(reason="explicit test fixture skip") + def test_skip(): + assert False + ''' + result, data, journal, errors, xml = run_recorder(tmp_path, source) + assert result.returncode == 1 + assert data["status"] == "completed" and data["execution_complete"] + assert data["not_started_nodeids"] == data["incomplete_nodeids"] == [] + assert not errors and not data["recorder_errors"] + assert len(xml.findall(".//error")) == len(xml.findall(".//skipped")) == 1 + + +def run_coverage_shard(tmp_path, monkeypatch, source, expected): + (tmp_path / "test_probe.py").write_text(textwrap.dedent(source)) + (tmp_path / "uv.lock").write_text("frozen synthetic lock\n") + monkeypatch.setattr(scheduled, "ROOT", tmp_path) + monkeypatch.setattr(scheduled, "SUITES", {"root": tmp_path}) + monkeypatch.setattr(scheduled, "commit", lambda: "frozen") + monkeypatch.setattr(scheduled, "verify_installation", lambda: {}) + monkeypatch.setenv("PYTEST_DISABLE_PLUGIN_AUTOLOAD", "1") + shard = {"id": "probe", "suite": "root", "paths": ["test_probe.py"], + "markers": "not slow", "ignored": [], "nodeids": expected} + plan = tmp_path / "plan.json" + scheduled.write(plan, {"commit": "frozen", "lock_sha256": scheduled.sha256(tmp_path / "uv.lock"), + "selected_shards": {"coverage": [shard]}}) + out = tmp_path / "out" + code = scheduled.run_shard(SimpleNamespace(plan=plan, kind="coverage", shard="probe", out=out)) + return code, scheduled.read(out / "result.json"), out + + +def test_coverage_hard_zero_exit_fails_and_names_missing_nodes(tmp_path, monkeypatch): + source = ''' + import os + def test_first(): + assert True + def test_exit(): + os._exit(0) + def test_canary(): + assert False, "must not run" + ''' + expected = ["test_probe.py::" + name for name in ("test_first", "test_exit", "test_canary")] + code, result, out = run_coverage_shard(tmp_path, monkeypatch, source, expected) + assert code == result["exit_code"] == 1 and result["status"] == "failed" + assert result["pytest_process_exit_code"] == 0 and not result["receipt_complete"] + assert result["not_started_nodeids"] == [expected[2]] + assert result["incomplete_nodeids"] == [expected[1]] + assert scheduled.read(out / "tests.json")["status"] == "running" + log = (out / "pytest.log").read_text() + assert "SCHEDULED INCOMPLETE RECEIPT" in log and expected[1] in log and expected[2] in log + + +def test_coverage_complete_receipt_accepts_worker_local_parameter_ids(tmp_path, monkeypatch): + source = ''' + import pytest + @pytest.mark.parametrize("value", [1, 2], ids=["local-one", "local-two"]) + def test_probe(value): + assert value > 0 + ''' + expected = ["test_probe.py::test_probe[plan-one]", "test_probe.py::test_probe[plan-two]"] + code, result, out = run_coverage_shard(tmp_path, monkeypatch, source, expected) + assert code == 0 and result["status"] == "passed" and result["receipt_complete"] + assert result["receipt_errors"] == result["not_started_nodeids"] == result["incomplete_nodeids"] == [] + data = scheduled.read(out / "tests.json") + assert [row["nodeid"] for row in data["items"]] == [ + "test_probe.py::test_probe[local-one]", "test_probe.py::test_probe[local-two]", + ] + assert len(data["reports"]) == 6 and len(ET.parse(out / "junit.xml").findall(".//testcase")) == 2 + + +@pytest.mark.parametrize("corruption", ["no-final-status", "collection-flag", "execution-flag", + "missing-phase", "extra-node", "recorder-error", "torn-journal", + "function-count", "exit-code"]) +def test_coverage_receipt_rejects_false_completeness(tmp_path, corruption): + nodeid = "test_probe.py::test_probe" + reports = [{"nodeid": nodeid, "when": phase, "outcome": "passed"} + for phase in ("setup", "call", "teardown")] + data = {"items": [{"nodeid": nodeid}], "reports": reports, "status": "completed", + "exit_code": 0, "collection_complete": True, "execution_complete": True, + "recorder_errors": [], "started_nodeids": [nodeid]} + if corruption == "no-final-status": + data["status"] = "running" + elif corruption == "collection-flag": + data["collection_complete"] = False + elif corruption == "execution-flag": + data["execution_complete"] = False + elif corruption == "missing-phase": + reports.pop() + elif corruption == "extra-node": + reports.append({"nodeid": "test_probe.py::unplanned", "when": "call", "outcome": "passed"}) + elif corruption == "recorder-error": + data["recorder_errors"] = [{"event": "recorder_error", "stage": "journal"}] + elif corruption == "exit-code": + data["exit_code"] = 1 + scheduled.write(tmp_path / "tests.json", data) + journal = "".join(json.dumps({"event": "report", **row}) + "\n" for row in reports) + (tmp_path / "tests.jsonl").write_text(journal + ('{"interrupted":' if corruption == "torn-journal" else "")) + expected = [nodeid, "test_probe.py::test_missing"] if corruption == "function-count" else [nodeid] + result = scheduled._coverage_receipt(tmp_path, expected, 0) + assert not result["receipt_complete"] and result["receipt_errors"] + if corruption == "missing-phase": + assert result["incomplete_nodeids"] == [nodeid] + + +def test_slow_child_recorder_error_has_its_own_failure_label(tmp_path, monkeypatch): + (tmp_path / "test_probe.py").write_text(textwrap.dedent(''' + import pytest, sys + def test_probe(monkeypatch, request): + recorder = next(p for p in request.config.pluginmanager.get_plugins() + if type(p).__name__ == "_PytestRecorder") + def broken(*args, **kwargs): + pytest.fail("slow recorder fault") + monkeypatch.setattr(sys.modules[type(recorder).__module__], "_RECORDER_DUMPS", broken) + ''')) + out = tmp_path / "out" + out.mkdir() + nodeid = "test_probe.py::test_probe" + scheduled.write(out / "expected.json", [nodeid]) + monkeypatch.setattr(scheduled, "SUITES", {"legacy": tmp_path}) + monkeypatch.setenv("PYTEST_DISABLE_PLUGIN_AUTOLOAD", "1") + shard = {"id": "probe", "suite": "legacy", "paths": ["test_probe.py"], + "markers": "not slow", "ignored": [], "node_wall_seconds": 10} + assert scheduled.run_slow_nodes(shard, out, scheduled.pinned_environment(), {}) == 1 + child = scheduled.read(out / "nodes/0000/tests.json") + assert child["status"] == "recorder_error" and child["execution_complete"] + result = scheduled.read(out / "tests.json") + assert result["node_outcomes"][0]["outcome"] == "recorder_error" + failure = ET.parse(out / "junit.xml").find(".//failure") + assert failure is not None and failure.get("type") == "recorder_error" + assert failure.get("message") == "Scheduled node recorder error" + assert ET.parse(out / "nodes/0000/junit.xml").findall(".//testcase") diff --git a/tests/ci/test_scheduled_suite.py b/tests/ci/test_scheduled_suite.py new file mode 100644 index 00000000..0d37e5a8 --- /dev/null +++ b/tests/ci/test_scheduled_suite.py @@ -0,0 +1,811 @@ +"""Contracts for the separate scheduled workflow; production gates stay unchanged.""" +from collections import Counter +import json +from pathlib import Path +import subprocess +import sys +from types import SimpleNamespace +import xml.etree.ElementTree as ET + +import pytest +import yaml + +from scripts.ci import scheduled_suite as scheduled + + +def item(path, name="test_case", markers=()): + return {"path": path, "nodeid": path + "::" + name, "markers": list(markers)} + + +def inventory(): + return { + "root": {"items": [ + item("tests/ci/test_guard.py"), + item("tests/unit/test_kernel.py"), + item("tests/integration/test_package.py"), + item("tests/runtime/test_pool.py"), + item("tests/runtime/test_scan_execution.py"), + item("tests/runtime/test_supervisor_control_failure.py"), + item("tests/refactor/test_browser.py", markers=("frontend",)), + item("tests/runtime/test_run_client_contract.py", markers=("frontend",)), + item("tests/numerical_contracts/test_slow_case.py", markers=("slow",)), + ]}, + "legacy": {"items": [ + item("tests/unit/test_one.py"), + item("tests/unit/physics/test_two.py"), + item("tests/regression/test_twod_validation.py", "test_a", ("slow",)), + item("tests/regression/test_twod_validation.py", "test_b", ("slow",)), + item("tests/regression/test_other.py", "test_a", ("slow",)), + item("tests/regression/test_other.py", "test_b", ("slow",)), + ]}, + } + + +def test_actual_push_partition_is_reused_without_losing_process_isolation(): + shards = scheduled.build_shards(inventory()) + rows = {row["id"]: row for row in shards["coverage"]} + assert rows["coverage-root-backend"]["ignored"] == [ + "tests/runtime/test_scan_execution.py", + "tests/runtime/test_supervisor_control_failure.py", + ] + assert rows["coverage-root-backend-scan_execution"]["count"] == 1 + assert rows["coverage-root-backend-supervisor_control_failure"]["count"] == 1 + assert rows["coverage-root-frontend-run_client"]["count"] == 1 + assert rows["coverage-root-frontend"]["ignored"] == [ + "tests/runtime/test_run_client_contract.py" + ] + assert sum(row["count"] for row in shards["coverage"]) == 10 + assert sum(row["count"] for row in shards["slow"]) == 5 + assert len(shards["slow"]) == 4 # Two expensive nodes; other file fixtures shared. + assert Counter(row["suite"] for row in shards["slow"]) == {"root": 1, "legacy": 3} + + +def test_new_unowned_root_directory_fails_the_default_suite_plan(): + data = inventory() + data["root"]["items"].append(item("tests/unowned/test_new.py")) + with pytest.raises(ValueError, match="partition mismatch"): + scheduled.build_shards(data) + + +def test_clock_bound_files_run_once_in_explicit_parent_only_coverage_shards(): + data = inventory() + for path in scheduled.PARENT_ONLY_COVERAGE: + data["root"]["items"].append(item(path)) + rows = {row["id"]: row for row in scheduled.build_shards(data)["coverage"]} + for job, file in [("core", "test_g2_route_launcher.py"), + ("backend", "test_ionic_jv_job_service.py")]: + isolated = next(row for row in rows.values() if row["paths"] == [next( + path for path in scheduled.PARENT_ONLY_COVERAGE if path.endswith(file) + )]) + assert isolated["ci_job"] == job and isolated["subprocess_coverage"] is False + assert isolated["coverage_limitation"] + assert isolated["paths"][0] in rows["coverage-root-" + job]["ignored"] + assert sum(isolated["nodeids"][0] in row["nodeids"] for row in rows.values()) == 1 + assert rows["coverage-root-backend-scan_execution"].get("subprocess_coverage", True) + + +def test_large_slow_function_keeps_all_parameterized_cases_together(): + data = {"legacy": {"items": [ + item("tests/integration/test_large.py", f"test_case[{i}]", ("slow",)) + for i in range(52) + ]}} + shards = scheduled.build_shards(data)["slow"] + assert [row["count"] for row in shards] == [52] + assert shards[0]["paths"] == ["tests/integration/test_large.py::test_case"] + assert shards[0]["function_counts"] == {"tests/integration/test_large.py::test_case": 52} + assert len({node for row in shards for node in row["nodeids"]}) == 52 + + +def test_large_slow_file_splits_only_between_functions(): + data = {"legacy": {"items": [ + item("tests/integration/test_large.py", f"test_{name}[{i}]", ("slow",)) + for name, count in (("a", 20), ("b", 20), ("c", 12)) for i in range(count) + ]}} + shards = scheduled.build_shards(data)["slow"] + assert [row["count"] for row in shards] == [20, 20, 12] + assert all(len(row["paths"]) == 1 and "[" not in row["paths"][0] for row in shards) + + +def test_float_repr_drift_does_not_change_function_selectors_or_shard_ids(): + path = "tests/integration/test_physical_interface_cbo_scan.py" + plans = [] + for value in ("-0.04056782763682157", "-0.040567827636821575"): + plans.append(scheduled.build_shards({"legacy": {"items": [ + item(path, f"TestProbe::test_case[{value}]", ("slow",)), + item(path, "TestProbe::test_case[1.0]", ("slow",)), + ]}})["slow"]) + left, right = plans[0][0], plans[1][0] + assert len(plans[0]) == len(plans[1]) == 1 + assert left["id"] == right["id"] + assert left["paths"] == right["paths"] == [path + "::TestProbe::test_case"] + assert left["function_counts"] == right["function_counts"] == {path + "::TestProbe::test_case": 2} + assert left["nodeids"] != right["nodeids"] # Raw observations remain inspectable. + + +def test_integration_coverage_retains_each_file_once_in_its_own_shard(): + data = {"legacy": {"items": [ + item("tests/integration/test_first.py", f"test_case[{i}]") for i in range(3) + ] + [item("tests/integration/test_second.py"), item("tests/unit/test_small.py")]}} + rows = scheduled.build_shards(data)["coverage"] + integration = [row for row in rows if row["id"].startswith("coverage-legacy-integration-")] + assert len(integration) == 2 + assert sorted(row["count"] for row in integration) == [1, 3] + assert all(len(row["paths"]) == 1 for row in integration) + assert sum(row["count"] for row in rows) == 5 + + +def test_coverage_watchdog_designation_names_only_dedicated_legacy_files(): + assert scheduled.LEGACY_COVERAGE_NODE_SECONDS == { + "tests/integration/test_interface_flux_balance.py": 1200, + } + for path, seconds in scheduled.LEGACY_COVERAGE_NODE_SECONDS.items(): + assert (scheduled.SUITES["legacy"] / path).is_file() + assert not (scheduled.SUITES["root"] / path).exists() + assert Path(path).parent.as_posix() in scheduled.FILE_COVERAGE_SHARDS + assert seconds == scheduled.slow_node_seconds("legacy", path) + assert (3 + 1) * seconds == 80 * 60 # Three nodes and collection; step is 110 min. + + +def test_coverage_watchdog_preserves_every_other_plan_byte_and_all_node_ids(monkeypatch): + path = "tests/integration/test_interface_flux_balance.py" + data = inventory() + data["legacy"]["items"].extend(item(path, f"test_{i}") for i in range(3)) + data["legacy"]["items"].append(item(path, "test_slow", ("slow",))) + data["root"]["items"].append(item(path)) # A same-named root file is never designated. + current = scheduled.build_shards(data) + with monkeypatch.context() as patch: + patch.setattr(scheduled, "LEGACY_COVERAGE_NODE_SECONDS", {}) + previous = scheduled.build_shards(data) + designated = next(row for row in current["coverage"] + if row["id"] == "coverage-legacy-integration-interface_flux_balance") + assert designated.pop("node_wall_seconds") == 1200 + assert json.dumps(current, sort_keys=True) == json.dumps(previous, sort_keys=True) + + +def test_coverage_watchdog_refuses_shared_files_and_growth_beyond_step_margin(): + path = "tests/integration/test_interface_flux_balance.py" + with pytest.raises(ValueError, match="dedicated legacy file"): + scheduled.make_shard("coverage", "legacy", [path, "tests/other.py"], "not slow", [item(path)]) + with pytest.raises(ValueError, match="exceed 90 minutes"): + scheduled.make_shard("coverage", "legacy", [path], "not slow", + [item(path, f"test_{i}") for i in range(4)]) + + +def test_cigs_slow_file_is_split_by_function_with_parameters_kept_together(): + path = "tests/regression/test_grading_cigs_notch.py" + data = {"legacy": {"items": [ + item(path, f"test_thickness[{v}]", ("slow",)) for v in (0.5, 1.0, 2.0) + ] + [item(path, "test_production", ("slow",)), item(path, "test_observations", ("slow",))]}} + rows = scheduled.build_shards(data)["slow"] + assert sorted(row["count"] for row in rows) == [1, 1, 3] + assert all(len(row["paths"]) == 1 and "[" not in row["paths"][0] for row in rows) + + +def test_function_cannot_span_shards_even_when_raw_node_partition_is_exact(): + nodes = ["test.py::test_x[0.1]", "test.py::test_x[0.2]"] + shards = [{"id": str(i), "suite": "root", "nodeids": [node]} for i, node in enumerate(nodes)] + with pytest.raises(ValueError, match="test function split across shards"): + scheduled.verify_partition(shards, [("root", node) for node in nodes]) + + +def test_duplicate_coverage_is_not_silently_deduplicated(): + shard = {"id": "a", "suite": "root", "nodeids": ["test.py::test_x"]} + with pytest.raises(ValueError, match="partition mismatch"): + scheduled.verify_partition([shard, dict(shard, id="b")], [("root", "test.py::test_x")]) + + +@pytest.mark.parametrize("requested", ["", "a,a", "missing", "a,", "a;echo hidden"]) +def test_manual_shard_selection_rejects_invalid_or_unknown_ids(requested): + with pytest.raises(ValueError): + scheduled.choose([{"id": "a"}, {"id": "b"}], requested) + + +def test_manual_shard_selection_preserves_explicit_subset_and_all(): + rows = [{"id": "a"}, {"id": "b"}] + assert scheduled.choose(rows, "b") == [rows[1]] + assert scheduled.choose(rows, "all") == rows + + +def test_coverage_filters_current_source_and_installed_copy_not_foreign_producers(tmp_path): + config = tmp_path / "coverage.ini" + scheduled.coverage_config(config) + text = config.read_text() + assert "src/solarlab" in text and "perovskite-sim/perovskite_sim" in text + assert "site-packages/solarlab" in text + assert "patch = subprocess" in text + assert "*" not in text + assert "fail_under" not in text and "fail-under" not in text + + +def test_parent_only_coverage_keeps_parent_trace_and_leaves_children_uninstrumented(tmp_path): + config = tmp_path / "coverage.ini" + scheduled.coverage_config(config, subprocesses=False) + assert "patch = subprocess" not in config.read_text() + probe = tmp_path / "probe.py" + probe.write_text( + "import coverage, subprocess, sys\n" + "assert coverage.Coverage.current() is not None\n" + "subprocess.run([sys.executable, '-c', " + "'import coverage; assert coverage.Coverage.current() is None'], check=True)\n" + ) + env = scheduled.pinned_environment() + env["COVERAGE_FILE"] = str(tmp_path / "coverage.data") + result = subprocess.run([sys.executable, "-m", "coverage", "run", "--rcfile=" + str(config), str(probe)], + env=env, cwd=tmp_path, text=True, capture_output=True, timeout=30) + assert result.returncode == 0, result.stdout + result.stderr + + +@pytest.mark.parametrize(("kind", "job", "source_bound"), [ + ("coverage", "core", True), + ("coverage", "backend", False), + ("slow", None, False), +]) +def test_core_source_binding_follows_installation_audit_only_in_its_child( + tmp_path, monkeypatch, kind, job, source_bound, +): + monkeypatch.setattr(scheduled, "ROOT", tmp_path) + monkeypatch.setattr(scheduled, "SUITES", {"root": tmp_path}) + monkeypatch.setattr(scheduled, "commit", lambda: "frozen") + monkeypatch.setenv("PYTHONPATH", "/foreign/source") + monkeypatch.delenv("PYTEST_CI_JOB", raising=False) + (tmp_path / "uv.lock").write_text("locked") + shard = {"id": "case", "suite": "root", "paths": ["tests"], + "markers": "not slow", "nodeids": ["tests/test_one.py::test_one"], + "ignored": [], "ci_job": job} + plan = tmp_path / "plan.json" + scheduled.write(plan, {"commit": "frozen", "lock_sha256": scheduled.sha256(tmp_path / "uv.lock"), + "selected_shards": {kind: [shard]}}) + audited = [] + + def audit(): + # Source binding must not make the installation guard audit itself. + assert scheduled.os.environ["PYTHONPATH"] == "/foreign/source" + audited.append(True) + return {"solarlab": {"files_verified": 1}} + + def execute(command, **kwargs): + assert audited == [True] + assert kwargs["env"].get("PYTHONPATH") == ( + str(tmp_path / "src") if source_bound else None + ) + assert kwargs["env"].get("PYTEST_CI_JOB") == job + assert ("coverage" in command) is (kind == "coverage") + nodeid = shard["nodeids"][0] + reports = [{"nodeid": nodeid, "when": phase, "outcome": "passed"} + for phase in ("setup", "call", "teardown")] + scheduled.write(out / "tests.json", { + "items": [{"nodeid": nodeid}], "reports": reports, "status": "completed", + "exit_code": 0, "collection_complete": True, "execution_complete": True, + "recorder_errors": [], "started_nodeids": [nodeid], + }) + (out / "tests.jsonl").write_text("".join( + json.dumps(row) + "\n" for row in [ + {"event": "start", "nodeid": nodeid}, + *({"event": "report", **report} for report in reports), + ] + )) + return SimpleNamespace(returncode=0) + + monkeypatch.setattr(scheduled, "verify_installation", audit) + monkeypatch.setattr(scheduled.subprocess, "run", execute) + + def slow(_shard, directory, environment, _result): + (directory / "pytest.log").write_text("") + return execute([sys.executable], env=environment).returncode + + monkeypatch.setattr(scheduled, "run_slow_nodes", slow) + out = tmp_path / "out" + assert scheduled.run_shard(SimpleNamespace(plan=plan, kind=kind, shard="case", out=out)) == 0 + result = scheduled.read(out / "result.json") + assert result["installed_source_verification"] == {"solarlab": {"files_verified": 1}} + assert result.get("execution_source") == (str(tmp_path / "src") if source_bound else None) + + +def test_source_bound_coverage_never_runs_after_installation_failure(tmp_path, monkeypatch): + monkeypatch.setattr(scheduled, "ROOT", tmp_path) + monkeypatch.setattr(scheduled, "commit", lambda: "frozen") + (tmp_path / "uv.lock").write_text("locked") + plan = tmp_path / "plan.json" + scheduled.write(plan, {"commit": "frozen", "lock_sha256": scheduled.sha256(tmp_path / "uv.lock"), + "selected_shards": {"coverage": [{"id": "case", "ci_job": "core", "nodeids": []}]}}) + + def stale(): + raise ValueError("installed package differs from checkout") + + monkeypatch.setattr(scheduled, "verify_installation", stale) + monkeypatch.setattr(scheduled.subprocess, "run", lambda *a, **k: pytest.fail("stale package executed")) + with pytest.raises(ValueError, match="installed package differs"): + scheduled.run_shard(SimpleNamespace(plan=plan, kind="coverage", shard="case", out=tmp_path / "out")) + + +@pytest.mark.parametrize(("expected", "body", "code"), [ + (["test_probe.py::absent"], "assert True", 4), + (["test_probe.py::test_probe"], "assert False, 'failure must remain visible'", 1), +]) +def test_scheduled_runner_refuses_drift_and_preserves_failures(tmp_path, expected, body, code): + sentinel = tmp_path / "executed" + (tmp_path / "test_probe.py").write_text( + "from pathlib import Path\ndef test_probe():\n" + f" Path({str(sentinel)!r}).write_text('ran')\n {body}\n" + ) + expectation = tmp_path / "expected.json" + expectation.write_text(json.dumps(expected)) + result = subprocess.run([ + sys.executable, str(Path(scheduled.__file__)), "_pytest", + "--out", str(tmp_path / "actual.json"), "--expected", str(expectation), + "--", "test_probe.py", "-q", "-p", "no:cacheprovider", + ], cwd=tmp_path, text=True, capture_output=True, timeout=30) + assert result.returncode == code, result.stdout + result.stderr + assert sentinel.exists() is (code == 1) + data = json.loads((tmp_path / "actual.json").read_text()) + assert data["exit_code"] == code + if code == 1: + assert any(row["outcome"] == "failed" for row in data["reports"]) + + +@pytest.mark.parametrize(("expected_counts", "code"), [ + ((2, 1), 0), ((1, 1), 4), ((3, 1), 4), ((1, 2), 4), +]) +def test_runner_accepts_repr_drift_but_requires_exact_counts_for_each_function( + tmp_path, expected_counts, code, +): + sentinel = tmp_path / "executed" + (tmp_path / "test_probe.py").write_text( + "import pytest\nfrom pathlib import Path\n" + "@pytest.mark.parametrize('x', [1, 2], ids=['-0.040567827636821575', 'other'])\n" + "def test_probe(x):\n" + f" with Path({str(sentinel)!r}).open('a') as out: out.write(str(x))\n" + "def test_other():\n" + f" with Path({str(sentinel)!r}).open('a') as out: out.write('3')\n" + ) + expected = [f"test_probe.py::{name}[plan-{i}]" + for name, count in zip(("test_probe", "test_other"), expected_counts) + for i in range(count)] + expected[0] = "test_probe.py::test_probe[-0.04056782763682157]" + expectation = tmp_path / "expected.json" + expectation.write_text(json.dumps(expected)) + result = subprocess.run([ + sys.executable, str(Path(scheduled.__file__)), "_pytest", + "--out", str(tmp_path / "actual.json"), "--expected", str(expectation), + "--", "test_probe.py", "-q", "-p", "no:cacheprovider", + ], cwd=tmp_path, text=True, capture_output=True, timeout=30) + assert result.returncode == code, result.stdout + result.stderr + if code == 0: + assert sentinel.read_text() == "123" + else: + assert "scheduled selection drift" in result.stderr + assert not sentinel.exists() # No body runs after even a per-function count mismatch. + + +def test_partial_receipts_preserve_named_failures_and_the_next_started_case(tmp_path): + output = tmp_path / "actual.json" + journal = tmp_path / "actual.jsonl" + (tmp_path / "test_probe.py").write_text( + "import json\nfrom pathlib import Path\n" + "def test_first():\n assert False, 'preserve this failure before a later timeout'\n" + "def test_second():\n" + f" current = json.loads(Path({str(output)!r}).read_text())\n" + " assert current['status'] == 'running' and 'exit_code' not in current\n" + f" rows = [json.loads(line) for line in Path({str(journal)!r}).read_text().splitlines()]\n" + " failed = next(row for row in rows if row.get('outcome') == 'failed')\n" + " assert failed['nodeid'] == 'test_probe.py::test_first'\n" + " assert 'preserve this failure' in failed['longrepr']\n" + " starts = [row['nodeid'] for row in rows if row['event'] == 'start']\n" + " assert starts == ['test_probe.py::test_first', 'test_probe.py::test_second']\n" + ) + result = subprocess.run([ + sys.executable, str(Path(scheduled.__file__)), "_pytest", "--out", str(output), + "--", "test_probe.py", "-q", "-p", "no:cacheprovider", + ], cwd=tmp_path, text=True, capture_output=True, timeout=30) + assert result.returncode == 1, result.stdout + result.stderr + data = json.loads(output.read_text()) + assert data["status"] == "completed" and data["exit_code"] == 1 + assert [(row["nodeid"], row["outcome"]) for row in data["reports"] if row["when"] == "call"] == [ + ("test_probe.py::test_first", "failed"), ("test_probe.py::test_second", "passed"), + ] + + +def test_slow_watchdog_caps_use_measured_costs_without_changing_test_gates(): + assert scheduled.slow_node_seconds("legacy", "tests/regression/test_grading_cigs_notch.py") == 1200 + assert scheduled.slow_node_seconds("legacy", "tests/integration/test_physical_interface_cbo_scan.py") == 3600 + assert scheduled.slow_node_seconds("legacy", "tests/regression/test_interface_balance_ridge.py") == 2820 + assert scheduled.slow_node_seconds("root", "tests/test_new.py") == 1200 + assert all(1200 <= scheduled.slow_node_seconds("legacy", path) <= 3600 + for path in scheduled.MEASURED_SLOW_NODE_SECONDS) + + +def test_slow_watchdog_records_timeout_failure_and_continues_to_next_case(tmp_path, monkeypatch): + (tmp_path / "pytest.ini").write_text("[pytest]\nmarkers = slow: watchdog probe\n") + (tmp_path / "test_probe.py").write_text( + "import os, time, pytest\npytestmark = pytest.mark.slow\n" + "def test_first():\n time.sleep(30)\n" + "@pytest.mark.parametrize('x', [1], ids=['-0.040567827636821575'])\n" + "def test_second(x):\n assert os.environ['OMP_NUM_THREADS'] == '1'\n" + ) + nodes = ["test_probe.py::test_first", "test_probe.py::test_second[-0.04056782763682157]"] + local_second = "test_probe.py::test_second[-0.040567827636821575]" + out = tmp_path / "out" + out.mkdir() + scheduled.write(out / "expected.json", nodes) + shard = {"id": "probe", "suite": "legacy", "paths": ["test_probe.py"], + "markers": "slow", "ignored": [], "node_wall_seconds": 5} + monkeypatch.setattr(scheduled, "SUITES", {"legacy": tmp_path}) + original_watchdog = scheduled.run_with_watchdog + commands = [] + + def interrupted_receipt(command, **kwargs): + commands.append(command) + value = original_watchdog(command, **kwargs) + if value["timeout"]: + with (Path(kwargs["log"]).parent / "tests.jsonl").open("a") as stream: + stream.write('{"interrupted":') + return value + + monkeypatch.setattr(scheduled, "run_with_watchdog", interrupted_receipt) + result = {"status": "started"} + code = scheduled.run_slow_nodes(shard, out, scheduled.pinned_environment(), result) + assert code == 1 + data = scheduled.read(out / "tests.json") + assert [(r["nodeid"], r["outcome"]) for r in data["node_outcomes"]] == [ + (nodes[0], "timeout"), (local_second, "passed"), + ] + assert len(data["node_outcomes"][0]["receipt_errors"]) == 1 + assert data["status"] == "completed" and data["exit_code"] == 1 + # The designated coverage stack dump never reaches slow shards. + assert len(commands) == 3 and not any("faulthandler" in part for c in commands for part in c) + assert "stack_dump_seconds" not in result["watchdog"] + timeout = next(r for r in data["reports"] if r["outcome"] == "timeout") + assert timeout["wasxfail"] is None and timeout["when"] == "watchdog" + xml = ET.parse(out / "junit.xml") + assert len(xml.findall(".//testcase")) == 2 + assert len(xml.findall(".//failure[@type='timeout']")) == 1 + assert not xml.findall(".//skipped") + + +@pytest.mark.parametrize("interruption", ["timeout", "hard_exit"]) +def test_designated_coverage_watchdog_closes_timeout_and_keeps_later_subprocess_data( + tmp_path, monkeypatch, interruption, +): + from coverage import CoverageData + + path = "tests/integration/test_interface_flux_balance.py" + suite = tmp_path / "perovskite-sim" + test = suite / path + test.parent.mkdir(parents=True) + (suite / "pytest.ini").write_text("[pytest]\n") + probe = tmp_path / "src/solarlab/probe.py" + probe.parent.mkdir(parents=True) + probe.write_text("def parent():\n return 11\ndef child():\n return 23\n" + "if __name__ == '__main__':\n assert child() == 23\n") + stop = "time.sleep(600)" if interruption == "timeout" else "os._exit(0)" + test.write_text( + "import os, runpy, subprocess, sys, time, pytest\n" + "@pytest.fixture(scope='module')\ndef blocked():\n" + f" {stop}\n" + "def test_first(blocked):\n pytest.fail('blocked setup returned')\n" + "def test_second():\n" + f" assert runpy.run_path({str(probe)!r})['parent']() == 11\n" + f" subprocess.run([sys.executable, {str(probe)!r}], check=True)\n" + ) + shard = scheduled.build_shards({"legacy": {"items": [ + item(path, "test_first"), item(path, "test_second"), + ]}})["coverage"][0] + assert shard["node_wall_seconds"] == 1200 + # Local synthetic deadline, never the production table. The passing node + # took up to 4.7 s on an oversubscribed host, so 30 s keeps a wide margin. + shard["node_wall_seconds"] = 30 + monkeypatch.setattr(scheduled, "ROOT", tmp_path) + monkeypatch.setattr(scheduled, "SUITES", {"legacy": suite}) + monkeypatch.setattr(scheduled, "commit", lambda: "frozen") + monkeypatch.setattr(scheduled, "verify_installation", lambda: {"synthetic": {"files_verified": 1}}) + (tmp_path / "uv.lock").write_text("locked") + plan = tmp_path / "plan.json" + scheduled.write(plan, {"commit": "frozen", "lock_sha256": scheduled.sha256(tmp_path / "uv.lock"), + "selected_shards": {"coverage": [shard]}}) + out = tmp_path / "out" + assert scheduled.run_shard(SimpleNamespace(plan=plan, kind="coverage", shard=shard["id"], out=out)) == 1 + result = scheduled.read(out / "result.json") + assert result["status"] == "failed" and result["exit_code"] == 1 + assert result["receipt_complete"] is (interruption == "timeout") + assert result["not_started_nodeids"] == [] + assert result["incomplete_nodeids"] == ([] if interruption == "timeout" else [shard["nodeids"][0]]) + assert result["coverage_data"] and result["subprocess_coverage"] + assert "patch = subprocess" in (out / "coverage.ini").read_text() + data = scheduled.read(out / "tests.json") + first = "timeout" if interruption == "timeout" else "failed" + assert data["status"] == "completed" and data["exit_code"] == 1 + assert [(row["nodeid"], row["outcome"]) for row in data["node_outcomes"]] == [ + (shard["nodeids"][0], first), (shard["nodeids"][1], "passed"), + ] + assert any(row["when"] == "watchdog" and row["outcome"] == first for row in data["reports"]) + journal = [json.loads(line) for line in (out / "tests.jsonl").read_text().splitlines()] + assert [row["nodeid"] for row in journal if row["event"] == "start"] == shard["nodeids"] + assert [row["outcome"] for row in journal if row["event"] == "outcome"] == [first, "passed"] + xml = ET.parse(out / "junit.xml") + assert len(xml.findall(".//testcase")) == 2 + assert len(xml.findall(f".//failure[@type='{first}']")) == 1 + assert not xml.findall(".//skipped") + parent_data, child_data = set(), set() + for filename in out.glob("coverage.data.*"): + coverage = CoverageData(basename=str(filename)) + coverage.read() + lines = coverage.lines(str(probe)) or [] + if 2 in lines: + parent_data.add(filename) + if 4 in lines: + child_data.add(filename) + assert parent_data and child_data and parent_data.isdisjoint(child_data) + assert scheduled.read(out / "nodes/0001/tests.json")["execution_complete"] + assert all(not p.read_text() for p in out.rglob("*.recorder-errors.jsonl")) + assert result["watchdog"]["stack_dump_seconds"] == 15 + if interruption == "timeout": + dump = (out / "nodes/0000/pytest.log").read_text() + assert "Timeout (0:00:15)!" in dump and "in blocked" in dump + + +def _watchdog_receipt_tree(out, rows, items=None, child_cases=1): + """Write the files run_slow_nodes leaves for a timeout and a completed node.""" + suites = ET.Element("testsuites") + aggregate = {"items": [{"nodeid": nodeid} for nodeid in items or [r[0] for r in rows]], + "collection_reports": [], "reports": [], "node_outcomes": [], + "status": "completed", "exit_code": 1, "seconds": 1.0} + journal = [] + for index, (nodeid, outcome) in enumerate(rows): + node = out / "nodes" / f"{index:04d}" + node.mkdir(parents=True) + timeout = outcome == "timeout" + row = {"nodeid": nodeid, "outcome": outcome, "receipt_errors": [], + "returncode": -15 if timeout else int(outcome == "failed"), + "timeout": timeout, "seconds": 2.0} + if timeout: + aggregate["reports"].append(scheduled.watchdog_failure( + suites, nodeid, "timeout", 2.0, "Scheduled node exceeded its wall cap")) + else: + reports = [{"nodeid": nodeid, "when": phase, + "outcome": "failed" if outcome == "failed" and phase != "setup" else "passed"} + for phase in ("setup", "call", "teardown")] + scheduled.write(node / "tests.json", { + "items": [{"nodeid": nodeid}], "reports": reports, "status": "completed", + "exit_code": row["returncode"], "collection_complete": True, + "execution_complete": True, "recorder_errors": [], "started_nodeids": [nodeid]}) + (node / "tests.jsonl").write_text("".join( + json.dumps({"event": "report", **report}) + "\n" for report in reports)) + child = ET.Element("testsuite", name="pytest") + for _ in range(child_cases): + ET.SubElement(child, "testcase", classname=nodeid.partition("::")[0], + name=nodeid.partition("::")[2]) + ET.ElementTree(child).write(node / "junit.xml") + suites.append(child) + aggregate["reports"].extend(reports) + aggregate["node_outcomes"].append(row) + journal += [{"event": "start", "nodeid": nodeid}, {"event": "outcome", **row}] + return aggregate, journal, suites + + +def _write_watchdog_receipt_tree(out, aggregate, journal, suites): + scheduled.write(out / "tests.json", aggregate) + (out / "tests.jsonl").write_text("".join(json.dumps(row) + "\n" for row in journal)) + ET.ElementTree(suites).write(out / "junit.xml") + + +@pytest.mark.parametrize("corruption", [ + None, "teardown-error-case", "function-count", "status", "exit-code", "passing-timeout", + "outcome-order", "duplicate-start", "journal-outcome", "extra-testcase", + "duplicate-timeout-label", "unlabelled-timeout", "mislabelled-timeout", "empty-child-junit", + "missing-child-junit", "unparseable-child-junit", "child-receipt-errors", "child-missing-phase", + "never-started", +]) +def test_watchdog_coverage_receipt_rejects_false_completeness(tmp_path, corruption): + first = "tests/integration/test_interface_flux_balance.py::test_first" + second = "tests/integration/test_interface_flux_balance.py::test_second" + rows = [(first, "timeout"), (second, "failed" if corruption == "teardown-error-case" else "passed")] + items, expected, exit_code = None, [first, second], 1 + if corruption == "outcome-order": + rows, items = rows[::-1], [first, second] + if corruption == "never-started": + expected = items = [first, second, second + "_late"] + cases = {"teardown-error-case": 2, "empty-child-junit": 0}.get(corruption, 1) + aggregate, journal, suites = _watchdog_receipt_tree(tmp_path, rows, items, child_cases=cases) + outcome_rows = [row for row in journal if row["event"] == "outcome"] + if corruption == "function-count": + expected = [first] + elif corruption == "status": + aggregate["status"] = "running" + elif corruption == "exit-code": + exit_code = 2 + elif corruption == "passing-timeout": + aggregate["exit_code"] = exit_code = 0 + elif corruption == "duplicate-start": + journal.insert(0, {"event": "start", "nodeid": first}) + elif corruption == "journal-outcome": + outcome_rows[1]["seconds"] = 3.0 + elif corruption == "extra-testcase": + ET.SubElement(suites[0], "testcase", classname="extra", name="case") + elif corruption == "duplicate-timeout-label": + aggregate["reports"].append(dict(aggregate["reports"][0])) + elif corruption == "unlabelled-timeout": + aggregate["reports"] = [r for r in aggregate["reports"] if r["when"] != "watchdog"] + elif corruption == "mislabelled-timeout": + aggregate["reports"][0]["outcome"] = "failed" + elif corruption == "missing-child-junit": + (tmp_path / "nodes/0001/junit.xml").unlink() + elif corruption == "unparseable-child-junit": + (tmp_path / "nodes/0001/junit.xml").write_text("= {"static", "core", "packages", "backend", "frontend"} + for path, job in ( + ("tests/ci/test_ionic_jv_curve_measurement.py", "static"), + ("tests/runtime/test_ionic_jv_curve_measurement.py", "backend"), + ): + assert report["assignments"][path] == [job], report + assert path not in exclusions["files"] + + +def test_guard_detects_new_unassigned_directory_and_frontend_marker_gap(tmp_path): + folder = tmp_path / "tests/new_area" + folder.mkdir(parents=True) + test = folder / "test_new.py" + test.write_text("def test_new(): pass\n") + policy = {"files": {}} + assert audit(tmp_path, (Selection("core", ("tests/unit",), "not slow"),), policy)["uncovered_files"] + assert audit(tmp_path, (Selection("frontend", ("tests",), "frontend"),), policy)["uncovered_files"] + assert not audit(tmp_path, (Selection("core", ("tests",), "not slow"),), policy)["uncovered_files"] + + +@pytest.mark.parametrize("command", [ + "python -m pytest tests/unit/test_named.py", + "python -m pytest tests/unit -k not_a_failure", + "python -m pytest tests/unit --deselect tests/unit/test_named.py::test_failure", +]) +def test_guard_rejects_file_lists_and_hidden_deselection(command): + with pytest.raises(ValueError): + workflow_selections({"jobs": {"core": {"steps": [{"run": command}]}}}) + + +def test_optional_job_cannot_hide_an_uncovered_file(): + value = {"jobs": {"coverage": {"if": "manual", "steps": [{"run": "python -m pytest tests"}]}}} + assert workflow_selections(value) == () + assert matches("not slow and frontend", {"frontend"}) + assert not matches("not slow and frontend", {"slow", "frontend"}) + + +def test_ci_bookkeeping_uses_the_pytest_namespace(): + source = (ROOT / ".github/workflows/ci.yml").read_text() + workflow = yaml.safe_load(source) + assert "SOLARLAB_CI_JOB" not in source + for job in ("core", "packages", "backend", "frontend"): + body = workflow["jobs"][job] + environments = [body.get("env", {}), *(step.get("env", {}) for step in body["steps"])] + assert [env["PYTEST_CI_JOB"] for env in environments if "PYTEST_CI_JOB" in env] == [job] + + +def test_frontend_prerequisite_is_enforced_with_pytest_ci_job(monkeypatch, request): + hook = next(plugin for plugin in request.config.pluginmanager.get_plugins() + if getattr(plugin, "__file__", None) == str(ROOT / "tests/conftest.py")) + markers = [] + item = SimpleNamespace(get_closest_marker=lambda name: name == "frontend", add_marker=markers.append) + monkeypatch.setattr(hook.shutil, "which", lambda _: None) + monkeypatch.setenv("PYTEST_CI_JOB", "frontend") + with pytest.raises(pytest.UsageError, match="frontend contracts require Node"): + hook.pytest_collection_modifyitems([item]) + monkeypatch.delenv("PYTEST_CI_JOB") + hook.pytest_collection_modifyitems([item]) + assert len(markers) == 1 + assert "frontend contracts require Node" in markers[0].kwargs["reason"] + + +def test_duplicate_ci_jobs_fail_for_a_synthetic_file(): + sources = {"tests/test_overlap.py": "def test_overlap(): pass\n"} + jobs = (Selection("core", ("tests",), "not slow"), Selection("packages", ("tests",), "not slow")) + with pytest.raises(ValueError, match="duplicate CI job assignments"): + audit_files(sources, jobs, {"files": {}}) + + +def test_repeated_process_in_the_same_job_is_not_hidden_by_job_deduplication(): + sources = {"tests/test_overlap.py": "def test_overlap(): pass\n"} + selection = Selection("core", ("tests",), "not slow") + with pytest.raises(ValueError, match="duplicate CI process invocations"): + audit_files(sources, (selection, selection), {"files": {}}) + + +def isolated_workflow(): + sources = {"tests/runtime/test_pool.py": "def test_pool(): pass\n", + "tests/runtime/test_other.py": "def test_other(): pass\n"} + policy = {"files": {}, "isolated_groups": {"pool": { + "job": "backend", "files": ["tests/runtime/test_pool.py"], + "reason": "RSS includes the collecting pytest process"}}} + bulk = {"run": "python -m pytest tests/runtime --ignore tests/runtime/test_pool.py"} + isolated = {"env": {"PYTEST_CI_ISOLATED_GROUP": "pool"}, + "run": "python -m pytest tests/runtime/test_pool.py"} + workflow = {"jobs": {"backend": {"steps": [bulk, isolated]}}} + return sources, policy, workflow + + +def test_documented_isolated_group_has_exact_single_job_and_process_ownership(): + sources, policy, workflow = isolated_workflow() + report = audit_files(sources, workflow_selections(workflow), policy) + assert report["uncovered_files"] == [] + assert report["duplicate_invocations"] == {} + assert report["isolated_groups"] == {"pool": { + "job": "backend", "files": ["tests/runtime/test_pool.py"], "invocations": 1}} + assert all(jobs == ["backend"] for jobs in report["assignments"].values()) + + +@pytest.mark.parametrize("change,reason", [ + ("bulk_overlap", "duplicate CI process"), + ("missing_group", "exactly once"), + ("repeated_group", "exactly once"), + ("wrong_job", "exact files and job"), + ("unknown_group", "exactly once"), + ("unrelated_file", "exact files and job"), + ("hidden_tests", "hides fast tests"), + ("optional_step", "exactly once"), +]) +def test_isolation_guard_rejects_missing_duplicate_misrouted_or_hidden_groups(change, reason): + sources, policy, workflow = isolated_workflow() + steps = workflow["jobs"]["backend"]["steps"] + if change == "bulk_overlap": + steps[0]["run"] = "python -m pytest tests/runtime" + elif change == "missing_group": + steps.pop() + elif change == "repeated_group": + steps.append(deepcopy(steps[1])) + elif change == "wrong_job": + workflow["jobs"]["frontend"] = {"steps": [steps.pop()]} + elif change == "unknown_group": + steps[1]["env"]["PYTEST_CI_ISOLATED_GROUP"] = "unregistered" + elif change == "unrelated_file": + steps[1]["run"] += " tests/runtime/test_other.py" + elif change == "hidden_tests": + steps[1]["run"] += " -m frontend" + else: + steps[1]["if"] = "manual" + with pytest.raises(ValueError, match=reason): + audit_files(sources, workflow_selections(workflow), policy) + + +@pytest.mark.parametrize("category,label", [ + ("archive_dependent_tests", "archive-dependent"), ("platform_bound", "platform-bound"), +]) +def test_conditional_category_requires_a_real_collected_test_and_reason(category, label): + name = "tests/test_archive.py::TestArchive::test_saved" + sources = {"tests/test_archive.py": "class TestArchive:\n def test_saved(self): pass\n"} + policy = {"files": {}, "conditional_tests": {name: "Requires the source-bound archive"}, + category: [name]} + jobs = (Selection("packages", ("tests",), "not slow"),) + report = audit_files(sources, jobs, policy) + assert report[category] == [name] and report["uncovered_files"] == [] + assert report["assignments"] == {"tests/test_archive.py": ["packages"]} + assert audit_files(sources, (), policy)["uncovered_files"] == ["tests/test_archive.py"] + for change in ("missing_reason", "missing_test"): + changed = deepcopy(policy) + if change == "missing_reason": + changed["conditional_tests"].clear() + else: + changed[category] = [name + "_removed"] + with pytest.raises(ValueError, match=label): + audit_files(sources, jobs, changed) + + +def test_covered_file_cannot_also_be_excluded(): + sources = {"tests/test_overlap.py": "def test_overlap(): pass\n"} + jobs = (Selection("core", ("tests",), "not slow"),) + with pytest.raises(ValueError, match="covered files conflict with exclusions"): + audit_files(sources, jobs, {"files": {"tests/test_overlap.py": "historical reason"}}) + + +def test_missing_excluded_file_fails(): + with pytest.raises(ValueError, match="stale or unexplained exclusion"): + audit_files({}, (), {"files": {"tests/test_missing.py": "historical reason"}}) + + +def test_explicit_ci_ignore_requires_a_current_reason_and_removes_assignment(): + sources = {"tests/test_archive.py": "def test_archive(): pass\n"} + jobs = workflow_selections({"jobs": {"core": {"steps": [{ + "run": "python -m pytest tests --ignore tests/test_archive.py"}]}}}) + with pytest.raises(ValueError, match="undocumented CI exclusion"): + audit_files(sources, jobs, {"files": {}}) + result = audit_files(sources, jobs, {"files": {"tests/test_archive.py": "requires archive"}}) + assert result["assignments"] == {"tests/test_archive.py": []} + assert result["uncovered_files"] == [] + + +def test_clean_source_precondition_reports_only_changed_bound_python(monkeypatch, tmp_path): + outputs = iter(("src/solarlab/device/compile_2d.py\0src/solarlab/data.txt\0", + "src/solarlab/new.py\0")) + monkeypatch.setattr("suite_support.subprocess.run", lambda *a, **kw: + SimpleNamespace(returncode=0, stdout=next(outputs))) + paths = changed_bound_core_sources(tmp_path) + assert paths == ("src/solarlab/device/compile_2d.py", "src/solarlab/new.py") + reason = clean_core_skip_reason(paths) + assert reason and all(path in reason for path in paths) + assert clean_core_skip_reason(()) is None + + +def test_parity_budget_excludes_unrelated_time_and_keeps_aggregate_limit(monkeypatch): + import sys + + source = ROOT / "tests/unit/assembly_parity/conftest.py" + spec = importlib.util.spec_from_file_location("parity_budget_under_test", source) + module = importlib.util.module_from_spec(spec) + with monkeypatch.context() as patch: + patch.setattr(sys, "path", list(sys.path)) + spec.loader.exec_module(module) + ticks = iter((0.0, 2.0, 1000.0, 1003.0)) + patch.setattr(module, "time", SimpleNamespace(perf_counter=lambda: next(ticks))) + budget = module.assembly_budget.__wrapped__() + elapsed = next(budget) + for _ in range(2): + case = module.assembly_case_time.__wrapped__(elapsed) + next(case) + with pytest.raises(StopIteration): + next(case) + assert elapsed == [5.0] + with pytest.raises(StopIteration): + next(budget) + rejected = module.assembly_budget.__wrapped__() + next(rejected)[0] = 60.0 + with pytest.raises(AssertionError, match="exceeded 60 s"): + next(rejected) diff --git a/tests/ci/test_workflow_environment.py b/tests/ci/test_workflow_environment.py new file mode 100644 index 00000000..d5d40117 --- /dev/null +++ b/tests/ci/test_workflow_environment.py @@ -0,0 +1,117 @@ +"""Workflow harness settings must not activate legacy product override gates.""" +import ast +import json +from pathlib import Path +import re +import shlex + +import pytest +import yaml + + +ROOT = Path(__file__).resolve().parents[2] +VITEST_COMMAND = 'SOLARLAB_PYTHON="$UV_PROJECT_ENVIRONMENT/bin/python" npm run test:run' +PRODUCT_ENV_ALLOWLIST = { + ("ci.yml", "frontend", "SOLARLAB_PYTHON"): { + "run": VITEST_COMMAND, + "reason": ( + "Command-local interpreter selection for Vitest's schema-fixture.mjs DTO exporter; " + "the exact Python payload below only exports schema metadata and never calls a legacy solver. " + "The assignment is not inherited by this job's separate Python test steps." + ), + }, +} +PRODUCT_NAME = re.compile(r"\bSOLARLAB_\w*") + + +def product_environment_uses(value, location=()): + """Inspect env mappings and shell scripts; opaque product references require review.""" + uses = [] + if isinstance(value, list): + for index, item in enumerate(value): + uses.extend(product_environment_uses(item, (*location, str(index)))) + elif isinstance(value, dict): + for key, item in value.items(): + here = (*location, key) + if key == "env": + assert isinstance(item, dict), (here, "dynamic environment maps require review") + for name, content in item.items(): + assert re.fullmatch(r"[A-Za-z_][A-Za-z0-9_]*", name), (here, name) + if name.startswith("SOLARLAB_") and content not in (None, ""): + uses.append((here, name, content)) + elif key == "run" and isinstance(item, str): + try: + tokens = shlex.split(item, comments=True) + except ValueError: + tokens = [item] # Unclassified shell syntax cannot silently bypass review. + for token in tokens: + for name in PRODUCT_NAME.findall(token): + if token != name + "=": # A literal empty shell assignment is harmless. + uses.append((here, name, item)) + else: + uses.extend(product_environment_uses(item, here)) + return uses + + +def test_workflows_do_not_set_unreviewed_product_environment_variables(): + seen = set() + for path in sorted((ROOT / ".github/workflows").glob("*.y*ml")): + workflow = yaml.load(path.read_text(), Loader=yaml.BaseLoader) + for location, name, value in product_environment_uses(workflow): + job = location[1] if location[:1] == ("jobs",) else None + key = (path.name, job, name) + allowed = PRODUCT_ENV_ALLOWLIST.get(key) + assert allowed and allowed["reason"].strip(), (path.name, location, name, value) + assert location[-1] == "run" and value == allowed["run"], (location, value) + seen.add(key) + assert seen == set(PRODUCT_ENV_ALLOWLIST), "remove stale exceptions instead of retaining unused permissions" + + +@pytest.mark.parametrize("value", ["1", "0", " ", "${{ matrix.value }}"]) +@pytest.mark.parametrize("scope", ["workflow", "job", "step"]) +def test_product_guard_covers_inherited_and_step_environment(scope, value): + body = {"env": {"SOLARLAB_TEST": value}} + if scope == "job": + body = {"jobs": {"core": body}} + elif scope == "step": + body = {"jobs": {"core": {"steps": [body]}}} + assert [name for _, name, _ in product_environment_uses(body)] == ["SOLARLAB_TEST"] + + +@pytest.mark.parametrize("command", [ + "SOLARLAB_TEST=1 python probe.py", + "export SOLARLAB_TEST=1\npython probe.py", + 'echo "SOLARLAB_TEST=1" >> "$GITHUB_ENV"', + 'echo "SOLARLAB_TEST<> "$GITHUB_ENV"', + "python -c 'import os; os.environ[\"SOLARLAB_TEST\"] = \"1\"'", + '$env:SOLARLAB_TEST = "1"', +]) +def test_product_guard_covers_inline_export_and_persistent_assignments(command): + assert {name for _, name, _ in product_environment_uses({"run": command})} == {"SOLARLAB_TEST"} + + +def test_product_guard_allows_literal_empty_and_nonproduct_settings(): + assert product_environment_uses({"env": {"SOLARLAB_TEST": "", "SCHEDULED_RUNTIME_EVIDENCE_DIR": "path"}, + "run": "SOLARLAB_TEST='' python probe.py"}) == [] + + +def test_product_guard_covers_the_reserved_prefix_without_a_suffix(): + for command in ("SOLARLAB_=1 python probe.py", "prefix=SOLARLAB_; export ${prefix}TEST=1"): + assert {name for _, name, _ in product_environment_uses({"run": command})} == {"SOLARLAB_"} + + +def test_vitest_exception_is_command_local_and_its_python_payload_only_exports_metadata(): + workflow = yaml.load((ROOT / ".github/workflows/ci.yml").read_text(), Loader=yaml.BaseLoader) + frontend = workflow["jobs"]["frontend"] + assert frontend["defaults"]["run"]["working-directory"] == "web" + assert sum(step.get("run") == VITEST_COMMAND for step in frontend["steps"]) == 1 + assert json.loads((ROOT / "web/package.json").read_text())["scripts"]["test:run"] == "vitest run" + helper = (ROOT / "web/src/test-helpers/schema-fixture.mjs").read_text() + payload = helper.split("const code = [", 1)[1].split("].join('\\n');", 1)[0] + lines = [ast.literal_eval(line.strip().removesuffix(",")) for line in payload.splitlines() if line.strip()] + assert lines == [ + "from pathlib import Path", "import sys", "import solarlab.config.schema as schema", + 'assert Path(schema.__file__).resolve() == Path("src/solarlab/config/schema.py").resolve()', + "sys.stdout.buffer.write(schema.configuration_schema_representation()[0])", + ] + assert "execFileSync(process.env.SOLARLAB_PYTHON || 'python3', ['-B', '-c', code]" in helper diff --git a/tests/conftest.py b/tests/conftest.py new file mode 100644 index 00000000..039eddfb --- /dev/null +++ b/tests/conftest.py @@ -0,0 +1,55 @@ +"""One-command test environment and explicit optional prerequisites.""" +from __future__ import annotations + +from functools import lru_cache +import os +from pathlib import Path +import shutil + +import pytest + +from suite_support import changed_bound_core_sources, clean_core_skip_reason + + +ROOT = Path(__file__).resolve().parents[1] +THREAD_VARIABLES = ( + "OMP_NUM_THREADS", "OPENBLAS_NUM_THREADS", "MKL_NUM_THREADS", + "VECLIB_MAXIMUM_THREADS", "NUMEXPR_NUM_THREADS", "BLIS_NUM_THREADS", +) +for variable in THREAD_VARIABLES: + os.environ[variable] = "1" + + +@pytest.fixture(scope="session", autouse=True) +def single_thread_blas(): + # Collection/plugins may have imported BLAS before conftest was loaded. + from threadpoolctl import threadpool_limits + + with threadpool_limits(limits=1): + yield + + +@lru_cache(maxsize=1) +def _clean_core_reason() -> str | None: + try: + return clean_core_skip_reason(changed_bound_core_sources(ROOT)) + except RuntimeError as exc: + return str(exc) + + +def pytest_collection_modifyitems(items): + # Mark before any module-scoped catalog/compiler fixture can run. + core_reason = _clean_core_reason() if any( + item.get_closest_marker("requires_clean_core") for item in items + ) else None + required = tuple(ROOT / "web/node_modules" / name / "package.json" + for name in ("typescript", "jsdom", "json-schema-to-typescript")) + missing_frontend = not shutil.which("node") or any(not path.is_file() for path in required) + for item in items: + if core_reason and item.get_closest_marker("requires_clean_core"): + item.add_marker(pytest.mark.skip(reason=core_reason)) + if missing_frontend and item.get_closest_marker("frontend"): + reason = "frontend contracts require Node and web npm ci dependencies (typescript, jsdom, json-schema-to-typescript)" + if os.environ.get("PYTEST_CI_JOB") == "frontend": + raise pytest.UsageError(reason) + item.add_marker(pytest.mark.skip(reason=reason)) diff --git a/tests/fixtures/native_history/accepted.jsonl b/tests/fixtures/native_history/accepted.jsonl new file mode 100644 index 00000000..972c2967 --- /dev/null +++ b/tests/fixtures/native_history/accepted.jsonl @@ -0,0 +1 @@ +{"kind":"voltage_lift_interval_charge","segment_id":"illuminated_hold","left":{"record_sha256":"045b68d9b35310ba89fe57eab2f3658d62fbd8ab7494aec7b3d33c3399ee91c4","point_identity":"89a81b6ce786086febb8e28af5fb8b3aaa48f7d160290010a3768e5f7193916e","time_s":2.915610354191972e-07,"origin":"native","segment_id":"illuminated_hold"},"right":{"record_sha256":"cb5203f11ed3cc93cf5c02b1c14ff0eaf7ec7729539dfd0c1649b1914d701f9b","point_identity":"f196c068a90413fb3ac0bb37f757d9d8680ea0e50fcfbede2286c28f7efda37d","time_s":2.965610354191972e-07,"origin":"native","segment_id":"illuminated_hold"},"coefficient_frame_identity":"7dc5f70e9029f58718ebd35a4c36476afe6bc7854693cd4403e79b327ef83fb6","observation":{"path_identity":"c748a18a89f416f27e6815a0d4f7cca31c10579771b0cc15f38c2600648db4ac","frame_identity":"7dc5f70e9029f58718ebd35a4c36476afe6bc7854693cd4403e79b327ef83fb6","clock":{"predecessor":[5507432245497545,18889465931478580854784],"tn":[2800939787577469,9444732965739290427392],"hused":[3022314549036573,604462909807314587353088],"segment_start":[944473296573929,4722366482869645213696],"segment_end":[2833419889721787,2361183241434822606848],"native_left":[176237831855921443,604462909807314587353088],"uncovered_strip":[3,604462909807314587353088],"generation":1,"nsteps":26,"kused":1,"segment_id":"illuminated_hold","owner":"f98c26a8a8d248c5902e8d12cb97d502"},"input_error":{"path_identity":"c748a18a89f416f27e6815a0d4f7cca31c10579771b0cc15f38c2600648db4ac","mapping_identity":"93cb258305031a190bbf600392220e2574d9e132d1b7a6c667336ccea435b756","scope":"input evaluation at the same stored time; native readback/time/state errors remain separate","voltage_error_V":{"rational":[0,1]},"photon_flux_error_m2_s":{"rational":[0,1]},"affine_observable_error":{"storage":{"tuple":[{"rational":[0,1]},{"rational":[0,1]},{"rational":[0,1]},{"rational":[0,1]},{"rational":[0,1]},{"rational":[0,1]},{"rational":[0,1]},{"rational":[0,1]},{"rational":[0,1]},{"rational":[0,1]},{"rational":[0,1]},{"rational":[0,1]},{"rational":[0,1]},{"rational":[0,1]}]},"body_charge":{"tuple":[{"rational":[0,1]}]},"metal_charge":{"tuple":[{"rational":[0,1]},{"rational":[0,1]}]},"gauss_defect":{"tuple":[{"rational":[0,1]}]},"displacement":{"tuple":[{"rational":[0,1]},{"rational":[0,1]},{"rational":[0,1]},{"rational":[0,1]},{"rational":[0,1]},{"rational":[0,1]},{"rational":[0,1]},{"rational":[0,1]}]},"constraints":{"tuple":[{"rational":[0,1]},{"rational":[0,1]},{"rational":[0,1]},{"rational":[0,1]},{"rational":[0,1]},{"rational":[0,1]},{"rational":[0,1]},{"rational":[0,1]},{"rational":[0,1]},{"rational":[0,1]},{"rational":[0,1]},{"rational":[0,1]},{"rational":[0,1]}]}},"carrier_face_current_error_A_m2":{"tuple":[{"rational":[0,1]},{"rational":[0,1]},{"rational":[0,1]},{"rational":[0,1]},{"rational":[0,1]},{"rational":[0,1]},{"rational":[0,1]},{"rational":[0,1]}]},"ion_face_flux_error_m2_s":{"tuple":[{"rational":[0,1]},{"rational":[0,1]},{"rational":[0,1]},{"rational":[0,1]},{"rational":[0,1]},{"rational":[0,1]},{"rational":[0,1]},{"rational":[0,1]}]},"raw_terminal_current_error_A":{"tuple":[{"rational":[0,1]},{"rational":[0,1]}]},"same_state_tangent_current_error_A":{"tuple":[{"rational":[0,1]},{"rational":[0,1]}]},"raw_charge_integral_error_C":{"tuple":[{"rational":[0,1]},{"rational":[0,1]},{"rational":[0,1]}]},"tangent_charge_integral_error_C":{"tuple":[{"rational":[0,1]},{"rational":[0,1]},{"rational":[0,1]}]},"raw_tangent_L1_additional_error_C":{"tuple":[{"rational":[0,1]},{"rational":[0,1]}]},"individual_carrier_generation_error_particles_s":{"tuple":[{"rational":[0,1]},{"rational":[0,1]},{"rational":[0,1]},{"rational":[0,1]},{"rational":[0,1]},{"rational":[0,1]},{"rational":[0,1]},{"rational":[0,1]},{"rational":[0,1]}]},"generation_charge_cancellation":"identical electron/hole source only; not zero carrier forcing/time error","rate_error_from_input_evaluation":"zero only with the same verified stored input_rate; no quantizer differentiation","held_fixed":["same raw coordinate polynomial","same stored input-rate words"],"endpoint_error_still_required":true,"native_readback_error_still_required":true,"native_admitted":false},"raw_tangent_L1_current_bounds":{"tuple":[{"upper":[1,73786976294838206464],"method":"Cauchy-Schwarz from a certified squared integral","squared_integral":{"center":[1971451942842511172069956438582708848891764351870829740028890440210996362671229006178128292917785322321016593594381425806005250925844714835700983553854231,4898883310657342436947850401401639604522231782621865961233415550616320366316550245614411808808882209683752589725123921141977824503727074585042721378292777435812376133285876920625254286345394996247527424],"absolute_error_bound":[564975459,5986310706507378352962293074805895248510699696029696]},"numerical_excess_bound":[3996302974095900856182170279,38312388521647219725250754613978784424135753728],"is_integral_value_estimate":false},{"upper":[1,73786976294838206464],"method":"Cauchy-Schwarz from a certified squared integral","squared_integral":{"center":[1662810042368474758927079761997376466198342698280980940513815608679476030948961559369118972425736446258956242307845523558019330338029880152374613142571985,2449441655328671218473925200700819802261115891310932980616707775308160183158275122807205904404441104841876294862561960570988912251863537292521360689146388717906188066642938460312627143172697498123763712],"absolute_error_bound":[580768067,5986310706507378352962293074805895248510699696029696]},"numerical_excess_bound":[3996302974095900856182170279,38312388521647219725250754613978784424135753728],"is_integral_value_estimate":false}]},"ledgers":{"raw_polynomial":{"saved_finite_charge_change_C":{"tuple":[{"center":[524825898094681907728312331947707,6277101735386680763835789423207666416102355444464034512896],"absolute_error_bound":[6366452896598801,7237005577332262213973186563042994240829374041602535252466099000494570602496]},{"center":[117926608831658840686357524115741,392318858461667547739736838950479151006397215279002157056],"absolute_error_bound":[2980003791320231,7067388259113537318333190002971674063309935587502475832486424805170479104]},{"center":[-150723901854750809786509049887999,392318858461667547739736838950479151006397215279002157056],"absolute_error_bound":[1563039613444619,14134776518227074636666380005943348126619871175004951664972849610340958208]}]},"nominal_change_C":{"tuple":[{"center":[105265199867034315977157763359656455587539142020791369013708890459822539200833181244515719,1259154226267140214824569575554774268710952621037269995724457432519381584052321983908276119895246024401628480667648],"absolute_error_bound":[0,1]},{"center":[16443924313571944756665875459343380770303438044094916906518585673636957653048129420227623839258098827989625,54705480118172105515110736605408060977866621859518305856484990752704709360257342607417399388819397042876161483252568979501521829888],"absolute_error_bound":[0,1]},{"center":[-199437837533096409739355841434352020216318193257218543396301389998832201089864259224664711044364177,519116530899234038592415650746600341024256779983149022151945990982400651657956845919362720516599516195515512243746993340416],"absolute_error_bound":[0,1]}]},"signed_integral_C":{"tuple":[{"center":[2407559921816618594762392239761505242381746548073689316482711679442196073348147232595658417,8814079583869981503771987028883419880976668347260889970071202027635671088366253887357932839266722170811399364673536],"absolute_error_bound":[742918115,10141204801825835211973625643008]},{"center":[16443924313571944756665875459343380770303438044094916906518585673636957653048129420227623839258098827989625,54705480118172105515110736605408060977866621859518305856484990752704709360257342607417399388819397042876161483252568979501521829888],"absolute_error_bound":[0,1]},{"center":[-199437837533096409739355841434352020216318193257218543396301389998832201089864259224664711044364177,519116530899234038592415650746600341024256779983149022151945990982400651657956845919362720516599516195515512243746993340416],"absolute_error_bound":[0,1]}]},"error_components_C":{"endpoint":{"tuple":[{"rational":[12167857460186331243758725158082293582054327760819855818440397780276525881134101502585,1259154226267140214824569575554774268710952621037269995724457432519381584052321983908276119895246024401628480667648]},{"rational":[76112803349314593093953042442601644300213984823059065835312276437225212288611935946168824423679726201,54705480118172105515110736605408060977866621859518305856484990752704709360257342607417399388819397042876161483252568979501521829888]},{"rational":[112916956155944147478120311519687542130875508939692163133950730990860931226888108093031745647,519116530899234038592415650746600341024256779983149022151945990982400651657956845919362720516599516195515512243746993340416]}]},"input":{"tuple":[{"rational":[0,1]},{"rational":[0,1]},{"rational":[0,1]}]},"clock_strip":{"tuple":[{"rational":[2046676270674222359357605954689200074376441100307292197398309,1093625362391505962186251113558810682676584715446606218212885303204976499599687961611756588511526912]},{"rational":[188102490544778946518685203992311481780820026638274014258608862533591593592649,630432099142311667396464641602297820881275828327447146687172694467931548343955369782628260078158650252906047844909056]},{"rational":[240415579857746467733155298693844439097401488406744781226134264776817123613663,630432099142311667396464641602297820881275828327447146687172694467931548343955369782628260078158650252906047844909056]}]},"raw_tangent_departure":{"tuple":[{"rational":[1,73786976294838206464]},{"rational":[1,36893488147419103232]},{"rational":[1,36893488147419103232]}]},"integration":{"tuple":[{"rational":[742918115,10141204801825835211973625643008]},{"rational":[0,1]},{"rational":[0,1]}]}},"signed_saved_defect_C":{"tuple":[{"center":[-1670618347745157078603581585167803484967715950608171853149146484117243322445080665940182705,8814079583869981503771987028883419880976668347260889970071202027635671088366253887357932839266722170811399364673536],"absolute_error_bound":[530164082751605482050723008777183257217935473108945681,7237005577332262213973186563042994240829374041602535252466099000494570602496]},{"center":[-76112800059700786517179173718539770954337756574399863683068317299807428188851169348816274572300980857,54705480118172105515110736605408060977866621859518305856484990752704709360257342607417399388819397042876161483252568979501521829888],"absolute_error_bound":[2980003791320231,7067388259113537318333190002971674063309935587502475832486424805170479104]},{"center":[-112916792078307471399348490869949678697534163267829266874070321088559031278610692464516171887,519116530899234038592415650746600341024256779983149022151945990982400651657956845919362720516599516195515512243746993340416],"absolute_error_bound":[1563039613444619,14134776518227074636666380005943348126619871175004951664972849610340958208]}]},"interval_total_bound_C":{"tuple":[{"rational":[120100420100676899790773242563549301732995200233104438024709359398974284051699806517663339415335,8814079583869981503771987028883419880976668347260889970071202027635671088366253887357932839266722170811399364673536]},{"rational":[106846640861289399070210371214998917487311860878747039048617451613192564552239565772610769304150396457209246631016975148856428657,3941945278005183550104314378315799313153130214757317769398429026105338263198599372638625787639596500745952243039447723644383490490325601338594951168]},{"rational":[4152932247227199511866410003536381888909627769456218898504379984050886203705001321810107294869409787133447468718526988640243,153216156638881709360581793814523884096318870141826108123090484096119099899664590091138157758513351160432045219251919750072124549987222574596096]}]},"prefix_absolute_defect_C":{"tuple":[{"rational":[833156631586649239858306362288350969964045981452681975546544510765572492040579055001143494130260175505309951457511077907841961340160695232579584254214708945952207823979173638213000413748379826567482555305932235276947020203004645373904560682057676589844881673448156874055482794710841236624248740808931799702766880796028626094361847117619719554543617298786188289687356932716590348702183143654324892302206555148520330961268430600811440163085711979789735340176917525177972062212542795450790717702593910625685835429191279260112061079664764048924464886079270173223360912875829913048721846120895833630913221888767661895614315866387826626659198201608263497687562536520465877091479370696090238297,175853890296129309207973928151140593830708487841087158372563352122606234573659156389000965540058066269677267109812207528512015179448920812078465259481022247572883596740094056384220571042566571184422387012326764932256985319564774816207890443476952609604315089671358228623334690500181181809734423658664557938621150075826891975283622475141769108132881102487611176155923663938023397671454218313316479386243015893437749547685232701306231428003118192251665430067029251791844535093422355847231770076236680823084959872748341643244870301224567834052554246015569564460842429566123254706155145607162727688549839278795055611022694282888412497154169541935343810205095556977022281130032157286197255260786203590016368640]},{"rational":[1417134028312163977111177007803689587440154518239202708533328983298544895069910616427065757106582749937661143168265340791269538766009917643624279887041747641758255101753324836365902673221128305806367270144947103444417323171310150841200263621312153531669591911091315140760772362822219695382728894102860001937690839952175056240042124533931193838598497335854916645072433900043023030095456221302305219791210608290778902900853755534910964207190582789178484660525898129726440723407304986638891083292081579875676280137087637648420970615041082118753831788489964859245189770778751436535756432946048942032918294515316321468195312978578629931764718784775784935962328302236253446793783603371730490191940098149,842704362712205251563403345006636682544083048641192461807127928882452946814152861022807807041856934657430725257549771053942475183276378871244597210537636926967812198248362016282280595615653190690449379154707130347530555919253704471424853536880636513752833569564614249283450479879503547307478784358343015056989718372823418660206882384006336578089518467639394001425622199126083915436690471332683667310264178813717739960850636874487478593471865103679444071456133808358655522498061679918232301142302041890494342903234822938463712683832582471708284559554550537192671738706917753369646578001113028069692433216728685317909017105596241844403965344772772279823109729834541773898520161479913823527917160764973946765312000]},{"rational":[588589628572478633306690158819658117409077999755083523145504020635811229468642084126267528120339430813639425886671772575963777125657967410464805404711788872266549454490797793092554918287698453796307387797848342810588414138289317169022565422531085096347864524985038783207660168504708497390508615300659293897827169041385456004655491249184942368771619290239064423411688096985972327494838407449541232634594830121565853207859875428693998717344210767770054478293823309326701661378738770627319150969700720045511185959468098909491585753556582519771384397793134440864340788966069791726648766386510116350507712527365548832815767490179972538940169327835031978539028811108240569447183291254507409657233567,349379918205720474258500715195104911711846215996076109460004150072099379189563500694311976307911272802485297196345704712565241156535117525467302784390181099124266588087820794830780445580427863259615371996949094549412505397663686939026193526908183528669758632021079860427576508738574996960332018684924080085289637054122421182210410105528952452152822234463402334857964248917462870982898856987872543815995952851875830850774188783696969680273571724805782714061766046950287553674027334515579455376314156441376877915758322499149485758647697956939434704589018164811368501121216189965984318149644108672587835263785164467810556753272220947601052346285603700926048708375493495406504470709984574729737532661475311616000]}]},"interval_reference_error_C":{"tuple":[{"rational":[17156964199593450344627188610807579688991704465792929982139424664218294373342980600385636480993,1259154226267140214824569575554774268710952621037269995724457432519381584052321983908276119895246024401628480667648]},{"rational":[106846640861289399070210371214998917487311860878747039048617451613192564552239565772610769304150396457209246631016975148856428657,3941945278005183550104314378315799313153130214757317769398429026105338263198599372638625787639596500745952243039447723644383490490325601338594951168]},{"rational":[4152932247227199511866410003536381888909627769456218898504379984050886203705001321810107294869409787133447468718526988640243,153216156638881709360581793814523884096318870141826108123090484096119099899664590091138157758513351160432045219251919750072124549987222574596096]}]},"prefix_reference_error_C":{"tuple":[{"rational":[3791083239816479483652414396628232620729800854587188781206998564166166140849490948193290390271231536299690227538559197866539046167479674663096409449074115842663933294094057804473758581262258162255838088654167556319805087011730941106382152383977908072875836361456154251509601647905211762404127135226959295562248008071448448621286626898003563030068460121924920193684471434630974642729832250690623406493109390124971735108372478155996018844223100424287356744822120846008711303823766132137134433986169263102770189171316692184206695527770700945300807981921459032562121712495379614572368707232009906493083620249417472093128666182658109589193325761741723599205492940679738773451281609281332923,3806361261820980718787314462145900299365984585304916847890981647675459622806475246515172414286971131378295824887710119664762233321405212382650763192229918778633844085283421133857588117804471237758060324942137769096471543713523264420084208733267372502257902373838922697474776850653272333544035144126938483519938313329586406391420399894843487189023400486744830652725620431558948001546628102019837216152446231459691548651195513015286394545522038793326091559892408047442522404619531511844843508143651100066774023219661074529109746779752550520618057273064276287031221419180157028271756398423435664254325525515044493745079962833082521583423583158773675545564838895606542881602427646887386477506194882900787200]},{"rational":[1417134028312163977111177007803689587440154518239202708533328983298544895069910616427065757106582749937661143168265340791269538766009917643624279887041747641758255101753324836365902673221128305806367270144947103444417323171310150841200263621312153531669591911091315140760772362822219695382728894102860001937690839952175056240042124533931193838598497335854916645072433900043023030095456221302305219791210608290778902900853755534910964207190582789178484660525898129726440723407304986638891083292081579875676280137087637648420970615041082118753831788489964859245189770778751436535756432946048942032918294515316321468195312978578629931764718784775784935962328302236253446793783603371730490191940098149,842704362712205251563403345006636682544083048641192461807127928882452946814152861022807807041856934657430725257549771053942475183276378871244597210537636926967812198248362016282280595615653190690449379154707130347530555919253704471424853536880636513752833569564614249283450479879503547307478784358343015056989718372823418660206882384006336578089518467639394001425622199126083915436690471332683667310264178813717739960850636874487478593471865103679444071456133808358655522498061679918232301142302041890494342903234822938463712683832582471708284559554550537192671738706917753369646578001113028069692433216728685317909017105596241844403965344772772279823109729834541773898520161479913823527917160764973946765312000]},{"rational":[588589628572478633306690158819658117409077999755083523145504020635811229468642084126267528120339430813639425886671772575963777125657967410464805404711788872266549454490797793092554918287698453796307387797848342810588414138289317169022565422531085096347864524985038783207660168504708497390508615300659293897827169041385456004655491249184942368771619290239064423411688096985972327494838407449541232634594830121565853207859875428693998717344210767770054478293823309326701661378738770627319150969700720045511185959468098909491585753556582519771384397793134440864340788966069791726648766386510116350507712527365548832815767490179972538940169327835031978539028811108240569447183291254507409657233567,349379918205720474258500715195104911711846215996076109460004150072099379189563500694311976307911272802485297196345704712565241156535117525467302784390181099124266588087820794830780445580427863259615371996949094549412505397663686939026193526908183528669758632021079860427576508738574996960332018684924080085289637054122421182210410105528952452152822234463402334857964248917462870982898856987872543815995952851875830850774188783696969680273571724805782714061766046950287553674027334515579455376314156441376877915758322499149485758647697956939434704589018164811368501121216189965984318149644108672587835263785164467810556753272220947601052346285603700926048708375493495406504470709984574729737532661475311616000]}]},"original_charge_budget_C":{"rational":[380812532205327,39614081257132168796771975168]},"original_reference_share_C":{"rational":[126937510735109,39614081257132168796771975168]},"row_checks":{"tuple":[true,true,true]},"passed":true,"endpoint_debited_once":true},"same_state_affine_tangent":{"saved_finite_charge_change_C":{"tuple":[{"center":[524825898094681907728312331947707,6277101735386680763835789423207666416102355444464034512896],"absolute_error_bound":[6366452896598801,7237005577332262213973186563042994240829374041602535252466099000494570602496]},{"center":[117926608831658840686357524115741,392318858461667547739736838950479151006397215279002157056],"absolute_error_bound":[2980003791320231,7067388259113537318333190002971674063309935587502475832486424805170479104]},{"center":[-150723901854750809786509049887999,392318858461667547739736838950479151006397215279002157056],"absolute_error_bound":[1563039613444619,14134776518227074636666380005943348126619871175004951664972849610340958208]}]},"nominal_change_C":{"tuple":[{"center":[105265199867034315977157763359656455587539142020791369013708890459822539200833181244515719,1259154226267140214824569575554774268710952621037269995724457432519381584052321983908276119895246024401628480667648],"absolute_error_bound":[0,1]},{"center":[16443924313571944756665875459343380770303438044094916906518585673636957653048129420227623839258098827989625,54705480118172105515110736605408060977866621859518305856484990752704709360257342607417399388819397042876161483252568979501521829888],"absolute_error_bound":[0,1]},{"center":[-199437837533096409739355841434352020216318193257218543396301389998832201089864259224664711044364177,519116530899234038592415650746600341024256779983149022151945990982400651657956845919362720516599516195515512243746993340416],"absolute_error_bound":[0,1]}]},"signed_integral_C":{"tuple":[{"center":[132659675970091555239754881009159077088904386868549055397837,485667223056432267729865476705879726660601709763034880312953102434726071301302124544],"absolute_error_bound":[742918115,10141204801825835211973625643008]},{"center":[2044998212719264178923116951308625994501511549542537770602483056020626752131,2187250724783011924372502227117621365353169430893212436425770606409952999199375923223513177023053824],"absolute_error_bound":[777262885,2535301200456458802993406410752]},{"center":[-2642444279985259249564941969843012422057134993507529714240634952684346930883,2187250724783011924372502227117621365353169430893212436425770606409952999199375923223513177023053824],"absolute_error_bound":[787594155,2535301200456458802993406410752]}]},"error_components_C":{"endpoint":{"tuple":[{"rational":[12167857460186331243758725158082293582054327760819855818440397780276525881134101502585,1259154226267140214824569575554774268710952621037269995724457432519381584052321983908276119895246024401628480667648]},{"rational":[76112803349314593093953042442601644300213984823059065835312276437225212288611935946168824423679726201,54705480118172105515110736605408060977866621859518305856484990752704709360257342607417399388819397042876161483252568979501521829888]},{"rational":[112916956155944147478120311519687542130875508939692163133950730990860931226888108093031745647,519116530899234038592415650746600341024256779983149022151945990982400651657956845919362720516599516195515512243746993340416]}]},"input":{"tuple":[{"rational":[0,1]},{"rational":[0,1]},{"rational":[0,1]}]},"clock_strip":{"tuple":[{"rational":[1023338135337130557329992403384810764451286475092603395880543,546812681195752981093125556779405341338292357723303109106442651602488249799843980805878294255763456]},{"rational":[248492861930160168640613233297023246661771861605030050514066092288251152228195,39402006196394479212279040100143613805079739270465446667948293404245721771497210611414266254884915640806627990306816]},{"rational":[322232145849810592947123223177189021152332412923298326883669300726144501735273,39402006196394479212279040100143613805079739270465446667948293404245721771497210611414266254884915640806627990306816]}]},"raw_tangent_departure":{"tuple":[{"rational":[0,1]},{"rational":[0,1]},{"rational":[0,1]}]},"integration":{"tuple":[{"rational":[742918115,10141204801825835211973625643008]},{"rational":[777262885,2535301200456458802993406410752]},{"rational":[787594155,2535301200456458802993406410752]}]}},"signed_saved_defect_C":{"tuple":[{"center":[-92053238913509336138616040462574215263751449017059651338189,485667223056432267729865476705879726660601709763034880312953102434726071301302124544],"absolute_error_bound":[530164082751605482050723008777183257217935473108945681,7237005577332262213973186563042994240829374041602535252466099000494570602496]},{"center":[-1387535398798860461558256157932808691006443490673981338659067174192210920067,2187250724783011924372502227117621365353169430893212436425770606409952999199375923223513177023053824],"absolute_error_bound":[2166692693832476237979726964393235259812664153027751,7067388259113537318333190002971674063309935587502475832486424805170479104]},{"center":[1802130447337475498279993907772263576217505569483230533233914660250975073987,2187250724783011924372502227117621365353169430893212436425770606409952999199375923223513177023053824],"absolute_error_bound":[4390984142626758343695317358816136474672332909961739,14134776518227074636666380005943348126619871175004951664972849610340958208]}]},"interval_total_bound_C":{"tuple":[{"rational":[46240513180524264984602438903134738077912811342686200414781641460633720676679161802364732977,629577113133570107412284787777387134355476310518634997862228716259690792026160991954138059947623012200814240333824]},{"rational":[12104711037788972291141399035400009007522600754411932686792037041659300336960137552885614829411,39402006196394479212279040100143613805079739270465446667948293404245721771497210611414266254884915640806627990306816]},{"rational":[2982688074652034969697320062061968585882964300210086694460330620859244765291943421267708204659103280787200320147411258805,9576009789930106835036362113407742756019929383864131757693155256007443743729036880696134859907084447527002826203244984379507784374201410912256]}]},"prefix_absolute_defect_C":{"tuple":[{"rational":[3419693192188366357330236270236458153880980289546824479230186958525476942334798907098486557688510339543748448923757022168411076924505083295937745226354383729796531891647398257174441638844785509246960885780744726993545805304315995159955420442903791351543649592620746221674461563481499892328990446309494542078215565137949324291317024178051051443272659360195932459142609853463289779391331099876810112724920353884119697635758357751590900112797071963094385422538778017104227208866198177864418072181288550290403756218935409939216741943137480226044137497473291602450985021423610888079918522607755033725889653947474329368263098753567279856321262850735880050276537663,869883738449447135727017057544733560754966334422745521337918117825814533408504395644450338515030891317209146833157478857459887316539216436501984032629636294544106901557012649918484967509642242581485811671889772442449104074026528469984168277458993509105895967072116715320704933616651757038515838405817074818099464533726701935031021120772738142591951429018768259337529396845706087784351965717974252845027802612647104395779429266152278083113293463511158409549087131916873438027104843324938707251720130747532498987060121781937285632273640065603985700158673716498412282586023096854190279920499617206921735110203411509555090720000708991116770036098711844692911851515574022444154880]},{"rational":[1119686931713443014273123277964849195345507197662460264227508836780420429865395852236438078077885654727063731849961811896899090380160475969481958739448739942215874736818151213466200630126019219487016353153362567154236035749862194636316663694136311194940009455301372692172997128729281247639929624323392526515794009846733408286571284128429486672093520642136488402049189010926045066016359388863930626144368280766050847702538001037440772255250990759858881569557569646442648632208677686033966538886487703886645635975307549563739964583937523851137929009274946716073560875500063121603345290439570204730439209472345549400029809073256440373041560769389806644318696437825570579276731341153583,933574166450077024033896233479682610463446770218494540232428141657260221425256155616066104332643052521095003196532634688370605498604797551694305845386013439143234301850734307575124616291498189615552677163369437733206376720522744136958934438714121181165359678130415657880476708774144737268498826434276083952369404943823707368521338093857456794920583509599172300395270124649037447647186853068682640028423760582293468221886642770260925397993396276282680820073340675067187993303600120808870571840464049268806168364195771251832199836485281144113229986941179749746776363370197743810965124937695840465721335319418386485318866624126954914059142459764886435414590332066518515879833973417264178941394944000]},{"rational":[465139209880638356537728792899245933603210579125961881298338813425949616726765735349437483413469913178616460941512382255344555501451553770806378514002875436388995106789219478353470175799587117005162423738795926704626573201427294383612570864423477801152248231579029453521059460747175912420375047886553951612309866443012400927945567080839760070234940013310407146072903093878787677946992164213928290234956553700796150114968475955592355730630718869506141187809187579961219726594060007782525992165893799176573978323590221371400980606342480812546620128745823520199209750007828814103012416352863301804253188176195891738758788890239974257259334966176846099781458969420922174653447263709,387053966189912417552362736493159500429061396268207129525920920605578381124314283224907401660100358633839112389254860568737534437366863938611658097907464014833742266090377741066432032929729000185591932935840865466321419631655332357930736036228137469185885272590159726254959583248679278119816700900927150437773535542012999608795362965091548661894432176554796945826441353994994959878909450099546295602141197182860383213734911633705277473287252184990119152211544533576386926984367967862275051760805404995027514645537602426064180086614332323714718736504487329587119762447188871517524072378965670082255639254094151390493526051877231447505187844347076879891412036182675550476910380183804541140992000]}]},"interval_reference_error_C":{"tuple":[{"rational":[92242354429227430961376094663124893711757475473816835395883372114387419033754336898579067369,1259154226267140214824569575554774268710952621037269995724457432519381584052321983908276119895246024401628480667648]},{"rational":[75531651146806443072131125784841929267624181512634953843861813979395672548736514470572012264123208912631667538261698175327771,246371579875323971881519648644737457072070638422332360587401814131583641449912460789914111727474781296622015189965482727773968155645350083662184448]},{"rational":[2974798159167346079119111721961976954448888995007476532107585451217708566986601190215653014466208924179539529512825474485,9576009789930106835036362113407742756019929383864131757693155256007443743729036880696134859907084447527002826203244984379507784374201410912256]}]},"prefix_reference_error_C":{"tuple":[{"rational":[15140676822166523365711633442152950809322620595473953495389240046185851494965246939590605385401612818891899623294531750220181760519037324788682431387732559295210656960164831700416145712676592709986847703984241905485748783430592413713123043603130259210700365469070894093402017693868492799262386277549805834098434230137536014408482747901217121985077366472836224873010669481852832239466843898812207025684439805583691936016816249829406408361198325923006509095152474801498240767451328628364392973316783475735759679905511212719705493441924179034849876718057191727277388665900664141940625318986880443194904666880642118400636113263634101312375152487773378443782284377981709180926025790911794973,79933586498240595094533603705063906286685676291403253805710614601184652078935980176818620700026393758944212322641912512960006899749509460035666027036828294351310725790951843811009350473893895992919266823784893151025902417983988552821768383398614822547415949850617376646970313863718719004424738026665708153918704579921314534219828397791713230969491410221641443707238029062737908032479190142416581539201370860653522521675105773321014285455962814659847922757740568996292970497010161748741713671016673101402254487612882565111304682374803560932979202734349802027655649802783297593706884366892148949340836035815934368646679219494732953251895246334247186456861616807737400513650980584635116027630092540916531200]},{"rational":[461586195777627564274310110261074288363846248049377928091090016856788919235117511805890092951490584333900907632511227127025381296192800060971002218753522462407016152833952149228547419676992902778260719366522264856837418348599907350525424609513988109148005890045700222592540831764821183498761083847889724309054274001825394464681428616459598859968820943775293429212036761375749183948478903448167477436050204823828585380645830775420597411004843494531471708411099490869219078368666047424145458208792070610708577137993432689997662825529915244313419951903592521901884933931112396308817873972383092337652353684610893069561493627397127318063664974406267457064792405571887825295268959503512661559810149,842704362712205251563403345006636682544083048641192461807127928882452946814152861022807807041856934657430725257549771053942475183276378871244597210537636926967812198248362016282280595615653190690449379154707130347530555919253704471424853536880636513752833569564614249283450479879503547307478784358343015056989718372823418660206882384006336578089518467639394001425622199126083915436690471332683667310264178813717739960850636874487478593471865103679444071456133808358655522498061679918232301142302041890494342903234822938463712683832582471708284559554550537192671738706917753369646578001113028069692433216728685317909017105596241844403965344772772279823109729834541773898520161479913823527917160764973946765312000]},{"rational":[193087579913317784469700030027043401901273195320753569815284554223373074932638052763121964058260853769674904689572665649707044452736318736252302693719132125790319001617094526254100740374456541517208865446242409562290684817271865238209254456261222560713130392695607090636932803705101830382744758321042670348261552892266520911820147017173553586288330594352029255802618139863281354403935790162849927168071060453218147510448071335479025209742591336770051786778594681068622855925055159724681111845231086024411286053588062072387380086949481188863247345074292053450994304736418823172470262542047120667133644093102839593598504018201754163590478160783191026284076766766572565385101796805107928465567,349379918205720474258500715195104911711846215996076109460004150072099379189563500694311976307911272802485297196345704712565241156535117525467302784390181099124266588087820794830780445580427863259615371996949094549412505397663686939026193526908183528669758632021079860427576508738574996960332018684924080085289637054122421182210410105528952452152822234463402334857964248917462870982898856987872543815995952851875830850774188783696969680273571724805782714061766046950287553674027334515579455376314156441376877915758322499149485758647697956939434704589018164811368501121216189965984318149644108672587835263785164467810556753272220947601052346285603700926048708375493495406504470709984574729737532661475311616000]}]},"original_charge_budget_C":{"rational":[380812532205327,39614081257132168796771975168]},"original_reference_share_C":{"rational":[126937510735109,39614081257132168796771975168]},"row_checks":{"tuple":[true,true,true]},"passed":true,"endpoint_debited_once":true}},"passed":true,"scope":"physical observations of the declared fixed-grid polynomial with saved endpoints","raw_rate_projection_role":"retained counterfactual, not charged as if still used","source_arithmetic_scope":"the bound ball integrals evaluate the physical sources with the frozen coefficients; no projected nodal source is an integral input","DAE_time_accuracy_certified":false,"continuum_space_accuracy_certified":false},"arithmetic_calls":[{"evaluations":1,"actual_error":[730648787,20282409603651670423947251286016],"requested_error":[3996302974095900856182170279,38312388521647219725250754613978784424135753728],"absolute_integrand":false},{"evaluations":1,"actual_error":[777262885,2535301200456458802993406410752],"requested_error":[3996302974095900856182170279,38312388521647219725250754613978784424135753728],"absolute_integrand":false},{"evaluations":1,"purpose":"full-real-interval-precheck","working_bits":512},{"evaluations":1,"actual_error":[564975459,5986310706507378352962293074805895248510699696029696],"requested_error":[511053998744567250464819643919983294285084817589328385501,375766813243813282454001270582049483598656263896754896267759351326716583314675480171178469883904],"absolute_integrand":false,"purpose":"L2-moment","working_bits":512},{"evaluations":1,"actual_error":[755187443,20282409603651670423947251286016],"requested_error":[3996302974095900856182170279,38312388521647219725250754613978784424135753728],"absolute_integrand":false},{"evaluations":1,"actual_error":[787594155,2535301200456458802993406410752],"requested_error":[3996302974095900856182170279,38312388521647219725250754613978784424135753728],"absolute_integrand":false},{"evaluations":1,"purpose":"full-real-interval-precheck","working_bits":512},{"evaluations":1,"actual_error":[580768067,5986310706507378352962293074805895248510699696029696],"requested_error":[511053998744567250464819643919983294285084817589328385501,375766813243813282454001270582049483598656263896754896267759351326716583314675480171178469883904],"absolute_integrand":false,"purpose":"L2-moment","working_bits":512}],"endpoint_restore":null,"normal_query_performed":false,"states_projected":false,"reference_estimates_are_continuum_certificates":false} diff --git a/tests/fixtures/native_history/manifest.json b/tests/fixtures/native_history/manifest.json new file mode 100644 index 00000000..d5fda5ad --- /dev/null +++ b/tests/fixtures/native_history/manifest.json @@ -0,0 +1,45 @@ +{ + "prefix": { + "path": "prefix.jsonl.gz", + "encoding": "gzip", + "stored_sha256": "d200a7a57252b379c0e9d4e9b140db6a2e955855c244ece005a5805e174e4b65", + "sha256": "5f29191563a01dd9c5a6c16a7120715a8d41d953ca18edaddeb7b54f659cfde1" + }, + "accepted": { + "path": "accepted.jsonl", + "sha256": "f338f0d037c060e171da0e0b3a6bf8f43b088d52f810c98595aa7512d64e1a26" + }, + "live": { + "path": "prefix.jsonl.gz", + "remove_suffix_bytes": 10, + "sha256": "9054e7308d53a2b76b5263dda7310ff487003054036b1d27a9462fbb3569f6ee" + }, + "final": { + "path": "prefix.jsonl.gz", + "sha256": "d200a7a57252b379c0e9d4e9b140db6a2e955855c244ece005a5805e174e4b65" + }, + "reader": { + "path": "reader.txt", + "sha256": "2f50bc23c31f9806078331182ebbd7ccf5ab1b304dc1fb48de9d8fa8efd40553", + "fragment": true, + "original_source_sha256": "80fef7b4e37b1a5306af41048b9e909e73b4fee59b36dfe2636d69194e2ce977", + "original_statement_lines": [ + 38, + 45 + ] + }, + "provenance": { + "source_attempt": "NativeAttempt04/S0NeutralPublicDeviceV1", + "source_execution_head": "13e5af2aefa40c7009195de46ece379096ed9a09", + "whole_history_sha256": "b48ffd00868ff649654ec13461e26e2a1b60c41955f71ffa77dd98e3e4286da9", + "prefix_original_range": [ + 0, + 225421 + ], + "accepted_original_range": [ + 265737573, + 265776676 + ], + "scope": "Exact format/reader fixture from an incomplete failed attempt; concatenated excerpts are not a continuous trajectory or scientific qualification." + } +} diff --git a/tests/fixtures/native_history/prefix.jsonl.gz b/tests/fixtures/native_history/prefix.jsonl.gz new file mode 100644 index 00000000..ec0d5501 Binary files /dev/null and b/tests/fixtures/native_history/prefix.jsonl.gz differ diff --git a/tests/fixtures/native_history/reader.txt b/tests/fixtures/native_history/reader.txt new file mode 100644 index 00000000..c65741dc --- /dev/null +++ b/tests/fixtures/native_history/reader.txt @@ -0,0 +1,44 @@ +kind_counts, kind_bytes = Counter(), Counter() +kind_schema, statistics, accepted_by_phase, intervals_by_phase = {}, {}, Counter(), Counter() +requested, unexpected, trailing, parse_failure = defaultdict(list), [], b"", None +last_interval, last_complete_kind, last_complete_offset, total_bytes, records, maximum_line_bytes = None, None, 0, 0, 0, 0 +history_digest = hashlib.sha256() +accepted_pointer_record = None +passed_values = defaultdict(Counter) +with (CASE / "NativeHistory.jsonl").open("rb") as stream: + for line in stream: + total_bytes += len(line) + maximum_line_bytes = max(maximum_line_bytes, len(line)) + history_digest.update(line) + if not line.endswith(b"\n"): + trailing = line + continue + try: + row = json.loads(line) + except (ValueError, TypeError) as error: + parse_failure = {"byte_offset": total_bytes - len(line), "reason": str(error)} + break + records += 1 + kind = row.get("kind", "missing_kind") + kind_counts[kind] += 1 + kind_bytes[kind] += len(line) + kind_schema.setdefault(kind, list(row)) + last_complete_kind, last_complete_offset = kind, total_bytes + if kind == "requested_sample": + requested[row["segment_id"]].append({"time_s": row["time_s"], "time_hex": float(row["time_s"]).hex(), + "origin": row["origin"], "point_identity": row["point_identity"], + "record_sha256": row["record_sha256"]}) + elif kind == "native_statistics": + statistics[str(row["logical_initialization_index"])] = row + elif kind == "voltage_lift_interval_charge": + phase = row["segment_id"] + intervals_by_phase[phase] += 1 + passed = row.get("observation", {}).get("passed") + passed_values[kind][str(passed)] += 1 + accepted_by_phase[phase] += int(passed is True) + last_interval = {key: row.get(key) for key in ("segment_id", "left", "right", "coefficient_frame_identity")} + last_interval["observation_passed"] = passed + if total_bytes == last_accepted["pointer"]["history_byte_offset_after_record"]: + accepted_pointer_record = last_interval + elif kind == "voltage_lift_polynomial_domain": + passed_values[kind][str(row.get("evidence", {}).get("passed"))] += 1 diff --git a/tests/fixtures/refactor/EmptyStateV4.json b/tests/fixtures/refactor/EmptyStateV4.json new file mode 100644 index 00000000..2df9962d --- /dev/null +++ b/tests/fixtures/refactor/EmptyStateV4.json @@ -0,0 +1,135 @@ +{ + "schema": "solarlab.original-empty-fixed-reference-codec.v1", + "original_record_sha256": "961ede602e94ad812187e7b4035199c7e01721af28856a9c24fac2229d610901", + "original_sources": { + "scripts.benchmarks.contract_prototype": { + "sha256": "6d1a29717a74d0d242caf3b8bfaa3a557e18ebaa71c8983a85b88fb79f1c87d6" + }, + "perovskite_sim": { + "sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855" + }, + "perovskite_sim.physics": { + "sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855" + }, + "perovskite_sim.physics.compensated": { + "sha256": "48235c68776a31db04191347b506222c07f1837960fe0658da4e1c65f25a3204" + }, + "scripts.benchmarks.precision_prototype": { + "sha256": "6889d666c0a8fe2c1653b9b7e51e8a21ccf06492fc14af35ff2c0829b42c84c2" + } + }, + "reference": { + "payload": { + "schema": "solarlab.precision-point.v2", + "layout": "b8e3ecee405b4b61bee01fd988125f77f9498e764b26253fafd352a25acee168", + "coordinate_reference": "relative:f10dc28b172e484a79a587d35af48c60ec2f2b0ff148cf85d37045bfa334172d:initial", + "identity": "49492a358408bdd81a9a6af0ab1033782403a5c295dbf3267b14b7b4e32dbb38", + "time": "0x0.0p+0", + "y": [], + "inputs": [ + "0x1.0000000000000p+1" + ], + "fields": {}, + "authority_identity": "a9e1e4f2d76aaaa051f6cdbce5695f9a858311b5fb3ff91ce8649f0d1bf9604b", + "authority": { + "schema": "solarlab.state-authority.v3", + "layout": "b8e3ecee405b4b61bee01fd988125f77f9498e764b26253fafd352a25acee168", + "map": "relative-fields", + "version": 1, + "modes": {}, + "parameters": {}, + "anchor": {}, + "primitives": {}, + "time": "0x0.0p+0", + "inputs": [ + "0x1.0000000000000p+1" + ], + "coordinates": [], + "reference": "relative:f10dc28b172e484a79a587d35af48c60ec2f2b0ff148cf85d37045bfa334172d:initial", + "composition_policy": "exact-four-word-primitives-v1", + "transition": null + }, + "field_role": "projection" + }, + "sha256": "99c49a8cd91f5205336a750eae507664e75debf2f0ed767f54fae3a8289739fd" + }, + "point": { + "payload": { + "schema": "solarlab.precision-point.v2", + "layout": "b8e3ecee405b4b61bee01fd988125f77f9498e764b26253fafd352a25acee168", + "coordinate_reference": "affine-trial:f10dc28b172e484a79a587d35af48c60ec2f2b0ff148cf85d37045bfa334172d:49492a358408bdd81a9a6af0ab1033782403a5c295dbf3267b14b7b4e32dbb38", + "identity": "2be58f6ba47099012b23717e032fc20df020343a792481b9bbf5aba0fa52dfd6", + "time": "0x1.0000000000000p+0", + "y": [], + "inputs": [ + "0x1.8000000000000p+1" + ], + "fields": {}, + "authority_identity": "c30de4a2e9713486302f2412c7efdda1d683120f339bfdccb42f4948e69ebae9", + "authority": { + "schema": "solarlab.state-authority.v4", + "layout": "b8e3ecee405b4b61bee01fd988125f77f9498e764b26253fafd352a25acee168", + "map": "relative-fields", + "version": 1, + "modes": {}, + "parameters": {}, + "anchor": {}, + "primitives": {}, + "time": "0x1.0000000000000p+0", + "inputs": [ + "0x1.8000000000000p+1" + ], + "coordinates": [], + "reference": "affine-trial:f10dc28b172e484a79a587d35af48c60ec2f2b0ff148cf85d37045bfa334172d:49492a358408bdd81a9a6af0ab1033782403a5c295dbf3267b14b7b4e32dbb38", + "composition_policy": "exact-four-word-primitives-v1", + "coordinate_contract": { + "kind": "fixed-reference-affine-v1", + "solver_projection": "first-word", + "reference": { + "payload": { + "schema": "solarlab.precision-point.v2", + "layout": "b8e3ecee405b4b61bee01fd988125f77f9498e764b26253fafd352a25acee168", + "coordinate_reference": "relative:f10dc28b172e484a79a587d35af48c60ec2f2b0ff148cf85d37045bfa334172d:initial", + "identity": "49492a358408bdd81a9a6af0ab1033782403a5c295dbf3267b14b7b4e32dbb38", + "time": "0x0.0p+0", + "y": [], + "inputs": [ + "0x1.0000000000000p+1" + ], + "fields": {}, + "authority_identity": "a9e1e4f2d76aaaa051f6cdbce5695f9a858311b5fb3ff91ce8649f0d1bf9604b", + "authority": { + "schema": "solarlab.state-authority.v3", + "layout": "b8e3ecee405b4b61bee01fd988125f77f9498e764b26253fafd352a25acee168", + "map": "relative-fields", + "version": 1, + "modes": {}, + "parameters": {}, + "anchor": {}, + "primitives": {}, + "time": "0x0.0p+0", + "inputs": [ + "0x1.0000000000000p+1" + ], + "coordinates": [], + "reference": "relative:f10dc28b172e484a79a587d35af48c60ec2f2b0ff148cf85d37045bfa334172d:initial", + "composition_policy": "exact-four-word-primitives-v1", + "transition": null + }, + "field_role": "projection" + }, + "sha256": "99c49a8cd91f5205336a750eae507664e75debf2f0ed767f54fae3a8289739fd" + } + }, + "transition": { + "previous_authority": "a9e1e4f2d76aaaa051f6cdbce5695f9a858311b5fb3ff91ce8649f0d1bf9604b", + "previous_point": "49492a358408bdd81a9a6af0ab1033782403a5c295dbf3267b14b7b4e32dbb38", + "previous_primitives": {}, + "local_primitives": {} + } + }, + "field_role": "projection" + }, + "sha256": "1c8900cce160ab6bd758813afd19b7f51f2c9ddeeb3e7cba32697a2cf5f0ea81" + } +} diff --git a/tests/fixtures/refactor/R1FailureWitnessV1.json b/tests/fixtures/refactor/R1FailureWitnessV1.json new file mode 100644 index 00000000..ae757340 --- /dev/null +++ b/tests/fixtures/refactor/R1FailureWitnessV1.json @@ -0,0 +1,196395 @@ +{ + "cases": { + "step183_accepted": { + "historical_validation": { + "accepted_representable_candidate_exact": true, + "analytic_jacobian_error": 2.3738535384849194e-08, + "diagnostic_gates": { + "all_face_current_relative": true, + "analytic_jacobian_error": true, + "charge_balance_relative": true, + "eliminated_operator_error": true, + "interface_current_relative": true, + "local_carrier_residual": true, + "local_gauss_residual": true, + "scaled_nonlinear_residual": true + }, + "direction_hook_calls": 3, + "dt_s": 2.454561045726773e-07, + "elapsed_s": 239.33297249302268, + "final_metrics": { + "all_face_current_relative": 8.355791182022135e-12, + "analytic_jacobian_error": 2.3738535384849194e-08, + "charge_balance_relative": 1.6717254005247685e-17, + "eliminated_operator_error": 5.740375060677946e-08, + "interface_current_relative": 2.3654840131774658e-12, + "local_carrier_residual": 2.3274651241547105e-14, + "local_gauss_residual": 5.853997834053635e-16, + "scaled_nonlinear_residual": 0.02327462924450598 + }, + "finished_utc": "2026-10-04T07:14:09.301811+00:00", + "finite_step_ordinal": 183, + "formal_full_case_claimed": false, + "independent_physics_passed": true, + "iterations": 3, + "jacobian_columns": 897, + "long_window_claimed": false, + "maximum_native_step_calls": 1, + "native_full_jacobian_calls": 1, + "native_jacobian_nnz": 5747, + "native_step_calls": 1, + "native_step_returned": true, + "new_DC_optimizations": 0, + "nonlinear_factor": 0.01, + "nonmonotone_steps": 0, + "original_F_0_01_policy_retained": true, + "original_protocol_checks": { + "checks": { + "charge_balance_normalized": { + "applicable": true, + "failure_reason": null, + "limit": 1e-10, + "passed": true, + "source": "finite_step", + "value": 1.284650368783642e-18 + }, + "contact_internal_current_spread_relative": { + "applicable": true, + "failure_reason": null, + "limit": 2e-06, + "passed": true, + "source": "finite_step", + "value": 8.355791182022135e-12 + }, + "finite_numeric_evidence": { + "applicable": true, + "failure_reason": null, + "nonfinite_numeric_paths": [], + "passed": true, + "scope": "all_numeric_leaves_in_row_and_initial_event" + }, + "gauss_normalized": { + "applicable": true, + "failure_reason": null, + "limit": 1e-10, + "passed": true, + "source": "finite_step", + "value": 1.369733008062762e-13 + }, + "independent_physics": { + "applicable": true, + "failure_reason": null, + "passed": true, + "reasons": [], + "source": "saved_state_independent_current_charge_and_inventory_assembly" + }, + "inventory_relative_drift": { + "applicable": true, + "failure_reason": null, + "limit": 1e-10, + "passed": true, + "source": "finite_step", + "value": 2.886579864025407e-15 + }, + "trap_storage": { + "applicable": true, + "failure_reason": null, + "limit": 1.0, + "passed": true, + "source": "finite_step", + "value": 1.924600423811831e-09 + } + }, + "nonfinite_numeric_paths": [], + "passed": true, + "reasons": [] + }, + "passed": true, + "prefix_integration_calls": 0, + "previous_time_s": 5.132501042758137e-06, + "replay_independent_physics_passed": true, + "representable_candidate_count": 1, + "saved_bytes_replay_exact": true, + "saved_step": { + "bytes": 1211921, + "sha256": "e51cfb5eed74486b2d2265b77ac4d42270b9c6ef78938153fcc90082b2c569ab" + }, + "scaled_nonlinear_residual": 0.02327462924450598, + "schema": "R1V52SavedFailedStepValidationV1", + "source_commit": "12869a4f90d6d08af2d24af902838d8a4d5c00c4", + "source_content_sha256": "a19cf1ca2c5fdd5c25e83cc7d77bcabe4072336948f8dcf5dbf59de97a5de849", + "started_utc": "2026-10-04T07:10:09.972755+00:00", + "substeps": 4, + "time_s": 5.377957147330814e-06 + }, + "previous_row": { + "dt_s": 2.454561045726773e-07, + "phase": "accepted_regular_step", + "physics_reconstruction": { + "coordinate": [ + 2.9162315578242332e-12, + 6.0267965282230185e-12, + 9.342526891743789e-12, + 1.287484248999059e-11, + 1.6636046526827525e-11, + 2.0639565109371795e-11, + 2.4900048946531816e-11, + 2.9433356352071185e-11, + 3.4256505888471166e-11, + 3.938763489613784e-11, + 4.48459978249583e-11, + 5.0651995774143694e-11, + 5.6827210269118467e-11, + 6.33944691354595e-11, + 7.037787471147135e-11, + 7.780287255773418e-11, + 8.569628889600026e-11, + 9.408636630879281e-11, + 1.0300281279361114e-10, + 1.1247682423263029e-10, + 1.2254109823981886e-10, + 1.3322986075053854e-10, + 1.4457884824472602e-10, + 1.5662528253918226e-10, + 1.6940784728440606e-10, + 1.8296660832512858e-10, + 1.9734291840275642e-10, + 2.1257931242303551e-10, + 2.2871932239212248e-10, + 2.4580728472999285e-10, + 2.6388808622555633e-10, + 2.830068421425749e-10, + 3.0320855880036227e-10, + 3.2453765849291106e-10, + 3.4703750087258947e-10, + 3.7074979000238004e-10, + 3.9571388330655884e-10, + 4.219660739090877e-10, + 4.4953871839456497e-10, + 4.784593017743242e-10, + 5.087494475475149e-10, + 5.404237564464261e-10, + 5.734886983246511e-10, + 6.079413107066106e-10, + 6.437680017615874e-10, + 6.809431150070751e-10, + 7.194277802446778e-10, + 7.591685167740203e-10, + 8.000960811689443e-10, + 8.421244031415716e-10, + 8.851495406224756e-10, + 9.290490393997175e-10, + 9.736813083230732e-10, + 1.0188854008701466e-09, + 1.0644811396386415e-09, + 1.110269450258896e-09, + 1.1560331972406983e-09, + 1.2015384034145491e-09, + 1.2465358470370062e-09, + 1.2907631018441158e-09, + 1.3339468827030683e-09, + 1.3758059766912084e-09, + 1.4160541140021664e-09, + 1.4544036453979678e-09, + 1.4905688872763912e-09, + 1.5242700767411982e-09, + 1.5552370063062949e-09, + 1.5832129440450665e-09, + 1.6079583166522922e-09, + 1.629254062931661e-09, + 1.6469051225034138e-09, + 1.660743149164918e-09, + 1.6706290423506638e-09, + 1.6764548931453927e-09, + 1.6781457479273051e-09, + 1.6756602169684796e-09, + 1.668991186210637e-09, + 1.658165503896456e-09, + 1.6432433846700462e-09, + 1.6243170877406412e-09, + 1.6015093133695833e-09, + 1.5749710212027955e-09, + 1.5448789159387021e-09, + 1.5114326661417409e-09, + 1.4748517332981974e-09, + 1.4353722387130333e-09, + 1.393243603845654e-09, + 1.3487251836631972e-09, + 1.302082897738551e-09, + 1.2535860021024942e-09, + 1.203504238110079e-09, + 1.1521046314859445e-09, + 1.0996491732660729e-09, + 1.0463923028591538e-09, + 9.925788361174151e-10, + 9.384424036962703e-10, + 8.842036801378734e-10, + 8.300695721434544e-10, + 7.762320313569724e-10, + 7.228677371033464e-10, + 6.701375945821874e-10, + 6.181866895132932e-10, + 5.671444226430113e-10, + 5.171247310670021e-10, + 4.682266339070561e-10, + 4.2053465530444155e-10, + 3.741197390772721e-10, + 3.2903973961642256e-10, + 2.85340480967302e-10, + 2.430565083946881e-10, + 2.02211976184461e-10, + 1.628214913494505e-10, + 1.248911178117984e-10, + 8.841926325305318e-11, + 5.339727163204693e-11, + 1.9810718007093276e-11, + -1.2360076882845372e-11, + -4.313889585661674e-11, + -7.255224117416313e-11, + -1.006284266515031e-10, + -1.2739592288159845e-10, + -1.5288289777732838e-10, + -1.7711647278831216e-10, + -2.0012376373595046e-10, + -2.2193260344446096e-10, + -2.42572838817077e-10, + -2.620774776668193e-10, + -3.912540432441831e-10, + -3.916327117657149e-10, + -3.9203483701711846e-10, + -3.9246166815061497e-10, + -3.9291476738933635e-10, + -3.933955529188828e-10, + -3.9390566967072177e-10, + -3.9444677212881734e-10, + -3.950205415416346e-10, + -3.956289371998107e-10, + -3.962737899462336e-10, + -3.9695707651499064e-10, + -3.9768088999280415e-10, + -3.9844734872105473e-10, + -3.9925874916281287e-10, + -4.001173526967936e-10, + -4.010255658144088e-10, + -4.019857633010293e-10, + -4.030005166299571e-10, + -4.040723667133836e-10, + -4.052039113885767e-10, + -4.063978461284562e-10, + -4.076568008573743e-10, + -4.089833794892422e-10, + -4.1038032798597657e-10, + -4.1185021469066186e-10, + -4.133955415109279e-10, + -4.1501880364278266e-10, + -4.167222390806898e-10, + -4.1850806213270796e-10, + -4.203781006645101e-10, + -4.223340654436626e-10, + -4.2437724849669425e-10, + -4.2650857772876593e-10, + -4.287284934621929e-10, + -4.3103701570898295e-10, + -4.334333477186914e-10, + -4.3591613443281816e-10, + -4.384831301365739e-10, + -4.411311581910355e-10, + -4.438562058592969e-10, + -4.466528397705376e-10, + -4.495145372574057e-10, + -4.524333467247023e-10, + -4.55399909212581e-10, + -4.5840309750500706e-10, + -4.6143015122489523e-10, + -4.6446652336421413e-10, + -4.674956662362917e-10, + -4.70499061593459e-10, + -4.734562298262174e-10, + -4.763444820909151e-10, + -4.791392124922898e-10, + -4.818137460578943e-10, + -4.843395351752762e-10, + -4.866861134335152e-10, + -4.888215460515517e-10, + -4.907124456573003e-10, + -4.923243314626118e-10, + -4.936220134501373e-10, + -4.945699369031068e-10, + -4.95132557975434e-10, + -4.952748696380377e-10, + -4.949630559302274e-10, + -4.941647209294631e-10, + -4.928496253207635e-10, + -4.90990306466627e-10, + -4.885624329209706e-10, + -4.855453438270315e-10, + -4.819224382591698e-10, + -4.776818396859595e-10, + -4.728163365199712e-10, + -4.673240188619927e-10, + -4.612079825342295e-10, + -4.544767511293452e-10, + -4.4714413474853573e-10, + -4.392289113009281e-10, + -4.3075498906714994e-10, + -4.2175061536243344e-10, + -4.122482923204063e-10, + -4.022842674782843e-10, + -3.918979560813112e-10, + -3.8113142365121066e-10, + -3.700288042684491e-10, + -3.5863561751271225e-10, + -3.469983966728659e-10, + -3.351640121056349e-10, + -3.2317893392362097e-10, + -3.1108903923999764e-10, + -2.989390260485741e-10, + -2.867719029030164e-10, + -2.746287796121255e-10, + -2.6254847704115235e-10, + -2.5056741573132946e-10, + -2.3871919013049187e-10, + -2.2703460163195736e-10, + -2.1554176777676042e-10, + -2.0426557578188707e-10, + -1.9322823149776566e-10, + -1.8244895846793667e-10, + -1.7194419870031433e-10, + -1.6172773870022226e-10, + -1.5181077355605833e-10, + -1.4220208175345058e-10, + -1.329082428464791e-10, + -1.239336044458596e-10, + -1.1528075299049669e-10, + -1.0695038726575271e-10, + -9.894162029854767e-11, + -9.125224960777988e-11, + -8.387874211398983e-11, + -7.681642808503132e-11, + -7.005970731510167e-11, + -6.360222615273211e-11, + -5.743690569362059e-11, + -5.155592972490984e-11, + -4.5951262058442894e-11, + -4.0614366766940114e-11, + -3.553652169467216e-11, + -3.070870182383495e-11, + -2.6121874021473995e-11, + -2.1766798366762248e-11, + -1.763452775843739e-11, + -1.3715825083297652e-11, + -1.000178685815898e-11, + -6.48356433768606e-12, + -3.1524364853156663e-12, + 2.8007115690207033e-12, + 5.771171927893665e-12, + 8.919111159511802e-12, + 1.2252469569983206e-11, + 1.5779584720287046e-11, + 1.950930935669831e-11, + 2.345104625280042e-11, + 2.7614675737540493e-11, + 3.201045316960399e-11, + 3.664893190985816e-11, + 4.154086582904807e-11, + 4.6697170378198245e-11, + 5.21288720716615e-11, + 5.7847047404582724e-11, + 6.386276772428661e-11, + 7.018703662470765e-11, + 7.683070015093792e-11, + 8.380438733600602e-11, + 9.111838939302127e-11, + 9.878258706016175e-11, + 1.0680631391413721e-10, + 1.1519824440512344e-10, + 1.2396628381594188e-10, + 1.3311739557007313e-10, + 1.4265747890278684e-10, + 1.5259120572634474e-10, + 1.6292187327831906e-10, + 1.7365122223086224e-10, + 1.8477928321174155e-10, + 1.9630419941568497e-10, + 2.0822206199668458e-10, + 2.2052676016956045e-10, + 2.332098152996023e-10, + 2.462602329852711e-10, + 2.5966438943613975e-10, + 2.7340588444065154e-10, + 2.874655197280181e-10, + 3.018211672620729e-10, + 3.164477724219501e-10, + 3.3131734217120775e-10, + 3.463989883170128e-10, + 3.616590289287509e-10, + 3.770610583696097e-10, + 3.925661686113708e-10, + 4.0813315836561723e-10, + 4.237187493185586e-10, + 4.392779371312723e-10, + 4.5476433271272615e-10, + 4.70130559605559e-10, + 4.853286611080681e-10, + 5.003105865155151e-10, + 5.150286339523662e-10, + 5.294360187843033e-10, + 5.434873039446471e-10, + 5.571389617952522e-10, + 5.703498395749629e-10, + 5.830816370634758e-10, + 5.952993621559331e-10, + 6.069717021221913e-10, + 6.180713923561042e-10, + 6.285755152394541e-10, + 6.38465668071603e-10, + 6.477282076232064e-10, + 6.563542252165404e-10, + 6.64339612709199e-10, + 6.716849753842535e-10, + 6.783954553317154e-10, + 6.84480556769927e-10, + 6.899538043228917e-10, + 6.948325038817694e-10, + 6.991372448482793e-10, + 7.028915790457773e-10, + 7.061215300186641e-10, + 7.088551721802557e-10, + 7.111221253974921e-10, + 7.129531819270113e-10, + 7.143797995555609e-10, + 7.154337475584436e-10, + 7.161466929933679e-10, + 7.165498935978543e-10, + 7.166738762822922e-10, + 7.165481836556521e-10, + 7.162011293733284e-10, + 7.156596880763814e-10, + 7.149493168178802e-10, + 7.140938530164769e-10, + 7.131154641649287e-10, + 7.120346307350288e-10, + 7.10870156153764e-10, + 7.096391290888135e-10, + 7.083570384972577e-10, + 7.070377882659553e-10, + 7.056937938938753e-10, + 7.043360208590771e-10, + 7.029741418449801e-10, + 7.016165738869951e-10, + 7.002705788485162e-10, + 6.98942383853485e-10, + 6.976372570486793e-10, + 6.963595707863423e-10, + 6.951129484999625e-10, + 6.93900292329369e-10, + 6.927238881648452e-10, + 6.915854524785885e-10, + 6.904862350741671e-10, + 6.894270420761796e-10, + 6.884083242100107e-10, + 6.874302046269706e-10, + 6.864925289612437e-10, + 6.855949213604751e-10, + 6.847368080083742e-10, + 6.839174435428132e-10, + 6.831359586601982e-10, + 6.82391384430783e-10, + 6.816826462257024e-10, + 6.81008633996317e-10, + 6.803681753847696e-10, + 6.797600960119476e-10, + 6.79183215884178e-10, + 6.786364067031281e-10, + 6.78118586156553e-10, + 6.776287573980196e-10, + 6.771659897400042e-10, + 6.767294201712268e-10, + 6.763182095781979e-10, + 6.759314836363744e-10, + 6.755683571879069e-10, + 5.621041804901914e-10, + 5.451297251112258e-10, + 5.272350861741048e-10, + 5.083819274731247e-10, + 4.885318634550985e-10, + 4.676466035235845e-10, + 4.4568831502342056e-10, + 4.2261984085823504e-10, + 3.9840508386746633e-10, + 3.730094093535776e-10, + 3.4640000938294566e-10, + 3.1854647287525917e-10, + 2.894211127305916e-10, + 2.5899976405835995e-10, + 2.2726220525088088e-10, + 1.9419295308776913e-10, + 1.597817260920049e-10, + 1.2402445145556155e-10, + 8.692389914614072e-11, + 4.8490369825835506e-11, + 8.742691377355942e-12, + -3.229107524773251e-11, + -7.45727981983492e-11, + -1.1805342501477058e-10, + -1.626723426331873e-10, + -2.0835658856422526e-10, + -2.55020115171553e-10, + -3.025634039169465e-10, + -3.5087311077420905e-10, + -3.998214146770017e-10, + -4.492664416147294e-10, + -4.990518819319956e-10, + -5.490076121672725e-10, + -5.98950066883625e-10, + -6.486830811893093e-10, + -6.979992876597115e-10, + -7.466808497420042e-10, + -7.945018525861782e-10, + -8.412297971907573e-10, + -8.866279584256258e-10, + -9.304578838846196e-10, + -9.72482237704652e-10, + -1.012467290047606e-09, + -1.0501865553153723e-09, + -1.0854232121275714e-09, + -1.1179737804152332e-09, + -1.1476507511882024e-09, + -1.17428578627984e-09, + -1.1977320698852505e-09, + -1.217867080006657e-09, + -1.2345943860033357e-09, + -1.2478451984014405e-09, + -1.2575798692627668e-09, + -1.2637881953060762e-09, + -1.2664896955780574e-09, + -1.2657331773610236e-09, + -1.2615957684048176e-09, + -1.2541815356711289e-09, + -1.2436195097185017e-09, + -1.23006149465918e-09, + -1.2136792689382402e-09, + -1.1946618634235859e-09, + -1.1732123315865222e-09, + -1.1495445868348882e-09, + -1.123880252518701e-09, + -1.09644538378916e-09, + -1.0674675828653828e-09, + -1.0371729979747671e-09, + -1.005783735418705e-09, + -9.735157121355118e-10, + -9.405762662381823e-10, + -9.071626667558644e-10, + -8.734607659591006e-10, + -8.39643754532696e-10, + -8.058714160181898e-10, + -7.722896983231872e-10, + -7.390306742118458e-10, + -7.062120936657897e-10, + -6.73938182771087e-10, + -6.422994867935435e-10, + -6.113738542018466e-10, + -5.812268187766059e-10, + -5.519126239572212e-10, + -5.23474653359479e-10, + -4.95946450677191e-10, + -4.693526176388715e-10, + -4.4370975091302793e-10, + -4.1902692347350017e-10, + -3.9530684626691506e-10, + -3.7254645709656815e-10, + -3.5073768187276987e-10, + -3.2986822897713616e-10, + -3.099220355085051e-10, + -2.908799511012229e-10, + -2.7272040121759935e-10, + -2.554194787723287e-10, + -2.389519374930917e-10, + -2.232909707350285e-10, + -2.0840919798789635e-10, + -1.9427819950554596e-10, + -1.8086959952933011e-10, + -1.681547364923855e-10, + -1.561049604548468e-10, + -1.4469198456896848e-10, + -1.338878691880729e-10, + -1.2366513359969697e-10, + -1.1399703535025061e-10, + -1.0485732015491695e-10, + -9.62206593448964e-11, + -8.806240988940325e-11, + -8.035871113259489e-11, + -7.308663149379427e-11, + -6.62241578611889e-11, + -5.974999187257427e-11, + -5.3643848248570624e-11, + -4.788623027820624e-11, + -4.2458539633849244e-11, + -3.7342919586157607e-11, + -3.252249157529333e-11, + -2.7981066412019805e-11, + -2.3703245334656786e-11, + -1.9674415464599253e-11, + -1.5880712933385438e-11, + -1.2308917980686895e-11, + -8.94649790983883e-12, + -5.781589041608745e-12, + -2.802971629749996e-12, + -2.832421587605557e-07, + 5.076429984103206e-06, + 4.817008092617744e-06, + 4.070736719865064e-06, + 3.0116720839463102e-06, + 1.92435082144711e-06, + 1.0547300437752986e-06, + 4.992638726848864e-07, + 2.1251619281827978e-07, + 9.191239487295513e-08, + 5.02700103768194e-08, + 3.833737041796494e-08, + 3.541320151506823e-08, + 3.471511440040519e-08, + 3.446549846382925e-08, + 3.428510661182042e-08, + 3.4107073321399395e-08, + 3.392136498544127e-08, + 3.372648525505233e-08, + 3.3522013382047496e-08, + 3.330765587854211e-08, + 3.3083140518766226e-08, + 3.284821687679061e-08, + 3.260265842289792e-08, + 3.2346264313382625e-08, + 3.207886331352723e-08, + 3.180032564087222e-08, + 3.1510556188260174e-08, + 3.1209512164798164e-08, + 3.0897196034587484e-08, + 3.0573673009507096e-08, + 3.0239064260362964e-08, + 2.9893560854547064e-08, + 2.953742586678875e-08, + 2.9170995386318726e-08, + 2.8794687065518e-08, + 2.8409001406784943e-08, + 2.8014523611702627e-08, + 2.761192531001002e-08, + 2.7201966157554954e-08, + 2.6785492026937573e-08, + 2.6363432502188905e-08, + 2.5936797483949317e-08, + 2.5506673754021338e-08, + 2.5074216051076288e-08, + 2.4640639535849367e-08, + 2.4207210879169977e-08, + 2.3775236645759415e-08, + 2.334605025012635e-08, + 2.292099967945595e-08, + 2.250143069707265e-08, + 2.208867471956088e-08, + 2.1684031210482166e-08, + 2.12887514678708e-08, + 2.0904026351912234e-08, + 2.053096850647351e-08, + 2.0170600412916512e-08, + 1.982384144886051e-08, + 1.949149815660118e-08, + 1.9174252734668502e-08, + 1.8872659523979276e-08, + 1.8587137932847765e-08, + 1.8317970214541563e-08, + 1.8065302714206932e-08, + 1.7829146740409823e-08, + 1.760938315515667e-08, + 1.740576959077567e-08, + 1.7217947750377973e-08, + 1.704545445659522e-08, + 1.688773187291649e-08, + 1.6744141272726626e-08, + 1.661397477392596e-08, + 1.6496470284702278e-08, + 1.6390824877534178e-08, + 1.629620717881059e-08, + 1.6211772974941222e-08, + 1.613667460998663e-08, + 1.6070075018919075e-08, + 1.6011155479364277e-08, + 1.5959126641403667e-08, + 1.591323453011583e-08, + 1.5872767344903608e-08, + 1.583706061133291e-08, + 1.580549796611079e-08, + 1.577751766171011e-08, + 1.5752607502232687e-08, + 1.573031115691192e-08, + 1.5710219583879967e-08, + 1.5691976626215466e-08, + 1.5675269524647178e-08, + 1.5659831979394526e-08, + 1.5645434282491773e-08, + 1.5631886332727427e-08, + 1.561902921218688e-08, + 1.5606733711562633e-08, + 1.5594895357197488e-08, + 1.558343326311105e-08, + 1.5572284065459666e-08, + 1.5561401295200662e-08, + 1.5550751006071514e-08, + 1.5540311636318912e-08, + 1.5530069295335285e-08, + 1.5520016253404916e-08, + 1.5510151987771918e-08, + 1.550047772619591e-08, + 1.549099962025597e-08, + 1.5481723808265454e-08, + 1.5472658277593505e-08, + 1.5463809904632532e-08, + 1.545517459157207e-08, + 1.5446656747120298e-08, + 1.5437481302733032e-08, + 1.5422606185358412e-08, + 1.537434138851362e-08, + 1.5164086250817004e-08, + 1.4288704780675095e-08, + 1.1098758314922493e-08, + 1.09382320292328e-09, + -2.5850315602577132e-08, + -8.82366645757698e-08, + -2.1278955255242613e-07, + -4.280775310720706e-07, + -7.518174124357991e-07, + -1.1774858545394932e-06, + -1.668867833797735e-06, + -2.1673782596172374e-06, + -2.608965463336699e-06, + -2.9419670900900157e-06, + -3.138204132328853e-06, + 8.246255075089139e-11, + 1.3924353623728382e-10, + 1.701418449008651e-10, + 1.783868620323167e-10, + 1.6942122851875278e-10, + 1.4894433019707657e-10, + 1.2136115729860367e-10, + 8.928755251824772e-11, + 5.3898199079664786e-11, + 1.5526633090692294e-11, + -2.5878527932030393e-11, + -7.051808506312027e-11, + -1.1865160132967856e-10, + -1.7057099111001168e-10, + -2.265955520889615e-10, + -2.870726899205427e-10, + -3.5237994128643317e-10, + -4.2292732360174266e-10, + -4.991598320985587e-10, + -5.815600490763446e-10, + -6.706508476189222e-10, + -7.669981705152893e-10, + -8.712138594146325e-10, + -9.83958502626931e-10, + -1.1059442627192266e-09, + -1.237937637737693e-09, + -1.3807620993313847e-09, + -1.5353005439201564e-09, + -1.7024974804596866e-09, + -1.8833608710178693e-09, + -2.078963526910689e-09, + -2.2904439561184956e-09, + -2.5190065469836583e-09, + -2.7659209647829817e-09, + -3.03252063341497e-09, + -3.320200169620126e-09, + -3.630411636964994e-09, + -3.964659490607243e-09, + -4.324494092543663e-09, + -4.711503689911745e-09, + -5.127304768444485e-09, + -5.573530719074695e-09, + -6.0518187887427265e-09, + -6.5637953229473924e-09, + -7.1110593532888576e-09, + -7.69516463303215e-09, + -8.317600276343484e-09, + -8.979770212243237e-09, + -9.68297172188686e-09, + -1.0428373378815814e-08, + -1.1216992766409074e-08, + -1.2049674385194745e-08, + -1.292706819726754e-08, + -1.384960928172313e-08, + -1.4817499077010996e-08, + -1.5830688685998072e-08, + -1.688886469594332e-08, + -1.7991437931608435e-08, + -1.9137535503503826e-08, + -2.0325996458153426e-08, + -2.155537125342593e-08, + -2.2823925201786018e-08, + -2.412964593679052e-08, + -2.5470254861197056e-08, + -2.684322244547233e-08, + -2.824578715789374e-08, + -2.9674977721589024e-08, + -3.112763832370834e-08, + -3.260045633445236e-08, + -3.408999204711429e-08, + -3.559270990730427e-08, + -3.7105010681041836e-08, + -3.862326399895715e-08, + -4.0143840717526176e-08, + -4.1663144563551336e-08, + -4.3177642549974955e-08, + -4.468389370393604e-08, + -4.6178575692269486e-08, + -4.7658508998269415e-08, + -4.912067836467967e-08, + -5.056225129224715e-08, + -5.1980593454894174e-08, + -5.337328096032821e-08, + -5.473810946256171e-08, + -5.607310018373722e-08, + -5.737650297503063e-08, + -5.864679658043045e-08, + -5.988268632450344e-08, + -6.108309946272045e-08, + -6.224717846847918e-08, + -6.337427253405478e-08, + -6.446392757923869e-08, + -6.551587505063002e-08, + -6.653001979152447e-08, + -6.75064272459144e-08, + -6.844531024385398e-08, + -6.934701559107717e-08, + -7.021201066464334e-08, + -7.104087018935972e-08, + -7.18342633459332e-08, + -7.259294133491834e-08, + -7.331772549773394e-08, + -7.400949607384477e-08, + -7.466918165055196e-08, + -7.529774934525225e-08, + -7.58961957413428e-08, + -7.646553858600444e-08, + -7.70068092447512e-08, + -7.752104589672077e-08, + -7.800928743917331e-08, + -7.847256801805909e-08, + -7.891191186566937e-08, + -7.932832714335481e-08, + -7.972279413410522e-08, + -8.009623416250664e-08, + -8.044942800454761e-08, + -8.078283145749519e-08, + -8.109623641470287e-08, + -8.138828947208851e-08, + -8.16560194306057e-08, + -8.189466410667351e-08, + -8.209807940939915e-08, + -8.225978293591251e-08, + -8.237434740497224e-08, + -8.243865438914011e-08, + -8.245258766802503e-08, + -8.241901623623616e-08, + -8.22245972908882e-08, + -8.212141481840579e-08, + -8.201185662016724e-08, + -8.189554740002475e-08, + -8.177209218970055e-08, + -8.16410756346024e-08, + -8.150206129793422e-08, + -8.13545909910582e-08, + -8.119818413915384e-08, + -8.103233719239918e-08, + -8.085652309416983e-08, + -8.067019081910993e-08, + -8.047276499537244e-08, + -8.026364562684457e-08, + -8.004220793275964e-08, + -7.98078023237307e-08, + -7.955975453490664e-08, + -7.92973659386212e-08, + -7.901991406054705e-08, + -7.872665332494307e-08, + -7.841681605604415e-08, + -7.808961376393606e-08, + -7.774423874431628e-08, + -7.737986602229217e-08, + -7.699565567072765e-08, + -7.659075553352312e-08, + -7.616430438350241e-08, + -7.571543554317318e-08, + -7.524328099441075e-08, + -7.474697599997201e-08, + -7.422566425555914e-08, + -7.367850358581052e-08, + -7.310467219099981e-08, + -7.250337544328737e-08, + -7.187385322203708e-08, + -7.121538776695617e-08, + -7.052731201565954e-08, + -6.980901837876875e-08, + -6.905996789096263e-08, + -6.827969966070299e-08, + -6.746784052494435e-08, + -6.662411479835998e-08, + -6.574835398992796e-08, + -6.484050634364255e-08, + -6.390064604525764e-08, + -6.29289819239888e-08, + -6.192586546771453e-08, + -6.089179796314652e-08, + -5.982743656940226e-08, + -5.873359913506912e-08, + -5.761126757577389e-08, + -5.64615896418984e-08, + -5.5285878924674466e-08, + -5.408561297349054e-08, + -5.2862429427647554e-08, + -5.161812010153614e-08, + -5.035462300252237e-08, + -4.907401230469889e-08, + -4.777848634781682e-08, + -4.647035377768756e-08, + -4.5152017990517696e-08, + -4.3825960087327726e-08, + -4.2494720584132616e-08, + -4.116088015735842e-08, + -3.982703973064567e-08, + -3.8495800227634564e-08, + -3.7169742324750233e-08, + -3.585140653800613e-08, + -3.454327396842066e-08, + -3.3247748012197685e-08, + -3.1967137315145356e-08, + -3.070364021701095e-08, + -2.9459330891882775e-08, + -2.823614734712206e-08, + -2.7035881397114132e-08, + -2.5860170681154193e-08, + -2.4710492748624602e-08, + -2.35881611907507e-08, + -2.2494323757907727e-08, + -2.142996236571541e-08, + -2.0395894862754136e-08, + -1.9392778408134212e-08, + -1.8421114288560157e-08, + -1.7481253991903273e-08, + -1.6573406347372092e-08, + -1.569764554071356e-08, + -1.4853919815915237e-08, + -1.4042060681948704e-08, + -1.3261792453481071e-08, + -1.2512741967460988e-08, + -1.1794448332344812e-08, + -1.1106372582806204e-08, + -1.0447907129462025e-08, + -9.818384909922924e-09, + -9.217088163892189e-09, + -8.643256770730256e-09, + -8.096096102594453e-09, + -7.574784359755773e-09, + -7.078479366850392e-09, + -6.606324819578568e-09, + -6.157455980695728e-09, + -5.731004832075978e-09, + -5.326104696226115e-09, + -4.941894345969443e-09, + -4.577521625206056e-09, + -4.232146606799783e-09, + -3.904944315858242e-09, + -3.595107048079156e-09, + -3.3018463135489634e-09, + -3.0243944365032388e-09, + -2.762005841201616e-09, + -2.513958053317819e-09, + -2.27955244518657e-09, + -2.058114751957925e-09, + -1.8489953842460972e-09, + -1.6515695612856813e-09, + -1.4652372869651663e-09, + -1.2894231894387828e-09, + -1.1235762433520201e-09, + -9.671693920817947e-10, + -8.196990858075385e-10, + -6.806847497100127e-10, + -5.496681951527573e-10, + -4.262129853409365e-10, + -3.099037656835895e-10, + -2.0034556790417184e-10, + -9.716309585610452e-11, + -8.232176038715585e-08, + -8.232176038715585e-08, + -8.260223888072207e-08, + 8.299698850754828e-08, + -8.27126579566992e-08, + 8.289995667785792e-08 + ], + "direct_poisson_residual_C_m2": [ + -2.914322734146827e-20, + 6.392451773809798e-20, + -1.484028193369136e-19, + -8.899139902090493e-20, + 1.6808310047077522e-20, + 2.974409133842679e-19, + -1.0978341089803783e-19, + -4.703018090731494e-19, + 4.453805115781518e-19, + -2.90532300908225e-19, + 9.306774507956625e-20, + -4.565772283496696e-19, + 1.0494208820888747e-18, + -1.0288273935587545e-18, + 7.554475098324291e-20, + 1.037085964794484e-19, + 7.527211225334543e-19, + -1.2204950676546417e-18, + 1.1838079531266898e-18, + 3.875175733688424e-20, + -5.286014986458868e-19, + 6.881083905257122e-19, + -1.2479442291016014e-18, + 4.625858683192548e-19, + 4.115521332471832e-19, + -1.275313981209756e-19, + 4.336808689942018e-19, + -4.929731753020028e-19, + -7.57988608674192e-19, + 5.729119096991274e-19, + 1.4493792518705147e-18, + -1.0202511849678048e-18, + -3.1064933340551465e-19, + 3.434189205524154e-19, + -4.1245210575364087e-19, + 3.4622471719019526e-19, + 3.791531230147062e-19, + -8.823965728021674e-19, + 1.7454172669358926e-19, + 1.42777991171553e-18, + -1.964587042037943e-18, + 2.2766128039827457e-18, + -1.170599533105443e-18, + -1.1339124185774912e-18, + 1.6142859787890863e-18, + -1.4881839487666023e-18, + 2.571592027864056e-18, + -1.942564185409331e-18, + -6.35645287355149e-19, + 6.701089403965584e-19, + 1.322112551545556e-18, + -1.191034202957953e-18, + -3.230371902591088e-19, + 6.032992166818754e-19, + -1.539905898108318e-18, + 2.1287790849072686e-18, + -5.577182562077534e-20, + -8.69426380797336e-19, + -8.104517118447552e-19, + 2.37089815892399e-18, + -2.333615474355e-18, + 2.2734231955407413e-18, + -4.7536746314442416e-18, + 3.6118349274663484e-18, + 8.549010892409047e-19, + -3.1539271791013873e-18, + 9.145838247978308e-19, + 1.3862752973000693e-18, + 6.44115616827692e-19, + -3.0852116312553822e-18, + 5.818322254248992e-19, + 2.768236020525062e-18, + -1.306389502462148e-18, + -1.9481757786848908e-19, + -1.8412378690940354e-19, + 5.835527610990095e-19, + -2.7512688918003743e-19, + 1.1554588191732725e-18, + -1.1338065394590844e-18, + 1.4629847185857869e-18, + -6.821262203357287e-19, + -3.802807356257385e-18, + 2.552374967873224e-18, + 2.630354938579823e-18, + -4.593565552078478e-19, + -4.019647790754486e-18, + -2.0817422865550533e-18, + 9.793606694391034e-18, + -1.0528672473930157e-17, + 8.67838194021234e-19, + 1.0396111817684859e-17, + -1.2783685937757918e-17, + 7.801438142008123e-18, + -9.82224699592007e-18, + 1.0368106790866263e-17, + -5.2441397951289836e-18, + 4.4057359960248364e-18, + -1.3646336054977219e-17, + 1.3506946195594683e-17, + -4.58673634894124e-18, + 1.289978239109096e-18, + 6.39732221325651e-18, + -8.781561141099755e-18, + 8.794848970459807e-19, + -3.5968195313969796e-18, + 9.014098154900663e-18, + -1.063026348804147e-18, + -2.115464785767615e-19, + 1.0115849791262092e-17, + -1.1793769120213658e-17, + 4.659078256592677e-18, + -1.1084008449973757e-17, + -2.610449664319347e-19, + 1.4100160426248312e-17, + -3.940082280249745e-17, + 6.298968453190485e-17, + -4.5456446630875655e-17, + 2.7345796957615044e-17, + 4.290036589385819e-18, + -1.887279403733227e-17, + -3.2170721618302153e-17, + 3.9986599025083e-17, + 7.517867393135144e-18, + -9.823266082434735e-18, + -2.3580378165045056e-17, + 7.303516441409583e-17, + -5.584049267732888e-17, + 1.6447253092691514e-17, + 1.992046906825346e-17, + -1.4771569030327348e-17, + -4.379171415096839e-17, + 5.424478951806357e-17, + -1.7320988775162565e-18, + -2.788501710060895e-17, + 6.969762366729283e-18, + 9.11848899689701e-18, + 1.3220207408265148e-17, + -5.042664967908441e-18, + -1.1002358998916727e-17, + 5.728372490687195e-18, + -5.1720142887401065e-18, + -1.7689705912133193e-17, + 2.1953271277847278e-17, + -7.662473152759679e-18, + 4.507500528225211e-18, + -7.422055222111928e-18, + -5.239616189491344e-18, + 9.382338381840528e-18, + 1.827491172556273e-18, + -1.787998768696734e-18, + 3.853695749039383e-18, + 1.538459277438419e-18, + -5.978045674260229e-18, + -3.0634770681612303e-19, + 4.005218049986835e-18, + -5.834620978117999e-18, + 7.733993415961682e-19, + -1.927745343662348e-18, + 2.2517715328013725e-19, + 2.334022806121661e-18, + 1.2544521112530512e-18, + 5.134908676116323e-18, + -9.953991950742347e-18, + 1.0132417658943627e-17, + -4.486024375273563e-18, + -4.857137124199254e-18, + -1.0101507268678403e-18, + 9.162930155122594e-18, + -8.670310386312427e-18, + 2.2138382973776347e-18, + 3.1066580736268884e-18, + -9.167169875423309e-18, + 1.2489922573143524e-17, + -8.029332102079998e-18, + 5.74895711359496e-19, + 5.0366204171942136e-18, + -7.145765331026646e-18, + 3.946517079196577e-18, + -1.1880557348762749e-18, + 1.2090667896978516e-18, + 5.788064096959362e-19, + 6.18341453059602e-19, + -1.9665178916163356e-18, + -1.411352902110714e-18, + 1.4990849089191965e-18, + 2.9058712398383235e-18, + -6.484312571993489e-19, + -2.2384122716599736e-18, + -5.365492233565729e-18, + 1.1177345735884755e-17, + -9.903442365720486e-18, + 7.241110858672228e-18, + -5.079495794194362e-18, + 5.1549452932744164e-18, + -1.5219720087468434e-18, + -3.403047729376947e-18, + -8.704050824283505e-19, + 1.3884430992529538e-18, + 4.791174639328663e-18, + -6.556625502348467e-18, + 9.261564472806023e-19, + 8.814946792860485e-18, + -9.952917052525614e-18, + 4.330593474197173e-18, + 1.2516261723061482e-18, + -2.785583234623068e-18, + -5.225470410553996e-18, + 1.906571471116885e-17, + -1.1439476013839934e-17, + -9.11122688542454e-18, + 8.748633234468743e-18, + 4.038141924753015e-18, + -4.084753222961232e-18, + 8.007165095120674e-20, + 1.8844205779401436e-18, + -7.241159092613023e-18, + 1.6180834259163316e-17, + -1.2738166796898896e-17, + -1.9430638825520056e-18, + 7.04799406874004e-18, + 4.716664020953965e-19, + -1.1151076591616829e-17, + 1.9127229041908692e-17, + -2.3078658704223392e-17, + 8.050539798447756e-18, + -1.9226095399502527e-17, + 3.7432057889882655e-17, + -4.3931292303329884e-17, + 4.728256104346953e-17, + -4.6201364993916734e-17, + 3.304289169318094e-17, + -2.022812022705469e-17, + 2.6501507678283993e-17, + -1.7529597354451622e-17, + -2.7367695366962406e-17, + 3.866988093510548e-17, + -2.406905205692175e-17, + 5.854312141551178e-17, + -1.159117771481069e-16, + 1.222037847573789e-16, + -4.586856155249453e-17, + 2.521650277710235e-17, + -4.2685255552966856e-17, + -2.056733901129927e-17, + 7.771318270621225e-17, + -3.2319708904115556e-17, + 3.792877224342695e-17, + -1.6837711529961178e-17, + 4.6255546123877707e-17, + -1.2666305110554878e-16, + 4.0345392918378e-17, + -1.4759991134232434e-17, + 5.4973978737188894e-17, + -4.1878699331895964e-17 + ], + "electron_qf_increment_V": [ + 0.0, + -1.8901340500861333e-06, + -3.902558937513848e-06, + -6.045196352696112e-06, + -8.326480145388024e-06, + -1.0755388874352827e-05, + -1.3341480269665542e-05, + -1.6094927687332266e-05, + -1.9026558618493338e-05, + -2.214789533320386e-05, + -2.5471197697935704e-05, + -2.900950821746303e-05, + -3.277669932584419e-05, + -3.6787522924879056e-05, + -4.1057662153846866e-05, + -4.560378533914904e-05, + -5.0443602018450266e-05, + -5.559592091154448e-05, + -6.108070964246497e-05, + -6.691915593958827e-05, + -7.313372998791264e-05, + -7.974824750320209e-05, + -8.67879329916689e-05, + -9.427948255340107e-05, + -0.00010225112544642406, + -0.00011073268347853113, + -0.00011975562714491416, + -0.0001293531272073289, + -0.00013956010028654046, + -0.00015041324673749422, + -0.0001619510789506093, + -0.0001742139379251929, + -0.00018724399577617102, + -0.0002010852415988355, + -0.0002157834479196498, + -0.00023138611477013638, + -0.0002479423883062877, + -0.0002655029507783411, + -0.00028411987866274315, + -0.0003038464658231863, + -0.00032473700874101883, + -0.0003468465511436452, + -0.0003702305857816007, + -0.00039494471167673105, + -0.0004210442458725499, + -0.00044858378962283057, + -0.00047761674993673217, + -0.000508194818613843, + -0.0005403674121207152, + -0.0005741810770671054, + -0.0006096788673863482, + -0.0006468997007289735, + -0.000685877702871083, + -0.0007266415501163765, + -0.000769213820652013, + -0.0008136103665515787, + -0.0008598397185543106, + -0.0009079025358513513, + -0.0009577911128602846, + -0.0010094889543441389, + -0.0010629704293024225, + -0.0011182005127484032, + -0.0011751346230012276, + -0.0012337185603360115, + -0.0012938885509859296, + -0.0013555713985134291, + -0.0014186847426401056, + -0.001483137423691966, + -0.0015488299490440786, + -0.0016156550562739082, + -0.0016834983662524167, + -0.0017522391180540488, + -0.0018217509764551088, + -0.0018919029017781756, + -0.0019625600710675047, + -0.0020335848388936227, + -0.002104837725612896, + -0.002176178420553107, + -0.002247466787419155, + -0.0023185638592046975, + -0.002389332810073223, + -0.0024596398920536202, + -0.002529355324971166, + -0.0025983541288680393, + -0.00266651688914645, + -0.0027337304459301745, + -0.002799888500511171, + -0.002864892133324798, + -0.002928650229525011, + -0.00299107980999234, + -0.0030521062672974127, + -0.0031116635078631337, + -0.0031696940031445066, + -0.0032261487541222498, + -0.003280987174686054, + -0.0033341769005594464, + -0.003385693531289167, + -0.0034355203134375863, + -0.003483647773514528, + -0.0035300733093381544, + -0.003574800748496333, + -0.0036178398823187427, + -0.0036592059834031814, + -0.0036989193142072125, + -0.0037370046335813345, + -0.0037734907074449217, + -0.0038084098290297004, + -0.003841797353378908, + -0.003873691250002338, + -0.00390413167687388, + -0.003933160578221014, + -0.003960821307922951, + -0.003987158279720379, + -0.004012216644908464, + -0.0040360419976942265, + -0.004058680108028002, + -0.004080176681317806, + -0.0041005771442074995, + -0.004119926455335466, + -0.004138268939831955, + -0.0041556481461818, + -0.004172106723993911, + -0.004187686321169582, + -0.004202427498943154, + -0.004216369663276267, + -0.004229551011115692, + -0.004242008490070835, + -0.004253777770126019, + -0.004331910608531038, + -0.004332159477878152, + -0.004332424433885735, + -0.004332706517749691, + -0.0043330068380913545, + -0.004333326575296789, + -0.0043336669861316025, + -0.004334029408636559, + -0.004334415267325064, + -0.0043348260786980125, + -0.0043352634570816406, + -0.004335729120821447, + -0.004336224898824275, + -0.0043367527374803885, + -0.0043373147079686794, + -0.004337913013956332, + -0.0043385499997079585, + -0.004339228158601334, + -0.004339950142058909, + -0.004340718768890047, + -0.004341537035040585, + -0.004342408123722731, + -0.004343335415930527, + -0.0043443225012715575, + -0.004345373189102254, + -0.004346491519896884, + -0.004347681776773898, + -0.004348948497092937, + -0.0043502964840056455, + -0.0043517308178216045, + -0.004353256867021978, + -0.0043548802987215356, + -0.004356607088343686, + -0.004358443528236918, + -0.004360396234909214, + -0.004362472154522735, + -0.004364678566239254, + -0.004367023082937004, + -0.0043695136488046665, + -0.004372158533226563, + -0.004374966320351157, + -0.004377945893680908, + -0.004381106414975357, + -0.00438445729675683, + -0.004388008167668852, + -0.0043917688299569555, + -0.00439574920838424, + -0.0043999592899291165, + -0.004404409053716697, + -0.004409108390777323, + -0.004414067013368882, + -0.004419294353838495, + -0.004424799453246127, + -0.004430590840279404, + -0.004436676401332112, + -0.004443063242996454, + -0.004449757548621234, + -0.004456764431001747, + -0.004464087783675893, + -0.004471730133690363, + -0.004479692499029584, + -0.004487974254199631, + -0.004496573007613834, + -0.004505484494527871, + -0.0045147024892081625, + -0.004524218739833796, + -0.004534022929282087, + -0.0045441026644901785, + -0.004554443496434606, + -0.0045650289720608065, + -0.004575840718641637, + -0.004586858560166933, + -0.004598060664441996, + -0.0046094237186647125, + -0.0046209231304218615, + -0.004632533250273546, + -0.004644227611501088, + -0.004655979182095756, + -0.004667760623802891, + -0.004679544552899308, + -0.00469130379749736, + -0.004703011646360482, + -0.004714642084673995, + -0.004726170012711152, + -0.004737571443985028, + -0.004748823680176512, + -0.004759905460868997, + -0.004770797086865021, + -0.004781480516580453, + -0.004791939435687203, + -0.004802159300770696, + -0.004812127358302429, + -0.004821832640651742, + -0.004831265941189284, + -0.004840419770786607, + -0.00484928829815588, + -0.004857867276545899, + -0.004866153959289379, + -0.004874147006650176, + -0.004881846386265168, + -0.004889253269337845, + -0.004896369924536587, + -0.004903199611343973, + -0.004909746474383098, + -0.0049160154400251285, + -0.004922012116364644, + -0.004927742697445423, + -0.00493321387241234, + -0.004938432740115749, + -0.0049434067294908506, + -0.0049481435259470805, + -0.004952651003820281, + -0.004956937164905712, + -0.0049610100829222, + -0.004964877853771831, + -0.004968548551335023, + -0.004972030188543192, + -0.004975330683411678, + -0.004978457829727678, + -0.004981419272036213, + -0.004984222484600655, + -0.004986874753997836, + -0.004989383165012579, + -0.004991754589515856, + -0.0049939956780280905, + -0.004996112853663287, + -0.004998112308197679, + -0.004999999999999893 + ], + "eliminated_operator": { + "capture_flux": { + "difference": [ + [ + -6.222724914550781e-05, + 4.256144165992737e-07, + -0.00351715087890625, + 7.62520357966423e-09 + ] + ], + "direct": [ + [ + -903994195.3703151, + -3926012.172747274, + -44840313357.97461, + -78773.70441822849 + ] + ], + "direct_maximum_absolute": 44840313357.97461, + "eliminated": [ + [ + -903994195.3702528, + -3926012.1727476995, + -44840313357.97109, + -78773.70441823611 + ] + ], + "eliminated_maximum_absolute": 44840313357.97109, + "floor_active": false, + "maximum_absolute_difference": 0.00351715087890625, + "normalization_floor": 1.0, + "normalization_scale": 44840313357.97461, + "relative_error": 7.843725022231014e-14, + "unit": "m-2 s-1" + }, + "electron_current": { + "difference": [ + 0.0, + 1.1011428314305904e-20, + -5.082197683525802e-21, + -8.470329472543003e-22, + -3.3881317890172014e-21, + -1.7787691892340307e-20, + -5.082197683525802e-21, + 1.3552527156068805e-20, + 0.0, + -4.235164736271502e-21, + 5.082197683525802e-21, + 2.541098841762901e-21, + 1.6940658945086007e-21, + 1.3552527156068805e-20, + 1.2705494208814505e-20, + 5.082197683525802e-21, + 1.6940658945086007e-20, + -1.1011428314305904e-20, + -2.541098841762901e-21, + -1.1011428314305904e-20, + 9.317362419797304e-21, + 8.470329472543003e-22, + 0.0, + 9.317362419797304e-21, + 4.235164736271502e-21, + 9.317362419797304e-21, + -3.3881317890172014e-21, + -8.470329472543003e-21, + -1.8634724839594607e-20, + 1.1011428314305904e-20, + 1.5246593050577406e-20, + 2.541098841762901e-21, + 1.6940658945086007e-21, + 2.541098841762901e-21, + 6.776263578034403e-21, + -8.470329472543003e-21, + 8.470329472543003e-21, + -7.623296525288703e-21, + -2.541098841762901e-21, + -1.0164395367051604e-20, + 4.235164736271502e-21, + 6.776263578034403e-21, + 9.317362419797304e-21, + 1.7787691892340307e-20, + -5.082197683525802e-21, + 8.470329472543003e-22, + 9.317362419797304e-21, + 4.235164736271502e-21, + 1.6940658945086007e-20, + 1.1858461261560205e-20, + 1.4399560103323106e-20, + 5.929230630780102e-21, + 2.202285662861181e-20, + 8.470329472543003e-22, + 4.658681209898652e-20, + -3.134021904840911e-20, + 2.710505431213761e-20, + 5.082197683525802e-21, + 2.541098841762901e-21, + 2.625802136488331e-20, + 5.759824041329242e-20, + -3.8116482626443515e-20, + 2.1175823681357508e-20, + 1.4399560103323106e-20, + 1.4399560103323106e-20, + 1.2705494208814505e-20, + 2.795208725939191e-20, + 1.8634724839594607e-20, + 2.1175823681357508e-20, + 3.6422416731934915e-20, + 7.115076756936123e-20, + 1.1011428314305904e-20, + -4.658681209898652e-20, + 8.809142651444724e-20, + -5.166900978251232e-20, + 1.2705494208814505e-20, + 1.4399560103323106e-20, + 6.013933925505532e-20, + -2.795208725939191e-20, + 3.8116482626443515e-20, + 2.710505431213761e-20, + 1.6940658945086007e-20, + 2.795208725939191e-20, + 1.9481757786848908e-20, + 3.049318610115481e-20, + 2.710505431213761e-20, + 9.994988777600744e-20, + -4.404571325722362e-20, + 4.319868030996932e-20, + 4.489274620447792e-20, + 4.658681209898652e-20, + 3.5575383784680614e-20, + 4.0657581468206416e-20, + 4.2351647362715017e-20, + 8.470329472543003e-20, + -1.8634724839594607e-20, + 8.724439356719293e-20, + 1.1858461261560205e-20, + -2.541098841762901e-20, + 2.964615315390051e-20, + 3.218725199566341e-20, + 8.809142651444724e-20, + -1.7787691892340307e-20, + 3.7269449679189215e-20, + 2.456395547037471e-20, + 3.3034284942917713e-20, + 2.879912020664621e-20, + 3.3034284942917713e-20, + 8.639736061993863e-20, + -3.3881317890172014e-20, + 1.4399560103323106e-20, + 3.4728350837426314e-20, + 4.1504614415460717e-20, + 1.6093625997831706e-20, + 6.691560283308973e-20, + 2.879912020664621e-20, + -1.0164395367051604e-20, + 7.030373462210693e-20, + -2.456395547037471e-20, + 4.1504614415460717e-20, + 4.828087799349512e-20, + 1.6093625997831706e-20, + 9.994988777600744e-20, + 3.6422416731934915e-20, + 3.218725199566341e-20, + -1.6093625997831706e-20, + 3.218725199566341e-20, + -6.093555022547437e-18, + -7.877406409464993e-20, + 2.371692252312041e-20, + 4.658681209898652e-20, + 2.879912020664621e-20, + 3.3034284942917713e-20, + 2.710505431213761e-20, + 2.0328790734103208e-20, + 5.166900978251232e-20, + 2.456395547037471e-20, + 3.8116482626443515e-20, + 1.5415999640028266e-19, + 4.2351647362715017e-20, + -1.0503208545953324e-19, + 1.7787691892340307e-20, + 2.710505431213761e-20, + 1.9481757786848908e-20, + 1.2705494208814505e-20, + 1.5839516113655416e-19, + -7.453889935837843e-20, + 4.319868030996932e-20, + 4.319868030996932e-20, + 1.6940658945086007e-20, + 1.2790197503539935e-19, + -6.860966872759833e-20, + 3.218725199566341e-20, + 3.8963515573697816e-20, + 1.8634724839594607e-20, + 2.371692252312041e-20, + 1.3891340334970526e-19, + 3.3881317890172014e-20, + -9.147955830346444e-20, + 5.082197683525802e-21, + 2.710505431213761e-20, + 1.2959604092990795e-19, + -6.860966872759833e-20, + 3.6422416731934915e-20, + 3.3881317890172014e-20, + 1.7787691892340307e-20, + 2.202285662861181e-20, + 1.3721933745519665e-19, + -7.199780051661553e-20, + 1.2705494208814505e-20, + 3.6422416731934915e-20, + 1.6940658945086007e-20, + 1.2451384324638215e-19, + -8.639736061993863e-20, + 2.1175823681357508e-20, + 1.6940658945086007e-21, + 3.5575383784680614e-20, + 4.573977915173222e-20, + 3.4728350837426314e-20, + 7.623296525288703e-21, + 3.218725199566341e-20, + 2.795208725939191e-20, + 2.795208725939191e-20, + 2.541098841762901e-21, + 1.2705494208814505e-20, + 2.0328790734103208e-20, + 2.0328790734103208e-20, + 2.202285662861181e-20, + 1.1858461261560205e-20, + 2.456395547037471e-20, + 1.7787691892340307e-20, + 1.1858461261560205e-20, + 3.049318610115481e-20, + 2.0328790734103208e-20, + 2.202285662861181e-20, + 2.1175823681357508e-20, + -6.776263578034403e-21, + 1.4399560103323106e-20, + 2.202285662861181e-20, + 0.0, + 0.0, + 1.2705494208814505e-20, + -8.470329472543003e-21, + 2.202285662861181e-20, + 2.0328790734103208e-20, + 2.202285662861181e-20, + 9.317362419797304e-21, + -6.776263578034403e-21, + 0.0, + 1.1011428314305904e-20, + 1.1858461261560205e-20, + 2.1175823681357508e-20, + 9.317362419797304e-21, + 8.470329472543003e-21, + 2.541098841762901e-20, + 7.623296525288703e-21, + 8.470329472543003e-22, + -1.1011428314305904e-20, + 6.776263578034403e-21, + 5.082197683525802e-21, + -2.541098841762901e-21, + 1.6940658945086007e-20, + 5.929230630780102e-21, + -5.082197683525802e-21, + 5.929230630780102e-21, + 1.5246593050577406e-20, + -1.1858461261560205e-20, + -1.3552527156068805e-20, + 4.235164736271502e-21, + 1.1858461261560205e-20, + 5.082197683525802e-21, + 9.317362419797304e-21, + 2.541098841762901e-21, + 0.0, + 5.082197683525802e-21, + 1.1265538198482195e-19, + -1.1265538198482195e-19, + 2.1175823681357508e-20, + -1.6093625997831706e-20, + 1.1011428314305904e-20, + 4.235164736271502e-21, + 1.4399560103323106e-20, + 7.623296525288703e-21, + -6.776263578034403e-21, + 5.082197683525802e-21, + -8.470329472543003e-22, + 5.082197683525802e-21, + 0.0, + 4.235164736271502e-21, + 0.0, + -3.3881317890172014e-21, + 6.776263578034403e-21, + 0.0, + -1.3552527156068805e-20, + -9.317362419797304e-21 + ], + "direct": [ + -6.445044611524884e-06, + -6.445044611751665e-06, + -6.445044612252768e-06, + -6.4450446130836446e-06, + -6.445044614308926e-06, + -6.445044616003844e-06, + -6.445044618255834e-06, + -6.445044621166508e-06, + -6.445044624853727e-06, + -6.44504462945417e-06, + -6.44504463512616e-06, + -6.445044642052958e-06, + -6.445044650446545e-06, + -6.445044660551793e-06, + -6.4450446726515856e-06, + -6.445044687072148e-06, + -6.445044704189629e-06, + -6.445044724437122e-06, + -6.445044748312908e-06, + -6.445044776389779e-06, + -6.445044809325132e-06, + -6.445044847872887e-06, + -6.445044892896412e-06, + -6.445044945383039e-06, + -6.445045006460153e-06, + -6.4450450774130176e-06, + -6.445045159704252e-06, + -6.445045254995223e-06, + -6.445045365169047e-06, + -6.445045492355615e-06, + -6.445045638958043e-06, + -6.445045807680777e-06, + -6.445046001559003e-06, + -6.445046223988786e-06, + -6.4450464787580246e-06, + -6.445046770076909e-06, + -6.445047102607976e-06, + -6.445047481494154e-06, + -6.445047912384498e-06, + -6.445048401455593e-06, + -6.445048955428604e-06, + -6.445049581578871e-06, + -6.445050287738256e-06, + -6.4450510822872294e-06, + -6.4450519741362105e-06, + -6.4450529726936205e-06, + -6.445054087820067e-06, + -6.445055329766658e-06, + -6.445056709097288e-06, + -6.445058236593317e-06, + -6.4450599231413595e-06, + -6.445061779604011e-06, + -6.445063816674991e-06, + -6.44506604471938e-06, + -6.445068473602832e-06, + -6.44507111251111e-06, + -6.44507396976473e-06, + -6.445077052632257e-06, + -6.4450803671475065e-06, + -6.44508391793501e-06, + -6.445087708049293e-06, + -6.445091738832851e-06, + -6.4450960097982936e-06, + -6.44510051853743e-06, + -6.445105260663147e-06, + -6.445110229785218e-06, + -6.445115417522782e-06, + -6.445120813553832e-06, + -6.445126405701635e-06, + -6.445132180055938e-06, + -6.445138121127118e-06, + -6.445144212028511e-06, + -6.445150434682824e-06, + -6.445156770047609e-06, + -6.445163198353408e-06, + -6.445169699349173e-06, + -6.445176252548202e-06, + -6.445182837470369e-06, + -6.445189433873503e-06, + -6.4451960219702665e-06, + -6.445202582627019e-06, + -6.445209097540394e-06, + -6.445215549389846e-06, + -6.445221921965345e-06, + -6.4452282002685395e-06, + -6.445234370588609e-06, + -6.445240420552448e-06, + -6.445246339152327e-06, + -6.445252116751124e-06, + -6.445257745068386e-06, + -6.445263217148803e-06, + -6.445268527317361e-06, + -6.4452736711205665e-06, + -6.445278645259852e-06, + -6.4452834475167e-06, + -6.445288076673126e-06, + -6.4452925324284356e-06, + -6.445296815315775e-06, + -6.445300926617699e-06, + -6.4453048682836275e-06, + -6.445308642850192e-06, + -6.4453122533640575e-06, + -6.445315703308864e-06, + -6.445318996537826e-06, + -6.44532213720945e-06, + -6.445325129728265e-06, + -6.445327978692243e-06, + -6.445330688843343e-06, + -6.445333265023045e-06, + -6.445335712133679e-06, + -6.445338035103768e-06, + -6.445340238856249e-06, + -6.445342328282644e-06, + -6.4453443082191886e-06, + -6.445346183427942e-06, + -6.445347958578943e-06, + -6.4453496382381685e-06, + -6.445351226853713e-06, + -6.445352728747797e-06, + -6.445354148111729e-06, + -6.445355488995787e-06, + -6.44535675531215e-06, + -6.445357950823948e-06, + -6.44535907915522e-06, + -6.445360143779313e-06, + -6.4453611480275695e-06, + -6.445362095088757e-06, + -6.445363421059317e-06, + -6.452693410669669e-06, + -6.452694084365364e-06, + -6.4526947985243516e-06, + -6.452695555387785e-06, + -6.452696357225143e-06, + -6.4526972064967114e-06, + -6.4526981057234715e-06, + -6.452699057466664e-06, + -6.452700064533855e-06, + -6.452701129603901e-06, + -6.452702255645079e-06, + -6.452703445629333e-06, + -6.452704702551074e-06, + -6.4527060295907265e-06, + -6.452707429903122e-06, + -6.452708906720637e-06, + -6.452710463306195e-06, + -6.452712102979193e-06, + -6.452713829024914e-06, + -6.452715644717692e-06, + -6.452717553312114e-06, + -6.452719558002867e-06, + -6.4527216618605835e-06, + -6.45272386786273e-06, + -6.45272617880786e-06, + -6.452728597310849e-06, + -6.452731125733269e-06, + -6.452733766154383e-06, + -6.452736520321318e-06, + -6.452739389591573e-06, + -6.452742374869332e-06, + -6.452745476578734e-06, + -6.452748694581724e-06, + -6.452752028111732e-06, + -6.452755475732672e-06, + -6.452759035274535e-06, + -6.452762703780615e-06, + -6.452766477426467e-06, + -6.452770351519018e-06, + -6.452774320425708e-06, + -6.45277837753159e-06, + -6.4527825152460636e-06, + -6.452786724974008e-06, + -6.4527909971251285e-06, + -6.452795321130736e-06, + -6.4527996854899585e-06, + -6.452804077819136e-06, + -6.452808484930523e-06, + -6.452812892930671e-06, + -6.4528172873487125e-06, + -6.452821653255676e-06, + -6.452825975445009e-06, + -6.452830238587606e-06, + -6.452834427440149e-06, + -6.452838527020709e-06, + -6.452842522835708e-06, + -6.452846401075175e-06, + -6.452850148811276e-06, + -6.452853754200189e-06, + -6.452857206644232e-06, + -6.4528604969622366e-06, + -6.452863617499804e-06, + -6.452866562248759e-06, + -6.452869326892103e-06, + -6.452871908841452e-06, + -6.4528743072363075e-06, + -6.45287652288809e-06, + -6.4528785582077535e-06, + -6.452880417104763e-06, + -6.45288210483815e-06, + -6.4528836278712315e-06, + -6.452884993692879e-06, + -6.4528862106310305e-06, + -6.4528872876745125e-06, + -6.452888234272937e-06, + -6.45288906016785e-06, + -6.452889775215398e-06, + -6.452890389233827e-06, + -6.452890911863112e-06, + -6.45289135245161e-06, + -6.452891719949684e-06, + -6.452892022835318e-06, + -6.4528922690539605e-06, + -6.452892465978444e-06, + -6.452892620381859e-06, + -6.4528927384354785e-06, + -6.452892825704634e-06, + -6.452892887171129e-06, + -6.4528929272529485e-06, + -6.452892949833751e-06, + -6.45289295830015e-06, + -6.452892955580398e-06, + -6.45289294418265e-06, + -6.452892926231918e-06, + -6.452892903519751e-06, + -6.452892877532641e-06, + -6.452892849488313e-06, + -6.452892820383759e-06, + -6.452892791003599e-06, + -6.452892761973308e-06, + -6.452892733765906e-06, + -6.452892706735764e-06, + -6.4528926811338385e-06, + -6.452892657132844e-06, + -6.452892634827211e-06, + -6.452892614268798e-06, + -6.452892595459995e-06, + -6.452892578369673e-06, + -6.452892562944182e-06, + -6.4528925491085494e-06, + -6.452892536780441e-06, + -6.4528925258592924e-06, + -6.452892516253059e-06, + -6.452892507857322e-06, + -6.452892500569348e-06, + -6.4528924942985806e-06, + -6.452892488942623e-06, + -6.452892484419636e-06, + -6.452892480637001e-06, + -6.4528924775178135e-06, + -6.452892474992746e-06, + -6.452892472988774e-06, + -6.4528924714441155e-06, + -6.452892470302851e-06, + -6.4528924695109135e-06, + -6.452892469025654e-06, + -6.452892468803136e-06 + ], + "direct_maximum_absolute": 6.45289295830015e-06, + "eliminated": [ + -6.445044611524884e-06, + -6.445044611751676e-06, + -6.445044612252763e-06, + -6.445044613083644e-06, + -6.445044614308923e-06, + -6.445044616003826e-06, + -6.4450446182558285e-06, + -6.445044621166522e-06, + -6.445044624853727e-06, + -6.445044629454166e-06, + -6.445044635126165e-06, + -6.445044642052961e-06, + -6.4450446504465466e-06, + -6.445044660551806e-06, + -6.445044672651598e-06, + -6.445044687072153e-06, + -6.445044704189646e-06, + -6.445044724437111e-06, + -6.445044748312905e-06, + -6.445044776389768e-06, + -6.445044809325142e-06, + -6.445044847872888e-06, + -6.445044892896412e-06, + -6.445044945383049e-06, + -6.4450450064601575e-06, + -6.445045077413027e-06, + -6.445045159704249e-06, + -6.445045254995215e-06, + -6.445045365169028e-06, + -6.445045492355626e-06, + -6.4450456389580585e-06, + -6.44504580768078e-06, + -6.445046001559005e-06, + -6.445046223988789e-06, + -6.445046478758031e-06, + -6.445046770076901e-06, + -6.445047102607984e-06, + -6.445047481494146e-06, + -6.445047912384496e-06, + -6.4450484014555824e-06, + -6.445048955428608e-06, + -6.445049581578878e-06, + -6.4450502877382656e-06, + -6.445051082287247e-06, + -6.4450519741362054e-06, + -6.445052972693621e-06, + -6.4450540878200765e-06, + -6.445055329766663e-06, + -6.445056709097305e-06, + -6.445058236593329e-06, + -6.445059923141374e-06, + -6.4450617796040165e-06, + -6.445063816675013e-06, + -6.445066044719381e-06, + -6.445068473602879e-06, + -6.445071112511078e-06, + -6.4450739697647575e-06, + -6.445077052632262e-06, + -6.445080367147509e-06, + -6.445083917935037e-06, + -6.445087708049351e-06, + -6.445091738832813e-06, + -6.445096009798315e-06, + -6.445100518537444e-06, + -6.445105260663161e-06, + -6.445110229785231e-06, + -6.44511541752281e-06, + -6.445120813553851e-06, + -6.445126405701656e-06, + -6.445132180055974e-06, + -6.445138121127189e-06, + -6.445144212028522e-06, + -6.445150434682777e-06, + -6.4451567700476975e-06, + -6.445163198353356e-06, + -6.445169699349186e-06, + -6.445176252548216e-06, + -6.4451828374704294e-06, + -6.4451894338734754e-06, + -6.445196021970305e-06, + -6.445202582627046e-06, + -6.445209097540411e-06, + -6.445215549389874e-06, + -6.445221921965364e-06, + -6.44522820026857e-06, + -6.445234370588636e-06, + -6.445240420552548e-06, + -6.445246339152283e-06, + -6.445252116751167e-06, + -6.445257745068431e-06, + -6.44526321714885e-06, + -6.445268527317397e-06, + -6.445273671120607e-06, + -6.4452786452598946e-06, + -6.445283447516785e-06, + -6.445288076673108e-06, + -6.445292532428523e-06, + -6.4452968153157865e-06, + -6.4453009266176735e-06, + -6.445304868283657e-06, + -6.445308642850224e-06, + -6.445312253364146e-06, + -6.445315703308846e-06, + -6.445318996537863e-06, + -6.445322137209475e-06, + -6.445325129728298e-06, + -6.445327978692272e-06, + -6.445330688843376e-06, + -6.445333265023131e-06, + -6.445335712133645e-06, + -6.445338035103783e-06, + -6.445340238856284e-06, + -6.4453423282826856e-06, + -6.445344308219205e-06, + -6.4453461834280086e-06, + -6.445347958578972e-06, + -6.445349638238158e-06, + -6.445351226853783e-06, + -6.445352728747772e-06, + -6.4453541481117705e-06, + -6.445355488995835e-06, + -6.4453567553121665e-06, + -6.445357950824048e-06, + -6.4453590791552565e-06, + -6.445360143779345e-06, + -6.445361148027553e-06, + -6.445362095088789e-06, + -6.445363421053224e-06, + -6.45269341066959e-06, + -6.452694084365387e-06, + -6.452694798524398e-06, + -6.452695555387814e-06, + -6.452696357225176e-06, + -6.4526972064967385e-06, + -6.452698105723492e-06, + -6.4526990574667155e-06, + -6.452700064533879e-06, + -6.452701129603939e-06, + -6.452702255645233e-06, + -6.452703445629376e-06, + -6.452704702550969e-06, + -6.452706029590744e-06, + -6.452707429903149e-06, + -6.4527089067206565e-06, + -6.452710463306208e-06, + -6.4527121029793515e-06, + -6.452713829024839e-06, + -6.4527156447177356e-06, + -6.452717553312158e-06, + -6.452719558002884e-06, + -6.4527216618607114e-06, + -6.452723867862661e-06, + -6.452726178807892e-06, + -6.452728597310888e-06, + -6.452731125733288e-06, + -6.4527337661544064e-06, + -6.452736520321457e-06, + -6.4527393895916065e-06, + -6.45274237486924e-06, + -6.452745476578739e-06, + -6.4527486945817514e-06, + -6.452752028111861e-06, + -6.452755475732604e-06, + -6.452759035274572e-06, + -6.452762703780649e-06, + -6.452766477426485e-06, + -6.45277035151904e-06, + -6.452774320425845e-06, + -6.452778377531518e-06, + -6.452782515246076e-06, + -6.452786724974045e-06, + -6.4527909971251454e-06, + -6.45279532113086e-06, + -6.452799685489872e-06, + -6.452804077819157e-06, + -6.452808484930524e-06, + -6.452812892930706e-06, + -6.452817287348758e-06, + -6.452821653255711e-06, + -6.452825975445017e-06, + -6.4528302385876385e-06, + -6.452834427440177e-06, + -6.452838527020737e-06, + -6.452842522835711e-06, + -6.452846401075188e-06, + -6.452850148811296e-06, + -6.452853754200209e-06, + -6.452857206644254e-06, + -6.452860496962248e-06, + -6.452863617499828e-06, + -6.452866562248777e-06, + -6.452869326892115e-06, + -6.452871908841482e-06, + -6.452874307236328e-06, + -6.452876522888112e-06, + -6.452878558207775e-06, + -6.452880417104756e-06, + -6.4528821048381645e-06, + -6.4528836278712535e-06, + -6.452884993692879e-06, + -6.4528862106310305e-06, + -6.452887287674525e-06, + -6.452888234272928e-06, + -6.452889060167872e-06, + -6.452889775215419e-06, + -6.452890389233849e-06, + -6.452890911863121e-06, + -6.452891352451603e-06, + -6.452891719949684e-06, + -6.452892022835329e-06, + -6.452892269053972e-06, + -6.452892465978465e-06, + -6.452892620381868e-06, + -6.452892738435487e-06, + -6.45289282570466e-06, + -6.452892887171137e-06, + -6.452892927252949e-06, + -6.45289294983374e-06, + -6.452892958300157e-06, + -6.452892955580403e-06, + -6.452892944182648e-06, + -6.452892926231935e-06, + -6.452892903519757e-06, + -6.452892877532636e-06, + -6.452892849488319e-06, + -6.452892820383774e-06, + -6.4528927910035875e-06, + -6.452892761973294e-06, + -6.45289273376591e-06, + -6.452892706735776e-06, + -6.452892681133844e-06, + -6.452892657132853e-06, + -6.452892634827214e-06, + -6.452892614268798e-06, + -6.45289259546e-06, + -6.452892578369785e-06, + -6.4528925629440695e-06, + -6.452892549108571e-06, + -6.4528925367804245e-06, + -6.4528925258593035e-06, + -6.452892516253063e-06, + -6.452892507857337e-06, + -6.452892500569355e-06, + -6.452892494298574e-06, + -6.452892488942628e-06, + -6.452892484419635e-06, + -6.452892480637006e-06, + -6.4528924775178135e-06, + -6.45289247499275e-06, + -6.452892472988774e-06, + -6.452892471444112e-06, + -6.452892470302858e-06, + -6.4528924695109135e-06, + -6.452892469025641e-06, + -6.452892468803127e-06 + ], + "eliminated_maximum_absolute": 6.452892958300157e-06, + "floor_active": true, + "maximum_absolute_difference": 6.093555022547437e-18, + "normalization_floor": 1.0, + "normalization_scale": 1.0, + "relative_error": 6.093555022547437e-18, + "unit": "A m-2" + }, + "electron_density": { + "difference": [ + 0.0, + -0.00439453125, + 0.001953125, + 0.00048828125, + 0.00146484375, + 0.00634765625, + 0.001953125, + -0.00537109375, + 0.0, + 0.001953125, + -0.001953125, + -0.0009765625, + -0.0009765625, + -0.0048828125, + -0.0048828125, + -0.001953125, + -0.005859375, + 0.00390625, + 0.0009765625, + 0.00390625, + -0.00341796875, + -0.00048828125, + 0.0, + -0.0029296875, + -0.00146484375, + -0.00341796875, + 0.001220703125, + 0.002685546875, + 0.006103515625, + -0.00341796875, + -0.005126953125, + -0.000732421875, + -0.00048828125, + -0.001220703125, + -0.001953125, + 0.002685546875, + -0.00244140625, + 0.002197265625, + 0.000732421875, + 0.0029296875, + -0.00146484375, + -0.001708984375, + -0.00244140625, + -0.0048828125, + 0.00146484375, + -0.000244140625, + -0.00244140625, + -0.0009765625, + -0.004150390625, + -0.0029296875, + -0.00341796875, + -0.00146484375, + -0.0048828125, + -0.000244140625, + 0.001708984375, + -0.005126953125, + -0.00537109375, + -0.0009765625, + -0.00048828125, + -0.0048828125, + -0.00048828125, + -0.00341796875, + -0.00341796875, + -0.00244140625, + -0.00244140625, + -0.0018310546875, + -0.00439453125, + -0.002685546875, + -0.003173828125, + -0.005126953125, + -0.0023193359375, + -0.0015869140625, + -0.0013427734375, + -0.0042724609375, + -0.00048828125, + -0.00146484375, + -0.0018310546875, + -0.00048828125, + -0.00341796875, + -0.0042724609375, + -0.0029296875, + -0.0018310546875, + -0.0030517578125, + -0.0020751953125, + -0.003173828125, + -0.002685546875, + -0.0042724609375, + -0.0010986328125, + -0.004150390625, + -0.00439453125, + -0.0042724609375, + -0.003173828125, + -0.0035400390625, + -0.0037841796875, + -0.00244140625, + -0.003173828125, + -0.00262451171875, + -0.0009765625, + -0.00244140625, + -0.0023193359375, + -0.0025634765625, + -0.0025634765625, + -0.0028076171875, + -0.0028076171875, + -0.00189208984375, + -0.00250244140625, + -0.00213623046875, + -0.00238037109375, + -0.002197265625, + -0.00152587890625, + -0.00103759765625, + -0.00244140625, + -0.00299072265625, + -0.0010986328125, + -0.00079345703125, + -0.001953125, + -0.00311279296875, + -0.0009765625, + -0.0020751953125, + -0.00286865234375, + -0.00341796875, + -0.0010986328125, + -0.0029296875, + -0.00250244140625, + -0.0020751953125, + -0.00250244140625, + -0.00213623046875, + -0.0015869140625, + -0.1015625, + -0.07421875, + -0.14453125, + -0.08984375, + -0.1015625, + -0.0859375, + -0.0625, + -0.16015625, + -0.07421875, + -0.11328125, + -0.1328125, + -0.125, + -0.01953125, + -0.0546875, + -0.078125, + -0.0546875, + -0.0390625, + -0.13671875, + -0.1015625, + -0.125, + -0.125, + -0.046875, + -0.046875, + -0.11328125, + -0.08984375, + -0.109375, + -0.05078125, + -0.064453125, + -0.07421875, + -0.08984375, + -0.05078125, + -0.015625, + -0.06640625, + -0.046875, + -0.099609375, + -0.087890625, + -0.078125, + -0.04296875, + -0.048828125, + -0.056640625, + -0.0859375, + -0.029296875, + -0.076171875, + -0.033203125, + -0.025390625, + -0.048828125, + -0.0390625, + -0.00390625, + -0.0625, + -0.080078125, + -0.05859375, + -0.015625, + -0.0546875, + -0.041015625, + -0.04296875, + -0.00390625, + -0.017578125, + -0.02734375, + -0.025390625, + -0.0283203125, + -0.0146484375, + -0.029296875, + -0.021484375, + -0.0146484375, + -0.033203125, + -0.0205078125, + -0.0234375, + -0.0205078125, + 0.0068359375, + -0.0126953125, + -0.01953125, + 0.0009765625, + -0.0009765625, + -0.009765625, + 0.0068359375, + -0.0166015625, + -0.0146484375, + -0.015625, + -0.0068359375, + 0.0048828125, + 0.0, + -0.00732421875, + -0.0078125, + -0.01318359375, + -0.00537109375, + -0.00537109375, + -0.0146484375, + -0.00439453125, + -0.00048828125, + 0.00634765625, + -0.00341796875, + -0.00244140625, + 0.00146484375, + -0.0087890625, + -0.00244140625, + 0.0029296875, + -0.00244140625, + -0.0068359375, + 0.00537109375, + 0.00634765625, + -0.001953125, + -0.00537109375, + -0.00244140625, + -0.00439453125, + -0.00146484375, + 0.0, + -0.00244140625, + -0.00048828125, + 0.0009765625, + -0.0087890625, + 0.00634765625, + -0.0048828125, + -0.001953125, + -0.005859375, + -0.00341796875, + 0.00341796875, + -0.00146484375, + 0.00048828125, + -0.001953125, + 0.00048828125, + -0.001953125, + 0.0, + 0.001953125, + -0.00244140625, + 0.0, + 0.00537109375, + 0.00341796875, + -0.0087890625 + ], + "direct": [ + 2515095827087.2163, + 2508793556354.7217, + 2502128356449.5947, + 2495082141841.1523, + 2487636277987.925, + 2479771611284.8813, + 2471468506711.2363, + 2462706893934.1553, + 2453466322630.2183, + 2443726027789.4434, + 2433465005766.469, + 2422662101821.8384, + 2411296109845.499, + 2399345884881.7583, + 2386790468967.1333, + 2373609230660.6206, + 2359782018474.89, + 2345289328213.018, + 2330112483968.8657, + 2314233832263.45, + 2297636948460.9204, + 2280306854240.83, + 2262230244494.2793, + 2243395721575.504, + 2223794034373.8174, + 2203418319191.0117, + 2182264338927.3267, + 2160330716610.0044, + 2137619158859.5803, + 2114134664508.6616, + 2089885713279.0083, + 2064884429220.74, + 2039146713542.194, + 2012692341533.7927, + 1985545018542.402, + 1957732390397.5623, + 1929286004336.7676, + 1900241217338.5884, + 1870637049830.4653, + 1840515983987.316, + 1809923707242.9138, + 1778908803160.364, + 1747522393398.7334, + 1715817736105.744, + 1683849787596.7192, + 1651674735565.7563, + 1619349513251.6309, + 1586931304868.7263, + 1554477053159.772, + 1522042980080.2463, + 1489684131357.0208, + 1457453954970.757, + 1425403922503.2805, + 1393583200813.3196, + 1362038379712.2249, + 1330813259289.914, + 1299948698385.6924, + 1269482523512.174, + 1239449495434.292, + 1209881328682.2678, + 1180806757631.9553, + 1152251641497.1487, + 1124239099703.318, + 1096789668681.6544, + 1069921471144.3386, + 1043650389353.4233, + 1017990234733.3794, + 992952907331.8312, + 968548540022.2722, + 944785623873.3064, + 921671112681.9921, + 899210506191.731, + 877407912902.1584, + 856266094559.6956, + 835786495342.1018, + 815969259387.7709, + 796813240662.7772, + 778316009217.1349, + 760473857685.2311, + 743281811478.0275, + 726733645545.0984, + 710821909912.531, + 695537965478.5104, + 680872030826.7327, + 666813240138.8226, + 653349711686.1196, + 640468625880.7181, + 628156311480.0178, + 616398338270.5774, + 605179614403.4808, + 594484486502.6061, + 584296840707.3342, + 574600202921.8197, + 565377836710.2098, + 556612837480.791, + 548288221827.23987, + 540387011128.3437, + 532892308737.02637, + 525787370305.79865, + 519055666994.2779, + 512680941478.72754, + 506647256833.54224, + 500939038478.36334, + 495541109483.25867, + 490438719599.592, + 485617568437.9678, + 481063823249.62506, + 476764131786.3211, + 472705630719.1022, + 468875950090.4688, + 465263214260.5409, + 461856039786.36163, + 458643530648.92, + 455615271213.1366, + 452761317276.33374, + 450072185529.54504, + 447538841725.0389, + 445152687813.625, + 442905548286.4754, + 440789655928.80554, + 438797637167.36914, + 436922497169.49725, + 435157604829.14166, + 433496677755.4183, + 431933767361.2162, + 430463244134.5124, + 429079783161.7759, + 427778349961.38367, + 20310231274091.098, + 20257525278151.574, + 20201711688277.387, + 20142626491431.285, + 20080099472442.734, + 20013954306726.74, + 19944008708014.53, + 19870074638270.957, + 19791958587438.945, + 19709461931090.074, + 19622381374463.67, + 19530509491661.113, + 19433635369011.9, + 19331545361712.48, + 19224023972765.28, + 19110854863025.25, + 18991822000661.92, + 18866710957630.348, + 18735310359682.305, + 18597413495059.863, + 18452820085241.613, + 18301338218877.777, + 18142786447389.887, + 17976996037530.977, + 17803813372547.64, + 17623102489369.34, + 17434747734615.414, + 17238656517066.908, + 17034762128726.559, + 16823026600821.604, + 16603443555110.36, + 16376041004904.07, + 16140884054477.691, + 15898077440197.695, + 15647767852133.086, + 15390145971297.928, + 15125448155403.686, + 14853957705367.87, + 14576005646092.873, + 14291970958539.055, + 14002280206000.35, + 13707406505967.549, + 13407867810011.555, + 13104224467674.201, + 12797076066251.02, + 12487057556129.281, + 12174834690626.07, + 11861098829287.328, + 11546561173713.34, + 11231946524246.945, + 10917986663433.354, + 10605413487191.994, + 10294952016233.371, + 9987313427795.887, + 9683188250665.525, + 9383239864448.258, + 9088098437019.213, + 8798355422321.363, + 8514558724539.6045, + 8237208614967.454, + 7966754465401.48, + 7703592337747.0, + 7448063444729.95, + 7200453472349.703, + 6960992731936.033, + 6729857089333.757, + 6507169601520.676, + 6293002777390.751, + 6087381369756.212, + 5890285599925.857, + 5701654714320.679, + 5521390774190.367, + 5349362584119.725, + 5185409672113.916, + 5029346243036.258, + 4880965037435.7295, + 4740041038746.409, + 4606334982991.978, + 4479596635994.553, + 4359567813347.202, + 4245985127769.478, + 4138582456757.7593, + 4037093130567.8384, + 3941251846471.6074, + 3850796319963.5967, + 3765468687204.4087, + 3685016675574.702, + 3609194560909.236, + 3537763930882.7993, + 3470494274293.3477, + 3407163415726.229, + 3347557814416.7515, + 3291472745166.816, + 3238712377989.4233, + 3189089771847.271, + 3142426796470.049, + 3098553994839.097, + 3057310397553.7256, + 3018543298969.606, + 2982108003756.0356, + 2947867551353.162, + 2915692424751.92, + 2885460249049.2607, + 2857055484370.8613, + 2830369116982.0625, + 2805298351729.3896, + 2781746308366.8984, + 2759621723805.648, + 2738838661884.829, + 2719316231886.7695, + 2700978316698.974, + 2683753311257.9033, + 2667573871685.5737, + 2652376675348.0884, + 2638102191908.5166, + 2624694465330.9873, + 2612100906690.7266, + 2600272097569.002, + 2589161603755.698, + 2578725798932.5977, + 2568923697985.199, + 2559716799561.9443, + 2551068937493.6113, + 2542946140672.0396, + 2535316500991.5454, + 2528150048955.9927, + 2521418636563.4795, + 2515095827087.2163 + ], + "direct_maximum_absolute": 20310231274091.098, + "eliminated": [ + 2515095827087.2163, + 2508793556354.726, + 2502128356449.593, + 2495082141841.152, + 2487636277987.9233, + 2479771611284.875, + 2471468506711.2344, + 2462706893934.1606, + 2453466322630.2183, + 2443726027789.4414, + 2433465005766.471, + 2422662101821.8394, + 2411296109845.5, + 2399345884881.763, + 2386790468967.138, + 2373609230660.6226, + 2359782018474.896, + 2345289328213.014, + 2330112483968.8647, + 2314233832263.4463, + 2297636948460.924, + 2280306854240.8306, + 2262230244494.2793, + 2243395721575.507, + 2223794034373.819, + 2203418319191.015, + 2182264338927.3254, + 2160330716610.0017, + 2137619158859.5742, + 2114134664508.665, + 2089885713279.0134, + 2064884429220.7407, + 2039146713542.1946, + 2012692341533.794, + 1985545018542.404, + 1957732390397.5596, + 1929286004336.77, + 1900241217338.5862, + 1870637049830.4646, + 1840515983987.313, + 1809923707242.9153, + 1778908803160.3657, + 1747522393398.7358, + 1715817736105.7488, + 1683849787596.7178, + 1651674735565.7566, + 1619349513251.6333, + 1586931304868.7273, + 1554477053159.7761, + 1522042980080.2493, + 1489684131357.0242, + 1457453954970.7585, + 1425403922503.2854, + 1393583200813.3198, + 1362038379712.2231, + 1330813259289.9192, + 1299948698385.6978, + 1269482523512.175, + 1239449495434.2925, + 1209881328682.2727, + 1180806757631.9558, + 1152251641497.152, + 1124239099703.3215, + 1096789668681.6569, + 1069921471144.3411, + 1043650389353.4252, + 1017990234733.3838, + 992952907331.8339, + 968548540022.2754, + 944785623873.3115, + 921671112681.9944, + 899210506191.7325, + 877407912902.1598, + 856266094559.6998, + 835786495342.1023, + 815969259387.7723, + 796813240662.779, + 778316009217.1354, + 760473857685.2345, + 743281811478.0317, + 726733645545.1013, + 710821909912.5328, + 695537965478.5134, + 680872030826.7347, + 666813240138.8258, + 653349711686.1223, + 640468625880.7224, + 628156311480.0189, + 616398338270.5815, + 605179614403.4852, + 594484486502.6104, + 584296840707.3374, + 574600202921.8232, + 565377836710.2136, + 556612837480.7935, + 548288221827.24304, + 540387011128.3463, + 532892308737.02734, + 525787370305.8011, + 519055666994.2802, + 512680941478.7301, + 506647256833.5448, + 500939038478.36615, + 495541109483.2615, + 490438719599.5939, + 485617568437.9703, + 481063823249.6272, + 476764131786.3235, + 472705630719.1044, + 468875950090.47034, + 465263214260.54193, + 461856039786.3641, + 458643530648.923, + 455615271213.1377, + 452761317276.33453, + 450072185529.547, + 447538841725.042, + 445152687813.626, + 442905548286.4775, + 440789655928.8084, + 438797637167.37256, + 436922497169.49835, + 435157604829.1446, + 433496677755.4208, + 431933767361.21826, + 430463244134.5149, + 429079783161.778, + 427778349961.38525, + 20310231274091.2, + 20257525278151.65, + 20201711688277.53, + 20142626491431.375, + 20080099472442.836, + 20013954306726.824, + 19944008708014.594, + 19870074638271.117, + 19791958587439.02, + 19709461931090.188, + 19622381374463.805, + 19530509491661.24, + 19433635369011.918, + 19331545361712.535, + 19224023972765.36, + 19110854863025.305, + 18991822000661.96, + 18866710957630.484, + 18735310359682.406, + 18597413495059.99, + 18452820085241.74, + 18301338218877.824, + 18142786447389.934, + 17976996037531.09, + 17803813372547.73, + 17623102489369.45, + 17434747734615.465, + 17238656517066.973, + 17034762128726.633, + 16823026600821.693, + 16603443555110.41, + 16376041004904.086, + 16140884054477.758, + 15898077440197.742, + 15647767852133.186, + 15390145971298.016, + 15125448155403.764, + 14853957705367.912, + 14576005646092.922, + 14291970958539.111, + 14002280206000.436, + 13707406505967.578, + 13407867810011.63, + 13104224467674.234, + 12797076066251.045, + 12487057556129.33, + 12174834690626.11, + 11861098829287.332, + 11546561173713.402, + 11231946524247.025, + 10917986663433.412, + 10605413487192.01, + 10294952016233.426, + 9987313427795.928, + 9683188250665.568, + 9383239864448.262, + 9088098437019.23, + 8798355422321.39, + 8514558724539.63, + 8237208614967.482, + 7966754465401.495, + 7703592337747.029, + 7448063444729.972, + 7200453472349.718, + 6960992731936.066, + 6729857089333.777, + 6507169601520.699, + 6293002777390.771, + 6087381369756.205, + 5890285599925.87, + 5701654714320.698, + 5521390774190.366, + 5349362584119.726, + 5185409672113.926, + 5029346243036.251, + 4880965037435.746, + 4740041038746.424, + 4606334982991.993, + 4479596635994.56, + 4359567813347.1973, + 4245985127769.478, + 4138582456757.7666, + 4037093130567.846, + 3941251846471.6206, + 3850796319963.602, + 3765468687204.414, + 3685016675574.717, + 3609194560909.24, + 3537763930882.8, + 3470494274293.3413, + 3407163415726.2324, + 3347557814416.754, + 3291472745166.8145, + 3238712377989.432, + 3189089771847.2734, + 3142426796470.046, + 3098553994839.0996, + 3057310397553.7324, + 3018543298969.6006, + 2982108003756.0293, + 2947867551353.164, + 2915692424751.9253, + 2885460249049.263, + 2857055484370.8657, + 2830369116982.064, + 2805298351729.3896, + 2781746308366.901, + 2759621723805.6484, + 2738838661884.828, + 2719316231886.7783, + 2700978316698.968, + 2683753311257.908, + 2667573871685.5757, + 2652376675348.094, + 2638102191908.52, + 2624694465330.984, + 2612100906690.728, + 2600272097569.0015, + 2589161603755.7, + 2578725798932.597, + 2568923697985.201, + 2559716799561.9443, + 2551068937493.6094, + 2542946140672.042, + 2535316500991.5454, + 2528150048955.9873, + 2521418636563.476, + 2515095827087.225 + ], + "eliminated_maximum_absolute": 20310231274091.2, + "floor_active": false, + "maximum_absolute_difference": 0.16015625, + "normalization_floor": 1.0, + "normalization_scale": 20310231274091.2, + "relative_error": 7.88549612452241e-15, + "unit": "m-3" + }, + "electron_rate": { + "difference": [ + 564805698.3107066, + -777387108.5218217, + 192689775.14660573, + -108910933.60488415, + -581494202.0590763, + 483516084.8842032, + 668431319.3072405, + -458306456.52421546, + -135056056.48833966, + 280241599.3295233, + -72107538.02094561, + -22683373.6071347, + 299749986.5078038, + -20215227.286358356, + -171854941.8135767, + 252585338.90573978, + -562740946.8544903, + 161240660.71700573, + -152516376.05784416, + 346386303.6239853, + -136637267.4015112, + -12940665.268702507, + 134904885.0800705, + -69767275.54407215, + 66184085.218450546, + -157052468.5945511, + -59666180.46604347, + -113411032.07491493, + 314574247.6417599, + 42768983.12539673, + -122198291.80755997, + -7763561.661561966, + 7406590.853961945, + 35358053.67394638, + -121644567.81673813, + 129282563.22953033, + -117596020.44622421, + 35591594.25601196, + -51226433.66768646, + 92940434.27423859, + 15773575.045146942, + 15186683.463279724, + 48800878.65306091, + -127195789.81922913, + 31875289.71181488, + 44077884.61933899, + -25637129.49885559, + 62220013.334609985, + -24197717.828842163, + 11784629.111465454, + -38309881.96044159, + 71120431.5501709, + -91587988.3202591, + 193949668.00549316, + -324537520.9667969, + 239494056.8432312, + -88956777.72729492, + -10137345.431610107, + 93608375.70809937, + 122621069.012146, + -371950589.58055115, + 229293469.6072998, + -26129717.17527771, + -200.9744873046875, + -6532686.943344116, + 58963150.916275024, + -36206386.272750854, + 9942725.409317017, + 60177151.596725464, + 138532137.74499512, + -242918305.4235382, + -236019772.60569763, + 560888569.1069641, + -592632338.9912872, + 278422011.8609009, + 7486880.173950195, + 206878753.7163086, + -408473070.63897705, + 314584597.0997925, + -53924746.53213501, + -51274042.21383667, + 57299863.821746826, + -45537143.71575928, + 61241939.49209595, + -19519988.153198242, + 435347069.8900757, + -893782838.3454285, + 563112168.0563965, + 11383781.570251465, + 11864325.816986084, + -80460509.80270386, + 38786467.04446411, + 13516786.908050537, + 353597999.6077881, + -903669030.6911621, + 970604211.466095, + -725040212.2775574, + -376359638.1014099, + 584206585.0177917, + 28351890.933258057, + 656314172.1835632, + -1308759749.5303345, + 716985587.2878723, + -174416100.6781311, + 122638850.14297485, + -64708768.97329712, + 68319290.82302856, + 909257964.5953064, + -2165736402.6419373, + 919058120.5652466, + 409264635.2127075, + 144335121.6322937, + -572850442.3615723, + 1212983533.1299744, + -963470292.6322632, + -1043361379.1051025, + 2283356730.030426, + -2853364313.276184, + 2106837841.8815002, + 229153651.177536, + -1154561921.5262146, + 3191217365.242676, + -2565407414.225128, + -181518061.77816772, + -2196624677.1907196, + 2332163821.2096863, + -211598846706.84473, + -23290105288179.34, + 4950731497.332031, + 1040506939.6347656, + -762376183.4375, + 171027622.7451172, + -225642328.98242188, + -243065900.7421875, + 1059835668.1064453, + -864344025.2509766, + 407624423.3798828, + 3292843106.411133, + -2993993767.2177734, + -3725418552.928711, + 2931377608.9785156, + 210044852.90625, + -162377549.28125, + -136421703.27539062, + 2773305089.0410156, + -4194205627.267578, + 2006141696.1757812, + 1013.03125, + -401194075.47558594, + 1606577792.3642578, + -2697630310.9902344, + 1312634455.2392578, + 83761294.85058594, + -238659700.65820312, + 56704276.1796875, + 1222340448.600586, + -1060650081.6953125, + -1205682923.3105469, + 885189540.6904297, + 192585131.92089844, + 855708059.6298828, + -1581388485.5371094, + 801561861.0693359, + -18567740.287109375, + -112708048.99951172, + 28458575.396972656, + 743526131.6625977, + -1298613499.8510742, + 506214579.0053711, + 136645792.68115234, + -108351211.38769531, + 578307295.4770508, + -1097526655.8759766, + 542636415.7744141, + -95405450.88378906, + 161325851.65429688, + 47132799.580566406, + -49803491.71826172, + -119783129.99951172, + 106240829.3671875, + -17958960.609375, + 605.73828125, + -104126693.39746094, + 41055849.33886719, + 30409816.45361328, + -49.4912109375, + 6628403.65234375, + -39498924.84863281, + 49135374.32446289, + -26127988.510009766, + -22840457.36669922, + 71854120.37646484, + -39308014.23303223, + 6584870.339599609, + -3314760.039916992, + -110323925.34790039, + 84470353.12475586, + 30794085.311035156, + -90246021.04199219, + -1489.6202392578125, + 53876133.15649414, + -91587743.52636719, + 134755106.20159912, + -7659986.516967773, + 7856356.147949219, + -60496973.324279785, + -78813570.07867432, + 34181250.80340576, + 57300987.86047363, + 4554306.161987305, + 51822630.927490234, + -68322086.252594, + -5061645.989715576, + 105152471.5038147, + -114808408.48666382, + -45534169.237213135, + -83050250.83633423, + 129974328.37179565, + -12929867.710571289, + -60822442.98760986, + 162657607.3479004, + -96291075.26531982, + -100943437.46020508, + 105904438.1843872, + 94090743.63800049, + -287609912.1261902, + -18904680.462417603, + 208827064.09487915, + 94231883.42811584, + -88242932.43596649, + 58138173.29598999, + -98110042.23427582, + -38826148.21329498, + 81981636.55330658, + 1832948056.9059677, + -4056941377.833763, + 2547573203.760662, + -750320976.6572189, + 577338937.1646175, + -152758585.909729, + 242597768.762825, + -171281226.336586, + -385590996.1253967, + 336495726.04867554, + -178336503.93467712, + 189074018.41753578, + -171864801.1683426, + 151914613.06780243, + -161174055.93874168, + -136823822.42400742, + 435644054.58368826, + -308296894.8836365, + -654643398.98423, + 217233042.9777069 + ], + "direct": [ + 1024631637.6505504, + 1339048272.474272, + 1851241245.3653557, + 2014923596.8716784, + 1625047101.4331112, + 2044517586.1185782, + 1250967597.8541155, + 1193965036.7726595, + 883085070.7929103, + 632717935.1732733, + 371308131.0103044, + -699135137.5446347, + -176947825.0859462, + -1380983382.8488584, + -1215653525.6885767, + -2221916703.59426, + -2597362888.7919903, + -2581577501.1579943, + -4242645417.370344, + -4419755447.313515, + -4952469569.151511, + -5762712079.6437025, + -6695460659.7949295, + -7485367653.044072, + -8461553745.781549, + -9294782441.219551, + -10555988393.341043, + -11419939487.824915, + -12721003971.60824, + -13988042245.874603, + -15171932156.30756, + -16787252284.411562, + -18033880385.646038, + -19858020766.826054, + -21366350799.31674, + -23245851317.27047, + -24913397668.946224, + -27230060957.243988, + -28792218924.167686, + -31340122052.22576, + -33433300055.954853, + -35954777204.03672, + -38178436243.34694, + -40870607681.81923, + -43481876784.288185, + -46405386996.38066, + -49014686539.498856, + -52072454851.66539, + -55100198026.82884, + -58220782754.888535, + -61185261582.96044, + -64777655209.44983, + -67811069866.32026, + -71171397253.9945, + -74517399826.9668, + -78034200433.15677, + -81312082181.7273, + -84746843451.43161, + -88251972050.2919, + -91723118260.98785, + -94682826609.58055, + -98350409738.3927, + -101498441835.17528, + -104680742656.97449, + -107745930238.94334, + -110817343949.08372, + -113724769690.27275, + -116729799890.59068, + -119217567028.40327, + -121796798258.255, + -124456053641.42354, + -126701998876.6057, + -128893775014.89304, + -130888863166.99129, + -133189643808.1391, + -134557120895.82605, + -136253982702.28369, + -138146680146.63898, + -139266292298.9002, + -140492730558.53214, + -141976310758.21384, + -142796516036.17825, + -143729758831.71576, + -144375529016.5079, + -145695481368.1532, + -145941337818.10992, + -146337960454.34543, + -146803836063.9436, + -147868129858.42975, + -147242943370.183, + -148535638229.8027, + -148213780396.95554, + -148111132669.09195, + -148051869288.3922, + -149156745006.69116, + -148386812876.5339, + -148673955356.27756, + -148929120742.1014, + -147874351662.9822, + -148630848445.06674, + -149990356187.81644, + -147228998333.53033, + -147304121060.71213, + -149921560620.67813, + -147014884789.85703, + -146872199848.9733, + -149711088389.17697, + -147997256779.4047, + -144645717938.64194, + -148229087575.43475, + -147714217236.7873, + -149852457118.3677, + -146370596770.36157, + -148117815522.87003, + -139641041540.63226, + -151343877779.1051, + -151747094821.96957, + -134730052889.27618, + -157892142158.1185, + -129512812996.82246, + -172462750233.5262, + -111555274426.75732, + -173900000622.22513, + -149545181285.77817, + -131296526829.19072, + -131801544106.79031, + -189318703858.84473, + -7071704798707.34, + -6209679225698.668, + -6631628502684.365, + -7599066221623.4375, + -6271787403733.255, + -6615768931960.982, + -7062218441152.742, + -5704306802931.894, + -7687270021721.251, + -5812232598820.62, + -6412825423577.589, + -6934820939979.218, + -5979848144232.929, + -6543250707415.021, + -6414293457907.094, + -6274298515785.281, + -5979601191003.275, + -6199023135530.959, + -6142813465551.268, + -5919762228991.824, + -5845725769566.969, + -5952420796659.476, + -5751946279235.636, + -5719947981522.99, + -5583213828708.761, + -5543251110989.149, + -5441213549944.658, + -5334192120287.82, + -5258777035623.399, + -5188104921141.695, + -5012960014535.311, + -4920973193379.31, + -4860085271192.079, + -4730674435068.37, + -4599756365205.537, + -4480012234690.931, + -4410243397004.287, + -4227262558784.9995, + -4111255921480.603, + -4024006618692.3374, + -3870420894067.851, + -3743657416176.9946, + -3615131745871.319, + -3488682932815.3877, + -3348624270980.523, + -3223612826263.876, + -3099263879604.2256, + -2969233151230.884, + -2828805557024.3457, + -2716842614332.4194, + -2578491132235.7183, + -2463475691813.9995, + -2331546303834.633, + -2229032511514.6094, + -2101507251252.2617, + -1988719148083.3975, + -1885034863904.6611, + -1773477071353.5464, + -1679061569015.4912, + -1572562728172.3477, + -1486996113728.8486, + -1383938438629.6755, + -1307507472334.51, + -1225412242831.3667, + -1137901477147.6235, + -1070942075516.233, + -1001784435103.6604, + -926894789752.0399, + -871643806111.3479, + -807705760883.8752, + -753162118696.689, + -704926717613.042, + -648191930965.6202, + -609465146739.8435, + -560561013813.5264, + -523095823662.2984, + -486707881588.51697, + -453350961708.35205, + -414570784338.8243, + -388955473331.3287, + -360217382105.1966, + -333236895313.8895, + -308391927835.838, + -289596592597.9475, + -262088686499.6276, + -248897458302.73972, + -225104734755.8087, + -209859593224.29916, + -199128480061.4872, + -182695451947.36758, + -164857549139.91727, + -154703182700.07385, + -150618626051.33136, + -123013422765.9021, + -123988345378.67157, + -124653003479.42896, + -88905703551.09686, + -114441624346.2995, + -74143786084.18869, + -87765052406.02492, + -75610069093.03012, + -72492747196.69688, + -53180394435.74847, + -86339982325.01651, + -29767203969.859276, + -49663595599.463295, + -54679439048.38419, + -37993029462.90653, + -42981745192.17751, + -17192451015.739338, + -64634435637.43847, + 14130981380.508368, + -54254255276.97223, + -42148343574.737175, + 36457995477.694664, + -72447121662.0004, + 33229764193.329926, + -91447566281.79405, + 16168334876.80816, + 52124925095.83166, + -67562478516.54157, + -15216519773.954367, + 14122706747.888493, + -2648551371.6038117, + 78752615975.22574, + -35776039247.89829, + -78441362106.88362 + ], + "direct_maximum_absolute": 7687270021721.251, + "eliminated": [ + 459825939.33984375, + 2116435380.9960938, + 1658551470.21875, + 2123834530.4765625, + 2206541303.4921875, + 1561001501.234375, + 582536278.546875, + 1652271493.296875, + 1018141127.28125, + 352476335.84375, + 443415669.03125, + -676451763.9375, + -476697811.59375, + -1360768155.5625, + -1043798583.875, + -2474502042.5, + -2034621941.9375, + -2742818161.875, + -4090129041.3125, + -4766141750.9375, + -4815832301.75, + -5749771414.375, + -6830365544.875, + -7415600377.5, + -8527737831.0, + -9137729972.625, + -10496322212.875, + -11306528455.75, + -13035578219.25, + -14030811229.0, + -15049733864.5, + -16779488722.75, + -18041286976.5, + -19893378820.5, + -21244706231.5, + -23375133880.5, + -24795801648.5, + -27265652551.5, + -28740992490.5, + -31433062486.5, + -33449073631.0, + -35969963887.5, + -38227237122.0, + -40743411892.0, + -43513752074.0, + -46449464881.0, + -48989049410.0, + -52134674865.0, + -55076000309.0, + -58232567384.0, + -61146951701.0, + -64848775641.0, + -67719481878.0, + -71365346922.0, + -74192862306.0, + -78273694490.0, + -81223125404.0, + -84736706106.0, + -88345580426.0, + -91845739330.0, + -94310876020.0, + -98579703208.0, + -101472312118.0, + -104680742456.0, + -107739397552.0, + -110876307100.0, + -113688563304.0, + -116739742616.0, + -119277744180.0, + -121935330396.0, + -124213135336.0, + -126465979104.0, + -129454663584.0, + -130296230828.0, + -133468065820.0, + -134564607776.0, + -136460861456.0, + -137738207076.0, + -139580876896.0, + -140438805812.0, + -141925036716.0, + -142853815900.0, + -143684221688.0, + -144436770956.0, + -145675961380.0, + -146376684888.0, + -145444177616.0, + -147366948232.0, + -147879513640.0, + -147254807696.0, + -148455177720.0, + -148252566864.0, + -148124649456.0, + -148405467288.0, + -148253075976.0, + -149357417088.0, + -147948915144.0, + -148552761104.0, + -148458558248.0, + -148659200336.0, + -150646670360.0, + -145920238584.0, + -148021106648.0, + -149747144520.0, + -147137523640.0, + -146807491080.0, + -149779407680.0, + -148906514744.0, + -142479981536.0, + -149148145696.0, + -148123481872.0, + -149996792240.0, + -145797746328.0, + -149330799056.0, + -138677571248.0, + -150300516400.0, + -154030451552.0, + -131876688576.0, + -159998980000.0, + -129741966648.0, + -171308188312.0, + -114746491792.0, + -171334593208.0, + -149363663224.0, + -129099902152.0, + -134133707928.0, + 22280142848.0, + 16218400489472.0, + -6214629957196.0, + -6632669009624.0, + -7598303845440.0, + -6271958431356.0, + -6615543289632.0, + -7061975375252.0, + -5705366638600.0, + -7686405677696.0, + -5812640223244.0, + -6416118266684.0, + -6931826946212.0, + -5976122725680.0, + -6546182085024.0, + -6414503502760.0, + -6274136138236.0, + -5979464769300.0, + -6201796440620.0, + -6138619259924.0, + -5921768370688.0, + -5845725770580.0, + -5952019602584.0, + -5753552857028.0, + -5717250351212.0, + -5584526463164.0, + -5543334872284.0, + -5440974890244.0, + -5334248824564.0, + -5259999376072.0, + -5187044271060.0, + -5011754331612.0, + -4921858382920.0, + -4860277856324.0, + -4731530143128.0, + -4598174976720.0, + -4480813796552.0, + -4410224829264.0, + -4227149850736.0, + -4111284380056.0, + -4024750144824.0, + -3869122280568.0, + -3744163630756.0, + -3615268391664.0, + -3488574581604.0, + -3349202578276.0, + -3222515299608.0, + -3099806516020.0, + -2969137745780.0, + -2828966882876.0, + -2716889747132.0, + -2578441328744.0, + -2463355908684.0, + -2331652544664.0, + -2229014552554.0, + -2101507251858.0, + -1988615021390.0, + -1885075919754.0, + -1773507481170.0, + -1679061568966.0, + -1572569356576.0, + -1486956614804.0, + -1383987574004.0, + -1307481344346.0, + -1225389402374.0, + -1137973331268.0, + -1070902767502.0, + -1001791019974.0, + -926891474992.0, + -871533482186.0, + -807790231237.0, + -753192912782.0, + -704836471592.0, + -648191929476.0, + -609519022873.0, + -560469426070.0, + -523230578768.5, + -486700221602.0, + -453358818064.5, + -414510287365.5, + -388876659761.25, + -360251563356.0, + -333294196301.75, + -308396482142.0, + -289648415228.875, + -262020364413.375, + -248892396656.75, + -225209887227.3125, + -209744784815.8125, + -199082945892.25, + -182612401696.53125, + -164987523468.28906, + -154690252832.36328, + -150557803608.34375, + -123176080373.25, + -123892054303.40625, + -124552060041.96875, + -89011607989.28125, + -114535715089.9375, + -73856176172.0625, + -87746147725.5625, + -75818896157.125, + -72586979080.125, + -53092151503.3125, + -86398120498.3125, + -29669093927.625, + -49624769451.25, + -54761420684.9375, + -39825977519.8125, + -38924803814.34375, + -19740024219.5, + -63884114660.78125, + 13553642443.34375, + -54101496691.0625, + -42390941343.5, + 36629276704.03125, + -72061530665.875, + 32893268467.28125, + -91269229777.85938, + 15979260858.390625, + 52296789897.0, + -67714393129.609375, + -15055345718.015625, + 14259530570.3125, + -3084195426.1875, + 79060912870.10938, + -35121395848.91406, + -78658595149.86133 + ], + "eliminated_maximum_absolute": 16218400489472.0, + "floor_active": true, + "maximum_absolute_difference": 23290105288179.34, + "normalization_floor": 7.64318943829248e+20, + "normalization_scale": 7.64318943829248e+20, + "relative_error": 3.0471710110305e-08, + "unit": "m-3 s-1" + }, + "hole_current": { + "difference": [ + 0.0, + 7.623296525288703e-21, + 2.541098841762901e-20, + 2.541098841762901e-21, + -3.3881317890172014e-21, + -8.470329472543003e-21, + 0.0, + 3.3881317890172014e-21, + -1.3552527156068805e-20, + 0.0, + -1.2705494208814505e-20, + -1.4399560103323106e-20, + 1.8634724839594607e-20, + -8.470329472543003e-22, + -5.082197683525802e-21, + -7.623296525288703e-21, + -8.470329472543003e-21, + 1.7787691892340307e-20, + 1.0164395367051604e-20, + 9.317362419797304e-21, + -3.3881317890172014e-21, + 8.470329472543003e-21, + 4.235164736271502e-21, + -1.1011428314305904e-20, + -8.470329472543003e-22, + -5.929230630780102e-21, + -5.082197683525802e-21, + -5.929230630780102e-21, + 4.235164736271502e-21, + -5.082197683525802e-21, + -6.776263578034403e-21, + 8.470329472543003e-21, + -7.623296525288703e-21, + -1.8634724839594607e-20, + 1.2705494208814505e-20, + -1.7787691892340307e-20, + -3.3881317890172014e-21, + -2.541098841762901e-21, + -7.623296525288703e-21, + -6.776263578034403e-21, + 2.541098841762901e-21, + -4.235164736271502e-21, + -1.9481757786848908e-20, + -1.3552527156068805e-20, + 0.0, + -3.3881317890172014e-21, + -1.0164395367051604e-20, + -1.4399560103323106e-20, + 0.0, + 3.3881317890172014e-21, + 3.3881317890172014e-21, + -1.5246593050577406e-20, + -1.1011428314305904e-20, + -1.3552527156068805e-20, + -8.470329472543003e-21, + 4.235164736271502e-21, + -1.6093625997831706e-20, + -9.317362419797304e-21, + -7.623296525288703e-21, + 0.0, + -1.6940658945086007e-21, + -1.7787691892340307e-20, + -2.202285662861181e-20, + -1.1858461261560205e-20, + -1.3552527156068805e-20, + -3.3881317890172014e-21, + 0.0, + -1.0164395367051604e-20, + -1.4399560103323106e-20, + -7.623296525288703e-21, + -2.456395547037471e-20, + -1.6940658945086007e-21, + -1.2705494208814505e-20, + -1.4399560103323106e-20, + -2.371692252312041e-20, + -5.082197683525802e-21, + -1.3552527156068805e-20, + 7.962109704190423e-20, + -1.1265538198482195e-19, + -2.456395547037471e-20, + -2.795208725939191e-20, + -2.795208725939191e-20, + -2.710505431213761e-20, + -1.5246593050577406e-20, + -9.317362419797304e-21, + -1.3552527156068805e-20, + 7.623296525288703e-20, + -9.994988777600744e-20, + -2.710505431213761e-20, + -2.879912020664621e-20, + -3.4728350837426314e-20, + -1.1858461261560205e-20, + -2.286988957586611e-20, + -2.625802136488331e-20, + -3.134021904840911e-20, + -1.8634724839594607e-20, + 5.675120746603812e-20, + -1.0333801956502464e-19, + -2.1175823681357508e-20, + -2.371692252312041e-20, + -2.1175823681357508e-20, + 6.013933925505532e-20, + -1.0164395367051604e-19, + -2.1175823681357508e-20, + -3.3034284942917713e-20, + -2.1175823681357508e-20, + -1.0164395367051604e-20, + -2.371692252312041e-20, + -2.625802136488331e-20, + -3.8963515573697816e-20, + -2.286988957586611e-20, + -1.6940658945086007e-20, + -2.964615315390051e-20, + -1.4399560103323106e-20, + 6.013933925505532e-20, + -2.625802136488331e-20, + -1.1096131609031334e-19, + 5.166900978251232e-20, + -1.1096131609031334e-19, + -3.218725199566341e-20, + -2.795208725939191e-20, + -2.0328790734103208e-20, + -3.6422416731934915e-20, + 6.183340514956392e-20, + -2.795208725939191e-20, + -9.063252535621014e-20, + -4.2351647362715017e-20, + 5.152416714853184e-16, + -1.1011428314305904e-19, + -2.625802136488331e-20, + -3.3881317890172014e-20, + -1.5246593050577406e-20, + -3.9810548520952116e-20, + -2.710505431213761e-20, + -2.625802136488331e-20, + -2.625802136488331e-20, + -7.623296525288703e-21, + -2.710505431213761e-20, + 5.421010862427522e-20, + -2.371692252312041e-20, + -1.0926725019580474e-19, + -1.8634724839594607e-20, + -4.743384504624082e-20, + -1.4399560103323106e-20, + -2.710505431213761e-20, + 6.691560283308973e-20, + -1.0587911840678754e-19, + -1.2705494208814505e-20, + -2.371692252312041e-20, + -1.8634724839594607e-20, + 6.268043809681823e-20, + -1.0249098661777034e-19, + -2.0328790734103208e-20, + -1.6093625997831706e-20, + -1.7787691892340307e-20, + -1.2705494208814505e-20, + 4.912791094074942e-20, + -2.456395547037471e-20, + -1.1096131609031334e-19, + -1.9481757786848908e-20, + -2.0328790734103208e-20, + 5.844527336054672e-20, + -9.740878893424454e-20, + -2.710505431213761e-20, + -1.0164395367051604e-20, + -1.0164395367051604e-20, + -5.082197683525802e-21, + 5.929230630780102e-20, + -1.1434944787933055e-19, + -1.2705494208814505e-20, + -3.134021904840911e-20, + -5.082197683525802e-21, + 6.268043809681823e-20, + -8.385626177817573e-20, + -1.7787691892340307e-20, + -2.202285662861181e-20, + -2.1175823681357508e-20, + -1.5246593050577406e-20, + -3.049318610115481e-20, + -2.371692252312041e-20, + -2.625802136488331e-20, + -1.3552527156068805e-20, + -4.235164736271502e-21, + -1.5246593050577406e-20, + -1.1011428314305904e-20, + -1.5246593050577406e-20, + -1.4399560103323106e-20, + -4.235164736271502e-21, + -9.317362419797304e-21, + -9.317362419797304e-21, + -1.2705494208814505e-20, + -1.6093625997831706e-20, + -1.8634724839594607e-20, + -1.6940658945086007e-21, + -2.202285662861181e-20, + -5.929230630780102e-21, + -1.3552527156068805e-20, + 0.0, + -2.456395547037471e-20, + -1.4399560103323106e-20, + -4.235164736271502e-21, + -3.3881317890172014e-21, + -6.776263578034403e-21, + 4.235164736271502e-21, + -7.623296525288703e-21, + -4.235164736271502e-21, + -5.929230630780102e-21, + -4.235164736271502e-21, + -3.3881317890172014e-21, + -4.235164736271502e-21, + 7.623296525288703e-21, + -4.235164736271502e-21, + -3.3881317890172014e-21, + -7.623296525288703e-21, + -8.470329472543003e-22, + -9.317362419797304e-21, + -5.929230630780102e-21, + 1.6940658945086007e-21, + -1.5246593050577406e-20, + 4.235164736271502e-21, + 5.082197683525802e-21, + 7.623296525288703e-21, + -8.470329472543003e-22, + -4.235164736271502e-21, + -5.082197683525802e-21, + 5.082197683525802e-21, + -1.4399560103323106e-20, + -5.082197683525802e-21, + 0.0, + 6.776263578034403e-21, + -1.0164395367051604e-20, + 9.317362419797304e-21, + -6.776263578034403e-21, + -8.470329472543003e-21, + -7.623296525288703e-21, + 8.385626177817573e-20, + -7.623296525288703e-20, + -8.470329472543003e-21, + 8.470329472543003e-21, + 4.235164736271502e-21, + -3.3881317890172014e-21, + 1.1011428314305904e-20, + 0.0, + 4.235164736271502e-21, + -7.623296525288703e-21, + -1.2705494208814505e-20, + 2.541098841762901e-21, + -1.3552527156068805e-20, + -1.0164395367051604e-20, + -1.2705494208814505e-20, + 8.470329472543003e-22, + 9.317362419797304e-21, + 8.470329472543003e-22, + 1.0164395367051604e-20, + -1.6940658945086007e-20 + ], + "direct": [ + -4.8261628977862855e-06, + -4.826162897559469e-06, + -4.8261628970583115e-06, + -4.826162896227351e-06, + -4.82616289500199e-06, + -4.82616289330699e-06, + -4.82616289105491e-06, + -4.82616288814417e-06, + -4.826162884456902e-06, + -4.826162879856423e-06, + -4.826162874184416e-06, + -4.826162867257629e-06, + -4.826162858864115e-06, + -4.826162848758947e-06, + -4.826162836659318e-06, + -4.826162822238954e-06, + -4.826162805121753e-06, + -4.826162784874627e-06, + -4.826162760999274e-06, + -4.826162732922997e-06, + -4.826162699988346e-06, + -4.8261626614414605e-06, + -4.826162616418953e-06, + -4.82616256393358e-06, + -4.826162502857949e-06, + -4.8261624319068625e-06, + -4.826162349617704e-06, + -4.826162254329194e-06, + -4.826162144158241e-06, + -4.826162016975033e-06, + -4.826161870376532e-06, + -4.826161701658335e-06, + -4.826161507785386e-06, + -4.826161285361693e-06, + -4.8261610305994816e-06, + -4.8261607392886905e-06, + -4.826160406766924e-06, + -4.826160027891415e-06, + -4.826159597013322e-06, + -4.82615910795611e-06, + -4.826158553999e-06, + -4.826157927866844e-06, + -4.826157221727996e-06, + -4.82615642720229e-06, + -4.826155535379659e-06, + -4.826154536851944e-06, + -4.8261534217590304e-06, + -4.826152179850054e-06, + -4.8261508005615954e-06, + -4.826149273112835e-06, + -4.826147586617525e-06, + -4.8261457302135174e-06, + -4.826143693207858e-06, + -4.8261414652357295e-06, + -4.82613903643213e-06, + -4.826136397611839e-06, + -4.82613354045499e-06, + -4.826130457693504e-06, + -4.826127143294086e-06, + -4.826123592632802e-06, + -4.826119802655691e-06, + -4.826115772020524e-06, + -4.826111501215377e-06, + -4.8261069926487106e-06, + -4.826102250707957e-06, + -4.826097281783603e-06, + -4.826092094256808e-06, + -4.826086698449602e-06, + -4.826081106538751e-06, + -4.82607533243451e-06, + -4.826069391626326e-06, + -4.826063301000523e-06, + -4.826057078634253e-06, + -4.826050743569388e-06, + -4.826044315574873e-06, + -4.826037814901345e-06, + -4.8260312620341915e-06, + -4.826024677453721e-06, + -4.826018081400539e-06, + -4.826011493661353e-06, + -4.826004933368897e-06, + -4.825998418825242e-06, + -4.825991967350434e-06, + -4.825985595152947e-06, + -4.825979317230453e-06, + -4.825973147292624e-06, + -4.82596709771137e-06, + -4.8259611794936406e-06, + -4.825955402275417e-06, + -4.825949774335979e-06, + -4.8259443026304845e-06, + -4.82593899283261e-06, + -4.8259338493948e-06, + -4.825928875615036e-06, + -4.82592407371138e-06, + -4.825919444901621e-06, + -4.825914989484583e-06, + -4.825910706927971e-06, + -4.825906595948172e-06, + -4.825902654595134e-06, + -4.825898880333082e-06, + -4.825895270113721e-06, + -4.825891820454337e-06, + -4.825888527501114e-06, + -4.825885387095096e-06, + -4.825882394833255e-06, + -4.825879546115565e-06, + -4.825876836201506e-06, + -4.825874260248795e-06, + -4.825871813356646e-06, + -4.825869490594773e-06, + -4.825867287042673e-06, + -4.8258651978064996e-06, + -4.825863218053767e-06, + -4.82586134301774e-06, + -4.825859568032135e-06, + -4.825857888531681e-06, + -4.825856300066615e-06, + -4.825854798313814e-06, + -4.825853379086409e-06, + -4.825852038331153e-06, + -4.825850772137567e-06, + -4.825849576740336e-06, + -4.825848448521144e-06, + -4.825847383998214e-06, + -4.825846379848435e-06, + -4.825845432882202e-06, + -4.825844107082066e-06, + -4.825842522070362e-06, + -4.825841848505165e-06, + -4.825841134493917e-06, + -4.825840377809941e-06, + -4.825839576130142e-06, + -4.825838727034828e-06, + -4.825837828007554e-06, + -4.825836876435757e-06, + -4.825835869612535e-06, + -4.8258348047388356e-06, + -4.825833678926938e-06, + -4.82583248920514e-06, + -4.825831232523698e-06, + -4.825829905762135e-06, + -4.825828505738451e-06, + -4.825827029219956e-06, + -4.825825472936142e-06, + -4.825823833593837e-06, + -4.82582210789458e-06, + -4.8258202925548675e-06, + -4.825818384328859e-06, + -4.825816380034051e-06, + -4.825814276580334e-06, + -4.825812071002085e-06, + -4.82580976049325e-06, + -4.8258073424467914e-06, + -4.825804814496377e-06, + -4.825802174562384e-06, + -4.825799420900625e-06, + -4.82579655215424e-06, + -4.825793567408451e-06, + -4.825790466247169e-06, + -4.825787248811947e-06, + -4.825783915861197e-06, + -4.825780468830119e-06, + -4.8257769098894e-06, + -4.8257732420017506e-06, + -4.82576946897513e-06, + -4.825765595510907e-06, + -4.825761627245005e-06, + -4.825757570780867e-06, + -4.8257534337119375e-06, + -4.82574922463145e-06, + -4.825744953128629e-06, + -4.8257406297678406e-06, + -4.825736266051023e-06, + -4.82573187436017e-06, + -4.825727467880058e-06, + -4.825723060499921e-06, + -4.82571866669469e-06, + -4.825714301385763e-06, + -4.825709979782738e-06, + -4.8257057172090415e-06, + -4.825701528912916e-06, + -4.825697429868562e-06, + -4.8256934345713e-06, + -4.8256895568317745e-06, + -4.825685809574127e-06, + -4.825682204645189e-06, + -4.82567875263814e-06, + -4.82567546273839e-06, + -4.825672342594579e-06, + -4.825669398220922e-06, + -4.825666633932028e-06, + -4.825664052314246e-06, + -4.8256616542325955e-06, + -4.825659438874836e-06, + -4.82565740382794e-06, + -4.825655545187251e-06, + -4.8256538576912585e-06, + -4.825652334879051e-06, + -4.825650969262946e-06, + -4.825649752513142e-06, + -4.8256486756452634e-06, + -4.825647729207314e-06, + -4.825646903460581e-06, + -4.8256461885492884e-06, + -4.8256455746559766e-06, + -4.825645052140182e-06, + -4.8256446116561475e-06, + -4.825644244253073e-06, + -4.825643941453864e-06, + -4.825643695313892e-06, + -4.825643498461322e-06, + -4.825643344122171e-06, + -4.8256432261274385e-06, + -4.82564313891098e-06, + -4.825643077491844e-06, + -4.825643037453598e-06, + -4.82564301491203e-06, + -4.8256430064799995e-06, + -4.82564300923062e-06, + -4.82564302065721e-06, + -4.825643038631674e-06, + -4.8256430613667376e-06, + -4.825643087374388e-06, + -4.825643115435706e-06, + -4.825643144556599e-06, + -4.825643173949983e-06, + -4.8256432029930155e-06, + -4.825643231210692e-06, + -4.825643258251625e-06, + -4.825643283860617e-06, + -4.82564330787073e-06, + -4.825643330182051e-06, + -4.825643350745873e-06, + -4.825643369560068e-06, + -4.82564338665527e-06, + -4.825643402083143e-06, + -4.82564341592255e-06, + -4.8256434282548955e-06, + -4.825643439175678e-06, + -4.825643448786774e-06, + -4.825643457184532e-06, + -4.825643464470996e-06, + -4.825643470744761e-06, + -4.825643476101823e-06, + -4.825643480628581e-06, + -4.825643484408275e-06, + -4.825643487526834e-06, + -4.825643490057315e-06, + -4.825643492056619e-06, + -4.82564349360552e-06, + -4.825643494745242e-06, + -4.8256434955366495e-06, + -4.82564349602202e-06, + -4.825643496243433e-06 + ], + "direct_maximum_absolute": 4.8261628977862855e-06, + "eliminated": [ + -4.8261628977862855e-06, + -4.826162897559476e-06, + -4.826162897058337e-06, + -4.8261628962273535e-06, + -4.8261628950019865e-06, + -4.826162893306981e-06, + -4.82616289105491e-06, + -4.826162888144173e-06, + -4.826162884456889e-06, + -4.826162879856423e-06, + -4.826162874184404e-06, + -4.826162867257615e-06, + -4.826162858864134e-06, + -4.826162848758946e-06, + -4.826162836659313e-06, + -4.826162822238946e-06, + -4.826162805121744e-06, + -4.826162784874645e-06, + -4.826162760999284e-06, + -4.826162732923006e-06, + -4.8261626999883426e-06, + -4.826162661441469e-06, + -4.826162616418957e-06, + -4.826162563933569e-06, + -4.826162502857948e-06, + -4.826162431906857e-06, + -4.826162349617699e-06, + -4.8261622543291885e-06, + -4.826162144158246e-06, + -4.826162016975028e-06, + -4.826161870376525e-06, + -4.826161701658343e-06, + -4.826161507785378e-06, + -4.826161285361674e-06, + -4.826161030599494e-06, + -4.826160739288673e-06, + -4.826160406766921e-06, + -4.826160027891413e-06, + -4.826159597013314e-06, + -4.826159107956103e-06, + -4.826158553999003e-06, + -4.82615792786684e-06, + -4.826157221727977e-06, + -4.826156427202277e-06, + -4.826155535379659e-06, + -4.8261545368519405e-06, + -4.82615342175902e-06, + -4.82615217985004e-06, + -4.8261508005615954e-06, + -4.826149273112838e-06, + -4.826147586617528e-06, + -4.826145730213502e-06, + -4.826143693207847e-06, + -4.826141465235716e-06, + -4.8261390364321215e-06, + -4.826136397611843e-06, + -4.826133540454974e-06, + -4.826130457693495e-06, + -4.826127143294078e-06, + -4.826123592632802e-06, + -4.826119802655689e-06, + -4.826115772020506e-06, + -4.826111501215355e-06, + -4.826106992648699e-06, + -4.826102250707943e-06, + -4.8260972817835995e-06, + -4.826092094256808e-06, + -4.826086698449592e-06, + -4.826081106538737e-06, + -4.826075332434503e-06, + -4.826069391626301e-06, + -4.826063301000521e-06, + -4.82605707863424e-06, + -4.826050743569374e-06, + -4.826044315574849e-06, + -4.82603781490134e-06, + -4.826031262034178e-06, + -4.826024677453801e-06, + -4.826018081400426e-06, + -4.826011493661329e-06, + -4.826004933368869e-06, + -4.825998418825214e-06, + -4.825991967350407e-06, + -4.825985595152931e-06, + -4.825979317230444e-06, + -4.82597314729261e-06, + -4.825967097711446e-06, + -4.825961179493541e-06, + -4.82595540227539e-06, + -4.82594977433595e-06, + -4.82594430263045e-06, + -4.8259389928325985e-06, + -4.825933849394777e-06, + -4.82592887561501e-06, + -4.825924073711349e-06, + -4.825919444901603e-06, + -4.82591498948464e-06, + -4.825910706927867e-06, + -4.825906595948151e-06, + -4.8259026545951104e-06, + -4.825898880333061e-06, + -4.825895270113781e-06, + -4.825891820454235e-06, + -4.825888527501093e-06, + -4.825885387095063e-06, + -4.825882394833234e-06, + -4.825879546115555e-06, + -4.825876836201482e-06, + -4.8258742602487685e-06, + -4.825871813356607e-06, + -4.82586949059475e-06, + -4.825867287042656e-06, + -4.82586519780647e-06, + -4.825863218053753e-06, + -4.8258613430178e-06, + -4.825859568032109e-06, + -4.82585788853157e-06, + -4.825856300066667e-06, + -4.825854798313703e-06, + -4.825853379086376e-06, + -4.825852038331125e-06, + -4.825850772137547e-06, + -4.8258495767403e-06, + -4.825848448521206e-06, + -4.825847383998186e-06, + -4.825846379848344e-06, + -4.8258454328821595e-06, + -4.825844107597308e-06, + -4.8258425220702515e-06, + -4.825841848505139e-06, + -4.825841134493883e-06, + -4.825840377809926e-06, + -4.825839576130103e-06, + -4.825838727034801e-06, + -4.825837828007528e-06, + -4.825836876435731e-06, + -4.825835869612528e-06, + -4.8258348047388085e-06, + -4.825833678926992e-06, + -4.825832489205117e-06, + -4.8258312325235886e-06, + -4.825829905762116e-06, + -4.8258285057384035e-06, + -4.8258270292199416e-06, + -4.825825472936115e-06, + -4.825823833593904e-06, + -4.825822107894474e-06, + -4.825820292554855e-06, + -4.825818384328835e-06, + -4.825816380034032e-06, + -4.8258142765803964e-06, + -4.825812071001983e-06, + -4.825809760493229e-06, + -4.825807342446775e-06, + -4.825804814496359e-06, + -4.8258021745623715e-06, + -4.825799420900674e-06, + -4.825796552154216e-06, + -4.82579356740834e-06, + -4.825790466247149e-06, + -4.825787248811927e-06, + -4.825783915861255e-06, + -4.8257804688300215e-06, + -4.825776909889373e-06, + -4.82577324200174e-06, + -4.82576946897512e-06, + -4.825765595510902e-06, + -4.825761627245065e-06, + -4.825757570780752e-06, + -4.825753433711925e-06, + -4.825749224631418e-06, + -4.825744953128624e-06, + -4.825740629767903e-06, + -4.825736266050939e-06, + -4.825731874360152e-06, + -4.825727467880036e-06, + -4.8257230604999e-06, + -4.8257186666946746e-06, + -4.825714301385732e-06, + -4.8257099797827145e-06, + -4.825705717209015e-06, + -4.825701528912902e-06, + -4.825697429868558e-06, + -4.825693434571285e-06, + -4.8256895568317635e-06, + -4.825685809574112e-06, + -4.8256822046451745e-06, + -4.825678752638135e-06, + -4.825675462738381e-06, + -4.82567234259457e-06, + -4.825669398220909e-06, + -4.825666633932012e-06, + -4.825664052314227e-06, + -4.825661654232594e-06, + -4.825659438874814e-06, + -4.825657403827934e-06, + -4.825655545187238e-06, + -4.8256538576912585e-06, + -4.8256523348790266e-06, + -4.8256509692629315e-06, + -4.825649752513138e-06, + -4.82564867564526e-06, + -4.825647729207307e-06, + -4.825646903460586e-06, + -4.825646188549281e-06, + -4.825645574655972e-06, + -4.825645052140176e-06, + -4.825644611656143e-06, + -4.82564424425307e-06, + -4.82564394145386e-06, + -4.825643695313899e-06, + -4.825643498461318e-06, + -4.825643344122167e-06, + -4.825643226127431e-06, + -4.825643138910979e-06, + -4.825643077491835e-06, + -4.825643037453592e-06, + -4.825643014912032e-06, + -4.825643006479984e-06, + -4.825643009230624e-06, + -4.825643020657215e-06, + -4.825643038631681e-06, + -4.825643061366737e-06, + -4.825643087374384e-06, + -4.825643115435701e-06, + -4.825643144556604e-06, + -4.8256431739499684e-06, + -4.82564320299301e-06, + -4.825643231210692e-06, + -4.8256432582516315e-06, + -4.825643283860607e-06, + -4.825643307870739e-06, + -4.825643330182045e-06, + -4.825643350745864e-06, + -4.82564336956006e-06, + -4.825643386655354e-06, + -4.8256434020830665e-06, + -4.825643415922541e-06, + -4.825643428254904e-06, + -4.825643439175682e-06, + -4.825643448786771e-06, + -4.825643457184543e-06, + -4.825643464470996e-06, + -4.825643470744765e-06, + -4.825643476101816e-06, + -4.825643480628568e-06, + -4.825643484408277e-06, + -4.8256434875268205e-06, + -4.825643490057305e-06, + -4.825643492056606e-06, + -4.825643493605521e-06, + -4.825643494745251e-06, + -4.82564349553665e-06, + -4.82564349602203e-06, + -4.825643496243416e-06 + ], + "eliminated_maximum_absolute": 4.8261628977862855e-06, + "floor_active": true, + "maximum_absolute_difference": 5.152416714853184e-16, + "normalization_floor": 1.0, + "normalization_scale": 1.0, + "relative_error": 5.152416714853184e-16, + "unit": "A m-2" + }, + "hole_density": { + "difference": [ + 0.0, + 0.0, + -0.00390625, + -0.01416015625, + -0.0009765625, + 0.001953125, + 0.00439453125, + 0.0, + -0.001953125, + 0.00732421875, + 0.0, + 0.00732421875, + 0.0078125, + -0.01025390625, + 0.00048828125, + 0.0029296875, + 0.00439453125, + 0.00439453125, + -0.009765625, + -0.00537109375, + -0.00537109375, + 0.001953125, + -0.0048828125, + -0.00244140625, + 0.00634765625, + 0.00048828125, + 0.00390625, + 0.00244140625, + 0.00390625, + -0.00244140625, + 0.0029296875, + 0.00439453125, + -0.005859375, + 0.0048828125, + 0.01220703125, + -0.00830078125, + 0.01171875, + 0.001953125, + 0.00146484375, + 0.0048828125, + 0.00390625, + -0.001953125, + 0.00341796875, + 0.01513671875, + 0.0107421875, + 0.0, + 0.00244140625, + 0.00830078125, + 0.0126953125, + 0.00048828125, + -0.0029296875, + -0.00390625, + 0.01318359375, + 0.0107421875, + 0.0126953125, + 0.0078125, + -0.00390625, + 0.015625, + 0.009765625, + 0.0078125, + 0.0, + 0.001953125, + 0.01953125, + 0.025390625, + 0.015625, + 0.015625, + 0.00390625, + 0.0, + 0.013671875, + 0.0185546875, + 0.01171875, + 0.033203125, + 0.001953125, + 0.01953125, + 0.0205078125, + 0.0361328125, + 0.0078125, + 0.0224609375, + 0.0078125, + 0.0478515625, + 0.041015625, + 0.0478515625, + 0.048828125, + 0.048828125, + 0.02734375, + 0.01953125, + 0.02734375, + 0.015625, + 0.03125, + 0.052734375, + 0.05859375, + 0.0703125, + 0.025390625, + 0.046875, + 0.0546875, + 0.068359375, + 0.0390625, + 0.056640625, + 0.046875, + 0.044921875, + 0.056640625, + 0.046875, + 0.052734375, + 0.04296875, + 0.05078125, + 0.078125, + 0.05078125, + 0.025390625, + 0.056640625, + 0.064453125, + 0.095703125, + 0.056640625, + 0.041015625, + 0.07421875, + 0.037109375, + 0.056640625, + 0.0703125, + 0.072265625, + 0.078125, + 0.07421875, + 0.08203125, + 0.072265625, + 0.052734375, + 0.095703125, + 0.056640625, + 0.07421875, + 0.021484375, + 0.111328125, + 0.00140380859375, + 0.00152587890625, + 0.001434326171875, + 0.00189208984375, + 0.000885009765625, + 0.00225830078125, + 0.0015869140625, + 0.00152587890625, + 0.00152587890625, + 0.00042724609375, + 0.0015869140625, + 0.00164794921875, + 0.00140380859375, + 0.00152587890625, + 0.0010986328125, + 0.0029296875, + 0.00091552734375, + 0.00164794921875, + 0.00103759765625, + 0.00140380859375, + 0.00091552734375, + 0.00146484375, + 0.001220703125, + 0.00128173828125, + 0.0013427734375, + 0.0013427734375, + 0.0010986328125, + 0.001220703125, + 0.0008544921875, + 0.00238037109375, + 0.001708984375, + 0.001953125, + 0.00152587890625, + 0.00146484375, + 0.0018310546875, + 0.00115966796875, + 0.002197265625, + 0.00079345703125, + 0.0008544921875, + 0.0003662109375, + 0.0020751953125, + 0.0028076171875, + 0.00115966796875, + 0.00286865234375, + 0.00048828125, + 0.00201416015625, + 0.0, + 0.0018310546875, + 0.00238037109375, + 0.00225830078125, + 0.001708984375, + 0.003662109375, + 0.0028076171875, + 0.003173828125, + 0.0018310546875, + 0.00048828125, + 0.0020751953125, + 0.0015869140625, + 0.002197265625, + 0.002197265625, + 0.000732421875, + 0.0013427734375, + 0.0015869140625, + 0.0023193359375, + 0.0029296875, + 0.003662109375, + 0.0003662109375, + 0.0045166015625, + 0.00146484375, + 0.0029296875, + 0.0, + 0.005859375, + 0.00341796875, + 0.0009765625, + 0.000732421875, + 0.001708984375, + -0.001220703125, + 0.002197265625, + 0.001708984375, + 0.001708984375, + 0.001220703125, + 0.00146484375, + 0.001220703125, + -0.002685546875, + 0.00146484375, + 0.0009765625, + 0.00244140625, + 0.000244140625, + 0.00341796875, + 0.00244140625, + -0.0009765625, + 0.006103515625, + -0.00146484375, + -0.001953125, + -0.003173828125, + 0.000244140625, + 0.001708984375, + 0.001708984375, + -0.001953125, + 0.00634765625, + 0.001953125, + 0.0, + -0.0029296875, + 0.0048828125, + -0.00439453125, + 0.00341796875, + 0.00390625, + 0.00390625, + -0.00048828125, + -0.0029296875, + 0.00390625, + -0.00390625, + -0.00244140625, + 0.00146484375, + -0.005859375, + 0.0, + -0.001953125, + 0.00439453125, + 0.00634765625, + -0.00146484375, + 0.0068359375, + 0.005859375, + 0.00634765625, + -0.00048828125, + -0.0048828125, + -0.00048828125, + -0.00537109375, + 0.0087890625 + ], + "direct": [ + 2515095827087.2163, + 2521367279959.2305, + 2528033174494.5225, + 2535117617847.4526, + 2542646096185.607, + 2550645540648.5474, + 2559144394568.0234, + 2568172681680.185, + 2577762075010.2656, + 2587945966046.411, + 2598759533730.101, + 2610239812708.675, + 2622425760196.1895, + 2635358320697.565, + 2649080487746.453, + 2663637361689.544, + 2679076202435.8203, + 2695446475957.4263, + 2712799893197.5356, + 2731190439909.3647, + 2750674395811.8267, + 2771310341323.576, + 2793159150012.3887, + 2816283964796.066, + 2840750155847.202, + 2866625258100.695, + 2893978886253.609, + 2922882625182.2363, + 2953409893803.3174, + 2985635780577.3154, + 3019636849111.723, + 3055490912678.971, + 3093276776921.7866, + 3133073950598.4033, + 3174962324913.8613, + 3219021822785.149, + 3265332020309.789, + 3313971743703.545, + 3365018646034.9404, + 3418548769167.2266, + 3474636097367.6523, + 3533352110002.1406, + 3594765341517.7715, + 3658940957464.4287, + 3725940355501.3296, + 3795820800130.7573, + 3868635099190.4834, + 3944431328887.3003, + 4023252612315.5874, + 4105136953994.606, + 4190117130025.723, + 4278220630091.0864, + 4369469643868.706, + 4463881080689.504, + 4561466607675.784, + 4662232688419.501, + 4766180601795.615, + 4873306418994.874, + 4983600916588.938, + 5097049404547.482, + 5213631450749.894, + 5333320487682.178, + 5456083292569.452, + 5581879338997.112, + 5710660025775.631, + 5842367797059.26, + 5976935176028.874, + 6114283742363.225, + 6254323090707.344, + 6396949812959.356, + 6542046551055.009, + 6689481168696.714, + 6839106089973.34, + 6990757849985.443, + 7144256897491.16, + 7299407682408.327, + 7455999052103.381, + 7613804970133.42, + 7772585560018.133, + 7932088465241.021, + 8092050505518.739, + 8252199599019.664, + 8412256911100.389, + 8571939182646.915, + 8730961185596.402, + 8889038249806.906, + 9045888804253.26, + 9201236876445.803, + 9354814496909.865, + 9506363960228.188, + 9655639900225.9, + 9802411144063.611, + 9946462317844.578, + 10087595184509.496, + 10225629702939.39, + 10360404804955.396, + 10491778894083.824, + 10619630076313.025, + 10743856138455.264, + 10864374294120.736, + 10981120720574.453, + 11094049912039.969, + 11203133876278.412, + 11308361201666.135, + 11409736021636.094, + 11507276902292.191, + 11601015677487.45, + 11690996253710.742, + 11777273404911.227, + 11859911575029.926, + 11938983703563.338, + 12014570087052.967, + 12086757287052.027, + 12155637092891.654, + 12221305545526.117, + 12283862026850.527, + 12343408417248.35, + 12400048322647.44, + 12453886371138.27, + 12505027578149.693, + 12553576778330.904, + 12599638121622.262, + 12643314630493.953, + 12684707814969.367, + 12723917341770.475, + 12761040753776.127, + 12796173235862.525, + 12829407423181.967, + 270366762119.59824, + 271213817596.6222, + 272115616795.30902, + 273075701749.66058, + 274097843702.99017, + 275186057845.2641, + 276344618966.07837, + 277578078072.41077, + 278891280020.7349, + 280289382213.8893, + 281777874412.4701, + 283362599710.32, + 285049776721.25696, + 286846023021.9358, + 288758379891.67584, + 290794338384.2138, + 292961866759.3688, + 295269439292.491, + 297726066467.63135, + 300341326544.9298, + 303125398473.52576, + 306089096098.3057, + 309243903580.53546, + 312602011918.8578, + 316176356416.57574, + 319980654894.52606, + 324029446392.5563, + 328338130038.4981, + 332923003689.2813, + 337801301862.9992, + 342991232384.6373, + 348512011058.78345, + 354383893561.58264, + 360628203610.21484, + 367267356322.0013, + 374324875518.5045, + 381825403563.6533, + 389794702151.44257, + 398259642283.84235, + 407248181505.0163, + 416789326293.84784, + 426913077368.0189, + 437650355531.32214, + 449032905612.9552, + 461093176013.9066, + 473864171410.11786, + 487379276275.83215, + 501672047103.8025, + 516775971524.3936, + 532724192980.46515, + 549549200209.9937, + 567282481531.8381, + 585954144826.7227, + 605592505148.452, + 626223643079.0812, + 647870938231.6951, + 670554583673.5529, + 694291088442.8427, + 719092776712.6196, + 744967293444.8801, + 771917127509.1643, + 799939164132.996, + 829024279134.7672, + 859156987589.4968, + 890315159340.9675, + 922469813055.5894, + 955584999296.821, + 989617781389.7301, + 1024518320679.3917, + 1060230070226.6011, + 1096690078120.5833, + 1133829398533.074, + 1171573605521.1191, + 1209843401545.1255, + 1248555309842.22, + 1287622437309.3816, + 1326955292527.6147, + 1366462642069.9617, + 1406052387358.0564, + 1445632444074.7432, + 1485111606507.9192, + 1524400380147.589, + 1563411767317.3152, + 1602061992513.6406, + 1640271156336.2874, + 1677963809320.2517, + 1715069439506.6353, + 1751522870111.339, + 1787264566074.213, + 1822240850512.6357, + 1856404034097.3962, + 1889712462080.8936, + 1922130485094.6768, + 1953628360899.6423, + 1984182095014.5862, + 2013773228588.2263, + 2042388582041.8896, + 2070019962927.8276, + 2096663846165.0198, + 2122321034357.1636, + 2146996305324.1882, + 2170698053305.797, + 2193437929575.2434, + 2215230487448.6523, + 2236092835925.979, + 2256044305471.1606, + 2275106128742.3804, + 2293301138440.5703, + 2310653483857.1553, + 2327188367172.4404, + 2342931800097.685, + 2357910381052.116, + 2372151092732.16, + 2385681119647.231, + 2398527684978.7173, + 2410717905935.7896, + 2422278666655.7734, + 2433236507602.1226, + 2443617530352.2695, + 2453447316639.706, + 2462750860502.7373, + 2471552512410.222, + 2479875934255.0415, + 2487744064153.071, + 2495179090027.511, + 2502202431019.5557, + 2508834725820.383, + 2515095827087.2163 + ], + "direct_maximum_absolute": 12829407423181.967, + "eliminated": [ + 2515095827087.2163, + 2521367279959.2305, + 2528033174494.5264, + 2535117617847.467, + 2542646096185.608, + 2550645540648.5454, + 2559144394568.019, + 2568172681680.185, + 2577762075010.2676, + 2587945966046.404, + 2598759533730.101, + 2610239812708.6675, + 2622425760196.1816, + 2635358320697.575, + 2649080487746.4526, + 2663637361689.541, + 2679076202435.816, + 2695446475957.422, + 2712799893197.5454, + 2731190439909.37, + 2750674395811.832, + 2771310341323.574, + 2793159150012.3936, + 2816283964796.0684, + 2840750155847.196, + 2866625258100.6943, + 2893978886253.605, + 2922882625182.234, + 2953409893803.3135, + 2985635780577.318, + 3019636849111.72, + 3055490912678.967, + 3093276776921.7925, + 3133073950598.3984, + 3174962324913.849, + 3219021822785.157, + 3265332020309.7773, + 3313971743703.543, + 3365018646034.939, + 3418548769167.2217, + 3474636097367.6484, + 3533352110002.1426, + 3594765341517.768, + 3658940957464.4136, + 3725940355501.319, + 3795820800130.7573, + 3868635099190.481, + 3944431328887.292, + 4023252612315.5747, + 4105136953994.6055, + 4190117130025.726, + 4278220630091.0903, + 4369469643868.693, + 4463881080689.493, + 4561466607675.771, + 4662232688419.493, + 4766180601795.619, + 4873306418994.858, + 4983600916588.929, + 5097049404547.475, + 5213631450749.894, + 5333320487682.176, + 5456083292569.433, + 5581879338997.087, + 5710660025775.615, + 5842367797059.244, + 5976935176028.87, + 6114283742363.225, + 6254323090707.33, + 6396949812959.338, + 6542046551054.997, + 6689481168696.681, + 6839106089973.338, + 6990757849985.424, + 7144256897491.14, + 7299407682408.291, + 7455999052103.373, + 7613804970133.397, + 7772585560018.125, + 7932088465240.974, + 8092050505518.698, + 8252199599019.616, + 8412256911100.34, + 8571939182646.866, + 8730961185596.375, + 8889038249806.887, + 9045888804253.232, + 9201236876445.787, + 9354814496909.834, + 9506363960228.135, + 9655639900225.842, + 9802411144063.541, + 9946462317844.553, + 10087595184509.45, + 10225629702939.336, + 10360404804955.328, + 10491778894083.785, + 10619630076312.969, + 10743856138455.217, + 10864374294120.691, + 10981120720574.396, + 11094049912039.922, + 11203133876278.36, + 11308361201666.092, + 11409736021636.043, + 11507276902292.113, + 11601015677487.398, + 11690996253710.717, + 11777273404911.17, + 11859911575029.861, + 11938983703563.242, + 12014570087052.91, + 12086757287051.986, + 12155637092891.58, + 12221305545526.08, + 12283862026850.47, + 12343408417248.28, + 12400048322647.367, + 12453886371138.191, + 12505027578149.62, + 12553576778330.822, + 12599638121622.19, + 12643314630493.9, + 12684707814969.271, + 12723917341770.418, + 12761040753776.053, + 12796173235862.504, + 12829407423181.855, + 270366762119.59683, + 271213817596.62067, + 272115616795.3076, + 273075701749.6587, + 274097843702.9893, + 275186057845.26184, + 276344618966.0768, + 277578078072.40924, + 278891280020.7334, + 280289382213.88885, + 281777874412.4685, + 283362599710.31836, + 285049776721.25555, + 286846023021.93427, + 288758379891.67474, + 290794338384.2109, + 292961866759.36786, + 295269439292.4894, + 297726066467.6303, + 300341326544.9284, + 303125398473.52484, + 306089096098.30426, + 309243903580.53424, + 312602011918.8565, + 316176356416.5744, + 319980654894.5247, + 324029446392.5552, + 328338130038.4969, + 332923003689.28046, + 337801301862.9968, + 342991232384.6356, + 348512011058.7815, + 354383893561.5811, + 360628203610.2134, + 367267356321.99945, + 374324875518.50336, + 381825403563.6511, + 389794702151.4418, + 398259642283.8415, + 407248181505.0159, + 416789326293.84576, + 426913077368.0161, + 437650355531.321, + 449032905612.95233, + 461093176013.9061, + 473864171410.11584, + 487379276275.83215, + 501672047103.80066, + 516775971524.39124, + 532724192980.4629, + 549549200209.992, + 567282481531.8345, + 585954144826.7198, + 605592505148.4489, + 626223643079.0793, + 647870938231.6946, + 670554583673.5508, + 694291088442.8411, + 719092776712.6174, + 744967293444.8779, + 771917127509.1636, + 799939164132.9946, + 829024279134.7656, + 859156987589.4945, + 890315159340.9646, + 922469813055.5857, + 955584999296.8207, + 989617781389.7256, + 1024518320679.3903, + 1060230070226.5981, + 1096690078120.5833, + 1133829398533.068, + 1171573605521.1157, + 1209843401545.1245, + 1248555309842.2192, + 1287622437309.38, + 1326955292527.616, + 1366462642069.9595, + 1406052387358.0547, + 1445632444074.7415, + 1485111606507.918, + 1524400380147.5876, + 1563411767317.314, + 1602061992513.6433, + 1640271156336.286, + 1677963809320.2507, + 1715069439506.6328, + 1751522870111.3389, + 1787264566074.2095, + 1822240850512.6333, + 1856404034097.3972, + 1889712462080.8875, + 1922130485094.6782, + 1953628360899.6443, + 1984182095014.5894, + 2013773228588.226, + 2042388582041.888, + 2070019962927.826, + 2096663846165.0217, + 2122321034357.1572, + 2146996305324.1863, + 2170698053305.797, + 2193437929575.2463, + 2215230487448.6475, + 2236092835925.9834, + 2256044305471.157, + 2275106128742.3765, + 2293301138440.5664, + 2310653483857.156, + 2327188367172.4434, + 2342931800097.681, + 2357910381052.12, + 2372151092732.1626, + 2385681119647.2295, + 2398527684978.723, + 2410717905935.7896, + 2422278666655.7754, + 2433236507602.118, + 2443617530352.263, + 2453447316639.7075, + 2462750860502.7305, + 2471552512410.2163, + 2479875934255.035, + 2487744064153.0713, + 2495179090027.516, + 2502202431019.556, + 2508834725820.388, + 2515095827087.2075 + ], + "eliminated_maximum_absolute": 12829407423181.855, + "floor_active": false, + "maximum_absolute_difference": 0.111328125, + "normalization_floor": 1.0, + "normalization_scale": 12829407423181.967, + "relative_error": 8.677573431711022e-15, + "unit": "m-3" + }, + "hole_rate": { + "difference": [ + -391017342.7697325, + -859217386.6434233, + 1040509758.0126386, + 254125155.99280453, + 205230504.18843198, + -322346724.833287, + -121531327.44699359, + 572884271.2445982, + -432174215.44301516, + 382147441.4198828, + 48069202.20205748, + -884590751.6272027, + 492444005.77470255, + 101083177.18586302, + 57284696.21347046, + 18042305.08471346, + -528635564.1202078, + 145116797.2159748, + 15251872.013877869, + 216492278.91700935, + -191292046.53112793, + 64709716.06317139, + 220752567.65502548, + -139533593.51501656, + 66184085.28756523, + -10471354.710597992, + 9942876.152759552, + -113411032.043087, + 98867210.24835968, + 17108101.718143463, + -146637801.88865662, + 147533061.59376907, + 96292020.23053741, + -261664662.07351685, + 243291348.1985321, + -109892904.04947662, + -6190258.0860824585, + 35591594.0153656, + -5693405.008979797, + -60138270.419784546, + 42061306.68345642, + 91119067.60591125, + -34162026.75505066, + -75376206.56529236, + 18214494.956985474, + 35262409.42539978, + 21362776.8364563, + -70516459.62637329, + -16131441.759613037, + 1708.7468872070312, + 84285579.68682861, + -18715534.758544922, + 10989111.513641357, + -21552591.95614624, + -52912750.812561035, + 83304116.13348389, + -27372259.695617676, + -6758519.548095703, + -30086656.67248535, + 6628430.818115234, + 62541998.20739746, + 16377739.825561523, + -39193961.27856445, + 6525554.565185547, + -39193300.064575195, + -13100636.859008789, + 39500655.802246094, + 16570875.267089844, + -26743682.66052246, + 67576819.23095703, + -92378369.7866211, + 45122120.359375, + 7056242.803222656, + 39507628.22998047, + -80597835.78344727, + 37432205.00317383, + -421422984.9169922, + 891575786.0361328, + -419446555.39453125, + 16591503.728759766, + -1417.853271484375, + -4408460.251953125, + -63751537.41699219, + -32975484.568603516, + 24401551.174316406, + -536587445.9279785, + 1093569670.7416992, + -470169083.68359375, + 11383779.399414062, + 41524426.88232422, + -167109437.5732422, + 84035882.54589844, + 27032929.96875, + 42431349.162597656, + -111107286.23925781, + -691069660.378418, + 1539687723.0800781, + -829701882.0014648, + 26963398.07861328, + -28352291.41845703, + -954638286.7788086, + 1999785394.4833984, + -1047900666.9291992, + 162787766.00927734, + -171696057.0571289, + -168242613.14257812, + 218619929.0439453, + 43297803.154296875, + 228774047.47460938, + -306355501.2348633, + -119368796.09082031, + 270627526.14941406, + -343710805.6123047, + -1779043782.7841797, + 2183865354.26416, + 2268177494.03125, + -4614788153.116211, + 4891479687.447266, + -2511998993.951172, + -143220777.0830078, + -273449738.6958008, + 612456371.3964844, + -3967829713.888672, + 3848182536.4589844, + 2851757949.376465, + -2332162025.114258, + -17798381446775.215, + 632364675651.3639, + -4050599096.7534027, + 346836045.4458618, + -798679790.8243408, + 991957749.9719391, + -483518428.6412506, + -30383650.762771606, + 752.3577270507812, + -594236608.3605957, + 585959646.2715912, + -2307392988.9250793, + 2086723408.8587494, + 2162454260.5646057, + -2163155382.6956024, + 649229157.6818085, + -703630702.8454742, + 255790200.71635437, + -1789748282.4280243, + 3111338990.9986115, + -1587592987.1819916, + 177629045.6698761, + -77650820.62313843, + -1177339914.084259, + 2267405984.163559, + -1069961996.1620331, + -52349739.135025024, + 19888227.472106934, + -56704100.30781555, + -656108332.6992493, + 744165236.2784271, + 830942917.8188934, + -838602976.8266449, + 7407154.106903076, + -657693398.9079132, + 1243485825.9536285, + -536527915.1676483, + -123784294.57504272, + 323.0744171142578, + -34149338.799453735, + -415498348.0403137, + 1077797438.956604, + -607460385.4814606, + 107364769.87402344, + -146038180.8651123, + -364287526.3006439, + 762538504.3906555, + -333270926.4053192, + 20738964.653167725, + -4032814.1118164062, + -27492363.662719727, + 68960863.9113617, + -29947164.333999634, + 10990664.659179688, + -53876003.537475586, + -38802933.62635803, + 45121470.6663208, + -17107306.149536133, + 16894518.177322388, + -3343157.6796875, + -39768652.775131226, + 19750064.0229187, + 974.7460632324219, + 13064744.152954102, + 13051187.474975586, + 9798958.3571167, + -65513027.82467651, + 79000301.68991089, + -62968116.72055054, + 30086650.21432495, + -54061458.384124756, + 99221328.8171997, + -41653595.36125183, + -42332622.44430542, + -3591136.1605529785, + 14652823.317306519, + -48659993.27346802, + 53637743.88970947, + -15709483.90776062, + 8066376.1740112305, + -8297318.7384643555, + -4273218.043701172, + 4408139.664306641, + -63749666.28051758, + 65955244.53192139, + -4879864.334075928, + 25311307.604522705, + -42058825.622177124, + 54671586.077316284, + -22767654.97557068, + -53390152.84718323, + 123785119.34280396, + -148678105.86982727, + -6757862.874755859, + -21213597.648605347, + 74072664.13598633, + 31058692.303077698, + 8146397.8064575195, + -102642679.71018219, + 206718715.03082275, + -103960964.61917877, + -59665011.72817993, + -83759469.07083893, + 220612163.07845306, + -267437977.12412262, + 233016733.50520325, + 25882502.902694702, + -13664226.86883545, + -1558729254.7944489, + 2882563428.364056, + -1289906310.200142, + -341056384.5490074, + 90211097.7247324, + 171855901.35046387, + -343677853.01167774, + 278338151.9797201, + -113409718.88066196, + 336495726.0239563, + 152857482.8700943, + -486194524.69377136, + 544239870.8968849, + -121533995.42248535, + 96702043.16894531, + -547288886.5553284, + -363035342.54299927, + 385374000.18844604, + -450067703.67637634, + 1390288593.3949432 + ], + "direct": [ + -800121440.777545, + -1279520627.4715483, + -1963948677.5342364, + -1397615645.405633, + -1692878833.608443, + -1372340727.052037, + -1118920342.4001186, + -438753615.53665185, + -278376823.34926516, + 123188724.70113277, + 683767655.5770575, + 1251497349.5602973, + 1835634154.0872025, + 2520781962.060863, + 3252569416.2759705, + 3749909772.5222135, + 4786452460.504792, + 5657716749.403475, + 6464019140.763878, + 7544927494.854509, + 9066481270.218872, + 9793247645.563171, + 11455192230.530025, + 12874769467.109983, + 14691547875.412565, + 16367382558.664402, + 18341714283.52776, + 20608476831.456913, + 22933571736.74836, + 25666572998.468143, + 28460739860.611343, + 31587645856.59377, + 35223305976.98054, + 38811037569.92648, + 43207032070.69853, + 47731084633.45052, + 53045879231.41392, + 58564738556.015366, + 64493573364.49102, + 71293682426.58022, + 78983555473.68346, + 86782328077.60591, + 95874978674.24495, + 105675173012.43471, + 116158167991.95699, + 128092526873.4254, + 140728207673.83646, + 154444757458.37363, + 169965045229.2404, + 186298376364.7469, + 204057680562.68683, + 223884023022.24146, + 244723034585.51364, + 267429346924.04385, + 291914998697.18744, + 318507760390.1335, + 347011665598.3044, + 377304052178.4519, + 409918063477.3275, + 444971503694.8181, + 481971129186.2074, + 521542272505.82556, + 563523870978.7214, + 607820623162.5652, + 654631134167.9354, + 704263376751.141, + 756142559823.8022, + 810362900823.2671, + 867738397233.3395, + 927294475419.231, + 988718332518.2134, + 1053611492296.3594, + 1120170969478.8032, + 1189055302012.23, + 1260507088040.2166, + 1332048731073.0032, + 1409234203395.083, + 1484557807618.0361, + 1563335091764.6055, + 1643506210055.7288, + 1723018423350.1467, + 1806750120719.748, + 1888436373366.583, + 1972939655835.4314, + 2056574368151.1743, + 2140519418690.072, + 2225672412350.7417, + 2309568133580.3164, + 2390922635907.3994, + 2478446893354.8823, + 2560023151290.427, + 2640326527826.546, + 2720345987769.9688, + 2800782581045.1626, + 2882377112321.7607, + 2952576160091.6216, + 3032152722579.08, + 3104006712477.9985, + 3172180513062.0786, + 3248942420620.5815, + 3307481545401.221, + 3380842300530.4834, + 3443533463197.071, + 3496205747798.0093, + 3573648206542.943, + 3616129987754.8574, + 3674046567065.044, + 3719727222803.1543, + 3789382434183.4746, + 3815322915122.765, + 3886406867179.909, + 3901860410094.1494, + 3997371522746.3877, + 3974390409185.216, + 4041091221706.264, + 4100218400278.0312, + 4118204591166.884, + 4114692609527.4473, + 4195753230438.049, + 4226208176934.917, + 4231579005405.304, + 4248388167691.3965, + 4352161439838.1113, + 4186267444072.459, + 4349123784445.3765, + 4454867374982.886, + 5697337809288.784, + 80830476867.36386, + 93911673835.2466, + 90042470569.44586, + 92470497989.17566, + 90865760749.97194, + 91717343867.35875, + 93354362657.23723, + 91787124392.35773, + 92579895627.6394, + 93338332854.27159, + 93206796951.07492, + 93239865740.85875, + 94167089804.5646, + 93995823089.3044, + 94227011189.68181, + 94825817825.15453, + 95198413124.71635, + 95942786669.57198, + 95603083654.99861, + 96164063812.81801, + 97243618133.66988, + 97178053247.37686, + 97445005401.91574, + 99144321036.16356, + 98462446495.83797, + 99870489572.86497, + 100124793439.4721, + 100819378523.69218, + 101605756031.30075, + 102108154324.27843, + 103361811609.8189, + 103695640719.17336, + 104928886030.1069, + 105605006653.09209, + 106477478509.95363, + 107670580048.83235, + 108578573109.42496, + 109399691935.07442, + 110782769681.20055, + 111906630455.95969, + 112890731266.9566, + 114335391942.51854, + 115183059965.87402, + 116909518979.13489, + 117884303573.69936, + 119294517728.39066, + 120656969773.59468, + 122191014836.65317, + 123370931373.88818, + 124722483340.33728, + 126412977647.91136, + 127509638487.666, + 128981569240.65918, + 130361667638.46252, + 131604651344.37364, + 132812274486.66632, + 134345448425.85046, + 135079077530.17732, + 136386995770.32031, + 137205210793.22487, + 138364954480.02292, + 138785725578.74606, + 139599318034.15295, + 139974465915.47498, + 140578574602.35712, + 140279824930.17532, + 140802701016.6899, + 140326959893.27945, + 140014390105.21432, + 139263915783.61588, + 138999115885.8172, + 137322326180.63875, + 136211020636.5557, + 135152632263.83945, + 133501284822.3173, + 131737256612.22653, + 129571838771.88971, + 126808605753.09224, + 125809235331.17401, + 122615042606.26154, + 118993661927.2063, + 116497769514.1643, + 114532609749.96948, + 110361081528.40692, + 108165000798.16592, + 103033954441.22952, + 101988252332.44032, + 95816711895.76482, + 93660276919.18068, + 92075696047.80907, + 86269607118.58499, + 80865259915.24736, + 79507259190.92212, + 75121944570.25764, + 76240898258.94849, + 63644152205.86558, + 74496860921.5252, + 50549288821.97732, + 66182629477.84332, + 54392350448.69332, + 45012481997.95932, + 60896066388.99166, + 38847393475.45345, + 38832419787.18838, + 52597515497.3177, + 32956410129.090195, + 32303641890.631165, + 45168011686.39305, + -94080323.9796941, + 54655484758.23736, + 20663126434.575993, + 6336935949.443482, + 55369966559.850464, + 6087988616.738322, + -1716830786.83278, + 7823673359.681838, + 64571858042.18021, + 21973635969.307594, + -77612960389.74065, + 30870938428.928135, + 126616416690.68689, + -192860917546.44043, + 185457665599.6556, + -68757423288.48831, + 54628283735.47751, + -30416156030.820908, + -135095600541.89021 + ], + "direct_maximum_absolute": 5697337809288.784, + "eliminated": [ + -409104098.0078125, + -420303240.828125, + -3004458435.546875, + -1651740801.3984375, + -1898109337.796875, + -1049994002.21875, + -997389014.953125, + -1011637886.78125, + 153797392.09375, + -258958716.71875, + 635698453.375, + 2136088101.1875, + 1343190148.3125, + 2419698784.875, + 3195284720.0625, + 3731867467.4375, + 5315088024.625, + 5512599952.1875, + 6448767268.75, + 7328435215.9375, + 9257773316.75, + 9728537929.5, + 11234439662.875, + 13014303060.625, + 14625363790.125, + 16377853913.375, + 18331771407.375, + 20721887863.5, + 22834704526.5, + 25649464896.75, + 28607377662.5, + 31440112795.0, + 35127013956.75, + 39072702232.0, + 42963740722.5, + 47840977537.5, + 53052069489.5, + 58529146962.0, + 64499266769.5, + 71353820697.0, + 78941494167.0, + 86691209010.0, + 95909140701.0, + 105750549219.0, + 116139953497.0, + 128057264464.0, + 140706844897.0, + 154515273918.0, + 169981176671.0, + 186298374656.0, + 203973394983.0, + 223902738557.0, + 244712045474.0, + 267450899516.0, + 291967911448.0, + 318424456274.0, + 347039037858.0, + 377310810698.0, + 409948150134.0, + 444964875264.0, + 481908587188.0, + 521525894766.0, + 563563064940.0, + 607814097608.0, + 654670327468.0, + 704276477388.0, + 756103059168.0, + 810346329948.0, + 867765140916.0, + 927226898600.0, + 988810710888.0, + 1053566370176.0, + 1120163913236.0, + 1189015794384.0, + 1260587685876.0, + 1332011298868.0, + 1409655626380.0, + 1483666231832.0, + 1563754538320.0, + 1643489618552.0, + 1723018424768.0, + 1806754529180.0, + 1888500124904.0, + 1972972631320.0, + 2056549966600.0, + 2141056006136.0, + 2224578842680.0, + 2310038302664.0, + 2390911252128.0, + 2478405368928.0, + 2560190260728.0, + 2640242491944.0, + 2720318954840.0, + 2800740149696.0, + 2882488219608.0, + 2953267229752.0, + 3030613034856.0, + 3104836414360.0, + 3172153549664.0, + 3248970772912.0, + 3308436183688.0, + 3378842515136.0, + 3444581363864.0, + 3496042960032.0, + 3573819902600.0, + 3616298230368.0, + 3673827947136.0, + 3719683925000.0, + 3789153660136.0, + 3815629270624.0, + 3886526235976.0, + 3901589782568.0, + 3997715233552.0, + 3976169452968.0, + 4038907356352.0, + 4097950222784.0, + 4122819379320.0, + 4109801129840.0, + 4198265229432.0, + 4226351397712.0, + 4231852455144.0, + 4247775711320.0, + 4356129269552.0, + 4182419261536.0, + 4346272026496.0, + 4457199537008.0, + 23495719256064.0, + -551534198784.0, + 97962272932.0, + 89695634524.0, + 93269177780.0, + 89873803000.0, + 92200862296.0, + 93384746308.0, + 91787123640.0, + 93174132236.0, + 92752373208.0, + 95514189940.0, + 91153142332.0, + 92004635544.0, + 96158978472.0, + 93577782032.0, + 95529448528.0, + 94942622924.0, + 97732534952.0, + 92491744664.0, + 97751656800.0, + 97065989088.0, + 97255704068.0, + 98622345316.0, + 96876915052.0, + 99532408492.0, + 99922839312.0, + 100104905212.0, + 100876082624.0, + 102261864364.0, + 101363989088.0, + 102530868692.0, + 104534243696.0, + 104921478876.0, + 106262700052.0, + 105233992684.0, + 108207107964.0, + 108702357404.0, + 109399691612.0, + 110816919020.0, + 112322128804.0, + 111812933828.0, + 114942852328.0, + 115075695196.0, + 117055557160.0, + 118248591100.0, + 118531979224.0, + 120990240700.0, + 122170275872.0, + 123374964188.0, + 124749975704.0, + 126344016784.0, + 127539585652.0, + 128970578576.0, + 130415543642.0, + 131643454278.0, + 132767153016.0, + 134362555732.0, + 135062183012.0, + 136390338928.0, + 137244979446.0, + 138345204416.0, + 138785724604.0, + 139586253290.0, + 139961414728.0, + 140568775644.0, + 140345337958.0, + 140723700715.0, + 140389928010.0, + 139984303455.0, + 139317977242.0, + 138899894557.0, + 137363979776.0, + 136253353259.0, + 135156223400.0, + 133486631999.0, + 131785916605.5, + 129518201028.0, + 126824315237.0, + 125801168955.0, + 122623339925.0, + 118997935145.25, + 116493361374.5, + 114596359416.25, + 110295126283.875, + 108169880662.5, + 103008643133.625, + 102030311158.0625, + 95762040309.6875, + 93683044574.15625, + 92129086200.65625, + 86145821999.24219, + 81013938021.11719, + 79514017053.79688, + 75143158167.90625, + 76166825594.8125, + 63613093513.5625, + 74488714523.71875, + 50651931501.6875, + 65975910762.8125, + 54496311413.3125, + 45072147009.6875, + 60979825858.0625, + 38626781312.375, + 39099857764.3125, + 52364498763.8125, + 32930527626.1875, + 32317306117.5, + 46726740941.1875, + -2976643752.34375, + 55945391068.4375, + 21004182819.125, + 6246724851.71875, + 55198110658.5, + 6431666469.75, + -1995168938.8125, + 7937083078.5625, + 64235362316.15625, + 21820778486.4375, + -77126765865.04688, + 30326698558.03125, + 126737950686.10938, + -192957619589.60938, + 186004954486.21094, + -68394387945.94531, + 54242909735.28906, + -29966088327.14453, + -136485889135.28516 + ], + "eliminated_maximum_absolute": 23495719256064.0, + "floor_active": true, + "maximum_absolute_difference": 17798381446775.215, + "normalization_floor": 7.64318943829248e+20, + "normalization_scale": 7.64318943829248e+20, + "relative_error": 2.3286589440796912e-08, + "unit": "m-3 s-1" + }, + "local_state": { + "difference": [ + [ + -0.0020751953125, + 0.107421875, + -0.1171875, + 0.001922607421875 + ] + ], + "direct": [ + [ + 426553352160.8516, + 12860858403125.174, + 20359987442608.58, + 269571123661.34625 + ] + ], + "direct_maximum_absolute": 20359987442608.58, + "eliminated": [ + [ + 426553352160.8537, + 12860858403125.066, + 20359987442608.695, + 269571123661.34433 + ] + ], + "eliminated_maximum_absolute": 20359987442608.695, + "floor_active": false, + "maximum_absolute_difference": 0.1171875, + "normalization_floor": 1.0, + "normalization_scale": 20359987442608.695, + "relative_error": 5.7557746698189974e-15, + "unit": "m-3" + }, + "positive_ion_flux": { + "difference": [ + 2.1259765625, + 2.5078125, + 1.41796875, + 5.359375, + 6.7421875, + 7.1640625, + -2.2578125, + 0.0, + 10.75, + -2.5390625, + 7.21875, + 5.6875, + 12.9453125, + -16.3515625, + 11.625, + 9.1875, + 3.4921875, + -9.9375, + 22.0234375, + -5.984375, + -11.3828125, + 5.4140625, + -10.328125, + 24.609375, + 7.046875, + 0.0, + 2.140625, + -6.1484375, + 0.0, + 22.59375, + 10.8359375, + -24.296875, + 3.3359375, + 16.0625, + 3.09375, + 14.9375, + 2.890625, + -5.5859375, + 18.953125, + 15.75, + -25.5, + 39.703125, + -38.6875, + 4.71875, + 36.890625, + -18.046875, + 35.390625, + -56.46875, + 17.078125, + 37.890625, + 12.46875, + -32.859375, + 8.125, + 16.140625, + -4.0, + 55.890625, + -23.890625, + -31.84375, + 7.96875, + 39.953125, + -48.171875, + 32.328125, + -65.1875, + 123.5, + -16.671875, + -67.59375, + 68.640625, + 17.453125, + -26.703125, + -72.703125, + 83.65625, + 66.65625, + -68.40625, + 0.0, + 10.34375, + 31.984375, + 11.0, + 22.765625, + -23.5625, + 24.421875, + -38.046875, + -26.359375, + 164.5625, + 57.15625, + -89.40625, + -93.359375, + 130.09375, + 204.15625, + -391.9375, + 186.71875, + 156.703125, + -452.359375, + 259.234375, + -227.125, + 382.328125, + -150.9375, + 53.0, + -167.59375, + 530.296875, + -248.6875, + 0.0, + -138.671875, + -366.3125, + 154.90625, + 163.8125, + 259.96875, + -91.703125, + -194.203125, + 0.0, + -435.75, + 230.859375, + -122.359375, + 518.90625, + 412.71875, + -583.671875, + 1857.734375, + -2135.578125, + 871.75, + -370.15625, + -786.0, + 417.3125, + 2215.953125, + -470.734375, + -750.109375, + -531.28125, + 1129.015625, + -2699.44140625, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "direct": [ + -7295196079944.042, + -21593358072571.71, + -34447586129661.2, + -44564289715381.42, + -51440663457183.01, + -55449722793470.21, + -57468254893839.95, + -58382109069637.61, + -58802458302263.11, + -59046950812806.164, + -59245224729339.336, + -59439966190335.16, + -59642931529663.41, + -59857148792223.555, + -60083662659737.88, + -60323160577148.1, + -60576290026347.06, + -60843708642635.6, + -61126089722612.97, + -61424121386478.08, + -61738504655990.91, + -62069951167988.85, + -62419180496898.1, + -62786917055175.695, + -63173886562613.555, + -63580812166288.23, + -64008409975691.34, + -64457384305980.63, + -64928422318105.26, + -65422188403183.414, + -65939317990503.86, + -66480411130769.04, + -67046025736536.555, + -67636670522710.484, + -68252797880149.03, + -68894796667234.59, + -69562985055662.45, + -70257603578341.13, + -70978808549658.52, + -71726665958737.23, + -72501146004623.89, + -73302118440359.34, + -74129348927349.61, + -74982496414895.75, + -75861111742776.39, + -76764637565343.75, + -77692409604883.81, + -78643659235850.17, + -79617517436590.22, + -80613019881493.78, + -81629113261389.27, + -82664662444799.5, + -83718458315523.92, + -84789226223065.23, + -85875634491506.39, + -86976302955337.28, + -88089811157488.08, + -89214706069932.34, + -90349508945475.69, + -91492721502411.86, + -92642831040789.9, + -93798314623183.58, + -94957642455459.34, + -96119280421095.28, + -97281692038093.0, + -98443340093012.58, + -99602688078589.5, + -100758201827985.97, + -101908351440020.81, + -103051613883753.95, + -104186476263998.34, + -105311440061237.4, + -106425026288670.0, + -107525781504296.31, + -108612284855759.7, + -109683155653577.48, + -110737061662394.11, + -111772727541447.14, + -112788943483435.2, + -113784573548306.42, + -114758563576919.17, + -115709948423060.02, + -116637858111041.83, + -117541523164758.47, + -118420278359293.2, + -119273565538999.7, + -120100934664968.48, + -120902043938592.66, + -121676658258191.33, + -122424646787109.62, + -123145979100810.08, + -123840720701570.03, + -124509027487257.1, + -125151139674723.58, + -125767375162529.2, + -126358122640171.47, + -126923834386426.14, + -127465019083949.77, + -127982234627430.45, + -128476081154318.28, + -128947194227869.88, + -129396238345616.1, + -129823900882347.39, + -130230886319887.38, + -130617911020676.78, + -130985698343741.03, + -131334974271347.61, + -131666463433688.62, + -131980885379891.03, + -132278949784726.52, + -132561341750855.64, + -132828648531416.33, + -133081004149049.92, + -133316615521224.39, + -133526677057854.2, + -133680997049634.98, + -133695375738887.61, + -133374230116782.94, + -132338616785930.58, + -129979942431074.81, + -125499985883452.6, + -118073740691705.05, + -107098935511471.36, + -92425480142932.12, + -74453094181694.38, + -54054648342696.32, + -32371258004616.688, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "direct_maximum_absolute": 133695375738887.61, + "eliminated": [ + -7295196079946.168, + -21593358072574.22, + -34447586129662.617, + -44564289715386.78, + -51440663457189.75, + -55449722793477.375, + -57468254893837.695, + -58382109069637.61, + -58802458302273.86, + -59046950812803.625, + -59245224729346.555, + -59439966190340.84, + -59642931529676.35, + -59857148792207.2, + -60083662659749.51, + -60323160577157.29, + -60576290026350.555, + -60843708642625.664, + -61126089722634.99, + -61424121386472.09, + -61738504655979.52, + -62069951167994.266, + -62419180496887.77, + -62786917055200.305, + -63173886562620.6, + -63580812166288.23, + -64008409975693.484, + -64457384305974.484, + -64928422318105.26, + -65422188403206.01, + -65939317990514.695, + -66480411130744.74, + -67046025736539.89, + -67636670522726.55, + -68252797880152.125, + -68894796667249.53, + -69562985055665.34, + -70257603578335.55, + -70978808549677.47, + -71726665958752.98, + -72501146004598.39, + -73302118440399.05, + -74129348927310.92, + -74982496414900.47, + -75861111742813.28, + -76764637565325.7, + -77692409604919.2, + -78643659235793.7, + -79617517436607.3, + -80613019881531.67, + -81629113261401.73, + -82664662444766.64, + -83718458315532.05, + -84789226223081.38, + -85875634491502.39, + -86976302955393.17, + -88089811157464.19, + -89214706069900.5, + -90349508945483.66, + -91492721502451.81, + -92642831040741.73, + -93798314623215.9, + -94957642455394.16, + -96119280421218.78, + -97281692038076.33, + -98443340092944.98, + -99602688078658.14, + -100758201828003.42, + -101908351439994.11, + -103051613883681.25, + -104186476264082.0, + -105311440061304.06, + -106425026288601.6, + -107525781504296.31, + -108612284855770.05, + -109683155653609.47, + -110737061662405.11, + -111772727541469.9, + -112788943483411.64, + -113784573548330.84, + -114758563576881.12, + -115709948423033.66, + -116637858111206.39, + -117541523164815.62, + -118420278359203.8, + -119273565538906.34, + -120100934665098.58, + -120902043938796.81, + -121676658257799.39, + -122424646787296.34, + -123145979100966.78, + -123840720701117.67, + -124509027487516.33, + -125151139674496.45, + -125767375162911.53, + -126358122640020.53, + -126923834386479.14, + -127465019083782.17, + -127982234627960.75, + -128476081154069.6, + -128947194227869.88, + -129396238345477.42, + -129823900881981.08, + -130230886320042.28, + -130617911020840.6, + -130985698344001.0, + -131334974271255.9, + -131666463433494.42, + -131980885379891.03, + -132278949784290.77, + -132561341751086.5, + -132828648531293.97, + -133081004149568.83, + -133316615521637.11, + -133526677057270.53, + -133680997051492.72, + -133695375736752.03, + -133374230117654.69, + -132338616785560.42, + -129979942430288.81, + -125499985883869.9, + -118073740693921.0, + -107098935511000.62, + -92425480142182.02, + -74453094181163.1, + -54054648343825.336, + -32371258001917.246, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "eliminated_maximum_absolute": 133695375736752.03, + "floor_active": false, + "legacy_binary64": { + "difference": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -55.1875, + 0.0, + 0.0, + 0.0, + 87.4453125, + -41.28125, + 38.9765625, + 0.0, + 0.0, + 0.0, + -31.1171875, + 0.0, + 0.0, + 0.0, + -49.9921875, + 23.6875, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -15.78125, + 15.046875, + 14.3515625, + 0.0, + 39.328125, + 0.0, + 0.0, + 46.09375, + 22.125, + -31.90625, + 30.6875, + -49.28125, + -9.5, + 45.921875, + -17.765625, + 43.03125, + -66.78125, + 16.21875, + 15.78125, + 23.078125, + -37.53125, + 7.34375, + 21.578125, + 14.109375, + 69.375, + -34.15625, + -20.21875, + 6.65625, + 52.78125, + -39.28125, + 26.046875, + -64.84375, + 129.4375, + -25.875, + -51.875, + 52.078125, + 13.09375, + -26.40625, + -66.625, + 121.328125, + 68.328125, + -69.375, + 0.0, + -14.375, + 29.375, + 30.03125, + 15.375, + -15.796875, + 16.21875, + -33.390625, + -34.421875, + 159.921875, + 55.09375, + -95.078125, + -98.5625, + 102.3125, + 233.921875, + -376.140625, + 184.375, + 144.203125, + -451.625, + 262.1875, + -274.234375, + 373.25, + -150.421875, + 157.765625, + -198.703125, + 487.0, + -219.390625, + 0.0, + -202.421875, + -383.75, + 179.734375, + 236.90625, + 249.9375, + 0.0, + -167.15625, + 0.0, + -497.796875, + 263.1875, + -139.203125, + 589.203125, + 389.828125, + -577.890625, + 1923.8125, + -2038.359375, + 785.5625, + -416.375, + -772.65625, + 117.0625, + 2359.59375, + -395.3125, + -839.046875, + -148.421875, + 945.4765625, + -2844.37890625, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "direct": [ + -7295196079963.3955, + -21593358072570.906, + -34447586129658.246, + -44564289715449.1, + -51440663457181.41, + -55449722793439.805, + -57468254893849.81, + -58382109069639.81, + -58802458302276.07, + -59046950812867.71, + -59245224729353.555, + -59439966190294.31, + -59642931529644.42, + -59857148792242.44, + -60083662659724.01, + -60323160577174.52, + -60576290026359.625, + -60843708642610.055, + -61126089722629.75, + -61424121386490.86, + -61738504655969.53, + -62069951167978.56, + -62419180496932.18, + -62786917055186.21, + -63173886562627.17, + -63580812166283.76, + -64008409975712.19, + -64457384305987.03, + -64928422318110.77, + -65422188403179.25, + -65939317990507.99, + -66480411130766.02, + -67046025736542.016, + -67636670522692.97, + -68252797880147.67, + -68894796667222.734, + -69562985055651.88, + -70257603578353.58, + -70978808549643.5, + -71726665958730.36, + -72501146004626.03, + -73302118440376.77, + -74129348927349.02, + -74982496414909.6, + -75861111742776.56, + -76764637565331.28, + -77692409604874.78, + -78643659235854.2, + -79617517436591.69, + -80613019881502.58, + -81629113261390.03, + -82664662444796.39, + -83718458315521.0, + -84789226223058.95, + -85875634491498.66, + -86976302955326.58, + -88089811157492.08, + -89214706069928.61, + -90349508945480.73, + -91492721502405.11, + -92642831040788.39, + -93798314623184.0, + -94957642455463.88, + -96119280421089.0, + -97281692038090.38, + -98443340093009.77, + -99602688078586.64, + -100758201827984.64, + -101908351440027.58, + -103051613883746.12, + -104186476263965.78, + -105311440061235.34, + -106425026288670.95, + -107525781504306.25, + -108612284855782.6, + -109683155653567.83, + -110737061662386.53, + -111772727541453.19, + -112788943483456.05, + -113784573548304.83, + -114758563576919.44, + -115709948423047.47, + -116637858111027.75, + -117541523164748.17, + -118420278359321.95, + -119273565539010.06, + -120100934664948.89, + -120902043938598.84, + -121676658258165.11, + -122424646787110.88, + -123145979100766.83, + -123840720701627.72, + -124509027487214.8, + -125151139674760.36, + -125767375162546.48, + -126358122640133.53, + -126923834386344.33, + -127465019083963.05, + -127982234627438.14, + -128476081154263.95, + -128947194227961.14, + -129396238345598.7, + -129823900882384.92, + -130230886319898.67, + -130617911020534.88, + -130985698343680.78, + -131334974271368.2, + -131666463433653.22, + -131980885379833.0, + -132278949784871.05, + -132561341750805.5, + -132828648531372.94, + -133081004149163.55, + -133316615521176.28, + -133526677057772.25, + -133680997049646.6, + -133695375738770.58, + -133374230117106.3, + -132338616785850.66, + -129979942431182.48, + -125499985883559.94, + -118073740691530.72, + -107098935511448.36, + -92425480142848.11, + -74453094181679.38, + -54054648342768.42, + -32371258004594.527, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "direct_maximum_absolute": 133695375738770.58, + "eliminated": [ + -7295196079963.3955, + -21593358072570.906, + -34447586129658.246, + -44564289715449.1, + -51440663457181.41, + -55449722793439.805, + -57468254893849.81, + -58382109069639.81, + -58802458302220.88, + -59046950812867.71, + -59245224729353.555, + -59439966190294.31, + -59642931529731.87, + -59857148792201.16, + -60083662659762.984, + -60323160577174.52, + -60576290026359.625, + -60843708642610.055, + -61126089722598.63, + -61424121386490.86, + -61738504655969.53, + -62069951167978.56, + -62419180496882.19, + -62786917055209.9, + -63173886562627.17, + -63580812166283.76, + -64008409975712.19, + -64457384305987.03, + -64928422318110.77, + -65422188403179.25, + -65939317990507.99, + -66480411130750.24, + -67046025736557.06, + -67636670522707.32, + -68252797880147.67, + -68894796667262.06, + -69562985055651.88, + -70257603578353.58, + -70978808549689.6, + -71726665958752.48, + -72501146004594.12, + -73302118440407.45, + -74129348927299.73, + -74982496414900.1, + -75861111742822.48, + -76764637565313.52, + -77692409604917.81, + -78643659235787.42, + -79617517436607.9, + -80613019881518.36, + -81629113261413.11, + -82664662444758.86, + -83718458315528.34, + -84789226223080.53, + -85875634491512.77, + -86976302955395.95, + -88089811157457.92, + -89214706069908.39, + -90349508945487.39, + -91492721502457.89, + -92642831040749.11, + -93798314623210.05, + -94957642455399.03, + -96119280421218.44, + -97281692038064.5, + -98443340092957.89, + -99602688078638.72, + -100758201827997.73, + -101908351440001.17, + -103051613883679.5, + -104186476264087.11, + -105311440061303.67, + -106425026288601.58, + -107525781504306.25, + -108612284855768.22, + -109683155653597.2, + -110737061662416.56, + -111772727541468.56, + -112788943483440.25, + -113784573548321.05, + -114758563576886.05, + -115709948423013.05, + -116637858111187.67, + -117541523164803.27, + -118420278359226.88, + -119273565538911.5, + -120100934665051.2, + -120902043938832.77, + -121676658257788.97, + -122424646787295.25, + -123145979100911.03, + -123840720701176.1, + -124509027487476.98, + -125151139674486.12, + -125767375162919.73, + -126358122639983.11, + -126923834386502.1, + -127465019083764.34, + -127982234627925.14, + -128476081154044.56, + -128947194227961.14, + -129396238345396.28, + -129823900882001.17, + -130230886320078.4, + -130617911020771.78, + -130985698343930.72, + -131334974271368.2, + -131666463433486.06, + -131980885379833.0, + -132278949784373.25, + -132561341751068.69, + -132828648531233.73, + -133081004149752.75, + -133316615521566.11, + -133526677057194.36, + -133680997051570.4, + -133695375736732.22, + -133374230117891.86, + -132338616785434.28, + -129979942430409.83, + -125499985883677.0, + -118073740693890.31, + -107098935511053.05, + -92425480142009.06, + -74453094181530.95, + -54054648343713.9, + -32371258001750.15, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "eliminated_maximum_absolute": 133695375736732.22, + "floor_active": false, + "maximum_absolute_difference": 2844.37890625, + "normalization_floor": 1.0, + "normalization_scale": 133695375738770.58, + "relative_error": 2.1275073206777736e-11 + }, + "maximum_absolute_difference": 2699.44140625, + "normalization_floor": 1.0, + "normalization_scale": 133695375738887.61, + "relative_error": 2.0190985599398117e-11, + "unit": "m-2 s-1" + }, + "positive_ion_rate": { + "difference": [ + -36020682752.0, + -3120562176.0, + 8422162432.0, + -28714205184.0, + -9521070080.0, + -2726297600.0, + 57457770496.0, + -12970885120.0, + -58274611200.0, + 67944579072.0, + -47042920448.0, + 6930563072.0, + -31097356288.0, + 118633398272.0, + -106976378880.0, + 8801615872.0, + 19452657664.0, + 43293343744.0, + -97467629568.0, + 80793698304.0, + 14742192128.0, + -43421138944.0, + 38535430144.0, + -81032904704.0, + 38629408768.0, + 14697758720.0, + -4245028864.0, + 15603597312.0, + -10997596160.0, + -38403702784.0, + 19013304320.0, + 54132473856.0, + -40579497984.0, + -17830903808.0, + 17345675264.0, + -15141830656.0, + 14739177472.0, + 9921495040.0, + -27526823936.0, + 3436314624.0, + 42666950656.0, + -64848396288.0, + 75054317568.0, + -40062156800.0, + -28663611392.0, + 47318827008.0, + -44559368192.0, + 74249404416.0, + -57722535936.0, + -15865085952.0, + 18888392704.0, + 32843366400.0, + -29024452608.0, + -5547884544.0, + 13690601472.0, + -39975387136.0, + 52387774464.0, + 5138939904.0, + -25439109120.0, + -20226113536.0, + 55241211904.0, + -50117476352.0, + 60421701632.0, + -116567048192.0, + 86502277120.0, + 31458721792.0, + -84411285504.0, + 31869632512.0, + 27684896768.0, + 29088677888.0, + -99927326720.0, + 10999169024.0, + 88667848704.0, + -45639925760.0, + -7023624192.0, + -14992932864.0, + 14847442944.0, + -8515747840.0, + 34409152512.0, + -36608409600.0, + 49009000448.0, + -9439412224.0, + -159180652544.0, + 92520448000.0, + 130600665088.0, + 3640655872.0, + -213965078528.0, + -73653551104.0, + 616445116416.0, + -622987968512.0, + 33695858688.0, + 713028927488.0, + -870087131136.0, + 621714079744.0, + -815257878528.0, + 747156537344.0, + -299541856256.0, + 339940737024.0, + -1129153298432.0, + 1324327763968.0, + -444574859264.0, + 260815323136.0, + 450844295168.0, + -1087474237440.0, + -19615449088.0, + -223055314944.0, + 860910649344.0, + 264869773312.0, + -530152685568.0, + 1257080356864.0, + -2033101307904.0, + 1139362627584.0, + -2188375359488.0, + 383551143936.0, + 3810157658112.0, + -9887291539456.0, + 17132529836032.0, + -13672400027648.0, + 5984710819840.0, + 2124559679488.0, + -6519617748992.0, + -10336862208000.0, + 16381357588480.0, + 1807459811328.0, + -1502601019392.0, + -12102563528704.0, + 29629066772480.0, + -14938902888448.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "direct": [ + 1.2361758911583281e+23, + 1.1750196189588703e+23, + 9.948099550699838e+22, + 7.3744576093868945e+22, + 4.7219280371345145e+22, + 2.593865944462993e+22, + 1.2307415297748298e+22, + 5.251945359917981e+21, + 2.277491934590281e+21, + 1.2491430054985605e+21, + 9.554649636419081e+20, + 8.853580275240774e+20, + 8.707810535793122e+20, + 8.675415449659475e+20, + 8.661811405687398e+20, + 8.650292804880373e+20, + 8.638372955438747e+20, + 8.62570614290789e+20, + 8.612213707601366e+20, + 8.597844413135973e+20, + 8.58254680211273e+20, + 8.566268747274209e+20, + 8.548957184527048e+20, + 8.530557868300991e+20, + 8.511015615590418e+20, + 8.490276734595436e+20, + 8.46828651824336e+20, + 8.444993311522386e+20, + 8.420346086731077e+20, + 8.394298701090238e+20, + 8.366807745391344e+20, + 8.337836211097498e+20, + 8.30735410301711e+20, + 8.275338984671066e+20, + 8.241778856800867e+20, + 8.20667330563378e+20, + 8.170035084223416e+20, + 8.131891969531461e+20, + 8.092288908046109e+20, + 8.051289477961195e+20, + 8.008977447745952e+20, + 7.965458311213506e+20, + 7.920861096844092e+20, + 7.875338662938996e+20, + 7.829068524506726e+20, + 7.78225332264465e+20, + 7.735120393479705e+20, + 7.687920751978868e+20, + 7.640928083242967e+20, + 7.594435944362799e+20, + 7.548756076485099e+20, + 7.504214399730924e+20, + 7.461146862364835e+20, + 7.4198960203235e+20, + 7.380805028310423e+20, + 7.344212952270107e+20, + 7.310449043114563e+20, + 7.279827493921855e+20, + 7.252640904906036e+20, + 7.229156142180696e+20, + 7.209608411866944e+20, + 7.194196757959849e+20, + 7.183080655779736e+20, + 7.176376299037684e+20, + 7.174154317203771e+20, + 7.176438628694701e+20, + 7.183205523641654e+20, + 7.194384581791403e+20, + 7.209859618698588e+20, + 7.229471603590296e+20, + 7.25302120551869e+20, + 7.280273286162153e+20, + 7.310961297847345e+20, + 7.344791803832308e+20, + 7.381451000242876e+20, + 7.420608999436361e+20, + 7.461926668495968e+20, + 7.505060046791706e+20, + 7.549666614196911e+20, + 7.595409524763802e+20, + 7.641962409692008e+20, + 7.689013549822841e+20, + 7.736268010807764e+20, + 7.78345254910522e+20, + 7.830314832856166e+20, + 7.876628150498112e+20, + 7.92218858671393e+20, + 7.966819127702859e+20, + 8.010365985949134e+20, + 8.052701089014102e+20, + 8.093717754761308e+20, + 8.133332843375182e+20, + 8.171482744461483e+20, + 8.20812290319962e+20, + 8.243225289202133e+20, + 8.2767777626495e+20, + 8.30878083495833e+20, + 8.33924703923041e+20, + 8.368198458057915e+20, + 8.395666256697818e+20, + 8.421687896047142e+20, + 8.44630598034795e+20, + 8.469568399367465e+20, + 8.491525134966502e+20, + 8.512229539343995e+20, + 8.531735482928668e+20, + 8.55009789704862e+20, + 8.567371049720076e+20, + 8.583602661411345e+20, + 8.598788949583976e+20, + 8.61254571945341e+20, + 8.622098831876226e+20, + 8.611964942907918e+20, + 8.509916827284425e+20, + 8.032680002522491e+20, + 6.249683264953339e+20, + 6.168880961611359e+19, + -1.4600324608876937e+21, + -4.990531638307616e+21, + -1.20507641157301e+22, + -2.4272828668667427e+22, + -4.267883761910471e+22, + -6.691569836331842e+22, + -9.493742291002358e+22, + -1.2341434068465755e+23, + -1.4869218304409437e+23, + -1.6781134170164273e+23, + -1.791449639414751e+23, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "direct_maximum_absolute": 1.791449639414751e+23, + "eliminated": [ + 1.2361758911586883e+23, + 1.1750196189589015e+23, + 9.948099550698995e+22, + 7.374457609389766e+22, + 4.721928037135467e+22, + 2.5938659444632655e+22, + 1.230741529769084e+22, + 5.251945359930952e+21, + 2.2774919346485555e+21, + 1.249143005430616e+21, + 9.55464963688951e+20, + 8.853580275171468e+20, + 8.707810536104096e+20, + 8.675415448473141e+20, + 8.661811406757162e+20, + 8.650292804792357e+20, + 8.638372955244221e+20, + 8.625706142474957e+20, + 8.612213708576043e+20, + 8.597844412328036e+20, + 8.582546801965308e+20, + 8.56626874770842e+20, + 8.548957184141694e+20, + 8.53055786911132e+20, + 8.511015615204124e+20, + 8.490276734448459e+20, + 8.46828651828581e+20, + 8.44499331136635e+20, + 8.420346086841053e+20, + 8.394298701474275e+20, + 8.36680774520121e+20, + 8.337836210556173e+20, + 8.307354103422905e+20, + 8.275338984849375e+20, + 8.24177885662741e+20, + 8.206673305785198e+20, + 8.170035084076024e+20, + 8.131891969432246e+20, + 8.092288908321377e+20, + 8.051289477926832e+20, + 8.008977447319283e+20, + 7.96545831186199e+20, + 7.920861096093549e+20, + 7.875338663339617e+20, + 7.829068524793362e+20, + 7.782253322171461e+20, + 7.735120393925299e+20, + 7.687920751236374e+20, + 7.640928083820193e+20, + 7.59443594452145e+20, + 7.548756076296215e+20, + 7.50421439940249e+20, + 7.46114686265508e+20, + 7.419896020378979e+20, + 7.380805028173517e+20, + 7.344212952669861e+20, + 7.310449042590685e+20, + 7.279827493870465e+20, + 7.252640905160427e+20, + 7.229156142382957e+20, + 7.209608411314532e+20, + 7.194196758461024e+20, + 7.183080655175519e+20, + 7.176376300203354e+20, + 7.174154316338748e+20, + 7.176438628380114e+20, + 7.183205524485767e+20, + 7.194384581472707e+20, + 7.20985961842174e+20, + 7.229471603299409e+20, + 7.253021206517964e+20, + 7.280273286052162e+20, + 7.310961296960667e+20, + 7.344791804288707e+20, + 7.381451000313112e+20, + 7.420608999586291e+20, + 7.461926668347494e+20, + 7.505060046876863e+20, + 7.54966661385282e+20, + 7.595409525129886e+20, + 7.641962409201918e+20, + 7.689013549917235e+20, + 7.73626801239957e+20, + 7.783452548180016e+20, + 7.830314831550159e+20, + 7.876628150461706e+20, + 7.92218858885358e+20, + 7.966819128439395e+20, + 8.010365979784683e+20, + 8.052701095243982e+20, + 8.093717754424349e+20, + 8.133332836244893e+20, + 8.171482753162354e+20, + 8.208122896982479e+20, + 8.243225297354711e+20, + 8.276777755177935e+20, + 8.308780837953748e+20, + 8.339247035831002e+20, + 8.368198469349448e+20, + 8.39566624345454e+20, + 8.42168790049289e+20, + 8.446305977739797e+20, + 8.469568394859022e+20, + 8.491525145841245e+20, + 8.512229539540149e+20, + 8.531735485159221e+20, + 8.550097888439514e+20, + 8.567371047071378e+20, + 8.583602666712872e+20, + 8.598788937013173e+20, + 8.612545739784423e+20, + 8.6220988204826e+20, + 8.611964964791672e+20, + 8.509916823448913e+20, + 8.032679964420915e+20, + 6.249683363826254e+20, + 6.1688792483583754e+19, + -1.4600324472152937e+21, + -4.990531644292327e+21, + -1.2050764117854659e+22, + -2.427282866214781e+22, + -4.267883760876785e+22, + -6.691569837969978e+22, + -9.493742291183104e+22, + -1.2341434068315494e+23, + -1.486921830319918e+23, + -1.678113417312718e+23, + -1.791449639265362e+23, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "eliminated_maximum_absolute": 1.791449639265362e+23, + "floor_active": false, + "independent_reference": { + "carrier_mapping": "original_global_phi0_log_n0_log_p0", + "fields": { + "n_m3": { + "hi": [ + 2515095827087.2163, + 2508793556354.725, + 2502128356449.5933, + 2495082141841.156, + 2487636277987.922, + 2479771611284.8794, + 2471468506711.236, + 2462706893934.159, + 2453466322630.22, + 2443726027789.4414, + 2433465005766.472, + 2422662101821.8384, + 2411296109845.499, + 2399345884881.7637, + 2386790468967.1367, + 2373609230660.62, + 2359782018474.893, + 2345289328213.0156, + 2330112483968.8677, + 2314233832263.443, + 2297636948460.9224, + 2280306854240.831, + 2262230244494.279, + 2243395721575.5083, + 2223794034373.818, + 2203418319191.0127, + 2182264338927.327, + 2160330716610.003, + 2137619158859.577, + 2114134664508.666, + 2089885713279.014, + 2064884429220.739, + 2039146713542.1963, + 2012692341533.7922, + 1985545018542.4065, + 1957732390397.5625, + 1929286004336.7688, + 1900241217338.587, + 1870637049830.4675, + 1840515983987.3152, + 1809923707242.9172, + 1778908803160.3647, + 1747522393398.7346, + 1715817736105.7485, + 1683849787596.7207, + 1651674735565.7595, + 1619349513251.6335, + 1586931304868.726, + 1554477053159.775, + 1522042980080.248, + 1489684131357.0227, + 1457453954970.761, + 1425403922503.283, + 1393583200813.3223, + 1362038379712.2253, + 1330813259289.9177, + 1299948698385.6963, + 1269482523512.1738, + 1239449495434.2932, + 1209881328682.2717, + 1180806757631.9575, + 1152251641497.1511, + 1124239099703.3206, + 1096789668681.6584, + 1069921471144.3406, + 1043650389353.4242, + 1017990234733.3823, + 992952907331.8341, + 968548540022.275, + 944785623873.3098, + 921671112681.9941, + 899210506191.734, + 877407912902.1609, + 856266094559.6989, + 835786495342.103, + 815969259387.7733, + 796813240662.7794, + 778316009217.1368, + 760473857685.2341, + 743281811478.0311, + 726733645545.1016, + 710821909912.534, + 695537965478.5139, + 680872030826.7341, + 666813240138.8258, + 653349711686.1216, + 640468625880.7213, + 628156311480.0188, + 616398338270.5804, + 605179614403.4844, + 594484486502.6095, + 584296840707.3376, + 574600202921.8228, + 565377836710.2133, + 556612837480.7927, + 548288221827.2423, + 540387011128.3461, + 532892308737.0282, + 525787370305.80096, + 519055666994.27997, + 512680941478.72955, + 506647256833.5445, + 500939038478.3656, + 495541109483.2617, + 490438719599.5946, + 485617568437.9704, + 481063823249.6275, + 476764131786.3228, + 472705630719.1046, + 468875950090.4701, + 465263214260.54254, + 461856039786.36334, + 458643530648.92224, + 455615271213.1381, + 452761317276.33514, + 450072185529.5477, + 447538841725.0418, + 445152687813.62665, + 442905548286.47754, + 440789655928.8087, + 438797637167.3719, + 436922497169.4991, + 435157604829.1439, + 433496677755.4209, + 431933767361.21814, + 430463244134.5146, + 429079783161.7776, + 427778349961.38513, + 20310231274091.215, + 20257525278151.67, + 20201711688277.543, + 20142626491431.406, + 20080099472442.86, + 20013954306726.86, + 19944008708014.605, + 19870074638271.11, + 19791958587439.02, + 19709461931090.184, + 19622381374463.793, + 19530509491661.21, + 19433635369011.945, + 19331545361712.566, + 19224023972765.383, + 19110854863025.32, + 18991822000661.99, + 18866710957630.46, + 18735310359682.375, + 18597413495059.965, + 18452820085241.734, + 18301338218877.82, + 18142786447389.94, + 17976996037531.09, + 17803813372547.746, + 17623102489369.434, + 17434747734615.482, + 17238656517067.0, + 17034762128726.617, + 16823026600821.686, + 16603443555110.408, + 16376041004904.113, + 16140884054477.781, + 15898077440197.754, + 15647767852133.19, + 15390145971298.006, + 15125448155403.742, + 14853957705367.918, + 14576005646092.912, + 14291970958539.104, + 14002280206000.43, + 13707406505967.596, + 13407867810011.625, + 13104224467674.242, + 12797076066251.053, + 12487057556129.338, + 12174834690626.117, + 11861098829287.348, + 11546561173713.383, + 11231946524247.01, + 10917986663433.4, + 10605413487192.027, + 10294952016233.418, + 9987313427795.924, + 9683188250665.58, + 9383239864448.273, + 9088098437019.232, + 8798355422321.404, + 8514558724539.624, + 8237208614967.481, + 7966754465401.505, + 7703592337747.031, + 7448063444729.979, + 7200453472349.727, + 6960992731936.057, + 6729857089333.764, + 6507169601520.698, + 6293002777390.762, + 6087381369756.212, + 5890285599925.861, + 5701654714320.691, + 5521390774190.375, + 5349362584119.731, + 5185409672113.931, + 5029346243036.256, + 4880965037435.74, + 4740041038746.415, + 4606334982991.993, + 4479596635994.557, + 4359567813347.202, + 4245985127769.4766, + 4138582456757.761, + 4037093130567.8413, + 3941251846471.617, + 3850796319963.6064, + 3765468687204.4146, + 3685016675574.713, + 3609194560909.2417, + 3537763930882.7993, + 3470494274293.346, + 3407163415726.2266, + 3347557814416.7583, + 3291472745166.814, + 3238712377989.4307, + 3189089771847.2754, + 3142426796470.047, + 3098553994839.0967, + 3057310397553.7295, + 3018543298969.603, + 2982108003756.0337, + 2947867551353.164, + 2915692424751.9233, + 2885460249049.262, + 2857055484370.8613, + 2830369116982.0635, + 2805298351729.3896, + 2781746308366.899, + 2759621723805.651, + 2738838661884.8315, + 2719316231886.7744, + 2700978316698.972, + 2683753311257.905, + 2667573871685.5786, + 2652376675348.0903, + 2638102191908.519, + 2624694465330.9854, + 2612100906690.7266, + 2600272097569.0, + 2589161603755.6973, + 2578725798932.5967, + 2568923697985.1987, + 2559716799561.9414, + 2551068937493.6084, + 2542946140672.0386, + 2535316500991.5415, + 2528150048955.991, + 2521418636563.4805, + 2515095827087.2163 + ], + "lo": [ + 0.0, + 0.00019526208142443295, + -2.8989695189269127e-05, + 0.00022189437606639324, + -0.00020178341712293583, + 0.00013032614161709983, + 6.650060968298664e-05, + -0.00019871775886064945, + -5.400185865759961e-05, + 7.292472851070045e-05, + -0.00024350532582967626, + 0.00017391835078675458, + 4.080399609941325e-05, + 0.0001702859382769227, + 0.00023885848362466603, + 0.00011484247642046379, + 0.00019239586613859907, + 0.0001454892747639967, + 0.00019831493406084844, + -4.532522372425143e-06, + -6.337769370542082e-05, + -0.0001635446796446483, + -0.00014625175684369204, + 0.00019456078780235954, + -0.00020145910170174007, + 3.649509826854371e-05, + 5.4254079789707135e-05, + 0.00010946178601752422, + -4.168128563750681e-05, + -6.684555213577125e-05, + -8.397062289462105e-05, + 9.523057426553696e-05, + 7.4884772500705865e-06, + 3.809321698167071e-05, + 1.0832705840297388e-05, + -0.00010041004900395082, + 8.236610373698014e-05, + -6.945799788275221e-05, + -7.998313259832487e-05, + 0.00011543436796628625, + -7.515036152471534e-05, + -6.45260389512476e-05, + -4.293164264734557e-05, + 5.307195573161462e-05, + -9.137259975250816e-05, + -3.407750596753757e-05, + -7.824995783697772e-05, + 6.279949202459146e-05, + -5.0022247460464544e-05, + 8.896084465880209e-05, + 4.223614012492129e-05, + -4.687979257447387e-05, + 5.086597282193e-05, + -8.95597454735489e-05, + 6.361369248048521e-05, + -1.909045677533197e-05, + 2.767954312025167e-05, + -4.7530131868941745e-05, + 0.00011887472920619715, + -8.391168002500033e-05, + 9.822564647107009e-05, + 3.0273312174167026e-05, + 8.719290384068657e-06, + 5.081898931407611e-05, + 2.1984772555624062e-05, + -2.9350124275403372e-05, + -3.052645333838957e-05, + 2.9659760519464735e-05, + 4.83979798140712e-05, + 1.61782662103684e-05, + 5.99917428011497e-05, + -4.8306565702661115e-05, + 2.4603457476792994e-05, + 6.831431840261844e-06, + 5.379320419168701e-05, + -5.873869463509648e-05, + -2.9924785806480568e-05, + -3.157640392335823e-05, + -2.977033195570494e-05, + 2.4290664766803483e-05, + -3.5992693232999315e-05, + -2.556809264540248e-05, + -3.901546651100971e-05, + 2.2657905197563332e-05, + 2.6778968013856437e-05, + -4.2812236721529805e-05, + 1.7727537319657163e-05, + 5.672851982051132e-05, + -3.4712006898725707e-05, + -1.7666531553058127e-05, + 4.963734930853561e-05, + -2.649663337354465e-05, + 3.516698367228987e-05, + 4.91873424649162e-05, + 1.125032011378885e-05, + -6.150814682246021e-06, + -1.015237382514996e-05, + -2.3393254533173423e-05, + 2.9889511589292294e-07, + 2.3987861660424868e-05, + 7.167432446492091e-06, + -6.155912378614052e-06, + 2.399253643916938e-05, + 4.353904071084454e-06, + -2.0278500595758752e-05, + -2.354488761487265e-05, + 1.9539928050124102e-05, + 2.3950140976744614e-05, + -2.0436030789980448e-05, + 1.1024832888018338e-05, + 8.949662308063497e-06, + 2.2325047895560873e-05, + -2.413351249324928e-05, + 4.972565225908759e-06, + -2.0714830447265572e-05, + 1.2631144616626032e-05, + 2.9488490573329158e-05, + 2.136219642842803e-05, + -2.7995066440586023e-05, + 2.625173130307383e-05, + 2.1662514844801797e-06, + -1.733450940661516e-05, + 2.2653744774185488e-05, + 1.77168625554835e-05, + -2.1837694973287507e-05, + 2.494301065928892e-06, + -1.624931493359594e-05, + -2.1618535789848065e-05, + -0.000850153525505843, + -0.0007559267661131493, + -0.0007312406203411297, + 0.0013091683916515776, + -0.001113730185751185, + -0.0017281718249601082, + 0.0003876413376453908, + -0.0014817565982358212, + 0.0017318720164475158, + 0.00140230615928294, + 0.00043872523274745016, + 0.0016029048817502946, + -0.0008218163303105809, + -0.00026931791640653023, + -0.0009611896226219456, + -0.001211765912522777, + -0.0012199040750745288, + 0.0014959310223117237, + 8.673682924932493e-05, + 0.0016000693561885352, + -0.0009111505158117202, + 0.00014719909654083155, + 0.0007639230010377526, + 0.00024003625869911666, + -0.00015731046497322306, + 0.00022272851382490266, + -0.0008331456551743287, + 0.0008617390343925237, + -0.00073564786135084, + 0.0004017741715690615, + -0.0002467668519908633, + -0.0001933190826604898, + 0.0006308497496667973, + 0.000766063926025808, + -6.882786087758737e-05, + -0.00026895349841282636, + -0.000608702096749342, + -0.00046120918924950205, + 0.00022928392183929952, + -0.0009460479407891545, + 0.000760418484916194, + -0.000614060348087182, + -0.0006361139607607615, + 0.000669238272624859, + 0.0007086560074482226, + -0.00027032208022367485, + -0.0003543453748036245, + 0.00029226261582622677, + -1.3601203258824316e-05, + 0.0009694626697609773, + 0.00013971080920542408, + 0.00026389581947310964, + -0.00017738449180549167, + -0.0008572293121958854, + 0.0001122664202945699, + 0.0003102752324322431, + -0.00035934270888411413, + -0.0008777276042011722, + 6.141486429951198e-05, + 0.0001118659488771062, + 2.2078843556274713e-05, + 0.0001824716579235471, + 6.582649242139929e-05, + 0.0002373257771797884, + 8.647991742882256e-05, + 0.00048530167394047585, + 0.00010836005102477686, + 0.00016111226588199848, + 0.0004221430888007075, + -0.0002637112249623765, + -0.00020535609832236207, + -0.00019849076865227004, + -0.00038711802242292695, + 0.00021139844827285567, + -0.00035266351740438525, + 5.383808657554263e-05, + 0.00017072191253658363, + -3.0278804328375957e-05, + 4.463531377101324e-05, + 0.0001267627703535595, + 0.00018771741573399202, + -1.134127619586472e-05, + -0.0001940927752508944, + 0.00016002879200005594, + -0.0001932137421356251, + 0.0001009712094211738, + 0.00011917879137174944, + -0.00015735317660587188, + -0.00010616825616958059, + -0.00023758732382292885, + -0.0001916935384689248, + -0.00018438751440411815, + -9.55851302147122e-05, + -0.00014657142505101778, + 4.082492875789629e-05, + -0.00022051903514272905, + 0.0002393536189477864, + -9.105448322884949e-05, + 0.00012338262997930785, + 3.68329387250762e-05, + -0.00014872585152691847, + 7.006117105321278e-05, + -7.407408143577174e-05, + 0.0001806298610641561, + -8.355630667774444e-05, + -0.0001828744569600446, + 0.00010605421769072748, + 0.00011142928170123822, + 8.790626719616233e-05, + -2.1112121861050965e-05, + 0.00024270622344896439, + 4.104765482604336e-05, + -0.00015737367283436045, + 0.00016699779302547577, + -4.324534334914805e-06, + 2.3350900281734516e-05, + 0.00018198566487031593, + 1.961079029805803e-05, + 6.11916061560176e-05, + -0.00022510239272484575, + 5.333645374837981e-05, + -0.00019882619315697502, + -0.0002337707722213221, + -0.00010287048260257891, + 6.195245139135355e-05, + 0.0001617691691793896, + -0.00018220088304327764, + 0.0 + ] + }, + "p_m3": { + "hi": [ + 2515095827087.2163, + 2521367279959.233, + 2528033174494.5264, + 2535117617847.4624, + 2542646096185.6064, + 2550645540648.5474, + 2559144394568.0215, + 2568172681680.1846, + 2577762075010.2637, + 2587945966046.407, + 2598759533730.1006, + 2610239812708.669, + 2622425760196.184, + 2635358320697.5713, + 2649080487746.4497, + 2663637361689.5415, + 2679076202435.815, + 2695446475957.4233, + 2712799893197.5415, + 2731190439909.369, + 2750674395811.828, + 2771310341323.5728, + 2793159150012.393, + 2816283964796.066, + 2840750155847.1973, + 2866625258100.694, + 2893978886253.6104, + 2922882625182.2354, + 2953409893803.3184, + 2985635780577.317, + 3019636849111.7173, + 3055490912678.969, + 3093276776921.789, + 3133073950598.398, + 3174962324913.8535, + 3219021822785.1543, + 3265332020309.783, + 3313971743703.541, + 3365018646034.933, + 3418548769167.2207, + 3474636097367.645, + 3533352110002.139, + 3594765341517.771, + 3658940957464.417, + 3725940355501.324, + 3795820800130.7515, + 3868635099190.4854, + 3944431328887.292, + 4023252612315.575, + 4105136953994.6006, + 4190117130025.7207, + 4278220630091.0835, + 4369469643868.7, + 4463881080689.498, + 4561466607675.767, + 4662232688419.498, + 4766180601795.611, + 4873306418994.856, + 4983600916588.9375, + 5097049404547.472, + 5213631450749.888, + 5333320487682.171, + 5456083292569.438, + 5581879338997.092, + 5710660025775.613, + 5842367797059.246, + 5976935176028.865, + 6114283742363.215, + 6254323090707.327, + 6396949812959.34, + 6542046551054.992, + 6689481168696.689, + 6839106089973.328, + 6990757849985.427, + 7144256897491.139, + 7299407682408.298, + 7455999052103.362, + 7613804970133.394, + 7772585560018.111, + 7932088465240.987, + 8092050505518.694, + 8252199599019.622, + 8412256911100.342, + 8571939182646.873, + 8730961185596.378, + 8889038249806.889, + 9045888804253.219, + 9201236876445.781, + 9354814496909.828, + 9506363960228.137, + 9655639900225.854, + 9802411144063.557, + 9946462317844.549, + 10087595184509.459, + 10225629702939.352, + 10360404804955.342, + 10491778894083.77, + 10619630076312.975, + 10743856138455.217, + 10864374294120.676, + 10981120720574.404, + 11094049912039.904, + 11203133876278.373, + 11308361201666.076, + 11409736021636.035, + 11507276902292.129, + 11601015677487.4, + 11690996253710.709, + 11777273404911.166, + 11859911575029.865, + 11938983703563.258, + 12014570087052.908, + 12086757287051.967, + 12155637092891.59, + 12221305545526.06, + 12283862026850.488, + 12343408417248.27, + 12400048322647.373, + 12453886371138.182, + 12505027578149.623, + 12553576778330.82, + 12599638121622.193, + 12643314630493.896, + 12684707814969.287, + 12723917341770.404, + 12761040753776.059, + 12796173235862.486, + 12829407423181.875, + 270366762119.59705, + 271213817596.62103, + 272115616795.30807, + 273075701749.65918, + 274097843702.9889, + 275186057845.26227, + 276344618966.07635, + 277578078072.4096, + 278891280020.73334, + 280289382213.8883, + 281777874412.46844, + 283362599710.31805, + 285049776721.25543, + 286846023021.9343, + 288758379891.6747, + 290794338384.21136, + 292961866759.36755, + 295269439292.4893, + 297726066467.6298, + 300341326544.9288, + 303125398473.5245, + 306089096098.3041, + 309243903580.5338, + 312602011918.8566, + 316176356416.5746, + 319980654894.5247, + 324029446392.55505, + 328338130038.49634, + 332923003689.2799, + 337801301862.99725, + 342991232384.6356, + 348512011058.78204, + 354383893561.5815, + 360628203610.2132, + 367267356321.9996, + 374324875518.50275, + 381825403563.6517, + 389794702151.4415, + 398259642283.8409, + 407248181505.01526, + 416789326293.84607, + 426913077368.0169, + 437650355531.3204, + 449032905612.95294, + 461093176013.9058, + 473864171410.11646, + 487379276275.8314, + 501672047103.80035, + 516775971524.392, + 532724192980.4634, + 549549200209.9915, + 567282481531.8353, + 585954144826.7203, + 605592505148.4493, + 626223643079.0796, + 647870938231.6936, + 670554583673.5498, + 694291088442.8403, + 719092776712.6172, + 744967293444.8783, + 771917127509.1626, + 799939164132.9938, + 829024279134.7643, + 859156987589.4956, + 890315159340.9657, + 922469813055.587, + 955584999296.8191, + 989617781389.7264, + 1024518320679.3899, + 1060230070226.5989, + 1096690078120.5815, + 1133829398533.0693, + 1171573605521.1167, + 1209843401545.1252, + 1248555309842.2173, + 1287622437309.3784, + 1326955292527.6157, + 1366462642069.961, + 1406052387358.056, + 1445632444074.7407, + 1485111606507.9167, + 1524400380147.5894, + 1563411767317.3115, + 1602061992513.6401, + 1640271156336.2847, + 1677963809320.2505, + 1715069439506.6328, + 1751522870111.3384, + 1787264566074.2104, + 1822240850512.6326, + 1856404034097.398, + 1889712462080.8882, + 1922130485094.6768, + 1953628360899.6433, + 1984182095014.589, + 2013773228588.229, + 2042388582041.8914, + 2070019962927.8235, + 2096663846165.0205, + 2122321034357.1602, + 2146996305324.19, + 2170698053305.795, + 2193437929575.2454, + 2215230487448.646, + 2236092835925.9814, + 2256044305471.16, + 2275106128742.3755, + 2293301138440.567, + 2310653483857.155, + 2327188367172.4395, + 2342931800097.681, + 2357910381052.12, + 2372151092732.159, + 2385681119647.2275, + 2398527684978.721, + 2410717905935.7905, + 2422278666655.774, + 2433236507602.117, + 2443617530352.266, + 2453447316639.709, + 2462750860502.7334, + 2471552512410.2188, + 2479875934255.038, + 2487744064153.068, + 2495179090027.517, + 2502202431019.559, + 2508834725820.386, + 2515095827087.2163 + ], + "lo": [ + 0.0, + -9.370563783357499e-05, + -0.00013530857320877678, + 0.00016649392268353852, + -0.00020685521419618264, + 5.006070702891929e-05, + 8.662334490924186e-05, + -5.7845142833453384e-05, + 5.4827985324623666e-05, + 3.791537900891106e-05, + -0.00017519178804856087, + 0.0001509882673902399, + 0.00010498408499961285, + -0.00017650691286006333, + 0.00016354343698135918, + 0.00022770988105705813, + -3.3258050616875396e-05, + -5.868619490908502e-05, + 7.05568265140188e-05, + 8.013876342547667e-05, + 4.316941618724998e-05, + 0.00015217718085694385, + -0.00017776193238213075, + 0.0002143579107149676, + -0.0001440744471962795, + -3.0544085373080544e-05, + -0.00012112693617236607, + 0.00015943202770529524, + 0.0001458650695955308, + 0.00017020559227774883, + -0.00020328422203489565, + 0.00021930545141754342, + -1.819400993057371e-05, + 0.00018578337325928402, + -0.00014838724001794152, + 9.56160484571748e-05, + -8.082536841922313e-05, + -0.00020019065146976663, + -0.00011653397804120246, + -0.00011410954340940238, + 0.00015781624226717753, + 0.00023782688462030492, + 0.0001672727341863603, + -0.00023524367860616234, + -0.00020758556412079978, + 1.2537979347931394e-05, + 2.5650782255875717e-05, + 9.052041018717055e-05, + -9.827707394396851e-05, + -7.451770664655574e-05, + -0.00019377834311474804, + -0.0001708163009914419, + 5.112017707310537e-05, + -0.00022984144751514804, + -0.00044369597562503657, + 0.0004341081830603948, + 0.0001087925883245399, + 0.0004295796060702987, + -0.0004773286565765642, + 0.00029601290169936455, + -0.000364580771484785, + 0.0004230930469182576, + 0.00025426942897830037, + -0.00026554106619903654, + -0.00043316231637800107, + 0.00016532670809700148, + -0.00010030252981847797, + -9.676008625806608e-05, + 0.00029811406940564197, + -4.42767467548532e-05, + 0.0004759263860755949, + 0.00013116550375735637, + 0.00032791772239871013, + 0.0004256851825014485, + 0.00012927760009961729, + -0.0002946938928643852, + -0.00041839467760398854, + 6.214120157200334e-05, + 0.0003156822273225396, + -0.0003044539380488076, + 0.0004508324057998739, + -0.0004387906890388272, + -3.971257573376546e-06, + 0.00033963009927891896, + 0.0004205441305159999, + -0.0002834851576959171, + -7.336374826172001e-05, + -0.0007185821379679388, + -0.0007215306972403807, + 0.0006191163700480917, + -0.00013695430415440582, + -0.0005375711636430928, + 0.0005742886130132211, + -0.0009209854095749523, + -0.0005611726482373264, + -0.0005415376499919425, + 0.00033296231755607607, + -0.0008819574328904761, + 0.00011358452239719575, + 0.00022045746458978238, + -0.000529135506100022, + -0.00015284532081409705, + -0.000535998342589388, + 0.00020170923994168512, + 9.207110370486239e-05, + 0.0006848264830145152, + -6.772468524924202e-05, + 0.0009320384841729529, + 0.00019241989081667074, + -0.00021784325274118026, + 0.00029077075913471145, + -0.00010253247357742989, + -7.135397171786761e-05, + -4.379994380431383e-05, + 0.0007648417456370938, + 0.0003966696450431281, + 0.0006378355049224147, + 0.00037777956816306766, + 0.0008961231288990002, + 0.00023714222669047542, + -0.00020539702594437408, + 0.00015248480674541202, + -0.00029121987426489627, + 0.0007905379399196172, + 0.0006272847113452942, + 0.000729659675803948, + -0.0006699532572818686, + 0.0007922726756035178, + 1.2163857817093129e-05, + -8.809912429694081e-06, + 1.8112748777565429e-06, + 4.913989775437161e-07, + -1.4533877449955652e-05, + 2.0742643259484425e-05, + -2.282325483558299e-05, + 2.2153513274787103e-05, + -1.543293410646865e-05, + 2.193806254160135e-05, + -4.434290548584883e-06, + -6.834611554804666e-06, + 1.796632667538419e-05, + -1.823408051978112e-05, + 2.3467211995381513e-05, + -1.8503658474344226e-05, + 1.6665464060238882e-05, + 2.848204849465699e-05, + -2.785398411109575e-05, + 2.354364389477142e-05, + 5.242999031226652e-06, + -1.6654158356762077e-05, + -2.1489284103707235e-05, + 4.311067196279196e-06, + 1.852534860577526e-05, + -2.674389629376636e-06, + -1.8945968034223137e-05, + 2.7808093657104166e-05, + -1.2521632502282918e-05, + -2.79513031643275e-05, + 2.1335846863532535e-05, + 1.585022336837272e-05, + 1.3109685255088952e-05, + 1.6871369163439314e-05, + 1.882521637800116e-05, + 2.673814872788211e-05, + -1.3825729879756916e-05, + -1.1506646938621658e-05, + 8.550802552395755e-06, + -5.654727490844354e-06, + -1.0130461994589398e-05, + -2.326718789325043e-05, + -9.010691671086164e-06, + -3.7952908325388397e-06, + 4.754072089584518e-06, + 8.201004297695905e-06, + -1.1919606909778122e-05, + 4.855551878514232e-06, + -5.417873282224283e-06, + 2.2965543727515677e-05, + -2.3867442406598816e-05, + 2.9124725098731828e-05, + 5.441706884504495e-05, + -1.4579814330784769e-05, + -4.924846199878344e-06, + -2.5645364520252744e-05, + 5.220632145839385e-05, + -3.823932851696956e-05, + -5.184923365455138e-05, + -3.720195937791701e-05, + 3.969837380391242e-05, + -3.1507688299037273e-06, + -1.4998028706724297e-06, + 5.098431199887456e-06, + 1.998927176887842e-05, + 1.0092084675014326e-05, + -4.0006595919549786e-05, + 3.638577952899708e-05, + 4.5086513357199e-05, + 3.1274291920477414e-05, + 2.8831698608604785e-05, + 3.231100547123814e-06, + 6.532494607555545e-05, + -0.00011795935020036662, + -4.451104506924476e-05, + 9.172326091586528e-05, + 0.00012000831865897848, + -0.00010911761120361496, + 3.8006540619204366e-05, + -9.528982901631995e-05, + 8.377671671987749e-05, + 6.42293153215106e-05, + 5.508149877953304e-05, + 5.1946073841753465e-05, + 3.0139276470494282e-05, + -0.00011323624806584319, + -6.812257696764872e-05, + -6.428083954961199e-05, + -7.534596677974746e-05, + 4.3550833009063896e-05, + 9.150800084109132e-05, + 0.00010671208717005899, + 4.1865584459904905e-05, + -0.00011244301050164826, + 2.4094064737796175e-05, + -8.714401982488799e-05, + -1.0183209231574033e-05, + -8.089893934288182e-05, + 7.082847571581468e-05, + 6.862010446820826e-05, + -7.188687336296795e-05, + 9.06327702504218e-05, + -1.8474713853407246e-05, + 4.227405908378092e-05, + 1.3233043373231264e-05, + 7.2537326616103934e-06, + 0.00019244079577575396, + 0.00015576811388205643, + 2.3270511006464295e-05, + 4.740882454160041e-05, + -8.20697198563694e-05, + 1.2977334685925571e-05, + -0.0002020566362313304, + 1.4170808102728505e-06, + 6.606022891648055e-05, + -9.459672101082085e-05, + -0.0001660167348501435, + 0.00016781713492169687, + 0.00017611773749891423, + 4.741068683707267e-05, + -5.5642725178736735e-05, + -9.020000197531867e-05, + 8.044534283730609e-05, + -0.00010119900178917027, + 9.261628684344961e-05, + 3.204001291889604e-05, + -4.109445879173941e-05, + 0.0 + ] + }, + "phi_V": { + "hi": [ + 0.0, + -6.297052455897911e-05, + -0.00012973141170526508, + -0.00020049299128761092, + -0.000275474999459675, + -0.00035490670549944976, + -0.00043902699624954485, + -0.0005280844113637886, + -0.0006223371220667533, + -0.0007220528455165659, + -0.0008275086861903219, + -0.000938990895100708, + -0.0010567945371556592, + -0.001181223056589348, + -0.0013125877301202926, + -0.001451206997348996, + -0.0015974056579288515, + -0.0017515139252710409, + -0.0019138663270208466, + -0.002084800443313756, + -0.0022646554749316044, + -0.002453770634977876, + -0.0026524833596222293, + -0.0028611273358684023, + -0.003080030347211404, + -0.003309511941494286, + -0.0035498809292621165, + -0.0038014327254342036, + -0.004064446552144571, + -0.004339182526077178, + -0.004625878659456069, + -0.004924747809914091, + -0.005235974620589759, + -0.005559712497780646, + -0.005896080679062622, + -0.006245161449676169, + -0.006606997568861872, + -0.006981589970350026, + -0.007368895802020401, + -0.007768826868502891, + -0.008181248536876675, + -0.008605979159392938, + -0.009042790058130128, + -0.009491406104644851, + -0.00995150691310476, + -0.010422728648349061, + -0.010904666431268827, + -0.011396877303473467, + -0.011898883692232385, + -0.012410177296130281, + -0.012930223292845423, + -0.013458464754106647, + -0.013994327140350819, + -0.014537222739938438, + -0.015086554915865314, + -0.015641722027343447, + -0.016202120904692457, + -0.016767149773570272, + -0.017336210548145808, + -0.017908710441424062, + -0.0184840628732377, + -0.019061687690763426, + -0.019641010750931186, + -0.02022146294679667, + -0.020802478788907786, + -0.0213834946761553, + -0.02196394700710645, + -0.0225432702913431, + -0.02312089542032628, + -0.023696248248785273, + -0.02426874862112122, + -0.024837809953855032, + -0.025402839456189347, + -0.02596323903805155, + -0.02651840692047509, + -0.02706773992883194, + -0.027610636417125488, + -0.02814649974294532, + -0.02867474218911136, + -0.029194789210447672, + -0.02970608387305789, + -0.030208091349039276, + -0.030700303331492335, + -0.031182242242346954, + -0.03165346511806037, + -0.03211356707459589, + -0.03256218427212062, + -0.03299899632041127, + -0.03342372808693433, + -0.03383615088999302, + -0.034236083078387075, + -0.03462339001607198, + -0.03499798350488118, + -0.035359820690220846, + -0.035708902503662626, + -0.03604527170259263, + -0.036369010570687844, + -0.03668023834423651, + -0.0369791084285078, + -0.03726580546585353, + -0.03754054231334325, + -0.03780355698284263, + -0.03805510959086361, + -0.03829547935953634, + -0.03852496170392659, + -0.038743865434859165, + -0.03895251010057377, + -0.03915122348506351, + -0.03934033927591729, + -0.03952019490996343, + -0.039691129601025235, + -0.03985348255065403, + -0.0400075913397941, + -0.040153790496929236, + -0.040292410236329755, + -0.040423775358518564, + -0.040548204303960694, + -0.04066600835020429, + -0.04077749094221753, + -0.0408829471454356, + -0.040982663211022105, + -0.041076916243029796, + -0.041165973957474934, + -0.04125009452376612, + -0.041329526479398644, + -0.04140450870931032, + -0.041475270481794925, + -0.041542031533400164, + -0.041668073988744884, + -0.041734999460707044, + -0.041806060309978334, + -0.04188149995844257, + -0.04196157458757885, + -0.04204655360169066, + -0.04213672007926874, + -0.0422323712073267, + -0.04233381869284275, + -0.04244138914467502, + -0.04255542441849453, + -0.04267628191639828, + -0.04280433483192903, + -0.04293997233024342, + -0.043083599652141785, + -0.04323563812961309, + -0.04339652509946813, + -0.04356671370055142, + -0.04374667253895702, + -0.04393688520465168, + -0.044137849621960545, + -0.04435007721553228, + -0.04457409187271378, + -0.0448104286827777, + -0.04505963243321326, + -0.04532225584337195, + -0.04559885751622167, + -0.045889999589875254, + -0.04619624507199689, + -0.04651815484222907, + -0.04685628431049816, + -0.04721117972252178, + -0.04758337410811983, + -0.04797338287307889, + -0.048381699041371816, + -0.04880878816151078, + -0.0492550828986963, + -0.049720977343175744, + -0.05020682107475486, + -0.05071291303358463, + -0.051239495257993074, + -0.051786746561012356, + -0.05235477622807681, + -0.052943617828795385, + -0.05355322324534, + -0.05418345702841024, + -0.054834091198471234, + -0.05550480061454783, + -0.056195159034827656, + -0.05690463599225171, + -0.05763259460377954, + -0.058378290423826217, + -0.0591408714403091, + -0.05991937929578684, + -0.06071275179645204, + -0.061519826748560984, + -0.06233934713573513, + -0.06316996762211441, + -0.06401026233640365, + -0.06485873386138526, + -0.06571382332352273, + -0.06657392144894282, + -0.06743738042644647, + -0.06830252639627805, + -0.0691676723660795, + -0.07003113134349298, + -0.07089122946876346, + -0.07174631893069286, + -0.0725947904554093, + -0.07343508516937804, + -0.07426570565538354, + -0.07508522604213301, + -0.07589230099376905, + -0.07668567349391606, + -0.07746418134883344, + -0.07822676236471712, + -0.0789724581841292, + -0.07970041679499063, + -0.08040989375172004, + -0.08110025217128075, + -0.08177096158661733, + -0.08242159575592103, + -0.08305182953822024, + -0.08366143495398357, + -0.08425027655391386, + -0.08481830622018625, + -0.08536555752241266, + -0.08589213974603027, + -0.08639823170407389, + -0.08688407543487393, + -0.08734996987858362, + -0.08779626461501072, + -0.0882233537344044, + -0.08863166990196676, + -0.08902167866621141, + -0.08939387305111239, + -0.08974876846245727, + -0.09008689793006683, + -0.09040880769965931, + -0.09071505318116163, + -0.09100619525421663, + -0.09128279692648875, + -0.0915454203360909, + -0.091794624085991, + -0.09203096089554044, + -0.09225497555222827, + -0.09246720314532683, + -0.09266816756218275, + -0.09285838022744426, + -0.09303833906543604, + -0.09320852766612443, + -0.09336941463560292, + -0.09352145311271548, + -0.09366508043427238, + -0.09380071793226197, + -0.093928770847484, + -0.0940496283450945, + -0.09416366361863568, + -0.09427123407020391, + -0.09437268155546963, + -0.09446833268329037, + -0.09455849916064381, + -0.09464347817454294, + -0.09472355280347798, + -0.0947989924517519, + -0.09487005330084325, + -0.09493697877263535, + -0.09499999999999964 + ], + "lo": [ + 0.0, + -2.8752971366826288e-21, + -4.5967323943256445e-21, + 2.2168506685876197e-21, + -9.487636082203615e-21, + -2.0344451256884114e-20, + -1.5799983305426424e-20, + -2.834792989122557e-20, + -2.6646846391628662e-20, + -1.6533800659765197e-20, + 3.068185452075079e-20, + -1.1402033612529355e-20, + -9.729269978853583e-20, + -5.625162030559386e-20, + -5.2264244165536244e-20, + -4.036415012357165e-21, + -1.0200282897965659e-19, + 9.928097399114068e-20, + 1.4106685904857626e-20, + -6.383520572225721e-20, + -1.1499751205924832e-19, + 3.3997555311926005e-20, + 1.9287180520261356e-19, + -2.9585159632200827e-20, + -1.1998070117903583e-19, + 1.464803733970275e-19, + 1.3871982074799255e-19, + -7.690206945303909e-20, + -2.5170912000750945e-19, + -3.0237648217228634e-20, + 1.1988144417348185e-19, + 1.8985790931450962e-19, + 1.0849356653491898e-19, + 3.461055055670274e-19, + -1.0897835957516453e-19, + -3.1626046246000823e-19, + -1.2341994070217744e-19, + 3.33706212183102e-19, + 1.0553374867508737e-19, + 2.782934553805993e-19, + 6.476611202051051e-19, + -6.241620623350679e-19, + -3.3053405416948596e-19, + 7.533345549455018e-19, + -3.8404621168680524e-19, + -3.3888626499405165e-19, + -3.339204276011421e-19, + -7.394980972273871e-20, + 8.378609830205038e-19, + 2.163548854330976e-19, + 6.343383807322895e-19, + 6.654885759163659e-21, + -8.120018667791664e-19, + -5.774629017664226e-20, + 7.362313437403872e-19, + -5.1723216831057215e-19, + 1.5981824341067315e-19, + 1.9927955176129674e-19, + 1.6754468134834734e-18, + 1.0362964717016453e-18, + 4.4843428916871435e-19, + -1.203756354005767e-18, + 1.056249863888725e-18, + 3.233431883844206e-19, + 1.14075386303286e-18, + -1.5052128352865268e-18, + -1.2775814090595702e-18, + -1.4680813693840162e-18, + 3.817351023707532e-19, + -1.0931998355265473e-18, + 1.219376580996419e-19, + -9.411566564358238e-19, + -1.0729153182389063e-18, + -1.4001865605294923e-18, + -6.863399509284962e-19, + 5.202930187478844e-19, + -3.4347206032224365e-19, + -1.5366381831828022e-19, + -9.907461032746814e-19, + 1.0331787749466187e-18, + -6.511097403179702e-19, + -4.504627968608069e-19, + 3.819374970722528e-19, + -5.831167785612952e-20, + -1.1094242770147741e-18, + -3.59144385151111e-19, + 6.394913884543373e-19, + -3.417218375545607e-18, + -2.8862531375029725e-18, + -8.29391838230231e-20, + -6.240122018030661e-20, + -3.4440071826505444e-18, + -2.5846255665562273e-18, + -9.700662550954932e-19, + 3.416473287677506e-18, + 1.547009195703504e-18, + -3.0936487056975935e-18, + -3.8068632157966175e-20, + -2.771031667712771e-18, + -1.113165866714203e-18, + -2.3921822133111348e-18, + -2.4545027704250176e-18, + 2.9866488136208967e-18, + 2.2359277038955526e-18, + 1.6169566792634476e-18, + -2.65523548653692e-18, + 6.342384352756706e-19, + -1.6495917148869056e-18, + -5.29447215809919e-19, + -9.54747759698563e-19, + -9.691169407400174e-19, + -2.7423725148156722e-18, + 2.6300876969111523e-18, + 3.426495046477735e-18, + -1.3625642414742225e-18, + -2.3593563047438443e-18, + -7.20150319564994e-19, + 1.0393013863475217e-18, + 1.1969329453443573e-19, + -1.4192735911365548e-18, + -2.425214395992354e-18, + -3.2378845994776722e-18, + -2.7004559842399657e-19, + 2.192147354084911e-18, + -3.4286750176891265e-18, + -9.48234934115919e-19, + 1.5963947789409569e-18, + 1.650324842326543e-18, + 1.137942052617726e-18, + -2.383066562799819e-18, + 7.804567249768677e-19, + -2.3723897852437798e-18, + 3.1205516816897137e-18, + 1.3016342960638527e-18, + 2.8689848473398348e-18, + -1.548985617216465e-18, + -2.976272909469604e-18, + 8.029025258494507e-19, + 1.1093229757684083e-18, + -1.2634231048822633e-18, + -1.8974416547359095e-18, + 2.1731794924011056e-18, + -2.4668936357526404e-18, + 2.2504240067914846e-19, + -1.0387758035312647e-18, + 1.0615275190430504e-18, + -3.0819182788517453e-18, + 2.013434711789276e-18, + 2.857818021779675e-19, + 7.148443330316464e-19, + 2.6270779709118038e-18, + 4.1956089228056363e-19, + -2.3519678627495617e-18, + 4.912093014380409e-19, + 2.501569594847751e-18, + 3.2780478877992225e-18, + 4.399602873073248e-19, + -6.210543927696804e-19, + -2.5846236964152164e-18, + 2.114715727459918e-18, + -2.8470936746152405e-18, + -1.765816252036281e-18, + -1.108718484556383e-18, + -1.169743996060674e-18, + 4.363141474857437e-19, + -7.162260207761523e-19, + 1.0235744714155546e-18, + 7.824664401059697e-19, + -2.4550979688072414e-18, + 1.4471277608371176e-18, + -2.2319611554229524e-18, + 2.6089560387855968e-18, + 9.399974062157242e-19, + -3.743026435387175e-20, + -9.20142436423117e-19, + -1.0559775856392273e-18, + -1.909881586457051e-18, + -2.8846898932302865e-18, + -1.825193881202635e-18, + 2.652872249218733e-18, + 2.449657529135561e-18, + 7.594156044575774e-20, + -7.28279442616895e-19, + -1.4858862566557428e-18, + 1.663902765711891e-18, + -4.486066781991066e-18, + -1.45407846666784e-18, + 8.507009190973743e-20, + -2.125007180282071e-18, + 5.130153239725675e-18, + -2.2983691386167653e-18, + 4.712953841578316e-18, + -6.446674354255345e-18, + -5.817241712790918e-18, + 4.001368776066221e-18, + 5.519121296296559e-18, + 3.9816917599647196e-19, + 1.9443030179126124e-18, + 1.7190840749155774e-18, + 5.390040123970004e-18, + -5.494467582837433e-18, + 8.442726907414102e-19, + 9.008079705812445e-19, + 4.789333664452643e-18, + -2.7649141771785853e-18, + 7.006983242417706e-19, + -3.7286385214883854e-18, + 3.055735501422498e-18, + 6.172183540319367e-18, + 6.392604842822347e-18, + -5.33405332852278e-18, + 4.651279455449502e-18, + 1.3798594926206821e-18, + 5.128390679944339e-18, + -3.0759072160131465e-18, + -3.1175393866374668e-18, + -7.942117001395992e-19, + -5.446722383437258e-18, + -4.0444699122854146e-18, + 6.488145960035364e-18, + 6.63266937368641e-18, + -4.155251984905143e-18, + -1.4612146685205686e-18, + 1.6481430901375812e-19, + 6.299376261004683e-19, + 3.6344707934160034e-20, + -3.52403491732351e-18, + -5.032314214236674e-18, + 2.0676121861666797e-18, + 4.076850561794377e-18, + -5.8941439601357964e-18, + 4.2774477738022197e-19, + 3.1397511030174478e-18, + 5.641499413868454e-18, + 4.509595085133535e-18, + -1.9341057362514762e-18, + 6.223817137837717e-18, + -4.014269352552529e-18, + -1.8966055230117354e-19, + 5.2884336510335095e-18, + -6.403944891795303e-18, + 5.002956977275714e-18, + 3.605995671702859e-18, + 4.1845753118676085e-18, + 1.264587390116799e-18, + -4.646806515959056e-19, + 5.4129925797300825e-18, + 3.769197015132275e-18, + -2.7191022765421285e-18, + 5.4570955468140744e-18, + -1.5425213657582045e-18, + 6.621194630027622e-19, + 2.9739441976170698e-18, + 4.727489151008996e-18, + 2.8526973580133497e-18, + 0.0 + ] + }, + "poisson_residual_C_m2": { + "hi": [ + -2.936899167132559e-37, + 4.261167021730792e-37, + -4.643202685748036e-37, + 5.495436090094194e-37, + 2.497925495497361e-38, + -1.4473274194499415e-36, + 2.819717074034962e-36, + -2.5361290618990853e-36, + 7.405614410180411e-37, + 3.2326094647612906e-38, + -1.3668795248155412e-36, + 4.934872221545816e-36, + -3.38395436242966e-36, + -1.3870833339702993e-36, + 2.6801271198748155e-36, + -2.2415207902242495e-36, + -8.228460455756013e-37, + 1.5927948453641996e-36, + 1.9160557918403286e-36, + -3.4118723532616895e-36, + 2.653678496981314e-36, + -1.7603027903563755e-36, + 2.1805420207753433e-36, + -1.6868343934299826e-36, + -1.680956921675871e-36, + 1.6280596758888682e-36, + 3.696929733336094e-36, + -5.392580334397244e-36, + 9.183549615799121e-37, + 3.209099577744845e-36, + -4.5403469300510855e-36, + 5.0428707650276134e-36, + -5.0840130673063935e-36, + 2.926980933547496e-36, + -2.5860875718090325e-37, + -1.586917373610088e-36, + 2.4215183626939123e-36, + 4.819526838371379e-37, + -7.123495765983062e-36, + 5.248582276421514e-36, + 5.101645482568728e-36, + -8.469436797674581e-36, + 6.3976280043503e-36, + -4.754874649076153e-36, + 4.837159253633713e-36, + -3.86443767832827e-36, + -1.2342690683634019e-36, + 4.919443858191273e-36, + 7.170515540015954e-37, + -5.5659657511435314e-36, + 4.224432823267596e-36, + -3.7894999134633494e-36, + 3.6734198463196485e-36, + -4.031945623320446e-36, + 2.0453601704307803e-36, + 2.6880249725444028e-37, + 7.934586868050441e-38, + -4.70197740328915e-36, + 9.542075392799919e-36, + -1.0132761304088118e-35, + 7.56430614754142e-36, + -1.1475763599902582e-36, + -5.028911769611599e-37, + -5.222945913380261e-36, + 1.346087968485372e-35, + -1.1203195847305664e-35, + 4.959116792531525e-38, + -3.721908988291068e-36, + 1.0168026134612787e-35, + -8.986654312036388e-36, + 7.702426733763039e-36, + 2.938735877055719e-38, + -3.7160315165369564e-36, + 2.674249648120704e-37, + -2.3333562863822407e-36, + 3.836519687496241e-36, + 2.7565342526782642e-36, + -1.5516525430854195e-36, + -1.0479532137580693e-35, + 7.999239057345666e-36, + 3.8203566401724344e-38, + 1.5340201278230852e-36, + -5.1369103130933964e-36, + 7.949280547435719e-36, + -4.36549214536627e-36, + 1.5166815861484565e-35, + -1.9629286290793674e-35, + -7.792058178013238e-36, + 1.2715910140020095e-35, + 9.815377829366101e-36, + -2.6677844291911815e-35, + 2.081947432100124e-35, + 4.1847598889273435e-36, + -2.516586468316665e-35, + 3.0151430098591675e-35, + -1.8757951103246653e-35, + 1.3047987294127391e-35, + -2.518496646636751e-35, + 5.48941168154623e-35, + -8.1961343611084e-35, + 6.450525250137303e-35, + -4.465996912361576e-35, + 4.440429910231191e-35, + -2.9381481298803076e-35, + 1.3706264130587872e-35, + 1.4678985705893315e-35, + -2.3409969996625856e-35, + 1.5869173736100881e-35, + -4.459825567019759e-35, + 6.635371736804107e-35, + -6.782308530656893e-35, + -5.7422899037668745e-36, + 1.2980543305748963e-34, + -1.105640599024673e-34, + 1.5929417821580524e-35, + 8.005116529099778e-36, + -9.87121381103016e-36, + 6.146366086862036e-36, + 5.882173731514727e-35, + -4.541522424401908e-35, + -7.851347174332837e-35, + 7.165519689024959e-35, + -2.77739927740536e-35, + 6.615241396046276e-35, + -1.2324911331577832e-34, + 1.7900134100734089e-34, + -1.3865409994799681e-34, + 1.349548738619381e-34, + -1.97324241854353e-34, + 1.9759717856538707e-34, + -2.2373027920334173e-34, + 1.8332743738359728e-34, + -5.243872514777886e-35, + 3.483281980394095e-35, + -7.097171856173244e-35, + 3.1180618704258244e-35, + -1.793792927195215e-35, + 6.992037585219013e-35, + -7.317699818218508e-35, + 4.940788537999481e-35, + -6.555136361344826e-35, + 5.054943816429885e-35, + -3.0110774721687333e-35, + 2.561130864433862e-35, + -1.4958604089699117e-36, + 1.527332575361461e-35, + -4.156575941611331e-35, + 1.1286683661747553e-35, + 3.275183073495957e-35, + -4.078999561949206e-35, + 1.6749355344237353e-36, + 4.342324294663183e-35, + -2.0829162628417617e-35, + -3.365283361140168e-35, + 3.5307017302197387e-35, + -7.331669210153563e-36, + -1.3988241136024982e-35, + 4.088308333603575e-35, + -4.6658282319868957e-35, + 3.89651839529772e-35, + -3.530078058534728e-35, + 7.126804336163545e-36, + 1.5489193538688168e-35, + -1.1102712653773155e-35, + 1.325762854970036e-35, + -1.8014950250901977e-35, + 5.1099000062037694e-36, + 8.677170064964285e-36, + 8.53514541287626e-36, + -2.841026180127841e-35, + 2.0806186221703953e-35, + -1.3258211388048428e-35, + 1.0601685229397982e-35, + -5.800591227019315e-36, + 2.4964955533757656e-36, + -1.3631242492404668e-35, + 2.7906754163137194e-35, + -2.431532561594386e-35, + 1.51203948919317e-35, + -6.183748009561607e-36, + 1.3712375232558522e-36, + 2.039566381768686e-36, + -7.299947882270094e-36, + 1.9766302980984805e-35, + -2.6693225457826247e-35, + 8.165163768564512e-36, + 1.0764115738950844e-35, + -2.399904775997363e-35, + 3.446430220067941e-35, + -3.0969943989064417e-35, + -2.8830461946133226e-36, + 2.198566294807433e-35, + -4.766275723580887e-36, + 2.699073653595414e-35, + -4.497114046301059e-35, + 1.9115738035779256e-35, + -3.5406789843755604e-36, + 5.3582850006667e-36, + -2.1112063770048283e-35, + 2.597161513163185e-35, + -8.130446703671815e-36, + -1.8081105096555502e-35, + 2.632888284801264e-35, + -3.7016146746109494e-36, + 1.1400079899057739e-35, + -3.642841293051096e-35, + 2.855902425380707e-35, + -1.326057443286739e-35, + 1.5751238742340094e-35, + -6.527692866369309e-36, + -2.5681015081261984e-35, + 5.296068449460324e-35, + -7.868200548536224e-35, + 4.734353396369811e-35, + 1.758232590030411e-35, + -2.9355911947132525e-35, + 3.0566002930207885e-35, + -4.119257463929427e-35, + 3.789009766152869e-35, + -6.48475538127076e-35, + 1.0131109605724538e-34, + -6.67796006681301e-35, + 1.0838894488129046e-35, + 7.612289078385118e-36, + 3.9139328041341894e-35, + -5.44724419107571e-35, + -1.358677966302688e-35, + 5.62760066840829e-35, + -1.04174926105697e-34, + 9.950966582337565e-35, + -4.423556722435667e-35, + 1.281157630929743e-35, + -5.940025415283372e-35, + 1.1228493957102207e-34, + 4.453522975897728e-35, + -9.38660284044921e-35, + -5.892587731613314e-35, + 1.1068017763753477e-34, + -1.2362824427483556e-34, + -2.861943389463186e-35, + 1.9193398818094036e-34, + -6.079227427310686e-36, + -9.665569099260944e-35, + -1.2740990933434698e-35, + -1.1807813663442238e-34, + 4.124634704639663e-34, + -4.980660003159024e-34, + 1.708259109734879e-34, + 1.6939217917239021e-34, + -9.018750997805e-35, + -7.850800511329929e-35, + -5.514884033891523e-36, + 2.529549683327425e-34, + -2.221510377559707e-34 + ], + "lo": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 4.276423536147513e-50, + 2.1382117680737565e-50, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -1.0691058840368783e-50, + 1.0691058840368783e-50 + ] + }, + "positive_flux_m2_s": { + "hi": [ + -7295196079946.111, + -21593358072574.188, + -34447586129662.734, + -44564289715386.59, + -51440663457189.586, + -55449722793477.445, + -57468254893837.516, + -58382109069637.63, + -58802458302273.984, + -59046950812804.18, + -59245224729346.086, + -59439966190339.945, + -59642931529676.76, + -59857148792207.24, + -60083662659749.94, + -60323160577156.46, + -60576290026352.17, + -60843708642625.016, + -61126089722634.43, + -61424121386471.74, + -61738504655980.51, + -62069951167995.26, + -62419180496886.45, + -62786917055199.79, + -63173886562622.04, + -63580812166288.19, + -64008409975692.42, + -64457384305973.66, + -64928422318106.26, + -65422188403206.66, + -65939317990514.984, + -66480411130744.42, + -67046025736540.805, + -67636670522724.86, + -68252797880151.39, + -68894796667250.195, + -69562985055666.87, + -70257603578334.81, + -70978808549678.0, + -71726665958754.1, + -72501146004594.64, + -73302118440399.89, + -74129348927313.95, + -74982496414897.38, + -75861111742813.4, + -76764637565325.7, + -77692409604919.86, + -78643659235795.98, + -79617517436605.77, + -80613019881532.69, + -81629113261400.23, + -82664662444764.7, + -83718458315533.81, + -84789226223083.23, + -85875634491499.48, + -86976302955394.73, + -88089811157464.27, + -89214706069903.89, + -90349508945482.19, + -91492721502450.45, + -92642831040737.92, + -93798314623221.17, + -94957642455392.42, + -96119280421220.72, + -97281692038069.97, + -98443340092945.55, + -99602688078657.67, + -100758201828008.08, + -101908351439990.33, + -103051613883684.44, + -104186476264079.14, + -105311440061303.7, + -106425026288600.67, + -107525781504298.38, + -108612284855773.64, + -109683155653606.81, + -110737061662405.7, + -111772727541467.16, + -112788943483418.52, + -113784573548324.92, + -114758563576881.86, + -115709948423036.81, + -116637858111204.66, + -117541523164811.3, + -118420278359207.02, + -119273565538910.81, + -120100934665079.56, + -120902043938799.42, + -121676658257813.78, + -122424646787296.45, + -123145979100947.69, + -123840720701122.75, + -124509027487526.38, + -125151139674525.17, + -125767375162898.66, + -126358122639986.88, + -126923834386502.48, + -127465019083760.16, + -127982234627974.83, + -128476081154058.12, + -128947194227869.3, + -129396238345531.8, + -129823900881973.16, + -130230886320035.36, + -130617911020790.17, + -130985698344042.08, + -131334974271225.72, + -131666463433510.11, + -131980885379884.73, + -132278949784290.53, + -132561341751057.0, + -132828648531388.7, + -133081004149583.72, + -133316615521542.16, + -133526677057249.56, + -133680997051529.3, + -133695375736793.69, + -133374230117631.58, + -132338616785519.38, + -129979942430260.33, + -125499985883845.47, + -118073740694015.78, + -107098935511084.14, + -92425480141979.48, + -74453094181258.06, + -54054648343928.84, + -32371258001919.58, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "lo": [ + 0.0001776861420856344, + 0.0004452469885055489, + -0.0017156879646828282, + 0.003540242579484045, + 0.0016045510130751489, + 0.003693217071200735, + -0.002808857700905224, + -0.0021060955186863193, + -0.0023396745116589703, + 0.0014141292731661903, + -0.0027948274764100266, + 0.0006506269500309128, + 0.0016955236006548629, + 0.003152367969548998, + 0.00033694334703532314, + 0.0014984002700903266, + 0.0014520771422210327, + 0.0023043157442144877, + 0.002349924967080623, + -0.0017484303517466392, + 0.003197033010649075, + -0.001970538908768819, + 0.0019640469255599088, + -0.0030388959124783427, + -0.003459709021347088, + -0.0017942229978173338, + 0.003659749999695331, + 0.0003490582434889926, + -0.0013685005482774997, + -0.0022920164543461033, + -0.0018688153480232554, + 0.003788183897787949, + -0.0035493884300494653, + -0.0010725027009429345, + 0.0034576756655581445, + -0.0014999512071610435, + 0.0011379641853290882, + -0.001210499478785177, + -0.0006211630343462169, + -0.006302146678333391, + -0.007641491456774608, + 0.0072141967615517374, + 0.00487891143934018, + -0.0031125195166837516, + 0.0033430289283035014, + -0.007027824117693721, + -0.00495435336951274, + 0.005029866601568524, + -0.00697652330128249, + 0.0004818212889390492, + 0.0053496270209882416, + 0.007157766897396061, + -0.005406865581717783, + 0.007534112056362124, + -0.0029832029951956636, + 0.0018347716798872745, + -0.00569286413249083, + -0.0015528179615879765, + 0.0018190740551760056, + -0.006723536577598095, + 0.004691430046185942, + 0.006530341780039209, + -0.006441741283224587, + -0.0012261389716341333, + -0.004008798976647823, + 0.0051994204589010315, + -0.004315511061475672, + -0.003888212279490034, + -0.003258518331785103, + 0.0017347595473884926, + -0.003973008407124986, + -0.0005613759411061733, + 0.00025673914018547344, + -0.005086980942395243, + 0.004001820440903622, + 0.004022453088153975, + -0.004862602044224552, + 0.0008244760752101762, + -0.003658286577696431, + 0.002933127620479799, + -0.0038322459291615443, + -0.000880851905929105, + 0.006375895921698067, + -0.0015464476171218081, + 0.00356521110726892, + -0.007176573469194043, + -0.0013425438293032288, + 0.0034140982228523242, + 0.0014209005323835026, + 0.001089840594730464, + 0.0031186198207845822, + -0.007593795553225235, + 0.0001198410735656733, + 0.006080993248985944, + -0.001193650164775489, + 0.0009290965669674217, + -0.002324404604736147, + -0.0047227396887385645, + -0.0007509445121898393, + -0.00425028636336147, + 0.0062751445434377565, + 0.001963743838632369, + 0.002690704589147149, + -0.007766929198247386, + 0.0015764268454644507, + -0.004433171421566536, + 0.005777460124497591, + 0.007347301231007072, + 0.003510091996548156, + -0.00591336802733743, + -0.0067326171680934885, + -0.005827655978598075, + 0.00037033168311498597, + 0.0013023568661143928, + -0.0029859112071651253, + 0.001107793090964561, + 0.007171495746041484, + -0.007199801407797744, + 0.002692641695295209, + 0.0037415517674632835, + -0.004623821120605534, + 0.0006740413636410858, + 0.00156341279988564, + 0.001136314680357644, + 0.004466081984753047, + -0.002196984989454108, + 0.000904449580102751, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + }, + "positive_rate_m3_s": { + "hi": [ + 1.2361758911586787e+23, + 1.1750196189589035e+23, + 9.948099550699113e+22, + 7.374457609389539e+22, + 4.721928037135483e+22, + 2.5938659444634182e+22, + 1.2307415297689372e+22, + 5.251945359932081e+21, + 2.2774919346491142e+21, + 1.2491430054328043e+21, + 9.55464963684032e+20, + 8.853580275151682e+20, + 8.707810536160322e+20, + 8.675415448458128e+20, + 8.661811406772202e+20, + 8.650292804746808e+20, + 8.638372955327791e+20, + 8.625706142401768e+20, + 8.612213708578632e+20, + 8.597844412334169e+20, + 8.582546802001631e+20, + 8.566268747708803e+20, + 8.548957184084991e+20, + 8.530557869130133e+20, + 8.511015615247137e+20, + 8.49027673441752e+20, + 8.468286518265499e+20, + 8.444993311370847e+20, + 8.420346086873758e+20, + 8.394298701468303e+20, + 8.366807745195383e+20, + 8.337836210546665e+20, + 8.307354103441114e+20, + 8.275338984812949e+20, + 8.24177885664006e+20, + 8.206673305803151e+20, + 8.170035084086508e+20, + 8.131891969405826e+20, + 8.092288908335672e+20, + 8.051289477933066e+20, + 8.008977447269044e+20, + 7.965458311907537e+20, + 7.920861096114432e+20, + 7.875338663283175e+20, + 7.829068524821996e+20, + 7.782253322170538e+20, + 7.735120393930719e+20, + 7.68792075124947e+20, + 7.640928083790265e+20, + 7.594435944540868e+20, + 7.548756076277511e+20, + 7.504214399399338e+20, + 7.461146862681326e+20, + 7.419896020379522e+20, + 7.380805028141282e+20, + 7.344212952699596e+20, + 7.310449042581049e+20, + 7.279827493891795e+20, + 7.252640905129403e+20, + 7.229156142383677e+20, + 7.209608411299054e+20, + 7.194196758517602e+20, + 7.183080655132236e+20, + 7.176376300225972e+20, + 7.174154316287558e+20, + 7.176438628422796e+20, + 7.183205524479413e+20, + 7.194384581504627e+20, + 7.209859618368837e+20, + 7.229471603343462e+20, + 7.253021206479421e+20, + 7.280273286068253e+20, + 7.310961296956989e+20, + 7.344791804308645e+20, + 7.3814510003235e+20, + 7.420608999542988e+20, + 7.461926668370544e+20, + 7.505060046852607e+20, + 7.549666613924269e+20, + 7.595409525032228e+20, + 7.641962409254192e+20, + 7.689013549936863e+20, + 7.736268012358701e+20, + 7.78345254815772e+20, + 7.830314831617448e+20, + 7.8766281504733e+20, + 7.922188588628623e+20, + 7.96681912865439e+20, + 8.01036597990662e+20, + 8.052701095090196e+20, + 8.0937177542089e+20, + 8.133332836528015e+20, + 8.171482753223e+20, + 8.20812289722105e+20, + 8.243225296798343e+20, + 8.276777754886882e+20, + 8.308780838790777e+20, + 8.339247035132276e+20, + 8.368198469933232e+20, + 8.39566624302038e+20, + 8.421687900687217e+20, + 8.44630597877348e+20, + 8.469568393625369e+20, + 8.491525145862474e+20, + 8.512229538582938e+20, + 8.53173548728205e+20, + 8.550097886694923e+20, + 8.567371048256661e+20, + 8.583602666112895e+20, + 8.598788937188495e+20, + 8.612545738891588e+20, + 8.622098824489878e+20, + 8.611964962066811e+20, + 8.509916819481802e+20, + 8.03267996725008e+20, + 6.249683366156262e+20, + 6.168879250539024e+19, + -1.4600324475097197e+21, + -4.990531644378787e+21, + -1.205076411779048e+22, + -2.427282866212587e+22, + -4.267883760808271e+22, + -6.691569837976843e+22, + -9.493742291368183e+22, + -1.2341434068111207e+23, + -1.4869218303192948e+23, + -1.6781134173205482e+23, + -1.791449639265491e+23, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "lo": [ + -3704088.708914647, + 3664835.071817834, + -3093301.350407332, + 2057997.0688777443, + -9198.973565244813, + -1037848.7482293858, + 249958.33393704373, + -128354.93924595088, + -100526.86706625017, + 67998.2862857577, + -10010.416395820783, + -7848.967985585646, + -18520.61571119775, + 37677.79867237225, + 7660.555568391863, + 50852.453095125355, + -15993.41932926289, + 30719.91169395205, + 64319.951507484235, + -40950.84077210293, + 6172.013975470424, + -16878.593121997514, + 30688.676689674347, + -20943.311792108267, + -40487.924367626525, + -42809.375996787465, + 28605.252601544278, + 22375.005008845557, + -49466.73223114825, + -1775.8234504777479, + 9551.049929056371, + 53108.46325403229, + -59521.939942628705, + 48894.9428692218, + -62914.4663829093, + -548.7560264274584, + -19820.856699558997, + 60525.417311175595, + -60686.190022683106, + -37304.94480137512, + 57925.25684558828, + 31580.372634559415, + 54303.181615306385, + 23991.070235714174, + 51111.98643059171, + 25894.95988033041, + 26794.702180358738, + 16957.423413979795, + -14414.502770801708, + -56235.5120847047, + 13509.746917426775, + 6979.780705242518, + 5195.716303994368, + 5736.8308505206705, + -35336.921323952876, + -58064.13882137829, + -30041.312053561796, + -33363.15478198731, + -56910.62634956075, + 51702.54504915434, + -38139.64518943828, + -7771.569224066394, + 56723.7567365999, + -12181.19408919162, + -44973.86327536774, + 9445.607719582837, + 47588.50349640207, + 6693.034204143048, + 38052.498908984264, + -43567.96629792864, + -61783.68325125516, + -26932.02885994561, + 39290.17045510858, + -18068.53952364178, + 43621.854724370845, + -304.9913459718038, + -48956.70878622067, + 18341.249435834306, + -18577.09026335225, + 35499.96712175816, + -53964.06628907053, + -25404.208685756425, + -40917.406734041, + 37906.85818825855, + -48541.773385232744, + -56175.71623508602, + -57646.45443104215, + 2208.6266072069157, + 35690.53777481421, + -62529.91478950743, + 34784.19252473001, + 45008.753491034724, + -41217.173032710525, + -34851.8590027634, + -42047.958904383944, + -61037.32651674075, + -33634.41065962907, + 29945.03642104625, + 11663.390854010884, + -41989.48087144306, + 8374.545210594359, + 40233.37324946677, + 29108.132742620914, + 37690.95342490966, + 39317.1202223814, + -26247.410784985474, + -12457.662141144816, + -36967.839442756645, + -23754.164342182237, + -50225.353025654826, + 27930.311345827326, + 3708.156079580987, + -60849.96189366434, + 49443.02448053914, + 30879.331785051014, + 15047.064021964467, + -767.0920478460059, + 103438.84391630483, + 288036.49791038386, + -354486.4619496965, + 1641334.5099538488, + -1781310.9832089439, + -2524507.215684162, + 937539.6011274098, + -2550335.086478344, + -2512602.906286127, + -15569096.970223583, + -5097500.666296599, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + } + }, + "fields_sha256": "3ce9efbc72c6589734eaa11774031d42aa1d2393d68f5c68b69ba44269520830", + "inputs": { + "coefficients": { + "boundary_flux_m2_s": { + "hi": [ + 0.0, + 0.0 + ], + "lo": [ + 0.0, + 0.0 + ] + }, + "control_volume_width_m": [ + 5.901422388288336e-11, + 1.2168445327999375e-10, + 1.2921290133435793e-10, + 1.3718573109489092e-10, + 1.456263985330553e-10, + 1.5455923405930657e-10, + 1.6400942452466372e-10, + 1.7400298616433713e-10, + 1.8456672721482707e-10, + 1.9572819882658635e-10, + 2.0751563278408056e-10, + 2.1995786443639556e-10, + 2.330842391367742e-10, + 2.4692450039214606e-10, + 2.615086578375502e-10, + 2.768668330800304e-10, + 2.930290814077334e-10, + 3.1002518733890237e-10, + 3.2788443199932904e-10, + 3.4663533037393737e-10, + 3.6630533658778285e-10, + 3.869205155434871e-10, + 4.0850517948706975e-10, + 4.310814884031017e-10, + 4.546690135652088e-10, + 4.79284264100096e-10, + 5.049401770735207e-10, + 5.316455723851334e-10, + 5.594045746728763e-10, + 5.882160054824251e-10, + 6.180727501540692e-10, + 6.489611052145571e-10, + 6.808601135253143e-10, + 7.137408960140655e-10, + 7.47565990478061e-10, + 7.822887096588038e-10, + 8.178525325040014e-10, + 8.54190544194725e-10, + 8.912249420559998e-10, + 9.288666258067398e-10, + 9.670148916509131e-10, + 1.005557250369215e-09, + 1.0443693897370093e-09, + 1.0833153011705004e-09, + 1.1222475893912312e-09, + 1.1610079820176118e-09, + 1.1994280532751899e-09, + 1.23733017242863e-09, + 1.2745286830742073e-09, + 1.3108313141313866e-09, + 1.3460408173217914e-09, + 1.3799568192605954e-09, + 1.4123778691985396e-09, + 1.443103656181209e-09, + 1.4719373622173193e-09, + 1.4986881112844911e-09, + 1.523173467982208e-09, + 1.5452219347003404e-09, + 1.5646753926224425e-09, + 1.5813914299979714e-09, + 1.5952455011079117e-09, + 1.6061328613443997e-09, + 1.6139702278616839e-09, + 1.6186971212639917e-09, + 1.6202768516007768e-09, + 1.6186971212639917e-09, + 1.6139702278616839e-09, + 1.6061328613443997e-09, + 1.5952455011079117e-09, + 1.5813914299979714e-09, + 1.5646753926224425e-09, + 1.5452219347003404e-09, + 1.523173467982208e-09, + 1.4986881112844845e-09, + 1.4719373622173193e-09, + 1.4431036561812155e-09, + 1.4123778691985462e-09, + 1.379956819260592e-09, + 1.346040817321788e-09, + 1.31083131413138e-09, + 1.2745286830742205e-09, + 1.2373301724286366e-09, + 1.19942805327517e-09, + 1.1610079820176184e-09, + 1.1222475893912378e-09, + 1.083315301170507e-09, + 1.0443693897369927e-09, + 1.0055572503692116e-09, + 9.670148916509198e-10, + 9.288666258067464e-10, + 8.91224942055985e-10, + 8.541905441947299e-10, + 8.178525325039981e-10, + 7.822887096588004e-10, + 7.475659904780676e-10, + 7.137408960140556e-10, + 6.808601135253242e-10, + 6.48961105214567e-10, + 6.180727501540659e-10, + 5.882160054824152e-10, + 5.59404574672873e-10, + 5.316455723851383e-10, + 5.049401770735323e-10, + 4.792842641000936e-10, + 4.546690135651964e-10, + 4.3108148840310337e-10, + 4.0850517948706727e-10, + 3.869205155434962e-10, + 3.663053365877845e-10, + 3.4663533037393406e-10, + 3.278844319993274e-10, + 3.1002518733890444e-10, + 2.930290814077417e-10, + 2.7686683308002504e-10, + 2.6150865783754524e-10, + 2.46924500392156e-10, + 2.3308423913676347e-10, + 2.1995786443640466e-10, + 2.0751563278407477e-10, + 1.9572819882657477e-10, + 1.845667272148283e-10, + 1.740029861643485e-10, + 1.6400942452466144e-10, + 1.545592340593227e-10, + 1.4562639853305157e-10, + 1.3718573109488172e-10, + 1.2921290133435225e-10, + 1.8069867716288167e-10, + 1.8069867716288167e-10, + 1.2921290133435225e-10, + 1.3718573109489495e-10, + 1.4562639853305157e-10, + 1.5455923405930946e-10, + 1.6400942452466144e-10, + 1.740029861643485e-10, + 1.845667272148283e-10, + 1.9572819882657477e-10, + 2.0751563278407477e-10, + 2.1995786443640466e-10, + 2.3308423913676347e-10, + 2.46924500392156e-10, + 2.6150865783754524e-10, + 2.7686683308002504e-10, + 2.930290814077417e-10, + 3.1002518733890444e-10, + 3.278844319993274e-10, + 3.4663533037393406e-10, + 3.663053365877845e-10, + 3.8692051554348296e-10, + 4.085051794870805e-10, + 4.3108148840310337e-10, + 4.5466901356520963e-10, + 4.792842641000936e-10, + 5.04940177073519e-10, + 5.316455723851383e-10, + 5.59404574672873e-10, + 5.882160054824152e-10, + 6.180727501540659e-10, + 6.48961105214567e-10, + 6.808601135253109e-10, + 7.137408960140689e-10, + 7.475659904780676e-10, + 7.822887096588004e-10, + 8.178525325039981e-10, + 8.541905441947299e-10, + 8.91224942055985e-10, + 9.288666258067464e-10, + 9.670148916509198e-10, + 1.0055572503692116e-09, + 1.0443693897370192e-09, + 1.0833153011704673e-09, + 1.122247589391251e-09, + 1.1610079820176184e-09, + 1.1994280532751965e-09, + 1.2373301724286234e-09, + 1.2745286830741808e-09, + 1.3108313141314065e-09, + 1.346040817321788e-09, + 1.3799568192606186e-09, + 1.412377869198533e-09, + 1.4431036561812023e-09, + 1.4719373622173193e-09, + 1.4986881112844977e-09, + 1.523173467982208e-09, + 1.545221934700314e-09, + 1.564675392622469e-09, + 1.5813914299979515e-09, + 1.5952455011079183e-09, + 1.606132861344413e-09, + 1.6139702278616839e-09, + 1.6186971212639851e-09, + 1.6202768516007636e-09, + 1.6186971212639851e-09, + 1.6139702278616839e-09, + 1.606132861344413e-09, + 1.5952455011079183e-09, + 1.5813914299979515e-09, + 1.564675392622469e-09, + 1.545221934700314e-09, + 1.523173467982208e-09, + 1.4986881112844977e-09, + 1.4719373622173193e-09, + 1.4431036561812023e-09, + 1.412377869198533e-09, + 1.3799568192606186e-09, + 1.346040817321788e-09, + 1.31083131413138e-09, + 1.2745286830742073e-09, + 1.2373301724286234e-09, + 1.1994280532751965e-09, + 1.1610079820176184e-09, + 1.122247589391251e-09, + 1.0833153011704673e-09, + 1.0443693897370192e-09, + 1.0055572503692116e-09, + 9.670148916509198e-10, + 9.288666258067464e-10, + 8.91224942055985e-10, + 8.541905441947299e-10, + 8.178525325039848e-10, + 7.822887096588137e-10, + 7.475659904780676e-10, + 7.137408960140821e-10, + 6.808601135253109e-10, + 6.489611052145538e-10, + 6.180727501540659e-10, + 5.882160054824152e-10, + 5.59404574672873e-10, + 5.316455723851383e-10, + 5.04940177073519e-10, + 4.7928426410012e-10, + 4.5466901356518316e-10, + 4.3108148840310337e-10, + 4.0850517948706727e-10, + 3.869205155434962e-10, + 3.6630533658779774e-10, + 3.4663533037392083e-10, + 3.278844319993274e-10, + 3.1002518733890444e-10, + 2.930290814077152e-10, + 2.768668330800515e-10, + 2.6150865783754524e-10, + 2.46924500392156e-10, + 2.3308423913676347e-10, + 2.1995786443639143e-10, + 2.0751563278407477e-10, + 1.95728198826588e-10, + 1.845667272148283e-10, + 1.740029861643485e-10, + 1.6400942452466144e-10, + 1.545592340593227e-10, + 1.4562639853305157e-10, + 1.3718573109489495e-10, + 1.29212901334339e-10, + 1.2168445327999169e-10, + 5.901422388288999e-11 + ], + "equilibrium_occupancy": [ + 7.928011033749389e-05 + ], + "grid_spacing_m": [ + 1.180284477657667e-10, + 1.2534045879422085e-10, + 1.33085343874495e-10, + 1.412861183152869e-10, + 1.4996667875082363e-10, + 1.591517893677896e-10, + 1.6886705968153773e-10, + 1.7913891264713654e-10, + 1.899945417825178e-10, + 2.0146185587065489e-10, + 2.1356940969750602e-10, + 2.2634631917528552e-10, + 2.398221590982629e-10, + 2.5402684168602837e-10, + 2.6899047398907245e-10, + 2.847431921709884e-10, + 3.013149706444784e-10, + 3.1873540403332673e-10, + 3.370334599653301e-10, + 3.5623720078254464e-10, + 3.7637347239302107e-10, + 3.9746755869395394e-10, + 4.195428002801864e-10, + 4.426201765260154e-10, + 4.66717850604403e-10, + 4.918506775957899e-10, + 5.180296765512515e-10, + 5.45261468219016e-10, + 5.735476811267349e-10, + 6.028843298381153e-10, + 6.33261170470023e-10, + 6.646610399590928e-10, + 6.970591870915358e-10, + 7.30422604936592e-10, + 7.6470937601953e-10, + 7.998680432980791e-10, + 8.358370217099236e-10, + 8.725440666795263e-10, + 9.099058174324767e-10, + 9.478274341809963e-10, + 9.862023491208366e-10, + 1.02491215161759e-09, + 1.0638266278564286e-09, + 1.1028039744845689e-09, + 1.1416912042978935e-09, + 1.18032475973733e-09, + 1.2185313468130496e-09, + 1.2561289980442137e-09, + 1.2929283681042009e-09, + 1.3287342601585724e-09, + 1.3633473744850104e-09, + 1.3965662640361804e-09, + 1.4281894743608988e-09, + 1.458017838001519e-09, + 1.4858568864331195e-09, + 1.5115193361358627e-09, + 1.5348275998285534e-09, + 1.5556162695721207e-09, + 1.5737345156727642e-09, + 1.589048344323185e-09, + 1.6014426578926383e-09, + 1.6108230647961677e-09, + 1.6171173909272e-09, + 1.6202768516007768e-09, + 1.6202768516007768e-09, + 1.6171173909272e-09, + 1.6108230647961677e-09, + 1.6014426578926383e-09, + 1.589048344323185e-09, + 1.5737345156727576e-09, + 1.5556162695721274e-09, + 1.5348275998285534e-09, + 1.5115193361358627e-09, + 1.4858568864331195e-09, + 1.458017838001519e-09, + 1.4281894743608988e-09, + 1.3965662640361804e-09, + 1.363347374485017e-09, + 1.3287342601585591e-09, + 1.292928368104214e-09, + 1.2561289980442137e-09, + 1.2185313468130463e-09, + 1.1803247597373201e-09, + 1.1416912042979035e-09, + 1.1028039744845722e-09, + 1.0638266278564286e-09, + 1.0249121516175833e-09, + 9.862023491208399e-10, + 9.478274341809997e-10, + 9.099058174324667e-10, + 8.725440666795296e-10, + 8.35837021709917e-10, + 7.998680432980791e-10, + 7.64709376019535e-10, + 7.304226049365871e-10, + 6.970591870915374e-10, + 6.646610399590977e-10, + 6.33261170470023e-10, + 6.028843298381087e-10, + 5.735476811267349e-10, + 5.452614682190243e-10, + 5.180296765512524e-10, + 4.91850677595799e-10, + 4.667178506043882e-10, + 4.4262017652601787e-10, + 4.1954280028018887e-10, + 3.9746755869394567e-10, + 3.763734723930335e-10, + 3.5623720078253554e-10, + 3.370334599653326e-10, + 3.187354040333354e-10, + 3.0131497064447345e-10, + 2.8474319217098343e-10, + 2.689904739890799e-10, + 2.540268416860238e-10, + 2.398221590982617e-10, + 2.2634631917529172e-10, + 2.1356940969750437e-10, + 2.0146185587064517e-10, + 1.899945417825176e-10, + 1.7913891264713902e-10, + 1.6886705968154476e-10, + 1.5915178936779136e-10, + 1.4996667875082756e-10, + 1.4128611831527558e-10, + 1.330853438745011e-10, + 1.2534045879421663e-10, + 2.3605689553153347e-10, + 1.2534045879421663e-10, + 1.330853438745011e-10, + 1.4128611831528881e-10, + 1.4996667875081432e-10, + 1.5915178936779136e-10, + 1.6886705968154476e-10, + 1.7913891264713902e-10, + 1.899945417825176e-10, + 2.0146185587064517e-10, + 2.1356940969750437e-10, + 2.2634631917529172e-10, + 2.398221590982617e-10, + 2.540268416860238e-10, + 2.689904739890799e-10, + 2.8474319217098343e-10, + 3.013149706444867e-10, + 3.187354040333222e-10, + 3.370334599653326e-10, + 3.5623720078253554e-10, + 3.7637347239302024e-10, + 3.974675586939589e-10, + 4.1954280028018887e-10, + 4.4262017652601787e-10, + 4.667178506044014e-10, + 4.918506775957857e-10, + 5.180296765512524e-10, + 5.452614682190243e-10, + 5.735476811267349e-10, + 6.028843298381087e-10, + 6.33261170470023e-10, + 6.646610399590977e-10, + 6.970591870915242e-10, + 7.304226049366003e-10, + 7.64709376019535e-10, + 7.998680432980791e-10, + 8.35837021709917e-10, + 8.725440666795296e-10, + 9.099058174324667e-10, + 9.478274341809997e-10, + 9.862023491208399e-10, + 1.0249121516175966e-09, + 1.0638266278564153e-09, + 1.1028039744845722e-09, + 1.1416912042979035e-09, + 1.1803247597373334e-09, + 1.218531346813033e-09, + 1.2561289980442137e-09, + 1.2929283681042009e-09, + 1.3287342601585856e-09, + 1.363347374485017e-09, + 1.3965662640361672e-09, + 1.4281894743608988e-09, + 1.4580178380015323e-09, + 1.4858568864331063e-09, + 1.5115193361358627e-09, + 1.5348275998285534e-09, + 1.5556162695721274e-09, + 1.5737345156727576e-09, + 1.5890483443231718e-09, + 1.6014426578926648e-09, + 1.6108230647961611e-09, + 1.6171173909272067e-09, + 1.6202768516007636e-09, + 1.6202768516007636e-09, + 1.6171173909272067e-09, + 1.6108230647961611e-09, + 1.6014426578926648e-09, + 1.5890483443231718e-09, + 1.5737345156727576e-09, + 1.5556162695721274e-09, + 1.5348275998285534e-09, + 1.5115193361358627e-09, + 1.4858568864331063e-09, + 1.4580178380015323e-09, + 1.4281894743608988e-09, + 1.3965662640361672e-09, + 1.3633473744850435e-09, + 1.3287342601585327e-09, + 1.2929283681042273e-09, + 1.2561289980442137e-09, + 1.218531346813033e-09, + 1.1803247597373334e-09, + 1.1416912042979035e-09, + 1.1028039744845722e-09, + 1.0638266278564153e-09, + 1.0249121516175966e-09, + 9.862023491208266e-10, + 9.478274341810129e-10, + 9.0990581743248e-10, + 8.725440666795164e-10, + 8.35837021709917e-10, + 7.998680432980791e-10, + 7.647093760195218e-10, + 7.304226049366135e-10, + 6.970591870915242e-10, + 6.646610399590977e-10, + 6.332611704700363e-10, + 6.028843298380955e-10, + 5.735476811267349e-10, + 5.45261468219011e-10, + 5.180296765512656e-10, + 4.91850677595799e-10, + 4.667178506043882e-10, + 4.4262017652600463e-10, + 4.195428002802021e-10, + 3.9746755869393244e-10, + 3.7637347239305994e-10, + 3.5623720078253554e-10, + 3.370334599653061e-10, + 3.1873540403334865e-10, + 3.013149706444602e-10, + 2.8474319217099666e-10, + 2.689904739890799e-10, + 2.5402684168603706e-10, + 2.3982215909824845e-10, + 2.2634631917527849e-10, + 2.1356940969750437e-10, + 2.0146185587064517e-10, + 1.8999454178253084e-10, + 1.7913891264712579e-10, + 1.6886705968157123e-10, + 1.5915178936777813e-10, + 1.4996667875081432e-10, + 1.4128611831528881e-10, + 1.330853438745011e-10, + 1.253404587942034e-10, + 1.1802844776577997e-10 + ], + "ion_capacity_m3": [ + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22 + ], + "ion_diffusion_m2_s": [ + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "ion_flux_enabled": true, + "ion_thermal_voltage_V": 0.025851999786435535, + "model": "one_positive_ion_steric_diffusion_only", + "positive_nodes": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30, + 31, + 32, + 33, + 34, + 35, + 36, + 37, + 38, + 39, + 40, + 41, + 42, + 43, + 44, + 45, + 46, + 47, + 48, + 49, + 50, + 51, + 52, + 53, + 54, + 55, + 56, + 57, + 58, + 59, + 60, + 61, + 62, + 63, + 64, + 65, + 66, + 67, + 68, + 69, + 70, + 71, + 72, + 73, + 74, + 75, + 76, + 77, + 78, + 79, + 80, + 81, + 82, + 83, + 84, + 85, + 86, + 87, + 88, + 89, + 90, + 91, + 92, + 93, + 94, + 95, + 96, + 97, + 98, + 99, + 100, + 101, + 102, + 103, + 104, + 105, + 106, + 107, + 108, + 109, + 110, + 111, + 112, + 113, + 114, + 115, + 116, + 117, + 118, + 119, + 120, + 121, + 122, + 123, + 124, + 125, + 126, + 127 + ], + "site_occupancy_ceiling": 0.999, + "static_sheet_charge_C_m2": [ + 0.0 + ], + "trace_jump_V": [ + 0.0 + ], + "trap_density_m2": [ + 500000000000000.0 + ] + }, + "fixed_inputs": { + "dqfn_V": { + "hi": [ + 0.0, + -1.8901340500861333e-06, + -3.902558937513848e-06, + -6.045196352696112e-06, + -8.326480145388024e-06, + -1.0755388874352827e-05, + -1.3341480269665542e-05, + -1.6094927687332266e-05, + -1.9026558618493338e-05, + -2.214789533320386e-05, + -2.5471197697935704e-05, + -2.900950821746303e-05, + -3.277669932584419e-05, + -3.6787522924879056e-05, + -4.1057662153846866e-05, + -4.560378533914904e-05, + -5.0443602018450266e-05, + -5.559592091154448e-05, + -6.108070964246497e-05, + -6.691915593958827e-05, + -7.313372998791264e-05, + -7.974824750320209e-05, + -8.67879329916689e-05, + -9.427948255340107e-05, + -0.00010225112544642406, + -0.00011073268347853113, + -0.00011975562714491416, + -0.0001293531272073289, + -0.00013956010028654046, + -0.00015041324673749422, + -0.0001619510789506093, + -0.0001742139379251929, + -0.00018724399577617102, + -0.0002010852415988355, + -0.0002157834479196498, + -0.00023138611477013638, + -0.0002479423883062877, + -0.0002655029507783411, + -0.00028411987866274315, + -0.0003038464658231863, + -0.00032473700874101883, + -0.0003468465511436452, + -0.0003702305857816007, + -0.00039494471167673105, + -0.0004210442458725499, + -0.00044858378962283057, + -0.00047761674993673217, + -0.000508194818613843, + -0.0005403674121207152, + -0.0005741810770671054, + -0.0006096788673863482, + -0.0006468997007289735, + -0.000685877702871083, + -0.0007266415501163765, + -0.000769213820652013, + -0.0008136103665515787, + -0.0008598397185543106, + -0.0009079025358513513, + -0.0009577911128602846, + -0.0010094889543441389, + -0.0010629704293024225, + -0.0011182005127484032, + -0.0011751346230012276, + -0.0012337185603360115, + -0.0012938885509859296, + -0.0013555713985134291, + -0.0014186847426401056, + -0.001483137423691966, + -0.0015488299490440786, + -0.0016156550562739082, + -0.0016834983662524167, + -0.0017522391180540488, + -0.0018217509764551088, + -0.0018919029017781756, + -0.0019625600710675047, + -0.0020335848388936227, + -0.002104837725612896, + -0.002176178420553107, + -0.002247466787419155, + -0.0023185638592046975, + -0.002389332810073223, + -0.0024596398920536202, + -0.002529355324971166, + -0.0025983541288680393, + -0.00266651688914645, + -0.0027337304459301745, + -0.002799888500511171, + -0.002864892133324798, + -0.002928650229525011, + -0.00299107980999234, + -0.0030521062672974127, + -0.0031116635078631337, + -0.0031696940031445066, + -0.0032261487541222498, + -0.003280987174686054, + -0.0033341769005594464, + -0.003385693531289167, + -0.0034355203134375863, + -0.003483647773514528, + -0.0035300733093381544, + -0.003574800748496333, + -0.0036178398823187427, + -0.0036592059834031814, + -0.0036989193142072125, + -0.0037370046335813345, + -0.0037734907074449217, + -0.0038084098290297004, + -0.003841797353378908, + -0.003873691250002338, + -0.00390413167687388, + -0.003933160578221014, + -0.003960821307922951, + -0.003987158279720379, + -0.004012216644908464, + -0.0040360419976942265, + -0.004058680108028002, + -0.004080176681317806, + -0.0041005771442074995, + -0.004119926455335466, + -0.004138268939831955, + -0.0041556481461818, + -0.004172106723993911, + -0.004187686321169582, + -0.004202427498943154, + -0.004216369663276267, + -0.004229551011115692, + -0.004242008490070835, + -0.004253777770126019, + -0.004331910608531038, + -0.004332159477878152, + -0.004332424433885735, + -0.004332706517749691, + -0.0043330068380913545, + -0.004333326575296789, + -0.0043336669861316025, + -0.004334029408636559, + -0.004334415267325064, + -0.0043348260786980125, + -0.0043352634570816406, + -0.004335729120821447, + -0.004336224898824275, + -0.0043367527374803885, + -0.0043373147079686794, + -0.004337913013956332, + -0.0043385499997079585, + -0.004339228158601334, + -0.004339950142058909, + -0.004340718768890047, + -0.004341537035040585, + -0.004342408123722731, + -0.004343335415930527, + -0.0043443225012715575, + -0.004345373189102254, + -0.004346491519896884, + -0.004347681776773898, + -0.004348948497092937, + -0.0043502964840056455, + -0.0043517308178216045, + -0.004353256867021978, + -0.0043548802987215356, + -0.004356607088343686, + -0.004358443528236918, + -0.004360396234909214, + -0.004362472154522735, + -0.004364678566239254, + -0.004367023082937004, + -0.0043695136488046665, + -0.004372158533226563, + -0.004374966320351157, + -0.004377945893680908, + -0.004381106414975357, + -0.00438445729675683, + -0.004388008167668852, + -0.0043917688299569555, + -0.00439574920838424, + -0.0043999592899291165, + -0.004404409053716697, + -0.004409108390777323, + -0.004414067013368882, + -0.004419294353838495, + -0.004424799453246127, + -0.004430590840279404, + -0.004436676401332112, + -0.004443063242996454, + -0.004449757548621234, + -0.004456764431001747, + -0.004464087783675893, + -0.004471730133690363, + -0.004479692499029584, + -0.004487974254199631, + -0.004496573007613834, + -0.004505484494527871, + -0.0045147024892081625, + -0.004524218739833796, + -0.004534022929282087, + -0.0045441026644901785, + -0.004554443496434606, + -0.0045650289720608065, + -0.004575840718641637, + -0.004586858560166933, + -0.004598060664441996, + -0.0046094237186647125, + -0.0046209231304218615, + -0.004632533250273546, + -0.004644227611501088, + -0.004655979182095756, + -0.004667760623802891, + -0.004679544552899308, + -0.00469130379749736, + -0.004703011646360482, + -0.004714642084673995, + -0.004726170012711152, + -0.004737571443985028, + -0.004748823680176512, + -0.004759905460868997, + -0.004770797086865021, + -0.004781480516580453, + -0.004791939435687203, + -0.004802159300770696, + -0.004812127358302429, + -0.004821832640651742, + -0.004831265941189284, + -0.004840419770786607, + -0.00484928829815588, + -0.004857867276545899, + -0.004866153959289379, + -0.004874147006650176, + -0.004881846386265168, + -0.004889253269337845, + -0.004896369924536587, + -0.004903199611343973, + -0.004909746474383098, + -0.0049160154400251285, + -0.004922012116364644, + -0.004927742697445423, + -0.00493321387241234, + -0.004938432740115749, + -0.0049434067294908506, + -0.0049481435259470805, + -0.004952651003820281, + -0.004956937164905712, + -0.0049610100829222, + -0.004964877853771831, + -0.004968548551335023, + -0.004972030188543192, + -0.004975330683411678, + -0.004978457829727678, + -0.004981419272036213, + -0.004984222484600655, + -0.004986874753997836, + -0.004989383165012579, + -0.004991754589515856, + -0.0049939956780280905, + -0.004996112853663287, + -0.004998112308197679, + -0.004999999999999893 + ], + "lo": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + }, + "dqfp_V": { + "hi": [ + 0.0, + 1.4118321297055634e-06, + 2.907287796608482e-06, + 4.490836803747463e-06, + 6.167127032992367e-06, + 7.940983656455448e-06, + 9.81740709715633e-06, + 1.1801569572780038e-05, + 1.3898810045816463e-05, + 1.611462739367033e-05, + 1.845467160387177e-05, + 2.0924732792737834e-05, + 2.353072784125375e-05, + 2.627868444009614e-05, + 2.9174722337246033e-05, + 3.222503158718652e-05, + 3.5435847610075954e-05, + 3.881342289213125e-05, + 4.236399515552762e-05, + 4.609375190468294e-05, + 5.000879123001348e-05, + 5.411507884447135e-05, + 5.841840135633439e-05, + 6.292431585060996e-05, + 6.763809592107363e-05, + 7.25646743739837e-05, + 7.770858291133806e-05, + 8.307388919426925e-05, + 8.866413179319577e-05, + 9.448225360877432e-05, + 0.00010053053450069352, + 0.00010681052390056375, + 0.00011332297433113437, + 0.00012006777681672015, + 0.00012704389925180474, + 0.00013424932885249086, + 0.00014168101985386256, + 0.0001493348476310787, + 0.00015720557041015197, + 0.00016528679969365055, + 0.0001735709804547779, + 0.00018204938205906043, + 0.00019071210071720053, + 0.00019954807416421028, + 0.0002085451090147277, + 0.00021768992109945135, + 0.000226968188821711, + 0.0002363646194052494, + 0.00024586302761391026, + 0.00025544642634974966, + 0.0002650971282962175, + 0.0002747968575789113, + 0.00028452687023189285, + 0.0002942680820945042, + 0.00030400120262304777, + 0.00031370687298478285, + 0.00032336580670892714, + 0.00033295893110106924, + 0.0003424675275838497, + 0.0003518733691086141, + 0.0003611588527910854, + 0.000370307125960585, + 0.0003793022038790991, + 0.0003881290774857577, + 0.00039677380965527723, + 0.00040522361863576877, + 0.00041346694751217454, + 0.0004214935188313695, + 0.0004292943737334487, + 0.00043686189527880967, + 0.00044418981594772784, + 0.0004512732096148934, + 0.0004581084686146854, + 0.00046469326680998726, + 0.0004710265098545899, + 0.00047710827404623776, + 0.00048293973540208454, + 0.000488523090657134, + 0.000493861472017576, + 0.0004989588574758402, + 0.0005038199784972653, + 0.0005084502267645929, + 0.0005128555615759217, + 0.0005170424192927046, + 0.0005210176260800535, + 0.0005247883149616411, + 0.0005283618480104197, + 0.000531745744290483, + 0.0005349476139696514, + 0.0005379750988414821, + 0.0005408358193334772, + 0.0005435373279370235, + 0.0005460870688842011, + 0.000548492343777216, + 0.0005507602828535418, + 0.0005528978214558466, + 0.0005549116812921666, + 0.0005568083560296612, + 0.0005585941007687425, + 0.0005602749249509171, + 0.0005618565882698426, + 0.0005633445991777927, + 0.0005647442156070082, + 0.000566060447555616, + 0.0005672980612195095, + 0.0005684615843836829, + 0.0005695553128180776, + 0.0005705833174533798, + 0.0005715494521409037, + 0.0005724573618273807, + 0.000573310490999977, + 0.0005741120922790654, + 0.0005748652350562216, + 0.0005755728140926146, + 0.0005762375580085664, + 0.0005768620376086656, + 0.0005774486739986178, + 0.0005779997464601362, + 0.0005785174000588109, + 0.0005790036529671916, + 0.0005794604034914261, + 0.0005798894367948772, + 0.0005802924313163137, + 0.000580670964883663, + 0.0005810265205270375, + 0.0005813604919968972, + 0.0005816741889948863, + 0.0005819688421261336, + 0.0006745529464549983, + 0.0006884948345393128, + 0.0007032505548269888, + 0.0007188620322603771, + 0.0007353726438232545, + 0.0007528271745530491, + 0.000771271757652996, + 0.0007907537968359391, + 0.0008113218689247106, + 0.0008330256046881204, + 0.0008559155457910584, + 0.0008800429757692485, + 0.0009054597228610936, + 0.0009322179326547414, + 0.0009603698085477074, + 0.0009899673181886204, + 0.0010210618643023198, + 0.0010537039185664475, + 0.0010879426176221565, + 0.0011238253207612745, + 0.0011613971294199162, + 0.0012007003692980555, + 0.0012417740367284059, + 0.0012846532118358958, + 0.0013293684420587087, + 0.0013759451007355503, + 0.0014244027266888909, + 0.0014747543520309638, + 0.0015270058267620123, + 0.0015811551500840607, + 0.001637191819685352, + 0.0016950962114716185, + 0.0017548390033804476, + 0.0018163806577649651, + 0.0018796709775389863, + 0.0019446487515436765, + 0.0020112415045720248, + 0.002079365366884854, + 0.002148925077051445, + 0.002219814130324311, + 0.0022919150825987137, + 0.002365100017277432, + 0.002439231179099456, + 0.0025141617752566883, + 0.0025897369400061233, + 0.0026657948546058904, + 0.002742168009909636, + 0.002818684594513551, + 0.002895169987148231, + 0.0029714483282329393, + 0.0030473441423474502, + 0.0031226839809955003, + 0.003197298053573632, + 0.0032710218140324944, + 0.003343697471340549, + 0.0034151753936438605, + 0.003485315378722669, + 0.0035539877670955587, + 0.003621074378575632, + 0.003686469258154332, + 0.0037500792225162644, + 0.003811824204045897, + 0.003871637394637474, + 0.003929465196740845, + 0.003985266993672949, + 0.004039014755138823, + 0.0040906924970232125, + 0.004140295616767524, + 0.00418783012701841, + 0.004233311810749072, + 0.0042767653207858945, + 0.004318223245677347, + 0.004357725162343154, + 0.004395316693882386, + 0.004431048588665661, + 0.004464975834292302, + 0.004497156817489802, + 0.0045276525384468245, + 0.004556525885728972, + 0.00458384097566719, + 0.004609662558191397, + 0.0046340554893085605, + 0.004657084269038746, + 0.004678812642444701, + 0.004699303260474748, + 0.004718617396731557, + 0.004736814715776834, + 0.004753953088387444, + 0.004770088449035925, + 0.0047852746909610635, + 0.00479956359427705, + 0.004813004782810501, + 0.004825645705650312, + 0.004837531639646923, + 0.004848705709473062, + 0.00485920892216593, + 0.00486908021341545, + 0.0048783565031570416, + 0.004887072758380135, + 0.0048952620612843336, + 0.004902955681224971, + 0.004910183149101554, + 0.004916972333062253, + 0.004923349514586026, + 0.004929339464170977, + 0.004934965516002587, + 0.0049402496411092975, + 0.004945212518597007, + 0.004949873604696801, + 0.004954251199376886, + 0.0049583625103856496, + 0.0049622237146220655, + 0.004965850016789473, + 0.004969255705300034, + 0.004972454205476933, + 0.0049754581300630665, + 0.004978279327113338, + 0.004980928925337082, + 0.004983417376974903, + 0.004985754498300861, + 0.004987949507846033, + 0.004990011062442465, + 0.004991947291187893, + 0.004993765827431644, + 0.004995473838881012, + 0.004997078055925641, + 0.004998584798273957, + 0.004999999999999893 + ], + "lo": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + }, + "occupancy": { + "hi": [ + 7.928286662266792e-05 + ], + "lo": [ + 0.0 + ] + }, + "positive_m3": { + "hi": [ + 5.977186525286279e+21, + 5.987460007753037e+21, + 5.998488484258728e+21, + 6.010310264112843e+21, + 6.02295155508169e+21, + 6.036431502525846e+21, + 6.050770215019191e+21, + 6.065995110631512e+21, + 6.082142946565253e+21, + 6.099258416399036e+21, + 6.117391722215327e+21, + 6.136596726374028e+21, + 6.156929989220601e+21, + 6.178450379949409e+21, + 6.201218930563841e+21, + 6.225298756958379e+21, + 6.250754980906184e+21, + 6.277654632626911e+21, + 6.30606652735307e+21, + 6.33606111245024e+21, + 6.367710282210317e+21, + 6.40108715754746e+21, + 6.436265827930199e+21, + 6.473321053053797e+21, + 6.512327922022944e+21, + 6.553361468191838e+21, + 6.596496238314206e+21, + 6.641805815290635e+21, + 6.689362294602375e+21, + 6.739235715462358e+21, + 6.791493448839745e+21, + 6.846199545775395e+21, + 6.903414050837689e+21, + 6.963192287107951e+21, + 7.025584120719866e+21, + 7.090633214663969e+21, + 7.158376283225317e+21, + 7.228842359990207e+21, + 7.302052093742109e+21, + 7.378017087668262e+21, + 7.456739298005422e+21, + 7.538210508465925e+21, + 7.622411896400223e+21, + 7.709313705587109e+21, + 7.798875038725256e+21, + 7.891043780128301e+21, + 7.985756655806787e+21, + 8.082939434127079e+21, + 8.182507265707303e+21, + 8.28436515633645e+21, + 8.388408561703142e+21, + 8.494524087921622e+21, + 8.602590277491645e+21, + 8.71247845678911e+21, + 8.824053618737091e+21, + 8.93717531314506e+21, + 9.051698517575227e+21, + 9.167474463503364e+21, + 9.284351395993926e+21, + 9.402175249911998e+21, + 9.520790231652472e+21, + 9.64003930201559e+21, + 9.75976456285603e+21, + 9.879807556957707e+21, + 1.0000009496742756e+22, + 1.0120211442506295e+22, + 1.0240254454481132e+22, + 1.0359979744900833e+22, + 1.047922885624123e+22, + 1.059784388993395e+22, + 1.0715667806249642e+22, + 1.083254481095799e+22, + 1.0948320838216122e+22, + 1.1062844132309456e+22, + 1.1175965923879439e+22, + 1.1287541189613787e+22, + 1.1397429478420252e+22, + 1.1505495782310178e+22, + 1.1611611426750888e+22, + 1.171565495334781e+22, + 1.1817512967349794e+22, + 1.1917080923618465e+22, + 1.2014263827162779e+22, + 1.2108976827874121e+22, + 1.2201145693453467e+22, + 1.2290707149307509e+22, + 1.237760907921392e+22, + 1.2461810585399055e+22, + 1.254328191123728e+22, + 1.2622004233737987e+22, + 1.2697969336334724e+22, + 1.277117917504197e+22, + 1.2841645352879686e+22, + 1.2909388518513657e+22, + 1.2974437705457125e+22, + 1.3036829627962016e+22, + 1.3096607949021736e+22, + 1.3153822534803235e+22, + 1.3208528708446903e+22, + 1.3260786514602668e+22, + 1.3310660004411091e+22, + 1.3358216548955204e+22, + 1.3403526187573672e+22, + 1.3446661015881346e+22, + 1.3487694616918737e+22, + 1.3526701537582744e+22, + 1.3563756811373087e+22, + 1.359893552753959e+22, + 1.3632312445921357e+22, + 1.3663961656125611e+22, + 1.3693956279178906e+22, + 1.3722368209324324e+22, + 1.3749267892954838e+22, + 1.3774724139741667e+22, + 1.3798803954938367e+22, + 1.3821572365903498e+22, + 1.3843092184927012e+22, + 1.3863423614073352e+22, + 1.388262360090195e+22, + 1.3900744968490684e+22, + 1.391783558860473e+22, + 1.393393810632555e+22, + 1.394909070193077e+22, + 1.396332896363125e+22, + 1.3976688356261385e+22, + 1.3989206424365201e+22, + 1.4000924002964702e+22, + 1.401188519018053e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22 + ], + "lo": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + } + }, + "poisson_inputs": { + "fixed_inputs": { + "dqfn_V": { + "hi": [ + 0.0, + -1.8901340500861333e-06, + -3.902558937513848e-06, + -6.045196352696112e-06, + -8.326480145388024e-06, + -1.0755388874352827e-05, + -1.3341480269665542e-05, + -1.6094927687332266e-05, + -1.9026558618493338e-05, + -2.214789533320386e-05, + -2.5471197697935704e-05, + -2.900950821746303e-05, + -3.277669932584419e-05, + -3.6787522924879056e-05, + -4.1057662153846866e-05, + -4.560378533914904e-05, + -5.0443602018450266e-05, + -5.559592091154448e-05, + -6.108070964246497e-05, + -6.691915593958827e-05, + -7.313372998791264e-05, + -7.974824750320209e-05, + -8.67879329916689e-05, + -9.427948255340107e-05, + -0.00010225112544642406, + -0.00011073268347853113, + -0.00011975562714491416, + -0.0001293531272073289, + -0.00013956010028654046, + -0.00015041324673749422, + -0.0001619510789506093, + -0.0001742139379251929, + -0.00018724399577617102, + -0.0002010852415988355, + -0.0002157834479196498, + -0.00023138611477013638, + -0.0002479423883062877, + -0.0002655029507783411, + -0.00028411987866274315, + -0.0003038464658231863, + -0.00032473700874101883, + -0.0003468465511436452, + -0.0003702305857816007, + -0.00039494471167673105, + -0.0004210442458725499, + -0.00044858378962283057, + -0.00047761674993673217, + -0.000508194818613843, + -0.0005403674121207152, + -0.0005741810770671054, + -0.0006096788673863482, + -0.0006468997007289735, + -0.000685877702871083, + -0.0007266415501163765, + -0.000769213820652013, + -0.0008136103665515787, + -0.0008598397185543106, + -0.0009079025358513513, + -0.0009577911128602846, + -0.0010094889543441389, + -0.0010629704293024225, + -0.0011182005127484032, + -0.0011751346230012276, + -0.0012337185603360115, + -0.0012938885509859296, + -0.0013555713985134291, + -0.0014186847426401056, + -0.001483137423691966, + -0.0015488299490440786, + -0.0016156550562739082, + -0.0016834983662524167, + -0.0017522391180540488, + -0.0018217509764551088, + -0.0018919029017781756, + -0.0019625600710675047, + -0.0020335848388936227, + -0.002104837725612896, + -0.002176178420553107, + -0.002247466787419155, + -0.0023185638592046975, + -0.002389332810073223, + -0.0024596398920536202, + -0.002529355324971166, + -0.0025983541288680393, + -0.00266651688914645, + -0.0027337304459301745, + -0.002799888500511171, + -0.002864892133324798, + -0.002928650229525011, + -0.00299107980999234, + -0.0030521062672974127, + -0.0031116635078631337, + -0.0031696940031445066, + -0.0032261487541222498, + -0.003280987174686054, + -0.0033341769005594464, + -0.003385693531289167, + -0.0034355203134375863, + -0.003483647773514528, + -0.0035300733093381544, + -0.003574800748496333, + -0.0036178398823187427, + -0.0036592059834031814, + -0.0036989193142072125, + -0.0037370046335813345, + -0.0037734907074449217, + -0.0038084098290297004, + -0.003841797353378908, + -0.003873691250002338, + -0.00390413167687388, + -0.003933160578221014, + -0.003960821307922951, + -0.003987158279720379, + -0.004012216644908464, + -0.0040360419976942265, + -0.004058680108028002, + -0.004080176681317806, + -0.0041005771442074995, + -0.004119926455335466, + -0.004138268939831955, + -0.0041556481461818, + -0.004172106723993911, + -0.004187686321169582, + -0.004202427498943154, + -0.004216369663276267, + -0.004229551011115692, + -0.004242008490070835, + -0.004253777770126019, + -0.004331910608531038, + -0.004332159477878152, + -0.004332424433885735, + -0.004332706517749691, + -0.0043330068380913545, + -0.004333326575296789, + -0.0043336669861316025, + -0.004334029408636559, + -0.004334415267325064, + -0.0043348260786980125, + -0.0043352634570816406, + -0.004335729120821447, + -0.004336224898824275, + -0.0043367527374803885, + -0.0043373147079686794, + -0.004337913013956332, + -0.0043385499997079585, + -0.004339228158601334, + -0.004339950142058909, + -0.004340718768890047, + -0.004341537035040585, + -0.004342408123722731, + -0.004343335415930527, + -0.0043443225012715575, + -0.004345373189102254, + -0.004346491519896884, + -0.004347681776773898, + -0.004348948497092937, + -0.0043502964840056455, + -0.0043517308178216045, + -0.004353256867021978, + -0.0043548802987215356, + -0.004356607088343686, + -0.004358443528236918, + -0.004360396234909214, + -0.004362472154522735, + -0.004364678566239254, + -0.004367023082937004, + -0.0043695136488046665, + -0.004372158533226563, + -0.004374966320351157, + -0.004377945893680908, + -0.004381106414975357, + -0.00438445729675683, + -0.004388008167668852, + -0.0043917688299569555, + -0.00439574920838424, + -0.0043999592899291165, + -0.004404409053716697, + -0.004409108390777323, + -0.004414067013368882, + -0.004419294353838495, + -0.004424799453246127, + -0.004430590840279404, + -0.004436676401332112, + -0.004443063242996454, + -0.004449757548621234, + -0.004456764431001747, + -0.004464087783675893, + -0.004471730133690363, + -0.004479692499029584, + -0.004487974254199631, + -0.004496573007613834, + -0.004505484494527871, + -0.0045147024892081625, + -0.004524218739833796, + -0.004534022929282087, + -0.0045441026644901785, + -0.004554443496434606, + -0.0045650289720608065, + -0.004575840718641637, + -0.004586858560166933, + -0.004598060664441996, + -0.0046094237186647125, + -0.0046209231304218615, + -0.004632533250273546, + -0.004644227611501088, + -0.004655979182095756, + -0.004667760623802891, + -0.004679544552899308, + -0.00469130379749736, + -0.004703011646360482, + -0.004714642084673995, + -0.004726170012711152, + -0.004737571443985028, + -0.004748823680176512, + -0.004759905460868997, + -0.004770797086865021, + -0.004781480516580453, + -0.004791939435687203, + -0.004802159300770696, + -0.004812127358302429, + -0.004821832640651742, + -0.004831265941189284, + -0.004840419770786607, + -0.00484928829815588, + -0.004857867276545899, + -0.004866153959289379, + -0.004874147006650176, + -0.004881846386265168, + -0.004889253269337845, + -0.004896369924536587, + -0.004903199611343973, + -0.004909746474383098, + -0.0049160154400251285, + -0.004922012116364644, + -0.004927742697445423, + -0.00493321387241234, + -0.004938432740115749, + -0.0049434067294908506, + -0.0049481435259470805, + -0.004952651003820281, + -0.004956937164905712, + -0.0049610100829222, + -0.004964877853771831, + -0.004968548551335023, + -0.004972030188543192, + -0.004975330683411678, + -0.004978457829727678, + -0.004981419272036213, + -0.004984222484600655, + -0.004986874753997836, + -0.004989383165012579, + -0.004991754589515856, + -0.0049939956780280905, + -0.004996112853663287, + -0.004998112308197679, + -0.004999999999999893 + ], + "lo": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + }, + "dqfp_V": { + "hi": [ + 0.0, + 1.4118321297055634e-06, + 2.907287796608482e-06, + 4.490836803747463e-06, + 6.167127032992367e-06, + 7.940983656455448e-06, + 9.81740709715633e-06, + 1.1801569572780038e-05, + 1.3898810045816463e-05, + 1.611462739367033e-05, + 1.845467160387177e-05, + 2.0924732792737834e-05, + 2.353072784125375e-05, + 2.627868444009614e-05, + 2.9174722337246033e-05, + 3.222503158718652e-05, + 3.5435847610075954e-05, + 3.881342289213125e-05, + 4.236399515552762e-05, + 4.609375190468294e-05, + 5.000879123001348e-05, + 5.411507884447135e-05, + 5.841840135633439e-05, + 6.292431585060996e-05, + 6.763809592107363e-05, + 7.25646743739837e-05, + 7.770858291133806e-05, + 8.307388919426925e-05, + 8.866413179319577e-05, + 9.448225360877432e-05, + 0.00010053053450069352, + 0.00010681052390056375, + 0.00011332297433113437, + 0.00012006777681672015, + 0.00012704389925180474, + 0.00013424932885249086, + 0.00014168101985386256, + 0.0001493348476310787, + 0.00015720557041015197, + 0.00016528679969365055, + 0.0001735709804547779, + 0.00018204938205906043, + 0.00019071210071720053, + 0.00019954807416421028, + 0.0002085451090147277, + 0.00021768992109945135, + 0.000226968188821711, + 0.0002363646194052494, + 0.00024586302761391026, + 0.00025544642634974966, + 0.0002650971282962175, + 0.0002747968575789113, + 0.00028452687023189285, + 0.0002942680820945042, + 0.00030400120262304777, + 0.00031370687298478285, + 0.00032336580670892714, + 0.00033295893110106924, + 0.0003424675275838497, + 0.0003518733691086141, + 0.0003611588527910854, + 0.000370307125960585, + 0.0003793022038790991, + 0.0003881290774857577, + 0.00039677380965527723, + 0.00040522361863576877, + 0.00041346694751217454, + 0.0004214935188313695, + 0.0004292943737334487, + 0.00043686189527880967, + 0.00044418981594772784, + 0.0004512732096148934, + 0.0004581084686146854, + 0.00046469326680998726, + 0.0004710265098545899, + 0.00047710827404623776, + 0.00048293973540208454, + 0.000488523090657134, + 0.000493861472017576, + 0.0004989588574758402, + 0.0005038199784972653, + 0.0005084502267645929, + 0.0005128555615759217, + 0.0005170424192927046, + 0.0005210176260800535, + 0.0005247883149616411, + 0.0005283618480104197, + 0.000531745744290483, + 0.0005349476139696514, + 0.0005379750988414821, + 0.0005408358193334772, + 0.0005435373279370235, + 0.0005460870688842011, + 0.000548492343777216, + 0.0005507602828535418, + 0.0005528978214558466, + 0.0005549116812921666, + 0.0005568083560296612, + 0.0005585941007687425, + 0.0005602749249509171, + 0.0005618565882698426, + 0.0005633445991777927, + 0.0005647442156070082, + 0.000566060447555616, + 0.0005672980612195095, + 0.0005684615843836829, + 0.0005695553128180776, + 0.0005705833174533798, + 0.0005715494521409037, + 0.0005724573618273807, + 0.000573310490999977, + 0.0005741120922790654, + 0.0005748652350562216, + 0.0005755728140926146, + 0.0005762375580085664, + 0.0005768620376086656, + 0.0005774486739986178, + 0.0005779997464601362, + 0.0005785174000588109, + 0.0005790036529671916, + 0.0005794604034914261, + 0.0005798894367948772, + 0.0005802924313163137, + 0.000580670964883663, + 0.0005810265205270375, + 0.0005813604919968972, + 0.0005816741889948863, + 0.0005819688421261336, + 0.0006745529464549983, + 0.0006884948345393128, + 0.0007032505548269888, + 0.0007188620322603771, + 0.0007353726438232545, + 0.0007528271745530491, + 0.000771271757652996, + 0.0007907537968359391, + 0.0008113218689247106, + 0.0008330256046881204, + 0.0008559155457910584, + 0.0008800429757692485, + 0.0009054597228610936, + 0.0009322179326547414, + 0.0009603698085477074, + 0.0009899673181886204, + 0.0010210618643023198, + 0.0010537039185664475, + 0.0010879426176221565, + 0.0011238253207612745, + 0.0011613971294199162, + 0.0012007003692980555, + 0.0012417740367284059, + 0.0012846532118358958, + 0.0013293684420587087, + 0.0013759451007355503, + 0.0014244027266888909, + 0.0014747543520309638, + 0.0015270058267620123, + 0.0015811551500840607, + 0.001637191819685352, + 0.0016950962114716185, + 0.0017548390033804476, + 0.0018163806577649651, + 0.0018796709775389863, + 0.0019446487515436765, + 0.0020112415045720248, + 0.002079365366884854, + 0.002148925077051445, + 0.002219814130324311, + 0.0022919150825987137, + 0.002365100017277432, + 0.002439231179099456, + 0.0025141617752566883, + 0.0025897369400061233, + 0.0026657948546058904, + 0.002742168009909636, + 0.002818684594513551, + 0.002895169987148231, + 0.0029714483282329393, + 0.0030473441423474502, + 0.0031226839809955003, + 0.003197298053573632, + 0.0032710218140324944, + 0.003343697471340549, + 0.0034151753936438605, + 0.003485315378722669, + 0.0035539877670955587, + 0.003621074378575632, + 0.003686469258154332, + 0.0037500792225162644, + 0.003811824204045897, + 0.003871637394637474, + 0.003929465196740845, + 0.003985266993672949, + 0.004039014755138823, + 0.0040906924970232125, + 0.004140295616767524, + 0.00418783012701841, + 0.004233311810749072, + 0.0042767653207858945, + 0.004318223245677347, + 0.004357725162343154, + 0.004395316693882386, + 0.004431048588665661, + 0.004464975834292302, + 0.004497156817489802, + 0.0045276525384468245, + 0.004556525885728972, + 0.00458384097566719, + 0.004609662558191397, + 0.0046340554893085605, + 0.004657084269038746, + 0.004678812642444701, + 0.004699303260474748, + 0.004718617396731557, + 0.004736814715776834, + 0.004753953088387444, + 0.004770088449035925, + 0.0047852746909610635, + 0.00479956359427705, + 0.004813004782810501, + 0.004825645705650312, + 0.004837531639646923, + 0.004848705709473062, + 0.00485920892216593, + 0.00486908021341545, + 0.0048783565031570416, + 0.004887072758380135, + 0.0048952620612843336, + 0.004902955681224971, + 0.004910183149101554, + 0.004916972333062253, + 0.004923349514586026, + 0.004929339464170977, + 0.004934965516002587, + 0.0049402496411092975, + 0.004945212518597007, + 0.004949873604696801, + 0.004954251199376886, + 0.0049583625103856496, + 0.0049622237146220655, + 0.004965850016789473, + 0.004969255705300034, + 0.004972454205476933, + 0.0049754581300630665, + 0.004978279327113338, + 0.004980928925337082, + 0.004983417376974903, + 0.004985754498300861, + 0.004987949507846033, + 0.004990011062442465, + 0.004991947291187893, + 0.004993765827431644, + 0.004995473838881012, + 0.004997078055925641, + 0.004998584798273957, + 0.004999999999999893 + ], + "lo": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + }, + "occupancy": { + "hi": [ + 7.928286662266792e-05 + ], + "lo": [ + 0.0 + ] + }, + "positive_m3": { + "hi": [ + 5.977186525286279e+21, + 5.987460007753037e+21, + 5.998488484258728e+21, + 6.010310264112843e+21, + 6.02295155508169e+21, + 6.036431502525846e+21, + 6.050770215019191e+21, + 6.065995110631512e+21, + 6.082142946565253e+21, + 6.099258416399036e+21, + 6.117391722215327e+21, + 6.136596726374028e+21, + 6.156929989220601e+21, + 6.178450379949409e+21, + 6.201218930563841e+21, + 6.225298756958379e+21, + 6.250754980906184e+21, + 6.277654632626911e+21, + 6.30606652735307e+21, + 6.33606111245024e+21, + 6.367710282210317e+21, + 6.40108715754746e+21, + 6.436265827930199e+21, + 6.473321053053797e+21, + 6.512327922022944e+21, + 6.553361468191838e+21, + 6.596496238314206e+21, + 6.641805815290635e+21, + 6.689362294602375e+21, + 6.739235715462358e+21, + 6.791493448839745e+21, + 6.846199545775395e+21, + 6.903414050837689e+21, + 6.963192287107951e+21, + 7.025584120719866e+21, + 7.090633214663969e+21, + 7.158376283225317e+21, + 7.228842359990207e+21, + 7.302052093742109e+21, + 7.378017087668262e+21, + 7.456739298005422e+21, + 7.538210508465925e+21, + 7.622411896400223e+21, + 7.709313705587109e+21, + 7.798875038725256e+21, + 7.891043780128301e+21, + 7.985756655806787e+21, + 8.082939434127079e+21, + 8.182507265707303e+21, + 8.28436515633645e+21, + 8.388408561703142e+21, + 8.494524087921622e+21, + 8.602590277491645e+21, + 8.71247845678911e+21, + 8.824053618737091e+21, + 8.93717531314506e+21, + 9.051698517575227e+21, + 9.167474463503364e+21, + 9.284351395993926e+21, + 9.402175249911998e+21, + 9.520790231652472e+21, + 9.64003930201559e+21, + 9.75976456285603e+21, + 9.879807556957707e+21, + 1.0000009496742756e+22, + 1.0120211442506295e+22, + 1.0240254454481132e+22, + 1.0359979744900833e+22, + 1.047922885624123e+22, + 1.059784388993395e+22, + 1.0715667806249642e+22, + 1.083254481095799e+22, + 1.0948320838216122e+22, + 1.1062844132309456e+22, + 1.1175965923879439e+22, + 1.1287541189613787e+22, + 1.1397429478420252e+22, + 1.1505495782310178e+22, + 1.1611611426750888e+22, + 1.171565495334781e+22, + 1.1817512967349794e+22, + 1.1917080923618465e+22, + 1.2014263827162779e+22, + 1.2108976827874121e+22, + 1.2201145693453467e+22, + 1.2290707149307509e+22, + 1.237760907921392e+22, + 1.2461810585399055e+22, + 1.254328191123728e+22, + 1.2622004233737987e+22, + 1.2697969336334724e+22, + 1.277117917504197e+22, + 1.2841645352879686e+22, + 1.2909388518513657e+22, + 1.2974437705457125e+22, + 1.3036829627962016e+22, + 1.3096607949021736e+22, + 1.3153822534803235e+22, + 1.3208528708446903e+22, + 1.3260786514602668e+22, + 1.3310660004411091e+22, + 1.3358216548955204e+22, + 1.3403526187573672e+22, + 1.3446661015881346e+22, + 1.3487694616918737e+22, + 1.3526701537582744e+22, + 1.3563756811373087e+22, + 1.359893552753959e+22, + 1.3632312445921357e+22, + 1.3663961656125611e+22, + 1.3693956279178906e+22, + 1.3722368209324324e+22, + 1.3749267892954838e+22, + 1.3774724139741667e+22, + 1.3798803954938367e+22, + 1.3821572365903498e+22, + 1.3843092184927012e+22, + 1.3863423614073352e+22, + 1.388262360090195e+22, + 1.3900744968490684e+22, + 1.391783558860473e+22, + 1.393393810632555e+22, + 1.394909070193077e+22, + 1.396332896363125e+22, + 1.3976688356261385e+22, + 1.3989206424365201e+22, + 1.4000924002964702e+22, + 1.401188519018053e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22 + ], + "lo": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + }, + "sheet_charge_C_m2": { + "hi": [ + -2.208027851236118e-13 + ], + "lo": [ + 1.1985200161844696e-30 + ] + } + }, + "preparation": { + "N_A_m3": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "N_D_m3": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "boundary_phi_V": [ + 0.0, + -0.09499999999999964 + ], + "contact_n_m3": [ + 2515095827087.2163, + 2515095827087.2163 + ], + "contact_p_m3": [ + 2515095827087.2163, + 2515095827087.2163 + ], + "interface_nodes": [ + [ + 127, + 128 + ] + ], + "ion_background_m3": [ + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22 + ], + "log_n0": [ + 28.553332020975937, + 28.551049248875955, + 28.54862505616859, + 28.54605107069591, + 28.543318475164, + 28.54041799009738, + 28.53733985705989, + 28.534073822305203, + 28.530609121044165, + 28.52693446254159, + 28.523038016282243, + 28.518907399476745, + 28.5145296662088, + 28.509891298560092, + 28.504978200084025, + 28.499775692037815, + 28.49426851281916, + 28.488440821094684, + 28.482276203145545, + 28.475757684993937, + 28.46886774991202, + 28.461588361949055, + 28.45390099614181, + 28.4457866760998, + 28.437226019673375, + 28.428199293421358, + 28.418686476592598, + 28.40866733531783, + 28.39812150767696, + 28.38702860025265, + 28.37536829670941, + 28.363120478837203, + 28.35026536037455, + 28.336783633769812, + 28.32265662985384, + 28.307866490177673, + 28.292396351515976, + 28.276230541751687, + 28.259354786040234, + 28.2417564218064, + 28.22342462075838, + 28.204350615717658, + 28.184527929669713, + 28.16395260404761, + 28.142623422883673, + 28.120542129114938, + 28.097713629022763, + 28.074146180544034, + 28.0498515610237, + 28.02484520990896, + 27.999146341922255, + 27.97277802641483, + 27.945767228897722, + 27.918144811185016, + 27.88994548716144, + 27.86120773190089, + 27.83197364270228, + 27.802288751555892, + 27.772201789584415, + 27.74176440508694, + 27.711030837918685, + 27.680057554022284, + 27.648902844955217, + 27.617626398184456, + 27.58628884471503, + 27.55495129124455, + 27.52367484447069, + 27.49252013539845, + 27.461546851494887, + 27.430813284317452, + 27.40037589980895, + 27.37028893782454, + 27.340604046663543, + 27.311369957448647, + 27.282632202170248, + 27.254432878127375, + 27.226810460394034, + 27.1997996628551, + 27.173431347324737, + 27.147732479314186, + 27.12272612817472, + 27.098431508629005, + 27.07486406012424, + 27.052035560005635, + 27.029954266210098, + 27.00862508501919, + 26.988049759369943, + 26.968227073294884, + 26.949153068227105, + 26.930821267152226, + 26.91322290289176, + 26.896347147154017, + 26.880181337363865, + 26.86471119867673, + 26.84992105897564, + 26.835794055035336, + 26.822312328406838, + 26.809457209921078, + 26.797209392026446, + 26.78554908846141, + 26.774456181016035, + 26.763910353354817, + 26.753891212060438, + 26.744378395212777, + 26.7353516689426, + 26.726791012498694, + 26.718676692439914, + 26.710989326616613, + 26.703709938638298, + 26.69682000354169, + 26.69030148537604, + 26.684136867413514, + 26.678309175676276, + 26.672801996445486, + 26.66759948838768, + 26.662686389900642, + 26.658048022241474, + 26.65367028896361, + 26.649539672148705, + 26.645643225880434, + 26.64196856736936, + 26.638503866100308, + 26.635237831338003, + 26.63215969829332, + 26.62925921321991, + 26.626526617681577, + 26.623952632202787, + 26.62152843948968, + 30.485135602462208, + 30.482711409749072, + 30.48013742427031, + 30.47740482873195, + 30.474504343658538, + 30.471426210613856, + 30.46816017585155, + 30.4646954745825, + 30.461020816071454, + 30.457124369803182, + 30.45299375298825, + 30.448616019710414, + 30.443977652051217, + 30.43906455356418, + 30.4338620455064, + 30.428354866275583, + 30.422527174538374, + 30.416362556575848, + 30.4098440384102, + 30.40295410331359, + 30.395674715335275, + 30.387987349511917, + 30.379873029453194, + 30.37131237300929, + 30.36228564673911, + 30.35277282989145, + 30.342753688597043, + 30.332207860935824, + 30.32111495349045, + 30.309454649925414, + 30.29720683203081, + 30.28435171354505, + 30.27086998691655, + 30.25674298297622, + 30.24195284327513, + 30.226482704587994, + 30.21031689479784, + 30.193441139060127, + 30.175842774799662, + 30.157510973724754, + 30.138436968657004, + 30.118614282581916, + 30.098038956932697, + 30.076709775741733, + 30.054628481946253, + 30.031799981827646, + 30.008232533322882, + 29.98393791377717, + 29.958931562637673, + 29.933232694627122, + 29.90686437909679, + 29.879853581557853, + 29.852231163824484, + 29.82403183978164, + 29.79529408450321, + 29.766059995288344, + 29.73637510412732, + 29.706288142142938, + 29.675850757634407, + 29.64511719045703, + 29.61414390655341, + 29.58298919748117, + 29.55171275070734, + 29.52037519723686, + 29.489037643767375, + 29.45776119699667, + 29.426606487929604, + 29.395633204033203, + 29.36489963686489, + 29.334462252367445, + 29.304375290395996, + 29.274690399249607, + 29.24545631005097, + 29.216718554790447, + 29.18851923076687, + 29.160896813054165, + 29.13388601553703, + 29.107517700029604, + 29.081818832042956, + 29.05681248092816, + 29.032517861407854, + 29.008950412929096, + 28.98612191283692, + 28.964040619068186, + 28.94271143790425, + 28.922136112282175, + 28.9023134262342, + 28.88323942119348, + 28.86490762014546, + 28.847309255911625, + 28.8304335002002, + 28.814267690435912, + 28.798797551774214, + 28.78400741209805, + 28.769880408182075, + 28.75639868157731, + 28.743543563114656, + 28.731295745242477, + 28.71963544169921, + 28.708542534274926, + 28.69799670663403, + 28.68797756535929, + 28.67846474853053, + 28.669438022278513, + 28.660877365852087, + 28.652763045810076, + 28.645075680002833, + 28.637796292039837, + 28.63090635695795, + 28.624387838806285, + 28.618223220857175, + 28.612395529132726, + 28.606888349914044, + 28.601685841867834, + 28.596772743391796, + 28.59213437574303, + 28.587756642475142, + 28.583626025669616, + 28.579729579410298, + 28.576054920907694, + 28.572590219646685, + 28.56932418489197, + 28.566246051854506, + 28.563345566787888, + 28.560612971255978, + 28.55803898578327, + 28.555614793075904, + 28.553332020975937 + ], + "log_p0": [ + 28.553332020975937, + 28.555614793075932, + 28.5580389857833, + 28.560612971255978, + 28.563345566787888, + 28.566246051854506, + 28.56932418489197, + 28.572590219646685, + 28.576054920907694, + 28.579729579410326, + 28.583626025669645, + 28.587756642475114, + 28.592134375743086, + 28.596772743391796, + 28.601685841867834, + 28.606888349914044, + 28.612395529132726, + 28.618223220857175, + 28.624387838806314, + 28.63090635695798, + 28.637796292039866, + 28.645075680002833, + 28.652763045810104, + 28.660877365852087, + 28.669438022278513, + 28.6784647485305, + 28.68797756535929, + 28.697996706634058, + 28.708542534274898, + 28.71963544169924, + 28.731295745242477, + 28.743543563114656, + 28.756398681577338, + 28.769880408182047, + 28.78400741209802, + 28.798797551774214, + 28.814267690435912, + 28.8304335002002, + 28.847309255911654, + 28.864907620145487, + 28.883239421193508, + 28.90231342623423, + 28.922136112282175, + 28.94271143790428, + 28.964040619068214, + 28.98612191283695, + 29.008950412929124, + 29.032517861407854, + 29.056812480928215, + 29.081818832042956, + 29.107517700029632, + 29.13388601553703, + 29.160896813054165, + 29.18851923076687, + 29.216718554790475, + 29.24545631005097, + 29.27469039924958, + 29.304375290395996, + 29.3344622523675, + 29.364899636864948, + 29.395633204033174, + 29.426606487929575, + 29.457761196996643, + 29.489037643767432, + 29.520375197236888, + 29.55171275070734, + 29.582989197481226, + 29.614143906553437, + 29.645117190457, + 29.675850757634436, + 29.706288142142938, + 29.73637510412732, + 29.766059995288344, + 29.79529408450324, + 29.82403183978164, + 29.85223116382454, + 29.879853581557825, + 29.906864379096817, + 29.93323269462715, + 29.9589315626377, + 29.98393791377717, + 30.00823253332291, + 30.031799981827646, + 30.054628481946224, + 30.07670977574179, + 30.098038956932697, + 30.118614282581916, + 30.138436968657032, + 30.157510973724754, + 30.175842774799662, + 30.193441139060127, + 30.21031689479787, + 30.226482704588022, + 30.241952843275158, + 30.25674298297625, + 30.27086998691658, + 30.28435171354502, + 30.29720683203081, + 30.309454649925442, + 30.32111495349048, + 30.332207860935853, + 30.342753688597043, + 30.35277282989145, + 30.36228564673911, + 30.37131237300929, + 30.379873029453222, + 30.387987349511974, + 30.395674715335275, + 30.40295410331362, + 30.4098440384102, + 30.416362556575848, + 30.422527174538345, + 30.428354866275583, + 30.4338620455064, + 30.439064553564208, + 30.443977652051245, + 30.448616019710443, + 30.452993752988306, + 30.457124369803182, + 30.461020816071425, + 30.4646954745825, + 30.468160175851608, + 30.471426210613885, + 30.474504343658566, + 30.477404828731977, + 30.48013742427031, + 30.4827114097491, + 30.485135602462208, + 26.62152843948968, + 26.623952632202787, + 26.62652661768155, + 26.62925921321994, + 26.63215969829335, + 26.63523783133803, + 26.638503866100336, + 26.64196856736939, + 26.645643225880434, + 26.649539672148705, + 26.65367028896364, + 26.658048022241474, + 26.66268638990067, + 26.667599488387708, + 26.672801996445486, + 26.678309175676304, + 26.684136867413514, + 26.69030148537604, + 26.69682000354169, + 26.70370993863827, + 26.710989326616613, + 26.718676692439942, + 26.726791012498666, + 26.7353516689426, + 26.744378395212777, + 26.753891212060438, + 26.763910353354845, + 26.774456181016063, + 26.785549088461437, + 26.797209392026474, + 26.809457209921078, + 26.822312328406838, + 26.835794055035308, + 26.849921058975667, + 26.86471119867676, + 26.880181337363865, + 26.896347147154046, + 26.91322290289176, + 26.930821267152226, + 26.949153068227133, + 26.968227073294855, + 26.98804975936997, + 27.00862508501919, + 27.029954266210126, + 27.052035560005635, + 27.07486406012424, + 27.098431508628977, + 27.12272612817472, + 27.147732479314215, + 27.173431347324765, + 27.1997996628551, + 27.226810460394034, + 27.254432878127403, + 27.282632202170248, + 27.311369957448676, + 27.340604046663543, + 27.37028893782457, + 27.40037589980895, + 27.430813284317452, + 27.46154685149486, + 27.49252013539848, + 27.52367484447072, + 27.55495129124455, + 27.58628884471503, + 27.617626398184484, + 27.648902844955217, + 27.680057554022284, + 27.711030837918685, + 27.74176440508697, + 27.772201789584443, + 27.802288751555892, + 27.83197364270228, + 27.86120773190092, + 27.88994548716144, + 27.918144811185016, + 27.945767228897722, + 27.972778026414858, + 27.999146341922284, + 28.024845209908932, + 28.04985156102373, + 28.074146180544034, + 28.097713629022792, + 28.120542129114966, + 28.142623422883702, + 28.163952604047637, + 28.184527929669713, + 28.204350615717686, + 28.223424620758408, + 28.2417564218064, + 28.259354786040262, + 28.276230541751687, + 28.292396351515976, + 28.307866490177673, + 28.32265662985384, + 28.336783633769812, + 28.35026536037458, + 28.36312047883723, + 28.37536829670941, + 28.387028600252677, + 28.39812150767696, + 28.40866733531786, + 28.418686476592598, + 28.428199293421358, + 28.437226019673375, + 28.4457866760998, + 28.45390099614181, + 28.461588361949055, + 28.46886774991202, + 28.475757684993937, + 28.482276203145574, + 28.488440821094713, + 28.49426851281916, + 28.499775692037844, + 28.504978200084054, + 28.509891298560092, + 28.51452966620883, + 28.518907399476745, + 28.523038016282243, + 28.52693446254156, + 28.530609121044193, + 28.534073822305203, + 28.53733985705992, + 28.54041799009738, + 28.543318475164, + 28.54605107069591, + 28.548625056168618, + 28.551049248875984, + 28.553332020975937 + ], + "phi0_V": [ + 0.0, + -5.901422384117329e-05, + -0.00012168445319398998, + -0.00018822712508420754, + -0.0002588701841919243, + -0.000333853523514344, + -0.0004134294181420039, + -0.0004978629479231091, + -0.0005874324041833899, + -0.0006824296750075335, + -0.0007831606028717042, + -0.0008899453076450365, + -0.001003118467152762, + -0.0011230295466172376, + -0.0012500429673706068, + -0.0013845382042702485, + -0.0015269098002553294, + -0.0016775672854713588, + -0.0018369349873757304, + -0.0020054517172397282, + -0.0021835703175056595, + -0.0023717570535698503, + -0.00257049083277722, + -0.002780262232770108, + -0.0030015723208779996, + -0.0032349312460168657, + -0.003480856584642898, + -0.0037398714227378357, + -0.0040125021566575405, + -0.0042992759970217126, + -0.004600718161731926, + -0.004917348746748208, + -0.005249679266498931, + -0.005598208859805604, + -0.005963420162024397, + -0.006345774849774158, + -0.006745708871152653, + -0.007163627381726545, + -0.007599899414774799, + -0.008054852323189247, + -0.008528766039967916, + -0.009021867214206794, + -0.00953432328968477, + -0.01006623660327342, + -0.01061763859016804, + -0.011188484191961988, + -0.011778646571469209, + -0.012387912244508865, + -0.013015976743159824, + -0.013662440926837778, + -0.014326808056541332, + -0.015008481743408054, + -0.01570676487505197, + -0.01642085961186163, + -0.017149868530496853, + -0.017892796973355093, + -0.018648556641073954, + -0.019415970440650493, + -0.020193778575112266, + -0.020980645832639925, + -0.021775170004510458, + -0.022575891333185435, + -0.023381302865333867, + -0.024189861560571374, + -0.024999999986170973, + -0.025810138411797457, + -0.02661869710711543, + -0.02742410863939736, + -0.028224829968257963, + -0.02901935414036501, + -0.029806221398178477, + -0.030584029532973487, + -0.03135144333292852, + -0.0321072030010687, + -0.032850131444388454, + -0.03357914036352253, + -0.03429323510086539, + -0.03499151823307374, + -0.035673191920532914, + -0.03633755905085366, + -0.03698402323517029, + -0.03761208773447812, + -0.0382213534081896, + -0.03881151578838045, + -0.039382361390866774, + -0.03993376337845955, + -0.040465676692749336, + -0.040978132768928754, + -0.041471233943866904, + -0.041945147661340346, + -0.04240010057044292, + -0.042836372604170725, + -0.04325429111541382, + -0.0436542251374496, + -0.04403657982584334, + -0.04440179112869158, + -0.044750320722612154, + -0.04508265124296035, + -0.045399281828556966, + -0.0457007239938298, + -0.04598749783473847, + -0.04626012856918424, + -0.04651914340778662, + -0.046765068746901416, + -0.046998427672510355, + -0.04721973776106977, + -0.04742950916149579, + -0.04762824294111816, + -0.047816429677579535, + -0.04799454827822517, + -0.048163065008451814, + -0.048322432710702204, + -0.04847309019624808, + -0.048615461792547325, + -0.048749957029745966, + -0.04887697045078367, + -0.04899688153051836, + -0.04911005469028269, + -0.049216839395299555, + -0.049317570323394705, + -0.04941256759443781, + -0.049502137050905545, + -0.0495865705808831, + -0.049666146475696706, + -0.04974112981519505, + -0.049811772874469126, + -0.049878315546516616, + -0.04994098577601805, + -0.050059014223981596, + -0.05012168445348303, + -0.05018822712553052, + -0.0502588701848046, + -0.05033385352430294, + -0.05041342941911654, + -0.0504978629490941, + -0.050587432405561836, + -0.05068242967660494, + -0.05078316060470009, + -0.05088994530971695, + -0.05100311846948129, + -0.05112302954921597, + -0.05125004297025368, + -0.05138453820745232, + -0.05152690980375157, + -0.05167756728929745, + -0.05183693499154783, + -0.052005451721774475, + -0.05218357032242011, + -0.05237175705888148, + -0.052570490838503854, + -0.05278026223892988, + -0.05300157232748929, + -0.053234931253098236, + -0.05348085659221302, + -0.053739871430815406, + -0.05401250216526118, + -0.05429927600616984, + -0.05460071817144268, + -0.0549173487570393, + -0.05524967927738749, + -0.05559820887130806, + -0.05596342017415631, + -0.056345774862550047, + -0.05674570888458583, + -0.05716362739582892, + -0.05759989942955673, + -0.0580548523386593, + -0.05852876605613274, + -0.05902186723107089, + -0.059534323307250316, + -0.06006623662154009, + -0.06061763860913287, + -0.061188484211619196, + -0.06177864659181005, + -0.062387912265521525, + -0.06301597676482935, + -0.06366244094914597, + -0.06432680807946674, + -0.06500848176692592, + -0.06570676489913425, + -0.06642085963647712, + -0.0671498685556112, + -0.06789279699893094, + -0.06864855666707112, + -0.06941597046702616, + -0.07019377860182116, + -0.07098064585963464, + -0.07177517003174168, + -0.07257589136060229, + -0.07338130289288422, + -0.07418986158820219, + -0.07500000001382867, + -0.07581013843942826, + -0.07661869713466578, + -0.0774241086668142, + -0.0782248299954892, + -0.07901935416735972, + -0.07980622142488737, + -0.08058402955934915, + -0.08135144335892569, + -0.08210720302664455, + -0.08285013146950279, + -0.08357914038813802, + -0.08429323512494767, + -0.08499151825659158, + -0.08567319194345832, + -0.08633755907316186, + -0.08698402325683982, + -0.08761208775549079, + -0.08822135342853044, + -0.08881151580803766, + -0.0893823614098316, + -0.08993376339672624, + -0.09046567671031487, + -0.09097813278579285, + -0.09147123396003172, + -0.0919451476768104, + -0.09240010058522485, + -0.0928363726182731, + -0.09325429112884699, + -0.09365422515022548, + -0.09403657983797524, + -0.09440179114019405, + -0.09475032073350072, + -0.09508265125325144, + -0.09539928183826772, + -0.09570072400297792, + -0.0959874978433421, + -0.09626012857726181, + -0.09651914341535675, + -0.09676506875398279, + -0.09699842767912165, + -0.09721973776722953, + -0.09742950916722243, + -0.09762824294642979, + -0.09781642968249399, + -0.09799454828275993, + -0.09816306501262391, + -0.09832243271452829, + -0.0984730901997443, + -0.0986154617957294, + -0.09874995703262904, + -0.09887697045338241, + -0.09899688153284689, + -0.09911005469235461, + -0.09921683939712794, + -0.0993175703249921, + -0.09941256759581625, + -0.09950213705207653, + -0.09958657058185764, + -0.0996661464764853, + -0.09974112981580772, + -0.09981177287491544, + -0.09987831554680565, + -0.09994098577615847, + -0.09999999999999964 + ], + "poisson_capacitance_F_m2": [ + 0.75017404571579, + 0.7064109946762256, + 0.6653014944568102, + 0.6266849087920617, + 0.590410342534266, + 0.5563360520275734, + 0.5243288912413053, + 0.49426379149910127, + 0.4660232727703924, + 0.4394969846145307, + 0.4145812749841298, + 0.39117878520229893, + 0.369198069531688, + 0.34855323784813197, + 0.3291636200232019, + 0.31095345070385594, + 0.2938515732577741, + 0.27779116172718027, + 0.26270945970500414, + 0.24854753511284186, + 0.23525004992259865, + 0.22276504392192767, + 0.21104373167855206, + 0.20004031191017313, + 0.18971178851491888, + 0.18001780256316943, + 0.17092047459416174, + 0.16238425660115646, + 0.15437579312684066, + 0.14686379092615495, + 0.13981889668725767, + 0.13321358233280742, + 0.12702203745343213, + 0.12122006845295585, + 0.11578500401143077, + 0.11069560649643802, + 0.10593198897658829, + 0.10147553751290392, + 0.09730883842444564, + 0.09341561024397625, + 0.08978064009777696, + 0.086389724261008, + 0.08322961265634855, + 0.08028795707902932, + 0.07755326294595627, + 0.07501484438037558, + 0.07266278245657996, + 0.0704878864414875, + 0.06848165788165626, + 0.06663625739539021, + 0.06494447404018784, + 0.06339969713582182, + 0.0619958904329705, + 0.06072756852643374, + 0.059589775420800864, + 0.05857806516478559, + 0.057688484478576295, + 0.056917557306310415, + 0.05626227123330822, + 0.05572006571500012, + 0.05528882207153989, + 0.05496685520901951, + 0.054752907034926586, + 0.0546461415421221, + 0.0546461415421221, + 0.054752907034926586, + 0.05496685520901951, + 0.05528882207153989, + 0.05572006571500012, + 0.05626227123330846, + 0.05691755730631017, + 0.057688484478576295, + 0.05857806516478559, + 0.059589775420800864, + 0.06072756852643374, + 0.0619958904329705, + 0.06339969713582182, + 0.06494447404018752, + 0.06663625739539088, + 0.06848165788165556, + 0.0704878864414875, + 0.07266278245658016, + 0.07501484438037621, + 0.07755326294595559, + 0.08028795707902908, + 0.08322961265634855, + 0.08638972426100855, + 0.08978064009777666, + 0.09341561024397593, + 0.09730883842444671, + 0.10147553751290353, + 0.10593198897658912, + 0.11069560649643802, + 0.11578500401143002, + 0.12122006845295667, + 0.12702203745343182, + 0.13321358233280645, + 0.13981889668725767, + 0.14686379092615656, + 0.15437579312684066, + 0.162384256601154, + 0.17092047459416146, + 0.18001780256316613, + 0.18971178851492493, + 0.20004031191017202, + 0.2110437316785508, + 0.2227650439219323, + 0.2352500499225909, + 0.24854753511284822, + 0.2627094597050022, + 0.2777911617271727, + 0.293851573257779, + 0.3109534507038613, + 0.32916362002319277, + 0.3485532378481382, + 0.3691980695316899, + 0.3911787852022882, + 0.41458127498413294, + 0.4394969846145519, + 0.4660232727703929, + 0.49426379149909444, + 0.5243288912412835, + 0.5563360520275673, + 0.5904103425342505, + 0.6266849087921119, + 0.6653014944567798, + 0.7064109946762493, + 0.3750870228578949, + 0.7064109946762493, + 0.6653014944567798, + 0.6266849087920532, + 0.5904103425343027, + 0.5563360520275673, + 0.5243288912412835, + 0.49426379149909444, + 0.4660232727703929, + 0.4394969846145519, + 0.41458127498413294, + 0.3911787852022882, + 0.3691980695316899, + 0.3485532378481382, + 0.32916362002319277, + 0.3109534507038613, + 0.29385157325776606, + 0.2777911617271842, + 0.2627094597050022, + 0.24854753511284822, + 0.23525004992259918, + 0.2227650439219249, + 0.2110437316785508, + 0.20004031191017202, + 0.18971178851491954, + 0.18001780256317096, + 0.17092047459416146, + 0.162384256601154, + 0.15437579312684066, + 0.14686379092615656, + 0.13981889668725767, + 0.13321358233280645, + 0.12702203745343424, + 0.12122006845295448, + 0.11578500401143002, + 0.11069560649643802, + 0.10593198897658912, + 0.10147553751290353, + 0.09730883842444671, + 0.09341561024397593, + 0.08978064009777666, + 0.08638972426100744, + 0.0832296126563496, + 0.08028795707902908, + 0.07755326294595559, + 0.07501484438037537, + 0.07266278245658095, + 0.0704878864414875, + 0.06848165788165626, + 0.06663625739538954, + 0.06494447404018752, + 0.06339969713582243, + 0.0619958904329705, + 0.060727568526433184, + 0.0595897754208014, + 0.05857806516478559, + 0.057688484478576295, + 0.05691755730631017, + 0.05626227123330846, + 0.055720065715000586, + 0.05528882207153898, + 0.05496685520901974, + 0.05475290703492636, + 0.054646141542122544, + 0.054646141542122544, + 0.05475290703492636, + 0.05496685520901974, + 0.05528882207153898, + 0.055720065715000586, + 0.05626227123330846, + 0.05691755730631017, + 0.057688484478576295, + 0.05857806516478559, + 0.0595897754208014, + 0.060727568526433184, + 0.0619958904329705, + 0.06339969713582243, + 0.06494447404018626, + 0.06663625739539221, + 0.06848165788165486, + 0.0704878864414875, + 0.07266278245658095, + 0.07501484438037537, + 0.07755326294595559, + 0.08028795707902908, + 0.0832296126563496, + 0.08638972426100744, + 0.08978064009777786, + 0.09341561024397463, + 0.0973088384244453, + 0.10147553751290507, + 0.10593198897658912, + 0.11069560649643802, + 0.11578500401143203, + 0.12122006845295227, + 0.12702203745343424, + 0.13321358233280645, + 0.13981889668725472, + 0.14686379092615978, + 0.15437579312684066, + 0.16238425660115793, + 0.1709204745941571, + 0.18001780256316613, + 0.18971178851492493, + 0.200040311910178, + 0.21104373167854415, + 0.22276504392193971, + 0.23525004992257434, + 0.24854753511284822, + 0.26270945970502285, + 0.2777911617271612, + 0.2938515732577919, + 0.3109534507038469, + 0.32916362002319277, + 0.34855323784812003, + 0.36919806953171025, + 0.3911787852023111, + 0.41458127498413294, + 0.4394969846145519, + 0.46602327277036043, + 0.49426379149913097, + 0.5243288912412013, + 0.5563360520276136, + 0.5904103425343027, + 0.6266849087920532, + 0.6653014944567798, + 0.7064109946763238, + 0.7501740457157058 + ], + "poisson_width_m": [ + 1.2168445327999375e-10, + 1.2921290133435793e-10, + 1.3718573109489092e-10, + 1.456263985330553e-10, + 1.5455923405930657e-10, + 1.6400942452466372e-10, + 1.7400298616433713e-10, + 1.8456672721482707e-10, + 1.9572819882658635e-10, + 2.0751563278408056e-10, + 2.1995786443639556e-10, + 2.330842391367742e-10, + 2.4692450039214606e-10, + 2.615086578375502e-10, + 2.768668330800304e-10, + 2.930290814077334e-10, + 3.1002518733890237e-10, + 3.2788443199932904e-10, + 3.4663533037393737e-10, + 3.6630533658778285e-10, + 3.869205155434871e-10, + 4.0850517948706975e-10, + 4.310814884031017e-10, + 4.546690135652088e-10, + 4.79284264100096e-10, + 5.049401770735207e-10, + 5.316455723851334e-10, + 5.594045746728763e-10, + 5.882160054824251e-10, + 6.180727501540692e-10, + 6.489611052145571e-10, + 6.808601135253143e-10, + 7.137408960140655e-10, + 7.47565990478061e-10, + 7.822887096588038e-10, + 8.178525325040014e-10, + 8.54190544194725e-10, + 8.912249420559998e-10, + 9.288666258067398e-10, + 9.670148916509131e-10, + 1.005557250369215e-09, + 1.0443693897370093e-09, + 1.0833153011705004e-09, + 1.1222475893912312e-09, + 1.1610079820176118e-09, + 1.1994280532751899e-09, + 1.23733017242863e-09, + 1.2745286830742073e-09, + 1.3108313141313866e-09, + 1.3460408173217914e-09, + 1.3799568192605954e-09, + 1.4123778691985396e-09, + 1.443103656181209e-09, + 1.4719373622173193e-09, + 1.4986881112844911e-09, + 1.523173467982208e-09, + 1.5452219347003404e-09, + 1.5646753926224425e-09, + 1.5813914299979714e-09, + 1.5952455011079117e-09, + 1.6061328613443997e-09, + 1.6139702278616839e-09, + 1.6186971212639917e-09, + 1.6202768516007768e-09, + 1.6186971212639917e-09, + 1.6139702278616839e-09, + 1.6061328613443997e-09, + 1.5952455011079117e-09, + 1.5813914299979714e-09, + 1.5646753926224425e-09, + 1.5452219347003404e-09, + 1.523173467982208e-09, + 1.4986881112844845e-09, + 1.4719373622173193e-09, + 1.4431036561812155e-09, + 1.4123778691985462e-09, + 1.379956819260592e-09, + 1.346040817321788e-09, + 1.31083131413138e-09, + 1.2745286830742205e-09, + 1.2373301724286366e-09, + 1.19942805327517e-09, + 1.1610079820176184e-09, + 1.1222475893912378e-09, + 1.083315301170507e-09, + 1.0443693897369927e-09, + 1.0055572503692116e-09, + 9.670148916509198e-10, + 9.288666258067464e-10, + 8.91224942055985e-10, + 8.541905441947299e-10, + 8.178525325039981e-10, + 7.822887096588004e-10, + 7.475659904780676e-10, + 7.137408960140556e-10, + 6.808601135253242e-10, + 6.48961105214567e-10, + 6.180727501540659e-10, + 5.882160054824152e-10, + 5.59404574672873e-10, + 5.316455723851383e-10, + 5.049401770735323e-10, + 4.792842641000936e-10, + 4.546690135651964e-10, + 4.3108148840310337e-10, + 4.0850517948706727e-10, + 3.869205155434962e-10, + 3.663053365877845e-10, + 3.4663533037393406e-10, + 3.278844319993274e-10, + 3.1002518733890444e-10, + 2.930290814077417e-10, + 2.7686683308002504e-10, + 2.6150865783754524e-10, + 2.46924500392156e-10, + 2.3308423913676347e-10, + 2.1995786443640466e-10, + 2.0751563278407477e-10, + 1.9572819882657477e-10, + 1.845667272148283e-10, + 1.740029861643485e-10, + 1.6400942452466144e-10, + 1.545592340593227e-10, + 1.4562639853305157e-10, + 1.3718573109488172e-10, + 1.2921290133435225e-10, + 1.8069867716288167e-10, + 1.8069867716288167e-10, + 1.2921290133435225e-10, + 1.3718573109489495e-10, + 1.4562639853305157e-10, + 1.5455923405930946e-10, + 1.6400942452466144e-10, + 1.740029861643485e-10, + 1.845667272148283e-10, + 1.9572819882657477e-10, + 2.0751563278407477e-10, + 2.1995786443640466e-10, + 2.3308423913676347e-10, + 2.46924500392156e-10, + 2.6150865783754524e-10, + 2.7686683308002504e-10, + 2.930290814077417e-10, + 3.1002518733890444e-10, + 3.278844319993274e-10, + 3.4663533037393406e-10, + 3.663053365877845e-10, + 3.8692051554348296e-10, + 4.085051794870805e-10, + 4.3108148840310337e-10, + 4.5466901356520963e-10, + 4.792842641000936e-10, + 5.04940177073519e-10, + 5.316455723851383e-10, + 5.59404574672873e-10, + 5.882160054824152e-10, + 6.180727501540659e-10, + 6.48961105214567e-10, + 6.808601135253109e-10, + 7.137408960140689e-10, + 7.475659904780676e-10, + 7.822887096588004e-10, + 8.178525325039981e-10, + 8.541905441947299e-10, + 8.91224942055985e-10, + 9.288666258067464e-10, + 9.670148916509198e-10, + 1.0055572503692116e-09, + 1.0443693897370192e-09, + 1.0833153011704673e-09, + 1.122247589391251e-09, + 1.1610079820176184e-09, + 1.1994280532751965e-09, + 1.2373301724286234e-09, + 1.2745286830741808e-09, + 1.3108313141314065e-09, + 1.346040817321788e-09, + 1.3799568192606186e-09, + 1.412377869198533e-09, + 1.4431036561812023e-09, + 1.4719373622173193e-09, + 1.4986881112844977e-09, + 1.523173467982208e-09, + 1.545221934700314e-09, + 1.564675392622469e-09, + 1.5813914299979515e-09, + 1.5952455011079183e-09, + 1.606132861344413e-09, + 1.6139702278616839e-09, + 1.6186971212639851e-09, + 1.6202768516007636e-09, + 1.6186971212639851e-09, + 1.6139702278616839e-09, + 1.606132861344413e-09, + 1.5952455011079183e-09, + 1.5813914299979515e-09, + 1.564675392622469e-09, + 1.545221934700314e-09, + 1.523173467982208e-09, + 1.4986881112844977e-09, + 1.4719373622173193e-09, + 1.4431036561812023e-09, + 1.412377869198533e-09, + 1.3799568192606186e-09, + 1.346040817321788e-09, + 1.31083131413138e-09, + 1.2745286830742073e-09, + 1.2373301724286234e-09, + 1.1994280532751965e-09, + 1.1610079820176184e-09, + 1.122247589391251e-09, + 1.0833153011704673e-09, + 1.0443693897370192e-09, + 1.0055572503692116e-09, + 9.670148916509198e-10, + 9.288666258067464e-10, + 8.91224942055985e-10, + 8.541905441947299e-10, + 8.178525325039848e-10, + 7.822887096588137e-10, + 7.475659904780676e-10, + 7.137408960140821e-10, + 6.808601135253109e-10, + 6.489611052145538e-10, + 6.180727501540659e-10, + 5.882160054824152e-10, + 5.59404574672873e-10, + 5.316455723851383e-10, + 5.04940177073519e-10, + 4.7928426410012e-10, + 4.5466901356518316e-10, + 4.3108148840310337e-10, + 4.0850517948706727e-10, + 3.869205155434962e-10, + 3.6630533658779774e-10, + 3.4663533037392083e-10, + 3.278844319993274e-10, + 3.1002518733890444e-10, + 2.930290814077152e-10, + 2.768668330800515e-10, + 2.6150865783754524e-10, + 2.46924500392156e-10, + 2.3308423913676347e-10, + 2.1995786443639143e-10, + 2.0751563278407477e-10, + 1.95728198826588e-10, + 1.845667272148283e-10, + 1.740029861643485e-10, + 1.6400942452466144e-10, + 1.545592340593227e-10, + 1.4562639853305157e-10, + 1.3718573109489495e-10, + 1.29212901334339e-10, + 1.2168445327999169e-10 + ], + "sheet_weights": [ + [ + 0.5, + 0.5 + ] + ], + "thermal_voltage_V": 0.025851999786435535 + }, + "schema": "R1IndependentPoissonInputsV1", + "seed_phi_V": { + "hi": [ + 0.0, + -6.297052455897911e-05, + -0.00012973141170526508, + -0.00020049299128761092, + -0.000275474999459675, + -0.00035490670549944976, + -0.00043902699624954485, + -0.0005280844113637886, + -0.0006223371220667533, + -0.0007220528455165659, + -0.0008275086861903219, + -0.000938990895100708, + -0.0010567945371556592, + -0.001181223056589348, + -0.0013125877301202926, + -0.001451206997348996, + -0.0015974056579288515, + -0.0017515139252710407, + -0.0019138663270208466, + -0.002084800443313756, + -0.0022646554749316044, + -0.002453770634977876, + -0.0026524833596222293, + -0.0028611273358684023, + -0.003080030347211404, + -0.003309511941494286, + -0.0035498809292621165, + -0.0038014327254342036, + -0.004064446552144571, + -0.004339182526077178, + -0.004625878659456069, + -0.004924747809914091, + -0.005235974620589759, + -0.005559712497780646, + -0.005896080679062622, + -0.006245161449676169, + -0.006606997568861872, + -0.006981589970350026, + -0.007368895802020401, + -0.007768826868502891, + -0.008181248536876675, + -0.008605979159392938, + -0.009042790058130128, + -0.009491406104644851, + -0.00995150691310476, + -0.010422728648349061, + -0.010904666431268827, + -0.011396877303473467, + -0.011898883692232385, + -0.012410177296130281, + -0.012930223292845423, + -0.013458464754106647, + -0.01399432714035082, + -0.014537222739938438, + -0.015086554915865314, + -0.015641722027343447, + -0.016202120904692457, + -0.016767149773570272, + -0.017336210548145808, + -0.017908710441424062, + -0.0184840628732377, + -0.019061687690763426, + -0.019641010750931186, + -0.02022146294679667, + -0.020802478788907786, + -0.021383494676155305, + -0.02196394700710645, + -0.022543270291343103, + -0.02312089542032628, + -0.023696248248785273, + -0.02426874862112122, + -0.024837809953855032, + -0.025402839456189347, + -0.02596323903805155, + -0.02651840692047509, + -0.02706773992883194, + -0.027610636417125488, + -0.02814649974294532, + -0.02867474218911136, + -0.029194789210447672, + -0.02970608387305789, + -0.030208091349039276, + -0.030700303331492335, + -0.031182242242346954, + -0.03165346511806037, + -0.03211356707459589, + -0.03256218427212062, + -0.03299899632041128, + -0.03342372808693433, + -0.03383615088999302, + -0.034236083078387075, + -0.03462339001607199, + -0.03499798350488118, + -0.035359820690220846, + -0.035708902503662626, + -0.03604527170259263, + -0.03636901057068785, + -0.03668023834423651, + -0.0369791084285078, + -0.03726580546585353, + -0.03754054231334325, + -0.03780355698284263, + -0.03805510959086361, + -0.03829547935953634, + -0.03852496170392659, + -0.038743865434859165, + -0.03895251010057377, + -0.03915122348506351, + -0.03934033927591729, + -0.03952019490996343, + -0.039691129601025235, + -0.03985348255065403, + -0.0400075913397941, + -0.040153790496929236, + -0.040292410236329755, + -0.040423775358518564, + -0.040548204303960694, + -0.04066600835020429, + -0.04077749094221753, + -0.0408829471454356, + -0.040982663211022105, + -0.0410769162430298, + -0.041165973957474934, + -0.04125009452376612, + -0.04132952647939865, + -0.04140450870931032, + -0.041475270481794925, + -0.041542031533400164, + -0.041668073988744884, + -0.041734999460707044, + -0.041806060309978334, + -0.04188149995844257, + -0.04196157458757885, + -0.04204655360169066, + -0.04213672007926874, + -0.0422323712073267, + -0.04233381869284275, + -0.04244138914467502, + -0.04255542441849453, + -0.04267628191639828, + -0.04280433483192903, + -0.04293997233024342, + -0.043083599652141785, + -0.04323563812961309, + -0.04339652509946813, + -0.04356671370055142, + -0.043746672538957025, + -0.04393688520465168, + -0.044137849621960545, + -0.04435007721553228, + -0.04457409187271378, + -0.0448104286827777, + -0.04505963243321326, + -0.04532225584337195, + -0.04559885751622167, + -0.045889999589875254, + -0.04619624507199689, + -0.04651815484222907, + -0.04685628431049816, + -0.04721117972252178, + -0.04758337410811983, + -0.04797338287307889, + -0.048381699041371816, + -0.04880878816151078, + -0.0492550828986963, + -0.049720977343175744, + -0.05020682107475486, + -0.05071291303358463, + -0.051239495257993074, + -0.051786746561012356, + -0.05235477622807681, + -0.052943617828795385, + -0.05355322324534, + -0.05418345702841024, + -0.054834091198471234, + -0.05550480061454783, + -0.056195159034827656, + -0.05690463599225171, + -0.05763259460377954, + -0.058378290423826217, + -0.0591408714403091, + -0.05991937929578684, + -0.06071275179645204, + -0.061519826748560984, + -0.06233934713573513, + -0.06316996762211441, + -0.06401026233640365, + -0.06485873386138526, + -0.06571382332352273, + -0.06657392144894282, + -0.06743738042644647, + -0.06830252639627805, + -0.0691676723660795, + -0.07003113134349298, + -0.07089122946876346, + -0.07174631893069286, + -0.0725947904554093, + -0.07343508516937804, + -0.07426570565538354, + -0.07508522604213301, + -0.07589230099376905, + -0.07668567349391606, + -0.07746418134883344, + -0.07822676236471712, + -0.0789724581841292, + -0.07970041679499063, + -0.08040989375172004, + -0.08110025217128075, + -0.08177096158661733, + -0.08242159575592103, + -0.08305182953822024, + -0.08366143495398357, + -0.08425027655391386, + -0.08481830622018625, + -0.08536555752241266, + -0.08589213974603027, + -0.08639823170407389, + -0.08688407543487393, + -0.08734996987858362, + -0.08779626461501072, + -0.0882233537344044, + -0.08863166990196676, + -0.08902167866621141, + -0.08939387305111239, + -0.08974876846245727, + -0.09008689793006683, + -0.09040880769965931, + -0.09071505318116163, + -0.09100619525421663, + -0.09128279692648875, + -0.0915454203360909, + -0.091794624085991, + -0.09203096089554044, + -0.09225497555222827, + -0.09246720314532683, + -0.09266816756218275, + -0.09285838022744426, + -0.09303833906543604, + -0.09320852766612443, + -0.09336941463560292, + -0.09352145311271548, + -0.09366508043427238, + -0.09380071793226197, + -0.093928770847484, + -0.0940496283450945, + -0.09416366361863568, + -0.09427123407020391, + -0.09437268155546963, + -0.09446833268329037, + -0.09455849916064381, + -0.09464347817454294, + -0.09472355280347798, + -0.0947989924517519, + -0.09487005330084325, + -0.09493697877263535, + -0.09499999999999964 + ], + "lo": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + }, + "seed_provenance": "same_diagnostics_call_legacy_potential_eliminated_channel" + }, + "schema": "R1GlobalIonReferenceInputsV1" + }, + "inputs_sha256": "8478395801ada71cf1a05dc473113f61125fd9e2dd23d31cbf23d27e4ab8a19c", + "ion_constitutive_implementation": "independent_DD_SG_and_explicit_boundary_FV_divergence", + "poisson": { + "converged": true, + "fixed_input_digest": "d813c54184fc79913b29acff9b8e42a4cfa0561000a3e6133c7f8f0d879509ad", + "iterations": 2, + "kind": "independent_fixed_qf_poisson", + "last_correction_max_abs_V": 4.688347041869902e-31, + "poisson_residual_max_abs_C_m2": 4.980660003159024e-34, + "seed_phi_V": { + "hi": [ + 0.0, + -6.297052455897911e-05, + -0.00012973141170526508, + -0.00020049299128761092, + -0.000275474999459675, + -0.00035490670549944976, + -0.00043902699624954485, + -0.0005280844113637886, + -0.0006223371220667533, + -0.0007220528455165659, + -0.0008275086861903219, + -0.000938990895100708, + -0.0010567945371556592, + -0.001181223056589348, + -0.0013125877301202926, + -0.001451206997348996, + -0.0015974056579288515, + -0.0017515139252710407, + -0.0019138663270208466, + -0.002084800443313756, + -0.0022646554749316044, + -0.002453770634977876, + -0.0026524833596222293, + -0.0028611273358684023, + -0.003080030347211404, + -0.003309511941494286, + -0.0035498809292621165, + -0.0038014327254342036, + -0.004064446552144571, + -0.004339182526077178, + -0.004625878659456069, + -0.004924747809914091, + -0.005235974620589759, + -0.005559712497780646, + -0.005896080679062622, + -0.006245161449676169, + -0.006606997568861872, + -0.006981589970350026, + -0.007368895802020401, + -0.007768826868502891, + -0.008181248536876675, + -0.008605979159392938, + -0.009042790058130128, + -0.009491406104644851, + -0.00995150691310476, + -0.010422728648349061, + -0.010904666431268827, + -0.011396877303473467, + -0.011898883692232385, + -0.012410177296130281, + -0.012930223292845423, + -0.013458464754106647, + -0.01399432714035082, + -0.014537222739938438, + -0.015086554915865314, + -0.015641722027343447, + -0.016202120904692457, + -0.016767149773570272, + -0.017336210548145808, + -0.017908710441424062, + -0.0184840628732377, + -0.019061687690763426, + -0.019641010750931186, + -0.02022146294679667, + -0.020802478788907786, + -0.021383494676155305, + -0.02196394700710645, + -0.022543270291343103, + -0.02312089542032628, + -0.023696248248785273, + -0.02426874862112122, + -0.024837809953855032, + -0.025402839456189347, + -0.02596323903805155, + -0.02651840692047509, + -0.02706773992883194, + -0.027610636417125488, + -0.02814649974294532, + -0.02867474218911136, + -0.029194789210447672, + -0.02970608387305789, + -0.030208091349039276, + -0.030700303331492335, + -0.031182242242346954, + -0.03165346511806037, + -0.03211356707459589, + -0.03256218427212062, + -0.03299899632041128, + -0.03342372808693433, + -0.03383615088999302, + -0.034236083078387075, + -0.03462339001607199, + -0.03499798350488118, + -0.035359820690220846, + -0.035708902503662626, + -0.03604527170259263, + -0.03636901057068785, + -0.03668023834423651, + -0.0369791084285078, + -0.03726580546585353, + -0.03754054231334325, + -0.03780355698284263, + -0.03805510959086361, + -0.03829547935953634, + -0.03852496170392659, + -0.038743865434859165, + -0.03895251010057377, + -0.03915122348506351, + -0.03934033927591729, + -0.03952019490996343, + -0.039691129601025235, + -0.03985348255065403, + -0.0400075913397941, + -0.040153790496929236, + -0.040292410236329755, + -0.040423775358518564, + -0.040548204303960694, + -0.04066600835020429, + -0.04077749094221753, + -0.0408829471454356, + -0.040982663211022105, + -0.0410769162430298, + -0.041165973957474934, + -0.04125009452376612, + -0.04132952647939865, + -0.04140450870931032, + -0.041475270481794925, + -0.041542031533400164, + -0.041668073988744884, + -0.041734999460707044, + -0.041806060309978334, + -0.04188149995844257, + -0.04196157458757885, + -0.04204655360169066, + -0.04213672007926874, + -0.0422323712073267, + -0.04233381869284275, + -0.04244138914467502, + -0.04255542441849453, + -0.04267628191639828, + -0.04280433483192903, + -0.04293997233024342, + -0.043083599652141785, + -0.04323563812961309, + -0.04339652509946813, + -0.04356671370055142, + -0.043746672538957025, + -0.04393688520465168, + -0.044137849621960545, + -0.04435007721553228, + -0.04457409187271378, + -0.0448104286827777, + -0.04505963243321326, + -0.04532225584337195, + -0.04559885751622167, + -0.045889999589875254, + -0.04619624507199689, + -0.04651815484222907, + -0.04685628431049816, + -0.04721117972252178, + -0.04758337410811983, + -0.04797338287307889, + -0.048381699041371816, + -0.04880878816151078, + -0.0492550828986963, + -0.049720977343175744, + -0.05020682107475486, + -0.05071291303358463, + -0.051239495257993074, + -0.051786746561012356, + -0.05235477622807681, + -0.052943617828795385, + -0.05355322324534, + -0.05418345702841024, + -0.054834091198471234, + -0.05550480061454783, + -0.056195159034827656, + -0.05690463599225171, + -0.05763259460377954, + -0.058378290423826217, + -0.0591408714403091, + -0.05991937929578684, + -0.06071275179645204, + -0.061519826748560984, + -0.06233934713573513, + -0.06316996762211441, + -0.06401026233640365, + -0.06485873386138526, + -0.06571382332352273, + -0.06657392144894282, + -0.06743738042644647, + -0.06830252639627805, + -0.0691676723660795, + -0.07003113134349298, + -0.07089122946876346, + -0.07174631893069286, + -0.0725947904554093, + -0.07343508516937804, + -0.07426570565538354, + -0.07508522604213301, + -0.07589230099376905, + -0.07668567349391606, + -0.07746418134883344, + -0.07822676236471712, + -0.0789724581841292, + -0.07970041679499063, + -0.08040989375172004, + -0.08110025217128075, + -0.08177096158661733, + -0.08242159575592103, + -0.08305182953822024, + -0.08366143495398357, + -0.08425027655391386, + -0.08481830622018625, + -0.08536555752241266, + -0.08589213974603027, + -0.08639823170407389, + -0.08688407543487393, + -0.08734996987858362, + -0.08779626461501072, + -0.0882233537344044, + -0.08863166990196676, + -0.08902167866621141, + -0.08939387305111239, + -0.08974876846245727, + -0.09008689793006683, + -0.09040880769965931, + -0.09071505318116163, + -0.09100619525421663, + -0.09128279692648875, + -0.0915454203360909, + -0.091794624085991, + -0.09203096089554044, + -0.09225497555222827, + -0.09246720314532683, + -0.09266816756218275, + -0.09285838022744426, + -0.09303833906543604, + -0.09320852766612443, + -0.09336941463560292, + -0.09352145311271548, + -0.09366508043427238, + -0.09380071793226197, + -0.093928770847484, + -0.0940496283450945, + -0.09416366361863568, + -0.09427123407020391, + -0.09437268155546963, + -0.09446833268329037, + -0.09455849916064381, + -0.09464347817454294, + -0.09472355280347798, + -0.0947989924517519, + -0.09487005330084325, + -0.09493697877263535, + -0.09499999999999964 + ], + "lo": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + }, + "seed_provenance": "same_diagnostics_call_legacy_potential_eliminated_channel", + "solve_inputs_digest": "1ffa9d65f199ba609d6dbf34022e6c96d4b722a3d70e911641648dc8b941146d", + "solved_fields_digest": "e48a3f9b902563d86cc80eebe4414b5cc72874ed152882fb7dbc3ab13c79bb4d", + "used_direct_phi": false + }, + "representation_boundary": { + "backend": "float64-baseline", + "constitutive_minus_constraint_phi_V": { + "hi": [ + 0.0, + 2.8752971366826288e-21, + 4.5967323943256445e-21, + -2.2168506685876197e-21, + 9.487636082203615e-21, + 2.0344451256884114e-20, + 1.5799983305426424e-20, + 2.834792989122557e-20, + 2.6646846391628662e-20, + 1.6533800659765197e-20, + -3.068185452075079e-20, + 1.1402033612529355e-20, + 9.729269978853583e-20, + 5.625162030559386e-20, + 5.2264244165536244e-20, + 4.036415012357165e-21, + 1.0200282897965659e-19, + -9.928097399114068e-20, + -1.4106685904857626e-20, + 6.383520572225721e-20, + 1.1499751205924832e-19, + -3.3997555311926005e-20, + -1.9287180520261356e-19, + 2.9585159632200827e-20, + 1.1998070117903583e-19, + -1.464803733970275e-19, + -1.3871982074799255e-19, + 7.690206945303909e-20, + 2.5170912000750945e-19, + 3.0237648217228634e-20, + -1.1988144417348185e-19, + -1.8985790931450962e-19, + -1.0849356653491898e-19, + -3.461055055670274e-19, + 1.0897835957516453e-19, + 3.1626046246000823e-19, + 1.2341994070217744e-19, + -3.33706212183102e-19, + -1.0553374867508737e-19, + -2.782934553805993e-19, + -6.476611202051051e-19, + 6.241620623350679e-19, + 3.3053405416948596e-19, + -7.533345549455018e-19, + 3.8404621168680524e-19, + 3.3888626499405165e-19, + 3.339204276011421e-19, + 7.394980972273871e-20, + -8.378609830205038e-19, + -2.163548854330976e-19, + -6.343383807322895e-19, + -6.654885759163659e-21, + 8.120018667791664e-19, + 5.774629017664226e-20, + -7.362313437403872e-19, + 5.1723216831057215e-19, + -1.5981824341067315e-19, + -1.9927955176129674e-19, + -1.6754468134834734e-18, + -1.0362964717016453e-18, + -4.4843428916871435e-19, + 1.203756354005767e-18, + -1.056249863888725e-18, + -3.233431883844206e-19, + -1.14075386303286e-18, + 1.5052128352865268e-18, + 1.2775814090595702e-18, + 1.4680813693840162e-18, + -3.817351023707532e-19, + 1.0931998355265473e-18, + -1.219376580996419e-19, + 9.411566564358238e-19, + 1.0729153182389063e-18, + 1.4001865605294923e-18, + 6.863399509284962e-19, + -5.202930187478844e-19, + 3.4347206032224365e-19, + 1.5366381831828022e-19, + 9.907461032746814e-19, + -1.0331787749466187e-18, + 6.511097403179702e-19, + 4.504627968608069e-19, + -3.819374970722528e-19, + 5.831167785612952e-20, + 1.1094242770147741e-18, + 3.59144385151111e-19, + -6.394913884543373e-19, + 3.417218375545607e-18, + 2.8862531375029725e-18, + 8.29391838230231e-20, + 6.240122018030661e-20, + 3.4440071826505444e-18, + 2.5846255665562273e-18, + 9.700662550954932e-19, + -3.416473287677506e-18, + -1.547009195703504e-18, + 3.0936487056975935e-18, + 3.8068632157966175e-20, + 2.771031667712771e-18, + 1.113165866714203e-18, + 2.3921822133111348e-18, + 2.4545027704250176e-18, + -2.9866488136208967e-18, + -2.2359277038955526e-18, + -1.6169566792634476e-18, + 2.65523548653692e-18, + -6.342384352756706e-19, + 1.6495917148869056e-18, + 5.29447215809919e-19, + 9.54747759698563e-19, + 9.691169407400174e-19, + 2.7423725148156722e-18, + -2.6300876969111523e-18, + -3.426495046477735e-18, + 1.3625642414742225e-18, + 2.3593563047438443e-18, + 7.20150319564994e-19, + -1.0393013863475217e-18, + -1.1969329453443573e-19, + 1.4192735911365548e-18, + 2.425214395992354e-18, + 3.2378845994776722e-18, + 2.7004559842399657e-19, + -2.192147354084911e-18, + 3.4286750176891265e-18, + 9.48234934115919e-19, + -1.5963947789409569e-18, + -1.650324842326543e-18, + -1.137942052617726e-18, + 2.383066562799819e-18, + -7.804567249768677e-19, + 2.3723897852437798e-18, + -3.1205516816897137e-18, + -1.3016342960638527e-18, + -2.8689848473398348e-18, + 1.548985617216465e-18, + 2.976272909469604e-18, + -8.029025258494507e-19, + -1.1093229757684083e-18, + 1.2634231048822633e-18, + 1.8974416547359095e-18, + -2.1731794924011056e-18, + 2.4668936357526404e-18, + -2.2504240067914846e-19, + 1.0387758035312647e-18, + -1.0615275190430504e-18, + 3.0819182788517453e-18, + -2.013434711789276e-18, + -2.857818021779675e-19, + -7.148443330316464e-19, + -2.6270779709118038e-18, + -4.1956089228056363e-19, + 2.3519678627495617e-18, + -4.912093014380409e-19, + -2.501569594847751e-18, + -3.2780478877992225e-18, + -4.399602873073248e-19, + 6.210543927696804e-19, + 2.5846236964152164e-18, + -2.114715727459918e-18, + 2.8470936746152405e-18, + 1.765816252036281e-18, + 1.108718484556383e-18, + 1.169743996060674e-18, + -4.363141474857437e-19, + 7.162260207761523e-19, + -1.0235744714155546e-18, + -7.824664401059697e-19, + 2.4550979688072414e-18, + -1.4471277608371176e-18, + 2.2319611554229524e-18, + -2.6089560387855968e-18, + -9.399974062157242e-19, + 3.743026435387175e-20, + 9.20142436423117e-19, + 1.0559775856392273e-18, + 1.909881586457051e-18, + 2.8846898932302865e-18, + 1.825193881202635e-18, + -2.652872249218733e-18, + -2.449657529135561e-18, + -7.594156044575774e-20, + 7.28279442616895e-19, + 1.4858862566557428e-18, + -1.663902765711891e-18, + 4.486066781991066e-18, + 1.45407846666784e-18, + -8.507009190973743e-20, + 2.125007180282071e-18, + -5.130153239725675e-18, + 2.2983691386167653e-18, + -4.712953841578316e-18, + 6.446674354255345e-18, + 5.817241712790918e-18, + -4.001368776066221e-18, + -5.519121296296559e-18, + -3.9816917599647196e-19, + -1.9443030179126124e-18, + -1.7190840749155774e-18, + -5.390040123970004e-18, + 5.494467582837433e-18, + -8.442726907414102e-19, + -9.008079705812445e-19, + -4.789333664452643e-18, + 2.7649141771785853e-18, + -7.006983242417706e-19, + 3.7286385214883854e-18, + -3.055735501422498e-18, + -6.172183540319367e-18, + -6.392604842822347e-18, + 5.33405332852278e-18, + -4.651279455449502e-18, + -1.3798594926206821e-18, + -5.128390679944339e-18, + 3.0759072160131465e-18, + 3.1175393866374668e-18, + 7.942117001395992e-19, + 5.446722383437258e-18, + 4.0444699122854146e-18, + -6.488145960035364e-18, + -6.63266937368641e-18, + 4.155251984905143e-18, + 1.4612146685205686e-18, + -1.6481430901375812e-19, + -6.299376261004683e-19, + -3.6344707934160034e-20, + 3.52403491732351e-18, + 5.032314214236674e-18, + -2.0676121861666797e-18, + -4.076850561794377e-18, + 5.8941439601357964e-18, + -4.2774477738022197e-19, + -3.1397511030174478e-18, + -5.641499413868454e-18, + -4.509595085133535e-18, + 1.9341057362514762e-18, + -6.223817137837717e-18, + 4.014269352552529e-18, + 1.8966055230117354e-19, + -5.2884336510335095e-18, + 6.403944891795303e-18, + -5.002956977275714e-18, + -3.605995671702859e-18, + -4.1845753118676085e-18, + -1.264587390116799e-18, + 4.646806515959056e-19, + -5.4129925797300825e-18, + -3.769197015132275e-18, + 2.7191022765421285e-18, + -5.4570955468140744e-18, + 1.5425213657582045e-18, + -6.621194630027622e-19, + -2.9739441976170698e-18, + -4.727489151008996e-18, + -2.8526973580133497e-18, + 0.0 + ], + "lo": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + }, + "constitutive_phi_V": { + "hi": [ + 0.0, + -6.297052455897911e-05, + -0.00012973141170526508, + -0.00020049299128761092, + -0.000275474999459675, + -0.00035490670549944976, + -0.00043902699624954485, + -0.0005280844113637886, + -0.0006223371220667533, + -0.0007220528455165659, + -0.0008275086861903219, + -0.000938990895100708, + -0.0010567945371556592, + -0.001181223056589348, + -0.0013125877301202926, + -0.001451206997348996, + -0.0015974056579288515, + -0.0017515139252710409, + -0.0019138663270208466, + -0.002084800443313756, + -0.0022646554749316044, + -0.002453770634977876, + -0.0026524833596222293, + -0.0028611273358684023, + -0.003080030347211404, + -0.003309511941494286, + -0.0035498809292621165, + -0.0038014327254342036, + -0.004064446552144571, + -0.004339182526077178, + -0.004625878659456069, + -0.004924747809914091, + -0.005235974620589759, + -0.005559712497780646, + -0.005896080679062622, + -0.006245161449676169, + -0.006606997568861872, + -0.006981589970350026, + -0.007368895802020401, + -0.007768826868502891, + -0.008181248536876675, + -0.008605979159392938, + -0.009042790058130128, + -0.009491406104644851, + -0.00995150691310476, + -0.010422728648349061, + -0.010904666431268827, + -0.011396877303473467, + -0.011898883692232385, + -0.012410177296130281, + -0.012930223292845423, + -0.013458464754106647, + -0.013994327140350819, + -0.014537222739938438, + -0.015086554915865314, + -0.015641722027343447, + -0.016202120904692457, + -0.016767149773570272, + -0.017336210548145808, + -0.017908710441424062, + -0.0184840628732377, + -0.019061687690763426, + -0.019641010750931186, + -0.02022146294679667, + -0.020802478788907786, + -0.0213834946761553, + -0.02196394700710645, + -0.0225432702913431, + -0.02312089542032628, + -0.023696248248785273, + -0.02426874862112122, + -0.024837809953855032, + -0.025402839456189347, + -0.02596323903805155, + -0.02651840692047509, + -0.02706773992883194, + -0.027610636417125488, + -0.02814649974294532, + -0.02867474218911136, + -0.029194789210447672, + -0.02970608387305789, + -0.030208091349039276, + -0.030700303331492335, + -0.031182242242346954, + -0.03165346511806037, + -0.03211356707459589, + -0.03256218427212062, + -0.03299899632041127, + -0.03342372808693433, + -0.03383615088999302, + -0.034236083078387075, + -0.03462339001607198, + -0.03499798350488118, + -0.035359820690220846, + -0.035708902503662626, + -0.03604527170259263, + -0.036369010570687844, + -0.03668023834423651, + -0.0369791084285078, + -0.03726580546585353, + -0.03754054231334325, + -0.03780355698284263, + -0.03805510959086361, + -0.03829547935953634, + -0.03852496170392659, + -0.038743865434859165, + -0.03895251010057377, + -0.03915122348506351, + -0.03934033927591729, + -0.03952019490996343, + -0.039691129601025235, + -0.03985348255065403, + -0.0400075913397941, + -0.040153790496929236, + -0.040292410236329755, + -0.040423775358518564, + -0.040548204303960694, + -0.04066600835020429, + -0.04077749094221753, + -0.0408829471454356, + -0.040982663211022105, + -0.041076916243029796, + -0.041165973957474934, + -0.04125009452376612, + -0.041329526479398644, + -0.04140450870931032, + -0.041475270481794925, + -0.041542031533400164, + -0.041668073988744884, + -0.041734999460707044, + -0.041806060309978334, + -0.04188149995844257, + -0.04196157458757885, + -0.04204655360169066, + -0.04213672007926874, + -0.0422323712073267, + -0.04233381869284275, + -0.04244138914467502, + -0.04255542441849453, + -0.04267628191639828, + -0.04280433483192903, + -0.04293997233024342, + -0.043083599652141785, + -0.04323563812961309, + -0.04339652509946813, + -0.04356671370055142, + -0.04374667253895702, + -0.04393688520465168, + -0.044137849621960545, + -0.04435007721553228, + -0.04457409187271378, + -0.0448104286827777, + -0.04505963243321326, + -0.04532225584337195, + -0.04559885751622167, + -0.045889999589875254, + -0.04619624507199689, + -0.04651815484222907, + -0.04685628431049816, + -0.04721117972252178, + -0.04758337410811983, + -0.04797338287307889, + -0.048381699041371816, + -0.04880878816151078, + -0.0492550828986963, + -0.049720977343175744, + -0.05020682107475486, + -0.05071291303358463, + -0.051239495257993074, + -0.051786746561012356, + -0.05235477622807681, + -0.052943617828795385, + -0.05355322324534, + -0.05418345702841024, + -0.054834091198471234, + -0.05550480061454783, + -0.056195159034827656, + -0.05690463599225171, + -0.05763259460377954, + -0.058378290423826217, + -0.0591408714403091, + -0.05991937929578684, + -0.06071275179645204, + -0.061519826748560984, + -0.06233934713573513, + -0.06316996762211441, + -0.06401026233640365, + -0.06485873386138526, + -0.06571382332352273, + -0.06657392144894282, + -0.06743738042644647, + -0.06830252639627805, + -0.0691676723660795, + -0.07003113134349298, + -0.07089122946876346, + -0.07174631893069286, + -0.0725947904554093, + -0.07343508516937804, + -0.07426570565538354, + -0.07508522604213301, + -0.07589230099376905, + -0.07668567349391606, + -0.07746418134883344, + -0.07822676236471712, + -0.0789724581841292, + -0.07970041679499063, + -0.08040989375172004, + -0.08110025217128075, + -0.08177096158661733, + -0.08242159575592103, + -0.08305182953822024, + -0.08366143495398357, + -0.08425027655391386, + -0.08481830622018625, + -0.08536555752241266, + -0.08589213974603027, + -0.08639823170407389, + -0.08688407543487393, + -0.08734996987858362, + -0.08779626461501072, + -0.0882233537344044, + -0.08863166990196676, + -0.08902167866621141, + -0.08939387305111239, + -0.08974876846245727, + -0.09008689793006683, + -0.09040880769965931, + -0.09071505318116163, + -0.09100619525421663, + -0.09128279692648875, + -0.0915454203360909, + -0.091794624085991, + -0.09203096089554044, + -0.09225497555222827, + -0.09246720314532683, + -0.09266816756218275, + -0.09285838022744426, + -0.09303833906543604, + -0.09320852766612443, + -0.09336941463560292, + -0.09352145311271548, + -0.09366508043427238, + -0.09380071793226197, + -0.093928770847484, + -0.0940496283450945, + -0.09416366361863568, + -0.09427123407020391, + -0.09437268155546963, + -0.09446833268329037, + -0.09455849916064381, + -0.09464347817454294, + -0.09472355280347798, + -0.0947989924517519, + -0.09487005330084325, + -0.09493697877263535, + -0.09499999999999964 + ], + "lo": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + }, + "constraint_phi_V": { + "hi": [ + 0.0, + -6.297052455897911e-05, + -0.00012973141170526508, + -0.00020049299128761092, + -0.000275474999459675, + -0.00035490670549944976, + -0.00043902699624954485, + -0.0005280844113637886, + -0.0006223371220667533, + -0.0007220528455165659, + -0.0008275086861903219, + -0.000938990895100708, + -0.0010567945371556592, + -0.001181223056589348, + -0.0013125877301202926, + -0.001451206997348996, + -0.0015974056579288515, + -0.0017515139252710409, + -0.0019138663270208466, + -0.002084800443313756, + -0.0022646554749316044, + -0.002453770634977876, + -0.0026524833596222293, + -0.0028611273358684023, + -0.003080030347211404, + -0.003309511941494286, + -0.0035498809292621165, + -0.0038014327254342036, + -0.004064446552144571, + -0.004339182526077178, + -0.004625878659456069, + -0.004924747809914091, + -0.005235974620589759, + -0.005559712497780646, + -0.005896080679062622, + -0.006245161449676169, + -0.006606997568861872, + -0.006981589970350026, + -0.007368895802020401, + -0.007768826868502891, + -0.008181248536876675, + -0.008605979159392938, + -0.009042790058130128, + -0.009491406104644851, + -0.00995150691310476, + -0.010422728648349061, + -0.010904666431268827, + -0.011396877303473467, + -0.011898883692232385, + -0.012410177296130281, + -0.012930223292845423, + -0.013458464754106647, + -0.013994327140350819, + -0.014537222739938438, + -0.015086554915865314, + -0.015641722027343447, + -0.016202120904692457, + -0.016767149773570272, + -0.017336210548145808, + -0.017908710441424062, + -0.0184840628732377, + -0.019061687690763426, + -0.019641010750931186, + -0.02022146294679667, + -0.020802478788907786, + -0.0213834946761553, + -0.02196394700710645, + -0.0225432702913431, + -0.02312089542032628, + -0.023696248248785273, + -0.02426874862112122, + -0.024837809953855032, + -0.025402839456189347, + -0.02596323903805155, + -0.02651840692047509, + -0.02706773992883194, + -0.027610636417125488, + -0.02814649974294532, + -0.02867474218911136, + -0.029194789210447672, + -0.02970608387305789, + -0.030208091349039276, + -0.030700303331492335, + -0.031182242242346954, + -0.03165346511806037, + -0.03211356707459589, + -0.03256218427212062, + -0.03299899632041127, + -0.03342372808693433, + -0.03383615088999302, + -0.034236083078387075, + -0.03462339001607198, + -0.03499798350488118, + -0.035359820690220846, + -0.035708902503662626, + -0.03604527170259263, + -0.036369010570687844, + -0.03668023834423651, + -0.0369791084285078, + -0.03726580546585353, + -0.03754054231334325, + -0.03780355698284263, + -0.03805510959086361, + -0.03829547935953634, + -0.03852496170392659, + -0.038743865434859165, + -0.03895251010057377, + -0.03915122348506351, + -0.03934033927591729, + -0.03952019490996343, + -0.039691129601025235, + -0.03985348255065403, + -0.0400075913397941, + -0.040153790496929236, + -0.040292410236329755, + -0.040423775358518564, + -0.040548204303960694, + -0.04066600835020429, + -0.04077749094221753, + -0.0408829471454356, + -0.040982663211022105, + -0.041076916243029796, + -0.041165973957474934, + -0.04125009452376612, + -0.041329526479398644, + -0.04140450870931032, + -0.041475270481794925, + -0.041542031533400164, + -0.041668073988744884, + -0.041734999460707044, + -0.041806060309978334, + -0.04188149995844257, + -0.04196157458757885, + -0.04204655360169066, + -0.04213672007926874, + -0.0422323712073267, + -0.04233381869284275, + -0.04244138914467502, + -0.04255542441849453, + -0.04267628191639828, + -0.04280433483192903, + -0.04293997233024342, + -0.043083599652141785, + -0.04323563812961309, + -0.04339652509946813, + -0.04356671370055142, + -0.04374667253895702, + -0.04393688520465168, + -0.044137849621960545, + -0.04435007721553228, + -0.04457409187271378, + -0.0448104286827777, + -0.04505963243321326, + -0.04532225584337195, + -0.04559885751622167, + -0.045889999589875254, + -0.04619624507199689, + -0.04651815484222907, + -0.04685628431049816, + -0.04721117972252178, + -0.04758337410811983, + -0.04797338287307889, + -0.048381699041371816, + -0.04880878816151078, + -0.0492550828986963, + -0.049720977343175744, + -0.05020682107475486, + -0.05071291303358463, + -0.051239495257993074, + -0.051786746561012356, + -0.05235477622807681, + -0.052943617828795385, + -0.05355322324534, + -0.05418345702841024, + -0.054834091198471234, + -0.05550480061454783, + -0.056195159034827656, + -0.05690463599225171, + -0.05763259460377954, + -0.058378290423826217, + -0.0591408714403091, + -0.05991937929578684, + -0.06071275179645204, + -0.061519826748560984, + -0.06233934713573513, + -0.06316996762211441, + -0.06401026233640365, + -0.06485873386138526, + -0.06571382332352273, + -0.06657392144894282, + -0.06743738042644647, + -0.06830252639627805, + -0.0691676723660795, + -0.07003113134349298, + -0.07089122946876346, + -0.07174631893069286, + -0.0725947904554093, + -0.07343508516937804, + -0.07426570565538354, + -0.07508522604213301, + -0.07589230099376905, + -0.07668567349391606, + -0.07746418134883344, + -0.07822676236471712, + -0.0789724581841292, + -0.07970041679499063, + -0.08040989375172004, + -0.08110025217128075, + -0.08177096158661733, + -0.08242159575592103, + -0.08305182953822024, + -0.08366143495398357, + -0.08425027655391386, + -0.08481830622018625, + -0.08536555752241266, + -0.08589213974603027, + -0.08639823170407389, + -0.08688407543487393, + -0.08734996987858362, + -0.08779626461501072, + -0.0882233537344044, + -0.08863166990196676, + -0.08902167866621141, + -0.08939387305111239, + -0.08974876846245727, + -0.09008689793006683, + -0.09040880769965931, + -0.09071505318116163, + -0.09100619525421663, + -0.09128279692648875, + -0.0915454203360909, + -0.091794624085991, + -0.09203096089554044, + -0.09225497555222827, + -0.09246720314532683, + -0.09266816756218275, + -0.09285838022744426, + -0.09303833906543604, + -0.09320852766612443, + -0.09336941463560292, + -0.09352145311271548, + -0.09366508043427238, + -0.09380071793226197, + -0.093928770847484, + -0.0940496283450945, + -0.09416366361863568, + -0.09427123407020391, + -0.09437268155546963, + -0.09446833268329037, + -0.09455849916064381, + -0.09464347817454294, + -0.09472355280347798, + -0.0947989924517519, + -0.09487005330084325, + -0.09493697877263535, + -0.09499999999999964 + ], + "lo": [ + 0.0, + -2.8752971366826288e-21, + -4.5967323943256445e-21, + 2.2168506685876197e-21, + -9.487636082203615e-21, + -2.0344451256884114e-20, + -1.5799983305426424e-20, + -2.834792989122557e-20, + -2.6646846391628662e-20, + -1.6533800659765197e-20, + 3.068185452075079e-20, + -1.1402033612529355e-20, + -9.729269978853583e-20, + -5.625162030559386e-20, + -5.2264244165536244e-20, + -4.036415012357165e-21, + -1.0200282897965659e-19, + 9.928097399114068e-20, + 1.4106685904857626e-20, + -6.383520572225721e-20, + -1.1499751205924832e-19, + 3.3997555311926005e-20, + 1.9287180520261356e-19, + -2.9585159632200827e-20, + -1.1998070117903583e-19, + 1.464803733970275e-19, + 1.3871982074799255e-19, + -7.690206945303909e-20, + -2.5170912000750945e-19, + -3.0237648217228634e-20, + 1.1988144417348185e-19, + 1.8985790931450962e-19, + 1.0849356653491898e-19, + 3.461055055670274e-19, + -1.0897835957516453e-19, + -3.1626046246000823e-19, + -1.2341994070217744e-19, + 3.33706212183102e-19, + 1.0553374867508737e-19, + 2.782934553805993e-19, + 6.476611202051051e-19, + -6.241620623350679e-19, + -3.3053405416948596e-19, + 7.533345549455018e-19, + -3.8404621168680524e-19, + -3.3888626499405165e-19, + -3.339204276011421e-19, + -7.394980972273871e-20, + 8.378609830205038e-19, + 2.163548854330976e-19, + 6.343383807322895e-19, + 6.654885759163659e-21, + -8.120018667791664e-19, + -5.774629017664226e-20, + 7.362313437403872e-19, + -5.1723216831057215e-19, + 1.5981824341067315e-19, + 1.9927955176129674e-19, + 1.6754468134834734e-18, + 1.0362964717016453e-18, + 4.4843428916871435e-19, + -1.203756354005767e-18, + 1.056249863888725e-18, + 3.233431883844206e-19, + 1.14075386303286e-18, + -1.5052128352865268e-18, + -1.2775814090595702e-18, + -1.4680813693840162e-18, + 3.817351023707532e-19, + -1.0931998355265473e-18, + 1.219376580996419e-19, + -9.411566564358238e-19, + -1.0729153182389063e-18, + -1.4001865605294923e-18, + -6.863399509284962e-19, + 5.202930187478844e-19, + -3.4347206032224365e-19, + -1.5366381831828022e-19, + -9.907461032746814e-19, + 1.0331787749466187e-18, + -6.511097403179702e-19, + -4.504627968608069e-19, + 3.819374970722528e-19, + -5.831167785612952e-20, + -1.1094242770147741e-18, + -3.59144385151111e-19, + 6.394913884543373e-19, + -3.417218375545607e-18, + -2.8862531375029725e-18, + -8.29391838230231e-20, + -6.240122018030661e-20, + -3.4440071826505444e-18, + -2.5846255665562273e-18, + -9.700662550954932e-19, + 3.416473287677506e-18, + 1.547009195703504e-18, + -3.0936487056975935e-18, + -3.8068632157966175e-20, + -2.771031667712771e-18, + -1.113165866714203e-18, + -2.3921822133111348e-18, + -2.4545027704250176e-18, + 2.9866488136208967e-18, + 2.2359277038955526e-18, + 1.6169566792634476e-18, + -2.65523548653692e-18, + 6.342384352756706e-19, + -1.6495917148869056e-18, + -5.29447215809919e-19, + -9.54747759698563e-19, + -9.691169407400174e-19, + -2.7423725148156722e-18, + 2.6300876969111523e-18, + 3.426495046477735e-18, + -1.3625642414742225e-18, + -2.3593563047438443e-18, + -7.20150319564994e-19, + 1.0393013863475217e-18, + 1.1969329453443573e-19, + -1.4192735911365548e-18, + -2.425214395992354e-18, + -3.2378845994776722e-18, + -2.7004559842399657e-19, + 2.192147354084911e-18, + -3.4286750176891265e-18, + -9.48234934115919e-19, + 1.5963947789409569e-18, + 1.650324842326543e-18, + 1.137942052617726e-18, + -2.383066562799819e-18, + 7.804567249768677e-19, + -2.3723897852437798e-18, + 3.1205516816897137e-18, + 1.3016342960638527e-18, + 2.8689848473398348e-18, + -1.548985617216465e-18, + -2.976272909469604e-18, + 8.029025258494507e-19, + 1.1093229757684083e-18, + -1.2634231048822633e-18, + -1.8974416547359095e-18, + 2.1731794924011056e-18, + -2.4668936357526404e-18, + 2.2504240067914846e-19, + -1.0387758035312647e-18, + 1.0615275190430504e-18, + -3.0819182788517453e-18, + 2.013434711789276e-18, + 2.857818021779675e-19, + 7.148443330316464e-19, + 2.6270779709118038e-18, + 4.1956089228056363e-19, + -2.3519678627495617e-18, + 4.912093014380409e-19, + 2.501569594847751e-18, + 3.2780478877992225e-18, + 4.399602873073248e-19, + -6.210543927696804e-19, + -2.5846236964152164e-18, + 2.114715727459918e-18, + -2.8470936746152405e-18, + -1.765816252036281e-18, + -1.108718484556383e-18, + -1.169743996060674e-18, + 4.363141474857437e-19, + -7.162260207761523e-19, + 1.0235744714155546e-18, + 7.824664401059697e-19, + -2.4550979688072414e-18, + 1.4471277608371176e-18, + -2.2319611554229524e-18, + 2.6089560387855968e-18, + 9.399974062157242e-19, + -3.743026435387175e-20, + -9.20142436423117e-19, + -1.0559775856392273e-18, + -1.909881586457051e-18, + -2.8846898932302865e-18, + -1.825193881202635e-18, + 2.652872249218733e-18, + 2.449657529135561e-18, + 7.594156044575774e-20, + -7.28279442616895e-19, + -1.4858862566557428e-18, + 1.663902765711891e-18, + -4.486066781991066e-18, + -1.45407846666784e-18, + 8.507009190973743e-20, + -2.125007180282071e-18, + 5.130153239725675e-18, + -2.2983691386167653e-18, + 4.712953841578316e-18, + -6.446674354255345e-18, + -5.817241712790918e-18, + 4.001368776066221e-18, + 5.519121296296559e-18, + 3.9816917599647196e-19, + 1.9443030179126124e-18, + 1.7190840749155774e-18, + 5.390040123970004e-18, + -5.494467582837433e-18, + 8.442726907414102e-19, + 9.008079705812445e-19, + 4.789333664452643e-18, + -2.7649141771785853e-18, + 7.006983242417706e-19, + -3.7286385214883854e-18, + 3.055735501422498e-18, + 6.172183540319367e-18, + 6.392604842822347e-18, + -5.33405332852278e-18, + 4.651279455449502e-18, + 1.3798594926206821e-18, + 5.128390679944339e-18, + -3.0759072160131465e-18, + -3.1175393866374668e-18, + -7.942117001395992e-19, + -5.446722383437258e-18, + -4.0444699122854146e-18, + 6.488145960035364e-18, + 6.63266937368641e-18, + -4.155251984905143e-18, + -1.4612146685205686e-18, + 1.6481430901375812e-19, + 6.299376261004683e-19, + 3.6344707934160034e-20, + -3.52403491732351e-18, + -5.032314214236674e-18, + 2.0676121861666797e-18, + 4.076850561794377e-18, + -5.8941439601357964e-18, + 4.2774477738022197e-19, + 3.1397511030174478e-18, + 5.641499413868454e-18, + 4.509595085133535e-18, + -1.9341057362514762e-18, + 6.223817137837717e-18, + -4.014269352552529e-18, + -1.8966055230117354e-19, + 5.2884336510335095e-18, + -6.403944891795303e-18, + 5.002956977275714e-18, + 3.605995671702859e-18, + 4.1845753118676085e-18, + 1.264587390116799e-18, + -4.646806515959056e-19, + 5.4129925797300825e-18, + 3.769197015132275e-18, + -2.7191022765421285e-18, + 5.4570955468140744e-18, + -1.5425213657582045e-18, + 6.621194630027622e-19, + 2.9739441976170698e-18, + 4.727489151008996e-18, + 2.8526973580133497e-18, + 0.0 + ] + }, + "cross_representation_comparisons": { + "positive_ion_flux": { + "direct_vs_full_DD": { + "diagnostic_original_limit": 1e-06, + "difference": [ + 2.0691582513579143, + 2.4761172530114943, + 1.536871937964683, + 5.168334757420516, + 6.5765204489869244, + 7.2306817829288, + -2.4346911422990947, + 0.02554359551868632, + 10.877339674511658, + -1.9857891292731662, + 6.75279482747641, + 4.788411873049969, + 13.349866976399346, + -16.315652367969548, + 12.054350556652965, + 8.35787659972991, + 5.107922922857779, + -10.588241815744215, + 21.45858757503292, + -6.334189069648254, + -10.401634533010649, + 6.408220538908769, + -11.65040154692556, + 24.09678889591248, + 8.487834709021348, + -0.037268277002182666, + 1.0744652500003047, + -6.976911558243489, + 1.0013685005482775, + 23.244479516454348, + 11.126868815348024, + -24.62097568389779, + 4.2535493884300495, + 14.376072502700943, + 2.355917324334442, + 15.603062451207162, + 4.412924535814671, + -6.319102000521215, + 19.484996163034346, + 16.865677146678333, + -29.242358508543226, + 40.53966080323845, + -35.66112891143934, + 1.6281125195166837, + 37.012281971071694, + -18.039847175882308, + 36.05182935336951, + -54.19252986660157, + 15.553851523301283, + 38.905768178711064, + 10.963400372979011, + -34.80403276689739, + 9.896031865581717, + 17.992465887943638, + -6.903266797004805, + 57.45129022832011, + -23.80680713586751, + -28.45157218203841, + 6.498180925944824, + 38.600473536577596, + -51.989066430046186, + 37.58721965821996, + -66.91543325871677, + 125.43872613897163, + -23.02724120102335, + -67.03644942045891, + 68.17619051106148, + 22.11326321227949, + -30.481116481668217, + -69.51735975954739, + 80.80084800840713, + 66.2974363759411, + -69.32838173914018, + 2.0675869809423952, + 13.933498179559097, + 29.324102546911845, + 11.598612602044225, + 20.01480052392479, + -16.683841713422304, + 18.49706687237952, + -37.30866775407084, + -23.20224414809407, + 162.8217491040783, + 52.82967144761712, + -86.19106521110727, + -88.8834484265308, + 111.07946754382931, + 206.76221090177714, + -377.54829590053237, + 186.82703515940526, + 137.60625638017922, + -447.27365620444675, + 269.28113015892643, + -198.412330993249, + 369.4543186501648, + -184.59467909656698, + 76.34607440460474, + -189.60465226031127, + 544.3757509445122, + -260.15199971363666, + -0.5844001445434378, + -84.29883874383863, + -374.23706570458916, + 147.99214192919825, + 113.38904857315454, + 301.05130817142157, + -121.89640246012449, + -178.522972301231, + -6.3003850919965485, + -435.97846163197266, + 201.3661076171681, + -27.6191723440214, + 533.7965046683169, + 317.7643226431339, + -604.6376390887929, + 1894.311392206909, + -2093.929046495746, + 848.6478248014078, + -411.2058176416953, + -814.4881165517675, + 392.8796238211206, + 2310.7337009586363, + -387.2203134127999, + -952.6417613146804, + -436.31696608198473, + 1232.5256344849895, + -2697.11027944958, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "difference_arithmetic": "DD(high_values)-full_DD_values", + "direct": [ + -7295196079944.042, + -21593358072571.71, + -34447586129661.2, + -44564289715381.42, + -51440663457183.01, + -55449722793470.21, + -57468254893839.95, + -58382109069637.61, + -58802458302263.11, + -59046950812806.164, + -59245224729339.336, + -59439966190335.16, + -59642931529663.41, + -59857148792223.555, + -60083662659737.88, + -60323160577148.1, + -60576290026347.06, + -60843708642635.6, + -61126089722612.97, + -61424121386478.08, + -61738504655990.91, + -62069951167988.85, + -62419180496898.1, + -62786917055175.695, + -63173886562613.555, + -63580812166288.23, + -64008409975691.34, + -64457384305980.63, + -64928422318105.26, + -65422188403183.414, + -65939317990503.86, + -66480411130769.04, + -67046025736536.555, + -67636670522710.484, + -68252797880149.03, + -68894796667234.59, + -69562985055662.45, + -70257603578341.13, + -70978808549658.52, + -71726665958737.23, + -72501146004623.89, + -73302118440359.34, + -74129348927349.61, + -74982496414895.75, + -75861111742776.39, + -76764637565343.75, + -77692409604883.81, + -78643659235850.17, + -79617517436590.22, + -80613019881493.78, + -81629113261389.27, + -82664662444799.5, + -83718458315523.92, + -84789226223065.23, + -85875634491506.39, + -86976302955337.28, + -88089811157488.08, + -89214706069932.34, + -90349508945475.69, + -91492721502411.86, + -92642831040789.9, + -93798314623183.58, + -94957642455459.34, + -96119280421095.28, + -97281692038093.0, + -98443340093012.58, + -99602688078589.5, + -100758201827985.97, + -101908351440020.81, + -103051613883753.95, + -104186476263998.34, + -105311440061237.4, + -106425026288670.0, + -107525781504296.31, + -108612284855759.7, + -109683155653577.48, + -110737061662394.11, + -111772727541447.14, + -112788943483435.2, + -113784573548306.42, + -114758563576919.17, + -115709948423060.02, + -116637858111041.83, + -117541523164758.47, + -118420278359293.2, + -119273565538999.7, + -120100934664968.48, + -120902043938592.66, + -121676658258191.33, + -122424646787109.62, + -123145979100810.08, + -123840720701570.03, + -124509027487257.1, + -125151139674723.58, + -125767375162529.2, + -126358122640171.47, + -126923834386426.14, + -127465019083949.77, + -127982234627430.45, + -128476081154318.28, + -128947194227869.88, + -129396238345616.1, + -129823900882347.39, + -130230886319887.38, + -130617911020676.78, + -130985698343741.03, + -131334974271347.61, + -131666463433688.62, + -131980885379891.03, + -132278949784726.52, + -132561341750855.64, + -132828648531416.33, + -133081004149049.92, + -133316615521224.39, + -133526677057854.2, + -133680997049634.98, + -133695375738887.61, + -133374230116782.94, + -132338616785930.58, + -129979942431074.81, + -125499985883452.6, + -118073740691705.05, + -107098935511471.36, + -92425480142932.12, + -74453094181694.38, + -54054648342696.32, + -32371258004616.688, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "direct_maximum_absolute": 133695375738887.61, + "eliminated": [ + -7295196079946.111, + -21593358072574.188, + -34447586129662.734, + -44564289715386.59, + -51440663457189.586, + -55449722793477.445, + -57468254893837.516, + -58382109069637.63, + -58802458302273.984, + -59046950812804.18, + -59245224729346.086, + -59439966190339.945, + -59642931529676.76, + -59857148792207.24, + -60083662659749.94, + -60323160577156.46, + -60576290026352.17, + -60843708642625.016, + -61126089722634.43, + -61424121386471.74, + -61738504655980.51, + -62069951167995.26, + -62419180496886.45, + -62786917055199.79, + -63173886562622.04, + -63580812166288.19, + -64008409975692.42, + -64457384305973.66, + -64928422318106.26, + -65422188403206.66, + -65939317990514.984, + -66480411130744.42, + -67046025736540.805, + -67636670522724.86, + -68252797880151.39, + -68894796667250.195, + -69562985055666.87, + -70257603578334.81, + -70978808549678.0, + -71726665958754.1, + -72501146004594.64, + -73302118440399.89, + -74129348927313.95, + -74982496414897.38, + -75861111742813.4, + -76764637565325.7, + -77692409604919.86, + -78643659235795.98, + -79617517436605.77, + -80613019881532.69, + -81629113261400.23, + -82664662444764.7, + -83718458315533.81, + -84789226223083.23, + -85875634491499.48, + -86976302955394.73, + -88089811157464.27, + -89214706069903.89, + -90349508945482.19, + -91492721502450.45, + -92642831040737.92, + -93798314623221.17, + -94957642455392.42, + -96119280421220.72, + -97281692038069.97, + -98443340092945.55, + -99602688078657.67, + -100758201828008.08, + -101908351439990.33, + -103051613883684.44, + -104186476264079.14, + -105311440061303.7, + -106425026288600.67, + -107525781504298.38, + -108612284855773.64, + -109683155653606.81, + -110737061662405.7, + -111772727541467.16, + -112788943483418.52, + -113784573548324.92, + -114758563576881.86, + -115709948423036.81, + -116637858111204.66, + -117541523164811.3, + -118420278359207.02, + -119273565538910.81, + -120100934665079.56, + -120902043938799.42, + -121676658257813.78, + -122424646787296.45, + -123145979100947.69, + -123840720701122.75, + -124509027487526.38, + -125151139674525.17, + -125767375162898.66, + -126358122639986.88, + -126923834386502.48, + -127465019083760.16, + -127982234627974.83, + -128476081154058.12, + -128947194227869.3, + -129396238345531.8, + -129823900881973.16, + -130230886320035.36, + -130617911020790.17, + -130985698344042.08, + -131334974271225.72, + -131666463433510.11, + -131980885379884.73, + -132278949784290.53, + -132561341751057.0, + -132828648531388.7, + -133081004149583.72, + -133316615521542.16, + -133526677057249.56, + -133680997051529.3, + -133695375736793.69, + -133374230117631.58, + -132338616785519.38, + -129979942430260.33, + -125499985883845.47, + -118073740694015.78, + -107098935511084.14, + -92425480141979.48, + -74453094181258.06, + -54054648343928.84, + -32371258001919.58, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "eliminated_maximum_absolute": 133695375736793.69, + "floor_active": false, + "maximum_absolute_difference": 2697.11027944958, + "normalization_floor": 1.0, + "normalization_scale": 133695375738887.61, + "relative_error": 2.017354949296933e-11, + "within_original_limit": true + }, + "legacy_binary64_direct_vs_full_DD": { + "diagnostic_original_limit": 1e-06, + "difference": [ + -17.284357373642084, + 3.2808047530114943, + 4.4899969379646825, + -62.51135274257948, + 8.178082948986924, + 37.6369317829288, + -12.294066142299094, + -2.1775814044813138, + -2.083597825488341, + -63.532664129273165, + -7.46595517252359, + 45.63216187304997, + 32.33424197639935, + -35.19846486796955, + 25.929350556652963, + -18.06399840027009, + -7.454577077142221, + 14.958633184255785, + 4.67733757503292, + -19.115439069648254, + 10.973365466989351, + 16.69728303890877, + -45.72852654692556, + 13.581163895912479, + -5.129352790978653, + 4.431481722997817, + -19.769284749999695, + -13.375349058243488, + -4.514256499451722, + 27.408542016454348, + 6.994056315348023, + -21.60535068389779, + -1.2073881115699505, + 31.891697502700943, + 3.715292324334442, + 27.462437451207162, + 14.983237035814671, + -18.764414500521216, + 34.500621163034346, + 23.740677146678333, + -31.382983508543226, + 23.117785803238448, + -35.06737891143934, + -12.215637480483316, + 36.840406971071694, + -5.571097175882306, + 45.08307935336951, + -58.22377986660157, + 14.085101523301283, + 30.10889317871106, + 10.197775372979011, + -31.694657766897397, + 12.817906865581717, + 24.273715887943638, + 0.8311082029951956, + 68.15441522832012, + -27.80680713586751, + -24.71719718203841, + 1.451305925944824, + 45.350473536577596, + -50.473441430046186, + 37.16534465821996, + -71.44668325871677, + 131.71997613897165, + -20.40224120102335, + -64.22394942045891, + 71.03556551106148, + 23.44138821227949, + -37.24674148166822, + -61.68923475954739, + 113.36334800840713, + 68.3599363759411, + -70.28150673914018, + -7.869913019057605, + -8.957126820440903, + 38.980352546911845, + 19.176737602044224, + 13.967925523924789, + -37.527591713422304, + 20.09081687237952, + -37.57429275407084, + -10.65536914809407, + 176.8998741040783, + 63.12654644761712, + -114.94106521110727, + -99.2428234265308, + 130.6732175438293, + 200.57471090177714, + -351.32954590053237, + 185.57703515940526, + 180.85625638017922, + -504.96115620444675, + 311.57800515892643, + -235.193580993249, + 352.1730686501648, + -146.65717909656698, + 158.15857440460474, + -202.88590226031127, + 536.6882509445122, + -205.82387471363663, + -91.85002514454344, + -66.90821374383863, + -411.76831570458916, + 136.69526692919825, + 255.29529857315453, + 361.30130817142157, + -142.4901524601245, + -143.116722301231, + 51.730864908003454, + -580.5097116319727, + 251.5067326171681, + 15.771452655978598, + 420.17150466831686, + 365.8736976431339, + -522.6845140887929, + 1882.702017206909, + -1976.897796495746, + 525.2884498014078, + -331.2839426416953, + -922.1599915517675, + 285.5358738211206, + 2485.0618259586363, + -364.2203134127999, + -868.6261363146804, + -421.31696608198473, + 1160.4240719849895, + -2674.95012319958, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "difference_arithmetic": "DD(high_values)-full_DD_values", + "direct": [ + -7295196079963.3955, + -21593358072570.906, + -34447586129658.246, + -44564289715449.1, + -51440663457181.41, + -55449722793439.805, + -57468254893849.81, + -58382109069639.81, + -58802458302276.07, + -59046950812867.71, + -59245224729353.555, + -59439966190294.31, + -59642931529644.42, + -59857148792242.44, + -60083662659724.01, + -60323160577174.52, + -60576290026359.625, + -60843708642610.055, + -61126089722629.75, + -61424121386490.86, + -61738504655969.53, + -62069951167978.56, + -62419180496932.18, + -62786917055186.21, + -63173886562627.17, + -63580812166283.76, + -64008409975712.19, + -64457384305987.03, + -64928422318110.77, + -65422188403179.25, + -65939317990507.99, + -66480411130766.02, + -67046025736542.016, + -67636670522692.97, + -68252797880147.67, + -68894796667222.734, + -69562985055651.88, + -70257603578353.58, + -70978808549643.5, + -71726665958730.36, + -72501146004626.03, + -73302118440376.77, + -74129348927349.02, + -74982496414909.6, + -75861111742776.56, + -76764637565331.28, + -77692409604874.78, + -78643659235854.2, + -79617517436591.69, + -80613019881502.58, + -81629113261390.03, + -82664662444796.39, + -83718458315521.0, + -84789226223058.95, + -85875634491498.66, + -86976302955326.58, + -88089811157492.08, + -89214706069928.61, + -90349508945480.73, + -91492721502405.11, + -92642831040788.39, + -93798314623184.0, + -94957642455463.88, + -96119280421089.0, + -97281692038090.38, + -98443340093009.77, + -99602688078586.64, + -100758201827984.64, + -101908351440027.58, + -103051613883746.12, + -104186476263965.78, + -105311440061235.34, + -106425026288670.95, + -107525781504306.25, + -108612284855782.6, + -109683155653567.83, + -110737061662386.53, + -111772727541453.19, + -112788943483456.05, + -113784573548304.83, + -114758563576919.44, + -115709948423047.47, + -116637858111027.75, + -117541523164748.17, + -118420278359321.95, + -119273565539010.06, + -120100934664948.89, + -120902043938598.84, + -121676658258165.11, + -122424646787110.88, + -123145979100766.83, + -123840720701627.72, + -124509027487214.8, + -125151139674760.36, + -125767375162546.48, + -126358122640133.53, + -126923834386344.33, + -127465019083963.05, + -127982234627438.14, + -128476081154263.95, + -128947194227961.14, + -129396238345598.7, + -129823900882384.92, + -130230886319898.67, + -130617911020534.88, + -130985698343680.78, + -131334974271368.2, + -131666463433653.22, + -131980885379833.0, + -132278949784871.05, + -132561341750805.5, + -132828648531372.94, + -133081004149163.55, + -133316615521176.28, + -133526677057772.25, + -133680997049646.6, + -133695375738770.58, + -133374230117106.3, + -132338616785850.66, + -129979942431182.48, + -125499985883559.94, + -118073740691530.72, + -107098935511448.36, + -92425480142848.11, + -74453094181679.38, + -54054648342768.42, + -32371258004594.527, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "direct_maximum_absolute": 133695375738770.58, + "eliminated": [ + -7295196079946.111, + -21593358072574.188, + -34447586129662.734, + -44564289715386.59, + -51440663457189.586, + -55449722793477.445, + -57468254893837.516, + -58382109069637.63, + -58802458302273.984, + -59046950812804.18, + -59245224729346.086, + -59439966190339.945, + -59642931529676.76, + -59857148792207.24, + -60083662659749.94, + -60323160577156.46, + -60576290026352.17, + -60843708642625.016, + -61126089722634.43, + -61424121386471.74, + -61738504655980.51, + -62069951167995.26, + -62419180496886.45, + -62786917055199.79, + -63173886562622.04, + -63580812166288.19, + -64008409975692.42, + -64457384305973.66, + -64928422318106.26, + -65422188403206.66, + -65939317990514.984, + -66480411130744.42, + -67046025736540.805, + -67636670522724.86, + -68252797880151.39, + -68894796667250.195, + -69562985055666.87, + -70257603578334.81, + -70978808549678.0, + -71726665958754.1, + -72501146004594.64, + -73302118440399.89, + -74129348927313.95, + -74982496414897.38, + -75861111742813.4, + -76764637565325.7, + -77692409604919.86, + -78643659235795.98, + -79617517436605.77, + -80613019881532.69, + -81629113261400.23, + -82664662444764.7, + -83718458315533.81, + -84789226223083.23, + -85875634491499.48, + -86976302955394.73, + -88089811157464.27, + -89214706069903.89, + -90349508945482.19, + -91492721502450.45, + -92642831040737.92, + -93798314623221.17, + -94957642455392.42, + -96119280421220.72, + -97281692038069.97, + -98443340092945.55, + -99602688078657.67, + -100758201828008.08, + -101908351439990.33, + -103051613883684.44, + -104186476264079.14, + -105311440061303.7, + -106425026288600.67, + -107525781504298.38, + -108612284855773.64, + -109683155653606.81, + -110737061662405.7, + -111772727541467.16, + -112788943483418.52, + -113784573548324.92, + -114758563576881.86, + -115709948423036.81, + -116637858111204.66, + -117541523164811.3, + -118420278359207.02, + -119273565538910.81, + -120100934665079.56, + -120902043938799.42, + -121676658257813.78, + -122424646787296.45, + -123145979100947.69, + -123840720701122.75, + -124509027487526.38, + -125151139674525.17, + -125767375162898.66, + -126358122639986.88, + -126923834386502.48, + -127465019083760.16, + -127982234627974.83, + -128476081154058.12, + -128947194227869.3, + -129396238345531.8, + -129823900881973.16, + -130230886320035.36, + -130617911020790.17, + -130985698344042.08, + -131334974271225.72, + -131666463433510.11, + -131980885379884.73, + -132278949784290.53, + -132561341751057.0, + -132828648531388.7, + -133081004149583.72, + -133316615521542.16, + -133526677057249.56, + -133680997051529.3, + -133695375736793.69, + -133374230117631.58, + -132338616785519.38, + -129979942430260.33, + -125499985883845.47, + -118073740694015.78, + -107098935511084.14, + -92425480141979.48, + -74453094181258.06, + -54054648343928.84, + -32371258001919.58, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "eliminated_maximum_absolute": 133695375736793.69, + "floor_active": false, + "maximum_absolute_difference": 2674.95012319958, + "normalization_floor": 1.0, + "normalization_scale": 133695375738770.58, + "relative_error": 2.000779838807743e-11, + "within_original_limit": true + }, + "rounded_reference_vs_full_DD": { + "diagnostic_original_limit": 1e-06, + "difference": [ + -0.05681831114208563, + -0.03169524698850555, + 0.11890318796468283, + -0.19104024257948404, + -0.16566705101307516, + 0.06661928292879926, + -0.17687864229909478, + 0.02554359551868632, + 0.12733967451165898, + 0.5532733707268338, + -0.46595517252359, + -0.8990881269500309, + 0.40455447639934516, + 0.035910132030451, + 0.4293505566529647, + -0.8296234002700903, + 1.615735422857779, + -0.6507418157442145, + -0.5648499249670806, + -0.34981406964825335, + 0.9811779669893509, + 0.9941580389087689, + -1.32227654692556, + -0.5125861040875217, + 1.440959709021347, + -0.037268277002182666, + -1.0661597499996953, + -0.828474058243489, + 1.0013685005482775, + 0.6507295164543461, + 0.29093131534802325, + -0.32410068389778796, + 0.9176118884300495, + -1.6864274972990572, + -0.7378326756655581, + 0.6655624512071611, + 1.522299535814671, + -0.7331645005212148, + 0.5318711630343462, + 1.1156771466783333, + -3.7423585085432256, + 0.8365358032384482, + 3.02637108856066, + -3.0906374804833163, + 0.1216569710716965, + 0.007027824117693721, + 0.6612043533695128, + 2.2762201333984313, + -1.5242734766987176, + 1.015143178711061, + -1.5053496270209883, + -1.9446577668973961, + 1.7710318655817179, + 1.8518408879436379, + -2.9032667970048043, + 1.5606652283201128, + 0.08381786413249083, + 3.392177817961588, + -1.470569074055176, + -1.3526514634224018, + -3.817191430046186, + 5.2590946582199605, + -1.7279332587167755, + 1.9387261389716341, + -6.355366201023352, + 0.557300579541099, + -0.46443448893852435, + 4.66013821227949, + -3.7779914816682147, + 3.1857652404526116, + -2.855401991592875, + -0.35881362405889383, + -0.9221317391401854, + 2.0675869809423952, + 3.589748179559096, + -2.660272453088154, + 0.5986126020442245, + -2.75082447607521, + 6.878658286577696, + -5.92480812762048, + 0.7382072459291615, + 3.157130851905929, + -1.740750895921698, + -4.326578552382879, + 3.215184788892731, + 4.475926573469194, + -19.014282456170697, + 2.6059609017771477, + 14.389204099467616, + 0.10828515940526953, + -19.096868619820786, + 5.085718795553225, + 10.046755158926434, + 28.712669006751014, + -12.873806349835224, + -33.65717909656697, + 23.346074404604735, + -22.010902260311262, + 14.07887594451219, + -11.464499713636638, + -0.5844001445434378, + 54.37303625616137, + -7.924565704589147, + -6.914108070801753, + -50.42345142684547, + 41.08255817142157, + -30.1932774601245, + 15.680152698768993, + -6.3003850919965485, + -0.22846163197266256, + -29.493267382831906, + 94.74020265597859, + 14.890254668316885, + -94.95442735686612, + -20.965764088792834, + 36.577017206909034, + 41.64907850425396, + -23.102175198592203, + -41.0495676416953, + -28.48811655176746, + -24.432876178879393, + 94.78057595863636, + 83.51406158720012, + -202.53238631468037, + 94.96428391801524, + 103.51000948498945, + 2.3311268004198973, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "difference_arithmetic": "DD(high_values)-full_DD_values", + "direct": [ + -7295196079946.168, + -21593358072574.22, + -34447586129662.617, + -44564289715386.78, + -51440663457189.75, + -55449722793477.375, + -57468254893837.695, + -58382109069637.61, + -58802458302273.86, + -59046950812803.625, + -59245224729346.555, + -59439966190340.84, + -59642931529676.35, + -59857148792207.2, + -60083662659749.51, + -60323160577157.29, + -60576290026350.555, + -60843708642625.664, + -61126089722634.99, + -61424121386472.09, + -61738504655979.52, + -62069951167994.266, + -62419180496887.77, + -62786917055200.305, + -63173886562620.6, + -63580812166288.23, + -64008409975693.484, + -64457384305974.484, + -64928422318105.26, + -65422188403206.01, + -65939317990514.695, + -66480411130744.74, + -67046025736539.89, + -67636670522726.55, + -68252797880152.125, + -68894796667249.53, + -69562985055665.34, + -70257603578335.55, + -70978808549677.47, + -71726665958752.98, + -72501146004598.39, + -73302118440399.05, + -74129348927310.92, + -74982496414900.47, + -75861111742813.28, + -76764637565325.7, + -77692409604919.2, + -78643659235793.7, + -79617517436607.3, + -80613019881531.67, + -81629113261401.73, + -82664662444766.64, + -83718458315532.05, + -84789226223081.38, + -85875634491502.39, + -86976302955393.17, + -88089811157464.19, + -89214706069900.5, + -90349508945483.66, + -91492721502451.81, + -92642831040741.73, + -93798314623215.9, + -94957642455394.16, + -96119280421218.78, + -97281692038076.33, + -98443340092944.98, + -99602688078658.14, + -100758201828003.42, + -101908351439994.11, + -103051613883681.25, + -104186476264082.0, + -105311440061304.06, + -106425026288601.6, + -107525781504296.31, + -108612284855770.05, + -109683155653609.47, + -110737061662405.11, + -111772727541469.9, + -112788943483411.64, + -113784573548330.84, + -114758563576881.12, + -115709948423033.66, + -116637858111206.39, + -117541523164815.62, + -118420278359203.8, + -119273565538906.34, + -120100934665098.58, + -120902043938796.81, + -121676658257799.39, + -122424646787296.34, + -123145979100966.78, + -123840720701117.67, + -124509027487516.33, + -125151139674496.45, + -125767375162911.53, + -126358122640020.53, + -126923834386479.14, + -127465019083782.17, + -127982234627960.75, + -128476081154069.6, + -128947194227869.88, + -129396238345477.42, + -129823900881981.08, + -130230886320042.28, + -130617911020840.6, + -130985698344001.0, + -131334974271255.9, + -131666463433494.42, + -131980885379891.03, + -132278949784290.77, + -132561341751086.5, + -132828648531293.97, + -133081004149568.83, + -133316615521637.11, + -133526677057270.53, + -133680997051492.72, + -133695375736752.03, + -133374230117654.69, + -132338616785560.42, + -129979942430288.81, + -125499985883869.9, + -118073740693921.0, + -107098935511000.62, + -92425480142182.02, + -74453094181163.1, + -54054648343825.336, + -32371258001917.246, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "direct_maximum_absolute": 133695375736752.03, + "eliminated": [ + -7295196079946.111, + -21593358072574.188, + -34447586129662.734, + -44564289715386.59, + -51440663457189.586, + -55449722793477.445, + -57468254893837.516, + -58382109069637.63, + -58802458302273.984, + -59046950812804.18, + -59245224729346.086, + -59439966190339.945, + -59642931529676.76, + -59857148792207.24, + -60083662659749.94, + -60323160577156.46, + -60576290026352.17, + -60843708642625.016, + -61126089722634.43, + -61424121386471.74, + -61738504655980.51, + -62069951167995.26, + -62419180496886.45, + -62786917055199.79, + -63173886562622.04, + -63580812166288.19, + -64008409975692.42, + -64457384305973.66, + -64928422318106.26, + -65422188403206.66, + -65939317990514.984, + -66480411130744.42, + -67046025736540.805, + -67636670522724.86, + -68252797880151.39, + -68894796667250.195, + -69562985055666.87, + -70257603578334.81, + -70978808549678.0, + -71726665958754.1, + -72501146004594.64, + -73302118440399.89, + -74129348927313.95, + -74982496414897.38, + -75861111742813.4, + -76764637565325.7, + -77692409604919.86, + -78643659235795.98, + -79617517436605.77, + -80613019881532.69, + -81629113261400.23, + -82664662444764.7, + -83718458315533.81, + -84789226223083.23, + -85875634491499.48, + -86976302955394.73, + -88089811157464.27, + -89214706069903.89, + -90349508945482.19, + -91492721502450.45, + -92642831040737.92, + -93798314623221.17, + -94957642455392.42, + -96119280421220.72, + -97281692038069.97, + -98443340092945.55, + -99602688078657.67, + -100758201828008.08, + -101908351439990.33, + -103051613883684.44, + -104186476264079.14, + -105311440061303.7, + -106425026288600.67, + -107525781504298.38, + -108612284855773.64, + -109683155653606.81, + -110737061662405.7, + -111772727541467.16, + -112788943483418.52, + -113784573548324.92, + -114758563576881.86, + -115709948423036.81, + -116637858111204.66, + -117541523164811.3, + -118420278359207.02, + -119273565538910.81, + -120100934665079.56, + -120902043938799.42, + -121676658257813.78, + -122424646787296.45, + -123145979100947.69, + -123840720701122.75, + -124509027487526.38, + -125151139674525.17, + -125767375162898.66, + -126358122639986.88, + -126923834386502.48, + -127465019083760.16, + -127982234627974.83, + -128476081154058.12, + -128947194227869.3, + -129396238345531.8, + -129823900881973.16, + -130230886320035.36, + -130617911020790.17, + -130985698344042.08, + -131334974271225.72, + -131666463433510.11, + -131980885379884.73, + -132278949784290.53, + -132561341751057.0, + -132828648531388.7, + -133081004149583.72, + -133316615521542.16, + -133526677057249.56, + -133680997051529.3, + -133695375736793.69, + -133374230117631.58, + -132338616785519.38, + -129979942430260.33, + -125499985883845.47, + -118073740694015.78, + -107098935511084.14, + -92425480141979.48, + -74453094181258.06, + -54054648343928.84, + -32371258001919.58, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "eliminated_maximum_absolute": 133695375736793.69, + "floor_active": false, + "maximum_absolute_difference": 202.53238631468037, + "normalization_floor": 1.0, + "normalization_scale": 133695375736793.69, + "relative_error": 1.5148795176985495e-12, + "within_original_limit": true + } + }, + "positive_ion_rate": { + "direct_vs_full_DD": { + "diagnostic_original_limit": 1e-06, + "difference": [ + -35060677351.291084, + -3325553603.071818, + 7250850613.350408, + -26442950413.06888, + -9688833041.026434, + -4251986407.2517705, + 58925526937.66606, + -14100073117.060755, + -58833139537.132935, + 65756132961.713715, + -42123909349.5836, + 8909233832.967985, + -36719933351.38429, + 120134659282.20132, + -108480437740.55557, + 13356448091.546906, + 11095654009.419329, + 50612242432.0883, + -97726692159.9515, + 80180453366.84077, + 11109918691.986025, + -43459395089.406876, + 44205705247.32331, + -82914160176.6882, + 34328190503.924366, + 17791625017.375996, + -2213965757.2526016, + 15153866904.994991, + -14268055237.267769, + -37806536976.17655, + 19596040880.95007, + 55083217035.53674, + -42400290686.06006, + -14188330750.94287, + 16080762306.466383, + -16937123291.243973, + 13690752364.856699, + 12563452818.58269, + -28956234481.80998, + 2812973496.9448013, + 47690751418.74316, + -69403179868.37263, + 72965893088.81839, + -34417958327.07024, + -31527061415.98643, + 47411075801.04012, + -45101377706.70218, + 72939716034.57658, + -54729754545.49723, + -17806861396.487915, + 20758776634.253082, + 33158587580.219296, + -31649043531.716305, + -5602154088.830851, + 16914090504.921324, + -42948828463.861176, + 53351445849.31205, + 3006038611.154782, + -22336709041.37365, + -20298123766.545048, + 56789079291.64519, + -55775322532.43078, + 64749904492.24326, + -118828814442.80591, + 91621339053.86328, + 27190483738.39228, + -83775896036.5035, + 28677629402.965797, + 32975055707.50109, + 24683391535.966297, + -96072961704.31674, + 9390025012.02886, + 89035597445.82954, + -47633774955.46048, + -8062413413.854724, + -10662706895.008654, + 12542459708.708786, + -6090147749.249435, + 27264305297.090263, + -26842663595.96712, + 43781640908.06629, + -11402190019.791315, + -155093655594.59326, + 94749944813.14182, + 123871870365.77339, + 2481249135.716235, + -191469264593.54556, + -95153031328.6266, + 604251452565.4623, + -607609359294.0852, + 55240783903.80747, + 684716675119.2465, + -876151660286.827, + 597857044515.859, + -759621049280.0411, + 776261922413.3265, + -383244663965.58936, + 409813355270.96356, + -1187531730319.3909, + 1367743833093.481, + -464007602358.5452, + 157446922966.62674, + 574209494603.8673, + -1089597248314.9534, + 76105606762.87978, + -435338189176.58923, + 1035369722025.6621, + 146341531751.83945, + -470154978101.83563, + 1239548216369.353, + -1943817841946.3113, + 738634756483.8439, + -1915889193550.038, + 780262260444.9755, + 3527241074528.6685, + -10120292350663.064, + 17110723347199.092, + -13377974146062.844, + 6071169817307.502, + 2060380891318.462, + -6541559794550.51, + -11021999985089.018, + 16450012480859.215, + 3658254234044.399, + -3545476175296.9136, + -12164888373541.094, + 30412108566728.97, + -14926012889059.334, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "difference_arithmetic": "DD(high_values)-full_DD_values", + "direct": [ + 1.2361758911583281e+23, + 1.1750196189588703e+23, + 9.948099550699838e+22, + 7.3744576093868945e+22, + 4.7219280371345145e+22, + 2.593865944462993e+22, + 1.2307415297748298e+22, + 5.251945359917981e+21, + 2.277491934590281e+21, + 1.2491430054985605e+21, + 9.554649636419081e+20, + 8.853580275240774e+20, + 8.707810535793122e+20, + 8.675415449659475e+20, + 8.661811405687398e+20, + 8.650292804880373e+20, + 8.638372955438747e+20, + 8.62570614290789e+20, + 8.612213707601366e+20, + 8.597844413135973e+20, + 8.58254680211273e+20, + 8.566268747274209e+20, + 8.548957184527048e+20, + 8.530557868300991e+20, + 8.511015615590418e+20, + 8.490276734595436e+20, + 8.46828651824336e+20, + 8.444993311522386e+20, + 8.420346086731077e+20, + 8.394298701090238e+20, + 8.366807745391344e+20, + 8.337836211097498e+20, + 8.30735410301711e+20, + 8.275338984671066e+20, + 8.241778856800867e+20, + 8.20667330563378e+20, + 8.170035084223416e+20, + 8.131891969531461e+20, + 8.092288908046109e+20, + 8.051289477961195e+20, + 8.008977447745952e+20, + 7.965458311213506e+20, + 7.920861096844092e+20, + 7.875338662938996e+20, + 7.829068524506726e+20, + 7.78225332264465e+20, + 7.735120393479705e+20, + 7.687920751978868e+20, + 7.640928083242967e+20, + 7.594435944362799e+20, + 7.548756076485099e+20, + 7.504214399730924e+20, + 7.461146862364835e+20, + 7.4198960203235e+20, + 7.380805028310423e+20, + 7.344212952270107e+20, + 7.310449043114563e+20, + 7.279827493921855e+20, + 7.252640904906036e+20, + 7.229156142180696e+20, + 7.209608411866944e+20, + 7.194196757959849e+20, + 7.183080655779736e+20, + 7.176376299037684e+20, + 7.174154317203771e+20, + 7.176438628694701e+20, + 7.183205523641654e+20, + 7.194384581791403e+20, + 7.209859618698588e+20, + 7.229471603590296e+20, + 7.25302120551869e+20, + 7.280273286162153e+20, + 7.310961297847345e+20, + 7.344791803832308e+20, + 7.381451000242876e+20, + 7.420608999436361e+20, + 7.461926668495968e+20, + 7.505060046791706e+20, + 7.549666614196911e+20, + 7.595409524763802e+20, + 7.641962409692008e+20, + 7.689013549822841e+20, + 7.736268010807764e+20, + 7.78345254910522e+20, + 7.830314832856166e+20, + 7.876628150498112e+20, + 7.92218858671393e+20, + 7.966819127702859e+20, + 8.010365985949134e+20, + 8.052701089014102e+20, + 8.093717754761308e+20, + 8.133332843375182e+20, + 8.171482744461483e+20, + 8.20812290319962e+20, + 8.243225289202133e+20, + 8.2767777626495e+20, + 8.30878083495833e+20, + 8.33924703923041e+20, + 8.368198458057915e+20, + 8.395666256697818e+20, + 8.421687896047142e+20, + 8.44630598034795e+20, + 8.469568399367465e+20, + 8.491525134966502e+20, + 8.512229539343995e+20, + 8.531735482928668e+20, + 8.55009789704862e+20, + 8.567371049720076e+20, + 8.583602661411345e+20, + 8.598788949583976e+20, + 8.61254571945341e+20, + 8.622098831876226e+20, + 8.611964942907918e+20, + 8.509916827284425e+20, + 8.032680002522491e+20, + 6.249683264953339e+20, + 6.168880961611359e+19, + -1.4600324608876937e+21, + -4.990531638307616e+21, + -1.20507641157301e+22, + -2.4272828668667427e+22, + -4.267883761910471e+22, + -6.691569836331842e+22, + -9.493742291002358e+22, + -1.2341434068465755e+23, + -1.4869218304409437e+23, + -1.6781134170164273e+23, + -1.791449639414751e+23, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "direct_maximum_absolute": 1.791449639414751e+23, + "eliminated": [ + 1.2361758911586787e+23, + 1.1750196189589035e+23, + 9.948099550699113e+22, + 7.374457609389539e+22, + 4.721928037135483e+22, + 2.5938659444634182e+22, + 1.2307415297689372e+22, + 5.251945359932081e+21, + 2.2774919346491142e+21, + 1.2491430054328043e+21, + 9.55464963684032e+20, + 8.853580275151682e+20, + 8.707810536160322e+20, + 8.675415448458128e+20, + 8.661811406772202e+20, + 8.650292804746808e+20, + 8.638372955327791e+20, + 8.625706142401768e+20, + 8.612213708578632e+20, + 8.597844412334169e+20, + 8.582546802001631e+20, + 8.566268747708803e+20, + 8.548957184084991e+20, + 8.530557869130133e+20, + 8.511015615247137e+20, + 8.49027673441752e+20, + 8.468286518265499e+20, + 8.444993311370847e+20, + 8.420346086873758e+20, + 8.394298701468303e+20, + 8.366807745195383e+20, + 8.337836210546665e+20, + 8.307354103441114e+20, + 8.275338984812949e+20, + 8.24177885664006e+20, + 8.206673305803151e+20, + 8.170035084086508e+20, + 8.131891969405826e+20, + 8.092288908335672e+20, + 8.051289477933066e+20, + 8.008977447269044e+20, + 7.965458311907537e+20, + 7.920861096114432e+20, + 7.875338663283175e+20, + 7.829068524821996e+20, + 7.782253322170538e+20, + 7.735120393930719e+20, + 7.68792075124947e+20, + 7.640928083790265e+20, + 7.594435944540868e+20, + 7.548756076277511e+20, + 7.504214399399338e+20, + 7.461146862681326e+20, + 7.419896020379522e+20, + 7.380805028141282e+20, + 7.344212952699596e+20, + 7.310449042581049e+20, + 7.279827493891795e+20, + 7.252640905129403e+20, + 7.229156142383677e+20, + 7.209608411299054e+20, + 7.194196758517602e+20, + 7.183080655132236e+20, + 7.176376300225972e+20, + 7.174154316287558e+20, + 7.176438628422796e+20, + 7.183205524479413e+20, + 7.194384581504627e+20, + 7.209859618368837e+20, + 7.229471603343462e+20, + 7.253021206479421e+20, + 7.280273286068253e+20, + 7.310961296956989e+20, + 7.344791804308645e+20, + 7.3814510003235e+20, + 7.420608999542988e+20, + 7.461926668370544e+20, + 7.505060046852607e+20, + 7.549666613924269e+20, + 7.595409525032228e+20, + 7.641962409254192e+20, + 7.689013549936863e+20, + 7.736268012358701e+20, + 7.78345254815772e+20, + 7.830314831617448e+20, + 7.8766281504733e+20, + 7.922188588628623e+20, + 7.96681912865439e+20, + 8.01036597990662e+20, + 8.052701095090196e+20, + 8.0937177542089e+20, + 8.133332836528015e+20, + 8.171482753223e+20, + 8.20812289722105e+20, + 8.243225296798343e+20, + 8.276777754886882e+20, + 8.308780838790777e+20, + 8.339247035132276e+20, + 8.368198469933232e+20, + 8.39566624302038e+20, + 8.421687900687217e+20, + 8.44630597877348e+20, + 8.469568393625369e+20, + 8.491525145862474e+20, + 8.512229538582938e+20, + 8.53173548728205e+20, + 8.550097886694923e+20, + 8.567371048256661e+20, + 8.583602666112895e+20, + 8.598788937188495e+20, + 8.612545738891588e+20, + 8.622098824489878e+20, + 8.611964962066811e+20, + 8.509916819481802e+20, + 8.03267996725008e+20, + 6.249683366156262e+20, + 6.168879250539024e+19, + -1.4600324475097197e+21, + -4.990531644378787e+21, + -1.205076411779048e+22, + -2.427282866212587e+22, + -4.267883760808271e+22, + -6.691569837976843e+22, + -9.493742291368183e+22, + -1.2341434068111207e+23, + -1.4869218303192948e+23, + -1.6781134173205482e+23, + -1.791449639265491e+23, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "eliminated_maximum_absolute": 1.791449639265491e+23, + "floor_active": false, + "maximum_absolute_difference": 30412108566728.97, + "normalization_floor": 1.791449639414751e+23, + "normalization_scale": 1.791449639414751e+23, + "relative_error": 1.6976256489501043e-10, + "within_original_limit": true + }, + "legacy_binary64_direct_vs_full_DD": { + "diagnostic_original_limit": 1e-06, + "difference": [ + 292883563800.7089, + -169000561603.0718, + -9358593226.649593, + 488399476978.93115, + -485415181329.0264, + -190600718823.25177, + 304439111577.6661, + -58139216541.06075, + -509245265.13293374, + 313950926433.7137, + -270180669669.58362, + -241401323863.032, + 57051990104.61571, + 273495321810.20132, + -233750666732.55557, + 158897092955.5469, + -36206002566.58067, + -72294758399.9117, + 31356421312.048492, + 68639170550.840775, + -82141386780.01398, + -14793555473.406878, + 152815241247.3233, + -137583504944.6882, + 41151929895.92437, + -19948198086.624004, + 47928021058.7474, + -12026664807.005009, + -15840263877.267769, + -54270490896.17655, + 33029216944.95007, + 44069499019.53674, + -29959067518.06006, + -46374108926.94287, + 37690865090.466385, + -30356012507.243973, + 15258504556.856699, + 39508317074.58269, + -59766149873.809975, + 11583918520.944801, + 57003941306.74316, + -54199614300.372635, + 55713147872.81838, + -21094227383.070236, + -43712300967.98643, + 36529871577.04012, + -42231949482.70218, + 83491798466.57658, + -56733845425.49723, + -12224111700.487915, + 14792379194.253082, + 30357841084.219296, + -31516005451.716305, + -7938250344.830851, + 15926331912.921324, + -44921462063.861176, + 63000835417.31205, + -1999469996.845218, + -16724599217.37365, + -27759790582.545048, + 60068500731.64519, + -54565134756.43078, + 67294929516.24326, + -125512437866.80591, + 93886525357.86328, + 27072256794.39228, + -83805518308.5035, + 29632751066.965797, + 38043085659.50109, + 15456315951.966297, + -111877885608.31674, + 29124225332.02886, + 91021469317.82954, + -41644177771.46048, + 738678170.1452756, + -33218363087.008656, + 14021476156.708786, + 3774593114.750564, + 38257051793.09026, + -43955686059.967125, + 45244273356.06629, + -21755698371.791313, + -156370559018.59326, + 97995287533.14182, + 158670568861.77338, + -14490870928.283766, + -220148211409.54556, + -69515217056.6266, + 570729788565.4623, + -578023394238.0852, + 5296977951.807475, + 802885685295.2465, + -998394126078.827, + 698938329123.859, + -785705425856.0411, + 698895363693.3265, + -447692242077.58936, + 556342283014.9636, + -1196581072271.3909, + 1262312006661.481, + -203741339830.5452, + -46914379049.37325, + 682972253771.8673, + -1144338813754.9534, + -260849179029.1202, + -245907167608.5892, + 1233255936169.662, + 1619431527.8394427, + -531926721333.83563, + 1823935743025.353, + -2537529568538.3115, + 760374620547.8439, + -1380068037198.038, + 196115250908.97552, + 3397815600992.6685, + -9741384563399.064, + 16558819369727.092, + -11375752614926.844, + 4127748496091.502, + 3018859047094.462, + -6543409482614.51, + -12640732893633.018, + 17372675474779.215, + 3263503118780.399, + -3071620486592.9136, + -11529921079589.094, + 29682601660616.97, + -14803371440099.334, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "difference_arithmetic": "DD(high_values)-full_DD_values", + "direct": [ + 1.2361758911616075e+23, + 1.1750196189572135e+23, + 9.948099550698177e+22, + 7.374457609438379e+22, + 4.721928037086942e+22, + 2.593865944444358e+22, + 1.2307415297993812e+22, + 5.251945359873942e+21, + 2.2774919346486048e+21, + 1.2491430057467553e+21, + 9.554649634138514e+20, + 8.853580272737668e+20, + 8.707810536730842e+20, + 8.675415451193082e+20, + 8.661811404434696e+20, + 8.650292806335779e+20, + 8.638372954965731e+20, + 8.62570614167882e+20, + 8.612213708892197e+20, + 8.59784441302056e+20, + 8.582546801180217e+20, + 8.566268747560868e+20, + 8.548957185613144e+20, + 8.530557867754298e+20, + 8.511015615658656e+20, + 8.490276734218038e+20, + 8.468286518744779e+20, + 8.444993311250581e+20, + 8.420346086715355e+20, + 8.394298700925598e+20, + 8.366807745525675e+20, + 8.33783621098736e+20, + 8.307354103141522e+20, + 8.275338984349208e+20, + 8.241778857016968e+20, + 8.206673305499591e+20, + 8.170035084239093e+20, + 8.13189196980091e+20, + 8.09228890773801e+20, + 8.051289478048905e+20, + 8.008977447839084e+20, + 7.965458311365541e+20, + 7.920861096671564e+20, + 7.875338663072233e+20, + 7.829068524384873e+20, + 7.782253322535837e+20, + 7.7351203935084e+20, + 7.687920752084388e+20, + 7.640928083222926e+20, + 7.594435944418627e+20, + 7.548756076425435e+20, + 7.504214399702916e+20, + 7.461146862366166e+20, + 7.419896020300139e+20, + 7.380805028300545e+20, + 7.34421295225038e+20, + 7.310449043211057e+20, + 7.2798274938718e+20, + 7.252640904962157e+20, + 7.22915614210608e+20, + 7.209608411899738e+20, + 7.19419675797195e+20, + 7.183080655805186e+20, + 7.176376298970848e+20, + 7.174154317226423e+20, + 7.176438628693519e+20, + 7.183205523641358e+20, + 7.194384581800954e+20, + 7.209859618749269e+20, + 7.229471603498025e+20, + 7.253021205360641e+20, + 7.280273286359495e+20, + 7.310961297867204e+20, + 7.344791803892204e+20, + 7.381451000330887e+20, + 7.420608999210805e+20, + 7.461926668510758e+20, + 7.505060046890353e+20, + 7.549666614306839e+20, + 7.595409524592671e+20, + 7.641962409706635e+20, + 7.689013549719306e+20, + 7.736268010794995e+20, + 7.783452549137674e+20, + 7.830314833204153e+20, + 7.876628150328391e+20, + 7.92218858642714e+20, + 7.966819127959237e+20, + 8.010365985613918e+20, + 8.052701089309962e+20, + 8.09371775426187e+20, + 8.133332844556873e+20, + 8.171482743239058e+20, + 8.208122904210432e+20, + 8.243225288941289e+20, + 8.276777761875835e+20, + 8.308780834313854e+20, + 8.339247040695699e+20, + 8.368198457967422e+20, + 8.3956662556435e+20, + 8.421687898649804e+20, + 8.446305978304337e+20, + 8.469568400455092e+20, + 8.491525134419087e+20, + 8.512229535974447e+20, + 8.531735484822979e+20, + 8.550097899027483e+20, + 8.567371048272855e+20, + 8.583602660793627e+20, + 8.598788955427851e+20, + 8.612545713516292e+20, + 8.622098832093624e+20, + 8.61196494826613e+20, + 8.509916821442955e+20, + 8.032680001228236e+20, + 6.249683268742417e+20, + 6.168880906420961e+19, + -1.4600324588854722e+21, + -4.990531640251038e+21, + -1.205076411477162e+22, + -2.4272828668669277e+22, + -4.2678837620723444e+22, + -6.691569836239576e+22, + -9.493742291041833e+22, + -1.2341434068418369e+23, + -1.486921830434594e+23, + -1.6781134170237223e+23, + -1.7914496394135246e+23, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0 + ], + "direct_maximum_absolute": 1.7914496394135246e+23, + "eliminated": [ + 1.2361758911586787e+23, + 1.1750196189589035e+23, + 9.948099550699113e+22, + 7.374457609389539e+22, + 4.721928037135483e+22, + 2.5938659444634182e+22, + 1.2307415297689372e+22, + 5.251945359932081e+21, + 2.2774919346491142e+21, + 1.2491430054328043e+21, + 9.55464963684032e+20, + 8.853580275151682e+20, + 8.707810536160322e+20, + 8.675415448458128e+20, + 8.661811406772202e+20, + 8.650292804746808e+20, + 8.638372955327791e+20, + 8.625706142401768e+20, + 8.612213708578632e+20, + 8.597844412334169e+20, + 8.582546802001631e+20, + 8.566268747708803e+20, + 8.548957184084991e+20, + 8.530557869130133e+20, + 8.511015615247137e+20, + 8.49027673441752e+20, + 8.468286518265499e+20, + 8.444993311370847e+20, + 8.420346086873758e+20, + 8.394298701468303e+20, + 8.366807745195383e+20, + 8.337836210546665e+20, + 8.307354103441114e+20, + 8.275338984812949e+20, + 8.24177885664006e+20, + 8.206673305803151e+20, + 8.170035084086508e+20, + 8.131891969405826e+20, + 8.092288908335672e+20, + 8.051289477933066e+20, + 8.008977447269044e+20, + 7.965458311907537e+20, + 7.920861096114432e+20, + 7.875338663283175e+20, + 7.829068524821996e+20, + 7.782253322170538e+20, + 7.735120393930719e+20, + 7.68792075124947e+20, + 7.640928083790265e+20, + 7.594435944540868e+20, + 7.548756076277511e+20, + 7.504214399399338e+20, + 7.461146862681326e+20, + 7.419896020379522e+20, + 7.380805028141282e+20, + 7.344212952699596e+20, + 7.310449042581049e+20, + 7.279827493891795e+20, + 7.252640905129403e+20, + 7.229156142383677e+20, + 7.209608411299054e+20, + 7.194196758517602e+20, + 7.183080655132236e+20, + 7.176376300225972e+20, + 7.174154316287558e+20, + 7.176438628422796e+20, + 7.183205524479413e+20, + 7.194384581504627e+20, + 7.209859618368837e+20, + 7.229471603343462e+20, + 7.253021206479421e+20, + 7.280273286068253e+20, + 7.310961296956989e+20, + 7.344791804308645e+20, + 7.3814510003235e+20, + 7.420608999542988e+20, + 7.461926668370544e+20, + 7.505060046852607e+20, + 7.549666613924269e+20, + 7.595409525032228e+20, + 7.641962409254192e+20, + 7.689013549936863e+20, + 7.736268012358701e+20, + 7.78345254815772e+20, + 7.830314831617448e+20, + 7.8766281504733e+20, + 7.922188588628623e+20, + 7.96681912865439e+20, + 8.01036597990662e+20, + 8.052701095090196e+20, + 8.0937177542089e+20, + 8.133332836528015e+20, + 8.171482753223e+20, + 8.20812289722105e+20, + 8.243225296798343e+20, + 8.276777754886882e+20, + 8.308780838790777e+20, + 8.339247035132276e+20, + 8.368198469933232e+20, + 8.39566624302038e+20, + 8.421687900687217e+20, + 8.44630597877348e+20, + 8.469568393625369e+20, + 8.491525145862474e+20, + 8.512229538582938e+20, + 8.53173548728205e+20, + 8.550097886694923e+20, + 8.567371048256661e+20, + 8.583602666112895e+20, + 8.598788937188495e+20, + 8.612545738891588e+20, + 8.622098824489878e+20, + 8.611964962066811e+20, + 8.509916819481802e+20, + 8.03267996725008e+20, + 6.249683366156262e+20, + 6.168879250539024e+19, + -1.4600324475097197e+21, + -4.990531644378787e+21, + -1.205076411779048e+22, + -2.427282866212587e+22, + -4.267883760808271e+22, + -6.691569837976843e+22, + -9.493742291368183e+22, + -1.2341434068111207e+23, + -1.4869218303192948e+23, + -1.6781134173205482e+23, + -1.791449639265491e+23, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "eliminated_maximum_absolute": 1.791449639265491e+23, + "floor_active": false, + "maximum_absolute_difference": 29682601660616.97, + "normalization_floor": 1.7914496394135246e+23, + "normalization_scale": 1.7914496394135246e+23, + "relative_error": 1.6569040517563365e-10, + "within_original_limit": true + }, + "rounded_reference_vs_full_DD": { + "diagnostic_original_limit": 1e-06, + "difference": [ + 960005400.7089146, + -204991427.07181785, + -1171311818.6495926, + 2271254770.9311223, + -167762961.02643475, + -1525688807.2517705, + 1467756441.666063, + -1129187997.060754, + -558528337.1329337, + -2188446110.286286, + 4919011098.416396, + 1978670760.9679856, + -5622577063.384289, + 1501261010.2013276, + -1504058860.5555685, + 4554832219.546905, + -8357003654.58067, + 7318898688.088306, + -259062591.95150748, + -613244937.1592278, + -3632273436.0139756, + -38256145.406878, + 5670275103.32331, + -1881255472.6882079, + -4301218264.075632, + 3093866297.3759966, + 2031063106.7473984, + -449730407.0050088, + -3270459077.267769, + 597165807.8234504, + 582736560.950071, + 950743179.536746, + -1820792702.0600574, + 3642573057.057131, + -1264912957.533617, + -1795292635.2439735, + -1048425107.1433004, + 2641957778.582689, + -1429410545.8099773, + -623341127.0551987, + 5023800762.743155, + -4554783580.372635, + -2088424479.1816154, + 5644198472.929765, + -2863450023.9864306, + 92248793.04011966, + -542009514.7021804, + -1309688381.423414, + 2992781390.502771, + -1941775444.4879153, + 1870383930.2530825, + 315221180.2192948, + -2624590923.716304, + -54269544.83085052, + 3223489032.921324, + -2973441327.8611784, + 963671385.3120536, + -2132901292.845218, + 3102400078.6263494, + -72010230.54504916, + 1547867387.6451895, + -5657846180.430776, + 4328202860.243263, + -2261766250.8059106, + 5119061933.863276, + -4268238053.6077194, + 635389467.4965036, + -3192003109.034204, + 5290158939.501091, + -4405286352.033702, + 3854365015.6832514, + -1609144011.9711401, + 367748741.8295449, + -1993849195.4604764, + -1038789221.8547244, + 4330225968.991346, + -2304983235.291214, + 2425600090.750564, + -7144847214.909737, + 9765746004.032879, + -5227359539.933711, + -1962777795.7913141, + 4086996949.406734, + 2229496813.141812, + -6728794722.226615, + -1159406736.2837648, + 22495813934.45443, + -21499480224.626606, + -12193663850.537775, + 15378609217.91479, + 21544925215.807476, + -28312252368.75349, + -6064529150.826967, + -23857035228.141, + 55636829247.95891, + 29105385069.326515, + -83702807709.58934, + 69872618246.96358, + -58378431887.390854, + 43416069125.48087, + -19432743094.54521, + -103368400169.37325, + 123365199435.86726, + -2123010874.953425, + 95721055850.87978, + -212282874232.5892, + 174459072681.66214, + -118528241560.16055, + 59997707466.164345, + -17532140494.646973, + 89283465957.68866, + -400727871100.15607, + 272486165937.96188, + 396711116508.9755, + -282916583583.3318, + -233000811207.06403, + -21806488832.90795, + 294425881585.15607, + 86458997467.50209, + -64178788169.53805, + -21942045558.509953, + -685137777089.0168, + 68654892379.21568, + 1850794422716.399, + -2042875155904.9136, + -62324844837.09371, + 783041794248.9702, + 12889999388.666296, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "difference_arithmetic": "DD(high_values)-full_DD_values", + "direct": [ + 1.2361758911586883e+23, + 1.1750196189589015e+23, + 9.948099550698995e+22, + 7.374457609389766e+22, + 4.721928037135467e+22, + 2.5938659444632655e+22, + 1.230741529769084e+22, + 5.251945359930952e+21, + 2.2774919346485555e+21, + 1.249143005430616e+21, + 9.55464963688951e+20, + 8.853580275171468e+20, + 8.707810536104096e+20, + 8.675415448473141e+20, + 8.661811406757162e+20, + 8.650292804792357e+20, + 8.638372955244221e+20, + 8.625706142474957e+20, + 8.612213708576043e+20, + 8.597844412328036e+20, + 8.582546801965308e+20, + 8.56626874770842e+20, + 8.548957184141694e+20, + 8.53055786911132e+20, + 8.511015615204124e+20, + 8.490276734448459e+20, + 8.46828651828581e+20, + 8.44499331136635e+20, + 8.420346086841053e+20, + 8.394298701474275e+20, + 8.36680774520121e+20, + 8.337836210556173e+20, + 8.307354103422905e+20, + 8.275338984849375e+20, + 8.24177885662741e+20, + 8.206673305785198e+20, + 8.170035084076024e+20, + 8.131891969432246e+20, + 8.092288908321377e+20, + 8.051289477926832e+20, + 8.008977447319283e+20, + 7.96545831186199e+20, + 7.920861096093549e+20, + 7.875338663339617e+20, + 7.829068524793362e+20, + 7.782253322171461e+20, + 7.735120393925299e+20, + 7.687920751236374e+20, + 7.640928083820193e+20, + 7.59443594452145e+20, + 7.548756076296215e+20, + 7.50421439940249e+20, + 7.46114686265508e+20, + 7.419896020378979e+20, + 7.380805028173517e+20, + 7.344212952669861e+20, + 7.310449042590685e+20, + 7.279827493870465e+20, + 7.252640905160427e+20, + 7.229156142382957e+20, + 7.209608411314532e+20, + 7.194196758461024e+20, + 7.183080655175519e+20, + 7.176376300203354e+20, + 7.174154316338748e+20, + 7.176438628380114e+20, + 7.183205524485767e+20, + 7.194384581472707e+20, + 7.20985961842174e+20, + 7.229471603299409e+20, + 7.253021206517964e+20, + 7.280273286052162e+20, + 7.310961296960667e+20, + 7.344791804288707e+20, + 7.381451000313112e+20, + 7.420608999586291e+20, + 7.461926668347494e+20, + 7.505060046876863e+20, + 7.54966661385282e+20, + 7.595409525129886e+20, + 7.641962409201918e+20, + 7.689013549917235e+20, + 7.73626801239957e+20, + 7.783452548180016e+20, + 7.830314831550159e+20, + 7.876628150461706e+20, + 7.92218858885358e+20, + 7.966819128439395e+20, + 8.010365979784683e+20, + 8.052701095243982e+20, + 8.093717754424349e+20, + 8.133332836244893e+20, + 8.171482753162354e+20, + 8.208122896982479e+20, + 8.243225297354711e+20, + 8.276777755177935e+20, + 8.308780837953748e+20, + 8.339247035831002e+20, + 8.368198469349448e+20, + 8.39566624345454e+20, + 8.42168790049289e+20, + 8.446305977739797e+20, + 8.469568394859022e+20, + 8.491525145841245e+20, + 8.512229539540149e+20, + 8.531735485159221e+20, + 8.550097888439514e+20, + 8.567371047071378e+20, + 8.583602666712872e+20, + 8.598788937013173e+20, + 8.612545739784423e+20, + 8.6220988204826e+20, + 8.611964964791672e+20, + 8.509916823448913e+20, + 8.032679964420915e+20, + 6.249683363826254e+20, + 6.1688792483583754e+19, + -1.4600324472152937e+21, + -4.990531644292327e+21, + -1.2050764117854659e+22, + -2.427282866214781e+22, + -4.267883760876785e+22, + -6.691569837969978e+22, + -9.493742291183104e+22, + -1.2341434068315494e+23, + -1.486921830319918e+23, + -1.678113417312718e+23, + -1.791449639265362e+23, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "direct_maximum_absolute": 1.791449639265362e+23, + "eliminated": [ + 1.2361758911586787e+23, + 1.1750196189589035e+23, + 9.948099550699113e+22, + 7.374457609389539e+22, + 4.721928037135483e+22, + 2.5938659444634182e+22, + 1.2307415297689372e+22, + 5.251945359932081e+21, + 2.2774919346491142e+21, + 1.2491430054328043e+21, + 9.55464963684032e+20, + 8.853580275151682e+20, + 8.707810536160322e+20, + 8.675415448458128e+20, + 8.661811406772202e+20, + 8.650292804746808e+20, + 8.638372955327791e+20, + 8.625706142401768e+20, + 8.612213708578632e+20, + 8.597844412334169e+20, + 8.582546802001631e+20, + 8.566268747708803e+20, + 8.548957184084991e+20, + 8.530557869130133e+20, + 8.511015615247137e+20, + 8.49027673441752e+20, + 8.468286518265499e+20, + 8.444993311370847e+20, + 8.420346086873758e+20, + 8.394298701468303e+20, + 8.366807745195383e+20, + 8.337836210546665e+20, + 8.307354103441114e+20, + 8.275338984812949e+20, + 8.24177885664006e+20, + 8.206673305803151e+20, + 8.170035084086508e+20, + 8.131891969405826e+20, + 8.092288908335672e+20, + 8.051289477933066e+20, + 8.008977447269044e+20, + 7.965458311907537e+20, + 7.920861096114432e+20, + 7.875338663283175e+20, + 7.829068524821996e+20, + 7.782253322170538e+20, + 7.735120393930719e+20, + 7.68792075124947e+20, + 7.640928083790265e+20, + 7.594435944540868e+20, + 7.548756076277511e+20, + 7.504214399399338e+20, + 7.461146862681326e+20, + 7.419896020379522e+20, + 7.380805028141282e+20, + 7.344212952699596e+20, + 7.310449042581049e+20, + 7.279827493891795e+20, + 7.252640905129403e+20, + 7.229156142383677e+20, + 7.209608411299054e+20, + 7.194196758517602e+20, + 7.183080655132236e+20, + 7.176376300225972e+20, + 7.174154316287558e+20, + 7.176438628422796e+20, + 7.183205524479413e+20, + 7.194384581504627e+20, + 7.209859618368837e+20, + 7.229471603343462e+20, + 7.253021206479421e+20, + 7.280273286068253e+20, + 7.310961296956989e+20, + 7.344791804308645e+20, + 7.3814510003235e+20, + 7.420608999542988e+20, + 7.461926668370544e+20, + 7.505060046852607e+20, + 7.549666613924269e+20, + 7.595409525032228e+20, + 7.641962409254192e+20, + 7.689013549936863e+20, + 7.736268012358701e+20, + 7.78345254815772e+20, + 7.830314831617448e+20, + 7.8766281504733e+20, + 7.922188588628623e+20, + 7.96681912865439e+20, + 8.01036597990662e+20, + 8.052701095090196e+20, + 8.0937177542089e+20, + 8.133332836528015e+20, + 8.171482753223e+20, + 8.20812289722105e+20, + 8.243225296798343e+20, + 8.276777754886882e+20, + 8.308780838790777e+20, + 8.339247035132276e+20, + 8.368198469933232e+20, + 8.39566624302038e+20, + 8.421687900687217e+20, + 8.44630597877348e+20, + 8.469568393625369e+20, + 8.491525145862474e+20, + 8.512229538582938e+20, + 8.53173548728205e+20, + 8.550097886694923e+20, + 8.567371048256661e+20, + 8.583602666112895e+20, + 8.598788937188495e+20, + 8.612545738891588e+20, + 8.622098824489878e+20, + 8.611964962066811e+20, + 8.509916819481802e+20, + 8.03267996725008e+20, + 6.249683366156262e+20, + 6.168879250539024e+19, + -1.4600324475097197e+21, + -4.990531644378787e+21, + -1.205076411779048e+22, + -2.427282866212587e+22, + -4.267883760808271e+22, + -6.691569837976843e+22, + -9.493742291368183e+22, + -1.2341434068111207e+23, + -1.4869218303192948e+23, + -1.6781134173205482e+23, + -1.791449639265491e+23, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "eliminated_maximum_absolute": 1.791449639265491e+23, + "floor_active": true, + "maximum_absolute_difference": 2042875155904.9136, + "normalization_floor": 1.791449639414751e+23, + "normalization_scale": 1.791449639414751e+23, + "relative_error": 1.1403475213360174e-11, + "within_original_limit": true + } + } + }, + "cross_representation_role": "diagnostic_only_not_original_gate_channels", + "full_DD_transport": { + "positive_flux_m2_s": { + "hi": [ + -7295196079946.111, + -21593358072574.188, + -34447586129662.734, + -44564289715386.59, + -51440663457189.586, + -55449722793477.445, + -57468254893837.516, + -58382109069637.63, + -58802458302273.984, + -59046950812804.18, + -59245224729346.086, + -59439966190339.945, + -59642931529676.76, + -59857148792207.24, + -60083662659749.94, + -60323160577156.46, + -60576290026352.17, + -60843708642625.016, + -61126089722634.43, + -61424121386471.74, + -61738504655980.51, + -62069951167995.26, + -62419180496886.45, + -62786917055199.79, + -63173886562622.04, + -63580812166288.19, + -64008409975692.42, + -64457384305973.66, + -64928422318106.26, + -65422188403206.66, + -65939317990514.984, + -66480411130744.42, + -67046025736540.805, + -67636670522724.86, + -68252797880151.39, + -68894796667250.195, + -69562985055666.87, + -70257603578334.81, + -70978808549678.0, + -71726665958754.1, + -72501146004594.64, + -73302118440399.89, + -74129348927313.95, + -74982496414897.38, + -75861111742813.4, + -76764637565325.7, + -77692409604919.86, + -78643659235795.98, + -79617517436605.77, + -80613019881532.69, + -81629113261400.23, + -82664662444764.7, + -83718458315533.81, + -84789226223083.23, + -85875634491499.48, + -86976302955394.73, + -88089811157464.27, + -89214706069903.89, + -90349508945482.19, + -91492721502450.45, + -92642831040737.92, + -93798314623221.17, + -94957642455392.42, + -96119280421220.72, + -97281692038069.97, + -98443340092945.55, + -99602688078657.67, + -100758201828008.08, + -101908351439990.33, + -103051613883684.44, + -104186476264079.14, + -105311440061303.7, + -106425026288600.67, + -107525781504298.38, + -108612284855773.64, + -109683155653606.81, + -110737061662405.7, + -111772727541467.16, + -112788943483418.52, + -113784573548324.92, + -114758563576881.86, + -115709948423036.81, + -116637858111204.66, + -117541523164811.3, + -118420278359207.02, + -119273565538910.81, + -120100934665079.56, + -120902043938799.42, + -121676658257813.78, + -122424646787296.45, + -123145979100947.69, + -123840720701122.75, + -124509027487526.38, + -125151139674525.17, + -125767375162898.66, + -126358122639986.88, + -126923834386502.48, + -127465019083760.16, + -127982234627974.83, + -128476081154058.12, + -128947194227869.3, + -129396238345531.8, + -129823900881973.16, + -130230886320035.36, + -130617911020790.17, + -130985698344042.08, + -131334974271225.72, + -131666463433510.11, + -131980885379884.73, + -132278949784290.53, + -132561341751057.0, + -132828648531388.7, + -133081004149583.72, + -133316615521542.16, + -133526677057249.56, + -133680997051529.3, + -133695375736793.69, + -133374230117631.58, + -132338616785519.38, + -129979942430260.33, + -125499985883845.47, + -118073740694015.78, + -107098935511084.14, + -92425480141979.48, + -74453094181258.06, + -54054648343928.84, + -32371258001919.58, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "lo": [ + 0.0001776861420856344, + 0.0004452469885055489, + -0.0017156879646828282, + 0.003540242579484045, + 0.0016045510130751489, + 0.003693217071200735, + -0.002808857700905224, + -0.0021060955186863193, + -0.0023396745116589703, + 0.0014141292731661903, + -0.0027948274764100266, + 0.0006506269500309128, + 0.0016955236006548629, + 0.003152367969548998, + 0.00033694334703532314, + 0.0014984002700903266, + 0.0014520771422210327, + 0.0023043157442144877, + 0.002349924967080623, + -0.0017484303517466392, + 0.003197033010649075, + -0.001970538908768819, + 0.0019640469255599088, + -0.0030388959124783427, + -0.003459709021347088, + -0.0017942229978173338, + 0.003659749999695331, + 0.0003490582434889926, + -0.0013685005482774997, + -0.0022920164543461033, + -0.0018688153480232554, + 0.003788183897787949, + -0.0035493884300494653, + -0.0010725027009429345, + 0.0034576756655581445, + -0.0014999512071610435, + 0.0011379641853290882, + -0.001210499478785177, + -0.0006211630343462169, + -0.006302146678333391, + -0.007641491456774608, + 0.0072141967615517374, + 0.00487891143934018, + -0.0031125195166837516, + 0.0033430289283035014, + -0.007027824117693721, + -0.00495435336951274, + 0.005029866601568524, + -0.00697652330128249, + 0.0004818212889390492, + 0.0053496270209882416, + 0.007157766897396061, + -0.005406865581717783, + 0.007534112056362124, + -0.0029832029951956636, + 0.0018347716798872745, + -0.00569286413249083, + -0.0015528179615879765, + 0.0018190740551760056, + -0.006723536577598095, + 0.004691430046185942, + 0.006530341780039209, + -0.006441741283224587, + -0.0012261389716341333, + -0.004008798976647823, + 0.0051994204589010315, + -0.004315511061475672, + -0.003888212279490034, + -0.003258518331785103, + 0.0017347595473884926, + -0.003973008407124986, + -0.0005613759411061733, + 0.00025673914018547344, + -0.005086980942395243, + 0.004001820440903622, + 0.004022453088153975, + -0.004862602044224552, + 0.0008244760752101762, + -0.003658286577696431, + 0.002933127620479799, + -0.0038322459291615443, + -0.000880851905929105, + 0.006375895921698067, + -0.0015464476171218081, + 0.00356521110726892, + -0.007176573469194043, + -0.0013425438293032288, + 0.0034140982228523242, + 0.0014209005323835026, + 0.001089840594730464, + 0.0031186198207845822, + -0.007593795553225235, + 0.0001198410735656733, + 0.006080993248985944, + -0.001193650164775489, + 0.0009290965669674217, + -0.002324404604736147, + -0.0047227396887385645, + -0.0007509445121898393, + -0.00425028636336147, + 0.0062751445434377565, + 0.001963743838632369, + 0.002690704589147149, + -0.007766929198247386, + 0.0015764268454644507, + -0.004433171421566536, + 0.005777460124497591, + 0.007347301231007072, + 0.003510091996548156, + -0.00591336802733743, + -0.0067326171680934885, + -0.005827655978598075, + 0.00037033168311498597, + 0.0013023568661143928, + -0.0029859112071651253, + 0.001107793090964561, + 0.007171495746041484, + -0.007199801407797744, + 0.002692641695295209, + 0.0037415517674632835, + -0.004623821120605534, + 0.0006740413636410858, + 0.00156341279988564, + 0.001136314680357644, + 0.004466081984753047, + -0.002196984989454108, + 0.000904449580102751, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + }, + "positive_rate_m3_s": { + "hi": [ + 1.2361758911586787e+23, + 1.1750196189589035e+23, + 9.948099550699113e+22, + 7.374457609389539e+22, + 4.721928037135483e+22, + 2.5938659444634182e+22, + 1.2307415297689372e+22, + 5.251945359932081e+21, + 2.2774919346491142e+21, + 1.2491430054328043e+21, + 9.55464963684032e+20, + 8.853580275151682e+20, + 8.707810536160322e+20, + 8.675415448458128e+20, + 8.661811406772202e+20, + 8.650292804746808e+20, + 8.638372955327791e+20, + 8.625706142401768e+20, + 8.612213708578632e+20, + 8.597844412334169e+20, + 8.582546802001631e+20, + 8.566268747708803e+20, + 8.548957184084991e+20, + 8.530557869130133e+20, + 8.511015615247137e+20, + 8.49027673441752e+20, + 8.468286518265499e+20, + 8.444993311370847e+20, + 8.420346086873758e+20, + 8.394298701468303e+20, + 8.366807745195383e+20, + 8.337836210546665e+20, + 8.307354103441114e+20, + 8.275338984812949e+20, + 8.24177885664006e+20, + 8.206673305803151e+20, + 8.170035084086508e+20, + 8.131891969405826e+20, + 8.092288908335672e+20, + 8.051289477933066e+20, + 8.008977447269044e+20, + 7.965458311907537e+20, + 7.920861096114432e+20, + 7.875338663283175e+20, + 7.829068524821996e+20, + 7.782253322170538e+20, + 7.735120393930719e+20, + 7.68792075124947e+20, + 7.640928083790265e+20, + 7.594435944540868e+20, + 7.548756076277511e+20, + 7.504214399399338e+20, + 7.461146862681326e+20, + 7.419896020379522e+20, + 7.380805028141282e+20, + 7.344212952699596e+20, + 7.310449042581049e+20, + 7.279827493891795e+20, + 7.252640905129403e+20, + 7.229156142383677e+20, + 7.209608411299054e+20, + 7.194196758517602e+20, + 7.183080655132236e+20, + 7.176376300225972e+20, + 7.174154316287558e+20, + 7.176438628422796e+20, + 7.183205524479413e+20, + 7.194384581504627e+20, + 7.209859618368837e+20, + 7.229471603343462e+20, + 7.253021206479421e+20, + 7.280273286068253e+20, + 7.310961296956989e+20, + 7.344791804308645e+20, + 7.3814510003235e+20, + 7.420608999542988e+20, + 7.461926668370544e+20, + 7.505060046852607e+20, + 7.549666613924269e+20, + 7.595409525032228e+20, + 7.641962409254192e+20, + 7.689013549936863e+20, + 7.736268012358701e+20, + 7.78345254815772e+20, + 7.830314831617448e+20, + 7.8766281504733e+20, + 7.922188588628623e+20, + 7.96681912865439e+20, + 8.01036597990662e+20, + 8.052701095090196e+20, + 8.0937177542089e+20, + 8.133332836528015e+20, + 8.171482753223e+20, + 8.20812289722105e+20, + 8.243225296798343e+20, + 8.276777754886882e+20, + 8.308780838790777e+20, + 8.339247035132276e+20, + 8.368198469933232e+20, + 8.39566624302038e+20, + 8.421687900687217e+20, + 8.44630597877348e+20, + 8.469568393625369e+20, + 8.491525145862474e+20, + 8.512229538582938e+20, + 8.53173548728205e+20, + 8.550097886694923e+20, + 8.567371048256661e+20, + 8.583602666112895e+20, + 8.598788937188495e+20, + 8.612545738891588e+20, + 8.622098824489878e+20, + 8.611964962066811e+20, + 8.509916819481802e+20, + 8.03267996725008e+20, + 6.249683366156262e+20, + 6.168879250539024e+19, + -1.4600324475097197e+21, + -4.990531644378787e+21, + -1.205076411779048e+22, + -2.427282866212587e+22, + -4.267883760808271e+22, + -6.691569837976843e+22, + -9.493742291368183e+22, + -1.2341434068111207e+23, + -1.4869218303192948e+23, + -1.6781134173205482e+23, + -1.791449639265491e+23, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "lo": [ + -3704088.708914647, + 3664835.071817834, + -3093301.350407332, + 2057997.0688777443, + -9198.973565244813, + -1037848.7482293858, + 249958.33393704373, + -128354.93924595088, + -100526.86706625017, + 67998.2862857577, + -10010.416395820783, + -7848.967985585646, + -18520.61571119775, + 37677.79867237225, + 7660.555568391863, + 50852.453095125355, + -15993.41932926289, + 30719.91169395205, + 64319.951507484235, + -40950.84077210293, + 6172.013975470424, + -16878.593121997514, + 30688.676689674347, + -20943.311792108267, + -40487.924367626525, + -42809.375996787465, + 28605.252601544278, + 22375.005008845557, + -49466.73223114825, + -1775.8234504777479, + 9551.049929056371, + 53108.46325403229, + -59521.939942628705, + 48894.9428692218, + -62914.4663829093, + -548.7560264274584, + -19820.856699558997, + 60525.417311175595, + -60686.190022683106, + -37304.94480137512, + 57925.25684558828, + 31580.372634559415, + 54303.181615306385, + 23991.070235714174, + 51111.98643059171, + 25894.95988033041, + 26794.702180358738, + 16957.423413979795, + -14414.502770801708, + -56235.5120847047, + 13509.746917426775, + 6979.780705242518, + 5195.716303994368, + 5736.8308505206705, + -35336.921323952876, + -58064.13882137829, + -30041.312053561796, + -33363.15478198731, + -56910.62634956075, + 51702.54504915434, + -38139.64518943828, + -7771.569224066394, + 56723.7567365999, + -12181.19408919162, + -44973.86327536774, + 9445.607719582837, + 47588.50349640207, + 6693.034204143048, + 38052.498908984264, + -43567.96629792864, + -61783.68325125516, + -26932.02885994561, + 39290.17045510858, + -18068.53952364178, + 43621.854724370845, + -304.9913459718038, + -48956.70878622067, + 18341.249435834306, + -18577.09026335225, + 35499.96712175816, + -53964.06628907053, + -25404.208685756425, + -40917.406734041, + 37906.85818825855, + -48541.773385232744, + -56175.71623508602, + -57646.45443104215, + 2208.6266072069157, + 35690.53777481421, + -62529.91478950743, + 34784.19252473001, + 45008.753491034724, + -41217.173032710525, + -34851.8590027634, + -42047.958904383944, + -61037.32651674075, + -33634.41065962907, + 29945.03642104625, + 11663.390854010884, + -41989.48087144306, + 8374.545210594359, + 40233.37324946677, + 29108.132742620914, + 37690.95342490966, + 39317.1202223814, + -26247.410784985474, + -12457.662141144816, + -36967.839442756645, + -23754.164342182237, + -50225.353025654826, + 27930.311345827326, + 3708.156079580987, + -60849.96189366434, + 49443.02448053914, + 30879.331785051014, + 15047.064021964467, + -767.0920478460059, + 103438.84391630483, + 288036.49791038386, + -354486.4619496965, + 1641334.5099538488, + -1781310.9832089439, + -2524507.215684162, + 937539.6011274098, + -2550335.086478344, + -2512602.906286127, + -15569096.970223583, + -5097500.666296599, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + } + }, + "original_gate_uses": "actual_direct_high_minus_same_word_reference_high", + "rounding": "one_binary64_round_to_nearest_ties_to_even_before_SG", + "same_word_transport": { + "positive_flux_m2_s": { + "hi": [ + -7295196079946.168, + -21593358072574.22, + -34447586129662.617, + -44564289715386.78, + -51440663457189.75, + -55449722793477.375, + -57468254893837.695, + -58382109069637.61, + -58802458302273.86, + -59046950812803.625, + -59245224729346.555, + -59439966190340.84, + -59642931529676.35, + -59857148792207.2, + -60083662659749.51, + -60323160577157.29, + -60576290026350.555, + -60843708642625.664, + -61126089722634.99, + -61424121386472.09, + -61738504655979.52, + -62069951167994.266, + -62419180496887.77, + -62786917055200.305, + -63173886562620.6, + -63580812166288.23, + -64008409975693.484, + -64457384305974.484, + -64928422318105.26, + -65422188403206.01, + -65939317990514.695, + -66480411130744.74, + -67046025736539.89, + -67636670522726.55, + -68252797880152.125, + -68894796667249.53, + -69562985055665.34, + -70257603578335.55, + -70978808549677.47, + -71726665958752.98, + -72501146004598.39, + -73302118440399.05, + -74129348927310.92, + -74982496414900.47, + -75861111742813.28, + -76764637565325.7, + -77692409604919.2, + -78643659235793.7, + -79617517436607.3, + -80613019881531.67, + -81629113261401.73, + -82664662444766.64, + -83718458315532.05, + -84789226223081.38, + -85875634491502.39, + -86976302955393.17, + -88089811157464.19, + -89214706069900.5, + -90349508945483.66, + -91492721502451.81, + -92642831040741.73, + -93798314623215.9, + -94957642455394.16, + -96119280421218.78, + -97281692038076.33, + -98443340092944.98, + -99602688078658.14, + -100758201828003.42, + -101908351439994.11, + -103051613883681.25, + -104186476264082.0, + -105311440061304.06, + -106425026288601.6, + -107525781504296.31, + -108612284855770.05, + -109683155653609.47, + -110737061662405.11, + -111772727541469.9, + -112788943483411.64, + -113784573548330.84, + -114758563576881.12, + -115709948423033.66, + -116637858111206.39, + -117541523164815.62, + -118420278359203.8, + -119273565538906.34, + -120100934665098.58, + -120902043938796.81, + -121676658257799.39, + -122424646787296.34, + -123145979100966.78, + -123840720701117.67, + -124509027487516.33, + -125151139674496.45, + -125767375162911.53, + -126358122640020.53, + -126923834386479.14, + -127465019083782.17, + -127982234627960.75, + -128476081154069.6, + -128947194227869.88, + -129396238345477.42, + -129823900881981.08, + -130230886320042.28, + -130617911020840.6, + -130985698344001.0, + -131334974271255.9, + -131666463433494.42, + -131980885379891.03, + -132278949784290.77, + -132561341751086.5, + -132828648531293.97, + -133081004149568.83, + -133316615521637.11, + -133526677057270.53, + -133680997051492.72, + -133695375736752.03, + -133374230117654.69, + -132338616785560.42, + -129979942430288.81, + -125499985883869.9, + -118073740693921.0, + -107098935511000.62, + -92425480142182.02, + -74453094181163.1, + -54054648343825.336, + -32371258001917.246, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "lo": [ + 0.0004452578016123854, + -0.00014287499136927926, + 7.387599451960903e-06, + -0.0017618770163955128, + -0.003185754584214454, + 0.00013402124875833864, + 0.002742127088498436, + -0.0032325049461576503, + -0.0019350864580682241, + 0.00048536630600431286, + -0.001058368611583753, + -0.0031561690585767983, + 0.0037245312306325986, + 0.0016728804026802753, + 0.0015579844005436765, + -0.0005634210901068713, + 0.0029359274024784807, + 0.00036990214153772135, + -0.0005977680953382306, + -0.0030583391370695065, + -0.003542603455270745, + -0.0017251510527854644, + -0.0016251027613052914, + -0.0003377503167308269, + 0.0017697608129329987, + -0.0028602667931858132, + 0.0004395145414622233, + 0.0018752209512490313, + 0.0015164216428562615, + 0.000891380385781162, + 0.0005304613539394042, + -0.0014327699185927446, + -0.0034151028087426047, + 0.0007770561613241012, + -0.0022051746471742906, + -0.0011550271195229984, + -0.000488261939315078, + -0.0017508802444543003, + 0.007196009465421618, + 0.0024171422794374764, + 0.0023397166924996405, + 0.0034957406255131628, + -0.00527719833323257, + -0.002760025828082172, + -0.0016262900838986873, + 0.005890926228158521, + 0.0018276617176290516, + 0.007288035019958185, + -0.0066305040363870875, + -0.0007773681170391584, + 0.002042581997977396, + 0.006323616983546962, + -0.00246131255774432, + -0.004893246398163211, + 0.005435039221976338, + -0.002273092736779962, + 0.006777520581805308, + -0.0057793151573743845, + 0.002772469195755519, + -0.0012700479700221078, + -0.0060270267716753465, + 0.005020222871411464, + 0.006438999596122482, + 0.0009539506341903199, + 0.0006702804212235813, + -0.0029997684936000826, + -0.006745241488361602, + -0.004640320759963998, + -0.005684954612273778, + -0.002907753853370682, + 0.007342249915122738, + -0.0028156115518050986, + 0.0003962903463918275, + -0.0012131531287963642, + 0.005754719298812074, + 0.006778689262215761, + 0.0034127950791667744, + 0.005676574823594902, + -0.006533529392060531, + -0.00435824227274017, + -0.00495801695084451, + 0.004669190167430441, + 0.0005285985750914168, + -0.0021468725113539876, + 0.0075100195127141625, + 0.002738254422135594, + -0.0009553071250211694, + -0.002196059174665946, + 0.005998425597458397, + 0.0022493336435044395, + 0.006079680478449321, + 0.007542075996284276, + 0.006448468091135053, + 0.003626258888382918, + -0.002131607032036808, + 0.0074936979314715185, + -0.005874877846027559, + 0.006486688176876058, + -0.001134589932171353, + 0.0041794132755765215, + -0.0051304055482967025, + -0.007242912247659081, + -0.001686666623977066, + 0.005384982678787859, + -0.0066896457492154615, + -0.001471075960264939, + 0.006943226850600413, + -0.005494482962122089, + -0.0024445436243308964, + 0.002872795317893537, + -0.006993399431540902, + -0.004725390383593729, + -0.001136282374043056, + 0.007410374502079999, + 0.003883272657852944, + -0.0053008633504490485, + 0.005386145360803495, + -0.004667100367453888, + 0.001085702865733267, + 0.0014236251415261734, + -0.004413559266219964, + -0.001792479797358334, + 0.004660109599398646, + -0.006099995084985939, + -0.00579955356302957, + -0.0017280073859869353, + 3.346411105516705e-05, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + }, + "positive_rate_m3_s": { + "hi": [ + 1.2361758911586883e+23, + 1.1750196189589015e+23, + 9.948099550698995e+22, + 7.374457609389766e+22, + 4.721928037135467e+22, + 2.5938659444632655e+22, + 1.230741529769084e+22, + 5.251945359930952e+21, + 2.2774919346485555e+21, + 1.249143005430616e+21, + 9.55464963688951e+20, + 8.853580275171468e+20, + 8.707810536104096e+20, + 8.675415448473141e+20, + 8.661811406757162e+20, + 8.650292804792357e+20, + 8.638372955244221e+20, + 8.625706142474957e+20, + 8.612213708576043e+20, + 8.597844412328036e+20, + 8.582546801965308e+20, + 8.56626874770842e+20, + 8.548957184141694e+20, + 8.53055786911132e+20, + 8.511015615204124e+20, + 8.490276734448459e+20, + 8.46828651828581e+20, + 8.44499331136635e+20, + 8.420346086841053e+20, + 8.394298701474275e+20, + 8.36680774520121e+20, + 8.337836210556173e+20, + 8.307354103422905e+20, + 8.275338984849375e+20, + 8.24177885662741e+20, + 8.206673305785198e+20, + 8.170035084076024e+20, + 8.131891969432246e+20, + 8.092288908321377e+20, + 8.051289477926832e+20, + 8.008977447319283e+20, + 7.96545831186199e+20, + 7.920861096093549e+20, + 7.875338663339617e+20, + 7.829068524793362e+20, + 7.782253322171461e+20, + 7.735120393925299e+20, + 7.687920751236374e+20, + 7.640928083820193e+20, + 7.59443594452145e+20, + 7.548756076296215e+20, + 7.50421439940249e+20, + 7.46114686265508e+20, + 7.419896020378979e+20, + 7.380805028173517e+20, + 7.344212952669861e+20, + 7.310449042590685e+20, + 7.279827493870465e+20, + 7.252640905160427e+20, + 7.229156142382957e+20, + 7.209608411314532e+20, + 7.194196758461024e+20, + 7.183080655175519e+20, + 7.176376300203354e+20, + 7.174154316338748e+20, + 7.176438628380114e+20, + 7.183205524485767e+20, + 7.194384581472707e+20, + 7.20985961842174e+20, + 7.229471603299409e+20, + 7.253021206517964e+20, + 7.280273286052162e+20, + 7.310961296960667e+20, + 7.344791804288707e+20, + 7.381451000313112e+20, + 7.420608999586291e+20, + 7.461926668347494e+20, + 7.505060046876863e+20, + 7.54966661385282e+20, + 7.595409525129886e+20, + 7.641962409201918e+20, + 7.689013549917235e+20, + 7.73626801239957e+20, + 7.783452548180016e+20, + 7.830314831550159e+20, + 7.876628150461706e+20, + 7.92218858885358e+20, + 7.966819128439395e+20, + 8.010365979784683e+20, + 8.052701095243982e+20, + 8.093717754424349e+20, + 8.133332836244893e+20, + 8.171482753162354e+20, + 8.208122896982479e+20, + 8.243225297354711e+20, + 8.276777755177935e+20, + 8.308780837953748e+20, + 8.339247035831002e+20, + 8.368198469349448e+20, + 8.39566624345454e+20, + 8.42168790049289e+20, + 8.446305977739797e+20, + 8.469568394859022e+20, + 8.491525145841245e+20, + 8.512229539540149e+20, + 8.531735485159221e+20, + 8.550097888439514e+20, + 8.567371047071378e+20, + 8.583602666712872e+20, + 8.598788937013173e+20, + 8.612545739784423e+20, + 8.6220988204826e+20, + 8.611964964791672e+20, + 8.509916823448913e+20, + 8.032679964420915e+20, + 6.249683363826254e+20, + 6.1688792483583754e+19, + -1.4600324472152937e+21, + -4.990531644292327e+21, + -1.2050764117854659e+22, + -2.427282866214781e+22, + -4.267883760876785e+22, + -6.691569837969978e+22, + -9.493742291183104e+22, + -1.2341434068315494e+23, + -1.486921830319918e+23, + -1.678113417312718e+23, + -1.791449639265362e+23, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "lo": [ + -4760213.508819294, + 3363933.1787074143, + 4642732.302521535, + 939958.5951117674, + 3305731.843816653, + 1314600.7618380468, + 999516.0254351846, + 198143.99242766915, + -41991.53235189503, + -69144.78314754921, + 2782.4805801902958, + 29823.29454312074, + 46305.86889888236, + -8624.925114660162, + -4262.527384461853, + 48364.68391395165, + -44594.200503722226, + 1054.6688582770935, + 56026.673557059825, + -8432.160563115556, + 36502.98596068558, + 11793.589249870907, + -5413.104690824833, + -7854.77871466376, + -49836.214760599, + 34597.56338166325, + 52138.64044402019, + -45553.872869816136, + 46495.18761118718, + 2616.831906265166, + -23409.38597679757, + -175.7409256864111, + -36885.12003320362, + -8589.645969322737, + -8939.488866053856, + -10373.811239727991, + 65145.27753105668, + -10182.723360497983, + -63084.41230910634, + -28364.722058461175, + 23712.71512809426, + 45066.94337944178, + 23222.119977341234, + 41380.35416964399, + 63889.16538243789, + 8910.869723686115, + -9877.762480722547, + 32972.18807672558, + 20732.987302523954, + 53604.39308053057, + 44383.07728867824, + 25716.508918271807, + 6679.103831478037, + -41930.4299809709, + 3706.050115767645, + 24871.286478938444, + -27531.39601244725, + 1775.9036200372718, + -34482.18921336091, + 801.8186379109147, + 42914.38073028524, + -50221.92709572267, + 11514.235698164925, + -36961.56255057247, + 48421.884509254065, + -7463.660267167879, + -11860.294279680978, + 64418.69748414613, + 45183.901191330435, + -32780.68011712685, + 55688.26160751948, + 35022.362318371706, + -25547.48774505639, + 32567.36541128471, + -65494.58567971814, + 21990.618243229394, + -8390.495640133955, + -36296.53815711969, + -12387.17328139487, + 34679.62557430084, + 3194.526488842857, + 43137.564825518355, + -30393.943523104597, + 34049.38445874149, + -41503.11643849448, + 30497.317301121177, + -35312.387002008334, + -44141.54978507398, + 17419.372830392218, + -9497.411675958114, + -57555.24224739408, + 9889.306652412877, + -63863.61578406894, + -2983.1887284160493, + 42616.56835942221, + 61399.80664552659, + 26781.044757205098, + 5450.416151188803, + -63067.64521636316, + 59332.28946810491, + -43554.770835989315, + 53382.51365322634, + 133.22052443807536, + -7465.739811350694, + 43863.40951540425, + -25010.080259084873, + -32974.4521851424, + 41046.778260857405, + 20265.98645274565, + 53409.32227455726, + 40938.63368209544, + -15282.991215251539, + -41024.82327801216, + -54564.76620055921, + -433.5163222489915, + 47539.137494601346, + 2367.412338164805, + 85472.26884904056, + 222009.89811620995, + -972782.1989799532, + 1995747.8689554976, + -310738.8736609957, + 75557.37601381997, + -1037594.0916398583, + -2877686.621300851, + 2057730.0442446047, + -15330418.81553666, + 10815941.76164035, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + } + } + }, + "schema": "R1GlobalIonReferenceSolveV1", + "used_direct_carriers": false, + "used_direct_flux_or_rate": false, + "used_direct_phi": false, + "used_direct_sheet_charge": false, + "used_historical_residual": false, + "used_rebased_population_origin": false + }, + "legacy_binary64": { + "difference": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 299011145728.0, + -281959989248.0, + 0.0, + 0.0, + -375166074880.0, + 521319481344.0, + -306903121920.0, + 140777226240.0, + 0.0, + 0.0, + 94902812672.0, + -89769246720.0, + 0.0, + 0.0, + 122378387456.0, + -170918281216.0, + 52098367488.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 24317657088.0, + -45278167040.0, + 974127104.0, + 19197722624.0, + -50273189888.0, + 48087040000.0, + 0.0, + -51719569408.0, + 25804275712.0, + 55874289664.0, + -62247927808.0, + 76571213824.0, + -36721786880.0, + -49384652800.0, + 54855335936.0, + -50688163840.0, + 88749637632.0, + -65122074624.0, + 333840384.0, + -5421006848.0, + 43921309696.0, + -31772639232.0, + -9863692288.0, + 5074059264.0, + -36875927552.0, + 67970793472.0, + -9019719680.0, + -17176068096.0, + -29167321088.0, + 57710608384.0, + -40674263040.0, + 56314953728.0, + -120023154688.0, + 95855443968.0, + 16062349312.0, + -64408387584.0, + 24272175104.0, + 24761073664.0, + 25432555520.0, + -120122769408.0, + 34299314176.0, + 90405470208.0, + -46290567168.0, + 9766043648.0, + -30316691456.0, + -464650240.0, + 10620764160.0, + 23158194176.0, + -24423956480.0, + 38923665408.0, + 833355776.0, + -162030288896.0, + 90290651136.0, + 133813501952.0, + 3216506880.0, + -192340951040.0, + -130882076672.0, + 630871818240.0, + -603440414720.0, + 45074874368.0, + 697535299584.0, + -872788787200.0, + 685708279808.0, + -866123382784.0, + 733700161536.0, + -452644438016.0, + 549291425792.0, + -1109421326336.0, + 1200903421952.0, + -392185905152.0, + 380745940992.0, + 359108182016.0, + -1175678877696.0, + -125743923200.0, + -30229266432.0, + 611834265600.0, + 432017113088.0, + -456330444800.0, + 1436082372608.0, + -2320892035072.0, + 1297928814592.0, + -2485781528576.0, + 720111534080.0, + 3700522745856.0, + -10131449577472.0, + 16998883704832.0, + -12838467534848.0, + 5792032882688.0, + 1820283895808.0, + -4820580696064.0, + -12887888232448.0, + 16797247995904.0, + 2870950756352.0, + -4742449201152.0, + -7973841666048.0, + 29330331664384.0, + -15740988030976.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "direct": [ + 1.2361758911616075e+23, + 1.1750196189572135e+23, + 9.948099550698177e+22, + 7.374457609438379e+22, + 4.721928037086942e+22, + 2.593865944444358e+22, + 1.2307415297993812e+22, + 5.251945359873942e+21, + 2.2774919346486048e+21, + 1.2491430057467553e+21, + 9.554649634138514e+20, + 8.853580272737668e+20, + 8.707810536730842e+20, + 8.675415451193082e+20, + 8.661811404434696e+20, + 8.650292806335779e+20, + 8.638372954965731e+20, + 8.62570614167882e+20, + 8.612213708892197e+20, + 8.59784441302056e+20, + 8.582546801180217e+20, + 8.566268747560868e+20, + 8.548957185613144e+20, + 8.530557867754298e+20, + 8.511015615658656e+20, + 8.490276734218038e+20, + 8.468286518744779e+20, + 8.444993311250581e+20, + 8.420346086715355e+20, + 8.394298700925598e+20, + 8.366807745525675e+20, + 8.33783621098736e+20, + 8.307354103141522e+20, + 8.275338984349208e+20, + 8.241778857016968e+20, + 8.206673305499591e+20, + 8.170035084239093e+20, + 8.13189196980091e+20, + 8.09228890773801e+20, + 8.051289478048905e+20, + 8.008977447839084e+20, + 7.965458311365541e+20, + 7.920861096671564e+20, + 7.875338663072233e+20, + 7.829068524384873e+20, + 7.782253322535837e+20, + 7.7351203935084e+20, + 7.687920752084388e+20, + 7.640928083222926e+20, + 7.594435944418627e+20, + 7.548756076425435e+20, + 7.504214399702916e+20, + 7.461146862366166e+20, + 7.419896020300139e+20, + 7.380805028300545e+20, + 7.34421295225038e+20, + 7.310449043211057e+20, + 7.2798274938718e+20, + 7.252640904962157e+20, + 7.22915614210608e+20, + 7.209608411899738e+20, + 7.19419675797195e+20, + 7.183080655805186e+20, + 7.176376298970848e+20, + 7.174154317226423e+20, + 7.176438628693519e+20, + 7.183205523641358e+20, + 7.194384581800954e+20, + 7.209859618749269e+20, + 7.229471603498025e+20, + 7.253021205360641e+20, + 7.280273286359495e+20, + 7.310961297867204e+20, + 7.344791803892204e+20, + 7.381451000330887e+20, + 7.420608999210805e+20, + 7.461926668510758e+20, + 7.505060046890353e+20, + 7.549666614306839e+20, + 7.595409524592671e+20, + 7.641962409706635e+20, + 7.689013549719306e+20, + 7.736268010794995e+20, + 7.783452549137674e+20, + 7.830314833204153e+20, + 7.876628150328391e+20, + 7.92218858642714e+20, + 7.966819127959237e+20, + 8.010365985613918e+20, + 8.052701089309962e+20, + 8.09371775426187e+20, + 8.133332844556873e+20, + 8.171482743239058e+20, + 8.208122904210432e+20, + 8.243225288941289e+20, + 8.276777761875835e+20, + 8.308780834313854e+20, + 8.339247040695699e+20, + 8.368198457967422e+20, + 8.3956662556435e+20, + 8.421687898649804e+20, + 8.446305978304337e+20, + 8.469568400455092e+20, + 8.491525134419087e+20, + 8.512229535974447e+20, + 8.531735484822979e+20, + 8.550097899027483e+20, + 8.567371048272855e+20, + 8.583602660793627e+20, + 8.598788955427851e+20, + 8.612545713516292e+20, + 8.622098832093624e+20, + 8.61196494826613e+20, + 8.509916821442955e+20, + 8.032680001228236e+20, + 6.249683268742417e+20, + 6.168880906420961e+19, + -1.4600324588854722e+21, + -4.990531640251038e+21, + -1.205076411477162e+22, + -2.4272828668669277e+22, + -4.2678837620723444e+22, + -6.691569836239576e+22, + -9.493742291041833e+22, + -1.2341434068418369e+23, + -1.486921830434594e+23, + -1.6781134170237223e+23, + -1.7914496394135246e+23, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0 + ], + "direct_maximum_absolute": 1.7914496394135246e+23, + "eliminated": [ + 1.2361758911616075e+23, + 1.1750196189572135e+23, + 9.948099550698177e+22, + 7.374457609438379e+22, + 4.721928037086942e+22, + 2.593865944444358e+22, + 1.2307415297993812e+22, + 5.251945359873942e+21, + 2.2774919343495937e+21, + 1.2491430060287153e+21, + 9.554649634138514e+20, + 8.853580272737668e+20, + 8.707810540482502e+20, + 8.675415445979887e+20, + 8.661811407503727e+20, + 8.650292804928007e+20, + 8.638372954965731e+20, + 8.62570614167882e+20, + 8.612213707943169e+20, + 8.597844413918253e+20, + 8.582546801180217e+20, + 8.566268747560868e+20, + 8.54895718438936e+20, + 8.53055786946348e+20, + 8.511015615137672e+20, + 8.490276734218038e+20, + 8.468286518744779e+20, + 8.444993311250581e+20, + 8.420346086715355e+20, + 8.394298700925598e+20, + 8.366807745525675e+20, + 8.337836210744184e+20, + 8.307354103594304e+20, + 8.275338984339467e+20, + 8.24177885682499e+20, + 8.206673306002323e+20, + 8.170035083758223e+20, + 8.13189196980091e+20, + 8.092288908255206e+20, + 8.051289477790862e+20, + 8.008977447280341e+20, + 7.96545831198802e+20, + 7.920861095905852e+20, + 7.875338663439451e+20, + 7.82906852487872e+20, + 7.782253321987284e+20, + 7.735120394015281e+20, + 7.687920751196892e+20, + 7.640928083874147e+20, + 7.594435944415288e+20, + 7.548756076479645e+20, + 7.504214399263703e+20, + 7.461146862683892e+20, + 7.419896020398776e+20, + 7.380805028249804e+20, + 7.34421295261914e+20, + 7.310449042531349e+20, + 7.279827493961997e+20, + 7.252640905133917e+20, + 7.229156142397753e+20, + 7.209608411322632e+20, + 7.194196758378693e+20, + 7.183080655242037e+20, + 7.176376300171079e+20, + 7.174154316267869e+20, + 7.176438628532895e+20, + 7.183205524285442e+20, + 7.194384581558233e+20, + 7.209859618501658e+20, + 7.2294716032437e+20, + 7.253021206561869e+20, + 7.280273286016502e+20, + 7.31096129696315e+20, + 7.344791804355109e+20, + 7.381451000233226e+20, + 7.420608999513972e+20, + 7.461926668515405e+20, + 7.505060046784146e+20, + 7.549666614075257e+20, + 7.595409524836911e+20, + 7.641962409317398e+20, + 7.689013549710972e+20, + 7.736268012415298e+20, + 7.783452548234767e+20, + 7.830314831866018e+20, + 7.876628150296226e+20, + 7.92218858835055e+20, + 7.966819129268058e+20, + 8.0103659793052e+20, + 8.052701095344366e+20, + 8.093717753811121e+20, + 8.13333283758152e+20, + 8.171482751966946e+20, + 8.20812289735335e+20, + 8.243225297602523e+20, + 8.276777754538833e+20, + 8.308780838840298e+20, + 8.339247035202784e+20, + 8.368198469061635e+20, + 8.395666243634465e+20, + 8.421687902571663e+20, + 8.446305974496878e+20, + 8.46956839686401e+20, + 8.491525146175875e+20, + 8.512229537231886e+20, + 8.531735485125271e+20, + 8.55009789290914e+20, + 8.567371043952684e+20, + 8.583602665356932e+20, + 8.598788941067028e+20, + 8.612545736725213e+20, + 8.622098819114336e+20, + 8.611964973123945e+20, + 8.509916814241839e+20, + 8.032679964223009e+20, + 6.249683370056913e+20, + 6.168879206532591e+19, + -1.4600324460470047e+21, + -4.990531646043071e+21, + -1.2050764116591905e+22, + -2.4272828663848696e+22, + -4.267883760783556e+22, + -6.691569837919301e+22, + -9.493742291328928e+22, + -1.2341434067944124e+23, + -1.4869218303548556e+23, + -1.6781134173170256e+23, + -1.7914496392561148e+23, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0 + ], + "eliminated_maximum_absolute": 1.7914496392561148e+23, + "floor_active": false, + "maximum_absolute_difference": 29330331664384.0, + "normalization_floor": 1.7914496394135246e+23, + "normalization_scale": 1.7914496394135246e+23, + "relative_error": 1.6372400886460872e-10 + }, + "maximum_absolute_difference": 29629066772480.0, + "normalization_floor": 1.791449639414751e+23, + "normalization_scale": 1.791449639414751e+23, + "relative_error": 1.6539156960147384e-10, + "unit": "m-3 s-1" + }, + "potential": { + "difference": [ + 0.0, + -1.0842021724855044e-19, + -2.439454888092385e-19, + -3.2526065174565133e-19, + -6.505213034913027e-19, + -1.0842021724855044e-18, + -1.5720931501039814e-18, + -1.4094628242311558e-18, + -1.4094628242311558e-18, + -2.2768245622195593e-18, + -2.0599841277224584e-18, + -2.710505431213761e-18, + -3.2526065174565133e-18, + -4.553649124439119e-18, + -2.8189256484623115e-18, + -4.119968255444917e-18, + -5.204170427930421e-18, + -5.854691731421724e-18, + -4.336808689942018e-18, + -7.37257477290143e-18, + -6.5052130349130266e-18, + -4.7704895589362195e-18, + -5.637851296924623e-18, + -3.903127820947816e-18, + -8.239936510889834e-18, + -9.540979117872439e-18, + -9.540979117872439e-18, + -9.974659986866641e-18, + -8.673617379884035e-18, + -8.673617379884035e-18, + -1.3877787807814457e-17, + -1.6479873021779667e-17, + -1.0408340855860843e-17, + -1.1275702593849246e-17, + -1.5612511283791264e-17, + -1.6479873021779667e-17, + -2.0816681711721685e-17, + -2.168404344971009e-17, + -1.9949319973733282e-17, + -2.6020852139652106e-17, + -3.122502256758253e-17, + -2.2551405187698492e-17, + -3.642919299551295e-17, + -2.2551405187698492e-17, + -2.42861286636753e-17, + -3.8163916471489756e-17, + -3.122502256758253e-17, + -4.5102810375396984e-17, + -2.2551405187698492e-17, + -2.949029909160572e-17, + -4.5102810375396984e-17, + -5.0306980803327406e-17, + -3.469446951953614e-17, + -3.9898639947466563e-17, + -4.683753385137379e-17, + -4.5102810375396984e-17, + -6.938893903907228e-17, + -5.898059818321144e-17, + -4.5102810375396984e-17, + -4.85722573273506e-17, + -6.591949208711867e-17, + -4.5102810375396984e-17, + -5.898059818321144e-17, + -3.122502256758253e-17, + -8.326672684688674e-17, + -7.28583859910259e-17, + -4.85722573273506e-17, + -7.28583859910259e-17, + -8.326672684688674e-17, + -7.28583859910259e-17, + -4.5102810375396984e-17, + -7.632783294297951e-17, + -1.0061396160665481e-16, + -7.632783294297951e-17, + -7.632783294297951e-17, + -7.979727989493313e-17, + -9.020562075079397e-17, + -9.367506770274758e-17, + -1.0061396160665481e-16, + -9.367506770274758e-17, + -1.0061396160665481e-16, + -9.020562075079397e-17, + -8.326672684688674e-17, + -1.249000902703301e-16, + -1.3877787807814457e-16, + -1.1796119636642288e-16, + -9.71445146547012e-17, + -1.1796119636642288e-16, + -1.6653345369377348e-16, + -9.020562075079397e-17, + -1.249000902703301e-16, + -1.457167719820518e-16, + -7.632783294297951e-17, + -1.1796119636642288e-16, + -8.326672684688674e-17, + -1.3877787807814457e-16, + -1.1102230246251565e-16, + -1.249000902703301e-16, + -1.0408340855860843e-16, + -1.6653345369377348e-16, + -1.3877787807814457e-16, + -1.3877787807814457e-16, + -1.249000902703301e-16, + -9.020562075079397e-17, + -1.0408340855860843e-16, + -1.1796119636642288e-16, + -1.3877787807814457e-16, + -1.3183898417423734e-16, + -1.1796119636642288e-16, + -1.1796119636642288e-16, + -9.020562075079397e-17, + -1.0408340855860843e-16, + -9.71445146547012e-17, + -1.249000902703301e-16, + -1.457167719820518e-16, + -1.1796119636642288e-16, + -2.0122792321330962e-16, + -1.1102230246251565e-16, + -1.457167719820518e-16, + -1.3183898417423734e-16, + -1.0408340855860843e-16, + -1.1102230246251565e-16, + -1.8735013540549517e-16, + -1.734723475976807e-16, + -1.457167719820518e-16, + -1.3877787807814457e-16, + -1.6653345369377348e-16, + -1.0408340855860843e-16, + -1.249000902703301e-16, + -1.1796119636642288e-16, + -8.326672684688674e-17, + -8.326672684688674e-17, + -1.3877787807814457e-16, + -1.1796119636642288e-16, + -9.020562075079397e-17, + -1.1796119636642288e-16, + -1.457167719820518e-16, + -1.457167719820518e-16, + -1.249000902703301e-16, + -1.1796119636642288e-16, + -1.3183898417423734e-16, + -1.1796119636642288e-16, + -1.249000902703301e-16, + -1.6653345369377348e-16, + -1.3877787807814457e-16, + -1.249000902703301e-16, + -8.326672684688674e-17, + -9.020562075079397e-17, + -1.249000902703301e-16, + -1.3183898417423734e-16, + -1.249000902703301e-16, + -1.3877787807814457e-16, + -1.3183898417423734e-16, + -1.1102230246251565e-16, + -1.1102230246251565e-16, + -1.1796119636642288e-16, + -9.71445146547012e-17, + -1.1102230246251565e-16, + -1.1102230246251565e-16, + -1.249000902703301e-16, + -1.3877787807814457e-16, + -1.3877787807814457e-16, + -1.3183898417423734e-16, + -8.326672684688674e-17, + -1.3183898417423734e-16, + -8.326672684688674e-17, + -7.632783294297951e-17, + -1.1102230246251565e-16, + -1.5959455978986625e-16, + -8.326672684688674e-17, + -1.1796119636642288e-16, + -1.0408340855860843e-16, + -6.245004513516506e-17, + -1.5265566588595902e-16, + -6.938893903907228e-17, + -9.020562075079397e-17, + -1.1102230246251565e-16, + -5.551115123125783e-17, + -1.1102230246251565e-16, + -9.020562075079397e-17, + -1.0408340855860843e-16, + -9.020562075079397e-17, + -7.632783294297951e-17, + -5.551115123125783e-17, + -7.632783294297951e-17, + -1.249000902703301e-16, + -1.3877787807814457e-16, + -9.71445146547012e-17, + -6.938893903907228e-17, + -5.551115123125783e-17, + -1.5265566588595902e-16, + -4.163336342344337e-17, + -1.249000902703301e-16, + -6.938893903907228e-17, + -9.71445146547012e-17, + -4.163336342344337e-17, + 0.0, + -1.3877787807814457e-17, + -5.551115123125783e-17, + -5.551115123125783e-17, + -1.3877787807814457e-17, + -5.551115123125783e-17, + -1.1102230246251565e-16, + -1.3877787807814457e-17, + -8.326672684688674e-17, + -6.938893903907228e-17, + -5.551115123125783e-17, + -8.326672684688674e-17, + -1.8041124150158794e-16, + 1.3877787807814457e-17, + 4.163336342344337e-17, + -4.163336342344337e-17, + -4.163336342344337e-17, + 0.0, + -2.7755575615628914e-17, + -4.163336342344337e-17, + -2.7755575615628914e-17, + -8.326672684688674e-17, + 0.0, + -1.3877787807814457e-17, + -2.7755575615628914e-17, + -1.3877787807814457e-17, + 1.3877787807814457e-17, + -4.163336342344337e-17, + 6.938893903907228e-17, + 1.3877787807814457e-17, + 0.0, + -1.249000902703301e-16, + 0.0, + -1.249000902703301e-16, + 0.0, + -9.71445146547012e-17, + -2.7755575615628914e-17, + -6.938893903907228e-17, + 1.3877787807814457e-17, + 2.7755575615628914e-17, + -5.551115123125783e-17, + -1.3877787807814457e-17, + -5.551115123125783e-17, + 8.326672684688674e-17, + -1.5265566588595902e-16, + 4.163336342344337e-17, + 4.163336342344337e-17, + 1.1102230246251565e-16, + 6.938893903907228e-17, + -4.163336342344337e-17, + 2.7755575615628914e-17, + 0.0, + 4.163336342344337e-17, + 6.938893903907228e-17, + 1.6653345369377348e-16, + 5.551115123125783e-17, + 4.163336342344337e-17, + -1.3877787807814457e-17, + 2.7755575615628914e-17, + 0.0 + ], + "direct": [ + 0.0, + -6.297052455897922e-05, + -0.00012973141170526532, + -0.00020049299128761125, + -0.00027547499945967566, + -0.00035490670549945084, + -0.0004390269962495464, + -0.00052808441136379, + -0.0006223371220667547, + -0.0007220528455165682, + -0.000827508686190324, + -0.0009389908951007107, + -0.0010567945371556624, + -0.0011812230565893525, + -0.0013125877301202954, + -0.001451206997349, + -0.0015974056579288567, + -0.0017515139252710465, + -0.001913866327020851, + -0.0020848004433137632, + -0.002264655474931611, + -0.0024537706349778807, + -0.002652483359622235, + -0.002861127335868406, + -0.003080030347211412, + -0.0033095119414942955, + -0.003549880929262126, + -0.0038014327254342136, + -0.004064446552144579, + -0.004339182526077187, + -0.0046258786594560826, + -0.004924747809914107, + -0.00523597462058977, + -0.0055597124977806575, + -0.0058960806790626374, + -0.006245161449676185, + -0.006606997568861893, + -0.0069815899703500476, + -0.007368895802020421, + -0.007768826868502917, + -0.008181248536876707, + -0.00860597915939296, + -0.009042790058130164, + -0.009491406104644873, + -0.009951506913104785, + -0.0104227286483491, + -0.010904666431268858, + -0.011396877303473512, + -0.011898883692232408, + -0.012410177296130311, + -0.012930223292845468, + -0.013458464754106697, + -0.013994327140350855, + -0.014537222739938477, + -0.015086554915865361, + -0.015641722027343492, + -0.016202120904692526, + -0.01676714977357033, + -0.017336210548145853, + -0.01790871044142411, + -0.018484062873237766, + -0.01906168769076347, + -0.019641010750931245, + -0.020221462946796703, + -0.02080247878890787, + -0.021383494676155378, + -0.021963947007106497, + -0.022543270291343176, + -0.023120895420326363, + -0.023696248248785346, + -0.024268748621121265, + -0.02483780995385511, + -0.025402839456189447, + -0.025963239038051627, + -0.026518406920475166, + -0.02706773992883202, + -0.027610636417125578, + -0.028146499742945412, + -0.028674742189111462, + -0.029194789210447766, + -0.02970608387305799, + -0.030208091349039366, + -0.03070030333149242, + -0.03118224224234708, + -0.03165346511806051, + -0.032113567074596006, + -0.032562184272120716, + -0.032998996320411395, + -0.033423728086934494, + -0.03383615088999311, + -0.0342360830783872, + -0.034623390016072134, + -0.03499798350488126, + -0.035359820690220964, + -0.03570890250366271, + -0.036045271702592765, + -0.03636901057068796, + -0.036680238344236636, + -0.036979108428507906, + -0.037265805465853695, + -0.03754054231334339, + -0.03780355698284277, + -0.03805510959086374, + -0.03829547935953643, + -0.03852496170392669, + -0.03874386543485928, + -0.038952510100573906, + -0.03915122348506364, + -0.03934033927591741, + -0.03952019490996355, + -0.039691129601025325, + -0.039853482550654136, + -0.040007591339794195, + -0.04015379049692936, + -0.0402924102363299, + -0.04042377535851868, + -0.040548204303960896, + -0.040666008350204404, + -0.04077749094221768, + -0.04088294714543573, + -0.04098266321102221, + -0.041076916243029914, + -0.04116597395747512, + -0.041250094523766295, + -0.0413295264793988, + -0.04140450870931046, + -0.04147527048179509, + -0.04154203153340027, + -0.04166807398874501, + -0.04173499946070716, + -0.04180606030997842, + -0.041881499958442654, + -0.04196157458757899, + -0.04204655360169078, + -0.04213672007926883, + -0.04223237120732682, + -0.042333818692842896, + -0.042441389144675164, + -0.04255542441849466, + -0.0426762819163984, + -0.042804334831929164, + -0.04293997233024354, + -0.04308359965214191, + -0.04323563812961326, + -0.04339652509946827, + -0.04356671370055155, + -0.04374667253895711, + -0.04393688520465177, + -0.04413784962196067, + -0.04435007721553241, + -0.044574091872713904, + -0.04481042868277784, + -0.04505963243321339, + -0.04532225584337206, + -0.04559885751622178, + -0.04588999958987537, + -0.04619624507199699, + -0.04651815484222918, + -0.04685628431049827, + -0.0472111797225219, + -0.04758337410811997, + -0.04797338287307903, + -0.04838169904137195, + -0.048808788161510866, + -0.04925508289869643, + -0.04972097734317583, + -0.05020682107475494, + -0.050712913033584744, + -0.051239495257993234, + -0.05178674656101244, + -0.05235477622807693, + -0.05294361782879549, + -0.053553223245340065, + -0.05418345702841039, + -0.0548340911984713, + -0.05550480061454792, + -0.05619515903482777, + -0.05690463599225177, + -0.057632594603779654, + -0.05837829042382631, + -0.0591408714403092, + -0.05991937929578693, + -0.060712751796452115, + -0.06151982674856104, + -0.062339347135735204, + -0.06316996762211453, + -0.06401026233640379, + -0.06485873386138535, + -0.0657138233235228, + -0.06657392144894288, + -0.06743738042644662, + -0.0683025263962781, + -0.06916767236607962, + -0.07003113134349305, + -0.07089122946876356, + -0.0717463189306929, + -0.0725947904554093, + -0.07343508516937805, + -0.0742657056553836, + -0.07508522604213307, + -0.07589230099376906, + -0.07668567349391611, + -0.07746418134883355, + -0.07822676236471714, + -0.07897245818412928, + -0.0797004167949907, + -0.0804098937517201, + -0.08110025217128083, + -0.08177096158661751, + -0.08242159575592102, + -0.0830518295382202, + -0.08366143495398361, + -0.0842502765539139, + -0.08481830622018625, + -0.08536555752241269, + -0.08589213974603031, + -0.08639823170407392, + -0.08688407543487402, + -0.08734996987858362, + -0.08779626461501074, + -0.08822335373440443, + -0.08863166990196678, + -0.0890216786662114, + -0.08939387305111243, + -0.0897487684624572, + -0.09008689793006681, + -0.09040880769965931, + -0.09071505318116176, + -0.09100619525421663, + -0.09128279692648887, + -0.0915454203360909, + -0.0917946240859911, + -0.09203096089554047, + -0.09225497555222834, + -0.09246720314532682, + -0.09266816756218273, + -0.09285838022744432, + -0.09303833906543606, + -0.09320852766612449, + -0.09336941463560283, + -0.09352145311271563, + -0.09366508043427234, + -0.09380071793226193, + -0.09392877084748388, + -0.09404962834509444, + -0.09416366361863572, + -0.09427123407020388, + -0.09437268155546963, + -0.09446833268329033, + -0.09455849916064374, + -0.09464347817454277, + -0.09472355280347793, + -0.09479899245175186, + -0.09487005330084326, + -0.09493697877263532, + -0.09499999999999964 + ], + "direct_maximum_absolute": 0.09499999999999964, + "eliminated": [ + 0.0, + -6.297052455897911e-05, + -0.00012973141170526508, + -0.00020049299128761092, + -0.000275474999459675, + -0.00035490670549944976, + -0.00043902699624954485, + -0.0005280844113637886, + -0.0006223371220667533, + -0.0007220528455165659, + -0.0008275086861903219, + -0.000938990895100708, + -0.0010567945371556592, + -0.001181223056589348, + -0.0013125877301202926, + -0.001451206997348996, + -0.0015974056579288515, + -0.0017515139252710407, + -0.0019138663270208466, + -0.002084800443313756, + -0.0022646554749316044, + -0.002453770634977876, + -0.0026524833596222293, + -0.0028611273358684023, + -0.003080030347211404, + -0.003309511941494286, + -0.0035498809292621165, + -0.0038014327254342036, + -0.004064446552144571, + -0.004339182526077178, + -0.004625878659456069, + -0.004924747809914091, + -0.005235974620589759, + -0.005559712497780646, + -0.005896080679062622, + -0.006245161449676169, + -0.006606997568861872, + -0.006981589970350026, + -0.007368895802020401, + -0.007768826868502891, + -0.008181248536876675, + -0.008605979159392938, + -0.009042790058130128, + -0.009491406104644851, + -0.00995150691310476, + -0.010422728648349061, + -0.010904666431268827, + -0.011396877303473467, + -0.011898883692232385, + -0.012410177296130281, + -0.012930223292845423, + -0.013458464754106647, + -0.01399432714035082, + -0.014537222739938438, + -0.015086554915865314, + -0.015641722027343447, + -0.016202120904692457, + -0.016767149773570272, + -0.017336210548145808, + -0.017908710441424062, + -0.0184840628732377, + -0.019061687690763426, + -0.019641010750931186, + -0.02022146294679667, + -0.020802478788907786, + -0.021383494676155305, + -0.02196394700710645, + -0.022543270291343103, + -0.02312089542032628, + -0.023696248248785273, + -0.02426874862112122, + -0.024837809953855032, + -0.025402839456189347, + -0.02596323903805155, + -0.02651840692047509, + -0.02706773992883194, + -0.027610636417125488, + -0.02814649974294532, + -0.02867474218911136, + -0.029194789210447672, + -0.02970608387305789, + -0.030208091349039276, + -0.030700303331492335, + -0.031182242242346954, + -0.03165346511806037, + -0.03211356707459589, + -0.03256218427212062, + -0.03299899632041128, + -0.03342372808693433, + -0.03383615088999302, + -0.034236083078387075, + -0.03462339001607199, + -0.03499798350488118, + -0.035359820690220846, + -0.035708902503662626, + -0.03604527170259263, + -0.03636901057068785, + -0.03668023834423651, + -0.0369791084285078, + -0.03726580546585353, + -0.03754054231334325, + -0.03780355698284263, + -0.03805510959086361, + -0.03829547935953634, + -0.03852496170392659, + -0.038743865434859165, + -0.03895251010057377, + -0.03915122348506351, + -0.03934033927591729, + -0.03952019490996343, + -0.039691129601025235, + -0.03985348255065403, + -0.0400075913397941, + -0.040153790496929236, + -0.040292410236329755, + -0.040423775358518564, + -0.040548204303960694, + -0.04066600835020429, + -0.04077749094221753, + -0.0408829471454356, + -0.040982663211022105, + -0.0410769162430298, + -0.041165973957474934, + -0.04125009452376612, + -0.04132952647939865, + -0.04140450870931032, + -0.041475270481794925, + -0.041542031533400164, + -0.041668073988744884, + -0.041734999460707044, + -0.041806060309978334, + -0.04188149995844257, + -0.04196157458757885, + -0.04204655360169066, + -0.04213672007926874, + -0.0422323712073267, + -0.04233381869284275, + -0.04244138914467502, + -0.04255542441849453, + -0.04267628191639828, + -0.04280433483192903, + -0.04293997233024342, + -0.043083599652141785, + -0.04323563812961309, + -0.04339652509946813, + -0.04356671370055142, + -0.043746672538957025, + -0.04393688520465168, + -0.044137849621960545, + -0.04435007721553228, + -0.04457409187271378, + -0.0448104286827777, + -0.04505963243321326, + -0.04532225584337195, + -0.04559885751622167, + -0.045889999589875254, + -0.04619624507199689, + -0.04651815484222907, + -0.04685628431049816, + -0.04721117972252178, + -0.04758337410811983, + -0.04797338287307889, + -0.048381699041371816, + -0.04880878816151078, + -0.0492550828986963, + -0.049720977343175744, + -0.05020682107475486, + -0.05071291303358463, + -0.051239495257993074, + -0.051786746561012356, + -0.05235477622807681, + -0.052943617828795385, + -0.05355322324534, + -0.05418345702841024, + -0.054834091198471234, + -0.05550480061454783, + -0.056195159034827656, + -0.05690463599225171, + -0.05763259460377954, + -0.058378290423826217, + -0.0591408714403091, + -0.05991937929578684, + -0.06071275179645204, + -0.061519826748560984, + -0.06233934713573513, + -0.06316996762211441, + -0.06401026233640365, + -0.06485873386138526, + -0.06571382332352273, + -0.06657392144894282, + -0.06743738042644647, + -0.06830252639627805, + -0.0691676723660795, + -0.07003113134349298, + -0.07089122946876346, + -0.07174631893069286, + -0.0725947904554093, + -0.07343508516937804, + -0.07426570565538354, + -0.07508522604213301, + -0.07589230099376905, + -0.07668567349391606, + -0.07746418134883344, + -0.07822676236471712, + -0.0789724581841292, + -0.07970041679499063, + -0.08040989375172004, + -0.08110025217128075, + -0.08177096158661733, + -0.08242159575592103, + -0.08305182953822024, + -0.08366143495398357, + -0.08425027655391386, + -0.08481830622018625, + -0.08536555752241266, + -0.08589213974603027, + -0.08639823170407389, + -0.08688407543487393, + -0.08734996987858362, + -0.08779626461501072, + -0.0882233537344044, + -0.08863166990196676, + -0.08902167866621141, + -0.08939387305111239, + -0.08974876846245727, + -0.09008689793006683, + -0.09040880769965931, + -0.09071505318116163, + -0.09100619525421663, + -0.09128279692648875, + -0.0915454203360909, + -0.091794624085991, + -0.09203096089554044, + -0.09225497555222827, + -0.09246720314532683, + -0.09266816756218275, + -0.09285838022744426, + -0.09303833906543604, + -0.09320852766612443, + -0.09336941463560292, + -0.09352145311271548, + -0.09366508043427238, + -0.09380071793226197, + -0.093928770847484, + -0.0940496283450945, + -0.09416366361863568, + -0.09427123407020391, + -0.09437268155546963, + -0.09446833268329037, + -0.09455849916064381, + -0.09464347817454294, + -0.09472355280347798, + -0.0947989924517519, + -0.09487005330084325, + -0.09493697877263535, + -0.09499999999999964 + ], + "eliminated_maximum_absolute": 0.09499999999999964, + "floor_active": false, + "maximum_absolute_difference": 2.0122792321330962e-16, + "normalization_floor": 0.025851999786435535, + "normalization_scale": 0.09499999999999964, + "relative_error": 2.1181886654032673e-15, + "unit": "V" + }, + "sheet_charge": { + "difference": [ + 0.0 + ], + "direct": [ + -2.208027851236118e-13 + ], + "direct_maximum_absolute": 2.208027851236118e-13, + "eliminated": [ + -2.208027851236118e-13 + ], + "eliminated_maximum_absolute": 2.208027851236118e-13, + "floor_active": true, + "maximum_absolute_difference": 0.0, + "normalization_floor": 8.01088317e-05, + "normalization_scale": 8.01088317e-05, + "relative_error": 0.0, + "unit": "C m-2" + }, + "trace_potential": { + "difference": [ + [ + -1.3877787807814457e-17, + -1.3877787807814457e-17 + ] + ], + "direct": [ + [ + -1.4718087859577622e-13, + -1.4718087859577622e-13 + ] + ], + "direct_maximum_absolute": 1.4718087859577622e-13, + "eliminated": [ + [ + -1.471670008079684e-13, + -1.471670008079684e-13 + ] + ], + "eliminated_maximum_absolute": 1.471670008079684e-13, + "floor_active": true, + "maximum_absolute_difference": 1.3877787807814457e-17, + "normalization_floor": 0.025851999786435535, + "normalization_scale": 0.025851999786435535, + "relative_error": 5.368168003426988e-16, + "unit": "V" + } + }, + "hole_qf_increment_V": [ + 0.0, + 1.4118321297055634e-06, + 2.907287796608482e-06, + 4.490836803747463e-06, + 6.167127032992367e-06, + 7.940983656455448e-06, + 9.81740709715633e-06, + 1.1801569572780038e-05, + 1.3898810045816463e-05, + 1.611462739367033e-05, + 1.845467160387177e-05, + 2.0924732792737834e-05, + 2.353072784125375e-05, + 2.627868444009614e-05, + 2.9174722337246033e-05, + 3.222503158718652e-05, + 3.5435847610075954e-05, + 3.881342289213125e-05, + 4.236399515552762e-05, + 4.609375190468294e-05, + 5.000879123001348e-05, + 5.411507884447135e-05, + 5.841840135633439e-05, + 6.292431585060996e-05, + 6.763809592107363e-05, + 7.25646743739837e-05, + 7.770858291133806e-05, + 8.307388919426925e-05, + 8.866413179319577e-05, + 9.448225360877432e-05, + 0.00010053053450069352, + 0.00010681052390056375, + 0.00011332297433113437, + 0.00012006777681672015, + 0.00012704389925180474, + 0.00013424932885249086, + 0.00014168101985386256, + 0.0001493348476310787, + 0.00015720557041015197, + 0.00016528679969365055, + 0.0001735709804547779, + 0.00018204938205906043, + 0.00019071210071720053, + 0.00019954807416421028, + 0.0002085451090147277, + 0.00021768992109945135, + 0.000226968188821711, + 0.0002363646194052494, + 0.00024586302761391026, + 0.00025544642634974966, + 0.0002650971282962175, + 0.0002747968575789113, + 0.00028452687023189285, + 0.0002942680820945042, + 0.00030400120262304777, + 0.00031370687298478285, + 0.00032336580670892714, + 0.00033295893110106924, + 0.0003424675275838497, + 0.0003518733691086141, + 0.0003611588527910854, + 0.000370307125960585, + 0.0003793022038790991, + 0.0003881290774857577, + 0.00039677380965527723, + 0.00040522361863576877, + 0.00041346694751217454, + 0.0004214935188313695, + 0.0004292943737334487, + 0.00043686189527880967, + 0.00044418981594772784, + 0.0004512732096148934, + 0.0004581084686146854, + 0.00046469326680998726, + 0.0004710265098545899, + 0.00047710827404623776, + 0.00048293973540208454, + 0.000488523090657134, + 0.000493861472017576, + 0.0004989588574758402, + 0.0005038199784972653, + 0.0005084502267645929, + 0.0005128555615759217, + 0.0005170424192927046, + 0.0005210176260800535, + 0.0005247883149616411, + 0.0005283618480104197, + 0.000531745744290483, + 0.0005349476139696514, + 0.0005379750988414821, + 0.0005408358193334772, + 0.0005435373279370235, + 0.0005460870688842011, + 0.000548492343777216, + 0.0005507602828535418, + 0.0005528978214558466, + 0.0005549116812921666, + 0.0005568083560296612, + 0.0005585941007687425, + 0.0005602749249509171, + 0.0005618565882698426, + 0.0005633445991777927, + 0.0005647442156070082, + 0.000566060447555616, + 0.0005672980612195095, + 0.0005684615843836829, + 0.0005695553128180776, + 0.0005705833174533798, + 0.0005715494521409037, + 0.0005724573618273807, + 0.000573310490999977, + 0.0005741120922790654, + 0.0005748652350562216, + 0.0005755728140926146, + 0.0005762375580085664, + 0.0005768620376086656, + 0.0005774486739986178, + 0.0005779997464601362, + 0.0005785174000588109, + 0.0005790036529671916, + 0.0005794604034914261, + 0.0005798894367948772, + 0.0005802924313163137, + 0.000580670964883663, + 0.0005810265205270375, + 0.0005813604919968972, + 0.0005816741889948863, + 0.0005819688421261336, + 0.0006745529464549983, + 0.0006884948345393128, + 0.0007032505548269888, + 0.0007188620322603771, + 0.0007353726438232545, + 0.0007528271745530491, + 0.000771271757652996, + 0.0007907537968359391, + 0.0008113218689247106, + 0.0008330256046881204, + 0.0008559155457910584, + 0.0008800429757692485, + 0.0009054597228610936, + 0.0009322179326547414, + 0.0009603698085477074, + 0.0009899673181886204, + 0.0010210618643023198, + 0.0010537039185664475, + 0.0010879426176221565, + 0.0011238253207612745, + 0.0011613971294199162, + 0.0012007003692980555, + 0.0012417740367284059, + 0.0012846532118358958, + 0.0013293684420587087, + 0.0013759451007355503, + 0.0014244027266888909, + 0.0014747543520309638, + 0.0015270058267620123, + 0.0015811551500840607, + 0.001637191819685352, + 0.0016950962114716185, + 0.0017548390033804476, + 0.0018163806577649651, + 0.0018796709775389863, + 0.0019446487515436765, + 0.0020112415045720248, + 0.002079365366884854, + 0.002148925077051445, + 0.002219814130324311, + 0.0022919150825987137, + 0.002365100017277432, + 0.002439231179099456, + 0.0025141617752566883, + 0.0025897369400061233, + 0.0026657948546058904, + 0.002742168009909636, + 0.002818684594513551, + 0.002895169987148231, + 0.0029714483282329393, + 0.0030473441423474502, + 0.0031226839809955003, + 0.003197298053573632, + 0.0032710218140324944, + 0.003343697471340549, + 0.0034151753936438605, + 0.003485315378722669, + 0.0035539877670955587, + 0.003621074378575632, + 0.003686469258154332, + 0.0037500792225162644, + 0.003811824204045897, + 0.003871637394637474, + 0.003929465196740845, + 0.003985266993672949, + 0.004039014755138823, + 0.0040906924970232125, + 0.004140295616767524, + 0.00418783012701841, + 0.004233311810749072, + 0.0042767653207858945, + 0.004318223245677347, + 0.004357725162343154, + 0.004395316693882386, + 0.004431048588665661, + 0.004464975834292302, + 0.004497156817489802, + 0.0045276525384468245, + 0.004556525885728972, + 0.00458384097566719, + 0.004609662558191397, + 0.0046340554893085605, + 0.004657084269038746, + 0.004678812642444701, + 0.004699303260474748, + 0.004718617396731557, + 0.004736814715776834, + 0.004753953088387444, + 0.004770088449035925, + 0.0047852746909610635, + 0.00479956359427705, + 0.004813004782810501, + 0.004825645705650312, + 0.004837531639646923, + 0.004848705709473062, + 0.00485920892216593, + 0.00486908021341545, + 0.0048783565031570416, + 0.004887072758380135, + 0.0048952620612843336, + 0.004902955681224971, + 0.004910183149101554, + 0.004916972333062253, + 0.004923349514586026, + 0.004929339464170977, + 0.004934965516002587, + 0.0049402496411092975, + 0.004945212518597007, + 0.004949873604696801, + 0.004954251199376886, + 0.0049583625103856496, + 0.0049622237146220655, + 0.004965850016789473, + 0.004969255705300034, + 0.004972454205476933, + 0.0049754581300630665, + 0.004978279327113338, + 0.004980928925337082, + 0.004983417376974903, + 0.004985754498300861, + 0.004987949507846033, + 0.004990011062442465, + 0.004991947291187893, + 0.004993765827431644, + 0.004995473838881012, + 0.004997078055925641, + 0.004998584798273957, + 0.004999999999999893 + ], + "independent_physics": { + "arrays": { + "charge_balance_absolute_A_m2": 1.6185161804416824e-18, + "charge_balance_scale_A_m2": 1.0, + "charge_rate_A_m2": 7.328455737018775e-09, + "contact_conduction_A_m2": [ + -1.127120750931117e-05, + -1.127853596504657e-05 + ], + "contact_displacement_A_m2": [ + -7.684189586573563e-06, + -7.67686113083655e-06 + ], + "contact_total_A_m2": [ + -1.8955397095884733e-05, + -1.895539709588312e-05 + ], + "electron_current_A_m2": [ + -6.445044611524884e-06, + -6.445044611751665e-06, + -6.445044612252768e-06, + -6.4450446130836446e-06, + -6.445044614308926e-06, + -6.445044616003844e-06, + -6.445044618255834e-06, + -6.445044621166508e-06, + -6.445044624853727e-06, + -6.44504462945417e-06, + -6.44504463512616e-06, + -6.445044642052958e-06, + -6.445044650446545e-06, + -6.445044660551793e-06, + -6.4450446726515856e-06, + -6.445044687072148e-06, + -6.445044704189629e-06, + -6.445044724437122e-06, + -6.445044748312908e-06, + -6.445044776389779e-06, + -6.445044809325132e-06, + -6.445044847872887e-06, + -6.445044892896412e-06, + -6.445044945383039e-06, + -6.445045006460153e-06, + -6.4450450774130176e-06, + -6.445045159704252e-06, + -6.445045254995223e-06, + -6.445045365169047e-06, + -6.445045492355615e-06, + -6.445045638958043e-06, + -6.445045807680777e-06, + -6.445046001559003e-06, + -6.445046223988786e-06, + -6.4450464787580246e-06, + -6.445046770076909e-06, + -6.445047102607976e-06, + -6.445047481494154e-06, + -6.445047912384498e-06, + -6.445048401455593e-06, + -6.445048955428604e-06, + -6.445049581578871e-06, + -6.445050287738256e-06, + -6.4450510822872294e-06, + -6.4450519741362105e-06, + -6.4450529726936205e-06, + -6.445054087820067e-06, + -6.445055329766658e-06, + -6.445056709097288e-06, + -6.445058236593317e-06, + -6.4450599231413595e-06, + -6.445061779604011e-06, + -6.445063816674991e-06, + -6.44506604471938e-06, + -6.445068473602832e-06, + -6.44507111251111e-06, + -6.44507396976473e-06, + -6.445077052632257e-06, + -6.4450803671475065e-06, + -6.44508391793501e-06, + -6.445087708049293e-06, + -6.445091738832851e-06, + -6.4450960097982936e-06, + -6.44510051853743e-06, + -6.445105260663147e-06, + -6.445110229785218e-06, + -6.445115417522782e-06, + -6.445120813553832e-06, + -6.445126405701635e-06, + -6.445132180055938e-06, + -6.445138121127118e-06, + -6.445144212028511e-06, + -6.445150434682824e-06, + -6.445156770047609e-06, + -6.445163198353408e-06, + -6.445169699349173e-06, + -6.445176252548202e-06, + -6.445182837470369e-06, + -6.445189433873503e-06, + -6.4451960219702665e-06, + -6.445202582627019e-06, + -6.445209097540394e-06, + -6.445215549389846e-06, + -6.445221921965345e-06, + -6.4452282002685395e-06, + -6.445234370588609e-06, + -6.445240420552448e-06, + -6.445246339152327e-06, + -6.445252116751124e-06, + -6.445257745068386e-06, + -6.445263217148803e-06, + -6.445268527317361e-06, + -6.4452736711205665e-06, + -6.445278645259852e-06, + -6.4452834475167e-06, + -6.445288076673126e-06, + -6.4452925324284356e-06, + -6.445296815315775e-06, + -6.445300926617699e-06, + -6.4453048682836275e-06, + -6.445308642850192e-06, + -6.4453122533640575e-06, + -6.445315703308864e-06, + -6.445318996537826e-06, + -6.44532213720945e-06, + -6.445325129728265e-06, + -6.445327978692243e-06, + -6.445330688843343e-06, + -6.445333265023045e-06, + -6.445335712133679e-06, + -6.445338035103768e-06, + -6.445340238856249e-06, + -6.445342328282644e-06, + -6.4453443082191886e-06, + -6.445346183427942e-06, + -6.445347958578943e-06, + -6.4453496382381685e-06, + -6.445351226853713e-06, + -6.445352728747797e-06, + -6.445354148111729e-06, + -6.445355488995787e-06, + -6.44535675531215e-06, + -6.445357950823948e-06, + -6.44535907915522e-06, + -6.445360143779313e-06, + -6.4453611480275695e-06, + -6.445362095088757e-06, + -6.445363421059317e-06, + -6.452693410669669e-06, + -6.452694084365364e-06, + -6.4526947985243516e-06, + -6.452695555387785e-06, + -6.452696357225143e-06, + -6.4526972064967114e-06, + -6.4526981057234715e-06, + -6.452699057466664e-06, + -6.452700064533855e-06, + -6.452701129603901e-06, + -6.452702255645079e-06, + -6.452703445629333e-06, + -6.452704702551074e-06, + -6.4527060295907265e-06, + -6.452707429903122e-06, + -6.452708906720637e-06, + -6.452710463306195e-06, + -6.452712102979193e-06, + -6.452713829024914e-06, + -6.452715644717692e-06, + -6.452717553312114e-06, + -6.452719558002867e-06, + -6.4527216618605835e-06, + -6.45272386786273e-06, + -6.45272617880786e-06, + -6.452728597310849e-06, + -6.452731125733269e-06, + -6.452733766154383e-06, + -6.452736520321318e-06, + -6.452739389591573e-06, + -6.452742374869332e-06, + -6.452745476578734e-06, + -6.452748694581724e-06, + -6.452752028111732e-06, + -6.452755475732672e-06, + -6.452759035274535e-06, + -6.452762703780615e-06, + -6.452766477426467e-06, + -6.452770351519018e-06, + -6.452774320425708e-06, + -6.45277837753159e-06, + -6.4527825152460636e-06, + -6.452786724974008e-06, + -6.4527909971251285e-06, + -6.452795321130736e-06, + -6.4527996854899585e-06, + -6.452804077819136e-06, + -6.452808484930523e-06, + -6.452812892930671e-06, + -6.4528172873487125e-06, + -6.452821653255676e-06, + -6.452825975445009e-06, + -6.452830238587606e-06, + -6.452834427440149e-06, + -6.452838527020709e-06, + -6.452842522835708e-06, + -6.452846401075175e-06, + -6.452850148811276e-06, + -6.452853754200189e-06, + -6.452857206644232e-06, + -6.4528604969622366e-06, + -6.452863617499804e-06, + -6.452866562248759e-06, + -6.452869326892103e-06, + -6.452871908841452e-06, + -6.4528743072363075e-06, + -6.45287652288809e-06, + -6.4528785582077535e-06, + -6.452880417104763e-06, + -6.45288210483815e-06, + -6.4528836278712315e-06, + -6.452884993692879e-06, + -6.4528862106310305e-06, + -6.4528872876745125e-06, + -6.452888234272937e-06, + -6.45288906016785e-06, + -6.452889775215398e-06, + -6.452890389233827e-06, + -6.452890911863112e-06, + -6.45289135245161e-06, + -6.452891719949684e-06, + -6.452892022835318e-06, + -6.4528922690539605e-06, + -6.452892465978444e-06, + -6.452892620381859e-06, + -6.4528927384354785e-06, + -6.452892825704634e-06, + -6.452892887171129e-06, + -6.4528929272529485e-06, + -6.452892949833751e-06, + -6.45289295830015e-06, + -6.452892955580398e-06, + -6.45289294418265e-06, + -6.452892926231918e-06, + -6.452892903519751e-06, + -6.452892877532641e-06, + -6.452892849488313e-06, + -6.452892820383759e-06, + -6.452892791003599e-06, + -6.452892761973308e-06, + -6.452892733765906e-06, + -6.452892706735764e-06, + -6.4528926811338385e-06, + -6.452892657132844e-06, + -6.452892634827211e-06, + -6.452892614268798e-06, + -6.452892595459995e-06, + -6.452892578369673e-06, + -6.452892562944182e-06, + -6.4528925491085494e-06, + -6.452892536780441e-06, + -6.4528925258592924e-06, + -6.452892516253059e-06, + -6.452892507857322e-06, + -6.452892500569348e-06, + -6.4528924942985806e-06, + -6.452892488942623e-06, + -6.452892484419636e-06, + -6.452892480637001e-06, + -6.4528924775178135e-06, + -6.452892474992746e-06, + -6.452892472988774e-06, + -6.4528924714441155e-06, + -6.452892470302851e-06, + -6.4528924695109135e-06, + -6.452892469025654e-06, + -6.452892468803136e-06 + ], + "hole_current_A_m2": [ + -4.8261628977862855e-06, + -4.826162897559469e-06, + -4.8261628970583115e-06, + -4.826162896227351e-06, + -4.82616289500199e-06, + -4.82616289330699e-06, + -4.82616289105491e-06, + -4.82616288814417e-06, + -4.826162884456902e-06, + -4.826162879856423e-06, + -4.826162874184416e-06, + -4.826162867257629e-06, + -4.826162858864115e-06, + -4.826162848758947e-06, + -4.826162836659318e-06, + -4.826162822238954e-06, + -4.826162805121753e-06, + -4.826162784874627e-06, + -4.826162760999274e-06, + -4.826162732922997e-06, + -4.826162699988346e-06, + -4.8261626614414605e-06, + -4.826162616418953e-06, + -4.82616256393358e-06, + -4.826162502857949e-06, + -4.8261624319068625e-06, + -4.826162349617704e-06, + -4.826162254329194e-06, + -4.826162144158241e-06, + -4.826162016975033e-06, + -4.826161870376532e-06, + -4.826161701658335e-06, + -4.826161507785386e-06, + -4.826161285361693e-06, + -4.8261610305994816e-06, + -4.8261607392886905e-06, + -4.826160406766924e-06, + -4.826160027891415e-06, + -4.826159597013322e-06, + -4.82615910795611e-06, + -4.826158553999e-06, + -4.826157927866844e-06, + -4.826157221727996e-06, + -4.82615642720229e-06, + -4.826155535379659e-06, + -4.826154536851944e-06, + -4.8261534217590304e-06, + -4.826152179850054e-06, + -4.8261508005615954e-06, + -4.826149273112835e-06, + -4.826147586617525e-06, + -4.8261457302135174e-06, + -4.826143693207858e-06, + -4.8261414652357295e-06, + -4.82613903643213e-06, + -4.826136397611839e-06, + -4.82613354045499e-06, + -4.826130457693504e-06, + -4.826127143294086e-06, + -4.826123592632802e-06, + -4.826119802655691e-06, + -4.826115772020524e-06, + -4.826111501215377e-06, + -4.8261069926487106e-06, + -4.826102250707957e-06, + -4.826097281783603e-06, + -4.826092094256808e-06, + -4.826086698449602e-06, + -4.826081106538751e-06, + -4.82607533243451e-06, + -4.826069391626326e-06, + -4.826063301000523e-06, + -4.826057078634253e-06, + -4.826050743569388e-06, + -4.826044315574873e-06, + -4.826037814901345e-06, + -4.8260312620341915e-06, + -4.826024677453721e-06, + -4.826018081400539e-06, + -4.826011493661353e-06, + -4.826004933368897e-06, + -4.825998418825242e-06, + -4.825991967350434e-06, + -4.825985595152947e-06, + -4.825979317230453e-06, + -4.825973147292624e-06, + -4.82596709771137e-06, + -4.8259611794936406e-06, + -4.825955402275417e-06, + -4.825949774335979e-06, + -4.8259443026304845e-06, + -4.82593899283261e-06, + -4.8259338493948e-06, + -4.825928875615036e-06, + -4.82592407371138e-06, + -4.825919444901621e-06, + -4.825914989484583e-06, + -4.825910706927971e-06, + -4.825906595948172e-06, + -4.825902654595134e-06, + -4.825898880333082e-06, + -4.825895270113721e-06, + -4.825891820454337e-06, + -4.825888527501114e-06, + -4.825885387095096e-06, + -4.825882394833255e-06, + -4.825879546115565e-06, + -4.825876836201506e-06, + -4.825874260248795e-06, + -4.825871813356646e-06, + -4.825869490594773e-06, + -4.825867287042673e-06, + -4.8258651978064996e-06, + -4.825863218053767e-06, + -4.82586134301774e-06, + -4.825859568032135e-06, + -4.825857888531681e-06, + -4.825856300066615e-06, + -4.825854798313814e-06, + -4.825853379086409e-06, + -4.825852038331153e-06, + -4.825850772137567e-06, + -4.825849576740336e-06, + -4.825848448521144e-06, + -4.825847383998214e-06, + -4.825846379848435e-06, + -4.825845432882202e-06, + -4.825844107082066e-06, + -4.825842522070362e-06, + -4.825841848505165e-06, + -4.825841134493917e-06, + -4.825840377809941e-06, + -4.825839576130142e-06, + -4.825838727034828e-06, + -4.825837828007554e-06, + -4.825836876435757e-06, + -4.825835869612535e-06, + -4.8258348047388356e-06, + -4.825833678926938e-06, + -4.82583248920514e-06, + -4.825831232523698e-06, + -4.825829905762135e-06, + -4.825828505738451e-06, + -4.825827029219956e-06, + -4.825825472936142e-06, + -4.825823833593837e-06, + -4.82582210789458e-06, + -4.8258202925548675e-06, + -4.825818384328859e-06, + -4.825816380034051e-06, + -4.825814276580334e-06, + -4.825812071002085e-06, + -4.82580976049325e-06, + -4.8258073424467914e-06, + -4.825804814496377e-06, + -4.825802174562384e-06, + -4.825799420900625e-06, + -4.82579655215424e-06, + -4.825793567408451e-06, + -4.825790466247169e-06, + -4.825787248811947e-06, + -4.825783915861197e-06, + -4.825780468830119e-06, + -4.8257769098894e-06, + -4.8257732420017506e-06, + -4.82576946897513e-06, + -4.825765595510907e-06, + -4.825761627245005e-06, + -4.825757570780867e-06, + -4.8257534337119375e-06, + -4.82574922463145e-06, + -4.825744953128629e-06, + -4.8257406297678406e-06, + -4.825736266051023e-06, + -4.82573187436017e-06, + -4.825727467880058e-06, + -4.825723060499921e-06, + -4.82571866669469e-06, + -4.825714301385763e-06, + -4.825709979782738e-06, + -4.8257057172090415e-06, + -4.825701528912916e-06, + -4.825697429868562e-06, + -4.8256934345713e-06, + -4.8256895568317745e-06, + -4.825685809574127e-06, + -4.825682204645189e-06, + -4.82567875263814e-06, + -4.82567546273839e-06, + -4.825672342594579e-06, + -4.825669398220922e-06, + -4.825666633932028e-06, + -4.825664052314246e-06, + -4.8256616542325955e-06, + -4.825659438874836e-06, + -4.82565740382794e-06, + -4.825655545187251e-06, + -4.8256538576912585e-06, + -4.825652334879051e-06, + -4.825650969262946e-06, + -4.825649752513142e-06, + -4.8256486756452634e-06, + -4.825647729207314e-06, + -4.825646903460581e-06, + -4.8256461885492884e-06, + -4.8256455746559766e-06, + -4.825645052140182e-06, + -4.8256446116561475e-06, + -4.825644244253073e-06, + -4.825643941453864e-06, + -4.825643695313892e-06, + -4.825643498461322e-06, + -4.825643344122171e-06, + -4.8256432261274385e-06, + -4.82564313891098e-06, + -4.825643077491844e-06, + -4.825643037453598e-06, + -4.82564301491203e-06, + -4.8256430064799995e-06, + -4.82564300923062e-06, + -4.82564302065721e-06, + -4.825643038631674e-06, + -4.8256430613667376e-06, + -4.825643087374388e-06, + -4.825643115435706e-06, + -4.825643144556599e-06, + -4.825643173949983e-06, + -4.8256432029930155e-06, + -4.825643231210692e-06, + -4.825643258251625e-06, + -4.825643283860617e-06, + -4.82564330787073e-06, + -4.825643330182051e-06, + -4.825643350745873e-06, + -4.825643369560068e-06, + -4.82564338665527e-06, + -4.825643402083143e-06, + -4.82564341592255e-06, + -4.8256434282548955e-06, + -4.825643439175678e-06, + -4.825643448786774e-06, + -4.825643457184532e-06, + -4.825643464470996e-06, + -4.825643470744761e-06, + -4.825643476101823e-06, + -4.825643480628581e-06, + -4.825643484408275e-06, + -4.825643487526834e-06, + -4.825643490057315e-06, + -4.825643492056619e-06, + -4.82564349360552e-06, + -4.825643494745242e-06, + -4.8256434955366495e-06, + -4.82564349602202e-06, + -4.825643496243433e-06 + ], + "initial_positive_inventory_m2": [ + 999999999999999.8 + ], + "interface_conduction_A_m2": [ + [ + -1.1271207528141384e-05, + -1.1278535932532957e-05 + ] + ], + "interface_displacement_A_m2": [ + [ + -7.684189567785526e-06, + -7.676861163353192e-06 + ] + ], + "interface_total_A_m2": [ + [ + -1.895539709592691e-05, + -1.895539709588615e-05 + ] + ], + "internal_conduction_A_m2": [ + -1.2440026779284644e-05, + -1.47308448846581e-05, + -1.6790319268775646e-05, + -1.8411193878590056e-05, + -1.9512910412166545e-05, + -2.015523253145835e-05, + -2.0478637028077396e-05, + -2.0625052608811963e-05, + -2.0692399980675152e-05, + -2.0731571999433125e-05, + -2.076333898305322e-05, + -2.0794540004901083e-05, + -2.0827058637319517e-05, + -2.086138002658693e-05, + -2.0897671549167935e-05, + -2.0936043345884767e-05, + -2.0976599154773434e-05, + -2.101944434062521e-05, + -2.1064686777447985e-05, + -2.1112436714252262e-05, + -2.116280646710636e-05, + -2.1215910052801624e-05, + -2.127186275987123e-05, + -2.1330780651986475e-05, + -2.1392780002276704e-05, + -2.145797667167687e-05, + -2.152648539357647e-05, + -2.1598419011704466e-05, + -2.1673887621382523e-05, + -2.175299766980327e-05, + -2.1835850963962687e-05, + -2.1922543642582277e-05, + -2.2013165093108537e-05, + -2.210779682065481e-05, + -2.2206511306227457e-05, + -2.2309370851808033e-05, + -2.2416426434122257e-05, + -2.2527716590790866e-05, + -2.2643266366140048e-05, + -2.2763086332792903e-05, + -2.288717171611069e-05, + -2.301550164823014e-05, + -2.3148038583969505e-05, + -2.328472788098299e-05, + -2.3425497575869803e-05, + -2.3570258372012803e-05, + -2.3718903840389298e-05, + -2.3871310833610454e-05, + -2.4027340119058127e-05, + -2.418683719473683e-05, + -2.4349633301912627e-05, + -2.4515546572473033e-05, + -2.4684383284646388e-05, + -2.4855939216908628e-05, + -2.503000101125656e-05, + -2.5206347540797602e-05, + -2.538475122321971e-05, + -2.5564979257768117e-05, + -2.5746794723023105e-05, + -2.5929957567791175e-05, + -2.611422543082133e-05, + -2.6299354310637897e-05, + -2.6485099107200004e-05, + -2.667121402794339e-05, + -2.6857452901312747e-05, + -2.7043569438562836e-05, + -2.7229317464090236e-05, + -2.7414451177268955e-05, + -2.7598725460906546e-05, + -2.7781896298544506e-05, + -2.7963721297650815e-05, + -2.8143960368929643e-05, + -2.8322376552571358e-05, + -2.849873698149429e-05, + -2.8672814010053305e-05, + -2.88443864274052e-05, + -2.9013240785912894e-05, + -2.9179172753459574e-05, + -2.9341988497544685e-05, + -2.950150602050672e-05, + -2.9657556427430252e-05, + -2.9809985084842828e-05, + -2.9958652607272137e-05, + -3.0103435711052866e-05, + -3.0244227815402533e-05, + -3.0380939493926527e-05, + -3.051349864244113e-05, + -3.064185049877142e-05, + -3.076595739547427e-05, + -3.088579837020538e-05, + -3.100136854841631e-05, + -3.1112678424727525e-05, + -3.121975297673007e-05, + -3.132263069140613e-05, + -3.1421362501719705e-05, + -3.151601068259366e-05, + -3.160664769707479e-05, + -3.1693355045110583e-05, + -3.177622211128335e-05, + -3.1855345048212414e-05, + -3.1930825684358546e-05, + -3.200277048396187e-05, + -3.2071289576606094e-05, + -3.213649583272232e-05, + -3.219850402622648e-05, + -3.225743005201296e-05, + -3.231339022526224e-05, + -3.2366500644531984e-05, + -3.24168765943012e-05, + -3.2464631777005134e-05, + -3.25098759581895e-05, + -3.2552703226182285e-05, + -3.259313505377563e-05, + -3.26308841574797e-05, + -3.2664539726221463e-05, + -3.268926451488589e-05, + -3.269156823503947e-05, + -3.26401150340052e-05, + -3.247419148609142e-05, + -3.209629019237146e-05, + -3.13785220223067e-05, + -3.0188706369972198e-05, + -2.8430348727839507e-05, + -2.6079401994800043e-05, + -2.3199908310468732e-05, + -1.9931716981251492e-05, + -1.645765484678919e-05, + -1.1271207528141384e-05, + -1.127853593274003e-05, + -1.1278535932870529e-05, + -1.1278535933018268e-05, + -1.1278535933197726e-05, + -1.1278535933355286e-05, + -1.127853593353154e-05, + -1.1278535933731024e-05, + -1.127853593390242e-05, + -1.1278535934146389e-05, + -1.1278535934342736e-05, + -1.1278535934572016e-05, + -1.1278535934834475e-05, + -1.1278535935074771e-05, + -1.1278535935352862e-05, + -1.1278535935641572e-05, + -1.1278535935940593e-05, + -1.1278535936242338e-05, + -1.127853593657303e-05, + -1.1278535936919494e-05, + -1.127853593727256e-05, + -1.1278535937640973e-05, + -1.1278535938036918e-05, + -1.1278535938440917e-05, + -1.1278535938864815e-05, + -1.127853593930111e-05, + -1.127853593975764e-05, + -1.1278535940229646e-05, + -1.1278535940716766e-05, + -1.1278535941221943e-05, + -1.1278535941745813e-05, + -1.1278535942277783e-05, + -1.1278535942825902e-05, + -1.1278535943393671e-05, + -1.1278535943972928e-05, + -1.127853594456279e-05, + -1.1278535945163936e-05, + -1.1278535945782365e-05, + -1.1278535946401597e-05, + -1.1278535947029925e-05, + -1.1278535947670713e-05, + -1.1278535948312456e-05, + -1.1278535948958e-05, + -1.1278535949605459e-05, + -1.1278535950253757e-05, + -1.1278535950898576e-05, + -1.1278535951540981e-05, + -1.1278535952179306e-05, + -1.127853595281058e-05, + -1.1278535953430592e-05, + -1.1278535954043403e-05, + -1.1278535954641439e-05, + -1.1278535955227748e-05, + -1.1278535955796648e-05, + -1.1278535956353065e-05, + -1.1278535956889271e-05, + -1.1278535957407008e-05, + -1.127853595790695e-05, + -1.1278535958385402e-05, + -1.1278535958845379e-05, + -1.1278535959282371e-05, + -1.1278535959700628e-05, + -1.1278535960094383e-05, + -1.1278535960469681e-05, + -1.1278535960824132e-05, + -1.1278535961155698e-05, + -1.1278535961468904e-05, + -1.1278535961762926e-05, + -1.1278535962035694e-05, + -1.1278535962292013e-05, + -1.127853596252941e-05, + -1.1278535962750282e-05, + -1.1278535962955824e-05, + -1.1278535963144172e-05, + -1.1278535963319776e-05, + -1.1278535963480251e-05, + -1.1278535963628431e-05, + -1.1278535963764687e-05, + -1.1278535963889804e-05, + -1.1278535964003294e-05, + -1.1278535964107757e-05, + -1.1278535964202757e-05, + -1.1278535964289181e-05, + -1.1278535964367852e-05, + -1.1278535964439767e-05, + -1.127853596450403e-05, + -1.1278535964562917e-05, + -1.1278535964615614e-05, + -1.1278535964662974e-05, + -1.1278535964706547e-05, + -1.1278535964745781e-05, + -1.1278535964780149e-05, + -1.1278535964811018e-05, + -1.1278535964839861e-05, + -1.1278535964863592e-05, + -1.1278535964886489e-05, + -1.127853596490703e-05, + -1.1278535964924019e-05, + -1.1278535964940357e-05, + -1.1278535964953582e-05, + -1.1278535964966323e-05, + -1.1278535964976598e-05, + -1.1278535964987389e-05, + -1.1278535964994455e-05, + -1.1278535965003574e-05, + -1.1278535965009263e-05, + -1.127853596501467e-05, + -1.1278535965020062e-05, + -1.1278535965024943e-05, + -1.1278535965027325e-05, + -1.12785359650311e-05, + -1.1278535965035336e-05, + -1.127853596503497e-05, + -1.1278535965039832e-05, + -1.1278535965041855e-05, + -1.1278535965040344e-05, + -1.1278535965043342e-05, + -1.1278535965044447e-05, + -1.1278535965048218e-05, + -1.1278535965045277e-05, + -1.1278535965044647e-05, + -1.1278535965050061e-05, + -1.1278535965045392e-05, + -1.1278535965049636e-05, + -1.1278535965048092e-05, + -1.1278535965047564e-05, + -1.1278535965047674e-05, + -1.127853596504657e-05 + ], + "internal_displacement_A_m2": [ + -6.515370316593842e-06, + -4.224552211231759e-06, + -2.165077827089032e-06, + -5.442032173029647e-07, + 5.575133162749215e-07, + 1.1998354355828769e-06, + 1.5232399321818737e-06, + 1.669655512929163e-06, + 1.7370028847956752e-06, + 1.7761749035527243e-06, + 1.8079418871619363e-06, + 1.8391429090172219e-06, + 1.8716615414164407e-06, + 1.9059829307204688e-06, + 1.942274453283475e-06, + 1.9806462500003778e-06, + 2.0212020588884417e-06, + 2.0640472447261642e-06, + 2.109289681577501e-06, + 2.1570396183607752e-06, + 2.207409371221695e-06, + 2.2605129569174733e-06, + 2.316465663992184e-06, + 2.37538355609688e-06, + 2.437382906392058e-06, + 2.5025795757970556e-06, + 2.57108829768705e-06, + 2.643021915820247e-06, + 2.7184905255017685e-06, + 2.797600573910951e-06, + 2.8804538680820484e-06, + 2.967146546697815e-06, + 3.0577679972239195e-06, + 3.1523997247697432e-06, + 3.251114210343403e-06, + 3.353973755923417e-06, + 3.4610293382372847e-06, + 3.5723194949067105e-06, + 3.6878692702491954e-06, + 3.807689236917188e-06, + 3.93177462022528e-06, + 4.060104552340281e-06, + 4.192641488087458e-06, + 4.3293307850983934e-06, + 4.470100479985911e-06, + 4.614861276123535e-06, + 4.763506744509231e-06, + 4.915913737722895e-06, + 5.071943023172018e-06, + 5.23144009885437e-06, + 5.394236206027958e-06, + 5.560149476588469e-06, + 5.728986188761717e-06, + 5.900542121023308e-06, + 6.0746039153712835e-06, + 6.250950444914234e-06, + 6.429354127333044e-06, + 6.609582161884191e-06, + 6.791397627138453e-06, + 6.974560471907813e-06, + 7.158828334931271e-06, + 7.343957214758616e-06, + 7.529702011315281e-06, + 7.715816932057397e-06, + 7.90205580542935e-06, + 8.088172342673962e-06, + 8.273920368214076e-06, + 8.459054081375549e-06, + 8.64332836502632e-06, + 8.826499202664352e-06, + 9.00832420176138e-06, + 9.18856327304346e-06, + 9.366979456691565e-06, + 9.543339885606112e-06, + 9.717416914168558e-06, + 9.88898933151862e-06, + 1.0057843690030086e-05, + 1.0223775657573019e-05, + 1.0386591401655761e-05, + 1.0546108924621974e-05, + 1.0702159331545397e-05, + 1.085458798896506e-05, + 1.1003255511392246e-05, + 1.1148038615155587e-05, + 1.128883071952554e-05, + 1.142554239803357e-05, + 1.1558101546556337e-05, + 1.1686453402886673e-05, + 1.1810560299608302e-05, + 1.193040127430114e-05, + 1.2045971452546136e-05, + 1.2157281328827165e-05, + 1.226435588084507e-05, + 1.2367233595546073e-05, + 1.2465965405809509e-05, + 1.256061358672178e-05, + 1.2651250601176076e-05, + 1.2737957949256293e-05, + 1.282082501539842e-05, + 1.2899947952294021e-05, + 1.2975428588491203e-05, + 1.3047373388078068e-05, + 1.3115892480740467e-05, + 1.3181098736795297e-05, + 1.3243106930351187e-05, + 1.3302032956118299e-05, + 1.3357993129401766e-05, + 1.341110354863273e-05, + 1.3461479498417336e-05, + 1.350923468110244e-05, + 1.3554478862311785e-05, + 1.3597306130291085e-05, + 1.3637737957894301e-05, + 1.3675487061576111e-05, + 1.3709142630379589e-05, + 1.37338674189593e-05, + 1.3736171139191313e-05, + 1.3684717938157593e-05, + 1.3518794390182856e-05, + 1.3140893096498131e-05, + 1.2423124926445102e-05, + 1.123330927406518e-05, + 9.474951631911084e-06, + 7.1240048989435715e-06, + 4.2445112146233375e-06, + 9.763198853643073e-07, + -2.4977422491526507e-06, + -7.684189567785526e-06, + -7.676861163151095e-06, + -7.676861163008605e-06, + -7.67686116285926e-06, + -7.676861162697712e-06, + -7.676861162530267e-06, + -7.676861162352038e-06, + -7.676861162164064e-06, + -7.67686116196396e-06, + -7.676861161756069e-06, + -7.676861161535328e-06, + -7.676861161303108e-06, + -7.67686116105846e-06, + -7.676861160802243e-06, + -7.676861160531964e-06, + -7.676861160247793e-06, + -7.676861159949996e-06, + -7.676861159638032e-06, + -7.676861159311454e-06, + -7.676861158969794e-06, + -7.676861158611789e-06, + -7.676861158238846e-06, + -7.676861157848843e-06, + -7.676861157443597e-06, + -7.676861157021358e-06, + -7.676861156582364e-06, + -7.676861156127546e-06, + -7.676861155655353e-06, + -7.676861155166762e-06, + -7.676861154662806e-06, + -7.676861154142362e-06, + -7.676861153606604e-06, + -7.676861153055866e-06, + -7.676861152491292e-06, + -7.676861151912827e-06, + -7.67686115132155e-06, + -7.67686115071885e-06, + -7.676861150105678e-06, + -7.676861149483091e-06, + -7.676861148852355e-06, + -7.67686114821488e-06, + -7.676861147572803e-06, + -7.676861146926832e-06, + -7.676861146279274e-06, + -7.676861145631417e-06, + -7.676861144985423e-06, + -7.676861144342797e-06, + -7.676861143705432e-06, + -7.67686114307502e-06, + -7.676861142453463e-06, + -7.676861141842273e-06, + -7.676861141243146e-06, + -7.676861140657555e-06, + -7.67686114008699e-06, + -7.676861139532567e-06, + -7.676861138995675e-06, + -7.67686113847717e-06, + -7.676861137977907e-06, + -7.676861137498593e-06, + -7.676861137039842e-06, + -7.676861136601868e-06, + -7.676861136185101e-06, + -7.676861135789486e-06, + -7.676861135415002e-06, + -7.676861135061376e-06, + -7.676861134728426e-06, + -7.676861134415673e-06, + -7.6768611341226e-06, + -7.67686113384858e-06, + -7.676861133592997e-06, + -7.676861133355101e-06, + -7.676861133134261e-06, + -7.676861132929494e-06, + -7.676861132740142e-06, + -7.676861132565299e-06, + -7.676861132404253e-06, + -7.676861132256056e-06, + -7.676861132120065e-06, + -7.676861131995363e-06, + -7.676861131881274e-06, + -7.676861131777065e-06, + -7.676861131682016e-06, + -7.676861131595436e-06, + -7.676861131516769e-06, + -7.676861131445333e-06, + -7.676861131380542e-06, + -7.676861131321958e-06, + -7.676861131269008e-06, + -7.676861131221202e-06, + -7.676861131178191e-06, + -7.676861131139397e-06, + -7.676861131104636e-06, + -7.676861131073428e-06, + -7.676861131045446e-06, + -7.676861131020484e-06, + -7.67686113099817e-06, + -7.676861130978237e-06, + -7.676861130960543e-06, + -7.676861130944845e-06, + -7.67686113093085e-06, + -7.67686113091851e-06, + -7.676861130907552e-06, + -7.676861130897947e-06, + -7.676861130889437e-06, + -7.676861130881963e-06, + -7.676861130875428e-06, + -7.676861130869686e-06, + -7.676861130864704e-06, + -7.676861130860323e-06, + -7.676861130856554e-06, + -7.676861130853286e-06, + -7.676861130850443e-06, + -7.676861130848002e-06, + -7.676861130845942e-06, + -7.676861130844162e-06, + -7.676861130842649e-06, + -7.67686113084139e-06, + -7.67686113084034e-06, + -7.676861130839439e-06, + -7.676861130838726e-06, + -7.676861130838138e-06, + -7.676861130837658e-06, + -7.676861130837303e-06, + -7.676861130837016e-06, + -7.676861130836813e-06, + -7.676861130836674e-06, + -7.676861130836588e-06, + -7.67686113083655e-06 + ], + "internal_total_A_m2": [ + -1.8955397095878485e-05, + -1.895539709588986e-05, + -1.895539709586468e-05, + -1.895539709589302e-05, + -1.8955397095891624e-05, + -1.8955397095875476e-05, + -1.8955397095895524e-05, + -1.89553970958828e-05, + -1.8955397095879478e-05, + -1.89553970958804e-05, + -1.8955397095891285e-05, + -1.8955397095883862e-05, + -1.8955397095903076e-05, + -1.895539709586646e-05, + -1.895539709588446e-05, + -1.895539709588439e-05, + -1.8955397095884994e-05, + -1.8955397095899048e-05, + -1.8955397095870482e-05, + -1.8955397095891485e-05, + -1.8955397095884665e-05, + -1.895539709588415e-05, + -1.8955397095879044e-05, + -1.8955397095889595e-05, + -1.8955397095884648e-05, + -1.8955397095879816e-05, + -1.8955397095889422e-05, + -1.8955397095884218e-05, + -1.8955397095880755e-05, + -1.8955397095892322e-05, + -1.8955397095880636e-05, + -1.895539709588446e-05, + -1.8955397095884617e-05, + -1.8955397095885068e-05, + -1.8955397095884055e-05, + -1.8955397095884614e-05, + -1.8955397095884973e-05, + -1.8955397095884157e-05, + -1.895539709589085e-05, + -1.8955397095875717e-05, + -1.895539709588541e-05, + -1.895539709588986e-05, + -1.8955397095882046e-05, + -1.8955397095884597e-05, + -1.8955397095883892e-05, + -1.895539709588927e-05, + -1.8955397095880067e-05, + -1.895539709588756e-05, + -1.8955397095886108e-05, + -1.895539709588246e-05, + -1.8955397095884668e-05, + -1.8955397095884563e-05, + -1.895539709588467e-05, + -1.895539709588532e-05, + -1.8955397095885278e-05, + -1.8955397095883367e-05, + -1.8955397095886667e-05, + -1.8955397095883926e-05, + -1.895539709588465e-05, + -1.895539709588336e-05, + -1.895539709589006e-05, + -1.895539709587928e-05, + -1.8955397095884722e-05, + -1.8955397095885996e-05, + -1.8955397095883394e-05, + -1.8955397095888876e-05, + -1.895539709587616e-05, + -1.8955397095893406e-05, + -1.8955397095880226e-05, + -1.8955397095880155e-05, + -1.8955397095889435e-05, + -1.8955397095886183e-05, + -1.8955397095879793e-05, + -1.895539709588818e-05, + -1.8955397095884746e-05, + -1.895539709588658e-05, + -1.8955397095882808e-05, + -1.8955397095886555e-05, + -1.8955397095888924e-05, + -1.8955397095884746e-05, + -1.8955397095884855e-05, + -1.895539709587777e-05, + -1.895539709587989e-05, + -1.895539709589728e-05, + -1.895539709587699e-05, + -1.8955397095892956e-05, + -1.8955397095884794e-05, + -1.8955397095884746e-05, + -1.8955397095865966e-05, + -1.895539709590424e-05, + -1.8955397095870174e-05, + -1.8955397095900362e-05, + -1.8955397095884997e-05, + -1.895539709586006e-05, + -1.8955397095910194e-05, + -1.895539709587188e-05, + -1.8955397095898712e-05, + -1.895539709585429e-05, + -1.8955397095884926e-05, + -1.8955397095918394e-05, + -1.895539709586734e-05, + -1.8955397095883804e-05, + -1.8955397095865627e-05, + -1.895539709592702e-05, + -1.8955397095875297e-05, + -1.8955397095894663e-05, + -1.8955397095860474e-05, + -1.8955397095899254e-05, + -1.8955397095883862e-05, + -1.8955397095902693e-05, + -1.8955397095877712e-05, + -1.89553970958912e-05, + -1.8955397095881328e-05, + -1.8955397095903588e-05, + -1.8955397095841876e-05, + -1.8955397095926593e-05, + -1.8955397095848158e-05, + -1.895539709584761e-05, + -1.8955397095908568e-05, + -1.895539709587333e-05, + -1.8955397095861595e-05, + -1.8955397095907016e-05, + -1.8955397095928423e-05, + -1.8955397095856472e-05, + -1.8955397095845393e-05, + -1.8955397095887186e-05, + -1.895539709594184e-05, + -1.895539709592691e-05, + -1.8955397095891126e-05, + -1.8955397095879132e-05, + -1.8955397095877526e-05, + -1.8955397095895436e-05, + -1.8955397095885553e-05, + -1.8955397095883577e-05, + -1.895539709589509e-05, + -1.895539709586638e-05, + -1.8955397095902456e-05, + -1.8955397095878065e-05, + -1.8955397095875124e-05, + -1.8955397095892935e-05, + -1.8955397095877014e-05, + -1.8955397095884824e-05, + -1.8955397095889364e-05, + -1.895539709589059e-05, + -1.8955397095880372e-05, + -1.8955397095884485e-05, + -1.895539709588929e-05, + -1.895539709588435e-05, + -1.8955397095879816e-05, + -1.895539709588576e-05, + -1.8955397095884512e-05, + -1.8955397095886173e-05, + -1.8955397095883476e-05, + -1.8955397095885187e-05, + -1.8955397095885e-05, + -1.895539709588353e-05, + -1.895539709588475e-05, + -1.8955397095888175e-05, + -1.8955397095884387e-05, + -1.8955397095881768e-05, + -1.8955397095884963e-05, + -1.8955397095885756e-05, + -1.895539709588434e-05, + -1.8955397095882784e-05, + -1.8955397095888043e-05, + -1.895539709588469e-05, + -1.895539709588228e-05, + -1.8955397095885593e-05, + -1.8955397095885258e-05, + -1.895539709588483e-05, + -1.8955397095884733e-05, + -1.8955397095885177e-05, + -1.8955397095883997e-05, + -1.895539709588378e-05, + -1.8955397095884736e-05, + -1.89553970958856e-05, + -1.8955397095884055e-05, + -1.8955397095885678e-05, + -1.8955397095884587e-05, + -1.8955397095885305e-05, + -1.8955397095883638e-05, + -1.895539709588563e-05, + -1.8955397095884946e-05, + -1.895539709588418e-05, + -1.8955397095884858e-05, + -1.8955397095883997e-05, + -1.895539709588522e-05, + -1.895539709588424e-05, + -1.895539709588573e-05, + -1.895539709588387e-05, + -1.8955397095884682e-05, + -1.895539709588551e-05, + -1.8955397095884126e-05, + -1.8955397095884577e-05, + -1.8955397095885525e-05, + -1.8955397095884275e-05, + -1.895539709588501e-05, + -1.8955397095884512e-05, + -1.8955397095884543e-05, + -1.895539709588532e-05, + -1.8955397095884316e-05, + -1.8955397095885075e-05, + -1.8955397095884506e-05, + -1.8955397095884485e-05, + -1.895539709588475e-05, + -1.8955397095885166e-05, + -1.8955397095884567e-05, + -1.8955397095884824e-05, + -1.8955397095884773e-05, + -1.8955397095884617e-05, + -1.895539709588462e-05, + -1.8955397095885102e-05, + -1.8955397095884573e-05, + -1.8955397095884875e-05, + -1.895539709588462e-05, + -1.8955397095884174e-05, + -1.8955397095884736e-05, + -1.8955397095885177e-05, + -1.8955397095884783e-05, + -1.8955397095884445e-05, + -1.8955397095885305e-05, + -1.8955397095884075e-05, + -1.8955397095884658e-05, + -1.8955397095885265e-05, + -1.895539709588456e-05, + -1.8955397095885204e-05, + -1.895539709588443e-05, + -1.895539709588483e-05, + -1.895539709588415e-05, + -1.8955397095885336e-05, + -1.8955397095883892e-05, + -1.8955397095885536e-05, + -1.895539709588469e-05, + -1.8955397095884357e-05, + -1.8955397095884767e-05, + -1.8955397095885265e-05, + -1.895539709588388e-05, + -1.8955397095884384e-05, + -1.895539709588578e-05, + -1.8955397095882974e-05, + -1.8955397095885773e-05, + -1.8955397095886017e-05, + -1.8955397095882995e-05, + -1.8955397095884733e-05, + -1.8955397095884787e-05, + -1.8955397095887657e-05, + -1.8955397095884004e-05, + -1.8955397095882784e-05, + -1.8955397095887718e-05, + -1.8955397095882696e-05, + -1.8955397095886654e-05, + -1.8955397095884905e-05, + -1.8955397095884238e-05, + -1.8955397095884262e-05, + -1.895539709588312e-05 + ], + "physical_widths_m": [ + 5.901422388288336e-11, + 1.2168445327999375e-10, + 1.2921290133435793e-10, + 1.3718573109489092e-10, + 1.456263985330553e-10, + 1.5455923405930657e-10, + 1.6400942452466372e-10, + 1.7400298616433713e-10, + 1.8456672721482707e-10, + 1.9572819882658635e-10, + 2.0751563278408056e-10, + 2.1995786443639556e-10, + 2.330842391367742e-10, + 2.4692450039214606e-10, + 2.615086578375502e-10, + 2.768668330800304e-10, + 2.930290814077334e-10, + 3.1002518733890237e-10, + 3.2788443199932904e-10, + 3.4663533037393737e-10, + 3.6630533658778285e-10, + 3.869205155434871e-10, + 4.0850517948706975e-10, + 4.310814884031017e-10, + 4.546690135652088e-10, + 4.79284264100096e-10, + 5.049401770735207e-10, + 5.316455723851334e-10, + 5.594045746728763e-10, + 5.882160054824251e-10, + 6.180727501540692e-10, + 6.489611052145571e-10, + 6.808601135253143e-10, + 7.137408960140655e-10, + 7.47565990478061e-10, + 7.822887096588038e-10, + 8.178525325040014e-10, + 8.54190544194725e-10, + 8.912249420559998e-10, + 9.288666258067398e-10, + 9.670148916509131e-10, + 1.005557250369215e-09, + 1.0443693897370093e-09, + 1.0833153011705004e-09, + 1.1222475893912312e-09, + 1.1610079820176118e-09, + 1.1994280532751899e-09, + 1.23733017242863e-09, + 1.2745286830742073e-09, + 1.3108313141313866e-09, + 1.3460408173217914e-09, + 1.3799568192605954e-09, + 1.4123778691985396e-09, + 1.443103656181209e-09, + 1.4719373622173193e-09, + 1.4986881112844911e-09, + 1.523173467982208e-09, + 1.5452219347003404e-09, + 1.5646753926224425e-09, + 1.5813914299979714e-09, + 1.5952455011079117e-09, + 1.6061328613443997e-09, + 1.6139702278616839e-09, + 1.6186971212639917e-09, + 1.6202768516007768e-09, + 1.6186971212639917e-09, + 1.6139702278616839e-09, + 1.6061328613443997e-09, + 1.5952455011079117e-09, + 1.5813914299979714e-09, + 1.5646753926224425e-09, + 1.5452219347003404e-09, + 1.523173467982208e-09, + 1.4986881112844845e-09, + 1.4719373622173193e-09, + 1.4431036561812155e-09, + 1.4123778691985462e-09, + 1.379956819260592e-09, + 1.346040817321788e-09, + 1.31083131413138e-09, + 1.2745286830742205e-09, + 1.2373301724286366e-09, + 1.19942805327517e-09, + 1.1610079820176184e-09, + 1.1222475893912378e-09, + 1.083315301170507e-09, + 1.0443693897369927e-09, + 1.0055572503692116e-09, + 9.670148916509198e-10, + 9.288666258067464e-10, + 8.91224942055985e-10, + 8.541905441947299e-10, + 8.178525325039981e-10, + 7.822887096588004e-10, + 7.475659904780676e-10, + 7.137408960140556e-10, + 6.808601135253242e-10, + 6.48961105214567e-10, + 6.180727501540659e-10, + 5.882160054824152e-10, + 5.59404574672873e-10, + 5.316455723851383e-10, + 5.049401770735323e-10, + 4.792842641000936e-10, + 4.546690135651964e-10, + 4.3108148840310337e-10, + 4.0850517948706727e-10, + 3.869205155434962e-10, + 3.663053365877845e-10, + 3.4663533037393406e-10, + 3.278844319993274e-10, + 3.1002518733890444e-10, + 2.930290814077417e-10, + 2.7686683308002504e-10, + 2.6150865783754524e-10, + 2.46924500392156e-10, + 2.3308423913676347e-10, + 2.1995786443640466e-10, + 2.0751563278407477e-10, + 1.9572819882657477e-10, + 1.845667272148283e-10, + 1.740029861643485e-10, + 1.6400942452466144e-10, + 1.545592340593227e-10, + 1.4562639853305157e-10, + 1.3718573109488172e-10, + 1.2921290133435225e-10, + 1.8069867716288167e-10, + 1.8069867716288167e-10, + 1.2921290133435225e-10, + 1.3718573109489495e-10, + 1.4562639853305157e-10, + 1.5455923405930946e-10, + 1.6400942452466144e-10, + 1.740029861643485e-10, + 1.845667272148283e-10, + 1.9572819882657477e-10, + 2.0751563278407477e-10, + 2.1995786443640466e-10, + 2.3308423913676347e-10, + 2.46924500392156e-10, + 2.6150865783754524e-10, + 2.7686683308002504e-10, + 2.930290814077417e-10, + 3.1002518733890444e-10, + 3.278844319993274e-10, + 3.4663533037393406e-10, + 3.663053365877845e-10, + 3.8692051554348296e-10, + 4.085051794870805e-10, + 4.3108148840310337e-10, + 4.5466901356520963e-10, + 4.792842641000936e-10, + 5.04940177073519e-10, + 5.316455723851383e-10, + 5.59404574672873e-10, + 5.882160054824152e-10, + 6.180727501540659e-10, + 6.48961105214567e-10, + 6.808601135253109e-10, + 7.137408960140689e-10, + 7.475659904780676e-10, + 7.822887096588004e-10, + 8.178525325039981e-10, + 8.541905441947299e-10, + 8.91224942055985e-10, + 9.288666258067464e-10, + 9.670148916509198e-10, + 1.0055572503692116e-09, + 1.0443693897370192e-09, + 1.0833153011704673e-09, + 1.122247589391251e-09, + 1.1610079820176184e-09, + 1.1994280532751965e-09, + 1.2373301724286234e-09, + 1.2745286830741808e-09, + 1.3108313141314065e-09, + 1.346040817321788e-09, + 1.3799568192606186e-09, + 1.412377869198533e-09, + 1.4431036561812023e-09, + 1.4719373622173193e-09, + 1.4986881112844977e-09, + 1.523173467982208e-09, + 1.545221934700314e-09, + 1.564675392622469e-09, + 1.5813914299979515e-09, + 1.5952455011079183e-09, + 1.606132861344413e-09, + 1.6139702278616839e-09, + 1.6186971212639851e-09, + 1.6202768516007636e-09, + 1.6186971212639851e-09, + 1.6139702278616839e-09, + 1.606132861344413e-09, + 1.5952455011079183e-09, + 1.5813914299979515e-09, + 1.564675392622469e-09, + 1.545221934700314e-09, + 1.523173467982208e-09, + 1.4986881112844977e-09, + 1.4719373622173193e-09, + 1.4431036561812023e-09, + 1.412377869198533e-09, + 1.3799568192606186e-09, + 1.346040817321788e-09, + 1.31083131413138e-09, + 1.2745286830742073e-09, + 1.2373301724286234e-09, + 1.1994280532751965e-09, + 1.1610079820176184e-09, + 1.122247589391251e-09, + 1.0833153011704673e-09, + 1.0443693897370192e-09, + 1.0055572503692116e-09, + 9.670148916509198e-10, + 9.288666258067464e-10, + 8.91224942055985e-10, + 8.541905441947299e-10, + 8.178525325039848e-10, + 7.822887096588137e-10, + 7.475659904780676e-10, + 7.137408960140821e-10, + 6.808601135253109e-10, + 6.489611052145538e-10, + 6.180727501540659e-10, + 5.882160054824152e-10, + 5.59404574672873e-10, + 5.316455723851383e-10, + 5.04940177073519e-10, + 4.7928426410012e-10, + 4.5466901356518316e-10, + 4.3108148840310337e-10, + 4.0850517948706727e-10, + 3.869205155434962e-10, + 3.6630533658779774e-10, + 3.4663533037392083e-10, + 3.278844319993274e-10, + 3.1002518733890444e-10, + 2.930290814077152e-10, + 2.768668330800515e-10, + 2.6150865783754524e-10, + 2.46924500392156e-10, + 2.3308423913676347e-10, + 2.1995786443639143e-10, + 2.0751563278407477e-10, + 1.95728198826588e-10, + 1.845667272148283e-10, + 1.740029861643485e-10, + 1.6400942452466144e-10, + 1.545592340593227e-10, + 1.4562639853305157e-10, + 1.3718573109489495e-10, + 1.29212901334339e-10, + 1.2168445327999169e-10, + 5.901422388288999e-11 + ], + "positive_inventory_m2": [ + 1000000000000002.9 + ], + "positive_ion_flux_m2_s": [ + -7295196079944.042, + -21593358072571.71, + -34447586129661.2, + -44564289715381.42, + -51440663457183.01, + -55449722793470.21, + -57468254893839.95, + -58382109069637.61, + -58802458302263.11, + -59046950812806.164, + -59245224729339.336, + -59439966190335.16, + -59642931529663.41, + -59857148792223.555, + -60083662659737.88, + -60323160577148.1, + -60576290026347.06, + -60843708642635.6, + -61126089722612.97, + -61424121386478.08, + -61738504655990.91, + -62069951167988.85, + -62419180496898.1, + -62786917055175.695, + -63173886562613.555, + -63580812166288.23, + -64008409975691.34, + -64457384305980.63, + -64928422318105.26, + -65422188403183.414, + -65939317990503.86, + -66480411130769.04, + -67046025736536.555, + -67636670522710.484, + -68252797880149.03, + -68894796667234.59, + -69562985055662.45, + -70257603578341.13, + -70978808549658.52, + -71726665958737.23, + -72501146004623.89, + -73302118440359.34, + -74129348927349.61, + -74982496414895.75, + -75861111742776.39, + -76764637565343.75, + -77692409604883.81, + -78643659235850.17, + -79617517436590.22, + -80613019881493.78, + -81629113261389.27, + -82664662444799.5, + -83718458315523.92, + -84789226223065.23, + -85875634491506.39, + -86976302955337.28, + -88089811157488.08, + -89214706069932.34, + -90349508945475.69, + -91492721502411.86, + -92642831040789.9, + -93798314623183.58, + -94957642455459.34, + -96119280421095.28, + -97281692038093.0, + -98443340093012.58, + -99602688078589.5, + -100758201827985.97, + -101908351440020.81, + -103051613883753.95, + -104186476263998.34, + -105311440061237.4, + -106425026288670.0, + -107525781504296.31, + -108612284855759.7, + -109683155653577.48, + -110737061662394.11, + -111772727541447.14, + -112788943483435.2, + -113784573548306.42, + -114758563576919.17, + -115709948423060.02, + -116637858111041.83, + -117541523164758.47, + -118420278359293.2, + -119273565538999.7, + -120100934664968.48, + -120902043938592.66, + -121676658258191.33, + -122424646787109.62, + -123145979100810.08, + -123840720701570.03, + -124509027487257.1, + -125151139674723.58, + -125767375162529.2, + -126358122640171.47, + -126923834386426.14, + -127465019083949.77, + -127982234627430.45, + -128476081154318.28, + -128947194227869.88, + -129396238345616.1, + -129823900882347.39, + -130230886319887.38, + -130617911020676.78, + -130985698343741.03, + -131334974271347.61, + -131666463433688.62, + -131980885379891.03, + -132278949784726.52, + -132561341750855.64, + -132828648531416.33, + -133081004149049.92, + -133316615521224.39, + -133526677057854.2, + -133680997049634.98, + -133695375738887.61, + -133374230116782.94, + -132338616785930.58, + -129979942431074.81, + -125499985883452.6, + -118073740691705.05, + -107098935511471.36, + -92425480142932.12, + -74453094181694.38, + -54054648342696.32, + -32371258004616.688, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + }, + "assessment": { + "conservation_compliant": true, + "content_consistent": true, + "reference_accuracy_qualified": null, + "reference_accuracy_status": "not_assessed_shared_constitutive_laws" + }, + "checks": { + "charge_balance_normalized": { + "applicable": true, + "passed": true + }, + "contact_internal_current_spread_relative": { + "applicable": true, + "passed": true + }, + "electron_current_A_m2_reported_content_matches": { + "applicable": true, + "passed": true + }, + "electron_current_A_m2_state_content_matches": { + "applicable": true, + "passed": true + }, + "finite_positive_populations": { + "applicable": true, + "passed": true + }, + "hole_current_A_m2_reported_content_matches": { + "applicable": true, + "passed": true + }, + "hole_current_A_m2_state_content_matches": { + "applicable": true, + "passed": true + }, + "interface_conduction_A_m2_reported_content_matches": { + "applicable": true, + "passed": true + }, + "interface_current_spread_relative": { + "applicable": true, + "passed": true + }, + "interface_displacement_A_m2_reported_content_matches": { + "applicable": true, + "passed": true + }, + "interface_total_A_m2_reported_content_matches": { + "applicable": true, + "passed": true + }, + "internal_displacement_A_m2_reported_content_matches": { + "applicable": true, + "passed": true + }, + "internal_face_current_spread_relative": { + "applicable": true, + "passed": true + }, + "internal_total_A_m2_reported_content_matches": { + "applicable": true, + "passed": true + }, + "inventory_relative_drift": { + "applicable": true, + "passed": true + }, + "ion_site_occupancy_physical": { + "applicable": true, + "passed": true + }, + "physical_geometry_matches": { + "applicable": true, + "passed": true + }, + "positive_ion_flux_m2_s_reported_content_matches": { + "applicable": true, + "passed": true + }, + "positive_ion_flux_m2_s_state_content_matches": { + "applicable": true, + "passed": true + } + }, + "finite_step": true, + "limits": { + "charge_balance_normalized": 1e-10, + "contact_internal_current_spread_relative": 2e-06, + "interface_current_spread_relative": 2e-06, + "internal_face_current_spread_relative": 2e-06, + "inventory_relative_drift": 1e-10 + }, + "metrics": { + "charge_balance_normalized": 1.6185161804416824e-18, + "contact_internal_current_spread_relative": 5.273613620289953e-12, + "interface_current_spread_relative": 2.150448937966323e-12, + "internal_face_current_spread_relative": 5.273613620289953e-12, + "inventory_relative_drift": 3.1086244689504383e-15 + }, + "passed": true, + "reasons": [], + "schema": "R1IndependentPhysicsRowV1", + "scope": "saved_state_independent_current_charge_assembly_not_full_DAE_oracle", + "shared_constitutive_dependencies": [ + "fe_operators.bernoulli", + "two_sided_interface._material_two_sided_interface_problem", + "two_sided_interface_compensated.evaluate_local_carrier_pair", + "compensated.DD", + "one_dimensional_mechanism_r1_global_reference.evaluate_independent_saved_high_ion_transport" + ] + }, + "local_algebraic_scale": [ + 2.5951999786435536e-14, + 3.878700853926815e-14, + 16694.821269249507, + 10580.80998663068, + 16694.821269249507, + 10580.80998663068 + ], + "poisson_scale_C_m2": [ + 3.765564615313958e-14, + 3.54615209761182e-14, + 3.3400442220867445e-14, + 3.146435617735993e-14, + 2.964569754730839e-14, + 2.7937359882595423e-14, + 2.633266781666979e-14, + 2.4825350980411758e-14, + 2.3409519500528085e-14, + 2.2079640984743803e-14, + 2.083051890385784e-14, + 1.9657272286193556e-14, + 1.8555316645096934e-14, + 1.7520346064953486e-14, + 1.654831637572964e-14, + 1.56354293502912e-14, + 1.4778117862748466e-14, + 1.3973031949833105e-14, + 1.3217025720844629e-14, + 1.2507145065014236e-14, + 1.1840616108252945e-14, + 1.1214834374177461e-14, + 1.062735460706278e-14, + 1.0075881216952278e-14, + 9.558259309589638e-15, + 9.07246626612338e-15, + 8.61660383967932e-15, + 8.18889073791949e-15, + 7.787655662603971e-15, + 7.411330778956708e-15, + 7.058445589316688e-15, + 6.727621187136784e-15, + 6.417564868876249e-15, + 6.127065082733461e-15, + 5.8549866944812134e-15, + 5.600266551904719e-15, + 5.361909330511474e-15, + 5.138983644279081e-15, + 4.930618406244078e-15, + 4.735999424710795e-15, + 4.554366221779579e-15, + 4.385009061762838e-15, + 4.227266177877446e-15, + 4.080521186376651e-15, + 3.944200678017205e-15, + 3.817771977450281e-15, + 3.7007410617809435e-15, + 3.592650630162956e-15, + 3.4930783168858204e-15, + 3.4016350409715953e-15, + 3.3179634858324476e-15, + 3.2417367030483777e-15, + 3.1726568348091485e-15, + 3.1104539500283997e-15, + 3.0548849895821293e-15, + 3.005732816549788e-15, + 2.9628053677471132e-15, + 2.9259349032350315e-15, + 2.8949773508722195e-15, + 2.869811743350079e-15, + 2.8503397455103273e-15, + 2.8364852700982524e-15, + 2.8281941804501133e-15, + 2.8254340789529334e-15, + 2.8281941804501133e-15, + 2.8364852700982524e-15, + 2.8503397455103273e-15, + 2.869811743350079e-15, + 2.8949773508722258e-15, + 2.9259349032350315e-15, + 2.962805367747107e-15, + 3.005732816549788e-15, + 3.0548849895821293e-15, + 3.1104539500283997e-15, + 3.1726568348091485e-15, + 3.2417367030483777e-15, + 3.317963485832439e-15, + 3.4016350409716048e-15, + 3.4930783168858188e-15, + 3.592650630162938e-15, + 3.700741061780949e-15, + 3.817771977450302e-15, + 3.944200678017203e-15, + 4.080521186376629e-15, + 4.227266177877439e-15, + 4.385009061762852e-15, + 4.554366221779585e-15, + 4.735999424710778e-15, + 4.930618406244097e-15, + 5.138983644279099e-15, + 5.361909330511487e-15, + 5.60026655190474e-15, + 5.854986694481194e-15, + 6.127065082733462e-15, + 6.417564868876263e-15, + 6.7276211871367505e-15, + 7.058445589316662e-15, + 7.411330778956749e-15, + 7.787655662604013e-15, + 8.188890737919427e-15, + 8.616603839679249e-15, + 9.072466266123287e-15, + 9.558259309589707e-15, + 1.0075881216952408e-14, + 1.062735460706272e-14, + 1.1214834374177551e-14, + 1.1840616108252865e-14, + 1.2507145065014199e-14, + 1.3217025720844744e-14, + 1.397303194983286e-14, + 1.47781178627484e-14, + 1.5635429350291466e-14, + 1.6548316375729542e-14, + 1.7520346064953414e-14, + 1.8555316645097145e-14, + 1.9657272286193325e-14, + 2.0830518903857646e-14, + 2.2079640984744434e-14, + 2.3409519500528647e-14, + 2.4825350980411597e-14, + 2.6332667816669053e-14, + 2.7937359882594697e-14, + 2.964569754730783e-14, + 3.146435617736082e-14, + 3.340044222086796e-14, + 3.5461520976118024e-14, + 2.795889651832315e-14, + 2.795889651832315e-14, + 3.5461520976118024e-14, + 3.340044222086645e-14, + 3.146435617736065e-14, + 2.964569754730918e-14, + 2.7937359882594697e-14, + 2.6332667816669053e-14, + 2.4825350980411597e-14, + 2.3409519500528647e-14, + 2.2079640984744434e-14, + 2.0830518903857646e-14, + 1.9657272286193325e-14, + 1.8555316645097145e-14, + 1.7520346064953414e-14, + 1.6548316375729542e-14, + 1.5635429350291132e-14, + 1.477811786274836e-14, + 1.3973031949833155e-14, + 1.3217025720844744e-14, + 1.2507145065014413e-14, + 1.1840616108252889e-14, + 1.1214834374177359e-14, + 1.062735460706272e-14, + 1.0075881216952269e-14, + 9.558259309589693e-15, + 9.07246626612341e-15, + 8.616603839679249e-15, + 8.188890737919427e-15, + 7.787655662604013e-15, + 7.411330778956749e-15, + 7.058445589316662e-15, + 6.727621187136812e-15, + 6.417564868876269e-15, + 6.127065082733407e-15, + 5.854986694481194e-15, + 5.60026655190474e-15, + 5.361909330511487e-15, + 5.138983644279099e-15, + 4.930618406244097e-15, + 4.735999424710778e-15, + 4.554366221779556e-15, + 4.385009061762851e-15, + 4.227266177877467e-15, + 4.080521186376629e-15, + 3.944200678017181e-15, + 3.8177719774503015e-15, + 3.700741061780969e-15, + 3.592650630162956e-15, + 3.493078316885803e-15, + 3.40163504097157e-15, + 3.317963485832455e-15, + 3.2417367030483935e-15, + 3.1726568348091343e-15, + 3.1104539500283994e-15, + 3.0548849895821435e-15, + 3.005732816549788e-15, + 2.962805367747107e-15, + 2.9259349032350315e-15, + 2.8949773508722376e-15, + 2.8698117433500667e-15, + 2.8503397455103095e-15, + 2.8364852700982524e-15, + 2.828194180450119e-15, + 2.8254340789529563e-15, + 2.828194180450119e-15, + 2.8364852700982524e-15, + 2.8503397455103095e-15, + 2.8698117433500667e-15, + 2.8949773508722376e-15, + 2.9259349032350315e-15, + 2.962805367747107e-15, + 3.005732816549788e-15, + 3.0548849895821435e-15, + 3.1104539500283994e-15, + 3.1726568348091343e-15, + 3.2417367030483935e-15, + 3.3179634858324223e-15, + 3.401635040971606e-15, + 3.493078316885836e-15, + 3.592650630162919e-15, + 3.700741061780969e-15, + 3.8177719774503015e-15, + 3.944200678017181e-15, + 4.080521186376629e-15, + 4.227266177877467e-15, + 4.385009061762851e-15, + 4.554366221779588e-15, + 4.735999424710776e-15, + 4.9306184062440265e-15, + 5.1389836442791025e-15, + 5.3619093305115255e-15, + 5.60026655190474e-15, + 5.854986694481246e-15, + 6.1270650827334e-15, + 6.417564868876211e-15, + 6.727621187136812e-15, + 7.0584455893165855e-15, + 7.411330778956757e-15, + 7.787655662604096e-15, + 8.188890737919528e-15, + 8.616603839679236e-15, + 9.072466266123175e-15, + 9.558259309589707e-15, + 1.0075881216952562e-14, + 1.0627354607062701e-14, + 1.1214834374177568e-14, + 1.1840616108252628e-14, + 1.2507145065013773e-14, + 1.3217025720845277e-14, + 1.3973031949833095e-14, + 1.4778117862748432e-14, + 1.5635429350291422e-14, + 1.654831637572917e-14, + 1.7520346064952944e-14, + 1.85553166450972e-14, + 1.9657272286194442e-14, + 2.0830518903858236e-14, + 2.2079640984744434e-14, + 2.3409519500527807e-14, + 2.4825350980411698e-14, + 2.633266781666787e-14, + 2.7937359882593772e-14, + 2.964569754731038e-14, + 3.146435617736065e-14, + 3.340044222086645e-14, + 3.546152097611995e-14, + 3.765564615313995e-14 + ], + "rate": [ + 1024631637.6505504, + 1339048272.474272, + 1851241245.3653557, + 2014923596.8716784, + 1625047101.4331112, + 2044517586.1185782, + 1250967597.8541155, + 1193965036.7726595, + 883085070.7929103, + 632717935.1732733, + 371308131.0103044, + -699135137.5446347, + -176947825.0859462, + -1380983382.8488584, + -1215653525.6885767, + -2221916703.59426, + -2597362888.7919903, + -2581577501.1579943, + -4242645417.370344, + -4419755447.313515, + -4952469569.151511, + -5762712079.6437025, + -6695460659.7949295, + -7485367653.044072, + -8461553745.781549, + -9294782441.219551, + -10555988393.341043, + -11419939487.824915, + -12721003971.60824, + -13988042245.874603, + -15171932156.30756, + -16787252284.411562, + -18033880385.646038, + -19858020766.826054, + -21366350799.31674, + -23245851317.27047, + -24913397668.946224, + -27230060957.243988, + -28792218924.167686, + -31340122052.22576, + -33433300055.954853, + -35954777204.03672, + -38178436243.34694, + -40870607681.81923, + -43481876784.288185, + -46405386996.38066, + -49014686539.498856, + -52072454851.66539, + -55100198026.82884, + -58220782754.888535, + -61185261582.96044, + -64777655209.44983, + -67811069866.32026, + -71171397253.9945, + -74517399826.9668, + -78034200433.15677, + -81312082181.7273, + -84746843451.43161, + -88251972050.2919, + -91723118260.98785, + -94682826609.58055, + -98350409738.3927, + -101498441835.17528, + -104680742656.97449, + -107745930238.94334, + -110817343949.08372, + -113724769690.27275, + -116729799890.59068, + -119217567028.40327, + -121796798258.255, + -124456053641.42354, + -126701998876.6057, + -128893775014.89304, + -130888863166.99129, + -133189643808.1391, + -134557120895.82605, + -136253982702.28369, + -138146680146.63898, + -139266292298.9002, + -140492730558.53214, + -141976310758.21384, + -142796516036.17825, + -143729758831.71576, + -144375529016.5079, + -145695481368.1532, + -145941337818.10992, + -146337960454.34543, + -146803836063.9436, + -147868129858.42975, + -147242943370.183, + -148535638229.8027, + -148213780396.95554, + -148111132669.09195, + -148051869288.3922, + -149156745006.69116, + -148386812876.5339, + -148673955356.27756, + -148929120742.1014, + -147874351662.9822, + -148630848445.06674, + -149990356187.81644, + -147228998333.53033, + -147304121060.71213, + -149921560620.67813, + -147014884789.85703, + -146872199848.9733, + -149711088389.17697, + -147997256779.4047, + -144645717938.64194, + -148229087575.43475, + -147714217236.7873, + -149852457118.3677, + -146370596770.36157, + -148117815522.87003, + -139641041540.63226, + -151343877779.1051, + -151747094821.96957, + -134730052889.27618, + -157892142158.1185, + -129512812996.82246, + -172462750233.5262, + -111555274426.75732, + -173900000622.22513, + -149545181285.77817, + -131296526829.19072, + -131801544106.79031, + -189318703858.84473, + -7071704798707.34, + -6209679225698.668, + -6631628502684.365, + -7599066221623.4375, + -6271787403733.255, + -6615768931960.982, + -7062218441152.742, + -5704306802931.894, + -7687270021721.251, + -5812232598820.62, + -6412825423577.589, + -6934820939979.218, + -5979848144232.929, + -6543250707415.021, + -6414293457907.094, + -6274298515785.281, + -5979601191003.275, + -6199023135530.959, + -6142813465551.268, + -5919762228991.824, + -5845725769566.969, + -5952420796659.476, + -5751946279235.636, + -5719947981522.99, + -5583213828708.761, + -5543251110989.149, + -5441213549944.658, + -5334192120287.82, + -5258777035623.399, + -5188104921141.695, + -5012960014535.311, + -4920973193379.31, + -4860085271192.079, + -4730674435068.37, + -4599756365205.537, + -4480012234690.931, + -4410243397004.287, + -4227262558784.9995, + -4111255921480.603, + -4024006618692.3374, + -3870420894067.851, + -3743657416176.9946, + -3615131745871.319, + -3488682932815.3877, + -3348624270980.523, + -3223612826263.876, + -3099263879604.2256, + -2969233151230.884, + -2828805557024.3457, + -2716842614332.4194, + -2578491132235.7183, + -2463475691813.9995, + -2331546303834.633, + -2229032511514.6094, + -2101507251252.2617, + -1988719148083.3975, + -1885034863904.6611, + -1773477071353.5464, + -1679061569015.4912, + -1572562728172.3477, + -1486996113728.8486, + -1383938438629.6755, + -1307507472334.51, + -1225412242831.3667, + -1137901477147.6235, + -1070942075516.233, + -1001784435103.6604, + -926894789752.0399, + -871643806111.3479, + -807705760883.8752, + -753162118696.689, + -704926717613.042, + -648191930965.6202, + -609465146739.8435, + -560561013813.5264, + -523095823662.2984, + -486707881588.51697, + -453350961708.35205, + -414570784338.8243, + -388955473331.3287, + -360217382105.1966, + -333236895313.8895, + -308391927835.838, + -289596592597.9475, + -262088686499.6276, + -248897458302.73972, + -225104734755.8087, + -209859593224.29916, + -199128480061.4872, + -182695451947.36758, + -164857549139.91727, + -154703182700.07385, + -150618626051.33136, + -123013422765.9021, + -123988345378.67157, + -124653003479.42896, + -88905703551.09686, + -114441624346.2995, + -74143786084.18869, + -87765052406.02492, + -75610069093.03012, + -72492747196.69688, + -53180394435.74847, + -86339982325.01651, + -29767203969.859276, + -49663595599.463295, + -54679439048.38419, + -37993029462.90653, + -42981745192.17751, + -17192451015.739338, + -64634435637.43847, + 14130981380.508368, + -54254255276.97223, + -42148343574.737175, + 36457995477.694664, + -72447121662.0004, + 33229764193.329926, + -91447566281.79405, + 16168334876.80816, + 52124925095.83166, + -67562478516.54157, + -15216519773.954367, + 14122706747.888493, + -2648551371.6038117, + 78752615975.22574, + -35776039247.89829, + -78441362106.88362, + -800121440.777545, + -1279520627.4715483, + -1963948677.5342364, + -1397615645.405633, + -1692878833.608443, + -1372340727.052037, + -1118920342.4001186, + -438753615.53665185, + -278376823.34926516, + 123188724.70113277, + 683767655.5770575, + 1251497349.5602973, + 1835634154.0872025, + 2520781962.060863, + 3252569416.2759705, + 3749909772.5222135, + 4786452460.504792, + 5657716749.403475, + 6464019140.763878, + 7544927494.854509, + 9066481270.218872, + 9793247645.563171, + 11455192230.530025, + 12874769467.109983, + 14691547875.412565, + 16367382558.664402, + 18341714283.52776, + 20608476831.456913, + 22933571736.74836, + 25666572998.468143, + 28460739860.611343, + 31587645856.59377, + 35223305976.98054, + 38811037569.92648, + 43207032070.69853, + 47731084633.45052, + 53045879231.41392, + 58564738556.015366, + 64493573364.49102, + 71293682426.58022, + 78983555473.68346, + 86782328077.60591, + 95874978674.24495, + 105675173012.43471, + 116158167991.95699, + 128092526873.4254, + 140728207673.83646, + 154444757458.37363, + 169965045229.2404, + 186298376364.7469, + 204057680562.68683, + 223884023022.24146, + 244723034585.51364, + 267429346924.04385, + 291914998697.18744, + 318507760390.1335, + 347011665598.3044, + 377304052178.4519, + 409918063477.3275, + 444971503694.8181, + 481971129186.2074, + 521542272505.82556, + 563523870978.7214, + 607820623162.5652, + 654631134167.9354, + 704263376751.141, + 756142559823.8022, + 810362900823.2671, + 867738397233.3395, + 927294475419.231, + 988718332518.2134, + 1053611492296.3594, + 1120170969478.8032, + 1189055302012.23, + 1260507088040.2166, + 1332048731073.0032, + 1409234203395.083, + 1484557807618.0361, + 1563335091764.6055, + 1643506210055.7288, + 1723018423350.1467, + 1806750120719.748, + 1888436373366.583, + 1972939655835.4314, + 2056574368151.1743, + 2140519418690.072, + 2225672412350.7417, + 2309568133580.3164, + 2390922635907.3994, + 2478446893354.8823, + 2560023151290.427, + 2640326527826.546, + 2720345987769.9688, + 2800782581045.1626, + 2882377112321.7607, + 2952576160091.6216, + 3032152722579.08, + 3104006712477.9985, + 3172180513062.0786, + 3248942420620.5815, + 3307481545401.221, + 3380842300530.4834, + 3443533463197.071, + 3496205747798.0093, + 3573648206542.943, + 3616129987754.8574, + 3674046567065.044, + 3719727222803.1543, + 3789382434183.4746, + 3815322915122.765, + 3886406867179.909, + 3901860410094.1494, + 3997371522746.3877, + 3974390409185.216, + 4041091221706.264, + 4100218400278.0312, + 4118204591166.884, + 4114692609527.4473, + 4195753230438.049, + 4226208176934.917, + 4231579005405.304, + 4248388167691.3965, + 4352161439838.1113, + 4186267444072.459, + 4349123784445.3765, + 4454867374982.886, + 5697337809288.784, + 80830476867.36386, + 93911673835.2466, + 90042470569.44586, + 92470497989.17566, + 90865760749.97194, + 91717343867.35875, + 93354362657.23723, + 91787124392.35773, + 92579895627.6394, + 93338332854.27159, + 93206796951.07492, + 93239865740.85875, + 94167089804.5646, + 93995823089.3044, + 94227011189.68181, + 94825817825.15453, + 95198413124.71635, + 95942786669.57198, + 95603083654.99861, + 96164063812.81801, + 97243618133.66988, + 97178053247.37686, + 97445005401.91574, + 99144321036.16356, + 98462446495.83797, + 99870489572.86497, + 100124793439.4721, + 100819378523.69218, + 101605756031.30075, + 102108154324.27843, + 103361811609.8189, + 103695640719.17336, + 104928886030.1069, + 105605006653.09209, + 106477478509.95363, + 107670580048.83235, + 108578573109.42496, + 109399691935.07442, + 110782769681.20055, + 111906630455.95969, + 112890731266.9566, + 114335391942.51854, + 115183059965.87402, + 116909518979.13489, + 117884303573.69936, + 119294517728.39066, + 120656969773.59468, + 122191014836.65317, + 123370931373.88818, + 124722483340.33728, + 126412977647.91136, + 127509638487.666, + 128981569240.65918, + 130361667638.46252, + 131604651344.37364, + 132812274486.66632, + 134345448425.85046, + 135079077530.17732, + 136386995770.32031, + 137205210793.22487, + 138364954480.02292, + 138785725578.74606, + 139599318034.15295, + 139974465915.47498, + 140578574602.35712, + 140279824930.17532, + 140802701016.6899, + 140326959893.27945, + 140014390105.21432, + 139263915783.61588, + 138999115885.8172, + 137322326180.63875, + 136211020636.5557, + 135152632263.83945, + 133501284822.3173, + 131737256612.22653, + 129571838771.88971, + 126808605753.09224, + 125809235331.17401, + 122615042606.26154, + 118993661927.2063, + 116497769514.1643, + 114532609749.96948, + 110361081528.40692, + 108165000798.16592, + 103033954441.22952, + 101988252332.44032, + 95816711895.76482, + 93660276919.18068, + 92075696047.80907, + 86269607118.58499, + 80865259915.24736, + 79507259190.92212, + 75121944570.25764, + 76240898258.94849, + 63644152205.86558, + 74496860921.5252, + 50549288821.97732, + 66182629477.84332, + 54392350448.69332, + 45012481997.95932, + 60896066388.99166, + 38847393475.45345, + 38832419787.18838, + 52597515497.3177, + 32956410129.090195, + 32303641890.631165, + 45168011686.39305, + -94080323.9796941, + 54655484758.23736, + 20663126434.575993, + 6336935949.443482, + 55369966559.850464, + 6087988616.738322, + -1716830786.83278, + 7823673359.681838, + 64571858042.18021, + 21973635969.307594, + -77612960389.74065, + 30870938428.928135, + 126616416690.68689, + -192860917546.44043, + 185457665599.6556, + -68757423288.48831, + 54628283735.47751, + -30416156030.820908, + -135095600541.89021, + -45740302767.46776, + 1.2361758911583281e+23, + 1.1750196189588703e+23, + 9.948099550699838e+22, + 7.3744576093868945e+22, + 4.7219280371345145e+22, + 2.593865944462993e+22, + 1.2307415297748298e+22, + 5.251945359917981e+21, + 2.277491934590281e+21, + 1.2491430054985605e+21, + 9.554649636419081e+20, + 8.853580275240774e+20, + 8.707810535793122e+20, + 8.675415449659475e+20, + 8.661811405687398e+20, + 8.650292804880373e+20, + 8.638372955438747e+20, + 8.62570614290789e+20, + 8.612213707601366e+20, + 8.597844413135973e+20, + 8.58254680211273e+20, + 8.566268747274209e+20, + 8.548957184527048e+20, + 8.530557868300991e+20, + 8.511015615590418e+20, + 8.490276734595436e+20, + 8.46828651824336e+20, + 8.444993311522386e+20, + 8.420346086731077e+20, + 8.394298701090238e+20, + 8.366807745391344e+20, + 8.337836211097498e+20, + 8.30735410301711e+20, + 8.275338984671066e+20, + 8.241778856800867e+20, + 8.20667330563378e+20, + 8.170035084223416e+20, + 8.131891969531461e+20, + 8.092288908046109e+20, + 8.051289477961195e+20, + 8.008977447745952e+20, + 7.965458311213506e+20, + 7.920861096844092e+20, + 7.875338662938996e+20, + 7.829068524506726e+20, + 7.78225332264465e+20, + 7.735120393479705e+20, + 7.687920751978868e+20, + 7.640928083242967e+20, + 7.594435944362799e+20, + 7.548756076485099e+20, + 7.504214399730924e+20, + 7.461146862364835e+20, + 7.4198960203235e+20, + 7.380805028310423e+20, + 7.344212952270107e+20, + 7.310449043114563e+20, + 7.279827493921855e+20, + 7.252640904906036e+20, + 7.229156142180696e+20, + 7.209608411866944e+20, + 7.194196757959849e+20, + 7.183080655779736e+20, + 7.176376299037684e+20, + 7.174154317203771e+20, + 7.176438628694701e+20, + 7.183205523641654e+20, + 7.194384581791403e+20, + 7.209859618698588e+20, + 7.229471603590296e+20, + 7.25302120551869e+20, + 7.280273286162153e+20, + 7.310961297847345e+20, + 7.344791803832308e+20, + 7.381451000242876e+20, + 7.420608999436361e+20, + 7.461926668495968e+20, + 7.505060046791706e+20, + 7.549666614196911e+20, + 7.595409524763802e+20, + 7.641962409692008e+20, + 7.689013549822841e+20, + 7.736268010807764e+20, + 7.78345254910522e+20, + 7.830314832856166e+20, + 7.876628150498112e+20, + 7.92218858671393e+20, + 7.966819127702859e+20, + 8.010365985949134e+20, + 8.052701089014102e+20, + 8.093717754761308e+20, + 8.133332843375182e+20, + 8.171482744461483e+20, + 8.20812290319962e+20, + 8.243225289202133e+20, + 8.2767777626495e+20, + 8.30878083495833e+20, + 8.33924703923041e+20, + 8.368198458057915e+20, + 8.395666256697818e+20, + 8.421687896047142e+20, + 8.44630598034795e+20, + 8.469568399367465e+20, + 8.491525134966502e+20, + 8.512229539343995e+20, + 8.531735482928668e+20, + 8.55009789704862e+20, + 8.567371049720076e+20, + 8.583602661411345e+20, + 8.598788949583976e+20, + 8.61254571945341e+20, + 8.622098831876226e+20, + 8.611964942907918e+20, + 8.509916827284425e+20, + 8.032680002522491e+20, + 6.249683264953339e+20, + 6.168880961611359e+19, + -1.4600324608876937e+21, + -4.990531638307616e+21, + -1.20507641157301e+22, + -2.4272828668667427e+22, + -4.267883761910471e+22, + -6.691569836331842e+22, + -9.493742291002358e+22, + -1.2341434068465755e+23, + -1.4869218304409437e+23, + -1.6781134170164273e+23, + -1.791449639414751e+23 + ], + "scaled_nonlinear_residual": 0.024242793788467533, + "scaled_residual_vector": [ + -2.054241783664746e-07, + 1.6082652269733062e-07, + -3.431600681678299e-08, + -1.1089367849482112e-07, + 4.1692400211593336e-07, + -6.234044410257745e-07, + 4.5239432751902824e-07, + -1.7192746868993907e-08, + -1.4466667268902078e-08, + -2.6556900716298117e-07, + -6.248883017144014e-07, + 1.9299784542855637e-06, + -1.845980915427131e-06, + 1.649998335450093e-06, + -1.6193075417173988e-06, + 1.2989503014364566e-06, + 3.4305278021675956e-07, + -4.2356417541729635e-06, + 4.479200850188522e-06, + 2.860308688734011e-07, + -1.5568491922419723e-06, + -9.826562238049007e-07, + 7.635857245176563e-07, + -1.6025669503095573e-07, + 9.644015574327115e-07, + -1.679988995736039e-06, + 3.1216791529590004e-06, + -2.471583383717948e-06, + 7.573548741624407e-07, + 1.4114514060733032e-06, + -3.372470608899038e-06, + 4.2623307087800935e-06, + -5.818001236361627e-06, + 5.2228070868421564e-06, + -2.8045920504455905e-06, + 3.7220073572577526e-06, + -8.391856329750287e-06, + 1.6669131170072182e-05, + -2.1000287917169007e-05, + 1.114014231972935e-05, + -3.7712467320708836e-06, + 1.2902390763303554e-05, + -1.3586479315758906e-05, + 1.6452704621790957e-06, + -5.068953787698262e-06, + 1.9691357044656517e-05, + -1.791930399179589e-05, + 2.0008742271129412e-06, + 3.565677293814061e-06, + 8.559277087008678e-06, + -3.608815157472191e-05, + 4.717843325787712e-05, + -1.3863121212595636e-05, + -7.141905611967569e-06, + -1.3961763306884088e-05, + 2.246554027387801e-05, + -1.8240925185281486e-05, + -1.1764173395488756e-05, + 2.2894015769459243e-05, + 5.530391138389564e-05, + -9.251545576843232e-05, + 4.4742059056261224e-05, + 2.280562323370386e-06, + -9.305634614903579e-07, + -2.156839303283566e-05, + -2.568745278250931e-06, + -1.2839197569850344e-05, + 6.698296736309317e-05, + -3.40538400362025e-05, + -4.1103958799489804e-05, + 4.4242243847310814e-05, + 1.2769074800030034e-06, + -6.3994928483186485e-06, + -4.1356144491215476e-05, + 0.00011601216332943541, + -7.183614032883917e-05, + -5.895025746228837e-05, + 8.629094520919969e-05, + -2.967436827480591e-05, + -5.0126143976305725e-05, + 6.942995312129947e-05, + -1.2521570239037971e-05, + -1.2553621903053188e-05, + -7.109849068187457e-05, + 0.00011198461459410937, + -7.480542383721356e-06, + -4.971943866522162e-05, + -4.864679330512329e-05, + 0.0001153096891860844, + -0.00010915904610555964, + 0.00011475153888988972, + 7.972606133856768e-07, + -4.8482310829765776e-05, + -7.558993192235329e-05, + 9.173436141249127e-05, + -3.4067981243849816e-05, + 5.262939101449852e-06, + 3.791809405227392e-05, + -8.054525303102904e-05, + 1.0514472162361075e-05, + 0.00014538626803960427, + -9.855452586975285e-05, + -7.603999318691042e-05, + 0.0001260628287692527, + -6.696344370562315e-05, + -6.192835981483542e-05, + 0.00010211424365119365, + 1.587789292020587e-05, + -0.00012590084599570662, + 3.230269832990785e-05, + 1.5516718827232264e-05, + 8.610538449384149e-05, + -1.848696159818391e-05, + 3.147691506912203e-05, + -0.0001640441366795856, + 9.688130986058863e-05, + 9.638200619938864e-05, + -0.00019295109149771806, + 0.00017137991187655838, + -0.0002195330687113007, + 0.00031156638433565064, + -0.0003598997872537472, + 0.00026509123009615953, + 3.5352445679054815e-05, + -0.00010154212368765156, + -8.435338944182309e-05, + 0.00031424047796898245, + 3.4476719111803904e-05, + -8.407105314756102e-05, + -2.3821180887761246e-05, + 0.00015145662915295836, + -9.09763188373259e-05, + -1.6709278473701603e-05, + 0.00010526351888847964, + -0.00026617071406542206, + 0.0003645848101307327, + -0.0002697010212122993, + -3.4671957368708467e-05, + 0.000229065296951672, + -0.00022556306706211226, + 0.0001145487857753154, + 7.73713269954357e-05, + 2.2474524887621782e-05, + -0.0001782962124553183, + 7.073118488017169e-05, + 8.784523096154851e-05, + -9.286529353775413e-05, + -0.00011023729893017568, + 0.00015456638759850014, + -4.2867455610376705e-05, + 4.4490662781248527e-05, + -6.870827855988629e-05, + 3.607285022219215e-05, + 5.234152074191105e-06, + -3.868502792492179e-05, + 2.741513799074715e-05, + 0.00014062836786925392, + -0.00015671435324499878, + -0.0001097155463795418, + 0.00013365571031181506, + 4.2074434589281e-05, + -6.327860401951843e-05, + -9.039812977706838e-05, + 0.0003077000187039724, + -0.00021513897365807707, + -0.00015897747160184257, + 0.00025205471415139995, + -4.503427929749228e-05, + -2.5508570173443362e-05, + -1.3106757765947627e-05, + 4.695272304375699e-05, + -0.00011887462627288143, + -2.1272228222691666e-05, + 0.00010264961217264156, + 0.00010092836499738634, + -0.0001909049330189301, + 0.00021104871806816987, + -0.00015249422213601844, + 0.00010749183918687486, + -0.00025312230966558505, + 0.00032281363883633905, + -0.00011877794153601951, + -0.000131687352258566, + 0.00011342751758560114, + -0.00014986777445812036, + 0.0002302222728068471, + -0.0001834444525168525, + 0.0002999987818171712, + -0.00040662386176981897, + 0.00018122599470809378, + 0.00021320690835408503, + -0.00035750575643904333, + 0.0001290602065562694, + 0.00022779939160575023, + -0.00032937345908416634, + 0.00020394641283033905, + -0.00012126193684790088, + -3.508427506415572e-05, + 0.00025944041944837767, + -0.00028678793095099364, + 0.00022851062955376447, + -0.0001908892417361943, + -2.2714307376620778e-06, + 7.088978929492623e-05, + 0.0001740073811931117, + -0.00023804851287683067, + 6.424589690913745e-05, + 2.7174841839663542e-05, + -2.0584675525585412e-05, + -4.8509267045148885e-05, + 0.0001608901292766113, + -0.00018378109279033986, + 0.00013599250769218675, + -0.00013659642293795297, + -6.023174357808038e-05, + 0.0001452130174084341, + 6.0371852450993964e-05, + -0.00010344069310647963, + -1.739850177992955e-05, + 0.00022111448153954005, + -0.0002887397956801535, + 3.078662186443204e-05, + 0.0002781623554455806, + -0.0003700903303247085, + 0.0003727446335519411, + -0.0002977579346910442, + 9.430139704953888e-05, + -6.592357780236525e-06, + 3.708548279437251e-05, + -0.00015177048005249116, + 0.00033407198120068355, + -0.0002739742505236125, + -1.2305575965898577e-06, + 8.341334099705486e-05, + -2.998912037105564e-05, + 3.754773977662812e-05, + -0.00011642078494057653, + 0.00020153071006607314, + -0.00023089604397837578, + 0.00014027281652773295, + 8.42353201696504e-05, + -0.00022371115245642975, + 0.0001908100694905386, + -0.0001552414374495097, + 0.00021774799381653106, + -7.140972567628095e-05, + -0.00014057236111584106, + 0.00011760866828586593, + 1.4094309705832366e-05, + -3.186152549990895e-05, + -2.7060932060171977e-06, + -0.00010352846906312527, + 3.7765638372527123e-05, + 0.00010401585205919498, + -2.4427322591407716e-08, + -1.0681298621092871e-07, + 3.77031929420398e-07, + -4.5838416178606845e-07, + 1.533269491100327e-07, + 4.080651689163364e-08, + 1.8936261779502855e-07, + -4.6928632179773937e-07, + 1.1977885061239989e-07, + 2.828990576461841e-07, + 1.0455361826869145e-07, + 2.8783876536325026e-09, + -8.008530549414964e-09, + -2.4390261477964683e-07, + -4.919904544093294e-07, + 8.142834958503256e-07, + -4.4324155023267376e-07, + -3.858462470692167e-07, + 7.777855330631641e-07, + 6.571361850026171e-07, + -2.650463817548988e-06, + 2.4950237999627405e-06, + -4.1296153077707534e-07, + 6.62358228350096e-07, + -1.4904701202560792e-06, + 4.080220065554577e-07, + 6.644557843596345e-07, + -8.249311426755038e-07, + 4.4432003716559004e-07, + -1.7685102244817696e-06, + 2.493959730741864e-07, + 1.4269071166360788e-06, + -2.5765083877830174e-06, + 4.529960070380739e-06, + -1.0290103371293488e-06, + 2.6151110258081955e-06, + -5.5971443879924985e-06, + -2.9897652668364117e-06, + 6.109347494705738e-06, + 4.194345927503924e-06, + -9.212844181625642e-06, + 7.222560329177379e-06, + -2.2679732983634297e-06, + -4.596390750066425e-06, + 7.325333449125491e-06, + -8.268823199244701e-06, + -4.552718577158865e-07, + 1.345721243093495e-05, + -1.13340134004656e-05, + 4.841019724992304e-07, + 1.2954457818614262e-05, + -1.664229963109209e-05, + -1.7086891005752662e-07, + 3.7726704256377646e-06, + 9.286985681333626e-06, + -3.158102746037116e-06, + -1.0179645090736686e-05, + 5.888008650708135e-06, + 7.423942551560867e-06, + -8.902839060978082e-06, + 3.8009657317755637e-06, + -9.84961531107387e-07, + -5.224853380640737e-06, + 2.1973118419418238e-06, + 8.10616801995796e-06, + -8.423053495014142e-06, + -3.1205358260076167e-06, + 1.5435091496575697e-05, + -9.374687166969724e-06, + -1.1967550744465545e-05, + 2.1436213642195338e-05, + -1.0136227428901211e-05, + -2.359182314044491e-06, + 2.6599337170450527e-07, + -1.8209828683276677e-05, + 5.352412607745448e-05, + -4.3589858037649204e-05, + 1.5167780661427951e-05, + -2.7169045615991184e-06, + -1.7144796960353868e-05, + 3.065826799601133e-05, + -2.0848102593080205e-05, + 1.345444744701914e-05, + -1.053188659181852e-05, + -6.954175360231054e-07, + 6.473960627512723e-06, + -9.156923712878991e-06, + -3.1327248652112576e-06, + 3.579811303972193e-05, + -2.6302076528446123e-05, + -1.077870808729283e-05, + 6.347537760118624e-06, + 1.2221166286294434e-05, + 1.6815816481656225e-06, + -2.793021721431516e-05, + 2.2842819938800513e-05, + -1.0552124412810671e-05, + -9.935937189228807e-07, + 1.68278502525465e-05, + -1.9841263863225105e-05, + 2.152355459908667e-05, + -1.0816997526588071e-05, + -6.706007251180791e-06, + 2.1098403395129634e-05, + -3.082544959615956e-05, + 8.665129882290223e-06, + 1.6788897528140177e-06, + 1.5752993194812676e-05, + -1.8190512758081177e-05, + 1.8973966095982848e-05, + -1.607394807867465e-05, + 2.1253343658271028e-05, + -3.750907124908259e-05, + 2.7582575504977076e-05, + 1.217614406573987e-06, + -1.523247326315523e-05, + -1.8667259787746604e-06, + 2.023942392251979e-05, + -7.673917069323725e-06, + -7.054549097159803e-06, + 2.8625459597247486e-06, + 5.549030955106716e-06, + -2.1170458118826117e-05, + 3.368967776619951e-05, + -7.0317869342091904e-06, + -2.687697837988315e-05, + -0.00031362512628194946, + 0.00011387744303052825, + -2.6886317208142e-05, + 1.717405062631047e-05, + -1.0480092069298648e-05, + 1.4715222400008465e-05, + 5.58872150282905e-06, + -2.036989681628846e-05, + 1.442895204477475e-05, + 3.068944213292588e-06, + -9.933984364345342e-06, + 3.5760063766067263e-07, + 8.345322744251474e-06, + -1.3716434444019327e-05, + 4.249357298093236e-06, + 9.166072722290178e-06, + -2.3399692308773695e-06, + -2.7812652506593485e-06, + -2.4956236958315928e-05, + 2.3966778013017743e-05, + 1.712094934972197e-05, + -3.2901752636177125e-05, + 1.492127806783373e-05, + 4.175116906746842e-05, + -8.392087882545366e-05, + 6.262566300418231e-05, + -4.0213481223841865e-05, + 1.2434479350385352e-05, + 9.357215913916065e-06, + -4.565390131604527e-06, + 4.0294094083385245e-05, + -5.618369480163305e-05, + 4.7110427415843306e-05, + -4.264553745474394e-05, + 1.0045544511686843e-05, + 2.6667691849386538e-05, + -3.9547969619638614e-05, + -9.59413010328657e-06, + 6.861286280239382e-05, + -3.5278550079677856e-05, + -3.56805270002778e-05, + 3.7513876818913135e-05, + -6.501090366105145e-05, + 0.0001100077125577626, + -0.00010129853397179936, + 5.713135133428341e-05, + 1.7756280502855e-05, + 1.3152110402040676e-05, + -7.60019510781548e-05, + 3.743739485857207e-05, + 6.148028234224701e-05, + -0.00011288580740121171, + 5.783625998537803e-05, + -2.9724109341503972e-06, + -2.368431070277881e-05, + 1.8445000246587456e-05, + 5.5174354384539276e-05, + -0.0001388794454897496, + 0.00010956925737868558, + -3.402228865036844e-05, + 5.835417153035385e-05, + -0.00010586690714562096, + 8.259033052670242e-05, + -1.962896450116148e-05, + 3.8986397946104816e-05, + -9.750919627154961e-05, + 0.00013144322618972913, + -0.00011604760498498104, + 1.5444979979841948e-05, + -1.286845433618368e-05, + 5.585203897001037e-05, + -0.00013818164580698127, + 0.00010983458554255716, + 7.517044502486014e-05, + -3.541703224436276e-05, + -2.204706113934125e-05, + -3.432641956054998e-05, + 4.829218213600928e-06, + 0.00012982230038436046, + -0.0001692979099431411, + -3.524540055791604e-05, + 0.00012458381035104348, + 5.310246528107445e-05, + -0.00010497720964489936, + 4.280057222290325e-05, + -8.838305157373302e-05, + 0.0001180429428041383, + -0.00013030500103461585, + 0.0001265517198343402, + 2.115314771666547e-06, + -0.00014435247196318844, + 1.8713859646964187e-05, + 0.0001263997493014171, + -6.397161775931789e-06, + 3.448435323449967e-05, + -0.00017185942747323493, + 0.00020236742163060777, + -0.0003196537451626727, + 0.00035914871264021615, + -0.00021036467890195453, + 2.6292856670035147e-05, + 0.00016256714068652356, + -0.00023361878782851746, + 0.00013089111268752712, + 7.078118041591367e-05, + -0.0001711586234379061, + 6.042196625885435e-05, + 3.170117780433102e-05, + -0.00012489905955866682, + 0.00026756458586703926, + -0.0002105678712845136, + 3.4403399764565705e-05, + 0.00010591226027649605, + -0.00018663940883635523, + 6.49725390581526e-05, + 8.322048103448656e-05, + 3.036334582972759e-05, + -0.00017154962072536432, + -2.876218772915898e-05, + 0.00023575737705855003, + -5.069926640284887e-05, + -0.00024788817414663216, + 0.0003690748475678958, + -0.0002948183401120695, + 0.0001057009158163107, + -6.611003235197039e-05, + 3.674434279550277e-05, + 0.0001839041775578519, + -4.450999482564481e-11, + 2.6779541306499757e-06, + -2.3588901478381115e-06, + 4.910069959028452e-06, + -5.2007622828471714e-06, + 2.425955707061799e-07, + 2.6224593933290383e-06, + -3.0634383086697233e-06, + 1.8283076599909236e-06, + 4.4963008538607976e-07, + -1.1759686709119228e-07, + -1.302535290168787e-06, + 8.344949137697573e-07, + -2.032569813862516e-06, + 3.6465858384894186e-06, + -1.6862236201664813e-06, + 5.978141058723485e-09, + -5.01274223746419e-08, + -1.0979556947432944e-06, + 2.0999035476886385e-06, + -1.4537387768130968e-06, + 4.448613386108159e-07, + 3.2512570893816486e-08, + 2.9416576926256984e-07, + -5.754413608096821e-07, + 2.5434384251805573e-07, + 2.347966594067783e-07, + -4.394274149491299e-07, + 2.2459258242487456e-07, + 1.4074022456345663e-07, + -4.442332014253951e-07, + 4.244141831039063e-07, + -1.315231677749222e-07, + -5.05957249102704e-09, + -1.3632350207687107e-08, + 2.8952873078386898e-08, + -1.51860204084406e-08, + -9.527858506050633e-09, + 2.0381781495425107e-08, + -1.5599554928759365e-07, + 3.3536147703856903e-07, + -2.047910816481379e-07, + -8.883989133412585e-08, + 1.4942506972926595e-07, + -4.682926172997975e-08, + 1.2462362450158086e-08, + -8.967522653766465e-08, + 1.470680292676912e-07, + -1.1457100393327665e-07, + 2.0812382224396896e-08, + 5.160711337505403e-08, + -2.949024354246569e-08, + 2.319016764519679e-10, + -2.9219604914764396e-10, + -7.835457665006557e-09, + 1.556364945723741e-10, + 2.1471292557229155e-08, + -3.6118291009758266e-08, + 2.9329300158273156e-08, + -7.65108054408852e-09, + 1.2918406754108457e-08, + -6.602156701653853e-08, + 1.0481852311269496e-07, + -5.1912798559204096e-08, + -1.2357416007704505e-08, + 2.4717584659210713e-08, + -5.154517327653124e-08, + 1.1775991898472543e-07, + -1.5837403389771392e-07, + 1.2008535145135697e-07, + 1.048426991492345e-09, + -8.40060425773599e-08, + 2.8787482723903612e-08, + 5.861198359701123e-08, + -7.689948221005183e-08, + 3.2021115917956504e-08, + -1.616630797576222e-08, + 3.29383353682727e-08, + -3.4326577799924026e-08, + -2.3390353278897254e-08, + 4.141313487655742e-08, + 5.176745985851621e-10, + 7.02771851474585e-08, + -2.0136846992377006e-08, + -1.895467517857065e-07, + 2.2531552329765349e-07, + -1.8126869377120969e-07, + 9.573667804511453e-08, + 1.2838885300632352e-10, + 2.376939729476462e-07, + -5.029755874208339e-07, + 4.63271376466685e-07, + -4.202665621237861e-07, + 2.2408779782804908e-07, + 3.700592425194391e-07, + -7.880754631268744e-07, + 6.371405557372707e-07, + -4.668143017251397e-07, + 7.964024606662753e-07, + -5.723685950921232e-07, + -6.576377048536797e-07, + 1.052117320938295e-06, + -3.6465710917838946e-07, + 4.2309456384106274e-07, + -1.4626517946355174e-06, + 1.288022487668839e-06, + -4.976852325206011e-07, + 9.275192760645327e-07, + -1.1099286234774563e-06, + 4.6225186488487344e-07, + -6.018731556892774e-07, + 8.217427380918709e-07, + -4.3650603256960937e-07, + 3.115296156793859e-07, + -8.187156734863494e-07, + 2.5859794120997146e-06, + -3.818051697714527e-06, + 3.716863617458706e-06, + 7.920946797032555e-08, + -3.2895239898971304e-06, + 1.934517141758165e-06, + 7.785817323716249e-07, + -2.8310429482330167e-06, + -1.5092624309260247e-06, + 5.214751736403942e-06, + 5.994500317681278e-07, + -3.2169178080550545e-06, + -4.371474459842415e-06, + 3.3328989765038567e-06, + -4.0746721771378307e-07, + 1.0120354031185764e-06, + -4.127751642672532e-06, + -1.6888563518299671e-06, + -8.203516608351967e-07, + 1.3093958146794942e-05, + -3.5200312400237927e-06, + -1.6438151743535307e-05, + 2.065284806454533e-05, + -1.4800799463107862e-05, + 3.542250763392134e-06, + -1.612812111765807e-05, + 5.921474683872382e-05, + -5.9781034502641096e-05, + 8.306423790135539e-06, + 7.680508274428227e-06, + 3.8683151319837136e-05, + -8.316929361264425e-05, + 7.606441143411442e-05, + 1.1573048795453474e-05, + -5.0812574844200914e-05, + 5.7215304952557625e-05, + -0.00011879762379080182, + 5.479221835642047e-05, + 3.125788440026661e-05, + -4.262102568942266e-06, + 3.213858949436587e-05, + -3.344098637672233e-05, + -9.658380585181095e-05, + 5.56912858336705e-05, + 0.0001690533824197517, + -0.00014269611304361943, + -5.1450503101419056e-05, + 6.432372113878351e-05, + -7.258512541252171e-05, + 6.448025762768448e-05, + 6.331542297167906e-05, + -0.00015699810804928481, + 1.76386245275424e-05, + 0.00029847205523880256, + -0.00046486659644420764, + 0.0005220280304449316, + -0.00026324161248572137, + -0.00025286245438998584, + 0.000405637971708977, + -0.0004053244690630878, + 0.0006897586441874499, + -0.0005449888297982613, + -0.00018195612241007878, + 0.00022665413255003664, + 0.0003703981903844455, + -0.0003681984203582306, + -6.548022614869212e-05, + 0.00020822165772611177, + -0.0005369629716743058, + 0.0006855099249315854, + 3.635237145956186e-05, + -0.00029566921079423957, + -0.00026756493468127636, + 0.0007582765079167179, + -0.0007470412173614755, + 0.0008626418884861827, + -0.0015728672135599808, + 0.0012077161354143262, + 0.000347734015838115, + -0.001065544222384776, + 0.000361096630602377, + 0.00040004517892196673, + 0.00028707942046177757, + -0.00109707451267249, + 0.0001091243739447619, + 0.0009432755722510538, + -0.0004858917137067027, + -7.761857548712524e-05, + -9.700308801987259e-05, + 0.00011096792738102997, + -4.9513286068612577e-05, + 0.00021277829004534484, + -0.0001967775031791713, + 0.0003004363543737822, + -7.452668207788205e-05, + -0.0009256209885012127, + 0.0005312469396910949, + 0.0006386049242747244, + 9.07392091749376e-06, + -0.0008430511137330264, + -0.00038165616150592573, + 0.0022495522635031582, + -0.0020781196229625793, + 0.0001760494768690311, + 0.0019522681531294736, + -0.002282369610878551, + 0.0014170072903179013, + -0.001634004640998899, + 0.001517100696555998, + -0.0006785522996735781, + 0.0006551137880857424, + -0.001714647011904982, + 0.0017845381964516818, + -0.0005461201557167849, + 0.00016617614278828234, + 0.000544369228421625, + -0.0009307258660697037, + 5.893752461303915e-05, + -0.0002979054346135241, + 0.0006368309448026813, + 7.995662452333142e-05, + -0.000231509973567453, + 0.0005439741091197075, + -0.00076275208581832, + 0.000258681864073153, + -0.0005972740769117142, + 0.0002177035613954757, + 0.0008731243670041205, + -0.002229487005526009, + 0.0033547569823550753, + -0.0023331483147492763, + 0.0009410498262995373, + 0.00028312921209840337, + -0.0008000350364141802, + -0.0011955163395994206, + 0.001585320028916273, + 0.0003122904716129112, + -0.00026908003376656804, + -0.0008173938993388887, + 0.0018114303005382307, + -0.001848899176395738, + 0.000536676015340491, + 0.0003831926869658677, + -0.0005689069682454221, + -0.0012075024951872571, + 0.0016397133859124141, + 4.0742689332809317e-05, + -0.0009594992954740129, + -2.959321239805799e-05, + 0.00045317713088954473, + 0.0004603383940596858, + -0.00023334292675113998, + -0.00043404242137662136, + 0.0004477365649944204, + -0.0002382948285693252, + -0.0007871747407065059, + 0.0014269195203817412, + -0.00035564159660768894, + 0.000496056022531391, + -0.0008677841306892429, + -0.000518824063619885, + 0.0005163685790147054, + 0.0002409458926519488, + -0.00031949340759780177, + 0.00041452515732182105, + 0.00014577645343369822, + -0.0003945082211898625, + -0.0001055222289482971, + 0.0005989307843235573, + -0.0007106174056146436, + 0.0002910224960835804, + -0.0003895007373502077, + 0.00019950587104532178, + 0.00015604878801825129, + 0.00014010138662689554, + 0.0007952456925831468, + -0.0019104411195280345, + 0.0019323973376353103, + -0.0008834300957311443, + -0.0007553615433736667, + -0.00017983447295686706, + 0.0022674957354280744, + -0.002015554865703009, + 0.0007822904579022029, + 0.0006451833891768511, + -0.002548469565164789, + 0.0033548288046521164, + -0.002046152762072994, + 2.5236255841114025e-05, + 0.0014689327255483265, + -0.0021865849159970582, + 0.0014194894642218926, + -0.0005810560162268009, + 0.000578279259197467, + -3.601297536285562e-05, + 0.00012729856368380834, + -0.0008804406830574867, + -0.0003483129982285453, + 0.0005000762605556506, + 0.0011003314747322689, + -0.00020115836434903865, + -0.00045353914461351163, + -0.0018601317768137196, + 0.0037465638549970637, + -0.003406263659622517, + 0.0024557395680102783, + -0.0017875180021251708, + 0.0017719172844343864, + -0.00013244000436314537, + -0.0011996426835079615, + -0.0005089195837636399, + 0.0007240025175838573, + 0.001093965222171163, + -0.0019428037989614423, + -0.0001658419037776754, + 0.0028859025860711682, + -0.0029927750637837062, + 0.00138534193125418, + 0.00015983637725680173, + -0.0010263930435360615, + -0.0013087357559871393, + 0.005720137681810734, + -0.002917882861452812, + -0.002584492006437866, + 0.0018366911441094359, + 0.0006837715358755576, + -0.0011042552787263718, + 9.810598441092227e-05, + 0.0004901997751012503, + -0.0012226381524894144, + 0.0025795444573588114, + -0.002031568137876126, + 0.00018456878058174746, + 0.0007528842864961229, + 2.971115059758629e-05, + -0.0016042911358118018, + 0.003267930568545199, + -0.003174385920404394, + 0.0008315994681241197, + -0.0022514419956124435, + 0.0046621211521489445, + -0.004737399499803995, + 0.0050670454590569245, + -0.004593722698891937, + 0.003271859815148256, + -0.0021315288642584905, + 0.002506992303335357, + -0.0011840966245410583, + -0.0021990632081305968, + 0.0027502777618381544, + -0.0018789725514850677, + 0.003505058939263623, + -0.006964659903520034, + 0.007851145507473786, + -0.0034081077792772773, + 0.0013428893154586903, + -0.002062773637325596, + -0.0014482113718079616, + 0.003316351720538026, + -0.0017121969123670107, + 0.0014482571743870438, + -0.0005133836841721148, + 0.0017064283006451456, + -0.004209362696612195, + 0.001802184420794994, + -0.0008368901796835366, + 0.0019410596404082615, + -0.0013123166691786318, + 0.0, + -0.0005095822938774607, + 0.00043914778795675017, + -0.024242793788467533, + -0.0002663540822584136, + 0.0003067382760090335 + ], + "storage": [ + 2508793556354.7217, + 2502128356449.5947, + 2495082141841.1523, + 2487636277987.925, + 2479771611284.8813, + 2471468506711.2363, + 2462706893934.1553, + 2453466322630.2183, + 2443726027789.4434, + 2433465005766.469, + 2422662101821.8384, + 2411296109845.499, + 2399345884881.7583, + 2386790468967.1333, + 2373609230660.6206, + 2359782018474.89, + 2345289328213.018, + 2330112483968.8657, + 2314233832263.45, + 2297636948460.9204, + 2280306854240.83, + 2262230244494.2793, + 2243395721575.504, + 2223794034373.8174, + 2203418319191.0117, + 2182264338927.3267, + 2160330716610.0044, + 2137619158859.5803, + 2114134664508.6616, + 2089885713279.0083, + 2064884429220.74, + 2039146713542.194, + 2012692341533.7927, + 1985545018542.402, + 1957732390397.5623, + 1929286004336.7676, + 1900241217338.5884, + 1870637049830.4653, + 1840515983987.316, + 1809923707242.9138, + 1778908803160.364, + 1747522393398.7334, + 1715817736105.744, + 1683849787596.7192, + 1651674735565.7563, + 1619349513251.6309, + 1586931304868.7263, + 1554477053159.772, + 1522042980080.2463, + 1489684131357.0208, + 1457453954970.757, + 1425403922503.2805, + 1393583200813.3196, + 1362038379712.2249, + 1330813259289.914, + 1299948698385.6924, + 1269482523512.174, + 1239449495434.292, + 1209881328682.2678, + 1180806757631.9553, + 1152251641497.1487, + 1124239099703.318, + 1096789668681.6544, + 1069921471144.3386, + 1043650389353.4233, + 1017990234733.3794, + 992952907331.8312, + 968548540022.2722, + 944785623873.3064, + 921671112681.9921, + 899210506191.731, + 877407912902.1584, + 856266094559.6956, + 835786495342.1018, + 815969259387.7709, + 796813240662.7772, + 778316009217.1349, + 760473857685.2311, + 743281811478.0275, + 726733645545.0984, + 710821909912.531, + 695537965478.5104, + 680872030826.7327, + 666813240138.8226, + 653349711686.1196, + 640468625880.7181, + 628156311480.0178, + 616398338270.5774, + 605179614403.4808, + 594484486502.6061, + 584296840707.3342, + 574600202921.8197, + 565377836710.2098, + 556612837480.791, + 548288221827.23987, + 540387011128.3437, + 532892308737.02637, + 525787370305.79865, + 519055666994.2779, + 512680941478.72754, + 506647256833.54224, + 500939038478.36334, + 495541109483.25867, + 490438719599.592, + 485617568437.9678, + 481063823249.62506, + 476764131786.3211, + 472705630719.1022, + 468875950090.4688, + 465263214260.5409, + 461856039786.36163, + 458643530648.92, + 455615271213.1366, + 452761317276.33374, + 450072185529.54504, + 447538841725.0389, + 445152687813.625, + 442905548286.4754, + 440789655928.80554, + 438797637167.36914, + 436922497169.49725, + 435157604829.14166, + 433496677755.4183, + 431933767361.2162, + 430463244134.5124, + 429079783161.7759, + 427778349961.38367, + 20310231274091.098, + 20257525278151.574, + 20201711688277.387, + 20142626491431.285, + 20080099472442.734, + 20013954306726.74, + 19944008708014.53, + 19870074638270.957, + 19791958587438.945, + 19709461931090.074, + 19622381374463.67, + 19530509491661.113, + 19433635369011.9, + 19331545361712.48, + 19224023972765.28, + 19110854863025.25, + 18991822000661.92, + 18866710957630.348, + 18735310359682.305, + 18597413495059.863, + 18452820085241.613, + 18301338218877.777, + 18142786447389.887, + 17976996037530.977, + 17803813372547.64, + 17623102489369.34, + 17434747734615.414, + 17238656517066.908, + 17034762128726.559, + 16823026600821.604, + 16603443555110.36, + 16376041004904.07, + 16140884054477.691, + 15898077440197.695, + 15647767852133.086, + 15390145971297.928, + 15125448155403.686, + 14853957705367.87, + 14576005646092.873, + 14291970958539.055, + 14002280206000.35, + 13707406505967.549, + 13407867810011.555, + 13104224467674.201, + 12797076066251.02, + 12487057556129.281, + 12174834690626.07, + 11861098829287.328, + 11546561173713.34, + 11231946524246.945, + 10917986663433.354, + 10605413487191.994, + 10294952016233.371, + 9987313427795.887, + 9683188250665.525, + 9383239864448.258, + 9088098437019.213, + 8798355422321.363, + 8514558724539.6045, + 8237208614967.454, + 7966754465401.48, + 7703592337747.0, + 7448063444729.95, + 7200453472349.703, + 6960992731936.033, + 6729857089333.757, + 6507169601520.676, + 6293002777390.751, + 6087381369756.212, + 5890285599925.857, + 5701654714320.679, + 5521390774190.367, + 5349362584119.725, + 5185409672113.916, + 5029346243036.258, + 4880965037435.7295, + 4740041038746.409, + 4606334982991.978, + 4479596635994.553, + 4359567813347.202, + 4245985127769.478, + 4138582456757.7593, + 4037093130567.8384, + 3941251846471.6074, + 3850796319963.5967, + 3765468687204.4087, + 3685016675574.702, + 3609194560909.236, + 3537763930882.7993, + 3470494274293.3477, + 3407163415726.229, + 3347557814416.7515, + 3291472745166.816, + 3238712377989.4233, + 3189089771847.271, + 3142426796470.049, + 3098553994839.097, + 3057310397553.7256, + 3018543298969.606, + 2982108003756.0356, + 2947867551353.162, + 2915692424751.92, + 2885460249049.2607, + 2857055484370.8613, + 2830369116982.0625, + 2805298351729.3896, + 2781746308366.8984, + 2759621723805.648, + 2738838661884.829, + 2719316231886.7695, + 2700978316698.974, + 2683753311257.9033, + 2667573871685.5737, + 2652376675348.0884, + 2638102191908.5166, + 2624694465330.9873, + 2612100906690.7266, + 2600272097569.002, + 2589161603755.698, + 2578725798932.5977, + 2568923697985.199, + 2559716799561.9443, + 2551068937493.6113, + 2542946140672.0396, + 2535316500991.5454, + 2528150048955.9927, + 2521418636563.4795, + 2521367279959.2305, + 2528033174494.5225, + 2535117617847.4526, + 2542646096185.607, + 2550645540648.5474, + 2559144394568.0234, + 2568172681680.185, + 2577762075010.2656, + 2587945966046.411, + 2598759533730.101, + 2610239812708.675, + 2622425760196.1895, + 2635358320697.565, + 2649080487746.453, + 2663637361689.544, + 2679076202435.8203, + 2695446475957.4263, + 2712799893197.5356, + 2731190439909.3647, + 2750674395811.8267, + 2771310341323.576, + 2793159150012.3887, + 2816283964796.066, + 2840750155847.202, + 2866625258100.695, + 2893978886253.609, + 2922882625182.2363, + 2953409893803.3174, + 2985635780577.3154, + 3019636849111.723, + 3055490912678.971, + 3093276776921.7866, + 3133073950598.4033, + 3174962324913.8613, + 3219021822785.149, + 3265332020309.789, + 3313971743703.545, + 3365018646034.9404, + 3418548769167.2266, + 3474636097367.6523, + 3533352110002.1406, + 3594765341517.7715, + 3658940957464.4287, + 3725940355501.3296, + 3795820800130.7573, + 3868635099190.4834, + 3944431328887.3003, + 4023252612315.5874, + 4105136953994.606, + 4190117130025.723, + 4278220630091.0864, + 4369469643868.706, + 4463881080689.504, + 4561466607675.784, + 4662232688419.501, + 4766180601795.615, + 4873306418994.874, + 4983600916588.938, + 5097049404547.482, + 5213631450749.894, + 5333320487682.178, + 5456083292569.452, + 5581879338997.112, + 5710660025775.631, + 5842367797059.26, + 5976935176028.874, + 6114283742363.225, + 6254323090707.344, + 6396949812959.356, + 6542046551055.009, + 6689481168696.714, + 6839106089973.34, + 6990757849985.443, + 7144256897491.16, + 7299407682408.327, + 7455999052103.381, + 7613804970133.42, + 7772585560018.133, + 7932088465241.021, + 8092050505518.739, + 8252199599019.664, + 8412256911100.389, + 8571939182646.915, + 8730961185596.402, + 8889038249806.906, + 9045888804253.26, + 9201236876445.803, + 9354814496909.865, + 9506363960228.188, + 9655639900225.9, + 9802411144063.611, + 9946462317844.578, + 10087595184509.496, + 10225629702939.39, + 10360404804955.396, + 10491778894083.824, + 10619630076313.025, + 10743856138455.264, + 10864374294120.736, + 10981120720574.453, + 11094049912039.969, + 11203133876278.412, + 11308361201666.135, + 11409736021636.094, + 11507276902292.191, + 11601015677487.45, + 11690996253710.742, + 11777273404911.227, + 11859911575029.926, + 11938983703563.338, + 12014570087052.967, + 12086757287052.027, + 12155637092891.654, + 12221305545526.117, + 12283862026850.527, + 12343408417248.35, + 12400048322647.44, + 12453886371138.27, + 12505027578149.693, + 12553576778330.904, + 12599638121622.262, + 12643314630493.953, + 12684707814969.367, + 12723917341770.475, + 12761040753776.127, + 12796173235862.525, + 12829407423181.967, + 270366762119.59824, + 271213817596.6222, + 272115616795.30902, + 273075701749.66058, + 274097843702.99017, + 275186057845.2641, + 276344618966.07837, + 277578078072.41077, + 278891280020.7349, + 280289382213.8893, + 281777874412.4701, + 283362599710.32, + 285049776721.25696, + 286846023021.9358, + 288758379891.67584, + 290794338384.2138, + 292961866759.3688, + 295269439292.491, + 297726066467.63135, + 300341326544.9298, + 303125398473.52576, + 306089096098.3057, + 309243903580.53546, + 312602011918.8578, + 316176356416.57574, + 319980654894.52606, + 324029446392.5563, + 328338130038.4981, + 332923003689.2813, + 337801301862.9992, + 342991232384.6373, + 348512011058.78345, + 354383893561.58264, + 360628203610.21484, + 367267356322.0013, + 374324875518.5045, + 381825403563.6533, + 389794702151.44257, + 398259642283.84235, + 407248181505.0163, + 416789326293.84784, + 426913077368.0189, + 437650355531.32214, + 449032905612.9552, + 461093176013.9066, + 473864171410.11786, + 487379276275.83215, + 501672047103.8025, + 516775971524.3936, + 532724192980.46515, + 549549200209.9937, + 567282481531.8381, + 585954144826.7227, + 605592505148.452, + 626223643079.0812, + 647870938231.6951, + 670554583673.5529, + 694291088442.8427, + 719092776712.6196, + 744967293444.8801, + 771917127509.1643, + 799939164132.996, + 829024279134.7672, + 859156987589.4968, + 890315159340.9675, + 922469813055.5894, + 955584999296.821, + 989617781389.7301, + 1024518320679.3917, + 1060230070226.6011, + 1096690078120.5833, + 1133829398533.074, + 1171573605521.1191, + 1209843401545.1255, + 1248555309842.22, + 1287622437309.3816, + 1326955292527.6147, + 1366462642069.9617, + 1406052387358.0564, + 1445632444074.7432, + 1485111606507.9192, + 1524400380147.589, + 1563411767317.3152, + 1602061992513.6406, + 1640271156336.2874, + 1677963809320.2517, + 1715069439506.6353, + 1751522870111.339, + 1787264566074.213, + 1822240850512.6357, + 1856404034097.3962, + 1889712462080.8936, + 1922130485094.6768, + 1953628360899.6423, + 1984182095014.5862, + 2013773228588.2263, + 2042388582041.8896, + 2070019962927.8276, + 2096663846165.0198, + 2122321034357.1636, + 2146996305324.1882, + 2170698053305.797, + 2193437929575.2434, + 2215230487448.6523, + 2236092835925.979, + 2256044305471.1606, + 2275106128742.3804, + 2293301138440.5703, + 2310653483857.1553, + 2327188367172.4404, + 2342931800097.685, + 2357910381052.116, + 2372151092732.16, + 2385681119647.231, + 2398527684978.7173, + 2410717905935.7896, + 2422278666655.7734, + 2433236507602.1226, + 2443617530352.2695, + 2453447316639.706, + 2462750860502.7373, + 2471552512410.222, + 2479875934255.0415, + 2487744064153.071, + 2495179090027.511, + 2502202431019.5557, + 2508834725820.383, + 39641433311.33396, + 5.977186525286279e+21, + 5.987460007753037e+21, + 5.998488484258728e+21, + 6.010310264112843e+21, + 6.02295155508169e+21, + 6.036431502525846e+21, + 6.050770215019191e+21, + 6.065995110631512e+21, + 6.082142946565253e+21, + 6.099258416399036e+21, + 6.117391722215327e+21, + 6.136596726374028e+21, + 6.156929989220601e+21, + 6.178450379949409e+21, + 6.201218930563841e+21, + 6.225298756958379e+21, + 6.250754980906184e+21, + 6.277654632626911e+21, + 6.30606652735307e+21, + 6.33606111245024e+21, + 6.367710282210317e+21, + 6.40108715754746e+21, + 6.436265827930199e+21, + 6.473321053053797e+21, + 6.512327922022944e+21, + 6.553361468191838e+21, + 6.596496238314206e+21, + 6.641805815290635e+21, + 6.689362294602375e+21, + 6.739235715462358e+21, + 6.791493448839745e+21, + 6.846199545775395e+21, + 6.903414050837689e+21, + 6.963192287107951e+21, + 7.025584120719866e+21, + 7.090633214663969e+21, + 7.158376283225317e+21, + 7.228842359990207e+21, + 7.302052093742109e+21, + 7.378017087668262e+21, + 7.456739298005422e+21, + 7.538210508465925e+21, + 7.622411896400223e+21, + 7.709313705587109e+21, + 7.798875038725256e+21, + 7.891043780128301e+21, + 7.985756655806787e+21, + 8.082939434127079e+21, + 8.182507265707303e+21, + 8.28436515633645e+21, + 8.388408561703142e+21, + 8.494524087921622e+21, + 8.602590277491645e+21, + 8.71247845678911e+21, + 8.824053618737091e+21, + 8.93717531314506e+21, + 9.051698517575227e+21, + 9.167474463503364e+21, + 9.284351395993926e+21, + 9.402175249911998e+21, + 9.520790231652472e+21, + 9.64003930201559e+21, + 9.75976456285603e+21, + 9.879807556957707e+21, + 1.0000009496742756e+22, + 1.0120211442506295e+22, + 1.0240254454481132e+22, + 1.0359979744900833e+22, + 1.047922885624123e+22, + 1.059784388993395e+22, + 1.0715667806249642e+22, + 1.083254481095799e+22, + 1.0948320838216122e+22, + 1.1062844132309456e+22, + 1.1175965923879439e+22, + 1.1287541189613787e+22, + 1.1397429478420252e+22, + 1.1505495782310178e+22, + 1.1611611426750888e+22, + 1.171565495334781e+22, + 1.1817512967349794e+22, + 1.1917080923618465e+22, + 1.2014263827162779e+22, + 1.2108976827874121e+22, + 1.2201145693453467e+22, + 1.2290707149307509e+22, + 1.237760907921392e+22, + 1.2461810585399055e+22, + 1.254328191123728e+22, + 1.2622004233737987e+22, + 1.2697969336334724e+22, + 1.277117917504197e+22, + 1.2841645352879686e+22, + 1.2909388518513657e+22, + 1.2974437705457125e+22, + 1.3036829627962016e+22, + 1.3096607949021736e+22, + 1.3153822534803235e+22, + 1.3208528708446903e+22, + 1.3260786514602668e+22, + 1.3310660004411091e+22, + 1.3358216548955204e+22, + 1.3403526187573672e+22, + 1.3446661015881346e+22, + 1.3487694616918737e+22, + 1.3526701537582744e+22, + 1.3563756811373087e+22, + 1.359893552753959e+22, + 1.3632312445921357e+22, + 1.3663961656125611e+22, + 1.3693956279178906e+22, + 1.3722368209324324e+22, + 1.3749267892954838e+22, + 1.3774724139741667e+22, + 1.3798803954938367e+22, + 1.3821572365903498e+22, + 1.3843092184927012e+22, + 1.3863423614073352e+22, + 1.388262360090195e+22, + 1.3900744968490684e+22, + 1.391783558860473e+22, + 1.393393810632555e+22, + 1.394909070193077e+22, + 1.396332896363125e+22, + 1.3976688356261385e+22, + 1.3989206424365201e+22, + 1.4000924002964702e+22, + 1.401188519018053e+22 + ], + "storage_scale": [ + 181596693.24173835, + 216428519.10838142, + 191462077.37992415, + 169403185.4716455, + 149911775.54191244, + 132687643.07024737, + 117465768.60102902, + 104012188.84500852, + 92120352.60821281, + 81607904.60023445, + 72313846.86410084, + 64096033.47440123, + 56828959.36038627, + 50401808.70932671, + 44716732.46342114, + 39687328.00496688, + 35237297.28506748, + 31299262.4405125, + 27813720.405024726, + 24728120.19346209, + 21996048.454733554, + 19576510.581108864, + 17433296.15478167, + 15534418.830272214, + 13851621.914184462, + 12359941.930163154, + 11037323.362623245, + 9864278.572179677, + 8823587.581144819, + 7900033.050028182, + 7080166.315425441, + 6352100.844583224, + 5705329.8898737375, + 5130565.504105448, + 4619596.410921415, + 4165162.518730087, + 3760844.126254143, + 3400964.096947858, + 3080501.48179567, + 2795015.248526253, + 2540576.9328557253, + 2313711.166461691, + 2111343.159167881, + 1930752.321200917, + 1769531.307056284, + 1625549.846977248, + 1496922.8066187878, + 1381981.9813067415, + 1279251.1894303302, + 1187424.2808338325, + 1105345.7213945617, + 1031993.4549998487, + 966463.7794832983, + 907958.0043057181, + 855770.6853523512, + 809279.2565977911, + 767934.8999444772, + 731254.5136075591, + 698813.6562982043, + 670240.3594154225, + 645209.7127284678, + 623439.1434741112, + 604684.3084309882, + 588735.5378590111, + 575414.799382692, + 564573.0998409098, + 556088.3063720963, + 549863.3482907453, + 545824.7717606266, + 543921.6245801278, + 544124.6533637539, + 546425.800108153, + 550837.9896421857, + 557395.2038482722, + 566152.8428721831, + 577188.3778765348, + 590602.3043051622, + 606519.4091776222, + 625090.3706948515, + 646493.7134805429, + 670938.1481851931, + 698665.3300241106, + 729953.0771965218, + 765119.0971391458, + 804525.2763114531, + 848582.597814119, + 897756.7607369343, + 952574.5858705442, + 1013631.30446142, + 1081598.840233622, + 1157235.2101497399, + 1241395.1865805464, + 1335042.3829594355, + 1439262.9469256275, + 1555281.0697403767, + 1684476.5487886982, + 1828404.671688493, + 1988818.7264117969, + 2167695.482445657, + 2367264.0340100643, + 2590038.4484279435, + 2838854.721720081, + 3116912.6102989633, + 3427822.983295149, + 3775661.425760114, + 4165028.920081859, + 4601120.542930309, + 5089803.23967656, + 5637703.879380587, + 6252308.953399811, + 6942077.461876068, + 7716568.737659163, + 8586587.189857403, + 9564346.212751994, + 10663653.80444179, + 11900122.777940838, + 13291408.830796164, + 14857480.17374119, + 16620922.911010442, + 18607286.922709152, + 20845477.631475076, + 23368199.751655128, + 26212459.930417016, + 29420136.109517023, + 33038622.477743313, + 37121560.06458835, + 35324056.0845846, + 1677827741.5653996, + 1752167198.8103442, + 1550134173.908227, + 1371617041.3371894, + 1213866171.0713282, + 1074454202.3890772, + 951238226.0168056, + 842326406.9768366, + 746048526.524547, + 660929982.8427441, + 585668844.238666, + 519115596.31799245, + 460255266.7264114, + 408191648.22294897, + 362133373.64843875, + 321381625.30585873, + 285319286.8141551, + 253401368.0451827, + 225146553.65125373, + 200129743.24993262, + 177975466.83019644, + 158352072.62057567, + 140966596.72937292, + 125560234.51892109, + 111904343.07636327, + 99796912.43944515, + 89059450.55745846, + 79534233.42895389, + 71081877.56031314, + 63579196.921924986, + 56917311.020135336, + 50999974.62301428, + 45742103.13724408, + 41068470.68667326, + 36912560.637371056, + 33215550.692208897, + 29925416.776701428, + 26996141.79013511, + 24387016.930842344, + 22062024.747331887, + 19989294.340405144, + 18140620.265420377, + 16491037.675855644, + 15018447.124976309, + 13703283.21530561, + 12528221.967797508, + 11477922.384890115, + 10538798.213217126, + 9698816.381129049, + 8947319.000560386, + 8274866.188690429, + 7673097.28797764, + 7134608.3485354185, + 6652843.988941884, + 6222001.974337244, + 5836949.047553674, + 5493146.723112608, + 5186585.907903623, + 4913729.3486671345, + 4671461.027107599, + 4457041.730516784, + 4268070.120766625, + 4102448.709011011, + 3958354.218651656, + 3834211.886301309, + 3728673.3106383197, + 3640597.513131929, + 3569034.9234847045, + 3513214.047027475, + 3472530.6119264457, + 3446539.0315451403, + 3434946.0522236354, + 3437606.489666092, + 3454520.9885317474, + 3485835.7702442883, + 3531844.3639002047, + 3592991.344959522, + 3669878.136588317, + 3763270.9595643766, + 3874111.049046777, + 4003527.290720211, + 4152851.4654188836, + 4323636.330857133, + 4517676.81215878, + 4737034.620164746, + 4984066.668723817, + 5261457.720168449, + 5572257.752807511, + 5919924.616596661, + 6308372.624227163, + 6742027.816024861, + 7225890.7396697495, + 7765607.701404266, + 8367551.575967772, + 9038913.409921192, + 9787806.219678227, + 10623382.574002601, + 11555967.763916133, + 12597210.60419165, + 13760254.183696045, + 15059929.19098932, + 16512972.79166756, + 18138276.430382755, + 19957166.37950147, + 21993721.36493826, + 24275132.175892424, + 26832108.81771209, + 29699341.50667155, + 32916022.642880626, + 36526437.8466014, + 40580635.21850715, + 45135183.20226757, + 50254028.80829562, + 56009469.52113407, + 62483253.98446481, + 69767828.56573136, + 77967749.17629737, + 87201280.30092925, + 97602206.10991985, + 109321881.8365688, + 122531557.3512119, + 137425009.1116201, + 154221521.48232257, + 173169263.8702681, + 194549116.3030102, + 218679003.07966775, + 182673826.64444235, + 182666877.5307569, + 218666444.63247347, + 194531533.02635282, + 173146629.1314745, + 154193835.49806055, + 137392293.43271434, + 122493850.06576186, + 109279233.39791872, + 97554675.70839004, + 87148932.70674063, + 77910651.98955648, + 69706049.81610855, + 62416860.0297951, + 55938523.19965438, + 50178587.80448916, + 45055298.59046081, + 40496350.15237657, + 36437786.365739465, + 32823028.570646197, + 29602017.41570368, + 26730455.041443884, + 24169135.846151594, + 21883355.45680397, + 19842388.74565312, + 18019028.80784346, + 16389179.764169881, + 14931497.090421226, + 13627069.913853085, + 12459140.369735, + 11412855.686743308, + 10475049.178322464, + 9634046.765863357, + 8879496.055702835, + 8202215.341693948, + 7594060.213922325, + 7047805.726822509, + 6557042.32079315, + 6116083.904130065, + 5719886.690035938, + 5363977.549563696, + 5044390.788162792, + 4757612.383365355, + 4500530.836047504, + 4270393.889458476, + 4064770.4603919582, + 3881517.206899181, + 3718749.2280457527, + 3574814.454518637, + 3448271.3453643867, + 3337869.5566749834, + 3242533.293416663, + 3161347.096518081, + 3093543.854440613, + 3038494.8623078456, + 2995701.782805773, + 2964790.391945481, + 2945506.0198623403, + 2937710.6225081948, + 2941381.444776883, + 2956611.259658628, + 2983610.191808005, + 3022709.157802794, + 3074364.9797145156, + 3139167.2537993174, + 3217847.0825105696, + 3311287.8060641545, + 3420537.8998694797, + 3546826.236753442, + 3691579.9485612893, + 3856445.16097316, + 4043310.9188617966, + 4254336.667904708, + 4491983.712245441, + 4759051.128604085, + 5058716.685355191, + 5394583.391771427, + 5770732.389110645, + 6191782.992845944, + 6662960.805641825, + 7190174.945404731, + 7780105.573814629, + 8440303.070390817, + 9179300.377861025, + 10006740.249163754, + 10933519.358058803, + 11971951.497606967, + 13135952.38781705, + 14441248.950167207, + 15905616.287705828, + 17549146.041009866, + 19394550.27909181, + 21467505.638080206, + 23797043.04775568, + 26415989.096637107, + 29361465.891330972, + 32675457.17790846, + 36405449.526402935, + 40605158.55021038, + 45335351.45868528, + 50664778.74411453, + 56671229.507125296, + 63442726.854089014, + 71078881.98632935, + 79692428.0780884, + 89410957.84724009, + 100378891.90310217, + 112759708.55955368, + 126738469.88536379, + 142524683.3904362, + 160355543.98998475, + 180499606.82953313, + 203260948.2851496, + 228983880.0818051, + 258058290.11551577, + 290925693.35946435, + 328086087.33154535, + 370105719.1760637, + 417625885.6619304, + 471372903.5439311, + 532169406.03116167, + 600947141.8362154, + 678761476.7710819, + 766807824.4759053, + 866440263.0323457, + 979192628.3883212, + 1106802414.2594535, + 1059838900.4279143, + 22326085.365157194, + 23464925.38013547, + 20886211.308168143, + 18600821.64749556, + 16574881.975764893, + 14778462.715446694, + 13185117.779402442, + 11771477.297129251, + 10516888.074992152, + 9403096.189177392, + 8413966.767742679, + 7535236.5986407045, + 6754295.712896929, + 6059994.5442500925, + 5442473.665550351, + 4893013.454426109, + 4403901.351484003, + 3968314.648634337, + 3580216.9872256606, + 3234266.9593299134, + 2925737.394104353, + 2650444.0775898336, + 2404682.801214778, + 2185173.763917295, + 1989012.4672527176, + 1813626.3438531884, + 1656736.4487721582, + 1516323.6219485323, + 1390598.5994968796, + 1277975.61286171, + 1177049.0690178021, + 1086572.952702153, + 1005442.6338736349, + 932678.8008716848, + 867413.2726662445, + 808876.4726744915, + 756386.3723161881, + 709338.7351912181, + 667198.5128441565, + 629492.2608453343, + 595801.4596396742, + 565756.6385435594, + 539032.2136189538, + 515341.9611161568, + 494435.0579255258, + 476092.62915976124, + 460124.75074530416, + 446367.86184563744, + 434682.54818570474, + 424951.662988877, + 417078.7573627411, + 410986.79666079074, + 406617.1436705572, + 403928.79350815614, + 402897.8488913914, + 403517.2280813539, + 405796.6050500281, + 409762.56658733403, + 415459.00493824965, + 422947.7578264514, + 432309.480959334, + 443644.78424238577, + 457075.64463742095, + 472747.11709147255, + 490829.36947017413, + 511520.07233922294, + 535047.1798263075, + 561672.1437486636, + 591693.6098002155, + 625451.651960831, + 663332.6095333159, + 705774.6004590065, + 753273.7949571534, + 806391.5452338837, + 865762.4802007489, + 932103.6890328618, + 1006225.134215191, + 1089041.4537356282, + 1181585.3335788557, + 1285022.6559948209, + 1400669.656533375, + 1530012.3539860186, + 1674728.552641949, + 1836712.7561937345, + 2018104.3778514152, + 2221319.6824357286, + 2449087.9542353796, + 2704492.45011648, + 2991016.771820617, + 3312597.3757052277, + 3673683.033721387, + 4079302.1676610257, + 4535139.10132533, + 5047620.414211129, + 5624012.737725602, + 6272533.513290516, + 7002476.43378631, + 7824353.518765598, + 8750056.0332868, + 9793036.754202599, + 10968516.42080438, + 12293717.584137008, + 13788129.49693666, + 15473808.17069315, + 17375716.27536314, + 19522108.179446634, + 21944966.132922936, + 24680494.394475777, + 27769679.009349875, + 31258921.969798803, + 35200759.6522102, + 39654676.74154954, + 44688028.345984176, + 50377084.69517371, + 56808214.7311893, + 64079227.07217178, + 72300889.28806026, + 81598649.21535675, + 92114585.19565101, + 104009615.70164992, + 117466002.8691875, + 132690189.04910849, + 149916010.6987359, + 169408339.83365577, + 191467209.94451484, + 216432490.86019236, + 181598777.43828654, + 0.4086698753103045, + 60573106216.9571, + 60704819226.63378, + 60812982807.08871, + 60877998797.25899, + 60957419613.85815, + 61050706984.164154, + 61157425455.50274, + 61277296185.78318, + 61410203403.739685, + 61556167940.99245, + 61715314438.49269, + 61887847244.86556, + 62074036345.269745, + 62274209372.25771, + 62488746296.648834, + 62718075120.17131, + 62962667946.72876, + 63223037215.750046, + 63499731998.05812, + 63793334283.41451, + 64104455197.32708, + 64433731089.48535, + 64781819440.69178, + 65149394539.957466, + 65537142888.830414, + 65945758296.223015, + 66375936634.21421, + 66828370233.55618, + 67303741907.340294, + 67802718602.19888, + 68325944689.03624, + 68874034919.09514, + 69447567086.57703, + 70047074455.40393, + 70673038024.93658, + 71325878727.11975, + 72005949664.79807, + 72713528517.25237, + 73448810253.40402, + 74211900304.63075, + 75002808356.61899, + 75821442922.14514, + 76667606853.09721, + 77540993939.59355, + 78441186726.00471, + 79367655648.025, + 80319759561.74069, + 81296747695.64201, + 82297763011.1074, + 83321846907.99901, + 84367945161.83826, + 85434914930.86993, + 86521532627.65582, + 87626502414.3201, + 88748465056.0342, + 89886006855.70744, + 91037668396.64784, + 92201952839.20537, + 93377333552.18674, + 94562260908.1801, + 95755168131.89772, + 96954476157.55585, + 98158597521.73848, + 99365939386.87785, + 100574905852.44676, + 101783899762.1285, + 102991324251.61696, + 104195584300.50319, + 105395088551.885, + 106588251644.4312, + 107773497265.54079, + 108949262083.12473, + 110114000651.72177, + 111266191320.09671, + 112404343097.2876, + 113527003367.22784, + 114632766282.32368, + 115720281618.30893, + 116788263838.0051, + 117835501092.73105, + 118860863886.63623, + 119863313141.03056, + 120841907420.81802, + 121795809121.01332, + 122724289455.50586, + 123626732138.78067, + 124502635702.30756, + 125351614436.55342, + 126173397996.11014, + 126967829745.91496, + 127734863961.006, + 128474562018.79948, + 129187087742.34035, + 129872702064.65764, + 130531757189.65236, + 131164690424.22849, + 131772017850.94171, + 132354328001.21634, + 132912275677.45169, + 133446576058.9654, + 133957999212.7759, + 134447365116.40585, + 134915539286.96448, + 135363429099.22565, + 135791980865.60815, + 136202177743.32713, + 136595038528.54175, + 136971617394.35747, + 137333004629.00388, + 137680328432.49182, + 138014757834.48962, + 138337506802.65894, + 138649839617.34506, + 138953077587.43768, + 139248607148.6616, + 139537889264.0218, + 139822469767.2873, + 140103989893.70197, + 140384217114.1732, + 140665075602.63208, + 140948593368.2554, + 141236995450.58594, + 141532708707.88007, + 141838391813.84674, + 142156969695.45285, + 142491672883.97043, + 142846082194.0866, + 141678461702.22903 + ] + }, + "solver_accepted": true, + "state": { + "capture_m2_s": [ + [ + -903994195.3703151, + -3926012.172747274, + -44840313357.97461, + -78773.70441822849 + ] + ], + "local_residual": [ + 0.0, + -1.976517278408492e-17, + 7.3314938307242254, + -256.5083946208455, + -4.446733797639196, + 3.245539414078259 + ], + "n_m3": [ + 2515095827087.2163, + 2508793556354.7217, + 2502128356449.5947, + 2495082141841.1523, + 2487636277987.925, + 2479771611284.8813, + 2471468506711.2363, + 2462706893934.1553, + 2453466322630.2183, + 2443726027789.4434, + 2433465005766.469, + 2422662101821.8384, + 2411296109845.499, + 2399345884881.7583, + 2386790468967.1333, + 2373609230660.6206, + 2359782018474.89, + 2345289328213.018, + 2330112483968.8657, + 2314233832263.45, + 2297636948460.9204, + 2280306854240.83, + 2262230244494.2793, + 2243395721575.504, + 2223794034373.8174, + 2203418319191.0117, + 2182264338927.3267, + 2160330716610.0044, + 2137619158859.5803, + 2114134664508.6616, + 2089885713279.0083, + 2064884429220.74, + 2039146713542.194, + 2012692341533.7927, + 1985545018542.402, + 1957732390397.5623, + 1929286004336.7676, + 1900241217338.5884, + 1870637049830.4653, + 1840515983987.316, + 1809923707242.9138, + 1778908803160.364, + 1747522393398.7334, + 1715817736105.744, + 1683849787596.7192, + 1651674735565.7563, + 1619349513251.6309, + 1586931304868.7263, + 1554477053159.772, + 1522042980080.2463, + 1489684131357.0208, + 1457453954970.757, + 1425403922503.2805, + 1393583200813.3196, + 1362038379712.2249, + 1330813259289.914, + 1299948698385.6924, + 1269482523512.174, + 1239449495434.292, + 1209881328682.2678, + 1180806757631.9553, + 1152251641497.1487, + 1124239099703.318, + 1096789668681.6544, + 1069921471144.3386, + 1043650389353.4233, + 1017990234733.3794, + 992952907331.8312, + 968548540022.2722, + 944785623873.3064, + 921671112681.9921, + 899210506191.731, + 877407912902.1584, + 856266094559.6956, + 835786495342.1018, + 815969259387.7709, + 796813240662.7772, + 778316009217.1349, + 760473857685.2311, + 743281811478.0275, + 726733645545.0984, + 710821909912.531, + 695537965478.5104, + 680872030826.7327, + 666813240138.8226, + 653349711686.1196, + 640468625880.7181, + 628156311480.0178, + 616398338270.5774, + 605179614403.4808, + 594484486502.6061, + 584296840707.3342, + 574600202921.8197, + 565377836710.2098, + 556612837480.791, + 548288221827.23987, + 540387011128.3437, + 532892308737.02637, + 525787370305.79865, + 519055666994.2779, + 512680941478.72754, + 506647256833.54224, + 500939038478.36334, + 495541109483.25867, + 490438719599.592, + 485617568437.9678, + 481063823249.62506, + 476764131786.3211, + 472705630719.1022, + 468875950090.4688, + 465263214260.5409, + 461856039786.36163, + 458643530648.92, + 455615271213.1366, + 452761317276.33374, + 450072185529.54504, + 447538841725.0389, + 445152687813.625, + 442905548286.4754, + 440789655928.80554, + 438797637167.36914, + 436922497169.49725, + 435157604829.14166, + 433496677755.4183, + 431933767361.2162, + 430463244134.5124, + 429079783161.7759, + 427778349961.38367, + 20310231274091.098, + 20257525278151.574, + 20201711688277.387, + 20142626491431.285, + 20080099472442.734, + 20013954306726.74, + 19944008708014.53, + 19870074638270.957, + 19791958587438.945, + 19709461931090.074, + 19622381374463.67, + 19530509491661.113, + 19433635369011.9, + 19331545361712.48, + 19224023972765.28, + 19110854863025.25, + 18991822000661.92, + 18866710957630.348, + 18735310359682.305, + 18597413495059.863, + 18452820085241.613, + 18301338218877.777, + 18142786447389.887, + 17976996037530.977, + 17803813372547.64, + 17623102489369.34, + 17434747734615.414, + 17238656517066.908, + 17034762128726.559, + 16823026600821.604, + 16603443555110.36, + 16376041004904.07, + 16140884054477.691, + 15898077440197.695, + 15647767852133.086, + 15390145971297.928, + 15125448155403.686, + 14853957705367.87, + 14576005646092.873, + 14291970958539.055, + 14002280206000.35, + 13707406505967.549, + 13407867810011.555, + 13104224467674.201, + 12797076066251.02, + 12487057556129.281, + 12174834690626.07, + 11861098829287.328, + 11546561173713.34, + 11231946524246.945, + 10917986663433.354, + 10605413487191.994, + 10294952016233.371, + 9987313427795.887, + 9683188250665.525, + 9383239864448.258, + 9088098437019.213, + 8798355422321.363, + 8514558724539.6045, + 8237208614967.454, + 7966754465401.48, + 7703592337747.0, + 7448063444729.95, + 7200453472349.703, + 6960992731936.033, + 6729857089333.757, + 6507169601520.676, + 6293002777390.751, + 6087381369756.212, + 5890285599925.857, + 5701654714320.679, + 5521390774190.367, + 5349362584119.725, + 5185409672113.916, + 5029346243036.258, + 4880965037435.7295, + 4740041038746.409, + 4606334982991.978, + 4479596635994.553, + 4359567813347.202, + 4245985127769.478, + 4138582456757.7593, + 4037093130567.8384, + 3941251846471.6074, + 3850796319963.5967, + 3765468687204.4087, + 3685016675574.702, + 3609194560909.236, + 3537763930882.7993, + 3470494274293.3477, + 3407163415726.229, + 3347557814416.7515, + 3291472745166.816, + 3238712377989.4233, + 3189089771847.271, + 3142426796470.049, + 3098553994839.097, + 3057310397553.7256, + 3018543298969.606, + 2982108003756.0356, + 2947867551353.162, + 2915692424751.92, + 2885460249049.2607, + 2857055484370.8613, + 2830369116982.0625, + 2805298351729.3896, + 2781746308366.8984, + 2759621723805.648, + 2738838661884.829, + 2719316231886.7695, + 2700978316698.974, + 2683753311257.9033, + 2667573871685.5737, + 2652376675348.0884, + 2638102191908.5166, + 2624694465330.9873, + 2612100906690.7266, + 2600272097569.002, + 2589161603755.698, + 2578725798932.5977, + 2568923697985.199, + 2559716799561.9443, + 2551068937493.6113, + 2542946140672.0396, + 2535316500991.5454, + 2528150048955.9927, + 2521418636563.4795, + 2515095827087.2163 + ], + "occupancy": [ + 7.928286662266792e-05 + ], + "p_m3": [ + 2515095827087.2163, + 2521367279959.2305, + 2528033174494.5225, + 2535117617847.4526, + 2542646096185.607, + 2550645540648.5474, + 2559144394568.0234, + 2568172681680.185, + 2577762075010.2656, + 2587945966046.411, + 2598759533730.101, + 2610239812708.675, + 2622425760196.1895, + 2635358320697.565, + 2649080487746.453, + 2663637361689.544, + 2679076202435.8203, + 2695446475957.4263, + 2712799893197.5356, + 2731190439909.3647, + 2750674395811.8267, + 2771310341323.576, + 2793159150012.3887, + 2816283964796.066, + 2840750155847.202, + 2866625258100.695, + 2893978886253.609, + 2922882625182.2363, + 2953409893803.3174, + 2985635780577.3154, + 3019636849111.723, + 3055490912678.971, + 3093276776921.7866, + 3133073950598.4033, + 3174962324913.8613, + 3219021822785.149, + 3265332020309.789, + 3313971743703.545, + 3365018646034.9404, + 3418548769167.2266, + 3474636097367.6523, + 3533352110002.1406, + 3594765341517.7715, + 3658940957464.4287, + 3725940355501.3296, + 3795820800130.7573, + 3868635099190.4834, + 3944431328887.3003, + 4023252612315.5874, + 4105136953994.606, + 4190117130025.723, + 4278220630091.0864, + 4369469643868.706, + 4463881080689.504, + 4561466607675.784, + 4662232688419.501, + 4766180601795.615, + 4873306418994.874, + 4983600916588.938, + 5097049404547.482, + 5213631450749.894, + 5333320487682.178, + 5456083292569.452, + 5581879338997.112, + 5710660025775.631, + 5842367797059.26, + 5976935176028.874, + 6114283742363.225, + 6254323090707.344, + 6396949812959.356, + 6542046551055.009, + 6689481168696.714, + 6839106089973.34, + 6990757849985.443, + 7144256897491.16, + 7299407682408.327, + 7455999052103.381, + 7613804970133.42, + 7772585560018.133, + 7932088465241.021, + 8092050505518.739, + 8252199599019.664, + 8412256911100.389, + 8571939182646.915, + 8730961185596.402, + 8889038249806.906, + 9045888804253.26, + 9201236876445.803, + 9354814496909.865, + 9506363960228.188, + 9655639900225.9, + 9802411144063.611, + 9946462317844.578, + 10087595184509.496, + 10225629702939.39, + 10360404804955.396, + 10491778894083.824, + 10619630076313.025, + 10743856138455.264, + 10864374294120.736, + 10981120720574.453, + 11094049912039.969, + 11203133876278.412, + 11308361201666.135, + 11409736021636.094, + 11507276902292.191, + 11601015677487.45, + 11690996253710.742, + 11777273404911.227, + 11859911575029.926, + 11938983703563.338, + 12014570087052.967, + 12086757287052.027, + 12155637092891.654, + 12221305545526.117, + 12283862026850.527, + 12343408417248.35, + 12400048322647.44, + 12453886371138.27, + 12505027578149.693, + 12553576778330.904, + 12599638121622.262, + 12643314630493.953, + 12684707814969.367, + 12723917341770.475, + 12761040753776.127, + 12796173235862.525, + 12829407423181.967, + 270366762119.59824, + 271213817596.6222, + 272115616795.30902, + 273075701749.66058, + 274097843702.99017, + 275186057845.2641, + 276344618966.07837, + 277578078072.41077, + 278891280020.7349, + 280289382213.8893, + 281777874412.4701, + 283362599710.32, + 285049776721.25696, + 286846023021.9358, + 288758379891.67584, + 290794338384.2138, + 292961866759.3688, + 295269439292.491, + 297726066467.63135, + 300341326544.9298, + 303125398473.52576, + 306089096098.3057, + 309243903580.53546, + 312602011918.8578, + 316176356416.57574, + 319980654894.52606, + 324029446392.5563, + 328338130038.4981, + 332923003689.2813, + 337801301862.9992, + 342991232384.6373, + 348512011058.78345, + 354383893561.58264, + 360628203610.21484, + 367267356322.0013, + 374324875518.5045, + 381825403563.6533, + 389794702151.44257, + 398259642283.84235, + 407248181505.0163, + 416789326293.84784, + 426913077368.0189, + 437650355531.32214, + 449032905612.9552, + 461093176013.9066, + 473864171410.11786, + 487379276275.83215, + 501672047103.8025, + 516775971524.3936, + 532724192980.46515, + 549549200209.9937, + 567282481531.8381, + 585954144826.7227, + 605592505148.452, + 626223643079.0812, + 647870938231.6951, + 670554583673.5529, + 694291088442.8427, + 719092776712.6196, + 744967293444.8801, + 771917127509.1643, + 799939164132.996, + 829024279134.7672, + 859156987589.4968, + 890315159340.9675, + 922469813055.5894, + 955584999296.821, + 989617781389.7301, + 1024518320679.3917, + 1060230070226.6011, + 1096690078120.5833, + 1133829398533.074, + 1171573605521.1191, + 1209843401545.1255, + 1248555309842.22, + 1287622437309.3816, + 1326955292527.6147, + 1366462642069.9617, + 1406052387358.0564, + 1445632444074.7432, + 1485111606507.9192, + 1524400380147.589, + 1563411767317.3152, + 1602061992513.6406, + 1640271156336.2874, + 1677963809320.2517, + 1715069439506.6353, + 1751522870111.339, + 1787264566074.213, + 1822240850512.6357, + 1856404034097.3962, + 1889712462080.8936, + 1922130485094.6768, + 1953628360899.6423, + 1984182095014.5862, + 2013773228588.2263, + 2042388582041.8896, + 2070019962927.8276, + 2096663846165.0198, + 2122321034357.1636, + 2146996305324.1882, + 2170698053305.797, + 2193437929575.2434, + 2215230487448.6523, + 2236092835925.979, + 2256044305471.1606, + 2275106128742.3804, + 2293301138440.5703, + 2310653483857.1553, + 2327188367172.4404, + 2342931800097.685, + 2357910381052.116, + 2372151092732.16, + 2385681119647.231, + 2398527684978.7173, + 2410717905935.7896, + 2422278666655.7734, + 2433236507602.1226, + 2443617530352.2695, + 2453447316639.706, + 2462750860502.7373, + 2471552512410.222, + 2479875934255.0415, + 2487744064153.071, + 2495179090027.511, + 2502202431019.5557, + 2508834725820.383, + 2515095827087.2163 + ], + "phi_V": [ + 0.0, + -6.297052455897922e-05, + -0.00012973141170526532, + -0.00020049299128761125, + -0.00027547499945967566, + -0.00035490670549945084, + -0.0004390269962495464, + -0.00052808441136379, + -0.0006223371220667547, + -0.0007220528455165682, + -0.000827508686190324, + -0.0009389908951007107, + -0.0010567945371556624, + -0.0011812230565893525, + -0.0013125877301202954, + -0.001451206997349, + -0.0015974056579288567, + -0.0017515139252710465, + -0.001913866327020851, + -0.0020848004433137632, + -0.002264655474931611, + -0.0024537706349778807, + -0.002652483359622235, + -0.002861127335868406, + -0.003080030347211412, + -0.0033095119414942955, + -0.003549880929262126, + -0.0038014327254342136, + -0.004064446552144579, + -0.004339182526077187, + -0.0046258786594560826, + -0.004924747809914107, + -0.00523597462058977, + -0.0055597124977806575, + -0.0058960806790626374, + -0.006245161449676185, + -0.006606997568861893, + -0.0069815899703500476, + -0.007368895802020421, + -0.007768826868502917, + -0.008181248536876707, + -0.00860597915939296, + -0.009042790058130164, + -0.009491406104644873, + -0.009951506913104785, + -0.0104227286483491, + -0.010904666431268858, + -0.011396877303473512, + -0.011898883692232408, + -0.012410177296130311, + -0.012930223292845468, + -0.013458464754106697, + -0.013994327140350855, + -0.014537222739938477, + -0.015086554915865361, + -0.015641722027343492, + -0.016202120904692526, + -0.01676714977357033, + -0.017336210548145853, + -0.01790871044142411, + -0.018484062873237766, + -0.01906168769076347, + -0.019641010750931245, + -0.020221462946796703, + -0.02080247878890787, + -0.021383494676155378, + -0.021963947007106497, + -0.022543270291343176, + -0.023120895420326363, + -0.023696248248785346, + -0.024268748621121265, + -0.02483780995385511, + -0.025402839456189447, + -0.025963239038051627, + -0.026518406920475166, + -0.02706773992883202, + -0.027610636417125578, + -0.028146499742945412, + -0.028674742189111462, + -0.029194789210447766, + -0.02970608387305799, + -0.030208091349039366, + -0.03070030333149242, + -0.03118224224234708, + -0.03165346511806051, + -0.032113567074596006, + -0.032562184272120716, + -0.032998996320411395, + -0.033423728086934494, + -0.03383615088999311, + -0.0342360830783872, + -0.034623390016072134, + -0.03499798350488126, + -0.035359820690220964, + -0.03570890250366271, + -0.036045271702592765, + -0.03636901057068796, + -0.036680238344236636, + -0.036979108428507906, + -0.037265805465853695, + -0.03754054231334339, + -0.03780355698284277, + -0.03805510959086374, + -0.03829547935953643, + -0.03852496170392669, + -0.03874386543485928, + -0.038952510100573906, + -0.03915122348506364, + -0.03934033927591741, + -0.03952019490996355, + -0.039691129601025325, + -0.039853482550654136, + -0.040007591339794195, + -0.04015379049692936, + -0.0402924102363299, + -0.04042377535851868, + -0.040548204303960896, + -0.040666008350204404, + -0.04077749094221768, + -0.04088294714543573, + -0.04098266321102221, + -0.041076916243029914, + -0.04116597395747512, + -0.041250094523766295, + -0.0413295264793988, + -0.04140450870931046, + -0.04147527048179509, + -0.04154203153340027, + -0.04166807398874501, + -0.04173499946070716, + -0.04180606030997842, + -0.041881499958442654, + -0.04196157458757899, + -0.04204655360169078, + -0.04213672007926883, + -0.04223237120732682, + -0.042333818692842896, + -0.042441389144675164, + -0.04255542441849466, + -0.0426762819163984, + -0.042804334831929164, + -0.04293997233024354, + -0.04308359965214191, + -0.04323563812961326, + -0.04339652509946827, + -0.04356671370055155, + -0.04374667253895711, + -0.04393688520465177, + -0.04413784962196067, + -0.04435007721553241, + -0.044574091872713904, + -0.04481042868277784, + -0.04505963243321339, + -0.04532225584337206, + -0.04559885751622178, + -0.04588999958987537, + -0.04619624507199699, + -0.04651815484222918, + -0.04685628431049827, + -0.0472111797225219, + -0.04758337410811997, + -0.04797338287307903, + -0.04838169904137195, + -0.048808788161510866, + -0.04925508289869643, + -0.04972097734317583, + -0.05020682107475494, + -0.050712913033584744, + -0.051239495257993234, + -0.05178674656101244, + -0.05235477622807693, + -0.05294361782879549, + -0.053553223245340065, + -0.05418345702841039, + -0.0548340911984713, + -0.05550480061454792, + -0.05619515903482777, + -0.05690463599225177, + -0.057632594603779654, + -0.05837829042382631, + -0.0591408714403092, + -0.05991937929578693, + -0.060712751796452115, + -0.06151982674856104, + -0.062339347135735204, + -0.06316996762211453, + -0.06401026233640379, + -0.06485873386138535, + -0.0657138233235228, + -0.06657392144894288, + -0.06743738042644662, + -0.0683025263962781, + -0.06916767236607962, + -0.07003113134349305, + -0.07089122946876356, + -0.0717463189306929, + -0.0725947904554093, + -0.07343508516937805, + -0.0742657056553836, + -0.07508522604213307, + -0.07589230099376906, + -0.07668567349391611, + -0.07746418134883355, + -0.07822676236471714, + -0.07897245818412928, + -0.0797004167949907, + -0.0804098937517201, + -0.08110025217128083, + -0.08177096158661751, + -0.08242159575592102, + -0.0830518295382202, + -0.08366143495398361, + -0.0842502765539139, + -0.08481830622018625, + -0.08536555752241269, + -0.08589213974603031, + -0.08639823170407392, + -0.08688407543487402, + -0.08734996987858362, + -0.08779626461501074, + -0.08822335373440443, + -0.08863166990196678, + -0.0890216786662114, + -0.08939387305111243, + -0.0897487684624572, + -0.09008689793006681, + -0.09040880769965931, + -0.09071505318116176, + -0.09100619525421663, + -0.09128279692648887, + -0.0915454203360909, + -0.0917946240859911, + -0.09203096089554047, + -0.09225497555222834, + -0.09246720314532682, + -0.09266816756218273, + -0.09285838022744432, + -0.09303833906543606, + -0.09320852766612449, + -0.09336941463560283, + -0.09352145311271563, + -0.09366508043427234, + -0.09380071793226193, + -0.09392877084748388, + -0.09404962834509444, + -0.09416366361863572, + -0.09427123407020388, + -0.09437268155546963, + -0.09446833268329033, + -0.09455849916064374, + -0.09464347817454277, + -0.09472355280347793, + -0.09479899245175186, + -0.09487005330084326, + -0.09493697877263532, + -0.09499999999999964 + ], + "poisson_residual_C_m2": [ + -1.5343441369234503e-20, + 3.588831467626363e-20, + -1.3786873024317456e-19, + -5.313877778637478e-20, + -2.4319897219552357e-20, + 3.658106210346525e-19, + -9.269181334784678e-20, + -4.0808288650253147e-19, + 4.834732495084177e-19, + -3.2679633843261043e-19, + 7.378692148904472e-20, + -3.17034868274513e-19, + 1.0987483776517731e-18, + -1.0473844126071965e-18, + 1.374573288300502e-19, + 1.2008804449914952e-19, + 5.716641695070871e-19, + -1.1621271968945284e-18, + 1.0053452823655986e-18, + 1.4474580012922488e-19, + -6.0165219220205375e-19, + 6.416601687109892e-19, + -1.2625044745012886e-18, + 5.520798837726049e-19, + 2.9877096456692505e-19, + -3.8667781779486506e-20, + 2.769254936390304e-19, + -2.7384458360723336e-19, + -7.521614225576981e-19, + 4.1274654081875787e-19, + 1.1932541014997636e-18, + -9.600053934343196e-19, + -3.301869411896754e-19, + 3.9411562578092464e-19, + -4.249849435075648e-19, + 3.6110663005052054e-19, + 3.3949155719712647e-19, + -8.068107094480347e-19, + 8.696932675632881e-20, + 1.4135634819032175e-18, + -2.1171727244791383e-18, + 2.289097643995232e-18, + -1.1127923650708112e-18, + -1.0318106023775367e-18, + 1.5999175630440708e-18, + -1.54743639976397e-18, + 2.5526181372628474e-18, + -1.9579544628064954e-18, + -6.355869858152683e-19, + 7.7099463946322525e-19, + 1.2289676709140054e-18, + -1.1936023332797112e-18, + -2.0774628703549675e-19, + 6.476638777556458e-19, + -1.6403601221292508e-18, + 2.060459677437448e-18, + 1.0770500129072685e-19, + -8.651088636748216e-19, + -7.745944257898999e-19, + 2.176110827125886e-18, + -2.1293212733798334e-18, + 2.4468710100607964e-18, + -4.4483739000111235e-18, + 3.412322326700973e-18, + 9.834593199379044e-19, + -3.022400491432714e-18, + 1.029248078175816e-18, + 1.1480543523408435e-18, + 8.310884201383707e-19, + -3.2099686080780014e-18, + 3.233142808755831e-19, + 2.835234342564773e-18, + -1.4843433027649434e-18, + -2.4142900471950623e-19, + -3.077575102038422e-19, + 3.597288030522919e-19, + -1.6428327523923253e-19, + 7.237940873762646e-19, + -6.873592296060935e-19, + 1.0793628578648245e-18, + -2.758039525639124e-19, + -3.5338098716397784e-18, + 2.0953445397241807e-18, + 2.6058409232274555e-18, + 3.8357878995255994e-20, + -3.696786773248585e-18, + -1.738201930296642e-18, + 1.0653878225807787e-17, + -1.0246414863356335e-17, + 9.047153822138424e-19, + 1.0467884825925353e-17, + -1.2781878190886987e-17, + 8.296558830794162e-18, + -1.001165278088878e-17, + 9.736092132765481e-18, + -4.5650428278643295e-18, + 4.624085028014339e-18, + -1.2707816174377612e-17, + 1.3897368990730092e-17, + -4.472118284940295e-18, + 1.4318739900126007e-18, + 4.938771461170755e-18, + -8.896119174036689e-18, + 5.938474972221914e-19, + -3.1659466930090572e-18, + 7.141953570313077e-18, + 9.467356962924841e-19, + -2.8955288234057374e-18, + 7.18971979170878e-18, + -1.0657959264941041e-17, + 3.822831076228516e-18, + -9.338636632313659e-18, + 3.602627410095392e-18, + 1.5297441067655583e-17, + -4.1368837343664545e-17, + 6.594537145616197e-17, + -4.860069007588841e-17, + 2.0778042313449893e-17, + 6.627918811786885e-18, + -1.9861150575608396e-17, + -3.1481134640071656e-17, + 4.428965617691935e-17, + 9.258068868342487e-18, + -8.466430022647573e-18, + -2.7301317706558515e-17, + 6.423607359931225e-17, + -5.1693180745661343e-17, + 1.5004869176770793e-17, + 1.3588595506735145e-17, + -1.9001744321929525e-17, + -3.7993288593623574e-17, + 4.861044710303369e-17, + 1.1382431744754458e-18, + -2.526617621804517e-17, + -7.346618844196575e-19, + 1.060865888275242e-17, + 1.0164106472331672e-17, + -4.860654246771092e-18, + -8.532090060758905e-18, + 8.307893737059589e-18, + -4.175007862023325e-18, + -1.3026416652194128e-17, + 2.2310499349480022e-17, + -5.2557134315644345e-18, + 6.931406651738282e-18, + -1.146952517546062e-17, + -6.48900782691417e-18, + 6.1141221144771755e-18, + 2.7021682792299234e-18, + -3.395369737160666e-18, + 4.176706246613121e-18, + 1.3933691431516144e-18, + -3.57916252845338e-18, + -9.092432431274095e-19, + 4.904578752401996e-18, + -5.534043662779852e-18, + 2.1568639825930595e-18, + -2.749269761585161e-18, + 1.3421999250026914e-18, + 1.0014532198166496e-18, + 8.584103140441847e-19, + 4.6561529489178064e-18, + -1.0698979501076297e-17, + 1.0361339314922327e-17, + -4.53993281282627e-18, + -3.724399529127149e-18, + -8.516959604668883e-19, + 1.0327005985462817e-17, + -8.8382263505879e-18, + 3.3069499939662583e-18, + 2.632684488634419e-18, + -1.005167538682911e-17, + 1.2807971399543942e-17, + -7.572281545280074e-18, + 9.066505045053189e-20, + 5.131097052576824e-18, + -7.437963870315471e-18, + 4.709814210812115e-18, + -1.8836306143295034e-18, + 1.8346816441212067e-18, + -1.1201670146966968e-19, + 3.8888247139303267e-19, + -2.6463694540913987e-18, + -1.0319836208076227e-18, + 1.463190585039034e-18, + 3.1854346978017665e-18, + -5.772866362819625e-19, + -1.2927406500366402e-18, + -5.2762363853738054e-18, + 1.0596010091387458e-17, + -9.624173425796472e-18, + 6.945308354947758e-18, + -5.070268483063504e-18, + 5.050566261580028e-18, + -3.8007787981068866e-19, + -3.472938397895141e-18, + -1.489065573073878e-18, + 2.1450785453598718e-18, + 3.288167168444045e-18, + -5.935042163150474e-18, + -5.158436046855002e-19, + 9.155978564292048e-18, + -9.701788768235638e-18, + 4.596513943293939e-18, + 5.437050216986938e-19, + -3.585271284978276e-18, + -4.7018303384639406e-18, + 2.1168748398117584e-17, + -1.1139811421937045e-17, + -1.0193755124122217e-17, + 7.494657126368883e-18, + 2.8904842870020736e-18, + -4.842169403714603e-18, + 4.468105815555392e-19, + 2.321585852872873e-18, + -6.0283621788404975e-18, + 1.3256236776057745e-17, + -1.0893084154047925e-17, + 1.0336343684178053e-18, + 4.408127479918806e-18, + 1.8204215339430456e-19, + -1.0295642432635333e-17, + 2.1985398931036728e-17, + -2.2406230298667063e-17, + 6.1632587338723565e-18, + -1.7533455006155912e-17, + 3.817760072189121e-17, + -4.082029472010559e-17, + 4.5970598996206565e-17, + -4.3907992752357416e-17, + 3.2966870855954196e-17, + -2.2652513095664595e-17, + 2.8115503459243956e-17, + -1.402043356626842e-17, + -2.7504002551223947e-17, + 3.6350491917683667e-17, + -2.6254943494760263e-17, + 5.1798174120317817e-17, + -1.0889544787029496e-16, + 1.2992323976956094e-16, + -5.971122771959616e-17, + 2.4917736467653818e-17, + -4.0548503053692945e-17, + -3.016699435722821e-17, + 7.322385536861911e-17, + -4.008170700879904e-17, + 3.5953492664057674e-17, + -1.3518762017801427e-17, + 4.7673101548966354e-17, + -1.2478949337069597e-16, + 5.670457251318409e-17, + -2.79525020917305e-17, + 6.883292715423741e-17, + -4.941613213545778e-17 + ], + "positive_inventory_m2": [ + 1000000000000002.9 + ], + "positive_m3": [ + 5.977186525286279e+21, + 5.987460007753037e+21, + 5.998488484258728e+21, + 6.010310264112843e+21, + 6.02295155508169e+21, + 6.036431502525846e+21, + 6.050770215019191e+21, + 6.065995110631512e+21, + 6.082142946565253e+21, + 6.099258416399036e+21, + 6.117391722215327e+21, + 6.136596726374028e+21, + 6.156929989220601e+21, + 6.178450379949409e+21, + 6.201218930563841e+21, + 6.225298756958379e+21, + 6.250754980906184e+21, + 6.277654632626911e+21, + 6.30606652735307e+21, + 6.33606111245024e+21, + 6.367710282210317e+21, + 6.40108715754746e+21, + 6.436265827930199e+21, + 6.473321053053797e+21, + 6.512327922022944e+21, + 6.553361468191838e+21, + 6.596496238314206e+21, + 6.641805815290635e+21, + 6.689362294602375e+21, + 6.739235715462358e+21, + 6.791493448839745e+21, + 6.846199545775395e+21, + 6.903414050837689e+21, + 6.963192287107951e+21, + 7.025584120719866e+21, + 7.090633214663969e+21, + 7.158376283225317e+21, + 7.228842359990207e+21, + 7.302052093742109e+21, + 7.378017087668262e+21, + 7.456739298005422e+21, + 7.538210508465925e+21, + 7.622411896400223e+21, + 7.709313705587109e+21, + 7.798875038725256e+21, + 7.891043780128301e+21, + 7.985756655806787e+21, + 8.082939434127079e+21, + 8.182507265707303e+21, + 8.28436515633645e+21, + 8.388408561703142e+21, + 8.494524087921622e+21, + 8.602590277491645e+21, + 8.71247845678911e+21, + 8.824053618737091e+21, + 8.93717531314506e+21, + 9.051698517575227e+21, + 9.167474463503364e+21, + 9.284351395993926e+21, + 9.402175249911998e+21, + 9.520790231652472e+21, + 9.64003930201559e+21, + 9.75976456285603e+21, + 9.879807556957707e+21, + 1.0000009496742756e+22, + 1.0120211442506295e+22, + 1.0240254454481132e+22, + 1.0359979744900833e+22, + 1.047922885624123e+22, + 1.059784388993395e+22, + 1.0715667806249642e+22, + 1.083254481095799e+22, + 1.0948320838216122e+22, + 1.1062844132309456e+22, + 1.1175965923879439e+22, + 1.1287541189613787e+22, + 1.1397429478420252e+22, + 1.1505495782310178e+22, + 1.1611611426750888e+22, + 1.171565495334781e+22, + 1.1817512967349794e+22, + 1.1917080923618465e+22, + 1.2014263827162779e+22, + 1.2108976827874121e+22, + 1.2201145693453467e+22, + 1.2290707149307509e+22, + 1.237760907921392e+22, + 1.2461810585399055e+22, + 1.254328191123728e+22, + 1.2622004233737987e+22, + 1.2697969336334724e+22, + 1.277117917504197e+22, + 1.2841645352879686e+22, + 1.2909388518513657e+22, + 1.2974437705457125e+22, + 1.3036829627962016e+22, + 1.3096607949021736e+22, + 1.3153822534803235e+22, + 1.3208528708446903e+22, + 1.3260786514602668e+22, + 1.3310660004411091e+22, + 1.3358216548955204e+22, + 1.3403526187573672e+22, + 1.3446661015881346e+22, + 1.3487694616918737e+22, + 1.3526701537582744e+22, + 1.3563756811373087e+22, + 1.359893552753959e+22, + 1.3632312445921357e+22, + 1.3663961656125611e+22, + 1.3693956279178906e+22, + 1.3722368209324324e+22, + 1.3749267892954838e+22, + 1.3774724139741667e+22, + 1.3798803954938367e+22, + 1.3821572365903498e+22, + 1.3843092184927012e+22, + 1.3863423614073352e+22, + 1.388262360090195e+22, + 1.3900744968490684e+22, + 1.391783558860473e+22, + 1.393393810632555e+22, + 1.394909070193077e+22, + 1.396332896363125e+22, + 1.3976688356261385e+22, + 1.3989206424365201e+22, + 1.4000924002964702e+22, + 1.401188519018053e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22 + ], + "sheet_charge_C_m2": [ + -2.208027851236118e-13 + ], + "trace_potential_V": [ + [ + -0.04160505276121982, + -0.04160505276121982 + ] + ], + "trace_state_m3": [ + [ + 426553352160.8516, + 12860858403125.174, + 20359987442608.58, + 269571123661.34625 + ] + ] + }, + "substeps": 4, + "time_s": 5.132501042758137e-06 + }, + "saved_row": { + "dt_s": 2.454561045726773e-07, + "phase": "accepted_regular_step", + "physics_reconstruction": { + "coordinate": [ + 2.9163233886762668e-12, + 6.027036597286089e-12, + 9.343028424912874e-12, + 1.2875751445554371e-11, + 1.6637521245746178e-11, + 2.0641746755747927e-11, + 2.4903047319290638e-11, + 2.943725796077218e-11, + 3.426138368665074e-11, + 3.939355302920943e-11, + 4.485302223952079e-11, + 5.0660192438056186e-11, + 5.683665159581596e-11, + 6.340522362091584e-11, + 7.039002618433079e-11, + 7.781650229644767e-11, + 8.571148007025379e-11, + 9.410321164959618e-11, + 1.0302140668525806e-10, + 1.1249726623641163e-10, + 1.2256349769104874e-10, + 1.332543226874365e-10, + 1.4460548449814978e-10, + 1.566542169465607e-10, + 1.6943920041222653e-10, + 1.830005082080325e-10, + 1.9737950273392425e-10, + 2.1261871713943819e-10, + 2.2876168614620389e-10, + 2.458527584564209e-10, + 2.639368147850265e-10, + 2.830589862112836e-10, + 3.032642692826633e-10, + 3.245970925748077e-10, + 3.4710082669668643e-10, + 3.708171531249105e-10, + 3.9578545708381464e-10, + 4.220420154699824e-10, + 4.4961917799873914e-10, + 4.785444316261742e-10, + 5.088393782112183e-10, + 5.405186373129608e-10, + 5.735886515473867e-10, + 6.080464750101738e-10, + 6.438784376782911e-10, + 6.810589488863873e-10, + 7.195490546944526e-10, + 7.592952769138141e-10, + 8.002283694669319e-10, + 8.422621875931007e-10, + 8.852928091842622e-10, + 9.291976998489473e-10, + 9.738352841468635e-10, + 1.0190445828492767e-09, + 1.0646453247368265e-09, + 1.110438405615547e-09, + 1.1562066840319674e-09, + 1.2017161394854242e-09, + 1.246717515982275e-09, + 1.2909482860594203e-09, + 1.3341352357634998e-09, + 1.375996924817495e-09, + 1.4162472472933117e-09, + 1.4545983794533285e-09, + 1.4907646859773003e-09, + 1.5244663105696238e-09, + 1.5554330576713138e-09, + 1.58340814077607e-09, + 1.6081519775745507e-09, + 1.6294455654327087e-09, + 1.6470937269841504e-09, + 1.6609281637082478e-09, + 1.6708097048432625e-09, + 1.676630606033106e-09, + 1.6783157493719318e-09, + 1.6758238849396613e-09, + 1.6691478663089979e-09, + 1.6583145829713998e-09, + 1.6433842440386566e-09, + 1.6244491971536224e-09, + 1.6016321600221321e-09, + 1.5750841247884512e-09, + 1.5449818113851373e-09, + 1.5115250030940295e-09, + 1.4749331174206193e-09, + 1.4354424369374325e-09, + 1.393302344724578e-09, + 1.3487722277573127e-09, + 1.3021180860811913e-09, + 1.253609293968655e-09, + 1.2035155043015627e-09, + 1.1521039011249747e-09, + 1.099636445888861e-09, + 1.0463676076741922e-09, + 9.925422963931053e-10, + 9.38394096516232e-10, + 8.841438246723695e-10, + 8.299982811422252e-10, + 7.761495609484864e-10, + 7.227742965195103e-10, + 6.700334022519759e-10, + 6.180720784659462e-10, + 5.670196369137487e-10, + 5.169900414757769e-10, + 4.680823527379013e-10, + 4.2038111195062887e-10, + 3.739571946312257e-10, + 3.2886856382830284e-10, + 2.8516100108050755e-10, + 2.4286898178492674e-10, + 2.0201668806849096e-10, + 1.6261881277090882e-10, + 1.2468138165018194e-10, + 8.820273111618582e-11, + 5.317432913263226e-11, + 1.9581621025623875e-11, + -1.2594931165175608e-11, + -4.337883969570371e-11, + -7.279659808470275e-11, + -1.0087598588731556e-10, + -1.2764523119407698e-10, + -1.5313193657679979e-10, + -1.7736338254516667e-10, + -2.003665480573227e-10, + -2.2216962441208428e-10, + -2.428030626119931e-10, + -2.623003561121529e-10, + -3.9142587928835544e-10, + -3.9180440206106674e-10, + -3.922063417544498e-10, + -3.9263300780097817e-10, + -3.9308586132916623e-10, + -3.9356643228645164e-10, + -3.940763259797779e-10, + -3.946171424008365e-10, + -3.9519076567668353e-10, + -3.957988143569455e-10, + -3.9644340794859344e-10, + -3.971264060211554e-10, + -3.9784987739849144e-10, + -3.9861604504076907e-10, + -3.994270639972187e-10, + -4.0028527542977395e-10, + -4.011930081988912e-10, + -4.021527979682536e-10, + -4.0316709754304463e-10, + -4.042384390318297e-10, + -4.053694990969943e-10, + -4.0656288493158903e-10, + -4.0782124287727506e-10, + -4.0914723201812956e-10, + -4.105434830545183e-10, + -4.120126712393795e-10, + -4.1355726907211574e-10, + -4.1517971816389236e-10, + -4.168823677485652e-10, + -4.1866726576116165e-10, + -4.205363734468483e-10, + -4.2249136514822305e-10, + -4.2453354541862567e-10, + -4.266638091498379e-10, + -4.288825870860417e-10, + -4.311898787435543e-10, + -4.335849374842469e-10, + -4.3606633525558716e-10, + -4.386319139369069e-10, + -4.4127853179320956e-10, + -4.4400196732255667e-10, + -4.467969577899766e-10, + -4.496569116537528e-10, + -4.5257394165825703e-10, + -4.555385770334578e-10, + -4.5853980994792886e-10, + -4.615648734753957e-10, + -4.645991039157416e-10, + -4.676259767340035e-10, + -4.706271040200346e-10, + -4.735818315834206e-10, + -4.764676164097022e-10, + -4.792597680529306e-10, + -4.819316911824236e-10, + -4.844546909135033e-10, + -4.86798455066624e-10, + -4.889310147179475e-10, + -4.908189490984511e-10, + -4.924278843318641e-10, + -4.937224981529837e-10, + -4.94667286513339e-10, + -4.952266813279296e-10, + -4.953658783324299e-10, + -4.950507987780949e-10, + -4.942491726290738e-10, + -4.929308904642732e-10, + -4.910683176819462e-10, + -4.886371120589172e-10, + -4.856167761710143e-10, + -4.81990671114313e-10, + -4.777469099378419e-10, + -4.728783535741508e-10, + -4.673828773557861e-10, + -4.612638533847389e-10, + -4.5452965025376027e-10, + -4.4719415804065584e-10, + -4.392761937692819e-10, + -4.307995288465822e-10, + -4.217924866327805e-10, + -4.1228766921289406e-10, + -4.023212205046962e-10, + -3.919325867271162e-10, + -3.811638318909417e-10, + -3.7005907445538245e-10, + -3.5866385884274047e-10, + -3.4702475344464024e-10, + -3.351884807944848e-10, + -3.23201704919295e-10, + -3.1111025577706957e-10, + -2.9895868106902324e-10, + -2.867901133501602e-10, + -2.746456054905918e-10, + -2.6256409473161594e-10, + -2.5058177780853334e-10, + -2.38732466306835e-10, + -2.2704688624426174e-10, + -2.155530115517658e-10, + -2.0427600125886504e-10, + -1.9323776363038773e-10, + -1.8245770150268786e-10, + -1.7195224561088912e-10, + -1.6173510297657083e-10, + -1.5181749990639625e-10, + -1.422082695111517e-10, + -1.3291382265164493e-10, + -1.239387360640297e-10, + -1.1528542068726986e-10, + -1.069545824699626e-10, + -9.894544936309207e-11, + -9.125570378350401e-11, + -8.38818736371047e-11, + -7.681924193817173e-11, + -7.006229220291695e-11, + -6.360452164728687e-11, + -5.7438869178970126e-11, + -5.155772709767989e-11, + -4.5952842951214283e-11, + -4.0615792818770155e-11, + -3.55376772659326e-11, + -3.0709696005683386e-11, + -2.6122700989594547e-11, + -2.17675028894065e-11, + -1.7635047980023673e-11, + -1.3716233321806247e-11, + -1.0002049623539563e-11, + -6.483741881070768e-12, + -3.152549168185391e-12, + 2.800191376418851e-12, + 5.770138789080979e-12, + 8.917611162873369e-12, + 1.2250574467761676e-11, + 1.577736061287531e-11, + 1.950681665149812e-11, + 2.344831519588891e-11, + 2.761171784261654e-11, + 3.2007269290545046e-11, + 3.664550371089968e-11, + 4.153717719219218e-11, + 4.669320714610568e-11, + 5.212461680571085e-11, + 5.784247800086841e-11, + 6.385786652155003e-11, + 7.018177165042034e-11, + 7.682505585173308e-11, + 8.37983321711221e-11, + 9.111189996465662e-11, + 9.8775625384879e-11, + 1.0679885094978998e-10, + 1.1519025280505497e-10, + 1.2395771918566106e-10, + 1.3310821815544594e-10, + 1.4264765146536495e-10, + 1.5258068964274902e-10, + 1.6291061508993207e-10, + 1.736391758198149e-10, + 1.8476638791906488e-10, + 1.9629040858378564e-10, + 2.0820731633412363e-10, + 2.205110055096389e-10, + 2.3319297481786917e-10, + 2.4624224185621244e-10, + 2.5964517200714995e-10, + 2.7338538650452443e-10, + 2.874436592720817e-10, + 3.017978513933357e-10, + 3.1642292235370956e-10, + 3.312908679316805e-10, + 3.4637081855255547e-10, + 3.6162905763932075e-10, + 3.7702919948626484e-10, + 3.925323347343985e-10, + 4.0809724456016656e-10, + 4.2368065415384624e-10, + 4.392375741642056e-10, + 4.5472161038663016e-10, + 4.700853732134093e-10, + 4.852809225378251e-10, + 5.002601916921605e-10, + 5.14975515765286e-10, + 5.293800758201797e-10, + 5.434284489151826e-10, + 5.570771183920905e-10, + 5.702849385980857e-10, + 5.830136100223463e-10, + 5.952281367319515e-10, + 6.068972331022813e-10, + 6.179936332727774e-10, + 6.284944191494734e-10, + 6.383812234462298e-10, + 6.476403666911108e-10, + 6.562629765059729e-10, + 6.642449569594616e-10, + 6.715869054110496e-10, + 6.782939920192351e-10, + 6.843757100490826e-10, + 6.898456242998277e-10, + 6.947209996408273e-10, + 6.990224785186444e-10, + 7.027735888853056e-10, + 7.060003805818357e-10, + 7.087309126293937e-10, + 7.109948427614808e-10, + 7.128229349456457e-10, + 7.142466820787448e-10, + 7.152978291165236e-10, + 7.160080656526775e-10, + 7.16408643364187e-10, + 7.165300827893553e-10, + 7.164019367169539e-10, + 7.160525358962053e-10, + 7.155088356913599e-10, + 7.147962848644796e-10, + 7.139387265763242e-10, + 7.12958342466804e-10, + 7.118756112235469e-10, + 7.10709309662804e-10, + 7.094765534289707e-10, + 7.08192808837375e-10, + 7.068719820859664e-10, + 7.055264815617201e-10, + 7.041672895135312e-10, + 7.028040660078668e-10, + 7.014452076927092e-10, + 7.000979992914849e-10, + 6.987686565716909e-10, + 6.974624344243113e-10, + 6.96183720010716e-10, + 6.949361251434745e-10, + 6.937225509050515e-10, + 6.925452704183159e-10, + 6.914060167056367e-10, + 6.903060253352974e-10, + 6.892460960368526e-10, + 6.882266845524028e-10, + 6.872479137218177e-10, + 6.86309626010979e-10, + 6.85411436944972e-10, + 6.845527759284982e-10, + 6.837328995411863e-10, + 6.829509341455256e-10, + 6.822058938593648e-10, + 6.814967324874137e-10, + 6.808223159422897e-10, + 6.801814827525827e-10, + 6.795730550328911e-10, + 6.789958736201407e-10, + 6.78448794966316e-10, + 6.779307566067068e-10, + 6.77440769334517e-10, + 6.769779129224356e-10, + 6.765413038709886e-10, + 6.76130101025136e-10, + 6.757434311284639e-10, + 6.753803643529752e-10, + 5.619394450016568e-10, + 5.449685072411712e-10, + 5.270775431118066e-10, + 5.082282929989611e-10, + 4.883823155597996e-10, + 4.675013771963263e-10, + 4.4554762589089466e-10, + 4.2248391971776666e-10, + 3.982741697767296e-10, + 3.7288375131868127e-10, + 3.4627985654873765e-10, + 3.184320448721328e-10, + 2.89312729398777e-10, + 2.5889769107104075e-10, + 2.2716672556645108e-10, + 1.941042896132651e-10, + 1.5970020069439216e-10, + 1.2395037311597542e-10, + 8.68574796296213e-11, + 4.843196280708522e-11, + 8.692537331986269e-12, + -3.2332701970564476e-11, + -7.460561941234581e-11, + -1.1807721225954029e-10, + -1.6268684997273376e-10, + -2.0836149071662905e-10, + -2.550152936452513e-10, + -3.0254868809265345e-10, + -3.508481898678802e-10, + -3.9978630134664474e-10, + -4.4922092934305e-10, + -4.989958975781159e-10, + -5.489410224487837e-10, + -5.988729310985702e-10, + -6.485954801776375e-10, + -6.979011122633177e-10, + -7.465723673183874e-10, + -7.943832054046438e-10, + -8.411010907445698e-10, + -8.864894278176254e-10, + -9.303099636488528e-10, + -9.72325046360419e-10, + -1.0123014221824125e-09, + -1.0500123030657488e-09, + -1.0852412087494651e-09, + -1.1177844817117698e-09, + -1.1474546658180707e-09, + -1.1740834527171676e-09, + -1.1975242240222484e-09, + -1.2176543881522331e-09, + -1.2343773658638067e-09, + -1.2476247629834457e-09, + -1.2573565668265351e-09, + -1.2635627099153873e-09, + -1.2662628227348281e-09, + -1.2655055218394272e-09, + -1.2613680199266074e-09, + -1.253954398863311e-09, + -1.2433936358646463e-09, + -1.2298374505000367e-09, + -1.2134576509122927e-09, + -1.1944432284678712e-09, + -1.172997146823852e-09, + -1.1493332593039261e-09, + -1.1236732671856375e-09, + -1.0962431115135649e-09, + -1.0672703163457247e-09, + -1.0369810354855685e-09, + -1.005597338481071e-09, + -9.733350282695039e-10, + -9.404014777523536e-10, + -9.069939664230706e-10, + -8.732981619985238e-10, + -8.394872355759946e-10, + -8.057210665616518e-10, + -7.721454994404583e-10, + -7.388925751452815e-10, + -7.060800154327187e-10, + -6.738120175710753e-10, + -6.421791484070233e-10, + -6.112592496491313e-10, + -5.811178735375938e-10, + -5.51809085880201e-10, + -5.233763438152208e-10, + -4.958532927590809e-10, + -4.692644842870147e-10, + -4.4362635153015367e-10, + -4.1894816285353836e-10, + -3.952324845729014e-10, + -3.724763413417195e-10, + -3.506716616537363e-10, + -3.2980612868313973e-10, + -3.098636587570896e-10, + -2.9082518577492133e-10, + -2.726689659692485e-10, + -2.553713678542812e-10, + -2.389068702605778e-10, + -2.2324894067357254e-10, + -2.0836985743469359e-10, + -1.942415699404673e-10, + -1.8083548559826682e-10, + -1.6812295012615414e-10, + -1.5607547683630704e-10, + -1.4466466715773076e-10, + -1.3386256583099137e-10, + -1.2364181660559952e-10, + -1.1397553207123573e-10, + -1.0483755903004539e-10, + -9.620251473551388e-11, + -8.804574210018814e-11, + -8.034349604122052e-11, + -7.307282348390806e-11, + -6.621160453800346e-11, + -5.973870024915858e-11, + -5.363370788974113e-11, + -4.787717188651188e-11, + -4.2450468123532256e-11, + -3.733587317669642e-11, + -3.251635134020229e-11, + -2.7975741656472183e-11, + -2.3698725367218057e-11, + -1.9670734254422205e-11, + -1.5877695852953003e-11, + -1.2306583344759414e-11, + -8.944798933702466e-12, + -5.780506947406223e-12, + -2.8024827360325545e-12, + -2.832413843210804e-07, + 4.956692030950038e-06, + 4.715148779538743e-06, + 4.016781471013596e-06, + 3.0137469274064514e-06, + 1.9644167597966253e-06, + 1.1037864053344682e-06, + 5.369071411733923e-07, + 2.3375706397025754e-07, + 1.012062055121306e-07, + 5.350703670264121e-08, + 3.9249662922750396e-08, + 3.562370725836801e-08, + 3.4755239512306626e-08, + 3.4471847333554554e-08, + 3.428592571426754e-08, + 3.410713805013668e-08, + 3.392134339872946e-08, + 3.372645547567984e-08, + 3.35219831135182e-08, + 3.330762574305378e-08, + 3.308311058308738e-08, + 3.284818717881504e-08, + 3.2602628949484545e-08, + 3.234623504003221e-08, + 3.2078834340341775e-08, + 3.180029686789617e-08, + 3.1510527739939887e-08, + 3.120948393752258e-08, + 3.0897168138077345e-08, + 3.0573645386267044e-08, + 3.023903693937976e-08, + 2.98935338703441e-08, + 2.953739919507419e-08, + 2.9170969054584752e-08, + 2.87946610770177e-08, + 2.8408975775879184e-08, + 2.8014498336211046e-08, + 2.7611900405827958e-08, + 2.72019416309501e-08, + 2.6785467877543254e-08, + 2.636340873982163e-08, + 2.593677411698282e-08, + 2.5506650776709938e-08, + 2.507419347155295e-08, + 2.4640617352815007e-08, + 2.4207189097151136e-08, + 2.377521525705257e-08, + 2.3346029259699304e-08, + 2.292097907717695e-08, + 2.2501410483059117e-08, + 2.2088654887668766e-08, + 2.1684011751332966e-08, + 2.1288732377164138e-08, + 2.0904007617272956e-08, + 2.053095011981311e-08, + 2.017058236274767e-08, + 1.9823823724990583e-08, + 1.9491480743331577e-08, + 1.9174235622143422e-08, + 1.8872642697323852e-08, + 1.8587121378155416e-08, + 1.8317953915920864e-08, + 1.8065286660925808e-08, + 1.782913091477492e-08, + 1.7609367543237408e-08, + 1.7405754180237558e-08, + 1.7217932523717828e-08, + 1.7045439404987667e-08, + 1.6887716977825727e-08, + 1.6744126525123123e-08, + 1.661396016094065e-08, + 1.6496455794235386e-08, + 1.6390810497220218e-08, + 1.6296192903090634e-08, + 1.6211758787505244e-08, + 1.6136660509541075e-08, + 1.6070060990200934e-08, + 1.60111415195386e-08, + 1.5959112742081764e-08, + 1.591322068357871e-08, + 1.5872753548761564e-08, + 1.5837046853658515e-08, + 1.5805484253965697e-08, + 1.5777503977591027e-08, + 1.575259385230365e-08, + 1.573029752907836e-08, + 1.5710205986440573e-08, + 1.5691963040394598e-08, + 1.5675255969720477e-08, + 1.565981842680704e-08, + 1.5645420752163527e-08, + 1.5631872814659665e-08, + 1.5619015702580187e-08, + 1.5606720204330475e-08, + 1.5594881882658624e-08, + 1.5583419762484788e-08, + 1.557227059275197e-08, + 1.556138780977998e-08, + 1.5550737542810943e-08, + 1.5540298188057373e-08, + 1.553005580225968e-08, + 1.5520002803419552e-08, + 1.5510138506641414e-08, + 1.550046430260187e-08, + 1.5490986128754208e-08, + 1.5481710362526637e-08, + 1.5472644710547343e-08, + 1.5463795254348228e-08, + 1.5455149859028045e-08, + 1.544654996800204e-08, + 1.5436805658641976e-08, + 1.5418571482256623e-08, + 1.535347764962626e-08, + 1.5071959191111327e-08, + 1.3942626493233429e-08, + 9.995015494033681e-09, + -1.88984430931122e-09, + -3.267503611877178e-08, + -1.0141424464863812e-07, + -2.341705244967257e-07, + -4.5692897440537587e-07, + -7.833565699436195e-07, + -1.2032892733050728e-06, + -1.679495509375655e-06, + -2.155932952024287e-06, + -2.573637448160614e-06, + -2.886400573055541e-06, + -3.069904530202627e-06, + 8.279246317135864e-11, + 1.4057473871552004e-10, + 1.7292565417154855e-10, + 1.8269579596589504e-10, + 1.7498007364643088e-10, + 1.553197701219423e-10, + 1.2816148777218772e-10, + 9.625750021800433e-11, + 6.090929903822593e-11, + 2.2526876513726715e-11, + -1.8907105954686948e-11, + -6.358171047024541e-11, + -1.1175332735225895e-10, + -1.6371324670375735e-10, + -2.1978074972260655e-10, + -2.803033466450024e-10, + -3.456587019873825e-10, + -4.1625696815231417e-10, + -4.92543280232163e-10, + -5.750003648635808e-10, + -6.641512437258835e-10, + -7.605620122090512e-10, + -8.648446682524834e-10, + -9.776599597640481e-10, + -1.099720211774547e-09, + -1.231792087110345e-09, + -1.3746992239242078e-09, + -1.5293246861325283e-09, + -1.696613150406786e-09, + -1.8775727458285284e-09, + -2.0732764490356925e-09, + -2.2848629305345207e-09, + -2.513536737172604e-09, + -2.760567687402729e-09, + -3.027289351542055e-09, + -3.3150964844728955e-09, + -3.625441278006315e-09, + -3.959828303953696e-09, + -4.319808027600928e-09, + -4.7069687841795135e-09, + -5.1229271304598074e-09, + -5.569316509472734e-09, + -6.04777419943528e-09, + -6.559926554469994e-09, + -7.10737259036994e-09, + -7.691666018493287e-09, + -8.314295883452307e-09, + -8.976666015708966e-09, + -9.680073567683972e-09, + -1.042568695310201e-08, + -1.1214523563802777e-08, + -1.2047427676726485e-08, + -1.2925048998356112e-08, + -1.38478223205272e-08, + -1.4815948763554763e-08, + -1.5829379082457057e-08, + -1.6887799488495538e-08, + -1.7990620404235125e-08, + -1.9136968514136996e-08, + -2.032568241751124e-08, + -2.1555312106870806e-08, + -2.2824122414486023e-08, + -2.4130100482434385e-08, + -2.547096721442505e-08, + -2.6844192578166118e-08, + -2.8247014539382983e-08, + -2.967646132275912e-08, + -3.112937662496721e-08, + -3.2602447337392e-08, + -3.409223328971359e-08, + -3.559519848240535e-08, + -3.71077432578183e-08, + -3.862623684704295e-08, + -4.014704973345673e-08, + -4.166658529910359e-08, + -4.318131024205499e-08, + -4.4687783305565623e-08, + -4.618268190431965e-08, + -4.7662826301528766e-08, + -4.9125201051903445e-08, + -5.056697349985396e-08, + -5.198550919398038e-08, + -5.3378384146760555e-08, + -5.474339394585226e-08, + -5.607855977455505e-08, + -5.7382131471134266e-08, + -5.865258779093172e-08, + -5.988863409231996e-08, + -6.10891976852142e-08, + -6.225342111617414e-08, + -6.338065366750822e-08, + -6.447044136402343e-08, + -6.552251577049693e-08, + -6.653678185979815e-08, + -6.751330521521499e-08, + -6.84522988141665e-08, + -6.935410961636277e-08, + -7.021920515799478e-08, + -7.104816032687974e-08, + -7.184164446939381e-08, + -7.260040895331078e-08, + -7.33252752878724e-08, + -7.401712388003642e-08, + -7.467688348351867e-08, + -7.530552138031039e-08, + -7.590403431602715e-08, + -7.647344019711993e-08, + -7.701477054488022e-08, + -7.75290636894052e-08, + -7.801735866715476e-08, + -7.848068971259759e-08, + -7.892008090653014e-08, + -7.933653925125333e-08, + -7.973104031124174e-08, + -8.010449030875222e-08, + -8.045763032908156e-08, + -8.079083046088761e-08, + -8.110373247315224e-08, + -8.139477577257101e-08, + -8.166077983110702e-08, + -8.189686793791248e-08, + -8.209696943907588e-08, + -8.225489223606212e-08, + -8.236565347584444e-08, + -8.24266078449746e-08, + -8.243801479356893e-08, + -8.240294611665465e-08, + -8.220856506149057e-08, + -8.210540270762377e-08, + -8.199586587114586e-08, + -8.18795793290846e-08, + -8.175614819017358e-08, + -8.162515718080669e-08, + -8.148616994928478e-08, + -8.133872839630803e-08, + -8.118235204075892e-08, + -8.101653743099807e-08, + -8.084075761316712e-08, + -8.065446166934967e-08, + -8.045707433988517e-08, + -8.024799574564866e-08, + -8.002660122769383e-08, + -7.979224132329123e-08, + -7.954424189905859e-08, + -7.928190446354868e-08, + -7.900450668330295e-08, + -7.871130312795332e-08, + -7.84015262714168e-08, + -7.807438777751972e-08, + -7.772908009944644e-08, + -7.736477842315874e-08, + -7.698064298529031e-08, + -7.657582179589575e-08, + -7.614945379572181e-08, + -7.570067247626169e-08, + -7.522860998863773e-08, + -7.47324017642141e-08, + -7.421119166565596e-08, + -7.366413768180992e-08, + -7.309041817318483e-08, + -7.248923866687842e-08, + -7.185983919046355e-08, + -7.120150212359702e-08, + -7.051356053395823e-08, + -6.979540695063707e-08, + -6.904650251340032e-08, + -6.826638642057488e-08, + -6.745468558187491e-08, + -6.661112436572711e-08, + -6.573553431396207e-08, + -6.482786368066552e-08, + -6.38881866371265e-08, + -6.291671197184289e-08, + -6.191379110415972e-08, + -6.087992522304738e-08, + -5.981577135948981e-08, + -5.8722147202609505e-08, + -5.760003447657842e-08, + -5.6450580707988954e-08, + -5.527509923194764e-08, + -5.407506730974898e-08, + -5.2852122261385436e-08, + -5.160805555187799e-08, + -5.034480481071823e-08, + -4.9064443807574355e-08, + -4.776917045356315e-08, + -4.646129294435408e-08, + -4.5143214207537265e-08, + -4.3817414860365796e-08, + -4.248643492350244e-08, + -4.1152854570190536e-08, + -3.981927421694005e-08, + -3.848829428026065e-08, + -3.716249493339477e-08, + -3.5844416197003644e-08, + -3.453653868833825e-08, + -3.324126533498602e-08, + -3.196090433261315e-08, + -3.0697653592332575e-08, + -2.9453586883808184e-08, + -2.823064183652671e-08, + -2.703060991550382e-08, + -2.5855128440726264e-08, + -2.4705674673482426e-08, + -2.3583561948872407e-08, + -2.2489937793481984e-08, + -2.142578393147606e-08, + -2.039191805197014e-08, + -1.9388997185941015e-08, + -1.841752252235186e-08, + -1.7477845480540538e-08, + -1.657017484899787e-08, + -1.5694584799005983e-08, + -1.485102358464389e-08, + -1.4039322747735701e-08, + -1.325920665670191e-08, + -1.2510302221250858e-08, + -1.1792148639703963e-08, + -1.1104207051822853e-08, + -1.0445869986692743e-08, + -9.816470511988732e-09, + -9.215291007363684e-09, + -8.64157150038708e-09, + -8.094517518153526e-09, + -7.573307421169304e-09, + -7.077099198278734e-09, + -6.605036712145092e-09, + -6.156255394131087e-09, + -5.729887395357817e-09, + -5.325066207317675e-09, + -4.940930770756849e-09, + -4.576629095729629e-09, + -4.23132141886963e-09, + -3.904182926138854e-09, + -3.594406070721965e-09, + -3.301202516445909e-09, + -3.0238047372284042e-09, + -2.7614673027021446e-09, + -2.5134678794095776e-09, + -2.279107975904505e-09, + -2.0577134588057795e-09, + -1.8486348653851637e-09, + -1.651247536697594e-09, + -1.4649515936193662e-09, + -1.2891717764912554e-09, + -1.1233571673981933e-09, + -9.669808124830926e-10, + -8.195392601080039e-10, + -6.805520291566186e-10, + -5.495610203305288e-10, + -4.261298819317558e-10, + -3.0984334035556806e-10, + -2.0030650433670744e-10, + -9.714415090419103e-11, + -8.230570921280621e-08, + -8.230570921280621e-08, + -8.258640350134947e-08, + 8.298074924213027e-08, + -8.269677881473843e-08, + 8.288373780211396e-08 + ], + "direct_poisson_residual_C_m2": [ + -2.2380198653234717e-20, + 5.635416077201267e-20, + -1.0901578728958862e-19, + -2.669477272831131e-20, + -6.936405744624669e-20, + 3.5542296560178493e-19, + -1.7661960439232247e-19, + -5.140298849751527e-19, + 4.3066331411960833e-19, + -3.204696216377442e-19, + 1.3756344459001871e-19, + -3.373838108032285e-19, + 1.118904053543329e-18, + -1.0786964583283515e-18, + 1.1281420066243213e-19, + 1.6630962523746153e-19, + 7.035667418131032e-19, + -1.4638317515330412e-18, + 1.2446884462105927e-18, + 2.9116757561866574e-22, + -6.528771138758537e-19, + 6.95466989254984e-19, + -1.35181164425866e-18, + 5.981640794391462e-19, + 2.771385924297664e-19, + 9.137367918505765e-20, + 1.8941774282974291e-19, + -3.060435917548194e-19, + -7.915522892091437e-19, + 5.88317321427315e-19, + 9.335891265518492e-19, + -7.263307522705625e-19, + -4.515744400049489e-19, + 3.2007257494371874e-19, + -4.217165286142348e-19, + 2.866147735271739e-19, + 4.045641114323352e-19, + -9.130485775809324e-19, + 8.083870690358229e-20, + 1.3999866431337483e-18, + -1.9524638829803657e-18, + 2.1113355001497504e-18, + -9.390419011497987e-19, + -1.2561498607781274e-18, + 1.880042565990123e-18, + -1.5876573805097792e-18, + 2.5623805445626653e-18, + -1.8845424285224115e-18, + -7.0367262093151e-19, + 7.950463001165677e-19, + 1.2347622788599563e-18, + -1.0106691247519905e-18, + -2.371162856720007e-19, + 5.914407554203152e-19, + -1.4996188935545354e-18, + 2.088068563879859e-18, + -2.9092934760225047e-19, + -6.889024839137631e-19, + -8.062165471084837e-19, + 1.9078358345719047e-18, + -2.007176917417073e-18, + 2.4254391397932865e-18, + -3.9578739426090255e-18, + 2.956792105305021e-18, + 1.18038011666827e-18, + -3.2932773338145206e-18, + 9.09329573546894e-19, + 9.817376556473358e-19, + 1.0930166090928695e-18, + -3.166182687056973e-18, + 4.545655250999406e-19, + 2.7610362404734004e-18, + -1.7565345743686053e-18, + -5.867291346512132e-19, + -3.8809990852007974e-19, + 8.675734962252171e-19, + -6.509977595241332e-19, + 6.8027333576361e-19, + -6.275455347970298e-19, + 9.60323603949563e-19, + -6.851967147695256e-19, + -3.6921107379630884e-18, + 1.5729931226104391e-18, + 3.0223723744809538e-18, + 6.047815243395704e-19, + -4.369790035325732e-18, + -2.108582643071174e-18, + 1.038504744981135e-17, + -1.1861955272467629e-17, + 2.0514079191315086e-18, + 9.299310030108946e-18, + -1.2631431765488957e-17, + 9.975612898932302e-18, + -1.0471603629108898e-17, + 1.09052844981031e-17, + -4.8156470029367144e-18, + 4.780495135625661e-18, + -1.393665659764863e-17, + 1.4469016804997958e-17, + -3.398984398653897e-18, + 3.682211040392054e-18, + 5.8011168975078894e-18, + -8.080429619010008e-18, + 1.5596523536911839e-18, + -3.980737214739991e-18, + 7.493171088766761e-18, + 2.223937942575369e-18, + -1.990342137590394e-18, + 1.0309635047726115e-17, + -1.2518829323063339e-17, + 8.63812140543816e-18, + -1.5992008513940792e-17, + 1.2822490634654005e-18, + 1.3721139652131615e-17, + -4.366510429633082e-17, + 6.787047366244134e-17, + -4.633738736579973e-17, + 2.440280745215958e-17, + 7.382500940252066e-18, + -1.216334018301255e-17, + -3.2754327318960366e-17, + 3.626637738118291e-17, + 2.4389519622799527e-18, + -9.584071919064002e-18, + -2.0734744508964632e-17, + 6.371056250957746e-17, + -4.923859622463974e-17, + 1.0319736168130818e-17, + 1.9920504129586944e-17, + -1.4771531954389642e-17, + -4.7261121912842444e-17, + 5.077538397271432e-17, + -5.201502101315902e-18, + -3.135441789544404e-17, + 6.969811062311184e-18, + 9.118540342160238e-18, + 1.3220261515718032e-17, + 1.89628591894039e-18, + -1.1002299026971097e-17, + 9.197882516667663e-18, + -5.171948000732307e-18, + -1.942435977622938e-17, + 2.3688067796539272e-17, + -7.662396576196324e-18, + 4.50758073658545e-18, + -1.0891418242235682e-17, + -6.974251926081028e-18, + 9.382430003886642e-18, + 3.562310217871136e-18, + -1.7878991994652934e-18, + 3.853799357111652e-18, + -1.9615652800462629e-19, + -6.845295672660473e-18, + 5.611298276740718e-19, + 3.1379761328571703e-18, + -4.9671354495184664e-18, + 7.735270237675968e-19, + -1.9276138731248672e-18, + -6.420494552463553e-19, + 3.2015231757759735e-18, + 2.1219557983380494e-18, + 6.00241546733664e-18, + -1.168856751129004e-17, + 1.013256816625571e-17, + -5.3532333120603065e-18, + -3.122258877653597e-18, + -1.877356074341015e-18, + 8.295726055393869e-18, + -9.537513630668623e-18, + 3.081358974909761e-18, + 2.2394552980670624e-18, + -1.003437306075772e-17, + 1.1622718540005703e-17, + -8.896537421882693e-18, + 1.4136953890349227e-19, + 5.036772965776185e-18, + -6.711934474270859e-18, + 3.512983242359712e-18, + -3.2055029264636565e-19, + 3.4184508223755103e-19, + 1.4463041888091331e-18, + 1.0521540912530373e-18, + -1.966390641237587e-18, + -9.775495110201458e-19, + 6.318407938384562e-19, + 4.640707307618404e-18, + -2.383047265642929e-18, + -9.37267376712154e-19, + -5.365395144068057e-18, + 1.1177437642429215e-17, + -8.60231298764419e-18, + 6.373830833043273e-18, + -5.079419037665211e-18, + 4.2876554818774045e-18, + -1.5219047664779684e-18, + -2.535623271370515e-18, + -8.70346709319872e-19, + 2.25585904900522e-18, + 3.923863144689443e-18, + -4.8218555537752365e-18, + -8.085241268392261e-19, + 8.81498632422612e-18, + -9.952880693012597e-18, + 6.065350333284234e-18, + 3.842950319638886e-19, + -1.9181934991069005e-18, + -6.96016831022798e-18, + 2.08004615140051e-17, + -1.1439454772234108e-17, + -9.111207572798888e-18, + 9.616012504270473e-18, + 3.170796077753518e-18, + -4.084738840968278e-18, + 8.008464771851157e-20, + 1.8844323053576274e-18, + -8.975872002324619e-18, + 1.7915567241027134e-17, + -1.2738158257753677e-17, + -1.9430562233428665e-18, + 5.3132774523336055e-18, + 4.716725361469432e-19, + -1.1151071114806076e-17, + 1.9127233924250482e-17, + -1.9609207406798482e-17, + 6.315820183823669e-18, + -1.9226091974044058e-17, + 3.916678439943009e-17, + -4.393128962156049e-17, + 4.7282563409890936e-17, + -4.27319159577964e-17, + 2.6103999621179246e-17, + -2.369756557222402e-17, + 2.99709560364196e-17, + -1.75295961267555e-17, + -2.389824734587961e-17, + 4.213932881553399e-17, + -2.7538498204970077e-17, + 5.507367515731604e-17, + -1.0897288264767641e-16, + 1.1873433831625905e-16, + -5.2807455020949943e-17, + 1.827760924245491e-17, + -4.9624149145624373e-17, + -2.7506232654692428e-17, + 7.771318292244918e-17, + -3.231970872642968e-17, + 3.7928772387631244e-17, + -1.6837711414756736e-17, + 5.3194440117945765e-17, + -1.3360194494085166e-16, + 5.4223180776309213e-17, + -2.8637778907721276e-17, + 6.885176656590305e-17, + -5.575648713016561e-17 + ], + "electron_qf_increment_V": [ + 0.0, + -1.8901339746933417e-06, + -3.9025587817028984e-06, + -6.045196111160143e-06, + -8.3264798125241e-06, + -1.0755388444239632e-05, + -1.3341479736035109e-05, + -1.609492704353869e-05, + -1.902655785748135e-05, + -2.2147894447478577e-05, + -2.5471196679533578e-05, + -2.9009507057922708e-05, + -3.27766980161769e-05, + -3.678752145553795e-05, + -4.105766051469504e-05, + -4.56037835194261e-05, + -5.0443600006738065e-05, + -5.559591869573132e-05, + -6.108070720970875e-05, + -6.691915327627889e-05, + -7.313372707963334e-05, + -7.974824433469058e-05, + -8.678792954677818e-05, + -9.427947881506012e-05, + -0.00010225112139659928, + -0.00011073267909818896, + -0.00011975562241398507, + -0.00012935312210467402, + -0.00013956009478992143, + -0.00015041324082354715, + -0.00016195107259482384, + -0.00017421393110189843, + -0.00018724398845853016, + -0.00020108523375884766, + -0.00021578343952816583, + -0.00023138610579688588, + -0.00024794237871992274, + -0.00026550294054649554, + -0.00028411986775211305, + -0.00030384645419963144, + -0.0003247369963696883, + -0.0003468465379891297, + -0.000370230571808113, + -0.0003949446968483174, + -0.00042104423015333257, + -0.0004485837729772853, + -0.0004776167323299964, + -0.0005081948000120609, + -0.0005403673924914139, + -0.0005741810563796017, + -0.0006096788456121863, + -0.0006468996778423839, + -0.0006858776788494643, + -0.0007266415249407869, + -0.0007692137943076726, + -0.000813610339028368, + -0.0008598396898472572, + -0.0009079025059610963, + -0.0009577910817935193, + -0.001009488922113998, + -0.0010629703959288276, + -0.0011182004782583394, + -0.0011751345874289555, + -0.001233718523723188, + -0.0012938885133816527, + -0.0013555713599741807, + -0.001418684703229603, + -0.0014831373834809111, + -0.0015488299081098118, + -0.0016156550146999636, + -0.0016834983241279904, + -0.0017522390754733822, + -0.0018217509335167943, + -0.0018919028585844034, + -0.0019625600277232507, + -0.002033584795505804, + -0.0021048376822894975, + -0.002176178377402297, + -0.002247466744548407, + -0.0023185638167199283, + -0.002389332768077963, + -0.002459639850648226, + -0.0025293552842520915, + -0.0025983540889271696, + -0.002666516850070506, + -0.002733730407800204, + -0.0027998884634021135, + -0.002864892097305146, + -0.002928650194656552, + -0.0029910797763299836, + -0.0030521062348891053, + -0.003111663476749851, + -0.0031696939733603167, + -0.0032261487256944484, + -0.003280987147635359, + -0.0033341768749002433, + -0.003385693507029803, + -0.0034355202905807, + -0.0034836477520574123, + -0.003530073289273136, + -0.003574800729811172, + -0.003617839864997039, + -0.0036592059674247822, + -0.003698919299548621, + -0.003737004620216108, + -0.0037734906953440566, + -0.0038084098181620078, + -0.0038417973437113663, + -0.003873691241500428, + -0.003904131669501898, + -0.003933160571942366, + -0.003960821302700416, + -0.003987158275516357, + -0.004012216641685201, + -0.00403604199541401, + -0.004058680106653339, + -0.004080176680811581, + -0.004100577144533104, + -0.004119926456456895, + -0.004138268941713892, + -0.004155648148789646, + -0.004172106727293796, + -0.004187686325128348, + -0.004202427503528353, + -0.004216369668456142, + -0.004229551016859221, + -0.00424200849634778, + -0.004253777776907008, + -0.004331910618650179, + -0.0043321594880070795, + -0.004332424444025053, + -0.004332706527900039, + -0.00433300684825341, + -0.004333326585471268, + -0.004333666996319264, + -0.004334029418838202, + -0.004334415277541536, + -0.0043348260889302034, + -0.004335263467330495, + -0.004335729131087958, + -0.00433622490910949, + -0.00433675274778541, + -0.004337314718294668, + -0.004337913024304507, + -0.0043385500100796, + -0.004339228168997788, + -0.004339950152481585, + -0.004340718779340419, + -0.004341537045520197, + -0.004342408134233195, + -0.004343335426473522, + -0.004344322511848832, + -0.004345373199715625, + -0.004346491530548236, + -0.00434768178746518, + -0.004348948507826163, + -0.004350296494782888, + -0.004351730828644991, + -0.004353256877893685, + -0.004354880309643782, + -0.004356607099318727, + -0.00435844353926703, + -0.004360396245996687, + -0.0043624721656698555, + -0.004364678577448292, + -0.00436702309421019, + -0.004369513660144178, + -0.004372158544634496, + -0.004374966331829496, + -0.004377945905231503, + -0.004381106426599887, + -0.004384457308456771, + -0.004388008179445436, + -0.004391768841811127, + -0.004395749220316616, + -0.004399959301939932, + -0.004404409065805763, + -0.004409108402943974, + -0.0044140670256119195, + -0.004419294366156136, + -0.004424799465635951, + -0.004430590852738302, + -0.0044366764138562345, + -0.004443063255581168, + -0.004449757561261079, + -0.004456764443690398, + -0.004464087796406138, + -0.0044717301464540764, + -0.004479692511817722, + -0.004487974267002231, + -0.004496573020420033, + -0.004505484507325924, + -0.004514702501985492, + -0.004524218752577045, + -0.004534022941977185, + -0.004544102677122425, + -0.004554443508988771, + -0.004565028984521229, + -0.00457584073099235, + -0.004586858572391784, + -0.004598060676524778, + -0.004609423730589306, + -0.004620923142172362, + -0.0046325332618344095, + -0.004644227622857256, + -0.004655979193232786, + -0.004667760634707071, + -0.004679544563557769, + -0.004691303807898168, + -0.004703011656492723, + -0.004714642094527842, + -0.004726170022277919, + -0.0047375714532572055, + -0.004748823689147795, + -0.004759905469534289, + -0.004770797095220431, + -0.004781480524623276, + -0.004791939443415882, + -0.004802159308184794, + -0.004812127365402567, + -0.004821832647439549, + -0.004831265947667324, + -0.004840419776958318, + -0.004849288304025497, + -0.004857867282118376, + -0.004866153964570322, + -0.004874147011645759, + -0.004881846390982064, + -0.004889253273783155, + -0.0048963699287177635, + -0.004903199615268759, + -0.004909746478059467, + -0.004916015443461217, + -0.004922012119568708, + -0.004927742700425782, + -0.00493321387517733, + -0.004938432742673686, + -0.004943406731849993, + -0.004948143528115595, + -0.004952651005806212, + -0.004956937166716962, + -0.004961010084566505, + -0.004964877855256741, + -0.004968548552667894, + -0.0049720301897311645, + -0.0049753306844616775, + -0.004978457830646398, + -0.00498141927283012, + -0.004984222485275979, + -0.00498687475456057, + -0.00498938316546848, + -0.004991754589870449, + -0.004993995678286663, + -0.004996112853830905, + -0.004998112308279179, + -0.004999999999999893 + ], + "eliminated_operator": { + "capture_flux": { + "difference": [ + [ + -6.222724914550781e-05, + 5.1083043217659e-07, + -0.00328826904296875, + 4.48198989033699e-09 + ] + ], + "direct": [ + [ + -903991371.8444885, + -3926022.382579396, + -44840178175.51544, + -78773.91852587805 + ] + ], + "direct_maximum_absolute": 44840178175.51544, + "eliminated": [ + [ + -903991371.8444263, + -3926022.382579907, + -44840178175.51215, + -78773.91852588253 + ] + ], + "eliminated_maximum_absolute": 44840178175.51215, + "floor_active": false, + "maximum_absolute_difference": 0.00328826904296875, + "normalization_floor": 1.0, + "normalization_scale": 44840178175.51544, + "relative_error": 7.333309493324624e-14, + "unit": "m-2 s-1" + }, + "electron_current": { + "difference": [ + 0.0, + 1.2705494208814505e-20, + 1.6940658945086007e-21, + 1.9481757786848908e-20, + -1.6093625997831706e-20, + -5.929230630780102e-21, + 0.0, + 1.8634724839594607e-20, + 2.541098841762901e-21, + -9.317362419797304e-21, + 4.235164736271502e-21, + -8.470329472543003e-22, + 4.235164736271502e-21, + 5.929230630780102e-21, + 1.6940658945086007e-20, + 0.0, + 1.4399560103323106e-20, + 3.3881317890172014e-21, + 2.541098841762901e-21, + -1.7787691892340307e-20, + 1.0164395367051604e-20, + 1.1858461261560205e-20, + -1.3552527156068805e-20, + 1.6093625997831706e-20, + -7.623296525288703e-21, + 7.623296525288703e-21, + 1.0164395367051604e-20, + -7.623296525288703e-21, + 0.0, + 2.0328790734103208e-20, + 2.456395547037471e-20, + -1.6940658945086007e-21, + 1.6940658945086007e-20, + -1.1011428314305904e-20, + 2.456395547037471e-20, + -8.470329472543003e-21, + 8.470329472543003e-21, + -8.470329472543003e-22, + 5.082197683525802e-21, + -1.6940658945086007e-21, + 1.8634724839594607e-20, + 1.1011428314305904e-20, + 4.235164736271502e-21, + 2.456395547037471e-20, + 1.6940658945086007e-21, + 2.1175823681357508e-20, + 2.0328790734103208e-20, + 8.470329472543003e-21, + 2.202285662861181e-20, + 1.7787691892340307e-20, + -2.541098841762901e-21, + 5.929230630780102e-21, + 1.1011428314305904e-20, + 1.5246593050577406e-20, + 1.4399560103323106e-20, + 1.9481757786848908e-20, + 1.2705494208814505e-20, + 5.505714157152952e-20, + -4.404571325722362e-20, + 2.625802136488331e-20, + 1.2705494208814505e-20, + 5.929230630780102e-20, + -4.489274620447792e-20, + 2.202285662861181e-20, + 1.2705494208814505e-20, + 0.0, + 1.8634724839594607e-20, + 1.1858461261560205e-20, + 1.6093625997831706e-20, + 2.456395547037471e-20, + 7.962109704190423e-20, + -4.489274620447792e-20, + 1.9481757786848908e-20, + 3.3034284942917713e-20, + 6.606856988583543e-20, + -3.7269449679189215e-20, + 1.0164395367051604e-20, + 6.860966872759833e-20, + 3.3034284942917713e-20, + 2.371692252312041e-20, + -2.795208725939191e-20, + 2.371692252312041e-20, + 8.893845946170154e-20, + -4.2351647362715017e-20, + 3.3034284942917713e-20, + 1.7787691892340307e-20, + 9.910285482875314e-20, + -4.573977915173222e-20, + 2.710505431213761e-20, + 4.319868030996932e-20, + 3.7269449679189215e-20, + 4.573977915173222e-20, + 3.049318610115481e-20, + 3.049318610115481e-20, + 2.371692252312041e-20, + 1.8634724839594607e-20, + 2.541098841762901e-20, + 1.1858461261560205e-20, + 3.8963515573697816e-20, + 2.0328790734103208e-20, + 1.6093625997831706e-20, + 8.385626177817573e-20, + -3.6422416731934915e-20, + 4.573977915173222e-20, + 8.555032767268433e-20, + 4.2351647362715017e-20, + 4.1504614415460717e-20, + -4.0657581468206416e-20, + 4.1504614415460717e-20, + 7.030373462210693e-20, + -2.371692252312041e-20, + 2.625802136488331e-20, + 3.8116482626443515e-20, + 1.2705494208814505e-20, + 8.724439356719293e-20, + -2.0328790734103208e-20, + 4.319868030996932e-20, + 2.0328790734103208e-20, + 3.7269449679189215e-20, + 4.319868030996932e-20, + 3.134021904840911e-20, + 3.8116482626443515e-20, + 2.879912020664621e-20, + 4.2351647362715017e-20, + 2.1175823681357508e-20, + 3.049318610115481e-20, + 7.115076756936123e-20, + 1.2081230926688086e-17, + 4.658681209898652e-20, + 3.4728350837426314e-20, + 1.5246593050577406e-19, + -7.962109704190423e-20, + 4.912791094074942e-20, + 3.3034284942917713e-20, + 1.4060746924421386e-19, + -7.115076756936123e-20, + 1.3467823861343375e-19, + -8.639736061993863e-20, + 5.082197683525802e-20, + 1.5077186461126546e-19, + 2.710505431213761e-20, + -8.724439356719293e-20, + 3.5575383784680614e-20, + 3.049318610115481e-20, + 2.371692252312041e-20, + 4.912791094074942e-20, + 1.5246593050577406e-20, + 2.625802136488331e-20, + 4.573977915173222e-20, + 1.2705494208814505e-20, + 2.795208725939191e-20, + 3.9810548520952116e-20, + 1.5246593050577406e-19, + -7.284483346386983e-20, + 3.5575383784680614e-20, + 4.0657581468206416e-20, + 3.218725199566341e-20, + 2.0328790734103208e-20, + 1.6940658945086007e-20, + 1.2366681029912785e-19, + -7.707999820014133e-20, + 1.8634724839594607e-20, + 4.658681209898652e-20, + 1.5500702934753696e-19, + -1.0079692072326174e-19, + 2.541098841762901e-20, + 1.1011428314305904e-20, + 1.1858461261560205e-20, + 2.879912020664621e-20, + 1.0164395367051604e-20, + 4.0657581468206416e-20, + 3.134021904840911e-20, + 2.625802136488331e-20, + 3.6422416731934915e-20, + 1.3044307387716225e-19, + 1.4399560103323106e-20, + -7.962109704190423e-20, + 4.0657581468206416e-20, + 2.964615315390051e-20, + 2.371692252312041e-20, + 1.4314856808597676e-19, + -8.470329472543003e-20, + 4.743384504624082e-20, + 2.1175823681357508e-20, + 1.1434944787933055e-19, + -8.131516293641283e-20, + 2.625802136488331e-20, + 1.9481757786848908e-20, + 2.541098841762901e-20, + 1.9481757786848908e-20, + 2.625802136488331e-20, + 1.9481757786848908e-20, + 3.3034284942917713e-20, + 7.623296525288703e-21, + 1.7787691892340307e-20, + 5.082197683525802e-21, + 8.470329472543003e-22, + 5.929230630780102e-21, + 1.2705494208814505e-20, + 1.5246593050577406e-20, + 7.623296525288703e-21, + 2.371692252312041e-20, + -1.0164395367051604e-20, + 1.4399560103323106e-20, + 1.1858461261560205e-19, + -9.147955830346444e-20, + 1.6940658945086007e-21, + 9.317362419797304e-21, + 8.470329472543003e-22, + 6.776263578034403e-21, + 7.623296525288703e-21, + 1.0164395367051604e-20, + 2.0328790734103208e-20, + 8.470329472543003e-22, + 1.9481757786848908e-20, + 1.3552527156068805e-20, + 1.0333801956502464e-19, + -1.1350241493207625e-19, + -1.5246593050577406e-20, + 1.1011428314305904e-20, + 3.3881317890172014e-21, + 2.456395547037471e-20, + 5.929230630780102e-21, + -1.6940658945086007e-21, + 3.3881317890172014e-21, + 1.7787691892340307e-20, + -1.3552527156068805e-20, + 5.929230630780102e-21, + 6.776263578034403e-21, + 1.8634724839594607e-20, + 1.1180834903756764e-19, + -1.1350241493207625e-19, + 1.0249098661777034e-19, + -1.1604351377383915e-19, + 0.0, + 1.1011428314305904e-20, + 1.0164395367051604e-20, + 1.1011428314305904e-20, + -1.1180834903756764e-19, + 1.2451384324638215e-19, + -9.063252535621014e-20, + 1.2281977735187355e-19, + 1.1858461261560205e-20, + -6.776263578034403e-21, + -8.470329472543003e-22, + -2.541098841762901e-21, + 1.6940658945086007e-21, + -2.541098841762901e-21, + -2.541098841762901e-21, + -1.2705494208814505e-20, + -1.2705494208814505e-19, + 1.0757318430129614e-19, + -1.2705494208814505e-20, + -5.929230630780102e-21, + -6.776263578034403e-21 + ], + "direct": [ + -6.445044354724255e-06, + -6.445044354951037e-06, + -6.445044355452139e-06, + -6.445044356283013e-06, + -6.445044357508299e-06, + -6.445044359203201e-06, + -6.445044361455199e-06, + -6.445044364365867e-06, + -6.445044368053087e-06, + -6.44504437265352e-06, + -6.445044378325512e-06, + -6.445044385252301e-06, + -6.44504439364588e-06, + -6.445044403751139e-06, + -6.445044415850912e-06, + -6.445044430271468e-06, + -6.445044447388941e-06, + -6.445044467636424e-06, + -6.445044491512236e-06, + -6.4450445195890466e-06, + -6.445044552524403e-06, + -6.445044591072146e-06, + -6.445044636095671e-06, + -6.445044688582278e-06, + -6.445044749659364e-06, + -6.445044820612222e-06, + -6.445044902903415e-06, + -6.445044998194379e-06, + -6.44504510836818e-06, + -6.445045235554702e-06, + -6.445045382157108e-06, + -6.445045550879815e-06, + -6.445045744757981e-06, + -6.445045967187746e-06, + -6.44504622195691e-06, + -6.445046513275759e-06, + -6.445046845806756e-06, + -6.445047224692894e-06, + -6.445047655583135e-06, + -6.445048144654191e-06, + -6.445048698627094e-06, + -6.445049324777285e-06, + -6.445050030936559e-06, + -6.445050825485445e-06, + -6.445051717334297e-06, + -6.445052715891592e-06, + -6.445053831017881e-06, + -6.445055072964353e-06, + -6.445056452294819e-06, + -6.445057979790697e-06, + -6.445059666338545e-06, + -6.4450615228010445e-06, + -6.4450635598717985e-06, + -6.445065787915971e-06, + -6.445068216799214e-06, + -6.445070855707271e-06, + -6.445073712960621e-06, + -6.445076795827912e-06, + -6.4450801103429e-06, + -6.4450836611300825e-06, + -6.445087451244054e-06, + -6.4450914820273945e-06, + -6.445095752992466e-06, + -6.445100261731283e-06, + -6.445105003856657e-06, + -6.445109972978426e-06, + -6.445115160715624e-06, + -6.445120556746331e-06, + -6.445126148893717e-06, + -6.445131923247678e-06, + -6.445137864318512e-06, + -6.445143955219499e-06, + -6.44515017787345e-06, + -6.445156513237862e-06, + -6.4451629415432385e-06, + -6.445169442538611e-06, + -6.445175995737288e-06, + -6.445182580659086e-06, + -6.445189177061805e-06, + -6.445195765158216e-06, + -6.4452023258145785e-06, + -6.445208840727582e-06, + -6.445215292576675e-06, + -6.445221665151819e-06, + -6.4452279434547025e-06, + -6.44523411377434e-06, + -6.445240163737841e-06, + -6.445246082337457e-06, + -6.445251859935914e-06, + -6.445257488252805e-06, + -6.445262960333002e-06, + -6.445268270501123e-06, + -6.4452734143040775e-06, + -6.4452783884431675e-06, + -6.4452831906997764e-06, + -6.445287819855811e-06, + -6.445292275610888e-06, + -6.445296558498054e-06, + -6.445300669799685e-06, + -6.445304611465424e-06, + -6.445308386031836e-06, + -6.445311996545341e-06, + -6.445315446489973e-06, + -6.445318739718911e-06, + -6.445321880390115e-06, + -6.44532487290891e-06, + -6.445327721872782e-06, + -6.4453304320236096e-06, + -6.445333008203191e-06, + -6.445335455313778e-06, + -6.44533777828381e-06, + -6.445339982035885e-06, + -6.44534207146233e-06, + -6.445344051398634e-06, + -6.445345926607228e-06, + -6.445347701758208e-06, + -6.4453493814175375e-06, + -6.445350970032276e-06, + -6.445352471927015e-06, + -6.445353891290924e-06, + -6.445355232174933e-06, + -6.4453564984902505e-06, + -6.4453576940033096e-06, + -6.4453588223332686e-06, + -6.445359886957626e-06, + -6.44536089120664e-06, + -6.445361838267171e-06, + -6.445363164238804e-06, + -6.452693131729676e-06, + -6.452693805448989e-06, + -6.452694519590928e-06, + -6.452695276439659e-06, + -6.452696078296068e-06, + -6.452696927577749e-06, + -6.452697826771873e-06, + -6.452698778558534e-06, + -6.452699785576496e-06, + -6.452700850682522e-06, + -6.452701976716407e-06, + -6.452703166686752e-06, + -6.452704423627591e-06, + -6.45270575066024e-06, + -6.452707150969477e-06, + -6.452708627785442e-06, + -6.452710184370437e-06, + -6.452711824053053e-06, + -6.452713550089686e-06, + -6.452715365783788e-06, + -6.452717274387693e-06, + -6.452719279067262e-06, + -6.452721382930373e-06, + -6.4527235889276845e-06, + -6.452725899875551e-06, + -6.452728318378537e-06, + -6.452730846802245e-06, + -6.452733487225657e-06, + -6.452736241389111e-06, + -6.4527391106560455e-06, + -6.4527420959380415e-06, + -6.452745197650486e-06, + -6.452748415651789e-06, + -6.452751749180683e-06, + -6.452755196801212e-06, + -6.452758756345e-06, + -6.452762424845704e-06, + -6.452766198496138e-06, + -6.452770072591773e-06, + -6.452774041495559e-06, + -6.452778098600363e-06, + -6.452782236315201e-06, + -6.45278644604414e-06, + -6.452790718195061e-06, + -6.452795042202179e-06, + -6.452799406562201e-06, + -6.4528037988897606e-06, + -6.4528082060000286e-06, + -6.45281261400225e-06, + -6.452817008419818e-06, + -6.452821374327577e-06, + -6.452825696516128e-06, + -6.452829959659838e-06, + -6.452834148511913e-06, + -6.452838248092908e-06, + -6.452842243908908e-06, + -6.452846122147196e-06, + -6.452849869885389e-06, + -6.452853475272704e-06, + -6.452856927717733e-06, + -6.452860218034829e-06, + -6.452863338574805e-06, + -6.4528662833223946e-06, + -6.452869047965674e-06, + -6.452871629916322e-06, + -6.452874028311125e-06, + -6.45287624396173e-06, + -6.452878279283136e-06, + -6.4528801381790876e-06, + -6.452881825913984e-06, + -6.452883348947208e-06, + -6.452884714767426e-06, + -6.452885931707501e-06, + -6.452887008750086e-06, + -6.452887955349112e-06, + -6.4528887812439094e-06, + -6.452889496291835e-06, + -6.45289011030973e-06, + -6.4528906329398605e-06, + -6.4528910735278944e-06, + -6.452891441026772e-06, + -6.452891743912023e-06, + -6.45289199013148e-06, + -6.452892187054681e-06, + -6.452892341459324e-06, + -6.4528924595121715e-06, + -6.452892546782088e-06, + -6.45289260824956e-06, + -6.452892648329903e-06, + -6.452892670911212e-06, + -6.452892679377259e-06, + -6.4528926766587864e-06, + -6.452892665259495e-06, + -6.4528926473098055e-06, + -6.4528926245976444e-06, + -6.452892598609353e-06, + -6.452892570567106e-06, + -6.452892541460644e-06, + -6.452892512080905e-06, + -6.452892483052036e-06, + -6.452892454843909e-06, + -6.452892427812771e-06, + -6.452892402212432e-06, + -6.452892378209447e-06, + -6.4528923559051606e-06, + -6.452892335348022e-06, + -6.452892316536403e-06, + -6.452892299447585e-06, + -6.452892284022074e-06, + -6.452892270187999e-06, + -6.452892257858071e-06, + -6.4528922469369155e-06, + -6.452892237331448e-06, + -6.452892228932927e-06, + -6.4528922216495e-06, + -6.452892215375239e-06, + -6.45289221002274e-06, + -6.452892205494066e-06, + -6.452892201716556e-06, + -6.452892198596746e-06, + -6.452892196069158e-06, + -6.452892194065041e-06, + -6.452892192523639e-06, + -6.452892191377359e-06, + -6.452892190592213e-06, + -6.452892190104844e-06, + -6.452892189880121e-06 + ], + "direct_maximum_absolute": 6.452892679377259e-06, + "eliminated": [ + -6.445044354724255e-06, + -6.445044354951049e-06, + -6.4450443554521405e-06, + -6.445044356283032e-06, + -6.445044357508283e-06, + -6.445044359203195e-06, + -6.445044361455199e-06, + -6.445044364365886e-06, + -6.44504436805309e-06, + -6.445044372653511e-06, + -6.445044378325516e-06, + -6.4450443852523e-06, + -6.445044393645884e-06, + -6.445044403751145e-06, + -6.445044415850929e-06, + -6.445044430271468e-06, + -6.445044447388955e-06, + -6.445044467636427e-06, + -6.445044491512239e-06, + -6.445044519589029e-06, + -6.445044552524413e-06, + -6.445044591072158e-06, + -6.445044636095658e-06, + -6.445044688582294e-06, + -6.445044749659356e-06, + -6.44504482061223e-06, + -6.445044902903425e-06, + -6.445044998194371e-06, + -6.44504510836818e-06, + -6.445045235554723e-06, + -6.445045382157133e-06, + -6.4450455508798135e-06, + -6.445045744757998e-06, + -6.445045967187735e-06, + -6.445046221956935e-06, + -6.4450465132757505e-06, + -6.445046845806765e-06, + -6.445047224692893e-06, + -6.44504765558314e-06, + -6.445048144654189e-06, + -6.445048698627112e-06, + -6.445049324777296e-06, + -6.445050030936563e-06, + -6.4450508254854695e-06, + -6.445051717334299e-06, + -6.445052715891613e-06, + -6.4450538310179015e-06, + -6.445055072964361e-06, + -6.445056452294841e-06, + -6.445057979790715e-06, + -6.4450596663385425e-06, + -6.44506152280105e-06, + -6.4450635598718095e-06, + -6.4450657879159865e-06, + -6.445068216799228e-06, + -6.4450708557072905e-06, + -6.4450737129606335e-06, + -6.445076795827967e-06, + -6.445080110342856e-06, + -6.445083661130109e-06, + -6.4450874512440664e-06, + -6.445091482027454e-06, + -6.445095752992421e-06, + -6.445100261731305e-06, + -6.44510500385667e-06, + -6.445109972978426e-06, + -6.445115160715642e-06, + -6.445120556746343e-06, + -6.445126148893733e-06, + -6.445131923247702e-06, + -6.445137864318592e-06, + -6.445143955219454e-06, + -6.445150177873469e-06, + -6.445156513237895e-06, + -6.445162941543305e-06, + -6.445169442538574e-06, + -6.445175995737298e-06, + -6.445182580659155e-06, + -6.445189177061838e-06, + -6.44519576515824e-06, + -6.4452023258145505e-06, + -6.445208840727606e-06, + -6.445215292576764e-06, + -6.445221665151776e-06, + -6.4452279434547355e-06, + -6.445234113774358e-06, + -6.44524016373794e-06, + -6.445246082337411e-06, + -6.445251859935941e-06, + -6.4452574882528485e-06, + -6.445262960333039e-06, + -6.4452682705011685e-06, + -6.445273414304108e-06, + -6.445278388443198e-06, + -6.4452831906998e-06, + -6.445287819855829e-06, + -6.445292275610913e-06, + -6.445296558498066e-06, + -6.445300669799724e-06, + -6.4453046114654444e-06, + -6.445308386031852e-06, + -6.445311996545425e-06, + -6.445315446489937e-06, + -6.445318739718957e-06, + -6.445321880390201e-06, + -6.445324872908952e-06, + -6.445327721872823e-06, + -6.445330432023569e-06, + -6.445333008203232e-06, + -6.445335455313848e-06, + -6.445337778283786e-06, + -6.445339982035911e-06, + -6.445342071462368e-06, + -6.4453440513986465e-06, + -6.445345926607315e-06, + -6.445347701758188e-06, + -6.445349381417581e-06, + -6.4453509700322965e-06, + -6.445352471927052e-06, + -6.4453538912909675e-06, + -6.445355232174964e-06, + -6.445356498490289e-06, + -6.445357694003338e-06, + -6.445358822333311e-06, + -6.4453598869576475e-06, + -6.445360891206671e-06, + -6.445361838267242e-06, + -6.445363164250885e-06, + -6.452693131729723e-06, + -6.4526938054490235e-06, + -6.45269451959108e-06, + -6.452695276439579e-06, + -6.452696078296117e-06, + -6.452696927577782e-06, + -6.452697826772013e-06, + -6.452698778558463e-06, + -6.452699785576631e-06, + -6.452700850682435e-06, + -6.452701976716458e-06, + -6.452703166686903e-06, + -6.452704423627618e-06, + -6.452705750660153e-06, + -6.452707150969512e-06, + -6.452708627785472e-06, + -6.452710184370461e-06, + -6.452711824053102e-06, + -6.452713550089701e-06, + -6.4527153657838144e-06, + -6.4527172743877385e-06, + -6.452719279067275e-06, + -6.452721382930401e-06, + -6.452723588927724e-06, + -6.452725899875703e-06, + -6.452728318378464e-06, + -6.45273084680228e-06, + -6.452733487225698e-06, + -6.452736241389144e-06, + -6.452739110656066e-06, + -6.4527420959380585e-06, + -6.45274519765061e-06, + -6.452748415651712e-06, + -6.452751749180701e-06, + -6.452755196801258e-06, + -6.452758756345155e-06, + -6.4527624248456035e-06, + -6.452766198496164e-06, + -6.452770072591784e-06, + -6.452774041495571e-06, + -6.452778098600392e-06, + -6.452782236315211e-06, + -6.452786446044181e-06, + -6.452790718195093e-06, + -6.452795042202205e-06, + -6.452799406562238e-06, + -6.452803798889891e-06, + -6.452808206000043e-06, + -6.452812614002171e-06, + -6.452817008419858e-06, + -6.452821374327607e-06, + -6.452825696516152e-06, + -6.452829959659981e-06, + -6.452834148511828e-06, + -6.452838248092955e-06, + -6.452842243908929e-06, + -6.4528461221473106e-06, + -6.452849869885308e-06, + -6.452853475272731e-06, + -6.452856927717753e-06, + -6.4528602180348545e-06, + -6.452863338574825e-06, + -6.452866283322421e-06, + -6.4528690479656935e-06, + -6.452871629916355e-06, + -6.452874028311133e-06, + -6.4528762439617475e-06, + -6.452878279283141e-06, + -6.452880138179088e-06, + -6.45288182591399e-06, + -6.452883348947221e-06, + -6.452884714767441e-06, + -6.452885931707508e-06, + -6.4528870087501095e-06, + -6.452887955349102e-06, + -6.452888781243924e-06, + -6.452889496291953e-06, + -6.452890110309638e-06, + -6.452890632939862e-06, + -6.452891073527904e-06, + -6.4528914410267724e-06, + -6.45289174391203e-06, + -6.452891990131488e-06, + -6.4528921870546914e-06, + -6.452892341459344e-06, + -6.452892459512172e-06, + -6.452892546782107e-06, + -6.452892608249574e-06, + -6.452892648330007e-06, + -6.452892670911099e-06, + -6.452892679377244e-06, + -6.4528926766587974e-06, + -6.452892665259498e-06, + -6.45289264730983e-06, + -6.45289262459765e-06, + -6.452892598609351e-06, + -6.452892570567109e-06, + -6.452892541460662e-06, + -6.452892512080891e-06, + -6.452892483052042e-06, + -6.4528924548439155e-06, + -6.452892427812789e-06, + -6.452892402212544e-06, + -6.452892378209334e-06, + -6.452892355905263e-06, + -6.4528923353479056e-06, + -6.452892316536403e-06, + -6.452892299447596e-06, + -6.452892284022084e-06, + -6.45289227018801e-06, + -6.4528922578579595e-06, + -6.45289224693704e-06, + -6.452892237331358e-06, + -6.45289222893305e-06, + -6.452892221649512e-06, + -6.452892215375232e-06, + -6.4528922100227394e-06, + -6.452892205494063e-06, + -6.452892201716557e-06, + -6.4528921985967436e-06, + -6.452892196069156e-06, + -6.452892194065028e-06, + -6.452892192523512e-06, + -6.4528921913774665e-06, + -6.4528921905922e-06, + -6.4528921901048385e-06, + -6.452892189880114e-06 + ], + "eliminated_maximum_absolute": 6.452892679377244e-06, + "floor_active": true, + "maximum_absolute_difference": 1.2081230926688086e-17, + "normalization_floor": 1.0, + "normalization_scale": 1.0, + "relative_error": 1.2081230926688086e-17, + "unit": "A m-2" + }, + "electron_density": { + "difference": [ + 0.0, + -0.0048828125, + -0.00048828125, + -0.0078125, + 0.005859375, + 0.00244140625, + 0.0, + -0.0068359375, + -0.0009765625, + 0.00390625, + -0.00146484375, + 0.00048828125, + -0.00146484375, + -0.00244140625, + -0.00634765625, + 0.0, + -0.00537109375, + -0.0009765625, + -0.0009765625, + 0.00634765625, + -0.00390625, + -0.00390625, + 0.0048828125, + -0.00537109375, + 0.00244140625, + -0.00244140625, + -0.00341796875, + 0.00244140625, + 0.0, + -0.006591796875, + -0.0078125, + 0.000732421875, + -0.005615234375, + 0.003173828125, + -0.00732421875, + 0.0029296875, + -0.002197265625, + 0.000244140625, + -0.001220703125, + 0.000732421875, + -0.005615234375, + -0.003173828125, + -0.0009765625, + -0.00634765625, + -0.00048828125, + -0.00537109375, + -0.005126953125, + -0.002197265625, + -0.00537109375, + -0.004150390625, + 0.00048828125, + -0.00146484375, + -0.00244140625, + -0.003173828125, + -0.0029296875, + -0.004150390625, + -0.0029296875, + 0.00048828125, + -0.00244140625, + -0.0048828125, + -0.002197265625, + -0.000732421875, + -0.001953125, + -0.003662109375, + -0.001953125, + 0.0, + -0.0030517578125, + -0.0018310546875, + -0.00244140625, + -0.003662109375, + -0.003662109375, + -0.00146484375, + -0.0028076171875, + -0.0042724609375, + -0.00146484375, + -0.002197265625, + -0.001220703125, + -0.0015869140625, + -0.0040283203125, + -0.002685546875, + -0.0030517578125, + -0.002685546875, + -0.003662109375, + -0.0013427734375, + -0.00341796875, + -0.001708984375, + -0.0042724609375, + -0.0010986328125, + -0.0025634765625, + -0.0040283203125, + -0.00341796875, + -0.0042724609375, + -0.002685546875, + -0.002685546875, + -0.001953125, + -0.00164794921875, + -0.00213623046875, + -0.0009765625, + -0.003173828125, + -0.0015869140625, + -0.00128173828125, + -0.002197265625, + -0.0015869140625, + -0.00347900390625, + -0.00238037109375, + -0.003173828125, + -0.0030517578125, + -0.00103759765625, + -0.00299072265625, + -0.0010986328125, + -0.002197265625, + -0.00189208984375, + -0.002685546875, + -0.0008544921875, + -0.002197265625, + -0.00244140625, + -0.00299072265625, + -0.00140380859375, + -0.00250244140625, + -0.00286865234375, + -0.00213623046875, + -0.0025634765625, + -0.001953125, + -0.00286865234375, + -0.00140380859375, + -0.0020751953125, + -0.00103759765625, + -0.0020751953125, + -0.14453125, + -0.10546875, + -0.125, + -0.09375, + -0.15234375, + -0.10546875, + -0.09375, + -0.125, + -0.0703125, + -0.07421875, + -0.15234375, + -0.1171875, + -0.08203125, + -0.06640625, + -0.10546875, + -0.08984375, + -0.0703125, + -0.14453125, + -0.04296875, + -0.07421875, + -0.1328125, + -0.03515625, + -0.078125, + -0.109375, + -0.11328125, + -0.1015625, + -0.09765625, + -0.109375, + -0.0859375, + -0.0546875, + -0.044921875, + -0.02734375, + -0.083984375, + -0.044921875, + -0.11328125, + -0.10546875, + -0.029296875, + -0.05859375, + -0.025390625, + -0.025390625, + -0.060546875, + -0.021484375, + -0.083984375, + -0.0625, + -0.05078125, + -0.0703125, + -0.03515625, + -0.02734375, + -0.056640625, + -0.072265625, + -0.05078125, + -0.0390625, + -0.052734375, + -0.041015625, + -0.068359375, + -0.03125, + -0.00390625, + -0.041015625, + -0.033203125, + -0.025390625, + -0.0322265625, + -0.0234375, + -0.0322265625, + -0.0205078125, + -0.03515625, + -0.0068359375, + -0.01953125, + -0.0048828125, + -0.0009765625, + -0.005859375, + -0.0107421875, + -0.013671875, + -0.005859375, + -0.0185546875, + 0.0068359375, + -0.009765625, + -0.005859375, + -0.013671875, + -0.001953125, + -0.00634765625, + -0.00048828125, + -0.00390625, + -0.0048828125, + -0.005859375, + -0.01220703125, + -0.00048828125, + -0.0107421875, + -0.00732421875, + 0.00439453125, + 0.0009765625, + 0.00830078125, + -0.005859375, + -0.0009765625, + -0.01220703125, + -0.0029296875, + 0.0009765625, + -0.00146484375, + -0.00830078125, + 0.00634765625, + -0.0029296875, + -0.0029296875, + -0.0087890625, + 0.00048828125, + 0.00146484375, + 0.00390625, + 0.00244140625, + 0.0, + -0.0048828125, + -0.00439453125, + -0.00439453125, + 0.00048828125, + -0.0048828125, + -0.00830078125, + -0.00537109375, + -0.00439453125, + 0.00244140625, + 0.00048828125, + 0.0009765625, + -0.00048828125, + 0.00146484375, + 0.0009765625, + 0.00537109375, + 0.0068359375, + 0.0009765625, + 0.0048828125, + 0.00244140625, + 0.0029296875, + -0.0087890625 + ], + "direct": [ + 2515095827087.2163, + 2508793556569.7476, + 2502128356816.411, + 2495082142295.9277, + 2487636278474.4355, + 2479771611760.0493, + 2471468507146.1196, + 2462706894311.1084, + 2453466322938.606, + 2443726028022.0146, + 2433465005917.1504, + 2422662101884.697, + 2411296109814.3413, + 2399345884749.994, + 2386790468727.719, + 2373609230306.0254, + 2359782017997.0654, + 2345289327603.3667, + 2330112483218.2114, + 2314233831362.0054, + 2297636947398.2563, + 2280306853005.8438, + 2262230243075.165, + 2243395719959.722, + 2223794032548.07, + 2203418317141.2134, + 2182264336638.5862, + 2160330714066.6045, + 2137619156044.9644, + 2114134661405.426, + 2089885709868.9, + 2064884425484.6628, + 2039146709460.2222, + 2012692337085.1943, + 1985545013705.6729, + 1957732385150.4705, + 1929285998656.4106, + 1900241211201.4634, + 1870637043212.5513, + 1840515976864.1714, + 1809923699589.7883, + 1778908794952.3228, + 1747522384610.7966, + 1715817726713.0393, + 1683849777574.6472, + 1651674724890.1665, + 1619349501899.0078, + 1586931292816.3848, + 1554477040386.0579, + 1522042966564.7402, + 1489684117080.745, + 1457453939916.379, + 1425403906655.312, + 1393583184158.309, + 1362038362238.9373, + 1330813240989.4973, + 1299948679251.8247, + 1269482503541.1921, + 1239449474625.2932, + 1209881307037.1873, + 1180806735155.6128, + 1152251618197.2646, + 1124239075590.497, + 1096789643769.3351, + 1069921445448.7102, + 1043650362893.3088, + 1017990207530.0867, + 992952879408.9749, + 968548511405.568, + 944785594590.3422, + 921671082761.9789, + 899210475665.239, + 877407881800.8429, + 856266062916.0168, + 835786463189.0457, + 815969226758.5729, + 796813207590.6569, + 778315975735.043, + 760473823825.6145, + 743281777272.614, + 726733611024.7046, + 710821875106.8944, + 695537930416.1467, + 680871995534.8197, + 666813204643.1085, + 653349676010.8568, + 640468590048.6201, + 628156275512.2373, + 616398302186.7048, + 605179578221.5602, + 594484450239.1654, + 584296804377.4299, + 574600166539.0913, + 565377800286.9429, + 556612801027.9869, + 548288185354.69025, + 540386974644.70776, + 532892272249.9095, + 525787333821.8313, + 519055630519.1937, + 512680905017.4395, + 506647220390.21606, + 500939002056.4882, + 495541073085.71387, + 490438683228.71014, + 485617532095.594, + 481063786937.17163, + 476764095504.81854, + 472705594469.2459, + 468875913872.6619, + 465263178074.9332, + 461856003632.88513, + 458643494527.3209, + 455615235123.0059, + 452761281217.1391, + 450072149500.6757, + 447538805725.88916, + 445152651843.76447, + 442905512345.971, + 440789620018.74384, + 438797601290.5492, + 436922461331.1436, + 435157569037.38605, + 433496642021.3108, + 431933731698.1656, + 430463208557.253, + 429079747685.1099, + 427778314598.9824, + 20310229596466.246, + 20257523606962.383, + 20201710023897.375, + 20142624834252.91, + 20080097822878.01, + 20013952665207.82, + 19944007074994.254, + 19870073014223.348, + 19791956972859.664, + 19709460326496.797, + 19622379780396.395, + 19530507908682.367, + 19433633797706.848, + 19331543802688.91, + 19224022426653.45, + 19110853330477.574, + 18991820482352.51, + 18866709454254.332, + 18735308871954.95, + 18597412023715.48, + 18452818631032.203, + 18301336782571.41, + 18142785029768.83, + 17976994639389.477, + 17803811994689.453, + 17623101132604.895, + 17434746399758.682, + 17238655204931.926, + 17034760840123.639, + 16823025336553.217, + 16603442315966.723, + 16376039791658.44, + 16140882867881.424, + 15898076280975.074, + 15647766720975.99, + 15390144868860.38, + 15125447082296.354, + 14853956662152.572, + 14576004633277.197, + 14291969976571.137, + 14002279255263.934, + 13707405586777.393, + 13407866922609.29, + 13104223612224.72, + 12797075242839.5, + 12487056764758.89, + 12174833931216.445, + 11861098101673.885, + 11546560477647.426, + 11231945859396.889, + 10917986029386.404, + 10605412883457.125, + 10294951442244.936, + 9987312882918.053, + 9683187734197.424, + 9383239375629.76, + 9088097975037.23, + 8798354986316.559, + 8514558313613.401, + 8237208228189.205, + 7966754101815.692, + 7703591996380.481, + 7448063124598.777, + 7200453172465.904, + 6960992451313.8955, + 6729856826995.6875, + 6507169356502.559, + 6293002548746.75, + 6087381156562.999, + 5890285401286.252, + 5701654529366.693, + 5521390602085.683, + 5349362424061.611, + 5185409523334.633, + 5029346104803.977, + 4880964909055.015, + 4740040919558.312, + 4606334872373.785, + 4479596533359.244, + 4359567718142.649, + 4245985039477.448, + 4138582374892.751, + 4037093054675.7915, + 3941251776128.5215, + 3850796254774.0874, + 3765468626800.231, + 3685016619613.258, + 3609194509072.0913, + 3537763882874.222, + 3470494229838.8813, + 3407163374571.311, + 3347557776325.385, + 3291472709920.2974, + 3238712345385.1367, + 3189089741697.5415, + 3142426768601.065, + 3098553969089.895, + 3057310373775.239, + 3018543277023.7793, + 2982107983514.994, + 2947867532698.4443, + 2915692407573.7607, + 2885460233245.9307, + 2857055469848.0513, + 2830369103652.318, + 2805298339511.5854, + 2781746297185.7573, + 2759621713591.2925, + 2738838652572.3726, + 2719316223415.935, + 2700978309013.7476, + 2683753304306.212, + 2667573865418.9883, + 2652376669721.554, + 2638102186880.099, + 2624694460861.6436, + 2612100902744.092, + 2600272094111.1924, + 2589161600755.1323, + 2578725796359.8276, + 2568923695812.7583, + 2559716797764.205, + 2551068936046.6553, + 2542946139553.5347, + 2535316500180.636, + 2528150048433.196, + 2521418636310.5894, + 2515095827087.2163 + ], + "direct_maximum_absolute": 20310229596466.246, + "eliminated": [ + 2515095827087.2163, + 2508793556569.7524, + 2502128356816.4116, + 2495082142295.9355, + 2487636278474.4297, + 2479771611760.047, + 2471468507146.1196, + 2462706894311.115, + 2453466322938.607, + 2443726028022.0107, + 2433465005917.152, + 2422662101884.6963, + 2411296109814.343, + 2399345884749.9966, + 2386790468727.7256, + 2373609230306.0254, + 2359782017997.071, + 2345289327603.3677, + 2330112483218.2124, + 2314233831361.999, + 2297636947398.2603, + 2280306853005.8477, + 2262230243075.16, + 2243395719959.7275, + 2223794032548.0674, + 2203418317141.216, + 2182264336638.5896, + 2160330714066.602, + 2137619156044.9644, + 2114134661405.4326, + 2089885709868.9077, + 2064884425484.662, + 2039146709460.2278, + 2012692337085.1912, + 1985545013705.6802, + 1957732385150.4675, + 1929285998656.4128, + 1900241211201.4631, + 1870637043212.5525, + 1840515976864.1707, + 1809923699589.794, + 1778908794952.326, + 1747522384610.7976, + 1715817726713.0457, + 1683849777574.6477, + 1651674724890.1719, + 1619349501899.013, + 1586931292816.387, + 1554477040386.0632, + 1522042966564.7444, + 1489684117080.7446, + 1457453939916.3804, + 1425403906655.3145, + 1393583184158.3123, + 1362038362238.9402, + 1330813240989.5015, + 1299948679251.8276, + 1269482503541.1917, + 1239449474625.2957, + 1209881307037.1921, + 1180806735155.615, + 1152251618197.2654, + 1124239075590.499, + 1096789643769.3387, + 1069921445448.7122, + 1043650362893.3088, + 1017990207530.0897, + 992952879408.9767, + 968548511405.5704, + 944785594590.3458, + 921671082761.9825, + 899210475665.2405, + 877407881800.8457, + 856266062916.0211, + 835786463189.0471, + 815969226758.5751, + 796813207590.6581, + 778315975735.0446, + 760473823825.6185, + 743281777272.6167, + 726733611024.7076, + 710821875106.8971, + 695537930416.1504, + 680871995534.821, + 666813204643.1119, + 653349676010.8585, + 640468590048.6244, + 628156275512.2384, + 616398302186.7074, + 605179578221.5642, + 594484450239.1688, + 584296804377.4342, + 574600166539.094, + 565377800286.9456, + 556612801027.9889, + 548288185354.6919, + 540386974644.7099, + 532892272249.91046, + 525787333821.8345, + 519055630519.1953, + 512680905017.4408, + 506647220390.21826, + 500939002056.4898, + 495541073085.71735, + 490438683228.7125, + 485617532095.59717, + 481063786937.1747, + 476764095504.8196, + 472705594469.2489, + 468875913872.663, + 465263178074.9354, + 461856003632.887, + 458643494527.3236, + 455615235123.0068, + 452761281217.1413, + 450072149500.67816, + 447538805725.89215, + 445152651843.76587, + 442905512345.9735, + 440789620018.7467, + 438797601290.55133, + 436922461331.1462, + 435157569037.388, + 433496642021.31366, + 431933731698.167, + 430463208557.25507, + 429079747685.11096, + 427778314598.9845, + 20310229596466.39, + 20257523606962.49, + 20201710023897.5, + 20142624834253.004, + 20080097822878.164, + 20013952665207.926, + 19944007074994.348, + 19870073014223.473, + 19791956972859.734, + 19709460326496.87, + 19622379780396.547, + 19530507908682.484, + 19433633797706.93, + 19331543802688.977, + 19224022426653.555, + 19110853330477.664, + 18991820482352.582, + 18866709454254.477, + 18735308871954.992, + 18597412023715.555, + 18452818631032.336, + 18301336782571.445, + 18142785029768.906, + 17976994639389.586, + 17803811994689.566, + 17623101132604.996, + 17434746399758.78, + 17238655204932.035, + 17034760840123.725, + 16823025336553.271, + 16603442315966.768, + 16376039791658.467, + 16140882867881.508, + 15898076280975.12, + 15647766720976.104, + 15390144868860.486, + 15125447082296.383, + 14853956662152.63, + 14576004633277.223, + 14291969976571.162, + 14002279255263.994, + 13707405586777.414, + 13407866922609.373, + 13104223612224.783, + 12797075242839.55, + 12487056764758.96, + 12174833931216.48, + 11861098101673.912, + 11546560477647.482, + 11231945859396.96, + 10917986029386.455, + 10605412883457.164, + 10294951442244.988, + 9987312882918.094, + 9683187734197.492, + 9383239375629.791, + 9088097975037.234, + 8798354986316.6, + 8514558313613.435, + 8237208228189.23, + 7966754101815.725, + 7703591996380.505, + 7448063124598.81, + 7200453172465.925, + 6960992451313.931, + 6729856826995.694, + 6507169356502.578, + 6293002548746.755, + 6087381156563.0, + 5890285401286.258, + 5701654529366.704, + 5521390602085.696, + 5349362424061.617, + 5185409523334.651, + 5029346104803.97, + 4880964909055.024, + 4740040919558.317, + 4606334872373.799, + 4479596533359.246, + 4359567718142.6553, + 4245985039477.4487, + 4138582374892.755, + 4037093054675.7964, + 3941251776128.5273, + 3850796254774.0996, + 3765468626800.2314, + 3685016619613.2686, + 3609194509072.0986, + 3537763882874.218, + 3470494229838.8804, + 3407163374571.3027, + 3347557776325.3906, + 3291472709920.2983, + 3238712345385.149, + 3189089741697.5444, + 3142426768601.064, + 3098553969089.8965, + 3057310373775.247, + 3018543277023.773, + 2982107983514.997, + 2947867532698.4473, + 2915692407573.7695, + 2885460233245.93, + 2857055469848.05, + 2830369103652.314, + 2805298339511.583, + 2781746297185.7573, + 2759621713591.2974, + 2738838652572.377, + 2719316223415.9395, + 2700978309013.747, + 2683753304306.217, + 2667573865418.9966, + 2652376669721.5596, + 2638102186880.1035, + 2624694460861.641, + 2612100902744.0913, + 2600272094111.1914, + 2589161600755.133, + 2578725796359.826, + 2568923695812.7573, + 2559716797764.1997, + 2551068936046.6484, + 2542946139553.5337, + 2535316500180.6313, + 2528150048433.1934, + 2521418636310.5864, + 2515095827087.225 + ], + "eliminated_maximum_absolute": 20310229596466.39, + "floor_active": false, + "maximum_absolute_difference": 0.15234375, + "normalization_floor": 1.0, + "normalization_scale": 20310229596466.39, + "relative_error": 7.500838396553874e-15, + "unit": "m-3" + }, + "electron_rate": { + "difference": [ + 651698381.8556285, + -531895527.03048086, + 809286233.054548, + -1524752750.3672657, + 410465384.3246269, + 225640412.6720581, + 668431959.6862805, + -544238697.0005851, + -378152731.9904866, + 407623688.53230923, + -144212941.9476353, + 136089785.00195706, + 42822813.627474725, + 262813849.9201758, + -381900463.48893404, + 306710974.4049156, + -221684774.20044374, + -16121411.408053875, + -366040986.51042414, + 476280221.6653185, + 27327709.076496124, + -388252971.5187025, + 429240116.06507015, + -325577107.9739933, + 198549172.33617783, + 31411939.246257782, + -208827700.9465332, + 85056072.0269928, + 215708839.83460236, + 42768664.77442932, + -252541710.16353416, + 170829140.36032867, + -244436197.44782257, + 297023242.43554306, + -263563775.23425674, + 129282773.72398376, + -68082138.66444397, + 41524032.280426025, + -45534178.445316315, + 131211463.62200928, + -47317605.1691246, + -40496856.43686676, + 117125134.09851074, + -127193418.32820892, + 104733166.34537506, + -4406306.653434753, + -59817756.86527252, + 66369349.439949036, + -20165797.146232605, + -94264066.77217865, + 38311179.152664185, + 22459986.928596497, + 18316937.38017273, + -3591909.5694274902, + 21166147.61543274, + -27765353.12626648, + 171066751.43984985, + -395321146.5214844, + 277479079.8217621, + -53025596.290374756, + 181037820.1349182, + -402902461.07063293, + 258018160.92007446, + -35893137.4803772, + -48992022.40742493, + 72063846.5763855, + -26332092.730682373, + 16570084.167907715, + 33430871.20072937, + 219624353.5874939, + -502941825.7968292, + 263788279.28500366, + 56443262.671447754, + 140076107.25846863, + -446943112.8070679, + 209617318.55239868, + 264345430.19291687, + -164960228.82583618, + -44364574.08682251, + -253029211.49887085, + 260634888.67370605, + 339395199.3720093, + -705808312.9035645, + 419267746.8684387, + -87842348.51074219, + 485968728.7362671, + -899040075.1469727, + 470170520.8060303, + 108140719.93463135, + -41523217.491607666, + 61892595.97640991, + -116354563.1218872, + 393.6117248535156, + -56575982.98574829, + -44443885.22570801, + 62117981.93081665, + -130344758.04690552, + 273716555.1510925, + -197732733.4414978, + -47253906.72067261, + 795531263.2537537, + -1486751591.870575, + 1069962733.8827515, + 546502137.4056396, + -625461670.1220398, + -12941003.393554688, + -1325378934.3330994, + 1399969434.4457703, + 518554781.6677246, + -1789749393.160431, + 1006108682.0513611, + 252584703.5934143, + -572850760.5241699, + 1779043050.2856445, + -2719126359.958557, + 1701133104.872589, + -648955616.5103455, + 509528845.9750366, + 189075196.4359131, + -401019821.63053894, + 243065855.1633911, + -354579837.08862305, + 547287142.412735, + -907590514.3826904, + 423909184.86520386, + 1963926665.992508, + 414865582130.55536, + 43874774035611.234, + -572811346.8017578, + 5356681506.631836, + -9947188656.851562, + 5199225013.24707, + -612455606.1191406, + 3858663351.330078, + -7161045833.033203, + 6563609981.750977, + -6649355929.90625, + 3893726665.723633, + 2676449117.4179688, + -3125925624.8339844, + -2729214371.1757812, + 2768770760.7783203, + -108251578.24511719, + -136421523.59375, + 483716492.7324219, + -610067287.2236328, + 187624981.93652344, + 314265732.5, + -504728624.3964844, + 220751058.68945312, + 162789185.60058594, + 1467062876.8447266, + -2785040754.4716797, + 1272851774.8847656, + 56704901.6953125, + -89877388.41503906, + -119750998.30273438, + -32586557.416015625, + 978368161.7802734, + -1755486471.5625, + 799132251.4365234, + 223017000.203125, + 827418591.015625, + -1869141560.8251953, + 883871000.2163086, + -96758617.828125, + 5466414.342285156, + 105150668.37939453, + -111368481.42236328, + 175686880.18603516, + -51819159.885253906, + -27321292.365722656, + 52893767.61621094, + 474272670.6972656, + -568278982.3466797, + -447677896.36279297, + 557726057.0810547, + -49803827.35107422, + -26202715.296875, + 516549294.48291016, + -966168839.465332, + 550307041.5510254, + -107596625.61010742, + 376348383.4562988, + -780508087.4748535, + 424575318.62060547, + -26512350.727539062, + 23042397.607421875, + -22928653.43774414, + 26128109.55834961, + -26101686.908447266, + 52259007.36791992, + -98269812.39282227, + 39499681.8951416, + -49713050.505737305, + -16716162.770141602, + 20272143.342285156, + 27371355.641723633, + 10412758.96875, + -31749558.088134766, + 68244645.69970703, + -146539761.54589844, + 108551987.43133545, + 471226691.59295654, + -974053363.6637573, + 443645791.2128296, + 37330844.90447998, + -42728684.41394043, + 30855567.654541016, + 4553295.489318848, + 14132715.377380371, + 58562664.342315674, + -116429142.58731079, + 115667357.98480225, + -38267712.50479126, + 603311073.0445862, + -1518598474.5703125, + 717948142.7695923, + 200388792.25479126, + -60822233.37704468, + 176802596.51527405, + -162955673.31056213, + -69882637.2355957, + 48879231.29763794, + 145411660.71002197, + -332549936.3859863, + 217366165.37028503, + 9945953.513092041, + 146581856.74648285, + 1213358772.6371765, + -3092975022.9373627, + 3127307480.227722, + -3338967992.77359, + 1871923949.053728, + 187624276.48308563, + -15251232.911689758, + 16124076.529144287, + -2472642055.755169, + 5033656153.020136, + -4850119779.805496, + 5094534162.266388, + -2804765729.8766327, + -498998688.3082161, + 168246582.8429184, + -50955374.908721924, + 135053601.94351196, + -143219653.96640015, + -213.42205047607422, + -386815962.8053894, + -4617734105.821625, + 10056099788.747314, + -5472293470.488342, + 327320151.95010376, + -43445434.581977844 + ], + "direct": [ + 1021037167.941566, + 1372545825.1023316, + 1955371795.226423, + 1781304316.4608593, + 2254570707.980877, + 1696931838.500183, + 1463636935.7175305, + 1129459171.35879, + 1138548743.6657634, + 533973018.93855923, + 581404371.2398647, + -556174930.716793, + -523744623.5600253, + -992175595.1423242, + -1147215507.613934, + -2134439159.0325844, + -2511830100.1379437, + -3193082330.720554, + -3266343955.010424, + -4610015693.5221815, + -4905001385.423504, + -5918436445.3937025, + -6569381782.30993, + -7283095585.848993, + -8579647760.663822, + -8981153248.253742, + -10701601342.696533, + -11405973843.973007, + -12493669701.665398, + -14041242718.47557, + -15205229340.663534, + -16549142145.639671, + -18211561389.197823, + -19589795342.314457, + -21458344048.234257, + -23114194360.276016, + -25038149665.664444, + -26952462884.219574, + -29007318362.945316, + -31137499712.37799, + -33484043012.669125, + -35843105262.93687, + -38255566848.90149, + -40763400498.32821, + -43501197126.654625, + -46254593038.653435, + -49112345615.86527, + -51999509201.56005, + -55150303554.14623, + -58114097144.77218, + -61329317184.847336, + -64641610902.0714, + -67770517490.61983, + -71215768165.56943, + -74566242614.38457, + -77924256703.12627, + -81396596870.56015, + -84773508902.52148, + -88090850520.17824, + -91644749866.29037, + -95016758541.86508, + -98127703131.07063, + -101514635457.07993, + -104642293989.48038, + -107898509858.40742, + -110756407797.42361, + -113781393040.73068, + -116524607555.83209, + -119327902876.79927, + -121914815094.4125, + -124346000825.79683, + -126787742256.715, + -128941502521.32855, + -130739129512.74153, + -133164199424.80707, + -134713484713.4476, + -136328640449.80708, + -138002234868.82584, + -139403475754.08682, + -140434231903.49887, + -141984496479.3263, + -142845517940.628, + -143773259252.90356, + -144631223649.13156, + -145223805216.51074, + -145970825207.26373, + -146783633723.14697, + -146723140367.19397, + -147516963704.06537, + -147871821489.4916, + -147541890764.0236, + -148528157891.1219, + -148804886478.38828, + -148338699838.98575, + -148033786181.2257, + -148590340634.06918, + -149366850094.0469, + -148347169884.8489, + -148260646645.4415, + -149350378322.72067, + -148195044600.74625, + -147542927223.87057, + -149463099666.11725, + -146650831622.59436, + -149234130094.12204, + -147784248099.39355, + -147870236374.3331, + -148493275989.55423, + -146380755010.33228, + -149719844705.16043, + -142145797981.94864, + -153528744536.4066, + -143570838544.52417, + -146951147173.71436, + -141750030951.95856, + -156787673423.1274, + -131552561952.51035, + -157095029074.02496, + -159842505931.5641, + -130538377117.63054, + -137632863432.8366, + -162251162461.08862, + -123584409081.58727, + -163613731106.3827, + -168455582631.1348, + -102798768998.00749, + -229043967949.44464, + -6896973894500.77, + -7348450114842.802, + -5853887990681.368, + -6966849727568.852, + -7039081392442.753, + -6998566746138.119, + -5889509130804.67, + -7172257265993.033, + -6115397321366.249, + -6892366278233.906, + -6203880968842.276, + -6560322849286.582, + -6460577958852.834, + -6374096845319.176, + -6341090913319.222, + -6239292343690.245, + -5966279527975.594, + -6380136542851.268, + -5977214389675.224, + -5940365995370.063, + -5996746385327.5, + -5779617272588.396, + -5828132693909.311, + -5651665973850.399, + -5616943817127.155, + -5541334001466.472, + -5454456556093.115, + -5357983469274.305, + -5219994295684.415, + -5152747424290.303, + -5051897886497.416, + -4947070591410.22, + -4843554208595.5625, + -4719617246868.563, + -4594733669291.797, + -4492987111596.984, + -4369269181280.825, + -4257672848079.7837, + -4130325346421.828, + -4003629061805.6577, + -3862120746519.6206, + -3744256158533.4224, + -3619302878927.814, + -3486043129339.8853, + -3355236559728.3657, + -3226293408128.384, + -3089649546185.3027, + -2962327431334.3467, + -2837280037368.363, + -2713272278714.919, + -2580749465979.351, + -2458702141127.297, + -2335073298301.517, + -2225791103513.4653, + -2102086019028.449, + -1991618568733.61, + -1879096641730.5437, + -1780674276287.4749, + -1671634836165.3794, + -1575325179564.7275, + -1482395190216.3926, + -1392210997423.4377, + -1301221285278.4417, + -1224171122800.9084, + -1141942973024.632, + -1069794477242.3928, + -996285090568.1049, + -932817934984.5057, + -866594269371.7701, + -812875837146.6577, + -752908738810.3583, + -698265837205.0312, + -655416643383.0881, + -604901091624.3003, + -562427731512.0459, + -521867397767.06866, + -487719481796.40704, + -450205652319.16376, + -417951312545.2872, + -386056065151.3455, + -363663847557.41394, + -330662669686.84546, + -312212595897.2607, + -281926333552.2476, + -268643770394.53268, + -243791049510.9623, + -229352478668.5152, + -215716048294.3173, + -188776026854.5179, + -185831120420.9453, + -161891025970.73822, + -164098216944.95224, + -137945264608.23642, + -131384118503.98473, + -123723288357.87306, + -113521626214.82935, + -108639155995.79611, + -94912732460.53998, + -78351433774.88599, + -103407191788.94221, + -66867598677.61191, + -59973738026.56602, + -73659007100.17532, + -58835247158.43736, + -49087511005.14728, + -68985721973.02359, + -9117552650.196272, + -63478150565.266914, + -42493234817.91169, + -46731673945.408356, + -27919181145.84892, + 14387505389.238886, + -71449591056.4305, + 24400684056.422638, + -78424890008.40788, + 21177688796.816784, + -64875028884.93833, + 79675869098.32565, + -147203868745.8846, + 73186654249.51797, + 22858802474.8592, + -9646129193.71164, + -117376069124.46225, + 212357783341.0598, + -230227317164.73834, + 66110368456.91885, + 34697073219.43951 + ], + "direct_maximum_absolute": 7348450114842.802, + "eliminated": [ + 369338786.0859375, + 1904441352.1328125, + 1146085562.171875, + 3306057066.828125, + 1844105323.65625, + 1471291425.828125, + 795204976.03125, + 1673697868.359375, + 1516701475.65625, + 126349330.40625, + 725617313.1875, + -692264715.71875, + -566567437.1875, + -1254989445.0625, + -765315044.125, + -2441150133.4375, + -2290145325.9375, + -3176960919.3125, + -2900302968.5, + -5086295915.1875, + -4932329094.5, + -5530183473.875, + -6998621898.375, + -6957518477.875, + -8778196933.0, + -9012565187.5, + -10492773641.75, + -11491029916.0, + -12709378541.5, + -14084011383.25, + -14952687630.5, + -16719971286.0, + -17967125191.75, + -19886818584.75, + -21194780273.0, + -23243477134.0, + -24970067527.0, + -26993986916.5, + -28961784184.5, + -31268711176.0, + -33436725407.5, + -35802608406.5, + -38372691983.0, + -40636207080.0, + -43605930293.0, + -46250186732.0, + -49052527859.0, + -52065878551.0, + -55130137757.0, + -58019833078.0, + -61367628364.0, + -64664070889.0, + -67788834428.0, + -71212176256.0, + -74587408762.0, + -77896491350.0, + -81567663622.0, + -84378187756.0, + -88368329600.0, + -91591724270.0, + -95197796362.0, + -97724800670.0, + -101772653618.0, + -104606400852.0, + -107849517836.0, + -110828471644.0, + -113755060948.0, + -116541177640.0, + -119361333748.0, + -122134439448.0, + -123843059000.0, + -127051530536.0, + -128997945784.0, + -130879205620.0, + -132717256312.0, + -134923102032.0, + -136592985880.0, + -137837274640.0, + -139359111180.0, + -140181202692.0, + -142245131368.0, + -143184913140.0, + -143067450940.0, + -145050491396.0, + -145135962868.0, + -146456793936.0, + -145884593648.0, + -147193310888.0, + -147625104424.0, + -147830298272.0, + -147603783360.0, + -148411803328.0, + -148804886872.0, + -148282123856.0, + -147989342296.0, + -148652458616.0, + -149236505336.0, + -148620886440.0, + -148062913912.0, + -149303124416.0, + -148990575864.0, + -146056175632.0, + -150533062400.0, + -147197333760.0, + -148608668424.0, + -147771307096.0, + -146544857440.0, + -149893245424.0, + -146899309792.0, + -147930095312.0, + -143151906664.0, + -153781329240.0, + -142997987784.0, + -148730190224.0, + -139030904592.0, + -158488806528.0, + -130903606336.0, + -157604557920.0, + -160031581128.0, + -130137357296.0, + -137875929288.0, + -161896582624.0, + -124131696224.0, + -162706140592.0, + -168879491816.0, + -104762695664.0, + -643909550080.0, + -50771747930112.0, + -7347877303496.0, + -5859244672188.0, + -6956902538912.0, + -7044280617456.0, + -6997954290532.0, + -5893367794156.0, + -7165096220160.0, + -6121960931348.0, + -6885716922304.0, + -6207774695508.0, + -6562999298404.0, + -6457452033228.0, + -6371367630948.0, + -6343859684080.0, + -6239184092112.0, + -5966143106452.0, + -6380620259344.0, + -5976604322388.0, + -5940553620352.0, + -5997060651060.0, + -5779112543964.0, + -5828353444968.0, + -5651828763036.0, + -5618410880004.0, + -5538548960712.0, + -5455729407868.0, + -5358040174176.0, + -5219904418296.0, + -5152627673292.0, + -5051865299940.0, + -4948048959572.0, + -4841798722124.0, + -4720416379120.0, + -4594956686292.0, + -4493814530188.0, + -4367400039720.0, + -4258556719080.0, + -4130228587804.0, + -4003634528220.0, + -3862225897188.0, + -3744144790052.0, + -3619478565808.0, + -3485991310180.0, + -3355209238436.0, + -3226346301896.0, + -3090123818856.0, + -2961759152352.0, + -2836832359472.0, + -2713830004772.0, + -2580699662152.0, + -2458675938412.0, + -2335589847596.0, + -2224824934674.0, + -2102636326070.0, + -1991510972108.0, + -1879472990114.0, + -1779893768200.0, + -1672059411484.0, + -1575298667214.0, + -1482418232614.0, + -1392188068770.0, + -1301247413388.0, + -1224145021114.0, + -1141995232032.0, + -1069696207430.0, + -996324590250.0, + -932768221934.0, + -866577553209.0, + -812896109290.0, + -752936110166.0, + -698276249964.0, + -655384893825.0, + -604969336270.0, + -562281191750.5, + -521975949754.5, + -488190708488.0, + -449231598955.5, + -418394958336.5, + -386093395996.25, + -363621118873.0, + -330693525254.5, + -312217149192.75, + -281940466267.625, + -268702333058.875, + -243674620368.375, + -229468146026.5, + -215677780581.8125, + -189379337927.5625, + -184312521946.375, + -162608974113.5078, + -164298605737.20703, + -137884442374.85938, + -131560921100.5, + -123560332684.5625, + -113451743577.59375, + -108688035227.09375, + -95058144121.25, + -78018883838.5, + -103624557954.3125, + -66877544631.125, + -60120319883.3125, + -74872365872.8125, + -55742272135.5, + -52214818485.375, + -65646753980.25, + -10989476599.25, + -63665774841.75, + -42477983585.0, + -46747798021.9375, + -25446539090.09375, + 9353849236.21875, + -66599471276.625, + 19306149894.15625, + -75620124278.53125, + 21676687485.125, + -65043275467.78125, + 79726824473.23438, + -147338922347.82812, + 73329873903.48438, + 22858802688.28125, + -9259313230.90625, + -112758335018.64062, + 202301683552.3125, + -224755023694.25, + 65783048304.96875, + 34740518654.021484 + ], + "eliminated_maximum_absolute": 50771747930112.0, + "floor_active": true, + "maximum_absolute_difference": 43874774035611.234, + "normalization_floor": 7.64318943829248e+20, + "normalization_scale": 7.64318943829248e+20, + "relative_error": 5.740375060677946e-08, + "unit": "m-3 s-1" + }, + "hole_current": { + "difference": [ + -3.3881317890172014e-21, + 1.0164395367051604e-20, + 1.1011428314305904e-20, + 2.541098841762901e-21, + 6.776263578034403e-21, + -8.470329472543003e-21, + 1.6940658945086007e-21, + 5.082197683525802e-21, + -1.0164395367051604e-20, + 0.0, + -5.082197683525802e-21, + -9.317362419797304e-21, + 1.0164395367051604e-20, + -7.623296525288703e-21, + -7.623296525288703e-21, + -4.235164736271502e-21, + -8.470329472543003e-22, + 1.6940658945086007e-20, + 5.082197683525802e-21, + 7.623296525288703e-21, + -5.929230630780102e-21, + 2.541098841762901e-21, + 1.6940658945086007e-21, + -1.6940658945086007e-21, + -8.470329472543003e-21, + 5.929230630780102e-21, + 8.470329472543003e-22, + -1.6940658945086007e-21, + -8.470329472543003e-22, + -1.3552527156068805e-20, + 8.470329472543003e-22, + 8.470329472543003e-21, + -1.6940658945086007e-21, + -1.3552527156068805e-20, + 1.5246593050577406e-20, + -1.4399560103323106e-20, + -6.776263578034403e-21, + -5.082197683525802e-21, + -6.776263578034403e-21, + -5.929230630780102e-21, + -6.776263578034403e-21, + 0.0, + -9.317362419797304e-21, + 0.0, + -1.1858461261560205e-20, + -3.3881317890172014e-21, + -4.235164736271502e-21, + -7.623296525288703e-21, + -1.3552527156068805e-20, + -3.3881317890172014e-21, + -3.3881317890172014e-21, + 0.0, + -1.3552527156068805e-20, + -1.2705494208814505e-20, + -1.0164395367051604e-20, + 2.541098841762901e-21, + -1.0164395367051604e-20, + 2.541098841762901e-21, + -1.0164395367051604e-20, + -1.1858461261560205e-20, + -8.470329472543003e-21, + 7.030373462210693e-20, + -1.0503208545953324e-19, + -2.1175823681357508e-20, + -1.0164395367051604e-20, + -1.3552527156068805e-20, + -1.6940658945086007e-21, + -1.4399560103323106e-20, + -2.1175823681357508e-20, + -1.0164395367051604e-20, + 5.929230630780102e-20, + -9.063252535621014e-20, + -6.776263578034403e-21, + -1.1858461261560205e-20, + -1.2705494208814505e-20, + -6.776263578034403e-21, + -1.9481757786848908e-20, + 6.606856988583543e-20, + -9.994988777600744e-20, + 5.929230630780102e-20, + -1.1011428314305904e-19, + -3.134021904840911e-20, + 6.860966872759833e-20, + -1.0418505251227894e-19, + -3.3881317890172014e-21, + -1.3552527156068805e-20, + -4.235164736271502e-21, + -1.6093625997831706e-20, + -3.3034284942917713e-20, + -1.5246593050577406e-20, + -2.710505431213761e-20, + -7.623296525288703e-21, + -1.6093625997831706e-20, + -1.6940658945086007e-20, + -2.795208725939191e-20, + -2.625802136488331e-20, + -1.6093625997831706e-20, + -2.1175823681357508e-20, + -3.049318610115481e-20, + -1.6093625997831706e-20, + -2.964615315390051e-20, + 6.437450399132683e-20, + -1.0842021724855044e-19, + -3.134021904840911e-20, + 5.505714157152952e-20, + -1.7787691892340307e-20, + -9.994988777600744e-20, + -2.1175823681357508e-20, + -3.218725199566341e-20, + -2.879912020664621e-20, + -2.0328790734103208e-20, + -2.710505431213761e-20, + -3.134021904840911e-20, + -2.541098841762901e-20, + -1.9481757786848908e-20, + -2.879912020664621e-20, + -3.134021904840911e-20, + -3.049318610115481e-20, + -2.879912020664621e-20, + -3.8116482626443515e-20, + -1.9481757786848908e-20, + -2.371692252312041e-20, + -2.286988957586611e-20, + -1.7787691892340307e-20, + -3.3034284942917713e-20, + -1.0164395367051604e-20, + -4.2351647362715017e-20, + -2.2930198321710615e-16, + -1.4399560103323106e-20, + -1.7787691892340307e-20, + 6.437450399132683e-20, + -1.0418505251227894e-19, + -2.625802136488331e-20, + -3.3034284942917713e-20, + 6.860966872759833e-20, + -1.0757318430129614e-19, + 6.945670167485263e-20, + -1.1943164556285635e-19, + -3.3881317890172014e-20, + 5.166900978251232e-20, + -2.541098841762901e-20, + -1.0926725019580474e-19, + -4.404571325722362e-20, + -1.9481757786848908e-20, + -2.879912020664621e-20, + -3.134021904840911e-20, + -1.6093625997831706e-20, + -2.286988957586611e-20, + -3.4728350837426314e-20, + -2.541098841762901e-20, + -1.1011428314305904e-20, + -1.1011428314305904e-20, + 6.013933925505532e-20, + -1.0418505251227894e-19, + -1.8634724839594607e-20, + -1.5246593050577406e-20, + -2.0328790734103208e-20, + -2.371692252312041e-20, + -1.9481757786848908e-20, + 6.945670167485263e-20, + -1.0333801956502464e-19, + -2.625802136488331e-20, + -2.286988957586611e-20, + 6.522153693858113e-20, + -1.0418505251227894e-19, + -2.371692252312041e-20, + -1.9481757786848908e-20, + -2.541098841762901e-20, + -2.202285662861181e-20, + -2.0328790734103208e-20, + -1.7787691892340307e-20, + -1.5246593050577406e-20, + -1.5246593050577406e-20, + -2.541098841762901e-21, + 5.844527336054672e-20, + -1.9481757786848908e-20, + -1.0079692072326174e-19, + -1.5246593050577406e-20, + -2.625802136488331e-20, + -2.202285662861181e-20, + 5.675120746603812e-20, + -8.978549240895584e-20, + -5.929230630780102e-21, + -1.8634724839594607e-20, + 6.522153693858113e-20, + -9.825582188149884e-20, + -1.1858461261560205e-20, + -7.623296525288703e-21, + -6.776263578034403e-21, + -2.541098841762901e-20, + 0.0, + -4.235164736271502e-21, + -1.5246593050577406e-20, + -1.0164395367051604e-20, + -2.286988957586611e-20, + -5.929230630780102e-21, + -1.1858461261560205e-20, + -5.082197683525802e-21, + -1.0164395367051604e-20, + -1.6940658945086007e-20, + 3.3881317890172014e-21, + -1.6940658945086007e-21, + -7.623296525288703e-21, + -2.541098841762901e-21, + 7.962109704190423e-20, + -8.046812998915853e-20, + -1.6940658945086007e-20, + -1.3552527156068805e-20, + 6.776263578034403e-21, + -7.623296525288703e-21, + -5.929230630780102e-21, + -1.0164395367051604e-20, + 2.541098841762901e-21, + -4.235164736271502e-21, + 5.929230630780102e-21, + -5.929230630780102e-21, + 7.369186641112413e-20, + -7.199780051661553e-20, + -2.0328790734103208e-20, + 1.6940658945086007e-21, + 7.623296525288703e-21, + 1.6940658945086007e-21, + 8.470329472543003e-21, + -1.6940658945086007e-21, + -1.3552527156068805e-20, + -3.3881317890172014e-21, + -3.3881317890172014e-21, + 8.470329472543003e-21, + -8.470329472543003e-21, + -2.541098841762901e-21, + 7.369186641112413e-20, + -8.385626177817573e-20, + 7.538593230563273e-20, + -9.994988777600744e-20, + -1.2705494208814505e-20, + -3.3881317890172014e-21, + -5.082197683525802e-21, + -1.2705494208814505e-20, + -7.792703114739563e-20, + 8.724439356719293e-20, + -8.385626177817573e-20, + 9.656175598699024e-20, + 6.776263578034403e-21, + -4.235164736271502e-21, + -1.7787691892340307e-20, + -1.6940658945086007e-21, + 1.1858461261560205e-20, + 0.0, + -3.3881317890172014e-21, + -3.3881317890172014e-21, + -7.962109704190423e-20, + 8.555032767268433e-20, + -2.541098841762901e-21, + 1.3552527156068805e-20, + -1.6093625997831706e-20 + ], + "direct": [ + -4.82616314505094e-06, + -4.826163144824121e-06, + -4.8261631443229616e-06, + -4.8261631434920095e-06, + -4.82616314226664e-06, + -4.826163140571637e-06, + -4.82616313831956e-06, + -4.826163135408822e-06, + -4.826163131721545e-06, + -4.826163127121068e-06, + -4.826163121449063e-06, + -4.8261631145222825e-06, + -4.826163106128758e-06, + -4.826163096023592e-06, + -4.82616308392397e-06, + -4.826163069503586e-06, + -4.826163052386409e-06, + -4.826163032139268e-06, + -4.826163008263917e-06, + -4.826162980187653e-06, + -4.82616294725301e-06, + -4.826162908706101e-06, + -4.826162863683634e-06, + -4.826162811198244e-06, + -4.826162750122635e-06, + -4.8261626791715406e-06, + -4.826162596882417e-06, + -4.826162501593904e-06, + -4.826162391422966e-06, + -4.826162264239792e-06, + -4.8261621176412905e-06, + -4.826161948923111e-06, + -4.826161755050204e-06, + -4.82616153262652e-06, + -4.826161277864377e-06, + -4.8261609865535955e-06, + -4.8261606540319275e-06, + -4.826160275156403e-06, + -4.826159844278372e-06, + -4.826159355221238e-06, + -4.82615880126422e-06, + -4.826158175132089e-06, + -4.826157468993344e-06, + -4.826156674467746e-06, + -4.8261557826451794e-06, + -4.82615478411759e-06, + -4.826153669024791e-06, + -4.826152427115925e-06, + -4.826151047827653e-06, + -4.826149520378994e-06, + -4.8261478338838895e-06, + -4.826145977480032e-06, + -4.826143940474559e-06, + -4.826141712502628e-06, + -4.826139283699197e-06, + -4.8261366448792174e-06, + -4.826133787722577e-06, + -4.826130704961301e-06, + -4.826127390562169e-06, + -4.826123839901195e-06, + -4.826120049924339e-06, + -4.826116019289488e-06, + -4.826111748484645e-06, + -4.826107239918272e-06, + -4.826102497977927e-06, + -4.826097529053902e-06, + -4.826092341527427e-06, + -4.826086945720598e-06, + -4.826081353810152e-06, + -4.826075579706246e-06, + -4.8260696388984635e-06, + -4.826063548273105e-06, + -4.826057325907209e-06, + -4.826050990842737e-06, + -4.826044562848595e-06, + -4.826038062175402e-06, + -4.826031509308942e-06, + -4.826024924728728e-06, + -4.826018328675891e-06, + -4.826011740937187e-06, + -4.826005180644962e-06, + -4.825998666101994e-06, + -4.825992214627509e-06, + -4.825985842430441e-06, + -4.82597956450815e-06, + -4.825973394570779e-06, + -4.825967344989873e-06, + -4.825961426772556e-06, + -4.825955649554741e-06, + -4.825950021615943e-06, + -4.825944549910464e-06, + -4.825939240112826e-06, + -4.825934096675391e-06, + -4.825929122896028e-06, + -4.8259243209928284e-06, + -4.8259196921827725e-06, + -4.825915236766671e-06, + -4.82591095421012e-06, + -4.8259068432306346e-06, + -4.8259029018776795e-06, + -4.825899127615866e-06, + -4.825895517397131e-06, + -4.8258920677375065e-06, + -4.825888774785056e-06, + -4.825885634379194e-06, + -4.825882642116181e-06, + -4.8258797933996646e-06, + -4.82587708348639e-06, + -4.8258745075333764e-06, + -4.825872060640641e-06, + -4.825869737880202e-06, + -4.825867534327627e-06, + -4.825865445092602e-06, + -4.825863465337476e-06, + -4.8258615903040345e-06, + -4.825859815317455e-06, + -4.825858135816831e-06, + -4.825856547351941e-06, + -4.825855045601751e-06, + -4.825853626371828e-06, + -4.825852285616029e-06, + -4.825851019423478e-06, + -4.825849824028693e-06, + -4.825848695806265e-06, + -4.825847631283855e-06, + -4.825846627137736e-06, + -4.825845680165642e-06, + -4.8258443543671365e-06, + -4.8258427693551e-06, + -4.825842095789768e-06, + -4.825841381778551e-06, + -4.825840625094459e-06, + -4.8258398234146605e-06, + -4.825838974319303e-06, + -4.825838075291916e-06, + -4.825837123720101e-06, + -4.825836116896833e-06, + -4.8258350520230276e-06, + -4.825833926211076e-06, + -4.825832736489195e-06, + -4.82583147980767e-06, + -4.825830153046021e-06, + -4.825828753022274e-06, + -4.825827276503644e-06, + -4.825825720219734e-06, + -4.8258240808773395e-06, + -4.825822355177983e-06, + -4.825820539838161e-06, + -4.825818631611985e-06, + -4.825816627317089e-06, + -4.825814523863244e-06, + -4.825812318284792e-06, + -4.825810007775883e-06, + -4.8258075897292335e-06, + -4.82580506177864e-06, + -4.82580242184453e-06, + -4.825799668182556e-06, + -4.825796799436012e-06, + -4.825793814690011e-06, + -4.825790713528553e-06, + -4.825787496093119e-06, + -4.825784163142152e-06, + -4.825780716110859e-06, + -4.825777157169898e-06, + -4.82577348928199e-06, + -4.825769716255208e-06, + -4.825765842790682e-06, + -4.8257618745245125e-06, + -4.825757818060141e-06, + -4.825753680990908e-06, + -4.825749471910191e-06, + -4.825745200407051e-06, + -4.825740877045975e-06, + -4.825736513328894e-06, + -4.825732121637782e-06, + -4.825727715157301e-06, + -4.825723307776922e-06, + -4.825718913971382e-06, + -4.825714548662095e-06, + -4.825710227058838e-06, + -4.825705964484814e-06, + -4.8257017761883665e-06, + -4.825697677143707e-06, + -4.825693681846222e-06, + -4.825689804106257e-06, + -4.825686056848427e-06, + -4.825682451919194e-06, + -4.825678999911828e-06, + -4.825675710011768e-06, + -4.825672589867747e-06, + -4.825669645493814e-06, + -4.8256668812045905e-06, + -4.825664299586547e-06, + -4.8256619015047545e-06, + -4.825659686146662e-06, + -4.825657651099561e-06, + -4.825655792458662e-06, + -4.825654104962367e-06, + -4.8256525821499676e-06, + -4.825651216533581e-06, + -4.82564999978382e-06, + -4.825648922915654e-06, + -4.825647976477508e-06, + -4.825647150730568e-06, + -4.825646435819222e-06, + -4.8256458219256834e-06, + -4.825645299409721e-06, + -4.82564485892545e-06, + -4.825644491522387e-06, + -4.825644188723187e-06, + -4.825643942582992e-06, + -4.825643745730312e-06, + -4.825643591390971e-06, + -4.825643473396437e-06, + -4.825643386179402e-06, + -4.825643324760749e-06, + -4.825643284722093e-06, + -4.825643262180715e-06, + -4.825643253748371e-06, + -4.82564325649886e-06, + -4.8256432679255465e-06, + -4.825643285900321e-06, + -4.825643308634902e-06, + -4.825643334643017e-06, + -4.825643362702881e-06, + -4.825643391825311e-06, + -4.825643421218436e-06, + -4.825643450260834e-06, + -4.8256434784798615e-06, + -4.8256435055187185e-06, + -4.825643531128501e-06, + -4.825643555139922e-06, + -4.825643577449045e-06, + -4.825643598013955e-06, + -4.8256436168281245e-06, + -4.825643633923917e-06, + -4.8256436493516104e-06, + -4.825643663190757e-06, + -4.825643675522951e-06, + -4.825643686444399e-06, + -4.825643696053992e-06, + -4.825643704452067e-06, + -4.825643711738494e-06, + -4.825643718013825e-06, + -4.8256437233679015e-06, + -4.825643727897477e-06, + -4.825643731677406e-06, + -4.8256437347958176e-06, + -4.825643737320196e-06, + -4.8256437393276725e-06, + -4.825643740871644e-06, + -4.825643742013125e-06, + -4.8256437428051816e-06, + -4.8256437432881724e-06, + -4.825643743515261e-06 + ], + "direct_maximum_absolute": 4.82616314505094e-06, + "eliminated": [ + -4.826163145050936e-06, + -4.8261631448241315e-06, + -4.826163144322973e-06, + -4.826163143492012e-06, + -4.826163142266647e-06, + -4.826163140571629e-06, + -4.826163138319561e-06, + -4.8261631354088275e-06, + -4.826163131721535e-06, + -4.826163127121068e-06, + -4.826163121449058e-06, + -4.826163114522273e-06, + -4.826163106128768e-06, + -4.826163096023584e-06, + -4.826163083923963e-06, + -4.826163069503582e-06, + -4.826163052386408e-06, + -4.826163032139285e-06, + -4.826163008263922e-06, + -4.826162980187661e-06, + -4.826162947253004e-06, + -4.826162908706104e-06, + -4.826162863683635e-06, + -4.8261628111982425e-06, + -4.826162750122627e-06, + -4.8261626791715465e-06, + -4.826162596882418e-06, + -4.826162501593902e-06, + -4.826162391422965e-06, + -4.826162264239778e-06, + -4.826162117641291e-06, + -4.8261619489231195e-06, + -4.826161755050203e-06, + -4.8261615326265065e-06, + -4.8261612778643926e-06, + -4.826160986553581e-06, + -4.826160654031921e-06, + -4.826160275156398e-06, + -4.826159844278366e-06, + -4.826159355221232e-06, + -4.826158801264213e-06, + -4.826158175132089e-06, + -4.826157468993335e-06, + -4.826156674467746e-06, + -4.826155782645168e-06, + -4.826154784117587e-06, + -4.826153669024787e-06, + -4.826152427115917e-06, + -4.82615104782764e-06, + -4.826149520378991e-06, + -4.826147833883886e-06, + -4.826145977480032e-06, + -4.826143940474545e-06, + -4.826141712502615e-06, + -4.8261392836991865e-06, + -4.82613664487922e-06, + -4.826133787722567e-06, + -4.8261307049613035e-06, + -4.826127390562159e-06, + -4.826123839901183e-06, + -4.82612004992433e-06, + -4.826116019289558e-06, + -4.82611174848454e-06, + -4.8261072399182506e-06, + -4.826102497977917e-06, + -4.826097529053888e-06, + -4.826092341527426e-06, + -4.8260869457205834e-06, + -4.826081353810131e-06, + -4.826075579706236e-06, + -4.826069638898523e-06, + -4.8260635482730146e-06, + -4.826057325907202e-06, + -4.8260509908427255e-06, + -4.826044562848583e-06, + -4.826038062175395e-06, + -4.826031509308922e-06, + -4.826024924728794e-06, + -4.826018328675791e-06, + -4.826011740937246e-06, + -4.826005180644852e-06, + -4.8259986661019625e-06, + -4.825992214627578e-06, + -4.825985842430337e-06, + -4.825979564508147e-06, + -4.825973394570765e-06, + -4.825967344989869e-06, + -4.82596142677254e-06, + -4.825955649554708e-06, + -4.8259500216159275e-06, + -4.825944549910437e-06, + -4.825939240112819e-06, + -4.825934096675375e-06, + -4.825929122896011e-06, + -4.8259243209928005e-06, + -4.825919692182746e-06, + -4.825915236766655e-06, + -4.8259109542100984e-06, + -4.825906843230604e-06, + -4.8259029018776634e-06, + -4.825899127615837e-06, + -4.825895517397195e-06, + -4.825892067737398e-06, + -4.825888774785025e-06, + -4.825885634379249e-06, + -4.825882642116163e-06, + -4.825879793399565e-06, + -4.825877083486369e-06, + -4.825874507533344e-06, + -4.825872060640612e-06, + -4.825869737880182e-06, + -4.8258675343276e-06, + -4.82586544509257e-06, + -4.825863465337451e-06, + -4.825861590304015e-06, + -4.825859815317426e-06, + -4.8258581358168e-06, + -4.825856547351911e-06, + -4.825855045601722e-06, + -4.82585362637179e-06, + -4.825852285616009e-06, + -4.825851019423454e-06, + -4.82584982402867e-06, + -4.825848695806247e-06, + -4.825847631283822e-06, + -4.825846627137726e-06, + -4.825845680165599e-06, + -4.8258443541378345e-06, + -4.825842769355086e-06, + -4.82584209578975e-06, + -4.825841381778615e-06, + -4.825840625094355e-06, + -4.825839823414634e-06, + -4.82583897431927e-06, + -4.825838075291985e-06, + -4.825837123719994e-06, + -4.825836116896903e-06, + -4.825835052022908e-06, + -4.825833926211042e-06, + -4.825832736489247e-06, + -4.825831479807644e-06, + -4.825830153045912e-06, + -4.8258287530222296e-06, + -4.8258272765036245e-06, + -4.825825720219705e-06, + -4.825824080877308e-06, + -4.825822355177967e-06, + -4.825820539838138e-06, + -4.82581863161195e-06, + -4.825816627317064e-06, + -4.825814523863233e-06, + -4.825812318284781e-06, + -4.825810007775943e-06, + -4.825807589729129e-06, + -4.8258050617786216e-06, + -4.8258024218445145e-06, + -4.825799668182535e-06, + -4.8257967994359886e-06, + -4.825793814689992e-06, + -4.825790713528622e-06, + -4.825787496093016e-06, + -4.825784163142126e-06, + -4.825780716110836e-06, + -4.825777157169964e-06, + -4.825773489281886e-06, + -4.825769716255184e-06, + -4.825765842790663e-06, + -4.825761874524487e-06, + -4.825757818060119e-06, + -4.825753680990888e-06, + -4.825749471910173e-06, + -4.825745200407036e-06, + -4.825740877045959e-06, + -4.825736513328891e-06, + -4.8257321216378406e-06, + -4.825727715157281e-06, + -4.825723307776821e-06, + -4.825718913971367e-06, + -4.825714548662069e-06, + -4.825710227058816e-06, + -4.825705964484871e-06, + -4.825701776188277e-06, + -4.825697677143701e-06, + -4.825693681846203e-06, + -4.825689804106322e-06, + -4.8256860568483285e-06, + -4.825682451919182e-06, + -4.825678999911821e-06, + -4.8256757100117615e-06, + -4.8256725898677215e-06, + -4.825669645493814e-06, + -4.825666881204586e-06, + -4.825664299586532e-06, + -4.825661901504744e-06, + -4.825659686146639e-06, + -4.825657651099555e-06, + -4.8256557924586505e-06, + -4.825654104962362e-06, + -4.825652582149957e-06, + -4.825651216533564e-06, + -4.825649999783824e-06, + -4.825648922915652e-06, + -4.8256479764775e-06, + -4.825647150730565e-06, + -4.825646435819302e-06, + -4.825645821925603e-06, + -4.825645299409704e-06, + -4.825644858925437e-06, + -4.825644491522394e-06, + -4.82564418872318e-06, + -4.825643942582986e-06, + -4.825643745730301e-06, + -4.825643591390974e-06, + -4.825643473396433e-06, + -4.825643386179408e-06, + -4.825643324760743e-06, + -4.825643284722167e-06, + -4.825643262180643e-06, + -4.82564325374835e-06, + -4.825643256498862e-06, + -4.825643267925554e-06, + -4.8256432859003226e-06, + -4.8256433086349105e-06, + -4.825643334643016e-06, + -4.8256433627028675e-06, + -4.825643391825308e-06, + -4.825643421218433e-06, + -4.825643450260843e-06, + -4.825643478479853e-06, + -4.825643505518716e-06, + -4.825643531128575e-06, + -4.825643555139838e-06, + -4.825643577449121e-06, + -4.825643598013855e-06, + -4.825643616828112e-06, + -4.825643633923913e-06, + -4.825643649351605e-06, + -4.825643663190744e-06, + -4.825643675522873e-06, + -4.825643686444486e-06, + -4.825643696053908e-06, + -4.825643704452163e-06, + -4.825643711738501e-06, + -4.825643718013821e-06, + -4.825643723367884e-06, + -4.825643727897475e-06, + -4.8256437316774175e-06, + -4.8256437347958176e-06, + -4.825643737320193e-06, + -4.825643739327669e-06, + -4.8256437408715646e-06, + -4.825643742013211e-06, + -4.825643742805179e-06, + -4.825643743288186e-06, + -4.825643743515245e-06 + ], + "eliminated_maximum_absolute": 4.826163145050936e-06, + "floor_active": true, + "maximum_absolute_difference": 2.2930198321710615e-16, + "normalization_floor": 1.0, + "normalization_scale": 1.0, + "relative_error": 2.2930198321710615e-16, + "unit": "A m-2" + }, + "hole_density": { + "difference": [ + 0.0, + 0.00146484375, + -0.0048828125, + -0.00634765625, + -0.00146484375, + -0.00341796875, + 0.0048828125, + -0.0009765625, + -0.00244140625, + 0.00537109375, + 0.0, + 0.0029296875, + 0.0048828125, + -0.00537109375, + 0.00439453125, + 0.00439453125, + 0.00244140625, + 0.00048828125, + -0.00927734375, + -0.00244140625, + -0.00439453125, + 0.00341796875, + -0.00146484375, + -0.0009765625, + 0.0009765625, + 0.00537109375, + -0.00341796875, + -0.0009765625, + 0.0009765625, + 0.00048828125, + 0.0087890625, + -0.00048828125, + -0.00537109375, + 0.00146484375, + 0.00927734375, + -0.01025390625, + 0.01025390625, + 0.00439453125, + 0.0029296875, + 0.0048828125, + 0.00439453125, + 0.00439453125, + 0.0, + 0.00732421875, + 0.0, + 0.009765625, + 0.00244140625, + 0.00341796875, + 0.0068359375, + 0.01171875, + 0.00341796875, + 0.0029296875, + -0.00048828125, + 0.0126953125, + 0.01171875, + 0.009765625, + -0.00390625, + 0.009765625, + -0.0029296875, + 0.0107421875, + 0.013671875, + 0.0107421875, + 0.013671875, + 0.025390625, + 0.0263671875, + 0.0126953125, + 0.017578125, + 0.001953125, + 0.0185546875, + 0.02734375, + 0.0146484375, + 0.033203125, + 0.009765625, + 0.0087890625, + 0.017578125, + 0.01953125, + 0.0107421875, + 0.03125, + 0.0283203125, + 0.02734375, + 0.0390625, + 0.0478515625, + 0.0546875, + 0.0283203125, + 0.0380859375, + 0.005859375, + 0.025390625, + 0.0078125, + 0.03125, + 0.064453125, + 0.029296875, + 0.0546875, + 0.017578125, + 0.03515625, + 0.0390625, + 0.060546875, + 0.056640625, + 0.037109375, + 0.046875, + 0.06640625, + 0.037109375, + 0.068359375, + 0.041015625, + 0.05859375, + 0.072265625, + 0.068359375, + 0.04296875, + 0.041015625, + 0.05078125, + 0.080078125, + 0.0703125, + 0.048828125, + 0.068359375, + 0.080078125, + 0.0625, + 0.048828125, + 0.072265625, + 0.080078125, + 0.078125, + 0.07421875, + 0.1015625, + 0.05078125, + 0.060546875, + 0.060546875, + 0.048828125, + 0.0859375, + 0.02734375, + 0.111328125, + 0.001220703125, + 0.0008544921875, + 0.001007080078125, + 0.00115966796875, + 0.001220703125, + 0.00146484375, + 0.00189208984375, + 0.0008544921875, + 0.00140380859375, + 0.0008544921875, + 0.0020751953125, + 0.00201416015625, + 0.00189208984375, + 0.00146484375, + 0.0015869140625, + 0.002685546875, + 0.001220703125, + 0.00177001953125, + 0.001953125, + 0.0009765625, + 0.00146484375, + 0.00213623046875, + 0.00164794921875, + 0.00067138671875, + 0.00067138671875, + 0.00146484375, + 0.00140380859375, + 0.0013427734375, + 0.0010986328125, + 0.00146484375, + 0.001708984375, + 0.00140380859375, + 0.00103759765625, + 0.00152587890625, + 0.00201416015625, + 0.00177001953125, + 0.0013427734375, + 0.0015869140625, + 0.00201416015625, + 0.001708984375, + 0.002197265625, + 0.0020751953125, + 0.00189208984375, + 0.00164794921875, + 0.00146484375, + 0.00146484375, + 0.00018310546875, + 0.00262451171875, + 0.001953125, + 0.0018310546875, + 0.001708984375, + 0.0030517578125, + 0.0025634765625, + 0.003173828125, + 0.0008544921875, + 0.000732421875, + 0.002685546875, + 0.002685546875, + 0.0020751953125, + 0.0018310546875, + 0.001220703125, + 0.001220703125, + 0.0042724609375, + 0.0, + 0.0008544921875, + 0.0028076171875, + 0.0020751953125, + 0.0045166015625, + 0.0013427734375, + 0.0025634765625, + 0.001220703125, + 0.002685546875, + 0.00390625, + -0.000732421875, + 0.00048828125, + 0.001953125, + 0.000732421875, + 0.000732421875, + -0.0009765625, + 0.005126953125, + 0.00390625, + -0.001953125, + 0.002685546875, + 0.001953125, + 0.00341796875, + -0.0009765625, + 0.001220703125, + -0.002197265625, + 0.00244140625, + 0.00390625, + -0.00439453125, + 0.0078125, + -0.000732421875, + -0.003173828125, + -0.0009765625, + -0.00341796875, + 0.00048828125, + 0.005615234375, + 0.001220703125, + 0.001708984375, + -0.004150390625, + 0.00390625, + 0.00146484375, + 0.00439453125, + 0.00048828125, + 0.00390625, + 0.00830078125, + 0.005859375, + 0.001953125, + 0.0029296875, + 0.00634765625, + -0.00244140625, + -0.00244140625, + 0.00048828125, + -0.00634765625, + -0.00341796875, + 0.00244140625, + 0.0087890625, + 0.0009765625, + -0.00634765625, + -0.00048828125, + 0.001953125, + 0.001953125, + -0.00146484375, + -0.00146484375, + 0.00146484375, + -0.00732421875, + 0.0087890625 + ], + "direct": [ + 2515095827087.2163, + 2521367279757.5405, + 2528033174153.732, + 2535117617431.673, + 2542646095752.225, + 2550645540242.4775, + 2559144394220.4585, + 2568172681411.2637, + 2577762074833.313, + 2587945965971.6143, + 2598759533766.792, + 2610239812866.4487, + 2622425760485.3774, + 2635358321129.442, + 2649080488333.372, + 2663637362445.054, + 2679076203374.797, + 2695446477096.2085, + 2712799894554.0854, + 2731190441503.438, + 2750674397665.165, + 2771310343460.118, + 2793159152458.504, + 2816283967580.8145, + 2840750159002.617, + 2866625261662.098, + 2893978890259.9546, + 2922882629676.4893, + 2953409898832.8677, + 2985635786194.4297, + 3019636855374.0366, + 3055490919650.024, + 3093276784671.6016, + 3133073959204.111, + 3174962334460.3696, + 3219021833365.863, + 3265332032027.374, + 3313971756670.735, + 3365018660375.392, + 3418548785016.408, + 3474636114873.7715, + 3533352129327.096, + 3594765362838.129, + 3658940980972.4053, + 3725940381405.777, + 3795820828658.1343, + 3868635130585.7983, + 3944431363415.012, + 4023252650260.4424, + 4105136995662.399, + 4190117175743.957, + 4278220680209.516, + 4369469698759.7456, + 4463881140748.476, + 4561466673320.994, + 4662232760092.125, + 4766180679959.376, + 4873306504135.5, + 4983601009213.392, + 5097049505182.942, + 5213631559942.503, + 5333320605995.529, + 5456083420582.828, + 5581879477303.474, + 5710660174979.362, + 5842367957773.672, + 5976935348873.482, + 6114283927960.814, + 6254323289680.833, + 6396950025928.487, + 6542046778632.887, + 6689481411486.226, + 6839106348563.48, + 6990758124947.595, + 7144257189375.358, + 7299407991739.567, + 7455999379378.003, + 7613805315815.629, + 7772585924536.701, + 7932088848986.225, + 8092050908839.572, + 8252200022221.383, + 8412257354442.416, + 8571939646341.149, + 8730961669805.943, + 8889038754645.234, + 9045889329783.865, + 9201237422682.271, + 9354815063816.408, + 9506364547720.613, + 9655640508172.986, + 9802411772288.854, + 9946462966128.291, + 10087595852591.2, + 10225630390520.46, + 10360405511701.928, + 10491779619629.64, + 10619630820262.822, + 10743856900387.799, + 10864375073592.064, + 10981121517121.13, + 11094050725182.215, + 11203134705523.186, + 11308362046510.09, + 11409736881568.414, + 11507277776797.254, + 11601016566047.33, + 11690997155807.535, + 11777274320029.178, + 11859912502657.373, + 11938984643194.465, + 12014571038189.36, + 12086758249204.043, + 12155638065579.576, + 12221306528281.008, + 12283863019214.486, + 12343409418773.45, + 12400049332891.965, + 12453887389658.305, + 12505028604484.514, + 12553577811982.775, + 12599639162034.887, + 12643315677036.908, + 12684708866935.953, + 12723918398392.541, + 12761041814253.598, + 12796174299400.617, + 12829408489027.709, + 270366784497.99246, + 271213840012.5458, + 272115639251.09158, + 273075724247.7699, + 274097866246.03958, + 275186080436.02014, + 276344641607.46857, + 277578100767.53186, + 278891302772.86115, + 280289405026.4808, + 281777897289.1819, + 283362622655.0106, + 285049799737.9975, + 286846046115.0189, + 288758403065.6248, + 290794361643.7912, + 292961890109.5854, + 295269462738.6142, + 297726090015.193, + 300341350199.7341, + 303125422241.6555, + 306089119986.1287, + 309243927594.7092, + 312602036066.33295, + 316176380704.59814, + 319980679330.63696, + 324029470984.5901, + 328338154794.578, + 332923028617.8116, + 337801326972.6544, + 342991257684.34753, + 348512036557.7151, + 354383919269.1147, + 360628229535.90924, + 367267382475.56744, + 374324901909.75714, + 381825430202.46265, + 389794729047.677, + 398259669447.30206, + 407248208945.3577, + 416789354020.4985, + 426913105390.08167, + 437650383857.46893, + 449032934251.31006, + 461093204971.9171, + 473864200694.4163, + 487379305892.0861, + 501672077056.55524, + 516776001816.8961, + 532724223614.50055, + 549549231185.69635, + 567282512847.5088, + 585954176478.6437, + 605592537130.7042, + 626223675383.3668, + 647870970847.171, + 670554616586.6772, + 694291121637.2402, + 719092810168.9705, + 744967327140.8358, + 771917161419.2965, + 799939198228.781, + 829024313384.6108, + 859157021958.8024, + 890315193792.2483, + 922469847548.6284, + 955585033788.8768, + 989617815835.7875, + 1024518355032.456, + 1060230104438.0316, + 1096690112140.4614, + 1133829432310.6, + 1171573639005.0315, + 1209843434684.1335, + 1248555342585.4446, + 1287622469606.7937, + 1326955324330.4634, + 1366462673331.1865, + 1406052418032.6724, + 1445632474120.1968, + 1485111635884.4055, + 1524400408818.3276, + 1563411795248.782, + 1602062019675.7515, + 1640271182702.5337, + 1677963834867.7883, + 1715069464216.322, + 1751522893967.7368, + 1787264589065.5383, + 1822240872630.678, + 1856404055337.4004, + 1889712482441.4133, + 1922130504577.4036, + 1953628379509.2134, + 1984182112758.3767, + 2013773245476.1316, + 2042388598086.099, + 2070019978142.5955, + 2096663860566.4363, + 2122321047962.929, + 2146996318153.3928, + 2170698065378.7085, + 2193437940913.1038, + 2215230498073.4873, + 2236092845860.4175, + 2256044314738.268, + 2275106137365.5044, + 2293301146443.2017, + 2310653491262.8, + 2327188374004.5044, + 2342931806379.3755, + 2357910386806.349, + 2372151097981.485, + 2385681124413.7617, + 2398527689284.077, + 2410717909801.063, + 2422278670101.468, + 2433236510648.1353, + 2443617533017.867, + 2453447318943.5054, + 2462750862462.6943, + 2471552514043.625, + 2479875935578.51, + 2487744065182.557, + 2495179090778.307, + 2502202431506.2993, + 2508834726057.0703, + 2515095827087.2163 + ], + "direct_maximum_absolute": 12829408489027.709, + "eliminated": [ + 2515095827087.2163, + 2521367279757.539, + 2528033174153.737, + 2535117617431.679, + 2542646095752.2266, + 2550645540242.481, + 2559144394220.4536, + 2568172681411.2646, + 2577762074833.3154, + 2587945965971.609, + 2598759533766.792, + 2610239812866.446, + 2622425760485.3726, + 2635358321129.4473, + 2649080488333.3677, + 2663637362445.05, + 2679076203374.7944, + 2695446477096.208, + 2712799894554.0947, + 2731190441503.4404, + 2750674397665.1694, + 2771310343460.1147, + 2793159152458.5054, + 2816283967580.8154, + 2840750159002.616, + 2866625261662.093, + 2893978890259.958, + 2922882629676.49, + 2953409898832.8667, + 2985635786194.429, + 3019636855374.028, + 3055490919650.0244, + 3093276784671.607, + 3133073959204.1094, + 3174962334460.3604, + 3219021833365.873, + 3265332032027.364, + 3313971756670.7305, + 3365018660375.389, + 3418548785016.4033, + 3474636114873.767, + 3533352129327.092, + 3594765362838.129, + 3658940980972.398, + 3725940381405.777, + 3795820828658.1245, + 3868635130585.796, + 3944431363415.009, + 4023252650260.4355, + 4105136995662.387, + 4190117175743.9536, + 4278220680209.513, + 4369469698759.746, + 4463881140748.463, + 4561466673320.982, + 4662232760092.115, + 4766180679959.38, + 4873306504135.49, + 4983601009213.395, + 5097049505182.932, + 5213631559942.489, + 5333320605995.519, + 5456083420582.814, + 5581879477303.448, + 5710660174979.336, + 5842367957773.659, + 5976935348873.465, + 6114283927960.8125, + 6254323289680.814, + 6396950025928.46, + 6542046778632.872, + 6689481411486.192, + 6839106348563.471, + 6990758124947.586, + 7144257189375.341, + 7299407991739.548, + 7455999379377.992, + 7613805315815.598, + 7772585924536.673, + 7932088848986.197, + 8092050908839.533, + 8252200022221.335, + 8412257354442.361, + 8571939646341.121, + 8730961669805.905, + 8889038754645.229, + 9045889329783.84, + 9201237422682.264, + 9354815063816.377, + 9506364547720.549, + 9655640508172.957, + 9802411772288.799, + 9946462966128.273, + 10087595852591.164, + 10225630390520.422, + 10360405511701.867, + 10491779619629.584, + 10619630820262.785, + 10743856900387.752, + 10864375073591.998, + 10981121517121.094, + 11094050725182.146, + 11203134705523.145, + 11308362046510.031, + 11409736881568.342, + 11507277776797.186, + 11601016566047.287, + 11690997155807.494, + 11777274320029.127, + 11859912502657.293, + 11938984643194.395, + 12014571038189.31, + 12086758249203.975, + 12155638065579.496, + 12221306528280.945, + 12283863019214.438, + 12343409418773.377, + 12400049332891.885, + 12453887389658.227, + 12505028604484.44, + 12553577811982.674, + 12599639162034.836, + 12643315677036.848, + 12684708866935.893, + 12723918398392.492, + 12761041814253.512, + 12796174299400.59, + 12829408489027.598, + 270366784497.99124, + 271213840012.54495, + 272115639251.09058, + 273075724247.76874, + 274097866246.03836, + 275186080436.0187, + 276344641607.4667, + 277578100767.531, + 278891302772.85974, + 280289405026.4799, + 281777897289.1798, + 283362622655.0086, + 285049799737.9956, + 286846046115.01746, + 288758403065.6232, + 290794361643.7885, + 292961890109.58417, + 295269462738.6124, + 297726090015.19104, + 300341350199.7331, + 303125422241.65405, + 306089119986.1266, + 309243927594.7076, + 312602036066.3323, + 316176380704.5975, + 319980679330.6355, + 324029470984.5887, + 328338154794.57666, + 332923028617.8105, + 337801326972.65295, + 342991257684.3458, + 348512036557.7137, + 354383919269.11365, + 360628229535.9077, + 367267382475.5654, + 374324901909.7554, + 381825430202.4613, + 389794729047.6754, + 398259669447.30005, + 407248208945.356, + 416789354020.4963, + 426913105390.0796, + 437650383857.46704, + 449032934251.3084, + 461093204971.91565, + 473864200694.41486, + 487379305892.08594, + 501672077056.5526, + 516776001816.89417, + 532724223614.4987, + 549549231185.69464, + 567282512847.5057, + 585954176478.6411, + 605592537130.701, + 626223675383.366, + 647870970847.1703, + 670554616586.6746, + 694291121637.2375, + 719092810168.9684, + 744967327140.834, + 771917161419.2953, + 799939198228.7798, + 829024313384.6066, + 859157021958.8024, + 890315193792.2474, + 922469847548.6256, + 955585033788.8748, + 989617815835.783, + 1024518355032.4547, + 1060230104438.029, + 1096690112140.4602, + 1133829432310.5974, + 1171573639005.0276, + 1209843434684.1343, + 1248555342585.444, + 1287622469606.7917, + 1326955324330.4626, + 1366462673331.1858, + 1406052418032.6733, + 1445632474120.1917, + 1485111635884.4016, + 1524400408818.3296, + 1563411795248.7793, + 1602062019675.7495, + 1640271182702.5303, + 1677963834867.7893, + 1715069464216.3208, + 1751522893967.739, + 1787264589065.536, + 1822240872630.674, + 1856404055337.4048, + 1889712482441.4055, + 1922130504577.4043, + 1953628379509.2166, + 1984182112758.3777, + 2013773245476.135, + 2042388598086.0986, + 2070019978142.5898, + 2096663860566.435, + 2122321047962.9272, + 2146996318153.397, + 2170698065378.7046, + 2193437940913.1023, + 2215230498073.483, + 2236092845860.417, + 2256044314738.264, + 2275106137365.496, + 2293301146443.196, + 2310653491262.798, + 2327188374004.5015, + 2342931806379.369, + 2357910386806.3516, + 2372151097981.4873, + 2385681124413.761, + 2398527689284.0835, + 2410717909801.0664, + 2422278670101.4653, + 2433236510648.1265, + 2443617533017.866, + 2453447318943.5117, + 2462750862462.695, + 2471552514043.623, + 2479875935578.508, + 2487744065182.5586, + 2495179090778.3086, + 2502202431506.298, + 2508834726057.0776, + 2515095827087.2075 + ], + "eliminated_maximum_absolute": 12829408489027.598, + "floor_active": false, + "maximum_absolute_difference": 0.111328125, + "normalization_floor": 1.0, + "normalization_scale": 12829408489027.709, + "relative_error": 8.677572710792774e-15, + "unit": "m-3" + }, + "hole_rate": { + "difference": [ + -695143176.0317473, + -40913858.289321184, + 385376241.6146333, + -181519218.8377273, + 615697916.390594, + -386815322.6971078, + -121530687.06216097, + 515596217.65316415, + -324131248.5515553, + 152859083.27959684, + 120175886.51957858, + -521681635.06602967, + 449621298.78554773, + 640.130811214447, + -76380946.07295752, + -72166234.08009386, + -358106304.88932896, + 225736541.1655779, + -45756149.26530552, + 230924841.68338394, + -136636628.21192837, + 12940665.308158875, + 49057521.698150635, + 93020799.70307732, + -187519696.95204353, + 62822177.846364975, + 29831921.955501556, + -9450910.558483124, + 134818700.84490967, + -145411131.53185654, + -73318636.24726486, + 93180828.70777893, + 103698400.5273056, + -240446433.52590942, + 236533590.85108185, + -58179078.77683258, + -12379257.566749573, + 11863934.11214447, + -5692778.492630005, + 5468241.920532227, + -42060059.05464172, + 55684162.88592529, + -53680848.30288696, + 65952299.361083984, + -45535573.324142456, + 4409168.404830933, + 17091180.229125977, + 29037216.78744507, + -48397764.60192871, + -705.5046081542969, + -15324334.514190674, + 59891639.6468811, + -3663870.985595703, + -10775318.32623291, + -52913336.29614258, + 52065061.456970215, + -51321788.75518799, + 50683710.968444824, + 6687257.226196289, + -13256692.372253418, + -306120536.9649658, + 678054320.9320068, + -323340729.7003174, + -42418891.78625488, + 13063140.98840332, + -45858710.15649414, + 49374950.23730469, + 26512310.825195312, + -43460635.51306152, + -277062871.62890625, + 605579506.1800537, + -343617042.048584, + 21167316.150146484, + 3591342.5356445312, + -25644313.05029297, + 56147542.19238281, + -386942953.3288574, + 769818103.529541, + -758230034.5148926, + 829602645.1811523, + -397363796.2729492, + -520113585.31762695, + 928933434.6022949, + -560593456.3425293, + 58562777.2421875, + -55682271.98876953, + 73605995.20996094, + 109342141.69628906, + -119524425.0366211, + 83049191.33300781, + -142351303.12304688, + 64643087.47949219, + 6758469.028808594, + 91935372.39013672, + -14815403.98046875, + -93178642.89697266, + 48878317.279296875, + 94090385.69628906, + -152793770.2470703, + 151210754.92333984, + -1103801570.6171875, + 2135895935.6376953, + -1003778625.8769531, + -1186028089.0239258, + 1054700115.5581055, + 1255348552.661621, + -1270724157.1074219, + 187625199.23388672, + -61008257.51269531, + -161239180.90527344, + 136421419.36572266, + 90208757.38085938, + -133666452.42480469, + -141515027.25732422, + 235515268.6875, + 68045440.8569336, + -24036568.048828125, + -50953282.79394531, + 297118161.61279297, + -630173315.7246094, + 151916314.61816406, + -32234714.896972656, + -205232138.8930664, + 653464670.1430664, + -1040507153.2275391, + 1554775276.2314453, + 7918869171120.763, + -109873439646.28406, + 163661157.38175964, + -3738114672.460388, + 7224418377.6011505, + -3146897954.028061, + 257876227.55021667, + -3645981796.683197, + 5957991755.822723, + -5645245279.193695, + 5681250960.820618, + -2427569871.7151794, + -2290859191.516739, + 1948350219.043747, + 2001423405.4707794, + -1470312544.127365, + -523212328.0010376, + 187579608.19943237, + 48372177.648376465, + -274530790.0237732, + 115461633.3176117, + 191292476.1773224, + -142360177.34881592, + -208487355.08363342, + 1110.3811645507812, + -926564111.94664, + 2031195840.4595032, + -1004358796.1518707, + -37802079.008377075, + 53927301.12512207, + 34214292.225753784, + -40733059.15003967, + -815307838.5809326, + 1511053053.9376984, + -643549511.3052673, + -27031684.569015503, + -672276230.8312378, + 1237841372.2803345, + -563541785.033493, + -28459074.863571167, + 38268993.64138794, + -21030444.52757263, + -10125304.426086426, + -14639784.618408203, + -14132188.05003357, + 298.615478515625, + -66115138.83602905, + -307634860.9035034, + 381616404.5607147, + 387181709.07902527, + -396690474.83818054, + 49804985.16239929, + -18716385.090820312, + -340702179.56100464, + 621364483.5008545, + -349229537.16552734, + 52064202.991256714, + -338716303.2709503, + 652113576.1430817, + -340996628.665329, + -16570124.329910278, + -3290487.670776367, + 72064519.38562012, + -97982214.68786621, + 16315712.702850342, + 42460823.54180908, + -19654774.359161377, + 49374513.41574097, + -66283427.61401367, + 23401145.190093994, + -27031401.746276855, + 20528630.835388184, + 27767197.007095337, + -84663474.75317383, + 21552488.87374878, + 25643227.151290894, + -22458798.111358643, + -371617102.8477936, + 742325339.4740448, + -302484772.88619995, + -16593347.42604065, + -102546747.0544281, + 74932941.24224854, + -9107498.983642578, + 23554457.714019775, + -73201950.43807983, + 40497784.170288086, + -63089217.092544556, + 76541316.10250854, + -535014641.2901764, + 1020305915.3672333, + -377541854.9594269, + -168070711.31370544, + -47306088.35449219, + 49507146.905426025, + -59256005.84222412, + 93178817.17615509, + 114051258.21910095, + -102643525.28730011, + -1587.1453323364258, + -132309669.32579803, + 198884821.70864868, + -73289814.01737213, + -992749052.1414566, + 2162754262.193634, + -2305624432.216469, + 2678936559.8601227, + -1407362796.9377708, + -158759789.36187744, + 30503743.826497078, + 145114984.55730438, + 1313055421.2539139, + -3518143694.945408, + 3857186466.057335, + -4306092186.888695, + 2269510111.216529, + 294863370.3773117, + 384564715.25133514, + -484055203.82133484, + -432171974.26779175, + 401019896.80550003, + 121532501.4591217, + -1814.1511688232422, + 3078485846.589386, + -7079203640.562272, + 4007875428.8410034, + -777388602.7136536, + 1520628632.6421814 + ], + "direct": [ + -890608914.2212005, + -1409683631.0901024, + -1590057224.0338042, + -1776449361.6580398, + -1815874511.296906, + -1333112326.0096078, + -1027783719.421536, + -818345536.6593359, + -238999084.27030525, + 126349650.56084684, + 821757851.6758286, + 895458548.0589703, + 1831404501.0042977, + 2626560139.255811, + 2709968399.5520425, + 4162139210.044906, + 4377457200.360671, + 5594423278.978078, + 6570976044.9846945, + 7542291950.995884, + 8553737968.163072, + 10245784600.183159, + 11053921057.82315, + 12995647496.703077, + 14385934695.422956, + 16586781035.596365, + 18076771522.7055, + 20537386191.191517, + 23035076901.59491, + 25390978221.218143, + 28337831139.252735, + 31662694540.95778, + 34964146663.277306, + 39029759208.47409, + 42905538573.85108, + 48082524452.22317, + 52512639438.93325, + 58557599688.112144, + 64540288840.00737, + 71386962834.42053, + 78617359737.44536, + 86848440588.38593, + 95914972170.69711, + 105429064857.36108, + 116193490827.67586, + 128018526226.40483, + 140583548691.22913, + 154629699507.78745, + 169685050825.39807, + 186452193655.4954, + 203905962744.4858, + 223844138560.64688, + 244679327201.0144, + 267212574203.67377, + 292247136107.70386, + 318360858441.457, + 346824510045.2448, + 377375372642.96844, + 410035724591.2262, + 444827829039.62775, + 482022315685.03503, + 521506204610.932, + 563406429460.2997, + 608113576224.2137, + 654579802444.9884, + 704147429065.8435, + 756217600894.2373, + 810521696102.8252, + 867597973404.4869, + 927402839836.3711, + 988982346630.18, + 1053574341341.9514, + 1120204376644.1501, + 1189000308518.5356, + 1260279753142.9497, + 1333400862870.1924, + 1408650008262.6711, + 1484380186411.5295, + 1563810945313.485, + 1642789029945.1812, + 1724599689003.727, + 1806515993846.6824, + 1888738946406.6023, + 1972080969691.6575, + 2057197329601.2422, + 2140550677208.0112, + 2226152067235.21, + 2310091664101.6963, + 2393078048318.9634, + 2476388398511.333, + 2559550056216.877, + 2640962387999.4795, + 2721287687509.029, + 2802313246636.39, + 2877470676196.0195, + 2958832971861.103, + 3030384489397.2793, + 3104793950385.6963, + 3170661756133.753, + 3249186861962.9233, + 3312389376237.383, + 3375408502735.6377, + 3451114450638.123, + 3495848628262.976, + 3554161313083.558, + 3631537461312.6616, + 3684153954418.8926, + 3712014868887.234, + 3776254407902.4873, + 3840033436187.0947, + 3874240487443.3657, + 3923695188045.381, + 3940805019747.575, + 4033456849284.7427, + 4013803547108.6875, + 4093028108104.857, + 4120540860439.951, + 4190539388661.206, + 4112797652233.613, + 4205131681996.2754, + 4266013910882.618, + 4338782740381.103, + 4218793915181.107, + 4205852339758.143, + 4512936601854.772, + 4169028155012.2314, + 5750950874032.763, + 117457837153.71594, + 89431184897.38176, + 93530651855.53961, + 89555353281.60115, + 92920123905.97194, + 92123412963.55022, + 91358834107.3168, + 93226160035.82272, + 93129706916.8063, + 92183709536.82062, + 93692678104.28482, + 93035064724.48326, + 94080390615.04375, + 93958627301.47078, + 94792290515.87263, + 93946905747.99896, + 95236029600.19943, + 96222843769.64838, + 95782666941.97623, + 96242312701.31761, + 96482653816.17732, + 97778915002.65118, + 97515860776.91637, + 98264652186.38116, + 99401442544.05336, + 99389950876.4595, + 99898680891.84813, + 101363577492.99162, + 101165766353.12512, + 102335904668.22575, + 103136123632.84996, + 103874431341.41907, + 104853187593.9377, + 105552130888.69473, + 106499200763.43098, + 107540072153.16876, + 108388359596.28033, + 109942680926.9665, + 110404652969.13643, + 111804443477.64139, + 113052197103.47243, + 114106187187.57391, + 115418721247.38159, + 116666269291.94997, + 117842856990.61548, + 119404033605.16397, + 120807231163.0965, + 121808672748.56071, + 123616095785.07903, + 124663679549.16182, + 126127664605.1624, + 127795133982.90918, + 128854272924.439, + 130255607185.50085, + 131562077920.83447, + 133102599494.99126, + 133745447548.72905, + 135497743416.14308, + 136345223249.33467, + 137064193019.67009, + 138225958840.32922, + 139016693465.38562, + 139555878527.31213, + 139695085334.70285, + 140541269729.5418, + 140674029083.64084, + 140429812380.41574, + 140422175535.386, + 140059292762.1901, + 138908664684.25372, + 139050635405.8354, + 136975484625.0071, + 137173854880.24683, + 134691892993.87375, + 133389368216.65129, + 131535793363.88864, + 130027552988.1522, + 126426894374.97404, + 125659250810.6138, + 122084042555.57396, + 119653279192.94557, + 117128182970.74225, + 113894906812.01636, + 110281957481.58902, + 107593006447.43692, + 104713281641.17029, + 98881395972.34496, + 99385531364.79001, + 91337473297.17857, + 93816147687.61723, + 84371411992.77495, + 80242147536.04567, + 80624316635.30176, + 78052255970.81168, + 72335747223.81403, + 68206482307.176155, + 60791820966.0941, + 66340245664.2127, + 63682662499.16717, + 47548811122.7992, + 61093735818.58365, + 35440096997.48263, + 49331504131.98354, + 56965212909.881134, + 20939670078.47103, + 49741711071.11012, + 32037496012.74973, + 55346016699.95062, + -3189709794.673503, + 49801896853.244804, + 17713820874.285164, + 20611916670.992092, + 21562007021.807335, + 13746640860.736305, + -2589088197.439721, + 49824768229.53356, + -20097175479.717415, + 106782823095.44429, + -70088201123.18967, + 25923745893.196125, + -92263061699.79088, + 118195946938.69258, + -13596818743.894989, + 6661534971.44554, + 84159747390.95819, + -145339070213.7371, + 155999706433.04257 + ], + "direct_maximum_absolute": 5750950874032.763, + "eliminated": [ + -195465738.18945312, + -1368769772.8007812, + -1975433465.6484375, + -1594930142.8203125, + -2431572427.6875, + -946297003.3125, + -906253032.359375, + -1333941754.3125, + 85132164.28125, + -26509432.71875, + 701581965.15625, + 1417140183.125, + 1381783202.21875, + 2626559499.125, + 2786349345.625, + 4234305444.125, + 4735563505.25, + 5368686737.8125, + 6616732194.25, + 7311367109.3125, + 8690374596.375, + 10232843934.875, + 11004863536.125, + 12902626697.0, + 14573454392.375, + 16523958857.75, + 18046939600.75, + 20546837101.75, + 22900258200.75, + 25536389352.75, + 28411149775.5, + 31569513712.25, + 34860448262.75, + 39270205642.0, + 42669004983.0, + 48140703531.0, + 52525018696.5, + 58545735754.0, + 64545981618.5, + 71381494592.5, + 78659419796.5, + 86792756425.5, + 95968653019.0, + 105363112558.0, + 116239026401.0, + 128014117058.0, + 140566457511.0, + 154600662291.0, + 169733448590.0, + 186452194361.0, + 203921287079.0, + 223784246921.0, + 244682991072.0, + 267223349522.0, + 292300049444.0, + 318308793380.0, + 346875831834.0, + 377324688932.0, + 410029037334.0, + 444841085732.0, + 482328436222.0, + 520828150290.0, + 563729770190.0, + 608155995116.0, + 654566739304.0, + 704193287776.0, + 756168225944.0, + 810495183792.0, + 867641434040.0, + 927679902708.0, + 988376767124.0, + 1053917958384.0, + 1120183209328.0, + 1188996717176.0, + 1260305397456.0, + 1333344715328.0, + 1409036951216.0, + 1483610368308.0, + 1564569175348.0, + 1641959427300.0, + 1724997052800.0, + 1807036107432.0, + 1887810012972.0, + 1972641563148.0, + 2057138766824.0, + 2140606359480.0, + 2226078461240.0, + 2309982321960.0, + 2393197572744.0, + 2476305349320.0, + 2559692407520.0, + 2640897744912.0, + 2721280929040.0, + 2802221311264.0, + 2877485491600.0, + 2958926150504.0, + 3030335611080.0, + 3104699860000.0, + 3170814549904.0, + 3249035651208.0, + 3313493177808.0, + 3373272606800.0, + 3452118229264.0, + 3497034656352.0, + 3553106612968.0, + 3630282112760.0, + 3685424678576.0, + 3711827243688.0, + 3776315416160.0, + 3840194675368.0, + 3874104066024.0, + 3923604979288.0, + 3940938686200.0, + 4033598364312.0, + 4013568031840.0, + 4092960062664.0, + 4120564897008.0, + 4190590341944.0, + 4112500534072.0, + 4205761855312.0, + 4265861994568.0, + 4338814975096.0, + 4218999147320.0, + 4205198875088.0, + 4513977109008.0, + 4167473379736.0, + -2167918297088.0, + 227331276800.0, + 89267523740.0, + 97268766528.0, + 82330934904.0, + 96067021860.0, + 91865536736.0, + 95004815904.0, + 87268168280.0, + 98774952196.0, + 86502458576.0, + 96120247976.0, + 95325923916.0, + 92132040396.0, + 91957203896.0, + 96262603060.0, + 94470118076.0, + 95048449992.0, + 96174471592.0, + 96057197732.0, + 96126851068.0, + 96291361340.0, + 97921275180.0, + 97724348132.0, + 98264651076.0, + 100328006656.0, + 97358755036.0, + 100903039688.0, + 101401379572.0, + 101111839052.0, + 102301690376.0, + 103176856692.0, + 104689739180.0, + 103342134540.0, + 106195680400.0, + 106526232448.0, + 108212348384.0, + 107150518224.0, + 110506222712.0, + 110433112044.0, + 111766174484.0, + 113073227548.0, + 114116312492.0, + 115433361032.0, + 116680401480.0, + 117842856692.0, + 119470148744.0, + 121114866024.0, + 121427056344.0, + 123228914076.0, + 125060370024.0, + 126077859620.0, + 127813850368.0, + 129194975104.0, + 129634242702.0, + 131911307458.0, + 133050535292.0, + 134084163852.0, + 134845629840.0, + 136686219878.0, + 137080763144.0, + 138229249328.0, + 138944628946.0, + 139653860742.0, + 139678769622.0, + 140498808906.0, + 140693683858.0, + 140380437867.0, + 140488458963.0, + 140035891617.0, + 138935696086.0, + 139030106775.0, + 136947717428.0, + 137258518355.0, + 134670340505.0, + 133363724989.5, + 131558252162.0, + 130399170091.0, + 125684569035.5, + 125961735583.5, + 122100635903.0, + 119755825940.0, + 117053250029.5, + 113904014311.0, + 110258403023.875, + 107666208397.875, + 104672783857.0, + 98944485189.4375, + 99308990048.6875, + 91872487938.46875, + 92795841772.25, + 84748953847.73438, + 80410218247.35938, + 80671622723.65625, + 78002748823.90625, + 72395003229.65625, + 68113303490.0, + 60677769707.875, + 66442889189.5, + 63682664086.3125, + 47681120792.125, + 60894850996.875, + 35513386811.5, + 50324253184.125, + 54802458647.6875, + 23245294510.6875, + 47062774511.25, + 33444858809.6875, + 55504776489.3125, + -3220213538.5, + 49656781868.6875, + 16400765453.03125, + 24130060365.9375, + 17704820555.75, + 18052733047.625, + -4858598308.65625, + 49529904859.15625, + -20481740194.96875, + 107266878299.26562, + -69656029148.92188, + 25522725996.390625, + -92384594201.25, + 118195948752.84375, + -16675304590.484375, + 13740738612.007812, + 80151871962.11719, + -144561681611.02344, + 154479077800.4004 + ], + "eliminated_maximum_absolute": 4513977109008.0, + "floor_active": true, + "maximum_absolute_difference": 7918869171120.763, + "normalization_floor": 7.64318943829248e+20, + "normalization_scale": 7.64318943829248e+20, + "relative_error": 1.0360686772261751e-08, + "unit": "m-3 s-1" + }, + "local_state": { + "difference": [ + [ + -0.0020751953125, + 0.12890625, + -0.109375, + 0.001129150390625 + ] + ], + "direct": [ + [ + 426553316933.3458, + 12860859470328.885, + 20359985758903.27, + 269571146004.40952 + ] + ], + "direct_maximum_absolute": 20359985758903.27, + "eliminated": [ + [ + 426553316933.3479, + 12860859470328.756, + 20359985758903.38, + 269571146004.4084 + ] + ], + "eliminated_maximum_absolute": 20359985758903.38, + "floor_active": false, + "maximum_absolute_difference": 0.12890625, + "normalization_floor": 1.0, + "normalization_scale": 20359985758903.38, + "relative_error": 6.331352660383349e-15, + "unit": "m-3" + }, + "positive_ion_flux": { + "difference": [ + 2.1259765625, + 2.5078125, + 1.41796875, + 4.4609375, + 6.7421875, + 7.9609375, + -2.2578125, + -1.421875, + 12.1015625, + -1.265625, + 6.015625, + 5.6953125, + 12.9453125, + -16.34375, + 11.625, + 7.3515625, + 6.9765625, + -11.5859375, + 22.03125, + -8.9765625, + -8.5390625, + 5.421875, + -12.90625, + 27.0703125, + 7.0390625, + 2.2421875, + -2.140625, + -4.1015625, + 0.0, + 22.59375, + 10.8359375, + -24.2890625, + 3.3359375, + 16.0625, + 3.09375, + 14.9375, + 2.890625, + -5.5859375, + 21.640625, + 18.375, + -30.609375, + 34.75, + -33.84375, + 0.0, + 41.5, + -22.578125, + 39.8125, + -52.140625, + 17.09375, + 37.890625, + 8.3125, + -32.859375, + 8.125, + 20.1875, + -8.015625, + 55.90625, + -23.890625, + -23.875, + 7.96875, + 31.96875, + -48.171875, + 32.328125, + -65.203125, + 123.484375, + -16.65625, + -67.578125, + 68.65625, + 17.453125, + -26.703125, + -72.703125, + 83.65625, + 66.65625, + -68.40625, + 0.0, + 20.6875, + 21.3125, + 11.0, + 22.75, + -11.78125, + 12.203125, + -38.03125, + -13.1875, + 150.84375, + 57.15625, + -89.421875, + -93.359375, + 97.578125, + 238.203125, + -391.953125, + 186.734375, + 117.515625, + -452.359375, + 302.4375, + -227.125, + 382.328125, + -201.25, + 106.015625, + -167.609375, + 530.296875, + -248.703125, + 0.0, + -138.671875, + -366.3125, + 232.34375, + 0.0, + 433.296875, + -183.4375, + -194.203125, + 0.0, + -435.75, + 230.875, + -122.359375, + 648.625, + 275.140625, + -583.671875, + 1857.734375, + -2135.59375, + 871.75, + -555.234375, + -589.5, + 417.3125, + 2215.953125, + -235.375, + -1250.171875, + -265.640625, + 1129.0078125, + -2699.43359375, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "direct": [ + -7123159737476.462, + -21119042885961.223, + -33802946913215.523, + -43926650739914.734, + -50946207641708.46, + -55141736152253.29, + -57312461734604.836, + -58317655333503.41, + -58780508629979.19, + -59040744709425.05, + -59243736844847.0, + -59439635909181.66, + -59642835850946.336, + -59857092581965.0, + -60083611868851.71, + -60323110248752.45, + -60576239545591.31, + -60843657934604.14, + -61126038769288.195, + -61424070173392.94, + -61738453168749.87, + -62069899392015.69, + -62419128416598.695, + -62786864653970.81, + -63173833824286.45, + -63580759072834.06, + -64008356509491.664, + -64457330447835.67, + -64928368049218.53, + -65422133703204.664, + -65939262839011.695, + -66480355507013.77, + -67045969618704.53, + -67636613888976.0, + -68252740708114.01, + -68894738934137.59, + -69562926738464.06, + -70257544653829.38, + -70978748994462.5, + -71726605749360.12, + -72501085117621.36, + -73302056852413.62, + -74129286615397.86, + -74982433356007.36, + -75861047914619.0, + -76764572946002.81, + -77692344172981.67, + -78643592970859.47, + -79617450318588.92, + -80612951891612.6, + -81629044381671.84, + -82664592658213.69, + -83718387606392.8, + -84789154576668.02, + -85875561894473.34, + -86976229395556.4, + -88089736624216.16, + -89214630553631.5, + -90349432438154.95, + -91492643997423.77, + -92642752532739.23, + -93798235108285.95, + -94957561931264.12, + -96119198886484.12, + -97281609493471.44, + -98443256540018.11, + -99602603520395.33, + -100758116269065.73, + -101908264886121.61, + -103051526342036.84, + -104186387742956.3, + -105311350570577.88, + -106424935839310.28, + -107525690108512.86, + -108612192526842.58, + -109683062406122.2, + -110736967511935.83, + -111772632504535.86, + -112788847577633.7, + -113784476792127.23, + -114758465989597.14, + -115709850024378.5, + -116637758922001.64, + -117541423206055.19, + -118420177653196.45, + -119273464106918.84, + -120100832529823.84, + -120901941122464.1, + -121676554784432.78, + -122424542677665.95, + -123145874378838.1, + -123840615389663.34, + -124508921607738.61, + -125151033249691.58, + -125767268214094.98, + -126358015189820.52, + -126923726455002.1, + -127464910692105.31, + -127982125796036.44, + -128475971902617.39, + -128947084574692.45, + -129396128310397.47, + -129823790481912.81, + -130230775572673.92, + -130617799943315.06, + -130985586951953.42, + -131334862579000.44, + -131666351432643.17, + -131980772880166.78, + -132278835229363.92, + -132561214840341.95, + -132828451695297.52, + -133080464857415.14, + -133314644812576.36, + -133519618576443.14, + -133658591844687.69, + -133633749178312.48, + -133227818176949.1, + -132037542748344.78, + -129441870729666.47, + -124659977506749.1, + -116922203148948.78, + -105706909496946.39, + -90940035427248.64, + -73062595165974.23, + -52940416931835.74, + -31666634461945.016, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "direct_maximum_absolute": 133658591844687.69, + "eliminated": [ + -7123159737478.588, + -21119042885963.73, + -33802946913216.94, + -43926650739919.195, + -50946207641715.2, + -55141736152261.25, + -57312461734602.58, + -58317655333501.984, + -58780508629991.29, + -59040744709423.78, + -59243736844853.016, + -59439635909187.35, + -59642835850959.28, + -59857092581948.66, + -60083611868863.336, + -60323110248759.805, + -60576239545598.29, + -60843657934592.555, + -61126038769310.23, + -61424070173383.96, + -61738453168741.33, + -62069899392021.11, + -62419128416585.79, + -62786864653997.88, + -63173833824293.49, + -63580759072836.305, + -64008356509489.52, + -64457330447831.57, + -64928368049218.53, + -65422133703227.26, + -65939262839022.53, + -66480355506989.484, + -67045969618707.87, + -67636613888992.06, + -68252740708117.1, + -68894738934152.53, + -69562926738466.95, + -70257544653823.8, + -70978748994484.14, + -71726605749378.5, + -72501085117590.75, + -73302056852448.38, + -74129286615364.02, + -74982433356007.36, + -75861047914660.5, + -76764572945980.23, + -77692344173021.48, + -78643592970807.33, + -79617450318606.02, + -80612951891650.48, + -81629044381680.16, + -82664592658180.83, + -83718387606400.92, + -84789154576688.2, + -85875561894465.33, + -86976229395612.31, + -88089736624192.27, + -89214630553607.62, + -90349432438162.92, + -91492643997455.73, + -92642752532691.06, + -93798235108318.28, + -94957561931198.92, + -96119198886607.61, + -97281609493454.78, + -98443256539950.53, + -99602603520463.98, + -100758116269083.19, + -101908264886094.9, + -103051526341964.14, + -104186387743039.95, + -105311350570644.53, + -106424935839241.88, + -107525690108512.86, + -108612192526863.27, + -109683062406143.52, + -110736967511946.83, + -111772632504558.61, + -112788847577621.92, + -113784476792139.44, + -114758465989559.11, + -115709850024365.31, + -116637758922152.48, + -117541423206112.34, + -118420177653107.03, + -119273464106825.48, + -120100832529921.42, + -120901941122702.3, + -121676554784040.83, + -122424542677852.69, + -123145874378955.61, + -123840615389210.98, + -124508921608041.05, + -125151033249464.45, + -125767268214477.31, + -126358015189619.27, + -126923726455108.11, + -127464910691937.7, + -127982125796566.73, + -128475971902368.69, + -128947084574692.45, + -129396128310258.8, + -129823790481546.5, + -130230775572906.27, + -130617799943315.06, + -130985586952386.72, + -131334862578817.0, + -131666351432448.97, + -131980772880166.78, + -132278835228928.17, + -132561214840572.83, + -132828451695175.16, + -133080464858063.77, + -133314644812851.5, + -133519618575859.47, + -133658591846545.42, + -133633749176176.89, + -133227818177820.84, + -132037542747789.55, + -129441870729076.97, + -124659977507166.4, + -116922203151164.73, + -105706909496711.02, + -90940035425998.47, + -73062595165708.6, + -52940416932964.75, + -31666634459245.582, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "eliminated_maximum_absolute": 133658591846545.42, + "floor_active": false, + "legacy_binary64": { + "difference": [ + 0.0, + 83.66015625, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -43.7265625, + -41.2734375, + 0.0, + 0.0, + 0.0, + 0.0, + 31.109375, + 0.0, + -27.859375, + 0.0, + -24.9921875, + 47.3828125, + 0.0, + 0.0, + -40.484375, + -19.234375, + 0.0, + 34.7890625, + 0.0, + -31.546875, + 0.0, + 14.3515625, + 13.7109375, + 39.328125, + 0.0, + 12.015625, + 11.515625, + 11.0625, + -31.890625, + 30.6875, + -29.5625, + 0.0, + 55.09375, + -17.765625, + 34.421875, + -50.09375, + 32.4375, + 47.34375, + 15.390625, + -30.03125, + -7.34375, + 28.765625, + -21.171875, + 55.5, + -47.8125, + -47.1875, + 19.984375, + 26.390625, + -39.28125, + 39.0625, + -64.84375, + 129.4375, + -12.9375, + -64.84375, + 52.078125, + 13.109375, + -26.40625, + -79.96875, + 67.40625, + 68.328125, + -83.234375, + 0.0, + 28.78125, + 29.359375, + -15.015625, + 15.375, + -15.78125, + 48.65625, + -33.390625, + -17.21875, + 159.90625, + 73.46875, + -114.09375, + -39.421875, + 61.390625, + 233.90625, + -420.390625, + 184.375, + 144.21875, + -426.53125, + 288.40625, + -191.96875, + 344.53125, + -180.5, + 126.203125, + -132.46875, + 487.0, + -219.390625, + 0.0, + -161.9375, + -298.46875, + 269.609375, + 0.0, + 299.921875, + -105.53125, + -278.59375, + 0.0, + -560.015625, + 263.1875, + -69.59375, + 589.203125, + 311.859375, + -743.0, + 1748.9375, + -2131.0, + 981.953125, + -416.390625, + -662.28125, + 351.203125, + 2483.78125, + -790.609375, + -978.890625, + -445.296875, + 1418.2109375, + -2509.74609375, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "direct": [ + -7123159737609.161, + -21119042885900.473, + -33802946913179.69, + -43926650739929.56, + -50946207641662.03, + -55141736152276.25, + -57312461734559.64, + -58317655333545.06, + -58780508629931.71, + -59040744709393.47, + -59243736844896.414, + -59439635909147.68, + -59642835850984.6, + -59857092582000.3, + -60083611868879.94, + -60323110248742.195, + -60576239545588.74, + -60843657934573.945, + -61126038769291.05, + -61424070173376.41, + -61738453168735.734, + -62069899392007.82, + -62419128416588.83, + -62786864653958.82, + -63173833824282.234, + -63580759072829.86, + -64008356509516.66, + -64457330447833.32, + -64928368049206.58, + -65422133703205.29, + -65939262839016.086, + -66480355507024.66, + -67045969618706.6, + -67636613888981.03, + -68252740708116.42, + -68894738934128.49, + -69562926738465.31, + -70257544653822.13, + -70978748994468.4, + -71726605749365.1, + -72501085117624.56, + -73302056852413.98, + -74129286615402.2, + -74982433356012.58, + -75861047914608.66, + -76764572946003.16, + -77692344172997.53, + -78643592970853.5, + -79617450318592.12, + -80612951891613.33, + -81629044381670.12, + -82664592658208.02, + -83718387606396.94, + -84789154576657.67, + -85875561894476.56, + -86976229395556.75, + -88089736624222.06, + -89214630553644.6, + -90349432438151.06, + -91492643997430.3, + -92642752532732.4, + -93798235108281.34, + -94957561931256.6, + -96119198886490.7, + -97281609493458.8, + -98443256540018.97, + -99602603520410.28, + -100758116269068.19, + -101908264886110.6, + -103051526342036.88, + -104186387742967.84, + -105311350570558.64, + -106424935839322.34, + -107525690108521.08, + -108612192526832.34, + -109683062406119.64, + -110736967511952.45, + -111772632504543.69, + -112788847577629.56, + -113784476792126.47, + -114758465989595.58, + -115709850024384.42, + -116637758921994.36, + -117541423206076.06, + -118420177653183.16, + -119273464106892.19, + -120100832529844.25, + -120901941122447.61, + -121676554784454.44, + -122424542677651.34, + -123145874378803.84, + -123840615389642.55, + -124508921607798.12, + -125151033249646.36, + -125767268214090.48, + -126358015189835.42, + -126923726454998.14, + -127464910692077.73, + -127982125796160.52, + -128475971902532.5, + -128947084574699.1, + -129396128310410.16, + -129823790481863.89, + -130230775572715.14, + -130617799943304.52, + -130985586951981.88, + -131334862578910.88, + -131666351432605.6, + -131980772880319.44, + -132278835229329.08, + -132561214840290.08, + -132828451695352.9, + -133080464857481.47, + -133314644812460.42, + -133519618576538.62, + -133658591844824.31, + -133633749178520.4, + -133227818176852.45, + -132037542748309.84, + -129441870729584.03, + -124659977506905.42, + -116922203148712.36, + -105706909497112.4, + -90940035427103.84, + -73062595166019.75, + -52940416931608.125, + -31666634461851.27, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "direct_maximum_absolute": 133658591844824.31, + "eliminated": [ + -7123159737609.161, + -21119042885984.133, + -33802946913179.69, + -43926650739929.56, + -50946207641662.03, + -55141736152276.25, + -57312461734559.64, + -58317655333545.06, + -58780508629931.71, + -59040744709393.47, + -59243736844896.414, + -59439635909147.68, + -59642835850940.875, + -59857092581959.02, + -60083611868879.94, + -60323110248742.195, + -60576239545588.74, + -60843657934573.945, + -61126038769322.16, + -61424070173376.41, + -61738453168707.875, + -62069899392007.82, + -62419128416563.836, + -62786864654006.2, + -63173833824282.234, + -63580759072829.86, + -64008356509476.17, + -64457330447814.086, + -64928368049206.58, + -65422133703240.08, + -65939262839016.086, + -66480355506993.11, + -67045969618706.6, + -67636613888995.38, + -68252740708130.13, + -68894738934167.82, + -69562926738465.31, + -70257544653834.15, + -70978748994479.92, + -71726605749376.16, + -72501085117592.67, + -73302056852444.67, + -74129286615372.64, + -74982433356012.58, + -75861047914663.75, + -76764572945985.39, + -77692344173031.95, + -78643592970803.4, + -79617450318624.56, + -80612951891660.67, + -81629044381685.52, + -82664592658177.98, + -83718387606389.6, + -84789154576686.44, + -85875561894455.39, + -86976229395612.25, + -88089736624174.25, + -89214630553597.4, + -90349432438171.05, + -91492643997456.69, + -92642752532693.12, + -93798235108320.4, + -94957561931191.75, + -96119198886620.14, + -97281609493445.86, + -98443256539954.12, + -99602603520462.36, + -100758116269081.3, + -101908264886084.19, + -103051526341956.9, + -104186387743035.25, + -105311350570626.97, + -106424935839239.11, + -107525690108521.08, + -108612192526861.12, + -109683062406149.0, + -110736967511937.44, + -111772632504559.06, + -112788847577613.78, + -113784476792175.12, + -114758465989562.19, + -115709850024367.2, + -116637758922154.27, + -117541423206149.53, + -118420177653069.06, + -119273464106852.77, + -120100832529905.64, + -120901941122681.52, + -121676554784034.05, + -122424542677835.72, + -123145874378948.06, + -123840615389216.02, + -124508921608086.53, + -125151033249454.39, + -125767268214435.02, + -126358015189654.92, + -126923726455124.34, + -127464910691945.27, + -127982125796647.52, + -128475971902313.11, + -128947084574699.1, + -129396128310248.22, + -129823790481565.42, + -130230775572984.75, + -130617799943304.52, + -130985586952281.8, + -131334862578805.34, + -131666351432327.0, + -131980772880319.44, + -132278835228769.06, + -132561214840553.27, + -132828451695283.31, + -133080464858070.67, + -133314644812772.28, + -133519618575795.62, + -133658591846573.25, + -133633749176389.4, + -133227818177834.4, + -132037542747893.45, + -129441870728921.75, + -124659977507256.62, + -116922203151196.14, + -105706909496321.8, + -90940035426124.95, + -73062595165574.45, + -52940416933026.336, + -31666634459341.523, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "eliminated_maximum_absolute": 133658591846573.25, + "floor_active": false, + "maximum_absolute_difference": 2509.74609375, + "normalization_floor": 1.0, + "normalization_scale": 133658591846573.25, + "relative_error": 1.877728965326029e-11 + }, + "maximum_absolute_difference": 2699.43359375, + "normalization_floor": 1.0, + "normalization_scale": 133658591846545.42, + "relative_error": 2.0196483865767814e-11, + "unit": "m-2 s-1" + }, + "positive_ion_rate": { + "difference": [ + -36020682752.0, + -3120562176.0, + 8405385216.0, + -22204645376.0, + -15653142528.0, + -7881097216.0, + 62312677376.0, + -4798283776.0, + -73263480832.0, + 68317085696.0, + -35117203456.0, + 1460666368.0, + -31097356288.0, + 118633267200.0, + -106976378880.0, + 15438577664.0, + 1280049152.0, + 59883257856.0, + -102517571584.0, + 89422823424.0, + -1191968768.0, + -36066689024.0, + 44853493760.0, + -92728590336.0, + 44041764864.0, + 10018881536.0, + 8686141440.0, + 3682861056.0, + -7331774464.0, + -38403702784.0, + 19013435392.0, + 54132473856.0, + -40579497984.0, + -17830903808.0, + 17345675264.0, + -15141830656.0, + 14739046400.0, + 9921495040.0, + -30563500032.0, + 3523477504.0, + 50657361920.0, + -64986021888.0, + 65672577024.0, + -31243632640.0, + -36976197632.0, + 55177248768.0, + -52010549248.0, + 74314022912.0, + -54313877504.0, + -15865217024.0, + 21975007232.0, + 29832642560.0, + -29024583680.0, + -8344174592.0, + 19156697088.0, + -42651484160.0, + 52387905536.0, + -11796480.0, + -20352335872.0, + -15173156864.0, + 50232295424.0, + -50117476352.0, + 60421701632.0, + -116567048192.0, + 86502146048.0, + 31458852864.0, + -84411285504.0, + 31869632512.0, + 27684765696.0, + 29088677888.0, + -99927457792.0, + 10999169024.0, + 88667979776.0, + -45639925760.0, + -14047117312.0, + -443416576.0, + 7301234688.0, + -8515616768.0, + 25657344000.0, + -18304204800.0, + 39426326528.0, + -20090060800.0, + -136759476224.0, + 80708239360.0, + 130600796160.0, + 3640524800.0, + -182821847040.0, + -139837964288.0, + 651632967680.0, + -622987968512.0, + 77650460672.0, + 667168669696.0, + -922915438592.0, + 676943888384.0, + -815257878528.0, + 817650335744.0, + -451287318528.0, + 421614452736.0, + -1129153167360.0, + 1324327763968.0, + -444574859264.0, + 260815192064.0, + 450844164096.0, + -1249068056576.0, + 511026790400.0, + -1005116456960.0, + 1509688606720.0, + 27833401344.0, + -530152816640.0, + 1257080225792.0, + -2033101307904.0, + 1139362627584.0, + -2631079034880.0, + 1348976771072.0, + 3284097695744.0, + -9887291604992.0, + 17132529713152.0, + -13672399503360.0, + 6876591816704.0, + 175028305920.0, + -5454969176064.0, + -10336853819392.0, + 14946234531840.0, + 6565729927168.0, + -6760614068224.0, + -10166187589632.0, + 29628999663616.0, + -14938869334016.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "direct": [ + 1.2070242170112624e+23, + 1.1501784140230704e+23, + 9.81628296885988e+22, + 7.37956035653349e+22, + 4.820250292875562e+22, + 2.7145117120177656e+22, + 1.323537100775031e+22, + 5.77687556436081e+21, + 2.5077829761647074e+21, + 1.3295788803351225e+21, + 9.782016549719966e+20, + 8.906208688496674e+20, + 8.717875670925966e+20, + 8.677013851537737e+20, + 8.66201864059972e+20, + 8.650309509319675e+20, + 8.638367755951419e+20, + 8.625698812029073e+20, + 8.612206226510802e+20, + 8.597836919370837e+20, + 8.582539317758271e+20, + 8.56626128496336e+20, + 8.548949734774614e+20, + 8.53055042410569e+20, + 8.511008200917094e+20, + 8.490269325066539e+20, + 8.46827913626966e+20, + 8.444985939218205e+20, + 8.420338744249821e+20, + 8.394291372285466e+20, + 8.366800440209021e+20, + 8.337828933880187e+20, + 8.307346846361108e+20, + 8.275331756523382e+20, + 8.241771656091544e+20, + 8.206666133576124e+20, + 8.170027942332054e+20, + 8.131884859720123e+20, + 8.092281831445814e+20, + 8.051282435173088e+20, + 8.008970440351971e+20, + 7.965451340519651e+20, + 7.920854164373258e+20, + 7.875331768024366e+20, + 7.829061669789409e+20, + 7.782246508018405e+20, + 7.735113618907534e+20, + 7.687914019025994e+20, + 7.64092139048987e+20, + 7.59442929301192e+20, + 7.548749465718037e+20, + 7.504207828015278e+20, + 7.461140330505735e+20, + 7.419889525529516e+20, + 7.38079856991172e+20, + 7.34420652833302e+20, + 7.310442651911815e+20, + 7.279821132188941e+20, + 7.252634571196784e+20, + 7.229149833386206e+20, + 7.209602124041129e+20, + 7.194190489194846e+20, + 7.183074402271582e+20, + 7.176370056881996e+20, + 7.174148083637058e+20, + 7.176432399160473e+20, + 7.183199295523628e+20, + 7.194378351135852e+20, + 7.209853381545905e+20, + 7.229465357079255e+20, + 7.253014946553159e+20, + 7.280267011222143e+20, + 7.310955003750201e+20, + 7.344785488817654e+20, + 7.381444660749865e+20, + 7.420602634417723e+20, + 7.461920275001617e+20, + 7.50505362301819e+20, + 7.549660159041831e+20, + 7.59540303744787e+20, + 7.641955888514082e+20, + 7.689006992482653e+20, + 7.736261421344808e+20, + 7.783445919838977e+20, + 7.830308173064916e+20, + 7.876621448994837e+20, + 7.922181854768451e+20, + 7.966812355498553e+20, + 8.010359185329965e+20, + 8.05269424535013e+20, + 8.093710881879902e+20, + 8.133325937015747e+20, + 8.171475804190777e+20, + 8.208115929897952e+20, + 8.243218287783885e+20, + 8.276770730451464e+20, + 8.308773769291099e+20, + 8.3392399445e+20, + 8.368191346442597e+20, + 8.395659111246492e+20, + 8.421680719192537e+20, + 8.446298794335104e+20, + 8.46956116651151e+20, + 8.49151789961789e+20, + 8.51222227805586e+20, + 8.531728189043813e+20, + 8.550090539502169e+20, + 8.567363071381923e+20, + 8.583589047664889e+20, + 8.598729646963712e+20, + 8.612168905250517e+20, + 8.61984335045115e+20, + 8.600278201293953e+20, + 8.458216267946048e+20, + 7.838125343984892e+20, + 5.6281684492152164e+20, + -1.0658235180212252e+20, + -1.8454943741316285e+21, + -5.735834995346208e+21, + -1.3261615006114738e+22, + -2.590875015815517e+22, + -4.44692043991238e+22, + -6.838200722005452e+22, + -9.55418429676609e+22, + -1.2276235930683206e+23, + -1.4667836132477514e+23, + -1.6464131870889988e+23, + -1.7524552453364522e+23, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "direct_maximum_absolute": 1.7524552453364522e+23, + "eliminated": [ + 1.2070242170116226e+23, + 1.1501784140231016e+23, + 9.816282968859039e+22, + 7.37956035653571e+22, + 4.820250292877127e+22, + 2.7145117120185537e+22, + 1.3235371007687998e+22, + 5.776875564365608e+21, + 2.507782976237971e+21, + 1.3295788802668054e+21, + 9.782016550071138e+20, + 8.906208688482067e+20, + 8.71787567123694e+20, + 8.677013850351404e+20, + 8.662018641669483e+20, + 8.650309509165289e+20, + 8.638367755938618e+20, + 8.62569881143024e+20, + 8.612206227535978e+20, + 8.597836918476609e+20, + 8.582539317770191e+20, + 8.566261285324027e+20, + 8.548949734326079e+20, + 8.530550425032976e+20, + 8.511008200476677e+20, + 8.49026932496635e+20, + 8.468279136182799e+20, + 8.444985939181377e+20, + 8.420338744323139e+20, + 8.394291372669503e+20, + 8.366800440018887e+20, + 8.337828933338863e+20, + 8.307346846766903e+20, + 8.275331756701691e+20, + 8.241771655918087e+20, + 8.206666133727542e+20, + 8.170027942184663e+20, + 8.131884859620908e+20, + 8.092281831751449e+20, + 8.051282435137853e+20, + 8.008970439845397e+20, + 7.965451341169512e+20, + 7.920854163716532e+20, + 7.875331768336802e+20, + 7.829061670159171e+20, + 7.782246507466633e+20, + 7.73511361942764e+20, + 7.687914018282854e+20, + 7.640921391033009e+20, + 7.594429293170573e+20, + 7.548749465498287e+20, + 7.504207827716951e+20, + 7.46114033079598e+20, + 7.419889525612958e+20, + 7.380798569720153e+20, + 7.344206528759535e+20, + 7.310442651387936e+20, + 7.279821132189059e+20, + 7.252634571400307e+20, + 7.229149833537938e+20, + 7.209602123538806e+20, + 7.194190489696021e+20, + 7.183074401667365e+20, + 7.176370058047666e+20, + 7.174148082772037e+20, + 7.176432398845884e+20, + 7.183199296367741e+20, + 7.194378350817155e+20, + 7.209853381269058e+20, + 7.229465356788369e+20, + 7.253014947552433e+20, + 7.280267011112151e+20, + 7.310955002863522e+20, + 7.344785489274054e+20, + 7.381444660890336e+20, + 7.420602634422157e+20, + 7.461920274928604e+20, + 7.505053623103346e+20, + 7.549660158785257e+20, + 7.595403037630912e+20, + 7.641955888119818e+20, + 7.689006992683553e+20, + 7.736261422712403e+20, + 7.783445919031895e+20, + 7.830308171758908e+20, + 7.876621448958432e+20, + 7.922181856596669e+20, + 7.966812356896932e+20, + 8.010359178813635e+20, + 8.05269425158001e+20, + 8.093710881103398e+20, + 8.13332593034406e+20, + 8.171475813419931e+20, + 8.208115923128513e+20, + 8.243218295936464e+20, + 8.276770722274961e+20, + 8.308773773803972e+20, + 8.339239940283855e+20, + 8.368191357734128e+20, + 8.395659098003214e+20, + 8.421680723638286e+20, + 8.446298791726952e+20, + 8.469561162003069e+20, + 8.491517912108571e+20, + 8.512222272945593e+20, + 8.531728199094977e+20, + 8.550090524405283e+20, + 8.56736307110359e+20, + 8.583589052966417e+20, + 8.59872963439291e+20, + 8.61216892558153e+20, + 8.619843339057524e+20, + 8.600278227604743e+20, + 8.45821625445628e+20, + 7.838125311143915e+20, + 5.6281685480881324e+20, + -1.0658236893465223e+20, + -1.845494360459229e+21, + -5.7358350022228e+21, + -1.3261615006289767e+22, + -2.59087501527002e+22, + -4.446920438878694e+22, + -6.838200723500075e+22, + -9.554184297422663e+22, + -1.2276235930007144e+23, + -1.4667836131460895e+23, + -1.6464131873852888e+23, + -1.7524552451870635e+23, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "eliminated_maximum_absolute": 1.7524552451870635e+23, + "floor_active": false, + "independent_reference": { + "carrier_mapping": "original_global_phi0_log_n0_log_p0", + "fields": { + "n_m3": { + "hi": [ + 2515095827087.2163, + 2508793556569.751, + 2502128356816.4097, + 2495082142295.931, + 2487636278474.4326, + 2479771611760.0474, + 2471468507146.119, + 2462706894311.1123, + 2453466322938.608, + 2443726028022.0127, + 2433465005917.1533, + 2422662101884.697, + 2411296109814.3413, + 2399345884749.9995, + 2386790468727.7227, + 2373609230306.025, + 2359782017997.0684, + 2345289327603.3643, + 2330112483218.2134, + 2314233831361.998, + 2297636947398.2583, + 2280306853005.8447, + 2262230243075.164, + 2243395719959.727, + 2223794032548.07, + 2203418317141.2144, + 2182264336638.5864, + 2160330714066.603, + 2137619156044.961, + 2114134661405.4302, + 2089885709868.9055, + 2064884425484.6619, + 2039146709460.2244, + 2012692337085.1938, + 1985545013705.6772, + 1957732385150.4705, + 1929285998656.4119, + 1900241211201.4617, + 1870637043212.5535, + 1840515976864.171, + 1809923699589.7917, + 1778908794952.3235, + 1747522384610.7976, + 1715817726713.044, + 1683849777574.6487, + 1651674724890.1694, + 1619349501899.0103, + 1586931292816.3848, + 1554477040386.0605, + 1522042966564.7422, + 1489684117080.747, + 1457453939916.3828, + 1425403906655.3145, + 1393583184158.3115, + 1362038362238.938, + 1330813240989.501, + 1299948679251.8286, + 1269482503541.192, + 1239449474625.2947, + 1209881307037.1912, + 1180806735155.6152, + 1152251618197.267, + 1124239075590.4995, + 1096789643769.3392, + 1069921445448.7123, + 1043650362893.3096, + 1017990207530.0895, + 992952879408.9778, + 968548511405.5708, + 944785594590.3456, + 921671082761.981, + 899210475665.2421, + 877407881800.8455, + 856266062916.0201, + 835786463189.0469, + 815969226758.5752, + 796813207590.6589, + 778315975735.0449, + 760473823825.6174, + 743281777272.6177, + 726733611024.7078, + 710821875106.8975, + 695537930416.1503, + 680871995534.8212, + 666813204643.1118, + 653349676010.8588, + 640468590048.6233, + 628156275512.2384, + 616398302186.7079, + 605179578221.5637, + 594484450239.1688, + 584296804377.4333, + 574600166539.0944, + 565377800286.9463, + 556612801027.9886, + 548288185354.6927, + 540386974644.7102, + 532892272249.91125, + 525787333821.8336, + 519055630519.19586, + 512680905017.4415, + 506647220390.2183, + 500939002056.4905, + 495541073085.7169, + 490438683228.71277, + 485617532095.59656, + 481063786937.1741, + 476764095504.8203, + 472705594469.24835, + 468875913872.66327, + 465263178074.9349, + 461856003632.88684, + 458643494527.3232, + 455615235123.00745, + 452761281217.1405, + 450072149500.67847, + 447538805725.89215, + 445152651843.7661, + 442905512345.97314, + 440789620018.747, + 438797601290.55194, + 436922461331.1454, + 435157569037.3883, + 433496642021.3134, + 431933731698.16754, + 430463208557.2552, + 429079747685.11163, + 427778314598.9838, + 20310229596466.363, + 20257523606962.48, + 20201710023897.53, + 20142624834253.03, + 20080097822878.137, + 20013952665207.938, + 19944007074994.33, + 19870073014223.496, + 19791956972859.74, + 19709460326496.91, + 19622379780396.52, + 19530507908682.465, + 19433633797706.895, + 19331543802688.996, + 19224022426653.547, + 19110853330477.645, + 18991820482352.58, + 18866709454254.445, + 18735308871955.02, + 18597412023715.586, + 18452818631032.32, + 18301336782571.453, + 18142785029768.883, + 17976994639389.59, + 17803811994689.56, + 17623101132604.99, + 17434746399758.75, + 17238655204932.02, + 17034760840123.697, + 16823025336553.3, + 16603442315966.77, + 16376039791658.482, + 16140882867881.514, + 15898076280975.133, + 15647766720976.094, + 15390144868860.459, + 15125447082296.408, + 14853956662152.621, + 14576004633277.236, + 14291969976571.184, + 14002279255264.014, + 13707405586777.44, + 13407866922609.36, + 13104223612224.764, + 12797075242839.533, + 12487056764758.945, + 12174833931216.492, + 11861098101673.904, + 11546560477647.469, + 11231945859396.955, + 10917986029386.451, + 10605412883457.158, + 10294951442244.982, + 9987312882918.09, + 9683187734197.479, + 9383239375629.775, + 9088097975037.248, + 8798354986316.6, + 8514558313613.421, + 8237208228189.233, + 7966754101815.717, + 7703591996380.513, + 7448063124598.806, + 7200453172465.928, + 6960992451313.919, + 6729856826995.694, + 6507169356502.581, + 6293002548746.761, + 6087381156562.999, + 5890285401286.255, + 5701654529366.705, + 5521390602085.689, + 5349362424061.617, + 5185409523334.647, + 5029346104803.974, + 4880964909055.025, + 4740040919558.317, + 4606334872373.801, + 4479596533359.248, + 4359567718142.6494, + 4245985039477.4473, + 4138582374892.753, + 4037093054675.7944, + 3941251776128.5312, + 3850796254774.097, + 3765468626800.237, + 3685016619613.2686, + 3609194509072.0967, + 3537763882874.2217, + 3470494229838.8794, + 3407163374571.3086, + 3347557776325.391, + 3291472709920.295, + 3238712345385.1436, + 3189089741697.546, + 3142426768601.0625, + 3098553969089.895, + 3057310373775.2427, + 3018543277023.7764, + 2982107983514.992, + 2947867532698.446, + 2915692407573.764, + 2885460233245.932, + 2857055469848.0513, + 2830369103652.3184, + 2805298339511.5854, + 2781746297185.758, + 2759621713591.296, + 2738838652572.375, + 2719316223415.94, + 2700978309013.746, + 2683753304306.2134, + 2667573865418.993, + 2652376669721.556, + 2638102186880.1016, + 2624694460861.6416, + 2612100902744.092, + 2600272094111.1904, + 2589161600755.1313, + 2578725796359.826, + 2568923695812.758, + 2559716797764.202, + 2551068936046.652, + 2542946139553.5337, + 2535316500180.6323, + 2528150048433.195, + 2521418636310.5903, + 2515095827087.2163 + ], + "lo": [ + 0.0, + -3.223318857147991e-05, + 2.3856901393626532e-05, + 0.0001661574039848494, + -6.773738845238116e-05, + 3.336851911000181e-05, + 0.00011288242952226909, + -0.00023814792050984033, + 0.00010655456913139349, + -0.00014213359200216242, + -0.00019780556105839818, + -3.693658799196133e-05, + 0.00014906354467670587, + 0.00023006810210214824, + 6.714204793248569e-05, + 0.0001284675398159986, + 8.438490962945293e-05, + 6.643959385278453e-05, + 5.004046208553292e-06, + 0.00012019000312917109, + -0.00020991511992679668, + -8.591495594206172e-05, + 0.00017112229392942914, + -6.0044371039146364e-05, + 0.00017132255990985178, + 0.00015322820434883214, + 7.042641648620806e-05, + 5.5375102327230434e-05, + 1.927635777254016e-05, + 0.00011102304875162269, + 2.6916626823901382e-05, + 7.284248881492247e-06, + -7.360056161332866e-07, + -3.893004427273898e-05, + -1.7850239774120535e-05, + 5.8199846517570494e-05, + 0.00011475733388705047, + 7.207103948537273e-05, + -0.00011421650328174009, + -2.6612971683769015e-05, + -5.5149035619416606e-05, + -0.00010903044256711458, + 9.302952892888908e-05, + 9.918236214267493e-06, + -5.2126117723711024e-05, + 9.007542682551156e-05, + 0.00010280813273971117, + -8.090485993506165e-05, + 0.00010400332152069058, + -3.9728332902022365e-05, + -5.417238093399646e-05, + -1.1597466521813282e-05, + 2.4452988922079035e-05, + 8.965997951953217e-05, + -0.00011682792919344583, + -9.653204984063188e-05, + 6.86690394310795e-05, + -8.912767006853987e-05, + -9.282897033229777e-05, + 2.323032365402348e-05, + -9.040793763584824e-05, + 5.607587528907631e-05, + 1.948975961243522e-05, + -1.7956864838491893e-05, + -5.029600997130143e-05, + 4.453473945033853e-05, + 3.539637931646797e-05, + -2.7421003301939923e-05, + 5.698622683838727e-05, + 3.04207916118752e-05, + 4.9168666431846334e-05, + -4.424544621439621e-05, + -3.8241664657474345e-05, + 3.6038807290087416e-05, + 5.012321564295838e-05, + 3.451258869336928e-05, + 5.530641234538698e-05, + -4.648821189146326e-05, + 4.974345073466206e-05, + 1.54135388733066e-05, + 2.2890349153261797e-05, + -1.9935509703851857e-05, + 4.681123216344873e-06, + -1.368617464976746e-06, + -4.6882300134521094e-05, + 1.7759457753154782e-05, + -7.444415970024238e-07, + -5.279894575510684e-05, + 6.182490052584266e-06, + -5.95051795392766e-05, + 2.9614795345626088e-05, + 9.81507422663349e-06, + 3.084489834401847e-05, + 5.049103480622717e-05, + -2.255491048797021e-05, + 1.2690806606057642e-05, + -2.8800530047906434e-05, + 2.4675186411977915e-05, + 8.017024000482403e-06, + -5.601552628796075e-06, + 1.6075542584002356e-05, + 2.6209517401137104e-05, + 4.927149977849052e-06, + -3.362975233622277e-06, + -1.8267533797477892e-05, + 1.286735947597217e-05, + 2.27385367768985e-05, + -3.0309639822126305e-05, + -2.789678624179709e-05, + -2.9611434665874825e-05, + 2.126317597766894e-05, + 1.2864593052696449e-05, + -1.612573532585814e-05, + 1.8571780746843965e-06, + 1.070356004212723e-06, + -2.155572744554332e-05, + -5.877753172427622e-06, + 1.4085249780182196e-05, + 6.106524572505258e-06, + 8.523625322749639e-06, + 2.9301404902279026e-05, + 2.722975714538031e-05, + 5.6215197554340545e-06, + 1.8004983100442154e-05, + -2.8797672848691106e-05, + 3.6735860077054307e-06, + 3.1725378740166515e-06, + 9.323325009201825e-06, + 0.0009355084191483125, + 0.0013614028161902502, + -0.0017084628571669641, + 0.0008388609514991472, + -0.0016550394418233022, + 0.000875047964328684, + -0.0003446840352549443, + 0.0018158876147167267, + -9.536575232991747e-05, + -0.0017770831312329011, + -0.0013780742550415365, + 0.0018410943656849655, + -0.001136533532174742, + -0.0008663551901359949, + 0.0013566073191736952, + -0.0006148724738302673, + -6.944147144386474e-05, + 0.0010988535765353745, + 0.001465816428065573, + -0.0018296787083641984, + 0.0015714147130641931, + 0.0016721650659502823, + 0.00028590796629135245, + 0.0012610702956002183, + -9.343536265358833e-05, + 0.0006988847482400092, + -0.0007032242340746555, + -0.00011198438563237598, + -0.00035916903402178176, + -0.0008831494363625467, + 0.0007677288330681038, + 0.0005314782743878243, + -0.00010786533571205924, + 7.321714324678711e-05, + -0.00036425015887471134, + -2.01852318718452e-05, + 0.0007094778301423157, + -0.000422528000671896, + -0.000279525620474125, + 0.0004996394257782077, + 0.00023417629580927074, + -0.0004267141792929217, + -0.0005009738443915376, + -0.0007554164490668196, + 0.0008327915119781554, + 0.0006883978166346048, + 0.0004739334963233116, + 0.0003241131719793727, + -6.748681525623276e-05, + -7.756675288370489e-05, + -0.0005047064817249616, + 0.0004906831342944923, + 0.0007538565658814619, + -0.0005464515521121392, + 0.00027737406740993456, + 0.00023129139234418604, + 0.0005358600243659774, + -0.00013480164794006517, + -0.00010114584549807388, + -0.00038798984505886906, + 0.00023513528517313866, + 0.0004540767623794473, + 0.0004084198106275407, + 0.00042129048064132335, + 0.00013055980004428194, + 0.00041171885858533796, + -0.0003548235806161967, + -0.00015262161406144278, + 0.00026531916406534353, + 0.0003695691548025762, + 0.00027894940812406695, + 0.0004754165640725633, + 0.00019910797095300053, + 0.00023758174552140516, + 0.00030369707905397844, + -0.0004336637544171786, + 0.0003636715107271173, + 0.0002574814268255511, + -0.00010150821221032194, + -0.00021008851434394502, + -0.00023953958828732238, + 0.00012784006103741714, + -8.420336627362306e-05, + -0.00011535051713279625, + -0.00010448920612121727, + -0.00012923126253889416, + 0.00019628687206090146, + 0.00014271952876777983, + 0.0001254286066654142, + 0.0002382648761027, + -0.00019658170385766888, + 8.320914487810953e-05, + 0.00016794086655312255, + 0.0002353086706145115, + 0.0001254438118317119, + 0.0001687837449100405, + -0.00024121236829415248, + 0.0001448476965717278, + -9.002761358770043e-05, + 0.00023058166885328837, + 0.00019594579973731928, + 0.00016931004669201564, + -0.00016297555445301488, + -5.23349089101809e-06, + 0.00022299979755426597, + -4.3942040041766906e-05, + -2.9992701165400714e-05, + -0.0001316594390337718, + -1.879447656230724e-05, + 4.879416322268684e-05, + -0.00013394135515916694, + -0.0002195539380438499, + 0.00011640080164414943, + -2.0858800544316664e-05, + 0.00020617119543334315, + 0.00021623027498309292, + 0.00014482950518842648, + 7.724390005410168e-05, + -4.713457548515542e-05, + -1.1340966437905726e-05, + -0.000111739180666733, + -8.544307848563771e-05, + 6.939812800268967e-05, + -0.00021703176625197828, + -2.300229177918875e-05, + -0.00021882621907625712, + -3.474082165305639e-05, + 0.0 + ] + }, + "p_m3": { + "hi": [ + 2515095827087.2163, + 2521367279757.543, + 2528033174153.736, + 2535117617431.683, + 2542646095752.224, + 2550645540242.4775, + 2559144394220.4565, + 2568172681411.263, + 2577762074833.311, + 2587945965971.6104, + 2598759533766.7915, + 2610239812866.4434, + 2622425760485.372, + 2635358321129.448, + 2649080488333.3687, + 2663637362445.0522, + 2679076203374.791, + 2695446477096.2056, + 2712799894554.0913, + 2731190441503.443, + 2750674397665.1665, + 2771310343460.1147, + 2793159152458.5083, + 2816283967580.8145, + 2840750159002.612, + 2866625261662.0967, + 2893978890259.956, + 2922882629676.489, + 2953409898832.8687, + 2985635786194.431, + 3019636855374.031, + 3055490919650.0225, + 3093276784671.604, + 3133073959204.1055, + 3174962334460.362, + 3219021833365.868, + 3265332032027.3677, + 3313971756670.731, + 3365018660375.3843, + 3418548785016.4023, + 3474636114873.764, + 3533352129327.0947, + 3594765362838.129, + 3658940980972.393, + 3725940381405.7715, + 3795820828658.1284, + 3868635130585.8003, + 3944431363415.004, + 4023252650260.43, + 4105136995662.393, + 4190117175743.954, + 4278220680209.513, + 4369469698759.74, + 4463881140748.47, + 4561466673320.977, + 4662232760092.123, + 4766180679959.373, + 4873306504135.483, + 4983601009213.39, + 5097049505182.932, + 5213631559942.497, + 5333320605995.522, + 5456083420582.814, + 5581879477303.453, + 5710660174979.344, + 5842367957773.658, + 5976935348873.474, + 6114283927960.805, + 6254323289680.816, + 6396950025928.471, + 6542046778632.871, + 6689481411486.201, + 6839106348563.47, + 6990758124947.579, + 7144257189375.337, + 7299407991739.538, + 7455999379377.984, + 7613805315815.603, + 7772585924536.681, + 7932088848986.19, + 8092050908839.527, + 8252200022221.34, + 8412257354442.369, + 8571939646341.107, + 8730961669805.919, + 8889038754645.217, + 9045889329783.824, + 9201237422682.248, + 9354815063816.371, + 9506364547720.564, + 9655640508172.94, + 9802411772288.799, + 9946462966128.262, + 10087595852591.16, + 10225630390520.422, + 10360405511701.871, + 10491779619629.586, + 10619630820262.77, + 10743856900387.752, + 10864375073592.004, + 10981121517121.08, + 11094050725182.15, + 11203134705523.145, + 11308362046510.031, + 11409736881568.355, + 11507277776797.191, + 11601016566047.281, + 11690997155807.504, + 11777274320029.117, + 11859912502657.312, + 11938984643194.385, + 12014571038189.3, + 12086758249203.982, + 12155638065579.512, + 12221306528280.953, + 12283863019214.447, + 12343409418773.37, + 12400049332891.9, + 12453887389658.219, + 12505028604484.443, + 12553577811982.691, + 12599639162034.818, + 12643315677036.852, + 12684708866935.873, + 12723918398392.47, + 12761041814253.53, + 12796174299400.578, + 12829408489027.62, + 270366784497.99127, + 271213840012.54465, + 272115639251.09064, + 273075724247.7685, + 274097866246.03827, + 275186080436.0183, + 276344641607.46655, + 277578100767.5307, + 278891302772.8595, + 280289405026.47986, + 281777897289.18024, + 283362622655.00867, + 285049799737.996, + 286846046115.01746, + 288758403065.62366, + 290794361643.78876, + 292961890109.58417, + 295269462738.6125, + 297726090015.19147, + 300341350199.73303, + 303125422241.65424, + 306089119986.1271, + 309243927594.7075, + 312602036066.3318, + 316176380704.597, + 319980679330.6356, + 324029470984.58887, + 328338154794.5763, + 332923028617.8102, + 337801326972.6524, + 342991257684.3458, + 348512036557.7137, + 354383919269.1135, + 360628229535.9076, + 367267382475.56573, + 374324901909.7554, + 381825430202.461, + 389794729047.67596, + 398259669447.3006, + 407248208945.3567, + 416789354020.4967, + 426913105390.0796, + 437650383857.46716, + 449032934251.30774, + 461093204971.9163, + 473864200694.4149, + 487379305892.0854, + 501672077056.5531, + 516776001816.89453, + 532724223614.49884, + 549549231185.69415, + 567282512847.5061, + 585954176478.6415, + 605592537130.7015, + 626223675383.3652, + 647870970847.1696, + 670554616586.6742, + 694291121637.2378, + 719092810168.9679, + 744967327140.834, + 771917161419.2949, + 799939198228.7788, + 829024313384.6079, + 859157021958.8011, + 890315193792.2465, + 922469847548.6261, + 955585033788.8749, + 989617815835.7838, + 1024518355032.4542, + 1060230104438.0295, + 1096690112140.4598, + 1133829432310.5955, + 1171573639005.029, + 1209843434684.1333, + 1248555342585.442, + 1287622469606.7905, + 1326955324330.4646, + 1366462673331.1855, + 1406052418032.672, + 1445632474120.1943, + 1485111635884.403, + 1524400408818.3281, + 1563411795248.7786, + 1602062019675.751, + 1640271182702.531, + 1677963834867.787, + 1715069464216.3196, + 1751522893967.736, + 1787264589065.5356, + 1822240872630.6748, + 1856404055337.402, + 1889712482441.4082, + 1922130504577.4036, + 1953628379509.214, + 1984182112758.3796, + 2013773245476.1343, + 2042388598086.1008, + 2070019978142.5913, + 2096663860566.437, + 2122321047962.9258, + 2146996318153.3943, + 2170698065378.7063, + 2193437940913.1057, + 2215230498073.481, + 2236092845860.42, + 2256044314738.2676, + 2275106137365.5, + 2293301146443.198, + 2310653491262.7993, + 2327188374004.504, + 2342931806379.371, + 2357910386806.353, + 2372151097981.4834, + 2385681124413.7583, + 2398527689284.081, + 2410717909801.064, + 2422278670101.468, + 2433236510648.1304, + 2443617533017.8643, + 2453447318943.5083, + 2462750862462.6904, + 2471552514043.6216, + 2479875935578.507, + 2487744065182.554, + 2495179090778.313, + 2502202431506.3027, + 2508834726057.0737, + 2515095827087.2163 + ], + "lo": [ + 0.0, + -4.9009591820977226e-05, + -0.00010854199596051362, + -0.00021574862261275804, + 0.00024055226738782927, + 0.0001845307346480299, + 6.975425388747468e-05, + -0.0001800406973839028, + 0.0001975765038569948, + 2.1924556256655648e-05, + -0.00017554298140202854, + -0.0001880462785679197, + -9.784003424112491e-05, + -2.5096512406908176e-05, + 0.0001663224167005269, + -9.788144367594995e-05, + 0.0002333444111001659, + 7.251625490277647e-05, + 0.00023255976676603935, + -0.00020058878975559957, + 3.12946218411901e-05, + 0.00013264552511135924, + 4.274420434277704e-05, + -9.0610891585428e-06, + 0.00018383427839604652, + 0.000238560521731728, + -0.00023324178041986163, + -0.00016941742450048944, + 0.00017833333465815972, + -1.350418961078057e-05, + -6.936683993793896e-05, + -7.960614897775935e-05, + 6.702729165451214e-05, + -8.788505790086845e-06, + -0.0001887496343311931, + 0.0002110149092525903, + 0.00022759816977168415, + 8.208281657686122e-06, + 0.0002227917670608336, + -0.0001062965490903457, + -7.94282587823732e-05, + 0.0001797365463240893, + -0.00010701045387218527, + 7.119570744770759e-05, + -0.00022935092261378015, + -0.00010257860593511241, + 0.00019784534298141802, + -5.557826489980055e-05, + 1.229642878478989e-05, + 0.00021741393183035492, + 6.248472383026739e-05, + -1.2389559966035811e-05, + -0.0002321923313996487, + -0.00010121963870984221, + -9.172446707851717e-05, + -0.0002229110990791723, + -0.00042418777987470694, + -0.0001541836354548964, + 6.181551777990777e-05, + 0.0004824582028432903, + -0.00044692899770672906, + 1.0376977518023202e-05, + -0.00012378092826733473, + -0.00018187019595300403, + 6.256263398156478e-05, + -0.0001495399176717106, + 0.00019925236913843322, + -0.0002265373865386006, + 1.137804910460323e-05, + -0.0001557789017069542, + -0.00018234064260920534, + 0.0004279266598363081, + -0.00039968165832876014, + -0.0003930532940942793, + 0.0004856578101737055, + 2.723570956634623e-05, + 1.5059062781064144e-06, + 0.00042593144300181, + -0.0004550012032014252, + -0.00017855889002477935, + 0.00034967122351241064, + 0.00025154635077248187, + 0.0003989369803050436, + -0.00020218707623668707, + 0.00035394457938711524, + 0.0001975529510869286, + 0.0006381253097701554, + 0.0008901380833258528, + 0.0001123222305584507, + -0.00042983766924510776, + -7.408751239156819e-06, + 0.00024843555408495026, + -6.556658439035292e-05, + 6.67507538384794e-05, + -0.0009324409397208542, + 0.0005719407769383834, + 0.0009098991197677326, + 0.0003833186900209205, + 0.0002293420393698487, + -0.0003374032830517406, + 0.0006981638965991891, + 0.00012632370833402852, + 0.0007889464766102998, + 0.0006285640320235255, + -0.00024911435819050323, + 0.0007465893121491542, + -0.00012438534060742136, + -0.0008127618360544866, + 3.685670949127982e-05, + 7.399556515831029e-05, + -5.988396673574916e-05, + -0.000747941587937539, + -0.0008829721665701096, + 1.4562521042056853e-05, + -0.000588592468672043, + -3.954532671869777e-05, + 0.0009281752160031004, + -0.0008928118851957655, + -0.0005312180725083685, + -0.00011685399066137393, + -0.00036287399917656407, + -0.00045033301970497645, + -0.0005212640917164022, + -0.00018464420169869695, + 0.0003128865559073862, + -0.00030499950834933216, + 0.0002132091239172282, + -0.0006792405742203321, + 1.338311492948373e-05, + 4.41037863489195e-06, + 1.1711679466342792e-05, + -5.520235042037926e-06, + 1.8342845882841477e-06, + -9.653658827918108e-06, + -1.937741004030605e-05, + 3.010498337413397e-05, + 2.0079652154894393e-05, + -2.1330583708970936e-05, + -2.1540407081745476e-05, + -2.244673002032119e-05, + 1.1692470347381e-05, + -1.1283160426769493e-05, + -8.631756425639274e-06, + -2.9650643840422676e-05, + -3.4465669681574873e-06, + 2.2371532970861543e-05, + -8.207957065331142e-08, + 9.325907867077403e-06, + -3.328499497721478e-06, + 1.1688076683266432e-05, + 2.318501722684041e-05, + -9.287814475272795e-06, + 2.760842837072064e-05, + -1.0696609792626444e-05, + -7.566509953169831e-06, + -2.414426043712605e-05, + 1.4591238674893342e-05, + 2.6593468476689297e-05, + -6.530109059922512e-06, + 7.986562244037102e-06, + 1.6798235626112833e-05, + 2.355624367967276e-06, + 4.899135646327836e-06, + 3.3513827505735566e-06, + 1.895364493389183e-06, + -2.4895677824676526e-05, + -9.416101535696134e-06, + 4.503927763977813e-06, + -2.533933887272397e-05, + 2.3317084464056613e-05, + 1.1802971405588062e-06, + 2.8463792375310356e-05, + -1.4289532846206062e-05, + 1.740633898796465e-05, + -6.668127338680313e-06, + 1.798799431830136e-05, + -9.656733345236271e-06, + -3.045419300234186e-05, + -6.6846946109909755e-06, + -5.024280473667565e-05, + -2.6499154237058297e-05, + 4.342136486953236e-06, + 7.884513777486383e-06, + -4.311002398803069e-05, + -5.509450450782904e-06, + 1.7452578944468146e-05, + 5.158279243803187e-05, + 1.83241192975392e-05, + -4.911112638566394e-05, + -1.5296321105422868e-05, + 4.562322489928561e-05, + 1.215321403743008e-05, + 3.6177669598246705e-05, + 3.72890398216556e-05, + -7.883914685375218e-06, + 3.210674825956248e-05, + 1.02509599709432e-05, + -5.689250487311702e-05, + -3.932270736356521e-05, + 7.809695308563627e-05, + 8.679441579532385e-05, + -6.227448540524819e-05, + 1.4747591258891757e-05, + 2.8142872823230924e-06, + -7.68365879117389e-06, + 6.177038714240528e-05, + -0.00010163479724571787, + -9.942785038058713e-06, + -8.412400279620253e-06, + -6.6288863732528e-05, + -0.00012177453649453519, + 3.749284578196439e-05, + -7.547012371379396e-05, + -5.8651083492900105e-05, + 5.24385154621594e-05, + -3.650507550770919e-05, + 0.00010716407274204202, + 9.273526188320929e-05, + 0.00010231324960415802, + -8.65891202904208e-05, + 6.171299852858047e-05, + 1.4174494153401429e-05, + 8.242516438660922e-05, + 2.5409538440300088e-05, + 8.990363235059686e-05, + -9.499757279858065e-05, + 6.76761441236179e-05, + -0.00010709717801861158, + 6.399966048047497e-05, + 3.1284344369271936e-05, + -4.906768865478021e-05, + -2.2221755506013364e-05, + 3.3323692179012592e-06, + -0.00024254996172146998, + -0.00023616125050264088, + 0.00023716275289002665, + -4.8847023120186147e-05, + -0.00020681828959788443, + 0.00022149629627595153, + -2.5654758039876213e-05, + 0.00016919326824069272, + -5.957206103012928e-05, + 0.00019126241187253436, + 9.800727037504977e-05, + 0.00012320759758822076, + -0.00020156729024505254, + -0.0001878032788136826, + 0.00021265812269234897, + -0.00010406293705202916, + -0.00012542793594071656, + -0.00024397970583448558, + 3.343328320499187e-06, + -8.605801028803602e-05, + -0.00020538027137976275, + 0.00010476621607706686, + 0.0 + ] + }, + "phi_V": { + "hi": [ + 0.0, + -6.297052241862838e-05, + -0.00012973140807112697, + -0.00020049298681713693, + -0.00027547499473662337, + -0.00035490670097586497, + -0.0004390269922342182, + -0.0005280844080505578, + -0.0006223371195783045, + -0.0007220528439419387, + -0.000827508685607957, + -0.0009389908955894945, + -0.0010567945387993736, + -0.001181223059478395, + -0.0013125877343526074, + -0.0014512070030307678, + -0.0015974056651752537, + -0.0017515139342070094, + -0.0019138663377819215, + -0.002084800456046985, + -0.002264655489796514, + -0.0024537706521475136, + -0.002652483379284278, + -0.0028611273582263667, + -0.003080030372485869, + -0.0033095119699242527, + -0.003549880961106405, + -0.003801432760972928, + -0.0040644465916806725, + -0.004339182569938021, + -0.004625878707995079, + -0.004924747863512433, + -0.005235974679658036, + -0.005559712562760597, + -0.005896080750428817, + -0.006245161527937653, + -0.006606997654563746, + -0.006981590064074933, + -0.007368895904389881, + -0.007768826980178566, + -0.00818124865856123, + -0.008605979291830849, + -0.009042790202108098, + -0.009491406260991908, + -0.009951507082691982, + -0.010422728832088855, + -0.010904666630113776, + -0.011396877518414643, + -0.011898883924297152, + -0.01241017754637954, + -0.012930223562370278, + -0.013458465044024507, + -0.013994327451800917, + -0.014537223074076802, + -0.015086555273859213, + -0.015641722410365353, + -0.01620212131391356, + -0.01676715021015366, + -0.01733621101323932, + -0.017908710936152965, + -0.018484063398697237, + -0.01906168824801135, + -0.019641011340980393, + -0.020221463570608025, + -0.020802479447383223, + -0.021383495370131362, + -0.021963947737348263, + -0.022543271058538972, + -0.023120896225082916, + -0.023696249091623735, + -0.024268749502473628, + -0.024837810874062095, + -0.025402840415498718, + -0.025963240036617017, + -0.02651840795835661, + -0.02706774100599649, + -0.027610637533448713, + -0.028146500898213883, + -0.028674743383026044, + -0.029194790442627044, + -0.029706085143042578, + -0.030208092656296665, + -0.030700304675421706, + -0.03118224362228493, + -0.03165346653328658, + -0.032113568524338804, + -0.032562185755563466, + -0.03299899783669796, + -0.03342372963517529, + -0.03383615246927094, + -0.03423608468776251, + -0.03462339165458863, + -0.034997985171571024, + -0.03535982238410891, + -0.035708904223771494, + -0.03604527344794658, + -0.03636901234031666, + -0.03668024013717894, + -0.03697911024381468, + -0.037265807302590555, + -0.03754054417059343, + -0.03780355885970839, + -0.03805511148646861, + -0.03829548127302701, + -0.03852496363447336, + -0.03874386738165749, + -0.03895251206284484, + -0.03915122546205487, + -0.039340341266903125, + -0.03952019691424477, + -0.039691131617929976, + -0.03985348457953681, + -0.04000759338003601, + -0.040153792547937425, + -0.04029241229753659, + -0.04042377742937983, + -0.04054820638395134, + -0.040666010438808825, + -0.040777493038911206, + -0.04088294924965333, + -0.04098266532211657, + -0.04107691836022761, + -0.04116597607984577, + -0.04125009665021957, + -0.041329528608715506, + -0.04140451084020297, + -0.041475272612982464, + -0.04154203366368111, + -0.04166807611400069, + -0.0417350015832959, + -0.04180606242973544, + -0.04188150207519344, + -0.04196157670113877, + -0.042046555711864206, + -0.042136722185849185, + -0.042232373310095495, + -0.0423338207915689, + -0.04244139123911453, + -0.04255542650838978, + -0.04267628400147741, + -0.0428043369119053, + -0.04293997440481459, + -0.04308360172098947, + -0.04323564019240209, + -0.04339652715584586, + -0.0435667157501472, + -0.04374667458138151, + -0.04393688723949627, + -0.044137851648796786, + -0.044350079233911335, + -0.04457409388216594, + -0.04481043068281194, + -0.04505963442331683, + -0.045322257823010074, + -0.04559885948483733, + -0.04589000154688902, + -0.0461962470168069, + -0.0465181567742111, + -0.046856286229005874, + -0.04721118162688705, + -0.04758337599765331, + -0.04797338474707067, + -0.04838170089909236, + -0.048808790002212, + -0.04925508472161285, + -0.049720979147526594, + -0.05020682285974503, + -0.05071291479840724, + -0.05123949700183159, + -0.051786748283043124, + -0.052354777927471834, + -0.0529436195047253, + -0.05355322489697739, + -0.05418345865493306, + -0.05483409279906655, + -0.05550480218841564, + -0.05619516058118497, + -0.056904637510336656, + -0.05763259609285562, + -0.05837829188318661, + -0.05914087286928095, + -0.05991938069373547, + -0.06071275316278509, + -0.061519828082732424, + -0.06233934843724901, + -0.06316996889052841, + -0.06401026357133224, + -0.06485873506250259, + -0.06571382449056509, + -0.06657392258171062, + -0.06743738152480577, + -0.06830252746016163, + -0.06916767339548738, + -0.07003113233849236, + -0.07089123042948826, + -0.0717463198573427, + -0.0725947913482479, + -0.07343508602873122, + -0.07426570648163683, + -0.07508522683572874, + -0.07589230175520317, + -0.0766856742237346, + -0.07746418204762877, + -0.0782267630331239, + -0.0789724588228203, + -0.07970041740467286, + -0.08040989433312991, + -0.08110025272518011, + -0.08177096211378919, + -0.08242159625716539, + -0.08305183001435003, + -0.08366143540582081, + -0.08425027698228602, + -0.08481830662592266, + -0.08536555790634133, + -0.08589214010897485, + -0.0863982320468509, + -0.08688407575829027, + -0.08734997018343425, + -0.08779626490207668, + -0.08822335400445103, + -0.08863167015574216, + -0.08902167890444511, + -0.0893938732745143, + -0.08974876867171674, + -0.09008689812585197, + -0.09040880788261649, + -0.09071505335191504, + -0.09100619541336814, + -0.09128279707461778, + -0.09154542047375451, + -0.09179462421372393, + -0.09203096101385545, + -0.09225497566161638, + -0.09246720324625776, + -0.09266816765510534, + -0.09285838031278694, + -0.09303833914360744, + -0.09320852773751388, + -0.09336941470058108, + -0.09352145317163499, + -0.09366508048746838, + -0.09380071798005288, + -0.09392877089017204, + -0.09404962838296643, + -0.09416366365196335, + -0.09427123409924493, + -0.094372681580468, + -0.0944683327044771, + -0.09455849917823743, + -0.09464347818875019, + -0.0947235528144943, + -0.09479899245976196, + -0.09487005330602157, + -0.09493697877514672, + -0.09499999999999964 + ], + "lo": [ + 0.0, + 1.217809408416033e-21, + 7.626814680191592e-21, + -9.91862770523334e-21, + 1.8874063554127567e-20, + 9.341011100230937e-21, + -8.044540208327576e-23, + -4.3464920469289416e-20, + 5.267598683068874e-20, + 1.707694144140569e-20, + -5.328255609761496e-20, + 1.2176676787945914e-20, + -7.975838132005577e-21, + 1.6175177789824517e-20, + -7.648169891360757e-20, + -1.4227350848490863e-20, + 9.395677679729346e-20, + -9.929794101081945e-20, + -7.491181108368416e-20, + 1.165689550273153e-19, + 2.129614876433429e-19, + -1.1733857107770095e-19, + 9.95119376089708e-20, + 2.1357186481821055e-19, + 3.8294600062410735e-20, + 1.6252621918102653e-19, + -1.6238630184012737e-19, + 1.669597158289054e-19, + 9.133336666940008e-20, + 5.575634686261486e-20, + 3.587506329055318e-19, + -2.4000508685043175e-19, + 4.0402705933606867e-19, + 2.3490857820667154e-19, + -3.2990504612904524e-19, + 8.364832762536604e-20, + -2.153097092238963e-19, + 3.2923750474825773e-19, + -3.2001264269623794e-19, + -3.173397202387075e-19, + -6.04603239312149e-19, + -4.179744633596049e-19, + 5.814840104480614e-19, + 2.2281627188502335e-19, + 6.833903907980248e-19, + -8.6376336598174e-19, + 5.380264294499017e-19, + 4.4456833774575675e-19, + -4.2152935789926853e-19, + -8.199952885058712e-19, + -7.393193128040315e-19, + -2.665036118380952e-19, + -2.3715524359438774e-19, + 4.961114187443071e-19, + -5.696140398513111e-19, + 1.023908963480417e-18, + 3.775482616871296e-19, + -1.1091949551008381e-18, + -8.839571274133198e-19, + -1.237330236813589e-18, + -6.573963033217877e-20, + -2.7499813599186963e-19, + 7.202108264766752e-19, + 1.1257191284175914e-18, + -4.093892619831988e-19, + -1.5751949648922984e-18, + -9.009489637425392e-20, + -3.3930089622280963e-19, + -1.0288068417455454e-18, + -3.504263420513154e-19, + 2.571955896961886e-19, + -1.0295402121723371e-18, + -1.6551619394986466e-19, + -1.525812246258884e-18, + -1.3361613027583952e-18, + -1.5528463421598879e-18, + 1.5217696124652356e-18, + 4.1581960316165275e-19, + -1.1132405888709353e-18, + -1.6954326067392784e-18, + -6.704518487596479e-19, + 8.0238210522568775e-19, + -1.4039143020119777e-18, + 9.894342056517334e-19, + -2.434061217435535e-18, + 5.247171612401036e-19, + -1.9742498284704874e-18, + 3.151358619628718e-18, + 5.783793245187569e-19, + -1.7045878431909544e-18, + 2.2433100434323114e-18, + 3.9785704289161404e-19, + 2.90155640876426e-18, + 2.0433138400841377e-20, + 9.844525750350718e-19, + 1.3358163985957936e-18, + 1.2107098436563701e-18, + -4.156178280975881e-19, + -2.3408007338040534e-18, + -2.1255930320389403e-19, + 2.9892658764336285e-19, + 9.52350239716643e-19, + 1.3933439779446925e-18, + 3.094751621222107e-18, + -3.0652592167069595e-18, + 1.5449658228288724e-18, + -3.369974907597212e-18, + 1.1180954959866572e-18, + 2.450849560827284e-18, + -6.504370485859078e-19, + -2.4035164383805784e-21, + 7.54006268368864e-19, + 9.283767608689918e-19, + -2.555598889656273e-18, + -1.1816436412254868e-18, + -1.4016059460868238e-18, + 2.316316465097717e-18, + 1.7202957006619885e-18, + -1.4852729490656004e-18, + 3.4268321424568324e-18, + 8.485703231028998e-19, + -2.656483391945168e-18, + -1.9209275051044003e-18, + -3.3832840366068847e-18, + 2.3458052163766844e-18, + 5.994942068353586e-19, + -1.7551208673857177e-19, + 1.062252758955972e-18, + -4.801408866388748e-19, + -8.453466896028203e-19, + -1.3314620456628587e-19, + 2.223865560561328e-18, + 1.9871684612721527e-18, + -1.7387927358459595e-18, + -3.333445595645101e-19, + 1.8619233635477654e-18, + 7.228876363594116e-19, + 3.2709292072786206e-18, + 2.5891312021570018e-18, + 3.190647640662726e-18, + -2.821431170042408e-18, + 1.0437290689224735e-18, + 3.247626463334971e-18, + -3.196623688140921e-18, + 2.312252888935779e-18, + 1.7373604304399395e-18, + 5.495368627364691e-19, + 1.910886385467712e-18, + 4.84958955079531e-19, + -1.1522210432280624e-18, + 8.330428335408128e-19, + 7.0920090089412705e-19, + -2.046676568106332e-19, + -1.0741051293055327e-18, + -1.2757537513634201e-18, + 1.0175302837139359e-18, + -1.3288225408651388e-18, + -2.272251154336021e-18, + 2.371531384961092e-19, + 2.4904754505562473e-19, + 3.325762752271125e-18, + -2.9966964947680185e-18, + -1.5705350293614642e-18, + -2.3099308387645557e-18, + 2.4920747764819173e-18, + 3.0918383836010193e-18, + 2.4559733849150425e-18, + 1.2140456328285535e-18, + -1.582030096864782e-18, + -3.3515669816310247e-18, + -6.438000439705965e-19, + 3.5475102540108953e-19, + 3.089454873692933e-18, + 1.743185281135169e-18, + 7.773087149657032e-19, + -9.78248499357767e-19, + 2.7978817500244227e-18, + 2.735782707250893e-18, + -3.0074124168771355e-18, + -1.2554306406682241e-18, + -4.3914327012355e-19, + 3.465609108490188e-18, + -4.222448336710447e-19, + -2.5232203428277078e-18, + 1.3013568171403391e-18, + 3.584510773892545e-18, + 4.195737586688413e-18, + -4.526137988113658e-18, + -5.872416224683138e-19, + 1.8120810473723868e-18, + -2.521023800879626e-18, + -4.330743308338303e-18, + 3.442573751521229e-18, + -6.715119613918469e-18, + -1.760246836439231e-18, + 5.895474374198294e-18, + 4.37723066166364e-18, + 3.4855672116528385e-18, + -2.204247814520849e-18, + 2.118767363176871e-18, + -3.195629012963919e-18, + -6.907389133100961e-18, + 6.336112308811651e-18, + 4.272575596792616e-18, + 8.963499740918473e-19, + -2.4774659643611264e-18, + -6.032609848522009e-18, + -1.597208621205967e-18, + 6.7968817681165055e-18, + 6.89137853438458e-18, + -5.247926453693558e-18, + -4.7813835602304386e-18, + 1.9372766539639284e-18, + 5.087930248208848e-18, + 5.043493686750446e-18, + 5.397029035238066e-18, + 6.673219156633894e-18, + -4.0112081420049284e-19, + 2.7075671507939068e-18, + 2.51290290597947e-18, + 1.9341662453654514e-18, + 5.7488674648669926e-18, + -5.9431927094640174e-18, + 3.678744607332548e-18, + 6.353630241562062e-18, + -3.685465190826466e-18, + 6.70989629351922e-18, + -1.2840701462637466e-18, + 3.5638335361195176e-19, + -6.8214913659216204e-18, + 2.765669778612455e-19, + -5.455476013386254e-18, + -6.923803859941892e-19, + -5.0878614800519595e-18, + -1.3772659470783568e-18, + -6.092920277900279e-19, + -3.15202071762212e-18, + -3.522172699248636e-18, + -2.3981886833767235e-18, + -4.049490743546215e-18, + 2.85431753431129e-18, + 2.663759358149019e-19, + 5.5817553926288725e-18, + 7.621895867845695e-19, + 7.973534827575529e-19, + 5.000591149179706e-18, + -4.247920568213791e-18, + -5.619855486577243e-18, + 1.428423754254001e-18, + -4.449817931356419e-18, + -6.4315650932343424e-18, + 3.907981498833267e-18, + -2.1606628171029935e-18, + -2.8703081236509028e-18, + -1.6005238800789744e-18, + 0.0 + ] + }, + "poisson_residual_C_m2": { + "hi": [ + 4.892995235297772e-37, + -2.0350745948610852e-37, + -4.026068151566335e-37, + 3.901171876791467e-37, + 1.6860997094607186e-37, + -1.3518185034456306e-37, + 4.672590044518593e-37, + 8.228460455756013e-38, + -3.790969281401877e-37, + -1.5501831751468917e-36, + 1.2500647737025764e-36, + 2.174664549021232e-37, + 9.4039548065783e-37, + -2.2642959932714313e-36, + 2.6771883839977598e-36, + -2.5996792252404152e-36, + 5.348499296241408e-37, + -1.4884697217287216e-36, + 3.382484994491132e-36, + -3.562849908945427e-36, + 5.0634419161670034e-36, + -4.463939797247637e-36, + 2.1335222467424518e-36, + -1.1049646897729503e-36, + -5.759922319029209e-37, + 4.137740114894452e-36, + -4.502143363649361e-36, + 9.4039548065783e-37, + -1.0314962928465573e-36, + 2.6507397611042583e-36, + 5.701147601488094e-37, + -4.411042551460634e-36, + 2.4685381367268038e-36, + 1.86021981017627e-36, + -2.436212042079191e-36, + 1.181371822576399e-36, + 1.0814548027565045e-36, + -4.178882417173232e-36, + 5.154542728355731e-36, + -3.805662960787156e-36, + 3.805662960787156e-36, + -3.273751767040071e-36, + 1.4458580515114136e-36, + -3.115060029679062e-37, + 3.291384182302405e-37, + -2.0835637368325046e-36, + 1.5913254774256717e-36, + -4.3316966827801295e-36, + 3.55587041123742e-36, + 3.059224048015003e-36, + -1.776465837680182e-36, + -3.0680402556461704e-36, + 3.594073977639144e-36, + -4.796016951354933e-36, + 7.241045201065291e-36, + 4.731364762059707e-37, + -9.639053676742758e-36, + 1.009014963387081e-35, + -6.350608230317408e-36, + 8.728045554855485e-37, + 1.3812058622161878e-36, + 2.9005323106539944e-36, + -6.286323383006814e-36, + 2.0467152484665578e-36, + 9.073347020409532e-37, + -5.039932029150558e-37, + -5.260337219929737e-37, + 3.394239937999355e-36, + -3.623461336409701e-36, + 3.644032487549091e-36, + -5.273561531376487e-36, + 4.881240291789549e-36, + -5.864247442664687e-36, + 3.561747882991531e-36, + 3.4735858066798596e-36, + -4.0701491897221705e-36, + -1.3856139660317714e-36, + 2.7330243656618185e-36, + 1.650100194966786e-36, + 2.215806851300012e-36, + -1.3338922145955907e-35, + 2.1599708696359533e-35, + -1.5105102408066394e-35, + -1.892545904823883e-36, + 4.584427968206921e-36, + -2.7036370068912613e-37, + 2.245194210070569e-36, + -7.843486055861713e-36, + 9.48623941113586e-36, + -3.270813031163015e-36, + 9.45244394854972e-36, + -2.2111048738967228e-35, + 1.3162597993332564e-35, + -1.2422036552314523e-35, + 2.468538136726804e-35, + -1.6283535494765738e-35, + 2.1784849056614043e-35, + -3.9213022175492983e-35, + 1.9977526492224776e-35, + 1.7445805534141274e-35, + -2.7994397964832777e-35, + 2.978408811395971e-35, + -8.059189269237603e-35, + 1.1847954498731689e-34, + -1.014863047782422e-34, + 8.586104611993694e-35, + -1.7704414291322178e-35, + -5.399633300502178e-35, + 1.8940152727624107e-35, + 2.1270570278129292e-35, + -3.529421788343918e-35, + 5.398457806151355e-35, + -6.633314621690168e-35, + 6.559846224763775e-35, + -5.612103904413306e-35, + 6.227916007450332e-35, + -1.3218433974996623e-35, + -9.638318992773494e-35, + 1.478051903044559e-34, + -4.811004504327917e-35, + -2.1921500274897134e-35, + -2.2172762192385398e-35, + -6.778782047604426e-35, + 1.2235279887327632e-34, + -4.400756975890939e-36, + -6.657706129469731e-35, + 6.692923438880618e-35, + -3.986852092233366e-35, + -6.811810911868279e-36, + 9.774881433639245e-35, + -2.6485894375139684e-34, + 2.709642482981202e-34, + -6.193806704252943e-35, + -1.6653538459715934e-35, + -1.3477373163272275e-35, + 3.1765286431602385e-35, + -2.0537016825242353e-35, + -7.316752433665913e-35, + 1.1157007344811694e-34, + -4.981642778308267e-35, + 2.211395012008627e-35, + -9.294072692044863e-35, + 1.039519362663307e-34, + -6.109228963568543e-35, + 7.421992241599686e-35, + -1.204523419300022e-35, + -6.372807848259987e-35, + 3.501341029099782e-35, + 2.5109701304297018e-36, + -3.0038264155882195e-37, + -2.4262500499608724e-36, + -2.3958776326702103e-36, + -3.3607330681682457e-37, + 9.069468872707726e-36, + -1.6694606589162312e-35, + 8.128555255937929e-36, + 9.659400264241836e-36, + -7.195845795757308e-36, + 1.8255165436155658e-35, + -1.7724870668716732e-35, + -1.9325517312266363e-35, + 3.36157596402969e-35, + -1.7620844400136112e-35, + -1.254925035157071e-35, + 1.4915085235737273e-35, + 6.895324459139362e-36, + -7.545962740106749e-36, + -1.6614923319110913e-35, + 2.9608519940217114e-35, + -1.301139234461938e-35, + 1.1065654674308341e-36, + 3.836571434864884e-36, + -7.527091819273319e-36, + -4.40177557545318e-36, + 1.6247125976456076e-35, + -7.534665975873113e-37, + -1.3170799341883833e-35, + -2.01486497561636e-36, + 9.876895143279067e-36, + -6.297150832049499e-36, + 5.840414909523218e-36, + -5.998745672990989e-36, + 1.3504662714514132e-35, + -3.5713143836927783e-35, + 6.45765669499277e-35, + -5.790217289540265e-35, + 1.961742615680186e-35, + 3.817607941080084e-36, + -1.5430249890347598e-35, + 1.0426042959368914e-35, + 1.5992029954427065e-35, + -8.897010101738226e-36, + -2.6909118821640905e-35, + 1.2799176528356304e-35, + 1.3841245731944323e-35, + 1.1568446510166972e-35, + -1.7260874250485924e-35, + 2.0257489695645642e-36, + -4.920383845949692e-36, + -1.8595250027603477e-35, + 1.9996937994107053e-35, + 6.760394719663913e-36, + 9.892709007180177e-36, + -1.885727500876694e-35, + -2.357691392551641e-35, + 4.943689879634749e-35, + -3.282059582663305e-36, + -1.4429685225972261e-35, + -3.6486777042906876e-35, + 3.9223176804304145e-35, + -6.567960438850088e-36, + -1.4731842835373567e-35, + 4.562019890974925e-35, + -7.73298608559816e-35, + 5.866522235616183e-35, + 4.32112960089016e-36, + -2.826080409101069e-35, + 2.4285713717623285e-35, + -1.669570057092953e-37, + -1.9342873126946341e-35, + 3.2307158641908156e-35, + -5.172264347744335e-35, + -1.4032742249984578e-35, + 9.148409893188244e-35, + -1.1181842669442727e-34, + 8.511746845061822e-35, + -1.3478257698568698e-35, + 1.478713705562267e-35, + -5.739439170969538e-35, + -3.178830641244e-36, + 6.497840180866555e-35, + 1.0658004022176121e-35, + -6.127689261226127e-35, + 4.8584036191022e-36, + 3.2300880051582894e-35, + -1.3714426878433702e-34, + 2.6119662271801566e-34, + -2.7900557864128336e-34, + 2.568855850125776e-34, + -1.4801480588965642e-34, + -1.0840772225194491e-35, + 7.534787261946293e-35, + -1.7427061567689564e-35, + 2.2249082477254327e-35, + 7.276882329848471e-35, + -3.933874963545718e-34, + 4.0087489527637975e-34, + 3.416651289198715e-35, + -5.3559088896781195e-34, + 4.372217717886638e-34, + 2.6630837086924787e-35, + -8.969485362005097e-35, + 1.4612776157000209e-34, + -1.690807846049807e-34 + ], + "lo": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -4.276423536147513e-50, + 4.276423536147513e-50, + 0.0, + 0.0, + 0.0, + -8.018294130276587e-51 + ] + }, + "positive_flux_m2_s": { + "hi": [ + -7123159737478.612, + -21119042885963.848, + -33802946913216.637, + -43926650739919.67, + -50946207641715.055, + -55141736152261.12, + -57312461734601.98, + -58317655333503.25, + -58780508629990.84, + -59040744709422.95, + -59243736844853.74, + -59439635909187.14, + -59642835850959.516, + -59857092581947.78, + -60083611868863.89, + -60323110248760.72, + -60576239545596.734, + -60843657934592.734, + -61126038769311.61, + -61424070173384.625, + -61738453168739.164, + -62069899392022.46, + -62419128416586.47, + -62786864653996.89, + -63173833824294.164, + -63580759072834.625, + -64008356509491.15, + -64457330447831.21, + -64928368049218.375, + -65422133703228.57, + -65939262839020.04, + -66480355506992.055, + -67045969618707.22, + -67636613888989.97, + -68252740708118.58, + -68894738934151.51, + -69562926738468.766, + -70257544653821.7, + -70978748994484.16, + -71726605749377.64, + -72501085117591.3, + -73302056852451.23, + -74129286615363.02, + -74982433356008.61, + -75861047914656.39, + -76764572945983.89, + -77692344173021.25, + -78643592970805.16, + -79617450318605.03, + -80612951891650.69, + -81629044381681.3, + -82664592658180.9, + -83718387606402.64, + -84789154576685.72, + -85875561894469.0, + -86976229395610.81, + -88089736624188.86, + -89214630553608.14, + -90349432438162.11, + -91492643997458.42, + -92642752532690.58, + -93798235108320.6, + -94957561931199.88, + -96119198886603.97, + -97281609493451.98, + -98443256539954.14, + -99602603520463.36, + -100758116269081.45, + -101908264886096.64, + -103051526341965.73, + -104186387743036.5, + -105311350570646.89, + -106424935839238.05, + -107525690108513.4, + -108612192526862.61, + -109683062406152.97, + -110736967511943.31, + -111772632504553.6, + -112788847577619.94, + -113784476792143.05, + -114758465989564.48, + -115709850024356.94, + -116637758922161.95, + -117541423206098.23, + -118420177653119.75, + -119273464106814.28, + -120100832529945.44, + -120901941122689.67, + -121676554784029.11, + -122424542677873.92, + -123145874378945.19, + -123840615389225.81, + -124508921608023.11, + -125151033249470.77, + -125767268214479.73, + -126358015189618.36, + -126923726455095.67, + -127464910691922.2, + -127982125796584.8, + -128475971902373.27, + -128947084574698.62, + -129396128310263.2, + -129823790481564.47, + -130230775572837.52, + -130617799943369.48, + -130985586952325.33, + -131334862578876.33, + -131666351432467.62, + -131980772880120.83, + -132278835228938.34, + -132561214840585.4, + -132828451695178.23, + -133080464857998.62, + -133314644812878.73, + -133519618575854.84, + -133658591846628.36, + -133633749176162.78, + -133227818177740.3, + -132037542747920.56, + -129441870729003.95, + -124659977507061.02, + -116922203151188.22, + -105706909496661.42, + -90940035426204.9, + -73062595165641.75, + -52940416932933.23, + -31666634459299.082, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "lo": [ + 0.00039273127639585933, + -0.0018916215168644063, + 0.0006953281746425516, + 0.0021865692902507737, + -0.002986708280140716, + 0.003422470513496487, + -0.0006745350888996266, + 0.003569198612494864, + -0.0010265692594488799, + 0.000762111434833658, + 0.002123978796780492, + -2.3034831914219316e-05, + -0.0026638256831665657, + 0.0013564093531920444, + -0.0014784012299548235, + -0.0005128503918310992, + -0.0016793813736215011, + -0.002778736400838063, + -0.0025360108205582793, + -8.129832501570949e-05, + 0.002077851124737165, + -0.0015979896613233426, + 0.0007724029934102735, + 0.003308448462701923, + -0.00381982400243769, + -0.0018107195774107524, + -0.0006203592577152849, + -0.001306126495342215, + 0.0035387654709172754, + -0.0012946797648151886, + 0.0016063413486035803, + -0.003384854831861116, + 0.0005983405462608973, + 0.00039630370188304526, + -0.0001916551423199265, + 0.003761539545218219, + 0.0005692974638078887, + -0.0007335537681524893, + 0.0023224832068413975, + 0.007627992254717871, + -0.0007881473980858845, + 0.007232529619872323, + -0.0008332254658836311, + 0.0013370637526470717, + 0.005759647882170748, + 0.002475343304905376, + -0.003180044995288913, + -0.00684358464819311, + -0.0034277668608833516, + 0.007659864701889827, + 0.0054167025798699114, + 0.003126806807121794, + -0.003694518986033003, + 0.0013780177063632687, + -0.004981721608769904, + -0.006209182111784738, + 0.0050949580776592585, + -0.0037331540121878885, + 0.00572416245161602, + -0.007297259464775358, + -0.001219401715018977, + -0.0016335018814414206, + -0.005330297687729994, + -0.002527677846518828, + 0.007777248615101922, + 0.00015172295841321687, + -0.0014556049657079248, + -0.0049052061612932666, + -0.0059234464759336325, + 0.0011726188683254307, + 0.0008812904405357536, + -0.005366828062263799, + 0.00305162007365768, + 0.0002820284119004565, + -0.005432867047070937, + 0.0055518491432888836, + -0.006891129628206084, + -0.0067452409445549226, + -0.0054121801473152225, + -0.0014679431780399565, + -0.001897864474518396, + 0.0005765223537785954, + 0.0019183188909833381, + -0.006420257356033243, + 0.006949004949051738, + 0.0065953741852789885, + -0.003933253901734981, + -0.0003185111594008507, + 0.0010490218835207863, + -0.0077437485370803714, + -0.0032057211684733064, + -0.005348786403531572, + 0.0038801263369022633, + 0.003842500670318346, + -0.003623994574444008, + 0.005268244233931426, + -0.007436965235046429, + -0.005366763659818951, + -0.006050306100510574, + -0.0031543808988912588, + -0.002757399050179252, + -0.0074424469802967155, + 0.0065049847659181936, + 0.000975660129788419, + 0.006925746583644034, + -0.007096783977017886, + 0.005889483499395734, + 0.002495996522578939, + 0.0069994241287774095, + -0.0036994920904560337, + -0.0069588101882464065, + -0.0014435819207973563, + -0.00375449605414422, + 0.0015368372457739972, + 0.0026854579329433806, + -0.007345125293890841, + 0.0015520177087180384, + -0.007244239778470086, + 0.002383520193474306, + -0.004304736818061234, + 0.0030301293574725233, + -0.0020775013651043502, + 0.004099577815070085, + -0.0049908180536536945, + 0.00534541612967027, + -0.0013610271790471427, + -0.0019183411309842075, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + }, + "positive_rate_m3_s": { + "hi": [ + 1.2070242170116266e+23, + 1.1501784140231095e+23, + 9.81628296885871e+22, + 7.379560356536279e+22, + 4.8202502928766996e+22, + 2.71451171201856e+22, + 1.3235371007685171e+22, + 5.776875564376315e+21, + 2.507782976228747e+21, + 1.329578880264845e+21, + 9.782016550145909e+20, + 8.906208688439418e+20, + 8.717875671256329e+20, + 8.677013850306305e+20, + 8.66201864172415e+20, + 8.650309509178313e+20, + 8.638367755854296e+20, + 8.625698811486376e+20, + 8.612206227572665e+20, + 8.597836918455713e+20, + 8.582539317692875e+20, + 8.56626128541505e+20, + 8.548949734309537e+20, + 8.530550424994158e+20, + 8.511008200513345e+20, + 8.490269324917262e+20, + 8.46827913624831e+20, + 8.444985939144032e+20, + 8.420338744326652e+20, + 8.394291372694602e+20, + 8.366800439957258e+20, + 8.337828933416997e+20, + 8.3073468467195e+20, + 8.275331756681496e+20, + 8.241771655965823e+20, + 8.206666133695501e+20, + 8.170027942219423e+20, + 8.131884859575205e+20, + 8.092281831775007e+20, + 8.051282435128403e+20, + 8.008970439860064e+20, + 7.96545134119249e+20, + 7.920854163679581e+20, + 7.875331768357594e+20, + 7.829061670111368e+20, + 7.782246507533462e+20, + 7.735113619395248e+20, + 7.68791401826725e+20, + 7.640921391042325e+20, + 7.594429293179554e+20, + 7.548749465505245e+20, + 7.504207827709248e+20, + 7.461140330807662e+20, + 7.419889525583864e+20, + 7.380798569762024e+20, + 7.344206528725026e+20, + 7.310442651375294e+20, + 7.279821132214492e+20, + 7.252634571391817e+20, + 7.229149833560133e+20, + 7.209602123518856e+20, + 7.194190489713468e+20, + 7.183074401658904e+20, + 7.176370058019277e+20, + 7.174148082777239e+20, + 7.176432398885523e+20, + 7.183199296341516e+20, + 7.194378350810189e+20, + 7.209853381290844e+20, + 7.229465356787429e+20, + 7.253014947520229e+20, + 7.280267011149807e+20, + 7.3109550028228e+20, + 7.34478548930328e+20, + 7.381444660882219e+20, + 7.420602634492082e+20, + 7.461920274836893e+20, + 7.50505362309243e+20, + 7.549660158807824e+20, + 7.595403037673519e+20, + 7.641955888133738e+20, + 7.689006992572324e+20, + 7.736261422861147e+20, + 7.783445918828975e+20, + 7.830308171997783e+20, + 7.876621448737663e+20, + 7.922181856934029e+20, + 7.966812356532527e+20, + 8.010359178822884e+20, + 8.052694251934965e+20, + 8.093710880748089e+20, + 8.133325930639744e+20, + 8.171475813019147e+20, + 8.208115923438507e+20, + 8.243218295884416e+20, + 8.276770722228345e+20, + 8.308773773634838e+20, + 8.339239940236428e+20, + 8.368191358277309e+20, + 8.395659097773895e+20, + 8.421680723666854e+20, + 8.446298791693567e+20, + 8.469561162271567e+20, + 8.491517910299216e+20, + 8.512222275654732e+20, + 8.531728196408679e+20, + 8.55009052736e+20, + 8.567363070052446e+20, + 8.583589051202589e+20, + 8.598729636012306e+20, + 8.612168925655032e+20, + 8.619843338750806e+20, + 8.600278225277025e+20, + 8.458216257792684e+20, + 7.838125309925391e+20, + 5.628168551634757e+20, + -1.065823693510673e+20, + -1.8454943607612648e+21, + -5.735835001203285e+21, + -1.326161500733219e+22, + -2.590875015287567e+22, + -4.446920438804622e+22, + -6.838200723544642e+22, + -9.554184297257003e+22, + -1.227623593019481e+23, + -1.4667836131435142e+23, + -1.6464131873787084e+23, + -1.7524552451900243e+23, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "lo": [ + 3090401.9486408276, + -5230242.818900654, + -3486353.9815961593, + 2295938.8640903076, + 4089693.854562126, + 479702.0144084834, + -216421.11851514192, + -232671.0931770257, + 95895.8367025256, + -64547.52710702507, + 3232.492370287835, + 16839.98962957355, + 53927.2058624928, + 7670.522410822891, + 34945.019254068895, + -53562.252623997876, + 49706.26342854086, + -48424.43275496828, + 59221.54767189317, + -13731.633701663975, + 27288.552308197, + -44111.45559330536, + -34181.45327265634, + 2678.091487547353, + 26957.57651869529, + 1949.068058169344, + -21854.964586546226, + 46515.516929512654, + 43321.708963682526, + -51431.92352103209, + -7885.8736019107555, + 3283.2141220150647, + 32719.72737570496, + 22262.706137651432, + -59394.46473933668, + -39730.374492144394, + -41741.255499604325, + -64700.582225295904, + -6537.0846315342405, + -52981.7326838993, + 61579.808684200136, + -36186.13597272819, + 3680.3303791267454, + -39527.25306082581, + -56862.59879193695, + 39701.85746667908, + 1993.3159657684125, + 56512.42507838574, + 62554.61204943702, + -24753.83075125494, + -20921.552282634504, + 30244.15344030348, + -6999.481252443134, + 40321.64838866908, + -48158.78450823094, + -53432.682984433144, + 55779.96493204853, + 46399.04443679565, + 60208.95537487206, + -55277.310529624425, + -46673.52947668758, + 9220.373201189928, + -53507.348195616, + -9917.706239526893, + -55341.36866809381, + -15522.742997834437, + -18326.017663873747, + -31230.21110541679, + 19869.352750069716, + 11231.51126988098, + 55162.80986315269, + -34548.02274721197, + 6418.810399246855, + 26007.2362137312, + 46233.1941584375, + 58074.5143726711, + 25500.62239150738, + -38997.62074061634, + 11861.069515797797, + 39207.05343614952, + 36711.463032922, + -28654.597740187062, + 26917.441814858925, + 24751.694664988314, + 52696.74994552032, + -56262.47059963195, + 33474.14723827554, + 30226.79670866156, + -19677.507050173695, + 8385.130806868015, + 52461.94466028894, + 28915.951310799825, + 40732.09654983116, + -14553.516607299702, + -53527.496579237726, + -40612.445663647595, + -9812.94393788451, + -8478.993202113279, + 14733.512373900396, + 62645.2562439376, + 8960.926708005329, + -46998.865266246205, + -65041.841204767494, + -44077.43730733999, + -25619.342412532405, + -36558.10786753509, + -42412.0445399908, + 29867.634810039923, + -24638.543293940216, + -63811.43258311455, + -43507.20041389931, + 901.5490811140967, + -32449.83146289882, + -50606.05409792967, + -29773.32510471204, + -19814.17733666353, + -6402.097436692686, + -109569.83714817603, + -271811.3929952376, + -505983.1496344965, + -504402.81150873995, + 3723678.3747345395, + -1644200.8444468128, + 4846343.310167046, + -6495228.155621441, + -6550817.998767569, + 7130412.797973505, + 4981965.481905874, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + } + }, + "fields_sha256": "c8b234ae2854961186ae047fb3e99651e0e6340e6209458f8159ff61b441634c", + "inputs": { + "coefficients": { + "boundary_flux_m2_s": { + "hi": [ + 0.0, + 0.0 + ], + "lo": [ + 0.0, + 0.0 + ] + }, + "control_volume_width_m": [ + 5.901422388288336e-11, + 1.2168445327999375e-10, + 1.2921290133435793e-10, + 1.3718573109489092e-10, + 1.456263985330553e-10, + 1.5455923405930657e-10, + 1.6400942452466372e-10, + 1.7400298616433713e-10, + 1.8456672721482707e-10, + 1.9572819882658635e-10, + 2.0751563278408056e-10, + 2.1995786443639556e-10, + 2.330842391367742e-10, + 2.4692450039214606e-10, + 2.615086578375502e-10, + 2.768668330800304e-10, + 2.930290814077334e-10, + 3.1002518733890237e-10, + 3.2788443199932904e-10, + 3.4663533037393737e-10, + 3.6630533658778285e-10, + 3.869205155434871e-10, + 4.0850517948706975e-10, + 4.310814884031017e-10, + 4.546690135652088e-10, + 4.79284264100096e-10, + 5.049401770735207e-10, + 5.316455723851334e-10, + 5.594045746728763e-10, + 5.882160054824251e-10, + 6.180727501540692e-10, + 6.489611052145571e-10, + 6.808601135253143e-10, + 7.137408960140655e-10, + 7.47565990478061e-10, + 7.822887096588038e-10, + 8.178525325040014e-10, + 8.54190544194725e-10, + 8.912249420559998e-10, + 9.288666258067398e-10, + 9.670148916509131e-10, + 1.005557250369215e-09, + 1.0443693897370093e-09, + 1.0833153011705004e-09, + 1.1222475893912312e-09, + 1.1610079820176118e-09, + 1.1994280532751899e-09, + 1.23733017242863e-09, + 1.2745286830742073e-09, + 1.3108313141313866e-09, + 1.3460408173217914e-09, + 1.3799568192605954e-09, + 1.4123778691985396e-09, + 1.443103656181209e-09, + 1.4719373622173193e-09, + 1.4986881112844911e-09, + 1.523173467982208e-09, + 1.5452219347003404e-09, + 1.5646753926224425e-09, + 1.5813914299979714e-09, + 1.5952455011079117e-09, + 1.6061328613443997e-09, + 1.6139702278616839e-09, + 1.6186971212639917e-09, + 1.6202768516007768e-09, + 1.6186971212639917e-09, + 1.6139702278616839e-09, + 1.6061328613443997e-09, + 1.5952455011079117e-09, + 1.5813914299979714e-09, + 1.5646753926224425e-09, + 1.5452219347003404e-09, + 1.523173467982208e-09, + 1.4986881112844845e-09, + 1.4719373622173193e-09, + 1.4431036561812155e-09, + 1.4123778691985462e-09, + 1.379956819260592e-09, + 1.346040817321788e-09, + 1.31083131413138e-09, + 1.2745286830742205e-09, + 1.2373301724286366e-09, + 1.19942805327517e-09, + 1.1610079820176184e-09, + 1.1222475893912378e-09, + 1.083315301170507e-09, + 1.0443693897369927e-09, + 1.0055572503692116e-09, + 9.670148916509198e-10, + 9.288666258067464e-10, + 8.91224942055985e-10, + 8.541905441947299e-10, + 8.178525325039981e-10, + 7.822887096588004e-10, + 7.475659904780676e-10, + 7.137408960140556e-10, + 6.808601135253242e-10, + 6.48961105214567e-10, + 6.180727501540659e-10, + 5.882160054824152e-10, + 5.59404574672873e-10, + 5.316455723851383e-10, + 5.049401770735323e-10, + 4.792842641000936e-10, + 4.546690135651964e-10, + 4.3108148840310337e-10, + 4.0850517948706727e-10, + 3.869205155434962e-10, + 3.663053365877845e-10, + 3.4663533037393406e-10, + 3.278844319993274e-10, + 3.1002518733890444e-10, + 2.930290814077417e-10, + 2.7686683308002504e-10, + 2.6150865783754524e-10, + 2.46924500392156e-10, + 2.3308423913676347e-10, + 2.1995786443640466e-10, + 2.0751563278407477e-10, + 1.9572819882657477e-10, + 1.845667272148283e-10, + 1.740029861643485e-10, + 1.6400942452466144e-10, + 1.545592340593227e-10, + 1.4562639853305157e-10, + 1.3718573109488172e-10, + 1.2921290133435225e-10, + 1.8069867716288167e-10, + 1.8069867716288167e-10, + 1.2921290133435225e-10, + 1.3718573109489495e-10, + 1.4562639853305157e-10, + 1.5455923405930946e-10, + 1.6400942452466144e-10, + 1.740029861643485e-10, + 1.845667272148283e-10, + 1.9572819882657477e-10, + 2.0751563278407477e-10, + 2.1995786443640466e-10, + 2.3308423913676347e-10, + 2.46924500392156e-10, + 2.6150865783754524e-10, + 2.7686683308002504e-10, + 2.930290814077417e-10, + 3.1002518733890444e-10, + 3.278844319993274e-10, + 3.4663533037393406e-10, + 3.663053365877845e-10, + 3.8692051554348296e-10, + 4.085051794870805e-10, + 4.3108148840310337e-10, + 4.5466901356520963e-10, + 4.792842641000936e-10, + 5.04940177073519e-10, + 5.316455723851383e-10, + 5.59404574672873e-10, + 5.882160054824152e-10, + 6.180727501540659e-10, + 6.48961105214567e-10, + 6.808601135253109e-10, + 7.137408960140689e-10, + 7.475659904780676e-10, + 7.822887096588004e-10, + 8.178525325039981e-10, + 8.541905441947299e-10, + 8.91224942055985e-10, + 9.288666258067464e-10, + 9.670148916509198e-10, + 1.0055572503692116e-09, + 1.0443693897370192e-09, + 1.0833153011704673e-09, + 1.122247589391251e-09, + 1.1610079820176184e-09, + 1.1994280532751965e-09, + 1.2373301724286234e-09, + 1.2745286830741808e-09, + 1.3108313141314065e-09, + 1.346040817321788e-09, + 1.3799568192606186e-09, + 1.412377869198533e-09, + 1.4431036561812023e-09, + 1.4719373622173193e-09, + 1.4986881112844977e-09, + 1.523173467982208e-09, + 1.545221934700314e-09, + 1.564675392622469e-09, + 1.5813914299979515e-09, + 1.5952455011079183e-09, + 1.606132861344413e-09, + 1.6139702278616839e-09, + 1.6186971212639851e-09, + 1.6202768516007636e-09, + 1.6186971212639851e-09, + 1.6139702278616839e-09, + 1.606132861344413e-09, + 1.5952455011079183e-09, + 1.5813914299979515e-09, + 1.564675392622469e-09, + 1.545221934700314e-09, + 1.523173467982208e-09, + 1.4986881112844977e-09, + 1.4719373622173193e-09, + 1.4431036561812023e-09, + 1.412377869198533e-09, + 1.3799568192606186e-09, + 1.346040817321788e-09, + 1.31083131413138e-09, + 1.2745286830742073e-09, + 1.2373301724286234e-09, + 1.1994280532751965e-09, + 1.1610079820176184e-09, + 1.122247589391251e-09, + 1.0833153011704673e-09, + 1.0443693897370192e-09, + 1.0055572503692116e-09, + 9.670148916509198e-10, + 9.288666258067464e-10, + 8.91224942055985e-10, + 8.541905441947299e-10, + 8.178525325039848e-10, + 7.822887096588137e-10, + 7.475659904780676e-10, + 7.137408960140821e-10, + 6.808601135253109e-10, + 6.489611052145538e-10, + 6.180727501540659e-10, + 5.882160054824152e-10, + 5.59404574672873e-10, + 5.316455723851383e-10, + 5.04940177073519e-10, + 4.7928426410012e-10, + 4.5466901356518316e-10, + 4.3108148840310337e-10, + 4.0850517948706727e-10, + 3.869205155434962e-10, + 3.6630533658779774e-10, + 3.4663533037392083e-10, + 3.278844319993274e-10, + 3.1002518733890444e-10, + 2.930290814077152e-10, + 2.768668330800515e-10, + 2.6150865783754524e-10, + 2.46924500392156e-10, + 2.3308423913676347e-10, + 2.1995786443639143e-10, + 2.0751563278407477e-10, + 1.95728198826588e-10, + 1.845667272148283e-10, + 1.740029861643485e-10, + 1.6400942452466144e-10, + 1.545592340593227e-10, + 1.4562639853305157e-10, + 1.3718573109489495e-10, + 1.29212901334339e-10, + 1.2168445327999169e-10, + 5.901422388288999e-11 + ], + "equilibrium_occupancy": [ + 7.928011033749389e-05 + ], + "grid_spacing_m": [ + 1.180284477657667e-10, + 1.2534045879422085e-10, + 1.33085343874495e-10, + 1.412861183152869e-10, + 1.4996667875082363e-10, + 1.591517893677896e-10, + 1.6886705968153773e-10, + 1.7913891264713654e-10, + 1.899945417825178e-10, + 2.0146185587065489e-10, + 2.1356940969750602e-10, + 2.2634631917528552e-10, + 2.398221590982629e-10, + 2.5402684168602837e-10, + 2.6899047398907245e-10, + 2.847431921709884e-10, + 3.013149706444784e-10, + 3.1873540403332673e-10, + 3.370334599653301e-10, + 3.5623720078254464e-10, + 3.7637347239302107e-10, + 3.9746755869395394e-10, + 4.195428002801864e-10, + 4.426201765260154e-10, + 4.66717850604403e-10, + 4.918506775957899e-10, + 5.180296765512515e-10, + 5.45261468219016e-10, + 5.735476811267349e-10, + 6.028843298381153e-10, + 6.33261170470023e-10, + 6.646610399590928e-10, + 6.970591870915358e-10, + 7.30422604936592e-10, + 7.6470937601953e-10, + 7.998680432980791e-10, + 8.358370217099236e-10, + 8.725440666795263e-10, + 9.099058174324767e-10, + 9.478274341809963e-10, + 9.862023491208366e-10, + 1.02491215161759e-09, + 1.0638266278564286e-09, + 1.1028039744845689e-09, + 1.1416912042978935e-09, + 1.18032475973733e-09, + 1.2185313468130496e-09, + 1.2561289980442137e-09, + 1.2929283681042009e-09, + 1.3287342601585724e-09, + 1.3633473744850104e-09, + 1.3965662640361804e-09, + 1.4281894743608988e-09, + 1.458017838001519e-09, + 1.4858568864331195e-09, + 1.5115193361358627e-09, + 1.5348275998285534e-09, + 1.5556162695721207e-09, + 1.5737345156727642e-09, + 1.589048344323185e-09, + 1.6014426578926383e-09, + 1.6108230647961677e-09, + 1.6171173909272e-09, + 1.6202768516007768e-09, + 1.6202768516007768e-09, + 1.6171173909272e-09, + 1.6108230647961677e-09, + 1.6014426578926383e-09, + 1.589048344323185e-09, + 1.5737345156727576e-09, + 1.5556162695721274e-09, + 1.5348275998285534e-09, + 1.5115193361358627e-09, + 1.4858568864331195e-09, + 1.458017838001519e-09, + 1.4281894743608988e-09, + 1.3965662640361804e-09, + 1.363347374485017e-09, + 1.3287342601585591e-09, + 1.292928368104214e-09, + 1.2561289980442137e-09, + 1.2185313468130463e-09, + 1.1803247597373201e-09, + 1.1416912042979035e-09, + 1.1028039744845722e-09, + 1.0638266278564286e-09, + 1.0249121516175833e-09, + 9.862023491208399e-10, + 9.478274341809997e-10, + 9.099058174324667e-10, + 8.725440666795296e-10, + 8.35837021709917e-10, + 7.998680432980791e-10, + 7.64709376019535e-10, + 7.304226049365871e-10, + 6.970591870915374e-10, + 6.646610399590977e-10, + 6.33261170470023e-10, + 6.028843298381087e-10, + 5.735476811267349e-10, + 5.452614682190243e-10, + 5.180296765512524e-10, + 4.91850677595799e-10, + 4.667178506043882e-10, + 4.4262017652601787e-10, + 4.1954280028018887e-10, + 3.9746755869394567e-10, + 3.763734723930335e-10, + 3.5623720078253554e-10, + 3.370334599653326e-10, + 3.187354040333354e-10, + 3.0131497064447345e-10, + 2.8474319217098343e-10, + 2.689904739890799e-10, + 2.540268416860238e-10, + 2.398221590982617e-10, + 2.2634631917529172e-10, + 2.1356940969750437e-10, + 2.0146185587064517e-10, + 1.899945417825176e-10, + 1.7913891264713902e-10, + 1.6886705968154476e-10, + 1.5915178936779136e-10, + 1.4996667875082756e-10, + 1.4128611831527558e-10, + 1.330853438745011e-10, + 1.2534045879421663e-10, + 2.3605689553153347e-10, + 1.2534045879421663e-10, + 1.330853438745011e-10, + 1.4128611831528881e-10, + 1.4996667875081432e-10, + 1.5915178936779136e-10, + 1.6886705968154476e-10, + 1.7913891264713902e-10, + 1.899945417825176e-10, + 2.0146185587064517e-10, + 2.1356940969750437e-10, + 2.2634631917529172e-10, + 2.398221590982617e-10, + 2.540268416860238e-10, + 2.689904739890799e-10, + 2.8474319217098343e-10, + 3.013149706444867e-10, + 3.187354040333222e-10, + 3.370334599653326e-10, + 3.5623720078253554e-10, + 3.7637347239302024e-10, + 3.974675586939589e-10, + 4.1954280028018887e-10, + 4.4262017652601787e-10, + 4.667178506044014e-10, + 4.918506775957857e-10, + 5.180296765512524e-10, + 5.452614682190243e-10, + 5.735476811267349e-10, + 6.028843298381087e-10, + 6.33261170470023e-10, + 6.646610399590977e-10, + 6.970591870915242e-10, + 7.304226049366003e-10, + 7.64709376019535e-10, + 7.998680432980791e-10, + 8.35837021709917e-10, + 8.725440666795296e-10, + 9.099058174324667e-10, + 9.478274341809997e-10, + 9.862023491208399e-10, + 1.0249121516175966e-09, + 1.0638266278564153e-09, + 1.1028039744845722e-09, + 1.1416912042979035e-09, + 1.1803247597373334e-09, + 1.218531346813033e-09, + 1.2561289980442137e-09, + 1.2929283681042009e-09, + 1.3287342601585856e-09, + 1.363347374485017e-09, + 1.3965662640361672e-09, + 1.4281894743608988e-09, + 1.4580178380015323e-09, + 1.4858568864331063e-09, + 1.5115193361358627e-09, + 1.5348275998285534e-09, + 1.5556162695721274e-09, + 1.5737345156727576e-09, + 1.5890483443231718e-09, + 1.6014426578926648e-09, + 1.6108230647961611e-09, + 1.6171173909272067e-09, + 1.6202768516007636e-09, + 1.6202768516007636e-09, + 1.6171173909272067e-09, + 1.6108230647961611e-09, + 1.6014426578926648e-09, + 1.5890483443231718e-09, + 1.5737345156727576e-09, + 1.5556162695721274e-09, + 1.5348275998285534e-09, + 1.5115193361358627e-09, + 1.4858568864331063e-09, + 1.4580178380015323e-09, + 1.4281894743608988e-09, + 1.3965662640361672e-09, + 1.3633473744850435e-09, + 1.3287342601585327e-09, + 1.2929283681042273e-09, + 1.2561289980442137e-09, + 1.218531346813033e-09, + 1.1803247597373334e-09, + 1.1416912042979035e-09, + 1.1028039744845722e-09, + 1.0638266278564153e-09, + 1.0249121516175966e-09, + 9.862023491208266e-10, + 9.478274341810129e-10, + 9.0990581743248e-10, + 8.725440666795164e-10, + 8.35837021709917e-10, + 7.998680432980791e-10, + 7.647093760195218e-10, + 7.304226049366135e-10, + 6.970591870915242e-10, + 6.646610399590977e-10, + 6.332611704700363e-10, + 6.028843298380955e-10, + 5.735476811267349e-10, + 5.45261468219011e-10, + 5.180296765512656e-10, + 4.91850677595799e-10, + 4.667178506043882e-10, + 4.4262017652600463e-10, + 4.195428002802021e-10, + 3.9746755869393244e-10, + 3.7637347239305994e-10, + 3.5623720078253554e-10, + 3.370334599653061e-10, + 3.1873540403334865e-10, + 3.013149706444602e-10, + 2.8474319217099666e-10, + 2.689904739890799e-10, + 2.5402684168603706e-10, + 2.3982215909824845e-10, + 2.2634631917527849e-10, + 2.1356940969750437e-10, + 2.0146185587064517e-10, + 1.8999454178253084e-10, + 1.7913891264712579e-10, + 1.6886705968157123e-10, + 1.5915178936777813e-10, + 1.4996667875081432e-10, + 1.4128611831528881e-10, + 1.330853438745011e-10, + 1.253404587942034e-10, + 1.1802844776577997e-10 + ], + "ion_capacity_m3": [ + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22 + ], + "ion_diffusion_m2_s": [ + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "ion_flux_enabled": true, + "ion_thermal_voltage_V": 0.025851999786435535, + "model": "one_positive_ion_steric_diffusion_only", + "positive_nodes": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30, + 31, + 32, + 33, + 34, + 35, + 36, + 37, + 38, + 39, + 40, + 41, + 42, + 43, + 44, + 45, + 46, + 47, + 48, + 49, + 50, + 51, + 52, + 53, + 54, + 55, + 56, + 57, + 58, + 59, + 60, + 61, + 62, + 63, + 64, + 65, + 66, + 67, + 68, + 69, + 70, + 71, + 72, + 73, + 74, + 75, + 76, + 77, + 78, + 79, + 80, + 81, + 82, + 83, + 84, + 85, + 86, + 87, + 88, + 89, + 90, + 91, + 92, + 93, + 94, + 95, + 96, + 97, + 98, + 99, + 100, + 101, + 102, + 103, + 104, + 105, + 106, + 107, + 108, + 109, + 110, + 111, + 112, + 113, + 114, + 115, + 116, + 117, + 118, + 119, + 120, + 121, + 122, + 123, + 124, + 125, + 126, + 127 + ], + "site_occupancy_ceiling": 0.999, + "static_sheet_charge_C_m2": [ + 0.0 + ], + "trace_jump_V": [ + 0.0 + ], + "trap_density_m2": [ + 500000000000000.0 + ] + }, + "fixed_inputs": { + "dqfn_V": { + "hi": [ + 0.0, + -1.8901339746933417e-06, + -3.9025587817028984e-06, + -6.045196111160143e-06, + -8.3264798125241e-06, + -1.0755388444239632e-05, + -1.3341479736035109e-05, + -1.609492704353869e-05, + -1.902655785748135e-05, + -2.2147894447478577e-05, + -2.5471196679533578e-05, + -2.9009507057922708e-05, + -3.27766980161769e-05, + -3.678752145553795e-05, + -4.105766051469504e-05, + -4.56037835194261e-05, + -5.0443600006738065e-05, + -5.559591869573132e-05, + -6.108070720970875e-05, + -6.691915327627889e-05, + -7.313372707963334e-05, + -7.974824433469058e-05, + -8.678792954677818e-05, + -9.427947881506012e-05, + -0.00010225112139659928, + -0.00011073267909818896, + -0.00011975562241398507, + -0.00012935312210467402, + -0.00013956009478992143, + -0.00015041324082354715, + -0.00016195107259482384, + -0.00017421393110189843, + -0.00018724398845853016, + -0.00020108523375884766, + -0.00021578343952816583, + -0.00023138610579688588, + -0.00024794237871992274, + -0.00026550294054649554, + -0.00028411986775211305, + -0.00030384645419963144, + -0.0003247369963696883, + -0.0003468465379891297, + -0.000370230571808113, + -0.0003949446968483174, + -0.00042104423015333257, + -0.0004485837729772853, + -0.0004776167323299964, + -0.0005081948000120609, + -0.0005403673924914139, + -0.0005741810563796017, + -0.0006096788456121863, + -0.0006468996778423839, + -0.0006858776788494643, + -0.0007266415249407869, + -0.0007692137943076726, + -0.000813610339028368, + -0.0008598396898472572, + -0.0009079025059610963, + -0.0009577910817935193, + -0.001009488922113998, + -0.0010629703959288276, + -0.0011182004782583394, + -0.0011751345874289555, + -0.001233718523723188, + -0.0012938885133816527, + -0.0013555713599741807, + -0.001418684703229603, + -0.0014831373834809111, + -0.0015488299081098118, + -0.0016156550146999636, + -0.0016834983241279904, + -0.0017522390754733822, + -0.0018217509335167943, + -0.0018919028585844034, + -0.0019625600277232507, + -0.002033584795505804, + -0.0021048376822894975, + -0.002176178377402297, + -0.002247466744548407, + -0.0023185638167199283, + -0.002389332768077963, + -0.002459639850648226, + -0.0025293552842520915, + -0.0025983540889271696, + -0.002666516850070506, + -0.002733730407800204, + -0.0027998884634021135, + -0.002864892097305146, + -0.002928650194656552, + -0.0029910797763299836, + -0.0030521062348891053, + -0.003111663476749851, + -0.0031696939733603167, + -0.0032261487256944484, + -0.003280987147635359, + -0.0033341768749002433, + -0.003385693507029803, + -0.0034355202905807, + -0.0034836477520574123, + -0.003530073289273136, + -0.003574800729811172, + -0.003617839864997039, + -0.0036592059674247822, + -0.003698919299548621, + -0.003737004620216108, + -0.0037734906953440566, + -0.0038084098181620078, + -0.0038417973437113663, + -0.003873691241500428, + -0.003904131669501898, + -0.003933160571942366, + -0.003960821302700416, + -0.003987158275516357, + -0.004012216641685201, + -0.00403604199541401, + -0.004058680106653339, + -0.004080176680811581, + -0.004100577144533104, + -0.004119926456456895, + -0.004138268941713892, + -0.004155648148789646, + -0.004172106727293796, + -0.004187686325128348, + -0.004202427503528353, + -0.004216369668456142, + -0.004229551016859221, + -0.00424200849634778, + -0.004253777776907008, + -0.004331910618650179, + -0.0043321594880070795, + -0.004332424444025053, + -0.004332706527900039, + -0.00433300684825341, + -0.004333326585471268, + -0.004333666996319264, + -0.004334029418838202, + -0.004334415277541536, + -0.0043348260889302034, + -0.004335263467330495, + -0.004335729131087958, + -0.00433622490910949, + -0.00433675274778541, + -0.004337314718294668, + -0.004337913024304507, + -0.0043385500100796, + -0.004339228168997788, + -0.004339950152481585, + -0.004340718779340419, + -0.004341537045520197, + -0.004342408134233195, + -0.004343335426473522, + -0.004344322511848832, + -0.004345373199715625, + -0.004346491530548236, + -0.00434768178746518, + -0.004348948507826163, + -0.004350296494782888, + -0.004351730828644991, + -0.004353256877893685, + -0.004354880309643782, + -0.004356607099318727, + -0.00435844353926703, + -0.004360396245996687, + -0.0043624721656698555, + -0.004364678577448292, + -0.00436702309421019, + -0.004369513660144178, + -0.004372158544634496, + -0.004374966331829496, + -0.004377945905231503, + -0.004381106426599887, + -0.004384457308456771, + -0.004388008179445436, + -0.004391768841811127, + -0.004395749220316616, + -0.004399959301939932, + -0.004404409065805763, + -0.004409108402943974, + -0.0044140670256119195, + -0.004419294366156136, + -0.004424799465635951, + -0.004430590852738302, + -0.0044366764138562345, + -0.004443063255581168, + -0.004449757561261079, + -0.004456764443690398, + -0.004464087796406138, + -0.0044717301464540764, + -0.004479692511817722, + -0.004487974267002231, + -0.004496573020420033, + -0.004505484507325924, + -0.004514702501985492, + -0.004524218752577045, + -0.004534022941977185, + -0.004544102677122425, + -0.004554443508988771, + -0.004565028984521229, + -0.00457584073099235, + -0.004586858572391784, + -0.004598060676524778, + -0.004609423730589306, + -0.004620923142172362, + -0.0046325332618344095, + -0.004644227622857256, + -0.004655979193232786, + -0.004667760634707071, + -0.004679544563557769, + -0.004691303807898168, + -0.004703011656492723, + -0.004714642094527842, + -0.004726170022277919, + -0.0047375714532572055, + -0.004748823689147795, + -0.004759905469534289, + -0.004770797095220431, + -0.004781480524623276, + -0.004791939443415882, + -0.004802159308184794, + -0.004812127365402567, + -0.004821832647439549, + -0.004831265947667324, + -0.004840419776958318, + -0.004849288304025497, + -0.004857867282118376, + -0.004866153964570322, + -0.004874147011645759, + -0.004881846390982064, + -0.004889253273783155, + -0.0048963699287177635, + -0.004903199615268759, + -0.004909746478059467, + -0.004916015443461217, + -0.004922012119568708, + -0.004927742700425782, + -0.00493321387517733, + -0.004938432742673686, + -0.004943406731849993, + -0.004948143528115595, + -0.004952651005806212, + -0.004956937166716962, + -0.004961010084566505, + -0.004964877855256741, + -0.004968548552667894, + -0.0049720301897311645, + -0.0049753306844616775, + -0.004978457830646398, + -0.00498141927283012, + -0.004984222485275979, + -0.00498687475456057, + -0.00498938316546848, + -0.004991754589870449, + -0.004993995678286663, + -0.004996112853830905, + -0.004998112308279179, + -0.004999999999999893 + ], + "lo": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + }, + "dqfp_V": { + "hi": [ + 0.0, + 1.4118322020961102e-06, + 2.907287945778109e-06, + 4.490837034285545e-06, + 6.167127349694216e-06, + 7.940984064331771e-06, + 9.81740760144655e-06, + 1.1801570178965877e-05, + 1.3898810759634587e-05, + 1.6114628221122247e-05, + 1.8454672551231324e-05, + 2.092473386655693e-05, + 2.353072904836653e-05, + 2.6278685787621723e-05, + 2.917472383258976e-05, + 3.222503323804007e-05, + 3.54358494244151e-05, + 3.881342487821258e-05, + 4.236399732188208e-05, + 4.6093754260107755e-05, + 5.000879378356093e-05, + 5.4115081605435225e-05, + 5.8418404334232784e-05, + 6.292431905516489e-05, + 6.763809936218727e-05, + 7.256467806171076e-05, + 7.770858685585401e-05, + 8.307389340583444e-05, + 8.866413628211571e-05, + 9.448225838535494e-05, + 0.00010053053957519312, + 0.00010681052928313925, + 0.00011332298003178483, + 0.00012006778284522488, + 0.00012704390561765912, + 0.0001342493355648378, + 0.0001416810269214215, + 0.00014933485506207214, + 0.00015720557821222996, + 0.00016528680787381586, + 0.00017357098901930933, + 0.00018204939101343877, + 0.00019071211006603484, + 0.00019954808391116905, + 0.00020854511916247354, + 0.00021768993164958123, + 0.00022696819977470318, + 0.00023636463076041908, + 0.00024586303936937324, + 0.0002554464385023966, + 0.0002650971408416998, + 0.0002747968705116377, + 0.00028452688354503976, + 0.0002942680957800378, + 0.00030400121667175994, + 0.0003137068873863404, + 0.00032336582145193327, + 0.00033295894617313697, + 0.00034246754297168736, + 0.00035187338479812126, + 0.00036115886876745667, + 0.0003703071422084226, + 0.00037930222038253035, + 0.0003881290942285563, + 0.00039677382662098754, + 0.00040522363580782926, + 0.0004134669648740391, + 0.00042149353636662565, + 0.0004292943914259294, + 0.0004368619131126986, + 0.00044418983390765495, + 0.00045127322768602235, + 0.00045810848678278805, + 0.000464693285061509, + 0.0004710265281767013, + 0.0004771082924268763, + 0.0004829397538299829, + 0.000488523109121839, + 0.0004938614905094554, + 0.0004989588759860805, + 0.0005038199970178614, + 0.0005084502452883284, + 0.0005128555800963444, + 0.0005170424378040946, + 0.0005210176445773878, + 0.0005247883334405545, + 0.0005283618664671635, + 0.0005317457627218819, + 0.0005349476323730595, + 0.000537975117214739, + 0.000540835837674865, + 0.0005435373462452239, + 0.0005460870871582554, + 0.0005484923620164865, + 0.0005507603010576744, + 0.0005528978396247371, + 0.0005549116994259279, + 0.0005568083741285945, + 0.0005585941188333097, + 0.0005602749429817159, + 0.000561856606267584, + 0.0005633446171432813, + 0.0005647442335411235, + 0.0005660604654592962, + 0.0005672980790937378, + 0.0005684616022294741, + 0.0005695553306364674, + 0.0005705833352454159, + 0.0005715494699076366, + 0.0005724573795698571, + 0.0005733105087192332, + 0.0005741121099761236, + 0.0005748652527320843, + 0.0005755728317482621, + 0.000576237575644953, + 0.000576862055226719, + 0.0005774486915992362, + 0.0005779997640441877, + 0.0005785174176271334, + 0.0005790036705205929, + 0.0005794604210306842, + 0.0005798894543207429, + 0.0005802924488295122, + 0.0005806709823848959, + 0.0005810265380169832, + 0.0005813605094762124, + 0.0005816742064642053, + 0.0005819688595860666, + 0.0006745529609822567, + 0.0006884948486278385, + 0.0007032505684529973, + 0.0007188620453990949, + 0.000735372656448914, + 0.0007528271866388945, + 0.0007712717691712932, + 0.0007907538077579932, + 0.0008113218792208943, + 0.0008330256143279111, + 0.0008559155547430851, + 0.0008800429840013537, + 0.0009054597303404063, + 0.0009322179393477644, + 0.0009603698144204215, + 0.0009899673232066045, + 0.0010210618684308892, + 0.0010537039217708125, + 0.001087942619867596, + 0.0011238253220133376, + 0.0011613971296446357, + 0.0012007003684621905, + 0.0012417740347997015, + 0.0012846532087833638, + 0.0013293684378529282, + 0.001375945095348989, + 0.0014244027200962356, + 0.0014747543442094752, + 0.001527005817691885, + 0.0015811551397487853, + 0.0016371918080720926, + 0.0016950961985715766, + 0.0017548389891892243, + 0.0018163806422829022, + 0.0018796709607714962, + 0.001944648733501537, + 0.0020112414852716362, + 0.0020793653463484596, + 0.0021489250553073, + 0.0022198141074067862, + 0.002291915058548341, + 0.002365099992140885, + 0.0024392311529294395, + 0.0025141617481117704, + 0.002589736911950468, + 0.002665794825708926, + 0.0027421679802456383, + 0.002818684564161146, + 0.002895169956189835, + 0.0029714482967541384, + 0.0030473441104363268, + 0.003122683948741905, + 0.0031972980210684503, + 0.0032710217813668716, + 0.0033436974386051228, + 0.0034151753609280118, + 0.003485315346113783, + 0.0035539877346783297, + 0.0036210743464314197, + 0.0036864692263605748, + 0.0037500791911459575, + 0.003811824173167151, + 0.003871637364313152, + 0.003929465167028282, + 0.0039852669646237475, + 0.004039014726798746, + 0.004090692469432141, + 0.0041402955899594905, + 0.0041878301010217075, + 0.004233311785586415, + 0.004276765296474636, + 0.004318223222229739, + 0.00435772513976665, + 0.0043953166721799625, + 0.004431048567836161, + 0.004464975814330797, + 0.004497156798387952, + 0.0045276525201932444, + 0.004556525868309584, + 0.004583840959065575, + 0.004609662542389123, + 0.004634055474285501, + 0.0046570842547733774, + 0.0046788126289143755, + 0.004699303247655949, + 0.004718617384600132, + 0.004736814704308206, + 0.004753953077556796, + 0.004770088438818375, + 0.004785274681331805, + 0.004799563585211487, + 0.004813004774284354, + 0.004825645697639717, + 0.00483753163212851, + 0.0048487057024240235, + 0.004859208915564069, + 0.00486908020723923, + 0.00487835649738561, + 0.004887072752993357, + 0.004895262056262801, + 0.004902955676550012, + 0.00491018314475524, + 0.004916972329027389, + 0.004923349510846155, + 0.004929339460710363, + 0.004934965512806199, + 0.004940249638162802, + 0.0049452125158867466, + 0.004949873602209774, + 0.004954251197100728, + 0.00495836250830861, + 0.004962223712732987, + 0.0049658500150777714, + 0.00496925570375567, + 0.004972454204090394, + 0.004975458128825346, + 0.004978279326015908, + 0.004980928924371875, + 0.004983417376134291, + 0.004985754497577632, + 0.0049879495072333736, + 0.004990011061933937, + 0.004991947290777423, + 0.004993765827113494, + 0.0049954738386497706, + 0.004997078055776203, + 0.004998584798201507, + 0.004999999999999893 + ], + "lo": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + }, + "occupancy": { + "hi": [ + 7.92828441682626e-05 + ], + "lo": [ + 0.0 + ] + }, + "positive_m3": { + "hi": [ + 5.977216152432523e+21, + 5.987488239584343e+21, + 5.998512578924518e+21, + 6.01032837769423e+21, + 6.022963386680289e+21, + 6.036438165460552e+21, + 6.050773463721801e+21, + 6.065996528600884e+21, + 6.082143562115892e+21, + 6.099258742752289e+21, + 6.117391962320894e+21, + 6.136596944982358e+21, + 6.15693020320618e+21, + 6.17845059293201e+21, + 6.201219143178377e+21, + 6.225298969285507e+21, + 6.250755192940193e+21, + 6.277654844349954e+21, + 6.30606673874493e+21, + 6.336061323489396e+21, + 6.367710492873984e+21, + 6.401087367811573e+21, + 6.436266037769389e+21, + 6.473321262441364e+21, + 6.512328130930836e+21, + 6.553361676590681e+21, + 6.596496446173287e+21, + 6.641806022577969e+21, + 6.689362501284729e+21, + 6.739235921505364e+21, + 6.79149365420797e+21, + 6.846199750432496e+21, + 6.903414254746589e+21, + 6.96319249023102e+21, + 7.025584323019183e+21, + 7.0906334161016e+21, + 7.15837648376364e+21, + 7.228842559592285e+21, + 7.302052292372106e+21, + 7.378017285291904e+21, + 7.456739494590489e+21, + 7.538210703982791e+21, + 7.622412090822423e+21, + 7.709313898891935e+21, + 7.798875230894353e+21, + 7.891043971148291e+21, + 7.985756845669874e+21, + 8.082939622831622e+21, + 8.182507453258383e+21, + 8.284365342746353e+21, + 8.388408746991806e+21, + 8.494524272116984e+21, + 8.602590460629888e+21, + 8.712478638914828e+21, + 8.824053799903298e+21, + 8.937175493413091e+21, + 9.051698697014504e+21, + 9.167474642191017e+21, + 9.284351574014268e+21, + 9.402175427355892e+21, + 9.520790408616558e+21, + 9.640039478601389e+21, + 9.759764739168976e+21, + 9.879807733106091e+21, + 1.00000096728366e+22, + 1.012021161865621e+22, + 1.0240254630797144e+22, + 1.035997992149124e+22, + 1.0479229033211484e+22, + 1.0597844067385591e+22, + 1.071566798427932e+22, + 1.083254498965659e+22, + 1.0948321017667976e+22, + 1.10628443125917e+22, + 1.1175966105061504e+22, + 1.1287541371757008e+22, + 1.1397429661577639e+22, + 1.1505495966526302e+22, + 1.1611611612061905e+22, + 1.1715655139781614e+22, + 1.1817513154926269e+22, + 1.1917081112349837e+22, + 1.201426401705404e+22, + 1.2108977018923555e+22, + 1.220114588565316e+22, + 1.2290707342643991e+22, + 1.2377609273668708e+22, + 1.2461810780949327e+22, + 1.2543282107856435e+22, + 1.2622004431396283e+22, + 1.26979695349998e+22, + 1.2771179374679419e+22, + 1.284164555345355e+22, + 1.2909388719986873e+22, + 1.297443790779195e+22, + 1.3036829831120405e+22, + 1.3096608152965662e+22, + 1.315382273949497e+22, + 1.3208528913849265e+22, + 1.3260786720679246e+22, + 1.3310660211126384e+22, + 1.3358216756274762e+22, + 1.3403526395464222e+22, + 1.3446661224310837e+22, + 1.3487694825856428e+22, + 1.3526701746999221e+22, + 1.3563757021240278e+22, + 1.3598935737830746e+22, + 1.363231265661079e+22, + 1.366396186718668e+22, + 1.369395649056985e+22, + 1.372236842090364e+22, + 1.3749268104053917e+22, + 1.3774724347353748e+22, + 1.3798804147329938e+22, + 1.3821572504050328e+22, + 1.3843092158765723e+22, + 1.3863423161085492e+22, + 1.3882622193006235e+22, + 1.3900741713346324e+22, + 1.391782922914384e+22, + 1.3933927191087864e+22, + 1.3949073917149656e+22, + 1.3963305512302654e+22, + 1.3976658223490878e+22, + 1.3989170421266007e+22, + 1.400088359074796e+22, + 1.4011842175096735e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22 + ], + "lo": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + } + }, + "poisson_inputs": { + "fixed_inputs": { + "dqfn_V": { + "hi": [ + 0.0, + -1.8901339746933417e-06, + -3.9025587817028984e-06, + -6.045196111160143e-06, + -8.3264798125241e-06, + -1.0755388444239632e-05, + -1.3341479736035109e-05, + -1.609492704353869e-05, + -1.902655785748135e-05, + -2.2147894447478577e-05, + -2.5471196679533578e-05, + -2.9009507057922708e-05, + -3.27766980161769e-05, + -3.678752145553795e-05, + -4.105766051469504e-05, + -4.56037835194261e-05, + -5.0443600006738065e-05, + -5.559591869573132e-05, + -6.108070720970875e-05, + -6.691915327627889e-05, + -7.313372707963334e-05, + -7.974824433469058e-05, + -8.678792954677818e-05, + -9.427947881506012e-05, + -0.00010225112139659928, + -0.00011073267909818896, + -0.00011975562241398507, + -0.00012935312210467402, + -0.00013956009478992143, + -0.00015041324082354715, + -0.00016195107259482384, + -0.00017421393110189843, + -0.00018724398845853016, + -0.00020108523375884766, + -0.00021578343952816583, + -0.00023138610579688588, + -0.00024794237871992274, + -0.00026550294054649554, + -0.00028411986775211305, + -0.00030384645419963144, + -0.0003247369963696883, + -0.0003468465379891297, + -0.000370230571808113, + -0.0003949446968483174, + -0.00042104423015333257, + -0.0004485837729772853, + -0.0004776167323299964, + -0.0005081948000120609, + -0.0005403673924914139, + -0.0005741810563796017, + -0.0006096788456121863, + -0.0006468996778423839, + -0.0006858776788494643, + -0.0007266415249407869, + -0.0007692137943076726, + -0.000813610339028368, + -0.0008598396898472572, + -0.0009079025059610963, + -0.0009577910817935193, + -0.001009488922113998, + -0.0010629703959288276, + -0.0011182004782583394, + -0.0011751345874289555, + -0.001233718523723188, + -0.0012938885133816527, + -0.0013555713599741807, + -0.001418684703229603, + -0.0014831373834809111, + -0.0015488299081098118, + -0.0016156550146999636, + -0.0016834983241279904, + -0.0017522390754733822, + -0.0018217509335167943, + -0.0018919028585844034, + -0.0019625600277232507, + -0.002033584795505804, + -0.0021048376822894975, + -0.002176178377402297, + -0.002247466744548407, + -0.0023185638167199283, + -0.002389332768077963, + -0.002459639850648226, + -0.0025293552842520915, + -0.0025983540889271696, + -0.002666516850070506, + -0.002733730407800204, + -0.0027998884634021135, + -0.002864892097305146, + -0.002928650194656552, + -0.0029910797763299836, + -0.0030521062348891053, + -0.003111663476749851, + -0.0031696939733603167, + -0.0032261487256944484, + -0.003280987147635359, + -0.0033341768749002433, + -0.003385693507029803, + -0.0034355202905807, + -0.0034836477520574123, + -0.003530073289273136, + -0.003574800729811172, + -0.003617839864997039, + -0.0036592059674247822, + -0.003698919299548621, + -0.003737004620216108, + -0.0037734906953440566, + -0.0038084098181620078, + -0.0038417973437113663, + -0.003873691241500428, + -0.003904131669501898, + -0.003933160571942366, + -0.003960821302700416, + -0.003987158275516357, + -0.004012216641685201, + -0.00403604199541401, + -0.004058680106653339, + -0.004080176680811581, + -0.004100577144533104, + -0.004119926456456895, + -0.004138268941713892, + -0.004155648148789646, + -0.004172106727293796, + -0.004187686325128348, + -0.004202427503528353, + -0.004216369668456142, + -0.004229551016859221, + -0.00424200849634778, + -0.004253777776907008, + -0.004331910618650179, + -0.0043321594880070795, + -0.004332424444025053, + -0.004332706527900039, + -0.00433300684825341, + -0.004333326585471268, + -0.004333666996319264, + -0.004334029418838202, + -0.004334415277541536, + -0.0043348260889302034, + -0.004335263467330495, + -0.004335729131087958, + -0.00433622490910949, + -0.00433675274778541, + -0.004337314718294668, + -0.004337913024304507, + -0.0043385500100796, + -0.004339228168997788, + -0.004339950152481585, + -0.004340718779340419, + -0.004341537045520197, + -0.004342408134233195, + -0.004343335426473522, + -0.004344322511848832, + -0.004345373199715625, + -0.004346491530548236, + -0.00434768178746518, + -0.004348948507826163, + -0.004350296494782888, + -0.004351730828644991, + -0.004353256877893685, + -0.004354880309643782, + -0.004356607099318727, + -0.00435844353926703, + -0.004360396245996687, + -0.0043624721656698555, + -0.004364678577448292, + -0.00436702309421019, + -0.004369513660144178, + -0.004372158544634496, + -0.004374966331829496, + -0.004377945905231503, + -0.004381106426599887, + -0.004384457308456771, + -0.004388008179445436, + -0.004391768841811127, + -0.004395749220316616, + -0.004399959301939932, + -0.004404409065805763, + -0.004409108402943974, + -0.0044140670256119195, + -0.004419294366156136, + -0.004424799465635951, + -0.004430590852738302, + -0.0044366764138562345, + -0.004443063255581168, + -0.004449757561261079, + -0.004456764443690398, + -0.004464087796406138, + -0.0044717301464540764, + -0.004479692511817722, + -0.004487974267002231, + -0.004496573020420033, + -0.004505484507325924, + -0.004514702501985492, + -0.004524218752577045, + -0.004534022941977185, + -0.004544102677122425, + -0.004554443508988771, + -0.004565028984521229, + -0.00457584073099235, + -0.004586858572391784, + -0.004598060676524778, + -0.004609423730589306, + -0.004620923142172362, + -0.0046325332618344095, + -0.004644227622857256, + -0.004655979193232786, + -0.004667760634707071, + -0.004679544563557769, + -0.004691303807898168, + -0.004703011656492723, + -0.004714642094527842, + -0.004726170022277919, + -0.0047375714532572055, + -0.004748823689147795, + -0.004759905469534289, + -0.004770797095220431, + -0.004781480524623276, + -0.004791939443415882, + -0.004802159308184794, + -0.004812127365402567, + -0.004821832647439549, + -0.004831265947667324, + -0.004840419776958318, + -0.004849288304025497, + -0.004857867282118376, + -0.004866153964570322, + -0.004874147011645759, + -0.004881846390982064, + -0.004889253273783155, + -0.0048963699287177635, + -0.004903199615268759, + -0.004909746478059467, + -0.004916015443461217, + -0.004922012119568708, + -0.004927742700425782, + -0.00493321387517733, + -0.004938432742673686, + -0.004943406731849993, + -0.004948143528115595, + -0.004952651005806212, + -0.004956937166716962, + -0.004961010084566505, + -0.004964877855256741, + -0.004968548552667894, + -0.0049720301897311645, + -0.0049753306844616775, + -0.004978457830646398, + -0.00498141927283012, + -0.004984222485275979, + -0.00498687475456057, + -0.00498938316546848, + -0.004991754589870449, + -0.004993995678286663, + -0.004996112853830905, + -0.004998112308279179, + -0.004999999999999893 + ], + "lo": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + }, + "dqfp_V": { + "hi": [ + 0.0, + 1.4118322020961102e-06, + 2.907287945778109e-06, + 4.490837034285545e-06, + 6.167127349694216e-06, + 7.940984064331771e-06, + 9.81740760144655e-06, + 1.1801570178965877e-05, + 1.3898810759634587e-05, + 1.6114628221122247e-05, + 1.8454672551231324e-05, + 2.092473386655693e-05, + 2.353072904836653e-05, + 2.6278685787621723e-05, + 2.917472383258976e-05, + 3.222503323804007e-05, + 3.54358494244151e-05, + 3.881342487821258e-05, + 4.236399732188208e-05, + 4.6093754260107755e-05, + 5.000879378356093e-05, + 5.4115081605435225e-05, + 5.8418404334232784e-05, + 6.292431905516489e-05, + 6.763809936218727e-05, + 7.256467806171076e-05, + 7.770858685585401e-05, + 8.307389340583444e-05, + 8.866413628211571e-05, + 9.448225838535494e-05, + 0.00010053053957519312, + 0.00010681052928313925, + 0.00011332298003178483, + 0.00012006778284522488, + 0.00012704390561765912, + 0.0001342493355648378, + 0.0001416810269214215, + 0.00014933485506207214, + 0.00015720557821222996, + 0.00016528680787381586, + 0.00017357098901930933, + 0.00018204939101343877, + 0.00019071211006603484, + 0.00019954808391116905, + 0.00020854511916247354, + 0.00021768993164958123, + 0.00022696819977470318, + 0.00023636463076041908, + 0.00024586303936937324, + 0.0002554464385023966, + 0.0002650971408416998, + 0.0002747968705116377, + 0.00028452688354503976, + 0.0002942680957800378, + 0.00030400121667175994, + 0.0003137068873863404, + 0.00032336582145193327, + 0.00033295894617313697, + 0.00034246754297168736, + 0.00035187338479812126, + 0.00036115886876745667, + 0.0003703071422084226, + 0.00037930222038253035, + 0.0003881290942285563, + 0.00039677382662098754, + 0.00040522363580782926, + 0.0004134669648740391, + 0.00042149353636662565, + 0.0004292943914259294, + 0.0004368619131126986, + 0.00044418983390765495, + 0.00045127322768602235, + 0.00045810848678278805, + 0.000464693285061509, + 0.0004710265281767013, + 0.0004771082924268763, + 0.0004829397538299829, + 0.000488523109121839, + 0.0004938614905094554, + 0.0004989588759860805, + 0.0005038199970178614, + 0.0005084502452883284, + 0.0005128555800963444, + 0.0005170424378040946, + 0.0005210176445773878, + 0.0005247883334405545, + 0.0005283618664671635, + 0.0005317457627218819, + 0.0005349476323730595, + 0.000537975117214739, + 0.000540835837674865, + 0.0005435373462452239, + 0.0005460870871582554, + 0.0005484923620164865, + 0.0005507603010576744, + 0.0005528978396247371, + 0.0005549116994259279, + 0.0005568083741285945, + 0.0005585941188333097, + 0.0005602749429817159, + 0.000561856606267584, + 0.0005633446171432813, + 0.0005647442335411235, + 0.0005660604654592962, + 0.0005672980790937378, + 0.0005684616022294741, + 0.0005695553306364674, + 0.0005705833352454159, + 0.0005715494699076366, + 0.0005724573795698571, + 0.0005733105087192332, + 0.0005741121099761236, + 0.0005748652527320843, + 0.0005755728317482621, + 0.000576237575644953, + 0.000576862055226719, + 0.0005774486915992362, + 0.0005779997640441877, + 0.0005785174176271334, + 0.0005790036705205929, + 0.0005794604210306842, + 0.0005798894543207429, + 0.0005802924488295122, + 0.0005806709823848959, + 0.0005810265380169832, + 0.0005813605094762124, + 0.0005816742064642053, + 0.0005819688595860666, + 0.0006745529609822567, + 0.0006884948486278385, + 0.0007032505684529973, + 0.0007188620453990949, + 0.000735372656448914, + 0.0007528271866388945, + 0.0007712717691712932, + 0.0007907538077579932, + 0.0008113218792208943, + 0.0008330256143279111, + 0.0008559155547430851, + 0.0008800429840013537, + 0.0009054597303404063, + 0.0009322179393477644, + 0.0009603698144204215, + 0.0009899673232066045, + 0.0010210618684308892, + 0.0010537039217708125, + 0.001087942619867596, + 0.0011238253220133376, + 0.0011613971296446357, + 0.0012007003684621905, + 0.0012417740347997015, + 0.0012846532087833638, + 0.0013293684378529282, + 0.001375945095348989, + 0.0014244027200962356, + 0.0014747543442094752, + 0.001527005817691885, + 0.0015811551397487853, + 0.0016371918080720926, + 0.0016950961985715766, + 0.0017548389891892243, + 0.0018163806422829022, + 0.0018796709607714962, + 0.001944648733501537, + 0.0020112414852716362, + 0.0020793653463484596, + 0.0021489250553073, + 0.0022198141074067862, + 0.002291915058548341, + 0.002365099992140885, + 0.0024392311529294395, + 0.0025141617481117704, + 0.002589736911950468, + 0.002665794825708926, + 0.0027421679802456383, + 0.002818684564161146, + 0.002895169956189835, + 0.0029714482967541384, + 0.0030473441104363268, + 0.003122683948741905, + 0.0031972980210684503, + 0.0032710217813668716, + 0.0033436974386051228, + 0.0034151753609280118, + 0.003485315346113783, + 0.0035539877346783297, + 0.0036210743464314197, + 0.0036864692263605748, + 0.0037500791911459575, + 0.003811824173167151, + 0.003871637364313152, + 0.003929465167028282, + 0.0039852669646237475, + 0.004039014726798746, + 0.004090692469432141, + 0.0041402955899594905, + 0.0041878301010217075, + 0.004233311785586415, + 0.004276765296474636, + 0.004318223222229739, + 0.00435772513976665, + 0.0043953166721799625, + 0.004431048567836161, + 0.004464975814330797, + 0.004497156798387952, + 0.0045276525201932444, + 0.004556525868309584, + 0.004583840959065575, + 0.004609662542389123, + 0.004634055474285501, + 0.0046570842547733774, + 0.0046788126289143755, + 0.004699303247655949, + 0.004718617384600132, + 0.004736814704308206, + 0.004753953077556796, + 0.004770088438818375, + 0.004785274681331805, + 0.004799563585211487, + 0.004813004774284354, + 0.004825645697639717, + 0.00483753163212851, + 0.0048487057024240235, + 0.004859208915564069, + 0.00486908020723923, + 0.00487835649738561, + 0.004887072752993357, + 0.004895262056262801, + 0.004902955676550012, + 0.00491018314475524, + 0.004916972329027389, + 0.004923349510846155, + 0.004929339460710363, + 0.004934965512806199, + 0.004940249638162802, + 0.0049452125158867466, + 0.004949873602209774, + 0.004954251197100728, + 0.00495836250830861, + 0.004962223712732987, + 0.0049658500150777714, + 0.00496925570375567, + 0.004972454204090394, + 0.004975458128825346, + 0.004978279326015908, + 0.004980928924371875, + 0.004983417376134291, + 0.004985754497577632, + 0.0049879495072333736, + 0.004990011061933937, + 0.004991947290777423, + 0.004993765827113494, + 0.0049954738386497706, + 0.004997078055776203, + 0.004998584798201507, + 0.004999999999999893 + ], + "lo": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + }, + "occupancy": { + "hi": [ + 7.92828441682626e-05 + ], + "lo": [ + 0.0 + ] + }, + "positive_m3": { + "hi": [ + 5.977216152432523e+21, + 5.987488239584343e+21, + 5.998512578924518e+21, + 6.01032837769423e+21, + 6.022963386680289e+21, + 6.036438165460552e+21, + 6.050773463721801e+21, + 6.065996528600884e+21, + 6.082143562115892e+21, + 6.099258742752289e+21, + 6.117391962320894e+21, + 6.136596944982358e+21, + 6.15693020320618e+21, + 6.17845059293201e+21, + 6.201219143178377e+21, + 6.225298969285507e+21, + 6.250755192940193e+21, + 6.277654844349954e+21, + 6.30606673874493e+21, + 6.336061323489396e+21, + 6.367710492873984e+21, + 6.401087367811573e+21, + 6.436266037769389e+21, + 6.473321262441364e+21, + 6.512328130930836e+21, + 6.553361676590681e+21, + 6.596496446173287e+21, + 6.641806022577969e+21, + 6.689362501284729e+21, + 6.739235921505364e+21, + 6.79149365420797e+21, + 6.846199750432496e+21, + 6.903414254746589e+21, + 6.96319249023102e+21, + 7.025584323019183e+21, + 7.0906334161016e+21, + 7.15837648376364e+21, + 7.228842559592285e+21, + 7.302052292372106e+21, + 7.378017285291904e+21, + 7.456739494590489e+21, + 7.538210703982791e+21, + 7.622412090822423e+21, + 7.709313898891935e+21, + 7.798875230894353e+21, + 7.891043971148291e+21, + 7.985756845669874e+21, + 8.082939622831622e+21, + 8.182507453258383e+21, + 8.284365342746353e+21, + 8.388408746991806e+21, + 8.494524272116984e+21, + 8.602590460629888e+21, + 8.712478638914828e+21, + 8.824053799903298e+21, + 8.937175493413091e+21, + 9.051698697014504e+21, + 9.167474642191017e+21, + 9.284351574014268e+21, + 9.402175427355892e+21, + 9.520790408616558e+21, + 9.640039478601389e+21, + 9.759764739168976e+21, + 9.879807733106091e+21, + 1.00000096728366e+22, + 1.012021161865621e+22, + 1.0240254630797144e+22, + 1.035997992149124e+22, + 1.0479229033211484e+22, + 1.0597844067385591e+22, + 1.071566798427932e+22, + 1.083254498965659e+22, + 1.0948321017667976e+22, + 1.10628443125917e+22, + 1.1175966105061504e+22, + 1.1287541371757008e+22, + 1.1397429661577639e+22, + 1.1505495966526302e+22, + 1.1611611612061905e+22, + 1.1715655139781614e+22, + 1.1817513154926269e+22, + 1.1917081112349837e+22, + 1.201426401705404e+22, + 1.2108977018923555e+22, + 1.220114588565316e+22, + 1.2290707342643991e+22, + 1.2377609273668708e+22, + 1.2461810780949327e+22, + 1.2543282107856435e+22, + 1.2622004431396283e+22, + 1.26979695349998e+22, + 1.2771179374679419e+22, + 1.284164555345355e+22, + 1.2909388719986873e+22, + 1.297443790779195e+22, + 1.3036829831120405e+22, + 1.3096608152965662e+22, + 1.315382273949497e+22, + 1.3208528913849265e+22, + 1.3260786720679246e+22, + 1.3310660211126384e+22, + 1.3358216756274762e+22, + 1.3403526395464222e+22, + 1.3446661224310837e+22, + 1.3487694825856428e+22, + 1.3526701746999221e+22, + 1.3563757021240278e+22, + 1.3598935737830746e+22, + 1.363231265661079e+22, + 1.366396186718668e+22, + 1.369395649056985e+22, + 1.372236842090364e+22, + 1.3749268104053917e+22, + 1.3774724347353748e+22, + 1.3798804147329938e+22, + 1.3821572504050328e+22, + 1.3843092158765723e+22, + 1.3863423161085492e+22, + 1.3882622193006235e+22, + 1.3900741713346324e+22, + 1.391782922914384e+22, + 1.3933927191087864e+22, + 1.3949073917149656e+22, + 1.3963305512302654e+22, + 1.3976658223490878e+22, + 1.3989170421266007e+22, + 1.400088359074796e+22, + 1.4011842175096735e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22 + ], + "lo": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + }, + "sheet_charge_C_m2": { + "hi": [ + -2.1900398894697513e-13 + ], + "lo": [ + -1.2000890957926776e-29 + ] + } + }, + "preparation": { + "N_A_m3": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "N_D_m3": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "boundary_phi_V": [ + 0.0, + -0.09499999999999964 + ], + "contact_n_m3": [ + 2515095827087.2163, + 2515095827087.2163 + ], + "contact_p_m3": [ + 2515095827087.2163, + 2515095827087.2163 + ], + "interface_nodes": [ + [ + 127, + 128 + ] + ], + "ion_background_m3": [ + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22 + ], + "log_n0": [ + 28.553332020975937, + 28.551049248875955, + 28.54862505616859, + 28.54605107069591, + 28.543318475164, + 28.54041799009738, + 28.53733985705989, + 28.534073822305203, + 28.530609121044165, + 28.52693446254159, + 28.523038016282243, + 28.518907399476745, + 28.5145296662088, + 28.509891298560092, + 28.504978200084025, + 28.499775692037815, + 28.49426851281916, + 28.488440821094684, + 28.482276203145545, + 28.475757684993937, + 28.46886774991202, + 28.461588361949055, + 28.45390099614181, + 28.4457866760998, + 28.437226019673375, + 28.428199293421358, + 28.418686476592598, + 28.40866733531783, + 28.39812150767696, + 28.38702860025265, + 28.37536829670941, + 28.363120478837203, + 28.35026536037455, + 28.336783633769812, + 28.32265662985384, + 28.307866490177673, + 28.292396351515976, + 28.276230541751687, + 28.259354786040234, + 28.2417564218064, + 28.22342462075838, + 28.204350615717658, + 28.184527929669713, + 28.16395260404761, + 28.142623422883673, + 28.120542129114938, + 28.097713629022763, + 28.074146180544034, + 28.0498515610237, + 28.02484520990896, + 27.999146341922255, + 27.97277802641483, + 27.945767228897722, + 27.918144811185016, + 27.88994548716144, + 27.86120773190089, + 27.83197364270228, + 27.802288751555892, + 27.772201789584415, + 27.74176440508694, + 27.711030837918685, + 27.680057554022284, + 27.648902844955217, + 27.617626398184456, + 27.58628884471503, + 27.55495129124455, + 27.52367484447069, + 27.49252013539845, + 27.461546851494887, + 27.430813284317452, + 27.40037589980895, + 27.37028893782454, + 27.340604046663543, + 27.311369957448647, + 27.282632202170248, + 27.254432878127375, + 27.226810460394034, + 27.1997996628551, + 27.173431347324737, + 27.147732479314186, + 27.12272612817472, + 27.098431508629005, + 27.07486406012424, + 27.052035560005635, + 27.029954266210098, + 27.00862508501919, + 26.988049759369943, + 26.968227073294884, + 26.949153068227105, + 26.930821267152226, + 26.91322290289176, + 26.896347147154017, + 26.880181337363865, + 26.86471119867673, + 26.84992105897564, + 26.835794055035336, + 26.822312328406838, + 26.809457209921078, + 26.797209392026446, + 26.78554908846141, + 26.774456181016035, + 26.763910353354817, + 26.753891212060438, + 26.744378395212777, + 26.7353516689426, + 26.726791012498694, + 26.718676692439914, + 26.710989326616613, + 26.703709938638298, + 26.69682000354169, + 26.69030148537604, + 26.684136867413514, + 26.678309175676276, + 26.672801996445486, + 26.66759948838768, + 26.662686389900642, + 26.658048022241474, + 26.65367028896361, + 26.649539672148705, + 26.645643225880434, + 26.64196856736936, + 26.638503866100308, + 26.635237831338003, + 26.63215969829332, + 26.62925921321991, + 26.626526617681577, + 26.623952632202787, + 26.62152843948968, + 30.485135602462208, + 30.482711409749072, + 30.48013742427031, + 30.47740482873195, + 30.474504343658538, + 30.471426210613856, + 30.46816017585155, + 30.4646954745825, + 30.461020816071454, + 30.457124369803182, + 30.45299375298825, + 30.448616019710414, + 30.443977652051217, + 30.43906455356418, + 30.4338620455064, + 30.428354866275583, + 30.422527174538374, + 30.416362556575848, + 30.4098440384102, + 30.40295410331359, + 30.395674715335275, + 30.387987349511917, + 30.379873029453194, + 30.37131237300929, + 30.36228564673911, + 30.35277282989145, + 30.342753688597043, + 30.332207860935824, + 30.32111495349045, + 30.309454649925414, + 30.29720683203081, + 30.28435171354505, + 30.27086998691655, + 30.25674298297622, + 30.24195284327513, + 30.226482704587994, + 30.21031689479784, + 30.193441139060127, + 30.175842774799662, + 30.157510973724754, + 30.138436968657004, + 30.118614282581916, + 30.098038956932697, + 30.076709775741733, + 30.054628481946253, + 30.031799981827646, + 30.008232533322882, + 29.98393791377717, + 29.958931562637673, + 29.933232694627122, + 29.90686437909679, + 29.879853581557853, + 29.852231163824484, + 29.82403183978164, + 29.79529408450321, + 29.766059995288344, + 29.73637510412732, + 29.706288142142938, + 29.675850757634407, + 29.64511719045703, + 29.61414390655341, + 29.58298919748117, + 29.55171275070734, + 29.52037519723686, + 29.489037643767375, + 29.45776119699667, + 29.426606487929604, + 29.395633204033203, + 29.36489963686489, + 29.334462252367445, + 29.304375290395996, + 29.274690399249607, + 29.24545631005097, + 29.216718554790447, + 29.18851923076687, + 29.160896813054165, + 29.13388601553703, + 29.107517700029604, + 29.081818832042956, + 29.05681248092816, + 29.032517861407854, + 29.008950412929096, + 28.98612191283692, + 28.964040619068186, + 28.94271143790425, + 28.922136112282175, + 28.9023134262342, + 28.88323942119348, + 28.86490762014546, + 28.847309255911625, + 28.8304335002002, + 28.814267690435912, + 28.798797551774214, + 28.78400741209805, + 28.769880408182075, + 28.75639868157731, + 28.743543563114656, + 28.731295745242477, + 28.71963544169921, + 28.708542534274926, + 28.69799670663403, + 28.68797756535929, + 28.67846474853053, + 28.669438022278513, + 28.660877365852087, + 28.652763045810076, + 28.645075680002833, + 28.637796292039837, + 28.63090635695795, + 28.624387838806285, + 28.618223220857175, + 28.612395529132726, + 28.606888349914044, + 28.601685841867834, + 28.596772743391796, + 28.59213437574303, + 28.587756642475142, + 28.583626025669616, + 28.579729579410298, + 28.576054920907694, + 28.572590219646685, + 28.56932418489197, + 28.566246051854506, + 28.563345566787888, + 28.560612971255978, + 28.55803898578327, + 28.555614793075904, + 28.553332020975937 + ], + "log_p0": [ + 28.553332020975937, + 28.555614793075932, + 28.5580389857833, + 28.560612971255978, + 28.563345566787888, + 28.566246051854506, + 28.56932418489197, + 28.572590219646685, + 28.576054920907694, + 28.579729579410326, + 28.583626025669645, + 28.587756642475114, + 28.592134375743086, + 28.596772743391796, + 28.601685841867834, + 28.606888349914044, + 28.612395529132726, + 28.618223220857175, + 28.624387838806314, + 28.63090635695798, + 28.637796292039866, + 28.645075680002833, + 28.652763045810104, + 28.660877365852087, + 28.669438022278513, + 28.6784647485305, + 28.68797756535929, + 28.697996706634058, + 28.708542534274898, + 28.71963544169924, + 28.731295745242477, + 28.743543563114656, + 28.756398681577338, + 28.769880408182047, + 28.78400741209802, + 28.798797551774214, + 28.814267690435912, + 28.8304335002002, + 28.847309255911654, + 28.864907620145487, + 28.883239421193508, + 28.90231342623423, + 28.922136112282175, + 28.94271143790428, + 28.964040619068214, + 28.98612191283695, + 29.008950412929124, + 29.032517861407854, + 29.056812480928215, + 29.081818832042956, + 29.107517700029632, + 29.13388601553703, + 29.160896813054165, + 29.18851923076687, + 29.216718554790475, + 29.24545631005097, + 29.27469039924958, + 29.304375290395996, + 29.3344622523675, + 29.364899636864948, + 29.395633204033174, + 29.426606487929575, + 29.457761196996643, + 29.489037643767432, + 29.520375197236888, + 29.55171275070734, + 29.582989197481226, + 29.614143906553437, + 29.645117190457, + 29.675850757634436, + 29.706288142142938, + 29.73637510412732, + 29.766059995288344, + 29.79529408450324, + 29.82403183978164, + 29.85223116382454, + 29.879853581557825, + 29.906864379096817, + 29.93323269462715, + 29.9589315626377, + 29.98393791377717, + 30.00823253332291, + 30.031799981827646, + 30.054628481946224, + 30.07670977574179, + 30.098038956932697, + 30.118614282581916, + 30.138436968657032, + 30.157510973724754, + 30.175842774799662, + 30.193441139060127, + 30.21031689479787, + 30.226482704588022, + 30.241952843275158, + 30.25674298297625, + 30.27086998691658, + 30.28435171354502, + 30.29720683203081, + 30.309454649925442, + 30.32111495349048, + 30.332207860935853, + 30.342753688597043, + 30.35277282989145, + 30.36228564673911, + 30.37131237300929, + 30.379873029453222, + 30.387987349511974, + 30.395674715335275, + 30.40295410331362, + 30.4098440384102, + 30.416362556575848, + 30.422527174538345, + 30.428354866275583, + 30.4338620455064, + 30.439064553564208, + 30.443977652051245, + 30.448616019710443, + 30.452993752988306, + 30.457124369803182, + 30.461020816071425, + 30.4646954745825, + 30.468160175851608, + 30.471426210613885, + 30.474504343658566, + 30.477404828731977, + 30.48013742427031, + 30.4827114097491, + 30.485135602462208, + 26.62152843948968, + 26.623952632202787, + 26.62652661768155, + 26.62925921321994, + 26.63215969829335, + 26.63523783133803, + 26.638503866100336, + 26.64196856736939, + 26.645643225880434, + 26.649539672148705, + 26.65367028896364, + 26.658048022241474, + 26.66268638990067, + 26.667599488387708, + 26.672801996445486, + 26.678309175676304, + 26.684136867413514, + 26.69030148537604, + 26.69682000354169, + 26.70370993863827, + 26.710989326616613, + 26.718676692439942, + 26.726791012498666, + 26.7353516689426, + 26.744378395212777, + 26.753891212060438, + 26.763910353354845, + 26.774456181016063, + 26.785549088461437, + 26.797209392026474, + 26.809457209921078, + 26.822312328406838, + 26.835794055035308, + 26.849921058975667, + 26.86471119867676, + 26.880181337363865, + 26.896347147154046, + 26.91322290289176, + 26.930821267152226, + 26.949153068227133, + 26.968227073294855, + 26.98804975936997, + 27.00862508501919, + 27.029954266210126, + 27.052035560005635, + 27.07486406012424, + 27.098431508628977, + 27.12272612817472, + 27.147732479314215, + 27.173431347324765, + 27.1997996628551, + 27.226810460394034, + 27.254432878127403, + 27.282632202170248, + 27.311369957448676, + 27.340604046663543, + 27.37028893782457, + 27.40037589980895, + 27.430813284317452, + 27.46154685149486, + 27.49252013539848, + 27.52367484447072, + 27.55495129124455, + 27.58628884471503, + 27.617626398184484, + 27.648902844955217, + 27.680057554022284, + 27.711030837918685, + 27.74176440508697, + 27.772201789584443, + 27.802288751555892, + 27.83197364270228, + 27.86120773190092, + 27.88994548716144, + 27.918144811185016, + 27.945767228897722, + 27.972778026414858, + 27.999146341922284, + 28.024845209908932, + 28.04985156102373, + 28.074146180544034, + 28.097713629022792, + 28.120542129114966, + 28.142623422883702, + 28.163952604047637, + 28.184527929669713, + 28.204350615717686, + 28.223424620758408, + 28.2417564218064, + 28.259354786040262, + 28.276230541751687, + 28.292396351515976, + 28.307866490177673, + 28.32265662985384, + 28.336783633769812, + 28.35026536037458, + 28.36312047883723, + 28.37536829670941, + 28.387028600252677, + 28.39812150767696, + 28.40866733531786, + 28.418686476592598, + 28.428199293421358, + 28.437226019673375, + 28.4457866760998, + 28.45390099614181, + 28.461588361949055, + 28.46886774991202, + 28.475757684993937, + 28.482276203145574, + 28.488440821094713, + 28.49426851281916, + 28.499775692037844, + 28.504978200084054, + 28.509891298560092, + 28.51452966620883, + 28.518907399476745, + 28.523038016282243, + 28.52693446254156, + 28.530609121044193, + 28.534073822305203, + 28.53733985705992, + 28.54041799009738, + 28.543318475164, + 28.54605107069591, + 28.548625056168618, + 28.551049248875984, + 28.553332020975937 + ], + "phi0_V": [ + 0.0, + -5.901422384117329e-05, + -0.00012168445319398998, + -0.00018822712508420754, + -0.0002588701841919243, + -0.000333853523514344, + -0.0004134294181420039, + -0.0004978629479231091, + -0.0005874324041833899, + -0.0006824296750075335, + -0.0007831606028717042, + -0.0008899453076450365, + -0.001003118467152762, + -0.0011230295466172376, + -0.0012500429673706068, + -0.0013845382042702485, + -0.0015269098002553294, + -0.0016775672854713588, + -0.0018369349873757304, + -0.0020054517172397282, + -0.0021835703175056595, + -0.0023717570535698503, + -0.00257049083277722, + -0.002780262232770108, + -0.0030015723208779996, + -0.0032349312460168657, + -0.003480856584642898, + -0.0037398714227378357, + -0.0040125021566575405, + -0.0042992759970217126, + -0.004600718161731926, + -0.004917348746748208, + -0.005249679266498931, + -0.005598208859805604, + -0.005963420162024397, + -0.006345774849774158, + -0.006745708871152653, + -0.007163627381726545, + -0.007599899414774799, + -0.008054852323189247, + -0.008528766039967916, + -0.009021867214206794, + -0.00953432328968477, + -0.01006623660327342, + -0.01061763859016804, + -0.011188484191961988, + -0.011778646571469209, + -0.012387912244508865, + -0.013015976743159824, + -0.013662440926837778, + -0.014326808056541332, + -0.015008481743408054, + -0.01570676487505197, + -0.01642085961186163, + -0.017149868530496853, + -0.017892796973355093, + -0.018648556641073954, + -0.019415970440650493, + -0.020193778575112266, + -0.020980645832639925, + -0.021775170004510458, + -0.022575891333185435, + -0.023381302865333867, + -0.024189861560571374, + -0.024999999986170973, + -0.025810138411797457, + -0.02661869710711543, + -0.02742410863939736, + -0.028224829968257963, + -0.02901935414036501, + -0.029806221398178477, + -0.030584029532973487, + -0.03135144333292852, + -0.0321072030010687, + -0.032850131444388454, + -0.03357914036352253, + -0.03429323510086539, + -0.03499151823307374, + -0.035673191920532914, + -0.03633755905085366, + -0.03698402323517029, + -0.03761208773447812, + -0.0382213534081896, + -0.03881151578838045, + -0.039382361390866774, + -0.03993376337845955, + -0.040465676692749336, + -0.040978132768928754, + -0.041471233943866904, + -0.041945147661340346, + -0.04240010057044292, + -0.042836372604170725, + -0.04325429111541382, + -0.0436542251374496, + -0.04403657982584334, + -0.04440179112869158, + -0.044750320722612154, + -0.04508265124296035, + -0.045399281828556966, + -0.0457007239938298, + -0.04598749783473847, + -0.04626012856918424, + -0.04651914340778662, + -0.046765068746901416, + -0.046998427672510355, + -0.04721973776106977, + -0.04742950916149579, + -0.04762824294111816, + -0.047816429677579535, + -0.04799454827822517, + -0.048163065008451814, + -0.048322432710702204, + -0.04847309019624808, + -0.048615461792547325, + -0.048749957029745966, + -0.04887697045078367, + -0.04899688153051836, + -0.04911005469028269, + -0.049216839395299555, + -0.049317570323394705, + -0.04941256759443781, + -0.049502137050905545, + -0.0495865705808831, + -0.049666146475696706, + -0.04974112981519505, + -0.049811772874469126, + -0.049878315546516616, + -0.04994098577601805, + -0.050059014223981596, + -0.05012168445348303, + -0.05018822712553052, + -0.0502588701848046, + -0.05033385352430294, + -0.05041342941911654, + -0.0504978629490941, + -0.050587432405561836, + -0.05068242967660494, + -0.05078316060470009, + -0.05088994530971695, + -0.05100311846948129, + -0.05112302954921597, + -0.05125004297025368, + -0.05138453820745232, + -0.05152690980375157, + -0.05167756728929745, + -0.05183693499154783, + -0.052005451721774475, + -0.05218357032242011, + -0.05237175705888148, + -0.052570490838503854, + -0.05278026223892988, + -0.05300157232748929, + -0.053234931253098236, + -0.05348085659221302, + -0.053739871430815406, + -0.05401250216526118, + -0.05429927600616984, + -0.05460071817144268, + -0.0549173487570393, + -0.05524967927738749, + -0.05559820887130806, + -0.05596342017415631, + -0.056345774862550047, + -0.05674570888458583, + -0.05716362739582892, + -0.05759989942955673, + -0.0580548523386593, + -0.05852876605613274, + -0.05902186723107089, + -0.059534323307250316, + -0.06006623662154009, + -0.06061763860913287, + -0.061188484211619196, + -0.06177864659181005, + -0.062387912265521525, + -0.06301597676482935, + -0.06366244094914597, + -0.06432680807946674, + -0.06500848176692592, + -0.06570676489913425, + -0.06642085963647712, + -0.0671498685556112, + -0.06789279699893094, + -0.06864855666707112, + -0.06941597046702616, + -0.07019377860182116, + -0.07098064585963464, + -0.07177517003174168, + -0.07257589136060229, + -0.07338130289288422, + -0.07418986158820219, + -0.07500000001382867, + -0.07581013843942826, + -0.07661869713466578, + -0.0774241086668142, + -0.0782248299954892, + -0.07901935416735972, + -0.07980622142488737, + -0.08058402955934915, + -0.08135144335892569, + -0.08210720302664455, + -0.08285013146950279, + -0.08357914038813802, + -0.08429323512494767, + -0.08499151825659158, + -0.08567319194345832, + -0.08633755907316186, + -0.08698402325683982, + -0.08761208775549079, + -0.08822135342853044, + -0.08881151580803766, + -0.0893823614098316, + -0.08993376339672624, + -0.09046567671031487, + -0.09097813278579285, + -0.09147123396003172, + -0.0919451476768104, + -0.09240010058522485, + -0.0928363726182731, + -0.09325429112884699, + -0.09365422515022548, + -0.09403657983797524, + -0.09440179114019405, + -0.09475032073350072, + -0.09508265125325144, + -0.09539928183826772, + -0.09570072400297792, + -0.0959874978433421, + -0.09626012857726181, + -0.09651914341535675, + -0.09676506875398279, + -0.09699842767912165, + -0.09721973776722953, + -0.09742950916722243, + -0.09762824294642979, + -0.09781642968249399, + -0.09799454828275993, + -0.09816306501262391, + -0.09832243271452829, + -0.0984730901997443, + -0.0986154617957294, + -0.09874995703262904, + -0.09887697045338241, + -0.09899688153284689, + -0.09911005469235461, + -0.09921683939712794, + -0.0993175703249921, + -0.09941256759581625, + -0.09950213705207653, + -0.09958657058185764, + -0.0996661464764853, + -0.09974112981580772, + -0.09981177287491544, + -0.09987831554680565, + -0.09994098577615847, + -0.09999999999999964 + ], + "poisson_capacitance_F_m2": [ + 0.75017404571579, + 0.7064109946762256, + 0.6653014944568102, + 0.6266849087920617, + 0.590410342534266, + 0.5563360520275734, + 0.5243288912413053, + 0.49426379149910127, + 0.4660232727703924, + 0.4394969846145307, + 0.4145812749841298, + 0.39117878520229893, + 0.369198069531688, + 0.34855323784813197, + 0.3291636200232019, + 0.31095345070385594, + 0.2938515732577741, + 0.27779116172718027, + 0.26270945970500414, + 0.24854753511284186, + 0.23525004992259865, + 0.22276504392192767, + 0.21104373167855206, + 0.20004031191017313, + 0.18971178851491888, + 0.18001780256316943, + 0.17092047459416174, + 0.16238425660115646, + 0.15437579312684066, + 0.14686379092615495, + 0.13981889668725767, + 0.13321358233280742, + 0.12702203745343213, + 0.12122006845295585, + 0.11578500401143077, + 0.11069560649643802, + 0.10593198897658829, + 0.10147553751290392, + 0.09730883842444564, + 0.09341561024397625, + 0.08978064009777696, + 0.086389724261008, + 0.08322961265634855, + 0.08028795707902932, + 0.07755326294595627, + 0.07501484438037558, + 0.07266278245657996, + 0.0704878864414875, + 0.06848165788165626, + 0.06663625739539021, + 0.06494447404018784, + 0.06339969713582182, + 0.0619958904329705, + 0.06072756852643374, + 0.059589775420800864, + 0.05857806516478559, + 0.057688484478576295, + 0.056917557306310415, + 0.05626227123330822, + 0.05572006571500012, + 0.05528882207153989, + 0.05496685520901951, + 0.054752907034926586, + 0.0546461415421221, + 0.0546461415421221, + 0.054752907034926586, + 0.05496685520901951, + 0.05528882207153989, + 0.05572006571500012, + 0.05626227123330846, + 0.05691755730631017, + 0.057688484478576295, + 0.05857806516478559, + 0.059589775420800864, + 0.06072756852643374, + 0.0619958904329705, + 0.06339969713582182, + 0.06494447404018752, + 0.06663625739539088, + 0.06848165788165556, + 0.0704878864414875, + 0.07266278245658016, + 0.07501484438037621, + 0.07755326294595559, + 0.08028795707902908, + 0.08322961265634855, + 0.08638972426100855, + 0.08978064009777666, + 0.09341561024397593, + 0.09730883842444671, + 0.10147553751290353, + 0.10593198897658912, + 0.11069560649643802, + 0.11578500401143002, + 0.12122006845295667, + 0.12702203745343182, + 0.13321358233280645, + 0.13981889668725767, + 0.14686379092615656, + 0.15437579312684066, + 0.162384256601154, + 0.17092047459416146, + 0.18001780256316613, + 0.18971178851492493, + 0.20004031191017202, + 0.2110437316785508, + 0.2227650439219323, + 0.2352500499225909, + 0.24854753511284822, + 0.2627094597050022, + 0.2777911617271727, + 0.293851573257779, + 0.3109534507038613, + 0.32916362002319277, + 0.3485532378481382, + 0.3691980695316899, + 0.3911787852022882, + 0.41458127498413294, + 0.4394969846145519, + 0.4660232727703929, + 0.49426379149909444, + 0.5243288912412835, + 0.5563360520275673, + 0.5904103425342505, + 0.6266849087921119, + 0.6653014944567798, + 0.7064109946762493, + 0.3750870228578949, + 0.7064109946762493, + 0.6653014944567798, + 0.6266849087920532, + 0.5904103425343027, + 0.5563360520275673, + 0.5243288912412835, + 0.49426379149909444, + 0.4660232727703929, + 0.4394969846145519, + 0.41458127498413294, + 0.3911787852022882, + 0.3691980695316899, + 0.3485532378481382, + 0.32916362002319277, + 0.3109534507038613, + 0.29385157325776606, + 0.2777911617271842, + 0.2627094597050022, + 0.24854753511284822, + 0.23525004992259918, + 0.2227650439219249, + 0.2110437316785508, + 0.20004031191017202, + 0.18971178851491954, + 0.18001780256317096, + 0.17092047459416146, + 0.162384256601154, + 0.15437579312684066, + 0.14686379092615656, + 0.13981889668725767, + 0.13321358233280645, + 0.12702203745343424, + 0.12122006845295448, + 0.11578500401143002, + 0.11069560649643802, + 0.10593198897658912, + 0.10147553751290353, + 0.09730883842444671, + 0.09341561024397593, + 0.08978064009777666, + 0.08638972426100744, + 0.0832296126563496, + 0.08028795707902908, + 0.07755326294595559, + 0.07501484438037537, + 0.07266278245658095, + 0.0704878864414875, + 0.06848165788165626, + 0.06663625739538954, + 0.06494447404018752, + 0.06339969713582243, + 0.0619958904329705, + 0.060727568526433184, + 0.0595897754208014, + 0.05857806516478559, + 0.057688484478576295, + 0.05691755730631017, + 0.05626227123330846, + 0.055720065715000586, + 0.05528882207153898, + 0.05496685520901974, + 0.05475290703492636, + 0.054646141542122544, + 0.054646141542122544, + 0.05475290703492636, + 0.05496685520901974, + 0.05528882207153898, + 0.055720065715000586, + 0.05626227123330846, + 0.05691755730631017, + 0.057688484478576295, + 0.05857806516478559, + 0.0595897754208014, + 0.060727568526433184, + 0.0619958904329705, + 0.06339969713582243, + 0.06494447404018626, + 0.06663625739539221, + 0.06848165788165486, + 0.0704878864414875, + 0.07266278245658095, + 0.07501484438037537, + 0.07755326294595559, + 0.08028795707902908, + 0.0832296126563496, + 0.08638972426100744, + 0.08978064009777786, + 0.09341561024397463, + 0.0973088384244453, + 0.10147553751290507, + 0.10593198897658912, + 0.11069560649643802, + 0.11578500401143203, + 0.12122006845295227, + 0.12702203745343424, + 0.13321358233280645, + 0.13981889668725472, + 0.14686379092615978, + 0.15437579312684066, + 0.16238425660115793, + 0.1709204745941571, + 0.18001780256316613, + 0.18971178851492493, + 0.200040311910178, + 0.21104373167854415, + 0.22276504392193971, + 0.23525004992257434, + 0.24854753511284822, + 0.26270945970502285, + 0.2777911617271612, + 0.2938515732577919, + 0.3109534507038469, + 0.32916362002319277, + 0.34855323784812003, + 0.36919806953171025, + 0.3911787852023111, + 0.41458127498413294, + 0.4394969846145519, + 0.46602327277036043, + 0.49426379149913097, + 0.5243288912412013, + 0.5563360520276136, + 0.5904103425343027, + 0.6266849087920532, + 0.6653014944567798, + 0.7064109946763238, + 0.7501740457157058 + ], + "poisson_width_m": [ + 1.2168445327999375e-10, + 1.2921290133435793e-10, + 1.3718573109489092e-10, + 1.456263985330553e-10, + 1.5455923405930657e-10, + 1.6400942452466372e-10, + 1.7400298616433713e-10, + 1.8456672721482707e-10, + 1.9572819882658635e-10, + 2.0751563278408056e-10, + 2.1995786443639556e-10, + 2.330842391367742e-10, + 2.4692450039214606e-10, + 2.615086578375502e-10, + 2.768668330800304e-10, + 2.930290814077334e-10, + 3.1002518733890237e-10, + 3.2788443199932904e-10, + 3.4663533037393737e-10, + 3.6630533658778285e-10, + 3.869205155434871e-10, + 4.0850517948706975e-10, + 4.310814884031017e-10, + 4.546690135652088e-10, + 4.79284264100096e-10, + 5.049401770735207e-10, + 5.316455723851334e-10, + 5.594045746728763e-10, + 5.882160054824251e-10, + 6.180727501540692e-10, + 6.489611052145571e-10, + 6.808601135253143e-10, + 7.137408960140655e-10, + 7.47565990478061e-10, + 7.822887096588038e-10, + 8.178525325040014e-10, + 8.54190544194725e-10, + 8.912249420559998e-10, + 9.288666258067398e-10, + 9.670148916509131e-10, + 1.005557250369215e-09, + 1.0443693897370093e-09, + 1.0833153011705004e-09, + 1.1222475893912312e-09, + 1.1610079820176118e-09, + 1.1994280532751899e-09, + 1.23733017242863e-09, + 1.2745286830742073e-09, + 1.3108313141313866e-09, + 1.3460408173217914e-09, + 1.3799568192605954e-09, + 1.4123778691985396e-09, + 1.443103656181209e-09, + 1.4719373622173193e-09, + 1.4986881112844911e-09, + 1.523173467982208e-09, + 1.5452219347003404e-09, + 1.5646753926224425e-09, + 1.5813914299979714e-09, + 1.5952455011079117e-09, + 1.6061328613443997e-09, + 1.6139702278616839e-09, + 1.6186971212639917e-09, + 1.6202768516007768e-09, + 1.6186971212639917e-09, + 1.6139702278616839e-09, + 1.6061328613443997e-09, + 1.5952455011079117e-09, + 1.5813914299979714e-09, + 1.5646753926224425e-09, + 1.5452219347003404e-09, + 1.523173467982208e-09, + 1.4986881112844845e-09, + 1.4719373622173193e-09, + 1.4431036561812155e-09, + 1.4123778691985462e-09, + 1.379956819260592e-09, + 1.346040817321788e-09, + 1.31083131413138e-09, + 1.2745286830742205e-09, + 1.2373301724286366e-09, + 1.19942805327517e-09, + 1.1610079820176184e-09, + 1.1222475893912378e-09, + 1.083315301170507e-09, + 1.0443693897369927e-09, + 1.0055572503692116e-09, + 9.670148916509198e-10, + 9.288666258067464e-10, + 8.91224942055985e-10, + 8.541905441947299e-10, + 8.178525325039981e-10, + 7.822887096588004e-10, + 7.475659904780676e-10, + 7.137408960140556e-10, + 6.808601135253242e-10, + 6.48961105214567e-10, + 6.180727501540659e-10, + 5.882160054824152e-10, + 5.59404574672873e-10, + 5.316455723851383e-10, + 5.049401770735323e-10, + 4.792842641000936e-10, + 4.546690135651964e-10, + 4.3108148840310337e-10, + 4.0850517948706727e-10, + 3.869205155434962e-10, + 3.663053365877845e-10, + 3.4663533037393406e-10, + 3.278844319993274e-10, + 3.1002518733890444e-10, + 2.930290814077417e-10, + 2.7686683308002504e-10, + 2.6150865783754524e-10, + 2.46924500392156e-10, + 2.3308423913676347e-10, + 2.1995786443640466e-10, + 2.0751563278407477e-10, + 1.9572819882657477e-10, + 1.845667272148283e-10, + 1.740029861643485e-10, + 1.6400942452466144e-10, + 1.545592340593227e-10, + 1.4562639853305157e-10, + 1.3718573109488172e-10, + 1.2921290133435225e-10, + 1.8069867716288167e-10, + 1.8069867716288167e-10, + 1.2921290133435225e-10, + 1.3718573109489495e-10, + 1.4562639853305157e-10, + 1.5455923405930946e-10, + 1.6400942452466144e-10, + 1.740029861643485e-10, + 1.845667272148283e-10, + 1.9572819882657477e-10, + 2.0751563278407477e-10, + 2.1995786443640466e-10, + 2.3308423913676347e-10, + 2.46924500392156e-10, + 2.6150865783754524e-10, + 2.7686683308002504e-10, + 2.930290814077417e-10, + 3.1002518733890444e-10, + 3.278844319993274e-10, + 3.4663533037393406e-10, + 3.663053365877845e-10, + 3.8692051554348296e-10, + 4.085051794870805e-10, + 4.3108148840310337e-10, + 4.5466901356520963e-10, + 4.792842641000936e-10, + 5.04940177073519e-10, + 5.316455723851383e-10, + 5.59404574672873e-10, + 5.882160054824152e-10, + 6.180727501540659e-10, + 6.48961105214567e-10, + 6.808601135253109e-10, + 7.137408960140689e-10, + 7.475659904780676e-10, + 7.822887096588004e-10, + 8.178525325039981e-10, + 8.541905441947299e-10, + 8.91224942055985e-10, + 9.288666258067464e-10, + 9.670148916509198e-10, + 1.0055572503692116e-09, + 1.0443693897370192e-09, + 1.0833153011704673e-09, + 1.122247589391251e-09, + 1.1610079820176184e-09, + 1.1994280532751965e-09, + 1.2373301724286234e-09, + 1.2745286830741808e-09, + 1.3108313141314065e-09, + 1.346040817321788e-09, + 1.3799568192606186e-09, + 1.412377869198533e-09, + 1.4431036561812023e-09, + 1.4719373622173193e-09, + 1.4986881112844977e-09, + 1.523173467982208e-09, + 1.545221934700314e-09, + 1.564675392622469e-09, + 1.5813914299979515e-09, + 1.5952455011079183e-09, + 1.606132861344413e-09, + 1.6139702278616839e-09, + 1.6186971212639851e-09, + 1.6202768516007636e-09, + 1.6186971212639851e-09, + 1.6139702278616839e-09, + 1.606132861344413e-09, + 1.5952455011079183e-09, + 1.5813914299979515e-09, + 1.564675392622469e-09, + 1.545221934700314e-09, + 1.523173467982208e-09, + 1.4986881112844977e-09, + 1.4719373622173193e-09, + 1.4431036561812023e-09, + 1.412377869198533e-09, + 1.3799568192606186e-09, + 1.346040817321788e-09, + 1.31083131413138e-09, + 1.2745286830742073e-09, + 1.2373301724286234e-09, + 1.1994280532751965e-09, + 1.1610079820176184e-09, + 1.122247589391251e-09, + 1.0833153011704673e-09, + 1.0443693897370192e-09, + 1.0055572503692116e-09, + 9.670148916509198e-10, + 9.288666258067464e-10, + 8.91224942055985e-10, + 8.541905441947299e-10, + 8.178525325039848e-10, + 7.822887096588137e-10, + 7.475659904780676e-10, + 7.137408960140821e-10, + 6.808601135253109e-10, + 6.489611052145538e-10, + 6.180727501540659e-10, + 5.882160054824152e-10, + 5.59404574672873e-10, + 5.316455723851383e-10, + 5.04940177073519e-10, + 4.7928426410012e-10, + 4.5466901356518316e-10, + 4.3108148840310337e-10, + 4.0850517948706727e-10, + 3.869205155434962e-10, + 3.6630533658779774e-10, + 3.4663533037392083e-10, + 3.278844319993274e-10, + 3.1002518733890444e-10, + 2.930290814077152e-10, + 2.768668330800515e-10, + 2.6150865783754524e-10, + 2.46924500392156e-10, + 2.3308423913676347e-10, + 2.1995786443639143e-10, + 2.0751563278407477e-10, + 1.95728198826588e-10, + 1.845667272148283e-10, + 1.740029861643485e-10, + 1.6400942452466144e-10, + 1.545592340593227e-10, + 1.4562639853305157e-10, + 1.3718573109489495e-10, + 1.29212901334339e-10, + 1.2168445327999169e-10 + ], + "sheet_weights": [ + [ + 0.5, + 0.5 + ] + ], + "thermal_voltage_V": 0.025851999786435535 + }, + "schema": "R1IndependentPoissonInputsV1", + "seed_phi_V": { + "hi": [ + 0.0, + -6.297052241862838e-05, + -0.00012973140807112697, + -0.00020049298681713696, + -0.00027547499473662337, + -0.00035490670097586497, + -0.0004390269922342182, + -0.0005280844080505578, + -0.0006223371195783044, + -0.0007220528439419387, + -0.0008275086856079571, + -0.0009389908955894945, + -0.0010567945387993736, + -0.001181223059478395, + -0.0013125877343526074, + -0.0014512070030307678, + -0.0015974056651752537, + -0.0017515139342070094, + -0.0019138663377819215, + -0.002084800456046985, + -0.002264655489796514, + -0.0024537706521475136, + -0.002652483379284278, + -0.0028611273582263667, + -0.003080030372485869, + -0.0033095119699242527, + -0.003549880961106405, + -0.003801432760972928, + -0.0040644465916806725, + -0.004339182569938021, + -0.004625878707995079, + -0.004924747863512433, + -0.005235974679658035, + -0.005559712562760597, + -0.005896080750428817, + -0.006245161527937653, + -0.006606997654563746, + -0.006981590064074932, + -0.007368895904389881, + -0.007768826980178566, + -0.00818124865856123, + -0.008605979291830849, + -0.009042790202108098, + -0.009491406260991908, + -0.009951507082691982, + -0.010422728832088855, + -0.010904666630113776, + -0.011396877518414643, + -0.011898883924297152, + -0.01241017754637954, + -0.012930223562370278, + -0.013458465044024507, + -0.013994327451800917, + -0.014537223074076802, + -0.015086555273859213, + -0.015641722410365353, + -0.01620212131391356, + -0.01676715021015366, + -0.01733621101323932, + -0.017908710936152965, + -0.018484063398697237, + -0.01906168824801135, + -0.019641011340980393, + -0.020221463570608025, + -0.020802479447383223, + -0.021383495370131365, + -0.021963947737348263, + -0.022543271058538972, + -0.023120896225082916, + -0.023696249091623735, + -0.024268749502473628, + -0.024837810874062095, + -0.025402840415498718, + -0.025963240036617017, + -0.02651840795835661, + -0.027067741005996494, + -0.027610637533448713, + -0.028146500898213883, + -0.028674743383026044, + -0.029194790442627048, + -0.029706085143042578, + -0.030208092656296665, + -0.030700304675421706, + -0.03118224362228493, + -0.03165346653328658, + -0.032113568524338804, + -0.032562185755563466, + -0.03299899783669796, + -0.03342372963517529, + -0.03383615246927094, + -0.03423608468776251, + -0.03462339165458863, + -0.034997985171571024, + -0.03535982238410891, + -0.035708904223771494, + -0.03604527344794658, + -0.03636901234031666, + -0.03668024013717894, + -0.03697911024381468, + -0.037265807302590555, + -0.03754054417059343, + -0.03780355885970839, + -0.03805511148646861, + -0.03829548127302701, + -0.03852496363447336, + -0.03874386738165749, + -0.03895251206284485, + -0.03915122546205487, + -0.039340341266903125, + -0.03952019691424477, + -0.039691131617929976, + -0.03985348457953681, + -0.04000759338003601, + -0.040153792547937425, + -0.04029241229753659, + -0.04042377742937983, + -0.04054820638395134, + -0.040666010438808825, + -0.040777493038911206, + -0.04088294924965333, + -0.04098266532211657, + -0.04107691836022761, + -0.04116597607984577, + -0.04125009665021958, + -0.041329528608715506, + -0.04140451084020297, + -0.041475272612982464, + -0.04154203366368111, + -0.04166807611400069, + -0.0417350015832959, + -0.04180606242973544, + -0.04188150207519344, + -0.04196157670113877, + -0.042046555711864206, + -0.042136722185849185, + -0.042232373310095495, + -0.0423338207915689, + -0.04244139123911453, + -0.04255542650838978, + -0.04267628400147741, + -0.0428043369119053, + -0.04293997440481459, + -0.04308360172098947, + -0.04323564019240209, + -0.04339652715584586, + -0.0435667157501472, + -0.04374667458138151, + -0.04393688723949627, + -0.044137851648796786, + -0.044350079233911335, + -0.04457409388216594, + -0.04481043068281194, + -0.04505963442331683, + -0.045322257823010074, + -0.04559885948483733, + -0.04589000154688902, + -0.0461962470168069, + -0.0465181567742111, + -0.046856286229005874, + -0.04721118162688705, + -0.04758337599765331, + -0.04797338474707067, + -0.04838170089909236, + -0.048808790002212, + -0.04925508472161285, + -0.049720979147526594, + -0.05020682285974503, + -0.05071291479840724, + -0.05123949700183159, + -0.05178674828304313, + -0.052354777927471834, + -0.0529436195047253, + -0.05355322489697739, + -0.05418345865493306, + -0.05483409279906655, + -0.05550480218841564, + -0.05619516058118497, + -0.056904637510336656, + -0.05763259609285562, + -0.05837829188318661, + -0.05914087286928095, + -0.05991938069373547, + -0.06071275316278509, + -0.061519828082732424, + -0.06233934843724901, + -0.06316996889052841, + -0.06401026357133224, + -0.06485873506250259, + -0.06571382449056509, + -0.06657392258171062, + -0.06743738152480577, + -0.06830252746016163, + -0.06916767339548738, + -0.07003113233849236, + -0.07089123042948826, + -0.0717463198573427, + -0.0725947913482479, + -0.07343508602873122, + -0.07426570648163683, + -0.07508522683572874, + -0.07589230175520317, + -0.07668567422373461, + -0.07746418204762877, + -0.0782267630331239, + -0.0789724588228203, + -0.07970041740467286, + -0.08040989433312991, + -0.08110025272518011, + -0.08177096211378919, + -0.08242159625716539, + -0.08305183001435003, + -0.08366143540582081, + -0.08425027698228602, + -0.08481830662592266, + -0.08536555790634133, + -0.08589214010897485, + -0.0863982320468509, + -0.08688407575829027, + -0.08734997018343425, + -0.08779626490207668, + -0.08822335400445103, + -0.08863167015574216, + -0.08902167890444511, + -0.0893938732745143, + -0.08974876867171674, + -0.09008689812585197, + -0.09040880788261649, + -0.09071505335191504, + -0.09100619541336814, + -0.09128279707461778, + -0.09154542047375451, + -0.09179462421372393, + -0.09203096101385545, + -0.09225497566161638, + -0.09246720324625776, + -0.09266816765510534, + -0.09285838031278694, + -0.09303833914360744, + -0.09320852773751388, + -0.09336941470058108, + -0.09352145317163499, + -0.09366508048746838, + -0.09380071798005288, + -0.09392877089017204, + -0.09404962838296643, + -0.09416366365196335, + -0.09427123409924493, + -0.094372681580468, + -0.0944683327044771, + -0.09455849917823743, + -0.09464347818875019, + -0.0947235528144943, + -0.09479899245976196, + -0.09487005330602157, + -0.09493697877514672, + -0.09499999999999964 + ], + "lo": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + }, + "seed_provenance": "same_diagnostics_call_legacy_potential_eliminated_channel" + }, + "schema": "R1GlobalIonReferenceInputsV1" + }, + "inputs_sha256": "839235eda5cf70f4e3f997716f4941449437fbe40272b5980d4ec23cb35f9ea9", + "ion_constitutive_implementation": "independent_DD_SG_and_explicit_boundary_FV_divergence", + "poisson": { + "converged": true, + "fixed_input_digest": "531478633209f71c1f1c8af530bdb7586b380b3d10a1710efc385b9055501677", + "iterations": 2, + "kind": "independent_fixed_qf_poisson", + "last_correction_max_abs_V": 1.1722002950695554e-30, + "poisson_residual_max_abs_C_m2": 5.3559088896781195e-34, + "seed_phi_V": { + "hi": [ + 0.0, + -6.297052241862838e-05, + -0.00012973140807112697, + -0.00020049298681713696, + -0.00027547499473662337, + -0.00035490670097586497, + -0.0004390269922342182, + -0.0005280844080505578, + -0.0006223371195783044, + -0.0007220528439419387, + -0.0008275086856079571, + -0.0009389908955894945, + -0.0010567945387993736, + -0.001181223059478395, + -0.0013125877343526074, + -0.0014512070030307678, + -0.0015974056651752537, + -0.0017515139342070094, + -0.0019138663377819215, + -0.002084800456046985, + -0.002264655489796514, + -0.0024537706521475136, + -0.002652483379284278, + -0.0028611273582263667, + -0.003080030372485869, + -0.0033095119699242527, + -0.003549880961106405, + -0.003801432760972928, + -0.0040644465916806725, + -0.004339182569938021, + -0.004625878707995079, + -0.004924747863512433, + -0.005235974679658035, + -0.005559712562760597, + -0.005896080750428817, + -0.006245161527937653, + -0.006606997654563746, + -0.006981590064074932, + -0.007368895904389881, + -0.007768826980178566, + -0.00818124865856123, + -0.008605979291830849, + -0.009042790202108098, + -0.009491406260991908, + -0.009951507082691982, + -0.010422728832088855, + -0.010904666630113776, + -0.011396877518414643, + -0.011898883924297152, + -0.01241017754637954, + -0.012930223562370278, + -0.013458465044024507, + -0.013994327451800917, + -0.014537223074076802, + -0.015086555273859213, + -0.015641722410365353, + -0.01620212131391356, + -0.01676715021015366, + -0.01733621101323932, + -0.017908710936152965, + -0.018484063398697237, + -0.01906168824801135, + -0.019641011340980393, + -0.020221463570608025, + -0.020802479447383223, + -0.021383495370131365, + -0.021963947737348263, + -0.022543271058538972, + -0.023120896225082916, + -0.023696249091623735, + -0.024268749502473628, + -0.024837810874062095, + -0.025402840415498718, + -0.025963240036617017, + -0.02651840795835661, + -0.027067741005996494, + -0.027610637533448713, + -0.028146500898213883, + -0.028674743383026044, + -0.029194790442627048, + -0.029706085143042578, + -0.030208092656296665, + -0.030700304675421706, + -0.03118224362228493, + -0.03165346653328658, + -0.032113568524338804, + -0.032562185755563466, + -0.03299899783669796, + -0.03342372963517529, + -0.03383615246927094, + -0.03423608468776251, + -0.03462339165458863, + -0.034997985171571024, + -0.03535982238410891, + -0.035708904223771494, + -0.03604527344794658, + -0.03636901234031666, + -0.03668024013717894, + -0.03697911024381468, + -0.037265807302590555, + -0.03754054417059343, + -0.03780355885970839, + -0.03805511148646861, + -0.03829548127302701, + -0.03852496363447336, + -0.03874386738165749, + -0.03895251206284485, + -0.03915122546205487, + -0.039340341266903125, + -0.03952019691424477, + -0.039691131617929976, + -0.03985348457953681, + -0.04000759338003601, + -0.040153792547937425, + -0.04029241229753659, + -0.04042377742937983, + -0.04054820638395134, + -0.040666010438808825, + -0.040777493038911206, + -0.04088294924965333, + -0.04098266532211657, + -0.04107691836022761, + -0.04116597607984577, + -0.04125009665021958, + -0.041329528608715506, + -0.04140451084020297, + -0.041475272612982464, + -0.04154203366368111, + -0.04166807611400069, + -0.0417350015832959, + -0.04180606242973544, + -0.04188150207519344, + -0.04196157670113877, + -0.042046555711864206, + -0.042136722185849185, + -0.042232373310095495, + -0.0423338207915689, + -0.04244139123911453, + -0.04255542650838978, + -0.04267628400147741, + -0.0428043369119053, + -0.04293997440481459, + -0.04308360172098947, + -0.04323564019240209, + -0.04339652715584586, + -0.0435667157501472, + -0.04374667458138151, + -0.04393688723949627, + -0.044137851648796786, + -0.044350079233911335, + -0.04457409388216594, + -0.04481043068281194, + -0.04505963442331683, + -0.045322257823010074, + -0.04559885948483733, + -0.04589000154688902, + -0.0461962470168069, + -0.0465181567742111, + -0.046856286229005874, + -0.04721118162688705, + -0.04758337599765331, + -0.04797338474707067, + -0.04838170089909236, + -0.048808790002212, + -0.04925508472161285, + -0.049720979147526594, + -0.05020682285974503, + -0.05071291479840724, + -0.05123949700183159, + -0.05178674828304313, + -0.052354777927471834, + -0.0529436195047253, + -0.05355322489697739, + -0.05418345865493306, + -0.05483409279906655, + -0.05550480218841564, + -0.05619516058118497, + -0.056904637510336656, + -0.05763259609285562, + -0.05837829188318661, + -0.05914087286928095, + -0.05991938069373547, + -0.06071275316278509, + -0.061519828082732424, + -0.06233934843724901, + -0.06316996889052841, + -0.06401026357133224, + -0.06485873506250259, + -0.06571382449056509, + -0.06657392258171062, + -0.06743738152480577, + -0.06830252746016163, + -0.06916767339548738, + -0.07003113233849236, + -0.07089123042948826, + -0.0717463198573427, + -0.0725947913482479, + -0.07343508602873122, + -0.07426570648163683, + -0.07508522683572874, + -0.07589230175520317, + -0.07668567422373461, + -0.07746418204762877, + -0.0782267630331239, + -0.0789724588228203, + -0.07970041740467286, + -0.08040989433312991, + -0.08110025272518011, + -0.08177096211378919, + -0.08242159625716539, + -0.08305183001435003, + -0.08366143540582081, + -0.08425027698228602, + -0.08481830662592266, + -0.08536555790634133, + -0.08589214010897485, + -0.0863982320468509, + -0.08688407575829027, + -0.08734997018343425, + -0.08779626490207668, + -0.08822335400445103, + -0.08863167015574216, + -0.08902167890444511, + -0.0893938732745143, + -0.08974876867171674, + -0.09008689812585197, + -0.09040880788261649, + -0.09071505335191504, + -0.09100619541336814, + -0.09128279707461778, + -0.09154542047375451, + -0.09179462421372393, + -0.09203096101385545, + -0.09225497566161638, + -0.09246720324625776, + -0.09266816765510534, + -0.09285838031278694, + -0.09303833914360744, + -0.09320852773751388, + -0.09336941470058108, + -0.09352145317163499, + -0.09366508048746838, + -0.09380071798005288, + -0.09392877089017204, + -0.09404962838296643, + -0.09416366365196335, + -0.09427123409924493, + -0.094372681580468, + -0.0944683327044771, + -0.09455849917823743, + -0.09464347818875019, + -0.0947235528144943, + -0.09479899245976196, + -0.09487005330602157, + -0.09493697877514672, + -0.09499999999999964 + ], + "lo": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + }, + "seed_provenance": "same_diagnostics_call_legacy_potential_eliminated_channel", + "solve_inputs_digest": "60aa66d19235558d105e16a4ff8bd73a16b23637cf48dd76492069d9992c8a82", + "solved_fields_digest": "88fd2928f895fe4c3afc4d8301ef819bbd3f2fe9e8037fb9bd1012ff10c050be", + "used_direct_phi": false + }, + "representation_boundary": { + "backend": "float64-baseline", + "constitutive_minus_constraint_phi_V": { + "hi": [ + 0.0, + -1.217809408416033e-21, + -7.626814680191592e-21, + 9.91862770523334e-21, + -1.8874063554127567e-20, + -9.341011100230937e-21, + 8.044540208327576e-23, + 4.3464920469289416e-20, + -5.267598683068874e-20, + -1.707694144140569e-20, + 5.328255609761496e-20, + -1.2176676787945914e-20, + 7.975838132005577e-21, + -1.6175177789824517e-20, + 7.648169891360757e-20, + 1.4227350848490863e-20, + -9.395677679729346e-20, + 9.929794101081945e-20, + 7.491181108368416e-20, + -1.165689550273153e-19, + -2.129614876433429e-19, + 1.1733857107770095e-19, + -9.95119376089708e-20, + -2.1357186481821055e-19, + -3.8294600062410735e-20, + -1.6252621918102653e-19, + 1.6238630184012737e-19, + -1.669597158289054e-19, + -9.133336666940008e-20, + -5.575634686261486e-20, + -3.587506329055318e-19, + 2.4000508685043175e-19, + -4.0402705933606867e-19, + -2.3490857820667154e-19, + 3.2990504612904524e-19, + -8.364832762536604e-20, + 2.153097092238963e-19, + -3.2923750474825773e-19, + 3.2001264269623794e-19, + 3.173397202387075e-19, + 6.04603239312149e-19, + 4.179744633596049e-19, + -5.814840104480614e-19, + -2.2281627188502335e-19, + -6.833903907980248e-19, + 8.6376336598174e-19, + -5.380264294499017e-19, + -4.4456833774575675e-19, + 4.2152935789926853e-19, + 8.199952885058712e-19, + 7.393193128040315e-19, + 2.665036118380952e-19, + 2.3715524359438774e-19, + -4.961114187443071e-19, + 5.696140398513111e-19, + -1.023908963480417e-18, + -3.775482616871296e-19, + 1.1091949551008381e-18, + 8.839571274133198e-19, + 1.237330236813589e-18, + 6.573963033217877e-20, + 2.7499813599186963e-19, + -7.202108264766752e-19, + -1.1257191284175914e-18, + 4.093892619831988e-19, + 1.5751949648922984e-18, + 9.009489637425392e-20, + 3.3930089622280963e-19, + 1.0288068417455454e-18, + 3.504263420513154e-19, + -2.571955896961886e-19, + 1.0295402121723371e-18, + 1.6551619394986466e-19, + 1.525812246258884e-18, + 1.3361613027583952e-18, + 1.5528463421598879e-18, + -1.5217696124652356e-18, + -4.1581960316165275e-19, + 1.1132405888709353e-18, + 1.6954326067392784e-18, + 6.704518487596479e-19, + -8.0238210522568775e-19, + 1.4039143020119777e-18, + -9.894342056517334e-19, + 2.434061217435535e-18, + -5.247171612401036e-19, + 1.9742498284704874e-18, + -3.151358619628718e-18, + -5.783793245187569e-19, + 1.7045878431909544e-18, + -2.2433100434323114e-18, + -3.9785704289161404e-19, + -2.90155640876426e-18, + -2.0433138400841377e-20, + -9.844525750350718e-19, + -1.3358163985957936e-18, + -1.2107098436563701e-18, + 4.156178280975881e-19, + 2.3408007338040534e-18, + 2.1255930320389403e-19, + -2.9892658764336285e-19, + -9.52350239716643e-19, + -1.3933439779446925e-18, + -3.094751621222107e-18, + 3.0652592167069595e-18, + -1.5449658228288724e-18, + 3.369974907597212e-18, + -1.1180954959866572e-18, + -2.450849560827284e-18, + 6.504370485859078e-19, + 2.4035164383805784e-21, + -7.54006268368864e-19, + -9.283767608689918e-19, + 2.555598889656273e-18, + 1.1816436412254868e-18, + 1.4016059460868238e-18, + -2.316316465097717e-18, + -1.7202957006619885e-18, + 1.4852729490656004e-18, + -3.4268321424568324e-18, + -8.485703231028998e-19, + 2.656483391945168e-18, + 1.9209275051044003e-18, + 3.3832840366068847e-18, + -2.3458052163766844e-18, + -5.994942068353586e-19, + 1.7551208673857177e-19, + -1.062252758955972e-18, + 4.801408866388748e-19, + 8.453466896028203e-19, + 1.3314620456628587e-19, + -2.223865560561328e-18, + -1.9871684612721527e-18, + 1.7387927358459595e-18, + 3.333445595645101e-19, + -1.8619233635477654e-18, + -7.228876363594116e-19, + -3.2709292072786206e-18, + -2.5891312021570018e-18, + -3.190647640662726e-18, + 2.821431170042408e-18, + -1.0437290689224735e-18, + -3.247626463334971e-18, + 3.196623688140921e-18, + -2.312252888935779e-18, + -1.7373604304399395e-18, + -5.495368627364691e-19, + -1.910886385467712e-18, + -4.84958955079531e-19, + 1.1522210432280624e-18, + -8.330428335408128e-19, + -7.0920090089412705e-19, + 2.046676568106332e-19, + 1.0741051293055327e-18, + 1.2757537513634201e-18, + -1.0175302837139359e-18, + 1.3288225408651388e-18, + 2.272251154336021e-18, + -2.371531384961092e-19, + -2.4904754505562473e-19, + -3.325762752271125e-18, + 2.9966964947680185e-18, + 1.5705350293614642e-18, + 2.3099308387645557e-18, + -2.4920747764819173e-18, + -3.0918383836010193e-18, + -2.4559733849150425e-18, + -1.2140456328285535e-18, + 1.582030096864782e-18, + 3.3515669816310247e-18, + 6.438000439705965e-19, + -3.5475102540108953e-19, + -3.089454873692933e-18, + -1.743185281135169e-18, + -7.773087149657032e-19, + 9.78248499357767e-19, + -2.7978817500244227e-18, + -2.735782707250893e-18, + 3.0074124168771355e-18, + 1.2554306406682241e-18, + 4.3914327012355e-19, + -3.465609108490188e-18, + 4.222448336710447e-19, + 2.5232203428277078e-18, + -1.3013568171403391e-18, + -3.584510773892545e-18, + -4.195737586688413e-18, + 4.526137988113658e-18, + 5.872416224683138e-19, + -1.8120810473723868e-18, + 2.521023800879626e-18, + 4.330743308338303e-18, + -3.442573751521229e-18, + 6.715119613918469e-18, + 1.760246836439231e-18, + -5.895474374198294e-18, + -4.37723066166364e-18, + -3.4855672116528385e-18, + 2.204247814520849e-18, + -2.118767363176871e-18, + 3.195629012963919e-18, + 6.907389133100961e-18, + -6.336112308811651e-18, + -4.272575596792616e-18, + -8.963499740918473e-19, + 2.4774659643611264e-18, + 6.032609848522009e-18, + 1.597208621205967e-18, + -6.7968817681165055e-18, + -6.89137853438458e-18, + 5.247926453693558e-18, + 4.7813835602304386e-18, + -1.9372766539639284e-18, + -5.087930248208848e-18, + -5.043493686750446e-18, + -5.397029035238066e-18, + -6.673219156633894e-18, + 4.0112081420049284e-19, + -2.7075671507939068e-18, + -2.51290290597947e-18, + -1.9341662453654514e-18, + -5.7488674648669926e-18, + 5.9431927094640174e-18, + -3.678744607332548e-18, + -6.353630241562062e-18, + 3.685465190826466e-18, + -6.70989629351922e-18, + 1.2840701462637466e-18, + -3.5638335361195176e-19, + 6.8214913659216204e-18, + -2.765669778612455e-19, + 5.455476013386254e-18, + 6.923803859941892e-19, + 5.0878614800519595e-18, + 1.3772659470783568e-18, + 6.092920277900279e-19, + 3.15202071762212e-18, + 3.522172699248636e-18, + 2.3981886833767235e-18, + 4.049490743546215e-18, + -2.85431753431129e-18, + -2.663759358149019e-19, + -5.5817553926288725e-18, + -7.621895867845695e-19, + -7.973534827575529e-19, + -5.000591149179706e-18, + 4.247920568213791e-18, + 5.619855486577243e-18, + -1.428423754254001e-18, + 4.449817931356419e-18, + 6.4315650932343424e-18, + -3.907981498833267e-18, + 2.1606628171029935e-18, + 2.8703081236509028e-18, + 1.6005238800789744e-18, + 0.0 + ], + "lo": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + }, + "constitutive_phi_V": { + "hi": [ + 0.0, + -6.297052241862838e-05, + -0.00012973140807112697, + -0.00020049298681713693, + -0.00027547499473662337, + -0.00035490670097586497, + -0.0004390269922342182, + -0.0005280844080505578, + -0.0006223371195783045, + -0.0007220528439419387, + -0.000827508685607957, + -0.0009389908955894945, + -0.0010567945387993736, + -0.001181223059478395, + -0.0013125877343526074, + -0.0014512070030307678, + -0.0015974056651752537, + -0.0017515139342070094, + -0.0019138663377819215, + -0.002084800456046985, + -0.002264655489796514, + -0.0024537706521475136, + -0.002652483379284278, + -0.0028611273582263667, + -0.003080030372485869, + -0.0033095119699242527, + -0.003549880961106405, + -0.003801432760972928, + -0.0040644465916806725, + -0.004339182569938021, + -0.004625878707995079, + -0.004924747863512433, + -0.005235974679658036, + -0.005559712562760597, + -0.005896080750428817, + -0.006245161527937653, + -0.006606997654563746, + -0.006981590064074933, + -0.007368895904389881, + -0.007768826980178566, + -0.00818124865856123, + -0.008605979291830849, + -0.009042790202108098, + -0.009491406260991908, + -0.009951507082691982, + -0.010422728832088855, + -0.010904666630113776, + -0.011396877518414643, + -0.011898883924297152, + -0.01241017754637954, + -0.012930223562370278, + -0.013458465044024507, + -0.013994327451800917, + -0.014537223074076802, + -0.015086555273859213, + -0.015641722410365353, + -0.01620212131391356, + -0.01676715021015366, + -0.01733621101323932, + -0.017908710936152965, + -0.018484063398697237, + -0.01906168824801135, + -0.019641011340980393, + -0.020221463570608025, + -0.020802479447383223, + -0.021383495370131362, + -0.021963947737348263, + -0.022543271058538972, + -0.023120896225082916, + -0.023696249091623735, + -0.024268749502473628, + -0.024837810874062095, + -0.025402840415498718, + -0.025963240036617017, + -0.02651840795835661, + -0.02706774100599649, + -0.027610637533448713, + -0.028146500898213883, + -0.028674743383026044, + -0.029194790442627044, + -0.029706085143042578, + -0.030208092656296665, + -0.030700304675421706, + -0.03118224362228493, + -0.03165346653328658, + -0.032113568524338804, + -0.032562185755563466, + -0.03299899783669796, + -0.03342372963517529, + -0.03383615246927094, + -0.03423608468776251, + -0.03462339165458863, + -0.034997985171571024, + -0.03535982238410891, + -0.035708904223771494, + -0.03604527344794658, + -0.03636901234031666, + -0.03668024013717894, + -0.03697911024381468, + -0.037265807302590555, + -0.03754054417059343, + -0.03780355885970839, + -0.03805511148646861, + -0.03829548127302701, + -0.03852496363447336, + -0.03874386738165749, + -0.03895251206284484, + -0.03915122546205487, + -0.039340341266903125, + -0.03952019691424477, + -0.039691131617929976, + -0.03985348457953681, + -0.04000759338003601, + -0.040153792547937425, + -0.04029241229753659, + -0.04042377742937983, + -0.04054820638395134, + -0.040666010438808825, + -0.040777493038911206, + -0.04088294924965333, + -0.04098266532211657, + -0.04107691836022761, + -0.04116597607984577, + -0.04125009665021957, + -0.041329528608715506, + -0.04140451084020297, + -0.041475272612982464, + -0.04154203366368111, + -0.04166807611400069, + -0.0417350015832959, + -0.04180606242973544, + -0.04188150207519344, + -0.04196157670113877, + -0.042046555711864206, + -0.042136722185849185, + -0.042232373310095495, + -0.0423338207915689, + -0.04244139123911453, + -0.04255542650838978, + -0.04267628400147741, + -0.0428043369119053, + -0.04293997440481459, + -0.04308360172098947, + -0.04323564019240209, + -0.04339652715584586, + -0.0435667157501472, + -0.04374667458138151, + -0.04393688723949627, + -0.044137851648796786, + -0.044350079233911335, + -0.04457409388216594, + -0.04481043068281194, + -0.04505963442331683, + -0.045322257823010074, + -0.04559885948483733, + -0.04589000154688902, + -0.0461962470168069, + -0.0465181567742111, + -0.046856286229005874, + -0.04721118162688705, + -0.04758337599765331, + -0.04797338474707067, + -0.04838170089909236, + -0.048808790002212, + -0.04925508472161285, + -0.049720979147526594, + -0.05020682285974503, + -0.05071291479840724, + -0.05123949700183159, + -0.051786748283043124, + -0.052354777927471834, + -0.0529436195047253, + -0.05355322489697739, + -0.05418345865493306, + -0.05483409279906655, + -0.05550480218841564, + -0.05619516058118497, + -0.056904637510336656, + -0.05763259609285562, + -0.05837829188318661, + -0.05914087286928095, + -0.05991938069373547, + -0.06071275316278509, + -0.061519828082732424, + -0.06233934843724901, + -0.06316996889052841, + -0.06401026357133224, + -0.06485873506250259, + -0.06571382449056509, + -0.06657392258171062, + -0.06743738152480577, + -0.06830252746016163, + -0.06916767339548738, + -0.07003113233849236, + -0.07089123042948826, + -0.0717463198573427, + -0.0725947913482479, + -0.07343508602873122, + -0.07426570648163683, + -0.07508522683572874, + -0.07589230175520317, + -0.0766856742237346, + -0.07746418204762877, + -0.0782267630331239, + -0.0789724588228203, + -0.07970041740467286, + -0.08040989433312991, + -0.08110025272518011, + -0.08177096211378919, + -0.08242159625716539, + -0.08305183001435003, + -0.08366143540582081, + -0.08425027698228602, + -0.08481830662592266, + -0.08536555790634133, + -0.08589214010897485, + -0.0863982320468509, + -0.08688407575829027, + -0.08734997018343425, + -0.08779626490207668, + -0.08822335400445103, + -0.08863167015574216, + -0.08902167890444511, + -0.0893938732745143, + -0.08974876867171674, + -0.09008689812585197, + -0.09040880788261649, + -0.09071505335191504, + -0.09100619541336814, + -0.09128279707461778, + -0.09154542047375451, + -0.09179462421372393, + -0.09203096101385545, + -0.09225497566161638, + -0.09246720324625776, + -0.09266816765510534, + -0.09285838031278694, + -0.09303833914360744, + -0.09320852773751388, + -0.09336941470058108, + -0.09352145317163499, + -0.09366508048746838, + -0.09380071798005288, + -0.09392877089017204, + -0.09404962838296643, + -0.09416366365196335, + -0.09427123409924493, + -0.094372681580468, + -0.0944683327044771, + -0.09455849917823743, + -0.09464347818875019, + -0.0947235528144943, + -0.09479899245976196, + -0.09487005330602157, + -0.09493697877514672, + -0.09499999999999964 + ], + "lo": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + }, + "constraint_phi_V": { + "hi": [ + 0.0, + -6.297052241862838e-05, + -0.00012973140807112697, + -0.00020049298681713693, + -0.00027547499473662337, + -0.00035490670097586497, + -0.0004390269922342182, + -0.0005280844080505578, + -0.0006223371195783045, + -0.0007220528439419387, + -0.000827508685607957, + -0.0009389908955894945, + -0.0010567945387993736, + -0.001181223059478395, + -0.0013125877343526074, + -0.0014512070030307678, + -0.0015974056651752537, + -0.0017515139342070094, + -0.0019138663377819215, + -0.002084800456046985, + -0.002264655489796514, + -0.0024537706521475136, + -0.002652483379284278, + -0.0028611273582263667, + -0.003080030372485869, + -0.0033095119699242527, + -0.003549880961106405, + -0.003801432760972928, + -0.0040644465916806725, + -0.004339182569938021, + -0.004625878707995079, + -0.004924747863512433, + -0.005235974679658036, + -0.005559712562760597, + -0.005896080750428817, + -0.006245161527937653, + -0.006606997654563746, + -0.006981590064074933, + -0.007368895904389881, + -0.007768826980178566, + -0.00818124865856123, + -0.008605979291830849, + -0.009042790202108098, + -0.009491406260991908, + -0.009951507082691982, + -0.010422728832088855, + -0.010904666630113776, + -0.011396877518414643, + -0.011898883924297152, + -0.01241017754637954, + -0.012930223562370278, + -0.013458465044024507, + -0.013994327451800917, + -0.014537223074076802, + -0.015086555273859213, + -0.015641722410365353, + -0.01620212131391356, + -0.01676715021015366, + -0.01733621101323932, + -0.017908710936152965, + -0.018484063398697237, + -0.01906168824801135, + -0.019641011340980393, + -0.020221463570608025, + -0.020802479447383223, + -0.021383495370131362, + -0.021963947737348263, + -0.022543271058538972, + -0.023120896225082916, + -0.023696249091623735, + -0.024268749502473628, + -0.024837810874062095, + -0.025402840415498718, + -0.025963240036617017, + -0.02651840795835661, + -0.02706774100599649, + -0.027610637533448713, + -0.028146500898213883, + -0.028674743383026044, + -0.029194790442627044, + -0.029706085143042578, + -0.030208092656296665, + -0.030700304675421706, + -0.03118224362228493, + -0.03165346653328658, + -0.032113568524338804, + -0.032562185755563466, + -0.03299899783669796, + -0.03342372963517529, + -0.03383615246927094, + -0.03423608468776251, + -0.03462339165458863, + -0.034997985171571024, + -0.03535982238410891, + -0.035708904223771494, + -0.03604527344794658, + -0.03636901234031666, + -0.03668024013717894, + -0.03697911024381468, + -0.037265807302590555, + -0.03754054417059343, + -0.03780355885970839, + -0.03805511148646861, + -0.03829548127302701, + -0.03852496363447336, + -0.03874386738165749, + -0.03895251206284484, + -0.03915122546205487, + -0.039340341266903125, + -0.03952019691424477, + -0.039691131617929976, + -0.03985348457953681, + -0.04000759338003601, + -0.040153792547937425, + -0.04029241229753659, + -0.04042377742937983, + -0.04054820638395134, + -0.040666010438808825, + -0.040777493038911206, + -0.04088294924965333, + -0.04098266532211657, + -0.04107691836022761, + -0.04116597607984577, + -0.04125009665021957, + -0.041329528608715506, + -0.04140451084020297, + -0.041475272612982464, + -0.04154203366368111, + -0.04166807611400069, + -0.0417350015832959, + -0.04180606242973544, + -0.04188150207519344, + -0.04196157670113877, + -0.042046555711864206, + -0.042136722185849185, + -0.042232373310095495, + -0.0423338207915689, + -0.04244139123911453, + -0.04255542650838978, + -0.04267628400147741, + -0.0428043369119053, + -0.04293997440481459, + -0.04308360172098947, + -0.04323564019240209, + -0.04339652715584586, + -0.0435667157501472, + -0.04374667458138151, + -0.04393688723949627, + -0.044137851648796786, + -0.044350079233911335, + -0.04457409388216594, + -0.04481043068281194, + -0.04505963442331683, + -0.045322257823010074, + -0.04559885948483733, + -0.04589000154688902, + -0.0461962470168069, + -0.0465181567742111, + -0.046856286229005874, + -0.04721118162688705, + -0.04758337599765331, + -0.04797338474707067, + -0.04838170089909236, + -0.048808790002212, + -0.04925508472161285, + -0.049720979147526594, + -0.05020682285974503, + -0.05071291479840724, + -0.05123949700183159, + -0.051786748283043124, + -0.052354777927471834, + -0.0529436195047253, + -0.05355322489697739, + -0.05418345865493306, + -0.05483409279906655, + -0.05550480218841564, + -0.05619516058118497, + -0.056904637510336656, + -0.05763259609285562, + -0.05837829188318661, + -0.05914087286928095, + -0.05991938069373547, + -0.06071275316278509, + -0.061519828082732424, + -0.06233934843724901, + -0.06316996889052841, + -0.06401026357133224, + -0.06485873506250259, + -0.06571382449056509, + -0.06657392258171062, + -0.06743738152480577, + -0.06830252746016163, + -0.06916767339548738, + -0.07003113233849236, + -0.07089123042948826, + -0.0717463198573427, + -0.0725947913482479, + -0.07343508602873122, + -0.07426570648163683, + -0.07508522683572874, + -0.07589230175520317, + -0.0766856742237346, + -0.07746418204762877, + -0.0782267630331239, + -0.0789724588228203, + -0.07970041740467286, + -0.08040989433312991, + -0.08110025272518011, + -0.08177096211378919, + -0.08242159625716539, + -0.08305183001435003, + -0.08366143540582081, + -0.08425027698228602, + -0.08481830662592266, + -0.08536555790634133, + -0.08589214010897485, + -0.0863982320468509, + -0.08688407575829027, + -0.08734997018343425, + -0.08779626490207668, + -0.08822335400445103, + -0.08863167015574216, + -0.08902167890444511, + -0.0893938732745143, + -0.08974876867171674, + -0.09008689812585197, + -0.09040880788261649, + -0.09071505335191504, + -0.09100619541336814, + -0.09128279707461778, + -0.09154542047375451, + -0.09179462421372393, + -0.09203096101385545, + -0.09225497566161638, + -0.09246720324625776, + -0.09266816765510534, + -0.09285838031278694, + -0.09303833914360744, + -0.09320852773751388, + -0.09336941470058108, + -0.09352145317163499, + -0.09366508048746838, + -0.09380071798005288, + -0.09392877089017204, + -0.09404962838296643, + -0.09416366365196335, + -0.09427123409924493, + -0.094372681580468, + -0.0944683327044771, + -0.09455849917823743, + -0.09464347818875019, + -0.0947235528144943, + -0.09479899245976196, + -0.09487005330602157, + -0.09493697877514672, + -0.09499999999999964 + ], + "lo": [ + 0.0, + 1.217809408416033e-21, + 7.626814680191592e-21, + -9.91862770523334e-21, + 1.8874063554127567e-20, + 9.341011100230937e-21, + -8.044540208327576e-23, + -4.3464920469289416e-20, + 5.267598683068874e-20, + 1.707694144140569e-20, + -5.328255609761496e-20, + 1.2176676787945914e-20, + -7.975838132005577e-21, + 1.6175177789824517e-20, + -7.648169891360757e-20, + -1.4227350848490863e-20, + 9.395677679729346e-20, + -9.929794101081945e-20, + -7.491181108368416e-20, + 1.165689550273153e-19, + 2.129614876433429e-19, + -1.1733857107770095e-19, + 9.95119376089708e-20, + 2.1357186481821055e-19, + 3.8294600062410735e-20, + 1.6252621918102653e-19, + -1.6238630184012737e-19, + 1.669597158289054e-19, + 9.133336666940008e-20, + 5.575634686261486e-20, + 3.587506329055318e-19, + -2.4000508685043175e-19, + 4.0402705933606867e-19, + 2.3490857820667154e-19, + -3.2990504612904524e-19, + 8.364832762536604e-20, + -2.153097092238963e-19, + 3.2923750474825773e-19, + -3.2001264269623794e-19, + -3.173397202387075e-19, + -6.04603239312149e-19, + -4.179744633596049e-19, + 5.814840104480614e-19, + 2.2281627188502335e-19, + 6.833903907980248e-19, + -8.6376336598174e-19, + 5.380264294499017e-19, + 4.4456833774575675e-19, + -4.2152935789926853e-19, + -8.199952885058712e-19, + -7.393193128040315e-19, + -2.665036118380952e-19, + -2.3715524359438774e-19, + 4.961114187443071e-19, + -5.696140398513111e-19, + 1.023908963480417e-18, + 3.775482616871296e-19, + -1.1091949551008381e-18, + -8.839571274133198e-19, + -1.237330236813589e-18, + -6.573963033217877e-20, + -2.7499813599186963e-19, + 7.202108264766752e-19, + 1.1257191284175914e-18, + -4.093892619831988e-19, + -1.5751949648922984e-18, + -9.009489637425392e-20, + -3.3930089622280963e-19, + -1.0288068417455454e-18, + -3.504263420513154e-19, + 2.571955896961886e-19, + -1.0295402121723371e-18, + -1.6551619394986466e-19, + -1.525812246258884e-18, + -1.3361613027583952e-18, + -1.5528463421598879e-18, + 1.5217696124652356e-18, + 4.1581960316165275e-19, + -1.1132405888709353e-18, + -1.6954326067392784e-18, + -6.704518487596479e-19, + 8.0238210522568775e-19, + -1.4039143020119777e-18, + 9.894342056517334e-19, + -2.434061217435535e-18, + 5.247171612401036e-19, + -1.9742498284704874e-18, + 3.151358619628718e-18, + 5.783793245187569e-19, + -1.7045878431909544e-18, + 2.2433100434323114e-18, + 3.9785704289161404e-19, + 2.90155640876426e-18, + 2.0433138400841377e-20, + 9.844525750350718e-19, + 1.3358163985957936e-18, + 1.2107098436563701e-18, + -4.156178280975881e-19, + -2.3408007338040534e-18, + -2.1255930320389403e-19, + 2.9892658764336285e-19, + 9.52350239716643e-19, + 1.3933439779446925e-18, + 3.094751621222107e-18, + -3.0652592167069595e-18, + 1.5449658228288724e-18, + -3.369974907597212e-18, + 1.1180954959866572e-18, + 2.450849560827284e-18, + -6.504370485859078e-19, + -2.4035164383805784e-21, + 7.54006268368864e-19, + 9.283767608689918e-19, + -2.555598889656273e-18, + -1.1816436412254868e-18, + -1.4016059460868238e-18, + 2.316316465097717e-18, + 1.7202957006619885e-18, + -1.4852729490656004e-18, + 3.4268321424568324e-18, + 8.485703231028998e-19, + -2.656483391945168e-18, + -1.9209275051044003e-18, + -3.3832840366068847e-18, + 2.3458052163766844e-18, + 5.994942068353586e-19, + -1.7551208673857177e-19, + 1.062252758955972e-18, + -4.801408866388748e-19, + -8.453466896028203e-19, + -1.3314620456628587e-19, + 2.223865560561328e-18, + 1.9871684612721527e-18, + -1.7387927358459595e-18, + -3.333445595645101e-19, + 1.8619233635477654e-18, + 7.228876363594116e-19, + 3.2709292072786206e-18, + 2.5891312021570018e-18, + 3.190647640662726e-18, + -2.821431170042408e-18, + 1.0437290689224735e-18, + 3.247626463334971e-18, + -3.196623688140921e-18, + 2.312252888935779e-18, + 1.7373604304399395e-18, + 5.495368627364691e-19, + 1.910886385467712e-18, + 4.84958955079531e-19, + -1.1522210432280624e-18, + 8.330428335408128e-19, + 7.0920090089412705e-19, + -2.046676568106332e-19, + -1.0741051293055327e-18, + -1.2757537513634201e-18, + 1.0175302837139359e-18, + -1.3288225408651388e-18, + -2.272251154336021e-18, + 2.371531384961092e-19, + 2.4904754505562473e-19, + 3.325762752271125e-18, + -2.9966964947680185e-18, + -1.5705350293614642e-18, + -2.3099308387645557e-18, + 2.4920747764819173e-18, + 3.0918383836010193e-18, + 2.4559733849150425e-18, + 1.2140456328285535e-18, + -1.582030096864782e-18, + -3.3515669816310247e-18, + -6.438000439705965e-19, + 3.5475102540108953e-19, + 3.089454873692933e-18, + 1.743185281135169e-18, + 7.773087149657032e-19, + -9.78248499357767e-19, + 2.7978817500244227e-18, + 2.735782707250893e-18, + -3.0074124168771355e-18, + -1.2554306406682241e-18, + -4.3914327012355e-19, + 3.465609108490188e-18, + -4.222448336710447e-19, + -2.5232203428277078e-18, + 1.3013568171403391e-18, + 3.584510773892545e-18, + 4.195737586688413e-18, + -4.526137988113658e-18, + -5.872416224683138e-19, + 1.8120810473723868e-18, + -2.521023800879626e-18, + -4.330743308338303e-18, + 3.442573751521229e-18, + -6.715119613918469e-18, + -1.760246836439231e-18, + 5.895474374198294e-18, + 4.37723066166364e-18, + 3.4855672116528385e-18, + -2.204247814520849e-18, + 2.118767363176871e-18, + -3.195629012963919e-18, + -6.907389133100961e-18, + 6.336112308811651e-18, + 4.272575596792616e-18, + 8.963499740918473e-19, + -2.4774659643611264e-18, + -6.032609848522009e-18, + -1.597208621205967e-18, + 6.7968817681165055e-18, + 6.89137853438458e-18, + -5.247926453693558e-18, + -4.7813835602304386e-18, + 1.9372766539639284e-18, + 5.087930248208848e-18, + 5.043493686750446e-18, + 5.397029035238066e-18, + 6.673219156633894e-18, + -4.0112081420049284e-19, + 2.7075671507939068e-18, + 2.51290290597947e-18, + 1.9341662453654514e-18, + 5.7488674648669926e-18, + -5.9431927094640174e-18, + 3.678744607332548e-18, + 6.353630241562062e-18, + -3.685465190826466e-18, + 6.70989629351922e-18, + -1.2840701462637466e-18, + 3.5638335361195176e-19, + -6.8214913659216204e-18, + 2.765669778612455e-19, + -5.455476013386254e-18, + -6.923803859941892e-19, + -5.0878614800519595e-18, + -1.3772659470783568e-18, + -6.092920277900279e-19, + -3.15202071762212e-18, + -3.522172699248636e-18, + -2.3981886833767235e-18, + -4.049490743546215e-18, + 2.85431753431129e-18, + 2.663759358149019e-19, + 5.5817553926288725e-18, + 7.621895867845695e-19, + 7.973534827575529e-19, + 5.000591149179706e-18, + -4.247920568213791e-18, + -5.619855486577243e-18, + 1.428423754254001e-18, + -4.449817931356419e-18, + -6.4315650932343424e-18, + 3.907981498833267e-18, + -2.1606628171029935e-18, + -2.8703081236509028e-18, + -1.6005238800789744e-18, + 0.0 + ] + }, + "cross_representation_comparisons": { + "positive_ion_flux": { + "direct_vs_full_DD": { + "diagnostic_original_limit": 1e-06, + "difference": [ + 2.149997893723604, + 2.6268916215168643, + 1.1125859218253575, + 4.9353134307097495, + 6.596736708280141, + 7.824702529486504, + -2.8587004649111005, + -0.15981919861249486, + 11.657276569259448, + -2.0945121114348337, + 6.740063521203219, + 5.484398034831914, + 13.182351325683166, + -17.220106409353193, + 12.181165901229955, + 8.26613785039183, + 5.423554381373622, + -11.403471263599162, + 23.41659851082056, + -8.312418701674984, + -10.705202851124737, + 6.775035489661323, + -12.22733490299341, + 26.0748165515373, + 7.714757324002438, + 0.5643107195774107, + -0.5150046407422847, + -4.459631373504658, + -0.15978876547091728, + 23.907544679764815, + 8.342143658651397, + -21.71536514516814, + 2.686901659453739, + 13.968353696298117, + 4.57050415514232, + 13.910300960454782, + 4.702555702536192, + -7.6789539462318475, + 21.653927516793157, + 17.50799700774528, + -30.061711852601913, + 37.60214247038013, + -34.84291677453412, + 1.248662936247353, + 37.38486535211783, + -18.924350343304905, + 39.58130504499529, + -54.305656415351805, + 16.112802766860884, + 38.08609013529811, + 9.44770829742013, + -32.784376806807124, + 9.847444518986032, + 17.70174698229364, + -4.33876827839123, + 54.41245918211178, + -27.30196995807766, + -23.35564184598781, + 7.150525837548384, + 34.66354725946478, + -48.65503059828498, + 34.64225850188144, + -64.24466970231227, + 119.84627767784652, + -19.460902248615103, + -63.968901722958414, + 68.03270560496571, + 15.723655206161293, + -24.962826553524067, + -71.11054761886832, + 80.20224370955947, + 69.02099182806226, + -72.23742662007366, + 0.5465929715880995, + 20.03668286704707, + 30.760073150856712, + 7.491266129628206, + 17.741120240944554, + -13.760212819852685, + 15.81396794317804, + -32.65435213552548, + -21.56307652235378, + 160.31058168110903, + 43.053295257356034, + -76.71007400494905, + -104.56909537418528, + 121.59768325390174, + 225.5784435111594, + -403.67292402188355, + 207.97649374853708, + 107.09695572116847, + -437.52590121359646, + 284.4961198736631, + -220.81634250067032, + 384.75362399457447, + -202.16151824423392, + 93.58556196523504, + -183.10400823634018, + 548.3654253061005, + -244.12184561910112, + 6.1746323990501795, + -134.2581825530197, + -348.3502549847659, + 163.5927743398702, + 54.41494925341635, + 371.91334678397703, + -124.1152644834994, + -175.54937099652258, + -45.96012442412878, + -425.57442550790955, + 243.46008381018825, + -119.2798064180792, + 583.4881294960542, + 302.3734631627542, + -588.2995604579329, + 1940.6792201252938, + -2149.7046770177085, + 791.2103692397785, + -424.22113352019346, + -662.5113202631819, + 311.91884487064254, + 2239.439577501365, + -284.97284957781505, + -1043.7293841819464, + -332.48972041612967, + 1097.485736027179, + -2645.931675408869, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "difference_arithmetic": "DD(high_values)-full_DD_values", + "direct": [ + -7123159737476.462, + -21119042885961.223, + -33802946913215.523, + -43926650739914.734, + -50946207641708.46, + -55141736152253.29, + -57312461734604.836, + -58317655333503.41, + -58780508629979.19, + -59040744709425.05, + -59243736844847.0, + -59439635909181.66, + -59642835850946.336, + -59857092581965.0, + -60083611868851.71, + -60323110248752.45, + -60576239545591.31, + -60843657934604.14, + -61126038769288.195, + -61424070173392.94, + -61738453168749.87, + -62069899392015.69, + -62419128416598.695, + -62786864653970.81, + -63173833824286.45, + -63580759072834.06, + -64008356509491.664, + -64457330447835.67, + -64928368049218.53, + -65422133703204.664, + -65939262839011.695, + -66480355507013.77, + -67045969618704.53, + -67636613888976.0, + -68252740708114.01, + -68894738934137.59, + -69562926738464.06, + -70257544653829.38, + -70978748994462.5, + -71726605749360.12, + -72501085117621.36, + -73302056852413.62, + -74129286615397.86, + -74982433356007.36, + -75861047914619.0, + -76764572946002.81, + -77692344172981.67, + -78643592970859.47, + -79617450318588.92, + -80612951891612.6, + -81629044381671.84, + -82664592658213.69, + -83718387606392.8, + -84789154576668.02, + -85875561894473.34, + -86976229395556.4, + -88089736624216.16, + -89214630553631.5, + -90349432438154.95, + -91492643997423.77, + -92642752532739.23, + -93798235108285.95, + -94957561931264.12, + -96119198886484.12, + -97281609493471.44, + -98443256540018.11, + -99602603520395.33, + -100758116269065.73, + -101908264886121.61, + -103051526342036.84, + -104186387742956.3, + -105311350570577.88, + -106424935839310.28, + -107525690108512.86, + -108612192526842.58, + -109683062406122.2, + -110736967511935.83, + -111772632504535.86, + -112788847577633.7, + -113784476792127.23, + -114758465989597.14, + -115709850024378.5, + -116637758922001.64, + -117541423206055.19, + -118420177653196.45, + -119273464106918.84, + -120100832529823.84, + -120901941122464.1, + -121676554784432.78, + -122424542677665.95, + -123145874378838.1, + -123840615389663.34, + -124508921607738.61, + -125151033249691.58, + -125767268214094.98, + -126358015189820.52, + -126923726455002.1, + -127464910692105.31, + -127982125796036.44, + -128475971902617.39, + -128947084574692.45, + -129396128310397.47, + -129823790481912.81, + -130230775572673.92, + -130617799943315.06, + -130985586951953.42, + -131334862579000.44, + -131666351432643.17, + -131980772880166.78, + -132278835229363.92, + -132561214840341.95, + -132828451695297.52, + -133080464857415.14, + -133314644812576.36, + -133519618576443.14, + -133658591844687.69, + -133633749178312.48, + -133227818176949.1, + -132037542748344.78, + -129441870729666.47, + -124659977506749.1, + -116922203148948.78, + -105706909496946.39, + -90940035427248.64, + -73062595165974.23, + -52940416931835.74, + -31666634461945.016, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "direct_maximum_absolute": 133658591844687.69, + "eliminated": [ + -7123159737478.612, + -21119042885963.848, + -33802946913216.637, + -43926650739919.67, + -50946207641715.055, + -55141736152261.12, + -57312461734601.98, + -58317655333503.25, + -58780508629990.84, + -59040744709422.95, + -59243736844853.74, + -59439635909187.14, + -59642835850959.516, + -59857092581947.78, + -60083611868863.89, + -60323110248760.72, + -60576239545596.734, + -60843657934592.734, + -61126038769311.61, + -61424070173384.625, + -61738453168739.164, + -62069899392022.46, + -62419128416586.47, + -62786864653996.89, + -63173833824294.164, + -63580759072834.625, + -64008356509491.15, + -64457330447831.21, + -64928368049218.375, + -65422133703228.57, + -65939262839020.04, + -66480355506992.055, + -67045969618707.22, + -67636613888989.97, + -68252740708118.58, + -68894738934151.51, + -69562926738468.766, + -70257544653821.7, + -70978748994484.16, + -71726605749377.64, + -72501085117591.3, + -73302056852451.23, + -74129286615363.02, + -74982433356008.61, + -75861047914656.39, + -76764572945983.89, + -77692344173021.25, + -78643592970805.16, + -79617450318605.03, + -80612951891650.69, + -81629044381681.3, + -82664592658180.9, + -83718387606402.64, + -84789154576685.72, + -85875561894469.0, + -86976229395610.81, + -88089736624188.86, + -89214630553608.14, + -90349432438162.11, + -91492643997458.42, + -92642752532690.58, + -93798235108320.6, + -94957561931199.88, + -96119198886603.97, + -97281609493451.98, + -98443256539954.14, + -99602603520463.36, + -100758116269081.45, + -101908264886096.64, + -103051526341965.73, + -104186387743036.5, + -105311350570646.89, + -106424935839238.05, + -107525690108513.4, + -108612192526862.61, + -109683062406152.97, + -110736967511943.31, + -111772632504553.6, + -112788847577619.94, + -113784476792143.05, + -114758465989564.48, + -115709850024356.94, + -116637758922161.95, + -117541423206098.23, + -118420177653119.75, + -119273464106814.28, + -120100832529945.44, + -120901941122689.67, + -121676554784029.11, + -122424542677873.92, + -123145874378945.19, + -123840615389225.81, + -124508921608023.11, + -125151033249470.77, + -125767268214479.73, + -126358015189618.36, + -126923726455095.67, + -127464910691922.2, + -127982125796584.8, + -128475971902373.27, + -128947084574698.62, + -129396128310263.2, + -129823790481564.47, + -130230775572837.52, + -130617799943369.48, + -130985586952325.33, + -131334862578876.33, + -131666351432467.62, + -131980772880120.83, + -132278835228938.34, + -132561214840585.4, + -132828451695178.23, + -133080464857998.62, + -133314644812878.73, + -133519618575854.84, + -133658591846628.36, + -133633749176162.78, + -133227818177740.3, + -132037542747920.56, + -129441870729003.95, + -124659977507061.02, + -116922203151188.22, + -105706909496661.42, + -90940035426204.9, + -73062595165641.75, + -52940416932933.23, + -31666634459299.082, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "eliminated_maximum_absolute": 133658591846628.36, + "floor_active": false, + "maximum_absolute_difference": 2645.931675408869, + "normalization_floor": 1.0, + "normalization_scale": 133658591846628.36, + "relative_error": 1.9796195956074745e-11, + "within_original_limit": true + }, + "legacy_binary64_direct_vs_full_DD": { + "diagnostic_original_limit": 1e-06, + "difference": [ + -130.5492208562764, + 63.37689162151686, + 36.94461717182536, + -9.89281156929025, + 53.02642420828014, + -15.136234970513497, + 42.3366120350889, + -41.816069198612496, + 59.13383906925945, + 29.483612888565165, + -42.67399897879678, + 39.46096053483191, + -25.083273674316832, + -52.51698140935319, + -16.045396598770044, + 18.523950350391832, + 7.993866881373622, + 18.79184123640084, + 20.56503601082056, + 8.218831298325016, + 3.4276096488752628, + 14.642222989661324, + -2.36014740299341, + 38.067004051537296, + 11.933507324002438, + 4.767435719577411, + -25.507192140742283, + -2.1080688735046578, + 11.793336234529082, + 23.282544679764815, + 3.9515186586513966, + -32.598177645168136, + 0.6165891594537392, + 8.937103696298117, + 2.15644165514232, + 23.01186346045478, + 3.452555702536192, + -0.4289539462318475, + 15.747677516793159, + 12.539247007745281, + -33.26483685260192, + 37.24276747038013, + -39.18666677453412, + -3.970087063752647, + 47.72861535211783, + -19.268100343304905, + 23.72193004499529, + -48.336906415351805, + 12.909677766860883, + 37.35171513529811, + 11.16645829742013, + -27.11250180680712, + 5.706819518986033, + 28.04549698229364, + -7.55751827839123, + 54.06870918211178, + -33.208219958077656, + -36.44939184598781, + 11.041150837548384, + 28.132297259464774, + -41.82690559828498, + 39.25163350188144, + -56.71341970231227, + 113.26815267784652, + -6.820277248615102, + -64.8282767229584, + 53.079580604965706, + 13.270530206161293, + -13.947201553524067, + -71.14179761886832, + 68.65536870955947, + 88.25536682806226, + -84.29992662007366, + -7.672157028411901, + 30.27105786704707, + 33.32257315085671, + -9.133733870371794, + 9.912995240944555, + -9.619587819852685, + 16.57959294317804, + -31.09185213552548, + -27.48495152235378, + 167.59183168110903, + 22.178295257356034, + -63.41319900494905, + -77.91284537418528, + 101.19143325390174, + 242.0628185111594, + -425.32917402188355, + 222.58586874853708, + 141.34695572116848, + -416.72902621359646, + 224.9804948736631, + -175.59759250067032, + 389.25362399457447, + -217.06776824423392, + 97.53868696523504, + -155.52588323634018, + 424.2873003061005, + -159.23122061910112, + -0.46599260094982076, + -146.9456825530197, + -299.4283799847659, + 122.37402433987022, + 64.96182425341635, + 343.46022178397703, + -34.552764483499395, + -137.97124599652258, + -198.61637442412876, + -390.73067550790955, + 295.3350838101882, + -174.6704314180792, + 517.1600044960542, + 418.3109631627542, + -683.7839354579329, + 1804.0542201252938, + -2357.6265520177085, + 887.8509942397785, + -389.28363352019346, + -580.0738202631819, + 155.59071987064252, + 2475.861452501365, + -450.98847457781505, + -898.9325091819463, + -378.00534541612967, + 1325.102923527179, + -2552.185581658869, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "difference_arithmetic": "DD(high_values)-full_DD_values", + "direct": [ + -7123159737609.161, + -21119042885900.473, + -33802946913179.69, + -43926650739929.56, + -50946207641662.03, + -55141736152276.25, + -57312461734559.64, + -58317655333545.06, + -58780508629931.71, + -59040744709393.47, + -59243736844896.414, + -59439635909147.68, + -59642835850984.6, + -59857092582000.3, + -60083611868879.94, + -60323110248742.195, + -60576239545588.74, + -60843657934573.945, + -61126038769291.05, + -61424070173376.41, + -61738453168735.734, + -62069899392007.82, + -62419128416588.83, + -62786864653958.82, + -63173833824282.234, + -63580759072829.86, + -64008356509516.66, + -64457330447833.32, + -64928368049206.58, + -65422133703205.29, + -65939262839016.086, + -66480355507024.66, + -67045969618706.6, + -67636613888981.03, + -68252740708116.42, + -68894738934128.49, + -69562926738465.31, + -70257544653822.13, + -70978748994468.4, + -71726605749365.1, + -72501085117624.56, + -73302056852413.98, + -74129286615402.2, + -74982433356012.58, + -75861047914608.66, + -76764572946003.16, + -77692344172997.53, + -78643592970853.5, + -79617450318592.12, + -80612951891613.33, + -81629044381670.12, + -82664592658208.02, + -83718387606396.94, + -84789154576657.67, + -85875561894476.56, + -86976229395556.75, + -88089736624222.06, + -89214630553644.6, + -90349432438151.06, + -91492643997430.3, + -92642752532732.4, + -93798235108281.34, + -94957561931256.6, + -96119198886490.7, + -97281609493458.8, + -98443256540018.97, + -99602603520410.28, + -100758116269068.19, + -101908264886110.6, + -103051526342036.88, + -104186387742967.84, + -105311350570558.64, + -106424935839322.34, + -107525690108521.08, + -108612192526832.34, + -109683062406119.64, + -110736967511952.45, + -111772632504543.69, + -112788847577629.56, + -113784476792126.47, + -114758465989595.58, + -115709850024384.42, + -116637758921994.36, + -117541423206076.06, + -118420177653183.16, + -119273464106892.19, + -120100832529844.25, + -120901941122447.61, + -121676554784454.44, + -122424542677651.34, + -123145874378803.84, + -123840615389642.55, + -124508921607798.12, + -125151033249646.36, + -125767268214090.48, + -126358015189835.42, + -126923726454998.14, + -127464910692077.73, + -127982125796160.52, + -128475971902532.5, + -128947084574699.1, + -129396128310410.16, + -129823790481863.89, + -130230775572715.14, + -130617799943304.52, + -130985586951981.88, + -131334862578910.88, + -131666351432605.6, + -131980772880319.44, + -132278835229329.08, + -132561214840290.08, + -132828451695352.9, + -133080464857481.47, + -133314644812460.42, + -133519618576538.62, + -133658591844824.31, + -133633749178520.4, + -133227818176852.45, + -132037542748309.84, + -129441870729584.03, + -124659977506905.42, + -116922203148712.36, + -105706909497112.4, + -90940035427103.84, + -73062595166019.75, + -52940416931608.125, + -31666634461851.27, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "direct_maximum_absolute": 133658591844824.31, + "eliminated": [ + -7123159737478.612, + -21119042885963.848, + -33802946913216.637, + -43926650739919.67, + -50946207641715.055, + -55141736152261.12, + -57312461734601.98, + -58317655333503.25, + -58780508629990.84, + -59040744709422.95, + -59243736844853.74, + -59439635909187.14, + -59642835850959.516, + -59857092581947.78, + -60083611868863.89, + -60323110248760.72, + -60576239545596.734, + -60843657934592.734, + -61126038769311.61, + -61424070173384.625, + -61738453168739.164, + -62069899392022.46, + -62419128416586.47, + -62786864653996.89, + -63173833824294.164, + -63580759072834.625, + -64008356509491.15, + -64457330447831.21, + -64928368049218.375, + -65422133703228.57, + -65939262839020.04, + -66480355506992.055, + -67045969618707.22, + -67636613888989.97, + -68252740708118.58, + -68894738934151.51, + -69562926738468.766, + -70257544653821.7, + -70978748994484.16, + -71726605749377.64, + -72501085117591.3, + -73302056852451.23, + -74129286615363.02, + -74982433356008.61, + -75861047914656.39, + -76764572945983.89, + -77692344173021.25, + -78643592970805.16, + -79617450318605.03, + -80612951891650.69, + -81629044381681.3, + -82664592658180.9, + -83718387606402.64, + -84789154576685.72, + -85875561894469.0, + -86976229395610.81, + -88089736624188.86, + -89214630553608.14, + -90349432438162.11, + -91492643997458.42, + -92642752532690.58, + -93798235108320.6, + -94957561931199.88, + -96119198886603.97, + -97281609493451.98, + -98443256539954.14, + -99602603520463.36, + -100758116269081.45, + -101908264886096.64, + -103051526341965.73, + -104186387743036.5, + -105311350570646.89, + -106424935839238.05, + -107525690108513.4, + -108612192526862.61, + -109683062406152.97, + -110736967511943.31, + -111772632504553.6, + -112788847577619.94, + -113784476792143.05, + -114758465989564.48, + -115709850024356.94, + -116637758922161.95, + -117541423206098.23, + -118420177653119.75, + -119273464106814.28, + -120100832529945.44, + -120901941122689.67, + -121676554784029.11, + -122424542677873.92, + -123145874378945.19, + -123840615389225.81, + -124508921608023.11, + -125151033249470.77, + -125767268214479.73, + -126358015189618.36, + -126923726455095.67, + -127464910691922.2, + -127982125796584.8, + -128475971902373.27, + -128947084574698.62, + -129396128310263.2, + -129823790481564.47, + -130230775572837.52, + -130617799943369.48, + -130985586952325.33, + -131334862578876.33, + -131666351432467.62, + -131980772880120.83, + -132278835228938.34, + -132561214840585.4, + -132828451695178.23, + -133080464857998.62, + -133314644812878.73, + -133519618575854.84, + -133658591846628.36, + -133633749176162.78, + -133227818177740.3, + -132037542747920.56, + -129441870729003.95, + -124659977507061.02, + -116922203151188.22, + -105706909496661.42, + -90940035426204.9, + -73062595165641.75, + -52940416932933.23, + -31666634459299.082, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "eliminated_maximum_absolute": 133658591846628.36, + "floor_active": false, + "maximum_absolute_difference": 2552.185581658869, + "normalization_floor": 1.0, + "normalization_scale": 133658591846628.36, + "relative_error": 1.9094811238079415e-11, + "within_original_limit": true + }, + "rounded_reference_vs_full_DD": { + "diagnostic_original_limit": 1e-06, + "difference": [ + 0.024021331223604142, + 0.11907912151686441, + -0.3053828281746426, + 0.4743759307097492, + -0.14545079171985928, + -0.13623497051349648, + -0.6008879649111004, + 1.2620558013875052, + -0.4442859307405511, + -0.8288871114348336, + 0.7244385212032195, + -0.2109144651680858, + 0.23703882568316656, + -0.876356409353192, + 0.5561659012299548, + 0.9145753503918311, + -1.5530081186263784, + 0.18246623640083806, + 1.3853485108205583, + 0.6641437983250157, + -2.1661403511247372, + 1.3531604896613234, + 0.6789150970065897, + -0.995495948462702, + 0.6756948240024377, + -1.6778767804225891, + 1.6256203592577152, + -0.35806887350465777, + -0.15978876547091728, + 1.3137946797648152, + -2.4937938413486034, + 2.573697354831861, + -0.6490358405462608, + -2.094146303701883, + 1.47675415514232, + -1.0271990395452182, + 1.8119307025361922, + -2.0930164462318475, + 0.013302516793158602, + -0.8670029922547179, + 0.5476631473980859, + 2.8521424703801275, + -0.9991667745341164, + 1.248662936247353, + -4.11513464788217, + 3.6537746566950946, + -0.2311949550047111, + -2.165031415351807, + -0.9809472331391167, + 0.19546513529811016, + 1.13520829742013, + 0.0749981931928782, + 1.722444518986033, + -2.4857530177063634, + 3.67685672160877, + -1.4937908178882153, + -3.411344958077659, + 0.5193581540121879, + -0.818224162451616, + 2.6947972594647753, + -0.483155598284981, + 2.3141335018814413, + 0.95845529768773, + -3.6380973221534814, + -2.8046522486151018, + 3.6092232770415866, + -0.623544395034292, + -1.7294697938387067, + 1.7402984464759337, + 1.5925773811316746, + -3.4540062904405358, + 2.3647418280622636, + -3.831176620073658, + 0.5465929715880995, + -0.6508171329529291, + 9.44757315085671, + -3.508733870371794, + -5.0088797590554455, + -1.9789628198526847, + 3.61084294317804, + 5.376897864474518, + -8.375576522353779, + 9.466831681109017, + -14.102954742643966, + 12.711800995050949, + -11.20972037418528, + 24.019558253901735, + -12.624681488840599, + -11.71979902188352, + 21.24211874853708, + -10.418669278831526, + 14.833473786403532, + -17.941380126336902, + 6.308657499329682, + 2.425498994574444, + -0.9115182442339315, + -12.430063034764954, + -15.494633236340182, + 18.068550306100512, + 4.581279380898891, + 6.1746323990501795, + 4.4136924469802965, + 17.962245015234082, + -68.75097566012978, + 54.41494925341635, + -61.38352821602298, + 59.322235516500605, + 18.65375400347742, + -45.96012442412878, + 10.175574492090457, + 12.585083810188246, + 3.0795685819207974, + -65.13687050394586, + 27.232838162754227, + -4.627685457932944, + 82.9448451252939, + -14.110927017708718, + -80.53963076022153, + 131.01324147980654, + -73.01132026318194, + -105.39365512935747, + 23.486452501365104, + -49.59784957781507, + 206.44249081805364, + -66.84909541612967, + -31.522076472820952, + 53.50191834113098, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "difference_arithmetic": "DD(high_values)-full_DD_values", + "direct": [ + -7123159737478.588, + -21119042885963.73, + -33802946913216.94, + -43926650739919.195, + -50946207641715.2, + -55141736152261.25, + -57312461734602.58, + -58317655333501.984, + -58780508629991.29, + -59040744709423.78, + -59243736844853.016, + -59439635909187.35, + -59642835850959.28, + -59857092581948.66, + -60083611868863.336, + -60323110248759.805, + -60576239545598.29, + -60843657934592.555, + -61126038769310.23, + -61424070173383.96, + -61738453168741.33, + -62069899392021.11, + -62419128416585.79, + -62786864653997.88, + -63173833824293.49, + -63580759072836.305, + -64008356509489.52, + -64457330447831.57, + -64928368049218.53, + -65422133703227.26, + -65939262839022.53, + -66480355506989.484, + -67045969618707.87, + -67636613888992.06, + -68252740708117.1, + -68894738934152.53, + -69562926738466.95, + -70257544653823.8, + -70978748994484.14, + -71726605749378.5, + -72501085117590.75, + -73302056852448.38, + -74129286615364.02, + -74982433356007.36, + -75861047914660.5, + -76764572945980.23, + -77692344173021.48, + -78643592970807.33, + -79617450318606.02, + -80612951891650.48, + -81629044381680.16, + -82664592658180.83, + -83718387606400.92, + -84789154576688.2, + -85875561894465.33, + -86976229395612.31, + -88089736624192.27, + -89214630553607.62, + -90349432438162.92, + -91492643997455.73, + -92642752532691.06, + -93798235108318.28, + -94957561931198.92, + -96119198886607.61, + -97281609493454.78, + -98443256539950.53, + -99602603520463.98, + -100758116269083.19, + -101908264886094.9, + -103051526341964.14, + -104186387743039.95, + -105311350570644.53, + -106424935839241.88, + -107525690108512.86, + -108612192526863.27, + -109683062406143.52, + -110736967511946.83, + -111772632504558.61, + -112788847577621.92, + -113784476792139.44, + -114758465989559.11, + -115709850024365.31, + -116637758922152.48, + -117541423206112.34, + -118420177653107.03, + -119273464106825.48, + -120100832529921.42, + -120901941122702.3, + -121676554784040.83, + -122424542677852.69, + -123145874378955.61, + -123840615389210.98, + -124508921608041.05, + -125151033249464.45, + -125767268214477.31, + -126358015189619.27, + -126923726455108.11, + -127464910691937.7, + -127982125796566.73, + -128475971902368.69, + -128947084574692.45, + -129396128310258.8, + -129823790481546.5, + -130230775572906.27, + -130617799943315.06, + -130985586952386.72, + -131334862578817.0, + -131666351432448.97, + -131980772880166.78, + -132278835228928.17, + -132561214840572.83, + -132828451695175.16, + -133080464858063.77, + -133314644812851.5, + -133519618575859.47, + -133658591846545.42, + -133633749176176.89, + -133227818177820.84, + -132037542747789.55, + -129441870729076.97, + -124659977507166.4, + -116922203151164.73, + -105706909496711.02, + -90940035425998.47, + -73062595165708.6, + -52940416932964.75, + -31666634459245.582, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "direct_maximum_absolute": 133658591846545.42, + "eliminated": [ + -7123159737478.612, + -21119042885963.848, + -33802946913216.637, + -43926650739919.67, + -50946207641715.055, + -55141736152261.12, + -57312461734601.98, + -58317655333503.25, + -58780508629990.84, + -59040744709422.95, + -59243736844853.74, + -59439635909187.14, + -59642835850959.516, + -59857092581947.78, + -60083611868863.89, + -60323110248760.72, + -60576239545596.734, + -60843657934592.734, + -61126038769311.61, + -61424070173384.625, + -61738453168739.164, + -62069899392022.46, + -62419128416586.47, + -62786864653996.89, + -63173833824294.164, + -63580759072834.625, + -64008356509491.15, + -64457330447831.21, + -64928368049218.375, + -65422133703228.57, + -65939262839020.04, + -66480355506992.055, + -67045969618707.22, + -67636613888989.97, + -68252740708118.58, + -68894738934151.51, + -69562926738468.766, + -70257544653821.7, + -70978748994484.16, + -71726605749377.64, + -72501085117591.3, + -73302056852451.23, + -74129286615363.02, + -74982433356008.61, + -75861047914656.39, + -76764572945983.89, + -77692344173021.25, + -78643592970805.16, + -79617450318605.03, + -80612951891650.69, + -81629044381681.3, + -82664592658180.9, + -83718387606402.64, + -84789154576685.72, + -85875561894469.0, + -86976229395610.81, + -88089736624188.86, + -89214630553608.14, + -90349432438162.11, + -91492643997458.42, + -92642752532690.58, + -93798235108320.6, + -94957561931199.88, + -96119198886603.97, + -97281609493451.98, + -98443256539954.14, + -99602603520463.36, + -100758116269081.45, + -101908264886096.64, + -103051526341965.73, + -104186387743036.5, + -105311350570646.89, + -106424935839238.05, + -107525690108513.4, + -108612192526862.61, + -109683062406152.97, + -110736967511943.31, + -111772632504553.6, + -112788847577619.94, + -113784476792143.05, + -114758465989564.48, + -115709850024356.94, + -116637758922161.95, + -117541423206098.23, + -118420177653119.75, + -119273464106814.28, + -120100832529945.44, + -120901941122689.67, + -121676554784029.11, + -122424542677873.92, + -123145874378945.19, + -123840615389225.81, + -124508921608023.11, + -125151033249470.77, + -125767268214479.73, + -126358015189618.36, + -126923726455095.67, + -127464910691922.2, + -127982125796584.8, + -128475971902373.27, + -128947084574698.62, + -129396128310263.2, + -129823790481564.47, + -130230775572837.52, + -130617799943369.48, + -130985586952325.33, + -131334862578876.33, + -131666351432467.62, + -131980772880120.83, + -132278835228938.34, + -132561214840585.4, + -132828451695178.23, + -133080464857998.62, + -133314644812878.73, + -133519618575854.84, + -133658591846628.36, + -133633749176162.78, + -133227818177740.3, + -132037542747920.56, + -129441870729003.95, + -124659977507061.02, + -116922203151188.22, + -105706909496661.42, + -90940035426204.9, + -73062595165641.75, + -52940416932933.23, + -31666634459299.082, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "eliminated_maximum_absolute": 133658591846628.36, + "floor_active": false, + "maximum_absolute_difference": 206.44249081805364, + "normalization_floor": 1.0, + "normalization_scale": 133658591846628.36, + "relative_error": 1.544550843801676e-12, + "within_original_limit": true + } + }, + "positive_ion_rate": { + "direct_vs_full_DD": { + "diagnostic_original_limit": 1e-06, + "difference": [ + -36426426337.94864, + -3903861085.1810994, + 11697205905.981596, + -27894417538.86409, + -11379042141.854563, + -7944491478.014408, + 65139854693.118515, + -15505060640.906822, + -64039777943.8367, + 70277725219.5271, + -42594340000.49237, + 5725601336.01037, + -33036358311.205864, + 123143184905.47758, + -112443033729.01926, + 14136299834.252625, + 9712254421.736572, + 54269754664.432755, + -106186336085.54767, + 91512386979.6337, + 6539548007.447692, + -45168939952.5444, + 46507787653.45327, + -88846764662.09149, + 40374867634.423485, + 14927657058.931942, + 2135053662.9645865, + 7417317964.48307, + -7683090745.708963, + -40913549080.07648, + 25176317645.8736, + 46319006508.78588, + -35839311823.72738, + -15811368694.706137, + 12572092418.464739, + -11937735885.625507, + 11263058701.255499, + 14491909308.582226, + -32919250550.915367, + 4468559605.732684, + 49190604660.191315, + -67283808933.86403, + 69367624095.66962, + -33322788248.74694, + -32195813857.401207, + 48494241002.14253, + -48771368905.31596, + 75874378559.57492, + -55245599834.61205, + -16763297614.169249, + 21279166905.552284, + 30602922459.84656, + -30192690344.51875, + -5434809729.648389, + 14969650206.784508, + -39200567111.31702, + 53652039196.035065, + -2555163967.044437, + -19503442736.955376, + -17392674834.689472, + 52227257937.52948, + -51862184964.3732, + 61267824899.3482, + -113728149826.29376, + 85981976621.36867, + 27494988962.742996, + -81788778601.98233, + 32566311422.211105, + 25506067042.64725, + 29182645280.48873, + -96707073914.80986, + 7233636084.022747, + 92740118253.1896, + -48562595223.23621, + -13235434649.194159, + -7435903706.514373, + 16472317027.37761, + -7423879082.379259, + 23400665514.930485, + -22564870439.053436, + 38034305176.536964, + -8967131153.40226, + -151633946917.4418, + 101000257360.30533, + 106713264679.25006, + 25717431238.4706, + -216557847234.14725, + -103397488146.7967, + 650708143325.5071, + -658483454145.1309, + 113181274898.05534, + 637600239372.0487, + -882837069596.0966, + 645944457433.5166, + -810053086952.5034, + 822311952036.4457, + -434373908907.0561, + 426357170462.9932, + -1183471253901.5125, + 1347259665226.7437, + -447431713536.9267, + 264153773974.86526, + 423994392081.8412, + -1068132553682.5627, + 240112919571.3424, + -736486584625.8921, + 1214216971692.0444, + 132947741524.36519, + -353769988033.4567, + 1095140702531.4326, + -2040451520012.7996, + 1170034392186.451, + -2398307189054.1685, + 1015336453550.0541, + 3405950121037.325, + -10241954067097.822, + 17548944791810.098, + -13370363630590.162, + 5857077372355.393, + 1217451767935.1497, + -5279499963821.188, + -11077580018078.375, + 15391906141864.844, + 4909125995768.689, + -4883941745667.845, + -10423711304414.002, + 28970956567251.203, + -14642790008013.482, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "difference_arithmetic": "DD(high_values)-full_DD_values", + "direct": [ + 1.2070242170112624e+23, + 1.1501784140230704e+23, + 9.81628296885988e+22, + 7.37956035653349e+22, + 4.820250292875562e+22, + 2.7145117120177656e+22, + 1.323537100775031e+22, + 5.77687556436081e+21, + 2.5077829761647074e+21, + 1.3295788803351225e+21, + 9.782016549719966e+20, + 8.906208688496674e+20, + 8.717875670925966e+20, + 8.677013851537737e+20, + 8.66201864059972e+20, + 8.650309509319675e+20, + 8.638367755951419e+20, + 8.625698812029073e+20, + 8.612206226510802e+20, + 8.597836919370837e+20, + 8.582539317758271e+20, + 8.56626128496336e+20, + 8.548949734774614e+20, + 8.53055042410569e+20, + 8.511008200917094e+20, + 8.490269325066539e+20, + 8.46827913626966e+20, + 8.444985939218205e+20, + 8.420338744249821e+20, + 8.394291372285466e+20, + 8.366800440209021e+20, + 8.337828933880187e+20, + 8.307346846361108e+20, + 8.275331756523382e+20, + 8.241771656091544e+20, + 8.206666133576124e+20, + 8.170027942332054e+20, + 8.131884859720123e+20, + 8.092281831445814e+20, + 8.051282435173088e+20, + 8.008970440351971e+20, + 7.965451340519651e+20, + 7.920854164373258e+20, + 7.875331768024366e+20, + 7.829061669789409e+20, + 7.782246508018405e+20, + 7.735113618907534e+20, + 7.687914019025994e+20, + 7.64092139048987e+20, + 7.59442929301192e+20, + 7.548749465718037e+20, + 7.504207828015278e+20, + 7.461140330505735e+20, + 7.419889525529516e+20, + 7.38079856991172e+20, + 7.34420652833302e+20, + 7.310442651911815e+20, + 7.279821132188941e+20, + 7.252634571196784e+20, + 7.229149833386206e+20, + 7.209602124041129e+20, + 7.194190489194846e+20, + 7.183074402271582e+20, + 7.176370056881996e+20, + 7.174148083637058e+20, + 7.176432399160473e+20, + 7.183199295523628e+20, + 7.194378351135852e+20, + 7.209853381545905e+20, + 7.229465357079255e+20, + 7.253014946553159e+20, + 7.280267011222143e+20, + 7.310955003750201e+20, + 7.344785488817654e+20, + 7.381444660749865e+20, + 7.420602634417723e+20, + 7.461920275001617e+20, + 7.50505362301819e+20, + 7.549660159041831e+20, + 7.59540303744787e+20, + 7.641955888514082e+20, + 7.689006992482653e+20, + 7.736261421344808e+20, + 7.783445919838977e+20, + 7.830308173064916e+20, + 7.876621448994837e+20, + 7.922181854768451e+20, + 7.966812355498553e+20, + 8.010359185329965e+20, + 8.05269424535013e+20, + 8.093710881879902e+20, + 8.133325937015747e+20, + 8.171475804190777e+20, + 8.208115929897952e+20, + 8.243218287783885e+20, + 8.276770730451464e+20, + 8.308773769291099e+20, + 8.3392399445e+20, + 8.368191346442597e+20, + 8.395659111246492e+20, + 8.421680719192537e+20, + 8.446298794335104e+20, + 8.46956116651151e+20, + 8.49151789961789e+20, + 8.51222227805586e+20, + 8.531728189043813e+20, + 8.550090539502169e+20, + 8.567363071381923e+20, + 8.583589047664889e+20, + 8.598729646963712e+20, + 8.612168905250517e+20, + 8.61984335045115e+20, + 8.600278201293953e+20, + 8.458216267946048e+20, + 7.838125343984892e+20, + 5.6281684492152164e+20, + -1.0658235180212252e+20, + -1.8454943741316285e+21, + -5.735834995346208e+21, + -1.3261615006114738e+22, + -2.590875015815517e+22, + -4.44692043991238e+22, + -6.838200722005452e+22, + -9.55418429676609e+22, + -1.2276235930683206e+23, + -1.4667836132477514e+23, + -1.6464131870889988e+23, + -1.7524552453364522e+23, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "direct_maximum_absolute": 1.7524552453364522e+23, + "eliminated": [ + 1.2070242170116266e+23, + 1.1501784140231095e+23, + 9.81628296885871e+22, + 7.379560356536279e+22, + 4.8202502928766996e+22, + 2.71451171201856e+22, + 1.3235371007685171e+22, + 5.776875564376315e+21, + 2.507782976228747e+21, + 1.329578880264845e+21, + 9.782016550145909e+20, + 8.906208688439418e+20, + 8.717875671256329e+20, + 8.677013850306305e+20, + 8.66201864172415e+20, + 8.650309509178313e+20, + 8.638367755854296e+20, + 8.625698811486376e+20, + 8.612206227572665e+20, + 8.597836918455713e+20, + 8.582539317692875e+20, + 8.56626128541505e+20, + 8.548949734309537e+20, + 8.530550424994158e+20, + 8.511008200513345e+20, + 8.490269324917262e+20, + 8.46827913624831e+20, + 8.444985939144032e+20, + 8.420338744326652e+20, + 8.394291372694602e+20, + 8.366800439957258e+20, + 8.337828933416997e+20, + 8.3073468467195e+20, + 8.275331756681496e+20, + 8.241771655965823e+20, + 8.206666133695501e+20, + 8.170027942219423e+20, + 8.131884859575205e+20, + 8.092281831775007e+20, + 8.051282435128403e+20, + 8.008970439860064e+20, + 7.96545134119249e+20, + 7.920854163679581e+20, + 7.875331768357594e+20, + 7.829061670111368e+20, + 7.782246507533462e+20, + 7.735113619395248e+20, + 7.68791401826725e+20, + 7.640921391042325e+20, + 7.594429293179554e+20, + 7.548749465505245e+20, + 7.504207827709248e+20, + 7.461140330807662e+20, + 7.419889525583864e+20, + 7.380798569762024e+20, + 7.344206528725026e+20, + 7.310442651375294e+20, + 7.279821132214492e+20, + 7.252634571391817e+20, + 7.229149833560133e+20, + 7.209602123518856e+20, + 7.194190489713468e+20, + 7.183074401658904e+20, + 7.176370058019277e+20, + 7.174148082777239e+20, + 7.176432398885523e+20, + 7.183199296341516e+20, + 7.194378350810189e+20, + 7.209853381290844e+20, + 7.229465356787429e+20, + 7.253014947520229e+20, + 7.280267011149807e+20, + 7.3109550028228e+20, + 7.34478548930328e+20, + 7.381444660882219e+20, + 7.420602634492082e+20, + 7.461920274836893e+20, + 7.50505362309243e+20, + 7.549660158807824e+20, + 7.595403037673519e+20, + 7.641955888133738e+20, + 7.689006992572324e+20, + 7.736261422861147e+20, + 7.783445918828975e+20, + 7.830308171997783e+20, + 7.876621448737663e+20, + 7.922181856934029e+20, + 7.966812356532527e+20, + 8.010359178822884e+20, + 8.052694251934965e+20, + 8.093710880748089e+20, + 8.133325930639744e+20, + 8.171475813019147e+20, + 8.208115923438507e+20, + 8.243218295884416e+20, + 8.276770722228345e+20, + 8.308773773634838e+20, + 8.339239940236428e+20, + 8.368191358277309e+20, + 8.395659097773895e+20, + 8.421680723666854e+20, + 8.446298791693567e+20, + 8.469561162271567e+20, + 8.491517910299216e+20, + 8.512222275654732e+20, + 8.531728196408679e+20, + 8.55009052736e+20, + 8.567363070052446e+20, + 8.583589051202589e+20, + 8.598729636012306e+20, + 8.612168925655032e+20, + 8.619843338750806e+20, + 8.600278225277025e+20, + 8.458216257792684e+20, + 7.838125309925391e+20, + 5.628168551634757e+20, + -1.065823693510673e+20, + -1.8454943607612648e+21, + -5.735835001203285e+21, + -1.326161500733219e+22, + -2.590875015287567e+22, + -4.446920438804622e+22, + -6.838200723544642e+22, + -9.554184297257003e+22, + -1.227623593019481e+23, + -1.4667836131435142e+23, + -1.6464131873787084e+23, + -1.7524552451900243e+23, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "eliminated_maximum_absolute": 1.7524552451900243e+23, + "floor_active": false, + "maximum_absolute_difference": 28970956567251.203, + "normalization_floor": 1.7524552453364522e+23, + "normalization_scale": 1.7524552453364522e+23, + "relative_error": 1.6531638479411837e-10, + "within_original_limit": true + }, + "legacy_binary64_direct_vs_full_DD": { + "diagnostic_original_limit": 1e-06, + "difference": [ + 2212173502494.0513, + -1593679294813.1812, + 204568081041.9816, + 341414049661.1359, + -432059344733.85455, + 441013808681.9856, + -350423397018.8815, + 483627601119.0932, + -546956211863.83673, + 151486790691.5271, + 347721298783.5076, + -373412217287.9896, + 276913794392.7941, + 111101600265.47758, + -139466016897.01926, + -124859133637.74738, + 35935305173.73657, + -34829320919.567245, + -5407958869.547672, + 35617256867.633705, + 13079909735.447691, + -28984300464.544407, + 41620899205.45327, + -93780707958.09149, + 57478059698.423485, + 14951643234.931942, + 59956811102.964584, + -44012582323.51693, + -24850377017.708965, + -19532298008.07648, + 31276277453.8736, + 56320324396.78588, + -48783589327.72738, + -11657565942.706137, + 9070372866.464739, + -26659480781.625507, + 23915438861.2555, + 4544068796.582225, + -18150975094.915367, + 3454193397.732684, + 47366475636.191315, + -70117978789.86403, + 73182343583.66962, + -32508175768.74694, + -46067163617.40121, + 57705587946.14253, + -35842164681.31596, + 58237330239.57492, + -48054334554.61205, + -18646146894.16925, + 19453596089.552284, + 27739261403.84656, + -23236961448.51875, + -15479643521.648388, + 24187812894.784508, + -41120116551.31702, + 57299379740.035065, + 2097498816.9555633, + -30351747888.955376, + -10807617554.68947, + 43854771793.52948, + -50480555012.3732, + 59459031299.3482, + -105011337538.29376, + 74116028461.36867, + 35836279970.743, + -73054533737.98233, + 24785615358.211105, + 17061753442.64725, + 36167210016.48873, + -89345808250.80986, + -12684196107.977253, + 113286702829.1896, + -51129902487.23621, + -25777714329.194157, + -2114511578.5143726, + 30060158051.37761, + -13802366890.37926, + 14511100330.930485, + -19986684199.053436, + 37403193496.536964, + -2915012625.40226, + -162641504549.4418, + 125247659856.30533, + 76267860519.25006, + 13384473542.4706, + -171495162562.14725, + -140092798482.79672, + 690156883165.5071, + -697532948673.1309, + 91154232082.05534, + 653338971916.0487, + -784627441436.0966, + 512059128025.5166, + -755587034856.5034, + 849497857700.4457, + -462072043947.0561, + 389953364254.9932, + -938098571661.5123, + 992014043978.7438, + -283811128064.9267, + 275521255318.8653, + 301981695505.8412, + -880067302354.5627, + 126272562195.3424, + -646045856049.8921, + 925356697004.0446, + 267286055764.3652, + 165558902846.5433, + 554225957187.4326, + -2092401120780.7996, + 1516023708794.451, + -2360961630526.1685, + 357027333550.0541, + 4214372463693.325, + -10075298902681.822, + 17854835611906.098, + -14754996704254.162, + 6154402145731.393, + 974771435647.1497, + -3985901112749.1885, + -13334660829598.375, + 17845624313512.844, + 2898208886008.69, + -3577147614211.844, + -12414613195486.002, + 30006983209683.203, + -14123971380429.482, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "difference_arithmetic": "DD(high_values)-full_DD_values", + "direct": [ + 1.2070242170337484e+23, + 1.1501784140071727e+23, + 9.816282968879167e+22, + 7.379560356570421e+22, + 4.820250292833494e+22, + 2.7145117120626615e+22, + 1.3235371007334748e+22, + 5.776875564859943e+21, + 2.507782975681791e+21, + 1.3295788804163316e+21, + 9.782016553623122e+20, + 8.906208684705296e+20, + 8.717875674025468e+20, + 8.677013851417321e+20, + 8.66201864032949e+20, + 8.650309507929721e+20, + 8.63836775621365e+20, + 8.625698811138082e+20, + 8.612206227518586e+20, + 8.597836918811886e+20, + 8.582539317823675e+20, + 8.566261285125207e+20, + 8.548949734725745e+20, + 8.53055042405635e+20, + 8.511008201088126e+20, + 8.490269325066779e+20, + 8.468279136847878e+20, + 8.444985938703906e+20, + 8.420338744078149e+20, + 8.394291372499278e+20, + 8.366800440270021e+20, + 8.3378289339802e+20, + 8.307346846231665e+20, + 8.27533175656492e+20, + 8.241771656056527e+20, + 8.206666133428906e+20, + 8.170027942458577e+20, + 8.131884859620645e+20, + 8.092281831593497e+20, + 8.051282435162944e+20, + 8.00897044033373e+20, + 7.96545134049131e+20, + 7.920854164411405e+20, + 7.875331768032512e+20, + 7.829061669650695e+20, + 7.782246508110519e+20, + 7.735113619036827e+20, + 7.687914018849624e+20, + 7.640921390561783e+20, + 7.594429292993092e+20, + 7.548749465699781e+20, + 7.504207827986641e+20, + 7.461140330575292e+20, + 7.419889525429068e+20, + 7.380798570003902e+20, + 7.344206528313824e+20, + 7.310442651948289e+20, + 7.279821132235468e+20, + 7.2526345710883e+20, + 7.229149833452057e+20, + 7.209602123957404e+20, + 7.194190489208662e+20, + 7.183074402253494e+20, + 7.176370056969164e+20, + 7.174148083518399e+20, + 7.176432399243886e+20, + 7.18319929561097e+20, + 7.194378351058045e+20, + 7.209853381461462e+20, + 7.229465357149101e+20, + 7.253014946626771e+20, + 7.280267011022965e+20, + 7.310955003955667e+20, + 7.344785488791981e+20, + 7.381444660624442e+20, + 7.420602634470937e+20, + 7.461920275137495e+20, + 7.505053622954405e+20, + 7.549660158952935e+20, + 7.595403037473652e+20, + 7.64195588850777e+20, + 7.689006992543174e+20, + 7.736261421234732e+20, + 7.783445920081451e+20, + 7.830308172760462e+20, + 7.876621448871507e+20, + 7.922181855219078e+20, + 7.9668123551316e+20, + 8.010359185724452e+20, + 8.052694244959635e+20, + 8.093710881659632e+20, + 8.133325937173134e+20, + 8.171475805172873e+20, + 8.208115928559098e+20, + 8.243218288328545e+20, + 8.276770730723323e+20, + 8.308773769014118e+20, + 8.339239944135961e+20, + 8.368191348896323e+20, + 8.395659107694036e+20, + 8.421680720828743e+20, + 8.446298794448779e+20, + 8.469561165291384e+20, + 8.491517901498543e+20, + 8.512222276917457e+20, + 8.53172818994822e+20, + 8.550090536613566e+20, + 8.567363072725307e+20, + 8.583589052858178e+20, + 8.598729641554565e+20, + 8.61216890473102e+20, + 8.619843353911043e+20, + 8.600278201667408e+20, + 8.458216261362956e+20, + 7.838125352069115e+20, + 5.628168450881768e+20, + -1.065823514962317e+20, + -1.8454943755162616e+21, + -5.735834995048883e+21, + -1.3261615006357419e+22, + -2.590875015686157e+22, + -4.446920440138088e+22, + -6.83820072176008e+22, + -9.554184296967182e+22, + -1.2276235930552526e+23, + -1.4667836132676604e+23, + -1.6464131870786385e+23, + -1.752455245331264e+23, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0 + ], + "direct_maximum_absolute": 1.752455245331264e+23, + "eliminated": [ + 1.2070242170116266e+23, + 1.1501784140231095e+23, + 9.81628296885871e+22, + 7.379560356536279e+22, + 4.8202502928766996e+22, + 2.71451171201856e+22, + 1.3235371007685171e+22, + 5.776875564376315e+21, + 2.507782976228747e+21, + 1.329578880264845e+21, + 9.782016550145909e+20, + 8.906208688439418e+20, + 8.717875671256329e+20, + 8.677013850306305e+20, + 8.66201864172415e+20, + 8.650309509178313e+20, + 8.638367755854296e+20, + 8.625698811486376e+20, + 8.612206227572665e+20, + 8.597836918455713e+20, + 8.582539317692875e+20, + 8.56626128541505e+20, + 8.548949734309537e+20, + 8.530550424994158e+20, + 8.511008200513345e+20, + 8.490269324917262e+20, + 8.46827913624831e+20, + 8.444985939144032e+20, + 8.420338744326652e+20, + 8.394291372694602e+20, + 8.366800439957258e+20, + 8.337828933416997e+20, + 8.3073468467195e+20, + 8.275331756681496e+20, + 8.241771655965823e+20, + 8.206666133695501e+20, + 8.170027942219423e+20, + 8.131884859575205e+20, + 8.092281831775007e+20, + 8.051282435128403e+20, + 8.008970439860064e+20, + 7.96545134119249e+20, + 7.920854163679581e+20, + 7.875331768357594e+20, + 7.829061670111368e+20, + 7.782246507533462e+20, + 7.735113619395248e+20, + 7.68791401826725e+20, + 7.640921391042325e+20, + 7.594429293179554e+20, + 7.548749465505245e+20, + 7.504207827709248e+20, + 7.461140330807662e+20, + 7.419889525583864e+20, + 7.380798569762024e+20, + 7.344206528725026e+20, + 7.310442651375294e+20, + 7.279821132214492e+20, + 7.252634571391817e+20, + 7.229149833560133e+20, + 7.209602123518856e+20, + 7.194190489713468e+20, + 7.183074401658904e+20, + 7.176370058019277e+20, + 7.174148082777239e+20, + 7.176432398885523e+20, + 7.183199296341516e+20, + 7.194378350810189e+20, + 7.209853381290844e+20, + 7.229465356787429e+20, + 7.253014947520229e+20, + 7.280267011149807e+20, + 7.3109550028228e+20, + 7.34478548930328e+20, + 7.381444660882219e+20, + 7.420602634492082e+20, + 7.461920274836893e+20, + 7.50505362309243e+20, + 7.549660158807824e+20, + 7.595403037673519e+20, + 7.641955888133738e+20, + 7.689006992572324e+20, + 7.736261422861147e+20, + 7.783445918828975e+20, + 7.830308171997783e+20, + 7.876621448737663e+20, + 7.922181856934029e+20, + 7.966812356532527e+20, + 8.010359178822884e+20, + 8.052694251934965e+20, + 8.093710880748089e+20, + 8.133325930639744e+20, + 8.171475813019147e+20, + 8.208115923438507e+20, + 8.243218295884416e+20, + 8.276770722228345e+20, + 8.308773773634838e+20, + 8.339239940236428e+20, + 8.368191358277309e+20, + 8.395659097773895e+20, + 8.421680723666854e+20, + 8.446298791693567e+20, + 8.469561162271567e+20, + 8.491517910299216e+20, + 8.512222275654732e+20, + 8.531728196408679e+20, + 8.55009052736e+20, + 8.567363070052446e+20, + 8.583589051202589e+20, + 8.598729636012306e+20, + 8.612168925655032e+20, + 8.619843338750806e+20, + 8.600278225277025e+20, + 8.458216257792684e+20, + 7.838125309925391e+20, + 5.628168551634757e+20, + -1.065823693510673e+20, + -1.8454943607612648e+21, + -5.735835001203285e+21, + -1.326161500733219e+22, + -2.590875015287567e+22, + -4.446920438804622e+22, + -6.838200723544642e+22, + -9.554184297257003e+22, + -1.227623593019481e+23, + -1.4667836131435142e+23, + -1.6464131873787084e+23, + -1.7524552451900243e+23, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "eliminated_maximum_absolute": 1.7524552451900243e+23, + "floor_active": false, + "maximum_absolute_difference": 30006983209683.203, + "normalization_floor": 1.752455245331264e+23, + "normalization_scale": 1.752455245331264e+23, + "relative_error": 1.7122824271618434e-10, + "within_original_limit": true + }, + "rounded_reference_vs_full_DD": { + "diagnostic_original_limit": 1e-06, + "difference": [ + -405743585.9486408, + -783298909.1810993, + 3291820689.981596, + -5689772162.86409, + 4274100386.1454377, + -63394262.014408484, + 2827177317.118515, + -10706776864.906822, + 9223702888.163298, + 1960639523.527107, + -7477136544.492371, + 4264934968.0103703, + -1939002023.2058625, + 4509917705.47759, + -5466654849.019254, + -1302277829.747376, + 8432205269.736571, + -5613503191.5672455, + -3668764501.547672, + 2089563555.6337016, + 7731516775.447692, + -9102250928.544407, + 1654293893.4532726, + 3881825673.9085126, + -3666897229.5765185, + 4908775522.931942, + -6551087777.035414, + 3734456908.4830704, + -351316281.7089637, + -2509846296.076479, + 6162882253.873602, + -7813467347.214122, + 4740186160.272624, + 2019535113.2938623, + -4773582845.53526, + 3204094770.374492, + -3475987698.7445, + 4570414268.582225, + -2355750518.9153686, + 945082101.7326839, + -1466757259.808684, + -2297787045.8640275, + 3695047071.669621, + -2079155608.7469392, + 4780383774.598792, + -6683007765.857467, + 3239180342.6840343, + 1560355647.5749216, + -931722330.6120495, + -898080590.1692487, + -695840326.4477173, + 770279899.8465596, + -1168106664.5187476, + 2909364862.351611, + -4187046881.215492, + 3450917048.6829844, + 1264133660.035068, + -2543367487.044437, + 848893135.0446252, + -2219517970.6894703, + 1994962513.5294766, + -1744708612.3732011, + 846123267.3481957, + 2838898365.7062397, + -520169426.6313319, + -3963863901.2570024, + 2622506902.017664, + 696678910.2111055, + -2178698653.3527503, + 93967392.48873012, + 3220383877.190137, + -3765532939.977253, + 4072138477.189601, + -2922669463.2362137, + 811682662.8058416, + -6992487130.514373, + 9171082339.37761, + 1091737685.6207407, + -2256678485.0695157, + -4260665639.0534363, + -1392021351.463033, + 11122929646.59774, + -14874470693.441814, + 20292018000.305336, + -23887531480.749947, + 22076906438.4706, + -33736000194.14724, + 36440476141.20329, + -924824354.4929498, + -35495485633.130806, + 35530814226.055336, + -29568430323.95131, + 40078368995.90345, + -30999430950.48339, + 5204791575.496579, + 4661616292.445663, + 16913409620.943937, + 4742717726.993202, + -54318086541.512375, + 22931901258.743755, + -2856854272.926708, + 3338581910.8652663, + -26849772014.158794, + 180935502893.43732, + -270913870828.6576, + 268629872334.10788, + -295471635027.95544, + 105114340180.36519, + 176382828606.5433, + -161939523260.5674, + -7350212108.799586, + 30671764602.45092, + 232771845825.83145, + -333640317521.9459, + 121852425293.3251, + -354662462105.8227, + 416415078658.0974, + 302035872769.83716, + -1019514444348.607, + 1042423462015.1497, + 175469212242.81152, + -740726198686.3748, + 445671610024.8444, + -1656603931399.31, + 1876672322556.1555, + -257523714782.00122, + -658043096364.798, + 296079326002.51807, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "difference_arithmetic": "DD(high_values)-full_DD_values", + "direct": [ + 1.2070242170116226e+23, + 1.1501784140231016e+23, + 9.816282968859039e+22, + 7.37956035653571e+22, + 4.820250292877127e+22, + 2.7145117120185537e+22, + 1.3235371007687998e+22, + 5.776875564365608e+21, + 2.507782976237971e+21, + 1.3295788802668054e+21, + 9.782016550071138e+20, + 8.906208688482067e+20, + 8.71787567123694e+20, + 8.677013850351404e+20, + 8.662018641669483e+20, + 8.650309509165289e+20, + 8.638367755938618e+20, + 8.62569881143024e+20, + 8.612206227535978e+20, + 8.597836918476609e+20, + 8.582539317770191e+20, + 8.566261285324027e+20, + 8.548949734326079e+20, + 8.530550425032976e+20, + 8.511008200476677e+20, + 8.49026932496635e+20, + 8.468279136182799e+20, + 8.444985939181377e+20, + 8.420338744323139e+20, + 8.394291372669503e+20, + 8.366800440018887e+20, + 8.337828933338863e+20, + 8.307346846766903e+20, + 8.275331756701691e+20, + 8.241771655918087e+20, + 8.206666133727542e+20, + 8.170027942184663e+20, + 8.131884859620908e+20, + 8.092281831751449e+20, + 8.051282435137853e+20, + 8.008970439845397e+20, + 7.965451341169512e+20, + 7.920854163716532e+20, + 7.875331768336802e+20, + 7.829061670159171e+20, + 7.782246507466633e+20, + 7.73511361942764e+20, + 7.687914018282854e+20, + 7.640921391033009e+20, + 7.594429293170573e+20, + 7.548749465498287e+20, + 7.504207827716951e+20, + 7.46114033079598e+20, + 7.419889525612958e+20, + 7.380798569720153e+20, + 7.344206528759535e+20, + 7.310442651387936e+20, + 7.279821132189059e+20, + 7.252634571400307e+20, + 7.229149833537938e+20, + 7.209602123538806e+20, + 7.194190489696021e+20, + 7.183074401667365e+20, + 7.176370058047666e+20, + 7.174148082772037e+20, + 7.176432398845884e+20, + 7.183199296367741e+20, + 7.194378350817155e+20, + 7.209853381269058e+20, + 7.229465356788369e+20, + 7.253014947552433e+20, + 7.280267011112151e+20, + 7.310955002863522e+20, + 7.344785489274054e+20, + 7.381444660890336e+20, + 7.420602634422157e+20, + 7.461920274928604e+20, + 7.505053623103346e+20, + 7.549660158785257e+20, + 7.595403037630912e+20, + 7.641955888119818e+20, + 7.689006992683553e+20, + 7.736261422712403e+20, + 7.783445919031895e+20, + 7.830308171758908e+20, + 7.876621448958432e+20, + 7.922181856596669e+20, + 7.966812356896932e+20, + 8.010359178813635e+20, + 8.05269425158001e+20, + 8.093710881103398e+20, + 8.13332593034406e+20, + 8.171475813419931e+20, + 8.208115923128513e+20, + 8.243218295936464e+20, + 8.276770722274961e+20, + 8.308773773803972e+20, + 8.339239940283855e+20, + 8.368191357734128e+20, + 8.395659098003214e+20, + 8.421680723638286e+20, + 8.446298791726952e+20, + 8.469561162003069e+20, + 8.491517912108571e+20, + 8.512222272945593e+20, + 8.531728199094977e+20, + 8.550090524405283e+20, + 8.56736307110359e+20, + 8.583589052966417e+20, + 8.59872963439291e+20, + 8.61216892558153e+20, + 8.619843339057524e+20, + 8.600278227604743e+20, + 8.45821625445628e+20, + 7.838125311143915e+20, + 5.6281685480881324e+20, + -1.0658236893465223e+20, + -1.845494360459229e+21, + -5.7358350022228e+21, + -1.3261615006289767e+22, + -2.59087501527002e+22, + -4.446920438878694e+22, + -6.838200723500075e+22, + -9.554184297422663e+22, + -1.2276235930007144e+23, + -1.4667836131460895e+23, + -1.6464131873852888e+23, + -1.7524552451870635e+23, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "direct_maximum_absolute": 1.7524552451870635e+23, + "eliminated": [ + 1.2070242170116266e+23, + 1.1501784140231095e+23, + 9.81628296885871e+22, + 7.379560356536279e+22, + 4.8202502928766996e+22, + 2.71451171201856e+22, + 1.3235371007685171e+22, + 5.776875564376315e+21, + 2.507782976228747e+21, + 1.329578880264845e+21, + 9.782016550145909e+20, + 8.906208688439418e+20, + 8.717875671256329e+20, + 8.677013850306305e+20, + 8.66201864172415e+20, + 8.650309509178313e+20, + 8.638367755854296e+20, + 8.625698811486376e+20, + 8.612206227572665e+20, + 8.597836918455713e+20, + 8.582539317692875e+20, + 8.56626128541505e+20, + 8.548949734309537e+20, + 8.530550424994158e+20, + 8.511008200513345e+20, + 8.490269324917262e+20, + 8.46827913624831e+20, + 8.444985939144032e+20, + 8.420338744326652e+20, + 8.394291372694602e+20, + 8.366800439957258e+20, + 8.337828933416997e+20, + 8.3073468467195e+20, + 8.275331756681496e+20, + 8.241771655965823e+20, + 8.206666133695501e+20, + 8.170027942219423e+20, + 8.131884859575205e+20, + 8.092281831775007e+20, + 8.051282435128403e+20, + 8.008970439860064e+20, + 7.96545134119249e+20, + 7.920854163679581e+20, + 7.875331768357594e+20, + 7.829061670111368e+20, + 7.782246507533462e+20, + 7.735113619395248e+20, + 7.68791401826725e+20, + 7.640921391042325e+20, + 7.594429293179554e+20, + 7.548749465505245e+20, + 7.504207827709248e+20, + 7.461140330807662e+20, + 7.419889525583864e+20, + 7.380798569762024e+20, + 7.344206528725026e+20, + 7.310442651375294e+20, + 7.279821132214492e+20, + 7.252634571391817e+20, + 7.229149833560133e+20, + 7.209602123518856e+20, + 7.194190489713468e+20, + 7.183074401658904e+20, + 7.176370058019277e+20, + 7.174148082777239e+20, + 7.176432398885523e+20, + 7.183199296341516e+20, + 7.194378350810189e+20, + 7.209853381290844e+20, + 7.229465356787429e+20, + 7.253014947520229e+20, + 7.280267011149807e+20, + 7.3109550028228e+20, + 7.34478548930328e+20, + 7.381444660882219e+20, + 7.420602634492082e+20, + 7.461920274836893e+20, + 7.50505362309243e+20, + 7.549660158807824e+20, + 7.595403037673519e+20, + 7.641955888133738e+20, + 7.689006992572324e+20, + 7.736261422861147e+20, + 7.783445918828975e+20, + 7.830308171997783e+20, + 7.876621448737663e+20, + 7.922181856934029e+20, + 7.966812356532527e+20, + 8.010359178822884e+20, + 8.052694251934965e+20, + 8.093710880748089e+20, + 8.133325930639744e+20, + 8.171475813019147e+20, + 8.208115923438507e+20, + 8.243218295884416e+20, + 8.276770722228345e+20, + 8.308773773634838e+20, + 8.339239940236428e+20, + 8.368191358277309e+20, + 8.395659097773895e+20, + 8.421680723666854e+20, + 8.446298791693567e+20, + 8.469561162271567e+20, + 8.491517910299216e+20, + 8.512222275654732e+20, + 8.531728196408679e+20, + 8.55009052736e+20, + 8.567363070052446e+20, + 8.583589051202589e+20, + 8.598729636012306e+20, + 8.612168925655032e+20, + 8.619843338750806e+20, + 8.600278225277025e+20, + 8.458216257792684e+20, + 7.838125309925391e+20, + 5.628168551634757e+20, + -1.065823693510673e+20, + -1.8454943607612648e+21, + -5.735835001203285e+21, + -1.326161500733219e+22, + -2.590875015287567e+22, + -4.446920438804622e+22, + -6.838200723544642e+22, + -9.554184297257003e+22, + -1.227623593019481e+23, + -1.4667836131435142e+23, + -1.6464131873787084e+23, + -1.7524552451900243e+23, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "eliminated_maximum_absolute": 1.7524552451900243e+23, + "floor_active": true, + "maximum_absolute_difference": 1876672322556.1555, + "normalization_floor": 1.7524552453364522e+23, + "normalization_scale": 1.7524552453364522e+23, + "relative_error": 1.0708817400902327e-11, + "within_original_limit": true + } + } + }, + "cross_representation_role": "diagnostic_only_not_original_gate_channels", + "full_DD_transport": { + "positive_flux_m2_s": { + "hi": [ + -7123159737478.612, + -21119042885963.848, + -33802946913216.637, + -43926650739919.67, + -50946207641715.055, + -55141736152261.12, + -57312461734601.98, + -58317655333503.25, + -58780508629990.84, + -59040744709422.95, + -59243736844853.74, + -59439635909187.14, + -59642835850959.516, + -59857092581947.78, + -60083611868863.89, + -60323110248760.72, + -60576239545596.734, + -60843657934592.734, + -61126038769311.61, + -61424070173384.625, + -61738453168739.164, + -62069899392022.46, + -62419128416586.47, + -62786864653996.89, + -63173833824294.164, + -63580759072834.625, + -64008356509491.15, + -64457330447831.21, + -64928368049218.375, + -65422133703228.57, + -65939262839020.04, + -66480355506992.055, + -67045969618707.22, + -67636613888989.97, + -68252740708118.58, + -68894738934151.51, + -69562926738468.766, + -70257544653821.7, + -70978748994484.16, + -71726605749377.64, + -72501085117591.3, + -73302056852451.23, + -74129286615363.02, + -74982433356008.61, + -75861047914656.39, + -76764572945983.89, + -77692344173021.25, + -78643592970805.16, + -79617450318605.03, + -80612951891650.69, + -81629044381681.3, + -82664592658180.9, + -83718387606402.64, + -84789154576685.72, + -85875561894469.0, + -86976229395610.81, + -88089736624188.86, + -89214630553608.14, + -90349432438162.11, + -91492643997458.42, + -92642752532690.58, + -93798235108320.6, + -94957561931199.88, + -96119198886603.97, + -97281609493451.98, + -98443256539954.14, + -99602603520463.36, + -100758116269081.45, + -101908264886096.64, + -103051526341965.73, + -104186387743036.5, + -105311350570646.89, + -106424935839238.05, + -107525690108513.4, + -108612192526862.61, + -109683062406152.97, + -110736967511943.31, + -111772632504553.6, + -112788847577619.94, + -113784476792143.05, + -114758465989564.48, + -115709850024356.94, + -116637758922161.95, + -117541423206098.23, + -118420177653119.75, + -119273464106814.28, + -120100832529945.44, + -120901941122689.67, + -121676554784029.11, + -122424542677873.92, + -123145874378945.19, + -123840615389225.81, + -124508921608023.11, + -125151033249470.77, + -125767268214479.73, + -126358015189618.36, + -126923726455095.67, + -127464910691922.2, + -127982125796584.8, + -128475971902373.27, + -128947084574698.62, + -129396128310263.2, + -129823790481564.47, + -130230775572837.52, + -130617799943369.48, + -130985586952325.33, + -131334862578876.33, + -131666351432467.62, + -131980772880120.83, + -132278835228938.34, + -132561214840585.4, + -132828451695178.23, + -133080464857998.62, + -133314644812878.73, + -133519618575854.84, + -133658591846628.36, + -133633749176162.78, + -133227818177740.3, + -132037542747920.56, + -129441870729003.95, + -124659977507061.02, + -116922203151188.22, + -105706909496661.42, + -90940035426204.9, + -73062595165641.75, + -52940416932933.23, + -31666634459299.082, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "lo": [ + 0.00039273127639585933, + -0.0018916215168644063, + 0.0006953281746425516, + 0.0021865692902507737, + -0.002986708280140716, + 0.003422470513496487, + -0.0006745350888996266, + 0.003569198612494864, + -0.0010265692594488799, + 0.000762111434833658, + 0.002123978796780492, + -2.3034831914219316e-05, + -0.0026638256831665657, + 0.0013564093531920444, + -0.0014784012299548235, + -0.0005128503918310992, + -0.0016793813736215011, + -0.002778736400838063, + -0.0025360108205582793, + -8.129832501570949e-05, + 0.002077851124737165, + -0.0015979896613233426, + 0.0007724029934102735, + 0.003308448462701923, + -0.00381982400243769, + -0.0018107195774107524, + -0.0006203592577152849, + -0.001306126495342215, + 0.0035387654709172754, + -0.0012946797648151886, + 0.0016063413486035803, + -0.003384854831861116, + 0.0005983405462608973, + 0.00039630370188304526, + -0.0001916551423199265, + 0.003761539545218219, + 0.0005692974638078887, + -0.0007335537681524893, + 0.0023224832068413975, + 0.007627992254717871, + -0.0007881473980858845, + 0.007232529619872323, + -0.0008332254658836311, + 0.0013370637526470717, + 0.005759647882170748, + 0.002475343304905376, + -0.003180044995288913, + -0.00684358464819311, + -0.0034277668608833516, + 0.007659864701889827, + 0.0054167025798699114, + 0.003126806807121794, + -0.003694518986033003, + 0.0013780177063632687, + -0.004981721608769904, + -0.006209182111784738, + 0.0050949580776592585, + -0.0037331540121878885, + 0.00572416245161602, + -0.007297259464775358, + -0.001219401715018977, + -0.0016335018814414206, + -0.005330297687729994, + -0.002527677846518828, + 0.007777248615101922, + 0.00015172295841321687, + -0.0014556049657079248, + -0.0049052061612932666, + -0.0059234464759336325, + 0.0011726188683254307, + 0.0008812904405357536, + -0.005366828062263799, + 0.00305162007365768, + 0.0002820284119004565, + -0.005432867047070937, + 0.0055518491432888836, + -0.006891129628206084, + -0.0067452409445549226, + -0.0054121801473152225, + -0.0014679431780399565, + -0.001897864474518396, + 0.0005765223537785954, + 0.0019183188909833381, + -0.006420257356033243, + 0.006949004949051738, + 0.0065953741852789885, + -0.003933253901734981, + -0.0003185111594008507, + 0.0010490218835207863, + -0.0077437485370803714, + -0.0032057211684733064, + -0.005348786403531572, + 0.0038801263369022633, + 0.003842500670318346, + -0.003623994574444008, + 0.005268244233931426, + -0.007436965235046429, + -0.005366763659818951, + -0.006050306100510574, + -0.0031543808988912588, + -0.002757399050179252, + -0.0074424469802967155, + 0.0065049847659181936, + 0.000975660129788419, + 0.006925746583644034, + -0.007096783977017886, + 0.005889483499395734, + 0.002495996522578939, + 0.0069994241287774095, + -0.0036994920904560337, + -0.0069588101882464065, + -0.0014435819207973563, + -0.00375449605414422, + 0.0015368372457739972, + 0.0026854579329433806, + -0.007345125293890841, + 0.0015520177087180384, + -0.007244239778470086, + 0.002383520193474306, + -0.004304736818061234, + 0.0030301293574725233, + -0.0020775013651043502, + 0.004099577815070085, + -0.0049908180536536945, + 0.00534541612967027, + -0.0013610271790471427, + -0.0019183411309842075, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + }, + "positive_rate_m3_s": { + "hi": [ + 1.2070242170116266e+23, + 1.1501784140231095e+23, + 9.81628296885871e+22, + 7.379560356536279e+22, + 4.8202502928766996e+22, + 2.71451171201856e+22, + 1.3235371007685171e+22, + 5.776875564376315e+21, + 2.507782976228747e+21, + 1.329578880264845e+21, + 9.782016550145909e+20, + 8.906208688439418e+20, + 8.717875671256329e+20, + 8.677013850306305e+20, + 8.66201864172415e+20, + 8.650309509178313e+20, + 8.638367755854296e+20, + 8.625698811486376e+20, + 8.612206227572665e+20, + 8.597836918455713e+20, + 8.582539317692875e+20, + 8.56626128541505e+20, + 8.548949734309537e+20, + 8.530550424994158e+20, + 8.511008200513345e+20, + 8.490269324917262e+20, + 8.46827913624831e+20, + 8.444985939144032e+20, + 8.420338744326652e+20, + 8.394291372694602e+20, + 8.366800439957258e+20, + 8.337828933416997e+20, + 8.3073468467195e+20, + 8.275331756681496e+20, + 8.241771655965823e+20, + 8.206666133695501e+20, + 8.170027942219423e+20, + 8.131884859575205e+20, + 8.092281831775007e+20, + 8.051282435128403e+20, + 8.008970439860064e+20, + 7.96545134119249e+20, + 7.920854163679581e+20, + 7.875331768357594e+20, + 7.829061670111368e+20, + 7.782246507533462e+20, + 7.735113619395248e+20, + 7.68791401826725e+20, + 7.640921391042325e+20, + 7.594429293179554e+20, + 7.548749465505245e+20, + 7.504207827709248e+20, + 7.461140330807662e+20, + 7.419889525583864e+20, + 7.380798569762024e+20, + 7.344206528725026e+20, + 7.310442651375294e+20, + 7.279821132214492e+20, + 7.252634571391817e+20, + 7.229149833560133e+20, + 7.209602123518856e+20, + 7.194190489713468e+20, + 7.183074401658904e+20, + 7.176370058019277e+20, + 7.174148082777239e+20, + 7.176432398885523e+20, + 7.183199296341516e+20, + 7.194378350810189e+20, + 7.209853381290844e+20, + 7.229465356787429e+20, + 7.253014947520229e+20, + 7.280267011149807e+20, + 7.3109550028228e+20, + 7.34478548930328e+20, + 7.381444660882219e+20, + 7.420602634492082e+20, + 7.461920274836893e+20, + 7.50505362309243e+20, + 7.549660158807824e+20, + 7.595403037673519e+20, + 7.641955888133738e+20, + 7.689006992572324e+20, + 7.736261422861147e+20, + 7.783445918828975e+20, + 7.830308171997783e+20, + 7.876621448737663e+20, + 7.922181856934029e+20, + 7.966812356532527e+20, + 8.010359178822884e+20, + 8.052694251934965e+20, + 8.093710880748089e+20, + 8.133325930639744e+20, + 8.171475813019147e+20, + 8.208115923438507e+20, + 8.243218295884416e+20, + 8.276770722228345e+20, + 8.308773773634838e+20, + 8.339239940236428e+20, + 8.368191358277309e+20, + 8.395659097773895e+20, + 8.421680723666854e+20, + 8.446298791693567e+20, + 8.469561162271567e+20, + 8.491517910299216e+20, + 8.512222275654732e+20, + 8.531728196408679e+20, + 8.55009052736e+20, + 8.567363070052446e+20, + 8.583589051202589e+20, + 8.598729636012306e+20, + 8.612168925655032e+20, + 8.619843338750806e+20, + 8.600278225277025e+20, + 8.458216257792684e+20, + 7.838125309925391e+20, + 5.628168551634757e+20, + -1.065823693510673e+20, + -1.8454943607612648e+21, + -5.735835001203285e+21, + -1.326161500733219e+22, + -2.590875015287567e+22, + -4.446920438804622e+22, + -6.838200723544642e+22, + -9.554184297257003e+22, + -1.227623593019481e+23, + -1.4667836131435142e+23, + -1.6464131873787084e+23, + -1.7524552451900243e+23, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "lo": [ + 3090401.9486408276, + -5230242.818900654, + -3486353.9815961593, + 2295938.8640903076, + 4089693.854562126, + 479702.0144084834, + -216421.11851514192, + -232671.0931770257, + 95895.8367025256, + -64547.52710702507, + 3232.492370287835, + 16839.98962957355, + 53927.2058624928, + 7670.522410822891, + 34945.019254068895, + -53562.252623997876, + 49706.26342854086, + -48424.43275496828, + 59221.54767189317, + -13731.633701663975, + 27288.552308197, + -44111.45559330536, + -34181.45327265634, + 2678.091487547353, + 26957.57651869529, + 1949.068058169344, + -21854.964586546226, + 46515.516929512654, + 43321.708963682526, + -51431.92352103209, + -7885.8736019107555, + 3283.2141220150647, + 32719.72737570496, + 22262.706137651432, + -59394.46473933668, + -39730.374492144394, + -41741.255499604325, + -64700.582225295904, + -6537.0846315342405, + -52981.7326838993, + 61579.808684200136, + -36186.13597272819, + 3680.3303791267454, + -39527.25306082581, + -56862.59879193695, + 39701.85746667908, + 1993.3159657684125, + 56512.42507838574, + 62554.61204943702, + -24753.83075125494, + -20921.552282634504, + 30244.15344030348, + -6999.481252443134, + 40321.64838866908, + -48158.78450823094, + -53432.682984433144, + 55779.96493204853, + 46399.04443679565, + 60208.95537487206, + -55277.310529624425, + -46673.52947668758, + 9220.373201189928, + -53507.348195616, + -9917.706239526893, + -55341.36866809381, + -15522.742997834437, + -18326.017663873747, + -31230.21110541679, + 19869.352750069716, + 11231.51126988098, + 55162.80986315269, + -34548.02274721197, + 6418.810399246855, + 26007.2362137312, + 46233.1941584375, + 58074.5143726711, + 25500.62239150738, + -38997.62074061634, + 11861.069515797797, + 39207.05343614952, + 36711.463032922, + -28654.597740187062, + 26917.441814858925, + 24751.694664988314, + 52696.74994552032, + -56262.47059963195, + 33474.14723827554, + 30226.79670866156, + -19677.507050173695, + 8385.130806868015, + 52461.94466028894, + 28915.951310799825, + 40732.09654983116, + -14553.516607299702, + -53527.496579237726, + -40612.445663647595, + -9812.94393788451, + -8478.993202113279, + 14733.512373900396, + 62645.2562439376, + 8960.926708005329, + -46998.865266246205, + -65041.841204767494, + -44077.43730733999, + -25619.342412532405, + -36558.10786753509, + -42412.0445399908, + 29867.634810039923, + -24638.543293940216, + -63811.43258311455, + -43507.20041389931, + 901.5490811140967, + -32449.83146289882, + -50606.05409792967, + -29773.32510471204, + -19814.17733666353, + -6402.097436692686, + -109569.83714817603, + -271811.3929952376, + -505983.1496344965, + -504402.81150873995, + 3723678.3747345395, + -1644200.8444468128, + 4846343.310167046, + -6495228.155621441, + -6550817.998767569, + 7130412.797973505, + 4981965.481905874, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + } + }, + "original_gate_uses": "actual_direct_high_minus_same_word_reference_high", + "rounding": "one_binary64_round_to_nearest_ties_to_even_before_SG", + "same_word_transport": { + "positive_flux_m2_s": { + "hi": [ + -7123159737478.588, + -21119042885963.73, + -33802946913216.94, + -43926650739919.195, + -50946207641715.2, + -55141736152261.25, + -57312461734602.58, + -58317655333501.984, + -58780508629991.29, + -59040744709423.78, + -59243736844853.016, + -59439635909187.35, + -59642835850959.28, + -59857092581948.66, + -60083611868863.336, + -60323110248759.805, + -60576239545598.29, + -60843657934592.555, + -61126038769310.23, + -61424070173383.96, + -61738453168741.33, + -62069899392021.11, + -62419128416585.79, + -62786864653997.88, + -63173833824293.49, + -63580759072836.305, + -64008356509489.52, + -64457330447831.57, + -64928368049218.53, + -65422133703227.26, + -65939262839022.53, + -66480355506989.484, + -67045969618707.87, + -67636613888992.06, + -68252740708117.1, + -68894738934152.53, + -69562926738466.95, + -70257544653823.8, + -70978748994484.14, + -71726605749378.5, + -72501085117590.75, + -73302056852448.38, + -74129286615364.02, + -74982433356007.36, + -75861047914660.5, + -76764572945980.23, + -77692344173021.48, + -78643592970807.33, + -79617450318606.02, + -80612951891650.48, + -81629044381680.16, + -82664592658180.83, + -83718387606400.92, + -84789154576688.2, + -85875561894465.33, + -86976229395612.31, + -88089736624192.27, + -89214630553607.62, + -90349432438162.92, + -91492643997455.73, + -92642752532691.06, + -93798235108318.28, + -94957561931198.92, + -96119198886607.61, + -97281609493454.78, + -98443256539950.53, + -99602603520463.98, + -100758116269083.19, + -101908264886094.9, + -103051526341964.14, + -104186387743039.95, + -105311350570644.53, + -106424935839241.88, + -107525690108512.86, + -108612192526863.27, + -109683062406143.52, + -110736967511946.83, + -111772632504558.61, + -112788847577621.92, + -113784476792139.44, + -114758465989559.11, + -115709850024365.31, + -116637758922152.48, + -117541423206112.34, + -118420177653107.03, + -119273464106825.48, + -120100832529921.42, + -120901941122702.3, + -121676554784040.83, + -122424542677852.69, + -123145874378955.61, + -123840615389210.98, + -124508921608041.05, + -125151033249464.45, + -125767268214477.31, + -126358015189619.27, + -126923726455108.11, + -127464910691937.7, + -127982125796566.73, + -128475971902368.69, + -128947084574692.45, + -129396128310258.8, + -129823790481546.5, + -130230775572906.27, + -130617799943315.06, + -130985586952386.72, + -131334862578817.0, + -131666351432448.97, + -131980772880166.78, + -132278835228928.17, + -132561214840572.83, + -132828451695175.16, + -133080464858063.77, + -133314644812851.5, + -133519618575859.47, + -133658591846545.42, + -133633749176176.89, + -133227818177820.84, + -132037542747789.55, + -129441870729076.97, + -124659977507166.4, + -116922203151164.73, + -105706909496711.02, + -90940035425998.47, + -73062595165708.6, + -52940416932964.75, + -31666634459245.582, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "lo": [ + -0.00014485395326619487, + -0.0005433929465480424, + -0.0008211127911068126, + -8.723804711200994e-05, + -0.0028141548374207397, + -0.0021561182123618584, + -0.001188570954461057, + -0.0010895700844108765, + 0.0028478036172338737, + 0.0036907194068441116, + 0.0019760438544601383, + -0.0007789945067955343, + 0.0032168712757608894, + 0.003019019911927185, + 6.753675300666821e-05, + 0.002198434313314835, + -0.0010954951881018897, + 0.003740832371931478, + 0.0037935643957191733, + 0.0006867915667649613, + -0.0011329306384574368, + 0.0014302244399423888, + -0.000113555273145183, + 0.000934805450923193, + -0.003053898879049246, + -0.002192582138804495, + 0.0021861968260932204, + 0.00045941766851148943, + -0.0013139605321879917, + 0.001410543419672278, + -0.00010765518650671601, + 0.0030335322429843846, + -0.0016367519409554738, + 0.0020519985832172434, + -0.0002872812702414053, + -0.0028227783084590653, + 0.0009126607185782508, + 0.0018616895967431399, + -0.004962118341096319, + -0.0025579878315071776, + 0.0011514653536209428, + 0.0071783131515627, + -0.0005567453505532453, + 0.003986051785784286, + 0.002952567200416564, + -0.006983308907777057, + -0.007161628652084851, + -0.00399446605076288, + -0.0005605840390596521, + 0.0003199955335131701, + -0.0028108463049272975, + -0.00551004024377795, + -0.003088515383807225, + 0.006666606478346181, + 0.007144938894752627, + 0.00603830031064258, + -0.0019244436082385447, + -0.002651763768739615, + 0.0067095215517704344, + 0.003525241111601801, + -0.0010748379241257346, + 0.0039549896172159146, + -0.005973556593611196, + -0.004648393494806939, + 0.004790527422728452, + 0.00711476713685814, + 0.007162020776856251, + -0.005833993882980327, + -3.7036477079724436e-05, + -0.001009301896938897, + 0.006804620718447944, + 0.006687466379725531, + 2.502906531757251e-06, + 0.0023901673212128396, + 0.005142997166791468, + -0.002326299821962115, + 0.000930430442699079, + -0.0055573154963986585, + 0.0021620570212780603, + -0.002624112793994528, + 0.005463609296918977, + -0.004848417944081749, + -0.006374418921671905, + 0.004206496833443041, + -0.0028906621577938583, + 0.002395306707606013, + 0.00598720594152048, + 0.00722058101593678, + -0.003388532254737054, + 0.005308987129886342, + 0.00020105020164714487, + 0.005096151274042543, + 0.0017980012927672066, + 0.0022549969855847913, + -0.005479865881967952, + 0.0043631877654535115, + 0.00727847931476285, + -0.00595159316269109, + 0.003378584519663094, + 0.0017677747404657074, + 0.006525614767430564, + -0.007460707226689652, + 0.0015319471052782506, + -0.004762597309425208, + 0.005426445458765776, + 0.002554802077308736, + -0.0015389441248798747, + -0.00395945262166178, + -3.6533237154223814e-05, + -0.0017773587618345058, + -0.0012878923567996477, + -0.004799959876876033, + 0.0027067725825831064, + 0.006948683556124862, + 0.002022951559297121, + 0.004342218098917492, + 0.0003234986808184877, + -0.006163646867604854, + 0.006096985862297884, + -0.0010548076868373021, + -0.0045244537719942406, + 0.0037108280804752747, + -0.005887602615676225, + -0.00315454563044666, + -0.004627686422400849, + -0.0028837835087856165, + 0.001071467141434029, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + }, + "positive_rate_m3_s": { + "hi": [ + 1.2070242170116226e+23, + 1.1501784140231016e+23, + 9.816282968859039e+22, + 7.37956035653571e+22, + 4.820250292877127e+22, + 2.7145117120185537e+22, + 1.3235371007687998e+22, + 5.776875564365608e+21, + 2.507782976237971e+21, + 1.3295788802668054e+21, + 9.782016550071138e+20, + 8.906208688482067e+20, + 8.71787567123694e+20, + 8.677013850351404e+20, + 8.662018641669483e+20, + 8.650309509165289e+20, + 8.638367755938618e+20, + 8.62569881143024e+20, + 8.612206227535978e+20, + 8.597836918476609e+20, + 8.582539317770191e+20, + 8.566261285324027e+20, + 8.548949734326079e+20, + 8.530550425032976e+20, + 8.511008200476677e+20, + 8.49026932496635e+20, + 8.468279136182799e+20, + 8.444985939181377e+20, + 8.420338744323139e+20, + 8.394291372669503e+20, + 8.366800440018887e+20, + 8.337828933338863e+20, + 8.307346846766903e+20, + 8.275331756701691e+20, + 8.241771655918087e+20, + 8.206666133727542e+20, + 8.170027942184663e+20, + 8.131884859620908e+20, + 8.092281831751449e+20, + 8.051282435137853e+20, + 8.008970439845397e+20, + 7.965451341169512e+20, + 7.920854163716532e+20, + 7.875331768336802e+20, + 7.829061670159171e+20, + 7.782246507466633e+20, + 7.73511361942764e+20, + 7.687914018282854e+20, + 7.640921391033009e+20, + 7.594429293170573e+20, + 7.548749465498287e+20, + 7.504207827716951e+20, + 7.46114033079598e+20, + 7.419889525612958e+20, + 7.380798569720153e+20, + 7.344206528759535e+20, + 7.310442651387936e+20, + 7.279821132189059e+20, + 7.252634571400307e+20, + 7.229149833537938e+20, + 7.209602123538806e+20, + 7.194190489696021e+20, + 7.183074401667365e+20, + 7.176370058047666e+20, + 7.174148082772037e+20, + 7.176432398845884e+20, + 7.183199296367741e+20, + 7.194378350817155e+20, + 7.209853381269058e+20, + 7.229465356788369e+20, + 7.253014947552433e+20, + 7.280267011112151e+20, + 7.310955002863522e+20, + 7.344785489274054e+20, + 7.381444660890336e+20, + 7.420602634422157e+20, + 7.461920274928604e+20, + 7.505053623103346e+20, + 7.549660158785257e+20, + 7.595403037630912e+20, + 7.641955888119818e+20, + 7.689006992683553e+20, + 7.736261422712403e+20, + 7.783445919031895e+20, + 7.830308171758908e+20, + 7.876621448958432e+20, + 7.922181856596669e+20, + 7.966812356896932e+20, + 8.010359178813635e+20, + 8.05269425158001e+20, + 8.093710881103398e+20, + 8.13332593034406e+20, + 8.171475813419931e+20, + 8.208115923128513e+20, + 8.243218295936464e+20, + 8.276770722274961e+20, + 8.308773773803972e+20, + 8.339239940283855e+20, + 8.368191357734128e+20, + 8.395659098003214e+20, + 8.421680723638286e+20, + 8.446298791726952e+20, + 8.469561162003069e+20, + 8.491517912108571e+20, + 8.512222272945593e+20, + 8.531728199094977e+20, + 8.550090524405283e+20, + 8.56736307110359e+20, + 8.583589052966417e+20, + 8.59872963439291e+20, + 8.61216892558153e+20, + 8.619843339057524e+20, + 8.600278227604743e+20, + 8.45821625445628e+20, + 7.838125311143915e+20, + 5.6281685480881324e+20, + -1.0658236893465223e+20, + -1.845494360459229e+21, + -5.7358350022228e+21, + -1.3261615006289767e+22, + -2.59087501527002e+22, + -4.446920438878694e+22, + -6.838200723500075e+22, + -9.554184297422663e+22, + -1.2276235930007144e+23, + -1.4667836131460895e+23, + -1.6464131873852888e+23, + -1.7524552451870635e+23, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "lo": [ + 1155069.8356102607, + 5391388.964287659, + -4690185.59807822, + 458650.4513278863, + 905007.7331018783, + -489710.31190971757, + 10501.40818249748, + -181723.7756999945, + 85083.35386639716, + 29747.45861905459, + 56691.42840325902, + 9261.814293733567, + 7098.848903923112, + -65160.948101812195, + 25792.660136791183, + 62094.076474708316, + -13534.19500557259, + 53853.70799987265, + -12936.613739593515, + -14620.898352137632, + 21885.814150708746, + -42318.73270252084, + 3790.6455201935564, + -47565.217211219126, + 49438.3402319783, + 23834.58969545181, + 62390.58935476644, + 16046.897219437615, + 37906.93351156348, + 40484.21864052636, + -4633.447708224845, + 6196.975353084656, + -304.9852332990929, + -4327.428618004212, + 9375.84239131088, + -49178.53798955555, + -24257.108358503756, + -7646.286600264024, + 9497.749866192567, + 49690.224866389806, + 537.5658199527007, + 49975.26797241397, + 48113.36652408683, + 7916.949210757238, + 50702.988342606295, + 44729.7330753163, + -13207.285436399361, + -4707.48893091821, + -8810.471459803697, + -46373.47437213519, + 12749.57887407492, + -31669.372487607, + -42374.512394103214, + -50346.483563969254, + -11773.541048809157, + -62838.83107359004, + 14465.299016962826, + 59174.05995093234, + -13528.829846032942, + 56631.20268357741, + 61408.85436551535, + -52979.36841044709, + -6823.048102816568, + -55078.48637194916, + -40433.568284447305, + 58887.283417277744, + 44831.197220379814, + -23334.328256181143, + -3744.0567590400915, + 59505.560356300346, + -54745.20852147339, + -30331.87240833235, + 19777.920950367934, + 8488.55060980481, + -60303.484909534505, + -25807.553975410894, + 11723.653874642516, + 59980.50480722363, + -40830.2959792732, + -4313.675268162223, + 22358.464240562404, + 40374.45625634074, + -20655.804784183114, + 9163.070665785383, + 58848.043763378766, + -13982.018013166364, + -23547.599682026485, + 21258.834015087596, + 47123.648374596065, + -46635.745072226266, + -58218.210511386875, + 41469.778273381315, + -53211.558215846024, + 13060.461192129082, + -42540.38521968725, + -16818.82459161834, + -53602.250685484476, + -60194.32787595833, + 24935.08418806633, + -50358.29411029945, + 47356.19244358625, + -30127.01217220604, + -32850.17353062431, + -50354.42363420528, + 62582.84509330022, + -37307.33630725439, + 57071.762980293664, + 18939.080082429296, + -43386.765272312914, + 5929.371397315411, + 65077.39746977338, + 24929.903173123625, + 41611.840276901385, + -45067.00327476394, + -56747.7318865818, + 5724.688151143625, + -3911.364609095808, + 115160.33897874597, + 251444.90033332084, + 239626.94320157374, + 142396.41826756304, + 1307960.4304337015, + -2705803.51729443, + 2337769.6478999504, + 190998.7841219989, + -1339494.874787107, + -2262779.2027738555, + 10222899.076008754, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + } + } + }, + "schema": "R1GlobalIonReferenceSolveV1", + "used_direct_carriers": false, + "used_direct_flux_or_rate": false, + "used_direct_phi": false, + "used_direct_sheet_charge": false, + "used_historical_residual": false, + "used_rebased_population_origin": false + }, + "legacy_binary64": { + "difference": [ + 0.0, + -687530311680.0, + 647466319872.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 187599814656.0, + -9934733312.0, + -157828120576.0, + 0.0, + 0.0, + 0.0, + -94879088640.0, + 89746702336.0, + 76055052288.0, + -72002830336.0, + 61179559936.0, + -167891697664.0, + 104213905408.0, + 0.0, + 80176480256.0, + -39970144256.0, + -34383724544.0, + -59143356416.0, + 56286380032.0, + 48611328000.0, + -46333952000.0, + -20107493376.0, + 856948736.0, + -32746504192.0, + 48087040000.0, + -14066647040.0, + 561119232.0, + 487849984.0, + 44418334720.0, + -62232330240.0, + 57690292224.0, + -27288928256.0, + -49092362240.0, + 62755176448.0, + -43510398976.0, + 68304764928.0, + -64754417664.0, + -11371544576.0, + 23738712064.0, + 32915456000.0, + -16063397888.0, + -25022038016.0, + 33926283264.0, + -51159367680.0, + 67827138560.0, + -404488192.0, + -42930274304.0, + -4050911232.0, + 41167224832.0, + -48777789440.0, + 64379289600.0, + -120023154688.0, + 87870799872.0, + 32066764800.0, + -72443625472.0, + 24262475776.0, + 24770904064.0, + 33870446592.0, + -94188863488.0, + -596508672.0, + 99504488448.0, + -55538221056.0, + -19553320960.0, + -400556032.0, + 31418613760.0, + -22022848512.0, + 23146528768.0, + -49157767168.0, + 64374308864.0, + -13069975552.0, + -147674497024.0, + 74450337792.0, + 167131086848.0, + -68929060864.0, + -96529547264.0, + -171562106880.0, + 676615028736.0, + -651079057408.0, + 45057441792.0, + 668176482304.0, + -874164387840.0, + 614063538176.0, + -717662322688.0, + 735604768768.0, + -450464186368.0, + 398593753088.0, + -1002258563072.0, + 1200903421952.0, + -392186036224.0, + 304596647936.0, + 270390919168.0, + -1185263517696.0, + 592979427328.0, + -695742889984.0, + 992528826368.0, + 447281758208.0, + -760550653952.0, + 1615575777280.0, + -2510650212352.0, + 1073400774656.0, + -2248230305792.0, + 1001722478592.0, + 4033745518592.0, + -10091900502016.0, + 16646074040320.0, + -14152497627136.0, + 6738498551808.0, + 1256286322688.0, + -5491153436672.0, + -12255982780416.0, + 19964652158976.0, + 1218193653760.0, + -3664127197184.0, + -13583823929344.0, + 30399107432448.0, + -13889118928896.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "direct": [ + 1.2070242170337484e+23, + 1.1501784140071727e+23, + 9.816282968879167e+22, + 7.379560356570421e+22, + 4.820250292833494e+22, + 2.7145117120626615e+22, + 1.3235371007334748e+22, + 5.776875564859943e+21, + 2.507782975681791e+21, + 1.3295788804163316e+21, + 9.782016553623122e+20, + 8.906208684705296e+20, + 8.717875674025468e+20, + 8.677013851417321e+20, + 8.66201864032949e+20, + 8.650309507929721e+20, + 8.63836775621365e+20, + 8.625698811138082e+20, + 8.612206227518586e+20, + 8.597836918811886e+20, + 8.582539317823675e+20, + 8.566261285125207e+20, + 8.548949734725745e+20, + 8.53055042405635e+20, + 8.511008201088126e+20, + 8.490269325066779e+20, + 8.468279136847878e+20, + 8.444985938703906e+20, + 8.420338744078149e+20, + 8.394291372499278e+20, + 8.366800440270021e+20, + 8.3378289339802e+20, + 8.307346846231665e+20, + 8.27533175656492e+20, + 8.241771656056527e+20, + 8.206666133428906e+20, + 8.170027942458577e+20, + 8.131884859620645e+20, + 8.092281831593497e+20, + 8.051282435162944e+20, + 8.00897044033373e+20, + 7.96545134049131e+20, + 7.920854164411405e+20, + 7.875331768032512e+20, + 7.829061669650695e+20, + 7.782246508110519e+20, + 7.735113619036827e+20, + 7.687914018849624e+20, + 7.640921390561783e+20, + 7.594429292993092e+20, + 7.548749465699781e+20, + 7.504207827986641e+20, + 7.461140330575292e+20, + 7.419889525429068e+20, + 7.380798570003902e+20, + 7.344206528313824e+20, + 7.310442651948289e+20, + 7.279821132235468e+20, + 7.2526345710883e+20, + 7.229149833452057e+20, + 7.209602123957404e+20, + 7.194190489208662e+20, + 7.183074402253494e+20, + 7.176370056969164e+20, + 7.174148083518399e+20, + 7.176432399243886e+20, + 7.18319929561097e+20, + 7.194378351058045e+20, + 7.209853381461462e+20, + 7.229465357149101e+20, + 7.253014946626771e+20, + 7.280267011022965e+20, + 7.310955003955667e+20, + 7.344785488791981e+20, + 7.381444660624442e+20, + 7.420602634470937e+20, + 7.461920275137495e+20, + 7.505053622954405e+20, + 7.549660158952935e+20, + 7.595403037473652e+20, + 7.64195588850777e+20, + 7.689006992543174e+20, + 7.736261421234732e+20, + 7.783445920081451e+20, + 7.830308172760462e+20, + 7.876621448871507e+20, + 7.922181855219078e+20, + 7.9668123551316e+20, + 8.010359185724452e+20, + 8.052694244959635e+20, + 8.093710881659632e+20, + 8.133325937173134e+20, + 8.171475805172873e+20, + 8.208115928559098e+20, + 8.243218288328545e+20, + 8.276770730723323e+20, + 8.308773769014118e+20, + 8.339239944135961e+20, + 8.368191348896323e+20, + 8.395659107694036e+20, + 8.421680720828743e+20, + 8.446298794448779e+20, + 8.469561165291384e+20, + 8.491517901498543e+20, + 8.512222276917457e+20, + 8.53172818994822e+20, + 8.550090536613566e+20, + 8.567363072725307e+20, + 8.583589052858178e+20, + 8.598729641554565e+20, + 8.61216890473102e+20, + 8.619843353911043e+20, + 8.600278201667408e+20, + 8.458216261362956e+20, + 7.838125352069115e+20, + 5.628168450881768e+20, + -1.065823514962317e+20, + -1.8454943755162616e+21, + -5.735834995048883e+21, + -1.3261615006357419e+22, + -2.590875015686157e+22, + -4.446920440138088e+22, + -6.83820072176008e+22, + -9.554184296967182e+22, + -1.2276235930552526e+23, + -1.4667836132676604e+23, + -1.6464131870786385e+23, + -1.752455245331264e+23, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0 + ], + "direct_maximum_absolute": 1.752455245331264e+23, + "eliminated": [ + 1.2070242170337484e+23, + 1.150178414014048e+23, + 9.81628296881442e+22, + 7.379560356570421e+22, + 4.820250292833494e+22, + 2.7145117120626615e+22, + 1.3235371007334748e+22, + 5.776875564859943e+21, + 2.507782975681791e+21, + 1.3295788804163316e+21, + 9.782016553623122e+20, + 8.906208684705296e+20, + 8.71787567214947e+20, + 8.677013851516668e+20, + 8.662018641907771e+20, + 8.650309507929721e+20, + 8.63836775621365e+20, + 8.625698811138082e+20, + 8.612206228467376e+20, + 8.597836917914419e+20, + 8.582539317063124e+20, + 8.566261285845235e+20, + 8.54894973411395e+20, + 8.530550425735268e+20, + 8.511008200045987e+20, + 8.490269325066779e+20, + 8.468279136046113e+20, + 8.444985939103608e+20, + 8.420338744421986e+20, + 8.394291373090712e+20, + 8.366800439707157e+20, + 8.337828933494087e+20, + 8.307346846695005e+20, + 8.275331756765995e+20, + 8.241771656047957e+20, + 8.206666133756371e+20, + 8.170027941977707e+20, + 8.131884859761311e+20, + 8.092281831587886e+20, + 8.051282435158066e+20, + 8.008970439889546e+20, + 7.965451341113633e+20, + 7.920854163834502e+20, + 7.875331768305401e+20, + 7.829061670141619e+20, + 7.782246507482967e+20, + 7.73511361947193e+20, + 7.687914018166576e+20, + 7.640921391209327e+20, + 7.594429293106807e+20, + 7.548749465462394e+20, + 7.504207827657486e+20, + 7.461140330735926e+20, + 7.419889525679288e+20, + 7.380798569664639e+20, + 7.344206528825418e+20, + 7.310442651270017e+20, + 7.279821132239513e+20, + 7.252634571517603e+20, + 7.229149833492566e+20, + 7.209602123545731e+20, + 7.19419048969644e+20, + 7.183074401609701e+20, + 7.176370058169395e+20, + 7.174148082639691e+20, + 7.176432398923218e+20, + 7.183199296335407e+20, + 7.19437835081542e+20, + 7.209853381213753e+20, + 7.229465356810397e+20, + 7.25301494756866e+20, + 7.28026701102893e+20, + 7.310955002960622e+20, + 7.344785489347363e+20, + 7.381444660819975e+20, + 7.420602634474943e+20, + 7.461920274823309e+20, + 7.505053623174634e+20, + 7.54966015872147e+20, + 7.59540303796523e+20, + 7.641955887864028e+20, + 7.689006992673874e+20, + 7.736261422711477e+20, + 7.783445919336948e+20, + 7.830308171089151e+20, + 7.876621449560798e+20, + 7.922181856184373e+20, + 7.966812356847221e+20, + 8.010359178958302e+20, + 8.052694251470426e+20, + 8.093710881209057e+20, + 8.133325930491369e+20, + 8.171475813914517e+20, + 8.208115922418463e+20, + 8.243218295505169e+20, + 8.276770723367276e+20, + 8.30877377351876e+20, + 8.339239940150024e+20, + 8.368191358918909e+20, + 8.395659095685001e+20, + 8.421680724750603e+20, + 8.446298791402812e+20, + 8.469561162587474e+20, + 8.491517913351178e+20, + 8.512222270987663e+20, + 8.531728196905649e+20, + 8.550090526688278e+20, + 8.567363068252489e+20, + 8.583589060463684e+20, + 8.598729625398807e+20, + 8.612168929837523e+20, + 8.619843343177035e+20, + 8.600278224149711e+20, + 8.458216251345732e+20, + 7.83812531173166e+20, + 5.628168551800773e+20, + -1.0658236814230574e+20, + -1.845494361363764e+21, + -5.735835001787382e+21, + -1.3261615007613705e+22, + -2.5908750151370416e+22, + -4.4469204389124895e+22, + -6.838200723756545e+22, + -9.554184297089001e+22, + -1.2276235930186114e+23, + -1.4667836131318222e+23, + -1.6464131873826296e+23, + -1.7524552451923728e+23, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0 + ], + "eliminated_maximum_absolute": 1.7524552451923728e+23, + "floor_active": false, + "maximum_absolute_difference": 30399107432448.0, + "normalization_floor": 1.752455245331264e+23, + "normalization_scale": 1.752455245331264e+23, + "relative_error": 1.7346581325505807e-10 + }, + "maximum_absolute_difference": 29628999663616.0, + "normalization_floor": 1.7524552453364522e+23, + "normalization_scale": 1.7524552453364522e+23, + "relative_error": 1.6907136283487547e-10, + "unit": "m-3 s-1" + }, + "potential": { + "difference": [ + 0.0, + -1.0842021724855044e-19, + -2.439454888092385e-19, + -2.981555974335137e-19, + -5.963111948670274e-19, + -1.0299920638612292e-18, + -1.5720931501039814e-18, + -1.4094628242311558e-18, + -1.4094628242311558e-18, + -2.2768245622195593e-18, + -2.0599841277224584e-18, + -2.710505431213761e-18, + -3.2526065174565133e-18, + -4.553649124439119e-18, + -2.8189256484623115e-18, + -4.119968255444917e-18, + -4.9873299934333204e-18, + -5.854691731421724e-18, + -4.336808689942018e-18, + -7.37257477290143e-18, + -6.071532165918825e-18, + -4.7704895589362195e-18, + -5.637851296924623e-18, + -3.469446951953614e-18, + -8.239936510889834e-18, + -9.540979117872439e-18, + -9.974659986866641e-18, + -9.540979117872439e-18, + -8.673617379884035e-18, + -8.673617379884035e-18, + -1.3877787807814457e-17, + -1.6479873021779667e-17, + -1.1275702593849246e-17, + -1.1275702593849246e-17, + -1.5612511283791264e-17, + -1.6479873021779667e-17, + -2.0816681711721685e-17, + -2.2551405187698492e-17, + -1.9949319973733282e-17, + -2.688821387764051e-17, + -3.2959746043559335e-17, + -2.2551405187698492e-17, + -3.469446951953614e-17, + -2.2551405187698492e-17, + -2.2551405187698492e-17, + -3.8163916471489756e-17, + -2.949029909160572e-17, + -4.5102810375396984e-17, + -2.42861286636753e-17, + -3.122502256758253e-17, + -4.683753385137379e-17, + -5.0306980803327406e-17, + -3.642919299551295e-17, + -3.9898639947466563e-17, + -4.85722573273506e-17, + -4.5102810375396984e-17, + -6.938893903907228e-17, + -5.898059818321144e-17, + -4.85722573273506e-17, + -5.204170427930421e-17, + -6.591949208711867e-17, + -4.5102810375396984e-17, + -5.898059818321144e-17, + -3.122502256758253e-17, + -8.326672684688674e-17, + -7.28583859910259e-17, + -4.85722573273506e-17, + -7.632783294297951e-17, + -8.326672684688674e-17, + -7.28583859910259e-17, + -4.5102810375396984e-17, + -7.632783294297951e-17, + -1.0061396160665481e-16, + -7.632783294297951e-17, + -7.632783294297951e-17, + -7.979727989493313e-17, + -9.020562075079397e-17, + -9.367506770274758e-17, + -1.0061396160665481e-16, + -9.367506770274758e-17, + -1.0061396160665481e-16, + -9.020562075079397e-17, + -8.673617379884035e-17, + -1.249000902703301e-16, + -1.3877787807814457e-16, + -1.1796119636642288e-16, + -9.71445146547012e-17, + -1.1796119636642288e-16, + -1.6653345369377348e-16, + -9.020562075079397e-17, + -1.249000902703301e-16, + -1.457167719820518e-16, + -6.938893903907228e-17, + -1.1796119636642288e-16, + -8.326672684688674e-17, + -1.3877787807814457e-16, + -1.1102230246251565e-16, + -1.249000902703301e-16, + -1.0408340855860843e-16, + -1.6653345369377348e-16, + -1.3877787807814457e-16, + -1.3877787807814457e-16, + -1.249000902703301e-16, + -9.020562075079397e-17, + -1.1102230246251565e-16, + -1.1102230246251565e-16, + -1.3877787807814457e-16, + -1.3183898417423734e-16, + -1.1796119636642288e-16, + -1.1796119636642288e-16, + -9.020562075079397e-17, + -1.0408340855860843e-16, + -9.71445146547012e-17, + -1.3183898417423734e-16, + -1.457167719820518e-16, + -1.1796119636642288e-16, + -2.0122792321330962e-16, + -1.1102230246251565e-16, + -1.457167719820518e-16, + -1.249000902703301e-16, + -1.0408340855860843e-16, + -1.1796119636642288e-16, + -1.8735013540549517e-16, + -1.734723475976807e-16, + -1.457167719820518e-16, + -1.3877787807814457e-16, + -1.6653345369377348e-16, + -1.0408340855860843e-16, + -1.249000902703301e-16, + -1.1796119636642288e-16, + -8.326672684688674e-17, + -7.632783294297951e-17, + -1.3877787807814457e-16, + -1.1796119636642288e-16, + -9.020562075079397e-17, + -1.1796119636642288e-16, + -1.3877787807814457e-16, + -1.457167719820518e-16, + -1.249000902703301e-16, + -1.1102230246251565e-16, + -1.3183898417423734e-16, + -1.1796119636642288e-16, + -1.1796119636642288e-16, + -1.734723475976807e-16, + -1.3877787807814457e-16, + -1.249000902703301e-16, + -8.326672684688674e-17, + -9.020562075079397e-17, + -1.249000902703301e-16, + -1.3183898417423734e-16, + -1.249000902703301e-16, + -1.3877787807814457e-16, + -1.3183898417423734e-16, + -1.1102230246251565e-16, + -1.1796119636642288e-16, + -1.1796119636642288e-16, + -9.71445146547012e-17, + -1.1102230246251565e-16, + -1.1102230246251565e-16, + -1.249000902703301e-16, + -1.3183898417423734e-16, + -1.3877787807814457e-16, + -1.3183898417423734e-16, + -8.326672684688674e-17, + -1.3183898417423734e-16, + -7.632783294297951e-17, + -7.632783294297951e-17, + -1.1102230246251565e-16, + -1.5959455978986625e-16, + -8.326672684688674e-17, + -1.1796119636642288e-16, + -1.0408340855860843e-16, + -6.245004513516506e-17, + -1.5265566588595902e-16, + -6.938893903907228e-17, + -9.020562075079397e-17, + -1.0408340855860843e-16, + -4.85722573273506e-17, + -1.1102230246251565e-16, + -9.71445146547012e-17, + -1.0408340855860843e-16, + -9.020562075079397e-17, + -7.632783294297951e-17, + -5.551115123125783e-17, + -7.632783294297951e-17, + -1.1102230246251565e-16, + -1.3877787807814457e-16, + -9.71445146547012e-17, + -6.938893903907228e-17, + -5.551115123125783e-17, + -1.5265566588595902e-16, + -5.551115123125783e-17, + -1.1102230246251565e-16, + -6.938893903907228e-17, + -9.71445146547012e-17, + -4.163336342344337e-17, + 0.0, + -1.3877787807814457e-17, + -5.551115123125783e-17, + -5.551115123125783e-17, + -1.3877787807814457e-17, + -5.551115123125783e-17, + -1.1102230246251565e-16, + -1.3877787807814457e-17, + -8.326672684688674e-17, + -6.938893903907228e-17, + -5.551115123125783e-17, + -8.326672684688674e-17, + -1.8041124150158794e-16, + 1.3877787807814457e-17, + 4.163336342344337e-17, + -5.551115123125783e-17, + -4.163336342344337e-17, + 0.0, + -1.3877787807814457e-17, + -2.7755575615628914e-17, + -1.3877787807814457e-17, + -8.326672684688674e-17, + 0.0, + -1.3877787807814457e-17, + -2.7755575615628914e-17, + 0.0, + 1.3877787807814457e-17, + -4.163336342344337e-17, + 6.938893903907228e-17, + 1.3877787807814457e-17, + 1.3877787807814457e-17, + -1.249000902703301e-16, + 0.0, + -1.3877787807814457e-16, + 0.0, + -9.71445146547012e-17, + -2.7755575615628914e-17, + -8.326672684688674e-17, + 1.3877787807814457e-17, + 2.7755575615628914e-17, + -6.938893903907228e-17, + -1.3877787807814457e-17, + -5.551115123125783e-17, + 6.938893903907228e-17, + -1.3877787807814457e-16, + 4.163336342344337e-17, + 4.163336342344337e-17, + 1.1102230246251565e-16, + 6.938893903907228e-17, + -4.163336342344337e-17, + 1.3877787807814457e-17, + -1.3877787807814457e-17, + 4.163336342344337e-17, + 5.551115123125783e-17, + 1.6653345369377348e-16, + 5.551115123125783e-17, + 4.163336342344337e-17, + -2.7755575615628914e-17, + 2.7755575615628914e-17, + 0.0 + ], + "direct": [ + 0.0, + -6.297052241862849e-05, + -0.00012973140807112722, + -0.00020049298681713726, + -0.00027547499473662396, + -0.000354906700975866, + -0.0004390269922342198, + -0.0005280844080505592, + -0.0006223371195783058, + -0.000722052843941941, + -0.0008275086856079592, + -0.0009389908955894972, + -0.0010567945387993769, + -0.0011812230594783995, + -0.0013125877343526102, + -0.001451207003030772, + -0.0015974056651752587, + -0.0017515139342070152, + -0.0019138663377819259, + -0.002084800456046992, + -0.00226465548979652, + -0.0024537706521475184, + -0.002652483379284284, + -0.00286112735822637, + -0.0030800303724858773, + -0.0033095119699242622, + -0.003549880961106415, + -0.0038014327609729374, + -0.004064446591680681, + -0.0043391825699380295, + -0.004625878707995093, + -0.004924747863512449, + -0.005235974679658046, + -0.005559712562760609, + -0.0058960807504288325, + -0.006245161527937669, + -0.006606997654563767, + -0.006981590064074955, + -0.007368895904389901, + -0.007768826980178593, + -0.008181248658561263, + -0.008605979291830872, + -0.009042790202108133, + -0.00949140626099193, + -0.009951507082692004, + -0.010422728832088893, + -0.010904666630113805, + -0.011396877518414688, + -0.011898883924297176, + -0.012410177546379571, + -0.012930223562370325, + -0.013458465044024558, + -0.013994327451800953, + -0.014537223074076842, + -0.015086555273859261, + -0.015641722410365398, + -0.01620212131391363, + -0.01676715021015372, + -0.01733621101323937, + -0.017908710936153018, + -0.018484063398697303, + -0.019061688248011396, + -0.019641011340980452, + -0.020221463570608056, + -0.020802479447383306, + -0.02138349537013144, + -0.021963947737348312, + -0.02254327105853905, + -0.023120896225083, + -0.02369624909162381, + -0.024268749502473673, + -0.02483781087406217, + -0.02540284041549882, + -0.025963240036617093, + -0.026518407958356686, + -0.027067741005996574, + -0.027610637533448803, + -0.028146500898213977, + -0.028674743383026145, + -0.02919479044262714, + -0.02970608514304268, + -0.030208092656296755, + -0.030700304675421793, + -0.031182243622285055, + -0.03165346653328672, + -0.03211356852433892, + -0.032562185755563564, + -0.03299899783669808, + -0.03342372963517545, + -0.03383615246927103, + -0.03423608468776263, + -0.034623391654588775, + -0.03499798517157109, + -0.03535982238410903, + -0.03570890422377158, + -0.03604527344794672, + -0.036369012340316774, + -0.03668024013717906, + -0.03697911024381478, + -0.03726580730259072, + -0.03754054417059357, + -0.03780355885970853, + -0.038055111486468736, + -0.0382954812730271, + -0.03852496363447347, + -0.0387438673816576, + -0.03895251206284499, + -0.039151225462055, + -0.03934034126690324, + -0.03952019691424489, + -0.039691131617930066, + -0.03985348457953691, + -0.04000759338003611, + -0.04015379254793756, + -0.04029241229753674, + -0.04042377742937995, + -0.04054820638395154, + -0.040666010438808936, + -0.04077749303891135, + -0.04088294924965345, + -0.040982665322116675, + -0.04107691836022773, + -0.041165976079845956, + -0.04125009665021975, + -0.04132952860871565, + -0.04140451084020311, + -0.04147527261298263, + -0.04154203366368121, + -0.041668076114000814, + -0.041735001583296016, + -0.04180606242973552, + -0.04188150207519352, + -0.04196157670113891, + -0.042046555711864324, + -0.042136722185849275, + -0.04223237331009561, + -0.04233382079156904, + -0.042441391239114674, + -0.04255542650838991, + -0.04267628400147752, + -0.04280433691190543, + -0.04293997440481471, + -0.04308360172098959, + -0.043235640192402267, + -0.043396527155846, + -0.043566715750147325, + -0.043746674581381595, + -0.04393688723949636, + -0.04413785164879691, + -0.04435007923391147, + -0.044574093882166065, + -0.044810430682812076, + -0.04505963442331696, + -0.045322257823010186, + -0.045598859484837446, + -0.04589000154688914, + -0.046196247016806996, + -0.046518156774211214, + -0.046856286229005985, + -0.04721118162688717, + -0.04758337599765344, + -0.04797338474707081, + -0.048381700899092495, + -0.04880879000221208, + -0.04925508472161298, + -0.04972097914752667, + -0.05020682285974511, + -0.05071291479840735, + -0.05123949700183175, + -0.051786748283043214, + -0.05235477792747195, + -0.052943619504725405, + -0.053553224896977454, + -0.054183458654933216, + -0.05483409279906662, + -0.05550480218841573, + -0.05619516058118507, + -0.056904637510336704, + -0.05763259609285573, + -0.05837829188318671, + -0.059140872869281054, + -0.05991938069373556, + -0.06071275316278517, + -0.06151982808273248, + -0.06233934843724909, + -0.06316996889052852, + -0.06401026357133238, + -0.06485873506250268, + -0.06571382449056516, + -0.06657392258171067, + -0.06743738152480593, + -0.06830252746016169, + -0.06916767339548749, + -0.07003113233849242, + -0.07089123042948836, + -0.07174631985734274, + -0.0725947913482479, + -0.07343508602873124, + -0.07426570648163688, + -0.0750852268357288, + -0.07589230175520319, + -0.07668567422373467, + -0.07746418204762888, + -0.07822676303312391, + -0.07897245882282038, + -0.07970041740467293, + -0.08040989433312996, + -0.08110025272518019, + -0.08177096211378937, + -0.08242159625716537, + -0.08305183001434999, + -0.08366143540582087, + -0.08425027698228606, + -0.08481830662592266, + -0.08536555790634134, + -0.08589214010897488, + -0.08639823204685092, + -0.08688407575829035, + -0.08734997018343425, + -0.08779626490207669, + -0.08822335400445105, + -0.08863167015574216, + -0.0890216789044451, + -0.08939387327451434, + -0.08974876867171667, + -0.09008689812585195, + -0.09040880788261647, + -0.09071505335191517, + -0.09100619541336814, + -0.09128279707461792, + -0.09154542047375451, + -0.09179462421372403, + -0.09203096101385548, + -0.09225497566161646, + -0.09246720324625775, + -0.09266816765510531, + -0.09285838031278701, + -0.09303833914360746, + -0.09320852773751394, + -0.09336941470058101, + -0.09352145317163513, + -0.09366508048746834, + -0.09380071798005284, + -0.09392877089017193, + -0.09404962838296636, + -0.0941636636519634, + -0.09427123409924491, + -0.09437268158046802, + -0.09446833270447706, + -0.09455849917823737, + -0.09464347818875002, + -0.09472355281449424, + -0.09479899245976192, + -0.09487005330602159, + -0.09493697877514669, + -0.09499999999999964 + ], + "direct_maximum_absolute": 0.09499999999999964, + "eliminated": [ + 0.0, + -6.297052241862838e-05, + -0.00012973140807112697, + -0.00020049298681713696, + -0.00027547499473662337, + -0.00035490670097586497, + -0.0004390269922342182, + -0.0005280844080505578, + -0.0006223371195783044, + -0.0007220528439419387, + -0.0008275086856079571, + -0.0009389908955894945, + -0.0010567945387993736, + -0.001181223059478395, + -0.0013125877343526074, + -0.0014512070030307678, + -0.0015974056651752537, + -0.0017515139342070094, + -0.0019138663377819215, + -0.002084800456046985, + -0.002264655489796514, + -0.0024537706521475136, + -0.002652483379284278, + -0.0028611273582263667, + -0.003080030372485869, + -0.0033095119699242527, + -0.003549880961106405, + -0.003801432760972928, + -0.0040644465916806725, + -0.004339182569938021, + -0.004625878707995079, + -0.004924747863512433, + -0.005235974679658035, + -0.005559712562760597, + -0.005896080750428817, + -0.006245161527937653, + -0.006606997654563746, + -0.006981590064074932, + -0.007368895904389881, + -0.007768826980178566, + -0.00818124865856123, + -0.008605979291830849, + -0.009042790202108098, + -0.009491406260991908, + -0.009951507082691982, + -0.010422728832088855, + -0.010904666630113776, + -0.011396877518414643, + -0.011898883924297152, + -0.01241017754637954, + -0.012930223562370278, + -0.013458465044024507, + -0.013994327451800917, + -0.014537223074076802, + -0.015086555273859213, + -0.015641722410365353, + -0.01620212131391356, + -0.01676715021015366, + -0.01733621101323932, + -0.017908710936152965, + -0.018484063398697237, + -0.01906168824801135, + -0.019641011340980393, + -0.020221463570608025, + -0.020802479447383223, + -0.021383495370131365, + -0.021963947737348263, + -0.022543271058538972, + -0.023120896225082916, + -0.023696249091623735, + -0.024268749502473628, + -0.024837810874062095, + -0.025402840415498718, + -0.025963240036617017, + -0.02651840795835661, + -0.027067741005996494, + -0.027610637533448713, + -0.028146500898213883, + -0.028674743383026044, + -0.029194790442627048, + -0.029706085143042578, + -0.030208092656296665, + -0.030700304675421706, + -0.03118224362228493, + -0.03165346653328658, + -0.032113568524338804, + -0.032562185755563466, + -0.03299899783669796, + -0.03342372963517529, + -0.03383615246927094, + -0.03423608468776251, + -0.03462339165458863, + -0.034997985171571024, + -0.03535982238410891, + -0.035708904223771494, + -0.03604527344794658, + -0.03636901234031666, + -0.03668024013717894, + -0.03697911024381468, + -0.037265807302590555, + -0.03754054417059343, + -0.03780355885970839, + -0.03805511148646861, + -0.03829548127302701, + -0.03852496363447336, + -0.03874386738165749, + -0.03895251206284485, + -0.03915122546205487, + -0.039340341266903125, + -0.03952019691424477, + -0.039691131617929976, + -0.03985348457953681, + -0.04000759338003601, + -0.040153792547937425, + -0.04029241229753659, + -0.04042377742937983, + -0.04054820638395134, + -0.040666010438808825, + -0.040777493038911206, + -0.04088294924965333, + -0.04098266532211657, + -0.04107691836022761, + -0.04116597607984577, + -0.04125009665021958, + -0.041329528608715506, + -0.04140451084020297, + -0.041475272612982464, + -0.04154203366368111, + -0.04166807611400069, + -0.0417350015832959, + -0.04180606242973544, + -0.04188150207519344, + -0.04196157670113877, + -0.042046555711864206, + -0.042136722185849185, + -0.042232373310095495, + -0.0423338207915689, + -0.04244139123911453, + -0.04255542650838978, + -0.04267628400147741, + -0.0428043369119053, + -0.04293997440481459, + -0.04308360172098947, + -0.04323564019240209, + -0.04339652715584586, + -0.0435667157501472, + -0.04374667458138151, + -0.04393688723949627, + -0.044137851648796786, + -0.044350079233911335, + -0.04457409388216594, + -0.04481043068281194, + -0.04505963442331683, + -0.045322257823010074, + -0.04559885948483733, + -0.04589000154688902, + -0.0461962470168069, + -0.0465181567742111, + -0.046856286229005874, + -0.04721118162688705, + -0.04758337599765331, + -0.04797338474707067, + -0.04838170089909236, + -0.048808790002212, + -0.04925508472161285, + -0.049720979147526594, + -0.05020682285974503, + -0.05071291479840724, + -0.05123949700183159, + -0.05178674828304313, + -0.052354777927471834, + -0.0529436195047253, + -0.05355322489697739, + -0.05418345865493306, + -0.05483409279906655, + -0.05550480218841564, + -0.05619516058118497, + -0.056904637510336656, + -0.05763259609285562, + -0.05837829188318661, + -0.05914087286928095, + -0.05991938069373547, + -0.06071275316278509, + -0.061519828082732424, + -0.06233934843724901, + -0.06316996889052841, + -0.06401026357133224, + -0.06485873506250259, + -0.06571382449056509, + -0.06657392258171062, + -0.06743738152480577, + -0.06830252746016163, + -0.06916767339548738, + -0.07003113233849236, + -0.07089123042948826, + -0.0717463198573427, + -0.0725947913482479, + -0.07343508602873122, + -0.07426570648163683, + -0.07508522683572874, + -0.07589230175520317, + -0.07668567422373461, + -0.07746418204762877, + -0.0782267630331239, + -0.0789724588228203, + -0.07970041740467286, + -0.08040989433312991, + -0.08110025272518011, + -0.08177096211378919, + -0.08242159625716539, + -0.08305183001435003, + -0.08366143540582081, + -0.08425027698228602, + -0.08481830662592266, + -0.08536555790634133, + -0.08589214010897485, + -0.0863982320468509, + -0.08688407575829027, + -0.08734997018343425, + -0.08779626490207668, + -0.08822335400445103, + -0.08863167015574216, + -0.08902167890444511, + -0.0893938732745143, + -0.08974876867171674, + -0.09008689812585197, + -0.09040880788261649, + -0.09071505335191504, + -0.09100619541336814, + -0.09128279707461778, + -0.09154542047375451, + -0.09179462421372393, + -0.09203096101385545, + -0.09225497566161638, + -0.09246720324625776, + -0.09266816765510534, + -0.09285838031278694, + -0.09303833914360744, + -0.09320852773751388, + -0.09336941470058108, + -0.09352145317163499, + -0.09366508048746838, + -0.09380071798005288, + -0.09392877089017204, + -0.09404962838296643, + -0.09416366365196335, + -0.09427123409924493, + -0.094372681580468, + -0.0944683327044771, + -0.09455849917823743, + -0.09464347818875019, + -0.0947235528144943, + -0.09479899245976196, + -0.09487005330602157, + -0.09493697877514672, + -0.09499999999999964 + ], + "eliminated_maximum_absolute": 0.09499999999999964, + "floor_active": false, + "maximum_absolute_difference": 2.0122792321330962e-16, + "normalization_floor": 0.025851999786435535, + "normalization_scale": 0.09499999999999964, + "relative_error": 2.1181886654032673e-15, + "unit": "V" + }, + "sheet_charge": { + "difference": [ + 0.0 + ], + "direct": [ + -2.1900398894697513e-13 + ], + "direct_maximum_absolute": 2.1900398894697513e-13, + "eliminated": [ + -2.1900398894697513e-13 + ], + "eliminated_maximum_absolute": 2.1900398894697513e-13, + "floor_active": true, + "maximum_absolute_difference": 0.0, + "normalization_floor": 8.01088317e-05, + "normalization_scale": 8.01088317e-05, + "relative_error": 0.0, + "unit": "C m-2" + }, + "trace_potential": { + "difference": [ + [ + -1.3877787807814457e-17, + -1.3877787807814457e-17 + ] + ], + "direct": [ + [ + -1.4598738884430418e-13, + -1.4598738884430418e-13 + ] + ], + "direct_maximum_absolute": 1.4598738884430418e-13, + "eliminated": [ + [ + -1.4597351105649636e-13, + -1.4597351105649636e-13 + ] + ], + "eliminated_maximum_absolute": 1.4597351105649636e-13, + "floor_active": true, + "maximum_absolute_difference": 1.3877787807814457e-17, + "normalization_floor": 0.025851999786435535, + "normalization_scale": 0.025851999786435535, + "relative_error": 5.368168003426988e-16, + "unit": "V" + } + }, + "hole_qf_increment_V": [ + 0.0, + 1.4118322020961102e-06, + 2.907287945778109e-06, + 4.490837034285545e-06, + 6.167127349694216e-06, + 7.940984064331771e-06, + 9.81740760144655e-06, + 1.1801570178965877e-05, + 1.3898810759634587e-05, + 1.6114628221122247e-05, + 1.8454672551231324e-05, + 2.092473386655693e-05, + 2.353072904836653e-05, + 2.6278685787621723e-05, + 2.917472383258976e-05, + 3.222503323804007e-05, + 3.54358494244151e-05, + 3.881342487821258e-05, + 4.236399732188208e-05, + 4.6093754260107755e-05, + 5.000879378356093e-05, + 5.4115081605435225e-05, + 5.8418404334232784e-05, + 6.292431905516489e-05, + 6.763809936218727e-05, + 7.256467806171076e-05, + 7.770858685585401e-05, + 8.307389340583444e-05, + 8.866413628211571e-05, + 9.448225838535494e-05, + 0.00010053053957519312, + 0.00010681052928313925, + 0.00011332298003178483, + 0.00012006778284522488, + 0.00012704390561765912, + 0.0001342493355648378, + 0.0001416810269214215, + 0.00014933485506207214, + 0.00015720557821222996, + 0.00016528680787381586, + 0.00017357098901930933, + 0.00018204939101343877, + 0.00019071211006603484, + 0.00019954808391116905, + 0.00020854511916247354, + 0.00021768993164958123, + 0.00022696819977470318, + 0.00023636463076041908, + 0.00024586303936937324, + 0.0002554464385023966, + 0.0002650971408416998, + 0.0002747968705116377, + 0.00028452688354503976, + 0.0002942680957800378, + 0.00030400121667175994, + 0.0003137068873863404, + 0.00032336582145193327, + 0.00033295894617313697, + 0.00034246754297168736, + 0.00035187338479812126, + 0.00036115886876745667, + 0.0003703071422084226, + 0.00037930222038253035, + 0.0003881290942285563, + 0.00039677382662098754, + 0.00040522363580782926, + 0.0004134669648740391, + 0.00042149353636662565, + 0.0004292943914259294, + 0.0004368619131126986, + 0.00044418983390765495, + 0.00045127322768602235, + 0.00045810848678278805, + 0.000464693285061509, + 0.0004710265281767013, + 0.0004771082924268763, + 0.0004829397538299829, + 0.000488523109121839, + 0.0004938614905094554, + 0.0004989588759860805, + 0.0005038199970178614, + 0.0005084502452883284, + 0.0005128555800963444, + 0.0005170424378040946, + 0.0005210176445773878, + 0.0005247883334405545, + 0.0005283618664671635, + 0.0005317457627218819, + 0.0005349476323730595, + 0.000537975117214739, + 0.000540835837674865, + 0.0005435373462452239, + 0.0005460870871582554, + 0.0005484923620164865, + 0.0005507603010576744, + 0.0005528978396247371, + 0.0005549116994259279, + 0.0005568083741285945, + 0.0005585941188333097, + 0.0005602749429817159, + 0.000561856606267584, + 0.0005633446171432813, + 0.0005647442335411235, + 0.0005660604654592962, + 0.0005672980790937378, + 0.0005684616022294741, + 0.0005695553306364674, + 0.0005705833352454159, + 0.0005715494699076366, + 0.0005724573795698571, + 0.0005733105087192332, + 0.0005741121099761236, + 0.0005748652527320843, + 0.0005755728317482621, + 0.000576237575644953, + 0.000576862055226719, + 0.0005774486915992362, + 0.0005779997640441877, + 0.0005785174176271334, + 0.0005790036705205929, + 0.0005794604210306842, + 0.0005798894543207429, + 0.0005802924488295122, + 0.0005806709823848959, + 0.0005810265380169832, + 0.0005813605094762124, + 0.0005816742064642053, + 0.0005819688595860666, + 0.0006745529609822567, + 0.0006884948486278385, + 0.0007032505684529973, + 0.0007188620453990949, + 0.000735372656448914, + 0.0007528271866388945, + 0.0007712717691712932, + 0.0007907538077579932, + 0.0008113218792208943, + 0.0008330256143279111, + 0.0008559155547430851, + 0.0008800429840013537, + 0.0009054597303404063, + 0.0009322179393477644, + 0.0009603698144204215, + 0.0009899673232066045, + 0.0010210618684308892, + 0.0010537039217708125, + 0.001087942619867596, + 0.0011238253220133376, + 0.0011613971296446357, + 0.0012007003684621905, + 0.0012417740347997015, + 0.0012846532087833638, + 0.0013293684378529282, + 0.001375945095348989, + 0.0014244027200962356, + 0.0014747543442094752, + 0.001527005817691885, + 0.0015811551397487853, + 0.0016371918080720926, + 0.0016950961985715766, + 0.0017548389891892243, + 0.0018163806422829022, + 0.0018796709607714962, + 0.001944648733501537, + 0.0020112414852716362, + 0.0020793653463484596, + 0.0021489250553073, + 0.0022198141074067862, + 0.002291915058548341, + 0.002365099992140885, + 0.0024392311529294395, + 0.0025141617481117704, + 0.002589736911950468, + 0.002665794825708926, + 0.0027421679802456383, + 0.002818684564161146, + 0.002895169956189835, + 0.0029714482967541384, + 0.0030473441104363268, + 0.003122683948741905, + 0.0031972980210684503, + 0.0032710217813668716, + 0.0033436974386051228, + 0.0034151753609280118, + 0.003485315346113783, + 0.0035539877346783297, + 0.0036210743464314197, + 0.0036864692263605748, + 0.0037500791911459575, + 0.003811824173167151, + 0.003871637364313152, + 0.003929465167028282, + 0.0039852669646237475, + 0.004039014726798746, + 0.004090692469432141, + 0.0041402955899594905, + 0.0041878301010217075, + 0.004233311785586415, + 0.004276765296474636, + 0.004318223222229739, + 0.00435772513976665, + 0.0043953166721799625, + 0.004431048567836161, + 0.004464975814330797, + 0.004497156798387952, + 0.0045276525201932444, + 0.004556525868309584, + 0.004583840959065575, + 0.004609662542389123, + 0.004634055474285501, + 0.0046570842547733774, + 0.0046788126289143755, + 0.004699303247655949, + 0.004718617384600132, + 0.004736814704308206, + 0.004753953077556796, + 0.004770088438818375, + 0.004785274681331805, + 0.004799563585211487, + 0.004813004774284354, + 0.004825645697639717, + 0.00483753163212851, + 0.0048487057024240235, + 0.004859208915564069, + 0.00486908020723923, + 0.00487835649738561, + 0.004887072752993357, + 0.004895262056262801, + 0.004902955676550012, + 0.00491018314475524, + 0.004916972329027389, + 0.004923349510846155, + 0.004929339460710363, + 0.004934965512806199, + 0.004940249638162802, + 0.0049452125158867466, + 0.004949873602209774, + 0.004954251197100728, + 0.00495836250830861, + 0.004962223712732987, + 0.0049658500150777714, + 0.00496925570375567, + 0.004972454204090394, + 0.004975458128825346, + 0.004978279326015908, + 0.004980928924371875, + 0.004983417376134291, + 0.004985754497577632, + 0.0049879495072333736, + 0.004990011061933937, + 0.004991947290777423, + 0.004993765827113494, + 0.0049954738386497706, + 0.004997078055776203, + 0.004998584798201507, + 0.004999999999999893 + ], + "independent_physics": { + "arrays": { + "charge_balance_absolute_A_m2": 1.2842392600192031e-18, + "charge_balance_scale_A_m2": 1.0, + "charge_rate_A_m2": 7.328433618902307e-09, + "contact_conduction_A_m2": [ + -1.1271207499775196e-05, + -1.1278535933395383e-05 + ], + "contact_displacement_A_m2": [ + -7.682692722844046e-06, + -7.675364289225145e-06 + ], + "contact_total_A_m2": [ + -1.895390022261924e-05, + -1.8953900222620528e-05 + ], + "electron_current_A_m2": [ + -6.445044354724255e-06, + -6.445044354951037e-06, + -6.445044355452139e-06, + -6.445044356283013e-06, + -6.445044357508299e-06, + -6.445044359203201e-06, + -6.445044361455199e-06, + -6.445044364365867e-06, + -6.445044368053087e-06, + -6.44504437265352e-06, + -6.445044378325512e-06, + -6.445044385252301e-06, + -6.44504439364588e-06, + -6.445044403751139e-06, + -6.445044415850912e-06, + -6.445044430271468e-06, + -6.445044447388941e-06, + -6.445044467636424e-06, + -6.445044491512236e-06, + -6.4450445195890466e-06, + -6.445044552524403e-06, + -6.445044591072146e-06, + -6.445044636095671e-06, + -6.445044688582278e-06, + -6.445044749659364e-06, + -6.445044820612222e-06, + -6.445044902903415e-06, + -6.445044998194379e-06, + -6.44504510836818e-06, + -6.445045235554702e-06, + -6.445045382157108e-06, + -6.445045550879815e-06, + -6.445045744757981e-06, + -6.445045967187746e-06, + -6.44504622195691e-06, + -6.445046513275759e-06, + -6.445046845806756e-06, + -6.445047224692894e-06, + -6.445047655583135e-06, + -6.445048144654191e-06, + -6.445048698627094e-06, + -6.445049324777285e-06, + -6.445050030936559e-06, + -6.445050825485445e-06, + -6.445051717334297e-06, + -6.445052715891592e-06, + -6.445053831017881e-06, + -6.445055072964353e-06, + -6.445056452294819e-06, + -6.445057979790697e-06, + -6.445059666338545e-06, + -6.4450615228010445e-06, + -6.4450635598717985e-06, + -6.445065787915971e-06, + -6.445068216799214e-06, + -6.445070855707271e-06, + -6.445073712960621e-06, + -6.445076795827912e-06, + -6.4450801103429e-06, + -6.4450836611300825e-06, + -6.445087451244054e-06, + -6.4450914820273945e-06, + -6.445095752992466e-06, + -6.445100261731283e-06, + -6.445105003856657e-06, + -6.445109972978426e-06, + -6.445115160715624e-06, + -6.445120556746331e-06, + -6.445126148893717e-06, + -6.445131923247678e-06, + -6.445137864318512e-06, + -6.445143955219499e-06, + -6.44515017787345e-06, + -6.445156513237862e-06, + -6.4451629415432385e-06, + -6.445169442538611e-06, + -6.445175995737288e-06, + -6.445182580659086e-06, + -6.445189177061805e-06, + -6.445195765158216e-06, + -6.4452023258145785e-06, + -6.445208840727582e-06, + -6.445215292576675e-06, + -6.445221665151819e-06, + -6.4452279434547025e-06, + -6.44523411377434e-06, + -6.445240163737841e-06, + -6.445246082337457e-06, + -6.445251859935914e-06, + -6.445257488252805e-06, + -6.445262960333002e-06, + -6.445268270501123e-06, + -6.4452734143040775e-06, + -6.4452783884431675e-06, + -6.4452831906997764e-06, + -6.445287819855811e-06, + -6.445292275610888e-06, + -6.445296558498054e-06, + -6.445300669799685e-06, + -6.445304611465424e-06, + -6.445308386031836e-06, + -6.445311996545341e-06, + -6.445315446489973e-06, + -6.445318739718911e-06, + -6.445321880390115e-06, + -6.44532487290891e-06, + -6.445327721872782e-06, + -6.4453304320236096e-06, + -6.445333008203191e-06, + -6.445335455313778e-06, + -6.44533777828381e-06, + -6.445339982035885e-06, + -6.44534207146233e-06, + -6.445344051398634e-06, + -6.445345926607228e-06, + -6.445347701758208e-06, + -6.4453493814175375e-06, + -6.445350970032276e-06, + -6.445352471927015e-06, + -6.445353891290924e-06, + -6.445355232174933e-06, + -6.4453564984902505e-06, + -6.4453576940033096e-06, + -6.4453588223332686e-06, + -6.445359886957626e-06, + -6.44536089120664e-06, + -6.445361838267171e-06, + -6.445363164238804e-06, + -6.452693131729676e-06, + -6.452693805448989e-06, + -6.452694519590928e-06, + -6.452695276439659e-06, + -6.452696078296068e-06, + -6.452696927577749e-06, + -6.452697826771873e-06, + -6.452698778558534e-06, + -6.452699785576496e-06, + -6.452700850682522e-06, + -6.452701976716407e-06, + -6.452703166686752e-06, + -6.452704423627591e-06, + -6.45270575066024e-06, + -6.452707150969477e-06, + -6.452708627785442e-06, + -6.452710184370437e-06, + -6.452711824053053e-06, + -6.452713550089686e-06, + -6.452715365783788e-06, + -6.452717274387693e-06, + -6.452719279067262e-06, + -6.452721382930373e-06, + -6.4527235889276845e-06, + -6.452725899875551e-06, + -6.452728318378537e-06, + -6.452730846802245e-06, + -6.452733487225657e-06, + -6.452736241389111e-06, + -6.4527391106560455e-06, + -6.4527420959380415e-06, + -6.452745197650486e-06, + -6.452748415651789e-06, + -6.452751749180683e-06, + -6.452755196801212e-06, + -6.452758756345e-06, + -6.452762424845704e-06, + -6.452766198496138e-06, + -6.452770072591773e-06, + -6.452774041495559e-06, + -6.452778098600363e-06, + -6.452782236315201e-06, + -6.45278644604414e-06, + -6.452790718195061e-06, + -6.452795042202179e-06, + -6.452799406562201e-06, + -6.4528037988897606e-06, + -6.4528082060000286e-06, + -6.45281261400225e-06, + -6.452817008419818e-06, + -6.452821374327577e-06, + -6.452825696516128e-06, + -6.452829959659838e-06, + -6.452834148511913e-06, + -6.452838248092908e-06, + -6.452842243908908e-06, + -6.452846122147196e-06, + -6.452849869885389e-06, + -6.452853475272704e-06, + -6.452856927717733e-06, + -6.452860218034829e-06, + -6.452863338574805e-06, + -6.4528662833223946e-06, + -6.452869047965674e-06, + -6.452871629916322e-06, + -6.452874028311125e-06, + -6.45287624396173e-06, + -6.452878279283136e-06, + -6.4528801381790876e-06, + -6.452881825913984e-06, + -6.452883348947208e-06, + -6.452884714767426e-06, + -6.452885931707501e-06, + -6.452887008750086e-06, + -6.452887955349112e-06, + -6.4528887812439094e-06, + -6.452889496291835e-06, + -6.45289011030973e-06, + -6.4528906329398605e-06, + -6.4528910735278944e-06, + -6.452891441026772e-06, + -6.452891743912023e-06, + -6.45289199013148e-06, + -6.452892187054681e-06, + -6.452892341459324e-06, + -6.4528924595121715e-06, + -6.452892546782088e-06, + -6.45289260824956e-06, + -6.452892648329903e-06, + -6.452892670911212e-06, + -6.452892679377259e-06, + -6.4528926766587864e-06, + -6.452892665259495e-06, + -6.4528926473098055e-06, + -6.4528926245976444e-06, + -6.452892598609353e-06, + -6.452892570567106e-06, + -6.452892541460644e-06, + -6.452892512080905e-06, + -6.452892483052036e-06, + -6.452892454843909e-06, + -6.452892427812771e-06, + -6.452892402212432e-06, + -6.452892378209447e-06, + -6.4528923559051606e-06, + -6.452892335348022e-06, + -6.452892316536403e-06, + -6.452892299447585e-06, + -6.452892284022074e-06, + -6.452892270187999e-06, + -6.452892257858071e-06, + -6.4528922469369155e-06, + -6.452892237331448e-06, + -6.452892228932927e-06, + -6.4528922216495e-06, + -6.452892215375239e-06, + -6.45289221002274e-06, + -6.452892205494066e-06, + -6.452892201716556e-06, + -6.452892198596746e-06, + -6.452892196069158e-06, + -6.452892194065041e-06, + -6.452892192523639e-06, + -6.452892191377359e-06, + -6.452892190592213e-06, + -6.452892190104844e-06, + -6.452892189880121e-06 + ], + "hole_current_A_m2": [ + -4.82616314505094e-06, + -4.826163144824121e-06, + -4.8261631443229616e-06, + -4.8261631434920095e-06, + -4.82616314226664e-06, + -4.826163140571637e-06, + -4.82616313831956e-06, + -4.826163135408822e-06, + -4.826163131721545e-06, + -4.826163127121068e-06, + -4.826163121449063e-06, + -4.8261631145222825e-06, + -4.826163106128758e-06, + -4.826163096023592e-06, + -4.82616308392397e-06, + -4.826163069503586e-06, + -4.826163052386409e-06, + -4.826163032139268e-06, + -4.826163008263917e-06, + -4.826162980187653e-06, + -4.82616294725301e-06, + -4.826162908706101e-06, + -4.826162863683634e-06, + -4.826162811198244e-06, + -4.826162750122635e-06, + -4.8261626791715406e-06, + -4.826162596882417e-06, + -4.826162501593904e-06, + -4.826162391422966e-06, + -4.826162264239792e-06, + -4.8261621176412905e-06, + -4.826161948923111e-06, + -4.826161755050204e-06, + -4.82616153262652e-06, + -4.826161277864377e-06, + -4.8261609865535955e-06, + -4.8261606540319275e-06, + -4.826160275156403e-06, + -4.826159844278372e-06, + -4.826159355221238e-06, + -4.82615880126422e-06, + -4.826158175132089e-06, + -4.826157468993344e-06, + -4.826156674467746e-06, + -4.8261557826451794e-06, + -4.82615478411759e-06, + -4.826153669024791e-06, + -4.826152427115925e-06, + -4.826151047827653e-06, + -4.826149520378994e-06, + -4.8261478338838895e-06, + -4.826145977480032e-06, + -4.826143940474559e-06, + -4.826141712502628e-06, + -4.826139283699197e-06, + -4.8261366448792174e-06, + -4.826133787722577e-06, + -4.826130704961301e-06, + -4.826127390562169e-06, + -4.826123839901195e-06, + -4.826120049924339e-06, + -4.826116019289488e-06, + -4.826111748484645e-06, + -4.826107239918272e-06, + -4.826102497977927e-06, + -4.826097529053902e-06, + -4.826092341527427e-06, + -4.826086945720598e-06, + -4.826081353810152e-06, + -4.826075579706246e-06, + -4.8260696388984635e-06, + -4.826063548273105e-06, + -4.826057325907209e-06, + -4.826050990842737e-06, + -4.826044562848595e-06, + -4.826038062175402e-06, + -4.826031509308942e-06, + -4.826024924728728e-06, + -4.826018328675891e-06, + -4.826011740937187e-06, + -4.826005180644962e-06, + -4.825998666101994e-06, + -4.825992214627509e-06, + -4.825985842430441e-06, + -4.82597956450815e-06, + -4.825973394570779e-06, + -4.825967344989873e-06, + -4.825961426772556e-06, + -4.825955649554741e-06, + -4.825950021615943e-06, + -4.825944549910464e-06, + -4.825939240112826e-06, + -4.825934096675391e-06, + -4.825929122896028e-06, + -4.8259243209928284e-06, + -4.8259196921827725e-06, + -4.825915236766671e-06, + -4.82591095421012e-06, + -4.8259068432306346e-06, + -4.8259029018776795e-06, + -4.825899127615866e-06, + -4.825895517397131e-06, + -4.8258920677375065e-06, + -4.825888774785056e-06, + -4.825885634379194e-06, + -4.825882642116181e-06, + -4.8258797933996646e-06, + -4.82587708348639e-06, + -4.8258745075333764e-06, + -4.825872060640641e-06, + -4.825869737880202e-06, + -4.825867534327627e-06, + -4.825865445092602e-06, + -4.825863465337476e-06, + -4.8258615903040345e-06, + -4.825859815317455e-06, + -4.825858135816831e-06, + -4.825856547351941e-06, + -4.825855045601751e-06, + -4.825853626371828e-06, + -4.825852285616029e-06, + -4.825851019423478e-06, + -4.825849824028693e-06, + -4.825848695806265e-06, + -4.825847631283855e-06, + -4.825846627137736e-06, + -4.825845680165642e-06, + -4.8258443543671365e-06, + -4.8258427693551e-06, + -4.825842095789768e-06, + -4.825841381778551e-06, + -4.825840625094459e-06, + -4.8258398234146605e-06, + -4.825838974319303e-06, + -4.825838075291916e-06, + -4.825837123720101e-06, + -4.825836116896833e-06, + -4.8258350520230276e-06, + -4.825833926211076e-06, + -4.825832736489195e-06, + -4.82583147980767e-06, + -4.825830153046021e-06, + -4.825828753022274e-06, + -4.825827276503644e-06, + -4.825825720219734e-06, + -4.8258240808773395e-06, + -4.825822355177983e-06, + -4.825820539838161e-06, + -4.825818631611985e-06, + -4.825816627317089e-06, + -4.825814523863244e-06, + -4.825812318284792e-06, + -4.825810007775883e-06, + -4.8258075897292335e-06, + -4.82580506177864e-06, + -4.82580242184453e-06, + -4.825799668182556e-06, + -4.825796799436012e-06, + -4.825793814690011e-06, + -4.825790713528553e-06, + -4.825787496093119e-06, + -4.825784163142152e-06, + -4.825780716110859e-06, + -4.825777157169898e-06, + -4.82577348928199e-06, + -4.825769716255208e-06, + -4.825765842790682e-06, + -4.8257618745245125e-06, + -4.825757818060141e-06, + -4.825753680990908e-06, + -4.825749471910191e-06, + -4.825745200407051e-06, + -4.825740877045975e-06, + -4.825736513328894e-06, + -4.825732121637782e-06, + -4.825727715157301e-06, + -4.825723307776922e-06, + -4.825718913971382e-06, + -4.825714548662095e-06, + -4.825710227058838e-06, + -4.825705964484814e-06, + -4.8257017761883665e-06, + -4.825697677143707e-06, + -4.825693681846222e-06, + -4.825689804106257e-06, + -4.825686056848427e-06, + -4.825682451919194e-06, + -4.825678999911828e-06, + -4.825675710011768e-06, + -4.825672589867747e-06, + -4.825669645493814e-06, + -4.8256668812045905e-06, + -4.825664299586547e-06, + -4.8256619015047545e-06, + -4.825659686146662e-06, + -4.825657651099561e-06, + -4.825655792458662e-06, + -4.825654104962367e-06, + -4.8256525821499676e-06, + -4.825651216533581e-06, + -4.82564999978382e-06, + -4.825648922915654e-06, + -4.825647976477508e-06, + -4.825647150730568e-06, + -4.825646435819222e-06, + -4.8256458219256834e-06, + -4.825645299409721e-06, + -4.82564485892545e-06, + -4.825644491522387e-06, + -4.825644188723187e-06, + -4.825643942582992e-06, + -4.825643745730312e-06, + -4.825643591390971e-06, + -4.825643473396437e-06, + -4.825643386179402e-06, + -4.825643324760749e-06, + -4.825643284722093e-06, + -4.825643262180715e-06, + -4.825643253748371e-06, + -4.82564325649886e-06, + -4.8256432679255465e-06, + -4.825643285900321e-06, + -4.825643308634902e-06, + -4.825643334643017e-06, + -4.825643362702881e-06, + -4.825643391825311e-06, + -4.825643421218436e-06, + -4.825643450260834e-06, + -4.8256434784798615e-06, + -4.8256435055187185e-06, + -4.825643531128501e-06, + -4.825643555139922e-06, + -4.825643577449045e-06, + -4.825643598013955e-06, + -4.8256436168281245e-06, + -4.825643633923917e-06, + -4.8256436493516104e-06, + -4.825643663190757e-06, + -4.825643675522951e-06, + -4.825643686444399e-06, + -4.825643696053992e-06, + -4.825643704452067e-06, + -4.825643711738494e-06, + -4.825643718013825e-06, + -4.8256437233679015e-06, + -4.825643727897477e-06, + -4.825643731677406e-06, + -4.8256437347958176e-06, + -4.825643737320196e-06, + -4.8256437393276725e-06, + -4.825643740871644e-06, + -4.825643742013125e-06, + -4.8256437428051816e-06, + -4.8256437432881724e-06, + -4.825643743515261e-06 + ], + "initial_positive_inventory_m2": [ + 999999999999999.8 + ], + "interface_conduction_A_m2": [ + [ + -1.127120751860594e-05, + -1.1278535900881701e-05 + ] + ], + "interface_displacement_A_m2": [ + [ + -7.682692704054733e-06, + -7.675364321734134e-06 + ] + ], + "interface_total_A_m2": [ + [ + -1.895390022266067e-05, + -1.8953900222615835e-05 + ] + ], + "internal_conduction_A_m2": [ + -1.2412463508938632e-05, + -1.4654851204208258e-05, + -1.6687036670244733e-05, + -1.8309032842312044e-05, + -1.943368984722069e-05, + -2.0105887621908166e-05, + -2.0453676202595056e-05, + -2.061472597227515e-05, + -2.0688883245933432e-05, + -2.0730577662514583e-05, + -2.076310058814045e-05, + -2.07944870784904e-05, + -2.082704329836301e-05, + -2.086137101117464e-05, + -2.089766340203481e-05, + -2.0936035272850766e-05, + -2.0976591057328668e-05, + -2.1019436206766837e-05, + -2.106467860428932e-05, + -2.1112428499475347e-05, + -2.116279820840484e-05, + -2.121590174784008e-05, + -2.127185440615129e-05, + -2.1330772246851773e-05, + -2.1392771543129063e-05, + -2.1457968155631587e-05, + -2.1526476817810764e-05, + -2.159841037314219e-05, + -2.1673878917012156e-05, + -2.1752988896364336e-05, + -2.1835842118183302e-05, + -2.1922534721137995e-05, + -2.2013156092504415e-05, + -2.2107787737393988e-05, + -2.2206502136721374e-05, + -2.2309361592409887e-05, + -2.2416417081140777e-05, + -2.2527707140507e-05, + -2.2643256814809388e-05, + -2.2763076676650915e-05, + -2.288716195140112e-05, + -2.301549177121704e-05, + -2.3148028590957844e-05, + -2.3284717768298908e-05, + -2.3425487339935175e-05, + -2.3570248009316608e-05, + -2.3718893347506402e-05, + -2.3871300207252045e-05, + -2.4027329356032375e-05, + -2.418682629202047e-05, + -2.4349622256628792e-05, + -2.451553538189287e-05, + -2.4684371946258128e-05, + -2.4855927728353766e-05, + -2.5029989370393006e-05, + -2.520633574568493e-05, + -2.5384739272136515e-05, + -2.55649671491863e-05, + -2.5746782455662417e-05, + -2.5929945140586548e-05, + -2.6114212842908304e-05, + -2.6299341561410303e-05, + -2.648508619626504e-05, + -2.6671200955121923e-05, + -2.6857439666669836e-05, + -2.7043556042360798e-05, + -2.7229303906837402e-05, + -2.7414437459682166e-05, + -2.759871158390654e-05, + -2.7781882263278616e-05, + -2.796370710547983e-05, + -2.8143946021408845e-05, + -2.832236205144987e-05, + -2.8498722328739022e-05, + -2.8672799207793494e-05, + -2.8844371477979295e-05, + -2.90132256918103e-05, + -2.917915751733144e-05, + -2.9341973122204917e-05, + -2.9501490508921557e-05, + -2.9657540782681162e-05, + -2.980996931009993e-05, + -2.995863670589979e-05, + -3.0103419686366958e-05, + -3.0244211670970882e-05, + -3.0380923233179424e-05, + -3.05134822690508e-05, + -3.0641834016275584e-05, + -3.076594080761456e-05, + -3.0885781680497965e-05, + -3.100135176057083e-05, + -3.111266154236389e-05, + -3.121973600342512e-05, + -3.132261363070049e-05, + -3.1421345357155996e-05, + -3.151599345761333e-05, + -3.160663039501876e-05, + -3.1693337669286964e-05, + -3.177620466503614e-05, + -3.185532753462451e-05, + -3.193080810644711e-05, + -3.200275284484095e-05, + -3.207127187897071e-05, + -3.213647807952758e-05, + -3.2198486220135896e-05, + -3.2257412195544596e-05, + -3.231337232063999e-05, + -3.2366482690451324e-05, + -3.241685856032297e-05, + -3.246461341367671e-05, + -3.250985561534901e-05, + -3.255267168002385e-05, + -3.25930486401958e-05, + -3.263056840560803e-05, + -3.266340882328822e-05, + -3.268567479576582e-05, + -3.268169456196526e-05, + -3.261665724557505e-05, + -3.242595409774618e-05, + -3.201008159209476e-05, + -3.124393783341886e-05, + -3.0004209706018422e-05, + -2.820732156286802e-05, + -2.584140750380653e-05, + -2.297712579767401e-05, + -1.9753197418584896e-05, + -1.6344761699667558e-05, + -1.1271207518605941e-05, + -1.1278535901084775e-05, + -1.1278535901238756e-05, + -1.1278535901369479e-05, + -1.1278535901534118e-05, + -1.127853590171073e-05, + -1.1278535901897053e-05, + -1.127853590206379e-05, + -1.1278535902278635e-05, + -1.127853590247333e-05, + -1.127853590270555e-05, + -1.1278535902927482e-05, + -1.1278535903175947e-05, + -1.1278535903435261e-05, + -1.1278535903706261e-05, + -1.127853590399175e-05, + -1.1278535904289086e-05, + -1.127853590459017e-05, + -1.1278535904930393e-05, + -1.1278535905267668e-05, + -1.1278535905621948e-05, + -1.1278535905999677e-05, + -1.1278535906384352e-05, + -1.1278535906793618e-05, + -1.1278535907212476e-05, + -1.1278535907651434e-05, + -1.127853590810777e-05, + -1.1278535908580885e-05, + -1.1278535909070187e-05, + -1.1278535909571666e-05, + -1.1278535910092058e-05, + -1.1278535910628052e-05, + -1.127853591117904e-05, + -1.1278535911744909e-05, + -1.1278535912322836e-05, + -1.1278535912912071e-05, + -1.12785359135149e-05, + -1.1278535914127694e-05, + -1.1278535914751347e-05, + -1.1278535915382454e-05, + -1.127853591602007e-05, + -1.1278535916660504e-05, + -1.127853591730611e-05, + -1.1278535917954331e-05, + -1.1278535918602111e-05, + -1.1278535919248154e-05, + -1.1278535919891096e-05, + -1.1278535920527543e-05, + -1.1278535921157329e-05, + -1.1278535921779173e-05, + -1.12785359223912e-05, + -1.1278535922989673e-05, + -1.1278535923574966e-05, + -1.1278535924144651e-05, + -1.127853592470028e-05, + -1.1278535925236616e-05, + -1.127853592575513e-05, + -1.1278535926253453e-05, + -1.1278535926733816e-05, + -1.1278535927191898e-05, + -1.1278535927629562e-05, + -1.1278535928046597e-05, + -1.1278535928442552e-05, + -1.1278535928816209e-05, + -1.1278535929170264e-05, + -1.127853592950287e-05, + -1.1278535929815879e-05, + -1.1278535930108392e-05, + -1.1278535930382696e-05, + -1.127853593063775e-05, + -1.127853593087635e-05, + -1.1278535931097176e-05, + -1.1278535931301007e-05, + -1.127853593149132e-05, + -1.127853593166574e-05, + -1.127853593182662e-05, + -1.1278535931974478e-05, + -1.1278535932111057e-05, + -1.1278535932235413e-05, + -1.1278535932349582e-05, + -1.1278535932453345e-05, + -1.127853593254916e-05, + -1.1278535932635211e-05, + -1.1278535932714473e-05, + -1.1278535932784994e-05, + -1.1278535932850295e-05, + -1.127853593290861e-05, + -1.127853593296149e-05, + -1.127853593301031e-05, + -1.1278535933051995e-05, + -1.1278535933091928e-05, + -1.127853593312563e-05, + -1.1278535933157648e-05, + -1.127853593318504e-05, + -1.1278535933210126e-05, + -1.1278535933232546e-05, + -1.127853593325237e-05, + -1.1278535933269988e-05, + -1.1278535933285956e-05, + -1.1278535933299341e-05, + -1.1278535933312871e-05, + -1.1278535933323771e-05, + -1.127853593333149e-05, + -1.1278535933340934e-05, + -1.1278535933349368e-05, + -1.1278535933354207e-05, + -1.1278535933361976e-05, + -1.1278535933364527e-05, + -1.1278535933371501e-05, + -1.1278535933373685e-05, + -1.1278535933378755e-05, + -1.1278535933381022e-05, + -1.1278535933381315e-05, + -1.127853593338544e-05, + -1.1278535933384995e-05, + -1.1278535933387993e-05, + -1.1278535933389064e-05, + -1.1278535933390643e-05, + -1.1278535933391544e-05, + -1.1278535933393961e-05, + -1.1278535933392564e-05, + -1.1278535933389355e-05, + -1.1278535933392713e-05, + -1.1278535933395284e-05, + -1.1278535933390483e-05, + -1.1278535933397395e-05, + -1.1278535933393018e-05, + -1.1278535933395383e-05 + ], + "internal_displacement_A_m2": [ + -6.541436713665179e-06, + -4.299049018418134e-06, + -2.266863552387107e-06, + -6.448673802880778e-07, + 4.797896246007682e-07, + 1.151987399284275e-06, + 1.4997759799746112e-06, + 1.6608257496797198e-06, + 1.734983023303054e-06, + 1.776677439882559e-06, + 1.8092003655164747e-06, + 1.8405868558833553e-06, + 1.8731430757439342e-06, + 1.907470788554647e-06, + 1.943763179399504e-06, + 1.9821350502475254e-06, + 2.022690834702583e-06, + 2.0655359841544294e-06, + 2.11077838167095e-06, + 2.1585282768423423e-06, + 2.2088979857919656e-06, + 2.262001525221298e-06, + 2.317954183537909e-06, + 2.3768720242277072e-06, + 2.438871320514786e-06, + 2.5040679330030115e-06, + 2.5725765952007913e-06, + 2.6445101505190068e-06, + 2.719978694393064e-06, + 2.7990886737451784e-06, + 2.8819418955637478e-06, + 2.9686344985156464e-06, + 3.0592558698890644e-06, + 3.153887514774314e-06, + 3.2526019140961403e-06, + 3.3554613697972882e-06, + 3.46251685852169e-06, + 3.5738069178874703e-06, + 3.689356592187856e-06, + 3.809176454037398e-06, + 3.933261728773908e-06, + 4.061591548602412e-06, + 4.194128368336203e-06, + 4.330817545684735e-06, + 4.4715871173112595e-06, + 4.616347786695144e-06, + 4.764993124890295e-06, + 4.917399984632933e-06, + 5.0734291334132565e-06, + 5.2329260694013445e-06, + 5.395722034007519e-06, + 5.561635159275867e-06, + 5.7304717236389394e-06, + 5.9020275057346085e-06, + 6.076089147773903e-06, + 6.2524355230657245e-06, + 6.4308390495161006e-06, + 6.611066926568405e-06, + 6.792882233043247e-06, + 6.976044917963363e-06, + 7.160312620293141e-06, + 7.345441338791109e-06, + 7.5311859736458514e-06, + 7.717300732505522e-06, + 7.903539444043641e-06, + 8.089655819745774e-06, + 8.275403684218258e-06, + 8.460537237057106e-06, + 8.64481136128884e-06, + 8.827982040663943e-06, + 9.009806882855915e-06, + 9.190045798789598e-06, + 9.36846182883068e-06, + 9.544822106124777e-06, + 9.71889898516913e-06, + 9.890471255365399e-06, + 1.0059325469185455e-05, + 1.0225257294712137e-05, + 1.0388072899591773e-05, + 1.0547590286295896e-05, + 1.0703640560062125e-05, + 1.0856069087480634e-05, + 1.1004736483280328e-05, + 1.1149519463755198e-05, + 1.1290311448343818e-05, + 1.1427023010563492e-05, + 1.1559582046436756e-05, + 1.1687933793656459e-05, + 1.1812040585004393e-05, + 1.1931881457859206e-05, + 1.204745153796601e-05, + 1.2158761319729006e-05, + 1.2265835780805907e-05, + 1.2368713408074166e-05, + 1.246744513456975e-05, + 1.2562093234959264e-05, + 1.2652730172408109e-05, + 1.273943744669753e-05, + 1.2822304442385103e-05, + 1.2901427312039323e-05, + 1.2976907883828065e-05, + 1.3048852622182817e-05, + 1.3117371656352874e-05, + 1.318257785694828e-05, + 1.3244585997461087e-05, + 1.3303511972963503e-05, + 1.335947209804401e-05, + 1.3412582467780149e-05, + 1.3462958337728787e-05, + 1.3510713191030548e-05, + 1.3555955392759985e-05, + 1.359877145737291e-05, + 1.3639148417612897e-05, + 1.3676668183024372e-05, + 1.3709508600623199e-05, + 1.3731774573150468e-05, + 1.3727794339337224e-05, + 1.3662757022971354e-05, + 1.3472053875085602e-05, + 1.3056181369526008e-05, + 1.2290037610807554e-05, + 1.1050309483376283e-05, + 9.253421340178397e-06, + 6.8875072812581995e-06, + 4.023225574967304e-06, + 7.992971960130466e-07, + -2.609138522942953e-06, + -7.682692704054733e-06, + -7.67536432153545e-06, + -7.675364321391833e-06, + -7.675364321241251e-06, + -7.675364321079202e-06, + -7.67536432091372e-06, + -7.675364320733443e-06, + -7.67536432054706e-06, + -7.675364320346428e-06, + -7.675364320139708e-06, + -7.675364319918084e-06, + -7.67536431968511e-06, + -7.675364319441555e-06, + -7.675364319185117e-06, + -7.675364318914018e-06, + -7.675364318631664e-06, + -7.67536431833252e-06, + -7.675364318021557e-06, + -7.675364317694895e-06, + -7.675364317352377e-06, + -7.675364316995586e-06, + -7.675364316621559e-06, + -7.67536431623247e-06, + -7.675364315827115e-06, + -7.675364315404872e-06, + -7.67536431496625e-06, + -7.675364314510993e-06, + -7.675364314039296e-06, + -7.6753643135507e-06, + -7.675364313046839e-06, + -7.67536431252685e-06, + -7.675364311990526e-06, + -7.67536431144052e-06, + -7.675364310875477e-06, + -7.67536431029739e-06, + -7.675364309706341e-06, + -7.67536430910371e-06, + -7.675364308490471e-06, + -7.675364307868068e-06, + -7.6753643072374e-06, + -7.675364306600375e-06, + -7.675364305958175e-06, + -7.67536430531239e-06, + -7.675364304664779e-06, + -7.67536430401719e-06, + -7.67536430337141e-06, + -7.675364302728799e-06, + -7.675364302091513e-06, + -7.675364301461275e-06, + -7.675364300839873e-06, + -7.675364300228752e-06, + -7.675364299629744e-06, + -7.675364299044263e-06, + -7.675364298473788e-06, + -7.675364297919554e-06, + -7.675364297382737e-06, + -7.675364296864263e-06, + -7.675364296365169e-06, + -7.675364295885874e-06, + -7.67536429542725e-06, + -7.67536429498942e-06, + -7.675364294572647e-06, + -7.675364294177156e-06, + -7.675364293802652e-06, + -7.675364293449209e-06, + -7.675364293116283e-06, + -7.675364292803589e-06, + -7.675364292510525e-06, + -7.675364292236622e-06, + -7.675364291981038e-06, + -7.675364291743252e-06, + -7.67536429152242e-06, + -7.675364291317695e-06, + -7.67536429112836e-06, + -7.675364290953579e-06, + -7.675364290792529e-06, + -7.675364290644417e-06, + -7.675364290508404e-06, + -7.675364290383737e-06, + -7.675364290269691e-06, + -7.675364290165464e-06, + -7.675364290070433e-06, + -7.675364289983889e-06, + -7.675364289905235e-06, + -7.675364289833796e-06, + -7.675364289769081e-06, + -7.675364289710456e-06, + -7.675364289657491e-06, + -7.675364289609747e-06, + -7.675364289566691e-06, + -7.67536428952795e-06, + -7.675364289493174e-06, + -7.675364289461972e-06, + -7.675364289434008e-06, + -7.675364289409063e-06, + -7.675364289386715e-06, + -7.675364289366817e-06, + -7.675364289349124e-06, + -7.675364289333394e-06, + -7.675364289319435e-06, + -7.675364289307086e-06, + -7.675364289296164e-06, + -7.675364289286515e-06, + -7.675364289277988e-06, + -7.675364289270582e-06, + -7.675364289264007e-06, + -7.675364289258276e-06, + -7.67536428925327e-06, + -7.675364289248939e-06, + -7.675364289245156e-06, + -7.675364289241859e-06, + -7.67536428923903e-06, + -7.675364289236624e-06, + -7.675364289234525e-06, + -7.675364289232755e-06, + -7.675364289231242e-06, + -7.675364289229995e-06, + -7.675364289228925e-06, + -7.675364289228037e-06, + -7.675364289227317e-06, + -7.675364289226726e-06, + -7.675364289226269e-06, + -7.675364289225889e-06, + -7.675364289225611e-06, + -7.675364289225413e-06, + -7.675364289225267e-06, + -7.675364289225184e-06, + -7.675364289225145e-06 + ], + "internal_total_A_m2": [ + -1.895390022260381e-05, + -1.8953900222626393e-05, + -1.895390022263184e-05, + -1.895390022260012e-05, + -1.895390022261992e-05, + -1.8953900222623892e-05, + -1.8953900222620447e-05, + -1.895390022259543e-05, + -1.8953900222630377e-05, + -1.8953900222632024e-05, + -1.8953900222623974e-05, + -1.8953900222607043e-05, + -1.8953900222619074e-05, + -1.8953900222619993e-05, + -1.8953900222635307e-05, + -1.8953900222603242e-05, + -1.8953900222626084e-05, + -1.8953900222612407e-05, + -1.895390022261837e-05, + -1.8953900222633003e-05, + -1.8953900222612878e-05, + -1.8953900222618783e-05, + -1.8953900222613382e-05, + -1.8953900222624065e-05, + -1.8953900222614277e-05, + -1.8953900222628575e-05, + -1.895390022260997e-05, + -1.8953900222623184e-05, + -1.895390022261909e-05, + -1.895390022261916e-05, + -1.8953900222619556e-05, + -1.8953900222622347e-05, + -1.895390022261535e-05, + -1.8953900222619674e-05, + -1.8953900222625234e-05, + -1.89539002226126e-05, + -1.8953900222619088e-05, + -1.8953900222619532e-05, + -1.895390022262153e-05, + -1.8953900222613518e-05, + -1.8953900222627213e-05, + -1.8953900222614626e-05, + -1.895390022262164e-05, + -1.8953900222614172e-05, + -1.8953900222623916e-05, + -1.8953900222621463e-05, + -1.8953900222616106e-05, + -1.8953900222619112e-05, + -1.895390022261912e-05, + -1.8953900222619125e-05, + -1.8953900222621273e-05, + -1.8953900222617004e-05, + -1.895390022261919e-05, + -1.895390022261916e-05, + -1.89539002226191e-05, + -1.8953900222619203e-05, + -1.8953900222620413e-05, + -1.8953900222617895e-05, + -1.895390022261917e-05, + -1.8953900222623184e-05, + -1.8953900222615165e-05, + -1.8953900222619193e-05, + -1.8953900222619186e-05, + -1.89539002226164e-05, + -1.8953900222626193e-05, + -1.8953900222615026e-05, + -1.8953900222619146e-05, + -1.895390022262506e-05, + -1.8953900222617702e-05, + -1.8953900222614673e-05, + -1.8953900222623916e-05, + -1.8953900222619247e-05, + -1.895390022261919e-05, + -1.8953900222614246e-05, + -1.8953900222624363e-05, + -1.8953900222613894e-05, + -1.8953900222624844e-05, + -1.89539002226193e-05, + -1.8953900222613142e-05, + -1.895390022262566e-05, + -1.8953900222619037e-05, + -1.8953900222619295e-05, + -1.895390022261946e-05, + -1.895390022261176e-05, + -1.8953900222627064e-05, + -1.8953900222615934e-05, + -1.8953900222614043e-05, + -1.8953900222619125e-05, + -1.8953900222610167e-05, + -1.895390022263876e-05, + -1.895390022260482e-05, + -1.895390022263488e-05, + -1.895390022261921e-05, + -1.895390022262632e-05, + -1.8953900222586247e-05, + -1.895390022265407e-05, + -1.895390022261065e-05, + -1.895390022258943e-05, + -1.8953900222651038e-05, + -1.8953900222585186e-05, + -1.8953900222619044e-05, + -1.895390022265813e-05, + -1.8953900222617838e-05, + -1.8953900222579298e-05, + -1.895390022267481e-05, + -1.8953900222581093e-05, + -1.895390022259598e-05, + -1.8953900222671174e-05, + -1.8953900222594182e-05, + -1.8953900222646163e-05, + -1.8953900222589025e-05, + -1.895390022265094e-05, + -1.89539002225829e-05, + -1.8953900222583655e-05, + -1.895390022266502e-05, + -1.895390022261535e-05, + -1.8953900222628036e-05, + -1.8953900222603696e-05, + -1.8953900222660576e-05, + -1.8953900222568754e-05, + -1.8953900222611305e-05, + -1.8953900222642137e-05, + -1.8953900222689626e-05, + -1.895390022254833e-05, + -1.8953900222706705e-05, + -1.895390022257185e-05, + -1.895390022261051e-05, + -1.8953900222660674e-05, + -1.8953900222620223e-05, + -1.895390022263059e-05, + -1.895390022261073e-05, + -1.8953900222613318e-05, + -1.895390022262445e-05, + -1.8953900222630496e-05, + -1.895390022261085e-05, + -1.895390022262506e-05, + -1.895390022261304e-05, + -1.895390022262363e-05, + -1.8953900222612593e-05, + -1.8953900222617502e-05, + -1.895390022262038e-05, + -1.8953900222620277e-05, + -1.8953900222623415e-05, + -1.8953900222621605e-05, + -1.8953900222611726e-05, + -1.8953900222625288e-05, + -1.8953900222620047e-05, + -1.8953900222617533e-05, + -1.8953900222621236e-05, + -1.895390022261682e-05, + -1.895390022262073e-05, + -1.895390022261735e-05, + -1.8953900222617682e-05, + -1.8953900222618763e-05, + -1.8953900222620182e-05, + -1.8953900222620887e-05, + -1.8953900222618505e-05, + -1.895390022261891e-05, + -1.8953900222618576e-05, + -1.895390022261956e-05, + -1.8953900222620386e-05, + -1.8953900222620226e-05, + -1.8953900222618414e-05, + -1.895390022261861e-05, + -1.8953900222618163e-05, + -1.8953900222619417e-05, + -1.8953900222619854e-05, + -1.8953900222620447e-05, + -1.8953900222618678e-05, + -1.8953900222618502e-05, + -1.8953900222619112e-05, + -1.89539002226193e-05, + -1.8953900222619566e-05, + -1.8953900222619894e-05, + -1.8953900222619057e-05, + -1.8953900222618603e-05, + -1.8953900222619044e-05, + -1.8953900222619952e-05, + -1.8953900222619417e-05, + -1.8953900222619227e-05, + -1.895390022261844e-05, + -1.8953900222619833e-05, + -1.8953900222619352e-05, + -1.8953900222619393e-05, + -1.8953900222618624e-05, + -1.8953900222619688e-05, + -1.8953900222619146e-05, + -1.8953900222618983e-05, + -1.8953900222619244e-05, + -1.8953900222619708e-05, + -1.895390022261886e-05, + -1.895390022261947e-05, + -1.8953900222619152e-05, + -1.8953900222619467e-05, + -1.8953900222618915e-05, + -1.895390022261932e-05, + -1.8953900222618786e-05, + -1.8953900222619603e-05, + -1.8953900222619596e-05, + -1.8953900222618702e-05, + -1.895390022261968e-05, + -1.895390022261932e-05, + -1.895390022261915e-05, + -1.8953900222618895e-05, + -1.895390022261946e-05, + -1.8953900222619152e-05, + -1.8953900222619274e-05, + -1.8953900222618807e-05, + -1.8953900222619593e-05, + -1.8953900222619098e-05, + -1.8953900222619708e-05, + -1.895390022261879e-05, + -1.8953900222619376e-05, + -1.8953900222619064e-05, + -1.8953900222618983e-05, + -1.8953900222620057e-05, + -1.8953900222618685e-05, + -1.8953900222619877e-05, + -1.8953900222618803e-05, + -1.895390022261962e-05, + -1.895390022261905e-05, + -1.895390022261919e-05, + -1.895390022261926e-05, + -1.8953900222619186e-05, + -1.8953900222619112e-05, + -1.895390022261935e-05, + -1.8953900222618776e-05, + -1.895390022261996e-05, + -1.8953900222619935e-05, + -1.8953900222618004e-05, + -1.8953900222618922e-05, + -1.8953900222619952e-05, + -1.8953900222618214e-05, + -1.895390022262025e-05, + -1.8953900222617797e-05, + -1.895390022262044e-05, + -1.895390022261884e-05, + -1.8953900222620616e-05, + -1.8953900222620054e-05, + -1.895390022261794e-05, + -1.8953900222619966e-05, + -1.895390022261775e-05, + -1.8953900222619234e-05, + -1.8953900222619057e-05, + -1.8953900222619566e-05, + -1.895390022261958e-05, + -1.895390022262128e-05, + -1.8953900222619288e-05, + -1.8953900222615622e-05, + -1.8953900222618603e-05, + -1.8953900222620894e-05, + -1.8953900222615896e-05, + -1.8953900222622662e-05, + -1.8953900222618204e-05, + -1.8953900222620528e-05 + ], + "physical_widths_m": [ + 5.901422388288336e-11, + 1.2168445327999375e-10, + 1.2921290133435793e-10, + 1.3718573109489092e-10, + 1.456263985330553e-10, + 1.5455923405930657e-10, + 1.6400942452466372e-10, + 1.7400298616433713e-10, + 1.8456672721482707e-10, + 1.9572819882658635e-10, + 2.0751563278408056e-10, + 2.1995786443639556e-10, + 2.330842391367742e-10, + 2.4692450039214606e-10, + 2.615086578375502e-10, + 2.768668330800304e-10, + 2.930290814077334e-10, + 3.1002518733890237e-10, + 3.2788443199932904e-10, + 3.4663533037393737e-10, + 3.6630533658778285e-10, + 3.869205155434871e-10, + 4.0850517948706975e-10, + 4.310814884031017e-10, + 4.546690135652088e-10, + 4.79284264100096e-10, + 5.049401770735207e-10, + 5.316455723851334e-10, + 5.594045746728763e-10, + 5.882160054824251e-10, + 6.180727501540692e-10, + 6.489611052145571e-10, + 6.808601135253143e-10, + 7.137408960140655e-10, + 7.47565990478061e-10, + 7.822887096588038e-10, + 8.178525325040014e-10, + 8.54190544194725e-10, + 8.912249420559998e-10, + 9.288666258067398e-10, + 9.670148916509131e-10, + 1.005557250369215e-09, + 1.0443693897370093e-09, + 1.0833153011705004e-09, + 1.1222475893912312e-09, + 1.1610079820176118e-09, + 1.1994280532751899e-09, + 1.23733017242863e-09, + 1.2745286830742073e-09, + 1.3108313141313866e-09, + 1.3460408173217914e-09, + 1.3799568192605954e-09, + 1.4123778691985396e-09, + 1.443103656181209e-09, + 1.4719373622173193e-09, + 1.4986881112844911e-09, + 1.523173467982208e-09, + 1.5452219347003404e-09, + 1.5646753926224425e-09, + 1.5813914299979714e-09, + 1.5952455011079117e-09, + 1.6061328613443997e-09, + 1.6139702278616839e-09, + 1.6186971212639917e-09, + 1.6202768516007768e-09, + 1.6186971212639917e-09, + 1.6139702278616839e-09, + 1.6061328613443997e-09, + 1.5952455011079117e-09, + 1.5813914299979714e-09, + 1.5646753926224425e-09, + 1.5452219347003404e-09, + 1.523173467982208e-09, + 1.4986881112844845e-09, + 1.4719373622173193e-09, + 1.4431036561812155e-09, + 1.4123778691985462e-09, + 1.379956819260592e-09, + 1.346040817321788e-09, + 1.31083131413138e-09, + 1.2745286830742205e-09, + 1.2373301724286366e-09, + 1.19942805327517e-09, + 1.1610079820176184e-09, + 1.1222475893912378e-09, + 1.083315301170507e-09, + 1.0443693897369927e-09, + 1.0055572503692116e-09, + 9.670148916509198e-10, + 9.288666258067464e-10, + 8.91224942055985e-10, + 8.541905441947299e-10, + 8.178525325039981e-10, + 7.822887096588004e-10, + 7.475659904780676e-10, + 7.137408960140556e-10, + 6.808601135253242e-10, + 6.48961105214567e-10, + 6.180727501540659e-10, + 5.882160054824152e-10, + 5.59404574672873e-10, + 5.316455723851383e-10, + 5.049401770735323e-10, + 4.792842641000936e-10, + 4.546690135651964e-10, + 4.3108148840310337e-10, + 4.0850517948706727e-10, + 3.869205155434962e-10, + 3.663053365877845e-10, + 3.4663533037393406e-10, + 3.278844319993274e-10, + 3.1002518733890444e-10, + 2.930290814077417e-10, + 2.7686683308002504e-10, + 2.6150865783754524e-10, + 2.46924500392156e-10, + 2.3308423913676347e-10, + 2.1995786443640466e-10, + 2.0751563278407477e-10, + 1.9572819882657477e-10, + 1.845667272148283e-10, + 1.740029861643485e-10, + 1.6400942452466144e-10, + 1.545592340593227e-10, + 1.4562639853305157e-10, + 1.3718573109488172e-10, + 1.2921290133435225e-10, + 1.8069867716288167e-10, + 1.8069867716288167e-10, + 1.2921290133435225e-10, + 1.3718573109489495e-10, + 1.4562639853305157e-10, + 1.5455923405930946e-10, + 1.6400942452466144e-10, + 1.740029861643485e-10, + 1.845667272148283e-10, + 1.9572819882657477e-10, + 2.0751563278407477e-10, + 2.1995786443640466e-10, + 2.3308423913676347e-10, + 2.46924500392156e-10, + 2.6150865783754524e-10, + 2.7686683308002504e-10, + 2.930290814077417e-10, + 3.1002518733890444e-10, + 3.278844319993274e-10, + 3.4663533037393406e-10, + 3.663053365877845e-10, + 3.8692051554348296e-10, + 4.085051794870805e-10, + 4.3108148840310337e-10, + 4.5466901356520963e-10, + 4.792842641000936e-10, + 5.04940177073519e-10, + 5.316455723851383e-10, + 5.59404574672873e-10, + 5.882160054824152e-10, + 6.180727501540659e-10, + 6.48961105214567e-10, + 6.808601135253109e-10, + 7.137408960140689e-10, + 7.475659904780676e-10, + 7.822887096588004e-10, + 8.178525325039981e-10, + 8.541905441947299e-10, + 8.91224942055985e-10, + 9.288666258067464e-10, + 9.670148916509198e-10, + 1.0055572503692116e-09, + 1.0443693897370192e-09, + 1.0833153011704673e-09, + 1.122247589391251e-09, + 1.1610079820176184e-09, + 1.1994280532751965e-09, + 1.2373301724286234e-09, + 1.2745286830741808e-09, + 1.3108313141314065e-09, + 1.346040817321788e-09, + 1.3799568192606186e-09, + 1.412377869198533e-09, + 1.4431036561812023e-09, + 1.4719373622173193e-09, + 1.4986881112844977e-09, + 1.523173467982208e-09, + 1.545221934700314e-09, + 1.564675392622469e-09, + 1.5813914299979515e-09, + 1.5952455011079183e-09, + 1.606132861344413e-09, + 1.6139702278616839e-09, + 1.6186971212639851e-09, + 1.6202768516007636e-09, + 1.6186971212639851e-09, + 1.6139702278616839e-09, + 1.606132861344413e-09, + 1.5952455011079183e-09, + 1.5813914299979515e-09, + 1.564675392622469e-09, + 1.545221934700314e-09, + 1.523173467982208e-09, + 1.4986881112844977e-09, + 1.4719373622173193e-09, + 1.4431036561812023e-09, + 1.412377869198533e-09, + 1.3799568192606186e-09, + 1.346040817321788e-09, + 1.31083131413138e-09, + 1.2745286830742073e-09, + 1.2373301724286234e-09, + 1.1994280532751965e-09, + 1.1610079820176184e-09, + 1.122247589391251e-09, + 1.0833153011704673e-09, + 1.0443693897370192e-09, + 1.0055572503692116e-09, + 9.670148916509198e-10, + 9.288666258067464e-10, + 8.91224942055985e-10, + 8.541905441947299e-10, + 8.178525325039848e-10, + 7.822887096588137e-10, + 7.475659904780676e-10, + 7.137408960140821e-10, + 6.808601135253109e-10, + 6.489611052145538e-10, + 6.180727501540659e-10, + 5.882160054824152e-10, + 5.59404574672873e-10, + 5.316455723851383e-10, + 5.04940177073519e-10, + 4.7928426410012e-10, + 4.5466901356518316e-10, + 4.3108148840310337e-10, + 4.0850517948706727e-10, + 3.869205155434962e-10, + 3.6630533658779774e-10, + 3.4663533037392083e-10, + 3.278844319993274e-10, + 3.1002518733890444e-10, + 2.930290814077152e-10, + 2.768668330800515e-10, + 2.6150865783754524e-10, + 2.46924500392156e-10, + 2.3308423913676347e-10, + 2.1995786443639143e-10, + 2.0751563278407477e-10, + 1.95728198826588e-10, + 1.845667272148283e-10, + 1.740029861643485e-10, + 1.6400942452466144e-10, + 1.545592340593227e-10, + 1.4562639853305157e-10, + 1.3718573109489495e-10, + 1.29212901334339e-10, + 1.2168445327999169e-10, + 5.901422388288999e-11 + ], + "positive_inventory_m2": [ + 1000000000000002.9 + ], + "positive_ion_flux_m2_s": [ + -7123159737476.462, + -21119042885961.223, + -33802946913215.523, + -43926650739914.734, + -50946207641708.46, + -55141736152253.29, + -57312461734604.836, + -58317655333503.41, + -58780508629979.19, + -59040744709425.05, + -59243736844847.0, + -59439635909181.66, + -59642835850946.336, + -59857092581965.0, + -60083611868851.71, + -60323110248752.45, + -60576239545591.31, + -60843657934604.14, + -61126038769288.195, + -61424070173392.94, + -61738453168749.87, + -62069899392015.69, + -62419128416598.695, + -62786864653970.81, + -63173833824286.45, + -63580759072834.06, + -64008356509491.664, + -64457330447835.67, + -64928368049218.53, + -65422133703204.664, + -65939262839011.695, + -66480355507013.77, + -67045969618704.53, + -67636613888976.0, + -68252740708114.01, + -68894738934137.59, + -69562926738464.06, + -70257544653829.38, + -70978748994462.5, + -71726605749360.12, + -72501085117621.36, + -73302056852413.62, + -74129286615397.86, + -74982433356007.36, + -75861047914619.0, + -76764572946002.81, + -77692344172981.67, + -78643592970859.47, + -79617450318588.92, + -80612951891612.6, + -81629044381671.84, + -82664592658213.69, + -83718387606392.8, + -84789154576668.02, + -85875561894473.34, + -86976229395556.4, + -88089736624216.16, + -89214630553631.5, + -90349432438154.95, + -91492643997423.77, + -92642752532739.23, + -93798235108285.95, + -94957561931264.12, + -96119198886484.12, + -97281609493471.44, + -98443256540018.11, + -99602603520395.33, + -100758116269065.73, + -101908264886121.61, + -103051526342036.84, + -104186387742956.3, + -105311350570577.88, + -106424935839310.28, + -107525690108512.86, + -108612192526842.58, + -109683062406122.2, + -110736967511935.83, + -111772632504535.86, + -112788847577633.7, + -113784476792127.23, + -114758465989597.14, + -115709850024378.5, + -116637758922001.64, + -117541423206055.19, + -118420177653196.45, + -119273464106918.84, + -120100832529823.84, + -120901941122464.1, + -121676554784432.78, + -122424542677665.95, + -123145874378838.1, + -123840615389663.34, + -124508921607738.61, + -125151033249691.58, + -125767268214094.98, + -126358015189820.52, + -126923726455002.1, + -127464910692105.31, + -127982125796036.44, + -128475971902617.39, + -128947084574692.45, + -129396128310397.47, + -129823790481912.81, + -130230775572673.92, + -130617799943315.06, + -130985586951953.42, + -131334862579000.44, + -131666351432643.17, + -131980772880166.78, + -132278835229363.92, + -132561214840341.95, + -132828451695297.52, + -133080464857415.14, + -133314644812576.36, + -133519618576443.14, + -133658591844687.69, + -133633749178312.48, + -133227818176949.1, + -132037542748344.78, + -129441870729666.47, + -124659977506749.1, + -116922203148948.78, + -105706909496946.39, + -90940035427248.64, + -73062595165974.23, + -52940416931835.74, + -31666634461945.016, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + }, + "assessment": { + "conservation_compliant": true, + "content_consistent": true, + "reference_accuracy_qualified": null, + "reference_accuracy_status": "not_assessed_shared_constitutive_laws" + }, + "checks": { + "charge_balance_normalized": { + "applicable": true, + "passed": true + }, + "contact_internal_current_spread_relative": { + "applicable": true, + "passed": true + }, + "electron_current_A_m2_reported_content_matches": { + "applicable": true, + "passed": true + }, + "electron_current_A_m2_state_content_matches": { + "applicable": true, + "passed": true + }, + "finite_positive_populations": { + "applicable": true, + "passed": true + }, + "hole_current_A_m2_reported_content_matches": { + "applicable": true, + "passed": true + }, + "hole_current_A_m2_state_content_matches": { + "applicable": true, + "passed": true + }, + "interface_conduction_A_m2_reported_content_matches": { + "applicable": true, + "passed": true + }, + "interface_current_spread_relative": { + "applicable": true, + "passed": true + }, + "interface_displacement_A_m2_reported_content_matches": { + "applicable": true, + "passed": true + }, + "interface_total_A_m2_reported_content_matches": { + "applicable": true, + "passed": true + }, + "internal_displacement_A_m2_reported_content_matches": { + "applicable": true, + "passed": true + }, + "internal_face_current_spread_relative": { + "applicable": true, + "passed": true + }, + "internal_total_A_m2_reported_content_matches": { + "applicable": true, + "passed": true + }, + "inventory_relative_drift": { + "applicable": true, + "passed": true + }, + "ion_site_occupancy_physical": { + "applicable": true, + "passed": true + }, + "physical_geometry_matches": { + "applicable": true, + "passed": true + }, + "positive_ion_flux_m2_s_reported_content_matches": { + "applicable": true, + "passed": true + }, + "positive_ion_flux_m2_s_state_content_matches": { + "applicable": true, + "passed": true + } + }, + "finite_step": true, + "limits": { + "charge_balance_normalized": 1e-10, + "contact_internal_current_spread_relative": 2e-06, + "interface_current_spread_relative": 2e-06, + "internal_face_current_spread_relative": 2e-06, + "inventory_relative_drift": 1e-10 + }, + "metrics": { + "charge_balance_normalized": 1.2842392600192031e-18, + "contact_internal_current_spread_relative": 8.355791182022135e-12, + "interface_current_spread_relative": 2.3654840131774658e-12, + "internal_face_current_spread_relative": 8.355791182022135e-12, + "inventory_relative_drift": 3.1086244689504383e-15 + }, + "passed": true, + "reasons": [], + "schema": "R1IndependentPhysicsRowV1", + "scope": "saved_state_independent_current_charge_assembly_not_full_DAE_oracle", + "shared_constitutive_dependencies": [ + "fe_operators.bernoulli", + "two_sided_interface._material_two_sided_interface_problem", + "two_sided_interface_compensated.evaluate_local_carrier_pair", + "compensated.DD", + "one_dimensional_mechanism_r1_global_reference.evaluate_independent_saved_high_ion_transport" + ] + }, + "local_algebraic_scale": [ + 2.5951999786435536e-14, + 3.878700853926815e-14, + 16694.821269249507, + 10580.80998663068, + 16694.821269249507, + 10580.80998663068 + ], + "poisson_scale_C_m2": [ + 3.765564615313958e-14, + 3.54615209761182e-14, + 3.3400442220867445e-14, + 3.146435617735993e-14, + 2.964569754730839e-14, + 2.7937359882595423e-14, + 2.633266781666979e-14, + 2.4825350980411758e-14, + 2.3409519500528085e-14, + 2.2079640984743803e-14, + 2.083051890385784e-14, + 1.9657272286193556e-14, + 1.8555316645096934e-14, + 1.7520346064953486e-14, + 1.654831637572964e-14, + 1.56354293502912e-14, + 1.4778117862748466e-14, + 1.3973031949833105e-14, + 1.3217025720844629e-14, + 1.2507145065014236e-14, + 1.1840616108252945e-14, + 1.1214834374177461e-14, + 1.062735460706278e-14, + 1.0075881216952278e-14, + 9.558259309589638e-15, + 9.07246626612338e-15, + 8.61660383967932e-15, + 8.18889073791949e-15, + 7.787655662603971e-15, + 7.411330778956708e-15, + 7.058445589316688e-15, + 6.727621187136784e-15, + 6.417564868876249e-15, + 6.127065082733461e-15, + 5.8549866944812134e-15, + 5.600266551904719e-15, + 5.361909330511474e-15, + 5.138983644279081e-15, + 4.930618406244078e-15, + 4.735999424710795e-15, + 4.554366221779579e-15, + 4.385009061762838e-15, + 4.227266177877446e-15, + 4.080521186376651e-15, + 3.944200678017205e-15, + 3.817771977450281e-15, + 3.7007410617809435e-15, + 3.592650630162956e-15, + 3.4930783168858204e-15, + 3.4016350409715953e-15, + 3.3179634858324476e-15, + 3.2417367030483777e-15, + 3.1726568348091485e-15, + 3.1104539500283997e-15, + 3.0548849895821293e-15, + 3.005732816549788e-15, + 2.9628053677471132e-15, + 2.9259349032350315e-15, + 2.8949773508722195e-15, + 2.869811743350079e-15, + 2.8503397455103273e-15, + 2.8364852700982524e-15, + 2.8281941804501133e-15, + 2.8254340789529334e-15, + 2.8281941804501133e-15, + 2.8364852700982524e-15, + 2.8503397455103273e-15, + 2.869811743350079e-15, + 2.8949773508722258e-15, + 2.9259349032350315e-15, + 2.962805367747107e-15, + 3.005732816549788e-15, + 3.0548849895821293e-15, + 3.1104539500283997e-15, + 3.1726568348091485e-15, + 3.2417367030483777e-15, + 3.317963485832439e-15, + 3.4016350409716048e-15, + 3.4930783168858188e-15, + 3.592650630162938e-15, + 3.700741061780949e-15, + 3.817771977450302e-15, + 3.944200678017203e-15, + 4.080521186376629e-15, + 4.227266177877439e-15, + 4.385009061762852e-15, + 4.554366221779585e-15, + 4.735999424710778e-15, + 4.930618406244097e-15, + 5.138983644279099e-15, + 5.361909330511487e-15, + 5.60026655190474e-15, + 5.854986694481194e-15, + 6.127065082733462e-15, + 6.417564868876263e-15, + 6.7276211871367505e-15, + 7.058445589316662e-15, + 7.411330778956749e-15, + 7.787655662604013e-15, + 8.188890737919427e-15, + 8.616603839679249e-15, + 9.072466266123287e-15, + 9.558259309589707e-15, + 1.0075881216952408e-14, + 1.062735460706272e-14, + 1.1214834374177551e-14, + 1.1840616108252865e-14, + 1.2507145065014199e-14, + 1.3217025720844744e-14, + 1.397303194983286e-14, + 1.47781178627484e-14, + 1.5635429350291466e-14, + 1.6548316375729542e-14, + 1.7520346064953414e-14, + 1.8555316645097145e-14, + 1.9657272286193325e-14, + 2.0830518903857646e-14, + 2.2079640984744434e-14, + 2.3409519500528647e-14, + 2.4825350980411597e-14, + 2.6332667816669053e-14, + 2.7937359882594697e-14, + 2.964569754730783e-14, + 3.146435617736082e-14, + 3.340044222086796e-14, + 3.5461520976118024e-14, + 2.795889651832315e-14, + 2.795889651832315e-14, + 3.5461520976118024e-14, + 3.340044222086645e-14, + 3.146435617736065e-14, + 2.964569754730918e-14, + 2.7937359882594697e-14, + 2.6332667816669053e-14, + 2.4825350980411597e-14, + 2.3409519500528647e-14, + 2.2079640984744434e-14, + 2.0830518903857646e-14, + 1.9657272286193325e-14, + 1.8555316645097145e-14, + 1.7520346064953414e-14, + 1.6548316375729542e-14, + 1.5635429350291132e-14, + 1.477811786274836e-14, + 1.3973031949833155e-14, + 1.3217025720844744e-14, + 1.2507145065014413e-14, + 1.1840616108252889e-14, + 1.1214834374177359e-14, + 1.062735460706272e-14, + 1.0075881216952269e-14, + 9.558259309589693e-15, + 9.07246626612341e-15, + 8.616603839679249e-15, + 8.188890737919427e-15, + 7.787655662604013e-15, + 7.411330778956749e-15, + 7.058445589316662e-15, + 6.727621187136812e-15, + 6.417564868876269e-15, + 6.127065082733407e-15, + 5.854986694481194e-15, + 5.60026655190474e-15, + 5.361909330511487e-15, + 5.138983644279099e-15, + 4.930618406244097e-15, + 4.735999424710778e-15, + 4.554366221779556e-15, + 4.385009061762851e-15, + 4.227266177877467e-15, + 4.080521186376629e-15, + 3.944200678017181e-15, + 3.8177719774503015e-15, + 3.700741061780969e-15, + 3.592650630162956e-15, + 3.493078316885803e-15, + 3.40163504097157e-15, + 3.317963485832455e-15, + 3.2417367030483935e-15, + 3.1726568348091343e-15, + 3.1104539500283994e-15, + 3.0548849895821435e-15, + 3.005732816549788e-15, + 2.962805367747107e-15, + 2.9259349032350315e-15, + 2.8949773508722376e-15, + 2.8698117433500667e-15, + 2.8503397455103095e-15, + 2.8364852700982524e-15, + 2.828194180450119e-15, + 2.8254340789529563e-15, + 2.828194180450119e-15, + 2.8364852700982524e-15, + 2.8503397455103095e-15, + 2.8698117433500667e-15, + 2.8949773508722376e-15, + 2.9259349032350315e-15, + 2.962805367747107e-15, + 3.005732816549788e-15, + 3.0548849895821435e-15, + 3.1104539500283994e-15, + 3.1726568348091343e-15, + 3.2417367030483935e-15, + 3.3179634858324223e-15, + 3.401635040971606e-15, + 3.493078316885836e-15, + 3.592650630162919e-15, + 3.700741061780969e-15, + 3.8177719774503015e-15, + 3.944200678017181e-15, + 4.080521186376629e-15, + 4.227266177877467e-15, + 4.385009061762851e-15, + 4.554366221779588e-15, + 4.735999424710776e-15, + 4.9306184062440265e-15, + 5.1389836442791025e-15, + 5.3619093305115255e-15, + 5.60026655190474e-15, + 5.854986694481246e-15, + 6.1270650827334e-15, + 6.417564868876211e-15, + 6.727621187136812e-15, + 7.0584455893165855e-15, + 7.411330778956757e-15, + 7.787655662604096e-15, + 8.188890737919528e-15, + 8.616603839679236e-15, + 9.072466266123175e-15, + 9.558259309589707e-15, + 1.0075881216952562e-14, + 1.0627354607062701e-14, + 1.1214834374177568e-14, + 1.1840616108252628e-14, + 1.2507145065013773e-14, + 1.3217025720845277e-14, + 1.3973031949833095e-14, + 1.4778117862748432e-14, + 1.5635429350291422e-14, + 1.654831637572917e-14, + 1.7520346064952944e-14, + 1.85553166450972e-14, + 1.9657272286194442e-14, + 2.0830518903858236e-14, + 2.2079640984744434e-14, + 2.3409519500527807e-14, + 2.4825350980411698e-14, + 2.633266781666787e-14, + 2.7937359882593772e-14, + 2.964569754731038e-14, + 3.146435617736065e-14, + 3.340044222086645e-14, + 3.546152097611995e-14, + 3.765564615313995e-14 + ], + "rate": [ + 1021037167.941566, + 1372545825.1023316, + 1955371795.226423, + 1781304316.4608593, + 2254570707.980877, + 1696931838.500183, + 1463636935.7175305, + 1129459171.35879, + 1138548743.6657634, + 533973018.93855923, + 581404371.2398647, + -556174930.716793, + -523744623.5600253, + -992175595.1423242, + -1147215507.613934, + -2134439159.0325844, + -2511830100.1379437, + -3193082330.720554, + -3266343955.010424, + -4610015693.5221815, + -4905001385.423504, + -5918436445.3937025, + -6569381782.30993, + -7283095585.848993, + -8579647760.663822, + -8981153248.253742, + -10701601342.696533, + -11405973843.973007, + -12493669701.665398, + -14041242718.47557, + -15205229340.663534, + -16549142145.639671, + -18211561389.197823, + -19589795342.314457, + -21458344048.234257, + -23114194360.276016, + -25038149665.664444, + -26952462884.219574, + -29007318362.945316, + -31137499712.37799, + -33484043012.669125, + -35843105262.93687, + -38255566848.90149, + -40763400498.32821, + -43501197126.654625, + -46254593038.653435, + -49112345615.86527, + -51999509201.56005, + -55150303554.14623, + -58114097144.77218, + -61329317184.847336, + -64641610902.0714, + -67770517490.61983, + -71215768165.56943, + -74566242614.38457, + -77924256703.12627, + -81396596870.56015, + -84773508902.52148, + -88090850520.17824, + -91644749866.29037, + -95016758541.86508, + -98127703131.07063, + -101514635457.07993, + -104642293989.48038, + -107898509858.40742, + -110756407797.42361, + -113781393040.73068, + -116524607555.83209, + -119327902876.79927, + -121914815094.4125, + -124346000825.79683, + -126787742256.715, + -128941502521.32855, + -130739129512.74153, + -133164199424.80707, + -134713484713.4476, + -136328640449.80708, + -138002234868.82584, + -139403475754.08682, + -140434231903.49887, + -141984496479.3263, + -142845517940.628, + -143773259252.90356, + -144631223649.13156, + -145223805216.51074, + -145970825207.26373, + -146783633723.14697, + -146723140367.19397, + -147516963704.06537, + -147871821489.4916, + -147541890764.0236, + -148528157891.1219, + -148804886478.38828, + -148338699838.98575, + -148033786181.2257, + -148590340634.06918, + -149366850094.0469, + -148347169884.8489, + -148260646645.4415, + -149350378322.72067, + -148195044600.74625, + -147542927223.87057, + -149463099666.11725, + -146650831622.59436, + -149234130094.12204, + -147784248099.39355, + -147870236374.3331, + -148493275989.55423, + -146380755010.33228, + -149719844705.16043, + -142145797981.94864, + -153528744536.4066, + -143570838544.52417, + -146951147173.71436, + -141750030951.95856, + -156787673423.1274, + -131552561952.51035, + -157095029074.02496, + -159842505931.5641, + -130538377117.63054, + -137632863432.8366, + -162251162461.08862, + -123584409081.58727, + -163613731106.3827, + -168455582631.1348, + -102798768998.00749, + -229043967949.44464, + -6896973894500.77, + -7348450114842.802, + -5853887990681.368, + -6966849727568.852, + -7039081392442.753, + -6998566746138.119, + -5889509130804.67, + -7172257265993.033, + -6115397321366.249, + -6892366278233.906, + -6203880968842.276, + -6560322849286.582, + -6460577958852.834, + -6374096845319.176, + -6341090913319.222, + -6239292343690.245, + -5966279527975.594, + -6380136542851.268, + -5977214389675.224, + -5940365995370.063, + -5996746385327.5, + -5779617272588.396, + -5828132693909.311, + -5651665973850.399, + -5616943817127.155, + -5541334001466.472, + -5454456556093.115, + -5357983469274.305, + -5219994295684.415, + -5152747424290.303, + -5051897886497.416, + -4947070591410.22, + -4843554208595.5625, + -4719617246868.563, + -4594733669291.797, + -4492987111596.984, + -4369269181280.825, + -4257672848079.7837, + -4130325346421.828, + -4003629061805.6577, + -3862120746519.6206, + -3744256158533.4224, + -3619302878927.814, + -3486043129339.8853, + -3355236559728.3657, + -3226293408128.384, + -3089649546185.3027, + -2962327431334.3467, + -2837280037368.363, + -2713272278714.919, + -2580749465979.351, + -2458702141127.297, + -2335073298301.517, + -2225791103513.4653, + -2102086019028.449, + -1991618568733.61, + -1879096641730.5437, + -1780674276287.4749, + -1671634836165.3794, + -1575325179564.7275, + -1482395190216.3926, + -1392210997423.4377, + -1301221285278.4417, + -1224171122800.9084, + -1141942973024.632, + -1069794477242.3928, + -996285090568.1049, + -932817934984.5057, + -866594269371.7701, + -812875837146.6577, + -752908738810.3583, + -698265837205.0312, + -655416643383.0881, + -604901091624.3003, + -562427731512.0459, + -521867397767.06866, + -487719481796.40704, + -450205652319.16376, + -417951312545.2872, + -386056065151.3455, + -363663847557.41394, + -330662669686.84546, + -312212595897.2607, + -281926333552.2476, + -268643770394.53268, + -243791049510.9623, + -229352478668.5152, + -215716048294.3173, + -188776026854.5179, + -185831120420.9453, + -161891025970.73822, + -164098216944.95224, + -137945264608.23642, + -131384118503.98473, + -123723288357.87306, + -113521626214.82935, + -108639155995.79611, + -94912732460.53998, + -78351433774.88599, + -103407191788.94221, + -66867598677.61191, + -59973738026.56602, + -73659007100.17532, + -58835247158.43736, + -49087511005.14728, + -68985721973.02359, + -9117552650.196272, + -63478150565.266914, + -42493234817.91169, + -46731673945.408356, + -27919181145.84892, + 14387505389.238886, + -71449591056.4305, + 24400684056.422638, + -78424890008.40788, + 21177688796.816784, + -64875028884.93833, + 79675869098.32565, + -147203868745.8846, + 73186654249.51797, + 22858802474.8592, + -9646129193.71164, + -117376069124.46225, + 212357783341.0598, + -230227317164.73834, + 66110368456.91885, + 34697073219.43951, + -890608914.2212005, + -1409683631.0901024, + -1590057224.0338042, + -1776449361.6580398, + -1815874511.296906, + -1333112326.0096078, + -1027783719.421536, + -818345536.6593359, + -238999084.27030525, + 126349650.56084684, + 821757851.6758286, + 895458548.0589703, + 1831404501.0042977, + 2626560139.255811, + 2709968399.5520425, + 4162139210.044906, + 4377457200.360671, + 5594423278.978078, + 6570976044.9846945, + 7542291950.995884, + 8553737968.163072, + 10245784600.183159, + 11053921057.82315, + 12995647496.703077, + 14385934695.422956, + 16586781035.596365, + 18076771522.7055, + 20537386191.191517, + 23035076901.59491, + 25390978221.218143, + 28337831139.252735, + 31662694540.95778, + 34964146663.277306, + 39029759208.47409, + 42905538573.85108, + 48082524452.22317, + 52512639438.93325, + 58557599688.112144, + 64540288840.00737, + 71386962834.42053, + 78617359737.44536, + 86848440588.38593, + 95914972170.69711, + 105429064857.36108, + 116193490827.67586, + 128018526226.40483, + 140583548691.22913, + 154629699507.78745, + 169685050825.39807, + 186452193655.4954, + 203905962744.4858, + 223844138560.64688, + 244679327201.0144, + 267212574203.67377, + 292247136107.70386, + 318360858441.457, + 346824510045.2448, + 377375372642.96844, + 410035724591.2262, + 444827829039.62775, + 482022315685.03503, + 521506204610.932, + 563406429460.2997, + 608113576224.2137, + 654579802444.9884, + 704147429065.8435, + 756217600894.2373, + 810521696102.8252, + 867597973404.4869, + 927402839836.3711, + 988982346630.18, + 1053574341341.9514, + 1120204376644.1501, + 1189000308518.5356, + 1260279753142.9497, + 1333400862870.1924, + 1408650008262.6711, + 1484380186411.5295, + 1563810945313.485, + 1642789029945.1812, + 1724599689003.727, + 1806515993846.6824, + 1888738946406.6023, + 1972080969691.6575, + 2057197329601.2422, + 2140550677208.0112, + 2226152067235.21, + 2310091664101.6963, + 2393078048318.9634, + 2476388398511.333, + 2559550056216.877, + 2640962387999.4795, + 2721287687509.029, + 2802313246636.39, + 2877470676196.0195, + 2958832971861.103, + 3030384489397.2793, + 3104793950385.6963, + 3170661756133.753, + 3249186861962.9233, + 3312389376237.383, + 3375408502735.6377, + 3451114450638.123, + 3495848628262.976, + 3554161313083.558, + 3631537461312.6616, + 3684153954418.8926, + 3712014868887.234, + 3776254407902.4873, + 3840033436187.0947, + 3874240487443.3657, + 3923695188045.381, + 3940805019747.575, + 4033456849284.7427, + 4013803547108.6875, + 4093028108104.857, + 4120540860439.951, + 4190539388661.206, + 4112797652233.613, + 4205131681996.2754, + 4266013910882.618, + 4338782740381.103, + 4218793915181.107, + 4205852339758.143, + 4512936601854.772, + 4169028155012.2314, + 5750950874032.763, + 117457837153.71594, + 89431184897.38176, + 93530651855.53961, + 89555353281.60115, + 92920123905.97194, + 92123412963.55022, + 91358834107.3168, + 93226160035.82272, + 93129706916.8063, + 92183709536.82062, + 93692678104.28482, + 93035064724.48326, + 94080390615.04375, + 93958627301.47078, + 94792290515.87263, + 93946905747.99896, + 95236029600.19943, + 96222843769.64838, + 95782666941.97623, + 96242312701.31761, + 96482653816.17732, + 97778915002.65118, + 97515860776.91637, + 98264652186.38116, + 99401442544.05336, + 99389950876.4595, + 99898680891.84813, + 101363577492.99162, + 101165766353.12512, + 102335904668.22575, + 103136123632.84996, + 103874431341.41907, + 104853187593.9377, + 105552130888.69473, + 106499200763.43098, + 107540072153.16876, + 108388359596.28033, + 109942680926.9665, + 110404652969.13643, + 111804443477.64139, + 113052197103.47243, + 114106187187.57391, + 115418721247.38159, + 116666269291.94997, + 117842856990.61548, + 119404033605.16397, + 120807231163.0965, + 121808672748.56071, + 123616095785.07903, + 124663679549.16182, + 126127664605.1624, + 127795133982.90918, + 128854272924.439, + 130255607185.50085, + 131562077920.83447, + 133102599494.99126, + 133745447548.72905, + 135497743416.14308, + 136345223249.33467, + 137064193019.67009, + 138225958840.32922, + 139016693465.38562, + 139555878527.31213, + 139695085334.70285, + 140541269729.5418, + 140674029083.64084, + 140429812380.41574, + 140422175535.386, + 140059292762.1901, + 138908664684.25372, + 139050635405.8354, + 136975484625.0071, + 137173854880.24683, + 134691892993.87375, + 133389368216.65129, + 131535793363.88864, + 130027552988.1522, + 126426894374.97404, + 125659250810.6138, + 122084042555.57396, + 119653279192.94557, + 117128182970.74225, + 113894906812.01636, + 110281957481.58902, + 107593006447.43692, + 104713281641.17029, + 98881395972.34496, + 99385531364.79001, + 91337473297.17857, + 93816147687.61723, + 84371411992.77495, + 80242147536.04567, + 80624316635.30176, + 78052255970.81168, + 72335747223.81403, + 68206482307.176155, + 60791820966.0941, + 66340245664.2127, + 63682662499.16717, + 47548811122.7992, + 61093735818.58365, + 35440096997.48263, + 49331504131.98354, + 56965212909.881134, + 20939670078.47103, + 49741711071.11012, + 32037496012.74973, + 55346016699.95062, + -3189709794.673503, + 49801896853.244804, + 17713820874.285164, + 20611916670.992092, + 21562007021.807335, + 13746640860.736305, + -2589088197.439721, + 49824768229.53356, + -20097175479.717415, + 106782823095.44429, + -70088201123.18967, + 25923745893.196125, + -92263061699.79088, + 118195946938.69258, + -13596818743.894989, + 6661534971.44554, + 84159747390.95819, + -145339070213.7371, + 155999706433.04257, + -45740164751.05882, + 1.2070242170112624e+23, + 1.1501784140230704e+23, + 9.81628296885988e+22, + 7.37956035653349e+22, + 4.820250292875562e+22, + 2.7145117120177656e+22, + 1.323537100775031e+22, + 5.77687556436081e+21, + 2.5077829761647074e+21, + 1.3295788803351225e+21, + 9.782016549719966e+20, + 8.906208688496674e+20, + 8.717875670925966e+20, + 8.677013851537737e+20, + 8.66201864059972e+20, + 8.650309509319675e+20, + 8.638367755951419e+20, + 8.625698812029073e+20, + 8.612206226510802e+20, + 8.597836919370837e+20, + 8.582539317758271e+20, + 8.56626128496336e+20, + 8.548949734774614e+20, + 8.53055042410569e+20, + 8.511008200917094e+20, + 8.490269325066539e+20, + 8.46827913626966e+20, + 8.444985939218205e+20, + 8.420338744249821e+20, + 8.394291372285466e+20, + 8.366800440209021e+20, + 8.337828933880187e+20, + 8.307346846361108e+20, + 8.275331756523382e+20, + 8.241771656091544e+20, + 8.206666133576124e+20, + 8.170027942332054e+20, + 8.131884859720123e+20, + 8.092281831445814e+20, + 8.051282435173088e+20, + 8.008970440351971e+20, + 7.965451340519651e+20, + 7.920854164373258e+20, + 7.875331768024366e+20, + 7.829061669789409e+20, + 7.782246508018405e+20, + 7.735113618907534e+20, + 7.687914019025994e+20, + 7.64092139048987e+20, + 7.59442929301192e+20, + 7.548749465718037e+20, + 7.504207828015278e+20, + 7.461140330505735e+20, + 7.419889525529516e+20, + 7.38079856991172e+20, + 7.34420652833302e+20, + 7.310442651911815e+20, + 7.279821132188941e+20, + 7.252634571196784e+20, + 7.229149833386206e+20, + 7.209602124041129e+20, + 7.194190489194846e+20, + 7.183074402271582e+20, + 7.176370056881996e+20, + 7.174148083637058e+20, + 7.176432399160473e+20, + 7.183199295523628e+20, + 7.194378351135852e+20, + 7.209853381545905e+20, + 7.229465357079255e+20, + 7.253014946553159e+20, + 7.280267011222143e+20, + 7.310955003750201e+20, + 7.344785488817654e+20, + 7.381444660749865e+20, + 7.420602634417723e+20, + 7.461920275001617e+20, + 7.50505362301819e+20, + 7.549660159041831e+20, + 7.59540303744787e+20, + 7.641955888514082e+20, + 7.689006992482653e+20, + 7.736261421344808e+20, + 7.783445919838977e+20, + 7.830308173064916e+20, + 7.876621448994837e+20, + 7.922181854768451e+20, + 7.966812355498553e+20, + 8.010359185329965e+20, + 8.05269424535013e+20, + 8.093710881879902e+20, + 8.133325937015747e+20, + 8.171475804190777e+20, + 8.208115929897952e+20, + 8.243218287783885e+20, + 8.276770730451464e+20, + 8.308773769291099e+20, + 8.3392399445e+20, + 8.368191346442597e+20, + 8.395659111246492e+20, + 8.421680719192537e+20, + 8.446298794335104e+20, + 8.46956116651151e+20, + 8.49151789961789e+20, + 8.51222227805586e+20, + 8.531728189043813e+20, + 8.550090539502169e+20, + 8.567363071381923e+20, + 8.583589047664889e+20, + 8.598729646963712e+20, + 8.612168905250517e+20, + 8.61984335045115e+20, + 8.600278201293953e+20, + 8.458216267946048e+20, + 7.838125343984892e+20, + 5.6281684492152164e+20, + -1.0658235180212252e+20, + -1.8454943741316285e+21, + -5.735834995346208e+21, + -1.3261615006114738e+22, + -2.590875015815517e+22, + -4.44692043991238e+22, + -6.838200722005452e+22, + -9.55418429676609e+22, + -1.2276235930683206e+23, + -1.4667836132477514e+23, + -1.6464131870889988e+23, + -1.7524552453364522e+23 + ], + "scaled_nonlinear_residual": 0.02327462924450598, + "scaled_residual_vector": [ + -1.9600662200544215e-07, + 1.3822904525228725e-07, + -1.315279202182388e-07, + 2.908968778079842e-07, + -5.218420706833972e-07, + 1.3837813501769275e-07, + 1.5063507670141185e-07, + 2.9953419891350504e-07, + -5.090369683385627e-07, + 2.403475663162518e-07, + -1.1042292386093997e-06, + 1.643766705705949e-06, + -5.644630713592441e-08, + 8.176935111364067e-08, + -1.632591352826457e-06, + 1.1612348204574983e-06, + 1.9560485279959463e-07, + 1.0577584979499222e-06, + -3.584584629100431e-06, + 2.7859896226180655e-06, + -1.4104222498433808e-06, + 1.7164411162584654e-06, + -1.8852665613845789e-07, + -2.4505197799426646e-06, + 4.052138938032628e-06, + -6.817311123678865e-06, + 7.553771885383883e-06, + -1.5155690669558586e-06, + -4.146631242095172e-06, + 4.607633153853399e-06, + -5.453080193073087e-07, + -3.1302974520209636e-06, + 3.775496480249847e-06, + -5.514873542027118e-06, + 4.327144301289731e-06, + -1.6414222604332056e-06, + 2.297777721070579e-06, + -6.667361538341547e-07, + -1.013164746355009e-06, + -3.6622620592022115e-06, + 4.259450304708611e-06, + 4.310011744384198e-06, + -1.2514361500757009e-06, + -8.518173064765927e-06, + 1.155351128806953e-06, + 5.223585717288296e-07, + 1.7259353418063451e-06, + -7.32081184464681e-06, + 1.6785357428122238e-05, + -9.950801255325918e-06, + -6.539538471727924e-07, + 1.812944957056616e-05, + -2.102855221357286e-05, + 7.772944006425382e-06, + 2.714070193285682e-06, + -8.5052614853097e-06, + 1.0820732672952746e-05, + -1.1261181803664175e-06, + -3.240268348135083e-05, + 2.7483914656923434e-05, + 3.496446761188431e-05, + -4.2950898864556734e-05, + 8.380728800248733e-06, + -1.7900245983183327e-05, + 4.211459973338563e-05, + -3.091958633222821e-05, + 9.856579165719278e-06, + -2.7330352404273363e-05, + 1.2454515244039035e-05, + 8.682144189382225e-06, + -9.201864796940273e-06, + 3.57044324318975e-05, + 1.0529846929447116e-05, + -0.00011183934653162692, + 0.00010026908110834381, + -1.0175555253052396e-05, + -3.283920679973727e-05, + 2.2875392876831467e-05, + 1.9230266476750802e-05, + -7.726947889011598e-05, + 6.755439276525319e-05, + -8.475933427958487e-08, + -2.5876187356704777e-06, + 6.407751630491207e-06, + -3.628629484099893e-05, + -3.1439596878173104e-06, + 6.812361739284149e-05, + -7.325624643946754e-05, + 2.6655228756945476e-05, + 3.014110019717643e-05, + -9.924214320946639e-05, + 5.994437373154998e-05, + 7.625286678158908e-05, + -2.929603239592474e-05, + -8.792822906798813e-05, + -6.666616996512951e-06, + 9.619768008306761e-05, + -3.582473619520619e-05, + -3.85678510121085e-05, + 8.35031792704472e-05, + -2.6234276758490596e-05, + -7.276278772373156e-05, + 9.274736483634366e-05, + -0.00010926468603847904, + 7.629244851476078e-05, + -9.101396559749465e-06, + 3.0752598332344595e-06, + 3.904371391525295e-05, + -5.104152009638168e-05, + 9.021343239443131e-05, + -0.00018192288397140608, + 0.00020254710258158417, + -9.896737391720458e-05, + 1.1356270355374785e-06, + -0.00011585700327347775, + 0.0002088501192894945, + -0.00027683155978591164, + 0.0001763037672916428, + 0.00020000438048917567, + -0.00020612240256272812, + -9.86078294121456e-05, + 0.0001726184744658032, + -0.00020599212351635372, + 0.00015285241488338774, + 0.00017468016966964886, + -0.0002759604221028592, + 0.0005904712796607284, + 9.106713644322312e-06, + 7.563933475896442e-05, + -0.00014676632037076998, + 3.8551157119002376e-05, + 6.443937813429837e-05, + 7.103329096708531e-05, + -0.00019701092639224955, + 0.00016196420960585856, + -0.00015215858465348811, + 0.0001319052103449686, + -0.00012171865744682738, + 5.2575086671159376e-05, + 3.1467860951353045e-05, + 1.3565713695164775e-05, + 2.8574117079331952e-05, + -3.345809179033701e-06, + -0.00018873481008490928, + 0.0002473051015520597, + -9.142309829590386e-05, + -6.618349715138699e-05, + 9.961259120208705e-05, + -0.00011154906213070236, + 9.172165576679369e-05, + -8.685540895742463e-05, + 7.640112554047457e-06, + 3.3967116742437076e-05, + 4.460982503216676e-05, + 3.7905305501927504e-05, + -0.00010302843366126703, + 7.941666609503976e-06, + 1.538263650172001e-05, + 2.0451897341927504e-05, + 4.992512358492188e-05, + -1.859717382866143e-05, + -9.080020428698438e-05, + 1.1848895474401226e-05, + -2.1504780336422272e-05, + 6.876889439661244e-05, + 4.091905451601615e-05, + 3.387156576863943e-05, + -0.00013783892101565224, + -7.696816238825415e-06, + 5.928798704427539e-05, + 1.4721021676478207e-05, + 1.1075916425490154e-05, + 4.3343791861285475e-05, + -9.028481296160462e-05, + -4.669333412634259e-05, + 3.730263987789719e-05, + 0.00012732174733576406, + -7.084575901695938e-05, + -3.0159795982032383e-05, + -0.00011639587103552257, + 0.00021888084314362257, + -8.007966296473352e-05, + 6.242569440696064e-06, + -0.00013584956704053695, + 0.0002067964294704782, + -0.00012479892666521572, + -2.249117170698073e-05, + 6.218495801724198e-05, + 8.438706349192011e-05, + -0.00018000581446254318, + 0.00015068802326883475, + -8.483200122604644e-05, + 6.691807332940414e-05, + -0.0001301600094204551, + 9.01799461409418e-05, + -0.00013729860337571292, + 0.0002550677676258785, + -4.292412179158965e-05, + -0.00020701125586137796, + 0.00023792788891172317, + -8.760043702072533e-05, + -5.1913357660141035e-05, + -8.074443217731028e-05, + 0.00014629220033236847, + -3.064580470324087e-05, + -1.2384873426846562e-05, + -0.00011479669058939438, + 0.00024265642989252146, + -0.00016900130347543543, + 0.00017171674801951718, + -0.00025290577724098803, + 0.0001584839939025866, + -0.00011319604682932421, + 6.357966478197492e-05, + 0.00019950192726842831, + -0.0002824950181761289, + 0.00018371086745755307, + -0.0002102894600002246, + 0.0003027366849274263, + -0.00017860951865193017, + -4.245599998636935e-05, + 2.4218285674507095e-05, + -4.503345009363141e-07, + 8.631355463361628e-05, + -4.167344546441689e-05, + -0.00021544365818788034, + 0.00037360393928199373, + -0.00014884914747157824, + -0.0001488065759036856, + 0.00012552034853690803, + -4.075711736481591e-06, + -5.8240056341248925e-05, + 0.0001942383862484226, + -0.00033330150652372437, + 0.00018070246892949883, + 3.3958149074539126e-05, + 8.212517906613662e-05, + -2.050960929436796e-05, + -0.00023226210554198426, + 0.00022428357223969644, + -0.00020739048785459183, + 0.00022760419522000516, + -0.00013856725597987784, + 0.0001536191203811857, + -0.00026392660656402714, + 0.0003394546447926997, + -0.00018785700526400908, + -6.352056430979105e-05, + 4.147441546280158e-06, + 0.00017743124421927816, + -0.0003074622949198958, + 0.00028630194893197985, + -7.659624404697002e-05, + -4.800632123053226e-05, + 9.260298455404387e-08, + 2.3894622291718142e-08, + -1.3103493615793574e-07, + 1.5353826281092235e-08, + 2.571295654442665e-07, + -1.4807526356928905e-07, + -1.3589025970409068e-07, + 2.188468245065366e-07, + -1.6537502643230709e-07, + 6.514852006598641e-08, + -5.638690695564839e-07, + 9.9549490809546e-07, + -2.8281318462645015e-07, + -1.0330317920513628e-06, + 1.8002126526421891e-06, + -1.8343267017383918e-06, + 1.5880138297224407e-06, + -4.565419963698243e-07, + -5.731565680576336e-07, + 6.880489401310625e-08, + 1.383245049727072e-06, + -2.845568140670438e-06, + 3.2671363600217753e-06, + -1.7359872874123506e-06, + 1.6808679389970088e-06, + -3.964876329434604e-06, + 3.830772264176608e-06, + -8.421832195252315e-07, + -2.96859750145092e-06, + 2.623620490923983e-06, + 1.4662725385089933e-06, + -2.282181018880387e-06, + 2.6515110657473585e-06, + -4.094552300172457e-06, + 6.490285075238924e-06, + -1.1998680782120899e-05, + 1.1841043912751784e-05, + -5.374158892370083e-06, + 1.289143996078904e-06, + -3.0288932312597368e-06, + 5.519918914805211e-06, + 6.048654287086132e-07, + -7.763320545069907e-06, + 6.1445541485715614e-06, + 1.7160117980310708e-06, + -7.11413905404107e-06, + 5.545286763804305e-06, + -2.782972115442113e-06, + 5.0927513839689e-06, + -1.4259242935076818e-05, + 2.1115131897136625e-05, + -1.6724052067001248e-05, + 3.029779214015282e-07, + 1.851335767394883e-05, + -2.0435700002886785e-05, + 6.794750926944194e-06, + 3.5420588241547864e-06, + -1.5781831556265153e-06, + -3.5056825812760827e-06, + 2.3348265271735404e-06, + -6.598626020049596e-07, + 2.1484396138708524e-06, + 4.818542828307336e-06, + -1.9577985641305948e-05, + 1.3612633138462063e-05, + 2.2117475165196542e-06, + -6.033198088943647e-06, + 7.3279028581424e-06, + 3.2267734012398337e-06, + -1.5249833103525698e-05, + 9.338327164115089e-06, + -3.7873784151151915e-06, + 2.557773217796995e-07, + 7.735697430932518e-06, + -2.3955233638840787e-06, + -3.1066513717575843e-06, + -1.3782359679895955e-05, + 2.719577681885547e-05, + -1.5269426687427323e-05, + 1.2271892233219778e-05, + -1.4370377196645163e-05, + -9.282945549379876e-06, + 9.993088417578449e-06, + 1.5012708813429932e-05, + -1.0363924759642688e-05, + 9.97125351006493e-06, + -1.4170735903803456e-05, + -8.278868201432657e-06, + 6.0865966177610525e-06, + 5.837115792614365e-06, + -1.6470201287234416e-06, + 2.020365976251703e-06, + 5.253888819013986e-06, + -9.987258142644797e-06, + 1.5455197224677345e-05, + -2.196750417778149e-05, + 3.390264202946571e-06, + -3.893427464043927e-06, + 2.6757131051452457e-05, + -1.9462693276058798e-05, + 1.6949216557031197e-06, + 1.150881156756341e-05, + -3.1699341457036334e-05, + 2.327615610913641e-05, + 2.3648907950095785e-05, + -2.8125014277513087e-05, + -1.9521909985527745e-05, + 3.141304226752867e-05, + 5.071056418366271e-06, + -1.8262678658086436e-05, + 9.995243131000468e-07, + -4.638969895251533e-06, + 2.3553066302157317e-05, + -2.821732371106887e-05, + 2.458144809599209e-05, + -9.551258698458233e-06, + -3.1541854978426974e-06, + -2.4120721842608384e-05, + 3.569048597391925e-05, + 2.7747348207889968e-06, + -1.1159935915811162e-05, + -2.7163818534278176e-05, + 2.1436744261769875e-05, + 2.8011085615054634e-05, + -4.8254412293003173e-05, + 3.634314316581665e-05, + -0.00032623847599040217, + -0.0002890049146985724, + 1.9795218231240136e-05, + -2.4029578188426373e-05, + 2.775152172953718e-05, + -1.5973702495930433e-05, + -1.4546892150001018e-06, + 1.6443284743588535e-05, + -1.595457929554405e-05, + -1.0186366297211601e-05, + 1.9731505824059878e-05, + -1.4348524457245304e-05, + 1.4421048591916823e-05, + -1.1232208321413614e-05, + 5.0106459120900765e-06, + -1.7160840365498233e-05, + 4.0820620426274055e-05, + -5.9148105967128235e-06, + -4.343436424173985e-05, + 1.0368466221530782e-05, + 9.752155338737791e-06, + 2.9351021563844244e-05, + -4.248667240402347e-05, + 3.2565802288444295e-05, + 1.2729605640984454e-05, + -5.563990069374989e-05, + 2.2187985636045667e-05, + 4.303204428312687e-05, + -8.192773595114123e-05, + 6.959259740033643e-05, + -7.290678731130336e-06, + -1.3322271650286272e-05, + 2.1336381491984353e-06, + -2.916419684612485e-05, + 1.8526748476438592e-05, + 1.4626463640392163e-05, + -6.323083289904008e-06, + 4.5247789677861976e-05, + -0.00012669229678345195, + 9.586899350697815e-05, + -4.355454648740339e-06, + -3.810211310375547e-05, + 2.4750069666683835e-05, + -7.5745175720479606e-06, + 3.7001363647532356e-06, + 6.626117769892289e-05, + -5.072643851871207e-05, + -7.958360886281501e-05, + 0.00012113425835166986, + -0.00011461888875271168, + 8.136041182900529e-05, + 4.0513748072465094e-05, + -0.0001275590057540165, + 5.866248681117967e-05, + 2.5297222952013766e-05, + 2.871821172344796e-05, + -0.00013721752625816107, + 0.0002082022506394392, + -0.00015704399426795713, + -2.5072405275584278e-05, + 0.00012463204147936075, + -4.2268720843746194e-05, + -6.020812524073894e-05, + -1.0936120759094122e-05, + 0.00016984571573326423, + -9.25613026581944e-05, + -7.088694605849543e-05, + 4.2428219544154586e-05, + -3.8141186332876015e-05, + -4.2833167100738216e-05, + 0.00018458795055523947, + -0.0001672600941670053, + 0.00022111493657316715, + -0.0002472509742259905, + 9.680252111555368e-05, + 2.298480052033293e-06, + 1.1960668947477205e-05, + -0.00011250753501796694, + 0.00021025072253688965, + -0.00014320941049918138, + 6.161772577755923e-05, + 4.89655217982816e-06, + -5.169166298812028e-05, + -1.4768535866738676e-05, + 5.048756126188672e-05, + -2.1363623877695804e-05, + -6.976822815535232e-05, + 0.0001791052861874354, + -0.0001990715947287542, + 0.00019123428715202674, + -0.00027461950674261904, + 0.00014441257005705013, + 0.00016291875776118517, + -6.769446898652046e-05, + -0.00010873078790354374, + -2.0377120371997426e-06, + 2.3309230955620056e-05, + 0.0001602984305354615, + -0.00013660559015848416, + -0.00014055701188952715, + 0.00019755051489585203, + -0.00019753135310445326, + 0.00027444286817436146, + -5.590740049012358e-05, + -0.00021698758830156155, + 0.0002759407719057679, + -0.0001507162751443739, + 3.460133448173446e-05, + -0.00022618615735813132, + 0.0002948747856776278, + -0.00017249844377140622, + 5.4934176991033665e-05, + 1.7524088577218196e-05, + -9.667398763518912e-07, + 2.763823577295875e-05, + 8.69745245915509e-05, + -0.00013053403166996897, + 0.00011588610608749086, + -0.00028388316672630146, + 0.0002157006352759091, + -3.9028528076547056e-05, + 0.00020947753445804004, + -0.000206334123604342, + 3.10900121506415e-05, + -3.574959591880792e-06, + -0.00010396938466520252, + 0.00016707798949077077, + -0.00020955203077297044, + 9.792198876931387e-11, + 6.613330355149045e-06, + -4.6844819093302235e-06, + -1.0619399615513367e-06, + 5.8192933098490155e-06, + -3.4174280946895934e-06, + -6.462653792324788e-07, + 5.2750722610775e-07, + 3.594164834226431e-06, + -4.7232211783482935e-06, + -2.0967637820643672e-07, + 9.63034329644066e-07, + 1.9043267550863788e-06, + -1.2729133935429023e-06, + -9.075436062646746e-08, + -1.4352663837684185e-06, + 2.8269286782198945e-06, + -1.8952351026711293e-06, + 1.0682503078874276e-06, + -4.3780744332264e-07, + -1.015390633197489e-06, + 1.3142962833477793e-06, + -3.6407656878728034e-07, + 3.144376502790752e-07, + -5.842216422324917e-07, + 5.03453995504889e-07, + -6.925051887698279e-07, + 8.497182086229354e-07, + -5.690827664955563e-07, + 1.66396760960934e-07, + -2.4736286144454407e-09, + -1.4305509786778014e-08, + -9.620325075611906e-08, + 2.2686089226068798e-07, + -1.3251668326431706e-07, + -1.612681793553189e-07, + 3.4686392566923323e-07, + -1.679960957032633e-07, + -1.1924792314961402e-08, + -4.6337968520808866e-08, + 1.7818907198835187e-07, + -2.8955831659200026e-07, + 2.5281559561558344e-07, + -1.341309603858257e-07, + 1.3664505632420978e-07, + -1.7012666085446826e-07, + 4.083212355318761e-08, + 8.533002805837171e-08, + -4.5765974883321995e-08, + -1.966942847130207e-10, + -1.4702026153924236e-10, + -2.853608905847556e-08, + 5.4759885373972135e-08, + -2.6574670272477644e-08, + 1.843762927552011e-10, + -7.993095824107272e-11, + -2.40930154989854e-10, + -1.3912166767863027e-08, + 2.7198447255144197e-08, + -1.3316936014894612e-08, + -4.115178866476807e-08, + 8.045322782151206e-08, + -3.944441331134574e-08, + -1.8465014914805998e-10, + 2.6589216276671785e-08, + -9.197808597172219e-08, + 1.0409031870799595e-07, + -3.8715032167196505e-08, + -5.3202529576656466e-08, + 6.582641779759306e-08, + 2.827762350004639e-08, + -8.387526923745163e-08, + 4.2530117551614595e-08, + -1.4956090626599928e-10, + 4.6603609811484407e-08, + -9.513283278897811e-08, + 9.917106269326037e-08, + -1.0446511234012596e-07, + 5.4161313055844804e-08, + 5.8801123629327925e-08, + -1.2285505756207703e-07, + 6.41493203030245e-08, + -2.2864585374560844e-10, + -3.7574919373049304e-10, + 8.13300241213249e-08, + -1.6975525801939577e-07, + 1.2627401237835948e-07, + 2.223999067064432e-08, + -5.9441295722771004e-08, + 1.1199691260489467e-07, + -3.738958864726933e-07, + 4.599669170853856e-07, + -4.2141245358314874e-07, + 2.2696927420731818e-07, + -1.0596529960752346e-07, + 6.285165808402133e-07, + -1.1153554149803297e-06, + 7.490545987812655e-07, + 3.8046379915394334e-07, + -1.149917986072086e-06, + 1.2714769638283283e-06, + -6.735098342582785e-07, + -8.49174540364812e-07, + 9.018602860969975e-07, + 9.330213310184101e-07, + -2.3929901300962905e-06, + 2.428027861591865e-06, + -3.715199395949079e-07, + -2.155319664318627e-06, + 2.298602780958735e-06, + -1.6664669369037253e-06, + 1.9617623238532457e-06, + -2.2438247397095414e-06, + 2.601271901397978e-06, + -6.30837943181972e-08, + -3.3782099090575033e-06, + 2.129756755516899e-06, + -5.341837450805713e-07, + 1.1859601891332966e-06, + -2.9003652206464338e-06, + 5.020777194840222e-06, + -2.591114926106901e-06, + -1.845465521845179e-06, + -2.9815582490744534e-06, + 9.791623124774176e-06, + -1.198410559079592e-05, + 1.1015915063678583e-05, + -3.628577420557328e-06, + -3.960517557666072e-07, + -4.78449674745462e-07, + 1.6310028927142974e-06, + -4.355665073062829e-06, + -1.9868204932141006e-06, + -1.5492172003490016e-06, + 1.4474109080487787e-05, + -3.871627993550696e-06, + -1.78936577892723e-05, + 2.207308279855062e-05, + -1.4966560258909284e-05, + 2.290289737199546e-06, + -1.450270999521707e-05, + 6.069410118831567e-05, + -6.196721774624806e-05, + 8.786296101070873e-06, + 6.732270822686913e-06, + 4.147805939925396e-05, + -9.036753960656395e-05, + 8.680024590565034e-05, + 6.74499547673173e-06, + -5.280958580042302e-05, + 6.019536965991805e-05, + -0.0001272926577418792, + 6.43950007044726e-05, + 2.6240246831961523e-05, + 4.123818176692513e-06, + 1.570148282632681e-05, + -1.8028594298159452e-05, + -0.000104562316707015, + 7.133668477863704e-05, + 0.00014211628149966008, + -0.00012065319661818939, + -5.742820313659509e-05, + 5.042067197517396e-05, + -5.100977700203849e-05, + 5.310568714821874e-05, + 7.30115532093975e-05, + -0.00017851600103697092, + 2.7407275949146258e-05, + 0.00030786592398714466, + -0.000450796153564594, + 0.0004962117998798532, + -0.00025489118203150514, + -0.0002582601014662823, + 0.0004148646377075542, + -0.00043825367531632575, + 0.0007177024369693297, + -0.0005500876224573989, + -0.00017114872913638363, + 0.00023215514937515813, + 0.00034178044624010945, + -0.00035121231096681024, + -6.349813917050374e-05, + 0.00018447296568904273, + -0.0004898900482534196, + 0.0006890104235635011, + -3.598347157418701e-05, + -0.0002580080442115747, + -0.0002290984978857598, + 0.0006972763375225393, + -0.0006946615155889392, + 0.0008161570861764843, + -0.001505372689826091, + 0.0011335890557455563, + 0.0003519893896992455, + -0.0010401335668792295, + 0.0004092204583505572, + 0.00030931482923888143, + 0.0003403313338013354, + -0.0011044058713181974, + 8.543928088531814e-05, + 0.0009825198416249844, + -0.0004954750180597248, + -0.00012760907208668348, + -6.700159255523293e-05, + 0.0001452775203042889, + -6.072815917695719e-05, + 0.0001826547689126936, + -0.00016540479933437212, + 0.00026098581608232794, + -5.875301383407991e-05, + -0.000904928907826197, + 0.0005658009358205931, + 0.000550061857306441, + 0.00011988311419378635, + -0.0009536353619687394, + -0.0004147003644828463, + 0.0024225764112258677, + -0.0022519933273079506, + 0.0003570994543963708, + 0.0018175340786901967, + -0.0022995593122009995, + 0.0015308810355723517, + -0.0017426187012668701, + 0.0016070143683034, + -0.0007689972138019639, + 0.0006817086357144315, + -0.0017087288064292197, + 0.0017579154149805142, + -0.0005265589456821087, + 0.000278848717905124, + 0.00040151323494057295, + -0.0009122876311990424, + 0.00018443174847425622, + -0.0005045989549299038, + 0.0007469110477940734, + 7.259073315874467e-05, + -0.00017433256434855955, + 0.00048048560442927074, + -0.0008005892010438646, + 0.00040959320078515996, + -0.0007478385371809911, + 0.00028309174808605026, + 0.0008430931229342232, + -0.0022562551590172802, + 0.0034406727150429507, + -0.0023318854761586122, + 0.0009078373217415714, + 0.00016713605268128942, + -0.0006456889590072047, + -0.0012016037270794414, + 0.0014833977636702267, + 0.00041920219841850274, + -0.0003705327123194624, + -0.000700382940608676, + 0.00172556729696267, + -0.0018051700681761937, + 0.00044312305599966646, + 0.0004920476492334527, + -0.0005909220558497288, + -0.0012586559944549758, + 0.0016995842687084935, + 5.804988116198494e-06, + -0.0010868534396000322, + 0.00022692031658986232, + 0.0002136208497402011, + 0.0005925072185137083, + -0.00017855875036670724, + -0.0005422535925792514, + 0.00048265220912286944, + -0.0002405989349390248, + -0.0008781605954130552, + 0.0015243428290164145, + -0.00030865943848284555, + 0.0005177619347827836, + -0.0010072263022004432, + -0.00046081028986479994, + 0.0005612368136534199, + 0.00019852893257649458, + -0.00035726446792499155, + 0.0004209165573639709, + 0.0002525696188087904, + -0.0005572267269337612, + 9.04230892265907e-05, + 0.00048214162056201053, + -0.0007030871791795748, + 0.00020896744877743273, + -0.0002124309335102487, + 8.592803214295747e-05, + 0.0001865939571795461, + 0.0001163715399114378, + 0.0008232796853946487, + -0.001984302904509723, + 0.0020936953082241966, + -0.001072252350218932, + -0.0006463418227201451, + -0.00020794455263346517, + 0.0022521631988937983, + -0.0019801129695552217, + 0.000844399112146612, + 0.00048588655156052294, + -0.0024548670728423054, + 0.003349164332486102, + -0.0020169348765439947, + 3.7467824238258245e-05, + 0.0014062561845481882, + -0.0021713058188267908, + 0.0013416570126201953, + -0.00038546060737350627, + 0.0003424346273803554, + 0.00014564189566260922, + 9.290739815176001e-05, + -0.0009195723860876519, + -0.00023057846821202978, + 0.00017385734401046185, + 0.0015204878742853848, + -0.000518849742716488, + -0.00024062430143635907, + -0.0020139817697580006, + 0.003708784089736546, + -0.003137825498710989, + 0.0022254352168497634, + -0.0016336067199409162, + 0.0015590635618855807, + -8.413791280851582e-05, + -0.0010829235797881842, + -0.0004494939799754324, + 0.0006063276384178519, + 0.0009979254012024788, + -0.0019106522949405844, + -7.90317080164289e-05, + 0.0029889870061528163, + -0.003188314927177523, + 0.0015990478472769768, + 1.213210448453888e-05, + -0.000963664848321445, + -0.0014570583904128106, + 0.005823133237429145, + -0.002912171517326527, + -0.002678049403367384, + 0.0019960312345932534, + 0.0006217042394554785, + -0.0010029535562829641, + -1.814476451968951e-05, + 0.0005183453417517836, + -0.0014685677522663283, + 0.002762772236012339, + -0.0017873410356694214, + -4.047314161545117e-06, + 0.0007248762451602873, + 5.346515506394371e-05, + -0.0017721544804154704, + 0.0033751432361597833, + -0.002945577739604598, + 0.0006518600532550053, + -0.002396506561195792, + 0.004909736356247491, + -0.004933331078863651, + 0.00509209353510021, + -0.004294373478773022, + 0.0030041836255916138, + -0.0022315445869073042, + 0.002817826087803668, + -0.0014973652184231921, + -0.0021265544576589764, + 0.0028897263650833243, + -0.0019006726877573332, + 0.0033201074323205904, + -0.006655671329164661, + 0.007681363094349402, + -0.003543843601056248, + 0.0015763853568820832, + -0.0022229676627232653, + -0.0015107884534543605, + 0.0034525936350436478, + -0.0017410467213991683, + 0.0014601539156833675, + -0.000516270736864121, + 0.0018795466004025508, + -0.00453764049529963, + 0.0021217474820602283, + -0.0012214977308307843, + 0.0023690223220101474, + -0.0016023860455378573, + 0.0, + -0.0005853996324785957, + 0.0006984540583608249, + -0.02327462924450598, + 0.0007767207031946569, + -0.0004622540839152896 + ], + "storage": [ + 2508793556569.7476, + 2502128356816.411, + 2495082142295.9277, + 2487636278474.4355, + 2479771611760.0493, + 2471468507146.1196, + 2462706894311.1084, + 2453466322938.606, + 2443726028022.0146, + 2433465005917.1504, + 2422662101884.697, + 2411296109814.3413, + 2399345884749.994, + 2386790468727.719, + 2373609230306.0254, + 2359782017997.0654, + 2345289327603.3667, + 2330112483218.2114, + 2314233831362.0054, + 2297636947398.2563, + 2280306853005.8438, + 2262230243075.165, + 2243395719959.722, + 2223794032548.07, + 2203418317141.2134, + 2182264336638.5862, + 2160330714066.6045, + 2137619156044.9644, + 2114134661405.426, + 2089885709868.9, + 2064884425484.6628, + 2039146709460.2222, + 2012692337085.1943, + 1985545013705.6729, + 1957732385150.4705, + 1929285998656.4106, + 1900241211201.4634, + 1870637043212.5513, + 1840515976864.1714, + 1809923699589.7883, + 1778908794952.3228, + 1747522384610.7966, + 1715817726713.0393, + 1683849777574.6472, + 1651674724890.1665, + 1619349501899.0078, + 1586931292816.3848, + 1554477040386.0579, + 1522042966564.7402, + 1489684117080.745, + 1457453939916.379, + 1425403906655.312, + 1393583184158.309, + 1362038362238.9373, + 1330813240989.4973, + 1299948679251.8247, + 1269482503541.1921, + 1239449474625.2932, + 1209881307037.1873, + 1180806735155.6128, + 1152251618197.2646, + 1124239075590.497, + 1096789643769.3351, + 1069921445448.7102, + 1043650362893.3088, + 1017990207530.0867, + 992952879408.9749, + 968548511405.568, + 944785594590.3422, + 921671082761.9789, + 899210475665.239, + 877407881800.8429, + 856266062916.0168, + 835786463189.0457, + 815969226758.5729, + 796813207590.6569, + 778315975735.043, + 760473823825.6145, + 743281777272.614, + 726733611024.7046, + 710821875106.8944, + 695537930416.1467, + 680871995534.8197, + 666813204643.1085, + 653349676010.8568, + 640468590048.6201, + 628156275512.2373, + 616398302186.7048, + 605179578221.5602, + 594484450239.1654, + 584296804377.4299, + 574600166539.0913, + 565377800286.9429, + 556612801027.9869, + 548288185354.69025, + 540386974644.70776, + 532892272249.9095, + 525787333821.8313, + 519055630519.1937, + 512680905017.4395, + 506647220390.21606, + 500939002056.4882, + 495541073085.71387, + 490438683228.71014, + 485617532095.594, + 481063786937.17163, + 476764095504.81854, + 472705594469.2459, + 468875913872.6619, + 465263178074.9332, + 461856003632.88513, + 458643494527.3209, + 455615235123.0059, + 452761281217.1391, + 450072149500.6757, + 447538805725.88916, + 445152651843.76447, + 442905512345.971, + 440789620018.74384, + 438797601290.5492, + 436922461331.1436, + 435157569037.38605, + 433496642021.3108, + 431933731698.1656, + 430463208557.253, + 429079747685.1099, + 427778314598.9824, + 20310229596466.246, + 20257523606962.383, + 20201710023897.375, + 20142624834252.91, + 20080097822878.01, + 20013952665207.82, + 19944007074994.254, + 19870073014223.348, + 19791956972859.664, + 19709460326496.797, + 19622379780396.395, + 19530507908682.367, + 19433633797706.848, + 19331543802688.91, + 19224022426653.45, + 19110853330477.574, + 18991820482352.51, + 18866709454254.332, + 18735308871954.95, + 18597412023715.48, + 18452818631032.203, + 18301336782571.41, + 18142785029768.83, + 17976994639389.477, + 17803811994689.453, + 17623101132604.895, + 17434746399758.682, + 17238655204931.926, + 17034760840123.639, + 16823025336553.217, + 16603442315966.723, + 16376039791658.44, + 16140882867881.424, + 15898076280975.074, + 15647766720975.99, + 15390144868860.38, + 15125447082296.354, + 14853956662152.572, + 14576004633277.197, + 14291969976571.137, + 14002279255263.934, + 13707405586777.393, + 13407866922609.29, + 13104223612224.72, + 12797075242839.5, + 12487056764758.89, + 12174833931216.445, + 11861098101673.885, + 11546560477647.426, + 11231945859396.889, + 10917986029386.404, + 10605412883457.125, + 10294951442244.936, + 9987312882918.053, + 9683187734197.424, + 9383239375629.76, + 9088097975037.23, + 8798354986316.559, + 8514558313613.401, + 8237208228189.205, + 7966754101815.692, + 7703591996380.481, + 7448063124598.777, + 7200453172465.904, + 6960992451313.8955, + 6729856826995.6875, + 6507169356502.559, + 6293002548746.75, + 6087381156562.999, + 5890285401286.252, + 5701654529366.693, + 5521390602085.683, + 5349362424061.611, + 5185409523334.633, + 5029346104803.977, + 4880964909055.015, + 4740040919558.312, + 4606334872373.785, + 4479596533359.244, + 4359567718142.649, + 4245985039477.448, + 4138582374892.751, + 4037093054675.7915, + 3941251776128.5215, + 3850796254774.0874, + 3765468626800.231, + 3685016619613.258, + 3609194509072.0913, + 3537763882874.222, + 3470494229838.8813, + 3407163374571.311, + 3347557776325.385, + 3291472709920.2974, + 3238712345385.1367, + 3189089741697.5415, + 3142426768601.065, + 3098553969089.895, + 3057310373775.239, + 3018543277023.7793, + 2982107983514.994, + 2947867532698.4443, + 2915692407573.7607, + 2885460233245.9307, + 2857055469848.0513, + 2830369103652.318, + 2805298339511.5854, + 2781746297185.7573, + 2759621713591.2925, + 2738838652572.3726, + 2719316223415.935, + 2700978309013.7476, + 2683753304306.212, + 2667573865418.9883, + 2652376669721.554, + 2638102186880.099, + 2624694460861.6436, + 2612100902744.092, + 2600272094111.1924, + 2589161600755.1323, + 2578725796359.8276, + 2568923695812.7583, + 2559716797764.205, + 2551068936046.6553, + 2542946139553.5347, + 2535316500180.636, + 2528150048433.196, + 2521418636310.5894, + 2521367279757.5405, + 2528033174153.732, + 2535117617431.673, + 2542646095752.225, + 2550645540242.4775, + 2559144394220.4585, + 2568172681411.2637, + 2577762074833.313, + 2587945965971.6143, + 2598759533766.792, + 2610239812866.4487, + 2622425760485.3774, + 2635358321129.442, + 2649080488333.372, + 2663637362445.054, + 2679076203374.797, + 2695446477096.2085, + 2712799894554.0854, + 2731190441503.438, + 2750674397665.165, + 2771310343460.118, + 2793159152458.504, + 2816283967580.8145, + 2840750159002.617, + 2866625261662.098, + 2893978890259.9546, + 2922882629676.4893, + 2953409898832.8677, + 2985635786194.4297, + 3019636855374.0366, + 3055490919650.024, + 3093276784671.6016, + 3133073959204.111, + 3174962334460.3696, + 3219021833365.863, + 3265332032027.374, + 3313971756670.735, + 3365018660375.392, + 3418548785016.408, + 3474636114873.7715, + 3533352129327.096, + 3594765362838.129, + 3658940980972.4053, + 3725940381405.777, + 3795820828658.1343, + 3868635130585.7983, + 3944431363415.012, + 4023252650260.4424, + 4105136995662.399, + 4190117175743.957, + 4278220680209.516, + 4369469698759.7456, + 4463881140748.476, + 4561466673320.994, + 4662232760092.125, + 4766180679959.376, + 4873306504135.5, + 4983601009213.392, + 5097049505182.942, + 5213631559942.503, + 5333320605995.529, + 5456083420582.828, + 5581879477303.474, + 5710660174979.362, + 5842367957773.672, + 5976935348873.482, + 6114283927960.814, + 6254323289680.833, + 6396950025928.487, + 6542046778632.887, + 6689481411486.226, + 6839106348563.48, + 6990758124947.595, + 7144257189375.358, + 7299407991739.567, + 7455999379378.003, + 7613805315815.629, + 7772585924536.701, + 7932088848986.225, + 8092050908839.572, + 8252200022221.383, + 8412257354442.416, + 8571939646341.149, + 8730961669805.943, + 8889038754645.234, + 9045889329783.865, + 9201237422682.271, + 9354815063816.408, + 9506364547720.613, + 9655640508172.986, + 9802411772288.854, + 9946462966128.291, + 10087595852591.2, + 10225630390520.46, + 10360405511701.928, + 10491779619629.64, + 10619630820262.822, + 10743856900387.799, + 10864375073592.064, + 10981121517121.13, + 11094050725182.215, + 11203134705523.186, + 11308362046510.09, + 11409736881568.414, + 11507277776797.254, + 11601016566047.33, + 11690997155807.535, + 11777274320029.178, + 11859912502657.373, + 11938984643194.465, + 12014571038189.36, + 12086758249204.043, + 12155638065579.576, + 12221306528281.008, + 12283863019214.486, + 12343409418773.45, + 12400049332891.965, + 12453887389658.305, + 12505028604484.514, + 12553577811982.775, + 12599639162034.887, + 12643315677036.908, + 12684708866935.953, + 12723918398392.541, + 12761041814253.598, + 12796174299400.617, + 12829408489027.709, + 270366784497.99246, + 271213840012.5458, + 272115639251.09158, + 273075724247.7699, + 274097866246.03958, + 275186080436.02014, + 276344641607.46857, + 277578100767.53186, + 278891302772.86115, + 280289405026.4808, + 281777897289.1819, + 283362622655.0106, + 285049799737.9975, + 286846046115.0189, + 288758403065.6248, + 290794361643.7912, + 292961890109.5854, + 295269462738.6142, + 297726090015.193, + 300341350199.7341, + 303125422241.6555, + 306089119986.1287, + 309243927594.7092, + 312602036066.33295, + 316176380704.59814, + 319980679330.63696, + 324029470984.5901, + 328338154794.578, + 332923028617.8116, + 337801326972.6544, + 342991257684.34753, + 348512036557.7151, + 354383919269.1147, + 360628229535.90924, + 367267382475.56744, + 374324901909.75714, + 381825430202.46265, + 389794729047.677, + 398259669447.30206, + 407248208945.3577, + 416789354020.4985, + 426913105390.08167, + 437650383857.46893, + 449032934251.31006, + 461093204971.9171, + 473864200694.4163, + 487379305892.0861, + 501672077056.55524, + 516776001816.8961, + 532724223614.50055, + 549549231185.69635, + 567282512847.5088, + 585954176478.6437, + 605592537130.7042, + 626223675383.3668, + 647870970847.171, + 670554616586.6772, + 694291121637.2402, + 719092810168.9705, + 744967327140.8358, + 771917161419.2965, + 799939198228.781, + 829024313384.6108, + 859157021958.8024, + 890315193792.2483, + 922469847548.6284, + 955585033788.8768, + 989617815835.7875, + 1024518355032.456, + 1060230104438.0316, + 1096690112140.4614, + 1133829432310.6, + 1171573639005.0315, + 1209843434684.1335, + 1248555342585.4446, + 1287622469606.7937, + 1326955324330.4634, + 1366462673331.1865, + 1406052418032.6724, + 1445632474120.1968, + 1485111635884.4055, + 1524400408818.3276, + 1563411795248.782, + 1602062019675.7515, + 1640271182702.5337, + 1677963834867.7883, + 1715069464216.322, + 1751522893967.7368, + 1787264589065.5383, + 1822240872630.678, + 1856404055337.4004, + 1889712482441.4133, + 1922130504577.4036, + 1953628379509.2134, + 1984182112758.3767, + 2013773245476.1316, + 2042388598086.099, + 2070019978142.5955, + 2096663860566.4363, + 2122321047962.929, + 2146996318153.3928, + 2170698065378.7085, + 2193437940913.1038, + 2215230498073.4873, + 2236092845860.4175, + 2256044314738.268, + 2275106137365.5044, + 2293301146443.2017, + 2310653491262.8, + 2327188374004.5044, + 2342931806379.3755, + 2357910386806.349, + 2372151097981.485, + 2385681124413.7617, + 2398527689284.077, + 2410717909801.063, + 2422278670101.468, + 2433236510648.1353, + 2443617533017.867, + 2453447318943.5054, + 2462750862462.6943, + 2471552514043.625, + 2479875935578.51, + 2487744065182.557, + 2495179090778.307, + 2502202431506.2993, + 2508834726057.0703, + 39641422084.1313, + 5.977216152432523e+21, + 5.987488239584343e+21, + 5.998512578924518e+21, + 6.01032837769423e+21, + 6.022963386680289e+21, + 6.036438165460552e+21, + 6.050773463721801e+21, + 6.065996528600884e+21, + 6.082143562115892e+21, + 6.099258742752289e+21, + 6.117391962320894e+21, + 6.136596944982358e+21, + 6.15693020320618e+21, + 6.17845059293201e+21, + 6.201219143178377e+21, + 6.225298969285507e+21, + 6.250755192940193e+21, + 6.277654844349954e+21, + 6.30606673874493e+21, + 6.336061323489396e+21, + 6.367710492873984e+21, + 6.401087367811573e+21, + 6.436266037769389e+21, + 6.473321262441364e+21, + 6.512328130930836e+21, + 6.553361676590681e+21, + 6.596496446173287e+21, + 6.641806022577969e+21, + 6.689362501284729e+21, + 6.739235921505364e+21, + 6.79149365420797e+21, + 6.846199750432496e+21, + 6.903414254746589e+21, + 6.96319249023102e+21, + 7.025584323019183e+21, + 7.0906334161016e+21, + 7.15837648376364e+21, + 7.228842559592285e+21, + 7.302052292372106e+21, + 7.378017285291904e+21, + 7.456739494590489e+21, + 7.538210703982791e+21, + 7.622412090822423e+21, + 7.709313898891935e+21, + 7.798875230894353e+21, + 7.891043971148291e+21, + 7.985756845669874e+21, + 8.082939622831622e+21, + 8.182507453258383e+21, + 8.284365342746353e+21, + 8.388408746991806e+21, + 8.494524272116984e+21, + 8.602590460629888e+21, + 8.712478638914828e+21, + 8.824053799903298e+21, + 8.937175493413091e+21, + 9.051698697014504e+21, + 9.167474642191017e+21, + 9.284351574014268e+21, + 9.402175427355892e+21, + 9.520790408616558e+21, + 9.640039478601389e+21, + 9.759764739168976e+21, + 9.879807733106091e+21, + 1.00000096728366e+22, + 1.012021161865621e+22, + 1.0240254630797144e+22, + 1.035997992149124e+22, + 1.0479229033211484e+22, + 1.0597844067385591e+22, + 1.071566798427932e+22, + 1.083254498965659e+22, + 1.0948321017667976e+22, + 1.10628443125917e+22, + 1.1175966105061504e+22, + 1.1287541371757008e+22, + 1.1397429661577639e+22, + 1.1505495966526302e+22, + 1.1611611612061905e+22, + 1.1715655139781614e+22, + 1.1817513154926269e+22, + 1.1917081112349837e+22, + 1.201426401705404e+22, + 1.2108977018923555e+22, + 1.220114588565316e+22, + 1.2290707342643991e+22, + 1.2377609273668708e+22, + 1.2461810780949327e+22, + 1.2543282107856435e+22, + 1.2622004431396283e+22, + 1.26979695349998e+22, + 1.2771179374679419e+22, + 1.284164555345355e+22, + 1.2909388719986873e+22, + 1.297443790779195e+22, + 1.3036829831120405e+22, + 1.3096608152965662e+22, + 1.315382273949497e+22, + 1.3208528913849265e+22, + 1.3260786720679246e+22, + 1.3310660211126384e+22, + 1.3358216756274762e+22, + 1.3403526395464222e+22, + 1.3446661224310837e+22, + 1.3487694825856428e+22, + 1.3526701746999221e+22, + 1.3563757021240278e+22, + 1.3598935737830746e+22, + 1.363231265661079e+22, + 1.366396186718668e+22, + 1.369395649056985e+22, + 1.372236842090364e+22, + 1.3749268104053917e+22, + 1.3774724347353748e+22, + 1.3798804147329938e+22, + 1.3821572504050328e+22, + 1.3843092158765723e+22, + 1.3863423161085492e+22, + 1.3882622193006235e+22, + 1.3900741713346324e+22, + 1.391782922914384e+22, + 1.3933927191087864e+22, + 1.3949073917149656e+22, + 1.3963305512302654e+22, + 1.3976658223490878e+22, + 1.3989170421266007e+22, + 1.400088359074796e+22, + 1.4011842175096735e+22 + ], + "storage_scale": [ + 181596693.2579171, + 216428519.13793194, + 191462077.41281468, + 169403185.5030109, + 149911775.56912416, + 132687643.09228697, + 117465768.61787622, + 104012188.85708137, + 92120352.61609188, + 81607904.60448688, + 72313846.86525701, + 64096033.47292468, + 56828959.356681846, + 50401808.70374328, + 44716732.45626394, + 39687327.996499315, + 35237297.27551747, + 31299262.430074755, + 27813720.3938678, + 24728120.181732047, + 21996048.442553535, + 19576510.568585016, + 17433296.142003104, + 15534418.817314785, + 13851621.901111994, + 12359941.917028746, + 11037323.349471083, + 9864278.55904631, + 8823587.568059355, + 7900033.037013955, + 7080166.302500781, + 6352100.831761689, + 5705329.877165293, + 5130565.491516344, + 4619596.398455214, + 4165162.506387689, + 3760844.114034193, + 3400964.0848471676, + 3080501.469809209, + 2795015.236647525, + 2540576.921076866, + 2313711.1547735343, + 2111343.1475603166, + 1930752.309662626, + 1769531.295575048, + 1625549.8355398641, + 1496922.7952111766, + 1381981.9699138904, + 1279251.1780363156, + 1187424.2694217747, + 1105345.7099465977, + 1031993.4434971093, + 966463.76790576, + 907957.9926322043, + 855770.673560393, + 809279.2446635261, + 767934.8878425087, + 731254.5013108205, + 698813.6437777806, + 670240.3466403763, + 645209.6996656056, + 623439.1300880071, + 604684.2946829767, + 588735.523707613, + 575414.7847830243, + 564573.0847443234, + 556088.290725753, + 549863.332037116, + 545824.7548369999, + 543921.6069179617, + 544124.6348880499, + 546425.7807366749, + 550837.9692846291, + 557395.1824052943, + 566152.8202343663, + 577188.3539231757, + 590602.2789028999, + 606519.3821789687, + 625090.3419364546, + 646493.6827812699, + 670938.1153439945, + 698665.2948175599, + 729953.0393761026, + 765119.056428142, + 804525.232401489, + 848582.5503612245, + 897756.7093571376, + 952574.530134862, + 1013631.2438902357, + 1081598.774290345, + 1157235.1382336162, + 1241395.1080185452, + 1335042.2969971236, + 1439262.8527168352, + 1555280.9663355122, + 1684476.4351215302, + 1828404.546561252, + 1988818.5884783699, + 2167695.3301924043, + 2367263.865734435, + 2590038.262213942, + 2838854.5154107767, + 3116912.3814654415, + 3427822.729200884, + 3775661.143321495, + 4165028.6058226693, + 4601120.192930905, + 5089802.849515926, + 5637703.44407083, + 6252308.4673124505, + 6942076.91865777, + 7716568.130136873, + 8586586.50993136, + 9564345.451273302, + 10663652.9510772, + 11900121.821017547, + 13291407.757130628, + 14857478.968456104, + 16620921.557331087, + 18607285.401763953, + 20845475.922077548, + 23368197.830071915, + 26212457.770108983, + 29420133.680828754, + 33038619.7474984, + 37121556.99563608, + 35324053.16491232, + 1677827602.933678, + 1752167054.2339773, + 1550134046.171419, + 1371616928.4698265, + 1213866071.3342144, + 1074454114.2469966, + 951238148.1144184, + 842326338.1176231, + 746048465.652235, + 660929929.0247235, + 585668796.6515613, + 519115554.23489136, + 460255229.50547135, + 408191615.29745775, + 362133344.5179907, + 321381599.52858955, + 285319263.9998777, + 253401347.8493243, + 225146535.76951537, + 200129727.41356972, + 177975452.8018569, + 158352060.19060707, + 140966585.71259668, + 125560224.7517624, + 111904334.41431363, + 99796904.75484169, + 89059443.7375052, + 79534227.37398475, + 71081872.18226491, + 63579192.14296627, + 56917306.771483235, + 50999970.84387052, + 45742099.773865305, + 41068467.69154643, + 36912557.9684873, + 33215548.312421724, + 29925414.653157227, + 26996139.893777363, + 24387015.235965688, + 22062023.231192872, + 19989292.982878488, + 18140619.04869448, + 16491036.584162362, + 15018446.14435538, + 13703282.333393278, + 12528221.173642388, + 11477921.6687891, + 10538797.566571036, + 9698815.796314282, + 8947318.470816763, + 8274865.708021203, + 7673096.85106115, + 7134607.9506474575, + 6652843.625886782, + 6222001.642386873, + 5836948.743393821, + 5493146.443795201, + 5186585.650804991, + 4913729.111450384, + 4671460.807690129, + 4457041.527040817, + 4268069.9315738, + 4102448.532619373, + 3958354.0537355705, + 3834211.7316736006, + 3728673.1652345057, + 3640597.3759962786, + 3569034.7937577562, + 3513213.9239351, + 3472530.4947701716, + 3446538.9196934425, + 3434945.945104378, + 3437606.3867597175, + 3454520.889365249, + 3485835.674385907, + 3531844.270954638, + 3592991.2545638187, + 3669878.0484079607, + 3763270.873290173, + 3874110.9643918, + 4003527.2074171547, + 4152851.3832178665, + 4323636.249523544, + 4517676.731471549, + 4737034.539914575, + 4984066.588712057, + 5261457.640205773, + 5572257.672712753, + 5919924.53619625, + 6308372.543354063, + 6742027.73451831, + 7225890.657374674, + 7765607.618171066, + 8367551.491652403, + 9038913.324385008, + 9787806.132788118, + 10623382.48563192, + 11555967.673944803, + 12597210.512507455, + 13760254.09019509, + 15059929.095579067, + 16512972.694266139, + 18138276.330922257, + 19957166.27793137, + 21993721.26122639, + 24275132.0700297, + 26832108.709715676, + 29699341.39659016, + 32916022.530799575, + 36526437.732649766, + 40580635.10286175, + 45135183.08516452, + 50254028.69004248, + 56009469.40211049, + 62483253.8651461, + 69767828.44669792, + 77967749.05824961, + 87201280.18471003, + 97602205.99653123, + 109321881.72721517, + 122531557.24728322, + 137425009.0147838, + 154221521.39451376, + 173169263.79374215, + 194549116.240413, + 218679003.03405723, + 182673826.62254, + 182666877.5158702, + 218666444.60518825, + 194531532.99646503, + 173146629.10375282, + 154193835.47506222, + 137392293.41539526, + 122493850.05410123, + 109279233.39145419, + 97554675.70649685, + 87148932.7088051, + 77910651.99502312, + 69706049.82447807, + 62416860.04064658, + 55938523.21261443, + 50178587.81923672, + 45055298.60672045, + 40496350.16991342, + 36437786.38435127, + 32823028.59016183, + 29602017.435976464, + 26730455.06235334, + 24169135.867595043, + 21883355.478698194, + 19842388.76792979, + 18019028.830448378, + 16389179.787061721, + 14931497.113568537, + 13627069.937234819, + 12459140.393338721, + 11412855.71056467, + 10475049.202364385, + 9634046.790134571, + 8879496.080218812, + 8202215.366475589, + 7594060.238996167, + 7047805.752219958, + 6557042.346551278, + 6116083.930290703, + 5719886.716646284, + 5363977.576676423, + 5044390.815835914, + 4757612.411662979, + 4500530.865039832, + 4270393.919222662, + 4064770.4910125337, + 3881517.2384686195, + 3718749.2606654493, + 3574814.4882996376, + 3448271.3804286704, + 3337869.5931565105, + 3242533.331462993, + 3161347.1362916203, + 3093543.8961207294, + 3038494.906092718, + 2995701.828914949, + 2964790.4406223423, + 2945506.0713772397, + 2937710.677161891, + 2941381.5029043434, + 2956611.321633573, + 2983610.2580480194, + 3022709.2287748223, + 3074365.0559416558, + 3139167.335868038, + 3217847.1710791355, + 3311287.9018722665, + 3420538.0037490334, + 3546826.3496410344, + 3691580.071511752, + 3856445.2951761717, + 4043311.0656591393, + 4254336.828811433, + 4491983.888972611, + 4759051.323085616, + 5058716.899777199, + 5394583.628606675, + 5770732.651157097, + 6191783.283269922, + 6662961.128028059, + 7190175.303812343, + 7780105.972840537, + 8440303.515242757, + 9179300.874438008, + 10006740.804149903, + 10933519.97902801, + 11971952.193142148, + 13135953.167644843, + 14441249.825310295, + 15905617.270658076, + 17549147.145930212, + 19394551.522028428, + 21467507.037222076, + 23797044.623717856, + 26415990.872784305, + 29361467.89414465, + 32675459.437401924, + 36405452.07659205, + 40605161.42964668, + 45335354.71106151, + 50664782.41894769, + 56671233.66053365, + 63442731.54967233, + 71078887.29616243, + 79692434.0838529, + 89410964.64150017, + 100378899.59075922, + 112759717.25948599, + 126738479.73228495, + 142524694.537008, + 160355556.60921454, + 180499621.11745912, + 203260964.46392864, + 228983898.40319654, + 258058310.86478755, + 290925716.8598508, + 328086113.94927704, + 370105749.3259065, + 417625919.8132713, + 471372942.2273303, + 532169449.84518605, + 600947191.4546777, + 678761532.950697, + 766807888.0650352, + 866440334.9812222, + 979192709.7619809, + 1106802506.2527041, + 1059838988.469815, + 22326087.21360779, + 23464927.319692835, + 20886213.03190421, + 18600823.180095308, + 16574883.339055361, + 14778463.928727664, + 13185118.859743314, + 11771478.259627437, + 10516888.933002423, + 9403096.95451636, + 8413967.450865611, + 7535237.208801198, + 6754296.258286764, + 6059995.032121284, + 5442474.102325204, + 4893013.845792959, + 4403901.702482343, + 3968314.9637296614, + 3580217.270376214, + 3234267.2140450478, + 2925737.623496313, + 2650444.2844197056, + 2404682.987932546, + 2185173.9326980375, + 1989012.620028011, + 1813626.4823388353, + 1656736.5744931733, + 1516323.7362608844, + 1390598.7036066423, + 1277975.7078424247, + 1177049.155825315, + 1086573.032188124, + 1005442.706797307, + 932678.8679103563, + 867413.3344245912, + 808876.5296926625, + 756386.4250771553, + 709338.7841271815, + 667198.5583422572, + 629492.303252697, + 595801.4992679065, + 565756.6756727031, + 539032.2485010665, + 515341.9939783893, + 494435.08897295035, + 476092.658577819, + 460124.7787020309, + 446367.88849360787, + 434682.5736637974, + 424951.68742382084, + 417078.78087050625, + 410986.819347854, + 406617.1656349989, + 403928.81484065816, + 402897.8696761499, + 403517.2483968723, + 405796.6249701927, + 409762.58618105896, + 415459.0242710963, + 422947.7769608018, + 432309.4999549164, + 443644.80315671, + 457075.66352619865, + 472747.1360089931, + 490829.38846965693, + 511520.0914731454, + 535047.1991467109, + 561672.1633074249, + 591693.6296493255, + 625451.6721526283, + 663332.6301207294, + 705774.6214957817, + 753273.8164980366, + 806391.5673348432, + 865762.5029191498, + 932103.7124276583, + 1006225.1583470447, + 1089041.4786671307, + 1181585.3593746207, + 1285022.6827215967, + 1400669.684260228, + 1530012.3827844071, + 1674728.5825857841, + 1836712.7873594137, + 2018104.4103179723, + 2221319.716284778, + 2449087.9895510143, + 2704492.486985393, + 2991016.8103319225, + 3312597.4159502406, + 3673683.07579348, + 4079302.211655523, + 4535139.147338825, + 5047620.462341295, + 5624012.78807055, + 6272533.565948186, + 7002476.48885367, + 7824353.576337562, + 8750056.09345504, + 9793036.817054762, + 10968516.486421205, + 12293717.65259223, + 13788129.568293383, + 15473808.2450007, + 17375716.35265651, + 19522108.259740785, + 21944966.21620894, + 24680494.480716847, + 27769679.098476406, + 31258922.06169962, + 35200759.74672815, + 39654676.838472284, + 44688028.445031784, + 50377084.79599484, + 56808214.83333872, + 64079227.17510423, + 72300889.39110988, + 81598649.31771699, + 92114585.29635847, + 104009615.79954906, + 117466002.96292801, + 132690189.13706243, + 149916010.77902368, + 169408339.90406162, + 191467210.0024378, + 216432490.90262485, + 181598777.4585725, + 0.40866987467220783, + 60573414374.817184, + 60705112220.33065, + 60813230821.12684, + 60878182476.28278, + 60957537138.44318, + 61050771506.37058, + 61157456056.17597, + 61277309238.212006, + 61410209060.2142, + 61556171040.36653, + 61715316806.99958, + 61887849438.24107, + 62074038501.61223, + 62274211519.83478, + 62488748440.21375, + 62718077260.31659, + 62962670083.420555, + 63223039348.861275, + 63499734127.43567, + 63793336408.8868, + 64104457318.70475, + 64433733206.561615, + 64781821553.24275, + 65149396647.74231, + 65537144991.59157, + 65945760393.68692, + 66375938726.09127, + 66828372319.54196, + 67303743987.11576, + 67802720675.43196, + 68325946755.38265, + 68874036978.20009, + 69447569138.07715, + 70047076498.92929, + 70673040060.11336, + 71325880753.57318, + 72005951682.1558, + 72713530525.14832, + 73448812251.48257, + 74211902292.55153, + 75002810334.06175, + 75821444888.8154, + 76667608808.7319, + 77540995883.96707, + 78441188658.93501, + 79367657569.37976, + 80319761471.44354, + 81296749593.67833, + 82297764897.52997, + 83321848782.9329, + 84367947025.48541, + 85434916783.51263, + 86521534469.65912, + 87626504246.13359, + 88748466878.19212, + 89886008668.82764, + 91037670201.42938, + 92201954636.42488, + 93377335342.69301, + 94562262692.88779, + 95755169911.77959, + 96954477933.63374, + 98158599295.07362, + 99365941158.56021, + 100574907623.58371, + 101783901533.83344, + 102991326024.99748, + 104195586076.6495, + 105395090331.85881, + 106588253429.25496, + 107773499056.18791, + 108949263880.51074, + 110114002456.6965, + 111266193133.43779, + 112404344919.69536, + 113527005199.32141, + 114632768124.63878, + 115720283471.29663, + 116788265702.0323, + 117835502968.08191, + 118860865773.51476, + 119863315039.56427, + 120841909331.0623, + 121795811042.95671, + 122724291389.07538, + 123626734083.84818, + 124502637658.69557, + 125351616404.04178, + 126173399974.442, + 126967831734.80319, + 127734865960.1388, + 128474564027.84618, + 129187089760.95667, + 129872704092.49055, + 130531759226.34448, + 131164692469.42245, + 131772019904.2835, + 132354330062.3588, + 132912277746.05736, + 133446578134.70932, + 133958001295.34787, + 134447367205.51228, + 134915541382.33063, + 135363431200.597, + 135791982972.75238, + 136202179856.03531, + 136595040646.63008, + 136971619517.66853, + 137333006757.4068, + 137680330565.87137, + 138014759972.65317, + 138337508944.7411, + 138649841758.6299, + 138953079705.15405, + 139248609149.11038, + 139537890820.24673, + 139822469913.8577, + 140103986223.54144, + 140384216822.6148, + 140665074866.45703, + 140948591789.68448, + 141236992463.2309, + 141532703622.6762, + 141838383922.8933, + 142156958405.6756, + 142491657835.62537, + 142846063325.93777, + 141678452836.01453 + ] + }, + "solver_accepted": true, + "state": { + "capture_m2_s": [ + [ + -903991371.8444885, + -3926022.382579396, + -44840178175.51544, + -78773.91852587805 + ] + ], + "local_residual": [ + 0.0, + -2.2705900543831727e-17, + 11.660565669115936, + -246.26442954539536, + 12.96721331596059, + -4.891022627451712 + ], + "n_m3": [ + 2515095827087.2163, + 2508793556569.7476, + 2502128356816.411, + 2495082142295.9277, + 2487636278474.4355, + 2479771611760.0493, + 2471468507146.1196, + 2462706894311.1084, + 2453466322938.606, + 2443726028022.0146, + 2433465005917.1504, + 2422662101884.697, + 2411296109814.3413, + 2399345884749.994, + 2386790468727.719, + 2373609230306.0254, + 2359782017997.0654, + 2345289327603.3667, + 2330112483218.2114, + 2314233831362.0054, + 2297636947398.2563, + 2280306853005.8438, + 2262230243075.165, + 2243395719959.722, + 2223794032548.07, + 2203418317141.2134, + 2182264336638.5862, + 2160330714066.6045, + 2137619156044.9644, + 2114134661405.426, + 2089885709868.9, + 2064884425484.6628, + 2039146709460.2222, + 2012692337085.1943, + 1985545013705.6729, + 1957732385150.4705, + 1929285998656.4106, + 1900241211201.4634, + 1870637043212.5513, + 1840515976864.1714, + 1809923699589.7883, + 1778908794952.3228, + 1747522384610.7966, + 1715817726713.0393, + 1683849777574.6472, + 1651674724890.1665, + 1619349501899.0078, + 1586931292816.3848, + 1554477040386.0579, + 1522042966564.7402, + 1489684117080.745, + 1457453939916.379, + 1425403906655.312, + 1393583184158.309, + 1362038362238.9373, + 1330813240989.4973, + 1299948679251.8247, + 1269482503541.1921, + 1239449474625.2932, + 1209881307037.1873, + 1180806735155.6128, + 1152251618197.2646, + 1124239075590.497, + 1096789643769.3351, + 1069921445448.7102, + 1043650362893.3088, + 1017990207530.0867, + 992952879408.9749, + 968548511405.568, + 944785594590.3422, + 921671082761.9789, + 899210475665.239, + 877407881800.8429, + 856266062916.0168, + 835786463189.0457, + 815969226758.5729, + 796813207590.6569, + 778315975735.043, + 760473823825.6145, + 743281777272.614, + 726733611024.7046, + 710821875106.8944, + 695537930416.1467, + 680871995534.8197, + 666813204643.1085, + 653349676010.8568, + 640468590048.6201, + 628156275512.2373, + 616398302186.7048, + 605179578221.5602, + 594484450239.1654, + 584296804377.4299, + 574600166539.0913, + 565377800286.9429, + 556612801027.9869, + 548288185354.69025, + 540386974644.70776, + 532892272249.9095, + 525787333821.8313, + 519055630519.1937, + 512680905017.4395, + 506647220390.21606, + 500939002056.4882, + 495541073085.71387, + 490438683228.71014, + 485617532095.594, + 481063786937.17163, + 476764095504.81854, + 472705594469.2459, + 468875913872.6619, + 465263178074.9332, + 461856003632.88513, + 458643494527.3209, + 455615235123.0059, + 452761281217.1391, + 450072149500.6757, + 447538805725.88916, + 445152651843.76447, + 442905512345.971, + 440789620018.74384, + 438797601290.5492, + 436922461331.1436, + 435157569037.38605, + 433496642021.3108, + 431933731698.1656, + 430463208557.253, + 429079747685.1099, + 427778314598.9824, + 20310229596466.246, + 20257523606962.383, + 20201710023897.375, + 20142624834252.91, + 20080097822878.01, + 20013952665207.82, + 19944007074994.254, + 19870073014223.348, + 19791956972859.664, + 19709460326496.797, + 19622379780396.395, + 19530507908682.367, + 19433633797706.848, + 19331543802688.91, + 19224022426653.45, + 19110853330477.574, + 18991820482352.51, + 18866709454254.332, + 18735308871954.95, + 18597412023715.48, + 18452818631032.203, + 18301336782571.41, + 18142785029768.83, + 17976994639389.477, + 17803811994689.453, + 17623101132604.895, + 17434746399758.682, + 17238655204931.926, + 17034760840123.639, + 16823025336553.217, + 16603442315966.723, + 16376039791658.44, + 16140882867881.424, + 15898076280975.074, + 15647766720975.99, + 15390144868860.38, + 15125447082296.354, + 14853956662152.572, + 14576004633277.197, + 14291969976571.137, + 14002279255263.934, + 13707405586777.393, + 13407866922609.29, + 13104223612224.72, + 12797075242839.5, + 12487056764758.89, + 12174833931216.445, + 11861098101673.885, + 11546560477647.426, + 11231945859396.889, + 10917986029386.404, + 10605412883457.125, + 10294951442244.936, + 9987312882918.053, + 9683187734197.424, + 9383239375629.76, + 9088097975037.23, + 8798354986316.559, + 8514558313613.401, + 8237208228189.205, + 7966754101815.692, + 7703591996380.481, + 7448063124598.777, + 7200453172465.904, + 6960992451313.8955, + 6729856826995.6875, + 6507169356502.559, + 6293002548746.75, + 6087381156562.999, + 5890285401286.252, + 5701654529366.693, + 5521390602085.683, + 5349362424061.611, + 5185409523334.633, + 5029346104803.977, + 4880964909055.015, + 4740040919558.312, + 4606334872373.785, + 4479596533359.244, + 4359567718142.649, + 4245985039477.448, + 4138582374892.751, + 4037093054675.7915, + 3941251776128.5215, + 3850796254774.0874, + 3765468626800.231, + 3685016619613.258, + 3609194509072.0913, + 3537763882874.222, + 3470494229838.8813, + 3407163374571.311, + 3347557776325.385, + 3291472709920.2974, + 3238712345385.1367, + 3189089741697.5415, + 3142426768601.065, + 3098553969089.895, + 3057310373775.239, + 3018543277023.7793, + 2982107983514.994, + 2947867532698.4443, + 2915692407573.7607, + 2885460233245.9307, + 2857055469848.0513, + 2830369103652.318, + 2805298339511.5854, + 2781746297185.7573, + 2759621713591.2925, + 2738838652572.3726, + 2719316223415.935, + 2700978309013.7476, + 2683753304306.212, + 2667573865418.9883, + 2652376669721.554, + 2638102186880.099, + 2624694460861.6436, + 2612100902744.092, + 2600272094111.1924, + 2589161600755.1323, + 2578725796359.8276, + 2568923695812.7583, + 2559716797764.205, + 2551068936046.6553, + 2542946139553.5347, + 2535316500180.636, + 2528150048433.196, + 2521418636310.5894, + 2515095827087.2163 + ], + "occupancy": [ + 7.92828441682626e-05 + ], + "p_m3": [ + 2515095827087.2163, + 2521367279757.5405, + 2528033174153.732, + 2535117617431.673, + 2542646095752.225, + 2550645540242.4775, + 2559144394220.4585, + 2568172681411.2637, + 2577762074833.313, + 2587945965971.6143, + 2598759533766.792, + 2610239812866.4487, + 2622425760485.3774, + 2635358321129.442, + 2649080488333.372, + 2663637362445.054, + 2679076203374.797, + 2695446477096.2085, + 2712799894554.0854, + 2731190441503.438, + 2750674397665.165, + 2771310343460.118, + 2793159152458.504, + 2816283967580.8145, + 2840750159002.617, + 2866625261662.098, + 2893978890259.9546, + 2922882629676.4893, + 2953409898832.8677, + 2985635786194.4297, + 3019636855374.0366, + 3055490919650.024, + 3093276784671.6016, + 3133073959204.111, + 3174962334460.3696, + 3219021833365.863, + 3265332032027.374, + 3313971756670.735, + 3365018660375.392, + 3418548785016.408, + 3474636114873.7715, + 3533352129327.096, + 3594765362838.129, + 3658940980972.4053, + 3725940381405.777, + 3795820828658.1343, + 3868635130585.7983, + 3944431363415.012, + 4023252650260.4424, + 4105136995662.399, + 4190117175743.957, + 4278220680209.516, + 4369469698759.7456, + 4463881140748.476, + 4561466673320.994, + 4662232760092.125, + 4766180679959.376, + 4873306504135.5, + 4983601009213.392, + 5097049505182.942, + 5213631559942.503, + 5333320605995.529, + 5456083420582.828, + 5581879477303.474, + 5710660174979.362, + 5842367957773.672, + 5976935348873.482, + 6114283927960.814, + 6254323289680.833, + 6396950025928.487, + 6542046778632.887, + 6689481411486.226, + 6839106348563.48, + 6990758124947.595, + 7144257189375.358, + 7299407991739.567, + 7455999379378.003, + 7613805315815.629, + 7772585924536.701, + 7932088848986.225, + 8092050908839.572, + 8252200022221.383, + 8412257354442.416, + 8571939646341.149, + 8730961669805.943, + 8889038754645.234, + 9045889329783.865, + 9201237422682.271, + 9354815063816.408, + 9506364547720.613, + 9655640508172.986, + 9802411772288.854, + 9946462966128.291, + 10087595852591.2, + 10225630390520.46, + 10360405511701.928, + 10491779619629.64, + 10619630820262.822, + 10743856900387.799, + 10864375073592.064, + 10981121517121.13, + 11094050725182.215, + 11203134705523.186, + 11308362046510.09, + 11409736881568.414, + 11507277776797.254, + 11601016566047.33, + 11690997155807.535, + 11777274320029.178, + 11859912502657.373, + 11938984643194.465, + 12014571038189.36, + 12086758249204.043, + 12155638065579.576, + 12221306528281.008, + 12283863019214.486, + 12343409418773.45, + 12400049332891.965, + 12453887389658.305, + 12505028604484.514, + 12553577811982.775, + 12599639162034.887, + 12643315677036.908, + 12684708866935.953, + 12723918398392.541, + 12761041814253.598, + 12796174299400.617, + 12829408489027.709, + 270366784497.99246, + 271213840012.5458, + 272115639251.09158, + 273075724247.7699, + 274097866246.03958, + 275186080436.02014, + 276344641607.46857, + 277578100767.53186, + 278891302772.86115, + 280289405026.4808, + 281777897289.1819, + 283362622655.0106, + 285049799737.9975, + 286846046115.0189, + 288758403065.6248, + 290794361643.7912, + 292961890109.5854, + 295269462738.6142, + 297726090015.193, + 300341350199.7341, + 303125422241.6555, + 306089119986.1287, + 309243927594.7092, + 312602036066.33295, + 316176380704.59814, + 319980679330.63696, + 324029470984.5901, + 328338154794.578, + 332923028617.8116, + 337801326972.6544, + 342991257684.34753, + 348512036557.7151, + 354383919269.1147, + 360628229535.90924, + 367267382475.56744, + 374324901909.75714, + 381825430202.46265, + 389794729047.677, + 398259669447.30206, + 407248208945.3577, + 416789354020.4985, + 426913105390.08167, + 437650383857.46893, + 449032934251.31006, + 461093204971.9171, + 473864200694.4163, + 487379305892.0861, + 501672077056.55524, + 516776001816.8961, + 532724223614.50055, + 549549231185.69635, + 567282512847.5088, + 585954176478.6437, + 605592537130.7042, + 626223675383.3668, + 647870970847.171, + 670554616586.6772, + 694291121637.2402, + 719092810168.9705, + 744967327140.8358, + 771917161419.2965, + 799939198228.781, + 829024313384.6108, + 859157021958.8024, + 890315193792.2483, + 922469847548.6284, + 955585033788.8768, + 989617815835.7875, + 1024518355032.456, + 1060230104438.0316, + 1096690112140.4614, + 1133829432310.6, + 1171573639005.0315, + 1209843434684.1335, + 1248555342585.4446, + 1287622469606.7937, + 1326955324330.4634, + 1366462673331.1865, + 1406052418032.6724, + 1445632474120.1968, + 1485111635884.4055, + 1524400408818.3276, + 1563411795248.782, + 1602062019675.7515, + 1640271182702.5337, + 1677963834867.7883, + 1715069464216.322, + 1751522893967.7368, + 1787264589065.5383, + 1822240872630.678, + 1856404055337.4004, + 1889712482441.4133, + 1922130504577.4036, + 1953628379509.2134, + 1984182112758.3767, + 2013773245476.1316, + 2042388598086.099, + 2070019978142.5955, + 2096663860566.4363, + 2122321047962.929, + 2146996318153.3928, + 2170698065378.7085, + 2193437940913.1038, + 2215230498073.4873, + 2236092845860.4175, + 2256044314738.268, + 2275106137365.5044, + 2293301146443.2017, + 2310653491262.8, + 2327188374004.5044, + 2342931806379.3755, + 2357910386806.349, + 2372151097981.485, + 2385681124413.7617, + 2398527689284.077, + 2410717909801.063, + 2422278670101.468, + 2433236510648.1353, + 2443617533017.867, + 2453447318943.5054, + 2462750862462.6943, + 2471552514043.625, + 2479875935578.51, + 2487744065182.557, + 2495179090778.307, + 2502202431506.2993, + 2508834726057.0703, + 2515095827087.2163 + ], + "phi_V": [ + 0.0, + -6.297052241862849e-05, + -0.00012973140807112722, + -0.00020049298681713726, + -0.00027547499473662396, + -0.000354906700975866, + -0.0004390269922342198, + -0.0005280844080505592, + -0.0006223371195783058, + -0.000722052843941941, + -0.0008275086856079592, + -0.0009389908955894972, + -0.0010567945387993769, + -0.0011812230594783995, + -0.0013125877343526102, + -0.001451207003030772, + -0.0015974056651752587, + -0.0017515139342070152, + -0.0019138663377819259, + -0.002084800456046992, + -0.00226465548979652, + -0.0024537706521475184, + -0.002652483379284284, + -0.00286112735822637, + -0.0030800303724858773, + -0.0033095119699242622, + -0.003549880961106415, + -0.0038014327609729374, + -0.004064446591680681, + -0.0043391825699380295, + -0.004625878707995093, + -0.004924747863512449, + -0.005235974679658046, + -0.005559712562760609, + -0.0058960807504288325, + -0.006245161527937669, + -0.006606997654563767, + -0.006981590064074955, + -0.007368895904389901, + -0.007768826980178593, + -0.008181248658561263, + -0.008605979291830872, + -0.009042790202108133, + -0.00949140626099193, + -0.009951507082692004, + -0.010422728832088893, + -0.010904666630113805, + -0.011396877518414688, + -0.011898883924297176, + -0.012410177546379571, + -0.012930223562370325, + -0.013458465044024558, + -0.013994327451800953, + -0.014537223074076842, + -0.015086555273859261, + -0.015641722410365398, + -0.01620212131391363, + -0.01676715021015372, + -0.01733621101323937, + -0.017908710936153018, + -0.018484063398697303, + -0.019061688248011396, + -0.019641011340980452, + -0.020221463570608056, + -0.020802479447383306, + -0.02138349537013144, + -0.021963947737348312, + -0.02254327105853905, + -0.023120896225083, + -0.02369624909162381, + -0.024268749502473673, + -0.02483781087406217, + -0.02540284041549882, + -0.025963240036617093, + -0.026518407958356686, + -0.027067741005996574, + -0.027610637533448803, + -0.028146500898213977, + -0.028674743383026145, + -0.02919479044262714, + -0.02970608514304268, + -0.030208092656296755, + -0.030700304675421793, + -0.031182243622285055, + -0.03165346653328672, + -0.03211356852433892, + -0.032562185755563564, + -0.03299899783669808, + -0.03342372963517545, + -0.03383615246927103, + -0.03423608468776263, + -0.034623391654588775, + -0.03499798517157109, + -0.03535982238410903, + -0.03570890422377158, + -0.03604527344794672, + -0.036369012340316774, + -0.03668024013717906, + -0.03697911024381478, + -0.03726580730259072, + -0.03754054417059357, + -0.03780355885970853, + -0.038055111486468736, + -0.0382954812730271, + -0.03852496363447347, + -0.0387438673816576, + -0.03895251206284499, + -0.039151225462055, + -0.03934034126690324, + -0.03952019691424489, + -0.039691131617930066, + -0.03985348457953691, + -0.04000759338003611, + -0.04015379254793756, + -0.04029241229753674, + -0.04042377742937995, + -0.04054820638395154, + -0.040666010438808936, + -0.04077749303891135, + -0.04088294924965345, + -0.040982665322116675, + -0.04107691836022773, + -0.041165976079845956, + -0.04125009665021975, + -0.04132952860871565, + -0.04140451084020311, + -0.04147527261298263, + -0.04154203366368121, + -0.041668076114000814, + -0.041735001583296016, + -0.04180606242973552, + -0.04188150207519352, + -0.04196157670113891, + -0.042046555711864324, + -0.042136722185849275, + -0.04223237331009561, + -0.04233382079156904, + -0.042441391239114674, + -0.04255542650838991, + -0.04267628400147752, + -0.04280433691190543, + -0.04293997440481471, + -0.04308360172098959, + -0.043235640192402267, + -0.043396527155846, + -0.043566715750147325, + -0.043746674581381595, + -0.04393688723949636, + -0.04413785164879691, + -0.04435007923391147, + -0.044574093882166065, + -0.044810430682812076, + -0.04505963442331696, + -0.045322257823010186, + -0.045598859484837446, + -0.04589000154688914, + -0.046196247016806996, + -0.046518156774211214, + -0.046856286229005985, + -0.04721118162688717, + -0.04758337599765344, + -0.04797338474707081, + -0.048381700899092495, + -0.04880879000221208, + -0.04925508472161298, + -0.04972097914752667, + -0.05020682285974511, + -0.05071291479840735, + -0.05123949700183175, + -0.051786748283043214, + -0.05235477792747195, + -0.052943619504725405, + -0.053553224896977454, + -0.054183458654933216, + -0.05483409279906662, + -0.05550480218841573, + -0.05619516058118507, + -0.056904637510336704, + -0.05763259609285573, + -0.05837829188318671, + -0.059140872869281054, + -0.05991938069373556, + -0.06071275316278517, + -0.06151982808273248, + -0.06233934843724909, + -0.06316996889052852, + -0.06401026357133238, + -0.06485873506250268, + -0.06571382449056516, + -0.06657392258171067, + -0.06743738152480593, + -0.06830252746016169, + -0.06916767339548749, + -0.07003113233849242, + -0.07089123042948836, + -0.07174631985734274, + -0.0725947913482479, + -0.07343508602873124, + -0.07426570648163688, + -0.0750852268357288, + -0.07589230175520319, + -0.07668567422373467, + -0.07746418204762888, + -0.07822676303312391, + -0.07897245882282038, + -0.07970041740467293, + -0.08040989433312996, + -0.08110025272518019, + -0.08177096211378937, + -0.08242159625716537, + -0.08305183001434999, + -0.08366143540582087, + -0.08425027698228606, + -0.08481830662592266, + -0.08536555790634134, + -0.08589214010897488, + -0.08639823204685092, + -0.08688407575829035, + -0.08734997018343425, + -0.08779626490207669, + -0.08822335400445105, + -0.08863167015574216, + -0.0890216789044451, + -0.08939387327451434, + -0.08974876867171667, + -0.09008689812585195, + -0.09040880788261647, + -0.09071505335191517, + -0.09100619541336814, + -0.09128279707461792, + -0.09154542047375451, + -0.09179462421372403, + -0.09203096101385548, + -0.09225497566161646, + -0.09246720324625775, + -0.09266816765510531, + -0.09285838031278701, + -0.09303833914360746, + -0.09320852773751394, + -0.09336941470058101, + -0.09352145317163513, + -0.09366508048746834, + -0.09380071798005284, + -0.09392877089017193, + -0.09404962838296636, + -0.0941636636519634, + -0.09427123409924491, + -0.09437268158046802, + -0.09446833270447706, + -0.09455849917823737, + -0.09464347818875002, + -0.09472355281449424, + -0.09479899245976192, + -0.09487005330602159, + -0.09493697877514669, + -0.09499999999999964 + ], + "poisson_residual_C_m2": [ + -1.8016331654299838e-20, + 5.783784329209752e-20, + -1.454811396062854e-19, + -6.251402765896639e-20, + -4.592762455663437e-20, + 4.043683943615296e-19, + -1.0195029386389024e-19, + -4.442163349420636e-19, + 5.167202622094418e-19, + -3.3045627729325123e-19, + 4.770792366604675e-20, + -2.850837192636828e-19, + 1.1261982660387514e-18, + -1.085687099596593e-18, + 1.4539840765136062e-19, + 1.0526194481514805e-19, + 6.129676505202569e-19, + -1.2627085181503266e-18, + 1.1472410827106193e-18, + 8.43606368903486e-20, + -6.252980322986548e-19, + 6.750811008283679e-19, + -1.3527842126984257e-18, + 6.488363780638242e-19, + 2.508110835675262e-19, + 3.741320129566925e-20, + 1.352934572099865e-19, + -1.4763418886590607e-19, + -8.142953177983753e-19, + 5.286997675686452e-19, + 1.0031200403213646e-18, + -8.117090018643111e-19, + -3.6854921893210144e-19, + 3.0893073870704593e-19, + -2.9866156563538914e-19, + 2.974060034520857e-19, + 3.9148132838860346e-19, + -9.17390809571101e-19, + 1.3513481925987116e-19, + 1.4580528388911744e-18, + -2.053090774702747e-18, + 2.1758932390268045e-18, + -1.0774928728409852e-18, + -1.0538358156289483e-18, + 1.6363093853314975e-18, + -1.6731526006372623e-18, + 2.656030878632648e-18, + -1.9762726434664165e-18, + -5.978359147088661e-19, + 7.897070910565328e-19, + 1.134015040796203e-18, + -1.138537839023549e-18, + -2.0145780523696122e-19, + 5.737946648009364e-19, + -1.4965577549550366e-18, + 2.0709812410496846e-18, + -1.0661202273017695e-19, + -7.549147418740535e-19, + -6.632349624981217e-19, + 2.0010518217823166e-18, + -1.9800213275595954e-18, + 2.3150175530259076e-18, + -4.257486280774684e-18, + 3.202881149631571e-18, + 9.954943435275933e-19, + -2.95032354138769e-18, + 1.1664173371125467e-18, + 8.876753293420662e-19, + 9.852515031470012e-19, + -3.2314196862276104e-18, + 2.531399600234734e-19, + 2.953192130883516e-18, + -1.513619195383588e-18, + -3.9692214233148345e-19, + -2.1257306056345752e-19, + 4.7095146969826925e-19, + -2.014938147109641e-19, + 6.213248623339895e-19, + -5.777719180637452e-19, + 9.37630856611764e-19, + -2.174296907991637e-19, + -3.4548122258835623e-18, + 2.2316324346863515e-18, + 2.2445390625566106e-18, + 5.067778339300118e-19, + -4.1816997038504195e-18, + -1.8886973321603575e-18, + 1.1473320489883611e-17, + -1.1103719750363467e-17, + 1.8351282555239396e-18, + 9.745452935051565e-18, + -1.2878145100240326e-17, + 8.96328809410971e-18, + -1.0677138197050573e-17, + 1.031311895380328e-17, + -5.173521948423222e-18, + 4.811803312957608e-18, + -1.2663954395978906e-17, + 1.3690039935851884e-17, + -4.311933673264838e-18, + 2.4027289333909275e-18, + 3.642715279400382e-18, + -8.719881743931788e-18, + 1.858312390261449e-18, + -5.362552028393346e-18, + 8.376483693253947e-18, + 8.595190043493175e-19, + -2.1804026718633568e-18, + 6.350590592237305e-18, + -1.1186658484877084e-17, + 6.0530165969834646e-18, + -1.1692776613518705e-17, + 4.684691810686288e-18, + 1.47712832787899e-17, + -4.186552890769965e-17, + 6.763424040727534e-17, + -4.8574384492753057e-17, + 2.004472213660582e-17, + 3.912574684484028e-18, + -1.602945503153045e-17, + -3.164143179245439e-17, + 4.144221717269128e-17, + 1.2427541585481458e-17, + -1.1658573235783137e-17, + -2.339309994028168e-17, + 6.119124089694501e-17, + -5.0470563134112546e-17, + 1.238923166757779e-17, + 1.7448758034541647e-17, + -1.9737057983444483e-17, + -3.960280051430143e-17, + 5.0385361186296654e-17, + 1.6217604211642275e-19, + -2.861975059039183e-17, + 5.633376503929448e-18, + 5.0007614477127376e-18, + 1.3082346665652199e-17, + -3.719471424962894e-18, + -1.0659226517496887e-17, + 8.955764569730487e-18, + -4.2153766029909255e-18, + -1.4532079361594268e-17, + 2.3833754608709062e-17, + -4.561405561349218e-18, + 7.234704057127265e-18, + -1.3312535942894598e-17, + -5.763421142790394e-18, + 6.645389656289209e-18, + 2.2264690973276106e-18, + -3.7967761891424705e-18, + 4.2411052342478466e-18, + 2.4141259102986412e-18, + -5.055420682688909e-18, + 7.791399378255008e-19, + 3.9482050509857106e-18, + -5.475400852242098e-18, + 1.548726884924255e-18, + -1.499432185669836e-18, + 5.780912496139336e-19, + 1.197478824340058e-18, + 7.130159988152876e-19, + 4.820291603822331e-18, + -1.1112625184973226e-17, + 1.1226204408415444e-17, + -5.510287290314917e-18, + -3.186864887829306e-18, + -9.84825281643831e-19, + 1.0257175998976908e-17, + -8.682813314813795e-18, + 3.569499807407135e-18, + 1.982670367818194e-18, + -9.682488373146675e-18, + 1.2786345736441485e-17, + -7.46415371656449e-18, + 1.3460880236041338e-19, + 4.912162986231836e-18, + -7.385989957986679e-18, + 4.4515689783848614e-18, + -1.2495617985020214e-18, + 1.0864275610336037e-18, + 4.530124096533869e-19, + 2.8382141603494345e-19, + -2.763988898056647e-18, + -6.831591233055075e-19, + 5.086952710239503e-19, + 4.401777958332063e-18, + -1.4890010846819379e-18, + -6.858610101197077e-19, + -5.712629624164979e-18, + 1.048916157913889e-17, + -8.865719097865584e-18, + 6.293962929263249e-18, + -4.63370139824593e-18, + 4.4438608362193425e-18, + -2.414599702388427e-19, + -3.135039236212278e-18, + -1.315190124804146e-18, + 1.7964307817178386e-18, + 2.999497126862904e-18, + -5.836823016124666e-18, + -2.458244883771924e-19, + 9.483030054226425e-18, + -1.0335677520308442e-17, + 5.305582369363949e-18, + 4.1268991735336216e-20, + -3.3661567864167177e-18, + -5.234701744500753e-18, + 2.1549908279975584e-17, + -1.1118006812378139e-17, + -1.0562764272525143e-17, + 8.144847741427269e-18, + 2.628109304093178e-18, + -4.397960432828075e-18, + -8.263790263061864e-20, + 2.4548832403379573e-18, + -7.240947190140776e-18, + 1.4197841333735815e-17, + -9.583560575962004e-18, + -2.2666038123951492e-20, + 4.244140770559008e-18, + 3.2758448473521634e-19, + -1.1372916335735898e-17, + 2.2706685145210063e-17, + -2.0791200204101194e-17, + 4.831150476261211e-18, + -1.866316789176428e-17, + 4.020529457330185e-17, + -4.250855951654544e-17, + 4.6197846821140556e-17, + -4.104673528233737e-17, + 3.026979736537499e-17, + -2.3715415646535172e-17, + 3.1601452869954874e-17, + -1.7729726725198864e-17, + -2.6597125090592506e-17, + 3.8193587693511024e-17, + -2.655816019220836e-17, + 4.9064938951820745e-17, + -1.0406427884591426e-16, + 1.271136266821439e-16, + -6.20893662905745e-17, + 2.9250329451641606e-17, + -4.3697480629556477e-17, + -3.147050743941181e-17, + 7.623202792797749e-17, + -4.0757067175923836e-17, + 3.624883344226207e-17, + -1.3594785817309247e-17, + 5.250956979155173e-17, + -1.3452151770208051e-16, + 6.675941849396115e-17, + -4.0798564381533085e-17, + 8.400913476485923e-17, + -6.033888193150274e-17 + ], + "positive_inventory_m2": [ + 1000000000000002.9 + ], + "positive_m3": [ + 5.977216152432523e+21, + 5.987488239584343e+21, + 5.998512578924518e+21, + 6.01032837769423e+21, + 6.022963386680289e+21, + 6.036438165460552e+21, + 6.050773463721801e+21, + 6.065996528600884e+21, + 6.082143562115892e+21, + 6.099258742752289e+21, + 6.117391962320894e+21, + 6.136596944982358e+21, + 6.15693020320618e+21, + 6.17845059293201e+21, + 6.201219143178377e+21, + 6.225298969285507e+21, + 6.250755192940193e+21, + 6.277654844349954e+21, + 6.30606673874493e+21, + 6.336061323489396e+21, + 6.367710492873984e+21, + 6.401087367811573e+21, + 6.436266037769389e+21, + 6.473321262441364e+21, + 6.512328130930836e+21, + 6.553361676590681e+21, + 6.596496446173287e+21, + 6.641806022577969e+21, + 6.689362501284729e+21, + 6.739235921505364e+21, + 6.79149365420797e+21, + 6.846199750432496e+21, + 6.903414254746589e+21, + 6.96319249023102e+21, + 7.025584323019183e+21, + 7.0906334161016e+21, + 7.15837648376364e+21, + 7.228842559592285e+21, + 7.302052292372106e+21, + 7.378017285291904e+21, + 7.456739494590489e+21, + 7.538210703982791e+21, + 7.622412090822423e+21, + 7.709313898891935e+21, + 7.798875230894353e+21, + 7.891043971148291e+21, + 7.985756845669874e+21, + 8.082939622831622e+21, + 8.182507453258383e+21, + 8.284365342746353e+21, + 8.388408746991806e+21, + 8.494524272116984e+21, + 8.602590460629888e+21, + 8.712478638914828e+21, + 8.824053799903298e+21, + 8.937175493413091e+21, + 9.051698697014504e+21, + 9.167474642191017e+21, + 9.284351574014268e+21, + 9.402175427355892e+21, + 9.520790408616558e+21, + 9.640039478601389e+21, + 9.759764739168976e+21, + 9.879807733106091e+21, + 1.00000096728366e+22, + 1.012021161865621e+22, + 1.0240254630797144e+22, + 1.035997992149124e+22, + 1.0479229033211484e+22, + 1.0597844067385591e+22, + 1.071566798427932e+22, + 1.083254498965659e+22, + 1.0948321017667976e+22, + 1.10628443125917e+22, + 1.1175966105061504e+22, + 1.1287541371757008e+22, + 1.1397429661577639e+22, + 1.1505495966526302e+22, + 1.1611611612061905e+22, + 1.1715655139781614e+22, + 1.1817513154926269e+22, + 1.1917081112349837e+22, + 1.201426401705404e+22, + 1.2108977018923555e+22, + 1.220114588565316e+22, + 1.2290707342643991e+22, + 1.2377609273668708e+22, + 1.2461810780949327e+22, + 1.2543282107856435e+22, + 1.2622004431396283e+22, + 1.26979695349998e+22, + 1.2771179374679419e+22, + 1.284164555345355e+22, + 1.2909388719986873e+22, + 1.297443790779195e+22, + 1.3036829831120405e+22, + 1.3096608152965662e+22, + 1.315382273949497e+22, + 1.3208528913849265e+22, + 1.3260786720679246e+22, + 1.3310660211126384e+22, + 1.3358216756274762e+22, + 1.3403526395464222e+22, + 1.3446661224310837e+22, + 1.3487694825856428e+22, + 1.3526701746999221e+22, + 1.3563757021240278e+22, + 1.3598935737830746e+22, + 1.363231265661079e+22, + 1.366396186718668e+22, + 1.369395649056985e+22, + 1.372236842090364e+22, + 1.3749268104053917e+22, + 1.3774724347353748e+22, + 1.3798804147329938e+22, + 1.3821572504050328e+22, + 1.3843092158765723e+22, + 1.3863423161085492e+22, + 1.3882622193006235e+22, + 1.3900741713346324e+22, + 1.391782922914384e+22, + 1.3933927191087864e+22, + 1.3949073917149656e+22, + 1.3963305512302654e+22, + 1.3976658223490878e+22, + 1.3989170421266007e+22, + 1.400088359074796e+22, + 1.4011842175096735e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22 + ], + "sheet_charge_C_m2": [ + -2.1900398894697513e-13 + ], + "trace_potential_V": [ + [ + -0.041605054888987, + -0.041605054888987 + ] + ], + "trace_state_m3": [ + [ + 426553316933.3458, + 12860859470328.885, + 20359985758903.27, + 269571146004.40952 + ] + ] + }, + "substeps": 4, + "time_s": 5.377957147330814e-06 + } + }, + "step183_failed": { + "original_failure": { + "message": "analytic sparse Newton line search stalled at iteration 3 with residual 0.0505886, charge closure 1.67173e-17, all-face current closure 8.35579e-12, interface current closure 4.85806e-12, linear backward error 6.83574e-17", + "type": "InterfaceDefectTransientError" + }, + "previous_row": { + "dt_s": 2.454561045726773e-07, + "phase": "accepted_regular_step", + "physics_reconstruction": { + "coordinate": [ + 2.9162315578242332e-12, + 6.0267965282230185e-12, + 9.342526891743789e-12, + 1.287484248999059e-11, + 1.6636046526827525e-11, + 2.0639565109371795e-11, + 2.4900048946531816e-11, + 2.9433356352071185e-11, + 3.4256505888471166e-11, + 3.938763489613784e-11, + 4.48459978249583e-11, + 5.0651995774143694e-11, + 5.6827210269118467e-11, + 6.33944691354595e-11, + 7.037787471147135e-11, + 7.780287255773418e-11, + 8.569628889600026e-11, + 9.408636630879281e-11, + 1.0300281279361114e-10, + 1.1247682423263029e-10, + 1.2254109823981886e-10, + 1.3322986075053854e-10, + 1.4457884824472602e-10, + 1.5662528253918226e-10, + 1.6940784728440606e-10, + 1.8296660832512858e-10, + 1.9734291840275642e-10, + 2.1257931242303551e-10, + 2.2871932239212248e-10, + 2.4580728472999285e-10, + 2.6388808622555633e-10, + 2.830068421425749e-10, + 3.0320855880036227e-10, + 3.2453765849291106e-10, + 3.4703750087258947e-10, + 3.7074979000238004e-10, + 3.9571388330655884e-10, + 4.219660739090877e-10, + 4.4953871839456497e-10, + 4.784593017743242e-10, + 5.087494475475149e-10, + 5.404237564464261e-10, + 5.734886983246511e-10, + 6.079413107066106e-10, + 6.437680017615874e-10, + 6.809431150070751e-10, + 7.194277802446778e-10, + 7.591685167740203e-10, + 8.000960811689443e-10, + 8.421244031415716e-10, + 8.851495406224756e-10, + 9.290490393997175e-10, + 9.736813083230732e-10, + 1.0188854008701466e-09, + 1.0644811396386415e-09, + 1.110269450258896e-09, + 1.1560331972406983e-09, + 1.2015384034145491e-09, + 1.2465358470370062e-09, + 1.2907631018441158e-09, + 1.3339468827030683e-09, + 1.3758059766912084e-09, + 1.4160541140021664e-09, + 1.4544036453979678e-09, + 1.4905688872763912e-09, + 1.5242700767411982e-09, + 1.5552370063062949e-09, + 1.5832129440450665e-09, + 1.6079583166522922e-09, + 1.629254062931661e-09, + 1.6469051225034138e-09, + 1.660743149164918e-09, + 1.6706290423506638e-09, + 1.6764548931453927e-09, + 1.6781457479273051e-09, + 1.6756602169684796e-09, + 1.668991186210637e-09, + 1.658165503896456e-09, + 1.6432433846700462e-09, + 1.6243170877406412e-09, + 1.6015093133695833e-09, + 1.5749710212027955e-09, + 1.5448789159387021e-09, + 1.5114326661417409e-09, + 1.4748517332981974e-09, + 1.4353722387130333e-09, + 1.393243603845654e-09, + 1.3487251836631972e-09, + 1.302082897738551e-09, + 1.2535860021024942e-09, + 1.203504238110079e-09, + 1.1521046314859445e-09, + 1.0996491732660729e-09, + 1.0463923028591538e-09, + 9.925788361174151e-10, + 9.384424036962703e-10, + 8.842036801378734e-10, + 8.300695721434544e-10, + 7.762320313569724e-10, + 7.228677371033464e-10, + 6.701375945821874e-10, + 6.181866895132932e-10, + 5.671444226430113e-10, + 5.171247310670021e-10, + 4.682266339070561e-10, + 4.2053465530444155e-10, + 3.741197390772721e-10, + 3.2903973961642256e-10, + 2.85340480967302e-10, + 2.430565083946881e-10, + 2.02211976184461e-10, + 1.628214913494505e-10, + 1.248911178117984e-10, + 8.841926325305318e-11, + 5.339727163204693e-11, + 1.9810718007093276e-11, + -1.2360076882845372e-11, + -4.313889585661674e-11, + -7.255224117416313e-11, + -1.006284266515031e-10, + -1.2739592288159845e-10, + -1.5288289777732838e-10, + -1.7711647278831216e-10, + -2.0012376373595046e-10, + -2.2193260344446096e-10, + -2.42572838817077e-10, + -2.620774776668193e-10, + -3.912540432441831e-10, + -3.916327117657149e-10, + -3.9203483701711846e-10, + -3.9246166815061497e-10, + -3.9291476738933635e-10, + -3.933955529188828e-10, + -3.9390566967072177e-10, + -3.9444677212881734e-10, + -3.950205415416346e-10, + -3.956289371998107e-10, + -3.962737899462336e-10, + -3.9695707651499064e-10, + -3.9768088999280415e-10, + -3.9844734872105473e-10, + -3.9925874916281287e-10, + -4.001173526967936e-10, + -4.010255658144088e-10, + -4.019857633010293e-10, + -4.030005166299571e-10, + -4.040723667133836e-10, + -4.052039113885767e-10, + -4.063978461284562e-10, + -4.076568008573743e-10, + -4.089833794892422e-10, + -4.1038032798597657e-10, + -4.1185021469066186e-10, + -4.133955415109279e-10, + -4.1501880364278266e-10, + -4.167222390806898e-10, + -4.1850806213270796e-10, + -4.203781006645101e-10, + -4.223340654436626e-10, + -4.2437724849669425e-10, + -4.2650857772876593e-10, + -4.287284934621929e-10, + -4.3103701570898295e-10, + -4.334333477186914e-10, + -4.3591613443281816e-10, + -4.384831301365739e-10, + -4.411311581910355e-10, + -4.438562058592969e-10, + -4.466528397705376e-10, + -4.495145372574057e-10, + -4.524333467247023e-10, + -4.55399909212581e-10, + -4.5840309750500706e-10, + -4.6143015122489523e-10, + -4.6446652336421413e-10, + -4.674956662362917e-10, + -4.70499061593459e-10, + -4.734562298262174e-10, + -4.763444820909151e-10, + -4.791392124922898e-10, + -4.818137460578943e-10, + -4.843395351752762e-10, + -4.866861134335152e-10, + -4.888215460515517e-10, + -4.907124456573003e-10, + -4.923243314626118e-10, + -4.936220134501373e-10, + -4.945699369031068e-10, + -4.95132557975434e-10, + -4.952748696380377e-10, + -4.949630559302274e-10, + -4.941647209294631e-10, + -4.928496253207635e-10, + -4.90990306466627e-10, + -4.885624329209706e-10, + -4.855453438270315e-10, + -4.819224382591698e-10, + -4.776818396859595e-10, + -4.728163365199712e-10, + -4.673240188619927e-10, + -4.612079825342295e-10, + -4.544767511293452e-10, + -4.4714413474853573e-10, + -4.392289113009281e-10, + -4.3075498906714994e-10, + -4.2175061536243344e-10, + -4.122482923204063e-10, + -4.022842674782843e-10, + -3.918979560813112e-10, + -3.8113142365121066e-10, + -3.700288042684491e-10, + -3.5863561751271225e-10, + -3.469983966728659e-10, + -3.351640121056349e-10, + -3.2317893392362097e-10, + -3.1108903923999764e-10, + -2.989390260485741e-10, + -2.867719029030164e-10, + -2.746287796121255e-10, + -2.6254847704115235e-10, + -2.5056741573132946e-10, + -2.3871919013049187e-10, + -2.2703460163195736e-10, + -2.1554176777676042e-10, + -2.0426557578188707e-10, + -1.9322823149776566e-10, + -1.8244895846793667e-10, + -1.7194419870031433e-10, + -1.6172773870022226e-10, + -1.5181077355605833e-10, + -1.4220208175345058e-10, + -1.329082428464791e-10, + -1.239336044458596e-10, + -1.1528075299049669e-10, + -1.0695038726575271e-10, + -9.894162029854767e-11, + -9.125224960777988e-11, + -8.387874211398983e-11, + -7.681642808503132e-11, + -7.005970731510167e-11, + -6.360222615273211e-11, + -5.743690569362059e-11, + -5.155592972490984e-11, + -4.5951262058442894e-11, + -4.0614366766940114e-11, + -3.553652169467216e-11, + -3.070870182383495e-11, + -2.6121874021473995e-11, + -2.1766798366762248e-11, + -1.763452775843739e-11, + -1.3715825083297652e-11, + -1.000178685815898e-11, + -6.48356433768606e-12, + -3.1524364853156663e-12, + 2.8007115690207033e-12, + 5.771171927893665e-12, + 8.919111159511802e-12, + 1.2252469569983206e-11, + 1.5779584720287046e-11, + 1.950930935669831e-11, + 2.345104625280042e-11, + 2.7614675737540493e-11, + 3.201045316960399e-11, + 3.664893190985816e-11, + 4.154086582904807e-11, + 4.6697170378198245e-11, + 5.21288720716615e-11, + 5.7847047404582724e-11, + 6.386276772428661e-11, + 7.018703662470765e-11, + 7.683070015093792e-11, + 8.380438733600602e-11, + 9.111838939302127e-11, + 9.878258706016175e-11, + 1.0680631391413721e-10, + 1.1519824440512344e-10, + 1.2396628381594188e-10, + 1.3311739557007313e-10, + 1.4265747890278684e-10, + 1.5259120572634474e-10, + 1.6292187327831906e-10, + 1.7365122223086224e-10, + 1.8477928321174155e-10, + 1.9630419941568497e-10, + 2.0822206199668458e-10, + 2.2052676016956045e-10, + 2.332098152996023e-10, + 2.462602329852711e-10, + 2.5966438943613975e-10, + 2.7340588444065154e-10, + 2.874655197280181e-10, + 3.018211672620729e-10, + 3.164477724219501e-10, + 3.3131734217120775e-10, + 3.463989883170128e-10, + 3.616590289287509e-10, + 3.770610583696097e-10, + 3.925661686113708e-10, + 4.0813315836561723e-10, + 4.237187493185586e-10, + 4.392779371312723e-10, + 4.5476433271272615e-10, + 4.70130559605559e-10, + 4.853286611080681e-10, + 5.003105865155151e-10, + 5.150286339523662e-10, + 5.294360187843033e-10, + 5.434873039446471e-10, + 5.571389617952522e-10, + 5.703498395749629e-10, + 5.830816370634758e-10, + 5.952993621559331e-10, + 6.069717021221913e-10, + 6.180713923561042e-10, + 6.285755152394541e-10, + 6.38465668071603e-10, + 6.477282076232064e-10, + 6.563542252165404e-10, + 6.64339612709199e-10, + 6.716849753842535e-10, + 6.783954553317154e-10, + 6.84480556769927e-10, + 6.899538043228917e-10, + 6.948325038817694e-10, + 6.991372448482793e-10, + 7.028915790457773e-10, + 7.061215300186641e-10, + 7.088551721802557e-10, + 7.111221253974921e-10, + 7.129531819270113e-10, + 7.143797995555609e-10, + 7.154337475584436e-10, + 7.161466929933679e-10, + 7.165498935978543e-10, + 7.166738762822922e-10, + 7.165481836556521e-10, + 7.162011293733284e-10, + 7.156596880763814e-10, + 7.149493168178802e-10, + 7.140938530164769e-10, + 7.131154641649287e-10, + 7.120346307350288e-10, + 7.10870156153764e-10, + 7.096391290888135e-10, + 7.083570384972577e-10, + 7.070377882659553e-10, + 7.056937938938753e-10, + 7.043360208590771e-10, + 7.029741418449801e-10, + 7.016165738869951e-10, + 7.002705788485162e-10, + 6.98942383853485e-10, + 6.976372570486793e-10, + 6.963595707863423e-10, + 6.951129484999625e-10, + 6.93900292329369e-10, + 6.927238881648452e-10, + 6.915854524785885e-10, + 6.904862350741671e-10, + 6.894270420761796e-10, + 6.884083242100107e-10, + 6.874302046269706e-10, + 6.864925289612437e-10, + 6.855949213604751e-10, + 6.847368080083742e-10, + 6.839174435428132e-10, + 6.831359586601982e-10, + 6.82391384430783e-10, + 6.816826462257024e-10, + 6.81008633996317e-10, + 6.803681753847696e-10, + 6.797600960119476e-10, + 6.79183215884178e-10, + 6.786364067031281e-10, + 6.78118586156553e-10, + 6.776287573980196e-10, + 6.771659897400042e-10, + 6.767294201712268e-10, + 6.763182095781979e-10, + 6.759314836363744e-10, + 6.755683571879069e-10, + 5.621041804901914e-10, + 5.451297251112258e-10, + 5.272350861741048e-10, + 5.083819274731247e-10, + 4.885318634550985e-10, + 4.676466035235845e-10, + 4.4568831502342056e-10, + 4.2261984085823504e-10, + 3.9840508386746633e-10, + 3.730094093535776e-10, + 3.4640000938294566e-10, + 3.1854647287525917e-10, + 2.894211127305916e-10, + 2.5899976405835995e-10, + 2.2726220525088088e-10, + 1.9419295308776913e-10, + 1.597817260920049e-10, + 1.2402445145556155e-10, + 8.692389914614072e-11, + 4.8490369825835506e-11, + 8.742691377355942e-12, + -3.229107524773251e-11, + -7.45727981983492e-11, + -1.1805342501477058e-10, + -1.626723426331873e-10, + -2.0835658856422526e-10, + -2.55020115171553e-10, + -3.025634039169465e-10, + -3.5087311077420905e-10, + -3.998214146770017e-10, + -4.492664416147294e-10, + -4.990518819319956e-10, + -5.490076121672725e-10, + -5.98950066883625e-10, + -6.486830811893093e-10, + -6.979992876597115e-10, + -7.466808497420042e-10, + -7.945018525861782e-10, + -8.412297971907573e-10, + -8.866279584256258e-10, + -9.304578838846196e-10, + -9.72482237704652e-10, + -1.012467290047606e-09, + -1.0501865553153723e-09, + -1.0854232121275714e-09, + -1.1179737804152332e-09, + -1.1476507511882024e-09, + -1.17428578627984e-09, + -1.1977320698852505e-09, + -1.217867080006657e-09, + -1.2345943860033357e-09, + -1.2478451984014405e-09, + -1.2575798692627668e-09, + -1.2637881953060762e-09, + -1.2664896955780574e-09, + -1.2657331773610236e-09, + -1.2615957684048176e-09, + -1.2541815356711289e-09, + -1.2436195097185017e-09, + -1.23006149465918e-09, + -1.2136792689382402e-09, + -1.1946618634235859e-09, + -1.1732123315865222e-09, + -1.1495445868348882e-09, + -1.123880252518701e-09, + -1.09644538378916e-09, + -1.0674675828653828e-09, + -1.0371729979747671e-09, + -1.005783735418705e-09, + -9.735157121355118e-10, + -9.405762662381823e-10, + -9.071626667558644e-10, + -8.734607659591006e-10, + -8.39643754532696e-10, + -8.058714160181898e-10, + -7.722896983231872e-10, + -7.390306742118458e-10, + -7.062120936657897e-10, + -6.73938182771087e-10, + -6.422994867935435e-10, + -6.113738542018466e-10, + -5.812268187766059e-10, + -5.519126239572212e-10, + -5.23474653359479e-10, + -4.95946450677191e-10, + -4.693526176388715e-10, + -4.4370975091302793e-10, + -4.1902692347350017e-10, + -3.9530684626691506e-10, + -3.7254645709656815e-10, + -3.5073768187276987e-10, + -3.2986822897713616e-10, + -3.099220355085051e-10, + -2.908799511012229e-10, + -2.7272040121759935e-10, + -2.554194787723287e-10, + -2.389519374930917e-10, + -2.232909707350285e-10, + -2.0840919798789635e-10, + -1.9427819950554596e-10, + -1.8086959952933011e-10, + -1.681547364923855e-10, + -1.561049604548468e-10, + -1.4469198456896848e-10, + -1.338878691880729e-10, + -1.2366513359969697e-10, + -1.1399703535025061e-10, + -1.0485732015491695e-10, + -9.62206593448964e-11, + -8.806240988940325e-11, + -8.035871113259489e-11, + -7.308663149379427e-11, + -6.62241578611889e-11, + -5.974999187257427e-11, + -5.3643848248570624e-11, + -4.788623027820624e-11, + -4.2458539633849244e-11, + -3.7342919586157607e-11, + -3.252249157529333e-11, + -2.7981066412019805e-11, + -2.3703245334656786e-11, + -1.9674415464599253e-11, + -1.5880712933385438e-11, + -1.2308917980686895e-11, + -8.94649790983883e-12, + -5.781589041608745e-12, + -2.802971629749996e-12, + -2.832421587605557e-07, + 5.076429984103206e-06, + 4.817008092617744e-06, + 4.070736719865064e-06, + 3.0116720839463102e-06, + 1.92435082144711e-06, + 1.0547300437752986e-06, + 4.992638726848864e-07, + 2.1251619281827978e-07, + 9.191239487295513e-08, + 5.02700103768194e-08, + 3.833737041796494e-08, + 3.541320151506823e-08, + 3.471511440040519e-08, + 3.446549846382925e-08, + 3.428510661182042e-08, + 3.4107073321399395e-08, + 3.392136498544127e-08, + 3.372648525505233e-08, + 3.3522013382047496e-08, + 3.330765587854211e-08, + 3.3083140518766226e-08, + 3.284821687679061e-08, + 3.260265842289792e-08, + 3.2346264313382625e-08, + 3.207886331352723e-08, + 3.180032564087222e-08, + 3.1510556188260174e-08, + 3.1209512164798164e-08, + 3.0897196034587484e-08, + 3.0573673009507096e-08, + 3.0239064260362964e-08, + 2.9893560854547064e-08, + 2.953742586678875e-08, + 2.9170995386318726e-08, + 2.8794687065518e-08, + 2.8409001406784943e-08, + 2.8014523611702627e-08, + 2.761192531001002e-08, + 2.7201966157554954e-08, + 2.6785492026937573e-08, + 2.6363432502188905e-08, + 2.5936797483949317e-08, + 2.5506673754021338e-08, + 2.5074216051076288e-08, + 2.4640639535849367e-08, + 2.4207210879169977e-08, + 2.3775236645759415e-08, + 2.334605025012635e-08, + 2.292099967945595e-08, + 2.250143069707265e-08, + 2.208867471956088e-08, + 2.1684031210482166e-08, + 2.12887514678708e-08, + 2.0904026351912234e-08, + 2.053096850647351e-08, + 2.0170600412916512e-08, + 1.982384144886051e-08, + 1.949149815660118e-08, + 1.9174252734668502e-08, + 1.8872659523979276e-08, + 1.8587137932847765e-08, + 1.8317970214541563e-08, + 1.8065302714206932e-08, + 1.7829146740409823e-08, + 1.760938315515667e-08, + 1.740576959077567e-08, + 1.7217947750377973e-08, + 1.704545445659522e-08, + 1.688773187291649e-08, + 1.6744141272726626e-08, + 1.661397477392596e-08, + 1.6496470284702278e-08, + 1.6390824877534178e-08, + 1.629620717881059e-08, + 1.6211772974941222e-08, + 1.613667460998663e-08, + 1.6070075018919075e-08, + 1.6011155479364277e-08, + 1.5959126641403667e-08, + 1.591323453011583e-08, + 1.5872767344903608e-08, + 1.583706061133291e-08, + 1.580549796611079e-08, + 1.577751766171011e-08, + 1.5752607502232687e-08, + 1.573031115691192e-08, + 1.5710219583879967e-08, + 1.5691976626215466e-08, + 1.5675269524647178e-08, + 1.5659831979394526e-08, + 1.5645434282491773e-08, + 1.5631886332727427e-08, + 1.561902921218688e-08, + 1.5606733711562633e-08, + 1.5594895357197488e-08, + 1.558343326311105e-08, + 1.5572284065459666e-08, + 1.5561401295200662e-08, + 1.5550751006071514e-08, + 1.5540311636318912e-08, + 1.5530069295335285e-08, + 1.5520016253404916e-08, + 1.5510151987771918e-08, + 1.550047772619591e-08, + 1.549099962025597e-08, + 1.5481723808265454e-08, + 1.5472658277593505e-08, + 1.5463809904632532e-08, + 1.545517459157207e-08, + 1.5446656747120298e-08, + 1.5437481302733032e-08, + 1.5422606185358412e-08, + 1.537434138851362e-08, + 1.5164086250817004e-08, + 1.4288704780675095e-08, + 1.1098758314922493e-08, + 1.09382320292328e-09, + -2.5850315602577132e-08, + -8.82366645757698e-08, + -2.1278955255242613e-07, + -4.280775310720706e-07, + -7.518174124357991e-07, + -1.1774858545394932e-06, + -1.668867833797735e-06, + -2.1673782596172374e-06, + -2.608965463336699e-06, + -2.9419670900900157e-06, + -3.138204132328853e-06, + 8.246255075089139e-11, + 1.3924353623728382e-10, + 1.701418449008651e-10, + 1.783868620323167e-10, + 1.6942122851875278e-10, + 1.4894433019707657e-10, + 1.2136115729860367e-10, + 8.928755251824772e-11, + 5.3898199079664786e-11, + 1.5526633090692294e-11, + -2.5878527932030393e-11, + -7.051808506312027e-11, + -1.1865160132967856e-10, + -1.7057099111001168e-10, + -2.265955520889615e-10, + -2.870726899205427e-10, + -3.5237994128643317e-10, + -4.2292732360174266e-10, + -4.991598320985587e-10, + -5.815600490763446e-10, + -6.706508476189222e-10, + -7.669981705152893e-10, + -8.712138594146325e-10, + -9.83958502626931e-10, + -1.1059442627192266e-09, + -1.237937637737693e-09, + -1.3807620993313847e-09, + -1.5353005439201564e-09, + -1.7024974804596866e-09, + -1.8833608710178693e-09, + -2.078963526910689e-09, + -2.2904439561184956e-09, + -2.5190065469836583e-09, + -2.7659209647829817e-09, + -3.03252063341497e-09, + -3.320200169620126e-09, + -3.630411636964994e-09, + -3.964659490607243e-09, + -4.324494092543663e-09, + -4.711503689911745e-09, + -5.127304768444485e-09, + -5.573530719074695e-09, + -6.0518187887427265e-09, + -6.5637953229473924e-09, + -7.1110593532888576e-09, + -7.69516463303215e-09, + -8.317600276343484e-09, + -8.979770212243237e-09, + -9.68297172188686e-09, + -1.0428373378815814e-08, + -1.1216992766409074e-08, + -1.2049674385194745e-08, + -1.292706819726754e-08, + -1.384960928172313e-08, + -1.4817499077010996e-08, + -1.5830688685998072e-08, + -1.688886469594332e-08, + -1.7991437931608435e-08, + -1.9137535503503826e-08, + -2.0325996458153426e-08, + -2.155537125342593e-08, + -2.2823925201786018e-08, + -2.412964593679052e-08, + -2.5470254861197056e-08, + -2.684322244547233e-08, + -2.824578715789374e-08, + -2.9674977721589024e-08, + -3.112763832370834e-08, + -3.260045633445236e-08, + -3.408999204711429e-08, + -3.559270990730427e-08, + -3.7105010681041836e-08, + -3.862326399895715e-08, + -4.0143840717526176e-08, + -4.1663144563551336e-08, + -4.3177642549974955e-08, + -4.468389370393604e-08, + -4.6178575692269486e-08, + -4.7658508998269415e-08, + -4.912067836467967e-08, + -5.056225129224715e-08, + -5.1980593454894174e-08, + -5.337328096032821e-08, + -5.473810946256171e-08, + -5.607310018373722e-08, + -5.737650297503063e-08, + -5.864679658043045e-08, + -5.988268632450344e-08, + -6.108309946272045e-08, + -6.224717846847918e-08, + -6.337427253405478e-08, + -6.446392757923869e-08, + -6.551587505063002e-08, + -6.653001979152447e-08, + -6.75064272459144e-08, + -6.844531024385398e-08, + -6.934701559107717e-08, + -7.021201066464334e-08, + -7.104087018935972e-08, + -7.18342633459332e-08, + -7.259294133491834e-08, + -7.331772549773394e-08, + -7.400949607384477e-08, + -7.466918165055196e-08, + -7.529774934525225e-08, + -7.58961957413428e-08, + -7.646553858600444e-08, + -7.70068092447512e-08, + -7.752104589672077e-08, + -7.800928743917331e-08, + -7.847256801805909e-08, + -7.891191186566937e-08, + -7.932832714335481e-08, + -7.972279413410522e-08, + -8.009623416250664e-08, + -8.044942800454761e-08, + -8.078283145749519e-08, + -8.109623641470287e-08, + -8.138828947208851e-08, + -8.16560194306057e-08, + -8.189466410667351e-08, + -8.209807940939915e-08, + -8.225978293591251e-08, + -8.237434740497224e-08, + -8.243865438914011e-08, + -8.245258766802503e-08, + -8.241901623623616e-08, + -8.22245972908882e-08, + -8.212141481840579e-08, + -8.201185662016724e-08, + -8.189554740002475e-08, + -8.177209218970055e-08, + -8.16410756346024e-08, + -8.150206129793422e-08, + -8.13545909910582e-08, + -8.119818413915384e-08, + -8.103233719239918e-08, + -8.085652309416983e-08, + -8.067019081910993e-08, + -8.047276499537244e-08, + -8.026364562684457e-08, + -8.004220793275964e-08, + -7.98078023237307e-08, + -7.955975453490664e-08, + -7.92973659386212e-08, + -7.901991406054705e-08, + -7.872665332494307e-08, + -7.841681605604415e-08, + -7.808961376393606e-08, + -7.774423874431628e-08, + -7.737986602229217e-08, + -7.699565567072765e-08, + -7.659075553352312e-08, + -7.616430438350241e-08, + -7.571543554317318e-08, + -7.524328099441075e-08, + -7.474697599997201e-08, + -7.422566425555914e-08, + -7.367850358581052e-08, + -7.310467219099981e-08, + -7.250337544328737e-08, + -7.187385322203708e-08, + -7.121538776695617e-08, + -7.052731201565954e-08, + -6.980901837876875e-08, + -6.905996789096263e-08, + -6.827969966070299e-08, + -6.746784052494435e-08, + -6.662411479835998e-08, + -6.574835398992796e-08, + -6.484050634364255e-08, + -6.390064604525764e-08, + -6.29289819239888e-08, + -6.192586546771453e-08, + -6.089179796314652e-08, + -5.982743656940226e-08, + -5.873359913506912e-08, + -5.761126757577389e-08, + -5.64615896418984e-08, + -5.5285878924674466e-08, + -5.408561297349054e-08, + -5.2862429427647554e-08, + -5.161812010153614e-08, + -5.035462300252237e-08, + -4.907401230469889e-08, + -4.777848634781682e-08, + -4.647035377768756e-08, + -4.5152017990517696e-08, + -4.3825960087327726e-08, + -4.2494720584132616e-08, + -4.116088015735842e-08, + -3.982703973064567e-08, + -3.8495800227634564e-08, + -3.7169742324750233e-08, + -3.585140653800613e-08, + -3.454327396842066e-08, + -3.3247748012197685e-08, + -3.1967137315145356e-08, + -3.070364021701095e-08, + -2.9459330891882775e-08, + -2.823614734712206e-08, + -2.7035881397114132e-08, + -2.5860170681154193e-08, + -2.4710492748624602e-08, + -2.35881611907507e-08, + -2.2494323757907727e-08, + -2.142996236571541e-08, + -2.0395894862754136e-08, + -1.9392778408134212e-08, + -1.8421114288560157e-08, + -1.7481253991903273e-08, + -1.6573406347372092e-08, + -1.569764554071356e-08, + -1.4853919815915237e-08, + -1.4042060681948704e-08, + -1.3261792453481071e-08, + -1.2512741967460988e-08, + -1.1794448332344812e-08, + -1.1106372582806204e-08, + -1.0447907129462025e-08, + -9.818384909922924e-09, + -9.217088163892189e-09, + -8.643256770730256e-09, + -8.096096102594453e-09, + -7.574784359755773e-09, + -7.078479366850392e-09, + -6.606324819578568e-09, + -6.157455980695728e-09, + -5.731004832075978e-09, + -5.326104696226115e-09, + -4.941894345969443e-09, + -4.577521625206056e-09, + -4.232146606799783e-09, + -3.904944315858242e-09, + -3.595107048079156e-09, + -3.3018463135489634e-09, + -3.0243944365032388e-09, + -2.762005841201616e-09, + -2.513958053317819e-09, + -2.27955244518657e-09, + -2.058114751957925e-09, + -1.8489953842460972e-09, + -1.6515695612856813e-09, + -1.4652372869651663e-09, + -1.2894231894387828e-09, + -1.1235762433520201e-09, + -9.671693920817947e-10, + -8.196990858075385e-10, + -6.806847497100127e-10, + -5.496681951527573e-10, + -4.262129853409365e-10, + -3.099037656835895e-10, + -2.0034556790417184e-10, + -9.716309585610452e-11, + -8.232176038715585e-08, + -8.232176038715585e-08, + -8.260223888072207e-08, + 8.299698850754828e-08, + -8.27126579566992e-08, + 8.289995667785792e-08 + ], + "direct_poisson_residual_C_m2": [ + -2.914322734146827e-20, + 6.392451773809798e-20, + -1.484028193369136e-19, + -8.899139902090493e-20, + 1.6808310047077522e-20, + 2.974409133842679e-19, + -1.0978341089803783e-19, + -4.703018090731494e-19, + 4.453805115781518e-19, + -2.90532300908225e-19, + 9.306774507956625e-20, + -4.565772283496696e-19, + 1.0494208820888747e-18, + -1.0288273935587545e-18, + 7.554475098324291e-20, + 1.037085964794484e-19, + 7.527211225334543e-19, + -1.2204950676546417e-18, + 1.1838079531266898e-18, + 3.875175733688424e-20, + -5.286014986458868e-19, + 6.881083905257122e-19, + -1.2479442291016014e-18, + 4.625858683192548e-19, + 4.115521332471832e-19, + -1.275313981209756e-19, + 4.336808689942018e-19, + -4.929731753020028e-19, + -7.57988608674192e-19, + 5.729119096991274e-19, + 1.4493792518705147e-18, + -1.0202511849678048e-18, + -3.1064933340551465e-19, + 3.434189205524154e-19, + -4.1245210575364087e-19, + 3.4622471719019526e-19, + 3.791531230147062e-19, + -8.823965728021674e-19, + 1.7454172669358926e-19, + 1.42777991171553e-18, + -1.964587042037943e-18, + 2.2766128039827457e-18, + -1.170599533105443e-18, + -1.1339124185774912e-18, + 1.6142859787890863e-18, + -1.4881839487666023e-18, + 2.571592027864056e-18, + -1.942564185409331e-18, + -6.35645287355149e-19, + 6.701089403965584e-19, + 1.322112551545556e-18, + -1.191034202957953e-18, + -3.230371902591088e-19, + 6.032992166818754e-19, + -1.539905898108318e-18, + 2.1287790849072686e-18, + -5.577182562077534e-20, + -8.69426380797336e-19, + -8.104517118447552e-19, + 2.37089815892399e-18, + -2.333615474355e-18, + 2.2734231955407413e-18, + -4.7536746314442416e-18, + 3.6118349274663484e-18, + 8.549010892409047e-19, + -3.1539271791013873e-18, + 9.145838247978308e-19, + 1.3862752973000693e-18, + 6.44115616827692e-19, + -3.0852116312553822e-18, + 5.818322254248992e-19, + 2.768236020525062e-18, + -1.306389502462148e-18, + -1.9481757786848908e-19, + -1.8412378690940354e-19, + 5.835527610990095e-19, + -2.7512688918003743e-19, + 1.1554588191732725e-18, + -1.1338065394590844e-18, + 1.4629847185857869e-18, + -6.821262203357287e-19, + -3.802807356257385e-18, + 2.552374967873224e-18, + 2.630354938579823e-18, + -4.593565552078478e-19, + -4.019647790754486e-18, + -2.0817422865550533e-18, + 9.793606694391034e-18, + -1.0528672473930157e-17, + 8.67838194021234e-19, + 1.0396111817684859e-17, + -1.2783685937757918e-17, + 7.801438142008123e-18, + -9.82224699592007e-18, + 1.0368106790866263e-17, + -5.2441397951289836e-18, + 4.4057359960248364e-18, + -1.3646336054977219e-17, + 1.3506946195594683e-17, + -4.58673634894124e-18, + 1.289978239109096e-18, + 6.39732221325651e-18, + -8.781561141099755e-18, + 8.794848970459807e-19, + -3.5968195313969796e-18, + 9.014098154900663e-18, + -1.063026348804147e-18, + -2.115464785767615e-19, + 1.0115849791262092e-17, + -1.1793769120213658e-17, + 4.659078256592677e-18, + -1.1084008449973757e-17, + -2.610449664319347e-19, + 1.4100160426248312e-17, + -3.940082280249745e-17, + 6.298968453190485e-17, + -4.5456446630875655e-17, + 2.7345796957615044e-17, + 4.290036589385819e-18, + -1.887279403733227e-17, + -3.2170721618302153e-17, + 3.9986599025083e-17, + 7.517867393135144e-18, + -9.823266082434735e-18, + -2.3580378165045056e-17, + 7.303516441409583e-17, + -5.584049267732888e-17, + 1.6447253092691514e-17, + 1.992046906825346e-17, + -1.4771569030327348e-17, + -4.379171415096839e-17, + 5.424478951806357e-17, + -1.7320988775162565e-18, + -2.788501710060895e-17, + 6.969762366729283e-18, + 9.11848899689701e-18, + 1.3220207408265148e-17, + -5.042664967908441e-18, + -1.1002358998916727e-17, + 5.728372490687195e-18, + -5.1720142887401065e-18, + -1.7689705912133193e-17, + 2.1953271277847278e-17, + -7.662473152759679e-18, + 4.507500528225211e-18, + -7.422055222111928e-18, + -5.239616189491344e-18, + 9.382338381840528e-18, + 1.827491172556273e-18, + -1.787998768696734e-18, + 3.853695749039383e-18, + 1.538459277438419e-18, + -5.978045674260229e-18, + -3.0634770681612303e-19, + 4.005218049986835e-18, + -5.834620978117999e-18, + 7.733993415961682e-19, + -1.927745343662348e-18, + 2.2517715328013725e-19, + 2.334022806121661e-18, + 1.2544521112530512e-18, + 5.134908676116323e-18, + -9.953991950742347e-18, + 1.0132417658943627e-17, + -4.486024375273563e-18, + -4.857137124199254e-18, + -1.0101507268678403e-18, + 9.162930155122594e-18, + -8.670310386312427e-18, + 2.2138382973776347e-18, + 3.1066580736268884e-18, + -9.167169875423309e-18, + 1.2489922573143524e-17, + -8.029332102079998e-18, + 5.74895711359496e-19, + 5.0366204171942136e-18, + -7.145765331026646e-18, + 3.946517079196577e-18, + -1.1880557348762749e-18, + 1.2090667896978516e-18, + 5.788064096959362e-19, + 6.18341453059602e-19, + -1.9665178916163356e-18, + -1.411352902110714e-18, + 1.4990849089191965e-18, + 2.9058712398383235e-18, + -6.484312571993489e-19, + -2.2384122716599736e-18, + -5.365492233565729e-18, + 1.1177345735884755e-17, + -9.903442365720486e-18, + 7.241110858672228e-18, + -5.079495794194362e-18, + 5.1549452932744164e-18, + -1.5219720087468434e-18, + -3.403047729376947e-18, + -8.704050824283505e-19, + 1.3884430992529538e-18, + 4.791174639328663e-18, + -6.556625502348467e-18, + 9.261564472806023e-19, + 8.814946792860485e-18, + -9.952917052525614e-18, + 4.330593474197173e-18, + 1.2516261723061482e-18, + -2.785583234623068e-18, + -5.225470410553996e-18, + 1.906571471116885e-17, + -1.1439476013839934e-17, + -9.11122688542454e-18, + 8.748633234468743e-18, + 4.038141924753015e-18, + -4.084753222961232e-18, + 8.007165095120674e-20, + 1.8844205779401436e-18, + -7.241159092613023e-18, + 1.6180834259163316e-17, + -1.2738166796898896e-17, + -1.9430638825520056e-18, + 7.04799406874004e-18, + 4.716664020953965e-19, + -1.1151076591616829e-17, + 1.9127229041908692e-17, + -2.3078658704223392e-17, + 8.050539798447756e-18, + -1.9226095399502527e-17, + 3.7432057889882655e-17, + -4.3931292303329884e-17, + 4.728256104346953e-17, + -4.6201364993916734e-17, + 3.304289169318094e-17, + -2.022812022705469e-17, + 2.6501507678283993e-17, + -1.7529597354451622e-17, + -2.7367695366962406e-17, + 3.866988093510548e-17, + -2.406905205692175e-17, + 5.854312141551178e-17, + -1.159117771481069e-16, + 1.222037847573789e-16, + -4.586856155249453e-17, + 2.521650277710235e-17, + -4.2685255552966856e-17, + -2.056733901129927e-17, + 7.771318270621225e-17, + -3.2319708904115556e-17, + 3.792877224342695e-17, + -1.6837711529961178e-17, + 4.6255546123877707e-17, + -1.2666305110554878e-16, + 4.0345392918378e-17, + -1.4759991134232434e-17, + 5.4973978737188894e-17, + -4.1878699331895964e-17 + ], + "electron_qf_increment_V": [ + 0.0, + -1.8901340500861333e-06, + -3.902558937513848e-06, + -6.045196352696112e-06, + -8.326480145388024e-06, + -1.0755388874352827e-05, + -1.3341480269665542e-05, + -1.6094927687332266e-05, + -1.9026558618493338e-05, + -2.214789533320386e-05, + -2.5471197697935704e-05, + -2.900950821746303e-05, + -3.277669932584419e-05, + -3.6787522924879056e-05, + -4.1057662153846866e-05, + -4.560378533914904e-05, + -5.0443602018450266e-05, + -5.559592091154448e-05, + -6.108070964246497e-05, + -6.691915593958827e-05, + -7.313372998791264e-05, + -7.974824750320209e-05, + -8.67879329916689e-05, + -9.427948255340107e-05, + -0.00010225112544642406, + -0.00011073268347853113, + -0.00011975562714491416, + -0.0001293531272073289, + -0.00013956010028654046, + -0.00015041324673749422, + -0.0001619510789506093, + -0.0001742139379251929, + -0.00018724399577617102, + -0.0002010852415988355, + -0.0002157834479196498, + -0.00023138611477013638, + -0.0002479423883062877, + -0.0002655029507783411, + -0.00028411987866274315, + -0.0003038464658231863, + -0.00032473700874101883, + -0.0003468465511436452, + -0.0003702305857816007, + -0.00039494471167673105, + -0.0004210442458725499, + -0.00044858378962283057, + -0.00047761674993673217, + -0.000508194818613843, + -0.0005403674121207152, + -0.0005741810770671054, + -0.0006096788673863482, + -0.0006468997007289735, + -0.000685877702871083, + -0.0007266415501163765, + -0.000769213820652013, + -0.0008136103665515787, + -0.0008598397185543106, + -0.0009079025358513513, + -0.0009577911128602846, + -0.0010094889543441389, + -0.0010629704293024225, + -0.0011182005127484032, + -0.0011751346230012276, + -0.0012337185603360115, + -0.0012938885509859296, + -0.0013555713985134291, + -0.0014186847426401056, + -0.001483137423691966, + -0.0015488299490440786, + -0.0016156550562739082, + -0.0016834983662524167, + -0.0017522391180540488, + -0.0018217509764551088, + -0.0018919029017781756, + -0.0019625600710675047, + -0.0020335848388936227, + -0.002104837725612896, + -0.002176178420553107, + -0.002247466787419155, + -0.0023185638592046975, + -0.002389332810073223, + -0.0024596398920536202, + -0.002529355324971166, + -0.0025983541288680393, + -0.00266651688914645, + -0.0027337304459301745, + -0.002799888500511171, + -0.002864892133324798, + -0.002928650229525011, + -0.00299107980999234, + -0.0030521062672974127, + -0.0031116635078631337, + -0.0031696940031445066, + -0.0032261487541222498, + -0.003280987174686054, + -0.0033341769005594464, + -0.003385693531289167, + -0.0034355203134375863, + -0.003483647773514528, + -0.0035300733093381544, + -0.003574800748496333, + -0.0036178398823187427, + -0.0036592059834031814, + -0.0036989193142072125, + -0.0037370046335813345, + -0.0037734907074449217, + -0.0038084098290297004, + -0.003841797353378908, + -0.003873691250002338, + -0.00390413167687388, + -0.003933160578221014, + -0.003960821307922951, + -0.003987158279720379, + -0.004012216644908464, + -0.0040360419976942265, + -0.004058680108028002, + -0.004080176681317806, + -0.0041005771442074995, + -0.004119926455335466, + -0.004138268939831955, + -0.0041556481461818, + -0.004172106723993911, + -0.004187686321169582, + -0.004202427498943154, + -0.004216369663276267, + -0.004229551011115692, + -0.004242008490070835, + -0.004253777770126019, + -0.004331910608531038, + -0.004332159477878152, + -0.004332424433885735, + -0.004332706517749691, + -0.0043330068380913545, + -0.004333326575296789, + -0.0043336669861316025, + -0.004334029408636559, + -0.004334415267325064, + -0.0043348260786980125, + -0.0043352634570816406, + -0.004335729120821447, + -0.004336224898824275, + -0.0043367527374803885, + -0.0043373147079686794, + -0.004337913013956332, + -0.0043385499997079585, + -0.004339228158601334, + -0.004339950142058909, + -0.004340718768890047, + -0.004341537035040585, + -0.004342408123722731, + -0.004343335415930527, + -0.0043443225012715575, + -0.004345373189102254, + -0.004346491519896884, + -0.004347681776773898, + -0.004348948497092937, + -0.0043502964840056455, + -0.0043517308178216045, + -0.004353256867021978, + -0.0043548802987215356, + -0.004356607088343686, + -0.004358443528236918, + -0.004360396234909214, + -0.004362472154522735, + -0.004364678566239254, + -0.004367023082937004, + -0.0043695136488046665, + -0.004372158533226563, + -0.004374966320351157, + -0.004377945893680908, + -0.004381106414975357, + -0.00438445729675683, + -0.004388008167668852, + -0.0043917688299569555, + -0.00439574920838424, + -0.0043999592899291165, + -0.004404409053716697, + -0.004409108390777323, + -0.004414067013368882, + -0.004419294353838495, + -0.004424799453246127, + -0.004430590840279404, + -0.004436676401332112, + -0.004443063242996454, + -0.004449757548621234, + -0.004456764431001747, + -0.004464087783675893, + -0.004471730133690363, + -0.004479692499029584, + -0.004487974254199631, + -0.004496573007613834, + -0.004505484494527871, + -0.0045147024892081625, + -0.004524218739833796, + -0.004534022929282087, + -0.0045441026644901785, + -0.004554443496434606, + -0.0045650289720608065, + -0.004575840718641637, + -0.004586858560166933, + -0.004598060664441996, + -0.0046094237186647125, + -0.0046209231304218615, + -0.004632533250273546, + -0.004644227611501088, + -0.004655979182095756, + -0.004667760623802891, + -0.004679544552899308, + -0.00469130379749736, + -0.004703011646360482, + -0.004714642084673995, + -0.004726170012711152, + -0.004737571443985028, + -0.004748823680176512, + -0.004759905460868997, + -0.004770797086865021, + -0.004781480516580453, + -0.004791939435687203, + -0.004802159300770696, + -0.004812127358302429, + -0.004821832640651742, + -0.004831265941189284, + -0.004840419770786607, + -0.00484928829815588, + -0.004857867276545899, + -0.004866153959289379, + -0.004874147006650176, + -0.004881846386265168, + -0.004889253269337845, + -0.004896369924536587, + -0.004903199611343973, + -0.004909746474383098, + -0.0049160154400251285, + -0.004922012116364644, + -0.004927742697445423, + -0.00493321387241234, + -0.004938432740115749, + -0.0049434067294908506, + -0.0049481435259470805, + -0.004952651003820281, + -0.004956937164905712, + -0.0049610100829222, + -0.004964877853771831, + -0.004968548551335023, + -0.004972030188543192, + -0.004975330683411678, + -0.004978457829727678, + -0.004981419272036213, + -0.004984222484600655, + -0.004986874753997836, + -0.004989383165012579, + -0.004991754589515856, + -0.0049939956780280905, + -0.004996112853663287, + -0.004998112308197679, + -0.004999999999999893 + ], + "eliminated_operator": { + "capture_flux": { + "difference": [ + [ + -6.222724914550781e-05, + 4.256144165992737e-07, + -0.00351715087890625, + 7.62520357966423e-09 + ] + ], + "direct": [ + [ + -903994195.3703151, + -3926012.172747274, + -44840313357.97461, + -78773.70441822849 + ] + ], + "direct_maximum_absolute": 44840313357.97461, + "eliminated": [ + [ + -903994195.3702528, + -3926012.1727476995, + -44840313357.97109, + -78773.70441823611 + ] + ], + "eliminated_maximum_absolute": 44840313357.97109, + "floor_active": false, + "maximum_absolute_difference": 0.00351715087890625, + "normalization_floor": 1.0, + "normalization_scale": 44840313357.97461, + "relative_error": 7.843725022231014e-14, + "unit": "m-2 s-1" + }, + "electron_current": { + "difference": [ + 0.0, + 1.1011428314305904e-20, + -5.082197683525802e-21, + -8.470329472543003e-22, + -3.3881317890172014e-21, + -1.7787691892340307e-20, + -5.082197683525802e-21, + 1.3552527156068805e-20, + 0.0, + -4.235164736271502e-21, + 5.082197683525802e-21, + 2.541098841762901e-21, + 1.6940658945086007e-21, + 1.3552527156068805e-20, + 1.2705494208814505e-20, + 5.082197683525802e-21, + 1.6940658945086007e-20, + -1.1011428314305904e-20, + -2.541098841762901e-21, + -1.1011428314305904e-20, + 9.317362419797304e-21, + 8.470329472543003e-22, + 0.0, + 9.317362419797304e-21, + 4.235164736271502e-21, + 9.317362419797304e-21, + -3.3881317890172014e-21, + -8.470329472543003e-21, + -1.8634724839594607e-20, + 1.1011428314305904e-20, + 1.5246593050577406e-20, + 2.541098841762901e-21, + 1.6940658945086007e-21, + 2.541098841762901e-21, + 6.776263578034403e-21, + -8.470329472543003e-21, + 8.470329472543003e-21, + -7.623296525288703e-21, + -2.541098841762901e-21, + -1.0164395367051604e-20, + 4.235164736271502e-21, + 6.776263578034403e-21, + 9.317362419797304e-21, + 1.7787691892340307e-20, + -5.082197683525802e-21, + 8.470329472543003e-22, + 9.317362419797304e-21, + 4.235164736271502e-21, + 1.6940658945086007e-20, + 1.1858461261560205e-20, + 1.4399560103323106e-20, + 5.929230630780102e-21, + 2.202285662861181e-20, + 8.470329472543003e-22, + 4.658681209898652e-20, + -3.134021904840911e-20, + 2.710505431213761e-20, + 5.082197683525802e-21, + 2.541098841762901e-21, + 2.625802136488331e-20, + 5.759824041329242e-20, + -3.8116482626443515e-20, + 2.1175823681357508e-20, + 1.4399560103323106e-20, + 1.4399560103323106e-20, + 1.2705494208814505e-20, + 2.795208725939191e-20, + 1.8634724839594607e-20, + 2.1175823681357508e-20, + 3.6422416731934915e-20, + 7.115076756936123e-20, + 1.1011428314305904e-20, + -4.658681209898652e-20, + 8.809142651444724e-20, + -5.166900978251232e-20, + 1.2705494208814505e-20, + 1.4399560103323106e-20, + 6.013933925505532e-20, + -2.795208725939191e-20, + 3.8116482626443515e-20, + 2.710505431213761e-20, + 1.6940658945086007e-20, + 2.795208725939191e-20, + 1.9481757786848908e-20, + 3.049318610115481e-20, + 2.710505431213761e-20, + 9.994988777600744e-20, + -4.404571325722362e-20, + 4.319868030996932e-20, + 4.489274620447792e-20, + 4.658681209898652e-20, + 3.5575383784680614e-20, + 4.0657581468206416e-20, + 4.2351647362715017e-20, + 8.470329472543003e-20, + -1.8634724839594607e-20, + 8.724439356719293e-20, + 1.1858461261560205e-20, + -2.541098841762901e-20, + 2.964615315390051e-20, + 3.218725199566341e-20, + 8.809142651444724e-20, + -1.7787691892340307e-20, + 3.7269449679189215e-20, + 2.456395547037471e-20, + 3.3034284942917713e-20, + 2.879912020664621e-20, + 3.3034284942917713e-20, + 8.639736061993863e-20, + -3.3881317890172014e-20, + 1.4399560103323106e-20, + 3.4728350837426314e-20, + 4.1504614415460717e-20, + 1.6093625997831706e-20, + 6.691560283308973e-20, + 2.879912020664621e-20, + -1.0164395367051604e-20, + 7.030373462210693e-20, + -2.456395547037471e-20, + 4.1504614415460717e-20, + 4.828087799349512e-20, + 1.6093625997831706e-20, + 9.994988777600744e-20, + 3.6422416731934915e-20, + 3.218725199566341e-20, + -1.6093625997831706e-20, + 3.218725199566341e-20, + -6.093555022547437e-18, + -7.877406409464993e-20, + 2.371692252312041e-20, + 4.658681209898652e-20, + 2.879912020664621e-20, + 3.3034284942917713e-20, + 2.710505431213761e-20, + 2.0328790734103208e-20, + 5.166900978251232e-20, + 2.456395547037471e-20, + 3.8116482626443515e-20, + 1.5415999640028266e-19, + 4.2351647362715017e-20, + -1.0503208545953324e-19, + 1.7787691892340307e-20, + 2.710505431213761e-20, + 1.9481757786848908e-20, + 1.2705494208814505e-20, + 1.5839516113655416e-19, + -7.453889935837843e-20, + 4.319868030996932e-20, + 4.319868030996932e-20, + 1.6940658945086007e-20, + 1.2790197503539935e-19, + -6.860966872759833e-20, + 3.218725199566341e-20, + 3.8963515573697816e-20, + 1.8634724839594607e-20, + 2.371692252312041e-20, + 1.3891340334970526e-19, + 3.3881317890172014e-20, + -9.147955830346444e-20, + 5.082197683525802e-21, + 2.710505431213761e-20, + 1.2959604092990795e-19, + -6.860966872759833e-20, + 3.6422416731934915e-20, + 3.3881317890172014e-20, + 1.7787691892340307e-20, + 2.202285662861181e-20, + 1.3721933745519665e-19, + -7.199780051661553e-20, + 1.2705494208814505e-20, + 3.6422416731934915e-20, + 1.6940658945086007e-20, + 1.2451384324638215e-19, + -8.639736061993863e-20, + 2.1175823681357508e-20, + 1.6940658945086007e-21, + 3.5575383784680614e-20, + 4.573977915173222e-20, + 3.4728350837426314e-20, + 7.623296525288703e-21, + 3.218725199566341e-20, + 2.795208725939191e-20, + 2.795208725939191e-20, + 2.541098841762901e-21, + 1.2705494208814505e-20, + 2.0328790734103208e-20, + 2.0328790734103208e-20, + 2.202285662861181e-20, + 1.1858461261560205e-20, + 2.456395547037471e-20, + 1.7787691892340307e-20, + 1.1858461261560205e-20, + 3.049318610115481e-20, + 2.0328790734103208e-20, + 2.202285662861181e-20, + 2.1175823681357508e-20, + -6.776263578034403e-21, + 1.4399560103323106e-20, + 2.202285662861181e-20, + 0.0, + 0.0, + 1.2705494208814505e-20, + -8.470329472543003e-21, + 2.202285662861181e-20, + 2.0328790734103208e-20, + 2.202285662861181e-20, + 9.317362419797304e-21, + -6.776263578034403e-21, + 0.0, + 1.1011428314305904e-20, + 1.1858461261560205e-20, + 2.1175823681357508e-20, + 9.317362419797304e-21, + 8.470329472543003e-21, + 2.541098841762901e-20, + 7.623296525288703e-21, + 8.470329472543003e-22, + -1.1011428314305904e-20, + 6.776263578034403e-21, + 5.082197683525802e-21, + -2.541098841762901e-21, + 1.6940658945086007e-20, + 5.929230630780102e-21, + -5.082197683525802e-21, + 5.929230630780102e-21, + 1.5246593050577406e-20, + -1.1858461261560205e-20, + -1.3552527156068805e-20, + 4.235164736271502e-21, + 1.1858461261560205e-20, + 5.082197683525802e-21, + 9.317362419797304e-21, + 2.541098841762901e-21, + 0.0, + 5.082197683525802e-21, + 1.1265538198482195e-19, + -1.1265538198482195e-19, + 2.1175823681357508e-20, + -1.6093625997831706e-20, + 1.1011428314305904e-20, + 4.235164736271502e-21, + 1.4399560103323106e-20, + 7.623296525288703e-21, + -6.776263578034403e-21, + 5.082197683525802e-21, + -8.470329472543003e-22, + 5.082197683525802e-21, + 0.0, + 4.235164736271502e-21, + 0.0, + -3.3881317890172014e-21, + 6.776263578034403e-21, + 0.0, + -1.3552527156068805e-20, + -9.317362419797304e-21 + ], + "direct": [ + -6.445044611524884e-06, + -6.445044611751665e-06, + -6.445044612252768e-06, + -6.4450446130836446e-06, + -6.445044614308926e-06, + -6.445044616003844e-06, + -6.445044618255834e-06, + -6.445044621166508e-06, + -6.445044624853727e-06, + -6.44504462945417e-06, + -6.44504463512616e-06, + -6.445044642052958e-06, + -6.445044650446545e-06, + -6.445044660551793e-06, + -6.4450446726515856e-06, + -6.445044687072148e-06, + -6.445044704189629e-06, + -6.445044724437122e-06, + -6.445044748312908e-06, + -6.445044776389779e-06, + -6.445044809325132e-06, + -6.445044847872887e-06, + -6.445044892896412e-06, + -6.445044945383039e-06, + -6.445045006460153e-06, + -6.4450450774130176e-06, + -6.445045159704252e-06, + -6.445045254995223e-06, + -6.445045365169047e-06, + -6.445045492355615e-06, + -6.445045638958043e-06, + -6.445045807680777e-06, + -6.445046001559003e-06, + -6.445046223988786e-06, + -6.4450464787580246e-06, + -6.445046770076909e-06, + -6.445047102607976e-06, + -6.445047481494154e-06, + -6.445047912384498e-06, + -6.445048401455593e-06, + -6.445048955428604e-06, + -6.445049581578871e-06, + -6.445050287738256e-06, + -6.4450510822872294e-06, + -6.4450519741362105e-06, + -6.4450529726936205e-06, + -6.445054087820067e-06, + -6.445055329766658e-06, + -6.445056709097288e-06, + -6.445058236593317e-06, + -6.4450599231413595e-06, + -6.445061779604011e-06, + -6.445063816674991e-06, + -6.44506604471938e-06, + -6.445068473602832e-06, + -6.44507111251111e-06, + -6.44507396976473e-06, + -6.445077052632257e-06, + -6.4450803671475065e-06, + -6.44508391793501e-06, + -6.445087708049293e-06, + -6.445091738832851e-06, + -6.4450960097982936e-06, + -6.44510051853743e-06, + -6.445105260663147e-06, + -6.445110229785218e-06, + -6.445115417522782e-06, + -6.445120813553832e-06, + -6.445126405701635e-06, + -6.445132180055938e-06, + -6.445138121127118e-06, + -6.445144212028511e-06, + -6.445150434682824e-06, + -6.445156770047609e-06, + -6.445163198353408e-06, + -6.445169699349173e-06, + -6.445176252548202e-06, + -6.445182837470369e-06, + -6.445189433873503e-06, + -6.4451960219702665e-06, + -6.445202582627019e-06, + -6.445209097540394e-06, + -6.445215549389846e-06, + -6.445221921965345e-06, + -6.4452282002685395e-06, + -6.445234370588609e-06, + -6.445240420552448e-06, + -6.445246339152327e-06, + -6.445252116751124e-06, + -6.445257745068386e-06, + -6.445263217148803e-06, + -6.445268527317361e-06, + -6.4452736711205665e-06, + -6.445278645259852e-06, + -6.4452834475167e-06, + -6.445288076673126e-06, + -6.4452925324284356e-06, + -6.445296815315775e-06, + -6.445300926617699e-06, + -6.4453048682836275e-06, + -6.445308642850192e-06, + -6.4453122533640575e-06, + -6.445315703308864e-06, + -6.445318996537826e-06, + -6.44532213720945e-06, + -6.445325129728265e-06, + -6.445327978692243e-06, + -6.445330688843343e-06, + -6.445333265023045e-06, + -6.445335712133679e-06, + -6.445338035103768e-06, + -6.445340238856249e-06, + -6.445342328282644e-06, + -6.4453443082191886e-06, + -6.445346183427942e-06, + -6.445347958578943e-06, + -6.4453496382381685e-06, + -6.445351226853713e-06, + -6.445352728747797e-06, + -6.445354148111729e-06, + -6.445355488995787e-06, + -6.44535675531215e-06, + -6.445357950823948e-06, + -6.44535907915522e-06, + -6.445360143779313e-06, + -6.4453611480275695e-06, + -6.445362095088757e-06, + -6.445363421059317e-06, + -6.452693410669669e-06, + -6.452694084365364e-06, + -6.4526947985243516e-06, + -6.452695555387785e-06, + -6.452696357225143e-06, + -6.4526972064967114e-06, + -6.4526981057234715e-06, + -6.452699057466664e-06, + -6.452700064533855e-06, + -6.452701129603901e-06, + -6.452702255645079e-06, + -6.452703445629333e-06, + -6.452704702551074e-06, + -6.4527060295907265e-06, + -6.452707429903122e-06, + -6.452708906720637e-06, + -6.452710463306195e-06, + -6.452712102979193e-06, + -6.452713829024914e-06, + -6.452715644717692e-06, + -6.452717553312114e-06, + -6.452719558002867e-06, + -6.4527216618605835e-06, + -6.45272386786273e-06, + -6.45272617880786e-06, + -6.452728597310849e-06, + -6.452731125733269e-06, + -6.452733766154383e-06, + -6.452736520321318e-06, + -6.452739389591573e-06, + -6.452742374869332e-06, + -6.452745476578734e-06, + -6.452748694581724e-06, + -6.452752028111732e-06, + -6.452755475732672e-06, + -6.452759035274535e-06, + -6.452762703780615e-06, + -6.452766477426467e-06, + -6.452770351519018e-06, + -6.452774320425708e-06, + -6.45277837753159e-06, + -6.4527825152460636e-06, + -6.452786724974008e-06, + -6.4527909971251285e-06, + -6.452795321130736e-06, + -6.4527996854899585e-06, + -6.452804077819136e-06, + -6.452808484930523e-06, + -6.452812892930671e-06, + -6.4528172873487125e-06, + -6.452821653255676e-06, + -6.452825975445009e-06, + -6.452830238587606e-06, + -6.452834427440149e-06, + -6.452838527020709e-06, + -6.452842522835708e-06, + -6.452846401075175e-06, + -6.452850148811276e-06, + -6.452853754200189e-06, + -6.452857206644232e-06, + -6.4528604969622366e-06, + -6.452863617499804e-06, + -6.452866562248759e-06, + -6.452869326892103e-06, + -6.452871908841452e-06, + -6.4528743072363075e-06, + -6.45287652288809e-06, + -6.4528785582077535e-06, + -6.452880417104763e-06, + -6.45288210483815e-06, + -6.4528836278712315e-06, + -6.452884993692879e-06, + -6.4528862106310305e-06, + -6.4528872876745125e-06, + -6.452888234272937e-06, + -6.45288906016785e-06, + -6.452889775215398e-06, + -6.452890389233827e-06, + -6.452890911863112e-06, + -6.45289135245161e-06, + -6.452891719949684e-06, + -6.452892022835318e-06, + -6.4528922690539605e-06, + -6.452892465978444e-06, + -6.452892620381859e-06, + -6.4528927384354785e-06, + -6.452892825704634e-06, + -6.452892887171129e-06, + -6.4528929272529485e-06, + -6.452892949833751e-06, + -6.45289295830015e-06, + -6.452892955580398e-06, + -6.45289294418265e-06, + -6.452892926231918e-06, + -6.452892903519751e-06, + -6.452892877532641e-06, + -6.452892849488313e-06, + -6.452892820383759e-06, + -6.452892791003599e-06, + -6.452892761973308e-06, + -6.452892733765906e-06, + -6.452892706735764e-06, + -6.4528926811338385e-06, + -6.452892657132844e-06, + -6.452892634827211e-06, + -6.452892614268798e-06, + -6.452892595459995e-06, + -6.452892578369673e-06, + -6.452892562944182e-06, + -6.4528925491085494e-06, + -6.452892536780441e-06, + -6.4528925258592924e-06, + -6.452892516253059e-06, + -6.452892507857322e-06, + -6.452892500569348e-06, + -6.4528924942985806e-06, + -6.452892488942623e-06, + -6.452892484419636e-06, + -6.452892480637001e-06, + -6.4528924775178135e-06, + -6.452892474992746e-06, + -6.452892472988774e-06, + -6.4528924714441155e-06, + -6.452892470302851e-06, + -6.4528924695109135e-06, + -6.452892469025654e-06, + -6.452892468803136e-06 + ], + "direct_maximum_absolute": 6.45289295830015e-06, + "eliminated": [ + -6.445044611524884e-06, + -6.445044611751676e-06, + -6.445044612252763e-06, + -6.445044613083644e-06, + -6.445044614308923e-06, + -6.445044616003826e-06, + -6.4450446182558285e-06, + -6.445044621166522e-06, + -6.445044624853727e-06, + -6.445044629454166e-06, + -6.445044635126165e-06, + -6.445044642052961e-06, + -6.4450446504465466e-06, + -6.445044660551806e-06, + -6.445044672651598e-06, + -6.445044687072153e-06, + -6.445044704189646e-06, + -6.445044724437111e-06, + -6.445044748312905e-06, + -6.445044776389768e-06, + -6.445044809325142e-06, + -6.445044847872888e-06, + -6.445044892896412e-06, + -6.445044945383049e-06, + -6.4450450064601575e-06, + -6.445045077413027e-06, + -6.445045159704249e-06, + -6.445045254995215e-06, + -6.445045365169028e-06, + -6.445045492355626e-06, + -6.4450456389580585e-06, + -6.44504580768078e-06, + -6.445046001559005e-06, + -6.445046223988789e-06, + -6.445046478758031e-06, + -6.445046770076901e-06, + -6.445047102607984e-06, + -6.445047481494146e-06, + -6.445047912384496e-06, + -6.4450484014555824e-06, + -6.445048955428608e-06, + -6.445049581578878e-06, + -6.4450502877382656e-06, + -6.445051082287247e-06, + -6.4450519741362054e-06, + -6.445052972693621e-06, + -6.4450540878200765e-06, + -6.445055329766663e-06, + -6.445056709097305e-06, + -6.445058236593329e-06, + -6.445059923141374e-06, + -6.4450617796040165e-06, + -6.445063816675013e-06, + -6.445066044719381e-06, + -6.445068473602879e-06, + -6.445071112511078e-06, + -6.4450739697647575e-06, + -6.445077052632262e-06, + -6.445080367147509e-06, + -6.445083917935037e-06, + -6.445087708049351e-06, + -6.445091738832813e-06, + -6.445096009798315e-06, + -6.445100518537444e-06, + -6.445105260663161e-06, + -6.445110229785231e-06, + -6.44511541752281e-06, + -6.445120813553851e-06, + -6.445126405701656e-06, + -6.445132180055974e-06, + -6.445138121127189e-06, + -6.445144212028522e-06, + -6.445150434682777e-06, + -6.4451567700476975e-06, + -6.445163198353356e-06, + -6.445169699349186e-06, + -6.445176252548216e-06, + -6.4451828374704294e-06, + -6.4451894338734754e-06, + -6.445196021970305e-06, + -6.445202582627046e-06, + -6.445209097540411e-06, + -6.445215549389874e-06, + -6.445221921965364e-06, + -6.44522820026857e-06, + -6.445234370588636e-06, + -6.445240420552548e-06, + -6.445246339152283e-06, + -6.445252116751167e-06, + -6.445257745068431e-06, + -6.44526321714885e-06, + -6.445268527317397e-06, + -6.445273671120607e-06, + -6.4452786452598946e-06, + -6.445283447516785e-06, + -6.445288076673108e-06, + -6.445292532428523e-06, + -6.4452968153157865e-06, + -6.4453009266176735e-06, + -6.445304868283657e-06, + -6.445308642850224e-06, + -6.445312253364146e-06, + -6.445315703308846e-06, + -6.445318996537863e-06, + -6.445322137209475e-06, + -6.445325129728298e-06, + -6.445327978692272e-06, + -6.445330688843376e-06, + -6.445333265023131e-06, + -6.445335712133645e-06, + -6.445338035103783e-06, + -6.445340238856284e-06, + -6.4453423282826856e-06, + -6.445344308219205e-06, + -6.4453461834280086e-06, + -6.445347958578972e-06, + -6.445349638238158e-06, + -6.445351226853783e-06, + -6.445352728747772e-06, + -6.4453541481117705e-06, + -6.445355488995835e-06, + -6.4453567553121665e-06, + -6.445357950824048e-06, + -6.4453590791552565e-06, + -6.445360143779345e-06, + -6.445361148027553e-06, + -6.445362095088789e-06, + -6.445363421053224e-06, + -6.45269341066959e-06, + -6.452694084365387e-06, + -6.452694798524398e-06, + -6.452695555387814e-06, + -6.452696357225176e-06, + -6.4526972064967385e-06, + -6.452698105723492e-06, + -6.4526990574667155e-06, + -6.452700064533879e-06, + -6.452701129603939e-06, + -6.452702255645233e-06, + -6.452703445629376e-06, + -6.452704702550969e-06, + -6.452706029590744e-06, + -6.452707429903149e-06, + -6.4527089067206565e-06, + -6.452710463306208e-06, + -6.4527121029793515e-06, + -6.452713829024839e-06, + -6.4527156447177356e-06, + -6.452717553312158e-06, + -6.452719558002884e-06, + -6.4527216618607114e-06, + -6.452723867862661e-06, + -6.452726178807892e-06, + -6.452728597310888e-06, + -6.452731125733288e-06, + -6.4527337661544064e-06, + -6.452736520321457e-06, + -6.4527393895916065e-06, + -6.45274237486924e-06, + -6.452745476578739e-06, + -6.4527486945817514e-06, + -6.452752028111861e-06, + -6.452755475732604e-06, + -6.452759035274572e-06, + -6.452762703780649e-06, + -6.452766477426485e-06, + -6.45277035151904e-06, + -6.452774320425845e-06, + -6.452778377531518e-06, + -6.452782515246076e-06, + -6.452786724974045e-06, + -6.4527909971251454e-06, + -6.45279532113086e-06, + -6.452799685489872e-06, + -6.452804077819157e-06, + -6.452808484930524e-06, + -6.452812892930706e-06, + -6.452817287348758e-06, + -6.452821653255711e-06, + -6.452825975445017e-06, + -6.4528302385876385e-06, + -6.452834427440177e-06, + -6.452838527020737e-06, + -6.452842522835711e-06, + -6.452846401075188e-06, + -6.452850148811296e-06, + -6.452853754200209e-06, + -6.452857206644254e-06, + -6.452860496962248e-06, + -6.452863617499828e-06, + -6.452866562248777e-06, + -6.452869326892115e-06, + -6.452871908841482e-06, + -6.452874307236328e-06, + -6.452876522888112e-06, + -6.452878558207775e-06, + -6.452880417104756e-06, + -6.4528821048381645e-06, + -6.4528836278712535e-06, + -6.452884993692879e-06, + -6.4528862106310305e-06, + -6.452887287674525e-06, + -6.452888234272928e-06, + -6.452889060167872e-06, + -6.452889775215419e-06, + -6.452890389233849e-06, + -6.452890911863121e-06, + -6.452891352451603e-06, + -6.452891719949684e-06, + -6.452892022835329e-06, + -6.452892269053972e-06, + -6.452892465978465e-06, + -6.452892620381868e-06, + -6.452892738435487e-06, + -6.45289282570466e-06, + -6.452892887171137e-06, + -6.452892927252949e-06, + -6.45289294983374e-06, + -6.452892958300157e-06, + -6.452892955580403e-06, + -6.452892944182648e-06, + -6.452892926231935e-06, + -6.452892903519757e-06, + -6.452892877532636e-06, + -6.452892849488319e-06, + -6.452892820383774e-06, + -6.4528927910035875e-06, + -6.452892761973294e-06, + -6.45289273376591e-06, + -6.452892706735776e-06, + -6.452892681133844e-06, + -6.452892657132853e-06, + -6.452892634827214e-06, + -6.452892614268798e-06, + -6.45289259546e-06, + -6.452892578369785e-06, + -6.4528925629440695e-06, + -6.452892549108571e-06, + -6.4528925367804245e-06, + -6.4528925258593035e-06, + -6.452892516253063e-06, + -6.452892507857337e-06, + -6.452892500569355e-06, + -6.452892494298574e-06, + -6.452892488942628e-06, + -6.452892484419635e-06, + -6.452892480637006e-06, + -6.4528924775178135e-06, + -6.45289247499275e-06, + -6.452892472988774e-06, + -6.452892471444112e-06, + -6.452892470302858e-06, + -6.4528924695109135e-06, + -6.452892469025641e-06, + -6.452892468803127e-06 + ], + "eliminated_maximum_absolute": 6.452892958300157e-06, + "floor_active": true, + "maximum_absolute_difference": 6.093555022547437e-18, + "normalization_floor": 1.0, + "normalization_scale": 1.0, + "relative_error": 6.093555022547437e-18, + "unit": "A m-2" + }, + "electron_density": { + "difference": [ + 0.0, + -0.00439453125, + 0.001953125, + 0.00048828125, + 0.00146484375, + 0.00634765625, + 0.001953125, + -0.00537109375, + 0.0, + 0.001953125, + -0.001953125, + -0.0009765625, + -0.0009765625, + -0.0048828125, + -0.0048828125, + -0.001953125, + -0.005859375, + 0.00390625, + 0.0009765625, + 0.00390625, + -0.00341796875, + -0.00048828125, + 0.0, + -0.0029296875, + -0.00146484375, + -0.00341796875, + 0.001220703125, + 0.002685546875, + 0.006103515625, + -0.00341796875, + -0.005126953125, + -0.000732421875, + -0.00048828125, + -0.001220703125, + -0.001953125, + 0.002685546875, + -0.00244140625, + 0.002197265625, + 0.000732421875, + 0.0029296875, + -0.00146484375, + -0.001708984375, + -0.00244140625, + -0.0048828125, + 0.00146484375, + -0.000244140625, + -0.00244140625, + -0.0009765625, + -0.004150390625, + -0.0029296875, + -0.00341796875, + -0.00146484375, + -0.0048828125, + -0.000244140625, + 0.001708984375, + -0.005126953125, + -0.00537109375, + -0.0009765625, + -0.00048828125, + -0.0048828125, + -0.00048828125, + -0.00341796875, + -0.00341796875, + -0.00244140625, + -0.00244140625, + -0.0018310546875, + -0.00439453125, + -0.002685546875, + -0.003173828125, + -0.005126953125, + -0.0023193359375, + -0.0015869140625, + -0.0013427734375, + -0.0042724609375, + -0.00048828125, + -0.00146484375, + -0.0018310546875, + -0.00048828125, + -0.00341796875, + -0.0042724609375, + -0.0029296875, + -0.0018310546875, + -0.0030517578125, + -0.0020751953125, + -0.003173828125, + -0.002685546875, + -0.0042724609375, + -0.0010986328125, + -0.004150390625, + -0.00439453125, + -0.0042724609375, + -0.003173828125, + -0.0035400390625, + -0.0037841796875, + -0.00244140625, + -0.003173828125, + -0.00262451171875, + -0.0009765625, + -0.00244140625, + -0.0023193359375, + -0.0025634765625, + -0.0025634765625, + -0.0028076171875, + -0.0028076171875, + -0.00189208984375, + -0.00250244140625, + -0.00213623046875, + -0.00238037109375, + -0.002197265625, + -0.00152587890625, + -0.00103759765625, + -0.00244140625, + -0.00299072265625, + -0.0010986328125, + -0.00079345703125, + -0.001953125, + -0.00311279296875, + -0.0009765625, + -0.0020751953125, + -0.00286865234375, + -0.00341796875, + -0.0010986328125, + -0.0029296875, + -0.00250244140625, + -0.0020751953125, + -0.00250244140625, + -0.00213623046875, + -0.0015869140625, + -0.1015625, + -0.07421875, + -0.14453125, + -0.08984375, + -0.1015625, + -0.0859375, + -0.0625, + -0.16015625, + -0.07421875, + -0.11328125, + -0.1328125, + -0.125, + -0.01953125, + -0.0546875, + -0.078125, + -0.0546875, + -0.0390625, + -0.13671875, + -0.1015625, + -0.125, + -0.125, + -0.046875, + -0.046875, + -0.11328125, + -0.08984375, + -0.109375, + -0.05078125, + -0.064453125, + -0.07421875, + -0.08984375, + -0.05078125, + -0.015625, + -0.06640625, + -0.046875, + -0.099609375, + -0.087890625, + -0.078125, + -0.04296875, + -0.048828125, + -0.056640625, + -0.0859375, + -0.029296875, + -0.076171875, + -0.033203125, + -0.025390625, + -0.048828125, + -0.0390625, + -0.00390625, + -0.0625, + -0.080078125, + -0.05859375, + -0.015625, + -0.0546875, + -0.041015625, + -0.04296875, + -0.00390625, + -0.017578125, + -0.02734375, + -0.025390625, + -0.0283203125, + -0.0146484375, + -0.029296875, + -0.021484375, + -0.0146484375, + -0.033203125, + -0.0205078125, + -0.0234375, + -0.0205078125, + 0.0068359375, + -0.0126953125, + -0.01953125, + 0.0009765625, + -0.0009765625, + -0.009765625, + 0.0068359375, + -0.0166015625, + -0.0146484375, + -0.015625, + -0.0068359375, + 0.0048828125, + 0.0, + -0.00732421875, + -0.0078125, + -0.01318359375, + -0.00537109375, + -0.00537109375, + -0.0146484375, + -0.00439453125, + -0.00048828125, + 0.00634765625, + -0.00341796875, + -0.00244140625, + 0.00146484375, + -0.0087890625, + -0.00244140625, + 0.0029296875, + -0.00244140625, + -0.0068359375, + 0.00537109375, + 0.00634765625, + -0.001953125, + -0.00537109375, + -0.00244140625, + -0.00439453125, + -0.00146484375, + 0.0, + -0.00244140625, + -0.00048828125, + 0.0009765625, + -0.0087890625, + 0.00634765625, + -0.0048828125, + -0.001953125, + -0.005859375, + -0.00341796875, + 0.00341796875, + -0.00146484375, + 0.00048828125, + -0.001953125, + 0.00048828125, + -0.001953125, + 0.0, + 0.001953125, + -0.00244140625, + 0.0, + 0.00537109375, + 0.00341796875, + -0.0087890625 + ], + "direct": [ + 2515095827087.2163, + 2508793556354.7217, + 2502128356449.5947, + 2495082141841.1523, + 2487636277987.925, + 2479771611284.8813, + 2471468506711.2363, + 2462706893934.1553, + 2453466322630.2183, + 2443726027789.4434, + 2433465005766.469, + 2422662101821.8384, + 2411296109845.499, + 2399345884881.7583, + 2386790468967.1333, + 2373609230660.6206, + 2359782018474.89, + 2345289328213.018, + 2330112483968.8657, + 2314233832263.45, + 2297636948460.9204, + 2280306854240.83, + 2262230244494.2793, + 2243395721575.504, + 2223794034373.8174, + 2203418319191.0117, + 2182264338927.3267, + 2160330716610.0044, + 2137619158859.5803, + 2114134664508.6616, + 2089885713279.0083, + 2064884429220.74, + 2039146713542.194, + 2012692341533.7927, + 1985545018542.402, + 1957732390397.5623, + 1929286004336.7676, + 1900241217338.5884, + 1870637049830.4653, + 1840515983987.316, + 1809923707242.9138, + 1778908803160.364, + 1747522393398.7334, + 1715817736105.744, + 1683849787596.7192, + 1651674735565.7563, + 1619349513251.6309, + 1586931304868.7263, + 1554477053159.772, + 1522042980080.2463, + 1489684131357.0208, + 1457453954970.757, + 1425403922503.2805, + 1393583200813.3196, + 1362038379712.2249, + 1330813259289.914, + 1299948698385.6924, + 1269482523512.174, + 1239449495434.292, + 1209881328682.2678, + 1180806757631.9553, + 1152251641497.1487, + 1124239099703.318, + 1096789668681.6544, + 1069921471144.3386, + 1043650389353.4233, + 1017990234733.3794, + 992952907331.8312, + 968548540022.2722, + 944785623873.3064, + 921671112681.9921, + 899210506191.731, + 877407912902.1584, + 856266094559.6956, + 835786495342.1018, + 815969259387.7709, + 796813240662.7772, + 778316009217.1349, + 760473857685.2311, + 743281811478.0275, + 726733645545.0984, + 710821909912.531, + 695537965478.5104, + 680872030826.7327, + 666813240138.8226, + 653349711686.1196, + 640468625880.7181, + 628156311480.0178, + 616398338270.5774, + 605179614403.4808, + 594484486502.6061, + 584296840707.3342, + 574600202921.8197, + 565377836710.2098, + 556612837480.791, + 548288221827.23987, + 540387011128.3437, + 532892308737.02637, + 525787370305.79865, + 519055666994.2779, + 512680941478.72754, + 506647256833.54224, + 500939038478.36334, + 495541109483.25867, + 490438719599.592, + 485617568437.9678, + 481063823249.62506, + 476764131786.3211, + 472705630719.1022, + 468875950090.4688, + 465263214260.5409, + 461856039786.36163, + 458643530648.92, + 455615271213.1366, + 452761317276.33374, + 450072185529.54504, + 447538841725.0389, + 445152687813.625, + 442905548286.4754, + 440789655928.80554, + 438797637167.36914, + 436922497169.49725, + 435157604829.14166, + 433496677755.4183, + 431933767361.2162, + 430463244134.5124, + 429079783161.7759, + 427778349961.38367, + 20310231274091.098, + 20257525278151.574, + 20201711688277.387, + 20142626491431.285, + 20080099472442.734, + 20013954306726.74, + 19944008708014.53, + 19870074638270.957, + 19791958587438.945, + 19709461931090.074, + 19622381374463.67, + 19530509491661.113, + 19433635369011.9, + 19331545361712.48, + 19224023972765.28, + 19110854863025.25, + 18991822000661.92, + 18866710957630.348, + 18735310359682.305, + 18597413495059.863, + 18452820085241.613, + 18301338218877.777, + 18142786447389.887, + 17976996037530.977, + 17803813372547.64, + 17623102489369.34, + 17434747734615.414, + 17238656517066.908, + 17034762128726.559, + 16823026600821.604, + 16603443555110.36, + 16376041004904.07, + 16140884054477.691, + 15898077440197.695, + 15647767852133.086, + 15390145971297.928, + 15125448155403.686, + 14853957705367.87, + 14576005646092.873, + 14291970958539.055, + 14002280206000.35, + 13707406505967.549, + 13407867810011.555, + 13104224467674.201, + 12797076066251.02, + 12487057556129.281, + 12174834690626.07, + 11861098829287.328, + 11546561173713.34, + 11231946524246.945, + 10917986663433.354, + 10605413487191.994, + 10294952016233.371, + 9987313427795.887, + 9683188250665.525, + 9383239864448.258, + 9088098437019.213, + 8798355422321.363, + 8514558724539.6045, + 8237208614967.454, + 7966754465401.48, + 7703592337747.0, + 7448063444729.95, + 7200453472349.703, + 6960992731936.033, + 6729857089333.757, + 6507169601520.676, + 6293002777390.751, + 6087381369756.212, + 5890285599925.857, + 5701654714320.679, + 5521390774190.367, + 5349362584119.725, + 5185409672113.916, + 5029346243036.258, + 4880965037435.7295, + 4740041038746.409, + 4606334982991.978, + 4479596635994.553, + 4359567813347.202, + 4245985127769.478, + 4138582456757.7593, + 4037093130567.8384, + 3941251846471.6074, + 3850796319963.5967, + 3765468687204.4087, + 3685016675574.702, + 3609194560909.236, + 3537763930882.7993, + 3470494274293.3477, + 3407163415726.229, + 3347557814416.7515, + 3291472745166.816, + 3238712377989.4233, + 3189089771847.271, + 3142426796470.049, + 3098553994839.097, + 3057310397553.7256, + 3018543298969.606, + 2982108003756.0356, + 2947867551353.162, + 2915692424751.92, + 2885460249049.2607, + 2857055484370.8613, + 2830369116982.0625, + 2805298351729.3896, + 2781746308366.8984, + 2759621723805.648, + 2738838661884.829, + 2719316231886.7695, + 2700978316698.974, + 2683753311257.9033, + 2667573871685.5737, + 2652376675348.0884, + 2638102191908.5166, + 2624694465330.9873, + 2612100906690.7266, + 2600272097569.002, + 2589161603755.698, + 2578725798932.5977, + 2568923697985.199, + 2559716799561.9443, + 2551068937493.6113, + 2542946140672.0396, + 2535316500991.5454, + 2528150048955.9927, + 2521418636563.4795, + 2515095827087.2163 + ], + "direct_maximum_absolute": 20310231274091.098, + "eliminated": [ + 2515095827087.2163, + 2508793556354.726, + 2502128356449.593, + 2495082141841.152, + 2487636277987.9233, + 2479771611284.875, + 2471468506711.2344, + 2462706893934.1606, + 2453466322630.2183, + 2443726027789.4414, + 2433465005766.471, + 2422662101821.8394, + 2411296109845.5, + 2399345884881.763, + 2386790468967.138, + 2373609230660.6226, + 2359782018474.896, + 2345289328213.014, + 2330112483968.8647, + 2314233832263.4463, + 2297636948460.924, + 2280306854240.8306, + 2262230244494.2793, + 2243395721575.507, + 2223794034373.819, + 2203418319191.015, + 2182264338927.3254, + 2160330716610.0017, + 2137619158859.5742, + 2114134664508.665, + 2089885713279.0134, + 2064884429220.7407, + 2039146713542.1946, + 2012692341533.794, + 1985545018542.404, + 1957732390397.5596, + 1929286004336.77, + 1900241217338.5862, + 1870637049830.4646, + 1840515983987.313, + 1809923707242.9153, + 1778908803160.3657, + 1747522393398.7358, + 1715817736105.7488, + 1683849787596.7178, + 1651674735565.7566, + 1619349513251.6333, + 1586931304868.7273, + 1554477053159.7761, + 1522042980080.2493, + 1489684131357.0242, + 1457453954970.7585, + 1425403922503.2854, + 1393583200813.3198, + 1362038379712.2231, + 1330813259289.9192, + 1299948698385.6978, + 1269482523512.175, + 1239449495434.2925, + 1209881328682.2727, + 1180806757631.9558, + 1152251641497.152, + 1124239099703.3215, + 1096789668681.6569, + 1069921471144.3411, + 1043650389353.4252, + 1017990234733.3838, + 992952907331.8339, + 968548540022.2754, + 944785623873.3115, + 921671112681.9944, + 899210506191.7325, + 877407912902.1598, + 856266094559.6998, + 835786495342.1023, + 815969259387.7723, + 796813240662.779, + 778316009217.1354, + 760473857685.2345, + 743281811478.0317, + 726733645545.1013, + 710821909912.5328, + 695537965478.5134, + 680872030826.7347, + 666813240138.8258, + 653349711686.1223, + 640468625880.7224, + 628156311480.0189, + 616398338270.5815, + 605179614403.4852, + 594484486502.6104, + 584296840707.3374, + 574600202921.8232, + 565377836710.2136, + 556612837480.7935, + 548288221827.24304, + 540387011128.3463, + 532892308737.02734, + 525787370305.8011, + 519055666994.2802, + 512680941478.7301, + 506647256833.5448, + 500939038478.36615, + 495541109483.2615, + 490438719599.5939, + 485617568437.9703, + 481063823249.6272, + 476764131786.3235, + 472705630719.1044, + 468875950090.47034, + 465263214260.54193, + 461856039786.3641, + 458643530648.923, + 455615271213.1377, + 452761317276.33453, + 450072185529.547, + 447538841725.042, + 445152687813.626, + 442905548286.4775, + 440789655928.8084, + 438797637167.37256, + 436922497169.49835, + 435157604829.1446, + 433496677755.4208, + 431933767361.21826, + 430463244134.5149, + 429079783161.778, + 427778349961.38525, + 20310231274091.2, + 20257525278151.65, + 20201711688277.53, + 20142626491431.375, + 20080099472442.836, + 20013954306726.824, + 19944008708014.594, + 19870074638271.117, + 19791958587439.02, + 19709461931090.188, + 19622381374463.805, + 19530509491661.24, + 19433635369011.918, + 19331545361712.535, + 19224023972765.36, + 19110854863025.305, + 18991822000661.96, + 18866710957630.484, + 18735310359682.406, + 18597413495059.99, + 18452820085241.74, + 18301338218877.824, + 18142786447389.934, + 17976996037531.09, + 17803813372547.73, + 17623102489369.45, + 17434747734615.465, + 17238656517066.973, + 17034762128726.633, + 16823026600821.693, + 16603443555110.41, + 16376041004904.086, + 16140884054477.758, + 15898077440197.742, + 15647767852133.186, + 15390145971298.016, + 15125448155403.764, + 14853957705367.912, + 14576005646092.922, + 14291970958539.111, + 14002280206000.436, + 13707406505967.578, + 13407867810011.63, + 13104224467674.234, + 12797076066251.045, + 12487057556129.33, + 12174834690626.11, + 11861098829287.332, + 11546561173713.402, + 11231946524247.025, + 10917986663433.412, + 10605413487192.01, + 10294952016233.426, + 9987313427795.928, + 9683188250665.568, + 9383239864448.262, + 9088098437019.23, + 8798355422321.39, + 8514558724539.63, + 8237208614967.482, + 7966754465401.495, + 7703592337747.029, + 7448063444729.972, + 7200453472349.718, + 6960992731936.066, + 6729857089333.777, + 6507169601520.699, + 6293002777390.771, + 6087381369756.205, + 5890285599925.87, + 5701654714320.698, + 5521390774190.366, + 5349362584119.726, + 5185409672113.926, + 5029346243036.251, + 4880965037435.746, + 4740041038746.424, + 4606334982991.993, + 4479596635994.56, + 4359567813347.1973, + 4245985127769.478, + 4138582456757.7666, + 4037093130567.846, + 3941251846471.6206, + 3850796319963.602, + 3765468687204.414, + 3685016675574.717, + 3609194560909.24, + 3537763930882.8, + 3470494274293.3413, + 3407163415726.2324, + 3347557814416.754, + 3291472745166.8145, + 3238712377989.432, + 3189089771847.2734, + 3142426796470.046, + 3098553994839.0996, + 3057310397553.7324, + 3018543298969.6006, + 2982108003756.0293, + 2947867551353.164, + 2915692424751.9253, + 2885460249049.263, + 2857055484370.8657, + 2830369116982.064, + 2805298351729.3896, + 2781746308366.901, + 2759621723805.6484, + 2738838661884.828, + 2719316231886.7783, + 2700978316698.968, + 2683753311257.908, + 2667573871685.5757, + 2652376675348.094, + 2638102191908.52, + 2624694465330.984, + 2612100906690.728, + 2600272097569.0015, + 2589161603755.7, + 2578725798932.597, + 2568923697985.201, + 2559716799561.9443, + 2551068937493.6094, + 2542946140672.042, + 2535316500991.5454, + 2528150048955.9873, + 2521418636563.476, + 2515095827087.225 + ], + "eliminated_maximum_absolute": 20310231274091.2, + "floor_active": false, + "maximum_absolute_difference": 0.16015625, + "normalization_floor": 1.0, + "normalization_scale": 20310231274091.2, + "relative_error": 7.88549612452241e-15, + "unit": "m-3" + }, + "electron_rate": { + "difference": [ + 564805698.3107066, + -777387108.5218217, + 192689775.14660573, + -108910933.60488415, + -581494202.0590763, + 483516084.8842032, + 668431319.3072405, + -458306456.52421546, + -135056056.48833966, + 280241599.3295233, + -72107538.02094561, + -22683373.6071347, + 299749986.5078038, + -20215227.286358356, + -171854941.8135767, + 252585338.90573978, + -562740946.8544903, + 161240660.71700573, + -152516376.05784416, + 346386303.6239853, + -136637267.4015112, + -12940665.268702507, + 134904885.0800705, + -69767275.54407215, + 66184085.218450546, + -157052468.5945511, + -59666180.46604347, + -113411032.07491493, + 314574247.6417599, + 42768983.12539673, + -122198291.80755997, + -7763561.661561966, + 7406590.853961945, + 35358053.67394638, + -121644567.81673813, + 129282563.22953033, + -117596020.44622421, + 35591594.25601196, + -51226433.66768646, + 92940434.27423859, + 15773575.045146942, + 15186683.463279724, + 48800878.65306091, + -127195789.81922913, + 31875289.71181488, + 44077884.61933899, + -25637129.49885559, + 62220013.334609985, + -24197717.828842163, + 11784629.111465454, + -38309881.96044159, + 71120431.5501709, + -91587988.3202591, + 193949668.00549316, + -324537520.9667969, + 239494056.8432312, + -88956777.72729492, + -10137345.431610107, + 93608375.70809937, + 122621069.012146, + -371950589.58055115, + 229293469.6072998, + -26129717.17527771, + -200.9744873046875, + -6532686.943344116, + 58963150.916275024, + -36206386.272750854, + 9942725.409317017, + 60177151.596725464, + 138532137.74499512, + -242918305.4235382, + -236019772.60569763, + 560888569.1069641, + -592632338.9912872, + 278422011.8609009, + 7486880.173950195, + 206878753.7163086, + -408473070.63897705, + 314584597.0997925, + -53924746.53213501, + -51274042.21383667, + 57299863.821746826, + -45537143.71575928, + 61241939.49209595, + -19519988.153198242, + 435347069.8900757, + -893782838.3454285, + 563112168.0563965, + 11383781.570251465, + 11864325.816986084, + -80460509.80270386, + 38786467.04446411, + 13516786.908050537, + 353597999.6077881, + -903669030.6911621, + 970604211.466095, + -725040212.2775574, + -376359638.1014099, + 584206585.0177917, + 28351890.933258057, + 656314172.1835632, + -1308759749.5303345, + 716985587.2878723, + -174416100.6781311, + 122638850.14297485, + -64708768.97329712, + 68319290.82302856, + 909257964.5953064, + -2165736402.6419373, + 919058120.5652466, + 409264635.2127075, + 144335121.6322937, + -572850442.3615723, + 1212983533.1299744, + -963470292.6322632, + -1043361379.1051025, + 2283356730.030426, + -2853364313.276184, + 2106837841.8815002, + 229153651.177536, + -1154561921.5262146, + 3191217365.242676, + -2565407414.225128, + -181518061.77816772, + -2196624677.1907196, + 2332163821.2096863, + -211598846706.84473, + -23290105288179.34, + 4950731497.332031, + 1040506939.6347656, + -762376183.4375, + 171027622.7451172, + -225642328.98242188, + -243065900.7421875, + 1059835668.1064453, + -864344025.2509766, + 407624423.3798828, + 3292843106.411133, + -2993993767.2177734, + -3725418552.928711, + 2931377608.9785156, + 210044852.90625, + -162377549.28125, + -136421703.27539062, + 2773305089.0410156, + -4194205627.267578, + 2006141696.1757812, + 1013.03125, + -401194075.47558594, + 1606577792.3642578, + -2697630310.9902344, + 1312634455.2392578, + 83761294.85058594, + -238659700.65820312, + 56704276.1796875, + 1222340448.600586, + -1060650081.6953125, + -1205682923.3105469, + 885189540.6904297, + 192585131.92089844, + 855708059.6298828, + -1581388485.5371094, + 801561861.0693359, + -18567740.287109375, + -112708048.99951172, + 28458575.396972656, + 743526131.6625977, + -1298613499.8510742, + 506214579.0053711, + 136645792.68115234, + -108351211.38769531, + 578307295.4770508, + -1097526655.8759766, + 542636415.7744141, + -95405450.88378906, + 161325851.65429688, + 47132799.580566406, + -49803491.71826172, + -119783129.99951172, + 106240829.3671875, + -17958960.609375, + 605.73828125, + -104126693.39746094, + 41055849.33886719, + 30409816.45361328, + -49.4912109375, + 6628403.65234375, + -39498924.84863281, + 49135374.32446289, + -26127988.510009766, + -22840457.36669922, + 71854120.37646484, + -39308014.23303223, + 6584870.339599609, + -3314760.039916992, + -110323925.34790039, + 84470353.12475586, + 30794085.311035156, + -90246021.04199219, + -1489.6202392578125, + 53876133.15649414, + -91587743.52636719, + 134755106.20159912, + -7659986.516967773, + 7856356.147949219, + -60496973.324279785, + -78813570.07867432, + 34181250.80340576, + 57300987.86047363, + 4554306.161987305, + 51822630.927490234, + -68322086.252594, + -5061645.989715576, + 105152471.5038147, + -114808408.48666382, + -45534169.237213135, + -83050250.83633423, + 129974328.37179565, + -12929867.710571289, + -60822442.98760986, + 162657607.3479004, + -96291075.26531982, + -100943437.46020508, + 105904438.1843872, + 94090743.63800049, + -287609912.1261902, + -18904680.462417603, + 208827064.09487915, + 94231883.42811584, + -88242932.43596649, + 58138173.29598999, + -98110042.23427582, + -38826148.21329498, + 81981636.55330658, + 1832948056.9059677, + -4056941377.833763, + 2547573203.760662, + -750320976.6572189, + 577338937.1646175, + -152758585.909729, + 242597768.762825, + -171281226.336586, + -385590996.1253967, + 336495726.04867554, + -178336503.93467712, + 189074018.41753578, + -171864801.1683426, + 151914613.06780243, + -161174055.93874168, + -136823822.42400742, + 435644054.58368826, + -308296894.8836365, + -654643398.98423, + 217233042.9777069 + ], + "direct": [ + 1024631637.6505504, + 1339048272.474272, + 1851241245.3653557, + 2014923596.8716784, + 1625047101.4331112, + 2044517586.1185782, + 1250967597.8541155, + 1193965036.7726595, + 883085070.7929103, + 632717935.1732733, + 371308131.0103044, + -699135137.5446347, + -176947825.0859462, + -1380983382.8488584, + -1215653525.6885767, + -2221916703.59426, + -2597362888.7919903, + -2581577501.1579943, + -4242645417.370344, + -4419755447.313515, + -4952469569.151511, + -5762712079.6437025, + -6695460659.7949295, + -7485367653.044072, + -8461553745.781549, + -9294782441.219551, + -10555988393.341043, + -11419939487.824915, + -12721003971.60824, + -13988042245.874603, + -15171932156.30756, + -16787252284.411562, + -18033880385.646038, + -19858020766.826054, + -21366350799.31674, + -23245851317.27047, + -24913397668.946224, + -27230060957.243988, + -28792218924.167686, + -31340122052.22576, + -33433300055.954853, + -35954777204.03672, + -38178436243.34694, + -40870607681.81923, + -43481876784.288185, + -46405386996.38066, + -49014686539.498856, + -52072454851.66539, + -55100198026.82884, + -58220782754.888535, + -61185261582.96044, + -64777655209.44983, + -67811069866.32026, + -71171397253.9945, + -74517399826.9668, + -78034200433.15677, + -81312082181.7273, + -84746843451.43161, + -88251972050.2919, + -91723118260.98785, + -94682826609.58055, + -98350409738.3927, + -101498441835.17528, + -104680742656.97449, + -107745930238.94334, + -110817343949.08372, + -113724769690.27275, + -116729799890.59068, + -119217567028.40327, + -121796798258.255, + -124456053641.42354, + -126701998876.6057, + -128893775014.89304, + -130888863166.99129, + -133189643808.1391, + -134557120895.82605, + -136253982702.28369, + -138146680146.63898, + -139266292298.9002, + -140492730558.53214, + -141976310758.21384, + -142796516036.17825, + -143729758831.71576, + -144375529016.5079, + -145695481368.1532, + -145941337818.10992, + -146337960454.34543, + -146803836063.9436, + -147868129858.42975, + -147242943370.183, + -148535638229.8027, + -148213780396.95554, + -148111132669.09195, + -148051869288.3922, + -149156745006.69116, + -148386812876.5339, + -148673955356.27756, + -148929120742.1014, + -147874351662.9822, + -148630848445.06674, + -149990356187.81644, + -147228998333.53033, + -147304121060.71213, + -149921560620.67813, + -147014884789.85703, + -146872199848.9733, + -149711088389.17697, + -147997256779.4047, + -144645717938.64194, + -148229087575.43475, + -147714217236.7873, + -149852457118.3677, + -146370596770.36157, + -148117815522.87003, + -139641041540.63226, + -151343877779.1051, + -151747094821.96957, + -134730052889.27618, + -157892142158.1185, + -129512812996.82246, + -172462750233.5262, + -111555274426.75732, + -173900000622.22513, + -149545181285.77817, + -131296526829.19072, + -131801544106.79031, + -189318703858.84473, + -7071704798707.34, + -6209679225698.668, + -6631628502684.365, + -7599066221623.4375, + -6271787403733.255, + -6615768931960.982, + -7062218441152.742, + -5704306802931.894, + -7687270021721.251, + -5812232598820.62, + -6412825423577.589, + -6934820939979.218, + -5979848144232.929, + -6543250707415.021, + -6414293457907.094, + -6274298515785.281, + -5979601191003.275, + -6199023135530.959, + -6142813465551.268, + -5919762228991.824, + -5845725769566.969, + -5952420796659.476, + -5751946279235.636, + -5719947981522.99, + -5583213828708.761, + -5543251110989.149, + -5441213549944.658, + -5334192120287.82, + -5258777035623.399, + -5188104921141.695, + -5012960014535.311, + -4920973193379.31, + -4860085271192.079, + -4730674435068.37, + -4599756365205.537, + -4480012234690.931, + -4410243397004.287, + -4227262558784.9995, + -4111255921480.603, + -4024006618692.3374, + -3870420894067.851, + -3743657416176.9946, + -3615131745871.319, + -3488682932815.3877, + -3348624270980.523, + -3223612826263.876, + -3099263879604.2256, + -2969233151230.884, + -2828805557024.3457, + -2716842614332.4194, + -2578491132235.7183, + -2463475691813.9995, + -2331546303834.633, + -2229032511514.6094, + -2101507251252.2617, + -1988719148083.3975, + -1885034863904.6611, + -1773477071353.5464, + -1679061569015.4912, + -1572562728172.3477, + -1486996113728.8486, + -1383938438629.6755, + -1307507472334.51, + -1225412242831.3667, + -1137901477147.6235, + -1070942075516.233, + -1001784435103.6604, + -926894789752.0399, + -871643806111.3479, + -807705760883.8752, + -753162118696.689, + -704926717613.042, + -648191930965.6202, + -609465146739.8435, + -560561013813.5264, + -523095823662.2984, + -486707881588.51697, + -453350961708.35205, + -414570784338.8243, + -388955473331.3287, + -360217382105.1966, + -333236895313.8895, + -308391927835.838, + -289596592597.9475, + -262088686499.6276, + -248897458302.73972, + -225104734755.8087, + -209859593224.29916, + -199128480061.4872, + -182695451947.36758, + -164857549139.91727, + -154703182700.07385, + -150618626051.33136, + -123013422765.9021, + -123988345378.67157, + -124653003479.42896, + -88905703551.09686, + -114441624346.2995, + -74143786084.18869, + -87765052406.02492, + -75610069093.03012, + -72492747196.69688, + -53180394435.74847, + -86339982325.01651, + -29767203969.859276, + -49663595599.463295, + -54679439048.38419, + -37993029462.90653, + -42981745192.17751, + -17192451015.739338, + -64634435637.43847, + 14130981380.508368, + -54254255276.97223, + -42148343574.737175, + 36457995477.694664, + -72447121662.0004, + 33229764193.329926, + -91447566281.79405, + 16168334876.80816, + 52124925095.83166, + -67562478516.54157, + -15216519773.954367, + 14122706747.888493, + -2648551371.6038117, + 78752615975.22574, + -35776039247.89829, + -78441362106.88362 + ], + "direct_maximum_absolute": 7687270021721.251, + "eliminated": [ + 459825939.33984375, + 2116435380.9960938, + 1658551470.21875, + 2123834530.4765625, + 2206541303.4921875, + 1561001501.234375, + 582536278.546875, + 1652271493.296875, + 1018141127.28125, + 352476335.84375, + 443415669.03125, + -676451763.9375, + -476697811.59375, + -1360768155.5625, + -1043798583.875, + -2474502042.5, + -2034621941.9375, + -2742818161.875, + -4090129041.3125, + -4766141750.9375, + -4815832301.75, + -5749771414.375, + -6830365544.875, + -7415600377.5, + -8527737831.0, + -9137729972.625, + -10496322212.875, + -11306528455.75, + -13035578219.25, + -14030811229.0, + -15049733864.5, + -16779488722.75, + -18041286976.5, + -19893378820.5, + -21244706231.5, + -23375133880.5, + -24795801648.5, + -27265652551.5, + -28740992490.5, + -31433062486.5, + -33449073631.0, + -35969963887.5, + -38227237122.0, + -40743411892.0, + -43513752074.0, + -46449464881.0, + -48989049410.0, + -52134674865.0, + -55076000309.0, + -58232567384.0, + -61146951701.0, + -64848775641.0, + -67719481878.0, + -71365346922.0, + -74192862306.0, + -78273694490.0, + -81223125404.0, + -84736706106.0, + -88345580426.0, + -91845739330.0, + -94310876020.0, + -98579703208.0, + -101472312118.0, + -104680742456.0, + -107739397552.0, + -110876307100.0, + -113688563304.0, + -116739742616.0, + -119277744180.0, + -121935330396.0, + -124213135336.0, + -126465979104.0, + -129454663584.0, + -130296230828.0, + -133468065820.0, + -134564607776.0, + -136460861456.0, + -137738207076.0, + -139580876896.0, + -140438805812.0, + -141925036716.0, + -142853815900.0, + -143684221688.0, + -144436770956.0, + -145675961380.0, + -146376684888.0, + -145444177616.0, + -147366948232.0, + -147879513640.0, + -147254807696.0, + -148455177720.0, + -148252566864.0, + -148124649456.0, + -148405467288.0, + -148253075976.0, + -149357417088.0, + -147948915144.0, + -148552761104.0, + -148458558248.0, + -148659200336.0, + -150646670360.0, + -145920238584.0, + -148021106648.0, + -149747144520.0, + -147137523640.0, + -146807491080.0, + -149779407680.0, + -148906514744.0, + -142479981536.0, + -149148145696.0, + -148123481872.0, + -149996792240.0, + -145797746328.0, + -149330799056.0, + -138677571248.0, + -150300516400.0, + -154030451552.0, + -131876688576.0, + -159998980000.0, + -129741966648.0, + -171308188312.0, + -114746491792.0, + -171334593208.0, + -149363663224.0, + -129099902152.0, + -134133707928.0, + 22280142848.0, + 16218400489472.0, + -6214629957196.0, + -6632669009624.0, + -7598303845440.0, + -6271958431356.0, + -6615543289632.0, + -7061975375252.0, + -5705366638600.0, + -7686405677696.0, + -5812640223244.0, + -6416118266684.0, + -6931826946212.0, + -5976122725680.0, + -6546182085024.0, + -6414503502760.0, + -6274136138236.0, + -5979464769300.0, + -6201796440620.0, + -6138619259924.0, + -5921768370688.0, + -5845725770580.0, + -5952019602584.0, + -5753552857028.0, + -5717250351212.0, + -5584526463164.0, + -5543334872284.0, + -5440974890244.0, + -5334248824564.0, + -5259999376072.0, + -5187044271060.0, + -5011754331612.0, + -4921858382920.0, + -4860277856324.0, + -4731530143128.0, + -4598174976720.0, + -4480813796552.0, + -4410224829264.0, + -4227149850736.0, + -4111284380056.0, + -4024750144824.0, + -3869122280568.0, + -3744163630756.0, + -3615268391664.0, + -3488574581604.0, + -3349202578276.0, + -3222515299608.0, + -3099806516020.0, + -2969137745780.0, + -2828966882876.0, + -2716889747132.0, + -2578441328744.0, + -2463355908684.0, + -2331652544664.0, + -2229014552554.0, + -2101507251858.0, + -1988615021390.0, + -1885075919754.0, + -1773507481170.0, + -1679061568966.0, + -1572569356576.0, + -1486956614804.0, + -1383987574004.0, + -1307481344346.0, + -1225389402374.0, + -1137973331268.0, + -1070902767502.0, + -1001791019974.0, + -926891474992.0, + -871533482186.0, + -807790231237.0, + -753192912782.0, + -704836471592.0, + -648191929476.0, + -609519022873.0, + -560469426070.0, + -523230578768.5, + -486700221602.0, + -453358818064.5, + -414510287365.5, + -388876659761.25, + -360251563356.0, + -333294196301.75, + -308396482142.0, + -289648415228.875, + -262020364413.375, + -248892396656.75, + -225209887227.3125, + -209744784815.8125, + -199082945892.25, + -182612401696.53125, + -164987523468.28906, + -154690252832.36328, + -150557803608.34375, + -123176080373.25, + -123892054303.40625, + -124552060041.96875, + -89011607989.28125, + -114535715089.9375, + -73856176172.0625, + -87746147725.5625, + -75818896157.125, + -72586979080.125, + -53092151503.3125, + -86398120498.3125, + -29669093927.625, + -49624769451.25, + -54761420684.9375, + -39825977519.8125, + -38924803814.34375, + -19740024219.5, + -63884114660.78125, + 13553642443.34375, + -54101496691.0625, + -42390941343.5, + 36629276704.03125, + -72061530665.875, + 32893268467.28125, + -91269229777.85938, + 15979260858.390625, + 52296789897.0, + -67714393129.609375, + -15055345718.015625, + 14259530570.3125, + -3084195426.1875, + 79060912870.10938, + -35121395848.91406, + -78658595149.86133 + ], + "eliminated_maximum_absolute": 16218400489472.0, + "floor_active": true, + "maximum_absolute_difference": 23290105288179.34, + "normalization_floor": 7.64318943829248e+20, + "normalization_scale": 7.64318943829248e+20, + "relative_error": 3.0471710110305e-08, + "unit": "m-3 s-1" + }, + "hole_current": { + "difference": [ + 0.0, + 7.623296525288703e-21, + 2.541098841762901e-20, + 2.541098841762901e-21, + -3.3881317890172014e-21, + -8.470329472543003e-21, + 0.0, + 3.3881317890172014e-21, + -1.3552527156068805e-20, + 0.0, + -1.2705494208814505e-20, + -1.4399560103323106e-20, + 1.8634724839594607e-20, + -8.470329472543003e-22, + -5.082197683525802e-21, + -7.623296525288703e-21, + -8.470329472543003e-21, + 1.7787691892340307e-20, + 1.0164395367051604e-20, + 9.317362419797304e-21, + -3.3881317890172014e-21, + 8.470329472543003e-21, + 4.235164736271502e-21, + -1.1011428314305904e-20, + -8.470329472543003e-22, + -5.929230630780102e-21, + -5.082197683525802e-21, + -5.929230630780102e-21, + 4.235164736271502e-21, + -5.082197683525802e-21, + -6.776263578034403e-21, + 8.470329472543003e-21, + -7.623296525288703e-21, + -1.8634724839594607e-20, + 1.2705494208814505e-20, + -1.7787691892340307e-20, + -3.3881317890172014e-21, + -2.541098841762901e-21, + -7.623296525288703e-21, + -6.776263578034403e-21, + 2.541098841762901e-21, + -4.235164736271502e-21, + -1.9481757786848908e-20, + -1.3552527156068805e-20, + 0.0, + -3.3881317890172014e-21, + -1.0164395367051604e-20, + -1.4399560103323106e-20, + 0.0, + 3.3881317890172014e-21, + 3.3881317890172014e-21, + -1.5246593050577406e-20, + -1.1011428314305904e-20, + -1.3552527156068805e-20, + -8.470329472543003e-21, + 4.235164736271502e-21, + -1.6093625997831706e-20, + -9.317362419797304e-21, + -7.623296525288703e-21, + 0.0, + -1.6940658945086007e-21, + -1.7787691892340307e-20, + -2.202285662861181e-20, + -1.1858461261560205e-20, + -1.3552527156068805e-20, + -3.3881317890172014e-21, + 0.0, + -1.0164395367051604e-20, + -1.4399560103323106e-20, + -7.623296525288703e-21, + -2.456395547037471e-20, + -1.6940658945086007e-21, + -1.2705494208814505e-20, + -1.4399560103323106e-20, + -2.371692252312041e-20, + -5.082197683525802e-21, + -1.3552527156068805e-20, + 7.962109704190423e-20, + -1.1265538198482195e-19, + -2.456395547037471e-20, + -2.795208725939191e-20, + -2.795208725939191e-20, + -2.710505431213761e-20, + -1.5246593050577406e-20, + -9.317362419797304e-21, + -1.3552527156068805e-20, + 7.623296525288703e-20, + -9.994988777600744e-20, + -2.710505431213761e-20, + -2.879912020664621e-20, + -3.4728350837426314e-20, + -1.1858461261560205e-20, + -2.286988957586611e-20, + -2.625802136488331e-20, + -3.134021904840911e-20, + -1.8634724839594607e-20, + 5.675120746603812e-20, + -1.0333801956502464e-19, + -2.1175823681357508e-20, + -2.371692252312041e-20, + -2.1175823681357508e-20, + 6.013933925505532e-20, + -1.0164395367051604e-19, + -2.1175823681357508e-20, + -3.3034284942917713e-20, + -2.1175823681357508e-20, + -1.0164395367051604e-20, + -2.371692252312041e-20, + -2.625802136488331e-20, + -3.8963515573697816e-20, + -2.286988957586611e-20, + -1.6940658945086007e-20, + -2.964615315390051e-20, + -1.4399560103323106e-20, + 6.013933925505532e-20, + -2.625802136488331e-20, + -1.1096131609031334e-19, + 5.166900978251232e-20, + -1.1096131609031334e-19, + -3.218725199566341e-20, + -2.795208725939191e-20, + -2.0328790734103208e-20, + -3.6422416731934915e-20, + 6.183340514956392e-20, + -2.795208725939191e-20, + -9.063252535621014e-20, + -4.2351647362715017e-20, + 5.152416714853184e-16, + -1.1011428314305904e-19, + -2.625802136488331e-20, + -3.3881317890172014e-20, + -1.5246593050577406e-20, + -3.9810548520952116e-20, + -2.710505431213761e-20, + -2.625802136488331e-20, + -2.625802136488331e-20, + -7.623296525288703e-21, + -2.710505431213761e-20, + 5.421010862427522e-20, + -2.371692252312041e-20, + -1.0926725019580474e-19, + -1.8634724839594607e-20, + -4.743384504624082e-20, + -1.4399560103323106e-20, + -2.710505431213761e-20, + 6.691560283308973e-20, + -1.0587911840678754e-19, + -1.2705494208814505e-20, + -2.371692252312041e-20, + -1.8634724839594607e-20, + 6.268043809681823e-20, + -1.0249098661777034e-19, + -2.0328790734103208e-20, + -1.6093625997831706e-20, + -1.7787691892340307e-20, + -1.2705494208814505e-20, + 4.912791094074942e-20, + -2.456395547037471e-20, + -1.1096131609031334e-19, + -1.9481757786848908e-20, + -2.0328790734103208e-20, + 5.844527336054672e-20, + -9.740878893424454e-20, + -2.710505431213761e-20, + -1.0164395367051604e-20, + -1.0164395367051604e-20, + -5.082197683525802e-21, + 5.929230630780102e-20, + -1.1434944787933055e-19, + -1.2705494208814505e-20, + -3.134021904840911e-20, + -5.082197683525802e-21, + 6.268043809681823e-20, + -8.385626177817573e-20, + -1.7787691892340307e-20, + -2.202285662861181e-20, + -2.1175823681357508e-20, + -1.5246593050577406e-20, + -3.049318610115481e-20, + -2.371692252312041e-20, + -2.625802136488331e-20, + -1.3552527156068805e-20, + -4.235164736271502e-21, + -1.5246593050577406e-20, + -1.1011428314305904e-20, + -1.5246593050577406e-20, + -1.4399560103323106e-20, + -4.235164736271502e-21, + -9.317362419797304e-21, + -9.317362419797304e-21, + -1.2705494208814505e-20, + -1.6093625997831706e-20, + -1.8634724839594607e-20, + -1.6940658945086007e-21, + -2.202285662861181e-20, + -5.929230630780102e-21, + -1.3552527156068805e-20, + 0.0, + -2.456395547037471e-20, + -1.4399560103323106e-20, + -4.235164736271502e-21, + -3.3881317890172014e-21, + -6.776263578034403e-21, + 4.235164736271502e-21, + -7.623296525288703e-21, + -4.235164736271502e-21, + -5.929230630780102e-21, + -4.235164736271502e-21, + -3.3881317890172014e-21, + -4.235164736271502e-21, + 7.623296525288703e-21, + -4.235164736271502e-21, + -3.3881317890172014e-21, + -7.623296525288703e-21, + -8.470329472543003e-22, + -9.317362419797304e-21, + -5.929230630780102e-21, + 1.6940658945086007e-21, + -1.5246593050577406e-20, + 4.235164736271502e-21, + 5.082197683525802e-21, + 7.623296525288703e-21, + -8.470329472543003e-22, + -4.235164736271502e-21, + -5.082197683525802e-21, + 5.082197683525802e-21, + -1.4399560103323106e-20, + -5.082197683525802e-21, + 0.0, + 6.776263578034403e-21, + -1.0164395367051604e-20, + 9.317362419797304e-21, + -6.776263578034403e-21, + -8.470329472543003e-21, + -7.623296525288703e-21, + 8.385626177817573e-20, + -7.623296525288703e-20, + -8.470329472543003e-21, + 8.470329472543003e-21, + 4.235164736271502e-21, + -3.3881317890172014e-21, + 1.1011428314305904e-20, + 0.0, + 4.235164736271502e-21, + -7.623296525288703e-21, + -1.2705494208814505e-20, + 2.541098841762901e-21, + -1.3552527156068805e-20, + -1.0164395367051604e-20, + -1.2705494208814505e-20, + 8.470329472543003e-22, + 9.317362419797304e-21, + 8.470329472543003e-22, + 1.0164395367051604e-20, + -1.6940658945086007e-20 + ], + "direct": [ + -4.8261628977862855e-06, + -4.826162897559469e-06, + -4.8261628970583115e-06, + -4.826162896227351e-06, + -4.82616289500199e-06, + -4.82616289330699e-06, + -4.82616289105491e-06, + -4.82616288814417e-06, + -4.826162884456902e-06, + -4.826162879856423e-06, + -4.826162874184416e-06, + -4.826162867257629e-06, + -4.826162858864115e-06, + -4.826162848758947e-06, + -4.826162836659318e-06, + -4.826162822238954e-06, + -4.826162805121753e-06, + -4.826162784874627e-06, + -4.826162760999274e-06, + -4.826162732922997e-06, + -4.826162699988346e-06, + -4.8261626614414605e-06, + -4.826162616418953e-06, + -4.82616256393358e-06, + -4.826162502857949e-06, + -4.8261624319068625e-06, + -4.826162349617704e-06, + -4.826162254329194e-06, + -4.826162144158241e-06, + -4.826162016975033e-06, + -4.826161870376532e-06, + -4.826161701658335e-06, + -4.826161507785386e-06, + -4.826161285361693e-06, + -4.8261610305994816e-06, + -4.8261607392886905e-06, + -4.826160406766924e-06, + -4.826160027891415e-06, + -4.826159597013322e-06, + -4.82615910795611e-06, + -4.826158553999e-06, + -4.826157927866844e-06, + -4.826157221727996e-06, + -4.82615642720229e-06, + -4.826155535379659e-06, + -4.826154536851944e-06, + -4.8261534217590304e-06, + -4.826152179850054e-06, + -4.8261508005615954e-06, + -4.826149273112835e-06, + -4.826147586617525e-06, + -4.8261457302135174e-06, + -4.826143693207858e-06, + -4.8261414652357295e-06, + -4.82613903643213e-06, + -4.826136397611839e-06, + -4.82613354045499e-06, + -4.826130457693504e-06, + -4.826127143294086e-06, + -4.826123592632802e-06, + -4.826119802655691e-06, + -4.826115772020524e-06, + -4.826111501215377e-06, + -4.8261069926487106e-06, + -4.826102250707957e-06, + -4.826097281783603e-06, + -4.826092094256808e-06, + -4.826086698449602e-06, + -4.826081106538751e-06, + -4.82607533243451e-06, + -4.826069391626326e-06, + -4.826063301000523e-06, + -4.826057078634253e-06, + -4.826050743569388e-06, + -4.826044315574873e-06, + -4.826037814901345e-06, + -4.8260312620341915e-06, + -4.826024677453721e-06, + -4.826018081400539e-06, + -4.826011493661353e-06, + -4.826004933368897e-06, + -4.825998418825242e-06, + -4.825991967350434e-06, + -4.825985595152947e-06, + -4.825979317230453e-06, + -4.825973147292624e-06, + -4.82596709771137e-06, + -4.8259611794936406e-06, + -4.825955402275417e-06, + -4.825949774335979e-06, + -4.8259443026304845e-06, + -4.82593899283261e-06, + -4.8259338493948e-06, + -4.825928875615036e-06, + -4.82592407371138e-06, + -4.825919444901621e-06, + -4.825914989484583e-06, + -4.825910706927971e-06, + -4.825906595948172e-06, + -4.825902654595134e-06, + -4.825898880333082e-06, + -4.825895270113721e-06, + -4.825891820454337e-06, + -4.825888527501114e-06, + -4.825885387095096e-06, + -4.825882394833255e-06, + -4.825879546115565e-06, + -4.825876836201506e-06, + -4.825874260248795e-06, + -4.825871813356646e-06, + -4.825869490594773e-06, + -4.825867287042673e-06, + -4.8258651978064996e-06, + -4.825863218053767e-06, + -4.82586134301774e-06, + -4.825859568032135e-06, + -4.825857888531681e-06, + -4.825856300066615e-06, + -4.825854798313814e-06, + -4.825853379086409e-06, + -4.825852038331153e-06, + -4.825850772137567e-06, + -4.825849576740336e-06, + -4.825848448521144e-06, + -4.825847383998214e-06, + -4.825846379848435e-06, + -4.825845432882202e-06, + -4.825844107082066e-06, + -4.825842522070362e-06, + -4.825841848505165e-06, + -4.825841134493917e-06, + -4.825840377809941e-06, + -4.825839576130142e-06, + -4.825838727034828e-06, + -4.825837828007554e-06, + -4.825836876435757e-06, + -4.825835869612535e-06, + -4.8258348047388356e-06, + -4.825833678926938e-06, + -4.82583248920514e-06, + -4.825831232523698e-06, + -4.825829905762135e-06, + -4.825828505738451e-06, + -4.825827029219956e-06, + -4.825825472936142e-06, + -4.825823833593837e-06, + -4.82582210789458e-06, + -4.8258202925548675e-06, + -4.825818384328859e-06, + -4.825816380034051e-06, + -4.825814276580334e-06, + -4.825812071002085e-06, + -4.82580976049325e-06, + -4.8258073424467914e-06, + -4.825804814496377e-06, + -4.825802174562384e-06, + -4.825799420900625e-06, + -4.82579655215424e-06, + -4.825793567408451e-06, + -4.825790466247169e-06, + -4.825787248811947e-06, + -4.825783915861197e-06, + -4.825780468830119e-06, + -4.8257769098894e-06, + -4.8257732420017506e-06, + -4.82576946897513e-06, + -4.825765595510907e-06, + -4.825761627245005e-06, + -4.825757570780867e-06, + -4.8257534337119375e-06, + -4.82574922463145e-06, + -4.825744953128629e-06, + -4.8257406297678406e-06, + -4.825736266051023e-06, + -4.82573187436017e-06, + -4.825727467880058e-06, + -4.825723060499921e-06, + -4.82571866669469e-06, + -4.825714301385763e-06, + -4.825709979782738e-06, + -4.8257057172090415e-06, + -4.825701528912916e-06, + -4.825697429868562e-06, + -4.8256934345713e-06, + -4.8256895568317745e-06, + -4.825685809574127e-06, + -4.825682204645189e-06, + -4.82567875263814e-06, + -4.82567546273839e-06, + -4.825672342594579e-06, + -4.825669398220922e-06, + -4.825666633932028e-06, + -4.825664052314246e-06, + -4.8256616542325955e-06, + -4.825659438874836e-06, + -4.82565740382794e-06, + -4.825655545187251e-06, + -4.8256538576912585e-06, + -4.825652334879051e-06, + -4.825650969262946e-06, + -4.825649752513142e-06, + -4.8256486756452634e-06, + -4.825647729207314e-06, + -4.825646903460581e-06, + -4.8256461885492884e-06, + -4.8256455746559766e-06, + -4.825645052140182e-06, + -4.8256446116561475e-06, + -4.825644244253073e-06, + -4.825643941453864e-06, + -4.825643695313892e-06, + -4.825643498461322e-06, + -4.825643344122171e-06, + -4.8256432261274385e-06, + -4.82564313891098e-06, + -4.825643077491844e-06, + -4.825643037453598e-06, + -4.82564301491203e-06, + -4.8256430064799995e-06, + -4.82564300923062e-06, + -4.82564302065721e-06, + -4.825643038631674e-06, + -4.8256430613667376e-06, + -4.825643087374388e-06, + -4.825643115435706e-06, + -4.825643144556599e-06, + -4.825643173949983e-06, + -4.8256432029930155e-06, + -4.825643231210692e-06, + -4.825643258251625e-06, + -4.825643283860617e-06, + -4.82564330787073e-06, + -4.825643330182051e-06, + -4.825643350745873e-06, + -4.825643369560068e-06, + -4.82564338665527e-06, + -4.825643402083143e-06, + -4.82564341592255e-06, + -4.8256434282548955e-06, + -4.825643439175678e-06, + -4.825643448786774e-06, + -4.825643457184532e-06, + -4.825643464470996e-06, + -4.825643470744761e-06, + -4.825643476101823e-06, + -4.825643480628581e-06, + -4.825643484408275e-06, + -4.825643487526834e-06, + -4.825643490057315e-06, + -4.825643492056619e-06, + -4.82564349360552e-06, + -4.825643494745242e-06, + -4.8256434955366495e-06, + -4.82564349602202e-06, + -4.825643496243433e-06 + ], + "direct_maximum_absolute": 4.8261628977862855e-06, + "eliminated": [ + -4.8261628977862855e-06, + -4.826162897559476e-06, + -4.826162897058337e-06, + -4.8261628962273535e-06, + -4.8261628950019865e-06, + -4.826162893306981e-06, + -4.82616289105491e-06, + -4.826162888144173e-06, + -4.826162884456889e-06, + -4.826162879856423e-06, + -4.826162874184404e-06, + -4.826162867257615e-06, + -4.826162858864134e-06, + -4.826162848758946e-06, + -4.826162836659313e-06, + -4.826162822238946e-06, + -4.826162805121744e-06, + -4.826162784874645e-06, + -4.826162760999284e-06, + -4.826162732923006e-06, + -4.8261626999883426e-06, + -4.826162661441469e-06, + -4.826162616418957e-06, + -4.826162563933569e-06, + -4.826162502857948e-06, + -4.826162431906857e-06, + -4.826162349617699e-06, + -4.8261622543291885e-06, + -4.826162144158246e-06, + -4.826162016975028e-06, + -4.826161870376525e-06, + -4.826161701658343e-06, + -4.826161507785378e-06, + -4.826161285361674e-06, + -4.826161030599494e-06, + -4.826160739288673e-06, + -4.826160406766921e-06, + -4.826160027891413e-06, + -4.826159597013314e-06, + -4.826159107956103e-06, + -4.826158553999003e-06, + -4.82615792786684e-06, + -4.826157221727977e-06, + -4.826156427202277e-06, + -4.826155535379659e-06, + -4.8261545368519405e-06, + -4.82615342175902e-06, + -4.82615217985004e-06, + -4.8261508005615954e-06, + -4.826149273112838e-06, + -4.826147586617528e-06, + -4.826145730213502e-06, + -4.826143693207847e-06, + -4.826141465235716e-06, + -4.8261390364321215e-06, + -4.826136397611843e-06, + -4.826133540454974e-06, + -4.826130457693495e-06, + -4.826127143294078e-06, + -4.826123592632802e-06, + -4.826119802655689e-06, + -4.826115772020506e-06, + -4.826111501215355e-06, + -4.826106992648699e-06, + -4.826102250707943e-06, + -4.8260972817835995e-06, + -4.826092094256808e-06, + -4.826086698449592e-06, + -4.826081106538737e-06, + -4.826075332434503e-06, + -4.826069391626301e-06, + -4.826063301000521e-06, + -4.82605707863424e-06, + -4.826050743569374e-06, + -4.826044315574849e-06, + -4.82603781490134e-06, + -4.826031262034178e-06, + -4.826024677453801e-06, + -4.826018081400426e-06, + -4.826011493661329e-06, + -4.826004933368869e-06, + -4.825998418825214e-06, + -4.825991967350407e-06, + -4.825985595152931e-06, + -4.825979317230444e-06, + -4.82597314729261e-06, + -4.825967097711446e-06, + -4.825961179493541e-06, + -4.82595540227539e-06, + -4.82594977433595e-06, + -4.82594430263045e-06, + -4.8259389928325985e-06, + -4.825933849394777e-06, + -4.82592887561501e-06, + -4.825924073711349e-06, + -4.825919444901603e-06, + -4.82591498948464e-06, + -4.825910706927867e-06, + -4.825906595948151e-06, + -4.8259026545951104e-06, + -4.825898880333061e-06, + -4.825895270113781e-06, + -4.825891820454235e-06, + -4.825888527501093e-06, + -4.825885387095063e-06, + -4.825882394833234e-06, + -4.825879546115555e-06, + -4.825876836201482e-06, + -4.8258742602487685e-06, + -4.825871813356607e-06, + -4.82586949059475e-06, + -4.825867287042656e-06, + -4.82586519780647e-06, + -4.825863218053753e-06, + -4.8258613430178e-06, + -4.825859568032109e-06, + -4.82585788853157e-06, + -4.825856300066667e-06, + -4.825854798313703e-06, + -4.825853379086376e-06, + -4.825852038331125e-06, + -4.825850772137547e-06, + -4.8258495767403e-06, + -4.825848448521206e-06, + -4.825847383998186e-06, + -4.825846379848344e-06, + -4.8258454328821595e-06, + -4.825844107597308e-06, + -4.8258425220702515e-06, + -4.825841848505139e-06, + -4.825841134493883e-06, + -4.825840377809926e-06, + -4.825839576130103e-06, + -4.825838727034801e-06, + -4.825837828007528e-06, + -4.825836876435731e-06, + -4.825835869612528e-06, + -4.8258348047388085e-06, + -4.825833678926992e-06, + -4.825832489205117e-06, + -4.8258312325235886e-06, + -4.825829905762116e-06, + -4.8258285057384035e-06, + -4.8258270292199416e-06, + -4.825825472936115e-06, + -4.825823833593904e-06, + -4.825822107894474e-06, + -4.825820292554855e-06, + -4.825818384328835e-06, + -4.825816380034032e-06, + -4.8258142765803964e-06, + -4.825812071001983e-06, + -4.825809760493229e-06, + -4.825807342446775e-06, + -4.825804814496359e-06, + -4.8258021745623715e-06, + -4.825799420900674e-06, + -4.825796552154216e-06, + -4.82579356740834e-06, + -4.825790466247149e-06, + -4.825787248811927e-06, + -4.825783915861255e-06, + -4.8257804688300215e-06, + -4.825776909889373e-06, + -4.82577324200174e-06, + -4.82576946897512e-06, + -4.825765595510902e-06, + -4.825761627245065e-06, + -4.825757570780752e-06, + -4.825753433711925e-06, + -4.825749224631418e-06, + -4.825744953128624e-06, + -4.825740629767903e-06, + -4.825736266050939e-06, + -4.825731874360152e-06, + -4.825727467880036e-06, + -4.8257230604999e-06, + -4.8257186666946746e-06, + -4.825714301385732e-06, + -4.8257099797827145e-06, + -4.825705717209015e-06, + -4.825701528912902e-06, + -4.825697429868558e-06, + -4.825693434571285e-06, + -4.8256895568317635e-06, + -4.825685809574112e-06, + -4.8256822046451745e-06, + -4.825678752638135e-06, + -4.825675462738381e-06, + -4.82567234259457e-06, + -4.825669398220909e-06, + -4.825666633932012e-06, + -4.825664052314227e-06, + -4.825661654232594e-06, + -4.825659438874814e-06, + -4.825657403827934e-06, + -4.825655545187238e-06, + -4.8256538576912585e-06, + -4.8256523348790266e-06, + -4.8256509692629315e-06, + -4.825649752513138e-06, + -4.82564867564526e-06, + -4.825647729207307e-06, + -4.825646903460586e-06, + -4.825646188549281e-06, + -4.825645574655972e-06, + -4.825645052140176e-06, + -4.825644611656143e-06, + -4.82564424425307e-06, + -4.82564394145386e-06, + -4.825643695313899e-06, + -4.825643498461318e-06, + -4.825643344122167e-06, + -4.825643226127431e-06, + -4.825643138910979e-06, + -4.825643077491835e-06, + -4.825643037453592e-06, + -4.825643014912032e-06, + -4.825643006479984e-06, + -4.825643009230624e-06, + -4.825643020657215e-06, + -4.825643038631681e-06, + -4.825643061366737e-06, + -4.825643087374384e-06, + -4.825643115435701e-06, + -4.825643144556604e-06, + -4.8256431739499684e-06, + -4.82564320299301e-06, + -4.825643231210692e-06, + -4.8256432582516315e-06, + -4.825643283860607e-06, + -4.825643307870739e-06, + -4.825643330182045e-06, + -4.825643350745864e-06, + -4.82564336956006e-06, + -4.825643386655354e-06, + -4.8256434020830665e-06, + -4.825643415922541e-06, + -4.825643428254904e-06, + -4.825643439175682e-06, + -4.825643448786771e-06, + -4.825643457184543e-06, + -4.825643464470996e-06, + -4.825643470744765e-06, + -4.825643476101816e-06, + -4.825643480628568e-06, + -4.825643484408277e-06, + -4.8256434875268205e-06, + -4.825643490057305e-06, + -4.825643492056606e-06, + -4.825643493605521e-06, + -4.825643494745251e-06, + -4.82564349553665e-06, + -4.82564349602203e-06, + -4.825643496243416e-06 + ], + "eliminated_maximum_absolute": 4.8261628977862855e-06, + "floor_active": true, + "maximum_absolute_difference": 5.152416714853184e-16, + "normalization_floor": 1.0, + "normalization_scale": 1.0, + "relative_error": 5.152416714853184e-16, + "unit": "A m-2" + }, + "hole_density": { + "difference": [ + 0.0, + 0.0, + -0.00390625, + -0.01416015625, + -0.0009765625, + 0.001953125, + 0.00439453125, + 0.0, + -0.001953125, + 0.00732421875, + 0.0, + 0.00732421875, + 0.0078125, + -0.01025390625, + 0.00048828125, + 0.0029296875, + 0.00439453125, + 0.00439453125, + -0.009765625, + -0.00537109375, + -0.00537109375, + 0.001953125, + -0.0048828125, + -0.00244140625, + 0.00634765625, + 0.00048828125, + 0.00390625, + 0.00244140625, + 0.00390625, + -0.00244140625, + 0.0029296875, + 0.00439453125, + -0.005859375, + 0.0048828125, + 0.01220703125, + -0.00830078125, + 0.01171875, + 0.001953125, + 0.00146484375, + 0.0048828125, + 0.00390625, + -0.001953125, + 0.00341796875, + 0.01513671875, + 0.0107421875, + 0.0, + 0.00244140625, + 0.00830078125, + 0.0126953125, + 0.00048828125, + -0.0029296875, + -0.00390625, + 0.01318359375, + 0.0107421875, + 0.0126953125, + 0.0078125, + -0.00390625, + 0.015625, + 0.009765625, + 0.0078125, + 0.0, + 0.001953125, + 0.01953125, + 0.025390625, + 0.015625, + 0.015625, + 0.00390625, + 0.0, + 0.013671875, + 0.0185546875, + 0.01171875, + 0.033203125, + 0.001953125, + 0.01953125, + 0.0205078125, + 0.0361328125, + 0.0078125, + 0.0224609375, + 0.0078125, + 0.0478515625, + 0.041015625, + 0.0478515625, + 0.048828125, + 0.048828125, + 0.02734375, + 0.01953125, + 0.02734375, + 0.015625, + 0.03125, + 0.052734375, + 0.05859375, + 0.0703125, + 0.025390625, + 0.046875, + 0.0546875, + 0.068359375, + 0.0390625, + 0.056640625, + 0.046875, + 0.044921875, + 0.056640625, + 0.046875, + 0.052734375, + 0.04296875, + 0.05078125, + 0.078125, + 0.05078125, + 0.025390625, + 0.056640625, + 0.064453125, + 0.095703125, + 0.056640625, + 0.041015625, + 0.07421875, + 0.037109375, + 0.056640625, + 0.0703125, + 0.072265625, + 0.078125, + 0.07421875, + 0.08203125, + 0.072265625, + 0.052734375, + 0.095703125, + 0.056640625, + 0.07421875, + 0.021484375, + 0.111328125, + 0.00140380859375, + 0.00152587890625, + 0.001434326171875, + 0.00189208984375, + 0.000885009765625, + 0.00225830078125, + 0.0015869140625, + 0.00152587890625, + 0.00152587890625, + 0.00042724609375, + 0.0015869140625, + 0.00164794921875, + 0.00140380859375, + 0.00152587890625, + 0.0010986328125, + 0.0029296875, + 0.00091552734375, + 0.00164794921875, + 0.00103759765625, + 0.00140380859375, + 0.00091552734375, + 0.00146484375, + 0.001220703125, + 0.00128173828125, + 0.0013427734375, + 0.0013427734375, + 0.0010986328125, + 0.001220703125, + 0.0008544921875, + 0.00238037109375, + 0.001708984375, + 0.001953125, + 0.00152587890625, + 0.00146484375, + 0.0018310546875, + 0.00115966796875, + 0.002197265625, + 0.00079345703125, + 0.0008544921875, + 0.0003662109375, + 0.0020751953125, + 0.0028076171875, + 0.00115966796875, + 0.00286865234375, + 0.00048828125, + 0.00201416015625, + 0.0, + 0.0018310546875, + 0.00238037109375, + 0.00225830078125, + 0.001708984375, + 0.003662109375, + 0.0028076171875, + 0.003173828125, + 0.0018310546875, + 0.00048828125, + 0.0020751953125, + 0.0015869140625, + 0.002197265625, + 0.002197265625, + 0.000732421875, + 0.0013427734375, + 0.0015869140625, + 0.0023193359375, + 0.0029296875, + 0.003662109375, + 0.0003662109375, + 0.0045166015625, + 0.00146484375, + 0.0029296875, + 0.0, + 0.005859375, + 0.00341796875, + 0.0009765625, + 0.000732421875, + 0.001708984375, + -0.001220703125, + 0.002197265625, + 0.001708984375, + 0.001708984375, + 0.001220703125, + 0.00146484375, + 0.001220703125, + -0.002685546875, + 0.00146484375, + 0.0009765625, + 0.00244140625, + 0.000244140625, + 0.00341796875, + 0.00244140625, + -0.0009765625, + 0.006103515625, + -0.00146484375, + -0.001953125, + -0.003173828125, + 0.000244140625, + 0.001708984375, + 0.001708984375, + -0.001953125, + 0.00634765625, + 0.001953125, + 0.0, + -0.0029296875, + 0.0048828125, + -0.00439453125, + 0.00341796875, + 0.00390625, + 0.00390625, + -0.00048828125, + -0.0029296875, + 0.00390625, + -0.00390625, + -0.00244140625, + 0.00146484375, + -0.005859375, + 0.0, + -0.001953125, + 0.00439453125, + 0.00634765625, + -0.00146484375, + 0.0068359375, + 0.005859375, + 0.00634765625, + -0.00048828125, + -0.0048828125, + -0.00048828125, + -0.00537109375, + 0.0087890625 + ], + "direct": [ + 2515095827087.2163, + 2521367279959.2305, + 2528033174494.5225, + 2535117617847.4526, + 2542646096185.607, + 2550645540648.5474, + 2559144394568.0234, + 2568172681680.185, + 2577762075010.2656, + 2587945966046.411, + 2598759533730.101, + 2610239812708.675, + 2622425760196.1895, + 2635358320697.565, + 2649080487746.453, + 2663637361689.544, + 2679076202435.8203, + 2695446475957.4263, + 2712799893197.5356, + 2731190439909.3647, + 2750674395811.8267, + 2771310341323.576, + 2793159150012.3887, + 2816283964796.066, + 2840750155847.202, + 2866625258100.695, + 2893978886253.609, + 2922882625182.2363, + 2953409893803.3174, + 2985635780577.3154, + 3019636849111.723, + 3055490912678.971, + 3093276776921.7866, + 3133073950598.4033, + 3174962324913.8613, + 3219021822785.149, + 3265332020309.789, + 3313971743703.545, + 3365018646034.9404, + 3418548769167.2266, + 3474636097367.6523, + 3533352110002.1406, + 3594765341517.7715, + 3658940957464.4287, + 3725940355501.3296, + 3795820800130.7573, + 3868635099190.4834, + 3944431328887.3003, + 4023252612315.5874, + 4105136953994.606, + 4190117130025.723, + 4278220630091.0864, + 4369469643868.706, + 4463881080689.504, + 4561466607675.784, + 4662232688419.501, + 4766180601795.615, + 4873306418994.874, + 4983600916588.938, + 5097049404547.482, + 5213631450749.894, + 5333320487682.178, + 5456083292569.452, + 5581879338997.112, + 5710660025775.631, + 5842367797059.26, + 5976935176028.874, + 6114283742363.225, + 6254323090707.344, + 6396949812959.356, + 6542046551055.009, + 6689481168696.714, + 6839106089973.34, + 6990757849985.443, + 7144256897491.16, + 7299407682408.327, + 7455999052103.381, + 7613804970133.42, + 7772585560018.133, + 7932088465241.021, + 8092050505518.739, + 8252199599019.664, + 8412256911100.389, + 8571939182646.915, + 8730961185596.402, + 8889038249806.906, + 9045888804253.26, + 9201236876445.803, + 9354814496909.865, + 9506363960228.188, + 9655639900225.9, + 9802411144063.611, + 9946462317844.578, + 10087595184509.496, + 10225629702939.39, + 10360404804955.396, + 10491778894083.824, + 10619630076313.025, + 10743856138455.264, + 10864374294120.736, + 10981120720574.453, + 11094049912039.969, + 11203133876278.412, + 11308361201666.135, + 11409736021636.094, + 11507276902292.191, + 11601015677487.45, + 11690996253710.742, + 11777273404911.227, + 11859911575029.926, + 11938983703563.338, + 12014570087052.967, + 12086757287052.027, + 12155637092891.654, + 12221305545526.117, + 12283862026850.527, + 12343408417248.35, + 12400048322647.44, + 12453886371138.27, + 12505027578149.693, + 12553576778330.904, + 12599638121622.262, + 12643314630493.953, + 12684707814969.367, + 12723917341770.475, + 12761040753776.127, + 12796173235862.525, + 12829407423181.967, + 270366762119.59824, + 271213817596.6222, + 272115616795.30902, + 273075701749.66058, + 274097843702.99017, + 275186057845.2641, + 276344618966.07837, + 277578078072.41077, + 278891280020.7349, + 280289382213.8893, + 281777874412.4701, + 283362599710.32, + 285049776721.25696, + 286846023021.9358, + 288758379891.67584, + 290794338384.2138, + 292961866759.3688, + 295269439292.491, + 297726066467.63135, + 300341326544.9298, + 303125398473.52576, + 306089096098.3057, + 309243903580.53546, + 312602011918.8578, + 316176356416.57574, + 319980654894.52606, + 324029446392.5563, + 328338130038.4981, + 332923003689.2813, + 337801301862.9992, + 342991232384.6373, + 348512011058.78345, + 354383893561.58264, + 360628203610.21484, + 367267356322.0013, + 374324875518.5045, + 381825403563.6533, + 389794702151.44257, + 398259642283.84235, + 407248181505.0163, + 416789326293.84784, + 426913077368.0189, + 437650355531.32214, + 449032905612.9552, + 461093176013.9066, + 473864171410.11786, + 487379276275.83215, + 501672047103.8025, + 516775971524.3936, + 532724192980.46515, + 549549200209.9937, + 567282481531.8381, + 585954144826.7227, + 605592505148.452, + 626223643079.0812, + 647870938231.6951, + 670554583673.5529, + 694291088442.8427, + 719092776712.6196, + 744967293444.8801, + 771917127509.1643, + 799939164132.996, + 829024279134.7672, + 859156987589.4968, + 890315159340.9675, + 922469813055.5894, + 955584999296.821, + 989617781389.7301, + 1024518320679.3917, + 1060230070226.6011, + 1096690078120.5833, + 1133829398533.074, + 1171573605521.1191, + 1209843401545.1255, + 1248555309842.22, + 1287622437309.3816, + 1326955292527.6147, + 1366462642069.9617, + 1406052387358.0564, + 1445632444074.7432, + 1485111606507.9192, + 1524400380147.589, + 1563411767317.3152, + 1602061992513.6406, + 1640271156336.2874, + 1677963809320.2517, + 1715069439506.6353, + 1751522870111.339, + 1787264566074.213, + 1822240850512.6357, + 1856404034097.3962, + 1889712462080.8936, + 1922130485094.6768, + 1953628360899.6423, + 1984182095014.5862, + 2013773228588.2263, + 2042388582041.8896, + 2070019962927.8276, + 2096663846165.0198, + 2122321034357.1636, + 2146996305324.1882, + 2170698053305.797, + 2193437929575.2434, + 2215230487448.6523, + 2236092835925.979, + 2256044305471.1606, + 2275106128742.3804, + 2293301138440.5703, + 2310653483857.1553, + 2327188367172.4404, + 2342931800097.685, + 2357910381052.116, + 2372151092732.16, + 2385681119647.231, + 2398527684978.7173, + 2410717905935.7896, + 2422278666655.7734, + 2433236507602.1226, + 2443617530352.2695, + 2453447316639.706, + 2462750860502.7373, + 2471552512410.222, + 2479875934255.0415, + 2487744064153.071, + 2495179090027.511, + 2502202431019.5557, + 2508834725820.383, + 2515095827087.2163 + ], + "direct_maximum_absolute": 12829407423181.967, + "eliminated": [ + 2515095827087.2163, + 2521367279959.2305, + 2528033174494.5264, + 2535117617847.467, + 2542646096185.608, + 2550645540648.5454, + 2559144394568.019, + 2568172681680.185, + 2577762075010.2676, + 2587945966046.404, + 2598759533730.101, + 2610239812708.6675, + 2622425760196.1816, + 2635358320697.575, + 2649080487746.4526, + 2663637361689.541, + 2679076202435.816, + 2695446475957.422, + 2712799893197.5454, + 2731190439909.37, + 2750674395811.832, + 2771310341323.574, + 2793159150012.3936, + 2816283964796.0684, + 2840750155847.196, + 2866625258100.6943, + 2893978886253.605, + 2922882625182.234, + 2953409893803.3135, + 2985635780577.318, + 3019636849111.72, + 3055490912678.967, + 3093276776921.7925, + 3133073950598.3984, + 3174962324913.849, + 3219021822785.157, + 3265332020309.7773, + 3313971743703.543, + 3365018646034.939, + 3418548769167.2217, + 3474636097367.6484, + 3533352110002.1426, + 3594765341517.768, + 3658940957464.4136, + 3725940355501.319, + 3795820800130.7573, + 3868635099190.481, + 3944431328887.292, + 4023252612315.5747, + 4105136953994.6055, + 4190117130025.726, + 4278220630091.0903, + 4369469643868.693, + 4463881080689.493, + 4561466607675.771, + 4662232688419.493, + 4766180601795.619, + 4873306418994.858, + 4983600916588.929, + 5097049404547.475, + 5213631450749.894, + 5333320487682.176, + 5456083292569.433, + 5581879338997.087, + 5710660025775.615, + 5842367797059.244, + 5976935176028.87, + 6114283742363.225, + 6254323090707.33, + 6396949812959.338, + 6542046551054.997, + 6689481168696.681, + 6839106089973.338, + 6990757849985.424, + 7144256897491.14, + 7299407682408.291, + 7455999052103.373, + 7613804970133.397, + 7772585560018.125, + 7932088465240.974, + 8092050505518.698, + 8252199599019.616, + 8412256911100.34, + 8571939182646.866, + 8730961185596.375, + 8889038249806.887, + 9045888804253.232, + 9201236876445.787, + 9354814496909.834, + 9506363960228.135, + 9655639900225.842, + 9802411144063.541, + 9946462317844.553, + 10087595184509.45, + 10225629702939.336, + 10360404804955.328, + 10491778894083.785, + 10619630076312.969, + 10743856138455.217, + 10864374294120.691, + 10981120720574.396, + 11094049912039.922, + 11203133876278.36, + 11308361201666.092, + 11409736021636.043, + 11507276902292.113, + 11601015677487.398, + 11690996253710.717, + 11777273404911.17, + 11859911575029.861, + 11938983703563.242, + 12014570087052.91, + 12086757287051.986, + 12155637092891.58, + 12221305545526.08, + 12283862026850.47, + 12343408417248.28, + 12400048322647.367, + 12453886371138.191, + 12505027578149.62, + 12553576778330.822, + 12599638121622.19, + 12643314630493.9, + 12684707814969.271, + 12723917341770.418, + 12761040753776.053, + 12796173235862.504, + 12829407423181.855, + 270366762119.59683, + 271213817596.62067, + 272115616795.3076, + 273075701749.6587, + 274097843702.9893, + 275186057845.26184, + 276344618966.0768, + 277578078072.40924, + 278891280020.7334, + 280289382213.88885, + 281777874412.4685, + 283362599710.31836, + 285049776721.25555, + 286846023021.93427, + 288758379891.67474, + 290794338384.2109, + 292961866759.36786, + 295269439292.4894, + 297726066467.6303, + 300341326544.9284, + 303125398473.52484, + 306089096098.30426, + 309243903580.53424, + 312602011918.8565, + 316176356416.5744, + 319980654894.5247, + 324029446392.5552, + 328338130038.4969, + 332923003689.28046, + 337801301862.9968, + 342991232384.6356, + 348512011058.7815, + 354383893561.5811, + 360628203610.2134, + 367267356321.99945, + 374324875518.50336, + 381825403563.6511, + 389794702151.4418, + 398259642283.8415, + 407248181505.0159, + 416789326293.84576, + 426913077368.0161, + 437650355531.321, + 449032905612.95233, + 461093176013.9061, + 473864171410.11584, + 487379276275.83215, + 501672047103.80066, + 516775971524.39124, + 532724192980.4629, + 549549200209.992, + 567282481531.8345, + 585954144826.7198, + 605592505148.4489, + 626223643079.0793, + 647870938231.6946, + 670554583673.5508, + 694291088442.8411, + 719092776712.6174, + 744967293444.8779, + 771917127509.1636, + 799939164132.9946, + 829024279134.7656, + 859156987589.4945, + 890315159340.9646, + 922469813055.5857, + 955584999296.8207, + 989617781389.7256, + 1024518320679.3903, + 1060230070226.5981, + 1096690078120.5833, + 1133829398533.068, + 1171573605521.1157, + 1209843401545.1245, + 1248555309842.2192, + 1287622437309.38, + 1326955292527.616, + 1366462642069.9595, + 1406052387358.0547, + 1445632444074.7415, + 1485111606507.918, + 1524400380147.5876, + 1563411767317.314, + 1602061992513.6433, + 1640271156336.286, + 1677963809320.2507, + 1715069439506.6328, + 1751522870111.3389, + 1787264566074.2095, + 1822240850512.6333, + 1856404034097.3972, + 1889712462080.8875, + 1922130485094.6782, + 1953628360899.6443, + 1984182095014.5894, + 2013773228588.226, + 2042388582041.888, + 2070019962927.826, + 2096663846165.0217, + 2122321034357.1572, + 2146996305324.1863, + 2170698053305.797, + 2193437929575.2463, + 2215230487448.6475, + 2236092835925.9834, + 2256044305471.157, + 2275106128742.3765, + 2293301138440.5664, + 2310653483857.156, + 2327188367172.4434, + 2342931800097.681, + 2357910381052.12, + 2372151092732.1626, + 2385681119647.2295, + 2398527684978.723, + 2410717905935.7896, + 2422278666655.7754, + 2433236507602.118, + 2443617530352.263, + 2453447316639.7075, + 2462750860502.7305, + 2471552512410.2163, + 2479875934255.035, + 2487744064153.0713, + 2495179090027.516, + 2502202431019.556, + 2508834725820.388, + 2515095827087.2075 + ], + "eliminated_maximum_absolute": 12829407423181.855, + "floor_active": false, + "maximum_absolute_difference": 0.111328125, + "normalization_floor": 1.0, + "normalization_scale": 12829407423181.967, + "relative_error": 8.677573431711022e-15, + "unit": "m-3" + }, + "hole_rate": { + "difference": [ + -391017342.7697325, + -859217386.6434233, + 1040509758.0126386, + 254125155.99280453, + 205230504.18843198, + -322346724.833287, + -121531327.44699359, + 572884271.2445982, + -432174215.44301516, + 382147441.4198828, + 48069202.20205748, + -884590751.6272027, + 492444005.77470255, + 101083177.18586302, + 57284696.21347046, + 18042305.08471346, + -528635564.1202078, + 145116797.2159748, + 15251872.013877869, + 216492278.91700935, + -191292046.53112793, + 64709716.06317139, + 220752567.65502548, + -139533593.51501656, + 66184085.28756523, + -10471354.710597992, + 9942876.152759552, + -113411032.043087, + 98867210.24835968, + 17108101.718143463, + -146637801.88865662, + 147533061.59376907, + 96292020.23053741, + -261664662.07351685, + 243291348.1985321, + -109892904.04947662, + -6190258.0860824585, + 35591594.0153656, + -5693405.008979797, + -60138270.419784546, + 42061306.68345642, + 91119067.60591125, + -34162026.75505066, + -75376206.56529236, + 18214494.956985474, + 35262409.42539978, + 21362776.8364563, + -70516459.62637329, + -16131441.759613037, + 1708.7468872070312, + 84285579.68682861, + -18715534.758544922, + 10989111.513641357, + -21552591.95614624, + -52912750.812561035, + 83304116.13348389, + -27372259.695617676, + -6758519.548095703, + -30086656.67248535, + 6628430.818115234, + 62541998.20739746, + 16377739.825561523, + -39193961.27856445, + 6525554.565185547, + -39193300.064575195, + -13100636.859008789, + 39500655.802246094, + 16570875.267089844, + -26743682.66052246, + 67576819.23095703, + -92378369.7866211, + 45122120.359375, + 7056242.803222656, + 39507628.22998047, + -80597835.78344727, + 37432205.00317383, + -421422984.9169922, + 891575786.0361328, + -419446555.39453125, + 16591503.728759766, + -1417.853271484375, + -4408460.251953125, + -63751537.41699219, + -32975484.568603516, + 24401551.174316406, + -536587445.9279785, + 1093569670.7416992, + -470169083.68359375, + 11383779.399414062, + 41524426.88232422, + -167109437.5732422, + 84035882.54589844, + 27032929.96875, + 42431349.162597656, + -111107286.23925781, + -691069660.378418, + 1539687723.0800781, + -829701882.0014648, + 26963398.07861328, + -28352291.41845703, + -954638286.7788086, + 1999785394.4833984, + -1047900666.9291992, + 162787766.00927734, + -171696057.0571289, + -168242613.14257812, + 218619929.0439453, + 43297803.154296875, + 228774047.47460938, + -306355501.2348633, + -119368796.09082031, + 270627526.14941406, + -343710805.6123047, + -1779043782.7841797, + 2183865354.26416, + 2268177494.03125, + -4614788153.116211, + 4891479687.447266, + -2511998993.951172, + -143220777.0830078, + -273449738.6958008, + 612456371.3964844, + -3967829713.888672, + 3848182536.4589844, + 2851757949.376465, + -2332162025.114258, + -17798381446775.215, + 632364675651.3639, + -4050599096.7534027, + 346836045.4458618, + -798679790.8243408, + 991957749.9719391, + -483518428.6412506, + -30383650.762771606, + 752.3577270507812, + -594236608.3605957, + 585959646.2715912, + -2307392988.9250793, + 2086723408.8587494, + 2162454260.5646057, + -2163155382.6956024, + 649229157.6818085, + -703630702.8454742, + 255790200.71635437, + -1789748282.4280243, + 3111338990.9986115, + -1587592987.1819916, + 177629045.6698761, + -77650820.62313843, + -1177339914.084259, + 2267405984.163559, + -1069961996.1620331, + -52349739.135025024, + 19888227.472106934, + -56704100.30781555, + -656108332.6992493, + 744165236.2784271, + 830942917.8188934, + -838602976.8266449, + 7407154.106903076, + -657693398.9079132, + 1243485825.9536285, + -536527915.1676483, + -123784294.57504272, + 323.0744171142578, + -34149338.799453735, + -415498348.0403137, + 1077797438.956604, + -607460385.4814606, + 107364769.87402344, + -146038180.8651123, + -364287526.3006439, + 762538504.3906555, + -333270926.4053192, + 20738964.653167725, + -4032814.1118164062, + -27492363.662719727, + 68960863.9113617, + -29947164.333999634, + 10990664.659179688, + -53876003.537475586, + -38802933.62635803, + 45121470.6663208, + -17107306.149536133, + 16894518.177322388, + -3343157.6796875, + -39768652.775131226, + 19750064.0229187, + 974.7460632324219, + 13064744.152954102, + 13051187.474975586, + 9798958.3571167, + -65513027.82467651, + 79000301.68991089, + -62968116.72055054, + 30086650.21432495, + -54061458.384124756, + 99221328.8171997, + -41653595.36125183, + -42332622.44430542, + -3591136.1605529785, + 14652823.317306519, + -48659993.27346802, + 53637743.88970947, + -15709483.90776062, + 8066376.1740112305, + -8297318.7384643555, + -4273218.043701172, + 4408139.664306641, + -63749666.28051758, + 65955244.53192139, + -4879864.334075928, + 25311307.604522705, + -42058825.622177124, + 54671586.077316284, + -22767654.97557068, + -53390152.84718323, + 123785119.34280396, + -148678105.86982727, + -6757862.874755859, + -21213597.648605347, + 74072664.13598633, + 31058692.303077698, + 8146397.8064575195, + -102642679.71018219, + 206718715.03082275, + -103960964.61917877, + -59665011.72817993, + -83759469.07083893, + 220612163.07845306, + -267437977.12412262, + 233016733.50520325, + 25882502.902694702, + -13664226.86883545, + -1558729254.7944489, + 2882563428.364056, + -1289906310.200142, + -341056384.5490074, + 90211097.7247324, + 171855901.35046387, + -343677853.01167774, + 278338151.9797201, + -113409718.88066196, + 336495726.0239563, + 152857482.8700943, + -486194524.69377136, + 544239870.8968849, + -121533995.42248535, + 96702043.16894531, + -547288886.5553284, + -363035342.54299927, + 385374000.18844604, + -450067703.67637634, + 1390288593.3949432 + ], + "direct": [ + -800121440.777545, + -1279520627.4715483, + -1963948677.5342364, + -1397615645.405633, + -1692878833.608443, + -1372340727.052037, + -1118920342.4001186, + -438753615.53665185, + -278376823.34926516, + 123188724.70113277, + 683767655.5770575, + 1251497349.5602973, + 1835634154.0872025, + 2520781962.060863, + 3252569416.2759705, + 3749909772.5222135, + 4786452460.504792, + 5657716749.403475, + 6464019140.763878, + 7544927494.854509, + 9066481270.218872, + 9793247645.563171, + 11455192230.530025, + 12874769467.109983, + 14691547875.412565, + 16367382558.664402, + 18341714283.52776, + 20608476831.456913, + 22933571736.74836, + 25666572998.468143, + 28460739860.611343, + 31587645856.59377, + 35223305976.98054, + 38811037569.92648, + 43207032070.69853, + 47731084633.45052, + 53045879231.41392, + 58564738556.015366, + 64493573364.49102, + 71293682426.58022, + 78983555473.68346, + 86782328077.60591, + 95874978674.24495, + 105675173012.43471, + 116158167991.95699, + 128092526873.4254, + 140728207673.83646, + 154444757458.37363, + 169965045229.2404, + 186298376364.7469, + 204057680562.68683, + 223884023022.24146, + 244723034585.51364, + 267429346924.04385, + 291914998697.18744, + 318507760390.1335, + 347011665598.3044, + 377304052178.4519, + 409918063477.3275, + 444971503694.8181, + 481971129186.2074, + 521542272505.82556, + 563523870978.7214, + 607820623162.5652, + 654631134167.9354, + 704263376751.141, + 756142559823.8022, + 810362900823.2671, + 867738397233.3395, + 927294475419.231, + 988718332518.2134, + 1053611492296.3594, + 1120170969478.8032, + 1189055302012.23, + 1260507088040.2166, + 1332048731073.0032, + 1409234203395.083, + 1484557807618.0361, + 1563335091764.6055, + 1643506210055.7288, + 1723018423350.1467, + 1806750120719.748, + 1888436373366.583, + 1972939655835.4314, + 2056574368151.1743, + 2140519418690.072, + 2225672412350.7417, + 2309568133580.3164, + 2390922635907.3994, + 2478446893354.8823, + 2560023151290.427, + 2640326527826.546, + 2720345987769.9688, + 2800782581045.1626, + 2882377112321.7607, + 2952576160091.6216, + 3032152722579.08, + 3104006712477.9985, + 3172180513062.0786, + 3248942420620.5815, + 3307481545401.221, + 3380842300530.4834, + 3443533463197.071, + 3496205747798.0093, + 3573648206542.943, + 3616129987754.8574, + 3674046567065.044, + 3719727222803.1543, + 3789382434183.4746, + 3815322915122.765, + 3886406867179.909, + 3901860410094.1494, + 3997371522746.3877, + 3974390409185.216, + 4041091221706.264, + 4100218400278.0312, + 4118204591166.884, + 4114692609527.4473, + 4195753230438.049, + 4226208176934.917, + 4231579005405.304, + 4248388167691.3965, + 4352161439838.1113, + 4186267444072.459, + 4349123784445.3765, + 4454867374982.886, + 5697337809288.784, + 80830476867.36386, + 93911673835.2466, + 90042470569.44586, + 92470497989.17566, + 90865760749.97194, + 91717343867.35875, + 93354362657.23723, + 91787124392.35773, + 92579895627.6394, + 93338332854.27159, + 93206796951.07492, + 93239865740.85875, + 94167089804.5646, + 93995823089.3044, + 94227011189.68181, + 94825817825.15453, + 95198413124.71635, + 95942786669.57198, + 95603083654.99861, + 96164063812.81801, + 97243618133.66988, + 97178053247.37686, + 97445005401.91574, + 99144321036.16356, + 98462446495.83797, + 99870489572.86497, + 100124793439.4721, + 100819378523.69218, + 101605756031.30075, + 102108154324.27843, + 103361811609.8189, + 103695640719.17336, + 104928886030.1069, + 105605006653.09209, + 106477478509.95363, + 107670580048.83235, + 108578573109.42496, + 109399691935.07442, + 110782769681.20055, + 111906630455.95969, + 112890731266.9566, + 114335391942.51854, + 115183059965.87402, + 116909518979.13489, + 117884303573.69936, + 119294517728.39066, + 120656969773.59468, + 122191014836.65317, + 123370931373.88818, + 124722483340.33728, + 126412977647.91136, + 127509638487.666, + 128981569240.65918, + 130361667638.46252, + 131604651344.37364, + 132812274486.66632, + 134345448425.85046, + 135079077530.17732, + 136386995770.32031, + 137205210793.22487, + 138364954480.02292, + 138785725578.74606, + 139599318034.15295, + 139974465915.47498, + 140578574602.35712, + 140279824930.17532, + 140802701016.6899, + 140326959893.27945, + 140014390105.21432, + 139263915783.61588, + 138999115885.8172, + 137322326180.63875, + 136211020636.5557, + 135152632263.83945, + 133501284822.3173, + 131737256612.22653, + 129571838771.88971, + 126808605753.09224, + 125809235331.17401, + 122615042606.26154, + 118993661927.2063, + 116497769514.1643, + 114532609749.96948, + 110361081528.40692, + 108165000798.16592, + 103033954441.22952, + 101988252332.44032, + 95816711895.76482, + 93660276919.18068, + 92075696047.80907, + 86269607118.58499, + 80865259915.24736, + 79507259190.92212, + 75121944570.25764, + 76240898258.94849, + 63644152205.86558, + 74496860921.5252, + 50549288821.97732, + 66182629477.84332, + 54392350448.69332, + 45012481997.95932, + 60896066388.99166, + 38847393475.45345, + 38832419787.18838, + 52597515497.3177, + 32956410129.090195, + 32303641890.631165, + 45168011686.39305, + -94080323.9796941, + 54655484758.23736, + 20663126434.575993, + 6336935949.443482, + 55369966559.850464, + 6087988616.738322, + -1716830786.83278, + 7823673359.681838, + 64571858042.18021, + 21973635969.307594, + -77612960389.74065, + 30870938428.928135, + 126616416690.68689, + -192860917546.44043, + 185457665599.6556, + -68757423288.48831, + 54628283735.47751, + -30416156030.820908, + -135095600541.89021 + ], + "direct_maximum_absolute": 5697337809288.784, + "eliminated": [ + -409104098.0078125, + -420303240.828125, + -3004458435.546875, + -1651740801.3984375, + -1898109337.796875, + -1049994002.21875, + -997389014.953125, + -1011637886.78125, + 153797392.09375, + -258958716.71875, + 635698453.375, + 2136088101.1875, + 1343190148.3125, + 2419698784.875, + 3195284720.0625, + 3731867467.4375, + 5315088024.625, + 5512599952.1875, + 6448767268.75, + 7328435215.9375, + 9257773316.75, + 9728537929.5, + 11234439662.875, + 13014303060.625, + 14625363790.125, + 16377853913.375, + 18331771407.375, + 20721887863.5, + 22834704526.5, + 25649464896.75, + 28607377662.5, + 31440112795.0, + 35127013956.75, + 39072702232.0, + 42963740722.5, + 47840977537.5, + 53052069489.5, + 58529146962.0, + 64499266769.5, + 71353820697.0, + 78941494167.0, + 86691209010.0, + 95909140701.0, + 105750549219.0, + 116139953497.0, + 128057264464.0, + 140706844897.0, + 154515273918.0, + 169981176671.0, + 186298374656.0, + 203973394983.0, + 223902738557.0, + 244712045474.0, + 267450899516.0, + 291967911448.0, + 318424456274.0, + 347039037858.0, + 377310810698.0, + 409948150134.0, + 444964875264.0, + 481908587188.0, + 521525894766.0, + 563563064940.0, + 607814097608.0, + 654670327468.0, + 704276477388.0, + 756103059168.0, + 810346329948.0, + 867765140916.0, + 927226898600.0, + 988810710888.0, + 1053566370176.0, + 1120163913236.0, + 1189015794384.0, + 1260587685876.0, + 1332011298868.0, + 1409655626380.0, + 1483666231832.0, + 1563754538320.0, + 1643489618552.0, + 1723018424768.0, + 1806754529180.0, + 1888500124904.0, + 1972972631320.0, + 2056549966600.0, + 2141056006136.0, + 2224578842680.0, + 2310038302664.0, + 2390911252128.0, + 2478405368928.0, + 2560190260728.0, + 2640242491944.0, + 2720318954840.0, + 2800740149696.0, + 2882488219608.0, + 2953267229752.0, + 3030613034856.0, + 3104836414360.0, + 3172153549664.0, + 3248970772912.0, + 3308436183688.0, + 3378842515136.0, + 3444581363864.0, + 3496042960032.0, + 3573819902600.0, + 3616298230368.0, + 3673827947136.0, + 3719683925000.0, + 3789153660136.0, + 3815629270624.0, + 3886526235976.0, + 3901589782568.0, + 3997715233552.0, + 3976169452968.0, + 4038907356352.0, + 4097950222784.0, + 4122819379320.0, + 4109801129840.0, + 4198265229432.0, + 4226351397712.0, + 4231852455144.0, + 4247775711320.0, + 4356129269552.0, + 4182419261536.0, + 4346272026496.0, + 4457199537008.0, + 23495719256064.0, + -551534198784.0, + 97962272932.0, + 89695634524.0, + 93269177780.0, + 89873803000.0, + 92200862296.0, + 93384746308.0, + 91787123640.0, + 93174132236.0, + 92752373208.0, + 95514189940.0, + 91153142332.0, + 92004635544.0, + 96158978472.0, + 93577782032.0, + 95529448528.0, + 94942622924.0, + 97732534952.0, + 92491744664.0, + 97751656800.0, + 97065989088.0, + 97255704068.0, + 98622345316.0, + 96876915052.0, + 99532408492.0, + 99922839312.0, + 100104905212.0, + 100876082624.0, + 102261864364.0, + 101363989088.0, + 102530868692.0, + 104534243696.0, + 104921478876.0, + 106262700052.0, + 105233992684.0, + 108207107964.0, + 108702357404.0, + 109399691612.0, + 110816919020.0, + 112322128804.0, + 111812933828.0, + 114942852328.0, + 115075695196.0, + 117055557160.0, + 118248591100.0, + 118531979224.0, + 120990240700.0, + 122170275872.0, + 123374964188.0, + 124749975704.0, + 126344016784.0, + 127539585652.0, + 128970578576.0, + 130415543642.0, + 131643454278.0, + 132767153016.0, + 134362555732.0, + 135062183012.0, + 136390338928.0, + 137244979446.0, + 138345204416.0, + 138785724604.0, + 139586253290.0, + 139961414728.0, + 140568775644.0, + 140345337958.0, + 140723700715.0, + 140389928010.0, + 139984303455.0, + 139317977242.0, + 138899894557.0, + 137363979776.0, + 136253353259.0, + 135156223400.0, + 133486631999.0, + 131785916605.5, + 129518201028.0, + 126824315237.0, + 125801168955.0, + 122623339925.0, + 118997935145.25, + 116493361374.5, + 114596359416.25, + 110295126283.875, + 108169880662.5, + 103008643133.625, + 102030311158.0625, + 95762040309.6875, + 93683044574.15625, + 92129086200.65625, + 86145821999.24219, + 81013938021.11719, + 79514017053.79688, + 75143158167.90625, + 76166825594.8125, + 63613093513.5625, + 74488714523.71875, + 50651931501.6875, + 65975910762.8125, + 54496311413.3125, + 45072147009.6875, + 60979825858.0625, + 38626781312.375, + 39099857764.3125, + 52364498763.8125, + 32930527626.1875, + 32317306117.5, + 46726740941.1875, + -2976643752.34375, + 55945391068.4375, + 21004182819.125, + 6246724851.71875, + 55198110658.5, + 6431666469.75, + -1995168938.8125, + 7937083078.5625, + 64235362316.15625, + 21820778486.4375, + -77126765865.04688, + 30326698558.03125, + 126737950686.10938, + -192957619589.60938, + 186004954486.21094, + -68394387945.94531, + 54242909735.28906, + -29966088327.14453, + -136485889135.28516 + ], + "eliminated_maximum_absolute": 23495719256064.0, + "floor_active": true, + "maximum_absolute_difference": 17798381446775.215, + "normalization_floor": 7.64318943829248e+20, + "normalization_scale": 7.64318943829248e+20, + "relative_error": 2.3286589440796912e-08, + "unit": "m-3 s-1" + }, + "local_state": { + "difference": [ + [ + -0.0020751953125, + 0.107421875, + -0.1171875, + 0.001922607421875 + ] + ], + "direct": [ + [ + 426553352160.8516, + 12860858403125.174, + 20359987442608.58, + 269571123661.34625 + ] + ], + "direct_maximum_absolute": 20359987442608.58, + "eliminated": [ + [ + 426553352160.8537, + 12860858403125.066, + 20359987442608.695, + 269571123661.34433 + ] + ], + "eliminated_maximum_absolute": 20359987442608.695, + "floor_active": false, + "maximum_absolute_difference": 0.1171875, + "normalization_floor": 1.0, + "normalization_scale": 20359987442608.695, + "relative_error": 5.7557746698189974e-15, + "unit": "m-3" + }, + "positive_ion_flux": { + "difference": [ + 2.1259765625, + 2.5078125, + 1.41796875, + 5.359375, + 6.7421875, + 7.1640625, + -2.2578125, + 0.0, + 10.75, + -2.5390625, + 7.21875, + 5.6875, + 12.9453125, + -16.3515625, + 11.625, + 9.1875, + 3.4921875, + -9.9375, + 22.0234375, + -5.984375, + -11.3828125, + 5.4140625, + -10.328125, + 24.609375, + 7.046875, + 0.0, + 2.140625, + -6.1484375, + 0.0, + 22.59375, + 10.8359375, + -24.296875, + 3.3359375, + 16.0625, + 3.09375, + 14.9375, + 2.890625, + -5.5859375, + 18.953125, + 15.75, + -25.5, + 39.703125, + -38.6875, + 4.71875, + 36.890625, + -18.046875, + 35.390625, + -56.46875, + 17.078125, + 37.890625, + 12.46875, + -32.859375, + 8.125, + 16.140625, + -4.0, + 55.890625, + -23.890625, + -31.84375, + 7.96875, + 39.953125, + -48.171875, + 32.328125, + -65.1875, + 123.5, + -16.671875, + -67.59375, + 68.640625, + 17.453125, + -26.703125, + -72.703125, + 83.65625, + 66.65625, + -68.40625, + 0.0, + 10.34375, + 31.984375, + 11.0, + 22.765625, + -23.5625, + 24.421875, + -38.046875, + -26.359375, + 164.5625, + 57.15625, + -89.40625, + -93.359375, + 130.09375, + 204.15625, + -391.9375, + 186.71875, + 156.703125, + -452.359375, + 259.234375, + -227.125, + 382.328125, + -150.9375, + 53.0, + -167.59375, + 530.296875, + -248.6875, + 0.0, + -138.671875, + -366.3125, + 154.90625, + 163.8125, + 259.96875, + -91.703125, + -194.203125, + 0.0, + -435.75, + 230.859375, + -122.359375, + 518.90625, + 412.71875, + -583.671875, + 1857.734375, + -2135.578125, + 871.75, + -370.15625, + -786.0, + 417.3125, + 2215.953125, + -470.734375, + -750.109375, + -531.28125, + 1129.015625, + -2699.44140625, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "direct": [ + -7295196079944.042, + -21593358072571.71, + -34447586129661.2, + -44564289715381.42, + -51440663457183.01, + -55449722793470.21, + -57468254893839.95, + -58382109069637.61, + -58802458302263.11, + -59046950812806.164, + -59245224729339.336, + -59439966190335.16, + -59642931529663.41, + -59857148792223.555, + -60083662659737.88, + -60323160577148.1, + -60576290026347.06, + -60843708642635.6, + -61126089722612.97, + -61424121386478.08, + -61738504655990.91, + -62069951167988.85, + -62419180496898.1, + -62786917055175.695, + -63173886562613.555, + -63580812166288.23, + -64008409975691.34, + -64457384305980.63, + -64928422318105.26, + -65422188403183.414, + -65939317990503.86, + -66480411130769.04, + -67046025736536.555, + -67636670522710.484, + -68252797880149.03, + -68894796667234.59, + -69562985055662.45, + -70257603578341.13, + -70978808549658.52, + -71726665958737.23, + -72501146004623.89, + -73302118440359.34, + -74129348927349.61, + -74982496414895.75, + -75861111742776.39, + -76764637565343.75, + -77692409604883.81, + -78643659235850.17, + -79617517436590.22, + -80613019881493.78, + -81629113261389.27, + -82664662444799.5, + -83718458315523.92, + -84789226223065.23, + -85875634491506.39, + -86976302955337.28, + -88089811157488.08, + -89214706069932.34, + -90349508945475.69, + -91492721502411.86, + -92642831040789.9, + -93798314623183.58, + -94957642455459.34, + -96119280421095.28, + -97281692038093.0, + -98443340093012.58, + -99602688078589.5, + -100758201827985.97, + -101908351440020.81, + -103051613883753.95, + -104186476263998.34, + -105311440061237.4, + -106425026288670.0, + -107525781504296.31, + -108612284855759.7, + -109683155653577.48, + -110737061662394.11, + -111772727541447.14, + -112788943483435.2, + -113784573548306.42, + -114758563576919.17, + -115709948423060.02, + -116637858111041.83, + -117541523164758.47, + -118420278359293.2, + -119273565538999.7, + -120100934664968.48, + -120902043938592.66, + -121676658258191.33, + -122424646787109.62, + -123145979100810.08, + -123840720701570.03, + -124509027487257.1, + -125151139674723.58, + -125767375162529.2, + -126358122640171.47, + -126923834386426.14, + -127465019083949.77, + -127982234627430.45, + -128476081154318.28, + -128947194227869.88, + -129396238345616.1, + -129823900882347.39, + -130230886319887.38, + -130617911020676.78, + -130985698343741.03, + -131334974271347.61, + -131666463433688.62, + -131980885379891.03, + -132278949784726.52, + -132561341750855.64, + -132828648531416.33, + -133081004149049.92, + -133316615521224.39, + -133526677057854.2, + -133680997049634.98, + -133695375738887.61, + -133374230116782.94, + -132338616785930.58, + -129979942431074.81, + -125499985883452.6, + -118073740691705.05, + -107098935511471.36, + -92425480142932.12, + -74453094181694.38, + -54054648342696.32, + -32371258004616.688, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "direct_maximum_absolute": 133695375738887.61, + "eliminated": [ + -7295196079946.168, + -21593358072574.22, + -34447586129662.617, + -44564289715386.78, + -51440663457189.75, + -55449722793477.375, + -57468254893837.695, + -58382109069637.61, + -58802458302273.86, + -59046950812803.625, + -59245224729346.555, + -59439966190340.84, + -59642931529676.35, + -59857148792207.2, + -60083662659749.51, + -60323160577157.29, + -60576290026350.555, + -60843708642625.664, + -61126089722634.99, + -61424121386472.09, + -61738504655979.52, + -62069951167994.266, + -62419180496887.77, + -62786917055200.305, + -63173886562620.6, + -63580812166288.23, + -64008409975693.484, + -64457384305974.484, + -64928422318105.26, + -65422188403206.01, + -65939317990514.695, + -66480411130744.74, + -67046025736539.89, + -67636670522726.55, + -68252797880152.125, + -68894796667249.53, + -69562985055665.34, + -70257603578335.55, + -70978808549677.47, + -71726665958752.98, + -72501146004598.39, + -73302118440399.05, + -74129348927310.92, + -74982496414900.47, + -75861111742813.28, + -76764637565325.7, + -77692409604919.2, + -78643659235793.7, + -79617517436607.3, + -80613019881531.67, + -81629113261401.73, + -82664662444766.64, + -83718458315532.05, + -84789226223081.38, + -85875634491502.39, + -86976302955393.17, + -88089811157464.19, + -89214706069900.5, + -90349508945483.66, + -91492721502451.81, + -92642831040741.73, + -93798314623215.9, + -94957642455394.16, + -96119280421218.78, + -97281692038076.33, + -98443340092944.98, + -99602688078658.14, + -100758201828003.42, + -101908351439994.11, + -103051613883681.25, + -104186476264082.0, + -105311440061304.06, + -106425026288601.6, + -107525781504296.31, + -108612284855770.05, + -109683155653609.47, + -110737061662405.11, + -111772727541469.9, + -112788943483411.64, + -113784573548330.84, + -114758563576881.12, + -115709948423033.66, + -116637858111206.39, + -117541523164815.62, + -118420278359203.8, + -119273565538906.34, + -120100934665098.58, + -120902043938796.81, + -121676658257799.39, + -122424646787296.34, + -123145979100966.78, + -123840720701117.67, + -124509027487516.33, + -125151139674496.45, + -125767375162911.53, + -126358122640020.53, + -126923834386479.14, + -127465019083782.17, + -127982234627960.75, + -128476081154069.6, + -128947194227869.88, + -129396238345477.42, + -129823900881981.08, + -130230886320042.28, + -130617911020840.6, + -130985698344001.0, + -131334974271255.9, + -131666463433494.42, + -131980885379891.03, + -132278949784290.77, + -132561341751086.5, + -132828648531293.97, + -133081004149568.83, + -133316615521637.11, + -133526677057270.53, + -133680997051492.72, + -133695375736752.03, + -133374230117654.69, + -132338616785560.42, + -129979942430288.81, + -125499985883869.9, + -118073740693921.0, + -107098935511000.62, + -92425480142182.02, + -74453094181163.1, + -54054648343825.336, + -32371258001917.246, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "eliminated_maximum_absolute": 133695375736752.03, + "floor_active": false, + "legacy_binary64": { + "difference": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -55.1875, + 0.0, + 0.0, + 0.0, + 87.4453125, + -41.28125, + 38.9765625, + 0.0, + 0.0, + 0.0, + -31.1171875, + 0.0, + 0.0, + 0.0, + -49.9921875, + 23.6875, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -15.78125, + 15.046875, + 14.3515625, + 0.0, + 39.328125, + 0.0, + 0.0, + 46.09375, + 22.125, + -31.90625, + 30.6875, + -49.28125, + -9.5, + 45.921875, + -17.765625, + 43.03125, + -66.78125, + 16.21875, + 15.78125, + 23.078125, + -37.53125, + 7.34375, + 21.578125, + 14.109375, + 69.375, + -34.15625, + -20.21875, + 6.65625, + 52.78125, + -39.28125, + 26.046875, + -64.84375, + 129.4375, + -25.875, + -51.875, + 52.078125, + 13.09375, + -26.40625, + -66.625, + 121.328125, + 68.328125, + -69.375, + 0.0, + -14.375, + 29.375, + 30.03125, + 15.375, + -15.796875, + 16.21875, + -33.390625, + -34.421875, + 159.921875, + 55.09375, + -95.078125, + -98.5625, + 102.3125, + 233.921875, + -376.140625, + 184.375, + 144.203125, + -451.625, + 262.1875, + -274.234375, + 373.25, + -150.421875, + 157.765625, + -198.703125, + 487.0, + -219.390625, + 0.0, + -202.421875, + -383.75, + 179.734375, + 236.90625, + 249.9375, + 0.0, + -167.15625, + 0.0, + -497.796875, + 263.1875, + -139.203125, + 589.203125, + 389.828125, + -577.890625, + 1923.8125, + -2038.359375, + 785.5625, + -416.375, + -772.65625, + 117.0625, + 2359.59375, + -395.3125, + -839.046875, + -148.421875, + 945.4765625, + -2844.37890625, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "direct": [ + -7295196079963.3955, + -21593358072570.906, + -34447586129658.246, + -44564289715449.1, + -51440663457181.41, + -55449722793439.805, + -57468254893849.81, + -58382109069639.81, + -58802458302276.07, + -59046950812867.71, + -59245224729353.555, + -59439966190294.31, + -59642931529644.42, + -59857148792242.44, + -60083662659724.01, + -60323160577174.52, + -60576290026359.625, + -60843708642610.055, + -61126089722629.75, + -61424121386490.86, + -61738504655969.53, + -62069951167978.56, + -62419180496932.18, + -62786917055186.21, + -63173886562627.17, + -63580812166283.76, + -64008409975712.19, + -64457384305987.03, + -64928422318110.77, + -65422188403179.25, + -65939317990507.99, + -66480411130766.02, + -67046025736542.016, + -67636670522692.97, + -68252797880147.67, + -68894796667222.734, + -69562985055651.88, + -70257603578353.58, + -70978808549643.5, + -71726665958730.36, + -72501146004626.03, + -73302118440376.77, + -74129348927349.02, + -74982496414909.6, + -75861111742776.56, + -76764637565331.28, + -77692409604874.78, + -78643659235854.2, + -79617517436591.69, + -80613019881502.58, + -81629113261390.03, + -82664662444796.39, + -83718458315521.0, + -84789226223058.95, + -85875634491498.66, + -86976302955326.58, + -88089811157492.08, + -89214706069928.61, + -90349508945480.73, + -91492721502405.11, + -92642831040788.39, + -93798314623184.0, + -94957642455463.88, + -96119280421089.0, + -97281692038090.38, + -98443340093009.77, + -99602688078586.64, + -100758201827984.64, + -101908351440027.58, + -103051613883746.12, + -104186476263965.78, + -105311440061235.34, + -106425026288670.95, + -107525781504306.25, + -108612284855782.6, + -109683155653567.83, + -110737061662386.53, + -111772727541453.19, + -112788943483456.05, + -113784573548304.83, + -114758563576919.44, + -115709948423047.47, + -116637858111027.75, + -117541523164748.17, + -118420278359321.95, + -119273565539010.06, + -120100934664948.89, + -120902043938598.84, + -121676658258165.11, + -122424646787110.88, + -123145979100766.83, + -123840720701627.72, + -124509027487214.8, + -125151139674760.36, + -125767375162546.48, + -126358122640133.53, + -126923834386344.33, + -127465019083963.05, + -127982234627438.14, + -128476081154263.95, + -128947194227961.14, + -129396238345598.7, + -129823900882384.92, + -130230886319898.67, + -130617911020534.88, + -130985698343680.78, + -131334974271368.2, + -131666463433653.22, + -131980885379833.0, + -132278949784871.05, + -132561341750805.5, + -132828648531372.94, + -133081004149163.55, + -133316615521176.28, + -133526677057772.25, + -133680997049646.6, + -133695375738770.58, + -133374230117106.3, + -132338616785850.66, + -129979942431182.48, + -125499985883559.94, + -118073740691530.72, + -107098935511448.36, + -92425480142848.11, + -74453094181679.38, + -54054648342768.42, + -32371258004594.527, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "direct_maximum_absolute": 133695375738770.58, + "eliminated": [ + -7295196079963.3955, + -21593358072570.906, + -34447586129658.246, + -44564289715449.1, + -51440663457181.41, + -55449722793439.805, + -57468254893849.81, + -58382109069639.81, + -58802458302220.88, + -59046950812867.71, + -59245224729353.555, + -59439966190294.31, + -59642931529731.87, + -59857148792201.16, + -60083662659762.984, + -60323160577174.52, + -60576290026359.625, + -60843708642610.055, + -61126089722598.63, + -61424121386490.86, + -61738504655969.53, + -62069951167978.56, + -62419180496882.19, + -62786917055209.9, + -63173886562627.17, + -63580812166283.76, + -64008409975712.19, + -64457384305987.03, + -64928422318110.77, + -65422188403179.25, + -65939317990507.99, + -66480411130750.24, + -67046025736557.06, + -67636670522707.32, + -68252797880147.67, + -68894796667262.06, + -69562985055651.88, + -70257603578353.58, + -70978808549689.6, + -71726665958752.48, + -72501146004594.12, + -73302118440407.45, + -74129348927299.73, + -74982496414900.1, + -75861111742822.48, + -76764637565313.52, + -77692409604917.81, + -78643659235787.42, + -79617517436607.9, + -80613019881518.36, + -81629113261413.11, + -82664662444758.86, + -83718458315528.34, + -84789226223080.53, + -85875634491512.77, + -86976302955395.95, + -88089811157457.92, + -89214706069908.39, + -90349508945487.39, + -91492721502457.89, + -92642831040749.11, + -93798314623210.05, + -94957642455399.03, + -96119280421218.44, + -97281692038064.5, + -98443340092957.89, + -99602688078638.72, + -100758201827997.73, + -101908351440001.17, + -103051613883679.5, + -104186476264087.11, + -105311440061303.67, + -106425026288601.58, + -107525781504306.25, + -108612284855768.22, + -109683155653597.2, + -110737061662416.56, + -111772727541468.56, + -112788943483440.25, + -113784573548321.05, + -114758563576886.05, + -115709948423013.05, + -116637858111187.67, + -117541523164803.27, + -118420278359226.88, + -119273565538911.5, + -120100934665051.2, + -120902043938832.77, + -121676658257788.97, + -122424646787295.25, + -123145979100911.03, + -123840720701176.1, + -124509027487476.98, + -125151139674486.12, + -125767375162919.73, + -126358122639983.11, + -126923834386502.1, + -127465019083764.34, + -127982234627925.14, + -128476081154044.56, + -128947194227961.14, + -129396238345396.28, + -129823900882001.17, + -130230886320078.4, + -130617911020771.78, + -130985698343930.72, + -131334974271368.2, + -131666463433486.06, + -131980885379833.0, + -132278949784373.25, + -132561341751068.69, + -132828648531233.73, + -133081004149752.75, + -133316615521566.11, + -133526677057194.36, + -133680997051570.4, + -133695375736732.22, + -133374230117891.86, + -132338616785434.28, + -129979942430409.83, + -125499985883677.0, + -118073740693890.31, + -107098935511053.05, + -92425480142009.06, + -74453094181530.95, + -54054648343713.9, + -32371258001750.15, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "eliminated_maximum_absolute": 133695375736732.22, + "floor_active": false, + "maximum_absolute_difference": 2844.37890625, + "normalization_floor": 1.0, + "normalization_scale": 133695375738770.58, + "relative_error": 2.1275073206777736e-11 + }, + "maximum_absolute_difference": 2699.44140625, + "normalization_floor": 1.0, + "normalization_scale": 133695375738887.61, + "relative_error": 2.0190985599398117e-11, + "unit": "m-2 s-1" + }, + "positive_ion_rate": { + "difference": [ + -36020682752.0, + -3120562176.0, + 8422162432.0, + -28714205184.0, + -9521070080.0, + -2726297600.0, + 57457770496.0, + -12970885120.0, + -58274611200.0, + 67944579072.0, + -47042920448.0, + 6930563072.0, + -31097356288.0, + 118633398272.0, + -106976378880.0, + 8801615872.0, + 19452657664.0, + 43293343744.0, + -97467629568.0, + 80793698304.0, + 14742192128.0, + -43421138944.0, + 38535430144.0, + -81032904704.0, + 38629408768.0, + 14697758720.0, + -4245028864.0, + 15603597312.0, + -10997596160.0, + -38403702784.0, + 19013304320.0, + 54132473856.0, + -40579497984.0, + -17830903808.0, + 17345675264.0, + -15141830656.0, + 14739177472.0, + 9921495040.0, + -27526823936.0, + 3436314624.0, + 42666950656.0, + -64848396288.0, + 75054317568.0, + -40062156800.0, + -28663611392.0, + 47318827008.0, + -44559368192.0, + 74249404416.0, + -57722535936.0, + -15865085952.0, + 18888392704.0, + 32843366400.0, + -29024452608.0, + -5547884544.0, + 13690601472.0, + -39975387136.0, + 52387774464.0, + 5138939904.0, + -25439109120.0, + -20226113536.0, + 55241211904.0, + -50117476352.0, + 60421701632.0, + -116567048192.0, + 86502277120.0, + 31458721792.0, + -84411285504.0, + 31869632512.0, + 27684896768.0, + 29088677888.0, + -99927326720.0, + 10999169024.0, + 88667848704.0, + -45639925760.0, + -7023624192.0, + -14992932864.0, + 14847442944.0, + -8515747840.0, + 34409152512.0, + -36608409600.0, + 49009000448.0, + -9439412224.0, + -159180652544.0, + 92520448000.0, + 130600665088.0, + 3640655872.0, + -213965078528.0, + -73653551104.0, + 616445116416.0, + -622987968512.0, + 33695858688.0, + 713028927488.0, + -870087131136.0, + 621714079744.0, + -815257878528.0, + 747156537344.0, + -299541856256.0, + 339940737024.0, + -1129153298432.0, + 1324327763968.0, + -444574859264.0, + 260815323136.0, + 450844295168.0, + -1087474237440.0, + -19615449088.0, + -223055314944.0, + 860910649344.0, + 264869773312.0, + -530152685568.0, + 1257080356864.0, + -2033101307904.0, + 1139362627584.0, + -2188375359488.0, + 383551143936.0, + 3810157658112.0, + -9887291539456.0, + 17132529836032.0, + -13672400027648.0, + 5984710819840.0, + 2124559679488.0, + -6519617748992.0, + -10336862208000.0, + 16381357588480.0, + 1807459811328.0, + -1502601019392.0, + -12102563528704.0, + 29629066772480.0, + -14938902888448.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "direct": [ + 1.2361758911583281e+23, + 1.1750196189588703e+23, + 9.948099550699838e+22, + 7.3744576093868945e+22, + 4.7219280371345145e+22, + 2.593865944462993e+22, + 1.2307415297748298e+22, + 5.251945359917981e+21, + 2.277491934590281e+21, + 1.2491430054985605e+21, + 9.554649636419081e+20, + 8.853580275240774e+20, + 8.707810535793122e+20, + 8.675415449659475e+20, + 8.661811405687398e+20, + 8.650292804880373e+20, + 8.638372955438747e+20, + 8.62570614290789e+20, + 8.612213707601366e+20, + 8.597844413135973e+20, + 8.58254680211273e+20, + 8.566268747274209e+20, + 8.548957184527048e+20, + 8.530557868300991e+20, + 8.511015615590418e+20, + 8.490276734595436e+20, + 8.46828651824336e+20, + 8.444993311522386e+20, + 8.420346086731077e+20, + 8.394298701090238e+20, + 8.366807745391344e+20, + 8.337836211097498e+20, + 8.30735410301711e+20, + 8.275338984671066e+20, + 8.241778856800867e+20, + 8.20667330563378e+20, + 8.170035084223416e+20, + 8.131891969531461e+20, + 8.092288908046109e+20, + 8.051289477961195e+20, + 8.008977447745952e+20, + 7.965458311213506e+20, + 7.920861096844092e+20, + 7.875338662938996e+20, + 7.829068524506726e+20, + 7.78225332264465e+20, + 7.735120393479705e+20, + 7.687920751978868e+20, + 7.640928083242967e+20, + 7.594435944362799e+20, + 7.548756076485099e+20, + 7.504214399730924e+20, + 7.461146862364835e+20, + 7.4198960203235e+20, + 7.380805028310423e+20, + 7.344212952270107e+20, + 7.310449043114563e+20, + 7.279827493921855e+20, + 7.252640904906036e+20, + 7.229156142180696e+20, + 7.209608411866944e+20, + 7.194196757959849e+20, + 7.183080655779736e+20, + 7.176376299037684e+20, + 7.174154317203771e+20, + 7.176438628694701e+20, + 7.183205523641654e+20, + 7.194384581791403e+20, + 7.209859618698588e+20, + 7.229471603590296e+20, + 7.25302120551869e+20, + 7.280273286162153e+20, + 7.310961297847345e+20, + 7.344791803832308e+20, + 7.381451000242876e+20, + 7.420608999436361e+20, + 7.461926668495968e+20, + 7.505060046791706e+20, + 7.549666614196911e+20, + 7.595409524763802e+20, + 7.641962409692008e+20, + 7.689013549822841e+20, + 7.736268010807764e+20, + 7.78345254910522e+20, + 7.830314832856166e+20, + 7.876628150498112e+20, + 7.92218858671393e+20, + 7.966819127702859e+20, + 8.010365985949134e+20, + 8.052701089014102e+20, + 8.093717754761308e+20, + 8.133332843375182e+20, + 8.171482744461483e+20, + 8.20812290319962e+20, + 8.243225289202133e+20, + 8.2767777626495e+20, + 8.30878083495833e+20, + 8.33924703923041e+20, + 8.368198458057915e+20, + 8.395666256697818e+20, + 8.421687896047142e+20, + 8.44630598034795e+20, + 8.469568399367465e+20, + 8.491525134966502e+20, + 8.512229539343995e+20, + 8.531735482928668e+20, + 8.55009789704862e+20, + 8.567371049720076e+20, + 8.583602661411345e+20, + 8.598788949583976e+20, + 8.61254571945341e+20, + 8.622098831876226e+20, + 8.611964942907918e+20, + 8.509916827284425e+20, + 8.032680002522491e+20, + 6.249683264953339e+20, + 6.168880961611359e+19, + -1.4600324608876937e+21, + -4.990531638307616e+21, + -1.20507641157301e+22, + -2.4272828668667427e+22, + -4.267883761910471e+22, + -6.691569836331842e+22, + -9.493742291002358e+22, + -1.2341434068465755e+23, + -1.4869218304409437e+23, + -1.6781134170164273e+23, + -1.791449639414751e+23, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "direct_maximum_absolute": 1.791449639414751e+23, + "eliminated": [ + 1.2361758911586883e+23, + 1.1750196189589015e+23, + 9.948099550698995e+22, + 7.374457609389766e+22, + 4.721928037135467e+22, + 2.5938659444632655e+22, + 1.230741529769084e+22, + 5.251945359930952e+21, + 2.2774919346485555e+21, + 1.249143005430616e+21, + 9.55464963688951e+20, + 8.853580275171468e+20, + 8.707810536104096e+20, + 8.675415448473141e+20, + 8.661811406757162e+20, + 8.650292804792357e+20, + 8.638372955244221e+20, + 8.625706142474957e+20, + 8.612213708576043e+20, + 8.597844412328036e+20, + 8.582546801965308e+20, + 8.56626874770842e+20, + 8.548957184141694e+20, + 8.53055786911132e+20, + 8.511015615204124e+20, + 8.490276734448459e+20, + 8.46828651828581e+20, + 8.44499331136635e+20, + 8.420346086841053e+20, + 8.394298701474275e+20, + 8.36680774520121e+20, + 8.337836210556173e+20, + 8.307354103422905e+20, + 8.275338984849375e+20, + 8.24177885662741e+20, + 8.206673305785198e+20, + 8.170035084076024e+20, + 8.131891969432246e+20, + 8.092288908321377e+20, + 8.051289477926832e+20, + 8.008977447319283e+20, + 7.96545831186199e+20, + 7.920861096093549e+20, + 7.875338663339617e+20, + 7.829068524793362e+20, + 7.782253322171461e+20, + 7.735120393925299e+20, + 7.687920751236374e+20, + 7.640928083820193e+20, + 7.59443594452145e+20, + 7.548756076296215e+20, + 7.50421439940249e+20, + 7.46114686265508e+20, + 7.419896020378979e+20, + 7.380805028173517e+20, + 7.344212952669861e+20, + 7.310449042590685e+20, + 7.279827493870465e+20, + 7.252640905160427e+20, + 7.229156142382957e+20, + 7.209608411314532e+20, + 7.194196758461024e+20, + 7.183080655175519e+20, + 7.176376300203354e+20, + 7.174154316338748e+20, + 7.176438628380114e+20, + 7.183205524485767e+20, + 7.194384581472707e+20, + 7.20985961842174e+20, + 7.229471603299409e+20, + 7.253021206517964e+20, + 7.280273286052162e+20, + 7.310961296960667e+20, + 7.344791804288707e+20, + 7.381451000313112e+20, + 7.420608999586291e+20, + 7.461926668347494e+20, + 7.505060046876863e+20, + 7.54966661385282e+20, + 7.595409525129886e+20, + 7.641962409201918e+20, + 7.689013549917235e+20, + 7.73626801239957e+20, + 7.783452548180016e+20, + 7.830314831550159e+20, + 7.876628150461706e+20, + 7.92218858885358e+20, + 7.966819128439395e+20, + 8.010365979784683e+20, + 8.052701095243982e+20, + 8.093717754424349e+20, + 8.133332836244893e+20, + 8.171482753162354e+20, + 8.208122896982479e+20, + 8.243225297354711e+20, + 8.276777755177935e+20, + 8.308780837953748e+20, + 8.339247035831002e+20, + 8.368198469349448e+20, + 8.39566624345454e+20, + 8.42168790049289e+20, + 8.446305977739797e+20, + 8.469568394859022e+20, + 8.491525145841245e+20, + 8.512229539540149e+20, + 8.531735485159221e+20, + 8.550097888439514e+20, + 8.567371047071378e+20, + 8.583602666712872e+20, + 8.598788937013173e+20, + 8.612545739784423e+20, + 8.6220988204826e+20, + 8.611964964791672e+20, + 8.509916823448913e+20, + 8.032679964420915e+20, + 6.249683363826254e+20, + 6.1688792483583754e+19, + -1.4600324472152937e+21, + -4.990531644292327e+21, + -1.2050764117854659e+22, + -2.427282866214781e+22, + -4.267883760876785e+22, + -6.691569837969978e+22, + -9.493742291183104e+22, + -1.2341434068315494e+23, + -1.486921830319918e+23, + -1.678113417312718e+23, + -1.791449639265362e+23, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "eliminated_maximum_absolute": 1.791449639265362e+23, + "floor_active": false, + "independent_reference": { + "carrier_mapping": "original_global_phi0_log_n0_log_p0", + "fields": { + "n_m3": { + "hi": [ + 2515095827087.2163, + 2508793556354.725, + 2502128356449.5933, + 2495082141841.156, + 2487636277987.922, + 2479771611284.8794, + 2471468506711.236, + 2462706893934.159, + 2453466322630.22, + 2443726027789.4414, + 2433465005766.472, + 2422662101821.8384, + 2411296109845.499, + 2399345884881.7637, + 2386790468967.1367, + 2373609230660.62, + 2359782018474.893, + 2345289328213.0156, + 2330112483968.8677, + 2314233832263.443, + 2297636948460.9224, + 2280306854240.831, + 2262230244494.279, + 2243395721575.5083, + 2223794034373.818, + 2203418319191.0127, + 2182264338927.327, + 2160330716610.003, + 2137619158859.577, + 2114134664508.666, + 2089885713279.014, + 2064884429220.739, + 2039146713542.1963, + 2012692341533.7922, + 1985545018542.4065, + 1957732390397.5625, + 1929286004336.7688, + 1900241217338.587, + 1870637049830.4675, + 1840515983987.3152, + 1809923707242.9172, + 1778908803160.3647, + 1747522393398.7346, + 1715817736105.7485, + 1683849787596.7207, + 1651674735565.7595, + 1619349513251.6335, + 1586931304868.726, + 1554477053159.775, + 1522042980080.248, + 1489684131357.0227, + 1457453954970.761, + 1425403922503.283, + 1393583200813.3223, + 1362038379712.2253, + 1330813259289.9177, + 1299948698385.6963, + 1269482523512.1738, + 1239449495434.2932, + 1209881328682.2717, + 1180806757631.9575, + 1152251641497.1511, + 1124239099703.3206, + 1096789668681.6584, + 1069921471144.3406, + 1043650389353.4242, + 1017990234733.3823, + 992952907331.8341, + 968548540022.275, + 944785623873.3098, + 921671112681.9941, + 899210506191.734, + 877407912902.1609, + 856266094559.6989, + 835786495342.103, + 815969259387.7733, + 796813240662.7794, + 778316009217.1368, + 760473857685.2341, + 743281811478.0311, + 726733645545.1016, + 710821909912.534, + 695537965478.5139, + 680872030826.7341, + 666813240138.8258, + 653349711686.1216, + 640468625880.7213, + 628156311480.0188, + 616398338270.5804, + 605179614403.4844, + 594484486502.6095, + 584296840707.3376, + 574600202921.8228, + 565377836710.2133, + 556612837480.7927, + 548288221827.2423, + 540387011128.3461, + 532892308737.0282, + 525787370305.80096, + 519055666994.27997, + 512680941478.72955, + 506647256833.5445, + 500939038478.3656, + 495541109483.2617, + 490438719599.5946, + 485617568437.9704, + 481063823249.6275, + 476764131786.3228, + 472705630719.1046, + 468875950090.4701, + 465263214260.54254, + 461856039786.36334, + 458643530648.92224, + 455615271213.1381, + 452761317276.33514, + 450072185529.5477, + 447538841725.0418, + 445152687813.62665, + 442905548286.47754, + 440789655928.8087, + 438797637167.3719, + 436922497169.4991, + 435157604829.1439, + 433496677755.4209, + 431933767361.21814, + 430463244134.5146, + 429079783161.7776, + 427778349961.38513, + 20310231274091.215, + 20257525278151.67, + 20201711688277.543, + 20142626491431.406, + 20080099472442.86, + 20013954306726.86, + 19944008708014.605, + 19870074638271.11, + 19791958587439.02, + 19709461931090.184, + 19622381374463.793, + 19530509491661.21, + 19433635369011.945, + 19331545361712.566, + 19224023972765.383, + 19110854863025.32, + 18991822000661.99, + 18866710957630.46, + 18735310359682.375, + 18597413495059.965, + 18452820085241.734, + 18301338218877.82, + 18142786447389.94, + 17976996037531.09, + 17803813372547.746, + 17623102489369.434, + 17434747734615.482, + 17238656517067.0, + 17034762128726.617, + 16823026600821.686, + 16603443555110.408, + 16376041004904.113, + 16140884054477.781, + 15898077440197.754, + 15647767852133.19, + 15390145971298.006, + 15125448155403.742, + 14853957705367.918, + 14576005646092.912, + 14291970958539.104, + 14002280206000.43, + 13707406505967.596, + 13407867810011.625, + 13104224467674.242, + 12797076066251.053, + 12487057556129.338, + 12174834690626.117, + 11861098829287.348, + 11546561173713.383, + 11231946524247.01, + 10917986663433.4, + 10605413487192.027, + 10294952016233.418, + 9987313427795.924, + 9683188250665.58, + 9383239864448.273, + 9088098437019.232, + 8798355422321.404, + 8514558724539.624, + 8237208614967.481, + 7966754465401.505, + 7703592337747.031, + 7448063444729.979, + 7200453472349.727, + 6960992731936.057, + 6729857089333.764, + 6507169601520.698, + 6293002777390.762, + 6087381369756.212, + 5890285599925.861, + 5701654714320.691, + 5521390774190.375, + 5349362584119.731, + 5185409672113.931, + 5029346243036.256, + 4880965037435.74, + 4740041038746.415, + 4606334982991.993, + 4479596635994.557, + 4359567813347.202, + 4245985127769.4766, + 4138582456757.761, + 4037093130567.8413, + 3941251846471.617, + 3850796319963.6064, + 3765468687204.4146, + 3685016675574.713, + 3609194560909.2417, + 3537763930882.7993, + 3470494274293.346, + 3407163415726.2266, + 3347557814416.7583, + 3291472745166.814, + 3238712377989.4307, + 3189089771847.2754, + 3142426796470.047, + 3098553994839.0967, + 3057310397553.7295, + 3018543298969.603, + 2982108003756.0337, + 2947867551353.164, + 2915692424751.9233, + 2885460249049.262, + 2857055484370.8613, + 2830369116982.0635, + 2805298351729.3896, + 2781746308366.899, + 2759621723805.651, + 2738838661884.8315, + 2719316231886.7744, + 2700978316698.972, + 2683753311257.905, + 2667573871685.5786, + 2652376675348.0903, + 2638102191908.519, + 2624694465330.9854, + 2612100906690.7266, + 2600272097569.0, + 2589161603755.6973, + 2578725798932.5967, + 2568923697985.1987, + 2559716799561.9414, + 2551068937493.6084, + 2542946140672.0386, + 2535316500991.5415, + 2528150048955.991, + 2521418636563.4805, + 2515095827087.2163 + ], + "lo": [ + 0.0, + 0.00019526208142443295, + -2.8989695189269127e-05, + 0.00022189437606639324, + -0.00020178341712293583, + 0.00013032614161709983, + 6.650060968298664e-05, + -0.00019871775886064945, + -5.400185865759961e-05, + 7.292472851070045e-05, + -0.00024350532582967626, + 0.00017391835078675458, + 4.080399609941325e-05, + 0.0001702859382769227, + 0.00023885848362466603, + 0.00011484247642046379, + 0.00019239586613859907, + 0.0001454892747639967, + 0.00019831493406084844, + -4.532522372425143e-06, + -6.337769370542082e-05, + -0.0001635446796446483, + -0.00014625175684369204, + 0.00019456078780235954, + -0.00020145910170174007, + 3.649509826854371e-05, + 5.4254079789707135e-05, + 0.00010946178601752422, + -4.168128563750681e-05, + -6.684555213577125e-05, + -8.397062289462105e-05, + 9.523057426553696e-05, + 7.4884772500705865e-06, + 3.809321698167071e-05, + 1.0832705840297388e-05, + -0.00010041004900395082, + 8.236610373698014e-05, + -6.945799788275221e-05, + -7.998313259832487e-05, + 0.00011543436796628625, + -7.515036152471534e-05, + -6.45260389512476e-05, + -4.293164264734557e-05, + 5.307195573161462e-05, + -9.137259975250816e-05, + -3.407750596753757e-05, + -7.824995783697772e-05, + 6.279949202459146e-05, + -5.0022247460464544e-05, + 8.896084465880209e-05, + 4.223614012492129e-05, + -4.687979257447387e-05, + 5.086597282193e-05, + -8.95597454735489e-05, + 6.361369248048521e-05, + -1.909045677533197e-05, + 2.767954312025167e-05, + -4.7530131868941745e-05, + 0.00011887472920619715, + -8.391168002500033e-05, + 9.822564647107009e-05, + 3.0273312174167026e-05, + 8.719290384068657e-06, + 5.081898931407611e-05, + 2.1984772555624062e-05, + -2.9350124275403372e-05, + -3.052645333838957e-05, + 2.9659760519464735e-05, + 4.83979798140712e-05, + 1.61782662103684e-05, + 5.99917428011497e-05, + -4.8306565702661115e-05, + 2.4603457476792994e-05, + 6.831431840261844e-06, + 5.379320419168701e-05, + -5.873869463509648e-05, + -2.9924785806480568e-05, + -3.157640392335823e-05, + -2.977033195570494e-05, + 2.4290664766803483e-05, + -3.5992693232999315e-05, + -2.556809264540248e-05, + -3.901546651100971e-05, + 2.2657905197563332e-05, + 2.6778968013856437e-05, + -4.2812236721529805e-05, + 1.7727537319657163e-05, + 5.672851982051132e-05, + -3.4712006898725707e-05, + -1.7666531553058127e-05, + 4.963734930853561e-05, + -2.649663337354465e-05, + 3.516698367228987e-05, + 4.91873424649162e-05, + 1.125032011378885e-05, + -6.150814682246021e-06, + -1.015237382514996e-05, + -2.3393254533173423e-05, + 2.9889511589292294e-07, + 2.3987861660424868e-05, + 7.167432446492091e-06, + -6.155912378614052e-06, + 2.399253643916938e-05, + 4.353904071084454e-06, + -2.0278500595758752e-05, + -2.354488761487265e-05, + 1.9539928050124102e-05, + 2.3950140976744614e-05, + -2.0436030789980448e-05, + 1.1024832888018338e-05, + 8.949662308063497e-06, + 2.2325047895560873e-05, + -2.413351249324928e-05, + 4.972565225908759e-06, + -2.0714830447265572e-05, + 1.2631144616626032e-05, + 2.9488490573329158e-05, + 2.136219642842803e-05, + -2.7995066440586023e-05, + 2.625173130307383e-05, + 2.1662514844801797e-06, + -1.733450940661516e-05, + 2.2653744774185488e-05, + 1.77168625554835e-05, + -2.1837694973287507e-05, + 2.494301065928892e-06, + -1.624931493359594e-05, + -2.1618535789848065e-05, + -0.000850153525505843, + -0.0007559267661131493, + -0.0007312406203411297, + 0.0013091683916515776, + -0.001113730185751185, + -0.0017281718249601082, + 0.0003876413376453908, + -0.0014817565982358212, + 0.0017318720164475158, + 0.00140230615928294, + 0.00043872523274745016, + 0.0016029048817502946, + -0.0008218163303105809, + -0.00026931791640653023, + -0.0009611896226219456, + -0.001211765912522777, + -0.0012199040750745288, + 0.0014959310223117237, + 8.673682924932493e-05, + 0.0016000693561885352, + -0.0009111505158117202, + 0.00014719909654083155, + 0.0007639230010377526, + 0.00024003625869911666, + -0.00015731046497322306, + 0.00022272851382490266, + -0.0008331456551743287, + 0.0008617390343925237, + -0.00073564786135084, + 0.0004017741715690615, + -0.0002467668519908633, + -0.0001933190826604898, + 0.0006308497496667973, + 0.000766063926025808, + -6.882786087758737e-05, + -0.00026895349841282636, + -0.000608702096749342, + -0.00046120918924950205, + 0.00022928392183929952, + -0.0009460479407891545, + 0.000760418484916194, + -0.000614060348087182, + -0.0006361139607607615, + 0.000669238272624859, + 0.0007086560074482226, + -0.00027032208022367485, + -0.0003543453748036245, + 0.00029226261582622677, + -1.3601203258824316e-05, + 0.0009694626697609773, + 0.00013971080920542408, + 0.00026389581947310964, + -0.00017738449180549167, + -0.0008572293121958854, + 0.0001122664202945699, + 0.0003102752324322431, + -0.00035934270888411413, + -0.0008777276042011722, + 6.141486429951198e-05, + 0.0001118659488771062, + 2.2078843556274713e-05, + 0.0001824716579235471, + 6.582649242139929e-05, + 0.0002373257771797884, + 8.647991742882256e-05, + 0.00048530167394047585, + 0.00010836005102477686, + 0.00016111226588199848, + 0.0004221430888007075, + -0.0002637112249623765, + -0.00020535609832236207, + -0.00019849076865227004, + -0.00038711802242292695, + 0.00021139844827285567, + -0.00035266351740438525, + 5.383808657554263e-05, + 0.00017072191253658363, + -3.0278804328375957e-05, + 4.463531377101324e-05, + 0.0001267627703535595, + 0.00018771741573399202, + -1.134127619586472e-05, + -0.0001940927752508944, + 0.00016002879200005594, + -0.0001932137421356251, + 0.0001009712094211738, + 0.00011917879137174944, + -0.00015735317660587188, + -0.00010616825616958059, + -0.00023758732382292885, + -0.0001916935384689248, + -0.00018438751440411815, + -9.55851302147122e-05, + -0.00014657142505101778, + 4.082492875789629e-05, + -0.00022051903514272905, + 0.0002393536189477864, + -9.105448322884949e-05, + 0.00012338262997930785, + 3.68329387250762e-05, + -0.00014872585152691847, + 7.006117105321278e-05, + -7.407408143577174e-05, + 0.0001806298610641561, + -8.355630667774444e-05, + -0.0001828744569600446, + 0.00010605421769072748, + 0.00011142928170123822, + 8.790626719616233e-05, + -2.1112121861050965e-05, + 0.00024270622344896439, + 4.104765482604336e-05, + -0.00015737367283436045, + 0.00016699779302547577, + -4.324534334914805e-06, + 2.3350900281734516e-05, + 0.00018198566487031593, + 1.961079029805803e-05, + 6.11916061560176e-05, + -0.00022510239272484575, + 5.333645374837981e-05, + -0.00019882619315697502, + -0.0002337707722213221, + -0.00010287048260257891, + 6.195245139135355e-05, + 0.0001617691691793896, + -0.00018220088304327764, + 0.0 + ] + }, + "p_m3": { + "hi": [ + 2515095827087.2163, + 2521367279959.233, + 2528033174494.5264, + 2535117617847.4624, + 2542646096185.6064, + 2550645540648.5474, + 2559144394568.0215, + 2568172681680.1846, + 2577762075010.2637, + 2587945966046.407, + 2598759533730.1006, + 2610239812708.669, + 2622425760196.184, + 2635358320697.5713, + 2649080487746.4497, + 2663637361689.5415, + 2679076202435.815, + 2695446475957.4233, + 2712799893197.5415, + 2731190439909.369, + 2750674395811.828, + 2771310341323.5728, + 2793159150012.393, + 2816283964796.066, + 2840750155847.1973, + 2866625258100.694, + 2893978886253.6104, + 2922882625182.2354, + 2953409893803.3184, + 2985635780577.317, + 3019636849111.7173, + 3055490912678.969, + 3093276776921.789, + 3133073950598.398, + 3174962324913.8535, + 3219021822785.1543, + 3265332020309.783, + 3313971743703.541, + 3365018646034.933, + 3418548769167.2207, + 3474636097367.645, + 3533352110002.139, + 3594765341517.771, + 3658940957464.417, + 3725940355501.324, + 3795820800130.7515, + 3868635099190.4854, + 3944431328887.292, + 4023252612315.575, + 4105136953994.6006, + 4190117130025.7207, + 4278220630091.0835, + 4369469643868.7, + 4463881080689.498, + 4561466607675.767, + 4662232688419.498, + 4766180601795.611, + 4873306418994.856, + 4983600916588.9375, + 5097049404547.472, + 5213631450749.888, + 5333320487682.171, + 5456083292569.438, + 5581879338997.092, + 5710660025775.613, + 5842367797059.246, + 5976935176028.865, + 6114283742363.215, + 6254323090707.327, + 6396949812959.34, + 6542046551054.992, + 6689481168696.689, + 6839106089973.328, + 6990757849985.427, + 7144256897491.139, + 7299407682408.298, + 7455999052103.362, + 7613804970133.394, + 7772585560018.111, + 7932088465240.987, + 8092050505518.694, + 8252199599019.622, + 8412256911100.342, + 8571939182646.873, + 8730961185596.378, + 8889038249806.889, + 9045888804253.219, + 9201236876445.781, + 9354814496909.828, + 9506363960228.137, + 9655639900225.854, + 9802411144063.557, + 9946462317844.549, + 10087595184509.459, + 10225629702939.352, + 10360404804955.342, + 10491778894083.77, + 10619630076312.975, + 10743856138455.217, + 10864374294120.676, + 10981120720574.404, + 11094049912039.904, + 11203133876278.373, + 11308361201666.076, + 11409736021636.035, + 11507276902292.129, + 11601015677487.4, + 11690996253710.709, + 11777273404911.166, + 11859911575029.865, + 11938983703563.258, + 12014570087052.908, + 12086757287051.967, + 12155637092891.59, + 12221305545526.06, + 12283862026850.488, + 12343408417248.27, + 12400048322647.373, + 12453886371138.182, + 12505027578149.623, + 12553576778330.82, + 12599638121622.193, + 12643314630493.896, + 12684707814969.287, + 12723917341770.404, + 12761040753776.059, + 12796173235862.486, + 12829407423181.875, + 270366762119.59705, + 271213817596.62103, + 272115616795.30807, + 273075701749.65918, + 274097843702.9889, + 275186057845.26227, + 276344618966.07635, + 277578078072.4096, + 278891280020.73334, + 280289382213.8883, + 281777874412.46844, + 283362599710.31805, + 285049776721.25543, + 286846023021.9343, + 288758379891.6747, + 290794338384.21136, + 292961866759.36755, + 295269439292.4893, + 297726066467.6298, + 300341326544.9288, + 303125398473.5245, + 306089096098.3041, + 309243903580.5338, + 312602011918.8566, + 316176356416.5746, + 319980654894.5247, + 324029446392.55505, + 328338130038.49634, + 332923003689.2799, + 337801301862.99725, + 342991232384.6356, + 348512011058.78204, + 354383893561.5815, + 360628203610.2132, + 367267356321.9996, + 374324875518.50275, + 381825403563.6517, + 389794702151.4415, + 398259642283.8409, + 407248181505.01526, + 416789326293.84607, + 426913077368.0169, + 437650355531.3204, + 449032905612.95294, + 461093176013.9058, + 473864171410.11646, + 487379276275.8314, + 501672047103.80035, + 516775971524.392, + 532724192980.4634, + 549549200209.9915, + 567282481531.8353, + 585954144826.7203, + 605592505148.4493, + 626223643079.0796, + 647870938231.6936, + 670554583673.5498, + 694291088442.8403, + 719092776712.6172, + 744967293444.8783, + 771917127509.1626, + 799939164132.9938, + 829024279134.7643, + 859156987589.4956, + 890315159340.9657, + 922469813055.587, + 955584999296.8191, + 989617781389.7264, + 1024518320679.3899, + 1060230070226.5989, + 1096690078120.5815, + 1133829398533.0693, + 1171573605521.1167, + 1209843401545.1252, + 1248555309842.2173, + 1287622437309.3784, + 1326955292527.6157, + 1366462642069.961, + 1406052387358.056, + 1445632444074.7407, + 1485111606507.9167, + 1524400380147.5894, + 1563411767317.3115, + 1602061992513.6401, + 1640271156336.2847, + 1677963809320.2505, + 1715069439506.6328, + 1751522870111.3384, + 1787264566074.2104, + 1822240850512.6326, + 1856404034097.398, + 1889712462080.8882, + 1922130485094.6768, + 1953628360899.6433, + 1984182095014.589, + 2013773228588.229, + 2042388582041.8914, + 2070019962927.8235, + 2096663846165.0205, + 2122321034357.1602, + 2146996305324.19, + 2170698053305.795, + 2193437929575.2454, + 2215230487448.646, + 2236092835925.9814, + 2256044305471.16, + 2275106128742.3755, + 2293301138440.567, + 2310653483857.155, + 2327188367172.4395, + 2342931800097.681, + 2357910381052.12, + 2372151092732.159, + 2385681119647.2275, + 2398527684978.721, + 2410717905935.7905, + 2422278666655.774, + 2433236507602.117, + 2443617530352.266, + 2453447316639.709, + 2462750860502.7334, + 2471552512410.2188, + 2479875934255.038, + 2487744064153.068, + 2495179090027.517, + 2502202431019.559, + 2508834725820.386, + 2515095827087.2163 + ], + "lo": [ + 0.0, + -9.370563783357499e-05, + -0.00013530857320877678, + 0.00016649392268353852, + -0.00020685521419618264, + 5.006070702891929e-05, + 8.662334490924186e-05, + -5.7845142833453384e-05, + 5.4827985324623666e-05, + 3.791537900891106e-05, + -0.00017519178804856087, + 0.0001509882673902399, + 0.00010498408499961285, + -0.00017650691286006333, + 0.00016354343698135918, + 0.00022770988105705813, + -3.3258050616875396e-05, + -5.868619490908502e-05, + 7.05568265140188e-05, + 8.013876342547667e-05, + 4.316941618724998e-05, + 0.00015217718085694385, + -0.00017776193238213075, + 0.0002143579107149676, + -0.0001440744471962795, + -3.0544085373080544e-05, + -0.00012112693617236607, + 0.00015943202770529524, + 0.0001458650695955308, + 0.00017020559227774883, + -0.00020328422203489565, + 0.00021930545141754342, + -1.819400993057371e-05, + 0.00018578337325928402, + -0.00014838724001794152, + 9.56160484571748e-05, + -8.082536841922313e-05, + -0.00020019065146976663, + -0.00011653397804120246, + -0.00011410954340940238, + 0.00015781624226717753, + 0.00023782688462030492, + 0.0001672727341863603, + -0.00023524367860616234, + -0.00020758556412079978, + 1.2537979347931394e-05, + 2.5650782255875717e-05, + 9.052041018717055e-05, + -9.827707394396851e-05, + -7.451770664655574e-05, + -0.00019377834311474804, + -0.0001708163009914419, + 5.112017707310537e-05, + -0.00022984144751514804, + -0.00044369597562503657, + 0.0004341081830603948, + 0.0001087925883245399, + 0.0004295796060702987, + -0.0004773286565765642, + 0.00029601290169936455, + -0.000364580771484785, + 0.0004230930469182576, + 0.00025426942897830037, + -0.00026554106619903654, + -0.00043316231637800107, + 0.00016532670809700148, + -0.00010030252981847797, + -9.676008625806608e-05, + 0.00029811406940564197, + -4.42767467548532e-05, + 0.0004759263860755949, + 0.00013116550375735637, + 0.00032791772239871013, + 0.0004256851825014485, + 0.00012927760009961729, + -0.0002946938928643852, + -0.00041839467760398854, + 6.214120157200334e-05, + 0.0003156822273225396, + -0.0003044539380488076, + 0.0004508324057998739, + -0.0004387906890388272, + -3.971257573376546e-06, + 0.00033963009927891896, + 0.0004205441305159999, + -0.0002834851576959171, + -7.336374826172001e-05, + -0.0007185821379679388, + -0.0007215306972403807, + 0.0006191163700480917, + -0.00013695430415440582, + -0.0005375711636430928, + 0.0005742886130132211, + -0.0009209854095749523, + -0.0005611726482373264, + -0.0005415376499919425, + 0.00033296231755607607, + -0.0008819574328904761, + 0.00011358452239719575, + 0.00022045746458978238, + -0.000529135506100022, + -0.00015284532081409705, + -0.000535998342589388, + 0.00020170923994168512, + 9.207110370486239e-05, + 0.0006848264830145152, + -6.772468524924202e-05, + 0.0009320384841729529, + 0.00019241989081667074, + -0.00021784325274118026, + 0.00029077075913471145, + -0.00010253247357742989, + -7.135397171786761e-05, + -4.379994380431383e-05, + 0.0007648417456370938, + 0.0003966696450431281, + 0.0006378355049224147, + 0.00037777956816306766, + 0.0008961231288990002, + 0.00023714222669047542, + -0.00020539702594437408, + 0.00015248480674541202, + -0.00029121987426489627, + 0.0007905379399196172, + 0.0006272847113452942, + 0.000729659675803948, + -0.0006699532572818686, + 0.0007922726756035178, + 1.2163857817093129e-05, + -8.809912429694081e-06, + 1.8112748777565429e-06, + 4.913989775437161e-07, + -1.4533877449955652e-05, + 2.0742643259484425e-05, + -2.282325483558299e-05, + 2.2153513274787103e-05, + -1.543293410646865e-05, + 2.193806254160135e-05, + -4.434290548584883e-06, + -6.834611554804666e-06, + 1.796632667538419e-05, + -1.823408051978112e-05, + 2.3467211995381513e-05, + -1.8503658474344226e-05, + 1.6665464060238882e-05, + 2.848204849465699e-05, + -2.785398411109575e-05, + 2.354364389477142e-05, + 5.242999031226652e-06, + -1.6654158356762077e-05, + -2.1489284103707235e-05, + 4.311067196279196e-06, + 1.852534860577526e-05, + -2.674389629376636e-06, + -1.8945968034223137e-05, + 2.7808093657104166e-05, + -1.2521632502282918e-05, + -2.79513031643275e-05, + 2.1335846863532535e-05, + 1.585022336837272e-05, + 1.3109685255088952e-05, + 1.6871369163439314e-05, + 1.882521637800116e-05, + 2.673814872788211e-05, + -1.3825729879756916e-05, + -1.1506646938621658e-05, + 8.550802552395755e-06, + -5.654727490844354e-06, + -1.0130461994589398e-05, + -2.326718789325043e-05, + -9.010691671086164e-06, + -3.7952908325388397e-06, + 4.754072089584518e-06, + 8.201004297695905e-06, + -1.1919606909778122e-05, + 4.855551878514232e-06, + -5.417873282224283e-06, + 2.2965543727515677e-05, + -2.3867442406598816e-05, + 2.9124725098731828e-05, + 5.441706884504495e-05, + -1.4579814330784769e-05, + -4.924846199878344e-06, + -2.5645364520252744e-05, + 5.220632145839385e-05, + -3.823932851696956e-05, + -5.184923365455138e-05, + -3.720195937791701e-05, + 3.969837380391242e-05, + -3.1507688299037273e-06, + -1.4998028706724297e-06, + 5.098431199887456e-06, + 1.998927176887842e-05, + 1.0092084675014326e-05, + -4.0006595919549786e-05, + 3.638577952899708e-05, + 4.5086513357199e-05, + 3.1274291920477414e-05, + 2.8831698608604785e-05, + 3.231100547123814e-06, + 6.532494607555545e-05, + -0.00011795935020036662, + -4.451104506924476e-05, + 9.172326091586528e-05, + 0.00012000831865897848, + -0.00010911761120361496, + 3.8006540619204366e-05, + -9.528982901631995e-05, + 8.377671671987749e-05, + 6.42293153215106e-05, + 5.508149877953304e-05, + 5.1946073841753465e-05, + 3.0139276470494282e-05, + -0.00011323624806584319, + -6.812257696764872e-05, + -6.428083954961199e-05, + -7.534596677974746e-05, + 4.3550833009063896e-05, + 9.150800084109132e-05, + 0.00010671208717005899, + 4.1865584459904905e-05, + -0.00011244301050164826, + 2.4094064737796175e-05, + -8.714401982488799e-05, + -1.0183209231574033e-05, + -8.089893934288182e-05, + 7.082847571581468e-05, + 6.862010446820826e-05, + -7.188687336296795e-05, + 9.06327702504218e-05, + -1.8474713853407246e-05, + 4.227405908378092e-05, + 1.3233043373231264e-05, + 7.2537326616103934e-06, + 0.00019244079577575396, + 0.00015576811388205643, + 2.3270511006464295e-05, + 4.740882454160041e-05, + -8.20697198563694e-05, + 1.2977334685925571e-05, + -0.0002020566362313304, + 1.4170808102728505e-06, + 6.606022891648055e-05, + -9.459672101082085e-05, + -0.0001660167348501435, + 0.00016781713492169687, + 0.00017611773749891423, + 4.741068683707267e-05, + -5.5642725178736735e-05, + -9.020000197531867e-05, + 8.044534283730609e-05, + -0.00010119900178917027, + 9.261628684344961e-05, + 3.204001291889604e-05, + -4.109445879173941e-05, + 0.0 + ] + }, + "phi_V": { + "hi": [ + 0.0, + -6.297052455897911e-05, + -0.00012973141170526508, + -0.00020049299128761092, + -0.000275474999459675, + -0.00035490670549944976, + -0.00043902699624954485, + -0.0005280844113637886, + -0.0006223371220667533, + -0.0007220528455165659, + -0.0008275086861903219, + -0.000938990895100708, + -0.0010567945371556592, + -0.001181223056589348, + -0.0013125877301202926, + -0.001451206997348996, + -0.0015974056579288515, + -0.0017515139252710409, + -0.0019138663270208466, + -0.002084800443313756, + -0.0022646554749316044, + -0.002453770634977876, + -0.0026524833596222293, + -0.0028611273358684023, + -0.003080030347211404, + -0.003309511941494286, + -0.0035498809292621165, + -0.0038014327254342036, + -0.004064446552144571, + -0.004339182526077178, + -0.004625878659456069, + -0.004924747809914091, + -0.005235974620589759, + -0.005559712497780646, + -0.005896080679062622, + -0.006245161449676169, + -0.006606997568861872, + -0.006981589970350026, + -0.007368895802020401, + -0.007768826868502891, + -0.008181248536876675, + -0.008605979159392938, + -0.009042790058130128, + -0.009491406104644851, + -0.00995150691310476, + -0.010422728648349061, + -0.010904666431268827, + -0.011396877303473467, + -0.011898883692232385, + -0.012410177296130281, + -0.012930223292845423, + -0.013458464754106647, + -0.013994327140350819, + -0.014537222739938438, + -0.015086554915865314, + -0.015641722027343447, + -0.016202120904692457, + -0.016767149773570272, + -0.017336210548145808, + -0.017908710441424062, + -0.0184840628732377, + -0.019061687690763426, + -0.019641010750931186, + -0.02022146294679667, + -0.020802478788907786, + -0.0213834946761553, + -0.02196394700710645, + -0.0225432702913431, + -0.02312089542032628, + -0.023696248248785273, + -0.02426874862112122, + -0.024837809953855032, + -0.025402839456189347, + -0.02596323903805155, + -0.02651840692047509, + -0.02706773992883194, + -0.027610636417125488, + -0.02814649974294532, + -0.02867474218911136, + -0.029194789210447672, + -0.02970608387305789, + -0.030208091349039276, + -0.030700303331492335, + -0.031182242242346954, + -0.03165346511806037, + -0.03211356707459589, + -0.03256218427212062, + -0.03299899632041127, + -0.03342372808693433, + -0.03383615088999302, + -0.034236083078387075, + -0.03462339001607198, + -0.03499798350488118, + -0.035359820690220846, + -0.035708902503662626, + -0.03604527170259263, + -0.036369010570687844, + -0.03668023834423651, + -0.0369791084285078, + -0.03726580546585353, + -0.03754054231334325, + -0.03780355698284263, + -0.03805510959086361, + -0.03829547935953634, + -0.03852496170392659, + -0.038743865434859165, + -0.03895251010057377, + -0.03915122348506351, + -0.03934033927591729, + -0.03952019490996343, + -0.039691129601025235, + -0.03985348255065403, + -0.0400075913397941, + -0.040153790496929236, + -0.040292410236329755, + -0.040423775358518564, + -0.040548204303960694, + -0.04066600835020429, + -0.04077749094221753, + -0.0408829471454356, + -0.040982663211022105, + -0.041076916243029796, + -0.041165973957474934, + -0.04125009452376612, + -0.041329526479398644, + -0.04140450870931032, + -0.041475270481794925, + -0.041542031533400164, + -0.041668073988744884, + -0.041734999460707044, + -0.041806060309978334, + -0.04188149995844257, + -0.04196157458757885, + -0.04204655360169066, + -0.04213672007926874, + -0.0422323712073267, + -0.04233381869284275, + -0.04244138914467502, + -0.04255542441849453, + -0.04267628191639828, + -0.04280433483192903, + -0.04293997233024342, + -0.043083599652141785, + -0.04323563812961309, + -0.04339652509946813, + -0.04356671370055142, + -0.04374667253895702, + -0.04393688520465168, + -0.044137849621960545, + -0.04435007721553228, + -0.04457409187271378, + -0.0448104286827777, + -0.04505963243321326, + -0.04532225584337195, + -0.04559885751622167, + -0.045889999589875254, + -0.04619624507199689, + -0.04651815484222907, + -0.04685628431049816, + -0.04721117972252178, + -0.04758337410811983, + -0.04797338287307889, + -0.048381699041371816, + -0.04880878816151078, + -0.0492550828986963, + -0.049720977343175744, + -0.05020682107475486, + -0.05071291303358463, + -0.051239495257993074, + -0.051786746561012356, + -0.05235477622807681, + -0.052943617828795385, + -0.05355322324534, + -0.05418345702841024, + -0.054834091198471234, + -0.05550480061454783, + -0.056195159034827656, + -0.05690463599225171, + -0.05763259460377954, + -0.058378290423826217, + -0.0591408714403091, + -0.05991937929578684, + -0.06071275179645204, + -0.061519826748560984, + -0.06233934713573513, + -0.06316996762211441, + -0.06401026233640365, + -0.06485873386138526, + -0.06571382332352273, + -0.06657392144894282, + -0.06743738042644647, + -0.06830252639627805, + -0.0691676723660795, + -0.07003113134349298, + -0.07089122946876346, + -0.07174631893069286, + -0.0725947904554093, + -0.07343508516937804, + -0.07426570565538354, + -0.07508522604213301, + -0.07589230099376905, + -0.07668567349391606, + -0.07746418134883344, + -0.07822676236471712, + -0.0789724581841292, + -0.07970041679499063, + -0.08040989375172004, + -0.08110025217128075, + -0.08177096158661733, + -0.08242159575592103, + -0.08305182953822024, + -0.08366143495398357, + -0.08425027655391386, + -0.08481830622018625, + -0.08536555752241266, + -0.08589213974603027, + -0.08639823170407389, + -0.08688407543487393, + -0.08734996987858362, + -0.08779626461501072, + -0.0882233537344044, + -0.08863166990196676, + -0.08902167866621141, + -0.08939387305111239, + -0.08974876846245727, + -0.09008689793006683, + -0.09040880769965931, + -0.09071505318116163, + -0.09100619525421663, + -0.09128279692648875, + -0.0915454203360909, + -0.091794624085991, + -0.09203096089554044, + -0.09225497555222827, + -0.09246720314532683, + -0.09266816756218275, + -0.09285838022744426, + -0.09303833906543604, + -0.09320852766612443, + -0.09336941463560292, + -0.09352145311271548, + -0.09366508043427238, + -0.09380071793226197, + -0.093928770847484, + -0.0940496283450945, + -0.09416366361863568, + -0.09427123407020391, + -0.09437268155546963, + -0.09446833268329037, + -0.09455849916064381, + -0.09464347817454294, + -0.09472355280347798, + -0.0947989924517519, + -0.09487005330084325, + -0.09493697877263535, + -0.09499999999999964 + ], + "lo": [ + 0.0, + -2.8752971366826288e-21, + -4.5967323943256445e-21, + 2.2168506685876197e-21, + -9.487636082203615e-21, + -2.0344451256884114e-20, + -1.5799983305426424e-20, + -2.834792989122557e-20, + -2.6646846391628662e-20, + -1.6533800659765197e-20, + 3.068185452075079e-20, + -1.1402033612529355e-20, + -9.729269978853583e-20, + -5.625162030559386e-20, + -5.2264244165536244e-20, + -4.036415012357165e-21, + -1.0200282897965659e-19, + 9.928097399114068e-20, + 1.4106685904857626e-20, + -6.383520572225721e-20, + -1.1499751205924832e-19, + 3.3997555311926005e-20, + 1.9287180520261356e-19, + -2.9585159632200827e-20, + -1.1998070117903583e-19, + 1.464803733970275e-19, + 1.3871982074799255e-19, + -7.690206945303909e-20, + -2.5170912000750945e-19, + -3.0237648217228634e-20, + 1.1988144417348185e-19, + 1.8985790931450962e-19, + 1.0849356653491898e-19, + 3.461055055670274e-19, + -1.0897835957516453e-19, + -3.1626046246000823e-19, + -1.2341994070217744e-19, + 3.33706212183102e-19, + 1.0553374867508737e-19, + 2.782934553805993e-19, + 6.476611202051051e-19, + -6.241620623350679e-19, + -3.3053405416948596e-19, + 7.533345549455018e-19, + -3.8404621168680524e-19, + -3.3888626499405165e-19, + -3.339204276011421e-19, + -7.394980972273871e-20, + 8.378609830205038e-19, + 2.163548854330976e-19, + 6.343383807322895e-19, + 6.654885759163659e-21, + -8.120018667791664e-19, + -5.774629017664226e-20, + 7.362313437403872e-19, + -5.1723216831057215e-19, + 1.5981824341067315e-19, + 1.9927955176129674e-19, + 1.6754468134834734e-18, + 1.0362964717016453e-18, + 4.4843428916871435e-19, + -1.203756354005767e-18, + 1.056249863888725e-18, + 3.233431883844206e-19, + 1.14075386303286e-18, + -1.5052128352865268e-18, + -1.2775814090595702e-18, + -1.4680813693840162e-18, + 3.817351023707532e-19, + -1.0931998355265473e-18, + 1.219376580996419e-19, + -9.411566564358238e-19, + -1.0729153182389063e-18, + -1.4001865605294923e-18, + -6.863399509284962e-19, + 5.202930187478844e-19, + -3.4347206032224365e-19, + -1.5366381831828022e-19, + -9.907461032746814e-19, + 1.0331787749466187e-18, + -6.511097403179702e-19, + -4.504627968608069e-19, + 3.819374970722528e-19, + -5.831167785612952e-20, + -1.1094242770147741e-18, + -3.59144385151111e-19, + 6.394913884543373e-19, + -3.417218375545607e-18, + -2.8862531375029725e-18, + -8.29391838230231e-20, + -6.240122018030661e-20, + -3.4440071826505444e-18, + -2.5846255665562273e-18, + -9.700662550954932e-19, + 3.416473287677506e-18, + 1.547009195703504e-18, + -3.0936487056975935e-18, + -3.8068632157966175e-20, + -2.771031667712771e-18, + -1.113165866714203e-18, + -2.3921822133111348e-18, + -2.4545027704250176e-18, + 2.9866488136208967e-18, + 2.2359277038955526e-18, + 1.6169566792634476e-18, + -2.65523548653692e-18, + 6.342384352756706e-19, + -1.6495917148869056e-18, + -5.29447215809919e-19, + -9.54747759698563e-19, + -9.691169407400174e-19, + -2.7423725148156722e-18, + 2.6300876969111523e-18, + 3.426495046477735e-18, + -1.3625642414742225e-18, + -2.3593563047438443e-18, + -7.20150319564994e-19, + 1.0393013863475217e-18, + 1.1969329453443573e-19, + -1.4192735911365548e-18, + -2.425214395992354e-18, + -3.2378845994776722e-18, + -2.7004559842399657e-19, + 2.192147354084911e-18, + -3.4286750176891265e-18, + -9.48234934115919e-19, + 1.5963947789409569e-18, + 1.650324842326543e-18, + 1.137942052617726e-18, + -2.383066562799819e-18, + 7.804567249768677e-19, + -2.3723897852437798e-18, + 3.1205516816897137e-18, + 1.3016342960638527e-18, + 2.8689848473398348e-18, + -1.548985617216465e-18, + -2.976272909469604e-18, + 8.029025258494507e-19, + 1.1093229757684083e-18, + -1.2634231048822633e-18, + -1.8974416547359095e-18, + 2.1731794924011056e-18, + -2.4668936357526404e-18, + 2.2504240067914846e-19, + -1.0387758035312647e-18, + 1.0615275190430504e-18, + -3.0819182788517453e-18, + 2.013434711789276e-18, + 2.857818021779675e-19, + 7.148443330316464e-19, + 2.6270779709118038e-18, + 4.1956089228056363e-19, + -2.3519678627495617e-18, + 4.912093014380409e-19, + 2.501569594847751e-18, + 3.2780478877992225e-18, + 4.399602873073248e-19, + -6.210543927696804e-19, + -2.5846236964152164e-18, + 2.114715727459918e-18, + -2.8470936746152405e-18, + -1.765816252036281e-18, + -1.108718484556383e-18, + -1.169743996060674e-18, + 4.363141474857437e-19, + -7.162260207761523e-19, + 1.0235744714155546e-18, + 7.824664401059697e-19, + -2.4550979688072414e-18, + 1.4471277608371176e-18, + -2.2319611554229524e-18, + 2.6089560387855968e-18, + 9.399974062157242e-19, + -3.743026435387175e-20, + -9.20142436423117e-19, + -1.0559775856392273e-18, + -1.909881586457051e-18, + -2.8846898932302865e-18, + -1.825193881202635e-18, + 2.652872249218733e-18, + 2.449657529135561e-18, + 7.594156044575774e-20, + -7.28279442616895e-19, + -1.4858862566557428e-18, + 1.663902765711891e-18, + -4.486066781991066e-18, + -1.45407846666784e-18, + 8.507009190973743e-20, + -2.125007180282071e-18, + 5.130153239725675e-18, + -2.2983691386167653e-18, + 4.712953841578316e-18, + -6.446674354255345e-18, + -5.817241712790918e-18, + 4.001368776066221e-18, + 5.519121296296559e-18, + 3.9816917599647196e-19, + 1.9443030179126124e-18, + 1.7190840749155774e-18, + 5.390040123970004e-18, + -5.494467582837433e-18, + 8.442726907414102e-19, + 9.008079705812445e-19, + 4.789333664452643e-18, + -2.7649141771785853e-18, + 7.006983242417706e-19, + -3.7286385214883854e-18, + 3.055735501422498e-18, + 6.172183540319367e-18, + 6.392604842822347e-18, + -5.33405332852278e-18, + 4.651279455449502e-18, + 1.3798594926206821e-18, + 5.128390679944339e-18, + -3.0759072160131465e-18, + -3.1175393866374668e-18, + -7.942117001395992e-19, + -5.446722383437258e-18, + -4.0444699122854146e-18, + 6.488145960035364e-18, + 6.63266937368641e-18, + -4.155251984905143e-18, + -1.4612146685205686e-18, + 1.6481430901375812e-19, + 6.299376261004683e-19, + 3.6344707934160034e-20, + -3.52403491732351e-18, + -5.032314214236674e-18, + 2.0676121861666797e-18, + 4.076850561794377e-18, + -5.8941439601357964e-18, + 4.2774477738022197e-19, + 3.1397511030174478e-18, + 5.641499413868454e-18, + 4.509595085133535e-18, + -1.9341057362514762e-18, + 6.223817137837717e-18, + -4.014269352552529e-18, + -1.8966055230117354e-19, + 5.2884336510335095e-18, + -6.403944891795303e-18, + 5.002956977275714e-18, + 3.605995671702859e-18, + 4.1845753118676085e-18, + 1.264587390116799e-18, + -4.646806515959056e-19, + 5.4129925797300825e-18, + 3.769197015132275e-18, + -2.7191022765421285e-18, + 5.4570955468140744e-18, + -1.5425213657582045e-18, + 6.621194630027622e-19, + 2.9739441976170698e-18, + 4.727489151008996e-18, + 2.8526973580133497e-18, + 0.0 + ] + }, + "poisson_residual_C_m2": { + "hi": [ + -2.936899167132559e-37, + 4.261167021730792e-37, + -4.643202685748036e-37, + 5.495436090094194e-37, + 2.497925495497361e-38, + -1.4473274194499415e-36, + 2.819717074034962e-36, + -2.5361290618990853e-36, + 7.405614410180411e-37, + 3.2326094647612906e-38, + -1.3668795248155412e-36, + 4.934872221545816e-36, + -3.38395436242966e-36, + -1.3870833339702993e-36, + 2.6801271198748155e-36, + -2.2415207902242495e-36, + -8.228460455756013e-37, + 1.5927948453641996e-36, + 1.9160557918403286e-36, + -3.4118723532616895e-36, + 2.653678496981314e-36, + -1.7603027903563755e-36, + 2.1805420207753433e-36, + -1.6868343934299826e-36, + -1.680956921675871e-36, + 1.6280596758888682e-36, + 3.696929733336094e-36, + -5.392580334397244e-36, + 9.183549615799121e-37, + 3.209099577744845e-36, + -4.5403469300510855e-36, + 5.0428707650276134e-36, + -5.0840130673063935e-36, + 2.926980933547496e-36, + -2.5860875718090325e-37, + -1.586917373610088e-36, + 2.4215183626939123e-36, + 4.819526838371379e-37, + -7.123495765983062e-36, + 5.248582276421514e-36, + 5.101645482568728e-36, + -8.469436797674581e-36, + 6.3976280043503e-36, + -4.754874649076153e-36, + 4.837159253633713e-36, + -3.86443767832827e-36, + -1.2342690683634019e-36, + 4.919443858191273e-36, + 7.170515540015954e-37, + -5.5659657511435314e-36, + 4.224432823267596e-36, + -3.7894999134633494e-36, + 3.6734198463196485e-36, + -4.031945623320446e-36, + 2.0453601704307803e-36, + 2.6880249725444028e-37, + 7.934586868050441e-38, + -4.70197740328915e-36, + 9.542075392799919e-36, + -1.0132761304088118e-35, + 7.56430614754142e-36, + -1.1475763599902582e-36, + -5.028911769611599e-37, + -5.222945913380261e-36, + 1.346087968485372e-35, + -1.1203195847305664e-35, + 4.959116792531525e-38, + -3.721908988291068e-36, + 1.0168026134612787e-35, + -8.986654312036388e-36, + 7.702426733763039e-36, + 2.938735877055719e-38, + -3.7160315165369564e-36, + 2.674249648120704e-37, + -2.3333562863822407e-36, + 3.836519687496241e-36, + 2.7565342526782642e-36, + -1.5516525430854195e-36, + -1.0479532137580693e-35, + 7.999239057345666e-36, + 3.8203566401724344e-38, + 1.5340201278230852e-36, + -5.1369103130933964e-36, + 7.949280547435719e-36, + -4.36549214536627e-36, + 1.5166815861484565e-35, + -1.9629286290793674e-35, + -7.792058178013238e-36, + 1.2715910140020095e-35, + 9.815377829366101e-36, + -2.6677844291911815e-35, + 2.081947432100124e-35, + 4.1847598889273435e-36, + -2.516586468316665e-35, + 3.0151430098591675e-35, + -1.8757951103246653e-35, + 1.3047987294127391e-35, + -2.518496646636751e-35, + 5.48941168154623e-35, + -8.1961343611084e-35, + 6.450525250137303e-35, + -4.465996912361576e-35, + 4.440429910231191e-35, + -2.9381481298803076e-35, + 1.3706264130587872e-35, + 1.4678985705893315e-35, + -2.3409969996625856e-35, + 1.5869173736100881e-35, + -4.459825567019759e-35, + 6.635371736804107e-35, + -6.782308530656893e-35, + -5.7422899037668745e-36, + 1.2980543305748963e-34, + -1.105640599024673e-34, + 1.5929417821580524e-35, + 8.005116529099778e-36, + -9.87121381103016e-36, + 6.146366086862036e-36, + 5.882173731514727e-35, + -4.541522424401908e-35, + -7.851347174332837e-35, + 7.165519689024959e-35, + -2.77739927740536e-35, + 6.615241396046276e-35, + -1.2324911331577832e-34, + 1.7900134100734089e-34, + -1.3865409994799681e-34, + 1.349548738619381e-34, + -1.97324241854353e-34, + 1.9759717856538707e-34, + -2.2373027920334173e-34, + 1.8332743738359728e-34, + -5.243872514777886e-35, + 3.483281980394095e-35, + -7.097171856173244e-35, + 3.1180618704258244e-35, + -1.793792927195215e-35, + 6.992037585219013e-35, + -7.317699818218508e-35, + 4.940788537999481e-35, + -6.555136361344826e-35, + 5.054943816429885e-35, + -3.0110774721687333e-35, + 2.561130864433862e-35, + -1.4958604089699117e-36, + 1.527332575361461e-35, + -4.156575941611331e-35, + 1.1286683661747553e-35, + 3.275183073495957e-35, + -4.078999561949206e-35, + 1.6749355344237353e-36, + 4.342324294663183e-35, + -2.0829162628417617e-35, + -3.365283361140168e-35, + 3.5307017302197387e-35, + -7.331669210153563e-36, + -1.3988241136024982e-35, + 4.088308333603575e-35, + -4.6658282319868957e-35, + 3.89651839529772e-35, + -3.530078058534728e-35, + 7.126804336163545e-36, + 1.5489193538688168e-35, + -1.1102712653773155e-35, + 1.325762854970036e-35, + -1.8014950250901977e-35, + 5.1099000062037694e-36, + 8.677170064964285e-36, + 8.53514541287626e-36, + -2.841026180127841e-35, + 2.0806186221703953e-35, + -1.3258211388048428e-35, + 1.0601685229397982e-35, + -5.800591227019315e-36, + 2.4964955533757656e-36, + -1.3631242492404668e-35, + 2.7906754163137194e-35, + -2.431532561594386e-35, + 1.51203948919317e-35, + -6.183748009561607e-36, + 1.3712375232558522e-36, + 2.039566381768686e-36, + -7.299947882270094e-36, + 1.9766302980984805e-35, + -2.6693225457826247e-35, + 8.165163768564512e-36, + 1.0764115738950844e-35, + -2.399904775997363e-35, + 3.446430220067941e-35, + -3.0969943989064417e-35, + -2.8830461946133226e-36, + 2.198566294807433e-35, + -4.766275723580887e-36, + 2.699073653595414e-35, + -4.497114046301059e-35, + 1.9115738035779256e-35, + -3.5406789843755604e-36, + 5.3582850006667e-36, + -2.1112063770048283e-35, + 2.597161513163185e-35, + -8.130446703671815e-36, + -1.8081105096555502e-35, + 2.632888284801264e-35, + -3.7016146746109494e-36, + 1.1400079899057739e-35, + -3.642841293051096e-35, + 2.855902425380707e-35, + -1.326057443286739e-35, + 1.5751238742340094e-35, + -6.527692866369309e-36, + -2.5681015081261984e-35, + 5.296068449460324e-35, + -7.868200548536224e-35, + 4.734353396369811e-35, + 1.758232590030411e-35, + -2.9355911947132525e-35, + 3.0566002930207885e-35, + -4.119257463929427e-35, + 3.789009766152869e-35, + -6.48475538127076e-35, + 1.0131109605724538e-34, + -6.67796006681301e-35, + 1.0838894488129046e-35, + 7.612289078385118e-36, + 3.9139328041341894e-35, + -5.44724419107571e-35, + -1.358677966302688e-35, + 5.62760066840829e-35, + -1.04174926105697e-34, + 9.950966582337565e-35, + -4.423556722435667e-35, + 1.281157630929743e-35, + -5.940025415283372e-35, + 1.1228493957102207e-34, + 4.453522975897728e-35, + -9.38660284044921e-35, + -5.892587731613314e-35, + 1.1068017763753477e-34, + -1.2362824427483556e-34, + -2.861943389463186e-35, + 1.9193398818094036e-34, + -6.079227427310686e-36, + -9.665569099260944e-35, + -1.2740990933434698e-35, + -1.1807813663442238e-34, + 4.124634704639663e-34, + -4.980660003159024e-34, + 1.708259109734879e-34, + 1.6939217917239021e-34, + -9.018750997805e-35, + -7.850800511329929e-35, + -5.514884033891523e-36, + 2.529549683327425e-34, + -2.221510377559707e-34 + ], + "lo": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 4.276423536147513e-50, + 2.1382117680737565e-50, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -1.0691058840368783e-50, + 1.0691058840368783e-50 + ] + }, + "positive_flux_m2_s": { + "hi": [ + -7295196079946.111, + -21593358072574.188, + -34447586129662.734, + -44564289715386.59, + -51440663457189.586, + -55449722793477.445, + -57468254893837.516, + -58382109069637.63, + -58802458302273.984, + -59046950812804.18, + -59245224729346.086, + -59439966190339.945, + -59642931529676.76, + -59857148792207.24, + -60083662659749.94, + -60323160577156.46, + -60576290026352.17, + -60843708642625.016, + -61126089722634.43, + -61424121386471.74, + -61738504655980.51, + -62069951167995.26, + -62419180496886.45, + -62786917055199.79, + -63173886562622.04, + -63580812166288.19, + -64008409975692.42, + -64457384305973.66, + -64928422318106.26, + -65422188403206.66, + -65939317990514.984, + -66480411130744.42, + -67046025736540.805, + -67636670522724.86, + -68252797880151.39, + -68894796667250.195, + -69562985055666.87, + -70257603578334.81, + -70978808549678.0, + -71726665958754.1, + -72501146004594.64, + -73302118440399.89, + -74129348927313.95, + -74982496414897.38, + -75861111742813.4, + -76764637565325.7, + -77692409604919.86, + -78643659235795.98, + -79617517436605.77, + -80613019881532.69, + -81629113261400.23, + -82664662444764.7, + -83718458315533.81, + -84789226223083.23, + -85875634491499.48, + -86976302955394.73, + -88089811157464.27, + -89214706069903.89, + -90349508945482.19, + -91492721502450.45, + -92642831040737.92, + -93798314623221.17, + -94957642455392.42, + -96119280421220.72, + -97281692038069.97, + -98443340092945.55, + -99602688078657.67, + -100758201828008.08, + -101908351439990.33, + -103051613883684.44, + -104186476264079.14, + -105311440061303.7, + -106425026288600.67, + -107525781504298.38, + -108612284855773.64, + -109683155653606.81, + -110737061662405.7, + -111772727541467.16, + -112788943483418.52, + -113784573548324.92, + -114758563576881.86, + -115709948423036.81, + -116637858111204.66, + -117541523164811.3, + -118420278359207.02, + -119273565538910.81, + -120100934665079.56, + -120902043938799.42, + -121676658257813.78, + -122424646787296.45, + -123145979100947.69, + -123840720701122.75, + -124509027487526.38, + -125151139674525.17, + -125767375162898.66, + -126358122639986.88, + -126923834386502.48, + -127465019083760.16, + -127982234627974.83, + -128476081154058.12, + -128947194227869.3, + -129396238345531.8, + -129823900881973.16, + -130230886320035.36, + -130617911020790.17, + -130985698344042.08, + -131334974271225.72, + -131666463433510.11, + -131980885379884.73, + -132278949784290.53, + -132561341751057.0, + -132828648531388.7, + -133081004149583.72, + -133316615521542.16, + -133526677057249.56, + -133680997051529.3, + -133695375736793.69, + -133374230117631.58, + -132338616785519.38, + -129979942430260.33, + -125499985883845.47, + -118073740694015.78, + -107098935511084.14, + -92425480141979.48, + -74453094181258.06, + -54054648343928.84, + -32371258001919.58, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "lo": [ + 0.0001776861420856344, + 0.0004452469885055489, + -0.0017156879646828282, + 0.003540242579484045, + 0.0016045510130751489, + 0.003693217071200735, + -0.002808857700905224, + -0.0021060955186863193, + -0.0023396745116589703, + 0.0014141292731661903, + -0.0027948274764100266, + 0.0006506269500309128, + 0.0016955236006548629, + 0.003152367969548998, + 0.00033694334703532314, + 0.0014984002700903266, + 0.0014520771422210327, + 0.0023043157442144877, + 0.002349924967080623, + -0.0017484303517466392, + 0.003197033010649075, + -0.001970538908768819, + 0.0019640469255599088, + -0.0030388959124783427, + -0.003459709021347088, + -0.0017942229978173338, + 0.003659749999695331, + 0.0003490582434889926, + -0.0013685005482774997, + -0.0022920164543461033, + -0.0018688153480232554, + 0.003788183897787949, + -0.0035493884300494653, + -0.0010725027009429345, + 0.0034576756655581445, + -0.0014999512071610435, + 0.0011379641853290882, + -0.001210499478785177, + -0.0006211630343462169, + -0.006302146678333391, + -0.007641491456774608, + 0.0072141967615517374, + 0.00487891143934018, + -0.0031125195166837516, + 0.0033430289283035014, + -0.007027824117693721, + -0.00495435336951274, + 0.005029866601568524, + -0.00697652330128249, + 0.0004818212889390492, + 0.0053496270209882416, + 0.007157766897396061, + -0.005406865581717783, + 0.007534112056362124, + -0.0029832029951956636, + 0.0018347716798872745, + -0.00569286413249083, + -0.0015528179615879765, + 0.0018190740551760056, + -0.006723536577598095, + 0.004691430046185942, + 0.006530341780039209, + -0.006441741283224587, + -0.0012261389716341333, + -0.004008798976647823, + 0.0051994204589010315, + -0.004315511061475672, + -0.003888212279490034, + -0.003258518331785103, + 0.0017347595473884926, + -0.003973008407124986, + -0.0005613759411061733, + 0.00025673914018547344, + -0.005086980942395243, + 0.004001820440903622, + 0.004022453088153975, + -0.004862602044224552, + 0.0008244760752101762, + -0.003658286577696431, + 0.002933127620479799, + -0.0038322459291615443, + -0.000880851905929105, + 0.006375895921698067, + -0.0015464476171218081, + 0.00356521110726892, + -0.007176573469194043, + -0.0013425438293032288, + 0.0034140982228523242, + 0.0014209005323835026, + 0.001089840594730464, + 0.0031186198207845822, + -0.007593795553225235, + 0.0001198410735656733, + 0.006080993248985944, + -0.001193650164775489, + 0.0009290965669674217, + -0.002324404604736147, + -0.0047227396887385645, + -0.0007509445121898393, + -0.00425028636336147, + 0.0062751445434377565, + 0.001963743838632369, + 0.002690704589147149, + -0.007766929198247386, + 0.0015764268454644507, + -0.004433171421566536, + 0.005777460124497591, + 0.007347301231007072, + 0.003510091996548156, + -0.00591336802733743, + -0.0067326171680934885, + -0.005827655978598075, + 0.00037033168311498597, + 0.0013023568661143928, + -0.0029859112071651253, + 0.001107793090964561, + 0.007171495746041484, + -0.007199801407797744, + 0.002692641695295209, + 0.0037415517674632835, + -0.004623821120605534, + 0.0006740413636410858, + 0.00156341279988564, + 0.001136314680357644, + 0.004466081984753047, + -0.002196984989454108, + 0.000904449580102751, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + }, + "positive_rate_m3_s": { + "hi": [ + 1.2361758911586787e+23, + 1.1750196189589035e+23, + 9.948099550699113e+22, + 7.374457609389539e+22, + 4.721928037135483e+22, + 2.5938659444634182e+22, + 1.2307415297689372e+22, + 5.251945359932081e+21, + 2.2774919346491142e+21, + 1.2491430054328043e+21, + 9.55464963684032e+20, + 8.853580275151682e+20, + 8.707810536160322e+20, + 8.675415448458128e+20, + 8.661811406772202e+20, + 8.650292804746808e+20, + 8.638372955327791e+20, + 8.625706142401768e+20, + 8.612213708578632e+20, + 8.597844412334169e+20, + 8.582546802001631e+20, + 8.566268747708803e+20, + 8.548957184084991e+20, + 8.530557869130133e+20, + 8.511015615247137e+20, + 8.49027673441752e+20, + 8.468286518265499e+20, + 8.444993311370847e+20, + 8.420346086873758e+20, + 8.394298701468303e+20, + 8.366807745195383e+20, + 8.337836210546665e+20, + 8.307354103441114e+20, + 8.275338984812949e+20, + 8.24177885664006e+20, + 8.206673305803151e+20, + 8.170035084086508e+20, + 8.131891969405826e+20, + 8.092288908335672e+20, + 8.051289477933066e+20, + 8.008977447269044e+20, + 7.965458311907537e+20, + 7.920861096114432e+20, + 7.875338663283175e+20, + 7.829068524821996e+20, + 7.782253322170538e+20, + 7.735120393930719e+20, + 7.68792075124947e+20, + 7.640928083790265e+20, + 7.594435944540868e+20, + 7.548756076277511e+20, + 7.504214399399338e+20, + 7.461146862681326e+20, + 7.419896020379522e+20, + 7.380805028141282e+20, + 7.344212952699596e+20, + 7.310449042581049e+20, + 7.279827493891795e+20, + 7.252640905129403e+20, + 7.229156142383677e+20, + 7.209608411299054e+20, + 7.194196758517602e+20, + 7.183080655132236e+20, + 7.176376300225972e+20, + 7.174154316287558e+20, + 7.176438628422796e+20, + 7.183205524479413e+20, + 7.194384581504627e+20, + 7.209859618368837e+20, + 7.229471603343462e+20, + 7.253021206479421e+20, + 7.280273286068253e+20, + 7.310961296956989e+20, + 7.344791804308645e+20, + 7.3814510003235e+20, + 7.420608999542988e+20, + 7.461926668370544e+20, + 7.505060046852607e+20, + 7.549666613924269e+20, + 7.595409525032228e+20, + 7.641962409254192e+20, + 7.689013549936863e+20, + 7.736268012358701e+20, + 7.78345254815772e+20, + 7.830314831617448e+20, + 7.8766281504733e+20, + 7.922188588628623e+20, + 7.96681912865439e+20, + 8.01036597990662e+20, + 8.052701095090196e+20, + 8.0937177542089e+20, + 8.133332836528015e+20, + 8.171482753223e+20, + 8.20812289722105e+20, + 8.243225296798343e+20, + 8.276777754886882e+20, + 8.308780838790777e+20, + 8.339247035132276e+20, + 8.368198469933232e+20, + 8.39566624302038e+20, + 8.421687900687217e+20, + 8.44630597877348e+20, + 8.469568393625369e+20, + 8.491525145862474e+20, + 8.512229538582938e+20, + 8.53173548728205e+20, + 8.550097886694923e+20, + 8.567371048256661e+20, + 8.583602666112895e+20, + 8.598788937188495e+20, + 8.612545738891588e+20, + 8.622098824489878e+20, + 8.611964962066811e+20, + 8.509916819481802e+20, + 8.03267996725008e+20, + 6.249683366156262e+20, + 6.168879250539024e+19, + -1.4600324475097197e+21, + -4.990531644378787e+21, + -1.205076411779048e+22, + -2.427282866212587e+22, + -4.267883760808271e+22, + -6.691569837976843e+22, + -9.493742291368183e+22, + -1.2341434068111207e+23, + -1.4869218303192948e+23, + -1.6781134173205482e+23, + -1.791449639265491e+23, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "lo": [ + -3704088.708914647, + 3664835.071817834, + -3093301.350407332, + 2057997.0688777443, + -9198.973565244813, + -1037848.7482293858, + 249958.33393704373, + -128354.93924595088, + -100526.86706625017, + 67998.2862857577, + -10010.416395820783, + -7848.967985585646, + -18520.61571119775, + 37677.79867237225, + 7660.555568391863, + 50852.453095125355, + -15993.41932926289, + 30719.91169395205, + 64319.951507484235, + -40950.84077210293, + 6172.013975470424, + -16878.593121997514, + 30688.676689674347, + -20943.311792108267, + -40487.924367626525, + -42809.375996787465, + 28605.252601544278, + 22375.005008845557, + -49466.73223114825, + -1775.8234504777479, + 9551.049929056371, + 53108.46325403229, + -59521.939942628705, + 48894.9428692218, + -62914.4663829093, + -548.7560264274584, + -19820.856699558997, + 60525.417311175595, + -60686.190022683106, + -37304.94480137512, + 57925.25684558828, + 31580.372634559415, + 54303.181615306385, + 23991.070235714174, + 51111.98643059171, + 25894.95988033041, + 26794.702180358738, + 16957.423413979795, + -14414.502770801708, + -56235.5120847047, + 13509.746917426775, + 6979.780705242518, + 5195.716303994368, + 5736.8308505206705, + -35336.921323952876, + -58064.13882137829, + -30041.312053561796, + -33363.15478198731, + -56910.62634956075, + 51702.54504915434, + -38139.64518943828, + -7771.569224066394, + 56723.7567365999, + -12181.19408919162, + -44973.86327536774, + 9445.607719582837, + 47588.50349640207, + 6693.034204143048, + 38052.498908984264, + -43567.96629792864, + -61783.68325125516, + -26932.02885994561, + 39290.17045510858, + -18068.53952364178, + 43621.854724370845, + -304.9913459718038, + -48956.70878622067, + 18341.249435834306, + -18577.09026335225, + 35499.96712175816, + -53964.06628907053, + -25404.208685756425, + -40917.406734041, + 37906.85818825855, + -48541.773385232744, + -56175.71623508602, + -57646.45443104215, + 2208.6266072069157, + 35690.53777481421, + -62529.91478950743, + 34784.19252473001, + 45008.753491034724, + -41217.173032710525, + -34851.8590027634, + -42047.958904383944, + -61037.32651674075, + -33634.41065962907, + 29945.03642104625, + 11663.390854010884, + -41989.48087144306, + 8374.545210594359, + 40233.37324946677, + 29108.132742620914, + 37690.95342490966, + 39317.1202223814, + -26247.410784985474, + -12457.662141144816, + -36967.839442756645, + -23754.164342182237, + -50225.353025654826, + 27930.311345827326, + 3708.156079580987, + -60849.96189366434, + 49443.02448053914, + 30879.331785051014, + 15047.064021964467, + -767.0920478460059, + 103438.84391630483, + 288036.49791038386, + -354486.4619496965, + 1641334.5099538488, + -1781310.9832089439, + -2524507.215684162, + 937539.6011274098, + -2550335.086478344, + -2512602.906286127, + -15569096.970223583, + -5097500.666296599, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + } + }, + "fields_sha256": "3ce9efbc72c6589734eaa11774031d42aa1d2393d68f5c68b69ba44269520830", + "inputs": { + "coefficients": { + "boundary_flux_m2_s": { + "hi": [ + 0.0, + 0.0 + ], + "lo": [ + 0.0, + 0.0 + ] + }, + "control_volume_width_m": [ + 5.901422388288336e-11, + 1.2168445327999375e-10, + 1.2921290133435793e-10, + 1.3718573109489092e-10, + 1.456263985330553e-10, + 1.5455923405930657e-10, + 1.6400942452466372e-10, + 1.7400298616433713e-10, + 1.8456672721482707e-10, + 1.9572819882658635e-10, + 2.0751563278408056e-10, + 2.1995786443639556e-10, + 2.330842391367742e-10, + 2.4692450039214606e-10, + 2.615086578375502e-10, + 2.768668330800304e-10, + 2.930290814077334e-10, + 3.1002518733890237e-10, + 3.2788443199932904e-10, + 3.4663533037393737e-10, + 3.6630533658778285e-10, + 3.869205155434871e-10, + 4.0850517948706975e-10, + 4.310814884031017e-10, + 4.546690135652088e-10, + 4.79284264100096e-10, + 5.049401770735207e-10, + 5.316455723851334e-10, + 5.594045746728763e-10, + 5.882160054824251e-10, + 6.180727501540692e-10, + 6.489611052145571e-10, + 6.808601135253143e-10, + 7.137408960140655e-10, + 7.47565990478061e-10, + 7.822887096588038e-10, + 8.178525325040014e-10, + 8.54190544194725e-10, + 8.912249420559998e-10, + 9.288666258067398e-10, + 9.670148916509131e-10, + 1.005557250369215e-09, + 1.0443693897370093e-09, + 1.0833153011705004e-09, + 1.1222475893912312e-09, + 1.1610079820176118e-09, + 1.1994280532751899e-09, + 1.23733017242863e-09, + 1.2745286830742073e-09, + 1.3108313141313866e-09, + 1.3460408173217914e-09, + 1.3799568192605954e-09, + 1.4123778691985396e-09, + 1.443103656181209e-09, + 1.4719373622173193e-09, + 1.4986881112844911e-09, + 1.523173467982208e-09, + 1.5452219347003404e-09, + 1.5646753926224425e-09, + 1.5813914299979714e-09, + 1.5952455011079117e-09, + 1.6061328613443997e-09, + 1.6139702278616839e-09, + 1.6186971212639917e-09, + 1.6202768516007768e-09, + 1.6186971212639917e-09, + 1.6139702278616839e-09, + 1.6061328613443997e-09, + 1.5952455011079117e-09, + 1.5813914299979714e-09, + 1.5646753926224425e-09, + 1.5452219347003404e-09, + 1.523173467982208e-09, + 1.4986881112844845e-09, + 1.4719373622173193e-09, + 1.4431036561812155e-09, + 1.4123778691985462e-09, + 1.379956819260592e-09, + 1.346040817321788e-09, + 1.31083131413138e-09, + 1.2745286830742205e-09, + 1.2373301724286366e-09, + 1.19942805327517e-09, + 1.1610079820176184e-09, + 1.1222475893912378e-09, + 1.083315301170507e-09, + 1.0443693897369927e-09, + 1.0055572503692116e-09, + 9.670148916509198e-10, + 9.288666258067464e-10, + 8.91224942055985e-10, + 8.541905441947299e-10, + 8.178525325039981e-10, + 7.822887096588004e-10, + 7.475659904780676e-10, + 7.137408960140556e-10, + 6.808601135253242e-10, + 6.48961105214567e-10, + 6.180727501540659e-10, + 5.882160054824152e-10, + 5.59404574672873e-10, + 5.316455723851383e-10, + 5.049401770735323e-10, + 4.792842641000936e-10, + 4.546690135651964e-10, + 4.3108148840310337e-10, + 4.0850517948706727e-10, + 3.869205155434962e-10, + 3.663053365877845e-10, + 3.4663533037393406e-10, + 3.278844319993274e-10, + 3.1002518733890444e-10, + 2.930290814077417e-10, + 2.7686683308002504e-10, + 2.6150865783754524e-10, + 2.46924500392156e-10, + 2.3308423913676347e-10, + 2.1995786443640466e-10, + 2.0751563278407477e-10, + 1.9572819882657477e-10, + 1.845667272148283e-10, + 1.740029861643485e-10, + 1.6400942452466144e-10, + 1.545592340593227e-10, + 1.4562639853305157e-10, + 1.3718573109488172e-10, + 1.2921290133435225e-10, + 1.8069867716288167e-10, + 1.8069867716288167e-10, + 1.2921290133435225e-10, + 1.3718573109489495e-10, + 1.4562639853305157e-10, + 1.5455923405930946e-10, + 1.6400942452466144e-10, + 1.740029861643485e-10, + 1.845667272148283e-10, + 1.9572819882657477e-10, + 2.0751563278407477e-10, + 2.1995786443640466e-10, + 2.3308423913676347e-10, + 2.46924500392156e-10, + 2.6150865783754524e-10, + 2.7686683308002504e-10, + 2.930290814077417e-10, + 3.1002518733890444e-10, + 3.278844319993274e-10, + 3.4663533037393406e-10, + 3.663053365877845e-10, + 3.8692051554348296e-10, + 4.085051794870805e-10, + 4.3108148840310337e-10, + 4.5466901356520963e-10, + 4.792842641000936e-10, + 5.04940177073519e-10, + 5.316455723851383e-10, + 5.59404574672873e-10, + 5.882160054824152e-10, + 6.180727501540659e-10, + 6.48961105214567e-10, + 6.808601135253109e-10, + 7.137408960140689e-10, + 7.475659904780676e-10, + 7.822887096588004e-10, + 8.178525325039981e-10, + 8.541905441947299e-10, + 8.91224942055985e-10, + 9.288666258067464e-10, + 9.670148916509198e-10, + 1.0055572503692116e-09, + 1.0443693897370192e-09, + 1.0833153011704673e-09, + 1.122247589391251e-09, + 1.1610079820176184e-09, + 1.1994280532751965e-09, + 1.2373301724286234e-09, + 1.2745286830741808e-09, + 1.3108313141314065e-09, + 1.346040817321788e-09, + 1.3799568192606186e-09, + 1.412377869198533e-09, + 1.4431036561812023e-09, + 1.4719373622173193e-09, + 1.4986881112844977e-09, + 1.523173467982208e-09, + 1.545221934700314e-09, + 1.564675392622469e-09, + 1.5813914299979515e-09, + 1.5952455011079183e-09, + 1.606132861344413e-09, + 1.6139702278616839e-09, + 1.6186971212639851e-09, + 1.6202768516007636e-09, + 1.6186971212639851e-09, + 1.6139702278616839e-09, + 1.606132861344413e-09, + 1.5952455011079183e-09, + 1.5813914299979515e-09, + 1.564675392622469e-09, + 1.545221934700314e-09, + 1.523173467982208e-09, + 1.4986881112844977e-09, + 1.4719373622173193e-09, + 1.4431036561812023e-09, + 1.412377869198533e-09, + 1.3799568192606186e-09, + 1.346040817321788e-09, + 1.31083131413138e-09, + 1.2745286830742073e-09, + 1.2373301724286234e-09, + 1.1994280532751965e-09, + 1.1610079820176184e-09, + 1.122247589391251e-09, + 1.0833153011704673e-09, + 1.0443693897370192e-09, + 1.0055572503692116e-09, + 9.670148916509198e-10, + 9.288666258067464e-10, + 8.91224942055985e-10, + 8.541905441947299e-10, + 8.178525325039848e-10, + 7.822887096588137e-10, + 7.475659904780676e-10, + 7.137408960140821e-10, + 6.808601135253109e-10, + 6.489611052145538e-10, + 6.180727501540659e-10, + 5.882160054824152e-10, + 5.59404574672873e-10, + 5.316455723851383e-10, + 5.04940177073519e-10, + 4.7928426410012e-10, + 4.5466901356518316e-10, + 4.3108148840310337e-10, + 4.0850517948706727e-10, + 3.869205155434962e-10, + 3.6630533658779774e-10, + 3.4663533037392083e-10, + 3.278844319993274e-10, + 3.1002518733890444e-10, + 2.930290814077152e-10, + 2.768668330800515e-10, + 2.6150865783754524e-10, + 2.46924500392156e-10, + 2.3308423913676347e-10, + 2.1995786443639143e-10, + 2.0751563278407477e-10, + 1.95728198826588e-10, + 1.845667272148283e-10, + 1.740029861643485e-10, + 1.6400942452466144e-10, + 1.545592340593227e-10, + 1.4562639853305157e-10, + 1.3718573109489495e-10, + 1.29212901334339e-10, + 1.2168445327999169e-10, + 5.901422388288999e-11 + ], + "equilibrium_occupancy": [ + 7.928011033749389e-05 + ], + "grid_spacing_m": [ + 1.180284477657667e-10, + 1.2534045879422085e-10, + 1.33085343874495e-10, + 1.412861183152869e-10, + 1.4996667875082363e-10, + 1.591517893677896e-10, + 1.6886705968153773e-10, + 1.7913891264713654e-10, + 1.899945417825178e-10, + 2.0146185587065489e-10, + 2.1356940969750602e-10, + 2.2634631917528552e-10, + 2.398221590982629e-10, + 2.5402684168602837e-10, + 2.6899047398907245e-10, + 2.847431921709884e-10, + 3.013149706444784e-10, + 3.1873540403332673e-10, + 3.370334599653301e-10, + 3.5623720078254464e-10, + 3.7637347239302107e-10, + 3.9746755869395394e-10, + 4.195428002801864e-10, + 4.426201765260154e-10, + 4.66717850604403e-10, + 4.918506775957899e-10, + 5.180296765512515e-10, + 5.45261468219016e-10, + 5.735476811267349e-10, + 6.028843298381153e-10, + 6.33261170470023e-10, + 6.646610399590928e-10, + 6.970591870915358e-10, + 7.30422604936592e-10, + 7.6470937601953e-10, + 7.998680432980791e-10, + 8.358370217099236e-10, + 8.725440666795263e-10, + 9.099058174324767e-10, + 9.478274341809963e-10, + 9.862023491208366e-10, + 1.02491215161759e-09, + 1.0638266278564286e-09, + 1.1028039744845689e-09, + 1.1416912042978935e-09, + 1.18032475973733e-09, + 1.2185313468130496e-09, + 1.2561289980442137e-09, + 1.2929283681042009e-09, + 1.3287342601585724e-09, + 1.3633473744850104e-09, + 1.3965662640361804e-09, + 1.4281894743608988e-09, + 1.458017838001519e-09, + 1.4858568864331195e-09, + 1.5115193361358627e-09, + 1.5348275998285534e-09, + 1.5556162695721207e-09, + 1.5737345156727642e-09, + 1.589048344323185e-09, + 1.6014426578926383e-09, + 1.6108230647961677e-09, + 1.6171173909272e-09, + 1.6202768516007768e-09, + 1.6202768516007768e-09, + 1.6171173909272e-09, + 1.6108230647961677e-09, + 1.6014426578926383e-09, + 1.589048344323185e-09, + 1.5737345156727576e-09, + 1.5556162695721274e-09, + 1.5348275998285534e-09, + 1.5115193361358627e-09, + 1.4858568864331195e-09, + 1.458017838001519e-09, + 1.4281894743608988e-09, + 1.3965662640361804e-09, + 1.363347374485017e-09, + 1.3287342601585591e-09, + 1.292928368104214e-09, + 1.2561289980442137e-09, + 1.2185313468130463e-09, + 1.1803247597373201e-09, + 1.1416912042979035e-09, + 1.1028039744845722e-09, + 1.0638266278564286e-09, + 1.0249121516175833e-09, + 9.862023491208399e-10, + 9.478274341809997e-10, + 9.099058174324667e-10, + 8.725440666795296e-10, + 8.35837021709917e-10, + 7.998680432980791e-10, + 7.64709376019535e-10, + 7.304226049365871e-10, + 6.970591870915374e-10, + 6.646610399590977e-10, + 6.33261170470023e-10, + 6.028843298381087e-10, + 5.735476811267349e-10, + 5.452614682190243e-10, + 5.180296765512524e-10, + 4.91850677595799e-10, + 4.667178506043882e-10, + 4.4262017652601787e-10, + 4.1954280028018887e-10, + 3.9746755869394567e-10, + 3.763734723930335e-10, + 3.5623720078253554e-10, + 3.370334599653326e-10, + 3.187354040333354e-10, + 3.0131497064447345e-10, + 2.8474319217098343e-10, + 2.689904739890799e-10, + 2.540268416860238e-10, + 2.398221590982617e-10, + 2.2634631917529172e-10, + 2.1356940969750437e-10, + 2.0146185587064517e-10, + 1.899945417825176e-10, + 1.7913891264713902e-10, + 1.6886705968154476e-10, + 1.5915178936779136e-10, + 1.4996667875082756e-10, + 1.4128611831527558e-10, + 1.330853438745011e-10, + 1.2534045879421663e-10, + 2.3605689553153347e-10, + 1.2534045879421663e-10, + 1.330853438745011e-10, + 1.4128611831528881e-10, + 1.4996667875081432e-10, + 1.5915178936779136e-10, + 1.6886705968154476e-10, + 1.7913891264713902e-10, + 1.899945417825176e-10, + 2.0146185587064517e-10, + 2.1356940969750437e-10, + 2.2634631917529172e-10, + 2.398221590982617e-10, + 2.540268416860238e-10, + 2.689904739890799e-10, + 2.8474319217098343e-10, + 3.013149706444867e-10, + 3.187354040333222e-10, + 3.370334599653326e-10, + 3.5623720078253554e-10, + 3.7637347239302024e-10, + 3.974675586939589e-10, + 4.1954280028018887e-10, + 4.4262017652601787e-10, + 4.667178506044014e-10, + 4.918506775957857e-10, + 5.180296765512524e-10, + 5.452614682190243e-10, + 5.735476811267349e-10, + 6.028843298381087e-10, + 6.33261170470023e-10, + 6.646610399590977e-10, + 6.970591870915242e-10, + 7.304226049366003e-10, + 7.64709376019535e-10, + 7.998680432980791e-10, + 8.35837021709917e-10, + 8.725440666795296e-10, + 9.099058174324667e-10, + 9.478274341809997e-10, + 9.862023491208399e-10, + 1.0249121516175966e-09, + 1.0638266278564153e-09, + 1.1028039744845722e-09, + 1.1416912042979035e-09, + 1.1803247597373334e-09, + 1.218531346813033e-09, + 1.2561289980442137e-09, + 1.2929283681042009e-09, + 1.3287342601585856e-09, + 1.363347374485017e-09, + 1.3965662640361672e-09, + 1.4281894743608988e-09, + 1.4580178380015323e-09, + 1.4858568864331063e-09, + 1.5115193361358627e-09, + 1.5348275998285534e-09, + 1.5556162695721274e-09, + 1.5737345156727576e-09, + 1.5890483443231718e-09, + 1.6014426578926648e-09, + 1.6108230647961611e-09, + 1.6171173909272067e-09, + 1.6202768516007636e-09, + 1.6202768516007636e-09, + 1.6171173909272067e-09, + 1.6108230647961611e-09, + 1.6014426578926648e-09, + 1.5890483443231718e-09, + 1.5737345156727576e-09, + 1.5556162695721274e-09, + 1.5348275998285534e-09, + 1.5115193361358627e-09, + 1.4858568864331063e-09, + 1.4580178380015323e-09, + 1.4281894743608988e-09, + 1.3965662640361672e-09, + 1.3633473744850435e-09, + 1.3287342601585327e-09, + 1.2929283681042273e-09, + 1.2561289980442137e-09, + 1.218531346813033e-09, + 1.1803247597373334e-09, + 1.1416912042979035e-09, + 1.1028039744845722e-09, + 1.0638266278564153e-09, + 1.0249121516175966e-09, + 9.862023491208266e-10, + 9.478274341810129e-10, + 9.0990581743248e-10, + 8.725440666795164e-10, + 8.35837021709917e-10, + 7.998680432980791e-10, + 7.647093760195218e-10, + 7.304226049366135e-10, + 6.970591870915242e-10, + 6.646610399590977e-10, + 6.332611704700363e-10, + 6.028843298380955e-10, + 5.735476811267349e-10, + 5.45261468219011e-10, + 5.180296765512656e-10, + 4.91850677595799e-10, + 4.667178506043882e-10, + 4.4262017652600463e-10, + 4.195428002802021e-10, + 3.9746755869393244e-10, + 3.7637347239305994e-10, + 3.5623720078253554e-10, + 3.370334599653061e-10, + 3.1873540403334865e-10, + 3.013149706444602e-10, + 2.8474319217099666e-10, + 2.689904739890799e-10, + 2.5402684168603706e-10, + 2.3982215909824845e-10, + 2.2634631917527849e-10, + 2.1356940969750437e-10, + 2.0146185587064517e-10, + 1.8999454178253084e-10, + 1.7913891264712579e-10, + 1.6886705968157123e-10, + 1.5915178936777813e-10, + 1.4996667875081432e-10, + 1.4128611831528881e-10, + 1.330853438745011e-10, + 1.253404587942034e-10, + 1.1802844776577997e-10 + ], + "ion_capacity_m3": [ + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22 + ], + "ion_diffusion_m2_s": [ + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "ion_flux_enabled": true, + "ion_thermal_voltage_V": 0.025851999786435535, + "model": "one_positive_ion_steric_diffusion_only", + "positive_nodes": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30, + 31, + 32, + 33, + 34, + 35, + 36, + 37, + 38, + 39, + 40, + 41, + 42, + 43, + 44, + 45, + 46, + 47, + 48, + 49, + 50, + 51, + 52, + 53, + 54, + 55, + 56, + 57, + 58, + 59, + 60, + 61, + 62, + 63, + 64, + 65, + 66, + 67, + 68, + 69, + 70, + 71, + 72, + 73, + 74, + 75, + 76, + 77, + 78, + 79, + 80, + 81, + 82, + 83, + 84, + 85, + 86, + 87, + 88, + 89, + 90, + 91, + 92, + 93, + 94, + 95, + 96, + 97, + 98, + 99, + 100, + 101, + 102, + 103, + 104, + 105, + 106, + 107, + 108, + 109, + 110, + 111, + 112, + 113, + 114, + 115, + 116, + 117, + 118, + 119, + 120, + 121, + 122, + 123, + 124, + 125, + 126, + 127 + ], + "site_occupancy_ceiling": 0.999, + "static_sheet_charge_C_m2": [ + 0.0 + ], + "trace_jump_V": [ + 0.0 + ], + "trap_density_m2": [ + 500000000000000.0 + ] + }, + "fixed_inputs": { + "dqfn_V": { + "hi": [ + 0.0, + -1.8901340500861333e-06, + -3.902558937513848e-06, + -6.045196352696112e-06, + -8.326480145388024e-06, + -1.0755388874352827e-05, + -1.3341480269665542e-05, + -1.6094927687332266e-05, + -1.9026558618493338e-05, + -2.214789533320386e-05, + -2.5471197697935704e-05, + -2.900950821746303e-05, + -3.277669932584419e-05, + -3.6787522924879056e-05, + -4.1057662153846866e-05, + -4.560378533914904e-05, + -5.0443602018450266e-05, + -5.559592091154448e-05, + -6.108070964246497e-05, + -6.691915593958827e-05, + -7.313372998791264e-05, + -7.974824750320209e-05, + -8.67879329916689e-05, + -9.427948255340107e-05, + -0.00010225112544642406, + -0.00011073268347853113, + -0.00011975562714491416, + -0.0001293531272073289, + -0.00013956010028654046, + -0.00015041324673749422, + -0.0001619510789506093, + -0.0001742139379251929, + -0.00018724399577617102, + -0.0002010852415988355, + -0.0002157834479196498, + -0.00023138611477013638, + -0.0002479423883062877, + -0.0002655029507783411, + -0.00028411987866274315, + -0.0003038464658231863, + -0.00032473700874101883, + -0.0003468465511436452, + -0.0003702305857816007, + -0.00039494471167673105, + -0.0004210442458725499, + -0.00044858378962283057, + -0.00047761674993673217, + -0.000508194818613843, + -0.0005403674121207152, + -0.0005741810770671054, + -0.0006096788673863482, + -0.0006468997007289735, + -0.000685877702871083, + -0.0007266415501163765, + -0.000769213820652013, + -0.0008136103665515787, + -0.0008598397185543106, + -0.0009079025358513513, + -0.0009577911128602846, + -0.0010094889543441389, + -0.0010629704293024225, + -0.0011182005127484032, + -0.0011751346230012276, + -0.0012337185603360115, + -0.0012938885509859296, + -0.0013555713985134291, + -0.0014186847426401056, + -0.001483137423691966, + -0.0015488299490440786, + -0.0016156550562739082, + -0.0016834983662524167, + -0.0017522391180540488, + -0.0018217509764551088, + -0.0018919029017781756, + -0.0019625600710675047, + -0.0020335848388936227, + -0.002104837725612896, + -0.002176178420553107, + -0.002247466787419155, + -0.0023185638592046975, + -0.002389332810073223, + -0.0024596398920536202, + -0.002529355324971166, + -0.0025983541288680393, + -0.00266651688914645, + -0.0027337304459301745, + -0.002799888500511171, + -0.002864892133324798, + -0.002928650229525011, + -0.00299107980999234, + -0.0030521062672974127, + -0.0031116635078631337, + -0.0031696940031445066, + -0.0032261487541222498, + -0.003280987174686054, + -0.0033341769005594464, + -0.003385693531289167, + -0.0034355203134375863, + -0.003483647773514528, + -0.0035300733093381544, + -0.003574800748496333, + -0.0036178398823187427, + -0.0036592059834031814, + -0.0036989193142072125, + -0.0037370046335813345, + -0.0037734907074449217, + -0.0038084098290297004, + -0.003841797353378908, + -0.003873691250002338, + -0.00390413167687388, + -0.003933160578221014, + -0.003960821307922951, + -0.003987158279720379, + -0.004012216644908464, + -0.0040360419976942265, + -0.004058680108028002, + -0.004080176681317806, + -0.0041005771442074995, + -0.004119926455335466, + -0.004138268939831955, + -0.0041556481461818, + -0.004172106723993911, + -0.004187686321169582, + -0.004202427498943154, + -0.004216369663276267, + -0.004229551011115692, + -0.004242008490070835, + -0.004253777770126019, + -0.004331910608531038, + -0.004332159477878152, + -0.004332424433885735, + -0.004332706517749691, + -0.0043330068380913545, + -0.004333326575296789, + -0.0043336669861316025, + -0.004334029408636559, + -0.004334415267325064, + -0.0043348260786980125, + -0.0043352634570816406, + -0.004335729120821447, + -0.004336224898824275, + -0.0043367527374803885, + -0.0043373147079686794, + -0.004337913013956332, + -0.0043385499997079585, + -0.004339228158601334, + -0.004339950142058909, + -0.004340718768890047, + -0.004341537035040585, + -0.004342408123722731, + -0.004343335415930527, + -0.0043443225012715575, + -0.004345373189102254, + -0.004346491519896884, + -0.004347681776773898, + -0.004348948497092937, + -0.0043502964840056455, + -0.0043517308178216045, + -0.004353256867021978, + -0.0043548802987215356, + -0.004356607088343686, + -0.004358443528236918, + -0.004360396234909214, + -0.004362472154522735, + -0.004364678566239254, + -0.004367023082937004, + -0.0043695136488046665, + -0.004372158533226563, + -0.004374966320351157, + -0.004377945893680908, + -0.004381106414975357, + -0.00438445729675683, + -0.004388008167668852, + -0.0043917688299569555, + -0.00439574920838424, + -0.0043999592899291165, + -0.004404409053716697, + -0.004409108390777323, + -0.004414067013368882, + -0.004419294353838495, + -0.004424799453246127, + -0.004430590840279404, + -0.004436676401332112, + -0.004443063242996454, + -0.004449757548621234, + -0.004456764431001747, + -0.004464087783675893, + -0.004471730133690363, + -0.004479692499029584, + -0.004487974254199631, + -0.004496573007613834, + -0.004505484494527871, + -0.0045147024892081625, + -0.004524218739833796, + -0.004534022929282087, + -0.0045441026644901785, + -0.004554443496434606, + -0.0045650289720608065, + -0.004575840718641637, + -0.004586858560166933, + -0.004598060664441996, + -0.0046094237186647125, + -0.0046209231304218615, + -0.004632533250273546, + -0.004644227611501088, + -0.004655979182095756, + -0.004667760623802891, + -0.004679544552899308, + -0.00469130379749736, + -0.004703011646360482, + -0.004714642084673995, + -0.004726170012711152, + -0.004737571443985028, + -0.004748823680176512, + -0.004759905460868997, + -0.004770797086865021, + -0.004781480516580453, + -0.004791939435687203, + -0.004802159300770696, + -0.004812127358302429, + -0.004821832640651742, + -0.004831265941189284, + -0.004840419770786607, + -0.00484928829815588, + -0.004857867276545899, + -0.004866153959289379, + -0.004874147006650176, + -0.004881846386265168, + -0.004889253269337845, + -0.004896369924536587, + -0.004903199611343973, + -0.004909746474383098, + -0.0049160154400251285, + -0.004922012116364644, + -0.004927742697445423, + -0.00493321387241234, + -0.004938432740115749, + -0.0049434067294908506, + -0.0049481435259470805, + -0.004952651003820281, + -0.004956937164905712, + -0.0049610100829222, + -0.004964877853771831, + -0.004968548551335023, + -0.004972030188543192, + -0.004975330683411678, + -0.004978457829727678, + -0.004981419272036213, + -0.004984222484600655, + -0.004986874753997836, + -0.004989383165012579, + -0.004991754589515856, + -0.0049939956780280905, + -0.004996112853663287, + -0.004998112308197679, + -0.004999999999999893 + ], + "lo": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + }, + "dqfp_V": { + "hi": [ + 0.0, + 1.4118321297055634e-06, + 2.907287796608482e-06, + 4.490836803747463e-06, + 6.167127032992367e-06, + 7.940983656455448e-06, + 9.81740709715633e-06, + 1.1801569572780038e-05, + 1.3898810045816463e-05, + 1.611462739367033e-05, + 1.845467160387177e-05, + 2.0924732792737834e-05, + 2.353072784125375e-05, + 2.627868444009614e-05, + 2.9174722337246033e-05, + 3.222503158718652e-05, + 3.5435847610075954e-05, + 3.881342289213125e-05, + 4.236399515552762e-05, + 4.609375190468294e-05, + 5.000879123001348e-05, + 5.411507884447135e-05, + 5.841840135633439e-05, + 6.292431585060996e-05, + 6.763809592107363e-05, + 7.25646743739837e-05, + 7.770858291133806e-05, + 8.307388919426925e-05, + 8.866413179319577e-05, + 9.448225360877432e-05, + 0.00010053053450069352, + 0.00010681052390056375, + 0.00011332297433113437, + 0.00012006777681672015, + 0.00012704389925180474, + 0.00013424932885249086, + 0.00014168101985386256, + 0.0001493348476310787, + 0.00015720557041015197, + 0.00016528679969365055, + 0.0001735709804547779, + 0.00018204938205906043, + 0.00019071210071720053, + 0.00019954807416421028, + 0.0002085451090147277, + 0.00021768992109945135, + 0.000226968188821711, + 0.0002363646194052494, + 0.00024586302761391026, + 0.00025544642634974966, + 0.0002650971282962175, + 0.0002747968575789113, + 0.00028452687023189285, + 0.0002942680820945042, + 0.00030400120262304777, + 0.00031370687298478285, + 0.00032336580670892714, + 0.00033295893110106924, + 0.0003424675275838497, + 0.0003518733691086141, + 0.0003611588527910854, + 0.000370307125960585, + 0.0003793022038790991, + 0.0003881290774857577, + 0.00039677380965527723, + 0.00040522361863576877, + 0.00041346694751217454, + 0.0004214935188313695, + 0.0004292943737334487, + 0.00043686189527880967, + 0.00044418981594772784, + 0.0004512732096148934, + 0.0004581084686146854, + 0.00046469326680998726, + 0.0004710265098545899, + 0.00047710827404623776, + 0.00048293973540208454, + 0.000488523090657134, + 0.000493861472017576, + 0.0004989588574758402, + 0.0005038199784972653, + 0.0005084502267645929, + 0.0005128555615759217, + 0.0005170424192927046, + 0.0005210176260800535, + 0.0005247883149616411, + 0.0005283618480104197, + 0.000531745744290483, + 0.0005349476139696514, + 0.0005379750988414821, + 0.0005408358193334772, + 0.0005435373279370235, + 0.0005460870688842011, + 0.000548492343777216, + 0.0005507602828535418, + 0.0005528978214558466, + 0.0005549116812921666, + 0.0005568083560296612, + 0.0005585941007687425, + 0.0005602749249509171, + 0.0005618565882698426, + 0.0005633445991777927, + 0.0005647442156070082, + 0.000566060447555616, + 0.0005672980612195095, + 0.0005684615843836829, + 0.0005695553128180776, + 0.0005705833174533798, + 0.0005715494521409037, + 0.0005724573618273807, + 0.000573310490999977, + 0.0005741120922790654, + 0.0005748652350562216, + 0.0005755728140926146, + 0.0005762375580085664, + 0.0005768620376086656, + 0.0005774486739986178, + 0.0005779997464601362, + 0.0005785174000588109, + 0.0005790036529671916, + 0.0005794604034914261, + 0.0005798894367948772, + 0.0005802924313163137, + 0.000580670964883663, + 0.0005810265205270375, + 0.0005813604919968972, + 0.0005816741889948863, + 0.0005819688421261336, + 0.0006745529464549983, + 0.0006884948345393128, + 0.0007032505548269888, + 0.0007188620322603771, + 0.0007353726438232545, + 0.0007528271745530491, + 0.000771271757652996, + 0.0007907537968359391, + 0.0008113218689247106, + 0.0008330256046881204, + 0.0008559155457910584, + 0.0008800429757692485, + 0.0009054597228610936, + 0.0009322179326547414, + 0.0009603698085477074, + 0.0009899673181886204, + 0.0010210618643023198, + 0.0010537039185664475, + 0.0010879426176221565, + 0.0011238253207612745, + 0.0011613971294199162, + 0.0012007003692980555, + 0.0012417740367284059, + 0.0012846532118358958, + 0.0013293684420587087, + 0.0013759451007355503, + 0.0014244027266888909, + 0.0014747543520309638, + 0.0015270058267620123, + 0.0015811551500840607, + 0.001637191819685352, + 0.0016950962114716185, + 0.0017548390033804476, + 0.0018163806577649651, + 0.0018796709775389863, + 0.0019446487515436765, + 0.0020112415045720248, + 0.002079365366884854, + 0.002148925077051445, + 0.002219814130324311, + 0.0022919150825987137, + 0.002365100017277432, + 0.002439231179099456, + 0.0025141617752566883, + 0.0025897369400061233, + 0.0026657948546058904, + 0.002742168009909636, + 0.002818684594513551, + 0.002895169987148231, + 0.0029714483282329393, + 0.0030473441423474502, + 0.0031226839809955003, + 0.003197298053573632, + 0.0032710218140324944, + 0.003343697471340549, + 0.0034151753936438605, + 0.003485315378722669, + 0.0035539877670955587, + 0.003621074378575632, + 0.003686469258154332, + 0.0037500792225162644, + 0.003811824204045897, + 0.003871637394637474, + 0.003929465196740845, + 0.003985266993672949, + 0.004039014755138823, + 0.0040906924970232125, + 0.004140295616767524, + 0.00418783012701841, + 0.004233311810749072, + 0.0042767653207858945, + 0.004318223245677347, + 0.004357725162343154, + 0.004395316693882386, + 0.004431048588665661, + 0.004464975834292302, + 0.004497156817489802, + 0.0045276525384468245, + 0.004556525885728972, + 0.00458384097566719, + 0.004609662558191397, + 0.0046340554893085605, + 0.004657084269038746, + 0.004678812642444701, + 0.004699303260474748, + 0.004718617396731557, + 0.004736814715776834, + 0.004753953088387444, + 0.004770088449035925, + 0.0047852746909610635, + 0.00479956359427705, + 0.004813004782810501, + 0.004825645705650312, + 0.004837531639646923, + 0.004848705709473062, + 0.00485920892216593, + 0.00486908021341545, + 0.0048783565031570416, + 0.004887072758380135, + 0.0048952620612843336, + 0.004902955681224971, + 0.004910183149101554, + 0.004916972333062253, + 0.004923349514586026, + 0.004929339464170977, + 0.004934965516002587, + 0.0049402496411092975, + 0.004945212518597007, + 0.004949873604696801, + 0.004954251199376886, + 0.0049583625103856496, + 0.0049622237146220655, + 0.004965850016789473, + 0.004969255705300034, + 0.004972454205476933, + 0.0049754581300630665, + 0.004978279327113338, + 0.004980928925337082, + 0.004983417376974903, + 0.004985754498300861, + 0.004987949507846033, + 0.004990011062442465, + 0.004991947291187893, + 0.004993765827431644, + 0.004995473838881012, + 0.004997078055925641, + 0.004998584798273957, + 0.004999999999999893 + ], + "lo": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + }, + "occupancy": { + "hi": [ + 7.928286662266792e-05 + ], + "lo": [ + 0.0 + ] + }, + "positive_m3": { + "hi": [ + 5.977186525286279e+21, + 5.987460007753037e+21, + 5.998488484258728e+21, + 6.010310264112843e+21, + 6.02295155508169e+21, + 6.036431502525846e+21, + 6.050770215019191e+21, + 6.065995110631512e+21, + 6.082142946565253e+21, + 6.099258416399036e+21, + 6.117391722215327e+21, + 6.136596726374028e+21, + 6.156929989220601e+21, + 6.178450379949409e+21, + 6.201218930563841e+21, + 6.225298756958379e+21, + 6.250754980906184e+21, + 6.277654632626911e+21, + 6.30606652735307e+21, + 6.33606111245024e+21, + 6.367710282210317e+21, + 6.40108715754746e+21, + 6.436265827930199e+21, + 6.473321053053797e+21, + 6.512327922022944e+21, + 6.553361468191838e+21, + 6.596496238314206e+21, + 6.641805815290635e+21, + 6.689362294602375e+21, + 6.739235715462358e+21, + 6.791493448839745e+21, + 6.846199545775395e+21, + 6.903414050837689e+21, + 6.963192287107951e+21, + 7.025584120719866e+21, + 7.090633214663969e+21, + 7.158376283225317e+21, + 7.228842359990207e+21, + 7.302052093742109e+21, + 7.378017087668262e+21, + 7.456739298005422e+21, + 7.538210508465925e+21, + 7.622411896400223e+21, + 7.709313705587109e+21, + 7.798875038725256e+21, + 7.891043780128301e+21, + 7.985756655806787e+21, + 8.082939434127079e+21, + 8.182507265707303e+21, + 8.28436515633645e+21, + 8.388408561703142e+21, + 8.494524087921622e+21, + 8.602590277491645e+21, + 8.71247845678911e+21, + 8.824053618737091e+21, + 8.93717531314506e+21, + 9.051698517575227e+21, + 9.167474463503364e+21, + 9.284351395993926e+21, + 9.402175249911998e+21, + 9.520790231652472e+21, + 9.64003930201559e+21, + 9.75976456285603e+21, + 9.879807556957707e+21, + 1.0000009496742756e+22, + 1.0120211442506295e+22, + 1.0240254454481132e+22, + 1.0359979744900833e+22, + 1.047922885624123e+22, + 1.059784388993395e+22, + 1.0715667806249642e+22, + 1.083254481095799e+22, + 1.0948320838216122e+22, + 1.1062844132309456e+22, + 1.1175965923879439e+22, + 1.1287541189613787e+22, + 1.1397429478420252e+22, + 1.1505495782310178e+22, + 1.1611611426750888e+22, + 1.171565495334781e+22, + 1.1817512967349794e+22, + 1.1917080923618465e+22, + 1.2014263827162779e+22, + 1.2108976827874121e+22, + 1.2201145693453467e+22, + 1.2290707149307509e+22, + 1.237760907921392e+22, + 1.2461810585399055e+22, + 1.254328191123728e+22, + 1.2622004233737987e+22, + 1.2697969336334724e+22, + 1.277117917504197e+22, + 1.2841645352879686e+22, + 1.2909388518513657e+22, + 1.2974437705457125e+22, + 1.3036829627962016e+22, + 1.3096607949021736e+22, + 1.3153822534803235e+22, + 1.3208528708446903e+22, + 1.3260786514602668e+22, + 1.3310660004411091e+22, + 1.3358216548955204e+22, + 1.3403526187573672e+22, + 1.3446661015881346e+22, + 1.3487694616918737e+22, + 1.3526701537582744e+22, + 1.3563756811373087e+22, + 1.359893552753959e+22, + 1.3632312445921357e+22, + 1.3663961656125611e+22, + 1.3693956279178906e+22, + 1.3722368209324324e+22, + 1.3749267892954838e+22, + 1.3774724139741667e+22, + 1.3798803954938367e+22, + 1.3821572365903498e+22, + 1.3843092184927012e+22, + 1.3863423614073352e+22, + 1.388262360090195e+22, + 1.3900744968490684e+22, + 1.391783558860473e+22, + 1.393393810632555e+22, + 1.394909070193077e+22, + 1.396332896363125e+22, + 1.3976688356261385e+22, + 1.3989206424365201e+22, + 1.4000924002964702e+22, + 1.401188519018053e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22 + ], + "lo": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + } + }, + "poisson_inputs": { + "fixed_inputs": { + "dqfn_V": { + "hi": [ + 0.0, + -1.8901340500861333e-06, + -3.902558937513848e-06, + -6.045196352696112e-06, + -8.326480145388024e-06, + -1.0755388874352827e-05, + -1.3341480269665542e-05, + -1.6094927687332266e-05, + -1.9026558618493338e-05, + -2.214789533320386e-05, + -2.5471197697935704e-05, + -2.900950821746303e-05, + -3.277669932584419e-05, + -3.6787522924879056e-05, + -4.1057662153846866e-05, + -4.560378533914904e-05, + -5.0443602018450266e-05, + -5.559592091154448e-05, + -6.108070964246497e-05, + -6.691915593958827e-05, + -7.313372998791264e-05, + -7.974824750320209e-05, + -8.67879329916689e-05, + -9.427948255340107e-05, + -0.00010225112544642406, + -0.00011073268347853113, + -0.00011975562714491416, + -0.0001293531272073289, + -0.00013956010028654046, + -0.00015041324673749422, + -0.0001619510789506093, + -0.0001742139379251929, + -0.00018724399577617102, + -0.0002010852415988355, + -0.0002157834479196498, + -0.00023138611477013638, + -0.0002479423883062877, + -0.0002655029507783411, + -0.00028411987866274315, + -0.0003038464658231863, + -0.00032473700874101883, + -0.0003468465511436452, + -0.0003702305857816007, + -0.00039494471167673105, + -0.0004210442458725499, + -0.00044858378962283057, + -0.00047761674993673217, + -0.000508194818613843, + -0.0005403674121207152, + -0.0005741810770671054, + -0.0006096788673863482, + -0.0006468997007289735, + -0.000685877702871083, + -0.0007266415501163765, + -0.000769213820652013, + -0.0008136103665515787, + -0.0008598397185543106, + -0.0009079025358513513, + -0.0009577911128602846, + -0.0010094889543441389, + -0.0010629704293024225, + -0.0011182005127484032, + -0.0011751346230012276, + -0.0012337185603360115, + -0.0012938885509859296, + -0.0013555713985134291, + -0.0014186847426401056, + -0.001483137423691966, + -0.0015488299490440786, + -0.0016156550562739082, + -0.0016834983662524167, + -0.0017522391180540488, + -0.0018217509764551088, + -0.0018919029017781756, + -0.0019625600710675047, + -0.0020335848388936227, + -0.002104837725612896, + -0.002176178420553107, + -0.002247466787419155, + -0.0023185638592046975, + -0.002389332810073223, + -0.0024596398920536202, + -0.002529355324971166, + -0.0025983541288680393, + -0.00266651688914645, + -0.0027337304459301745, + -0.002799888500511171, + -0.002864892133324798, + -0.002928650229525011, + -0.00299107980999234, + -0.0030521062672974127, + -0.0031116635078631337, + -0.0031696940031445066, + -0.0032261487541222498, + -0.003280987174686054, + -0.0033341769005594464, + -0.003385693531289167, + -0.0034355203134375863, + -0.003483647773514528, + -0.0035300733093381544, + -0.003574800748496333, + -0.0036178398823187427, + -0.0036592059834031814, + -0.0036989193142072125, + -0.0037370046335813345, + -0.0037734907074449217, + -0.0038084098290297004, + -0.003841797353378908, + -0.003873691250002338, + -0.00390413167687388, + -0.003933160578221014, + -0.003960821307922951, + -0.003987158279720379, + -0.004012216644908464, + -0.0040360419976942265, + -0.004058680108028002, + -0.004080176681317806, + -0.0041005771442074995, + -0.004119926455335466, + -0.004138268939831955, + -0.0041556481461818, + -0.004172106723993911, + -0.004187686321169582, + -0.004202427498943154, + -0.004216369663276267, + -0.004229551011115692, + -0.004242008490070835, + -0.004253777770126019, + -0.004331910608531038, + -0.004332159477878152, + -0.004332424433885735, + -0.004332706517749691, + -0.0043330068380913545, + -0.004333326575296789, + -0.0043336669861316025, + -0.004334029408636559, + -0.004334415267325064, + -0.0043348260786980125, + -0.0043352634570816406, + -0.004335729120821447, + -0.004336224898824275, + -0.0043367527374803885, + -0.0043373147079686794, + -0.004337913013956332, + -0.0043385499997079585, + -0.004339228158601334, + -0.004339950142058909, + -0.004340718768890047, + -0.004341537035040585, + -0.004342408123722731, + -0.004343335415930527, + -0.0043443225012715575, + -0.004345373189102254, + -0.004346491519896884, + -0.004347681776773898, + -0.004348948497092937, + -0.0043502964840056455, + -0.0043517308178216045, + -0.004353256867021978, + -0.0043548802987215356, + -0.004356607088343686, + -0.004358443528236918, + -0.004360396234909214, + -0.004362472154522735, + -0.004364678566239254, + -0.004367023082937004, + -0.0043695136488046665, + -0.004372158533226563, + -0.004374966320351157, + -0.004377945893680908, + -0.004381106414975357, + -0.00438445729675683, + -0.004388008167668852, + -0.0043917688299569555, + -0.00439574920838424, + -0.0043999592899291165, + -0.004404409053716697, + -0.004409108390777323, + -0.004414067013368882, + -0.004419294353838495, + -0.004424799453246127, + -0.004430590840279404, + -0.004436676401332112, + -0.004443063242996454, + -0.004449757548621234, + -0.004456764431001747, + -0.004464087783675893, + -0.004471730133690363, + -0.004479692499029584, + -0.004487974254199631, + -0.004496573007613834, + -0.004505484494527871, + -0.0045147024892081625, + -0.004524218739833796, + -0.004534022929282087, + -0.0045441026644901785, + -0.004554443496434606, + -0.0045650289720608065, + -0.004575840718641637, + -0.004586858560166933, + -0.004598060664441996, + -0.0046094237186647125, + -0.0046209231304218615, + -0.004632533250273546, + -0.004644227611501088, + -0.004655979182095756, + -0.004667760623802891, + -0.004679544552899308, + -0.00469130379749736, + -0.004703011646360482, + -0.004714642084673995, + -0.004726170012711152, + -0.004737571443985028, + -0.004748823680176512, + -0.004759905460868997, + -0.004770797086865021, + -0.004781480516580453, + -0.004791939435687203, + -0.004802159300770696, + -0.004812127358302429, + -0.004821832640651742, + -0.004831265941189284, + -0.004840419770786607, + -0.00484928829815588, + -0.004857867276545899, + -0.004866153959289379, + -0.004874147006650176, + -0.004881846386265168, + -0.004889253269337845, + -0.004896369924536587, + -0.004903199611343973, + -0.004909746474383098, + -0.0049160154400251285, + -0.004922012116364644, + -0.004927742697445423, + -0.00493321387241234, + -0.004938432740115749, + -0.0049434067294908506, + -0.0049481435259470805, + -0.004952651003820281, + -0.004956937164905712, + -0.0049610100829222, + -0.004964877853771831, + -0.004968548551335023, + -0.004972030188543192, + -0.004975330683411678, + -0.004978457829727678, + -0.004981419272036213, + -0.004984222484600655, + -0.004986874753997836, + -0.004989383165012579, + -0.004991754589515856, + -0.0049939956780280905, + -0.004996112853663287, + -0.004998112308197679, + -0.004999999999999893 + ], + "lo": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + }, + "dqfp_V": { + "hi": [ + 0.0, + 1.4118321297055634e-06, + 2.907287796608482e-06, + 4.490836803747463e-06, + 6.167127032992367e-06, + 7.940983656455448e-06, + 9.81740709715633e-06, + 1.1801569572780038e-05, + 1.3898810045816463e-05, + 1.611462739367033e-05, + 1.845467160387177e-05, + 2.0924732792737834e-05, + 2.353072784125375e-05, + 2.627868444009614e-05, + 2.9174722337246033e-05, + 3.222503158718652e-05, + 3.5435847610075954e-05, + 3.881342289213125e-05, + 4.236399515552762e-05, + 4.609375190468294e-05, + 5.000879123001348e-05, + 5.411507884447135e-05, + 5.841840135633439e-05, + 6.292431585060996e-05, + 6.763809592107363e-05, + 7.25646743739837e-05, + 7.770858291133806e-05, + 8.307388919426925e-05, + 8.866413179319577e-05, + 9.448225360877432e-05, + 0.00010053053450069352, + 0.00010681052390056375, + 0.00011332297433113437, + 0.00012006777681672015, + 0.00012704389925180474, + 0.00013424932885249086, + 0.00014168101985386256, + 0.0001493348476310787, + 0.00015720557041015197, + 0.00016528679969365055, + 0.0001735709804547779, + 0.00018204938205906043, + 0.00019071210071720053, + 0.00019954807416421028, + 0.0002085451090147277, + 0.00021768992109945135, + 0.000226968188821711, + 0.0002363646194052494, + 0.00024586302761391026, + 0.00025544642634974966, + 0.0002650971282962175, + 0.0002747968575789113, + 0.00028452687023189285, + 0.0002942680820945042, + 0.00030400120262304777, + 0.00031370687298478285, + 0.00032336580670892714, + 0.00033295893110106924, + 0.0003424675275838497, + 0.0003518733691086141, + 0.0003611588527910854, + 0.000370307125960585, + 0.0003793022038790991, + 0.0003881290774857577, + 0.00039677380965527723, + 0.00040522361863576877, + 0.00041346694751217454, + 0.0004214935188313695, + 0.0004292943737334487, + 0.00043686189527880967, + 0.00044418981594772784, + 0.0004512732096148934, + 0.0004581084686146854, + 0.00046469326680998726, + 0.0004710265098545899, + 0.00047710827404623776, + 0.00048293973540208454, + 0.000488523090657134, + 0.000493861472017576, + 0.0004989588574758402, + 0.0005038199784972653, + 0.0005084502267645929, + 0.0005128555615759217, + 0.0005170424192927046, + 0.0005210176260800535, + 0.0005247883149616411, + 0.0005283618480104197, + 0.000531745744290483, + 0.0005349476139696514, + 0.0005379750988414821, + 0.0005408358193334772, + 0.0005435373279370235, + 0.0005460870688842011, + 0.000548492343777216, + 0.0005507602828535418, + 0.0005528978214558466, + 0.0005549116812921666, + 0.0005568083560296612, + 0.0005585941007687425, + 0.0005602749249509171, + 0.0005618565882698426, + 0.0005633445991777927, + 0.0005647442156070082, + 0.000566060447555616, + 0.0005672980612195095, + 0.0005684615843836829, + 0.0005695553128180776, + 0.0005705833174533798, + 0.0005715494521409037, + 0.0005724573618273807, + 0.000573310490999977, + 0.0005741120922790654, + 0.0005748652350562216, + 0.0005755728140926146, + 0.0005762375580085664, + 0.0005768620376086656, + 0.0005774486739986178, + 0.0005779997464601362, + 0.0005785174000588109, + 0.0005790036529671916, + 0.0005794604034914261, + 0.0005798894367948772, + 0.0005802924313163137, + 0.000580670964883663, + 0.0005810265205270375, + 0.0005813604919968972, + 0.0005816741889948863, + 0.0005819688421261336, + 0.0006745529464549983, + 0.0006884948345393128, + 0.0007032505548269888, + 0.0007188620322603771, + 0.0007353726438232545, + 0.0007528271745530491, + 0.000771271757652996, + 0.0007907537968359391, + 0.0008113218689247106, + 0.0008330256046881204, + 0.0008559155457910584, + 0.0008800429757692485, + 0.0009054597228610936, + 0.0009322179326547414, + 0.0009603698085477074, + 0.0009899673181886204, + 0.0010210618643023198, + 0.0010537039185664475, + 0.0010879426176221565, + 0.0011238253207612745, + 0.0011613971294199162, + 0.0012007003692980555, + 0.0012417740367284059, + 0.0012846532118358958, + 0.0013293684420587087, + 0.0013759451007355503, + 0.0014244027266888909, + 0.0014747543520309638, + 0.0015270058267620123, + 0.0015811551500840607, + 0.001637191819685352, + 0.0016950962114716185, + 0.0017548390033804476, + 0.0018163806577649651, + 0.0018796709775389863, + 0.0019446487515436765, + 0.0020112415045720248, + 0.002079365366884854, + 0.002148925077051445, + 0.002219814130324311, + 0.0022919150825987137, + 0.002365100017277432, + 0.002439231179099456, + 0.0025141617752566883, + 0.0025897369400061233, + 0.0026657948546058904, + 0.002742168009909636, + 0.002818684594513551, + 0.002895169987148231, + 0.0029714483282329393, + 0.0030473441423474502, + 0.0031226839809955003, + 0.003197298053573632, + 0.0032710218140324944, + 0.003343697471340549, + 0.0034151753936438605, + 0.003485315378722669, + 0.0035539877670955587, + 0.003621074378575632, + 0.003686469258154332, + 0.0037500792225162644, + 0.003811824204045897, + 0.003871637394637474, + 0.003929465196740845, + 0.003985266993672949, + 0.004039014755138823, + 0.0040906924970232125, + 0.004140295616767524, + 0.00418783012701841, + 0.004233311810749072, + 0.0042767653207858945, + 0.004318223245677347, + 0.004357725162343154, + 0.004395316693882386, + 0.004431048588665661, + 0.004464975834292302, + 0.004497156817489802, + 0.0045276525384468245, + 0.004556525885728972, + 0.00458384097566719, + 0.004609662558191397, + 0.0046340554893085605, + 0.004657084269038746, + 0.004678812642444701, + 0.004699303260474748, + 0.004718617396731557, + 0.004736814715776834, + 0.004753953088387444, + 0.004770088449035925, + 0.0047852746909610635, + 0.00479956359427705, + 0.004813004782810501, + 0.004825645705650312, + 0.004837531639646923, + 0.004848705709473062, + 0.00485920892216593, + 0.00486908021341545, + 0.0048783565031570416, + 0.004887072758380135, + 0.0048952620612843336, + 0.004902955681224971, + 0.004910183149101554, + 0.004916972333062253, + 0.004923349514586026, + 0.004929339464170977, + 0.004934965516002587, + 0.0049402496411092975, + 0.004945212518597007, + 0.004949873604696801, + 0.004954251199376886, + 0.0049583625103856496, + 0.0049622237146220655, + 0.004965850016789473, + 0.004969255705300034, + 0.004972454205476933, + 0.0049754581300630665, + 0.004978279327113338, + 0.004980928925337082, + 0.004983417376974903, + 0.004985754498300861, + 0.004987949507846033, + 0.004990011062442465, + 0.004991947291187893, + 0.004993765827431644, + 0.004995473838881012, + 0.004997078055925641, + 0.004998584798273957, + 0.004999999999999893 + ], + "lo": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + }, + "occupancy": { + "hi": [ + 7.928286662266792e-05 + ], + "lo": [ + 0.0 + ] + }, + "positive_m3": { + "hi": [ + 5.977186525286279e+21, + 5.987460007753037e+21, + 5.998488484258728e+21, + 6.010310264112843e+21, + 6.02295155508169e+21, + 6.036431502525846e+21, + 6.050770215019191e+21, + 6.065995110631512e+21, + 6.082142946565253e+21, + 6.099258416399036e+21, + 6.117391722215327e+21, + 6.136596726374028e+21, + 6.156929989220601e+21, + 6.178450379949409e+21, + 6.201218930563841e+21, + 6.225298756958379e+21, + 6.250754980906184e+21, + 6.277654632626911e+21, + 6.30606652735307e+21, + 6.33606111245024e+21, + 6.367710282210317e+21, + 6.40108715754746e+21, + 6.436265827930199e+21, + 6.473321053053797e+21, + 6.512327922022944e+21, + 6.553361468191838e+21, + 6.596496238314206e+21, + 6.641805815290635e+21, + 6.689362294602375e+21, + 6.739235715462358e+21, + 6.791493448839745e+21, + 6.846199545775395e+21, + 6.903414050837689e+21, + 6.963192287107951e+21, + 7.025584120719866e+21, + 7.090633214663969e+21, + 7.158376283225317e+21, + 7.228842359990207e+21, + 7.302052093742109e+21, + 7.378017087668262e+21, + 7.456739298005422e+21, + 7.538210508465925e+21, + 7.622411896400223e+21, + 7.709313705587109e+21, + 7.798875038725256e+21, + 7.891043780128301e+21, + 7.985756655806787e+21, + 8.082939434127079e+21, + 8.182507265707303e+21, + 8.28436515633645e+21, + 8.388408561703142e+21, + 8.494524087921622e+21, + 8.602590277491645e+21, + 8.71247845678911e+21, + 8.824053618737091e+21, + 8.93717531314506e+21, + 9.051698517575227e+21, + 9.167474463503364e+21, + 9.284351395993926e+21, + 9.402175249911998e+21, + 9.520790231652472e+21, + 9.64003930201559e+21, + 9.75976456285603e+21, + 9.879807556957707e+21, + 1.0000009496742756e+22, + 1.0120211442506295e+22, + 1.0240254454481132e+22, + 1.0359979744900833e+22, + 1.047922885624123e+22, + 1.059784388993395e+22, + 1.0715667806249642e+22, + 1.083254481095799e+22, + 1.0948320838216122e+22, + 1.1062844132309456e+22, + 1.1175965923879439e+22, + 1.1287541189613787e+22, + 1.1397429478420252e+22, + 1.1505495782310178e+22, + 1.1611611426750888e+22, + 1.171565495334781e+22, + 1.1817512967349794e+22, + 1.1917080923618465e+22, + 1.2014263827162779e+22, + 1.2108976827874121e+22, + 1.2201145693453467e+22, + 1.2290707149307509e+22, + 1.237760907921392e+22, + 1.2461810585399055e+22, + 1.254328191123728e+22, + 1.2622004233737987e+22, + 1.2697969336334724e+22, + 1.277117917504197e+22, + 1.2841645352879686e+22, + 1.2909388518513657e+22, + 1.2974437705457125e+22, + 1.3036829627962016e+22, + 1.3096607949021736e+22, + 1.3153822534803235e+22, + 1.3208528708446903e+22, + 1.3260786514602668e+22, + 1.3310660004411091e+22, + 1.3358216548955204e+22, + 1.3403526187573672e+22, + 1.3446661015881346e+22, + 1.3487694616918737e+22, + 1.3526701537582744e+22, + 1.3563756811373087e+22, + 1.359893552753959e+22, + 1.3632312445921357e+22, + 1.3663961656125611e+22, + 1.3693956279178906e+22, + 1.3722368209324324e+22, + 1.3749267892954838e+22, + 1.3774724139741667e+22, + 1.3798803954938367e+22, + 1.3821572365903498e+22, + 1.3843092184927012e+22, + 1.3863423614073352e+22, + 1.388262360090195e+22, + 1.3900744968490684e+22, + 1.391783558860473e+22, + 1.393393810632555e+22, + 1.394909070193077e+22, + 1.396332896363125e+22, + 1.3976688356261385e+22, + 1.3989206424365201e+22, + 1.4000924002964702e+22, + 1.401188519018053e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22 + ], + "lo": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + }, + "sheet_charge_C_m2": { + "hi": [ + -2.208027851236118e-13 + ], + "lo": [ + 1.1985200161844696e-30 + ] + } + }, + "preparation": { + "N_A_m3": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "N_D_m3": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "boundary_phi_V": [ + 0.0, + -0.09499999999999964 + ], + "contact_n_m3": [ + 2515095827087.2163, + 2515095827087.2163 + ], + "contact_p_m3": [ + 2515095827087.2163, + 2515095827087.2163 + ], + "interface_nodes": [ + [ + 127, + 128 + ] + ], + "ion_background_m3": [ + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22 + ], + "log_n0": [ + 28.553332020975937, + 28.551049248875955, + 28.54862505616859, + 28.54605107069591, + 28.543318475164, + 28.54041799009738, + 28.53733985705989, + 28.534073822305203, + 28.530609121044165, + 28.52693446254159, + 28.523038016282243, + 28.518907399476745, + 28.5145296662088, + 28.509891298560092, + 28.504978200084025, + 28.499775692037815, + 28.49426851281916, + 28.488440821094684, + 28.482276203145545, + 28.475757684993937, + 28.46886774991202, + 28.461588361949055, + 28.45390099614181, + 28.4457866760998, + 28.437226019673375, + 28.428199293421358, + 28.418686476592598, + 28.40866733531783, + 28.39812150767696, + 28.38702860025265, + 28.37536829670941, + 28.363120478837203, + 28.35026536037455, + 28.336783633769812, + 28.32265662985384, + 28.307866490177673, + 28.292396351515976, + 28.276230541751687, + 28.259354786040234, + 28.2417564218064, + 28.22342462075838, + 28.204350615717658, + 28.184527929669713, + 28.16395260404761, + 28.142623422883673, + 28.120542129114938, + 28.097713629022763, + 28.074146180544034, + 28.0498515610237, + 28.02484520990896, + 27.999146341922255, + 27.97277802641483, + 27.945767228897722, + 27.918144811185016, + 27.88994548716144, + 27.86120773190089, + 27.83197364270228, + 27.802288751555892, + 27.772201789584415, + 27.74176440508694, + 27.711030837918685, + 27.680057554022284, + 27.648902844955217, + 27.617626398184456, + 27.58628884471503, + 27.55495129124455, + 27.52367484447069, + 27.49252013539845, + 27.461546851494887, + 27.430813284317452, + 27.40037589980895, + 27.37028893782454, + 27.340604046663543, + 27.311369957448647, + 27.282632202170248, + 27.254432878127375, + 27.226810460394034, + 27.1997996628551, + 27.173431347324737, + 27.147732479314186, + 27.12272612817472, + 27.098431508629005, + 27.07486406012424, + 27.052035560005635, + 27.029954266210098, + 27.00862508501919, + 26.988049759369943, + 26.968227073294884, + 26.949153068227105, + 26.930821267152226, + 26.91322290289176, + 26.896347147154017, + 26.880181337363865, + 26.86471119867673, + 26.84992105897564, + 26.835794055035336, + 26.822312328406838, + 26.809457209921078, + 26.797209392026446, + 26.78554908846141, + 26.774456181016035, + 26.763910353354817, + 26.753891212060438, + 26.744378395212777, + 26.7353516689426, + 26.726791012498694, + 26.718676692439914, + 26.710989326616613, + 26.703709938638298, + 26.69682000354169, + 26.69030148537604, + 26.684136867413514, + 26.678309175676276, + 26.672801996445486, + 26.66759948838768, + 26.662686389900642, + 26.658048022241474, + 26.65367028896361, + 26.649539672148705, + 26.645643225880434, + 26.64196856736936, + 26.638503866100308, + 26.635237831338003, + 26.63215969829332, + 26.62925921321991, + 26.626526617681577, + 26.623952632202787, + 26.62152843948968, + 30.485135602462208, + 30.482711409749072, + 30.48013742427031, + 30.47740482873195, + 30.474504343658538, + 30.471426210613856, + 30.46816017585155, + 30.4646954745825, + 30.461020816071454, + 30.457124369803182, + 30.45299375298825, + 30.448616019710414, + 30.443977652051217, + 30.43906455356418, + 30.4338620455064, + 30.428354866275583, + 30.422527174538374, + 30.416362556575848, + 30.4098440384102, + 30.40295410331359, + 30.395674715335275, + 30.387987349511917, + 30.379873029453194, + 30.37131237300929, + 30.36228564673911, + 30.35277282989145, + 30.342753688597043, + 30.332207860935824, + 30.32111495349045, + 30.309454649925414, + 30.29720683203081, + 30.28435171354505, + 30.27086998691655, + 30.25674298297622, + 30.24195284327513, + 30.226482704587994, + 30.21031689479784, + 30.193441139060127, + 30.175842774799662, + 30.157510973724754, + 30.138436968657004, + 30.118614282581916, + 30.098038956932697, + 30.076709775741733, + 30.054628481946253, + 30.031799981827646, + 30.008232533322882, + 29.98393791377717, + 29.958931562637673, + 29.933232694627122, + 29.90686437909679, + 29.879853581557853, + 29.852231163824484, + 29.82403183978164, + 29.79529408450321, + 29.766059995288344, + 29.73637510412732, + 29.706288142142938, + 29.675850757634407, + 29.64511719045703, + 29.61414390655341, + 29.58298919748117, + 29.55171275070734, + 29.52037519723686, + 29.489037643767375, + 29.45776119699667, + 29.426606487929604, + 29.395633204033203, + 29.36489963686489, + 29.334462252367445, + 29.304375290395996, + 29.274690399249607, + 29.24545631005097, + 29.216718554790447, + 29.18851923076687, + 29.160896813054165, + 29.13388601553703, + 29.107517700029604, + 29.081818832042956, + 29.05681248092816, + 29.032517861407854, + 29.008950412929096, + 28.98612191283692, + 28.964040619068186, + 28.94271143790425, + 28.922136112282175, + 28.9023134262342, + 28.88323942119348, + 28.86490762014546, + 28.847309255911625, + 28.8304335002002, + 28.814267690435912, + 28.798797551774214, + 28.78400741209805, + 28.769880408182075, + 28.75639868157731, + 28.743543563114656, + 28.731295745242477, + 28.71963544169921, + 28.708542534274926, + 28.69799670663403, + 28.68797756535929, + 28.67846474853053, + 28.669438022278513, + 28.660877365852087, + 28.652763045810076, + 28.645075680002833, + 28.637796292039837, + 28.63090635695795, + 28.624387838806285, + 28.618223220857175, + 28.612395529132726, + 28.606888349914044, + 28.601685841867834, + 28.596772743391796, + 28.59213437574303, + 28.587756642475142, + 28.583626025669616, + 28.579729579410298, + 28.576054920907694, + 28.572590219646685, + 28.56932418489197, + 28.566246051854506, + 28.563345566787888, + 28.560612971255978, + 28.55803898578327, + 28.555614793075904, + 28.553332020975937 + ], + "log_p0": [ + 28.553332020975937, + 28.555614793075932, + 28.5580389857833, + 28.560612971255978, + 28.563345566787888, + 28.566246051854506, + 28.56932418489197, + 28.572590219646685, + 28.576054920907694, + 28.579729579410326, + 28.583626025669645, + 28.587756642475114, + 28.592134375743086, + 28.596772743391796, + 28.601685841867834, + 28.606888349914044, + 28.612395529132726, + 28.618223220857175, + 28.624387838806314, + 28.63090635695798, + 28.637796292039866, + 28.645075680002833, + 28.652763045810104, + 28.660877365852087, + 28.669438022278513, + 28.6784647485305, + 28.68797756535929, + 28.697996706634058, + 28.708542534274898, + 28.71963544169924, + 28.731295745242477, + 28.743543563114656, + 28.756398681577338, + 28.769880408182047, + 28.78400741209802, + 28.798797551774214, + 28.814267690435912, + 28.8304335002002, + 28.847309255911654, + 28.864907620145487, + 28.883239421193508, + 28.90231342623423, + 28.922136112282175, + 28.94271143790428, + 28.964040619068214, + 28.98612191283695, + 29.008950412929124, + 29.032517861407854, + 29.056812480928215, + 29.081818832042956, + 29.107517700029632, + 29.13388601553703, + 29.160896813054165, + 29.18851923076687, + 29.216718554790475, + 29.24545631005097, + 29.27469039924958, + 29.304375290395996, + 29.3344622523675, + 29.364899636864948, + 29.395633204033174, + 29.426606487929575, + 29.457761196996643, + 29.489037643767432, + 29.520375197236888, + 29.55171275070734, + 29.582989197481226, + 29.614143906553437, + 29.645117190457, + 29.675850757634436, + 29.706288142142938, + 29.73637510412732, + 29.766059995288344, + 29.79529408450324, + 29.82403183978164, + 29.85223116382454, + 29.879853581557825, + 29.906864379096817, + 29.93323269462715, + 29.9589315626377, + 29.98393791377717, + 30.00823253332291, + 30.031799981827646, + 30.054628481946224, + 30.07670977574179, + 30.098038956932697, + 30.118614282581916, + 30.138436968657032, + 30.157510973724754, + 30.175842774799662, + 30.193441139060127, + 30.21031689479787, + 30.226482704588022, + 30.241952843275158, + 30.25674298297625, + 30.27086998691658, + 30.28435171354502, + 30.29720683203081, + 30.309454649925442, + 30.32111495349048, + 30.332207860935853, + 30.342753688597043, + 30.35277282989145, + 30.36228564673911, + 30.37131237300929, + 30.379873029453222, + 30.387987349511974, + 30.395674715335275, + 30.40295410331362, + 30.4098440384102, + 30.416362556575848, + 30.422527174538345, + 30.428354866275583, + 30.4338620455064, + 30.439064553564208, + 30.443977652051245, + 30.448616019710443, + 30.452993752988306, + 30.457124369803182, + 30.461020816071425, + 30.4646954745825, + 30.468160175851608, + 30.471426210613885, + 30.474504343658566, + 30.477404828731977, + 30.48013742427031, + 30.4827114097491, + 30.485135602462208, + 26.62152843948968, + 26.623952632202787, + 26.62652661768155, + 26.62925921321994, + 26.63215969829335, + 26.63523783133803, + 26.638503866100336, + 26.64196856736939, + 26.645643225880434, + 26.649539672148705, + 26.65367028896364, + 26.658048022241474, + 26.66268638990067, + 26.667599488387708, + 26.672801996445486, + 26.678309175676304, + 26.684136867413514, + 26.69030148537604, + 26.69682000354169, + 26.70370993863827, + 26.710989326616613, + 26.718676692439942, + 26.726791012498666, + 26.7353516689426, + 26.744378395212777, + 26.753891212060438, + 26.763910353354845, + 26.774456181016063, + 26.785549088461437, + 26.797209392026474, + 26.809457209921078, + 26.822312328406838, + 26.835794055035308, + 26.849921058975667, + 26.86471119867676, + 26.880181337363865, + 26.896347147154046, + 26.91322290289176, + 26.930821267152226, + 26.949153068227133, + 26.968227073294855, + 26.98804975936997, + 27.00862508501919, + 27.029954266210126, + 27.052035560005635, + 27.07486406012424, + 27.098431508628977, + 27.12272612817472, + 27.147732479314215, + 27.173431347324765, + 27.1997996628551, + 27.226810460394034, + 27.254432878127403, + 27.282632202170248, + 27.311369957448676, + 27.340604046663543, + 27.37028893782457, + 27.40037589980895, + 27.430813284317452, + 27.46154685149486, + 27.49252013539848, + 27.52367484447072, + 27.55495129124455, + 27.58628884471503, + 27.617626398184484, + 27.648902844955217, + 27.680057554022284, + 27.711030837918685, + 27.74176440508697, + 27.772201789584443, + 27.802288751555892, + 27.83197364270228, + 27.86120773190092, + 27.88994548716144, + 27.918144811185016, + 27.945767228897722, + 27.972778026414858, + 27.999146341922284, + 28.024845209908932, + 28.04985156102373, + 28.074146180544034, + 28.097713629022792, + 28.120542129114966, + 28.142623422883702, + 28.163952604047637, + 28.184527929669713, + 28.204350615717686, + 28.223424620758408, + 28.2417564218064, + 28.259354786040262, + 28.276230541751687, + 28.292396351515976, + 28.307866490177673, + 28.32265662985384, + 28.336783633769812, + 28.35026536037458, + 28.36312047883723, + 28.37536829670941, + 28.387028600252677, + 28.39812150767696, + 28.40866733531786, + 28.418686476592598, + 28.428199293421358, + 28.437226019673375, + 28.4457866760998, + 28.45390099614181, + 28.461588361949055, + 28.46886774991202, + 28.475757684993937, + 28.482276203145574, + 28.488440821094713, + 28.49426851281916, + 28.499775692037844, + 28.504978200084054, + 28.509891298560092, + 28.51452966620883, + 28.518907399476745, + 28.523038016282243, + 28.52693446254156, + 28.530609121044193, + 28.534073822305203, + 28.53733985705992, + 28.54041799009738, + 28.543318475164, + 28.54605107069591, + 28.548625056168618, + 28.551049248875984, + 28.553332020975937 + ], + "phi0_V": [ + 0.0, + -5.901422384117329e-05, + -0.00012168445319398998, + -0.00018822712508420754, + -0.0002588701841919243, + -0.000333853523514344, + -0.0004134294181420039, + -0.0004978629479231091, + -0.0005874324041833899, + -0.0006824296750075335, + -0.0007831606028717042, + -0.0008899453076450365, + -0.001003118467152762, + -0.0011230295466172376, + -0.0012500429673706068, + -0.0013845382042702485, + -0.0015269098002553294, + -0.0016775672854713588, + -0.0018369349873757304, + -0.0020054517172397282, + -0.0021835703175056595, + -0.0023717570535698503, + -0.00257049083277722, + -0.002780262232770108, + -0.0030015723208779996, + -0.0032349312460168657, + -0.003480856584642898, + -0.0037398714227378357, + -0.0040125021566575405, + -0.0042992759970217126, + -0.004600718161731926, + -0.004917348746748208, + -0.005249679266498931, + -0.005598208859805604, + -0.005963420162024397, + -0.006345774849774158, + -0.006745708871152653, + -0.007163627381726545, + -0.007599899414774799, + -0.008054852323189247, + -0.008528766039967916, + -0.009021867214206794, + -0.00953432328968477, + -0.01006623660327342, + -0.01061763859016804, + -0.011188484191961988, + -0.011778646571469209, + -0.012387912244508865, + -0.013015976743159824, + -0.013662440926837778, + -0.014326808056541332, + -0.015008481743408054, + -0.01570676487505197, + -0.01642085961186163, + -0.017149868530496853, + -0.017892796973355093, + -0.018648556641073954, + -0.019415970440650493, + -0.020193778575112266, + -0.020980645832639925, + -0.021775170004510458, + -0.022575891333185435, + -0.023381302865333867, + -0.024189861560571374, + -0.024999999986170973, + -0.025810138411797457, + -0.02661869710711543, + -0.02742410863939736, + -0.028224829968257963, + -0.02901935414036501, + -0.029806221398178477, + -0.030584029532973487, + -0.03135144333292852, + -0.0321072030010687, + -0.032850131444388454, + -0.03357914036352253, + -0.03429323510086539, + -0.03499151823307374, + -0.035673191920532914, + -0.03633755905085366, + -0.03698402323517029, + -0.03761208773447812, + -0.0382213534081896, + -0.03881151578838045, + -0.039382361390866774, + -0.03993376337845955, + -0.040465676692749336, + -0.040978132768928754, + -0.041471233943866904, + -0.041945147661340346, + -0.04240010057044292, + -0.042836372604170725, + -0.04325429111541382, + -0.0436542251374496, + -0.04403657982584334, + -0.04440179112869158, + -0.044750320722612154, + -0.04508265124296035, + -0.045399281828556966, + -0.0457007239938298, + -0.04598749783473847, + -0.04626012856918424, + -0.04651914340778662, + -0.046765068746901416, + -0.046998427672510355, + -0.04721973776106977, + -0.04742950916149579, + -0.04762824294111816, + -0.047816429677579535, + -0.04799454827822517, + -0.048163065008451814, + -0.048322432710702204, + -0.04847309019624808, + -0.048615461792547325, + -0.048749957029745966, + -0.04887697045078367, + -0.04899688153051836, + -0.04911005469028269, + -0.049216839395299555, + -0.049317570323394705, + -0.04941256759443781, + -0.049502137050905545, + -0.0495865705808831, + -0.049666146475696706, + -0.04974112981519505, + -0.049811772874469126, + -0.049878315546516616, + -0.04994098577601805, + -0.050059014223981596, + -0.05012168445348303, + -0.05018822712553052, + -0.0502588701848046, + -0.05033385352430294, + -0.05041342941911654, + -0.0504978629490941, + -0.050587432405561836, + -0.05068242967660494, + -0.05078316060470009, + -0.05088994530971695, + -0.05100311846948129, + -0.05112302954921597, + -0.05125004297025368, + -0.05138453820745232, + -0.05152690980375157, + -0.05167756728929745, + -0.05183693499154783, + -0.052005451721774475, + -0.05218357032242011, + -0.05237175705888148, + -0.052570490838503854, + -0.05278026223892988, + -0.05300157232748929, + -0.053234931253098236, + -0.05348085659221302, + -0.053739871430815406, + -0.05401250216526118, + -0.05429927600616984, + -0.05460071817144268, + -0.0549173487570393, + -0.05524967927738749, + -0.05559820887130806, + -0.05596342017415631, + -0.056345774862550047, + -0.05674570888458583, + -0.05716362739582892, + -0.05759989942955673, + -0.0580548523386593, + -0.05852876605613274, + -0.05902186723107089, + -0.059534323307250316, + -0.06006623662154009, + -0.06061763860913287, + -0.061188484211619196, + -0.06177864659181005, + -0.062387912265521525, + -0.06301597676482935, + -0.06366244094914597, + -0.06432680807946674, + -0.06500848176692592, + -0.06570676489913425, + -0.06642085963647712, + -0.0671498685556112, + -0.06789279699893094, + -0.06864855666707112, + -0.06941597046702616, + -0.07019377860182116, + -0.07098064585963464, + -0.07177517003174168, + -0.07257589136060229, + -0.07338130289288422, + -0.07418986158820219, + -0.07500000001382867, + -0.07581013843942826, + -0.07661869713466578, + -0.0774241086668142, + -0.0782248299954892, + -0.07901935416735972, + -0.07980622142488737, + -0.08058402955934915, + -0.08135144335892569, + -0.08210720302664455, + -0.08285013146950279, + -0.08357914038813802, + -0.08429323512494767, + -0.08499151825659158, + -0.08567319194345832, + -0.08633755907316186, + -0.08698402325683982, + -0.08761208775549079, + -0.08822135342853044, + -0.08881151580803766, + -0.0893823614098316, + -0.08993376339672624, + -0.09046567671031487, + -0.09097813278579285, + -0.09147123396003172, + -0.0919451476768104, + -0.09240010058522485, + -0.0928363726182731, + -0.09325429112884699, + -0.09365422515022548, + -0.09403657983797524, + -0.09440179114019405, + -0.09475032073350072, + -0.09508265125325144, + -0.09539928183826772, + -0.09570072400297792, + -0.0959874978433421, + -0.09626012857726181, + -0.09651914341535675, + -0.09676506875398279, + -0.09699842767912165, + -0.09721973776722953, + -0.09742950916722243, + -0.09762824294642979, + -0.09781642968249399, + -0.09799454828275993, + -0.09816306501262391, + -0.09832243271452829, + -0.0984730901997443, + -0.0986154617957294, + -0.09874995703262904, + -0.09887697045338241, + -0.09899688153284689, + -0.09911005469235461, + -0.09921683939712794, + -0.0993175703249921, + -0.09941256759581625, + -0.09950213705207653, + -0.09958657058185764, + -0.0996661464764853, + -0.09974112981580772, + -0.09981177287491544, + -0.09987831554680565, + -0.09994098577615847, + -0.09999999999999964 + ], + "poisson_capacitance_F_m2": [ + 0.75017404571579, + 0.7064109946762256, + 0.6653014944568102, + 0.6266849087920617, + 0.590410342534266, + 0.5563360520275734, + 0.5243288912413053, + 0.49426379149910127, + 0.4660232727703924, + 0.4394969846145307, + 0.4145812749841298, + 0.39117878520229893, + 0.369198069531688, + 0.34855323784813197, + 0.3291636200232019, + 0.31095345070385594, + 0.2938515732577741, + 0.27779116172718027, + 0.26270945970500414, + 0.24854753511284186, + 0.23525004992259865, + 0.22276504392192767, + 0.21104373167855206, + 0.20004031191017313, + 0.18971178851491888, + 0.18001780256316943, + 0.17092047459416174, + 0.16238425660115646, + 0.15437579312684066, + 0.14686379092615495, + 0.13981889668725767, + 0.13321358233280742, + 0.12702203745343213, + 0.12122006845295585, + 0.11578500401143077, + 0.11069560649643802, + 0.10593198897658829, + 0.10147553751290392, + 0.09730883842444564, + 0.09341561024397625, + 0.08978064009777696, + 0.086389724261008, + 0.08322961265634855, + 0.08028795707902932, + 0.07755326294595627, + 0.07501484438037558, + 0.07266278245657996, + 0.0704878864414875, + 0.06848165788165626, + 0.06663625739539021, + 0.06494447404018784, + 0.06339969713582182, + 0.0619958904329705, + 0.06072756852643374, + 0.059589775420800864, + 0.05857806516478559, + 0.057688484478576295, + 0.056917557306310415, + 0.05626227123330822, + 0.05572006571500012, + 0.05528882207153989, + 0.05496685520901951, + 0.054752907034926586, + 0.0546461415421221, + 0.0546461415421221, + 0.054752907034926586, + 0.05496685520901951, + 0.05528882207153989, + 0.05572006571500012, + 0.05626227123330846, + 0.05691755730631017, + 0.057688484478576295, + 0.05857806516478559, + 0.059589775420800864, + 0.06072756852643374, + 0.0619958904329705, + 0.06339969713582182, + 0.06494447404018752, + 0.06663625739539088, + 0.06848165788165556, + 0.0704878864414875, + 0.07266278245658016, + 0.07501484438037621, + 0.07755326294595559, + 0.08028795707902908, + 0.08322961265634855, + 0.08638972426100855, + 0.08978064009777666, + 0.09341561024397593, + 0.09730883842444671, + 0.10147553751290353, + 0.10593198897658912, + 0.11069560649643802, + 0.11578500401143002, + 0.12122006845295667, + 0.12702203745343182, + 0.13321358233280645, + 0.13981889668725767, + 0.14686379092615656, + 0.15437579312684066, + 0.162384256601154, + 0.17092047459416146, + 0.18001780256316613, + 0.18971178851492493, + 0.20004031191017202, + 0.2110437316785508, + 0.2227650439219323, + 0.2352500499225909, + 0.24854753511284822, + 0.2627094597050022, + 0.2777911617271727, + 0.293851573257779, + 0.3109534507038613, + 0.32916362002319277, + 0.3485532378481382, + 0.3691980695316899, + 0.3911787852022882, + 0.41458127498413294, + 0.4394969846145519, + 0.4660232727703929, + 0.49426379149909444, + 0.5243288912412835, + 0.5563360520275673, + 0.5904103425342505, + 0.6266849087921119, + 0.6653014944567798, + 0.7064109946762493, + 0.3750870228578949, + 0.7064109946762493, + 0.6653014944567798, + 0.6266849087920532, + 0.5904103425343027, + 0.5563360520275673, + 0.5243288912412835, + 0.49426379149909444, + 0.4660232727703929, + 0.4394969846145519, + 0.41458127498413294, + 0.3911787852022882, + 0.3691980695316899, + 0.3485532378481382, + 0.32916362002319277, + 0.3109534507038613, + 0.29385157325776606, + 0.2777911617271842, + 0.2627094597050022, + 0.24854753511284822, + 0.23525004992259918, + 0.2227650439219249, + 0.2110437316785508, + 0.20004031191017202, + 0.18971178851491954, + 0.18001780256317096, + 0.17092047459416146, + 0.162384256601154, + 0.15437579312684066, + 0.14686379092615656, + 0.13981889668725767, + 0.13321358233280645, + 0.12702203745343424, + 0.12122006845295448, + 0.11578500401143002, + 0.11069560649643802, + 0.10593198897658912, + 0.10147553751290353, + 0.09730883842444671, + 0.09341561024397593, + 0.08978064009777666, + 0.08638972426100744, + 0.0832296126563496, + 0.08028795707902908, + 0.07755326294595559, + 0.07501484438037537, + 0.07266278245658095, + 0.0704878864414875, + 0.06848165788165626, + 0.06663625739538954, + 0.06494447404018752, + 0.06339969713582243, + 0.0619958904329705, + 0.060727568526433184, + 0.0595897754208014, + 0.05857806516478559, + 0.057688484478576295, + 0.05691755730631017, + 0.05626227123330846, + 0.055720065715000586, + 0.05528882207153898, + 0.05496685520901974, + 0.05475290703492636, + 0.054646141542122544, + 0.054646141542122544, + 0.05475290703492636, + 0.05496685520901974, + 0.05528882207153898, + 0.055720065715000586, + 0.05626227123330846, + 0.05691755730631017, + 0.057688484478576295, + 0.05857806516478559, + 0.0595897754208014, + 0.060727568526433184, + 0.0619958904329705, + 0.06339969713582243, + 0.06494447404018626, + 0.06663625739539221, + 0.06848165788165486, + 0.0704878864414875, + 0.07266278245658095, + 0.07501484438037537, + 0.07755326294595559, + 0.08028795707902908, + 0.0832296126563496, + 0.08638972426100744, + 0.08978064009777786, + 0.09341561024397463, + 0.0973088384244453, + 0.10147553751290507, + 0.10593198897658912, + 0.11069560649643802, + 0.11578500401143203, + 0.12122006845295227, + 0.12702203745343424, + 0.13321358233280645, + 0.13981889668725472, + 0.14686379092615978, + 0.15437579312684066, + 0.16238425660115793, + 0.1709204745941571, + 0.18001780256316613, + 0.18971178851492493, + 0.200040311910178, + 0.21104373167854415, + 0.22276504392193971, + 0.23525004992257434, + 0.24854753511284822, + 0.26270945970502285, + 0.2777911617271612, + 0.2938515732577919, + 0.3109534507038469, + 0.32916362002319277, + 0.34855323784812003, + 0.36919806953171025, + 0.3911787852023111, + 0.41458127498413294, + 0.4394969846145519, + 0.46602327277036043, + 0.49426379149913097, + 0.5243288912412013, + 0.5563360520276136, + 0.5904103425343027, + 0.6266849087920532, + 0.6653014944567798, + 0.7064109946763238, + 0.7501740457157058 + ], + "poisson_width_m": [ + 1.2168445327999375e-10, + 1.2921290133435793e-10, + 1.3718573109489092e-10, + 1.456263985330553e-10, + 1.5455923405930657e-10, + 1.6400942452466372e-10, + 1.7400298616433713e-10, + 1.8456672721482707e-10, + 1.9572819882658635e-10, + 2.0751563278408056e-10, + 2.1995786443639556e-10, + 2.330842391367742e-10, + 2.4692450039214606e-10, + 2.615086578375502e-10, + 2.768668330800304e-10, + 2.930290814077334e-10, + 3.1002518733890237e-10, + 3.2788443199932904e-10, + 3.4663533037393737e-10, + 3.6630533658778285e-10, + 3.869205155434871e-10, + 4.0850517948706975e-10, + 4.310814884031017e-10, + 4.546690135652088e-10, + 4.79284264100096e-10, + 5.049401770735207e-10, + 5.316455723851334e-10, + 5.594045746728763e-10, + 5.882160054824251e-10, + 6.180727501540692e-10, + 6.489611052145571e-10, + 6.808601135253143e-10, + 7.137408960140655e-10, + 7.47565990478061e-10, + 7.822887096588038e-10, + 8.178525325040014e-10, + 8.54190544194725e-10, + 8.912249420559998e-10, + 9.288666258067398e-10, + 9.670148916509131e-10, + 1.005557250369215e-09, + 1.0443693897370093e-09, + 1.0833153011705004e-09, + 1.1222475893912312e-09, + 1.1610079820176118e-09, + 1.1994280532751899e-09, + 1.23733017242863e-09, + 1.2745286830742073e-09, + 1.3108313141313866e-09, + 1.3460408173217914e-09, + 1.3799568192605954e-09, + 1.4123778691985396e-09, + 1.443103656181209e-09, + 1.4719373622173193e-09, + 1.4986881112844911e-09, + 1.523173467982208e-09, + 1.5452219347003404e-09, + 1.5646753926224425e-09, + 1.5813914299979714e-09, + 1.5952455011079117e-09, + 1.6061328613443997e-09, + 1.6139702278616839e-09, + 1.6186971212639917e-09, + 1.6202768516007768e-09, + 1.6186971212639917e-09, + 1.6139702278616839e-09, + 1.6061328613443997e-09, + 1.5952455011079117e-09, + 1.5813914299979714e-09, + 1.5646753926224425e-09, + 1.5452219347003404e-09, + 1.523173467982208e-09, + 1.4986881112844845e-09, + 1.4719373622173193e-09, + 1.4431036561812155e-09, + 1.4123778691985462e-09, + 1.379956819260592e-09, + 1.346040817321788e-09, + 1.31083131413138e-09, + 1.2745286830742205e-09, + 1.2373301724286366e-09, + 1.19942805327517e-09, + 1.1610079820176184e-09, + 1.1222475893912378e-09, + 1.083315301170507e-09, + 1.0443693897369927e-09, + 1.0055572503692116e-09, + 9.670148916509198e-10, + 9.288666258067464e-10, + 8.91224942055985e-10, + 8.541905441947299e-10, + 8.178525325039981e-10, + 7.822887096588004e-10, + 7.475659904780676e-10, + 7.137408960140556e-10, + 6.808601135253242e-10, + 6.48961105214567e-10, + 6.180727501540659e-10, + 5.882160054824152e-10, + 5.59404574672873e-10, + 5.316455723851383e-10, + 5.049401770735323e-10, + 4.792842641000936e-10, + 4.546690135651964e-10, + 4.3108148840310337e-10, + 4.0850517948706727e-10, + 3.869205155434962e-10, + 3.663053365877845e-10, + 3.4663533037393406e-10, + 3.278844319993274e-10, + 3.1002518733890444e-10, + 2.930290814077417e-10, + 2.7686683308002504e-10, + 2.6150865783754524e-10, + 2.46924500392156e-10, + 2.3308423913676347e-10, + 2.1995786443640466e-10, + 2.0751563278407477e-10, + 1.9572819882657477e-10, + 1.845667272148283e-10, + 1.740029861643485e-10, + 1.6400942452466144e-10, + 1.545592340593227e-10, + 1.4562639853305157e-10, + 1.3718573109488172e-10, + 1.2921290133435225e-10, + 1.8069867716288167e-10, + 1.8069867716288167e-10, + 1.2921290133435225e-10, + 1.3718573109489495e-10, + 1.4562639853305157e-10, + 1.5455923405930946e-10, + 1.6400942452466144e-10, + 1.740029861643485e-10, + 1.845667272148283e-10, + 1.9572819882657477e-10, + 2.0751563278407477e-10, + 2.1995786443640466e-10, + 2.3308423913676347e-10, + 2.46924500392156e-10, + 2.6150865783754524e-10, + 2.7686683308002504e-10, + 2.930290814077417e-10, + 3.1002518733890444e-10, + 3.278844319993274e-10, + 3.4663533037393406e-10, + 3.663053365877845e-10, + 3.8692051554348296e-10, + 4.085051794870805e-10, + 4.3108148840310337e-10, + 4.5466901356520963e-10, + 4.792842641000936e-10, + 5.04940177073519e-10, + 5.316455723851383e-10, + 5.59404574672873e-10, + 5.882160054824152e-10, + 6.180727501540659e-10, + 6.48961105214567e-10, + 6.808601135253109e-10, + 7.137408960140689e-10, + 7.475659904780676e-10, + 7.822887096588004e-10, + 8.178525325039981e-10, + 8.541905441947299e-10, + 8.91224942055985e-10, + 9.288666258067464e-10, + 9.670148916509198e-10, + 1.0055572503692116e-09, + 1.0443693897370192e-09, + 1.0833153011704673e-09, + 1.122247589391251e-09, + 1.1610079820176184e-09, + 1.1994280532751965e-09, + 1.2373301724286234e-09, + 1.2745286830741808e-09, + 1.3108313141314065e-09, + 1.346040817321788e-09, + 1.3799568192606186e-09, + 1.412377869198533e-09, + 1.4431036561812023e-09, + 1.4719373622173193e-09, + 1.4986881112844977e-09, + 1.523173467982208e-09, + 1.545221934700314e-09, + 1.564675392622469e-09, + 1.5813914299979515e-09, + 1.5952455011079183e-09, + 1.606132861344413e-09, + 1.6139702278616839e-09, + 1.6186971212639851e-09, + 1.6202768516007636e-09, + 1.6186971212639851e-09, + 1.6139702278616839e-09, + 1.606132861344413e-09, + 1.5952455011079183e-09, + 1.5813914299979515e-09, + 1.564675392622469e-09, + 1.545221934700314e-09, + 1.523173467982208e-09, + 1.4986881112844977e-09, + 1.4719373622173193e-09, + 1.4431036561812023e-09, + 1.412377869198533e-09, + 1.3799568192606186e-09, + 1.346040817321788e-09, + 1.31083131413138e-09, + 1.2745286830742073e-09, + 1.2373301724286234e-09, + 1.1994280532751965e-09, + 1.1610079820176184e-09, + 1.122247589391251e-09, + 1.0833153011704673e-09, + 1.0443693897370192e-09, + 1.0055572503692116e-09, + 9.670148916509198e-10, + 9.288666258067464e-10, + 8.91224942055985e-10, + 8.541905441947299e-10, + 8.178525325039848e-10, + 7.822887096588137e-10, + 7.475659904780676e-10, + 7.137408960140821e-10, + 6.808601135253109e-10, + 6.489611052145538e-10, + 6.180727501540659e-10, + 5.882160054824152e-10, + 5.59404574672873e-10, + 5.316455723851383e-10, + 5.04940177073519e-10, + 4.7928426410012e-10, + 4.5466901356518316e-10, + 4.3108148840310337e-10, + 4.0850517948706727e-10, + 3.869205155434962e-10, + 3.6630533658779774e-10, + 3.4663533037392083e-10, + 3.278844319993274e-10, + 3.1002518733890444e-10, + 2.930290814077152e-10, + 2.768668330800515e-10, + 2.6150865783754524e-10, + 2.46924500392156e-10, + 2.3308423913676347e-10, + 2.1995786443639143e-10, + 2.0751563278407477e-10, + 1.95728198826588e-10, + 1.845667272148283e-10, + 1.740029861643485e-10, + 1.6400942452466144e-10, + 1.545592340593227e-10, + 1.4562639853305157e-10, + 1.3718573109489495e-10, + 1.29212901334339e-10, + 1.2168445327999169e-10 + ], + "sheet_weights": [ + [ + 0.5, + 0.5 + ] + ], + "thermal_voltage_V": 0.025851999786435535 + }, + "schema": "R1IndependentPoissonInputsV1", + "seed_phi_V": { + "hi": [ + 0.0, + -6.297052455897911e-05, + -0.00012973141170526508, + -0.00020049299128761092, + -0.000275474999459675, + -0.00035490670549944976, + -0.00043902699624954485, + -0.0005280844113637886, + -0.0006223371220667533, + -0.0007220528455165659, + -0.0008275086861903219, + -0.000938990895100708, + -0.0010567945371556592, + -0.001181223056589348, + -0.0013125877301202926, + -0.001451206997348996, + -0.0015974056579288515, + -0.0017515139252710407, + -0.0019138663270208466, + -0.002084800443313756, + -0.0022646554749316044, + -0.002453770634977876, + -0.0026524833596222293, + -0.0028611273358684023, + -0.003080030347211404, + -0.003309511941494286, + -0.0035498809292621165, + -0.0038014327254342036, + -0.004064446552144571, + -0.004339182526077178, + -0.004625878659456069, + -0.004924747809914091, + -0.005235974620589759, + -0.005559712497780646, + -0.005896080679062622, + -0.006245161449676169, + -0.006606997568861872, + -0.006981589970350026, + -0.007368895802020401, + -0.007768826868502891, + -0.008181248536876675, + -0.008605979159392938, + -0.009042790058130128, + -0.009491406104644851, + -0.00995150691310476, + -0.010422728648349061, + -0.010904666431268827, + -0.011396877303473467, + -0.011898883692232385, + -0.012410177296130281, + -0.012930223292845423, + -0.013458464754106647, + -0.01399432714035082, + -0.014537222739938438, + -0.015086554915865314, + -0.015641722027343447, + -0.016202120904692457, + -0.016767149773570272, + -0.017336210548145808, + -0.017908710441424062, + -0.0184840628732377, + -0.019061687690763426, + -0.019641010750931186, + -0.02022146294679667, + -0.020802478788907786, + -0.021383494676155305, + -0.02196394700710645, + -0.022543270291343103, + -0.02312089542032628, + -0.023696248248785273, + -0.02426874862112122, + -0.024837809953855032, + -0.025402839456189347, + -0.02596323903805155, + -0.02651840692047509, + -0.02706773992883194, + -0.027610636417125488, + -0.02814649974294532, + -0.02867474218911136, + -0.029194789210447672, + -0.02970608387305789, + -0.030208091349039276, + -0.030700303331492335, + -0.031182242242346954, + -0.03165346511806037, + -0.03211356707459589, + -0.03256218427212062, + -0.03299899632041128, + -0.03342372808693433, + -0.03383615088999302, + -0.034236083078387075, + -0.03462339001607199, + -0.03499798350488118, + -0.035359820690220846, + -0.035708902503662626, + -0.03604527170259263, + -0.03636901057068785, + -0.03668023834423651, + -0.0369791084285078, + -0.03726580546585353, + -0.03754054231334325, + -0.03780355698284263, + -0.03805510959086361, + -0.03829547935953634, + -0.03852496170392659, + -0.038743865434859165, + -0.03895251010057377, + -0.03915122348506351, + -0.03934033927591729, + -0.03952019490996343, + -0.039691129601025235, + -0.03985348255065403, + -0.0400075913397941, + -0.040153790496929236, + -0.040292410236329755, + -0.040423775358518564, + -0.040548204303960694, + -0.04066600835020429, + -0.04077749094221753, + -0.0408829471454356, + -0.040982663211022105, + -0.0410769162430298, + -0.041165973957474934, + -0.04125009452376612, + -0.04132952647939865, + -0.04140450870931032, + -0.041475270481794925, + -0.041542031533400164, + -0.041668073988744884, + -0.041734999460707044, + -0.041806060309978334, + -0.04188149995844257, + -0.04196157458757885, + -0.04204655360169066, + -0.04213672007926874, + -0.0422323712073267, + -0.04233381869284275, + -0.04244138914467502, + -0.04255542441849453, + -0.04267628191639828, + -0.04280433483192903, + -0.04293997233024342, + -0.043083599652141785, + -0.04323563812961309, + -0.04339652509946813, + -0.04356671370055142, + -0.043746672538957025, + -0.04393688520465168, + -0.044137849621960545, + -0.04435007721553228, + -0.04457409187271378, + -0.0448104286827777, + -0.04505963243321326, + -0.04532225584337195, + -0.04559885751622167, + -0.045889999589875254, + -0.04619624507199689, + -0.04651815484222907, + -0.04685628431049816, + -0.04721117972252178, + -0.04758337410811983, + -0.04797338287307889, + -0.048381699041371816, + -0.04880878816151078, + -0.0492550828986963, + -0.049720977343175744, + -0.05020682107475486, + -0.05071291303358463, + -0.051239495257993074, + -0.051786746561012356, + -0.05235477622807681, + -0.052943617828795385, + -0.05355322324534, + -0.05418345702841024, + -0.054834091198471234, + -0.05550480061454783, + -0.056195159034827656, + -0.05690463599225171, + -0.05763259460377954, + -0.058378290423826217, + -0.0591408714403091, + -0.05991937929578684, + -0.06071275179645204, + -0.061519826748560984, + -0.06233934713573513, + -0.06316996762211441, + -0.06401026233640365, + -0.06485873386138526, + -0.06571382332352273, + -0.06657392144894282, + -0.06743738042644647, + -0.06830252639627805, + -0.0691676723660795, + -0.07003113134349298, + -0.07089122946876346, + -0.07174631893069286, + -0.0725947904554093, + -0.07343508516937804, + -0.07426570565538354, + -0.07508522604213301, + -0.07589230099376905, + -0.07668567349391606, + -0.07746418134883344, + -0.07822676236471712, + -0.0789724581841292, + -0.07970041679499063, + -0.08040989375172004, + -0.08110025217128075, + -0.08177096158661733, + -0.08242159575592103, + -0.08305182953822024, + -0.08366143495398357, + -0.08425027655391386, + -0.08481830622018625, + -0.08536555752241266, + -0.08589213974603027, + -0.08639823170407389, + -0.08688407543487393, + -0.08734996987858362, + -0.08779626461501072, + -0.0882233537344044, + -0.08863166990196676, + -0.08902167866621141, + -0.08939387305111239, + -0.08974876846245727, + -0.09008689793006683, + -0.09040880769965931, + -0.09071505318116163, + -0.09100619525421663, + -0.09128279692648875, + -0.0915454203360909, + -0.091794624085991, + -0.09203096089554044, + -0.09225497555222827, + -0.09246720314532683, + -0.09266816756218275, + -0.09285838022744426, + -0.09303833906543604, + -0.09320852766612443, + -0.09336941463560292, + -0.09352145311271548, + -0.09366508043427238, + -0.09380071793226197, + -0.093928770847484, + -0.0940496283450945, + -0.09416366361863568, + -0.09427123407020391, + -0.09437268155546963, + -0.09446833268329037, + -0.09455849916064381, + -0.09464347817454294, + -0.09472355280347798, + -0.0947989924517519, + -0.09487005330084325, + -0.09493697877263535, + -0.09499999999999964 + ], + "lo": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + }, + "seed_provenance": "same_diagnostics_call_legacy_potential_eliminated_channel" + }, + "schema": "R1GlobalIonReferenceInputsV1" + }, + "inputs_sha256": "8478395801ada71cf1a05dc473113f61125fd9e2dd23d31cbf23d27e4ab8a19c", + "ion_constitutive_implementation": "independent_DD_SG_and_explicit_boundary_FV_divergence", + "poisson": { + "converged": true, + "fixed_input_digest": "d813c54184fc79913b29acff9b8e42a4cfa0561000a3e6133c7f8f0d879509ad", + "iterations": 2, + "kind": "independent_fixed_qf_poisson", + "last_correction_max_abs_V": 4.688347041869902e-31, + "poisson_residual_max_abs_C_m2": 4.980660003159024e-34, + "seed_phi_V": { + "hi": [ + 0.0, + -6.297052455897911e-05, + -0.00012973141170526508, + -0.00020049299128761092, + -0.000275474999459675, + -0.00035490670549944976, + -0.00043902699624954485, + -0.0005280844113637886, + -0.0006223371220667533, + -0.0007220528455165659, + -0.0008275086861903219, + -0.000938990895100708, + -0.0010567945371556592, + -0.001181223056589348, + -0.0013125877301202926, + -0.001451206997348996, + -0.0015974056579288515, + -0.0017515139252710407, + -0.0019138663270208466, + -0.002084800443313756, + -0.0022646554749316044, + -0.002453770634977876, + -0.0026524833596222293, + -0.0028611273358684023, + -0.003080030347211404, + -0.003309511941494286, + -0.0035498809292621165, + -0.0038014327254342036, + -0.004064446552144571, + -0.004339182526077178, + -0.004625878659456069, + -0.004924747809914091, + -0.005235974620589759, + -0.005559712497780646, + -0.005896080679062622, + -0.006245161449676169, + -0.006606997568861872, + -0.006981589970350026, + -0.007368895802020401, + -0.007768826868502891, + -0.008181248536876675, + -0.008605979159392938, + -0.009042790058130128, + -0.009491406104644851, + -0.00995150691310476, + -0.010422728648349061, + -0.010904666431268827, + -0.011396877303473467, + -0.011898883692232385, + -0.012410177296130281, + -0.012930223292845423, + -0.013458464754106647, + -0.01399432714035082, + -0.014537222739938438, + -0.015086554915865314, + -0.015641722027343447, + -0.016202120904692457, + -0.016767149773570272, + -0.017336210548145808, + -0.017908710441424062, + -0.0184840628732377, + -0.019061687690763426, + -0.019641010750931186, + -0.02022146294679667, + -0.020802478788907786, + -0.021383494676155305, + -0.02196394700710645, + -0.022543270291343103, + -0.02312089542032628, + -0.023696248248785273, + -0.02426874862112122, + -0.024837809953855032, + -0.025402839456189347, + -0.02596323903805155, + -0.02651840692047509, + -0.02706773992883194, + -0.027610636417125488, + -0.02814649974294532, + -0.02867474218911136, + -0.029194789210447672, + -0.02970608387305789, + -0.030208091349039276, + -0.030700303331492335, + -0.031182242242346954, + -0.03165346511806037, + -0.03211356707459589, + -0.03256218427212062, + -0.03299899632041128, + -0.03342372808693433, + -0.03383615088999302, + -0.034236083078387075, + -0.03462339001607199, + -0.03499798350488118, + -0.035359820690220846, + -0.035708902503662626, + -0.03604527170259263, + -0.03636901057068785, + -0.03668023834423651, + -0.0369791084285078, + -0.03726580546585353, + -0.03754054231334325, + -0.03780355698284263, + -0.03805510959086361, + -0.03829547935953634, + -0.03852496170392659, + -0.038743865434859165, + -0.03895251010057377, + -0.03915122348506351, + -0.03934033927591729, + -0.03952019490996343, + -0.039691129601025235, + -0.03985348255065403, + -0.0400075913397941, + -0.040153790496929236, + -0.040292410236329755, + -0.040423775358518564, + -0.040548204303960694, + -0.04066600835020429, + -0.04077749094221753, + -0.0408829471454356, + -0.040982663211022105, + -0.0410769162430298, + -0.041165973957474934, + -0.04125009452376612, + -0.04132952647939865, + -0.04140450870931032, + -0.041475270481794925, + -0.041542031533400164, + -0.041668073988744884, + -0.041734999460707044, + -0.041806060309978334, + -0.04188149995844257, + -0.04196157458757885, + -0.04204655360169066, + -0.04213672007926874, + -0.0422323712073267, + -0.04233381869284275, + -0.04244138914467502, + -0.04255542441849453, + -0.04267628191639828, + -0.04280433483192903, + -0.04293997233024342, + -0.043083599652141785, + -0.04323563812961309, + -0.04339652509946813, + -0.04356671370055142, + -0.043746672538957025, + -0.04393688520465168, + -0.044137849621960545, + -0.04435007721553228, + -0.04457409187271378, + -0.0448104286827777, + -0.04505963243321326, + -0.04532225584337195, + -0.04559885751622167, + -0.045889999589875254, + -0.04619624507199689, + -0.04651815484222907, + -0.04685628431049816, + -0.04721117972252178, + -0.04758337410811983, + -0.04797338287307889, + -0.048381699041371816, + -0.04880878816151078, + -0.0492550828986963, + -0.049720977343175744, + -0.05020682107475486, + -0.05071291303358463, + -0.051239495257993074, + -0.051786746561012356, + -0.05235477622807681, + -0.052943617828795385, + -0.05355322324534, + -0.05418345702841024, + -0.054834091198471234, + -0.05550480061454783, + -0.056195159034827656, + -0.05690463599225171, + -0.05763259460377954, + -0.058378290423826217, + -0.0591408714403091, + -0.05991937929578684, + -0.06071275179645204, + -0.061519826748560984, + -0.06233934713573513, + -0.06316996762211441, + -0.06401026233640365, + -0.06485873386138526, + -0.06571382332352273, + -0.06657392144894282, + -0.06743738042644647, + -0.06830252639627805, + -0.0691676723660795, + -0.07003113134349298, + -0.07089122946876346, + -0.07174631893069286, + -0.0725947904554093, + -0.07343508516937804, + -0.07426570565538354, + -0.07508522604213301, + -0.07589230099376905, + -0.07668567349391606, + -0.07746418134883344, + -0.07822676236471712, + -0.0789724581841292, + -0.07970041679499063, + -0.08040989375172004, + -0.08110025217128075, + -0.08177096158661733, + -0.08242159575592103, + -0.08305182953822024, + -0.08366143495398357, + -0.08425027655391386, + -0.08481830622018625, + -0.08536555752241266, + -0.08589213974603027, + -0.08639823170407389, + -0.08688407543487393, + -0.08734996987858362, + -0.08779626461501072, + -0.0882233537344044, + -0.08863166990196676, + -0.08902167866621141, + -0.08939387305111239, + -0.08974876846245727, + -0.09008689793006683, + -0.09040880769965931, + -0.09071505318116163, + -0.09100619525421663, + -0.09128279692648875, + -0.0915454203360909, + -0.091794624085991, + -0.09203096089554044, + -0.09225497555222827, + -0.09246720314532683, + -0.09266816756218275, + -0.09285838022744426, + -0.09303833906543604, + -0.09320852766612443, + -0.09336941463560292, + -0.09352145311271548, + -0.09366508043427238, + -0.09380071793226197, + -0.093928770847484, + -0.0940496283450945, + -0.09416366361863568, + -0.09427123407020391, + -0.09437268155546963, + -0.09446833268329037, + -0.09455849916064381, + -0.09464347817454294, + -0.09472355280347798, + -0.0947989924517519, + -0.09487005330084325, + -0.09493697877263535, + -0.09499999999999964 + ], + "lo": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + }, + "seed_provenance": "same_diagnostics_call_legacy_potential_eliminated_channel", + "solve_inputs_digest": "1ffa9d65f199ba609d6dbf34022e6c96d4b722a3d70e911641648dc8b941146d", + "solved_fields_digest": "e48a3f9b902563d86cc80eebe4414b5cc72874ed152882fb7dbc3ab13c79bb4d", + "used_direct_phi": false + }, + "representation_boundary": { + "backend": "float64-baseline", + "constitutive_minus_constraint_phi_V": { + "hi": [ + 0.0, + 2.8752971366826288e-21, + 4.5967323943256445e-21, + -2.2168506685876197e-21, + 9.487636082203615e-21, + 2.0344451256884114e-20, + 1.5799983305426424e-20, + 2.834792989122557e-20, + 2.6646846391628662e-20, + 1.6533800659765197e-20, + -3.068185452075079e-20, + 1.1402033612529355e-20, + 9.729269978853583e-20, + 5.625162030559386e-20, + 5.2264244165536244e-20, + 4.036415012357165e-21, + 1.0200282897965659e-19, + -9.928097399114068e-20, + -1.4106685904857626e-20, + 6.383520572225721e-20, + 1.1499751205924832e-19, + -3.3997555311926005e-20, + -1.9287180520261356e-19, + 2.9585159632200827e-20, + 1.1998070117903583e-19, + -1.464803733970275e-19, + -1.3871982074799255e-19, + 7.690206945303909e-20, + 2.5170912000750945e-19, + 3.0237648217228634e-20, + -1.1988144417348185e-19, + -1.8985790931450962e-19, + -1.0849356653491898e-19, + -3.461055055670274e-19, + 1.0897835957516453e-19, + 3.1626046246000823e-19, + 1.2341994070217744e-19, + -3.33706212183102e-19, + -1.0553374867508737e-19, + -2.782934553805993e-19, + -6.476611202051051e-19, + 6.241620623350679e-19, + 3.3053405416948596e-19, + -7.533345549455018e-19, + 3.8404621168680524e-19, + 3.3888626499405165e-19, + 3.339204276011421e-19, + 7.394980972273871e-20, + -8.378609830205038e-19, + -2.163548854330976e-19, + -6.343383807322895e-19, + -6.654885759163659e-21, + 8.120018667791664e-19, + 5.774629017664226e-20, + -7.362313437403872e-19, + 5.1723216831057215e-19, + -1.5981824341067315e-19, + -1.9927955176129674e-19, + -1.6754468134834734e-18, + -1.0362964717016453e-18, + -4.4843428916871435e-19, + 1.203756354005767e-18, + -1.056249863888725e-18, + -3.233431883844206e-19, + -1.14075386303286e-18, + 1.5052128352865268e-18, + 1.2775814090595702e-18, + 1.4680813693840162e-18, + -3.817351023707532e-19, + 1.0931998355265473e-18, + -1.219376580996419e-19, + 9.411566564358238e-19, + 1.0729153182389063e-18, + 1.4001865605294923e-18, + 6.863399509284962e-19, + -5.202930187478844e-19, + 3.4347206032224365e-19, + 1.5366381831828022e-19, + 9.907461032746814e-19, + -1.0331787749466187e-18, + 6.511097403179702e-19, + 4.504627968608069e-19, + -3.819374970722528e-19, + 5.831167785612952e-20, + 1.1094242770147741e-18, + 3.59144385151111e-19, + -6.394913884543373e-19, + 3.417218375545607e-18, + 2.8862531375029725e-18, + 8.29391838230231e-20, + 6.240122018030661e-20, + 3.4440071826505444e-18, + 2.5846255665562273e-18, + 9.700662550954932e-19, + -3.416473287677506e-18, + -1.547009195703504e-18, + 3.0936487056975935e-18, + 3.8068632157966175e-20, + 2.771031667712771e-18, + 1.113165866714203e-18, + 2.3921822133111348e-18, + 2.4545027704250176e-18, + -2.9866488136208967e-18, + -2.2359277038955526e-18, + -1.6169566792634476e-18, + 2.65523548653692e-18, + -6.342384352756706e-19, + 1.6495917148869056e-18, + 5.29447215809919e-19, + 9.54747759698563e-19, + 9.691169407400174e-19, + 2.7423725148156722e-18, + -2.6300876969111523e-18, + -3.426495046477735e-18, + 1.3625642414742225e-18, + 2.3593563047438443e-18, + 7.20150319564994e-19, + -1.0393013863475217e-18, + -1.1969329453443573e-19, + 1.4192735911365548e-18, + 2.425214395992354e-18, + 3.2378845994776722e-18, + 2.7004559842399657e-19, + -2.192147354084911e-18, + 3.4286750176891265e-18, + 9.48234934115919e-19, + -1.5963947789409569e-18, + -1.650324842326543e-18, + -1.137942052617726e-18, + 2.383066562799819e-18, + -7.804567249768677e-19, + 2.3723897852437798e-18, + -3.1205516816897137e-18, + -1.3016342960638527e-18, + -2.8689848473398348e-18, + 1.548985617216465e-18, + 2.976272909469604e-18, + -8.029025258494507e-19, + -1.1093229757684083e-18, + 1.2634231048822633e-18, + 1.8974416547359095e-18, + -2.1731794924011056e-18, + 2.4668936357526404e-18, + -2.2504240067914846e-19, + 1.0387758035312647e-18, + -1.0615275190430504e-18, + 3.0819182788517453e-18, + -2.013434711789276e-18, + -2.857818021779675e-19, + -7.148443330316464e-19, + -2.6270779709118038e-18, + -4.1956089228056363e-19, + 2.3519678627495617e-18, + -4.912093014380409e-19, + -2.501569594847751e-18, + -3.2780478877992225e-18, + -4.399602873073248e-19, + 6.210543927696804e-19, + 2.5846236964152164e-18, + -2.114715727459918e-18, + 2.8470936746152405e-18, + 1.765816252036281e-18, + 1.108718484556383e-18, + 1.169743996060674e-18, + -4.363141474857437e-19, + 7.162260207761523e-19, + -1.0235744714155546e-18, + -7.824664401059697e-19, + 2.4550979688072414e-18, + -1.4471277608371176e-18, + 2.2319611554229524e-18, + -2.6089560387855968e-18, + -9.399974062157242e-19, + 3.743026435387175e-20, + 9.20142436423117e-19, + 1.0559775856392273e-18, + 1.909881586457051e-18, + 2.8846898932302865e-18, + 1.825193881202635e-18, + -2.652872249218733e-18, + -2.449657529135561e-18, + -7.594156044575774e-20, + 7.28279442616895e-19, + 1.4858862566557428e-18, + -1.663902765711891e-18, + 4.486066781991066e-18, + 1.45407846666784e-18, + -8.507009190973743e-20, + 2.125007180282071e-18, + -5.130153239725675e-18, + 2.2983691386167653e-18, + -4.712953841578316e-18, + 6.446674354255345e-18, + 5.817241712790918e-18, + -4.001368776066221e-18, + -5.519121296296559e-18, + -3.9816917599647196e-19, + -1.9443030179126124e-18, + -1.7190840749155774e-18, + -5.390040123970004e-18, + 5.494467582837433e-18, + -8.442726907414102e-19, + -9.008079705812445e-19, + -4.789333664452643e-18, + 2.7649141771785853e-18, + -7.006983242417706e-19, + 3.7286385214883854e-18, + -3.055735501422498e-18, + -6.172183540319367e-18, + -6.392604842822347e-18, + 5.33405332852278e-18, + -4.651279455449502e-18, + -1.3798594926206821e-18, + -5.128390679944339e-18, + 3.0759072160131465e-18, + 3.1175393866374668e-18, + 7.942117001395992e-19, + 5.446722383437258e-18, + 4.0444699122854146e-18, + -6.488145960035364e-18, + -6.63266937368641e-18, + 4.155251984905143e-18, + 1.4612146685205686e-18, + -1.6481430901375812e-19, + -6.299376261004683e-19, + -3.6344707934160034e-20, + 3.52403491732351e-18, + 5.032314214236674e-18, + -2.0676121861666797e-18, + -4.076850561794377e-18, + 5.8941439601357964e-18, + -4.2774477738022197e-19, + -3.1397511030174478e-18, + -5.641499413868454e-18, + -4.509595085133535e-18, + 1.9341057362514762e-18, + -6.223817137837717e-18, + 4.014269352552529e-18, + 1.8966055230117354e-19, + -5.2884336510335095e-18, + 6.403944891795303e-18, + -5.002956977275714e-18, + -3.605995671702859e-18, + -4.1845753118676085e-18, + -1.264587390116799e-18, + 4.646806515959056e-19, + -5.4129925797300825e-18, + -3.769197015132275e-18, + 2.7191022765421285e-18, + -5.4570955468140744e-18, + 1.5425213657582045e-18, + -6.621194630027622e-19, + -2.9739441976170698e-18, + -4.727489151008996e-18, + -2.8526973580133497e-18, + 0.0 + ], + "lo": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + }, + "constitutive_phi_V": { + "hi": [ + 0.0, + -6.297052455897911e-05, + -0.00012973141170526508, + -0.00020049299128761092, + -0.000275474999459675, + -0.00035490670549944976, + -0.00043902699624954485, + -0.0005280844113637886, + -0.0006223371220667533, + -0.0007220528455165659, + -0.0008275086861903219, + -0.000938990895100708, + -0.0010567945371556592, + -0.001181223056589348, + -0.0013125877301202926, + -0.001451206997348996, + -0.0015974056579288515, + -0.0017515139252710409, + -0.0019138663270208466, + -0.002084800443313756, + -0.0022646554749316044, + -0.002453770634977876, + -0.0026524833596222293, + -0.0028611273358684023, + -0.003080030347211404, + -0.003309511941494286, + -0.0035498809292621165, + -0.0038014327254342036, + -0.004064446552144571, + -0.004339182526077178, + -0.004625878659456069, + -0.004924747809914091, + -0.005235974620589759, + -0.005559712497780646, + -0.005896080679062622, + -0.006245161449676169, + -0.006606997568861872, + -0.006981589970350026, + -0.007368895802020401, + -0.007768826868502891, + -0.008181248536876675, + -0.008605979159392938, + -0.009042790058130128, + -0.009491406104644851, + -0.00995150691310476, + -0.010422728648349061, + -0.010904666431268827, + -0.011396877303473467, + -0.011898883692232385, + -0.012410177296130281, + -0.012930223292845423, + -0.013458464754106647, + -0.013994327140350819, + -0.014537222739938438, + -0.015086554915865314, + -0.015641722027343447, + -0.016202120904692457, + -0.016767149773570272, + -0.017336210548145808, + -0.017908710441424062, + -0.0184840628732377, + -0.019061687690763426, + -0.019641010750931186, + -0.02022146294679667, + -0.020802478788907786, + -0.0213834946761553, + -0.02196394700710645, + -0.0225432702913431, + -0.02312089542032628, + -0.023696248248785273, + -0.02426874862112122, + -0.024837809953855032, + -0.025402839456189347, + -0.02596323903805155, + -0.02651840692047509, + -0.02706773992883194, + -0.027610636417125488, + -0.02814649974294532, + -0.02867474218911136, + -0.029194789210447672, + -0.02970608387305789, + -0.030208091349039276, + -0.030700303331492335, + -0.031182242242346954, + -0.03165346511806037, + -0.03211356707459589, + -0.03256218427212062, + -0.03299899632041127, + -0.03342372808693433, + -0.03383615088999302, + -0.034236083078387075, + -0.03462339001607198, + -0.03499798350488118, + -0.035359820690220846, + -0.035708902503662626, + -0.03604527170259263, + -0.036369010570687844, + -0.03668023834423651, + -0.0369791084285078, + -0.03726580546585353, + -0.03754054231334325, + -0.03780355698284263, + -0.03805510959086361, + -0.03829547935953634, + -0.03852496170392659, + -0.038743865434859165, + -0.03895251010057377, + -0.03915122348506351, + -0.03934033927591729, + -0.03952019490996343, + -0.039691129601025235, + -0.03985348255065403, + -0.0400075913397941, + -0.040153790496929236, + -0.040292410236329755, + -0.040423775358518564, + -0.040548204303960694, + -0.04066600835020429, + -0.04077749094221753, + -0.0408829471454356, + -0.040982663211022105, + -0.041076916243029796, + -0.041165973957474934, + -0.04125009452376612, + -0.041329526479398644, + -0.04140450870931032, + -0.041475270481794925, + -0.041542031533400164, + -0.041668073988744884, + -0.041734999460707044, + -0.041806060309978334, + -0.04188149995844257, + -0.04196157458757885, + -0.04204655360169066, + -0.04213672007926874, + -0.0422323712073267, + -0.04233381869284275, + -0.04244138914467502, + -0.04255542441849453, + -0.04267628191639828, + -0.04280433483192903, + -0.04293997233024342, + -0.043083599652141785, + -0.04323563812961309, + -0.04339652509946813, + -0.04356671370055142, + -0.04374667253895702, + -0.04393688520465168, + -0.044137849621960545, + -0.04435007721553228, + -0.04457409187271378, + -0.0448104286827777, + -0.04505963243321326, + -0.04532225584337195, + -0.04559885751622167, + -0.045889999589875254, + -0.04619624507199689, + -0.04651815484222907, + -0.04685628431049816, + -0.04721117972252178, + -0.04758337410811983, + -0.04797338287307889, + -0.048381699041371816, + -0.04880878816151078, + -0.0492550828986963, + -0.049720977343175744, + -0.05020682107475486, + -0.05071291303358463, + -0.051239495257993074, + -0.051786746561012356, + -0.05235477622807681, + -0.052943617828795385, + -0.05355322324534, + -0.05418345702841024, + -0.054834091198471234, + -0.05550480061454783, + -0.056195159034827656, + -0.05690463599225171, + -0.05763259460377954, + -0.058378290423826217, + -0.0591408714403091, + -0.05991937929578684, + -0.06071275179645204, + -0.061519826748560984, + -0.06233934713573513, + -0.06316996762211441, + -0.06401026233640365, + -0.06485873386138526, + -0.06571382332352273, + -0.06657392144894282, + -0.06743738042644647, + -0.06830252639627805, + -0.0691676723660795, + -0.07003113134349298, + -0.07089122946876346, + -0.07174631893069286, + -0.0725947904554093, + -0.07343508516937804, + -0.07426570565538354, + -0.07508522604213301, + -0.07589230099376905, + -0.07668567349391606, + -0.07746418134883344, + -0.07822676236471712, + -0.0789724581841292, + -0.07970041679499063, + -0.08040989375172004, + -0.08110025217128075, + -0.08177096158661733, + -0.08242159575592103, + -0.08305182953822024, + -0.08366143495398357, + -0.08425027655391386, + -0.08481830622018625, + -0.08536555752241266, + -0.08589213974603027, + -0.08639823170407389, + -0.08688407543487393, + -0.08734996987858362, + -0.08779626461501072, + -0.0882233537344044, + -0.08863166990196676, + -0.08902167866621141, + -0.08939387305111239, + -0.08974876846245727, + -0.09008689793006683, + -0.09040880769965931, + -0.09071505318116163, + -0.09100619525421663, + -0.09128279692648875, + -0.0915454203360909, + -0.091794624085991, + -0.09203096089554044, + -0.09225497555222827, + -0.09246720314532683, + -0.09266816756218275, + -0.09285838022744426, + -0.09303833906543604, + -0.09320852766612443, + -0.09336941463560292, + -0.09352145311271548, + -0.09366508043427238, + -0.09380071793226197, + -0.093928770847484, + -0.0940496283450945, + -0.09416366361863568, + -0.09427123407020391, + -0.09437268155546963, + -0.09446833268329037, + -0.09455849916064381, + -0.09464347817454294, + -0.09472355280347798, + -0.0947989924517519, + -0.09487005330084325, + -0.09493697877263535, + -0.09499999999999964 + ], + "lo": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + }, + "constraint_phi_V": { + "hi": [ + 0.0, + -6.297052455897911e-05, + -0.00012973141170526508, + -0.00020049299128761092, + -0.000275474999459675, + -0.00035490670549944976, + -0.00043902699624954485, + -0.0005280844113637886, + -0.0006223371220667533, + -0.0007220528455165659, + -0.0008275086861903219, + -0.000938990895100708, + -0.0010567945371556592, + -0.001181223056589348, + -0.0013125877301202926, + -0.001451206997348996, + -0.0015974056579288515, + -0.0017515139252710409, + -0.0019138663270208466, + -0.002084800443313756, + -0.0022646554749316044, + -0.002453770634977876, + -0.0026524833596222293, + -0.0028611273358684023, + -0.003080030347211404, + -0.003309511941494286, + -0.0035498809292621165, + -0.0038014327254342036, + -0.004064446552144571, + -0.004339182526077178, + -0.004625878659456069, + -0.004924747809914091, + -0.005235974620589759, + -0.005559712497780646, + -0.005896080679062622, + -0.006245161449676169, + -0.006606997568861872, + -0.006981589970350026, + -0.007368895802020401, + -0.007768826868502891, + -0.008181248536876675, + -0.008605979159392938, + -0.009042790058130128, + -0.009491406104644851, + -0.00995150691310476, + -0.010422728648349061, + -0.010904666431268827, + -0.011396877303473467, + -0.011898883692232385, + -0.012410177296130281, + -0.012930223292845423, + -0.013458464754106647, + -0.013994327140350819, + -0.014537222739938438, + -0.015086554915865314, + -0.015641722027343447, + -0.016202120904692457, + -0.016767149773570272, + -0.017336210548145808, + -0.017908710441424062, + -0.0184840628732377, + -0.019061687690763426, + -0.019641010750931186, + -0.02022146294679667, + -0.020802478788907786, + -0.0213834946761553, + -0.02196394700710645, + -0.0225432702913431, + -0.02312089542032628, + -0.023696248248785273, + -0.02426874862112122, + -0.024837809953855032, + -0.025402839456189347, + -0.02596323903805155, + -0.02651840692047509, + -0.02706773992883194, + -0.027610636417125488, + -0.02814649974294532, + -0.02867474218911136, + -0.029194789210447672, + -0.02970608387305789, + -0.030208091349039276, + -0.030700303331492335, + -0.031182242242346954, + -0.03165346511806037, + -0.03211356707459589, + -0.03256218427212062, + -0.03299899632041127, + -0.03342372808693433, + -0.03383615088999302, + -0.034236083078387075, + -0.03462339001607198, + -0.03499798350488118, + -0.035359820690220846, + -0.035708902503662626, + -0.03604527170259263, + -0.036369010570687844, + -0.03668023834423651, + -0.0369791084285078, + -0.03726580546585353, + -0.03754054231334325, + -0.03780355698284263, + -0.03805510959086361, + -0.03829547935953634, + -0.03852496170392659, + -0.038743865434859165, + -0.03895251010057377, + -0.03915122348506351, + -0.03934033927591729, + -0.03952019490996343, + -0.039691129601025235, + -0.03985348255065403, + -0.0400075913397941, + -0.040153790496929236, + -0.040292410236329755, + -0.040423775358518564, + -0.040548204303960694, + -0.04066600835020429, + -0.04077749094221753, + -0.0408829471454356, + -0.040982663211022105, + -0.041076916243029796, + -0.041165973957474934, + -0.04125009452376612, + -0.041329526479398644, + -0.04140450870931032, + -0.041475270481794925, + -0.041542031533400164, + -0.041668073988744884, + -0.041734999460707044, + -0.041806060309978334, + -0.04188149995844257, + -0.04196157458757885, + -0.04204655360169066, + -0.04213672007926874, + -0.0422323712073267, + -0.04233381869284275, + -0.04244138914467502, + -0.04255542441849453, + -0.04267628191639828, + -0.04280433483192903, + -0.04293997233024342, + -0.043083599652141785, + -0.04323563812961309, + -0.04339652509946813, + -0.04356671370055142, + -0.04374667253895702, + -0.04393688520465168, + -0.044137849621960545, + -0.04435007721553228, + -0.04457409187271378, + -0.0448104286827777, + -0.04505963243321326, + -0.04532225584337195, + -0.04559885751622167, + -0.045889999589875254, + -0.04619624507199689, + -0.04651815484222907, + -0.04685628431049816, + -0.04721117972252178, + -0.04758337410811983, + -0.04797338287307889, + -0.048381699041371816, + -0.04880878816151078, + -0.0492550828986963, + -0.049720977343175744, + -0.05020682107475486, + -0.05071291303358463, + -0.051239495257993074, + -0.051786746561012356, + -0.05235477622807681, + -0.052943617828795385, + -0.05355322324534, + -0.05418345702841024, + -0.054834091198471234, + -0.05550480061454783, + -0.056195159034827656, + -0.05690463599225171, + -0.05763259460377954, + -0.058378290423826217, + -0.0591408714403091, + -0.05991937929578684, + -0.06071275179645204, + -0.061519826748560984, + -0.06233934713573513, + -0.06316996762211441, + -0.06401026233640365, + -0.06485873386138526, + -0.06571382332352273, + -0.06657392144894282, + -0.06743738042644647, + -0.06830252639627805, + -0.0691676723660795, + -0.07003113134349298, + -0.07089122946876346, + -0.07174631893069286, + -0.0725947904554093, + -0.07343508516937804, + -0.07426570565538354, + -0.07508522604213301, + -0.07589230099376905, + -0.07668567349391606, + -0.07746418134883344, + -0.07822676236471712, + -0.0789724581841292, + -0.07970041679499063, + -0.08040989375172004, + -0.08110025217128075, + -0.08177096158661733, + -0.08242159575592103, + -0.08305182953822024, + -0.08366143495398357, + -0.08425027655391386, + -0.08481830622018625, + -0.08536555752241266, + -0.08589213974603027, + -0.08639823170407389, + -0.08688407543487393, + -0.08734996987858362, + -0.08779626461501072, + -0.0882233537344044, + -0.08863166990196676, + -0.08902167866621141, + -0.08939387305111239, + -0.08974876846245727, + -0.09008689793006683, + -0.09040880769965931, + -0.09071505318116163, + -0.09100619525421663, + -0.09128279692648875, + -0.0915454203360909, + -0.091794624085991, + -0.09203096089554044, + -0.09225497555222827, + -0.09246720314532683, + -0.09266816756218275, + -0.09285838022744426, + -0.09303833906543604, + -0.09320852766612443, + -0.09336941463560292, + -0.09352145311271548, + -0.09366508043427238, + -0.09380071793226197, + -0.093928770847484, + -0.0940496283450945, + -0.09416366361863568, + -0.09427123407020391, + -0.09437268155546963, + -0.09446833268329037, + -0.09455849916064381, + -0.09464347817454294, + -0.09472355280347798, + -0.0947989924517519, + -0.09487005330084325, + -0.09493697877263535, + -0.09499999999999964 + ], + "lo": [ + 0.0, + -2.8752971366826288e-21, + -4.5967323943256445e-21, + 2.2168506685876197e-21, + -9.487636082203615e-21, + -2.0344451256884114e-20, + -1.5799983305426424e-20, + -2.834792989122557e-20, + -2.6646846391628662e-20, + -1.6533800659765197e-20, + 3.068185452075079e-20, + -1.1402033612529355e-20, + -9.729269978853583e-20, + -5.625162030559386e-20, + -5.2264244165536244e-20, + -4.036415012357165e-21, + -1.0200282897965659e-19, + 9.928097399114068e-20, + 1.4106685904857626e-20, + -6.383520572225721e-20, + -1.1499751205924832e-19, + 3.3997555311926005e-20, + 1.9287180520261356e-19, + -2.9585159632200827e-20, + -1.1998070117903583e-19, + 1.464803733970275e-19, + 1.3871982074799255e-19, + -7.690206945303909e-20, + -2.5170912000750945e-19, + -3.0237648217228634e-20, + 1.1988144417348185e-19, + 1.8985790931450962e-19, + 1.0849356653491898e-19, + 3.461055055670274e-19, + -1.0897835957516453e-19, + -3.1626046246000823e-19, + -1.2341994070217744e-19, + 3.33706212183102e-19, + 1.0553374867508737e-19, + 2.782934553805993e-19, + 6.476611202051051e-19, + -6.241620623350679e-19, + -3.3053405416948596e-19, + 7.533345549455018e-19, + -3.8404621168680524e-19, + -3.3888626499405165e-19, + -3.339204276011421e-19, + -7.394980972273871e-20, + 8.378609830205038e-19, + 2.163548854330976e-19, + 6.343383807322895e-19, + 6.654885759163659e-21, + -8.120018667791664e-19, + -5.774629017664226e-20, + 7.362313437403872e-19, + -5.1723216831057215e-19, + 1.5981824341067315e-19, + 1.9927955176129674e-19, + 1.6754468134834734e-18, + 1.0362964717016453e-18, + 4.4843428916871435e-19, + -1.203756354005767e-18, + 1.056249863888725e-18, + 3.233431883844206e-19, + 1.14075386303286e-18, + -1.5052128352865268e-18, + -1.2775814090595702e-18, + -1.4680813693840162e-18, + 3.817351023707532e-19, + -1.0931998355265473e-18, + 1.219376580996419e-19, + -9.411566564358238e-19, + -1.0729153182389063e-18, + -1.4001865605294923e-18, + -6.863399509284962e-19, + 5.202930187478844e-19, + -3.4347206032224365e-19, + -1.5366381831828022e-19, + -9.907461032746814e-19, + 1.0331787749466187e-18, + -6.511097403179702e-19, + -4.504627968608069e-19, + 3.819374970722528e-19, + -5.831167785612952e-20, + -1.1094242770147741e-18, + -3.59144385151111e-19, + 6.394913884543373e-19, + -3.417218375545607e-18, + -2.8862531375029725e-18, + -8.29391838230231e-20, + -6.240122018030661e-20, + -3.4440071826505444e-18, + -2.5846255665562273e-18, + -9.700662550954932e-19, + 3.416473287677506e-18, + 1.547009195703504e-18, + -3.0936487056975935e-18, + -3.8068632157966175e-20, + -2.771031667712771e-18, + -1.113165866714203e-18, + -2.3921822133111348e-18, + -2.4545027704250176e-18, + 2.9866488136208967e-18, + 2.2359277038955526e-18, + 1.6169566792634476e-18, + -2.65523548653692e-18, + 6.342384352756706e-19, + -1.6495917148869056e-18, + -5.29447215809919e-19, + -9.54747759698563e-19, + -9.691169407400174e-19, + -2.7423725148156722e-18, + 2.6300876969111523e-18, + 3.426495046477735e-18, + -1.3625642414742225e-18, + -2.3593563047438443e-18, + -7.20150319564994e-19, + 1.0393013863475217e-18, + 1.1969329453443573e-19, + -1.4192735911365548e-18, + -2.425214395992354e-18, + -3.2378845994776722e-18, + -2.7004559842399657e-19, + 2.192147354084911e-18, + -3.4286750176891265e-18, + -9.48234934115919e-19, + 1.5963947789409569e-18, + 1.650324842326543e-18, + 1.137942052617726e-18, + -2.383066562799819e-18, + 7.804567249768677e-19, + -2.3723897852437798e-18, + 3.1205516816897137e-18, + 1.3016342960638527e-18, + 2.8689848473398348e-18, + -1.548985617216465e-18, + -2.976272909469604e-18, + 8.029025258494507e-19, + 1.1093229757684083e-18, + -1.2634231048822633e-18, + -1.8974416547359095e-18, + 2.1731794924011056e-18, + -2.4668936357526404e-18, + 2.2504240067914846e-19, + -1.0387758035312647e-18, + 1.0615275190430504e-18, + -3.0819182788517453e-18, + 2.013434711789276e-18, + 2.857818021779675e-19, + 7.148443330316464e-19, + 2.6270779709118038e-18, + 4.1956089228056363e-19, + -2.3519678627495617e-18, + 4.912093014380409e-19, + 2.501569594847751e-18, + 3.2780478877992225e-18, + 4.399602873073248e-19, + -6.210543927696804e-19, + -2.5846236964152164e-18, + 2.114715727459918e-18, + -2.8470936746152405e-18, + -1.765816252036281e-18, + -1.108718484556383e-18, + -1.169743996060674e-18, + 4.363141474857437e-19, + -7.162260207761523e-19, + 1.0235744714155546e-18, + 7.824664401059697e-19, + -2.4550979688072414e-18, + 1.4471277608371176e-18, + -2.2319611554229524e-18, + 2.6089560387855968e-18, + 9.399974062157242e-19, + -3.743026435387175e-20, + -9.20142436423117e-19, + -1.0559775856392273e-18, + -1.909881586457051e-18, + -2.8846898932302865e-18, + -1.825193881202635e-18, + 2.652872249218733e-18, + 2.449657529135561e-18, + 7.594156044575774e-20, + -7.28279442616895e-19, + -1.4858862566557428e-18, + 1.663902765711891e-18, + -4.486066781991066e-18, + -1.45407846666784e-18, + 8.507009190973743e-20, + -2.125007180282071e-18, + 5.130153239725675e-18, + -2.2983691386167653e-18, + 4.712953841578316e-18, + -6.446674354255345e-18, + -5.817241712790918e-18, + 4.001368776066221e-18, + 5.519121296296559e-18, + 3.9816917599647196e-19, + 1.9443030179126124e-18, + 1.7190840749155774e-18, + 5.390040123970004e-18, + -5.494467582837433e-18, + 8.442726907414102e-19, + 9.008079705812445e-19, + 4.789333664452643e-18, + -2.7649141771785853e-18, + 7.006983242417706e-19, + -3.7286385214883854e-18, + 3.055735501422498e-18, + 6.172183540319367e-18, + 6.392604842822347e-18, + -5.33405332852278e-18, + 4.651279455449502e-18, + 1.3798594926206821e-18, + 5.128390679944339e-18, + -3.0759072160131465e-18, + -3.1175393866374668e-18, + -7.942117001395992e-19, + -5.446722383437258e-18, + -4.0444699122854146e-18, + 6.488145960035364e-18, + 6.63266937368641e-18, + -4.155251984905143e-18, + -1.4612146685205686e-18, + 1.6481430901375812e-19, + 6.299376261004683e-19, + 3.6344707934160034e-20, + -3.52403491732351e-18, + -5.032314214236674e-18, + 2.0676121861666797e-18, + 4.076850561794377e-18, + -5.8941439601357964e-18, + 4.2774477738022197e-19, + 3.1397511030174478e-18, + 5.641499413868454e-18, + 4.509595085133535e-18, + -1.9341057362514762e-18, + 6.223817137837717e-18, + -4.014269352552529e-18, + -1.8966055230117354e-19, + 5.2884336510335095e-18, + -6.403944891795303e-18, + 5.002956977275714e-18, + 3.605995671702859e-18, + 4.1845753118676085e-18, + 1.264587390116799e-18, + -4.646806515959056e-19, + 5.4129925797300825e-18, + 3.769197015132275e-18, + -2.7191022765421285e-18, + 5.4570955468140744e-18, + -1.5425213657582045e-18, + 6.621194630027622e-19, + 2.9739441976170698e-18, + 4.727489151008996e-18, + 2.8526973580133497e-18, + 0.0 + ] + }, + "cross_representation_comparisons": { + "positive_ion_flux": { + "direct_vs_full_DD": { + "diagnostic_original_limit": 1e-06, + "difference": [ + 2.0691582513579143, + 2.4761172530114943, + 1.536871937964683, + 5.168334757420516, + 6.5765204489869244, + 7.2306817829288, + -2.4346911422990947, + 0.02554359551868632, + 10.877339674511658, + -1.9857891292731662, + 6.75279482747641, + 4.788411873049969, + 13.349866976399346, + -16.315652367969548, + 12.054350556652965, + 8.35787659972991, + 5.107922922857779, + -10.588241815744215, + 21.45858757503292, + -6.334189069648254, + -10.401634533010649, + 6.408220538908769, + -11.65040154692556, + 24.09678889591248, + 8.487834709021348, + -0.037268277002182666, + 1.0744652500003047, + -6.976911558243489, + 1.0013685005482775, + 23.244479516454348, + 11.126868815348024, + -24.62097568389779, + 4.2535493884300495, + 14.376072502700943, + 2.355917324334442, + 15.603062451207162, + 4.412924535814671, + -6.319102000521215, + 19.484996163034346, + 16.865677146678333, + -29.242358508543226, + 40.53966080323845, + -35.66112891143934, + 1.6281125195166837, + 37.012281971071694, + -18.039847175882308, + 36.05182935336951, + -54.19252986660157, + 15.553851523301283, + 38.905768178711064, + 10.963400372979011, + -34.80403276689739, + 9.896031865581717, + 17.992465887943638, + -6.903266797004805, + 57.45129022832011, + -23.80680713586751, + -28.45157218203841, + 6.498180925944824, + 38.600473536577596, + -51.989066430046186, + 37.58721965821996, + -66.91543325871677, + 125.43872613897163, + -23.02724120102335, + -67.03644942045891, + 68.17619051106148, + 22.11326321227949, + -30.481116481668217, + -69.51735975954739, + 80.80084800840713, + 66.2974363759411, + -69.32838173914018, + 2.0675869809423952, + 13.933498179559097, + 29.324102546911845, + 11.598612602044225, + 20.01480052392479, + -16.683841713422304, + 18.49706687237952, + -37.30866775407084, + -23.20224414809407, + 162.8217491040783, + 52.82967144761712, + -86.19106521110727, + -88.8834484265308, + 111.07946754382931, + 206.76221090177714, + -377.54829590053237, + 186.82703515940526, + 137.60625638017922, + -447.27365620444675, + 269.28113015892643, + -198.412330993249, + 369.4543186501648, + -184.59467909656698, + 76.34607440460474, + -189.60465226031127, + 544.3757509445122, + -260.15199971363666, + -0.5844001445434378, + -84.29883874383863, + -374.23706570458916, + 147.99214192919825, + 113.38904857315454, + 301.05130817142157, + -121.89640246012449, + -178.522972301231, + -6.3003850919965485, + -435.97846163197266, + 201.3661076171681, + -27.6191723440214, + 533.7965046683169, + 317.7643226431339, + -604.6376390887929, + 1894.311392206909, + -2093.929046495746, + 848.6478248014078, + -411.2058176416953, + -814.4881165517675, + 392.8796238211206, + 2310.7337009586363, + -387.2203134127999, + -952.6417613146804, + -436.31696608198473, + 1232.5256344849895, + -2697.11027944958, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "difference_arithmetic": "DD(high_values)-full_DD_values", + "direct": [ + -7295196079944.042, + -21593358072571.71, + -34447586129661.2, + -44564289715381.42, + -51440663457183.01, + -55449722793470.21, + -57468254893839.95, + -58382109069637.61, + -58802458302263.11, + -59046950812806.164, + -59245224729339.336, + -59439966190335.16, + -59642931529663.41, + -59857148792223.555, + -60083662659737.88, + -60323160577148.1, + -60576290026347.06, + -60843708642635.6, + -61126089722612.97, + -61424121386478.08, + -61738504655990.91, + -62069951167988.85, + -62419180496898.1, + -62786917055175.695, + -63173886562613.555, + -63580812166288.23, + -64008409975691.34, + -64457384305980.63, + -64928422318105.26, + -65422188403183.414, + -65939317990503.86, + -66480411130769.04, + -67046025736536.555, + -67636670522710.484, + -68252797880149.03, + -68894796667234.59, + -69562985055662.45, + -70257603578341.13, + -70978808549658.52, + -71726665958737.23, + -72501146004623.89, + -73302118440359.34, + -74129348927349.61, + -74982496414895.75, + -75861111742776.39, + -76764637565343.75, + -77692409604883.81, + -78643659235850.17, + -79617517436590.22, + -80613019881493.78, + -81629113261389.27, + -82664662444799.5, + -83718458315523.92, + -84789226223065.23, + -85875634491506.39, + -86976302955337.28, + -88089811157488.08, + -89214706069932.34, + -90349508945475.69, + -91492721502411.86, + -92642831040789.9, + -93798314623183.58, + -94957642455459.34, + -96119280421095.28, + -97281692038093.0, + -98443340093012.58, + -99602688078589.5, + -100758201827985.97, + -101908351440020.81, + -103051613883753.95, + -104186476263998.34, + -105311440061237.4, + -106425026288670.0, + -107525781504296.31, + -108612284855759.7, + -109683155653577.48, + -110737061662394.11, + -111772727541447.14, + -112788943483435.2, + -113784573548306.42, + -114758563576919.17, + -115709948423060.02, + -116637858111041.83, + -117541523164758.47, + -118420278359293.2, + -119273565538999.7, + -120100934664968.48, + -120902043938592.66, + -121676658258191.33, + -122424646787109.62, + -123145979100810.08, + -123840720701570.03, + -124509027487257.1, + -125151139674723.58, + -125767375162529.2, + -126358122640171.47, + -126923834386426.14, + -127465019083949.77, + -127982234627430.45, + -128476081154318.28, + -128947194227869.88, + -129396238345616.1, + -129823900882347.39, + -130230886319887.38, + -130617911020676.78, + -130985698343741.03, + -131334974271347.61, + -131666463433688.62, + -131980885379891.03, + -132278949784726.52, + -132561341750855.64, + -132828648531416.33, + -133081004149049.92, + -133316615521224.39, + -133526677057854.2, + -133680997049634.98, + -133695375738887.61, + -133374230116782.94, + -132338616785930.58, + -129979942431074.81, + -125499985883452.6, + -118073740691705.05, + -107098935511471.36, + -92425480142932.12, + -74453094181694.38, + -54054648342696.32, + -32371258004616.688, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "direct_maximum_absolute": 133695375738887.61, + "eliminated": [ + -7295196079946.111, + -21593358072574.188, + -34447586129662.734, + -44564289715386.59, + -51440663457189.586, + -55449722793477.445, + -57468254893837.516, + -58382109069637.63, + -58802458302273.984, + -59046950812804.18, + -59245224729346.086, + -59439966190339.945, + -59642931529676.76, + -59857148792207.24, + -60083662659749.94, + -60323160577156.46, + -60576290026352.17, + -60843708642625.016, + -61126089722634.43, + -61424121386471.74, + -61738504655980.51, + -62069951167995.26, + -62419180496886.45, + -62786917055199.79, + -63173886562622.04, + -63580812166288.19, + -64008409975692.42, + -64457384305973.66, + -64928422318106.26, + -65422188403206.66, + -65939317990514.984, + -66480411130744.42, + -67046025736540.805, + -67636670522724.86, + -68252797880151.39, + -68894796667250.195, + -69562985055666.87, + -70257603578334.81, + -70978808549678.0, + -71726665958754.1, + -72501146004594.64, + -73302118440399.89, + -74129348927313.95, + -74982496414897.38, + -75861111742813.4, + -76764637565325.7, + -77692409604919.86, + -78643659235795.98, + -79617517436605.77, + -80613019881532.69, + -81629113261400.23, + -82664662444764.7, + -83718458315533.81, + -84789226223083.23, + -85875634491499.48, + -86976302955394.73, + -88089811157464.27, + -89214706069903.89, + -90349508945482.19, + -91492721502450.45, + -92642831040737.92, + -93798314623221.17, + -94957642455392.42, + -96119280421220.72, + -97281692038069.97, + -98443340092945.55, + -99602688078657.67, + -100758201828008.08, + -101908351439990.33, + -103051613883684.44, + -104186476264079.14, + -105311440061303.7, + -106425026288600.67, + -107525781504298.38, + -108612284855773.64, + -109683155653606.81, + -110737061662405.7, + -111772727541467.16, + -112788943483418.52, + -113784573548324.92, + -114758563576881.86, + -115709948423036.81, + -116637858111204.66, + -117541523164811.3, + -118420278359207.02, + -119273565538910.81, + -120100934665079.56, + -120902043938799.42, + -121676658257813.78, + -122424646787296.45, + -123145979100947.69, + -123840720701122.75, + -124509027487526.38, + -125151139674525.17, + -125767375162898.66, + -126358122639986.88, + -126923834386502.48, + -127465019083760.16, + -127982234627974.83, + -128476081154058.12, + -128947194227869.3, + -129396238345531.8, + -129823900881973.16, + -130230886320035.36, + -130617911020790.17, + -130985698344042.08, + -131334974271225.72, + -131666463433510.11, + -131980885379884.73, + -132278949784290.53, + -132561341751057.0, + -132828648531388.7, + -133081004149583.72, + -133316615521542.16, + -133526677057249.56, + -133680997051529.3, + -133695375736793.69, + -133374230117631.58, + -132338616785519.38, + -129979942430260.33, + -125499985883845.47, + -118073740694015.78, + -107098935511084.14, + -92425480141979.48, + -74453094181258.06, + -54054648343928.84, + -32371258001919.58, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "eliminated_maximum_absolute": 133695375736793.69, + "floor_active": false, + "maximum_absolute_difference": 2697.11027944958, + "normalization_floor": 1.0, + "normalization_scale": 133695375738887.61, + "relative_error": 2.017354949296933e-11, + "within_original_limit": true + }, + "legacy_binary64_direct_vs_full_DD": { + "diagnostic_original_limit": 1e-06, + "difference": [ + -17.284357373642084, + 3.2808047530114943, + 4.4899969379646825, + -62.51135274257948, + 8.178082948986924, + 37.6369317829288, + -12.294066142299094, + -2.1775814044813138, + -2.083597825488341, + -63.532664129273165, + -7.46595517252359, + 45.63216187304997, + 32.33424197639935, + -35.19846486796955, + 25.929350556652963, + -18.06399840027009, + -7.454577077142221, + 14.958633184255785, + 4.67733757503292, + -19.115439069648254, + 10.973365466989351, + 16.69728303890877, + -45.72852654692556, + 13.581163895912479, + -5.129352790978653, + 4.431481722997817, + -19.769284749999695, + -13.375349058243488, + -4.514256499451722, + 27.408542016454348, + 6.994056315348023, + -21.60535068389779, + -1.2073881115699505, + 31.891697502700943, + 3.715292324334442, + 27.462437451207162, + 14.983237035814671, + -18.764414500521216, + 34.500621163034346, + 23.740677146678333, + -31.382983508543226, + 23.117785803238448, + -35.06737891143934, + -12.215637480483316, + 36.840406971071694, + -5.571097175882306, + 45.08307935336951, + -58.22377986660157, + 14.085101523301283, + 30.10889317871106, + 10.197775372979011, + -31.694657766897397, + 12.817906865581717, + 24.273715887943638, + 0.8311082029951956, + 68.15441522832012, + -27.80680713586751, + -24.71719718203841, + 1.451305925944824, + 45.350473536577596, + -50.473441430046186, + 37.16534465821996, + -71.44668325871677, + 131.71997613897165, + -20.40224120102335, + -64.22394942045891, + 71.03556551106148, + 23.44138821227949, + -37.24674148166822, + -61.68923475954739, + 113.36334800840713, + 68.3599363759411, + -70.28150673914018, + -7.869913019057605, + -8.957126820440903, + 38.980352546911845, + 19.176737602044224, + 13.967925523924789, + -37.527591713422304, + 20.09081687237952, + -37.57429275407084, + -10.65536914809407, + 176.8998741040783, + 63.12654644761712, + -114.94106521110727, + -99.2428234265308, + 130.6732175438293, + 200.57471090177714, + -351.32954590053237, + 185.57703515940526, + 180.85625638017922, + -504.96115620444675, + 311.57800515892643, + -235.193580993249, + 352.1730686501648, + -146.65717909656698, + 158.15857440460474, + -202.88590226031127, + 536.6882509445122, + -205.82387471363663, + -91.85002514454344, + -66.90821374383863, + -411.76831570458916, + 136.69526692919825, + 255.29529857315453, + 361.30130817142157, + -142.4901524601245, + -143.116722301231, + 51.730864908003454, + -580.5097116319727, + 251.5067326171681, + 15.771452655978598, + 420.17150466831686, + 365.8736976431339, + -522.6845140887929, + 1882.702017206909, + -1976.897796495746, + 525.2884498014078, + -331.2839426416953, + -922.1599915517675, + 285.5358738211206, + 2485.0618259586363, + -364.2203134127999, + -868.6261363146804, + -421.31696608198473, + 1160.4240719849895, + -2674.95012319958, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "difference_arithmetic": "DD(high_values)-full_DD_values", + "direct": [ + -7295196079963.3955, + -21593358072570.906, + -34447586129658.246, + -44564289715449.1, + -51440663457181.41, + -55449722793439.805, + -57468254893849.81, + -58382109069639.81, + -58802458302276.07, + -59046950812867.71, + -59245224729353.555, + -59439966190294.31, + -59642931529644.42, + -59857148792242.44, + -60083662659724.01, + -60323160577174.52, + -60576290026359.625, + -60843708642610.055, + -61126089722629.75, + -61424121386490.86, + -61738504655969.53, + -62069951167978.56, + -62419180496932.18, + -62786917055186.21, + -63173886562627.17, + -63580812166283.76, + -64008409975712.19, + -64457384305987.03, + -64928422318110.77, + -65422188403179.25, + -65939317990507.99, + -66480411130766.02, + -67046025736542.016, + -67636670522692.97, + -68252797880147.67, + -68894796667222.734, + -69562985055651.88, + -70257603578353.58, + -70978808549643.5, + -71726665958730.36, + -72501146004626.03, + -73302118440376.77, + -74129348927349.02, + -74982496414909.6, + -75861111742776.56, + -76764637565331.28, + -77692409604874.78, + -78643659235854.2, + -79617517436591.69, + -80613019881502.58, + -81629113261390.03, + -82664662444796.39, + -83718458315521.0, + -84789226223058.95, + -85875634491498.66, + -86976302955326.58, + -88089811157492.08, + -89214706069928.61, + -90349508945480.73, + -91492721502405.11, + -92642831040788.39, + -93798314623184.0, + -94957642455463.88, + -96119280421089.0, + -97281692038090.38, + -98443340093009.77, + -99602688078586.64, + -100758201827984.64, + -101908351440027.58, + -103051613883746.12, + -104186476263965.78, + -105311440061235.34, + -106425026288670.95, + -107525781504306.25, + -108612284855782.6, + -109683155653567.83, + -110737061662386.53, + -111772727541453.19, + -112788943483456.05, + -113784573548304.83, + -114758563576919.44, + -115709948423047.47, + -116637858111027.75, + -117541523164748.17, + -118420278359321.95, + -119273565539010.06, + -120100934664948.89, + -120902043938598.84, + -121676658258165.11, + -122424646787110.88, + -123145979100766.83, + -123840720701627.72, + -124509027487214.8, + -125151139674760.36, + -125767375162546.48, + -126358122640133.53, + -126923834386344.33, + -127465019083963.05, + -127982234627438.14, + -128476081154263.95, + -128947194227961.14, + -129396238345598.7, + -129823900882384.92, + -130230886319898.67, + -130617911020534.88, + -130985698343680.78, + -131334974271368.2, + -131666463433653.22, + -131980885379833.0, + -132278949784871.05, + -132561341750805.5, + -132828648531372.94, + -133081004149163.55, + -133316615521176.28, + -133526677057772.25, + -133680997049646.6, + -133695375738770.58, + -133374230117106.3, + -132338616785850.66, + -129979942431182.48, + -125499985883559.94, + -118073740691530.72, + -107098935511448.36, + -92425480142848.11, + -74453094181679.38, + -54054648342768.42, + -32371258004594.527, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "direct_maximum_absolute": 133695375738770.58, + "eliminated": [ + -7295196079946.111, + -21593358072574.188, + -34447586129662.734, + -44564289715386.59, + -51440663457189.586, + -55449722793477.445, + -57468254893837.516, + -58382109069637.63, + -58802458302273.984, + -59046950812804.18, + -59245224729346.086, + -59439966190339.945, + -59642931529676.76, + -59857148792207.24, + -60083662659749.94, + -60323160577156.46, + -60576290026352.17, + -60843708642625.016, + -61126089722634.43, + -61424121386471.74, + -61738504655980.51, + -62069951167995.26, + -62419180496886.45, + -62786917055199.79, + -63173886562622.04, + -63580812166288.19, + -64008409975692.42, + -64457384305973.66, + -64928422318106.26, + -65422188403206.66, + -65939317990514.984, + -66480411130744.42, + -67046025736540.805, + -67636670522724.86, + -68252797880151.39, + -68894796667250.195, + -69562985055666.87, + -70257603578334.81, + -70978808549678.0, + -71726665958754.1, + -72501146004594.64, + -73302118440399.89, + -74129348927313.95, + -74982496414897.38, + -75861111742813.4, + -76764637565325.7, + -77692409604919.86, + -78643659235795.98, + -79617517436605.77, + -80613019881532.69, + -81629113261400.23, + -82664662444764.7, + -83718458315533.81, + -84789226223083.23, + -85875634491499.48, + -86976302955394.73, + -88089811157464.27, + -89214706069903.89, + -90349508945482.19, + -91492721502450.45, + -92642831040737.92, + -93798314623221.17, + -94957642455392.42, + -96119280421220.72, + -97281692038069.97, + -98443340092945.55, + -99602688078657.67, + -100758201828008.08, + -101908351439990.33, + -103051613883684.44, + -104186476264079.14, + -105311440061303.7, + -106425026288600.67, + -107525781504298.38, + -108612284855773.64, + -109683155653606.81, + -110737061662405.7, + -111772727541467.16, + -112788943483418.52, + -113784573548324.92, + -114758563576881.86, + -115709948423036.81, + -116637858111204.66, + -117541523164811.3, + -118420278359207.02, + -119273565538910.81, + -120100934665079.56, + -120902043938799.42, + -121676658257813.78, + -122424646787296.45, + -123145979100947.69, + -123840720701122.75, + -124509027487526.38, + -125151139674525.17, + -125767375162898.66, + -126358122639986.88, + -126923834386502.48, + -127465019083760.16, + -127982234627974.83, + -128476081154058.12, + -128947194227869.3, + -129396238345531.8, + -129823900881973.16, + -130230886320035.36, + -130617911020790.17, + -130985698344042.08, + -131334974271225.72, + -131666463433510.11, + -131980885379884.73, + -132278949784290.53, + -132561341751057.0, + -132828648531388.7, + -133081004149583.72, + -133316615521542.16, + -133526677057249.56, + -133680997051529.3, + -133695375736793.69, + -133374230117631.58, + -132338616785519.38, + -129979942430260.33, + -125499985883845.47, + -118073740694015.78, + -107098935511084.14, + -92425480141979.48, + -74453094181258.06, + -54054648343928.84, + -32371258001919.58, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "eliminated_maximum_absolute": 133695375736793.69, + "floor_active": false, + "maximum_absolute_difference": 2674.95012319958, + "normalization_floor": 1.0, + "normalization_scale": 133695375738770.58, + "relative_error": 2.000779838807743e-11, + "within_original_limit": true + }, + "rounded_reference_vs_full_DD": { + "diagnostic_original_limit": 1e-06, + "difference": [ + -0.05681831114208563, + -0.03169524698850555, + 0.11890318796468283, + -0.19104024257948404, + -0.16566705101307516, + 0.06661928292879926, + -0.17687864229909478, + 0.02554359551868632, + 0.12733967451165898, + 0.5532733707268338, + -0.46595517252359, + -0.8990881269500309, + 0.40455447639934516, + 0.035910132030451, + 0.4293505566529647, + -0.8296234002700903, + 1.615735422857779, + -0.6507418157442145, + -0.5648499249670806, + -0.34981406964825335, + 0.9811779669893509, + 0.9941580389087689, + -1.32227654692556, + -0.5125861040875217, + 1.440959709021347, + -0.037268277002182666, + -1.0661597499996953, + -0.828474058243489, + 1.0013685005482775, + 0.6507295164543461, + 0.29093131534802325, + -0.32410068389778796, + 0.9176118884300495, + -1.6864274972990572, + -0.7378326756655581, + 0.6655624512071611, + 1.522299535814671, + -0.7331645005212148, + 0.5318711630343462, + 1.1156771466783333, + -3.7423585085432256, + 0.8365358032384482, + 3.02637108856066, + -3.0906374804833163, + 0.1216569710716965, + 0.007027824117693721, + 0.6612043533695128, + 2.2762201333984313, + -1.5242734766987176, + 1.015143178711061, + -1.5053496270209883, + -1.9446577668973961, + 1.7710318655817179, + 1.8518408879436379, + -2.9032667970048043, + 1.5606652283201128, + 0.08381786413249083, + 3.392177817961588, + -1.470569074055176, + -1.3526514634224018, + -3.817191430046186, + 5.2590946582199605, + -1.7279332587167755, + 1.9387261389716341, + -6.355366201023352, + 0.557300579541099, + -0.46443448893852435, + 4.66013821227949, + -3.7779914816682147, + 3.1857652404526116, + -2.855401991592875, + -0.35881362405889383, + -0.9221317391401854, + 2.0675869809423952, + 3.589748179559096, + -2.660272453088154, + 0.5986126020442245, + -2.75082447607521, + 6.878658286577696, + -5.92480812762048, + 0.7382072459291615, + 3.157130851905929, + -1.740750895921698, + -4.326578552382879, + 3.215184788892731, + 4.475926573469194, + -19.014282456170697, + 2.6059609017771477, + 14.389204099467616, + 0.10828515940526953, + -19.096868619820786, + 5.085718795553225, + 10.046755158926434, + 28.712669006751014, + -12.873806349835224, + -33.65717909656697, + 23.346074404604735, + -22.010902260311262, + 14.07887594451219, + -11.464499713636638, + -0.5844001445434378, + 54.37303625616137, + -7.924565704589147, + -6.914108070801753, + -50.42345142684547, + 41.08255817142157, + -30.1932774601245, + 15.680152698768993, + -6.3003850919965485, + -0.22846163197266256, + -29.493267382831906, + 94.74020265597859, + 14.890254668316885, + -94.95442735686612, + -20.965764088792834, + 36.577017206909034, + 41.64907850425396, + -23.102175198592203, + -41.0495676416953, + -28.48811655176746, + -24.432876178879393, + 94.78057595863636, + 83.51406158720012, + -202.53238631468037, + 94.96428391801524, + 103.51000948498945, + 2.3311268004198973, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "difference_arithmetic": "DD(high_values)-full_DD_values", + "direct": [ + -7295196079946.168, + -21593358072574.22, + -34447586129662.617, + -44564289715386.78, + -51440663457189.75, + -55449722793477.375, + -57468254893837.695, + -58382109069637.61, + -58802458302273.86, + -59046950812803.625, + -59245224729346.555, + -59439966190340.84, + -59642931529676.35, + -59857148792207.2, + -60083662659749.51, + -60323160577157.29, + -60576290026350.555, + -60843708642625.664, + -61126089722634.99, + -61424121386472.09, + -61738504655979.52, + -62069951167994.266, + -62419180496887.77, + -62786917055200.305, + -63173886562620.6, + -63580812166288.23, + -64008409975693.484, + -64457384305974.484, + -64928422318105.26, + -65422188403206.01, + -65939317990514.695, + -66480411130744.74, + -67046025736539.89, + -67636670522726.55, + -68252797880152.125, + -68894796667249.53, + -69562985055665.34, + -70257603578335.55, + -70978808549677.47, + -71726665958752.98, + -72501146004598.39, + -73302118440399.05, + -74129348927310.92, + -74982496414900.47, + -75861111742813.28, + -76764637565325.7, + -77692409604919.2, + -78643659235793.7, + -79617517436607.3, + -80613019881531.67, + -81629113261401.73, + -82664662444766.64, + -83718458315532.05, + -84789226223081.38, + -85875634491502.39, + -86976302955393.17, + -88089811157464.19, + -89214706069900.5, + -90349508945483.66, + -91492721502451.81, + -92642831040741.73, + -93798314623215.9, + -94957642455394.16, + -96119280421218.78, + -97281692038076.33, + -98443340092944.98, + -99602688078658.14, + -100758201828003.42, + -101908351439994.11, + -103051613883681.25, + -104186476264082.0, + -105311440061304.06, + -106425026288601.6, + -107525781504296.31, + -108612284855770.05, + -109683155653609.47, + -110737061662405.11, + -111772727541469.9, + -112788943483411.64, + -113784573548330.84, + -114758563576881.12, + -115709948423033.66, + -116637858111206.39, + -117541523164815.62, + -118420278359203.8, + -119273565538906.34, + -120100934665098.58, + -120902043938796.81, + -121676658257799.39, + -122424646787296.34, + -123145979100966.78, + -123840720701117.67, + -124509027487516.33, + -125151139674496.45, + -125767375162911.53, + -126358122640020.53, + -126923834386479.14, + -127465019083782.17, + -127982234627960.75, + -128476081154069.6, + -128947194227869.88, + -129396238345477.42, + -129823900881981.08, + -130230886320042.28, + -130617911020840.6, + -130985698344001.0, + -131334974271255.9, + -131666463433494.42, + -131980885379891.03, + -132278949784290.77, + -132561341751086.5, + -132828648531293.97, + -133081004149568.83, + -133316615521637.11, + -133526677057270.53, + -133680997051492.72, + -133695375736752.03, + -133374230117654.69, + -132338616785560.42, + -129979942430288.81, + -125499985883869.9, + -118073740693921.0, + -107098935511000.62, + -92425480142182.02, + -74453094181163.1, + -54054648343825.336, + -32371258001917.246, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "direct_maximum_absolute": 133695375736752.03, + "eliminated": [ + -7295196079946.111, + -21593358072574.188, + -34447586129662.734, + -44564289715386.59, + -51440663457189.586, + -55449722793477.445, + -57468254893837.516, + -58382109069637.63, + -58802458302273.984, + -59046950812804.18, + -59245224729346.086, + -59439966190339.945, + -59642931529676.76, + -59857148792207.24, + -60083662659749.94, + -60323160577156.46, + -60576290026352.17, + -60843708642625.016, + -61126089722634.43, + -61424121386471.74, + -61738504655980.51, + -62069951167995.26, + -62419180496886.45, + -62786917055199.79, + -63173886562622.04, + -63580812166288.19, + -64008409975692.42, + -64457384305973.66, + -64928422318106.26, + -65422188403206.66, + -65939317990514.984, + -66480411130744.42, + -67046025736540.805, + -67636670522724.86, + -68252797880151.39, + -68894796667250.195, + -69562985055666.87, + -70257603578334.81, + -70978808549678.0, + -71726665958754.1, + -72501146004594.64, + -73302118440399.89, + -74129348927313.95, + -74982496414897.38, + -75861111742813.4, + -76764637565325.7, + -77692409604919.86, + -78643659235795.98, + -79617517436605.77, + -80613019881532.69, + -81629113261400.23, + -82664662444764.7, + -83718458315533.81, + -84789226223083.23, + -85875634491499.48, + -86976302955394.73, + -88089811157464.27, + -89214706069903.89, + -90349508945482.19, + -91492721502450.45, + -92642831040737.92, + -93798314623221.17, + -94957642455392.42, + -96119280421220.72, + -97281692038069.97, + -98443340092945.55, + -99602688078657.67, + -100758201828008.08, + -101908351439990.33, + -103051613883684.44, + -104186476264079.14, + -105311440061303.7, + -106425026288600.67, + -107525781504298.38, + -108612284855773.64, + -109683155653606.81, + -110737061662405.7, + -111772727541467.16, + -112788943483418.52, + -113784573548324.92, + -114758563576881.86, + -115709948423036.81, + -116637858111204.66, + -117541523164811.3, + -118420278359207.02, + -119273565538910.81, + -120100934665079.56, + -120902043938799.42, + -121676658257813.78, + -122424646787296.45, + -123145979100947.69, + -123840720701122.75, + -124509027487526.38, + -125151139674525.17, + -125767375162898.66, + -126358122639986.88, + -126923834386502.48, + -127465019083760.16, + -127982234627974.83, + -128476081154058.12, + -128947194227869.3, + -129396238345531.8, + -129823900881973.16, + -130230886320035.36, + -130617911020790.17, + -130985698344042.08, + -131334974271225.72, + -131666463433510.11, + -131980885379884.73, + -132278949784290.53, + -132561341751057.0, + -132828648531388.7, + -133081004149583.72, + -133316615521542.16, + -133526677057249.56, + -133680997051529.3, + -133695375736793.69, + -133374230117631.58, + -132338616785519.38, + -129979942430260.33, + -125499985883845.47, + -118073740694015.78, + -107098935511084.14, + -92425480141979.48, + -74453094181258.06, + -54054648343928.84, + -32371258001919.58, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "eliminated_maximum_absolute": 133695375736793.69, + "floor_active": false, + "maximum_absolute_difference": 202.53238631468037, + "normalization_floor": 1.0, + "normalization_scale": 133695375736793.69, + "relative_error": 1.5148795176985495e-12, + "within_original_limit": true + } + }, + "positive_ion_rate": { + "direct_vs_full_DD": { + "diagnostic_original_limit": 1e-06, + "difference": [ + -35060677351.291084, + -3325553603.071818, + 7250850613.350408, + -26442950413.06888, + -9688833041.026434, + -4251986407.2517705, + 58925526937.66606, + -14100073117.060755, + -58833139537.132935, + 65756132961.713715, + -42123909349.5836, + 8909233832.967985, + -36719933351.38429, + 120134659282.20132, + -108480437740.55557, + 13356448091.546906, + 11095654009.419329, + 50612242432.0883, + -97726692159.9515, + 80180453366.84077, + 11109918691.986025, + -43459395089.406876, + 44205705247.32331, + -82914160176.6882, + 34328190503.924366, + 17791625017.375996, + -2213965757.2526016, + 15153866904.994991, + -14268055237.267769, + -37806536976.17655, + 19596040880.95007, + 55083217035.53674, + -42400290686.06006, + -14188330750.94287, + 16080762306.466383, + -16937123291.243973, + 13690752364.856699, + 12563452818.58269, + -28956234481.80998, + 2812973496.9448013, + 47690751418.74316, + -69403179868.37263, + 72965893088.81839, + -34417958327.07024, + -31527061415.98643, + 47411075801.04012, + -45101377706.70218, + 72939716034.57658, + -54729754545.49723, + -17806861396.487915, + 20758776634.253082, + 33158587580.219296, + -31649043531.716305, + -5602154088.830851, + 16914090504.921324, + -42948828463.861176, + 53351445849.31205, + 3006038611.154782, + -22336709041.37365, + -20298123766.545048, + 56789079291.64519, + -55775322532.43078, + 64749904492.24326, + -118828814442.80591, + 91621339053.86328, + 27190483738.39228, + -83775896036.5035, + 28677629402.965797, + 32975055707.50109, + 24683391535.966297, + -96072961704.31674, + 9390025012.02886, + 89035597445.82954, + -47633774955.46048, + -8062413413.854724, + -10662706895.008654, + 12542459708.708786, + -6090147749.249435, + 27264305297.090263, + -26842663595.96712, + 43781640908.06629, + -11402190019.791315, + -155093655594.59326, + 94749944813.14182, + 123871870365.77339, + 2481249135.716235, + -191469264593.54556, + -95153031328.6266, + 604251452565.4623, + -607609359294.0852, + 55240783903.80747, + 684716675119.2465, + -876151660286.827, + 597857044515.859, + -759621049280.0411, + 776261922413.3265, + -383244663965.58936, + 409813355270.96356, + -1187531730319.3909, + 1367743833093.481, + -464007602358.5452, + 157446922966.62674, + 574209494603.8673, + -1089597248314.9534, + 76105606762.87978, + -435338189176.58923, + 1035369722025.6621, + 146341531751.83945, + -470154978101.83563, + 1239548216369.353, + -1943817841946.3113, + 738634756483.8439, + -1915889193550.038, + 780262260444.9755, + 3527241074528.6685, + -10120292350663.064, + 17110723347199.092, + -13377974146062.844, + 6071169817307.502, + 2060380891318.462, + -6541559794550.51, + -11021999985089.018, + 16450012480859.215, + 3658254234044.399, + -3545476175296.9136, + -12164888373541.094, + 30412108566728.97, + -14926012889059.334, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "difference_arithmetic": "DD(high_values)-full_DD_values", + "direct": [ + 1.2361758911583281e+23, + 1.1750196189588703e+23, + 9.948099550699838e+22, + 7.3744576093868945e+22, + 4.7219280371345145e+22, + 2.593865944462993e+22, + 1.2307415297748298e+22, + 5.251945359917981e+21, + 2.277491934590281e+21, + 1.2491430054985605e+21, + 9.554649636419081e+20, + 8.853580275240774e+20, + 8.707810535793122e+20, + 8.675415449659475e+20, + 8.661811405687398e+20, + 8.650292804880373e+20, + 8.638372955438747e+20, + 8.62570614290789e+20, + 8.612213707601366e+20, + 8.597844413135973e+20, + 8.58254680211273e+20, + 8.566268747274209e+20, + 8.548957184527048e+20, + 8.530557868300991e+20, + 8.511015615590418e+20, + 8.490276734595436e+20, + 8.46828651824336e+20, + 8.444993311522386e+20, + 8.420346086731077e+20, + 8.394298701090238e+20, + 8.366807745391344e+20, + 8.337836211097498e+20, + 8.30735410301711e+20, + 8.275338984671066e+20, + 8.241778856800867e+20, + 8.20667330563378e+20, + 8.170035084223416e+20, + 8.131891969531461e+20, + 8.092288908046109e+20, + 8.051289477961195e+20, + 8.008977447745952e+20, + 7.965458311213506e+20, + 7.920861096844092e+20, + 7.875338662938996e+20, + 7.829068524506726e+20, + 7.78225332264465e+20, + 7.735120393479705e+20, + 7.687920751978868e+20, + 7.640928083242967e+20, + 7.594435944362799e+20, + 7.548756076485099e+20, + 7.504214399730924e+20, + 7.461146862364835e+20, + 7.4198960203235e+20, + 7.380805028310423e+20, + 7.344212952270107e+20, + 7.310449043114563e+20, + 7.279827493921855e+20, + 7.252640904906036e+20, + 7.229156142180696e+20, + 7.209608411866944e+20, + 7.194196757959849e+20, + 7.183080655779736e+20, + 7.176376299037684e+20, + 7.174154317203771e+20, + 7.176438628694701e+20, + 7.183205523641654e+20, + 7.194384581791403e+20, + 7.209859618698588e+20, + 7.229471603590296e+20, + 7.25302120551869e+20, + 7.280273286162153e+20, + 7.310961297847345e+20, + 7.344791803832308e+20, + 7.381451000242876e+20, + 7.420608999436361e+20, + 7.461926668495968e+20, + 7.505060046791706e+20, + 7.549666614196911e+20, + 7.595409524763802e+20, + 7.641962409692008e+20, + 7.689013549822841e+20, + 7.736268010807764e+20, + 7.78345254910522e+20, + 7.830314832856166e+20, + 7.876628150498112e+20, + 7.92218858671393e+20, + 7.966819127702859e+20, + 8.010365985949134e+20, + 8.052701089014102e+20, + 8.093717754761308e+20, + 8.133332843375182e+20, + 8.171482744461483e+20, + 8.20812290319962e+20, + 8.243225289202133e+20, + 8.2767777626495e+20, + 8.30878083495833e+20, + 8.33924703923041e+20, + 8.368198458057915e+20, + 8.395666256697818e+20, + 8.421687896047142e+20, + 8.44630598034795e+20, + 8.469568399367465e+20, + 8.491525134966502e+20, + 8.512229539343995e+20, + 8.531735482928668e+20, + 8.55009789704862e+20, + 8.567371049720076e+20, + 8.583602661411345e+20, + 8.598788949583976e+20, + 8.61254571945341e+20, + 8.622098831876226e+20, + 8.611964942907918e+20, + 8.509916827284425e+20, + 8.032680002522491e+20, + 6.249683264953339e+20, + 6.168880961611359e+19, + -1.4600324608876937e+21, + -4.990531638307616e+21, + -1.20507641157301e+22, + -2.4272828668667427e+22, + -4.267883761910471e+22, + -6.691569836331842e+22, + -9.493742291002358e+22, + -1.2341434068465755e+23, + -1.4869218304409437e+23, + -1.6781134170164273e+23, + -1.791449639414751e+23, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "direct_maximum_absolute": 1.791449639414751e+23, + "eliminated": [ + 1.2361758911586787e+23, + 1.1750196189589035e+23, + 9.948099550699113e+22, + 7.374457609389539e+22, + 4.721928037135483e+22, + 2.5938659444634182e+22, + 1.2307415297689372e+22, + 5.251945359932081e+21, + 2.2774919346491142e+21, + 1.2491430054328043e+21, + 9.55464963684032e+20, + 8.853580275151682e+20, + 8.707810536160322e+20, + 8.675415448458128e+20, + 8.661811406772202e+20, + 8.650292804746808e+20, + 8.638372955327791e+20, + 8.625706142401768e+20, + 8.612213708578632e+20, + 8.597844412334169e+20, + 8.582546802001631e+20, + 8.566268747708803e+20, + 8.548957184084991e+20, + 8.530557869130133e+20, + 8.511015615247137e+20, + 8.49027673441752e+20, + 8.468286518265499e+20, + 8.444993311370847e+20, + 8.420346086873758e+20, + 8.394298701468303e+20, + 8.366807745195383e+20, + 8.337836210546665e+20, + 8.307354103441114e+20, + 8.275338984812949e+20, + 8.24177885664006e+20, + 8.206673305803151e+20, + 8.170035084086508e+20, + 8.131891969405826e+20, + 8.092288908335672e+20, + 8.051289477933066e+20, + 8.008977447269044e+20, + 7.965458311907537e+20, + 7.920861096114432e+20, + 7.875338663283175e+20, + 7.829068524821996e+20, + 7.782253322170538e+20, + 7.735120393930719e+20, + 7.68792075124947e+20, + 7.640928083790265e+20, + 7.594435944540868e+20, + 7.548756076277511e+20, + 7.504214399399338e+20, + 7.461146862681326e+20, + 7.419896020379522e+20, + 7.380805028141282e+20, + 7.344212952699596e+20, + 7.310449042581049e+20, + 7.279827493891795e+20, + 7.252640905129403e+20, + 7.229156142383677e+20, + 7.209608411299054e+20, + 7.194196758517602e+20, + 7.183080655132236e+20, + 7.176376300225972e+20, + 7.174154316287558e+20, + 7.176438628422796e+20, + 7.183205524479413e+20, + 7.194384581504627e+20, + 7.209859618368837e+20, + 7.229471603343462e+20, + 7.253021206479421e+20, + 7.280273286068253e+20, + 7.310961296956989e+20, + 7.344791804308645e+20, + 7.3814510003235e+20, + 7.420608999542988e+20, + 7.461926668370544e+20, + 7.505060046852607e+20, + 7.549666613924269e+20, + 7.595409525032228e+20, + 7.641962409254192e+20, + 7.689013549936863e+20, + 7.736268012358701e+20, + 7.78345254815772e+20, + 7.830314831617448e+20, + 7.8766281504733e+20, + 7.922188588628623e+20, + 7.96681912865439e+20, + 8.01036597990662e+20, + 8.052701095090196e+20, + 8.0937177542089e+20, + 8.133332836528015e+20, + 8.171482753223e+20, + 8.20812289722105e+20, + 8.243225296798343e+20, + 8.276777754886882e+20, + 8.308780838790777e+20, + 8.339247035132276e+20, + 8.368198469933232e+20, + 8.39566624302038e+20, + 8.421687900687217e+20, + 8.44630597877348e+20, + 8.469568393625369e+20, + 8.491525145862474e+20, + 8.512229538582938e+20, + 8.53173548728205e+20, + 8.550097886694923e+20, + 8.567371048256661e+20, + 8.583602666112895e+20, + 8.598788937188495e+20, + 8.612545738891588e+20, + 8.622098824489878e+20, + 8.611964962066811e+20, + 8.509916819481802e+20, + 8.03267996725008e+20, + 6.249683366156262e+20, + 6.168879250539024e+19, + -1.4600324475097197e+21, + -4.990531644378787e+21, + -1.205076411779048e+22, + -2.427282866212587e+22, + -4.267883760808271e+22, + -6.691569837976843e+22, + -9.493742291368183e+22, + -1.2341434068111207e+23, + -1.4869218303192948e+23, + -1.6781134173205482e+23, + -1.791449639265491e+23, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "eliminated_maximum_absolute": 1.791449639265491e+23, + "floor_active": false, + "maximum_absolute_difference": 30412108566728.97, + "normalization_floor": 1.791449639414751e+23, + "normalization_scale": 1.791449639414751e+23, + "relative_error": 1.6976256489501043e-10, + "within_original_limit": true + }, + "legacy_binary64_direct_vs_full_DD": { + "diagnostic_original_limit": 1e-06, + "difference": [ + 292883563800.7089, + -169000561603.0718, + -9358593226.649593, + 488399476978.93115, + -485415181329.0264, + -190600718823.25177, + 304439111577.6661, + -58139216541.06075, + -509245265.13293374, + 313950926433.7137, + -270180669669.58362, + -241401323863.032, + 57051990104.61571, + 273495321810.20132, + -233750666732.55557, + 158897092955.5469, + -36206002566.58067, + -72294758399.9117, + 31356421312.048492, + 68639170550.840775, + -82141386780.01398, + -14793555473.406878, + 152815241247.3233, + -137583504944.6882, + 41151929895.92437, + -19948198086.624004, + 47928021058.7474, + -12026664807.005009, + -15840263877.267769, + -54270490896.17655, + 33029216944.95007, + 44069499019.53674, + -29959067518.06006, + -46374108926.94287, + 37690865090.466385, + -30356012507.243973, + 15258504556.856699, + 39508317074.58269, + -59766149873.809975, + 11583918520.944801, + 57003941306.74316, + -54199614300.372635, + 55713147872.81838, + -21094227383.070236, + -43712300967.98643, + 36529871577.04012, + -42231949482.70218, + 83491798466.57658, + -56733845425.49723, + -12224111700.487915, + 14792379194.253082, + 30357841084.219296, + -31516005451.716305, + -7938250344.830851, + 15926331912.921324, + -44921462063.861176, + 63000835417.31205, + -1999469996.845218, + -16724599217.37365, + -27759790582.545048, + 60068500731.64519, + -54565134756.43078, + 67294929516.24326, + -125512437866.80591, + 93886525357.86328, + 27072256794.39228, + -83805518308.5035, + 29632751066.965797, + 38043085659.50109, + 15456315951.966297, + -111877885608.31674, + 29124225332.02886, + 91021469317.82954, + -41644177771.46048, + 738678170.1452756, + -33218363087.008656, + 14021476156.708786, + 3774593114.750564, + 38257051793.09026, + -43955686059.967125, + 45244273356.06629, + -21755698371.791313, + -156370559018.59326, + 97995287533.14182, + 158670568861.77338, + -14490870928.283766, + -220148211409.54556, + -69515217056.6266, + 570729788565.4623, + -578023394238.0852, + 5296977951.807475, + 802885685295.2465, + -998394126078.827, + 698938329123.859, + -785705425856.0411, + 698895363693.3265, + -447692242077.58936, + 556342283014.9636, + -1196581072271.3909, + 1262312006661.481, + -203741339830.5452, + -46914379049.37325, + 682972253771.8673, + -1144338813754.9534, + -260849179029.1202, + -245907167608.5892, + 1233255936169.662, + 1619431527.8394427, + -531926721333.83563, + 1823935743025.353, + -2537529568538.3115, + 760374620547.8439, + -1380068037198.038, + 196115250908.97552, + 3397815600992.6685, + -9741384563399.064, + 16558819369727.092, + -11375752614926.844, + 4127748496091.502, + 3018859047094.462, + -6543409482614.51, + -12640732893633.018, + 17372675474779.215, + 3263503118780.399, + -3071620486592.9136, + -11529921079589.094, + 29682601660616.97, + -14803371440099.334, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "difference_arithmetic": "DD(high_values)-full_DD_values", + "direct": [ + 1.2361758911616075e+23, + 1.1750196189572135e+23, + 9.948099550698177e+22, + 7.374457609438379e+22, + 4.721928037086942e+22, + 2.593865944444358e+22, + 1.2307415297993812e+22, + 5.251945359873942e+21, + 2.2774919346486048e+21, + 1.2491430057467553e+21, + 9.554649634138514e+20, + 8.853580272737668e+20, + 8.707810536730842e+20, + 8.675415451193082e+20, + 8.661811404434696e+20, + 8.650292806335779e+20, + 8.638372954965731e+20, + 8.62570614167882e+20, + 8.612213708892197e+20, + 8.59784441302056e+20, + 8.582546801180217e+20, + 8.566268747560868e+20, + 8.548957185613144e+20, + 8.530557867754298e+20, + 8.511015615658656e+20, + 8.490276734218038e+20, + 8.468286518744779e+20, + 8.444993311250581e+20, + 8.420346086715355e+20, + 8.394298700925598e+20, + 8.366807745525675e+20, + 8.33783621098736e+20, + 8.307354103141522e+20, + 8.275338984349208e+20, + 8.241778857016968e+20, + 8.206673305499591e+20, + 8.170035084239093e+20, + 8.13189196980091e+20, + 8.09228890773801e+20, + 8.051289478048905e+20, + 8.008977447839084e+20, + 7.965458311365541e+20, + 7.920861096671564e+20, + 7.875338663072233e+20, + 7.829068524384873e+20, + 7.782253322535837e+20, + 7.7351203935084e+20, + 7.687920752084388e+20, + 7.640928083222926e+20, + 7.594435944418627e+20, + 7.548756076425435e+20, + 7.504214399702916e+20, + 7.461146862366166e+20, + 7.419896020300139e+20, + 7.380805028300545e+20, + 7.34421295225038e+20, + 7.310449043211057e+20, + 7.2798274938718e+20, + 7.252640904962157e+20, + 7.22915614210608e+20, + 7.209608411899738e+20, + 7.19419675797195e+20, + 7.183080655805186e+20, + 7.176376298970848e+20, + 7.174154317226423e+20, + 7.176438628693519e+20, + 7.183205523641358e+20, + 7.194384581800954e+20, + 7.209859618749269e+20, + 7.229471603498025e+20, + 7.253021205360641e+20, + 7.280273286359495e+20, + 7.310961297867204e+20, + 7.344791803892204e+20, + 7.381451000330887e+20, + 7.420608999210805e+20, + 7.461926668510758e+20, + 7.505060046890353e+20, + 7.549666614306839e+20, + 7.595409524592671e+20, + 7.641962409706635e+20, + 7.689013549719306e+20, + 7.736268010794995e+20, + 7.783452549137674e+20, + 7.830314833204153e+20, + 7.876628150328391e+20, + 7.92218858642714e+20, + 7.966819127959237e+20, + 8.010365985613918e+20, + 8.052701089309962e+20, + 8.09371775426187e+20, + 8.133332844556873e+20, + 8.171482743239058e+20, + 8.208122904210432e+20, + 8.243225288941289e+20, + 8.276777761875835e+20, + 8.308780834313854e+20, + 8.339247040695699e+20, + 8.368198457967422e+20, + 8.3956662556435e+20, + 8.421687898649804e+20, + 8.446305978304337e+20, + 8.469568400455092e+20, + 8.491525134419087e+20, + 8.512229535974447e+20, + 8.531735484822979e+20, + 8.550097899027483e+20, + 8.567371048272855e+20, + 8.583602660793627e+20, + 8.598788955427851e+20, + 8.612545713516292e+20, + 8.622098832093624e+20, + 8.61196494826613e+20, + 8.509916821442955e+20, + 8.032680001228236e+20, + 6.249683268742417e+20, + 6.168880906420961e+19, + -1.4600324588854722e+21, + -4.990531640251038e+21, + -1.205076411477162e+22, + -2.4272828668669277e+22, + -4.2678837620723444e+22, + -6.691569836239576e+22, + -9.493742291041833e+22, + -1.2341434068418369e+23, + -1.486921830434594e+23, + -1.6781134170237223e+23, + -1.7914496394135246e+23, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0 + ], + "direct_maximum_absolute": 1.7914496394135246e+23, + "eliminated": [ + 1.2361758911586787e+23, + 1.1750196189589035e+23, + 9.948099550699113e+22, + 7.374457609389539e+22, + 4.721928037135483e+22, + 2.5938659444634182e+22, + 1.2307415297689372e+22, + 5.251945359932081e+21, + 2.2774919346491142e+21, + 1.2491430054328043e+21, + 9.55464963684032e+20, + 8.853580275151682e+20, + 8.707810536160322e+20, + 8.675415448458128e+20, + 8.661811406772202e+20, + 8.650292804746808e+20, + 8.638372955327791e+20, + 8.625706142401768e+20, + 8.612213708578632e+20, + 8.597844412334169e+20, + 8.582546802001631e+20, + 8.566268747708803e+20, + 8.548957184084991e+20, + 8.530557869130133e+20, + 8.511015615247137e+20, + 8.49027673441752e+20, + 8.468286518265499e+20, + 8.444993311370847e+20, + 8.420346086873758e+20, + 8.394298701468303e+20, + 8.366807745195383e+20, + 8.337836210546665e+20, + 8.307354103441114e+20, + 8.275338984812949e+20, + 8.24177885664006e+20, + 8.206673305803151e+20, + 8.170035084086508e+20, + 8.131891969405826e+20, + 8.092288908335672e+20, + 8.051289477933066e+20, + 8.008977447269044e+20, + 7.965458311907537e+20, + 7.920861096114432e+20, + 7.875338663283175e+20, + 7.829068524821996e+20, + 7.782253322170538e+20, + 7.735120393930719e+20, + 7.68792075124947e+20, + 7.640928083790265e+20, + 7.594435944540868e+20, + 7.548756076277511e+20, + 7.504214399399338e+20, + 7.461146862681326e+20, + 7.419896020379522e+20, + 7.380805028141282e+20, + 7.344212952699596e+20, + 7.310449042581049e+20, + 7.279827493891795e+20, + 7.252640905129403e+20, + 7.229156142383677e+20, + 7.209608411299054e+20, + 7.194196758517602e+20, + 7.183080655132236e+20, + 7.176376300225972e+20, + 7.174154316287558e+20, + 7.176438628422796e+20, + 7.183205524479413e+20, + 7.194384581504627e+20, + 7.209859618368837e+20, + 7.229471603343462e+20, + 7.253021206479421e+20, + 7.280273286068253e+20, + 7.310961296956989e+20, + 7.344791804308645e+20, + 7.3814510003235e+20, + 7.420608999542988e+20, + 7.461926668370544e+20, + 7.505060046852607e+20, + 7.549666613924269e+20, + 7.595409525032228e+20, + 7.641962409254192e+20, + 7.689013549936863e+20, + 7.736268012358701e+20, + 7.78345254815772e+20, + 7.830314831617448e+20, + 7.8766281504733e+20, + 7.922188588628623e+20, + 7.96681912865439e+20, + 8.01036597990662e+20, + 8.052701095090196e+20, + 8.0937177542089e+20, + 8.133332836528015e+20, + 8.171482753223e+20, + 8.20812289722105e+20, + 8.243225296798343e+20, + 8.276777754886882e+20, + 8.308780838790777e+20, + 8.339247035132276e+20, + 8.368198469933232e+20, + 8.39566624302038e+20, + 8.421687900687217e+20, + 8.44630597877348e+20, + 8.469568393625369e+20, + 8.491525145862474e+20, + 8.512229538582938e+20, + 8.53173548728205e+20, + 8.550097886694923e+20, + 8.567371048256661e+20, + 8.583602666112895e+20, + 8.598788937188495e+20, + 8.612545738891588e+20, + 8.622098824489878e+20, + 8.611964962066811e+20, + 8.509916819481802e+20, + 8.03267996725008e+20, + 6.249683366156262e+20, + 6.168879250539024e+19, + -1.4600324475097197e+21, + -4.990531644378787e+21, + -1.205076411779048e+22, + -2.427282866212587e+22, + -4.267883760808271e+22, + -6.691569837976843e+22, + -9.493742291368183e+22, + -1.2341434068111207e+23, + -1.4869218303192948e+23, + -1.6781134173205482e+23, + -1.791449639265491e+23, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "eliminated_maximum_absolute": 1.791449639265491e+23, + "floor_active": false, + "maximum_absolute_difference": 29682601660616.97, + "normalization_floor": 1.7914496394135246e+23, + "normalization_scale": 1.7914496394135246e+23, + "relative_error": 1.6569040517563365e-10, + "within_original_limit": true + }, + "rounded_reference_vs_full_DD": { + "diagnostic_original_limit": 1e-06, + "difference": [ + 960005400.7089146, + -204991427.07181785, + -1171311818.6495926, + 2271254770.9311223, + -167762961.02643475, + -1525688807.2517705, + 1467756441.666063, + -1129187997.060754, + -558528337.1329337, + -2188446110.286286, + 4919011098.416396, + 1978670760.9679856, + -5622577063.384289, + 1501261010.2013276, + -1504058860.5555685, + 4554832219.546905, + -8357003654.58067, + 7318898688.088306, + -259062591.95150748, + -613244937.1592278, + -3632273436.0139756, + -38256145.406878, + 5670275103.32331, + -1881255472.6882079, + -4301218264.075632, + 3093866297.3759966, + 2031063106.7473984, + -449730407.0050088, + -3270459077.267769, + 597165807.8234504, + 582736560.950071, + 950743179.536746, + -1820792702.0600574, + 3642573057.057131, + -1264912957.533617, + -1795292635.2439735, + -1048425107.1433004, + 2641957778.582689, + -1429410545.8099773, + -623341127.0551987, + 5023800762.743155, + -4554783580.372635, + -2088424479.1816154, + 5644198472.929765, + -2863450023.9864306, + 92248793.04011966, + -542009514.7021804, + -1309688381.423414, + 2992781390.502771, + -1941775444.4879153, + 1870383930.2530825, + 315221180.2192948, + -2624590923.716304, + -54269544.83085052, + 3223489032.921324, + -2973441327.8611784, + 963671385.3120536, + -2132901292.845218, + 3102400078.6263494, + -72010230.54504916, + 1547867387.6451895, + -5657846180.430776, + 4328202860.243263, + -2261766250.8059106, + 5119061933.863276, + -4268238053.6077194, + 635389467.4965036, + -3192003109.034204, + 5290158939.501091, + -4405286352.033702, + 3854365015.6832514, + -1609144011.9711401, + 367748741.8295449, + -1993849195.4604764, + -1038789221.8547244, + 4330225968.991346, + -2304983235.291214, + 2425600090.750564, + -7144847214.909737, + 9765746004.032879, + -5227359539.933711, + -1962777795.7913141, + 4086996949.406734, + 2229496813.141812, + -6728794722.226615, + -1159406736.2837648, + 22495813934.45443, + -21499480224.626606, + -12193663850.537775, + 15378609217.91479, + 21544925215.807476, + -28312252368.75349, + -6064529150.826967, + -23857035228.141, + 55636829247.95891, + 29105385069.326515, + -83702807709.58934, + 69872618246.96358, + -58378431887.390854, + 43416069125.48087, + -19432743094.54521, + -103368400169.37325, + 123365199435.86726, + -2123010874.953425, + 95721055850.87978, + -212282874232.5892, + 174459072681.66214, + -118528241560.16055, + 59997707466.164345, + -17532140494.646973, + 89283465957.68866, + -400727871100.15607, + 272486165937.96188, + 396711116508.9755, + -282916583583.3318, + -233000811207.06403, + -21806488832.90795, + 294425881585.15607, + 86458997467.50209, + -64178788169.53805, + -21942045558.509953, + -685137777089.0168, + 68654892379.21568, + 1850794422716.399, + -2042875155904.9136, + -62324844837.09371, + 783041794248.9702, + 12889999388.666296, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "difference_arithmetic": "DD(high_values)-full_DD_values", + "direct": [ + 1.2361758911586883e+23, + 1.1750196189589015e+23, + 9.948099550698995e+22, + 7.374457609389766e+22, + 4.721928037135467e+22, + 2.5938659444632655e+22, + 1.230741529769084e+22, + 5.251945359930952e+21, + 2.2774919346485555e+21, + 1.249143005430616e+21, + 9.55464963688951e+20, + 8.853580275171468e+20, + 8.707810536104096e+20, + 8.675415448473141e+20, + 8.661811406757162e+20, + 8.650292804792357e+20, + 8.638372955244221e+20, + 8.625706142474957e+20, + 8.612213708576043e+20, + 8.597844412328036e+20, + 8.582546801965308e+20, + 8.56626874770842e+20, + 8.548957184141694e+20, + 8.53055786911132e+20, + 8.511015615204124e+20, + 8.490276734448459e+20, + 8.46828651828581e+20, + 8.44499331136635e+20, + 8.420346086841053e+20, + 8.394298701474275e+20, + 8.36680774520121e+20, + 8.337836210556173e+20, + 8.307354103422905e+20, + 8.275338984849375e+20, + 8.24177885662741e+20, + 8.206673305785198e+20, + 8.170035084076024e+20, + 8.131891969432246e+20, + 8.092288908321377e+20, + 8.051289477926832e+20, + 8.008977447319283e+20, + 7.96545831186199e+20, + 7.920861096093549e+20, + 7.875338663339617e+20, + 7.829068524793362e+20, + 7.782253322171461e+20, + 7.735120393925299e+20, + 7.687920751236374e+20, + 7.640928083820193e+20, + 7.59443594452145e+20, + 7.548756076296215e+20, + 7.50421439940249e+20, + 7.46114686265508e+20, + 7.419896020378979e+20, + 7.380805028173517e+20, + 7.344212952669861e+20, + 7.310449042590685e+20, + 7.279827493870465e+20, + 7.252640905160427e+20, + 7.229156142382957e+20, + 7.209608411314532e+20, + 7.194196758461024e+20, + 7.183080655175519e+20, + 7.176376300203354e+20, + 7.174154316338748e+20, + 7.176438628380114e+20, + 7.183205524485767e+20, + 7.194384581472707e+20, + 7.20985961842174e+20, + 7.229471603299409e+20, + 7.253021206517964e+20, + 7.280273286052162e+20, + 7.310961296960667e+20, + 7.344791804288707e+20, + 7.381451000313112e+20, + 7.420608999586291e+20, + 7.461926668347494e+20, + 7.505060046876863e+20, + 7.54966661385282e+20, + 7.595409525129886e+20, + 7.641962409201918e+20, + 7.689013549917235e+20, + 7.73626801239957e+20, + 7.783452548180016e+20, + 7.830314831550159e+20, + 7.876628150461706e+20, + 7.92218858885358e+20, + 7.966819128439395e+20, + 8.010365979784683e+20, + 8.052701095243982e+20, + 8.093717754424349e+20, + 8.133332836244893e+20, + 8.171482753162354e+20, + 8.208122896982479e+20, + 8.243225297354711e+20, + 8.276777755177935e+20, + 8.308780837953748e+20, + 8.339247035831002e+20, + 8.368198469349448e+20, + 8.39566624345454e+20, + 8.42168790049289e+20, + 8.446305977739797e+20, + 8.469568394859022e+20, + 8.491525145841245e+20, + 8.512229539540149e+20, + 8.531735485159221e+20, + 8.550097888439514e+20, + 8.567371047071378e+20, + 8.583602666712872e+20, + 8.598788937013173e+20, + 8.612545739784423e+20, + 8.6220988204826e+20, + 8.611964964791672e+20, + 8.509916823448913e+20, + 8.032679964420915e+20, + 6.249683363826254e+20, + 6.1688792483583754e+19, + -1.4600324472152937e+21, + -4.990531644292327e+21, + -1.2050764117854659e+22, + -2.427282866214781e+22, + -4.267883760876785e+22, + -6.691569837969978e+22, + -9.493742291183104e+22, + -1.2341434068315494e+23, + -1.486921830319918e+23, + -1.678113417312718e+23, + -1.791449639265362e+23, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "direct_maximum_absolute": 1.791449639265362e+23, + "eliminated": [ + 1.2361758911586787e+23, + 1.1750196189589035e+23, + 9.948099550699113e+22, + 7.374457609389539e+22, + 4.721928037135483e+22, + 2.5938659444634182e+22, + 1.2307415297689372e+22, + 5.251945359932081e+21, + 2.2774919346491142e+21, + 1.2491430054328043e+21, + 9.55464963684032e+20, + 8.853580275151682e+20, + 8.707810536160322e+20, + 8.675415448458128e+20, + 8.661811406772202e+20, + 8.650292804746808e+20, + 8.638372955327791e+20, + 8.625706142401768e+20, + 8.612213708578632e+20, + 8.597844412334169e+20, + 8.582546802001631e+20, + 8.566268747708803e+20, + 8.548957184084991e+20, + 8.530557869130133e+20, + 8.511015615247137e+20, + 8.49027673441752e+20, + 8.468286518265499e+20, + 8.444993311370847e+20, + 8.420346086873758e+20, + 8.394298701468303e+20, + 8.366807745195383e+20, + 8.337836210546665e+20, + 8.307354103441114e+20, + 8.275338984812949e+20, + 8.24177885664006e+20, + 8.206673305803151e+20, + 8.170035084086508e+20, + 8.131891969405826e+20, + 8.092288908335672e+20, + 8.051289477933066e+20, + 8.008977447269044e+20, + 7.965458311907537e+20, + 7.920861096114432e+20, + 7.875338663283175e+20, + 7.829068524821996e+20, + 7.782253322170538e+20, + 7.735120393930719e+20, + 7.68792075124947e+20, + 7.640928083790265e+20, + 7.594435944540868e+20, + 7.548756076277511e+20, + 7.504214399399338e+20, + 7.461146862681326e+20, + 7.419896020379522e+20, + 7.380805028141282e+20, + 7.344212952699596e+20, + 7.310449042581049e+20, + 7.279827493891795e+20, + 7.252640905129403e+20, + 7.229156142383677e+20, + 7.209608411299054e+20, + 7.194196758517602e+20, + 7.183080655132236e+20, + 7.176376300225972e+20, + 7.174154316287558e+20, + 7.176438628422796e+20, + 7.183205524479413e+20, + 7.194384581504627e+20, + 7.209859618368837e+20, + 7.229471603343462e+20, + 7.253021206479421e+20, + 7.280273286068253e+20, + 7.310961296956989e+20, + 7.344791804308645e+20, + 7.3814510003235e+20, + 7.420608999542988e+20, + 7.461926668370544e+20, + 7.505060046852607e+20, + 7.549666613924269e+20, + 7.595409525032228e+20, + 7.641962409254192e+20, + 7.689013549936863e+20, + 7.736268012358701e+20, + 7.78345254815772e+20, + 7.830314831617448e+20, + 7.8766281504733e+20, + 7.922188588628623e+20, + 7.96681912865439e+20, + 8.01036597990662e+20, + 8.052701095090196e+20, + 8.0937177542089e+20, + 8.133332836528015e+20, + 8.171482753223e+20, + 8.20812289722105e+20, + 8.243225296798343e+20, + 8.276777754886882e+20, + 8.308780838790777e+20, + 8.339247035132276e+20, + 8.368198469933232e+20, + 8.39566624302038e+20, + 8.421687900687217e+20, + 8.44630597877348e+20, + 8.469568393625369e+20, + 8.491525145862474e+20, + 8.512229538582938e+20, + 8.53173548728205e+20, + 8.550097886694923e+20, + 8.567371048256661e+20, + 8.583602666112895e+20, + 8.598788937188495e+20, + 8.612545738891588e+20, + 8.622098824489878e+20, + 8.611964962066811e+20, + 8.509916819481802e+20, + 8.03267996725008e+20, + 6.249683366156262e+20, + 6.168879250539024e+19, + -1.4600324475097197e+21, + -4.990531644378787e+21, + -1.205076411779048e+22, + -2.427282866212587e+22, + -4.267883760808271e+22, + -6.691569837976843e+22, + -9.493742291368183e+22, + -1.2341434068111207e+23, + -1.4869218303192948e+23, + -1.6781134173205482e+23, + -1.791449639265491e+23, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "eliminated_maximum_absolute": 1.791449639265491e+23, + "floor_active": true, + "maximum_absolute_difference": 2042875155904.9136, + "normalization_floor": 1.791449639414751e+23, + "normalization_scale": 1.791449639414751e+23, + "relative_error": 1.1403475213360174e-11, + "within_original_limit": true + } + } + }, + "cross_representation_role": "diagnostic_only_not_original_gate_channels", + "full_DD_transport": { + "positive_flux_m2_s": { + "hi": [ + -7295196079946.111, + -21593358072574.188, + -34447586129662.734, + -44564289715386.59, + -51440663457189.586, + -55449722793477.445, + -57468254893837.516, + -58382109069637.63, + -58802458302273.984, + -59046950812804.18, + -59245224729346.086, + -59439966190339.945, + -59642931529676.76, + -59857148792207.24, + -60083662659749.94, + -60323160577156.46, + -60576290026352.17, + -60843708642625.016, + -61126089722634.43, + -61424121386471.74, + -61738504655980.51, + -62069951167995.26, + -62419180496886.45, + -62786917055199.79, + -63173886562622.04, + -63580812166288.19, + -64008409975692.42, + -64457384305973.66, + -64928422318106.26, + -65422188403206.66, + -65939317990514.984, + -66480411130744.42, + -67046025736540.805, + -67636670522724.86, + -68252797880151.39, + -68894796667250.195, + -69562985055666.87, + -70257603578334.81, + -70978808549678.0, + -71726665958754.1, + -72501146004594.64, + -73302118440399.89, + -74129348927313.95, + -74982496414897.38, + -75861111742813.4, + -76764637565325.7, + -77692409604919.86, + -78643659235795.98, + -79617517436605.77, + -80613019881532.69, + -81629113261400.23, + -82664662444764.7, + -83718458315533.81, + -84789226223083.23, + -85875634491499.48, + -86976302955394.73, + -88089811157464.27, + -89214706069903.89, + -90349508945482.19, + -91492721502450.45, + -92642831040737.92, + -93798314623221.17, + -94957642455392.42, + -96119280421220.72, + -97281692038069.97, + -98443340092945.55, + -99602688078657.67, + -100758201828008.08, + -101908351439990.33, + -103051613883684.44, + -104186476264079.14, + -105311440061303.7, + -106425026288600.67, + -107525781504298.38, + -108612284855773.64, + -109683155653606.81, + -110737061662405.7, + -111772727541467.16, + -112788943483418.52, + -113784573548324.92, + -114758563576881.86, + -115709948423036.81, + -116637858111204.66, + -117541523164811.3, + -118420278359207.02, + -119273565538910.81, + -120100934665079.56, + -120902043938799.42, + -121676658257813.78, + -122424646787296.45, + -123145979100947.69, + -123840720701122.75, + -124509027487526.38, + -125151139674525.17, + -125767375162898.66, + -126358122639986.88, + -126923834386502.48, + -127465019083760.16, + -127982234627974.83, + -128476081154058.12, + -128947194227869.3, + -129396238345531.8, + -129823900881973.16, + -130230886320035.36, + -130617911020790.17, + -130985698344042.08, + -131334974271225.72, + -131666463433510.11, + -131980885379884.73, + -132278949784290.53, + -132561341751057.0, + -132828648531388.7, + -133081004149583.72, + -133316615521542.16, + -133526677057249.56, + -133680997051529.3, + -133695375736793.69, + -133374230117631.58, + -132338616785519.38, + -129979942430260.33, + -125499985883845.47, + -118073740694015.78, + -107098935511084.14, + -92425480141979.48, + -74453094181258.06, + -54054648343928.84, + -32371258001919.58, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "lo": [ + 0.0001776861420856344, + 0.0004452469885055489, + -0.0017156879646828282, + 0.003540242579484045, + 0.0016045510130751489, + 0.003693217071200735, + -0.002808857700905224, + -0.0021060955186863193, + -0.0023396745116589703, + 0.0014141292731661903, + -0.0027948274764100266, + 0.0006506269500309128, + 0.0016955236006548629, + 0.003152367969548998, + 0.00033694334703532314, + 0.0014984002700903266, + 0.0014520771422210327, + 0.0023043157442144877, + 0.002349924967080623, + -0.0017484303517466392, + 0.003197033010649075, + -0.001970538908768819, + 0.0019640469255599088, + -0.0030388959124783427, + -0.003459709021347088, + -0.0017942229978173338, + 0.003659749999695331, + 0.0003490582434889926, + -0.0013685005482774997, + -0.0022920164543461033, + -0.0018688153480232554, + 0.003788183897787949, + -0.0035493884300494653, + -0.0010725027009429345, + 0.0034576756655581445, + -0.0014999512071610435, + 0.0011379641853290882, + -0.001210499478785177, + -0.0006211630343462169, + -0.006302146678333391, + -0.007641491456774608, + 0.0072141967615517374, + 0.00487891143934018, + -0.0031125195166837516, + 0.0033430289283035014, + -0.007027824117693721, + -0.00495435336951274, + 0.005029866601568524, + -0.00697652330128249, + 0.0004818212889390492, + 0.0053496270209882416, + 0.007157766897396061, + -0.005406865581717783, + 0.007534112056362124, + -0.0029832029951956636, + 0.0018347716798872745, + -0.00569286413249083, + -0.0015528179615879765, + 0.0018190740551760056, + -0.006723536577598095, + 0.004691430046185942, + 0.006530341780039209, + -0.006441741283224587, + -0.0012261389716341333, + -0.004008798976647823, + 0.0051994204589010315, + -0.004315511061475672, + -0.003888212279490034, + -0.003258518331785103, + 0.0017347595473884926, + -0.003973008407124986, + -0.0005613759411061733, + 0.00025673914018547344, + -0.005086980942395243, + 0.004001820440903622, + 0.004022453088153975, + -0.004862602044224552, + 0.0008244760752101762, + -0.003658286577696431, + 0.002933127620479799, + -0.0038322459291615443, + -0.000880851905929105, + 0.006375895921698067, + -0.0015464476171218081, + 0.00356521110726892, + -0.007176573469194043, + -0.0013425438293032288, + 0.0034140982228523242, + 0.0014209005323835026, + 0.001089840594730464, + 0.0031186198207845822, + -0.007593795553225235, + 0.0001198410735656733, + 0.006080993248985944, + -0.001193650164775489, + 0.0009290965669674217, + -0.002324404604736147, + -0.0047227396887385645, + -0.0007509445121898393, + -0.00425028636336147, + 0.0062751445434377565, + 0.001963743838632369, + 0.002690704589147149, + -0.007766929198247386, + 0.0015764268454644507, + -0.004433171421566536, + 0.005777460124497591, + 0.007347301231007072, + 0.003510091996548156, + -0.00591336802733743, + -0.0067326171680934885, + -0.005827655978598075, + 0.00037033168311498597, + 0.0013023568661143928, + -0.0029859112071651253, + 0.001107793090964561, + 0.007171495746041484, + -0.007199801407797744, + 0.002692641695295209, + 0.0037415517674632835, + -0.004623821120605534, + 0.0006740413636410858, + 0.00156341279988564, + 0.001136314680357644, + 0.004466081984753047, + -0.002196984989454108, + 0.000904449580102751, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + }, + "positive_rate_m3_s": { + "hi": [ + 1.2361758911586787e+23, + 1.1750196189589035e+23, + 9.948099550699113e+22, + 7.374457609389539e+22, + 4.721928037135483e+22, + 2.5938659444634182e+22, + 1.2307415297689372e+22, + 5.251945359932081e+21, + 2.2774919346491142e+21, + 1.2491430054328043e+21, + 9.55464963684032e+20, + 8.853580275151682e+20, + 8.707810536160322e+20, + 8.675415448458128e+20, + 8.661811406772202e+20, + 8.650292804746808e+20, + 8.638372955327791e+20, + 8.625706142401768e+20, + 8.612213708578632e+20, + 8.597844412334169e+20, + 8.582546802001631e+20, + 8.566268747708803e+20, + 8.548957184084991e+20, + 8.530557869130133e+20, + 8.511015615247137e+20, + 8.49027673441752e+20, + 8.468286518265499e+20, + 8.444993311370847e+20, + 8.420346086873758e+20, + 8.394298701468303e+20, + 8.366807745195383e+20, + 8.337836210546665e+20, + 8.307354103441114e+20, + 8.275338984812949e+20, + 8.24177885664006e+20, + 8.206673305803151e+20, + 8.170035084086508e+20, + 8.131891969405826e+20, + 8.092288908335672e+20, + 8.051289477933066e+20, + 8.008977447269044e+20, + 7.965458311907537e+20, + 7.920861096114432e+20, + 7.875338663283175e+20, + 7.829068524821996e+20, + 7.782253322170538e+20, + 7.735120393930719e+20, + 7.68792075124947e+20, + 7.640928083790265e+20, + 7.594435944540868e+20, + 7.548756076277511e+20, + 7.504214399399338e+20, + 7.461146862681326e+20, + 7.419896020379522e+20, + 7.380805028141282e+20, + 7.344212952699596e+20, + 7.310449042581049e+20, + 7.279827493891795e+20, + 7.252640905129403e+20, + 7.229156142383677e+20, + 7.209608411299054e+20, + 7.194196758517602e+20, + 7.183080655132236e+20, + 7.176376300225972e+20, + 7.174154316287558e+20, + 7.176438628422796e+20, + 7.183205524479413e+20, + 7.194384581504627e+20, + 7.209859618368837e+20, + 7.229471603343462e+20, + 7.253021206479421e+20, + 7.280273286068253e+20, + 7.310961296956989e+20, + 7.344791804308645e+20, + 7.3814510003235e+20, + 7.420608999542988e+20, + 7.461926668370544e+20, + 7.505060046852607e+20, + 7.549666613924269e+20, + 7.595409525032228e+20, + 7.641962409254192e+20, + 7.689013549936863e+20, + 7.736268012358701e+20, + 7.78345254815772e+20, + 7.830314831617448e+20, + 7.8766281504733e+20, + 7.922188588628623e+20, + 7.96681912865439e+20, + 8.01036597990662e+20, + 8.052701095090196e+20, + 8.0937177542089e+20, + 8.133332836528015e+20, + 8.171482753223e+20, + 8.20812289722105e+20, + 8.243225296798343e+20, + 8.276777754886882e+20, + 8.308780838790777e+20, + 8.339247035132276e+20, + 8.368198469933232e+20, + 8.39566624302038e+20, + 8.421687900687217e+20, + 8.44630597877348e+20, + 8.469568393625369e+20, + 8.491525145862474e+20, + 8.512229538582938e+20, + 8.53173548728205e+20, + 8.550097886694923e+20, + 8.567371048256661e+20, + 8.583602666112895e+20, + 8.598788937188495e+20, + 8.612545738891588e+20, + 8.622098824489878e+20, + 8.611964962066811e+20, + 8.509916819481802e+20, + 8.03267996725008e+20, + 6.249683366156262e+20, + 6.168879250539024e+19, + -1.4600324475097197e+21, + -4.990531644378787e+21, + -1.205076411779048e+22, + -2.427282866212587e+22, + -4.267883760808271e+22, + -6.691569837976843e+22, + -9.493742291368183e+22, + -1.2341434068111207e+23, + -1.4869218303192948e+23, + -1.6781134173205482e+23, + -1.791449639265491e+23, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "lo": [ + -3704088.708914647, + 3664835.071817834, + -3093301.350407332, + 2057997.0688777443, + -9198.973565244813, + -1037848.7482293858, + 249958.33393704373, + -128354.93924595088, + -100526.86706625017, + 67998.2862857577, + -10010.416395820783, + -7848.967985585646, + -18520.61571119775, + 37677.79867237225, + 7660.555568391863, + 50852.453095125355, + -15993.41932926289, + 30719.91169395205, + 64319.951507484235, + -40950.84077210293, + 6172.013975470424, + -16878.593121997514, + 30688.676689674347, + -20943.311792108267, + -40487.924367626525, + -42809.375996787465, + 28605.252601544278, + 22375.005008845557, + -49466.73223114825, + -1775.8234504777479, + 9551.049929056371, + 53108.46325403229, + -59521.939942628705, + 48894.9428692218, + -62914.4663829093, + -548.7560264274584, + -19820.856699558997, + 60525.417311175595, + -60686.190022683106, + -37304.94480137512, + 57925.25684558828, + 31580.372634559415, + 54303.181615306385, + 23991.070235714174, + 51111.98643059171, + 25894.95988033041, + 26794.702180358738, + 16957.423413979795, + -14414.502770801708, + -56235.5120847047, + 13509.746917426775, + 6979.780705242518, + 5195.716303994368, + 5736.8308505206705, + -35336.921323952876, + -58064.13882137829, + -30041.312053561796, + -33363.15478198731, + -56910.62634956075, + 51702.54504915434, + -38139.64518943828, + -7771.569224066394, + 56723.7567365999, + -12181.19408919162, + -44973.86327536774, + 9445.607719582837, + 47588.50349640207, + 6693.034204143048, + 38052.498908984264, + -43567.96629792864, + -61783.68325125516, + -26932.02885994561, + 39290.17045510858, + -18068.53952364178, + 43621.854724370845, + -304.9913459718038, + -48956.70878622067, + 18341.249435834306, + -18577.09026335225, + 35499.96712175816, + -53964.06628907053, + -25404.208685756425, + -40917.406734041, + 37906.85818825855, + -48541.773385232744, + -56175.71623508602, + -57646.45443104215, + 2208.6266072069157, + 35690.53777481421, + -62529.91478950743, + 34784.19252473001, + 45008.753491034724, + -41217.173032710525, + -34851.8590027634, + -42047.958904383944, + -61037.32651674075, + -33634.41065962907, + 29945.03642104625, + 11663.390854010884, + -41989.48087144306, + 8374.545210594359, + 40233.37324946677, + 29108.132742620914, + 37690.95342490966, + 39317.1202223814, + -26247.410784985474, + -12457.662141144816, + -36967.839442756645, + -23754.164342182237, + -50225.353025654826, + 27930.311345827326, + 3708.156079580987, + -60849.96189366434, + 49443.02448053914, + 30879.331785051014, + 15047.064021964467, + -767.0920478460059, + 103438.84391630483, + 288036.49791038386, + -354486.4619496965, + 1641334.5099538488, + -1781310.9832089439, + -2524507.215684162, + 937539.6011274098, + -2550335.086478344, + -2512602.906286127, + -15569096.970223583, + -5097500.666296599, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + } + }, + "original_gate_uses": "actual_direct_high_minus_same_word_reference_high", + "rounding": "one_binary64_round_to_nearest_ties_to_even_before_SG", + "same_word_transport": { + "positive_flux_m2_s": { + "hi": [ + -7295196079946.168, + -21593358072574.22, + -34447586129662.617, + -44564289715386.78, + -51440663457189.75, + -55449722793477.375, + -57468254893837.695, + -58382109069637.61, + -58802458302273.86, + -59046950812803.625, + -59245224729346.555, + -59439966190340.84, + -59642931529676.35, + -59857148792207.2, + -60083662659749.51, + -60323160577157.29, + -60576290026350.555, + -60843708642625.664, + -61126089722634.99, + -61424121386472.09, + -61738504655979.52, + -62069951167994.266, + -62419180496887.77, + -62786917055200.305, + -63173886562620.6, + -63580812166288.23, + -64008409975693.484, + -64457384305974.484, + -64928422318105.26, + -65422188403206.01, + -65939317990514.695, + -66480411130744.74, + -67046025736539.89, + -67636670522726.55, + -68252797880152.125, + -68894796667249.53, + -69562985055665.34, + -70257603578335.55, + -70978808549677.47, + -71726665958752.98, + -72501146004598.39, + -73302118440399.05, + -74129348927310.92, + -74982496414900.47, + -75861111742813.28, + -76764637565325.7, + -77692409604919.2, + -78643659235793.7, + -79617517436607.3, + -80613019881531.67, + -81629113261401.73, + -82664662444766.64, + -83718458315532.05, + -84789226223081.38, + -85875634491502.39, + -86976302955393.17, + -88089811157464.19, + -89214706069900.5, + -90349508945483.66, + -91492721502451.81, + -92642831040741.73, + -93798314623215.9, + -94957642455394.16, + -96119280421218.78, + -97281692038076.33, + -98443340092944.98, + -99602688078658.14, + -100758201828003.42, + -101908351439994.11, + -103051613883681.25, + -104186476264082.0, + -105311440061304.06, + -106425026288601.6, + -107525781504296.31, + -108612284855770.05, + -109683155653609.47, + -110737061662405.11, + -111772727541469.9, + -112788943483411.64, + -113784573548330.84, + -114758563576881.12, + -115709948423033.66, + -116637858111206.39, + -117541523164815.62, + -118420278359203.8, + -119273565538906.34, + -120100934665098.58, + -120902043938796.81, + -121676658257799.39, + -122424646787296.34, + -123145979100966.78, + -123840720701117.67, + -124509027487516.33, + -125151139674496.45, + -125767375162911.53, + -126358122640020.53, + -126923834386479.14, + -127465019083782.17, + -127982234627960.75, + -128476081154069.6, + -128947194227869.88, + -129396238345477.42, + -129823900881981.08, + -130230886320042.28, + -130617911020840.6, + -130985698344001.0, + -131334974271255.9, + -131666463433494.42, + -131980885379891.03, + -132278949784290.77, + -132561341751086.5, + -132828648531293.97, + -133081004149568.83, + -133316615521637.11, + -133526677057270.53, + -133680997051492.72, + -133695375736752.03, + -133374230117654.69, + -132338616785560.42, + -129979942430288.81, + -125499985883869.9, + -118073740693921.0, + -107098935511000.62, + -92425480142182.02, + -74453094181163.1, + -54054648343825.336, + -32371258001917.246, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "lo": [ + 0.0004452578016123854, + -0.00014287499136927926, + 7.387599451960903e-06, + -0.0017618770163955128, + -0.003185754584214454, + 0.00013402124875833864, + 0.002742127088498436, + -0.0032325049461576503, + -0.0019350864580682241, + 0.00048536630600431286, + -0.001058368611583753, + -0.0031561690585767983, + 0.0037245312306325986, + 0.0016728804026802753, + 0.0015579844005436765, + -0.0005634210901068713, + 0.0029359274024784807, + 0.00036990214153772135, + -0.0005977680953382306, + -0.0030583391370695065, + -0.003542603455270745, + -0.0017251510527854644, + -0.0016251027613052914, + -0.0003377503167308269, + 0.0017697608129329987, + -0.0028602667931858132, + 0.0004395145414622233, + 0.0018752209512490313, + 0.0015164216428562615, + 0.000891380385781162, + 0.0005304613539394042, + -0.0014327699185927446, + -0.0034151028087426047, + 0.0007770561613241012, + -0.0022051746471742906, + -0.0011550271195229984, + -0.000488261939315078, + -0.0017508802444543003, + 0.007196009465421618, + 0.0024171422794374764, + 0.0023397166924996405, + 0.0034957406255131628, + -0.00527719833323257, + -0.002760025828082172, + -0.0016262900838986873, + 0.005890926228158521, + 0.0018276617176290516, + 0.007288035019958185, + -0.0066305040363870875, + -0.0007773681170391584, + 0.002042581997977396, + 0.006323616983546962, + -0.00246131255774432, + -0.004893246398163211, + 0.005435039221976338, + -0.002273092736779962, + 0.006777520581805308, + -0.0057793151573743845, + 0.002772469195755519, + -0.0012700479700221078, + -0.0060270267716753465, + 0.005020222871411464, + 0.006438999596122482, + 0.0009539506341903199, + 0.0006702804212235813, + -0.0029997684936000826, + -0.006745241488361602, + -0.004640320759963998, + -0.005684954612273778, + -0.002907753853370682, + 0.007342249915122738, + -0.0028156115518050986, + 0.0003962903463918275, + -0.0012131531287963642, + 0.005754719298812074, + 0.006778689262215761, + 0.0034127950791667744, + 0.005676574823594902, + -0.006533529392060531, + -0.00435824227274017, + -0.00495801695084451, + 0.004669190167430441, + 0.0005285985750914168, + -0.0021468725113539876, + 0.0075100195127141625, + 0.002738254422135594, + -0.0009553071250211694, + -0.002196059174665946, + 0.005998425597458397, + 0.0022493336435044395, + 0.006079680478449321, + 0.007542075996284276, + 0.006448468091135053, + 0.003626258888382918, + -0.002131607032036808, + 0.0074936979314715185, + -0.005874877846027559, + 0.006486688176876058, + -0.001134589932171353, + 0.0041794132755765215, + -0.0051304055482967025, + -0.007242912247659081, + -0.001686666623977066, + 0.005384982678787859, + -0.0066896457492154615, + -0.001471075960264939, + 0.006943226850600413, + -0.005494482962122089, + -0.0024445436243308964, + 0.002872795317893537, + -0.006993399431540902, + -0.004725390383593729, + -0.001136282374043056, + 0.007410374502079999, + 0.003883272657852944, + -0.0053008633504490485, + 0.005386145360803495, + -0.004667100367453888, + 0.001085702865733267, + 0.0014236251415261734, + -0.004413559266219964, + -0.001792479797358334, + 0.004660109599398646, + -0.006099995084985939, + -0.00579955356302957, + -0.0017280073859869353, + 3.346411105516705e-05, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + }, + "positive_rate_m3_s": { + "hi": [ + 1.2361758911586883e+23, + 1.1750196189589015e+23, + 9.948099550698995e+22, + 7.374457609389766e+22, + 4.721928037135467e+22, + 2.5938659444632655e+22, + 1.230741529769084e+22, + 5.251945359930952e+21, + 2.2774919346485555e+21, + 1.249143005430616e+21, + 9.55464963688951e+20, + 8.853580275171468e+20, + 8.707810536104096e+20, + 8.675415448473141e+20, + 8.661811406757162e+20, + 8.650292804792357e+20, + 8.638372955244221e+20, + 8.625706142474957e+20, + 8.612213708576043e+20, + 8.597844412328036e+20, + 8.582546801965308e+20, + 8.56626874770842e+20, + 8.548957184141694e+20, + 8.53055786911132e+20, + 8.511015615204124e+20, + 8.490276734448459e+20, + 8.46828651828581e+20, + 8.44499331136635e+20, + 8.420346086841053e+20, + 8.394298701474275e+20, + 8.36680774520121e+20, + 8.337836210556173e+20, + 8.307354103422905e+20, + 8.275338984849375e+20, + 8.24177885662741e+20, + 8.206673305785198e+20, + 8.170035084076024e+20, + 8.131891969432246e+20, + 8.092288908321377e+20, + 8.051289477926832e+20, + 8.008977447319283e+20, + 7.96545831186199e+20, + 7.920861096093549e+20, + 7.875338663339617e+20, + 7.829068524793362e+20, + 7.782253322171461e+20, + 7.735120393925299e+20, + 7.687920751236374e+20, + 7.640928083820193e+20, + 7.59443594452145e+20, + 7.548756076296215e+20, + 7.50421439940249e+20, + 7.46114686265508e+20, + 7.419896020378979e+20, + 7.380805028173517e+20, + 7.344212952669861e+20, + 7.310449042590685e+20, + 7.279827493870465e+20, + 7.252640905160427e+20, + 7.229156142382957e+20, + 7.209608411314532e+20, + 7.194196758461024e+20, + 7.183080655175519e+20, + 7.176376300203354e+20, + 7.174154316338748e+20, + 7.176438628380114e+20, + 7.183205524485767e+20, + 7.194384581472707e+20, + 7.20985961842174e+20, + 7.229471603299409e+20, + 7.253021206517964e+20, + 7.280273286052162e+20, + 7.310961296960667e+20, + 7.344791804288707e+20, + 7.381451000313112e+20, + 7.420608999586291e+20, + 7.461926668347494e+20, + 7.505060046876863e+20, + 7.54966661385282e+20, + 7.595409525129886e+20, + 7.641962409201918e+20, + 7.689013549917235e+20, + 7.73626801239957e+20, + 7.783452548180016e+20, + 7.830314831550159e+20, + 7.876628150461706e+20, + 7.92218858885358e+20, + 7.966819128439395e+20, + 8.010365979784683e+20, + 8.052701095243982e+20, + 8.093717754424349e+20, + 8.133332836244893e+20, + 8.171482753162354e+20, + 8.208122896982479e+20, + 8.243225297354711e+20, + 8.276777755177935e+20, + 8.308780837953748e+20, + 8.339247035831002e+20, + 8.368198469349448e+20, + 8.39566624345454e+20, + 8.42168790049289e+20, + 8.446305977739797e+20, + 8.469568394859022e+20, + 8.491525145841245e+20, + 8.512229539540149e+20, + 8.531735485159221e+20, + 8.550097888439514e+20, + 8.567371047071378e+20, + 8.583602666712872e+20, + 8.598788937013173e+20, + 8.612545739784423e+20, + 8.6220988204826e+20, + 8.611964964791672e+20, + 8.509916823448913e+20, + 8.032679964420915e+20, + 6.249683363826254e+20, + 6.1688792483583754e+19, + -1.4600324472152937e+21, + -4.990531644292327e+21, + -1.2050764117854659e+22, + -2.427282866214781e+22, + -4.267883760876785e+22, + -6.691569837969978e+22, + -9.493742291183104e+22, + -1.2341434068315494e+23, + -1.486921830319918e+23, + -1.678113417312718e+23, + -1.791449639265362e+23, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "lo": [ + -4760213.508819294, + 3363933.1787074143, + 4642732.302521535, + 939958.5951117674, + 3305731.843816653, + 1314600.7618380468, + 999516.0254351846, + 198143.99242766915, + -41991.53235189503, + -69144.78314754921, + 2782.4805801902958, + 29823.29454312074, + 46305.86889888236, + -8624.925114660162, + -4262.527384461853, + 48364.68391395165, + -44594.200503722226, + 1054.6688582770935, + 56026.673557059825, + -8432.160563115556, + 36502.98596068558, + 11793.589249870907, + -5413.104690824833, + -7854.77871466376, + -49836.214760599, + 34597.56338166325, + 52138.64044402019, + -45553.872869816136, + 46495.18761118718, + 2616.831906265166, + -23409.38597679757, + -175.7409256864111, + -36885.12003320362, + -8589.645969322737, + -8939.488866053856, + -10373.811239727991, + 65145.27753105668, + -10182.723360497983, + -63084.41230910634, + -28364.722058461175, + 23712.71512809426, + 45066.94337944178, + 23222.119977341234, + 41380.35416964399, + 63889.16538243789, + 8910.869723686115, + -9877.762480722547, + 32972.18807672558, + 20732.987302523954, + 53604.39308053057, + 44383.07728867824, + 25716.508918271807, + 6679.103831478037, + -41930.4299809709, + 3706.050115767645, + 24871.286478938444, + -27531.39601244725, + 1775.9036200372718, + -34482.18921336091, + 801.8186379109147, + 42914.38073028524, + -50221.92709572267, + 11514.235698164925, + -36961.56255057247, + 48421.884509254065, + -7463.660267167879, + -11860.294279680978, + 64418.69748414613, + 45183.901191330435, + -32780.68011712685, + 55688.26160751948, + 35022.362318371706, + -25547.48774505639, + 32567.36541128471, + -65494.58567971814, + 21990.618243229394, + -8390.495640133955, + -36296.53815711969, + -12387.17328139487, + 34679.62557430084, + 3194.526488842857, + 43137.564825518355, + -30393.943523104597, + 34049.38445874149, + -41503.11643849448, + 30497.317301121177, + -35312.387002008334, + -44141.54978507398, + 17419.372830392218, + -9497.411675958114, + -57555.24224739408, + 9889.306652412877, + -63863.61578406894, + -2983.1887284160493, + 42616.56835942221, + 61399.80664552659, + 26781.044757205098, + 5450.416151188803, + -63067.64521636316, + 59332.28946810491, + -43554.770835989315, + 53382.51365322634, + 133.22052443807536, + -7465.739811350694, + 43863.40951540425, + -25010.080259084873, + -32974.4521851424, + 41046.778260857405, + 20265.98645274565, + 53409.32227455726, + 40938.63368209544, + -15282.991215251539, + -41024.82327801216, + -54564.76620055921, + -433.5163222489915, + 47539.137494601346, + 2367.412338164805, + 85472.26884904056, + 222009.89811620995, + -972782.1989799532, + 1995747.8689554976, + -310738.8736609957, + 75557.37601381997, + -1037594.0916398583, + -2877686.621300851, + 2057730.0442446047, + -15330418.81553666, + 10815941.76164035, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + } + } + }, + "schema": "R1GlobalIonReferenceSolveV1", + "used_direct_carriers": false, + "used_direct_flux_or_rate": false, + "used_direct_phi": false, + "used_direct_sheet_charge": false, + "used_historical_residual": false, + "used_rebased_population_origin": false + }, + "legacy_binary64": { + "difference": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 299011145728.0, + -281959989248.0, + 0.0, + 0.0, + -375166074880.0, + 521319481344.0, + -306903121920.0, + 140777226240.0, + 0.0, + 0.0, + 94902812672.0, + -89769246720.0, + 0.0, + 0.0, + 122378387456.0, + -170918281216.0, + 52098367488.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 24317657088.0, + -45278167040.0, + 974127104.0, + 19197722624.0, + -50273189888.0, + 48087040000.0, + 0.0, + -51719569408.0, + 25804275712.0, + 55874289664.0, + -62247927808.0, + 76571213824.0, + -36721786880.0, + -49384652800.0, + 54855335936.0, + -50688163840.0, + 88749637632.0, + -65122074624.0, + 333840384.0, + -5421006848.0, + 43921309696.0, + -31772639232.0, + -9863692288.0, + 5074059264.0, + -36875927552.0, + 67970793472.0, + -9019719680.0, + -17176068096.0, + -29167321088.0, + 57710608384.0, + -40674263040.0, + 56314953728.0, + -120023154688.0, + 95855443968.0, + 16062349312.0, + -64408387584.0, + 24272175104.0, + 24761073664.0, + 25432555520.0, + -120122769408.0, + 34299314176.0, + 90405470208.0, + -46290567168.0, + 9766043648.0, + -30316691456.0, + -464650240.0, + 10620764160.0, + 23158194176.0, + -24423956480.0, + 38923665408.0, + 833355776.0, + -162030288896.0, + 90290651136.0, + 133813501952.0, + 3216506880.0, + -192340951040.0, + -130882076672.0, + 630871818240.0, + -603440414720.0, + 45074874368.0, + 697535299584.0, + -872788787200.0, + 685708279808.0, + -866123382784.0, + 733700161536.0, + -452644438016.0, + 549291425792.0, + -1109421326336.0, + 1200903421952.0, + -392185905152.0, + 380745940992.0, + 359108182016.0, + -1175678877696.0, + -125743923200.0, + -30229266432.0, + 611834265600.0, + 432017113088.0, + -456330444800.0, + 1436082372608.0, + -2320892035072.0, + 1297928814592.0, + -2485781528576.0, + 720111534080.0, + 3700522745856.0, + -10131449577472.0, + 16998883704832.0, + -12838467534848.0, + 5792032882688.0, + 1820283895808.0, + -4820580696064.0, + -12887888232448.0, + 16797247995904.0, + 2870950756352.0, + -4742449201152.0, + -7973841666048.0, + 29330331664384.0, + -15740988030976.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "direct": [ + 1.2361758911616075e+23, + 1.1750196189572135e+23, + 9.948099550698177e+22, + 7.374457609438379e+22, + 4.721928037086942e+22, + 2.593865944444358e+22, + 1.2307415297993812e+22, + 5.251945359873942e+21, + 2.2774919346486048e+21, + 1.2491430057467553e+21, + 9.554649634138514e+20, + 8.853580272737668e+20, + 8.707810536730842e+20, + 8.675415451193082e+20, + 8.661811404434696e+20, + 8.650292806335779e+20, + 8.638372954965731e+20, + 8.62570614167882e+20, + 8.612213708892197e+20, + 8.59784441302056e+20, + 8.582546801180217e+20, + 8.566268747560868e+20, + 8.548957185613144e+20, + 8.530557867754298e+20, + 8.511015615658656e+20, + 8.490276734218038e+20, + 8.468286518744779e+20, + 8.444993311250581e+20, + 8.420346086715355e+20, + 8.394298700925598e+20, + 8.366807745525675e+20, + 8.33783621098736e+20, + 8.307354103141522e+20, + 8.275338984349208e+20, + 8.241778857016968e+20, + 8.206673305499591e+20, + 8.170035084239093e+20, + 8.13189196980091e+20, + 8.09228890773801e+20, + 8.051289478048905e+20, + 8.008977447839084e+20, + 7.965458311365541e+20, + 7.920861096671564e+20, + 7.875338663072233e+20, + 7.829068524384873e+20, + 7.782253322535837e+20, + 7.7351203935084e+20, + 7.687920752084388e+20, + 7.640928083222926e+20, + 7.594435944418627e+20, + 7.548756076425435e+20, + 7.504214399702916e+20, + 7.461146862366166e+20, + 7.419896020300139e+20, + 7.380805028300545e+20, + 7.34421295225038e+20, + 7.310449043211057e+20, + 7.2798274938718e+20, + 7.252640904962157e+20, + 7.22915614210608e+20, + 7.209608411899738e+20, + 7.19419675797195e+20, + 7.183080655805186e+20, + 7.176376298970848e+20, + 7.174154317226423e+20, + 7.176438628693519e+20, + 7.183205523641358e+20, + 7.194384581800954e+20, + 7.209859618749269e+20, + 7.229471603498025e+20, + 7.253021205360641e+20, + 7.280273286359495e+20, + 7.310961297867204e+20, + 7.344791803892204e+20, + 7.381451000330887e+20, + 7.420608999210805e+20, + 7.461926668510758e+20, + 7.505060046890353e+20, + 7.549666614306839e+20, + 7.595409524592671e+20, + 7.641962409706635e+20, + 7.689013549719306e+20, + 7.736268010794995e+20, + 7.783452549137674e+20, + 7.830314833204153e+20, + 7.876628150328391e+20, + 7.92218858642714e+20, + 7.966819127959237e+20, + 8.010365985613918e+20, + 8.052701089309962e+20, + 8.09371775426187e+20, + 8.133332844556873e+20, + 8.171482743239058e+20, + 8.208122904210432e+20, + 8.243225288941289e+20, + 8.276777761875835e+20, + 8.308780834313854e+20, + 8.339247040695699e+20, + 8.368198457967422e+20, + 8.3956662556435e+20, + 8.421687898649804e+20, + 8.446305978304337e+20, + 8.469568400455092e+20, + 8.491525134419087e+20, + 8.512229535974447e+20, + 8.531735484822979e+20, + 8.550097899027483e+20, + 8.567371048272855e+20, + 8.583602660793627e+20, + 8.598788955427851e+20, + 8.612545713516292e+20, + 8.622098832093624e+20, + 8.61196494826613e+20, + 8.509916821442955e+20, + 8.032680001228236e+20, + 6.249683268742417e+20, + 6.168880906420961e+19, + -1.4600324588854722e+21, + -4.990531640251038e+21, + -1.205076411477162e+22, + -2.4272828668669277e+22, + -4.2678837620723444e+22, + -6.691569836239576e+22, + -9.493742291041833e+22, + -1.2341434068418369e+23, + -1.486921830434594e+23, + -1.6781134170237223e+23, + -1.7914496394135246e+23, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0 + ], + "direct_maximum_absolute": 1.7914496394135246e+23, + "eliminated": [ + 1.2361758911616075e+23, + 1.1750196189572135e+23, + 9.948099550698177e+22, + 7.374457609438379e+22, + 4.721928037086942e+22, + 2.593865944444358e+22, + 1.2307415297993812e+22, + 5.251945359873942e+21, + 2.2774919343495937e+21, + 1.2491430060287153e+21, + 9.554649634138514e+20, + 8.853580272737668e+20, + 8.707810540482502e+20, + 8.675415445979887e+20, + 8.661811407503727e+20, + 8.650292804928007e+20, + 8.638372954965731e+20, + 8.62570614167882e+20, + 8.612213707943169e+20, + 8.597844413918253e+20, + 8.582546801180217e+20, + 8.566268747560868e+20, + 8.54895718438936e+20, + 8.53055786946348e+20, + 8.511015615137672e+20, + 8.490276734218038e+20, + 8.468286518744779e+20, + 8.444993311250581e+20, + 8.420346086715355e+20, + 8.394298700925598e+20, + 8.366807745525675e+20, + 8.337836210744184e+20, + 8.307354103594304e+20, + 8.275338984339467e+20, + 8.24177885682499e+20, + 8.206673306002323e+20, + 8.170035083758223e+20, + 8.13189196980091e+20, + 8.092288908255206e+20, + 8.051289477790862e+20, + 8.008977447280341e+20, + 7.96545831198802e+20, + 7.920861095905852e+20, + 7.875338663439451e+20, + 7.82906852487872e+20, + 7.782253321987284e+20, + 7.735120394015281e+20, + 7.687920751196892e+20, + 7.640928083874147e+20, + 7.594435944415288e+20, + 7.548756076479645e+20, + 7.504214399263703e+20, + 7.461146862683892e+20, + 7.419896020398776e+20, + 7.380805028249804e+20, + 7.34421295261914e+20, + 7.310449042531349e+20, + 7.279827493961997e+20, + 7.252640905133917e+20, + 7.229156142397753e+20, + 7.209608411322632e+20, + 7.194196758378693e+20, + 7.183080655242037e+20, + 7.176376300171079e+20, + 7.174154316267869e+20, + 7.176438628532895e+20, + 7.183205524285442e+20, + 7.194384581558233e+20, + 7.209859618501658e+20, + 7.2294716032437e+20, + 7.253021206561869e+20, + 7.280273286016502e+20, + 7.31096129696315e+20, + 7.344791804355109e+20, + 7.381451000233226e+20, + 7.420608999513972e+20, + 7.461926668515405e+20, + 7.505060046784146e+20, + 7.549666614075257e+20, + 7.595409524836911e+20, + 7.641962409317398e+20, + 7.689013549710972e+20, + 7.736268012415298e+20, + 7.783452548234767e+20, + 7.830314831866018e+20, + 7.876628150296226e+20, + 7.92218858835055e+20, + 7.966819129268058e+20, + 8.0103659793052e+20, + 8.052701095344366e+20, + 8.093717753811121e+20, + 8.13333283758152e+20, + 8.171482751966946e+20, + 8.20812289735335e+20, + 8.243225297602523e+20, + 8.276777754538833e+20, + 8.308780838840298e+20, + 8.339247035202784e+20, + 8.368198469061635e+20, + 8.395666243634465e+20, + 8.421687902571663e+20, + 8.446305974496878e+20, + 8.46956839686401e+20, + 8.491525146175875e+20, + 8.512229537231886e+20, + 8.531735485125271e+20, + 8.55009789290914e+20, + 8.567371043952684e+20, + 8.583602665356932e+20, + 8.598788941067028e+20, + 8.612545736725213e+20, + 8.622098819114336e+20, + 8.611964973123945e+20, + 8.509916814241839e+20, + 8.032679964223009e+20, + 6.249683370056913e+20, + 6.168879206532591e+19, + -1.4600324460470047e+21, + -4.990531646043071e+21, + -1.2050764116591905e+22, + -2.4272828663848696e+22, + -4.267883760783556e+22, + -6.691569837919301e+22, + -9.493742291328928e+22, + -1.2341434067944124e+23, + -1.4869218303548556e+23, + -1.6781134173170256e+23, + -1.7914496392561148e+23, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0 + ], + "eliminated_maximum_absolute": 1.7914496392561148e+23, + "floor_active": false, + "maximum_absolute_difference": 29330331664384.0, + "normalization_floor": 1.7914496394135246e+23, + "normalization_scale": 1.7914496394135246e+23, + "relative_error": 1.6372400886460872e-10 + }, + "maximum_absolute_difference": 29629066772480.0, + "normalization_floor": 1.791449639414751e+23, + "normalization_scale": 1.791449639414751e+23, + "relative_error": 1.6539156960147384e-10, + "unit": "m-3 s-1" + }, + "potential": { + "difference": [ + 0.0, + -1.0842021724855044e-19, + -2.439454888092385e-19, + -3.2526065174565133e-19, + -6.505213034913027e-19, + -1.0842021724855044e-18, + -1.5720931501039814e-18, + -1.4094628242311558e-18, + -1.4094628242311558e-18, + -2.2768245622195593e-18, + -2.0599841277224584e-18, + -2.710505431213761e-18, + -3.2526065174565133e-18, + -4.553649124439119e-18, + -2.8189256484623115e-18, + -4.119968255444917e-18, + -5.204170427930421e-18, + -5.854691731421724e-18, + -4.336808689942018e-18, + -7.37257477290143e-18, + -6.5052130349130266e-18, + -4.7704895589362195e-18, + -5.637851296924623e-18, + -3.903127820947816e-18, + -8.239936510889834e-18, + -9.540979117872439e-18, + -9.540979117872439e-18, + -9.974659986866641e-18, + -8.673617379884035e-18, + -8.673617379884035e-18, + -1.3877787807814457e-17, + -1.6479873021779667e-17, + -1.0408340855860843e-17, + -1.1275702593849246e-17, + -1.5612511283791264e-17, + -1.6479873021779667e-17, + -2.0816681711721685e-17, + -2.168404344971009e-17, + -1.9949319973733282e-17, + -2.6020852139652106e-17, + -3.122502256758253e-17, + -2.2551405187698492e-17, + -3.642919299551295e-17, + -2.2551405187698492e-17, + -2.42861286636753e-17, + -3.8163916471489756e-17, + -3.122502256758253e-17, + -4.5102810375396984e-17, + -2.2551405187698492e-17, + -2.949029909160572e-17, + -4.5102810375396984e-17, + -5.0306980803327406e-17, + -3.469446951953614e-17, + -3.9898639947466563e-17, + -4.683753385137379e-17, + -4.5102810375396984e-17, + -6.938893903907228e-17, + -5.898059818321144e-17, + -4.5102810375396984e-17, + -4.85722573273506e-17, + -6.591949208711867e-17, + -4.5102810375396984e-17, + -5.898059818321144e-17, + -3.122502256758253e-17, + -8.326672684688674e-17, + -7.28583859910259e-17, + -4.85722573273506e-17, + -7.28583859910259e-17, + -8.326672684688674e-17, + -7.28583859910259e-17, + -4.5102810375396984e-17, + -7.632783294297951e-17, + -1.0061396160665481e-16, + -7.632783294297951e-17, + -7.632783294297951e-17, + -7.979727989493313e-17, + -9.020562075079397e-17, + -9.367506770274758e-17, + -1.0061396160665481e-16, + -9.367506770274758e-17, + -1.0061396160665481e-16, + -9.020562075079397e-17, + -8.326672684688674e-17, + -1.249000902703301e-16, + -1.3877787807814457e-16, + -1.1796119636642288e-16, + -9.71445146547012e-17, + -1.1796119636642288e-16, + -1.6653345369377348e-16, + -9.020562075079397e-17, + -1.249000902703301e-16, + -1.457167719820518e-16, + -7.632783294297951e-17, + -1.1796119636642288e-16, + -8.326672684688674e-17, + -1.3877787807814457e-16, + -1.1102230246251565e-16, + -1.249000902703301e-16, + -1.0408340855860843e-16, + -1.6653345369377348e-16, + -1.3877787807814457e-16, + -1.3877787807814457e-16, + -1.249000902703301e-16, + -9.020562075079397e-17, + -1.0408340855860843e-16, + -1.1796119636642288e-16, + -1.3877787807814457e-16, + -1.3183898417423734e-16, + -1.1796119636642288e-16, + -1.1796119636642288e-16, + -9.020562075079397e-17, + -1.0408340855860843e-16, + -9.71445146547012e-17, + -1.249000902703301e-16, + -1.457167719820518e-16, + -1.1796119636642288e-16, + -2.0122792321330962e-16, + -1.1102230246251565e-16, + -1.457167719820518e-16, + -1.3183898417423734e-16, + -1.0408340855860843e-16, + -1.1102230246251565e-16, + -1.8735013540549517e-16, + -1.734723475976807e-16, + -1.457167719820518e-16, + -1.3877787807814457e-16, + -1.6653345369377348e-16, + -1.0408340855860843e-16, + -1.249000902703301e-16, + -1.1796119636642288e-16, + -8.326672684688674e-17, + -8.326672684688674e-17, + -1.3877787807814457e-16, + -1.1796119636642288e-16, + -9.020562075079397e-17, + -1.1796119636642288e-16, + -1.457167719820518e-16, + -1.457167719820518e-16, + -1.249000902703301e-16, + -1.1796119636642288e-16, + -1.3183898417423734e-16, + -1.1796119636642288e-16, + -1.249000902703301e-16, + -1.6653345369377348e-16, + -1.3877787807814457e-16, + -1.249000902703301e-16, + -8.326672684688674e-17, + -9.020562075079397e-17, + -1.249000902703301e-16, + -1.3183898417423734e-16, + -1.249000902703301e-16, + -1.3877787807814457e-16, + -1.3183898417423734e-16, + -1.1102230246251565e-16, + -1.1102230246251565e-16, + -1.1796119636642288e-16, + -9.71445146547012e-17, + -1.1102230246251565e-16, + -1.1102230246251565e-16, + -1.249000902703301e-16, + -1.3877787807814457e-16, + -1.3877787807814457e-16, + -1.3183898417423734e-16, + -8.326672684688674e-17, + -1.3183898417423734e-16, + -8.326672684688674e-17, + -7.632783294297951e-17, + -1.1102230246251565e-16, + -1.5959455978986625e-16, + -8.326672684688674e-17, + -1.1796119636642288e-16, + -1.0408340855860843e-16, + -6.245004513516506e-17, + -1.5265566588595902e-16, + -6.938893903907228e-17, + -9.020562075079397e-17, + -1.1102230246251565e-16, + -5.551115123125783e-17, + -1.1102230246251565e-16, + -9.020562075079397e-17, + -1.0408340855860843e-16, + -9.020562075079397e-17, + -7.632783294297951e-17, + -5.551115123125783e-17, + -7.632783294297951e-17, + -1.249000902703301e-16, + -1.3877787807814457e-16, + -9.71445146547012e-17, + -6.938893903907228e-17, + -5.551115123125783e-17, + -1.5265566588595902e-16, + -4.163336342344337e-17, + -1.249000902703301e-16, + -6.938893903907228e-17, + -9.71445146547012e-17, + -4.163336342344337e-17, + 0.0, + -1.3877787807814457e-17, + -5.551115123125783e-17, + -5.551115123125783e-17, + -1.3877787807814457e-17, + -5.551115123125783e-17, + -1.1102230246251565e-16, + -1.3877787807814457e-17, + -8.326672684688674e-17, + -6.938893903907228e-17, + -5.551115123125783e-17, + -8.326672684688674e-17, + -1.8041124150158794e-16, + 1.3877787807814457e-17, + 4.163336342344337e-17, + -4.163336342344337e-17, + -4.163336342344337e-17, + 0.0, + -2.7755575615628914e-17, + -4.163336342344337e-17, + -2.7755575615628914e-17, + -8.326672684688674e-17, + 0.0, + -1.3877787807814457e-17, + -2.7755575615628914e-17, + -1.3877787807814457e-17, + 1.3877787807814457e-17, + -4.163336342344337e-17, + 6.938893903907228e-17, + 1.3877787807814457e-17, + 0.0, + -1.249000902703301e-16, + 0.0, + -1.249000902703301e-16, + 0.0, + -9.71445146547012e-17, + -2.7755575615628914e-17, + -6.938893903907228e-17, + 1.3877787807814457e-17, + 2.7755575615628914e-17, + -5.551115123125783e-17, + -1.3877787807814457e-17, + -5.551115123125783e-17, + 8.326672684688674e-17, + -1.5265566588595902e-16, + 4.163336342344337e-17, + 4.163336342344337e-17, + 1.1102230246251565e-16, + 6.938893903907228e-17, + -4.163336342344337e-17, + 2.7755575615628914e-17, + 0.0, + 4.163336342344337e-17, + 6.938893903907228e-17, + 1.6653345369377348e-16, + 5.551115123125783e-17, + 4.163336342344337e-17, + -1.3877787807814457e-17, + 2.7755575615628914e-17, + 0.0 + ], + "direct": [ + 0.0, + -6.297052455897922e-05, + -0.00012973141170526532, + -0.00020049299128761125, + -0.00027547499945967566, + -0.00035490670549945084, + -0.0004390269962495464, + -0.00052808441136379, + -0.0006223371220667547, + -0.0007220528455165682, + -0.000827508686190324, + -0.0009389908951007107, + -0.0010567945371556624, + -0.0011812230565893525, + -0.0013125877301202954, + -0.001451206997349, + -0.0015974056579288567, + -0.0017515139252710465, + -0.001913866327020851, + -0.0020848004433137632, + -0.002264655474931611, + -0.0024537706349778807, + -0.002652483359622235, + -0.002861127335868406, + -0.003080030347211412, + -0.0033095119414942955, + -0.003549880929262126, + -0.0038014327254342136, + -0.004064446552144579, + -0.004339182526077187, + -0.0046258786594560826, + -0.004924747809914107, + -0.00523597462058977, + -0.0055597124977806575, + -0.0058960806790626374, + -0.006245161449676185, + -0.006606997568861893, + -0.0069815899703500476, + -0.007368895802020421, + -0.007768826868502917, + -0.008181248536876707, + -0.00860597915939296, + -0.009042790058130164, + -0.009491406104644873, + -0.009951506913104785, + -0.0104227286483491, + -0.010904666431268858, + -0.011396877303473512, + -0.011898883692232408, + -0.012410177296130311, + -0.012930223292845468, + -0.013458464754106697, + -0.013994327140350855, + -0.014537222739938477, + -0.015086554915865361, + -0.015641722027343492, + -0.016202120904692526, + -0.01676714977357033, + -0.017336210548145853, + -0.01790871044142411, + -0.018484062873237766, + -0.01906168769076347, + -0.019641010750931245, + -0.020221462946796703, + -0.02080247878890787, + -0.021383494676155378, + -0.021963947007106497, + -0.022543270291343176, + -0.023120895420326363, + -0.023696248248785346, + -0.024268748621121265, + -0.02483780995385511, + -0.025402839456189447, + -0.025963239038051627, + -0.026518406920475166, + -0.02706773992883202, + -0.027610636417125578, + -0.028146499742945412, + -0.028674742189111462, + -0.029194789210447766, + -0.02970608387305799, + -0.030208091349039366, + -0.03070030333149242, + -0.03118224224234708, + -0.03165346511806051, + -0.032113567074596006, + -0.032562184272120716, + -0.032998996320411395, + -0.033423728086934494, + -0.03383615088999311, + -0.0342360830783872, + -0.034623390016072134, + -0.03499798350488126, + -0.035359820690220964, + -0.03570890250366271, + -0.036045271702592765, + -0.03636901057068796, + -0.036680238344236636, + -0.036979108428507906, + -0.037265805465853695, + -0.03754054231334339, + -0.03780355698284277, + -0.03805510959086374, + -0.03829547935953643, + -0.03852496170392669, + -0.03874386543485928, + -0.038952510100573906, + -0.03915122348506364, + -0.03934033927591741, + -0.03952019490996355, + -0.039691129601025325, + -0.039853482550654136, + -0.040007591339794195, + -0.04015379049692936, + -0.0402924102363299, + -0.04042377535851868, + -0.040548204303960896, + -0.040666008350204404, + -0.04077749094221768, + -0.04088294714543573, + -0.04098266321102221, + -0.041076916243029914, + -0.04116597395747512, + -0.041250094523766295, + -0.0413295264793988, + -0.04140450870931046, + -0.04147527048179509, + -0.04154203153340027, + -0.04166807398874501, + -0.04173499946070716, + -0.04180606030997842, + -0.041881499958442654, + -0.04196157458757899, + -0.04204655360169078, + -0.04213672007926883, + -0.04223237120732682, + -0.042333818692842896, + -0.042441389144675164, + -0.04255542441849466, + -0.0426762819163984, + -0.042804334831929164, + -0.04293997233024354, + -0.04308359965214191, + -0.04323563812961326, + -0.04339652509946827, + -0.04356671370055155, + -0.04374667253895711, + -0.04393688520465177, + -0.04413784962196067, + -0.04435007721553241, + -0.044574091872713904, + -0.04481042868277784, + -0.04505963243321339, + -0.04532225584337206, + -0.04559885751622178, + -0.04588999958987537, + -0.04619624507199699, + -0.04651815484222918, + -0.04685628431049827, + -0.0472111797225219, + -0.04758337410811997, + -0.04797338287307903, + -0.04838169904137195, + -0.048808788161510866, + -0.04925508289869643, + -0.04972097734317583, + -0.05020682107475494, + -0.050712913033584744, + -0.051239495257993234, + -0.05178674656101244, + -0.05235477622807693, + -0.05294361782879549, + -0.053553223245340065, + -0.05418345702841039, + -0.0548340911984713, + -0.05550480061454792, + -0.05619515903482777, + -0.05690463599225177, + -0.057632594603779654, + -0.05837829042382631, + -0.0591408714403092, + -0.05991937929578693, + -0.060712751796452115, + -0.06151982674856104, + -0.062339347135735204, + -0.06316996762211453, + -0.06401026233640379, + -0.06485873386138535, + -0.0657138233235228, + -0.06657392144894288, + -0.06743738042644662, + -0.0683025263962781, + -0.06916767236607962, + -0.07003113134349305, + -0.07089122946876356, + -0.0717463189306929, + -0.0725947904554093, + -0.07343508516937805, + -0.0742657056553836, + -0.07508522604213307, + -0.07589230099376906, + -0.07668567349391611, + -0.07746418134883355, + -0.07822676236471714, + -0.07897245818412928, + -0.0797004167949907, + -0.0804098937517201, + -0.08110025217128083, + -0.08177096158661751, + -0.08242159575592102, + -0.0830518295382202, + -0.08366143495398361, + -0.0842502765539139, + -0.08481830622018625, + -0.08536555752241269, + -0.08589213974603031, + -0.08639823170407392, + -0.08688407543487402, + -0.08734996987858362, + -0.08779626461501074, + -0.08822335373440443, + -0.08863166990196678, + -0.0890216786662114, + -0.08939387305111243, + -0.0897487684624572, + -0.09008689793006681, + -0.09040880769965931, + -0.09071505318116176, + -0.09100619525421663, + -0.09128279692648887, + -0.0915454203360909, + -0.0917946240859911, + -0.09203096089554047, + -0.09225497555222834, + -0.09246720314532682, + -0.09266816756218273, + -0.09285838022744432, + -0.09303833906543606, + -0.09320852766612449, + -0.09336941463560283, + -0.09352145311271563, + -0.09366508043427234, + -0.09380071793226193, + -0.09392877084748388, + -0.09404962834509444, + -0.09416366361863572, + -0.09427123407020388, + -0.09437268155546963, + -0.09446833268329033, + -0.09455849916064374, + -0.09464347817454277, + -0.09472355280347793, + -0.09479899245175186, + -0.09487005330084326, + -0.09493697877263532, + -0.09499999999999964 + ], + "direct_maximum_absolute": 0.09499999999999964, + "eliminated": [ + 0.0, + -6.297052455897911e-05, + -0.00012973141170526508, + -0.00020049299128761092, + -0.000275474999459675, + -0.00035490670549944976, + -0.00043902699624954485, + -0.0005280844113637886, + -0.0006223371220667533, + -0.0007220528455165659, + -0.0008275086861903219, + -0.000938990895100708, + -0.0010567945371556592, + -0.001181223056589348, + -0.0013125877301202926, + -0.001451206997348996, + -0.0015974056579288515, + -0.0017515139252710407, + -0.0019138663270208466, + -0.002084800443313756, + -0.0022646554749316044, + -0.002453770634977876, + -0.0026524833596222293, + -0.0028611273358684023, + -0.003080030347211404, + -0.003309511941494286, + -0.0035498809292621165, + -0.0038014327254342036, + -0.004064446552144571, + -0.004339182526077178, + -0.004625878659456069, + -0.004924747809914091, + -0.005235974620589759, + -0.005559712497780646, + -0.005896080679062622, + -0.006245161449676169, + -0.006606997568861872, + -0.006981589970350026, + -0.007368895802020401, + -0.007768826868502891, + -0.008181248536876675, + -0.008605979159392938, + -0.009042790058130128, + -0.009491406104644851, + -0.00995150691310476, + -0.010422728648349061, + -0.010904666431268827, + -0.011396877303473467, + -0.011898883692232385, + -0.012410177296130281, + -0.012930223292845423, + -0.013458464754106647, + -0.01399432714035082, + -0.014537222739938438, + -0.015086554915865314, + -0.015641722027343447, + -0.016202120904692457, + -0.016767149773570272, + -0.017336210548145808, + -0.017908710441424062, + -0.0184840628732377, + -0.019061687690763426, + -0.019641010750931186, + -0.02022146294679667, + -0.020802478788907786, + -0.021383494676155305, + -0.02196394700710645, + -0.022543270291343103, + -0.02312089542032628, + -0.023696248248785273, + -0.02426874862112122, + -0.024837809953855032, + -0.025402839456189347, + -0.02596323903805155, + -0.02651840692047509, + -0.02706773992883194, + -0.027610636417125488, + -0.02814649974294532, + -0.02867474218911136, + -0.029194789210447672, + -0.02970608387305789, + -0.030208091349039276, + -0.030700303331492335, + -0.031182242242346954, + -0.03165346511806037, + -0.03211356707459589, + -0.03256218427212062, + -0.03299899632041128, + -0.03342372808693433, + -0.03383615088999302, + -0.034236083078387075, + -0.03462339001607199, + -0.03499798350488118, + -0.035359820690220846, + -0.035708902503662626, + -0.03604527170259263, + -0.03636901057068785, + -0.03668023834423651, + -0.0369791084285078, + -0.03726580546585353, + -0.03754054231334325, + -0.03780355698284263, + -0.03805510959086361, + -0.03829547935953634, + -0.03852496170392659, + -0.038743865434859165, + -0.03895251010057377, + -0.03915122348506351, + -0.03934033927591729, + -0.03952019490996343, + -0.039691129601025235, + -0.03985348255065403, + -0.0400075913397941, + -0.040153790496929236, + -0.040292410236329755, + -0.040423775358518564, + -0.040548204303960694, + -0.04066600835020429, + -0.04077749094221753, + -0.0408829471454356, + -0.040982663211022105, + -0.0410769162430298, + -0.041165973957474934, + -0.04125009452376612, + -0.04132952647939865, + -0.04140450870931032, + -0.041475270481794925, + -0.041542031533400164, + -0.041668073988744884, + -0.041734999460707044, + -0.041806060309978334, + -0.04188149995844257, + -0.04196157458757885, + -0.04204655360169066, + -0.04213672007926874, + -0.0422323712073267, + -0.04233381869284275, + -0.04244138914467502, + -0.04255542441849453, + -0.04267628191639828, + -0.04280433483192903, + -0.04293997233024342, + -0.043083599652141785, + -0.04323563812961309, + -0.04339652509946813, + -0.04356671370055142, + -0.043746672538957025, + -0.04393688520465168, + -0.044137849621960545, + -0.04435007721553228, + -0.04457409187271378, + -0.0448104286827777, + -0.04505963243321326, + -0.04532225584337195, + -0.04559885751622167, + -0.045889999589875254, + -0.04619624507199689, + -0.04651815484222907, + -0.04685628431049816, + -0.04721117972252178, + -0.04758337410811983, + -0.04797338287307889, + -0.048381699041371816, + -0.04880878816151078, + -0.0492550828986963, + -0.049720977343175744, + -0.05020682107475486, + -0.05071291303358463, + -0.051239495257993074, + -0.051786746561012356, + -0.05235477622807681, + -0.052943617828795385, + -0.05355322324534, + -0.05418345702841024, + -0.054834091198471234, + -0.05550480061454783, + -0.056195159034827656, + -0.05690463599225171, + -0.05763259460377954, + -0.058378290423826217, + -0.0591408714403091, + -0.05991937929578684, + -0.06071275179645204, + -0.061519826748560984, + -0.06233934713573513, + -0.06316996762211441, + -0.06401026233640365, + -0.06485873386138526, + -0.06571382332352273, + -0.06657392144894282, + -0.06743738042644647, + -0.06830252639627805, + -0.0691676723660795, + -0.07003113134349298, + -0.07089122946876346, + -0.07174631893069286, + -0.0725947904554093, + -0.07343508516937804, + -0.07426570565538354, + -0.07508522604213301, + -0.07589230099376905, + -0.07668567349391606, + -0.07746418134883344, + -0.07822676236471712, + -0.0789724581841292, + -0.07970041679499063, + -0.08040989375172004, + -0.08110025217128075, + -0.08177096158661733, + -0.08242159575592103, + -0.08305182953822024, + -0.08366143495398357, + -0.08425027655391386, + -0.08481830622018625, + -0.08536555752241266, + -0.08589213974603027, + -0.08639823170407389, + -0.08688407543487393, + -0.08734996987858362, + -0.08779626461501072, + -0.0882233537344044, + -0.08863166990196676, + -0.08902167866621141, + -0.08939387305111239, + -0.08974876846245727, + -0.09008689793006683, + -0.09040880769965931, + -0.09071505318116163, + -0.09100619525421663, + -0.09128279692648875, + -0.0915454203360909, + -0.091794624085991, + -0.09203096089554044, + -0.09225497555222827, + -0.09246720314532683, + -0.09266816756218275, + -0.09285838022744426, + -0.09303833906543604, + -0.09320852766612443, + -0.09336941463560292, + -0.09352145311271548, + -0.09366508043427238, + -0.09380071793226197, + -0.093928770847484, + -0.0940496283450945, + -0.09416366361863568, + -0.09427123407020391, + -0.09437268155546963, + -0.09446833268329037, + -0.09455849916064381, + -0.09464347817454294, + -0.09472355280347798, + -0.0947989924517519, + -0.09487005330084325, + -0.09493697877263535, + -0.09499999999999964 + ], + "eliminated_maximum_absolute": 0.09499999999999964, + "floor_active": false, + "maximum_absolute_difference": 2.0122792321330962e-16, + "normalization_floor": 0.025851999786435535, + "normalization_scale": 0.09499999999999964, + "relative_error": 2.1181886654032673e-15, + "unit": "V" + }, + "sheet_charge": { + "difference": [ + 0.0 + ], + "direct": [ + -2.208027851236118e-13 + ], + "direct_maximum_absolute": 2.208027851236118e-13, + "eliminated": [ + -2.208027851236118e-13 + ], + "eliminated_maximum_absolute": 2.208027851236118e-13, + "floor_active": true, + "maximum_absolute_difference": 0.0, + "normalization_floor": 8.01088317e-05, + "normalization_scale": 8.01088317e-05, + "relative_error": 0.0, + "unit": "C m-2" + }, + "trace_potential": { + "difference": [ + [ + -1.3877787807814457e-17, + -1.3877787807814457e-17 + ] + ], + "direct": [ + [ + -1.4718087859577622e-13, + -1.4718087859577622e-13 + ] + ], + "direct_maximum_absolute": 1.4718087859577622e-13, + "eliminated": [ + [ + -1.471670008079684e-13, + -1.471670008079684e-13 + ] + ], + "eliminated_maximum_absolute": 1.471670008079684e-13, + "floor_active": true, + "maximum_absolute_difference": 1.3877787807814457e-17, + "normalization_floor": 0.025851999786435535, + "normalization_scale": 0.025851999786435535, + "relative_error": 5.368168003426988e-16, + "unit": "V" + } + }, + "hole_qf_increment_V": [ + 0.0, + 1.4118321297055634e-06, + 2.907287796608482e-06, + 4.490836803747463e-06, + 6.167127032992367e-06, + 7.940983656455448e-06, + 9.81740709715633e-06, + 1.1801569572780038e-05, + 1.3898810045816463e-05, + 1.611462739367033e-05, + 1.845467160387177e-05, + 2.0924732792737834e-05, + 2.353072784125375e-05, + 2.627868444009614e-05, + 2.9174722337246033e-05, + 3.222503158718652e-05, + 3.5435847610075954e-05, + 3.881342289213125e-05, + 4.236399515552762e-05, + 4.609375190468294e-05, + 5.000879123001348e-05, + 5.411507884447135e-05, + 5.841840135633439e-05, + 6.292431585060996e-05, + 6.763809592107363e-05, + 7.25646743739837e-05, + 7.770858291133806e-05, + 8.307388919426925e-05, + 8.866413179319577e-05, + 9.448225360877432e-05, + 0.00010053053450069352, + 0.00010681052390056375, + 0.00011332297433113437, + 0.00012006777681672015, + 0.00012704389925180474, + 0.00013424932885249086, + 0.00014168101985386256, + 0.0001493348476310787, + 0.00015720557041015197, + 0.00016528679969365055, + 0.0001735709804547779, + 0.00018204938205906043, + 0.00019071210071720053, + 0.00019954807416421028, + 0.0002085451090147277, + 0.00021768992109945135, + 0.000226968188821711, + 0.0002363646194052494, + 0.00024586302761391026, + 0.00025544642634974966, + 0.0002650971282962175, + 0.0002747968575789113, + 0.00028452687023189285, + 0.0002942680820945042, + 0.00030400120262304777, + 0.00031370687298478285, + 0.00032336580670892714, + 0.00033295893110106924, + 0.0003424675275838497, + 0.0003518733691086141, + 0.0003611588527910854, + 0.000370307125960585, + 0.0003793022038790991, + 0.0003881290774857577, + 0.00039677380965527723, + 0.00040522361863576877, + 0.00041346694751217454, + 0.0004214935188313695, + 0.0004292943737334487, + 0.00043686189527880967, + 0.00044418981594772784, + 0.0004512732096148934, + 0.0004581084686146854, + 0.00046469326680998726, + 0.0004710265098545899, + 0.00047710827404623776, + 0.00048293973540208454, + 0.000488523090657134, + 0.000493861472017576, + 0.0004989588574758402, + 0.0005038199784972653, + 0.0005084502267645929, + 0.0005128555615759217, + 0.0005170424192927046, + 0.0005210176260800535, + 0.0005247883149616411, + 0.0005283618480104197, + 0.000531745744290483, + 0.0005349476139696514, + 0.0005379750988414821, + 0.0005408358193334772, + 0.0005435373279370235, + 0.0005460870688842011, + 0.000548492343777216, + 0.0005507602828535418, + 0.0005528978214558466, + 0.0005549116812921666, + 0.0005568083560296612, + 0.0005585941007687425, + 0.0005602749249509171, + 0.0005618565882698426, + 0.0005633445991777927, + 0.0005647442156070082, + 0.000566060447555616, + 0.0005672980612195095, + 0.0005684615843836829, + 0.0005695553128180776, + 0.0005705833174533798, + 0.0005715494521409037, + 0.0005724573618273807, + 0.000573310490999977, + 0.0005741120922790654, + 0.0005748652350562216, + 0.0005755728140926146, + 0.0005762375580085664, + 0.0005768620376086656, + 0.0005774486739986178, + 0.0005779997464601362, + 0.0005785174000588109, + 0.0005790036529671916, + 0.0005794604034914261, + 0.0005798894367948772, + 0.0005802924313163137, + 0.000580670964883663, + 0.0005810265205270375, + 0.0005813604919968972, + 0.0005816741889948863, + 0.0005819688421261336, + 0.0006745529464549983, + 0.0006884948345393128, + 0.0007032505548269888, + 0.0007188620322603771, + 0.0007353726438232545, + 0.0007528271745530491, + 0.000771271757652996, + 0.0007907537968359391, + 0.0008113218689247106, + 0.0008330256046881204, + 0.0008559155457910584, + 0.0008800429757692485, + 0.0009054597228610936, + 0.0009322179326547414, + 0.0009603698085477074, + 0.0009899673181886204, + 0.0010210618643023198, + 0.0010537039185664475, + 0.0010879426176221565, + 0.0011238253207612745, + 0.0011613971294199162, + 0.0012007003692980555, + 0.0012417740367284059, + 0.0012846532118358958, + 0.0013293684420587087, + 0.0013759451007355503, + 0.0014244027266888909, + 0.0014747543520309638, + 0.0015270058267620123, + 0.0015811551500840607, + 0.001637191819685352, + 0.0016950962114716185, + 0.0017548390033804476, + 0.0018163806577649651, + 0.0018796709775389863, + 0.0019446487515436765, + 0.0020112415045720248, + 0.002079365366884854, + 0.002148925077051445, + 0.002219814130324311, + 0.0022919150825987137, + 0.002365100017277432, + 0.002439231179099456, + 0.0025141617752566883, + 0.0025897369400061233, + 0.0026657948546058904, + 0.002742168009909636, + 0.002818684594513551, + 0.002895169987148231, + 0.0029714483282329393, + 0.0030473441423474502, + 0.0031226839809955003, + 0.003197298053573632, + 0.0032710218140324944, + 0.003343697471340549, + 0.0034151753936438605, + 0.003485315378722669, + 0.0035539877670955587, + 0.003621074378575632, + 0.003686469258154332, + 0.0037500792225162644, + 0.003811824204045897, + 0.003871637394637474, + 0.003929465196740845, + 0.003985266993672949, + 0.004039014755138823, + 0.0040906924970232125, + 0.004140295616767524, + 0.00418783012701841, + 0.004233311810749072, + 0.0042767653207858945, + 0.004318223245677347, + 0.004357725162343154, + 0.004395316693882386, + 0.004431048588665661, + 0.004464975834292302, + 0.004497156817489802, + 0.0045276525384468245, + 0.004556525885728972, + 0.00458384097566719, + 0.004609662558191397, + 0.0046340554893085605, + 0.004657084269038746, + 0.004678812642444701, + 0.004699303260474748, + 0.004718617396731557, + 0.004736814715776834, + 0.004753953088387444, + 0.004770088449035925, + 0.0047852746909610635, + 0.00479956359427705, + 0.004813004782810501, + 0.004825645705650312, + 0.004837531639646923, + 0.004848705709473062, + 0.00485920892216593, + 0.00486908021341545, + 0.0048783565031570416, + 0.004887072758380135, + 0.0048952620612843336, + 0.004902955681224971, + 0.004910183149101554, + 0.004916972333062253, + 0.004923349514586026, + 0.004929339464170977, + 0.004934965516002587, + 0.0049402496411092975, + 0.004945212518597007, + 0.004949873604696801, + 0.004954251199376886, + 0.0049583625103856496, + 0.0049622237146220655, + 0.004965850016789473, + 0.004969255705300034, + 0.004972454205476933, + 0.0049754581300630665, + 0.004978279327113338, + 0.004980928925337082, + 0.004983417376974903, + 0.004985754498300861, + 0.004987949507846033, + 0.004990011062442465, + 0.004991947291187893, + 0.004993765827431644, + 0.004995473838881012, + 0.004997078055925641, + 0.004998584798273957, + 0.004999999999999893 + ], + "independent_physics": { + "arrays": { + "charge_balance_absolute_A_m2": 1.6185161804416824e-18, + "charge_balance_scale_A_m2": 1.0, + "charge_rate_A_m2": 7.328455737018775e-09, + "contact_conduction_A_m2": [ + -1.127120750931117e-05, + -1.127853596504657e-05 + ], + "contact_displacement_A_m2": [ + -7.684189586573563e-06, + -7.67686113083655e-06 + ], + "contact_total_A_m2": [ + -1.8955397095884733e-05, + -1.895539709588312e-05 + ], + "electron_current_A_m2": [ + -6.445044611524884e-06, + -6.445044611751665e-06, + -6.445044612252768e-06, + -6.4450446130836446e-06, + -6.445044614308926e-06, + -6.445044616003844e-06, + -6.445044618255834e-06, + -6.445044621166508e-06, + -6.445044624853727e-06, + -6.44504462945417e-06, + -6.44504463512616e-06, + -6.445044642052958e-06, + -6.445044650446545e-06, + -6.445044660551793e-06, + -6.4450446726515856e-06, + -6.445044687072148e-06, + -6.445044704189629e-06, + -6.445044724437122e-06, + -6.445044748312908e-06, + -6.445044776389779e-06, + -6.445044809325132e-06, + -6.445044847872887e-06, + -6.445044892896412e-06, + -6.445044945383039e-06, + -6.445045006460153e-06, + -6.4450450774130176e-06, + -6.445045159704252e-06, + -6.445045254995223e-06, + -6.445045365169047e-06, + -6.445045492355615e-06, + -6.445045638958043e-06, + -6.445045807680777e-06, + -6.445046001559003e-06, + -6.445046223988786e-06, + -6.4450464787580246e-06, + -6.445046770076909e-06, + -6.445047102607976e-06, + -6.445047481494154e-06, + -6.445047912384498e-06, + -6.445048401455593e-06, + -6.445048955428604e-06, + -6.445049581578871e-06, + -6.445050287738256e-06, + -6.4450510822872294e-06, + -6.4450519741362105e-06, + -6.4450529726936205e-06, + -6.445054087820067e-06, + -6.445055329766658e-06, + -6.445056709097288e-06, + -6.445058236593317e-06, + -6.4450599231413595e-06, + -6.445061779604011e-06, + -6.445063816674991e-06, + -6.44506604471938e-06, + -6.445068473602832e-06, + -6.44507111251111e-06, + -6.44507396976473e-06, + -6.445077052632257e-06, + -6.4450803671475065e-06, + -6.44508391793501e-06, + -6.445087708049293e-06, + -6.445091738832851e-06, + -6.4450960097982936e-06, + -6.44510051853743e-06, + -6.445105260663147e-06, + -6.445110229785218e-06, + -6.445115417522782e-06, + -6.445120813553832e-06, + -6.445126405701635e-06, + -6.445132180055938e-06, + -6.445138121127118e-06, + -6.445144212028511e-06, + -6.445150434682824e-06, + -6.445156770047609e-06, + -6.445163198353408e-06, + -6.445169699349173e-06, + -6.445176252548202e-06, + -6.445182837470369e-06, + -6.445189433873503e-06, + -6.4451960219702665e-06, + -6.445202582627019e-06, + -6.445209097540394e-06, + -6.445215549389846e-06, + -6.445221921965345e-06, + -6.4452282002685395e-06, + -6.445234370588609e-06, + -6.445240420552448e-06, + -6.445246339152327e-06, + -6.445252116751124e-06, + -6.445257745068386e-06, + -6.445263217148803e-06, + -6.445268527317361e-06, + -6.4452736711205665e-06, + -6.445278645259852e-06, + -6.4452834475167e-06, + -6.445288076673126e-06, + -6.4452925324284356e-06, + -6.445296815315775e-06, + -6.445300926617699e-06, + -6.4453048682836275e-06, + -6.445308642850192e-06, + -6.4453122533640575e-06, + -6.445315703308864e-06, + -6.445318996537826e-06, + -6.44532213720945e-06, + -6.445325129728265e-06, + -6.445327978692243e-06, + -6.445330688843343e-06, + -6.445333265023045e-06, + -6.445335712133679e-06, + -6.445338035103768e-06, + -6.445340238856249e-06, + -6.445342328282644e-06, + -6.4453443082191886e-06, + -6.445346183427942e-06, + -6.445347958578943e-06, + -6.4453496382381685e-06, + -6.445351226853713e-06, + -6.445352728747797e-06, + -6.445354148111729e-06, + -6.445355488995787e-06, + -6.44535675531215e-06, + -6.445357950823948e-06, + -6.44535907915522e-06, + -6.445360143779313e-06, + -6.4453611480275695e-06, + -6.445362095088757e-06, + -6.445363421059317e-06, + -6.452693410669669e-06, + -6.452694084365364e-06, + -6.4526947985243516e-06, + -6.452695555387785e-06, + -6.452696357225143e-06, + -6.4526972064967114e-06, + -6.4526981057234715e-06, + -6.452699057466664e-06, + -6.452700064533855e-06, + -6.452701129603901e-06, + -6.452702255645079e-06, + -6.452703445629333e-06, + -6.452704702551074e-06, + -6.4527060295907265e-06, + -6.452707429903122e-06, + -6.452708906720637e-06, + -6.452710463306195e-06, + -6.452712102979193e-06, + -6.452713829024914e-06, + -6.452715644717692e-06, + -6.452717553312114e-06, + -6.452719558002867e-06, + -6.4527216618605835e-06, + -6.45272386786273e-06, + -6.45272617880786e-06, + -6.452728597310849e-06, + -6.452731125733269e-06, + -6.452733766154383e-06, + -6.452736520321318e-06, + -6.452739389591573e-06, + -6.452742374869332e-06, + -6.452745476578734e-06, + -6.452748694581724e-06, + -6.452752028111732e-06, + -6.452755475732672e-06, + -6.452759035274535e-06, + -6.452762703780615e-06, + -6.452766477426467e-06, + -6.452770351519018e-06, + -6.452774320425708e-06, + -6.45277837753159e-06, + -6.4527825152460636e-06, + -6.452786724974008e-06, + -6.4527909971251285e-06, + -6.452795321130736e-06, + -6.4527996854899585e-06, + -6.452804077819136e-06, + -6.452808484930523e-06, + -6.452812892930671e-06, + -6.4528172873487125e-06, + -6.452821653255676e-06, + -6.452825975445009e-06, + -6.452830238587606e-06, + -6.452834427440149e-06, + -6.452838527020709e-06, + -6.452842522835708e-06, + -6.452846401075175e-06, + -6.452850148811276e-06, + -6.452853754200189e-06, + -6.452857206644232e-06, + -6.4528604969622366e-06, + -6.452863617499804e-06, + -6.452866562248759e-06, + -6.452869326892103e-06, + -6.452871908841452e-06, + -6.4528743072363075e-06, + -6.45287652288809e-06, + -6.4528785582077535e-06, + -6.452880417104763e-06, + -6.45288210483815e-06, + -6.4528836278712315e-06, + -6.452884993692879e-06, + -6.4528862106310305e-06, + -6.4528872876745125e-06, + -6.452888234272937e-06, + -6.45288906016785e-06, + -6.452889775215398e-06, + -6.452890389233827e-06, + -6.452890911863112e-06, + -6.45289135245161e-06, + -6.452891719949684e-06, + -6.452892022835318e-06, + -6.4528922690539605e-06, + -6.452892465978444e-06, + -6.452892620381859e-06, + -6.4528927384354785e-06, + -6.452892825704634e-06, + -6.452892887171129e-06, + -6.4528929272529485e-06, + -6.452892949833751e-06, + -6.45289295830015e-06, + -6.452892955580398e-06, + -6.45289294418265e-06, + -6.452892926231918e-06, + -6.452892903519751e-06, + -6.452892877532641e-06, + -6.452892849488313e-06, + -6.452892820383759e-06, + -6.452892791003599e-06, + -6.452892761973308e-06, + -6.452892733765906e-06, + -6.452892706735764e-06, + -6.4528926811338385e-06, + -6.452892657132844e-06, + -6.452892634827211e-06, + -6.452892614268798e-06, + -6.452892595459995e-06, + -6.452892578369673e-06, + -6.452892562944182e-06, + -6.4528925491085494e-06, + -6.452892536780441e-06, + -6.4528925258592924e-06, + -6.452892516253059e-06, + -6.452892507857322e-06, + -6.452892500569348e-06, + -6.4528924942985806e-06, + -6.452892488942623e-06, + -6.452892484419636e-06, + -6.452892480637001e-06, + -6.4528924775178135e-06, + -6.452892474992746e-06, + -6.452892472988774e-06, + -6.4528924714441155e-06, + -6.452892470302851e-06, + -6.4528924695109135e-06, + -6.452892469025654e-06, + -6.452892468803136e-06 + ], + "hole_current_A_m2": [ + -4.8261628977862855e-06, + -4.826162897559469e-06, + -4.8261628970583115e-06, + -4.826162896227351e-06, + -4.82616289500199e-06, + -4.82616289330699e-06, + -4.82616289105491e-06, + -4.82616288814417e-06, + -4.826162884456902e-06, + -4.826162879856423e-06, + -4.826162874184416e-06, + -4.826162867257629e-06, + -4.826162858864115e-06, + -4.826162848758947e-06, + -4.826162836659318e-06, + -4.826162822238954e-06, + -4.826162805121753e-06, + -4.826162784874627e-06, + -4.826162760999274e-06, + -4.826162732922997e-06, + -4.826162699988346e-06, + -4.8261626614414605e-06, + -4.826162616418953e-06, + -4.82616256393358e-06, + -4.826162502857949e-06, + -4.8261624319068625e-06, + -4.826162349617704e-06, + -4.826162254329194e-06, + -4.826162144158241e-06, + -4.826162016975033e-06, + -4.826161870376532e-06, + -4.826161701658335e-06, + -4.826161507785386e-06, + -4.826161285361693e-06, + -4.8261610305994816e-06, + -4.8261607392886905e-06, + -4.826160406766924e-06, + -4.826160027891415e-06, + -4.826159597013322e-06, + -4.82615910795611e-06, + -4.826158553999e-06, + -4.826157927866844e-06, + -4.826157221727996e-06, + -4.82615642720229e-06, + -4.826155535379659e-06, + -4.826154536851944e-06, + -4.8261534217590304e-06, + -4.826152179850054e-06, + -4.8261508005615954e-06, + -4.826149273112835e-06, + -4.826147586617525e-06, + -4.8261457302135174e-06, + -4.826143693207858e-06, + -4.8261414652357295e-06, + -4.82613903643213e-06, + -4.826136397611839e-06, + -4.82613354045499e-06, + -4.826130457693504e-06, + -4.826127143294086e-06, + -4.826123592632802e-06, + -4.826119802655691e-06, + -4.826115772020524e-06, + -4.826111501215377e-06, + -4.8261069926487106e-06, + -4.826102250707957e-06, + -4.826097281783603e-06, + -4.826092094256808e-06, + -4.826086698449602e-06, + -4.826081106538751e-06, + -4.82607533243451e-06, + -4.826069391626326e-06, + -4.826063301000523e-06, + -4.826057078634253e-06, + -4.826050743569388e-06, + -4.826044315574873e-06, + -4.826037814901345e-06, + -4.8260312620341915e-06, + -4.826024677453721e-06, + -4.826018081400539e-06, + -4.826011493661353e-06, + -4.826004933368897e-06, + -4.825998418825242e-06, + -4.825991967350434e-06, + -4.825985595152947e-06, + -4.825979317230453e-06, + -4.825973147292624e-06, + -4.82596709771137e-06, + -4.8259611794936406e-06, + -4.825955402275417e-06, + -4.825949774335979e-06, + -4.8259443026304845e-06, + -4.82593899283261e-06, + -4.8259338493948e-06, + -4.825928875615036e-06, + -4.82592407371138e-06, + -4.825919444901621e-06, + -4.825914989484583e-06, + -4.825910706927971e-06, + -4.825906595948172e-06, + -4.825902654595134e-06, + -4.825898880333082e-06, + -4.825895270113721e-06, + -4.825891820454337e-06, + -4.825888527501114e-06, + -4.825885387095096e-06, + -4.825882394833255e-06, + -4.825879546115565e-06, + -4.825876836201506e-06, + -4.825874260248795e-06, + -4.825871813356646e-06, + -4.825869490594773e-06, + -4.825867287042673e-06, + -4.8258651978064996e-06, + -4.825863218053767e-06, + -4.82586134301774e-06, + -4.825859568032135e-06, + -4.825857888531681e-06, + -4.825856300066615e-06, + -4.825854798313814e-06, + -4.825853379086409e-06, + -4.825852038331153e-06, + -4.825850772137567e-06, + -4.825849576740336e-06, + -4.825848448521144e-06, + -4.825847383998214e-06, + -4.825846379848435e-06, + -4.825845432882202e-06, + -4.825844107082066e-06, + -4.825842522070362e-06, + -4.825841848505165e-06, + -4.825841134493917e-06, + -4.825840377809941e-06, + -4.825839576130142e-06, + -4.825838727034828e-06, + -4.825837828007554e-06, + -4.825836876435757e-06, + -4.825835869612535e-06, + -4.8258348047388356e-06, + -4.825833678926938e-06, + -4.82583248920514e-06, + -4.825831232523698e-06, + -4.825829905762135e-06, + -4.825828505738451e-06, + -4.825827029219956e-06, + -4.825825472936142e-06, + -4.825823833593837e-06, + -4.82582210789458e-06, + -4.8258202925548675e-06, + -4.825818384328859e-06, + -4.825816380034051e-06, + -4.825814276580334e-06, + -4.825812071002085e-06, + -4.82580976049325e-06, + -4.8258073424467914e-06, + -4.825804814496377e-06, + -4.825802174562384e-06, + -4.825799420900625e-06, + -4.82579655215424e-06, + -4.825793567408451e-06, + -4.825790466247169e-06, + -4.825787248811947e-06, + -4.825783915861197e-06, + -4.825780468830119e-06, + -4.8257769098894e-06, + -4.8257732420017506e-06, + -4.82576946897513e-06, + -4.825765595510907e-06, + -4.825761627245005e-06, + -4.825757570780867e-06, + -4.8257534337119375e-06, + -4.82574922463145e-06, + -4.825744953128629e-06, + -4.8257406297678406e-06, + -4.825736266051023e-06, + -4.82573187436017e-06, + -4.825727467880058e-06, + -4.825723060499921e-06, + -4.82571866669469e-06, + -4.825714301385763e-06, + -4.825709979782738e-06, + -4.8257057172090415e-06, + -4.825701528912916e-06, + -4.825697429868562e-06, + -4.8256934345713e-06, + -4.8256895568317745e-06, + -4.825685809574127e-06, + -4.825682204645189e-06, + -4.82567875263814e-06, + -4.82567546273839e-06, + -4.825672342594579e-06, + -4.825669398220922e-06, + -4.825666633932028e-06, + -4.825664052314246e-06, + -4.8256616542325955e-06, + -4.825659438874836e-06, + -4.82565740382794e-06, + -4.825655545187251e-06, + -4.8256538576912585e-06, + -4.825652334879051e-06, + -4.825650969262946e-06, + -4.825649752513142e-06, + -4.8256486756452634e-06, + -4.825647729207314e-06, + -4.825646903460581e-06, + -4.8256461885492884e-06, + -4.8256455746559766e-06, + -4.825645052140182e-06, + -4.8256446116561475e-06, + -4.825644244253073e-06, + -4.825643941453864e-06, + -4.825643695313892e-06, + -4.825643498461322e-06, + -4.825643344122171e-06, + -4.8256432261274385e-06, + -4.82564313891098e-06, + -4.825643077491844e-06, + -4.825643037453598e-06, + -4.82564301491203e-06, + -4.8256430064799995e-06, + -4.82564300923062e-06, + -4.82564302065721e-06, + -4.825643038631674e-06, + -4.8256430613667376e-06, + -4.825643087374388e-06, + -4.825643115435706e-06, + -4.825643144556599e-06, + -4.825643173949983e-06, + -4.8256432029930155e-06, + -4.825643231210692e-06, + -4.825643258251625e-06, + -4.825643283860617e-06, + -4.82564330787073e-06, + -4.825643330182051e-06, + -4.825643350745873e-06, + -4.825643369560068e-06, + -4.82564338665527e-06, + -4.825643402083143e-06, + -4.82564341592255e-06, + -4.8256434282548955e-06, + -4.825643439175678e-06, + -4.825643448786774e-06, + -4.825643457184532e-06, + -4.825643464470996e-06, + -4.825643470744761e-06, + -4.825643476101823e-06, + -4.825643480628581e-06, + -4.825643484408275e-06, + -4.825643487526834e-06, + -4.825643490057315e-06, + -4.825643492056619e-06, + -4.82564349360552e-06, + -4.825643494745242e-06, + -4.8256434955366495e-06, + -4.82564349602202e-06, + -4.825643496243433e-06 + ], + "initial_positive_inventory_m2": [ + 999999999999999.8 + ], + "interface_conduction_A_m2": [ + [ + -1.1271207528141384e-05, + -1.1278535932532957e-05 + ] + ], + "interface_displacement_A_m2": [ + [ + -7.684189567785526e-06, + -7.676861163353192e-06 + ] + ], + "interface_total_A_m2": [ + [ + -1.895539709592691e-05, + -1.895539709588615e-05 + ] + ], + "internal_conduction_A_m2": [ + -1.2440026779284644e-05, + -1.47308448846581e-05, + -1.6790319268775646e-05, + -1.8411193878590056e-05, + -1.9512910412166545e-05, + -2.015523253145835e-05, + -2.0478637028077396e-05, + -2.0625052608811963e-05, + -2.0692399980675152e-05, + -2.0731571999433125e-05, + -2.076333898305322e-05, + -2.0794540004901083e-05, + -2.0827058637319517e-05, + -2.086138002658693e-05, + -2.0897671549167935e-05, + -2.0936043345884767e-05, + -2.0976599154773434e-05, + -2.101944434062521e-05, + -2.1064686777447985e-05, + -2.1112436714252262e-05, + -2.116280646710636e-05, + -2.1215910052801624e-05, + -2.127186275987123e-05, + -2.1330780651986475e-05, + -2.1392780002276704e-05, + -2.145797667167687e-05, + -2.152648539357647e-05, + -2.1598419011704466e-05, + -2.1673887621382523e-05, + -2.175299766980327e-05, + -2.1835850963962687e-05, + -2.1922543642582277e-05, + -2.2013165093108537e-05, + -2.210779682065481e-05, + -2.2206511306227457e-05, + -2.2309370851808033e-05, + -2.2416426434122257e-05, + -2.2527716590790866e-05, + -2.2643266366140048e-05, + -2.2763086332792903e-05, + -2.288717171611069e-05, + -2.301550164823014e-05, + -2.3148038583969505e-05, + -2.328472788098299e-05, + -2.3425497575869803e-05, + -2.3570258372012803e-05, + -2.3718903840389298e-05, + -2.3871310833610454e-05, + -2.4027340119058127e-05, + -2.418683719473683e-05, + -2.4349633301912627e-05, + -2.4515546572473033e-05, + -2.4684383284646388e-05, + -2.4855939216908628e-05, + -2.503000101125656e-05, + -2.5206347540797602e-05, + -2.538475122321971e-05, + -2.5564979257768117e-05, + -2.5746794723023105e-05, + -2.5929957567791175e-05, + -2.611422543082133e-05, + -2.6299354310637897e-05, + -2.6485099107200004e-05, + -2.667121402794339e-05, + -2.6857452901312747e-05, + -2.7043569438562836e-05, + -2.7229317464090236e-05, + -2.7414451177268955e-05, + -2.7598725460906546e-05, + -2.7781896298544506e-05, + -2.7963721297650815e-05, + -2.8143960368929643e-05, + -2.8322376552571358e-05, + -2.849873698149429e-05, + -2.8672814010053305e-05, + -2.88443864274052e-05, + -2.9013240785912894e-05, + -2.9179172753459574e-05, + -2.9341988497544685e-05, + -2.950150602050672e-05, + -2.9657556427430252e-05, + -2.9809985084842828e-05, + -2.9958652607272137e-05, + -3.0103435711052866e-05, + -3.0244227815402533e-05, + -3.0380939493926527e-05, + -3.051349864244113e-05, + -3.064185049877142e-05, + -3.076595739547427e-05, + -3.088579837020538e-05, + -3.100136854841631e-05, + -3.1112678424727525e-05, + -3.121975297673007e-05, + -3.132263069140613e-05, + -3.1421362501719705e-05, + -3.151601068259366e-05, + -3.160664769707479e-05, + -3.1693355045110583e-05, + -3.177622211128335e-05, + -3.1855345048212414e-05, + -3.1930825684358546e-05, + -3.200277048396187e-05, + -3.2071289576606094e-05, + -3.213649583272232e-05, + -3.219850402622648e-05, + -3.225743005201296e-05, + -3.231339022526224e-05, + -3.2366500644531984e-05, + -3.24168765943012e-05, + -3.2464631777005134e-05, + -3.25098759581895e-05, + -3.2552703226182285e-05, + -3.259313505377563e-05, + -3.26308841574797e-05, + -3.2664539726221463e-05, + -3.268926451488589e-05, + -3.269156823503947e-05, + -3.26401150340052e-05, + -3.247419148609142e-05, + -3.209629019237146e-05, + -3.13785220223067e-05, + -3.0188706369972198e-05, + -2.8430348727839507e-05, + -2.6079401994800043e-05, + -2.3199908310468732e-05, + -1.9931716981251492e-05, + -1.645765484678919e-05, + -1.1271207528141384e-05, + -1.127853593274003e-05, + -1.1278535932870529e-05, + -1.1278535933018268e-05, + -1.1278535933197726e-05, + -1.1278535933355286e-05, + -1.127853593353154e-05, + -1.1278535933731024e-05, + -1.127853593390242e-05, + -1.1278535934146389e-05, + -1.1278535934342736e-05, + -1.1278535934572016e-05, + -1.1278535934834475e-05, + -1.1278535935074771e-05, + -1.1278535935352862e-05, + -1.1278535935641572e-05, + -1.1278535935940593e-05, + -1.1278535936242338e-05, + -1.127853593657303e-05, + -1.1278535936919494e-05, + -1.127853593727256e-05, + -1.1278535937640973e-05, + -1.1278535938036918e-05, + -1.1278535938440917e-05, + -1.1278535938864815e-05, + -1.127853593930111e-05, + -1.127853593975764e-05, + -1.1278535940229646e-05, + -1.1278535940716766e-05, + -1.1278535941221943e-05, + -1.1278535941745813e-05, + -1.1278535942277783e-05, + -1.1278535942825902e-05, + -1.1278535943393671e-05, + -1.1278535943972928e-05, + -1.127853594456279e-05, + -1.1278535945163936e-05, + -1.1278535945782365e-05, + -1.1278535946401597e-05, + -1.1278535947029925e-05, + -1.1278535947670713e-05, + -1.1278535948312456e-05, + -1.1278535948958e-05, + -1.1278535949605459e-05, + -1.1278535950253757e-05, + -1.1278535950898576e-05, + -1.1278535951540981e-05, + -1.1278535952179306e-05, + -1.127853595281058e-05, + -1.1278535953430592e-05, + -1.1278535954043403e-05, + -1.1278535954641439e-05, + -1.1278535955227748e-05, + -1.1278535955796648e-05, + -1.1278535956353065e-05, + -1.1278535956889271e-05, + -1.1278535957407008e-05, + -1.127853595790695e-05, + -1.1278535958385402e-05, + -1.1278535958845379e-05, + -1.1278535959282371e-05, + -1.1278535959700628e-05, + -1.1278535960094383e-05, + -1.1278535960469681e-05, + -1.1278535960824132e-05, + -1.1278535961155698e-05, + -1.1278535961468904e-05, + -1.1278535961762926e-05, + -1.1278535962035694e-05, + -1.1278535962292013e-05, + -1.127853596252941e-05, + -1.1278535962750282e-05, + -1.1278535962955824e-05, + -1.1278535963144172e-05, + -1.1278535963319776e-05, + -1.1278535963480251e-05, + -1.1278535963628431e-05, + -1.1278535963764687e-05, + -1.1278535963889804e-05, + -1.1278535964003294e-05, + -1.1278535964107757e-05, + -1.1278535964202757e-05, + -1.1278535964289181e-05, + -1.1278535964367852e-05, + -1.1278535964439767e-05, + -1.127853596450403e-05, + -1.1278535964562917e-05, + -1.1278535964615614e-05, + -1.1278535964662974e-05, + -1.1278535964706547e-05, + -1.1278535964745781e-05, + -1.1278535964780149e-05, + -1.1278535964811018e-05, + -1.1278535964839861e-05, + -1.1278535964863592e-05, + -1.1278535964886489e-05, + -1.127853596490703e-05, + -1.1278535964924019e-05, + -1.1278535964940357e-05, + -1.1278535964953582e-05, + -1.1278535964966323e-05, + -1.1278535964976598e-05, + -1.1278535964987389e-05, + -1.1278535964994455e-05, + -1.1278535965003574e-05, + -1.1278535965009263e-05, + -1.127853596501467e-05, + -1.1278535965020062e-05, + -1.1278535965024943e-05, + -1.1278535965027325e-05, + -1.12785359650311e-05, + -1.1278535965035336e-05, + -1.127853596503497e-05, + -1.1278535965039832e-05, + -1.1278535965041855e-05, + -1.1278535965040344e-05, + -1.1278535965043342e-05, + -1.1278535965044447e-05, + -1.1278535965048218e-05, + -1.1278535965045277e-05, + -1.1278535965044647e-05, + -1.1278535965050061e-05, + -1.1278535965045392e-05, + -1.1278535965049636e-05, + -1.1278535965048092e-05, + -1.1278535965047564e-05, + -1.1278535965047674e-05, + -1.127853596504657e-05 + ], + "internal_displacement_A_m2": [ + -6.515370316593842e-06, + -4.224552211231759e-06, + -2.165077827089032e-06, + -5.442032173029647e-07, + 5.575133162749215e-07, + 1.1998354355828769e-06, + 1.5232399321818737e-06, + 1.669655512929163e-06, + 1.7370028847956752e-06, + 1.7761749035527243e-06, + 1.8079418871619363e-06, + 1.8391429090172219e-06, + 1.8716615414164407e-06, + 1.9059829307204688e-06, + 1.942274453283475e-06, + 1.9806462500003778e-06, + 2.0212020588884417e-06, + 2.0640472447261642e-06, + 2.109289681577501e-06, + 2.1570396183607752e-06, + 2.207409371221695e-06, + 2.2605129569174733e-06, + 2.316465663992184e-06, + 2.37538355609688e-06, + 2.437382906392058e-06, + 2.5025795757970556e-06, + 2.57108829768705e-06, + 2.643021915820247e-06, + 2.7184905255017685e-06, + 2.797600573910951e-06, + 2.8804538680820484e-06, + 2.967146546697815e-06, + 3.0577679972239195e-06, + 3.1523997247697432e-06, + 3.251114210343403e-06, + 3.353973755923417e-06, + 3.4610293382372847e-06, + 3.5723194949067105e-06, + 3.6878692702491954e-06, + 3.807689236917188e-06, + 3.93177462022528e-06, + 4.060104552340281e-06, + 4.192641488087458e-06, + 4.3293307850983934e-06, + 4.470100479985911e-06, + 4.614861276123535e-06, + 4.763506744509231e-06, + 4.915913737722895e-06, + 5.071943023172018e-06, + 5.23144009885437e-06, + 5.394236206027958e-06, + 5.560149476588469e-06, + 5.728986188761717e-06, + 5.900542121023308e-06, + 6.0746039153712835e-06, + 6.250950444914234e-06, + 6.429354127333044e-06, + 6.609582161884191e-06, + 6.791397627138453e-06, + 6.974560471907813e-06, + 7.158828334931271e-06, + 7.343957214758616e-06, + 7.529702011315281e-06, + 7.715816932057397e-06, + 7.90205580542935e-06, + 8.088172342673962e-06, + 8.273920368214076e-06, + 8.459054081375549e-06, + 8.64332836502632e-06, + 8.826499202664352e-06, + 9.00832420176138e-06, + 9.18856327304346e-06, + 9.366979456691565e-06, + 9.543339885606112e-06, + 9.717416914168558e-06, + 9.88898933151862e-06, + 1.0057843690030086e-05, + 1.0223775657573019e-05, + 1.0386591401655761e-05, + 1.0546108924621974e-05, + 1.0702159331545397e-05, + 1.085458798896506e-05, + 1.1003255511392246e-05, + 1.1148038615155587e-05, + 1.128883071952554e-05, + 1.142554239803357e-05, + 1.1558101546556337e-05, + 1.1686453402886673e-05, + 1.1810560299608302e-05, + 1.193040127430114e-05, + 1.2045971452546136e-05, + 1.2157281328827165e-05, + 1.226435588084507e-05, + 1.2367233595546073e-05, + 1.2465965405809509e-05, + 1.256061358672178e-05, + 1.2651250601176076e-05, + 1.2737957949256293e-05, + 1.282082501539842e-05, + 1.2899947952294021e-05, + 1.2975428588491203e-05, + 1.3047373388078068e-05, + 1.3115892480740467e-05, + 1.3181098736795297e-05, + 1.3243106930351187e-05, + 1.3302032956118299e-05, + 1.3357993129401766e-05, + 1.341110354863273e-05, + 1.3461479498417336e-05, + 1.350923468110244e-05, + 1.3554478862311785e-05, + 1.3597306130291085e-05, + 1.3637737957894301e-05, + 1.3675487061576111e-05, + 1.3709142630379589e-05, + 1.37338674189593e-05, + 1.3736171139191313e-05, + 1.3684717938157593e-05, + 1.3518794390182856e-05, + 1.3140893096498131e-05, + 1.2423124926445102e-05, + 1.123330927406518e-05, + 9.474951631911084e-06, + 7.1240048989435715e-06, + 4.2445112146233375e-06, + 9.763198853643073e-07, + -2.4977422491526507e-06, + -7.684189567785526e-06, + -7.676861163151095e-06, + -7.676861163008605e-06, + -7.67686116285926e-06, + -7.676861162697712e-06, + -7.676861162530267e-06, + -7.676861162352038e-06, + -7.676861162164064e-06, + -7.67686116196396e-06, + -7.676861161756069e-06, + -7.676861161535328e-06, + -7.676861161303108e-06, + -7.67686116105846e-06, + -7.676861160802243e-06, + -7.676861160531964e-06, + -7.676861160247793e-06, + -7.676861159949996e-06, + -7.676861159638032e-06, + -7.676861159311454e-06, + -7.676861158969794e-06, + -7.676861158611789e-06, + -7.676861158238846e-06, + -7.676861157848843e-06, + -7.676861157443597e-06, + -7.676861157021358e-06, + -7.676861156582364e-06, + -7.676861156127546e-06, + -7.676861155655353e-06, + -7.676861155166762e-06, + -7.676861154662806e-06, + -7.676861154142362e-06, + -7.676861153606604e-06, + -7.676861153055866e-06, + -7.676861152491292e-06, + -7.676861151912827e-06, + -7.67686115132155e-06, + -7.67686115071885e-06, + -7.676861150105678e-06, + -7.676861149483091e-06, + -7.676861148852355e-06, + -7.67686114821488e-06, + -7.676861147572803e-06, + -7.676861146926832e-06, + -7.676861146279274e-06, + -7.676861145631417e-06, + -7.676861144985423e-06, + -7.676861144342797e-06, + -7.676861143705432e-06, + -7.67686114307502e-06, + -7.676861142453463e-06, + -7.676861141842273e-06, + -7.676861141243146e-06, + -7.676861140657555e-06, + -7.67686114008699e-06, + -7.676861139532567e-06, + -7.676861138995675e-06, + -7.67686113847717e-06, + -7.676861137977907e-06, + -7.676861137498593e-06, + -7.676861137039842e-06, + -7.676861136601868e-06, + -7.676861136185101e-06, + -7.676861135789486e-06, + -7.676861135415002e-06, + -7.676861135061376e-06, + -7.676861134728426e-06, + -7.676861134415673e-06, + -7.6768611341226e-06, + -7.67686113384858e-06, + -7.676861133592997e-06, + -7.676861133355101e-06, + -7.676861133134261e-06, + -7.676861132929494e-06, + -7.676861132740142e-06, + -7.676861132565299e-06, + -7.676861132404253e-06, + -7.676861132256056e-06, + -7.676861132120065e-06, + -7.676861131995363e-06, + -7.676861131881274e-06, + -7.676861131777065e-06, + -7.676861131682016e-06, + -7.676861131595436e-06, + -7.676861131516769e-06, + -7.676861131445333e-06, + -7.676861131380542e-06, + -7.676861131321958e-06, + -7.676861131269008e-06, + -7.676861131221202e-06, + -7.676861131178191e-06, + -7.676861131139397e-06, + -7.676861131104636e-06, + -7.676861131073428e-06, + -7.676861131045446e-06, + -7.676861131020484e-06, + -7.67686113099817e-06, + -7.676861130978237e-06, + -7.676861130960543e-06, + -7.676861130944845e-06, + -7.67686113093085e-06, + -7.67686113091851e-06, + -7.676861130907552e-06, + -7.676861130897947e-06, + -7.676861130889437e-06, + -7.676861130881963e-06, + -7.676861130875428e-06, + -7.676861130869686e-06, + -7.676861130864704e-06, + -7.676861130860323e-06, + -7.676861130856554e-06, + -7.676861130853286e-06, + -7.676861130850443e-06, + -7.676861130848002e-06, + -7.676861130845942e-06, + -7.676861130844162e-06, + -7.676861130842649e-06, + -7.67686113084139e-06, + -7.67686113084034e-06, + -7.676861130839439e-06, + -7.676861130838726e-06, + -7.676861130838138e-06, + -7.676861130837658e-06, + -7.676861130837303e-06, + -7.676861130837016e-06, + -7.676861130836813e-06, + -7.676861130836674e-06, + -7.676861130836588e-06, + -7.67686113083655e-06 + ], + "internal_total_A_m2": [ + -1.8955397095878485e-05, + -1.895539709588986e-05, + -1.895539709586468e-05, + -1.895539709589302e-05, + -1.8955397095891624e-05, + -1.8955397095875476e-05, + -1.8955397095895524e-05, + -1.89553970958828e-05, + -1.8955397095879478e-05, + -1.89553970958804e-05, + -1.8955397095891285e-05, + -1.8955397095883862e-05, + -1.8955397095903076e-05, + -1.895539709586646e-05, + -1.895539709588446e-05, + -1.895539709588439e-05, + -1.8955397095884994e-05, + -1.8955397095899048e-05, + -1.8955397095870482e-05, + -1.8955397095891485e-05, + -1.8955397095884665e-05, + -1.895539709588415e-05, + -1.8955397095879044e-05, + -1.8955397095889595e-05, + -1.8955397095884648e-05, + -1.8955397095879816e-05, + -1.8955397095889422e-05, + -1.8955397095884218e-05, + -1.8955397095880755e-05, + -1.8955397095892322e-05, + -1.8955397095880636e-05, + -1.895539709588446e-05, + -1.8955397095884617e-05, + -1.8955397095885068e-05, + -1.8955397095884055e-05, + -1.8955397095884614e-05, + -1.8955397095884973e-05, + -1.8955397095884157e-05, + -1.895539709589085e-05, + -1.8955397095875717e-05, + -1.895539709588541e-05, + -1.895539709588986e-05, + -1.8955397095882046e-05, + -1.8955397095884597e-05, + -1.8955397095883892e-05, + -1.895539709588927e-05, + -1.8955397095880067e-05, + -1.895539709588756e-05, + -1.8955397095886108e-05, + -1.895539709588246e-05, + -1.8955397095884668e-05, + -1.8955397095884563e-05, + -1.895539709588467e-05, + -1.895539709588532e-05, + -1.8955397095885278e-05, + -1.8955397095883367e-05, + -1.8955397095886667e-05, + -1.8955397095883926e-05, + -1.895539709588465e-05, + -1.895539709588336e-05, + -1.895539709589006e-05, + -1.895539709587928e-05, + -1.8955397095884722e-05, + -1.8955397095885996e-05, + -1.8955397095883394e-05, + -1.8955397095888876e-05, + -1.895539709587616e-05, + -1.8955397095893406e-05, + -1.8955397095880226e-05, + -1.8955397095880155e-05, + -1.8955397095889435e-05, + -1.8955397095886183e-05, + -1.8955397095879793e-05, + -1.895539709588818e-05, + -1.8955397095884746e-05, + -1.895539709588658e-05, + -1.8955397095882808e-05, + -1.8955397095886555e-05, + -1.8955397095888924e-05, + -1.8955397095884746e-05, + -1.8955397095884855e-05, + -1.895539709587777e-05, + -1.895539709587989e-05, + -1.895539709589728e-05, + -1.895539709587699e-05, + -1.8955397095892956e-05, + -1.8955397095884794e-05, + -1.8955397095884746e-05, + -1.8955397095865966e-05, + -1.895539709590424e-05, + -1.8955397095870174e-05, + -1.8955397095900362e-05, + -1.8955397095884997e-05, + -1.895539709586006e-05, + -1.8955397095910194e-05, + -1.895539709587188e-05, + -1.8955397095898712e-05, + -1.895539709585429e-05, + -1.8955397095884926e-05, + -1.8955397095918394e-05, + -1.895539709586734e-05, + -1.8955397095883804e-05, + -1.8955397095865627e-05, + -1.895539709592702e-05, + -1.8955397095875297e-05, + -1.8955397095894663e-05, + -1.8955397095860474e-05, + -1.8955397095899254e-05, + -1.8955397095883862e-05, + -1.8955397095902693e-05, + -1.8955397095877712e-05, + -1.89553970958912e-05, + -1.8955397095881328e-05, + -1.8955397095903588e-05, + -1.8955397095841876e-05, + -1.8955397095926593e-05, + -1.8955397095848158e-05, + -1.895539709584761e-05, + -1.8955397095908568e-05, + -1.895539709587333e-05, + -1.8955397095861595e-05, + -1.8955397095907016e-05, + -1.8955397095928423e-05, + -1.8955397095856472e-05, + -1.8955397095845393e-05, + -1.8955397095887186e-05, + -1.895539709594184e-05, + -1.895539709592691e-05, + -1.8955397095891126e-05, + -1.8955397095879132e-05, + -1.8955397095877526e-05, + -1.8955397095895436e-05, + -1.8955397095885553e-05, + -1.8955397095883577e-05, + -1.895539709589509e-05, + -1.895539709586638e-05, + -1.8955397095902456e-05, + -1.8955397095878065e-05, + -1.8955397095875124e-05, + -1.8955397095892935e-05, + -1.8955397095877014e-05, + -1.8955397095884824e-05, + -1.8955397095889364e-05, + -1.895539709589059e-05, + -1.8955397095880372e-05, + -1.8955397095884485e-05, + -1.895539709588929e-05, + -1.895539709588435e-05, + -1.8955397095879816e-05, + -1.895539709588576e-05, + -1.8955397095884512e-05, + -1.8955397095886173e-05, + -1.8955397095883476e-05, + -1.8955397095885187e-05, + -1.8955397095885e-05, + -1.895539709588353e-05, + -1.895539709588475e-05, + -1.8955397095888175e-05, + -1.8955397095884387e-05, + -1.8955397095881768e-05, + -1.8955397095884963e-05, + -1.8955397095885756e-05, + -1.895539709588434e-05, + -1.8955397095882784e-05, + -1.8955397095888043e-05, + -1.895539709588469e-05, + -1.895539709588228e-05, + -1.8955397095885593e-05, + -1.8955397095885258e-05, + -1.895539709588483e-05, + -1.8955397095884733e-05, + -1.8955397095885177e-05, + -1.8955397095883997e-05, + -1.895539709588378e-05, + -1.8955397095884736e-05, + -1.89553970958856e-05, + -1.8955397095884055e-05, + -1.8955397095885678e-05, + -1.8955397095884587e-05, + -1.8955397095885305e-05, + -1.8955397095883638e-05, + -1.895539709588563e-05, + -1.8955397095884946e-05, + -1.895539709588418e-05, + -1.8955397095884858e-05, + -1.8955397095883997e-05, + -1.895539709588522e-05, + -1.895539709588424e-05, + -1.895539709588573e-05, + -1.895539709588387e-05, + -1.8955397095884682e-05, + -1.895539709588551e-05, + -1.8955397095884126e-05, + -1.8955397095884577e-05, + -1.8955397095885525e-05, + -1.8955397095884275e-05, + -1.895539709588501e-05, + -1.8955397095884512e-05, + -1.8955397095884543e-05, + -1.895539709588532e-05, + -1.8955397095884316e-05, + -1.8955397095885075e-05, + -1.8955397095884506e-05, + -1.8955397095884485e-05, + -1.895539709588475e-05, + -1.8955397095885166e-05, + -1.8955397095884567e-05, + -1.8955397095884824e-05, + -1.8955397095884773e-05, + -1.8955397095884617e-05, + -1.895539709588462e-05, + -1.8955397095885102e-05, + -1.8955397095884573e-05, + -1.8955397095884875e-05, + -1.895539709588462e-05, + -1.8955397095884174e-05, + -1.8955397095884736e-05, + -1.8955397095885177e-05, + -1.8955397095884783e-05, + -1.8955397095884445e-05, + -1.8955397095885305e-05, + -1.8955397095884075e-05, + -1.8955397095884658e-05, + -1.8955397095885265e-05, + -1.895539709588456e-05, + -1.8955397095885204e-05, + -1.895539709588443e-05, + -1.895539709588483e-05, + -1.895539709588415e-05, + -1.8955397095885336e-05, + -1.8955397095883892e-05, + -1.8955397095885536e-05, + -1.895539709588469e-05, + -1.8955397095884357e-05, + -1.8955397095884767e-05, + -1.8955397095885265e-05, + -1.895539709588388e-05, + -1.8955397095884384e-05, + -1.895539709588578e-05, + -1.8955397095882974e-05, + -1.8955397095885773e-05, + -1.8955397095886017e-05, + -1.8955397095882995e-05, + -1.8955397095884733e-05, + -1.8955397095884787e-05, + -1.8955397095887657e-05, + -1.8955397095884004e-05, + -1.8955397095882784e-05, + -1.8955397095887718e-05, + -1.8955397095882696e-05, + -1.8955397095886654e-05, + -1.8955397095884905e-05, + -1.8955397095884238e-05, + -1.8955397095884262e-05, + -1.895539709588312e-05 + ], + "physical_widths_m": [ + 5.901422388288336e-11, + 1.2168445327999375e-10, + 1.2921290133435793e-10, + 1.3718573109489092e-10, + 1.456263985330553e-10, + 1.5455923405930657e-10, + 1.6400942452466372e-10, + 1.7400298616433713e-10, + 1.8456672721482707e-10, + 1.9572819882658635e-10, + 2.0751563278408056e-10, + 2.1995786443639556e-10, + 2.330842391367742e-10, + 2.4692450039214606e-10, + 2.615086578375502e-10, + 2.768668330800304e-10, + 2.930290814077334e-10, + 3.1002518733890237e-10, + 3.2788443199932904e-10, + 3.4663533037393737e-10, + 3.6630533658778285e-10, + 3.869205155434871e-10, + 4.0850517948706975e-10, + 4.310814884031017e-10, + 4.546690135652088e-10, + 4.79284264100096e-10, + 5.049401770735207e-10, + 5.316455723851334e-10, + 5.594045746728763e-10, + 5.882160054824251e-10, + 6.180727501540692e-10, + 6.489611052145571e-10, + 6.808601135253143e-10, + 7.137408960140655e-10, + 7.47565990478061e-10, + 7.822887096588038e-10, + 8.178525325040014e-10, + 8.54190544194725e-10, + 8.912249420559998e-10, + 9.288666258067398e-10, + 9.670148916509131e-10, + 1.005557250369215e-09, + 1.0443693897370093e-09, + 1.0833153011705004e-09, + 1.1222475893912312e-09, + 1.1610079820176118e-09, + 1.1994280532751899e-09, + 1.23733017242863e-09, + 1.2745286830742073e-09, + 1.3108313141313866e-09, + 1.3460408173217914e-09, + 1.3799568192605954e-09, + 1.4123778691985396e-09, + 1.443103656181209e-09, + 1.4719373622173193e-09, + 1.4986881112844911e-09, + 1.523173467982208e-09, + 1.5452219347003404e-09, + 1.5646753926224425e-09, + 1.5813914299979714e-09, + 1.5952455011079117e-09, + 1.6061328613443997e-09, + 1.6139702278616839e-09, + 1.6186971212639917e-09, + 1.6202768516007768e-09, + 1.6186971212639917e-09, + 1.6139702278616839e-09, + 1.6061328613443997e-09, + 1.5952455011079117e-09, + 1.5813914299979714e-09, + 1.5646753926224425e-09, + 1.5452219347003404e-09, + 1.523173467982208e-09, + 1.4986881112844845e-09, + 1.4719373622173193e-09, + 1.4431036561812155e-09, + 1.4123778691985462e-09, + 1.379956819260592e-09, + 1.346040817321788e-09, + 1.31083131413138e-09, + 1.2745286830742205e-09, + 1.2373301724286366e-09, + 1.19942805327517e-09, + 1.1610079820176184e-09, + 1.1222475893912378e-09, + 1.083315301170507e-09, + 1.0443693897369927e-09, + 1.0055572503692116e-09, + 9.670148916509198e-10, + 9.288666258067464e-10, + 8.91224942055985e-10, + 8.541905441947299e-10, + 8.178525325039981e-10, + 7.822887096588004e-10, + 7.475659904780676e-10, + 7.137408960140556e-10, + 6.808601135253242e-10, + 6.48961105214567e-10, + 6.180727501540659e-10, + 5.882160054824152e-10, + 5.59404574672873e-10, + 5.316455723851383e-10, + 5.049401770735323e-10, + 4.792842641000936e-10, + 4.546690135651964e-10, + 4.3108148840310337e-10, + 4.0850517948706727e-10, + 3.869205155434962e-10, + 3.663053365877845e-10, + 3.4663533037393406e-10, + 3.278844319993274e-10, + 3.1002518733890444e-10, + 2.930290814077417e-10, + 2.7686683308002504e-10, + 2.6150865783754524e-10, + 2.46924500392156e-10, + 2.3308423913676347e-10, + 2.1995786443640466e-10, + 2.0751563278407477e-10, + 1.9572819882657477e-10, + 1.845667272148283e-10, + 1.740029861643485e-10, + 1.6400942452466144e-10, + 1.545592340593227e-10, + 1.4562639853305157e-10, + 1.3718573109488172e-10, + 1.2921290133435225e-10, + 1.8069867716288167e-10, + 1.8069867716288167e-10, + 1.2921290133435225e-10, + 1.3718573109489495e-10, + 1.4562639853305157e-10, + 1.5455923405930946e-10, + 1.6400942452466144e-10, + 1.740029861643485e-10, + 1.845667272148283e-10, + 1.9572819882657477e-10, + 2.0751563278407477e-10, + 2.1995786443640466e-10, + 2.3308423913676347e-10, + 2.46924500392156e-10, + 2.6150865783754524e-10, + 2.7686683308002504e-10, + 2.930290814077417e-10, + 3.1002518733890444e-10, + 3.278844319993274e-10, + 3.4663533037393406e-10, + 3.663053365877845e-10, + 3.8692051554348296e-10, + 4.085051794870805e-10, + 4.3108148840310337e-10, + 4.5466901356520963e-10, + 4.792842641000936e-10, + 5.04940177073519e-10, + 5.316455723851383e-10, + 5.59404574672873e-10, + 5.882160054824152e-10, + 6.180727501540659e-10, + 6.48961105214567e-10, + 6.808601135253109e-10, + 7.137408960140689e-10, + 7.475659904780676e-10, + 7.822887096588004e-10, + 8.178525325039981e-10, + 8.541905441947299e-10, + 8.91224942055985e-10, + 9.288666258067464e-10, + 9.670148916509198e-10, + 1.0055572503692116e-09, + 1.0443693897370192e-09, + 1.0833153011704673e-09, + 1.122247589391251e-09, + 1.1610079820176184e-09, + 1.1994280532751965e-09, + 1.2373301724286234e-09, + 1.2745286830741808e-09, + 1.3108313141314065e-09, + 1.346040817321788e-09, + 1.3799568192606186e-09, + 1.412377869198533e-09, + 1.4431036561812023e-09, + 1.4719373622173193e-09, + 1.4986881112844977e-09, + 1.523173467982208e-09, + 1.545221934700314e-09, + 1.564675392622469e-09, + 1.5813914299979515e-09, + 1.5952455011079183e-09, + 1.606132861344413e-09, + 1.6139702278616839e-09, + 1.6186971212639851e-09, + 1.6202768516007636e-09, + 1.6186971212639851e-09, + 1.6139702278616839e-09, + 1.606132861344413e-09, + 1.5952455011079183e-09, + 1.5813914299979515e-09, + 1.564675392622469e-09, + 1.545221934700314e-09, + 1.523173467982208e-09, + 1.4986881112844977e-09, + 1.4719373622173193e-09, + 1.4431036561812023e-09, + 1.412377869198533e-09, + 1.3799568192606186e-09, + 1.346040817321788e-09, + 1.31083131413138e-09, + 1.2745286830742073e-09, + 1.2373301724286234e-09, + 1.1994280532751965e-09, + 1.1610079820176184e-09, + 1.122247589391251e-09, + 1.0833153011704673e-09, + 1.0443693897370192e-09, + 1.0055572503692116e-09, + 9.670148916509198e-10, + 9.288666258067464e-10, + 8.91224942055985e-10, + 8.541905441947299e-10, + 8.178525325039848e-10, + 7.822887096588137e-10, + 7.475659904780676e-10, + 7.137408960140821e-10, + 6.808601135253109e-10, + 6.489611052145538e-10, + 6.180727501540659e-10, + 5.882160054824152e-10, + 5.59404574672873e-10, + 5.316455723851383e-10, + 5.04940177073519e-10, + 4.7928426410012e-10, + 4.5466901356518316e-10, + 4.3108148840310337e-10, + 4.0850517948706727e-10, + 3.869205155434962e-10, + 3.6630533658779774e-10, + 3.4663533037392083e-10, + 3.278844319993274e-10, + 3.1002518733890444e-10, + 2.930290814077152e-10, + 2.768668330800515e-10, + 2.6150865783754524e-10, + 2.46924500392156e-10, + 2.3308423913676347e-10, + 2.1995786443639143e-10, + 2.0751563278407477e-10, + 1.95728198826588e-10, + 1.845667272148283e-10, + 1.740029861643485e-10, + 1.6400942452466144e-10, + 1.545592340593227e-10, + 1.4562639853305157e-10, + 1.3718573109489495e-10, + 1.29212901334339e-10, + 1.2168445327999169e-10, + 5.901422388288999e-11 + ], + "positive_inventory_m2": [ + 1000000000000002.9 + ], + "positive_ion_flux_m2_s": [ + -7295196079944.042, + -21593358072571.71, + -34447586129661.2, + -44564289715381.42, + -51440663457183.01, + -55449722793470.21, + -57468254893839.95, + -58382109069637.61, + -58802458302263.11, + -59046950812806.164, + -59245224729339.336, + -59439966190335.16, + -59642931529663.41, + -59857148792223.555, + -60083662659737.88, + -60323160577148.1, + -60576290026347.06, + -60843708642635.6, + -61126089722612.97, + -61424121386478.08, + -61738504655990.91, + -62069951167988.85, + -62419180496898.1, + -62786917055175.695, + -63173886562613.555, + -63580812166288.23, + -64008409975691.34, + -64457384305980.63, + -64928422318105.26, + -65422188403183.414, + -65939317990503.86, + -66480411130769.04, + -67046025736536.555, + -67636670522710.484, + -68252797880149.03, + -68894796667234.59, + -69562985055662.45, + -70257603578341.13, + -70978808549658.52, + -71726665958737.23, + -72501146004623.89, + -73302118440359.34, + -74129348927349.61, + -74982496414895.75, + -75861111742776.39, + -76764637565343.75, + -77692409604883.81, + -78643659235850.17, + -79617517436590.22, + -80613019881493.78, + -81629113261389.27, + -82664662444799.5, + -83718458315523.92, + -84789226223065.23, + -85875634491506.39, + -86976302955337.28, + -88089811157488.08, + -89214706069932.34, + -90349508945475.69, + -91492721502411.86, + -92642831040789.9, + -93798314623183.58, + -94957642455459.34, + -96119280421095.28, + -97281692038093.0, + -98443340093012.58, + -99602688078589.5, + -100758201827985.97, + -101908351440020.81, + -103051613883753.95, + -104186476263998.34, + -105311440061237.4, + -106425026288670.0, + -107525781504296.31, + -108612284855759.7, + -109683155653577.48, + -110737061662394.11, + -111772727541447.14, + -112788943483435.2, + -113784573548306.42, + -114758563576919.17, + -115709948423060.02, + -116637858111041.83, + -117541523164758.47, + -118420278359293.2, + -119273565538999.7, + -120100934664968.48, + -120902043938592.66, + -121676658258191.33, + -122424646787109.62, + -123145979100810.08, + -123840720701570.03, + -124509027487257.1, + -125151139674723.58, + -125767375162529.2, + -126358122640171.47, + -126923834386426.14, + -127465019083949.77, + -127982234627430.45, + -128476081154318.28, + -128947194227869.88, + -129396238345616.1, + -129823900882347.39, + -130230886319887.38, + -130617911020676.78, + -130985698343741.03, + -131334974271347.61, + -131666463433688.62, + -131980885379891.03, + -132278949784726.52, + -132561341750855.64, + -132828648531416.33, + -133081004149049.92, + -133316615521224.39, + -133526677057854.2, + -133680997049634.98, + -133695375738887.61, + -133374230116782.94, + -132338616785930.58, + -129979942431074.81, + -125499985883452.6, + -118073740691705.05, + -107098935511471.36, + -92425480142932.12, + -74453094181694.38, + -54054648342696.32, + -32371258004616.688, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + }, + "assessment": { + "conservation_compliant": true, + "content_consistent": true, + "reference_accuracy_qualified": null, + "reference_accuracy_status": "not_assessed_shared_constitutive_laws" + }, + "checks": { + "charge_balance_normalized": { + "applicable": true, + "passed": true + }, + "contact_internal_current_spread_relative": { + "applicable": true, + "passed": true + }, + "electron_current_A_m2_reported_content_matches": { + "applicable": true, + "passed": true + }, + "electron_current_A_m2_state_content_matches": { + "applicable": true, + "passed": true + }, + "finite_positive_populations": { + "applicable": true, + "passed": true + }, + "hole_current_A_m2_reported_content_matches": { + "applicable": true, + "passed": true + }, + "hole_current_A_m2_state_content_matches": { + "applicable": true, + "passed": true + }, + "interface_conduction_A_m2_reported_content_matches": { + "applicable": true, + "passed": true + }, + "interface_current_spread_relative": { + "applicable": true, + "passed": true + }, + "interface_displacement_A_m2_reported_content_matches": { + "applicable": true, + "passed": true + }, + "interface_total_A_m2_reported_content_matches": { + "applicable": true, + "passed": true + }, + "internal_displacement_A_m2_reported_content_matches": { + "applicable": true, + "passed": true + }, + "internal_face_current_spread_relative": { + "applicable": true, + "passed": true + }, + "internal_total_A_m2_reported_content_matches": { + "applicable": true, + "passed": true + }, + "inventory_relative_drift": { + "applicable": true, + "passed": true + }, + "ion_site_occupancy_physical": { + "applicable": true, + "passed": true + }, + "physical_geometry_matches": { + "applicable": true, + "passed": true + }, + "positive_ion_flux_m2_s_reported_content_matches": { + "applicable": true, + "passed": true + }, + "positive_ion_flux_m2_s_state_content_matches": { + "applicable": true, + "passed": true + } + }, + "finite_step": true, + "limits": { + "charge_balance_normalized": 1e-10, + "contact_internal_current_spread_relative": 2e-06, + "interface_current_spread_relative": 2e-06, + "internal_face_current_spread_relative": 2e-06, + "inventory_relative_drift": 1e-10 + }, + "metrics": { + "charge_balance_normalized": 1.6185161804416824e-18, + "contact_internal_current_spread_relative": 5.273613620289953e-12, + "interface_current_spread_relative": 2.150448937966323e-12, + "internal_face_current_spread_relative": 5.273613620289953e-12, + "inventory_relative_drift": 3.1086244689504383e-15 + }, + "passed": true, + "reasons": [], + "schema": "R1IndependentPhysicsRowV1", + "scope": "saved_state_independent_current_charge_assembly_not_full_DAE_oracle", + "shared_constitutive_dependencies": [ + "fe_operators.bernoulli", + "two_sided_interface._material_two_sided_interface_problem", + "two_sided_interface_compensated.evaluate_local_carrier_pair", + "compensated.DD", + "one_dimensional_mechanism_r1_global_reference.evaluate_independent_saved_high_ion_transport" + ] + }, + "local_algebraic_scale": [ + 2.5951999786435536e-14, + 3.878700853926815e-14, + 16694.821269249507, + 10580.80998663068, + 16694.821269249507, + 10580.80998663068 + ], + "poisson_scale_C_m2": [ + 3.765564615313958e-14, + 3.54615209761182e-14, + 3.3400442220867445e-14, + 3.146435617735993e-14, + 2.964569754730839e-14, + 2.7937359882595423e-14, + 2.633266781666979e-14, + 2.4825350980411758e-14, + 2.3409519500528085e-14, + 2.2079640984743803e-14, + 2.083051890385784e-14, + 1.9657272286193556e-14, + 1.8555316645096934e-14, + 1.7520346064953486e-14, + 1.654831637572964e-14, + 1.56354293502912e-14, + 1.4778117862748466e-14, + 1.3973031949833105e-14, + 1.3217025720844629e-14, + 1.2507145065014236e-14, + 1.1840616108252945e-14, + 1.1214834374177461e-14, + 1.062735460706278e-14, + 1.0075881216952278e-14, + 9.558259309589638e-15, + 9.07246626612338e-15, + 8.61660383967932e-15, + 8.18889073791949e-15, + 7.787655662603971e-15, + 7.411330778956708e-15, + 7.058445589316688e-15, + 6.727621187136784e-15, + 6.417564868876249e-15, + 6.127065082733461e-15, + 5.8549866944812134e-15, + 5.600266551904719e-15, + 5.361909330511474e-15, + 5.138983644279081e-15, + 4.930618406244078e-15, + 4.735999424710795e-15, + 4.554366221779579e-15, + 4.385009061762838e-15, + 4.227266177877446e-15, + 4.080521186376651e-15, + 3.944200678017205e-15, + 3.817771977450281e-15, + 3.7007410617809435e-15, + 3.592650630162956e-15, + 3.4930783168858204e-15, + 3.4016350409715953e-15, + 3.3179634858324476e-15, + 3.2417367030483777e-15, + 3.1726568348091485e-15, + 3.1104539500283997e-15, + 3.0548849895821293e-15, + 3.005732816549788e-15, + 2.9628053677471132e-15, + 2.9259349032350315e-15, + 2.8949773508722195e-15, + 2.869811743350079e-15, + 2.8503397455103273e-15, + 2.8364852700982524e-15, + 2.8281941804501133e-15, + 2.8254340789529334e-15, + 2.8281941804501133e-15, + 2.8364852700982524e-15, + 2.8503397455103273e-15, + 2.869811743350079e-15, + 2.8949773508722258e-15, + 2.9259349032350315e-15, + 2.962805367747107e-15, + 3.005732816549788e-15, + 3.0548849895821293e-15, + 3.1104539500283997e-15, + 3.1726568348091485e-15, + 3.2417367030483777e-15, + 3.317963485832439e-15, + 3.4016350409716048e-15, + 3.4930783168858188e-15, + 3.592650630162938e-15, + 3.700741061780949e-15, + 3.817771977450302e-15, + 3.944200678017203e-15, + 4.080521186376629e-15, + 4.227266177877439e-15, + 4.385009061762852e-15, + 4.554366221779585e-15, + 4.735999424710778e-15, + 4.930618406244097e-15, + 5.138983644279099e-15, + 5.361909330511487e-15, + 5.60026655190474e-15, + 5.854986694481194e-15, + 6.127065082733462e-15, + 6.417564868876263e-15, + 6.7276211871367505e-15, + 7.058445589316662e-15, + 7.411330778956749e-15, + 7.787655662604013e-15, + 8.188890737919427e-15, + 8.616603839679249e-15, + 9.072466266123287e-15, + 9.558259309589707e-15, + 1.0075881216952408e-14, + 1.062735460706272e-14, + 1.1214834374177551e-14, + 1.1840616108252865e-14, + 1.2507145065014199e-14, + 1.3217025720844744e-14, + 1.397303194983286e-14, + 1.47781178627484e-14, + 1.5635429350291466e-14, + 1.6548316375729542e-14, + 1.7520346064953414e-14, + 1.8555316645097145e-14, + 1.9657272286193325e-14, + 2.0830518903857646e-14, + 2.2079640984744434e-14, + 2.3409519500528647e-14, + 2.4825350980411597e-14, + 2.6332667816669053e-14, + 2.7937359882594697e-14, + 2.964569754730783e-14, + 3.146435617736082e-14, + 3.340044222086796e-14, + 3.5461520976118024e-14, + 2.795889651832315e-14, + 2.795889651832315e-14, + 3.5461520976118024e-14, + 3.340044222086645e-14, + 3.146435617736065e-14, + 2.964569754730918e-14, + 2.7937359882594697e-14, + 2.6332667816669053e-14, + 2.4825350980411597e-14, + 2.3409519500528647e-14, + 2.2079640984744434e-14, + 2.0830518903857646e-14, + 1.9657272286193325e-14, + 1.8555316645097145e-14, + 1.7520346064953414e-14, + 1.6548316375729542e-14, + 1.5635429350291132e-14, + 1.477811786274836e-14, + 1.3973031949833155e-14, + 1.3217025720844744e-14, + 1.2507145065014413e-14, + 1.1840616108252889e-14, + 1.1214834374177359e-14, + 1.062735460706272e-14, + 1.0075881216952269e-14, + 9.558259309589693e-15, + 9.07246626612341e-15, + 8.616603839679249e-15, + 8.188890737919427e-15, + 7.787655662604013e-15, + 7.411330778956749e-15, + 7.058445589316662e-15, + 6.727621187136812e-15, + 6.417564868876269e-15, + 6.127065082733407e-15, + 5.854986694481194e-15, + 5.60026655190474e-15, + 5.361909330511487e-15, + 5.138983644279099e-15, + 4.930618406244097e-15, + 4.735999424710778e-15, + 4.554366221779556e-15, + 4.385009061762851e-15, + 4.227266177877467e-15, + 4.080521186376629e-15, + 3.944200678017181e-15, + 3.8177719774503015e-15, + 3.700741061780969e-15, + 3.592650630162956e-15, + 3.493078316885803e-15, + 3.40163504097157e-15, + 3.317963485832455e-15, + 3.2417367030483935e-15, + 3.1726568348091343e-15, + 3.1104539500283994e-15, + 3.0548849895821435e-15, + 3.005732816549788e-15, + 2.962805367747107e-15, + 2.9259349032350315e-15, + 2.8949773508722376e-15, + 2.8698117433500667e-15, + 2.8503397455103095e-15, + 2.8364852700982524e-15, + 2.828194180450119e-15, + 2.8254340789529563e-15, + 2.828194180450119e-15, + 2.8364852700982524e-15, + 2.8503397455103095e-15, + 2.8698117433500667e-15, + 2.8949773508722376e-15, + 2.9259349032350315e-15, + 2.962805367747107e-15, + 3.005732816549788e-15, + 3.0548849895821435e-15, + 3.1104539500283994e-15, + 3.1726568348091343e-15, + 3.2417367030483935e-15, + 3.3179634858324223e-15, + 3.401635040971606e-15, + 3.493078316885836e-15, + 3.592650630162919e-15, + 3.700741061780969e-15, + 3.8177719774503015e-15, + 3.944200678017181e-15, + 4.080521186376629e-15, + 4.227266177877467e-15, + 4.385009061762851e-15, + 4.554366221779588e-15, + 4.735999424710776e-15, + 4.9306184062440265e-15, + 5.1389836442791025e-15, + 5.3619093305115255e-15, + 5.60026655190474e-15, + 5.854986694481246e-15, + 6.1270650827334e-15, + 6.417564868876211e-15, + 6.727621187136812e-15, + 7.0584455893165855e-15, + 7.411330778956757e-15, + 7.787655662604096e-15, + 8.188890737919528e-15, + 8.616603839679236e-15, + 9.072466266123175e-15, + 9.558259309589707e-15, + 1.0075881216952562e-14, + 1.0627354607062701e-14, + 1.1214834374177568e-14, + 1.1840616108252628e-14, + 1.2507145065013773e-14, + 1.3217025720845277e-14, + 1.3973031949833095e-14, + 1.4778117862748432e-14, + 1.5635429350291422e-14, + 1.654831637572917e-14, + 1.7520346064952944e-14, + 1.85553166450972e-14, + 1.9657272286194442e-14, + 2.0830518903858236e-14, + 2.2079640984744434e-14, + 2.3409519500527807e-14, + 2.4825350980411698e-14, + 2.633266781666787e-14, + 2.7937359882593772e-14, + 2.964569754731038e-14, + 3.146435617736065e-14, + 3.340044222086645e-14, + 3.546152097611995e-14, + 3.765564615313995e-14 + ], + "rate": [ + 1024631637.6505504, + 1339048272.474272, + 1851241245.3653557, + 2014923596.8716784, + 1625047101.4331112, + 2044517586.1185782, + 1250967597.8541155, + 1193965036.7726595, + 883085070.7929103, + 632717935.1732733, + 371308131.0103044, + -699135137.5446347, + -176947825.0859462, + -1380983382.8488584, + -1215653525.6885767, + -2221916703.59426, + -2597362888.7919903, + -2581577501.1579943, + -4242645417.370344, + -4419755447.313515, + -4952469569.151511, + -5762712079.6437025, + -6695460659.7949295, + -7485367653.044072, + -8461553745.781549, + -9294782441.219551, + -10555988393.341043, + -11419939487.824915, + -12721003971.60824, + -13988042245.874603, + -15171932156.30756, + -16787252284.411562, + -18033880385.646038, + -19858020766.826054, + -21366350799.31674, + -23245851317.27047, + -24913397668.946224, + -27230060957.243988, + -28792218924.167686, + -31340122052.22576, + -33433300055.954853, + -35954777204.03672, + -38178436243.34694, + -40870607681.81923, + -43481876784.288185, + -46405386996.38066, + -49014686539.498856, + -52072454851.66539, + -55100198026.82884, + -58220782754.888535, + -61185261582.96044, + -64777655209.44983, + -67811069866.32026, + -71171397253.9945, + -74517399826.9668, + -78034200433.15677, + -81312082181.7273, + -84746843451.43161, + -88251972050.2919, + -91723118260.98785, + -94682826609.58055, + -98350409738.3927, + -101498441835.17528, + -104680742656.97449, + -107745930238.94334, + -110817343949.08372, + -113724769690.27275, + -116729799890.59068, + -119217567028.40327, + -121796798258.255, + -124456053641.42354, + -126701998876.6057, + -128893775014.89304, + -130888863166.99129, + -133189643808.1391, + -134557120895.82605, + -136253982702.28369, + -138146680146.63898, + -139266292298.9002, + -140492730558.53214, + -141976310758.21384, + -142796516036.17825, + -143729758831.71576, + -144375529016.5079, + -145695481368.1532, + -145941337818.10992, + -146337960454.34543, + -146803836063.9436, + -147868129858.42975, + -147242943370.183, + -148535638229.8027, + -148213780396.95554, + -148111132669.09195, + -148051869288.3922, + -149156745006.69116, + -148386812876.5339, + -148673955356.27756, + -148929120742.1014, + -147874351662.9822, + -148630848445.06674, + -149990356187.81644, + -147228998333.53033, + -147304121060.71213, + -149921560620.67813, + -147014884789.85703, + -146872199848.9733, + -149711088389.17697, + -147997256779.4047, + -144645717938.64194, + -148229087575.43475, + -147714217236.7873, + -149852457118.3677, + -146370596770.36157, + -148117815522.87003, + -139641041540.63226, + -151343877779.1051, + -151747094821.96957, + -134730052889.27618, + -157892142158.1185, + -129512812996.82246, + -172462750233.5262, + -111555274426.75732, + -173900000622.22513, + -149545181285.77817, + -131296526829.19072, + -131801544106.79031, + -189318703858.84473, + -7071704798707.34, + -6209679225698.668, + -6631628502684.365, + -7599066221623.4375, + -6271787403733.255, + -6615768931960.982, + -7062218441152.742, + -5704306802931.894, + -7687270021721.251, + -5812232598820.62, + -6412825423577.589, + -6934820939979.218, + -5979848144232.929, + -6543250707415.021, + -6414293457907.094, + -6274298515785.281, + -5979601191003.275, + -6199023135530.959, + -6142813465551.268, + -5919762228991.824, + -5845725769566.969, + -5952420796659.476, + -5751946279235.636, + -5719947981522.99, + -5583213828708.761, + -5543251110989.149, + -5441213549944.658, + -5334192120287.82, + -5258777035623.399, + -5188104921141.695, + -5012960014535.311, + -4920973193379.31, + -4860085271192.079, + -4730674435068.37, + -4599756365205.537, + -4480012234690.931, + -4410243397004.287, + -4227262558784.9995, + -4111255921480.603, + -4024006618692.3374, + -3870420894067.851, + -3743657416176.9946, + -3615131745871.319, + -3488682932815.3877, + -3348624270980.523, + -3223612826263.876, + -3099263879604.2256, + -2969233151230.884, + -2828805557024.3457, + -2716842614332.4194, + -2578491132235.7183, + -2463475691813.9995, + -2331546303834.633, + -2229032511514.6094, + -2101507251252.2617, + -1988719148083.3975, + -1885034863904.6611, + -1773477071353.5464, + -1679061569015.4912, + -1572562728172.3477, + -1486996113728.8486, + -1383938438629.6755, + -1307507472334.51, + -1225412242831.3667, + -1137901477147.6235, + -1070942075516.233, + -1001784435103.6604, + -926894789752.0399, + -871643806111.3479, + -807705760883.8752, + -753162118696.689, + -704926717613.042, + -648191930965.6202, + -609465146739.8435, + -560561013813.5264, + -523095823662.2984, + -486707881588.51697, + -453350961708.35205, + -414570784338.8243, + -388955473331.3287, + -360217382105.1966, + -333236895313.8895, + -308391927835.838, + -289596592597.9475, + -262088686499.6276, + -248897458302.73972, + -225104734755.8087, + -209859593224.29916, + -199128480061.4872, + -182695451947.36758, + -164857549139.91727, + -154703182700.07385, + -150618626051.33136, + -123013422765.9021, + -123988345378.67157, + -124653003479.42896, + -88905703551.09686, + -114441624346.2995, + -74143786084.18869, + -87765052406.02492, + -75610069093.03012, + -72492747196.69688, + -53180394435.74847, + -86339982325.01651, + -29767203969.859276, + -49663595599.463295, + -54679439048.38419, + -37993029462.90653, + -42981745192.17751, + -17192451015.739338, + -64634435637.43847, + 14130981380.508368, + -54254255276.97223, + -42148343574.737175, + 36457995477.694664, + -72447121662.0004, + 33229764193.329926, + -91447566281.79405, + 16168334876.80816, + 52124925095.83166, + -67562478516.54157, + -15216519773.954367, + 14122706747.888493, + -2648551371.6038117, + 78752615975.22574, + -35776039247.89829, + -78441362106.88362, + -800121440.777545, + -1279520627.4715483, + -1963948677.5342364, + -1397615645.405633, + -1692878833.608443, + -1372340727.052037, + -1118920342.4001186, + -438753615.53665185, + -278376823.34926516, + 123188724.70113277, + 683767655.5770575, + 1251497349.5602973, + 1835634154.0872025, + 2520781962.060863, + 3252569416.2759705, + 3749909772.5222135, + 4786452460.504792, + 5657716749.403475, + 6464019140.763878, + 7544927494.854509, + 9066481270.218872, + 9793247645.563171, + 11455192230.530025, + 12874769467.109983, + 14691547875.412565, + 16367382558.664402, + 18341714283.52776, + 20608476831.456913, + 22933571736.74836, + 25666572998.468143, + 28460739860.611343, + 31587645856.59377, + 35223305976.98054, + 38811037569.92648, + 43207032070.69853, + 47731084633.45052, + 53045879231.41392, + 58564738556.015366, + 64493573364.49102, + 71293682426.58022, + 78983555473.68346, + 86782328077.60591, + 95874978674.24495, + 105675173012.43471, + 116158167991.95699, + 128092526873.4254, + 140728207673.83646, + 154444757458.37363, + 169965045229.2404, + 186298376364.7469, + 204057680562.68683, + 223884023022.24146, + 244723034585.51364, + 267429346924.04385, + 291914998697.18744, + 318507760390.1335, + 347011665598.3044, + 377304052178.4519, + 409918063477.3275, + 444971503694.8181, + 481971129186.2074, + 521542272505.82556, + 563523870978.7214, + 607820623162.5652, + 654631134167.9354, + 704263376751.141, + 756142559823.8022, + 810362900823.2671, + 867738397233.3395, + 927294475419.231, + 988718332518.2134, + 1053611492296.3594, + 1120170969478.8032, + 1189055302012.23, + 1260507088040.2166, + 1332048731073.0032, + 1409234203395.083, + 1484557807618.0361, + 1563335091764.6055, + 1643506210055.7288, + 1723018423350.1467, + 1806750120719.748, + 1888436373366.583, + 1972939655835.4314, + 2056574368151.1743, + 2140519418690.072, + 2225672412350.7417, + 2309568133580.3164, + 2390922635907.3994, + 2478446893354.8823, + 2560023151290.427, + 2640326527826.546, + 2720345987769.9688, + 2800782581045.1626, + 2882377112321.7607, + 2952576160091.6216, + 3032152722579.08, + 3104006712477.9985, + 3172180513062.0786, + 3248942420620.5815, + 3307481545401.221, + 3380842300530.4834, + 3443533463197.071, + 3496205747798.0093, + 3573648206542.943, + 3616129987754.8574, + 3674046567065.044, + 3719727222803.1543, + 3789382434183.4746, + 3815322915122.765, + 3886406867179.909, + 3901860410094.1494, + 3997371522746.3877, + 3974390409185.216, + 4041091221706.264, + 4100218400278.0312, + 4118204591166.884, + 4114692609527.4473, + 4195753230438.049, + 4226208176934.917, + 4231579005405.304, + 4248388167691.3965, + 4352161439838.1113, + 4186267444072.459, + 4349123784445.3765, + 4454867374982.886, + 5697337809288.784, + 80830476867.36386, + 93911673835.2466, + 90042470569.44586, + 92470497989.17566, + 90865760749.97194, + 91717343867.35875, + 93354362657.23723, + 91787124392.35773, + 92579895627.6394, + 93338332854.27159, + 93206796951.07492, + 93239865740.85875, + 94167089804.5646, + 93995823089.3044, + 94227011189.68181, + 94825817825.15453, + 95198413124.71635, + 95942786669.57198, + 95603083654.99861, + 96164063812.81801, + 97243618133.66988, + 97178053247.37686, + 97445005401.91574, + 99144321036.16356, + 98462446495.83797, + 99870489572.86497, + 100124793439.4721, + 100819378523.69218, + 101605756031.30075, + 102108154324.27843, + 103361811609.8189, + 103695640719.17336, + 104928886030.1069, + 105605006653.09209, + 106477478509.95363, + 107670580048.83235, + 108578573109.42496, + 109399691935.07442, + 110782769681.20055, + 111906630455.95969, + 112890731266.9566, + 114335391942.51854, + 115183059965.87402, + 116909518979.13489, + 117884303573.69936, + 119294517728.39066, + 120656969773.59468, + 122191014836.65317, + 123370931373.88818, + 124722483340.33728, + 126412977647.91136, + 127509638487.666, + 128981569240.65918, + 130361667638.46252, + 131604651344.37364, + 132812274486.66632, + 134345448425.85046, + 135079077530.17732, + 136386995770.32031, + 137205210793.22487, + 138364954480.02292, + 138785725578.74606, + 139599318034.15295, + 139974465915.47498, + 140578574602.35712, + 140279824930.17532, + 140802701016.6899, + 140326959893.27945, + 140014390105.21432, + 139263915783.61588, + 138999115885.8172, + 137322326180.63875, + 136211020636.5557, + 135152632263.83945, + 133501284822.3173, + 131737256612.22653, + 129571838771.88971, + 126808605753.09224, + 125809235331.17401, + 122615042606.26154, + 118993661927.2063, + 116497769514.1643, + 114532609749.96948, + 110361081528.40692, + 108165000798.16592, + 103033954441.22952, + 101988252332.44032, + 95816711895.76482, + 93660276919.18068, + 92075696047.80907, + 86269607118.58499, + 80865259915.24736, + 79507259190.92212, + 75121944570.25764, + 76240898258.94849, + 63644152205.86558, + 74496860921.5252, + 50549288821.97732, + 66182629477.84332, + 54392350448.69332, + 45012481997.95932, + 60896066388.99166, + 38847393475.45345, + 38832419787.18838, + 52597515497.3177, + 32956410129.090195, + 32303641890.631165, + 45168011686.39305, + -94080323.9796941, + 54655484758.23736, + 20663126434.575993, + 6336935949.443482, + 55369966559.850464, + 6087988616.738322, + -1716830786.83278, + 7823673359.681838, + 64571858042.18021, + 21973635969.307594, + -77612960389.74065, + 30870938428.928135, + 126616416690.68689, + -192860917546.44043, + 185457665599.6556, + -68757423288.48831, + 54628283735.47751, + -30416156030.820908, + -135095600541.89021, + -45740302767.46776, + 1.2361758911583281e+23, + 1.1750196189588703e+23, + 9.948099550699838e+22, + 7.3744576093868945e+22, + 4.7219280371345145e+22, + 2.593865944462993e+22, + 1.2307415297748298e+22, + 5.251945359917981e+21, + 2.277491934590281e+21, + 1.2491430054985605e+21, + 9.554649636419081e+20, + 8.853580275240774e+20, + 8.707810535793122e+20, + 8.675415449659475e+20, + 8.661811405687398e+20, + 8.650292804880373e+20, + 8.638372955438747e+20, + 8.62570614290789e+20, + 8.612213707601366e+20, + 8.597844413135973e+20, + 8.58254680211273e+20, + 8.566268747274209e+20, + 8.548957184527048e+20, + 8.530557868300991e+20, + 8.511015615590418e+20, + 8.490276734595436e+20, + 8.46828651824336e+20, + 8.444993311522386e+20, + 8.420346086731077e+20, + 8.394298701090238e+20, + 8.366807745391344e+20, + 8.337836211097498e+20, + 8.30735410301711e+20, + 8.275338984671066e+20, + 8.241778856800867e+20, + 8.20667330563378e+20, + 8.170035084223416e+20, + 8.131891969531461e+20, + 8.092288908046109e+20, + 8.051289477961195e+20, + 8.008977447745952e+20, + 7.965458311213506e+20, + 7.920861096844092e+20, + 7.875338662938996e+20, + 7.829068524506726e+20, + 7.78225332264465e+20, + 7.735120393479705e+20, + 7.687920751978868e+20, + 7.640928083242967e+20, + 7.594435944362799e+20, + 7.548756076485099e+20, + 7.504214399730924e+20, + 7.461146862364835e+20, + 7.4198960203235e+20, + 7.380805028310423e+20, + 7.344212952270107e+20, + 7.310449043114563e+20, + 7.279827493921855e+20, + 7.252640904906036e+20, + 7.229156142180696e+20, + 7.209608411866944e+20, + 7.194196757959849e+20, + 7.183080655779736e+20, + 7.176376299037684e+20, + 7.174154317203771e+20, + 7.176438628694701e+20, + 7.183205523641654e+20, + 7.194384581791403e+20, + 7.209859618698588e+20, + 7.229471603590296e+20, + 7.25302120551869e+20, + 7.280273286162153e+20, + 7.310961297847345e+20, + 7.344791803832308e+20, + 7.381451000242876e+20, + 7.420608999436361e+20, + 7.461926668495968e+20, + 7.505060046791706e+20, + 7.549666614196911e+20, + 7.595409524763802e+20, + 7.641962409692008e+20, + 7.689013549822841e+20, + 7.736268010807764e+20, + 7.78345254910522e+20, + 7.830314832856166e+20, + 7.876628150498112e+20, + 7.92218858671393e+20, + 7.966819127702859e+20, + 8.010365985949134e+20, + 8.052701089014102e+20, + 8.093717754761308e+20, + 8.133332843375182e+20, + 8.171482744461483e+20, + 8.20812290319962e+20, + 8.243225289202133e+20, + 8.2767777626495e+20, + 8.30878083495833e+20, + 8.33924703923041e+20, + 8.368198458057915e+20, + 8.395666256697818e+20, + 8.421687896047142e+20, + 8.44630598034795e+20, + 8.469568399367465e+20, + 8.491525134966502e+20, + 8.512229539343995e+20, + 8.531735482928668e+20, + 8.55009789704862e+20, + 8.567371049720076e+20, + 8.583602661411345e+20, + 8.598788949583976e+20, + 8.61254571945341e+20, + 8.622098831876226e+20, + 8.611964942907918e+20, + 8.509916827284425e+20, + 8.032680002522491e+20, + 6.249683264953339e+20, + 6.168880961611359e+19, + -1.4600324608876937e+21, + -4.990531638307616e+21, + -1.20507641157301e+22, + -2.4272828668667427e+22, + -4.267883761910471e+22, + -6.691569836331842e+22, + -9.493742291002358e+22, + -1.2341434068465755e+23, + -1.4869218304409437e+23, + -1.6781134170164273e+23, + -1.791449639414751e+23 + ], + "scaled_nonlinear_residual": 0.024242793788467533, + "scaled_residual_vector": [ + -2.054241783664746e-07, + 1.6082652269733062e-07, + -3.431600681678299e-08, + -1.1089367849482112e-07, + 4.1692400211593336e-07, + -6.234044410257745e-07, + 4.5239432751902824e-07, + -1.7192746868993907e-08, + -1.4466667268902078e-08, + -2.6556900716298117e-07, + -6.248883017144014e-07, + 1.9299784542855637e-06, + -1.845980915427131e-06, + 1.649998335450093e-06, + -1.6193075417173988e-06, + 1.2989503014364566e-06, + 3.4305278021675956e-07, + -4.2356417541729635e-06, + 4.479200850188522e-06, + 2.860308688734011e-07, + -1.5568491922419723e-06, + -9.826562238049007e-07, + 7.635857245176563e-07, + -1.6025669503095573e-07, + 9.644015574327115e-07, + -1.679988995736039e-06, + 3.1216791529590004e-06, + -2.471583383717948e-06, + 7.573548741624407e-07, + 1.4114514060733032e-06, + -3.372470608899038e-06, + 4.2623307087800935e-06, + -5.818001236361627e-06, + 5.2228070868421564e-06, + -2.8045920504455905e-06, + 3.7220073572577526e-06, + -8.391856329750287e-06, + 1.6669131170072182e-05, + -2.1000287917169007e-05, + 1.114014231972935e-05, + -3.7712467320708836e-06, + 1.2902390763303554e-05, + -1.3586479315758906e-05, + 1.6452704621790957e-06, + -5.068953787698262e-06, + 1.9691357044656517e-05, + -1.791930399179589e-05, + 2.0008742271129412e-06, + 3.565677293814061e-06, + 8.559277087008678e-06, + -3.608815157472191e-05, + 4.717843325787712e-05, + -1.3863121212595636e-05, + -7.141905611967569e-06, + -1.3961763306884088e-05, + 2.246554027387801e-05, + -1.8240925185281486e-05, + -1.1764173395488756e-05, + 2.2894015769459243e-05, + 5.530391138389564e-05, + -9.251545576843232e-05, + 4.4742059056261224e-05, + 2.280562323370386e-06, + -9.305634614903579e-07, + -2.156839303283566e-05, + -2.568745278250931e-06, + -1.2839197569850344e-05, + 6.698296736309317e-05, + -3.40538400362025e-05, + -4.1103958799489804e-05, + 4.4242243847310814e-05, + 1.2769074800030034e-06, + -6.3994928483186485e-06, + -4.1356144491215476e-05, + 0.00011601216332943541, + -7.183614032883917e-05, + -5.895025746228837e-05, + 8.629094520919969e-05, + -2.967436827480591e-05, + -5.0126143976305725e-05, + 6.942995312129947e-05, + -1.2521570239037971e-05, + -1.2553621903053188e-05, + -7.109849068187457e-05, + 0.00011198461459410937, + -7.480542383721356e-06, + -4.971943866522162e-05, + -4.864679330512329e-05, + 0.0001153096891860844, + -0.00010915904610555964, + 0.00011475153888988972, + 7.972606133856768e-07, + -4.8482310829765776e-05, + -7.558993192235329e-05, + 9.173436141249127e-05, + -3.4067981243849816e-05, + 5.262939101449852e-06, + 3.791809405227392e-05, + -8.054525303102904e-05, + 1.0514472162361075e-05, + 0.00014538626803960427, + -9.855452586975285e-05, + -7.603999318691042e-05, + 0.0001260628287692527, + -6.696344370562315e-05, + -6.192835981483542e-05, + 0.00010211424365119365, + 1.587789292020587e-05, + -0.00012590084599570662, + 3.230269832990785e-05, + 1.5516718827232264e-05, + 8.610538449384149e-05, + -1.848696159818391e-05, + 3.147691506912203e-05, + -0.0001640441366795856, + 9.688130986058863e-05, + 9.638200619938864e-05, + -0.00019295109149771806, + 0.00017137991187655838, + -0.0002195330687113007, + 0.00031156638433565064, + -0.0003598997872537472, + 0.00026509123009615953, + 3.5352445679054815e-05, + -0.00010154212368765156, + -8.435338944182309e-05, + 0.00031424047796898245, + 3.4476719111803904e-05, + -8.407105314756102e-05, + -2.3821180887761246e-05, + 0.00015145662915295836, + -9.09763188373259e-05, + -1.6709278473701603e-05, + 0.00010526351888847964, + -0.00026617071406542206, + 0.0003645848101307327, + -0.0002697010212122993, + -3.4671957368708467e-05, + 0.000229065296951672, + -0.00022556306706211226, + 0.0001145487857753154, + 7.73713269954357e-05, + 2.2474524887621782e-05, + -0.0001782962124553183, + 7.073118488017169e-05, + 8.784523096154851e-05, + -9.286529353775413e-05, + -0.00011023729893017568, + 0.00015456638759850014, + -4.2867455610376705e-05, + 4.4490662781248527e-05, + -6.870827855988629e-05, + 3.607285022219215e-05, + 5.234152074191105e-06, + -3.868502792492179e-05, + 2.741513799074715e-05, + 0.00014062836786925392, + -0.00015671435324499878, + -0.0001097155463795418, + 0.00013365571031181506, + 4.2074434589281e-05, + -6.327860401951843e-05, + -9.039812977706838e-05, + 0.0003077000187039724, + -0.00021513897365807707, + -0.00015897747160184257, + 0.00025205471415139995, + -4.503427929749228e-05, + -2.5508570173443362e-05, + -1.3106757765947627e-05, + 4.695272304375699e-05, + -0.00011887462627288143, + -2.1272228222691666e-05, + 0.00010264961217264156, + 0.00010092836499738634, + -0.0001909049330189301, + 0.00021104871806816987, + -0.00015249422213601844, + 0.00010749183918687486, + -0.00025312230966558505, + 0.00032281363883633905, + -0.00011877794153601951, + -0.000131687352258566, + 0.00011342751758560114, + -0.00014986777445812036, + 0.0002302222728068471, + -0.0001834444525168525, + 0.0002999987818171712, + -0.00040662386176981897, + 0.00018122599470809378, + 0.00021320690835408503, + -0.00035750575643904333, + 0.0001290602065562694, + 0.00022779939160575023, + -0.00032937345908416634, + 0.00020394641283033905, + -0.00012126193684790088, + -3.508427506415572e-05, + 0.00025944041944837767, + -0.00028678793095099364, + 0.00022851062955376447, + -0.0001908892417361943, + -2.2714307376620778e-06, + 7.088978929492623e-05, + 0.0001740073811931117, + -0.00023804851287683067, + 6.424589690913745e-05, + 2.7174841839663542e-05, + -2.0584675525585412e-05, + -4.8509267045148885e-05, + 0.0001608901292766113, + -0.00018378109279033986, + 0.00013599250769218675, + -0.00013659642293795297, + -6.023174357808038e-05, + 0.0001452130174084341, + 6.0371852450993964e-05, + -0.00010344069310647963, + -1.739850177992955e-05, + 0.00022111448153954005, + -0.0002887397956801535, + 3.078662186443204e-05, + 0.0002781623554455806, + -0.0003700903303247085, + 0.0003727446335519411, + -0.0002977579346910442, + 9.430139704953888e-05, + -6.592357780236525e-06, + 3.708548279437251e-05, + -0.00015177048005249116, + 0.00033407198120068355, + -0.0002739742505236125, + -1.2305575965898577e-06, + 8.341334099705486e-05, + -2.998912037105564e-05, + 3.754773977662812e-05, + -0.00011642078494057653, + 0.00020153071006607314, + -0.00023089604397837578, + 0.00014027281652773295, + 8.42353201696504e-05, + -0.00022371115245642975, + 0.0001908100694905386, + -0.0001552414374495097, + 0.00021774799381653106, + -7.140972567628095e-05, + -0.00014057236111584106, + 0.00011760866828586593, + 1.4094309705832366e-05, + -3.186152549990895e-05, + -2.7060932060171977e-06, + -0.00010352846906312527, + 3.7765638372527123e-05, + 0.00010401585205919498, + -2.4427322591407716e-08, + -1.0681298621092871e-07, + 3.77031929420398e-07, + -4.5838416178606845e-07, + 1.533269491100327e-07, + 4.080651689163364e-08, + 1.8936261779502855e-07, + -4.6928632179773937e-07, + 1.1977885061239989e-07, + 2.828990576461841e-07, + 1.0455361826869145e-07, + 2.8783876536325026e-09, + -8.008530549414964e-09, + -2.4390261477964683e-07, + -4.919904544093294e-07, + 8.142834958503256e-07, + -4.4324155023267376e-07, + -3.858462470692167e-07, + 7.777855330631641e-07, + 6.571361850026171e-07, + -2.650463817548988e-06, + 2.4950237999627405e-06, + -4.1296153077707534e-07, + 6.62358228350096e-07, + -1.4904701202560792e-06, + 4.080220065554577e-07, + 6.644557843596345e-07, + -8.249311426755038e-07, + 4.4432003716559004e-07, + -1.7685102244817696e-06, + 2.493959730741864e-07, + 1.4269071166360788e-06, + -2.5765083877830174e-06, + 4.529960070380739e-06, + -1.0290103371293488e-06, + 2.6151110258081955e-06, + -5.5971443879924985e-06, + -2.9897652668364117e-06, + 6.109347494705738e-06, + 4.194345927503924e-06, + -9.212844181625642e-06, + 7.222560329177379e-06, + -2.2679732983634297e-06, + -4.596390750066425e-06, + 7.325333449125491e-06, + -8.268823199244701e-06, + -4.552718577158865e-07, + 1.345721243093495e-05, + -1.13340134004656e-05, + 4.841019724992304e-07, + 1.2954457818614262e-05, + -1.664229963109209e-05, + -1.7086891005752662e-07, + 3.7726704256377646e-06, + 9.286985681333626e-06, + -3.158102746037116e-06, + -1.0179645090736686e-05, + 5.888008650708135e-06, + 7.423942551560867e-06, + -8.902839060978082e-06, + 3.8009657317755637e-06, + -9.84961531107387e-07, + -5.224853380640737e-06, + 2.1973118419418238e-06, + 8.10616801995796e-06, + -8.423053495014142e-06, + -3.1205358260076167e-06, + 1.5435091496575697e-05, + -9.374687166969724e-06, + -1.1967550744465545e-05, + 2.1436213642195338e-05, + -1.0136227428901211e-05, + -2.359182314044491e-06, + 2.6599337170450527e-07, + -1.8209828683276677e-05, + 5.352412607745448e-05, + -4.3589858037649204e-05, + 1.5167780661427951e-05, + -2.7169045615991184e-06, + -1.7144796960353868e-05, + 3.065826799601133e-05, + -2.0848102593080205e-05, + 1.345444744701914e-05, + -1.053188659181852e-05, + -6.954175360231054e-07, + 6.473960627512723e-06, + -9.156923712878991e-06, + -3.1327248652112576e-06, + 3.579811303972193e-05, + -2.6302076528446123e-05, + -1.077870808729283e-05, + 6.347537760118624e-06, + 1.2221166286294434e-05, + 1.6815816481656225e-06, + -2.793021721431516e-05, + 2.2842819938800513e-05, + -1.0552124412810671e-05, + -9.935937189228807e-07, + 1.68278502525465e-05, + -1.9841263863225105e-05, + 2.152355459908667e-05, + -1.0816997526588071e-05, + -6.706007251180791e-06, + 2.1098403395129634e-05, + -3.082544959615956e-05, + 8.665129882290223e-06, + 1.6788897528140177e-06, + 1.5752993194812676e-05, + -1.8190512758081177e-05, + 1.8973966095982848e-05, + -1.607394807867465e-05, + 2.1253343658271028e-05, + -3.750907124908259e-05, + 2.7582575504977076e-05, + 1.217614406573987e-06, + -1.523247326315523e-05, + -1.8667259787746604e-06, + 2.023942392251979e-05, + -7.673917069323725e-06, + -7.054549097159803e-06, + 2.8625459597247486e-06, + 5.549030955106716e-06, + -2.1170458118826117e-05, + 3.368967776619951e-05, + -7.0317869342091904e-06, + -2.687697837988315e-05, + -0.00031362512628194946, + 0.00011387744303052825, + -2.6886317208142e-05, + 1.717405062631047e-05, + -1.0480092069298648e-05, + 1.4715222400008465e-05, + 5.58872150282905e-06, + -2.036989681628846e-05, + 1.442895204477475e-05, + 3.068944213292588e-06, + -9.933984364345342e-06, + 3.5760063766067263e-07, + 8.345322744251474e-06, + -1.3716434444019327e-05, + 4.249357298093236e-06, + 9.166072722290178e-06, + -2.3399692308773695e-06, + -2.7812652506593485e-06, + -2.4956236958315928e-05, + 2.3966778013017743e-05, + 1.712094934972197e-05, + -3.2901752636177125e-05, + 1.492127806783373e-05, + 4.175116906746842e-05, + -8.392087882545366e-05, + 6.262566300418231e-05, + -4.0213481223841865e-05, + 1.2434479350385352e-05, + 9.357215913916065e-06, + -4.565390131604527e-06, + 4.0294094083385245e-05, + -5.618369480163305e-05, + 4.7110427415843306e-05, + -4.264553745474394e-05, + 1.0045544511686843e-05, + 2.6667691849386538e-05, + -3.9547969619638614e-05, + -9.59413010328657e-06, + 6.861286280239382e-05, + -3.5278550079677856e-05, + -3.56805270002778e-05, + 3.7513876818913135e-05, + -6.501090366105145e-05, + 0.0001100077125577626, + -0.00010129853397179936, + 5.713135133428341e-05, + 1.7756280502855e-05, + 1.3152110402040676e-05, + -7.60019510781548e-05, + 3.743739485857207e-05, + 6.148028234224701e-05, + -0.00011288580740121171, + 5.783625998537803e-05, + -2.9724109341503972e-06, + -2.368431070277881e-05, + 1.8445000246587456e-05, + 5.5174354384539276e-05, + -0.0001388794454897496, + 0.00010956925737868558, + -3.402228865036844e-05, + 5.835417153035385e-05, + -0.00010586690714562096, + 8.259033052670242e-05, + -1.962896450116148e-05, + 3.8986397946104816e-05, + -9.750919627154961e-05, + 0.00013144322618972913, + -0.00011604760498498104, + 1.5444979979841948e-05, + -1.286845433618368e-05, + 5.585203897001037e-05, + -0.00013818164580698127, + 0.00010983458554255716, + 7.517044502486014e-05, + -3.541703224436276e-05, + -2.204706113934125e-05, + -3.432641956054998e-05, + 4.829218213600928e-06, + 0.00012982230038436046, + -0.0001692979099431411, + -3.524540055791604e-05, + 0.00012458381035104348, + 5.310246528107445e-05, + -0.00010497720964489936, + 4.280057222290325e-05, + -8.838305157373302e-05, + 0.0001180429428041383, + -0.00013030500103461585, + 0.0001265517198343402, + 2.115314771666547e-06, + -0.00014435247196318844, + 1.8713859646964187e-05, + 0.0001263997493014171, + -6.397161775931789e-06, + 3.448435323449967e-05, + -0.00017185942747323493, + 0.00020236742163060777, + -0.0003196537451626727, + 0.00035914871264021615, + -0.00021036467890195453, + 2.6292856670035147e-05, + 0.00016256714068652356, + -0.00023361878782851746, + 0.00013089111268752712, + 7.078118041591367e-05, + -0.0001711586234379061, + 6.042196625885435e-05, + 3.170117780433102e-05, + -0.00012489905955866682, + 0.00026756458586703926, + -0.0002105678712845136, + 3.4403399764565705e-05, + 0.00010591226027649605, + -0.00018663940883635523, + 6.49725390581526e-05, + 8.322048103448656e-05, + 3.036334582972759e-05, + -0.00017154962072536432, + -2.876218772915898e-05, + 0.00023575737705855003, + -5.069926640284887e-05, + -0.00024788817414663216, + 0.0003690748475678958, + -0.0002948183401120695, + 0.0001057009158163107, + -6.611003235197039e-05, + 3.674434279550277e-05, + 0.0001839041775578519, + -4.450999482564481e-11, + 2.6779541306499757e-06, + -2.3588901478381115e-06, + 4.910069959028452e-06, + -5.2007622828471714e-06, + 2.425955707061799e-07, + 2.6224593933290383e-06, + -3.0634383086697233e-06, + 1.8283076599909236e-06, + 4.4963008538607976e-07, + -1.1759686709119228e-07, + -1.302535290168787e-06, + 8.344949137697573e-07, + -2.032569813862516e-06, + 3.6465858384894186e-06, + -1.6862236201664813e-06, + 5.978141058723485e-09, + -5.01274223746419e-08, + -1.0979556947432944e-06, + 2.0999035476886385e-06, + -1.4537387768130968e-06, + 4.448613386108159e-07, + 3.2512570893816486e-08, + 2.9416576926256984e-07, + -5.754413608096821e-07, + 2.5434384251805573e-07, + 2.347966594067783e-07, + -4.394274149491299e-07, + 2.2459258242487456e-07, + 1.4074022456345663e-07, + -4.442332014253951e-07, + 4.244141831039063e-07, + -1.315231677749222e-07, + -5.05957249102704e-09, + -1.3632350207687107e-08, + 2.8952873078386898e-08, + -1.51860204084406e-08, + -9.527858506050633e-09, + 2.0381781495425107e-08, + -1.5599554928759365e-07, + 3.3536147703856903e-07, + -2.047910816481379e-07, + -8.883989133412585e-08, + 1.4942506972926595e-07, + -4.682926172997975e-08, + 1.2462362450158086e-08, + -8.967522653766465e-08, + 1.470680292676912e-07, + -1.1457100393327665e-07, + 2.0812382224396896e-08, + 5.160711337505403e-08, + -2.949024354246569e-08, + 2.319016764519679e-10, + -2.9219604914764396e-10, + -7.835457665006557e-09, + 1.556364945723741e-10, + 2.1471292557229155e-08, + -3.6118291009758266e-08, + 2.9329300158273156e-08, + -7.65108054408852e-09, + 1.2918406754108457e-08, + -6.602156701653853e-08, + 1.0481852311269496e-07, + -5.1912798559204096e-08, + -1.2357416007704505e-08, + 2.4717584659210713e-08, + -5.154517327653124e-08, + 1.1775991898472543e-07, + -1.5837403389771392e-07, + 1.2008535145135697e-07, + 1.048426991492345e-09, + -8.40060425773599e-08, + 2.8787482723903612e-08, + 5.861198359701123e-08, + -7.689948221005183e-08, + 3.2021115917956504e-08, + -1.616630797576222e-08, + 3.29383353682727e-08, + -3.4326577799924026e-08, + -2.3390353278897254e-08, + 4.141313487655742e-08, + 5.176745985851621e-10, + 7.02771851474585e-08, + -2.0136846992377006e-08, + -1.895467517857065e-07, + 2.2531552329765349e-07, + -1.8126869377120969e-07, + 9.573667804511453e-08, + 1.2838885300632352e-10, + 2.376939729476462e-07, + -5.029755874208339e-07, + 4.63271376466685e-07, + -4.202665621237861e-07, + 2.2408779782804908e-07, + 3.700592425194391e-07, + -7.880754631268744e-07, + 6.371405557372707e-07, + -4.668143017251397e-07, + 7.964024606662753e-07, + -5.723685950921232e-07, + -6.576377048536797e-07, + 1.052117320938295e-06, + -3.6465710917838946e-07, + 4.2309456384106274e-07, + -1.4626517946355174e-06, + 1.288022487668839e-06, + -4.976852325206011e-07, + 9.275192760645327e-07, + -1.1099286234774563e-06, + 4.6225186488487344e-07, + -6.018731556892774e-07, + 8.217427380918709e-07, + -4.3650603256960937e-07, + 3.115296156793859e-07, + -8.187156734863494e-07, + 2.5859794120997146e-06, + -3.818051697714527e-06, + 3.716863617458706e-06, + 7.920946797032555e-08, + -3.2895239898971304e-06, + 1.934517141758165e-06, + 7.785817323716249e-07, + -2.8310429482330167e-06, + -1.5092624309260247e-06, + 5.214751736403942e-06, + 5.994500317681278e-07, + -3.2169178080550545e-06, + -4.371474459842415e-06, + 3.3328989765038567e-06, + -4.0746721771378307e-07, + 1.0120354031185764e-06, + -4.127751642672532e-06, + -1.6888563518299671e-06, + -8.203516608351967e-07, + 1.3093958146794942e-05, + -3.5200312400237927e-06, + -1.6438151743535307e-05, + 2.065284806454533e-05, + -1.4800799463107862e-05, + 3.542250763392134e-06, + -1.612812111765807e-05, + 5.921474683872382e-05, + -5.9781034502641096e-05, + 8.306423790135539e-06, + 7.680508274428227e-06, + 3.8683151319837136e-05, + -8.316929361264425e-05, + 7.606441143411442e-05, + 1.1573048795453474e-05, + -5.0812574844200914e-05, + 5.7215304952557625e-05, + -0.00011879762379080182, + 5.479221835642047e-05, + 3.125788440026661e-05, + -4.262102568942266e-06, + 3.213858949436587e-05, + -3.344098637672233e-05, + -9.658380585181095e-05, + 5.56912858336705e-05, + 0.0001690533824197517, + -0.00014269611304361943, + -5.1450503101419056e-05, + 6.432372113878351e-05, + -7.258512541252171e-05, + 6.448025762768448e-05, + 6.331542297167906e-05, + -0.00015699810804928481, + 1.76386245275424e-05, + 0.00029847205523880256, + -0.00046486659644420764, + 0.0005220280304449316, + -0.00026324161248572137, + -0.00025286245438998584, + 0.000405637971708977, + -0.0004053244690630878, + 0.0006897586441874499, + -0.0005449888297982613, + -0.00018195612241007878, + 0.00022665413255003664, + 0.0003703981903844455, + -0.0003681984203582306, + -6.548022614869212e-05, + 0.00020822165772611177, + -0.0005369629716743058, + 0.0006855099249315854, + 3.635237145956186e-05, + -0.00029566921079423957, + -0.00026756493468127636, + 0.0007582765079167179, + -0.0007470412173614755, + 0.0008626418884861827, + -0.0015728672135599808, + 0.0012077161354143262, + 0.000347734015838115, + -0.001065544222384776, + 0.000361096630602377, + 0.00040004517892196673, + 0.00028707942046177757, + -0.00109707451267249, + 0.0001091243739447619, + 0.0009432755722510538, + -0.0004858917137067027, + -7.761857548712524e-05, + -9.700308801987259e-05, + 0.00011096792738102997, + -4.9513286068612577e-05, + 0.00021277829004534484, + -0.0001967775031791713, + 0.0003004363543737822, + -7.452668207788205e-05, + -0.0009256209885012127, + 0.0005312469396910949, + 0.0006386049242747244, + 9.07392091749376e-06, + -0.0008430511137330264, + -0.00038165616150592573, + 0.0022495522635031582, + -0.0020781196229625793, + 0.0001760494768690311, + 0.0019522681531294736, + -0.002282369610878551, + 0.0014170072903179013, + -0.001634004640998899, + 0.001517100696555998, + -0.0006785522996735781, + 0.0006551137880857424, + -0.001714647011904982, + 0.0017845381964516818, + -0.0005461201557167849, + 0.00016617614278828234, + 0.000544369228421625, + -0.0009307258660697037, + 5.893752461303915e-05, + -0.0002979054346135241, + 0.0006368309448026813, + 7.995662452333142e-05, + -0.000231509973567453, + 0.0005439741091197075, + -0.00076275208581832, + 0.000258681864073153, + -0.0005972740769117142, + 0.0002177035613954757, + 0.0008731243670041205, + -0.002229487005526009, + 0.0033547569823550753, + -0.0023331483147492763, + 0.0009410498262995373, + 0.00028312921209840337, + -0.0008000350364141802, + -0.0011955163395994206, + 0.001585320028916273, + 0.0003122904716129112, + -0.00026908003376656804, + -0.0008173938993388887, + 0.0018114303005382307, + -0.001848899176395738, + 0.000536676015340491, + 0.0003831926869658677, + -0.0005689069682454221, + -0.0012075024951872571, + 0.0016397133859124141, + 4.0742689332809317e-05, + -0.0009594992954740129, + -2.959321239805799e-05, + 0.00045317713088954473, + 0.0004603383940596858, + -0.00023334292675113998, + -0.00043404242137662136, + 0.0004477365649944204, + -0.0002382948285693252, + -0.0007871747407065059, + 0.0014269195203817412, + -0.00035564159660768894, + 0.000496056022531391, + -0.0008677841306892429, + -0.000518824063619885, + 0.0005163685790147054, + 0.0002409458926519488, + -0.00031949340759780177, + 0.00041452515732182105, + 0.00014577645343369822, + -0.0003945082211898625, + -0.0001055222289482971, + 0.0005989307843235573, + -0.0007106174056146436, + 0.0002910224960835804, + -0.0003895007373502077, + 0.00019950587104532178, + 0.00015604878801825129, + 0.00014010138662689554, + 0.0007952456925831468, + -0.0019104411195280345, + 0.0019323973376353103, + -0.0008834300957311443, + -0.0007553615433736667, + -0.00017983447295686706, + 0.0022674957354280744, + -0.002015554865703009, + 0.0007822904579022029, + 0.0006451833891768511, + -0.002548469565164789, + 0.0033548288046521164, + -0.002046152762072994, + 2.5236255841114025e-05, + 0.0014689327255483265, + -0.0021865849159970582, + 0.0014194894642218926, + -0.0005810560162268009, + 0.000578279259197467, + -3.601297536285562e-05, + 0.00012729856368380834, + -0.0008804406830574867, + -0.0003483129982285453, + 0.0005000762605556506, + 0.0011003314747322689, + -0.00020115836434903865, + -0.00045353914461351163, + -0.0018601317768137196, + 0.0037465638549970637, + -0.003406263659622517, + 0.0024557395680102783, + -0.0017875180021251708, + 0.0017719172844343864, + -0.00013244000436314537, + -0.0011996426835079615, + -0.0005089195837636399, + 0.0007240025175838573, + 0.001093965222171163, + -0.0019428037989614423, + -0.0001658419037776754, + 0.0028859025860711682, + -0.0029927750637837062, + 0.00138534193125418, + 0.00015983637725680173, + -0.0010263930435360615, + -0.0013087357559871393, + 0.005720137681810734, + -0.002917882861452812, + -0.002584492006437866, + 0.0018366911441094359, + 0.0006837715358755576, + -0.0011042552787263718, + 9.810598441092227e-05, + 0.0004901997751012503, + -0.0012226381524894144, + 0.0025795444573588114, + -0.002031568137876126, + 0.00018456878058174746, + 0.0007528842864961229, + 2.971115059758629e-05, + -0.0016042911358118018, + 0.003267930568545199, + -0.003174385920404394, + 0.0008315994681241197, + -0.0022514419956124435, + 0.0046621211521489445, + -0.004737399499803995, + 0.0050670454590569245, + -0.004593722698891937, + 0.003271859815148256, + -0.0021315288642584905, + 0.002506992303335357, + -0.0011840966245410583, + -0.0021990632081305968, + 0.0027502777618381544, + -0.0018789725514850677, + 0.003505058939263623, + -0.006964659903520034, + 0.007851145507473786, + -0.0034081077792772773, + 0.0013428893154586903, + -0.002062773637325596, + -0.0014482113718079616, + 0.003316351720538026, + -0.0017121969123670107, + 0.0014482571743870438, + -0.0005133836841721148, + 0.0017064283006451456, + -0.004209362696612195, + 0.001802184420794994, + -0.0008368901796835366, + 0.0019410596404082615, + -0.0013123166691786318, + 0.0, + -0.0005095822938774607, + 0.00043914778795675017, + -0.024242793788467533, + -0.0002663540822584136, + 0.0003067382760090335 + ], + "storage": [ + 2508793556354.7217, + 2502128356449.5947, + 2495082141841.1523, + 2487636277987.925, + 2479771611284.8813, + 2471468506711.2363, + 2462706893934.1553, + 2453466322630.2183, + 2443726027789.4434, + 2433465005766.469, + 2422662101821.8384, + 2411296109845.499, + 2399345884881.7583, + 2386790468967.1333, + 2373609230660.6206, + 2359782018474.89, + 2345289328213.018, + 2330112483968.8657, + 2314233832263.45, + 2297636948460.9204, + 2280306854240.83, + 2262230244494.2793, + 2243395721575.504, + 2223794034373.8174, + 2203418319191.0117, + 2182264338927.3267, + 2160330716610.0044, + 2137619158859.5803, + 2114134664508.6616, + 2089885713279.0083, + 2064884429220.74, + 2039146713542.194, + 2012692341533.7927, + 1985545018542.402, + 1957732390397.5623, + 1929286004336.7676, + 1900241217338.5884, + 1870637049830.4653, + 1840515983987.316, + 1809923707242.9138, + 1778908803160.364, + 1747522393398.7334, + 1715817736105.744, + 1683849787596.7192, + 1651674735565.7563, + 1619349513251.6309, + 1586931304868.7263, + 1554477053159.772, + 1522042980080.2463, + 1489684131357.0208, + 1457453954970.757, + 1425403922503.2805, + 1393583200813.3196, + 1362038379712.2249, + 1330813259289.914, + 1299948698385.6924, + 1269482523512.174, + 1239449495434.292, + 1209881328682.2678, + 1180806757631.9553, + 1152251641497.1487, + 1124239099703.318, + 1096789668681.6544, + 1069921471144.3386, + 1043650389353.4233, + 1017990234733.3794, + 992952907331.8312, + 968548540022.2722, + 944785623873.3064, + 921671112681.9921, + 899210506191.731, + 877407912902.1584, + 856266094559.6956, + 835786495342.1018, + 815969259387.7709, + 796813240662.7772, + 778316009217.1349, + 760473857685.2311, + 743281811478.0275, + 726733645545.0984, + 710821909912.531, + 695537965478.5104, + 680872030826.7327, + 666813240138.8226, + 653349711686.1196, + 640468625880.7181, + 628156311480.0178, + 616398338270.5774, + 605179614403.4808, + 594484486502.6061, + 584296840707.3342, + 574600202921.8197, + 565377836710.2098, + 556612837480.791, + 548288221827.23987, + 540387011128.3437, + 532892308737.02637, + 525787370305.79865, + 519055666994.2779, + 512680941478.72754, + 506647256833.54224, + 500939038478.36334, + 495541109483.25867, + 490438719599.592, + 485617568437.9678, + 481063823249.62506, + 476764131786.3211, + 472705630719.1022, + 468875950090.4688, + 465263214260.5409, + 461856039786.36163, + 458643530648.92, + 455615271213.1366, + 452761317276.33374, + 450072185529.54504, + 447538841725.0389, + 445152687813.625, + 442905548286.4754, + 440789655928.80554, + 438797637167.36914, + 436922497169.49725, + 435157604829.14166, + 433496677755.4183, + 431933767361.2162, + 430463244134.5124, + 429079783161.7759, + 427778349961.38367, + 20310231274091.098, + 20257525278151.574, + 20201711688277.387, + 20142626491431.285, + 20080099472442.734, + 20013954306726.74, + 19944008708014.53, + 19870074638270.957, + 19791958587438.945, + 19709461931090.074, + 19622381374463.67, + 19530509491661.113, + 19433635369011.9, + 19331545361712.48, + 19224023972765.28, + 19110854863025.25, + 18991822000661.92, + 18866710957630.348, + 18735310359682.305, + 18597413495059.863, + 18452820085241.613, + 18301338218877.777, + 18142786447389.887, + 17976996037530.977, + 17803813372547.64, + 17623102489369.34, + 17434747734615.414, + 17238656517066.908, + 17034762128726.559, + 16823026600821.604, + 16603443555110.36, + 16376041004904.07, + 16140884054477.691, + 15898077440197.695, + 15647767852133.086, + 15390145971297.928, + 15125448155403.686, + 14853957705367.87, + 14576005646092.873, + 14291970958539.055, + 14002280206000.35, + 13707406505967.549, + 13407867810011.555, + 13104224467674.201, + 12797076066251.02, + 12487057556129.281, + 12174834690626.07, + 11861098829287.328, + 11546561173713.34, + 11231946524246.945, + 10917986663433.354, + 10605413487191.994, + 10294952016233.371, + 9987313427795.887, + 9683188250665.525, + 9383239864448.258, + 9088098437019.213, + 8798355422321.363, + 8514558724539.6045, + 8237208614967.454, + 7966754465401.48, + 7703592337747.0, + 7448063444729.95, + 7200453472349.703, + 6960992731936.033, + 6729857089333.757, + 6507169601520.676, + 6293002777390.751, + 6087381369756.212, + 5890285599925.857, + 5701654714320.679, + 5521390774190.367, + 5349362584119.725, + 5185409672113.916, + 5029346243036.258, + 4880965037435.7295, + 4740041038746.409, + 4606334982991.978, + 4479596635994.553, + 4359567813347.202, + 4245985127769.478, + 4138582456757.7593, + 4037093130567.8384, + 3941251846471.6074, + 3850796319963.5967, + 3765468687204.4087, + 3685016675574.702, + 3609194560909.236, + 3537763930882.7993, + 3470494274293.3477, + 3407163415726.229, + 3347557814416.7515, + 3291472745166.816, + 3238712377989.4233, + 3189089771847.271, + 3142426796470.049, + 3098553994839.097, + 3057310397553.7256, + 3018543298969.606, + 2982108003756.0356, + 2947867551353.162, + 2915692424751.92, + 2885460249049.2607, + 2857055484370.8613, + 2830369116982.0625, + 2805298351729.3896, + 2781746308366.8984, + 2759621723805.648, + 2738838661884.829, + 2719316231886.7695, + 2700978316698.974, + 2683753311257.9033, + 2667573871685.5737, + 2652376675348.0884, + 2638102191908.5166, + 2624694465330.9873, + 2612100906690.7266, + 2600272097569.002, + 2589161603755.698, + 2578725798932.5977, + 2568923697985.199, + 2559716799561.9443, + 2551068937493.6113, + 2542946140672.0396, + 2535316500991.5454, + 2528150048955.9927, + 2521418636563.4795, + 2521367279959.2305, + 2528033174494.5225, + 2535117617847.4526, + 2542646096185.607, + 2550645540648.5474, + 2559144394568.0234, + 2568172681680.185, + 2577762075010.2656, + 2587945966046.411, + 2598759533730.101, + 2610239812708.675, + 2622425760196.1895, + 2635358320697.565, + 2649080487746.453, + 2663637361689.544, + 2679076202435.8203, + 2695446475957.4263, + 2712799893197.5356, + 2731190439909.3647, + 2750674395811.8267, + 2771310341323.576, + 2793159150012.3887, + 2816283964796.066, + 2840750155847.202, + 2866625258100.695, + 2893978886253.609, + 2922882625182.2363, + 2953409893803.3174, + 2985635780577.3154, + 3019636849111.723, + 3055490912678.971, + 3093276776921.7866, + 3133073950598.4033, + 3174962324913.8613, + 3219021822785.149, + 3265332020309.789, + 3313971743703.545, + 3365018646034.9404, + 3418548769167.2266, + 3474636097367.6523, + 3533352110002.1406, + 3594765341517.7715, + 3658940957464.4287, + 3725940355501.3296, + 3795820800130.7573, + 3868635099190.4834, + 3944431328887.3003, + 4023252612315.5874, + 4105136953994.606, + 4190117130025.723, + 4278220630091.0864, + 4369469643868.706, + 4463881080689.504, + 4561466607675.784, + 4662232688419.501, + 4766180601795.615, + 4873306418994.874, + 4983600916588.938, + 5097049404547.482, + 5213631450749.894, + 5333320487682.178, + 5456083292569.452, + 5581879338997.112, + 5710660025775.631, + 5842367797059.26, + 5976935176028.874, + 6114283742363.225, + 6254323090707.344, + 6396949812959.356, + 6542046551055.009, + 6689481168696.714, + 6839106089973.34, + 6990757849985.443, + 7144256897491.16, + 7299407682408.327, + 7455999052103.381, + 7613804970133.42, + 7772585560018.133, + 7932088465241.021, + 8092050505518.739, + 8252199599019.664, + 8412256911100.389, + 8571939182646.915, + 8730961185596.402, + 8889038249806.906, + 9045888804253.26, + 9201236876445.803, + 9354814496909.865, + 9506363960228.188, + 9655639900225.9, + 9802411144063.611, + 9946462317844.578, + 10087595184509.496, + 10225629702939.39, + 10360404804955.396, + 10491778894083.824, + 10619630076313.025, + 10743856138455.264, + 10864374294120.736, + 10981120720574.453, + 11094049912039.969, + 11203133876278.412, + 11308361201666.135, + 11409736021636.094, + 11507276902292.191, + 11601015677487.45, + 11690996253710.742, + 11777273404911.227, + 11859911575029.926, + 11938983703563.338, + 12014570087052.967, + 12086757287052.027, + 12155637092891.654, + 12221305545526.117, + 12283862026850.527, + 12343408417248.35, + 12400048322647.44, + 12453886371138.27, + 12505027578149.693, + 12553576778330.904, + 12599638121622.262, + 12643314630493.953, + 12684707814969.367, + 12723917341770.475, + 12761040753776.127, + 12796173235862.525, + 12829407423181.967, + 270366762119.59824, + 271213817596.6222, + 272115616795.30902, + 273075701749.66058, + 274097843702.99017, + 275186057845.2641, + 276344618966.07837, + 277578078072.41077, + 278891280020.7349, + 280289382213.8893, + 281777874412.4701, + 283362599710.32, + 285049776721.25696, + 286846023021.9358, + 288758379891.67584, + 290794338384.2138, + 292961866759.3688, + 295269439292.491, + 297726066467.63135, + 300341326544.9298, + 303125398473.52576, + 306089096098.3057, + 309243903580.53546, + 312602011918.8578, + 316176356416.57574, + 319980654894.52606, + 324029446392.5563, + 328338130038.4981, + 332923003689.2813, + 337801301862.9992, + 342991232384.6373, + 348512011058.78345, + 354383893561.58264, + 360628203610.21484, + 367267356322.0013, + 374324875518.5045, + 381825403563.6533, + 389794702151.44257, + 398259642283.84235, + 407248181505.0163, + 416789326293.84784, + 426913077368.0189, + 437650355531.32214, + 449032905612.9552, + 461093176013.9066, + 473864171410.11786, + 487379276275.83215, + 501672047103.8025, + 516775971524.3936, + 532724192980.46515, + 549549200209.9937, + 567282481531.8381, + 585954144826.7227, + 605592505148.452, + 626223643079.0812, + 647870938231.6951, + 670554583673.5529, + 694291088442.8427, + 719092776712.6196, + 744967293444.8801, + 771917127509.1643, + 799939164132.996, + 829024279134.7672, + 859156987589.4968, + 890315159340.9675, + 922469813055.5894, + 955584999296.821, + 989617781389.7301, + 1024518320679.3917, + 1060230070226.6011, + 1096690078120.5833, + 1133829398533.074, + 1171573605521.1191, + 1209843401545.1255, + 1248555309842.22, + 1287622437309.3816, + 1326955292527.6147, + 1366462642069.9617, + 1406052387358.0564, + 1445632444074.7432, + 1485111606507.9192, + 1524400380147.589, + 1563411767317.3152, + 1602061992513.6406, + 1640271156336.2874, + 1677963809320.2517, + 1715069439506.6353, + 1751522870111.339, + 1787264566074.213, + 1822240850512.6357, + 1856404034097.3962, + 1889712462080.8936, + 1922130485094.6768, + 1953628360899.6423, + 1984182095014.5862, + 2013773228588.2263, + 2042388582041.8896, + 2070019962927.8276, + 2096663846165.0198, + 2122321034357.1636, + 2146996305324.1882, + 2170698053305.797, + 2193437929575.2434, + 2215230487448.6523, + 2236092835925.979, + 2256044305471.1606, + 2275106128742.3804, + 2293301138440.5703, + 2310653483857.1553, + 2327188367172.4404, + 2342931800097.685, + 2357910381052.116, + 2372151092732.16, + 2385681119647.231, + 2398527684978.7173, + 2410717905935.7896, + 2422278666655.7734, + 2433236507602.1226, + 2443617530352.2695, + 2453447316639.706, + 2462750860502.7373, + 2471552512410.222, + 2479875934255.0415, + 2487744064153.071, + 2495179090027.511, + 2502202431019.5557, + 2508834725820.383, + 39641433311.33396, + 5.977186525286279e+21, + 5.987460007753037e+21, + 5.998488484258728e+21, + 6.010310264112843e+21, + 6.02295155508169e+21, + 6.036431502525846e+21, + 6.050770215019191e+21, + 6.065995110631512e+21, + 6.082142946565253e+21, + 6.099258416399036e+21, + 6.117391722215327e+21, + 6.136596726374028e+21, + 6.156929989220601e+21, + 6.178450379949409e+21, + 6.201218930563841e+21, + 6.225298756958379e+21, + 6.250754980906184e+21, + 6.277654632626911e+21, + 6.30606652735307e+21, + 6.33606111245024e+21, + 6.367710282210317e+21, + 6.40108715754746e+21, + 6.436265827930199e+21, + 6.473321053053797e+21, + 6.512327922022944e+21, + 6.553361468191838e+21, + 6.596496238314206e+21, + 6.641805815290635e+21, + 6.689362294602375e+21, + 6.739235715462358e+21, + 6.791493448839745e+21, + 6.846199545775395e+21, + 6.903414050837689e+21, + 6.963192287107951e+21, + 7.025584120719866e+21, + 7.090633214663969e+21, + 7.158376283225317e+21, + 7.228842359990207e+21, + 7.302052093742109e+21, + 7.378017087668262e+21, + 7.456739298005422e+21, + 7.538210508465925e+21, + 7.622411896400223e+21, + 7.709313705587109e+21, + 7.798875038725256e+21, + 7.891043780128301e+21, + 7.985756655806787e+21, + 8.082939434127079e+21, + 8.182507265707303e+21, + 8.28436515633645e+21, + 8.388408561703142e+21, + 8.494524087921622e+21, + 8.602590277491645e+21, + 8.71247845678911e+21, + 8.824053618737091e+21, + 8.93717531314506e+21, + 9.051698517575227e+21, + 9.167474463503364e+21, + 9.284351395993926e+21, + 9.402175249911998e+21, + 9.520790231652472e+21, + 9.64003930201559e+21, + 9.75976456285603e+21, + 9.879807556957707e+21, + 1.0000009496742756e+22, + 1.0120211442506295e+22, + 1.0240254454481132e+22, + 1.0359979744900833e+22, + 1.047922885624123e+22, + 1.059784388993395e+22, + 1.0715667806249642e+22, + 1.083254481095799e+22, + 1.0948320838216122e+22, + 1.1062844132309456e+22, + 1.1175965923879439e+22, + 1.1287541189613787e+22, + 1.1397429478420252e+22, + 1.1505495782310178e+22, + 1.1611611426750888e+22, + 1.171565495334781e+22, + 1.1817512967349794e+22, + 1.1917080923618465e+22, + 1.2014263827162779e+22, + 1.2108976827874121e+22, + 1.2201145693453467e+22, + 1.2290707149307509e+22, + 1.237760907921392e+22, + 1.2461810585399055e+22, + 1.254328191123728e+22, + 1.2622004233737987e+22, + 1.2697969336334724e+22, + 1.277117917504197e+22, + 1.2841645352879686e+22, + 1.2909388518513657e+22, + 1.2974437705457125e+22, + 1.3036829627962016e+22, + 1.3096607949021736e+22, + 1.3153822534803235e+22, + 1.3208528708446903e+22, + 1.3260786514602668e+22, + 1.3310660004411091e+22, + 1.3358216548955204e+22, + 1.3403526187573672e+22, + 1.3446661015881346e+22, + 1.3487694616918737e+22, + 1.3526701537582744e+22, + 1.3563756811373087e+22, + 1.359893552753959e+22, + 1.3632312445921357e+22, + 1.3663961656125611e+22, + 1.3693956279178906e+22, + 1.3722368209324324e+22, + 1.3749267892954838e+22, + 1.3774724139741667e+22, + 1.3798803954938367e+22, + 1.3821572365903498e+22, + 1.3843092184927012e+22, + 1.3863423614073352e+22, + 1.388262360090195e+22, + 1.3900744968490684e+22, + 1.391783558860473e+22, + 1.393393810632555e+22, + 1.394909070193077e+22, + 1.396332896363125e+22, + 1.3976688356261385e+22, + 1.3989206424365201e+22, + 1.4000924002964702e+22, + 1.401188519018053e+22 + ], + "storage_scale": [ + 181596693.24173835, + 216428519.10838142, + 191462077.37992415, + 169403185.4716455, + 149911775.54191244, + 132687643.07024737, + 117465768.60102902, + 104012188.84500852, + 92120352.60821281, + 81607904.60023445, + 72313846.86410084, + 64096033.47440123, + 56828959.36038627, + 50401808.70932671, + 44716732.46342114, + 39687328.00496688, + 35237297.28506748, + 31299262.4405125, + 27813720.405024726, + 24728120.19346209, + 21996048.454733554, + 19576510.581108864, + 17433296.15478167, + 15534418.830272214, + 13851621.914184462, + 12359941.930163154, + 11037323.362623245, + 9864278.572179677, + 8823587.581144819, + 7900033.050028182, + 7080166.315425441, + 6352100.844583224, + 5705329.8898737375, + 5130565.504105448, + 4619596.410921415, + 4165162.518730087, + 3760844.126254143, + 3400964.096947858, + 3080501.48179567, + 2795015.248526253, + 2540576.9328557253, + 2313711.166461691, + 2111343.159167881, + 1930752.321200917, + 1769531.307056284, + 1625549.846977248, + 1496922.8066187878, + 1381981.9813067415, + 1279251.1894303302, + 1187424.2808338325, + 1105345.7213945617, + 1031993.4549998487, + 966463.7794832983, + 907958.0043057181, + 855770.6853523512, + 809279.2565977911, + 767934.8999444772, + 731254.5136075591, + 698813.6562982043, + 670240.3594154225, + 645209.7127284678, + 623439.1434741112, + 604684.3084309882, + 588735.5378590111, + 575414.799382692, + 564573.0998409098, + 556088.3063720963, + 549863.3482907453, + 545824.7717606266, + 543921.6245801278, + 544124.6533637539, + 546425.800108153, + 550837.9896421857, + 557395.2038482722, + 566152.8428721831, + 577188.3778765348, + 590602.3043051622, + 606519.4091776222, + 625090.3706948515, + 646493.7134805429, + 670938.1481851931, + 698665.3300241106, + 729953.0771965218, + 765119.0971391458, + 804525.2763114531, + 848582.597814119, + 897756.7607369343, + 952574.5858705442, + 1013631.30446142, + 1081598.840233622, + 1157235.2101497399, + 1241395.1865805464, + 1335042.3829594355, + 1439262.9469256275, + 1555281.0697403767, + 1684476.5487886982, + 1828404.671688493, + 1988818.7264117969, + 2167695.482445657, + 2367264.0340100643, + 2590038.4484279435, + 2838854.721720081, + 3116912.6102989633, + 3427822.983295149, + 3775661.425760114, + 4165028.920081859, + 4601120.542930309, + 5089803.23967656, + 5637703.879380587, + 6252308.953399811, + 6942077.461876068, + 7716568.737659163, + 8586587.189857403, + 9564346.212751994, + 10663653.80444179, + 11900122.777940838, + 13291408.830796164, + 14857480.17374119, + 16620922.911010442, + 18607286.922709152, + 20845477.631475076, + 23368199.751655128, + 26212459.930417016, + 29420136.109517023, + 33038622.477743313, + 37121560.06458835, + 35324056.0845846, + 1677827741.5653996, + 1752167198.8103442, + 1550134173.908227, + 1371617041.3371894, + 1213866171.0713282, + 1074454202.3890772, + 951238226.0168056, + 842326406.9768366, + 746048526.524547, + 660929982.8427441, + 585668844.238666, + 519115596.31799245, + 460255266.7264114, + 408191648.22294897, + 362133373.64843875, + 321381625.30585873, + 285319286.8141551, + 253401368.0451827, + 225146553.65125373, + 200129743.24993262, + 177975466.83019644, + 158352072.62057567, + 140966596.72937292, + 125560234.51892109, + 111904343.07636327, + 99796912.43944515, + 89059450.55745846, + 79534233.42895389, + 71081877.56031314, + 63579196.921924986, + 56917311.020135336, + 50999974.62301428, + 45742103.13724408, + 41068470.68667326, + 36912560.637371056, + 33215550.692208897, + 29925416.776701428, + 26996141.79013511, + 24387016.930842344, + 22062024.747331887, + 19989294.340405144, + 18140620.265420377, + 16491037.675855644, + 15018447.124976309, + 13703283.21530561, + 12528221.967797508, + 11477922.384890115, + 10538798.213217126, + 9698816.381129049, + 8947319.000560386, + 8274866.188690429, + 7673097.28797764, + 7134608.3485354185, + 6652843.988941884, + 6222001.974337244, + 5836949.047553674, + 5493146.723112608, + 5186585.907903623, + 4913729.3486671345, + 4671461.027107599, + 4457041.730516784, + 4268070.120766625, + 4102448.709011011, + 3958354.218651656, + 3834211.886301309, + 3728673.3106383197, + 3640597.513131929, + 3569034.9234847045, + 3513214.047027475, + 3472530.6119264457, + 3446539.0315451403, + 3434946.0522236354, + 3437606.489666092, + 3454520.9885317474, + 3485835.7702442883, + 3531844.3639002047, + 3592991.344959522, + 3669878.136588317, + 3763270.9595643766, + 3874111.049046777, + 4003527.290720211, + 4152851.4654188836, + 4323636.330857133, + 4517676.81215878, + 4737034.620164746, + 4984066.668723817, + 5261457.720168449, + 5572257.752807511, + 5919924.616596661, + 6308372.624227163, + 6742027.816024861, + 7225890.7396697495, + 7765607.701404266, + 8367551.575967772, + 9038913.409921192, + 9787806.219678227, + 10623382.574002601, + 11555967.763916133, + 12597210.60419165, + 13760254.183696045, + 15059929.19098932, + 16512972.79166756, + 18138276.430382755, + 19957166.37950147, + 21993721.36493826, + 24275132.175892424, + 26832108.81771209, + 29699341.50667155, + 32916022.642880626, + 36526437.8466014, + 40580635.21850715, + 45135183.20226757, + 50254028.80829562, + 56009469.52113407, + 62483253.98446481, + 69767828.56573136, + 77967749.17629737, + 87201280.30092925, + 97602206.10991985, + 109321881.8365688, + 122531557.3512119, + 137425009.1116201, + 154221521.48232257, + 173169263.8702681, + 194549116.3030102, + 218679003.07966775, + 182673826.64444235, + 182666877.5307569, + 218666444.63247347, + 194531533.02635282, + 173146629.1314745, + 154193835.49806055, + 137392293.43271434, + 122493850.06576186, + 109279233.39791872, + 97554675.70839004, + 87148932.70674063, + 77910651.98955648, + 69706049.81610855, + 62416860.0297951, + 55938523.19965438, + 50178587.80448916, + 45055298.59046081, + 40496350.15237657, + 36437786.365739465, + 32823028.570646197, + 29602017.41570368, + 26730455.041443884, + 24169135.846151594, + 21883355.45680397, + 19842388.74565312, + 18019028.80784346, + 16389179.764169881, + 14931497.090421226, + 13627069.913853085, + 12459140.369735, + 11412855.686743308, + 10475049.178322464, + 9634046.765863357, + 8879496.055702835, + 8202215.341693948, + 7594060.213922325, + 7047805.726822509, + 6557042.32079315, + 6116083.904130065, + 5719886.690035938, + 5363977.549563696, + 5044390.788162792, + 4757612.383365355, + 4500530.836047504, + 4270393.889458476, + 4064770.4603919582, + 3881517.206899181, + 3718749.2280457527, + 3574814.454518637, + 3448271.3453643867, + 3337869.5566749834, + 3242533.293416663, + 3161347.096518081, + 3093543.854440613, + 3038494.8623078456, + 2995701.782805773, + 2964790.391945481, + 2945506.0198623403, + 2937710.6225081948, + 2941381.444776883, + 2956611.259658628, + 2983610.191808005, + 3022709.157802794, + 3074364.9797145156, + 3139167.2537993174, + 3217847.0825105696, + 3311287.8060641545, + 3420537.8998694797, + 3546826.236753442, + 3691579.9485612893, + 3856445.16097316, + 4043310.9188617966, + 4254336.667904708, + 4491983.712245441, + 4759051.128604085, + 5058716.685355191, + 5394583.391771427, + 5770732.389110645, + 6191782.992845944, + 6662960.805641825, + 7190174.945404731, + 7780105.573814629, + 8440303.070390817, + 9179300.377861025, + 10006740.249163754, + 10933519.358058803, + 11971951.497606967, + 13135952.38781705, + 14441248.950167207, + 15905616.287705828, + 17549146.041009866, + 19394550.27909181, + 21467505.638080206, + 23797043.04775568, + 26415989.096637107, + 29361465.891330972, + 32675457.17790846, + 36405449.526402935, + 40605158.55021038, + 45335351.45868528, + 50664778.74411453, + 56671229.507125296, + 63442726.854089014, + 71078881.98632935, + 79692428.0780884, + 89410957.84724009, + 100378891.90310217, + 112759708.55955368, + 126738469.88536379, + 142524683.3904362, + 160355543.98998475, + 180499606.82953313, + 203260948.2851496, + 228983880.0818051, + 258058290.11551577, + 290925693.35946435, + 328086087.33154535, + 370105719.1760637, + 417625885.6619304, + 471372903.5439311, + 532169406.03116167, + 600947141.8362154, + 678761476.7710819, + 766807824.4759053, + 866440263.0323457, + 979192628.3883212, + 1106802414.2594535, + 1059838900.4279143, + 22326085.365157194, + 23464925.38013547, + 20886211.308168143, + 18600821.64749556, + 16574881.975764893, + 14778462.715446694, + 13185117.779402442, + 11771477.297129251, + 10516888.074992152, + 9403096.189177392, + 8413966.767742679, + 7535236.5986407045, + 6754295.712896929, + 6059994.5442500925, + 5442473.665550351, + 4893013.454426109, + 4403901.351484003, + 3968314.648634337, + 3580216.9872256606, + 3234266.9593299134, + 2925737.394104353, + 2650444.0775898336, + 2404682.801214778, + 2185173.763917295, + 1989012.4672527176, + 1813626.3438531884, + 1656736.4487721582, + 1516323.6219485323, + 1390598.5994968796, + 1277975.61286171, + 1177049.0690178021, + 1086572.952702153, + 1005442.6338736349, + 932678.8008716848, + 867413.2726662445, + 808876.4726744915, + 756386.3723161881, + 709338.7351912181, + 667198.5128441565, + 629492.2608453343, + 595801.4596396742, + 565756.6385435594, + 539032.2136189538, + 515341.9611161568, + 494435.0579255258, + 476092.62915976124, + 460124.75074530416, + 446367.86184563744, + 434682.54818570474, + 424951.662988877, + 417078.7573627411, + 410986.79666079074, + 406617.1436705572, + 403928.79350815614, + 402897.8488913914, + 403517.2280813539, + 405796.6050500281, + 409762.56658733403, + 415459.00493824965, + 422947.7578264514, + 432309.480959334, + 443644.78424238577, + 457075.64463742095, + 472747.11709147255, + 490829.36947017413, + 511520.07233922294, + 535047.1798263075, + 561672.1437486636, + 591693.6098002155, + 625451.651960831, + 663332.6095333159, + 705774.6004590065, + 753273.7949571534, + 806391.5452338837, + 865762.4802007489, + 932103.6890328618, + 1006225.134215191, + 1089041.4537356282, + 1181585.3335788557, + 1285022.6559948209, + 1400669.656533375, + 1530012.3539860186, + 1674728.552641949, + 1836712.7561937345, + 2018104.3778514152, + 2221319.6824357286, + 2449087.9542353796, + 2704492.45011648, + 2991016.771820617, + 3312597.3757052277, + 3673683.033721387, + 4079302.1676610257, + 4535139.10132533, + 5047620.414211129, + 5624012.737725602, + 6272533.513290516, + 7002476.43378631, + 7824353.518765598, + 8750056.0332868, + 9793036.754202599, + 10968516.42080438, + 12293717.584137008, + 13788129.49693666, + 15473808.17069315, + 17375716.27536314, + 19522108.179446634, + 21944966.132922936, + 24680494.394475777, + 27769679.009349875, + 31258921.969798803, + 35200759.6522102, + 39654676.74154954, + 44688028.345984176, + 50377084.69517371, + 56808214.7311893, + 64079227.07217178, + 72300889.28806026, + 81598649.21535675, + 92114585.19565101, + 104009615.70164992, + 117466002.8691875, + 132690189.04910849, + 149916010.6987359, + 169408339.83365577, + 191467209.94451484, + 216432490.86019236, + 181598777.43828654, + 0.4086698753103045, + 60573106216.9571, + 60704819226.63378, + 60812982807.08871, + 60877998797.25899, + 60957419613.85815, + 61050706984.164154, + 61157425455.50274, + 61277296185.78318, + 61410203403.739685, + 61556167940.99245, + 61715314438.49269, + 61887847244.86556, + 62074036345.269745, + 62274209372.25771, + 62488746296.648834, + 62718075120.17131, + 62962667946.72876, + 63223037215.750046, + 63499731998.05812, + 63793334283.41451, + 64104455197.32708, + 64433731089.48535, + 64781819440.69178, + 65149394539.957466, + 65537142888.830414, + 65945758296.223015, + 66375936634.21421, + 66828370233.55618, + 67303741907.340294, + 67802718602.19888, + 68325944689.03624, + 68874034919.09514, + 69447567086.57703, + 70047074455.40393, + 70673038024.93658, + 71325878727.11975, + 72005949664.79807, + 72713528517.25237, + 73448810253.40402, + 74211900304.63075, + 75002808356.61899, + 75821442922.14514, + 76667606853.09721, + 77540993939.59355, + 78441186726.00471, + 79367655648.025, + 80319759561.74069, + 81296747695.64201, + 82297763011.1074, + 83321846907.99901, + 84367945161.83826, + 85434914930.86993, + 86521532627.65582, + 87626502414.3201, + 88748465056.0342, + 89886006855.70744, + 91037668396.64784, + 92201952839.20537, + 93377333552.18674, + 94562260908.1801, + 95755168131.89772, + 96954476157.55585, + 98158597521.73848, + 99365939386.87785, + 100574905852.44676, + 101783899762.1285, + 102991324251.61696, + 104195584300.50319, + 105395088551.885, + 106588251644.4312, + 107773497265.54079, + 108949262083.12473, + 110114000651.72177, + 111266191320.09671, + 112404343097.2876, + 113527003367.22784, + 114632766282.32368, + 115720281618.30893, + 116788263838.0051, + 117835501092.73105, + 118860863886.63623, + 119863313141.03056, + 120841907420.81802, + 121795809121.01332, + 122724289455.50586, + 123626732138.78067, + 124502635702.30756, + 125351614436.55342, + 126173397996.11014, + 126967829745.91496, + 127734863961.006, + 128474562018.79948, + 129187087742.34035, + 129872702064.65764, + 130531757189.65236, + 131164690424.22849, + 131772017850.94171, + 132354328001.21634, + 132912275677.45169, + 133446576058.9654, + 133957999212.7759, + 134447365116.40585, + 134915539286.96448, + 135363429099.22565, + 135791980865.60815, + 136202177743.32713, + 136595038528.54175, + 136971617394.35747, + 137333004629.00388, + 137680328432.49182, + 138014757834.48962, + 138337506802.65894, + 138649839617.34506, + 138953077587.43768, + 139248607148.6616, + 139537889264.0218, + 139822469767.2873, + 140103989893.70197, + 140384217114.1732, + 140665075602.63208, + 140948593368.2554, + 141236995450.58594, + 141532708707.88007, + 141838391813.84674, + 142156969695.45285, + 142491672883.97043, + 142846082194.0866, + 141678461702.22903 + ] + }, + "solver_accepted": true, + "state": { + "capture_m2_s": [ + [ + -903994195.3703151, + -3926012.172747274, + -44840313357.97461, + -78773.70441822849 + ] + ], + "local_residual": [ + 0.0, + -1.976517278408492e-17, + 7.3314938307242254, + -256.5083946208455, + -4.446733797639196, + 3.245539414078259 + ], + "n_m3": [ + 2515095827087.2163, + 2508793556354.7217, + 2502128356449.5947, + 2495082141841.1523, + 2487636277987.925, + 2479771611284.8813, + 2471468506711.2363, + 2462706893934.1553, + 2453466322630.2183, + 2443726027789.4434, + 2433465005766.469, + 2422662101821.8384, + 2411296109845.499, + 2399345884881.7583, + 2386790468967.1333, + 2373609230660.6206, + 2359782018474.89, + 2345289328213.018, + 2330112483968.8657, + 2314233832263.45, + 2297636948460.9204, + 2280306854240.83, + 2262230244494.2793, + 2243395721575.504, + 2223794034373.8174, + 2203418319191.0117, + 2182264338927.3267, + 2160330716610.0044, + 2137619158859.5803, + 2114134664508.6616, + 2089885713279.0083, + 2064884429220.74, + 2039146713542.194, + 2012692341533.7927, + 1985545018542.402, + 1957732390397.5623, + 1929286004336.7676, + 1900241217338.5884, + 1870637049830.4653, + 1840515983987.316, + 1809923707242.9138, + 1778908803160.364, + 1747522393398.7334, + 1715817736105.744, + 1683849787596.7192, + 1651674735565.7563, + 1619349513251.6309, + 1586931304868.7263, + 1554477053159.772, + 1522042980080.2463, + 1489684131357.0208, + 1457453954970.757, + 1425403922503.2805, + 1393583200813.3196, + 1362038379712.2249, + 1330813259289.914, + 1299948698385.6924, + 1269482523512.174, + 1239449495434.292, + 1209881328682.2678, + 1180806757631.9553, + 1152251641497.1487, + 1124239099703.318, + 1096789668681.6544, + 1069921471144.3386, + 1043650389353.4233, + 1017990234733.3794, + 992952907331.8312, + 968548540022.2722, + 944785623873.3064, + 921671112681.9921, + 899210506191.731, + 877407912902.1584, + 856266094559.6956, + 835786495342.1018, + 815969259387.7709, + 796813240662.7772, + 778316009217.1349, + 760473857685.2311, + 743281811478.0275, + 726733645545.0984, + 710821909912.531, + 695537965478.5104, + 680872030826.7327, + 666813240138.8226, + 653349711686.1196, + 640468625880.7181, + 628156311480.0178, + 616398338270.5774, + 605179614403.4808, + 594484486502.6061, + 584296840707.3342, + 574600202921.8197, + 565377836710.2098, + 556612837480.791, + 548288221827.23987, + 540387011128.3437, + 532892308737.02637, + 525787370305.79865, + 519055666994.2779, + 512680941478.72754, + 506647256833.54224, + 500939038478.36334, + 495541109483.25867, + 490438719599.592, + 485617568437.9678, + 481063823249.62506, + 476764131786.3211, + 472705630719.1022, + 468875950090.4688, + 465263214260.5409, + 461856039786.36163, + 458643530648.92, + 455615271213.1366, + 452761317276.33374, + 450072185529.54504, + 447538841725.0389, + 445152687813.625, + 442905548286.4754, + 440789655928.80554, + 438797637167.36914, + 436922497169.49725, + 435157604829.14166, + 433496677755.4183, + 431933767361.2162, + 430463244134.5124, + 429079783161.7759, + 427778349961.38367, + 20310231274091.098, + 20257525278151.574, + 20201711688277.387, + 20142626491431.285, + 20080099472442.734, + 20013954306726.74, + 19944008708014.53, + 19870074638270.957, + 19791958587438.945, + 19709461931090.074, + 19622381374463.67, + 19530509491661.113, + 19433635369011.9, + 19331545361712.48, + 19224023972765.28, + 19110854863025.25, + 18991822000661.92, + 18866710957630.348, + 18735310359682.305, + 18597413495059.863, + 18452820085241.613, + 18301338218877.777, + 18142786447389.887, + 17976996037530.977, + 17803813372547.64, + 17623102489369.34, + 17434747734615.414, + 17238656517066.908, + 17034762128726.559, + 16823026600821.604, + 16603443555110.36, + 16376041004904.07, + 16140884054477.691, + 15898077440197.695, + 15647767852133.086, + 15390145971297.928, + 15125448155403.686, + 14853957705367.87, + 14576005646092.873, + 14291970958539.055, + 14002280206000.35, + 13707406505967.549, + 13407867810011.555, + 13104224467674.201, + 12797076066251.02, + 12487057556129.281, + 12174834690626.07, + 11861098829287.328, + 11546561173713.34, + 11231946524246.945, + 10917986663433.354, + 10605413487191.994, + 10294952016233.371, + 9987313427795.887, + 9683188250665.525, + 9383239864448.258, + 9088098437019.213, + 8798355422321.363, + 8514558724539.6045, + 8237208614967.454, + 7966754465401.48, + 7703592337747.0, + 7448063444729.95, + 7200453472349.703, + 6960992731936.033, + 6729857089333.757, + 6507169601520.676, + 6293002777390.751, + 6087381369756.212, + 5890285599925.857, + 5701654714320.679, + 5521390774190.367, + 5349362584119.725, + 5185409672113.916, + 5029346243036.258, + 4880965037435.7295, + 4740041038746.409, + 4606334982991.978, + 4479596635994.553, + 4359567813347.202, + 4245985127769.478, + 4138582456757.7593, + 4037093130567.8384, + 3941251846471.6074, + 3850796319963.5967, + 3765468687204.4087, + 3685016675574.702, + 3609194560909.236, + 3537763930882.7993, + 3470494274293.3477, + 3407163415726.229, + 3347557814416.7515, + 3291472745166.816, + 3238712377989.4233, + 3189089771847.271, + 3142426796470.049, + 3098553994839.097, + 3057310397553.7256, + 3018543298969.606, + 2982108003756.0356, + 2947867551353.162, + 2915692424751.92, + 2885460249049.2607, + 2857055484370.8613, + 2830369116982.0625, + 2805298351729.3896, + 2781746308366.8984, + 2759621723805.648, + 2738838661884.829, + 2719316231886.7695, + 2700978316698.974, + 2683753311257.9033, + 2667573871685.5737, + 2652376675348.0884, + 2638102191908.5166, + 2624694465330.9873, + 2612100906690.7266, + 2600272097569.002, + 2589161603755.698, + 2578725798932.5977, + 2568923697985.199, + 2559716799561.9443, + 2551068937493.6113, + 2542946140672.0396, + 2535316500991.5454, + 2528150048955.9927, + 2521418636563.4795, + 2515095827087.2163 + ], + "occupancy": [ + 7.928286662266792e-05 + ], + "p_m3": [ + 2515095827087.2163, + 2521367279959.2305, + 2528033174494.5225, + 2535117617847.4526, + 2542646096185.607, + 2550645540648.5474, + 2559144394568.0234, + 2568172681680.185, + 2577762075010.2656, + 2587945966046.411, + 2598759533730.101, + 2610239812708.675, + 2622425760196.1895, + 2635358320697.565, + 2649080487746.453, + 2663637361689.544, + 2679076202435.8203, + 2695446475957.4263, + 2712799893197.5356, + 2731190439909.3647, + 2750674395811.8267, + 2771310341323.576, + 2793159150012.3887, + 2816283964796.066, + 2840750155847.202, + 2866625258100.695, + 2893978886253.609, + 2922882625182.2363, + 2953409893803.3174, + 2985635780577.3154, + 3019636849111.723, + 3055490912678.971, + 3093276776921.7866, + 3133073950598.4033, + 3174962324913.8613, + 3219021822785.149, + 3265332020309.789, + 3313971743703.545, + 3365018646034.9404, + 3418548769167.2266, + 3474636097367.6523, + 3533352110002.1406, + 3594765341517.7715, + 3658940957464.4287, + 3725940355501.3296, + 3795820800130.7573, + 3868635099190.4834, + 3944431328887.3003, + 4023252612315.5874, + 4105136953994.606, + 4190117130025.723, + 4278220630091.0864, + 4369469643868.706, + 4463881080689.504, + 4561466607675.784, + 4662232688419.501, + 4766180601795.615, + 4873306418994.874, + 4983600916588.938, + 5097049404547.482, + 5213631450749.894, + 5333320487682.178, + 5456083292569.452, + 5581879338997.112, + 5710660025775.631, + 5842367797059.26, + 5976935176028.874, + 6114283742363.225, + 6254323090707.344, + 6396949812959.356, + 6542046551055.009, + 6689481168696.714, + 6839106089973.34, + 6990757849985.443, + 7144256897491.16, + 7299407682408.327, + 7455999052103.381, + 7613804970133.42, + 7772585560018.133, + 7932088465241.021, + 8092050505518.739, + 8252199599019.664, + 8412256911100.389, + 8571939182646.915, + 8730961185596.402, + 8889038249806.906, + 9045888804253.26, + 9201236876445.803, + 9354814496909.865, + 9506363960228.188, + 9655639900225.9, + 9802411144063.611, + 9946462317844.578, + 10087595184509.496, + 10225629702939.39, + 10360404804955.396, + 10491778894083.824, + 10619630076313.025, + 10743856138455.264, + 10864374294120.736, + 10981120720574.453, + 11094049912039.969, + 11203133876278.412, + 11308361201666.135, + 11409736021636.094, + 11507276902292.191, + 11601015677487.45, + 11690996253710.742, + 11777273404911.227, + 11859911575029.926, + 11938983703563.338, + 12014570087052.967, + 12086757287052.027, + 12155637092891.654, + 12221305545526.117, + 12283862026850.527, + 12343408417248.35, + 12400048322647.44, + 12453886371138.27, + 12505027578149.693, + 12553576778330.904, + 12599638121622.262, + 12643314630493.953, + 12684707814969.367, + 12723917341770.475, + 12761040753776.127, + 12796173235862.525, + 12829407423181.967, + 270366762119.59824, + 271213817596.6222, + 272115616795.30902, + 273075701749.66058, + 274097843702.99017, + 275186057845.2641, + 276344618966.07837, + 277578078072.41077, + 278891280020.7349, + 280289382213.8893, + 281777874412.4701, + 283362599710.32, + 285049776721.25696, + 286846023021.9358, + 288758379891.67584, + 290794338384.2138, + 292961866759.3688, + 295269439292.491, + 297726066467.63135, + 300341326544.9298, + 303125398473.52576, + 306089096098.3057, + 309243903580.53546, + 312602011918.8578, + 316176356416.57574, + 319980654894.52606, + 324029446392.5563, + 328338130038.4981, + 332923003689.2813, + 337801301862.9992, + 342991232384.6373, + 348512011058.78345, + 354383893561.58264, + 360628203610.21484, + 367267356322.0013, + 374324875518.5045, + 381825403563.6533, + 389794702151.44257, + 398259642283.84235, + 407248181505.0163, + 416789326293.84784, + 426913077368.0189, + 437650355531.32214, + 449032905612.9552, + 461093176013.9066, + 473864171410.11786, + 487379276275.83215, + 501672047103.8025, + 516775971524.3936, + 532724192980.46515, + 549549200209.9937, + 567282481531.8381, + 585954144826.7227, + 605592505148.452, + 626223643079.0812, + 647870938231.6951, + 670554583673.5529, + 694291088442.8427, + 719092776712.6196, + 744967293444.8801, + 771917127509.1643, + 799939164132.996, + 829024279134.7672, + 859156987589.4968, + 890315159340.9675, + 922469813055.5894, + 955584999296.821, + 989617781389.7301, + 1024518320679.3917, + 1060230070226.6011, + 1096690078120.5833, + 1133829398533.074, + 1171573605521.1191, + 1209843401545.1255, + 1248555309842.22, + 1287622437309.3816, + 1326955292527.6147, + 1366462642069.9617, + 1406052387358.0564, + 1445632444074.7432, + 1485111606507.9192, + 1524400380147.589, + 1563411767317.3152, + 1602061992513.6406, + 1640271156336.2874, + 1677963809320.2517, + 1715069439506.6353, + 1751522870111.339, + 1787264566074.213, + 1822240850512.6357, + 1856404034097.3962, + 1889712462080.8936, + 1922130485094.6768, + 1953628360899.6423, + 1984182095014.5862, + 2013773228588.2263, + 2042388582041.8896, + 2070019962927.8276, + 2096663846165.0198, + 2122321034357.1636, + 2146996305324.1882, + 2170698053305.797, + 2193437929575.2434, + 2215230487448.6523, + 2236092835925.979, + 2256044305471.1606, + 2275106128742.3804, + 2293301138440.5703, + 2310653483857.1553, + 2327188367172.4404, + 2342931800097.685, + 2357910381052.116, + 2372151092732.16, + 2385681119647.231, + 2398527684978.7173, + 2410717905935.7896, + 2422278666655.7734, + 2433236507602.1226, + 2443617530352.2695, + 2453447316639.706, + 2462750860502.7373, + 2471552512410.222, + 2479875934255.0415, + 2487744064153.071, + 2495179090027.511, + 2502202431019.5557, + 2508834725820.383, + 2515095827087.2163 + ], + "phi_V": [ + 0.0, + -6.297052455897922e-05, + -0.00012973141170526532, + -0.00020049299128761125, + -0.00027547499945967566, + -0.00035490670549945084, + -0.0004390269962495464, + -0.00052808441136379, + -0.0006223371220667547, + -0.0007220528455165682, + -0.000827508686190324, + -0.0009389908951007107, + -0.0010567945371556624, + -0.0011812230565893525, + -0.0013125877301202954, + -0.001451206997349, + -0.0015974056579288567, + -0.0017515139252710465, + -0.001913866327020851, + -0.0020848004433137632, + -0.002264655474931611, + -0.0024537706349778807, + -0.002652483359622235, + -0.002861127335868406, + -0.003080030347211412, + -0.0033095119414942955, + -0.003549880929262126, + -0.0038014327254342136, + -0.004064446552144579, + -0.004339182526077187, + -0.0046258786594560826, + -0.004924747809914107, + -0.00523597462058977, + -0.0055597124977806575, + -0.0058960806790626374, + -0.006245161449676185, + -0.006606997568861893, + -0.0069815899703500476, + -0.007368895802020421, + -0.007768826868502917, + -0.008181248536876707, + -0.00860597915939296, + -0.009042790058130164, + -0.009491406104644873, + -0.009951506913104785, + -0.0104227286483491, + -0.010904666431268858, + -0.011396877303473512, + -0.011898883692232408, + -0.012410177296130311, + -0.012930223292845468, + -0.013458464754106697, + -0.013994327140350855, + -0.014537222739938477, + -0.015086554915865361, + -0.015641722027343492, + -0.016202120904692526, + -0.01676714977357033, + -0.017336210548145853, + -0.01790871044142411, + -0.018484062873237766, + -0.01906168769076347, + -0.019641010750931245, + -0.020221462946796703, + -0.02080247878890787, + -0.021383494676155378, + -0.021963947007106497, + -0.022543270291343176, + -0.023120895420326363, + -0.023696248248785346, + -0.024268748621121265, + -0.02483780995385511, + -0.025402839456189447, + -0.025963239038051627, + -0.026518406920475166, + -0.02706773992883202, + -0.027610636417125578, + -0.028146499742945412, + -0.028674742189111462, + -0.029194789210447766, + -0.02970608387305799, + -0.030208091349039366, + -0.03070030333149242, + -0.03118224224234708, + -0.03165346511806051, + -0.032113567074596006, + -0.032562184272120716, + -0.032998996320411395, + -0.033423728086934494, + -0.03383615088999311, + -0.0342360830783872, + -0.034623390016072134, + -0.03499798350488126, + -0.035359820690220964, + -0.03570890250366271, + -0.036045271702592765, + -0.03636901057068796, + -0.036680238344236636, + -0.036979108428507906, + -0.037265805465853695, + -0.03754054231334339, + -0.03780355698284277, + -0.03805510959086374, + -0.03829547935953643, + -0.03852496170392669, + -0.03874386543485928, + -0.038952510100573906, + -0.03915122348506364, + -0.03934033927591741, + -0.03952019490996355, + -0.039691129601025325, + -0.039853482550654136, + -0.040007591339794195, + -0.04015379049692936, + -0.0402924102363299, + -0.04042377535851868, + -0.040548204303960896, + -0.040666008350204404, + -0.04077749094221768, + -0.04088294714543573, + -0.04098266321102221, + -0.041076916243029914, + -0.04116597395747512, + -0.041250094523766295, + -0.0413295264793988, + -0.04140450870931046, + -0.04147527048179509, + -0.04154203153340027, + -0.04166807398874501, + -0.04173499946070716, + -0.04180606030997842, + -0.041881499958442654, + -0.04196157458757899, + -0.04204655360169078, + -0.04213672007926883, + -0.04223237120732682, + -0.042333818692842896, + -0.042441389144675164, + -0.04255542441849466, + -0.0426762819163984, + -0.042804334831929164, + -0.04293997233024354, + -0.04308359965214191, + -0.04323563812961326, + -0.04339652509946827, + -0.04356671370055155, + -0.04374667253895711, + -0.04393688520465177, + -0.04413784962196067, + -0.04435007721553241, + -0.044574091872713904, + -0.04481042868277784, + -0.04505963243321339, + -0.04532225584337206, + -0.04559885751622178, + -0.04588999958987537, + -0.04619624507199699, + -0.04651815484222918, + -0.04685628431049827, + -0.0472111797225219, + -0.04758337410811997, + -0.04797338287307903, + -0.04838169904137195, + -0.048808788161510866, + -0.04925508289869643, + -0.04972097734317583, + -0.05020682107475494, + -0.050712913033584744, + -0.051239495257993234, + -0.05178674656101244, + -0.05235477622807693, + -0.05294361782879549, + -0.053553223245340065, + -0.05418345702841039, + -0.0548340911984713, + -0.05550480061454792, + -0.05619515903482777, + -0.05690463599225177, + -0.057632594603779654, + -0.05837829042382631, + -0.0591408714403092, + -0.05991937929578693, + -0.060712751796452115, + -0.06151982674856104, + -0.062339347135735204, + -0.06316996762211453, + -0.06401026233640379, + -0.06485873386138535, + -0.0657138233235228, + -0.06657392144894288, + -0.06743738042644662, + -0.0683025263962781, + -0.06916767236607962, + -0.07003113134349305, + -0.07089122946876356, + -0.0717463189306929, + -0.0725947904554093, + -0.07343508516937805, + -0.0742657056553836, + -0.07508522604213307, + -0.07589230099376906, + -0.07668567349391611, + -0.07746418134883355, + -0.07822676236471714, + -0.07897245818412928, + -0.0797004167949907, + -0.0804098937517201, + -0.08110025217128083, + -0.08177096158661751, + -0.08242159575592102, + -0.0830518295382202, + -0.08366143495398361, + -0.0842502765539139, + -0.08481830622018625, + -0.08536555752241269, + -0.08589213974603031, + -0.08639823170407392, + -0.08688407543487402, + -0.08734996987858362, + -0.08779626461501074, + -0.08822335373440443, + -0.08863166990196678, + -0.0890216786662114, + -0.08939387305111243, + -0.0897487684624572, + -0.09008689793006681, + -0.09040880769965931, + -0.09071505318116176, + -0.09100619525421663, + -0.09128279692648887, + -0.0915454203360909, + -0.0917946240859911, + -0.09203096089554047, + -0.09225497555222834, + -0.09246720314532682, + -0.09266816756218273, + -0.09285838022744432, + -0.09303833906543606, + -0.09320852766612449, + -0.09336941463560283, + -0.09352145311271563, + -0.09366508043427234, + -0.09380071793226193, + -0.09392877084748388, + -0.09404962834509444, + -0.09416366361863572, + -0.09427123407020388, + -0.09437268155546963, + -0.09446833268329033, + -0.09455849916064374, + -0.09464347817454277, + -0.09472355280347793, + -0.09479899245175186, + -0.09487005330084326, + -0.09493697877263532, + -0.09499999999999964 + ], + "poisson_residual_C_m2": [ + -1.5343441369234503e-20, + 3.588831467626363e-20, + -1.3786873024317456e-19, + -5.313877778637478e-20, + -2.4319897219552357e-20, + 3.658106210346525e-19, + -9.269181334784678e-20, + -4.0808288650253147e-19, + 4.834732495084177e-19, + -3.2679633843261043e-19, + 7.378692148904472e-20, + -3.17034868274513e-19, + 1.0987483776517731e-18, + -1.0473844126071965e-18, + 1.374573288300502e-19, + 1.2008804449914952e-19, + 5.716641695070871e-19, + -1.1621271968945284e-18, + 1.0053452823655986e-18, + 1.4474580012922488e-19, + -6.0165219220205375e-19, + 6.416601687109892e-19, + -1.2625044745012886e-18, + 5.520798837726049e-19, + 2.9877096456692505e-19, + -3.8667781779486506e-20, + 2.769254936390304e-19, + -2.7384458360723336e-19, + -7.521614225576981e-19, + 4.1274654081875787e-19, + 1.1932541014997636e-18, + -9.600053934343196e-19, + -3.301869411896754e-19, + 3.9411562578092464e-19, + -4.249849435075648e-19, + 3.6110663005052054e-19, + 3.3949155719712647e-19, + -8.068107094480347e-19, + 8.696932675632881e-20, + 1.4135634819032175e-18, + -2.1171727244791383e-18, + 2.289097643995232e-18, + -1.1127923650708112e-18, + -1.0318106023775367e-18, + 1.5999175630440708e-18, + -1.54743639976397e-18, + 2.5526181372628474e-18, + -1.9579544628064954e-18, + -6.355869858152683e-19, + 7.7099463946322525e-19, + 1.2289676709140054e-18, + -1.1936023332797112e-18, + -2.0774628703549675e-19, + 6.476638777556458e-19, + -1.6403601221292508e-18, + 2.060459677437448e-18, + 1.0770500129072685e-19, + -8.651088636748216e-19, + -7.745944257898999e-19, + 2.176110827125886e-18, + -2.1293212733798334e-18, + 2.4468710100607964e-18, + -4.4483739000111235e-18, + 3.412322326700973e-18, + 9.834593199379044e-19, + -3.022400491432714e-18, + 1.029248078175816e-18, + 1.1480543523408435e-18, + 8.310884201383707e-19, + -3.2099686080780014e-18, + 3.233142808755831e-19, + 2.835234342564773e-18, + -1.4843433027649434e-18, + -2.4142900471950623e-19, + -3.077575102038422e-19, + 3.597288030522919e-19, + -1.6428327523923253e-19, + 7.237940873762646e-19, + -6.873592296060935e-19, + 1.0793628578648245e-18, + -2.758039525639124e-19, + -3.5338098716397784e-18, + 2.0953445397241807e-18, + 2.6058409232274555e-18, + 3.8357878995255994e-20, + -3.696786773248585e-18, + -1.738201930296642e-18, + 1.0653878225807787e-17, + -1.0246414863356335e-17, + 9.047153822138424e-19, + 1.0467884825925353e-17, + -1.2781878190886987e-17, + 8.296558830794162e-18, + -1.001165278088878e-17, + 9.736092132765481e-18, + -4.5650428278643295e-18, + 4.624085028014339e-18, + -1.2707816174377612e-17, + 1.3897368990730092e-17, + -4.472118284940295e-18, + 1.4318739900126007e-18, + 4.938771461170755e-18, + -8.896119174036689e-18, + 5.938474972221914e-19, + -3.1659466930090572e-18, + 7.141953570313077e-18, + 9.467356962924841e-19, + -2.8955288234057374e-18, + 7.18971979170878e-18, + -1.0657959264941041e-17, + 3.822831076228516e-18, + -9.338636632313659e-18, + 3.602627410095392e-18, + 1.5297441067655583e-17, + -4.1368837343664545e-17, + 6.594537145616197e-17, + -4.860069007588841e-17, + 2.0778042313449893e-17, + 6.627918811786885e-18, + -1.9861150575608396e-17, + -3.1481134640071656e-17, + 4.428965617691935e-17, + 9.258068868342487e-18, + -8.466430022647573e-18, + -2.7301317706558515e-17, + 6.423607359931225e-17, + -5.1693180745661343e-17, + 1.5004869176770793e-17, + 1.3588595506735145e-17, + -1.9001744321929525e-17, + -3.7993288593623574e-17, + 4.861044710303369e-17, + 1.1382431744754458e-18, + -2.526617621804517e-17, + -7.346618844196575e-19, + 1.060865888275242e-17, + 1.0164106472331672e-17, + -4.860654246771092e-18, + -8.532090060758905e-18, + 8.307893737059589e-18, + -4.175007862023325e-18, + -1.3026416652194128e-17, + 2.2310499349480022e-17, + -5.2557134315644345e-18, + 6.931406651738282e-18, + -1.146952517546062e-17, + -6.48900782691417e-18, + 6.1141221144771755e-18, + 2.7021682792299234e-18, + -3.395369737160666e-18, + 4.176706246613121e-18, + 1.3933691431516144e-18, + -3.57916252845338e-18, + -9.092432431274095e-19, + 4.904578752401996e-18, + -5.534043662779852e-18, + 2.1568639825930595e-18, + -2.749269761585161e-18, + 1.3421999250026914e-18, + 1.0014532198166496e-18, + 8.584103140441847e-19, + 4.6561529489178064e-18, + -1.0698979501076297e-17, + 1.0361339314922327e-17, + -4.53993281282627e-18, + -3.724399529127149e-18, + -8.516959604668883e-19, + 1.0327005985462817e-17, + -8.8382263505879e-18, + 3.3069499939662583e-18, + 2.632684488634419e-18, + -1.005167538682911e-17, + 1.2807971399543942e-17, + -7.572281545280074e-18, + 9.066505045053189e-20, + 5.131097052576824e-18, + -7.437963870315471e-18, + 4.709814210812115e-18, + -1.8836306143295034e-18, + 1.8346816441212067e-18, + -1.1201670146966968e-19, + 3.8888247139303267e-19, + -2.6463694540913987e-18, + -1.0319836208076227e-18, + 1.463190585039034e-18, + 3.1854346978017665e-18, + -5.772866362819625e-19, + -1.2927406500366402e-18, + -5.2762363853738054e-18, + 1.0596010091387458e-17, + -9.624173425796472e-18, + 6.945308354947758e-18, + -5.070268483063504e-18, + 5.050566261580028e-18, + -3.8007787981068866e-19, + -3.472938397895141e-18, + -1.489065573073878e-18, + 2.1450785453598718e-18, + 3.288167168444045e-18, + -5.935042163150474e-18, + -5.158436046855002e-19, + 9.155978564292048e-18, + -9.701788768235638e-18, + 4.596513943293939e-18, + 5.437050216986938e-19, + -3.585271284978276e-18, + -4.7018303384639406e-18, + 2.1168748398117584e-17, + -1.1139811421937045e-17, + -1.0193755124122217e-17, + 7.494657126368883e-18, + 2.8904842870020736e-18, + -4.842169403714603e-18, + 4.468105815555392e-19, + 2.321585852872873e-18, + -6.0283621788404975e-18, + 1.3256236776057745e-17, + -1.0893084154047925e-17, + 1.0336343684178053e-18, + 4.408127479918806e-18, + 1.8204215339430456e-19, + -1.0295642432635333e-17, + 2.1985398931036728e-17, + -2.2406230298667063e-17, + 6.1632587338723565e-18, + -1.7533455006155912e-17, + 3.817760072189121e-17, + -4.082029472010559e-17, + 4.5970598996206565e-17, + -4.3907992752357416e-17, + 3.2966870855954196e-17, + -2.2652513095664595e-17, + 2.8115503459243956e-17, + -1.402043356626842e-17, + -2.7504002551223947e-17, + 3.6350491917683667e-17, + -2.6254943494760263e-17, + 5.1798174120317817e-17, + -1.0889544787029496e-16, + 1.2992323976956094e-16, + -5.971122771959616e-17, + 2.4917736467653818e-17, + -4.0548503053692945e-17, + -3.016699435722821e-17, + 7.322385536861911e-17, + -4.008170700879904e-17, + 3.5953492664057674e-17, + -1.3518762017801427e-17, + 4.7673101548966354e-17, + -1.2478949337069597e-16, + 5.670457251318409e-17, + -2.79525020917305e-17, + 6.883292715423741e-17, + -4.941613213545778e-17 + ], + "positive_inventory_m2": [ + 1000000000000002.9 + ], + "positive_m3": [ + 5.977186525286279e+21, + 5.987460007753037e+21, + 5.998488484258728e+21, + 6.010310264112843e+21, + 6.02295155508169e+21, + 6.036431502525846e+21, + 6.050770215019191e+21, + 6.065995110631512e+21, + 6.082142946565253e+21, + 6.099258416399036e+21, + 6.117391722215327e+21, + 6.136596726374028e+21, + 6.156929989220601e+21, + 6.178450379949409e+21, + 6.201218930563841e+21, + 6.225298756958379e+21, + 6.250754980906184e+21, + 6.277654632626911e+21, + 6.30606652735307e+21, + 6.33606111245024e+21, + 6.367710282210317e+21, + 6.40108715754746e+21, + 6.436265827930199e+21, + 6.473321053053797e+21, + 6.512327922022944e+21, + 6.553361468191838e+21, + 6.596496238314206e+21, + 6.641805815290635e+21, + 6.689362294602375e+21, + 6.739235715462358e+21, + 6.791493448839745e+21, + 6.846199545775395e+21, + 6.903414050837689e+21, + 6.963192287107951e+21, + 7.025584120719866e+21, + 7.090633214663969e+21, + 7.158376283225317e+21, + 7.228842359990207e+21, + 7.302052093742109e+21, + 7.378017087668262e+21, + 7.456739298005422e+21, + 7.538210508465925e+21, + 7.622411896400223e+21, + 7.709313705587109e+21, + 7.798875038725256e+21, + 7.891043780128301e+21, + 7.985756655806787e+21, + 8.082939434127079e+21, + 8.182507265707303e+21, + 8.28436515633645e+21, + 8.388408561703142e+21, + 8.494524087921622e+21, + 8.602590277491645e+21, + 8.71247845678911e+21, + 8.824053618737091e+21, + 8.93717531314506e+21, + 9.051698517575227e+21, + 9.167474463503364e+21, + 9.284351395993926e+21, + 9.402175249911998e+21, + 9.520790231652472e+21, + 9.64003930201559e+21, + 9.75976456285603e+21, + 9.879807556957707e+21, + 1.0000009496742756e+22, + 1.0120211442506295e+22, + 1.0240254454481132e+22, + 1.0359979744900833e+22, + 1.047922885624123e+22, + 1.059784388993395e+22, + 1.0715667806249642e+22, + 1.083254481095799e+22, + 1.0948320838216122e+22, + 1.1062844132309456e+22, + 1.1175965923879439e+22, + 1.1287541189613787e+22, + 1.1397429478420252e+22, + 1.1505495782310178e+22, + 1.1611611426750888e+22, + 1.171565495334781e+22, + 1.1817512967349794e+22, + 1.1917080923618465e+22, + 1.2014263827162779e+22, + 1.2108976827874121e+22, + 1.2201145693453467e+22, + 1.2290707149307509e+22, + 1.237760907921392e+22, + 1.2461810585399055e+22, + 1.254328191123728e+22, + 1.2622004233737987e+22, + 1.2697969336334724e+22, + 1.277117917504197e+22, + 1.2841645352879686e+22, + 1.2909388518513657e+22, + 1.2974437705457125e+22, + 1.3036829627962016e+22, + 1.3096607949021736e+22, + 1.3153822534803235e+22, + 1.3208528708446903e+22, + 1.3260786514602668e+22, + 1.3310660004411091e+22, + 1.3358216548955204e+22, + 1.3403526187573672e+22, + 1.3446661015881346e+22, + 1.3487694616918737e+22, + 1.3526701537582744e+22, + 1.3563756811373087e+22, + 1.359893552753959e+22, + 1.3632312445921357e+22, + 1.3663961656125611e+22, + 1.3693956279178906e+22, + 1.3722368209324324e+22, + 1.3749267892954838e+22, + 1.3774724139741667e+22, + 1.3798803954938367e+22, + 1.3821572365903498e+22, + 1.3843092184927012e+22, + 1.3863423614073352e+22, + 1.388262360090195e+22, + 1.3900744968490684e+22, + 1.391783558860473e+22, + 1.393393810632555e+22, + 1.394909070193077e+22, + 1.396332896363125e+22, + 1.3976688356261385e+22, + 1.3989206424365201e+22, + 1.4000924002964702e+22, + 1.401188519018053e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22 + ], + "sheet_charge_C_m2": [ + -2.208027851236118e-13 + ], + "trace_potential_V": [ + [ + -0.04160505276121982, + -0.04160505276121982 + ] + ], + "trace_state_m3": [ + [ + 426553352160.8516, + 12860858403125.174, + 20359987442608.58, + 269571123661.34625 + ] + ] + }, + "substeps": 4, + "time_s": 5.132501042758137e-06 + }, + "saved_witness": { + "attempted_state": { + "capture_m2_s": [ + [ + -903991371.8444885, + -3926022.382579396, + -44840178175.51533, + -78773.91852587805 + ] + ], + "local_residual": [ + 0.0, + -2.2705900543831727e-17, + 14.644522091624431, + -246.26442954539536, + -844.5679261937786, + -4.891022627451712 + ], + "n_m3": [ + 2515095827087.2163, + 2508793556569.7476, + 2502128356816.411, + 2495082142295.9277, + 2487636278474.4355, + 2479771611760.0493, + 2471468507146.1196, + 2462706894311.1084, + 2453466322938.606, + 2443726028022.0146, + 2433465005917.1504, + 2422662101884.697, + 2411296109814.3413, + 2399345884749.994, + 2386790468727.719, + 2373609230306.0254, + 2359782017997.0654, + 2345289327603.3667, + 2330112483218.2114, + 2314233831362.0054, + 2297636947398.2563, + 2280306853005.8438, + 2262230243075.165, + 2243395719959.722, + 2223794032548.07, + 2203418317141.2134, + 2182264336638.5862, + 2160330714066.6045, + 2137619156044.9644, + 2114134661405.426, + 2089885709868.9, + 2064884425484.6628, + 2039146709460.2222, + 2012692337085.1943, + 1985545013705.6729, + 1957732385150.4705, + 1929285998656.4106, + 1900241211201.4634, + 1870637043212.5513, + 1840515976864.1714, + 1809923699589.7883, + 1778908794952.3228, + 1747522384610.7966, + 1715817726713.0393, + 1683849777574.6472, + 1651674724890.1665, + 1619349501899.0078, + 1586931292816.3848, + 1554477040386.0579, + 1522042966564.7402, + 1489684117080.745, + 1457453939916.379, + 1425403906655.312, + 1393583184158.309, + 1362038362238.9373, + 1330813240989.4973, + 1299948679251.8247, + 1269482503541.1921, + 1239449474625.2932, + 1209881307037.1873, + 1180806735155.6128, + 1152251618197.2646, + 1124239075590.497, + 1096789643769.3351, + 1069921445448.7102, + 1043650362893.3088, + 1017990207530.0867, + 992952879408.9749, + 968548511405.568, + 944785594590.3422, + 921671082761.9789, + 899210475665.239, + 877407881800.8429, + 856266062916.0168, + 835786463189.0457, + 815969226758.5729, + 796813207590.6569, + 778315975735.043, + 760473823825.6145, + 743281777272.614, + 726733611024.7046, + 710821875106.8944, + 695537930416.1467, + 680871995534.8197, + 666813204643.1085, + 653349676010.8568, + 640468590048.6201, + 628156275512.2373, + 616398302186.7048, + 605179578221.5602, + 594484450239.1654, + 584296804377.4299, + 574600166539.0913, + 565377800286.9429, + 556612801027.9869, + 548288185354.69025, + 540386974644.70776, + 532892272249.9095, + 525787333821.8313, + 519055630519.1937, + 512680905017.4395, + 506647220390.21606, + 500939002056.4882, + 495541073085.71387, + 490438683228.71014, + 485617532095.594, + 481063786937.17163, + 476764095504.81854, + 472705594469.2459, + 468875913872.6619, + 465263178074.9332, + 461856003632.88513, + 458643494527.3209, + 455615235123.0059, + 452761281217.1391, + 450072149500.6757, + 447538805725.88916, + 445152651843.76447, + 442905512345.971, + 440789620018.74384, + 438797601290.5492, + 436922461331.1436, + 435157569037.38605, + 433496642021.3108, + 431933731698.1656, + 430463208557.253, + 429079747685.1099, + 427778314598.9824, + 20310229596466.246, + 20257523606962.383, + 20201710023897.375, + 20142624834252.91, + 20080097822878.01, + 20013952665207.82, + 19944007074994.254, + 19870073014223.348, + 19791956972859.664, + 19709460326496.797, + 19622379780396.395, + 19530507908682.367, + 19433633797706.848, + 19331543802688.91, + 19224022426653.45, + 19110853330477.574, + 18991820482352.51, + 18866709454254.332, + 18735308871954.95, + 18597412023715.48, + 18452818631032.203, + 18301336782571.41, + 18142785029768.83, + 17976994639389.477, + 17803811994689.453, + 17623101132604.895, + 17434746399758.682, + 17238655204931.926, + 17034760840123.639, + 16823025336553.217, + 16603442315966.723, + 16376039791658.44, + 16140882867881.424, + 15898076280975.074, + 15647766720975.99, + 15390144868860.38, + 15125447082296.354, + 14853956662152.572, + 14576004633277.197, + 14291969976571.137, + 14002279255263.934, + 13707405586777.393, + 13407866922609.29, + 13104223612224.72, + 12797075242839.5, + 12487056764758.89, + 12174833931216.445, + 11861098101673.885, + 11546560477647.426, + 11231945859396.889, + 10917986029386.404, + 10605412883457.125, + 10294951442244.936, + 9987312882918.053, + 9683187734197.424, + 9383239375629.76, + 9088097975037.23, + 8798354986316.559, + 8514558313613.401, + 8237208228189.205, + 7966754101815.692, + 7703591996380.481, + 7448063124598.777, + 7200453172465.904, + 6960992451313.8955, + 6729856826995.6875, + 6507169356502.559, + 6293002548746.75, + 6087381156562.999, + 5890285401286.252, + 5701654529366.693, + 5521390602085.683, + 5349362424061.611, + 5185409523334.633, + 5029346104803.977, + 4880964909055.015, + 4740040919558.312, + 4606334872373.785, + 4479596533359.244, + 4359567718142.649, + 4245985039477.448, + 4138582374892.751, + 4037093054675.7915, + 3941251776128.5215, + 3850796254774.0874, + 3765468626800.231, + 3685016619613.258, + 3609194509072.0913, + 3537763882874.222, + 3470494229838.8813, + 3407163374571.311, + 3347557776325.385, + 3291472709920.2974, + 3238712345385.1367, + 3189089741697.5415, + 3142426768601.065, + 3098553969089.895, + 3057310373775.239, + 3018543277023.7793, + 2982107983514.994, + 2947867532698.4443, + 2915692407573.7607, + 2885460233245.9307, + 2857055469848.0513, + 2830369103652.318, + 2805298339511.5854, + 2781746297185.7573, + 2759621713591.2925, + 2738838652572.3726, + 2719316223415.935, + 2700978309013.7476, + 2683753304306.212, + 2667573865418.9883, + 2652376669721.554, + 2638102186880.099, + 2624694460861.6436, + 2612100902744.092, + 2600272094111.1924, + 2589161600755.1323, + 2578725796359.8276, + 2568923695812.7583, + 2559716797764.205, + 2551068936046.6553, + 2542946139553.5347, + 2535316500180.636, + 2528150048433.196, + 2521418636310.5894, + 2515095827087.2163 + ], + "occupancy": [ + 7.92828441682626e-05 + ], + "p_m3": [ + 2515095827087.2163, + 2521367279757.5405, + 2528033174153.732, + 2535117617431.673, + 2542646095752.225, + 2550645540242.4775, + 2559144394220.4585, + 2568172681411.2637, + 2577762074833.313, + 2587945965971.6143, + 2598759533766.792, + 2610239812866.4487, + 2622425760485.3774, + 2635358321129.442, + 2649080488333.372, + 2663637362445.054, + 2679076203374.797, + 2695446477096.2085, + 2712799894554.0854, + 2731190441503.438, + 2750674397665.165, + 2771310343460.118, + 2793159152458.504, + 2816283967580.8145, + 2840750159002.617, + 2866625261662.098, + 2893978890259.9546, + 2922882629676.4893, + 2953409898832.8677, + 2985635786194.4297, + 3019636855374.0366, + 3055490919650.024, + 3093276784671.6016, + 3133073959204.111, + 3174962334460.3696, + 3219021833365.863, + 3265332032027.374, + 3313971756670.735, + 3365018660375.392, + 3418548785016.408, + 3474636114873.7715, + 3533352129327.096, + 3594765362838.129, + 3658940980972.4053, + 3725940381405.777, + 3795820828658.1343, + 3868635130585.7983, + 3944431363415.012, + 4023252650260.4424, + 4105136995662.399, + 4190117175743.957, + 4278220680209.516, + 4369469698759.7456, + 4463881140748.476, + 4561466673320.994, + 4662232760092.125, + 4766180679959.376, + 4873306504135.5, + 4983601009213.392, + 5097049505182.942, + 5213631559942.503, + 5333320605995.529, + 5456083420582.828, + 5581879477303.474, + 5710660174979.362, + 5842367957773.672, + 5976935348873.482, + 6114283927960.814, + 6254323289680.833, + 6396950025928.487, + 6542046778632.887, + 6689481411486.226, + 6839106348563.48, + 6990758124947.595, + 7144257189375.358, + 7299407991739.567, + 7455999379378.003, + 7613805315815.629, + 7772585924536.701, + 7932088848986.225, + 8092050908839.572, + 8252200022221.383, + 8412257354442.416, + 8571939646341.149, + 8730961669805.943, + 8889038754645.234, + 9045889329783.865, + 9201237422682.271, + 9354815063816.408, + 9506364547720.613, + 9655640508172.986, + 9802411772288.854, + 9946462966128.291, + 10087595852591.2, + 10225630390520.46, + 10360405511701.928, + 10491779619629.64, + 10619630820262.822, + 10743856900387.799, + 10864375073592.064, + 10981121517121.13, + 11094050725182.215, + 11203134705523.186, + 11308362046510.09, + 11409736881568.414, + 11507277776797.254, + 11601016566047.33, + 11690997155807.535, + 11777274320029.178, + 11859912502657.373, + 11938984643194.465, + 12014571038189.36, + 12086758249204.043, + 12155638065579.576, + 12221306528281.008, + 12283863019214.486, + 12343409418773.45, + 12400049332891.965, + 12453887389658.305, + 12505028604484.514, + 12553577811982.775, + 12599639162034.887, + 12643315677036.908, + 12684708866935.953, + 12723918398392.541, + 12761041814253.598, + 12796174299400.617, + 12829408489027.709, + 270366784497.99246, + 271213840012.5458, + 272115639251.09158, + 273075724247.7699, + 274097866246.03958, + 275186080436.02014, + 276344641607.46857, + 277578100767.53186, + 278891302772.86115, + 280289405026.4808, + 281777897289.1819, + 283362622655.0106, + 285049799737.9975, + 286846046115.0189, + 288758403065.6248, + 290794361643.7912, + 292961890109.5854, + 295269462738.6142, + 297726090015.193, + 300341350199.7341, + 303125422241.6555, + 306089119986.1287, + 309243927594.7092, + 312602036066.33295, + 316176380704.59814, + 319980679330.63696, + 324029470984.5901, + 328338154794.578, + 332923028617.8116, + 337801326972.6544, + 342991257684.34753, + 348512036557.7151, + 354383919269.1147, + 360628229535.90924, + 367267382475.56744, + 374324901909.75714, + 381825430202.46265, + 389794729047.677, + 398259669447.30206, + 407248208945.3577, + 416789354020.4985, + 426913105390.08167, + 437650383857.46893, + 449032934251.31006, + 461093204971.9171, + 473864200694.4163, + 487379305892.0861, + 501672077056.55524, + 516776001816.8961, + 532724223614.50055, + 549549231185.69635, + 567282512847.5088, + 585954176478.6437, + 605592537130.7042, + 626223675383.3668, + 647870970847.171, + 670554616586.6772, + 694291121637.2402, + 719092810168.9705, + 744967327140.8358, + 771917161419.2965, + 799939198228.781, + 829024313384.6108, + 859157021958.8024, + 890315193792.2483, + 922469847548.6284, + 955585033788.8768, + 989617815835.7875, + 1024518355032.456, + 1060230104438.0316, + 1096690112140.4614, + 1133829432310.6, + 1171573639005.0315, + 1209843434684.1335, + 1248555342585.4446, + 1287622469606.7937, + 1326955324330.4634, + 1366462673331.1865, + 1406052418032.6724, + 1445632474120.1968, + 1485111635884.4055, + 1524400408818.3276, + 1563411795248.782, + 1602062019675.7515, + 1640271182702.5337, + 1677963834867.7883, + 1715069464216.322, + 1751522893967.7368, + 1787264589065.5383, + 1822240872630.678, + 1856404055337.4004, + 1889712482441.4133, + 1922130504577.4036, + 1953628379509.2134, + 1984182112758.3767, + 2013773245476.1316, + 2042388598086.099, + 2070019978142.5955, + 2096663860566.4363, + 2122321047962.929, + 2146996318153.3928, + 2170698065378.7085, + 2193437940913.1038, + 2215230498073.4873, + 2236092845860.4175, + 2256044314738.268, + 2275106137365.5044, + 2293301146443.2017, + 2310653491262.8, + 2327188374004.5044, + 2342931806379.3755, + 2357910386806.349, + 2372151097981.485, + 2385681124413.7617, + 2398527689284.077, + 2410717909801.063, + 2422278670101.468, + 2433236510648.1353, + 2443617533017.867, + 2453447318943.5054, + 2462750862462.6943, + 2471552514043.625, + 2479875935578.51, + 2487744065182.557, + 2495179090778.307, + 2502202431506.2993, + 2508834726057.0703, + 2515095827087.2163 + ], + "phi_V": [ + 0.0, + -6.297052241862849e-05, + -0.00012973140807112722, + -0.00020049298681713726, + -0.00027547499473662396, + -0.000354906700975866, + -0.0004390269922342198, + -0.0005280844080505592, + -0.0006223371195783058, + -0.000722052843941941, + -0.0008275086856079592, + -0.0009389908955894972, + -0.0010567945387993769, + -0.0011812230594783995, + -0.0013125877343526102, + -0.001451207003030772, + -0.0015974056651752587, + -0.0017515139342070152, + -0.0019138663377819259, + -0.002084800456046992, + -0.00226465548979652, + -0.0024537706521475184, + -0.002652483379284284, + -0.00286112735822637, + -0.0030800303724858773, + -0.0033095119699242622, + -0.003549880961106415, + -0.0038014327609729374, + -0.004064446591680681, + -0.0043391825699380295, + -0.004625878707995093, + -0.004924747863512449, + -0.005235974679658046, + -0.005559712562760609, + -0.0058960807504288325, + -0.006245161527937669, + -0.006606997654563767, + -0.006981590064074955, + -0.007368895904389901, + -0.007768826980178593, + -0.008181248658561263, + -0.008605979291830872, + -0.009042790202108133, + -0.00949140626099193, + -0.009951507082692004, + -0.010422728832088893, + -0.010904666630113805, + -0.011396877518414688, + -0.011898883924297176, + -0.012410177546379571, + -0.012930223562370325, + -0.013458465044024558, + -0.013994327451800953, + -0.014537223074076842, + -0.015086555273859261, + -0.015641722410365398, + -0.01620212131391363, + -0.01676715021015372, + -0.01733621101323937, + -0.017908710936153018, + -0.018484063398697303, + -0.019061688248011396, + -0.019641011340980452, + -0.020221463570608056, + -0.020802479447383306, + -0.02138349537013144, + -0.021963947737348312, + -0.02254327105853905, + -0.023120896225083, + -0.02369624909162381, + -0.024268749502473673, + -0.02483781087406217, + -0.02540284041549882, + -0.025963240036617093, + -0.026518407958356686, + -0.027067741005996574, + -0.027610637533448803, + -0.028146500898213977, + -0.028674743383026145, + -0.02919479044262714, + -0.02970608514304268, + -0.030208092656296755, + -0.030700304675421793, + -0.031182243622285055, + -0.03165346653328672, + -0.03211356852433892, + -0.032562185755563564, + -0.03299899783669808, + -0.03342372963517545, + -0.03383615246927103, + -0.03423608468776263, + -0.034623391654588775, + -0.03499798517157109, + -0.03535982238410903, + -0.03570890422377158, + -0.03604527344794672, + -0.036369012340316774, + -0.03668024013717906, + -0.03697911024381478, + -0.03726580730259072, + -0.03754054417059357, + -0.03780355885970853, + -0.038055111486468736, + -0.0382954812730271, + -0.03852496363447347, + -0.0387438673816576, + -0.03895251206284499, + -0.039151225462055, + -0.03934034126690324, + -0.03952019691424489, + -0.039691131617930066, + -0.03985348457953691, + -0.04000759338003611, + -0.04015379254793756, + -0.04029241229753674, + -0.04042377742937995, + -0.04054820638395154, + -0.040666010438808936, + -0.04077749303891135, + -0.04088294924965345, + -0.040982665322116675, + -0.04107691836022773, + -0.041165976079845956, + -0.04125009665021975, + -0.04132952860871565, + -0.04140451084020311, + -0.04147527261298263, + -0.04154203366368121, + -0.041668076114000814, + -0.041735001583296016, + -0.04180606242973552, + -0.04188150207519352, + -0.04196157670113891, + -0.042046555711864324, + -0.042136722185849275, + -0.04223237331009561, + -0.04233382079156904, + -0.042441391239114674, + -0.04255542650838991, + -0.04267628400147752, + -0.04280433691190543, + -0.04293997440481471, + -0.04308360172098959, + -0.043235640192402267, + -0.043396527155846, + -0.043566715750147325, + -0.043746674581381595, + -0.04393688723949636, + -0.04413785164879691, + -0.04435007923391147, + -0.044574093882166065, + -0.044810430682812076, + -0.04505963442331696, + -0.045322257823010186, + -0.045598859484837446, + -0.04589000154688914, + -0.046196247016806996, + -0.046518156774211214, + -0.046856286229005985, + -0.04721118162688717, + -0.04758337599765344, + -0.04797338474707081, + -0.048381700899092495, + -0.04880879000221208, + -0.04925508472161298, + -0.04972097914752667, + -0.05020682285974511, + -0.05071291479840735, + -0.05123949700183175, + -0.051786748283043214, + -0.05235477792747195, + -0.052943619504725405, + -0.053553224896977454, + -0.054183458654933216, + -0.05483409279906662, + -0.05550480218841573, + -0.05619516058118507, + -0.056904637510336704, + -0.05763259609285573, + -0.05837829188318671, + -0.059140872869281054, + -0.05991938069373556, + -0.06071275316278517, + -0.06151982808273248, + -0.06233934843724909, + -0.06316996889052852, + -0.06401026357133238, + -0.06485873506250268, + -0.06571382449056516, + -0.06657392258171067, + -0.06743738152480593, + -0.06830252746016169, + -0.06916767339548749, + -0.07003113233849242, + -0.07089123042948836, + -0.07174631985734274, + -0.0725947913482479, + -0.07343508602873124, + -0.07426570648163688, + -0.0750852268357288, + -0.07589230175520319, + -0.07668567422373467, + -0.07746418204762888, + -0.07822676303312391, + -0.07897245882282038, + -0.07970041740467293, + -0.08040989433312996, + -0.08110025272518019, + -0.08177096211378937, + -0.08242159625716537, + -0.08305183001434999, + -0.08366143540582087, + -0.08425027698228606, + -0.08481830662592266, + -0.08536555790634134, + -0.08589214010897488, + -0.08639823204685092, + -0.08688407575829035, + -0.08734997018343425, + -0.08779626490207669, + -0.08822335400445105, + -0.08863167015574216, + -0.0890216789044451, + -0.08939387327451434, + -0.08974876867171667, + -0.09008689812585195, + -0.09040880788261647, + -0.09071505335191517, + -0.09100619541336814, + -0.09128279707461792, + -0.09154542047375451, + -0.09179462421372403, + -0.09203096101385548, + -0.09225497566161646, + -0.09246720324625775, + -0.09266816765510531, + -0.09285838031278701, + -0.09303833914360746, + -0.09320852773751394, + -0.09336941470058101, + -0.09352145317163513, + -0.09366508048746834, + -0.09380071798005284, + -0.09392877089017193, + -0.09404962838296636, + -0.0941636636519634, + -0.09427123409924491, + -0.09437268158046802, + -0.09446833270447706, + -0.09455849917823737, + -0.09464347818875002, + -0.09472355281449424, + -0.09479899245976192, + -0.09487005330602159, + -0.09493697877514669, + -0.09499999999999964 + ], + "poisson_residual_C_m2": [ + -1.8016331654299838e-20, + 5.783784329209752e-20, + -1.454811396062854e-19, + -6.251402765896639e-20, + -4.592762455663437e-20, + 4.043683943615296e-19, + -1.0195029386389024e-19, + -4.442163349420636e-19, + 5.167202622094418e-19, + -3.3045627729325123e-19, + 4.770792366604675e-20, + -2.850837192636828e-19, + 1.1261982660387514e-18, + -1.085687099596593e-18, + 1.4539840765136062e-19, + 1.0526194481514805e-19, + 6.129676505202569e-19, + -1.2627085181503266e-18, + 1.1472410827106193e-18, + 8.43606368903486e-20, + -6.252980322986548e-19, + 6.750811008283679e-19, + -1.3527842126984257e-18, + 6.488363780638242e-19, + 2.508110835675262e-19, + 3.741320129566925e-20, + 1.352934572099865e-19, + -1.4763418886590607e-19, + -8.142953177983753e-19, + 5.286997675686452e-19, + 1.0031200403213646e-18, + -8.117090018643111e-19, + -3.6854921893210144e-19, + 3.0893073870704593e-19, + -2.9866156563538914e-19, + 2.974060034520857e-19, + 3.9148132838860346e-19, + -9.17390809571101e-19, + 1.3513481925987116e-19, + 1.4580528388911744e-18, + -2.053090774702747e-18, + 2.1758932390268045e-18, + -1.0774928728409852e-18, + -1.0538358156289483e-18, + 1.6363093853314975e-18, + -1.6731526006372623e-18, + 2.656030878632648e-18, + -1.9762726434664165e-18, + -5.978359147088661e-19, + 7.897070910565328e-19, + 1.134015040796203e-18, + -1.138537839023549e-18, + -2.0145780523696122e-19, + 5.737946648009364e-19, + -1.4965577549550366e-18, + 2.0709812410496846e-18, + -1.0661202273017695e-19, + -7.549147418740535e-19, + -6.632349624981217e-19, + 2.0010518217823166e-18, + -1.9800213275595954e-18, + 2.3150175530259076e-18, + -4.257486280774684e-18, + 3.202881149631571e-18, + 9.954943435275933e-19, + -2.95032354138769e-18, + 1.1664173371125467e-18, + 8.876753293420662e-19, + 9.852515031470012e-19, + -3.2314196862276104e-18, + 2.531399600234734e-19, + 2.953192130883516e-18, + -1.513619195383588e-18, + -3.9692214233148345e-19, + -2.1257306056345752e-19, + 4.7095146969826925e-19, + -2.014938147109641e-19, + 6.213248623339895e-19, + -5.777719180637452e-19, + 9.37630856611764e-19, + -2.174296907991637e-19, + -3.4548122258835623e-18, + 2.2316324346863515e-18, + 2.2445390625566106e-18, + 5.067778339300118e-19, + -4.1816997038504195e-18, + -1.8886973321603575e-18, + 1.1473320489883611e-17, + -1.1103719750363467e-17, + 1.8351282555239396e-18, + 9.745452935051565e-18, + -1.2878145100240326e-17, + 8.96328809410971e-18, + -1.0677138197050573e-17, + 1.031311895380328e-17, + -5.173521948423222e-18, + 4.811803312957608e-18, + -1.2663954395978906e-17, + 1.3690039935851884e-17, + -4.311933673264838e-18, + 2.4027289333909275e-18, + 3.642715279400382e-18, + -8.719881743931788e-18, + 1.858312390261449e-18, + -5.362552028393346e-18, + 8.376483693253947e-18, + 8.595190043493175e-19, + -2.1804026718633568e-18, + 6.350590592237305e-18, + -1.1186658484877084e-17, + 6.0530165969834646e-18, + -1.1692776613518705e-17, + 4.684691810686288e-18, + 1.47712832787899e-17, + -4.186552890769965e-17, + 6.763424040727534e-17, + -4.8574384492753057e-17, + 2.004472213660582e-17, + 3.912574684484028e-18, + -1.602945503153045e-17, + -3.164143179245439e-17, + 4.144221717269128e-17, + 1.2427541585481458e-17, + -1.1658573235783137e-17, + -2.339309994028168e-17, + 6.119124089694501e-17, + -5.0470563134112546e-17, + 1.238923166757779e-17, + 1.7448758034541647e-17, + -1.9737057983444483e-17, + -3.960280051430143e-17, + 5.0385361186296654e-17, + 1.6217604211642275e-19, + -2.861975059039183e-17, + 5.633376503929448e-18, + 5.0007614477127376e-18, + 1.3082346665652199e-17, + -3.719471424962894e-18, + -1.0659226517496887e-17, + 8.955764569730487e-18, + -4.2153766029909255e-18, + -1.4532079361594268e-17, + 2.3833754608709062e-17, + -4.561405561349218e-18, + 7.234704057127265e-18, + -1.3312535942894598e-17, + -5.763421142790394e-18, + 6.645389656289209e-18, + 2.2264690973276106e-18, + -3.7967761891424705e-18, + 4.2411052342478466e-18, + 2.4141259102986412e-18, + -5.055420682688909e-18, + 7.791399378255008e-19, + 3.9482050509857106e-18, + -5.475400852242098e-18, + 1.548726884924255e-18, + -1.499432185669836e-18, + 5.780912496139336e-19, + 1.197478824340058e-18, + 7.130159988152876e-19, + 4.820291603822331e-18, + -1.1112625184973226e-17, + 1.1226204408415444e-17, + -5.510287290314917e-18, + -3.186864887829306e-18, + -9.84825281643831e-19, + 1.0257175998976908e-17, + -8.682813314813795e-18, + 3.569499807407135e-18, + 1.982670367818194e-18, + -9.682488373146675e-18, + 1.2786345736441485e-17, + -7.46415371656449e-18, + 1.3460880236041338e-19, + 4.912162986231836e-18, + -7.385989957986679e-18, + 4.4515689783848614e-18, + -1.2495617985020214e-18, + 1.0864275610336037e-18, + 4.530124096533869e-19, + 2.8382141603494345e-19, + -2.763988898056647e-18, + -6.831591233055075e-19, + 5.086952710239503e-19, + 4.401777958332063e-18, + -1.4890010846819379e-18, + -6.858610101197077e-19, + -5.712629624164979e-18, + 1.048916157913889e-17, + -8.865719097865584e-18, + 6.293962929263249e-18, + -4.63370139824593e-18, + 4.4438608362193425e-18, + -2.414599702388427e-19, + -3.135039236212278e-18, + -1.315190124804146e-18, + 1.7964307817178386e-18, + 2.999497126862904e-18, + -5.836823016124666e-18, + -2.458244883771924e-19, + 9.483030054226425e-18, + -1.0335677520308442e-17, + 5.305582369363949e-18, + 4.1268991735336216e-20, + -3.3661567864167177e-18, + -5.234701744500753e-18, + 2.1549908279975584e-17, + -1.1118006812378139e-17, + -1.0562764272525143e-17, + 8.144847741427269e-18, + 2.628109304093178e-18, + -4.397960432828075e-18, + -8.263790263061864e-20, + 2.4548832403379573e-18, + -7.240947190140776e-18, + 1.4197841333735815e-17, + -9.583560575962004e-18, + -2.2666038123951492e-20, + 4.244140770559008e-18, + 3.2758448473521634e-19, + -1.1372916335735898e-17, + 2.2706685145210063e-17, + -2.0791200204101194e-17, + 4.831150476261211e-18, + -1.866316789176428e-17, + 4.020529457330185e-17, + -4.250855951654544e-17, + 4.6197846821140556e-17, + -4.104673528233737e-17, + 3.026979736537499e-17, + -2.3715415646535172e-17, + 3.1601452869954874e-17, + -1.7729726725198864e-17, + -2.6597125090592506e-17, + 3.8193587693511024e-17, + -2.655816019220836e-17, + 4.9064938951820745e-17, + -1.0406427884591426e-16, + 1.271136266821439e-16, + -6.20893662905745e-17, + 2.9250329451641606e-17, + -4.3697480629556477e-17, + -3.147050743941181e-17, + 7.623202792797749e-17, + -4.0757067175923836e-17, + 3.624883344226207e-17, + -1.3594785817309247e-17, + 5.250956979155173e-17, + -1.3452151770208051e-16, + 6.675941849396115e-17, + -4.0798564381533085e-17, + 8.400913476485923e-17, + -6.033888193150274e-17 + ], + "positive_inventory_m2": [ + 1000000000000002.9 + ], + "positive_m3": [ + 5.977216152432523e+21, + 5.987488239584343e+21, + 5.998512578924518e+21, + 6.01032837769423e+21, + 6.022963386680289e+21, + 6.036438165460552e+21, + 6.050773463721801e+21, + 6.065996528600884e+21, + 6.082143562115892e+21, + 6.099258742752289e+21, + 6.117391962320894e+21, + 6.136596944982358e+21, + 6.15693020320618e+21, + 6.17845059293201e+21, + 6.201219143178377e+21, + 6.225298969285507e+21, + 6.250755192940193e+21, + 6.277654844349954e+21, + 6.30606673874493e+21, + 6.336061323489396e+21, + 6.367710492873984e+21, + 6.401087367811573e+21, + 6.436266037769389e+21, + 6.473321262441364e+21, + 6.512328130930836e+21, + 6.553361676590681e+21, + 6.596496446173287e+21, + 6.641806022577969e+21, + 6.689362501284729e+21, + 6.739235921505364e+21, + 6.79149365420797e+21, + 6.846199750432496e+21, + 6.903414254746589e+21, + 6.96319249023102e+21, + 7.025584323019183e+21, + 7.0906334161016e+21, + 7.15837648376364e+21, + 7.228842559592285e+21, + 7.302052292372106e+21, + 7.378017285291904e+21, + 7.456739494590489e+21, + 7.538210703982791e+21, + 7.622412090822423e+21, + 7.709313898891935e+21, + 7.798875230894353e+21, + 7.891043971148291e+21, + 7.985756845669874e+21, + 8.082939622831622e+21, + 8.182507453258383e+21, + 8.284365342746353e+21, + 8.388408746991806e+21, + 8.494524272116984e+21, + 8.602590460629888e+21, + 8.712478638914828e+21, + 8.824053799903298e+21, + 8.937175493413091e+21, + 9.051698697014504e+21, + 9.167474642191017e+21, + 9.284351574014268e+21, + 9.402175427355892e+21, + 9.520790408616558e+21, + 9.640039478601389e+21, + 9.759764739168976e+21, + 9.879807733106091e+21, + 1.00000096728366e+22, + 1.012021161865621e+22, + 1.0240254630797144e+22, + 1.035997992149124e+22, + 1.0479229033211484e+22, + 1.0597844067385591e+22, + 1.071566798427932e+22, + 1.083254498965659e+22, + 1.0948321017667976e+22, + 1.10628443125917e+22, + 1.1175966105061504e+22, + 1.1287541371757008e+22, + 1.1397429661577639e+22, + 1.1505495966526302e+22, + 1.1611611612061905e+22, + 1.1715655139781614e+22, + 1.1817513154926269e+22, + 1.1917081112349837e+22, + 1.201426401705404e+22, + 1.2108977018923555e+22, + 1.220114588565316e+22, + 1.2290707342643991e+22, + 1.2377609273668708e+22, + 1.2461810780949327e+22, + 1.2543282107856435e+22, + 1.2622004431396283e+22, + 1.26979695349998e+22, + 1.2771179374679419e+22, + 1.284164555345355e+22, + 1.2909388719986873e+22, + 1.297443790779195e+22, + 1.3036829831120405e+22, + 1.3096608152965662e+22, + 1.315382273949497e+22, + 1.3208528913849265e+22, + 1.3260786720679246e+22, + 1.3310660211126384e+22, + 1.3358216756274762e+22, + 1.3403526395464222e+22, + 1.3446661224310837e+22, + 1.3487694825856428e+22, + 1.3526701746999221e+22, + 1.3563757021240278e+22, + 1.3598935737830746e+22, + 1.363231265661079e+22, + 1.366396186718668e+22, + 1.369395649056985e+22, + 1.372236842090364e+22, + 1.3749268104053917e+22, + 1.3774724347353748e+22, + 1.3798804147329938e+22, + 1.3821572504050328e+22, + 1.3843092158765723e+22, + 1.3863423161085492e+22, + 1.3882622193006235e+22, + 1.3900741713346324e+22, + 1.391782922914384e+22, + 1.3933927191087864e+22, + 1.3949073917149656e+22, + 1.3963305512302654e+22, + 1.3976658223490878e+22, + 1.3989170421266007e+22, + 1.400088359074796e+22, + 1.4011842175096735e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22 + ], + "sheet_charge_C_m2": [ + -2.1900398894697513e-13 + ], + "trace_potential_V": [ + [ + -0.041605054888987, + -0.041605054888987 + ] + ], + "trace_state_m3": [ + [ + 426553316933.3458, + 12860859470328.885, + 20359985758903.273, + 269571146004.40952 + ] + ] + }, + "coordinate": [ + 2.9163233886762668e-12, + 6.027036597286089e-12, + 9.343028424912874e-12, + 1.2875751445554371e-11, + 1.6637521245746178e-11, + 2.0641746755747927e-11, + 2.4903047319290638e-11, + 2.943725796077218e-11, + 3.426138368665074e-11, + 3.939355302920943e-11, + 4.485302223952079e-11, + 5.0660192438056186e-11, + 5.683665159581596e-11, + 6.340522362091584e-11, + 7.039002618433079e-11, + 7.781650229644767e-11, + 8.571148007025379e-11, + 9.410321164959618e-11, + 1.0302140668525806e-10, + 1.1249726623641163e-10, + 1.2256349769104874e-10, + 1.332543226874365e-10, + 1.4460548449814978e-10, + 1.566542169465607e-10, + 1.6943920041222653e-10, + 1.830005082080325e-10, + 1.9737950273392425e-10, + 2.1261871713943819e-10, + 2.2876168614620389e-10, + 2.458527584564209e-10, + 2.639368147850265e-10, + 2.830589862112836e-10, + 3.032642692826633e-10, + 3.245970925748077e-10, + 3.4710082669668643e-10, + 3.708171531249105e-10, + 3.9578545708381464e-10, + 4.220420154699824e-10, + 4.4961917799873914e-10, + 4.785444316261742e-10, + 5.088393782112183e-10, + 5.405186373129608e-10, + 5.735886515473867e-10, + 6.080464750101738e-10, + 6.438784376782911e-10, + 6.810589488863873e-10, + 7.195490546944526e-10, + 7.592952769138141e-10, + 8.002283694669319e-10, + 8.422621875931007e-10, + 8.852928091842622e-10, + 9.291976998489473e-10, + 9.738352841468635e-10, + 1.0190445828492767e-09, + 1.0646453247368265e-09, + 1.110438405615547e-09, + 1.1562066840319674e-09, + 1.2017161394854242e-09, + 1.246717515982275e-09, + 1.2909482860594203e-09, + 1.3341352357634998e-09, + 1.375996924817495e-09, + 1.4162472472933117e-09, + 1.4545983794533285e-09, + 1.4907646859773003e-09, + 1.5244663105696238e-09, + 1.5554330576713138e-09, + 1.58340814077607e-09, + 1.6081519775745507e-09, + 1.6294455654327087e-09, + 1.6470937269841504e-09, + 1.6609281637082478e-09, + 1.6708097048432625e-09, + 1.676630606033106e-09, + 1.6783157493719318e-09, + 1.6758238849396613e-09, + 1.6691478663089979e-09, + 1.6583145829713998e-09, + 1.6433842440386566e-09, + 1.6244491971536224e-09, + 1.6016321600221321e-09, + 1.5750841247884512e-09, + 1.5449818113851373e-09, + 1.5115250030940295e-09, + 1.4749331174206193e-09, + 1.4354424369374325e-09, + 1.393302344724578e-09, + 1.3487722277573127e-09, + 1.3021180860811913e-09, + 1.253609293968655e-09, + 1.2035155043015627e-09, + 1.1521039011249747e-09, + 1.099636445888861e-09, + 1.0463676076741922e-09, + 9.925422963931053e-10, + 9.38394096516232e-10, + 8.841438246723695e-10, + 8.299982811422252e-10, + 7.761495609484864e-10, + 7.227742965195103e-10, + 6.700334022519759e-10, + 6.180720784659462e-10, + 5.670196369137487e-10, + 5.169900414757769e-10, + 4.680823527379013e-10, + 4.2038111195062887e-10, + 3.739571946312257e-10, + 3.2886856382830284e-10, + 2.8516100108050755e-10, + 2.4286898178492674e-10, + 2.0201668806849096e-10, + 1.6261881277090882e-10, + 1.2468138165018194e-10, + 8.820273111618582e-11, + 5.317432913263226e-11, + 1.9581621025623875e-11, + -1.2594931165175608e-11, + -4.337883969570371e-11, + -7.279659808470275e-11, + -1.0087598588731556e-10, + -1.2764523119407698e-10, + -1.5313193657679979e-10, + -1.7736338254516667e-10, + -2.003665480573227e-10, + -2.2216962441208428e-10, + -2.428030626119931e-10, + -2.623003561121529e-10, + -3.9142587928835544e-10, + -3.9180440206106674e-10, + -3.922063417544498e-10, + -3.9263300780097817e-10, + -3.9308586132916623e-10, + -3.9356643228645164e-10, + -3.940763259797779e-10, + -3.946171424008365e-10, + -3.9519076567668353e-10, + -3.957988143569455e-10, + -3.9644340794859344e-10, + -3.971264060211554e-10, + -3.9784987739849144e-10, + -3.9861604504076907e-10, + -3.994270639972187e-10, + -4.0028527542977395e-10, + -4.011930081988912e-10, + -4.021527979682536e-10, + -4.0316709754304463e-10, + -4.042384390318297e-10, + -4.053694990969943e-10, + -4.0656288493158903e-10, + -4.0782124287727506e-10, + -4.0914723201812956e-10, + -4.105434830545183e-10, + -4.120126712393795e-10, + -4.1355726907211574e-10, + -4.1517971816389236e-10, + -4.168823677485652e-10, + -4.1866726576116165e-10, + -4.205363734468483e-10, + -4.2249136514822305e-10, + -4.2453354541862567e-10, + -4.266638091498379e-10, + -4.288825870860417e-10, + -4.311898787435543e-10, + -4.335849374842469e-10, + -4.3606633525558716e-10, + -4.386319139369069e-10, + -4.4127853179320956e-10, + -4.4400196732255667e-10, + -4.467969577899766e-10, + -4.496569116537528e-10, + -4.5257394165825703e-10, + -4.555385770334578e-10, + -4.5853980994792886e-10, + -4.615648734753957e-10, + -4.645991039157416e-10, + -4.676259767340035e-10, + -4.706271040200346e-10, + -4.735818315834206e-10, + -4.764676164097022e-10, + -4.792597680529306e-10, + -4.819316911824236e-10, + -4.844546909135033e-10, + -4.86798455066624e-10, + -4.889310147179475e-10, + -4.908189490984511e-10, + -4.924278843318641e-10, + -4.937224981529837e-10, + -4.94667286513339e-10, + -4.952266813279296e-10, + -4.953658783324299e-10, + -4.950507987780949e-10, + -4.942491726290738e-10, + -4.929308904642732e-10, + -4.910683176819462e-10, + -4.886371120589172e-10, + -4.856167761710143e-10, + -4.81990671114313e-10, + -4.777469099378419e-10, + -4.728783535741508e-10, + -4.673828773557861e-10, + -4.612638533847389e-10, + -4.5452965025376027e-10, + -4.4719415804065584e-10, + -4.392761937692819e-10, + -4.307995288465822e-10, + -4.217924866327805e-10, + -4.1228766921289406e-10, + -4.023212205046962e-10, + -3.919325867271162e-10, + -3.811638318909417e-10, + -3.7005907445538245e-10, + -3.5866385884274047e-10, + -3.4702475344464024e-10, + -3.351884807944848e-10, + -3.23201704919295e-10, + -3.1111025577706957e-10, + -2.9895868106902324e-10, + -2.867901133501602e-10, + -2.746456054905918e-10, + -2.6256409473161594e-10, + -2.5058177780853334e-10, + -2.38732466306835e-10, + -2.2704688624426174e-10, + -2.155530115517658e-10, + -2.0427600125886504e-10, + -1.9323776363038773e-10, + -1.8245770150268786e-10, + -1.7195224561088912e-10, + -1.6173510297657083e-10, + -1.5181749990639625e-10, + -1.422082695111517e-10, + -1.3291382265164493e-10, + -1.239387360640297e-10, + -1.1528542068726986e-10, + -1.069545824699626e-10, + -9.894544936309207e-11, + -9.125570378350401e-11, + -8.38818736371047e-11, + -7.681924193817173e-11, + -7.006229220291695e-11, + -6.360452164728687e-11, + -5.7438869178970126e-11, + -5.155772709767989e-11, + -4.5952842951214283e-11, + -4.0615792818770155e-11, + -3.55376772659326e-11, + -3.0709696005683386e-11, + -2.6122700989594547e-11, + -2.17675028894065e-11, + -1.7635047980023673e-11, + -1.3716233321806247e-11, + -1.0002049623539563e-11, + -6.483741881070768e-12, + -3.152549168185391e-12, + 2.800191376418851e-12, + 5.770138789080979e-12, + 8.917611162873369e-12, + 1.2250574467761676e-11, + 1.577736061287531e-11, + 1.950681665149812e-11, + 2.344831519588891e-11, + 2.761171784261654e-11, + 3.2007269290545046e-11, + 3.664550371089968e-11, + 4.153717719219218e-11, + 4.669320714610568e-11, + 5.212461680571085e-11, + 5.784247800086841e-11, + 6.385786652155003e-11, + 7.018177165042034e-11, + 7.682505585173308e-11, + 8.37983321711221e-11, + 9.111189996465662e-11, + 9.8775625384879e-11, + 1.0679885094978998e-10, + 1.1519025280505497e-10, + 1.2395771918566106e-10, + 1.3310821815544594e-10, + 1.4264765146536495e-10, + 1.5258068964274902e-10, + 1.6291061508993207e-10, + 1.736391758198149e-10, + 1.8476638791906488e-10, + 1.9629040858378564e-10, + 2.0820731633412363e-10, + 2.205110055096389e-10, + 2.3319297481786917e-10, + 2.4624224185621244e-10, + 2.5964517200714995e-10, + 2.7338538650452443e-10, + 2.874436592720817e-10, + 3.017978513933357e-10, + 3.1642292235370956e-10, + 3.312908679316805e-10, + 3.4637081855255547e-10, + 3.6162905763932075e-10, + 3.7702919948626484e-10, + 3.925323347343985e-10, + 4.0809724456016656e-10, + 4.2368065415384624e-10, + 4.392375741642056e-10, + 4.5472161038663016e-10, + 4.700853732134093e-10, + 4.852809225378251e-10, + 5.002601916921605e-10, + 5.14975515765286e-10, + 5.293800758201797e-10, + 5.434284489151826e-10, + 5.570771183920905e-10, + 5.702849385980857e-10, + 5.830136100223463e-10, + 5.952281367319515e-10, + 6.068972331022813e-10, + 6.179936332727774e-10, + 6.284944191494734e-10, + 6.383812234462298e-10, + 6.476403666911108e-10, + 6.562629765059729e-10, + 6.642449569594616e-10, + 6.715869054110496e-10, + 6.782939920192351e-10, + 6.843757100490826e-10, + 6.898456242998277e-10, + 6.947209996408273e-10, + 6.990224785186444e-10, + 7.027735888853056e-10, + 7.060003805818357e-10, + 7.087309126293937e-10, + 7.109948427614808e-10, + 7.128229349456457e-10, + 7.142466820787448e-10, + 7.152978291165236e-10, + 7.160080656526775e-10, + 7.16408643364187e-10, + 7.165300827893553e-10, + 7.164019367169539e-10, + 7.160525358962053e-10, + 7.155088356913599e-10, + 7.147962848644796e-10, + 7.139387265763242e-10, + 7.12958342466804e-10, + 7.118756112235469e-10, + 7.10709309662804e-10, + 7.094765534289707e-10, + 7.08192808837375e-10, + 7.068719820859664e-10, + 7.055264815617201e-10, + 7.041672895135312e-10, + 7.028040660078668e-10, + 7.014452076927092e-10, + 7.000979992914849e-10, + 6.987686565716909e-10, + 6.974624344243113e-10, + 6.96183720010716e-10, + 6.949361251434745e-10, + 6.937225509050515e-10, + 6.925452704183159e-10, + 6.914060167056367e-10, + 6.903060253352974e-10, + 6.892460960368526e-10, + 6.882266845524028e-10, + 6.872479137218177e-10, + 6.86309626010979e-10, + 6.85411436944972e-10, + 6.845527759284982e-10, + 6.837328995411863e-10, + 6.829509341455256e-10, + 6.822058938593648e-10, + 6.814967324874137e-10, + 6.808223159422897e-10, + 6.801814827525827e-10, + 6.795730550328911e-10, + 6.789958736201407e-10, + 6.78448794966316e-10, + 6.779307566067068e-10, + 6.77440769334517e-10, + 6.769779129224356e-10, + 6.765413038709886e-10, + 6.76130101025136e-10, + 6.757434311284639e-10, + 6.753803643529752e-10, + 5.619394450016568e-10, + 5.449685072411712e-10, + 5.270775431118066e-10, + 5.082282929989611e-10, + 4.883823155597996e-10, + 4.675013771963263e-10, + 4.4554762589089466e-10, + 4.2248391971776666e-10, + 3.982741697767296e-10, + 3.7288375131868127e-10, + 3.4627985654873765e-10, + 3.184320448721328e-10, + 2.89312729398777e-10, + 2.5889769107104075e-10, + 2.2716672556645108e-10, + 1.941042896132651e-10, + 1.5970020069439216e-10, + 1.2395037311597542e-10, + 8.68574796296213e-11, + 4.843196280708522e-11, + 8.692537331986269e-12, + -3.2332701970564476e-11, + -7.460561941234581e-11, + -1.1807721225954029e-10, + -1.6268684997273376e-10, + -2.0836149071662905e-10, + -2.550152936452513e-10, + -3.0254868809265345e-10, + -3.508481898678802e-10, + -3.9978630134664474e-10, + -4.4922092934305e-10, + -4.989958975781159e-10, + -5.489410224487837e-10, + -5.988729310985702e-10, + -6.485954801776375e-10, + -6.979011122633177e-10, + -7.465723673183874e-10, + -7.943832054046438e-10, + -8.411010907445698e-10, + -8.864894278176254e-10, + -9.303099636488528e-10, + -9.72325046360419e-10, + -1.0123014221824125e-09, + -1.0500123030657488e-09, + -1.0852412087494651e-09, + -1.1177844817117698e-09, + -1.1474546658180707e-09, + -1.1740834527171676e-09, + -1.1975242240222484e-09, + -1.2176543881522331e-09, + -1.2343773658638067e-09, + -1.2476247629834457e-09, + -1.2573565668265351e-09, + -1.2635627099153873e-09, + -1.2662628227348281e-09, + -1.2655055218394272e-09, + -1.2613680199266074e-09, + -1.253954398863311e-09, + -1.2433936358646463e-09, + -1.2298374505000367e-09, + -1.2134576509122927e-09, + -1.1944432284678712e-09, + -1.172997146823852e-09, + -1.1493332593039261e-09, + -1.1236732671856375e-09, + -1.0962431115135649e-09, + -1.0672703163457247e-09, + -1.0369810354855685e-09, + -1.005597338481071e-09, + -9.733350282695039e-10, + -9.404014777523536e-10, + -9.069939664230706e-10, + -8.732981619985238e-10, + -8.394872355759946e-10, + -8.057210665616518e-10, + -7.721454994404583e-10, + -7.388925751452815e-10, + -7.060800154327187e-10, + -6.738120175710753e-10, + -6.421791484070233e-10, + -6.112592496491313e-10, + -5.811178735375938e-10, + -5.51809085880201e-10, + -5.233763438152208e-10, + -4.958532927590809e-10, + -4.692644842870147e-10, + -4.4362635153015367e-10, + -4.1894816285353836e-10, + -3.952324845729014e-10, + -3.724763413417195e-10, + -3.506716616537363e-10, + -3.2980612868313973e-10, + -3.098636587570896e-10, + -2.9082518577492133e-10, + -2.726689659692485e-10, + -2.553713678542812e-10, + -2.389068702605778e-10, + -2.2324894067357254e-10, + -2.0836985743469359e-10, + -1.942415699404673e-10, + -1.8083548559826682e-10, + -1.6812295012615414e-10, + -1.5607547683630704e-10, + -1.4466466715773076e-10, + -1.3386256583099137e-10, + -1.2364181660559952e-10, + -1.1397553207123573e-10, + -1.0483755903004539e-10, + -9.620251473551388e-11, + -8.804574210018814e-11, + -8.034349604122052e-11, + -7.307282348390806e-11, + -6.621160453800346e-11, + -5.973870024915858e-11, + -5.363370788974113e-11, + -4.787717188651188e-11, + -4.2450468123532256e-11, + -3.733587317669642e-11, + -3.251635134020229e-11, + -2.7975741656472183e-11, + -2.3698725367218057e-11, + -1.9670734254422205e-11, + -1.5877695852953003e-11, + -1.2306583344759414e-11, + -8.944798933702466e-12, + -5.780506947406223e-12, + -2.8024827360325545e-12, + -2.832413843210804e-07, + 4.956692030950038e-06, + 4.715148779538743e-06, + 4.016781471013596e-06, + 3.0137469274064514e-06, + 1.9644167597966253e-06, + 1.1037864053344682e-06, + 5.369071411733923e-07, + 2.3375706397025754e-07, + 1.012062055121306e-07, + 5.350703670264121e-08, + 3.9249662922750396e-08, + 3.562370725836801e-08, + 3.4755239512306626e-08, + 3.4471847333554554e-08, + 3.428592571426754e-08, + 3.410713805013668e-08, + 3.392134339872946e-08, + 3.372645547567984e-08, + 3.35219831135182e-08, + 3.330762574305378e-08, + 3.308311058308738e-08, + 3.284818717881504e-08, + 3.2602628949484545e-08, + 3.234623504003221e-08, + 3.2078834340341775e-08, + 3.180029686789617e-08, + 3.1510527739939887e-08, + 3.120948393752258e-08, + 3.0897168138077345e-08, + 3.0573645386267044e-08, + 3.023903693937976e-08, + 2.98935338703441e-08, + 2.953739919507419e-08, + 2.9170969054584752e-08, + 2.87946610770177e-08, + 2.8408975775879184e-08, + 2.8014498336211046e-08, + 2.7611900405827958e-08, + 2.72019416309501e-08, + 2.6785467877543254e-08, + 2.636340873982163e-08, + 2.593677411698282e-08, + 2.5506650776709938e-08, + 2.507419347155295e-08, + 2.4640617352815007e-08, + 2.4207189097151136e-08, + 2.377521525705257e-08, + 2.3346029259699304e-08, + 2.292097907717695e-08, + 2.2501410483059117e-08, + 2.2088654887668766e-08, + 2.1684011751332966e-08, + 2.1288732377164138e-08, + 2.0904007617272956e-08, + 2.053095011981311e-08, + 2.017058236274767e-08, + 1.9823823724990583e-08, + 1.9491480743331577e-08, + 1.9174235622143422e-08, + 1.8872642697323852e-08, + 1.8587121378155416e-08, + 1.8317953915920864e-08, + 1.8065286660925808e-08, + 1.782913091477492e-08, + 1.7609367543237408e-08, + 1.7405754180237558e-08, + 1.7217932523717828e-08, + 1.7045439404987667e-08, + 1.6887716977825727e-08, + 1.6744126525123123e-08, + 1.661396016094065e-08, + 1.6496455794235386e-08, + 1.6390810497220218e-08, + 1.6296192903090634e-08, + 1.6211758787505244e-08, + 1.6136660509541075e-08, + 1.6070060990200934e-08, + 1.60111415195386e-08, + 1.5959112742081764e-08, + 1.591322068357871e-08, + 1.5872753548761564e-08, + 1.5837046853658515e-08, + 1.5805484253965697e-08, + 1.5777503977591027e-08, + 1.575259385230365e-08, + 1.573029752907836e-08, + 1.5710205986440573e-08, + 1.5691963040394598e-08, + 1.5675255969720477e-08, + 1.565981842680704e-08, + 1.5645420752163527e-08, + 1.5631872814659665e-08, + 1.5619015702580187e-08, + 1.5606720204330475e-08, + 1.5594881882658624e-08, + 1.5583419762484788e-08, + 1.557227059275197e-08, + 1.556138780977998e-08, + 1.5550737542810943e-08, + 1.5540298188057373e-08, + 1.553005580225968e-08, + 1.5520002803419552e-08, + 1.5510138506641414e-08, + 1.550046430260187e-08, + 1.5490986128754208e-08, + 1.5481710362526637e-08, + 1.5472644710547343e-08, + 1.5463795254348228e-08, + 1.5455149859028045e-08, + 1.544654996800204e-08, + 1.5436805658641976e-08, + 1.5418571482256623e-08, + 1.535347764962626e-08, + 1.5071959191111327e-08, + 1.3942626493233429e-08, + 9.995015494033681e-09, + -1.88984430931122e-09, + -3.267503611877178e-08, + -1.0141424464863812e-07, + -2.341705244967257e-07, + -4.5692897440537587e-07, + -7.833565699436195e-07, + -1.2032892733050728e-06, + -1.679495509375655e-06, + -2.155932952024287e-06, + -2.573637448160614e-06, + -2.886400573055541e-06, + -3.069904530202627e-06, + 8.279246317135864e-11, + 1.4057473871552004e-10, + 1.7292565417154855e-10, + 1.8269579596589504e-10, + 1.7498007364643088e-10, + 1.553197701219423e-10, + 1.2816148777218772e-10, + 9.625750021800433e-11, + 6.090929903822593e-11, + 2.2526876513726715e-11, + -1.8907105954686948e-11, + -6.358171047024541e-11, + -1.1175332735225895e-10, + -1.6371324670375735e-10, + -2.1978074972260655e-10, + -2.803033466450024e-10, + -3.456587019873825e-10, + -4.1625696815231417e-10, + -4.92543280232163e-10, + -5.750003648635808e-10, + -6.641512437258835e-10, + -7.605620122090512e-10, + -8.648446682524834e-10, + -9.776599597640481e-10, + -1.099720211774547e-09, + -1.231792087110345e-09, + -1.3746992239242078e-09, + -1.5293246861325283e-09, + -1.696613150406786e-09, + -1.8775727458285284e-09, + -2.0732764490356925e-09, + -2.2848629305345207e-09, + -2.513536737172604e-09, + -2.760567687402729e-09, + -3.027289351542055e-09, + -3.3150964844728955e-09, + -3.625441278006315e-09, + -3.959828303953696e-09, + -4.319808027600928e-09, + -4.7069687841795135e-09, + -5.1229271304598074e-09, + -5.569316509472734e-09, + -6.04777419943528e-09, + -6.559926554469994e-09, + -7.10737259036994e-09, + -7.691666018493287e-09, + -8.314295883452307e-09, + -8.976666015708966e-09, + -9.680073567683972e-09, + -1.042568695310201e-08, + -1.1214523563802777e-08, + -1.2047427676726485e-08, + -1.2925048998356112e-08, + -1.38478223205272e-08, + -1.4815948763554763e-08, + -1.5829379082457057e-08, + -1.6887799488495538e-08, + -1.7990620404235125e-08, + -1.9136968514136996e-08, + -2.032568241751124e-08, + -2.1555312106870806e-08, + -2.2824122414486023e-08, + -2.4130100482434385e-08, + -2.547096721442505e-08, + -2.6844192578166118e-08, + -2.8247014539382983e-08, + -2.967646132275912e-08, + -3.112937662496721e-08, + -3.2602447337392e-08, + -3.409223328971359e-08, + -3.559519848240535e-08, + -3.71077432578183e-08, + -3.862623684704295e-08, + -4.014704973345673e-08, + -4.166658529910359e-08, + -4.318131024205499e-08, + -4.4687783305565623e-08, + -4.618268190431965e-08, + -4.7662826301528766e-08, + -4.9125201051903445e-08, + -5.056697349985396e-08, + -5.198550919398038e-08, + -5.3378384146760555e-08, + -5.474339394585226e-08, + -5.607855977455505e-08, + -5.7382131471134266e-08, + -5.865258779093172e-08, + -5.988863409231996e-08, + -6.10891976852142e-08, + -6.225342111617414e-08, + -6.338065366750822e-08, + -6.447044136402343e-08, + -6.552251577049693e-08, + -6.653678185979815e-08, + -6.751330521521499e-08, + -6.84522988141665e-08, + -6.935410961636277e-08, + -7.021920515799478e-08, + -7.104816032687974e-08, + -7.184164446939381e-08, + -7.260040895331078e-08, + -7.33252752878724e-08, + -7.401712388003642e-08, + -7.467688348351867e-08, + -7.530552138031039e-08, + -7.590403431602715e-08, + -7.647344019711993e-08, + -7.701477054488022e-08, + -7.75290636894052e-08, + -7.801735866715476e-08, + -7.848068971259759e-08, + -7.892008090653014e-08, + -7.933653925125333e-08, + -7.973104031124174e-08, + -8.010449030875222e-08, + -8.045763032908156e-08, + -8.079083046088761e-08, + -8.110373247315224e-08, + -8.139477577257101e-08, + -8.166077983110702e-08, + -8.189686793791248e-08, + -8.209696943907588e-08, + -8.225489223606212e-08, + -8.236565347584444e-08, + -8.24266078449746e-08, + -8.243801479356893e-08, + -8.240294611665465e-08, + -8.220856506149057e-08, + -8.210540270762377e-08, + -8.199586587114586e-08, + -8.18795793290846e-08, + -8.175614819017358e-08, + -8.162515718080669e-08, + -8.148616994928478e-08, + -8.133872839630803e-08, + -8.118235204075892e-08, + -8.101653743099807e-08, + -8.084075761316712e-08, + -8.065446166934967e-08, + -8.045707433988517e-08, + -8.024799574564866e-08, + -8.002660122769383e-08, + -7.979224132329123e-08, + -7.954424189905859e-08, + -7.928190446354868e-08, + -7.900450668330295e-08, + -7.871130312795332e-08, + -7.84015262714168e-08, + -7.807438777751972e-08, + -7.772908009944644e-08, + -7.736477842315874e-08, + -7.698064298529031e-08, + -7.657582179589575e-08, + -7.614945379572181e-08, + -7.570067247626169e-08, + -7.522860998863773e-08, + -7.47324017642141e-08, + -7.421119166565596e-08, + -7.366413768180992e-08, + -7.309041817318483e-08, + -7.248923866687842e-08, + -7.185983919046355e-08, + -7.120150212359702e-08, + -7.051356053395823e-08, + -6.979540695063707e-08, + -6.904650251340032e-08, + -6.826638642057488e-08, + -6.745468558187491e-08, + -6.661112436572711e-08, + -6.573553431396207e-08, + -6.482786368066552e-08, + -6.38881866371265e-08, + -6.291671197184289e-08, + -6.191379110415972e-08, + -6.087992522304738e-08, + -5.981577135948981e-08, + -5.8722147202609505e-08, + -5.760003447657842e-08, + -5.6450580707988954e-08, + -5.527509923194764e-08, + -5.407506730974898e-08, + -5.2852122261385436e-08, + -5.160805555187799e-08, + -5.034480481071823e-08, + -4.9064443807574355e-08, + -4.776917045356315e-08, + -4.646129294435408e-08, + -4.5143214207537265e-08, + -4.3817414860365796e-08, + -4.248643492350244e-08, + -4.1152854570190536e-08, + -3.981927421694005e-08, + -3.848829428026065e-08, + -3.716249493339477e-08, + -3.5844416197003644e-08, + -3.453653868833825e-08, + -3.324126533498602e-08, + -3.196090433261315e-08, + -3.0697653592332575e-08, + -2.9453586883808184e-08, + -2.823064183652671e-08, + -2.703060991550382e-08, + -2.5855128440726264e-08, + -2.4705674673482426e-08, + -2.3583561948872407e-08, + -2.2489937793481984e-08, + -2.142578393147606e-08, + -2.039191805197014e-08, + -1.9388997185941015e-08, + -1.841752252235186e-08, + -1.7477845480540538e-08, + -1.657017484899787e-08, + -1.5694584799005983e-08, + -1.485102358464389e-08, + -1.4039322747735701e-08, + -1.325920665670191e-08, + -1.2510302221250858e-08, + -1.1792148639703963e-08, + -1.1104207051822853e-08, + -1.0445869986692743e-08, + -9.816470511988732e-09, + -9.215291007363684e-09, + -8.64157150038708e-09, + -8.094517518153526e-09, + -7.573307421169304e-09, + -7.077099198278734e-09, + -6.605036712145092e-09, + -6.156255394131087e-09, + -5.729887395357817e-09, + -5.325066207317675e-09, + -4.940930770756849e-09, + -4.576629095729629e-09, + -4.23132141886963e-09, + -3.904182926138854e-09, + -3.594406070721965e-09, + -3.301202516445909e-09, + -3.0238047372284042e-09, + -2.7614673027021446e-09, + -2.5134678794095776e-09, + -2.279107975904505e-09, + -2.0577134588057795e-09, + -1.8486348653851637e-09, + -1.651247536697594e-09, + -1.4649515936193662e-09, + -1.2891717764912554e-09, + -1.1233571673981933e-09, + -9.669808124830926e-10, + -8.195392601080039e-10, + -6.805520291566186e-10, + -5.495610203305288e-10, + -4.261298819317558e-10, + -3.0984334035556806e-10, + -2.0030650433670744e-10, + -9.714415090419103e-11, + -8.230570921280621e-08, + -8.230570921280621e-08, + -8.258640350134947e-08, + 8.298074924213027e-08, + -8.269677863459569e-08, + 8.288373780211396e-08 + ], + "diagnostics": { + "charge_balance_relative": 1.6717254005247685e-17, + "interface_current_spread_relative": 4.858063857463287e-12, + "iteration": 3, + "linear_backward_error": 6.835739702756224e-17, + "scaled_nonlinear_residual": 0.05058861742649522, + "solver_current_spread_relative": 8.355791182022135e-12 + }, + "dt_s": 2.454561045726773e-07, + "independent_physics": { + "arrays": { + "charge_balance_absolute_A_m2": 1.2842392600192031e-18, + "charge_balance_scale_A_m2": 1.0, + "charge_rate_A_m2": 7.328433618902307e-09, + "contact_conduction_A_m2": [ + -1.1271207499775196e-05, + -1.1278535933395383e-05 + ], + "contact_displacement_A_m2": [ + -7.682692722844046e-06, + -7.675364289225145e-06 + ], + "contact_total_A_m2": [ + -1.895390022261924e-05, + -1.8953900222620528e-05 + ], + "electron_current_A_m2": [ + -6.445044354724255e-06, + -6.445044354951037e-06, + -6.445044355452139e-06, + -6.445044356283013e-06, + -6.445044357508299e-06, + -6.445044359203201e-06, + -6.445044361455199e-06, + -6.445044364365867e-06, + -6.445044368053087e-06, + -6.44504437265352e-06, + -6.445044378325512e-06, + -6.445044385252301e-06, + -6.44504439364588e-06, + -6.445044403751139e-06, + -6.445044415850912e-06, + -6.445044430271468e-06, + -6.445044447388941e-06, + -6.445044467636424e-06, + -6.445044491512236e-06, + -6.4450445195890466e-06, + -6.445044552524403e-06, + -6.445044591072146e-06, + -6.445044636095671e-06, + -6.445044688582278e-06, + -6.445044749659364e-06, + -6.445044820612222e-06, + -6.445044902903415e-06, + -6.445044998194379e-06, + -6.44504510836818e-06, + -6.445045235554702e-06, + -6.445045382157108e-06, + -6.445045550879815e-06, + -6.445045744757981e-06, + -6.445045967187746e-06, + -6.44504622195691e-06, + -6.445046513275759e-06, + -6.445046845806756e-06, + -6.445047224692894e-06, + -6.445047655583135e-06, + -6.445048144654191e-06, + -6.445048698627094e-06, + -6.445049324777285e-06, + -6.445050030936559e-06, + -6.445050825485445e-06, + -6.445051717334297e-06, + -6.445052715891592e-06, + -6.445053831017881e-06, + -6.445055072964353e-06, + -6.445056452294819e-06, + -6.445057979790697e-06, + -6.445059666338545e-06, + -6.4450615228010445e-06, + -6.4450635598717985e-06, + -6.445065787915971e-06, + -6.445068216799214e-06, + -6.445070855707271e-06, + -6.445073712960621e-06, + -6.445076795827912e-06, + -6.4450801103429e-06, + -6.4450836611300825e-06, + -6.445087451244054e-06, + -6.4450914820273945e-06, + -6.445095752992466e-06, + -6.445100261731283e-06, + -6.445105003856657e-06, + -6.445109972978426e-06, + -6.445115160715624e-06, + -6.445120556746331e-06, + -6.445126148893717e-06, + -6.445131923247678e-06, + -6.445137864318512e-06, + -6.445143955219499e-06, + -6.44515017787345e-06, + -6.445156513237862e-06, + -6.4451629415432385e-06, + -6.445169442538611e-06, + -6.445175995737288e-06, + -6.445182580659086e-06, + -6.445189177061805e-06, + -6.445195765158216e-06, + -6.4452023258145785e-06, + -6.445208840727582e-06, + -6.445215292576675e-06, + -6.445221665151819e-06, + -6.4452279434547025e-06, + -6.44523411377434e-06, + -6.445240163737841e-06, + -6.445246082337457e-06, + -6.445251859935914e-06, + -6.445257488252805e-06, + -6.445262960333002e-06, + -6.445268270501123e-06, + -6.4452734143040775e-06, + -6.4452783884431675e-06, + -6.4452831906997764e-06, + -6.445287819855811e-06, + -6.445292275610888e-06, + -6.445296558498054e-06, + -6.445300669799685e-06, + -6.445304611465424e-06, + -6.445308386031836e-06, + -6.445311996545341e-06, + -6.445315446489973e-06, + -6.445318739718911e-06, + -6.445321880390115e-06, + -6.44532487290891e-06, + -6.445327721872782e-06, + -6.4453304320236096e-06, + -6.445333008203191e-06, + -6.445335455313778e-06, + -6.44533777828381e-06, + -6.445339982035885e-06, + -6.44534207146233e-06, + -6.445344051398634e-06, + -6.445345926607228e-06, + -6.445347701758208e-06, + -6.4453493814175375e-06, + -6.445350970032276e-06, + -6.445352471927015e-06, + -6.445353891290924e-06, + -6.445355232174933e-06, + -6.4453564984902505e-06, + -6.4453576940033096e-06, + -6.4453588223332686e-06, + -6.445359886957626e-06, + -6.44536089120664e-06, + -6.445361838267171e-06, + -6.445363164238804e-06, + -6.452693131729676e-06, + -6.452693805448989e-06, + -6.452694519590928e-06, + -6.452695276439659e-06, + -6.452696078296068e-06, + -6.452696927577749e-06, + -6.452697826771873e-06, + -6.452698778558534e-06, + -6.452699785576496e-06, + -6.452700850682522e-06, + -6.452701976716407e-06, + -6.452703166686752e-06, + -6.452704423627591e-06, + -6.45270575066024e-06, + -6.452707150969477e-06, + -6.452708627785442e-06, + -6.452710184370437e-06, + -6.452711824053053e-06, + -6.452713550089686e-06, + -6.452715365783788e-06, + -6.452717274387693e-06, + -6.452719279067262e-06, + -6.452721382930373e-06, + -6.4527235889276845e-06, + -6.452725899875551e-06, + -6.452728318378537e-06, + -6.452730846802245e-06, + -6.452733487225657e-06, + -6.452736241389111e-06, + -6.4527391106560455e-06, + -6.4527420959380415e-06, + -6.452745197650486e-06, + -6.452748415651789e-06, + -6.452751749180683e-06, + -6.452755196801212e-06, + -6.452758756345e-06, + -6.452762424845704e-06, + -6.452766198496138e-06, + -6.452770072591773e-06, + -6.452774041495559e-06, + -6.452778098600363e-06, + -6.452782236315201e-06, + -6.45278644604414e-06, + -6.452790718195061e-06, + -6.452795042202179e-06, + -6.452799406562201e-06, + -6.4528037988897606e-06, + -6.4528082060000286e-06, + -6.45281261400225e-06, + -6.452817008419818e-06, + -6.452821374327577e-06, + -6.452825696516128e-06, + -6.452829959659838e-06, + -6.452834148511913e-06, + -6.452838248092908e-06, + -6.452842243908908e-06, + -6.452846122147196e-06, + -6.452849869885389e-06, + -6.452853475272704e-06, + -6.452856927717733e-06, + -6.452860218034829e-06, + -6.452863338574805e-06, + -6.4528662833223946e-06, + -6.452869047965674e-06, + -6.452871629916322e-06, + -6.452874028311125e-06, + -6.45287624396173e-06, + -6.452878279283136e-06, + -6.4528801381790876e-06, + -6.452881825913984e-06, + -6.452883348947208e-06, + -6.452884714767426e-06, + -6.452885931707501e-06, + -6.452887008750086e-06, + -6.452887955349112e-06, + -6.4528887812439094e-06, + -6.452889496291835e-06, + -6.45289011030973e-06, + -6.4528906329398605e-06, + -6.4528910735278944e-06, + -6.452891441026772e-06, + -6.452891743912023e-06, + -6.45289199013148e-06, + -6.452892187054681e-06, + -6.452892341459324e-06, + -6.4528924595121715e-06, + -6.452892546782088e-06, + -6.45289260824956e-06, + -6.452892648329903e-06, + -6.452892670911212e-06, + -6.452892679377259e-06, + -6.4528926766587864e-06, + -6.452892665259495e-06, + -6.4528926473098055e-06, + -6.4528926245976444e-06, + -6.452892598609353e-06, + -6.452892570567106e-06, + -6.452892541460644e-06, + -6.452892512080905e-06, + -6.452892483052036e-06, + -6.452892454843909e-06, + -6.452892427812771e-06, + -6.452892402212432e-06, + -6.452892378209447e-06, + -6.4528923559051606e-06, + -6.452892335348022e-06, + -6.452892316536403e-06, + -6.452892299447585e-06, + -6.452892284022074e-06, + -6.452892270187999e-06, + -6.452892257858071e-06, + -6.4528922469369155e-06, + -6.452892237331448e-06, + -6.452892228932927e-06, + -6.4528922216495e-06, + -6.452892215375239e-06, + -6.45289221002274e-06, + -6.452892205494066e-06, + -6.452892201716556e-06, + -6.452892198596746e-06, + -6.452892196069158e-06, + -6.452892194065041e-06, + -6.452892192523639e-06, + -6.452892191377359e-06, + -6.452892190592213e-06, + -6.452892190104844e-06, + -6.452892189880121e-06 + ], + "hole_current_A_m2": [ + -4.82616314505094e-06, + -4.826163144824121e-06, + -4.8261631443229616e-06, + -4.8261631434920095e-06, + -4.82616314226664e-06, + -4.826163140571637e-06, + -4.82616313831956e-06, + -4.826163135408822e-06, + -4.826163131721545e-06, + -4.826163127121068e-06, + -4.826163121449063e-06, + -4.8261631145222825e-06, + -4.826163106128758e-06, + -4.826163096023592e-06, + -4.82616308392397e-06, + -4.826163069503586e-06, + -4.826163052386409e-06, + -4.826163032139268e-06, + -4.826163008263917e-06, + -4.826162980187653e-06, + -4.82616294725301e-06, + -4.826162908706101e-06, + -4.826162863683634e-06, + -4.826162811198244e-06, + -4.826162750122635e-06, + -4.8261626791715406e-06, + -4.826162596882417e-06, + -4.826162501593904e-06, + -4.826162391422966e-06, + -4.826162264239792e-06, + -4.8261621176412905e-06, + -4.826161948923111e-06, + -4.826161755050204e-06, + -4.82616153262652e-06, + -4.826161277864377e-06, + -4.8261609865535955e-06, + -4.8261606540319275e-06, + -4.826160275156403e-06, + -4.826159844278372e-06, + -4.826159355221238e-06, + -4.82615880126422e-06, + -4.826158175132089e-06, + -4.826157468993344e-06, + -4.826156674467746e-06, + -4.8261557826451794e-06, + -4.82615478411759e-06, + -4.826153669024791e-06, + -4.826152427115925e-06, + -4.826151047827653e-06, + -4.826149520378994e-06, + -4.8261478338838895e-06, + -4.826145977480032e-06, + -4.826143940474559e-06, + -4.826141712502628e-06, + -4.826139283699197e-06, + -4.8261366448792174e-06, + -4.826133787722577e-06, + -4.826130704961301e-06, + -4.826127390562169e-06, + -4.826123839901195e-06, + -4.826120049924339e-06, + -4.826116019289488e-06, + -4.826111748484645e-06, + -4.826107239918272e-06, + -4.826102497977927e-06, + -4.826097529053902e-06, + -4.826092341527427e-06, + -4.826086945720598e-06, + -4.826081353810152e-06, + -4.826075579706246e-06, + -4.8260696388984635e-06, + -4.826063548273105e-06, + -4.826057325907209e-06, + -4.826050990842737e-06, + -4.826044562848595e-06, + -4.826038062175402e-06, + -4.826031509308942e-06, + -4.826024924728728e-06, + -4.826018328675891e-06, + -4.826011740937187e-06, + -4.826005180644962e-06, + -4.825998666101994e-06, + -4.825992214627509e-06, + -4.825985842430441e-06, + -4.82597956450815e-06, + -4.825973394570779e-06, + -4.825967344989873e-06, + -4.825961426772556e-06, + -4.825955649554741e-06, + -4.825950021615943e-06, + -4.825944549910464e-06, + -4.825939240112826e-06, + -4.825934096675391e-06, + -4.825929122896028e-06, + -4.8259243209928284e-06, + -4.8259196921827725e-06, + -4.825915236766671e-06, + -4.82591095421012e-06, + -4.8259068432306346e-06, + -4.8259029018776795e-06, + -4.825899127615866e-06, + -4.825895517397131e-06, + -4.8258920677375065e-06, + -4.825888774785056e-06, + -4.825885634379194e-06, + -4.825882642116181e-06, + -4.8258797933996646e-06, + -4.82587708348639e-06, + -4.8258745075333764e-06, + -4.825872060640641e-06, + -4.825869737880202e-06, + -4.825867534327627e-06, + -4.825865445092602e-06, + -4.825863465337476e-06, + -4.8258615903040345e-06, + -4.825859815317455e-06, + -4.825858135816831e-06, + -4.825856547351941e-06, + -4.825855045601751e-06, + -4.825853626371828e-06, + -4.825852285616029e-06, + -4.825851019423478e-06, + -4.825849824028693e-06, + -4.825848695806265e-06, + -4.825847631283855e-06, + -4.825846627137736e-06, + -4.825845680165642e-06, + -4.8258443543671365e-06, + -4.8258427693551e-06, + -4.825842095789768e-06, + -4.825841381778551e-06, + -4.825840625094459e-06, + -4.8258398234146605e-06, + -4.825838974319303e-06, + -4.825838075291916e-06, + -4.825837123720101e-06, + -4.825836116896833e-06, + -4.8258350520230276e-06, + -4.825833926211076e-06, + -4.825832736489195e-06, + -4.82583147980767e-06, + -4.825830153046021e-06, + -4.825828753022274e-06, + -4.825827276503644e-06, + -4.825825720219734e-06, + -4.8258240808773395e-06, + -4.825822355177983e-06, + -4.825820539838161e-06, + -4.825818631611985e-06, + -4.825816627317089e-06, + -4.825814523863244e-06, + -4.825812318284792e-06, + -4.825810007775883e-06, + -4.8258075897292335e-06, + -4.82580506177864e-06, + -4.82580242184453e-06, + -4.825799668182556e-06, + -4.825796799436012e-06, + -4.825793814690011e-06, + -4.825790713528553e-06, + -4.825787496093119e-06, + -4.825784163142152e-06, + -4.825780716110859e-06, + -4.825777157169898e-06, + -4.82577348928199e-06, + -4.825769716255208e-06, + -4.825765842790682e-06, + -4.8257618745245125e-06, + -4.825757818060141e-06, + -4.825753680990908e-06, + -4.825749471910191e-06, + -4.825745200407051e-06, + -4.825740877045975e-06, + -4.825736513328894e-06, + -4.825732121637782e-06, + -4.825727715157301e-06, + -4.825723307776922e-06, + -4.825718913971382e-06, + -4.825714548662095e-06, + -4.825710227058838e-06, + -4.825705964484814e-06, + -4.8257017761883665e-06, + -4.825697677143707e-06, + -4.825693681846222e-06, + -4.825689804106257e-06, + -4.825686056848427e-06, + -4.825682451919194e-06, + -4.825678999911828e-06, + -4.825675710011768e-06, + -4.825672589867747e-06, + -4.825669645493814e-06, + -4.8256668812045905e-06, + -4.825664299586547e-06, + -4.8256619015047545e-06, + -4.825659686146662e-06, + -4.825657651099561e-06, + -4.825655792458662e-06, + -4.825654104962367e-06, + -4.8256525821499676e-06, + -4.825651216533581e-06, + -4.82564999978382e-06, + -4.825648922915654e-06, + -4.825647976477508e-06, + -4.825647150730568e-06, + -4.825646435819222e-06, + -4.8256458219256834e-06, + -4.825645299409721e-06, + -4.82564485892545e-06, + -4.825644491522387e-06, + -4.825644188723187e-06, + -4.825643942582992e-06, + -4.825643745730312e-06, + -4.825643591390971e-06, + -4.825643473396437e-06, + -4.825643386179402e-06, + -4.825643324760749e-06, + -4.825643284722093e-06, + -4.825643262180715e-06, + -4.825643253748371e-06, + -4.82564325649886e-06, + -4.8256432679255465e-06, + -4.825643285900321e-06, + -4.825643308634902e-06, + -4.825643334643017e-06, + -4.825643362702881e-06, + -4.825643391825311e-06, + -4.825643421218436e-06, + -4.825643450260834e-06, + -4.8256434784798615e-06, + -4.8256435055187185e-06, + -4.825643531128501e-06, + -4.825643555139922e-06, + -4.825643577449045e-06, + -4.825643598013955e-06, + -4.8256436168281245e-06, + -4.825643633923917e-06, + -4.8256436493516104e-06, + -4.825643663190757e-06, + -4.825643675522951e-06, + -4.825643686444399e-06, + -4.825643696053992e-06, + -4.825643704452067e-06, + -4.825643711738494e-06, + -4.825643718013825e-06, + -4.8256437233679015e-06, + -4.825643727897477e-06, + -4.825643731677406e-06, + -4.8256437347958176e-06, + -4.825643737320196e-06, + -4.8256437393276725e-06, + -4.825643740871644e-06, + -4.825643742013125e-06, + -4.8256437428051816e-06, + -4.8256437432881724e-06, + -4.825643743515261e-06 + ], + "initial_positive_inventory_m2": [ + 999999999999999.8 + ], + "interface_conduction_A_m2": [ + [ + -1.127120751860594e-05, + -1.1278535901018615e-05 + ] + ], + "interface_displacement_A_m2": [ + [ + -7.682692704054733e-06, + -7.675364321734134e-06 + ] + ], + "interface_total_A_m2": [ + [ + -1.895390022266067e-05, + -1.895390022275275e-05 + ] + ], + "internal_conduction_A_m2": [ + -1.2412463508938632e-05, + -1.4654851204208258e-05, + -1.6687036670244733e-05, + -1.8309032842312044e-05, + -1.943368984722069e-05, + -2.0105887621908166e-05, + -2.0453676202595056e-05, + -2.061472597227515e-05, + -2.0688883245933432e-05, + -2.0730577662514583e-05, + -2.076310058814045e-05, + -2.07944870784904e-05, + -2.082704329836301e-05, + -2.086137101117464e-05, + -2.089766340203481e-05, + -2.0936035272850766e-05, + -2.0976591057328668e-05, + -2.1019436206766837e-05, + -2.106467860428932e-05, + -2.1112428499475347e-05, + -2.116279820840484e-05, + -2.121590174784008e-05, + -2.127185440615129e-05, + -2.1330772246851773e-05, + -2.1392771543129063e-05, + -2.1457968155631587e-05, + -2.1526476817810764e-05, + -2.159841037314219e-05, + -2.1673878917012156e-05, + -2.1752988896364336e-05, + -2.1835842118183302e-05, + -2.1922534721137995e-05, + -2.2013156092504415e-05, + -2.2107787737393988e-05, + -2.2206502136721374e-05, + -2.2309361592409887e-05, + -2.2416417081140777e-05, + -2.2527707140507e-05, + -2.2643256814809388e-05, + -2.2763076676650915e-05, + -2.288716195140112e-05, + -2.301549177121704e-05, + -2.3148028590957844e-05, + -2.3284717768298908e-05, + -2.3425487339935175e-05, + -2.3570248009316608e-05, + -2.3718893347506402e-05, + -2.3871300207252045e-05, + -2.4027329356032375e-05, + -2.418682629202047e-05, + -2.4349622256628792e-05, + -2.451553538189287e-05, + -2.4684371946258128e-05, + -2.4855927728353766e-05, + -2.5029989370393006e-05, + -2.520633574568493e-05, + -2.5384739272136515e-05, + -2.55649671491863e-05, + -2.5746782455662417e-05, + -2.5929945140586548e-05, + -2.6114212842908304e-05, + -2.6299341561410303e-05, + -2.648508619626504e-05, + -2.6671200955121923e-05, + -2.6857439666669836e-05, + -2.7043556042360798e-05, + -2.7229303906837402e-05, + -2.7414437459682166e-05, + -2.759871158390654e-05, + -2.7781882263278616e-05, + -2.796370710547983e-05, + -2.8143946021408845e-05, + -2.832236205144987e-05, + -2.8498722328739022e-05, + -2.8672799207793494e-05, + -2.8844371477979295e-05, + -2.90132256918103e-05, + -2.917915751733144e-05, + -2.9341973122204917e-05, + -2.9501490508921557e-05, + -2.9657540782681162e-05, + -2.980996931009993e-05, + -2.995863670589979e-05, + -3.0103419686366958e-05, + -3.0244211670970882e-05, + -3.0380923233179424e-05, + -3.05134822690508e-05, + -3.0641834016275584e-05, + -3.076594080761456e-05, + -3.0885781680497965e-05, + -3.100135176057083e-05, + -3.111266154236389e-05, + -3.121973600342512e-05, + -3.132261363070049e-05, + -3.1421345357155996e-05, + -3.151599345761333e-05, + -3.160663039501876e-05, + -3.1693337669286964e-05, + -3.177620466503614e-05, + -3.185532753462451e-05, + -3.193080810644711e-05, + -3.200275284484095e-05, + -3.207127187897071e-05, + -3.213647807952758e-05, + -3.2198486220135896e-05, + -3.2257412195544596e-05, + -3.231337232063999e-05, + -3.2366482690451324e-05, + -3.241685856032297e-05, + -3.246461341367671e-05, + -3.250985561534901e-05, + -3.255267168002385e-05, + -3.25930486401958e-05, + -3.263056840560803e-05, + -3.266340882328822e-05, + -3.268567479576582e-05, + -3.268169456196526e-05, + -3.261665724557505e-05, + -3.242595409774618e-05, + -3.201008159209476e-05, + -3.124393783341886e-05, + -3.0004209706018422e-05, + -2.820732156286802e-05, + -2.584140750380653e-05, + -2.297712579767401e-05, + -1.9753197418584896e-05, + -1.6344761699667558e-05, + -1.1271207518605941e-05, + -1.1278535901084775e-05, + -1.1278535901238756e-05, + -1.1278535901369479e-05, + -1.1278535901534118e-05, + -1.127853590171073e-05, + -1.1278535901897053e-05, + -1.127853590206379e-05, + -1.1278535902278635e-05, + -1.127853590247333e-05, + -1.127853590270555e-05, + -1.1278535902927482e-05, + -1.1278535903175947e-05, + -1.1278535903435261e-05, + -1.1278535903706261e-05, + -1.127853590399175e-05, + -1.1278535904289086e-05, + -1.127853590459017e-05, + -1.1278535904930393e-05, + -1.1278535905267668e-05, + -1.1278535905621948e-05, + -1.1278535905999677e-05, + -1.1278535906384352e-05, + -1.1278535906793618e-05, + -1.1278535907212476e-05, + -1.1278535907651434e-05, + -1.127853590810777e-05, + -1.1278535908580885e-05, + -1.1278535909070187e-05, + -1.1278535909571666e-05, + -1.1278535910092058e-05, + -1.1278535910628052e-05, + -1.127853591117904e-05, + -1.1278535911744909e-05, + -1.1278535912322836e-05, + -1.1278535912912071e-05, + -1.12785359135149e-05, + -1.1278535914127694e-05, + -1.1278535914751347e-05, + -1.1278535915382454e-05, + -1.127853591602007e-05, + -1.1278535916660504e-05, + -1.127853591730611e-05, + -1.1278535917954331e-05, + -1.1278535918602111e-05, + -1.1278535919248154e-05, + -1.1278535919891096e-05, + -1.1278535920527543e-05, + -1.1278535921157329e-05, + -1.1278535921779173e-05, + -1.12785359223912e-05, + -1.1278535922989673e-05, + -1.1278535923574966e-05, + -1.1278535924144651e-05, + -1.127853592470028e-05, + -1.1278535925236616e-05, + -1.127853592575513e-05, + -1.1278535926253453e-05, + -1.1278535926733816e-05, + -1.1278535927191898e-05, + -1.1278535927629562e-05, + -1.1278535928046597e-05, + -1.1278535928442552e-05, + -1.1278535928816209e-05, + -1.1278535929170264e-05, + -1.127853592950287e-05, + -1.1278535929815879e-05, + -1.1278535930108392e-05, + -1.1278535930382696e-05, + -1.127853593063775e-05, + -1.127853593087635e-05, + -1.1278535931097176e-05, + -1.1278535931301007e-05, + -1.127853593149132e-05, + -1.127853593166574e-05, + -1.127853593182662e-05, + -1.1278535931974478e-05, + -1.1278535932111057e-05, + -1.1278535932235413e-05, + -1.1278535932349582e-05, + -1.1278535932453345e-05, + -1.127853593254916e-05, + -1.1278535932635211e-05, + -1.1278535932714473e-05, + -1.1278535932784994e-05, + -1.1278535932850295e-05, + -1.127853593290861e-05, + -1.127853593296149e-05, + -1.127853593301031e-05, + -1.1278535933051995e-05, + -1.1278535933091928e-05, + -1.127853593312563e-05, + -1.1278535933157648e-05, + -1.127853593318504e-05, + -1.1278535933210126e-05, + -1.1278535933232546e-05, + -1.127853593325237e-05, + -1.1278535933269988e-05, + -1.1278535933285956e-05, + -1.1278535933299341e-05, + -1.1278535933312871e-05, + -1.1278535933323771e-05, + -1.127853593333149e-05, + -1.1278535933340934e-05, + -1.1278535933349368e-05, + -1.1278535933354207e-05, + -1.1278535933361976e-05, + -1.1278535933364527e-05, + -1.1278535933371501e-05, + -1.1278535933373685e-05, + -1.1278535933378755e-05, + -1.1278535933381022e-05, + -1.1278535933381315e-05, + -1.127853593338544e-05, + -1.1278535933384995e-05, + -1.1278535933387993e-05, + -1.1278535933389064e-05, + -1.1278535933390643e-05, + -1.1278535933391544e-05, + -1.1278535933393961e-05, + -1.1278535933392564e-05, + -1.1278535933389355e-05, + -1.1278535933392713e-05, + -1.1278535933395284e-05, + -1.1278535933390483e-05, + -1.1278535933397395e-05, + -1.1278535933393018e-05, + -1.1278535933395383e-05 + ], + "internal_displacement_A_m2": [ + -6.541436713665179e-06, + -4.299049018418134e-06, + -2.266863552387107e-06, + -6.448673802880778e-07, + 4.797896246007682e-07, + 1.151987399284275e-06, + 1.4997759799746112e-06, + 1.6608257496797198e-06, + 1.734983023303054e-06, + 1.776677439882559e-06, + 1.8092003655164747e-06, + 1.8405868558833553e-06, + 1.8731430757439342e-06, + 1.907470788554647e-06, + 1.943763179399504e-06, + 1.9821350502475254e-06, + 2.022690834702583e-06, + 2.0655359841544294e-06, + 2.11077838167095e-06, + 2.1585282768423423e-06, + 2.2088979857919656e-06, + 2.262001525221298e-06, + 2.317954183537909e-06, + 2.3768720242277072e-06, + 2.438871320514786e-06, + 2.5040679330030115e-06, + 2.5725765952007913e-06, + 2.6445101505190068e-06, + 2.719978694393064e-06, + 2.7990886737451784e-06, + 2.8819418955637478e-06, + 2.9686344985156464e-06, + 3.0592558698890644e-06, + 3.153887514774314e-06, + 3.2526019140961403e-06, + 3.3554613697972882e-06, + 3.46251685852169e-06, + 3.5738069178874703e-06, + 3.689356592187856e-06, + 3.809176454037398e-06, + 3.933261728773908e-06, + 4.061591548602412e-06, + 4.194128368336203e-06, + 4.330817545684735e-06, + 4.4715871173112595e-06, + 4.616347786695144e-06, + 4.764993124890295e-06, + 4.917399984632933e-06, + 5.0734291334132565e-06, + 5.2329260694013445e-06, + 5.395722034007519e-06, + 5.561635159275867e-06, + 5.7304717236389394e-06, + 5.9020275057346085e-06, + 6.076089147773903e-06, + 6.2524355230657245e-06, + 6.4308390495161006e-06, + 6.611066926568405e-06, + 6.792882233043247e-06, + 6.976044917963363e-06, + 7.160312620293141e-06, + 7.345441338791109e-06, + 7.5311859736458514e-06, + 7.717300732505522e-06, + 7.903539444043641e-06, + 8.089655819745774e-06, + 8.275403684218258e-06, + 8.460537237057106e-06, + 8.64481136128884e-06, + 8.827982040663943e-06, + 9.009806882855915e-06, + 9.190045798789598e-06, + 9.36846182883068e-06, + 9.544822106124777e-06, + 9.71889898516913e-06, + 9.890471255365399e-06, + 1.0059325469185455e-05, + 1.0225257294712137e-05, + 1.0388072899591773e-05, + 1.0547590286295896e-05, + 1.0703640560062125e-05, + 1.0856069087480634e-05, + 1.1004736483280328e-05, + 1.1149519463755198e-05, + 1.1290311448343818e-05, + 1.1427023010563492e-05, + 1.1559582046436756e-05, + 1.1687933793656459e-05, + 1.1812040585004393e-05, + 1.1931881457859206e-05, + 1.204745153796601e-05, + 1.2158761319729006e-05, + 1.2265835780805907e-05, + 1.2368713408074166e-05, + 1.246744513456975e-05, + 1.2562093234959264e-05, + 1.2652730172408109e-05, + 1.273943744669753e-05, + 1.2822304442385103e-05, + 1.2901427312039323e-05, + 1.2976907883828065e-05, + 1.3048852622182817e-05, + 1.3117371656352874e-05, + 1.318257785694828e-05, + 1.3244585997461087e-05, + 1.3303511972963503e-05, + 1.335947209804401e-05, + 1.3412582467780149e-05, + 1.3462958337728787e-05, + 1.3510713191030548e-05, + 1.3555955392759985e-05, + 1.359877145737291e-05, + 1.3639148417612897e-05, + 1.3676668183024372e-05, + 1.3709508600623199e-05, + 1.3731774573150468e-05, + 1.3727794339337224e-05, + 1.3662757022971354e-05, + 1.3472053875085602e-05, + 1.3056181369526008e-05, + 1.2290037610807554e-05, + 1.1050309483376283e-05, + 9.253421340178397e-06, + 6.8875072812581995e-06, + 4.023225574967304e-06, + 7.992971960130466e-07, + -2.609138522942953e-06, + -7.682692704054733e-06, + -7.67536432153545e-06, + -7.675364321391833e-06, + -7.675364321241251e-06, + -7.675364321079202e-06, + -7.67536432091372e-06, + -7.675364320733443e-06, + -7.67536432054706e-06, + -7.675364320346428e-06, + -7.675364320139708e-06, + -7.675364319918084e-06, + -7.67536431968511e-06, + -7.675364319441555e-06, + -7.675364319185117e-06, + -7.675364318914018e-06, + -7.675364318631664e-06, + -7.67536431833252e-06, + -7.675364318021557e-06, + -7.675364317694895e-06, + -7.675364317352377e-06, + -7.675364316995586e-06, + -7.675364316621559e-06, + -7.67536431623247e-06, + -7.675364315827115e-06, + -7.675364315404872e-06, + -7.67536431496625e-06, + -7.675364314510993e-06, + -7.675364314039296e-06, + -7.6753643135507e-06, + -7.675364313046839e-06, + -7.67536431252685e-06, + -7.675364311990526e-06, + -7.67536431144052e-06, + -7.675364310875477e-06, + -7.67536431029739e-06, + -7.675364309706341e-06, + -7.67536430910371e-06, + -7.675364308490471e-06, + -7.675364307868068e-06, + -7.6753643072374e-06, + -7.675364306600375e-06, + -7.675364305958175e-06, + -7.67536430531239e-06, + -7.675364304664779e-06, + -7.67536430401719e-06, + -7.67536430337141e-06, + -7.675364302728799e-06, + -7.675364302091513e-06, + -7.675364301461275e-06, + -7.675364300839873e-06, + -7.675364300228752e-06, + -7.675364299629744e-06, + -7.675364299044263e-06, + -7.675364298473788e-06, + -7.675364297919554e-06, + -7.675364297382737e-06, + -7.675364296864263e-06, + -7.675364296365169e-06, + -7.675364295885874e-06, + -7.67536429542725e-06, + -7.67536429498942e-06, + -7.675364294572647e-06, + -7.675364294177156e-06, + -7.675364293802652e-06, + -7.675364293449209e-06, + -7.675364293116283e-06, + -7.675364292803589e-06, + -7.675364292510525e-06, + -7.675364292236622e-06, + -7.675364291981038e-06, + -7.675364291743252e-06, + -7.67536429152242e-06, + -7.675364291317695e-06, + -7.67536429112836e-06, + -7.675364290953579e-06, + -7.675364290792529e-06, + -7.675364290644417e-06, + -7.675364290508404e-06, + -7.675364290383737e-06, + -7.675364290269691e-06, + -7.675364290165464e-06, + -7.675364290070433e-06, + -7.675364289983889e-06, + -7.675364289905235e-06, + -7.675364289833796e-06, + -7.675364289769081e-06, + -7.675364289710456e-06, + -7.675364289657491e-06, + -7.675364289609747e-06, + -7.675364289566691e-06, + -7.67536428952795e-06, + -7.675364289493174e-06, + -7.675364289461972e-06, + -7.675364289434008e-06, + -7.675364289409063e-06, + -7.675364289386715e-06, + -7.675364289366817e-06, + -7.675364289349124e-06, + -7.675364289333394e-06, + -7.675364289319435e-06, + -7.675364289307086e-06, + -7.675364289296164e-06, + -7.675364289286515e-06, + -7.675364289277988e-06, + -7.675364289270582e-06, + -7.675364289264007e-06, + -7.675364289258276e-06, + -7.67536428925327e-06, + -7.675364289248939e-06, + -7.675364289245156e-06, + -7.675364289241859e-06, + -7.67536428923903e-06, + -7.675364289236624e-06, + -7.675364289234525e-06, + -7.675364289232755e-06, + -7.675364289231242e-06, + -7.675364289229995e-06, + -7.675364289228925e-06, + -7.675364289228037e-06, + -7.675364289227317e-06, + -7.675364289226726e-06, + -7.675364289226269e-06, + -7.675364289225889e-06, + -7.675364289225611e-06, + -7.675364289225413e-06, + -7.675364289225267e-06, + -7.675364289225184e-06, + -7.675364289225145e-06 + ], + "internal_total_A_m2": [ + -1.895390022260381e-05, + -1.8953900222626393e-05, + -1.895390022263184e-05, + -1.895390022260012e-05, + -1.895390022261992e-05, + -1.8953900222623892e-05, + -1.8953900222620447e-05, + -1.895390022259543e-05, + -1.8953900222630377e-05, + -1.8953900222632024e-05, + -1.8953900222623974e-05, + -1.8953900222607043e-05, + -1.8953900222619074e-05, + -1.8953900222619993e-05, + -1.8953900222635307e-05, + -1.8953900222603242e-05, + -1.8953900222626084e-05, + -1.8953900222612407e-05, + -1.895390022261837e-05, + -1.8953900222633003e-05, + -1.8953900222612878e-05, + -1.8953900222618783e-05, + -1.8953900222613382e-05, + -1.8953900222624065e-05, + -1.8953900222614277e-05, + -1.8953900222628575e-05, + -1.895390022260997e-05, + -1.8953900222623184e-05, + -1.895390022261909e-05, + -1.895390022261916e-05, + -1.8953900222619556e-05, + -1.8953900222622347e-05, + -1.895390022261535e-05, + -1.8953900222619674e-05, + -1.8953900222625234e-05, + -1.89539002226126e-05, + -1.8953900222619088e-05, + -1.8953900222619532e-05, + -1.895390022262153e-05, + -1.8953900222613518e-05, + -1.8953900222627213e-05, + -1.8953900222614626e-05, + -1.895390022262164e-05, + -1.8953900222614172e-05, + -1.8953900222623916e-05, + -1.8953900222621463e-05, + -1.8953900222616106e-05, + -1.8953900222619112e-05, + -1.895390022261912e-05, + -1.8953900222619125e-05, + -1.8953900222621273e-05, + -1.8953900222617004e-05, + -1.895390022261919e-05, + -1.895390022261916e-05, + -1.89539002226191e-05, + -1.8953900222619203e-05, + -1.8953900222620413e-05, + -1.8953900222617895e-05, + -1.895390022261917e-05, + -1.8953900222623184e-05, + -1.8953900222615165e-05, + -1.8953900222619193e-05, + -1.8953900222619186e-05, + -1.89539002226164e-05, + -1.8953900222626193e-05, + -1.8953900222615026e-05, + -1.8953900222619146e-05, + -1.895390022262506e-05, + -1.8953900222617702e-05, + -1.8953900222614673e-05, + -1.8953900222623916e-05, + -1.8953900222619247e-05, + -1.895390022261919e-05, + -1.8953900222614246e-05, + -1.8953900222624363e-05, + -1.8953900222613894e-05, + -1.8953900222624844e-05, + -1.89539002226193e-05, + -1.8953900222613142e-05, + -1.895390022262566e-05, + -1.8953900222619037e-05, + -1.8953900222619295e-05, + -1.895390022261946e-05, + -1.895390022261176e-05, + -1.8953900222627064e-05, + -1.8953900222615934e-05, + -1.8953900222614043e-05, + -1.8953900222619125e-05, + -1.8953900222610167e-05, + -1.895390022263876e-05, + -1.895390022260482e-05, + -1.895390022263488e-05, + -1.895390022261921e-05, + -1.895390022262632e-05, + -1.8953900222586247e-05, + -1.895390022265407e-05, + -1.895390022261065e-05, + -1.895390022258943e-05, + -1.8953900222651038e-05, + -1.8953900222585186e-05, + -1.8953900222619044e-05, + -1.895390022265813e-05, + -1.8953900222617838e-05, + -1.8953900222579298e-05, + -1.895390022267481e-05, + -1.8953900222581093e-05, + -1.895390022259598e-05, + -1.8953900222671174e-05, + -1.8953900222594182e-05, + -1.8953900222646163e-05, + -1.8953900222589025e-05, + -1.895390022265094e-05, + -1.89539002225829e-05, + -1.8953900222583655e-05, + -1.895390022266502e-05, + -1.895390022261535e-05, + -1.8953900222628036e-05, + -1.8953900222603696e-05, + -1.8953900222660576e-05, + -1.8953900222568754e-05, + -1.8953900222611305e-05, + -1.8953900222642137e-05, + -1.8953900222689626e-05, + -1.895390022254833e-05, + -1.8953900222706705e-05, + -1.895390022257185e-05, + -1.895390022261051e-05, + -1.8953900222660674e-05, + -1.8953900222620223e-05, + -1.895390022263059e-05, + -1.895390022261073e-05, + -1.8953900222613318e-05, + -1.895390022262445e-05, + -1.8953900222630496e-05, + -1.895390022261085e-05, + -1.895390022262506e-05, + -1.895390022261304e-05, + -1.895390022262363e-05, + -1.8953900222612593e-05, + -1.8953900222617502e-05, + -1.895390022262038e-05, + -1.8953900222620277e-05, + -1.8953900222623415e-05, + -1.8953900222621605e-05, + -1.8953900222611726e-05, + -1.8953900222625288e-05, + -1.8953900222620047e-05, + -1.8953900222617533e-05, + -1.8953900222621236e-05, + -1.895390022261682e-05, + -1.895390022262073e-05, + -1.895390022261735e-05, + -1.8953900222617682e-05, + -1.8953900222618763e-05, + -1.8953900222620182e-05, + -1.8953900222620887e-05, + -1.8953900222618505e-05, + -1.895390022261891e-05, + -1.8953900222618576e-05, + -1.895390022261956e-05, + -1.8953900222620386e-05, + -1.8953900222620226e-05, + -1.8953900222618414e-05, + -1.895390022261861e-05, + -1.8953900222618163e-05, + -1.8953900222619417e-05, + -1.8953900222619854e-05, + -1.8953900222620447e-05, + -1.8953900222618678e-05, + -1.8953900222618502e-05, + -1.8953900222619112e-05, + -1.89539002226193e-05, + -1.8953900222619566e-05, + -1.8953900222619894e-05, + -1.8953900222619057e-05, + -1.8953900222618603e-05, + -1.8953900222619044e-05, + -1.8953900222619952e-05, + -1.8953900222619417e-05, + -1.8953900222619227e-05, + -1.895390022261844e-05, + -1.8953900222619833e-05, + -1.8953900222619352e-05, + -1.8953900222619393e-05, + -1.8953900222618624e-05, + -1.8953900222619688e-05, + -1.8953900222619146e-05, + -1.8953900222618983e-05, + -1.8953900222619244e-05, + -1.8953900222619708e-05, + -1.895390022261886e-05, + -1.895390022261947e-05, + -1.8953900222619152e-05, + -1.8953900222619467e-05, + -1.8953900222618915e-05, + -1.895390022261932e-05, + -1.8953900222618786e-05, + -1.8953900222619603e-05, + -1.8953900222619596e-05, + -1.8953900222618702e-05, + -1.895390022261968e-05, + -1.895390022261932e-05, + -1.895390022261915e-05, + -1.8953900222618895e-05, + -1.895390022261946e-05, + -1.8953900222619152e-05, + -1.8953900222619274e-05, + -1.8953900222618807e-05, + -1.8953900222619593e-05, + -1.8953900222619098e-05, + -1.8953900222619708e-05, + -1.895390022261879e-05, + -1.8953900222619376e-05, + -1.8953900222619064e-05, + -1.8953900222618983e-05, + -1.8953900222620057e-05, + -1.8953900222618685e-05, + -1.8953900222619877e-05, + -1.8953900222618803e-05, + -1.895390022261962e-05, + -1.895390022261905e-05, + -1.895390022261919e-05, + -1.895390022261926e-05, + -1.8953900222619186e-05, + -1.8953900222619112e-05, + -1.895390022261935e-05, + -1.8953900222618776e-05, + -1.895390022261996e-05, + -1.8953900222619935e-05, + -1.8953900222618004e-05, + -1.8953900222618922e-05, + -1.8953900222619952e-05, + -1.8953900222618214e-05, + -1.895390022262025e-05, + -1.8953900222617797e-05, + -1.895390022262044e-05, + -1.895390022261884e-05, + -1.8953900222620616e-05, + -1.8953900222620054e-05, + -1.895390022261794e-05, + -1.8953900222619966e-05, + -1.895390022261775e-05, + -1.8953900222619234e-05, + -1.8953900222619057e-05, + -1.8953900222619566e-05, + -1.895390022261958e-05, + -1.895390022262128e-05, + -1.8953900222619288e-05, + -1.8953900222615622e-05, + -1.8953900222618603e-05, + -1.8953900222620894e-05, + -1.8953900222615896e-05, + -1.8953900222622662e-05, + -1.8953900222618204e-05, + -1.8953900222620528e-05 + ], + "physical_widths_m": [ + 5.901422388288336e-11, + 1.2168445327999375e-10, + 1.2921290133435793e-10, + 1.3718573109489092e-10, + 1.456263985330553e-10, + 1.5455923405930657e-10, + 1.6400942452466372e-10, + 1.7400298616433713e-10, + 1.8456672721482707e-10, + 1.9572819882658635e-10, + 2.0751563278408056e-10, + 2.1995786443639556e-10, + 2.330842391367742e-10, + 2.4692450039214606e-10, + 2.615086578375502e-10, + 2.768668330800304e-10, + 2.930290814077334e-10, + 3.1002518733890237e-10, + 3.2788443199932904e-10, + 3.4663533037393737e-10, + 3.6630533658778285e-10, + 3.869205155434871e-10, + 4.0850517948706975e-10, + 4.310814884031017e-10, + 4.546690135652088e-10, + 4.79284264100096e-10, + 5.049401770735207e-10, + 5.316455723851334e-10, + 5.594045746728763e-10, + 5.882160054824251e-10, + 6.180727501540692e-10, + 6.489611052145571e-10, + 6.808601135253143e-10, + 7.137408960140655e-10, + 7.47565990478061e-10, + 7.822887096588038e-10, + 8.178525325040014e-10, + 8.54190544194725e-10, + 8.912249420559998e-10, + 9.288666258067398e-10, + 9.670148916509131e-10, + 1.005557250369215e-09, + 1.0443693897370093e-09, + 1.0833153011705004e-09, + 1.1222475893912312e-09, + 1.1610079820176118e-09, + 1.1994280532751899e-09, + 1.23733017242863e-09, + 1.2745286830742073e-09, + 1.3108313141313866e-09, + 1.3460408173217914e-09, + 1.3799568192605954e-09, + 1.4123778691985396e-09, + 1.443103656181209e-09, + 1.4719373622173193e-09, + 1.4986881112844911e-09, + 1.523173467982208e-09, + 1.5452219347003404e-09, + 1.5646753926224425e-09, + 1.5813914299979714e-09, + 1.5952455011079117e-09, + 1.6061328613443997e-09, + 1.6139702278616839e-09, + 1.6186971212639917e-09, + 1.6202768516007768e-09, + 1.6186971212639917e-09, + 1.6139702278616839e-09, + 1.6061328613443997e-09, + 1.5952455011079117e-09, + 1.5813914299979714e-09, + 1.5646753926224425e-09, + 1.5452219347003404e-09, + 1.523173467982208e-09, + 1.4986881112844845e-09, + 1.4719373622173193e-09, + 1.4431036561812155e-09, + 1.4123778691985462e-09, + 1.379956819260592e-09, + 1.346040817321788e-09, + 1.31083131413138e-09, + 1.2745286830742205e-09, + 1.2373301724286366e-09, + 1.19942805327517e-09, + 1.1610079820176184e-09, + 1.1222475893912378e-09, + 1.083315301170507e-09, + 1.0443693897369927e-09, + 1.0055572503692116e-09, + 9.670148916509198e-10, + 9.288666258067464e-10, + 8.91224942055985e-10, + 8.541905441947299e-10, + 8.178525325039981e-10, + 7.822887096588004e-10, + 7.475659904780676e-10, + 7.137408960140556e-10, + 6.808601135253242e-10, + 6.48961105214567e-10, + 6.180727501540659e-10, + 5.882160054824152e-10, + 5.59404574672873e-10, + 5.316455723851383e-10, + 5.049401770735323e-10, + 4.792842641000936e-10, + 4.546690135651964e-10, + 4.3108148840310337e-10, + 4.0850517948706727e-10, + 3.869205155434962e-10, + 3.663053365877845e-10, + 3.4663533037393406e-10, + 3.278844319993274e-10, + 3.1002518733890444e-10, + 2.930290814077417e-10, + 2.7686683308002504e-10, + 2.6150865783754524e-10, + 2.46924500392156e-10, + 2.3308423913676347e-10, + 2.1995786443640466e-10, + 2.0751563278407477e-10, + 1.9572819882657477e-10, + 1.845667272148283e-10, + 1.740029861643485e-10, + 1.6400942452466144e-10, + 1.545592340593227e-10, + 1.4562639853305157e-10, + 1.3718573109488172e-10, + 1.2921290133435225e-10, + 1.8069867716288167e-10, + 1.8069867716288167e-10, + 1.2921290133435225e-10, + 1.3718573109489495e-10, + 1.4562639853305157e-10, + 1.5455923405930946e-10, + 1.6400942452466144e-10, + 1.740029861643485e-10, + 1.845667272148283e-10, + 1.9572819882657477e-10, + 2.0751563278407477e-10, + 2.1995786443640466e-10, + 2.3308423913676347e-10, + 2.46924500392156e-10, + 2.6150865783754524e-10, + 2.7686683308002504e-10, + 2.930290814077417e-10, + 3.1002518733890444e-10, + 3.278844319993274e-10, + 3.4663533037393406e-10, + 3.663053365877845e-10, + 3.8692051554348296e-10, + 4.085051794870805e-10, + 4.3108148840310337e-10, + 4.5466901356520963e-10, + 4.792842641000936e-10, + 5.04940177073519e-10, + 5.316455723851383e-10, + 5.59404574672873e-10, + 5.882160054824152e-10, + 6.180727501540659e-10, + 6.48961105214567e-10, + 6.808601135253109e-10, + 7.137408960140689e-10, + 7.475659904780676e-10, + 7.822887096588004e-10, + 8.178525325039981e-10, + 8.541905441947299e-10, + 8.91224942055985e-10, + 9.288666258067464e-10, + 9.670148916509198e-10, + 1.0055572503692116e-09, + 1.0443693897370192e-09, + 1.0833153011704673e-09, + 1.122247589391251e-09, + 1.1610079820176184e-09, + 1.1994280532751965e-09, + 1.2373301724286234e-09, + 1.2745286830741808e-09, + 1.3108313141314065e-09, + 1.346040817321788e-09, + 1.3799568192606186e-09, + 1.412377869198533e-09, + 1.4431036561812023e-09, + 1.4719373622173193e-09, + 1.4986881112844977e-09, + 1.523173467982208e-09, + 1.545221934700314e-09, + 1.564675392622469e-09, + 1.5813914299979515e-09, + 1.5952455011079183e-09, + 1.606132861344413e-09, + 1.6139702278616839e-09, + 1.6186971212639851e-09, + 1.6202768516007636e-09, + 1.6186971212639851e-09, + 1.6139702278616839e-09, + 1.606132861344413e-09, + 1.5952455011079183e-09, + 1.5813914299979515e-09, + 1.564675392622469e-09, + 1.545221934700314e-09, + 1.523173467982208e-09, + 1.4986881112844977e-09, + 1.4719373622173193e-09, + 1.4431036561812023e-09, + 1.412377869198533e-09, + 1.3799568192606186e-09, + 1.346040817321788e-09, + 1.31083131413138e-09, + 1.2745286830742073e-09, + 1.2373301724286234e-09, + 1.1994280532751965e-09, + 1.1610079820176184e-09, + 1.122247589391251e-09, + 1.0833153011704673e-09, + 1.0443693897370192e-09, + 1.0055572503692116e-09, + 9.670148916509198e-10, + 9.288666258067464e-10, + 8.91224942055985e-10, + 8.541905441947299e-10, + 8.178525325039848e-10, + 7.822887096588137e-10, + 7.475659904780676e-10, + 7.137408960140821e-10, + 6.808601135253109e-10, + 6.489611052145538e-10, + 6.180727501540659e-10, + 5.882160054824152e-10, + 5.59404574672873e-10, + 5.316455723851383e-10, + 5.04940177073519e-10, + 4.7928426410012e-10, + 4.5466901356518316e-10, + 4.3108148840310337e-10, + 4.0850517948706727e-10, + 3.869205155434962e-10, + 3.6630533658779774e-10, + 3.4663533037392083e-10, + 3.278844319993274e-10, + 3.1002518733890444e-10, + 2.930290814077152e-10, + 2.768668330800515e-10, + 2.6150865783754524e-10, + 2.46924500392156e-10, + 2.3308423913676347e-10, + 2.1995786443639143e-10, + 2.0751563278407477e-10, + 1.95728198826588e-10, + 1.845667272148283e-10, + 1.740029861643485e-10, + 1.6400942452466144e-10, + 1.545592340593227e-10, + 1.4562639853305157e-10, + 1.3718573109489495e-10, + 1.29212901334339e-10, + 1.2168445327999169e-10, + 5.901422388288999e-11 + ], + "positive_inventory_m2": [ + 1000000000000002.9 + ], + "positive_ion_flux_m2_s": [ + -7123159737476.462, + -21119042885961.223, + -33802946913215.523, + -43926650739914.734, + -50946207641708.46, + -55141736152253.29, + -57312461734604.836, + -58317655333503.41, + -58780508629979.19, + -59040744709425.05, + -59243736844847.0, + -59439635909181.66, + -59642835850946.336, + -59857092581965.0, + -60083611868851.71, + -60323110248752.45, + -60576239545591.31, + -60843657934604.14, + -61126038769288.195, + -61424070173392.94, + -61738453168749.87, + -62069899392015.69, + -62419128416598.695, + -62786864653970.81, + -63173833824286.45, + -63580759072834.06, + -64008356509491.664, + -64457330447835.67, + -64928368049218.53, + -65422133703204.664, + -65939262839011.695, + -66480355507013.77, + -67045969618704.53, + -67636613888976.0, + -68252740708114.01, + -68894738934137.59, + -69562926738464.06, + -70257544653829.38, + -70978748994462.5, + -71726605749360.12, + -72501085117621.36, + -73302056852413.62, + -74129286615397.86, + -74982433356007.36, + -75861047914619.0, + -76764572946002.81, + -77692344172981.67, + -78643592970859.47, + -79617450318588.92, + -80612951891612.6, + -81629044381671.84, + -82664592658213.69, + -83718387606392.8, + -84789154576668.02, + -85875561894473.34, + -86976229395556.4, + -88089736624216.16, + -89214630553631.5, + -90349432438154.95, + -91492643997423.77, + -92642752532739.23, + -93798235108285.95, + -94957561931264.12, + -96119198886484.12, + -97281609493471.44, + -98443256540018.11, + -99602603520395.33, + -100758116269065.73, + -101908264886121.61, + -103051526342036.84, + -104186387742956.3, + -105311350570577.88, + -106424935839310.28, + -107525690108512.86, + -108612192526842.58, + -109683062406122.2, + -110736967511935.83, + -111772632504535.86, + -112788847577633.7, + -113784476792127.23, + -114758465989597.14, + -115709850024378.5, + -116637758922001.64, + -117541423206055.19, + -118420177653196.45, + -119273464106918.84, + -120100832529823.84, + -120901941122464.1, + -121676554784432.78, + -122424542677665.95, + -123145874378838.1, + -123840615389663.34, + -124508921607738.61, + -125151033249691.58, + -125767268214094.98, + -126358015189820.52, + -126923726455002.1, + -127464910692105.31, + -127982125796036.44, + -128475971902617.39, + -128947084574692.45, + -129396128310397.47, + -129823790481912.81, + -130230775572673.92, + -130617799943315.06, + -130985586951953.42, + -131334862579000.44, + -131666351432643.17, + -131980772880166.78, + -132278835229363.92, + -132561214840341.95, + -132828451695297.52, + -133080464857415.14, + -133314644812576.36, + -133519618576443.14, + -133658591844687.69, + -133633749178312.48, + -133227818176949.1, + -132037542748344.78, + -129441870729666.47, + -124659977506749.1, + -116922203148948.78, + -105706909496946.39, + -90940035427248.64, + -73062595165974.23, + -52940416931835.74, + -31666634461945.016, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + }, + "assessment": { + "conservation_compliant": true, + "content_consistent": true, + "reference_accuracy_qualified": null, + "reference_accuracy_status": "not_assessed_shared_constitutive_laws" + }, + "checks": { + "charge_balance_normalized": { + "applicable": true, + "passed": true + }, + "contact_internal_current_spread_relative": { + "applicable": true, + "passed": true + }, + "electron_current_A_m2_state_content_matches": { + "applicable": true, + "passed": true + }, + "finite_positive_populations": { + "applicable": true, + "passed": true + }, + "hole_current_A_m2_state_content_matches": { + "applicable": true, + "passed": true + }, + "interface_current_spread_relative": { + "applicable": true, + "passed": true + }, + "internal_face_current_spread_relative": { + "applicable": true, + "passed": true + }, + "inventory_relative_drift": { + "applicable": true, + "passed": true + }, + "ion_site_occupancy_physical": { + "applicable": true, + "passed": true + }, + "physical_geometry_matches": { + "applicable": true, + "passed": true + }, + "positive_ion_flux_m2_s_state_content_matches": { + "applicable": true, + "passed": true + } + }, + "finite_step": true, + "limits": { + "charge_balance_normalized": 1e-10, + "contact_internal_current_spread_relative": 2e-06, + "interface_current_spread_relative": 2e-06, + "internal_face_current_spread_relative": 2e-06, + "inventory_relative_drift": 1e-10 + }, + "metrics": { + "charge_balance_normalized": 1.2842392600192031e-18, + "contact_internal_current_spread_relative": 8.355791182022135e-12, + "interface_current_spread_relative": 4.858063857463287e-12, + "internal_face_current_spread_relative": 8.355791182022135e-12, + "inventory_relative_drift": 3.1086244689504383e-15 + }, + "passed": true, + "reasons": [], + "schema": "R1IndependentPhysicsRowV1", + "scope": "saved_state_independent_current_charge_assembly_not_full_DAE_oracle", + "shared_constitutive_dependencies": [ + "fe_operators.bernoulli", + "two_sided_interface._material_two_sided_interface_problem", + "two_sided_interface_compensated.evaluate_local_carrier_pair", + "compensated.DD", + "one_dimensional_mechanism_r1_global_reference.evaluate_independent_saved_high_ion_transport" + ] + }, + "local_scale": [ + 2.5951999786435536e-14, + 3.878700853926815e-14, + 16694.821269249507, + 10580.80998663068, + 16694.821269249507, + 10580.80998663068 + ], + "poisson_scale": [ + 3.765564615313958e-14, + 3.54615209761182e-14, + 3.3400442220867445e-14, + 3.146435617735993e-14, + 2.964569754730839e-14, + 2.7937359882595423e-14, + 2.633266781666979e-14, + 2.4825350980411758e-14, + 2.3409519500528085e-14, + 2.2079640984743803e-14, + 2.083051890385784e-14, + 1.9657272286193556e-14, + 1.8555316645096934e-14, + 1.7520346064953486e-14, + 1.654831637572964e-14, + 1.56354293502912e-14, + 1.4778117862748466e-14, + 1.3973031949833105e-14, + 1.3217025720844629e-14, + 1.2507145065014236e-14, + 1.1840616108252945e-14, + 1.1214834374177461e-14, + 1.062735460706278e-14, + 1.0075881216952278e-14, + 9.558259309589638e-15, + 9.07246626612338e-15, + 8.61660383967932e-15, + 8.18889073791949e-15, + 7.787655662603971e-15, + 7.411330778956708e-15, + 7.058445589316688e-15, + 6.727621187136784e-15, + 6.417564868876249e-15, + 6.127065082733461e-15, + 5.8549866944812134e-15, + 5.600266551904719e-15, + 5.361909330511474e-15, + 5.138983644279081e-15, + 4.930618406244078e-15, + 4.735999424710795e-15, + 4.554366221779579e-15, + 4.385009061762838e-15, + 4.227266177877446e-15, + 4.080521186376651e-15, + 3.944200678017205e-15, + 3.817771977450281e-15, + 3.7007410617809435e-15, + 3.592650630162956e-15, + 3.4930783168858204e-15, + 3.4016350409715953e-15, + 3.3179634858324476e-15, + 3.2417367030483777e-15, + 3.1726568348091485e-15, + 3.1104539500283997e-15, + 3.0548849895821293e-15, + 3.005732816549788e-15, + 2.9628053677471132e-15, + 2.9259349032350315e-15, + 2.8949773508722195e-15, + 2.869811743350079e-15, + 2.8503397455103273e-15, + 2.8364852700982524e-15, + 2.8281941804501133e-15, + 2.8254340789529334e-15, + 2.8281941804501133e-15, + 2.8364852700982524e-15, + 2.8503397455103273e-15, + 2.869811743350079e-15, + 2.8949773508722258e-15, + 2.9259349032350315e-15, + 2.962805367747107e-15, + 3.005732816549788e-15, + 3.0548849895821293e-15, + 3.1104539500283997e-15, + 3.1726568348091485e-15, + 3.2417367030483777e-15, + 3.317963485832439e-15, + 3.4016350409716048e-15, + 3.4930783168858188e-15, + 3.592650630162938e-15, + 3.700741061780949e-15, + 3.817771977450302e-15, + 3.944200678017203e-15, + 4.080521186376629e-15, + 4.227266177877439e-15, + 4.385009061762852e-15, + 4.554366221779585e-15, + 4.735999424710778e-15, + 4.930618406244097e-15, + 5.138983644279099e-15, + 5.361909330511487e-15, + 5.60026655190474e-15, + 5.854986694481194e-15, + 6.127065082733462e-15, + 6.417564868876263e-15, + 6.7276211871367505e-15, + 7.058445589316662e-15, + 7.411330778956749e-15, + 7.787655662604013e-15, + 8.188890737919427e-15, + 8.616603839679249e-15, + 9.072466266123287e-15, + 9.558259309589707e-15, + 1.0075881216952408e-14, + 1.062735460706272e-14, + 1.1214834374177551e-14, + 1.1840616108252865e-14, + 1.2507145065014199e-14, + 1.3217025720844744e-14, + 1.397303194983286e-14, + 1.47781178627484e-14, + 1.5635429350291466e-14, + 1.6548316375729542e-14, + 1.7520346064953414e-14, + 1.8555316645097145e-14, + 1.9657272286193325e-14, + 2.0830518903857646e-14, + 2.2079640984744434e-14, + 2.3409519500528647e-14, + 2.4825350980411597e-14, + 2.6332667816669053e-14, + 2.7937359882594697e-14, + 2.964569754730783e-14, + 3.146435617736082e-14, + 3.340044222086796e-14, + 3.5461520976118024e-14, + 2.795889651832315e-14, + 2.795889651832315e-14, + 3.5461520976118024e-14, + 3.340044222086645e-14, + 3.146435617736065e-14, + 2.964569754730918e-14, + 2.7937359882594697e-14, + 2.6332667816669053e-14, + 2.4825350980411597e-14, + 2.3409519500528647e-14, + 2.2079640984744434e-14, + 2.0830518903857646e-14, + 1.9657272286193325e-14, + 1.8555316645097145e-14, + 1.7520346064953414e-14, + 1.6548316375729542e-14, + 1.5635429350291132e-14, + 1.477811786274836e-14, + 1.3973031949833155e-14, + 1.3217025720844744e-14, + 1.2507145065014413e-14, + 1.1840616108252889e-14, + 1.1214834374177359e-14, + 1.062735460706272e-14, + 1.0075881216952269e-14, + 9.558259309589693e-15, + 9.07246626612341e-15, + 8.616603839679249e-15, + 8.188890737919427e-15, + 7.787655662604013e-15, + 7.411330778956749e-15, + 7.058445589316662e-15, + 6.727621187136812e-15, + 6.417564868876269e-15, + 6.127065082733407e-15, + 5.854986694481194e-15, + 5.60026655190474e-15, + 5.361909330511487e-15, + 5.138983644279099e-15, + 4.930618406244097e-15, + 4.735999424710778e-15, + 4.554366221779556e-15, + 4.385009061762851e-15, + 4.227266177877467e-15, + 4.080521186376629e-15, + 3.944200678017181e-15, + 3.8177719774503015e-15, + 3.700741061780969e-15, + 3.592650630162956e-15, + 3.493078316885803e-15, + 3.40163504097157e-15, + 3.317963485832455e-15, + 3.2417367030483935e-15, + 3.1726568348091343e-15, + 3.1104539500283994e-15, + 3.0548849895821435e-15, + 3.005732816549788e-15, + 2.962805367747107e-15, + 2.9259349032350315e-15, + 2.8949773508722376e-15, + 2.8698117433500667e-15, + 2.8503397455103095e-15, + 2.8364852700982524e-15, + 2.828194180450119e-15, + 2.8254340789529563e-15, + 2.828194180450119e-15, + 2.8364852700982524e-15, + 2.8503397455103095e-15, + 2.8698117433500667e-15, + 2.8949773508722376e-15, + 2.9259349032350315e-15, + 2.962805367747107e-15, + 3.005732816549788e-15, + 3.0548849895821435e-15, + 3.1104539500283994e-15, + 3.1726568348091343e-15, + 3.2417367030483935e-15, + 3.3179634858324223e-15, + 3.401635040971606e-15, + 3.493078316885836e-15, + 3.592650630162919e-15, + 3.700741061780969e-15, + 3.8177719774503015e-15, + 3.944200678017181e-15, + 4.080521186376629e-15, + 4.227266177877467e-15, + 4.385009061762851e-15, + 4.554366221779588e-15, + 4.735999424710776e-15, + 4.9306184062440265e-15, + 5.1389836442791025e-15, + 5.3619093305115255e-15, + 5.60026655190474e-15, + 5.854986694481246e-15, + 6.1270650827334e-15, + 6.417564868876211e-15, + 6.727621187136812e-15, + 7.0584455893165855e-15, + 7.411330778956757e-15, + 7.787655662604096e-15, + 8.188890737919528e-15, + 8.616603839679236e-15, + 9.072466266123175e-15, + 9.558259309589707e-15, + 1.0075881216952562e-14, + 1.0627354607062701e-14, + 1.1214834374177568e-14, + 1.1840616108252628e-14, + 1.2507145065013773e-14, + 1.3217025720845277e-14, + 1.3973031949833095e-14, + 1.4778117862748432e-14, + 1.5635429350291422e-14, + 1.654831637572917e-14, + 1.7520346064952944e-14, + 1.85553166450972e-14, + 1.9657272286194442e-14, + 2.0830518903858236e-14, + 2.2079640984744434e-14, + 2.3409519500527807e-14, + 2.4825350980411698e-14, + 2.633266781666787e-14, + 2.7937359882593772e-14, + 2.964569754731038e-14, + 3.146435617736065e-14, + 3.340044222086645e-14, + 3.546152097611995e-14, + 3.765564615313995e-14 + ], + "previous_coordinate": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "previous_state": { + "capture_m2_s": [ + [ + -903994195.3703151, + -3926012.172747274, + -44840313357.97461, + -78773.70441822849 + ] + ], + "local_residual": [ + 0.0, + -1.976517278408492e-17, + 7.3314938307242254, + -256.5083946208455, + -4.446733797639196, + 3.245539414078259 + ], + "n_m3": [ + 2515095827087.2163, + 2508793556354.7217, + 2502128356449.5947, + 2495082141841.1523, + 2487636277987.925, + 2479771611284.8813, + 2471468506711.2363, + 2462706893934.1553, + 2453466322630.2183, + 2443726027789.4434, + 2433465005766.469, + 2422662101821.8384, + 2411296109845.499, + 2399345884881.7583, + 2386790468967.1333, + 2373609230660.6206, + 2359782018474.89, + 2345289328213.018, + 2330112483968.8657, + 2314233832263.45, + 2297636948460.9204, + 2280306854240.83, + 2262230244494.2793, + 2243395721575.504, + 2223794034373.8174, + 2203418319191.0117, + 2182264338927.3267, + 2160330716610.0044, + 2137619158859.5803, + 2114134664508.6616, + 2089885713279.0083, + 2064884429220.74, + 2039146713542.194, + 2012692341533.7927, + 1985545018542.402, + 1957732390397.5623, + 1929286004336.7676, + 1900241217338.5884, + 1870637049830.4653, + 1840515983987.316, + 1809923707242.9138, + 1778908803160.364, + 1747522393398.7334, + 1715817736105.744, + 1683849787596.7192, + 1651674735565.7563, + 1619349513251.6309, + 1586931304868.7263, + 1554477053159.772, + 1522042980080.2463, + 1489684131357.0208, + 1457453954970.757, + 1425403922503.2805, + 1393583200813.3196, + 1362038379712.2249, + 1330813259289.914, + 1299948698385.6924, + 1269482523512.174, + 1239449495434.292, + 1209881328682.2678, + 1180806757631.9553, + 1152251641497.1487, + 1124239099703.318, + 1096789668681.6544, + 1069921471144.3386, + 1043650389353.4233, + 1017990234733.3794, + 992952907331.8312, + 968548540022.2722, + 944785623873.3064, + 921671112681.9921, + 899210506191.731, + 877407912902.1584, + 856266094559.6956, + 835786495342.1018, + 815969259387.7709, + 796813240662.7772, + 778316009217.1349, + 760473857685.2311, + 743281811478.0275, + 726733645545.0984, + 710821909912.531, + 695537965478.5104, + 680872030826.7327, + 666813240138.8226, + 653349711686.1196, + 640468625880.7181, + 628156311480.0178, + 616398338270.5774, + 605179614403.4808, + 594484486502.6061, + 584296840707.3342, + 574600202921.8197, + 565377836710.2098, + 556612837480.791, + 548288221827.23987, + 540387011128.3437, + 532892308737.02637, + 525787370305.79865, + 519055666994.2779, + 512680941478.72754, + 506647256833.54224, + 500939038478.36334, + 495541109483.25867, + 490438719599.592, + 485617568437.9678, + 481063823249.62506, + 476764131786.3211, + 472705630719.1022, + 468875950090.4688, + 465263214260.5409, + 461856039786.36163, + 458643530648.92, + 455615271213.1366, + 452761317276.33374, + 450072185529.54504, + 447538841725.0389, + 445152687813.625, + 442905548286.4754, + 440789655928.80554, + 438797637167.36914, + 436922497169.49725, + 435157604829.14166, + 433496677755.4183, + 431933767361.2162, + 430463244134.5124, + 429079783161.7759, + 427778349961.38367, + 20310231274091.098, + 20257525278151.574, + 20201711688277.387, + 20142626491431.285, + 20080099472442.734, + 20013954306726.74, + 19944008708014.53, + 19870074638270.957, + 19791958587438.945, + 19709461931090.074, + 19622381374463.67, + 19530509491661.113, + 19433635369011.9, + 19331545361712.48, + 19224023972765.28, + 19110854863025.25, + 18991822000661.92, + 18866710957630.348, + 18735310359682.305, + 18597413495059.863, + 18452820085241.613, + 18301338218877.777, + 18142786447389.887, + 17976996037530.977, + 17803813372547.64, + 17623102489369.34, + 17434747734615.414, + 17238656517066.908, + 17034762128726.559, + 16823026600821.604, + 16603443555110.36, + 16376041004904.07, + 16140884054477.691, + 15898077440197.695, + 15647767852133.086, + 15390145971297.928, + 15125448155403.686, + 14853957705367.87, + 14576005646092.873, + 14291970958539.055, + 14002280206000.35, + 13707406505967.549, + 13407867810011.555, + 13104224467674.201, + 12797076066251.02, + 12487057556129.281, + 12174834690626.07, + 11861098829287.328, + 11546561173713.34, + 11231946524246.945, + 10917986663433.354, + 10605413487191.994, + 10294952016233.371, + 9987313427795.887, + 9683188250665.525, + 9383239864448.258, + 9088098437019.213, + 8798355422321.363, + 8514558724539.6045, + 8237208614967.454, + 7966754465401.48, + 7703592337747.0, + 7448063444729.95, + 7200453472349.703, + 6960992731936.033, + 6729857089333.757, + 6507169601520.676, + 6293002777390.751, + 6087381369756.212, + 5890285599925.857, + 5701654714320.679, + 5521390774190.367, + 5349362584119.725, + 5185409672113.916, + 5029346243036.258, + 4880965037435.7295, + 4740041038746.409, + 4606334982991.978, + 4479596635994.553, + 4359567813347.202, + 4245985127769.478, + 4138582456757.7593, + 4037093130567.8384, + 3941251846471.6074, + 3850796319963.5967, + 3765468687204.4087, + 3685016675574.702, + 3609194560909.236, + 3537763930882.7993, + 3470494274293.3477, + 3407163415726.229, + 3347557814416.7515, + 3291472745166.816, + 3238712377989.4233, + 3189089771847.271, + 3142426796470.049, + 3098553994839.097, + 3057310397553.7256, + 3018543298969.606, + 2982108003756.0356, + 2947867551353.162, + 2915692424751.92, + 2885460249049.2607, + 2857055484370.8613, + 2830369116982.0625, + 2805298351729.3896, + 2781746308366.8984, + 2759621723805.648, + 2738838661884.829, + 2719316231886.7695, + 2700978316698.974, + 2683753311257.9033, + 2667573871685.5737, + 2652376675348.0884, + 2638102191908.5166, + 2624694465330.9873, + 2612100906690.7266, + 2600272097569.002, + 2589161603755.698, + 2578725798932.5977, + 2568923697985.199, + 2559716799561.9443, + 2551068937493.6113, + 2542946140672.0396, + 2535316500991.5454, + 2528150048955.9927, + 2521418636563.4795, + 2515095827087.2163 + ], + "occupancy": [ + 7.928286662266792e-05 + ], + "p_m3": [ + 2515095827087.2163, + 2521367279959.2305, + 2528033174494.5225, + 2535117617847.4526, + 2542646096185.607, + 2550645540648.5474, + 2559144394568.0234, + 2568172681680.185, + 2577762075010.2656, + 2587945966046.411, + 2598759533730.101, + 2610239812708.675, + 2622425760196.1895, + 2635358320697.565, + 2649080487746.453, + 2663637361689.544, + 2679076202435.8203, + 2695446475957.4263, + 2712799893197.5356, + 2731190439909.3647, + 2750674395811.8267, + 2771310341323.576, + 2793159150012.3887, + 2816283964796.066, + 2840750155847.202, + 2866625258100.695, + 2893978886253.609, + 2922882625182.2363, + 2953409893803.3174, + 2985635780577.3154, + 3019636849111.723, + 3055490912678.971, + 3093276776921.7866, + 3133073950598.4033, + 3174962324913.8613, + 3219021822785.149, + 3265332020309.789, + 3313971743703.545, + 3365018646034.9404, + 3418548769167.2266, + 3474636097367.6523, + 3533352110002.1406, + 3594765341517.7715, + 3658940957464.4287, + 3725940355501.3296, + 3795820800130.7573, + 3868635099190.4834, + 3944431328887.3003, + 4023252612315.5874, + 4105136953994.606, + 4190117130025.723, + 4278220630091.0864, + 4369469643868.706, + 4463881080689.504, + 4561466607675.784, + 4662232688419.501, + 4766180601795.615, + 4873306418994.874, + 4983600916588.938, + 5097049404547.482, + 5213631450749.894, + 5333320487682.178, + 5456083292569.452, + 5581879338997.112, + 5710660025775.631, + 5842367797059.26, + 5976935176028.874, + 6114283742363.225, + 6254323090707.344, + 6396949812959.356, + 6542046551055.009, + 6689481168696.714, + 6839106089973.34, + 6990757849985.443, + 7144256897491.16, + 7299407682408.327, + 7455999052103.381, + 7613804970133.42, + 7772585560018.133, + 7932088465241.021, + 8092050505518.739, + 8252199599019.664, + 8412256911100.389, + 8571939182646.915, + 8730961185596.402, + 8889038249806.906, + 9045888804253.26, + 9201236876445.803, + 9354814496909.865, + 9506363960228.188, + 9655639900225.9, + 9802411144063.611, + 9946462317844.578, + 10087595184509.496, + 10225629702939.39, + 10360404804955.396, + 10491778894083.824, + 10619630076313.025, + 10743856138455.264, + 10864374294120.736, + 10981120720574.453, + 11094049912039.969, + 11203133876278.412, + 11308361201666.135, + 11409736021636.094, + 11507276902292.191, + 11601015677487.45, + 11690996253710.742, + 11777273404911.227, + 11859911575029.926, + 11938983703563.338, + 12014570087052.967, + 12086757287052.027, + 12155637092891.654, + 12221305545526.117, + 12283862026850.527, + 12343408417248.35, + 12400048322647.44, + 12453886371138.27, + 12505027578149.693, + 12553576778330.904, + 12599638121622.262, + 12643314630493.953, + 12684707814969.367, + 12723917341770.475, + 12761040753776.127, + 12796173235862.525, + 12829407423181.967, + 270366762119.59824, + 271213817596.6222, + 272115616795.30902, + 273075701749.66058, + 274097843702.99017, + 275186057845.2641, + 276344618966.07837, + 277578078072.41077, + 278891280020.7349, + 280289382213.8893, + 281777874412.4701, + 283362599710.32, + 285049776721.25696, + 286846023021.9358, + 288758379891.67584, + 290794338384.2138, + 292961866759.3688, + 295269439292.491, + 297726066467.63135, + 300341326544.9298, + 303125398473.52576, + 306089096098.3057, + 309243903580.53546, + 312602011918.8578, + 316176356416.57574, + 319980654894.52606, + 324029446392.5563, + 328338130038.4981, + 332923003689.2813, + 337801301862.9992, + 342991232384.6373, + 348512011058.78345, + 354383893561.58264, + 360628203610.21484, + 367267356322.0013, + 374324875518.5045, + 381825403563.6533, + 389794702151.44257, + 398259642283.84235, + 407248181505.0163, + 416789326293.84784, + 426913077368.0189, + 437650355531.32214, + 449032905612.9552, + 461093176013.9066, + 473864171410.11786, + 487379276275.83215, + 501672047103.8025, + 516775971524.3936, + 532724192980.46515, + 549549200209.9937, + 567282481531.8381, + 585954144826.7227, + 605592505148.452, + 626223643079.0812, + 647870938231.6951, + 670554583673.5529, + 694291088442.8427, + 719092776712.6196, + 744967293444.8801, + 771917127509.1643, + 799939164132.996, + 829024279134.7672, + 859156987589.4968, + 890315159340.9675, + 922469813055.5894, + 955584999296.821, + 989617781389.7301, + 1024518320679.3917, + 1060230070226.6011, + 1096690078120.5833, + 1133829398533.074, + 1171573605521.1191, + 1209843401545.1255, + 1248555309842.22, + 1287622437309.3816, + 1326955292527.6147, + 1366462642069.9617, + 1406052387358.0564, + 1445632444074.7432, + 1485111606507.9192, + 1524400380147.589, + 1563411767317.3152, + 1602061992513.6406, + 1640271156336.2874, + 1677963809320.2517, + 1715069439506.6353, + 1751522870111.339, + 1787264566074.213, + 1822240850512.6357, + 1856404034097.3962, + 1889712462080.8936, + 1922130485094.6768, + 1953628360899.6423, + 1984182095014.5862, + 2013773228588.2263, + 2042388582041.8896, + 2070019962927.8276, + 2096663846165.0198, + 2122321034357.1636, + 2146996305324.1882, + 2170698053305.797, + 2193437929575.2434, + 2215230487448.6523, + 2236092835925.979, + 2256044305471.1606, + 2275106128742.3804, + 2293301138440.5703, + 2310653483857.1553, + 2327188367172.4404, + 2342931800097.685, + 2357910381052.116, + 2372151092732.16, + 2385681119647.231, + 2398527684978.7173, + 2410717905935.7896, + 2422278666655.7734, + 2433236507602.1226, + 2443617530352.2695, + 2453447316639.706, + 2462750860502.7373, + 2471552512410.222, + 2479875934255.0415, + 2487744064153.071, + 2495179090027.511, + 2502202431019.5557, + 2508834725820.383, + 2515095827087.2163 + ], + "phi_V": [ + 0.0, + -6.297052455897922e-05, + -0.00012973141170526532, + -0.00020049299128761125, + -0.00027547499945967566, + -0.00035490670549945084, + -0.0004390269962495464, + -0.00052808441136379, + -0.0006223371220667547, + -0.0007220528455165682, + -0.000827508686190324, + -0.0009389908951007107, + -0.0010567945371556624, + -0.0011812230565893525, + -0.0013125877301202954, + -0.001451206997349, + -0.0015974056579288567, + -0.0017515139252710465, + -0.001913866327020851, + -0.0020848004433137632, + -0.002264655474931611, + -0.0024537706349778807, + -0.002652483359622235, + -0.002861127335868406, + -0.003080030347211412, + -0.0033095119414942955, + -0.003549880929262126, + -0.0038014327254342136, + -0.004064446552144579, + -0.004339182526077187, + -0.0046258786594560826, + -0.004924747809914107, + -0.00523597462058977, + -0.0055597124977806575, + -0.0058960806790626374, + -0.006245161449676185, + -0.006606997568861893, + -0.0069815899703500476, + -0.007368895802020421, + -0.007768826868502917, + -0.008181248536876707, + -0.00860597915939296, + -0.009042790058130164, + -0.009491406104644873, + -0.009951506913104785, + -0.0104227286483491, + -0.010904666431268858, + -0.011396877303473512, + -0.011898883692232408, + -0.012410177296130311, + -0.012930223292845468, + -0.013458464754106697, + -0.013994327140350855, + -0.014537222739938477, + -0.015086554915865361, + -0.015641722027343492, + -0.016202120904692526, + -0.01676714977357033, + -0.017336210548145853, + -0.01790871044142411, + -0.018484062873237766, + -0.01906168769076347, + -0.019641010750931245, + -0.020221462946796703, + -0.02080247878890787, + -0.021383494676155378, + -0.021963947007106497, + -0.022543270291343176, + -0.023120895420326363, + -0.023696248248785346, + -0.024268748621121265, + -0.02483780995385511, + -0.025402839456189447, + -0.025963239038051627, + -0.026518406920475166, + -0.02706773992883202, + -0.027610636417125578, + -0.028146499742945412, + -0.028674742189111462, + -0.029194789210447766, + -0.02970608387305799, + -0.030208091349039366, + -0.03070030333149242, + -0.03118224224234708, + -0.03165346511806051, + -0.032113567074596006, + -0.032562184272120716, + -0.032998996320411395, + -0.033423728086934494, + -0.03383615088999311, + -0.0342360830783872, + -0.034623390016072134, + -0.03499798350488126, + -0.035359820690220964, + -0.03570890250366271, + -0.036045271702592765, + -0.03636901057068796, + -0.036680238344236636, + -0.036979108428507906, + -0.037265805465853695, + -0.03754054231334339, + -0.03780355698284277, + -0.03805510959086374, + -0.03829547935953643, + -0.03852496170392669, + -0.03874386543485928, + -0.038952510100573906, + -0.03915122348506364, + -0.03934033927591741, + -0.03952019490996355, + -0.039691129601025325, + -0.039853482550654136, + -0.040007591339794195, + -0.04015379049692936, + -0.0402924102363299, + -0.04042377535851868, + -0.040548204303960896, + -0.040666008350204404, + -0.04077749094221768, + -0.04088294714543573, + -0.04098266321102221, + -0.041076916243029914, + -0.04116597395747512, + -0.041250094523766295, + -0.0413295264793988, + -0.04140450870931046, + -0.04147527048179509, + -0.04154203153340027, + -0.04166807398874501, + -0.04173499946070716, + -0.04180606030997842, + -0.041881499958442654, + -0.04196157458757899, + -0.04204655360169078, + -0.04213672007926883, + -0.04223237120732682, + -0.042333818692842896, + -0.042441389144675164, + -0.04255542441849466, + -0.0426762819163984, + -0.042804334831929164, + -0.04293997233024354, + -0.04308359965214191, + -0.04323563812961326, + -0.04339652509946827, + -0.04356671370055155, + -0.04374667253895711, + -0.04393688520465177, + -0.04413784962196067, + -0.04435007721553241, + -0.044574091872713904, + -0.04481042868277784, + -0.04505963243321339, + -0.04532225584337206, + -0.04559885751622178, + -0.04588999958987537, + -0.04619624507199699, + -0.04651815484222918, + -0.04685628431049827, + -0.0472111797225219, + -0.04758337410811997, + -0.04797338287307903, + -0.04838169904137195, + -0.048808788161510866, + -0.04925508289869643, + -0.04972097734317583, + -0.05020682107475494, + -0.050712913033584744, + -0.051239495257993234, + -0.05178674656101244, + -0.05235477622807693, + -0.05294361782879549, + -0.053553223245340065, + -0.05418345702841039, + -0.0548340911984713, + -0.05550480061454792, + -0.05619515903482777, + -0.05690463599225177, + -0.057632594603779654, + -0.05837829042382631, + -0.0591408714403092, + -0.05991937929578693, + -0.060712751796452115, + -0.06151982674856104, + -0.062339347135735204, + -0.06316996762211453, + -0.06401026233640379, + -0.06485873386138535, + -0.0657138233235228, + -0.06657392144894288, + -0.06743738042644662, + -0.0683025263962781, + -0.06916767236607962, + -0.07003113134349305, + -0.07089122946876356, + -0.0717463189306929, + -0.0725947904554093, + -0.07343508516937805, + -0.0742657056553836, + -0.07508522604213307, + -0.07589230099376906, + -0.07668567349391611, + -0.07746418134883355, + -0.07822676236471714, + -0.07897245818412928, + -0.0797004167949907, + -0.0804098937517201, + -0.08110025217128083, + -0.08177096158661751, + -0.08242159575592102, + -0.0830518295382202, + -0.08366143495398361, + -0.0842502765539139, + -0.08481830622018625, + -0.08536555752241269, + -0.08589213974603031, + -0.08639823170407392, + -0.08688407543487402, + -0.08734996987858362, + -0.08779626461501074, + -0.08822335373440443, + -0.08863166990196678, + -0.0890216786662114, + -0.08939387305111243, + -0.0897487684624572, + -0.09008689793006681, + -0.09040880769965931, + -0.09071505318116176, + -0.09100619525421663, + -0.09128279692648887, + -0.0915454203360909, + -0.0917946240859911, + -0.09203096089554047, + -0.09225497555222834, + -0.09246720314532682, + -0.09266816756218273, + -0.09285838022744432, + -0.09303833906543606, + -0.09320852766612449, + -0.09336941463560283, + -0.09352145311271563, + -0.09366508043427234, + -0.09380071793226193, + -0.09392877084748388, + -0.09404962834509444, + -0.09416366361863572, + -0.09427123407020388, + -0.09437268155546963, + -0.09446833268329033, + -0.09455849916064374, + -0.09464347817454277, + -0.09472355280347793, + -0.09479899245175186, + -0.09487005330084326, + -0.09493697877263532, + -0.09499999999999964 + ], + "poisson_residual_C_m2": [ + -1.5343441369234503e-20, + 3.588831467626363e-20, + -1.3786873024317456e-19, + -5.313877778637478e-20, + -2.4319897219552357e-20, + 3.658106210346525e-19, + -9.269181334784678e-20, + -4.0808288650253147e-19, + 4.834732495084177e-19, + -3.2679633843261043e-19, + 7.378692148904472e-20, + -3.17034868274513e-19, + 1.0987483776517731e-18, + -1.0473844126071965e-18, + 1.374573288300502e-19, + 1.2008804449914952e-19, + 5.716641695070871e-19, + -1.1621271968945284e-18, + 1.0053452823655986e-18, + 1.4474580012922488e-19, + -6.0165219220205375e-19, + 6.416601687109892e-19, + -1.2625044745012886e-18, + 5.520798837726049e-19, + 2.9877096456692505e-19, + -3.8667781779486506e-20, + 2.769254936390304e-19, + -2.7384458360723336e-19, + -7.521614225576981e-19, + 4.1274654081875787e-19, + 1.1932541014997636e-18, + -9.600053934343196e-19, + -3.301869411896754e-19, + 3.9411562578092464e-19, + -4.249849435075648e-19, + 3.6110663005052054e-19, + 3.3949155719712647e-19, + -8.068107094480347e-19, + 8.696932675632881e-20, + 1.4135634819032175e-18, + -2.1171727244791383e-18, + 2.289097643995232e-18, + -1.1127923650708112e-18, + -1.0318106023775367e-18, + 1.5999175630440708e-18, + -1.54743639976397e-18, + 2.5526181372628474e-18, + -1.9579544628064954e-18, + -6.355869858152683e-19, + 7.7099463946322525e-19, + 1.2289676709140054e-18, + -1.1936023332797112e-18, + -2.0774628703549675e-19, + 6.476638777556458e-19, + -1.6403601221292508e-18, + 2.060459677437448e-18, + 1.0770500129072685e-19, + -8.651088636748216e-19, + -7.745944257898999e-19, + 2.176110827125886e-18, + -2.1293212733798334e-18, + 2.4468710100607964e-18, + -4.4483739000111235e-18, + 3.412322326700973e-18, + 9.834593199379044e-19, + -3.022400491432714e-18, + 1.029248078175816e-18, + 1.1480543523408435e-18, + 8.310884201383707e-19, + -3.2099686080780014e-18, + 3.233142808755831e-19, + 2.835234342564773e-18, + -1.4843433027649434e-18, + -2.4142900471950623e-19, + -3.077575102038422e-19, + 3.597288030522919e-19, + -1.6428327523923253e-19, + 7.237940873762646e-19, + -6.873592296060935e-19, + 1.0793628578648245e-18, + -2.758039525639124e-19, + -3.5338098716397784e-18, + 2.0953445397241807e-18, + 2.6058409232274555e-18, + 3.8357878995255994e-20, + -3.696786773248585e-18, + -1.738201930296642e-18, + 1.0653878225807787e-17, + -1.0246414863356335e-17, + 9.047153822138424e-19, + 1.0467884825925353e-17, + -1.2781878190886987e-17, + 8.296558830794162e-18, + -1.001165278088878e-17, + 9.736092132765481e-18, + -4.5650428278643295e-18, + 4.624085028014339e-18, + -1.2707816174377612e-17, + 1.3897368990730092e-17, + -4.472118284940295e-18, + 1.4318739900126007e-18, + 4.938771461170755e-18, + -8.896119174036689e-18, + 5.938474972221914e-19, + -3.1659466930090572e-18, + 7.141953570313077e-18, + 9.467356962924841e-19, + -2.8955288234057374e-18, + 7.18971979170878e-18, + -1.0657959264941041e-17, + 3.822831076228516e-18, + -9.338636632313659e-18, + 3.602627410095392e-18, + 1.5297441067655583e-17, + -4.1368837343664545e-17, + 6.594537145616197e-17, + -4.860069007588841e-17, + 2.0778042313449893e-17, + 6.627918811786885e-18, + -1.9861150575608396e-17, + -3.1481134640071656e-17, + 4.428965617691935e-17, + 9.258068868342487e-18, + -8.466430022647573e-18, + -2.7301317706558515e-17, + 6.423607359931225e-17, + -5.1693180745661343e-17, + 1.5004869176770793e-17, + 1.3588595506735145e-17, + -1.9001744321929525e-17, + -3.7993288593623574e-17, + 4.861044710303369e-17, + 1.1382431744754458e-18, + -2.526617621804517e-17, + -7.346618844196575e-19, + 1.060865888275242e-17, + 1.0164106472331672e-17, + -4.860654246771092e-18, + -8.532090060758905e-18, + 8.307893737059589e-18, + -4.175007862023325e-18, + -1.3026416652194128e-17, + 2.2310499349480022e-17, + -5.2557134315644345e-18, + 6.931406651738282e-18, + -1.146952517546062e-17, + -6.48900782691417e-18, + 6.1141221144771755e-18, + 2.7021682792299234e-18, + -3.395369737160666e-18, + 4.176706246613121e-18, + 1.3933691431516144e-18, + -3.57916252845338e-18, + -9.092432431274095e-19, + 4.904578752401996e-18, + -5.534043662779852e-18, + 2.1568639825930595e-18, + -2.749269761585161e-18, + 1.3421999250026914e-18, + 1.0014532198166496e-18, + 8.584103140441847e-19, + 4.6561529489178064e-18, + -1.0698979501076297e-17, + 1.0361339314922327e-17, + -4.53993281282627e-18, + -3.724399529127149e-18, + -8.516959604668883e-19, + 1.0327005985462817e-17, + -8.8382263505879e-18, + 3.3069499939662583e-18, + 2.632684488634419e-18, + -1.005167538682911e-17, + 1.2807971399543942e-17, + -7.572281545280074e-18, + 9.066505045053189e-20, + 5.131097052576824e-18, + -7.437963870315471e-18, + 4.709814210812115e-18, + -1.8836306143295034e-18, + 1.8346816441212067e-18, + -1.1201670146966968e-19, + 3.8888247139303267e-19, + -2.6463694540913987e-18, + -1.0319836208076227e-18, + 1.463190585039034e-18, + 3.1854346978017665e-18, + -5.772866362819625e-19, + -1.2927406500366402e-18, + -5.2762363853738054e-18, + 1.0596010091387458e-17, + -9.624173425796472e-18, + 6.945308354947758e-18, + -5.070268483063504e-18, + 5.050566261580028e-18, + -3.8007787981068866e-19, + -3.472938397895141e-18, + -1.489065573073878e-18, + 2.1450785453598718e-18, + 3.288167168444045e-18, + -5.935042163150474e-18, + -5.158436046855002e-19, + 9.155978564292048e-18, + -9.701788768235638e-18, + 4.596513943293939e-18, + 5.437050216986938e-19, + -3.585271284978276e-18, + -4.7018303384639406e-18, + 2.1168748398117584e-17, + -1.1139811421937045e-17, + -1.0193755124122217e-17, + 7.494657126368883e-18, + 2.8904842870020736e-18, + -4.842169403714603e-18, + 4.468105815555392e-19, + 2.321585852872873e-18, + -6.0283621788404975e-18, + 1.3256236776057745e-17, + -1.0893084154047925e-17, + 1.0336343684178053e-18, + 4.408127479918806e-18, + 1.8204215339430456e-19, + -1.0295642432635333e-17, + 2.1985398931036728e-17, + -2.2406230298667063e-17, + 6.1632587338723565e-18, + -1.7533455006155912e-17, + 3.817760072189121e-17, + -4.082029472010559e-17, + 4.5970598996206565e-17, + -4.3907992752357416e-17, + 3.2966870855954196e-17, + -2.2652513095664595e-17, + 2.8115503459243956e-17, + -1.402043356626842e-17, + -2.7504002551223947e-17, + 3.6350491917683667e-17, + -2.6254943494760263e-17, + 5.1798174120317817e-17, + -1.0889544787029496e-16, + 1.2992323976956094e-16, + -5.971122771959616e-17, + 2.4917736467653818e-17, + -4.0548503053692945e-17, + -3.016699435722821e-17, + 7.322385536861911e-17, + -4.008170700879904e-17, + 3.5953492664057674e-17, + -1.3518762017801427e-17, + 4.7673101548966354e-17, + -1.2478949337069597e-16, + 5.670457251318409e-17, + -2.79525020917305e-17, + 6.883292715423741e-17, + -4.941613213545778e-17 + ], + "positive_inventory_m2": [ + 1000000000000002.9 + ], + "positive_m3": [ + 5.977186525286279e+21, + 5.987460007753037e+21, + 5.998488484258728e+21, + 6.010310264112843e+21, + 6.02295155508169e+21, + 6.036431502525846e+21, + 6.050770215019191e+21, + 6.065995110631512e+21, + 6.082142946565253e+21, + 6.099258416399036e+21, + 6.117391722215327e+21, + 6.136596726374028e+21, + 6.156929989220601e+21, + 6.178450379949409e+21, + 6.201218930563841e+21, + 6.225298756958379e+21, + 6.250754980906184e+21, + 6.277654632626911e+21, + 6.30606652735307e+21, + 6.33606111245024e+21, + 6.367710282210317e+21, + 6.40108715754746e+21, + 6.436265827930199e+21, + 6.473321053053797e+21, + 6.512327922022944e+21, + 6.553361468191838e+21, + 6.596496238314206e+21, + 6.641805815290635e+21, + 6.689362294602375e+21, + 6.739235715462358e+21, + 6.791493448839745e+21, + 6.846199545775395e+21, + 6.903414050837689e+21, + 6.963192287107951e+21, + 7.025584120719866e+21, + 7.090633214663969e+21, + 7.158376283225317e+21, + 7.228842359990207e+21, + 7.302052093742109e+21, + 7.378017087668262e+21, + 7.456739298005422e+21, + 7.538210508465925e+21, + 7.622411896400223e+21, + 7.709313705587109e+21, + 7.798875038725256e+21, + 7.891043780128301e+21, + 7.985756655806787e+21, + 8.082939434127079e+21, + 8.182507265707303e+21, + 8.28436515633645e+21, + 8.388408561703142e+21, + 8.494524087921622e+21, + 8.602590277491645e+21, + 8.71247845678911e+21, + 8.824053618737091e+21, + 8.93717531314506e+21, + 9.051698517575227e+21, + 9.167474463503364e+21, + 9.284351395993926e+21, + 9.402175249911998e+21, + 9.520790231652472e+21, + 9.64003930201559e+21, + 9.75976456285603e+21, + 9.879807556957707e+21, + 1.0000009496742756e+22, + 1.0120211442506295e+22, + 1.0240254454481132e+22, + 1.0359979744900833e+22, + 1.047922885624123e+22, + 1.059784388993395e+22, + 1.0715667806249642e+22, + 1.083254481095799e+22, + 1.0948320838216122e+22, + 1.1062844132309456e+22, + 1.1175965923879439e+22, + 1.1287541189613787e+22, + 1.1397429478420252e+22, + 1.1505495782310178e+22, + 1.1611611426750888e+22, + 1.171565495334781e+22, + 1.1817512967349794e+22, + 1.1917080923618465e+22, + 1.2014263827162779e+22, + 1.2108976827874121e+22, + 1.2201145693453467e+22, + 1.2290707149307509e+22, + 1.237760907921392e+22, + 1.2461810585399055e+22, + 1.254328191123728e+22, + 1.2622004233737987e+22, + 1.2697969336334724e+22, + 1.277117917504197e+22, + 1.2841645352879686e+22, + 1.2909388518513657e+22, + 1.2974437705457125e+22, + 1.3036829627962016e+22, + 1.3096607949021736e+22, + 1.3153822534803235e+22, + 1.3208528708446903e+22, + 1.3260786514602668e+22, + 1.3310660004411091e+22, + 1.3358216548955204e+22, + 1.3403526187573672e+22, + 1.3446661015881346e+22, + 1.3487694616918737e+22, + 1.3526701537582744e+22, + 1.3563756811373087e+22, + 1.359893552753959e+22, + 1.3632312445921357e+22, + 1.3663961656125611e+22, + 1.3693956279178906e+22, + 1.3722368209324324e+22, + 1.3749267892954838e+22, + 1.3774724139741667e+22, + 1.3798803954938367e+22, + 1.3821572365903498e+22, + 1.3843092184927012e+22, + 1.3863423614073352e+22, + 1.388262360090195e+22, + 1.3900744968490684e+22, + 1.391783558860473e+22, + 1.393393810632555e+22, + 1.394909070193077e+22, + 1.396332896363125e+22, + 1.3976688356261385e+22, + 1.3989206424365201e+22, + 1.4000924002964702e+22, + 1.401188519018053e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22 + ], + "sheet_charge_C_m2": [ + -2.208027851236118e-13 + ], + "trace_potential_V": [ + [ + -0.04160505276121982, + -0.04160505276121982 + ] + ], + "trace_state_m3": [ + [ + 426553352160.8516, + 12860858403125.174, + 20359987442608.58, + 269571123661.34625 + ] + ] + }, + "previous_time_s": 5.132501042758137e-06, + "scaled_residual_vector": [ + -1.9600662200544215e-07, + 1.3822904525228725e-07, + -1.315279202182388e-07, + 2.908968778079842e-07, + -5.218420706833972e-07, + 1.3837813501769275e-07, + 1.5063507670141185e-07, + 2.9953419891350504e-07, + -5.090369683385627e-07, + 2.403475663162518e-07, + -1.1042292386093997e-06, + 1.643766705705949e-06, + -5.644630713592441e-08, + 8.176935111364067e-08, + -1.632591352826457e-06, + 1.1612348204574983e-06, + 1.9560485279959463e-07, + 1.0577584979499222e-06, + -3.584584629100431e-06, + 2.7859896226180655e-06, + -1.4104222498433808e-06, + 1.7164411162584654e-06, + -1.8852665613845789e-07, + -2.4505197799426646e-06, + 4.052138938032628e-06, + -6.817311123678865e-06, + 7.553771885383883e-06, + -1.5155690669558586e-06, + -4.146631242095172e-06, + 4.607633153853399e-06, + -5.453080193073087e-07, + -3.1302974520209636e-06, + 3.775496480249847e-06, + -5.514873542027118e-06, + 4.327144301289731e-06, + -1.6414222604332056e-06, + 2.297777721070579e-06, + -6.667361538341547e-07, + -1.013164746355009e-06, + -3.6622620592022115e-06, + 4.259450304708611e-06, + 4.310011744384198e-06, + -1.2514361500757009e-06, + -8.518173064765927e-06, + 1.155351128806953e-06, + 5.223585717288296e-07, + 1.7259353418063451e-06, + -7.32081184464681e-06, + 1.6785357428122238e-05, + -9.950801255325918e-06, + -6.539538471727924e-07, + 1.812944957056616e-05, + -2.102855221357286e-05, + 7.772944006425382e-06, + 2.714070193285682e-06, + -8.5052614853097e-06, + 1.0820732672952746e-05, + -1.1261181803664175e-06, + -3.240268348135083e-05, + 2.7483914656923434e-05, + 3.496446761188431e-05, + -4.2950898864556734e-05, + 8.380728800248733e-06, + -1.7900245983183327e-05, + 4.211459973338563e-05, + -3.091958633222821e-05, + 9.856579165719278e-06, + -2.7330352404273363e-05, + 1.2454515244039035e-05, + 8.682144189382225e-06, + -9.201864796940273e-06, + 3.57044324318975e-05, + 1.0529846929447116e-05, + -0.00011183934653162692, + 0.00010026908110834381, + -1.0175555253052396e-05, + -3.283920679973727e-05, + 2.2875392876831467e-05, + 1.9230266476750802e-05, + -7.726947889011598e-05, + 6.755439276525319e-05, + -8.475933427958487e-08, + -2.5876187356704777e-06, + 6.407751630491207e-06, + -3.628629484099893e-05, + -3.1439596878173104e-06, + 6.812361739284149e-05, + -7.325624643946754e-05, + 2.6655228756945476e-05, + 3.014110019717643e-05, + -9.924214320946639e-05, + 5.994437373154998e-05, + 7.625286678158908e-05, + -2.929603239592474e-05, + -8.792822906798813e-05, + -6.666616996512951e-06, + 9.619768008306761e-05, + -3.582473619520619e-05, + -3.85678510121085e-05, + 8.35031792704472e-05, + -2.6234276758490596e-05, + -7.276278772373156e-05, + 9.274736483634366e-05, + -0.00010926468603847904, + 7.629244851476078e-05, + -9.101396559749465e-06, + 3.0752598332344595e-06, + 3.904371391525295e-05, + -5.104152009638168e-05, + 9.021343239443131e-05, + -0.00018192288397140608, + 0.00020254710258158417, + -9.896737391720458e-05, + 1.1356270355374785e-06, + -0.00011585700327347775, + 0.0002088501192894945, + -0.00027683155978591164, + 0.0001763037672916428, + 0.00020000438048917567, + -0.00020612240256272812, + -9.86078294121456e-05, + 0.0001726184744658032, + -0.00020599212351635372, + 0.00015285241488338774, + 0.00017468016966964886, + -0.0002759604221028592, + 0.0005904712796607284, + -0.0006827394700156158, + 7.563933475896442e-05, + -0.00014676632037076998, + 3.8551157119002376e-05, + 6.443937813429837e-05, + 7.103329096708531e-05, + -0.00019701092639224955, + 0.00016196420960585856, + -0.00015215858465348811, + 0.0001319052103449686, + -0.00012171865744682738, + 5.2575086671159376e-05, + 3.1467860951353045e-05, + 1.3565713695164775e-05, + 2.8574117079331952e-05, + -3.345809179033701e-06, + -0.00018873481008490928, + 0.0002473051015520597, + -9.142309829590386e-05, + -6.618349715138699e-05, + 9.961259120208705e-05, + -0.00011154906213070236, + 9.172165576679369e-05, + -8.685540895742463e-05, + 7.640112554047457e-06, + 3.3967116742437076e-05, + 4.460982503216676e-05, + 3.7905305501927504e-05, + -0.00010302843366126703, + 7.941666609503976e-06, + 1.538263650172001e-05, + 2.0451897341927504e-05, + 4.992512358492188e-05, + -1.859717382866143e-05, + -9.080020428698438e-05, + 1.1848895474401226e-05, + -2.1504780336422272e-05, + 6.876889439661244e-05, + 4.091905451601615e-05, + 3.387156576863943e-05, + -0.00013783892101565224, + -7.696816238825415e-06, + 5.928798704427539e-05, + 1.4721021676478207e-05, + 1.1075916425490154e-05, + 4.3343791861285475e-05, + -9.028481296160462e-05, + -4.669333412634259e-05, + 3.730263987789719e-05, + 0.00012732174733576406, + -7.084575901695938e-05, + -3.0159795982032383e-05, + -0.00011639587103552257, + 0.00021888084314362257, + -8.007966296473352e-05, + 6.242569440696064e-06, + -0.00013584956704053695, + 0.0002067964294704782, + -0.00012479892666521572, + -2.249117170698073e-05, + 6.218495801724198e-05, + 8.438706349192011e-05, + -0.00018000581446254318, + 0.00015068802326883475, + -8.483200122604644e-05, + 6.691807332940414e-05, + -0.0001301600094204551, + 9.01799461409418e-05, + -0.00013729860337571292, + 0.0002550677676258785, + -4.292412179158965e-05, + -0.00020701125586137796, + 0.00023792788891172317, + -8.760043702072533e-05, + -5.1913357660141035e-05, + -8.074443217731028e-05, + 0.00014629220033236847, + -3.064580470324087e-05, + -1.2384873426846562e-05, + -0.00011479669058939438, + 0.00024265642989252146, + -0.00016900130347543543, + 0.00017171674801951718, + -0.00025290577724098803, + 0.0001584839939025866, + -0.00011319604682932421, + 6.357966478197492e-05, + 0.00019950192726842831, + -0.0002824950181761289, + 0.00018371086745755307, + -0.0002102894600002246, + 0.0003027366849274263, + -0.00017860951865193017, + -4.245599998636935e-05, + 2.4218285674507095e-05, + -4.503345009363141e-07, + 8.631355463361628e-05, + -4.167344546441689e-05, + -0.00021544365818788034, + 0.00037360393928199373, + -0.00014884914747157824, + -0.0001488065759036856, + 0.00012552034853690803, + -4.075711736481591e-06, + -5.8240056341248925e-05, + 0.0001942383862484226, + -0.00033330150652372437, + 0.00018070246892949883, + 3.3958149074539126e-05, + 8.212517906613662e-05, + -2.050960929436796e-05, + -0.00023226210554198426, + 0.00022428357223969644, + -0.00020739048785459183, + 0.00022760419522000516, + -0.00013856725597987784, + 0.0001536191203811857, + -0.00026392660656402714, + 0.0003394546447926997, + -0.00018785700526400908, + -6.352056430979105e-05, + 4.147441546280158e-06, + 0.00017743124421927816, + -0.0003074622949198958, + 0.00028630194893197985, + -7.659624404697002e-05, + -4.800632123053226e-05, + 9.260298455404387e-08, + 2.3894622291718142e-08, + -1.3103493615793574e-07, + 1.5353826281092235e-08, + 2.571295654442665e-07, + -1.4807526356928905e-07, + -1.3589025970409068e-07, + 2.188468245065366e-07, + -1.6537502643230709e-07, + 6.514852006598641e-08, + -5.638690695564839e-07, + 9.9549490809546e-07, + -2.8281318462645015e-07, + -1.0330317920513628e-06, + 1.8002126526421891e-06, + -1.8343267017383918e-06, + 1.5880138297224407e-06, + -4.565419963698243e-07, + -5.731565680576336e-07, + 6.880489401310625e-08, + 1.383245049727072e-06, + -2.845568140670438e-06, + 3.2671363600217753e-06, + -1.7359872874123506e-06, + 1.6808679389970088e-06, + -3.964876329434604e-06, + 3.830772264176608e-06, + -8.421832195252315e-07, + -2.96859750145092e-06, + 2.623620490923983e-06, + 1.4662725385089933e-06, + -2.282181018880387e-06, + 2.6515110657473585e-06, + -4.094552300172457e-06, + 6.490285075238924e-06, + -1.1998680782120899e-05, + 1.1841043912751784e-05, + -5.374158892370083e-06, + 1.289143996078904e-06, + -3.0288932312597368e-06, + 5.519918914805211e-06, + 6.048654287086132e-07, + -7.763320545069907e-06, + 6.1445541485715614e-06, + 1.7160117980310708e-06, + -7.11413905404107e-06, + 5.545286763804305e-06, + -2.782972115442113e-06, + 5.0927513839689e-06, + -1.4259242935076818e-05, + 2.1115131897136625e-05, + -1.6724052067001248e-05, + 3.029779214015282e-07, + 1.851335767394883e-05, + -2.0435700002886785e-05, + 6.794750926944194e-06, + 3.5420588241547864e-06, + -1.5781831556265153e-06, + -3.5056825812760827e-06, + 2.3348265271735404e-06, + -6.598626020049596e-07, + 2.1484396138708524e-06, + 4.818542828307336e-06, + -1.9577985641305948e-05, + 1.3612633138462063e-05, + 2.2117475165196542e-06, + -6.033198088943647e-06, + 7.3279028581424e-06, + 3.2267734012398337e-06, + -1.5249833103525698e-05, + 9.338327164115089e-06, + -3.7873784151151915e-06, + 2.557773217796995e-07, + 7.735697430932518e-06, + -2.3955233638840787e-06, + -3.1066513717575843e-06, + -1.3782359679895955e-05, + 2.719577681885547e-05, + -1.5269426687427323e-05, + 1.2271892233219778e-05, + -1.4370377196645163e-05, + -9.282945549379876e-06, + 9.993088417578449e-06, + 1.5012708813429932e-05, + -1.0363924759642688e-05, + 9.97125351006493e-06, + -1.4170735903803456e-05, + -8.278868201432657e-06, + 6.0865966177610525e-06, + 5.837115792614365e-06, + -1.6470201287234416e-06, + 2.020365976251703e-06, + 5.253888819013986e-06, + -9.987258142644797e-06, + 1.5455197224677345e-05, + -2.196750417778149e-05, + 3.390264202946571e-06, + -3.893427464043927e-06, + 2.6757131051452457e-05, + -1.9462693276058798e-05, + 1.6949216557031197e-06, + 1.150881156756341e-05, + -3.1699341457036334e-05, + 2.327615610913641e-05, + 2.3648907950095785e-05, + -2.8125014277513087e-05, + -1.9521909985527745e-05, + 3.141304226752867e-05, + 5.071056418366271e-06, + -1.8262678658086436e-05, + 9.995243131000468e-07, + -4.638969895251533e-06, + 2.3553066302157317e-05, + -2.821732371106887e-05, + 2.458144809599209e-05, + -9.551258698458233e-06, + -3.1541854978426974e-06, + -2.4120721842608384e-05, + 3.569048597391925e-05, + 2.7747348207889968e-06, + -1.1159935915811162e-05, + -2.7163818534278176e-05, + 2.1436744261769875e-05, + 2.8011085615054634e-05, + -4.8254412293003173e-05, + 3.634314316581665e-05, + -0.00032623847599040217, + -0.0002890049146985724, + 1.9795218231240136e-05, + -2.4029578188426373e-05, + 2.775152172953718e-05, + -1.5973702495930433e-05, + -1.4546892150001018e-06, + 1.6443284743588535e-05, + -1.595457929554405e-05, + -1.0186366297211601e-05, + 1.9731505824059878e-05, + -1.4348524457245304e-05, + 1.4421048591916823e-05, + -1.1232208321413614e-05, + 5.0106459120900765e-06, + -1.7160840365498233e-05, + 4.0820620426274055e-05, + -5.9148105967128235e-06, + -4.343436424173985e-05, + 1.0368466221530782e-05, + 9.752155338737791e-06, + 2.9351021563844244e-05, + -4.248667240402347e-05, + 3.2565802288444295e-05, + 1.2729605640984454e-05, + -5.563990069374989e-05, + 2.2187985636045667e-05, + 4.303204428312687e-05, + -8.192773595114123e-05, + 6.959259740033643e-05, + -7.290678731130336e-06, + -1.3322271650286272e-05, + 2.1336381491984353e-06, + -2.916419684612485e-05, + 1.8526748476438592e-05, + 1.4626463640392163e-05, + -6.323083289904008e-06, + 4.5247789677861976e-05, + -0.00012669229678345195, + 9.586899350697815e-05, + -4.355454648740339e-06, + -3.810211310375547e-05, + 2.4750069666683835e-05, + -7.5745175720479606e-06, + 3.7001363647532356e-06, + 6.626117769892289e-05, + -5.072643851871207e-05, + -7.958360886281501e-05, + 0.00012113425835166986, + -0.00011461888875271168, + 8.136041182900529e-05, + 4.0513748072465094e-05, + -0.0001275590057540165, + 5.866248681117967e-05, + 2.5297222952013766e-05, + 2.871821172344796e-05, + -0.00013721752625816107, + 0.0002082022506394392, + -0.00015704399426795713, + -2.5072405275584278e-05, + 0.00012463204147936075, + -4.2268720843746194e-05, + -6.020812524073894e-05, + -1.0936120759094122e-05, + 0.00016984571573326423, + -9.25613026581944e-05, + -7.088694605849543e-05, + 4.2428219544154586e-05, + -3.8141186332876015e-05, + -4.2833167100738216e-05, + 0.00018458795055523947, + -0.0001672600941670053, + 0.00022111493657316715, + -0.0002472509742259905, + 9.680252111555368e-05, + 2.298480052033293e-06, + 1.1960668947477205e-05, + -0.00011250753501796694, + 0.00021025072253688965, + -0.00014320941049918138, + 6.161772577755923e-05, + 4.89655217982816e-06, + -5.169166298812028e-05, + -1.4768535866738676e-05, + 5.048756126188672e-05, + -2.1363623877695804e-05, + -6.976822815535232e-05, + 0.0001791052861874354, + -0.0001990715947287542, + 0.00019123428715202674, + -0.00027461950674261904, + 0.00014441257005705013, + 0.00016291875776118517, + -6.769446898652046e-05, + -0.00010873078790354374, + -2.0377120371997426e-06, + 2.3309230955620056e-05, + 0.0001602984305354615, + -0.00013660559015848416, + -0.00014055701188952715, + 0.00019755051489585203, + -0.00019753135310445326, + 0.00027444286817436146, + -5.590740049012358e-05, + -0.00021698758830156155, + 0.0002759407719057679, + -0.0001507162751443739, + 3.460133448173446e-05, + -0.00022618615735813132, + 0.0002948747856776278, + -0.00017249844377140622, + 5.4934176991033665e-05, + 1.7524088577218196e-05, + -9.667398763518912e-07, + 2.763823577295875e-05, + 8.69745245915509e-05, + -0.00013053403166996897, + 0.00011588610608749086, + -0.00028388316672630146, + 0.0002157006352759091, + -3.9028528076547056e-05, + 0.00020947753445804004, + -0.000206334123604342, + 3.10900121506415e-05, + -3.574959591880792e-06, + -0.00010396938466520252, + 0.00016707798949077077, + -0.00020955203077297044, + 2.6705996937085602e-11, + 6.613330355149045e-06, + -4.6844819093302235e-06, + -1.0619399615513367e-06, + 5.8192933098490155e-06, + -3.4174280946895934e-06, + -6.462653792324788e-07, + 5.2750722610775e-07, + 3.594164834226431e-06, + -4.7232211783482935e-06, + -2.0967637820643672e-07, + 9.63034329644066e-07, + 1.9043267550863788e-06, + -1.2729133935429023e-06, + -9.075436062646746e-08, + -1.4352663837684185e-06, + 2.8269286782198945e-06, + -1.8952351026711293e-06, + 1.0682503078874276e-06, + -4.3780744332264e-07, + -1.015390633197489e-06, + 1.3142962833477793e-06, + -3.6407656878728034e-07, + 3.144376502790752e-07, + -5.842216422324917e-07, + 5.03453995504889e-07, + -6.925051887698279e-07, + 8.497182086229354e-07, + -5.690827664955563e-07, + 1.66396760960934e-07, + -2.4736286144454407e-09, + -1.4305509786778014e-08, + -9.620325075611906e-08, + 2.2686089226068798e-07, + -1.3251668326431706e-07, + -1.612681793553189e-07, + 3.4686392566923323e-07, + -1.679960957032633e-07, + -1.1924792314961402e-08, + -4.6337968520808866e-08, + 1.7818907198835187e-07, + -2.8955831659200026e-07, + 2.5281559561558344e-07, + -1.341309603858257e-07, + 1.3664505632420978e-07, + -1.7012666085446826e-07, + 4.083212355318761e-08, + 8.533002805837171e-08, + -4.5765974883321995e-08, + -1.966942847130207e-10, + -1.4702026153924236e-10, + -2.853608905847556e-08, + 5.4759885373972135e-08, + -2.6574670272477644e-08, + 1.843762927552011e-10, + -7.993095824107272e-11, + -2.40930154989854e-10, + -1.3912166767863027e-08, + 2.7198447255144197e-08, + -1.3316936014894612e-08, + -4.115178866476807e-08, + 8.045322782151206e-08, + -3.944441331134574e-08, + -1.8465014914805998e-10, + 2.6589216276671785e-08, + -9.197808597172219e-08, + 1.0409031870799595e-07, + -3.8715032167196505e-08, + -5.3202529576656466e-08, + 6.582641779759306e-08, + 2.827762350004639e-08, + -8.387526923745163e-08, + 4.2530117551614595e-08, + -1.4956090626599928e-10, + 4.6603609811484407e-08, + -9.513283278897811e-08, + 9.917106269326037e-08, + -1.0446511234012596e-07, + 5.4161313055844804e-08, + 5.8801123629327925e-08, + -1.2285505756207703e-07, + 6.41493203030245e-08, + -2.2864585374560844e-10, + -3.7574919373049304e-10, + 8.13300241213249e-08, + -1.6975525801939577e-07, + 1.2627401237835948e-07, + 2.223999067064432e-08, + -5.9441295722771004e-08, + 1.1199691260489467e-07, + -3.738958864726933e-07, + 4.599669170853856e-07, + -4.2141245358314874e-07, + 2.2696927420731818e-07, + -1.0596529960752346e-07, + 6.285165808402133e-07, + -1.1153554149803297e-06, + 7.490545987812655e-07, + 3.8046379915394334e-07, + -1.149917986072086e-06, + 1.2714769638283283e-06, + -6.735098342582785e-07, + -8.49174540364812e-07, + 9.018602860969975e-07, + 9.330213310184101e-07, + -2.3929901300962905e-06, + 2.428027861591865e-06, + -3.715199395949079e-07, + -2.155319664318627e-06, + 2.298602780958735e-06, + -1.6664669369037253e-06, + 1.9617623238532457e-06, + -2.2438247397095414e-06, + 2.601271901397978e-06, + -6.30837943181972e-08, + -3.3782099090575033e-06, + 2.129756755516899e-06, + -5.341837450805713e-07, + 1.1859601891332966e-06, + -2.9003652206464338e-06, + 5.020777194840222e-06, + -2.591114926106901e-06, + -1.845465521845179e-06, + -2.9815582490744534e-06, + 9.791623124774176e-06, + -1.198410559079592e-05, + 1.1015915063678583e-05, + -3.628577420557328e-06, + -3.960517557666072e-07, + -4.78449674745462e-07, + 1.6310028927142974e-06, + -4.355665073062829e-06, + -1.9868204932141006e-06, + -1.5492172003490016e-06, + 1.4474109080487787e-05, + -3.871627993550696e-06, + -1.78936577892723e-05, + 2.207308279855062e-05, + -1.4966560258909284e-05, + 2.290289737199546e-06, + -1.450270999521707e-05, + 6.069410118831567e-05, + -6.196721774624806e-05, + 8.786296101070873e-06, + 6.732270822686913e-06, + 4.147805939925396e-05, + -9.036753960656395e-05, + 8.680024590565034e-05, + 6.74499547673173e-06, + -5.280958580042302e-05, + 6.019536965991805e-05, + -0.0001272926577418792, + 6.43950007044726e-05, + 2.6240246831961523e-05, + 4.123818176692513e-06, + 1.570148282632681e-05, + -1.8028594298159452e-05, + -0.000104562316707015, + 7.133668477863704e-05, + 0.00014211628149966008, + -0.00012065319661818939, + -5.742820313659509e-05, + 5.042067197517396e-05, + -5.100977700203849e-05, + 5.310568714821874e-05, + 7.30115532093975e-05, + -0.00017851600103697092, + 2.7407275949146258e-05, + 0.00030786592398714466, + -0.000450796153564594, + 0.0004962117998798532, + -0.00025489118203150514, + -0.0002582601014662823, + 0.0004148646377075542, + -0.00043825367531632575, + 0.0007177024369693297, + -0.0005500876224573989, + -0.00017114872913638363, + 0.00023215514937515813, + 0.00034178044624010945, + -0.00035121231096681024, + -6.349813917050374e-05, + 0.00018447296568904273, + -0.0004898900482534196, + 0.0006890104235635011, + -3.598347157418701e-05, + -0.0002580080442115747, + -0.0002290984978857598, + 0.0006972763375225393, + -0.0006946615155889392, + 0.0008161570861764843, + -0.001505372689826091, + 0.0011335890557455563, + 0.0003519893896992455, + -0.0010401335668792295, + 0.0004092204583505572, + 0.00030931482923888143, + 0.0003403313338013354, + -0.0011044058713181974, + 8.543928088531814e-05, + 0.0009825198416249844, + -0.0004954750180597248, + -0.00012760907208668348, + -6.700159255523293e-05, + 0.0001452775203042889, + -6.072815917695719e-05, + 0.0001826547689126936, + -0.00016540479933437212, + 0.00026098581608232794, + -5.875301383407991e-05, + -0.000904928907826197, + 0.0005658009358205931, + 0.000550061857306441, + 0.00011988311419378635, + -0.0009536353619687394, + -0.0004147003644828463, + 0.0024225764112258677, + -0.0022519933273079506, + 0.0003570994543963708, + 0.0018175340786901967, + -0.0022995593122009995, + 0.0015308810355723517, + -0.0017426187012668701, + 0.0016070143683034, + -0.0007689972138019639, + 0.0006817086357144315, + -0.0017087288064292197, + 0.0017579154149805142, + -0.0005265589456821087, + 0.000278848717905124, + 0.00040151323494057295, + -0.0009122876311990424, + 0.00018443174847425622, + -0.0005045989549299038, + 0.0007469110477940734, + 7.259073315874467e-05, + -0.00017433256434855955, + 0.00048048560442927074, + -0.0008005892010438646, + 0.00040959320078515996, + -0.0007478385371809911, + 0.00028309174808605026, + 0.0008430931229342232, + -0.0022562551590172802, + 0.0034406727150429507, + -0.0023318854761586122, + 0.0009078373217415714, + 0.00016713605268128942, + -0.0006456889590072047, + -0.0012016037270794414, + 0.0014833977636702267, + 0.00041920219841850274, + -0.0003705327123194624, + -0.000700382940608676, + 0.00172556729696267, + -0.0018051700681761937, + 0.00044312305599966646, + 0.0004920476492334527, + -0.0005909220558497288, + -0.0012586559944549758, + 0.0016995842687084935, + 5.804988116198494e-06, + -0.0010868534396000322, + 0.00022692031658986232, + 0.0002136208497402011, + 0.0005925072185137083, + -0.00017855875036670724, + -0.0005422535925792514, + 0.00048265220912286944, + -0.0002405989349390248, + -0.0008781605954130552, + 0.0015243428290164145, + -0.00030865943848284555, + 0.0005177619347827836, + -0.0010072263022004432, + -0.00046081028986479994, + 0.0005612368136534199, + 0.00019852893257649458, + -0.00035726446792499155, + 0.0004209165573639709, + 0.0002525696188087904, + -0.0005572267269337612, + 9.04230892265907e-05, + 0.00048214162056201053, + -0.0007030871791795748, + 0.00020896744877743273, + -0.0002124309335102487, + 8.592803214295747e-05, + 0.0001865939571795461, + 0.0001163715399114378, + 0.0008232796853946487, + -0.001984302904509723, + 0.0020936953082241966, + -0.001072252350218932, + -0.0006463418227201451, + -0.00020794455263346517, + 0.0022521631988937983, + -0.0019801129695552217, + 0.000844399112146612, + 0.00048588655156052294, + -0.0024548670728423054, + 0.003349164332486102, + -0.0020169348765439947, + 3.7467824238258245e-05, + 0.0014062561845481882, + -0.0021713058188267908, + 0.0013416570126201953, + -0.00038546060737350627, + 0.0003424346273803554, + 0.00014564189566260922, + 9.290739815176001e-05, + -0.0009195723860876519, + -0.00023057846821202978, + 0.00017385734401046185, + 0.0015204878742853848, + -0.000518849742716488, + -0.00024062430143635907, + -0.0020139817697580006, + 0.003708784089736546, + -0.003137825498710989, + 0.0022254352168497634, + -0.0016336067199409162, + 0.0015590635618855807, + -8.413791280851582e-05, + -0.0010829235797881842, + -0.0004494939799754324, + 0.0006063276384178519, + 0.0009979254012024788, + -0.0019106522949405844, + -7.90317080164289e-05, + 0.0029889870061528163, + -0.003188314927177523, + 0.0015990478472769768, + 1.213210448453888e-05, + -0.000963664848321445, + -0.0014570583904128106, + 0.005823133237429145, + -0.002912171517326527, + -0.002678049403367384, + 0.0019960312345932534, + 0.0006217042394554785, + -0.0010029535562829641, + -1.814476451968951e-05, + 0.0005183453417517836, + -0.0014685677522663283, + 0.002762772236012339, + -0.0017873410356694214, + -4.047314161545117e-06, + 0.0007248762451602873, + 5.346515506394371e-05, + -0.0017721544804154704, + 0.0033751432361597833, + -0.002945577739604598, + 0.0006518600532550053, + -0.002396506561195792, + 0.004909736356247491, + -0.004933331078863651, + 0.00509209353510021, + -0.004294373478773022, + 0.0030041836255916138, + -0.0022315445869073042, + 0.002817826087803668, + -0.0014973652184231921, + -0.0021265544576589764, + 0.0028897263650833243, + -0.0019006726877573332, + 0.0033201074323205904, + -0.006655671329164661, + 0.007681363094349402, + -0.003543843601056248, + 0.0015763853568820832, + -0.0022229676627232653, + -0.0015107884534543605, + 0.0034525936350436478, + -0.0017410467213991683, + 0.0014601539156833675, + -0.000516270736864121, + 0.0018795466004025508, + -0.00453764049529963, + 0.0021217474820602283, + -0.0012214977308307843, + 0.0023690223220101474, + -0.0016023860455378573, + 0.0, + -0.0005853996324785957, + 0.0008771895101745378, + -0.02327462924450598, + -0.05058861742649522, + -0.0004622540839152896 + ], + "schema": "R1NewtonFailureWitnessV1", + "scope": "failed_iterate_not_accepted_step_or_complete_newton_history", + "storage_scale": [ + 181596693.2579171, + 216428519.13793194, + 191462077.41281468, + 169403185.5030109, + 149911775.56912416, + 132687643.09228697, + 117465768.61787622, + 104012188.85708137, + 92120352.61609188, + 81607904.60448688, + 72313846.86525701, + 64096033.47292468, + 56828959.356681846, + 50401808.70374328, + 44716732.45626394, + 39687327.996499315, + 35237297.27551747, + 31299262.430074755, + 27813720.3938678, + 24728120.181732047, + 21996048.442553535, + 19576510.568585016, + 17433296.142003104, + 15534418.817314785, + 13851621.901111994, + 12359941.917028746, + 11037323.349471083, + 9864278.55904631, + 8823587.568059355, + 7900033.037013955, + 7080166.302500781, + 6352100.831761689, + 5705329.877165293, + 5130565.491516344, + 4619596.398455214, + 4165162.506387689, + 3760844.114034193, + 3400964.0848471676, + 3080501.469809209, + 2795015.236647525, + 2540576.921076866, + 2313711.1547735343, + 2111343.1475603166, + 1930752.309662626, + 1769531.295575048, + 1625549.8355398641, + 1496922.7952111766, + 1381981.9699138904, + 1279251.1780363156, + 1187424.2694217747, + 1105345.7099465977, + 1031993.4434971093, + 966463.76790576, + 907957.9926322043, + 855770.673560393, + 809279.2446635261, + 767934.8878425087, + 731254.5013108205, + 698813.6437777806, + 670240.3466403763, + 645209.6996656056, + 623439.1300880071, + 604684.2946829767, + 588735.523707613, + 575414.7847830243, + 564573.0847443234, + 556088.290725753, + 549863.332037116, + 545824.7548369999, + 543921.6069179617, + 544124.6348880499, + 546425.7807366749, + 550837.9692846291, + 557395.1824052943, + 566152.8202343663, + 577188.3539231757, + 590602.2789028999, + 606519.3821789687, + 625090.3419364546, + 646493.6827812699, + 670938.1153439945, + 698665.2948175599, + 729953.0393761026, + 765119.056428142, + 804525.232401489, + 848582.5503612245, + 897756.7093571376, + 952574.530134862, + 1013631.2438902357, + 1081598.774290345, + 1157235.1382336162, + 1241395.1080185452, + 1335042.2969971236, + 1439262.8527168352, + 1555280.9663355122, + 1684476.4351215302, + 1828404.546561252, + 1988818.5884783699, + 2167695.3301924043, + 2367263.865734435, + 2590038.262213942, + 2838854.5154107767, + 3116912.3814654415, + 3427822.729200884, + 3775661.143321495, + 4165028.6058226693, + 4601120.192930905, + 5089802.849515926, + 5637703.44407083, + 6252308.4673124505, + 6942076.91865777, + 7716568.130136873, + 8586586.50993136, + 9564345.451273302, + 10663652.9510772, + 11900121.821017547, + 13291407.757130628, + 14857478.968456104, + 16620921.557331087, + 18607285.401763953, + 20845475.922077548, + 23368197.830071915, + 26212457.770108983, + 29420133.680828754, + 33038619.7474984, + 37121556.99563608, + 35324053.16491232, + 1677827602.933678, + 1752167054.2339773, + 1550134046.171419, + 1371616928.4698265, + 1213866071.3342144, + 1074454114.2469966, + 951238148.1144184, + 842326338.1176231, + 746048465.652235, + 660929929.0247235, + 585668796.6515613, + 519115554.23489136, + 460255229.50547135, + 408191615.29745775, + 362133344.5179907, + 321381599.52858955, + 285319263.9998777, + 253401347.8493243, + 225146535.76951537, + 200129727.41356972, + 177975452.8018569, + 158352060.19060707, + 140966585.71259668, + 125560224.7517624, + 111904334.41431363, + 99796904.75484169, + 89059443.7375052, + 79534227.37398475, + 71081872.18226491, + 63579192.14296627, + 56917306.771483235, + 50999970.84387052, + 45742099.773865305, + 41068467.69154643, + 36912557.9684873, + 33215548.312421724, + 29925414.653157227, + 26996139.893777363, + 24387015.235965688, + 22062023.231192872, + 19989292.982878488, + 18140619.04869448, + 16491036.584162362, + 15018446.14435538, + 13703282.333393278, + 12528221.173642388, + 11477921.6687891, + 10538797.566571036, + 9698815.796314282, + 8947318.470816763, + 8274865.708021203, + 7673096.85106115, + 7134607.9506474575, + 6652843.625886782, + 6222001.642386873, + 5836948.743393821, + 5493146.443795201, + 5186585.650804991, + 4913729.111450384, + 4671460.807690129, + 4457041.527040817, + 4268069.9315738, + 4102448.532619373, + 3958354.0537355705, + 3834211.7316736006, + 3728673.1652345057, + 3640597.3759962786, + 3569034.7937577562, + 3513213.9239351, + 3472530.4947701716, + 3446538.9196934425, + 3434945.945104378, + 3437606.3867597175, + 3454520.889365249, + 3485835.674385907, + 3531844.270954638, + 3592991.2545638187, + 3669878.0484079607, + 3763270.873290173, + 3874110.9643918, + 4003527.2074171547, + 4152851.3832178665, + 4323636.249523544, + 4517676.731471549, + 4737034.539914575, + 4984066.588712057, + 5261457.640205773, + 5572257.672712753, + 5919924.53619625, + 6308372.543354063, + 6742027.73451831, + 7225890.657374674, + 7765607.618171066, + 8367551.491652403, + 9038913.324385008, + 9787806.132788118, + 10623382.48563192, + 11555967.673944803, + 12597210.512507455, + 13760254.09019509, + 15059929.095579067, + 16512972.694266139, + 18138276.330922257, + 19957166.27793137, + 21993721.26122639, + 24275132.0700297, + 26832108.709715676, + 29699341.39659016, + 32916022.530799575, + 36526437.732649766, + 40580635.10286175, + 45135183.08516452, + 50254028.69004248, + 56009469.40211049, + 62483253.8651461, + 69767828.44669792, + 77967749.05824961, + 87201280.18471003, + 97602205.99653123, + 109321881.72721517, + 122531557.24728322, + 137425009.0147838, + 154221521.39451376, + 173169263.79374215, + 194549116.240413, + 218679003.03405723, + 182673826.62254, + 182666877.5158702, + 218666444.60518825, + 194531532.99646503, + 173146629.10375282, + 154193835.47506222, + 137392293.41539526, + 122493850.05410123, + 109279233.39145419, + 97554675.70649685, + 87148932.7088051, + 77910651.99502312, + 69706049.82447807, + 62416860.04064658, + 55938523.21261443, + 50178587.81923672, + 45055298.60672045, + 40496350.16991342, + 36437786.38435127, + 32823028.59016183, + 29602017.435976464, + 26730455.06235334, + 24169135.867595043, + 21883355.478698194, + 19842388.76792979, + 18019028.830448378, + 16389179.787061721, + 14931497.113568537, + 13627069.937234819, + 12459140.393338721, + 11412855.71056467, + 10475049.202364385, + 9634046.790134571, + 8879496.080218812, + 8202215.366475589, + 7594060.238996167, + 7047805.752219958, + 6557042.346551278, + 6116083.930290703, + 5719886.716646284, + 5363977.576676423, + 5044390.815835914, + 4757612.411662979, + 4500530.865039832, + 4270393.919222662, + 4064770.4910125337, + 3881517.2384686195, + 3718749.2606654493, + 3574814.4882996376, + 3448271.3804286704, + 3337869.5931565105, + 3242533.331462993, + 3161347.1362916203, + 3093543.8961207294, + 3038494.906092718, + 2995701.828914949, + 2964790.4406223423, + 2945506.0713772397, + 2937710.677161891, + 2941381.5029043434, + 2956611.321633573, + 2983610.2580480194, + 3022709.2287748223, + 3074365.0559416558, + 3139167.335868038, + 3217847.1710791355, + 3311287.9018722665, + 3420538.0037490334, + 3546826.3496410344, + 3691580.071511752, + 3856445.2951761717, + 4043311.0656591393, + 4254336.828811433, + 4491983.888972611, + 4759051.323085616, + 5058716.899777199, + 5394583.628606675, + 5770732.651157097, + 6191783.283269922, + 6662961.128028059, + 7190175.303812343, + 7780105.972840537, + 8440303.515242757, + 9179300.874438008, + 10006740.804149903, + 10933519.97902801, + 11971952.193142148, + 13135953.167644843, + 14441249.825310295, + 15905617.270658076, + 17549147.145930212, + 19394551.522028428, + 21467507.037222076, + 23797044.623717856, + 26415990.872784305, + 29361467.89414465, + 32675459.437401924, + 36405452.07659205, + 40605161.42964668, + 45335354.71106151, + 50664782.41894769, + 56671233.66053365, + 63442731.54967233, + 71078887.29616243, + 79692434.0838529, + 89410964.64150017, + 100378899.59075922, + 112759717.25948599, + 126738479.73228495, + 142524694.537008, + 160355556.60921454, + 180499621.11745912, + 203260964.46392864, + 228983898.40319654, + 258058310.86478755, + 290925716.8598508, + 328086113.94927704, + 370105749.3259065, + 417625919.8132713, + 471372942.2273303, + 532169449.84518605, + 600947191.4546777, + 678761532.950697, + 766807888.0650352, + 866440334.9812222, + 979192709.7619809, + 1106802506.2527041, + 1059838988.469815, + 22326087.21360779, + 23464927.319692835, + 20886213.03190421, + 18600823.180095308, + 16574883.339055361, + 14778463.928727664, + 13185118.859743314, + 11771478.259627437, + 10516888.933002423, + 9403096.95451636, + 8413967.450865611, + 7535237.208801198, + 6754296.258286764, + 6059995.032121284, + 5442474.102325204, + 4893013.845792959, + 4403901.702482343, + 3968314.9637296614, + 3580217.270376214, + 3234267.2140450478, + 2925737.623496313, + 2650444.2844197056, + 2404682.987932546, + 2185173.9326980375, + 1989012.620028011, + 1813626.4823388353, + 1656736.5744931733, + 1516323.7362608844, + 1390598.7036066423, + 1277975.7078424247, + 1177049.155825315, + 1086573.032188124, + 1005442.706797307, + 932678.8679103563, + 867413.3344245912, + 808876.5296926625, + 756386.4250771553, + 709338.7841271815, + 667198.5583422572, + 629492.303252697, + 595801.4992679065, + 565756.6756727031, + 539032.2485010665, + 515341.9939783893, + 494435.08897295035, + 476092.658577819, + 460124.7787020309, + 446367.88849360787, + 434682.5736637974, + 424951.68742382084, + 417078.78087050625, + 410986.819347854, + 406617.1656349989, + 403928.81484065816, + 402897.8696761499, + 403517.2483968723, + 405796.6249701927, + 409762.58618105896, + 415459.0242710963, + 422947.7769608018, + 432309.4999549164, + 443644.80315671, + 457075.66352619865, + 472747.1360089931, + 490829.38846965693, + 511520.0914731454, + 535047.1991467109, + 561672.1633074249, + 591693.6296493255, + 625451.6721526283, + 663332.6301207294, + 705774.6214957817, + 753273.8164980366, + 806391.5673348432, + 865762.5029191498, + 932103.7124276583, + 1006225.1583470447, + 1089041.4786671307, + 1181585.3593746207, + 1285022.6827215967, + 1400669.684260228, + 1530012.3827844071, + 1674728.5825857841, + 1836712.7873594137, + 2018104.4103179723, + 2221319.716284778, + 2449087.9895510143, + 2704492.486985393, + 2991016.8103319225, + 3312597.4159502406, + 3673683.07579348, + 4079302.211655523, + 4535139.147338825, + 5047620.462341295, + 5624012.78807055, + 6272533.565948186, + 7002476.48885367, + 7824353.576337562, + 8750056.09345504, + 9793036.817054762, + 10968516.486421205, + 12293717.65259223, + 13788129.568293383, + 15473808.2450007, + 17375716.35265651, + 19522108.259740785, + 21944966.21620894, + 24680494.480716847, + 27769679.098476406, + 31258922.06169962, + 35200759.74672815, + 39654676.838472284, + 44688028.445031784, + 50377084.79599484, + 56808214.83333872, + 64079227.17510423, + 72300889.39110988, + 81598649.31771699, + 92114585.29635847, + 104009615.79954906, + 117466002.96292801, + 132690189.13706243, + 149916010.77902368, + 169408339.90406162, + 191467210.0024378, + 216432490.90262485, + 181598777.4585725, + 0.40866987467220783, + 60573414374.817184, + 60705112220.33065, + 60813230821.12684, + 60878182476.28278, + 60957537138.44318, + 61050771506.37058, + 61157456056.17597, + 61277309238.212006, + 61410209060.2142, + 61556171040.36653, + 61715316806.99958, + 61887849438.24107, + 62074038501.61223, + 62274211519.83478, + 62488748440.21375, + 62718077260.31659, + 62962670083.420555, + 63223039348.861275, + 63499734127.43567, + 63793336408.8868, + 64104457318.70475, + 64433733206.561615, + 64781821553.24275, + 65149396647.74231, + 65537144991.59157, + 65945760393.68692, + 66375938726.09127, + 66828372319.54196, + 67303743987.11576, + 67802720675.43196, + 68325946755.38265, + 68874036978.20009, + 69447569138.07715, + 70047076498.92929, + 70673040060.11336, + 71325880753.57318, + 72005951682.1558, + 72713530525.14832, + 73448812251.48257, + 74211902292.55153, + 75002810334.06175, + 75821444888.8154, + 76667608808.7319, + 77540995883.96707, + 78441188658.93501, + 79367657569.37976, + 80319761471.44354, + 81296749593.67833, + 82297764897.52997, + 83321848782.9329, + 84367947025.48541, + 85434916783.51263, + 86521534469.65912, + 87626504246.13359, + 88748466878.19212, + 89886008668.82764, + 91037670201.42938, + 92201954636.42488, + 93377335342.69301, + 94562262692.88779, + 95755169911.77959, + 96954477933.63374, + 98158599295.07362, + 99365941158.56021, + 100574907623.58371, + 101783901533.83344, + 102991326024.99748, + 104195586076.6495, + 105395090331.85881, + 106588253429.25496, + 107773499056.18791, + 108949263880.51074, + 110114002456.6965, + 111266193133.43779, + 112404344919.69536, + 113527005199.32141, + 114632768124.63878, + 115720283471.29663, + 116788265702.0323, + 117835502968.08191, + 118860865773.51476, + 119863315039.56427, + 120841909331.0623, + 121795811042.95671, + 122724291389.07538, + 123626734083.84818, + 124502637658.69557, + 125351616404.04178, + 126173399974.442, + 126967831734.80319, + 127734865960.1388, + 128474564027.84618, + 129187089760.95667, + 129872704092.49055, + 130531759226.34448, + 131164692469.42245, + 131772019904.2835, + 132354330062.3588, + 132912277746.05736, + 133446578134.70932, + 133958001295.34787, + 134447367205.51228, + 134915541382.33063, + 135363431200.597, + 135791982972.75238, + 136202179856.03531, + 136595040646.63008, + 136971619517.66853, + 137333006757.4068, + 137680330565.87137, + 138014759972.65317, + 138337508944.7411, + 138649841758.6299, + 138953079705.15405, + 139248609149.11038, + 139537890820.24673, + 139822469913.8577, + 140103986223.54144, + 140384216822.6148, + 140665074866.45703, + 140948591789.68448, + 141236992463.2309, + 141532703622.6762, + 141838383922.8933, + 142156958405.6756, + 142491657835.62537, + 142846063325.93777, + 141678452836.01453 + ], + "substeps": 4, + "terminal_state_available": true, + "time_s": 5.377957147330814e-06, + "voltage_V": 0.005 + } + }, + "step309_failed": { + "original_failure": { + "message": "analytic sparse Newton line search stalled at iteration 3 with residual 0.0532305, charge closure 2.84509e-18, all-face current closure 8.58614e-09, interface current closure 1.46383e-09, linear backward error 3.24413e-17", + "type": "InterfaceDefectTransientError" + }, + "previous_row": { + "dt_s": 9.403881999824038e-05, + "phase": "accepted_regular_step", + "physics_reconstruction": { + "coordinate": [ + 1.0746569101771808e-09, + 2.221374907986975e-09, + 3.4450955715411127e-09, + 4.75110390491998e-09, + 6.145050969283462e-09, + 7.632977501528281e-09, + 9.221338458523598e-09, + 1.0917028330048234e-08, + 1.2727407076184944e-08, + 1.4660326428436584e-08, + 1.672415628979858e-08, + 1.8927810859608754e-08, + 2.1280774003398248e-08, + 2.379312335235913e-08, + 2.647555244590798e-08, + 2.9339390152839357e-08, + 3.2396616498366875e-08, + 3.565987383266752e-08, + 3.9142472230486425e-08, + 4.2858387879517203e-08, + 4.68222530677065e-08, + 5.104933636967689e-08, + 5.555551159680043e-08, + 6.035721402411487e-08, + 6.547138258047716e-08, + 7.091538672115241e-08, + 7.670693694682241e-08, + 8.286397824726438e-08, + 8.94045658783587e-08, + 9.63467234156115e-08, + 1.0370828302128959e-07, + 1.1150670841761758e-07, + 1.197589007523916e-07, + 1.2848098763132264e-07, + 1.3768809534071274e-07, + 1.473941034008863e-07, + 1.5761138024908036e-07, + 1.683504978338885e-07, + 1.7961992237058935e-07, + 1.9142567797213842e-07, + 2.0377098034837918e-07, + 2.1665583830542962e-07, + 2.300766224907816e-07, + 2.4402560366044946e-07, + 2.584904650766449e-07, + 2.734537980794358e-07, + 2.888925922926522e-07, + 3.0477773607470195e-07, + 3.2107354455700314e-07, + 3.3773733494351886e-07, + 3.547190692208221e-07, + 3.7196108434253464e-07, + 3.893979296418388e-07, + 4.069563287710247e-07, + 4.2455528247825653e-07, + 4.421063244982781e-07, + 4.5951394066259154e-07, + 4.7667615681585264e-07, + 4.934852969280216e-07, + 5.09828908248232e-07, + 5.255908451386696e-07, + 5.406524980197859e-07, + 5.548941494497e-07, + 5.681964339864106e-07, + 5.804418755293454e-07, + 5.9151647167394e-07, + 6.013112938851653e-07, + 6.097240709577868e-07, + 6.166607241964607e-07, + 6.220368255280318e-07, + 6.257789531198685e-07, + 6.27825923035577e-07, + 6.281298810254645e-07, + 6.266572414736491e-07, + 6.233894631826581e-07, + 6.183236509864225e-07, + 6.114729690426925e-07, + 6.028668469206515e-07, + 5.92550953538166e-07, + 5.805869092232121e-07, + 5.670517064192094e-07, + 5.520368140595476e-07, + 5.356469517037349e-07, + 5.179985383960166e-07, + 4.99217840629847e-07, + 4.79438868103745e-07, + 4.58801085002939e-07, + 4.374470196646695e-07, + 4.1551986424858716e-07, + 3.931611541382287e-07, + 3.705086114856308e-07, + 3.4769422110436306e-07, + 3.248425911404766e-07, + 3.0206963043137137e-07, + 2.794815554737345e-07, + 2.571742221939103e-07, + 2.35232764025468e-07, + 2.1373150661321168e-07, + 1.9273412225294278e-07, + 1.722939833194724e-07, + 1.5245467406101195e-07, + 1.3325062042654536e-07, + 1.1470780107167178e-07, + 9.684450755015267e-08, + 7.967212548670064e-08, + 6.319591390553587e-08, + 4.741576469487845e-08, + 3.232692824066372e-08, + 1.792069551070707e-08, + 4.185030097896066e-09, + -8.894853799376851e-09, + -2.1335968708684832e-08, + -3.315708596256026e-08, + -4.437832171212574e-08, + -5.5020773094302e-08, + -6.510620278399306e-08, + -7.465676673955077e-08, + -8.369478226803225e-08, + -9.224253275102198e-08, + -1.0032210406947066e-07, + -1.0795525017150233e-07, + -1.1516328419384217e-07, + -1.219669910131211e-07, + -1.283865597117833e-07, + -1.3444153229129418e-07, + -1.4015076646866388e-07, + -1.455324103917986e-07, + -1.8110357594046804e-07, + -1.8120403281478505e-07, + -1.8131063553652533e-07, + -1.8142373658742425e-07, + -1.8154370548329925e-07, + -1.8167092911684472e-07, + -1.818058119537536e-07, + -1.8194877635509095e-07, + -1.8210026251688803e-07, + -1.8226072859810276e-07, + -1.8243065049012815e-07, + -1.8261052128982405e-07, + -1.8280085098047167e-07, + -1.830021655344596e-07, + -1.832150056171473e-07, + -1.8343992553760117e-07, + -1.8367749108044602e-07, + -1.8392827753503628e-07, + -1.8419286702741264e-07, + -1.8447184494543242e-07, + -1.8476579643548447e-07, + -1.8507530158951708e-07, + -1.85400930076172e-07, + -1.8574323501988905e-07, + -1.861027456471935e-07, + -1.864799589657003e-07, + -1.8687533025963483e-07, + -1.8728926245047245e-07, + -1.877220934400421e-07, + -1.881740826981365e-07, + -1.886453954127762e-07, + -1.8913608573891263e-07, + -1.8964607723446337e-07, + -1.901751420505944e-07, + -1.9072287772573525e-07, + -1.9128868215199283e-07, + -1.9187172614497964e-07, + -1.9247092457359628e-07, + -1.930849049176906e-07, + -1.9371197477986442e-07, + -1.9435008727944947e-07, + -1.9499680580987792e-07, + -1.9564926814963533e-07, + -1.963041501080908e-07, + -1.9695763041033533e-07, + -1.9760535644165735e-07, + -1.9824241336784637e-07, + -1.9886329587767337e-07, + -1.994618858601064e-07, + -2.000314357129446e-07, + -2.0056456009629355e-07, + -2.0105323649148947e-07, + -2.0148881716236866e-07, + -2.0186205367981932e-07, + -2.0216313517143438e-07, + -2.023817419036816e-07, + -2.0250711507659973e-07, + -2.0252814363064937e-07, + -2.0243346787110046e-07, + -2.0221159972876964e-07, + -2.0185105914814874e-07, + -2.0134052450325652e-07, + -2.0066899511875324e-07, + -1.998259628851947e-07, + -1.9880158991936977e-07, + -1.9758688764524455e-07, + -1.961738931013809e-07, + -1.9455583850023292e-07, + -1.9272730760474018e-07, + -1.9068437619857105e-07, + -1.8842473032766617e-07, + -1.85947759990835e-07, + -1.832546237513234e-07, + -1.8034828263002484e-07, + -1.772335012968228e-07, + -1.7391681650526545e-07, + -1.7040647256681877e-07, + -1.667123269790428e-07, + -1.6284572633768336e-07, + -1.5881935876813322e-07, + -1.5464708432912308e-07, + -1.5034374967619763e-07, + -1.4592499081403402e-07, + -1.41407029837468e-07, + -1.3680646926495733e-07, + -1.3214009010339466e-07, + -1.2742465644525368e-07, + -1.2267673160233808e-07, + -1.1791250771676806e-07, + -1.1314765246990168e-07, + -1.0839717383659616e-07, + -1.0367530460452455e-07, + -9.899540686024735e-08, + -9.436989671763113e-08, + -8.98101886965923e-08, + -8.532665849625034e-08, + -8.092862353774644e-08, + -7.662433923709221e-08, + -7.242100941963524e-08, + -6.832480957386639e-08, + -6.434091990827517e-08, + -6.047356814848894e-08, + -5.6726078330085913e-08, + -5.310092587090427e-08, + -4.959979605127823e-08, + -4.622364464732902e-08, + -4.297276040185603e-08, + -3.984682716185898e-08, + -3.684498554358808e-08, + -3.3965892754251076e-08, + -3.1207780513863476e-08, + -2.856851019377393e-08, + -2.6045625035133825e-08, + -2.3636399006238393e-08, + -2.1337882311724712e-08, + -1.9146943415879877e-08, + -1.7060307247005207e-08, + -1.5074590473881605e-08, + -1.3186332717989286e-08, + -1.1392025030922974e-08, + -9.688135089146152e-09, + -8.071129251891397e-09, + -6.5374920169477625e-09, + -5.083743006065591e-09, + -3.7064514018076752e-09, + -2.402248154957881e-09, + -1.167836384645234e-09, + 9.002446153753429e-10, + 1.8555768590481138e-09, + 2.869128278698469e-09, + 3.944172079442828e-09, + 5.0841236520770505e-09, + 6.292539927452813e-09, + 7.573117347428656e-09, + 8.929688212833123e-09, + 1.0366215102062617e-08, + 1.1886783068054033e-08, + 1.3495589271370541e-08, + 1.5196929683066262e-08, + 1.6995182458094932e-08, + 1.8894787602765172e-08, + 2.090022247309043e-08, + 2.3015972711558498e-08, + 2.5246498244904118e-08, + 2.7596193915602117e-08, + 3.006934452623154e-08, + 3.267007398275507e-08, + 3.5402288530960526e-08, + 3.8269614093024454e-08, + 4.1275327987313745e-08, + 4.442228551123088e-08, + 4.771284216378985e-08, + 5.114877259278714e-08, + 5.4731187598541604e-08, + 5.846045093451454e-08, + 6.2336097806493e-08, + 6.635675734633917e-08, + 7.052008127078488e-08, + 7.482268109222511e-08, + 7.926007614443746e-08, + 8.382665411459775e-08, + 8.851564577127345e-08, + 9.331911464319314e-08, + 9.822796195123182e-08, + 1.0323194654675646e-07, + 1.0831971901695484e-07, + 1.1347886884377338e-07, + 1.1869598336052844e-07, + 1.2395671750407122e-07, + 1.2924587374606443e-07, + 1.3454749180509854e-07, + 1.3984494877974692e-07, + 1.4512107004366837e-07, + 1.5035825208133183e-07, + 1.5553859774738584e-07, + 1.6064406427988048e-07, + 1.6565662369119942e-07, + 1.7055843408911639e-07, + 1.7533202008819735e-07, + 1.7996045909645808e-07, + 1.844275701708037e-07, + 1.8871810117477292e-07, + 1.9281791011664887e-07, + 1.9671413634102143e-07, + 2.003953571719836e-07, + 2.0385172619217092e-07, + 2.0707508944808337e-07, + 2.1005907669209776e-07, + 2.1279916499574976e-07, + 2.1529271320885083e-07, + 2.1753896622742285e-07, + 2.1953902898322122e-07, + 2.2129581097405247e-07, + 2.2281394293712165e-07, + 2.2409966827409583e-07, + 2.251607122695947e-07, + 2.260061332238828e-07, + 2.266461598214401e-07, + 2.270920193431221e-07, + 2.2735576161272695e-07, + 2.274500829667789e-07, + 2.2738815430989772e-07, + 2.2718345632622975e-07, + 2.2684962405072918e-07, + 2.2640030198819654e-07, + 2.258490101356866e-07, + 2.2520902055949695e-07, + 2.2449324400453505e-07, + 2.2371412601111214e-07, + 2.2288355243390678e-07, + 2.22012764755602e-07, + 2.2111228619681592e-07, + 2.201918599090193e-07, + 2.1926040077828922e-07, + 2.1832596210494073e-07, + 2.1739571809963917e-07, + 2.1647596233831754e-07, + 2.155721217378502e-07, + 2.146887848847268e-07, + 2.1382974275935661e-07, + 2.1299803985087172e-07, + 2.1219603289613075e-07, + 2.1142545486414657e-07, + 2.106874817685944e-07, + 2.0998279995335575e-07, + 2.0931167213493626e-07, + 2.0867400062266097e-07, + 2.0806938655723966e-07, + 2.074971844325591e-07, + 2.0695655141216343e-07, + 2.0644649124008916e-07, + 2.059658927294121e-07, + 2.0551356310031618e-07, + 2.0508825634751786e-07, + 2.0468869713957054e-07, + 2.043136005795002e-07, + 2.0396168830662602e-07, + 2.0363170141067247e-07, + 2.0332241052627984e-07, + 2.0303262354616237e-07, + 2.0276119128903456e-07, + 2.0250701150012953e-07, + 2.022690314158316e-07, + 2.020462491911486e-07, + 2.0183771439084634e-07, + 2.0164252775600923e-07, + 2.014598403571246e-07, + 2.0128885238631094e-07, + 2.0112881152634464e-07, + 2.009790111317764e-07, + 2.008387882661067e-07, + 2.007075216434797e-07, + 2.0058462945355377e-07, + 2.0046956727269152e-07, + 1.6455549927576758e-07, + 1.5918291792331522e-07, + 1.535192682716397e-07, + 1.4755245515357563e-07, + 1.4127035879231694e-07, + 1.3466090933970553e-07, + 1.2771217193290275e-07, + 1.204124433907516e-07, + 1.1275036086654203e-07, + 1.0471502359840609e-07, + 9.629612798247409e-08, + 8.748411670475958e-08, + 7.827034204743176e-08, + 6.864724389252277e-08, + 5.860854188084134e-08, + 4.8149441687920556e-08, + 3.726685463541321e-08, + 2.5959629271638354e-08, + 1.422879400960653e-08, + 2.0778078401433845e-09, + -1.048718264396431e-08, + -2.3457083564518637e-08, + -3.6819595260970674e-08, + -5.055895973531147e-08, + -6.465571855685875e-08, + -7.908648826719164e-08, + -9.382375881286592e-08, + -1.0883572294970137e-07, + -1.240861436280457e-07, + -1.3953426798921182e-07, + -1.551347954095476e-07, + -1.7083790840659182e-07, + -1.8658937353287653e-07, + -2.0233071954739348e-07, + -2.1799949950534354e-07, + -2.3352964081832318e-07, + -2.488518868848871e-07, + -2.638943316633467e-07, + -2.7858304496218605e-07, + -2.928427852438358e-07, + -3.065977930858174e-07, + -3.197726546651579e-07, + -3.322932225728143e-07, + -3.4408757872100626e-07, + -3.550870190634105e-07, + -3.652270407463293e-07, + -3.744483082800364e-07, + -3.826975747203093e-07, + -3.8992853416497955e-07, + -3.961025828757871e-07, + -4.0118946510814284e-07, + -4.0516778742397587e-07, + -4.080253821702426e-07, + -4.097595107822041e-07, + -4.103768981865642e-07, + -4.0989359713559986e-07, + -4.0833468455912153e-07, + -4.057337987354427e-07, + -4.0213253120509954e-07, + -3.9757968878096234e-07, + -3.921304493762819e-07, + -3.858454327854047e-07, + -3.787897136756647e-07, + -3.710318020254822e-07, + -3.626426167228818e-07, + -3.536944767792608e-07, + -3.4426013255733173e-07, + -3.3441185613971443e-07, + -3.242206069965333e-07, + -3.137552859220754e-07, + -3.030820855628744e-07, + -2.9226394259674694e-07, + -2.813600941401707e-07, + -2.704257359779092e-07, + -2.5951177975606205e-07, + -2.4866470152896997e-07, + -2.379264757277512e-07, + -2.2733458313594795e-07, + -2.1692208552155935e-07, + -2.0671775487534872e-07, + -1.967462488364382e-07, + -1.8702832143888268e-07, + -1.7758106105800997e-07, + -1.6841814693366016e-07, + -1.5955011720969804e-07, + -1.5098464145403273e-07, + -1.427267933025731e-07, + -1.3477931747948018e-07, + -1.2714288866257136e-07, + -1.198163584848267e-07, + -1.1279698930679352e-07, + -1.0608067269368741e-07, + -9.966213227152657e-08, + -9.353511003680338e-08, + -8.769253650452078e-08, + -8.212668473759181e-08, + -7.68293085092708e-08, + -7.179176617086887e-08, + -6.700512985534729e-08, + -6.246028211440494e-08, + -5.814799986723171e-08, + -5.405902738156224e-08, + -5.018413888202709e-08, + -4.651419225326362e-08, + -4.3040173605842485e-08, + -3.975323523249792e-08, + -3.664472615306281e-08, + -3.370621689926486e-08, + -3.092951941751909e-08, + -2.8306701877254544e-08, + -2.5830099700042227e-08, + -2.349232334626815e-08, + -2.1286262589025947e-08, + -1.9205088727788993e-08, + -1.7242254143699442e-08, + -1.5391490675959674e-08, + -1.3646805635971463e-08, + -1.200247723549306e-08, + -1.0453048691668908e-08, + -8.993321543792283e-09, + -7.618348231130961e-09, + -6.323424308333236e-09, + -5.104080362700256e-09, + -3.956073399909121e-09, + -2.8753783314395385e-09, + -1.858179225939922e-09, + -9.008609183035187e-10, + -0.0001058402829841624, + 0.00010121079749123612, + 0.00010110423511399723, + 0.00010096755613311113, + 0.00010079608417338116, + 0.00010058457246257471, + 0.00010032715551354486, + 0.00010001730198290747, + 9.964777060472187e-05, + 9.921057168114031e-05, + 9.869693729170473e-05, + 9.809730417886168e-05, + 9.7401314170611e-05, + 9.659783799426209e-05, + 9.56750293714826e-05, + 9.462041735021855e-05, + 9.342104575544044e-05, + 9.206366939070785e-05, + 9.053501693573108e-05, + 8.882213015936575e-05, + 8.691278784066548e-05, + 8.479602024151114e-05, + 8.246271581344396e-05, + 7.990631561798565e-05, + 7.712358243819879e-05, + 7.411542059136621e-05, + 7.088770922388088e-05, + 6.745209691944012e-05, + 6.382669001375959e-05, + 6.003655296721923e-05, + 5.611392917012308e-05, + 5.2098087982026824e-05, + 4.8034712265816044e-05, + 4.3974763513952836e-05, + 3.9972801015646536e-05, + 3.6084787174470974e-05, + 3.23654794023404e-05, + 2.8865582255425283e-05, + 2.5628899776945855e-05, + 2.2689772935616938e-05, + 2.007109614638263e-05, + 1.778316976409145e-05, + 1.5823559771037873e-05, + 1.4178010391907272e-05, + 1.2822310135522366e-05, + 1.1724874860611238e-05, + 1.0849712384744886e-05, + 1.0159394284670377e-05, + 9.617690159630844e-06, + 9.191608787544602e-06, + 8.852715596229815e-06, + 8.57772585178429e-06, + 8.34847932073248e-06, + 8.151466663449664e-06, + 7.977096055152222e-06, + 7.818868541803029e-06, + 7.672587540016058e-06, + 7.535677919499675e-06, + 7.4066456857580945e-06, + 7.284677085387445e-06, + 7.169357164074821e-06, + 7.060480063137766e-06, + 6.957922666739827e-06, + 6.861555851286171e-06, + 6.771170552434483e-06, + 6.68639751299061e-06, + 6.6065992266293784e-06, + 6.530710785671136e-06, + 6.45700452625139e-06, + 6.382754236555322e-06, + 6.3037816725573715e-06, + 6.2138849554916735e-06, + 6.104177389038056e-06, + 5.962405489988882e-06, + 5.7723604491166364e-06, + 5.5135361535452605e-06, + 5.161203724375367e-06, + 4.687052563870606e-06, + 4.060483486026153e-06, + 3.250535455034819e-06, + 2.2283027355319547e-06, + 9.695831458466882e-07, + -5.425783509984206e-07, + -2.315800696867508e-06, + -4.347028035255161e-06, + -6.622125820877997e-06, + -9.116454620271911e-06, + -1.1796323787483198e-05, + -1.4621115491902675e-05, + -1.754580438974174e-05, + -2.052358420985162e-05, + -2.350834279566487e-05, + -2.6456787670054783e-05, + -2.933009854483863e-05, + -3.20950567304064e-05, + -3.47246635647913e-05, + -3.719830523775948e-05, + -3.9501548438404114e-05, + -4.162566204348094e-05, + -4.356695818959802e-05, + -4.53260356964674e-05, + -4.6906993831841416e-05, + -4.8316667876650885e-05, + -4.956392213225651e-05, + -5.065902216182843e-05, + -5.1613096861095684e-05, + -5.243769248965338e-05, + -5.3144414858903013e-05, + -5.374465210214099e-05, + -5.424936838370155e-05, + -5.466895809493921e-05, + -5.5013150203055624e-05, + -5.529095306727244e-05, + -5.5510631041578145e-05, + -5.567970534030493e-05, + -5.580497280153558e-05, + -5.589253731255967e-05, + -5.594784968126928e-05, + -5.597575261965074e-05, + -5.598052828720528e-05, + -5.596594645458662e-05, + -5.593531189356809e-05, + -5.5891509997398395e-05, + -5.583704997211948e-05, + -5.577410519142885e-05, + -5.570455050393246e-05, + -5.5629996419261824e-05, + -5.555182020241781e-05, + -5.547119398622353e-05, + 3.079842412555803e-08, + 6.285590877008415e-08, + 9.616224926079769e-08, + 1.3069570566920678e-07, + 1.664211194726148e-07, + 2.032878298633925e-07, + 2.412273828113403e-07, + 2.801510297857123e-07, + 3.1994701823700145e-07, + 3.6047768280622906e-07, + 4.01576355070453e-07, + 4.430441207481871e-07, + 4.846464669540118e-07, + 5.261098785238888e-07, + 5.671184617328753e-07, + 6.073106958137485e-07, + 6.462764372015137e-07, + 6.835543276347042e-07, + 7.186297838891391e-07, + 7.509337721080124e-07, + 7.798425907623568e-07, + 8.046788997114703e-07, + 8.24714234255638e-07, + 8.391732273649383e-07, + 8.472397248906543e-07, + 8.480649121434969e-07, + 8.407774714470824e-07, + 8.244956571426905e-07, + 7.983410088596389e-07, + 7.614532329749581e-07, + 7.13005580284653e-07, + 6.522198569137546e-07, + 5.783800545352139e-07, + 4.90843509032356e-07, + 3.8904852799692666e-07, + 2.725175943272328e-07, + 1.4085556790267284e-07, + -6.257241346321215e-09, + -1.69076707859563e-07, + -3.478102361037225e-07, + -5.426343089661828e-07, + -7.537123764842693e-07, + -9.812111059063004e-07, + -1.2253131751968039e-06, + -1.4862252173915765e-06, + -1.7641801429276734e-06, + -2.059433768932265e-06, + -2.372256340645588e-06, + -2.702920029653513e-06, + -3.0516837691140617e-06, + -3.418776826885133e-06, + -3.8043823642075137e-06, + -4.20862195371148e-06, + -4.631541716788632e-06, + -5.073100453286419e-06, + -5.5331599158576465e-06, + -6.0114772389405435e-06, + -6.507699458726569e-06, + -7.021360034825577e-06, + -7.551877283746056e-06, + -8.098554639583126e-06, + -8.660582654992208e-06, + -9.237042637391959e-06, + -9.826911776354705e-06, + -1.0429069554815388e-05, + -1.104230514629769e-05, + -1.1665325382088431e-05, + -1.2296762730702469e-05, + -1.293518258216699e-05, + -1.3579089002734766e-05, + -1.4226928071963564e-05, + -1.4877087999559916e-05, + -1.552789551171126e-05, + -1.617760854046045e-05, + -1.6824406035862258e-05, + -1.746637666071063e-05, + -1.8101509048281983e-05, + -1.8727686972493074e-05, + -1.9342692963002015e-05, + -1.9944223433182604e-05, + -2.052991725166295e-05, + -2.1097398019047504e-05, + -2.1644328394757268e-05, + -2.2168473013534173e-05, + -2.2667765178500885e-05, + -2.3140371857112575e-05, + -2.3584751624358283e-05, + -2.3999701022472e-05, + -2.4384386143717142e-05, + -2.473835783437425e-05, + -2.5061550504696495e-05, + -2.5354265900359793e-05, + -2.56171442106484e-05, + -2.585112550306579e-05, + -2.6057404698242753e-05, + -2.6237383196024363e-05, + -2.6392619921556726e-05, + -2.6524784072114403e-05, + -2.663561129503634e-05, + -2.6726864480810546e-05, + -2.6800299859267944e-05, + -2.6857638668158026e-05, + -2.6900544333386715e-05, + -2.6930604858502932e-05, + -2.6949319959558867e-05, + -2.6958092387978505e-05, + -2.695822284474038e-05, + -2.6950907890474447e-05, + -2.6937240285836445e-05, + -2.691821124453785e-05, + -2.6894714139539923e-05, + -2.6867549265030125e-05, + -2.6837429318499612e-05, + -2.6804985325598588e-05, + -2.6770772783678262e-05, + -2.6735277847114244e-05, + -2.669892341835009e-05, + -2.666207504323016e-05, + -2.6625046538005796e-05, + -2.6588105298951237e-05, + -2.655147726443724e-05, + -2.65153515142176e-05, + -2.6479884502197483e-05, + -2.6445203927636298e-05, + -2.641141225609765e-05, + -2.637858990593624e-05, + -2.6346798119087097e-05, + -2.6284643509714026e-05, + -2.6251659286075047e-05, + -2.621663694143411e-05, + -2.6179456505298425e-05, + -2.6139991718607803e-05, + -2.6098109805432084e-05, + -2.6053671250516986e-05, + -2.6006529585221706e-05, + -2.5956531184739884e-05, + -2.5903515079872576e-05, + -2.5847312787028048e-05, + -2.5787748160557408e-05, + -2.5724637271996627e-05, + -2.5657788321270656e-05, + -2.5587001585422312e-05, + -2.5512069410950978e-05, + -2.543277625637848e-05, + -2.534889879219323e-05, + -2.526020606584861e-05, + -2.516645973999533e-05, + -2.506741441259456e-05, + -2.4962818027972105e-05, + -2.4852412388212082e-05, + -2.473593377452874e-05, + -2.461311368836966e-05, + -2.4483679721963562e-05, + -2.4347356567798422e-05, + -2.4203867176065864e-05, + -2.4052934068399077e-05, + -2.389428081522695e-05, + -2.3727633682728393e-05, + -2.355272345366328e-05, + -2.3369287424247654e-05, + -2.317707157670368e-05, + -2.297583292413201e-05, + -2.2765342020916105e-05, + -2.254538562798191e-05, + -2.231576951792378e-05, + -2.207632140031041e-05, + -2.1826893942467916e-05, + -2.1567367855789912e-05, + -2.1297655012261535e-05, + -2.1017701550549403e-05, + -2.072749092587003e-05, + -2.0427046853098993e-05, + -2.011643608843417e-05, + -1.979577099160596e-05, + -1.9465211808367423e-05, + -1.9124968612026343e-05, + -1.8775302843310568e-05, + -1.8416528390071888e-05, + -1.804901215236964e-05, + -1.7673174044419066e-05, + -1.7289486392752904e-05, + -1.6898472699664154e-05, + -1.6500705752421406e-05, + -1.6096805071635465e-05, + -1.5687433706179766e-05, + -1.5273294396822578e-05, + -1.485512514574503e-05, + -1.4433694243879326e-05, + -1.4009794821967165e-05, + -1.3584239003873959e-05, + -1.3157851751498067e-05, + -1.2731464499141862e-05, + -1.2305908681107625e-05, + -1.1882009259293413e-05, + -1.1460578357564155e-05, + -1.1042409106660876e-05, + -1.0628269797514906e-05, + -1.0218898432306329e-05, + -9.814997751802192e-06, + -9.41723080487453e-06, + -9.0262171121326e-06, + -8.642529460843288e-06, + -8.26669135329776e-06, + -7.899175116026787e-06, + -7.540400663243556e-06, + -7.190734895005281e-06, + -6.850491699161483e-06, + -6.519932516437787e-06, + -6.19926742013966e-06, + -5.8886566560178634e-06, + -5.588212583800505e-06, + -5.298001959683193e-06, + -5.018048498539284e-06, + -4.748335655583142e-06, + -4.488809569479317e-06, + -4.239382112210955e-06, + -3.999933995169796e-06, + -3.7703178856802074e-06, + -3.5503614933092355e-06, + -3.3398705906497258e-06, + -3.1386319386262614e-06, + -2.9464160916210334e-06, + -2.762980062733606e-06, + -2.5880698341851664e-06, + -2.4214227021909003e-06, + -2.262769449509981e-06, + -2.111836342320703e-06, + -1.968346951051479e-06, + -1.8320237973351195e-06, + -1.702589831362964e-06, + -1.5797697456228303e-06, + -1.463291132343339e-06, + -1.3528854929720399e-06, + -1.248289108723253e-06, + -1.1492437816811947e-06, + -1.0554974561718731e-06, + -9.668047301566797e-07, + -8.82927266286565e-07, + -8.036341120152505e-07, + -7.287019378314608e-07, + -6.579152022573925e-07, + -5.910662517928084e-07, + -5.279553634809355e-07, + -4.6839073724712684e-07, + -4.1218844462776164e-07, + -3.591723399743929e-07, + -3.091739396956916e-07, + -2.620322745931569e-07, + -2.1759371986083532e-07, + -1.757118068583646e-07, + -1.3624702033185839e-07, + -9.9066584351568e-08, + -6.404423985769087e-08, + -3.1060016357839226e-08, + -2.6315703526203678e-05, + -2.6315703526203678e-05, + -2.6466307338580824e-05, + 2.651606535440163e-05, + -2.649671245525523e-05, + 2.648535254480144e-05 + ], + "direct_poisson_residual_C_m2": [ + -2.064642808932357e-20, + 3.7190040340384124e-21, + 1.368487605407729e-20, + -1.903177153362006e-20, + -5.1894002909126744e-20, + -1.1077602763310147e-20, + 1.588186776101813e-20, + 4.624270496416446e-20, + -1.5087774372967225e-19, + -8.893845946170154e-21, + 7.350657795391225e-20, + -1.3224301889007764e-19, + 2.4775713707188285e-20, + -5.1616070223308927e-20, + 1.4042218078700198e-19, + 2.956674381509542e-20, + 1.9648517398339598e-19, + 7.694764930213285e-20, + -2.3941915649734833e-19, + 8.285041015331125e-20, + 1.1106719520872013e-19, + -4.095933695566576e-19, + 3.2764293190980405e-19, + -2.7253285077907113e-19, + -7.072725109573408e-20, + 4.9763185651190145e-20, + 2.9969084465041214e-19, + -1.7268884212147048e-19, + -5.235722405215644e-20, + 1.3706051877758647e-19, + 2.7406809799596955e-19, + -1.896295010665565e-19, + 1.6167741380716458e-19, + 1.4034277144819689e-19, + -1.7740046289057253e-19, + 1.6464202912255463e-20, + 4.0763460586613204e-21, + -3.7692966152816365e-19, + -1.7787691892340307e-20, + 1.5765400730770665e-19, + 1.607245017415035e-19, + -1.9269999550035333e-19, + 3.1477861902337936e-19, + -4.207636165485737e-19, + 1.7470054537119944e-19, + -8.639736061993863e-20, + 1.835414517581662e-19, + -2.2922829135069503e-19, + -2.1969917069408415e-19, + 3.1244927841843004e-19, + -1.291725244562808e-19, + 9.730290981583775e-20, + -4.277516383634217e-20, + -6.040403705107229e-20, + -3.4558944247975454e-19, + 4.453011022393467e-19, + -3.851617629842914e-19, + -2.2051973386173675e-19, + 9.380889890841376e-20, + -5.581947122405839e-19, + 4.799368088481671e-19, + -2.55340728927769e-19, + -2.6715286807502624e-19, + 1.5928582786112064e-19, + -1.3036366453835716e-20, + -3.521936524903779e-19, + 2.8163845496205486e-19, + 1.7999450129153882e-20, + 3.5649499167565366e-19, + 2.01461492548515e-19, + 1.0815551945253347e-19, + -2.464865876510014e-19, + -7.940933880509066e-20, + -4.383395502041004e-20, + 1.588186776101813e-20, + 3.9461147430209717e-19, + -8.160103655611116e-19, + 1.14450033041817e-18, + -6.060520737604519e-19, + 2.736975210815458e-19, + 3.511480961961109e-19, + -3.925997710523682e-19, + -2.8518540542868225e-19, + 1.119512858474168e-18, + -1.6109507865592725e-18, + -2.237225771935421e-19, + 6.691560283308973e-20, + -1.0185041795140928e-18, + 2.7989144950834287e-19, + 1.3102540902839958e-19, + -2.270048298641525e-19, + -2.9603801506537797e-19, + -4.737031757519675e-19, + -3.6083603553033194e-19, + 4.1674021004911577e-19, + -1.5082480417046885e-18, + 5.87787925835281e-19, + -2.2942946167566793e-18, + 8.685793478500816e-19, + 1.4840017235895342e-18, + -1.401839527705867e-18, + 3.461188380717885e-19, + 2.663548042200351e-18, + -1.6675961149069038e-18, + 2.5412047208813078e-18, + -3.663682194670866e-18, + 6.260102875801313e-20, + 1.6183093852885442e-18, + -1.7043891085532625e-19, + 2.6296667243101788e-18, + -4.454863906965586e-18, + -5.586711682734145e-19, + -4.373257576453554e-18, + 3.037989544445955e-18, + 5.616887231480079e-19, + -6.747861504521782e-18, + 7.186545161860704e-18, + 4.019197804501257e-18, + -1.6491202087449194e-18, + 6.471199368124846e-18, + 5.054139717148003e-19, + -1.0320395013134205e-17, + -2.4732303268641502e-18, + 4.848443059863217e-18, + -6.66515667815628e-18, + -4.692615467348027e-18, + 3.873011790431894e-18, + -6.8867867129666746e-18, + 9.786030029133109e-18, + 2.865306270043469e-18, + 1.6172531696857322e-18, + -4.412335393878329e-18, + -1.3904887069413288e-18, + -3.2383021099667955e-18, + 7.350180403288156e-18, + -4.3581800640264835e-18, + -2.3488184574885466e-19, + 5.810839543767459e-18, + -3.594949328360592e-18, + -7.177699259664365e-19, + 4.019464731298999e-18, + -6.737534486253485e-18, + -2.7498493789888977e-20, + -1.860057361160465e-18, + -7.004901512984947e-20, + 1.9072751350087743e-18, + 6.500166597240179e-19, + -2.044926887289398e-18, + -8.9531463054304e-19, + 2.459342918311604e-18, + -5.41021491575457e-19, + 2.3796560853119878e-18, + -2.5029678479432733e-18, + -1.136376893781611e-18, + -2.6281000672170157e-19, + 2.071437580211564e-18, + -3.4331941987422987e-18, + -3.3199838866421726e-20, + 4.1359566990017226e-19, + -9.19632640713153e-19, + 1.4961739447636668e-18, + 1.0640866474931216e-18, + -1.2465064519044211e-19, + 9.000652353784068e-19, + -6.900135474522858e-19, + 1.5563614480755127e-18, + 2.1185068630752784e-19, + -1.7483668272850352e-18, + 1.2417752330035503e-18, + -8.809999614613285e-19, + 2.6141024079441803e-18, + -1.2192930387061872e-19, + 7.118761747172517e-19, + -7.354546052837017e-19, + 4.827651239677706e-19, + -2.7644531355123174e-19, + -3.3575801378816067e-19, + -1.0857411983650715e-19, + 3.6871744654863717e-19, + -1.165977918780924e-18, + 7.74688761732289e-19, + -8.6505168178248e-20, + 7.627843572001703e-19, + -2.002981688205615e-20, + 2.5004893108237513e-19, + 1.6175287268753964e-18, + -1.97681023604204e-18, + -1.37814795025969e-19, + -7.034296128641099e-19, + 1.4874389994072678e-18, + -1.1784124085797393e-19, + 9.409864262965988e-19, + -1.4436910571556604e-18, + -3.542966432845447e-19, + -1.8636552833595543e-18, + 5.567313447287348e-19, + -4.140500056878856e-19, + 1.8122704868107084e-18, + 8.471727244105357e-19, + 7.455987829616319e-19, + 3.942114406314164e-19, + -4.169645197468738e-19, + -1.2766678499056655e-19, + 2.547867434373085e-19, + -2.438722249420236e-19, + 9.027606028298243e-19, + 1.7866704049747456e-19, + -2.4359487676617436e-18, + -1.7324204560832738e-18, + 1.448108566322415e-18, + 2.1208696889868195e-19, + -1.7442468817581016e-19, + 3.6449919037809832e-19, + -6.856770169748043e-19, + -1.4933379605313671e-18, + -3.689102410290916e-18, + 2.377365440718476e-18, + -2.263065554076944e-18, + 1.5862635881899352e-18, + -3.3067182903042228e-18, + 5.196224230350821e-19, + 1.034805152984226e-18, + -3.3860065277776177e-18, + -3.962728285324808e-18, + 8.080727009340552e-18, + -1.173578651774786e-19, + 1.02658035727492e-18, + -4.011687302028066e-18, + -1.2711966236334912e-18, + -1.0822616090149953e-18, + 1.8321899883321098e-18, + 6.011223922259784e-19, + -1.2430752877737687e-18, + 6.766128613074557e-18, + 3.962379361640422e-19, + -2.9562243742273307e-18, + 3.6928078496302386e-18, + 3.037393403450141e-18, + -8.354258539169358e-18, + -9.631206182499351e-18, + 9.645993630952462e-18, + 4.40270757867033e-18, + -1.49272468998938e-17, + 7.190273033804043e-18, + 1.387040073884687e-18, + 9.315043474080702e-18, + 1.0174323856430773e-17, + -1.6836810992743942e-17, + -2.31600643077868e-18, + 5.176469336435364e-18, + -8.226472656364251e-18, + 2.6873640604945807e-17, + -5.370091261987146e-19, + 1.363252650865112e-17 + ], + "electron_qf_increment_V": [ + 0.0, + -1.889484238246679e-06, + -3.901215697583059e-06, + -6.043113098397484e-06, + -8.32360712127706e-06, + -1.0751672944888074e-05, + -1.3336864696156815e-05, + -1.6089351892529863e-05, + -1.901995793870097e-05, + -2.214020075792575e-05, + -2.5462335597207546e-05, + -2.899940005717484e-05, + -3.2765261371548234e-05, + -3.6774665934790836e-05, + -4.104329106199072e-05, + -4.558779892987362e-05, + -5.0425892593839837e-05, + -5.557637395357709e-05, + -6.105920347211932e-05, + -6.689556137547086e-05, + -7.310791000736292e-05, + -7.972005690923723e-05, + -8.675721808954283e-05, + -9.424608084097835e-05, + -0.00010221486532300965, + -0.0001106933839772568, + -0.00011971309769427053, + -0.00012930716742796887, + -0.0001395104998300801, + -0.00015035978517473464, + -0.00016189352571742028, + -0.00017415205233527382, + -0.0001871775271110503, + -0.000201013929286816, + -0.00021570702181693003, + -0.00023130429555901847, + -0.00024785488802715056, + -0.0002654094735138001, + -0.00028402012139400553, + -0.000303740119479852, + -0.00032462375946628143, + -0.00034672608179680083, + -0.00037010257769878657, + -0.0003948088467087263, + -0.00042090020871516016, + -0.0004484312704508052, + -0.00047745544734631413, + -0.0005080244428720293, + -0.0005401876887111834, + -0.0005739917505137479, + -0.0006094797053256152, + -0.0006466904981920098, + -0.0006856582867262268, + -0.0007264117836122594, + -0.0007689736079916633, + -0.000813359657418905, + -0.0008595785125066287, + -0.0009076308864855629, + -0.0009575091316563906, + -0.0010091968140882855, + -0.0010626683669929533, + -0.0011178888318926032, + -0.0011748136952176764, + -0.0012333888261876333, + -0.0012935505199818099, + -0.001355225648232858, + -0.0014183319169497593, + -0.0014827782300460407, + -0.0015484651548769606, + -0.0016152854845148843, + -0.0016831248900113019, + -0.0017518626545446816, + -0.0018213724802397975, + -0.0018915233574297568, + -0.0019621804853562942, + -0.0020332062326139963, + -0.0021044611251685753, + -0.0021758048494218, + -0.002247097257616563, + -0.002318199362865739, + -0.00238897431126537, + -0.0024592883189339426, + -0.002529011562395265, + -0.0025980190115552602, + -0.00266619119550103, + -0.002733414892611442, + -0.002799583737836647, + -0.0028645987415773606, + -0.0029283687162188214, + -0.002990810608132079, + -0.003051849734642374, + -0.003111419927182817, + -0.0031694635834271546, + -0.0032259316326737294, + -0.003280783420035087, + -0.0033339865160676553, + -0.0033855164593515593, + -0.003435356440151349, + -0.003483496933691414, + -0.0035299352917379065, + -0.0035746753011649517, + -0.003617726717925092, + -0.003659104784479621, + -0.003698829738213698, + -0.003736926317726917, + -0.003773423273215096, + -0.003808352886381974, + -0.00384175050458183, + -0.0038736540931047663, + -0.0039041038088012455, + -0.0039331415975037065, + -0.0039608108170687, + -0.003987155887247777, + -0.004012221967062563, + -0.004036054659867774, + -0.004058699745913401, + -0.0040802029418155064, + -0.0041006096861164265, + -0.004119964949850477, + -0.004138313070872188, + -0.004155697610572414, + -0.004172161231522143, + -0.004187745594534256, + -0.0042024912736149935, + -0.0042164376872844845, + -0.004229623044774558, + -0.004242084305658218, + -0.004253857151524384, + -0.004332013570347701, + -0.004332262507235099, + -0.004332527534929485, + -0.004332809694866591, + -0.00433311009591943, + -0.004333429918737896, + -0.004333770420363834, + -0.004334132939126856, + -0.004334518899841978, + -0.004334929819324526, + -0.004335367312227987, + -0.004335833097237786, + -0.004336329003613131, + -0.004336856978108692, + -0.0043374190922792315, + -0.004338017550178516, + -0.004338654696467449, + -0.004339333024928555, + -0.004340055187395934, + -0.004340824003095599, + -0.004341642468392763, + -0.004342513766918997, + -0.004343441280084497, + -0.004344428597906016, + -0.004345479530137803, + -0.00434659811763552, + -0.004347788643876791, + -0.004349055646551574, + -0.004350403929105422, + -0.004351838572096921, + -0.004353364944201755, + -0.004354988712664037, + -0.004356715852959449, + -0.0043585526573985435, + -0.004360505742346714, + -0.004362582053703114, + -0.004364788870228988, + -0.0043671338042461155, + -0.004369624799211142, + -0.004372270123579966, + -0.0043750783603544435, + -0.004378058391649671, + -0.004381219377573993, + -0.004384570728711494, + -0.004388122071457494, + -0.004391883205477268, + -0.004395864052600971, + -0.004400074596502885, + -0.0044045248126173015, + -0.00440922458788535, + -0.004414183630070402, + -0.004419411366618613, + -0.004424916833288145, + -0.004430708553077348, + -0.004436794406325276, + -0.004443181493235458, + -0.004449875990475693, + -0.004456883003920135, + -0.004464206420008317, + -0.004471848758584798, + -0.004479811030411634, + -0.004488092602844928, + -0.004496691077320877, + -0.004505602182397365, + -0.0045148196860328, + -0.004524335330599947, + -0.0045341387937821165, + -0.004544217678041242, + -0.004554557530696709, + -0.004565141895944003, + -0.004575952399289461, + -0.004586968864000632, + -0.0045981694582480715, + -0.0046095308707067, + -0.004621028511556247, + -0.004632636735049397, + -0.004644329079223204, + -0.004656078517832126, + -0.004667857719318695, + -0.004679639307501789, + -0.004691396118778303, + -0.004703101450825865, + -0.004714729298253328, + -0.004726254571142094, + -0.004737653293071884, + -0.004748902775924105, + -0.0047599817694960285, + -0.004770870584703394, + -0.004781551189868968, + -0.004792007280269631, + -0.004802224321709408, + -0.004812189569419492, + -0.004821892064009788, + -0.004831322606524495, + -0.004840473714905866, + -0.004849339564309585, + -0.004857915913787208, + -0.004866200021829734, + -0.004874190553219899, + -0.004881887479486877, + -0.004889291975119269, + -0.004896406311488289, + -0.004903233750226379, + -0.004909778437586241, + -0.004916045301083535, + -0.004922039949508997, + -0.0049277685771917925, + -0.004933237873189184, + -0.004938454935928274, + -0.00494342719362185, + -0.004948162330693005, + -0.004952668220260961, + -0.004956952862705951, + -0.004961024330163256, + -0.004964890716810746, + -0.0049685600946896575, + -0.004972040474800832, + -0.00497533977315911, + -0.004978465781500654, + -0.004981426142286323, + -0.004984228327677708, + -0.004986879622145937, + -0.004989387108378226, + -0.004991757656166491, + -0.004993997913979632, + -0.004996114302915328, + -0.0049981130127751145, + -0.004999999999999893 + ], + "eliminated_operator": { + "capture_flux": { + "difference": [ + [ + -1.6450881958007812e-05, + 3.166496753692627e-07, + -0.00106048583984375, + 1.1932570487260818e-09 + ] + ], + "direct": [ + [ + -878742010.9472234, + -4017784.222634432, + -43631330373.894356, + -80698.10196649286 + ] + ], + "direct_maximum_absolute": 43631330373.894356, + "eliminated": [ + [ + -878742010.947207, + -4017784.2226347486, + -43631330373.893295, + -80698.10196649405 + ] + ], + "eliminated_maximum_absolute": 43631330373.893295, + "floor_active": false, + "maximum_absolute_difference": 0.00106048583984375, + "normalization_floor": 1.0, + "normalization_scale": 43631330373.894356, + "relative_error": 2.43056040408583e-14, + "unit": "m-2 s-1" + }, + "electron_current": { + "difference": [ + 0.0, + 0.0, + -2.541098841762901e-21, + 7.623296525288703e-21, + -5.082197683525802e-21, + -1.5246593050577406e-20, + 8.470329472543003e-21, + 2.371692252312041e-20, + 4.235164736271502e-21, + 5.082197683525802e-21, + 6.776263578034403e-21, + 1.3552527156068805e-20, + 9.317362419797304e-21, + 2.0328790734103208e-20, + 2.795208725939191e-20, + 8.470329472543003e-22, + 1.3552527156068805e-20, + -5.929230630780102e-21, + 1.6940658945086007e-21, + -1.8634724839594607e-20, + 2.371692252312041e-20, + -5.082197683525802e-21, + 9.317362419797304e-21, + 2.0328790734103208e-20, + -2.541098841762901e-21, + -3.3881317890172014e-21, + 2.541098841762901e-21, + 0.0, + -1.1011428314305904e-20, + 2.1175823681357508e-20, + 1.1858461261560205e-20, + 8.470329472543003e-22, + 0.0, + 5.082197683525802e-21, + 1.9481757786848908e-20, + 2.541098841762901e-21, + 2.541098841762901e-21, + -1.0164395367051604e-20, + 1.2705494208814505e-20, + -1.0164395367051604e-20, + -7.623296525288703e-21, + -6.776263578034403e-21, + 8.470329472543003e-22, + 2.795208725939191e-20, + -4.235164736271502e-21, + 1.2705494208814505e-20, + 1.7787691892340307e-20, + -2.541098841762901e-20, + -2.541098841762901e-21, + 6.776263578034403e-21, + -1.0164395367051604e-20, + 2.541098841762901e-21, + 0.0, + 1.7787691892340307e-20, + -1.1858461261560205e-20, + 1.4399560103323106e-20, + 2.202285662861181e-20, + -1.7787691892340307e-20, + -2.541098841762901e-21, + 6.776263578034403e-21, + -4.235164736271502e-21, + 6.776263578034403e-21, + -1.0164395367051604e-20, + 2.541098841762901e-20, + -2.0328790734103208e-20, + -5.929230630780102e-21, + 8.470329472543003e-21, + 5.082197683525802e-21, + 5.929230630780102e-21, + 8.470329472543003e-22, + 5.082197683525802e-21, + -2.541098841762901e-21, + 2.541098841762901e-21, + 1.3552527156068805e-20, + -5.929230630780102e-21, + -1.1011428314305904e-20, + -9.317362419797304e-21, + -1.8634724839594607e-20, + -5.082197683525802e-21, + 1.9481757786848908e-20, + 1.6940658945086007e-21, + -8.470329472543003e-22, + 1.2705494208814505e-20, + -2.286988957586611e-20, + -1.2705494208814505e-20, + -1.6940658945086007e-21, + -8.470329472543003e-22, + -2.964615315390051e-20, + -3.3881317890172014e-21, + 2.456395547037471e-20, + 1.0164395367051604e-20, + 5.929230630780102e-21, + 2.964615315390051e-20, + 7.623296525288703e-21, + -7.623296525288703e-21, + -3.3881317890172014e-21, + -7.623296525288703e-21, + -2.541098841762901e-21, + 3.3881317890172014e-21, + -2.202285662861181e-20, + -6.776263578034403e-21, + -8.470329472543003e-22, + 1.1011428314305904e-20, + 2.286988957586611e-20, + 1.1011428314305904e-20, + -1.0164395367051604e-20, + 5.929230630780102e-21, + 0.0, + 1.6940658945086007e-20, + 5.082197683525802e-21, + -8.470329472543003e-21, + -5.929230630780102e-21, + 5.929230630780102e-21, + -1.1011428314305904e-20, + -7.623296525288703e-21, + 5.082197683525802e-21, + -1.3552527156068805e-20, + -1.1011428314305904e-20, + 3.3881317890172014e-21, + 0.0, + 2.541098841762901e-21, + -4.235164736271502e-21, + -6.776263578034403e-21, + -1.6093625997831706e-20, + -1.3552527156068805e-20, + 9.317362419797304e-21, + -8.470329472543003e-21, + -1.9030289225962366e-17, + 8.470329472543003e-21, + 3.3881317890172014e-21, + 3.4728350837426314e-20, + 2.456395547037471e-20, + 1.2705494208814505e-20, + 0.0, + -1.1011428314305904e-20, + 6.776263578034403e-21, + -2.286988957586611e-20, + 1.3552527156068805e-20, + 2.541098841762901e-21, + 2.541098841762901e-21, + -1.8634724839594607e-20, + -1.0164395367051604e-20, + 5.082197683525802e-21, + 0.0, + 1.2705494208814505e-20, + -7.623296525288703e-21, + 0.0, + 3.6422416731934915e-20, + 1.1011428314305904e-20, + -2.202285662861181e-20, + -1.1011428314305904e-20, + -1.2705494208814505e-20, + -8.470329472543003e-21, + 4.235164736271502e-21, + -8.470329472543003e-21, + 1.1011428314305904e-20, + -1.1011428314305904e-20, + 1.8634724839594607e-20, + -1.9481757786848908e-20, + -1.6940658945086007e-20, + -1.6940658945086007e-21, + -8.470329472543003e-21, + 1.1011428314305904e-20, + -1.6940658945086007e-21, + -2.541098841762901e-21, + 1.4399560103323106e-20, + -1.1858461261560205e-20, + -7.623296525288703e-21, + 1.5246593050577406e-20, + 5.929230630780102e-21, + -8.470329472543003e-21, + -2.541098841762901e-21, + -5.082197683525802e-21, + -1.8634724839594607e-20, + 1.6940658945086007e-21, + -6.776263578034403e-21, + 6.776263578034403e-21, + 6.776263578034403e-21, + 1.3552527156068805e-20, + -8.470329472543003e-21, + 1.6093625997831706e-20, + 8.470329472543003e-21, + 2.286988957586611e-20, + 8.470329472543003e-22, + 5.082197683525802e-21, + 9.317362419797304e-21, + -2.625802136488331e-20, + -1.4399560103323106e-20, + -1.9481757786848908e-20, + 1.8634724839594607e-20, + -9.317362419797304e-21, + 7.623296525288703e-21, + 0.0, + 1.0164395367051604e-20, + -1.8634724839594607e-20, + -6.776263578034403e-21, + -8.470329472543003e-22, + -2.371692252312041e-20, + 0.0, + -5.082197683525802e-21, + -1.4399560103323106e-20, + 2.371692252312041e-20, + -3.5575383784680614e-20, + -8.470329472543003e-22, + 1.7787691892340307e-20, + -6.776263578034403e-21, + 0.0, + -3.8116482626443515e-20, + -4.489274620447792e-20, + 3.3881317890172014e-20, + 2.202285662861181e-20, + 3.3034284942917713e-20, + 2.456395547037471e-20, + 5.082197683525802e-21, + 5.929230630780102e-21, + -6.776263578034403e-21, + 5.082197683525802e-21, + -3.7269449679189215e-20, + -2.541098841762901e-21, + 5.082197683525802e-21, + 0.0, + 1.3552527156068805e-20, + 9.317362419797304e-21, + -2.541098841762901e-21, + 7.623296525288703e-21, + 7.623296525288703e-21, + -7.623296525288703e-21, + -3.218725199566341e-20, + -1.5246593050577406e-20, + -2.0328790734103208e-20, + -8.470329472543003e-22, + -1.5246593050577406e-20, + 6.776263578034403e-21, + -1.3552527156068805e-20, + -2.541098841762901e-21, + -6.776263578034403e-21, + -1.6093625997831706e-20, + -3.3881317890172014e-21, + 5.929230630780102e-21, + 2.795208725939191e-20, + -3.134021904840911e-20, + 6.776263578034403e-21, + -5.929230630780102e-21, + 1.4399560103323106e-20, + 2.202285662861181e-20, + -3.6422416731934915e-20, + -2.541098841762901e-21, + -1.2705494208814505e-20, + 1.3552527156068805e-20, + 1.6940658945086007e-20, + 3.8116482626443515e-20, + 1.1011428314305904e-20, + -2.541098841762901e-21, + -1.3552527156068805e-20, + 1.3552527156068805e-20 + ], + "direct": [ + -6.442831347574971e-06, + -6.4428313478011795e-06, + -6.442831348301011e-06, + -6.442831349129789e-06, + -6.44283135035199e-06, + -6.442831352042675e-06, + -6.442831354289092e-06, + -6.442831357192604e-06, + -6.442831360870846e-06, + -6.442831365460207e-06, + -6.442831371118688e-06, + -6.4428313780291765e-06, + -6.4428313864032475e-06, + -6.442831396485326e-06, + -6.4428314085577585e-06, + -6.442831422946231e-06, + -6.442831440026163e-06, + -6.442831460229994e-06, + -6.442831484055185e-06, + -6.44283151207357e-06, + -6.4428315449415945e-06, + -6.4428315834120835e-06, + -6.44283162834714e-06, + -6.442831680732776e-06, + -6.4428317416948264e-06, + -6.442831812517022e-06, + -6.44283189466012e-06, + -6.4428319897835845e-06, + -6.442832099768421e-06, + -6.442832226742204e-06, + -6.4428323731056114e-06, + -6.442832541560437e-06, + -6.442832735138996e-06, + -6.442832957234373e-06, + -6.442833211631201e-06, + -6.4428335025363e-06, + -6.44283383460861e-06, + -6.442834212987407e-06, + -6.442834643317683e-06, + -6.44283513177225e-06, + -6.442835685067973e-06, + -6.442836310476077e-06, + -6.442837015824206e-06, + -6.4428378094885896e-06, + -6.4428387003754556e-06, + -6.442839697889113e-06, + -6.442840811886183e-06, + -6.4428420526141e-06, + -6.442843430633118e-06, + -6.442844956721437e-06, + -6.442846641762756e-06, + -6.442848496617282e-06, + -6.442850531976625e-06, + -6.442852758204547e-06, + -6.442855185165577e-06, + -6.442857822045293e-06, + -6.442860677164323e-06, + -6.442863757792234e-06, + -6.442867069964276e-06, + -6.442870618307239e-06, + -6.4428744058783545e-06, + -6.44287843402372e-06, + -6.442882702259756e-06, + -6.442887208182964e-06, + -6.442891947411352e-06, + -6.4428969135602554e-06, + -6.4429020982548014e-06, + -6.442907491179449e-06, + -6.442913080164062e-06, + -6.442918851305517e-06, + -6.442924789121424e-06, + -6.442930876732334e-06, + -6.442937096068571e-06, + -6.442943428095167e-06, + -6.442949853050306e-06, + -6.442956350690183e-06, + -6.44296290053577e-06, + -6.442969482114119e-06, + -6.442976075190112e-06, + -6.442982659983306e-06, + -6.442989217366776e-06, + -6.4429957290434156e-06, + -6.443002177698865e-06, + -6.4430085471288e-06, + -6.44301482234021e-06, + -6.443020989627336e-06, + -6.443027036621675e-06, + -6.443032952319973e-06, + -6.443038727088605e-06, + -6.443044352650657e-06, + -6.443049822053818e-06, + -6.443055129625471e-06, + -6.443060270914284e-06, + -6.443065242623343e-06, + -6.443070042535213e-06, + -6.443074669432532e-06, + -6.4430791230152025e-06, + -6.443083403816167e-06, + -6.443087513117435e-06, + -6.4430914528678565e-06, + -6.443095225602737e-06, + -6.44309883436736e-06, + -6.4431022826439295e-06, + -6.443105574283674e-06, + -6.443108713442734e-06, + -6.4431117045238715e-06, + -6.443114552122495e-06, + -6.443117260977775e-06, + -6.443119835929277e-06, + -6.443122281876641e-06, + -6.443124603745031e-06, + -6.443126806455444e-06, + -6.443128894897102e-06, + -6.4431308739028785e-06, + -6.443132748232449e-06, + -6.443134522554647e-06, + -6.443136201430548e-06, + -6.443137789308169e-06, + -6.443139290506943e-06, + -6.443140709214615e-06, + -6.443142049481376e-06, + -6.443143315215291e-06, + -6.443144510179813e-06, + -6.443145637994802e-06, + -6.44314670213346e-06, + -6.443147705925321e-06, + -6.443148652556548e-06, + -6.443149977929451e-06, + -6.450282221708254e-06, + -6.450282895705629e-06, + -6.4502836102207295e-06, + -6.450284367407153e-06, + -6.450285169659191e-06, + -6.4502860193107045e-06, + -6.450286918957854e-06, + -6.45028787116345e-06, + -6.450288878679242e-06, + -6.450289944278217e-06, + -6.4502910708438065e-06, + -6.450292261362135e-06, + -6.450293518903792e-06, + -6.450294846548375e-06, + -6.450296247525235e-06, + -6.450297725033352e-06, + -6.450299282351952e-06, + -6.450300922796305e-06, + -6.4503026496519745e-06, + -6.450304466200479e-06, + -6.450306375700537e-06, + -6.450308381330811e-06, + -6.450310486174374e-06, + -6.450312693221426e-06, + -6.450315005254591e-06, + -6.450317424891537e-06, + -6.4503199545186155e-06, + -6.4503225961819445e-06, + -6.450325351651185e-06, + -6.450328222276566e-06, + -6.450331208973851e-06, + -6.450334312155262e-06, + -6.450337531684407e-06, + -6.4503408668003255e-06, + -6.450344316070064e-06, + -6.450347877310966e-06, + -6.450351547571411e-06, + -6.450355323031907e-06, + -6.450359198995431e-06, + -6.450363169818241e-06, + -6.45036722889448e-06, + -6.450371368628104e-06, + -6.450375580420161e-06, + -6.450379854678275e-06, + -6.450384180831201e-06, + -6.450388547375343e-06, + -6.450392941916936e-06, + -6.4503973512706824e-06, + -6.450401761537986e-06, + -6.450406158239574e-06, + -6.450410526449454e-06, + -6.450414850946171e-06, + -6.450419116405099e-06, + -6.450423307569878e-06, + -6.450427409460896e-06, + -6.450431407575106e-06, + -6.450435288096824e-06, + -6.450439038098032e-06, + -6.450442645724476e-06, + -6.450446100379837e-06, + -6.450449392874667e-06, + -6.4504525155523935e-06, + -6.4504554623986695e-06, + -6.4504582290940405e-06, + -6.450460813050076e-06, + -6.450463213395538e-06, + -6.450465430943963e-06, + -6.450467468104571e-06, + -6.4504693287802995e-06, + -6.450471018230818e-06, + -6.450472542917113e-06, + -6.450473910324137e-06, + -6.450475128782783e-06, + -6.45047620727627e-06, + -6.450477155258731e-06, + -6.450477982466467e-06, + -6.450478698759012e-06, + -6.4504793139517255e-06, + -6.450479837690168e-06, + -6.450480279319414e-06, + -6.4504806477934345e-06, + -6.450480951590289e-06, + -6.450481198658803e-06, + -6.450481396372615e-06, + -6.450481551507893e-06, + -6.450481670237257e-06, + -6.450481758130632e-06, + -6.4504818201711075e-06, + -6.450481860778322e-06, + -6.45048188383916e-06, + -6.450481892745922e-06, + -6.4504818904252974e-06, + -6.450481879388878e-06, + -6.450481861767913e-06, + -6.450481839353589e-06, + -6.450481813632412e-06, + -6.450481785830639e-06, + -6.4504817569403165e-06, + -6.450481727755214e-06, + -6.4504816988969475e-06, + -6.4504816708441345e-06, + -6.4504816439495476e-06, + -6.450481618470764e-06, + -6.450481594574612e-06, + -6.450481572365844e-06, + -6.450481551890765e-06, + -6.450481533154065e-06, + -6.4504815161294315e-06, + -6.450481500757526e-06, + -6.450481486972836e-06, + -6.4504814746849505e-06, + -6.45048146380177e-06, + -6.450481454224662e-06, + -6.450481445855701e-06, + -6.450481438592503e-06, + -6.4504814323392484e-06, + -6.450481427000485e-06, + -6.450481422488197e-06, + -6.4504814187167614e-06, + -6.450481415609877e-06, + -6.450481413091266e-06, + -6.450481411089829e-06, + -6.450481409551173e-06, + -6.4504814084132104e-06, + -6.4504814076293145e-06, + -6.450481407140235e-06, + -6.450481406915287e-06 + ], + "direct_maximum_absolute": 6.450481892745922e-06, + "eliminated": [ + -6.442831347574971e-06, + -6.4428313478011795e-06, + -6.442831348301009e-06, + -6.4428313491297964e-06, + -6.4428313503519845e-06, + -6.44283135204266e-06, + -6.4428313542891e-06, + -6.442831357192628e-06, + -6.4428313608708505e-06, + -6.442831365460212e-06, + -6.442831371118695e-06, + -6.44283137802919e-06, + -6.442831386403257e-06, + -6.442831396485346e-06, + -6.442831408557786e-06, + -6.442831422946232e-06, + -6.442831440026177e-06, + -6.442831460229988e-06, + -6.4428314840551866e-06, + -6.442831512073552e-06, + -6.442831544941618e-06, + -6.4428315834120784e-06, + -6.442831628347149e-06, + -6.442831680732796e-06, + -6.442831741694824e-06, + -6.442831812517019e-06, + -6.442831894660123e-06, + -6.4428319897835845e-06, + -6.44283209976841e-06, + -6.4428322267422255e-06, + -6.442832373105623e-06, + -6.442832541560438e-06, + -6.442832735138996e-06, + -6.442832957234378e-06, + -6.442833211631221e-06, + -6.4428335025363025e-06, + -6.442833834608613e-06, + -6.442834212987397e-06, + -6.442834643317696e-06, + -6.44283513177224e-06, + -6.442835685067965e-06, + -6.44283631047607e-06, + -6.442837015824207e-06, + -6.4428378094886175e-06, + -6.442838700375451e-06, + -6.442839697889126e-06, + -6.442840811886201e-06, + -6.442842052614074e-06, + -6.442843430633115e-06, + -6.442844956721444e-06, + -6.442846641762746e-06, + -6.442848496617285e-06, + -6.442850531976625e-06, + -6.442852758204565e-06, + -6.4428551851655654e-06, + -6.442857822045307e-06, + -6.442860677164345e-06, + -6.442863757792216e-06, + -6.442867069964274e-06, + -6.442870618307246e-06, + -6.44287440587835e-06, + -6.442878434023727e-06, + -6.442882702259746e-06, + -6.4428872081829896e-06, + -6.442891947411331e-06, + -6.4428969135602495e-06, + -6.44290209825481e-06, + -6.442907491179454e-06, + -6.4429130801640675e-06, + -6.442918851305518e-06, + -6.442924789121429e-06, + -6.4429308767323315e-06, + -6.442937096068574e-06, + -6.44294342809518e-06, + -6.4429498530503e-06, + -6.442956350690172e-06, + -6.442962900535761e-06, + -6.4429694821141004e-06, + -6.442976075190107e-06, + -6.4429826599833255e-06, + -6.442989217366778e-06, + -6.442995729043415e-06, + -6.443002177698877e-06, + -6.4430085471287776e-06, + -6.443014822340197e-06, + -6.443020989627334e-06, + -6.443027036621674e-06, + -6.443032952319943e-06, + -6.443038727088602e-06, + -6.443044352650681e-06, + -6.443049822053828e-06, + -6.443055129625477e-06, + -6.443060270914314e-06, + -6.44306524262335e-06, + -6.443070042535205e-06, + -6.443074669432529e-06, + -6.443079123015195e-06, + -6.443083403816165e-06, + -6.443087513117439e-06, + -6.4430914528678345e-06, + -6.44309522560273e-06, + -6.443098834367359e-06, + -6.4431022826439405e-06, + -6.443105574283697e-06, + -6.443108713442745e-06, + -6.443111704523861e-06, + -6.443114552122501e-06, + -6.443117260977775e-06, + -6.443119835929294e-06, + -6.443122281876646e-06, + -6.443124603745023e-06, + -6.443126806455438e-06, + -6.443128894897108e-06, + -6.4431308739028675e-06, + -6.443132748232441e-06, + -6.443134522554652e-06, + -6.443136201430535e-06, + -6.443137789308158e-06, + -6.443139290506946e-06, + -6.443140709214615e-06, + -6.443142049481379e-06, + -6.443143315215287e-06, + -6.4431445101798065e-06, + -6.443145637994786e-06, + -6.443146702133446e-06, + -6.44314770592533e-06, + -6.44314865255654e-06, + -6.44314997791042e-06, + -6.450282221708262e-06, + -6.450282895705632e-06, + -6.450283610220764e-06, + -6.450284367407178e-06, + -6.450285169659204e-06, + -6.4502860193107045e-06, + -6.450286918957843e-06, + -6.450287871163457e-06, + -6.450288878679219e-06, + -6.450289944278231e-06, + -6.450291070843809e-06, + -6.450292261362138e-06, + -6.4502935189037734e-06, + -6.450294846548365e-06, + -6.45029624752524e-06, + -6.450297725033352e-06, + -6.450299282351965e-06, + -6.450300922796297e-06, + -6.4503026496519745e-06, + -6.450304466200515e-06, + -6.450306375700548e-06, + -6.450308381330789e-06, + -6.450310486174363e-06, + -6.450312693221414e-06, + -6.4503150052545825e-06, + -6.4503174248915416e-06, + -6.450319954518607e-06, + -6.4503225961819555e-06, + -6.4503253516511736e-06, + -6.450328222276585e-06, + -6.450331208973832e-06, + -6.450334312155245e-06, + -6.450337531684405e-06, + -6.450340866800317e-06, + -6.450344316070075e-06, + -6.450347877310964e-06, + -6.450351547571408e-06, + -6.450355323031921e-06, + -6.450359198995419e-06, + -6.450363169818234e-06, + -6.450367228894495e-06, + -6.45037136862811e-06, + -6.450375580420153e-06, + -6.450379854678273e-06, + -6.450384180831196e-06, + -6.450388547375325e-06, + -6.4503929419169375e-06, + -6.450397351270676e-06, + -6.450401761537993e-06, + -6.4504061582395805e-06, + -6.450410526449467e-06, + -6.4504148509461625e-06, + -6.450419116405115e-06, + -6.450423307569886e-06, + -6.450427409460919e-06, + -6.450431407575107e-06, + -6.450435288096829e-06, + -6.450439038098041e-06, + -6.45044264572445e-06, + -6.450446100379822e-06, + -6.450449392874648e-06, + -6.450452515552412e-06, + -6.45045546239866e-06, + -6.450458229094048e-06, + -6.450460813050076e-06, + -6.450463213395548e-06, + -6.450465430943944e-06, + -6.450467468104564e-06, + -6.450469328780299e-06, + -6.4504710182307945e-06, + -6.450472542917113e-06, + -6.450473910324132e-06, + -6.4504751287827684e-06, + -6.450476207276294e-06, + -6.4504771552586954e-06, + -6.450477982466466e-06, + -6.4504786987590295e-06, + -6.450479313951719e-06, + -6.450479837690168e-06, + -6.450480279319376e-06, + -6.45048064779339e-06, + -6.450480951590323e-06, + -6.450481198658825e-06, + -6.450481396372648e-06, + -6.450481551507917e-06, + -6.450481670237262e-06, + -6.450481758130638e-06, + -6.450481820171101e-06, + -6.450481860778327e-06, + -6.4504818838391224e-06, + -6.4504818927459195e-06, + -6.4504818904253025e-06, + -6.450481879388878e-06, + -6.4504818617679265e-06, + -6.450481839353598e-06, + -6.4504818136324095e-06, + -6.450481785830647e-06, + -6.450481756940324e-06, + -6.450481727755207e-06, + -6.450481698896915e-06, + -6.450481670844119e-06, + -6.450481643949527e-06, + -6.4504816184707635e-06, + -6.450481594574597e-06, + -6.4504815723658504e-06, + -6.450481551890752e-06, + -6.450481533154063e-06, + -6.450481516129425e-06, + -6.45048150075751e-06, + -6.450481486972833e-06, + -6.450481474684956e-06, + -6.450481463801798e-06, + -6.450481454224631e-06, + -6.450481445855708e-06, + -6.450481438592497e-06, + -6.450481432339263e-06, + -6.450481427000507e-06, + -6.45048142248816e-06, + -6.450481418716759e-06, + -6.450481415609864e-06, + -6.450481413091279e-06, + -6.4504814110898455e-06, + -6.450481409551211e-06, + -6.4504814084132214e-06, + -6.450481407629312e-06, + -6.4504814071402215e-06, + -6.4504814069153e-06 + ], + "eliminated_maximum_absolute": 6.4504818927459195e-06, + "floor_active": true, + "maximum_absolute_difference": 1.9030289225962366e-17, + "normalization_floor": 1.0, + "normalization_scale": 1.0, + "relative_error": 1.9030289225962366e-17, + "unit": "A m-2" + }, + "electron_density": { + "difference": [ + 0.0, + 0.0, + 0.0009765625, + -0.0029296875, + 0.001953125, + 0.005859375, + -0.00341796875, + -0.0087890625, + -0.00146484375, + -0.001953125, + -0.00244140625, + -0.00537109375, + -0.00341796875, + -0.0078125, + -0.01025390625, + -0.00048828125, + -0.0048828125, + 0.001953125, + -0.00048828125, + 0.00634765625, + -0.00830078125, + 0.001953125, + -0.00341796875, + -0.0068359375, + 0.0009765625, + 0.0009765625, + -0.0009765625, + 0.0, + 0.003662109375, + -0.00732421875, + -0.00390625, + -0.000244140625, + 0.0, + -0.001708984375, + -0.005615234375, + -0.00048828125, + -0.0009765625, + 0.002685546875, + -0.00341796875, + 0.002685546875, + 0.001953125, + 0.001953125, + -0.000244140625, + -0.0078125, + 0.001220703125, + -0.003173828125, + -0.00439453125, + 0.006103515625, + 0.000732421875, + -0.001708984375, + 0.00244140625, + -0.00048828125, + 0.0, + -0.003662109375, + 0.00244140625, + -0.0029296875, + -0.00439453125, + 0.00341796875, + 0.00048828125, + -0.00146484375, + 0.0009765625, + -0.00146484375, + 0.001708984375, + -0.004150390625, + 0.0032958984375, + 0.0008544921875, + -0.0013427734375, + -0.0008544921875, + -0.0009765625, + -0.0001220703125, + -0.000732421875, + 0.0003662109375, + -0.0003662109375, + -0.0018310546875, + 0.000732421875, + 0.0013427734375, + 0.001220703125, + 0.002197265625, + 0.0006103515625, + -0.002197265625, + -0.000244140625, + 0.0001220703125, + -0.0013427734375, + 0.0023193359375, + 0.0013427734375, + 0.0001220703125, + 0.0001220703125, + 0.0029296875, + 0.0003662109375, + -0.0023193359375, + -0.0009765625, + -0.00048828125, + -0.002685546875, + -0.0006103515625, + 0.000732421875, + 0.000244140625, + 0.0006103515625, + 0.00018310546875, + -0.000244140625, + 0.00177001953125, + 0.0006103515625, + 0.0001220703125, + -0.0008544921875, + -0.001708984375, + -0.00091552734375, + 0.00079345703125, + -0.00042724609375, + 0.0, + -0.001220703125, + -0.0003662109375, + 0.0006103515625, + 0.00042724609375, + -0.00042724609375, + 0.00079345703125, + 0.00054931640625, + -0.0003662109375, + 0.00091552734375, + 0.000732421875, + -0.00030517578125, + 0.0, + -0.0001220703125, + 0.000244140625, + 0.00048828125, + 0.0010986328125, + 0.0008544921875, + -0.0006103515625, + 0.00054931640625, + -0.00018310546875, + -0.02734375, + -0.01171875, + -0.109375, + -0.078125, + -0.0390625, + 0.0, + 0.03125, + -0.01953125, + 0.06640625, + -0.04296875, + -0.0078125, + -0.01171875, + 0.0546875, + 0.03125, + -0.015625, + 0.0, + -0.0390625, + 0.0234375, + 0.0, + -0.10546875, + -0.03125, + 0.0625, + 0.03125, + 0.03515625, + 0.0234375, + -0.01171875, + 0.021484375, + -0.02734375, + 0.029296875, + -0.048828125, + 0.05078125, + 0.04296875, + 0.00390625, + 0.0234375, + -0.02734375, + 0.00390625, + 0.00390625, + -0.03125, + 0.02734375, + 0.017578125, + -0.03515625, + -0.01171875, + 0.01953125, + 0.0078125, + 0.009765625, + 0.03515625, + -0.00390625, + 0.01171875, + -0.01171875, + -0.01171875, + -0.0234375, + 0.013671875, + -0.025390625, + -0.013671875, + -0.033203125, + -0.001953125, + -0.0078125, + -0.01171875, + 0.03515625, + 0.0185546875, + 0.0234375, + -0.0224609375, + 0.01171875, + -0.0078125, + 0.0, + -0.009765625, + 0.0185546875, + 0.0068359375, + 0.001953125, + 0.021484375, + 0.0, + 0.0048828125, + 0.01171875, + -0.01953125, + 0.0283203125, + 0.0009765625, + -0.013671875, + 0.0048828125, + 0.0, + 0.02587890625, + 0.02978515625, + -0.02099609375, + -0.0146484375, + -0.02001953125, + -0.01513671875, + -0.0029296875, + -0.00341796875, + 0.00390625, + -0.0029296875, + 0.0205078125, + 0.0009765625, + -0.0029296875, + 0.0, + -0.00634765625, + -0.00439453125, + 0.0009765625, + -0.00390625, + -0.00341796875, + 0.00341796875, + 0.0146484375, + 0.0068359375, + 0.009765625, + 0.00048828125, + 0.0068359375, + -0.0029296875, + 0.005859375, + 0.00146484375, + 0.0029296875, + 0.0068359375, + 0.00146484375, + -0.00244140625, + -0.01123046875, + 0.0126953125, + -0.0029296875, + 0.00244140625, + -0.005859375, + -0.0087890625, + 0.0146484375, + 0.0009765625, + 0.0048828125, + -0.00537109375, + -0.0068359375, + -0.01513671875, + -0.00439453125, + 0.0009765625, + 0.0048828125, + -0.00537109375, + -0.0087890625 + ], + "direct": [ + 2515095827087.2163, + 2508795492427.91, + 2502132271054.337, + 2495088071012.9834, + 2487644250417.0254, + 2479781647358.158, + 2471480617484.477, + 2462721080011.6836, + 2453482572951.8784, + 2443744318344.042, + 2433485298259.7715, + 2422684342328.5684, + 2411320227474.1226, + 2399371790481.393, + 2386818053908.2354, + 2373638365723.9985, + 2359812552886.5547, + 2345321088864.6475, + 2330145274864.9497, + 2314267434235.9414, + 2297671119190.304, + 2280341328618.5024, + 2262264735354.5684, + 2243429920816.7803, + 2223827614476.2695, + 2203450935124.5903, + 2182295630427.0796, + 2160360310778.2175, + 2137646673036.1616, + 2114159709333.823, + 2089907895857.6125, + 2064903356286.8762, + 2039161994517.6284, + 2012703591376.0806, + 1985551860288.5825, + 1957734457327.6853, + 1929282941707.0852, + 1900232683665.3137, + 1870622717738.812, + 1840495540673.5, + 1809896854625.3677, + 1778875257817.0825, + 1747481886398.1157, + 1715770012837.2976, + 1683794607696.2822, + 1651611873009.3113, + 1619278756665.8804, + 1586852458078.7202, + 1554389935967.8032, + 1521947429248.6792, + 1489580001751.9238, + 1457341120813.9753, + 1425282278676.7966, + 1393452664160.379, + 1361898890283.137, + 1330664781485.4314, + 1299791221956.3054, + 1269316064377.1008, + 1239274096289.0037, + 1209697059368.3508, + 1180613715247.799, + 1152049950232.9612, + 1124028910389.1758, + 1096571158043.01, + 1069694840765.6128, + 1043415864356.9716, + 1017748062188.3344, + 992703354414.7102, + 968291891958.9772, + 944522181699.9255, + 921401190869.4092, + 898934430186.2505, + 877126016640.5797, + 855978718021.9065, + 835493982206.2745, + 815671954851.6606, + 796511489488.4354, + 778010154044.7728, + 760164237645.2051, + 742968761108.7297, + 726417494000.9707, + 710502980423.1117, + 695216574999.5714, + 680548489810.9315, + 666487852347.9366, + 653022773970.6892, + 640140427865.0049, + 627827135108.8059, + 616068457196.7516, + 604849293218.3251, + 594153979831.7451, + 583966392211.8016, + 574270044254.7533, + 565048186484.5703, + 556283900302.7354, + 547960187444.40045, + 540060053733.33765, + 532566586455.71106, + 525463024888.1417, + 518732823714.5095, + 512359709241.336, + 506327728473.3112, + 500621291236.14105, + 495225205634.686, + 490124707211.33594, + 485305482224.9853, + 480753685507.2709, + 476455953372.4485, + 472399412063.3581, + 468571682210.5438, + 464960879767.92896, + 461555613867.05786, + 458344982007.28204, + 455318562969.80225, + 452466407813.45026, + 449779029278.72455, + 447247389895.2278, + 444862889057.4628, + 442617349304.79724, + 440503002013.57214, + 438512472683.95294, + 436638765980.0873, + 434875250660.3518, + 433215644514.86975, + 431653999409.3405, + 430184686518.4266, + 428802381817.5701, + 427502051889.7363, + 20297125359482.18, + 20244469618390.41, + 20188709200161.766, + 20129680239697.152, + 20067212674538.32, + 20001130337370.668, + 19931251103473.22, + 19857387100285.07, + 19779344986719.867, + 19696926310299.984, + 19609927950584.918, + 19518142657651.484, + 19421359694635.99, + 19319365593429.367, + 19211945032547.28, + 19098881845974.695, + 18979960171287.375, + 18854965744639.727, + 18723687349146.703, + 18585918421803.0, + 18441458822309.637, + 18290116764950.316, + 18131710912002.016, + 17966072623987.246, + 17793048358426.17, + 17612502204537.082, + 17424318536701.117, + 17228404764372.404, + 17024694150594.523, + 16813148665522.744, + 16593761835363.135, + 16366561541194.47, + 16131612716407.14, + 15889019886149.756, + 15638929487615.459, + 15381531906382.36, + 15117063161751.295, + 14845806173388.207, + 14568091542841.125, + 14284297787001.008, + 13994850966451.133, + 13700223660110.072, + 13400933248605.33, + 13097539482350.39, + 12790641326175.713, + 12480873090119.8, + 12168899875248.295, + 11855412383364.883, + 11541121159561.312, + 11226750355811.943, + 10913031121376.459, + 10600694740799.457, + 10290465651885.98, + 9983054483577.45, + 9679151256549.34, + 9379418887374.469, + 9084487130068.977, + 8794947077110.958, + 8511346325902.145, + 8234184896962.722, + 7963911967697.011, + 7700923461443.248, + 7445560506760.423, + 7198108757664.496, + 6958798542776.599, + 6727805791016.837, + 6505253664270.309, + 6291214813879.679, + 6085714168141.468, + 5888732152278.351, + 5700208240457.001, + 5520044741010.24, + 5348110720633.801, + 5184245980413.553, + 5028265005508.481, + 4879960820562.554, + 4739108693851.535, + 4605469644306.713, + 4478793716414.97, + 4358822998244.55, + 4245294367198.1094, + 4137941956382.874, + 4036499341608.397, + 3940701454924.432, + 3850286235345.485, + 3764996031018.2983, + 3684578769676.7734, + 3608788915926.284, + 3537388234802.916, + 3470146381329.766, + 3406841335532.3105, + 3347259701712.1157, + 3291196889817.2993, + 3238457195570.233, + 3188853794706.318, + 3142208665298.8633, + 3098352450750.307, + 3057124274657.853, + 3018371517438.603, + 2981949563357.317, + 2947721525434.73, + 2915557954657.6357, + 2885336538941.4585, + 2856941796437.576, + 2830264767005.1333, + 2805202704990.731, + 2781658775869.9355, + 2759541758790.369, + 2738765756615.1206, + 2719249914690.1455, + 2700918149239.695, + 2683698886025.5527, + 2667524809682.406, + 2652332623959.2227, + 2638062822940.891, + 2624659473206.93, + 2612070006784.056, + 2600245024671.8496, + 2589138110665.3364, + 2578705655148.718, + 2568906688508.2017, + 2559702723784.234, + 2551057608176.126, + 2542937382999.0854, + 2535310151697.505, + 2528145955518.0664, + 2521416656455.0938, + 2515095827087.2163 + ], + "direct_maximum_absolute": 20297125359482.18, + "eliminated": [ + 2515095827087.2163, + 2508795492427.91, + 2502132271054.336, + 2495088071012.9863, + 2487644250417.0234, + 2479781647358.1523, + 2471480617484.4805, + 2462721080011.6924, + 2453482572951.88, + 2443744318344.044, + 2433485298259.774, + 2422684342328.5737, + 2411320227474.126, + 2399371790481.401, + 2386818053908.2456, + 2373638365723.999, + 2359812552886.5596, + 2345321088864.6455, + 2330145274864.95, + 2314267434235.935, + 2297671119190.3125, + 2280341328618.5005, + 2262264735354.572, + 2243429920816.787, + 2223827614476.2686, + 2203450935124.5894, + 2182295630427.0806, + 2160360310778.2175, + 2137646673036.158, + 2114159709333.8303, + 2089907895857.6165, + 2064903356286.8765, + 2039161994517.6284, + 2012703591376.0823, + 1985551860288.5881, + 1957734457327.6858, + 1929282941707.0862, + 1900232683665.311, + 1870622717738.8154, + 1840495540673.4973, + 1809896854625.3657, + 1778875257817.0806, + 1747481886398.116, + 1715770012837.3054, + 1683794607696.281, + 1651611873009.3145, + 1619278756665.8848, + 1586852458078.714, + 1554389935967.8025, + 1521947429248.681, + 1489580001751.9214, + 1457341120813.9758, + 1425282278676.7966, + 1393452664160.3826, + 1361898890283.1345, + 1330664781485.4343, + 1299791221956.3098, + 1269316064377.0974, + 1239274096289.0032, + 1209697059368.3523, + 1180613715247.798, + 1152049950232.9626, + 1124028910389.174, + 1096571158043.0142, + 1069694840765.6095, + 1043415864356.9707, + 1017748062188.3357, + 992703354414.711, + 968291891958.9781, + 944522181699.9257, + 921401190869.4099, + 898934430186.2501, + 877126016640.5801, + 855978718021.9083, + 835493982206.2738, + 815671954851.6593, + 796511489488.4342, + 778010154044.7706, + 760164237645.2045, + 742968761108.7319, + 726417494000.971, + 710502980423.1116, + 695216574999.5728, + 680548489810.9292, + 666487852347.9353, + 653022773970.6891, + 640140427865.0048, + 627827135108.803, + 616068457196.7512, + 604849293218.3274, + 594153979831.7461, + 583966392211.8021, + 574270044254.756, + 565048186484.5709, + 556283900302.7346, + 547960187444.4002, + 540060053733.33704, + 532566586455.7109, + 525463024888.14197, + 518732823714.50775, + 512359709241.3354, + 506327728473.3111, + 500621291236.1419, + 495225205634.6877, + 490124707211.33685, + 485305482224.9845, + 480753685507.2713, + 476455953372.4485, + 472399412063.3593, + 468571682210.5442, + 464960879767.92834, + 461555613867.05743, + 458344982007.2825, + 455318562969.80145, + 452466407813.4497, + 449779029278.7249, + 447247389895.22687, + 444862889057.4621, + 442617349304.79755, + 440503002013.57214, + 438512472683.95306, + 436638765980.08704, + 434875250660.3513, + 433215644514.86865, + 431653999409.33966, + 430184686518.4272, + 428802381817.5696, + 427502051889.7365, + 20297125359482.207, + 20244469618390.42, + 20188709200161.875, + 20129680239697.23, + 20067212674538.36, + 20001130337370.668, + 19931251103473.188, + 19857387100285.09, + 19779344986719.8, + 19696926310300.027, + 19609927950584.926, + 19518142657651.496, + 19421359694635.934, + 19319365593429.336, + 19211945032547.297, + 19098881845974.695, + 18979960171287.414, + 18854965744639.703, + 18723687349146.703, + 18585918421803.105, + 18441458822309.668, + 18290116764950.254, + 18131710912001.984, + 17966072623987.21, + 17793048358426.15, + 17612502204537.094, + 17424318536701.096, + 17228404764372.432, + 17024694150594.494, + 16813148665522.793, + 16593761835363.084, + 16366561541194.428, + 16131612716407.137, + 15889019886149.732, + 15638929487615.486, + 15381531906382.355, + 15117063161751.291, + 14845806173388.238, + 14568091542841.098, + 14284297787000.99, + 13994850966451.168, + 13700223660110.084, + 13400933248605.31, + 13097539482350.383, + 12790641326175.703, + 12480873090119.766, + 12168899875248.299, + 11855412383364.871, + 11541121159561.324, + 11226750355811.955, + 10913031121376.482, + 10600694740799.443, + 10290465651886.006, + 9983054483577.463, + 9679151256549.373, + 9379418887374.47, + 9084487130068.984, + 8794947077110.97, + 8511346325902.109, + 8234184896962.703, + 7963911967696.987, + 7700923461443.2705, + 7445560506760.411, + 7198108757664.504, + 6958798542776.599, + 6727805791016.847, + 6505253664270.29, + 6291214813879.672, + 6085714168141.466, + 5888732152278.329, + 5700208240457.001, + 5520044741010.235, + 5348110720633.789, + 5184245980413.572, + 5028265005508.453, + 4879960820562.553, + 4739108693851.549, + 4605469644306.708, + 4478793716414.97, + 4358822998244.524, + 4245294367198.0796, + 4137941956382.895, + 4036499341608.4116, + 3940701454924.452, + 3850286235345.5, + 3764996031018.3013, + 3684578769676.777, + 3608788915926.2803, + 3537388234802.919, + 3470146381329.7456, + 3406841335532.3096, + 3347259701712.1187, + 3291196889817.2993, + 3238457195570.2393, + 3188853794706.3223, + 3142208665298.8623, + 3098352450750.311, + 3057124274657.8564, + 3018371517438.5996, + 2981949563357.3022, + 2947721525434.723, + 2915557954657.626, + 2885336538941.458, + 2856941796437.5693, + 2830264767005.136, + 2805202704990.725, + 2781658775869.934, + 2759541758790.366, + 2738765756615.114, + 2719249914690.144, + 2700918149239.6973, + 2683698886025.564, + 2667524809682.393, + 2652332623959.2256, + 2638062822940.8887, + 2624659473206.936, + 2612070006784.065, + 2600245024671.835, + 2589138110665.3354, + 2578705655148.713, + 2568906688508.207, + 2559702723784.2407, + 2551057608176.141, + 2542937382999.09, + 2535310151697.504, + 2528145955518.0615, + 2521416656455.099, + 2515095827087.225 + ], + "eliminated_maximum_absolute": 20297125359482.207, + "floor_active": false, + "maximum_absolute_difference": 0.109375, + "normalization_floor": 1.0, + "normalization_scale": 20297125359482.207, + "relative_error": 5.388694116179525e-15, + "unit": "m-3" + }, + "electron_rate": { + "difference": [ + 640.3854328393936, + -122742962.37063003, + 462451425.895916, + -544555735.3678126, + -410467412.19980717, + 902566880.52491, + 546898924.6088009, + -658815337.7727909, + 27010528.262094498, + 50953134.46298981, + 192281610.49007416, + -113409292.26986313, + 278340393.4878578, + 181949420.3200264, + -611038074.7559032, + 270626257.5027046, + -392213073.7799988, + 145115944.1870346, + -366039494.14437485, + 721637946.183815, + -464566261.332901, + 220010584.9876938, + 159433539.4645195, + -313950452.4862976, + -11031709.19071579, + 73291938.90247345, + -29832559.25842285, + -122859289.26174927, + 341538369.3800163, + -94090004.1175003, + -105904120.02380753, + -7764936.628868103, + 44442714.71172142, + 120222847.14596939, + -135159449.29850388, + -946.793830871582, + -92839184.14683723, + 160163585.7210636, + -153675016.40830594, + 16400665.281045914, + 5257962.7789821625, + 45560052.44641304, + 156167534.20611572, + -179013105.04592133, + 91073607.53572083, + 26449289.91442871, + -217910792.633564, + 111995892.48384857, + 44365834.39464569, + -78552494.69225311, + 57467122.862701416, + -11229496.014091492, + 76934105.18231964, + -125712116.73487854, + 109357776.27593231, + 31239833.0605011, + -160805661.13352966, + 60818172.53201294, + 36775150.000061035, + -43082500.25627136, + 42793479.40739441, + -65513743.13667297, + 137174821.98088074, + -176196438.59492493, + 55522860.17739868, + 55687100.31562805, + -13164013.173294067, + 3315229.0286254883, + -20059011.723831177, + 16894198.657592773, + -30793657.627471924, + 20826967.395614624, + 45859823.228027344, + -82609618.10699463, + -21982561.222351074, + 7486687.283630371, + -42143060.95526123, + 62843483.50268555, + 116962265.08963013, + -87108886.35559082, + -12819037.261352539, + 70523608.21481323, + -191251930.26083374, + 56531742.15194702, + 63443852.31225586, + 5061935.758087158, + -178758229.91098022, + 169481215.67471313, + 187824636.64865112, + -100842951.3569336, + -30945323.384246826, + 180999537.60214233, + -175708813.28735352, + -127296145.71502686, + 37035828.44024658, + -38825843.40307617, + 48878098.329833984, + 59874814.0770874, + -269634195.855072, + 170111966.84918213, + 69609064.25765991, + 146581688.56488037, + 154427728.10876465, + -162787440.54507446, + -306600259.1204834, + 245894351.2798767, + -95645723.71406555, + 288652556.1215973, + -213523785.85914612, + -257984008.7360382, + 51157766.370513916, + 252584441.21289062, + -381900349.30262756, + 80866163.5109253, + 321157938.6138916, + -498999211.8405304, + 72105301.73023987, + 433100136.7961426, + -108042841.43913269, + 85931824.06080627, + -243066471.6615448, + -96702724.42115784, + -376260151.57543945, + 108910766.23417664, + 1040506356.743393, + -859216845.1574249, + -657044434514.757, + -17449827393248.041, + -245490396.86132812, + 1425879748.0488281, + -435642697.3876953, + -478875641.76171875, + -483517818.79785156, + -394982257.12109375, + 601528581.4023438, + -945376691.6845703, + 1095488465.0517578, + -312459296.1972656, + -333.1669921875, + -535262021.0439453, + 202163749.67285156, + 343710002.7324219, + -108251204.76660156, + 255790513.2080078, + -386973109.28515625, + 137264080.88476562, + 620605819.9443359, + -409909807.93359375, + -504727970.78027344, + 159431010.31835938, + -23255257.733398438, + 55152904.30078125, + 157052008.3046875, + -149163430.15820312, + 217366139.9736328, + -233682810.68798828, + 299377403.9692383, + -366594191.31396484, + 23294388.52783203, + 133328037.89160156, + -56576347.036621094, + 155436215.72460938, + -96963545.73291016, + -6189213.677734375, + 118640431.13964844, + -176440896.75683594, + 27335078.52294922, + 141954242.20117188, + -55683340.07470703, + -82963157.74609375, + 32975337.868164062, + -13661161.483398438, + -70523720.3046875, + 102545680.98291016, + -41481458.32421875, + 64530917.08251953, + 74.16064453125, + 30650258.712402344, + -97323373.62548828, + 106240461.4128418, + -32326975.63623047, + 59970471.57763672, + -90243071.09033203, + 17106381.08154297, + 16894875.664794922, + -140409623.90478516, + 46397578.396240234, + -19748354.572509766, + 147403767.9050293, + -107780269.66638184, + 65258035.04296875, + -29394048.622802734, + 39308120.77856445, + -111913135.31982422, + 46395655.1628418, + 23401496.899536133, + -91230609.27893066, + 95798322.32202148, + -20826616.103271484, + -38804287.19665527, + 161627924.47473145, + -256443800.81079102, + 153469488.40148926, + 84287093.96014404, + -113900977.09863281, + 32265401.07672119, + -186661759.71148682, + -34183749.68395996, + 409918370.0539551, + -63750878.31185913, + 61244171.01364136, + -48801095.7204895, + -116428629.75039673, + 5258473.071899414, + -82007379.26391602, + 79681763.01306152, + -296603476.8171387, + 253757987.3307495, + 58176038.526397705, + -40548435.083480835, + 113153716.4533844, + -37034753.76914978, + -108706582.21697998, + 97759095.89971924, + -1056.9647369384766, + -161779537.16322327, + -274070990.24224854, + 198881746.64730835, + -62819734.42938995, + 253703143.321846, + -197673465.8631363, + 318862714.71650696, + -310602270.0030136, + 177627393.4462433, + -72166008.95220184, + -167768887.06066847, + 241857846.06519318, + 187579498.14219666, + 469087773.17063713, + -1336646609.1299343, + 909738247.090332, + -321155418.9200592, + 544361274.5263214, + 216318452.43900108, + -1757877696.5379019, + 1080427428.3293514, + -343730242.5887375, + 941875872.5790024, + 128936768.97666931, + 855135016.6596603, + -1161718474.969036, + -616595283.9208069, + -531897127.9861145, + 1390291154.8851929 + ], + "direct": [ + 800953689.5787922, + 1662392444.8403075, + 2737262610.052166, + 3774780511.936875, + 4325619994.347068, + 5523773752.665535, + 6644883259.327551, + 7583013475.727209, + 8543984447.4808445, + 9645678153.49424, + 11041941296.865074, + 11527794390.698887, + 13288969653.331608, + 13798289892.820026, + 14726275826.119097, + 16243462235.690205, + 16805788738.282501, + 17981841489.062035, + 18498856508.918125, + 19543695440.808815, + 19946275753.4171, + 20680971525.237694, + 20704411246.71452, + 21697143959.763702, + 21066142657.309284, + 21539644071.402473, + 20939156618.491577, + 20610768633.48825, + 20034690306.880016, + 19030426249.6325, + 17946469523.476192, + 16568925335.371132, + 14940200844.711721, + 13008688037.89597, + 11014552502.201496, + 8677969676.70617, + 5814448336.853163, + 3477997868.7210636, + 119779893.09169404, + -3034017886.718954, + -6303094891.721018, + -10126551709.053587, + -13633790367.793884, + -17632818889.04592, + -21526391888.46428, + -25628613864.08557, + -29941487003.633564, + -34132273457.51615, + -38610804607.605354, + -42944388676.69225, + -47429156396.1373, + -52006464133.01409, + -56753657286.81768, + -60992867388.73488, + -65903475121.72407, + -70340254314.9395, + -74977342715.13353, + -79351928373.46799, + -84092621319.99994, + -88372924688.25627, + -92788294436.5926, + -97050495041.13667, + -101185899602.01912, + -105363902090.59492, + -109293269215.8226, + -113070970879.68437, + -116896647121.1733, + -120278724874.97137, + -123620866539.72383, + -127089702109.3424, + -129958644365.62747, + -132921850492.60439, + -135551600208.77197, + -138388697074.107, + -140400083813.22235, + -142607546568.71637, + -144691073564.95526, + -146722643984.4973, + -147954378354.91037, + -149574729146.3556, + -150830757381.26135, + -151946855827.7852, + -152909899526.26083, + -153173846369.84805, + -154212980279.68774, + -153825452256.2419, + -154930553325.91098, + -154007735632.3253, + -154470172003.35135, + -153483899719.35693, + -153534129131.38425, + -152618113558.39786, + -152175098125.28735, + -151034511217.71503, + -149936646859.55975, + -149302671299.40308, + -148534884525.67017, + -146697187713.9229, + -145815538219.85507, + -144498102785.15082, + -143913288279.74234, + -141866800127.43512, + -141483778303.89124, + -139695806176.54507, + -138775616571.12048, + -137873351480.72012, + -134713976787.71407, + -136998817803.8784, + -136326856833.85915, + -128687354456.73604, + -129355543257.62949, + -139386536822.7871, + -127075200557.30263, + -122638297588.48907, + -139635558205.3861, + -113563225707.84053, + -136274022906.26976, + -129062832359.20386, + -119866136225.43913, + -123940668327.9392, + -128784177959.66154, + -111744023404.42116, + -129961574143.57544, + -126254840057.76582, + -126224438163.2566, + -99584018973.15742, + -259457969746.75693, + -3871590276832.041, + -4382429874292.8613, + -6461988245135.951, + -5100386641537.388, + -6707235063809.762, + -4797858671442.798, + -5900032086789.121, + -5137400344266.598, + -5828296740887.685, + -5598864942838.948, + -5216013544880.197, + -5205976960881.167, + -5669257194957.044, + -5054014799562.327, + -5522215680097.268, + -5171861742188.767, + -4987655190442.792, + -5198543083325.285, + -5112622024927.115, + -4959897398820.056, + -4991546024427.934, + -4925656195638.78, + -4730037173113.682, + -4858678933725.733, + -4641916353131.699, + -4549510036591.695, + -4678181034830.158, + -4398276315772.026, + -4396686051454.688, + -4312357349472.031, + -4231149775907.314, + -4112115092131.472, + -4040181403590.1084, + -3948629323295.0366, + -3880258705756.2754, + -3726143694093.733, + -3668989178621.6777, + -3541055771116.8604, + -3459693592048.757, + -3344428422169.477, + -3235249498761.799, + -3132421127036.0747, + -3020719746773.746, + -2916274565186.132, + -2801995607025.4834, + -2706845763832.3047, + -2580211676439.017, + -2481275201502.324, + -2367366404294.9175, + -2263477743961.8394, + -2168302023297.2876, + -2050557562857.6255, + -1957143096174.5872, + -1857709870633.6362, + -1763731515672.4224, + -1664947297497.0903, + -1571480367602.9185, + -1488100791584.3352, + -1398226369851.9048, + -1318835068223.6038, + -1244265565528.5725, + -1159248789074.095, + -1091604930865.6664, + -1022574263484.957, + -960799398308.6228, + -890088751747.2214, + -836358095695.3198, + -780314768317.8372, + -727480671561.1005, + -676539380476.2789, + -632789507573.678, + -585344217539.1033, + -546251643926.19666, + -505275200028.52527, + -475472976433.8108, + -435220531521.5985, + -410219997174.03986, + -372892195712.09863, + -352389243722.4233, + -324271771206.7115, + -303749389724.68396, + -276953375833.94604, + -259947264030.56186, + -241976151131.86136, + -219573202430.8455, + -205033440125.3754, + -192125090669.0531, + -179554339859.51392, + -164397538768.73694, + -146361249543.06714, + -148122159063.66925, + -126476304465.80173, + -115777605861.64598, + -111114743710.79662, + -111817930473.95665, + -89866485460.15448, + -88823950532.66278, + -80118181098.33974, + -76791683602.28822, + -66023726538.80475, + -70737140195.85269, + -45047012905.80439, + -65888897005.928154, + -42184085415.67564, + -51873130597.22099, + -41164659904.75301, + -30263241512.991257, + -59735966799.2022, + 3832590790.7518315, + -57101193057.37231, + -22519587663.264053, + -16832497785.954363, + -3619226511.0049343, + -40962671438.44092, + -13175230688.92006, + -25098193187.75493, + 4379194528.814001, + -8384942978.459777, + 12487998503.423101, + -59115380734.54186, + -40384597821.65537, + 103589639340.50792, + -54203318654.73878, + -8977325373.015911, + -188694177178.99112, + 212462513854.55685, + 77142196665.7934 + ], + "direct_maximum_absolute": 6707235063809.762, + "eliminated": [ + 800953049.1933594, + 1785135407.2109375, + 2274811184.15625, + 4319336247.3046875, + 4736087406.546875, + 4621206872.140625, + 6097984334.71875, + 8241828813.5, + 8516973919.21875, + 9594725019.03125, + 10849659686.375, + 11641203682.96875, + 13010629259.84375, + 13616340472.5, + 15337313900.875, + 15972835978.1875, + 17198001812.0625, + 17836725544.875, + 18864896003.0625, + 18822057494.625, + 20410842014.75, + 20460960940.25, + 20544977707.25, + 22011094412.25, + 21077174366.5, + 21466352132.5, + 20968989177.75, + 20733627922.75, + 19693151937.5, + 19124516253.75, + 18052373643.5, + 16576690272.0, + 14895758130.0, + 12888465190.75, + 11149711951.5, + 8677970623.5, + 5907287521.0, + 3317834283.0, + 273454909.5, + -3050418552.0, + -6308352854.5, + -10172111761.5, + -13789957902.0, + -17453805784.0, + -21617465496.0, + -25655063154.0, + -29723576211.0, + -34244269350.0, + -38655170442.0, + -42865836182.0, + -47486623519.0, + -51995234637.0, + -56830591392.0, + -60867155272.0, + -66012832898.0, + -70371494148.0, + -74816537054.0, + -79412746546.0, + -84129396470.0, + -88329842188.0, + -92831087916.0, + -96984981298.0, + -101323074424.0, + -105187705652.0, + -109348792076.0, + -113126657980.0, + -116883483108.0, + -120282040104.0, + -123600807528.0, + -127106596308.0, + -129927850708.0, + -132942677460.0, + -135597460032.0, + -138306087456.0, + -140378101252.0, + -142615033256.0, + -144648930504.0, + -146785487468.0, + -148071340620.0, + -149487620260.0, + -150817938344.0, + -152017379436.0, + -152718647596.0, + -153230378112.0, + -154276424132.0, + -153830514192.0, + -154751795096.0, + -154177216848.0, + -154657996640.0, + -153383056768.0, + -153503183808.0, + -152799113096.0, + -151999389312.0, + -150907215072.0, + -149973682688.0, + -149263845456.0, + -148583762624.0, + -146757062528.0, + -145545904024.0, + -144668214752.0, + -143982897344.0, + -142013381816.0, + -141638206032.0, + -139533018736.0, + -138469016312.0, + -138119245832.0, + -134618331064.0, + -137287470360.0, + -136113333048.0, + -128429370448.0, + -129406701024.0, + -139639121264.0, + -126693300208.0, + -122719163752.0, + -139956716144.0, + -113064226496.0, + -136346128208.0, + -129495932496.0, + -119758093384.0, + -124026600152.0, + -128541111488.0, + -111647320680.0, + -129585313992.0, + -126363750824.0, + -127264944520.0, + -98724802128.0, + 397586464768.0, + 13578237116416.0, + -4382184383896.0, + -6463414124884.0, + -5099950998840.0, + -6706756188168.0, + -4797375153624.0, + -5899637104532.0, + -5138001872848.0, + -5827351364196.0, + -5599960431304.0, + -5215701085584.0, + -5205976960548.0, + -5668721932936.0, + -5054216963312.0, + -5522559390100.0, + -5171753490984.0, + -4987910980956.0, + -5198156110216.0, + -5112759289008.0, + -4960518004640.0, + -4991136114620.0, + -4925151467668.0, + -4730196604124.0, + -4858655678468.0, + -4641971506036.0, + -4549667088600.0, + -4678031871400.0, + -4398493681912.0, + -4396452368644.0, + -4312656726876.0, + -4230783181716.0, + -4112138386520.0, + -4040314731628.0, + -3948572746948.0, + -3880414141972.0, + -3726046730548.0, + -3668982989408.0, + -3541174411548.0, + -3459517151152.0, + -3344455757248.0, + -3235391453004.0, + -3132365443696.0, + -3020636783616.0, + -2916307540524.0, + -2801981945864.0, + -2706775240112.0, + -2580314222120.0, + -2481233720044.0, + -2367430935212.0, + -2263477744036.0, + -2168332673556.0, + -2050460239484.0, + -1957249336636.0, + -1857677543658.0, + -1763791486144.0, + -1664857054426.0, + -1571497473984.0, + -1488117686460.0, + -1398085960228.0, + -1318881465802.0, + -1244245817174.0, + -1159396192842.0, + -1091497150596.0, + -1022639521520.0, + -960770004260.0, + -890128059868.0, + -836246182560.0, + -780361163973.0, + -727504073058.0, + -676448149867.0, + -632885305896.0, + -585323390923.0, + -546212839639.0, + -505436827953.0, + -475216532633.0, + -435374001010.0, + -410304284268.0, + -372778294735.0, + -352421509123.5, + -324085109447.0, + -303715205975.0, + -277363294204.0, + -259883513152.25, + -242037395302.875, + -219524401335.125, + -204917011495.625, + -192130349142.125, + -179472332480.25, + -164477220531.75, + -146064646066.25, + -148375917051.0, + -126534480504.32812, + -115737057426.5625, + -111227897427.25, + -111780895720.1875, + -89757778877.9375, + -88921709628.5625, + -80118180041.375, + -76629904065.125, + -65749655548.5625, + -70936021942.5, + -44984193171.375, + -66142600149.25, + -41986411949.8125, + -52191993311.9375, + -40854057634.75, + -30440868906.4375, + -59663800790.25, + 4000359677.8125, + -57343050903.4375, + -22707167161.40625, + -17301585559.125, + -2282579901.875, + -41872409685.53125, + -12854075270.0, + -25642554462.28125, + 4162876076.375, + -6627065281.921875, + 11407571075.09375, + -58771650491.953125, + -41326473694.234375, + 103460702571.53125, + -55058453671.39844, + -7815606898.046875, + -188077581895.0703, + 212994410982.54297, + 75751905510.9082 + ], + "eliminated_maximum_absolute": 13578237116416.0, + "floor_active": true, + "maximum_absolute_difference": 17449827393248.041, + "normalization_floor": 7.64318943829248e+20, + "normalization_scale": 7.64318943829248e+20, + "relative_error": 2.2830557235470543e-08, + "unit": "m-3 s-1" + }, + "hole_current": { + "difference": [ + 4.235164736271502e-21, + 2.1175823681357508e-20, + 2.541098841762901e-20, + -7.623296525288703e-21, + -6.776263578034403e-21, + -2.541098841762901e-21, + -3.3881317890172014e-21, + 4.235164736271502e-21, + -5.082197683525802e-21, + -1.6940658945086007e-21, + -2.0328790734103208e-20, + -1.0164395367051604e-20, + 1.9481757786848908e-20, + -5.929230630780102e-21, + 5.929230630780102e-21, + -1.1858461261560205e-20, + -5.082197683525802e-21, + 9.317362419797304e-21, + 1.5246593050577406e-20, + 1.6940658945086007e-20, + -1.6940658945086007e-21, + 8.470329472543003e-22, + 1.6940658945086007e-21, + -1.3552527156068805e-20, + -6.776263578034403e-21, + 8.470329472543003e-21, + -8.470329472543003e-22, + 6.776263578034403e-21, + 0.0, + -1.0164395367051604e-20, + 2.541098841762901e-21, + -8.470329472543003e-22, + -4.235164736271502e-21, + -1.9481757786848908e-20, + 1.4399560103323106e-20, + -9.317362419797304e-21, + -2.541098841762901e-21, + -1.6940658945086007e-20, + -1.6940658945086007e-21, + 0.0, + 7.623296525288703e-21, + 5.082197683525802e-21, + -5.929230630780102e-21, + 2.541098841762901e-21, + 4.235164736271502e-21, + 1.0164395367051604e-20, + 1.6940658945086007e-21, + -2.541098841762901e-21, + 4.235164736271502e-21, + 1.0164395367051604e-20, + 3.3881317890172014e-21, + 0.0, + -1.6940658945086007e-21, + -1.1858461261560205e-20, + 7.623296525288703e-21, + 0.0, + -1.6940658945086007e-21, + -3.3881317890172014e-21, + 1.6940658945086007e-21, + 8.470329472543003e-21, + 1.6093625997831706e-20, + -4.235164736271502e-21, + -1.6093625997831706e-20, + 5.929230630780102e-21, + 2.541098841762901e-21, + 7.623296525288703e-21, + 1.8634724839594607e-20, + 5.929230630780102e-21, + -3.3881317890172014e-21, + -3.3881317890172014e-21, + -1.2705494208814505e-20, + 1.4399560103323106e-20, + 1.6940658945086007e-21, + 0.0, + -1.0164395367051604e-20, + 1.1858461261560205e-20, + 4.235164736271502e-21, + 1.6093625997831706e-20, + 0.0, + -8.470329472543003e-21, + -9.317362419797304e-21, + -1.1858461261560205e-20, + 5.082197683525802e-21, + 2.286988957586611e-20, + 1.8634724839594607e-20, + -2.541098841762901e-21, + 1.6940658945086007e-21, + 1.7787691892340307e-20, + -6.776263578034403e-21, + 9.317362419797304e-21, + 5.082197683525802e-21, + 1.6940658945086007e-21, + 9.317362419797304e-21, + -2.541098841762901e-21, + 5.082197683525802e-21, + -1.6093625997831706e-20, + -1.1011428314305904e-20, + -9.317362419797304e-21, + 1.0164395367051604e-20, + -2.541098841762901e-21, + 1.6940658945086007e-21, + 0.0, + -1.1858461261560205e-20, + 0.0, + -1.1858461261560205e-20, + 1.5246593050577406e-20, + 2.541098841762901e-21, + -2.286988957586611e-20, + -1.1011428314305904e-20, + -2.371692252312041e-20, + 0.0, + -1.0164395367051604e-20, + -5.929230630780102e-21, + 1.3552527156068805e-20, + 1.4399560103323106e-20, + 5.929230630780102e-21, + -2.541098841762901e-21, + 8.470329472543003e-22, + 8.470329472543003e-22, + -1.1858461261560205e-20, + -1.3552527156068805e-20, + 1.7787691892340307e-20, + 4.235164736271502e-21, + 7.623296525288703e-21, + -5.929230630780102e-21, + 2.0328790734103208e-20, + -3.134021904840911e-20, + -1.0442645690224642e-16, + 6.776263578034403e-21, + -1.4399560103323106e-20, + -7.623296525288703e-21, + -5.082197683525802e-21, + -3.3881317890172014e-21, + -1.1858461261560205e-20, + 9.317362419797304e-21, + 1.6940658945086007e-21, + 3.3881317890172014e-21, + 3.3881317890172014e-21, + -1.0164395367051604e-20, + -3.3881317890172014e-21, + 3.3881317890172014e-21, + 6.776263578034403e-21, + -1.1858461261560205e-20, + -7.623296525288703e-21, + -1.6940658945086007e-21, + -1.6940658945086007e-20, + -9.317362419797304e-21, + 1.1858461261560205e-20, + 8.470329472543003e-21, + 8.470329472543003e-22, + 1.3552527156068805e-20, + 9.317362419797304e-21, + 1.1858461261560205e-20, + -1.5246593050577406e-20, + -6.776263578034403e-21, + 5.929230630780102e-21, + -6.776263578034403e-21, + -1.1858461261560205e-20, + 1.1011428314305904e-20, + -8.470329472543003e-22, + -3.3881317890172014e-21, + 8.470329472543003e-22, + -6.776263578034403e-21, + 0.0, + -1.0164395367051604e-20, + 3.3881317890172014e-21, + 0.0, + -5.929230630780102e-21, + 2.541098841762901e-21, + 4.235164736271502e-21, + -8.470329472543003e-21, + -1.6940658945086007e-21, + 1.6093625997831706e-20, + 5.082197683525802e-21, + -1.4399560103323106e-20, + 5.082197683525802e-21, + -3.3881317890172014e-21, + 7.623296525288703e-21, + -7.623296525288703e-21, + -1.3552527156068805e-20, + -2.710505431213761e-20, + 0.0, + 0.0, + -9.317362419797304e-21, + 2.541098841762901e-21, + 2.964615315390051e-20, + 1.6940658945086007e-20, + 2.795208725939191e-20, + -9.317362419797304e-21, + 5.929230630780102e-21, + 0.0, + 5.082197683525802e-21, + -1.6940658945086007e-21, + 2.964615315390051e-20, + -6.776263578034403e-21, + -8.470329472543003e-22, + -2.541098841762901e-21, + 1.6940658945086007e-21, + -7.623296525288703e-21, + 3.3881317890172014e-21, + -8.470329472543003e-21, + 1.8634724839594607e-20, + -8.470329472543003e-22, + 9.317362419797304e-21, + 9.317362419797304e-21, + 2.541098841762901e-21, + 1.9481757786848908e-20, + 1.6940658945086007e-20, + -3.4728350837426314e-20, + -2.202285662861181e-20, + -1.6940658945086007e-21, + -1.4399560103323106e-20, + 4.235164736271502e-21, + 2.541098841762901e-21, + -1.6940658945086007e-21, + -1.2705494208814505e-20, + 9.317362419797304e-21, + 5.082197683525802e-21, + -1.7787691892340307e-20, + 0.0, + 7.623296525288703e-21, + 0.0, + 1.0164395367051604e-20, + 3.3881317890172014e-21, + -1.3552527156068805e-20, + 1.0164395367051604e-20, + 1.7787691892340307e-20, + 8.470329472543003e-22, + 2.202285662861181e-20, + 5.929230630780102e-21, + -5.082197683525802e-21, + -5.929230630780102e-21, + 4.235164736271502e-21, + -1.6940658945086007e-21, + -1.6093625997831706e-20, + 7.623296525288703e-21, + 2.541098841762901e-21, + -5.082197683525802e-21, + -6.776263578034403e-21, + 3.3034284942917713e-20, + -4.235164736271502e-21, + 1.4399560103323106e-20, + -2.0328790734103208e-20, + -1.3552527156068805e-20, + 1.2705494208814505e-20, + -1.5246593050577406e-20, + 8.470329472543003e-21, + -2.964615315390051e-20, + -2.202285662861181e-20, + -3.3034284942917713e-20, + -3.134021904840911e-20, + 9.317362419797304e-21, + 7.623296525288703e-21, + 1.2705494208814505e-20, + -1.6940658945086007e-20 + ], + "direct": [ + -4.828099149194241e-06, + -4.8280991489680005e-06, + -4.8280991484680995e-06, + -4.8280991476392074e-06, + -4.828099146416843e-06, + -4.828099144725933e-06, + -4.828099142479235e-06, + -4.828099139575357e-06, + -4.828099135896671e-06, + -4.828099131306782e-06, + -4.828099125647661e-06, + -4.8280991187363935e-06, + -4.828099110361445e-06, + -4.828099100278335e-06, + -4.828099088204711e-06, + -4.828099073814907e-06, + -4.828099056733434e-06, + -4.828099036527886e-06, + -4.828099012700746e-06, + -4.8280989846802345e-06, + -4.828098951809822e-06, + -4.8280989133367364e-06, + -4.828098868398841e-06, + -4.82809881601016e-06, + -4.828098755044768e-06, + -4.828098684219085e-06, + -4.82809860207226e-06, + -4.828098506944936e-06, + -4.8280983969560945e-06, + -4.828098269978212e-06, + -4.82809812361072e-06, + -4.828097955151856e-06, + -4.828097761569423e-06, + -4.828097539470442e-06, + -4.828097285070382e-06, + -4.82809699416264e-06, + -4.828096662088362e-06, + -4.828096283708576e-06, + -4.828095853378338e-06, + -4.828095364925287e-06, + -4.8280948116326535e-06, + -4.828094186229581e-06, + -4.828093480888746e-06, + -4.828092687234248e-06, + -4.828091796360219e-06, + -4.828090798862787e-06, + -4.82808968488573e-06, + -4.828088444182143e-06, + -4.828087066192165e-06, + -4.8280855401381986e-06, + -4.828083855137076e-06, + -4.828082000329161e-06, + -4.8280799650234e-06, + -4.8280777388567754e-06, + -4.828075311965248e-06, + -4.828072675163992e-06, + -4.828069820132936e-06, + -4.8280667396032816e-06, + -4.828063427540252e-06, + -4.828059879317826e-06, + -4.828056091879305e-06, + -4.828052063879053e-06, + -4.82804779580128e-06, + -4.828043290049824e-06, + -4.828038551007217e-06, + -4.82803358505824e-06, + -4.828028400578117e-06, + -4.828023007882488e-06, + -4.828017419141578e-06, + -4.828011648258247e-06, + -4.828005710715073e-06, + -4.82799962339095e-06, + -4.8279934043553045e-06, + -4.827987072642607e-06, + -4.827980648014146e-06, + -4.827974150712804e-06, + -4.827967601217111e-06, + -4.827961019998959e-06, + -4.827954427292619e-06, + -4.8279478428773174e-06, + -4.8279412858788625e-06, + -4.827934774593427e-06, + -4.8279283263338805e-06, + -4.8279219573032385e-06, + -4.8279156824935575e-06, + -4.827909515608724e-06, + -4.827903469016427e-06, + -4.827897553718526e-06, + -4.8278917793469726e-06, + -4.827886154178506e-06, + -4.827880685163302e-06, + -4.827875377973321e-06, + -4.827870237059228e-06, + -4.82786526571646e-06, + -4.8278604661627535e-06, + -4.8278558396135114e-06, + -4.827851386369076e-06, + -4.827847105896721e-06, + -4.827842996911941e-06, + -4.82783905746813e-06, + -4.827835285028062e-06, + -4.827831676547426e-06, + -4.827828228543171e-06, + -4.8278249371646e-06, + -4.827821798255846e-06, + -4.827818807414305e-06, + -4.8278159600440136e-06, + -4.827813251406542e-06, + -4.827810676662592e-06, + -4.827808230913378e-06, + -4.827805909232262e-06, + -4.8278037067004305e-06, + -4.827801618430017e-06, + -4.827799639583133e-06, + -4.827797765407206e-06, + -4.827795991229322e-06, + -4.827794312489639e-06, + -4.827792724743124e-06, + -4.827791223666388e-06, + -4.827789805072809e-06, + -4.827788464917321e-06, + -4.827787199286982e-06, + -4.827786004419763e-06, + -4.827784876695235e-06, + -4.827783812646512e-06, + -4.827782808934967e-06, + -4.827781862381351e-06, + -4.827780537201148e-06, + -4.827778936662305e-06, + -4.8277782627572075e-06, + -4.827777548385799e-06, + -4.8277767913201615e-06, + -4.8277759892361145e-06, + -4.827775139712722e-06, + -4.827774240232199e-06, + -4.827773288180762e-06, + -4.827772280850208e-06, + -4.827771215439942e-06, + -4.827770089060901e-06, + -4.827768898739904e-06, + -4.827767641425648e-06, + -4.827766313996084e-06, + -4.827764913267673e-06, + -4.827763436006118e-06, + -4.827761878939178e-06, + -4.827760238772131e-06, + -4.827758512204826e-06, + -4.82775669595215e-06, + -4.8277547867665045e-06, + -4.8277527814639685e-06, + -4.8277506769527155e-06, + -4.8277484702655866e-06, + -4.827746158595218e-06, + -4.827743739333033e-06, + -4.8277412101115514e-06, + -4.8277385688499955e-06, + -4.827735813803099e-06, + -4.827732943613183e-06, + -4.827729957364796e-06, + -4.827726854641425e-06, + -4.8277236355842645e-06, + -4.82772030095186e-06, + -4.827716852179591e-06, + -4.827713291438712e-06, + -4.8277096216927734e-06, + -4.8277058467509995e-06, + -4.82770197131608e-06, + -4.827698001025864e-06, + -4.827693942486053e-06, + -4.8276898032925e-06, + -4.827685592041489e-06, + -4.8276813183252e-06, + -4.8276769927118295e-06, + -4.827672626706974e-06, + -4.827668232696857e-06, + -4.8276638238706e-06, + -4.827659414122116e-06, + -4.827655017931125e-06, + -4.827650650223921e-06, + -4.827646326215334e-06, + -4.827642061233802e-06, + -4.827637870532744e-06, + -4.8276337690916695e-06, + -4.82762977141076e-06, + -4.8276258913058544e-06, + -4.827622141705973e-06, + -4.827618534462591e-06, + -4.827615080173611e-06, + -4.82761178802865e-06, + -4.827608665680658e-06, + -4.827605719147637e-06, + -4.8276029527481654e-06, + -4.827600369071587e-06, + -4.827597968986659e-06, + -4.827595751683558e-06, + -4.827593714752419e-06, + -4.827591854290675e-06, + -4.8275901650386916e-06, + -4.8275886405378215e-06, + -4.827587273301753e-06, + -4.827586055001592e-06, + -4.827584976653608e-06, + -4.827584028807021e-06, + -4.827583201722621e-06, + -4.8275824855446465e-06, + -4.827581870455179e-06, + -4.827581346812728e-06, + -4.827580905270737e-06, + -4.827580536876259e-06, + -4.827580233151952e-06, + -4.8275799861491e-06, + -4.827579788495312e-06, + -4.827579633413899e-06, + -4.827579514733343e-06, + -4.827579426884314e-06, + -4.827579364884225e-06, + -4.827579324313394e-06, + -4.827579301284095e-06, + -4.8275792924073e-06, + -4.827579294753906e-06, + -4.827579305812772e-06, + -4.827579323455042e-06, + -4.827579345888742e-06, + -4.827579371625863e-06, + -4.827579399442488e-06, + -4.827579428345985e-06, + -4.827579457543028e-06, + -4.827579486411549e-06, + -4.827579514473631e-06, + -4.827579541376017e-06, + -4.827579566861706e-06, + -4.8275795907640636e-06, + -4.827579612979576e-06, + -4.827579633458642e-06, + -4.827579652199302e-06, + -4.8275796692288e-06, + -4.8275796846009146e-06, + -4.827579698390943e-06, + -4.82757971068158e-06, + -4.827579721565344e-06, + -4.82757973114333e-06, + -4.827579739515968e-06, + -4.827579746778771e-06, + -4.827579753032458e-06, + -4.827579758374723e-06, + -4.827579762886389e-06, + -4.827579766655832e-06, + -4.827579769767617e-06, + -4.827579772285792e-06, + -4.827579774284939e-06, + -4.827579775825744e-06, + -4.827579776963398e-06, + -4.827579777751112e-06, + -4.8275797782355585e-06, + -4.827579778460357e-06 + ], + "direct_maximum_absolute": 4.828099149194241e-06, + "eliminated": [ + -4.828099149194246e-06, + -4.828099148968022e-06, + -4.828099148468125e-06, + -4.8280991476392e-06, + -4.828099146416836e-06, + -4.828099144725931e-06, + -4.828099142479232e-06, + -4.8280991395753615e-06, + -4.828099135896666e-06, + -4.82809913130678e-06, + -4.828099125647641e-06, + -4.828099118736383e-06, + -4.8280991103614645e-06, + -4.828099100278329e-06, + -4.828099088204717e-06, + -4.828099073814895e-06, + -4.828099056733429e-06, + -4.828099036527895e-06, + -4.828099012700761e-06, + -4.8280989846802514e-06, + -4.82809895180982e-06, + -4.828098913336737e-06, + -4.8280988683988425e-06, + -4.828098816010146e-06, + -4.828098755044761e-06, + -4.828098684219094e-06, + -4.828098602072259e-06, + -4.828098506944943e-06, + -4.8280983969560945e-06, + -4.828098269978202e-06, + -4.828098123610722e-06, + -4.828097955151855e-06, + -4.828097761569419e-06, + -4.828097539470423e-06, + -4.828097285070397e-06, + -4.828096994162631e-06, + -4.8280966620883595e-06, + -4.828096283708559e-06, + -4.828095853378336e-06, + -4.828095364925287e-06, + -4.828094811632661e-06, + -4.828094186229586e-06, + -4.8280934808887405e-06, + -4.82809268723425e-06, + -4.8280917963602235e-06, + -4.828090798862797e-06, + -4.828089684885732e-06, + -4.8280884441821405e-06, + -4.82808706619217e-06, + -4.828085540138209e-06, + -4.8280838551370796e-06, + -4.828082000329161e-06, + -4.828079965023398e-06, + -4.8280777388567636e-06, + -4.828075311965255e-06, + -4.828072675163992e-06, + -4.828069820132934e-06, + -4.828066739603278e-06, + -4.828063427540254e-06, + -4.828059879317834e-06, + -4.8280560918793215e-06, + -4.828052063879049e-06, + -4.8280477958012636e-06, + -4.8280432900498296e-06, + -4.828038551007219e-06, + -4.8280335850582474e-06, + -4.8280284005781354e-06, + -4.828023007882494e-06, + -4.828017419141575e-06, + -4.8280116482582435e-06, + -4.82800571071506e-06, + -4.827999623390964e-06, + -4.827993404355306e-06, + -4.827987072642607e-06, + -4.827980648014136e-06, + -4.827974150712816e-06, + -4.827967601217116e-06, + -4.827961019998975e-06, + -4.827954427292619e-06, + -4.827947842877309e-06, + -4.827941285878853e-06, + -4.827934774593415e-06, + -4.827928326333886e-06, + -4.827921957303261e-06, + -4.827915682493576e-06, + -4.827909515608722e-06, + -4.827903469016429e-06, + -4.827897553718544e-06, + -4.827891779346966e-06, + -4.827886154178515e-06, + -4.827880685163307e-06, + -4.827875377973323e-06, + -4.8278702370592376e-06, + -4.827865265716457e-06, + -4.8278604661627586e-06, + -4.827855839613495e-06, + -4.827851386369065e-06, + -4.827847105896711e-06, + -4.8278429969119515e-06, + -4.8278390574681275e-06, + -4.827835285028064e-06, + -4.827831676547426e-06, + -4.827828228543159e-06, + -4.8278249371646e-06, + -4.827821798255834e-06, + -4.82781880741432e-06, + -4.827815960044016e-06, + -4.827813251406519e-06, + -4.827810676662581e-06, + -4.827808230913354e-06, + -4.827805909232262e-06, + -4.82780370670042e-06, + -4.827801618430011e-06, + -4.8277996395831464e-06, + -4.82779776540722e-06, + -4.8277959912293275e-06, + -4.827794312489636e-06, + -4.827792724743125e-06, + -4.8277912236663886e-06, + -4.827789805072797e-06, + -4.827788464917307e-06, + -4.827787199287e-06, + -4.827786004419767e-06, + -4.8277848766952425e-06, + -4.827783812646506e-06, + -4.827782808934987e-06, + -4.82778186238132e-06, + -4.827780537096722e-06, + -4.827778936662312e-06, + -4.827778262757193e-06, + -4.827777548385791e-06, + -4.827776791320156e-06, + -4.827775989236111e-06, + -4.82777513971271e-06, + -4.8277742402322085e-06, + -4.827773288180764e-06, + -4.827772280850211e-06, + -4.8277712154399456e-06, + -4.827770089060891e-06, + -4.8277688987399004e-06, + -4.8277676414256514e-06, + -4.827766313996091e-06, + -4.827764913267661e-06, + -4.82776343600611e-06, + -4.827761878939176e-06, + -4.827760238772114e-06, + -4.827758512204817e-06, + -4.8277566959521615e-06, + -4.827754786766513e-06, + -4.827752781463969e-06, + -4.827750676952729e-06, + -4.827748470265596e-06, + -4.82774615859523e-06, + -4.827743739333018e-06, + -4.827741210111545e-06, + -4.8277385688500015e-06, + -4.827735813803092e-06, + -4.8277329436131715e-06, + -4.827729957364807e-06, + -4.827726854641424e-06, + -4.827723635584261e-06, + -4.827720300951861e-06, + -4.827716852179585e-06, + -4.827713291438712e-06, + -4.827709621692763e-06, + -4.827705846751003e-06, + -4.82770197131608e-06, + -4.8276980010258584e-06, + -4.827693942486055e-06, + -4.827689803292504e-06, + -4.827685592041481e-06, + -4.8276813183251986e-06, + -4.8276769927118456e-06, + -4.827672626706979e-06, + -4.8276682326968425e-06, + -4.827663823870605e-06, + -4.827659414122112e-06, + -4.8276550179311325e-06, + -4.827650650223913e-06, + -4.827646326215321e-06, + -4.8276420612337745e-06, + -4.827637870532744e-06, + -4.8276337690916695e-06, + -4.827629771410751e-06, + -4.827625891305857e-06, + -4.827622141706003e-06, + -4.827618534462608e-06, + -4.827615080173639e-06, + -4.827611788028641e-06, + -4.8276086656806635e-06, + -4.827605719147637e-06, + -4.8276029527481705e-06, + -4.827600369071585e-06, + -4.827597968986689e-06, + -4.827595751683551e-06, + -4.8275937147524185e-06, + -4.8275918542906725e-06, + -4.827590165038693e-06, + -4.827588640537814e-06, + -4.827587273301756e-06, + -4.827586055001583e-06, + -4.827584976653626e-06, + -4.82758402880702e-06, + -4.827583201722631e-06, + -4.827582485544656e-06, + -4.827581870455182e-06, + -4.827581346812748e-06, + -4.827580905270754e-06, + -4.827580536876224e-06, + -4.82758023315193e-06, + -4.827579986149098e-06, + -4.8275797884952975e-06, + -4.827579633413903e-06, + -4.827579514733345e-06, + -4.827579426884312e-06, + -4.827579364884212e-06, + -4.827579324313403e-06, + -4.8275793012841e-06, + -4.827579292407282e-06, + -4.827579294753906e-06, + -4.82757930581278e-06, + -4.827579323455042e-06, + -4.827579345888752e-06, + -4.827579371625867e-06, + -4.827579399442474e-06, + -4.827579428345995e-06, + -4.827579457543046e-06, + -4.82757948641155e-06, + -4.827579514473653e-06, + -4.827579541376023e-06, + -4.827579566861701e-06, + -4.827579590764058e-06, + -4.82757961297958e-06, + -4.827579633458641e-06, + -4.827579652199286e-06, + -4.827579669228807e-06, + -4.827579684600917e-06, + -4.827579698390938e-06, + -4.827579710681573e-06, + -4.827579721565377e-06, + -4.827579731143326e-06, + -4.8275797395159824e-06, + -4.82757974677875e-06, + -4.827579753032445e-06, + -4.827579758374736e-06, + -4.827579762886374e-06, + -4.8275797666558405e-06, + -4.827579769767587e-06, + -4.82757977228577e-06, + -4.827579774284906e-06, + -4.8275797758257125e-06, + -4.827579776963407e-06, + -4.82757977775112e-06, + -4.827579778235571e-06, + -4.82757977846034e-06 + ], + "eliminated_maximum_absolute": 4.828099149194246e-06, + "floor_active": true, + "maximum_absolute_difference": 1.0442645690224642e-16, + "normalization_floor": 1.0, + "normalization_scale": 1.0, + "relative_error": 1.0442645690224642e-16, + "unit": "A m-2" + }, + "hole_density": { + "difference": [ + 0.0, + -0.00244140625, + -0.0107421875, + -0.013671875, + 0.00439453125, + 0.00341796875, + 0.00146484375, + 0.001953125, + -0.00244140625, + 0.0029296875, + 0.00146484375, + 0.0107421875, + 0.00537109375, + -0.0107421875, + 0.00341796875, + -0.00341796875, + 0.0068359375, + 0.0029296875, + -0.00439453125, + -0.0087890625, + -0.009765625, + 0.00048828125, + -0.0009765625, + -0.0009765625, + 0.0078125, + 0.00439453125, + -0.0048828125, + 0.00048828125, + -0.00390625, + 0.0, + 0.00634765625, + -0.00146484375, + 0.00048828125, + 0.00244140625, + 0.01220703125, + -0.009765625, + 0.00634765625, + 0.00146484375, + 0.01123046875, + 0.0009765625, + 0.0, + -0.00634765625, + -0.0029296875, + 0.00390625, + -0.00244140625, + -0.00341796875, + -0.00830078125, + -0.0009765625, + 0.00146484375, + -0.00439453125, + -0.0087890625, + -0.001953125, + 0.0, + 0.0009765625, + 0.01171875, + -0.0087890625, + 0.0, + 0.0009765625, + 0.00390625, + -0.001953125, + -0.0087890625, + -0.0185546875, + 0.00390625, + 0.0185546875, + -0.005859375, + -0.0029296875, + -0.009765625, + -0.0234375, + -0.0078125, + 0.005859375, + 0.0048828125, + 0.0166015625, + -0.01953125, + -0.001953125, + 0.0, + 0.015625, + -0.017578125, + -0.005859375, + -0.0263671875, + 0.0, + 0.013671875, + 0.015625, + 0.0185546875, + -0.0107421875, + -0.04296875, + -0.03515625, + 0.00390625, + -0.00390625, + -0.033203125, + 0.013671875, + -0.017578125, + -0.009765625, + -0.00390625, + -0.017578125, + 0.005859375, + -0.01171875, + 0.03515625, + 0.0234375, + 0.021484375, + -0.0234375, + 0.005859375, + -0.00390625, + 0.0, + 0.029296875, + 0.0, + 0.02734375, + -0.037109375, + -0.005859375, + 0.056640625, + 0.02734375, + 0.060546875, + 0.001953125, + 0.0234375, + 0.013671875, + -0.033203125, + -0.03515625, + -0.015625, + 0.0078125, + -0.001953125, + -0.00390625, + 0.03125, + 0.033203125, + -0.044921875, + -0.009765625, + -0.021484375, + 0.015625, + -0.0546875, + 0.08203125, + 0.0, + -0.000396728515625, + 0.000762939453125, + 0.00042724609375, + 0.000274658203125, + 0.00018310546875, + 0.00067138671875, + -0.00048828125, + -0.0001220703125, + -0.00018310546875, + -0.00018310546875, + 0.0006103515625, + 0.00018310546875, + -0.00018310546875, + -0.00042724609375, + 0.000732421875, + 0.00048828125, + 0.0001220703125, + 0.00103759765625, + 0.00054931640625, + -0.000732421875, + -0.00054931640625, + -6.103515625e-05, + -0.0008544921875, + -0.00067138671875, + -0.00079345703125, + 0.00103759765625, + 0.00042724609375, + -0.0003662109375, + 0.00048828125, + 0.0008544921875, + -0.00079345703125, + 6.103515625e-05, + 0.00018310546875, + -6.103515625e-05, + 0.00054931640625, + -6.103515625e-05, + 0.00079345703125, + -0.000244140625, + 0.0, + 0.00048828125, + -0.000244140625, + -0.00030517578125, + 0.00079345703125, + 0.00018310546875, + -0.00152587890625, + -0.00048828125, + 0.00140380859375, + -0.00048828125, + 0.00042724609375, + -0.0008544921875, + 0.0008544921875, + 0.001708984375, + 0.00341796875, + 0.0, + 0.0001220703125, + 0.0013427734375, + -0.0003662109375, + -0.0045166015625, + -0.002685546875, + -0.0045166015625, + 0.0013427734375, + -0.0009765625, + 0.0, + -0.0009765625, + 0.000244140625, + -0.005859375, + 0.0015869140625, + 0.0001220703125, + 0.000732421875, + -0.00048828125, + 0.001708984375, + -0.0009765625, + 0.001953125, + -0.004638671875, + 0.000244140625, + -0.00244140625, + -0.002685546875, + -0.000732421875, + -0.005859375, + -0.00537109375, + 0.0107421875, + 0.007080078125, + 0.00048828125, + 0.0048828125, + -0.00146484375, + -0.0009765625, + 0.000732421875, + 0.004638671875, + -0.00341796875, + -0.001953125, + 0.007080078125, + 0.0, + -0.0029296875, + 0.0, + -0.004150390625, + -0.0009765625, + 0.005859375, + -0.004638671875, + -0.0078125, + -0.00048828125, + -0.009765625, + -0.0029296875, + 0.00244140625, + 0.0029296875, + -0.001953125, + 0.0009765625, + 0.00732421875, + -0.00341796875, + -0.0009765625, + 0.00244140625, + 0.00341796875, + -0.01611328125, + 0.001953125, + -0.00732421875, + 0.01025390625, + 0.0068359375, + -0.00634765625, + 0.0078125, + -0.00439453125, + 0.015625, + 0.01171875, + 0.01708984375, + 0.01611328125, + -0.0048828125, + -0.00341796875, + -0.0068359375, + 0.0087890625 + ], + "direct": [ + 2515095827087.2163, + 2521365452854.6724, + 2528029464992.0615, + 2535111975019.8696, + 2542638474339.329, + 2550635900260.438, + 2559132703335.736, + 2568158915721.324, + 2577746220225.2607, + 2587928019642.1396, + 2598739505893.574, + 2610217728420.0234, + 2622401661171.978, + 2635332267456.1826, + 2649052561785.6865, + 2663607667763.776, + 2679044870916.9663, + 2695413665260.2583, + 2712765792246.783, + 2731155270623.2183, + 2750638415574.6196, + 2771273845419.741, + 2793122473994.825, + 2816247486765.3955, + 2840714298624.2153, + 2866590491283.238, + 2893945728161.333, + 2922851644708.146, + 2953381712209.428, + 2985611073292.5825, + 3019616347612.0713, + 3055475406550.587, + 3093267116227.2466, + 3133071048678.4907, + 3174967161763.4873, + 3219035449137.0845, + 3265355562543.6304, + 3314006409668.4097, + 3365065731833.789, + 3418609666900.7246, + 3474712303779.803, + 3533445235913.333, + 3594877121879.055, + 3659073261824.0903, + 3726095198645.178, + 3796000352642.531, + 3868841697677.6064, + 3944667485627.866, + 4023521024100.6772, + 4105440509961.792, + 4190458918301.5215, + 4278603943079.0913, + 4369897982035.7964, + 4464358154714.734, + 4561996338836.898, + 4662819207101.538, + 4766828244016.925, + 4874019720858.279, + 4984384606580.897, + 5097908393625.124, + 5214570820175.456, + 5334345474584.496, + 5457199273234.36, + 5583091809910.364, + 5711974582464.656, + 5843790110802.272, + 5978470968521.244, + 6115938758451.289, + 6256103069316.288, + 6398860456352.776, + 6544093492566.625, + 6691669939065.85, + 6841442082393.973, + 6993246283944.92, + 7146902781433.271, + 7302215775217.786, + 7458973823389.967, + 7616950559314.311, + 7775905734274.77, + 7935586576576.724, + 8095729447366.282, + 8256061763132.02, + 8416304145771.825, + 8576172753613.789, + 8735381741207.203, + 8893645792183.78, + 9050682668157.893, + 9206215717396.744, + 9359976289781.795, + 9511706009125.404, + 9661158859902.27, + 9808103052614.465, + 9952322639867.34, + 10093618863469.598, + 10231811221115.44, + 10366738249092.318, + 10498258024763.037, + 10626248399044.646, + 10750606974598.326, + 10871250849917.64, + 10988116152826.885, + 11101157389226.951, + 11210346634207.121, + 11315672593028.496, + 11417139559110.717, + 11514766295068.299, + 11608584861289.787, + 11698639414570.934, + 11784984997058.416, + 11867686333367.658, + 11946816651259.99, + 12022456538805.771, + 12094692848595.365, + 12163617657309.95, + 12229327286909.123, + 12291921391794.656, + 12351502114667.652, + 12408173312318.314, + 12462039851360.623, + 12513206972872.523, + 12561779724050.39, + 12607862454312.408, + 12651558372764.246, + 12692969163566.201, + 12732194655465.229, + 12769332541634.377, + 12804478145874.967, + 12837724231254.432, + 270541382080.53375, + 271388730456.63242, + 272290840735.2716, + 273251256029.27222, + 274273748718.02496, + 275362335186.9145, + 276521291482.3123, + 277755169931.24475, + 279068816775.284, + 280467390869.021, + 281956383492.8288, + 283541639329.45844, + 285229378651.5191, + 287026220764.69476, + 288939208747.43164, + 290975835521.9664, + 293144071284.59436, + 295452392312.91486, + 297909811155.8858, + 300525908197.01447, + 303310864561.8624, + 306275496317.97986, + 309431289887.136, + 312790438556.1141, + 316365879931.7809, + 320171334139.45966, + 324221342507.39905, + 328531306415.9202, + 333117525915.639, + 337997237633.2419, + 343188651387.2562, + 348710984826.8271, + 354584495285.48596, + 360830507907.91925, + 367471438961.6259, + 374530813088.64264, + 382033273086.2515, + 390004580632.2218, + 398471606195.258, + 407462306197.0374, + 417005685328.17456, + 427131741771.95905, + 437871392968.3549, + 449256379468.06604, + 461319144393.1074, + 474092686055.2244, + 487610381397.5324, + 501905778138.30255, + 517012353821.58295, + 532963240434.40643, + 549790913845.6945, + 567526848065.6387, + 586201135221.0388, + 605842073185.0853, + 626475723978.5916, + 648125447349.3561, + 670811415304.8951, + 694550114773.7134, + 719353846949.7013, + 745230233162.6259, + 772181738247.9397, + 800205223280.8496, + 829291540121.3191, + 859425180415.4382, + 890583991459.9921, + 922738970618.0963, + 955854148755.9636, + 989886571461.182, + 1024786384636.3827, + 1060497028502.3174, + 1096955541180.6848, + 1134092969972.747, + 1171834885333.9758, + 1210101989505.6484, + 1248810808939.6492, + 1287874457169.2512, + 1327203452757.2126, + 1366706575466.5754, + 1406291742922.8691, + 1445866889781.1868, + 1485340831780.7573, + 1524624098017.1924, + 1563629716222.742, + 1602273937737.7136, + 1640476891064.8325, + 1678163155326.8975, + 1715262247472.731, + 1751709019597.855, + 1787443965168.8232, + 1822413435180.0835, + 1856569767265.3374, + 1889871332495.5208, + 1922282505982.4082, + 1953773568471.0112, + 1984320546846.1077, + 2013905001916.4514, + 2042513772001.9192, + 2070138680765.7896, + 2096776217451.244, + 2122427197223.469, + 2147096408745.5947, + 2170792255443.4968, + 2193526396194.8894, + 2215313390424.4453, + 2236170351838.9614, + 2256116614306.8643, + 2275173412691.352, + 2293363580802.818, + 2310711268050.1616, + 2327241675840.8926, + 2342980814321.7275, + 2357955279650.308, + 2372192051654.256, + 2385718311451.816, + 2398561278389.723, + 2410748065472.5327, + 2422305552330.3394, + 2433260274678.476, + 2443638329161.318, + 2453465292444.5864, + 2462766153409.378, + 2471565257317.842, + 2479886260842.028, + 2487752096893.6997, + 2495184948235.524, + 2502206228914.723, + 2508836572614.6406, + 2515095827087.2163 + ], + "direct_maximum_absolute": 12837724231254.432, + "eliminated": [ + 2515095827087.2163, + 2521365452854.675, + 2528029464992.0723, + 2535111975019.8833, + 2542638474339.3247, + 2550635900260.4346, + 2559132703335.7344, + 2568158915721.3223, + 2577746220225.263, + 2587928019642.1367, + 2598739505893.5728, + 2610217728420.0127, + 2622401661171.9727, + 2635332267456.1934, + 2649052561785.683, + 2663607667763.7793, + 2679044870916.9595, + 2695413665260.2554, + 2712765792246.7876, + 2731155270623.227, + 2750638415574.6294, + 2771273845419.7407, + 2793122473994.826, + 2816247486765.3965, + 2840714298624.2075, + 2866590491283.2334, + 2893945728161.338, + 2922851644708.1455, + 2953381712209.432, + 2985611073292.5825, + 3019616347612.065, + 3055475406550.5884, + 3093267116227.246, + 3133071048678.4883, + 3174967161763.475, + 3219035449137.094, + 3265355562543.624, + 3314006409668.408, + 3365065731833.778, + 3418609666900.7236, + 3474712303779.803, + 3533445235913.3394, + 3594877121879.058, + 3659073261824.0864, + 3726095198645.1807, + 3796000352642.534, + 3868841697677.6147, + 3944667485627.867, + 4023521024100.676, + 4105440509961.7964, + 4190458918301.5303, + 4278603943079.0933, + 4369897982035.7964, + 4464358154714.733, + 4561996338836.887, + 4662819207101.547, + 4766828244016.925, + 4874019720858.278, + 4984384606580.894, + 5097908393625.126, + 5214570820175.465, + 5334345474584.515, + 5457199273234.356, + 5583091809910.346, + 5711974582464.662, + 5843790110802.275, + 5978470968521.254, + 6115938758451.3125, + 6256103069316.296, + 6398860456352.7705, + 6544093492566.62, + 6691669939065.833, + 6841442082393.992, + 6993246283944.922, + 7146902781433.271, + 7302215775217.7705, + 7458973823389.984, + 7616950559314.316, + 7775905734274.796, + 7935586576576.724, + 8095729447366.269, + 8256061763132.004, + 8416304145771.807, + 8576172753613.8, + 8735381741207.246, + 8893645792183.814, + 9050682668157.889, + 9206215717396.748, + 9359976289781.828, + 9511706009125.39, + 9661158859902.287, + 9808103052614.475, + 9952322639867.344, + 10093618863469.615, + 10231811221115.434, + 10366738249092.33, + 10498258024763.002, + 10626248399044.623, + 10750606974598.305, + 10871250849917.664, + 10988116152826.879, + 11101157389226.955, + 11210346634207.121, + 11315672593028.467, + 11417139559110.717, + 11514766295068.271, + 11608584861289.824, + 11698639414570.94, + 11784984997058.36, + 11867686333367.63, + 11946816651259.93, + 12022456538805.77, + 12094692848595.342, + 12163617657309.936, + 12229327286909.156, + 12291921391794.691, + 12351502114667.668, + 12408173312318.307, + 12462039851360.625, + 12513206972872.527, + 12561779724050.36, + 12607862454312.375, + 12651558372764.291, + 12692969163566.21, + 12732194655465.25, + 12769332541634.361, + 12804478145875.021, + 12837724231254.35, + 270541382080.53375, + 271388730456.6328, + 272290840735.27084, + 273251256029.2718, + 274273748718.0247, + 275362335186.9143, + 276521291482.31165, + 277755169931.24524, + 279068816775.2841, + 280467390869.0212, + 281956383492.829, + 283541639329.4578, + 285229378651.5189, + 287026220764.69495, + 288939208747.43207, + 290975835521.96564, + 293144071284.5939, + 295452392312.91473, + 297909811155.88477, + 300525908197.0139, + 303310864561.86316, + 306275496317.9804, + 309431289887.13605, + 312790438556.1149, + 316365879931.78156, + 320171334139.46045, + 324221342507.398, + 328531306415.9198, + 333117525915.63934, + 337997237633.2414, + 343188651387.2554, + 348710984826.8279, + 354584495285.4859, + 360830507907.91907, + 367471438961.626, + 374530813088.6421, + 382033273086.2516, + 390004580632.221, + 398471606195.25824, + 407462306197.0374, + 417005685328.1741, + 427131741771.9593, + 437871392968.3552, + 449256379468.06525, + 461319144393.10724, + 474092686055.22595, + 487610381397.5329, + 501905778138.30115, + 517012353821.58344, + 532963240434.406, + 549790913845.6953, + 567526848065.6378, + 586201135221.0371, + 605842073185.0819, + 626475723978.5916, + 648125447349.356, + 670811415304.8938, + 694550114773.7137, + 719353846949.7058, + 745230233162.6285, + 772181738247.9442, + 800205223280.8483, + 829291540121.3201, + 859425180415.4382, + 890583991459.993, + 922738970618.0961, + 955854148755.9695, + 989886571461.1804, + 1024786384636.3826, + 1060497028502.3167, + 1096955541180.6853, + 1134092969972.7454, + 1171834885333.9768, + 1210101989505.6465, + 1248810808939.6538, + 1287874457169.251, + 1327203452757.215, + 1366706575466.5781, + 1406291742922.8699, + 1445866889781.1926, + 1485340831780.7627, + 1524624098017.1816, + 1563629716222.7349, + 1602273937737.7131, + 1640476891064.8276, + 1678163155326.899, + 1715262247472.732, + 1751709019597.8542, + 1787443965168.8186, + 1822413435180.087, + 1856569767265.3394, + 1889871332495.5137, + 1922282505982.4082, + 1953773568471.0142, + 1984320546846.1077, + 2013905001916.4556, + 2042513772001.9202, + 2070138680765.7837, + 2096776217451.2485, + 2122427197223.4768, + 2147096408745.5952, + 2170792255443.5066, + 2193526396194.8923, + 2215313390424.443, + 2236170351838.9585, + 2256116614306.866, + 2275173412691.351, + 2293363580802.8105, + 2310711268050.165, + 2327241675840.8936, + 2342980814321.725, + 2357955279650.3047, + 2372192051654.272, + 2385718311451.814, + 2398561278389.7305, + 2410748065472.5225, + 2422305552330.3325, + 2433260274678.4824, + 2443638329161.31, + 2453465292444.591, + 2462766153409.3623, + 2471565257317.83, + 2479886260842.0107, + 2487752096893.6836, + 2495184948235.529, + 2502206228914.7266, + 2508836572614.6475, + 2515095827087.2075 + ], + "eliminated_maximum_absolute": 12837724231254.35, + "floor_active": false, + "maximum_absolute_difference": 0.08203125, + "normalization_floor": 1.0, + "normalization_scale": 12837724231254.432, + "relative_error": 6.3898591777106864e-15, + "unit": "m-3" + }, + "hole_rate": { + "difference": [ + -868929396.9619919, + -204573240.49261856, + 1502957768.5072675, + -36305209.91973257, + -171029458.123415, + 32235046.04418564, + -273446900.8749857, + 315087016.23459244, + -108043180.34906673, + 560482344.9209366, + -288425350.36860657, + -793862485.4525299, + 642317985.4597168, + -283027796.9060402, + 400995326.6143627, + -144334494.5599823, + -289896925.726017, + -112865871.84563065, + -30502997.96936798, + 317523202.6363716, + -40991723.3662529, + -12940558.965877533, + 220753312.7427559, + -93023779.03441238, + -198550874.2891426, + 115172257.22697449, + -89497464.932724, + 75605373.71368027, + 107855745.66862488, + -128304512.51289749, + 32586437.13014984, + 31059219.101730347, + 133328143.81171036, + -282879409.9790211, + 189228031.4173355, + -51714561.69773483, + 105215504.66321015, + -106777296.15927458, + -11384302.229595184, + -49204493.65791321, + 15773055.637065887, + 65808688.606616974, + -48799644.0331192, + -9421741.902015686, + -31873543.60784912, + 44080239.011398315, + 21361456.901794434, + -33184625.698684692, + -28230652.041259766, + 31421427.281707764, + 15324932.365844727, + 7486330.431121826, + 43962895.622924805, + -82611664.1137085, + 31750698.89794922, + 6943619.510681152, + 6841084.128417969, + -20273621.38885498, + -26743919.18951416, + -29826200.45159912, + 79001196.3156128, + 45857561.692871094, + -84917337.86450195, + 13050419.393676758, + -19596548.79345703, + -42581698.52050781, + 49376588.314208984, + 36455982.05541992, + -358.736328125, + 37167148.41137695, + -109484985.57922363, + 52064955.02282715, + 7056283.493896484, + 43100036.53051758, + -95251916.10913086, + 33688841.5222168, + -53636385.475097656, + 74626401.45825195, + 40332641.181396484, + 4147438.59375, + 12817274.407958984, + -88154935.85839844, + -95626369.66235352, + 23555643.807861328, + 122005906.33740234, + -25311013.98388672, + -99895035.12158203, + 158547023.40625, + -108140042.18066406, + 29661479.03173828, + 24757556.271972656, + -58175929.66455078, + 94614091.58447266, + -63648416.642578125, + 185178211.07470703, + -46590672.06347656, + -16293928.001953125, + -196734000.87353516, + 134816498.27539062, + -47254093.65234375, + 19888309.014648438, + 146581692.16455078, + -154427365.74267578, + 162788710.38183594, + -392447937.12109375, + 194127426.02441406, + 409910988.4868164, + -202058202.78710938, + 228774330.5439453, + -451470368.27978516, + 204631988.3647461, + -90209227.73730469, + -439185258.5, + -20215843.806152344, + 214105700.38623047, + 226817528.3383789, + -96142138.44335938, + 304.1044921875, + 405161250.0029297, + 57287635.993652344, + -1124178655.8530273, + 515753013.31347656, + -136822199.2055664, + 580857682.3974609, + -1194655416.0688477, + 2495824560.188965, + 3605931031085.174, + 477816460249.8329, + 1022878913.9841003, + -308297487.9756317, + -108910217.61393738, + -68410578.29745483, + 322344994.1843872, + -759580398.8908844, + 257798339.2332611, + -54022214.02482605, + 663.0961608886719, + 384565797.12272644, + -181454516.2984619, + -171284428.41404724, + -80865860.65078735, + 420089883.7260742, + -90209434.00216675, + -119368699.58259583, + 290229158.97395325, + -137265780.49528503, + -360815700.335968, + 54655812.426971436, + 116475081.44570923, + -183959721.60076904, + 58138778.9599762, + -33091407.447860718, + 335043360.16996765, + -99442672.14465332, + -141760395.12704468, + 134816711.95140076, + 51322216.31741333, + -219957130.29396057, + 108707532.83711243, + 22221253.0136261, + -35360435.82029724, + 60823199.444000244, + -51714131.36413574, + 74270504.73171997, + -94912275.93585205, + 22766104.472366333, + 38269271.35569763, + -52574969.55276489, + -10123910.131637573, + 73202312.2431488, + -37687731.490097046, + -95625927.11836243, + 57300662.955093384, + 98272964.2000885, + -95405650.23669434, + 40332088.22554016, + -51059246.116867065, + 68961340.61851501, + 26201080.879608154, + 58615378.7906189, + -114936176.12257385, + 1367.5790405273438, + 38179767.721343994, + -47899499.53839111, + -108121637.48320007, + 50147585.08534241, + -43082457.8381958, + 144832171.78071594, + -58960708.427978516, + 22862178.098495483, + -19576763.351638794, + 26128991.712646484, + -121197583.22155762, + 141540874.41493225, + -23199927.465545654, + 6685952.679885864, + -16896465.51522827, + 37635165.48124695, + -45122828.914642334, + 49385573.60362244, + -114933309.85694885, + 84258707.88545227, + -44918272.607055664, + 2714.4088745117188, + 31421704.65223694, + -80662467.87345886, + 12442950.145736694, + 260633844.03547668, + -66117263.45513916, + -109286860.18470764, + 70665913.35986328, + -107363146.77584839, + 10125343.295196533, + 26288658.369781494, + 71071325.55284119, + -147983379.8480072, + 29657601.325180054, + 167109060.96343994, + -135750015.98554993, + -60822652.62989807, + 63649930.49420166, + -88884587.50880432, + 62119703.35775757, + 162931122.81786346, + -239502615.83358765, + -80889398.19452667, + 189013223.26486206, + -248605046.30503082, + 198932254.5699768, + 143397752.03378296, + 11625487.949272156, + -147167562.19786072, + 90591366.82355118, + 232282172.5739174, + -404117405.4459381, + 91509314.46937656, + 145114665.02442932, + 34105276.09913254, + -847961570.4978685, + 840179952.3409843, + -444760603.2217636, + 877829589.9441948, + -181455464.87290955, + -745095469.3003998, + 840721276.8604126, + -756303008.9184341, + 1288988409.7233124, + -273451276.2772064, + 419047380.4863739, + -68411377.6313591, + -1742576218.335106, + 77075611.1455307, + -245491154.55228806, + 1520630660.4877625 + ], + "direct": [ + -850013381.3799607, + -1692648958.2152748, + -2465269102.9927325, + -3231816017.4197326, + -4738816838.498415, + -5178084360.283939, + -6480649948.234361, + -7426540450.765408, + -8310718388.442817, + -9589049541.829063, + -11070578903.243607, + -11970522546.98378, + -12788954289.571533, + -14625969562.84354, + -15310111728.198137, + -16556478953.372482, + -17777069294.913517, + -19119168433.72063, + -19782807367.031868, + -21156432299.73863, + -21932948732.616253, + -22699708174.340878, + -23384505740.257244, + -24174210088.784412, + -24335556376.914143, + -24539176069.148026, + -24366395135.057724, + -24081583321.03632, + -23457241090.331375, + -22223717262.762897, + -20887912012.11985, + -18947412400.89827, + -16577090945.68829, + -13970875312.479021, + -10077391813.582664, + -6338371144.197735, + -1414547806.3367898, + 3744938750.8407254, + 10307795036.270405, + 16904483414.842087, + 24926730281.137066, + 33468760948.106617, + 43317804232.96688, + 53765144728.097984, + 65702334728.39215, + 78512996457.0114, + 92783813628.9018, + 108082413590.30132, + 124957147608.95874, + 143445697663.2817, + 163389063270.36584, + 184778686243.43112, + 208364182979.62292, + 233720841337.8863, + 260854068900.89795, + 290149597525.5107, + 321904086990.1284, + 355502807438.61115, + 391645153222.8105, + 430415748035.5484, + 471130420248.3156, + 514977407711.6929, + 561070059394.1355, + 610286139887.3937, + 661601682743.2065, + 716140803017.4795, + 773082422684.3142, + 833223842474.0554, + 895154808609.2637, + 960844540044.4114, + 1028442727934.4208, + 1098812839735.0228, + 1171725507491.494, + 1246834694664.5305, + 1323785432643.8909, + 1403626660769.5222, + 1484468514682.525, + 1567334823765.4583, + 1651377791929.1814, + 1735888801226.5938, + 1822532942362.408, + 1908225172888.1416, + 1993669940386.3376, + 2081084004675.8079, + 2163594915698.3374, + 2248913094746.016, + 2330337882420.8784, + 2408901545463.4062, + 2490219034965.8193, + 2563493786671.0317, + 2635317269092.272, + 2707093056670.3354, + 2770279021699.5845, + 2839312399631.3574, + 2893922656659.0747, + 2951334178759.9365, + 3011925534999.998, + 3049314257143.1265, + 3107594839770.2754, + 3144845770090.3477, + 3190092035045.0146, + 3224180017556.1646, + 3259672655178.2573, + 3296388374350.382, + 3330280181046.879, + 3350790038906.0244, + 3378795825100.487, + 3399510331453.213, + 3431554719722.544, + 3436218246967.72, + 3465880424196.3647, + 3508118474284.2627, + 3454892906341.5, + 3544414634604.194, + 3508190689492.386, + 3534074161632.3384, + 3583989253325.5566, + 3541483694040.1045, + 3518426752546.003, + 3638988874067.9937, + 3586501299248.147, + 3591195587213.3135, + 3523074880336.7944, + 3728353448530.3975, + 3527879687991.931, + 3649388342968.189, + 6396552477229.174, + 83820319705.8329, + 74947205361.9841, + 75551642748.02437, + 76471692606.38606, + 76692078157.70255, + 77869203402.18439, + 76886064889.10912, + 75813024183.23326, + 78682366785.97517, + 77010220755.09616, + 77459402197.12273, + 78150356047.70154, + 78762579347.58595, + 77918531035.34921, + 78663587715.72607, + 79881536601.99783, + 78835827568.4174, + 80167969942.97395, + 79667987659.50471, + 80741258499.66403, + 80321830268.42697, + 81822769981.44571, + 81382045290.39923, + 82206586266.95998, + 82617981208.55214, + 82871963632.16997, + 83515985335.85535, + 84473378156.87296, + 84762465515.9514, + 85130772624.31741, + 86203732825.70604, + 86779477520.83711, + 87220911037.01363, + 88284198588.1797, + 88818104291.444, + 89816850924.63586, + 90472546796.73172, + 91707101532.06415, + 92258284120.47237, + 93156176923.3557, + 94359846658.44724, + 95231651813.86836, + 96513827280.24315, + 97147246560.5099, + 98619108080.88164, + 99463635414.9551, + 100727066324.20009, + 101901008473.7633, + 102987197736.22554, + 104127245633.88313, + 105288268048.61852, + 106564964164.87961, + 107620346710.79062, + 108622551283.87743, + 110126643055.57904, + 110588699641.72134, + 112120621496.46161, + 112796476418.5168, + 113661216999.08534, + 114654977400.1618, + 115344035549.78072, + 115890413419.57202, + 116272676400.0985, + 117266083134.64836, + 116755835833.71265, + 117441583562.77844, + 116981185054.41493, + 117501390564.53445, + 117082253635.67989, + 115419956526.48477, + 116184300050.48125, + 115181545809.08536, + 113778911022.60362, + 111707773197.14305, + 112191225876.88545, + 109821767417.89294, + 107975692149.40887, + 105855705589.15224, + 104674207329.12654, + 103023528258.64574, + 97488809854.03548, + 100564920284.54486, + 93047666400.56529, + 91855024228.73486, + 90766626519.59915, + 86658281417.9202, + 83139004743.43228, + 81111358949.67784, + 80080674896.12074, + 74517500361.95018, + 70845867092.08063, + 71800157867.21367, + 63318073828.38573, + 66759431227.2442, + 57619919045.522446, + 56298696338.60776, + 54016839449.53661, + 52916381217.29141, + 49918225229.68047, + 48386426297.20236, + 38081703710.88247, + 51351009596.81998, + 24043088471.721283, + 43000588794.63677, + 45772476370.86464, + 19765005974.01105, + 33614531561.136417, + 23136420961.86656, + 7599750542.688127, + 44527518608.55568, + 32867553802.130383, + -4401716994.279119, + 16182257210.434734, + 46796724220.90324, + -23173909245.024555, + -13507807130.65416, + 103741323341.04335, + -27110141463.311462, + -51041266031.980934, + 106591240381.41081, + -56001551684.35533, + 16427517842.267624, + 32575836986.49364, + -22191839034.60073, + -14968155235.245094, + -11343296812.720257, + 69452165835.27487 + ], + "direct_maximum_absolute": 6396552477229.174, + "eliminated": [ + 18916015.58203125, + -1488075717.7226562, + -3968226871.5, + -3195510807.5, + -4567787380.375, + -5210319406.328125, + -6207203047.359375, + -7741627467.0, + -8202675208.09375, + -10149531886.75, + -10782153552.875, + -11176660061.53125, + -13431272275.03125, + -14342941765.9375, + -15711107054.8125, + -16412144458.8125, + -17487172369.1875, + -19006302561.875, + -19752304369.0625, + -21473955502.375, + -21891957009.25, + -22686767615.375, + -23605259053.0, + -24081186309.75, + -24137005502.625, + -24654348326.375, + -24276897670.125, + -24157188694.75, + -23565096836.0, + -22095412750.25, + -20920498449.25, + -18978471620.0, + -16710419089.5, + -13687995902.5, + -10266619845.0, + -6286656582.5, + -1519763311.0, + 3851716047.0, + 10319179338.5, + 16953687908.5, + 24910957225.5, + 33402952259.5, + 43366603877.0, + 53774566470.0, + 65734208272.0, + 78468916218.0, + 92762452172.0, + 108115598216.0, + 124985378261.0, + 143414276236.0, + 163373738338.0, + 184771199913.0, + 208320220084.0, + 233803453002.0, + 260822318202.0, + 290142653906.0, + 321897245906.0, + 355523081060.0, + 391671897142.0, + 430445574236.0, + 471051419052.0, + 514931550150.0, + 561154976732.0, + 610273089468.0, + 661621279292.0, + 716183384716.0, + 773033046096.0, + 833187386492.0, + 895154808968.0, + 960807372896.0, + 1028552212920.0, + 1098760774780.0, + 1171718451208.0, + 1246791594628.0, + 1323880684560.0, + 1403592971928.0, + 1484522151068.0, + 1567260197364.0, + 1651337459288.0, + 1735884653788.0, + 1822520125088.0, + 1908313327824.0, + 1993765566756.0, + 2081060449032.0, + 2163472909792.0, + 2248938405760.0, + 2330437777456.0, + 2408742998440.0, + 2490327175008.0, + 2563464125192.0, + 2635292511536.0, + 2707151232600.0, + 2770184407608.0, + 2839376048048.0, + 2893737478448.0, + 2951380769432.0, + 3011941828928.0, + 3049510991144.0, + 3107460023272.0, + 3144893024184.0, + 3190072146736.0, + 3224033435864.0, + 3259827082544.0, + 3296225585640.0, + 3330672628984.0, + 3350595911480.0, + 3378385914112.0, + 3399712389656.0, + 3431325945392.0, + 3436669717336.0, + 3465675792208.0, + 3508208683512.0, + 3455332091600.0, + 3544434850448.0, + 3507976583792.0, + 3533847344104.0, + 3584085395464.0, + 3541483693736.0, + 3518021591296.0, + 3638931586432.0, + 3587625477904.0, + 3590679834200.0, + 3523211702536.0, + 3727772590848.0, + 3529074343408.0, + 3646892518408.0, + 2790621446144.0, + -393996140544.0, + 73924326448.0, + 75859940236.0, + 76580602824.0, + 76760488736.0, + 77546858408.0, + 77645645288.0, + 75555225844.0, + 78736389000.0, + 77010220092.0, + 77074836400.0, + 78331810564.0, + 78933863776.0, + 77999396896.0, + 78243497832.0, + 79971746036.0, + 78955196268.0, + 79877740784.0, + 79805253440.0, + 81102074200.0, + 80267174456.0, + 81706294900.0, + 81566005012.0, + 82148447488.0, + 82651072616.0, + 82536920272.0, + 83615428008.0, + 84615138552.0, + 84627648804.0, + 85079450408.0, + 86423689956.0, + 86670769988.0, + 87198689784.0, + 88319559024.0, + 88757281092.0, + 89868565056.0, + 90398276292.0, + 91802013808.0, + 92235518016.0, + 93117907652.0, + 94412421628.0, + 95241775724.0, + 96440624968.0, + 97184934292.0, + 98714734008.0, + 99406334752.0, + 100628793360.0, + 101996414124.0, + 102946865648.0, + 104178304880.0, + 105219306708.0, + 106538763084.0, + 107561731332.0, + 108737487460.0, + 110126641688.0, + 110550519874.0, + 112168520996.0, + 112904598056.0, + 113611069414.0, + 114698059858.0, + 115199203378.0, + 115949374128.0, + 116249814222.0, + 117285659898.0, + 116729706842.0, + 117562781146.0, + 116839644180.0, + 117524590492.0, + 117075567683.0, + 115436852992.0, + 116146664885.0, + 115226668638.0, + 113729525449.0, + 111822706507.0, + 112106967169.0, + 109866685690.5, + 107975689435.0, + 105824283884.5, + 104754869797.0, + 103011085308.5, + 97228176010.0, + 100631037548.0, + 93156953260.75, + 91784358315.375, + 90873989666.375, + 86648156074.625, + 83112716085.0625, + 81040287624.125, + 80228658275.96875, + 74487842760.625, + 70678758031.11719, + 71935907883.19922, + 63378896481.015625, + 66695781296.75, + 57708803633.03125, + 56236576635.25, + 53853908326.71875, + 53155883833.125, + 49999114627.875, + 48197413073.9375, + 38330308757.1875, + 51152077342.25, + 23899690719.6875, + 42988963306.6875, + 45919643933.0625, + 19674414607.1875, + 33382249388.5625, + 23540538367.3125, + 7508241228.21875, + 44382403943.53125, + 32833448526.03125, + -3553755423.78125, + 15342077258.09375, + 47241484824.125, + -24051738834.96875, + -13326351665.78125, + 104486418810.34375, + -27950862740.171875, + -50284963023.0625, + 105302251971.6875, + -55728100408.078125, + 16008470461.78125, + 32644248364.125, + -20449262816.265625, + -15045230846.390625, + -11097805658.167969, + 67931535174.78711 + ], + "eliminated_maximum_absolute": 3727772590848.0, + "floor_active": true, + "maximum_absolute_difference": 3605931031085.174, + "normalization_floor": 7.64318943829248e+20, + "normalization_scale": 7.64318943829248e+20, + "relative_error": 4.717835479805605e-09, + "unit": "m-3 s-1" + }, + "local_state": { + "difference": [ + [ + -0.00054931640625, + 0.080078125, + -0.03515625, + 0.00030517578125 + ] + ], + "direct": [ + [ + 426278113373.0676, + 12869185799751.86, + 20346834046945.984, + 269745467880.37973 + ] + ], + "direct_maximum_absolute": 20346834046945.984, + "eliminated": [ + [ + 426278113373.0682, + 12869185799751.78, + 20346834046946.02, + 269745467880.37943 + ] + ], + "eliminated_maximum_absolute": 20346834046946.02, + "floor_active": false, + "maximum_absolute_difference": 0.080078125, + "normalization_floor": 1.0, + "normalization_scale": 20346834046946.02, + "relative_error": 3.935655287463231e-15, + "unit": "m-3" + }, + "positive_ion_flux": { + "difference": [ + -0.26678466796875, + 0.251708984375, + 0.0, + 0.0, + -0.8466796875, + 0.798828125, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -2.1640625, + 0.0, + 1.94140625, + -1.84375, + 1.74609375, + 0.0, + -3.15234375, + 2.99609375, + 2.8515625, + -5.42578125, + 5.171875, + -4.9296875, + 0.0, + 0.0, + 2.1484375, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -3.1015625, + 2.9921875, + 0.0, + -2.7890625, + 0.0, + 2.6328125, + 0.0, + 0.0, + 0.0, + -4.71875, + 4.609375, + 0.0, + 0.0, + -8.6875, + 4.28125, + 8.421875, + -8.3125, + 4.109375, + 0.0, + -4.046875, + -4.015625, + 7.984375, + -7.96875, + 7.96875, + 7.96875, + -15.984375, + 8.03125, + -8.09375, + -8.140625, + 8.234375, + 0.0, + 0.0, + 0.0, + 8.734375, + 0.0, + 0.0, + 0.0, + -9.53125, + 9.78125, + -10.046875, + 0.0, + 0.0, + 0.0, + 11.375, + -11.78125, + 0.0, + 0.0, + 0.0, + 0.0, + 14.28125, + -29.796875, + 0.0, + 32.53125, + -34.03125, + 35.625, + 0.0, + 0.0, + 0.0, + -43.203125, + 45.40625, + 0.0, + 0.0, + 0.0, + -55.828125, + 58.875, + 0.0, + -65.5703125, + 0.0, + 146.34375, + -77.3515625, + 81.796875, + -86.5390625, + 0.0, + 0.0, + 0.0, + 0.0, + -115.23046875, + 122.125, + 0.0, + 0.0, + 0.0, + -154.484375, + 163.919921875, + 0.0, + -184.66015625, + 196.044921875, + 0.0, + -221.06640625, + 234.7998046875, + 249.4208984375, + -529.970703125, + 0.0, + 299.191650390625, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "direct": [ + -381222027771.49963, + -1167794986211.4534, + -2003411257139.398, + -2890778288448.8457, + -3832674783414.396, + -4831934376018.914, + -5891424535726.011, + -7014019863248.252, + -8202568878755.011, + -9459853325703.775, + -10788538982241.035, + -12191116960277.877, + -13669834531353.69, + -15226614646051.781, + -16862963544968.295, + -18579866234429.867, + -20377670135076.92, + -22255957961313.54, + -24213411877085.164, + -26247672222243.07, + -28355195638421.426, + -30531119204414.78, + -32769139176446.996, + -35061414995082.438, + -37398511180204.46, + -39769391308338.85, + -42161479108557.98, + -44560801352043.31, + -46952225195154.89, + -49319798482424.92, + -51647194895039.18, + -53918256665989.71, + -56117616194056.8, + -58231365155561.16, + -60247727126086.37, + -62157679341749.945, + -63955463483880.336, + -65638926594802.93, + -67209643121419.17, + -68672788005597.77, + -70036757219673.0, + -71312562715723.8, + -72513058309047.34, + -73652075819376.67, + -74743561872670.38, + -75800802380294.16, + -76835804312066.81, + -77858876706072.38, + -78878420987903.62, + -79900911322826.67, + -80931024375377.44, + -81971867379326.53, + -83025253682373.08, + -84091983336500.52, + -85172099033776.16, + -86265101001725.75, + -87370115654345.3, + -88486020519349.55, + -89611532127856.55, + -90745264828780.94, + -91885767829726.73, + -93031546014127.11, + -94181067799653.17, + -95332760729288.3, + -96484992603828.23, + -97636032665199.52, + -98783983570057.77, + -99926670901006.03, + -101061473499053.48, + -102185076377127.78, + -103293130422988.5, + -104379811767427.5, + -105437290251596.61, + -106455140829199.66, + -107419761166389.61, + -108313887179277.97, + -109116317372755.64, + -109801958005779.27, + -110342278401503.66, + -110706218836843.05, + -110861528879090.67, + -110776444156267.53, + -110421549368132.47, + -109771638252180.38, + -108807375186906.95, + -107516588647274.97, + -105895077317059.72, + -103946874071070.0, + -101683978663885.14, + -99125625905384.28, + -96297195235926.31, + -93228887225646.33, + -89954293823175.4, + -86508976076161.88, + -82929140638043.9, + -79250479808885.58, + -75507213354580.48, + -71731346922219.44, + -67952143163224.15, + -64195788290139.07, + -60485228438670.02, + -56840146175346.195, + -53277046801949.664, + -49809425758773.516, + -46447991580978.12, + -43200922729794.83, + -40074140725523.47, + -37071585924040.99, + -34195485853831.086, + -31446609034805.727, + -28824499749173.473, + -26327691195989.49, + -23953895993653.918, + -21700174108062.87, + -19563079068467.875, + -17538783834091.81, + -15623187995729.768, + -13812008117648.588, + -12100853093452.541, + -10485286301208.566, + -8960876286072.059, + -7523237536390.578, + -6168062802944.301, + -4891148224483.129, + -3688412412176.835, + -2555910481941.7197, + -1489843891662.9412, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "direct_maximum_absolute": 110861528879090.67, + "eliminated": [ + -381222027771.23285, + -1167794986211.705, + -2003411257139.398, + -2890778288448.8457, + -3832674783413.5493, + -4831934376019.713, + -5891424535726.011, + -7014019863248.252, + -8202568878755.011, + -9459853325703.775, + -10788538982241.035, + -12191116960277.877, + -13669834531351.525, + -15226614646051.781, + -16862963544970.236, + -18579866234428.023, + -20377670135078.668, + -22255957961313.54, + -24213411877082.01, + -26247672222246.066, + -28355195638424.277, + -30531119204409.355, + -32769139176452.168, + -35061414995077.508, + -37398511180204.46, + -39769391308338.85, + -42161479108560.125, + -44560801352043.31, + -46952225195154.89, + -49319798482424.92, + -51647194895039.18, + -53918256665989.71, + -56117616194056.8, + -58231365155561.16, + -60247727126083.266, + -62157679341752.94, + -63955463483880.336, + -65638926594800.14, + -67209643121419.17, + -68672788005600.41, + -70036757219673.0, + -71312562715723.8, + -72513058309047.34, + -73652075819371.95, + -74743561872674.98, + -75800802380294.16, + -76835804312066.81, + -77858876706063.69, + -78878420987907.9, + -79900911322835.1, + -80931024375369.12, + -81971867379330.64, + -83025253682373.08, + -84091983336496.47, + -85172099033772.14, + -86265101001733.73, + -87370115654337.33, + -88486020519357.52, + -89611532127864.52, + -90745264828764.95, + -91885767829734.77, + -93031546014119.02, + -94181067799645.03, + -95332760729296.53, + -96484992603828.23, + -97636032665199.52, + -98783983570057.77, + -99926670901014.77, + -101061473499053.48, + -102185076377127.78, + -103293130422988.5, + -104379811767417.97, + -105437290251606.39, + -106455140829189.61, + -107419761166389.61, + -108313887179277.97, + -109116317372755.64, + -109801958005790.64, + -110342278401491.88, + -110706218836843.05, + -110861528879090.67, + -110776444156267.53, + -110421549368132.47, + -109771638252194.66, + -108807375186877.16, + -107516588647274.97, + -105895077317092.25, + -103946874071035.97, + -101683978663920.77, + -99125625905384.28, + -96297195235926.31, + -93228887225646.33, + -89954293823132.2, + -86508976076207.28, + -82929140638043.9, + -79250479808885.58, + -75507213354580.48, + -71731346922163.61, + -67952143163283.02, + -64195788290139.07, + -60485228438604.45, + -56840146175346.195, + -53277046802096.01, + -49809425758696.164, + -46447991581059.914, + -43200922729708.29, + -40074140725523.47, + -37071585924040.99, + -34195485853831.086, + -31446609034805.727, + -28824499749058.242, + -26327691196111.613, + -23953895993653.918, + -21700174108062.87, + -19563079068467.875, + -17538783833937.326, + -15623187995893.688, + -13812008117648.588, + -12100853093267.88, + -10485286301404.611, + -8960876286072.059, + -7523237536169.512, + -6168062803179.101, + -4891148224732.55, + -3688412411646.8643, + -2555910481941.7197, + -1489843891962.1328, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "eliminated_maximum_absolute": 110861528879090.67, + "floor_active": false, + "legacy_binary64": { + "difference": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -28.7109375, + 0.0, + 26.21875, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -28.53125, + 0.0, + 0.0, + 0.0, + 0.0, + 24.328125, + 0.0, + 7.6875, + 0.0, + 0.0, + 0.0, + -7.046875, + 13.875, + -6.828125, + 20.21875, + -6.671875, + -26.390625, + 0.0, + -13.015625, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -13.671875, + 13.875, + -42.34375, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -19.015625, + 0.0, + 61.390625, + 0.0, + 22.125, + 0.0, + 0.0, + 0.0, + -26.21875, + 82.28125, + 0.0, + 0.0, + 0.0, + -33.125, + 69.5703125, + 0.0, + -76.921875, + 0.0, + 170.5546875, + -89.8671875, + 47.3828125, + -49.9921875, + 0.0, + 0.0, + 0.0, + 0.0, + -131.58984375, + 0.0, + 0.0, + 0.0, + 0.0, + -174.892578125, + 277.95703125, + 0.0, + -208.193359375, + 220.759765625, + 0.0, + 0.0, + 131.7705078125, + 139.8408203125, + -593.73193359375, + 0.0, + 501.949462890625, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "direct": [ + -381222027758.4998, + -1167794986265.665, + -2003411257169.8455, + -2890778288509.488, + -3832674783407.5464, + -4831934376084.732, + -5891424535670.342, + -7014019863275.334, + -8202568878792.337, + -9459853325644.295, + -10788538982295.45, + -12191116960314.752, + -13669834531285.676, + -15226614646070.79, + -16862963545001.459, + -18579866234429.82, + -20377670135085.32, + -22255957961275.74, + -24213411877065.49, + -26247672222204.215, + -28355195638401.633, + -30531119204405.836, + -32769139176480.336, + -35061414995088.75, + -37398511180214.734, + -39769391308329.664, + -42161479108571.99, + -44560801352031.97, + -46952225195160.21, + -49319798482418.836, + -51647194895023.69, + -53918256665981.75, + -56117616194068.54, + -58231365155584.44, + -60247727126085.19, + -62157679341744.31, + -63955463483852.74, + -65638926594816.305, + -67209643121418.45, + -68672788005605.805, + -70036757219683.88, + -71312562715722.03, + -72513058309036.86, + -73652075819385.33, + -74743561872675.77, + -75800802380295.94, + -76835804312053.55, + -77858876706079.97, + -78878420987896.5, + -79900911322827.39, + -80931024375376.52, + -81971867379314.75, + -83025253682378.05, + -84091983336489.42, + -85172099033774.05, + -86265101001723.53, + -87370115654339.05, + -88486020519351.1, + -89611532127862.3, + -90745264828780.38, + -91885767829739.45, + -93031546014129.64, + -94181067799651.36, + -95332760729308.25, + -96484992603829.4, + -97636032665186.33, + -98783983570060.44, + -99926670901004.08, + -101061473499061.22, + -102185076377132.84, + -103293130422998.77, + -104379811767424.17, + -105437290251609.44, + -106455140829208.2, + -107419761166395.9, + -108313887179279.0, + -109116317372758.44, + -109801958005793.22, + -110342278401494.4, + -110706218836830.1, + -110861528879102.77, + -110776444156263.0, + -110421549368107.3, + -109771638252183.52, + -108807375186896.4, + -107516588647250.45, + -105895077317037.3, + -103946874071086.25, + -101683978663879.52, + -99125625905408.5, + -96297195235889.8, + -93228887225627.55, + -89954293823150.17, + -86508976076120.78, + -82929140638132.25, + -79250479808892.12, + -75507213354596.14, + -71731346922223.9, + -67952143163245.914, + -64195788290105.67, + -60485228438644.37, + -56840146175357.94, + -53277046801953.61, + -49809425758719.27, + -46447991581084.66, + -43200922729753.695, + -40074140725433.17, + -37071585924177.52, + -34195485853889.215, + -31446609034687.004, + -28824499749049.72, + -26327691196177.992, + -23953895993654.094, + -21700174108104.016, + -19563079068650.652, + -17538783834032.797, + -15623187995604.205, + -13812008117761.191, + -12100853093294.498, + -10485286301316.518, + -8960876285881.31, + -7523237536329.116, + -6168062803025.522, + -4891148224857.1045, + -3688412412212.849, + -2555910481605.907, + -1489843891628.8684, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "direct_maximum_absolute": 110861528879102.77, + "eliminated": [ + -381222027758.4998, + -1167794986265.665, + -2003411257169.8455, + -2890778288509.488, + -3832674783407.5464, + -4831934376084.732, + -5891424535670.342, + -7014019863275.334, + -8202568878792.337, + -9459853325644.295, + -10788538982295.45, + -12191116960314.752, + -13669834531285.676, + -15226614646070.79, + -16862963545001.459, + -18579866234429.82, + -20377670135085.32, + -22255957961275.74, + -24213411877065.49, + -26247672222204.215, + -28355195638401.633, + -30531119204405.836, + -32769139176480.336, + -35061414995088.75, + -37398511180214.734, + -39769391308329.664, + -42161479108571.99, + -44560801352031.97, + -46952225195160.21, + -49319798482418.836, + -51647194895023.69, + -53918256665981.75, + -56117616194068.54, + -58231365155555.73, + -60247727126085.19, + -62157679341770.53, + -63955463483852.74, + -65638926594816.305, + -67209643121418.45, + -68672788005605.805, + -70036757219683.88, + -71312562715722.03, + -72513058309036.86, + -73652075819356.8, + -74743561872675.77, + -75800802380295.94, + -76835804312053.55, + -77858876706079.97, + -78878420987920.83, + -79900911322827.39, + -80931024375384.2, + -81971867379314.75, + -83025253682378.05, + -84091983336489.42, + -85172099033767.0, + -86265101001737.4, + -87370115654332.22, + -88486020519371.31, + -89611532127855.62, + -90745264828753.98, + -91885767829739.45, + -93031546014116.62, + -94181067799651.36, + -95332760729308.25, + -96484992603829.4, + -97636032665186.33, + -98783983570060.44, + -99926670901004.08, + -101061473499061.22, + -102185076377132.84, + -103293130422998.77, + -104379811767410.5, + -105437290251623.31, + -106455140829165.86, + -107419761166395.9, + -108313887179279.0, + -109116317372758.44, + -109801958005793.22, + -110342278401494.4, + -110706218836830.1, + -110861528879102.77, + -110776444156263.0, + -110421549368107.3, + -109771638252183.52, + -108807375186877.39, + -107516588647250.45, + -105895077317098.69, + -103946874071086.25, + -101683978663901.64, + -99125625905408.5, + -96297195235889.8, + -93228887225627.55, + -89954293823123.95, + -86508976076203.06, + -82929140638132.25, + -79250479808892.12, + -75507213354596.14, + -71731346922190.78, + -67952143163315.484, + -64195788290105.67, + -60485228438567.445, + -56840146175357.94, + -53277046802124.164, + -49809425758629.41, + -46447991581132.04, + -43200922729703.7, + -40074140725433.17, + -37071585924177.52, + -34195485853889.215, + -31446609034687.004, + -28824499748918.13, + -26327691196177.992, + -23953895993654.094, + -21700174108104.016, + -19563079068650.652, + -17538783833857.904, + -15623187995882.162, + -13812008117761.191, + -12100853093086.305, + -10485286301537.277, + -8960876285881.31, + -7523237536329.116, + -6168062803157.293, + -4891148224996.945, + -3688412411619.117, + -2555910481605.907, + -1489843892130.8179, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "eliminated_maximum_absolute": 110861528879102.77, + "floor_active": false, + "maximum_absolute_difference": 593.73193359375, + "normalization_floor": 1.0, + "normalization_scale": 110861528879102.77, + "relative_error": 5.355617404854928e-12 + }, + "maximum_absolute_difference": 529.970703125, + "normalization_floor": 1.0, + "normalization_scale": 110861528879090.67, + "relative_error": 4.780474421410911e-12, + "unit": "m-2 s-1" + }, + "positive_ion_rate": { + "difference": [ + 4521459712.0, + -4260364288.0, + 1948254208.0, + 0.0, + 5812256768.0, + -10649337856.0, + 4874829824.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 9283043328.0, + -8762949632.0, + -7430209536.0, + 13672382464.0, + -12253659136.0, + 5639241728.0, + 9617539072.0, + -17745051648.0, + 399507456.0, + 21398290432.0, + -25944915968.0, + 23429382144.0, + -10841227264.0, + 0.0, + -4250927104.0, + 4037017600.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 4144496640.0, + -7782006784.0, + 3655598080.0, + 3271819264.0, + -3135766528.0, + -2827485184.0, + 2715811840.0, + 0.0, + 0.0, + 4356308992.0, + -8314421248.0, + 3972136960.0, + 0.0, + 7023624192.0, + -10171842560.0, + -3163947008.0, + 12430737408.0, + -8999534592.0, + 2908618752.0, + 2796683264.0, + -16908288.0, + -8005877760.0, + 10473963520.0, + -10307108864.0, + -5373952.0, + 15146549248.0, + -15053094912.0, + 10031595520.0, + 42074112.0, + -10122166272.0, + 5081923584.0, + 0.0, + 0.0, + -5437259776.0, + 5474353152.0, + 0.0, + 0.0, + 6163398656.0, + -12668633088.0, + 13223067648.0, + -6824001536.0, + 0.0, + 0.0, + -8246067200.0, + 17206738944.0, + -8987967488.0, + 0.0, + 0.0, + 0.0, + -12307070976.0, + 39290798080.0, + -27513061376.0, + -31141658624.0, + 66179563520.0, + -72026423296.0, + 38355337216.0, + 0.0, + 0.0, + 52807860224.0, + -113249353728.0, + 60736667648.0, + 0.0, + 0.0, + 86023077888.0, + -185570689024.0, + 100084482048.0, + 117218213888.0, + -123338752000.0, + -289835843584.0, + 466737954816.0, + -350030397440.0, + 390483410944.0, + -211828080640.0, + 0.0, + 0.0, + 0.0, + 351430246400.0, + -765604134912.0, + 416777502720.0, + 0.0, + 0.0, + 625632870400.0, + -1366048112640.0, + 745234497536.0, + 889860390912.0, + -1945068634112.0, + 1062188613632.0, + 1270472507392.0, + -2779512832000.0, + -94597283840.0, + 5351995867136.0, + -3863162650624.0, + -2315491737600.0, + 1655747641344.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "direct": [ + 6.459832946851146e+21, + 6.464038233627622e+21, + 6.466972433082832e+21, + 6.468362447226083e+21, + 6.467896648228595e+21, + 6.465220914727671e+21, + 6.459934621304465e+21, + 6.451586563359353e+21, + 6.439671079627171e+21, + 6.423624467431537e+21, + 6.402821988451126e+21, + 6.376575721130531e+21, + 6.344133676958308e+21, + 6.304680630013369e+21, + 6.257341200278795e+21, + 6.201185856614644e+21, + 6.135240543396822e+21, + 6.058500737823533e+21, + 5.969950765383183e+21, + 5.868589168228817e+21, + 5.753460858120204e+21, + 5.623696543815856e+21, + 5.478559598295261e+21, + 5.317500009399491e+21, + 5.140214343608073e+21, + 4.946709720557921e+21, + 4.737368719761893e+21, + 4.513010863085347e+21, + 4.2749450958816606e+21, + 4.0250065710610226e+21, + 3.7655703346153076e+21, + 3.499534490899393e+21, + 3.230266370986802e+21, + 2.961507422803903e+21, + 2.6972360918074466e+21, + 2.4414927533552273e+21, + 2.1981764079474733e+21, + 1.9708285491613063e+21, + 1.7624243358727065e+21, + 1.5751937291404302e+21, + 1.4104945289380383e+21, + 1.2687547084786667e+21, + 1.1494932780688295e+21, + 1.051418279699957e+21, + 9.725893498116487e+20, + 9.106229448883663e+20, + 8.62912893313161e+20, + 8.268386375784162e+20, + 7.99938279436815e+20, + 7.800319720013609e+20, + 7.652910961499537e+20, + 7.542576618497358e+20, + 7.45824701745212e+20, + 7.39191290631371e+20, + 7.338054763747295e+20, + 7.293058240201857e+20, + 7.254686848526827e+20, + 7.221647841937069e+20, + 7.19325946975245e+20, + 7.169209845318563e+20, + 7.149388606040294e+20, + 7.133769639961821e+20, + 7.122323359390929e+20, + 7.114937776227071e+20, + 7.111327137714547e+20, + 7.110904481454047e+20, + 7.112590338045706e+20, + 7.114525569147509e+20, + 7.11365490301848e+20, + 7.105153453852591e+20, + 7.081686406556084e+20, + 7.032526008309209e+20, + 6.942600474586679e+20, + 6.791610408723895e+20, + 6.55340615674603e+20, + 6.195854393816954e+20, + 5.6814129630408796e+20, + 4.9685658525967267e+20, + 4.014145698787023e+20, + 2.776409377895751e+20, + 1.2185684348274034e+20, + -6.876476846608054e+19, + -2.9588668296191436e+20, + -5.5978178101986165e+20, + -8.592248933200926e+20, + -1.1915151002088788e+21, + -1.5526224209075993e+21, + -1.9374364266921698e+21, + -2.3400833086671178e+21, + -2.754273527998547e+21, + -3.173643976943704e+21, + -3.592065062219305e+21, + -4.0038922328028805e+21, + -4.404151184178814e+21, + -4.788654759198803e+21, + -5.154056394557344e+21, + -5.497849528772345e+21, + -5.818324707014035e+21, + -6.114496647932226e+21, + -6.38601268594242e+21, + -6.633052390819111e+21, + -6.856226126309643e+21, + -7.056478242723897e+21, + -7.234998732301308e+21, + -7.393145513562455e+21, + -7.532378305576805e+21, + -7.654204062228646e+21, + -7.76013336295926e+21, + -7.85164665358527e+21, + -7.930169195563531e+21, + -7.997053320413925e+21, + -8.053566791186535e+21, + -8.100886065408977e+21, + -8.140093417905483e+21, + -8.172177002730845e+21, + -8.19803312818759e+21, + -8.218470049525988e+21, + -8.234212869459995e+21, + -8.24590900087294e+21, + -8.254134059014407e+21, + -8.259397769794963e+21, + -8.26214987094307e+21, + -8.26278573547769e+21, + -8.261651827098652e+21, + -8.25905072446957e+21, + -8.25524579849958e+21, + -8.250465543840833e+21, + -8.244907572400195e+21, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "direct_maximum_absolute": 8.26278573547769e+21, + "eliminated": [ + 6.459832946846624e+21, + 6.464038233631882e+21, + 6.466972433080884e+21, + 6.468362447226083e+21, + 6.467896648222783e+21, + 6.46522091473832e+21, + 6.45993462129959e+21, + 6.451586563359353e+21, + 6.439671079627171e+21, + 6.423624467431537e+21, + 6.402821988451126e+21, + 6.376575721130531e+21, + 6.344133676949025e+21, + 6.304680630022132e+21, + 6.257341200286226e+21, + 6.201185856600971e+21, + 6.135240543409076e+21, + 6.058500737817894e+21, + 5.969950765373565e+21, + 5.868589168246562e+21, + 5.753460858119804e+21, + 5.623696543794457e+21, + 5.478559598321206e+21, + 5.317500009376062e+21, + 5.140214343618914e+21, + 4.946709720557921e+21, + 4.737368719766144e+21, + 4.51301086308131e+21, + 4.2749450958816606e+21, + 4.0250065710610226e+21, + 3.7655703346153076e+21, + 3.499534490899393e+21, + 3.230266370986802e+21, + 2.961507422803903e+21, + 2.697236091803302e+21, + 2.4414927533630093e+21, + 2.1981764079438177e+21, + 1.9708285491580345e+21, + 1.7624243358758422e+21, + 1.5751937291432577e+21, + 1.4104945289353225e+21, + 1.2687547084786667e+21, + 1.1494932780688295e+21, + 1.0514182796956007e+21, + 9.725893498199631e+20, + 9.106229448843942e+20, + 8.62912893313161e+20, + 8.268386375713925e+20, + 7.999382794469869e+20, + 7.800319720045249e+20, + 7.65291096137523e+20, + 7.542576618587353e+20, + 7.458247017423034e+20, + 7.391912906285743e+20, + 7.338054763747464e+20, + 7.293058240281916e+20, + 7.254686848422087e+20, + 7.22164784204014e+20, + 7.193259469752504e+20, + 7.169209845167097e+20, + 7.149388606190825e+20, + 7.133769639861505e+20, + 7.122323359390508e+20, + 7.114937776328292e+20, + 7.111327137663728e+20, + 7.110904481454047e+20, + 7.112590338045706e+20, + 7.114525569201882e+20, + 7.113654902963736e+20, + 7.105153453852591e+20, + 7.081686406556084e+20, + 7.032526008247575e+20, + 6.942600474713365e+20, + 6.791610408591664e+20, + 6.55340615681427e+20, + 6.195854393816954e+20, + 5.6814129630408796e+20, + 4.9685658526791873e+20, + 4.014145698614956e+20, + 2.7764093779856307e+20, + 1.2185684348274034e+20, + -6.876476846608054e+19, + -2.9588668296191436e+20, + -5.597817810075546e+20, + -8.592248933593834e+20, + -1.1915151001813658e+21, + -1.5526224208764577e+21, + -1.9374364267583494e+21, + -2.3400833085950913e+21, + -2.7542735280369026e+21, + -3.173643976943704e+21, + -3.592065062219305e+21, + -4.0038922328556883e+21, + -4.404151184065565e+21, + -4.78865475925954e+21, + -5.154056394557344e+21, + -5.497849528772345e+21, + -5.818324707100058e+21, + -6.114496647746656e+21, + -6.386012686042505e+21, + -6.633052390936329e+21, + -6.856226126186304e+21, + -7.056478242434061e+21, + -7.234998732768046e+21, + -7.393145513212424e+21, + -7.532378305967288e+21, + -7.654204062016818e+21, + -7.76013336295926e+21, + -7.85164665358527e+21, + -7.930169195563531e+21, + -7.997053320765356e+21, + -8.053566790420931e+21, + -8.100886065825754e+21, + -8.140093417905483e+21, + -8.172177002730845e+21, + -8.198033128813223e+21, + -8.21847004815994e+21, + -8.23421287020523e+21, + -8.2459090017628e+21, + -8.254134057069338e+21, + -8.259397770857151e+21, + -8.262149872213543e+21, + -8.262785732698178e+21, + -8.261651827004054e+21, + -8.259050729821566e+21, + -8.255245794636417e+21, + -8.250465541525341e+21, + -8.244907574055942e+21, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "eliminated_maximum_absolute": 8.262785732698178e+21, + "floor_active": false, + "independent_reference": { + "carrier_mapping": "original_global_phi0_log_n0_log_p0", + "fields": { + "n_m3": { + "hi": [ + 2515095827087.2163, + 2508795492427.913, + 2502132271054.334, + 2495088071012.9844, + 2487644250417.0225, + 2479781647358.1543, + 2471480617484.4766, + 2462721080011.6885, + 2453482572951.8823, + 2443744318344.04, + 2433485298259.7734, + 2422684342328.571, + 2411320227474.123, + 2399371790481.3994, + 2386818053908.241, + 2373638365724.0005, + 2359812552886.5566, + 2345321088864.644, + 2330145274864.953, + 2314267434235.9346, + 2297671119190.309, + 2280341328618.5005, + 2262264735354.5684, + 2243429920816.787, + 2223827614476.2686, + 2203450935124.592, + 2182295630427.0776, + 2160360310778.2166, + 2137646673036.1575, + 2114159709333.8274, + 2089907895857.617, + 2064903356286.873, + 2039161994517.63, + 2012703591376.0789, + 1985551860288.5854, + 1957734457327.6848, + 1929282941707.0852, + 1900232683665.311, + 1870622717738.8125, + 1840495540673.4978, + 1809896854625.3682, + 1778875257817.0806, + 1747481886398.1138, + 1715770012837.3025, + 1683794607696.2817, + 1651611873009.3123, + 1619278756665.8818, + 1586852458078.7148, + 1554389935967.8035, + 1521947429248.6782, + 1489580001751.9226, + 1457341120813.9768, + 1425282278676.7983, + 1393452664160.3801, + 1361898890283.1357, + 1330664781485.4321, + 1299791221956.3079, + 1269316064377.0967, + 1239274096289.0032, + 1209697059368.3528, + 1180613715247.7993, + 1152049950232.961, + 1124028910389.176, + 1096571158043.0135, + 1069694840765.6108, + 1043415864356.9689, + 1017748062188.3351, + 992703354414.7101, + 968291891958.9773, + 944522181699.9269, + 921401190869.41, + 898934430186.2509, + 877126016640.5795, + 855978718021.908, + 835493982206.2726, + 815671954851.6606, + 796511489488.435, + 778010154044.7719, + 760164237645.2045, + 742968761108.7307, + 726417494000.9711, + 710502980423.1115, + 695216574999.5721, + 680548489810.9285, + 666487852347.9354, + 653022773970.6884, + 640140427865.0044, + 627827135108.8038, + 616068457196.7511, + 604849293218.3264, + 594153979831.7454, + 583966392211.8015, + 574270044254.7552, + 565048186484.5714, + 556283900302.735, + 547960187444.3995, + 540060053733.3372, + 532566586455.71027, + 525463024888.14215, + 518732823714.5086, + 512359709241.3356, + 506327728473.311, + 500621291236.1416, + 495225205634.6874, + 490124707211.3363, + 485305482224.98486, + 480753685507.271, + 476455953372.44855, + 472399412063.35895, + 468571682210.54346, + 464960879767.92914, + 461555613867.0573, + 458344982007.2832, + 455318562969.80206, + 452466407813.449, + 449779029278.72546, + 447247389895.22736, + 444862889057.4623, + 442617349304.7975, + 440503002013.5728, + 438512472683.95355, + 436638765980.0872, + 434875250660.3514, + 433215644514.86945, + 431653999409.33984, + 430184686518.4268, + 428802381817.569, + 427502051889.7369, + 20297125359482.24, + 20244469618390.41, + 20188709200161.88, + 20129680239697.203, + 20067212674538.395, + 20001130337370.695, + 19931251103473.19, + 19857387100285.113, + 19779344986719.83, + 19696926310300.02, + 19609927950584.926, + 19518142657651.51, + 19421359694635.934, + 19319365593429.336, + 19211945032547.28, + 19098881845974.676, + 18979960171287.387, + 18854965744639.727, + 18723687349146.71, + 18585918421803.07, + 18441458822309.656, + 18290116764950.242, + 18131710912001.992, + 17966072623987.24, + 17793048358426.164, + 17612502204537.062, + 17424318536701.115, + 17228404764372.455, + 17024694150594.518, + 16813148665522.768, + 16593761835363.102, + 16366561541194.434, + 16131612716407.156, + 15889019886149.732, + 15638929487615.47, + 15381531906382.365, + 15117063161751.27, + 14845806173388.217, + 14568091542841.105, + 14284297787000.992, + 13994850966451.16, + 13700223660110.082, + 13400933248605.32, + 13097539482350.379, + 12790641326175.717, + 12480873090119.783, + 12168899875248.307, + 11855412383364.867, + 11541121159561.318, + 11226750355811.975, + 10913031121376.467, + 10600694740799.447, + 10290465651886.006, + 9983054483577.46, + 9679151256549.371, + 9379418887374.477, + 9084487130068.979, + 8794947077110.958, + 8511346325902.1, + 8234184896962.716, + 7963911967696.9795, + 7700923461443.261, + 7445560506760.418, + 7198108757664.5, + 6958798542776.598, + 6727805791016.839, + 6505253664270.287, + 6291214813879.676, + 6085714168141.466, + 5888732152278.338, + 5700208240457.004, + 5520044741010.242, + 5348110720633.794, + 5184245980413.57, + 5028265005508.447, + 4879960820562.56, + 4739108693851.544, + 4605469644306.712, + 4478793716414.968, + 4358822998244.524, + 4245294367198.0806, + 4137941956382.8945, + 4036499341608.41, + 3940701454924.445, + 3850286235345.4995, + 3764996031018.2983, + 3684578769676.7827, + 3608788915926.2812, + 3537388234802.9214, + 3470146381329.7485, + 3406841335532.3086, + 3347259701712.123, + 3291196889817.3003, + 3238457195570.236, + 3188853794706.324, + 3142208665298.863, + 3098352450750.312, + 3057124274657.856, + 3018371517438.601, + 2981949563357.3013, + 2947721525434.727, + 2915557954657.6216, + 2885336538941.4614, + 2856941796437.571, + 2830264767005.1406, + 2805202704990.7217, + 2781658775869.935, + 2759541758790.369, + 2738765756615.116, + 2719249914690.1465, + 2700918149239.6934, + 2683698886025.5635, + 2667524809682.389, + 2652332623959.226, + 2638062822940.8926, + 2624659473206.9355, + 2612070006784.0654, + 2600245024671.8335, + 2589138110665.336, + 2578705655148.717, + 2568906688508.2085, + 2559702723784.242, + 2551057608176.1367, + 2542937382999.0933, + 2535310151697.5015, + 2528145955518.061, + 2521416656455.0977, + 2515095827087.2163 + ], + "lo": [ + 0.0, + -0.00022447879523878223, + 5.765036887922605e-05, + 1.0628865038952879e-05, + -1.6454668185817012e-05, + 0.00020642003417953227, + -0.00018951093519695253, + 0.0002235770392574314, + -1.976007128471198e-05, + -4.868810578072888e-05, + -0.00019865182311258733, + -0.00013269927265665692, + -2.0784380911420898e-05, + 8.456268162650674e-05, + 0.00010564324802440564, + 3.98993692692542e-05, + -0.00019689464994832018, + 0.00019653070925653682, + -0.00014128377393666304, + 0.00023202864845873314, + -0.00018450922072209752, + 0.00022786271178393096, + 3.565593622172634e-06, + -0.0001798713336333526, + 0.0002082286881489672, + 0.0001188697636554892, + 9.437898198583405e-05, + 2.917953541710368e-05, + 5.5630410555438165e-05, + -0.00011206075292951524, + 1.705763752810117e-05, + 0.00011441924812609965, + -1.995635681035551e-05, + -2.869633812548871e-06, + -0.0001027014657978088, + 6.476379326854976e-05, + 9.527756907937527e-05, + 6.207969548768624e-05, + -7.746205913652273e-05, + -7.367115084349513e-06, + -6.356035941282683e-05, + -4.1290364784356556e-05, + -4.772253893888079e-05, + -5.979978600642417e-05, + 4.826176447072435e-05, + -6.899126501082428e-05, + -4.523151690539815e-05, + 9.799278226776573e-05, + 8.679715117700305e-05, + 6.219327099105298e-05, + 0.00010071848154097603, + -9.089479414507248e-05, + 3.2369080129113497e-05, + 9.010202515067538e-05, + -0.00011736261735754957, + -7.088661205289644e-05, + -4.1616671506622025e-05, + 9.55548272576238e-05, + 7.530638179907146e-05, + 1.4323897913858263e-05, + -6.276027127234517e-05, + 0.00011176400672217271, + -2.687460503873321e-05, + -9.997520162876323e-06, + 5.4520621171636114e-05, + 2.4434184002958436e-05, + -2.9354229058053702e-06, + -1.3994880203325278e-05, + -4.215009054729485e-05, + 1.1312798265212693e-06, + 2.571269070917072e-05, + -5.449489951947972e-05, + 3.929431026302533e-05, + -5.14707799680566e-05, + -2.8402005986569452e-05, + 7.90074317585698e-06, + 3.085530687682273e-05, + -6.456378976911892e-06, + -5.5493959978672664e-05, + -3.576267220260761e-06, + -5.041048560288733e-05, + -1.719390312764388e-05, + 2.963693969196493e-06, + -3.795118667890892e-05, + 5.9174118702118365e-05, + 5.8479343062992816e-05, + -1.912815366393679e-05, + -2.8471670216935094e-05, + 4.7952283307732e-05, + 4.2077057567620955e-05, + -3.45876201861135e-05, + 5.500993968407973e-05, + -3.396215701855635e-05, + -5.496712803127014e-05, + 3.5392064223088865e-05, + -2.4110644899189183e-05, + 2.3424129462116454e-05, + 4.198580707729125e-06, + -2.725455403402001e-05, + -7.567984260395723e-06, + -3.009620602466414e-05, + -2.8815330890605207e-05, + -1.8643893227395644e-05, + 1.7344296944585317e-05, + 9.485674124883392e-06, + 4.1016678699286965e-06, + 2.017904182313767e-05, + -1.2079477618064494e-05, + -2.2571198859265912e-05, + 1.378287291135587e-05, + 2.0267579159889935e-05, + -2.678772309472716e-05, + -2.467063140691992e-05, + 1.0898689175910618e-05, + -2.6484822082340572e-05, + 3.768788043262279e-06, + -1.2014156020947693e-05, + 2.931951615752784e-05, + -2.175354475434428e-05, + 1.3206062018363586e-05, + -1.0082938399060537e-05, + -2.8777567403903904e-05, + -2.3819067290511708e-05, + -2.725462396292171e-05, + 5.181035761248238e-06, + 1.618194514069044e-05, + -1.9973571852805987e-05, + 1.7742727534511104e-05, + 0.0008715488661229326, + 0.0014856291641412427, + -0.0016412135131975917, + -0.0009508495163225414, + -0.0016160561255986893, + -0.0013552990481346487, + -0.00034335278812135637, + 0.0006256634095496876, + 0.0005096135438376542, + 0.00020839358271679175, + 0.0009329322030312325, + -0.0005292672114448025, + 0.0005577619626448336, + -0.000652952953674203, + 0.0005059879504583813, + 0.00042971080525117176, + -0.0017431492283127034, + 0.00021282084847155448, + -0.0017057744842205727, + -0.0004403832606599323, + -0.000410290776339091, + -0.0004100899353399836, + 0.0011416659049657176, + 0.0019346980324338433, + 0.0016727180562699946, + -0.00030626839604645865, + 0.0004537515318392623, + -0.0006857899931362584, + 0.0006925732530847481, + -0.00046698543752258625, + -0.00018076038618607782, + -0.0002846929752516424, + -3.187495972491618e-06, + 0.0006654661967745296, + -0.0002480333037430397, + -0.0003724438656155741, + 0.0002918821741106643, + -0.00045068164419678113, + -8.939970044201502e-05, + -0.0005931613993548284, + -0.0003788405325644042, + -0.0008944014137284131, + 0.0004206352628084101, + -0.0007120623723833554, + -0.0007285253365991048, + -0.00042844513188998955, + -0.0004038248934415488, + 0.000258854982221992, + -0.0006620195758708973, + -0.0002811909234094478, + -0.00042522347919146414, + -0.0004924766249430795, + -0.000827883393183555, + 0.0005712186274291225, + 0.0009171287492130253, + -0.0008393084008333463, + -0.000658792068211785, + -0.0003958483485726801, + -0.0004772278853169057, + 0.00040493807114836794, + -0.0002239917328464321, + 0.00041485374919717253, + -0.0003240551714206733, + 0.000392513114277173, + -0.00031879485296024146, + -0.00041062985854840503, + -0.0001080981827135964, + 9.60844070120246e-06, + -0.0002891009045719577, + 2.208446173204938e-05, + -0.0003230367684018304, + -0.00013623461400175902, + -0.0003525490183157294, + 1.0910598161309849e-05, + -0.00024069471047221978, + -0.00021972039251987808, + -0.00031912396734916034, + -0.00011361163263039817, + -0.00012812219371556845, + 0.00017716337396728348, + 0.00019465182764070315, + -0.00021404261008698569, + 0.00022532369744209847, + -0.0001743602833433952, + -0.00011879715793599911, + -4.9214895058757725e-06, + -1.9714491177441196e-05, + 0.000159070323661237, + 5.542623253697235e-05, + 1.1071995887476685e-05, + -0.0002162317901833205, + -0.00022921839031932577, + 0.00019081268232605606, + -0.0001556740854898202, + -0.00013903542400779152, + 0.0001623256415313516, + 0.00011870634859095269, + -0.00020376647805225184, + 3.603370751172583e-05, + -0.00019061484158002586, + 5.9133771391233704e-05, + -1.2447915869394715e-06, + 0.00010109987814737472, + -6.701692325939612e-06, + -2.220034081255642e-05, + 0.00018588912089883964, + -0.0002368925517922132, + 9.01295415423976e-05, + -2.31065912971313e-05, + -2.6221856645057026e-05, + -0.00020969787592547208, + 0.00023922167057031278, + 7.342511340793027e-05, + -7.98910007577919e-05, + -5.784628441850126e-05, + 0.00012814858407810917, + 0.00020224111032021147, + -7.568467106646644e-05, + 0.00017722872272950616, + 0.00017468645631536813, + 1.9022962123272296e-05, + 0.00012976769576237415, + 0.0001080127897993684, + 0.00011241622658087855, + 0.0001994985757582633, + -0.00016847264074756457, + -5.301090746228527e-05, + 0.0 + ] + }, + "p_m3": { + "hi": [ + 2515095827087.2163, + 2521365452854.6743, + 2528029464992.069, + 2535111975019.8794, + 2542638474339.328, + 2550635900260.438, + 2559132703335.7324, + 2568158915721.3267, + 2577746220225.262, + 2587928019642.135, + 2598739505893.5757, + 2610217728420.015, + 2622401661171.9727, + 2635332267456.192, + 2649052561785.6865, + 2663607667763.775, + 2679044870916.9624, + 2695413665260.258, + 2712765792246.789, + 2731155270623.2227, + 2750638415574.626, + 2771273845419.741, + 2793122473994.8296, + 2816247486765.3945, + 2840714298624.2095, + 2866590491283.237, + 2893945728161.338, + 2922851644708.1455, + 2953381712209.4307, + 2985611073292.5845, + 3019616347612.066, + 3055475406550.5874, + 3093267116227.2485, + 3133071048678.4883, + 3174967161763.48, + 3219035449137.09, + 3265355562543.627, + 3314006409668.4077, + 3365065731833.7817, + 3418609666900.724, + 3474712303779.7993, + 3533445235913.3354, + 3594877121879.0605, + 3659073261824.08, + 3726095198645.1777, + 3796000352642.53, + 3868841697677.613, + 3944667485627.868, + 4023521024100.67, + 4105440509961.792, + 4190458918301.5264, + 4278603943079.097, + 4369897982035.795, + 4464358154714.738, + 4561996338836.892, + 4662819207101.55, + 4766828244016.932, + 4874019720858.276, + 4984384606580.897, + 5097908393625.128, + 5214570820175.462, + 5334345474584.507, + 5457199273234.356, + 5583091809910.349, + 5711974582464.658, + 5843790110802.277, + 5978470968521.251, + 6115938758451.303, + 6256103069316.288, + 6398860456352.773, + 6544093492566.632, + 6691669939065.845, + 6841442082393.983, + 6993246283944.925, + 7146902781433.272, + 7302215775217.775, + 7458973823389.974, + 7616950559314.311, + 7775905734274.784, + 7935586576576.721, + 8095729447366.271, + 8256061763132.011, + 8416304145771.817, + 8576172753613.794, + 8735381741207.233, + 8893645792183.8, + 9050682668157.89, + 9206215717396.756, + 9359976289781.828, + 9511706009125.38, + 9661158859902.271, + 9808103052614.465, + 9952322639867.342, + 10093618863469.605, + 10231811221115.44, + 10366738249092.33, + 10498258024763.02, + 10626248399044.64, + 10750606974598.314, + 10871250849917.652, + 10988116152826.877, + 11101157389226.945, + 11210346634207.139, + 11315672593028.47, + 11417139559110.705, + 11514766295068.283, + 11608584861289.816, + 11698639414570.947, + 11784984997058.379, + 11867686333367.648, + 11946816651259.951, + 12022456538805.77, + 12094692848595.338, + 12163617657309.916, + 12229327286909.15, + 12291921391794.674, + 12351502114667.67, + 12408173312318.318, + 12462039851360.611, + 12513206972872.53, + 12561779724050.371, + 12607862454312.396, + 12651558372764.27, + 12692969163566.207, + 12732194655465.236, + 12769332541634.371, + 12804478145875.008, + 12837724231254.37, + 270541382080.53357, + 271388730456.63263, + 272290840735.27127, + 273251256029.27182, + 274273748718.0249, + 275362335186.9138, + 276521291482.3114, + 277755169931.24493, + 279068816775.2845, + 280467390869.0216, + 281956383492.82916, + 283541639329.45776, + 285229378651.51874, + 287026220764.69507, + 288939208747.43207, + 290975835521.9657, + 293144071284.5943, + 295452392312.91486, + 297909811155.885, + 300525908197.0143, + 303310864561.8627, + 306275496317.98016, + 309431289887.13556, + 312790438556.1151, + 316365879931.7817, + 320171334139.4605, + 324221342507.39856, + 328531306415.9195, + 333117525915.6388, + 337997237633.2412, + 343188651387.25586, + 348710984826.82745, + 354584495285.48645, + 360830507907.9194, + 367471438961.62634, + 374530813088.64215, + 382033273086.25226, + 390004580632.2217, + 398471606195.2575, + 407462306197.038, + 417005685328.1745, + 427131741771.95886, + 437871392968.35565, + 449256379468.0657, + 461319144393.1076, + 474092686055.22565, + 487610381397.53345, + 501905778138.3018, + 517012353821.5835, + 532963240434.4058, + 549790913845.6943, + 567526848065.6382, + 586201135221.0382, + 605842073185.0826, + 626475723978.5917, + 648125447349.3564, + 670811415304.8937, + 694550114773.7142, + 719353846949.7045, + 745230233162.6276, + 772181738247.944, + 800205223280.8495, + 829291540121.3212, + 859425180415.4391, + 890583991459.9923, + 922738970618.095, + 955854148755.9684, + 989886571461.1807, + 1024786384636.3813, + 1060497028502.3181, + 1096955541180.6863, + 1134092969972.7449, + 1171834885333.976, + 1210101989505.6484, + 1248810808939.6545, + 1287874457169.249, + 1327203452757.2134, + 1366706575466.579, + 1406291742922.8706, + 1445866889781.1924, + 1485340831780.764, + 1524624098017.184, + 1563629716222.7336, + 1602273937737.712, + 1640476891064.8298, + 1678163155326.8984, + 1715262247472.7292, + 1751709019597.857, + 1787443965168.8157, + 1822413435180.0894, + 1856569767265.3367, + 1889871332495.513, + 1922282505982.4082, + 1953773568471.0168, + 1984320546846.111, + 2013905001916.4548, + 2042513772001.9182, + 2070138680765.7856, + 2096776217451.2468, + 2122427197223.4753, + 2147096408745.5967, + 2170792255443.5076, + 2193526396194.8894, + 2215313390424.445, + 2236170351838.96, + 2256116614306.8657, + 2275173412691.348, + 2293363580802.8125, + 2310711268050.168, + 2327241675840.8926, + 2342980814321.7246, + 2357955279650.3047, + 2372192051654.2715, + 2385718311451.816, + 2398561278389.7295, + 2410748065472.523, + 2422305552330.333, + 2433260274678.4863, + 2443638329161.3135, + 2453465292444.588, + 2462766153409.365, + 2471565257317.828, + 2479886260842.0083, + 2487752096893.687, + 2495184948235.5283, + 2502206228914.7285, + 2508836572614.6426, + 2515095827087.2163 + ], + "lo": [ + 0.0, + -0.00013747581848752035, + -7.842866053488555e-05, + -9.843809019449549e-06, + -1.5777227060413567e-05, + 0.00017339451651797813, + 0.00023086712246825976, + -1.1697206603360845e-05, + -8.866956521086749e-05, + -0.0002235046451868949, + 2.0170365873448195e-05, + 0.00022850752708133813, + 1.0599629308901627e-05, + 0.00017535752148621948, + -0.00015064131233673788, + 0.00012590015749608122, + -0.00014869132032559076, + 0.00010903465370966375, + 5.049226019321249e-05, + 0.00015036815613645206, + -0.00014209821376546747, + -0.0002352589760545367, + 2.1397923160307606e-05, + -0.00018607710182609458, + 0.00022255134517232684, + -8.355881432782941e-05, + -0.0002129945539561308, + -0.00023660715434877576, + 8.040891696070902e-05, + -6.133522435671979e-05, + 0.00010877329628454017, + -0.00017789984030018666, + 0.00021363727263628543, + -0.0001624529156960851, + 3.701971877972451e-05, + -0.00015387187766396747, + 7.247265746989314e-05, + -0.00012818013950344806, + 5.722969878683845e-05, + -0.00011866189198542101, + 9.048253788471612e-05, + 9.224133559151115e-05, + -0.00015275958252168947, + 0.00010779085108244445, + -9.706779688699675e-05, + 0.00020059061206819854, + 0.00022898998896991152, + -8.267025962398444e-05, + -2.4424239152840925e-05, + -7.284930479792844e-05, + -2.9780818039792202e-05, + 9.334551800570976e-05, + 0.00023026435822565936, + -2.2237211708388966e-05, + -0.0002786729282257419, + -0.000327418218058906, + 0.00038304445910590203, + 0.00017127837697645404, + -0.0004313780482658677, + 0.00033776806736221835, + -0.0003176589351361411, + -0.0003265946419441448, + 0.0002028270367353533, + -0.0004267500553850433, + 6.361525842159439e-05, + -0.000266570587653086, + -0.00014408035817868703, + 3.222575742465147e-05, + 2.8948104746290046e-05, + -0.00029928375250394453, + -0.00029814891741670525, + 0.00022136208383644832, + 5.182755679734026e-05, + 0.00020489123073725462, + 0.0003893859200165047, + -0.0002877655574249609, + 0.00019834637386964988, + 0.0004428577639994694, + 0.00013113302467072032, + -0.00034827649663356734, + 0.00022794807225841584, + -0.0004122116009283975, + -0.00046309138033745565, + 0.00018661190756835352, + -6.6615768985992645e-06, + 9.040074929876178e-05, + -5.333770665080848e-05, + -0.0006427011562694973, + 0.00038300292868805134, + 0.0006233397312566117, + 6.096951143684042e-05, + 0.00013790966877541176, + 0.00021276442480801008, + 0.0009368093034869841, + -0.0004939593096054664, + -0.0006560398433237452, + 0.0008509857335794259, + -0.0002432815953724769, + -0.0006433011422866536, + 0.0008466508062257709, + -0.0006251578932949845, + 0.0004718158220031695, + -4.9918263237180045e-05, + 0.0007831334926717893, + -0.0004087255065735601, + -0.0009478835196683826, + -0.0005083441466501548, + 0.0005055710381822265, + -0.0005906920231398812, + 4.608471020691873e-05, + -0.0005339933807615597, + 0.0008653222892401557, + -0.0005574354131502091, + -0.000521699306190906, + -0.00024798313663484343, + -0.0007168202235183687, + -0.0009389136591227173, + -0.00017831161703867225, + -0.0002193896740571332, + -0.0002691877398554686, + 0.0006701341986702384, + -0.00010686924518847634, + -0.0003459812179951354, + -0.0006057175386666554, + 0.0005783274272513413, + -0.0009083266701695751, + 0.0007236477265978233, + -0.0009585313083155913, + -5.305479497608264e-06, + -5.053421781989314e-06, + 1.0167790139505695e-05, + -3.69468185692973e-06, + 6.5187909100596764e-06, + -1.2474747518440018e-05, + 2.751315819404762e-05, + -2.1683769373579344e-05, + -1.3638929874859533e-05, + 2.9530890568046767e-05, + -2.873604354342942e-06, + -1.2498543517101783e-05, + 1.8701771138681047e-05, + 8.852622431295805e-06, + 2.636666890785769e-05, + -1.3732880678075249e-05, + 1.5520958967963964e-05, + 3.00629029164317e-06, + -1.9437586025694067e-05, + -9.824900623452639e-06, + 2.0047528210828327e-05, + 1.951264163215233e-05, + 4.325998104340548e-06, + -1.8440151439862478e-05, + 5.5366028782997126e-06, + 1.8874238515569595e-05, + 1.3707955820843595e-05, + -5.409033900541046e-06, + 4.222557326324347e-06, + 1.9352338874314674e-05, + 1.616825496408224e-05, + -4.967923541288572e-06, + -7.695805223380004e-06, + 2.4589949613765976e-05, + 2.9432921013887198e-05, + 6.451280597642787e-06, + 2.355243553526041e-05, + 5.544277981328936e-06, + -2.273752410442411e-05, + -2.6492979911432477e-05, + 2.6729010651474848e-05, + 2.290376268745137e-05, + 7.149896726463511e-06, + -2.1841429931196618e-05, + -1.545246897116318e-07, + -1.2730756581432268e-05, + -1.1105915481388949e-05, + 7.673623326286732e-06, + 1.6023716801967028e-05, + 1.4204754477494484e-06, + 4.417130884319142e-05, + 3.340840753331546e-05, + -1.5055845620522328e-05, + 3.2695013305969714e-05, + -3.560283091272925e-05, + -1.4116548608667628e-05, + 1.3919468685526789e-05, + 2.115177720266638e-05, + -1.7433627821997454e-05, + -5.862863118163716e-05, + 4.271596331279238e-05, + -5.3521346855923505e-05, + -6.365881049554261e-06, + 7.752145171658613e-06, + -3.311021520712146e-05, + -1.9335763261665466e-05, + -4.261555826054114e-05, + 1.8842701806152855e-05, + 4.474987854858075e-05, + 1.3178494112518914e-06, + -7.384450519084813e-06, + -6.449209804397134e-05, + 6.0326574061857075e-06, + 4.061013745615118e-05, + -7.681464674124362e-05, + 1.2978709292759233e-05, + -9.415291582170679e-05, + 5.942882427705321e-05, + 0.00011456995514523121, + -5.928076973815501e-05, + -8.132183035899741e-05, + -2.7753065788292196e-05, + 5.2178844669697814e-05, + 4.4023728943876975e-05, + -5.945497870148274e-05, + 1.5022768666234599e-05, + -2.9004878104497136e-06, + 9.353718257183212e-05, + 7.489877928979293e-05, + 6.745492763998232e-05, + -1.7677271572076368e-06, + -2.7836574279648218e-05, + -6.638886879097422e-05, + 8.922949660676917e-05, + -6.779784818310108e-05, + -9.733880136489296e-05, + -7.332960639425752e-05, + 0.00010337140677781512, + -5.302340990541535e-05, + -5.723845020552624e-05, + 7.958913613311522e-05, + 5.614469369331068e-05, + -5.3737231370090734e-05, + -9.283191449131284e-05, + -2.5145125040288234e-05, + -0.00024057509302159843, + -0.00016115013197897082, + -2.0912142710140118e-05, + -0.00015636427205906726, + -7.108069099534901e-05, + 3.645100509313298e-05, + -2.1017653773178923e-06, + -8.596726150061806e-05, + -0.00016944946485284587, + -0.00020524800483170976, + -0.00015783680393534168, + 0.0002411487788814471, + -9.714590037895747e-05, + 1.5722358153560394e-05, + 9.018500618651146e-05, + 9.384139158884635e-06, + 0.00019851006365121879, + -0.0001845312635704517, + -0.00011004008425377644, + -9.644395758568802e-05, + -9.956142103963571e-05, + 9.365970672290763e-05, + 0.0 + ] + }, + "phi_V": { + "hi": [ + 0.0, + -6.295122400695062e-05, + -0.00012969230926562146, + -0.0002004336413874064, + -0.0002753950215835266, + -0.00035480579403582844, + -0.000438904931293127, + -0.00052794107076992, + -0.0006221724948323855, + -0.0007218670463701068, + -0.000827301971184351, + -0.0009387636779915154, + -0.001056547406363685, + -0.0011809567925302055, + -0.0013123033226725474, + -0.0014509056631900885, + -0.0015970888574323783, + -0.0017511833786223682, + -0.0019135240291775638, + -0.002084448677416383, + -0.002264296823762096, + -0.002453407990072832, + -0.002652119927678428, + -0.0028607666421339726, + -0.003079676235639584, + -0.0033091685715496205, + -0.0035495527694104855, + -0.003801124543514702, + -0.004064163403006004, + -0.004338929737054011, + -0.004625661814443343, + -0.004924572732960135, + -0.005235847360039204, + -0.005559639312048131, + -0.005896068025081852, + -0.0062452159749378485, + -0.006607126107724502, + -0.006981799544988446, + -0.00736919362798975, + -0.007769220364473934, + -0.008181745337684584, + -0.008606587131180954, + -0.00904351731410371, + -0.0094922610198112, + -0.009952498136370329, + -0.010423865110477673, + -0.010905957347441033, + -0.011398332169496405, + -0.01190051227378651, + -0.012411989610765716, + -0.012932229584727232, + -0.013460675461739307, + -0.013996752857685129, + -0.014539874171386918, + -0.015089442825837868, + -0.015644857184978066, + -0.016205514024507393, + -0.016770811452811733, + -0.017340151201651274, + -0.017912940234865123, + -0.018488591655644218, + -0.01906652492725899, + -0.01964616545662361, + -0.020226943622763144, + -0.020808293361188786, + -0.021389650438622135, + -0.02197045056899097, + -0.022550127530112395, + -0.023128111440445562, + -0.023703827346735935, + -0.024276694256824254, + -0.024846124728394262, + -0.025411525095440424, + -0.025972296381519308, + -0.02652783591435426, + -0.02707753962207857, + -0.027620804959212777, + -0.028157034382031532, + -0.028685639269609833, + -0.02920604416947072, + -0.029717691235879782, + -0.030220044724515168, + -0.030712595409172077, + -0.031194864793707013, + -0.031666409004723124, + -0.03212682226652276, + -0.032575739878513865, + -0.033012840635455204, + -0.03343784865162138, + -0.033850534570220685, + -0.03425071615840583, + -0.03463825830533361, + -0.035013072455483914, + -0.03537511552154088, + -0.03572438833043371, + -0.03606093366264446, + -0.03638483394874974, + -0.036696208688607436, + -0.036995211657928004, + -0.03728202796452802, + -0.03755687101270866, + -0.037819979429290246, + -0.038071613999199526, + -0.03831205465245021, + -0.038541597538141834, + -0.038760552214945086, + -0.03896923898161738, + -0.03916798636553321, + -0.03935712878211278, + -0.03953700437344911, + -0.039707953030399284, + -0.03987031459892537, + -0.04002442726853476, + -0.04017062613824972, + -0.040309241953597905, + -0.04044060000661523, + -0.04056501918974424, + -0.04068281119374688, + -0.040794279839283625, + -0.040899720531595844, + -0.0409994198277225, + -0.04109365510584761, + -0.041182694326675554, + -0.04126679587713656, + -0.04134620848720775, + -0.041421171211171934, + -0.041491913465207995, + -0.04155865511379599, + -0.04168465835363574, + -0.04175156301411532, + -0.04182260176594623, + -0.04189801795531659, + -0.041978067684042, + -0.042063020272650645, + -0.04215315871160572, + -0.042248780095506096, + -0.04235019603439998, + -0.04245773303558157, + -0.04257173284841673, + -0.04269255276386289, + -0.042820565859412664, + -0.042956161179205934, + -0.04309974383802731, + -0.04325173503684623, + -0.043412571976477035, + -0.04358270765485389, + -0.04376261053235075, + -0.04395276404855476, + -0.044153665972954045, + -0.04436582757116206, + -0.04458977256761503, + -0.04482603588519158, + -0.04507516214197105, + -0.04533770388542851, + -0.04561421954482589, + -0.045905271083470714, + -0.046211421333951466, + -0.04653323100149666, + -0.0468712553233196, + -0.04722604037527457, + -0.047598119021427854, + -0.04798800650729282, + -0.048396195703529106, + -0.04882315201387958, + -0.04926930796900099, + -0.049735057536592436, + -0.050220750187752544, + -0.05072668476967237, + -0.05125310324541446, + -0.05180018437240639, + -0.05236803740209855, + -0.05295669589366088, + -0.053566111744228304, + -0.05419614954662038, + -0.05484658139219592, + -0.05551708224108724, + -0.056207225984028275, + -0.056916482318916745, + -0.05764421456076055, + -0.05838967849547131, + -0.05915202237591239, + -0.0599302881426581, + -0.06072341393220617, + -0.061530237912214535, + -0.062349503457192805, + -0.06317986564963335, + -0.06401989906163712, + -0.06486810674163092, + -0.06572293030083345, + -0.0665827609657994, + -0.0674459514377414, + -0.06831082837741567, + -0.06917570531705983, + -0.07003889578891169, + -0.07089872645372808, + -0.07175355001272263, + -0.07260175769245139, + -0.07344179110413478, + -0.0742721532962017, + -0.07509141884075547, + -0.07589824282029113, + -0.07669136860932123, + -0.07746963437550682, + -0.07823197825534894, + -0.07897744218942539, + -0.07970517443060308, + -0.08041443076479722, + -0.08110457450701944, + -0.08177507535517106, + -0.08242550719998964, + -0.08305554500161104, + -0.0836649608513975, + -0.08425361934217193, + -0.08482147237107238, + -0.0853685534972718, + -0.08589497197222343, + -0.08640090655335746, + -0.08688659920373885, + -0.0873523487705609, + -0.08779850472492423, + -0.08822546103452977, + -0.08863365023003586, + -0.08902353771518674, + -0.08939561636064328, + -0.08975040141191985, + -0.09008842573308357, + -0.09041023539998938, + -0.09071638564985111, + -0.09100743718789764, + -0.0912839528467177, + -0.09154649458961892, + -0.09179562084586318, + -0.0920318841629255, + -0.09225582915888504, + -0.09246799075662011, + -0.09266889268056669, + -0.09285904619633777, + -0.09303894907342102, + -0.09320908475140317, + -0.09336992169065761, + -0.09352191288911797, + -0.09366549554759805, + -0.09380109086706669, + -0.09392910396230789, + -0.09404992387746096, + -0.09416392369001793, + -0.09427146069093562, + -0.0943728766295793, + -0.09446849801324257, + -0.09455863645197313, + -0.0946435890403692, + -0.09472363876889348, + -0.09479905495807361, + -0.09487009370972467, + -0.09493699837003429, + -0.09499999999999964 + ], + "lo": [ + 0.0, + 3.9916300902784674e-21, + -1.2478834684695876e-20, + 1.1107444585502974e-20, + -1.5677515755624272e-20, + 4.4362355539011555e-21, + 1.4078806616546632e-20, + -9.954333338517371e-21, + 4.3352151803922035e-20, + -2.0618872533408127e-20, + -1.1575481962995868e-20, + -6.2292342656214656e-21, + -9.632768390712265e-20, + 1.0840183975927895e-19, + -2.7504692435412614e-21, + -3.545555804660559e-20, + 4.279923992512924e-20, + -7.347722649707069e-20, + -2.199127352657535e-20, + -1.2976687728256235e-19, + 1.4938523536251317e-19, + -1.4159940472494583e-19, + 1.5965006513528304e-19, + -1.948534339815535e-19, + -1.2115069489397006e-19, + 4.4584613721024145e-20, + 2.0527680433575725e-19, + 7.340957986534854e-20, + -3.6721431937153855e-19, + -2.2117639926035437e-19, + 1.5895033780148553e-19, + -2.1620113286888827e-21, + -4.160883153221055e-19, + 9.399333386702104e-20, + -4.1588169192557725e-19, + 8.368595290557355e-20, + 3.87905614546392e-20, + -5.377471997292349e-20, + -1.2302381697303346e-19, + 1.8704388339823747e-19, + -1.7342165695804746e-19, + -3.336195267111719e-19, + -6.5586813444011315e-19, + -8.069449688969391e-20, + 5.1187423659978474e-21, + -1.0266020123901921e-20, + -5.262528495901925e-19, + -3.2441304234847346e-19, + 7.059785552018588e-19, + -1.155954943486445e-21, + -6.941908929935585e-19, + 7.7295889324827125e-19, + 2.4523243099343952e-21, + -5.870226728197508e-20, + -2.3667314334799623e-19, + 3.8562184738798447e-19, + 9.690404989415564e-19, + 1.4360950809842677e-18, + -8.533712892292247e-19, + -1.6524253375707074e-18, + 4.314089395569728e-19, + -2.9208603834832113e-19, + 6.254383831907654e-20, + 1.4295755168823341e-18, + 1.1451877431002184e-18, + 9.346775015091369e-19, + -1.1085568907123985e-18, + 1.4079760019577337e-18, + -1.5275303523066578e-18, + -9.149785349630162e-19, + 1.117499638994808e-18, + -9.700195322940618e-19, + 1.8579909255173082e-19, + -1.3325121528793504e-18, + 3.639923303040917e-19, + 3.5132548403376693e-19, + 8.279721658037496e-19, + -7.499986197223239e-19, + 7.824465310374828e-19, + 4.968386210385364e-19, + 9.873966067684414e-19, + 1.1248479528776543e-18, + 1.7670558820944134e-19, + -1.1958265772211017e-18, + 4.473938548543033e-19, + -1.091795079555773e-18, + 2.7929582816942907e-18, + -2.6887815535619792e-18, + 1.120213302001e-18, + -7.379036786441195e-19, + 1.3429644118520615e-19, + -2.120474259670702e-18, + -2.4493559571140358e-18, + 2.3926988277112272e-18, + -1.0715604954120337e-18, + 1.8594668295322274e-18, + -1.9937211577625196e-18, + -1.1166258949429006e-18, + 2.5279531723944496e-18, + 1.4327764467800003e-18, + 2.0357460859399612e-18, + 3.355375678567225e-18, + 2.4744808456303573e-18, + -3.1486919832028315e-18, + 5.635760307233291e-19, + -2.2967186350751657e-18, + -3.2069974858503884e-18, + 1.222433466237948e-18, + 1.919520697622503e-18, + -2.7896729967428457e-18, + 1.883918578737063e-18, + 1.682607232855834e-18, + 1.0777561074669476e-18, + 6.403153018013368e-19, + 2.2834276739469886e-19, + -2.6184715191288266e-18, + -1.121306295542909e-18, + -2.2948819159603497e-18, + -4.959300675100336e-19, + 1.810052272287155e-18, + 5.271162986712167e-19, + -1.816620906072375e-18, + 6.817562423822713e-19, + 1.8871291151044922e-18, + -1.7352433620097416e-18, + 6.121012402137391e-19, + -4.82118568583134e-19, + 1.8733212004221605e-18, + 1.8281259010628783e-18, + -2.698939395624803e-18, + 2.655600970332892e-18, + 2.8474208781635803e-18, + 6.221027280491101e-19, + 2.852850272331734e-18, + -1.1474101374764893e-19, + -2.646704864406207e-19, + 1.7607228946998332e-18, + 2.4724127855732187e-18, + -9.871580795610696e-19, + 3.23965127954083e-18, + -2.209259386389089e-18, + 1.7441799295319783e-18, + 6.999968929772677e-19, + -2.9330329536757844e-18, + -1.6789981896853574e-18, + 1.1324974883736478e-18, + 2.4641998824256338e-18, + -3.044524918790807e-18, + -2.295131804027811e-18, + 1.9805876907518355e-18, + -1.526089833984241e-18, + -1.9470086387085755e-18, + 3.3856142981086075e-18, + -3.069360770370792e-18, + -2.8458445170478494e-18, + -8.4930065495263475e-19, + 1.2723886754163555e-18, + -3.1375447214929564e-18, + -2.1772129653638406e-18, + -1.8773334855354228e-18, + -1.8616634085518685e-18, + 4.916856742649595e-19, + -1.8761547266678454e-18, + -2.229865503002707e-18, + -2.164573574256671e-18, + 1.840834148474899e-18, + 3.0447380988871365e-18, + 2.885289039476014e-18, + -5.241270975115022e-19, + 1.2527516077128092e-18, + 2.6604982575798296e-18, + -2.4737212053480744e-18, + -3.0583429240543283e-18, + -2.3027006513814935e-18, + -2.0098120064708093e-18, + 2.99145683150974e-18, + -9.242350212486253e-19, + 1.4347403797397356e-18, + 2.8336470222316024e-18, + -7.9411072907893735e-19, + 6.253936285494373e-19, + 3.399767848923925e-18, + 1.2979969953161606e-18, + -1.6564312565414456e-18, + 3.207063061250257e-18, + 2.777735802276918e-18, + 6.568376536086006e-18, + 3.82048995509953e-19, + -6.234553148032932e-18, + -4.336167047088227e-18, + 5.3037317460137226e-18, + 2.3654310820114993e-18, + -3.4008850259734542e-18, + 4.876318022047987e-18, + 3.0942730885488572e-18, + -2.5546552754315308e-18, + -3.7216388383168995e-19, + -6.336863327524641e-18, + -3.9926405019694476e-18, + 4.13148011874031e-18, + -6.3799280241654015e-18, + -4.898200986077275e-18, + -1.3711691940622294e-18, + -1.4369857402845732e-18, + -4.5233115444254324e-18, + 3.554591712251654e-18, + 6.706746798637503e-18, + 2.198189215287431e-18, + 5.030638524587826e-18, + 5.267256188041875e-18, + -1.7080144540699632e-19, + -5.13945084755897e-18, + 1.921283556906596e-18, + -5.810002438083175e-19, + 2.9757315428723368e-18, + 1.5446414910897182e-18, + 2.7611187826164517e-18, + -2.4086918180921483e-18, + 6.482776715986373e-18, + -6.597784664165699e-18, + -3.700299753821615e-18, + 4.577795535538422e-18, + -5.040542264091187e-18, + -5.370958249497105e-18, + 4.906731740376032e-18, + -5.441567325072713e-18, + -2.9004358149566476e-18, + -2.179535226055311e-18, + -1.5313598208778363e-18, + 1.9932904879306827e-19, + 5.66504560610908e-18, + 5.711919800517945e-18, + 5.353375021281389e-18, + 1.763367506646662e-19, + -3.756459683734549e-18, + 2.000701170394575e-18, + -2.2342656856956215e-18, + -6.5607282666461366e-18, + 4.808488694586521e-19, + 5.90303651383895e-18, + -6.0863605368447264e-18, + 2.492538781495367e-18, + 2.682606764385686e-18, + -5.857097418262045e-18, + -5.804179314426872e-18, + -6.335882059493264e-19, + 6.048642816347669e-18, + 4.669185020482833e-18, + -1.1359986834395104e-18, + 5.206843028286987e-18, + -2.9098299391379237e-18, + -8.928493868012547e-19, + 3.917731366468633e-18, + -1.6094298531541236e-18, + 4.922525656008512e-18, + 0.0 + ] + }, + "poisson_residual_C_m2": { + "hi": [ + -7.00153822708525e-37, + -3.9966807927957775e-37, + 3.0268979533673903e-37, + 1.3040640454434752e-37, + 1.3224311446750734e-38, + -3.2473031441465692e-37, + 1.7926288850039884e-36, + -2.7403712053544578e-36, + 1.9388309948875105e-36, + -5.664413403024898e-37, + 4.231779662960235e-37, + -9.639053676742758e-37, + 7.581938562803754e-37, + 4.349329098042464e-37, + -5.421967693167801e-37, + -9.874152546907215e-37, + 8.757432913626042e-37, + 1.0256188210924459e-36, + -1.6030804209338946e-36, + 8.05213630313267e-37, + -2.4685381367268038e-36, + 3.417749825015801e-36, + 2.9387358770557188e-37, + -2.6360460817189797e-36, + -9.6096663179722e-37, + 5.183930087126288e-36, + -2.7330243656618185e-36, + -2.0776862650783932e-36, + 3.029836689244446e-36, + -2.5978425153172554e-36, + 7.875812150509326e-37, + 1.725037959831707e-36, + -1.672140714044704e-36, + 7.170515540015954e-37, + -4.2170859835749564e-37, + -2.350988701644575e-38, + 6.318282135669795e-37, + -4.1142302278780063e-38, + -1.0021089340760001e-36, + 1.600141685056839e-36, + -1.1372907844205632e-36, + -1.1167196332811731e-36, + 9.257018012725514e-37, + 1.8220162437745456e-37, + -1.808057248358531e-36, + 4.674059412457121e-36, + -6.171345341817009e-37, + -5.277969635192071e-36, + 9.492116882889972e-37, + 2.4920480237432495e-36, + 9.962314623218887e-37, + -1.2989212576586277e-36, + -1.1416988882361467e-36, + 1.0777813829101849e-36, + 2.6786577519362877e-36, + -7.054435472872253e-36, + 6.759092517228153e-36, + -1.9395656788567744e-37, + -3.029836689244446e-36, + -5.260337219929737e-37, + 1.8528729704836307e-36, + 2.4406201458947744e-36, + -2.8689408999756454e-36, + -5.2113042396295066e-36, + 6.477708557000068e-36, + -4.3192070553026427e-36, + 6.836601675985498e-36, + -5.9597563586689977e-36, + 7.23516772931118e-36, + -8.497354788506611e-36, + 4.564591501036795e-36, + -6.277139833391015e-36, + 8.692780724330816e-36, + -8.581108761002699e-37, + -6.760561885166681e-36, + 7.999239057345666e-36, + -7.326268541499907e-36, + 6.319751503608323e-36, + -7.217535314048845e-36, + 7.946341811558664e-36, + -4.713732346797373e-36, + 6.13020303953823e-36, + -1.2201631361535344e-35, + 8.063891246640892e-36, + -2.151154662004786e-36, + 8.243154135141291e-36, + -1.3876710811457104e-35, + 1.2095836869961338e-35, + -9.127713634135062e-36, + 2.1126572220153562e-35, + -3.4029092088366695e-35, + 3.3101920919155616e-35, + -3.136365864787716e-35, + -5.9186140563902176e-36, + 3.965530192498987e-35, + -2.3692088640823205e-35, + 2.982523041623849e-35, + -5.573606464423876e-35, + 4.7187281977883676e-35, + -2.657792727209192e-35, + -1.6599449601549227e-35, + 5.066086778456354e-35, + -2.2064028964934337e-35, + 2.3210135956986067e-35, + -1.9472063921371193e-35, + -9.130652370012118e-36, + -3.385423730368188e-36, + -1.1170869752658051e-35, + 1.0890955160368494e-35, + -5.701147601488094e-37, + 2.902148615386375e-35, + -2.199937677563911e-35, + 1.4164706927408564e-36, + -1.4399805797573022e-36, + 4.046639302705725e-36, + 5.145138773549152e-35, + -1.0177650494610144e-34, + -4.7032263660368987e-35, + 1.8880496389319876e-34, + -9.351351434379003e-35, + 1.92193326359444e-36, + -2.335633806686959e-35, + 1.1990042378387333e-36, + 6.780471820733734e-35, + -6.432011214111852e-35, + 3.677681013341379e-35, + -1.342545734838166e-35, + -1.6822420843350045e-34, + 1.6690472703474826e-34, + -2.844086644852717e-35, + 1.0624134312901931e-34, + 2.3335697633908397e-35, + -1.8122073275120494e-34, + 8.140591567880847e-35, + -1.922524712801147e-36, + -6.398929226464476e-35, + 1.2476296922548542e-34, + -7.156150611900005e-35, + -8.126127314441756e-35, + 1.1962867357425377e-34, + 1.2078516949861742e-35, + -9.867578144582803e-35, + 8.852216267285355e-35, + -2.535973356653612e-35, + -3.1648587795567e-35, + 1.5771673105707994e-35, + 2.0038892324963624e-35, + -2.914954900767609e-35, + 1.7747503484239545e-35, + 3.8483293074689704e-35, + -9.947394049905658e-35, + 9.000675269984149e-35, + -1.459659796484918e-35, + -3.047137543896773e-35, + -3.674745805789348e-36, + 4.884155075767882e-35, + -2.7059424904796023e-35, + -1.8416743095921586e-35, + 1.3152562717366138e-35, + -2.829768157064077e-36, + -1.8519690362221456e-35, + 3.618412559727743e-35, + -3.7315133974504274e-36, + -9.5685827880778e-36, + -2.752006424007415e-36, + 1.1461395765456396e-35, + -2.602900921836116e-35, + 1.8030382613890766e-35, + 8.255303244552094e-36, + -2.915299272921799e-35, + 4.3486727279062305e-35, + -2.9754765840237004e-35, + 2.3456093155397752e-36, + -2.076044249949089e-36, + -1.0931909075584976e-36, + 1.3557041055166424e-35, + -1.4380840970400732e-35, + 1.5076733664535105e-35, + -7.74612286141749e-36, + 1.7943188316841103e-36, + -1.5554653461926242e-36, + -8.424572725628965e-36, + 1.643486523550822e-35, + -4.3825467028565514e-36, + 4.8639861495594704e-36, + -2.561857655699002e-35, + 2.6109193065576013e-35, + 1.6398157574266064e-38, + -2.1315676207852637e-35, + 4.9450585548154714e-36, + 4.278869455104216e-36, + 1.0156908005903964e-35, + -2.062028758398215e-35, + 1.830754129436393e-35, + -3.545142625491908e-36, + -1.6862603386571585e-35, + 2.2852313748034552e-35, + 1.7642704714508628e-37, + 4.214833670378776e-36, + -4.2073866223550207e-35, + 5.146517514948635e-35, + -2.110310378453098e-35, + -1.6656617743811858e-35, + 6.0061404627907034e-36, + 1.0519212883858824e-35, + 3.1365387421855554e-35, + -1.215700576124446e-35, + -2.680441873263967e-35, + -1.4324880033773e-35, + 4.5381843170831163e-35, + -4.2863741406579254e-35, + 1.1422399619213218e-35, + 2.3424959793629443e-36, + 1.7616468394495995e-35, + -3.0212645194858956e-35, + 5.044908152715415e-35, + -1.1900636759113014e-35, + -5.694897880035657e-35, + 3.2255430559071337e-35, + -3.899448041445137e-35, + 1.2794699818043376e-34, + -1.495403488434236e-34, + 1.1365196878907651e-34, + -2.176703310786933e-35, + -1.015761175251035e-34, + 8.728867063381738e-35, + 8.052655537777788e-36, + -3.507659966283572e-35, + 2.5889322070998917e-35, + -7.694974340257657e-35, + 1.9189737828291095e-34, + -2.0031108289269366e-34, + 1.2566925961775718e-34, + -8.341492736322659e-35, + -4.1201203206802944e-35, + 2.0166044207991963e-34, + -2.0508007309062795e-34, + -3.661491791216996e-35, + 2.7244998422333208e-34, + -2.7064227890333313e-34, + 2.296914768091642e-34, + -2.67693275639835e-34, + 1.259188726889408e-34, + 1.5190618138604233e-34, + -2.28223613612734e-34, + 1.7935462719454512e-34, + -3.2630963562201355e-35, + -2.473632394994643e-34, + 4.049438470509961e-34, + -1.9087024762709416e-34, + -1.0841426283243412e-35, + -4.3825293968940523e-35, + 9.719362192077218e-35, + -1.2705898654666117e-34 + ], + "lo": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 2.1382117680737565e-50, + 2.1382117680737565e-50, + -1.0691058840368783e-50, + 0.0, + 0.0, + 0.0, + -8.018294130276587e-51 + ] + }, + "positive_flux_m2_s": { + "hi": [ + -381222027771.3114, + -1167794986211.3992, + -2003411257139.8113, + -2890778288448.403, + -3832674783413.8633, + -4831934376019.855, + -5891424535725.676, + -7014019863248.953, + -8202568878754.215, + -9459853325703.88, + -10788538982241.096, + -12191116960276.926, + -13669834531353.568, + -15226614646050.73, + -16862963544969.943, + -18579866234428.688, + -20377670135077.73, + -22255957961313.934, + -24213411877081.227, + -26247672222247.996, + -28355195638422.363, + -30531119204411.24, + -32769139176450.055, + -35061414995077.926, + -37398511180205.36, + -39769391308339.69, + -42161479108559.48, + -44560801352041.23, + -46952225195155.555, + -49319798482426.57, + -51647194895038.51, + -53918256665988.055, + -56117616194058.76, + -58231365155559.266, + -60247727126085.055, + -62157679341752.78, + -63955463483880.03, + -65638926594799.914, + -67209643121420.14, + -68672788005599.31, + -70036757219672.53, + -71312562715722.88, + -72513058309048.94, + -73652075819372.19, + -74743561872674.95, + -75800802380292.81, + -76835804312067.33, + -77858876706066.27, + -78878420987906.16, + -79900911322833.4, + -80931024375372.64, + -81971867379328.81, + -83025253682372.94, + -84091983336496.06, + -85172099033773.58, + -86265101001735.08, + -87370115654338.4, + -88486020519352.27, + -89611532127862.69, + -90745264828769.75, + -91885767829733.1, + -93031546014119.84, + -94181067799648.23, + -95332760729295.86, + -96484992603827.72, + -97636032665194.53, + -98783983570063.98, + -99926670901007.38, + -101061473499055.06, + -102185076377133.11, + -103293130422982.9, + -104379811767421.14, + -105437290251602.11, + -106455140829194.53, + -107419761166389.56, + -108313887179279.44, + -109116317372750.64, + -109801958005795.67, + -110342278401490.9, + -110706218836844.77, + -110861528879091.19, + -110776444156263.92, + -110421549368127.05, + -109771638252201.42, + -108807375186870.53, + -107516588647292.39, + -105895077317066.56, + -103946874071054.66, + -101683978663911.22, + -99125625905388.98, + -96297195235913.58, + -93228887225644.38, + -89954293823162.34, + -86508976076184.61, + -82929140638064.1, + -79250479808857.66, + -75507213354587.19, + -71731346922192.94, + -67952143163273.73, + -64195788290144.47, + -60485228438616.92, + -56840146175337.4, + -53277046802036.71, + -49809425758737.55, + -46447991581026.2, + -43200922729696.94, + -40074140725581.93, + -37071585924050.73, + -34195485853761.414, + -31446609034878.973, + -28824499749054.902, + -26327691196100.97, + -23953895993645.758, + -21700174108054.72, + -19563079068408.133, + -17538783833970.658, + -15623187995865.963, + -13812008117693.69, + -12100853093329.248, + -10485286301368.365, + -8960876286001.748, + -7523237536249.107, + -6168062803219.889, + -4891148224602.343, + -3688412411736.506, + -2555910481897.3203, + -1489843892063.6946, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "lo": [ + -1.1801223765381459e-05, + 6.76989667023999e-05, + 8.253038154846685e-05, + 5.679132528270675e-05, + -7.057834532440522e-05, + -8.506841500181734e-05, + -9.272325011286153e-05, + -0.0002299312457578924, + 0.00046190602702700237, + -0.0007266450339661302, + 0.0005561964394159012, + -0.0009743217484019244, + -0.00019605776325069596, + 0.0001478944389505814, + -0.0008878709066919459, + -0.0013196015753409063, + -0.0005032685500890573, + 0.00037078121847685427, + -4.0461857546718306e-05, + -0.00084467246138836, + -7.012872659604587e-06, + -0.0015774706842178947, + 0.00022777916279666672, + -0.0010677537163271134, + 0.00357952932918763, + 0.0038210988202051007, + 0.0029345767185522884, + -0.0015835805791700299, + -1.7213565655135094e-05, + -0.0014969435819885406, + -0.0026968905568619736, + -0.002301893195303925, + 0.0008547567150326632, + -0.0019826705867012724, + 0.0031348902246352587, + 0.0002347733165608249, + 0.003605108612218087, + -0.0005087059505444583, + 0.003661546408250139, + 0.001531722226049333, + 0.0033954695874099574, + -0.004773969341273609, + -0.00568211067457652, + 0.00531726191358621, + 0.006730359448391522, + 0.002468613764164386, + -0.005750870395636397, + 0.0009737116041485679, + -0.0006572502472588797, + 0.001078671984676787, + -0.0022977226263051075, + -0.005378553877645669, + 0.007577703765757126, + 0.0011643128418439006, + -0.0037350737789204995, + 0.0021892105426965978, + 0.002339116110602879, + 0.00674516193619064, + 0.0007917321427521397, + -0.005246672287978569, + 0.005346426867675094, + -0.0019069045281564327, + -0.0057544895133352005, + 0.0022749376193224426, + -0.002522327476937828, + -0.0078035646761405045, + -0.00019339532848228465, + -0.006577880169350991, + 0.006490960969488902, + 0.003070499905268363, + 0.002278530957218399, + -0.0074441303469193944, + 0.00286080728362121, + 0.007681651804591922, + -0.005329944062741747, + -0.0020490919480812345, + 0.003538284541345334, + 0.006729482942865895, + -0.0043466321072853165, + -0.0011152330289602367, + 0.007033136332818126, + -0.003785723237062514, + 0.0015605559551592936, + -0.007333503423149007, + -0.007695120642387003, + 0.0011374217087631638, + 0.006964178732277296, + 0.006419311454012099, + -0.005880458049613294, + 0.0070101097385344546, + -0.0019500210247567918, + 0.0019176061068528162, + -0.0036804839515789966, + -0.003144591450787421, + 0.006582034946424429, + 0.0007343024029162846, + 0.0033257867707742338, + 0.002236392377204856, + -0.003414074795376691, + 0.0002813216480357835, + 0.0011391608370399822, + -0.0029033677912238508, + 0.00043307484290226956, + -0.0031035801050286467, + 0.0036833819602161474, + -0.002956270191473752, + 0.00017207052868560568, + -0.003436240392579396, + 0.00021451823484246822, + 0.00011131902255078444, + 0.0019026485518902744, + -0.0006130448281970021, + 0.00019594526023822447, + -0.0018115949900187425, + 0.0010549940666717615, + -0.0007760411200191317, + -0.0007413632322259866, + 0.0006202324183671174, + -0.0007807101669304183, + 0.0004106088208188315, + 0.0004564933215830096, + -0.0003062168728288517, + 9.053187515957832e-05, + 0.00016349674385095718, + 7.152356500501543e-05, + -0.00013826478896155516, + -4.073481842872579e-05, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + }, + "positive_rate_m3_s": { + "hi": [ + 6.459832946847956e+21, + 6.464038233628723e+21, + 6.466972433086449e+21, + 6.468362447219841e+21, + 6.467896648227982e+21, + 6.465220914737208e+21, + 6.459934621296682e+21, + 6.45158656336531e+21, + 6.439671079619055e+21, + 6.423624467436148e+21, + 6.402821988450901e+21, + 6.376575721125944e+21, + 6.344133676961864e+21, + 6.304680630009602e+21, + 6.257341200289123e+21, + 6.201185856604431e+21, + 6.135240543403607e+21, + 6.058500737822189e+21, + 5.969950765369973e+21, + 5.868589168254388e+21, + 5.753460858109314e+21, + 5.623696543804275e+21, + 5.478559598311418e+21, + 5.317500009381936e+21, + 5.14021434361997e+21, + 4.946709720557781e+21, + 4.737368719763204e+21, + 4.513010863078614e+21, + 4.2749450958865726e+21, + 4.025006571062705e+21, + 3.765570334611549e+21, + 3.499534490897874e+21, + 3.2302663709921205e+21, + 2.9615074227985045e+21, + 2.697236091808217e+21, + 2.4414927533605304e+21, + 2.19817640794363e+21, + 1.9708285491581343e+21, + 1.7624243358771784e+21, + 1.5751937291410405e+21, + 1.410494528935964e+21, + 1.2687547084782182e+21, + 1.1494932780712479e+21, + 1.051418279694336e+21, + 9.725893498197187e+20, + 9.10622944883273e+20, + 8.629128933147097e+20, + 8.268386375730624e+20, + 7.999382794435949e+20, + 7.800319720045706e+20, + 7.652910961413837e+20, + 7.542576618548662e+20, + 7.458247017434938e+20, + 7.391912906283867e+20, + 7.338054763760052e+20, + 7.293058240281277e+20, + 7.254686848420311e+20, + 7.221647841999205e+20, + 7.193259469774346e+20, + 7.169209845209057e+20, + 7.149388606150239e+20, + 7.133769639877074e+20, + 7.122323359405286e+20, + 7.114937776304283e+20, + 7.111327137664772e+20, + 7.110904481426428e+20, + 7.11259033811511e+20, + 7.114525569117117e+20, + 7.113654903019907e+20, + 7.105153453876322e+20, + 7.081686406486308e+20, + 7.032526008304305e+20, + 6.942600474664457e+20, + 6.791610408652973e+20, + 6.553406156780645e+20, + 6.195854393827363e+20, + 5.68141296299507e+20, + 4.968565852751884e+20, + 4.01414569857041e+20, + 2.7764093780062054e+20, + 1.218568434817794e+20, + -6.876476846939744e+19, + -2.9588668296343506e+20, + -5.597817809970523e+20, + -8.592248933713049e+20, + -1.1915151001591805e+21, + -1.5526224209177414e+21, + -1.937436426714224e+21, + -2.3400833086242709e+21, + -2.7542735280215787e+21, + -3.173643976963249e+21, + -3.592065062206688e+21, + -4.003892232816456e+21, + -4.404151184133067e+21, + -4.788654759202227e+21, + -5.154056394624735e+21, + -5.497849528721501e+21, + -5.818324707065192e+21, + -6.11449664780913e+21, + -6.386012686017532e+21, + -6.633052390923686e+21, + -6.856226126226298e+21, + -7.056478242534089e+21, + -7.234998732557979e+21, + -7.393145513377599e+21, + -7.532378305915405e+21, + -7.65420406184593e+21, + -7.760133363085172e+21, + -7.851646653802061e+21, + -7.93016919515123e+21, + -7.99705332099894e+21, + -8.053566790444486e+21, + -8.10088606581728e+21, + -8.140093417905444e+21, + -8.172177002928132e+21, + -8.198033128436283e+21, + -8.218470048421888e+21, + -8.234212869874141e+21, + -8.245909001684417e+21, + -8.254134057568062e+21, + -8.259397771041716e+21, + -8.262149871352023e+21, + -8.262785732934798e+21, + -8.261651828110396e+21, + -8.259050728311888e+21, + -8.255245795613492e+21, + -8.250465540395724e+21, + -8.244907574617994e+21, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "lo": [ + -32539.579774531103, + 120687.5687467924, + 359925.5701137283, + -442079.52603120054, + -22410.95482810926, + -44791.14810786269, + -54087.021936982535, + 200270.8943418388, + 28211.981218912617, + 125002.96797511414, + -92753.29747035376, + 22053.4639659274, + -241391.5905202876, + 244144.28710012688, + 98675.25698797789, + 1302.3399400801084, + -73372.67980399224, + 14452.299989956382, + 399481.776736798, + 360825.62768262567, + -161481.2561592999, + -430733.6383067392, + 242728.77026871935, + -13372.679644922568, + -172864.27671681537, + -103592.82723939812, + -364014.8441175718, + 207932.56150132147, + 85912.28339646634, + -209242.10541513696, + 242057.86475724305, + -88340.36521001393, + -150074.57728145647, + -11050.712881112868, + 21274.410069451747, + 137431.04411883745, + -19968.768091943788, + -130335.41509881783, + 90783.97203621254, + 85854.54750232131, + -38504.19857633326, + -10483.457632494476, + -2152.833501679716, + 9222.873008839872, + 18526.415536230757, + -49330.46428767727, + -16629.716205089317, + -39140.766244821505, + 46770.00803050237, + 15280.16572171451, + -27400.175623147134, + 40674.19589338003, + -43399.83753279981, + -29402.386002410098, + 45825.78099057965, + -1227.8589505083012, + -64757.54250787327, + -10985.422159257783, + 58839.420840943974, + -28861.450636445446, + -9507.45516188609, + -18404.159710668588, + 52343.697938119934, + 34794.1924688237, + 25217.86935325371, + 11056.502291527444, + -28256.08824518611, + 16447.94464674764, + -52152.969560268466, + 58475.22551504173, + -41503.25291594728, + 6820.598563708666, + 13409.283157829554, + 32390.197373550927, + 51324.993183532024, + 17012.747681574867, + -25390.133705272172, + -27691.0484583204, + 15651.517309666988, + -9997.340269482802, + 6507.608780920425, + 2347.8040329133382, + -18181.743474382423, + 4744.577065575649, + 15767.552609619563, + -2650.091079996192, + -117688.49565708736, + -93403.2305836203, + -95388.67961406101, + -210565.81723798942, + -190957.6560519581, + 209068.57585911796, + 196371.73407796177, + -12291.637199224942, + 488095.0324063036, + 4492.594334034526, + -399558.26798254653, + -14582.559640721973, + 423354.7505931829, + -102777.41665266483, + -320124.06219891005, + 436391.4562761731, + 156694.58702288347, + 380638.19791695976, + -213954.53969175252, + -171084.809605751, + -319363.94930187875, + 133073.68979828156, + -429693.1745566131, + 244084.1495575157, + -338012.8446027744, + 7262.533960027685, + 144004.1755308667, + -288048.8305024718, + -121056.39254788091, + -480156.74997397186, + -309754.77901683195, + -23737.40702924914, + 405444.8976069415, + -291374.5846254169, + 288383.63015252573, + 78943.56926080925, + 165094.5473141614, + 271668.45336617646, + 10459.236669681013, + 14344.275498743324, + 186289.39242239928, + -79533.38845786935, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + } + }, + "fields_sha256": "425f86d1c93b9381f3f677d62420217048d4ca1f726a00b29ef66646ffa353ae", + "inputs": { + "coefficients": { + "boundary_flux_m2_s": { + "hi": [ + 0.0, + 0.0 + ], + "lo": [ + 0.0, + 0.0 + ] + }, + "control_volume_width_m": [ + 5.901422388288336e-11, + 1.2168445327999375e-10, + 1.2921290133435793e-10, + 1.3718573109489092e-10, + 1.456263985330553e-10, + 1.5455923405930657e-10, + 1.6400942452466372e-10, + 1.7400298616433713e-10, + 1.8456672721482707e-10, + 1.9572819882658635e-10, + 2.0751563278408056e-10, + 2.1995786443639556e-10, + 2.330842391367742e-10, + 2.4692450039214606e-10, + 2.615086578375502e-10, + 2.768668330800304e-10, + 2.930290814077334e-10, + 3.1002518733890237e-10, + 3.2788443199932904e-10, + 3.4663533037393737e-10, + 3.6630533658778285e-10, + 3.869205155434871e-10, + 4.0850517948706975e-10, + 4.310814884031017e-10, + 4.546690135652088e-10, + 4.79284264100096e-10, + 5.049401770735207e-10, + 5.316455723851334e-10, + 5.594045746728763e-10, + 5.882160054824251e-10, + 6.180727501540692e-10, + 6.489611052145571e-10, + 6.808601135253143e-10, + 7.137408960140655e-10, + 7.47565990478061e-10, + 7.822887096588038e-10, + 8.178525325040014e-10, + 8.54190544194725e-10, + 8.912249420559998e-10, + 9.288666258067398e-10, + 9.670148916509131e-10, + 1.005557250369215e-09, + 1.0443693897370093e-09, + 1.0833153011705004e-09, + 1.1222475893912312e-09, + 1.1610079820176118e-09, + 1.1994280532751899e-09, + 1.23733017242863e-09, + 1.2745286830742073e-09, + 1.3108313141313866e-09, + 1.3460408173217914e-09, + 1.3799568192605954e-09, + 1.4123778691985396e-09, + 1.443103656181209e-09, + 1.4719373622173193e-09, + 1.4986881112844911e-09, + 1.523173467982208e-09, + 1.5452219347003404e-09, + 1.5646753926224425e-09, + 1.5813914299979714e-09, + 1.5952455011079117e-09, + 1.6061328613443997e-09, + 1.6139702278616839e-09, + 1.6186971212639917e-09, + 1.6202768516007768e-09, + 1.6186971212639917e-09, + 1.6139702278616839e-09, + 1.6061328613443997e-09, + 1.5952455011079117e-09, + 1.5813914299979714e-09, + 1.5646753926224425e-09, + 1.5452219347003404e-09, + 1.523173467982208e-09, + 1.4986881112844845e-09, + 1.4719373622173193e-09, + 1.4431036561812155e-09, + 1.4123778691985462e-09, + 1.379956819260592e-09, + 1.346040817321788e-09, + 1.31083131413138e-09, + 1.2745286830742205e-09, + 1.2373301724286366e-09, + 1.19942805327517e-09, + 1.1610079820176184e-09, + 1.1222475893912378e-09, + 1.083315301170507e-09, + 1.0443693897369927e-09, + 1.0055572503692116e-09, + 9.670148916509198e-10, + 9.288666258067464e-10, + 8.91224942055985e-10, + 8.541905441947299e-10, + 8.178525325039981e-10, + 7.822887096588004e-10, + 7.475659904780676e-10, + 7.137408960140556e-10, + 6.808601135253242e-10, + 6.48961105214567e-10, + 6.180727501540659e-10, + 5.882160054824152e-10, + 5.59404574672873e-10, + 5.316455723851383e-10, + 5.049401770735323e-10, + 4.792842641000936e-10, + 4.546690135651964e-10, + 4.3108148840310337e-10, + 4.0850517948706727e-10, + 3.869205155434962e-10, + 3.663053365877845e-10, + 3.4663533037393406e-10, + 3.278844319993274e-10, + 3.1002518733890444e-10, + 2.930290814077417e-10, + 2.7686683308002504e-10, + 2.6150865783754524e-10, + 2.46924500392156e-10, + 2.3308423913676347e-10, + 2.1995786443640466e-10, + 2.0751563278407477e-10, + 1.9572819882657477e-10, + 1.845667272148283e-10, + 1.740029861643485e-10, + 1.6400942452466144e-10, + 1.545592340593227e-10, + 1.4562639853305157e-10, + 1.3718573109488172e-10, + 1.2921290133435225e-10, + 1.8069867716288167e-10, + 1.8069867716288167e-10, + 1.2921290133435225e-10, + 1.3718573109489495e-10, + 1.4562639853305157e-10, + 1.5455923405930946e-10, + 1.6400942452466144e-10, + 1.740029861643485e-10, + 1.845667272148283e-10, + 1.9572819882657477e-10, + 2.0751563278407477e-10, + 2.1995786443640466e-10, + 2.3308423913676347e-10, + 2.46924500392156e-10, + 2.6150865783754524e-10, + 2.7686683308002504e-10, + 2.930290814077417e-10, + 3.1002518733890444e-10, + 3.278844319993274e-10, + 3.4663533037393406e-10, + 3.663053365877845e-10, + 3.8692051554348296e-10, + 4.085051794870805e-10, + 4.3108148840310337e-10, + 4.5466901356520963e-10, + 4.792842641000936e-10, + 5.04940177073519e-10, + 5.316455723851383e-10, + 5.59404574672873e-10, + 5.882160054824152e-10, + 6.180727501540659e-10, + 6.48961105214567e-10, + 6.808601135253109e-10, + 7.137408960140689e-10, + 7.475659904780676e-10, + 7.822887096588004e-10, + 8.178525325039981e-10, + 8.541905441947299e-10, + 8.91224942055985e-10, + 9.288666258067464e-10, + 9.670148916509198e-10, + 1.0055572503692116e-09, + 1.0443693897370192e-09, + 1.0833153011704673e-09, + 1.122247589391251e-09, + 1.1610079820176184e-09, + 1.1994280532751965e-09, + 1.2373301724286234e-09, + 1.2745286830741808e-09, + 1.3108313141314065e-09, + 1.346040817321788e-09, + 1.3799568192606186e-09, + 1.412377869198533e-09, + 1.4431036561812023e-09, + 1.4719373622173193e-09, + 1.4986881112844977e-09, + 1.523173467982208e-09, + 1.545221934700314e-09, + 1.564675392622469e-09, + 1.5813914299979515e-09, + 1.5952455011079183e-09, + 1.606132861344413e-09, + 1.6139702278616839e-09, + 1.6186971212639851e-09, + 1.6202768516007636e-09, + 1.6186971212639851e-09, + 1.6139702278616839e-09, + 1.606132861344413e-09, + 1.5952455011079183e-09, + 1.5813914299979515e-09, + 1.564675392622469e-09, + 1.545221934700314e-09, + 1.523173467982208e-09, + 1.4986881112844977e-09, + 1.4719373622173193e-09, + 1.4431036561812023e-09, + 1.412377869198533e-09, + 1.3799568192606186e-09, + 1.346040817321788e-09, + 1.31083131413138e-09, + 1.2745286830742073e-09, + 1.2373301724286234e-09, + 1.1994280532751965e-09, + 1.1610079820176184e-09, + 1.122247589391251e-09, + 1.0833153011704673e-09, + 1.0443693897370192e-09, + 1.0055572503692116e-09, + 9.670148916509198e-10, + 9.288666258067464e-10, + 8.91224942055985e-10, + 8.541905441947299e-10, + 8.178525325039848e-10, + 7.822887096588137e-10, + 7.475659904780676e-10, + 7.137408960140821e-10, + 6.808601135253109e-10, + 6.489611052145538e-10, + 6.180727501540659e-10, + 5.882160054824152e-10, + 5.59404574672873e-10, + 5.316455723851383e-10, + 5.04940177073519e-10, + 4.7928426410012e-10, + 4.5466901356518316e-10, + 4.3108148840310337e-10, + 4.0850517948706727e-10, + 3.869205155434962e-10, + 3.6630533658779774e-10, + 3.4663533037392083e-10, + 3.278844319993274e-10, + 3.1002518733890444e-10, + 2.930290814077152e-10, + 2.768668330800515e-10, + 2.6150865783754524e-10, + 2.46924500392156e-10, + 2.3308423913676347e-10, + 2.1995786443639143e-10, + 2.0751563278407477e-10, + 1.95728198826588e-10, + 1.845667272148283e-10, + 1.740029861643485e-10, + 1.6400942452466144e-10, + 1.545592340593227e-10, + 1.4562639853305157e-10, + 1.3718573109489495e-10, + 1.29212901334339e-10, + 1.2168445327999169e-10, + 5.901422388288999e-11 + ], + "equilibrium_occupancy": [ + 7.928011033749389e-05 + ], + "grid_spacing_m": [ + 1.180284477657667e-10, + 1.2534045879422085e-10, + 1.33085343874495e-10, + 1.412861183152869e-10, + 1.4996667875082363e-10, + 1.591517893677896e-10, + 1.6886705968153773e-10, + 1.7913891264713654e-10, + 1.899945417825178e-10, + 2.0146185587065489e-10, + 2.1356940969750602e-10, + 2.2634631917528552e-10, + 2.398221590982629e-10, + 2.5402684168602837e-10, + 2.6899047398907245e-10, + 2.847431921709884e-10, + 3.013149706444784e-10, + 3.1873540403332673e-10, + 3.370334599653301e-10, + 3.5623720078254464e-10, + 3.7637347239302107e-10, + 3.9746755869395394e-10, + 4.195428002801864e-10, + 4.426201765260154e-10, + 4.66717850604403e-10, + 4.918506775957899e-10, + 5.180296765512515e-10, + 5.45261468219016e-10, + 5.735476811267349e-10, + 6.028843298381153e-10, + 6.33261170470023e-10, + 6.646610399590928e-10, + 6.970591870915358e-10, + 7.30422604936592e-10, + 7.6470937601953e-10, + 7.998680432980791e-10, + 8.358370217099236e-10, + 8.725440666795263e-10, + 9.099058174324767e-10, + 9.478274341809963e-10, + 9.862023491208366e-10, + 1.02491215161759e-09, + 1.0638266278564286e-09, + 1.1028039744845689e-09, + 1.1416912042978935e-09, + 1.18032475973733e-09, + 1.2185313468130496e-09, + 1.2561289980442137e-09, + 1.2929283681042009e-09, + 1.3287342601585724e-09, + 1.3633473744850104e-09, + 1.3965662640361804e-09, + 1.4281894743608988e-09, + 1.458017838001519e-09, + 1.4858568864331195e-09, + 1.5115193361358627e-09, + 1.5348275998285534e-09, + 1.5556162695721207e-09, + 1.5737345156727642e-09, + 1.589048344323185e-09, + 1.6014426578926383e-09, + 1.6108230647961677e-09, + 1.6171173909272e-09, + 1.6202768516007768e-09, + 1.6202768516007768e-09, + 1.6171173909272e-09, + 1.6108230647961677e-09, + 1.6014426578926383e-09, + 1.589048344323185e-09, + 1.5737345156727576e-09, + 1.5556162695721274e-09, + 1.5348275998285534e-09, + 1.5115193361358627e-09, + 1.4858568864331195e-09, + 1.458017838001519e-09, + 1.4281894743608988e-09, + 1.3965662640361804e-09, + 1.363347374485017e-09, + 1.3287342601585591e-09, + 1.292928368104214e-09, + 1.2561289980442137e-09, + 1.2185313468130463e-09, + 1.1803247597373201e-09, + 1.1416912042979035e-09, + 1.1028039744845722e-09, + 1.0638266278564286e-09, + 1.0249121516175833e-09, + 9.862023491208399e-10, + 9.478274341809997e-10, + 9.099058174324667e-10, + 8.725440666795296e-10, + 8.35837021709917e-10, + 7.998680432980791e-10, + 7.64709376019535e-10, + 7.304226049365871e-10, + 6.970591870915374e-10, + 6.646610399590977e-10, + 6.33261170470023e-10, + 6.028843298381087e-10, + 5.735476811267349e-10, + 5.452614682190243e-10, + 5.180296765512524e-10, + 4.91850677595799e-10, + 4.667178506043882e-10, + 4.4262017652601787e-10, + 4.1954280028018887e-10, + 3.9746755869394567e-10, + 3.763734723930335e-10, + 3.5623720078253554e-10, + 3.370334599653326e-10, + 3.187354040333354e-10, + 3.0131497064447345e-10, + 2.8474319217098343e-10, + 2.689904739890799e-10, + 2.540268416860238e-10, + 2.398221590982617e-10, + 2.2634631917529172e-10, + 2.1356940969750437e-10, + 2.0146185587064517e-10, + 1.899945417825176e-10, + 1.7913891264713902e-10, + 1.6886705968154476e-10, + 1.5915178936779136e-10, + 1.4996667875082756e-10, + 1.4128611831527558e-10, + 1.330853438745011e-10, + 1.2534045879421663e-10, + 2.3605689553153347e-10, + 1.2534045879421663e-10, + 1.330853438745011e-10, + 1.4128611831528881e-10, + 1.4996667875081432e-10, + 1.5915178936779136e-10, + 1.6886705968154476e-10, + 1.7913891264713902e-10, + 1.899945417825176e-10, + 2.0146185587064517e-10, + 2.1356940969750437e-10, + 2.2634631917529172e-10, + 2.398221590982617e-10, + 2.540268416860238e-10, + 2.689904739890799e-10, + 2.8474319217098343e-10, + 3.013149706444867e-10, + 3.187354040333222e-10, + 3.370334599653326e-10, + 3.5623720078253554e-10, + 3.7637347239302024e-10, + 3.974675586939589e-10, + 4.1954280028018887e-10, + 4.4262017652601787e-10, + 4.667178506044014e-10, + 4.918506775957857e-10, + 5.180296765512524e-10, + 5.452614682190243e-10, + 5.735476811267349e-10, + 6.028843298381087e-10, + 6.33261170470023e-10, + 6.646610399590977e-10, + 6.970591870915242e-10, + 7.304226049366003e-10, + 7.64709376019535e-10, + 7.998680432980791e-10, + 8.35837021709917e-10, + 8.725440666795296e-10, + 9.099058174324667e-10, + 9.478274341809997e-10, + 9.862023491208399e-10, + 1.0249121516175966e-09, + 1.0638266278564153e-09, + 1.1028039744845722e-09, + 1.1416912042979035e-09, + 1.1803247597373334e-09, + 1.218531346813033e-09, + 1.2561289980442137e-09, + 1.2929283681042009e-09, + 1.3287342601585856e-09, + 1.363347374485017e-09, + 1.3965662640361672e-09, + 1.4281894743608988e-09, + 1.4580178380015323e-09, + 1.4858568864331063e-09, + 1.5115193361358627e-09, + 1.5348275998285534e-09, + 1.5556162695721274e-09, + 1.5737345156727576e-09, + 1.5890483443231718e-09, + 1.6014426578926648e-09, + 1.6108230647961611e-09, + 1.6171173909272067e-09, + 1.6202768516007636e-09, + 1.6202768516007636e-09, + 1.6171173909272067e-09, + 1.6108230647961611e-09, + 1.6014426578926648e-09, + 1.5890483443231718e-09, + 1.5737345156727576e-09, + 1.5556162695721274e-09, + 1.5348275998285534e-09, + 1.5115193361358627e-09, + 1.4858568864331063e-09, + 1.4580178380015323e-09, + 1.4281894743608988e-09, + 1.3965662640361672e-09, + 1.3633473744850435e-09, + 1.3287342601585327e-09, + 1.2929283681042273e-09, + 1.2561289980442137e-09, + 1.218531346813033e-09, + 1.1803247597373334e-09, + 1.1416912042979035e-09, + 1.1028039744845722e-09, + 1.0638266278564153e-09, + 1.0249121516175966e-09, + 9.862023491208266e-10, + 9.478274341810129e-10, + 9.0990581743248e-10, + 8.725440666795164e-10, + 8.35837021709917e-10, + 7.998680432980791e-10, + 7.647093760195218e-10, + 7.304226049366135e-10, + 6.970591870915242e-10, + 6.646610399590977e-10, + 6.332611704700363e-10, + 6.028843298380955e-10, + 5.735476811267349e-10, + 5.45261468219011e-10, + 5.180296765512656e-10, + 4.91850677595799e-10, + 4.667178506043882e-10, + 4.4262017652600463e-10, + 4.195428002802021e-10, + 3.9746755869393244e-10, + 3.7637347239305994e-10, + 3.5623720078253554e-10, + 3.370334599653061e-10, + 3.1873540403334865e-10, + 3.013149706444602e-10, + 2.8474319217099666e-10, + 2.689904739890799e-10, + 2.5402684168603706e-10, + 2.3982215909824845e-10, + 2.2634631917527849e-10, + 2.1356940969750437e-10, + 2.0146185587064517e-10, + 1.8999454178253084e-10, + 1.7913891264712579e-10, + 1.6886705968157123e-10, + 1.5915178936777813e-10, + 1.4996667875081432e-10, + 1.4128611831528881e-10, + 1.330853438745011e-10, + 1.253404587942034e-10, + 1.1802844776577997e-10 + ], + "ion_capacity_m3": [ + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22, + 2e+22 + ], + "ion_diffusion_m2_s": [ + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 1e-14, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "ion_flux_enabled": true, + "ion_thermal_voltage_V": 0.025851999786435535, + "model": "one_positive_ion_steric_diffusion_only", + "positive_nodes": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30, + 31, + 32, + 33, + 34, + 35, + 36, + 37, + 38, + 39, + 40, + 41, + 42, + 43, + 44, + 45, + 46, + 47, + 48, + 49, + 50, + 51, + 52, + 53, + 54, + 55, + 56, + 57, + 58, + 59, + 60, + 61, + 62, + 63, + 64, + 65, + 66, + 67, + 68, + 69, + 70, + 71, + 72, + 73, + 74, + 75, + 76, + 77, + 78, + 79, + 80, + 81, + 82, + 83, + 84, + 85, + 86, + 87, + 88, + 89, + 90, + 91, + 92, + 93, + 94, + 95, + 96, + 97, + 98, + 99, + 100, + 101, + 102, + 103, + 104, + 105, + 106, + 107, + 108, + 109, + 110, + 111, + 112, + 113, + 114, + 115, + 116, + 117, + 118, + 119, + 120, + 121, + 122, + 123, + 124, + 125, + 126, + 127 + ], + "site_occupancy_ceiling": 0.999, + "static_sheet_charge_C_m2": [ + 0.0 + ], + "trace_jump_V": [ + 0.0 + ], + "trap_density_m2": [ + 500000000000000.0 + ] + }, + "fixed_inputs": { + "dqfn_V": { + "hi": [ + 0.0, + -1.889484238246679e-06, + -3.901215697583059e-06, + -6.043113098397484e-06, + -8.32360712127706e-06, + -1.0751672944888074e-05, + -1.3336864696156815e-05, + -1.6089351892529863e-05, + -1.901995793870097e-05, + -2.214020075792575e-05, + -2.5462335597207546e-05, + -2.899940005717484e-05, + -3.2765261371548234e-05, + -3.6774665934790836e-05, + -4.104329106199072e-05, + -4.558779892987362e-05, + -5.0425892593839837e-05, + -5.557637395357709e-05, + -6.105920347211932e-05, + -6.689556137547086e-05, + -7.310791000736292e-05, + -7.972005690923723e-05, + -8.675721808954283e-05, + -9.424608084097835e-05, + -0.00010221486532300965, + -0.0001106933839772568, + -0.00011971309769427053, + -0.00012930716742796887, + -0.0001395104998300801, + -0.00015035978517473464, + -0.00016189352571742028, + -0.00017415205233527382, + -0.0001871775271110503, + -0.000201013929286816, + -0.00021570702181693003, + -0.00023130429555901847, + -0.00024785488802715056, + -0.0002654094735138001, + -0.00028402012139400553, + -0.000303740119479852, + -0.00032462375946628143, + -0.00034672608179680083, + -0.00037010257769878657, + -0.0003948088467087263, + -0.00042090020871516016, + -0.0004484312704508052, + -0.00047745544734631413, + -0.0005080244428720293, + -0.0005401876887111834, + -0.0005739917505137479, + -0.0006094797053256152, + -0.0006466904981920098, + -0.0006856582867262268, + -0.0007264117836122594, + -0.0007689736079916633, + -0.000813359657418905, + -0.0008595785125066287, + -0.0009076308864855629, + -0.0009575091316563906, + -0.0010091968140882855, + -0.0010626683669929533, + -0.0011178888318926032, + -0.0011748136952176764, + -0.0012333888261876333, + -0.0012935505199818099, + -0.001355225648232858, + -0.0014183319169497593, + -0.0014827782300460407, + -0.0015484651548769606, + -0.0016152854845148843, + -0.0016831248900113019, + -0.0017518626545446816, + -0.0018213724802397975, + -0.0018915233574297568, + -0.0019621804853562942, + -0.0020332062326139963, + -0.0021044611251685753, + -0.0021758048494218, + -0.002247097257616563, + -0.002318199362865739, + -0.00238897431126537, + -0.0024592883189339426, + -0.002529011562395265, + -0.0025980190115552602, + -0.00266619119550103, + -0.002733414892611442, + -0.002799583737836647, + -0.0028645987415773606, + -0.0029283687162188214, + -0.002990810608132079, + -0.003051849734642374, + -0.003111419927182817, + -0.0031694635834271546, + -0.0032259316326737294, + -0.003280783420035087, + -0.0033339865160676553, + -0.0033855164593515593, + -0.003435356440151349, + -0.003483496933691414, + -0.0035299352917379065, + -0.0035746753011649517, + -0.003617726717925092, + -0.003659104784479621, + -0.003698829738213698, + -0.003736926317726917, + -0.003773423273215096, + -0.003808352886381974, + -0.00384175050458183, + -0.0038736540931047663, + -0.0039041038088012455, + -0.0039331415975037065, + -0.0039608108170687, + -0.003987155887247777, + -0.004012221967062563, + -0.004036054659867774, + -0.004058699745913401, + -0.0040802029418155064, + -0.0041006096861164265, + -0.004119964949850477, + -0.004138313070872188, + -0.004155697610572414, + -0.004172161231522143, + -0.004187745594534256, + -0.0042024912736149935, + -0.0042164376872844845, + -0.004229623044774558, + -0.004242084305658218, + -0.004253857151524384, + -0.004332013570347701, + -0.004332262507235099, + -0.004332527534929485, + -0.004332809694866591, + -0.00433311009591943, + -0.004333429918737896, + -0.004333770420363834, + -0.004334132939126856, + -0.004334518899841978, + -0.004334929819324526, + -0.004335367312227987, + -0.004335833097237786, + -0.004336329003613131, + -0.004336856978108692, + -0.0043374190922792315, + -0.004338017550178516, + -0.004338654696467449, + -0.004339333024928555, + -0.004340055187395934, + -0.004340824003095599, + -0.004341642468392763, + -0.004342513766918997, + -0.004343441280084497, + -0.004344428597906016, + -0.004345479530137803, + -0.00434659811763552, + -0.004347788643876791, + -0.004349055646551574, + -0.004350403929105422, + -0.004351838572096921, + -0.004353364944201755, + -0.004354988712664037, + -0.004356715852959449, + -0.0043585526573985435, + -0.004360505742346714, + -0.004362582053703114, + -0.004364788870228988, + -0.0043671338042461155, + -0.004369624799211142, + -0.004372270123579966, + -0.0043750783603544435, + -0.004378058391649671, + -0.004381219377573993, + -0.004384570728711494, + -0.004388122071457494, + -0.004391883205477268, + -0.004395864052600971, + -0.004400074596502885, + -0.0044045248126173015, + -0.00440922458788535, + -0.004414183630070402, + -0.004419411366618613, + -0.004424916833288145, + -0.004430708553077348, + -0.004436794406325276, + -0.004443181493235458, + -0.004449875990475693, + -0.004456883003920135, + -0.004464206420008317, + -0.004471848758584798, + -0.004479811030411634, + -0.004488092602844928, + -0.004496691077320877, + -0.004505602182397365, + -0.0045148196860328, + -0.004524335330599947, + -0.0045341387937821165, + -0.004544217678041242, + -0.004554557530696709, + -0.004565141895944003, + -0.004575952399289461, + -0.004586968864000632, + -0.0045981694582480715, + -0.0046095308707067, + -0.004621028511556247, + -0.004632636735049397, + -0.004644329079223204, + -0.004656078517832126, + -0.004667857719318695, + -0.004679639307501789, + -0.004691396118778303, + -0.004703101450825865, + -0.004714729298253328, + -0.004726254571142094, + -0.004737653293071884, + -0.004748902775924105, + -0.0047599817694960285, + -0.004770870584703394, + -0.004781551189868968, + -0.004792007280269631, + -0.004802224321709408, + -0.004812189569419492, + -0.004821892064009788, + -0.004831322606524495, + -0.004840473714905866, + -0.004849339564309585, + -0.004857915913787208, + -0.004866200021829734, + -0.004874190553219899, + -0.004881887479486877, + -0.004889291975119269, + -0.004896406311488289, + -0.004903233750226379, + -0.004909778437586241, + -0.004916045301083535, + -0.004922039949508997, + -0.0049277685771917925, + -0.004933237873189184, + -0.004938454935928274, + -0.00494342719362185, + -0.004948162330693005, + -0.004952668220260961, + -0.004956952862705951, + -0.004961024330163256, + -0.004964890716810746, + -0.0049685600946896575, + -0.004972040474800832, + -0.00497533977315911, + -0.004978465781500654, + -0.004981426142286323, + -0.004984228327677708, + -0.004986879622145937, + -0.004989387108378226, + -0.004991757656166491, + -0.004993997913979632, + -0.004996114302915328, + -0.0049981130127751145, + -0.004999999999999893 + ], + "lo": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + }, + "dqfp_V": { + "hi": [ + 0.0, + 1.4123990667826608e-06, + 2.908456348333385e-06, + 4.492643598732202e-06, + 6.169610733299914e-06, + 7.944185039098626e-06, + 9.821369133839545e-06, + 1.1806337506879408e-05, + 1.3904431465430603e-05, + 1.6121152299407762e-05, + 1.846215246987841e-05, + 2.0933224619303274e-05, + 2.354028819716904e-05, + 2.628937349277329e-05, + 2.9186602868452454e-05, + 3.223816899210832e-05, + 3.545030987730503e-05, + 3.88292805620871e-05, + 4.238132125477762e-05, + 4.611262185363357e-05, + 5.00292827215053e-05, + 5.413727169094657e-05, + 5.8442377303448244e-05, + 6.295015835544245e-05, + 6.76658898934596e-05, + 7.25945058799175e-05, + 7.774053883791348e-05, + 8.310805687617657e-05, + 8.870059860139781e-05, + 9.452110650259785e-05, + 0.0001005718595451918, + 0.00010685440575158953, + 0.00011336949569111453, + 0.0001201170178646154, + 0.00012709593705117458, + 0.00013430423674197584, + 0.00014173886682475743, + 0.00014939569769702567, + 0.00015726948197437832, + 0.00016535382491961824, + 0.00017364116464663895, + 0.00018212276305891968, + 0.00019078870832685567, + 0.0001996279295997327, + 0.0002086282244028944, + 0.0002177762990255799, + 0.00022705782193878468, + 0.00023645749011429973, + 0.0002459591078253705, + 0.000255545677334889, + 0.0002651995006367908, + 0.00027490229122183093, + 0.0002846352946540884, + 0.0002943794165812064, + 0.00030411535666060647, + 0.00031382374676682694, + 0.00032348529175229467, + 0.00033308091096552874, + 0.00034259187868727295, + 0.0003519999616270198, + 0.00036128755163092194, + 0.00037043779178883734, + 0.00037943469419534005, + 0.0003882632477191989, + 0.00039690951426923676, + 0.0004053607122218068, + 0.00041360528585647125, + 0.00042163295993672594, + 0.00042943477878156, + 0.00043700312951915353, + 0.00044433174950146904, + 0.00045141571818455527, + 0.0004582514340928834, + 0.0004648365777831756, + 0.00047117006200041617, + 0.00047725197042563464, + 0.0004830834866495409, + 0.0004886668150745907, + 0.0004940050955789965, + 0.0004991023137506872, + 0.0005039632085018326, + 0.0005085931787504428, + 0.0005129981907646113, + 0.0005171846875656315, + 0.0005211595016317202, + 0.0005249297719240133, + 0.000528502866055417, + 0.0005318863082170592, + 0.0005350877132813991, + 0.0005381147273202594, + 0.0005409749746141623, + 0.0005436760110881341, + 0.0005462252839987475, + 0.0005486300975777429, + 0.0005508975843148547, + 0.0005530346814484093, + 0.0005550481122485905, + 0.0005569443716361227, + 0.0005587297156825586, + 0.0005604101545449235, + 0.000561991448403671, + 0.0005634791059956376, + 0.0005648783853610486, + 0.000566194296453896, + 0.0005674316052968057, + 0.0005685948393936822, + 0.0005696882941450613, + 0.0005707160400415426, + 0.0005716819304394272, + 0.0005725896097494177, + 0.0005734425218937741, + 0.000574243918909554, + 0.0005749968695955221, + 0.0005757042681180343, + 0.0005763688425068018, + 0.0005769931629850654, + 0.000577579650090485, + 0.0005781305825531865, + 0.0005786481049060184, + 0.0005791342348093619, + 0.000579590870078941, + 0.0005800197954101438, + 0.0005804226887965283, + 0.0005808011276435783, + 0.0005811565945814793, + 0.0005814904829828389, + 0.0005818041021929261, + 0.0005820986824812692, + 0.0006746600490455071, + 0.0006885985356159936, + 0.0007033506700685161, + 0.0007189583696806524, + 0.0007354650037548936, + 0.0007529153496779317, + 0.0007713555330866123, + 0.0007908329502727701, + 0.0008113961708523457, + 0.0008330948186782537, + 0.0008559794288758891, + 0.0008801012789121222, + 0.0009055121915304405, + 0.0009322643075104595, + 0.0009604098262490878, + 0.0009900007123326818, + 0.0010210883665009675, + 0.001053723259670176, + 0.0010879545290970395, + 0.001123829536224681, + 0.0011613933863387316, + 0.0012006884108511568, + 0.0012417536138326713, + 0.0012846240853321544, + 0.0013293303850507266, + 0.001375897901071379, + 0.001424346189569764, + 0.0014746883027284008, + 0.0015269301134189519, + 0.0015810696465708041, + 0.0016370964284759641, + 0.0016949908665013012, + 0.0017547236728395175, + 0.0018162553467805606, + 0.0018795357306917255, + 0.0019445036551634302, + 0.002011086688754979, + 0.0020792010071733454, + 0.002148751395718871, + 0.0022196313972099257, + 0.0022917236154414915, + 0.0023649001815044543, + 0.0024390233870324922, + 0.0025139464847107364, + 0.0025895146522654485, + 0.0026655661117763775, + 0.0027419333916605592, + 0.0028184447142369333, + 0.0028949254875791034, + 0.002971199876588572, + 0.0030470924250574627, + 0.003122429698106916, + 0.0031970419129251472, + 0.0032707645252996816, + 0.003343439740058371, + 0.003414917915314204, + 0.0034850588331126666, + 0.003553732812827288, + 0.0036208216480994497, + 0.003686219353187145, + 0.0037498327100127203, + 0.0038115816127555612, + 0.0038713992122849966, + 0.003929231867849682, + 0.003985038918036997, + 0.004038792286930931, + 0.004090475944515489, + 0.004140085242626093, + 0.004187626149125085, + 0.00423311440349449, + 0.004276574616773068, + 0.004318039337771339, + 0.00435754810600142, + 0.004395146509701187, + 0.004430885265080471, + 0.0044648193303740156, + 0.0044970070657834845, + 0.004527509447805505, + 0.004556389344101077, + 0.004583710852802588, + 0.00460953870823731, + 0.004633937753272652, + 0.004656972477102397, + 0.004678706616114618, + 0.004699202814565759, + 0.004718522341177423, + 0.004736724857269371, + 0.004753868231847094, + 0.004770008398919221, + 0.004785199252412184, + 0.004799492574132017, + 0.0048129379904634575, + 0.004825582953791902, + 0.0048374727448850414, + 0.004848650492846298, + 0.004859157209559821, + 0.004869031835891387, + 0.004878311297203174, + 0.004887030566093174, + 0.004895222730490504, + 0.004902919065547842, + 0.004910149107983789, + 0.004916940731747765, + 0.004923320224068389, + 0.004929312361113391, + 0.004934940482634129, + 0.004940226565101697, + 0.004945191292925688, + 0.004949854127489491, + 0.004954233373752711, + 0.0049583462442872135, + 0.00496220892064274, + 0.004965836611997763, + 0.004969243611062648, + 0.004972443347281945, + 0.004975448437344308, + 0.0049782707330770035, + 0.004980921366791358, + 0.00498341079416325, + 0.004985748834739499, + 0.004987944710166026, + 0.00499000708023672, + 0.004991944076863318, + 0.004993763336066594, + 0.004995472028088156, + 0.00499707688572026, + 0.00499858423094769, + 0.004999999999999893 + ], + "lo": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + }, + "occupancy": { + "hi": [ + 7.908895785860534e-05 + ], + "lo": [ + 0.0 + ] + }, + "positive_m3": { + "hi": [ + 6.002381417269704e+21, + 6.012619122643051e+21, + 6.023490929806676e+21, + 6.035034331370922e+21, + 6.047288799548243e+21, + 6.060295857951609e+21, + 6.07409915097991e+21, + 6.088744509755254e+21, + 6.104280013402405e+21, + 6.120756044263142e+21, + 6.138225335415787e+21, + 6.156743008621096e+21, + 6.176366600539194e+21, + 6.197156074758213e+21, + 6.219173816845588e+21, + 6.242484609281072e+21, + 6.267155582763763e+21, + 6.29325614001465e+21, + 6.320857847838071e+21, + 6.35003429288332e+21, + 6.380860896292753e+21, + 6.413414682275907e+21, + 6.447773995660487e+21, + 6.484018163700314e+21, + 6.522227097934195e+21, + 6.562480832757877e+21, + 6.604858998658714e+21, + 6.649440229819956e+21, + 6.696301508048925e+21, + 6.745517447696065e+21, + 6.797159529321337e+21, + 6.851295293164586e+21, + 6.907987506737014e+21, + 6.96729332374479e+21, + 7.029263453706972e+21, + 7.093941362663292e+21, + 7.161362524981377e+21, + 7.231553744323371e+21, + 7.304532558409142e+21, + 7.380306737687496e+21, + 7.45887388303489e+21, + 7.540221122954411e+21, + 7.624324907267741e+21, + 7.711150892599413e+21, + 7.800653915268006e+21, + 7.892778049230208e+21, + 7.987456749687736e+21, + 8.084613085766067e+21, + 8.184160067188038e+21, + 8.286001069268551e+21, + 8.390030357553848e+21, + 8.496133708332629e+21, + 8.604189114875352e+21, + 8.714067562703845e+21, + 8.825633851545358e+21, + 8.938747437741996e+21, + 9.053263269273148e+21, + 9.169032586340728e+21, + 9.285903663495998e+21, + 9.403722474175276e+21, + 9.522333264764624e+21, + 9.64157903238296e+21, + 9.76130190789838e+21, + 9.881343452724221e+21, + 1.0001544884159949e+22, + 1.0121747248981131e+22, + 1.0241791568260297e+22, + 1.0361518977758114e+22, + 1.0480770887572458e+22, + 1.0599389182194082e+22, + 1.0717216478054798e+22, + 1.083409645066381e+22, + 1.094987423827319e+22, + 1.1064396924485961e+22, + 1.1177514098937119e+22, + 1.1289078493367413e+22, + 1.139894668976508e+22, + 1.1506979896939722e+22, + 1.161304479077631e+22, + 1.1717014410435467e+22, + 1.1818769097376978e+22, + 1.1918197456574066e+22, + 1.2015197310821127e+22, + 1.2109676611392548e+22, + 1.2201554263377787e+22, + 1.229076082326281e+22, + 1.2377239030376895e+22, + 1.2460944142321798e+22, + 1.2541844056246678e+22, + 1.26199192111213e+22, + 1.269516227919605e+22, + 1.2767577666095937e+22, + 1.2837180847453769e+22, + 1.2903997575196549e+22, + 1.296806298862752e+22, + 1.3029420664740376e+22, + 1.30881216394213e+22, + 1.314422342705763e+22, + 1.3197789061246051e+22, + 1.3248886174323657e+22, + 1.3297586128730192e+22, + 1.3343963209002081e+22, + 1.3388093879627758e+22, + 1.3430056111094628e+22, + 1.346992877420068e+22, + 1.3507791101021089e+22, + 1.3543722209725158e+22, + 1.357780068964261e+22, + 1.3610104242494855e+22, + 1.3640709375462973e+22, + 1.3669691141696002e+22, + 1.3697122923921422e+22, + 1.3723076256964368e+22, + 1.3747620685183359e+22, + 1.3770823651066085e+22, + 1.3792750411482818e+22, + 1.381346397835582e+22, + 1.3833025080762976e+22, + 1.3851492145747104e+22, + 1.3868921295346006e+22, + 1.3885366357589311e+22, + 1.3900878889426235e+22, + 1.3915508209752163e+22, + 1.3929301440891653e+22, + 1.3942303557071007e+22, + 1.3954557438575631e+22, + 1.3966103930436034e+22, + 1.3976981904622344e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22 + ], + "lo": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + } + }, + "poisson_inputs": { + "fixed_inputs": { + "dqfn_V": { + "hi": [ + 0.0, + -1.889484238246679e-06, + -3.901215697583059e-06, + -6.043113098397484e-06, + -8.32360712127706e-06, + -1.0751672944888074e-05, + -1.3336864696156815e-05, + -1.6089351892529863e-05, + -1.901995793870097e-05, + -2.214020075792575e-05, + -2.5462335597207546e-05, + -2.899940005717484e-05, + -3.2765261371548234e-05, + -3.6774665934790836e-05, + -4.104329106199072e-05, + -4.558779892987362e-05, + -5.0425892593839837e-05, + -5.557637395357709e-05, + -6.105920347211932e-05, + -6.689556137547086e-05, + -7.310791000736292e-05, + -7.972005690923723e-05, + -8.675721808954283e-05, + -9.424608084097835e-05, + -0.00010221486532300965, + -0.0001106933839772568, + -0.00011971309769427053, + -0.00012930716742796887, + -0.0001395104998300801, + -0.00015035978517473464, + -0.00016189352571742028, + -0.00017415205233527382, + -0.0001871775271110503, + -0.000201013929286816, + -0.00021570702181693003, + -0.00023130429555901847, + -0.00024785488802715056, + -0.0002654094735138001, + -0.00028402012139400553, + -0.000303740119479852, + -0.00032462375946628143, + -0.00034672608179680083, + -0.00037010257769878657, + -0.0003948088467087263, + -0.00042090020871516016, + -0.0004484312704508052, + -0.00047745544734631413, + -0.0005080244428720293, + -0.0005401876887111834, + -0.0005739917505137479, + -0.0006094797053256152, + -0.0006466904981920098, + -0.0006856582867262268, + -0.0007264117836122594, + -0.0007689736079916633, + -0.000813359657418905, + -0.0008595785125066287, + -0.0009076308864855629, + -0.0009575091316563906, + -0.0010091968140882855, + -0.0010626683669929533, + -0.0011178888318926032, + -0.0011748136952176764, + -0.0012333888261876333, + -0.0012935505199818099, + -0.001355225648232858, + -0.0014183319169497593, + -0.0014827782300460407, + -0.0015484651548769606, + -0.0016152854845148843, + -0.0016831248900113019, + -0.0017518626545446816, + -0.0018213724802397975, + -0.0018915233574297568, + -0.0019621804853562942, + -0.0020332062326139963, + -0.0021044611251685753, + -0.0021758048494218, + -0.002247097257616563, + -0.002318199362865739, + -0.00238897431126537, + -0.0024592883189339426, + -0.002529011562395265, + -0.0025980190115552602, + -0.00266619119550103, + -0.002733414892611442, + -0.002799583737836647, + -0.0028645987415773606, + -0.0029283687162188214, + -0.002990810608132079, + -0.003051849734642374, + -0.003111419927182817, + -0.0031694635834271546, + -0.0032259316326737294, + -0.003280783420035087, + -0.0033339865160676553, + -0.0033855164593515593, + -0.003435356440151349, + -0.003483496933691414, + -0.0035299352917379065, + -0.0035746753011649517, + -0.003617726717925092, + -0.003659104784479621, + -0.003698829738213698, + -0.003736926317726917, + -0.003773423273215096, + -0.003808352886381974, + -0.00384175050458183, + -0.0038736540931047663, + -0.0039041038088012455, + -0.0039331415975037065, + -0.0039608108170687, + -0.003987155887247777, + -0.004012221967062563, + -0.004036054659867774, + -0.004058699745913401, + -0.0040802029418155064, + -0.0041006096861164265, + -0.004119964949850477, + -0.004138313070872188, + -0.004155697610572414, + -0.004172161231522143, + -0.004187745594534256, + -0.0042024912736149935, + -0.0042164376872844845, + -0.004229623044774558, + -0.004242084305658218, + -0.004253857151524384, + -0.004332013570347701, + -0.004332262507235099, + -0.004332527534929485, + -0.004332809694866591, + -0.00433311009591943, + -0.004333429918737896, + -0.004333770420363834, + -0.004334132939126856, + -0.004334518899841978, + -0.004334929819324526, + -0.004335367312227987, + -0.004335833097237786, + -0.004336329003613131, + -0.004336856978108692, + -0.0043374190922792315, + -0.004338017550178516, + -0.004338654696467449, + -0.004339333024928555, + -0.004340055187395934, + -0.004340824003095599, + -0.004341642468392763, + -0.004342513766918997, + -0.004343441280084497, + -0.004344428597906016, + -0.004345479530137803, + -0.00434659811763552, + -0.004347788643876791, + -0.004349055646551574, + -0.004350403929105422, + -0.004351838572096921, + -0.004353364944201755, + -0.004354988712664037, + -0.004356715852959449, + -0.0043585526573985435, + -0.004360505742346714, + -0.004362582053703114, + -0.004364788870228988, + -0.0043671338042461155, + -0.004369624799211142, + -0.004372270123579966, + -0.0043750783603544435, + -0.004378058391649671, + -0.004381219377573993, + -0.004384570728711494, + -0.004388122071457494, + -0.004391883205477268, + -0.004395864052600971, + -0.004400074596502885, + -0.0044045248126173015, + -0.00440922458788535, + -0.004414183630070402, + -0.004419411366618613, + -0.004424916833288145, + -0.004430708553077348, + -0.004436794406325276, + -0.004443181493235458, + -0.004449875990475693, + -0.004456883003920135, + -0.004464206420008317, + -0.004471848758584798, + -0.004479811030411634, + -0.004488092602844928, + -0.004496691077320877, + -0.004505602182397365, + -0.0045148196860328, + -0.004524335330599947, + -0.0045341387937821165, + -0.004544217678041242, + -0.004554557530696709, + -0.004565141895944003, + -0.004575952399289461, + -0.004586968864000632, + -0.0045981694582480715, + -0.0046095308707067, + -0.004621028511556247, + -0.004632636735049397, + -0.004644329079223204, + -0.004656078517832126, + -0.004667857719318695, + -0.004679639307501789, + -0.004691396118778303, + -0.004703101450825865, + -0.004714729298253328, + -0.004726254571142094, + -0.004737653293071884, + -0.004748902775924105, + -0.0047599817694960285, + -0.004770870584703394, + -0.004781551189868968, + -0.004792007280269631, + -0.004802224321709408, + -0.004812189569419492, + -0.004821892064009788, + -0.004831322606524495, + -0.004840473714905866, + -0.004849339564309585, + -0.004857915913787208, + -0.004866200021829734, + -0.004874190553219899, + -0.004881887479486877, + -0.004889291975119269, + -0.004896406311488289, + -0.004903233750226379, + -0.004909778437586241, + -0.004916045301083535, + -0.004922039949508997, + -0.0049277685771917925, + -0.004933237873189184, + -0.004938454935928274, + -0.00494342719362185, + -0.004948162330693005, + -0.004952668220260961, + -0.004956952862705951, + -0.004961024330163256, + -0.004964890716810746, + -0.0049685600946896575, + -0.004972040474800832, + -0.00497533977315911, + -0.004978465781500654, + -0.004981426142286323, + -0.004984228327677708, + -0.004986879622145937, + -0.004989387108378226, + -0.004991757656166491, + -0.004993997913979632, + -0.004996114302915328, + -0.0049981130127751145, + -0.004999999999999893 + ], + "lo": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + }, + "dqfp_V": { + "hi": [ + 0.0, + 1.4123990667826608e-06, + 2.908456348333385e-06, + 4.492643598732202e-06, + 6.169610733299914e-06, + 7.944185039098626e-06, + 9.821369133839545e-06, + 1.1806337506879408e-05, + 1.3904431465430603e-05, + 1.6121152299407762e-05, + 1.846215246987841e-05, + 2.0933224619303274e-05, + 2.354028819716904e-05, + 2.628937349277329e-05, + 2.9186602868452454e-05, + 3.223816899210832e-05, + 3.545030987730503e-05, + 3.88292805620871e-05, + 4.238132125477762e-05, + 4.611262185363357e-05, + 5.00292827215053e-05, + 5.413727169094657e-05, + 5.8442377303448244e-05, + 6.295015835544245e-05, + 6.76658898934596e-05, + 7.25945058799175e-05, + 7.774053883791348e-05, + 8.310805687617657e-05, + 8.870059860139781e-05, + 9.452110650259785e-05, + 0.0001005718595451918, + 0.00010685440575158953, + 0.00011336949569111453, + 0.0001201170178646154, + 0.00012709593705117458, + 0.00013430423674197584, + 0.00014173886682475743, + 0.00014939569769702567, + 0.00015726948197437832, + 0.00016535382491961824, + 0.00017364116464663895, + 0.00018212276305891968, + 0.00019078870832685567, + 0.0001996279295997327, + 0.0002086282244028944, + 0.0002177762990255799, + 0.00022705782193878468, + 0.00023645749011429973, + 0.0002459591078253705, + 0.000255545677334889, + 0.0002651995006367908, + 0.00027490229122183093, + 0.0002846352946540884, + 0.0002943794165812064, + 0.00030411535666060647, + 0.00031382374676682694, + 0.00032348529175229467, + 0.00033308091096552874, + 0.00034259187868727295, + 0.0003519999616270198, + 0.00036128755163092194, + 0.00037043779178883734, + 0.00037943469419534005, + 0.0003882632477191989, + 0.00039690951426923676, + 0.0004053607122218068, + 0.00041360528585647125, + 0.00042163295993672594, + 0.00042943477878156, + 0.00043700312951915353, + 0.00044433174950146904, + 0.00045141571818455527, + 0.0004582514340928834, + 0.0004648365777831756, + 0.00047117006200041617, + 0.00047725197042563464, + 0.0004830834866495409, + 0.0004886668150745907, + 0.0004940050955789965, + 0.0004991023137506872, + 0.0005039632085018326, + 0.0005085931787504428, + 0.0005129981907646113, + 0.0005171846875656315, + 0.0005211595016317202, + 0.0005249297719240133, + 0.000528502866055417, + 0.0005318863082170592, + 0.0005350877132813991, + 0.0005381147273202594, + 0.0005409749746141623, + 0.0005436760110881341, + 0.0005462252839987475, + 0.0005486300975777429, + 0.0005508975843148547, + 0.0005530346814484093, + 0.0005550481122485905, + 0.0005569443716361227, + 0.0005587297156825586, + 0.0005604101545449235, + 0.000561991448403671, + 0.0005634791059956376, + 0.0005648783853610486, + 0.000566194296453896, + 0.0005674316052968057, + 0.0005685948393936822, + 0.0005696882941450613, + 0.0005707160400415426, + 0.0005716819304394272, + 0.0005725896097494177, + 0.0005734425218937741, + 0.000574243918909554, + 0.0005749968695955221, + 0.0005757042681180343, + 0.0005763688425068018, + 0.0005769931629850654, + 0.000577579650090485, + 0.0005781305825531865, + 0.0005786481049060184, + 0.0005791342348093619, + 0.000579590870078941, + 0.0005800197954101438, + 0.0005804226887965283, + 0.0005808011276435783, + 0.0005811565945814793, + 0.0005814904829828389, + 0.0005818041021929261, + 0.0005820986824812692, + 0.0006746600490455071, + 0.0006885985356159936, + 0.0007033506700685161, + 0.0007189583696806524, + 0.0007354650037548936, + 0.0007529153496779317, + 0.0007713555330866123, + 0.0007908329502727701, + 0.0008113961708523457, + 0.0008330948186782537, + 0.0008559794288758891, + 0.0008801012789121222, + 0.0009055121915304405, + 0.0009322643075104595, + 0.0009604098262490878, + 0.0009900007123326818, + 0.0010210883665009675, + 0.001053723259670176, + 0.0010879545290970395, + 0.001123829536224681, + 0.0011613933863387316, + 0.0012006884108511568, + 0.0012417536138326713, + 0.0012846240853321544, + 0.0013293303850507266, + 0.001375897901071379, + 0.001424346189569764, + 0.0014746883027284008, + 0.0015269301134189519, + 0.0015810696465708041, + 0.0016370964284759641, + 0.0016949908665013012, + 0.0017547236728395175, + 0.0018162553467805606, + 0.0018795357306917255, + 0.0019445036551634302, + 0.002011086688754979, + 0.0020792010071733454, + 0.002148751395718871, + 0.0022196313972099257, + 0.0022917236154414915, + 0.0023649001815044543, + 0.0024390233870324922, + 0.0025139464847107364, + 0.0025895146522654485, + 0.0026655661117763775, + 0.0027419333916605592, + 0.0028184447142369333, + 0.0028949254875791034, + 0.002971199876588572, + 0.0030470924250574627, + 0.003122429698106916, + 0.0031970419129251472, + 0.0032707645252996816, + 0.003343439740058371, + 0.003414917915314204, + 0.0034850588331126666, + 0.003553732812827288, + 0.0036208216480994497, + 0.003686219353187145, + 0.0037498327100127203, + 0.0038115816127555612, + 0.0038713992122849966, + 0.003929231867849682, + 0.003985038918036997, + 0.004038792286930931, + 0.004090475944515489, + 0.004140085242626093, + 0.004187626149125085, + 0.00423311440349449, + 0.004276574616773068, + 0.004318039337771339, + 0.00435754810600142, + 0.004395146509701187, + 0.004430885265080471, + 0.0044648193303740156, + 0.0044970070657834845, + 0.004527509447805505, + 0.004556389344101077, + 0.004583710852802588, + 0.00460953870823731, + 0.004633937753272652, + 0.004656972477102397, + 0.004678706616114618, + 0.004699202814565759, + 0.004718522341177423, + 0.004736724857269371, + 0.004753868231847094, + 0.004770008398919221, + 0.004785199252412184, + 0.004799492574132017, + 0.0048129379904634575, + 0.004825582953791902, + 0.0048374727448850414, + 0.004848650492846298, + 0.004859157209559821, + 0.004869031835891387, + 0.004878311297203174, + 0.004887030566093174, + 0.004895222730490504, + 0.004902919065547842, + 0.004910149107983789, + 0.004916940731747765, + 0.004923320224068389, + 0.004929312361113391, + 0.004934940482634129, + 0.004940226565101697, + 0.004945191292925688, + 0.004949854127489491, + 0.004954233373752711, + 0.0049583462442872135, + 0.00496220892064274, + 0.004965836611997763, + 0.004969243611062648, + 0.004972443347281945, + 0.004975448437344308, + 0.0049782707330770035, + 0.004980921366791358, + 0.00498341079416325, + 0.004985748834739499, + 0.004987944710166026, + 0.00499000708023672, + 0.004991944076863318, + 0.004993763336066594, + 0.004995472028088156, + 0.00499707688572026, + 0.00499858423094769, + 0.004999999999999893 + ], + "lo": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + }, + "occupancy": { + "hi": [ + 7.908895785860534e-05 + ], + "lo": [ + 0.0 + ] + }, + "positive_m3": { + "hi": [ + 6.002381417269704e+21, + 6.012619122643051e+21, + 6.023490929806676e+21, + 6.035034331370922e+21, + 6.047288799548243e+21, + 6.060295857951609e+21, + 6.07409915097991e+21, + 6.088744509755254e+21, + 6.104280013402405e+21, + 6.120756044263142e+21, + 6.138225335415787e+21, + 6.156743008621096e+21, + 6.176366600539194e+21, + 6.197156074758213e+21, + 6.219173816845588e+21, + 6.242484609281072e+21, + 6.267155582763763e+21, + 6.29325614001465e+21, + 6.320857847838071e+21, + 6.35003429288332e+21, + 6.380860896292753e+21, + 6.413414682275907e+21, + 6.447773995660487e+21, + 6.484018163700314e+21, + 6.522227097934195e+21, + 6.562480832757877e+21, + 6.604858998658714e+21, + 6.649440229819956e+21, + 6.696301508048925e+21, + 6.745517447696065e+21, + 6.797159529321337e+21, + 6.851295293164586e+21, + 6.907987506737014e+21, + 6.96729332374479e+21, + 7.029263453706972e+21, + 7.093941362663292e+21, + 7.161362524981377e+21, + 7.231553744323371e+21, + 7.304532558409142e+21, + 7.380306737687496e+21, + 7.45887388303489e+21, + 7.540221122954411e+21, + 7.624324907267741e+21, + 7.711150892599413e+21, + 7.800653915268006e+21, + 7.892778049230208e+21, + 7.987456749687736e+21, + 8.084613085766067e+21, + 8.184160067188038e+21, + 8.286001069268551e+21, + 8.390030357553848e+21, + 8.496133708332629e+21, + 8.604189114875352e+21, + 8.714067562703845e+21, + 8.825633851545358e+21, + 8.938747437741996e+21, + 9.053263269273148e+21, + 9.169032586340728e+21, + 9.285903663495998e+21, + 9.403722474175276e+21, + 9.522333264764624e+21, + 9.64157903238296e+21, + 9.76130190789838e+21, + 9.881343452724221e+21, + 1.0001544884159949e+22, + 1.0121747248981131e+22, + 1.0241791568260297e+22, + 1.0361518977758114e+22, + 1.0480770887572458e+22, + 1.0599389182194082e+22, + 1.0717216478054798e+22, + 1.083409645066381e+22, + 1.094987423827319e+22, + 1.1064396924485961e+22, + 1.1177514098937119e+22, + 1.1289078493367413e+22, + 1.139894668976508e+22, + 1.1506979896939722e+22, + 1.161304479077631e+22, + 1.1717014410435467e+22, + 1.1818769097376978e+22, + 1.1918197456574066e+22, + 1.2015197310821127e+22, + 1.2109676611392548e+22, + 1.2201554263377787e+22, + 1.229076082326281e+22, + 1.2377239030376895e+22, + 1.2460944142321798e+22, + 1.2541844056246678e+22, + 1.26199192111213e+22, + 1.269516227919605e+22, + 1.2767577666095937e+22, + 1.2837180847453769e+22, + 1.2903997575196549e+22, + 1.296806298862752e+22, + 1.3029420664740376e+22, + 1.30881216394213e+22, + 1.314422342705763e+22, + 1.3197789061246051e+22, + 1.3248886174323657e+22, + 1.3297586128730192e+22, + 1.3343963209002081e+22, + 1.3388093879627758e+22, + 1.3430056111094628e+22, + 1.346992877420068e+22, + 1.3507791101021089e+22, + 1.3543722209725158e+22, + 1.357780068964261e+22, + 1.3610104242494855e+22, + 1.3640709375462973e+22, + 1.3669691141696002e+22, + 1.3697122923921422e+22, + 1.3723076256964368e+22, + 1.3747620685183359e+22, + 1.3770823651066085e+22, + 1.3792750411482818e+22, + 1.381346397835582e+22, + 1.3833025080762976e+22, + 1.3851492145747104e+22, + 1.3868921295346006e+22, + 1.3885366357589311e+22, + 1.3900878889426235e+22, + 1.3915508209752163e+22, + 1.3929301440891653e+22, + 1.3942303557071007e+22, + 1.3954557438575631e+22, + 1.3966103930436034e+22, + 1.3976981904622344e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22 + ], + "lo": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + }, + "sheet_charge_C_m2": { + "hi": [ + 1.5313001760320654e-11 + ], + "lo": [ + 2.392441012452526e-28 + ] + } + }, + "preparation": { + "N_A_m3": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "N_D_m3": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "boundary_phi_V": [ + 0.0, + -0.09499999999999964 + ], + "contact_n_m3": [ + 2515095827087.2163, + 2515095827087.2163 + ], + "contact_p_m3": [ + 2515095827087.2163, + 2515095827087.2163 + ], + "interface_nodes": [ + [ + 127, + 128 + ] + ], + "ion_background_m3": [ + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22 + ], + "log_n0": [ + 28.553332020975937, + 28.551049248875955, + 28.54862505616859, + 28.54605107069591, + 28.543318475164, + 28.54041799009738, + 28.53733985705989, + 28.534073822305203, + 28.530609121044165, + 28.52693446254159, + 28.523038016282243, + 28.518907399476745, + 28.5145296662088, + 28.509891298560092, + 28.504978200084025, + 28.499775692037815, + 28.49426851281916, + 28.488440821094684, + 28.482276203145545, + 28.475757684993937, + 28.46886774991202, + 28.461588361949055, + 28.45390099614181, + 28.4457866760998, + 28.437226019673375, + 28.428199293421358, + 28.418686476592598, + 28.40866733531783, + 28.39812150767696, + 28.38702860025265, + 28.37536829670941, + 28.363120478837203, + 28.35026536037455, + 28.336783633769812, + 28.32265662985384, + 28.307866490177673, + 28.292396351515976, + 28.276230541751687, + 28.259354786040234, + 28.2417564218064, + 28.22342462075838, + 28.204350615717658, + 28.184527929669713, + 28.16395260404761, + 28.142623422883673, + 28.120542129114938, + 28.097713629022763, + 28.074146180544034, + 28.0498515610237, + 28.02484520990896, + 27.999146341922255, + 27.97277802641483, + 27.945767228897722, + 27.918144811185016, + 27.88994548716144, + 27.86120773190089, + 27.83197364270228, + 27.802288751555892, + 27.772201789584415, + 27.74176440508694, + 27.711030837918685, + 27.680057554022284, + 27.648902844955217, + 27.617626398184456, + 27.58628884471503, + 27.55495129124455, + 27.52367484447069, + 27.49252013539845, + 27.461546851494887, + 27.430813284317452, + 27.40037589980895, + 27.37028893782454, + 27.340604046663543, + 27.311369957448647, + 27.282632202170248, + 27.254432878127375, + 27.226810460394034, + 27.1997996628551, + 27.173431347324737, + 27.147732479314186, + 27.12272612817472, + 27.098431508629005, + 27.07486406012424, + 27.052035560005635, + 27.029954266210098, + 27.00862508501919, + 26.988049759369943, + 26.968227073294884, + 26.949153068227105, + 26.930821267152226, + 26.91322290289176, + 26.896347147154017, + 26.880181337363865, + 26.86471119867673, + 26.84992105897564, + 26.835794055035336, + 26.822312328406838, + 26.809457209921078, + 26.797209392026446, + 26.78554908846141, + 26.774456181016035, + 26.763910353354817, + 26.753891212060438, + 26.744378395212777, + 26.7353516689426, + 26.726791012498694, + 26.718676692439914, + 26.710989326616613, + 26.703709938638298, + 26.69682000354169, + 26.69030148537604, + 26.684136867413514, + 26.678309175676276, + 26.672801996445486, + 26.66759948838768, + 26.662686389900642, + 26.658048022241474, + 26.65367028896361, + 26.649539672148705, + 26.645643225880434, + 26.64196856736936, + 26.638503866100308, + 26.635237831338003, + 26.63215969829332, + 26.62925921321991, + 26.626526617681577, + 26.623952632202787, + 26.62152843948968, + 30.485135602462208, + 30.482711409749072, + 30.48013742427031, + 30.47740482873195, + 30.474504343658538, + 30.471426210613856, + 30.46816017585155, + 30.4646954745825, + 30.461020816071454, + 30.457124369803182, + 30.45299375298825, + 30.448616019710414, + 30.443977652051217, + 30.43906455356418, + 30.4338620455064, + 30.428354866275583, + 30.422527174538374, + 30.416362556575848, + 30.4098440384102, + 30.40295410331359, + 30.395674715335275, + 30.387987349511917, + 30.379873029453194, + 30.37131237300929, + 30.36228564673911, + 30.35277282989145, + 30.342753688597043, + 30.332207860935824, + 30.32111495349045, + 30.309454649925414, + 30.29720683203081, + 30.28435171354505, + 30.27086998691655, + 30.25674298297622, + 30.24195284327513, + 30.226482704587994, + 30.21031689479784, + 30.193441139060127, + 30.175842774799662, + 30.157510973724754, + 30.138436968657004, + 30.118614282581916, + 30.098038956932697, + 30.076709775741733, + 30.054628481946253, + 30.031799981827646, + 30.008232533322882, + 29.98393791377717, + 29.958931562637673, + 29.933232694627122, + 29.90686437909679, + 29.879853581557853, + 29.852231163824484, + 29.82403183978164, + 29.79529408450321, + 29.766059995288344, + 29.73637510412732, + 29.706288142142938, + 29.675850757634407, + 29.64511719045703, + 29.61414390655341, + 29.58298919748117, + 29.55171275070734, + 29.52037519723686, + 29.489037643767375, + 29.45776119699667, + 29.426606487929604, + 29.395633204033203, + 29.36489963686489, + 29.334462252367445, + 29.304375290395996, + 29.274690399249607, + 29.24545631005097, + 29.216718554790447, + 29.18851923076687, + 29.160896813054165, + 29.13388601553703, + 29.107517700029604, + 29.081818832042956, + 29.05681248092816, + 29.032517861407854, + 29.008950412929096, + 28.98612191283692, + 28.964040619068186, + 28.94271143790425, + 28.922136112282175, + 28.9023134262342, + 28.88323942119348, + 28.86490762014546, + 28.847309255911625, + 28.8304335002002, + 28.814267690435912, + 28.798797551774214, + 28.78400741209805, + 28.769880408182075, + 28.75639868157731, + 28.743543563114656, + 28.731295745242477, + 28.71963544169921, + 28.708542534274926, + 28.69799670663403, + 28.68797756535929, + 28.67846474853053, + 28.669438022278513, + 28.660877365852087, + 28.652763045810076, + 28.645075680002833, + 28.637796292039837, + 28.63090635695795, + 28.624387838806285, + 28.618223220857175, + 28.612395529132726, + 28.606888349914044, + 28.601685841867834, + 28.596772743391796, + 28.59213437574303, + 28.587756642475142, + 28.583626025669616, + 28.579729579410298, + 28.576054920907694, + 28.572590219646685, + 28.56932418489197, + 28.566246051854506, + 28.563345566787888, + 28.560612971255978, + 28.55803898578327, + 28.555614793075904, + 28.553332020975937 + ], + "log_p0": [ + 28.553332020975937, + 28.555614793075932, + 28.5580389857833, + 28.560612971255978, + 28.563345566787888, + 28.566246051854506, + 28.56932418489197, + 28.572590219646685, + 28.576054920907694, + 28.579729579410326, + 28.583626025669645, + 28.587756642475114, + 28.592134375743086, + 28.596772743391796, + 28.601685841867834, + 28.606888349914044, + 28.612395529132726, + 28.618223220857175, + 28.624387838806314, + 28.63090635695798, + 28.637796292039866, + 28.645075680002833, + 28.652763045810104, + 28.660877365852087, + 28.669438022278513, + 28.6784647485305, + 28.68797756535929, + 28.697996706634058, + 28.708542534274898, + 28.71963544169924, + 28.731295745242477, + 28.743543563114656, + 28.756398681577338, + 28.769880408182047, + 28.78400741209802, + 28.798797551774214, + 28.814267690435912, + 28.8304335002002, + 28.847309255911654, + 28.864907620145487, + 28.883239421193508, + 28.90231342623423, + 28.922136112282175, + 28.94271143790428, + 28.964040619068214, + 28.98612191283695, + 29.008950412929124, + 29.032517861407854, + 29.056812480928215, + 29.081818832042956, + 29.107517700029632, + 29.13388601553703, + 29.160896813054165, + 29.18851923076687, + 29.216718554790475, + 29.24545631005097, + 29.27469039924958, + 29.304375290395996, + 29.3344622523675, + 29.364899636864948, + 29.395633204033174, + 29.426606487929575, + 29.457761196996643, + 29.489037643767432, + 29.520375197236888, + 29.55171275070734, + 29.582989197481226, + 29.614143906553437, + 29.645117190457, + 29.675850757634436, + 29.706288142142938, + 29.73637510412732, + 29.766059995288344, + 29.79529408450324, + 29.82403183978164, + 29.85223116382454, + 29.879853581557825, + 29.906864379096817, + 29.93323269462715, + 29.9589315626377, + 29.98393791377717, + 30.00823253332291, + 30.031799981827646, + 30.054628481946224, + 30.07670977574179, + 30.098038956932697, + 30.118614282581916, + 30.138436968657032, + 30.157510973724754, + 30.175842774799662, + 30.193441139060127, + 30.21031689479787, + 30.226482704588022, + 30.241952843275158, + 30.25674298297625, + 30.27086998691658, + 30.28435171354502, + 30.29720683203081, + 30.309454649925442, + 30.32111495349048, + 30.332207860935853, + 30.342753688597043, + 30.35277282989145, + 30.36228564673911, + 30.37131237300929, + 30.379873029453222, + 30.387987349511974, + 30.395674715335275, + 30.40295410331362, + 30.4098440384102, + 30.416362556575848, + 30.422527174538345, + 30.428354866275583, + 30.4338620455064, + 30.439064553564208, + 30.443977652051245, + 30.448616019710443, + 30.452993752988306, + 30.457124369803182, + 30.461020816071425, + 30.4646954745825, + 30.468160175851608, + 30.471426210613885, + 30.474504343658566, + 30.477404828731977, + 30.48013742427031, + 30.4827114097491, + 30.485135602462208, + 26.62152843948968, + 26.623952632202787, + 26.62652661768155, + 26.62925921321994, + 26.63215969829335, + 26.63523783133803, + 26.638503866100336, + 26.64196856736939, + 26.645643225880434, + 26.649539672148705, + 26.65367028896364, + 26.658048022241474, + 26.66268638990067, + 26.667599488387708, + 26.672801996445486, + 26.678309175676304, + 26.684136867413514, + 26.69030148537604, + 26.69682000354169, + 26.70370993863827, + 26.710989326616613, + 26.718676692439942, + 26.726791012498666, + 26.7353516689426, + 26.744378395212777, + 26.753891212060438, + 26.763910353354845, + 26.774456181016063, + 26.785549088461437, + 26.797209392026474, + 26.809457209921078, + 26.822312328406838, + 26.835794055035308, + 26.849921058975667, + 26.86471119867676, + 26.880181337363865, + 26.896347147154046, + 26.91322290289176, + 26.930821267152226, + 26.949153068227133, + 26.968227073294855, + 26.98804975936997, + 27.00862508501919, + 27.029954266210126, + 27.052035560005635, + 27.07486406012424, + 27.098431508628977, + 27.12272612817472, + 27.147732479314215, + 27.173431347324765, + 27.1997996628551, + 27.226810460394034, + 27.254432878127403, + 27.282632202170248, + 27.311369957448676, + 27.340604046663543, + 27.37028893782457, + 27.40037589980895, + 27.430813284317452, + 27.46154685149486, + 27.49252013539848, + 27.52367484447072, + 27.55495129124455, + 27.58628884471503, + 27.617626398184484, + 27.648902844955217, + 27.680057554022284, + 27.711030837918685, + 27.74176440508697, + 27.772201789584443, + 27.802288751555892, + 27.83197364270228, + 27.86120773190092, + 27.88994548716144, + 27.918144811185016, + 27.945767228897722, + 27.972778026414858, + 27.999146341922284, + 28.024845209908932, + 28.04985156102373, + 28.074146180544034, + 28.097713629022792, + 28.120542129114966, + 28.142623422883702, + 28.163952604047637, + 28.184527929669713, + 28.204350615717686, + 28.223424620758408, + 28.2417564218064, + 28.259354786040262, + 28.276230541751687, + 28.292396351515976, + 28.307866490177673, + 28.32265662985384, + 28.336783633769812, + 28.35026536037458, + 28.36312047883723, + 28.37536829670941, + 28.387028600252677, + 28.39812150767696, + 28.40866733531786, + 28.418686476592598, + 28.428199293421358, + 28.437226019673375, + 28.4457866760998, + 28.45390099614181, + 28.461588361949055, + 28.46886774991202, + 28.475757684993937, + 28.482276203145574, + 28.488440821094713, + 28.49426851281916, + 28.499775692037844, + 28.504978200084054, + 28.509891298560092, + 28.51452966620883, + 28.518907399476745, + 28.523038016282243, + 28.52693446254156, + 28.530609121044193, + 28.534073822305203, + 28.53733985705992, + 28.54041799009738, + 28.543318475164, + 28.54605107069591, + 28.548625056168618, + 28.551049248875984, + 28.553332020975937 + ], + "phi0_V": [ + 0.0, + -5.901422384117329e-05, + -0.00012168445319398998, + -0.00018822712508420754, + -0.0002588701841919243, + -0.000333853523514344, + -0.0004134294181420039, + -0.0004978629479231091, + -0.0005874324041833899, + -0.0006824296750075335, + -0.0007831606028717042, + -0.0008899453076450365, + -0.001003118467152762, + -0.0011230295466172376, + -0.0012500429673706068, + -0.0013845382042702485, + -0.0015269098002553294, + -0.0016775672854713588, + -0.0018369349873757304, + -0.0020054517172397282, + -0.0021835703175056595, + -0.0023717570535698503, + -0.00257049083277722, + -0.002780262232770108, + -0.0030015723208779996, + -0.0032349312460168657, + -0.003480856584642898, + -0.0037398714227378357, + -0.0040125021566575405, + -0.0042992759970217126, + -0.004600718161731926, + -0.004917348746748208, + -0.005249679266498931, + -0.005598208859805604, + -0.005963420162024397, + -0.006345774849774158, + -0.006745708871152653, + -0.007163627381726545, + -0.007599899414774799, + -0.008054852323189247, + -0.008528766039967916, + -0.009021867214206794, + -0.00953432328968477, + -0.01006623660327342, + -0.01061763859016804, + -0.011188484191961988, + -0.011778646571469209, + -0.012387912244508865, + -0.013015976743159824, + -0.013662440926837778, + -0.014326808056541332, + -0.015008481743408054, + -0.01570676487505197, + -0.01642085961186163, + -0.017149868530496853, + -0.017892796973355093, + -0.018648556641073954, + -0.019415970440650493, + -0.020193778575112266, + -0.020980645832639925, + -0.021775170004510458, + -0.022575891333185435, + -0.023381302865333867, + -0.024189861560571374, + -0.024999999986170973, + -0.025810138411797457, + -0.02661869710711543, + -0.02742410863939736, + -0.028224829968257963, + -0.02901935414036501, + -0.029806221398178477, + -0.030584029532973487, + -0.03135144333292852, + -0.0321072030010687, + -0.032850131444388454, + -0.03357914036352253, + -0.03429323510086539, + -0.03499151823307374, + -0.035673191920532914, + -0.03633755905085366, + -0.03698402323517029, + -0.03761208773447812, + -0.0382213534081896, + -0.03881151578838045, + -0.039382361390866774, + -0.03993376337845955, + -0.040465676692749336, + -0.040978132768928754, + -0.041471233943866904, + -0.041945147661340346, + -0.04240010057044292, + -0.042836372604170725, + -0.04325429111541382, + -0.0436542251374496, + -0.04403657982584334, + -0.04440179112869158, + -0.044750320722612154, + -0.04508265124296035, + -0.045399281828556966, + -0.0457007239938298, + -0.04598749783473847, + -0.04626012856918424, + -0.04651914340778662, + -0.046765068746901416, + -0.046998427672510355, + -0.04721973776106977, + -0.04742950916149579, + -0.04762824294111816, + -0.047816429677579535, + -0.04799454827822517, + -0.048163065008451814, + -0.048322432710702204, + -0.04847309019624808, + -0.048615461792547325, + -0.048749957029745966, + -0.04887697045078367, + -0.04899688153051836, + -0.04911005469028269, + -0.049216839395299555, + -0.049317570323394705, + -0.04941256759443781, + -0.049502137050905545, + -0.0495865705808831, + -0.049666146475696706, + -0.04974112981519505, + -0.049811772874469126, + -0.049878315546516616, + -0.04994098577601805, + -0.050059014223981596, + -0.05012168445348303, + -0.05018822712553052, + -0.0502588701848046, + -0.05033385352430294, + -0.05041342941911654, + -0.0504978629490941, + -0.050587432405561836, + -0.05068242967660494, + -0.05078316060470009, + -0.05088994530971695, + -0.05100311846948129, + -0.05112302954921597, + -0.05125004297025368, + -0.05138453820745232, + -0.05152690980375157, + -0.05167756728929745, + -0.05183693499154783, + -0.052005451721774475, + -0.05218357032242011, + -0.05237175705888148, + -0.052570490838503854, + -0.05278026223892988, + -0.05300157232748929, + -0.053234931253098236, + -0.05348085659221302, + -0.053739871430815406, + -0.05401250216526118, + -0.05429927600616984, + -0.05460071817144268, + -0.0549173487570393, + -0.05524967927738749, + -0.05559820887130806, + -0.05596342017415631, + -0.056345774862550047, + -0.05674570888458583, + -0.05716362739582892, + -0.05759989942955673, + -0.0580548523386593, + -0.05852876605613274, + -0.05902186723107089, + -0.059534323307250316, + -0.06006623662154009, + -0.06061763860913287, + -0.061188484211619196, + -0.06177864659181005, + -0.062387912265521525, + -0.06301597676482935, + -0.06366244094914597, + -0.06432680807946674, + -0.06500848176692592, + -0.06570676489913425, + -0.06642085963647712, + -0.0671498685556112, + -0.06789279699893094, + -0.06864855666707112, + -0.06941597046702616, + -0.07019377860182116, + -0.07098064585963464, + -0.07177517003174168, + -0.07257589136060229, + -0.07338130289288422, + -0.07418986158820219, + -0.07500000001382867, + -0.07581013843942826, + -0.07661869713466578, + -0.0774241086668142, + -0.0782248299954892, + -0.07901935416735972, + -0.07980622142488737, + -0.08058402955934915, + -0.08135144335892569, + -0.08210720302664455, + -0.08285013146950279, + -0.08357914038813802, + -0.08429323512494767, + -0.08499151825659158, + -0.08567319194345832, + -0.08633755907316186, + -0.08698402325683982, + -0.08761208775549079, + -0.08822135342853044, + -0.08881151580803766, + -0.0893823614098316, + -0.08993376339672624, + -0.09046567671031487, + -0.09097813278579285, + -0.09147123396003172, + -0.0919451476768104, + -0.09240010058522485, + -0.0928363726182731, + -0.09325429112884699, + -0.09365422515022548, + -0.09403657983797524, + -0.09440179114019405, + -0.09475032073350072, + -0.09508265125325144, + -0.09539928183826772, + -0.09570072400297792, + -0.0959874978433421, + -0.09626012857726181, + -0.09651914341535675, + -0.09676506875398279, + -0.09699842767912165, + -0.09721973776722953, + -0.09742950916722243, + -0.09762824294642979, + -0.09781642968249399, + -0.09799454828275993, + -0.09816306501262391, + -0.09832243271452829, + -0.0984730901997443, + -0.0986154617957294, + -0.09874995703262904, + -0.09887697045338241, + -0.09899688153284689, + -0.09911005469235461, + -0.09921683939712794, + -0.0993175703249921, + -0.09941256759581625, + -0.09950213705207653, + -0.09958657058185764, + -0.0996661464764853, + -0.09974112981580772, + -0.09981177287491544, + -0.09987831554680565, + -0.09994098577615847, + -0.09999999999999964 + ], + "poisson_capacitance_F_m2": [ + 0.75017404571579, + 0.7064109946762256, + 0.6653014944568102, + 0.6266849087920617, + 0.590410342534266, + 0.5563360520275734, + 0.5243288912413053, + 0.49426379149910127, + 0.4660232727703924, + 0.4394969846145307, + 0.4145812749841298, + 0.39117878520229893, + 0.369198069531688, + 0.34855323784813197, + 0.3291636200232019, + 0.31095345070385594, + 0.2938515732577741, + 0.27779116172718027, + 0.26270945970500414, + 0.24854753511284186, + 0.23525004992259865, + 0.22276504392192767, + 0.21104373167855206, + 0.20004031191017313, + 0.18971178851491888, + 0.18001780256316943, + 0.17092047459416174, + 0.16238425660115646, + 0.15437579312684066, + 0.14686379092615495, + 0.13981889668725767, + 0.13321358233280742, + 0.12702203745343213, + 0.12122006845295585, + 0.11578500401143077, + 0.11069560649643802, + 0.10593198897658829, + 0.10147553751290392, + 0.09730883842444564, + 0.09341561024397625, + 0.08978064009777696, + 0.086389724261008, + 0.08322961265634855, + 0.08028795707902932, + 0.07755326294595627, + 0.07501484438037558, + 0.07266278245657996, + 0.0704878864414875, + 0.06848165788165626, + 0.06663625739539021, + 0.06494447404018784, + 0.06339969713582182, + 0.0619958904329705, + 0.06072756852643374, + 0.059589775420800864, + 0.05857806516478559, + 0.057688484478576295, + 0.056917557306310415, + 0.05626227123330822, + 0.05572006571500012, + 0.05528882207153989, + 0.05496685520901951, + 0.054752907034926586, + 0.0546461415421221, + 0.0546461415421221, + 0.054752907034926586, + 0.05496685520901951, + 0.05528882207153989, + 0.05572006571500012, + 0.05626227123330846, + 0.05691755730631017, + 0.057688484478576295, + 0.05857806516478559, + 0.059589775420800864, + 0.06072756852643374, + 0.0619958904329705, + 0.06339969713582182, + 0.06494447404018752, + 0.06663625739539088, + 0.06848165788165556, + 0.0704878864414875, + 0.07266278245658016, + 0.07501484438037621, + 0.07755326294595559, + 0.08028795707902908, + 0.08322961265634855, + 0.08638972426100855, + 0.08978064009777666, + 0.09341561024397593, + 0.09730883842444671, + 0.10147553751290353, + 0.10593198897658912, + 0.11069560649643802, + 0.11578500401143002, + 0.12122006845295667, + 0.12702203745343182, + 0.13321358233280645, + 0.13981889668725767, + 0.14686379092615656, + 0.15437579312684066, + 0.162384256601154, + 0.17092047459416146, + 0.18001780256316613, + 0.18971178851492493, + 0.20004031191017202, + 0.2110437316785508, + 0.2227650439219323, + 0.2352500499225909, + 0.24854753511284822, + 0.2627094597050022, + 0.2777911617271727, + 0.293851573257779, + 0.3109534507038613, + 0.32916362002319277, + 0.3485532378481382, + 0.3691980695316899, + 0.3911787852022882, + 0.41458127498413294, + 0.4394969846145519, + 0.4660232727703929, + 0.49426379149909444, + 0.5243288912412835, + 0.5563360520275673, + 0.5904103425342505, + 0.6266849087921119, + 0.6653014944567798, + 0.7064109946762493, + 0.3750870228578949, + 0.7064109946762493, + 0.6653014944567798, + 0.6266849087920532, + 0.5904103425343027, + 0.5563360520275673, + 0.5243288912412835, + 0.49426379149909444, + 0.4660232727703929, + 0.4394969846145519, + 0.41458127498413294, + 0.3911787852022882, + 0.3691980695316899, + 0.3485532378481382, + 0.32916362002319277, + 0.3109534507038613, + 0.29385157325776606, + 0.2777911617271842, + 0.2627094597050022, + 0.24854753511284822, + 0.23525004992259918, + 0.2227650439219249, + 0.2110437316785508, + 0.20004031191017202, + 0.18971178851491954, + 0.18001780256317096, + 0.17092047459416146, + 0.162384256601154, + 0.15437579312684066, + 0.14686379092615656, + 0.13981889668725767, + 0.13321358233280645, + 0.12702203745343424, + 0.12122006845295448, + 0.11578500401143002, + 0.11069560649643802, + 0.10593198897658912, + 0.10147553751290353, + 0.09730883842444671, + 0.09341561024397593, + 0.08978064009777666, + 0.08638972426100744, + 0.0832296126563496, + 0.08028795707902908, + 0.07755326294595559, + 0.07501484438037537, + 0.07266278245658095, + 0.0704878864414875, + 0.06848165788165626, + 0.06663625739538954, + 0.06494447404018752, + 0.06339969713582243, + 0.0619958904329705, + 0.060727568526433184, + 0.0595897754208014, + 0.05857806516478559, + 0.057688484478576295, + 0.05691755730631017, + 0.05626227123330846, + 0.055720065715000586, + 0.05528882207153898, + 0.05496685520901974, + 0.05475290703492636, + 0.054646141542122544, + 0.054646141542122544, + 0.05475290703492636, + 0.05496685520901974, + 0.05528882207153898, + 0.055720065715000586, + 0.05626227123330846, + 0.05691755730631017, + 0.057688484478576295, + 0.05857806516478559, + 0.0595897754208014, + 0.060727568526433184, + 0.0619958904329705, + 0.06339969713582243, + 0.06494447404018626, + 0.06663625739539221, + 0.06848165788165486, + 0.0704878864414875, + 0.07266278245658095, + 0.07501484438037537, + 0.07755326294595559, + 0.08028795707902908, + 0.0832296126563496, + 0.08638972426100744, + 0.08978064009777786, + 0.09341561024397463, + 0.0973088384244453, + 0.10147553751290507, + 0.10593198897658912, + 0.11069560649643802, + 0.11578500401143203, + 0.12122006845295227, + 0.12702203745343424, + 0.13321358233280645, + 0.13981889668725472, + 0.14686379092615978, + 0.15437579312684066, + 0.16238425660115793, + 0.1709204745941571, + 0.18001780256316613, + 0.18971178851492493, + 0.200040311910178, + 0.21104373167854415, + 0.22276504392193971, + 0.23525004992257434, + 0.24854753511284822, + 0.26270945970502285, + 0.2777911617271612, + 0.2938515732577919, + 0.3109534507038469, + 0.32916362002319277, + 0.34855323784812003, + 0.36919806953171025, + 0.3911787852023111, + 0.41458127498413294, + 0.4394969846145519, + 0.46602327277036043, + 0.49426379149913097, + 0.5243288912412013, + 0.5563360520276136, + 0.5904103425343027, + 0.6266849087920532, + 0.6653014944567798, + 0.7064109946763238, + 0.7501740457157058 + ], + "poisson_width_m": [ + 1.2168445327999375e-10, + 1.2921290133435793e-10, + 1.3718573109489092e-10, + 1.456263985330553e-10, + 1.5455923405930657e-10, + 1.6400942452466372e-10, + 1.7400298616433713e-10, + 1.8456672721482707e-10, + 1.9572819882658635e-10, + 2.0751563278408056e-10, + 2.1995786443639556e-10, + 2.330842391367742e-10, + 2.4692450039214606e-10, + 2.615086578375502e-10, + 2.768668330800304e-10, + 2.930290814077334e-10, + 3.1002518733890237e-10, + 3.2788443199932904e-10, + 3.4663533037393737e-10, + 3.6630533658778285e-10, + 3.869205155434871e-10, + 4.0850517948706975e-10, + 4.310814884031017e-10, + 4.546690135652088e-10, + 4.79284264100096e-10, + 5.049401770735207e-10, + 5.316455723851334e-10, + 5.594045746728763e-10, + 5.882160054824251e-10, + 6.180727501540692e-10, + 6.489611052145571e-10, + 6.808601135253143e-10, + 7.137408960140655e-10, + 7.47565990478061e-10, + 7.822887096588038e-10, + 8.178525325040014e-10, + 8.54190544194725e-10, + 8.912249420559998e-10, + 9.288666258067398e-10, + 9.670148916509131e-10, + 1.005557250369215e-09, + 1.0443693897370093e-09, + 1.0833153011705004e-09, + 1.1222475893912312e-09, + 1.1610079820176118e-09, + 1.1994280532751899e-09, + 1.23733017242863e-09, + 1.2745286830742073e-09, + 1.3108313141313866e-09, + 1.3460408173217914e-09, + 1.3799568192605954e-09, + 1.4123778691985396e-09, + 1.443103656181209e-09, + 1.4719373622173193e-09, + 1.4986881112844911e-09, + 1.523173467982208e-09, + 1.5452219347003404e-09, + 1.5646753926224425e-09, + 1.5813914299979714e-09, + 1.5952455011079117e-09, + 1.6061328613443997e-09, + 1.6139702278616839e-09, + 1.6186971212639917e-09, + 1.6202768516007768e-09, + 1.6186971212639917e-09, + 1.6139702278616839e-09, + 1.6061328613443997e-09, + 1.5952455011079117e-09, + 1.5813914299979714e-09, + 1.5646753926224425e-09, + 1.5452219347003404e-09, + 1.523173467982208e-09, + 1.4986881112844845e-09, + 1.4719373622173193e-09, + 1.4431036561812155e-09, + 1.4123778691985462e-09, + 1.379956819260592e-09, + 1.346040817321788e-09, + 1.31083131413138e-09, + 1.2745286830742205e-09, + 1.2373301724286366e-09, + 1.19942805327517e-09, + 1.1610079820176184e-09, + 1.1222475893912378e-09, + 1.083315301170507e-09, + 1.0443693897369927e-09, + 1.0055572503692116e-09, + 9.670148916509198e-10, + 9.288666258067464e-10, + 8.91224942055985e-10, + 8.541905441947299e-10, + 8.178525325039981e-10, + 7.822887096588004e-10, + 7.475659904780676e-10, + 7.137408960140556e-10, + 6.808601135253242e-10, + 6.48961105214567e-10, + 6.180727501540659e-10, + 5.882160054824152e-10, + 5.59404574672873e-10, + 5.316455723851383e-10, + 5.049401770735323e-10, + 4.792842641000936e-10, + 4.546690135651964e-10, + 4.3108148840310337e-10, + 4.0850517948706727e-10, + 3.869205155434962e-10, + 3.663053365877845e-10, + 3.4663533037393406e-10, + 3.278844319993274e-10, + 3.1002518733890444e-10, + 2.930290814077417e-10, + 2.7686683308002504e-10, + 2.6150865783754524e-10, + 2.46924500392156e-10, + 2.3308423913676347e-10, + 2.1995786443640466e-10, + 2.0751563278407477e-10, + 1.9572819882657477e-10, + 1.845667272148283e-10, + 1.740029861643485e-10, + 1.6400942452466144e-10, + 1.545592340593227e-10, + 1.4562639853305157e-10, + 1.3718573109488172e-10, + 1.2921290133435225e-10, + 1.8069867716288167e-10, + 1.8069867716288167e-10, + 1.2921290133435225e-10, + 1.3718573109489495e-10, + 1.4562639853305157e-10, + 1.5455923405930946e-10, + 1.6400942452466144e-10, + 1.740029861643485e-10, + 1.845667272148283e-10, + 1.9572819882657477e-10, + 2.0751563278407477e-10, + 2.1995786443640466e-10, + 2.3308423913676347e-10, + 2.46924500392156e-10, + 2.6150865783754524e-10, + 2.7686683308002504e-10, + 2.930290814077417e-10, + 3.1002518733890444e-10, + 3.278844319993274e-10, + 3.4663533037393406e-10, + 3.663053365877845e-10, + 3.8692051554348296e-10, + 4.085051794870805e-10, + 4.3108148840310337e-10, + 4.5466901356520963e-10, + 4.792842641000936e-10, + 5.04940177073519e-10, + 5.316455723851383e-10, + 5.59404574672873e-10, + 5.882160054824152e-10, + 6.180727501540659e-10, + 6.48961105214567e-10, + 6.808601135253109e-10, + 7.137408960140689e-10, + 7.475659904780676e-10, + 7.822887096588004e-10, + 8.178525325039981e-10, + 8.541905441947299e-10, + 8.91224942055985e-10, + 9.288666258067464e-10, + 9.670148916509198e-10, + 1.0055572503692116e-09, + 1.0443693897370192e-09, + 1.0833153011704673e-09, + 1.122247589391251e-09, + 1.1610079820176184e-09, + 1.1994280532751965e-09, + 1.2373301724286234e-09, + 1.2745286830741808e-09, + 1.3108313141314065e-09, + 1.346040817321788e-09, + 1.3799568192606186e-09, + 1.412377869198533e-09, + 1.4431036561812023e-09, + 1.4719373622173193e-09, + 1.4986881112844977e-09, + 1.523173467982208e-09, + 1.545221934700314e-09, + 1.564675392622469e-09, + 1.5813914299979515e-09, + 1.5952455011079183e-09, + 1.606132861344413e-09, + 1.6139702278616839e-09, + 1.6186971212639851e-09, + 1.6202768516007636e-09, + 1.6186971212639851e-09, + 1.6139702278616839e-09, + 1.606132861344413e-09, + 1.5952455011079183e-09, + 1.5813914299979515e-09, + 1.564675392622469e-09, + 1.545221934700314e-09, + 1.523173467982208e-09, + 1.4986881112844977e-09, + 1.4719373622173193e-09, + 1.4431036561812023e-09, + 1.412377869198533e-09, + 1.3799568192606186e-09, + 1.346040817321788e-09, + 1.31083131413138e-09, + 1.2745286830742073e-09, + 1.2373301724286234e-09, + 1.1994280532751965e-09, + 1.1610079820176184e-09, + 1.122247589391251e-09, + 1.0833153011704673e-09, + 1.0443693897370192e-09, + 1.0055572503692116e-09, + 9.670148916509198e-10, + 9.288666258067464e-10, + 8.91224942055985e-10, + 8.541905441947299e-10, + 8.178525325039848e-10, + 7.822887096588137e-10, + 7.475659904780676e-10, + 7.137408960140821e-10, + 6.808601135253109e-10, + 6.489611052145538e-10, + 6.180727501540659e-10, + 5.882160054824152e-10, + 5.59404574672873e-10, + 5.316455723851383e-10, + 5.04940177073519e-10, + 4.7928426410012e-10, + 4.5466901356518316e-10, + 4.3108148840310337e-10, + 4.0850517948706727e-10, + 3.869205155434962e-10, + 3.6630533658779774e-10, + 3.4663533037392083e-10, + 3.278844319993274e-10, + 3.1002518733890444e-10, + 2.930290814077152e-10, + 2.768668330800515e-10, + 2.6150865783754524e-10, + 2.46924500392156e-10, + 2.3308423913676347e-10, + 2.1995786443639143e-10, + 2.0751563278407477e-10, + 1.95728198826588e-10, + 1.845667272148283e-10, + 1.740029861643485e-10, + 1.6400942452466144e-10, + 1.545592340593227e-10, + 1.4562639853305157e-10, + 1.3718573109489495e-10, + 1.29212901334339e-10, + 1.2168445327999169e-10 + ], + "sheet_weights": [ + [ + 0.5, + 0.5 + ] + ], + "thermal_voltage_V": 0.025851999786435535 + }, + "schema": "R1IndependentPoissonInputsV1", + "seed_phi_V": { + "hi": [ + 0.0, + -6.295122400695062e-05, + -0.00012969230926562149, + -0.0002004336413874064, + -0.0002753950215835266, + -0.00035480579403582844, + -0.000438904931293127, + -0.00052794107076992, + -0.0006221724948323855, + -0.0007218670463701068, + -0.000827301971184351, + -0.0009387636779915154, + -0.001056547406363685, + -0.0011809567925302055, + -0.0013123033226725474, + -0.0014509056631900885, + -0.0015970888574323783, + -0.0017511833786223682, + -0.0019135240291775638, + -0.002084448677416383, + -0.002264296823762096, + -0.002453407990072832, + -0.002652119927678428, + -0.002860766642133973, + -0.003079676235639584, + -0.0033091685715496205, + -0.0035495527694104855, + -0.003801124543514702, + -0.004064163403006004, + -0.004338929737054011, + -0.004625661814443343, + -0.004924572732960135, + -0.005235847360039204, + -0.005559639312048131, + -0.005896068025081853, + -0.0062452159749378485, + -0.006607126107724502, + -0.006981799544988446, + -0.00736919362798975, + -0.007769220364473934, + -0.008181745337684584, + -0.008606587131180954, + -0.00904351731410371, + -0.0094922610198112, + -0.009952498136370329, + -0.010423865110477673, + -0.010905957347441033, + -0.011398332169496405, + -0.01190051227378651, + -0.012411989610765716, + -0.012932229584727232, + -0.013460675461739307, + -0.013996752857685129, + -0.014539874171386918, + -0.015089442825837868, + -0.015644857184978066, + -0.016205514024507393, + -0.016770811452811733, + -0.017340151201651274, + -0.017912940234865123, + -0.018488591655644218, + -0.01906652492725899, + -0.01964616545662361, + -0.020226943622763144, + -0.020808293361188786, + -0.021389650438622135, + -0.02197045056899097, + -0.022550127530112395, + -0.023128111440445562, + -0.023703827346735935, + -0.024276694256824254, + -0.024846124728394262, + -0.025411525095440424, + -0.025972296381519308, + -0.02652783591435426, + -0.02707753962207857, + -0.027620804959212777, + -0.028157034382031532, + -0.028685639269609833, + -0.02920604416947072, + -0.029717691235879782, + -0.030220044724515168, + -0.030712595409172077, + -0.031194864793707013, + -0.031666409004723124, + -0.03212682226652276, + -0.032575739878513865, + -0.033012840635455204, + -0.03343784865162138, + -0.033850534570220685, + -0.03425071615840583, + -0.03463825830533361, + -0.035013072455483914, + -0.03537511552154088, + -0.03572438833043371, + -0.03606093366264446, + -0.03638483394874974, + -0.036696208688607436, + -0.036995211657928004, + -0.03728202796452802, + -0.03755687101270866, + -0.037819979429290246, + -0.038071613999199526, + -0.03831205465245021, + -0.038541597538141834, + -0.038760552214945086, + -0.03896923898161738, + -0.03916798636553321, + -0.03935712878211278, + -0.03953700437344911, + -0.039707953030399284, + -0.03987031459892537, + -0.04002442726853476, + -0.04017062613824972, + -0.040309241953597905, + -0.04044060000661523, + -0.04056501918974424, + -0.04068281119374688, + -0.040794279839283625, + -0.040899720531595844, + -0.0409994198277225, + -0.04109365510584761, + -0.041182694326675554, + -0.04126679587713656, + -0.04134620848720775, + -0.041421171211171934, + -0.041491913465207995, + -0.04155865511379599, + -0.04168465835363574, + -0.04175156301411532, + -0.04182260176594623, + -0.04189801795531659, + -0.041978067684042, + -0.042063020272650645, + -0.04215315871160572, + -0.042248780095506096, + -0.04235019603439998, + -0.04245773303558157, + -0.04257173284841673, + -0.04269255276386289, + -0.042820565859412664, + -0.042956161179205934, + -0.04309974383802731, + -0.04325173503684623, + -0.043412571976477035, + -0.04358270765485389, + -0.04376261053235075, + -0.04395276404855476, + -0.044153665972954045, + -0.04436582757116206, + -0.04458977256761503, + -0.04482603588519158, + -0.04507516214197105, + -0.04533770388542851, + -0.04561421954482589, + -0.045905271083470714, + -0.046211421333951466, + -0.04653323100149666, + -0.0468712553233196, + -0.04722604037527457, + -0.047598119021427854, + -0.04798800650729282, + -0.048396195703529106, + -0.04882315201387958, + -0.04926930796900099, + -0.049735057536592436, + -0.050220750187752544, + -0.05072668476967237, + -0.05125310324541446, + -0.05180018437240639, + -0.05236803740209855, + -0.05295669589366088, + -0.053566111744228304, + -0.05419614954662038, + -0.05484658139219592, + -0.05551708224108724, + -0.056207225984028275, + -0.056916482318916745, + -0.05764421456076055, + -0.05838967849547131, + -0.05915202237591239, + -0.0599302881426581, + -0.06072341393220617, + -0.061530237912214535, + -0.062349503457192805, + -0.06317986564963335, + -0.06401989906163712, + -0.06486810674163092, + -0.06572293030083345, + -0.0665827609657994, + -0.0674459514377414, + -0.06831082837741567, + -0.06917570531705983, + -0.07003889578891169, + -0.07089872645372808, + -0.07175355001272263, + -0.07260175769245139, + -0.07344179110413478, + -0.0742721532962017, + -0.07509141884075547, + -0.07589824282029113, + -0.07669136860932123, + -0.07746963437550682, + -0.07823197825534894, + -0.07897744218942539, + -0.07970517443060308, + -0.08041443076479722, + -0.08110457450701944, + -0.08177507535517106, + -0.08242550719998964, + -0.08305554500161104, + -0.0836649608513975, + -0.08425361934217193, + -0.08482147237107238, + -0.0853685534972718, + -0.08589497197222343, + -0.08640090655335746, + -0.08688659920373885, + -0.0873523487705609, + -0.08779850472492423, + -0.08822546103452977, + -0.08863365023003586, + -0.08902353771518674, + -0.08939561636064328, + -0.08975040141191985, + -0.09008842573308357, + -0.09041023539998938, + -0.09071638564985111, + -0.09100743718789764, + -0.0912839528467177, + -0.09154649458961892, + -0.09179562084586318, + -0.0920318841629255, + -0.09225582915888504, + -0.09246799075662011, + -0.09266889268056669, + -0.09285904619633777, + -0.09303894907342102, + -0.09320908475140317, + -0.09336992169065761, + -0.09352191288911797, + -0.09366549554759805, + -0.09380109086706669, + -0.09392910396230789, + -0.09404992387746096, + -0.09416392369001793, + -0.09427146069093562, + -0.0943728766295793, + -0.09446849801324257, + -0.09455863645197313, + -0.0946435890403692, + -0.09472363876889348, + -0.09479905495807361, + -0.09487009370972467, + -0.09493699837003429, + -0.09499999999999964 + ], + "lo": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + }, + "seed_provenance": "same_diagnostics_call_legacy_potential_eliminated_channel" + }, + "schema": "R1GlobalIonReferenceInputsV1" + }, + "inputs_sha256": "27b99212a40b48e8acd2638816bf46a42e62f76993eedf5c393d3d3034a43cc6", + "ion_constitutive_implementation": "independent_DD_SG_and_explicit_boundary_FV_divergence", + "poisson": { + "converged": true, + "fixed_input_digest": "5602ccf5856a50c5a22eddc2674bdbf0631c7dc32addb660643042238603d366", + "iterations": 2, + "kind": "independent_fixed_qf_poisson", + "last_correction_max_abs_V": 7.942605894037772e-31, + "poisson_residual_max_abs_C_m2": 4.049438470509961e-34, + "seed_phi_V": { + "hi": [ + 0.0, + -6.295122400695062e-05, + -0.00012969230926562149, + -0.0002004336413874064, + -0.0002753950215835266, + -0.00035480579403582844, + -0.000438904931293127, + -0.00052794107076992, + -0.0006221724948323855, + -0.0007218670463701068, + -0.000827301971184351, + -0.0009387636779915154, + -0.001056547406363685, + -0.0011809567925302055, + -0.0013123033226725474, + -0.0014509056631900885, + -0.0015970888574323783, + -0.0017511833786223682, + -0.0019135240291775638, + -0.002084448677416383, + -0.002264296823762096, + -0.002453407990072832, + -0.002652119927678428, + -0.002860766642133973, + -0.003079676235639584, + -0.0033091685715496205, + -0.0035495527694104855, + -0.003801124543514702, + -0.004064163403006004, + -0.004338929737054011, + -0.004625661814443343, + -0.004924572732960135, + -0.005235847360039204, + -0.005559639312048131, + -0.005896068025081853, + -0.0062452159749378485, + -0.006607126107724502, + -0.006981799544988446, + -0.00736919362798975, + -0.007769220364473934, + -0.008181745337684584, + -0.008606587131180954, + -0.00904351731410371, + -0.0094922610198112, + -0.009952498136370329, + -0.010423865110477673, + -0.010905957347441033, + -0.011398332169496405, + -0.01190051227378651, + -0.012411989610765716, + -0.012932229584727232, + -0.013460675461739307, + -0.013996752857685129, + -0.014539874171386918, + -0.015089442825837868, + -0.015644857184978066, + -0.016205514024507393, + -0.016770811452811733, + -0.017340151201651274, + -0.017912940234865123, + -0.018488591655644218, + -0.01906652492725899, + -0.01964616545662361, + -0.020226943622763144, + -0.020808293361188786, + -0.021389650438622135, + -0.02197045056899097, + -0.022550127530112395, + -0.023128111440445562, + -0.023703827346735935, + -0.024276694256824254, + -0.024846124728394262, + -0.025411525095440424, + -0.025972296381519308, + -0.02652783591435426, + -0.02707753962207857, + -0.027620804959212777, + -0.028157034382031532, + -0.028685639269609833, + -0.02920604416947072, + -0.029717691235879782, + -0.030220044724515168, + -0.030712595409172077, + -0.031194864793707013, + -0.031666409004723124, + -0.03212682226652276, + -0.032575739878513865, + -0.033012840635455204, + -0.03343784865162138, + -0.033850534570220685, + -0.03425071615840583, + -0.03463825830533361, + -0.035013072455483914, + -0.03537511552154088, + -0.03572438833043371, + -0.03606093366264446, + -0.03638483394874974, + -0.036696208688607436, + -0.036995211657928004, + -0.03728202796452802, + -0.03755687101270866, + -0.037819979429290246, + -0.038071613999199526, + -0.03831205465245021, + -0.038541597538141834, + -0.038760552214945086, + -0.03896923898161738, + -0.03916798636553321, + -0.03935712878211278, + -0.03953700437344911, + -0.039707953030399284, + -0.03987031459892537, + -0.04002442726853476, + -0.04017062613824972, + -0.040309241953597905, + -0.04044060000661523, + -0.04056501918974424, + -0.04068281119374688, + -0.040794279839283625, + -0.040899720531595844, + -0.0409994198277225, + -0.04109365510584761, + -0.041182694326675554, + -0.04126679587713656, + -0.04134620848720775, + -0.041421171211171934, + -0.041491913465207995, + -0.04155865511379599, + -0.04168465835363574, + -0.04175156301411532, + -0.04182260176594623, + -0.04189801795531659, + -0.041978067684042, + -0.042063020272650645, + -0.04215315871160572, + -0.042248780095506096, + -0.04235019603439998, + -0.04245773303558157, + -0.04257173284841673, + -0.04269255276386289, + -0.042820565859412664, + -0.042956161179205934, + -0.04309974383802731, + -0.04325173503684623, + -0.043412571976477035, + -0.04358270765485389, + -0.04376261053235075, + -0.04395276404855476, + -0.044153665972954045, + -0.04436582757116206, + -0.04458977256761503, + -0.04482603588519158, + -0.04507516214197105, + -0.04533770388542851, + -0.04561421954482589, + -0.045905271083470714, + -0.046211421333951466, + -0.04653323100149666, + -0.0468712553233196, + -0.04722604037527457, + -0.047598119021427854, + -0.04798800650729282, + -0.048396195703529106, + -0.04882315201387958, + -0.04926930796900099, + -0.049735057536592436, + -0.050220750187752544, + -0.05072668476967237, + -0.05125310324541446, + -0.05180018437240639, + -0.05236803740209855, + -0.05295669589366088, + -0.053566111744228304, + -0.05419614954662038, + -0.05484658139219592, + -0.05551708224108724, + -0.056207225984028275, + -0.056916482318916745, + -0.05764421456076055, + -0.05838967849547131, + -0.05915202237591239, + -0.0599302881426581, + -0.06072341393220617, + -0.061530237912214535, + -0.062349503457192805, + -0.06317986564963335, + -0.06401989906163712, + -0.06486810674163092, + -0.06572293030083345, + -0.0665827609657994, + -0.0674459514377414, + -0.06831082837741567, + -0.06917570531705983, + -0.07003889578891169, + -0.07089872645372808, + -0.07175355001272263, + -0.07260175769245139, + -0.07344179110413478, + -0.0742721532962017, + -0.07509141884075547, + -0.07589824282029113, + -0.07669136860932123, + -0.07746963437550682, + -0.07823197825534894, + -0.07897744218942539, + -0.07970517443060308, + -0.08041443076479722, + -0.08110457450701944, + -0.08177507535517106, + -0.08242550719998964, + -0.08305554500161104, + -0.0836649608513975, + -0.08425361934217193, + -0.08482147237107238, + -0.0853685534972718, + -0.08589497197222343, + -0.08640090655335746, + -0.08688659920373885, + -0.0873523487705609, + -0.08779850472492423, + -0.08822546103452977, + -0.08863365023003586, + -0.08902353771518674, + -0.08939561636064328, + -0.08975040141191985, + -0.09008842573308357, + -0.09041023539998938, + -0.09071638564985111, + -0.09100743718789764, + -0.0912839528467177, + -0.09154649458961892, + -0.09179562084586318, + -0.0920318841629255, + -0.09225582915888504, + -0.09246799075662011, + -0.09266889268056669, + -0.09285904619633777, + -0.09303894907342102, + -0.09320908475140317, + -0.09336992169065761, + -0.09352191288911797, + -0.09366549554759805, + -0.09380109086706669, + -0.09392910396230789, + -0.09404992387746096, + -0.09416392369001793, + -0.09427146069093562, + -0.0943728766295793, + -0.09446849801324257, + -0.09455863645197313, + -0.0946435890403692, + -0.09472363876889348, + -0.09479905495807361, + -0.09487009370972467, + -0.09493699837003429, + -0.09499999999999964 + ], + "lo": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + }, + "seed_provenance": "same_diagnostics_call_legacy_potential_eliminated_channel", + "solve_inputs_digest": "9588c6e77e7ad4b969ccd76a4fa8ff9ca838aafca4f99d6422faa3cbb480a90d", + "solved_fields_digest": "d6754e551a628e87c6b8d03574f15636223be40bc231773990f01ee1e3c8cb72", + "used_direct_phi": false + }, + "representation_boundary": { + "backend": "float64-baseline", + "constitutive_minus_constraint_phi_V": { + "hi": [ + 0.0, + -3.9916300902784674e-21, + 1.2478834684695876e-20, + -1.1107444585502974e-20, + 1.5677515755624272e-20, + -4.4362355539011555e-21, + -1.4078806616546632e-20, + 9.954333338517371e-21, + -4.3352151803922035e-20, + 2.0618872533408127e-20, + 1.1575481962995868e-20, + 6.2292342656214656e-21, + 9.632768390712265e-20, + -1.0840183975927895e-19, + 2.7504692435412614e-21, + 3.545555804660559e-20, + -4.279923992512924e-20, + 7.347722649707069e-20, + 2.199127352657535e-20, + 1.2976687728256235e-19, + -1.4938523536251317e-19, + 1.4159940472494583e-19, + -1.5965006513528304e-19, + 1.948534339815535e-19, + 1.2115069489397006e-19, + -4.4584613721024145e-20, + -2.0527680433575725e-19, + -7.340957986534854e-20, + 3.6721431937153855e-19, + 2.2117639926035437e-19, + -1.5895033780148553e-19, + 2.1620113286888827e-21, + 4.160883153221055e-19, + -9.399333386702104e-20, + 4.1588169192557725e-19, + -8.368595290557355e-20, + -3.87905614546392e-20, + 5.377471997292349e-20, + 1.2302381697303346e-19, + -1.8704388339823747e-19, + 1.7342165695804746e-19, + 3.336195267111719e-19, + 6.5586813444011315e-19, + 8.069449688969391e-20, + -5.1187423659978474e-21, + 1.0266020123901921e-20, + 5.262528495901925e-19, + 3.2441304234847346e-19, + -7.059785552018588e-19, + 1.155954943486445e-21, + 6.941908929935585e-19, + -7.7295889324827125e-19, + -2.4523243099343952e-21, + 5.870226728197508e-20, + 2.3667314334799623e-19, + -3.8562184738798447e-19, + -9.690404989415564e-19, + -1.4360950809842677e-18, + 8.533712892292247e-19, + 1.6524253375707074e-18, + -4.314089395569728e-19, + 2.9208603834832113e-19, + -6.254383831907654e-20, + -1.4295755168823341e-18, + -1.1451877431002184e-18, + -9.346775015091369e-19, + 1.1085568907123985e-18, + -1.4079760019577337e-18, + 1.5275303523066578e-18, + 9.149785349630162e-19, + -1.117499638994808e-18, + 9.700195322940618e-19, + -1.8579909255173082e-19, + 1.3325121528793504e-18, + -3.639923303040917e-19, + -3.5132548403376693e-19, + -8.279721658037496e-19, + 7.499986197223239e-19, + -7.824465310374828e-19, + -4.968386210385364e-19, + -9.873966067684414e-19, + -1.1248479528776543e-18, + -1.7670558820944134e-19, + 1.1958265772211017e-18, + -4.473938548543033e-19, + 1.091795079555773e-18, + -2.7929582816942907e-18, + 2.6887815535619792e-18, + -1.120213302001e-18, + 7.379036786441195e-19, + -1.3429644118520615e-19, + 2.120474259670702e-18, + 2.4493559571140358e-18, + -2.3926988277112272e-18, + 1.0715604954120337e-18, + -1.8594668295322274e-18, + 1.9937211577625196e-18, + 1.1166258949429006e-18, + -2.5279531723944496e-18, + -1.4327764467800003e-18, + -2.0357460859399612e-18, + -3.355375678567225e-18, + -2.4744808456303573e-18, + 3.1486919832028315e-18, + -5.635760307233291e-19, + 2.2967186350751657e-18, + 3.2069974858503884e-18, + -1.222433466237948e-18, + -1.919520697622503e-18, + 2.7896729967428457e-18, + -1.883918578737063e-18, + -1.682607232855834e-18, + -1.0777561074669476e-18, + -6.403153018013368e-19, + -2.2834276739469886e-19, + 2.6184715191288266e-18, + 1.121306295542909e-18, + 2.2948819159603497e-18, + 4.959300675100336e-19, + -1.810052272287155e-18, + -5.271162986712167e-19, + 1.816620906072375e-18, + -6.817562423822713e-19, + -1.8871291151044922e-18, + 1.7352433620097416e-18, + -6.121012402137391e-19, + 4.82118568583134e-19, + -1.8733212004221605e-18, + -1.8281259010628783e-18, + 2.698939395624803e-18, + -2.655600970332892e-18, + -2.8474208781635803e-18, + -6.221027280491101e-19, + -2.852850272331734e-18, + 1.1474101374764893e-19, + 2.646704864406207e-19, + -1.7607228946998332e-18, + -2.4724127855732187e-18, + 9.871580795610696e-19, + -3.23965127954083e-18, + 2.209259386389089e-18, + -1.7441799295319783e-18, + -6.999968929772677e-19, + 2.9330329536757844e-18, + 1.6789981896853574e-18, + -1.1324974883736478e-18, + -2.4641998824256338e-18, + 3.044524918790807e-18, + 2.295131804027811e-18, + -1.9805876907518355e-18, + 1.526089833984241e-18, + 1.9470086387085755e-18, + -3.3856142981086075e-18, + 3.069360770370792e-18, + 2.8458445170478494e-18, + 8.4930065495263475e-19, + -1.2723886754163555e-18, + 3.1375447214929564e-18, + 2.1772129653638406e-18, + 1.8773334855354228e-18, + 1.8616634085518685e-18, + -4.916856742649595e-19, + 1.8761547266678454e-18, + 2.229865503002707e-18, + 2.164573574256671e-18, + -1.840834148474899e-18, + -3.0447380988871365e-18, + -2.885289039476014e-18, + 5.241270975115022e-19, + -1.2527516077128092e-18, + -2.6604982575798296e-18, + 2.4737212053480744e-18, + 3.0583429240543283e-18, + 2.3027006513814935e-18, + 2.0098120064708093e-18, + -2.99145683150974e-18, + 9.242350212486253e-19, + -1.4347403797397356e-18, + -2.8336470222316024e-18, + 7.9411072907893735e-19, + -6.253936285494373e-19, + -3.399767848923925e-18, + -1.2979969953161606e-18, + 1.6564312565414456e-18, + -3.207063061250257e-18, + -2.777735802276918e-18, + -6.568376536086006e-18, + -3.82048995509953e-19, + 6.234553148032932e-18, + 4.336167047088227e-18, + -5.3037317460137226e-18, + -2.3654310820114993e-18, + 3.4008850259734542e-18, + -4.876318022047987e-18, + -3.0942730885488572e-18, + 2.5546552754315308e-18, + 3.7216388383168995e-19, + 6.336863327524641e-18, + 3.9926405019694476e-18, + -4.13148011874031e-18, + 6.3799280241654015e-18, + 4.898200986077275e-18, + 1.3711691940622294e-18, + 1.4369857402845732e-18, + 4.5233115444254324e-18, + -3.554591712251654e-18, + -6.706746798637503e-18, + -2.198189215287431e-18, + -5.030638524587826e-18, + -5.267256188041875e-18, + 1.7080144540699632e-19, + 5.13945084755897e-18, + -1.921283556906596e-18, + 5.810002438083175e-19, + -2.9757315428723368e-18, + -1.5446414910897182e-18, + -2.7611187826164517e-18, + 2.4086918180921483e-18, + -6.482776715986373e-18, + 6.597784664165699e-18, + 3.700299753821615e-18, + -4.577795535538422e-18, + 5.040542264091187e-18, + 5.370958249497105e-18, + -4.906731740376032e-18, + 5.441567325072713e-18, + 2.9004358149566476e-18, + 2.179535226055311e-18, + 1.5313598208778363e-18, + -1.9932904879306827e-19, + -5.66504560610908e-18, + -5.711919800517945e-18, + -5.353375021281389e-18, + -1.763367506646662e-19, + 3.756459683734549e-18, + -2.000701170394575e-18, + 2.2342656856956215e-18, + 6.5607282666461366e-18, + -4.808488694586521e-19, + -5.90303651383895e-18, + 6.0863605368447264e-18, + -2.492538781495367e-18, + -2.682606764385686e-18, + 5.857097418262045e-18, + 5.804179314426872e-18, + 6.335882059493264e-19, + -6.048642816347669e-18, + -4.669185020482833e-18, + 1.1359986834395104e-18, + -5.206843028286987e-18, + 2.9098299391379237e-18, + 8.928493868012547e-19, + -3.917731366468633e-18, + 1.6094298531541236e-18, + -4.922525656008512e-18, + 0.0 + ], + "lo": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + }, + "constitutive_phi_V": { + "hi": [ + 0.0, + -6.295122400695062e-05, + -0.00012969230926562146, + -0.0002004336413874064, + -0.0002753950215835266, + -0.00035480579403582844, + -0.000438904931293127, + -0.00052794107076992, + -0.0006221724948323855, + -0.0007218670463701068, + -0.000827301971184351, + -0.0009387636779915154, + -0.001056547406363685, + -0.0011809567925302055, + -0.0013123033226725474, + -0.0014509056631900885, + -0.0015970888574323783, + -0.0017511833786223682, + -0.0019135240291775638, + -0.002084448677416383, + -0.002264296823762096, + -0.002453407990072832, + -0.002652119927678428, + -0.0028607666421339726, + -0.003079676235639584, + -0.0033091685715496205, + -0.0035495527694104855, + -0.003801124543514702, + -0.004064163403006004, + -0.004338929737054011, + -0.004625661814443343, + -0.004924572732960135, + -0.005235847360039204, + -0.005559639312048131, + -0.005896068025081852, + -0.0062452159749378485, + -0.006607126107724502, + -0.006981799544988446, + -0.00736919362798975, + -0.007769220364473934, + -0.008181745337684584, + -0.008606587131180954, + -0.00904351731410371, + -0.0094922610198112, + -0.009952498136370329, + -0.010423865110477673, + -0.010905957347441033, + -0.011398332169496405, + -0.01190051227378651, + -0.012411989610765716, + -0.012932229584727232, + -0.013460675461739307, + -0.013996752857685129, + -0.014539874171386918, + -0.015089442825837868, + -0.015644857184978066, + -0.016205514024507393, + -0.016770811452811733, + -0.017340151201651274, + -0.017912940234865123, + -0.018488591655644218, + -0.01906652492725899, + -0.01964616545662361, + -0.020226943622763144, + -0.020808293361188786, + -0.021389650438622135, + -0.02197045056899097, + -0.022550127530112395, + -0.023128111440445562, + -0.023703827346735935, + -0.024276694256824254, + -0.024846124728394262, + -0.025411525095440424, + -0.025972296381519308, + -0.02652783591435426, + -0.02707753962207857, + -0.027620804959212777, + -0.028157034382031532, + -0.028685639269609833, + -0.02920604416947072, + -0.029717691235879782, + -0.030220044724515168, + -0.030712595409172077, + -0.031194864793707013, + -0.031666409004723124, + -0.03212682226652276, + -0.032575739878513865, + -0.033012840635455204, + -0.03343784865162138, + -0.033850534570220685, + -0.03425071615840583, + -0.03463825830533361, + -0.035013072455483914, + -0.03537511552154088, + -0.03572438833043371, + -0.03606093366264446, + -0.03638483394874974, + -0.036696208688607436, + -0.036995211657928004, + -0.03728202796452802, + -0.03755687101270866, + -0.037819979429290246, + -0.038071613999199526, + -0.03831205465245021, + -0.038541597538141834, + -0.038760552214945086, + -0.03896923898161738, + -0.03916798636553321, + -0.03935712878211278, + -0.03953700437344911, + -0.039707953030399284, + -0.03987031459892537, + -0.04002442726853476, + -0.04017062613824972, + -0.040309241953597905, + -0.04044060000661523, + -0.04056501918974424, + -0.04068281119374688, + -0.040794279839283625, + -0.040899720531595844, + -0.0409994198277225, + -0.04109365510584761, + -0.041182694326675554, + -0.04126679587713656, + -0.04134620848720775, + -0.041421171211171934, + -0.041491913465207995, + -0.04155865511379599, + -0.04168465835363574, + -0.04175156301411532, + -0.04182260176594623, + -0.04189801795531659, + -0.041978067684042, + -0.042063020272650645, + -0.04215315871160572, + -0.042248780095506096, + -0.04235019603439998, + -0.04245773303558157, + -0.04257173284841673, + -0.04269255276386289, + -0.042820565859412664, + -0.042956161179205934, + -0.04309974383802731, + -0.04325173503684623, + -0.043412571976477035, + -0.04358270765485389, + -0.04376261053235075, + -0.04395276404855476, + -0.044153665972954045, + -0.04436582757116206, + -0.04458977256761503, + -0.04482603588519158, + -0.04507516214197105, + -0.04533770388542851, + -0.04561421954482589, + -0.045905271083470714, + -0.046211421333951466, + -0.04653323100149666, + -0.0468712553233196, + -0.04722604037527457, + -0.047598119021427854, + -0.04798800650729282, + -0.048396195703529106, + -0.04882315201387958, + -0.04926930796900099, + -0.049735057536592436, + -0.050220750187752544, + -0.05072668476967237, + -0.05125310324541446, + -0.05180018437240639, + -0.05236803740209855, + -0.05295669589366088, + -0.053566111744228304, + -0.05419614954662038, + -0.05484658139219592, + -0.05551708224108724, + -0.056207225984028275, + -0.056916482318916745, + -0.05764421456076055, + -0.05838967849547131, + -0.05915202237591239, + -0.0599302881426581, + -0.06072341393220617, + -0.061530237912214535, + -0.062349503457192805, + -0.06317986564963335, + -0.06401989906163712, + -0.06486810674163092, + -0.06572293030083345, + -0.0665827609657994, + -0.0674459514377414, + -0.06831082837741567, + -0.06917570531705983, + -0.07003889578891169, + -0.07089872645372808, + -0.07175355001272263, + -0.07260175769245139, + -0.07344179110413478, + -0.0742721532962017, + -0.07509141884075547, + -0.07589824282029113, + -0.07669136860932123, + -0.07746963437550682, + -0.07823197825534894, + -0.07897744218942539, + -0.07970517443060308, + -0.08041443076479722, + -0.08110457450701944, + -0.08177507535517106, + -0.08242550719998964, + -0.08305554500161104, + -0.0836649608513975, + -0.08425361934217193, + -0.08482147237107238, + -0.0853685534972718, + -0.08589497197222343, + -0.08640090655335746, + -0.08688659920373885, + -0.0873523487705609, + -0.08779850472492423, + -0.08822546103452977, + -0.08863365023003586, + -0.08902353771518674, + -0.08939561636064328, + -0.08975040141191985, + -0.09008842573308357, + -0.09041023539998938, + -0.09071638564985111, + -0.09100743718789764, + -0.0912839528467177, + -0.09154649458961892, + -0.09179562084586318, + -0.0920318841629255, + -0.09225582915888504, + -0.09246799075662011, + -0.09266889268056669, + -0.09285904619633777, + -0.09303894907342102, + -0.09320908475140317, + -0.09336992169065761, + -0.09352191288911797, + -0.09366549554759805, + -0.09380109086706669, + -0.09392910396230789, + -0.09404992387746096, + -0.09416392369001793, + -0.09427146069093562, + -0.0943728766295793, + -0.09446849801324257, + -0.09455863645197313, + -0.0946435890403692, + -0.09472363876889348, + -0.09479905495807361, + -0.09487009370972467, + -0.09493699837003429, + -0.09499999999999964 + ], + "lo": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + }, + "constraint_phi_V": { + "hi": [ + 0.0, + -6.295122400695062e-05, + -0.00012969230926562146, + -0.0002004336413874064, + -0.0002753950215835266, + -0.00035480579403582844, + -0.000438904931293127, + -0.00052794107076992, + -0.0006221724948323855, + -0.0007218670463701068, + -0.000827301971184351, + -0.0009387636779915154, + -0.001056547406363685, + -0.0011809567925302055, + -0.0013123033226725474, + -0.0014509056631900885, + -0.0015970888574323783, + -0.0017511833786223682, + -0.0019135240291775638, + -0.002084448677416383, + -0.002264296823762096, + -0.002453407990072832, + -0.002652119927678428, + -0.0028607666421339726, + -0.003079676235639584, + -0.0033091685715496205, + -0.0035495527694104855, + -0.003801124543514702, + -0.004064163403006004, + -0.004338929737054011, + -0.004625661814443343, + -0.004924572732960135, + -0.005235847360039204, + -0.005559639312048131, + -0.005896068025081852, + -0.0062452159749378485, + -0.006607126107724502, + -0.006981799544988446, + -0.00736919362798975, + -0.007769220364473934, + -0.008181745337684584, + -0.008606587131180954, + -0.00904351731410371, + -0.0094922610198112, + -0.009952498136370329, + -0.010423865110477673, + -0.010905957347441033, + -0.011398332169496405, + -0.01190051227378651, + -0.012411989610765716, + -0.012932229584727232, + -0.013460675461739307, + -0.013996752857685129, + -0.014539874171386918, + -0.015089442825837868, + -0.015644857184978066, + -0.016205514024507393, + -0.016770811452811733, + -0.017340151201651274, + -0.017912940234865123, + -0.018488591655644218, + -0.01906652492725899, + -0.01964616545662361, + -0.020226943622763144, + -0.020808293361188786, + -0.021389650438622135, + -0.02197045056899097, + -0.022550127530112395, + -0.023128111440445562, + -0.023703827346735935, + -0.024276694256824254, + -0.024846124728394262, + -0.025411525095440424, + -0.025972296381519308, + -0.02652783591435426, + -0.02707753962207857, + -0.027620804959212777, + -0.028157034382031532, + -0.028685639269609833, + -0.02920604416947072, + -0.029717691235879782, + -0.030220044724515168, + -0.030712595409172077, + -0.031194864793707013, + -0.031666409004723124, + -0.03212682226652276, + -0.032575739878513865, + -0.033012840635455204, + -0.03343784865162138, + -0.033850534570220685, + -0.03425071615840583, + -0.03463825830533361, + -0.035013072455483914, + -0.03537511552154088, + -0.03572438833043371, + -0.03606093366264446, + -0.03638483394874974, + -0.036696208688607436, + -0.036995211657928004, + -0.03728202796452802, + -0.03755687101270866, + -0.037819979429290246, + -0.038071613999199526, + -0.03831205465245021, + -0.038541597538141834, + -0.038760552214945086, + -0.03896923898161738, + -0.03916798636553321, + -0.03935712878211278, + -0.03953700437344911, + -0.039707953030399284, + -0.03987031459892537, + -0.04002442726853476, + -0.04017062613824972, + -0.040309241953597905, + -0.04044060000661523, + -0.04056501918974424, + -0.04068281119374688, + -0.040794279839283625, + -0.040899720531595844, + -0.0409994198277225, + -0.04109365510584761, + -0.041182694326675554, + -0.04126679587713656, + -0.04134620848720775, + -0.041421171211171934, + -0.041491913465207995, + -0.04155865511379599, + -0.04168465835363574, + -0.04175156301411532, + -0.04182260176594623, + -0.04189801795531659, + -0.041978067684042, + -0.042063020272650645, + -0.04215315871160572, + -0.042248780095506096, + -0.04235019603439998, + -0.04245773303558157, + -0.04257173284841673, + -0.04269255276386289, + -0.042820565859412664, + -0.042956161179205934, + -0.04309974383802731, + -0.04325173503684623, + -0.043412571976477035, + -0.04358270765485389, + -0.04376261053235075, + -0.04395276404855476, + -0.044153665972954045, + -0.04436582757116206, + -0.04458977256761503, + -0.04482603588519158, + -0.04507516214197105, + -0.04533770388542851, + -0.04561421954482589, + -0.045905271083470714, + -0.046211421333951466, + -0.04653323100149666, + -0.0468712553233196, + -0.04722604037527457, + -0.047598119021427854, + -0.04798800650729282, + -0.048396195703529106, + -0.04882315201387958, + -0.04926930796900099, + -0.049735057536592436, + -0.050220750187752544, + -0.05072668476967237, + -0.05125310324541446, + -0.05180018437240639, + -0.05236803740209855, + -0.05295669589366088, + -0.053566111744228304, + -0.05419614954662038, + -0.05484658139219592, + -0.05551708224108724, + -0.056207225984028275, + -0.056916482318916745, + -0.05764421456076055, + -0.05838967849547131, + -0.05915202237591239, + -0.0599302881426581, + -0.06072341393220617, + -0.061530237912214535, + -0.062349503457192805, + -0.06317986564963335, + -0.06401989906163712, + -0.06486810674163092, + -0.06572293030083345, + -0.0665827609657994, + -0.0674459514377414, + -0.06831082837741567, + -0.06917570531705983, + -0.07003889578891169, + -0.07089872645372808, + -0.07175355001272263, + -0.07260175769245139, + -0.07344179110413478, + -0.0742721532962017, + -0.07509141884075547, + -0.07589824282029113, + -0.07669136860932123, + -0.07746963437550682, + -0.07823197825534894, + -0.07897744218942539, + -0.07970517443060308, + -0.08041443076479722, + -0.08110457450701944, + -0.08177507535517106, + -0.08242550719998964, + -0.08305554500161104, + -0.0836649608513975, + -0.08425361934217193, + -0.08482147237107238, + -0.0853685534972718, + -0.08589497197222343, + -0.08640090655335746, + -0.08688659920373885, + -0.0873523487705609, + -0.08779850472492423, + -0.08822546103452977, + -0.08863365023003586, + -0.08902353771518674, + -0.08939561636064328, + -0.08975040141191985, + -0.09008842573308357, + -0.09041023539998938, + -0.09071638564985111, + -0.09100743718789764, + -0.0912839528467177, + -0.09154649458961892, + -0.09179562084586318, + -0.0920318841629255, + -0.09225582915888504, + -0.09246799075662011, + -0.09266889268056669, + -0.09285904619633777, + -0.09303894907342102, + -0.09320908475140317, + -0.09336992169065761, + -0.09352191288911797, + -0.09366549554759805, + -0.09380109086706669, + -0.09392910396230789, + -0.09404992387746096, + -0.09416392369001793, + -0.09427146069093562, + -0.0943728766295793, + -0.09446849801324257, + -0.09455863645197313, + -0.0946435890403692, + -0.09472363876889348, + -0.09479905495807361, + -0.09487009370972467, + -0.09493699837003429, + -0.09499999999999964 + ], + "lo": [ + 0.0, + 3.9916300902784674e-21, + -1.2478834684695876e-20, + 1.1107444585502974e-20, + -1.5677515755624272e-20, + 4.4362355539011555e-21, + 1.4078806616546632e-20, + -9.954333338517371e-21, + 4.3352151803922035e-20, + -2.0618872533408127e-20, + -1.1575481962995868e-20, + -6.2292342656214656e-21, + -9.632768390712265e-20, + 1.0840183975927895e-19, + -2.7504692435412614e-21, + -3.545555804660559e-20, + 4.279923992512924e-20, + -7.347722649707069e-20, + -2.199127352657535e-20, + -1.2976687728256235e-19, + 1.4938523536251317e-19, + -1.4159940472494583e-19, + 1.5965006513528304e-19, + -1.948534339815535e-19, + -1.2115069489397006e-19, + 4.4584613721024145e-20, + 2.0527680433575725e-19, + 7.340957986534854e-20, + -3.6721431937153855e-19, + -2.2117639926035437e-19, + 1.5895033780148553e-19, + -2.1620113286888827e-21, + -4.160883153221055e-19, + 9.399333386702104e-20, + -4.1588169192557725e-19, + 8.368595290557355e-20, + 3.87905614546392e-20, + -5.377471997292349e-20, + -1.2302381697303346e-19, + 1.8704388339823747e-19, + -1.7342165695804746e-19, + -3.336195267111719e-19, + -6.5586813444011315e-19, + -8.069449688969391e-20, + 5.1187423659978474e-21, + -1.0266020123901921e-20, + -5.262528495901925e-19, + -3.2441304234847346e-19, + 7.059785552018588e-19, + -1.155954943486445e-21, + -6.941908929935585e-19, + 7.7295889324827125e-19, + 2.4523243099343952e-21, + -5.870226728197508e-20, + -2.3667314334799623e-19, + 3.8562184738798447e-19, + 9.690404989415564e-19, + 1.4360950809842677e-18, + -8.533712892292247e-19, + -1.6524253375707074e-18, + 4.314089395569728e-19, + -2.9208603834832113e-19, + 6.254383831907654e-20, + 1.4295755168823341e-18, + 1.1451877431002184e-18, + 9.346775015091369e-19, + -1.1085568907123985e-18, + 1.4079760019577337e-18, + -1.5275303523066578e-18, + -9.149785349630162e-19, + 1.117499638994808e-18, + -9.700195322940618e-19, + 1.8579909255173082e-19, + -1.3325121528793504e-18, + 3.639923303040917e-19, + 3.5132548403376693e-19, + 8.279721658037496e-19, + -7.499986197223239e-19, + 7.824465310374828e-19, + 4.968386210385364e-19, + 9.873966067684414e-19, + 1.1248479528776543e-18, + 1.7670558820944134e-19, + -1.1958265772211017e-18, + 4.473938548543033e-19, + -1.091795079555773e-18, + 2.7929582816942907e-18, + -2.6887815535619792e-18, + 1.120213302001e-18, + -7.379036786441195e-19, + 1.3429644118520615e-19, + -2.120474259670702e-18, + -2.4493559571140358e-18, + 2.3926988277112272e-18, + -1.0715604954120337e-18, + 1.8594668295322274e-18, + -1.9937211577625196e-18, + -1.1166258949429006e-18, + 2.5279531723944496e-18, + 1.4327764467800003e-18, + 2.0357460859399612e-18, + 3.355375678567225e-18, + 2.4744808456303573e-18, + -3.1486919832028315e-18, + 5.635760307233291e-19, + -2.2967186350751657e-18, + -3.2069974858503884e-18, + 1.222433466237948e-18, + 1.919520697622503e-18, + -2.7896729967428457e-18, + 1.883918578737063e-18, + 1.682607232855834e-18, + 1.0777561074669476e-18, + 6.403153018013368e-19, + 2.2834276739469886e-19, + -2.6184715191288266e-18, + -1.121306295542909e-18, + -2.2948819159603497e-18, + -4.959300675100336e-19, + 1.810052272287155e-18, + 5.271162986712167e-19, + -1.816620906072375e-18, + 6.817562423822713e-19, + 1.8871291151044922e-18, + -1.7352433620097416e-18, + 6.121012402137391e-19, + -4.82118568583134e-19, + 1.8733212004221605e-18, + 1.8281259010628783e-18, + -2.698939395624803e-18, + 2.655600970332892e-18, + 2.8474208781635803e-18, + 6.221027280491101e-19, + 2.852850272331734e-18, + -1.1474101374764893e-19, + -2.646704864406207e-19, + 1.7607228946998332e-18, + 2.4724127855732187e-18, + -9.871580795610696e-19, + 3.23965127954083e-18, + -2.209259386389089e-18, + 1.7441799295319783e-18, + 6.999968929772677e-19, + -2.9330329536757844e-18, + -1.6789981896853574e-18, + 1.1324974883736478e-18, + 2.4641998824256338e-18, + -3.044524918790807e-18, + -2.295131804027811e-18, + 1.9805876907518355e-18, + -1.526089833984241e-18, + -1.9470086387085755e-18, + 3.3856142981086075e-18, + -3.069360770370792e-18, + -2.8458445170478494e-18, + -8.4930065495263475e-19, + 1.2723886754163555e-18, + -3.1375447214929564e-18, + -2.1772129653638406e-18, + -1.8773334855354228e-18, + -1.8616634085518685e-18, + 4.916856742649595e-19, + -1.8761547266678454e-18, + -2.229865503002707e-18, + -2.164573574256671e-18, + 1.840834148474899e-18, + 3.0447380988871365e-18, + 2.885289039476014e-18, + -5.241270975115022e-19, + 1.2527516077128092e-18, + 2.6604982575798296e-18, + -2.4737212053480744e-18, + -3.0583429240543283e-18, + -2.3027006513814935e-18, + -2.0098120064708093e-18, + 2.99145683150974e-18, + -9.242350212486253e-19, + 1.4347403797397356e-18, + 2.8336470222316024e-18, + -7.9411072907893735e-19, + 6.253936285494373e-19, + 3.399767848923925e-18, + 1.2979969953161606e-18, + -1.6564312565414456e-18, + 3.207063061250257e-18, + 2.777735802276918e-18, + 6.568376536086006e-18, + 3.82048995509953e-19, + -6.234553148032932e-18, + -4.336167047088227e-18, + 5.3037317460137226e-18, + 2.3654310820114993e-18, + -3.4008850259734542e-18, + 4.876318022047987e-18, + 3.0942730885488572e-18, + -2.5546552754315308e-18, + -3.7216388383168995e-19, + -6.336863327524641e-18, + -3.9926405019694476e-18, + 4.13148011874031e-18, + -6.3799280241654015e-18, + -4.898200986077275e-18, + -1.3711691940622294e-18, + -1.4369857402845732e-18, + -4.5233115444254324e-18, + 3.554591712251654e-18, + 6.706746798637503e-18, + 2.198189215287431e-18, + 5.030638524587826e-18, + 5.267256188041875e-18, + -1.7080144540699632e-19, + -5.13945084755897e-18, + 1.921283556906596e-18, + -5.810002438083175e-19, + 2.9757315428723368e-18, + 1.5446414910897182e-18, + 2.7611187826164517e-18, + -2.4086918180921483e-18, + 6.482776715986373e-18, + -6.597784664165699e-18, + -3.700299753821615e-18, + 4.577795535538422e-18, + -5.040542264091187e-18, + -5.370958249497105e-18, + 4.906731740376032e-18, + -5.441567325072713e-18, + -2.9004358149566476e-18, + -2.179535226055311e-18, + -1.5313598208778363e-18, + 1.9932904879306827e-19, + 5.66504560610908e-18, + 5.711919800517945e-18, + 5.353375021281389e-18, + 1.763367506646662e-19, + -3.756459683734549e-18, + 2.000701170394575e-18, + -2.2342656856956215e-18, + -6.5607282666461366e-18, + 4.808488694586521e-19, + 5.90303651383895e-18, + -6.0863605368447264e-18, + 2.492538781495367e-18, + 2.682606764385686e-18, + -5.857097418262045e-18, + -5.804179314426872e-18, + -6.335882059493264e-19, + 6.048642816347669e-18, + 4.669185020482833e-18, + -1.1359986834395104e-18, + 5.206843028286987e-18, + -2.9098299391379237e-18, + -8.928493868012547e-19, + 3.917731366468633e-18, + -1.6094298531541236e-18, + 4.922525656008512e-18, + 0.0 + ] + }, + "cross_representation_comparisons": { + "positive_ion_flux": { + "direct_vs_full_DD": { + "diagnostic_original_limit": 1e-06, + "difference": [ + -0.18822062065123463, + -0.0542669177167024, + 0.4132475477434515, + -0.4429278850752827, + -0.5326442654046756, + 0.9414913184150018, + -0.33486821424988716, + 0.7014018062457579, + -0.796360343527027, + 0.10619539503396613, + 0.0599906785605841, + -0.950197553251598, + -0.1208976922367493, + -1.0509291444389506, + 1.649325370906692, + -1.178367898424659, + 0.8090970185500891, + 0.39416046878152317, + -3.9374595381424533, + 4.926625922461389, + 0.9375070128726596, + -3.541391279315782, + 3.0583659708372033, + -4.5106509962836725, + 0.8948579706708124, + 0.8321164011797949, + 1.4970654232814478, + -2.08435391942083, + 0.6640797135656551, + 1.6499344435819885, + -0.669178109443138, + -1.6539481068046962, + 1.9600827432849672, + -1.8886423294132988, + -1.3156348902246353, + 2.835702726683439, + -0.3082926086122181, + -3.0151162940494554, + 0.9650884535917499, + 1.5375307777739506, + -0.47214546958740994, + -0.9171010306587264, + 1.5994321106745766, + -4.489692261913587, + 4.571394640551609, + -1.3462186137641643, + 0.5213758703956364, + -6.110348711604148, + 2.531907250247259, + 6.7332963280153235, + -4.794577277373695, + 2.286628553877646, + -0.14820270376575712, + -4.454289312841844, + -2.5743899262210794, + 9.325935789457304, + -6.892964116110603, + 2.7120048380638093, + 6.139833267857248, + -11.182253327712022, + 6.354028573132325, + -7.263718095471844, + -4.931745510486665, + 7.5602250623806775, + -0.5131026725230622, + -4.9765714353238595, + 6.218943395328482, + 1.350327880169351, + 1.571634039030511, + 5.325054500094732, + -5.596028530957218, + -6.3519308696530805, + 5.497139192716379, + -5.132681651804592, + -0.041545055937258255, + 1.4707990919480813, + -5.003538284541345, + 16.399520517057134, + -12.745653367892714, + 1.7198652330289603, + 0.5085918636671819, + -3.6055892767629376, + -5.42343555595516, + 21.054208503423148, + -36.41417987935761, + 17.420737578291238, + 6.836785821267723, + -15.350169311454012, + 26.084005458049614, + 4.696114890261465, + -12.732424978975244, + -1.9550426061068529, + -13.058819516048422, + 22.737519591450788, + 20.180917965053574, + -27.922609302402915, + 6.699799213229226, + -26.502236392377206, + 49.58153907479538, + 5.3981561783519645, + -53.10270166083704, + -8.793971632208777, + 87.0464419251571, + -35.96564641989497, + 48.082254118039785, + -97.88766872980852, + 58.460765429471316, + 9.73781124039258, + -69.67208951823484, + 73.24598243097745, + -118.57221514855189, + 111.4810817948282, + -8.160352195260238, + -8.150532155009982, + -59.74324249406667, + -121.15156770887998, + 136.19605386323224, + 45.10094226758163, + -123.29218803983306, + 159.79841751617917, + -70.31100336832158, + -141.47039690812719, + 275.5878000931248, + 119.21370369075615, + -440.329173086065, + -44.39927579771104, + 400.7534587035684, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "difference_arithmetic": "DD(high_values)-full_DD_values", + "direct": [ + -381222027771.49963, + -1167794986211.4534, + -2003411257139.398, + -2890778288448.8457, + -3832674783414.396, + -4831934376018.914, + -5891424535726.011, + -7014019863248.252, + -8202568878755.011, + -9459853325703.775, + -10788538982241.035, + -12191116960277.877, + -13669834531353.69, + -15226614646051.781, + -16862963544968.295, + -18579866234429.867, + -20377670135076.92, + -22255957961313.54, + -24213411877085.164, + -26247672222243.07, + -28355195638421.426, + -30531119204414.78, + -32769139176446.996, + -35061414995082.438, + -37398511180204.46, + -39769391308338.85, + -42161479108557.98, + -44560801352043.31, + -46952225195154.89, + -49319798482424.92, + -51647194895039.18, + -53918256665989.71, + -56117616194056.8, + -58231365155561.16, + -60247727126086.37, + -62157679341749.945, + -63955463483880.336, + -65638926594802.93, + -67209643121419.17, + -68672788005597.77, + -70036757219673.0, + -71312562715723.8, + -72513058309047.34, + -73652075819376.67, + -74743561872670.38, + -75800802380294.16, + -76835804312066.81, + -77858876706072.38, + -78878420987903.62, + -79900911322826.67, + -80931024375377.44, + -81971867379326.53, + -83025253682373.08, + -84091983336500.52, + -85172099033776.16, + -86265101001725.75, + -87370115654345.3, + -88486020519349.55, + -89611532127856.55, + -90745264828780.94, + -91885767829726.73, + -93031546014127.11, + -94181067799653.17, + -95332760729288.3, + -96484992603828.23, + -97636032665199.52, + -98783983570057.77, + -99926670901006.03, + -101061473499053.48, + -102185076377127.78, + -103293130422988.5, + -104379811767427.5, + -105437290251596.61, + -106455140829199.66, + -107419761166389.61, + -108313887179277.97, + -109116317372755.64, + -109801958005779.27, + -110342278401503.66, + -110706218836843.05, + -110861528879090.67, + -110776444156267.53, + -110421549368132.47, + -109771638252180.38, + -108807375186906.95, + -107516588647274.97, + -105895077317059.72, + -103946874071070.0, + -101683978663885.14, + -99125625905384.28, + -96297195235926.31, + -93228887225646.33, + -89954293823175.4, + -86508976076161.88, + -82929140638043.9, + -79250479808885.58, + -75507213354580.48, + -71731346922219.44, + -67952143163224.15, + -64195788290139.07, + -60485228438670.02, + -56840146175346.195, + -53277046801949.664, + -49809425758773.516, + -46447991580978.12, + -43200922729794.83, + -40074140725523.47, + -37071585924040.99, + -34195485853831.086, + -31446609034805.727, + -28824499749173.473, + -26327691195989.49, + -23953895993653.918, + -21700174108062.87, + -19563079068467.875, + -17538783834091.81, + -15623187995729.768, + -13812008117648.588, + -12100853093452.541, + -10485286301208.566, + -8960876286072.059, + -7523237536390.578, + -6168062802944.301, + -4891148224483.129, + -3688412412176.835, + -2555910481941.7197, + -1489843891662.9412, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "direct_maximum_absolute": 110861528879090.67, + "eliminated": [ + -381222027771.3114, + -1167794986211.3992, + -2003411257139.8113, + -2890778288448.403, + -3832674783413.8633, + -4831934376019.855, + -5891424535725.676, + -7014019863248.953, + -8202568878754.215, + -9459853325703.88, + -10788538982241.096, + -12191116960276.926, + -13669834531353.568, + -15226614646050.73, + -16862963544969.943, + -18579866234428.688, + -20377670135077.73, + -22255957961313.934, + -24213411877081.227, + -26247672222247.996, + -28355195638422.363, + -30531119204411.24, + -32769139176450.055, + -35061414995077.926, + -37398511180205.36, + -39769391308339.69, + -42161479108559.48, + -44560801352041.23, + -46952225195155.555, + -49319798482426.57, + -51647194895038.51, + -53918256665988.055, + -56117616194058.76, + -58231365155559.266, + -60247727126085.055, + -62157679341752.78, + -63955463483880.03, + -65638926594799.914, + -67209643121420.14, + -68672788005599.31, + -70036757219672.53, + -71312562715722.88, + -72513058309048.94, + -73652075819372.19, + -74743561872674.95, + -75800802380292.81, + -76835804312067.33, + -77858876706066.27, + -78878420987906.16, + -79900911322833.4, + -80931024375372.64, + -81971867379328.81, + -83025253682372.94, + -84091983336496.06, + -85172099033773.58, + -86265101001735.08, + -87370115654338.4, + -88486020519352.27, + -89611532127862.69, + -90745264828769.75, + -91885767829733.1, + -93031546014119.84, + -94181067799648.23, + -95332760729295.86, + -96484992603827.72, + -97636032665194.53, + -98783983570063.98, + -99926670901007.38, + -101061473499055.06, + -102185076377133.11, + -103293130422982.9, + -104379811767421.14, + -105437290251602.11, + -106455140829194.53, + -107419761166389.56, + -108313887179279.44, + -109116317372750.64, + -109801958005795.67, + -110342278401490.9, + -110706218836844.77, + -110861528879091.19, + -110776444156263.92, + -110421549368127.05, + -109771638252201.42, + -108807375186870.53, + -107516588647292.39, + -105895077317066.56, + -103946874071054.66, + -101683978663911.22, + -99125625905388.98, + -96297195235913.58, + -93228887225644.38, + -89954293823162.34, + -86508976076184.61, + -82929140638064.1, + -79250479808857.66, + -75507213354587.19, + -71731346922192.94, + -67952143163273.73, + -64195788290144.47, + -60485228438616.92, + -56840146175337.4, + -53277046802036.71, + -49809425758737.55, + -46447991581026.2, + -43200922729696.94, + -40074140725581.93, + -37071585924050.73, + -34195485853761.414, + -31446609034878.973, + -28824499749054.902, + -26327691196100.97, + -23953895993645.758, + -21700174108054.72, + -19563079068408.133, + -17538783833970.658, + -15623187995865.963, + -13812008117693.69, + -12100853093329.248, + -10485286301368.365, + -8960876286001.748, + -7523237536249.107, + -6168062803219.889, + -4891148224602.343, + -3688412411736.506, + -2555910481897.3203, + -1489843892063.6946, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "eliminated_maximum_absolute": 110861528879091.19, + "floor_active": false, + "maximum_absolute_difference": 440.329173086065, + "normalization_floor": 1.0, + "normalization_scale": 110861528879091.19, + "relative_error": 3.9718843636578456e-12, + "within_original_limit": true + }, + "legacy_binary64_direct_vs_full_DD": { + "diagnostic_original_limit": 1e-06, + "difference": [ + 12.811596273880015, + -54.2659368395917, + -30.034262217881547, + -61.085017728825285, + 6.3169651095953245, + -64.876868056585, + 55.33407709825011, + -26.38062944375424, + -38.12253221852703, + 59.586664145033964, + -54.35407182143942, + -37.8251975532516, + 67.89277418276325, + -20.05874164443895, + -31.51473712909331, + -1.131492898424659, + -7.589340481449911, + 38.19494171878152, + 15.738321711857546, + 43.78209467246139, + 20.73047576287266, + 5.403921220684218, + -30.281477779162795, + -10.823150996283672, + -9.378579529329187, + 10.019616401179794, + -12.518559576718552, + 9.25939608057917, + -4.6562327864343445, + 7.735871943581989, + 14.823009390556862, + 6.306989393195304, + -9.782104756715032, + -25.169892329413297, + -0.13594739022463526, + 8.46851522668344, + 27.285457391387784, + -16.390116294049456, + 1.6838384535917499, + -6.49371922222605, + -11.35495796958741, + 0.8485239693412736, + 12.083807110674577, + -13.145942261913586, + -0.8192303594483915, + -3.1274686137641643, + 13.787000870395637, + -13.704098711604148, + 9.65690725024726, + 6.0145463280153235, + -3.872702277373695, + 14.067878553877646, + -5.116952703765757, + 6.639460687158156, + -0.4650149262210795, + 11.544685789457304, + -0.6429641161106029, + 1.1651298380638093, + 0.38983326785724787, + -10.619753327712022, + -6.364721426867675, + -9.794968095471843, + -3.1192455104866648, + -12.392899937619323, + -1.684977672523062, + 8.21092856467614, + 3.5470683953284823, + 3.303452880169351, + -6.162740960969489, + 0.26255450009473164, + -15.861653530957218, + -3.0238058696530805, + -7.330985807283621, + -13.679556651804592, + -6.3384200559372585, + 0.4395490919480812, + -7.800413284541345, + 2.4463955170571343, + -3.495653367892715, + 14.67299023302896, + -11.585158136332819, + 0.9256607232370625, + 19.74843944404484, + 17.913583503423148, + -25.86730487935761, + 41.93636257829124, + 29.25866082126772, + -31.600169311454014, + 31.709005458049614, + -19.522635109738534, + 23.783200021024758, + 16.826207393893146, + 12.175555483951578, + 63.831269591450784, + -68.16283203494642, + -34.46948430240292, + -8.956450786770775, + -30.970986392377206, + 27.815914074795376, + 38.79659367835196, + -27.44645166083704, + -20.536159132208777, + 83.1011294251571, + 18.27654108010503, + -58.456808381960215, + -56.754856229808524, + 148.7576404294713, + -126.79343875960743, + -127.80099576823484, + 191.96863868097745, + 5.181691101448109, + -77.0228244551718, + -8.336133445260238, + -49.295063405009984, + -242.52058624406666, + -62.13789583387998, + 261.75855386323224, + -67.50257335741837, + 34.75078071016693, + 51.84724564117918, + 120.43704350667842, + -80.00848284562717, + 194.36612040562483, + -254.76188224674385, + -476.343333242315, + 291.413224202289, + 434.8262126098184, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "difference_arithmetic": "DD(high_values)-full_DD_values", + "direct": [ + -381222027758.4998, + -1167794986265.665, + -2003411257169.8455, + -2890778288509.488, + -3832674783407.5464, + -4831934376084.732, + -5891424535670.342, + -7014019863275.334, + -8202568878792.337, + -9459853325644.295, + -10788538982295.45, + -12191116960314.752, + -13669834531285.676, + -15226614646070.79, + -16862963545001.459, + -18579866234429.82, + -20377670135085.32, + -22255957961275.74, + -24213411877065.49, + -26247672222204.215, + -28355195638401.633, + -30531119204405.836, + -32769139176480.336, + -35061414995088.75, + -37398511180214.734, + -39769391308329.664, + -42161479108571.99, + -44560801352031.97, + -46952225195160.21, + -49319798482418.836, + -51647194895023.69, + -53918256665981.75, + -56117616194068.54, + -58231365155584.44, + -60247727126085.19, + -62157679341744.31, + -63955463483852.74, + -65638926594816.305, + -67209643121418.45, + -68672788005605.805, + -70036757219683.88, + -71312562715722.03, + -72513058309036.86, + -73652075819385.33, + -74743561872675.77, + -75800802380295.94, + -76835804312053.55, + -77858876706079.97, + -78878420987896.5, + -79900911322827.39, + -80931024375376.52, + -81971867379314.75, + -83025253682378.05, + -84091983336489.42, + -85172099033774.05, + -86265101001723.53, + -87370115654339.05, + -88486020519351.1, + -89611532127862.3, + -90745264828780.38, + -91885767829739.45, + -93031546014129.64, + -94181067799651.36, + -95332760729308.25, + -96484992603829.4, + -97636032665186.33, + -98783983570060.44, + -99926670901004.08, + -101061473499061.22, + -102185076377132.84, + -103293130422998.77, + -104379811767424.17, + -105437290251609.44, + -106455140829208.2, + -107419761166395.9, + -108313887179279.0, + -109116317372758.44, + -109801958005793.22, + -110342278401494.4, + -110706218836830.1, + -110861528879102.77, + -110776444156263.0, + -110421549368107.3, + -109771638252183.52, + -108807375186896.4, + -107516588647250.45, + -105895077317037.3, + -103946874071086.25, + -101683978663879.52, + -99125625905408.5, + -96297195235889.8, + -93228887225627.55, + -89954293823150.17, + -86508976076120.78, + -82929140638132.25, + -79250479808892.12, + -75507213354596.14, + -71731346922223.9, + -67952143163245.914, + -64195788290105.67, + -60485228438644.37, + -56840146175357.94, + -53277046801953.61, + -49809425758719.27, + -46447991581084.66, + -43200922729753.695, + -40074140725433.17, + -37071585924177.52, + -34195485853889.215, + -31446609034687.004, + -28824499749049.72, + -26327691196177.992, + -23953895993654.094, + -21700174108104.016, + -19563079068650.652, + -17538783834032.797, + -15623187995604.205, + -13812008117761.191, + -12100853093294.498, + -10485286301316.518, + -8960876285881.31, + -7523237536329.116, + -6168062803025.522, + -4891148224857.1045, + -3688412412212.849, + -2555910481605.907, + -1489843891628.8684, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "direct_maximum_absolute": 110861528879102.77, + "eliminated": [ + -381222027771.3114, + -1167794986211.3992, + -2003411257139.8113, + -2890778288448.403, + -3832674783413.8633, + -4831934376019.855, + -5891424535725.676, + -7014019863248.953, + -8202568878754.215, + -9459853325703.88, + -10788538982241.096, + -12191116960276.926, + -13669834531353.568, + -15226614646050.73, + -16862963544969.943, + -18579866234428.688, + -20377670135077.73, + -22255957961313.934, + -24213411877081.227, + -26247672222247.996, + -28355195638422.363, + -30531119204411.24, + -32769139176450.055, + -35061414995077.926, + -37398511180205.36, + -39769391308339.69, + -42161479108559.48, + -44560801352041.23, + -46952225195155.555, + -49319798482426.57, + -51647194895038.51, + -53918256665988.055, + -56117616194058.76, + -58231365155559.266, + -60247727126085.055, + -62157679341752.78, + -63955463483880.03, + -65638926594799.914, + -67209643121420.14, + -68672788005599.31, + -70036757219672.53, + -71312562715722.88, + -72513058309048.94, + -73652075819372.19, + -74743561872674.95, + -75800802380292.81, + -76835804312067.33, + -77858876706066.27, + -78878420987906.16, + -79900911322833.4, + -80931024375372.64, + -81971867379328.81, + -83025253682372.94, + -84091983336496.06, + -85172099033773.58, + -86265101001735.08, + -87370115654338.4, + -88486020519352.27, + -89611532127862.69, + -90745264828769.75, + -91885767829733.1, + -93031546014119.84, + -94181067799648.23, + -95332760729295.86, + -96484992603827.72, + -97636032665194.53, + -98783983570063.98, + -99926670901007.38, + -101061473499055.06, + -102185076377133.11, + -103293130422982.9, + -104379811767421.14, + -105437290251602.11, + -106455140829194.53, + -107419761166389.56, + -108313887179279.44, + -109116317372750.64, + -109801958005795.67, + -110342278401490.9, + -110706218836844.77, + -110861528879091.19, + -110776444156263.92, + -110421549368127.05, + -109771638252201.42, + -108807375186870.53, + -107516588647292.39, + -105895077317066.56, + -103946874071054.66, + -101683978663911.22, + -99125625905388.98, + -96297195235913.58, + -93228887225644.38, + -89954293823162.34, + -86508976076184.61, + -82929140638064.1, + -79250479808857.66, + -75507213354587.19, + -71731346922192.94, + -67952143163273.73, + -64195788290144.47, + -60485228438616.92, + -56840146175337.4, + -53277046802036.71, + -49809425758737.55, + -46447991581026.2, + -43200922729696.94, + -40074140725581.93, + -37071585924050.73, + -34195485853761.414, + -31446609034878.973, + -28824499749054.902, + -26327691196100.97, + -23953895993645.758, + -21700174108054.72, + -19563079068408.133, + -17538783833970.658, + -15623187995865.963, + -13812008117693.69, + -12100853093329.248, + -10485286301368.365, + -8960876286001.748, + -7523237536249.107, + -6168062803219.889, + -4891148224602.343, + -3688412411736.506, + -2555910481897.3203, + -1489843892063.6946, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "eliminated_maximum_absolute": 110861528879091.19, + "floor_active": false, + "maximum_absolute_difference": 476.343333242315, + "normalization_floor": 1.0, + "normalization_scale": 110861528879102.77, + "relative_error": 4.296741512213666e-12, + "within_original_limit": true + }, + "rounded_reference_vs_full_DD": { + "diagnostic_original_limit": 1e-06, + "difference": [ + 0.07856404731751539, + -0.3059759020917024, + 0.4132475477434515, + -0.4429278850752827, + 0.3140354220953244, + 0.1426631934150018, + -0.33486821424988716, + 0.7014018062457579, + -0.796360343527027, + 0.10619539503396613, + 0.0599906785605841, + -0.950197553251598, + 2.0431648077632505, + -1.0509291444389506, + -0.29208087909330804, + 0.665382101575341, + -0.9369967314499109, + 0.39416046878152317, + -0.7851157881424533, + 1.9305321724613884, + -1.9140554871273403, + 1.884389970684218, + -2.1135090291627967, + 0.4190365037163271, + 0.8948579706708124, + 0.8321164011797949, + -0.6513720767185522, + -2.08435391942083, + 0.6640797135656551, + 1.6499344435819885, + -0.669178109443138, + -1.6539481068046962, + 1.9600827432849672, + -1.8886423294132988, + 1.7859276097753647, + -0.15648477331656083, + -0.3082926086122181, + -0.22605379404945555, + 0.9650884535917499, + -1.0952817222260494, + -0.47214546958740994, + -0.9171010306587264, + 1.5994321106745766, + 0.22905773808641378, + -0.037980359448391524, + -1.3462186137641643, + 0.5213758703956364, + 2.5771512883958514, + -1.7493427497527412, + -1.6885786719846767, + 3.517922722626305, + -1.8227464461223544, + -0.14820270376575712, + -0.4074143128418439, + 1.4412350737789206, + 1.3415607894573034, + 1.0757858838893972, + -5.25674516193619, + -1.8289167321427522, + 4.802121672287979, + -1.677221426867675, + 0.8300319045281565, + 3.2088794895133352, + -0.6741499376193224, + -0.5131026725230622, + -4.9765714353238595, + 6.218943395328482, + -7.384047119830649, + 1.571634039030511, + 5.325054500094732, + -5.596028530957218, + 3.1793191303469195, + -4.284110807283621, + 4.914193348195408, + -0.041545055937258255, + 1.4707990919480813, + -5.003538284541345, + 5.024520517057134, + -0.9644033678927146, + 1.7198652330289603, + 0.5085918636671819, + -3.6055892767629376, + -5.42343555595516, + 6.772958503423149, + -6.617304879357613, + 17.420737578291238, + -25.69446417873228, + 18.681080688545986, + -9.540994541950386, + 4.696114890261465, + -12.732424978975244, + -1.9550426061068529, + 30.14430548395158, + -22.668730408549212, + 20.180917965053574, + -27.922609302402915, + 6.699799213229226, + 29.325888607622794, + -9.293460925204624, + 5.3981561783519645, + 12.46761083916296, + -8.793971632208777, + -59.2973080748429, + 41.38591608010503, + -33.714620881960215, + -11.348606229808526, + 58.460765429471316, + 9.73781124039258, + -69.67208951823484, + 73.24598243097745, + -3.3417463985518903, + -10.643918205171802, + -8.160352195260238, + -8.150532155009982, + -59.74324249406667, + 33.33280729112002, + -27.723868011767774, + 45.10094226758163, + 61.36796821016693, + -36.24650435882082, + -70.31100336832158, + 79.59600934187283, + 40.78799540562484, + -130.20719474674385, + 89.64153003893499, + -44.39927579771104, + 101.56180831294343, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "difference_arithmetic": "DD(high_values)-full_DD_values", + "direct": [ + -381222027771.23285, + -1167794986211.705, + -2003411257139.398, + -2890778288448.8457, + -3832674783413.5493, + -4831934376019.713, + -5891424535726.011, + -7014019863248.252, + -8202568878755.011, + -9459853325703.775, + -10788538982241.035, + -12191116960277.877, + -13669834531351.525, + -15226614646051.781, + -16862963544970.236, + -18579866234428.023, + -20377670135078.668, + -22255957961313.54, + -24213411877082.01, + -26247672222246.066, + -28355195638424.277, + -30531119204409.355, + -32769139176452.168, + -35061414995077.508, + -37398511180204.46, + -39769391308338.85, + -42161479108560.125, + -44560801352043.31, + -46952225195154.89, + -49319798482424.92, + -51647194895039.18, + -53918256665989.71, + -56117616194056.8, + -58231365155561.16, + -60247727126083.266, + -62157679341752.94, + -63955463483880.336, + -65638926594800.14, + -67209643121419.17, + -68672788005600.41, + -70036757219673.0, + -71312562715723.8, + -72513058309047.34, + -73652075819371.95, + -74743561872674.98, + -75800802380294.16, + -76835804312066.81, + -77858876706063.69, + -78878420987907.9, + -79900911322835.1, + -80931024375369.12, + -81971867379330.64, + -83025253682373.08, + -84091983336496.47, + -85172099033772.14, + -86265101001733.73, + -87370115654337.33, + -88486020519357.52, + -89611532127864.52, + -90745264828764.95, + -91885767829734.77, + -93031546014119.02, + -94181067799645.03, + -95332760729296.53, + -96484992603828.23, + -97636032665199.52, + -98783983570057.77, + -99926670901014.77, + -101061473499053.48, + -102185076377127.78, + -103293130422988.5, + -104379811767417.97, + -105437290251606.39, + -106455140829189.61, + -107419761166389.61, + -108313887179277.97, + -109116317372755.64, + -109801958005790.64, + -110342278401491.88, + -110706218836843.05, + -110861528879090.67, + -110776444156267.53, + -110421549368132.47, + -109771638252194.66, + -108807375186877.16, + -107516588647274.97, + -105895077317092.25, + -103946874071035.97, + -101683978663920.77, + -99125625905384.28, + -96297195235926.31, + -93228887225646.33, + -89954293823132.2, + -86508976076207.28, + -82929140638043.9, + -79250479808885.58, + -75507213354580.48, + -71731346922163.61, + -67952143163283.02, + -64195788290139.07, + -60485228438604.45, + -56840146175346.195, + -53277046802096.01, + -49809425758696.164, + -46447991581059.914, + -43200922729708.29, + -40074140725523.47, + -37071585924040.99, + -34195485853831.086, + -31446609034805.727, + -28824499749058.242, + -26327691196111.613, + -23953895993653.918, + -21700174108062.87, + -19563079068467.875, + -17538783833937.326, + -15623187995893.688, + -13812008117648.588, + -12100853093267.88, + -10485286301404.611, + -8960876286072.059, + -7523237536169.512, + -6168062803179.101, + -4891148224732.55, + -3688412411646.8643, + -2555910481941.7197, + -1489843891962.1328, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "direct_maximum_absolute": 110861528879090.67, + "eliminated": [ + -381222027771.3114, + -1167794986211.3992, + -2003411257139.8113, + -2890778288448.403, + -3832674783413.8633, + -4831934376019.855, + -5891424535725.676, + -7014019863248.953, + -8202568878754.215, + -9459853325703.88, + -10788538982241.096, + -12191116960276.926, + -13669834531353.568, + -15226614646050.73, + -16862963544969.943, + -18579866234428.688, + -20377670135077.73, + -22255957961313.934, + -24213411877081.227, + -26247672222247.996, + -28355195638422.363, + -30531119204411.24, + -32769139176450.055, + -35061414995077.926, + -37398511180205.36, + -39769391308339.69, + -42161479108559.48, + -44560801352041.23, + -46952225195155.555, + -49319798482426.57, + -51647194895038.51, + -53918256665988.055, + -56117616194058.76, + -58231365155559.266, + -60247727126085.055, + -62157679341752.78, + -63955463483880.03, + -65638926594799.914, + -67209643121420.14, + -68672788005599.31, + -70036757219672.53, + -71312562715722.88, + -72513058309048.94, + -73652075819372.19, + -74743561872674.95, + -75800802380292.81, + -76835804312067.33, + -77858876706066.27, + -78878420987906.16, + -79900911322833.4, + -80931024375372.64, + -81971867379328.81, + -83025253682372.94, + -84091983336496.06, + -85172099033773.58, + -86265101001735.08, + -87370115654338.4, + -88486020519352.27, + -89611532127862.69, + -90745264828769.75, + -91885767829733.1, + -93031546014119.84, + -94181067799648.23, + -95332760729295.86, + -96484992603827.72, + -97636032665194.53, + -98783983570063.98, + -99926670901007.38, + -101061473499055.06, + -102185076377133.11, + -103293130422982.9, + -104379811767421.14, + -105437290251602.11, + -106455140829194.53, + -107419761166389.56, + -108313887179279.44, + -109116317372750.64, + -109801958005795.67, + -110342278401490.9, + -110706218836844.77, + -110861528879091.19, + -110776444156263.92, + -110421549368127.05, + -109771638252201.42, + -108807375186870.53, + -107516588647292.39, + -105895077317066.56, + -103946874071054.66, + -101683978663911.22, + -99125625905388.98, + -96297195235913.58, + -93228887225644.38, + -89954293823162.34, + -86508976076184.61, + -82929140638064.1, + -79250479808857.66, + -75507213354587.19, + -71731346922192.94, + -67952143163273.73, + -64195788290144.47, + -60485228438616.92, + -56840146175337.4, + -53277046802036.71, + -49809425758737.55, + -46447991581026.2, + -43200922729696.94, + -40074140725581.93, + -37071585924050.73, + -34195485853761.414, + -31446609034878.973, + -28824499749054.902, + -26327691196100.97, + -23953895993645.758, + -21700174108054.72, + -19563079068408.133, + -17538783833970.658, + -15623187995865.963, + -13812008117693.69, + -12100853093329.248, + -10485286301368.365, + -8960876286001.748, + -7523237536249.107, + -6168062803219.889, + -4891148224602.343, + -3688412411736.506, + -2555910481897.3203, + -1489843892063.6946, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "eliminated_maximum_absolute": 110861528879091.19, + "floor_active": false, + "maximum_absolute_difference": 130.20719474674385, + "normalization_floor": 1.0, + "normalization_scale": 110861528879091.19, + "relative_error": 1.1745029683719373e-12, + "within_original_limit": true + } + }, + "positive_ion_rate": { + "direct_vs_full_DD": { + "diagnostic_original_limit": 1e-06, + "difference": [ + 3189800731.5797744, + -1101125487.5687468, + -3617947125.5701137, + 6242615007.5260315, + 613439370.9548281, + -9536753928.851892, + 7782585159.021937, + -5957160526.894341, + 8115950028.018781, + -4610713674.967975, + 225536593.29747036, + 4587497946.536034, + -3555479824.4094796, + 3766240847.7128997, + -10327523699.256989, + 10212080361.660059, + -6785261923.320196, + 1344259979.70001, + 13209560966.223263, + -25571983737.62768, + 10889623241.256159, + 11580904077.638308, + -16156701736.77027, + 17555272764.679646, + -11896970431.723284, + 139564200.8272394, + -1310355985.1558824, + 6732698563.4384985, + -4912140184.283397, + -1682230949.894585, + 3758378614.135243, + 1518950676.36521, + -5318227397.422719, + 5398604586.712881, + -770200346.4100695, + -5303310551.044119, + 3843313152.768092, + 3172072735.4150987, + -4472005279.972036, + -610357086.5475023, + 2074383976.1985765, + 448538867.4576325, + -2418407319.166498, + 5621013497.126991, + -8069990494.415536, + 5093376178.464288, + -1548730122.2837949, + 5353806052.766245, + -6779877042.008031, + -3209706416.165722, + 8570039048.175623, + -5130460898.195893, + 1718266247.8375328, + 2984276698.3860025, + -1275769601.7809906, + -7941913396.141049, + 10651630837.542507, + -6213588246.577841, + -2189616599.4208407, + 10950570173.450636, + -10994440924.544838, + 8474740708.159711, + -1435815031.6979382, + -7721224170.192469, + 4977433982.130647, + 2761807055.4977083, + -6940365215.911755, + 3039150016.055353, + -142685255.03043973, + -2373117035.225515, + 6977659423.252916, + 490333531.40143627, + -7777825889.283158, + 7092142457.802627, + -3461531772.9931836, + -1040990836.7476816, + 4580991790.133705, + -15515685844.951542, + 21661336284.48269, + -11045427442.65973, + 960931476.3912191, + 3316897492.195967, + 1520715525.7434745, + -22809350792.577065, + 51212305000.44739, + -49698305445.90892, + 10142206904.495657, + 22054268123.230583, + -42846817123.32039, + 23031658117.817238, + 19545123309.65605, + -12617199788.57586, + 13575192812.265923, + -45747261436.3628, + 3424161120.9675937, + 67390926451.40566, + -50844002105.73202, + 51156891894.55964, + -123096954298.7506, + 75111698809.41666, + 104574804604.0622, + -83345451175.45628, + -189808141334.58704, + 256671101217.8021, + -184855346237.4603, + 338600041548.80963, + -382716289148.0507, + 125911824430.3102, + 216791420541.17456, + -412301375860.14954, + 585014519900.8446, + -742048930910.5339, + 408302767483.82446, + -39557839.16949753, + 197286549728.39255, + 248693347228.74997, + -1104099886597.221, + 414145600697.40704, + 811476832315.1024, + -1446344625617.4153, + 1246752381312.3699, + 408952949664.4307, + -2542892385510.5474, + 1011744496331.5466, + 3842317997860.763, + -2886088013832.2754, + -3445109217201.3926, + 2217799136941.3887, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "difference_arithmetic": "DD(high_values)-full_DD_values", + "direct": [ + 6.459832946851146e+21, + 6.464038233627622e+21, + 6.466972433082832e+21, + 6.468362447226083e+21, + 6.467896648228595e+21, + 6.465220914727671e+21, + 6.459934621304465e+21, + 6.451586563359353e+21, + 6.439671079627171e+21, + 6.423624467431537e+21, + 6.402821988451126e+21, + 6.376575721130531e+21, + 6.344133676958308e+21, + 6.304680630013369e+21, + 6.257341200278795e+21, + 6.201185856614644e+21, + 6.135240543396822e+21, + 6.058500737823533e+21, + 5.969950765383183e+21, + 5.868589168228817e+21, + 5.753460858120204e+21, + 5.623696543815856e+21, + 5.478559598295261e+21, + 5.317500009399491e+21, + 5.140214343608073e+21, + 4.946709720557921e+21, + 4.737368719761893e+21, + 4.513010863085347e+21, + 4.2749450958816606e+21, + 4.0250065710610226e+21, + 3.7655703346153076e+21, + 3.499534490899393e+21, + 3.230266370986802e+21, + 2.961507422803903e+21, + 2.6972360918074466e+21, + 2.4414927533552273e+21, + 2.1981764079474733e+21, + 1.9708285491613063e+21, + 1.7624243358727065e+21, + 1.5751937291404302e+21, + 1.4104945289380383e+21, + 1.2687547084786667e+21, + 1.1494932780688295e+21, + 1.051418279699957e+21, + 9.725893498116487e+20, + 9.106229448883663e+20, + 8.62912893313161e+20, + 8.268386375784162e+20, + 7.99938279436815e+20, + 7.800319720013609e+20, + 7.652910961499537e+20, + 7.542576618497358e+20, + 7.45824701745212e+20, + 7.39191290631371e+20, + 7.338054763747295e+20, + 7.293058240201857e+20, + 7.254686848526827e+20, + 7.221647841937069e+20, + 7.19325946975245e+20, + 7.169209845318563e+20, + 7.149388606040294e+20, + 7.133769639961821e+20, + 7.122323359390929e+20, + 7.114937776227071e+20, + 7.111327137714547e+20, + 7.110904481454047e+20, + 7.112590338045706e+20, + 7.114525569147509e+20, + 7.11365490301848e+20, + 7.105153453852591e+20, + 7.081686406556084e+20, + 7.032526008309209e+20, + 6.942600474586679e+20, + 6.791610408723895e+20, + 6.55340615674603e+20, + 6.195854393816954e+20, + 5.6814129630408796e+20, + 4.9685658525967267e+20, + 4.014145698787023e+20, + 2.776409377895751e+20, + 1.2185684348274034e+20, + -6.876476846608054e+19, + -2.9588668296191436e+20, + -5.5978178101986165e+20, + -8.592248933200926e+20, + -1.1915151002088788e+21, + -1.5526224209075993e+21, + -1.9374364266921698e+21, + -2.3400833086671178e+21, + -2.754273527998547e+21, + -3.173643976943704e+21, + -3.592065062219305e+21, + -4.0038922328028805e+21, + -4.404151184178814e+21, + -4.788654759198803e+21, + -5.154056394557344e+21, + -5.497849528772345e+21, + -5.818324707014035e+21, + -6.114496647932226e+21, + -6.38601268594242e+21, + -6.633052390819111e+21, + -6.856226126309643e+21, + -7.056478242723897e+21, + -7.234998732301308e+21, + -7.393145513562455e+21, + -7.532378305576805e+21, + -7.654204062228646e+21, + -7.76013336295926e+21, + -7.85164665358527e+21, + -7.930169195563531e+21, + -7.997053320413925e+21, + -8.053566791186535e+21, + -8.100886065408977e+21, + -8.140093417905483e+21, + -8.172177002730845e+21, + -8.19803312818759e+21, + -8.218470049525988e+21, + -8.234212869459995e+21, + -8.24590900087294e+21, + -8.254134059014407e+21, + -8.259397769794963e+21, + -8.26214987094307e+21, + -8.26278573547769e+21, + -8.261651827098652e+21, + -8.25905072446957e+21, + -8.25524579849958e+21, + -8.250465543840833e+21, + -8.244907572400195e+21, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "direct_maximum_absolute": 8.26278573547769e+21, + "eliminated": [ + 6.459832946847956e+21, + 6.464038233628723e+21, + 6.466972433086449e+21, + 6.468362447219841e+21, + 6.467896648227982e+21, + 6.465220914737208e+21, + 6.459934621296682e+21, + 6.45158656336531e+21, + 6.439671079619055e+21, + 6.423624467436148e+21, + 6.402821988450901e+21, + 6.376575721125944e+21, + 6.344133676961864e+21, + 6.304680630009602e+21, + 6.257341200289123e+21, + 6.201185856604431e+21, + 6.135240543403607e+21, + 6.058500737822189e+21, + 5.969950765369973e+21, + 5.868589168254388e+21, + 5.753460858109314e+21, + 5.623696543804275e+21, + 5.478559598311418e+21, + 5.317500009381936e+21, + 5.14021434361997e+21, + 4.946709720557781e+21, + 4.737368719763204e+21, + 4.513010863078614e+21, + 4.2749450958865726e+21, + 4.025006571062705e+21, + 3.765570334611549e+21, + 3.499534490897874e+21, + 3.2302663709921205e+21, + 2.9615074227985045e+21, + 2.697236091808217e+21, + 2.4414927533605304e+21, + 2.19817640794363e+21, + 1.9708285491581343e+21, + 1.7624243358771784e+21, + 1.5751937291410405e+21, + 1.410494528935964e+21, + 1.2687547084782182e+21, + 1.1494932780712479e+21, + 1.051418279694336e+21, + 9.725893498197187e+20, + 9.10622944883273e+20, + 8.629128933147097e+20, + 8.268386375730624e+20, + 7.999382794435949e+20, + 7.800319720045706e+20, + 7.652910961413837e+20, + 7.542576618548662e+20, + 7.458247017434938e+20, + 7.391912906283867e+20, + 7.338054763760052e+20, + 7.293058240281277e+20, + 7.254686848420311e+20, + 7.221647841999205e+20, + 7.193259469774346e+20, + 7.169209845209057e+20, + 7.149388606150239e+20, + 7.133769639877074e+20, + 7.122323359405286e+20, + 7.114937776304283e+20, + 7.111327137664772e+20, + 7.110904481426428e+20, + 7.11259033811511e+20, + 7.114525569117117e+20, + 7.113654903019907e+20, + 7.105153453876322e+20, + 7.081686406486308e+20, + 7.032526008304305e+20, + 6.942600474664457e+20, + 6.791610408652973e+20, + 6.553406156780645e+20, + 6.195854393827363e+20, + 5.68141296299507e+20, + 4.968565852751884e+20, + 4.01414569857041e+20, + 2.7764093780062054e+20, + 1.218568434817794e+20, + -6.876476846939744e+19, + -2.9588668296343506e+20, + -5.597817809970523e+20, + -8.592248933713049e+20, + -1.1915151001591805e+21, + -1.5526224209177414e+21, + -1.937436426714224e+21, + -2.3400833086242709e+21, + -2.7542735280215787e+21, + -3.173643976963249e+21, + -3.592065062206688e+21, + -4.003892232816456e+21, + -4.404151184133067e+21, + -4.788654759202227e+21, + -5.154056394624735e+21, + -5.497849528721501e+21, + -5.818324707065192e+21, + -6.11449664780913e+21, + -6.386012686017532e+21, + -6.633052390923686e+21, + -6.856226126226298e+21, + -7.056478242534089e+21, + -7.234998732557979e+21, + -7.393145513377599e+21, + -7.532378305915405e+21, + -7.65420406184593e+21, + -7.760133363085172e+21, + -7.851646653802061e+21, + -7.93016919515123e+21, + -7.99705332099894e+21, + -8.053566790444486e+21, + -8.10088606581728e+21, + -8.140093417905444e+21, + -8.172177002928132e+21, + -8.198033128436283e+21, + -8.218470048421888e+21, + -8.234212869874141e+21, + -8.245909001684417e+21, + -8.254134057568062e+21, + -8.259397771041716e+21, + -8.262149871352023e+21, + -8.262785732934798e+21, + -8.261651828110396e+21, + -8.259050728311888e+21, + -8.255245795613492e+21, + -8.250465540395724e+21, + -8.244907574617994e+21, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "eliminated_maximum_absolute": 8.262785732934798e+21, + "floor_active": false, + "maximum_absolute_difference": 3842317997860.763, + "normalization_floor": 8.26278573547769e+21, + "normalization_scale": 8.26278573547769e+21, + "relative_error": 4.650148413461952e-10, + "within_original_limit": true + }, + "legacy_binary64_direct_vs_full_DD": { + "diagnostic_original_limit": 1e-06, + "difference": [ + -217092948196.42023, + 551242573968.4313, + -187532934645.5701, + 226340814559.52603, + -462841423989.04517, + 460624801527.14813, + -732951424184.978, + 469617144241.10565, + 63619174860.01878, + -499208284234.96796, + 549070137937.2975, + -75145172517.46396, + -453561307408.4095, + 356187391567.7129, + 43807309452.74301, + -109739771158.33994, + 22037995164.679806, + -147679361140.3, + 68489439110.22327, + -80903242105.62769, + 62930450121.25616, + 39611437709.638306, + 87355575255.22974, + -45138037699.32036, + -3177012415.7232833, + -40472832855.17276, + 44635098606.84412, + -40963353660.5615, + 24875806823.716602, + -21067255461.894585, + -11466420617.864758, + 13122492692.36521, + 23630334522.577282, + 21559257898.712883, + -33487344410.41007, + -10999175383.044119, + -23007834623.231907, + 51131055391.4151, + -20279812767.972034, + 8803758241.452497, + 5027173992.198576, + -12135945996.542368, + -10757994391.166498, + 23289388025.12699, + -10983983198.415537, + 1988149426.4642878, + -14102150922.283794, + 22218053860.766243, + -18329155250.00803, + 2778711119.834278, + 7345433352.175623, + -13000810210.195894, + 13583296903.837532, + -8146619685.613997, + 4826680574.219009, + -8013478708.141049, + 8001486069.542508, + -1170068758.5778408, + 495524392.5791591, + 6961918141.450637, + -2667305692.544838, + 2135705572.1597106, + -4136160375.697938, + 5729122325.807531, + -6608675457.869353, + -6113471280.502292, + 2889641568.0882454, + 151633856.05535325, + 5933943736.969561, + -4063028331.225515, + 10305184287.252916, + -8308136612.598564, + 2827733918.716842, + 4236083577.8026266, + -4987340924.993183, + -4696851060.747682, + 5834105646.133705, + -7425463252.951542, + 4414489308.48269, + -13860395250.65973, + 20602234516.39122, + -10111142187.804033, + -15693101306.256525, + 1580395895.4229345, + 39011730024.44739, + -62588974501.90892, + 12139219896.495657, + 60522589403.23058, + -65468795747.32039, + 55154783877.81724, + -48591345170.34395, + 8144605011.424141, + 5686231276.265922, + -66031439868.3628, + 176565030240.9676, + -47206896012.59434, + -37471512377.73202, + 33922496758.55964, + -95113606586.7506, + -18667695750.583347, + 118417056380.0622, + -12997535911.456276, + -205246325782.58704, + 135253340449.80208, + 168767472578.5397, + -3947717555.1903944, + -503084425340.0507, + 712164374574.3102, + 2750844541.1745567, + -922495465844.1495, + 569672804444.8446, + 265154454433.46603, + -234401968772.17554, + 147937584432.8305, + 738887588064.3926, + -730517253219.25, + -1389611402757.221, + 1496928246969.407, + -492750385092.8976, + -87348186577.41537, + -371626108543.6301, + 1151965514656.4307, + -1672919287014.5474, + 2905862822603.547, + 1521574991652.7634, + -5596475570184.275, + -1109896910769.3923, + 2406360364717.3887, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "difference_arithmetic": "DD(high_values)-full_DD_values", + "direct": [ + 6.459832946630863e+21, + 6.464038234179966e+21, + 6.466972432898917e+21, + 6.468362447446181e+21, + 6.46789664776514e+21, + 6.465220915197833e+21, + 6.459934620563731e+21, + 6.451586563834928e+21, + 6.439671079682674e+21, + 6.42362446693694e+21, + 6.402821988999971e+21, + 6.376575721050799e+21, + 6.344133676508303e+21, + 6.30468063036579e+21, + 6.25734120033293e+21, + 6.201185856494692e+21, + 6.135240543425645e+21, + 6.058500737674509e+21, + 5.969950765438463e+21, + 5.868589168173485e+21, + 5.753460858172245e+21, + 5.623696543843886e+21, + 5.478559598398774e+21, + 5.317500009336798e+21, + 5.140214343616793e+21, + 4.946709720517308e+21, + 4.737368719807838e+21, + 4.513010863037651e+21, + 4.2749450959114485e+21, + 4.0250065710416375e+21, + 3.765570334600083e+21, + 3.4995344909109963e+21, + 3.2302663710157507e+21, + 2.961507422820064e+21, + 2.6972360917747295e+21, + 2.4414927533495314e+21, + 2.1981764079206222e+21, + 1.9708285492092653e+21, + 1.7624243358568987e+21, + 1.5751937291498443e+21, + 1.410494528940991e+21, + 1.2687547084660823e+21, + 1.1494932780604899e+21, + 1.0514182797176254e+21, + 9.725893498087347e+20, + 9.106229448852611e+20, + 8.629128933006075e+20, + 8.268386375952804e+20, + 7.999382794252658e+20, + 7.800319720073493e+20, + 7.652910961487291e+20, + 7.542576618418654e+20, + 7.45824701757077e+20, + 7.391912906202401e+20, + 7.338054763808319e+20, + 7.293058240201142e+20, + 7.254686848500325e+20, + 7.221647841987504e+20, + 7.193259469779302e+20, + 7.169209845278676e+20, + 7.149388606123565e+20, + 7.133769639898431e+20, + 7.122323359363925e+20, + 7.114937776361574e+20, + 7.111327137598686e+20, + 7.110904481365294e+20, + 7.112590338144006e+20, + 7.114525569118634e+20, + 7.113654903079246e+20, + 7.105153453835692e+20, + 7.081686406589359e+20, + 7.032526008221224e+20, + 6.942600474692734e+20, + 6.791610408695334e+20, + 6.553406156730772e+20, + 6.195854393780395e+20, + 5.681412963053411e+20, + 4.968565852677629e+20, + 4.014145698614555e+20, + 2.7764093778676013e+20, + 1.2185684350238165e+20, + -6.876476847950858e+19, + -2.958866829791282e+20, + -5.597817809954719e+20, + -8.592248933322932e+20, + -1.1915151002217695e+21, + -1.5526224209056023e+21, + -1.9374364266537015e+21, + -2.3400833086897397e+21, + -2.754273527966424e+21, + -3.1736439770118404e+21, + -3.592065062198543e+21, + -4.0038922328107694e+21, + -4.4041511841990983e+21, + -4.788654759025662e+21, + -5.154056394671942e+21, + -5.497849528758973e+21, + -5.81832470703127e+21, + -6.114496647904243e+21, + -6.3860126860362e+21, + -6.633052390805269e+21, + -6.856226126239295e+21, + -7.056478242739335e+21, + -7.234998732422726e+21, + -7.393145513208832e+21, + -7.532378305919353e+21, + -7.654204062349014e+21, + -7.760133362373007e+21, + -7.851646653799311e+21, + -7.930169196073725e+21, + -7.997053320429267e+21, + -8.053566790179332e+21, + -8.100886066051681e+21, + -8.140093417757506e+21, + -8.172177002189244e+21, + -8.1980331291668e+21, + -8.218470049811499e+21, + -8.234212868377212e+21, + -8.245909002177167e+21, + -8.25413405765541e+21, + -8.259397771413341e+21, + -8.262149870200057e+21, + -8.262785734607717e+21, + -8.261651825204533e+21, + -8.259050726790313e+21, + -8.255245801209967e+21, + -8.250465541505621e+21, + -8.244907572211634e+21, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0 + ], + "direct_maximum_absolute": 8.262785734607717e+21, + "eliminated": [ + 6.459832946847956e+21, + 6.464038233628723e+21, + 6.466972433086449e+21, + 6.468362447219841e+21, + 6.467896648227982e+21, + 6.465220914737208e+21, + 6.459934621296682e+21, + 6.45158656336531e+21, + 6.439671079619055e+21, + 6.423624467436148e+21, + 6.402821988450901e+21, + 6.376575721125944e+21, + 6.344133676961864e+21, + 6.304680630009602e+21, + 6.257341200289123e+21, + 6.201185856604431e+21, + 6.135240543403607e+21, + 6.058500737822189e+21, + 5.969950765369973e+21, + 5.868589168254388e+21, + 5.753460858109314e+21, + 5.623696543804275e+21, + 5.478559598311418e+21, + 5.317500009381936e+21, + 5.14021434361997e+21, + 4.946709720557781e+21, + 4.737368719763204e+21, + 4.513010863078614e+21, + 4.2749450958865726e+21, + 4.025006571062705e+21, + 3.765570334611549e+21, + 3.499534490897874e+21, + 3.2302663709921205e+21, + 2.9615074227985045e+21, + 2.697236091808217e+21, + 2.4414927533605304e+21, + 2.19817640794363e+21, + 1.9708285491581343e+21, + 1.7624243358771784e+21, + 1.5751937291410405e+21, + 1.410494528935964e+21, + 1.2687547084782182e+21, + 1.1494932780712479e+21, + 1.051418279694336e+21, + 9.725893498197187e+20, + 9.10622944883273e+20, + 8.629128933147097e+20, + 8.268386375730624e+20, + 7.999382794435949e+20, + 7.800319720045706e+20, + 7.652910961413837e+20, + 7.542576618548662e+20, + 7.458247017434938e+20, + 7.391912906283867e+20, + 7.338054763760052e+20, + 7.293058240281277e+20, + 7.254686848420311e+20, + 7.221647841999205e+20, + 7.193259469774346e+20, + 7.169209845209057e+20, + 7.149388606150239e+20, + 7.133769639877074e+20, + 7.122323359405286e+20, + 7.114937776304283e+20, + 7.111327137664772e+20, + 7.110904481426428e+20, + 7.11259033811511e+20, + 7.114525569117117e+20, + 7.113654903019907e+20, + 7.105153453876322e+20, + 7.081686406486308e+20, + 7.032526008304305e+20, + 6.942600474664457e+20, + 6.791610408652973e+20, + 6.553406156780645e+20, + 6.195854393827363e+20, + 5.68141296299507e+20, + 4.968565852751884e+20, + 4.01414569857041e+20, + 2.7764093780062054e+20, + 1.218568434817794e+20, + -6.876476846939744e+19, + -2.9588668296343506e+20, + -5.597817809970523e+20, + -8.592248933713049e+20, + -1.1915151001591805e+21, + -1.5526224209177414e+21, + -1.937436426714224e+21, + -2.3400833086242709e+21, + -2.7542735280215787e+21, + -3.173643976963249e+21, + -3.592065062206688e+21, + -4.003892232816456e+21, + -4.404151184133067e+21, + -4.788654759202227e+21, + -5.154056394624735e+21, + -5.497849528721501e+21, + -5.818324707065192e+21, + -6.11449664780913e+21, + -6.386012686017532e+21, + -6.633052390923686e+21, + -6.856226126226298e+21, + -7.056478242534089e+21, + -7.234998732557979e+21, + -7.393145513377599e+21, + -7.532378305915405e+21, + -7.65420406184593e+21, + -7.760133363085172e+21, + -7.851646653802061e+21, + -7.93016919515123e+21, + -7.99705332099894e+21, + -8.053566790444486e+21, + -8.10088606581728e+21, + -8.140093417905444e+21, + -8.172177002928132e+21, + -8.198033128436283e+21, + -8.218470048421888e+21, + -8.234212869874141e+21, + -8.245909001684417e+21, + -8.254134057568062e+21, + -8.259397771041716e+21, + -8.262149871352023e+21, + -8.262785732934798e+21, + -8.261651828110396e+21, + -8.259050728311888e+21, + -8.255245795613492e+21, + -8.250465540395724e+21, + -8.244907574617994e+21, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "eliminated_maximum_absolute": 8.262785732934798e+21, + "floor_active": false, + "maximum_absolute_difference": 5596475570184.275, + "normalization_floor": 8.262785734607717e+21, + "normalization_scale": 8.262785734607717e+21, + "relative_error": 6.773109880780387e-10, + "within_original_limit": true + }, + "rounded_reference_vs_full_DD": { + "diagnostic_original_limit": 1e-06, + "difference": [ + -1331658980.4202254, + 3159238800.4312534, + -5566201333.570114, + 6242615007.5260315, + -5198817397.045172, + 1112583927.1481078, + 2907755335.021937, + -5957160526.894341, + 8115950028.018781, + -4610713674.967975, + 225536593.29747036, + 4587497946.536034, + -12838523152.40948, + 12529190479.7129, + -2897314163.256988, + -3460302102.33994, + 5468397212.679804, + -4294981748.29999, + 3592021894.2232633, + -7826932089.627683, + 10490115785.256159, + -9817386354.361692, + 9788214231.22973, + -5874109379.320355, + -1055743167.7232832, + 139564200.8272394, + 2940571118.8441176, + 2695680963.4384985, + -4912140184.283397, + -1682230949.894585, + 3758378614.135243, + 1518950676.36521, + -5318227397.422719, + 5398604586.712881, + -4914696986.410069, + 2478696232.955881, + 187715072.76809195, + -99746528.58490118, + -1336238751.9720361, + 2217128097.4524975, + -641427863.8014237, + 448538867.4576325, + -2418407319.166498, + 1264704505.1269913, + 244430753.58446378, + 1121239218.4642878, + -1548730122.2837949, + -1669818139.233755, + 3391965517.9919696, + -45759408.165721714, + -3860698359.824377, + 3869073693.8041067, + -1190352504.1624672, + 187593434.38600242, + -1258861313.7809906, + 63964363.85895051, + 177667317.5425079, + 4093520617.422159, + -2184242647.4208407, + -4195979074.5493636, + 4058653987.455162, + -1556854811.8402894, + -1477889143.6979382, + 2400942101.8075314, + -104489601.86935325, + 2761807055.4977083, + -6940365215.911755, + 8476409792.055353, + -5617038407.030439, + -2373117035.225515, + 6977659423.252916, + -5673065124.598564, + 4890807198.716842, + -6130925190.197373, + 3362469763.0068164, + -1040990836.7476816, + 4580991790.133705, + -7269618644.951542, + 4454597340.48269, + -2057459954.6597304, + 960931476.3912191, + 3316897492.195967, + 1520715525.7434745, + -10502279816.577066, + 11921506920.44739, + -22185244069.90892, + 41283865528.49566, + -44125295396.76942, + 29179606172.679615, + -15323679098.182762, + 19545123309.65605, + -12617199788.57586, + -39232667411.73408, + 67502092291.6372, + -57312506527.03241, + 67390926451.40566, + -50844002105.73202, + -34866185993.44036, + 62473734725.249405, + -24972783238.583347, + -12643409283.937801, + 39993300824.543724, + 100027702249.41298, + -210066853598.1979, + 165175051202.5397, + -51883369395.19039, + -170888208508.0507, + 125911824430.3102, + 216791420541.17456, + -412301375860.14954, + 233584273500.8446, + 23555204001.46604, + -8474735236.17553, + -39557839.16949753, + 197286549728.39255, + -376939523171.25, + 261948226042.77902, + -331088896838.59296, + -78383558596.89761, + 498724008494.58466, + 184563767680.36984, + -861519557727.5692, + 236620446489.4527, + 1106341780171.5466, + -1509677869275.2366, + 977074636791.7245, + -1129617479601.3923, + 562051495597.3884, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "difference_arithmetic": "DD(high_values)-full_DD_values", + "direct": [ + 6.459832946846624e+21, + 6.464038233631882e+21, + 6.466972433080884e+21, + 6.468362447226083e+21, + 6.467896648222783e+21, + 6.46522091473832e+21, + 6.45993462129959e+21, + 6.451586563359353e+21, + 6.439671079627171e+21, + 6.423624467431537e+21, + 6.402821988451126e+21, + 6.376575721130531e+21, + 6.344133676949025e+21, + 6.304680630022132e+21, + 6.257341200286226e+21, + 6.201185856600971e+21, + 6.135240543409076e+21, + 6.058500737817894e+21, + 5.969950765373565e+21, + 5.868589168246562e+21, + 5.753460858119804e+21, + 5.623696543794457e+21, + 5.478559598321206e+21, + 5.317500009376062e+21, + 5.140214343618914e+21, + 4.946709720557921e+21, + 4.737368719766144e+21, + 4.51301086308131e+21, + 4.2749450958816606e+21, + 4.0250065710610226e+21, + 3.7655703346153076e+21, + 3.499534490899393e+21, + 3.230266370986802e+21, + 2.961507422803903e+21, + 2.697236091803302e+21, + 2.4414927533630093e+21, + 2.1981764079438177e+21, + 1.9708285491580345e+21, + 1.7624243358758422e+21, + 1.5751937291432577e+21, + 1.4104945289353225e+21, + 1.2687547084786667e+21, + 1.1494932780688295e+21, + 1.0514182796956007e+21, + 9.725893498199631e+20, + 9.106229448843942e+20, + 8.62912893313161e+20, + 8.268386375713925e+20, + 7.999382794469869e+20, + 7.800319720045249e+20, + 7.65291096137523e+20, + 7.542576618587353e+20, + 7.458247017423034e+20, + 7.391912906285743e+20, + 7.338054763747464e+20, + 7.293058240281916e+20, + 7.254686848422087e+20, + 7.22164784204014e+20, + 7.193259469752504e+20, + 7.169209845167097e+20, + 7.149388606190825e+20, + 7.133769639861505e+20, + 7.122323359390508e+20, + 7.114937776328292e+20, + 7.111327137663728e+20, + 7.110904481454047e+20, + 7.112590338045706e+20, + 7.114525569201882e+20, + 7.113654902963736e+20, + 7.105153453852591e+20, + 7.081686406556084e+20, + 7.032526008247575e+20, + 6.942600474713365e+20, + 6.791610408591664e+20, + 6.55340615681427e+20, + 6.195854393816954e+20, + 5.6814129630408796e+20, + 4.9685658526791873e+20, + 4.014145698614956e+20, + 2.7764093779856307e+20, + 1.2185684348274034e+20, + -6.876476846608054e+19, + -2.9588668296191436e+20, + -5.597817810075546e+20, + -8.592248933593834e+20, + -1.1915151001813658e+21, + -1.5526224208764577e+21, + -1.9374364267583494e+21, + -2.3400833085950913e+21, + -2.7542735280369026e+21, + -3.173643976943704e+21, + -3.592065062219305e+21, + -4.0038922328556883e+21, + -4.404151184065565e+21, + -4.78865475925954e+21, + -5.154056394557344e+21, + -5.497849528772345e+21, + -5.818324707100058e+21, + -6.114496647746656e+21, + -6.386012686042505e+21, + -6.633052390936329e+21, + -6.856226126186304e+21, + -7.056478242434061e+21, + -7.234998732768046e+21, + -7.393145513212424e+21, + -7.532378305967288e+21, + -7.654204062016818e+21, + -7.76013336295926e+21, + -7.85164665358527e+21, + -7.930169195563531e+21, + -7.997053320765356e+21, + -8.053566790420931e+21, + -8.100886065825754e+21, + -8.140093417905483e+21, + -8.172177002730845e+21, + -8.198033128813223e+21, + -8.21847004815994e+21, + -8.23421287020523e+21, + -8.2459090017628e+21, + -8.254134057069338e+21, + -8.259397770857151e+21, + -8.262149872213543e+21, + -8.262785732698178e+21, + -8.261651827004054e+21, + -8.259050729821566e+21, + -8.255245794636417e+21, + -8.250465541525341e+21, + -8.244907574055942e+21, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "direct_maximum_absolute": 8.262785732698178e+21, + "eliminated": [ + 6.459832946847956e+21, + 6.464038233628723e+21, + 6.466972433086449e+21, + 6.468362447219841e+21, + 6.467896648227982e+21, + 6.465220914737208e+21, + 6.459934621296682e+21, + 6.45158656336531e+21, + 6.439671079619055e+21, + 6.423624467436148e+21, + 6.402821988450901e+21, + 6.376575721125944e+21, + 6.344133676961864e+21, + 6.304680630009602e+21, + 6.257341200289123e+21, + 6.201185856604431e+21, + 6.135240543403607e+21, + 6.058500737822189e+21, + 5.969950765369973e+21, + 5.868589168254388e+21, + 5.753460858109314e+21, + 5.623696543804275e+21, + 5.478559598311418e+21, + 5.317500009381936e+21, + 5.14021434361997e+21, + 4.946709720557781e+21, + 4.737368719763204e+21, + 4.513010863078614e+21, + 4.2749450958865726e+21, + 4.025006571062705e+21, + 3.765570334611549e+21, + 3.499534490897874e+21, + 3.2302663709921205e+21, + 2.9615074227985045e+21, + 2.697236091808217e+21, + 2.4414927533605304e+21, + 2.19817640794363e+21, + 1.9708285491581343e+21, + 1.7624243358771784e+21, + 1.5751937291410405e+21, + 1.410494528935964e+21, + 1.2687547084782182e+21, + 1.1494932780712479e+21, + 1.051418279694336e+21, + 9.725893498197187e+20, + 9.10622944883273e+20, + 8.629128933147097e+20, + 8.268386375730624e+20, + 7.999382794435949e+20, + 7.800319720045706e+20, + 7.652910961413837e+20, + 7.542576618548662e+20, + 7.458247017434938e+20, + 7.391912906283867e+20, + 7.338054763760052e+20, + 7.293058240281277e+20, + 7.254686848420311e+20, + 7.221647841999205e+20, + 7.193259469774346e+20, + 7.169209845209057e+20, + 7.149388606150239e+20, + 7.133769639877074e+20, + 7.122323359405286e+20, + 7.114937776304283e+20, + 7.111327137664772e+20, + 7.110904481426428e+20, + 7.11259033811511e+20, + 7.114525569117117e+20, + 7.113654903019907e+20, + 7.105153453876322e+20, + 7.081686406486308e+20, + 7.032526008304305e+20, + 6.942600474664457e+20, + 6.791610408652973e+20, + 6.553406156780645e+20, + 6.195854393827363e+20, + 5.68141296299507e+20, + 4.968565852751884e+20, + 4.01414569857041e+20, + 2.7764093780062054e+20, + 1.218568434817794e+20, + -6.876476846939744e+19, + -2.9588668296343506e+20, + -5.597817809970523e+20, + -8.592248933713049e+20, + -1.1915151001591805e+21, + -1.5526224209177414e+21, + -1.937436426714224e+21, + -2.3400833086242709e+21, + -2.7542735280215787e+21, + -3.173643976963249e+21, + -3.592065062206688e+21, + -4.003892232816456e+21, + -4.404151184133067e+21, + -4.788654759202227e+21, + -5.154056394624735e+21, + -5.497849528721501e+21, + -5.818324707065192e+21, + -6.11449664780913e+21, + -6.386012686017532e+21, + -6.633052390923686e+21, + -6.856226126226298e+21, + -7.056478242534089e+21, + -7.234998732557979e+21, + -7.393145513377599e+21, + -7.532378305915405e+21, + -7.65420406184593e+21, + -7.760133363085172e+21, + -7.851646653802061e+21, + -7.93016919515123e+21, + -7.99705332099894e+21, + -8.053566790444486e+21, + -8.10088606581728e+21, + -8.140093417905444e+21, + -8.172177002928132e+21, + -8.198033128436283e+21, + -8.218470048421888e+21, + -8.234212869874141e+21, + -8.245909001684417e+21, + -8.254134057568062e+21, + -8.259397771041716e+21, + -8.262149871352023e+21, + -8.262785732934798e+21, + -8.261651828110396e+21, + -8.259050728311888e+21, + -8.255245795613492e+21, + -8.250465540395724e+21, + -8.244907574617994e+21, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "eliminated_maximum_absolute": 8.262785732934798e+21, + "floor_active": true, + "maximum_absolute_difference": 1509677869275.2366, + "normalization_floor": 8.26278573547769e+21, + "normalization_scale": 8.26278573547769e+21, + "relative_error": 1.8270809840719642e-10, + "within_original_limit": true + } + } + }, + "cross_representation_role": "diagnostic_only_not_original_gate_channels", + "full_DD_transport": { + "positive_flux_m2_s": { + "hi": [ + -381222027771.3114, + -1167794986211.3992, + -2003411257139.8113, + -2890778288448.403, + -3832674783413.8633, + -4831934376019.855, + -5891424535725.676, + -7014019863248.953, + -8202568878754.215, + -9459853325703.88, + -10788538982241.096, + -12191116960276.926, + -13669834531353.568, + -15226614646050.73, + -16862963544969.943, + -18579866234428.688, + -20377670135077.73, + -22255957961313.934, + -24213411877081.227, + -26247672222247.996, + -28355195638422.363, + -30531119204411.24, + -32769139176450.055, + -35061414995077.926, + -37398511180205.36, + -39769391308339.69, + -42161479108559.48, + -44560801352041.23, + -46952225195155.555, + -49319798482426.57, + -51647194895038.51, + -53918256665988.055, + -56117616194058.76, + -58231365155559.266, + -60247727126085.055, + -62157679341752.78, + -63955463483880.03, + -65638926594799.914, + -67209643121420.14, + -68672788005599.31, + -70036757219672.53, + -71312562715722.88, + -72513058309048.94, + -73652075819372.19, + -74743561872674.95, + -75800802380292.81, + -76835804312067.33, + -77858876706066.27, + -78878420987906.16, + -79900911322833.4, + -80931024375372.64, + -81971867379328.81, + -83025253682372.94, + -84091983336496.06, + -85172099033773.58, + -86265101001735.08, + -87370115654338.4, + -88486020519352.27, + -89611532127862.69, + -90745264828769.75, + -91885767829733.1, + -93031546014119.84, + -94181067799648.23, + -95332760729295.86, + -96484992603827.72, + -97636032665194.53, + -98783983570063.98, + -99926670901007.38, + -101061473499055.06, + -102185076377133.11, + -103293130422982.9, + -104379811767421.14, + -105437290251602.11, + -106455140829194.53, + -107419761166389.56, + -108313887179279.44, + -109116317372750.64, + -109801958005795.67, + -110342278401490.9, + -110706218836844.77, + -110861528879091.19, + -110776444156263.92, + -110421549368127.05, + -109771638252201.42, + -108807375186870.53, + -107516588647292.39, + -105895077317066.56, + -103946874071054.66, + -101683978663911.22, + -99125625905388.98, + -96297195235913.58, + -93228887225644.38, + -89954293823162.34, + -86508976076184.61, + -82929140638064.1, + -79250479808857.66, + -75507213354587.19, + -71731346922192.94, + -67952143163273.73, + -64195788290144.47, + -60485228438616.92, + -56840146175337.4, + -53277046802036.71, + -49809425758737.55, + -46447991581026.2, + -43200922729696.94, + -40074140725581.93, + -37071585924050.73, + -34195485853761.414, + -31446609034878.973, + -28824499749054.902, + -26327691196100.97, + -23953895993645.758, + -21700174108054.72, + -19563079068408.133, + -17538783833970.658, + -15623187995865.963, + -13812008117693.69, + -12100853093329.248, + -10485286301368.365, + -8960876286001.748, + -7523237536249.107, + -6168062803219.889, + -4891148224602.343, + -3688412411736.506, + -2555910481897.3203, + -1489843892063.6946, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "lo": [ + -1.1801223765381459e-05, + 6.76989667023999e-05, + 8.253038154846685e-05, + 5.679132528270675e-05, + -7.057834532440522e-05, + -8.506841500181734e-05, + -9.272325011286153e-05, + -0.0002299312457578924, + 0.00046190602702700237, + -0.0007266450339661302, + 0.0005561964394159012, + -0.0009743217484019244, + -0.00019605776325069596, + 0.0001478944389505814, + -0.0008878709066919459, + -0.0013196015753409063, + -0.0005032685500890573, + 0.00037078121847685427, + -4.0461857546718306e-05, + -0.00084467246138836, + -7.012872659604587e-06, + -0.0015774706842178947, + 0.00022777916279666672, + -0.0010677537163271134, + 0.00357952932918763, + 0.0038210988202051007, + 0.0029345767185522884, + -0.0015835805791700299, + -1.7213565655135094e-05, + -0.0014969435819885406, + -0.0026968905568619736, + -0.002301893195303925, + 0.0008547567150326632, + -0.0019826705867012724, + 0.0031348902246352587, + 0.0002347733165608249, + 0.003605108612218087, + -0.0005087059505444583, + 0.003661546408250139, + 0.001531722226049333, + 0.0033954695874099574, + -0.004773969341273609, + -0.00568211067457652, + 0.00531726191358621, + 0.006730359448391522, + 0.002468613764164386, + -0.005750870395636397, + 0.0009737116041485679, + -0.0006572502472588797, + 0.001078671984676787, + -0.0022977226263051075, + -0.005378553877645669, + 0.007577703765757126, + 0.0011643128418439006, + -0.0037350737789204995, + 0.0021892105426965978, + 0.002339116110602879, + 0.00674516193619064, + 0.0007917321427521397, + -0.005246672287978569, + 0.005346426867675094, + -0.0019069045281564327, + -0.0057544895133352005, + 0.0022749376193224426, + -0.002522327476937828, + -0.0078035646761405045, + -0.00019339532848228465, + -0.006577880169350991, + 0.006490960969488902, + 0.003070499905268363, + 0.002278530957218399, + -0.0074441303469193944, + 0.00286080728362121, + 0.007681651804591922, + -0.005329944062741747, + -0.0020490919480812345, + 0.003538284541345334, + 0.006729482942865895, + -0.0043466321072853165, + -0.0011152330289602367, + 0.007033136332818126, + -0.003785723237062514, + 0.0015605559551592936, + -0.007333503423149007, + -0.007695120642387003, + 0.0011374217087631638, + 0.006964178732277296, + 0.006419311454012099, + -0.005880458049613294, + 0.0070101097385344546, + -0.0019500210247567918, + 0.0019176061068528162, + -0.0036804839515789966, + -0.003144591450787421, + 0.006582034946424429, + 0.0007343024029162846, + 0.0033257867707742338, + 0.002236392377204856, + -0.003414074795376691, + 0.0002813216480357835, + 0.0011391608370399822, + -0.0029033677912238508, + 0.00043307484290226956, + -0.0031035801050286467, + 0.0036833819602161474, + -0.002956270191473752, + 0.00017207052868560568, + -0.003436240392579396, + 0.00021451823484246822, + 0.00011131902255078444, + 0.0019026485518902744, + -0.0006130448281970021, + 0.00019594526023822447, + -0.0018115949900187425, + 0.0010549940666717615, + -0.0007760411200191317, + -0.0007413632322259866, + 0.0006202324183671174, + -0.0007807101669304183, + 0.0004106088208188315, + 0.0004564933215830096, + -0.0003062168728288517, + 9.053187515957832e-05, + 0.00016349674385095718, + 7.152356500501543e-05, + -0.00013826478896155516, + -4.073481842872579e-05, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + }, + "positive_rate_m3_s": { + "hi": [ + 6.459832946847956e+21, + 6.464038233628723e+21, + 6.466972433086449e+21, + 6.468362447219841e+21, + 6.467896648227982e+21, + 6.465220914737208e+21, + 6.459934621296682e+21, + 6.45158656336531e+21, + 6.439671079619055e+21, + 6.423624467436148e+21, + 6.402821988450901e+21, + 6.376575721125944e+21, + 6.344133676961864e+21, + 6.304680630009602e+21, + 6.257341200289123e+21, + 6.201185856604431e+21, + 6.135240543403607e+21, + 6.058500737822189e+21, + 5.969950765369973e+21, + 5.868589168254388e+21, + 5.753460858109314e+21, + 5.623696543804275e+21, + 5.478559598311418e+21, + 5.317500009381936e+21, + 5.14021434361997e+21, + 4.946709720557781e+21, + 4.737368719763204e+21, + 4.513010863078614e+21, + 4.2749450958865726e+21, + 4.025006571062705e+21, + 3.765570334611549e+21, + 3.499534490897874e+21, + 3.2302663709921205e+21, + 2.9615074227985045e+21, + 2.697236091808217e+21, + 2.4414927533605304e+21, + 2.19817640794363e+21, + 1.9708285491581343e+21, + 1.7624243358771784e+21, + 1.5751937291410405e+21, + 1.410494528935964e+21, + 1.2687547084782182e+21, + 1.1494932780712479e+21, + 1.051418279694336e+21, + 9.725893498197187e+20, + 9.10622944883273e+20, + 8.629128933147097e+20, + 8.268386375730624e+20, + 7.999382794435949e+20, + 7.800319720045706e+20, + 7.652910961413837e+20, + 7.542576618548662e+20, + 7.458247017434938e+20, + 7.391912906283867e+20, + 7.338054763760052e+20, + 7.293058240281277e+20, + 7.254686848420311e+20, + 7.221647841999205e+20, + 7.193259469774346e+20, + 7.169209845209057e+20, + 7.149388606150239e+20, + 7.133769639877074e+20, + 7.122323359405286e+20, + 7.114937776304283e+20, + 7.111327137664772e+20, + 7.110904481426428e+20, + 7.11259033811511e+20, + 7.114525569117117e+20, + 7.113654903019907e+20, + 7.105153453876322e+20, + 7.081686406486308e+20, + 7.032526008304305e+20, + 6.942600474664457e+20, + 6.791610408652973e+20, + 6.553406156780645e+20, + 6.195854393827363e+20, + 5.68141296299507e+20, + 4.968565852751884e+20, + 4.01414569857041e+20, + 2.7764093780062054e+20, + 1.218568434817794e+20, + -6.876476846939744e+19, + -2.9588668296343506e+20, + -5.597817809970523e+20, + -8.592248933713049e+20, + -1.1915151001591805e+21, + -1.5526224209177414e+21, + -1.937436426714224e+21, + -2.3400833086242709e+21, + -2.7542735280215787e+21, + -3.173643976963249e+21, + -3.592065062206688e+21, + -4.003892232816456e+21, + -4.404151184133067e+21, + -4.788654759202227e+21, + -5.154056394624735e+21, + -5.497849528721501e+21, + -5.818324707065192e+21, + -6.11449664780913e+21, + -6.386012686017532e+21, + -6.633052390923686e+21, + -6.856226126226298e+21, + -7.056478242534089e+21, + -7.234998732557979e+21, + -7.393145513377599e+21, + -7.532378305915405e+21, + -7.65420406184593e+21, + -7.760133363085172e+21, + -7.851646653802061e+21, + -7.93016919515123e+21, + -7.99705332099894e+21, + -8.053566790444486e+21, + -8.10088606581728e+21, + -8.140093417905444e+21, + -8.172177002928132e+21, + -8.198033128436283e+21, + -8.218470048421888e+21, + -8.234212869874141e+21, + -8.245909001684417e+21, + -8.254134057568062e+21, + -8.259397771041716e+21, + -8.262149871352023e+21, + -8.262785732934798e+21, + -8.261651828110396e+21, + -8.259050728311888e+21, + -8.255245795613492e+21, + -8.250465540395724e+21, + -8.244907574617994e+21, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "lo": [ + -32539.579774531103, + 120687.5687467924, + 359925.5701137283, + -442079.52603120054, + -22410.95482810926, + -44791.14810786269, + -54087.021936982535, + 200270.8943418388, + 28211.981218912617, + 125002.96797511414, + -92753.29747035376, + 22053.4639659274, + -241391.5905202876, + 244144.28710012688, + 98675.25698797789, + 1302.3399400801084, + -73372.67980399224, + 14452.299989956382, + 399481.776736798, + 360825.62768262567, + -161481.2561592999, + -430733.6383067392, + 242728.77026871935, + -13372.679644922568, + -172864.27671681537, + -103592.82723939812, + -364014.8441175718, + 207932.56150132147, + 85912.28339646634, + -209242.10541513696, + 242057.86475724305, + -88340.36521001393, + -150074.57728145647, + -11050.712881112868, + 21274.410069451747, + 137431.04411883745, + -19968.768091943788, + -130335.41509881783, + 90783.97203621254, + 85854.54750232131, + -38504.19857633326, + -10483.457632494476, + -2152.833501679716, + 9222.873008839872, + 18526.415536230757, + -49330.46428767727, + -16629.716205089317, + -39140.766244821505, + 46770.00803050237, + 15280.16572171451, + -27400.175623147134, + 40674.19589338003, + -43399.83753279981, + -29402.386002410098, + 45825.78099057965, + -1227.8589505083012, + -64757.54250787327, + -10985.422159257783, + 58839.420840943974, + -28861.450636445446, + -9507.45516188609, + -18404.159710668588, + 52343.697938119934, + 34794.1924688237, + 25217.86935325371, + 11056.502291527444, + -28256.08824518611, + 16447.94464674764, + -52152.969560268466, + 58475.22551504173, + -41503.25291594728, + 6820.598563708666, + 13409.283157829554, + 32390.197373550927, + 51324.993183532024, + 17012.747681574867, + -25390.133705272172, + -27691.0484583204, + 15651.517309666988, + -9997.340269482802, + 6507.608780920425, + 2347.8040329133382, + -18181.743474382423, + 4744.577065575649, + 15767.552609619563, + -2650.091079996192, + -117688.49565708736, + -93403.2305836203, + -95388.67961406101, + -210565.81723798942, + -190957.6560519581, + 209068.57585911796, + 196371.73407796177, + -12291.637199224942, + 488095.0324063036, + 4492.594334034526, + -399558.26798254653, + -14582.559640721973, + 423354.7505931829, + -102777.41665266483, + -320124.06219891005, + 436391.4562761731, + 156694.58702288347, + 380638.19791695976, + -213954.53969175252, + -171084.809605751, + -319363.94930187875, + 133073.68979828156, + -429693.1745566131, + 244084.1495575157, + -338012.8446027744, + 7262.533960027685, + 144004.1755308667, + -288048.8305024718, + -121056.39254788091, + -480156.74997397186, + -309754.77901683195, + -23737.40702924914, + 405444.8976069415, + -291374.5846254169, + 288383.63015252573, + 78943.56926080925, + 165094.5473141614, + 271668.45336617646, + 10459.236669681013, + 14344.275498743324, + 186289.39242239928, + -79533.38845786935, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + } + }, + "original_gate_uses": "actual_direct_high_minus_same_word_reference_high", + "rounding": "one_binary64_round_to_nearest_ties_to_even_before_SG", + "same_word_transport": { + "positive_flux_m2_s": { + "hi": [ + -381222027771.23285, + -1167794986211.705, + -2003411257139.398, + -2890778288448.8457, + -3832674783413.5493, + -4831934376019.713, + -5891424535726.011, + -7014019863248.252, + -8202568878755.011, + -9459853325703.775, + -10788538982241.035, + -12191116960277.877, + -13669834531351.525, + -15226614646051.781, + -16862963544970.236, + -18579866234428.023, + -20377670135078.668, + -22255957961313.54, + -24213411877082.01, + -26247672222246.066, + -28355195638424.277, + -30531119204409.355, + -32769139176452.168, + -35061414995077.508, + -37398511180204.46, + -39769391308338.85, + -42161479108560.125, + -44560801352043.31, + -46952225195154.89, + -49319798482424.92, + -51647194895039.18, + -53918256665989.71, + -56117616194056.8, + -58231365155561.16, + -60247727126083.266, + -62157679341752.94, + -63955463483880.336, + -65638926594800.14, + -67209643121419.17, + -68672788005600.41, + -70036757219673.0, + -71312562715723.8, + -72513058309047.34, + -73652075819371.95, + -74743561872674.98, + -75800802380294.16, + -76835804312066.81, + -77858876706063.69, + -78878420987907.9, + -79900911322835.1, + -80931024375369.12, + -81971867379330.64, + -83025253682373.08, + -84091983336496.47, + -85172099033772.14, + -86265101001733.73, + -87370115654337.33, + -88486020519357.52, + -89611532127864.52, + -90745264828764.95, + -91885767829734.77, + -93031546014119.02, + -94181067799645.03, + -95332760729296.53, + -96484992603828.23, + -97636032665199.52, + -98783983570057.77, + -99926670901014.77, + -101061473499053.48, + -102185076377127.78, + -103293130422988.5, + -104379811767417.97, + -105437290251606.39, + -106455140829189.61, + -107419761166389.61, + -108313887179277.97, + -109116317372755.64, + -109801958005790.64, + -110342278401491.88, + -110706218836843.05, + -110861528879090.67, + -110776444156267.53, + -110421549368132.47, + -109771638252194.66, + -108807375186877.16, + -107516588647274.97, + -105895077317092.25, + -103946874071035.97, + -101683978663920.77, + -99125625905384.28, + -96297195235926.31, + -93228887225646.33, + -89954293823132.2, + -86508976076207.28, + -82929140638043.9, + -79250479808885.58, + -75507213354580.48, + -71731346922163.61, + -67952143163283.02, + -64195788290139.07, + -60485228438604.45, + -56840146175346.195, + -53277046802096.01, + -49809425758696.164, + -46447991581059.914, + -43200922729708.29, + -40074140725523.47, + -37071585924040.99, + -34195485853831.086, + -31446609034805.727, + -28824499749058.242, + -26327691196111.613, + -23953895993653.918, + -21700174108062.87, + -19563079068467.875, + -17538783833937.326, + -15623187995893.688, + -13812008117648.588, + -12100853093267.88, + -10485286301404.611, + -8960876286072.059, + -7523237536169.512, + -6168062803179.101, + -4891148224732.55, + -3688412411646.8643, + -2555910481941.7197, + -1489843891962.1328, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "lo": [ + 2.518336417096523e-05, + 7.810506823941669e-05, + 8.442306999634309e-05, + -8.618986298198971e-05, + 3.8114616887183454e-05, + -0.0004712667612732993, + 7.538907241724877e-05, + 0.00033936186293054646, + 0.00026026120872433384, + 0.00023559987963370848, + -0.0004638622181857788, + 0.0007048954676310751, + -0.00020613101115617068, + 0.00016053717618811825, + -0.0009606304565395669, + -0.0004501500406007731, + -0.000456544115296623, + -7.564475145734195e-05, + 0.0014533913007527361, + -0.00107649462177595, + 0.0009416730401834389, + 0.0009061797043386056, + 0.0001336566875121885, + -0.00016788559799897328, + 0.003807182955846153, + -9.874686137130364e-05, + -0.00117483976258878, + -0.0014737920455201343, + -0.0021279490852755788, + 0.001536110486648176, + -0.002406968648328848, + -0.0033088696471065392, + 0.003651647795726137, + -0.0010074445092768786, + -0.0014900074045307945, + 0.0017350938159725344, + 1.2984738549543763e-05, + 0.0029312910295101902, + 0.00273927038418993, + 0.003809175950346318, + 0.0009253475192282038, + -0.005048925458523375, + 0.004155805029400843, + 0.004387704829976741, + -0.002919976695204871, + 0.0035755893158736767, + -0.00649325604742326, + 0.003854364721846411, + 0.007169602849650094, + 0.006387132917075611, + -0.0034146015166539594, + -0.0019248182848171254, + 0.004781660418100318, + -0.006655652885570068, + -0.0023210513147441138, + 0.0015497889315008561, + -0.003336860007762463, + 0.0037142310514685587, + -0.006400033375142271, + -0.002002126425483196, + 0.002763126989600538, + -0.003879983188093873, + 0.0025872311823498177, + -0.0007941638986139526, + 0.007452793345442294, + 0.0003807094678899325, + 0.006340523708878032, + -0.004936738038104304, + -1.3987592771179667e-05, + -0.0005316692961986804, + 0.002701086862459486, + -0.006568449574834097, + 0.007295178177696038, + -0.0026322784264836015, + 0.003795434938704802, + -0.0063392452243808805, + -0.0020555235627317207, + 0.0016513367156575547, + -0.005478545145024448, + 0.007227895052637899, + -0.00623601155278224, + 0.003844649057328103, + -0.002293449196263585, + -0.0054874267744354985, + 0.005866049080888431, + 0.0013143834156504658, + 0.000885279711732311, + -0.0041284179136187, + 0.0007772505718975642, + -0.002876229536948982, + 0.006365803581419815, + 0.006487255849580143, + -0.0063423184453397195, + 0.00041393436403022813, + -0.004160062948781311, + -8.905351213674488e-05, + -0.004680006399128505, + -0.004250219742453853, + 0.001739975136796244, + -0.00046922242679302116, + 0.0028286874115144656, + 0.0021893110253065886, + -0.002347277931476306, + -0.0038462456852662785, + -0.003249073322209885, + -0.0032039626740443007, + -0.0038701586561279942, + 0.0013001755324797844, + -0.0005506016725952745, + -0.000413998439171239, + -0.0012643066000752358, + -0.0017762590677732073, + -0.0019234488762668353, + -0.0008433856792140769, + -0.0002682535972884175, + -0.0006840050108035262, + 3.0345172481622502e-05, + 0.0007855905211243565, + -0.0004446854611421056, + -0.00029833201949548785, + -0.0002138230302074326, + -0.00031782455303978267, + -0.00022828763409131158, + -0.0003376240181887495, + -0.00015681642256276643, + 3.2851551459679098e-06, + 0.00011227125356264722, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + }, + "positive_rate_m3_s": { + "hi": [ + 6.459832946846624e+21, + 6.464038233631882e+21, + 6.466972433080884e+21, + 6.468362447226083e+21, + 6.467896648222783e+21, + 6.46522091473832e+21, + 6.45993462129959e+21, + 6.451586563359353e+21, + 6.439671079627171e+21, + 6.423624467431537e+21, + 6.402821988451126e+21, + 6.376575721130531e+21, + 6.344133676949025e+21, + 6.304680630022132e+21, + 6.257341200286226e+21, + 6.201185856600971e+21, + 6.135240543409076e+21, + 6.058500737817894e+21, + 5.969950765373565e+21, + 5.868589168246562e+21, + 5.753460858119804e+21, + 5.623696543794457e+21, + 5.478559598321206e+21, + 5.317500009376062e+21, + 5.140214343618914e+21, + 4.946709720557921e+21, + 4.737368719766144e+21, + 4.51301086308131e+21, + 4.2749450958816606e+21, + 4.0250065710610226e+21, + 3.7655703346153076e+21, + 3.499534490899393e+21, + 3.230266370986802e+21, + 2.961507422803903e+21, + 2.697236091803302e+21, + 2.4414927533630093e+21, + 2.1981764079438177e+21, + 1.9708285491580345e+21, + 1.7624243358758422e+21, + 1.5751937291432577e+21, + 1.4104945289353225e+21, + 1.2687547084786667e+21, + 1.1494932780688295e+21, + 1.0514182796956007e+21, + 9.725893498199631e+20, + 9.106229448843942e+20, + 8.62912893313161e+20, + 8.268386375713925e+20, + 7.999382794469869e+20, + 7.800319720045249e+20, + 7.65291096137523e+20, + 7.542576618587353e+20, + 7.458247017423034e+20, + 7.391912906285743e+20, + 7.338054763747464e+20, + 7.293058240281916e+20, + 7.254686848422087e+20, + 7.22164784204014e+20, + 7.193259469752504e+20, + 7.169209845167097e+20, + 7.149388606190825e+20, + 7.133769639861505e+20, + 7.122323359390508e+20, + 7.114937776328292e+20, + 7.111327137663728e+20, + 7.110904481454047e+20, + 7.112590338045706e+20, + 7.114525569201882e+20, + 7.113654902963736e+20, + 7.105153453852591e+20, + 7.081686406556084e+20, + 7.032526008247575e+20, + 6.942600474713365e+20, + 6.791610408591664e+20, + 6.55340615681427e+20, + 6.195854393816954e+20, + 5.6814129630408796e+20, + 4.9685658526791873e+20, + 4.014145698614956e+20, + 2.7764093779856307e+20, + 1.2185684348274034e+20, + -6.876476846608054e+19, + -2.9588668296191436e+20, + -5.597817810075546e+20, + -8.592248933593834e+20, + -1.1915151001813658e+21, + -1.5526224208764577e+21, + -1.9374364267583494e+21, + -2.3400833085950913e+21, + -2.7542735280369026e+21, + -3.173643976943704e+21, + -3.592065062219305e+21, + -4.0038922328556883e+21, + -4.404151184065565e+21, + -4.78865475925954e+21, + -5.154056394557344e+21, + -5.497849528772345e+21, + -5.818324707100058e+21, + -6.114496647746656e+21, + -6.386012686042505e+21, + -6.633052390936329e+21, + -6.856226126186304e+21, + -7.056478242434061e+21, + -7.234998732768046e+21, + -7.393145513212424e+21, + -7.532378305967288e+21, + -7.654204062016818e+21, + -7.76013336295926e+21, + -7.85164665358527e+21, + -7.930169195563531e+21, + -7.997053320765356e+21, + -8.053566790420931e+21, + -8.100886065825754e+21, + -8.140093417905483e+21, + -8.172177002730845e+21, + -8.198033128813223e+21, + -8.21847004815994e+21, + -8.23421287020523e+21, + -8.2459090017628e+21, + -8.254134057069338e+21, + -8.259397770857151e+21, + -8.262149872213543e+21, + -8.262785732698178e+21, + -8.261651827004054e+21, + -8.259050729821566e+21, + -8.255245794636417e+21, + -8.250465541525341e+21, + -8.244907574055942e+21, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "lo": [ + -40828.7249487486, + 466628.9916127224, + -36715.49121811898, + -376555.1947109528, + -17561.979288774488, + -507957.668797017, + 521144.9035778618, + 170844.50346771124, + -504340.5435207874, + -431181.2289491757, + 490612.18061132386, + -167201.56901376334, + 26025.282466631983, + -149096.20643226762, + -207869.01016818243, + 250746.8650920174, + -48407.83773703611, + 46517.312742290334, + -63551.79675719309, + -77556.9496052185, + -43410.878067581674, + 357244.0280505664, + 331235.6470462473, + -56082.93147434447, + 477642.2675490351, + -507894.78854178434, + -491009.94161699706, + 251946.44176147063, + 168419.3875657879, + -6154.103807221507, + 168630.63655362328, + -104800.3331531693, + -32984.70475983451, + 251197.67996281578, + -36191.7858342271, + 167718.3303406694, + 8188.176055225193, + 53173.943515211635, + -68358.38378253148, + -124909.87096727936, + 18481.626749932813, + -101114.27799194024, + -26136.123926032647, + 63444.98612501893, + 30256.315149522943, + -21527.917051068696, + 53956.40265232611, + -5392.761832654595, + 16833.941556228412, + 959.1655647019952, + -31265.38646307187, + 17940.800552040757, + -16063.431662492983, + -47015.789879000535, + -12899.04574567819, + -39492.930828446515, + 28499.90481333676, + 53135.78309502891, + -53329.547670762826, + 31009.123903479598, + 17760.08709412595, + -58866.59912867913, + -28328.494765957475, + 7878.988654140918, + 4851.517547788487, + 7238.202547967191, + 42246.17895229473, + 17099.248276263686, + -30503.731745020672, + -47956.167923421584, + 50027.77554949467, + 43063.48808650912, + 12177.060932122244, + -21355.444964170776, + -23222.950342582935, + 33410.517159878866, + -26741.09961838943, + -4231.5469311484385, + -11944.817754637823, + 6022.910714499529, + 1998.2584663944288, + 2532.7702584298177, + -3739.433971387483, + 26369.007655787245, + 24507.553105982195, + 114065.730300606, + 24333.103404495552, + -20345.68218056488, + 57765.93623755342, + 213321.01496433764, + 220423.580820207, + -12961.416374254697, + 21866.79085488528, + 198087.477658777, + -259064.25753131864, + -285776.8482839212, + -241631.06541143768, + 430558.730287149, + 74916.6140900693, + -29077.099450330184, + 50808.03458304357, + -74223.65515261765, + -262713.272316138, + 25353.3052290328, + -83150.89925100219, + -231187.27164220304, + 31396.19156270582, + -217529.7103499284, + -280462.32508270105, + 43511.04306722025, + -206484.6730132513, + -73459.4282652124, + -255738.00516531165, + 188358.4482036889, + -21497.939465760002, + -123910.971609875, + -180225.40573116165, + 187138.22329807555, + 87200.65826724745, + -131195.54808010109, + 454780.2790643293, + 384906.6948584435, + -358882.87952364865, + -250146.0961587209, + 312129.73561076535, + -383767.8306298326, + -318539.85228667164, + -227824.96784751504, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + } + } + }, + "schema": "R1GlobalIonReferenceSolveV1", + "used_direct_carriers": false, + "used_direct_flux_or_rate": false, + "used_direct_phi": false, + "used_direct_sheet_charge": false, + "used_historical_residual": false, + "used_rebased_population_origin": false + }, + "legacy_binary64": { + "difference": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 40225996800.0, + -38406193152.0, + -33515634688.0, + 32057851904.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 26336952320.0, + -25423380480.0, + 0.0, + 0.0, + 0.0, + -19088015360.0, + 18559401984.0, + -5711200256.0, + 5570822144.0, + 0.0, + 0.0, + 4787535872.0, + -13960085504.0, + 13592035328.0, + -17503485952.0, + 17186160640.0, + 12469141504.0, + -16543252480.0, + 8103657472.0, + -8064335872.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 8847753216.0, + -18085183488.0, + 37512019968.0, + -28767289344.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 16944201728.0, + -17553162240.0, + -58782384128.0, + 61051502592.0, + -22879928320.0, + 23818928128.0, + 0.0, + 0.0, + 32058114048.0, + -138695671808.0, + 110065876992.0, + 0.0, + 0.0, + 51042582528.0, + -166154207232.0, + 118273081344.0, + 137507110912.0, + -144685662208.0, + -337771495424.0, + 543356354560.0, + -301868253184.0, + 225885290496.0, + -122378256384.0, + 0.0, + 0.0, + 0.0, + 401329881088.0, + -424448884736.0, + 0.0, + 0.0, + 0.0, + 708283727872.0, + -1942858235904.0, + 1263682977792.0, + 1003265982464.0, + -2191575220224.0, + 1196097011712.0, + 0.0, + -803432562688.0, + -52215939072.0, + 5037361201152.0, + -4327942914048.0, + -3884669992960.0, + 2777825673216.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "direct": [ + 6.459832946630863e+21, + 6.464038234179966e+21, + 6.466972432898917e+21, + 6.468362447446181e+21, + 6.46789664776514e+21, + 6.465220915197833e+21, + 6.459934620563731e+21, + 6.451586563834928e+21, + 6.439671079682674e+21, + 6.42362446693694e+21, + 6.402821988999971e+21, + 6.376575721050799e+21, + 6.344133676508303e+21, + 6.30468063036579e+21, + 6.25734120033293e+21, + 6.201185856494692e+21, + 6.135240543425645e+21, + 6.058500737674509e+21, + 5.969950765438463e+21, + 5.868589168173485e+21, + 5.753460858172245e+21, + 5.623696543843886e+21, + 5.478559598398774e+21, + 5.317500009336798e+21, + 5.140214343616793e+21, + 4.946709720517308e+21, + 4.737368719807838e+21, + 4.513010863037651e+21, + 4.2749450959114485e+21, + 4.0250065710416375e+21, + 3.765570334600083e+21, + 3.4995344909109963e+21, + 3.2302663710157507e+21, + 2.961507422820064e+21, + 2.6972360917747295e+21, + 2.4414927533495314e+21, + 2.1981764079206222e+21, + 1.9708285492092653e+21, + 1.7624243358568987e+21, + 1.5751937291498443e+21, + 1.410494528940991e+21, + 1.2687547084660823e+21, + 1.1494932780604899e+21, + 1.0514182797176254e+21, + 9.725893498087347e+20, + 9.106229448852611e+20, + 8.629128933006075e+20, + 8.268386375952804e+20, + 7.999382794252658e+20, + 7.800319720073493e+20, + 7.652910961487291e+20, + 7.542576618418654e+20, + 7.45824701757077e+20, + 7.391912906202401e+20, + 7.338054763808319e+20, + 7.293058240201142e+20, + 7.254686848500325e+20, + 7.221647841987504e+20, + 7.193259469779302e+20, + 7.169209845278676e+20, + 7.149388606123565e+20, + 7.133769639898431e+20, + 7.122323359363925e+20, + 7.114937776361574e+20, + 7.111327137598686e+20, + 7.110904481365294e+20, + 7.112590338144006e+20, + 7.114525569118634e+20, + 7.113654903079246e+20, + 7.105153453835692e+20, + 7.081686406589359e+20, + 7.032526008221224e+20, + 6.942600474692734e+20, + 6.791610408695334e+20, + 6.553406156730772e+20, + 6.195854393780395e+20, + 5.681412963053411e+20, + 4.968565852677629e+20, + 4.014145698614555e+20, + 2.7764093778676013e+20, + 1.2185684350238165e+20, + -6.876476847950858e+19, + -2.958866829791282e+20, + -5.597817809954719e+20, + -8.592248933322932e+20, + -1.1915151002217695e+21, + -1.5526224209056023e+21, + -1.9374364266537015e+21, + -2.3400833086897397e+21, + -2.754273527966424e+21, + -3.1736439770118404e+21, + -3.592065062198543e+21, + -4.0038922328107694e+21, + -4.4041511841990983e+21, + -4.788654759025662e+21, + -5.154056394671942e+21, + -5.497849528758973e+21, + -5.81832470703127e+21, + -6.114496647904243e+21, + -6.3860126860362e+21, + -6.633052390805269e+21, + -6.856226126239295e+21, + -7.056478242739335e+21, + -7.234998732422726e+21, + -7.393145513208832e+21, + -7.532378305919353e+21, + -7.654204062349014e+21, + -7.760133362373007e+21, + -7.851646653799311e+21, + -7.930169196073725e+21, + -7.997053320429267e+21, + -8.053566790179332e+21, + -8.100886066051681e+21, + -8.140093417757506e+21, + -8.172177002189244e+21, + -8.1980331291668e+21, + -8.218470049811499e+21, + -8.234212868377212e+21, + -8.245909002177167e+21, + -8.25413405765541e+21, + -8.259397771413341e+21, + -8.262149870200057e+21, + -8.262785734607717e+21, + -8.261651825204533e+21, + -8.259050726790313e+21, + -8.255245801209967e+21, + -8.250465541505621e+21, + -8.244907572211634e+21, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0 + ], + "direct_maximum_absolute": 8.262785734607717e+21, + "eliminated": [ + 6.459832946630863e+21, + 6.464038234179966e+21, + 6.466972432898917e+21, + 6.468362447446181e+21, + 6.46789664776514e+21, + 6.465220915197833e+21, + 6.459934620563731e+21, + 6.451586563834928e+21, + 6.439671079682674e+21, + 6.42362446693694e+21, + 6.402821988999971e+21, + 6.376575721050799e+21, + 6.344133676508303e+21, + 6.30468063036579e+21, + 6.25734120033293e+21, + 6.201185856494692e+21, + 6.135240543425645e+21, + 6.058500737674509e+21, + 5.969950765438463e+21, + 5.868589168173485e+21, + 5.753460858172245e+21, + 5.623696543843886e+21, + 5.478559598398774e+21, + 5.317500009336798e+21, + 5.140214343616793e+21, + 4.946709720517308e+21, + 4.737368719807838e+21, + 4.513010863037651e+21, + 4.2749450959114485e+21, + 4.0250065710416375e+21, + 3.765570334600083e+21, + 3.4995344909109963e+21, + 3.2302663710157507e+21, + 2.961507422779838e+21, + 2.6972360918131356e+21, + 2.441492753383047e+21, + 2.1981764078885643e+21, + 1.9708285492092653e+21, + 1.7624243358568987e+21, + 1.5751937291498443e+21, + 1.410494528940991e+21, + 1.2687547084660823e+21, + 1.1494932780604899e+21, + 1.0514182796912884e+21, + 9.725893498341581e+20, + 9.106229448852611e+20, + 8.629128933006075e+20, + 8.268386375952804e+20, + 7.999382794443538e+20, + 7.800319719887899e+20, + 7.652910961544403e+20, + 7.542576618362946e+20, + 7.45824701757077e+20, + 7.391912906202401e+20, + 7.338054763760444e+20, + 7.293058240340743e+20, + 7.254686848364405e+20, + 7.221647842162539e+20, + 7.19325946960744e+20, + 7.169209845153985e+20, + 7.149388606288998e+20, + 7.133769639817394e+20, + 7.122323359444569e+20, + 7.114937776361574e+20, + 7.111327137598686e+20, + 7.110904481365294e+20, + 7.112590338144006e+20, + 7.114525569118634e+20, + 7.113654903079246e+20, + 7.105153453835692e+20, + 7.081686406589359e+20, + 7.032526008132747e+20, + 6.942600474873586e+20, + 6.791610408320214e+20, + 6.553406157018445e+20, + 6.195854393780395e+20, + 5.681412963053411e+20, + 4.968565852677629e+20, + 4.014145698614555e+20, + 2.7764093778676013e+20, + 1.2185684350238165e+20, + -6.876476847950858e+19, + -2.958866829791282e+20, + -5.597817809954719e+20, + -8.592248933492374e+20, + -1.1915151002042164e+21, + -1.55262242084682e+21, + -1.937436426714753e+21, + -2.3400833086668598e+21, + -2.754273527990243e+21, + -3.1736439770118404e+21, + -3.592065062198543e+21, + -4.0038922328428275e+21, + -4.4041511840604026e+21, + -4.788654759135728e+21, + -5.154056394671942e+21, + -5.497849528758973e+21, + -5.818324707082312e+21, + -6.114496647738089e+21, + -6.386012686154473e+21, + -6.633052390942776e+21, + -6.856226126094609e+21, + -7.056478242401564e+21, + -7.234998732966082e+21, + -7.393145512906964e+21, + -7.532378306145238e+21, + -7.654204062226636e+21, + -7.760133362373007e+21, + -7.851646653799311e+21, + -7.930169196073725e+21, + -7.997053320830597e+21, + -8.053566789754883e+21, + -8.100886066051681e+21, + -8.140093417757506e+21, + -8.172177002189244e+21, + -8.198033129875084e+21, + -8.218470047868641e+21, + -8.234212869640895e+21, + -8.245909003180433e+21, + -8.254134055463835e+21, + -8.259397772609438e+21, + -8.262149870200057e+21, + -8.262785733804285e+21, + -8.261651825152317e+21, + -8.259050731827674e+21, + -8.255245796882024e+21, + -8.250465537620951e+21, + -8.244907574989459e+21, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0 + ], + "eliminated_maximum_absolute": 8.262785733804285e+21, + "floor_active": false, + "maximum_absolute_difference": 5037361201152.0, + "normalization_floor": 8.262785734607717e+21, + "normalization_scale": 8.262785734607717e+21, + "relative_error": 6.09644418111146e-10 + }, + "maximum_absolute_difference": 5351995867136.0, + "normalization_floor": 8.26278573547769e+21, + "normalization_scale": 8.26278573547769e+21, + "relative_error": 6.477229397533917e-10, + "unit": "m-3 s-1" + }, + "potential": { + "difference": [ + 0.0, + 1.3552527156068805e-20, + 2.710505431213761e-20, + 0.0, + 0.0, + 5.421010862427522e-20, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 2.168404344971009e-19, + 2.168404344971009e-19, + 0.0, + 2.168404344971009e-19, + 0.0, + 0.0, + 4.336808689942018e-19, + 0.0, + -4.336808689942018e-19, + 4.336808689942018e-19, + 0.0, + 4.336808689942018e-19, + 4.336808689942018e-19, + 4.336808689942018e-19, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 8.673617379884035e-19, + 8.673617379884035e-19, + 0.0, + 0.0, + 8.673617379884035e-19, + 8.673617379884035e-19, + 0.0, + 0.0, + 0.0, + 0.0, + 1.734723475976807e-18, + 0.0, + 0.0, + 0.0, + 3.469446951953614e-18, + 1.734723475976807e-18, + -1.734723475976807e-18, + 1.734723475976807e-18, + 0.0, + 0.0, + 1.734723475976807e-18, + 3.469446951953614e-18, + 0.0, + 3.469446951953614e-18, + 0.0, + -3.469446951953614e-18, + 3.469446951953614e-18, + 0.0, + 3.469446951953614e-18, + 6.938893903907228e-18, + 3.469446951953614e-18, + 3.469446951953614e-18, + 3.469446951953614e-18, + 3.469446951953614e-18, + 0.0, + 0.0, + 0.0, + 0.0, + 3.469446951953614e-18, + 0.0, + 3.469446951953614e-18, + 3.469446951953614e-18, + 3.469446951953614e-18, + 3.469446951953614e-18, + 0.0, + 3.469446951953614e-18, + 3.469446951953614e-18, + 3.469446951953614e-18, + 3.469446951953614e-18, + 3.469446951953614e-18, + 0.0, + 6.938893903907228e-18, + 6.938893903907228e-18, + 0.0, + 6.938893903907228e-18, + 0.0, + 0.0, + 0.0, + 0.0, + 6.938893903907228e-18, + 0.0, + 0.0, + 0.0, + 0.0, + 6.938893903907228e-18, + 0.0, + 0.0, + 6.938893903907228e-18, + 6.938893903907228e-18, + -6.938893903907228e-18, + 0.0, + -6.938893903907228e-18, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 6.938893903907228e-18, + 0.0, + 0.0, + 0.0, + 0.0, + 6.938893903907228e-18, + 0.0, + 0.0, + 6.938893903907228e-18, + 0.0, + 0.0, + 6.938893903907228e-18, + 0.0, + -6.938893903907228e-18, + 6.938893903907228e-18, + 6.938893903907228e-18, + 0.0, + 0.0, + -6.938893903907228e-18, + 0.0, + 0.0, + 6.938893903907228e-18, + 6.938893903907228e-18, + 6.938893903907228e-18, + 0.0, + 6.938893903907228e-18, + 6.938893903907228e-18, + 0.0, + 6.938893903907228e-18, + 0.0, + 0.0, + 6.938893903907228e-18, + 0.0, + 0.0, + 0.0, + 6.938893903907228e-18, + 0.0, + 0.0, + 0.0, + -6.938893903907228e-18, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 6.938893903907228e-18, + 0.0, + -6.938893903907228e-18, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 6.938893903907228e-18, + 0.0, + 0.0, + 6.938893903907228e-18, + 0.0, + 6.938893903907228e-18, + -6.938893903907228e-18, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 6.938893903907228e-18, + 0.0, + 0.0, + 6.938893903907228e-18, + 6.938893903907228e-18, + 6.938893903907228e-18, + 0.0, + 0.0, + 0.0, + 0.0, + 1.3877787807814457e-17, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 1.3877787807814457e-17, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 1.3877787807814457e-17, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 1.3877787807814457e-17, + 1.3877787807814457e-17, + 0.0, + 1.3877787807814457e-17, + 1.3877787807814457e-17, + 0.0, + 0.0, + 0.0, + 0.0, + 1.3877787807814457e-17, + 1.3877787807814457e-17, + 1.3877787807814457e-17, + -1.3877787807814457e-17, + 0.0, + -1.3877787807814457e-17, + 0.0, + 0.0, + 0.0, + 0.0, + 1.3877787807814457e-17, + -1.3877787807814457e-17, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -1.3877787807814457e-17, + 0.0, + 0.0, + -1.3877787807814457e-17, + 0.0, + 0.0, + -1.3877787807814457e-17, + 0.0, + 1.3877787807814457e-17, + 0.0, + 0.0, + 0.0, + 0.0, + -1.3877787807814457e-17, + 0.0, + 0.0, + 0.0, + 1.3877787807814457e-17, + 1.3877787807814457e-17, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "direct": [ + 0.0, + -6.29512240069506e-05, + -0.00012969230926562146, + -0.0002004336413874064, + -0.0002753950215835266, + -0.0003548057940358284, + -0.000438904931293127, + -0.00052794107076992, + -0.0006221724948323855, + -0.0007218670463701068, + -0.000827301971184351, + -0.0009387636779915154, + -0.001056547406363685, + -0.0011809567925302052, + -0.0013123033226725472, + -0.0014509056631900885, + -0.0015970888574323781, + -0.0017511833786223682, + -0.0019135240291775638, + -0.0020844486774163826, + -0.002264296823762096, + -0.0024534079900728326, + -0.0026521199276784277, + -0.002860766642133973, + -0.0030796762356395837, + -0.00330916857154962, + -0.003549552769410485, + -0.003801124543514702, + -0.004064163403006004, + -0.004338929737054011, + -0.004625661814443343, + -0.004924572732960135, + -0.005235847360039204, + -0.005559639312048131, + -0.005896068025081852, + -0.006245215974937848, + -0.006607126107724502, + -0.006981799544988446, + -0.007369193627989749, + -0.007769220364473933, + -0.008181745337684584, + -0.008606587131180954, + -0.00904351731410371, + -0.0094922610198112, + -0.009952498136370327, + -0.010423865110477673, + -0.010905957347441033, + -0.011398332169496405, + -0.011900512273786506, + -0.012411989610765714, + -0.012932229584727234, + -0.013460675461739305, + -0.013996752857685129, + -0.014539874171386918, + -0.015089442825837867, + -0.015644857184978062, + -0.016205514024507393, + -0.01677081145281173, + -0.017340151201651274, + -0.017912940234865126, + -0.018488591655644215, + -0.01906652492725899, + -0.019646165456623607, + -0.020226943622763137, + -0.020808293361188782, + -0.02138965043862213, + -0.021970450568990968, + -0.02255012753011239, + -0.023128111440445562, + -0.023703827346735935, + -0.024276694256824254, + -0.024846124728394262, + -0.02541152509544042, + -0.025972296381519308, + -0.026527835914354255, + -0.027077539622078567, + -0.027620804959212774, + -0.02815703438203153, + -0.028685639269609833, + -0.029206044169470716, + -0.02971769123587978, + -0.030220044724515165, + -0.030712595409172073, + -0.03119486479370701, + -0.031666409004723124, + -0.032126822266522755, + -0.03257573987851386, + -0.033012840635455204, + -0.033437848651621374, + -0.033850534570220685, + -0.03425071615840583, + -0.03463825830533361, + -0.035013072455483914, + -0.03537511552154087, + -0.03572438833043371, + -0.03606093366264446, + -0.03638483394874974, + -0.036696208688607436, + -0.036995211657928, + -0.03728202796452802, + -0.03755687101270866, + -0.03781997942929024, + -0.03807161399919952, + -0.03831205465245022, + -0.038541597538141834, + -0.03876055221494509, + -0.03896923898161738, + -0.03916798636553321, + -0.03935712878211278, + -0.03953700437344911, + -0.039707953030399284, + -0.039870314598925365, + -0.04002442726853476, + -0.04017062613824972, + -0.040309241953597905, + -0.04044060000661523, + -0.040565019189744235, + -0.04068281119374688, + -0.040794279839283625, + -0.04089972053159584, + -0.0409994198277225, + -0.04109365510584761, + -0.04118269432667555, + -0.04126679587713656, + -0.041346208487207756, + -0.04142117121117193, + -0.04149191346520799, + -0.04155865511379599, + -0.04168465835363574, + -0.041751563014115325, + -0.04182260176594623, + -0.04189801795531659, + -0.04197806768404199, + -0.04206302027265064, + -0.042153158711605715, + -0.042248780095506096, + -0.042350196034399976, + -0.04245773303558156, + -0.04257173284841673, + -0.042692552763862884, + -0.042820565859412664, + -0.042956161179205934, + -0.0430997438380273, + -0.04325173503684623, + -0.043412571976477035, + -0.04358270765485389, + -0.04376261053235074, + -0.04395276404855476, + -0.044153665972954045, + -0.04436582757116206, + -0.04458977256761504, + -0.04482603588519158, + -0.04507516214197105, + -0.04533770388542851, + -0.04561421954482589, + -0.045905271083470714, + -0.046211421333951466, + -0.04653323100149665, + -0.0468712553233196, + -0.04722604037527458, + -0.047598119021427854, + -0.04798800650729282, + -0.048396195703529106, + -0.04882315201387958, + -0.04926930796900099, + -0.04973505753659243, + -0.050220750187752544, + -0.05072668476967237, + -0.051253103245414454, + -0.05180018437240639, + -0.05236803740209854, + -0.052956695893660886, + -0.053566111744228304, + -0.05419614954662038, + -0.05484658139219592, + -0.05551708224108724, + -0.056207225984028275, + -0.05691648231891674, + -0.05764421456076055, + -0.05838967849547131, + -0.05915202237591238, + -0.05993028814265809, + -0.06072341393220616, + -0.061530237912214535, + -0.062349503457192805, + -0.06317986564963335, + -0.06401989906163712, + -0.0648681067416309, + -0.06572293030083345, + -0.0665827609657994, + -0.0674459514377414, + -0.06831082837741567, + -0.06917570531705983, + -0.07003889578891168, + -0.07089872645372808, + -0.07175355001272263, + -0.07260175769245139, + -0.07344179110413478, + -0.0742721532962017, + -0.07509141884075546, + -0.07589824282029113, + -0.07669136860932123, + -0.07746963437550682, + -0.07823197825534894, + -0.07897744218942539, + -0.07970517443060307, + -0.0804144307647972, + -0.08110457450701944, + -0.08177507535517105, + -0.08242550719998963, + -0.08305554500161104, + -0.0836649608513975, + -0.08425361934217193, + -0.08482147237107238, + -0.08536855349727179, + -0.08589497197222341, + -0.08640090655335744, + -0.08688659920373887, + -0.0873523487705609, + -0.08779850472492425, + -0.08822546103452977, + -0.08863365023003586, + -0.08902353771518674, + -0.08939561636064328, + -0.08975040141191984, + -0.09008842573308358, + -0.09041023539998938, + -0.09071638564985111, + -0.09100743718789764, + -0.0912839528467177, + -0.09154649458961892, + -0.0917956208458632, + -0.0920318841629255, + -0.09225582915888504, + -0.09246799075662013, + -0.09266889268056669, + -0.09285904619633777, + -0.09303894907342103, + -0.09320908475140317, + -0.0933699216906576, + -0.09352191288911797, + -0.09366549554759805, + -0.09380109086706669, + -0.09392910396230789, + -0.09404992387746097, + -0.09416392369001793, + -0.09427146069093562, + -0.0943728766295793, + -0.09446849801324256, + -0.09455863645197311, + -0.0946435890403692, + -0.09472363876889348, + -0.09479905495807361, + -0.09487009370972467, + -0.09493699837003429, + -0.09499999999999964 + ], + "direct_maximum_absolute": 0.09499999999999964, + "eliminated": [ + 0.0, + -6.295122400695062e-05, + -0.00012969230926562149, + -0.0002004336413874064, + -0.0002753950215835266, + -0.00035480579403582844, + -0.000438904931293127, + -0.00052794107076992, + -0.0006221724948323855, + -0.0007218670463701068, + -0.000827301971184351, + -0.0009387636779915154, + -0.001056547406363685, + -0.0011809567925302055, + -0.0013123033226725474, + -0.0014509056631900885, + -0.0015970888574323783, + -0.0017511833786223682, + -0.0019135240291775638, + -0.002084448677416383, + -0.002264296823762096, + -0.002453407990072832, + -0.002652119927678428, + -0.002860766642133973, + -0.003079676235639584, + -0.0033091685715496205, + -0.0035495527694104855, + -0.003801124543514702, + -0.004064163403006004, + -0.004338929737054011, + -0.004625661814443343, + -0.004924572732960135, + -0.005235847360039204, + -0.005559639312048131, + -0.005896068025081853, + -0.0062452159749378485, + -0.006607126107724502, + -0.006981799544988446, + -0.00736919362798975, + -0.007769220364473934, + -0.008181745337684584, + -0.008606587131180954, + -0.00904351731410371, + -0.0094922610198112, + -0.009952498136370329, + -0.010423865110477673, + -0.010905957347441033, + -0.011398332169496405, + -0.01190051227378651, + -0.012411989610765716, + -0.012932229584727232, + -0.013460675461739307, + -0.013996752857685129, + -0.014539874171386918, + -0.015089442825837868, + -0.015644857184978066, + -0.016205514024507393, + -0.016770811452811733, + -0.017340151201651274, + -0.017912940234865123, + -0.018488591655644218, + -0.01906652492725899, + -0.01964616545662361, + -0.020226943622763144, + -0.020808293361188786, + -0.021389650438622135, + -0.02197045056899097, + -0.022550127530112395, + -0.023128111440445562, + -0.023703827346735935, + -0.024276694256824254, + -0.024846124728394262, + -0.025411525095440424, + -0.025972296381519308, + -0.02652783591435426, + -0.02707753962207857, + -0.027620804959212777, + -0.028157034382031532, + -0.028685639269609833, + -0.02920604416947072, + -0.029717691235879782, + -0.030220044724515168, + -0.030712595409172077, + -0.031194864793707013, + -0.031666409004723124, + -0.03212682226652276, + -0.032575739878513865, + -0.033012840635455204, + -0.03343784865162138, + -0.033850534570220685, + -0.03425071615840583, + -0.03463825830533361, + -0.035013072455483914, + -0.03537511552154088, + -0.03572438833043371, + -0.03606093366264446, + -0.03638483394874974, + -0.036696208688607436, + -0.036995211657928004, + -0.03728202796452802, + -0.03755687101270866, + -0.037819979429290246, + -0.038071613999199526, + -0.03831205465245021, + -0.038541597538141834, + -0.038760552214945086, + -0.03896923898161738, + -0.03916798636553321, + -0.03935712878211278, + -0.03953700437344911, + -0.039707953030399284, + -0.03987031459892537, + -0.04002442726853476, + -0.04017062613824972, + -0.040309241953597905, + -0.04044060000661523, + -0.04056501918974424, + -0.04068281119374688, + -0.040794279839283625, + -0.040899720531595844, + -0.0409994198277225, + -0.04109365510584761, + -0.041182694326675554, + -0.04126679587713656, + -0.04134620848720775, + -0.041421171211171934, + -0.041491913465207995, + -0.04155865511379599, + -0.04168465835363574, + -0.04175156301411532, + -0.04182260176594623, + -0.04189801795531659, + -0.041978067684042, + -0.042063020272650645, + -0.04215315871160572, + -0.042248780095506096, + -0.04235019603439998, + -0.04245773303558157, + -0.04257173284841673, + -0.04269255276386289, + -0.042820565859412664, + -0.042956161179205934, + -0.04309974383802731, + -0.04325173503684623, + -0.043412571976477035, + -0.04358270765485389, + -0.04376261053235075, + -0.04395276404855476, + -0.044153665972954045, + -0.04436582757116206, + -0.04458977256761503, + -0.04482603588519158, + -0.04507516214197105, + -0.04533770388542851, + -0.04561421954482589, + -0.045905271083470714, + -0.046211421333951466, + -0.04653323100149666, + -0.0468712553233196, + -0.04722604037527457, + -0.047598119021427854, + -0.04798800650729282, + -0.048396195703529106, + -0.04882315201387958, + -0.04926930796900099, + -0.049735057536592436, + -0.050220750187752544, + -0.05072668476967237, + -0.05125310324541446, + -0.05180018437240639, + -0.05236803740209855, + -0.05295669589366088, + -0.053566111744228304, + -0.05419614954662038, + -0.05484658139219592, + -0.05551708224108724, + -0.056207225984028275, + -0.056916482318916745, + -0.05764421456076055, + -0.05838967849547131, + -0.05915202237591239, + -0.0599302881426581, + -0.06072341393220617, + -0.061530237912214535, + -0.062349503457192805, + -0.06317986564963335, + -0.06401989906163712, + -0.06486810674163092, + -0.06572293030083345, + -0.0665827609657994, + -0.0674459514377414, + -0.06831082837741567, + -0.06917570531705983, + -0.07003889578891169, + -0.07089872645372808, + -0.07175355001272263, + -0.07260175769245139, + -0.07344179110413478, + -0.0742721532962017, + -0.07509141884075547, + -0.07589824282029113, + -0.07669136860932123, + -0.07746963437550682, + -0.07823197825534894, + -0.07897744218942539, + -0.07970517443060308, + -0.08041443076479722, + -0.08110457450701944, + -0.08177507535517106, + -0.08242550719998964, + -0.08305554500161104, + -0.0836649608513975, + -0.08425361934217193, + -0.08482147237107238, + -0.0853685534972718, + -0.08589497197222343, + -0.08640090655335746, + -0.08688659920373885, + -0.0873523487705609, + -0.08779850472492423, + -0.08822546103452977, + -0.08863365023003586, + -0.08902353771518674, + -0.08939561636064328, + -0.08975040141191985, + -0.09008842573308357, + -0.09041023539998938, + -0.09071638564985111, + -0.09100743718789764, + -0.0912839528467177, + -0.09154649458961892, + -0.09179562084586318, + -0.0920318841629255, + -0.09225582915888504, + -0.09246799075662011, + -0.09266889268056669, + -0.09285904619633777, + -0.09303894907342102, + -0.09320908475140317, + -0.09336992169065761, + -0.09352191288911797, + -0.09366549554759805, + -0.09380109086706669, + -0.09392910396230789, + -0.09404992387746096, + -0.09416392369001793, + -0.09427146069093562, + -0.0943728766295793, + -0.09446849801324257, + -0.09455863645197313, + -0.0946435890403692, + -0.09472363876889348, + -0.09479905495807361, + -0.09487009370972467, + -0.09493699837003429, + -0.09499999999999964 + ], + "eliminated_maximum_absolute": 0.09499999999999964, + "floor_active": false, + "maximum_absolute_difference": 1.3877787807814457e-17, + "normalization_floor": 0.025851999786435535, + "normalization_scale": 0.09499999999999964, + "relative_error": 1.4608197692436326e-16, + "unit": "V" + }, + "sheet_charge": { + "difference": [ + 0.0 + ], + "direct": [ + 1.5313001760320654e-11 + ], + "direct_maximum_absolute": 1.5313001760320654e-11, + "eliminated": [ + 1.5313001760320654e-11 + ], + "eliminated_maximum_absolute": 1.5313001760320654e-11, + "floor_active": true, + "maximum_absolute_difference": 0.0, + "normalization_floor": 8.01088317e-05, + "normalization_scale": 8.01088317e-05, + "relative_error": 0.0, + "unit": "C m-2" + }, + "trace_potential": { + "difference": [ + [ + 6.938893903907228e-18, + 6.938893903907228e-18 + ] + ], + "direct": [ + [ + 1.0206301082060776e-11, + 1.0206301082060776e-11 + ] + ], + "direct_maximum_absolute": 1.0206301082060776e-11, + "eliminated": [ + [ + 1.0206294143166872e-11, + 1.0206294143166872e-11 + ] + ], + "eliminated_maximum_absolute": 1.0206294143166872e-11, + "floor_active": true, + "maximum_absolute_difference": 6.938893903907228e-18, + "normalization_floor": 0.025851999786435535, + "normalization_scale": 0.025851999786435535, + "relative_error": 2.684084001713494e-16, + "unit": "V" + } + }, + "hole_qf_increment_V": [ + 0.0, + 1.4123990667826608e-06, + 2.908456348333385e-06, + 4.492643598732202e-06, + 6.169610733299914e-06, + 7.944185039098626e-06, + 9.821369133839545e-06, + 1.1806337506879408e-05, + 1.3904431465430603e-05, + 1.6121152299407762e-05, + 1.846215246987841e-05, + 2.0933224619303274e-05, + 2.354028819716904e-05, + 2.628937349277329e-05, + 2.9186602868452454e-05, + 3.223816899210832e-05, + 3.545030987730503e-05, + 3.88292805620871e-05, + 4.238132125477762e-05, + 4.611262185363357e-05, + 5.00292827215053e-05, + 5.413727169094657e-05, + 5.8442377303448244e-05, + 6.295015835544245e-05, + 6.76658898934596e-05, + 7.25945058799175e-05, + 7.774053883791348e-05, + 8.310805687617657e-05, + 8.870059860139781e-05, + 9.452110650259785e-05, + 0.0001005718595451918, + 0.00010685440575158953, + 0.00011336949569111453, + 0.0001201170178646154, + 0.00012709593705117458, + 0.00013430423674197584, + 0.00014173886682475743, + 0.00014939569769702567, + 0.00015726948197437832, + 0.00016535382491961824, + 0.00017364116464663895, + 0.00018212276305891968, + 0.00019078870832685567, + 0.0001996279295997327, + 0.0002086282244028944, + 0.0002177762990255799, + 0.00022705782193878468, + 0.00023645749011429973, + 0.0002459591078253705, + 0.000255545677334889, + 0.0002651995006367908, + 0.00027490229122183093, + 0.0002846352946540884, + 0.0002943794165812064, + 0.00030411535666060647, + 0.00031382374676682694, + 0.00032348529175229467, + 0.00033308091096552874, + 0.00034259187868727295, + 0.0003519999616270198, + 0.00036128755163092194, + 0.00037043779178883734, + 0.00037943469419534005, + 0.0003882632477191989, + 0.00039690951426923676, + 0.0004053607122218068, + 0.00041360528585647125, + 0.00042163295993672594, + 0.00042943477878156, + 0.00043700312951915353, + 0.00044433174950146904, + 0.00045141571818455527, + 0.0004582514340928834, + 0.0004648365777831756, + 0.00047117006200041617, + 0.00047725197042563464, + 0.0004830834866495409, + 0.0004886668150745907, + 0.0004940050955789965, + 0.0004991023137506872, + 0.0005039632085018326, + 0.0005085931787504428, + 0.0005129981907646113, + 0.0005171846875656315, + 0.0005211595016317202, + 0.0005249297719240133, + 0.000528502866055417, + 0.0005318863082170592, + 0.0005350877132813991, + 0.0005381147273202594, + 0.0005409749746141623, + 0.0005436760110881341, + 0.0005462252839987475, + 0.0005486300975777429, + 0.0005508975843148547, + 0.0005530346814484093, + 0.0005550481122485905, + 0.0005569443716361227, + 0.0005587297156825586, + 0.0005604101545449235, + 0.000561991448403671, + 0.0005634791059956376, + 0.0005648783853610486, + 0.000566194296453896, + 0.0005674316052968057, + 0.0005685948393936822, + 0.0005696882941450613, + 0.0005707160400415426, + 0.0005716819304394272, + 0.0005725896097494177, + 0.0005734425218937741, + 0.000574243918909554, + 0.0005749968695955221, + 0.0005757042681180343, + 0.0005763688425068018, + 0.0005769931629850654, + 0.000577579650090485, + 0.0005781305825531865, + 0.0005786481049060184, + 0.0005791342348093619, + 0.000579590870078941, + 0.0005800197954101438, + 0.0005804226887965283, + 0.0005808011276435783, + 0.0005811565945814793, + 0.0005814904829828389, + 0.0005818041021929261, + 0.0005820986824812692, + 0.0006746600490455071, + 0.0006885985356159936, + 0.0007033506700685161, + 0.0007189583696806524, + 0.0007354650037548936, + 0.0007529153496779317, + 0.0007713555330866123, + 0.0007908329502727701, + 0.0008113961708523457, + 0.0008330948186782537, + 0.0008559794288758891, + 0.0008801012789121222, + 0.0009055121915304405, + 0.0009322643075104595, + 0.0009604098262490878, + 0.0009900007123326818, + 0.0010210883665009675, + 0.001053723259670176, + 0.0010879545290970395, + 0.001123829536224681, + 0.0011613933863387316, + 0.0012006884108511568, + 0.0012417536138326713, + 0.0012846240853321544, + 0.0013293303850507266, + 0.001375897901071379, + 0.001424346189569764, + 0.0014746883027284008, + 0.0015269301134189519, + 0.0015810696465708041, + 0.0016370964284759641, + 0.0016949908665013012, + 0.0017547236728395175, + 0.0018162553467805606, + 0.0018795357306917255, + 0.0019445036551634302, + 0.002011086688754979, + 0.0020792010071733454, + 0.002148751395718871, + 0.0022196313972099257, + 0.0022917236154414915, + 0.0023649001815044543, + 0.0024390233870324922, + 0.0025139464847107364, + 0.0025895146522654485, + 0.0026655661117763775, + 0.0027419333916605592, + 0.0028184447142369333, + 0.0028949254875791034, + 0.002971199876588572, + 0.0030470924250574627, + 0.003122429698106916, + 0.0031970419129251472, + 0.0032707645252996816, + 0.003343439740058371, + 0.003414917915314204, + 0.0034850588331126666, + 0.003553732812827288, + 0.0036208216480994497, + 0.003686219353187145, + 0.0037498327100127203, + 0.0038115816127555612, + 0.0038713992122849966, + 0.003929231867849682, + 0.003985038918036997, + 0.004038792286930931, + 0.004090475944515489, + 0.004140085242626093, + 0.004187626149125085, + 0.00423311440349449, + 0.004276574616773068, + 0.004318039337771339, + 0.00435754810600142, + 0.004395146509701187, + 0.004430885265080471, + 0.0044648193303740156, + 0.0044970070657834845, + 0.004527509447805505, + 0.004556389344101077, + 0.004583710852802588, + 0.00460953870823731, + 0.004633937753272652, + 0.004656972477102397, + 0.004678706616114618, + 0.004699202814565759, + 0.004718522341177423, + 0.004736724857269371, + 0.004753868231847094, + 0.004770008398919221, + 0.004785199252412184, + 0.004799492574132017, + 0.0048129379904634575, + 0.004825582953791902, + 0.0048374727448850414, + 0.004848650492846298, + 0.004859157209559821, + 0.004869031835891387, + 0.004878311297203174, + 0.004887030566093174, + 0.004895222730490504, + 0.004902919065547842, + 0.004910149107983789, + 0.004916940731747765, + 0.004923320224068389, + 0.004929312361113391, + 0.004934940482634129, + 0.004940226565101697, + 0.004945191292925688, + 0.004949854127489491, + 0.004954233373752711, + 0.0049583462442872135, + 0.00496220892064274, + 0.004965836611997763, + 0.004969243611062648, + 0.004972443347281945, + 0.004975448437344308, + 0.0049782707330770035, + 0.004980921366791358, + 0.00498341079416325, + 0.004985748834739499, + 0.004987944710166026, + 0.00499000708023672, + 0.004991944076863318, + 0.004993763336066594, + 0.004995472028088156, + 0.00499707688572026, + 0.00499858423094769, + 0.004999999999999893 + ], + "independent_physics": { + "arrays": { + "charge_balance_absolute_A_m2": 1.3902242575443974e-18, + "charge_balance_scale_A_m2": 1.0, + "charge_rate_A_m2": 7.130688607821603e-09, + "contact_conduction_A_m2": [ + -1.1270930496769212e-05, + -1.1278061185375644e-05 + ], + "contact_displacement_A_m2": [ + -6.412596054525654e-06, + -6.405465365917833e-06 + ], + "contact_total_A_m2": [ + -1.7683526551294865e-05, + -1.7683526551293476e-05 + ], + "electron_current_A_m2": [ + -6.442831347574971e-06, + -6.4428313478011795e-06, + -6.442831348301011e-06, + -6.442831349129789e-06, + -6.44283135035199e-06, + -6.442831352042675e-06, + -6.442831354289092e-06, + -6.442831357192604e-06, + -6.442831360870846e-06, + -6.442831365460207e-06, + -6.442831371118688e-06, + -6.4428313780291765e-06, + -6.4428313864032475e-06, + -6.442831396485326e-06, + -6.4428314085577585e-06, + -6.442831422946231e-06, + -6.442831440026163e-06, + -6.442831460229994e-06, + -6.442831484055185e-06, + -6.44283151207357e-06, + -6.4428315449415945e-06, + -6.4428315834120835e-06, + -6.44283162834714e-06, + -6.442831680732776e-06, + -6.4428317416948264e-06, + -6.442831812517022e-06, + -6.44283189466012e-06, + -6.4428319897835845e-06, + -6.442832099768421e-06, + -6.442832226742204e-06, + -6.4428323731056114e-06, + -6.442832541560437e-06, + -6.442832735138996e-06, + -6.442832957234373e-06, + -6.442833211631201e-06, + -6.4428335025363e-06, + -6.44283383460861e-06, + -6.442834212987407e-06, + -6.442834643317683e-06, + -6.44283513177225e-06, + -6.442835685067973e-06, + -6.442836310476077e-06, + -6.442837015824206e-06, + -6.4428378094885896e-06, + -6.4428387003754556e-06, + -6.442839697889113e-06, + -6.442840811886183e-06, + -6.4428420526141e-06, + -6.442843430633118e-06, + -6.442844956721437e-06, + -6.442846641762756e-06, + -6.442848496617282e-06, + -6.442850531976625e-06, + -6.442852758204547e-06, + -6.442855185165577e-06, + -6.442857822045293e-06, + -6.442860677164323e-06, + -6.442863757792234e-06, + -6.442867069964276e-06, + -6.442870618307239e-06, + -6.4428744058783545e-06, + -6.44287843402372e-06, + -6.442882702259756e-06, + -6.442887208182964e-06, + -6.442891947411352e-06, + -6.4428969135602554e-06, + -6.4429020982548014e-06, + -6.442907491179449e-06, + -6.442913080164062e-06, + -6.442918851305517e-06, + -6.442924789121424e-06, + -6.442930876732334e-06, + -6.442937096068571e-06, + -6.442943428095167e-06, + -6.442949853050306e-06, + -6.442956350690183e-06, + -6.44296290053577e-06, + -6.442969482114119e-06, + -6.442976075190112e-06, + -6.442982659983306e-06, + -6.442989217366776e-06, + -6.4429957290434156e-06, + -6.443002177698865e-06, + -6.4430085471288e-06, + -6.44301482234021e-06, + -6.443020989627336e-06, + -6.443027036621675e-06, + -6.443032952319973e-06, + -6.443038727088605e-06, + -6.443044352650657e-06, + -6.443049822053818e-06, + -6.443055129625471e-06, + -6.443060270914284e-06, + -6.443065242623343e-06, + -6.443070042535213e-06, + -6.443074669432532e-06, + -6.4430791230152025e-06, + -6.443083403816167e-06, + -6.443087513117435e-06, + -6.4430914528678565e-06, + -6.443095225602737e-06, + -6.44309883436736e-06, + -6.4431022826439295e-06, + -6.443105574283674e-06, + -6.443108713442734e-06, + -6.4431117045238715e-06, + -6.443114552122495e-06, + -6.443117260977775e-06, + -6.443119835929277e-06, + -6.443122281876641e-06, + -6.443124603745031e-06, + -6.443126806455444e-06, + -6.443128894897102e-06, + -6.4431308739028785e-06, + -6.443132748232449e-06, + -6.443134522554647e-06, + -6.443136201430548e-06, + -6.443137789308169e-06, + -6.443139290506943e-06, + -6.443140709214615e-06, + -6.443142049481376e-06, + -6.443143315215291e-06, + -6.443144510179813e-06, + -6.443145637994802e-06, + -6.44314670213346e-06, + -6.443147705925321e-06, + -6.443148652556548e-06, + -6.443149977929451e-06, + -6.450282221708254e-06, + -6.450282895705629e-06, + -6.4502836102207295e-06, + -6.450284367407153e-06, + -6.450285169659191e-06, + -6.4502860193107045e-06, + -6.450286918957854e-06, + -6.45028787116345e-06, + -6.450288878679242e-06, + -6.450289944278217e-06, + -6.4502910708438065e-06, + -6.450292261362135e-06, + -6.450293518903792e-06, + -6.450294846548375e-06, + -6.450296247525235e-06, + -6.450297725033352e-06, + -6.450299282351952e-06, + -6.450300922796305e-06, + -6.4503026496519745e-06, + -6.450304466200479e-06, + -6.450306375700537e-06, + -6.450308381330811e-06, + -6.450310486174374e-06, + -6.450312693221426e-06, + -6.450315005254591e-06, + -6.450317424891537e-06, + -6.4503199545186155e-06, + -6.4503225961819445e-06, + -6.450325351651185e-06, + -6.450328222276566e-06, + -6.450331208973851e-06, + -6.450334312155262e-06, + -6.450337531684407e-06, + -6.4503408668003255e-06, + -6.450344316070064e-06, + -6.450347877310966e-06, + -6.450351547571411e-06, + -6.450355323031907e-06, + -6.450359198995431e-06, + -6.450363169818241e-06, + -6.45036722889448e-06, + -6.450371368628104e-06, + -6.450375580420161e-06, + -6.450379854678275e-06, + -6.450384180831201e-06, + -6.450388547375343e-06, + -6.450392941916936e-06, + -6.4503973512706824e-06, + -6.450401761537986e-06, + -6.450406158239574e-06, + -6.450410526449454e-06, + -6.450414850946171e-06, + -6.450419116405099e-06, + -6.450423307569878e-06, + -6.450427409460896e-06, + -6.450431407575106e-06, + -6.450435288096824e-06, + -6.450439038098032e-06, + -6.450442645724476e-06, + -6.450446100379837e-06, + -6.450449392874667e-06, + -6.4504525155523935e-06, + -6.4504554623986695e-06, + -6.4504582290940405e-06, + -6.450460813050076e-06, + -6.450463213395538e-06, + -6.450465430943963e-06, + -6.450467468104571e-06, + -6.4504693287802995e-06, + -6.450471018230818e-06, + -6.450472542917113e-06, + -6.450473910324137e-06, + -6.450475128782783e-06, + -6.45047620727627e-06, + -6.450477155258731e-06, + -6.450477982466467e-06, + -6.450478698759012e-06, + -6.4504793139517255e-06, + -6.450479837690168e-06, + -6.450480279319414e-06, + -6.4504806477934345e-06, + -6.450480951590289e-06, + -6.450481198658803e-06, + -6.450481396372615e-06, + -6.450481551507893e-06, + -6.450481670237257e-06, + -6.450481758130632e-06, + -6.4504818201711075e-06, + -6.450481860778322e-06, + -6.45048188383916e-06, + -6.450481892745922e-06, + -6.4504818904252974e-06, + -6.450481879388878e-06, + -6.450481861767913e-06, + -6.450481839353589e-06, + -6.450481813632412e-06, + -6.450481785830639e-06, + -6.4504817569403165e-06, + -6.450481727755214e-06, + -6.4504816988969475e-06, + -6.4504816708441345e-06, + -6.4504816439495476e-06, + -6.450481618470764e-06, + -6.450481594574612e-06, + -6.450481572365844e-06, + -6.450481551890765e-06, + -6.450481533154065e-06, + -6.4504815161294315e-06, + -6.450481500757526e-06, + -6.450481486972836e-06, + -6.4504814746849505e-06, + -6.45048146380177e-06, + -6.450481454224662e-06, + -6.450481445855701e-06, + -6.450481438592503e-06, + -6.4504814323392484e-06, + -6.450481427000485e-06, + -6.450481422488197e-06, + -6.4504814187167614e-06, + -6.450481415609877e-06, + -6.450481413091266e-06, + -6.450481411089829e-06, + -6.450481409551173e-06, + -6.4504814084132104e-06, + -6.4504814076293145e-06, + -6.450481407140235e-06, + -6.450481406915287e-06 + ], + "hole_current_A_m2": [ + -4.828099149194241e-06, + -4.8280991489680005e-06, + -4.8280991484680995e-06, + -4.8280991476392074e-06, + -4.828099146416843e-06, + -4.828099144725933e-06, + -4.828099142479235e-06, + -4.828099139575357e-06, + -4.828099135896671e-06, + -4.828099131306782e-06, + -4.828099125647661e-06, + -4.8280991187363935e-06, + -4.828099110361445e-06, + -4.828099100278335e-06, + -4.828099088204711e-06, + -4.828099073814907e-06, + -4.828099056733434e-06, + -4.828099036527886e-06, + -4.828099012700746e-06, + -4.8280989846802345e-06, + -4.828098951809822e-06, + -4.8280989133367364e-06, + -4.828098868398841e-06, + -4.82809881601016e-06, + -4.828098755044768e-06, + -4.828098684219085e-06, + -4.82809860207226e-06, + -4.828098506944936e-06, + -4.8280983969560945e-06, + -4.828098269978212e-06, + -4.82809812361072e-06, + -4.828097955151856e-06, + -4.828097761569423e-06, + -4.828097539470442e-06, + -4.828097285070382e-06, + -4.82809699416264e-06, + -4.828096662088362e-06, + -4.828096283708576e-06, + -4.828095853378338e-06, + -4.828095364925287e-06, + -4.8280948116326535e-06, + -4.828094186229581e-06, + -4.828093480888746e-06, + -4.828092687234248e-06, + -4.828091796360219e-06, + -4.828090798862787e-06, + -4.82808968488573e-06, + -4.828088444182143e-06, + -4.828087066192165e-06, + -4.8280855401381986e-06, + -4.828083855137076e-06, + -4.828082000329161e-06, + -4.8280799650234e-06, + -4.8280777388567754e-06, + -4.828075311965248e-06, + -4.828072675163992e-06, + -4.828069820132936e-06, + -4.8280667396032816e-06, + -4.828063427540252e-06, + -4.828059879317826e-06, + -4.828056091879305e-06, + -4.828052063879053e-06, + -4.82804779580128e-06, + -4.828043290049824e-06, + -4.828038551007217e-06, + -4.82803358505824e-06, + -4.828028400578117e-06, + -4.828023007882488e-06, + -4.828017419141578e-06, + -4.828011648258247e-06, + -4.828005710715073e-06, + -4.82799962339095e-06, + -4.8279934043553045e-06, + -4.827987072642607e-06, + -4.827980648014146e-06, + -4.827974150712804e-06, + -4.827967601217111e-06, + -4.827961019998959e-06, + -4.827954427292619e-06, + -4.8279478428773174e-06, + -4.8279412858788625e-06, + -4.827934774593427e-06, + -4.8279283263338805e-06, + -4.8279219573032385e-06, + -4.8279156824935575e-06, + -4.827909515608724e-06, + -4.827903469016427e-06, + -4.827897553718526e-06, + -4.8278917793469726e-06, + -4.827886154178506e-06, + -4.827880685163302e-06, + -4.827875377973321e-06, + -4.827870237059228e-06, + -4.82786526571646e-06, + -4.8278604661627535e-06, + -4.8278558396135114e-06, + -4.827851386369076e-06, + -4.827847105896721e-06, + -4.827842996911941e-06, + -4.82783905746813e-06, + -4.827835285028062e-06, + -4.827831676547426e-06, + -4.827828228543171e-06, + -4.8278249371646e-06, + -4.827821798255846e-06, + -4.827818807414305e-06, + -4.8278159600440136e-06, + -4.827813251406542e-06, + -4.827810676662592e-06, + -4.827808230913378e-06, + -4.827805909232262e-06, + -4.8278037067004305e-06, + -4.827801618430017e-06, + -4.827799639583133e-06, + -4.827797765407206e-06, + -4.827795991229322e-06, + -4.827794312489639e-06, + -4.827792724743124e-06, + -4.827791223666388e-06, + -4.827789805072809e-06, + -4.827788464917321e-06, + -4.827787199286982e-06, + -4.827786004419763e-06, + -4.827784876695235e-06, + -4.827783812646512e-06, + -4.827782808934967e-06, + -4.827781862381351e-06, + -4.827780537201148e-06, + -4.827778936662305e-06, + -4.8277782627572075e-06, + -4.827777548385799e-06, + -4.8277767913201615e-06, + -4.8277759892361145e-06, + -4.827775139712722e-06, + -4.827774240232199e-06, + -4.827773288180762e-06, + -4.827772280850208e-06, + -4.827771215439942e-06, + -4.827770089060901e-06, + -4.827768898739904e-06, + -4.827767641425648e-06, + -4.827766313996084e-06, + -4.827764913267673e-06, + -4.827763436006118e-06, + -4.827761878939178e-06, + -4.827760238772131e-06, + -4.827758512204826e-06, + -4.82775669595215e-06, + -4.8277547867665045e-06, + -4.8277527814639685e-06, + -4.8277506769527155e-06, + -4.8277484702655866e-06, + -4.827746158595218e-06, + -4.827743739333033e-06, + -4.8277412101115514e-06, + -4.8277385688499955e-06, + -4.827735813803099e-06, + -4.827732943613183e-06, + -4.827729957364796e-06, + -4.827726854641425e-06, + -4.8277236355842645e-06, + -4.82772030095186e-06, + -4.827716852179591e-06, + -4.827713291438712e-06, + -4.8277096216927734e-06, + -4.8277058467509995e-06, + -4.82770197131608e-06, + -4.827698001025864e-06, + -4.827693942486053e-06, + -4.8276898032925e-06, + -4.827685592041489e-06, + -4.8276813183252e-06, + -4.8276769927118295e-06, + -4.827672626706974e-06, + -4.827668232696857e-06, + -4.8276638238706e-06, + -4.827659414122116e-06, + -4.827655017931125e-06, + -4.827650650223921e-06, + -4.827646326215334e-06, + -4.827642061233802e-06, + -4.827637870532744e-06, + -4.8276337690916695e-06, + -4.82762977141076e-06, + -4.8276258913058544e-06, + -4.827622141705973e-06, + -4.827618534462591e-06, + -4.827615080173611e-06, + -4.82761178802865e-06, + -4.827608665680658e-06, + -4.827605719147637e-06, + -4.8276029527481654e-06, + -4.827600369071587e-06, + -4.827597968986659e-06, + -4.827595751683558e-06, + -4.827593714752419e-06, + -4.827591854290675e-06, + -4.8275901650386916e-06, + -4.8275886405378215e-06, + -4.827587273301753e-06, + -4.827586055001592e-06, + -4.827584976653608e-06, + -4.827584028807021e-06, + -4.827583201722621e-06, + -4.8275824855446465e-06, + -4.827581870455179e-06, + -4.827581346812728e-06, + -4.827580905270737e-06, + -4.827580536876259e-06, + -4.827580233151952e-06, + -4.8275799861491e-06, + -4.827579788495312e-06, + -4.827579633413899e-06, + -4.827579514733343e-06, + -4.827579426884314e-06, + -4.827579364884225e-06, + -4.827579324313394e-06, + -4.827579301284095e-06, + -4.8275792924073e-06, + -4.827579294753906e-06, + -4.827579305812772e-06, + -4.827579323455042e-06, + -4.827579345888742e-06, + -4.827579371625863e-06, + -4.827579399442488e-06, + -4.827579428345985e-06, + -4.827579457543028e-06, + -4.827579486411549e-06, + -4.827579514473631e-06, + -4.827579541376017e-06, + -4.827579566861706e-06, + -4.8275795907640636e-06, + -4.827579612979576e-06, + -4.827579633458642e-06, + -4.827579652199302e-06, + -4.8275796692288e-06, + -4.8275796846009146e-06, + -4.827579698390943e-06, + -4.82757971068158e-06, + -4.827579721565344e-06, + -4.82757973114333e-06, + -4.827579739515968e-06, + -4.827579746778771e-06, + -4.827579753032458e-06, + -4.827579758374723e-06, + -4.827579762886389e-06, + -4.827579766655832e-06, + -4.827579769767617e-06, + -4.827579772285792e-06, + -4.827579774284939e-06, + -4.827579775825744e-06, + -4.827579776963398e-06, + -4.827579777751112e-06, + -4.8275797782355585e-06, + -4.827579778460357e-06 + ], + "initial_positive_inventory_m2": [ + 999999999999999.8 + ], + "interface_conduction_A_m2": [ + [ + -1.1270930515130598e-05, + -1.1278061158256046e-05 + ] + ], + "interface_displacement_A_m2": [ + [ + -6.412596036248035e-06, + -6.405465393102326e-06 + ] + ], + "interface_total_A_m2": [ + [ + -1.7683526551378634e-05, + -1.7683526551358372e-05 + ] + ], + "internal_conduction_A_m2": [ + -1.1332008999295372e-05, + -1.1458031880790215e-05, + -1.1591912367217242e-05, + -1.1734084239551722e-05, + -1.1884992695139588e-05, + -1.2045091732196496e-05, + -1.2214840769979778e-05, + -1.2394700370298783e-05, + -1.2585126916399203e-05, + -1.2786566092717965e-05, + -1.2999445004000822e-05, + -1.3224162770377401e-05, + -1.3461079444442814e-05, + -1.3710503116846294e-05, + -1.3972675113936671e-05, + -1.4247753251126045e-05, + -1.4535793191337585e-05, + -1.4836728078048163e-05, + -1.5150346770644323e-05, + -1.5476271209890675e-05, + -1.5813933687189168e-05, + -1.6162555076667023e-05, + -1.652112540722572e-05, + -1.6888388482752767e-05, + -1.726283257267073e-05, + -1.764268944699843e-05, + -1.8025944164993453e-05, + -1.841035796858446e-05, + -1.879350630892284e-05, + -1.9172833368933404e-05, + -1.954572338396392e-05, + -1.990958759433864e-05, + -2.02619638388982e-05, + -2.0600623758521003e-05, + -2.0923680562003938e-05, + -2.1229688643200565e-05, + -2.1517725417748302e-05, + -2.1787445943799425e-05, + -2.203910247555768e-05, + -2.2273524130117957e-05, + -2.2492056090549713e-05, + -2.269646266608488e-05, + -2.288880326497647e-05, + -2.307129398906301e-05, + -2.324616933416825e-05, + -2.3415557937967788e-05, + -2.3581383529110902e-05, + -2.3745297797591847e-05, + -2.390864680018872e-05, + -2.4072467812533526e-05, + -2.4237510118891252e-05, + -2.4404271552996824e-05, + -2.4573042645182084e-05, + -2.474395157790717e-05, + -2.491700519119584e-05, + -2.5092123412670785e-05, + -2.526916627842422e-05, + -2.5447953948570153e-05, + -2.5628280788723733e-05, + -2.5809924793106545e-05, + -2.5992653519151366e-05, + -2.6176227422775803e-05, + -2.6360401117438444e-05, + -2.654492266775064e-05, + -2.6729530566570212e-05, + -2.6913947515882837e-05, + -2.709786952777156e-05, + -2.7280948222161898e-05, + -2.746276364308501e-05, + -2.7642784671057714e-05, + -2.7820314501479165e-05, + -2.799442004763234e-05, + -2.8163846779762284e-05, + -2.832692442131008e-05, + -2.848147363812945e-05, + -2.8624728419038116e-05, + -2.8753291910028617e-05, + -2.8863143650543952e-05, + -2.8949712522203935e-05, + -2.9008022208748682e-05, + -2.9032905621205166e-05, + -2.9019273546114607e-05, + -2.8962413132802675e-05, + -2.8858285892786438e-05, + -2.8703793917967137e-05, + -2.8496987115041422e-05, + -2.8237192358939752e-05, + -2.792505578743938e-05, + -2.7562499973178708e-05, + -2.715260667245234e-05, + -2.6699442119890845e-05, + -2.620784498027395e-05, + -2.5683197277119727e-05, + -2.5131196518388958e-05, + -2.4557643649495344e-05, + -2.3968257207354568e-05, + -2.336851980290044e-05, + -2.2763559306125664e-05, + -2.2158064110663434e-05, + -2.155622971030315e-05, + -2.096173248128974e-05, + -2.03777259184432e-05, + -1.9806854462647918e-05, + -1.925128032181474e-05, + -1.8712719192425767e-05, + -1.819248140842985e-05, + -1.769151570197266e-05, + -1.7210453387666494e-05, + -1.6749651354920438e-05, + -1.6309232734199923e-05, + -1.5889124511463754e-05, + -1.548909167929406e-05, + -1.510876775875697e-05, + -1.4747681704453025e-05, + -1.4405281330899025e-05, + -1.408095347855985e-05, + -1.377404118945494e-05, + -1.3483858181522782e-05, + -1.3209700921952957e-05, + -1.2950858585547088e-05, + -1.2706621174969633e-05, + -1.2476286053785943e-05, + -1.2259163124591767e-05, + -1.2054578854559782e-05, + -1.1861879333114502e-05, + -1.1680432520136558e-05, + -1.1509629822090898e-05, + -1.1270930515130598e-05, + -1.127806115837056e-05, + -1.1278061158462835e-05, + -1.127806115860653e-05, + -1.1278061158727315e-05, + -1.1278061158895307e-05, + -1.1278061159023425e-05, + -1.1278061159190054e-05, + -1.1278061159344212e-05, + -1.127806115952945e-05, + -1.1278061159718158e-05, + -1.1278061159904707e-05, + -1.1278061160102039e-05, + -1.127806116032944e-05, + -1.127806116054446e-05, + -1.1278061160792908e-05, + -1.1278061161039469e-05, + -1.1278061161291129e-05, + -1.1278061161568436e-05, + -1.1278061161856801e-05, + -1.127806116215263e-05, + -1.1278061162467041e-05, + -1.1278061162794779e-05, + -1.127806116312709e-05, + -1.1278061163487013e-05, + -1.1278061163849809e-05, + -1.127806116422457e-05, + -1.1278061164630167e-05, + -1.127806116503194e-05, + -1.1278061165454283e-05, + -1.1278061165889749e-05, + -1.1278061166338646e-05, + -1.1278061166796687e-05, + -1.1278061167268671e-05, + -1.1278061167752185e-05, + -1.1278061168249656e-05, + -1.1278061168749678e-05, + -1.1278061169264184e-05, + -1.1278061169782905e-05, + -1.1278061170311512e-05, + -1.1278061170844106e-05, + -1.1278061171380532e-05, + -1.1278061171920603e-05, + -1.127806117246165e-05, + -1.1278061173003476e-05, + -1.127806117354303e-05, + -1.1278061174082318e-05, + -1.1278061174613792e-05, + -1.1278061175141283e-05, + -1.1278061175660101e-05, + -1.12780611761707e-05, + -1.1278061176673375e-05, + -1.1278061177161504e-05, + -1.12780611776389e-05, + -1.1278061178102622e-05, + -1.1278061178552566e-05, + -1.1278061178985866e-05, + -1.1278061179402679e-05, + -1.1278061179804005e-05, + -1.1278061180187067e-05, + -1.1278061180553448e-05, + -1.1278061180903316e-05, + -1.1278061181233051e-05, + -1.1278061181546306e-05, + -1.1278061181842205e-05, + -1.1278061182121663e-05, + -1.1278061182382197e-05, + -1.127806118262752e-05, + -1.1278061182856991e-05, + -1.1278061183070975e-05, + -1.127806118326951e-05, + -1.1278061183454935e-05, + -1.127806118362589e-05, + -1.1278061183784374e-05, + -1.1278061183929877e-05, + -1.1278061184065751e-05, + -1.127806118418909e-05, + -1.1278061184303659e-05, + -1.1278061184406906e-05, + -1.1278061184502896e-05, + -1.1278061184590151e-05, + -1.1278061184669692e-05, + -1.1278061184742241e-05, + -1.1278061184807903e-05, + -1.1278061184867927e-05, + -1.1278061184921792e-05, + -1.12780611849706e-05, + -1.1278061185014947e-05, + -1.1278061185055333e-05, + -1.1278061185091715e-05, + -1.1278061185123255e-05, + -1.1278061185153223e-05, + -1.1278061185179203e-05, + -1.127806118520165e-05, + -1.1278061185222954e-05, + -1.127806118524233e-05, + -1.1278061185258275e-05, + -1.1278061185273127e-05, + -1.1278061185286302e-05, + -1.1278061185298242e-05, + -1.1278061185308498e-05, + -1.1278061185317766e-05, + -1.1278061185325564e-05, + -1.127806118533247e-05, + -1.1278061185338676e-05, + -1.127806118534542e-05, + -1.1278061185349408e-05, + -1.1278061185353367e-05, + -1.1278061185358232e-05, + -1.127806118535844e-05, + -1.1278061185363778e-05, + -1.127806118536653e-05, + -1.1278061185367114e-05, + -1.1278061185367993e-05, + -1.127806118537167e-05, + -1.1278061185371273e-05, + -1.1278061185371707e-05, + -1.1278061185375208e-05, + -1.1278061185374587e-05, + -1.1278061185372594e-05, + -1.1278061185377494e-05, + -1.1278061185377058e-05, + -1.1278061185374768e-05, + -1.1278061185376918e-05, + -1.127806118537661e-05, + -1.1278061185380428e-05, + -1.1278061185375793e-05, + -1.1278061185375644e-05 + ], + "internal_displacement_A_m2": [ + -6.351517551964887e-06, + -6.225494670500609e-06, + -6.091614184083072e-06, + -5.949442311724628e-06, + -5.798533856178734e-06, + -5.638434819095412e-06, + -5.468685781308996e-06, + -5.28882618098663e-06, + -5.098399634915479e-06, + -4.896960458587931e-06, + -4.684081547291076e-06, + -4.459363780916614e-06, + -4.222447106839365e-06, + -3.97302343444606e-06, + -3.710851437357155e-06, + -3.435773300169145e-06, + -3.1477333599701898e-06, + -2.8467984732415842e-06, + -2.5331797806466403e-06, + -2.2072553414061236e-06, + -1.8695928641042441e-06, + -1.5209714746263408e-06, + -1.162401144078357e-06, + -7.951380685309163e-07, + -4.2069397862915465e-07, + -4.083710430119676e-08, + 3.4241761369914384e-07, + 7.268314172893983e-07, + 1.1099797576340756e-06, + 1.4893068176396254e-06, + 1.8621968326672168e-06, + 2.226061043044903e-06, + 2.5784372875962985e-06, + 2.9170972072291264e-06, + 3.2401540107139104e-06, + 3.5461620919067435e-06, + 3.834198866456314e-06, + 4.103919392499355e-06, + 4.355575924261923e-06, + 4.589997578823175e-06, + 4.80852953925709e-06, + 5.012936114790632e-06, + 5.205276713680561e-06, + 5.3877674377678115e-06, + 5.5626427828768285e-06, + 5.732031386671772e-06, + 5.897856977812725e-06, + 6.061771246294804e-06, + 6.225120248894971e-06, + 6.388941261239802e-06, + 6.553983567599351e-06, + 6.720745001700371e-06, + 6.889516093886398e-06, + 7.0604250266109735e-06, + 7.233478639902764e-06, + 7.408596861378618e-06, + 7.585639727126393e-06, + 7.764427397271561e-06, + 7.944754237431085e-06, + 8.126398241809167e-06, + 8.309126967861927e-06, + 8.492700871479893e-06, + 8.676874566144842e-06, + 8.861396116453619e-06, + 9.046004015275062e-06, + 9.23042096458609e-06, + 9.414342976476723e-06, + 9.597421670869122e-06, + 9.779237091789643e-06, + 9.959258119760589e-06, + 1.0136787950188906e-05, + 1.0310893496336444e-05, + 1.0480320228473878e-05, + 1.0643397870007632e-05, + 1.079794708683579e-05, + 1.0941201867739815e-05, + 1.1069765358736312e-05, + 1.1179617099248667e-05, + 1.1266185970909193e-05, + 1.1324495657455516e-05, + 1.134937906990413e-05, + 1.1335746994827662e-05, + 1.1278886581505977e-05, + 1.1174759341489123e-05, + 1.1020267366676067e-05, + 1.08134605637455e-05, + 1.0553665807639628e-05, + 1.0241529236150297e-05, + 9.87897342188898e-06, + 9.469080121147617e-06, + 9.015915568604192e-06, + 8.524318428971024e-06, + 7.999670725820303e-06, + 7.447669967091536e-06, + 6.874117098218701e-06, + 6.284730656057877e-06, + 5.684993251604412e-06, + 5.080032754815191e-06, + 4.474537559372256e-06, + 3.8727031590259416e-06, + 3.278205929972755e-06, + 2.694199367159768e-06, + 2.12332791135629e-06, + 1.5677537705189755e-06, + 1.0291926411117892e-06, + 5.08954857172693e-07, + 7.989150637881338e-09, + -4.7307316360312655e-07, + -9.338751963705384e-07, + -1.3742938171075724e-06, + -1.7944020398249248e-06, + -2.1944348719808198e-06, + -2.574758792552696e-06, + -2.9358448468411136e-06, + -3.278245220424295e-06, + -3.602573072698404e-06, + -3.909485361875434e-06, + -4.199668369753406e-06, + -4.4738256293483795e-06, + -4.732667965757989e-06, + -4.976905376396554e-06, + -5.2072404974380115e-06, + -5.4243634266198115e-06, + -5.628947696767132e-06, + -5.821647218231752e-06, + -6.003094031117467e-06, + -6.173896729256821e-06, + -6.412596036248035e-06, + -6.405465392935706e-06, + -6.405465392814767e-06, + -6.405465392689629e-06, + -6.405465392554985e-06, + -6.405465392415037e-06, + -6.405465392265573e-06, + -6.405465392108029e-06, + -6.40546539194288e-06, + -6.405465391768635e-06, + -6.405465391583256e-06, + -6.405465391389723e-06, + -6.405465391185754e-06, + -6.405465390970555e-06, + -6.405465390744855e-06, + -6.4054653905080274e-06, + -6.405465390259029e-06, + -6.40546538999809e-06, + -6.405465389725706e-06, + -6.40546538943968e-06, + -6.405465389140562e-06, + -6.405465388828589e-06, + -6.40546538850335e-06, + -6.405465388164375e-06, + -6.405465387811252e-06, + -6.40546538744459e-06, + -6.405465387064369e-06, + -6.4054653866697645e-06, + -6.405465386261719e-06, + -6.40546538584045e-06, + -6.4054653854051765e-06, + -6.4054653849577864e-06, + -6.405465384497352e-06, + -6.405465384025192e-06, + -6.405465383541901e-06, + -6.405465383047752e-06, + -6.405465382544016e-06, + -6.405465382031393e-06, + -6.405465381510959e-06, + -6.405465380983874e-06, + -6.405465380451107e-06, + -6.405465379914037e-06, + -6.405465379374171e-06, + -6.4054653788328565e-06, + -6.4054653782914245e-06, + -6.405465377751182e-06, + -6.40546537721392e-06, + -6.405465376681188e-06, + -6.405465376153962e-06, + -6.40546537563437e-06, + -6.4054653751233324e-06, + -6.405465374622325e-06, + -6.405465374132727e-06, + -6.405465373655595e-06, + -6.405465373192053e-06, + -6.405465372743045e-06, + -6.405465372309397e-06, + -6.405465371891856e-06, + -6.405465371491011e-06, + -6.4054653711073265e-06, + -6.4054653707410576e-06, + -6.405465370392413e-06, + -6.405465370061551e-06, + -6.40546536974826e-06, + -6.405465369452502e-06, + -6.40546536917393e-06, + -6.4054653689123405e-06, + -6.405465368667163e-06, + -6.405465368437892e-06, + -6.405465368224121e-06, + -6.405465368025125e-06, + -6.40546536784028e-06, + -6.405465367669009e-06, + -6.405465367510565e-06, + -6.405465367364292e-06, + -6.405465367229512e-06, + -6.405465367105559e-06, + -6.4054653669917086e-06, + -6.405465366887436e-06, + -6.40546536679193e-06, + -6.405465366704772e-06, + -6.405465366625201e-06, + -6.4054653665528184e-06, + -6.4054653664869405e-06, + -6.40546536642717e-06, + -6.405465366372993e-06, + -6.405465366323974e-06, + -6.405465366279647e-06, + -6.405465366239655e-06, + -6.405465366203625e-06, + -6.4054653661712445e-06, + -6.405465366142116e-06, + -6.405465366116012e-06, + -6.4054653660926026e-06, + -6.405465366071696e-06, + -6.4054653660530385e-06, + -6.4054653660363935e-06, + -6.405465366021572e-06, + -6.405465366008404e-06, + -6.405465365996737e-06, + -6.405465365986381e-06, + -6.4054653659772485e-06, + -6.405465365969191e-06, + -6.405465365962079e-06, + -6.405465365955822e-06, + -6.405465365950349e-06, + -6.405465365945565e-06, + -6.405465365941374e-06, + -6.405465365937726e-06, + -6.405465365934557e-06, + -6.4054653659318315e-06, + -6.40546536592946e-06, + -6.405465365927426e-06, + -6.40546536592569e-06, + -6.405465365924194e-06, + -6.405465365922943e-06, + -6.4054653659218865e-06, + -6.405465365920991e-06, + -6.40546536592026e-06, + -6.405465365919653e-06, + -6.405465365919158e-06, + -6.40546536591876e-06, + -6.40546536591846e-06, + -6.405465365918223e-06, + -6.405465365918055e-06, + -6.405465365917935e-06, + -6.405465365917867e-06, + -6.405465365917833e-06 + ], + "internal_total_A_m2": [ + -1.768352655126026e-05, + -1.7683526551290823e-05, + -1.7683526551300313e-05, + -1.768352655127635e-05, + -1.768352655131832e-05, + -1.7683526551291907e-05, + -1.7683526551288773e-05, + -1.7683526551285412e-05, + -1.7683526551314683e-05, + -1.7683526551305897e-05, + -1.7683526551291897e-05, + -1.7683526551294015e-05, + -1.7683526551282177e-05, + -1.7683526551292355e-05, + -1.7683526551293825e-05, + -1.768352655129519e-05, + -1.7683526551307774e-05, + -1.7683526551289746e-05, + -1.7683526551290962e-05, + -1.76835265512968e-05, + -1.7683526551293412e-05, + -1.7683526551293364e-05, + -1.7683526551304078e-05, + -1.7683526551283685e-05, + -1.7683526551299883e-05, + -1.7683526551299626e-05, + -1.768352655129431e-05, + -1.7683526551295062e-05, + -1.7683526551288763e-05, + -1.7683526551293778e-05, + -1.7683526551296702e-05, + -1.7683526551293737e-05, + -1.7683526551301902e-05, + -1.7683526551291877e-05, + -1.7683526551290027e-05, + -1.7683526551293822e-05, + -1.768352655129199e-05, + -1.768352655130007e-05, + -1.7683526551295756e-05, + -1.768352655129478e-05, + -1.7683526551292622e-05, + -1.768352655129425e-05, + -1.7683526551295912e-05, + -1.7683526551295197e-05, + -1.768352655129142e-05, + -1.7683526551296014e-05, + -1.7683526551298176e-05, + -1.7683526551297044e-05, + -1.768352655129375e-05, + -1.7683526551293724e-05, + -1.76835265512919e-05, + -1.7683526551296454e-05, + -1.7683526551295685e-05, + -1.7683526551296197e-05, + -1.7683526551293076e-05, + -1.768352655129217e-05, + -1.768352655129783e-05, + -1.7683526551298592e-05, + -1.7683526551292646e-05, + -1.7683526551297376e-05, + -1.768352655128944e-05, + -1.7683526551295912e-05, + -1.76835265512936e-05, + -1.768352655129702e-05, + -1.768352655129515e-05, + -1.7683526551296746e-05, + -1.7683526551294838e-05, + -1.7683526551292775e-05, + -1.768352655129537e-05, + -1.7683526551297125e-05, + -1.768352655129026e-05, + -1.76835265512959e-05, + -1.7683526551288404e-05, + -1.7683526551302445e-05, + -1.768352655129366e-05, + -1.76835265512983e-05, + -1.7683526551292307e-05, + -1.7683526551295285e-05, + -1.768352655129474e-05, + -1.7683526551293168e-05, + -1.7683526551301035e-05, + -1.7683526551286947e-05, + -1.76835265512967e-05, + -1.7683526551297315e-05, + -1.768352655129107e-05, + -1.7683526551295922e-05, + -1.7683526551300124e-05, + -1.7683526551289082e-05, + -1.7683526551289726e-05, + -1.768352655130472e-05, + -1.7683526551286653e-05, + -1.7683526551302926e-05, + -1.7683526551299422e-05, + -1.7683526551297423e-05, + -1.7683526551276644e-05, + -1.768352655129669e-05, + -1.7683526551296027e-05, + -1.7683526551310474e-05, + -1.7683526551291176e-05, + -1.7683526551277206e-05, + -1.7683526551316983e-05, + -1.768352655128343e-05, + -1.7683526551291626e-05, + -1.7683526551295767e-05, + -1.7683526551313978e-05, + -1.768352655125716e-05, + -1.7683526551334778e-05, + -1.768352655126962e-05, + -1.7683526551290976e-05, + -1.7683526551307496e-05, + -1.768352655128868e-05, + -1.768352655127488e-05, + -1.7683526551309668e-05, + -1.768352655129414e-05, + -1.768352655132332e-05, + -1.7683526551258253e-05, + -1.7683526551330376e-05, + -1.7683526551276187e-05, + -1.7683526551301337e-05, + -1.7683526551305077e-05, + -1.768352655136619e-05, + -1.7683526551223955e-05, + -1.7683526551211578e-05, + -1.7683526551326914e-05, + -1.7683526551346253e-05, + -1.7683526551254025e-05, + -1.768352655134772e-05, + -1.7683526551378634e-05, + -1.7683526551306266e-05, + -1.7683526551277603e-05, + -1.768352655129616e-05, + -1.76835265512823e-05, + -1.7683526551310346e-05, + -1.7683526551289e-05, + -1.768352655129808e-05, + -1.7683526551287093e-05, + -1.7683526551298084e-05, + -1.7683526551301415e-05, + -1.7683526551294428e-05, + -1.7683526551287794e-05, + -1.7683526551299995e-05, + -1.7683526551289316e-05, + -1.7683526551300933e-05, + -1.7683526551298497e-05, + -1.7683526551289217e-05, + -1.7683526551294144e-05, + -1.768352655129648e-05, + -1.768352655129319e-05, + -1.768352655129563e-05, + -1.7683526551298128e-05, + -1.7683526551291467e-05, + -1.7683526551298264e-05, + -1.7683526551294398e-05, + -1.768352655128894e-05, + -1.768352655129993e-05, + -1.768352655129366e-05, + -1.7683526551294733e-05, + -1.7683526551294926e-05, + -1.7683526551296434e-05, + -1.768352655129404e-05, + -1.7683526551293862e-05, + -1.7683526551294086e-05, + -1.7683526551297406e-05, + -1.7683526551293693e-05, + -1.7683526551295577e-05, + -1.7683526551293866e-05, + -1.7683526551295384e-05, + -1.7683526551295214e-05, + -1.768352655129457e-05, + -1.7683526551294774e-05, + -1.7683526551294506e-05, + -1.76835265512949e-05, + -1.768352655129421e-05, + -1.7683526551296238e-05, + -1.768352655129498e-05, + -1.7683526551295245e-05, + -1.7683526551294472e-05, + -1.7683526551294032e-05, + -1.76835265512957e-05, + -1.7683526551294232e-05, + -1.7683526551294496e-05, + -1.7683526551294676e-05, + -1.768352655129561e-05, + -1.7683526551295262e-05, + -1.7683526551294537e-05, + -1.7683526551295018e-05, + -1.7683526551294394e-05, + -1.7683526551294506e-05, + -1.768352655129573e-05, + -1.76835265512946e-05, + -1.7683526551294567e-05, + -1.7683526551294706e-05, + -1.7683526551295594e-05, + -1.7683526551294537e-05, + -1.7683526551294682e-05, + -1.7683526551294882e-05, + -1.7683526551295096e-05, + -1.7683526551294635e-05, + -1.7683526551295214e-05, + -1.76835265512949e-05, + -1.768352655129494e-05, + -1.768352655129417e-05, + -1.7683526551295262e-05, + -1.768352655129465e-05, + -1.7683526551295367e-05, + -1.768352655129434e-05, + -1.7683526551294828e-05, + -1.7683526551294923e-05, + -1.7683526551294892e-05, + -1.768352655129506e-05, + -1.768352655129484e-05, + -1.7683526551295096e-05, + -1.7683526551294784e-05, + -1.7683526551294574e-05, + -1.7683526551294594e-05, + -1.7683526551294987e-05, + -1.768352655129534e-05, + -1.76835265512945e-05, + -1.768352655129534e-05, + -1.7683526551295214e-05, + -1.7683526551294252e-05, + -1.7683526551294652e-05, + -1.768352655129537e-05, + -1.768352655129467e-05, + -1.76835265512947e-05, + -1.7683526551294706e-05, + -1.7683526551294977e-05, + -1.768352655129488e-05, + -1.7683526551295014e-05, + -1.7683526551294754e-05, + -1.768352655129455e-05, + -1.7683526551294496e-05, + -1.768352655129577e-05, + -1.7683526551294974e-05, + -1.768352655129474e-05, + -1.768352655129596e-05, + -1.7683526551293e-05, + -1.768352655129561e-05, + -1.768352655129599e-05, + -1.768352655129454e-05, + -1.7683526551293683e-05, + -1.7683526551295865e-05, + -1.7683526551294215e-05, + -1.7683526551293595e-05, + -1.76835265512962e-05, + -1.768352655129485e-05, + -1.7683526551292246e-05, + -1.768352655129665e-05, + -1.7683526551295817e-05, + -1.768352655129323e-05, + -1.768352655129514e-05, + -1.7683526551294665e-05, + -1.7683526551298362e-05, + -1.768352655129366e-05, + -1.7683526551293476e-05 + ], + "physical_widths_m": [ + 5.901422388288336e-11, + 1.2168445327999375e-10, + 1.2921290133435793e-10, + 1.3718573109489092e-10, + 1.456263985330553e-10, + 1.5455923405930657e-10, + 1.6400942452466372e-10, + 1.7400298616433713e-10, + 1.8456672721482707e-10, + 1.9572819882658635e-10, + 2.0751563278408056e-10, + 2.1995786443639556e-10, + 2.330842391367742e-10, + 2.4692450039214606e-10, + 2.615086578375502e-10, + 2.768668330800304e-10, + 2.930290814077334e-10, + 3.1002518733890237e-10, + 3.2788443199932904e-10, + 3.4663533037393737e-10, + 3.6630533658778285e-10, + 3.869205155434871e-10, + 4.0850517948706975e-10, + 4.310814884031017e-10, + 4.546690135652088e-10, + 4.79284264100096e-10, + 5.049401770735207e-10, + 5.316455723851334e-10, + 5.594045746728763e-10, + 5.882160054824251e-10, + 6.180727501540692e-10, + 6.489611052145571e-10, + 6.808601135253143e-10, + 7.137408960140655e-10, + 7.47565990478061e-10, + 7.822887096588038e-10, + 8.178525325040014e-10, + 8.54190544194725e-10, + 8.912249420559998e-10, + 9.288666258067398e-10, + 9.670148916509131e-10, + 1.005557250369215e-09, + 1.0443693897370093e-09, + 1.0833153011705004e-09, + 1.1222475893912312e-09, + 1.1610079820176118e-09, + 1.1994280532751899e-09, + 1.23733017242863e-09, + 1.2745286830742073e-09, + 1.3108313141313866e-09, + 1.3460408173217914e-09, + 1.3799568192605954e-09, + 1.4123778691985396e-09, + 1.443103656181209e-09, + 1.4719373622173193e-09, + 1.4986881112844911e-09, + 1.523173467982208e-09, + 1.5452219347003404e-09, + 1.5646753926224425e-09, + 1.5813914299979714e-09, + 1.5952455011079117e-09, + 1.6061328613443997e-09, + 1.6139702278616839e-09, + 1.6186971212639917e-09, + 1.6202768516007768e-09, + 1.6186971212639917e-09, + 1.6139702278616839e-09, + 1.6061328613443997e-09, + 1.5952455011079117e-09, + 1.5813914299979714e-09, + 1.5646753926224425e-09, + 1.5452219347003404e-09, + 1.523173467982208e-09, + 1.4986881112844845e-09, + 1.4719373622173193e-09, + 1.4431036561812155e-09, + 1.4123778691985462e-09, + 1.379956819260592e-09, + 1.346040817321788e-09, + 1.31083131413138e-09, + 1.2745286830742205e-09, + 1.2373301724286366e-09, + 1.19942805327517e-09, + 1.1610079820176184e-09, + 1.1222475893912378e-09, + 1.083315301170507e-09, + 1.0443693897369927e-09, + 1.0055572503692116e-09, + 9.670148916509198e-10, + 9.288666258067464e-10, + 8.91224942055985e-10, + 8.541905441947299e-10, + 8.178525325039981e-10, + 7.822887096588004e-10, + 7.475659904780676e-10, + 7.137408960140556e-10, + 6.808601135253242e-10, + 6.48961105214567e-10, + 6.180727501540659e-10, + 5.882160054824152e-10, + 5.59404574672873e-10, + 5.316455723851383e-10, + 5.049401770735323e-10, + 4.792842641000936e-10, + 4.546690135651964e-10, + 4.3108148840310337e-10, + 4.0850517948706727e-10, + 3.869205155434962e-10, + 3.663053365877845e-10, + 3.4663533037393406e-10, + 3.278844319993274e-10, + 3.1002518733890444e-10, + 2.930290814077417e-10, + 2.7686683308002504e-10, + 2.6150865783754524e-10, + 2.46924500392156e-10, + 2.3308423913676347e-10, + 2.1995786443640466e-10, + 2.0751563278407477e-10, + 1.9572819882657477e-10, + 1.845667272148283e-10, + 1.740029861643485e-10, + 1.6400942452466144e-10, + 1.545592340593227e-10, + 1.4562639853305157e-10, + 1.3718573109488172e-10, + 1.2921290133435225e-10, + 1.8069867716288167e-10, + 1.8069867716288167e-10, + 1.2921290133435225e-10, + 1.3718573109489495e-10, + 1.4562639853305157e-10, + 1.5455923405930946e-10, + 1.6400942452466144e-10, + 1.740029861643485e-10, + 1.845667272148283e-10, + 1.9572819882657477e-10, + 2.0751563278407477e-10, + 2.1995786443640466e-10, + 2.3308423913676347e-10, + 2.46924500392156e-10, + 2.6150865783754524e-10, + 2.7686683308002504e-10, + 2.930290814077417e-10, + 3.1002518733890444e-10, + 3.278844319993274e-10, + 3.4663533037393406e-10, + 3.663053365877845e-10, + 3.8692051554348296e-10, + 4.085051794870805e-10, + 4.3108148840310337e-10, + 4.5466901356520963e-10, + 4.792842641000936e-10, + 5.04940177073519e-10, + 5.316455723851383e-10, + 5.59404574672873e-10, + 5.882160054824152e-10, + 6.180727501540659e-10, + 6.48961105214567e-10, + 6.808601135253109e-10, + 7.137408960140689e-10, + 7.475659904780676e-10, + 7.822887096588004e-10, + 8.178525325039981e-10, + 8.541905441947299e-10, + 8.91224942055985e-10, + 9.288666258067464e-10, + 9.670148916509198e-10, + 1.0055572503692116e-09, + 1.0443693897370192e-09, + 1.0833153011704673e-09, + 1.122247589391251e-09, + 1.1610079820176184e-09, + 1.1994280532751965e-09, + 1.2373301724286234e-09, + 1.2745286830741808e-09, + 1.3108313141314065e-09, + 1.346040817321788e-09, + 1.3799568192606186e-09, + 1.412377869198533e-09, + 1.4431036561812023e-09, + 1.4719373622173193e-09, + 1.4986881112844977e-09, + 1.523173467982208e-09, + 1.545221934700314e-09, + 1.564675392622469e-09, + 1.5813914299979515e-09, + 1.5952455011079183e-09, + 1.606132861344413e-09, + 1.6139702278616839e-09, + 1.6186971212639851e-09, + 1.6202768516007636e-09, + 1.6186971212639851e-09, + 1.6139702278616839e-09, + 1.606132861344413e-09, + 1.5952455011079183e-09, + 1.5813914299979515e-09, + 1.564675392622469e-09, + 1.545221934700314e-09, + 1.523173467982208e-09, + 1.4986881112844977e-09, + 1.4719373622173193e-09, + 1.4431036561812023e-09, + 1.412377869198533e-09, + 1.3799568192606186e-09, + 1.346040817321788e-09, + 1.31083131413138e-09, + 1.2745286830742073e-09, + 1.2373301724286234e-09, + 1.1994280532751965e-09, + 1.1610079820176184e-09, + 1.122247589391251e-09, + 1.0833153011704673e-09, + 1.0443693897370192e-09, + 1.0055572503692116e-09, + 9.670148916509198e-10, + 9.288666258067464e-10, + 8.91224942055985e-10, + 8.541905441947299e-10, + 8.178525325039848e-10, + 7.822887096588137e-10, + 7.475659904780676e-10, + 7.137408960140821e-10, + 6.808601135253109e-10, + 6.489611052145538e-10, + 6.180727501540659e-10, + 5.882160054824152e-10, + 5.59404574672873e-10, + 5.316455723851383e-10, + 5.04940177073519e-10, + 4.7928426410012e-10, + 4.5466901356518316e-10, + 4.3108148840310337e-10, + 4.0850517948706727e-10, + 3.869205155434962e-10, + 3.6630533658779774e-10, + 3.4663533037392083e-10, + 3.278844319993274e-10, + 3.1002518733890444e-10, + 2.930290814077152e-10, + 2.768668330800515e-10, + 2.6150865783754524e-10, + 2.46924500392156e-10, + 2.3308423913676347e-10, + 2.1995786443639143e-10, + 2.0751563278407477e-10, + 1.95728198826588e-10, + 1.845667272148283e-10, + 1.740029861643485e-10, + 1.6400942452466144e-10, + 1.545592340593227e-10, + 1.4562639853305157e-10, + 1.3718573109489495e-10, + 1.29212901334339e-10, + 1.2168445327999169e-10, + 5.901422388288999e-11 + ], + "positive_inventory_m2": [ + 1000000000000002.8 + ], + "positive_ion_flux_m2_s": [ + -381222027771.49963, + -1167794986211.4534, + -2003411257139.398, + -2890778288448.8457, + -3832674783414.396, + -4831934376018.914, + -5891424535726.011, + -7014019863248.252, + -8202568878755.011, + -9459853325703.775, + -10788538982241.035, + -12191116960277.877, + -13669834531353.69, + -15226614646051.781, + -16862963544968.295, + -18579866234429.867, + -20377670135076.92, + -22255957961313.54, + -24213411877085.164, + -26247672222243.07, + -28355195638421.426, + -30531119204414.78, + -32769139176446.996, + -35061414995082.438, + -37398511180204.46, + -39769391308338.85, + -42161479108557.98, + -44560801352043.31, + -46952225195154.89, + -49319798482424.92, + -51647194895039.18, + -53918256665989.71, + -56117616194056.8, + -58231365155561.16, + -60247727126086.37, + -62157679341749.945, + -63955463483880.336, + -65638926594802.93, + -67209643121419.17, + -68672788005597.77, + -70036757219673.0, + -71312562715723.8, + -72513058309047.34, + -73652075819376.67, + -74743561872670.38, + -75800802380294.16, + -76835804312066.81, + -77858876706072.38, + -78878420987903.62, + -79900911322826.67, + -80931024375377.44, + -81971867379326.53, + -83025253682373.08, + -84091983336500.52, + -85172099033776.16, + -86265101001725.75, + -87370115654345.3, + -88486020519349.55, + -89611532127856.55, + -90745264828780.94, + -91885767829726.73, + -93031546014127.11, + -94181067799653.17, + -95332760729288.3, + -96484992603828.23, + -97636032665199.52, + -98783983570057.77, + -99926670901006.03, + -101061473499053.48, + -102185076377127.78, + -103293130422988.5, + -104379811767427.5, + -105437290251596.61, + -106455140829199.66, + -107419761166389.61, + -108313887179277.97, + -109116317372755.64, + -109801958005779.27, + -110342278401503.66, + -110706218836843.05, + -110861528879090.67, + -110776444156267.53, + -110421549368132.47, + -109771638252180.38, + -108807375186906.95, + -107516588647274.97, + -105895077317059.72, + -103946874071070.0, + -101683978663885.14, + -99125625905384.28, + -96297195235926.31, + -93228887225646.33, + -89954293823175.4, + -86508976076161.88, + -82929140638043.9, + -79250479808885.58, + -75507213354580.48, + -71731346922219.44, + -67952143163224.15, + -64195788290139.07, + -60485228438670.02, + -56840146175346.195, + -53277046801949.664, + -49809425758773.516, + -46447991580978.12, + -43200922729794.83, + -40074140725523.47, + -37071585924040.99, + -34195485853831.086, + -31446609034805.727, + -28824499749173.473, + -26327691195989.49, + -23953895993653.918, + -21700174108062.87, + -19563079068467.875, + -17538783834091.81, + -15623187995729.768, + -13812008117648.588, + -12100853093452.541, + -10485286301208.566, + -8960876286072.059, + -7523237536390.578, + -6168062802944.301, + -4891148224483.129, + -3688412412176.835, + -2555910481941.7197, + -1489843891662.9412, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + }, + "assessment": { + "conservation_compliant": true, + "content_consistent": true, + "reference_accuracy_qualified": null, + "reference_accuracy_status": "not_assessed_shared_constitutive_laws" + }, + "checks": { + "charge_balance_normalized": { + "applicable": true, + "passed": true + }, + "contact_internal_current_spread_relative": { + "applicable": true, + "passed": true + }, + "electron_current_A_m2_reported_content_matches": { + "applicable": true, + "passed": true + }, + "electron_current_A_m2_state_content_matches": { + "applicable": true, + "passed": true + }, + "finite_positive_populations": { + "applicable": true, + "passed": true + }, + "hole_current_A_m2_reported_content_matches": { + "applicable": true, + "passed": true + }, + "hole_current_A_m2_state_content_matches": { + "applicable": true, + "passed": true + }, + "interface_conduction_A_m2_reported_content_matches": { + "applicable": true, + "passed": true + }, + "interface_current_spread_relative": { + "applicable": true, + "passed": true + }, + "interface_displacement_A_m2_reported_content_matches": { + "applicable": true, + "passed": true + }, + "interface_total_A_m2_reported_content_matches": { + "applicable": true, + "passed": true + }, + "internal_displacement_A_m2_reported_content_matches": { + "applicable": true, + "passed": true + }, + "internal_face_current_spread_relative": { + "applicable": true, + "passed": true + }, + "internal_total_A_m2_reported_content_matches": { + "applicable": true, + "passed": true + }, + "inventory_relative_drift": { + "applicable": true, + "passed": true + }, + "ion_site_occupancy_physical": { + "applicable": true, + "passed": true + }, + "physical_geometry_matches": { + "applicable": true, + "passed": true + }, + "positive_ion_flux_m2_s_reported_content_matches": { + "applicable": true, + "passed": true + }, + "positive_ion_flux_m2_s_state_content_matches": { + "applicable": true, + "passed": true + } + }, + "finite_step": true, + "limits": { + "charge_balance_normalized": 1e-10, + "contact_internal_current_spread_relative": 2e-06, + "interface_current_spread_relative": 2e-06, + "internal_face_current_spread_relative": 2e-06, + "inventory_relative_drift": 1e-10 + }, + "metrics": { + "charge_balance_normalized": 1.3902242575443974e-18, + "contact_internal_current_spread_relative": 9.44694065993631e-12, + "interface_current_spread_relative": 1.1457572130454537e-12, + "internal_face_current_spread_relative": 9.44694065993631e-12, + "inventory_relative_drift": 3.1086244689504383e-15 + }, + "passed": true, + "reasons": [], + "schema": "R1IndependentPhysicsRowV1", + "scope": "saved_state_independent_current_charge_assembly_not_full_DAE_oracle", + "shared_constitutive_dependencies": [ + "fe_operators.bernoulli", + "two_sided_interface._material_two_sided_interface_problem", + "two_sided_interface_compensated.evaluate_local_carrier_pair", + "compensated.DD", + "one_dimensional_mechanism_r1_global_reference.evaluate_independent_saved_high_ion_transport" + ] + }, + "local_algebraic_scale": [ + 2.5951999786435536e-14, + 3.878700853926815e-14, + 16694.821269249507, + 10580.80998663068, + 16694.821269249507, + 10580.80998663068 + ], + "poisson_scale_C_m2": [ + 3.765564615313958e-14, + 3.54615209761182e-14, + 3.3400442220867445e-14, + 3.146435617735993e-14, + 2.964569754730839e-14, + 2.7937359882595423e-14, + 2.633266781666979e-14, + 2.4825350980411758e-14, + 2.3409519500528085e-14, + 2.2079640984743803e-14, + 2.083051890385784e-14, + 1.9657272286193556e-14, + 1.8555316645096934e-14, + 1.7520346064953486e-14, + 1.654831637572964e-14, + 1.56354293502912e-14, + 1.4778117862748466e-14, + 1.3973031949833105e-14, + 1.3217025720844629e-14, + 1.2507145065014236e-14, + 1.1840616108252945e-14, + 1.1214834374177461e-14, + 1.062735460706278e-14, + 1.0075881216952278e-14, + 9.558259309589638e-15, + 9.07246626612338e-15, + 8.61660383967932e-15, + 8.18889073791949e-15, + 7.787655662603971e-15, + 7.411330778956708e-15, + 7.058445589316688e-15, + 6.727621187136784e-15, + 6.417564868876249e-15, + 6.127065082733461e-15, + 5.8549866944812134e-15, + 5.600266551904719e-15, + 5.361909330511474e-15, + 5.138983644279081e-15, + 4.930618406244078e-15, + 4.735999424710795e-15, + 4.554366221779579e-15, + 4.385009061762838e-15, + 4.227266177877446e-15, + 4.080521186376651e-15, + 3.944200678017205e-15, + 3.817771977450281e-15, + 3.7007410617809435e-15, + 3.592650630162956e-15, + 3.4930783168858204e-15, + 3.4016350409715953e-15, + 3.3179634858324476e-15, + 3.2417367030483777e-15, + 3.1726568348091485e-15, + 3.1104539500283997e-15, + 3.0548849895821293e-15, + 3.005732816549788e-15, + 2.9628053677471132e-15, + 2.9259349032350315e-15, + 2.8949773508722195e-15, + 2.869811743350079e-15, + 2.8503397455103273e-15, + 2.8364852700982524e-15, + 2.8281941804501133e-15, + 2.8254340789529334e-15, + 2.8281941804501133e-15, + 2.8364852700982524e-15, + 2.8503397455103273e-15, + 2.869811743350079e-15, + 2.8949773508722258e-15, + 2.9259349032350315e-15, + 2.962805367747107e-15, + 3.005732816549788e-15, + 3.0548849895821293e-15, + 3.1104539500283997e-15, + 3.1726568348091485e-15, + 3.2417367030483777e-15, + 3.317963485832439e-15, + 3.4016350409716048e-15, + 3.4930783168858188e-15, + 3.592650630162938e-15, + 3.700741061780949e-15, + 3.817771977450302e-15, + 3.944200678017203e-15, + 4.080521186376629e-15, + 4.227266177877439e-15, + 4.385009061762852e-15, + 4.554366221779585e-15, + 4.735999424710778e-15, + 4.930618406244097e-15, + 5.138983644279099e-15, + 5.361909330511487e-15, + 5.60026655190474e-15, + 5.854986694481194e-15, + 6.127065082733462e-15, + 6.417564868876263e-15, + 6.7276211871367505e-15, + 7.058445589316662e-15, + 7.411330778956749e-15, + 7.787655662604013e-15, + 8.188890737919427e-15, + 8.616603839679249e-15, + 9.072466266123287e-15, + 9.558259309589707e-15, + 1.0075881216952408e-14, + 1.062735460706272e-14, + 1.1214834374177551e-14, + 1.1840616108252865e-14, + 1.2507145065014199e-14, + 1.3217025720844744e-14, + 1.397303194983286e-14, + 1.47781178627484e-14, + 1.5635429350291466e-14, + 1.6548316375729542e-14, + 1.7520346064953414e-14, + 1.8555316645097145e-14, + 1.9657272286193325e-14, + 2.0830518903857646e-14, + 2.2079640984744434e-14, + 2.3409519500528647e-14, + 2.4825350980411597e-14, + 2.6332667816669053e-14, + 2.7937359882594697e-14, + 2.964569754730783e-14, + 3.146435617736082e-14, + 3.340044222086796e-14, + 3.5461520976118024e-14, + 2.795889651832315e-14, + 2.795889651832315e-14, + 3.5461520976118024e-14, + 3.340044222086645e-14, + 3.146435617736065e-14, + 2.964569754730918e-14, + 2.7937359882594697e-14, + 2.6332667816669053e-14, + 2.4825350980411597e-14, + 2.3409519500528647e-14, + 2.2079640984744434e-14, + 2.0830518903857646e-14, + 1.9657272286193325e-14, + 1.8555316645097145e-14, + 1.7520346064953414e-14, + 1.6548316375729542e-14, + 1.5635429350291132e-14, + 1.477811786274836e-14, + 1.3973031949833155e-14, + 1.3217025720844744e-14, + 1.2507145065014413e-14, + 1.1840616108252889e-14, + 1.1214834374177359e-14, + 1.062735460706272e-14, + 1.0075881216952269e-14, + 9.558259309589693e-15, + 9.07246626612341e-15, + 8.616603839679249e-15, + 8.188890737919427e-15, + 7.787655662604013e-15, + 7.411330778956749e-15, + 7.058445589316662e-15, + 6.727621187136812e-15, + 6.417564868876269e-15, + 6.127065082733407e-15, + 5.854986694481194e-15, + 5.60026655190474e-15, + 5.361909330511487e-15, + 5.138983644279099e-15, + 4.930618406244097e-15, + 4.735999424710778e-15, + 4.554366221779556e-15, + 4.385009061762851e-15, + 4.227266177877467e-15, + 4.080521186376629e-15, + 3.944200678017181e-15, + 3.8177719774503015e-15, + 3.700741061780969e-15, + 3.592650630162956e-15, + 3.493078316885803e-15, + 3.40163504097157e-15, + 3.317963485832455e-15, + 3.2417367030483935e-15, + 3.1726568348091343e-15, + 3.1104539500283994e-15, + 3.0548849895821435e-15, + 3.005732816549788e-15, + 2.962805367747107e-15, + 2.9259349032350315e-15, + 2.8949773508722376e-15, + 2.8698117433500667e-15, + 2.8503397455103095e-15, + 2.8364852700982524e-15, + 2.828194180450119e-15, + 2.8254340789529563e-15, + 2.828194180450119e-15, + 2.8364852700982524e-15, + 2.8503397455103095e-15, + 2.8698117433500667e-15, + 2.8949773508722376e-15, + 2.9259349032350315e-15, + 2.962805367747107e-15, + 3.005732816549788e-15, + 3.0548849895821435e-15, + 3.1104539500283994e-15, + 3.1726568348091343e-15, + 3.2417367030483935e-15, + 3.3179634858324223e-15, + 3.401635040971606e-15, + 3.493078316885836e-15, + 3.592650630162919e-15, + 3.700741061780969e-15, + 3.8177719774503015e-15, + 3.944200678017181e-15, + 4.080521186376629e-15, + 4.227266177877467e-15, + 4.385009061762851e-15, + 4.554366221779588e-15, + 4.735999424710776e-15, + 4.9306184062440265e-15, + 5.1389836442791025e-15, + 5.3619093305115255e-15, + 5.60026655190474e-15, + 5.854986694481246e-15, + 6.1270650827334e-15, + 6.417564868876211e-15, + 6.727621187136812e-15, + 7.0584455893165855e-15, + 7.411330778956757e-15, + 7.787655662604096e-15, + 8.188890737919528e-15, + 8.616603839679236e-15, + 9.072466266123175e-15, + 9.558259309589707e-15, + 1.0075881216952562e-14, + 1.0627354607062701e-14, + 1.1214834374177568e-14, + 1.1840616108252628e-14, + 1.2507145065013773e-14, + 1.3217025720845277e-14, + 1.3973031949833095e-14, + 1.4778117862748432e-14, + 1.5635429350291422e-14, + 1.654831637572917e-14, + 1.7520346064952944e-14, + 1.85553166450972e-14, + 1.9657272286194442e-14, + 2.0830518903858236e-14, + 2.2079640984744434e-14, + 2.3409519500527807e-14, + 2.4825350980411698e-14, + 2.633266781666787e-14, + 2.7937359882593772e-14, + 2.964569754731038e-14, + 3.146435617736065e-14, + 3.340044222086645e-14, + 3.546152097611995e-14, + 3.765564615313995e-14 + ], + "rate": [ + 800953689.5787922, + 1662392444.8403075, + 2737262610.052166, + 3774780511.936875, + 4325619994.347068, + 5523773752.665535, + 6644883259.327551, + 7583013475.727209, + 8543984447.4808445, + 9645678153.49424, + 11041941296.865074, + 11527794390.698887, + 13288969653.331608, + 13798289892.820026, + 14726275826.119097, + 16243462235.690205, + 16805788738.282501, + 17981841489.062035, + 18498856508.918125, + 19543695440.808815, + 19946275753.4171, + 20680971525.237694, + 20704411246.71452, + 21697143959.763702, + 21066142657.309284, + 21539644071.402473, + 20939156618.491577, + 20610768633.48825, + 20034690306.880016, + 19030426249.6325, + 17946469523.476192, + 16568925335.371132, + 14940200844.711721, + 13008688037.89597, + 11014552502.201496, + 8677969676.70617, + 5814448336.853163, + 3477997868.7210636, + 119779893.09169404, + -3034017886.718954, + -6303094891.721018, + -10126551709.053587, + -13633790367.793884, + -17632818889.04592, + -21526391888.46428, + -25628613864.08557, + -29941487003.633564, + -34132273457.51615, + -38610804607.605354, + -42944388676.69225, + -47429156396.1373, + -52006464133.01409, + -56753657286.81768, + -60992867388.73488, + -65903475121.72407, + -70340254314.9395, + -74977342715.13353, + -79351928373.46799, + -84092621319.99994, + -88372924688.25627, + -92788294436.5926, + -97050495041.13667, + -101185899602.01912, + -105363902090.59492, + -109293269215.8226, + -113070970879.68437, + -116896647121.1733, + -120278724874.97137, + -123620866539.72383, + -127089702109.3424, + -129958644365.62747, + -132921850492.60439, + -135551600208.77197, + -138388697074.107, + -140400083813.22235, + -142607546568.71637, + -144691073564.95526, + -146722643984.4973, + -147954378354.91037, + -149574729146.3556, + -150830757381.26135, + -151946855827.7852, + -152909899526.26083, + -153173846369.84805, + -154212980279.68774, + -153825452256.2419, + -154930553325.91098, + -154007735632.3253, + -154470172003.35135, + -153483899719.35693, + -153534129131.38425, + -152618113558.39786, + -152175098125.28735, + -151034511217.71503, + -149936646859.55975, + -149302671299.40308, + -148534884525.67017, + -146697187713.9229, + -145815538219.85507, + -144498102785.15082, + -143913288279.74234, + -141866800127.43512, + -141483778303.89124, + -139695806176.54507, + -138775616571.12048, + -137873351480.72012, + -134713976787.71407, + -136998817803.8784, + -136326856833.85915, + -128687354456.73604, + -129355543257.62949, + -139386536822.7871, + -127075200557.30263, + -122638297588.48907, + -139635558205.3861, + -113563225707.84053, + -136274022906.26976, + -129062832359.20386, + -119866136225.43913, + -123940668327.9392, + -128784177959.66154, + -111744023404.42116, + -129961574143.57544, + -126254840057.76582, + -126224438163.2566, + -99584018973.15742, + -259457969746.75693, + -3871590276832.041, + -4382429874292.8613, + -6461988245135.951, + -5100386641537.388, + -6707235063809.762, + -4797858671442.798, + -5900032086789.121, + -5137400344266.598, + -5828296740887.685, + -5598864942838.948, + -5216013544880.197, + -5205976960881.167, + -5669257194957.044, + -5054014799562.327, + -5522215680097.268, + -5171861742188.767, + -4987655190442.792, + -5198543083325.285, + -5112622024927.115, + -4959897398820.056, + -4991546024427.934, + -4925656195638.78, + -4730037173113.682, + -4858678933725.733, + -4641916353131.699, + -4549510036591.695, + -4678181034830.158, + -4398276315772.026, + -4396686051454.688, + -4312357349472.031, + -4231149775907.314, + -4112115092131.472, + -4040181403590.1084, + -3948629323295.0366, + -3880258705756.2754, + -3726143694093.733, + -3668989178621.6777, + -3541055771116.8604, + -3459693592048.757, + -3344428422169.477, + -3235249498761.799, + -3132421127036.0747, + -3020719746773.746, + -2916274565186.132, + -2801995607025.4834, + -2706845763832.3047, + -2580211676439.017, + -2481275201502.324, + -2367366404294.9175, + -2263477743961.8394, + -2168302023297.2876, + -2050557562857.6255, + -1957143096174.5872, + -1857709870633.6362, + -1763731515672.4224, + -1664947297497.0903, + -1571480367602.9185, + -1488100791584.3352, + -1398226369851.9048, + -1318835068223.6038, + -1244265565528.5725, + -1159248789074.095, + -1091604930865.6664, + -1022574263484.957, + -960799398308.6228, + -890088751747.2214, + -836358095695.3198, + -780314768317.8372, + -727480671561.1005, + -676539380476.2789, + -632789507573.678, + -585344217539.1033, + -546251643926.19666, + -505275200028.52527, + -475472976433.8108, + -435220531521.5985, + -410219997174.03986, + -372892195712.09863, + -352389243722.4233, + -324271771206.7115, + -303749389724.68396, + -276953375833.94604, + -259947264030.56186, + -241976151131.86136, + -219573202430.8455, + -205033440125.3754, + -192125090669.0531, + -179554339859.51392, + -164397538768.73694, + -146361249543.06714, + -148122159063.66925, + -126476304465.80173, + -115777605861.64598, + -111114743710.79662, + -111817930473.95665, + -89866485460.15448, + -88823950532.66278, + -80118181098.33974, + -76791683602.28822, + -66023726538.80475, + -70737140195.85269, + -45047012905.80439, + -65888897005.928154, + -42184085415.67564, + -51873130597.22099, + -41164659904.75301, + -30263241512.991257, + -59735966799.2022, + 3832590790.7518315, + -57101193057.37231, + -22519587663.264053, + -16832497785.954363, + -3619226511.0049343, + -40962671438.44092, + -13175230688.92006, + -25098193187.75493, + 4379194528.814001, + -8384942978.459777, + 12487998503.423101, + -59115380734.54186, + -40384597821.65537, + 103589639340.50792, + -54203318654.73878, + -8977325373.015911, + -188694177178.99112, + 212462513854.55685, + 77142196665.7934, + -850013381.3799607, + -1692648958.2152748, + -2465269102.9927325, + -3231816017.4197326, + -4738816838.498415, + -5178084360.283939, + -6480649948.234361, + -7426540450.765408, + -8310718388.442817, + -9589049541.829063, + -11070578903.243607, + -11970522546.98378, + -12788954289.571533, + -14625969562.84354, + -15310111728.198137, + -16556478953.372482, + -17777069294.913517, + -19119168433.72063, + -19782807367.031868, + -21156432299.73863, + -21932948732.616253, + -22699708174.340878, + -23384505740.257244, + -24174210088.784412, + -24335556376.914143, + -24539176069.148026, + -24366395135.057724, + -24081583321.03632, + -23457241090.331375, + -22223717262.762897, + -20887912012.11985, + -18947412400.89827, + -16577090945.68829, + -13970875312.479021, + -10077391813.582664, + -6338371144.197735, + -1414547806.3367898, + 3744938750.8407254, + 10307795036.270405, + 16904483414.842087, + 24926730281.137066, + 33468760948.106617, + 43317804232.96688, + 53765144728.097984, + 65702334728.39215, + 78512996457.0114, + 92783813628.9018, + 108082413590.30132, + 124957147608.95874, + 143445697663.2817, + 163389063270.36584, + 184778686243.43112, + 208364182979.62292, + 233720841337.8863, + 260854068900.89795, + 290149597525.5107, + 321904086990.1284, + 355502807438.61115, + 391645153222.8105, + 430415748035.5484, + 471130420248.3156, + 514977407711.6929, + 561070059394.1355, + 610286139887.3937, + 661601682743.2065, + 716140803017.4795, + 773082422684.3142, + 833223842474.0554, + 895154808609.2637, + 960844540044.4114, + 1028442727934.4208, + 1098812839735.0228, + 1171725507491.494, + 1246834694664.5305, + 1323785432643.8909, + 1403626660769.5222, + 1484468514682.525, + 1567334823765.4583, + 1651377791929.1814, + 1735888801226.5938, + 1822532942362.408, + 1908225172888.1416, + 1993669940386.3376, + 2081084004675.8079, + 2163594915698.3374, + 2248913094746.016, + 2330337882420.8784, + 2408901545463.4062, + 2490219034965.8193, + 2563493786671.0317, + 2635317269092.272, + 2707093056670.3354, + 2770279021699.5845, + 2839312399631.3574, + 2893922656659.0747, + 2951334178759.9365, + 3011925534999.998, + 3049314257143.1265, + 3107594839770.2754, + 3144845770090.3477, + 3190092035045.0146, + 3224180017556.1646, + 3259672655178.2573, + 3296388374350.382, + 3330280181046.879, + 3350790038906.0244, + 3378795825100.487, + 3399510331453.213, + 3431554719722.544, + 3436218246967.72, + 3465880424196.3647, + 3508118474284.2627, + 3454892906341.5, + 3544414634604.194, + 3508190689492.386, + 3534074161632.3384, + 3583989253325.5566, + 3541483694040.1045, + 3518426752546.003, + 3638988874067.9937, + 3586501299248.147, + 3591195587213.3135, + 3523074880336.7944, + 3728353448530.3975, + 3527879687991.931, + 3649388342968.189, + 6396552477229.174, + 83820319705.8329, + 74947205361.9841, + 75551642748.02437, + 76471692606.38606, + 76692078157.70255, + 77869203402.18439, + 76886064889.10912, + 75813024183.23326, + 78682366785.97517, + 77010220755.09616, + 77459402197.12273, + 78150356047.70154, + 78762579347.58595, + 77918531035.34921, + 78663587715.72607, + 79881536601.99783, + 78835827568.4174, + 80167969942.97395, + 79667987659.50471, + 80741258499.66403, + 80321830268.42697, + 81822769981.44571, + 81382045290.39923, + 82206586266.95998, + 82617981208.55214, + 82871963632.16997, + 83515985335.85535, + 84473378156.87296, + 84762465515.9514, + 85130772624.31741, + 86203732825.70604, + 86779477520.83711, + 87220911037.01363, + 88284198588.1797, + 88818104291.444, + 89816850924.63586, + 90472546796.73172, + 91707101532.06415, + 92258284120.47237, + 93156176923.3557, + 94359846658.44724, + 95231651813.86836, + 96513827280.24315, + 97147246560.5099, + 98619108080.88164, + 99463635414.9551, + 100727066324.20009, + 101901008473.7633, + 102987197736.22554, + 104127245633.88313, + 105288268048.61852, + 106564964164.87961, + 107620346710.79062, + 108622551283.87743, + 110126643055.57904, + 110588699641.72134, + 112120621496.46161, + 112796476418.5168, + 113661216999.08534, + 114654977400.1618, + 115344035549.78072, + 115890413419.57202, + 116272676400.0985, + 117266083134.64836, + 116755835833.71265, + 117441583562.77844, + 116981185054.41493, + 117501390564.53445, + 117082253635.67989, + 115419956526.48477, + 116184300050.48125, + 115181545809.08536, + 113778911022.60362, + 111707773197.14305, + 112191225876.88545, + 109821767417.89294, + 107975692149.40887, + 105855705589.15224, + 104674207329.12654, + 103023528258.64574, + 97488809854.03548, + 100564920284.54486, + 93047666400.56529, + 91855024228.73486, + 90766626519.59915, + 86658281417.9202, + 83139004743.43228, + 81111358949.67784, + 80080674896.12074, + 74517500361.95018, + 70845867092.08063, + 71800157867.21367, + 63318073828.38573, + 66759431227.2442, + 57619919045.522446, + 56298696338.60776, + 54016839449.53661, + 52916381217.29141, + 49918225229.68047, + 48386426297.20236, + 38081703710.88247, + 51351009596.81998, + 24043088471.721283, + 43000588794.63677, + 45772476370.86464, + 19765005974.01105, + 33614531561.136417, + 23136420961.86656, + 7599750542.688127, + 44527518608.55568, + 32867553802.130383, + -4401716994.279119, + 16182257210.434734, + 46796724220.90324, + -23173909245.024555, + -13507807130.65416, + 103741323341.04335, + -27110141463.311462, + -51041266031.980934, + 106591240381.41081, + -56001551684.35533, + 16427517842.267624, + 32575836986.49364, + -22191839034.60073, + -14968155235.245094, + -11343296812.720257, + 69452165835.27487, + -44505973902.516975, + 6.459832946851146e+21, + 6.464038233627622e+21, + 6.466972433082832e+21, + 6.468362447226083e+21, + 6.467896648228595e+21, + 6.465220914727671e+21, + 6.459934621304465e+21, + 6.451586563359353e+21, + 6.439671079627171e+21, + 6.423624467431537e+21, + 6.402821988451126e+21, + 6.376575721130531e+21, + 6.344133676958308e+21, + 6.304680630013369e+21, + 6.257341200278795e+21, + 6.201185856614644e+21, + 6.135240543396822e+21, + 6.058500737823533e+21, + 5.969950765383183e+21, + 5.868589168228817e+21, + 5.753460858120204e+21, + 5.623696543815856e+21, + 5.478559598295261e+21, + 5.317500009399491e+21, + 5.140214343608073e+21, + 4.946709720557921e+21, + 4.737368719761893e+21, + 4.513010863085347e+21, + 4.2749450958816606e+21, + 4.0250065710610226e+21, + 3.7655703346153076e+21, + 3.499534490899393e+21, + 3.230266370986802e+21, + 2.961507422803903e+21, + 2.6972360918074466e+21, + 2.4414927533552273e+21, + 2.1981764079474733e+21, + 1.9708285491613063e+21, + 1.7624243358727065e+21, + 1.5751937291404302e+21, + 1.4104945289380383e+21, + 1.2687547084786667e+21, + 1.1494932780688295e+21, + 1.051418279699957e+21, + 9.725893498116487e+20, + 9.106229448883663e+20, + 8.62912893313161e+20, + 8.268386375784162e+20, + 7.99938279436815e+20, + 7.800319720013609e+20, + 7.652910961499537e+20, + 7.542576618497358e+20, + 7.45824701745212e+20, + 7.39191290631371e+20, + 7.338054763747295e+20, + 7.293058240201857e+20, + 7.254686848526827e+20, + 7.221647841937069e+20, + 7.19325946975245e+20, + 7.169209845318563e+20, + 7.149388606040294e+20, + 7.133769639961821e+20, + 7.122323359390929e+20, + 7.114937776227071e+20, + 7.111327137714547e+20, + 7.110904481454047e+20, + 7.112590338045706e+20, + 7.114525569147509e+20, + 7.11365490301848e+20, + 7.105153453852591e+20, + 7.081686406556084e+20, + 7.032526008309209e+20, + 6.942600474586679e+20, + 6.791610408723895e+20, + 6.55340615674603e+20, + 6.195854393816954e+20, + 5.6814129630408796e+20, + 4.9685658525967267e+20, + 4.014145698787023e+20, + 2.776409377895751e+20, + 1.2185684348274034e+20, + -6.876476846608054e+19, + -2.9588668296191436e+20, + -5.5978178101986165e+20, + -8.592248933200926e+20, + -1.1915151002088788e+21, + -1.5526224209075993e+21, + -1.9374364266921698e+21, + -2.3400833086671178e+21, + -2.754273527998547e+21, + -3.173643976943704e+21, + -3.592065062219305e+21, + -4.0038922328028805e+21, + -4.404151184178814e+21, + -4.788654759198803e+21, + -5.154056394557344e+21, + -5.497849528772345e+21, + -5.818324707014035e+21, + -6.114496647932226e+21, + -6.38601268594242e+21, + -6.633052390819111e+21, + -6.856226126309643e+21, + -7.056478242723897e+21, + -7.234998732301308e+21, + -7.393145513562455e+21, + -7.532378305576805e+21, + -7.654204062228646e+21, + -7.76013336295926e+21, + -7.85164665358527e+21, + -7.930169195563531e+21, + -7.997053320413925e+21, + -8.053566791186535e+21, + -8.100886065408977e+21, + -8.140093417905483e+21, + -8.172177002730845e+21, + -8.19803312818759e+21, + -8.218470049525988e+21, + -8.234212869459995e+21, + -8.24590900087294e+21, + -8.254134059014407e+21, + -8.259397769794963e+21, + -8.26214987094307e+21, + -8.26278573547769e+21, + -8.261651827098652e+21, + -8.25905072446957e+21, + -8.25524579849958e+21, + -8.250465543840833e+21, + -8.244907572400195e+21 + ], + "scaled_nonlinear_residual": 0.04727447039001282, + "scaled_residual_vector": [ + 6.672548049113942e-08, + 7.84214343075065e-08, + -1.2105677921142404e-07, + -2.778424454396274e-07, + 3.682506311451226e-07, + 3.6145455411945494e-08, + -1.798015806252563e-07, + 2.59142842970077e-08, + 2.6931156979218946e-07, + 1.8628905899457712e-07, + -9.009646770882508e-07, + 1.2176689648081318e-06, + -1.6429837884262378e-06, + 7.738525519708337e-07, + 1.4087962745440192e-06, + -1.6534964402596397e-06, + 8.376999824691598e-07, + -1.260743564118146e-06, + 1.3209675541523012e-06, + -1.4770494224964366e-06, + 1.1098567617113344e-06, + -1.1907875743354116e-06, + 4.1628633398552675e-06, + -6.7165248503438565e-06, + 5.667742402680021e-06, + -4.239774896971019e-06, + 3.0748375891259344e-06, + 3.7072784990994237e-07, + -2.1309041516853e-06, + 1.0319271750461248e-06, + -4.535601305942869e-07, + -3.12537155763296e-07, + 8.574998097952693e-08, + 3.2452229556560323e-06, + -2.5908198204049624e-06, + -3.7209823601012344e-06, + 1.4139510632087744e-05, + -1.8305702877216382e-05, + 6.897929368721566e-06, + 2.1250659259970215e-06, + -1.0335874923366041e-05, + 1.5559752314310652e-05, + -8.244808307908145e-06, + 7.95204973688708e-06, + -5.053844197065409e-06, + -6.132028755075165e-06, + 1.0588261540631469e-05, + -7.390117178629932e-06, + 1.1967798749250529e-05, + -9.24663473432959e-06, + -1.228577817237888e-05, + -3.923477729387886e-06, + 4.0863362611750696e-05, + -5.1098909864337686e-05, + 3.604191461026326e-05, + -8.416206002884883e-06, + 1.2119148928962384e-05, + -4.266749348651373e-05, + 4.181870076720142e-05, + -1.3564910021276299e-05, + 5.001582152781573e-06, + -2.341955125581843e-06, + -2.2590495921563843e-05, + 1.885158430704022e-05, + 7.010434074988146e-06, + -1.509777526228565e-05, + 4.449963129696228e-05, + -2.688219523047501e-05, + -4.796981179695983e-05, + 6.069839680617989e-05, + -2.623237039469427e-05, + 6.338166443685838e-06, + -3.2539791375251633e-05, + 9.875928158475487e-05, + -5.4254328642459125e-05, + -4.1327779146079936e-05, + -4.2745954743813715e-06, + 8.463815515360505e-05, + -7.287534259176624e-05, + -1.5731370631240023e-06, + 5.036334805572669e-07, + 1.973697786744362e-05, + 4.948903249453031e-05, + -8.753366774473916e-05, + 8.205679990077215e-05, + -0.000125496762554893, + 0.00014608275515216345, + -9.16404103969052e-05, + 7.334315419926472e-05, + -7.612250296288597e-05, + 4.344608014534308e-05, + -1.8254944367719043e-05, + 3.680956965917894e-05, + -1.7424948654830124e-05, + -4.297516486820963e-05, + 1.425118838069646e-05, + 5.32974284734515e-05, + -3.9969344016344725e-05, + -5.600741065973065e-06, + -1.902211341335482e-05, + 4.1054239039850485e-05, + -3.4950775288895267e-05, + 3.332323661670837e-05, + -1.1609247556349035e-05, + 7.0091298539203235e-06, + 2.2231467035420314e-05, + -8.72140335122274e-05, + 8.554770240648268e-05, + 9.553390911918555e-05, + -0.00017232705416495394, + -9.527393162901895e-05, + 0.0002650838114748824, + -8.663978671392242e-05, + -0.00016817016447144174, + 0.00026092336457229513, + -0.00028690111981880944, + 0.00017770002747413138, + 5.249360014354187e-05, + -7.811876526367445e-05, + -6.755736428588291e-06, + 5.888943518257852e-05, + -0.0001199064867726373, + 6.944250936826141e-05, + 3.569716325265066e-05, + 3.559138005492697e-05, + -0.00014118525317986875, + 0.0009666189456232102, + -0.0002694636362187233, + -0.000183354890424826, + 0.00012591049503149585, + -9.712841330085301e-05, + 0.0002206123642240447, + -0.00018096498060328988, + 8.763903097447601e-05, + -0.00011449605267942279, + 0.00010878468777184849, + 5.016337350703349e-05, + -8.892223169144046e-05, + -8.721896561932901e-05, + 0.00017004388126786943, + -0.0001533069755662495, + 0.00017453422560425688, + -3.580585566816755e-05, + -0.00015718978557668515, + 7.666220424623031e-05, + 5.0644829147500236e-05, + -6.203248776708291e-05, + 5.4386320742288e-05, + 5.342415927933876e-05, + -0.00017002169830244364, + 0.0001904094827374886, + -0.00011059616804547136, + -0.00017476337400026655, + 0.00036459989244322426, + -0.00021728551079721524, + 2.8085423017232692e-05, + 2.555913006291516e-05, + 4.71026803128175e-05, + -9.620825289721012e-05, + -6.518793380508887e-06, + 2.381899954473009e-06, + 0.00018328783219081086, + -0.00021307721546040323, + 0.00011370706511727781, + -0.00011221867164807621, + 9.842809607872697e-05, + -5.475081638677656e-06, + -4.131889304904689e-05, + 1.6106796807037324e-05, + -3.4330748733843736e-05, + 3.302388475387162e-05, + -5.7286239255293474e-05, + 0.00021032631064612814, + -0.00015187086432844906, + 5.158463952512927e-05, + -0.00010861542419990341, + -5.212180782848045e-05, + 0.00023155465744830763, + -0.00021546486375560985, + 3.9227908541547865e-05, + 3.070653311765154e-05, + 0.00014192474341869193, + -4.3341867861866916e-05, + -0.00013877487159200713, + 9.40231676798423e-05, + -0.00012367817451213982, + 2.0047011674325175e-05, + 0.00026492612174466965, + -0.00026015794411554064, + 1.0288770245324043e-05, + 7.2677198119211075e-06, + 0.00025382811436403966, + -0.00029320478913067225, + 5.59458368322477e-05, + 3.9869174721880716e-05, + 2.765380935339891e-05, + -6.714345838963955e-05, + 0.00013829412957776558, + -0.00012226785300105397, + 1.8344806686848548e-05, + -0.0001616067132899867, + 0.00027308146360570065, + -0.0001939533568040051, + 0.00024255955037605633, + -0.00030494506667954414, + 0.00014080813446514694, + -3.9298669058842924e-05, + 0.00014905379586583768, + -0.00014460633066320084, + 5.2212763570312645e-05, + 0.00010191312881565005, + -0.00015277194691512197, + -5.7293220389101624e-05, + 5.0632176976257216e-05, + 0.00011391369209359838, + 2.040500944224898e-05, + -0.00021078522267159542, + 0.0002768525212898685, + -0.00012186954970902115, + -0.0001446823395344703, + -6.506171124559685e-06, + 0.00024059995052035118, + -0.00013309276917858957, + 2.0490335624076354e-05, + -2.318268118668049e-05, + 3.583101018306942e-05, + -5.5457209812061545e-05, + 0.00011443600436502608, + -0.00020257592193081793, + 0.0001611628922819215, + -9.130390983080042e-05, + 7.075839022585336e-05, + -5.775460072041408e-06, + -7.256464747672046e-05, + 0.00020532109159445252, + -0.0002658187911406249, + 0.00018925635726072237, + -2.2595539939771323e-05, + -3.761751363852221e-05, + -8.689393371584644e-05, + 9.527386467931409e-05, + -1.57312886649729e-05, + 3.457842096280407e-05, + -5.623755186115479e-05, + -9.652710550819251e-06, + -5.7188537791220995e-05, + 0.00011299341131990418, + 6.602989363349053e-05, + -0.00019599471213070928, + 7.840055379689901e-05, + 7.3076793292399985e-06, + 0.0002345739127509643, + -0.00024048390482594303, + -0.000104816022943758, + 6.501601038278028e-08, + 5.9254731485074825e-08, + -6.276151986466308e-08, + -2.7688310054702727e-07, + 5.775907112912013e-07, + -3.2669210215003905e-07, + 1.996895787690062e-07, + -1.8076011143443993e-08, + -5.255634240991502e-07, + -1.2442136283057302e-07, + 9.410330511931261e-07, + 1.3878780918950608e-07, + -1.244463186704856e-06, + 1.4824010256061656e-06, + -7.889375390360732e-07, + -4.866656548358725e-07, + -1.4170312597315807e-07, + 1.3239904215998533e-06, + -1.6075018679365327e-06, + 1.2204899982549024e-06, + -4.8833009905937456e-08, + -6.503628034888145e-07, + -8.716071839431361e-07, + 2.0590840767871415e-06, + -4.968712499581471e-07, + 2.2331608582219344e-07, + -1.0681870571614053e-06, + 4.2301449753545355e-07, + 1.773633095234325e-06, + -2.0659546028423155e-06, + 2.9286810625948014e-07, + -1.1519782980381455e-06, + -1.4370471669746823e-06, + 6.854349437666834e-06, + -6.791753164560682e-06, + 4.03908074293144e-06, + -3.282364279320493e-06, + 6.942912909802233e-06, + -9.593277172884848e-06, + 6.407996171811177e-06, + -3.7806924361575864e-06, + 4.250876150287133e-06, + -5.981618851368081e-06, + 6.696388958099539e-06, + -3.860493043059103e-06, + 2.358584319719466e-06, + -5.892271423456771e-06, + 4.877585895318526e-06, + 4.051310200718488e-06, + -5.7496126134351495e-06, + -6.115971993469144e-06, + 1.2005300416596355e-05, + -1.8233432327174866e-06, + -7.258771916284012e-06, + 3.864023473713987e-06, + 8.229702192773786e-06, + -1.1276828542530473e-05, + 4.040253269331438e-06, + 3.093491836358991e-06, + -1.4422511230344047e-05, + 1.424259096845981e-05, + -3.6863601282984696e-06, + 9.032018877905808e-06, + -1.4322916424059852e-05, + 9.456523304885873e-06, + -4.968053037817893e-06, + 5.295368037181275e-06, + -1.771015352974302e-05, + 2.215624951724363e-05, + -1.0472409374298663e-05, + 2.7806361397186363e-06, + 1.5514813672466303e-06, + -4.763011577771607e-06, + -3.5451634677265252e-06, + 1.4235252511196594e-05, + -1.0041333260918877e-05, + 3.280268023527545e-06, + -2.7466783389280778e-06, + -2.8504323314444966e-06, + 1.5852452044428382e-05, + -1.3725843880436206e-05, + -1.2957843924604489e-06, + 1.4940994734895404e-05, + -3.0095280452506405e-05, + 2.4177827441486824e-05, + -1.2759758775264592e-05, + 7.29663835710076e-09, + 2.658336363838285e-05, + -2.8739116849541792e-05, + 3.2220216347750078e-06, + 1.2827216104186483e-05, + -1.2711243186018343e-05, + 2.311579738380121e-05, + -3.2180783306762715e-05, + 1.647430176728448e-05, + 9.800636678043865e-06, + -3.929029036358458e-05, + 4.2221413804045535e-05, + -2.3049100633933338e-05, + 1.1803582788539582e-05, + -7.934684157871522e-06, + 8.52613365900601e-06, + 7.328019737789845e-06, + -5.406584350870702e-06, + -1.438584017526792e-05, + 5.779491550409569e-06, + 7.285572389059263e-07, + 6.956960531362306e-06, + -1.09132512680632e-05, + 1.4336578929346246e-05, + -2.0670823113605374e-06, + -3.1953416331460264e-05, + 4.569601340975694e-05, + -3.063262104359358e-05, + 1.473023653250608e-05, + 2.9777166737216836e-06, + -2.2882976474973697e-05, + 1.0853838584451151e-05, + 2.6644032757009386e-05, + -2.787148680966517e-05, + 8.826192650530224e-08, + 1.1098774066901967e-06, + 2.5000030421057994e-05, + -3.417628606634365e-05, + 2.146312193812446e-05, + -6.731635336760484e-06, + -0.0006417044938361916, + -8.492457593731607e-05, + 1.3291614648837178e-05, + 9.425692888317736e-06, + 3.486093687602054e-07, + -6.085850568237745e-07, + -1.752851610281994e-05, + 1.8479089134279369e-06, + 2.823875626704706e-05, + -3.07981674216457e-05, + 1.4540840931224877e-05, + 9.51183626868876e-06, + -4.346825711793304e-06, + -1.8185767301136253e-05, + 2.4407045704601218e-05, + 5.989517647647621e-06, + -3.98003056694113e-05, + 3.119782414111796e-05, + -2.75655738243564e-05, + 2.7340289339628075e-05, + -2.347909571447123e-05, + 4.152507496495068e-05, + -5.540883228786491e-05, + 2.7721572043092716e-05, + -1.1169707022755608e-05, + -4.0635088548937674e-06, + 2.9305646120678456e-05, + 1.5230851845630563e-05, + -4.799932986294514e-05, + 1.1445654245152941e-07, + 4.765575465687218e-05, + -3.7186772697556567e-05, + -1.7321558651150353e-05, + 4.664741975420363e-05, + -3.426316036641395e-05, + 3.130521247679082e-05, + -2.4214001417898468e-05, + 3.446028749357554e-05, + -8.749589939704328e-05, + 3.841706792135276e-05, + 5.7701141703058205e-05, + -3.3808008102155013e-05, + 2.1919007248605963e-05, + -8.998310118651556e-05, + 0.00010969611946458451, + -7.671257066167875e-05, + 5.6818445464077745e-05, + -1.3086015646143437e-05, + -2.9913676669387728e-05, + 8.174278161376853e-06, + 2.053602390036638e-05, + 2.1243795500495845e-05, + -5.063777393924949e-05, + 1.7451155844196993e-06, + 7.509696347403081e-05, + -0.00017403095561630653, + 0.00018848992231370346, + -0.000127109813865433, + 4.1885723076512304e-05, + 5.640668699032717e-05, + -4.871760782703058e-05, + -2.567630900136454e-05, + 2.1664969212470522e-05, + 9.67645938643915e-05, + -0.00021151116401866744, + 0.00019046354796242005, + -7.83577521382341e-05, + 0.00013445853384310748, + -0.00016776940203368058, + -0.00011679449185478336, + 0.0003525553727249383, + -0.0001915053313731335, + -0.00011803455718192805, + 2.0954652053242024e-05, + 0.0002928359699998364, + -0.0002458817283353864, + -3.749195305721833e-06, + 3.654356886592752e-05, + 9.641378055492296e-05, + -8.008236876127358e-05, + -0.00016700305565233204, + 0.0004179725988883304, + -0.0004957405531486711, + 0.0002803325118289865, + 6.541095394346635e-05, + -0.00013720685902495058, + 2.169475950819695e-05, + 8.68671499451948e-05, + -6.166754731581763e-07, + -0.00015733619954837825, + 5.013053272262232e-05, + 9.105661105156117e-05, + -0.000155322790927601, + 0.00015781864743108815, + -0.00016988775270461207, + 0.00011792577703400827, + 4.357142898156046e-05, + 1.847125528321005e-05, + -3.7406560642400296e-05, + -2.6914343828277515e-05, + -5.345197310334739e-05, + 0.00012379021857201393, + -0.0002058111794683139, + 0.00025812793131197717, + -0.00010914812160127968, + -0.00016951168020031237, + 0.00014758992615029236, + -4.809504968944402e-05, + 4.046301693240498e-05, + 0.0001553488774607641, + -0.00016726641672811622, + -8.02786649267453e-05, + 0.00014832574727058028, + 9.132879050944537e-06, + -0.0001490582955940952, + 0.00016336635028327555, + 0.00010207316935845547, + -0.00031242416941370724, + 0.00011269700672632712, + 0.00016015381858942225, + -0.00023306470365098617, + 0.0001309422207152821, + -2.0116638221154614e-05, + -4.596964716111496e-05, + 3.722440617915869e-05, + 2.246072509815156e-05, + 1.4740964756833593e-05, + -9.278669510956621e-05, + -1.8231222065865998e-08, + 0.0014447749632840686, + -0.0005914788340342463, + -0.0001736362990044267, + 0.00045049893109440174, + -0.0008083553269137845, + 0.0005194333960555651, + 6.274156877233079e-05, + 6.828768418025114e-05, + -0.0006007946375536806, + 0.00018173284873083457, + 0.00029069417639267567, + -4.4251241915598854e-05, + 0.0002450137728514605, + -0.0002089797443011021, + -3.028443881550999e-05, + -2.7145408302615725e-05, + -0.0002485268186202344, + 0.0003490405399875132, + -2.3103361261071753e-05, + -0.00010767438070903538, + 6.090739862761411e-05, + 6.425587427770935e-07, + -0.00018038933587267658, + 0.0003320815188843587, + -0.00025464676279777956, + 4.436529987691561e-06, + 7.670580684378817e-05, + -1.0291093976551203e-05, + 8.38580618217346e-05, + -6.408323615415114e-05, + -3.544482124713891e-05, + 3.447810254560751e-05, + -9.068700284173738e-05, + 0.00010641851367766733, + 1.853567916852867e-05, + -3.648762431955283e-05, + 1.668526740918586e-05, + -7.068356789883439e-05, + 3.565457902254221e-05, + 8.17767661392444e-06, + 1.637234437673606e-05, + -1.1914650652618816e-05, + -1.1507973923887055e-05, + 4.847578869279233e-06, + 2.3992727799138803e-05, + -2.806480492085686e-05, + -1.2763637972153165e-05, + 6.605870175214446e-06, + 1.764788109531092e-05, + 1.4713962272908426e-07, + 9.145921792987431e-06, + -2.196164814011321e-05, + 3.4444267217184972e-06, + -2.1524319691255664e-06, + 1.3539322706480958e-05, + 3.990351199031072e-06, + -2.355613799492973e-05, + -2.890799792997411e-06, + 2.316008930395603e-05, + -1.80418859600753e-05, + 2.9906825645266706e-05, + -2.400682634833042e-05, + 8.521961847715824e-06, + -1.2449456729977998e-05, + 6.8190015602343715e-06, + -5.730987325421446e-06, + 6.57509004850635e-06, + 7.19452450111399e-06, + -8.655055620763474e-06, + -6.3162764534124475e-06, + 2.3529827261241997e-05, + -1.9255065823662948e-05, + 2.5369600574470235e-05, + -4.784286036884515e-05, + 3.039399345672627e-05, + -1.6401539397549342e-05, + 2.1181077917779927e-05, + -1.0857989633900877e-05, + 2.4218069491524053e-06, + 5.586834414870578e-06, + -2.9923001016969506e-05, + 5.439097766419052e-05, + -3.809280574156261e-05, + -2.4777468222600516e-06, + 2.5752369952943805e-05, + -2.0607217069306084e-05, + -1.7809401839949833e-05, + 4.794797698346281e-05, + -3.553007823455852e-06, + -6.674486688645571e-05, + 8.399656767875773e-05, + -7.973687801831347e-05, + 1.8863824242394883e-05, + 9.04331693310674e-06, + 0.00011081617284518588, + -0.00010982539396687219, + 2.7796467086656096e-06, + -7.874025304201124e-05, + 0.00010922754136396214, + 8.743332955821202e-05, + -0.0002476203808712217, + 0.0002123288068714617, + -5.349160329475989e-05, + -2.6600467974326993e-05, + -0.0001234574598993151, + 0.00038822017262773355, + -0.0005348547464752054, + 0.0004553643498453792, + -0.00015395573588580346, + -0.00011134277625920403, + 0.00012800776566787662, + 9.743200939272179e-05, + -0.00023554549076751965, + 9.430369432975119e-05, + -0.00019609722139103878, + 0.00044982757088259253, + -0.0004945776705257962, + 0.00036983355679091526, + -0.00016990260438365176, + -3.197390538454629e-05, + -0.00036853450170655467, + 0.0008573096263720044, + 7.103209480824771e-05, + -0.0006599683118686525, + -8.7997153497838e-05, + 0.00046762934485935836, + -0.00046352969017756203, + 0.00040549062839811826, + -1.3573193236251084e-07, + -5.006341965726378e-07, + 9.723738703984467e-07, + 1.0631431814756829e-07, + -1.8773175986518072e-06, + 1.722597180134245e-06, + -1.4791032703092646e-06, + 2.26218157505753e-06, + -1.443281610700517e-06, + 7.962487709165883e-08, + 1.7983736477903768e-06, + -1.565490711638795e-06, + 1.8469731858335493e-06, + -5.670730120941213e-06, + 6.2667607086995485e-06, + -4.646150770767375e-06, + 1.0318321781588645e-06, + 1.1203587071166453e-05, + -2.416720862095487e-05, + 1.1481723831692866e-05, + 1.3485727244970249e-05, + -2.0896032255967867e-05, + 2.51237791639208e-05, + -1.8877330072876406e-05, + 2.630695289441099e-07, + -2.497521142912358e-06, + 1.4290608918588612e-05, + -1.1490579991123722e-05, + -4.273703837873511e-06, + 1.0572110039777842e-05, + 4.620571833504118e-06, + -1.7826838460188657e-05, + 1.972690552622512e-05, + -3.1372353184881504e-06, + -2.282301541882753e-05, + 1.8007899175946356e-05, + 1.5896849106335927e-05, + -2.4365793772322084e-05, + -3.4842870530337e-06, + 1.3035196879340458e-05, + 2.9545935527498515e-06, + -1.72657448054241e-05, + 4.264200686544169e-05, + -6.512108368420937e-05, + 4.362024478474372e-05, + -1.3980120875646596e-05, + 5.0419658045232955e-05, + -6.744180767562069e-05, + -3.281882030502982e-05, + 9.26165911679246e-05, + -5.761642555624394e-05, + 2.0027040807757885e-05, + 3.541572562800122e-05, + -1.60310728036284e-05, + -9.94140172451085e-05, + 0.00013660977742084197, + -8.112752887133453e-05, + -2.839460213866628e-05, + 0.0001453436625918953, + -0.00014716808255613905, + 0.00011333110370302195, + -1.977741670561544e-05, + -0.00010224352510054566, + 6.567301233805283e-05, + 3.548888225629421e-05, + -8.820737569382119e-05, + 3.817262577401315e-05, + -1.6065446886855003e-06, + -2.7710203244745927e-05, + 7.969019751588846e-05, + 4.945724730501632e-06, + -8.243030286592708e-05, + 7.199714518196475e-05, + -3.371855634543366e-05, + -9.556458138788135e-06, + 3.9976413021528814e-05, + -0.00012805690102455554, + 0.0001690563647191818, + -8.125126341767584e-05, + 6.654020036237414e-06, + 2.1234481404512096e-05, + 8.922907030073986e-06, + -0.00012663258428276798, + 0.0002639839225966492, + -0.00023750916699207574, + 4.502690337579438e-05, + 8.934008781516478e-05, + -0.00015954989624037511, + 7.904710203811535e-05, + 6.103869385163212e-05, + -3.617460955294736e-05, + 3.522542790341618e-05, + -0.00010835574698837835, + 7.672718548330122e-06, + 0.00013162922994357421, + -9.011815231244507e-05, + 8.180957981337302e-05, + -0.00017794886816243624, + 9.825120354262529e-05, + 0.00012279611565137552, + -8.842429211035948e-05, + -0.00018038541719869026, + 0.00021950718745149156, + -0.00014172588992030047, + 0.00023264519383249557, + -0.00023569149584740424, + 6.94839328532229e-05, + 0.00010669487594112579, + -0.00018145195851414678, + 0.00022982003050711356, + -0.0002601653595246004, + 0.00012774143381705206, + -2.522052479636957e-08, + 4.889515099573929e-05, + 5.479881621086677e-05, + -0.00021693477426803113, + 7.246379499431444e-05, + 0.00012599672319402294, + -0.00019957516375476665, + 0.00015283701186800822, + 4.442644391277808e-05, + -0.0002455221424257812, + 8.678630919203254e-05, + 0.0002918878507627412, + -0.00019454738448078612, + -0.000205676614201199, + 0.00023543746301671223, + -6.15437170264941e-05, + 7.776922551679647e-05, + -3.5157720673919943e-05, + 0.0001757816428259246, + -0.00022437289084230942, + 0.00010011823387388055, + -0.00018651863088871713, + 0.0002274024201695676, + -0.00011117661579259548, + -5.1163722329362954e-05, + 0.00012017809689012085, + -8.195485361563341e-05, + -4.4617138847129096e-05, + 0.00022863261741490288, + -0.00022091119469825902, + 4.217791101652039e-05, + -2.791347085678448e-05, + 0.00016131580538198372, + -0.00013834634931524095, + 1.432543051843205e-05, + -6.555284507962403e-05, + 2.0342082713613254e-05, + 0.00020669367529735946, + -0.00024652143184020285, + 0.00022741294118957758, + -0.00013229191449390737, + -3.3192170841545375e-05, + -4.0667074803712486e-07, + 0.0002560808232295852, + -0.0003739129852765633, + 1.9856791491863597e-05, + 0.00027405005113930055, + -0.00018148240913020433, + 9.130530517897891e-05, + -4.0137782316371384e-05, + -8.226524998251599e-06, + 5.6806926808862245e-05, + -0.00021211262054949472, + 0.00016372413466259506, + 0.00019302850068806467, + -0.000369322757528426, + 0.0002766946245345393, + -0.00027496694898833737, + 0.0003150275091426871, + -0.0001623034995196024, + 9.27302201599505e-06, + -8.950822564827713e-05, + 0.00017276434689514117, + 1.0602555975273105e-05, + -0.00024890462649386627, + 0.00023251998316105215, + 3.460513210251089e-05, + -0.00016095673019065904, + 9.443157123064826e-05, + -0.00011740093096154138, + -1.5691789898838097e-05, + 0.00010294428336409718, + -8.124114986866982e-05, + 0.0004598460441930117, + -0.0005294550179009644, + 0.00010423813116933328, + -0.00014929186234951362, + 0.00024339887309708793, + 5.4696067194514085e-05, + -2.9908234654662414e-06, + -0.0003425060070478674, + 0.000342831953265025, + -0.0001512054440432414, + 0.00015792735012265077, + -0.00016029576544006978, + 0.00015706322875491902, + -0.00017603572236503108, + 3.5647897159932804e-05, + -4.047392613049727e-05, + 6.879673144250647e-05, + 5.910158146968959e-05, + 5.4551031437507294e-05, + -0.0001724812516005463, + -0.00012355079445947102, + 0.0003953022798007204, + -0.00021502608540247442, + -0.00016132753644529678, + 0.0002582120186972246, + -0.00023335913989617306, + 0.0001833705330318528, + 0.00015584211175689248, + -0.00016756425937165665, + -5.112377086871065e-05, + -0.00042269679343917793, + 0.0005261320475400375, + -0.00011011771614649034, + 0.00023211807114018322, + -0.0003712989795663584, + 0.00034672634190662053, + -0.00017513893162996076, + 6.504703568021241e-05, + -0.0004127605847187742, + 0.0005530464965241547, + -0.0002280832637495763, + 7.371106846522769e-07, + -2.2115056605595226e-05, + -7.584664422215912e-05, + -0.00017343599866170433, + 0.0005448171555299721, + -0.00016516423892828542, + -0.0002949644912628512, + 0.0003484425386854553, + -6.858378298420932e-05, + -0.000269486807275049, + 0.0003154835979728033, + 3.9629708735403545e-05, + -0.0001964700146218309, + -0.00013515936500429208, + 0.00015739487875231065, + 0.0001734861857128952, + -0.0004376110168742007, + 0.0004349021436523639, + -0.00029650215320395194, + 0.00015291556161134708, + 0.0003659855885965866, + -0.0004957460208845545, + 4.317490162114773e-06, + 6.79447566911239e-05, + -5.79662959422466e-05, + 0.00020035504128557496, + -0.00023381607950520263, + 0.00022060426585519325, + 0.0, + 6.674207148851935e-05, + 0.0015622610525496594, + -0.04727447039001282, + -0.023944827893405324, + -0.00016742762181732768 + ], + "storage": [ + 2508795492427.91, + 2502132271054.337, + 2495088071012.9834, + 2487644250417.0254, + 2479781647358.158, + 2471480617484.477, + 2462721080011.6836, + 2453482572951.8784, + 2443744318344.042, + 2433485298259.7715, + 2422684342328.5684, + 2411320227474.1226, + 2399371790481.393, + 2386818053908.2354, + 2373638365723.9985, + 2359812552886.5547, + 2345321088864.6475, + 2330145274864.9497, + 2314267434235.9414, + 2297671119190.304, + 2280341328618.5024, + 2262264735354.5684, + 2243429920816.7803, + 2223827614476.2695, + 2203450935124.5903, + 2182295630427.0796, + 2160360310778.2175, + 2137646673036.1616, + 2114159709333.823, + 2089907895857.6125, + 2064903356286.8762, + 2039161994517.6284, + 2012703591376.0806, + 1985551860288.5825, + 1957734457327.6853, + 1929282941707.0852, + 1900232683665.3137, + 1870622717738.812, + 1840495540673.5, + 1809896854625.3677, + 1778875257817.0825, + 1747481886398.1157, + 1715770012837.2976, + 1683794607696.2822, + 1651611873009.3113, + 1619278756665.8804, + 1586852458078.7202, + 1554389935967.8032, + 1521947429248.6792, + 1489580001751.9238, + 1457341120813.9753, + 1425282278676.7966, + 1393452664160.379, + 1361898890283.137, + 1330664781485.4314, + 1299791221956.3054, + 1269316064377.1008, + 1239274096289.0037, + 1209697059368.3508, + 1180613715247.799, + 1152049950232.9612, + 1124028910389.1758, + 1096571158043.01, + 1069694840765.6128, + 1043415864356.9716, + 1017748062188.3344, + 992703354414.7102, + 968291891958.9772, + 944522181699.9255, + 921401190869.4092, + 898934430186.2505, + 877126016640.5797, + 855978718021.9065, + 835493982206.2745, + 815671954851.6606, + 796511489488.4354, + 778010154044.7728, + 760164237645.2051, + 742968761108.7297, + 726417494000.9707, + 710502980423.1117, + 695216574999.5714, + 680548489810.9315, + 666487852347.9366, + 653022773970.6892, + 640140427865.0049, + 627827135108.8059, + 616068457196.7516, + 604849293218.3251, + 594153979831.7451, + 583966392211.8016, + 574270044254.7533, + 565048186484.5703, + 556283900302.7354, + 547960187444.40045, + 540060053733.33765, + 532566586455.71106, + 525463024888.1417, + 518732823714.5095, + 512359709241.336, + 506327728473.3112, + 500621291236.14105, + 495225205634.686, + 490124707211.33594, + 485305482224.9853, + 480753685507.2709, + 476455953372.4485, + 472399412063.3581, + 468571682210.5438, + 464960879767.92896, + 461555613867.05786, + 458344982007.28204, + 455318562969.80225, + 452466407813.45026, + 449779029278.72455, + 447247389895.2278, + 444862889057.4628, + 442617349304.79724, + 440503002013.57214, + 438512472683.95294, + 436638765980.0873, + 434875250660.3518, + 433215644514.86975, + 431653999409.3405, + 430184686518.4266, + 428802381817.5701, + 427502051889.7363, + 20297125359482.18, + 20244469618390.41, + 20188709200161.766, + 20129680239697.152, + 20067212674538.32, + 20001130337370.668, + 19931251103473.22, + 19857387100285.07, + 19779344986719.867, + 19696926310299.984, + 19609927950584.918, + 19518142657651.484, + 19421359694635.99, + 19319365593429.367, + 19211945032547.28, + 19098881845974.695, + 18979960171287.375, + 18854965744639.727, + 18723687349146.703, + 18585918421803.0, + 18441458822309.637, + 18290116764950.316, + 18131710912002.016, + 17966072623987.246, + 17793048358426.17, + 17612502204537.082, + 17424318536701.117, + 17228404764372.404, + 17024694150594.523, + 16813148665522.744, + 16593761835363.135, + 16366561541194.47, + 16131612716407.14, + 15889019886149.756, + 15638929487615.459, + 15381531906382.36, + 15117063161751.295, + 14845806173388.207, + 14568091542841.125, + 14284297787001.008, + 13994850966451.133, + 13700223660110.072, + 13400933248605.33, + 13097539482350.39, + 12790641326175.713, + 12480873090119.8, + 12168899875248.295, + 11855412383364.883, + 11541121159561.312, + 11226750355811.943, + 10913031121376.459, + 10600694740799.457, + 10290465651885.98, + 9983054483577.45, + 9679151256549.34, + 9379418887374.469, + 9084487130068.977, + 8794947077110.958, + 8511346325902.145, + 8234184896962.722, + 7963911967697.011, + 7700923461443.248, + 7445560506760.423, + 7198108757664.496, + 6958798542776.599, + 6727805791016.837, + 6505253664270.309, + 6291214813879.679, + 6085714168141.468, + 5888732152278.351, + 5700208240457.001, + 5520044741010.24, + 5348110720633.801, + 5184245980413.553, + 5028265005508.481, + 4879960820562.554, + 4739108693851.535, + 4605469644306.713, + 4478793716414.97, + 4358822998244.55, + 4245294367198.1094, + 4137941956382.874, + 4036499341608.397, + 3940701454924.432, + 3850286235345.485, + 3764996031018.2983, + 3684578769676.7734, + 3608788915926.284, + 3537388234802.916, + 3470146381329.766, + 3406841335532.3105, + 3347259701712.1157, + 3291196889817.2993, + 3238457195570.233, + 3188853794706.318, + 3142208665298.8633, + 3098352450750.307, + 3057124274657.853, + 3018371517438.603, + 2981949563357.317, + 2947721525434.73, + 2915557954657.6357, + 2885336538941.4585, + 2856941796437.576, + 2830264767005.1333, + 2805202704990.731, + 2781658775869.9355, + 2759541758790.369, + 2738765756615.1206, + 2719249914690.1455, + 2700918149239.695, + 2683698886025.5527, + 2667524809682.406, + 2652332623959.2227, + 2638062822940.891, + 2624659473206.93, + 2612070006784.056, + 2600245024671.8496, + 2589138110665.3364, + 2578705655148.718, + 2568906688508.2017, + 2559702723784.234, + 2551057608176.126, + 2542937382999.0854, + 2535310151697.505, + 2528145955518.0664, + 2521416656455.0938, + 2521365452854.6724, + 2528029464992.0615, + 2535111975019.8696, + 2542638474339.329, + 2550635900260.438, + 2559132703335.736, + 2568158915721.324, + 2577746220225.2607, + 2587928019642.1396, + 2598739505893.574, + 2610217728420.0234, + 2622401661171.978, + 2635332267456.1826, + 2649052561785.6865, + 2663607667763.776, + 2679044870916.9663, + 2695413665260.2583, + 2712765792246.783, + 2731155270623.2183, + 2750638415574.6196, + 2771273845419.741, + 2793122473994.825, + 2816247486765.3955, + 2840714298624.2153, + 2866590491283.238, + 2893945728161.333, + 2922851644708.146, + 2953381712209.428, + 2985611073292.5825, + 3019616347612.0713, + 3055475406550.587, + 3093267116227.2466, + 3133071048678.4907, + 3174967161763.4873, + 3219035449137.0845, + 3265355562543.6304, + 3314006409668.4097, + 3365065731833.789, + 3418609666900.7246, + 3474712303779.803, + 3533445235913.333, + 3594877121879.055, + 3659073261824.0903, + 3726095198645.178, + 3796000352642.531, + 3868841697677.6064, + 3944667485627.866, + 4023521024100.6772, + 4105440509961.792, + 4190458918301.5215, + 4278603943079.0913, + 4369897982035.7964, + 4464358154714.734, + 4561996338836.898, + 4662819207101.538, + 4766828244016.925, + 4874019720858.279, + 4984384606580.897, + 5097908393625.124, + 5214570820175.456, + 5334345474584.496, + 5457199273234.36, + 5583091809910.364, + 5711974582464.656, + 5843790110802.272, + 5978470968521.244, + 6115938758451.289, + 6256103069316.288, + 6398860456352.776, + 6544093492566.625, + 6691669939065.85, + 6841442082393.973, + 6993246283944.92, + 7146902781433.271, + 7302215775217.786, + 7458973823389.967, + 7616950559314.311, + 7775905734274.77, + 7935586576576.724, + 8095729447366.282, + 8256061763132.02, + 8416304145771.825, + 8576172753613.789, + 8735381741207.203, + 8893645792183.78, + 9050682668157.893, + 9206215717396.744, + 9359976289781.795, + 9511706009125.404, + 9661158859902.27, + 9808103052614.465, + 9952322639867.34, + 10093618863469.598, + 10231811221115.44, + 10366738249092.318, + 10498258024763.037, + 10626248399044.646, + 10750606974598.326, + 10871250849917.64, + 10988116152826.885, + 11101157389226.951, + 11210346634207.121, + 11315672593028.496, + 11417139559110.717, + 11514766295068.299, + 11608584861289.787, + 11698639414570.934, + 11784984997058.416, + 11867686333367.658, + 11946816651259.99, + 12022456538805.771, + 12094692848595.365, + 12163617657309.95, + 12229327286909.123, + 12291921391794.656, + 12351502114667.652, + 12408173312318.314, + 12462039851360.623, + 12513206972872.523, + 12561779724050.39, + 12607862454312.408, + 12651558372764.246, + 12692969163566.201, + 12732194655465.229, + 12769332541634.377, + 12804478145874.967, + 12837724231254.432, + 270541382080.53375, + 271388730456.63242, + 272290840735.2716, + 273251256029.27222, + 274273748718.02496, + 275362335186.9145, + 276521291482.3123, + 277755169931.24475, + 279068816775.284, + 280467390869.021, + 281956383492.8288, + 283541639329.45844, + 285229378651.5191, + 287026220764.69476, + 288939208747.43164, + 290975835521.9664, + 293144071284.59436, + 295452392312.91486, + 297909811155.8858, + 300525908197.01447, + 303310864561.8624, + 306275496317.97986, + 309431289887.136, + 312790438556.1141, + 316365879931.7809, + 320171334139.45966, + 324221342507.39905, + 328531306415.9202, + 333117525915.639, + 337997237633.2419, + 343188651387.2562, + 348710984826.8271, + 354584495285.48596, + 360830507907.91925, + 367471438961.6259, + 374530813088.64264, + 382033273086.2515, + 390004580632.2218, + 398471606195.258, + 407462306197.0374, + 417005685328.17456, + 427131741771.95905, + 437871392968.3549, + 449256379468.06604, + 461319144393.1074, + 474092686055.2244, + 487610381397.5324, + 501905778138.30255, + 517012353821.58295, + 532963240434.40643, + 549790913845.6945, + 567526848065.6387, + 586201135221.0388, + 605842073185.0853, + 626475723978.5916, + 648125447349.3561, + 670811415304.8951, + 694550114773.7134, + 719353846949.7013, + 745230233162.6259, + 772181738247.9397, + 800205223280.8496, + 829291540121.3191, + 859425180415.4382, + 890583991459.9921, + 922738970618.0963, + 955854148755.9636, + 989886571461.182, + 1024786384636.3827, + 1060497028502.3174, + 1096955541180.6848, + 1134092969972.747, + 1171834885333.9758, + 1210101989505.6484, + 1248810808939.6492, + 1287874457169.2512, + 1327203452757.2126, + 1366706575466.5754, + 1406291742922.8691, + 1445866889781.1868, + 1485340831780.7573, + 1524624098017.1924, + 1563629716222.742, + 1602273937737.7136, + 1640476891064.8325, + 1678163155326.8975, + 1715262247472.731, + 1751709019597.855, + 1787443965168.8232, + 1822413435180.0835, + 1856569767265.3374, + 1889871332495.5208, + 1922282505982.4082, + 1953773568471.0112, + 1984320546846.1077, + 2013905001916.4514, + 2042513772001.9192, + 2070138680765.7896, + 2096776217451.244, + 2122427197223.469, + 2147096408745.5947, + 2170792255443.4968, + 2193526396194.8894, + 2215313390424.4453, + 2236170351838.9614, + 2256116614306.8643, + 2275173412691.352, + 2293363580802.818, + 2310711268050.1616, + 2327241675840.8926, + 2342980814321.7275, + 2357955279650.308, + 2372192051654.256, + 2385718311451.816, + 2398561278389.723, + 2410748065472.5327, + 2422305552330.3394, + 2433260274678.476, + 2443638329161.318, + 2453465292444.5864, + 2462766153409.378, + 2471565257317.842, + 2479886260842.028, + 2487752096893.6997, + 2495184948235.524, + 2502206228914.723, + 2508836572614.6406, + 39544478929.302666, + 6.002381417269704e+21, + 6.012619122643051e+21, + 6.023490929806676e+21, + 6.035034331370922e+21, + 6.047288799548243e+21, + 6.060295857951609e+21, + 6.07409915097991e+21, + 6.088744509755254e+21, + 6.104280013402405e+21, + 6.120756044263142e+21, + 6.138225335415787e+21, + 6.156743008621096e+21, + 6.176366600539194e+21, + 6.197156074758213e+21, + 6.219173816845588e+21, + 6.242484609281072e+21, + 6.267155582763763e+21, + 6.29325614001465e+21, + 6.320857847838071e+21, + 6.35003429288332e+21, + 6.380860896292753e+21, + 6.413414682275907e+21, + 6.447773995660487e+21, + 6.484018163700314e+21, + 6.522227097934195e+21, + 6.562480832757877e+21, + 6.604858998658714e+21, + 6.649440229819956e+21, + 6.696301508048925e+21, + 6.745517447696065e+21, + 6.797159529321337e+21, + 6.851295293164586e+21, + 6.907987506737014e+21, + 6.96729332374479e+21, + 7.029263453706972e+21, + 7.093941362663292e+21, + 7.161362524981377e+21, + 7.231553744323371e+21, + 7.304532558409142e+21, + 7.380306737687496e+21, + 7.45887388303489e+21, + 7.540221122954411e+21, + 7.624324907267741e+21, + 7.711150892599413e+21, + 7.800653915268006e+21, + 7.892778049230208e+21, + 7.987456749687736e+21, + 8.084613085766067e+21, + 8.184160067188038e+21, + 8.286001069268551e+21, + 8.390030357553848e+21, + 8.496133708332629e+21, + 8.604189114875352e+21, + 8.714067562703845e+21, + 8.825633851545358e+21, + 8.938747437741996e+21, + 9.053263269273148e+21, + 9.169032586340728e+21, + 9.285903663495998e+21, + 9.403722474175276e+21, + 9.522333264764624e+21, + 9.64157903238296e+21, + 9.76130190789838e+21, + 9.881343452724221e+21, + 1.0001544884159949e+22, + 1.0121747248981131e+22, + 1.0241791568260297e+22, + 1.0361518977758114e+22, + 1.0480770887572458e+22, + 1.0599389182194082e+22, + 1.0717216478054798e+22, + 1.083409645066381e+22, + 1.094987423827319e+22, + 1.1064396924485961e+22, + 1.1177514098937119e+22, + 1.1289078493367413e+22, + 1.139894668976508e+22, + 1.1506979896939722e+22, + 1.161304479077631e+22, + 1.1717014410435467e+22, + 1.1818769097376978e+22, + 1.1918197456574066e+22, + 1.2015197310821127e+22, + 1.2109676611392548e+22, + 1.2201554263377787e+22, + 1.229076082326281e+22, + 1.2377239030376895e+22, + 1.2460944142321798e+22, + 1.2541844056246678e+22, + 1.26199192111213e+22, + 1.269516227919605e+22, + 1.2767577666095937e+22, + 1.2837180847453769e+22, + 1.2903997575196549e+22, + 1.296806298862752e+22, + 1.3029420664740376e+22, + 1.30881216394213e+22, + 1.314422342705763e+22, + 1.3197789061246051e+22, + 1.3248886174323657e+22, + 1.3297586128730192e+22, + 1.3343963209002081e+22, + 1.3388093879627758e+22, + 1.3430056111094628e+22, + 1.346992877420068e+22, + 1.3507791101021089e+22, + 1.3543722209725158e+22, + 1.357780068964261e+22, + 1.3610104242494855e+22, + 1.3640709375462973e+22, + 1.3669691141696002e+22, + 1.3697122923921422e+22, + 1.3723076256964368e+22, + 1.3747620685183359e+22, + 1.3770823651066085e+22, + 1.3792750411482818e+22, + 1.381346397835582e+22, + 1.3833025080762976e+22, + 1.3851492145747104e+22, + 1.3868921295346006e+22, + 1.3885366357589311e+22, + 1.3900878889426235e+22, + 1.3915508209752163e+22, + 1.3929301440891653e+22, + 1.3942303557071007e+22, + 1.3954557438575631e+22, + 1.3966103930436034e+22, + 1.3976981904622344e+22 + ], + "storage_scale": [ + 69573135817.24855, + 82917922577.8776, + 73352855029.43059, + 64901713670.55576, + 57434213755.253456, + 50835342717.85425, + 45003567868.343124, + 39849254554.74441, + 35293270070.171936, + 31265751486.6949, + 27705018161.353924, + 24556611921.70925, + 21772449934.578632, + 19310077023.358437, + 17132005754.064734, + 15205133982.339897, + 13500230764.505405, + 11991482604.393446, + 10656092950.741007, + 9473928692.20578, + 8427208131.552572, + 7500225568.764766, + 6679108194.877794, + 5951601503.185124, + 5306879869.990589, + 4735379350.287482, + 4228650080.7363515, + 3779225988.5598187, + 3380509775.2327995, + 3026671382.3618827, + 2712558357.645151, + 2433616724.5757933, + 2185821123.502042, + 1965613136.3513296, + 1769846835.026738, + 1595740706.189237, + 1440835204.6086695, + 1302955275.0624537, + 1180177260.2470808, + 1070799680.5643829, + 973317432.0151709, + 886399001.7227457, + 808866347.6503823, + 739677130.6028569, + 677909023.2617321, + 622745853.367174, + 573465366.7307549, + 529428420.98850846, + 490069443.27402383, + 454888004.6549363, + 423441381.5382401, + 395337989.58227885, + 370231589.1933518, + 347816173.64578885, + 327821461.4309369, + 310008923.7797476, + 294168286.5600724, + 280114453.05408573, + 267684800.58740902, + 256736809.7118137, + 247145989.72809687, + 238804068.85987225, + 231617421.3904308, + 225505707.72291365, + 220400706.49975497, + 216245320.8311158, + 212992743.32448688, + 210605766.98847768, + 209056231.28305113, + 208324594.62290812, + 208399626.54441506, + 209278214.54872882, + 210965282.3623963, + 213473818.03770328, + 216825011.97392735, + 221048506.60252205, + 226182761.1689047, + 232275536.786635, + 239384508.76263875, + 247578015.12249875, + 256935952.33244726, + 267550831.45113176, + 279529010.3845827, + 292992120.5994664, + 308078709.6143992, + 324946123.883726, + 343772660.362266, + 364760019.1520999, + 388136094.2454668, + 414158144.56509703, + 443116393.3428674, + 475338110.4636653, + 511192239.83240837, + 551094642.2186896, + 595514033.5218337, + 644978709.131017, + 700084157.1958119, + 761501677.3614969, + 829988137.0771245, + 906397015.1927258, + 991690902.5016165, + 1086955651.4653416, + 1193416392.9358175, + 1312455666.6576366, + 1445633945.1517186, + 1594712867.7550988, + 1761681543.7041402, + 1948786330.8635757, + 2158564550.7510796, + 2393882661.751058, + 2657979481.793975, + 2954515130.3822293, + 3287626448.9182944, + 3661989759.197243, + 4082891934.267644, + 4556310885.415807, + 5089006715.806477, + 5688624957.650501, + 6363813498.18986, + 7124355013.346686, + 7981316969.802, + 8947221530.417236, + 10036238008.525684, + 11264400868.623013, + 12649856669.698153, + 14213143799.478134, + 13524921781.760197, + 642409180281.5154, + 670872952598.8707, + 593518657474.8922, + 525168085695.154, + 464768465539.03705, + 411390414873.7482, + 364213461563.4083, + 322513264122.29425, + 285650332896.6569, + 253060075525.38562, + 224244011133.89288, + 198762015989.58243, + 176225479473.61716, + 156291263455.55832, + 138656370716.2725, + 123053239149.54622, + 109245588253.78265, + 97024753058.01373, + 86206448245.04318, + 76627911957.38968, + 68145384705.52777, + 60631884034.097015, + 53975240223.094055, + 48076362379.26654, + 42847707872.24336, + 38211931246.283394, + 34100691541.767, + 30453599434.56845, + 27217287784.759274, + 24344591112.96551, + 21793821223.27428, + 19528127692.34608, + 17514933268.926228, + 15725435396.910727, + 14134166106.744791, + 12718603430.45622, + 11458828299.19489, + 10337221591.338873, + 9338196625.166338, + 8447962942.535866, + 7654317717.574875, + 6946461554.738973, + 6314835820.424053, + 5750978987.573232, + 5247399768.6470995, + 4797465073.524655, + 4395301059.499938, + 4035705744.0780263, + 3714071830.985545, + 3426318558.470958, + 3168831519.066319, + 2938409523.705382, + 2732217692.359258, + 2547746049.8852777, + 2382772991.074173, + 2235333054.266545, + 2103688509.5655801, + 1986304326.6271877, + 1881826139.199875, + 1789060869.8016732, + 1706959718.9099536, + 1634603259.4068205, + 1571188409.3688436, + 1516017085.0887477, + 1468486361.9399266, + 1428079993.728009, + 1394361161.8851223, + 1366966344.572067, + 1345600212.7519531, + 1330031475.8538551, + 1320089613.9987574, + 1315662447.131877, + 1316694504.0153055, + 1323186166.0620306, + 1335193572.6413724, + 1352829285.925514, + 1376263724.7597406, + 1405727388.6024785, + 1441513904.4700167, + 1483983942.2282753, + 1533570056.678094, + 1590782528.8986785, + 1656216294.454247, + 1730559062.5660522, + 1814600748.468237, + 1909244361.17291, + 2015518511.08927, + 2134591726.7016141, + 2267788797.2212396, + 2416609389.1900353, + 2582749219.935577, + 2768124110.091078, + 2974897281.706739, + 3205510318.4991918, + 3462718261.2719, + 3749629375.383937, + 4069750199.343509, + 4427036565.276877, + 4825951374.445603, + 5271530015.609261, + 5769454432.474327, + 6326136980.587574, + 6948815365.928558, + 7645660129.477761, + 8425896336.894109, + 9299941353.181362, + 10279560832.212831, + 11378045334.321314, + 12610410306.009678, + 13993622519.437326, + 15546856481.292234, + 17291784787.253124, + 19252906927.11978, + 21457921644.76169, + 23938148635.74427, + 26729006134.79813, + 29870551816.49307, + 33408095420.11946, + 37392892628.35239, + 41882930997.08794, + 46943820170.096504, + 52649800239.78916, + 59084883959.2813, + 66344150600.88464, + 74535211623.28694, + 83779870993.16856, + 69985683357.5496, + 69983028699.3905, + 83775074640.59593, + 74528497836.49744, + 66335509989.41337, + 59074317223.38993, + 52637316081.01427, + 46929433476.09883, + 41866661264.662994, + 37374762592.985916, + 33388129863.99425, + 29848776530.331062, + 26705447011.70515, + 23912830877.78991, + 21430869065.18849, + 19224141333.049522, + 17261325429.33613, + 15514719558.273483, + 13959820726.741238, + 12574952418.600359, + 11340935814.900824, + 10240799456.581303, + 9259522845.211891, + 8383810006.001092, + 7601889503.846811, + 6903337815.0210905, + 6278923320.553704, + 5720468508.180708, + 5220728252.895556, + 4773282296.082293, + 4372440263.828444, + 4013157759.7763314, + 3690962239.785873, + 3401887527.463305, + 3142415963.6055384, + 2909427300.930435, + 2700153559.9381065, + 2512139154.022359, + 2343205673.4554014, + 2191420789.8767443, + 2055070806.5551538, + 1932636435.9438322, + 1822771435.8050537, + 1724283779.199232, + 1636119072.619247, + 1557345971.0968833, + 1487143369.7645233, + 1424789178.5934503, + 1369650511.2776155, + 1321175140.868468, + 1278884094.124587, + 1242365273.9265254, + 1211268014.7860897, + 1185298490.6982706, + 1164215907.5568452, + 1147829424.2876227, + 1135995757.9201827, + 1128617438.1995883, + 1125641687.182027, + 1127059908.7191038, + 1132907781.954582, + 1143265962.0764236, + 1158261400.722578, + 1178069307.7726712, + 1202915785.9093962, + 1233081179.4524615, + 1268904189.7112749, + 1310786820.6337938, + 1359200231.0310197, + 1414691583.323439, + 1477891993.802376, + 1549525706.0648494, + 1630420627.825161, + 1721520392.029542, + 1823898126.4232516, + 1938772141.818541, + 2067523778.695001, + 2211717684.898932, + 2373124834.6221914, + 2553748641.117469, + 2755854563.4192624, + 2982003661.428648, + 3235090614.9389644, + 3518386791.472106, + 3835589026.249969, + 4190874866.4462976, + 4588965132.445611, + 5035194762.72405, + 5535593037.94861, + 6096974425.950568, + 6727041454.6781845, + 7434501207.608354, + 8229197248.364911, + 9122259021.724726, + 10126271050.60325, + 11255464557.184032, + 12525934485.985817, + 13955885302.767649, + 15565909391.955788, + 17379302383.770073, + 19422420318.375813, + 21725084207.16587, + 24321038290.959946, + 27248469133.01326, + 30550593634.329426, + 34276325134.86474, + 38481027983.42242, + 43227372340.510124, + 48586302544.05462, + 54638134141.39673, + 61473796701.156525, + 69196241795.90259, + 77922038127.18362, + 87783178688.74295, + 98929128177.06445, + 111529142613.11023, + 125774897393.2174, + 141883464807.96286, + 160100687530.54654, + 180705000765.16144, + 204011762760.6158, + 230378161340.91418, + 260208773110.64673, + 293961862196.92346, + 332156516953.7811, + 375380736154.65906, + 424300591049.3683, + 406296467563.6391, + 8558838514.316264, + 8995410593.62853, + 8006838322.953468, + 7130714886.259569, + 6354054160.999935, + 5665382324.639747, + 5054560989.222997, + 4512631068.378809, + 4031674943.7024035, + 3604694783.1892076, + 3225505116.533578, + 2888637994.640029, + 2589259257.0847034, + 2323094604.6076093, + 2086364326.658558, + 1875725669.055423, + 1688221945.9374528, + 1521237605.368541, + 1372458550.7499356, + 1239837102.112193, + 1121561053.650701, + 1016026347.6755455, + 921812941.4632889, + 837663493.2004447, + 762464537.0849464, + 695229856.3716506, + 635085797.3306607, + 581258297.2582227, + 533061426.3130795, + 489887266.4635063, + 451196971.5860101, + 416512871.0839466, + 385411495.5750827, + 357517417.4879349, + 332497812.0264017, + 310057655.1123311, + 289935484.76624674, + 271899661.0932183, + 255745067.7393644, + 241290204.4946142, + 228374626.74437064, + 216856692.81273332, + 206611584.97366986, + 197529574.1092051, + 189514501.73085454, + 182482456.40849853, + 176360624.62455767, + 171086298.73333886, + 166606027.09996197, + 162874893.65605065, + 159855916.0740415, + 157519553.55984277, + 155843316.9209755, + 154811475.11175898, + 154414853.91057107, + 154650723.77091473, + 155522775.2342291, + 157041181.57191184, + 159222749.71584162, + 162091161.7657262, + 165677310.77825806, + 170019735.95183456, + 175165163.81284705, + 181169163.61089906, + 188096926.85699508, + 196024182.82015032, + 205038263.86239222, + 215239336.7729684, + 226741818.79457912, + 239675999.8576171, + 254189895.6965546, + 270451360.06462884, + 288650488.2454519, + 309002348.5427129, + 331750083.4843277, + 357168428.1817758, + 385567699.7291507, + 417298318.80928665, + 452755932.90967286, + 492387219.86816597, + 536696461.01098037, + 586252985.0791886, + 641699597.6511068, + 703762126.0649754, + 773260227.171929, + 851119624.8696746, + 938385966.5930167, + 1036240513.1094842, + 1146017904.4903328, + 1269226277.4307156, + 1407570045.6956277, + 1562975696.9360042, + 1737621006.095889, + 1933968118.8647459, + 2154801018.9346533, + 2403267961.1530743, + 2682929530.083199, + 2997813071.210233, + 3352474341.4197907, + 3752067338.0047674, + 4202423393.056893, + 4710140764.697174, + 5282686120.42652, + 5928509493.52302, + 6657174503.745832, + 7479505871.977172, + 8407756528.446239, + 9455796920.262888, + 10639329470.670137, + 11976131535.357468, + 13486330646.405848, + 15192716338.820192, + 17121093426.29897, + 19300682240.60154, + 21764572082.70348, + 24550234965.744854, + 27700107671.93361, + 31262251213.542454, + 35291097997.921936, + 39848298367.66245, + 45003679740.379074, + 50836333333.26798, + 57435845451.93589, + 64903692583.77821, + 73354822096.94615, + 82919443248.62888, + 69573933232.81439, + 0.40867148510430473, + 238235091794.24014, + 249239309198.1115, + 248243024339.6348, + 227578573274.1643, + 209292832455.15656, + 193111834475.2514, + 178793616728.10257, + 166124479636.1211, + 154915683633.55112, + 145000533387.49524, + 136231803785.79405, + 128479467555.82169, + 121628689086.25258, + 115578053178.20279, + 110238001117.92758, + 105529449697.90578, + 101382571667.25177, + 97735718610.85364, + 94534469479.12558, + 91730789951.7009, + 89282289549.87004, + 87151564941.70782, + 85305619234.94969, + 83715348247.61192, + 82355085804.30643, + 81202201044.39107, + 80236741561.61252, + 79441116936.91638, + 78799817888.07951, + 78299166851.21979, + 77927096337.74655, + 77672951881.7786, + 77527316811.53557, + 77481856446.28465, + 77529179639.662, + 77662715861.75793, + 77876606237.94597, + 78165607145.18077, + 78525005111.6821, + 78950541881.37715, + 79438348600.09718, + 79984888167.11838, + 80586904882.97128, + 81241380619.05449, + 81945496838.0282, + 82696601902.09299, + 83492183210.22525, + 84329843794.10934, + 85207283065.81483, + 86122281442.3813, + 87072688573.67699, + 88056414876.61276, + 89071426041.81488, + 90115740140.58165, + 91187426931.55678, + 92284608956.07812, + 93405464022.73543, + 94548228715.83234, + 95711202617.05397, + 96892753000.90102, + 98091319847.72496, + 99305421108.51726, + 100533658247.91113, + 101774722181.16937, + 103027399802.47978, + 104290581371.34288, + 105563269077.61128, + 106844587141.37067, + 108133793820.431, + 109430295696.85394, + 110733664598.20195, + 112043657485.12357, + 113360239612.68275, + 114683611257.76147, + 116014238307.3277, + 117352887027.64032, + 118700663382.6464, + 120059057335.06068, + 121429992635.42596, + 122815882671.17007, + 124219693001.11487, + 125645011240.51834, + 127096124996.57785, + 128578108601.67175, + 130096919472.72682, + 131659505059.57185, + 133276121305.52533, + 134956267335.98785, + 136708958756.96498, + 138546444563.76184, + 140482692639.64426, + 142533596529.6975, + 144717209242.47858, + 147054007930.59912, + 149567193799.00543, + 152283032146.87128, + 155231238075.98523, + 158445414105.33075, + 161963546730.86893, + 165828569874.45255, + 170089004191.8794, + 174799682374.08527, + 180022571896.68753, + 185827708173.05756, + 192294252768.2096, + 199511693263.48096, + 207581203554.20065, + 216617185850.17365, + 226749018470.43848, + 238123036722.8993, + 250904777787.71127, + 265281524635.48364, + 281465188673.19403, + 299695576094.5592, + 320244088899.0066, + 343417918330.1324, + 369564796173.8431, + 399078378070.0603, + 432404342867.56024, + 470047303238.22046, + 512578635447.30963, + 560645350541.576, + 614980145495.1294, + 676412791299.0543, + 745883035882.6619, + 824455223433.3214, + 913334858524.0061, + 425718267970.7058 + ] + }, + "solver_accepted": true, + "state": { + "capture_m2_s": [ + [ + -878742010.9472234, + -4017784.222634432, + -43631330373.894356, + -80698.10196649286 + ] + ], + "local_residual": [ + 0.0, + 2.588725296753645e-18, + 26.081669048226175, + -500.20218841532403, + -399.7546220033421, + -1.7715198529626055 + ], + "n_m3": [ + 2515095827087.2163, + 2508795492427.91, + 2502132271054.337, + 2495088071012.9834, + 2487644250417.0254, + 2479781647358.158, + 2471480617484.477, + 2462721080011.6836, + 2453482572951.8784, + 2443744318344.042, + 2433485298259.7715, + 2422684342328.5684, + 2411320227474.1226, + 2399371790481.393, + 2386818053908.2354, + 2373638365723.9985, + 2359812552886.5547, + 2345321088864.6475, + 2330145274864.9497, + 2314267434235.9414, + 2297671119190.304, + 2280341328618.5024, + 2262264735354.5684, + 2243429920816.7803, + 2223827614476.2695, + 2203450935124.5903, + 2182295630427.0796, + 2160360310778.2175, + 2137646673036.1616, + 2114159709333.823, + 2089907895857.6125, + 2064903356286.8762, + 2039161994517.6284, + 2012703591376.0806, + 1985551860288.5825, + 1957734457327.6853, + 1929282941707.0852, + 1900232683665.3137, + 1870622717738.812, + 1840495540673.5, + 1809896854625.3677, + 1778875257817.0825, + 1747481886398.1157, + 1715770012837.2976, + 1683794607696.2822, + 1651611873009.3113, + 1619278756665.8804, + 1586852458078.7202, + 1554389935967.8032, + 1521947429248.6792, + 1489580001751.9238, + 1457341120813.9753, + 1425282278676.7966, + 1393452664160.379, + 1361898890283.137, + 1330664781485.4314, + 1299791221956.3054, + 1269316064377.1008, + 1239274096289.0037, + 1209697059368.3508, + 1180613715247.799, + 1152049950232.9612, + 1124028910389.1758, + 1096571158043.01, + 1069694840765.6128, + 1043415864356.9716, + 1017748062188.3344, + 992703354414.7102, + 968291891958.9772, + 944522181699.9255, + 921401190869.4092, + 898934430186.2505, + 877126016640.5797, + 855978718021.9065, + 835493982206.2745, + 815671954851.6606, + 796511489488.4354, + 778010154044.7728, + 760164237645.2051, + 742968761108.7297, + 726417494000.9707, + 710502980423.1117, + 695216574999.5714, + 680548489810.9315, + 666487852347.9366, + 653022773970.6892, + 640140427865.0049, + 627827135108.8059, + 616068457196.7516, + 604849293218.3251, + 594153979831.7451, + 583966392211.8016, + 574270044254.7533, + 565048186484.5703, + 556283900302.7354, + 547960187444.40045, + 540060053733.33765, + 532566586455.71106, + 525463024888.1417, + 518732823714.5095, + 512359709241.336, + 506327728473.3112, + 500621291236.14105, + 495225205634.686, + 490124707211.33594, + 485305482224.9853, + 480753685507.2709, + 476455953372.4485, + 472399412063.3581, + 468571682210.5438, + 464960879767.92896, + 461555613867.05786, + 458344982007.28204, + 455318562969.80225, + 452466407813.45026, + 449779029278.72455, + 447247389895.2278, + 444862889057.4628, + 442617349304.79724, + 440503002013.57214, + 438512472683.95294, + 436638765980.0873, + 434875250660.3518, + 433215644514.86975, + 431653999409.3405, + 430184686518.4266, + 428802381817.5701, + 427502051889.7363, + 20297125359482.18, + 20244469618390.41, + 20188709200161.766, + 20129680239697.152, + 20067212674538.32, + 20001130337370.668, + 19931251103473.22, + 19857387100285.07, + 19779344986719.867, + 19696926310299.984, + 19609927950584.918, + 19518142657651.484, + 19421359694635.99, + 19319365593429.367, + 19211945032547.28, + 19098881845974.695, + 18979960171287.375, + 18854965744639.727, + 18723687349146.703, + 18585918421803.0, + 18441458822309.637, + 18290116764950.316, + 18131710912002.016, + 17966072623987.246, + 17793048358426.17, + 17612502204537.082, + 17424318536701.117, + 17228404764372.404, + 17024694150594.523, + 16813148665522.744, + 16593761835363.135, + 16366561541194.47, + 16131612716407.14, + 15889019886149.756, + 15638929487615.459, + 15381531906382.36, + 15117063161751.295, + 14845806173388.207, + 14568091542841.125, + 14284297787001.008, + 13994850966451.133, + 13700223660110.072, + 13400933248605.33, + 13097539482350.39, + 12790641326175.713, + 12480873090119.8, + 12168899875248.295, + 11855412383364.883, + 11541121159561.312, + 11226750355811.943, + 10913031121376.459, + 10600694740799.457, + 10290465651885.98, + 9983054483577.45, + 9679151256549.34, + 9379418887374.469, + 9084487130068.977, + 8794947077110.958, + 8511346325902.145, + 8234184896962.722, + 7963911967697.011, + 7700923461443.248, + 7445560506760.423, + 7198108757664.496, + 6958798542776.599, + 6727805791016.837, + 6505253664270.309, + 6291214813879.679, + 6085714168141.468, + 5888732152278.351, + 5700208240457.001, + 5520044741010.24, + 5348110720633.801, + 5184245980413.553, + 5028265005508.481, + 4879960820562.554, + 4739108693851.535, + 4605469644306.713, + 4478793716414.97, + 4358822998244.55, + 4245294367198.1094, + 4137941956382.874, + 4036499341608.397, + 3940701454924.432, + 3850286235345.485, + 3764996031018.2983, + 3684578769676.7734, + 3608788915926.284, + 3537388234802.916, + 3470146381329.766, + 3406841335532.3105, + 3347259701712.1157, + 3291196889817.2993, + 3238457195570.233, + 3188853794706.318, + 3142208665298.8633, + 3098352450750.307, + 3057124274657.853, + 3018371517438.603, + 2981949563357.317, + 2947721525434.73, + 2915557954657.6357, + 2885336538941.4585, + 2856941796437.576, + 2830264767005.1333, + 2805202704990.731, + 2781658775869.9355, + 2759541758790.369, + 2738765756615.1206, + 2719249914690.1455, + 2700918149239.695, + 2683698886025.5527, + 2667524809682.406, + 2652332623959.2227, + 2638062822940.891, + 2624659473206.93, + 2612070006784.056, + 2600245024671.8496, + 2589138110665.3364, + 2578705655148.718, + 2568906688508.2017, + 2559702723784.234, + 2551057608176.126, + 2542937382999.0854, + 2535310151697.505, + 2528145955518.0664, + 2521416656455.0938, + 2515095827087.2163 + ], + "occupancy": [ + 7.908895785860534e-05 + ], + "p_m3": [ + 2515095827087.2163, + 2521365452854.6724, + 2528029464992.0615, + 2535111975019.8696, + 2542638474339.329, + 2550635900260.438, + 2559132703335.736, + 2568158915721.324, + 2577746220225.2607, + 2587928019642.1396, + 2598739505893.574, + 2610217728420.0234, + 2622401661171.978, + 2635332267456.1826, + 2649052561785.6865, + 2663607667763.776, + 2679044870916.9663, + 2695413665260.2583, + 2712765792246.783, + 2731155270623.2183, + 2750638415574.6196, + 2771273845419.741, + 2793122473994.825, + 2816247486765.3955, + 2840714298624.2153, + 2866590491283.238, + 2893945728161.333, + 2922851644708.146, + 2953381712209.428, + 2985611073292.5825, + 3019616347612.0713, + 3055475406550.587, + 3093267116227.2466, + 3133071048678.4907, + 3174967161763.4873, + 3219035449137.0845, + 3265355562543.6304, + 3314006409668.4097, + 3365065731833.789, + 3418609666900.7246, + 3474712303779.803, + 3533445235913.333, + 3594877121879.055, + 3659073261824.0903, + 3726095198645.178, + 3796000352642.531, + 3868841697677.6064, + 3944667485627.866, + 4023521024100.6772, + 4105440509961.792, + 4190458918301.5215, + 4278603943079.0913, + 4369897982035.7964, + 4464358154714.734, + 4561996338836.898, + 4662819207101.538, + 4766828244016.925, + 4874019720858.279, + 4984384606580.897, + 5097908393625.124, + 5214570820175.456, + 5334345474584.496, + 5457199273234.36, + 5583091809910.364, + 5711974582464.656, + 5843790110802.272, + 5978470968521.244, + 6115938758451.289, + 6256103069316.288, + 6398860456352.776, + 6544093492566.625, + 6691669939065.85, + 6841442082393.973, + 6993246283944.92, + 7146902781433.271, + 7302215775217.786, + 7458973823389.967, + 7616950559314.311, + 7775905734274.77, + 7935586576576.724, + 8095729447366.282, + 8256061763132.02, + 8416304145771.825, + 8576172753613.789, + 8735381741207.203, + 8893645792183.78, + 9050682668157.893, + 9206215717396.744, + 9359976289781.795, + 9511706009125.404, + 9661158859902.27, + 9808103052614.465, + 9952322639867.34, + 10093618863469.598, + 10231811221115.44, + 10366738249092.318, + 10498258024763.037, + 10626248399044.646, + 10750606974598.326, + 10871250849917.64, + 10988116152826.885, + 11101157389226.951, + 11210346634207.121, + 11315672593028.496, + 11417139559110.717, + 11514766295068.299, + 11608584861289.787, + 11698639414570.934, + 11784984997058.416, + 11867686333367.658, + 11946816651259.99, + 12022456538805.771, + 12094692848595.365, + 12163617657309.95, + 12229327286909.123, + 12291921391794.656, + 12351502114667.652, + 12408173312318.314, + 12462039851360.623, + 12513206972872.523, + 12561779724050.39, + 12607862454312.408, + 12651558372764.246, + 12692969163566.201, + 12732194655465.229, + 12769332541634.377, + 12804478145874.967, + 12837724231254.432, + 270541382080.53375, + 271388730456.63242, + 272290840735.2716, + 273251256029.27222, + 274273748718.02496, + 275362335186.9145, + 276521291482.3123, + 277755169931.24475, + 279068816775.284, + 280467390869.021, + 281956383492.8288, + 283541639329.45844, + 285229378651.5191, + 287026220764.69476, + 288939208747.43164, + 290975835521.9664, + 293144071284.59436, + 295452392312.91486, + 297909811155.8858, + 300525908197.01447, + 303310864561.8624, + 306275496317.97986, + 309431289887.136, + 312790438556.1141, + 316365879931.7809, + 320171334139.45966, + 324221342507.39905, + 328531306415.9202, + 333117525915.639, + 337997237633.2419, + 343188651387.2562, + 348710984826.8271, + 354584495285.48596, + 360830507907.91925, + 367471438961.6259, + 374530813088.64264, + 382033273086.2515, + 390004580632.2218, + 398471606195.258, + 407462306197.0374, + 417005685328.17456, + 427131741771.95905, + 437871392968.3549, + 449256379468.06604, + 461319144393.1074, + 474092686055.2244, + 487610381397.5324, + 501905778138.30255, + 517012353821.58295, + 532963240434.40643, + 549790913845.6945, + 567526848065.6387, + 586201135221.0388, + 605842073185.0853, + 626475723978.5916, + 648125447349.3561, + 670811415304.8951, + 694550114773.7134, + 719353846949.7013, + 745230233162.6259, + 772181738247.9397, + 800205223280.8496, + 829291540121.3191, + 859425180415.4382, + 890583991459.9921, + 922738970618.0963, + 955854148755.9636, + 989886571461.182, + 1024786384636.3827, + 1060497028502.3174, + 1096955541180.6848, + 1134092969972.747, + 1171834885333.9758, + 1210101989505.6484, + 1248810808939.6492, + 1287874457169.2512, + 1327203452757.2126, + 1366706575466.5754, + 1406291742922.8691, + 1445866889781.1868, + 1485340831780.7573, + 1524624098017.1924, + 1563629716222.742, + 1602273937737.7136, + 1640476891064.8325, + 1678163155326.8975, + 1715262247472.731, + 1751709019597.855, + 1787443965168.8232, + 1822413435180.0835, + 1856569767265.3374, + 1889871332495.5208, + 1922282505982.4082, + 1953773568471.0112, + 1984320546846.1077, + 2013905001916.4514, + 2042513772001.9192, + 2070138680765.7896, + 2096776217451.244, + 2122427197223.469, + 2147096408745.5947, + 2170792255443.4968, + 2193526396194.8894, + 2215313390424.4453, + 2236170351838.9614, + 2256116614306.8643, + 2275173412691.352, + 2293363580802.818, + 2310711268050.1616, + 2327241675840.8926, + 2342980814321.7275, + 2357955279650.308, + 2372192051654.256, + 2385718311451.816, + 2398561278389.723, + 2410748065472.5327, + 2422305552330.3394, + 2433260274678.476, + 2443638329161.318, + 2453465292444.5864, + 2462766153409.378, + 2471565257317.842, + 2479886260842.028, + 2487752096893.6997, + 2495184948235.524, + 2502206228914.723, + 2508836572614.6406, + 2515095827087.2163 + ], + "phi_V": [ + 0.0, + -6.29512240069506e-05, + -0.00012969230926562146, + -0.0002004336413874064, + -0.0002753950215835266, + -0.0003548057940358284, + -0.000438904931293127, + -0.00052794107076992, + -0.0006221724948323855, + -0.0007218670463701068, + -0.000827301971184351, + -0.0009387636779915154, + -0.001056547406363685, + -0.0011809567925302052, + -0.0013123033226725472, + -0.0014509056631900885, + -0.0015970888574323781, + -0.0017511833786223682, + -0.0019135240291775638, + -0.0020844486774163826, + -0.002264296823762096, + -0.0024534079900728326, + -0.0026521199276784277, + -0.002860766642133973, + -0.0030796762356395837, + -0.00330916857154962, + -0.003549552769410485, + -0.003801124543514702, + -0.004064163403006004, + -0.004338929737054011, + -0.004625661814443343, + -0.004924572732960135, + -0.005235847360039204, + -0.005559639312048131, + -0.005896068025081852, + -0.006245215974937848, + -0.006607126107724502, + -0.006981799544988446, + -0.007369193627989749, + -0.007769220364473933, + -0.008181745337684584, + -0.008606587131180954, + -0.00904351731410371, + -0.0094922610198112, + -0.009952498136370327, + -0.010423865110477673, + -0.010905957347441033, + -0.011398332169496405, + -0.011900512273786506, + -0.012411989610765714, + -0.012932229584727234, + -0.013460675461739305, + -0.013996752857685129, + -0.014539874171386918, + -0.015089442825837867, + -0.015644857184978062, + -0.016205514024507393, + -0.01677081145281173, + -0.017340151201651274, + -0.017912940234865126, + -0.018488591655644215, + -0.01906652492725899, + -0.019646165456623607, + -0.020226943622763137, + -0.020808293361188782, + -0.02138965043862213, + -0.021970450568990968, + -0.02255012753011239, + -0.023128111440445562, + -0.023703827346735935, + -0.024276694256824254, + -0.024846124728394262, + -0.02541152509544042, + -0.025972296381519308, + -0.026527835914354255, + -0.027077539622078567, + -0.027620804959212774, + -0.02815703438203153, + -0.028685639269609833, + -0.029206044169470716, + -0.02971769123587978, + -0.030220044724515165, + -0.030712595409172073, + -0.03119486479370701, + -0.031666409004723124, + -0.032126822266522755, + -0.03257573987851386, + -0.033012840635455204, + -0.033437848651621374, + -0.033850534570220685, + -0.03425071615840583, + -0.03463825830533361, + -0.035013072455483914, + -0.03537511552154087, + -0.03572438833043371, + -0.03606093366264446, + -0.03638483394874974, + -0.036696208688607436, + -0.036995211657928, + -0.03728202796452802, + -0.03755687101270866, + -0.03781997942929024, + -0.03807161399919952, + -0.03831205465245022, + -0.038541597538141834, + -0.03876055221494509, + -0.03896923898161738, + -0.03916798636553321, + -0.03935712878211278, + -0.03953700437344911, + -0.039707953030399284, + -0.039870314598925365, + -0.04002442726853476, + -0.04017062613824972, + -0.040309241953597905, + -0.04044060000661523, + -0.040565019189744235, + -0.04068281119374688, + -0.040794279839283625, + -0.04089972053159584, + -0.0409994198277225, + -0.04109365510584761, + -0.04118269432667555, + -0.04126679587713656, + -0.041346208487207756, + -0.04142117121117193, + -0.04149191346520799, + -0.04155865511379599, + -0.04168465835363574, + -0.041751563014115325, + -0.04182260176594623, + -0.04189801795531659, + -0.04197806768404199, + -0.04206302027265064, + -0.042153158711605715, + -0.042248780095506096, + -0.042350196034399976, + -0.04245773303558156, + -0.04257173284841673, + -0.042692552763862884, + -0.042820565859412664, + -0.042956161179205934, + -0.0430997438380273, + -0.04325173503684623, + -0.043412571976477035, + -0.04358270765485389, + -0.04376261053235074, + -0.04395276404855476, + -0.044153665972954045, + -0.04436582757116206, + -0.04458977256761504, + -0.04482603588519158, + -0.04507516214197105, + -0.04533770388542851, + -0.04561421954482589, + -0.045905271083470714, + -0.046211421333951466, + -0.04653323100149665, + -0.0468712553233196, + -0.04722604037527458, + -0.047598119021427854, + -0.04798800650729282, + -0.048396195703529106, + -0.04882315201387958, + -0.04926930796900099, + -0.04973505753659243, + -0.050220750187752544, + -0.05072668476967237, + -0.051253103245414454, + -0.05180018437240639, + -0.05236803740209854, + -0.052956695893660886, + -0.053566111744228304, + -0.05419614954662038, + -0.05484658139219592, + -0.05551708224108724, + -0.056207225984028275, + -0.05691648231891674, + -0.05764421456076055, + -0.05838967849547131, + -0.05915202237591238, + -0.05993028814265809, + -0.06072341393220616, + -0.061530237912214535, + -0.062349503457192805, + -0.06317986564963335, + -0.06401989906163712, + -0.0648681067416309, + -0.06572293030083345, + -0.0665827609657994, + -0.0674459514377414, + -0.06831082837741567, + -0.06917570531705983, + -0.07003889578891168, + -0.07089872645372808, + -0.07175355001272263, + -0.07260175769245139, + -0.07344179110413478, + -0.0742721532962017, + -0.07509141884075546, + -0.07589824282029113, + -0.07669136860932123, + -0.07746963437550682, + -0.07823197825534894, + -0.07897744218942539, + -0.07970517443060307, + -0.0804144307647972, + -0.08110457450701944, + -0.08177507535517105, + -0.08242550719998963, + -0.08305554500161104, + -0.0836649608513975, + -0.08425361934217193, + -0.08482147237107238, + -0.08536855349727179, + -0.08589497197222341, + -0.08640090655335744, + -0.08688659920373887, + -0.0873523487705609, + -0.08779850472492425, + -0.08822546103452977, + -0.08863365023003586, + -0.08902353771518674, + -0.08939561636064328, + -0.08975040141191984, + -0.09008842573308358, + -0.09041023539998938, + -0.09071638564985111, + -0.09100743718789764, + -0.0912839528467177, + -0.09154649458961892, + -0.0917956208458632, + -0.0920318841629255, + -0.09225582915888504, + -0.09246799075662013, + -0.09266889268056669, + -0.09285904619633777, + -0.09303894907342103, + -0.09320908475140317, + -0.0933699216906576, + -0.09352191288911797, + -0.09366549554759805, + -0.09380109086706669, + -0.09392910396230789, + -0.09404992387746097, + -0.09416392369001793, + -0.09427146069093562, + -0.0943728766295793, + -0.09446849801324256, + -0.09455863645197311, + -0.0946435890403692, + -0.09472363876889348, + -0.09479905495807361, + -0.09487009370972467, + -0.09493699837003429, + -0.09499999999999964 + ], + "poisson_residual_C_m2": [ + -5.111073616724583e-21, + -1.7753250063122678e-20, + 3.247771727532457e-20, + 3.345111572948249e-21, + -5.565438972987076e-20, + 4.8124817354154455e-20, + -3.894873508360381e-20, + 5.615945158222387e-20, + -3.378652901044734e-20, + 1.758088699638178e-21, + 3.7461056266497227e-20, + -3.077327718019071e-20, + 3.427117229814497e-20, + -9.935315415984559e-20, + 1.0370433885855182e-19, + -7.26445621271343e-20, + 1.5248537543408174e-20, + 1.5654808009814594e-19, + -3.194186179441786e-19, + 1.4360358555941378e-19, + 1.5967931924830035e-19, + -2.3434554082814944e-19, + 2.669993102445216e-19, + -1.9020573550750377e-19, + 2.514486774099399e-21, + -2.2658676318002277e-20, + 1.2313651567926616e-19, + -9.409510406263605e-20, + -3.328213389330797e-20, + 7.835340453632275e-20, + 3.261405487831806e-20, + -1.199322161244301e-19, + 1.2659869587674305e-19, + -1.9222044976226935e-20, + -1.3362845160517476e-19, + 1.0084903542512494e-19, + 8.52374635489956e-20, + -1.2521541567584029e-19, + -1.7179689876325896e-20, + 6.173468492154836e-20, + 1.3456301075731645e-20, + -7.571044742986933e-20, + 1.8025911337909952e-19, + -2.6572796165322316e-19, + 1.7204699905526263e-19, + -5.337291372041126e-20, + 1.865900988489475e-19, + -2.4229485284514756e-19, + -1.1463870959327174e-19, + 3.150478418921527e-19, + -1.9116919617980087e-19, + 6.492239323995637e-20, + 1.1236194397340359e-19, + -4.986391372523881e-20, + -3.0369838903614093e-19, + 4.1061249105538697e-19, + -2.4036507801204885e-19, + -8.308075746099574e-20, + 4.207666112963508e-19, + -4.223446915659217e-19, + 3.2303214928727607e-19, + -5.609835116607329e-20, + -2.891645426780683e-19, + 1.8555476712743093e-19, + 1.0036945026793057e-19, + -2.5019892186954644e-19, + 1.088049524341616e-19, + -4.610480813806345e-21, + -8.022041078160552e-20, + 2.3316833035743165e-19, + 1.465321977892985e-20, + -2.4776346640225506e-19, + 2.1994299810914946e-19, + -1.0488001677390929e-19, + -3.031936223059369e-20, + 1.2959300534811105e-19, + -4.248881217083339e-19, + 5.750680541280446e-19, + -2.8381702646386143e-19, + 2.390556927630516e-20, + 7.858331725930191e-20, + 3.406562441681076e-20, + -4.994643247871641e-19, + 1.0771919890184353e-18, + -1.0040144685614465e-18, + 1.974433793259787e-19, + 4.0688747819620834e-19, + -7.556282168070809e-19, + 3.897510962693868e-19, + 3.1367684937169673e-19, + -1.9396497648955842e-19, + 1.9727178566403353e-19, + -6.344214568875259e-19, + 4.701124590711487e-20, + 8.447391218031173e-19, + -6.062807908428222e-19, + 5.774484677975522e-19, + -1.3188379236927805e-18, + 7.651465416263853e-19, + 1.0055639741100318e-18, + -7.61917094919043e-19, + -1.6365406124356927e-18, + 2.098106617980072e-18, + -1.42801323220382e-18, + 2.4724029724867712e-18, + -2.6432410893307945e-18, + 8.227325746066316e-19, + 1.3344482910893536e-18, + -2.3982552027791314e-18, + 3.2112826289874606e-18, + -3.8447543468588566e-18, + 1.9972921635514506e-18, + -4.173572234922555e-22, + 8.566599663435038e-19, + 1.0168093865691154e-18, + -4.264345926130573e-18, + 1.509458451474332e-18, + 2.7819624133782487e-18, + -4.671958687738408e-18, + 3.794232462420637e-18, + 1.1698667898310642e-18, + -6.859240452094722e-18, + 2.572840673554138e-18, + 9.184063300243229e-18, + -6.497968674571481e-18, + -7.293605568792753e-18, + 6.582571665020791e-18, + -1.7206944156967111e-18, + 2.757815021960331e-18, + -1.1742834179866248e-18, + 5.530856219316484e-18, + -6.651690859726523e-18, + 2.797039130544384e-18, + -4.911533148812496e-18, + 5.645344894504545e-18, + -2.6025911553995452e-18, + -1.1296766204754863e-18, + 2.503372119099298e-18, + -1.6110088726976217e-18, + -8.27885139106745e-19, + 4.005722578845193e-18, + -3.655708340807177e-18, + 6.594697478416707e-19, + -4.1250856227995247e-19, + 2.2540709026155258e-18, + -1.8285272572845112e-18, + 1.791702376128143e-19, + -7.761860733916025e-19, + 2.2813308845898895e-19, + 2.196606982422119e-18, + -2.4839206646548788e-18, + 2.1736718622464533e-18, + -1.2002139315268571e-18, + -2.860037867205495e-19, + -3.330182321983977e-21, + 1.9942692731081763e-18, + -2.7711928164317953e-18, + 1.4015808232372523e-19, + 1.843704930380685e-18, + -1.1646751331530293e-18, + 5.594335472304394e-19, + -2.35006181408337e-19, + -4.6070732786116626e-20, + 3.045935908941216e-19, + -1.0900432877490322e-18, + 8.072612319137783e-19, + 9.141828682114582e-19, + -1.6820310918219448e-18, + 1.2133084359250245e-18, + -1.1623584834925574e-18, + 1.2854764253481918e-18, + -6.40157572849777e-19, + 3.54022835989456e-20, + -3.3124676602373566e-19, + 6.206819397425204e-19, + 3.703555838079449e-20, + -8.466826993414761e-19, + 7.714928138547484e-19, + 1.1218072685054777e-19, + -5.106604701479241e-19, + 2.9372505374175805e-19, + -3.586463417573823e-19, + -4.7165327849342145e-20, + 3.0500387533002634e-19, + -2.3770631597968914e-19, + 1.331243882826963e-18, + -1.5194362279478075e-18, + 2.971140882696677e-19, + -4.234641684999312e-19, + 6.883792764213011e-19, + 1.545401322360809e-19, + -8.45862951978528e-21, + -9.715132439114441e-19, + 9.771875424222338e-19, + -4.339311589737556e-19, + 4.571961016883439e-19, + -4.690149749418759e-19, + 4.653477772307658e-19, + -5.291163475976214e-19, + 1.0890022594404665e-19, + -1.2589228340576287e-19, + 2.182684202235966e-19, + 1.9159176585849756e-19, + 1.8099833042414576e-19, + -5.867182693550582e-19, + -4.315726011603969e-19, + 1.4201829846308966e-18, + -7.957558636029585e-19, + -6.159117478319463e-19, + 1.0184400192177783e-18, + -9.522269143809618e-19, + 7.751560523049141e-19, + 6.833690722582325e-19, + -7.631490028597869e-19, + -2.421221494232592e-19, + -2.08415658999154e-18, + 2.7037839870393276e-18, + -5.904412096604862e-19, + 1.299923069899013e-18, + -2.1739505850354924e-18, + 2.124414862759937e-18, + -1.1239654548009488e-18, + 4.376118154026411e-19, + -2.9134481286519665e-18, + 4.098810521883668e-18, + -1.7762339204846113e-18, + 6.036118858370552e-21, + -1.9055668166249548e-19, + -6.881161211041848e-19, + -1.6577462488262233e-18, + 5.489512944077968e-18, + -1.7552589354965188e-18, + -3.3079779157764227e-18, + 4.125774336359442e-18, + -8.577873228909291e-19, + -3.5618140631827964e-18, + 4.40826239412228e-18, + 5.856525065581847e-19, + -3.0718930330703597e-18, + -2.2366599332336827e-18, + 2.7576127445917917e-18, + 3.2190911094529078e-18, + -8.602238914134593e-18, + 9.059237324679036e-18, + -6.546661093946951e-18, + 3.579679821474991e-18, + 9.085720690682824e-18, + -1.3054315289387866e-17, + 1.2061927644855855e-19, + 2.0142697067906522e-18, + -1.8238721818091424e-18, + 6.691946980118158e-18, + -8.291473807927872e-18, + 8.30699617491637e-18 + ], + "positive_inventory_m2": [ + 1000000000000002.8 + ], + "positive_m3": [ + 6.002381417269704e+21, + 6.012619122643051e+21, + 6.023490929806676e+21, + 6.035034331370922e+21, + 6.047288799548243e+21, + 6.060295857951609e+21, + 6.07409915097991e+21, + 6.088744509755254e+21, + 6.104280013402405e+21, + 6.120756044263142e+21, + 6.138225335415787e+21, + 6.156743008621096e+21, + 6.176366600539194e+21, + 6.197156074758213e+21, + 6.219173816845588e+21, + 6.242484609281072e+21, + 6.267155582763763e+21, + 6.29325614001465e+21, + 6.320857847838071e+21, + 6.35003429288332e+21, + 6.380860896292753e+21, + 6.413414682275907e+21, + 6.447773995660487e+21, + 6.484018163700314e+21, + 6.522227097934195e+21, + 6.562480832757877e+21, + 6.604858998658714e+21, + 6.649440229819956e+21, + 6.696301508048925e+21, + 6.745517447696065e+21, + 6.797159529321337e+21, + 6.851295293164586e+21, + 6.907987506737014e+21, + 6.96729332374479e+21, + 7.029263453706972e+21, + 7.093941362663292e+21, + 7.161362524981377e+21, + 7.231553744323371e+21, + 7.304532558409142e+21, + 7.380306737687496e+21, + 7.45887388303489e+21, + 7.540221122954411e+21, + 7.624324907267741e+21, + 7.711150892599413e+21, + 7.800653915268006e+21, + 7.892778049230208e+21, + 7.987456749687736e+21, + 8.084613085766067e+21, + 8.184160067188038e+21, + 8.286001069268551e+21, + 8.390030357553848e+21, + 8.496133708332629e+21, + 8.604189114875352e+21, + 8.714067562703845e+21, + 8.825633851545358e+21, + 8.938747437741996e+21, + 9.053263269273148e+21, + 9.169032586340728e+21, + 9.285903663495998e+21, + 9.403722474175276e+21, + 9.522333264764624e+21, + 9.64157903238296e+21, + 9.76130190789838e+21, + 9.881343452724221e+21, + 1.0001544884159949e+22, + 1.0121747248981131e+22, + 1.0241791568260297e+22, + 1.0361518977758114e+22, + 1.0480770887572458e+22, + 1.0599389182194082e+22, + 1.0717216478054798e+22, + 1.083409645066381e+22, + 1.094987423827319e+22, + 1.1064396924485961e+22, + 1.1177514098937119e+22, + 1.1289078493367413e+22, + 1.139894668976508e+22, + 1.1506979896939722e+22, + 1.161304479077631e+22, + 1.1717014410435467e+22, + 1.1818769097376978e+22, + 1.1918197456574066e+22, + 1.2015197310821127e+22, + 1.2109676611392548e+22, + 1.2201554263377787e+22, + 1.229076082326281e+22, + 1.2377239030376895e+22, + 1.2460944142321798e+22, + 1.2541844056246678e+22, + 1.26199192111213e+22, + 1.269516227919605e+22, + 1.2767577666095937e+22, + 1.2837180847453769e+22, + 1.2903997575196549e+22, + 1.296806298862752e+22, + 1.3029420664740376e+22, + 1.30881216394213e+22, + 1.314422342705763e+22, + 1.3197789061246051e+22, + 1.3248886174323657e+22, + 1.3297586128730192e+22, + 1.3343963209002081e+22, + 1.3388093879627758e+22, + 1.3430056111094628e+22, + 1.346992877420068e+22, + 1.3507791101021089e+22, + 1.3543722209725158e+22, + 1.357780068964261e+22, + 1.3610104242494855e+22, + 1.3640709375462973e+22, + 1.3669691141696002e+22, + 1.3697122923921422e+22, + 1.3723076256964368e+22, + 1.3747620685183359e+22, + 1.3770823651066085e+22, + 1.3792750411482818e+22, + 1.381346397835582e+22, + 1.3833025080762976e+22, + 1.3851492145747104e+22, + 1.3868921295346006e+22, + 1.3885366357589311e+22, + 1.3900878889426235e+22, + 1.3915508209752163e+22, + 1.3929301440891653e+22, + 1.3942303557071007e+22, + 1.3954557438575631e+22, + 1.3966103930436034e+22, + 1.3976981904622344e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22 + ], + "sheet_charge_C_m2": [ + 1.5313001760320654e-11 + ], + "trace_potential_V": [ + [ + -0.041621656723509565, + -0.041621656723509565 + ] + ], + "trace_state_m3": [ + [ + 426278113373.0676, + 12869185799751.86, + 20346834046945.984, + 269745467880.37973 + ] + ] + }, + "substeps": 4, + "time_s": 0.0021544346900318843 + }, + "saved_witness": { + "attempted_state": { + "capture_m2_s": [ + [ + -877399921.6073458, + -4022674.9047483252, + -43567076810.81899, + -80800.65287471926 + ] + ], + "local_residual": [ + 0.0, + 2.2869020399646217e-18, + -3.51799241807387, + -154.55497018713294, + 888.674021055745, + -2.054016819074862 + ], + "n_m3": [ + 2515095827087.2163, + 2508795588800.652, + 2502132467337.9556, + 2495088370658.4463, + 2487644656748.8623, + 2479782163529.8403, + 2471481246428.053, + 2462721824381.294, + 2453483435060.8228, + 2443745300095.1333, + 2433486401068.8066, + 2422685567040.858, + 2411321574274.1963, + 2399373258796.183, + 2386819642304.298, + 2373640071799.6304, + 2359814373160.013, + 2345323018660.094, + 2330147308198.197, + 2314269563702.5835, + 2297673335859.352, + 2280343621935.182, + 2262267093056.4585, + 2243432328867.9224, + 2223830057024.2104, + 2203453394485.473, + 2182298087103.7905, + 2160362743516.1643, + 2137649058920.4336, + 2114162023930.1997, + 2089910113398.1445, + 2064905449898.5696, + 2039163936490.2112, + 2012705353462.0808, + 1985553414026.2288, + 1957735774374.7476, + 1929283994172.0505, + 1900233444421.545, + 1870623160707.8425, + 1840495641065.4895, + 1809896589127.9277, + 1778874604727.9033, + 1747480825701.611, + 1715768526230.2163, + 1683792678571.2756, + 1651609486408.2178, + 1619275899215.6655, + 1586849117922.5159, + 1554386102701.5552, + 1521943093870.9927, + 1489575156631.368, + 1457335759674.9055, + 1425276396602.1216, + 1393446257607.8389, + 1361891957110.638, + 1330657320980.6704, + 1299783234866.1362, + 1269307552932.6194, + 1239265064223.0134, + 1209687511922.557, + 1180603659167.7356, + 1152039393749.25, + 1124017863184.239, + 1096559631202.8802, + 1069682846716.9851, + 1043403416790.185, + 1017735175967.5673, + 992690045477.3235, + 968278177206.6562, + 944508078885.0051, + 921386718480.4365, + 898919607337.3514, + 877110862969.3535, + 855963253600.2351, + 835478227467.4348, + 815655930535.4203, + 796495216603.4777, + 777993653845.101, + 760147531614.531, + 742951870944.7595, + 726400441590.4297, + 710485787798.6154, + 695199264271.124, + 680531083067.6978, + 666470371529.5529, + 653005240711.1666, + 640122863315.6617, + 627809559749.1492, + 616050890643.5802, + 604831754043.4364, + 594136485397.6562, + 583948958533.1189, + 574252685890.5378, + 565030916464.6196, + 556266730088.384, + 547943126922.45435, + 540043111240.2012, + 532549768827.7021, + 525446337533.3724, + 518716270701.5134, + 512343293399.7294, + 506311451502.1325, + 500605153816.0105, + 495209207540.5103, + 490108847422.8888, + 485289759033.2845, + 480738096615.2102, + 476440495988.62616, + 472384082988.4445, + 468556477915.87305, + 464945796466.2629, + 461540647575.6762, + 458330128603.7074, + 455303818240.5693, + 452451767496.4015, + 449764489099.3505, + 447232945597.58496, + 444848536430.1983, + 442603084202.7956, + 440488820375.71246, + 438498370547.43524, + 436624739491.75104, + 434861296085.37604, + 433201758243.20654, + 431640177960.19855, + 430170926543.08984, + 428788680100.80396, + 427488405350.00244, + 20296478096321.363, + 20243824836490.33, + 20188067043537.65, + 20129040859668.926, + 20066576229966.375, + 20000496994881.004, + 19930621037668.676, + 19856760493939.312, + 19778722030950.066, + 19696307204714.098, + 19609312903398.758, + 19517531885770.58, + 19420753423696.758, + 19318764057793.727, + 19211348475244.457, + 19098290518583.758, + 18979374333753.53, + 18854385665017.434, + 18723113303262.363, + 18585350692830.027, + 18440897700248.77, + 18289562546008.297, + 18131163897862.176, + 17965533120966.164, + 17792516676511.363, + 17611978656301.742, + 17423803436093.428, + 17227898425378.273, + 17024196885774.771, + 16812660784427.79, + 16593283642830.775, + 16366093335538.994, + 16131154787511.033, + 15888572513472.408, + 15638492938136.355, + 15381106432499.705, + 15116648999160.088, + 14845403538964.84, + 14567700632564.36, + 14283918773941.37, + 13994483998862.607, + 13699868859658.988, + 13400590708771.39, + 13097209267034.426, + 12790323468546.596, + 12480567591730.613, + 12168606705447.684, + 11855131479024.932, + 11540852425137.39, + 11226493663743.535, + 10912786312830.756, + 10600461626752.068, + 10290244014525.527, + 9982844078013.31, + 9678951812794.857, + 9379230112571.76, + 9084308710916.102, + 8794778682448.207, + 8511187609411.417, + 8234035499932.596, + 7963771521806.336, + 7700791591517.394, + 7445436833457.335, + 7197992900051.465, + 6958690120763.517, + 6727704427617.237, + 6505158987667.381, + 6291126459280.519, + 6085631779408.939, + 5888655383335.574, + 5700136756464.883, + 5519978219323.093, + 5348048851542.206, + 5184188467686.837, + 5028211566751.7705, + 4879911187405.184, + 4739062611984.656, + 4605426873388.514, + 4478754029861.848, + 4358786182926.094, + 4245260223052.9165, + 4137910295971.0957, + 4036469989615.5913, + 3940674247629.877, + 3850261020066.645, + 3764972665541.6055, + 3684557121683.47, + 3608768862420.717, + 3537369661549.3306, + 3470129182302.562, + 3406825412383.5933, + 3347244963259.541, + 3291183251554.2744, + 3238444579199.973, + 3188842127700.5723, + 3142197880481.6895, + 3098342485906.841, + 3057115072167.728, + 3018363023933.3833, + 2981941729401.1694, + 2947714305227.354, + 2915551305758.4224, + 2885330422013.7773, + 2856936175012.032, + 2830259607260.6504, + 2805197975552.337, + 2781654447622.105, + 2759537804704.8574, + 2738762151592.2563, + 2719246635412.5845, + 2700915174037.689, + 2683696194752.873, + 2667522383602.076, + 2652330445638.2915, + 2638060876153.5234, + 2624657742845.1504, + 2612068478775.531, + 2600243685904.115, + 2589136948915.975, + 2578704659020.9673, + 2568905847371.573, + 2559702027719.7183, + 2551057047925.608, + 2542936949918.626, + 2535309837714.186, + 2528145753090.0854, + 2521416558534.8633, + 2515095827087.2163 + ], + "occupancy": [ + 7.90788316190346e-05 + ], + "p_m3": [ + 2515095827087.2163, + 2521365362008.387, + 2528029279115.2295, + 2535111689885.771, + 2542638085706.4565, + 2550635403905.8223, + 2559132095094.712, + 2568158191534.609, + 2577745376194.277, + 2587927052093.607, + 2598738411454.436, + 2610216504103.8467, + 2622400304477.981, + 2635330776482.0605, + 2649050935355.371, + 2663605905571.1826, + 2679042973686.653, + 2695411634925.7, + 2712763632146.676, + 2731152985715.8247, + 2750636012669.6655, + 2771271333426.7515, + 2793119864186.0596, + 2816244793050.7134, + 2840711537834.3096, + 2866587683456.7686, + 2893942896830.6313, + 2922848817177.4653, + 2953378919819.283, + 2985608351663.7, + 3019613736863.009, + 3055472951484.275, + 3093264866483.694, + 3133069058853.6226, + 3174965491497.53, + 3219034163179.7783, + 3265354730807.5405, + 3314006107285.1504, + 3365066039230.549, + 3418610669915.4897, + 3474714093832.642, + 3533447910247.8364, + 3594880783882.6147, + 3659078021428.616, + 3726101172801.952, + 3796007665857.161, + 3868850482584.574, + 3944677883579.697, + 4023533185744.8794, + 4105454595779.2695, + 4190475099082.8267, + 4278622400318.8447, + 4369918908230.0825, + 4464381753550.565, + 4562022825266.417, + 4662848807296.307, + 4766861195199.489, + 4874056271009.324, + 4984425014021.009, + 5097952926470.693, + 5214619755668.693, + 5334399098297.973, + 5457257878151.042, + 5583155695380.487, + 5712044053041.109, + 5843865474956.018, + 5978552537237.524, + 6116026843705.703, + 6256197982426.816, + 6398962506199.439, + 6544202983664.714, + 6691787169472.16, + 6841567341419.556, + 6993379849644.5625, + 7147044917843.954, + 7302366729328.46, + 7459133821845.349, + 7617119804886.384, + 7776084402175.47, + 7935774810729.317, + 8095927356794.502, + 8256269418657.5205, + 8416521577224.946, + 8576399947755.528, + 8735618640530.694, + 8893892294714.281, + 9050938628307.322, + 9206480947860.465, + 9360250564399.494, + 9511989066572.203, + 9661450408035.545, + 9808402773278.354, + 9952630193950.963, + 10093933896024.166, + 10232133366356.318, + 10367067135140.957, + 10498593278016.473, + 10626589648093.705, + 10750953853647.201, + 10871603001685.207, + 10988473230933.264, + 11101519060086.764, + 11210712578463.934, + 11316042506573.627, + 11417513153734.324, + 11515143298792.336, + 11608965018431.844, + 11699022485585.465, + 11785370758198.45, + 11868074576205.748, + 11947207182102.656, + 12022849178031.162, + 12095087429939.316, + 12164014027121.615, + 12229725303393.455, + 12292320924255.73, + 12351903042763.832, + 12408575525337.74, + 12462443247523.318, + 12513611458663.617, + 12562185213587.426, + 12608268868748.572, + 12651965639728.264, + 12693377216638.953, + 12732603433692.543, + 12769741989074.932, + 12804888211182.004, + 12838134867289.703, + 270550003832.31473, + 271397366669.73462, + 272299492307.33084, + 273259923911.18698, + 274282433916.78336, + 275371038768.5234, + 276530014574.8269, + 277763913727.89166, + 279077582537.67316, + 280476179930.4354, + 281965197261.58295, + 283550479292.31085, + 285238246377.122, + 287035117907.06116, + 288948137049.3954, + 290984796818.60626, + 293153067506.5894, + 295461425489.7905, + 297918883419.1064, + 300535021782.8678, + 303320021814.0779, + 306284699690.0098, + 309440541944.0221, + 312799741975.8498, + 316375237506.0704, + 320180748773.7614, + 324230817220.1285, + 328540844336.6742, + 333127130282.2892, + 338006911787.7305, + 343198398769.9116, + 348720808969.0047, + 354594399800.32336, + 360840496478.9819, + 367481515329.2108, + 374540981033.49567, + 382043536410.4501, + 390014943136.97363, + 398482071655.3694, + 407472878331.81824, + 417016367768.5631, + 427142538023.6804, + 437882306370.9683, + 449267413149.80225, + 461330301221.47327, + 474103968583.4218, + 487621791806.84625, + 501917318176.7163, + 517024024739.01556, + 532975042915.1022, + 549802847938.458, + 567538913112.7698, + 586213329786.989, + 605854394986.0353, + 626488169814.3055, + 648138013038.8179, + 670824095627.359, + 694562903416.8912, + 719366736466.8606, + 745243214940.3761, + 772194802486.418, + 800218358987.9153, + 829304735122.1547, + 859438421378.719, + 890597263941.4557, + 922752259121.9702, + 955867436814.2777, + 989899841730.5441, + 1024799619011.3002, + 1060510208243.6903, + 1096968647057.6273, + 1134105982415.493, + 1171847784595.2578, + 1210114755827.683, + 1248823422723.655, + 1287886899144.347, + 1327215704145.5637, + 1366718618141.757, + 1406303559558.6306, + 1445878463988.0964, + 1485352148228.559, + 1524635142541.1265, + 1563640475912.5312, + 1602284401008.3804, + 1640487047708.9575, + 1678172996548.4001, + 1715271765902.6372, + 1751718209292.881, + 1787452821593.9336, + 1822421955176.3982, + 1856577949004.9888, + 1889879175425.1375, + 1922290010757.039, + 1953780736880.2537, + 1984327381734.2175, + 2013911507098.1216, + 2042519952175.317, + 2070144541424.3076, + 2096781764795.2979, + 2122432438073.4705, + 2147101350457.1309, + 2170796905825.5364, + 2193530763431.6948, + 2215317483001.737, + 2236174178474.724, + 2256120183887.058, + 2275176734210.7036, + 2293366663310.7466, + 2310714120601.814, + 2327244307453.1924, + 2342983233934.306, + 2357957496091.093, + 2372194073609.5005, + 2385720147440.316, + 2398562936740.933, + 2410749554308.3037, + 2422306879549.982, + 2433261447946.8794, + 2443639355899.812, + 2453466179824.308, + 2462766908346.85, + 2471565886472.532, + 2479886770615.658, + 2487752493431.0747, + 2495185237426.678, + 2502206416398.215, + 2508836663781.8013, + 2515095827087.2163 + ], + "phi_V": [ + 0.0, + -6.295026449843143e-05, + -0.0001296903506542587, + -0.00020043064432708017, + -0.0002753909473261883, + -0.00035480060483909635, + -0.0004388985908918413, + -0.0005279335449181284, + -0.0006221637519223702, + -0.0007218570581350453, + -0.0008272907134909972, + -0.0009387511317288143, + -0.001056533558432444, + -0.0011809416369377493, + -0.0013122868617346055, + -0.001450887908839906, + -0.0015970698326341307, + -0.0017511631188823014, + -0.0019135025841418181, + -0.0020844261125391814, + -0.0022642732220218725, + -0.0024533834537070866, + -0.0026520945799007782, + -0.002860740628789391, + -0.0030796497267465903, + -0.003309141762671949, + -0.0035495258827962003, + -0.0038010978289389078, + -0.004064137138255204, + -0.004338904227996843, + -0.004625637394644761, + -0.0049245497628145705, + -0.005235826225422841, + -0.005559620422520195, + -0.005896051811697942, + -0.00624520288777182, + -0.0066071166132255065, + -0.00698179412332182, + -0.007369192770520333, + -0.007769224571544485, + -0.008181755116818484, + -0.008606602995798188, + -0.009043539782785848, + -0.009492290616091059, + -0.009952535388963256, + -0.010423910553822403, + -0.010906011522385697, + -0.01139839562395363, + -0.011900585563190909, + -0.012412073298194198, + -0.012932324240581232, + -0.013460781662931428, + -0.013996871186313856, + -0.014540005212917569, + -0.01508958716683324, + -0.015645015410438102, + -0.016205686714885283, + -0.016770999180776233, + -0.017340354528663997, + -0.01791315970763881, + -0.018488827802544773, + -0.019066778254710582, + -0.019646436445572544, + -0.020227232725251836, + -0.020808600997085546, + -0.021389976992544562, + -0.021970796387449785, + -0.022550492918887673, + -0.023128496662187987, + -0.023704232618761926, + -0.024277119749047556, + -0.024846570561310146, + -0.025411991338058222, + -0.025972783049130928, + -0.026528342966038287, + -0.027078066957878268, + -0.027621352416993327, + -0.028157601734114378, + -0.02868622621938821, + -0.02920665034831386, + -0.02971831620071308, + -0.03022068795650104, + -0.03071325631389858, + -0.031195542703215288, + -0.031667103181578844, + -0.03212753190997739, + -0.03257646413263189, + -0.03301357859892665, + -0.03343859938885412, + -0.03385129712322736, + -0.03425148955897004, + -0.034639041586956534, + -0.03501386466466769, + -0.035375915728046804, + -0.035725195636249873, + -0.03606174720949639, + -0.03638565292408152, + -0.036697032330041075, + -0.03699603925627444, + -0.0372828588654705, + -0.03755770461731097, + -0.037820815193499085, + -0.03807245143251495, + -0.03831289331593361, + -0.038542437041919876, + -0.038761392215352346, + -0.03897007917810263, + -0.0391688264974358, + -0.039357968625397255, + -0.03953784373746889, + -0.03970879175474477, + -0.03987115255039819, + -0.04002526433827791, + -0.04017146223905345, + -0.040310077017393274, + -0.04044143398216039, + -0.04056585204050356, + -0.04068364289595916, + -0.040795110380212475, + -0.04090054990795352, + -0.04100024804425701, + -0.041094482174082035, + -0.041183520263788284, + -0.041267620704971024, + -0.04134703223140041, + -0.04142199390038771, + -0.04149273513047291, + -0.04155947578791725, + -0.04168547709170416, + -0.041752380724761035, + -0.041823418385683986, + -0.04189883341692418, + -0.04197888191636439, + -0.04206383320039697, + -0.04215397025513939, + -0.04224959017062814, + -0.042351004552126204, + -0.04245853990191377, + -0.042572537964108606, + -0.04269335602418141, + -0.042821367153895624, + -0.04295696039141675, + -0.04310054084530827, + -0.04325252971007142, + -0.04341336417980667, + -0.04358349724549171, + -0.043763397360306565, + -0.04395354795641446, + -0.04415444679565947, + -0.044366605135803816, + -0.044590546693241154, + -0.04482680638263552, + -0.045075928813702835, + -0.04533846652543297, + -0.04561497793851231, + -0.04590602500761858, + -0.04621217055669712, + -0.04653397528236597, + -0.04687199441331191, + -0.04722677401700341, + -0.047598846949323814, + -0.04798872844787411, + -0.04839691137574516, + -0.048823861129532846, + -0.04927001023325175, + -0.049735752648551006, + -0.05022143784116258, + -0.05072736465368827, + -0.05125377504547493, + -0.051800847771205014, + -0.05236869208065121, + -0.0529573415324681, + -0.053566748024529307, + -0.05419677615173376, + -0.05484719800894016, + -0.05551768856127231, + -0.0562078217060077, + -0.05691706714918763, + -0.05764478821559727, + -0.0583902407025768, + -0.05915257287606943, + -0.05993082669136194, + -0.060723940301258585, + -0.061530751891259006, + -0.062350004855170185, + -0.06318035429613778, + -0.0640203748081523, + -0.06486856946262858, + -0.06572337989471672, + -0.06658319735567653, + -0.06744637457201746, + -0.06831123823019239, + -0.0691761018883372, + -0.070039279104588, + -0.07089909656539828, + -0.07175390699727842, + -0.07260210165148966, + -0.07344212216318383, + -0.07427247160377778, + -0.07509172456726448, + -0.0758985361567922, + -0.07669164976617088, + -0.07746990358090329, + -0.07823223575379698, + -0.0789776882401422, + -0.07970540930588575, + -0.08041465474837135, + -0.08110478789238795, + -0.08177527844398041, + -0.08242570030042988, + -0.08305572842686366, + -0.08366513491814394, + -0.08425378436917294, + -0.08482162867782743, + -0.08536870140276505, + -0.08589511179376125, + -0.08640103860550116, + -0.08688672379733403, + -0.08735246621186392, + -0.08779861531482476, + -0.08822556506786754, + -0.0886337479950084, + -0.08902362949284463, + -0.0893957024244683, + -0.08975048202748141, + -0.09008850115776815, + -0.09041030588279764, + -0.09071645143125717, + -0.09100749849976515, + -0.09128400991226719, + -0.09154654762344108, + -0.09179567005397321, + -0.09203192974285336, + -0.09225587129979727, + -0.09246802963946871, + -0.09266892847826101, + -0.092859079073936, + -0.09303897918833724, + -0.09320911225362759, + -0.09336994672298647, + -0.0935219355873911, + -0.09366551604094131, + -0.09380110927813781, + -0.09392912040754346, + -0.0940499384673232, + -0.09416393652923984, + -0.0942714718787635, + -0.09437288626001138, + -0.09446850617526305, + -0.09455864322978093, + -0.09464359451360094, + -0.09472364301284003, + -0.09479905804389001, + -0.09487009570463312, + -0.09493699933752003, + -0.09499999999999964 + ], + "poisson_residual_C_m2": [ + -1.945913159925714e-20, + 1.7609759433263252e-20, + -1.7924420123976042e-20, + 5.65249673652408e-20, + -7.08793812500795e-20, + 8.498290569370993e-20, + -1.366211255445001e-19, + 1.1542450708651295e-19, + -3.9889773057229343e-20, + -4.717508279193075e-21, + 3.1774382818260085e-20, + -2.3627515537521477e-20, + 1.8600172854990543e-20, + -4.671610160549693e-20, + 7.494851416396854e-20, + -8.875458492267644e-20, + 7.241781363039063e-20, + -3.368362279447443e-20, + -1.4564779940159787e-20, + 3.287776681463044e-20, + 3.886396795337507e-20, + -4.933398970722495e-20, + -1.423892965671272e-20, + -3.244500474388395e-20, + 1.849809703814667e-20, + 2.5463513241921875e-20, + 6.991621778219074e-20, + -9.012647480221852e-20, + 6.896580684731902e-20, + -1.380155602482396e-19, + 1.9111310940208526e-19, + -1.5387579668060968e-19, + -2.8579046307918886e-20, + 8.571115497400007e-20, + 9.603552698318327e-20, + -1.3967195546529838e-19, + -6.851727254633617e-21, + 7.645547506537533e-20, + -3.9294468870158447e-20, + -6.687756353398733e-20, + 2.1939465079950475e-19, + -1.2873726401169769e-19, + -9.383613334530934e-20, + 5.551166224364946e-20, + 1.5867952455949976e-19, + -1.7425758707272113e-19, + 6.349759239210054e-20, + -1.2352443314827341e-19, + 1.9962586553272044e-19, + -1.385914922786064e-19, + -3.8665811580553284e-20, + 1.0771572840516648e-19, + 6.201007493629485e-20, + -1.7486342526525668e-19, + 1.4876671863309605e-20, + 1.18292076192935e-19, + -1.0134622525756406e-21, + 1.5015035238639057e-20, + -1.4364766268651362e-19, + 1.781728831802938e-19, + -1.275990625351056e-19, + -6.294654888454704e-20, + 2.172623375873956e-19, + -1.5165040350317547e-19, + 4.315020753869867e-20, + -7.315118106168916e-20, + -1.807880622076621e-19, + 5.456231807211188e-19, + -3.7405360577936327e-19, + -2.1823398697987618e-20, + 1.4761316394939902e-19, + -1.573967473549456e-19, + 1.937227542589218e-19, + -1.4189678974551917e-19, + 1.3455363441925724e-20, + 7.547692710143403e-20, + -1.4638537637318917e-19, + 1.2206929978471658e-19, + -1.3954039697606607e-20, + 2.836150582604155e-19, + -4.2264923187139848e-19, + 1.491507537150288e-19, + 1.4011603955293761e-19, + -4.967212733619018e-19, + 1.8921007347917546e-19, + 3.87178437746519e-19, + -6.781791146805679e-19, + 9.157576923031494e-19, + -3.592069768244303e-19, + 1.8159939716539817e-19, + -8.438922819384036e-19, + 1.0808982809644862e-18, + -9.854334654310231e-19, + 4.721697767722472e-19, + -6.460867783194215e-19, + 1.3982165079997125e-18, + -9.848143162886206e-19, + -3.9274185322942865e-19, + 1.4613815520991558e-18, + -2.2582329028110272e-20, + -2.3203435435806298e-18, + 1.3149853322579203e-18, + 1.710289544715933e-18, + -1.4014382594704226e-18, + -1.4012382974482597e-18, + 1.2947032252463971e-18, + 1.0768197940626882e-18, + -1.4134560984878801e-18, + -9.237739730106416e-19, + 2.3066135212019107e-18, + -3.3291508353181955e-18, + 4.765164850083169e-18, + -2.3193217999630045e-18, + -1.924648977581293e-18, + 3.890021259164365e-18, + -3.2248015940896796e-18, + 6.3270277930138785e-19, + 2.3565958301254854e-18, + -5.7224203691283545e-18, + 3.4489358725614366e-18, + 1.3131725241866497e-18, + 1.098680562478687e-18, + -3.892707709919095e-18, + 3.306604952721093e-18, + 1.7231209148868755e-18, + -6.689661885924158e-18, + 2.8938289418067622e-18, + 1.5850957518640299e-18, + -3.0593528382855936e-18, + 5.3631926116025634e-18, + -4.610692927408175e-18, + 2.4215012384954855e-18, + -5.018292161816494e-18, + 4.173882564561227e-18, + 2.121650501446502e-18, + -5.103370805247182e-18, + 4.886028383889139e-18, + -1.2547241331442224e-18, + -1.5117310057183867e-18, + 2.733179447756539e-18, + -3.4068820088668658e-18, + 3.3673614218499816e-19, + 1.2281257667025342e-18, + -2.8344538130007287e-19, + 1.0797183269236783e-19, + -3.861667120302454e-20, + 1.0233212188730912e-18, + -1.3247456274212855e-18, + -1.0832274025679163e-18, + 2.5240895230505546e-18, + -2.76747922900738e-18, + 1.8625099367140673e-18, + -3.7940641703181717e-19, + 1.2069518818609466e-19, + 2.4720843543062067e-19, + 1.4946289030163982e-19, + -2.925183074189623e-19, + -6.402733274351153e-20, + -5.83570458163929e-19, + 1.718815474293282e-19, + 3.0992013232990306e-19, + -1.423108215831542e-19, + 8.442012877373424e-19, + -9.412722623622626e-19, + 3.584615548046222e-19, + 1.936430444537447e-19, + -1.0866653540216258e-18, + 1.0070957710814705e-18, + -4.625972035749818e-19, + 5.932864403536429e-19, + -4.0328258374057897e-19, + 2.1273177614910316e-19, + 8.047006614069532e-21, + -2.486281456748292e-19, + -4.036449672682707e-19, + 7.526782460054114e-19, + 2.6013491752536664e-20, + -2.0268823868095255e-19, + -3.4121942487755174e-19, + 1.7030292621107536e-19, + 2.224753171206921e-19, + -4.0756836686873864e-19, + 5.020460746621904e-19, + -6.497416611231277e-19, + 9.356490731770073e-19, + -6.184599547777598e-19, + -3.1540224734762405e-19, + 1.0362348770465598e-18, + -1.3796386674360286e-18, + 1.210968621707241e-18, + 1.8805373163608485e-19, + -1.2238405235696453e-18, + 4.8836071247467045e-20, + 1.0681706378511814e-18, + -7.972181135273151e-19, + 1.3974396360344413e-19, + 3.821359594446164e-19, + -5.077757504151826e-19, + 5.913937874560714e-19, + 2.2665349782020397e-19, + -1.6710713574956158e-18, + 1.2921701403669549e-18, + -1.653277180713765e-19, + -1.4854004276688107e-19, + 8.635672262315875e-19, + -1.5527392482552601e-18, + 1.0328788103570004e-18, + -3.6514779548921307e-19, + 9.931237820959015e-19, + -1.3801882955548575e-18, + 1.9062643152311506e-19, + 1.3154365155863947e-18, + -2.36958798981185e-18, + 1.4091905573094946e-18, + -1.2100656434425662e-19, + 1.8883107940518356e-18, + -3.553126393758651e-18, + 3.502387053604839e-18, + -2.6357804503017427e-18, + 8.291006562282395e-19, + -1.3006112203404718e-19, + 7.82457489118275e-20, + 1.0289235225304789e-19, + 1.0405539187296336e-18, + -2.4053592206715607e-18, + 2.051543018785908e-18, + 8.185505764900435e-19, + -2.9828030182017048e-18, + 2.093103505313612e-18, + -1.3041928585718385e-18, + 1.6495830411478537e-18, + -8.083904338422534e-19, + -2.1217930955005147e-18, + 4.536771389069905e-18, + -7.026069230291265e-18, + 8.773039814412066e-18, + -4.6659268694029245e-18, + 1.522030542426675e-19, + -1.8105648060055475e-18, + 2.681394170843455e-18, + 7.9071307944062e-19, + -6.039216879747552e-19, + -3.554602794220968e-18, + 7.085906369777163e-18, + -6.787935581735623e-18, + 2.866601706922992e-18, + -4.715815177146745e-18, + 5.732343669708102e-18, + 4.536862434145162e-18, + -1.0903337705778599e-17, + 3.984316431045258e-18, + -9.916769376233992e-20, + -2.7459486119187923e-18, + 1.007266301940771e-17 + ], + "positive_inventory_m2": [ + 1000000000000002.8 + ], + "positive_m3": [ + 6.003100129485116e+21, + 6.013338303761189e+21, + 6.024210447251452e+21, + 6.035754023829491e+21, + 6.048008472897443e+21, + 6.061015280761004e+21, + 6.074818049578794e+21, + 6.089462562860724e+21, + 6.104996846319282e+21, + 6.121471222684774e+21, + 6.13893835887868e+21, + 6.157453303696879e+21, + 6.177073513885743e+21, + 6.197858866198692e+21, + 6.219871652700425e+21, + 6.243176556243945e+21, + 6.267840602687856e+21, + 6.293933086058471e+21, + 6.321525462508091e+21, + 6.35069120859845e+21, + 6.381505639176115e+21, + 6.41404567994172e+21, + 6.448389589794631e+21, + 6.484616628214902e+21, + 6.522806663389375e+21, + 6.563039717566277e+21, + 6.6053954472989e+21, + 6.649952557868526e+21, + 6.696788153290075e+21, + 6.745977025892076e+21, + 6.797590892459576e+21, + 6.851697587197249e+21, + 6.908360225091215e+21, + 6.967636352324363e+21, + 7.029577102873586e+21, + 7.09422638191203e+21, + 7.16162009682241e+21, + 7.231785455288118e+21, + 7.304740347056994e+21, + 7.380492821816869e+21, + 7.459040670699429e+21, + 7.540371113968365e+21, + 7.624460593257096e+21, + 7.711274664000065e+21, + 7.800767982843107e+21, + 7.892884385761908e+21, + 7.987557054814766e+21, + 8.084708773979995e+21, + 8.184252276311001e+21, + 8.286090684772088e+21, + 8.390118047104028e+21, + 8.496219960978734e+21, + 8.604274280138827e+21, + 8.714151886140514e+21, + 8.825717504792953e+21, + 8.938830542340979e+21, + 9.053345914493399e+21, + 9.169114841812982e+21, + 9.285985587678669e+21, + 9.403804119674616e+21, + 9.52241468136551e+21, + 9.641660268415476e+21, + 9.761383010307758e+21, + 9.881424465944923e+21, + 1.0001625847614346e+22, + 1.0121828192715866e+22, + 1.0241872505891212e+22, + 1.0361599895531464e+22, + 1.0480851728017056e+22, + 1.0599469820636593e+22, + 1.0717296690346076e+22, + 1.0834175870989352e+22, + 1.0949952307039406e+22, + 1.1064472828028375e+22, + 1.1177586705053619e+22, + 1.128914628908905e+22, + 1.139900772979889e+22, + 1.1507031772235464e+22, + 1.1613084626163685e+22, + 1.1717038898020511e+22, + 1.1818774568555965e+22, + 1.1918179990716302e+22, + 1.2015152873766914e+22, + 1.2109601212845231e+22, + 1.2201444119790555e+22, + 1.2290612512317894e+22, + 1.237704962458698e+22, + 1.2460711312238783e+22, + 1.2541566137602503e+22, + 1.2619595234254453e+22, + 1.2694791962735294e+22, + 1.2767161379668028e+22, + 1.2836719549962422e+22, + 1.2903492735990046e+22, + 1.2967516498778623e+22, + 1.3028834744929738e+22, + 1.3087498749788329e+22, + 1.314356618308354e+22, + 1.3197100158438294e+22, + 1.324816832330055e+22, + 1.3296842001328437e+22, + 1.334319539527473e+22, + 1.3387304855062006e+22, + 1.3429248213033817e+22, + 1.3469104186269635e+22, + 1.3506951844292198e+22, + 1.3542870139389853e+22, + 1.3576937496039215e+22, + 1.3609231455465113e+22, + 1.363982837114681e+22, + 1.3668803151014666e+22, + 1.36962290421333e+22, + 1.3722177453800638e+22, + 1.3746717815178986e+22, + 1.376991746379472e+22, + 1.3791841561481967e+22, + 1.3812553034592533e+22, + 1.3832112535541454e+22, + 1.385057842299992e+22, + 1.386800675828155e+22, + 1.3884451315691358e+22, + 1.3899963604818507e+22, + 1.3914592902952595e+22, + 1.3928386295989132e+22, + 1.3941388726362154e+22, + 1.3953643046701766e+22, + 1.3965190078061231e+22, + 1.3976068671693084e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22 + ], + "sheet_charge_C_m2": [ + 1.6124202981846896e-11 + ], + "trace_potential_V": [ + [ + -0.04162247642906373, + -0.04162247642906373 + ] + ], + "trace_state_m3": [ + [ + 426264519277.93835, + 12869596958297.307, + 20346184439478.652, + 269754076017.93335 + ] + ] + }, + "coordinate": [ + 1.2985013994521478e-09, + 2.6840664384818643e-09, + 4.1626660035151404e-09, + 5.740686296691588e-09, + 7.424956293340782e-09, + 9.222776449203721e-09, + 1.1141948531982096e-08, + 1.3190806449587775e-08, + 1.5378247855253438e-08, + 1.771376628948999e-08, + 2.0207483478763137e-08, + 2.2870181373545408e-08, + 2.5713333391815895e-08, + 2.8749134187433755e-08, + 3.199052717855437e-08, + 3.5451228900757e-08, + 3.914574908282194e-08, + 4.308940524391781e-08, + 4.729833040419723e-08, + 5.1789472341449926e-08, + 5.6580582783193895e-08, + 6.169019470613555e-08, + 6.713758592047913e-08, + 7.29427271384288e-08, + 7.912621267873066e-08, + 8.570917223689086e-08, + 9.271316227117709e-08, + 1.0016003581490077e-07, + 1.0807179010656657e-07, + 1.1647039144520905e-07, + 1.2537757752894351e-07, + 1.3481463733711415e-07, + 1.4480216924454564e-07, + 1.5535981781443116e-07, + 1.6650598939531478e-07, + 1.7825754635189783e-07, + 1.9062947883459167e-07, + 2.036345521478341e-07, + 2.1728292705612427e-07, + 2.315817497958428e-07, + 2.4653470829908644e-07, + 2.621415524482438e-07, + 2.7839757721351806e-07, + 2.952930705871415e-07, + 3.128127318059828e-07, + 3.3093506880830986e-07, + 3.4963178917908264e-07, + 3.6886720163053985e-07, + 3.885976495868541e-07, + 4.087710000459178e-07, + 4.293262125176912e-07, + 4.501930131546932e-07, + 4.712916977428361e-07, + 4.925330860942879e-07, + 5.138186467501663e-07, + 5.350408085607531e-07, + 5.560834703202703e-07, + 5.768227157736683e-07, + 5.971277357787117e-07, + 6.168619531574949e-07, + 6.358843403911284e-07, + 6.540509135075865e-07, + 6.712163800268582e-07, + 6.872359133039412e-07, + 7.019670206328539e-07, + 7.152714693932203e-07, + 7.27017233290466e-07, + 7.37080420157948e-07, + 7.453471441876638e-07, + 7.517153084491818e-07, + 7.560962676974497e-07, + 7.584163465746473e-07, + 7.586181929254598e-07, + 7.566619494968989e-07, + 7.525262278844006e-07, + 7.462088672646399e-07, + 7.377274547598885e-07, + 7.271195783623741e-07, + 7.144427764600239e-07, + 6.997741452025944e-07, + 6.832095669987279e-07, + 6.648625331027201e-07, + 6.44862550360091e-07, + 6.233531465443033e-07, + 6.004895148238678e-07, + 5.764358655875004e-07, + 5.513625762991376e-07, + 5.254432457240277e-07, + 4.988517643995304e-07, + 4.717595117930951e-07, + 4.4433277610847614e-07, + 4.167304771346478e-07, + 3.8910224736774386e-07, + 3.615869049590671e-07, + 3.343113281488988e-07, + 3.073897205811968e-07, + 2.809232415006217e-07, + 2.5499996210961825e-07, + 2.2969510234498566e-07, + 2.0507149865776892e-07, + 1.8118025288459523e-07, + 1.580615151266756e-07, + 1.3574535688644393e-07, + 1.1425269658416389e-07, + 9.359624517827839e-08, + 7.378144531936553e-08, + 5.480738309650671e-08, + 3.666765679495941e-08, + 1.935119175700248e-08, + 2.8429934791939523e-09, + -1.287516436362629e-08, + -2.782411855389217e-08, + -4.202676132052302e-08, + -5.5507549278112497e-08, + -6.829207289416754e-08, + -8.040668252260401e-08, + -9.187816724531009e-08, + -1.0273348075010415e-07, + -1.1299951064579411e-07, + -1.2270288617715881e-07, + -1.3186981965471672e-07, + -1.4052597836663291e-07, + -1.4869638255494555e-07, + -1.564053257816028e-07, + -1.6367631539824143e-07, + -1.7053202930824517e-07, + -1.769942873368092e-07, + -2.1970653240181583e-07, + -2.1982702201896946e-07, + -2.199548811900738e-07, + -2.2009053226611452e-07, + -2.20234418069037e-07, + -2.2038700203042498e-07, + -2.2054876884003228e-07, + -2.2072022432064525e-07, + -2.2090189581267556e-07, + -2.210943319269972e-07, + -2.212981024811908e-07, + -2.2151379785701376e-07, + -2.217420284698529e-07, + -2.219834235807548e-07, + -2.2223863030043662e-07, + -2.225083114096071e-07, + -2.227931435316302e-07, + -2.2309381435290263e-07, + -2.2341101925387812e-07, + -2.237454573987237e-07, + -2.2409782714882918e-07, + -2.244688203263099e-07, + -2.2485911591739762e-07, + -2.2526937241934187e-07, + -2.2570021888317549e-07, + -2.2615224532484623e-07, + -2.2662599086822552e-07, + -2.2712193055880344e-07, + -2.276404611722761e-07, + -2.281818838169751e-07, + -2.2874638581382954e-07, + -2.2933401959982532e-07, + -2.299446798605789e-07, + -2.3057807803493734e-07, + -2.3123371442821686e-07, + -2.319108480033319e-07, + -2.3260846360459147e-07, + -2.33325236645451e-07, + -2.3405949577840042e-07, + -2.3480918316831484e-07, + -2.3557181349974504e-07, + -2.363444310503296e-07, + -2.3712356661658923e-07, + -2.3790519389384388e-07, + -2.3868468693853656e-07, + -2.394567794856673e-07, + -2.4021552723747245e-07, + -2.409542745860956e-07, + -2.4166562735987406e-07, + -2.423414332712176e-07, + -2.4297277173551884e-07, + -2.4354995519279696e-07, + -2.440625437536485e-07, + -2.44499374596936e-07, + -2.4484860870863455e-07, + -2.450977957201675e-07, + -2.4523395835548225e-07, + -2.452436971717326e-07, + -2.4511331573314144e-07, + -2.448289661163687e-07, + -2.4437681338700867e-07, + -2.4374321703114435e-07, + -2.4291492732380495e-07, + -2.418792921939259e-07, + -2.406244714338346e-07, + -2.391396525509268e-07, + -2.3741526385062502e-07, + -2.354431779240686e-07, + -2.3321690066749436e-07, + -2.3073174010136874e-07, + -2.2798494890502417e-07, + -2.249758367689169e-07, + -2.217058481694991e-07, + -2.181786026702143e-07, + -2.1439989597564148e-07, + -2.103776611917012e-07, + -2.061218912538276e-07, + -2.016445234469967e-07, + -1.9695929075896863e-07, + -1.9208154212915907e-07, + -1.8702803847307518e-07, + -1.8181672835404973e-07, + -1.7646651010049173e-07, + -1.70996985957166e-07, + -1.6542821436370967e-07, + -1.5978046585962654e-07, + -1.5407398744249966e-07, + -1.4832878063208873e-07, + -1.4256439620019643e-07, + -1.3679974905678329e-07, + -1.310529554172943e-07, + -1.2534119320497755e-07, + -1.1968058756803793e-07, + -1.1408611977540395e-07, + -1.0857156028425393e-07, + -1.0314942428426335e-07, + -9.783094829232517e-08, + -9.262608583014448e-08, + -8.754352022643128e-08, + -8.25906926352402e-08, + -7.777384255415124e-08, + -7.30980589827041e-08, + -6.856734029512592e-08, + -6.418466000177185e-08, + -5.995203782244674e-08, + -5.58706131119839e-08, + -5.19407200439867e-08, + -4.816196292974868e-08, + -4.4533290383322284e-08, + -4.105306812412473e-08, + -3.771914829223115e-08, + -3.452893653809079e-08, + -3.1479454899451217e-08, + -2.8567400727003014e-08, + -2.578920167941696e-08, + -2.3141066448971233e-08, + -2.0619031029456084e-08, + -1.8219001036892245e-08, + -1.593678965538651e-08, + -1.3768151844124297e-08, + -1.1708814604955395e-08, + -9.75450390906759e-09, + -7.900968161205913e-09, + -6.1439982821623734e-09, + -4.479445543441677e-09, + -2.903236085453812e-09, + -1.4113837817747446e-09, + 1.0848558415769772e-09, + 2.2360965761926033e-09, + 3.457496961636287e-09, + 4.753002825569905e-09, + 6.126731785676066e-09, + 7.582972573502667e-09, + 9.126182732969855e-09, + 1.0760984335121906e-08, + 1.2492157448607369e-08, + 1.4324630916086746e-08, + 1.6263470095020804e-08, + 1.8313861089055383e-08, + 2.0481091003352814e-08, + 2.277052373736976e-08, + 2.518757081820811e-08, + 2.7737656746704475e-08, + 3.0426178370052854e-08, + 3.325845784565716e-08, + 3.6239688768715036e-08, + 3.9374875237924014e-08, + 4.2668763634834826e-08, + 4.6125767228930084e-08, + 4.9749883805813424e-08, + 5.354460692539945e-08, + 5.751283160884348e-08, + 6.165675574473194e-08, + 6.597777874601723e-08, + 7.047639954151246e-08, + 7.51521161786244e-08, + 8.000332966413725e-08, + 8.502725496235756e-08, + 9.021984200211065e-08, + 9.55757094348566e-08, + 1.0108809377956119e-07, + 1.0674881577931349e-07, + 1.125482655236632e-07, + 1.1847540685900197e-07, + 1.245178010030958e-07, + 1.306616485507705e-07, + 1.368918485095129e-07, + 1.4319207292210188e-07, + 1.4954485548117936e-07, + 1.5593169292550326e-07, + 1.623331587495235e-07, + 1.6872902892423367e-07, + 1.7509842034555242e-07, + 1.81419942553733e-07, + 1.876718635663014e-07, + 1.9383229013480887e-07, + 1.9987936193837926e-07, + 2.0579145866463625e-07, + 2.1154741727140292e-07, + 2.1712675645517877e-07, + 2.2250990400797042e-07, + 2.2767842231173463e-07, + 2.3261522690902037e-07, + 2.3730479279401136e-07, + 2.4173334335827803e-07, + 2.458890170235447e-07, + 2.497620073532768e-07, + 2.5334467269709046e-07, + 2.5663161265562194e-07, + 2.596197089628746e-07, + 2.623081299620164e-07, + 2.646982983962961e-07, + 2.6679382365789194e-07, + 2.686004003523382e-07, + 2.701256764464496e-07, + 2.713790949478089e-07, + 2.72371713848822e-07, + 2.7311600972140677e-07, + 2.736256706473816e-07, + 2.739153839744781e-07, + 2.7400062426528556e-07, + 2.7389744578872117e-07, + 2.736222831498507e-07, + 2.7319176231413526e-07, + 2.726225233952862e-07, + 2.7193105540672933e-07, + 2.711335428081636e-07, + 2.702457234537734e-07, + 2.692827577414071e-07, + 2.6825910944297906e-07, + 2.6718843915679496e-07, + 2.6608351200929877e-07, + 2.6495612157661865e-07, + 2.638170316687184e-07, + 2.626759378396163e-07, + 2.615414490524758e-07, + 2.604210897249967e-07, + 2.593213210389848e-07, + 2.582475797418113e-07, + 2.572043318938983e-07, + 2.561951386611626e-07, + 2.5522273086017544e-07, + 2.542890892430205e-07, + 2.5339552739228945e-07, + 2.525427746363548e-07, + 2.517310569405284e-07, + 2.509601737208774e-07, + 2.502295696333198e-07, + 2.495384002016669e-07, + 2.488855910055732e-07, + 2.4826989013753386e-07, + 2.4768991405728825e-07, + 2.471441871337645e-07, + 2.4663117519776685e-07, + 2.461493137138729e-07, + 2.456970309665954e-07, + 2.4527276692041136e-07, + 2.4487498825415137e-07, + 2.445022000298738e-07, + 2.441529546039289e-07, + 2.4382585809267905e-07, + 2.435195748250054e-07, + 2.432328302016382e-07, + 2.4296441215132145e-07, + 2.427131715284881e-07, + 2.424780216598135e-07, + 2.422579372057741e-07, + 2.4205195250441623e-07, + 2.418591595861126e-07, + 2.416787058760465e-07, + 2.4150979175438616e-07, + 2.4135166796663266e-07, + 2.412036330698609e-07, + 2.4106503077457896e-07, + 1.9780355056672761e-07, + 1.9133183640152305e-07, + 1.8450951207210813e-07, + 1.7732200896839194e-07, + 1.6975472898015664e-07, + 1.617931341833628e-07, + 1.534228495362643e-07, + 1.4462977916660546e-07, + 1.354002374299055e-07, + 1.2572109549831067e-07, + 1.155799440735308e-07, + 1.0496527306014803e-07, + 9.38666684531171e-08, + 8.227502650594955e-08, + 7.018278549035446e-08, + 5.7584174062265747e-08, + 4.4475475725606885e-08, + 3.0855308174785195e-08, + 1.6724915066871873e-08, + 2.0884686205146627e-09, + -1.304662113612271e-08, + -2.8669393487246087e-08, + -4.476502559726791e-08, + -6.131452801970044e-08, + -7.829445363759483e-08, + -9.567662655801325e-08, + -1.1342789956682416e-07, + -1.3150994862015812e-07, + -1.4987911318522686e-07, + -1.684862924884141e-07, + -1.8727690738669875e-07, + -2.0619093730083072e-07, + -2.2516304184971606e-07, + -2.4412277597369344e-07, + -2.6299490534135555e-07, + -2.8169982824027884e-07, + -3.0015410783572354e-07, + -3.182711158775649e-07, + -3.3596178652611606e-07, + -3.5313547498789976e-07, + -3.697009133578481e-07, + -3.855672509076255e-07, + -4.0064516402568184e-07, + -4.148480153714333e-07, + -4.2809304103513486e-07, + -4.4030253947402986e-07, + -4.5140503546098607e-07, + -4.6133638981221863e-07, + -4.7004082702276467e-07, + -4.77471850875473e-07, + -4.835930241096909e-07, + -4.883785862503696e-07, + -4.918138928982758e-07, + -4.938956594300664e-07, + -4.946320032566242e-07, + -4.940422795467505e-07, + -4.921567153168198e-07, + -4.890158524681102e-07, + -4.846698139140549e-07, + -4.791774154633585e-07, + -4.726051477045998e-07, + -4.6502605709397467e-07, + -4.565185565108332e-07, + -4.471651966266626e-07, + -4.3705142945426584e-07, + -4.2626439298451127e-07, + -4.148917438374281e-07, + -4.030205612977773e-07, + -3.907363423267835e-07, + -3.781221026582287e-07, + -3.6525759396235e-07, + -3.522186444903934e-07, + -3.3907662423734236e-07, + -3.258980334237354e-07, + -3.127442096715762e-07, + -2.9967114644966503e-07, + -2.867294123472222e-07, + -2.7396416180621226e-07, + -2.614152245115607e-07, + -2.4911726158690485e-07, + -2.370999765345917e-07, + -2.2538836935561113e-07, + -2.140030238327851e-07, + -2.0296041572096759e-07, + -1.922732363072677e-07, + -1.8195072088709168e-07, + -1.7199897684974988e-07, + -1.624213057812603e-07, + -1.532185151256315e-07, + -1.443892162453582e-07, + -1.359301053517509e-07, + -1.2783622752310972e-07, + -1.201012206319147e-07, + -1.1271754008188277e-07, + -1.0567666367554102e-07, + -9.896927709217908e-08, + -9.25854407769788e-08, + -8.651473877188762e-08, + -8.074641060699144e-08, + -7.526946723952573e-08, + -7.007279277757693e-08, + -6.514523197352567e-08, + -6.047566613752232e-08, + -5.605307703735488e-08, + -5.186660164839149e-08, + -4.79055769427611e-08, + -4.415957698796754e-08, + -4.061844323960523e-08, + -3.7272307821982e-08, + -3.411161180510155e-08, + -3.112711857361187e-08, + -2.8309922696286297e-08, + -2.565145551348856e-08, + -2.3143487585100833e-08, + -2.0778128510366898e-08, + -1.854782428467814e-08, + -1.6445353142901188e-08, + -1.446381988707563e-08, + -1.2596648417041096e-08, + -1.083757411088882e-08, + -9.18063472035738e-09, + -7.620161026474072e-09, + -6.1507668807361564e-09, + -4.767339133160632e-09, + -3.4650271795917953e-09, + -2.2392325946121615e-09, + -1.0855986437471065e-09, + -0.00012805439721726234, + 0.00011973067693647986, + 0.00011960480043226829, + 0.00011944476761376298, + 0.00011924531161406192, + 0.00011900052290389026, + 0.00011870379400494292, + 0.00011834776513092799, + 0.00011792427276348554, + 0.00011742430382017512, + 0.00011683795878817484, + 0.00011615442808273155, + 0.00011536198685753144, + 0.00011444801460547099, + 0.00011339904704911641, + 0.00011220086899384587, + 0.00011083865794661701, + 0.00010929718918780249, + 0.00010756111349654869, + 0.00010561531860755626, + 0.00010344538438201742, + 0.00010103813930105577, + 9.838232175425369e-05, + 9.54693433490181e-05, + 9.22941426935766e-05, + 8.885610664800425e-05, + 8.516002189687233e-05, + 8.121700345360417e-05, + 7.704532936222531e-05, + 7.267109437326307e-05, + 6.812858235803617e-05, + 6.346025120009079e-05, + 5.871622882539487e-05, + 5.395323880472343e-05, + 4.923291148437263e-05, + 4.4619492681920225e-05, + 4.017703397745884e-05, + 3.5966229641271975e-05, + 3.204114368996351e-05, + 2.8446131331761467e-05, + 2.521328585675272e-05, + 2.2360721258316668e-05, + 1.9891926205811276e-05, + 1.779630113537324e-05, + 1.6050834572045038e-05, + 1.4622715268913133e-05, + 1.3472546006910111e-05, + 1.2557751531130198e-05, + 1.1835773294526241e-05, + 1.1266715552871445e-05, + 1.0815231398421197e-05, + 1.0451582198960339e-05, + 1.0151936310217472e-05, + 9.898067191741148e-06, + 9.676655371223031e-06, + 9.478395835714024e-06, + 9.297075820541695e-06, + 9.128735194340861e-06, + 8.970968586295339e-06, + 8.822385441077482e-06, + 8.682215487952397e-06, + 8.550031863536696e-06, + 8.425558719564891e-06, + 8.308530278159722e-06, + 8.1985702644875e-06, + 8.095062076293668e-06, + 7.99698007563964e-06, + 7.902651656782121e-06, + 7.809420371992584e-06, + 7.713185766191249e-06, + 7.607809694012413e-06, + 7.484405234564506e-06, + 7.330563725990951e-06, + 7.129624159689372e-06, + 6.860137301426216e-06, + 6.495709157290588e-06, + 6.0054076253126764e-06, + 5.354869361355792e-06, + 4.508148904055305e-06, + 3.4302217695065806e-06, + 2.0899145976317676e-06, + 4.6292280307748e-07, + -1.465479207299674e-06, + -3.698410873894013e-06, + -6.226324984778352e-06, + -9.027053602474964e-06, + -1.2066937261212903e-05, + -1.530286671194356e-05, + -1.8684961233429827e-05, + -2.2159558213006694e-05, + -2.5672194888326306e-05, + -2.9170313365242673e-05, + -3.260549694295436e-05, + -3.5935131339996815e-05, + -3.912346380674159e-05, + -4.214209667019635e-05, + -4.4969995230064256e-05, + -4.7593113273009526e-05, + -5.0003745767347706e-05, + -5.219971201093252e-05, + -5.4183458266712385e-05, + -5.5961150832736744e-05, + -5.7541811696847875e-05, + -5.893653153765648e-05, + -6.015778006055083e-05, + -6.121882196087101e-05, + -6.213323819961349e-05, + -6.29145464001961e-05, + -6.357591060418507e-05, + -6.412992879235665e-05, + -6.45884860960843e-05, + -6.496266196232606e-05, + -6.526268048868631e-05, + -6.549789435528613e-05, + -6.56767941287569e-05, + -6.580703604973824e-05, + -6.589548267168423e-05, + -6.594825183743097e-05, + -6.597077046991011e-05, + -6.59678304730489e-05, + -6.594364473380884e-05, + -6.590190177327333e-05, + -6.584581803580567e-05, + -6.577818716434761e-05, + -6.570142586801955e-05, + -6.561761619524585e-05, + -6.552854417646108e-05, + -6.54357349036622e-05, + -6.534048418746303e-05, + 3.711544666157258e-08, + 7.576247017395204e-08, + 1.1593146955751203e-07, + 1.575993103814625e-07, + 2.0072709171000828e-07, + 2.4525767205973524e-07, + 2.911129449833533e-07, + 3.3819085902773687e-07, + 3.863621825807948e-07, + 4.3546702177107205e-07, + 4.853111095756595e-07, + 5.356618967742442e-07, + 5.862444909912735e-07, + 6.367375088081483e-07, + 6.86768928096579e-07, + 7.359120533997303e-07, + 7.83681735811823e-07, + 8.295310197622095e-07, + 8.728484213062419e-07, + 9.129560737537241e-07, + 9.491090031286856e-07, + 9.804958169043619e-07, + 1.0062410953436528e-06, + 1.0254097637470986e-06, + 1.0370136891800769e-06, + 1.0400206756559833e-06, + 1.033365929711764e-06, + 1.0159659220695896e-06, + 9.86734387230272e-07, + 9.445999839097179e-07, + 8.885249015245281e-07, + 8.175234619260184e-07, + 7.306795641136312e-07, + 6.271616913508531e-07, + 5.06234184445572e-07, + 3.67263618807886e-07, + 2.0971942871789813e-07, + 3.316839792462825e-08, + -1.6273675487347447e-07, + -3.782737885409613e-07, + -6.136707939364e-07, + -8.69127430144866e-07, + -1.1448352198537224e-06, + -1.440994632402848e-06, + -1.7578270580480753e-06, + -2.0955804236566065e-06, + -2.4545279958695335e-06, + -2.8349607383803284e-06, + -3.237174267931814e-06, + -3.6614519101383063e-06, + -4.108045528422329e-06, + -4.577155721180354e-06, + -5.068912723698032e-06, + -5.583358988329847e-06, + -6.120434061030746e-06, + -6.679962065405966e-06, + -7.261641886603773e-06, + -7.865040012546966e-06, + -8.48958593137517e-06, + -9.134569956274708e-06, + -9.79914334231195e-06, + -1.048232056231527e-05, + -1.1182983563630346e-05, + -1.1899887796151692e-05, + -1.2631669701711184e-05, + -1.3376855240408319e-05, + -1.413386888058705e-05, + -1.4901042302560658e-05, + -1.567662189926461e-05, + -1.6458774052989413e-05, + -1.7245587171865862e-05, + -1.8035069691101962e-05, + -1.882514372733152e-05, + -1.9613634853057036e-05, + -2.039825947921591e-05, + -2.1176612450704076e-05, + -2.1946158422395878e-05, + -2.2704231132087568e-05, + -2.3448044567259137e-05, + -2.417471911126408e-05, + -2.4881324121609243e-05, + -2.556493625119821e-05, + -2.6222710578624333e-05, + -2.685195967255889e-05, + -2.7450234430715264e-05, + -2.8015400124284764e-05, + -2.8545701591448263e-05, + -2.9039812739750294e-05, + -2.949686728206148e-05, + -2.9916469541937933e-05, + -3.0298685958418797e-05, + -3.06440194304532e-05, + -3.095336966366029e-05, + -3.1227983244327284e-05, + -3.146939728660568e-05, + -3.1679380262376986e-05, + -3.185987314113096e-05, + -3.201293336234465e-05, + -3.21406834807109e-05, + -3.2245265712455836e-05, + -3.23288030231247e-05, + -3.2393366948210966e-05, + -3.2440951969762007e-05, + -3.2473456018118305e-05, + -3.249266649365072e-05, + -3.250025112897037e-05, + -3.2497752960279234e-05, + -3.2486588713154154e-05, + -3.246804992690793e-05, + -3.244330622034894e-05, + -3.24134101714074e-05, + -3.237930334457634e-05, + -3.23418230945075e-05, + -3.2301709820137877e-05, + -3.225961442234989e-05, + -3.221610576376137e-05, + -3.217167798051833e-05, + -3.212675753169605e-05, + -3.208170990779569e-05, + -3.2036845944399636e-05, + -3.199242771383522e-05, + -3.19486739734415e-05, + -3.190576517410925e-05, + -3.1863848037332255e-05, + -3.182303970990251e-05, + -3.1783431522314637e-05, + -3.17450923733909e-05, + -3.167020250592385e-05, + -3.163046002098293e-05, + -3.158826181720234e-05, + -3.1543463342344526e-05, + -3.149591246815405e-05, + -3.144544921289171e-05, + -3.139190547635352e-05, + -3.1335104778496335e-05, + -3.127486201873761e-05, + -3.12109832457278e-05, + -3.114326545449421e-05, + -3.107149640881675e-05, + -3.099545449391419e-05, + -3.091490861131479e-05, + -3.082961811652132e-05, + -3.073933280826651e-05, + -3.0643792982423206e-05, + -3.054272955053142e-05, + -3.043586423969989e-05, + -3.0322909878257457e-05, + -3.020357078279812e-05, + -3.0077543253236585e-05, + -2.9944516188611918e-05, + -2.980417183602278e-05, + -2.965618668256147e-05, + -2.950023250655229e-05, + -2.933597759104072e-05, + -2.9163088120634902e-05, + -2.8981229763500163e-05, + -2.8790069451703246e-05, + -2.858927736423003e-05, + -2.8378529123315633e-05, + -2.81575081995342e-05, + -2.7925908527408675e-05, + -2.7683437334201147e-05, + -2.742981816197186e-05, + -2.7164794080174096e-05, + -2.6888131065897177e-05, + -2.6599621526939758e-05, + -2.6299087943607092e-05, + -2.5986386586097642e-05, + -2.566141126802782e-05, + -2.5324097093996112e-05, + -2.4974424127646803e-05, + -2.461242094454874e-05, + -2.4238167977501674e-05, + -2.385180060871327e-05, + -2.3453511916834264e-05, + -2.3043555018797244e-05, + -2.2622244921873487e-05, + -2.2189959827609666e-05, + -2.174714181242228e-05, + -2.1294296828110634e-05, + -2.0831993977068047e-05, + -2.0360864024895286e-05, + -1.9881597118815034e-05, + -1.9394939715492396e-05, + -1.8901690718747044e-05, + -1.840269685580344e-05, + -1.789884734254942e-05, + -1.7391067885224836e-05, + -1.688031412389532e-05, + -1.6367564581204637e-05, + -1.5853813248567185e-05, + -1.534006191608657e-05, + -1.4827312374127518e-05, + -1.4316558612639611e-05, + -1.3808779156143254e-05, + -1.330492964191186e-05, + -1.2805935779854633e-05, + -1.2312686783060726e-05, + -1.1826029380827896e-05, + -1.1346762474994068e-05, + -1.0875632522713268e-05, + -1.0413329672549739e-05, + -9.96048468819804e-06, + -9.517666673492245e-06, + -9.085381580336065e-06, + -8.664071483727131e-06, + -8.254114585837835e-06, + -7.855825895283436e-06, + -7.469458527237841e-06, + -7.0952055603969706e-06, + -6.733202377729175e-06, + -6.38352941253108e-06, + -6.0462152386779646e-06, + -5.72123992245517e-06, + -5.408538565179302e-06, + -5.108004982371797e-06, + -4.819495443161053e-06, + -4.542832430065264e-06, + -4.277808348791276e-06, + -4.0241891775086776e-06, + -3.7817179849420414e-06, + -3.550118313772702e-06, + -3.3290973902039398e-06, + -3.1183491504171164e-06, + -2.9175570629861815e-06, + -2.726396752104127e-06, + -2.544538395637489e-06, + -2.371648925595189e-06, + -2.2073940108384024e-06, + -2.051439834877034e-06, + -1.9034546812877467e-06, + -1.763110329400998e-06, + -1.6300832655093027e-06, + -1.5040557363605634e-06, + -1.3847166415719742e-06, + -1.2717622811775653e-06, + -1.1648969700167275e-06, + -1.063833538720754e-06, + -9.682937137104356e-07, + -8.7800840593498e-07, + -7.927179108934104e-07, + -7.121720285326651e-07, + -6.361301143494979e-07, + -5.643610683305751e-07, + -4.966432778425959e-07, + -4.3276450484896746e-07, + -3.725217454430473e-07, + -3.157210488059365e-07, + -2.6217731207968243e-07, + -2.1171405656147514e-07, + -1.6416318233399868e-07, + -1.1936470740359217e-07, + -7.716650386152158e-08, + -3.742401936490366e-08, + -3.170762652532586e-05, + -3.170762652532586e-05, + -3.1890710469584045e-05, + 3.194856177517132e-05, + -3.1927219535446904e-05, + 3.191156564157039e-05 + ], + "diagnostics": { + "charge_balance_relative": 2.845091025598589e-18, + "interface_current_spread_relative": 1.463826731843627e-09, + "iteration": 3, + "linear_backward_error": 3.244129049735671e-17, + "scaled_nonlinear_residual": 0.053230520214829116, + "solver_current_spread_relative": 8.586137044685161e-09 + }, + "dt_s": 0.00011393063141266287, + "independent_physics": { + "arrays": { + "charge_balance_absolute_A_m2": 1.147216791549794e-18, + "charge_balance_scale_A_m2": 1.0, + "charge_rate_A_m2": 7.120178035553309e-09, + "contact_conduction_A_m2": [ + -1.1270911939805262e-05, + -1.1278032117839668e-05 + ], + "contact_displacement_A_m2": [ + -6.37751138316865e-06, + -6.370391204022433e-06 + ], + "contact_total_A_m2": [ + -1.764842332297391e-05, + -1.76484233218621e-05 + ], + "electron_current_A_m2": [ + -6.4427170070689075e-06, + -6.442717007295028e-06, + -6.442717007794791e-06, + -6.442717008623519e-06, + -6.442717009845567e-06, + -6.442717011536034e-06, + -6.44271701378217e-06, + -6.4427170166852675e-06, + -6.4427170203631566e-06, + -6.44271702495191e-06, + -6.4427170306097616e-06, + -6.4427170375194404e-06, + -6.442717045892472e-06, + -6.442717055973452e-06, + -6.442717068044568e-06, + -6.4427170824314134e-06, + -6.442717099509487e-06, + -6.442717119711152e-06, + -6.442717143533834e-06, + -6.4427171715493135e-06, + -6.442717204413976e-06, + -6.442717242880554e-06, + -6.442717287811206e-06, + -6.442717340191749e-06, + -6.442717401148084e-06, + -6.442717471963758e-06, + -6.442717554099278e-06, + -6.442717649214365e-06, + -6.442717759189551e-06, + -6.44271788615258e-06, + -6.442718032503866e-06, + -6.442718200945051e-06, + -6.442718394508305e-06, + -6.442718616586635e-06, + -6.442718870964357e-06, + -6.442719161848268e-06, + -6.4427194938969796e-06, + -6.442719872249659e-06, + -6.442720302551118e-06, + -6.442720790973819e-06, + -6.442721344234622e-06, + -6.442721969604311e-06, + -6.442722674910351e-06, + -6.442723468528972e-06, + -6.442724359365845e-06, + -6.442725356825459e-06, + -6.442726470763747e-06, + -6.442727711428332e-06, + -6.442729089379247e-06, + -6.442730615394287e-06, + -6.442732300357237e-06, + -6.442734155128088e-06, + -6.442736190398413e-06, + -6.44273841653167e-06, + -6.442740843392755e-06, + -6.442743480166862e-06, + -6.442746335174806e-06, + -6.442749415686106e-06, + -6.442752727736287e-06, + -6.442756275952089e-06, + -6.4427600633909684e-06, + -6.4427640913990675e-06, + -6.4427683594932e-06, + -6.442772865270068e-06, + -6.442777604347836e-06, + -6.442782570342298e-06, + -6.442787754878709e-06, + -6.442793147641994e-06, + -6.442798736462322e-06, + -6.442804507436984e-06, + -6.442810445083848e-06, + -6.442816532523959e-06, + -6.4428227516880385e-06, + -6.442829083541302e-06, + -6.44283550832245e-06, + -6.442842005788252e-06, + -6.44284855545978e-06, + -6.44285513686464e-06, + -6.442861729767958e-06, + -6.442868314389872e-06, + -6.442874871603583e-06, + -6.442881383112362e-06, + -6.44288783160234e-06, + -6.442894200869239e-06, + -6.442900475920763e-06, + -6.442906643051014e-06, + -6.442912689892161e-06, + -6.442918605440674e-06, + -6.442924380063588e-06, + -6.442930005483959e-06, + -6.4429354747498794e-06, + -6.44294078218854e-06, + -6.442945923348826e-06, + -6.442950894934165e-06, + -6.44295569472675e-06, + -6.442960321509448e-06, + -6.44296477498232e-06, + -6.442969055678028e-06, + -6.442973164878606e-06, + -6.442977104532822e-06, + -6.4429808771761e-06, + -6.442984485853252e-06, + -6.442987934046642e-06, + -6.442991225607348e-06, + -6.442994364691398e-06, + -6.44299735570132e-06, + -6.44300020323222e-06, + -6.443002912023831e-06, + -6.443005486914455e-06, + -6.443007932804474e-06, + -6.443010254618947e-06, + -6.443012457278511e-06, + -6.443014545671414e-06, + -6.44301652463136e-06, + -6.443018398918223e-06, + -6.443020173199784e-06, + -6.443021852037255e-06, + -6.4430234398788195e-06, + -6.4430249410433144e-06, + -6.443026359719493e-06, + -6.443027699955729e-06, + -6.443028965661174e-06, + -6.4430301605990345e-06, + -6.443031288388853e-06, + -6.443032352503564e-06, + -6.4430333562731565e-06, + -6.443034302883441e-06, + -6.443035628222813e-06, + -6.450157362447342e-06, + -6.450158036470133e-06, + -6.450158750996887e-06, + -6.450159508202829e-06, + -6.450160310456442e-06, + -6.4501611601395015e-06, + -6.450162059811885e-06, + -6.450163012038298e-06, + -6.45016401956713e-06, + -6.450165085208536e-06, + -6.450166211794625e-06, + -6.450167402350766e-06, + -6.450168659900103e-06, + -6.450169987602631e-06, + -6.4501713885954e-06, + -6.450172866145417e-06, + -6.45017442350398e-06, + -6.450176063993871e-06, + -6.450177790881269e-06, + -6.4501796074747805e-06, + -6.450181517017957e-06, + -6.450183522693623e-06, + -6.450185627601977e-06, + -6.45018783469169e-06, + -6.450190146786157e-06, + -6.450192566485923e-06, + -6.450195096163015e-06, + -6.450197737898042e-06, + -6.4502004934269254e-06, + -6.450203364129356e-06, + -6.450206350894874e-06, + -6.450209454150789e-06, + -6.450212673761196e-06, + -6.4502160089587805e-06, + -6.450219458312202e-06, + -6.450223019638171e-06, + -6.450226689991005e-06, + -6.45023046554465e-06, + -6.450234341600074e-06, + -6.450238312524038e-06, + -6.450242371700313e-06, + -6.450246511537999e-06, + -6.4502507234358365e-06, + -6.450254997801554e-06, + -6.450259324062421e-06, + -6.450263690718273e-06, + -6.450268085374016e-06, + -6.450272494842697e-06, + -6.4502769052262775e-06, + -6.450281302044246e-06, + -6.450285670370104e-06, + -6.450289994987726e-06, + -6.450294260563769e-06, + -6.4502984518455476e-06, + -6.450302553855189e-06, + -6.450306552085379e-06, + -6.4503104327256926e-06, + -6.450314182842462e-06, + -6.450317790582978e-06, + -6.450321245351279e-06, + -6.450324537956561e-06, + -6.4503276607435194e-06, + -6.450330607697465e-06, + -6.450333374498132e-06, + -6.4503359585548744e-06, + -6.450338359000761e-06, + -6.4503405766465975e-06, + -6.450342613900689e-06, + -6.4503444746674095e-06, + -6.45034616420509e-06, + -6.450347688975592e-06, + -6.45034905646424e-06, + -6.45035027500014e-06, + -6.4503513535678705e-06, + -6.450352301620124e-06, + -6.450353128895823e-06, + -6.450353845250416e-06, + -6.4503544605045755e-06, + -6.450354984299125e-06, + -6.450355425981474e-06, + -6.450355794504726e-06, + -6.4503560983483955e-06, + -6.4503563454598945e-06, + -6.450356543214044e-06, + -6.450356698387185e-06, + -6.450356817150394e-06, + -6.450356905076135e-06, + -6.450356967145337e-06, + -6.450357007779276e-06, + -6.45035703086522e-06, + -6.4503570397927625e-06, + -6.450357037493529e-06, + -6.450357026475988e-06, + -6.4503570088720086e-06, + -6.450356986471877e-06, + -6.45035696076485e-06, + -6.450356932975405e-06, + -6.450356904095903e-06, + -6.450356874920063e-06, + -6.450356846071624e-06, + -6.450356818025385e-06, + -6.450356791138987e-06, + -6.450356765665477e-06, + -6.4503567417753644e-06, + -6.450356719571708e-06, + -6.450356699100296e-06, + -6.45035668036841e-06, + -6.450356663344447e-06, + -6.450356647977673e-06, + -6.450356634194602e-06, + -6.450356621907867e-06, + -6.45035661102804e-06, + -6.450356601453688e-06, + -6.450356593083976e-06, + -6.450356585822867e-06, + -6.450356579569312e-06, + -6.450356574231506e-06, + -6.450356569721737e-06, + -6.450356565951533e-06, + -6.450356562842273e-06, + -6.450356560323981e-06, + -6.450356558326386e-06, + -6.450356556784841e-06, + -6.450356555648794e-06, + -6.450356554858174e-06, + -6.4503565543768355e-06, + -6.450356554152193e-06 + ], + "hole_current_A_m2": [ + -4.828194932736355e-06, + -4.828194932509977e-06, + -4.8281949320103055e-06, + -4.82819493118143e-06, + -4.828194929959293e-06, + -4.828194928268524e-06, + -4.828194926022171e-06, + -4.828194923118572e-06, + -4.828194919440405e-06, + -4.828194914850972e-06, + -4.828194909192595e-06, + -4.82819490228213e-06, + -4.828194893908151e-06, + -4.828194883826153e-06, + -4.828194871753904e-06, + -4.828194857365661e-06, + -4.828194840286111e-06, + -4.828194820082716e-06, + -4.828194796258083e-06, + -4.828194768240526e-06, + -4.828194735373379e-06, + -4.828194696904199e-06, + -4.828194651970686e-06, + -4.828194599587029e-06, + -4.82819453862728e-06, + -4.828194467808375e-06, + -4.828194385668876e-06, + -4.8281942905499125e-06, + -4.828194180570665e-06, + -4.82819405360339e-06, + -4.828193907247936e-06, + -4.828193738802598e-06, + -4.828193545235305e-06, + -4.828193323153357e-06, + -4.828193068772043e-06, + -4.8281927778854825e-06, + -4.828192445834504e-06, + -4.82819206748049e-06, + -4.8281916371788856e-06, + -4.828191148757405e-06, + -4.828190595499435e-06, + -4.828189970134403e-06, + -4.828189264835233e-06, + -4.828188471226139e-06, + -4.828187580401824e-06, + -4.828186582958112e-06, + -4.82818546903924e-06, + -4.8281842283985525e-06, + -4.828182850476646e-06, + -4.828181324495251e-06, + -4.828179639572125e-06, + -4.828177784847618e-06, + -4.828175749630515e-06, + -4.82817352355813e-06, + -4.828171096766195e-06, + -4.82816846007028e-06, + -4.828165605149842e-06, + -4.828162524736578e-06, + -4.828159212795136e-06, + -4.828155664699788e-06, + -4.82815187739302e-06, + -4.828147849529973e-06, + -4.828143581593962e-06, + -4.828139075988762e-06, + -4.828134337096485e-06, + -4.8281293713021065e-06, + -4.828124186979991e-06, + -4.828118794445674e-06, + -4.828113205869042e-06, + -4.8281074351526815e-06, + -4.828101497778546e-06, + -4.8280954106255055e-06, + -4.828089191762295e-06, + -4.828082860222913e-06, + -4.82807643576855e-06, + -4.8280699386417685e-06, + -4.828063389320261e-06, + -4.828056808275783e-06, + -4.828050215742352e-06, + -4.828043631498732e-06, + -4.8280370746702155e-06, + -4.8280305635526485e-06, + -4.828024115458735e-06, + -4.828017746590864e-06, + -4.828011471940909e-06, + -4.8280053052131815e-06, + -4.827999258773553e-06, + -4.8279933436251004e-06, + -4.827987569398599e-06, + -4.827981944371324e-06, + -4.827976475492681e-06, + -4.8279711684347615e-06, + -4.827966027648409e-06, + -4.827961056428583e-06, + -4.827956256992762e-06, + -4.827951630556973e-06, + -4.827947177421796e-06, + -4.827942897052822e-06, + -4.8279387881679536e-06, + -4.827934848818745e-06, + -4.827931076469528e-06, + -4.827927468074631e-06, + -4.827924020152544e-06, + -4.827920728852089e-06, + -4.827917590017018e-06, + -4.827914599245712e-06, + -4.827911751941246e-06, + -4.827909043367014e-06, + -4.8279064686826435e-06, + -4.8279040229895525e-06, + -4.827901701362433e-06, + -4.827899498879862e-06, + -4.827897410656229e-06, + -4.827895431856015e-06, + -4.827893557721717e-06, + -4.8278917835835425e-06, + -4.827890104881543e-06, + -4.827888517168859e-06, + -4.827887016126039e-06, + -4.827885597565713e-06, + -4.827884257439125e-06, + -4.827882991836531e-06, + -4.82788179699477e-06, + -4.827880669297549e-06, + -4.827879605268169e-06, + -4.827878601579927e-06, + -4.827877655047744e-06, + -4.82787632984037e-06, + -4.8278747285332765e-06, + -4.827874054611191e-06, + -4.827873340221904e-06, + -4.827872583137365e-06, + -4.827871781033104e-06, + -4.82787093148842e-06, + -4.827870031985371e-06, + -4.827869079909971e-06, + -4.82786807255413e-06, + -4.8278670071172355e-06, + -4.827865880709905e-06, + -4.827864690359135e-06, + -4.827863433013316e-06, + -4.827862105550455e-06, + -4.827860704787033e-06, + -4.827859227488304e-06, + -4.827857670382484e-06, + -4.827856030174231e-06, + -4.827854303563803e-06, + -4.827852487265617e-06, + -4.827850578032159e-06, + -4.827848572679401e-06, + -4.8278464681154415e-06, + -4.827844261373055e-06, + -4.827841949644765e-06, + -4.827839530322003e-06, + -4.827837001037145e-06, + -4.827834359709384e-06, + -4.827831604593508e-06, + -4.827828734331525e-06, + -4.827825748008143e-06, + -4.827822645206932e-06, + -4.827819426068881e-06, + -4.827816091352515e-06, + -4.827812642493292e-06, + -4.82780908166261e-06, + -4.827805411823883e-06, + -4.8278016367863475e-06, + -4.8277977612531904e-06, + -4.8277937908617505e-06, + -4.827789732218194e-06, + -4.8277855929185e-06, + -4.827781381558887e-06, + -4.827777107731869e-06, + -4.827772782005867e-06, + -4.827768415886476e-06, + -4.827764021760345e-06, + -4.827759612816462e-06, + -4.827755202949384e-06, + -4.8277508066387995e-06, + -4.827746438811414e-06, + -4.827742114682123e-06, + -4.827737849579775e-06, + -4.8277336587580905e-06, + -4.8277295571965e-06, + -4.827725559395914e-06, + -4.8277216791720535e-06, + -4.827717929454406e-06, + -4.8277143220947275e-06, + -4.827710867690864e-06, + -4.827707575432809e-06, + -4.827704452973727e-06, + -4.827701506331927e-06, + -4.82769873982607e-06, + -4.827696156045822e-06, + -4.827693755859632e-06, + -4.827691538458333e-06, + -4.827689501432192e-06, + -4.827687640878385e-06, + -4.827685951537751e-06, + -4.827684426951539e-06, + -4.827683059633458e-06, + -4.827681841254938e-06, + -4.827680762832501e-06, + -4.827679814914336e-06, + -4.827678987762175e-06, + -4.827678271520415e-06, + -4.827677656370396e-06, + -4.827677132670783e-06, + -4.827676691074974e-06, + -4.827676322631066e-06, + -4.827676018859232e-06, + -4.827675771812952e-06, + -4.8276755741186745e-06, + -4.827675418999804e-06, + -4.827675300284245e-06, + -4.827675212403226e-06, + -4.8276751503742135e-06, + -4.827675109775646e-06, + -4.827675086722061e-06, + -4.827675077822565e-06, + -4.827675080149002e-06, + -4.827675091189177e-06, + -4.82767510881432e-06, + -4.827675131232986e-06, + -4.827675156956578e-06, + -4.827675184761209e-06, + -4.827675213652666e-06, + -4.827675242840443e-06, + -4.827675271699506e-06, + -4.827675299754678e-06, + -4.8276753266486485e-06, + -4.827675352129794e-06, + -4.8276753760260895e-06, + -4.827675398235054e-06, + -4.827675418711847e-06, + -4.827675437448117e-06, + -4.827675454473811e-06, + -4.827675469844811e-06, + -4.827675483630771e-06, + -4.827675495918923e-06, + -4.8276755068011715e-06, + -4.827675516379331e-06, + -4.8276755247496065e-06, + -4.827675532009939e-06, + -4.827675538265558e-06, + -4.827675543603774e-06, + -4.827675548116135e-06, + -4.827675551885171e-06, + -4.82767555499728e-06, + -4.827675557513381e-06, + -4.827675559512217e-06, + -4.827675561053468e-06, + -4.827675562191139e-06, + -4.827675562976614e-06, + -4.827675563465696e-06, + -4.827675563687474e-06 + ], + "initial_positive_inventory_m2": [ + 999999999999999.8 + ], + "interface_conduction_A_m2": [ + [ + -1.1270911958063184e-05, + -1.1278032090660114e-05 + ] + ], + "interface_displacement_A_m2": [ + [ + -6.377511368771359e-06, + -6.370391210340196e-06 + ] + ], + "interface_total_A_m2": [ + [ + -1.7648423326834542e-05, + -1.764842330100031e-05 + ] + ], + "internal_conduction_A_m2": [ + -1.1330557979842362e-05, + -1.1453625446647581e-05, + -1.1584368040123284e-05, + -1.1723211613777956e-05, + -1.1870593944052913e-05, + -1.202696236458727e-05, + -1.2192770689350962e-05, + -1.2368475299104032e-05, + -1.2554530254069107e-05, + -1.2751381284067358e-05, + -1.2959458500555713e-05, + -1.3179167672744914e-05, + -1.3410879914431855e-05, + -1.3654919644870973e-05, + -1.391155071854167e-05, + -1.418096066775753e-05, + -1.4463243077639562e-05, + -1.4758378218385854e-05, + -1.5066212198428651e-05, + -1.538643508383048e-05, + -1.5718558649889086e-05, + -1.606189469480417e-05, + -1.6415535140876373e-05, + -1.6778335465971145e-05, + -1.7148903316473447e-05, + -1.7525594421094885e-05, + -1.790651809666027e-05, + -1.8289554652581582e-05, + -1.86723867862369e-05, + -1.9052546544748942e-05, + -1.942747855138484e-05, + -1.979461892764627e-05, + -2.0151487712501438e-05, + -2.049579068816638e-05, + -2.0825524560490847e-05, + -2.1139077692236178e-05, + -2.1435317402613636e-05, + -2.171365459002978e-05, + -2.1974077410837665e-05, + -2.2217148094950797e-05, + -2.244396059154923e-05, + -2.2656061208712782e-05, + -2.2855339058901978e-05, + -2.3043897106388893e-05, + -2.3223917115734868e-05, + -2.339753225227347e-05, + -2.3566719343585808e-05, + -2.3733219229861005e-05, + -2.389848898911687e-05, + -2.406368511055759e-05, + -2.422967283130185e-05, + -2.4397054469466786e-05, + -2.45662088651048e-05, + -2.4737334753136253e-05, + -2.4910492539273717e-05, + -2.508564095365624e-05, + -2.5262666929569388e-05, + -2.544140849377385e-05, + -2.562167135474427e-05, + -2.580324027885838e-05, + -2.598588637120639e-05, + -2.616937115833083e-05, + -2.635344800472896e-05, + -2.65378609407322e-05, + -2.6722340455176413e-05, + -2.690659521811527e-05, + -2.709029806952947e-05, + -2.7273064016670757e-05, + -2.745441758777866e-05, + -2.7633746949203937e-05, + -2.7810243029525516e-05, + -2.7982823805547004e-05, + -2.8150047021867872e-05, + -2.831001873562254e-05, + -2.8460309546541396e-05, + -2.8597894108451357e-05, + -2.8719131214228824e-05, + -2.8819800264999602e-05, + -2.8895204747887228e-05, + -2.8940344862561147e-05, + -2.895015105569859e-05, + -2.8919760026615406e-05, + -2.8844806969551803e-05, + -2.87217041296225e-05, + -2.8547876908872315e-05, + -2.832193438906016e-05, + -2.8043759916146464e-05, + -2.7714517497295896e-05, + -2.7336579346747764e-05, + -2.6913387541785106e-05, + -2.6449267589997426e-05, + -2.594921359577735e-05, + -2.54186640039466e-05, + -2.4863284271435675e-05, + -2.4288769070578226e-05, + -2.370067249142507e-05, + -2.310427077475821e-05, + -2.2504458746193773e-05, + -2.1905678532798475e-05, + -2.1311877360714854e-05, + -2.072649019019184e-05, + -2.0152442514226308e-05, + -1.9592168678102666e-05, + -1.9047641419114937e-05, + -1.8520408861868602e-05, + -1.801163581597636e-05, + -1.7522146854642514e-05, + -1.7052469241429098e-05, + -1.6602874297278182e-05, + -1.6173416244247816e-05, + -1.5763967923467615e-05, + -1.537425307155165e-05, + -1.5003875051844332e-05, + -1.4652342094939693e-05, + -1.4319089209254851e-05, + -1.4003496991790942e-05, + -1.3704907606943875e-05, + -1.3422638220562856e-05, + -1.3155992176474462e-05, + -1.290426819032723e-05, + -1.2666767826030896e-05, + -1.2442801487533452e-05, + -1.2231693151530207e-05, + -1.2032784024601654e-05, + -1.1845435303475689e-05, + -1.1669030182174332e-05, + -1.1502975237668282e-05, + -1.1270911958063182e-05, + -1.1278032090980619e-05, + -1.1278032091081324e-05, + -1.1278032091218791e-05, + -1.1278032091340195e-05, + -1.1278032091489547e-05, + -1.1278032091627922e-05, + -1.1278032091797255e-05, + -1.127803209194827e-05, + -1.127803209212126e-05, + -1.1278032092325772e-05, + -1.127803209250453e-05, + -1.1278032092709901e-05, + -1.127803209291342e-05, + -1.1278032093153086e-05, + -1.1278032093382433e-05, + -1.1278032093633721e-05, + -1.1278032093886464e-05, + -1.1278032094168102e-05, + -1.1278032094445072e-05, + -1.1278032094740398e-05, + -1.1278032095050118e-05, + -1.1278032095373023e-05, + -1.1278032095717419e-05, + -1.1278032096064744e-05, + -1.1278032096430922e-05, + -1.1278032096807926e-05, + -1.1278032097200162e-05, + -1.1278032097607425e-05, + -1.1278032098020433e-05, + -1.1278032098460882e-05, + -1.1278032098903016e-05, + -1.127803209935772e-05, + -1.1278032099830077e-05, + -1.1278032100311297e-05, + -1.1278032100805493e-05, + -1.127803210130078e-05, + -1.1278032101814889e-05, + -1.1278032102330998e-05, + -1.1278032102853265e-05, + -1.1278032103385789e-05, + -1.1278032103918507e-05, + -1.12780321044565e-05, + -1.1278032104994723e-05, + -1.1278032105533424e-05, + -1.1278032106068288e-05, + -1.1278032106604748e-05, + -1.127803210713436e-05, + -1.1278032107659158e-05, + -1.1278032108175662e-05, + -1.1278032108683045e-05, + -1.1278032109181517e-05, + -1.1278032109669849e-05, + -1.1278032110143543e-05, + -1.1278032110603638e-05, + -1.1278032111051688e-05, + -1.1278032111481293e-05, + -1.1278032111897745e-05, + -1.1278032112296867e-05, + -1.1278032112677707e-05, + -1.1278032113042143e-05, + -1.127803211338937e-05, + -1.1278032113717247e-05, + -1.1278032114029392e-05, + -1.1278032114324202e-05, + -1.1278032114600697e-05, + -1.1278032114860394e-05, + -1.127803211510493e-05, + -1.127803211533288e-05, + -1.1278032115545794e-05, + -1.1278032115742841e-05, + -1.1278032115927132e-05, + -1.1278032116097697e-05, + -1.127803211625508e-05, + -1.1278032116400372e-05, + -1.127803211653446e-05, + -1.1278032116658e-05, + -1.127803211677083e-05, + -1.1278032116874972e-05, + -1.1278032116969907e-05, + -1.1278032117056447e-05, + -1.1278032117135792e-05, + -1.1278032117207629e-05, + -1.1278032117272847e-05, + -1.1278032117332719e-05, + -1.127803211738699e-05, + -1.1278032117434639e-05, + -1.127803211747936e-05, + -1.127803211751955e-05, + -1.1278032117554922e-05, + -1.127803211758728e-05, + -1.1278032117615328e-05, + -1.1278032117642531e-05, + -1.1278032117665165e-05, + -1.1278032117686328e-05, + -1.1278032117704862e-05, + -1.1278032117721429e-05, + -1.1278032117736614e-05, + -1.127803211774857e-05, + -1.1278032117760506e-05, + -1.127803211777113e-05, + -1.1278032117780064e-05, + -1.1278032117787636e-05, + -1.1278032117795271e-05, + -1.1278032117801453e-05, + -1.1278032117806762e-05, + -1.1278032117812143e-05, + -1.1278032117816527e-05, + -1.1278032117818258e-05, + -1.1278032117822483e-05, + -1.1278032117825373e-05, + -1.127803211782679e-05, + -1.1278032117829212e-05, + -1.127803211783302e-05, + -1.1278032117833583e-05, + -1.1278032117832807e-05, + -1.127803211783487e-05, + -1.127803211783528e-05, + -1.1278032117837872e-05, + -1.1278032117836703e-05, + -1.1278032117839553e-05, + -1.1278032117837362e-05, + -1.1278032117838604e-05, + -1.1278032117838309e-05, + -1.1278032117839934e-05, + -1.1278032117834789e-05, + -1.127803211784253e-05, + -1.1278032117839668e-05 + ], + "internal_displacement_A_m2": [ + -6.317865343133246e-06, + -6.194797876321481e-06, + -6.064055283090345e-06, + -5.925211709066835e-06, + -5.777829378932508e-06, + -5.621460958614744e-06, + -5.4556526338475316e-06, + -5.279948023830452e-06, + -5.0938930689656806e-06, + -4.897042038864452e-06, + -4.688964822511558e-06, + -4.469255650235667e-06, + -4.237543408255035e-06, + -3.9935036780797956e-06, + -3.7368726045998606e-06, + -3.467462655163509e-06, + -3.185180245618457e-06, + -2.8900451050556317e-06, + -2.5822111233191025e-06, + -2.2619882405484286e-06, + -1.929864673760072e-06, + -1.586528626893927e-06, + -1.2328881831006499e-06, + -8.700878558148543e-07, + -4.99520006601682e-07, + -1.228289021959386e-07, + 2.580947732775545e-07, + 6.411313298378408e-07, + 1.0239634628521184e-06, + 1.4041232213239586e-06, + 1.779055228795059e-06, + 2.14619560477078e-06, + 2.5030643893873983e-06, + 2.8473673657753716e-06, + 3.1771012378290066e-06, + 3.490654367900856e-06, + 3.7868940794959263e-06, + 4.065231268304571e-06, + 4.325654087566996e-06, + 4.5687247718131924e-06, + 4.795537268472137e-06, + 5.007637884958101e-06, + 5.206915735532965e-06, + 5.395473785438098e-06, + 5.5754937912937725e-06, + 5.749108929158482e-06, + 5.9182960201628e-06, + 6.084795908309709e-06, + 6.250065665985528e-06, + 6.415261785391006e-06, + 6.5812495095904105e-06, + 6.7486311462530775e-06, + 6.917785541929727e-06, + 7.088911430934516e-06, + 7.262069216614054e-06, + 7.4372176287589565e-06, + 7.614243607577997e-06, + 7.792985171316305e-06, + 7.973248029485156e-06, + 8.15481695868035e-06, + 8.337463045948125e-06, + 8.520947837593267e-06, + 8.705024682784668e-06, + 8.889437615474986e-06, + 9.073917132175427e-06, + 9.258171896386072e-06, + 9.441874745586832e-06, + 9.624640694203325e-06, + 9.805994263180354e-06, + 9.985323625434378e-06, + 1.0161819708035573e-05, + 1.0334400483429933e-05, + 1.0501623697695698e-05, + 1.0661595413298095e-05, + 1.081188622362943e-05, + 1.0949470785594604e-05, + 1.107070789167805e-05, + 1.1171376940096281e-05, + 1.1246781426663674e-05, + 1.1291921539525303e-05, + 1.1301727730802235e-05, + 1.1271336705075814e-05, + 1.1196383646284104e-05, + 1.1073280802192317e-05, + 1.0899453596081725e-05, + 1.0673511060887942e-05, + 1.0395336589532709e-05, + 1.0066094181909479e-05, + 9.688156016604925e-06, + 9.26496421693175e-06, + 8.80084426896788e-06, + 8.300790273204444e-06, + 7.770240682266254e-06, + 7.214860947601719e-06, + 6.640345742021334e-06, + 6.052249176634536e-06, + 5.455847448511933e-06, + 4.856035431214331e-06, + 4.257255202126717e-06, + 3.6634540320581995e-06, + 3.078066871096671e-06, + 2.504019198737899e-06, + 1.9437453426931297e-06, + 1.3992180959192842e-06, + 8.719855293745075e-07, + 3.6321251218058376e-07, + -1.262764730318445e-07, + -5.959540902579901e-07, + -1.04554901431621e-06, + -1.475007087944367e-06, + -1.884455382061885e-06, + -2.2741702598281085e-06, + -2.644548278486789e-06, + -2.996081226648321e-06, + -3.3293340973645667e-06, + -3.6449263280717427e-06, + -3.943515729024118e-06, + -4.225785115475707e-06, + -4.492431125499869e-06, + -4.744155139058061e-06, + -4.981655484342836e-06, + -5.205621814033956e-06, + -5.416730218490817e-06, + -5.61563931392283e-06, + -5.8029879814455365e-06, + -5.979393136045265e-06, + -6.1454481289269706e-06, + -6.377511368771359e-06, + -6.370391273027288e-06, + -6.3703912096279e-06, + -6.370391230430022e-06, + -6.370391182396104e-06, + -6.3703912474070766e-06, + -6.370391203584781e-06, + -6.370391265009989e-06, + -6.370391215269795e-06, + -6.370391227797737e-06, + -6.370391252766712e-06, + -6.370391224290918e-06, + -6.370391242961765e-06, + -6.370391240655279e-06, + -6.370391205355778e-06, + -6.370391234832584e-06, + -6.370391231005549e-06, + -6.370391235663273e-06, + -6.370391216694479e-06, + -6.3703912273601775e-06, + -6.370391238198293e-06, + -6.370391236750579e-06, + -6.370391230961461e-06, + -6.370391216014515e-06, + -6.37039123190678e-06, + -6.370391215778642e-06, + -6.370391226656386e-06, + -6.37039122945977e-06, + -6.370391227963053e-06, + -6.370391215642185e-06, + -6.37039123127963e-06, + -6.370391233210215e-06, + -6.370391214152855e-06, + -6.370391225539278e-06, + -6.370391218607502e-06, + -6.3703912210707385e-06, + -6.370391226173224e-06, + -6.370391219855697e-06, + -6.370391225897934e-06, + -6.370391220341147e-06, + -6.370391209180031e-06, + -6.370391228023249e-06, + -6.370391211792417e-06, + -6.37039122672199e-06, + -6.370391211320788e-06, + -6.370391219456151e-06, + -6.370391215976202e-06, + -6.370391219947717e-06, + -6.370391209396458e-06, + -6.3703912149085095e-06, + -6.370391219557592e-06, + -6.370391212021874e-06, + -6.370391207787361e-06, + -6.370391215990012e-06, + -6.370391210846741e-06, + -6.370391213503073e-06, + -6.370391214017741e-06, + -6.370391209609127e-06, + -6.370391214636539e-06, + -6.370391198366079e-06, + -6.370391216204992e-06, + -6.3703912114081416e-06, + -6.370391210655305e-06, + -6.370391210114421e-06, + -6.370391208169687e-06, + -6.370391201565526e-06, + -6.370391213383648e-06, + -6.370391205814385e-06, + -6.370391210723462e-06, + -6.3703912033206295e-06, + -6.370391210236252e-06, + -6.370391199752036e-06, + -6.370391210227627e-06, + -6.3703912123076e-06, + -6.370391203876857e-06, + -6.37039120835083e-06, + -6.3703912050936516e-06, + -6.3703912032346844e-06, + -6.370391210148492e-06, + -6.370391207100822e-06, + -6.370391198761429e-06, + -6.370391203728841e-06, + -6.37039121594632e-06, + -6.370391203749153e-06, + -6.370391205748951e-06, + -6.370391208419649e-06, + -6.370391191816529e-06, + -6.370391204421501e-06, + -6.3703912092092356e-06, + -6.370391231491446e-06, + -6.370391192659314e-06, + -6.3703912135830604e-06, + -6.3703911972919555e-06, + -6.370391201769672e-06, + -6.370391199238237e-06, + -6.370391208023128e-06, + -6.370391199126478e-06, + -6.3703912299381486e-06, + -6.370391185154657e-06, + -6.370391204559802e-06, + -6.37039121606553e-06, + -6.370391197383079e-06, + -6.370391213825447e-06, + -6.370391237416055e-06, + -6.370391184132469e-06, + -6.3703911958606655e-06, + -6.370391215885238e-06, + -6.370391202392702e-06, + -6.370391168253694e-06, + -6.370391236325384e-06, + -6.370391198106633e-06, + -6.370391175464342e-06, + -6.370391201009999e-06, + -6.37039122388624e-06, + -6.370391221780158e-06, + -6.370391182694851e-06, + -6.3703912546002786e-06, + -6.3703911826253005e-06, + -6.370391226183483e-06, + -6.37039117796219e-06, + -6.370391128174956e-06, + -6.370391225958932e-06, + -6.3703912797076844e-06, + -6.370391187352992e-06, + -6.3703912407528535e-06, + -6.370391173620634e-06, + -6.370391201810413e-06, + -6.3703912040224336e-06 + ], + "internal_total_A_m2": [ + -1.764842332297561e-05, + -1.7648423322969063e-05, + -1.764842332321363e-05, + -1.764842332284479e-05, + -1.764842332298542e-05, + -1.7648423323202014e-05, + -1.7648423323198494e-05, + -1.7648423322934484e-05, + -1.7648423323034786e-05, + -1.764842332293181e-05, + -1.764842332306727e-05, + -1.7648423322980583e-05, + -1.764842332268689e-05, + -1.7648423322950767e-05, + -1.764842332314153e-05, + -1.764842332292104e-05, + -1.764842332325802e-05, + -1.7648423323441484e-05, + -1.7648423321747754e-05, + -1.764842332437891e-05, + -1.7648423323649156e-05, + -1.7648423321698097e-05, + -1.7648423323977022e-05, + -1.7648423321786e-05, + -1.764842332307513e-05, + -1.7648423323290824e-05, + -1.7648423323382717e-05, + -1.7648423322743742e-05, + -1.764842332338478e-05, + -1.7648423323424984e-05, + -1.7648423322589782e-05, + -1.764842332287549e-05, + -1.764842332311404e-05, + -1.7648423322391007e-05, + -1.764842332266184e-05, + -1.764842332433532e-05, + -1.764842332311771e-05, + -1.764842332172521e-05, + -1.7648423323270668e-05, + -1.7648423323137603e-05, + -1.7648423323077094e-05, + -1.7648423323754683e-05, + -1.7648423323369012e-05, + -1.7648423320950794e-05, + -1.7648423324441095e-05, + -1.764842332311499e-05, + -1.764842332342301e-05, + -1.7648423321551296e-05, + -1.7648423323131345e-05, + -1.7648423325166585e-05, + -1.764842332171144e-05, + -1.7648423323213707e-05, + -1.7648423323175072e-05, + -1.7648423322201736e-05, + -1.7648423322659662e-05, + -1.7648423324897283e-05, + -1.764842332199139e-05, + -1.7648423322457543e-05, + -1.7648423325259115e-05, + -1.764842332017803e-05, + -1.764842332525826e-05, + -1.7648423320737562e-05, + -1.7648423321944292e-05, + -1.764842332525721e-05, + -1.7648423323000986e-05, + -1.7648423321729197e-05, + -1.7648423323942636e-05, + -1.764842332246743e-05, + -1.7648423324598304e-05, + -1.7648423323769557e-05, + -1.7648423321489944e-05, + -1.764842332211707e-05, + -1.7648423324172175e-05, + -1.7648423322324444e-05, + -1.7648423322911966e-05, + -1.7648423322856753e-05, + -1.7648423322550775e-05, + -1.764842332490332e-05, + -1.7648423321223552e-05, + -1.7648423323035843e-05, + -1.7648423324896355e-05, + -1.764842332153959e-05, + -1.76484233232677e-05, + -1.7648423327430183e-05, + -1.764842331279059e-05, + -1.7648423328172217e-05, + -1.7648423326613755e-05, + -1.7648423315386418e-05, + -1.764842333014284e-05, + -1.7648423324853356e-05, + -1.7648423321029548e-05, + -1.7648423322572903e-05, + -1.7648423321680347e-05, + -1.7648423323833955e-05, + -1.7648423328556892e-05, + -1.7648423314790533e-05, + -1.7648423326246278e-05, + -1.7648423314979442e-05, + -1.7648423330671757e-05, + -1.7648423328656656e-05, + -1.7648423319095168e-05, + -1.7648423315488407e-05, + -1.7648423335409538e-05, + -1.7648423323195655e-05, + -1.7648423332494094e-05, + -1.7648423303795778e-05, + -1.764842332767436e-05, + -1.764842333168709e-05, + -1.7648423311594393e-05, + -1.764842333219218e-05, + -1.76484233055295e-05, + -1.7648423331379758e-05, + -1.764842333033112e-05, + -1.7648423321588013e-05, + -1.7648423306619416e-05, + -1.7648423319862685e-05, + -1.7648423335967993e-05, + -1.7648423336038565e-05, + -1.7648423301974332e-05, + -1.764842332938529e-05, + -1.764842331037373e-05, + -1.7648423301567407e-05, + -1.7648423370021025e-05, + -1.7648423338524485e-05, + -1.7648423284921224e-05, + -1.7648423318219597e-05, + -1.764842336659525e-05, + -1.7648423326834542e-05, + -1.7648423364007908e-05, + -1.7648423300709224e-05, + -1.7648423321648813e-05, + -1.76484232737363e-05, + -1.7648423338896623e-05, + -1.76484232952127e-05, + -1.7648423356807243e-05, + -1.7648423307218065e-05, + -1.7648423319919e-05, + -1.7648423345092483e-05, + -1.7648423316795447e-05, + -1.7648423335671664e-05, + -1.7648423333568698e-05, + -1.7648423298508863e-05, + -1.7648423328215016e-05, + -1.764842332463927e-05, + -1.7648423329549737e-05, + -1.764842331086258e-05, + -1.764842332180525e-05, + -1.7648423332938692e-05, + -1.7648423331800696e-05, + -1.7648423326334484e-05, + -1.7648423311731935e-05, + -1.7648423327971525e-05, + -1.7648423312209563e-05, + -1.7648423323464313e-05, + -1.764842332665993e-05, + -1.7648423325570478e-05, + -1.7648423313662617e-05, + -1.7648423329740512e-05, + -1.764842333211323e-05, + -1.7648423313510575e-05, + -1.7648423325369355e-05, + -1.76484233189188e-05, + -1.764842332187623e-05, + -1.7648423327474005e-05, + -1.7648423321670585e-05, + -1.764842332822893e-05, + -1.764842332319441e-05, + -1.7648423312565818e-05, + -1.7648423331941758e-05, + -1.7648423316248917e-05, + -1.764842333171671e-05, + -1.764842331685421e-05, + -1.764842332552444e-05, + -1.764842332258095e-05, + -1.764842332708208e-05, + -1.7648423317055615e-05, + -1.764842332308417e-05, + -1.7648423328240637e-05, + -1.7648423321203393e-05, + -1.764842331745721e-05, + -1.7648423326133555e-05, + -1.764842332145038e-05, + -1.764842332455476e-05, + -1.7648423325499035e-05, + -1.764842332150687e-05, + -1.7648423326933408e-05, + -1.7648423311043785e-05, + -1.7648423329247136e-05, + -1.7648423324797513e-05, + -1.764842332437255e-05, + -1.7648423324143813e-05, + -1.7648423322493888e-05, + -1.7648423316166223e-05, + -1.7648423328244042e-05, + -1.7648423320919315e-05, + -1.7648423326056343e-05, + -1.7648423318866422e-05, + -1.7648423325979093e-05, + -1.7648423315679166e-05, + -1.7648423326325323e-05, + -1.764842332856268e-05, + -1.764842332027723e-05, + -1.764842332488529e-05, + -1.764842332175165e-05, + -1.7648423320005515e-05, + -1.7648423327023464e-05, + -1.7648423324070728e-05, + -1.7648423315817876e-05, + -1.7648423320864634e-05, + -1.764842333315395e-05, + -1.7648423321022e-05, + -1.764842332308167e-05, + -1.7648423325806637e-05, + -1.7648423309251168e-05, + -1.764842332190086e-05, + -1.7648423326728785e-05, + -1.764842334904637e-05, + -1.7648423310246595e-05, + -1.7648423331198388e-05, + -1.7648423314934488e-05, + -1.764842331943484e-05, + -1.7648423316924565e-05, + -1.7648423325727992e-05, + -1.764842331684791e-05, + -1.7648423347674765e-05, + -1.7648423302903225e-05, + -1.7648423322320307e-05, + -1.764842333383666e-05, + -1.7648423315163143e-05, + -1.7648423331613082e-05, + -1.7648423355211325e-05, + -1.764842330193392e-05, + -1.764842331366743e-05, + -1.764842333369738e-05, + -1.764842332020923e-05, + -1.7648423286071952e-05, + -1.764842335414787e-05, + -1.7648423315932005e-05, + -1.764842329329113e-05, + -1.7648423318839212e-05, + -1.764842334171926e-05, + -1.7648423339613742e-05, + -1.7648423300527657e-05, + -1.764842337243515e-05, + -1.764842330046058e-05, + -1.7648423344021356e-05, + -1.7648423295798892e-05, + -1.7648423246014507e-05, + -1.7648423343796296e-05, + -1.764842339754629e-05, + -1.7648423305191302e-05, + -1.764842335859279e-05, + -1.7648423291455423e-05, + -1.7648423319652943e-05, + -1.76484233218621e-05 + ], + "physical_widths_m": [ + 5.901422388288336e-11, + 1.2168445327999375e-10, + 1.2921290133435793e-10, + 1.3718573109489092e-10, + 1.456263985330553e-10, + 1.5455923405930657e-10, + 1.6400942452466372e-10, + 1.7400298616433713e-10, + 1.8456672721482707e-10, + 1.9572819882658635e-10, + 2.0751563278408056e-10, + 2.1995786443639556e-10, + 2.330842391367742e-10, + 2.4692450039214606e-10, + 2.615086578375502e-10, + 2.768668330800304e-10, + 2.930290814077334e-10, + 3.1002518733890237e-10, + 3.2788443199932904e-10, + 3.4663533037393737e-10, + 3.6630533658778285e-10, + 3.869205155434871e-10, + 4.0850517948706975e-10, + 4.310814884031017e-10, + 4.546690135652088e-10, + 4.79284264100096e-10, + 5.049401770735207e-10, + 5.316455723851334e-10, + 5.594045746728763e-10, + 5.882160054824251e-10, + 6.180727501540692e-10, + 6.489611052145571e-10, + 6.808601135253143e-10, + 7.137408960140655e-10, + 7.47565990478061e-10, + 7.822887096588038e-10, + 8.178525325040014e-10, + 8.54190544194725e-10, + 8.912249420559998e-10, + 9.288666258067398e-10, + 9.670148916509131e-10, + 1.005557250369215e-09, + 1.0443693897370093e-09, + 1.0833153011705004e-09, + 1.1222475893912312e-09, + 1.1610079820176118e-09, + 1.1994280532751899e-09, + 1.23733017242863e-09, + 1.2745286830742073e-09, + 1.3108313141313866e-09, + 1.3460408173217914e-09, + 1.3799568192605954e-09, + 1.4123778691985396e-09, + 1.443103656181209e-09, + 1.4719373622173193e-09, + 1.4986881112844911e-09, + 1.523173467982208e-09, + 1.5452219347003404e-09, + 1.5646753926224425e-09, + 1.5813914299979714e-09, + 1.5952455011079117e-09, + 1.6061328613443997e-09, + 1.6139702278616839e-09, + 1.6186971212639917e-09, + 1.6202768516007768e-09, + 1.6186971212639917e-09, + 1.6139702278616839e-09, + 1.6061328613443997e-09, + 1.5952455011079117e-09, + 1.5813914299979714e-09, + 1.5646753926224425e-09, + 1.5452219347003404e-09, + 1.523173467982208e-09, + 1.4986881112844845e-09, + 1.4719373622173193e-09, + 1.4431036561812155e-09, + 1.4123778691985462e-09, + 1.379956819260592e-09, + 1.346040817321788e-09, + 1.31083131413138e-09, + 1.2745286830742205e-09, + 1.2373301724286366e-09, + 1.19942805327517e-09, + 1.1610079820176184e-09, + 1.1222475893912378e-09, + 1.083315301170507e-09, + 1.0443693897369927e-09, + 1.0055572503692116e-09, + 9.670148916509198e-10, + 9.288666258067464e-10, + 8.91224942055985e-10, + 8.541905441947299e-10, + 8.178525325039981e-10, + 7.822887096588004e-10, + 7.475659904780676e-10, + 7.137408960140556e-10, + 6.808601135253242e-10, + 6.48961105214567e-10, + 6.180727501540659e-10, + 5.882160054824152e-10, + 5.59404574672873e-10, + 5.316455723851383e-10, + 5.049401770735323e-10, + 4.792842641000936e-10, + 4.546690135651964e-10, + 4.3108148840310337e-10, + 4.0850517948706727e-10, + 3.869205155434962e-10, + 3.663053365877845e-10, + 3.4663533037393406e-10, + 3.278844319993274e-10, + 3.1002518733890444e-10, + 2.930290814077417e-10, + 2.7686683308002504e-10, + 2.6150865783754524e-10, + 2.46924500392156e-10, + 2.3308423913676347e-10, + 2.1995786443640466e-10, + 2.0751563278407477e-10, + 1.9572819882657477e-10, + 1.845667272148283e-10, + 1.740029861643485e-10, + 1.6400942452466144e-10, + 1.545592340593227e-10, + 1.4562639853305157e-10, + 1.3718573109488172e-10, + 1.2921290133435225e-10, + 1.8069867716288167e-10, + 1.8069867716288167e-10, + 1.2921290133435225e-10, + 1.3718573109489495e-10, + 1.4562639853305157e-10, + 1.5455923405930946e-10, + 1.6400942452466144e-10, + 1.740029861643485e-10, + 1.845667272148283e-10, + 1.9572819882657477e-10, + 2.0751563278407477e-10, + 2.1995786443640466e-10, + 2.3308423913676347e-10, + 2.46924500392156e-10, + 2.6150865783754524e-10, + 2.7686683308002504e-10, + 2.930290814077417e-10, + 3.1002518733890444e-10, + 3.278844319993274e-10, + 3.4663533037393406e-10, + 3.663053365877845e-10, + 3.8692051554348296e-10, + 4.085051794870805e-10, + 4.3108148840310337e-10, + 4.5466901356520963e-10, + 4.792842641000936e-10, + 5.04940177073519e-10, + 5.316455723851383e-10, + 5.59404574672873e-10, + 5.882160054824152e-10, + 6.180727501540659e-10, + 6.48961105214567e-10, + 6.808601135253109e-10, + 7.137408960140689e-10, + 7.475659904780676e-10, + 7.822887096588004e-10, + 8.178525325039981e-10, + 8.541905441947299e-10, + 8.91224942055985e-10, + 9.288666258067464e-10, + 9.670148916509198e-10, + 1.0055572503692116e-09, + 1.0443693897370192e-09, + 1.0833153011704673e-09, + 1.122247589391251e-09, + 1.1610079820176184e-09, + 1.1994280532751965e-09, + 1.2373301724286234e-09, + 1.2745286830741808e-09, + 1.3108313141314065e-09, + 1.346040817321788e-09, + 1.3799568192606186e-09, + 1.412377869198533e-09, + 1.4431036561812023e-09, + 1.4719373622173193e-09, + 1.4986881112844977e-09, + 1.523173467982208e-09, + 1.545221934700314e-09, + 1.564675392622469e-09, + 1.5813914299979515e-09, + 1.5952455011079183e-09, + 1.606132861344413e-09, + 1.6139702278616839e-09, + 1.6186971212639851e-09, + 1.6202768516007636e-09, + 1.6186971212639851e-09, + 1.6139702278616839e-09, + 1.606132861344413e-09, + 1.5952455011079183e-09, + 1.5813914299979515e-09, + 1.564675392622469e-09, + 1.545221934700314e-09, + 1.523173467982208e-09, + 1.4986881112844977e-09, + 1.4719373622173193e-09, + 1.4431036561812023e-09, + 1.412377869198533e-09, + 1.3799568192606186e-09, + 1.346040817321788e-09, + 1.31083131413138e-09, + 1.2745286830742073e-09, + 1.2373301724286234e-09, + 1.1994280532751965e-09, + 1.1610079820176184e-09, + 1.122247589391251e-09, + 1.0833153011704673e-09, + 1.0443693897370192e-09, + 1.0055572503692116e-09, + 9.670148916509198e-10, + 9.288666258067464e-10, + 8.91224942055985e-10, + 8.541905441947299e-10, + 8.178525325039848e-10, + 7.822887096588137e-10, + 7.475659904780676e-10, + 7.137408960140821e-10, + 6.808601135253109e-10, + 6.489611052145538e-10, + 6.180727501540659e-10, + 5.882160054824152e-10, + 5.59404574672873e-10, + 5.316455723851383e-10, + 5.04940177073519e-10, + 4.7928426410012e-10, + 4.5466901356518316e-10, + 4.3108148840310337e-10, + 4.0850517948706727e-10, + 3.869205155434962e-10, + 3.6630533658779774e-10, + 3.4663533037392083e-10, + 3.278844319993274e-10, + 3.1002518733890444e-10, + 2.930290814077152e-10, + 2.768668330800515e-10, + 2.6150865783754524e-10, + 2.46924500392156e-10, + 2.3308423913676347e-10, + 2.1995786443639143e-10, + 2.0751563278407477e-10, + 1.95728198826588e-10, + 1.845667272148283e-10, + 1.740029861643485e-10, + 1.6400942452466144e-10, + 1.545592340593227e-10, + 1.4562639853305157e-10, + 1.3718573109489495e-10, + 1.29212901334339e-10, + 1.2168445327999169e-10, + 5.901422388288999e-11 + ], + "positive_inventory_m2": [ + 1000000000000002.8 + ], + "positive_ion_flux_m2_s": [ + -372281300147.2113, + -1140408010984.492, + -1956439094581.057, + -2823032519478.166, + -3742920671305.0347, + -4718895587031.217, + -5753789750666.294, + -6850451666867.801, + -8011715356632.428, + -9240362846687.703, + -10539078681591.588, + -11910395473557.658, + -13356629532716.25, + -14879805724787.334, + -16481570899898.662, + -18163095542688.188, + -19924963765536.75, + -21767052424707.785, + -23688401004584.453, + -25687075049682.957, + -27760027301095.508, + -29902962341038.715, + -32110212394312.574, + -34374633915628.355, + -36687536517263.195, + -39038657465046.734, + -41416196042789.84, + -43806922182447.12, + -46196372418677.3, + -48569143001201.52, + -50909284522951.305, + -53200794513013.85, + -55428194272104.375, + -57577164419103.53, + -59635201375396.195, + -61592246092526.82, + -63441228933077.51, + -65178473014103.58, + -66803904413373.56, + -68321032293993.45, + -69736684549696.016, + -71060512476391.97, + -72304306986644.0, + -73481193751036.72, + -74604790272875.73, + -75688410722945.92, + -76744393488532.3, + -77783604039466.48, + -78815136741414.84, + -79846209832242.83, + -80882223697268.64, + -81926937710483.94, + -82982716405511.33, + -84050800188154.88, + -85131566081213.8, + -86224756498471.69, + -87329665733002.7, + -88445282827356.27, + -89570395109212.69, + -90703659195959.19, + -91843646437939.5, + -92988868400896.86, + -94137785707102.0, + -95288800719542.7, + -96440231281840.62, + -97590259055487.31, + -98736842068255.83, + -99877577384411.45, + -101009497342646.28, + -102128783177687.22, + -103230385062918.88, + -104307549540742.72, + -105351274760992.05, + -106349739662089.73, + -107287781120208.22, + -108146516409758.95, + -108903218903445.72, + -109531545695099.56, + -110002183456989.05, + -110283925889987.38, + -110345131331036.47, + -110155445444789.81, + -109687625256496.72, + -108919277761495.55, + -107834333583288.56, + -106424111293062.14, + -104687882793581.86, + -102632913246131.66, + -100274008847426.36, + -97632653354060.97, + -94735844460922.7, + -91614752915901.33, + -88303322821704.36, + -84836915179184.47, + -81251073337390.31, + -77580463199781.3, + -73858016471073.42, + -70114284249778.445, + -66376992112293.64, + -62670776706404.56, + -59017077367676.89, + -55434153587203.21, + -51937199353161.195, + -48538527523273.7, + -45247800731315.54, + -42072289147048.734, + -39017139351621.88, + -36085642265322.51, + -33279491340285.543, + -30599025003967.133, + -28043449593125.414, + -25611040807335.086, + -23299323035294.562, + -21105226893805.258, + -19025225982760.85, + -17055454292735.717, + -15191805936829.537, + -13430018999485.535, + -11765745294879.328, + -10194607750358.84, + -8712247070731.179, + -7314359135983.666, + -5996724540525.305, + -4755231419229.728, + -3585892675700.794, + -2484858509809.279, + -1448425066328.2212, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + }, + "assessment": { + "conservation_compliant": true, + "content_consistent": true, + "reference_accuracy_qualified": null, + "reference_accuracy_status": "not_assessed_shared_constitutive_laws" + }, + "checks": { + "charge_balance_normalized": { + "applicable": true, + "passed": true + }, + "contact_internal_current_spread_relative": { + "applicable": true, + "passed": true + }, + "electron_current_A_m2_state_content_matches": { + "applicable": true, + "passed": true + }, + "finite_positive_populations": { + "applicable": true, + "passed": true + }, + "hole_current_A_m2_state_content_matches": { + "applicable": true, + "passed": true + }, + "interface_current_spread_relative": { + "applicable": true, + "passed": true + }, + "internal_face_current_spread_relative": { + "applicable": true, + "passed": true + }, + "inventory_relative_drift": { + "applicable": true, + "passed": true + }, + "ion_site_occupancy_physical": { + "applicable": true, + "passed": true + }, + "physical_geometry_matches": { + "applicable": true, + "passed": true + }, + "positive_ion_flux_m2_s_state_content_matches": { + "applicable": true, + "passed": true + } + }, + "finite_step": true, + "limits": { + "charge_balance_normalized": 1e-10, + "contact_internal_current_spread_relative": 2e-06, + "interface_current_spread_relative": 2e-06, + "internal_face_current_spread_relative": 2e-06, + "inventory_relative_drift": 1e-10 + }, + "metrics": { + "charge_balance_normalized": 1.147216791549794e-18, + "contact_internal_current_spread_relative": 8.586137044685161e-09, + "interface_current_spread_relative": 1.463826731843627e-09, + "internal_face_current_spread_relative": 8.586137044685161e-09, + "inventory_relative_drift": 3.1086244689504383e-15 + }, + "passed": true, + "reasons": [], + "schema": "R1IndependentPhysicsRowV1", + "scope": "saved_state_independent_current_charge_assembly_not_full_DAE_oracle", + "shared_constitutive_dependencies": [ + "fe_operators.bernoulli", + "two_sided_interface._material_two_sided_interface_problem", + "two_sided_interface_compensated.evaluate_local_carrier_pair", + "compensated.DD", + "one_dimensional_mechanism_r1_global_reference.evaluate_independent_saved_high_ion_transport" + ] + }, + "local_scale": [ + 2.5951999786435536e-14, + 3.878700853926815e-14, + 16694.821269249507, + 10580.80998663068, + 16694.821269249507, + 10580.80998663068 + ], + "poisson_scale": [ + 3.765564615313958e-14, + 3.54615209761182e-14, + 3.3400442220867445e-14, + 3.146435617735993e-14, + 2.964569754730839e-14, + 2.7937359882595423e-14, + 2.633266781666979e-14, + 2.4825350980411758e-14, + 2.3409519500528085e-14, + 2.2079640984743803e-14, + 2.083051890385784e-14, + 1.9657272286193556e-14, + 1.8555316645096934e-14, + 1.7520346064953486e-14, + 1.654831637572964e-14, + 1.56354293502912e-14, + 1.4778117862748466e-14, + 1.3973031949833105e-14, + 1.3217025720844629e-14, + 1.2507145065014236e-14, + 1.1840616108252945e-14, + 1.1214834374177461e-14, + 1.062735460706278e-14, + 1.0075881216952278e-14, + 9.558259309589638e-15, + 9.07246626612338e-15, + 8.61660383967932e-15, + 8.18889073791949e-15, + 7.787655662603971e-15, + 7.411330778956708e-15, + 7.058445589316688e-15, + 6.727621187136784e-15, + 6.417564868876249e-15, + 6.127065082733461e-15, + 5.8549866944812134e-15, + 5.600266551904719e-15, + 5.361909330511474e-15, + 5.138983644279081e-15, + 4.930618406244078e-15, + 4.735999424710795e-15, + 4.554366221779579e-15, + 4.385009061762838e-15, + 4.227266177877446e-15, + 4.080521186376651e-15, + 3.944200678017205e-15, + 3.817771977450281e-15, + 3.7007410617809435e-15, + 3.592650630162956e-15, + 3.4930783168858204e-15, + 3.4016350409715953e-15, + 3.3179634858324476e-15, + 3.2417367030483777e-15, + 3.1726568348091485e-15, + 3.1104539500283997e-15, + 3.0548849895821293e-15, + 3.005732816549788e-15, + 2.9628053677471132e-15, + 2.9259349032350315e-15, + 2.8949773508722195e-15, + 2.869811743350079e-15, + 2.8503397455103273e-15, + 2.8364852700982524e-15, + 2.8281941804501133e-15, + 2.8254340789529334e-15, + 2.8281941804501133e-15, + 2.8364852700982524e-15, + 2.8503397455103273e-15, + 2.869811743350079e-15, + 2.8949773508722258e-15, + 2.9259349032350315e-15, + 2.962805367747107e-15, + 3.005732816549788e-15, + 3.0548849895821293e-15, + 3.1104539500283997e-15, + 3.1726568348091485e-15, + 3.2417367030483777e-15, + 3.317963485832439e-15, + 3.4016350409716048e-15, + 3.4930783168858188e-15, + 3.592650630162938e-15, + 3.700741061780949e-15, + 3.817771977450302e-15, + 3.944200678017203e-15, + 4.080521186376629e-15, + 4.227266177877439e-15, + 4.385009061762852e-15, + 4.554366221779585e-15, + 4.735999424710778e-15, + 4.930618406244097e-15, + 5.138983644279099e-15, + 5.361909330511487e-15, + 5.60026655190474e-15, + 5.854986694481194e-15, + 6.127065082733462e-15, + 6.417564868876263e-15, + 6.7276211871367505e-15, + 7.058445589316662e-15, + 7.411330778956749e-15, + 7.787655662604013e-15, + 8.188890737919427e-15, + 8.616603839679249e-15, + 9.072466266123287e-15, + 9.558259309589707e-15, + 1.0075881216952408e-14, + 1.062735460706272e-14, + 1.1214834374177551e-14, + 1.1840616108252865e-14, + 1.2507145065014199e-14, + 1.3217025720844744e-14, + 1.397303194983286e-14, + 1.47781178627484e-14, + 1.5635429350291466e-14, + 1.6548316375729542e-14, + 1.7520346064953414e-14, + 1.8555316645097145e-14, + 1.9657272286193325e-14, + 2.0830518903857646e-14, + 2.2079640984744434e-14, + 2.3409519500528647e-14, + 2.4825350980411597e-14, + 2.6332667816669053e-14, + 2.7937359882594697e-14, + 2.964569754730783e-14, + 3.146435617736082e-14, + 3.340044222086796e-14, + 3.5461520976118024e-14, + 2.795889651832315e-14, + 2.795889651832315e-14, + 3.5461520976118024e-14, + 3.340044222086645e-14, + 3.146435617736065e-14, + 2.964569754730918e-14, + 2.7937359882594697e-14, + 2.6332667816669053e-14, + 2.4825350980411597e-14, + 2.3409519500528647e-14, + 2.2079640984744434e-14, + 2.0830518903857646e-14, + 1.9657272286193325e-14, + 1.8555316645097145e-14, + 1.7520346064953414e-14, + 1.6548316375729542e-14, + 1.5635429350291132e-14, + 1.477811786274836e-14, + 1.3973031949833155e-14, + 1.3217025720844744e-14, + 1.2507145065014413e-14, + 1.1840616108252889e-14, + 1.1214834374177359e-14, + 1.062735460706272e-14, + 1.0075881216952269e-14, + 9.558259309589693e-15, + 9.07246626612341e-15, + 8.616603839679249e-15, + 8.188890737919427e-15, + 7.787655662604013e-15, + 7.411330778956749e-15, + 7.058445589316662e-15, + 6.727621187136812e-15, + 6.417564868876269e-15, + 6.127065082733407e-15, + 5.854986694481194e-15, + 5.60026655190474e-15, + 5.361909330511487e-15, + 5.138983644279099e-15, + 4.930618406244097e-15, + 4.735999424710778e-15, + 4.554366221779556e-15, + 4.385009061762851e-15, + 4.227266177877467e-15, + 4.080521186376629e-15, + 3.944200678017181e-15, + 3.8177719774503015e-15, + 3.700741061780969e-15, + 3.592650630162956e-15, + 3.493078316885803e-15, + 3.40163504097157e-15, + 3.317963485832455e-15, + 3.2417367030483935e-15, + 3.1726568348091343e-15, + 3.1104539500283994e-15, + 3.0548849895821435e-15, + 3.005732816549788e-15, + 2.962805367747107e-15, + 2.9259349032350315e-15, + 2.8949773508722376e-15, + 2.8698117433500667e-15, + 2.8503397455103095e-15, + 2.8364852700982524e-15, + 2.828194180450119e-15, + 2.8254340789529563e-15, + 2.828194180450119e-15, + 2.8364852700982524e-15, + 2.8503397455103095e-15, + 2.8698117433500667e-15, + 2.8949773508722376e-15, + 2.9259349032350315e-15, + 2.962805367747107e-15, + 3.005732816549788e-15, + 3.0548849895821435e-15, + 3.1104539500283994e-15, + 3.1726568348091343e-15, + 3.2417367030483935e-15, + 3.3179634858324223e-15, + 3.401635040971606e-15, + 3.493078316885836e-15, + 3.592650630162919e-15, + 3.700741061780969e-15, + 3.8177719774503015e-15, + 3.944200678017181e-15, + 4.080521186376629e-15, + 4.227266177877467e-15, + 4.385009061762851e-15, + 4.554366221779588e-15, + 4.735999424710776e-15, + 4.9306184062440265e-15, + 5.1389836442791025e-15, + 5.3619093305115255e-15, + 5.60026655190474e-15, + 5.854986694481246e-15, + 6.1270650827334e-15, + 6.417564868876211e-15, + 6.727621187136812e-15, + 7.0584455893165855e-15, + 7.411330778956757e-15, + 7.787655662604096e-15, + 8.188890737919528e-15, + 8.616603839679236e-15, + 9.072466266123175e-15, + 9.558259309589707e-15, + 1.0075881216952562e-14, + 1.0627354607062701e-14, + 1.1214834374177568e-14, + 1.1840616108252628e-14, + 1.2507145065013773e-14, + 1.3217025720845277e-14, + 1.3973031949833095e-14, + 1.4778117862748432e-14, + 1.5635429350291422e-14, + 1.654831637572917e-14, + 1.7520346064952944e-14, + 1.85553166450972e-14, + 1.9657272286194442e-14, + 2.0830518903858236e-14, + 2.2079640984744434e-14, + 2.3409519500527807e-14, + 2.4825350980411698e-14, + 2.633266781666787e-14, + 2.7937359882593772e-14, + 2.964569754731038e-14, + 3.146435617736065e-14, + 3.340044222086645e-14, + 3.546152097611995e-14, + 3.765564615313995e-14 + ], + "previous_coordinate": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "previous_state": { + "capture_m2_s": [ + [ + -878742010.9472234, + -4017784.222634432, + -43631330373.894356, + -80698.10196649286 + ] + ], + "local_residual": [ + 0.0, + 2.588725296753645e-18, + 26.081669048226175, + -500.20218841532403, + -399.7546220033421, + -1.7715198529626055 + ], + "n_m3": [ + 2515095827087.2163, + 2508795492427.91, + 2502132271054.337, + 2495088071012.9834, + 2487644250417.0254, + 2479781647358.158, + 2471480617484.477, + 2462721080011.6836, + 2453482572951.8784, + 2443744318344.042, + 2433485298259.7715, + 2422684342328.5684, + 2411320227474.1226, + 2399371790481.393, + 2386818053908.2354, + 2373638365723.9985, + 2359812552886.5547, + 2345321088864.6475, + 2330145274864.9497, + 2314267434235.9414, + 2297671119190.304, + 2280341328618.5024, + 2262264735354.5684, + 2243429920816.7803, + 2223827614476.2695, + 2203450935124.5903, + 2182295630427.0796, + 2160360310778.2175, + 2137646673036.1616, + 2114159709333.823, + 2089907895857.6125, + 2064903356286.8762, + 2039161994517.6284, + 2012703591376.0806, + 1985551860288.5825, + 1957734457327.6853, + 1929282941707.0852, + 1900232683665.3137, + 1870622717738.812, + 1840495540673.5, + 1809896854625.3677, + 1778875257817.0825, + 1747481886398.1157, + 1715770012837.2976, + 1683794607696.2822, + 1651611873009.3113, + 1619278756665.8804, + 1586852458078.7202, + 1554389935967.8032, + 1521947429248.6792, + 1489580001751.9238, + 1457341120813.9753, + 1425282278676.7966, + 1393452664160.379, + 1361898890283.137, + 1330664781485.4314, + 1299791221956.3054, + 1269316064377.1008, + 1239274096289.0037, + 1209697059368.3508, + 1180613715247.799, + 1152049950232.9612, + 1124028910389.1758, + 1096571158043.01, + 1069694840765.6128, + 1043415864356.9716, + 1017748062188.3344, + 992703354414.7102, + 968291891958.9772, + 944522181699.9255, + 921401190869.4092, + 898934430186.2505, + 877126016640.5797, + 855978718021.9065, + 835493982206.2745, + 815671954851.6606, + 796511489488.4354, + 778010154044.7728, + 760164237645.2051, + 742968761108.7297, + 726417494000.9707, + 710502980423.1117, + 695216574999.5714, + 680548489810.9315, + 666487852347.9366, + 653022773970.6892, + 640140427865.0049, + 627827135108.8059, + 616068457196.7516, + 604849293218.3251, + 594153979831.7451, + 583966392211.8016, + 574270044254.7533, + 565048186484.5703, + 556283900302.7354, + 547960187444.40045, + 540060053733.33765, + 532566586455.71106, + 525463024888.1417, + 518732823714.5095, + 512359709241.336, + 506327728473.3112, + 500621291236.14105, + 495225205634.686, + 490124707211.33594, + 485305482224.9853, + 480753685507.2709, + 476455953372.4485, + 472399412063.3581, + 468571682210.5438, + 464960879767.92896, + 461555613867.05786, + 458344982007.28204, + 455318562969.80225, + 452466407813.45026, + 449779029278.72455, + 447247389895.2278, + 444862889057.4628, + 442617349304.79724, + 440503002013.57214, + 438512472683.95294, + 436638765980.0873, + 434875250660.3518, + 433215644514.86975, + 431653999409.3405, + 430184686518.4266, + 428802381817.5701, + 427502051889.7363, + 20297125359482.18, + 20244469618390.41, + 20188709200161.766, + 20129680239697.152, + 20067212674538.32, + 20001130337370.668, + 19931251103473.22, + 19857387100285.07, + 19779344986719.867, + 19696926310299.984, + 19609927950584.918, + 19518142657651.484, + 19421359694635.99, + 19319365593429.367, + 19211945032547.28, + 19098881845974.695, + 18979960171287.375, + 18854965744639.727, + 18723687349146.703, + 18585918421803.0, + 18441458822309.637, + 18290116764950.316, + 18131710912002.016, + 17966072623987.246, + 17793048358426.17, + 17612502204537.082, + 17424318536701.117, + 17228404764372.404, + 17024694150594.523, + 16813148665522.744, + 16593761835363.135, + 16366561541194.47, + 16131612716407.14, + 15889019886149.756, + 15638929487615.459, + 15381531906382.36, + 15117063161751.295, + 14845806173388.207, + 14568091542841.125, + 14284297787001.008, + 13994850966451.133, + 13700223660110.072, + 13400933248605.33, + 13097539482350.39, + 12790641326175.713, + 12480873090119.8, + 12168899875248.295, + 11855412383364.883, + 11541121159561.312, + 11226750355811.943, + 10913031121376.459, + 10600694740799.457, + 10290465651885.98, + 9983054483577.45, + 9679151256549.34, + 9379418887374.469, + 9084487130068.977, + 8794947077110.958, + 8511346325902.145, + 8234184896962.722, + 7963911967697.011, + 7700923461443.248, + 7445560506760.423, + 7198108757664.496, + 6958798542776.599, + 6727805791016.837, + 6505253664270.309, + 6291214813879.679, + 6085714168141.468, + 5888732152278.351, + 5700208240457.001, + 5520044741010.24, + 5348110720633.801, + 5184245980413.553, + 5028265005508.481, + 4879960820562.554, + 4739108693851.535, + 4605469644306.713, + 4478793716414.97, + 4358822998244.55, + 4245294367198.1094, + 4137941956382.874, + 4036499341608.397, + 3940701454924.432, + 3850286235345.485, + 3764996031018.2983, + 3684578769676.7734, + 3608788915926.284, + 3537388234802.916, + 3470146381329.766, + 3406841335532.3105, + 3347259701712.1157, + 3291196889817.2993, + 3238457195570.233, + 3188853794706.318, + 3142208665298.8633, + 3098352450750.307, + 3057124274657.853, + 3018371517438.603, + 2981949563357.317, + 2947721525434.73, + 2915557954657.6357, + 2885336538941.4585, + 2856941796437.576, + 2830264767005.1333, + 2805202704990.731, + 2781658775869.9355, + 2759541758790.369, + 2738765756615.1206, + 2719249914690.1455, + 2700918149239.695, + 2683698886025.5527, + 2667524809682.406, + 2652332623959.2227, + 2638062822940.891, + 2624659473206.93, + 2612070006784.056, + 2600245024671.8496, + 2589138110665.3364, + 2578705655148.718, + 2568906688508.2017, + 2559702723784.234, + 2551057608176.126, + 2542937382999.0854, + 2535310151697.505, + 2528145955518.0664, + 2521416656455.0938, + 2515095827087.2163 + ], + "occupancy": [ + 7.908895785860534e-05 + ], + "p_m3": [ + 2515095827087.2163, + 2521365452854.6724, + 2528029464992.0615, + 2535111975019.8696, + 2542638474339.329, + 2550635900260.438, + 2559132703335.736, + 2568158915721.324, + 2577746220225.2607, + 2587928019642.1396, + 2598739505893.574, + 2610217728420.0234, + 2622401661171.978, + 2635332267456.1826, + 2649052561785.6865, + 2663607667763.776, + 2679044870916.9663, + 2695413665260.2583, + 2712765792246.783, + 2731155270623.2183, + 2750638415574.6196, + 2771273845419.741, + 2793122473994.825, + 2816247486765.3955, + 2840714298624.2153, + 2866590491283.238, + 2893945728161.333, + 2922851644708.146, + 2953381712209.428, + 2985611073292.5825, + 3019616347612.0713, + 3055475406550.587, + 3093267116227.2466, + 3133071048678.4907, + 3174967161763.4873, + 3219035449137.0845, + 3265355562543.6304, + 3314006409668.4097, + 3365065731833.789, + 3418609666900.7246, + 3474712303779.803, + 3533445235913.333, + 3594877121879.055, + 3659073261824.0903, + 3726095198645.178, + 3796000352642.531, + 3868841697677.6064, + 3944667485627.866, + 4023521024100.6772, + 4105440509961.792, + 4190458918301.5215, + 4278603943079.0913, + 4369897982035.7964, + 4464358154714.734, + 4561996338836.898, + 4662819207101.538, + 4766828244016.925, + 4874019720858.279, + 4984384606580.897, + 5097908393625.124, + 5214570820175.456, + 5334345474584.496, + 5457199273234.36, + 5583091809910.364, + 5711974582464.656, + 5843790110802.272, + 5978470968521.244, + 6115938758451.289, + 6256103069316.288, + 6398860456352.776, + 6544093492566.625, + 6691669939065.85, + 6841442082393.973, + 6993246283944.92, + 7146902781433.271, + 7302215775217.786, + 7458973823389.967, + 7616950559314.311, + 7775905734274.77, + 7935586576576.724, + 8095729447366.282, + 8256061763132.02, + 8416304145771.825, + 8576172753613.789, + 8735381741207.203, + 8893645792183.78, + 9050682668157.893, + 9206215717396.744, + 9359976289781.795, + 9511706009125.404, + 9661158859902.27, + 9808103052614.465, + 9952322639867.34, + 10093618863469.598, + 10231811221115.44, + 10366738249092.318, + 10498258024763.037, + 10626248399044.646, + 10750606974598.326, + 10871250849917.64, + 10988116152826.885, + 11101157389226.951, + 11210346634207.121, + 11315672593028.496, + 11417139559110.717, + 11514766295068.299, + 11608584861289.787, + 11698639414570.934, + 11784984997058.416, + 11867686333367.658, + 11946816651259.99, + 12022456538805.771, + 12094692848595.365, + 12163617657309.95, + 12229327286909.123, + 12291921391794.656, + 12351502114667.652, + 12408173312318.314, + 12462039851360.623, + 12513206972872.523, + 12561779724050.39, + 12607862454312.408, + 12651558372764.246, + 12692969163566.201, + 12732194655465.229, + 12769332541634.377, + 12804478145874.967, + 12837724231254.432, + 270541382080.53375, + 271388730456.63242, + 272290840735.2716, + 273251256029.27222, + 274273748718.02496, + 275362335186.9145, + 276521291482.3123, + 277755169931.24475, + 279068816775.284, + 280467390869.021, + 281956383492.8288, + 283541639329.45844, + 285229378651.5191, + 287026220764.69476, + 288939208747.43164, + 290975835521.9664, + 293144071284.59436, + 295452392312.91486, + 297909811155.8858, + 300525908197.01447, + 303310864561.8624, + 306275496317.97986, + 309431289887.136, + 312790438556.1141, + 316365879931.7809, + 320171334139.45966, + 324221342507.39905, + 328531306415.9202, + 333117525915.639, + 337997237633.2419, + 343188651387.2562, + 348710984826.8271, + 354584495285.48596, + 360830507907.91925, + 367471438961.6259, + 374530813088.64264, + 382033273086.2515, + 390004580632.2218, + 398471606195.258, + 407462306197.0374, + 417005685328.17456, + 427131741771.95905, + 437871392968.3549, + 449256379468.06604, + 461319144393.1074, + 474092686055.2244, + 487610381397.5324, + 501905778138.30255, + 517012353821.58295, + 532963240434.40643, + 549790913845.6945, + 567526848065.6387, + 586201135221.0388, + 605842073185.0853, + 626475723978.5916, + 648125447349.3561, + 670811415304.8951, + 694550114773.7134, + 719353846949.7013, + 745230233162.6259, + 772181738247.9397, + 800205223280.8496, + 829291540121.3191, + 859425180415.4382, + 890583991459.9921, + 922738970618.0963, + 955854148755.9636, + 989886571461.182, + 1024786384636.3827, + 1060497028502.3174, + 1096955541180.6848, + 1134092969972.747, + 1171834885333.9758, + 1210101989505.6484, + 1248810808939.6492, + 1287874457169.2512, + 1327203452757.2126, + 1366706575466.5754, + 1406291742922.8691, + 1445866889781.1868, + 1485340831780.7573, + 1524624098017.1924, + 1563629716222.742, + 1602273937737.7136, + 1640476891064.8325, + 1678163155326.8975, + 1715262247472.731, + 1751709019597.855, + 1787443965168.8232, + 1822413435180.0835, + 1856569767265.3374, + 1889871332495.5208, + 1922282505982.4082, + 1953773568471.0112, + 1984320546846.1077, + 2013905001916.4514, + 2042513772001.9192, + 2070138680765.7896, + 2096776217451.244, + 2122427197223.469, + 2147096408745.5947, + 2170792255443.4968, + 2193526396194.8894, + 2215313390424.4453, + 2236170351838.9614, + 2256116614306.8643, + 2275173412691.352, + 2293363580802.818, + 2310711268050.1616, + 2327241675840.8926, + 2342980814321.7275, + 2357955279650.308, + 2372192051654.256, + 2385718311451.816, + 2398561278389.723, + 2410748065472.5327, + 2422305552330.3394, + 2433260274678.476, + 2443638329161.318, + 2453465292444.5864, + 2462766153409.378, + 2471565257317.842, + 2479886260842.028, + 2487752096893.6997, + 2495184948235.524, + 2502206228914.723, + 2508836572614.6406, + 2515095827087.2163 + ], + "phi_V": [ + 0.0, + -6.29512240069506e-05, + -0.00012969230926562146, + -0.0002004336413874064, + -0.0002753950215835266, + -0.0003548057940358284, + -0.000438904931293127, + -0.00052794107076992, + -0.0006221724948323855, + -0.0007218670463701068, + -0.000827301971184351, + -0.0009387636779915154, + -0.001056547406363685, + -0.0011809567925302052, + -0.0013123033226725472, + -0.0014509056631900885, + -0.0015970888574323781, + -0.0017511833786223682, + -0.0019135240291775638, + -0.0020844486774163826, + -0.002264296823762096, + -0.0024534079900728326, + -0.0026521199276784277, + -0.002860766642133973, + -0.0030796762356395837, + -0.00330916857154962, + -0.003549552769410485, + -0.003801124543514702, + -0.004064163403006004, + -0.004338929737054011, + -0.004625661814443343, + -0.004924572732960135, + -0.005235847360039204, + -0.005559639312048131, + -0.005896068025081852, + -0.006245215974937848, + -0.006607126107724502, + -0.006981799544988446, + -0.007369193627989749, + -0.007769220364473933, + -0.008181745337684584, + -0.008606587131180954, + -0.00904351731410371, + -0.0094922610198112, + -0.009952498136370327, + -0.010423865110477673, + -0.010905957347441033, + -0.011398332169496405, + -0.011900512273786506, + -0.012411989610765714, + -0.012932229584727234, + -0.013460675461739305, + -0.013996752857685129, + -0.014539874171386918, + -0.015089442825837867, + -0.015644857184978062, + -0.016205514024507393, + -0.01677081145281173, + -0.017340151201651274, + -0.017912940234865126, + -0.018488591655644215, + -0.01906652492725899, + -0.019646165456623607, + -0.020226943622763137, + -0.020808293361188782, + -0.02138965043862213, + -0.021970450568990968, + -0.02255012753011239, + -0.023128111440445562, + -0.023703827346735935, + -0.024276694256824254, + -0.024846124728394262, + -0.02541152509544042, + -0.025972296381519308, + -0.026527835914354255, + -0.027077539622078567, + -0.027620804959212774, + -0.02815703438203153, + -0.028685639269609833, + -0.029206044169470716, + -0.02971769123587978, + -0.030220044724515165, + -0.030712595409172073, + -0.03119486479370701, + -0.031666409004723124, + -0.032126822266522755, + -0.03257573987851386, + -0.033012840635455204, + -0.033437848651621374, + -0.033850534570220685, + -0.03425071615840583, + -0.03463825830533361, + -0.035013072455483914, + -0.03537511552154087, + -0.03572438833043371, + -0.03606093366264446, + -0.03638483394874974, + -0.036696208688607436, + -0.036995211657928, + -0.03728202796452802, + -0.03755687101270866, + -0.03781997942929024, + -0.03807161399919952, + -0.03831205465245022, + -0.038541597538141834, + -0.03876055221494509, + -0.03896923898161738, + -0.03916798636553321, + -0.03935712878211278, + -0.03953700437344911, + -0.039707953030399284, + -0.039870314598925365, + -0.04002442726853476, + -0.04017062613824972, + -0.040309241953597905, + -0.04044060000661523, + -0.040565019189744235, + -0.04068281119374688, + -0.040794279839283625, + -0.04089972053159584, + -0.0409994198277225, + -0.04109365510584761, + -0.04118269432667555, + -0.04126679587713656, + -0.041346208487207756, + -0.04142117121117193, + -0.04149191346520799, + -0.04155865511379599, + -0.04168465835363574, + -0.041751563014115325, + -0.04182260176594623, + -0.04189801795531659, + -0.04197806768404199, + -0.04206302027265064, + -0.042153158711605715, + -0.042248780095506096, + -0.042350196034399976, + -0.04245773303558156, + -0.04257173284841673, + -0.042692552763862884, + -0.042820565859412664, + -0.042956161179205934, + -0.0430997438380273, + -0.04325173503684623, + -0.043412571976477035, + -0.04358270765485389, + -0.04376261053235074, + -0.04395276404855476, + -0.044153665972954045, + -0.04436582757116206, + -0.04458977256761504, + -0.04482603588519158, + -0.04507516214197105, + -0.04533770388542851, + -0.04561421954482589, + -0.045905271083470714, + -0.046211421333951466, + -0.04653323100149665, + -0.0468712553233196, + -0.04722604037527458, + -0.047598119021427854, + -0.04798800650729282, + -0.048396195703529106, + -0.04882315201387958, + -0.04926930796900099, + -0.04973505753659243, + -0.050220750187752544, + -0.05072668476967237, + -0.051253103245414454, + -0.05180018437240639, + -0.05236803740209854, + -0.052956695893660886, + -0.053566111744228304, + -0.05419614954662038, + -0.05484658139219592, + -0.05551708224108724, + -0.056207225984028275, + -0.05691648231891674, + -0.05764421456076055, + -0.05838967849547131, + -0.05915202237591238, + -0.05993028814265809, + -0.06072341393220616, + -0.061530237912214535, + -0.062349503457192805, + -0.06317986564963335, + -0.06401989906163712, + -0.0648681067416309, + -0.06572293030083345, + -0.0665827609657994, + -0.0674459514377414, + -0.06831082837741567, + -0.06917570531705983, + -0.07003889578891168, + -0.07089872645372808, + -0.07175355001272263, + -0.07260175769245139, + -0.07344179110413478, + -0.0742721532962017, + -0.07509141884075546, + -0.07589824282029113, + -0.07669136860932123, + -0.07746963437550682, + -0.07823197825534894, + -0.07897744218942539, + -0.07970517443060307, + -0.0804144307647972, + -0.08110457450701944, + -0.08177507535517105, + -0.08242550719998963, + -0.08305554500161104, + -0.0836649608513975, + -0.08425361934217193, + -0.08482147237107238, + -0.08536855349727179, + -0.08589497197222341, + -0.08640090655335744, + -0.08688659920373887, + -0.0873523487705609, + -0.08779850472492425, + -0.08822546103452977, + -0.08863365023003586, + -0.08902353771518674, + -0.08939561636064328, + -0.08975040141191984, + -0.09008842573308358, + -0.09041023539998938, + -0.09071638564985111, + -0.09100743718789764, + -0.0912839528467177, + -0.09154649458961892, + -0.0917956208458632, + -0.0920318841629255, + -0.09225582915888504, + -0.09246799075662013, + -0.09266889268056669, + -0.09285904619633777, + -0.09303894907342103, + -0.09320908475140317, + -0.0933699216906576, + -0.09352191288911797, + -0.09366549554759805, + -0.09380109086706669, + -0.09392910396230789, + -0.09404992387746097, + -0.09416392369001793, + -0.09427146069093562, + -0.0943728766295793, + -0.09446849801324256, + -0.09455863645197311, + -0.0946435890403692, + -0.09472363876889348, + -0.09479905495807361, + -0.09487009370972467, + -0.09493699837003429, + -0.09499999999999964 + ], + "poisson_residual_C_m2": [ + -5.111073616724583e-21, + -1.7753250063122678e-20, + 3.247771727532457e-20, + 3.345111572948249e-21, + -5.565438972987076e-20, + 4.8124817354154455e-20, + -3.894873508360381e-20, + 5.615945158222387e-20, + -3.378652901044734e-20, + 1.758088699638178e-21, + 3.7461056266497227e-20, + -3.077327718019071e-20, + 3.427117229814497e-20, + -9.935315415984559e-20, + 1.0370433885855182e-19, + -7.26445621271343e-20, + 1.5248537543408174e-20, + 1.5654808009814594e-19, + -3.194186179441786e-19, + 1.4360358555941378e-19, + 1.5967931924830035e-19, + -2.3434554082814944e-19, + 2.669993102445216e-19, + -1.9020573550750377e-19, + 2.514486774099399e-21, + -2.2658676318002277e-20, + 1.2313651567926616e-19, + -9.409510406263605e-20, + -3.328213389330797e-20, + 7.835340453632275e-20, + 3.261405487831806e-20, + -1.199322161244301e-19, + 1.2659869587674305e-19, + -1.9222044976226935e-20, + -1.3362845160517476e-19, + 1.0084903542512494e-19, + 8.52374635489956e-20, + -1.2521541567584029e-19, + -1.7179689876325896e-20, + 6.173468492154836e-20, + 1.3456301075731645e-20, + -7.571044742986933e-20, + 1.8025911337909952e-19, + -2.6572796165322316e-19, + 1.7204699905526263e-19, + -5.337291372041126e-20, + 1.865900988489475e-19, + -2.4229485284514756e-19, + -1.1463870959327174e-19, + 3.150478418921527e-19, + -1.9116919617980087e-19, + 6.492239323995637e-20, + 1.1236194397340359e-19, + -4.986391372523881e-20, + -3.0369838903614093e-19, + 4.1061249105538697e-19, + -2.4036507801204885e-19, + -8.308075746099574e-20, + 4.207666112963508e-19, + -4.223446915659217e-19, + 3.2303214928727607e-19, + -5.609835116607329e-20, + -2.891645426780683e-19, + 1.8555476712743093e-19, + 1.0036945026793057e-19, + -2.5019892186954644e-19, + 1.088049524341616e-19, + -4.610480813806345e-21, + -8.022041078160552e-20, + 2.3316833035743165e-19, + 1.465321977892985e-20, + -2.4776346640225506e-19, + 2.1994299810914946e-19, + -1.0488001677390929e-19, + -3.031936223059369e-20, + 1.2959300534811105e-19, + -4.248881217083339e-19, + 5.750680541280446e-19, + -2.8381702646386143e-19, + 2.390556927630516e-20, + 7.858331725930191e-20, + 3.406562441681076e-20, + -4.994643247871641e-19, + 1.0771919890184353e-18, + -1.0040144685614465e-18, + 1.974433793259787e-19, + 4.0688747819620834e-19, + -7.556282168070809e-19, + 3.897510962693868e-19, + 3.1367684937169673e-19, + -1.9396497648955842e-19, + 1.9727178566403353e-19, + -6.344214568875259e-19, + 4.701124590711487e-20, + 8.447391218031173e-19, + -6.062807908428222e-19, + 5.774484677975522e-19, + -1.3188379236927805e-18, + 7.651465416263853e-19, + 1.0055639741100318e-18, + -7.61917094919043e-19, + -1.6365406124356927e-18, + 2.098106617980072e-18, + -1.42801323220382e-18, + 2.4724029724867712e-18, + -2.6432410893307945e-18, + 8.227325746066316e-19, + 1.3344482910893536e-18, + -2.3982552027791314e-18, + 3.2112826289874606e-18, + -3.8447543468588566e-18, + 1.9972921635514506e-18, + -4.173572234922555e-22, + 8.566599663435038e-19, + 1.0168093865691154e-18, + -4.264345926130573e-18, + 1.509458451474332e-18, + 2.7819624133782487e-18, + -4.671958687738408e-18, + 3.794232462420637e-18, + 1.1698667898310642e-18, + -6.859240452094722e-18, + 2.572840673554138e-18, + 9.184063300243229e-18, + -6.497968674571481e-18, + -7.293605568792753e-18, + 6.582571665020791e-18, + -1.7206944156967111e-18, + 2.757815021960331e-18, + -1.1742834179866248e-18, + 5.530856219316484e-18, + -6.651690859726523e-18, + 2.797039130544384e-18, + -4.911533148812496e-18, + 5.645344894504545e-18, + -2.6025911553995452e-18, + -1.1296766204754863e-18, + 2.503372119099298e-18, + -1.6110088726976217e-18, + -8.27885139106745e-19, + 4.005722578845193e-18, + -3.655708340807177e-18, + 6.594697478416707e-19, + -4.1250856227995247e-19, + 2.2540709026155258e-18, + -1.8285272572845112e-18, + 1.791702376128143e-19, + -7.761860733916025e-19, + 2.2813308845898895e-19, + 2.196606982422119e-18, + -2.4839206646548788e-18, + 2.1736718622464533e-18, + -1.2002139315268571e-18, + -2.860037867205495e-19, + -3.330182321983977e-21, + 1.9942692731081763e-18, + -2.7711928164317953e-18, + 1.4015808232372523e-19, + 1.843704930380685e-18, + -1.1646751331530293e-18, + 5.594335472304394e-19, + -2.35006181408337e-19, + -4.6070732786116626e-20, + 3.045935908941216e-19, + -1.0900432877490322e-18, + 8.072612319137783e-19, + 9.141828682114582e-19, + -1.6820310918219448e-18, + 1.2133084359250245e-18, + -1.1623584834925574e-18, + 1.2854764253481918e-18, + -6.40157572849777e-19, + 3.54022835989456e-20, + -3.3124676602373566e-19, + 6.206819397425204e-19, + 3.703555838079449e-20, + -8.466826993414761e-19, + 7.714928138547484e-19, + 1.1218072685054777e-19, + -5.106604701479241e-19, + 2.9372505374175805e-19, + -3.586463417573823e-19, + -4.7165327849342145e-20, + 3.0500387533002634e-19, + -2.3770631597968914e-19, + 1.331243882826963e-18, + -1.5194362279478075e-18, + 2.971140882696677e-19, + -4.234641684999312e-19, + 6.883792764213011e-19, + 1.545401322360809e-19, + -8.45862951978528e-21, + -9.715132439114441e-19, + 9.771875424222338e-19, + -4.339311589737556e-19, + 4.571961016883439e-19, + -4.690149749418759e-19, + 4.653477772307658e-19, + -5.291163475976214e-19, + 1.0890022594404665e-19, + -1.2589228340576287e-19, + 2.182684202235966e-19, + 1.9159176585849756e-19, + 1.8099833042414576e-19, + -5.867182693550582e-19, + -4.315726011603969e-19, + 1.4201829846308966e-18, + -7.957558636029585e-19, + -6.159117478319463e-19, + 1.0184400192177783e-18, + -9.522269143809618e-19, + 7.751560523049141e-19, + 6.833690722582325e-19, + -7.631490028597869e-19, + -2.421221494232592e-19, + -2.08415658999154e-18, + 2.7037839870393276e-18, + -5.904412096604862e-19, + 1.299923069899013e-18, + -2.1739505850354924e-18, + 2.124414862759937e-18, + -1.1239654548009488e-18, + 4.376118154026411e-19, + -2.9134481286519665e-18, + 4.098810521883668e-18, + -1.7762339204846113e-18, + 6.036118858370552e-21, + -1.9055668166249548e-19, + -6.881161211041848e-19, + -1.6577462488262233e-18, + 5.489512944077968e-18, + -1.7552589354965188e-18, + -3.3079779157764227e-18, + 4.125774336359442e-18, + -8.577873228909291e-19, + -3.5618140631827964e-18, + 4.40826239412228e-18, + 5.856525065581847e-19, + -3.0718930330703597e-18, + -2.2366599332336827e-18, + 2.7576127445917917e-18, + 3.2190911094529078e-18, + -8.602238914134593e-18, + 9.059237324679036e-18, + -6.546661093946951e-18, + 3.579679821474991e-18, + 9.085720690682824e-18, + -1.3054315289387866e-17, + 1.2061927644855855e-19, + 2.0142697067906522e-18, + -1.8238721818091424e-18, + 6.691946980118158e-18, + -8.291473807927872e-18, + 8.30699617491637e-18 + ], + "positive_inventory_m2": [ + 1000000000000002.8 + ], + "positive_m3": [ + 6.002381417269704e+21, + 6.012619122643051e+21, + 6.023490929806676e+21, + 6.035034331370922e+21, + 6.047288799548243e+21, + 6.060295857951609e+21, + 6.07409915097991e+21, + 6.088744509755254e+21, + 6.104280013402405e+21, + 6.120756044263142e+21, + 6.138225335415787e+21, + 6.156743008621096e+21, + 6.176366600539194e+21, + 6.197156074758213e+21, + 6.219173816845588e+21, + 6.242484609281072e+21, + 6.267155582763763e+21, + 6.29325614001465e+21, + 6.320857847838071e+21, + 6.35003429288332e+21, + 6.380860896292753e+21, + 6.413414682275907e+21, + 6.447773995660487e+21, + 6.484018163700314e+21, + 6.522227097934195e+21, + 6.562480832757877e+21, + 6.604858998658714e+21, + 6.649440229819956e+21, + 6.696301508048925e+21, + 6.745517447696065e+21, + 6.797159529321337e+21, + 6.851295293164586e+21, + 6.907987506737014e+21, + 6.96729332374479e+21, + 7.029263453706972e+21, + 7.093941362663292e+21, + 7.161362524981377e+21, + 7.231553744323371e+21, + 7.304532558409142e+21, + 7.380306737687496e+21, + 7.45887388303489e+21, + 7.540221122954411e+21, + 7.624324907267741e+21, + 7.711150892599413e+21, + 7.800653915268006e+21, + 7.892778049230208e+21, + 7.987456749687736e+21, + 8.084613085766067e+21, + 8.184160067188038e+21, + 8.286001069268551e+21, + 8.390030357553848e+21, + 8.496133708332629e+21, + 8.604189114875352e+21, + 8.714067562703845e+21, + 8.825633851545358e+21, + 8.938747437741996e+21, + 9.053263269273148e+21, + 9.169032586340728e+21, + 9.285903663495998e+21, + 9.403722474175276e+21, + 9.522333264764624e+21, + 9.64157903238296e+21, + 9.76130190789838e+21, + 9.881343452724221e+21, + 1.0001544884159949e+22, + 1.0121747248981131e+22, + 1.0241791568260297e+22, + 1.0361518977758114e+22, + 1.0480770887572458e+22, + 1.0599389182194082e+22, + 1.0717216478054798e+22, + 1.083409645066381e+22, + 1.094987423827319e+22, + 1.1064396924485961e+22, + 1.1177514098937119e+22, + 1.1289078493367413e+22, + 1.139894668976508e+22, + 1.1506979896939722e+22, + 1.161304479077631e+22, + 1.1717014410435467e+22, + 1.1818769097376978e+22, + 1.1918197456574066e+22, + 1.2015197310821127e+22, + 1.2109676611392548e+22, + 1.2201554263377787e+22, + 1.229076082326281e+22, + 1.2377239030376895e+22, + 1.2460944142321798e+22, + 1.2541844056246678e+22, + 1.26199192111213e+22, + 1.269516227919605e+22, + 1.2767577666095937e+22, + 1.2837180847453769e+22, + 1.2903997575196549e+22, + 1.296806298862752e+22, + 1.3029420664740376e+22, + 1.30881216394213e+22, + 1.314422342705763e+22, + 1.3197789061246051e+22, + 1.3248886174323657e+22, + 1.3297586128730192e+22, + 1.3343963209002081e+22, + 1.3388093879627758e+22, + 1.3430056111094628e+22, + 1.346992877420068e+22, + 1.3507791101021089e+22, + 1.3543722209725158e+22, + 1.357780068964261e+22, + 1.3610104242494855e+22, + 1.3640709375462973e+22, + 1.3669691141696002e+22, + 1.3697122923921422e+22, + 1.3723076256964368e+22, + 1.3747620685183359e+22, + 1.3770823651066085e+22, + 1.3792750411482818e+22, + 1.381346397835582e+22, + 1.3833025080762976e+22, + 1.3851492145747104e+22, + 1.3868921295346006e+22, + 1.3885366357589311e+22, + 1.3900878889426235e+22, + 1.3915508209752163e+22, + 1.3929301440891653e+22, + 1.3942303557071007e+22, + 1.3954557438575631e+22, + 1.3966103930436034e+22, + 1.3976981904622344e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22 + ], + "sheet_charge_C_m2": [ + 1.5313001760320654e-11 + ], + "trace_potential_V": [ + [ + -0.041621656723509565, + -0.041621656723509565 + ] + ], + "trace_state_m3": [ + [ + 426278113373.0676, + 12869185799751.86, + 20346834046945.984, + 269745467880.37973 + ] + ] + }, + "previous_time_s": 0.0021544346900318843, + "scaled_residual_vector": [ + -4.021068269113254e-06, + -1.8157068955210385e-07, + 3.0899306848648653e-06, + -2.1053762290848464e-07, + -1.6385393061746197e-07, + -2.588155740458136e-07, + -4.654394384573284e-06, + 7.304433500545442e-06, + -4.731764975643521e-06, + 3.7310635431881185e-06, + -1.1928792752428483e-06, + -6.35763384207831e-06, + 3.6711177025647655e-06, + 5.2946667909996364e-06, + -2.8898445975212155e-06, + -1.1040483918595271e-06, + 1.3630409296572773e-06, + 8.618006678782453e-08, + 2.3016012668221592e-06, + -2.1175979820618736e-06, + -7.864250066501802e-06, + 3.103824175676164e-06, + -1.979042985152512e-06, + 6.6143782855217795e-06, + 1.778125982350303e-05, + -3.16085346667183e-05, + 2.4303640425734966e-05, + -2.3710048591604707e-05, + 7.96287086588277e-06, + 7.905260396182347e-06, + -1.6171109440683787e-06, + -7.704580836308263e-06, + 1.5777090716724963e-05, + -1.2908653154569995e-05, + 1.1335441538247202e-05, + -1.7961930617625583e-05, + 1.0398259527504096e-05, + 2.2763097582982582e-06, + -1.930157055682331e-05, + 4.4005978735561065e-05, + -2.495505991543384e-05, + -3.534683939236091e-05, + 4.9504580582449486e-05, + -5.2630966661643177e-05, + 9.751591557840905e-05, + -0.0001018156098253858, + 1.2706782539510427e-05, + 6.916996012606555e-05, + -4.7872147171549726e-05, + 4.324281209448121e-06, + -9.622438686405917e-06, + 5.392416816063205e-05, + -9.73445403942198e-05, + 7.265694958712008e-05, + 2.654906068113133e-07, + -7.031665595916374e-06, + -7.357437390386807e-05, + 3.0352704637259603e-05, + 5.6243355545653205e-05, + 4.325029220037381e-05, + -9.579593679857159e-05, + 6.2427206391018485e-06, + 3.775410410808114e-05, + -4.261755426487949e-05, + 9.078031727433336e-05, + -9.07894105049312e-05, + 3.392568888069625e-05, + -4.674090619926729e-05, + 1.9093873598828156e-05, + 9.103779629880129e-06, + 9.074608092287926e-06, + 0.0001518027951389666, + -0.00015551649601463143, + -5.86343946483685e-05, + 0.00010137639343016787, + -0.00010380420301189015, + 3.8217896302850126e-05, + -8.826155404580861e-06, + 9.777735759612393e-05, + 1.874623584885235e-06, + -9.876393598645165e-05, + 0.00010421753011974702, + -0.00018008608540154425, + 0.00011748864141391391, + -4.074473256672748e-05, + 0.00014437731277166328, + -8.380089264754265e-05, + -6.72951279062704e-05, + -1.4382995141449234e-05, + 0.00010954807748668997, + -1.8253530738217917e-05, + -0.00014648908494290687, + 0.00023275126479044902, + -0.00011691052953048878, + -0.00013509344705055752, + 0.00014169717673151138, + 5.9124957250485494e-05, + -5.9082867919093035e-05, + -6.556478421516717e-05, + 0.00011634491333697922, + -5.787182285184356e-05, + -6.129077181811023e-05, + 4.3454766899617914e-05, + 5.0007982796731886e-05, + 2.2351353858971042e-05, + -0.00015191897384321288, + 0.00017402180930397112, + -0.00017695487116569018, + 5.232119737283339e-05, + 1.3179553591237067e-05, + 0.00014236191331329758, + -1.624448995613975e-05, + -0.0002128447284895319, + 4.9481180716033415e-05, + 0.0002507355128374429, + -0.00035750941129445145, + 0.0002032742345509961, + -7.384626986281508e-05, + 0.00018651677114319933, + -0.00015537509155848955, + 4.287132243190113e-05, + -7.741051152091256e-05, + 8.004261766554622e-05, + -4.7398393630988694e-05, + 5.1793868502721926e-05, + -0.00012380411036861728, + -4.122970834130595e-05, + 0.0007761409395409801, + -0.00012139677194000825, + 8.562002551576719e-05, + -8.756117978996778e-05, + 7.53083543049774e-05, + -8.48997190897167e-05, + 0.00012029906588303459, + -0.00013578541478024062, + -9.536788927903146e-06, + 0.0002370456246437612, + -0.0001684511053055484, + 2.789848541676835e-05, + -0.00013565325816676153, + 0.0002187614878700278, + -9.911025102151742e-05, + 6.584072279218706e-05, + -0.00011597723722535495, + 0.0001863298886965846, + -0.0001449318087145397, + -3.7981612705960256e-05, + -1.2178634168188212e-05, + -1.8845197882714538e-05, + 0.00018162586336693687, + -9.62922381544976e-05, + 4.3929917717632856e-05, + -4.405481896218759e-05, + 1.9493995302759876e-06, + 4.909107232250788e-05, + -0.0002332143553727575, + 0.0003153875418761054, + -0.0001301393776037721, + -0.0001365199686435135, + 0.00013034314829136627, + 2.1559229691541504e-05, + 0.00015533470564387813, + -0.000328670347079425, + 0.00025774608749966723, + -9.050555121331032e-05, + -0.00014943974375550135, + 0.00020427326021866152, + -0.00010002537434833262, + 8.090974613633954e-05, + -1.741338828139579e-05, + 1.9346551803020754e-05, + -0.00023236513111244312, + 0.00022333479885201302, + -5.020847962760428e-05, + 8.685574280959612e-05, + -5.380820356562625e-05, + -0.00010382176986969017, + 2.5627925830318206e-05, + 0.00019640910246129125, + -0.00012559281573560724, + -0.0001570650654357467, + 0.0002569297931235165, + -0.0002875863485931305, + 0.000217699789814969, + 8.629949749462093e-05, + -0.00017784253466107667, + 3.646177683488138e-05, + 0.0001149419761639478, + -0.0002606053251671882, + 0.00013879246896405216, + 0.00012529749765388166, + -0.0001422275430189127, + -9.676011870531447e-05, + 0.0002051804926483429, + -6.929461604692101e-05, + 7.79309884760047e-05, + -0.00019565324917466477, + 0.00010391552345209079, + 7.325506184822404e-05, + -6.044211663099619e-05, + -9.867879860140035e-05, + 5.1834953840720755e-05, + 0.0001054658963944462, + -0.00019444250794579894, + 0.0001566948844762038, + 2.1900911979496455e-05, + -3.060735886123318e-05, + -4.679169718892663e-06, + -3.719935079425229e-05, + -4.2891191909148776e-05, + 0.00013315050523257129, + 1.9348245063071874e-05, + -0.00023918218774297357, + 0.00022345058680958897, + -2.2852098897686075e-05, + 3.6300537680357937e-06, + -4.573030425294731e-05, + -0.0001419982657154501, + 0.00014894765648925816, + -4.250112245090007e-05, + 5.5415874310078645e-05, + 2.0222427582448855e-05, + -1.3544473500056705e-05, + 3.5735597314310205e-05, + -6.162100134511693e-05, + -8.531038197003832e-05, + 0.00015019014849034017, + -0.00012719055059848156, + 2.216405824549816e-05, + 1.914669484810112e-06, + 5.80021499211384e-06, + 0.00011772151827569834, + -9.473885849837037e-05, + 8.836338638128713e-05, + -0.00015899423860136968, + 4.160322924671811e-05, + 8.025703357916778e-05, + -0.00014307199565445793, + 0.0001368711177683774, + 4.184843472100818e-05, + -0.00012525827975543732, + 7.70793751926485e-05, + -8.556792014484601e-05, + -4.385152457028577e-05, + 0.00014596604928653642, + -3.39424336121188e-06, + -0.00010197168499799285, + 6.268452495102281e-05, + 4.5710691631073865e-05, + -0.00012131744068643224, + 0.00011401040782026305, + -0.00015771436507821607, + 0.00017560828531609852, + -8.584481772189536e-05, + 1.1542088088343693e-05, + -8.90520694710654e-06, + 5.025617511032279e-06, + -4.693819257739019e-06, + 5.1322705251124145e-06, + -4.907596886471451e-06, + 5.7500054467104926e-06, + -5.58096785632003e-06, + 6.98779656169948e-06, + -6.26528917889876e-06, + 1.4416090929935278e-06, + -1.1009124150069754e-07, + 2.486357214879045e-06, + -4.4256630685415334e-07, + 2.63319783092841e-06, + -7.514274841726866e-06, + 1.6680225035318403e-06, + 2.2725033159502965e-06, + -8.024397431647154e-06, + 1.314166211266617e-05, + -8.457752187334329e-06, + 3.691974514941523e-06, + 1.9564166097209686e-06, + 1.988207234241328e-05, + -4.301363976818128e-05, + 1.7710101372811006e-05, + 7.174668145056854e-06, + -1.9595499972503016e-05, + 2.2237741929168476e-05, + -6.962394829898096e-07, + -6.870032719369701e-07, + 8.026034479966087e-07, + -2.5476051086915183e-05, + 4.241599796684802e-05, + -4.809297403889568e-05, + 1.585564386808983e-05, + 2.155661380912811e-05, + -5.542614828002311e-06, + -2.23703673228281e-05, + 1.1954035173943313e-05, + 1.759601254809135e-06, + 3.360296498722528e-06, + 1.95429187028421e-05, + -5.077477797752545e-05, + 2.1232845627568314e-05, + 3.0056177912075085e-05, + 7.548489548979234e-06, + -8.760755322833217e-05, + 8.812243125186444e-05, + -6.6894396044640884e-06, + -4.4991123534640915e-05, + 2.578169903963323e-05, + -2.295063592021801e-05, + 3.086108101463616e-05, + -2.8683024966985608e-05, + 6.0363687394929305e-05, + -5.867522253236091e-05, + 2.291938566646192e-05, + -4.8062462695606704e-05, + 8.356651755467226e-05, + -4.961724307374408e-05, + -9.155298594392873e-06, + 6.218309118244905e-06, + 3.132763546120198e-05, + -4.136709552820433e-05, + 9.681061431448008e-06, + 1.861983318141668e-05, + -8.618373441242054e-06, + 4.525369976124307e-06, + 1.0429504159349496e-05, + -2.7723524292790977e-05, + -5.282511292650995e-06, + 2.8530010535783525e-05, + 2.100001806646128e-06, + -2.0973693665056893e-05, + 6.440419113419062e-06, + 1.8463339072161308e-05, + -1.2574412678515335e-05, + -2.059449246701157e-05, + 1.516531492727906e-05, + -3.884290090858164e-06, + -9.351542348121051e-06, + 3.321912502394971e-05, + -5.952207718893389e-06, + -3.938309984770659e-05, + 3.461256921989918e-05, + -2.29620022008254e-05, + 4.5888320560477595e-05, + -4.698855347020501e-05, + 1.1441250022822571e-05, + 2.0415828248538564e-05, + -2.9731640102715008e-05, + 1.7778571070443407e-05, + -1.0080408811477512e-05, + 1.6428376813857985e-05, + -2.5418837813708156e-05, + 5.7686310871299255e-06, + 1.5104326084279688e-05, + -4.12544543033399e-06, + -7.660574950673042e-06, + 1.3248108511862633e-05, + -2.395760223380711e-06, + -4.554410686574938e-06, + 3.5642101311485875e-06, + -2.041165413474412e-05, + 2.7694369247311766e-05, + -1.162603831211133e-05, + 4.724443751731557e-06, + -6.063369162937036e-06, + -9.001435090833901e-06, + 2.5039907243521142e-05, + -1.477165854440984e-05, + 1.4086670309891883e-07, + -1.653008401667538e-05, + 1.7648726855889605e-05, + 6.428798624171015e-07, + 6.76768234580181e-06, + 1.0668722185929738e-06, + -3.6505856584223676e-06, + -1.6991232049239945e-05, + 1.8998754586538278e-06, + 1.180877930325413e-05, + -8.73902245773231e-06, + 1.3117112856422956e-05, + 5.11412814212358e-06, + -1.5916077182636724e-05, + -0.00019470205822056145, + -0.00012901941166143003, + 4.8948708966691384e-05, + -1.8807147244624467e-05, + -5.554489630894305e-05, + 5.1251244316428655e-05, + -3.28458422147026e-05, + -2.4040437247971408e-05, + 8.56158241271772e-05, + -1.4177736817285909e-05, + -5.440445166241602e-05, + 4.8870870074529505e-05, + -6.295704547653263e-05, + 2.5600146203913212e-05, + 5.232614732467541e-05, + -8.42228658503342e-05, + 0.0001319892552182431, + -0.00011115680365985885, + 0.0001149330223716432, + -0.00012201625927594943, + 5.654741318262017e-06, + 4.306029186665717e-05, + -4.741326125092368e-05, + 3.618631821000111e-05, + -1.693903586201959e-05, + 3.6692365763938296e-05, + -6.525436986002776e-06, + 3.234781563937752e-05, + -2.2545621874061593e-05, + -0.00016823238714812504, + 0.00019773378057838598, + 6.108712100739367e-05, + -0.00019615004039174645, + -1.7077504229563338e-05, + 6.316305936475338e-05, + 0.00015048577684430322, + -0.0001608977367464159, + 5.4147584747183415e-05, + 0.00019669748644608325, + -0.0004496396315649693, + 0.0002805341452632724, + 1.3718310004433567e-06, + -0.00013330578291519197, + 9.676528894428892e-05, + 0.00017831628353808234, + -0.0002571571637823058, + 0.0001362894091369747, + -0.000267909820851838, + 0.0003258817839629606, + -0.00014136127222041519, + 9.192387343082515e-05, + -0.00012771697487329257, + 8.024825192697659e-05, + -2.541192354298519e-06, + -0.00016374147486069638, + 0.0002121376573499715, + -3.000576987013773e-06, + 3.1117692072948544e-05, + 9.311664239047117e-06, + -0.0002568933536846824, + 3.0274765991264963e-05, + 8.131149582008373e-05, + 0.00014829364972657798, + 2.6837035285415676e-05, + -0.00025327408974895545, + -0.00010461288864025573, + 0.00027219428285477206, + 0.00018160483737195772, + -0.00038984582001208546, + 3.778805601458276e-05, + 0.00028148035800880166, + -0.00017228579100617212, + 6.427065371974459e-05, + -5.9619773396133e-06, + -0.0001894293064742236, + 0.00015846819674324218, + 0.00011335447376228725, + -0.0002879906115555703, + 0.00012721103992505617, + 7.373160132825338e-05, + 8.605629998531883e-05, + -0.0002268630323910166, + 6.219213667150021e-05, + 0.000102919457821151, + 1.494351314776716e-05, + -0.00022317628235079387, + 0.00020290047294110758, + 7.589729600897508e-05, + -0.00029457577760467856, + 0.000259999841454058, + -0.00015213021619308662, + 0.00018293105013929975, + -0.0003018542363796211, + 0.0001972340678225026, + -5.581280206054994e-05, + 4.65039047666127e-05, + -2.495918413494329e-05, + -9.824492352494699e-05, + 0.0002693516104309226, + -0.0002186159989275364, + 0.0001162977778177214, + -0.00013260571307489605, + 0.0001410606992075098, + -0.0001295307684304488, + 1.3693486885355972e-05, + 0.00017767304774828692, + -0.000235843747590121, + 6.81555789512945e-05, + 0.0001295300908090338, + -0.00012225579900615512, + 6.942812289175593e-05, + -3.380209869438325e-05, + 0.00010324882896233835, + -0.00021004453645238945, + -3.3086986154429704e-05, + 0.00030632942679183857, + -0.00019665977206637352, + -1.7008991702340543e-06, + -1.2193124634446118e-05, + 0.00014684170671430815, + -0.000295563537722575, + 0.00025890383942596314, + -1.8497557587729917e-05, + -8.99899537771819e-05, + 2.620404193846006e-05, + 0.00014666229806751922, + -0.0002428934431088569, + 0.00011449488975396749, + 3.254263413440152e-06, + -7.408203248894117e-05, + -1.7733252083882097e-05, + -0.0001703036999546991, + 0.00043403345015115475, + -6.87610486663399e-05, + -0.0001965054017199662, + -0.0004076305944191963, + 0.0005202640462690808, + 0.0005053002963554167, + -0.0006253824415391994, + -0.00013112885871319538, + 0.0004326325775199049, + -0.00045277102782434984, + 0.00015129099953202396, + 0.0004430907118951027, + -0.0005970796455467718, + 0.00024616488081563733, + -0.00010414523633977589, + 0.00014295313276214232, + -0.00012741342871999185, + 0.0003149970912038416, + -0.000382666665681005, + 0.0001344446746567133, + -7.511161670126142e-05, + 7.653458795388542e-05, + 4.208235238125288e-05, + -0.00010068109837725259, + 0.00010460912162358754, + -1.3919741143476053e-05, + -3.5466617673749897e-06, + -2.2162495783873017e-05, + 3.104045819638108e-05, + -0.00012587910374226588, + 0.00013610020252807442, + 1.4480833725637046e-05, + -4.408030959392204e-05, + -5.652229763492511e-05, + 4.3809551652547305e-05, + 6.043572091286515e-05, + -6.501772592219168e-05, + -3.683874872893898e-06, + 1.153802327964315e-05, + -3.1202728564475463e-05, + 5.3933987690199274e-05, + -1.3774699864416753e-05, + -3.486061744949214e-05, + 3.3453793993683043e-05, + 2.4076110854735125e-06, + 5.772521015127896e-06, + -2.324118559865149e-05, + 4.228206876276734e-06, + 5.148140667715812e-06, + -4.783411161081456e-06, + 1.1133662336141058e-05, + -1.9122771295605613e-07, + -1.8813929404324617e-05, + 1.8220937815970444e-06, + 9.089913744488311e-06, + 2.5383468129415332e-05, + -2.8717817406178358e-05, + -1.7481398333865578e-05, + 7.968451219352847e-06, + 2.8189537205139816e-05, + -3.3241056397424755e-06, + -2.4476599952509843e-05, + 1.8122534792132064e-05, + 6.117638573596535e-07, + -2.9426103541264367e-06, + 3.850313581098696e-06, + -8.192339526583686e-06, + -2.03838022485665e-06, + -2.4243883161298516e-05, + 7.091439989884713e-05, + -3.427471457520794e-05, + -5.702874369725892e-05, + 7.668396227457447e-05, + -4.172610143472019e-05, + 2.2823771728266728e-05, + 2.1697245204713245e-07, + -1.3170272389381864e-05, + 1.931301236732864e-05, + -4.821211642983118e-05, + 7.663519624207839e-05, + -0.00010162513293031475, + 8.346403332311251e-05, + -3.2813085188714106e-06, + -2.089027883100646e-05, + -2.8336658655597502e-05, + 1.95743195045623e-05, + -2.019520118782904e-05, + -2.6504143048107843e-05, + 0.00018356701451150228, + -0.0002003900095121651, + 5.466888504266283e-05, + 4.033686476582067e-05, + 8.249960372512714e-05, + -0.0001461769315704299, + -7.576066502756681e-05, + 0.00016982497064658858, + 1.5063494556534498e-05, + -0.0002756612077622648, + 0.0004992066528534103, + -0.0004229363631269831, + -4.531265123263746e-06, + 9.002172787672426e-05, + 0.00011969980595727175, + -6.618066574212139e-05, + -0.0001467347548392311, + 0.0003223423837855046, + -0.00019169949513936084, + 0.00010387557912802057, + -2.1761344017509223e-05, + -0.00019252928677542132, + -0.00014801904294219306, + 0.0005366278941599792, + -8.61291996700256e-05, + -0.0004375672277037988, + 0.0005889120551175026, + -0.000603478579004071, + 0.0009195745516317992, + -0.0014490963513683077, + 0.001016890727093417, + -0.0002452061716246658, + 0.00013799696156525267, + -9.450648674283264e-05, + 2.634882132015175e-05, + -0.0007653218890622363, + 0.0011564743737824976, + -5.167653084512191e-07, + 4.965878210673102e-07, + -5.366521797959155e-07, + 1.7964762109422453e-06, + -2.390882560174902e-06, + 3.041908972459959e-06, + -5.188275130179276e-06, + 4.64946123732904e-06, + -1.7039979422187408e-06, + -2.1365874030527465e-07, + 1.525376442368674e-06, + -1.2019732541486162e-06, + 1.0024174316586218e-06, + -2.666391487491486e-06, + 4.529071868234931e-06, + -5.676504490810381e-06, + 4.900340781077125e-06, + -2.410616601708747e-06, + -1.1019710673022001e-06, + 2.628718755857256e-06, + 3.282258929608128e-06, + -4.398994052093908e-06, + -1.339837634405249e-06, + -3.220066220044009e-06, + 1.9352997694452427e-06, + 2.8066803992430064e-06, + 8.114126990523539e-06, + -1.100594423428789e-05, + 8.8557853396742e-06, + -1.8622237269467554e-05, + 2.707580684497229e-05, + -2.2872244497775874e-05, + -4.453253982132827e-06, + 1.398894149427932e-05, + 1.6402347604599056e-05, + -2.4940233499741943e-05, + -1.277852129211597e-06, + 1.4877547849464082e-05, + -7.96948083031459e-06, + -1.4121108880428386e-05, + 4.8172377915137923e-05, + -2.9358494406381777e-05, + -2.2197829376437663e-05, + 1.3604061762743041e-05, + 4.023109813957787e-05, + -4.5643791222203895e-05, + 1.7158074918525367e-05, + -3.4382534196672104e-05, + 5.7148980762244295e-05, + -4.074261071788027e-05, + -1.1653477124041458e-05, + 3.322778444772385e-05, + 1.9545156682545868e-05, + -5.621797592073662e-05, + 4.86979768928864e-06, + 3.935548613689482e-05, + -3.4206170395400184e-07, + 5.131705159276725e-06, + -4.961961538083689e-05, + 6.208521642339627e-05, + -4.476626435009773e-05, + -2.2191741853243134e-05, + 7.682016287609285e-05, + -5.367331152152557e-05, + 1.5257158732937926e-05, + -2.5789374559013766e-05, + -6.342684674429702e-05, + 0.00019012507771125947, + -0.0001292077831512792, + -7.458607050299988e-06, + 4.9822092789592475e-05, + -5.236551515434353e-05, + 6.341409084779348e-05, + -4.5619318602747224e-05, + 4.241039653043703e-06, + 2.3282867800601776e-05, + -4.411904380450491e-05, + 3.588547810521439e-05, + -3.994768634345147e-06, + 7.894312235073987e-05, + -0.00011420664802416689, + 3.906748611388757e-05, + 3.552457164105951e-05, + -0.00012172986015126521, + 4.4759441567547585e-05, + 8.829592648341446e-05, + -0.00014890746190708714, + 0.00019336102270727654, + -7.285231734208703e-05, + 3.5337609483844366e-05, + -0.00015738652594073283, + 0.00019300836325314828, + -0.00016830669595882688, + 7.706296087875054e-05, + -0.00010067475616067337, + 0.00020783222912031823, + -0.00013952283173779653, + -5.2992082655999426e-05, + 0.0001876535911977525, + -2.757678634487169e-06, + -0.00026928748109498834, + 0.00014494243281654222, + 0.00017893316024603103, + -0.00013908840619444176, + -0.00013185203178569252, + 0.00011544559482995889, + 9.094288542233448e-05, + -0.0001130118896950905, + -6.989272719305869e-05, + 0.00016507609296846282, + -0.00022527569926276443, + 0.00030476712492671904, + -0.00014015454788890907, + -0.00010985222383427908, + 0.00020964456352687584, + -0.0001640513265085453, + 3.037383668748724e-05, + 0.00010673161904008026, + -0.0002444484334246642, + 0.000138927980324742, + 4.986857136273096e-05, + 3.9326570839042596e-05, + -0.00013130767807730662, + 0.00010509050094914245, + 5.158976349751149e-05, + -0.00018864565596127107, + 0.00010350297408591436, + 5.6693787997863976e-05, + -8.62724653109479e-05, + 0.0001605725030865605, + -0.00014653701799643618, + 8.16813716267329e-05, + -0.00017962657111858838, + 0.00015850587542516614, + 8.5463061655023e-05, + -0.00021800408184934913, + 0.00022129111552425423, + -6.023489568048435e-05, + -7.690441398525984e-05, + 0.000147298992522379, + -0.00019445289472231237, + 2.0348664754734178e-05, + 7.854762022762531e-05, + -1.9180073127888774e-05, + 7.727158506472683e-06, + -2.9217368580982393e-06, + 8.181892938425847e-05, + -0.00011188147772968842, + -9.658880072826526e-05, + 0.00023750873254695923, + -0.00027466374100869773, + 0.000194858695123016, + -4.1819545634302416e-05, + 1.4007280644642879e-05, + 3.018826888065545e-05, + 1.9192282861112386e-05, + -3.9469066506857284e-05, + -9.0710244817103e-06, + -8.674246690341508e-05, + 2.678298559363453e-05, + 5.058215118414272e-05, + -2.4305917162423928e-05, + 0.00015074305480159978, + -0.00017554796329845288, + 6.975339476000754e-05, + 3.927358162791845e-05, + -0.0002294479489063678, + 0.00022112753389602507, + -0.00010549515338721091, + 0.00014034754741929577, + -9.88311456602633e-05, + 5.39353327873893e-05, + 2.1077755983330688e-06, + -6.718334018083875e-05, + -0.00011235296966517507, + 0.00021547705998085077, + 7.64734941850397e-06, + -6.108814625188661e-05, + -0.00010525821685539214, + 5.367833178255495e-05, + 7.152503161754279e-05, + -0.00013341529002192882, + 0.00016702950837742045, + -0.00021929947481402938, + 0.0003197778160213052, + -0.00021363205297320268, + -0.00010990346251055482, + 0.00036354784677117074, + -0.0004863902104410504, + 0.00042817732604007777, + 6.655746564286272e-05, + -0.00043272860542230025, + 1.721710729905374e-05, + 0.00037475204123778647, + -0.0002777945680146548, + 4.827117682331442e-05, + 0.00013060302846181285, + -0.00017138343137311485, + 0.00019675527518607551, + 7.419379079511807e-05, + -0.0005372435613394496, + 0.0004072832983982938, + -5.099973662756424e-05, + -4.4768438049768e-05, + 0.00025386827682282094, + -0.0004445188763015095, + 0.0002874977048102675, + -9.866883129442376e-05, + 0.0002601317700380731, + -0.00034992851739194526, + 4.671619697982384e-05, + 0.0003111790126844774, + -0.0005403838296423574, + 0.0003094152926417197, + -2.555037564254907e-05, + 0.0003829764622751013, + -0.0006914064413717519, + 0.0006531977394087549, + -0.00047065267802391865, + 0.00014160589929431054, + -2.1227311980179658e-05, + 1.2192435995669058e-05, + 1.5294016917863584e-05, + 0.00014741969822712516, + -0.0003245515943642913, + 0.00026343525030739446, + 9.995866383949393e-05, + -0.0003461692186039672, + 0.00023070942827633486, + -0.00013644669142459388, + 0.00016371600712922736, + -7.60669483358554e-05, + -0.0001891952234609898, + 0.0003831533213806233, + -0.0005617644309527746, + 0.0006637680821469263, + -0.00033392372436811456, + 1.0299217779709926e-05, + -0.00011579885434817312, + 0.0001620342583476444, + 4.513113362654026e-05, + -3.254709685239067e-05, + -0.00018082889337181393, + 0.00034016946013114963, + -0.0003074296174664088, + 0.00012245452995557468, + -0.00018995965780575395, + 0.00021768943844268157, + 0.00016239410070283093, + -0.000367788198890527, + 0.00012662952353406385, + -2.9690533169164546e-06, + -7.743459773673934e-05, + 0.00026749409579757783, + 0.0, + 5.896051606169502e-05, + -0.0002107235747742759, + -0.01460710194989041, + 0.053230520214829116, + -0.00019412661428285763 + ], + "schema": "R1NewtonFailureWitnessV1", + "scope": "failed_iterate_not_accepted_step_or_complete_newton_history", + "storage_scale": [ + 84289781436.89577, + 100457363052.47975, + 88869021478.82458, + 78630231777.01236, + 69583150449.36523, + 61588436657.3207, + 54523080795.94318, + 48278488054.98408, + 42758787014.5563, + 37879336842.62732, + 33565409766.68712, + 29751028232.637444, + 26377938582.384518, + 23394705216.08729, + 20755911088.57314, + 18421452051.804634, + 16355914022.232517, + 14528023246.569872, + 12910161082.060644, + 11477935715.640608, + 10209804136.222216, + 9086738459.68591, + 8091931399.181647, + 7210536284.994116, + 6429437577.991364, + 5737048297.0584545, + 5123131201.29671, + 4578640938.811523, + 4095584701.3234143, + 3666899212.8155727, + 3286342135.448744, + 2948396201.046696, + 2648184575.0804167, + 2381396135.384789, + 2144219502.552798, + 1933284795.4965508, + 1745612206.177395, + 1578566593.8704822, + 1429817393.2087119, + 1297303213.1134114, + 1179200576.8593674, + 1073896318.0841253, + 979963204.5427668, + 896138411.7193877, + 821304512.8199104, + 754472690.8806605, + 694767913.3420054, + 641415839.9979826, + 593731262.2142289, + 551107895.1302137, + 513009365.59667385, + 478961257.1749814, + 448544089.9296205, + 421387127.23560524, + 397162914.62471765, + 375582467.00847864, + 356391030.6190278, + 339364354.85785323, + 324305417.07638174, + 311041550.254667, + 299421929.7045414, + 289315380.40394384, + 280608471.42141145, + 273203868.30050623, + 267018918.12851194, + 261984445.54455546, + 258043741.1387001, + 255151726.58118683, + 253274283.4848908, + 252387735.46880627, + 252478475.19680032, + 253542730.34943435, + 255586464.58087382, + 258625411.54943568, + 262685242.12008944, + 267801866.85031745, + 274021877.91781425, + 281403136.75987124, + 290015515.9026856, + 299941805.79735214, + 311278799.98395354, + 324138574.6149752, + 338649981.32555807, + 354960375.68739164, + 373237607.0748678, + 393672299.7638618, + 416480459.5348348, + 441906445.03454, + 470226348.73930675, + 501751838.6469612, + 536834518.8996891, + 575870875.5179868, + 619307882.4292808, + 667649353.1466014, + 721463134.9477136, + 781389255.406628, + 848149145.837954, + 922556082.8588871, + 1005527008.1170814, + 1098095907.5650232, + 1201428955.8183954, + 1316841658.4931138, + 1445818256.4025965, + 1590033690.5915282, + 1751378466.9422886, + 1931986804.124986, + 2134268499.6812506, + 2360945006.840408, + 2615090280.1418276, + 2900177022.1365223, + 3220129047.4963446, + 3579380576.0905614, + 3982943374.499596, + 4436482787.6865835, + 4946403841.073153, + 5519948750.210202, + 6165307353.063365, + 6891742181.44558, + 7709730116.398149, + 8631122831.049582, + 9669328517.557487, + 10839517726.874878, + 12158856526.39061, + 13646770606.925592, + 15325244453.640078, + 17219160242.9954, + 16385382798.544022, + 778275889641.2701, + 812759653633.8898, + 719045287853.4609, + 636238889189.1224, + 563065029904.295, + 498397768132.6847, + 441243105926.507, + 390723507141.7833, + 346064233206.6996, + 306581283246.9175, + 271670750125.45438, + 240799426093.18552, + 213496511282.6764, + 189346295520.85492, + 167981699149.98718, + 149078571976.3659, + 132350661315.77232, + 117545170563.1114, + 104438838943.69917, + 92834481248.4237, + 82557933543.5915, + 73455357190.1129, + 65390859105.267784, + 58244391141.02319, + 51909895813.4982, + 46293669466.241974, + 41312917346.124435, + 36894478067.89106, + 32973697588.50427, + 29493435146.799744, + 26403185684.20348, + 23658305080.43808, + 21219326142.802696, + 19051354703.81242, + 17123536431.781637, + 15408586062.03603, + 13882371729.956306, + 12523547946.231932, + 11313231513.034716, + 10234715349.0927, + 9273215782.32506, + 8415649390.081138, + 7650435927.171819, + 6967324288.052651, + 6357238808.024743, + 5812143524.769243, + 5324922300.891184, + 4889272954.738947, + 4499613764.483891, + 4151000902.6615033, + 3839055528.099033, + 3559899412.048925, + 3310098107.717875, + 3086610789.337278, + 2886745990.244126, + 2708122560.7754464, + 2548635247.528003, + 2406424366.962398, + 2279849109.5566936, + 2167464066.7052627, + 2067998622.2164688, + 1980338894.3195474, + 1903511953.279623, + 1836672074.60956, + 1779088819.0289261, + 1730136758.2281635, + 1689286690.5859177, + 1656098213.6540608, + 1630213540.8199582, + 1611352468.398786, + 1599308416.7988536, + 1593945485.6034994, + 1595196477.688838, + 1603061862.0686016, + 1617609659.269607, + 1638976246.9006028, + 1667368096.9048789, + 1703064469.9947371, + 1746421107.1718585, + 1797874973.2666316, + 1857950123.307879, + 1927264779.5162802, + 2006539725.0577288, + 2096608140.6810076, + 2198427032.310048, + 2313090421.902345, + 2441844500.803174, + 2586104974.8222938, + 2747476863.8336115, + 2927777056.3283467, + 3129059961.6645055, + 3353646650.382843, + 3604157926.646245, + 3883551837.4624624, + 4195166191.780454, + 4542766739.905645, + 4930601751.144004, + 5363463826.5427685, + 5846759895.560017, + 6386590472.258867, + 6989839390.110283, + 7664275396.986546, + 8418667175.942432, + 9262913565.803226, + 10208190991.639074, + 11267120382.661934, + 12453956157.932163, + 13784800203.553553, + 15277844153.733398, + 16953643728.608503, + 18835429380.829407, + 20949458068.18685, + 23325411610.302334, + 25996847813.221962, + 29001711367.988728, + 32382912461.345676, + 36188982092.17351, + 40474814283.84026, + 45302506737.77541, + 50742313009.68818, + 56873721029.738716, + 63786674760.097824, + 71582958017.1323, + 80377762017.48538, + 90301461075.31036, + 101501624128.79974, + 84789587814.45293, + 84786371993.89607, + 101495813900.52734, + 90293328119.52391, + 80367294970.46912, + 71570157737.14986, + 63771551796.48786, + 56856293424.27371, + 50722604386.43527, + 45280544643.11692, + 40450628742.63018, + 36162604350.26118, + 32354373887.94624, + 28971042494.642002, + 25964077488.542282, + 23290566252.250633, + 20912560997.410458, + 18796500220.522877, + 16912697857.67764, + 15234892201.47117, + 13739847575.00206, + 12407002580.020086, + 11218159461.982548, + 10157209775.242449, + 9209892096.842726, + 8363578036.329276, + 7607083229.332071, + 6930500391.344417, + 6325051851.1831875, + 5782959286.435571, + 5297328650.483587, + 4862048516.644357, + 4471700273.2573185, + 4121478787.427767, + 3807122317.4763103, + 3524850597.495463, + 3271310143.984852, + 3043525946.330187, + 2838858801.636235, + 2654967641.6623697, + 2489776276.709139, + 2341444049.4552464, + 2208339952.024754, + 2089019812.896998, + 1982206207.5018992, + 1886770788.2011268, + 1801718766.493688, + 1726175313.2868264, + 1659373672.4480872, + 1600644809.0686662, + 1549408437.3197808, + 1505165293.8475108, + 1467490541.6478806, + 1436028206.5879483, + 1410486564.4576607, + 1390634410.892508, + 1376298159.916163, + 1367359729.4284725, + 1363755183.8889542, + 1365474115.9079523, + 1372559759.628071, + 1385109839.8251712, + 1403278171.7528017, + 1427277038.0601845, + 1457380380.8090825, + 1493927858.8735676, + 1537329834.0229754, + 1588073362.9592383, + 1646729287.7259793, + 1713960533.464226, + 1790531740.7195117, + 1877320379.69423, + 1975329516.3075988, + 2085702425.0297556, + 2209739271.5929456, + 2348916120.3024616, + 2504906556.2682195, + 2679606253.026019, + 2875160861.3464956, + 3093997646.2544384, + 3338861357.211305, + 3612854881.9499345, + 3919485308.6211596, + 4262716104.871486, + 4647026217.516741, + 5077477004.095033, + 5559788029.434161, + 6100422898.353807, + 6706686451.881249, + 7386834831.3252945, + 8150200114.990966, + 9007331459.339209, + 9970154933.56656, + 11052154527.879457, + 12268577145.775833, + 13636664764.510395, + 15175917371.504251, + 16908390764.384401, + 18859033846.048626, + 21056070662.237675, + 23531433127.127773, + 26321251173.340252, + 29466407958.932087, + 33013168779.343605, + 37013893482.79439, + 41527843491.336685, + 46622096006.952354, + 52372579655.831375, + 58865247720.716736, + 66197407260.09625, + 74479224848.3017, + 83835432429.80476, + 94407259907.53908, + 106354624628.03699, + 119858611940.39117, + 135124285555.14285, + 152383871583.38873, + 171900365976.953, + 193971621708.9868, + 218934979532.7232, + 247172514654.80914, + 279116981287.08716, + 315258547952.6416, + 356152428783.97345, + 402427530062.20294, + 454796247117.3372, + 514065564701.75726, + 492252474100.011, + 10369543869.762058, + 10898476538.20121, + 9700761864.674515, + 8639285726.819265, + 7698314653.644803, + 6863947416.947455, + 6123900748.15427, + 5467320173.768814, + 4884613021.614131, + 4367300996.265677, + 3907890027.5356855, + 3499755365.4923873, + 3137040133.433044, + 2814565760.241189, + 2527752898.8675203, + 2272551601.266997, + 2045379664.456607, + 1843068189.780487, + 1662813509.905504, + 1502134737.310286, + 1358836275.621656, + 1230974712.4548712, + 1116829580.6473746, + 1014877534.9927884, + 923769544.7398683, + 842310749.0333234, + 769442663.8878416, + 704227465.8402984, + 645834109.6928056, + 593526066.2460176, + 546650491.0690554, + 504628657.556694, + 466947507.1286526, + 433152186.74000144, + 402839459.16123116, + 375651884.99532324, + 351272687.334094, + 329421220.50468975, + 309848973.68414426, + 292336048.4111716, + 276688056.32610714, + 262733389.939805, + 250320824.9676232, + 239317417.85612306, + 229606666.65819478, + 221086907.4441718, + 213669922.03935018, + 207279736.10344312, + 201851589.46872762, + 197331063.27380338, + 193673350.81038165, + 190842661.1785762, + 188811746.8543603, + 187561548.14381656, + 187080949.2600033, + 187366642.43805465, + 188423098.13414305, + 190262640.91074204, + 192905632.2818339, + 196380763.2973395, + 200725461.35429922, + 205986417.4288806, + 212220241.73300624, + 219494257.73882115, + 227887446.60644978, + 237491556.32964203, + 248412392.41515514, + 260771309.6752299, + 274706927.7798454, + 290377096.6359514, + 307961141.48709583, + 327662421.91795355, + 349711243.77332336, + 374368168.4317588, + 401927769.99853325, + 432722897.89377594, + 467129510.11810416, + 505572151.30196804, + 548530159.6216639, + 596544697.9536674, + 650226717.4110869, + 710265975.8641917, + 777441250.4162688, + 852631901.3383604, + 936830965.9575981, + 1031159984.7637352, + 1136885788.9258883, + 1255439508.908716, + 1388438098.431244, + 1537708707.1493614, + 1705316279.7876365, + 1893594809.685516, + 2105182731.6367013, + 2343063003.3929524, + 2610608498.267513, + 2911633414.0545697, + 3250451497.284335, + 3631941988.110235, + 4061624311.541703, + 4545742677.184734, + 5091361904.249126, + 5706475963.759154, + 6400130928.392064, + 7182564245.276618, + 8065362501.915553, + 9061640144.179546, + 10186241932.460745, + 11455972292.8898, + 12889855140.543646, + 14509428227.613274, + 16339076608.915726, + 18406410428.19845, + 20742692921.324383, + 23383325317.119812, + 26368396205.754963, + 29743303952.261017, + 33559461874.25223, + 37875097196.81153, + 42756156263.17387, + 48277330141.06714, + 54523216646.59199, + 61589636940.46529, + 69585127267.82896, + 78632629151.70024, + 88871404452.59175, + 100459205223.62831, + 84290747434.12527, + 0.4086727064128491, + 275895670155.25775, + 289206738602.7522, + 287975704656.1264, + 262912381431.10754, + 240729778283.6606, + 221095845812.4948, + 203717309585.94943, + 188335136172.99365, + 174720530814.61365, + 162671404316.39923, + 152009254069.67017, + 142576410573.61667, + 134233606536.27809, + 126857830666.50644, + 120340432711.71838, + 114585450216.3575, + 109508130935.17273, + 105033627887.80954, + 101095846734.93253, + 97636427533.38815, + 94603845026.35233, + 91952613477.26698, + 89642583693.0552, + 87638321328.92236, + 85908556847.025, + 84425698635.20126, + 83165401797.91878, + 82106186025.59145, + 81229096744.36972, + 80517404458.15306, + 79956337827.68521, + 79532846595.92503, + 79235390970.2254, + 79053754514.29333, + 78978877989.27039, + 79002711915.62083, + 79118085908.04335, + 79318593067.54515, + 79598487903.136, + 79952596407.647, + 80376237037.44296, + 80865151455.02954, + 81415443997.17165, + 82023528937.09526, + 82686084721.3259, + 83400014478.00964, + 84162412207.46593, + 84970534167.38417, + 85821775044.50778, + 86713648554.87125, + 87643772134.04494, + 88609855371.8039, + 89609691821.49315, + 90641153784.96191, + 91702189650.87842, + 92790823356.58788, + 93905155556.82831, + 95043366118.17131, + 96203717614.54202, + 97384559573.05179, + 98584333305.9567, + 99801577258.6466, + 101034932899.881, + 102283151273.8387, + 103545100419.06854, + 104819773932.76768, + 106106301016.46967, + 107403958378.92854, + 108712184393.18866, + 110030595909.1394, + 111359008114.37833, + 112697457821.50769, + 114046230547.47842, + 115405891749.16571, + 116777322596.36111, + 118161760702.3982, + 119560846291.97649, + 120976674358.35704, + 122411853437.64484, + 123869571696.57811, + 125353671087.34808, + 126868730372.00574, + 128420157872.52968, + 130014294879.79198, + 131658530776.47807, + 133361431113.00925, + 135136539958.95422, + 136992863102.90442, + 138942863345.3184, + 141001417788.10913, + 143185463235.3763, + 145514247595.5355, + 148009614212.82556, + 150696323760.2316, + 153602418927.95862, + 156759637817.03693, + 160203882708.51654, + 163975751737.12787, + 168121141969.25687, + 172691933484.42145, + 177746765305.68152, + 183351915437.86877, + 189582298876.3117, + 196522599268.83295, + 204268551978.7107, + 212928398639.99493, + 222624535954.5053, + 233495384495.2329, + 245697506700.51813, + 259408007119.93887, + 274827252369.07184, + 292181953232.48975, + 311728657001.7143, + 333757704535.9867, + 358597713786.8123, + 386620659748.0868, + 418247630107.9053, + 453955346433.9579, + 494283552685.9484, + 539843386399.8128, + 591326863248.8674, + 649517623086.088, + 715303105292.4626, + 789688343597.846, + 873811595861.3066, + 968962052980.8564, + 1076599903616.4983, + 485905961030.5604 + ], + "substeps": 4, + "terminal_state_available": true, + "time_s": 0.0022683653214445472, + "voltage_V": 0.005 + } + } + }, + "control_label": "D", + "historical_v52_candidate_evidence": [ + { + "before_trace_density": [ + 426553316933.3458, + 12860859470328.885, + 20359985758903.273, + 269571146004.40952 + ], + "candidate_trace_density": [ + [ + 426553316933.3458, + 12860859470328.885, + 20359985758903.27, + 269571146004.40952 + ] + ], + "changed_columns": [ + 895 + ], + "coordinate": [ + 2.9163233886762668e-12, + 6.027036597286089e-12, + 9.343028424912874e-12, + 1.2875751445554371e-11, + 1.6637521245746178e-11, + 2.0641746755747927e-11, + 2.4903047319290638e-11, + 2.943725796077218e-11, + 3.426138368665074e-11, + 3.939355302920943e-11, + 4.485302223952079e-11, + 5.0660192438056186e-11, + 5.683665159581596e-11, + 6.340522362091584e-11, + 7.039002618433079e-11, + 7.781650229644767e-11, + 8.571148007025379e-11, + 9.410321164959618e-11, + 1.0302140668525806e-10, + 1.1249726623641163e-10, + 1.2256349769104874e-10, + 1.332543226874365e-10, + 1.4460548449814978e-10, + 1.566542169465607e-10, + 1.6943920041222653e-10, + 1.830005082080325e-10, + 1.9737950273392425e-10, + 2.1261871713943819e-10, + 2.2876168614620389e-10, + 2.458527584564209e-10, + 2.639368147850265e-10, + 2.830589862112836e-10, + 3.032642692826633e-10, + 3.245970925748077e-10, + 3.4710082669668643e-10, + 3.708171531249105e-10, + 3.9578545708381464e-10, + 4.220420154699824e-10, + 4.4961917799873914e-10, + 4.785444316261742e-10, + 5.088393782112183e-10, + 5.405186373129608e-10, + 5.735886515473867e-10, + 6.080464750101738e-10, + 6.438784376782911e-10, + 6.810589488863873e-10, + 7.195490546944526e-10, + 7.592952769138141e-10, + 8.002283694669319e-10, + 8.422621875931007e-10, + 8.852928091842622e-10, + 9.291976998489473e-10, + 9.738352841468635e-10, + 1.0190445828492767e-09, + 1.0646453247368265e-09, + 1.110438405615547e-09, + 1.1562066840319674e-09, + 1.2017161394854242e-09, + 1.246717515982275e-09, + 1.2909482860594203e-09, + 1.3341352357634998e-09, + 1.375996924817495e-09, + 1.4162472472933117e-09, + 1.4545983794533285e-09, + 1.4907646859773003e-09, + 1.5244663105696238e-09, + 1.5554330576713138e-09, + 1.58340814077607e-09, + 1.6081519775745507e-09, + 1.6294455654327087e-09, + 1.6470937269841504e-09, + 1.6609281637082478e-09, + 1.6708097048432625e-09, + 1.676630606033106e-09, + 1.6783157493719318e-09, + 1.6758238849396613e-09, + 1.6691478663089979e-09, + 1.6583145829713998e-09, + 1.6433842440386566e-09, + 1.6244491971536224e-09, + 1.6016321600221321e-09, + 1.5750841247884512e-09, + 1.5449818113851373e-09, + 1.5115250030940295e-09, + 1.4749331174206193e-09, + 1.4354424369374325e-09, + 1.393302344724578e-09, + 1.3487722277573127e-09, + 1.3021180860811913e-09, + 1.253609293968655e-09, + 1.2035155043015627e-09, + 1.1521039011249747e-09, + 1.099636445888861e-09, + 1.0463676076741922e-09, + 9.925422963931053e-10, + 9.38394096516232e-10, + 8.841438246723695e-10, + 8.299982811422252e-10, + 7.761495609484864e-10, + 7.227742965195103e-10, + 6.700334022519759e-10, + 6.180720784659462e-10, + 5.670196369137487e-10, + 5.169900414757769e-10, + 4.680823527379013e-10, + 4.2038111195062887e-10, + 3.739571946312257e-10, + 3.2886856382830284e-10, + 2.8516100108050755e-10, + 2.4286898178492674e-10, + 2.0201668806849096e-10, + 1.6261881277090882e-10, + 1.2468138165018194e-10, + 8.820273111618582e-11, + 5.317432913263226e-11, + 1.9581621025623875e-11, + -1.2594931165175608e-11, + -4.337883969570371e-11, + -7.279659808470275e-11, + -1.0087598588731556e-10, + -1.2764523119407698e-10, + -1.5313193657679979e-10, + -1.7736338254516667e-10, + -2.003665480573227e-10, + -2.2216962441208428e-10, + -2.428030626119931e-10, + -2.623003561121529e-10, + -3.9142587928835544e-10, + -3.9180440206106674e-10, + -3.922063417544498e-10, + -3.9263300780097817e-10, + -3.9308586132916623e-10, + -3.9356643228645164e-10, + -3.940763259797779e-10, + -3.946171424008365e-10, + -3.9519076567668353e-10, + -3.957988143569455e-10, + -3.9644340794859344e-10, + -3.971264060211554e-10, + -3.9784987739849144e-10, + -3.9861604504076907e-10, + -3.994270639972187e-10, + -4.0028527542977395e-10, + -4.011930081988912e-10, + -4.021527979682536e-10, + -4.0316709754304463e-10, + -4.042384390318297e-10, + -4.053694990969943e-10, + -4.0656288493158903e-10, + -4.0782124287727506e-10, + -4.0914723201812956e-10, + -4.105434830545183e-10, + -4.120126712393795e-10, + -4.1355726907211574e-10, + -4.1517971816389236e-10, + -4.168823677485652e-10, + -4.1866726576116165e-10, + -4.205363734468483e-10, + -4.2249136514822305e-10, + -4.2453354541862567e-10, + -4.266638091498379e-10, + -4.288825870860417e-10, + -4.311898787435543e-10, + -4.335849374842469e-10, + -4.3606633525558716e-10, + -4.386319139369069e-10, + -4.4127853179320956e-10, + -4.4400196732255667e-10, + -4.467969577899766e-10, + -4.496569116537528e-10, + -4.5257394165825703e-10, + -4.555385770334578e-10, + -4.5853980994792886e-10, + -4.615648734753957e-10, + -4.645991039157416e-10, + -4.676259767340035e-10, + -4.706271040200346e-10, + -4.735818315834206e-10, + -4.764676164097022e-10, + -4.792597680529306e-10, + -4.819316911824236e-10, + -4.844546909135033e-10, + -4.86798455066624e-10, + -4.889310147179475e-10, + -4.908189490984511e-10, + -4.924278843318641e-10, + -4.937224981529837e-10, + -4.94667286513339e-10, + -4.952266813279296e-10, + -4.953658783324299e-10, + -4.950507987780949e-10, + -4.942491726290738e-10, + -4.929308904642732e-10, + -4.910683176819462e-10, + -4.886371120589172e-10, + -4.856167761710143e-10, + -4.81990671114313e-10, + -4.777469099378419e-10, + -4.728783535741508e-10, + -4.673828773557861e-10, + -4.612638533847389e-10, + -4.5452965025376027e-10, + -4.4719415804065584e-10, + -4.392761937692819e-10, + -4.307995288465822e-10, + -4.217924866327805e-10, + -4.1228766921289406e-10, + -4.023212205046962e-10, + -3.919325867271162e-10, + -3.811638318909417e-10, + -3.7005907445538245e-10, + -3.5866385884274047e-10, + -3.4702475344464024e-10, + -3.351884807944848e-10, + -3.23201704919295e-10, + -3.1111025577706957e-10, + -2.9895868106902324e-10, + -2.867901133501602e-10, + -2.746456054905918e-10, + -2.6256409473161594e-10, + -2.5058177780853334e-10, + -2.38732466306835e-10, + -2.2704688624426174e-10, + -2.155530115517658e-10, + -2.0427600125886504e-10, + -1.9323776363038773e-10, + -1.8245770150268786e-10, + -1.7195224561088912e-10, + -1.6173510297657083e-10, + -1.5181749990639625e-10, + -1.422082695111517e-10, + -1.3291382265164493e-10, + -1.239387360640297e-10, + -1.1528542068726986e-10, + -1.069545824699626e-10, + -9.894544936309207e-11, + -9.125570378350401e-11, + -8.38818736371047e-11, + -7.681924193817173e-11, + -7.006229220291695e-11, + -6.360452164728687e-11, + -5.7438869178970126e-11, + -5.155772709767989e-11, + -4.5952842951214283e-11, + -4.0615792818770155e-11, + -3.55376772659326e-11, + -3.0709696005683386e-11, + -2.6122700989594547e-11, + -2.17675028894065e-11, + -1.7635047980023673e-11, + -1.3716233321806247e-11, + -1.0002049623539563e-11, + -6.483741881070768e-12, + -3.152549168185391e-12, + 2.800191376418851e-12, + 5.770138789080979e-12, + 8.917611162873369e-12, + 1.2250574467761676e-11, + 1.577736061287531e-11, + 1.950681665149812e-11, + 2.344831519588891e-11, + 2.761171784261654e-11, + 3.2007269290545046e-11, + 3.664550371089968e-11, + 4.153717719219218e-11, + 4.669320714610568e-11, + 5.212461680571085e-11, + 5.784247800086841e-11, + 6.385786652155003e-11, + 7.018177165042034e-11, + 7.682505585173308e-11, + 8.37983321711221e-11, + 9.111189996465662e-11, + 9.8775625384879e-11, + 1.0679885094978998e-10, + 1.1519025280505497e-10, + 1.2395771918566106e-10, + 1.3310821815544594e-10, + 1.4264765146536495e-10, + 1.5258068964274902e-10, + 1.6291061508993207e-10, + 1.736391758198149e-10, + 1.8476638791906488e-10, + 1.9629040858378564e-10, + 2.0820731633412363e-10, + 2.205110055096389e-10, + 2.3319297481786917e-10, + 2.4624224185621244e-10, + 2.5964517200714995e-10, + 2.7338538650452443e-10, + 2.874436592720817e-10, + 3.017978513933357e-10, + 3.1642292235370956e-10, + 3.312908679316805e-10, + 3.4637081855255547e-10, + 3.6162905763932075e-10, + 3.7702919948626484e-10, + 3.925323347343985e-10, + 4.0809724456016656e-10, + 4.2368065415384624e-10, + 4.392375741642056e-10, + 4.5472161038663016e-10, + 4.700853732134093e-10, + 4.852809225378251e-10, + 5.002601916921605e-10, + 5.14975515765286e-10, + 5.293800758201797e-10, + 5.434284489151826e-10, + 5.570771183920905e-10, + 5.702849385980857e-10, + 5.830136100223463e-10, + 5.952281367319515e-10, + 6.068972331022813e-10, + 6.179936332727774e-10, + 6.284944191494734e-10, + 6.383812234462298e-10, + 6.476403666911108e-10, + 6.562629765059729e-10, + 6.642449569594616e-10, + 6.715869054110496e-10, + 6.782939920192351e-10, + 6.843757100490826e-10, + 6.898456242998277e-10, + 6.947209996408273e-10, + 6.990224785186444e-10, + 7.027735888853056e-10, + 7.060003805818357e-10, + 7.087309126293937e-10, + 7.109948427614808e-10, + 7.128229349456457e-10, + 7.142466820787448e-10, + 7.152978291165236e-10, + 7.160080656526775e-10, + 7.16408643364187e-10, + 7.165300827893553e-10, + 7.164019367169539e-10, + 7.160525358962053e-10, + 7.155088356913599e-10, + 7.147962848644796e-10, + 7.139387265763242e-10, + 7.12958342466804e-10, + 7.118756112235469e-10, + 7.10709309662804e-10, + 7.094765534289707e-10, + 7.08192808837375e-10, + 7.068719820859664e-10, + 7.055264815617201e-10, + 7.041672895135312e-10, + 7.028040660078668e-10, + 7.014452076927092e-10, + 7.000979992914849e-10, + 6.987686565716909e-10, + 6.974624344243113e-10, + 6.96183720010716e-10, + 6.949361251434745e-10, + 6.937225509050515e-10, + 6.925452704183159e-10, + 6.914060167056367e-10, + 6.903060253352974e-10, + 6.892460960368526e-10, + 6.882266845524028e-10, + 6.872479137218177e-10, + 6.86309626010979e-10, + 6.85411436944972e-10, + 6.845527759284982e-10, + 6.837328995411863e-10, + 6.829509341455256e-10, + 6.822058938593648e-10, + 6.814967324874137e-10, + 6.808223159422897e-10, + 6.801814827525827e-10, + 6.795730550328911e-10, + 6.789958736201407e-10, + 6.78448794966316e-10, + 6.779307566067068e-10, + 6.77440769334517e-10, + 6.769779129224356e-10, + 6.765413038709886e-10, + 6.76130101025136e-10, + 6.757434311284639e-10, + 6.753803643529752e-10, + 5.619394450016568e-10, + 5.449685072411712e-10, + 5.270775431118066e-10, + 5.082282929989611e-10, + 4.883823155597996e-10, + 4.675013771963263e-10, + 4.4554762589089466e-10, + 4.2248391971776666e-10, + 3.982741697767296e-10, + 3.7288375131868127e-10, + 3.4627985654873765e-10, + 3.184320448721328e-10, + 2.89312729398777e-10, + 2.5889769107104075e-10, + 2.2716672556645108e-10, + 1.941042896132651e-10, + 1.5970020069439216e-10, + 1.2395037311597542e-10, + 8.68574796296213e-11, + 4.843196280708522e-11, + 8.692537331986269e-12, + -3.2332701970564476e-11, + -7.460561941234581e-11, + -1.1807721225954029e-10, + -1.6268684997273376e-10, + -2.0836149071662905e-10, + -2.550152936452513e-10, + -3.0254868809265345e-10, + -3.508481898678802e-10, + -3.9978630134664474e-10, + -4.4922092934305e-10, + -4.989958975781159e-10, + -5.489410224487837e-10, + -5.988729310985702e-10, + -6.485954801776375e-10, + -6.979011122633177e-10, + -7.465723673183874e-10, + -7.943832054046438e-10, + -8.411010907445698e-10, + -8.864894278176254e-10, + -9.303099636488528e-10, + -9.72325046360419e-10, + -1.0123014221824125e-09, + -1.0500123030657488e-09, + -1.0852412087494651e-09, + -1.1177844817117698e-09, + -1.1474546658180707e-09, + -1.1740834527171676e-09, + -1.1975242240222484e-09, + -1.2176543881522331e-09, + -1.2343773658638067e-09, + -1.2476247629834457e-09, + -1.2573565668265351e-09, + -1.2635627099153873e-09, + -1.2662628227348281e-09, + -1.2655055218394272e-09, + -1.2613680199266074e-09, + -1.253954398863311e-09, + -1.2433936358646463e-09, + -1.2298374505000367e-09, + -1.2134576509122927e-09, + -1.1944432284678712e-09, + -1.172997146823852e-09, + -1.1493332593039261e-09, + -1.1236732671856375e-09, + -1.0962431115135649e-09, + -1.0672703163457247e-09, + -1.0369810354855685e-09, + -1.005597338481071e-09, + -9.733350282695039e-10, + -9.404014777523536e-10, + -9.069939664230706e-10, + -8.732981619985238e-10, + -8.394872355759946e-10, + -8.057210665616518e-10, + -7.721454994404583e-10, + -7.388925751452815e-10, + -7.060800154327187e-10, + -6.738120175710753e-10, + -6.421791484070233e-10, + -6.112592496491313e-10, + -5.811178735375938e-10, + -5.51809085880201e-10, + -5.233763438152208e-10, + -4.958532927590809e-10, + -4.692644842870147e-10, + -4.4362635153015367e-10, + -4.1894816285353836e-10, + -3.952324845729014e-10, + -3.724763413417195e-10, + -3.506716616537363e-10, + -3.2980612868313973e-10, + -3.098636587570896e-10, + -2.9082518577492133e-10, + -2.726689659692485e-10, + -2.553713678542812e-10, + -2.389068702605778e-10, + -2.2324894067357254e-10, + -2.0836985743469359e-10, + -1.942415699404673e-10, + -1.8083548559826682e-10, + -1.6812295012615414e-10, + -1.5607547683630704e-10, + -1.4466466715773076e-10, + -1.3386256583099137e-10, + -1.2364181660559952e-10, + -1.1397553207123573e-10, + -1.0483755903004539e-10, + -9.620251473551388e-11, + -8.804574210018814e-11, + -8.034349604122052e-11, + -7.307282348390806e-11, + -6.621160453800346e-11, + -5.973870024915858e-11, + -5.363370788974113e-11, + -4.787717188651188e-11, + -4.2450468123532256e-11, + -3.733587317669642e-11, + -3.251635134020229e-11, + -2.7975741656472183e-11, + -2.3698725367218057e-11, + -1.9670734254422205e-11, + -1.5877695852953003e-11, + -1.2306583344759414e-11, + -8.944798933702466e-12, + -5.780506947406223e-12, + -2.8024827360325545e-12, + -2.832413843210804e-07, + 4.956692030950038e-06, + 4.715148779538743e-06, + 4.016781471013596e-06, + 3.0137469274064514e-06, + 1.9644167597966253e-06, + 1.1037864053344682e-06, + 5.369071411733923e-07, + 2.3375706397025754e-07, + 1.012062055121306e-07, + 5.350703670264121e-08, + 3.9249662922750396e-08, + 3.562370725836801e-08, + 3.4755239512306626e-08, + 3.4471847333554554e-08, + 3.428592571426754e-08, + 3.410713805013668e-08, + 3.392134339872946e-08, + 3.372645547567984e-08, + 3.35219831135182e-08, + 3.330762574305378e-08, + 3.308311058308738e-08, + 3.284818717881504e-08, + 3.2602628949484545e-08, + 3.234623504003221e-08, + 3.2078834340341775e-08, + 3.180029686789617e-08, + 3.1510527739939887e-08, + 3.120948393752258e-08, + 3.0897168138077345e-08, + 3.0573645386267044e-08, + 3.023903693937976e-08, + 2.98935338703441e-08, + 2.953739919507419e-08, + 2.9170969054584752e-08, + 2.87946610770177e-08, + 2.8408975775879184e-08, + 2.8014498336211046e-08, + 2.7611900405827958e-08, + 2.72019416309501e-08, + 2.6785467877543254e-08, + 2.636340873982163e-08, + 2.593677411698282e-08, + 2.5506650776709938e-08, + 2.507419347155295e-08, + 2.4640617352815007e-08, + 2.4207189097151136e-08, + 2.377521525705257e-08, + 2.3346029259699304e-08, + 2.292097907717695e-08, + 2.2501410483059117e-08, + 2.2088654887668766e-08, + 2.1684011751332966e-08, + 2.1288732377164138e-08, + 2.0904007617272956e-08, + 2.053095011981311e-08, + 2.017058236274767e-08, + 1.9823823724990583e-08, + 1.9491480743331577e-08, + 1.9174235622143422e-08, + 1.8872642697323852e-08, + 1.8587121378155416e-08, + 1.8317953915920864e-08, + 1.8065286660925808e-08, + 1.782913091477492e-08, + 1.7609367543237408e-08, + 1.7405754180237558e-08, + 1.7217932523717828e-08, + 1.7045439404987667e-08, + 1.6887716977825727e-08, + 1.6744126525123123e-08, + 1.661396016094065e-08, + 1.6496455794235386e-08, + 1.6390810497220218e-08, + 1.6296192903090634e-08, + 1.6211758787505244e-08, + 1.6136660509541075e-08, + 1.6070060990200934e-08, + 1.60111415195386e-08, + 1.5959112742081764e-08, + 1.591322068357871e-08, + 1.5872753548761564e-08, + 1.5837046853658515e-08, + 1.5805484253965697e-08, + 1.5777503977591027e-08, + 1.575259385230365e-08, + 1.573029752907836e-08, + 1.5710205986440573e-08, + 1.5691963040394598e-08, + 1.5675255969720477e-08, + 1.565981842680704e-08, + 1.5645420752163527e-08, + 1.5631872814659665e-08, + 1.5619015702580187e-08, + 1.5606720204330475e-08, + 1.5594881882658624e-08, + 1.5583419762484788e-08, + 1.557227059275197e-08, + 1.556138780977998e-08, + 1.5550737542810943e-08, + 1.5540298188057373e-08, + 1.553005580225968e-08, + 1.5520002803419552e-08, + 1.5510138506641414e-08, + 1.550046430260187e-08, + 1.5490986128754208e-08, + 1.5481710362526637e-08, + 1.5472644710547343e-08, + 1.5463795254348228e-08, + 1.5455149859028045e-08, + 1.544654996800204e-08, + 1.5436805658641976e-08, + 1.5418571482256623e-08, + 1.535347764962626e-08, + 1.5071959191111327e-08, + 1.3942626493233429e-08, + 9.995015494033681e-09, + -1.88984430931122e-09, + -3.267503611877178e-08, + -1.0141424464863812e-07, + -2.341705244967257e-07, + -4.5692897440537587e-07, + -7.833565699436195e-07, + -1.2032892733050728e-06, + -1.679495509375655e-06, + -2.155932952024287e-06, + -2.573637448160614e-06, + -2.886400573055541e-06, + -3.069904530202627e-06, + 8.279246317135864e-11, + 1.4057473871552004e-10, + 1.7292565417154855e-10, + 1.8269579596589504e-10, + 1.7498007364643088e-10, + 1.553197701219423e-10, + 1.2816148777218772e-10, + 9.625750021800433e-11, + 6.090929903822593e-11, + 2.2526876513726715e-11, + -1.8907105954686948e-11, + -6.358171047024541e-11, + -1.1175332735225895e-10, + -1.6371324670375735e-10, + -2.1978074972260655e-10, + -2.803033466450024e-10, + -3.456587019873825e-10, + -4.1625696815231417e-10, + -4.92543280232163e-10, + -5.750003648635808e-10, + -6.641512437258835e-10, + -7.605620122090512e-10, + -8.648446682524834e-10, + -9.776599597640481e-10, + -1.099720211774547e-09, + -1.231792087110345e-09, + -1.3746992239242078e-09, + -1.5293246861325283e-09, + -1.696613150406786e-09, + -1.8775727458285284e-09, + -2.0732764490356925e-09, + -2.2848629305345207e-09, + -2.513536737172604e-09, + -2.760567687402729e-09, + -3.027289351542055e-09, + -3.3150964844728955e-09, + -3.625441278006315e-09, + -3.959828303953696e-09, + -4.319808027600928e-09, + -4.7069687841795135e-09, + -5.1229271304598074e-09, + -5.569316509472734e-09, + -6.04777419943528e-09, + -6.559926554469994e-09, + -7.10737259036994e-09, + -7.691666018493287e-09, + -8.314295883452307e-09, + -8.976666015708966e-09, + -9.680073567683972e-09, + -1.042568695310201e-08, + -1.1214523563802777e-08, + -1.2047427676726485e-08, + -1.2925048998356112e-08, + -1.38478223205272e-08, + -1.4815948763554763e-08, + -1.5829379082457057e-08, + -1.6887799488495538e-08, + -1.7990620404235125e-08, + -1.9136968514136996e-08, + -2.032568241751124e-08, + -2.1555312106870806e-08, + -2.2824122414486023e-08, + -2.4130100482434385e-08, + -2.547096721442505e-08, + -2.6844192578166118e-08, + -2.8247014539382983e-08, + -2.967646132275912e-08, + -3.112937662496721e-08, + -3.2602447337392e-08, + -3.409223328971359e-08, + -3.559519848240535e-08, + -3.71077432578183e-08, + -3.862623684704295e-08, + -4.014704973345673e-08, + -4.166658529910359e-08, + -4.318131024205499e-08, + -4.4687783305565623e-08, + -4.618268190431965e-08, + -4.7662826301528766e-08, + -4.9125201051903445e-08, + -5.056697349985396e-08, + -5.198550919398038e-08, + -5.3378384146760555e-08, + -5.474339394585226e-08, + -5.607855977455505e-08, + -5.7382131471134266e-08, + -5.865258779093172e-08, + -5.988863409231996e-08, + -6.10891976852142e-08, + -6.225342111617414e-08, + -6.338065366750822e-08, + -6.447044136402343e-08, + -6.552251577049693e-08, + -6.653678185979815e-08, + -6.751330521521499e-08, + -6.84522988141665e-08, + -6.935410961636277e-08, + -7.021920515799478e-08, + -7.104816032687974e-08, + -7.184164446939381e-08, + -7.260040895331078e-08, + -7.33252752878724e-08, + -7.401712388003642e-08, + -7.467688348351867e-08, + -7.530552138031039e-08, + -7.590403431602715e-08, + -7.647344019711993e-08, + -7.701477054488022e-08, + -7.75290636894052e-08, + -7.801735866715476e-08, + -7.848068971259759e-08, + -7.892008090653014e-08, + -7.933653925125333e-08, + -7.973104031124174e-08, + -8.010449030875222e-08, + -8.045763032908156e-08, + -8.079083046088761e-08, + -8.110373247315224e-08, + -8.139477577257101e-08, + -8.166077983110702e-08, + -8.189686793791248e-08, + -8.209696943907588e-08, + -8.225489223606212e-08, + -8.236565347584444e-08, + -8.24266078449746e-08, + -8.243801479356893e-08, + -8.240294611665465e-08, + -8.220856506149057e-08, + -8.210540270762377e-08, + -8.199586587114586e-08, + -8.18795793290846e-08, + -8.175614819017358e-08, + -8.162515718080669e-08, + -8.148616994928478e-08, + -8.133872839630803e-08, + -8.118235204075892e-08, + -8.101653743099807e-08, + -8.084075761316712e-08, + -8.065446166934967e-08, + -8.045707433988517e-08, + -8.024799574564866e-08, + -8.002660122769383e-08, + -7.979224132329123e-08, + -7.954424189905859e-08, + -7.928190446354868e-08, + -7.900450668330295e-08, + -7.871130312795332e-08, + -7.84015262714168e-08, + -7.807438777751972e-08, + -7.772908009944644e-08, + -7.736477842315874e-08, + -7.698064298529031e-08, + -7.657582179589575e-08, + -7.614945379572181e-08, + -7.570067247626169e-08, + -7.522860998863773e-08, + -7.47324017642141e-08, + -7.421119166565596e-08, + -7.366413768180992e-08, + -7.309041817318483e-08, + -7.248923866687842e-08, + -7.185983919046355e-08, + -7.120150212359702e-08, + -7.051356053395823e-08, + -6.979540695063707e-08, + -6.904650251340032e-08, + -6.826638642057488e-08, + -6.745468558187491e-08, + -6.661112436572711e-08, + -6.573553431396207e-08, + -6.482786368066552e-08, + -6.38881866371265e-08, + -6.291671197184289e-08, + -6.191379110415972e-08, + -6.087992522304738e-08, + -5.981577135948981e-08, + -5.8722147202609505e-08, + -5.760003447657842e-08, + -5.6450580707988954e-08, + -5.527509923194764e-08, + -5.407506730974898e-08, + -5.2852122261385436e-08, + -5.160805555187799e-08, + -5.034480481071823e-08, + -4.9064443807574355e-08, + -4.776917045356315e-08, + -4.646129294435408e-08, + -4.5143214207537265e-08, + -4.3817414860365796e-08, + -4.248643492350244e-08, + -4.1152854570190536e-08, + -3.981927421694005e-08, + -3.848829428026065e-08, + -3.716249493339477e-08, + -3.5844416197003644e-08, + -3.453653868833825e-08, + -3.324126533498602e-08, + -3.196090433261315e-08, + -3.0697653592332575e-08, + -2.9453586883808184e-08, + -2.823064183652671e-08, + -2.703060991550382e-08, + -2.5855128440726264e-08, + -2.4705674673482426e-08, + -2.3583561948872407e-08, + -2.2489937793481984e-08, + -2.142578393147606e-08, + -2.039191805197014e-08, + -1.9388997185941015e-08, + -1.841752252235186e-08, + -1.7477845480540538e-08, + -1.657017484899787e-08, + -1.5694584799005983e-08, + -1.485102358464389e-08, + -1.4039322747735701e-08, + -1.325920665670191e-08, + -1.2510302221250858e-08, + -1.1792148639703963e-08, + -1.1104207051822853e-08, + -1.0445869986692743e-08, + -9.816470511988732e-09, + -9.215291007363684e-09, + -8.64157150038708e-09, + -8.094517518153526e-09, + -7.573307421169304e-09, + -7.077099198278734e-09, + -6.605036712145092e-09, + -6.156255394131087e-09, + -5.729887395357817e-09, + -5.325066207317675e-09, + -4.940930770756849e-09, + -4.576629095729629e-09, + -4.23132141886963e-09, + -3.904182926138854e-09, + -3.594406070721965e-09, + -3.301202516445909e-09, + -3.0238047372284042e-09, + -2.7614673027021446e-09, + -2.5134678794095776e-09, + -2.279107975904505e-09, + -2.0577134588057795e-09, + -1.8486348653851637e-09, + -1.651247536697594e-09, + -1.4649515936193662e-09, + -1.2891717764912554e-09, + -1.1233571673981933e-09, + -9.669808124830926e-10, + -8.195392601080039e-10, + -6.805520291566186e-10, + -5.495610203305288e-10, + -4.261298819317558e-10, + -3.0984334035556806e-10, + -2.0030650433670744e-10, + -9.714415090419103e-11, + -8.230570921280621e-08, + -8.230570921280621e-08, + -8.258640350134947e-08, + 8.298074924213027e-08, + -8.269677881473843e-08, + 8.288373780211396e-08 + ], + "density_ULPs": [ + 0.0, + 0.0, + -1.0, + 0.0 + ], + "origin_norm": 0.05058861742649522, + "original_line_search_budget": 40, + "original_residual_limit": 0.05, + "proposal_is_not_acceptance": true + } + ], + "initial_context": { + "coordinate_representation": "dimensionless_local_increments_rebased_after_each_accepted_step", + "current_metric_semantics": "r1-v3-separate-internal-contact-interface", + "dimension": 897, + "electron_qf_reference_V": [ + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.2618392666917075, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.2618392666917075, + -3.2618392666917075, + -3.261839266691707, + -3.2618392666917075, + -3.2618392666917075, + -3.261839266691707, + -3.2618392666917075, + -3.2618392666917075, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.2618392666917067, + -3.2618392666917075, + -3.2618392666917067, + -3.2618392666917075, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.2618392666917075, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.2618392666917075, + -3.261839266691707, + -3.2618392666917075, + -3.261839266691707, + -3.2618392666917075, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.2618392666917075, + -3.261839266691707, + -3.2618392666917075, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.2618392666917075, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.2618392666917067, + -3.261839266691707, + -3.261839266691707, + -3.2618392666917075, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.2618392666917075, + -3.261839266691707, + -3.2618392666917075, + -3.2618392666917075, + -3.2618392666917075, + -3.261839266691707, + -3.2618392666917075, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.2618392666917075, + -3.2618392666917075, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.2618392666917075, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.2618392666917075, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.2618392666917075, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.2618392666917075, + -3.2618392666917067, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.2618392666917075, + -3.2618392666917075, + -3.2618392666917075, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.2618392666917075, + -3.261839266691707, + -3.2618392666917075, + -3.2618392666917075, + -3.2618392666917075, + -3.2618392666917075, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.2618392666917075, + -3.2618392666917067, + -3.2618392666917075, + -3.2618392666917075, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.2618392666917075, + -3.2618392666917075, + -3.261839266691707, + -3.2618392666917075, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.2618392666917075, + -3.261839266691707, + -3.261839266691707, + -3.2618392666917075, + -3.261839266691707, + -3.261839266691707, + -3.2618392666917075, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.2618392666917075, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.2618392666917075, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.2618392666917075, + -3.2618392666917075, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.2618392666917075, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.2618392666917075, + -3.2618392666917067, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.2618392666917075, + -3.2618392666917075, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.2618392666917075, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.2618392666917075, + -3.261839266691707, + -3.2618392666917075, + -3.261839266691707, + -3.2618392666917075, + -3.2618392666917067, + -3.2618392666917075, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.2618392666917075, + -3.261839266691707, + -3.2618392666917075, + -3.2618392666917075, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.2618392666917067, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707 + ], + "fixed_equilibrium_occupancy": [ + 7.928011033749389e-05 + ], + "hole_qf_reference_V": [ + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308294, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308294, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308294, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308294, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308294, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308294, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308294, + 6.238160733308294, + 6.238160733308294, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308294, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308294, + 6.238160733308294, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308294, + 6.238160733308293, + 6.238160733308294, + 6.238160733308294, + 6.238160733308294, + 6.238160733308294, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308294, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308294, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308294, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308294, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308294, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308294, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308294, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308294, + 6.238160733308293, + 6.238160733308293, + 6.238160733308294, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308294, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308294, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308294, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308294, + 6.238160733308293 + ], + "initial_coordinate": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "initial_electron_qf_increment_V": [ + 0.0, + -2.9507111936962596e-06, + -6.084222663074891e-06, + -9.41135625942948e-06, + -1.2943509216770976e-05, + -1.669267618496585e-05, + -2.0671470918103512e-05, + -2.4893147409933425e-05, + -2.9371620225416883e-05, + -3.4121483769239885e-05, + -3.915803016521838e-05, + -4.449726540637293e-05, + -5.0155923384861835e-05, + -5.615147736181146e-05, + -6.250214840250536e-05, + -6.922691025115385e-05, + -7.63454900547247e-05, + -8.38783643191702e-05, + -9.184674941870247e-05, + -0.00010027258591689465, + -0.00010917851593498343, + -0.00011858785274323913, + -0.0001285245417089174, + -0.0001390131117141441, + -0.00015007861612584592, + -0.00016174656238805392, + -0.0001740428293266946, + -0.00018699357123730858, + -0.00020062510794080385, + -0.00021496379996639438, + -0.00023003590820960587, + -0.0002458674374684428, + -0.0002624839634643232, + -0.00027991044313787754, + -0.0002981710082582428, + -0.00031728874265502156, + -0.00033728544373353683, + -0.00035818136927210975, + -0.00037999497093466934, + -0.0004027426163657883, + -0.0004264383022153427, + -0.00045109336093810434, + -0.0004767161647225352, + -0.0005033118304135103, + -0.0005308819297689698, + -0.0005594242098703052, + -0.0005889323288563865, + -0.0006193956125198791, + -0.0006507988374633276, + -0.0006831220466578859, + -0.0007163404031534027, + -0.0007504240875066706, + -0.000785338244098303, + -0.0008210429809476287, + -0.0008574934268875425, + -0.0008946398490378163, + -0.0009324278324302213, + -0.000970798522414074, + -0.0010096889291419673, + -0.0010490322920210717, + -0.0010887585006169064, + -0.0011287945670511207, + -0.001169065143657532, + -0.0012094930784163922, + -0.0012499999996926129, + -0.0012905069209680473, + -0.0013309348557263116, + -0.0013712054323310023, + -0.0014112414987632672, + -0.001450967707355156, + -0.001490311070231008, + -0.0015292014769537053, + -0.0015675721669335414, + -0.0016053601503204832, + -0.0016425065724647609, + -0.0016789570183981856, + -0.0017146617552405595, + -0.001749575911824821, + -0.0017836595961703355, + -0.0018168779526577623, + -0.0018492011618434863, + -0.001880604386778726, + -0.0019110676704324663, + -0.0019405757894099393, + -0.0019691180695016503, + -0.0019966881688487158, + -0.002023283834529451, + -0.002048906638305395, + -0.002073561697018783, + -0.0020972573828590057, + -0.0021200050282804087, + -0.002141818629933787, + -0.002162714555463744, + -0.0021827112565333353, + -0.0022018289909213444, + -0.0022200895560326806, + -0.002237516035698279, + -0.0022541325616855195, + -0.0022699640909368303, + -0.0022850361991722775, + -0.002299374891190356, + -0.0023130064278861213, + -0.002325957169790146, + -0.0023382534367215467, + -0.002349921382978098, + -0.002360986887383059, + -0.002371475457381778, + -0.0023814121463420945, + -0.0023908214831447694, + -0.002399727413157528, + -0.0024081532496501748, + -0.0024161216347448286, + -0.00242365450900462, + -0.0024307730888041873, + -0.002437497850648158, + -0.002443848521685268, + -0.0024498440756579335, + -0.0024555027336327817, + -0.0024608419688709215, + -0.002465878515263607, + -0.0024706283788043107, + -0.0024751068516168295, + -0.002479328528105415, + -0.0024833073228363364, + -0.0024870564898020176, + -0.00249058864275698, + -0.00249391577635108, + -0.002497049287818332, + -0.002502950710212072, + -0.002506084221681829, + -0.0025094113552790644, + -0.00251294350823734, + -0.002516692675206973, + -0.0025206714699416116, + -0.0025248931464341338, + -0.002529371619250811, + -0.002534121482795475, + -0.002539158029193257, + -0.0025444972644358605, + -0.0025501559224158986, + -0.0025561514763940444, + -0.002562502147436937, + -0.0025692269092878954, + -0.002576345489093008, + -0.002583878363360014, + -0.002591846748461796, + -0.0026002725849619364, + -0.0026091785149821344, + -0.002618587851793998, + -0.002628524540761683, + -0.002639013110769983, + -0.0026500786151849665, + -0.0026617465614515575, + -0.0026740428283930184, + -0.00268699357030847, + -0.002700625107015731, + -0.002714963799045789, + -0.0027300359072937627, + -0.002745867436557668, + -0.0027624839625589293, + -0.00277991044223821, + -0.0027981710073642168, + -0.002817288741767904, + -0.002837285442852848, + -0.002858181368399155, + -0.002879994970069463, + -0.002902742615508802, + -0.002926438301367076, + -0.0029510933600986364, + -0.002976716163893744, + -0.003003311829594648, + -0.003030881928961083, + -0.0030594242090740253, + -0.003088932328072817, + -0.0031193956117483764, + -0.003150798836705938, + -0.0031831220459148982, + -0.003216340402425593, + -0.0032504240867948196, + -0.0032853382434032147, + -0.003321042980270144, + -0.0033574934262284957, + -0.0033946398483980875, + -0.003432427831810685, + -0.0034707985218160554, + -0.0035096889285654706, + -0.0035490322914674436, + -0.0035887585000870296, + -0.0036287945665458856, + -0.003669065143177818, + -0.0037094930779634837, + -0.0037499999992664764, + -0.0037905069205694717, + -0.003830934855356989, + -0.003871205431991196, + -0.003911241498453252, + -0.003950967707076013, + -0.003990311069983355, + -0.004029201476738951, + -0.004067572166750855, + -0.004105360150170716, + -0.004142506572347806, + -0.0041789570183152274, + -0.004214661755191385, + -0.004249575911809528, + -0.004283659596188566, + -0.004316877952710826, + -0.004349201161930428, + -0.004380604386898934, + -0.00441106767058661, + -0.004440575789597283, + -0.004469118069721836, + -0.004496688169100871, + -0.004523283834814012, + -0.004548906638620921, + -0.004573561697365128, + -0.004597257383235106, + -0.0046200050286864984, + -0.004641818630369139, + -0.004662714555926746, + -0.004682711257023656, + -0.004701828991438212, + -0.0047200895565752835, + -0.004737516036265361, + -0.004754132562277585, + -0.004769964091551705, + -0.004785036199809608, + -0.004799374891849267, + -0.004813006428565815, + -0.004825957170490215, + -0.004838253437440325, + -0.004849921383715231, + -0.004860986888137756, + -0.004871475458153277, + -0.004881412147129648, + -0.004890821483947219, + -0.004899727413975033, + -0.004908153250481173, + -0.004916121635589985, + -0.004923654509861948, + -0.004930773089673085, + -0.004937497851528903, + -0.004943848522576854, + -0.004949844076559364, + -0.004955502734544409, + -0.004960841969791342, + -0.004965878516192794, + -0.004970628379742236, + -0.004975106852562607, + -0.004979328529058624, + -0.004983307323797031, + -0.004987056490768904, + -0.004990588643730146, + -0.004993915777330179, + -0.0049970492888030335, + -0.004999999999999893 + ], + "initial_hole_qf_increment_V": [ + 0.0, + 2.950711196335271e-06, + 6.084222668511551e-06, + 9.411356267831219e-06, + 1.2943509228314406e-05, + 1.6692676199837178e-05, + 2.0671470936943016e-05, + 2.4893147432059522e-05, + 2.9371620251491068e-05, + 3.412148379949078e-05, + 3.915803019988622e-05, + 4.4497265446154055e-05, + 5.015592342957683e-05, + 5.615147741129366e-05, + 6.250214845793352e-05, + 6.922691031238789e-05, + 7.634549012075015e-05, + 8.387836439298345e-05, + 9.184674949931737e-05, + 0.00010027258600422773, + 0.00010917851602985401, + 0.0001185878528460372, + 0.00012852454182004765, + 0.00013901311183402607, + 0.00015007861625446968, + 0.00016174656252720032, + 0.00017404282947505015, + 0.00018699357139623823, + 0.00020062510811124184, + 0.0002149638001483998, + 0.0002300359084036942, + 0.000245867437675141, + 0.00026248396368416923, + 0.00027991044337186306, + 0.0002981710085060361, + 0.00031728874291763094, + 0.0003372854440115329, + 0.0003581813695660682, + 0.0003799949712451696, + 0.000402742616693412, + 0.0004264383025597839, + 0.00045109336130172054, + 0.00047671616510546074, + 0.0005033118308154309, + 0.0005308819301904531, + 0.0005594242103127985, + 0.0005889323293204392, + 0.0006193956130051403, + 0.0006507988379707647, + 0.0006831220471880063, + 0.0007163404037066964, + 0.0007504240880836079, + 0.0007853382446993325, + 0.0008210429815731762, + 0.0008574934275380087, + 0.0008946398497135749, + 0.0009324278331316184, + 0.0009707985231418695, + 0.0010096889298955582, + 0.0010490322928015984, + 0.0010887585014236997, + 0.0011287945678848086, + 0.0011690651445182632, + 0.001209493079304723, + 0.0012500000006068425, + 0.0012905069219104341, + 0.0013309348566959678, + 0.0013712054333278908, + 0.0014112414997868696, + 0.0014509677084062486, + 0.0014903110713089982, + 0.0015292014780588525, + 0.0015675721680647374, + 0.0016053601514770296, + 0.0016425065736481467, + 0.0016789570196072026, + 0.001714661756474858, + 0.001749575913083133, + 0.0017836595974531425, + 0.0018168779539646314, + 0.0018492011631752927, + 0.0018806043881332143, + 0.0019110676718100254, + 0.0019405757908096074, + 0.001969118070922893, + 0.001996688170290541, + 0.0020232838359921864, + 0.002048906639787582, + 0.002073561698520286, + 0.0020972573843792397, + 0.002120005029819229, + 0.0021418186314892695, + 0.0021627145570366282, + 0.002182711258122587, + 0.002201828992526375, + 0.002220089557652907, + 0.0022375160373331237, + 0.0022541325633348565, + 0.0022699640925992093, + 0.0022850362008475914, + 0.0022993748928780634, + 0.0023130064295856932, + 0.002325957171501509, + 0.0023382534384433096, + 0.002349921384710215, + 0.002360986889125054, + 0.002371475459133634, + 0.0023814121481024776, + 0.002390821484913692, + 0.002399727414934575, + 0.0024081532514349446, + 0.002416121636536936, + 0.002423654510804139, + 0.00243077309060943, + 0.0024374978524601154, + 0.0024438485235031703, + 0.002449844077481469, + 0.0024555027354616512, + 0.002460841970704841, + 0.0024658785171023045, + 0.0024706283806475277, + 0.00247510685346432, + 0.002479328529956945, + 0.002483307324691682, + 0.0024870564916609677, + 0.0024905886446193338, + 0.0024939157782166463, + 0.0024970492896869297, + 0.0025029507120715505, + 0.0025060842235387197, + 0.0025094113571327422, + 0.0025129435100867265, + 0.0025166926770523123, + 0.002520671471784025, + 0.0025248931482725117, + 0.0025293716210849195, + 0.0025341214846246254, + 0.00253915803101808, + 0.0025444972662551995, + 0.002550155924229914, + 0.002556151478202441, + 0.0025625021492394063, + 0.0025692269110845585, + 0.0025763454908830845, + 0.0025838783651431535, + 0.002591846750237634, + 0.0026002725867300927, + 0.0026091785167426614, + 0.002618587853545156, + 0.002628524542504827, + 0.0026390131125037905, + 0.0026500786169085452, + 0.002661746563164892, + 0.0026740428300956356, + 0.0026869935719998858, + 0.0027006251086954505, + 0.002714963800713309, + 0.0027300359089476815, + 0.0027458674381992424, + 0.0027624839641867452, + 0.002779910443852181, + 0.0027981710089624774, + 0.0028172887433512515, + 0.0028372854444207486, + 0.0028581813699501885, + 0.0028799949716035458, + 0.002902742617025413, + 0.0029264383028657004, + 0.0029510933615792137, + 0.0029767161653548946, + 0.003003311831036337, + 0.00303088193038329, + 0.0030594242104754147, + 0.0030889323294534033, + 0.003119395613108193, + 0.0031507988380437067, + 0.0031831220472306938, + 0.0032163404037190675, + 0.0032504240880656464, + 0.00328533824465109, + 0.0033210429814938976, + 0.0033574934274296442, + 0.0033946398495755038, + 0.0034324278329641517, + 0.003470798522945376, + 0.0035096889296704677, + 0.003549032292548404, + 0.0035887585011429263, + 0.0036287945675770425, + 0.0036690651441841334, + 0.003709493078944874, + 0.0037500000002228745, + 0.003790506921501274, + 0.003830934856263277, + 0.0038712054328724037, + 0.003911241499309387, + 0.003950967707907548, + 0.003990311070789009, + 0.004029201477520128, + 0.004067572167507205, + 0.004105360150902361, + 0.004142506573054445, + 0.00417895701899792, + 0.004214661755849884, + 0.00424957591244406, + 0.004283659596798938, + 0.004316877953297764, + 0.004349201162494683, + 0.004380604387440398, + 0.004411067671105645, + 0.00444057579009339, + 0.0044691180701972024, + 0.004496688169555045, + 0.0045232838352474505, + 0.0045489066390332145, + 0.0045735616977585465, + 0.004597257383609718, + 0.004620005029041496, + 0.00464181863070639, + 0.004662714556246352, + 0.004682711257326171, + 0.004701828991724193, + 0.004720089556845291, + 0.004737516036519511, + 0.0047541325625173264, + 0.004769964091777149, + 0.004785036200021308, + 0.004799374892047767, + 0.004813006428751651, + 0.004825957170663918, + 0.0048382534376024125, + 0.004849921383866207, + 0.004860986888278117, + 0.004871475458283059, + 0.004881412147250208, + 0.00489082148405901, + 0.004899727414077605, + 0.004908153250575839, + 0.004916121635675822, + 0.004923654509940239, + 0.004930773089744653, + 0.004937497851593667, + 0.004943848522635165, + 0.004949844076612001, + 0.0049555027345908045, + 0.00496084196983269, + 0.004965878516228943, + 0.0049706283797730216, + 0.004975106852588739, + 0.004979328529080357, + 0.004983307323814161, + 0.004987056490782548, + 0.00499058864374008, + 0.004993915777336608, + 0.004997049288805267, + 0.004999999999999893 + ], + "initial_reference_n_m3": [ + 2515095827087.2163, + 2508690631696.646, + 2501917204129.2607, + 2494757275493.3613, + 2487192033991.0034, + 2479202157038.6416, + 2470767851312.4585, + 2461868901500.0137, + 2452484728555.2803, + 2442594458251.8047, + 2432177000815.2935, + 2421211142384.193, + 2409675648989.5396, + 2397549383668.6123, + 2384811437214.326, + 2371441272924.3706, + 2357418885534.567, + 2342724974307.4097, + 2327341129989.365, + 2311250035052.0957, + 2294435676291.0874, + 2276883568473.573, + 2258580987303.9023, + 2239517209522.983, + 2219683757476.8037, + 2199074644994.499, + 2177686620921.2935, + 2155519406170.9656, + 2132575919715.1453, + 2108862488540.9114, + 2084389036298.3472, + 2059169245161.9558, + 2033220685364.3179, + 2006564906951.5332, + 1979227488586.0938, + 1951238038697.5344, + 1922630144963.5725, + 1893441269008.7097, + 1863712584313.4111, + 1833488756628.4297, + 1802817667649.507, + 1771750084287.578, + 1740339277514.8389, + 1708640596411.1902, + 1676711004611.8428, + 1644608587781.8958, + 1612392041950.868, + 1580120153449.2964, + 1547851281747.1262, + 1515642856648.011, + 1483550901017.843, + 1451629589515.6409, + 1419930852661.7512, + 1388504034069.1252, + 1357395606835.0393, + 1326648953027.926, + 1296304208003.2842, + 1266398169047.0623, + 1236964265685.2722, + 1208032587017.3018, + 1179629959721.1523, + 1151780069020.0222, + 1124503613948.3423, + 1097818487742.7344, + 1071739974118.8923, + 1046280950558.4292, + 1021452090480.1692, + 997262057243.1061, + 973717684246.0251, + 950824136863.0034, + 928585053490.0447, + 907002664487.3279, + 886077889200.5787, + 865810412465.1154, + 846198742985.4603, + 827240256708.9993, + 808931228761.7195, + 791266857693.8746, + 774241285715.8658, + 757847618327.4086, + 742077946298.5299, + 726923372403.0231, + 712374044679.454, + 698419197352.8784, + 685047199930.4269, + 672245614420.5812, + 660001260142.3297, + 648300285202.4563, + 637128243432.2267, + 626470175388.9976, + 616310691935.4205, + 606634058900.0874, + 597424281381.4108, + 588665186370.1891, + 580340502517.5531, + 572433936050.9673, + 564929242029.2695, + 557810290317.698, + 551061125846.0918, + 544666022883.9592, + 538609533217.79285, + 532876528248.72394, + 527452235139.79785, + 522322267232.4558, + 517472649022.1628, + 512889836034.89526, + 508560729981.61743, + 504472689588.7589, + 500613537511.6615, + 496971563736.58417, + 493535525868.1365, + 490294646682.96277, + 487238609311.59143, + 484357550386.4812, + 481642051469.93933, + 479083129049.43365, + 476672223361.49316, + 474401186279.84064, + 472262268478.3778, + 470248106055.69525, + 468351706785.7396, + 466566436138.2424, + 464886003193.3712, + 463304446557.7517, + 461816120372.8127, + 460415680492.35834, + 459098070893.27466, + 457858510372.19836, + 21799211820636.355, + 21740215831273.977, + 21677749190110.21, + 21611629734458.047, + 21541668551084.117, + 21467670101502.91, + 21389432410726.027, + 21306747327565.45, + 21219400865094.94, + 21127173630339.2, + 21029841352679.387, + 20927175520747.004, + 20818944137806.434, + 20704912605665.945, + 20584844747007.61, + 20458503975699.49, + 20325654624005.395, + 20186063434701.074, + 20039501224803.75, + 19885744725935.52, + 19724578604218.004, + 19555797659945.785, + 19379209204149.504, + 19194635605439.727, + 19001916996271.113, + 18800914122895.87, + 18591511317945.59, + 18373619568710.875, + 18147179647920.957, + 17912165267331.523, + 17668586207739.18, + 17416491372471.365, + 17155971705149.043, + 16887162906804.27, + 16610247882698.617, + 16325458845624.227, + 16033079000528.908, + 15733443735312.555, + 15426941244884.584, + 15114012520409.7, + 14795150643237.29, + 14470899333509.21, + 14141850716814.3, + 13808642288384.348, + 13471953072963.822, + 13132498999067.992, + 12791027528383.49, + 12448311603655.41, + 12105143000772.22, + 11762325191844.56, + 11420665844891.908, + 11080969101361.58, + 10744027784134.918, + 10410615695284.697, + 10081480164037.78, + 9757335000995.506, + 9438854004592.014, + 9126665150511.533, + 8821345574810.764, + 8523417437819.2705, + 8233344729497.923, + 7951531049111.901, + 7678318364017.232, + 7413986725373.32, + 7158754893736.535, + 6912781805764.311, + 6676168795369.687, + 6448962469109.362, + 6231158126553.759, + 6022703611870.292, + 5823503482561.221, + 5633423384811.669, + 5452294531625.266, + 5279918189189.976, + 5116070088033.601, + 4960504687804.226, + 4812959237282.972, + 4673157583983.047, + 4540813699891.58, + 4415634901240.504, + 4297324750357.685, + 4185585636502.104, + 4080121040049.225, + 3980637490442.7734, + 3886846233047.8228, + 3798464623509.5303, + 3715217270569.4175, + 3636836949680.1875, + 3563065310312.195, + 3493653399745.203, + 3428362025500.035, + 3366961977527.8296, + 3309234129961.15, + 3254969440721.915, + 3203968865675.293, + 3156043202370.2734, + 3111012876776.559, + 3068707684849.5845, + 3028966499257.373, + 2991636950213.222, + 2956575088070.922, + 2923645034182.4326, + 2892718625468.232, + 2863675057228.5137, + 2836400527904.354, + 2810787888784.7427, + 2786736301042.4497, + 2764150901949.6064, + 2742942481674.657, + 2723027171682.253, + 2704326145438.9585, + 2686765331862.926, + 2670275141738.2505, + 2654790207140.753, + 2640249133774.399, + 2626594266011.937, + 2613771464341.5967, + 2601729894856.4185, + 2590421830376.7974, + 2579802462757.5044, + 2569829725914.7524, + 2560464129089.3286, + 2551668599864.51, + 2543408336451.9766, + 2535650668771.033, + 2528364927853.022, + 2521522323118.466, + 2515095827087.2163 + ], + "initial_reference_occupancy": [ + 7.928333613737113e-05 + ], + "initial_reference_p_m3": [ + 2515095827087.2163, + 2521517376239.463, + 2528343867252.1826, + 2535600189073.5825, + 2543312672678.547, + 2551509162524.7666, + 2560219089816.9023, + 2569473547345.592, + 2579305365609.43, + 2589749189870.2666, + 2600841557715.43, + 2612620976629.159, + 2625128000980.195, + 2638405307741.533, + 2652497770152.43, + 2667452528413.5786, + 2683319056389.6597, + 2700149223158.2173, + 2717997348106.873, + 2736920248142.079, + 2756977275423.2095, + 2778230343898.3184, + 2800743942775.3574, + 2824585134940.009, + 2849823538220.4927, + 2876531287313.9463, + 2904782974141.502, + 2934655564390.124, + 2966228288049.925, + 2999582501869.4297, + 3034801521846.846, + 3071970424162.2466, + 3111175813338.698, + 3152505556921.659, + 3196048486579.4707, + 3241894066250.5356, + 3290132028809.6787, + 3340851983655.828, + 3394142998630.8657, + 3450093160726.0225, + 3508789121066.956, + 3570315630640.5156, + 3634755074055.5957, + 3702187009261.2847, + 3772687721459.2773, + 3846329799403.1855, + 3923181741762.7197, + 4003307600211.144, + 4086766664311.488, + 4173613191138.8545, + 4263896179920.0967, + 4357659188859.0986, + 4454940187911.786, + 4555771437729.7705, + 4660179381558.677, + 4768184533790.243, + 4879801346434.432, + 4995038033235.377, + 5113896330798.029, + 5236371177073.222, + 5362450290024.977, + 5492113633306.382, + 5625332761209.474, + 5762070041884.159, + 5902277765514.964, + 6045897152467.5205, + 6192857284863.386, + 6343073993171.592, + 6496448736658.453, + 6652867522440.93, + 6812199912027.99, + 6974298166232.389, + 7138996578975.091, + 7306111047687.907, + 7475438922780.2, + 7646759171142.285, + 7819832879262.933, + 7994404110612.954, + 8170201120051.015, + 8346937915715.048, + 8524316146720.175, + 8702027283635.226, + 8879755048648.73, + 9057178044001.918, + 9233972521049.365, + 9409815228376.953, + 9584386275906.818, + 9757371952750.31, + 9928467439650.898, + 10097379361875.836, + 10263828135032.535, + 10427550064171.508, + 10588299165192.426, + 10745848686629.28, + 10899992318962.803, + 11050545087293.77, + 11197343931266.57, + 11340247983292.71, + 11479138562216.635, + 11613918904556.387, + 11744513659186.791, + 11870868173977.332, + 11992947604390.713, + 12110735874558.635, + 12224234521010.447, + 12333461448098.715, + 12438449622504.135, + 12539245732051.46, + 12635908831605.023, + 12728508996179.402, + 12817125998663.074, + 12901848026826.057, + 12982770451646.291, + 13059994656480.348, + 13133626934295.629, + 13203777458053.055, + 13270559327474.787, + 13334087693760.3, + 13394478962424.215, + 13451850073229.49, + 13506317855218.848, + 13557998454071.36, + 13607006828410.482, + 13653456311253.195, + 13697458232466.842, + 13739121597949.793, + 13778552821143.564, + 13815855502492.732, + 290180538265.99115, + 290967995395.2472, + 291806449295.52466, + 292699213229.54645, + 293649816627.8212, + 294662019211.8373, + 295739826023.1233, + 296887503410.5536, + 298109596029.39276, + 299410944907.1897, + 300796706631.8759, + 302272373718.29016, + 303843796208.03485, + 305517204556.64307, + 307299233859.4539, + 309196949463.3279, + 311217874006.2341, + 313370015918.59985, + 315661899410.68384, + 318102595957.19604, + 320701757273.9108, + 323469649760.915, + 326417190361.98975, + 329555983759.3718, + 332898360786.029, + 336457417894.6302, + 340247057469.6934, + 344282028708.9713, + 348577968729.3917, + 353151443470.2788, + 358019987873.3097, + 363202144711.4427, + 368717501319.25195, + 374586723343.2036, + 380831584482.7307, + 387474991032.83, + 394540999866.7426, + 402054828315.1392, + 410042854211.3144, + 418532604181.46356, + 427552728074.7983, + 437132957254.5065, + 447304044318.84424, + 458097681703.3303, + 469546396540.6217, + 481683419143.4813, + 494542522539.90656, + 508157830649.2136, + 522563592957.9715, + 537793923954.2584, + 553882506121.293, + 570862255988.0336, + 588764953593.2751, + 607620836737.8927, + 627458162570.6604, + 648302740355.6886, + 670177440675.5829, + 693101687788.7157, + 717090943331.698, + 742156190968.9143, + 768303432871.0387, + 795533209970.2169, + 823840158714.4127, + 853212617445.9954, + 883632295497.9269, + 915074017579.8136, + 947505554987.5366, + 980887553609.0275, + 1015173566640.5638, + 1050310197427.1599, + 1086237354981.4829, + 1122888621627.746, + 1160191728990.294, + 1198069135342.98, + 1236438694300.6128, + 1275214402104.0803, + 1314307208460.3555, + 1353625874133.138, + 1393077857329.0203, + 1432570210411.324, + 1472010468614.8296, + 1511307513193.0671, + 1550372392745.658, + 1589119088270.532, + 1627465209649.5527, + 1665332613705.6755, + 1702647936539.9224, + 1739343035459.4631, + 1775355338341.7637, + 1810628100652.4126, + 1845110572472.731, + 1878758079755.4583, + 1911532025562.6362, + 1943399818247.9429, + 1974334734418.3425, + 2004315725064.5447, + 2033327173510.3147, + 2061358613828.6257, + 2088404418151.9753, + 2114463460891.9895, + 2139538767339.212, + 2163637153455.9543, + 2186768862957.5393, + 2208947207016.7876, + 2230188211161.9976, + 2250510273188.3203, + 2269933835180.183, + 2288481072070.6855, + 2306175598547.246, + 2323042195552.7686, + 2339106557144.1494, + 2354395058039.811, + 2368934541828.2715, + 2382752129502.6694, + 2395875047747.058, + 2408330476198.324, + 2420145412765.2275, + 2431346555977.0073, + 2441960203261.6323, + 2452012164015.7334, + 2461527686308.6074, + 2470531396074.1904, + 2479047247660.4946, + 2487098484649.6377, + 2494707609901.1533, + 2501896363830.9556, + 2508685709991.6157, + 2515095827087.2163 + ], + "initial_reference_positive_m3": [ + 5.975968276481229e+21, + 5.986658954600301e+21, + 5.998005926241845e+21, + 6.010047230742219e+21, + 6.022822816989956e+21, + 6.036374599741151e+21, + 6.050746511801418e+21, + 6.065984550996106e+21, + 6.082136820722963e+21, + 6.099253562741999e+21, + 6.117387180701065e+21, + 6.136592252750241e+21, + 6.156925531427654e+21, + 6.178445928844416e+21, + 6.201214485035359e+21, + 6.225294317173934e+21, + 6.25075054722267e+21, + 6.277650205443065e+21, + 6.30606210709443e+21, + 6.336056699566494e+21, + 6.367705877178135e+21, + 6.401082760870131e+21, + 6.436261440138111e+21, + 6.473316674705153e+21, + 6.512323553704559e+21, + 6.553357110517648e+21, + 6.596491891926686e+21, + 6.641801480858361e+21, + 6.689357972820496e+21, + 6.73923140704937e+21, + 6.791489154536613e+21, + 6.84619526634206e+21, + 6.903409787049413e+21, + 6.963188039751546e+21, + 7.02557989058836e+21, + 7.090629002550537e+21, + 7.158372089916621e+21, + 7.228838186258646e+21, + 7.302047940336976e+21, + 7.378012955306262e+21, + 7.45673518736025e+21, + 7.538206420157169e+21, + 7.622407830981198e+21, + 7.709309663532688e+21, + 7.798871020419183e+21, + 7.891039785850308e+21, + 7.985752685720036e+21, + 8.08293548826576e+21, + 8.182503343965175e+21, + 8.284361258456629e+21, + 8.388404687268741e+21, + 8.49452023634845e+21, + 8.602586448023094e+21, + 8.712474648492751e+21, + 8.824049830504356e+21, + 8.937171543693409e+21, + 9.051694765453078e+21, + 9.167470727097856e+21, + 9.284347673542117e+21, + 9.402171539513892e+21, + 9.5207865312873e+21, + 9.640035609560572e+21, + 9.759760876106433e+21, + 9.879803873649203e+21, + 1.0000005814574731e+22, + 1.0120207759165853e+22, + 1.0240250767667611e+22, + 1.0359976052349643e+22, + 1.047922515574742e+22, + 1.0597840179374294e+22, + 1.0715664083603046e+22, + 1.0832541074324145e+22, + 1.0948317085831575e+22, + 1.106284036256127e+22, + 1.1175962135315821e+22, + 1.1287537380952176e+22, + 1.1397425648552206e+22, + 1.1505491930303762e+22, + 1.1611607551849953e+22, + 1.1715651054969226e+22, + 1.1817509045077681e+22, + 1.1917076977197165e+22, + 1.2014259856487945e+22, + 1.2108972832981653e+22, + 1.2201141674508733e+22, + 1.229070310659224e+22, + 1.2377605013114611e+22, + 1.2461806496392906e+22, + 1.2543277799880553e+22, + 1.2622000100652486e+22, + 1.2697965182197298e+22, + 1.2771175000571879e+22, + 1.2841641158829035e+22, + 1.2909384305657252e+22, + 1.297443347458432e+22, + 1.3036825379868168e+22, + 1.3096603684502187e+22, + 1.3153818254646736e+22, + 1.3208524413430948e+22, + 1.326078220548878e+22, + 1.331065568194133e+22, + 1.3358212213850304e+22, + 1.3403521840528973e+22, + 1.3446656657567357e+22, + 1.348769024797804e+22, + 1.3526697158630477e+22, + 1.3563752422996403e+22, + 1.3598931130296692e+22, + 1.3632308040343937e+22, + 1.366395724272057e+22, + 1.3693951858452063e+22, + 1.3722363781939498e+22, + 1.3749263460652965e+22, + 1.377471970992838e+22, + 1.379879956010099e+22, + 1.382156813320362e+22, + 1.3843088546476994e+22, + 1.3863421840018823e+22, + 1.3882626926002244e+22, + 1.390076055702177e+22, + 1.3917877311281406e+22, + 1.3934029592480203e+22, + 1.3949267642426317e+22, + 1.3963639564562671e+22, + 1.3977191356757298e+22, + 1.398996695185526e+22, + 1.4002008264650713e+22, + 1.4013355244067127e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22 + ], + "initial_state": { + "capture_m2_s": [ + [ + 1118258.213948049, + -6229.392522137877, + -74377884.76314917, + 93.65794154496385 + ] + ], + "local_residual": [ + 0.0, + 4.473815810406219e-18, + -1.393956674437979, + -83.2147084789462, + -387.84528754724045, + -1.90733052469881 + ], + "n_m3": [ + 2515095827087.2163, + 2508690631696.646, + 2501917204129.2607, + 2494757275493.3613, + 2487192033991.0034, + 2479202157038.6416, + 2470767851312.4585, + 2461868901500.0137, + 2452484728555.2803, + 2442594458251.8047, + 2432177000815.2935, + 2421211142384.193, + 2409675648989.5396, + 2397549383668.6123, + 2384811437214.326, + 2371441272924.3706, + 2357418885534.567, + 2342724974307.4097, + 2327341129989.365, + 2311250035052.0957, + 2294435676291.0874, + 2276883568473.573, + 2258580987303.9023, + 2239517209522.983, + 2219683757476.8037, + 2199074644994.499, + 2177686620921.2935, + 2155519406170.9656, + 2132575919715.1453, + 2108862488540.9114, + 2084389036298.3472, + 2059169245161.9558, + 2033220685364.3179, + 2006564906951.5332, + 1979227488586.0938, + 1951238038697.5344, + 1922630144963.5725, + 1893441269008.7097, + 1863712584313.4111, + 1833488756628.4297, + 1802817667649.507, + 1771750084287.578, + 1740339277514.8389, + 1708640596411.1902, + 1676711004611.8428, + 1644608587781.8958, + 1612392041950.868, + 1580120153449.2964, + 1547851281747.1262, + 1515642856648.011, + 1483550901017.843, + 1451629589515.6409, + 1419930852661.7512, + 1388504034069.1252, + 1357395606835.0393, + 1326648953027.926, + 1296304208003.2842, + 1266398169047.0623, + 1236964265685.2722, + 1208032587017.3018, + 1179629959721.1523, + 1151780069020.0222, + 1124503613948.3423, + 1097818487742.7344, + 1071739974118.8923, + 1046280950558.4292, + 1021452090480.1692, + 997262057243.1061, + 973717684246.0251, + 950824136863.0034, + 928585053490.0447, + 907002664487.3279, + 886077889200.5787, + 865810412465.1154, + 846198742985.4603, + 827240256708.9993, + 808931228761.7195, + 791266857693.8746, + 774241285715.8658, + 757847618327.4086, + 742077946298.5299, + 726923372403.0231, + 712374044679.454, + 698419197352.8784, + 685047199930.4269, + 672245614420.5812, + 660001260142.3297, + 648300285202.4563, + 637128243432.2267, + 626470175388.9976, + 616310691935.4205, + 606634058900.0874, + 597424281381.4108, + 588665186370.1891, + 580340502517.5531, + 572433936050.9673, + 564929242029.2695, + 557810290317.698, + 551061125846.0918, + 544666022883.9592, + 538609533217.79285, + 532876528248.72394, + 527452235139.79785, + 522322267232.4558, + 517472649022.1628, + 512889836034.89526, + 508560729981.61743, + 504472689588.7589, + 500613537511.6615, + 496971563736.58417, + 493535525868.1365, + 490294646682.96277, + 487238609311.59143, + 484357550386.4812, + 481642051469.93933, + 479083129049.43365, + 476672223361.49316, + 474401186279.84064, + 472262268478.3778, + 470248106055.69525, + 468351706785.7396, + 466566436138.2424, + 464886003193.3712, + 463304446557.7517, + 461816120372.8127, + 460415680492.35834, + 459098070893.27466, + 457858510372.19836, + 21799211820636.355, + 21740215831273.977, + 21677749190110.21, + 21611629734458.047, + 21541668551084.117, + 21467670101502.91, + 21389432410726.027, + 21306747327565.45, + 21219400865094.94, + 21127173630339.2, + 21029841352679.387, + 20927175520747.004, + 20818944137806.434, + 20704912605665.945, + 20584844747007.61, + 20458503975699.49, + 20325654624005.395, + 20186063434701.074, + 20039501224803.75, + 19885744725935.52, + 19724578604218.004, + 19555797659945.785, + 19379209204149.504, + 19194635605439.727, + 19001916996271.113, + 18800914122895.87, + 18591511317945.59, + 18373619568710.875, + 18147179647920.957, + 17912165267331.523, + 17668586207739.18, + 17416491372471.365, + 17155971705149.043, + 16887162906804.27, + 16610247882698.617, + 16325458845624.227, + 16033079000528.908, + 15733443735312.555, + 15426941244884.584, + 15114012520409.7, + 14795150643237.29, + 14470899333509.21, + 14141850716814.3, + 13808642288384.348, + 13471953072963.822, + 13132498999067.992, + 12791027528383.49, + 12448311603655.41, + 12105143000772.22, + 11762325191844.56, + 11420665844891.908, + 11080969101361.58, + 10744027784134.918, + 10410615695284.697, + 10081480164037.78, + 9757335000995.506, + 9438854004592.014, + 9126665150511.533, + 8821345574810.764, + 8523417437819.2705, + 8233344729497.923, + 7951531049111.901, + 7678318364017.232, + 7413986725373.32, + 7158754893736.535, + 6912781805764.311, + 6676168795369.687, + 6448962469109.362, + 6231158126553.759, + 6022703611870.292, + 5823503482561.221, + 5633423384811.669, + 5452294531625.266, + 5279918189189.976, + 5116070088033.601, + 4960504687804.226, + 4812959237282.972, + 4673157583983.047, + 4540813699891.58, + 4415634901240.504, + 4297324750357.685, + 4185585636502.104, + 4080121040049.225, + 3980637490442.7734, + 3886846233047.8228, + 3798464623509.5303, + 3715217270569.4175, + 3636836949680.1875, + 3563065310312.195, + 3493653399745.203, + 3428362025500.035, + 3366961977527.8296, + 3309234129961.15, + 3254969440721.915, + 3203968865675.293, + 3156043202370.2734, + 3111012876776.559, + 3068707684849.5845, + 3028966499257.373, + 2991636950213.222, + 2956575088070.922, + 2923645034182.4326, + 2892718625468.232, + 2863675057228.5137, + 2836400527904.354, + 2810787888784.7427, + 2786736301042.4497, + 2764150901949.6064, + 2742942481674.657, + 2723027171682.253, + 2704326145438.9585, + 2686765331862.926, + 2670275141738.2505, + 2654790207140.753, + 2640249133774.399, + 2626594266011.937, + 2613771464341.5967, + 2601729894856.4185, + 2590421830376.7974, + 2579802462757.5044, + 2569829725914.7524, + 2560464129089.3286, + 2551668599864.51, + 2543408336451.9766, + 2535650668771.033, + 2528364927853.022, + 2521522323118.466, + 2515095827087.2163 + ], + "occupancy": [ + 7.928333613737113e-05 + ], + "p_m3": [ + 2515095827087.2163, + 2521517376239.463, + 2528343867252.1826, + 2535600189073.5825, + 2543312672678.547, + 2551509162524.7666, + 2560219089816.9023, + 2569473547345.592, + 2579305365609.43, + 2589749189870.2666, + 2600841557715.43, + 2612620976629.159, + 2625128000980.195, + 2638405307741.533, + 2652497770152.43, + 2667452528413.5786, + 2683319056389.6597, + 2700149223158.2173, + 2717997348106.873, + 2736920248142.079, + 2756977275423.2095, + 2778230343898.3184, + 2800743942775.3574, + 2824585134940.009, + 2849823538220.4927, + 2876531287313.9463, + 2904782974141.502, + 2934655564390.124, + 2966228288049.925, + 2999582501869.4297, + 3034801521846.846, + 3071970424162.2466, + 3111175813338.698, + 3152505556921.659, + 3196048486579.4707, + 3241894066250.5356, + 3290132028809.6787, + 3340851983655.828, + 3394142998630.8657, + 3450093160726.0225, + 3508789121066.956, + 3570315630640.5156, + 3634755074055.5957, + 3702187009261.2847, + 3772687721459.2773, + 3846329799403.1855, + 3923181741762.7197, + 4003307600211.144, + 4086766664311.488, + 4173613191138.8545, + 4263896179920.0967, + 4357659188859.0986, + 4454940187911.786, + 4555771437729.7705, + 4660179381558.677, + 4768184533790.243, + 4879801346434.432, + 4995038033235.377, + 5113896330798.029, + 5236371177073.222, + 5362450290024.977, + 5492113633306.382, + 5625332761209.474, + 5762070041884.159, + 5902277765514.964, + 6045897152467.5205, + 6192857284863.386, + 6343073993171.592, + 6496448736658.453, + 6652867522440.93, + 6812199912027.99, + 6974298166232.389, + 7138996578975.091, + 7306111047687.907, + 7475438922780.2, + 7646759171142.285, + 7819832879262.933, + 7994404110612.954, + 8170201120051.015, + 8346937915715.048, + 8524316146720.175, + 8702027283635.226, + 8879755048648.73, + 9057178044001.918, + 9233972521049.365, + 9409815228376.953, + 9584386275906.818, + 9757371952750.31, + 9928467439650.898, + 10097379361875.836, + 10263828135032.535, + 10427550064171.508, + 10588299165192.426, + 10745848686629.28, + 10899992318962.803, + 11050545087293.77, + 11197343931266.57, + 11340247983292.71, + 11479138562216.635, + 11613918904556.387, + 11744513659186.791, + 11870868173977.332, + 11992947604390.713, + 12110735874558.635, + 12224234521010.447, + 12333461448098.715, + 12438449622504.135, + 12539245732051.46, + 12635908831605.023, + 12728508996179.402, + 12817125998663.074, + 12901848026826.057, + 12982770451646.291, + 13059994656480.348, + 13133626934295.629, + 13203777458053.055, + 13270559327474.787, + 13334087693760.3, + 13394478962424.215, + 13451850073229.49, + 13506317855218.848, + 13557998454071.36, + 13607006828410.482, + 13653456311253.195, + 13697458232466.842, + 13739121597949.793, + 13778552821143.564, + 13815855502492.732, + 290180538265.99115, + 290967995395.2472, + 291806449295.52466, + 292699213229.54645, + 293649816627.8212, + 294662019211.8373, + 295739826023.1233, + 296887503410.5536, + 298109596029.39276, + 299410944907.1897, + 300796706631.8759, + 302272373718.29016, + 303843796208.03485, + 305517204556.64307, + 307299233859.4539, + 309196949463.3279, + 311217874006.2341, + 313370015918.59985, + 315661899410.68384, + 318102595957.19604, + 320701757273.9108, + 323469649760.915, + 326417190361.98975, + 329555983759.3718, + 332898360786.029, + 336457417894.6302, + 340247057469.6934, + 344282028708.9713, + 348577968729.3917, + 353151443470.2788, + 358019987873.3097, + 363202144711.4427, + 368717501319.25195, + 374586723343.2036, + 380831584482.7307, + 387474991032.83, + 394540999866.7426, + 402054828315.1392, + 410042854211.3144, + 418532604181.46356, + 427552728074.7983, + 437132957254.5065, + 447304044318.84424, + 458097681703.3303, + 469546396540.6217, + 481683419143.4813, + 494542522539.90656, + 508157830649.2136, + 522563592957.9715, + 537793923954.2584, + 553882506121.293, + 570862255988.0336, + 588764953593.2751, + 607620836737.8927, + 627458162570.6604, + 648302740355.6886, + 670177440675.5829, + 693101687788.7157, + 717090943331.698, + 742156190968.9143, + 768303432871.0387, + 795533209970.2169, + 823840158714.4127, + 853212617445.9954, + 883632295497.9269, + 915074017579.8136, + 947505554987.5366, + 980887553609.0275, + 1015173566640.5638, + 1050310197427.1599, + 1086237354981.4829, + 1122888621627.746, + 1160191728990.294, + 1198069135342.98, + 1236438694300.6128, + 1275214402104.0803, + 1314307208460.3555, + 1353625874133.138, + 1393077857329.0203, + 1432570210411.324, + 1472010468614.8296, + 1511307513193.0671, + 1550372392745.658, + 1589119088270.532, + 1627465209649.5527, + 1665332613705.6755, + 1702647936539.9224, + 1739343035459.4631, + 1775355338341.7637, + 1810628100652.4126, + 1845110572472.731, + 1878758079755.4583, + 1911532025562.6362, + 1943399818247.9429, + 1974334734418.3425, + 2004315725064.5447, + 2033327173510.3147, + 2061358613828.6257, + 2088404418151.9753, + 2114463460891.9895, + 2139538767339.212, + 2163637153455.9543, + 2186768862957.5393, + 2208947207016.7876, + 2230188211161.9976, + 2250510273188.3203, + 2269933835180.183, + 2288481072070.6855, + 2306175598547.246, + 2323042195552.7686, + 2339106557144.1494, + 2354395058039.811, + 2368934541828.2715, + 2382752129502.6694, + 2395875047747.058, + 2408330476198.324, + 2420145412765.2275, + 2431346555977.0073, + 2441960203261.6323, + 2452012164015.7334, + 2461527686308.6074, + 2470531396074.1904, + 2479047247660.4946, + 2487098484649.6377, + 2494707609901.1533, + 2501896363830.9556, + 2508685709991.6157, + 2515095827087.2163 + ], + "phi_V": [ + 0.0, + -6.297056191428073e-05, + -0.00012973146662208053, + -0.00020049304983532027, + -0.00027547505263670594, + -0.00035490674788833947, + -0.00043902702465674045, + -0.000528084423747883, + -0.0006223371168574893, + -0.000722052821259098, + -0.0008275086413886569, + -0.0009389908281559608, + -0.001056794446340081, + -0.0011812229400308526, + -0.0013125875857889144, + -0.0014512068230428951, + -0.0015974054512592826, + -0.0017515136836461164, + -0.0019138660476280148, + -0.0020848001231009274, + -0.002264655110586865, + -0.002453770222907739, + -0.0026524828959283817, + -0.0028611268163229206, + -0.0030800297672304274, + -0.0033095112961101575, + -0.0035498802130940295, + -0.003801431932657415, + -0.004064445676458286, + -0.0043391815606712465, + -0.004625877596976682, + -0.004924746642428712, + -0.00523597333955159, + -0.005559711093992987, + -0.00589607914264355, + -0.0062451597700240195, + -0.0066069957346221045, + -0.0069815879693840965, + -0.007368893621377363, + -0.00776882449439448, + -0.008181245954656725, + -0.00860597635354199, + -0.00904278701224616, + -0.009491402801441043, + -0.00995150333441523, + -0.010422724775143447, + -0.01090466224367658, + -0.0113968727808186, + -0.011898878813079309, + -0.012410172038341242, + -0.01293021763364985, + -0.013458458670182553, + -0.013994320607918128, + -0.014537215734863919, + -0.015086547413778515, + -0.015641714003762765, + -0.016202112335160255, + -0.01676714063379566, + -0.01733620081415353, + -0.017908700089707675, + -0.01848405188091515, + -0.01906167603573292, + -0.019640998412025205, + -0.02022144990393201, + -0.020802465023229397, + -0.02138348017017192, + -0.021963931744815986, + -0.022543254258346065, + -0.02312087860392557, + -0.023696230638071036, + -0.024268730207039638, + -0.024837790729260265, + -0.025402819415878103, + -0.025963218178780077, + -0.026518385240958703, + -0.027067717429727443, + -0.027610613100997185, + -0.028146475614215474, + -0.028674717253996305, + -0.0291947634768808, + -0.02970605735060114, + -0.03020806404878451, + -0.03070027526595448, + -0.031182213425350425, + -0.031653435564620636, + -0.0321135368007977, + -0.03256215329499462, + -0.03299896465781047, + -0.03342369575741174, + -0.03383611791268187, + -0.034236049472884604, + -0.03462335580232781, + -0.03499794870309109, + -0.03535978532072658, + -0.03570886658685825, + -0.03604523525883779, + -0.03636897362022819, + -0.03668020090713124, + -0.03697907052456462, + -0.03726576711457061, + -0.0375405035338582, + -0.03780351779388816, + -0.038055070010729664, + -0.03829543940603822, + -0.03852492139437884, + -0.03874382478605472, + -0.03895246912876802, + -0.03915118220596285, + -0.03934029770467172, + -0.03952015306116285, + -0.039691087488699026, + -0.03985344018827356, + -0.04000754874027779, + -0.04015374767265007, + -0.04029236719912534, + -0.0404237321197055, + -0.04054816087435908, + -0.04066596474018745, + -0.040777447161818914, + -0.040882903204566, + -0.04098261911986465, + -0.04107687201266765, + -0.04116592960075444, + -0.041250050056314345, + -0.04132948192063355, + -0.04140446408324451, + -0.041475225817460375, + -0.04154198686479949, + -0.04166802942552586, + -0.04173495495341643, + -0.04180601586207194, + -0.041881455573579626, + -0.04196153026963265, + -0.04204650935475966, + -0.04213667590768791, + -0.04223232711567937, + -0.04233377468597271, + -0.042441345227698976, + -0.042555380596814886, + -0.04267623819571606, + -0.04280429121825712, + -0.042939928829919885, + -0.04308355627184333, + -0.043235594876368466, + -0.043396481980671545, + -0.0435666707239757, + -0.04374662971276657, + -0.04393684253741497, + -0.044137807122662104, + -0.04435003489358397, + -0.044574049737965186, + -0.04481038674552552, + -0.04505959070420937, + -0.045322214333830046, + -0.045598816237822186, + -0.04588995855476828, + -0.04619620429280293, + -0.04651811433203723, + -0.04685624408286158, + -0.04721113979144995, + -0.04758333448806761, + -0.04797334357893169, + -0.04838166008842693, + -0.04880874956545444, + -0.04925504467557614, + -0.04972093950936862, + -0.050206783646929626, + -0.05071287602865982, + -0.05123945869308936, + -0.0517867104533997, + -0.05235474059511642, + -0.05294358268787637, + -0.05355318861381119, + -0.054183422923507175, + -0.05483405763723888, + -0.055504767613759366, + -0.05619512661090003, + -0.05690460416115856, + -0.05763256338096227, + -0.05837825982410415, + -0.0591408414777896, + -0.05991934998377647, + -0.06071272314736978, + -0.061519798773854745, + -0.06233931984580249, + -0.06316994102622886, + -0.06401023644264726, + -0.06485870867658897, + -0.06571379885321497, + -0.06657389769730744, + -0.06743735739629049, + -0.06830250408900997, + -0.06916765078169826, + -0.07003111048058802, + -0.07089120932452567, + -0.07174629950093636, + -0.07259477173460364, + -0.07343506715069029, + -0.07426568833072965, + -0.07508520940223762, + -0.07589228502823274, + -0.07668565819128914, + -0.07746416669669523, + -0.07822674834975943, + -0.07897244479224315, + -0.07970040401135547, + -0.08040988156089307, + -0.08110024055728708, + -0.08177095053303893, + -0.08242158524598373, + -0.08305181955487823, + -0.08366142548000055, + -0.08425026757194043, + -0.08481829771283278, + -0.0853655494723176, + -0.08589213213592338, + -0.08639822451683438, + -0.08688406865358325, + -0.087349963486573, + -0.08779625859590351, + -0.08822334807215322, + -0.08863166458088578, + -0.08902167367100378, + -0.0893938683668932, + -0.08974876407477228, + -0.09008689382490717, + -0.09040880386347255, + -0.09071504960085941, + -0.09100619191717922, + -0.09128279382056687, + -0.09154541744960493, + -0.09179462140772811, + -0.0920309584147496, + -0.09225497325861366, + -0.09246720102903973, + -0.09266816561381218, + -0.09285837843800653, + -0.09303833742636354, + -0.09320852616925361, + -0.09336941327316174, + -0.09352145187731059, + -0.0936650793188758, + -0.09380071693019774, + -0.09392876995241482, + -0.09404962755100824, + -0.09416366291983197, + -0.09427123346128105, + -0.09437268103131156, + -0.09446833223905393, + -0.09455849879174627, + -0.0946434778766499, + -0.09472355257249158, + -0.09479899228379936, + -0.09487005319226584, + -0.09493697871997775, + -0.09499999999999964 + ], + "poisson_residual_C_m2": [ + 6.427540486059707e-21, + -9.012860511326153e-21, + -1.0507925991079723e-20, + 2.728139830353357e-20, + -6.790552855117229e-20, + 8.176373795395556e-20, + -2.9431980153403907e-20, + -1.3043128565061806e-20, + 5.1079665232087514e-20, + -4.788132244308179e-20, + -5.441507661266287e-21, + -1.094626470595876e-20, + 4.301247252154515e-20, + 1.2809890966929048e-20, + -2.8258996125216283e-20, + -8.311400481069352e-20, + 1.1798092251336339e-19, + -5.77485615266792e-20, + 7.226897204301093e-20, + -1.779591071741093e-20, + -7.296858254250539e-20, + 7.951147263756755e-20, + -8.244246422556303e-20, + 8.194523308032025e-20, + -8.401448164845889e-20, + 2.945042344880578e-20, + 5.696248271950502e-21, + 1.0001716154566265e-19, + -1.7642756355291094e-19, + 6.595894942473128e-20, + 7.526144106345194e-20, + -2.610041570252185e-20, + -5.639195480129878e-20, + 3.4213396660845165e-20, + -6.585593552663038e-21, + 4.912134538578041e-21, + -1.4755557883387426e-20, + 6.922902078420781e-20, + -1.4979639424572698e-19, + 1.5293415356520568e-19, + -1.373359342683475e-19, + 1.12410427337251e-19, + -7.087572841041591e-20, + -8.366311213331161e-20, + 2.378745565314595e-19, + -1.100638027711728e-19, + -1.5818085158842095e-20, + -1.8258050011136326e-20, + 2.72701394468031e-20, + 4.16206054877558e-20, + -1.5343642239279984e-20, + -2.2360206178761568e-20, + -1.3299322858264353e-19, + 2.3878686279583587e-19, + -1.2262775524306574e-19, + 4.506477663422335e-20, + -1.7057970351033934e-19, + 1.7469613687129708e-19, + 4.850389818372995e-20, + -7.645633903912256e-20, + -6.952491345501809e-20, + 4.2591543690385616e-20, + 1.0247511947329984e-19, + -2.320826423165396e-19, + 2.6168172408675143e-19, + -2.6341598993832935e-19, + 1.9015193410403363e-19, + 3.616718395093721e-20, + -1.4320503392204475e-19, + 8.520152041411018e-20, + -1.0999235918469594e-19, + 1.731499863498216e-19, + -1.41712521867124e-19, + 1.4549266362388809e-19, + -1.5966823759062307e-19, + 5.1897496600784583e-20, + -2.227861462235141e-19, + 5.321113768203193e-19, + -4.0861602481952845e-19, + 3.1386011933860185e-19, + -4.397478812272797e-19, + 5.658130817061491e-19, + -4.510681728418289e-19, + -6.175177287012296e-20, + 4.2159724207467307e-19, + -2.986609805268879e-19, + 1.688667229572778e-19, + -3.697746793871824e-19, + 4.2772329306449167e-19, + 1.5473275206257278e-19, + -7.396072269551121e-19, + 3.697217736173255e-19, + 4.419713994487587e-19, + -2.8080996169582463e-19, + -7.340295617201366e-19, + 9.66829016401882e-19, + 6.056879018258077e-19, + -2.317808891620263e-18, + 1.2995002484141606e-18, + 9.58883355618085e-19, + -1.8082615631086557e-18, + 1.4261902027825586e-18, + -9.127354211698564e-19, + 2.5348045165964027e-18, + -3.2570982720697896e-18, + 1.0420716593223032e-18, + -8.70070565307504e-19, + 1.2966981594957917e-18, + -1.1193695231638045e-18, + 1.029460032764315e-18, + 1.0434117677408836e-18, + -1.7789859700617362e-18, + 1.01723486801433e-18, + -1.3007340262603047e-18, + 8.419500553702606e-20, + 1.7781704377504217e-18, + -2.5168378216799123e-19, + -1.968348822697942e-18, + 3.769215632334312e-19, + 1.370215360492931e-19, + 1.7351012711521033e-18, + 5.998856884199166e-19, + -2.8334382789972366e-18, + -6.666648719738475e-19, + 3.3468507755580984e-18, + -3.9957263316529425e-18, + 3.84724236047292e-18, + 3.960477161511012e-20, + -2.8928478344727518e-18, + 2.007600758928497e-18, + -5.762831910372651e-20, + -2.7241123815314666e-18, + 1.6116789661917554e-18, + 1.1743956788986618e-18, + 1.8065123213788992e-19, + 5.569002089750727e-19, + -3.429250881466787e-18, + 3.0924994268060954e-18, + -1.8469540350914643e-18, + 2.0921301638165325e-18, + -1.5008040897054892e-18, + 2.5671317085560316e-19, + -3.9537402552429564e-19, + 7.361343132022896e-19, + -8.087207350975834e-19, + 1.654537287686276e-19, + 1.3415959612132784e-18, + -1.420084429172244e-18, + 9.104436557325402e-21, + 1.244189660721796e-18, + -5.360363938904072e-19, + -7.503218351788111e-19, + -2.868414670884701e-19, + 1.2424279377003899e-18, + -5.257163649913497e-19, + -2.817681955748498e-19, + 4.9441926903784185e-19, + 2.7488322870305244e-19, + -7.477811167269834e-19, + 2.0685783934525917e-19, + 3.0913735605938535e-19, + -6.153606932707319e-19, + 7.6782633814819e-20, + 7.563153914695252e-19, + -6.57738903131888e-19, + 6.52511097214219e-20, + 9.268915718403479e-20, + 5.091921393140492e-19, + -7.967036877752499e-19, + 3.0616747150846116e-19, + 2.7429595116283015e-19, + -2.9550720657232217e-19, + -7.600596640264702e-20, + -3.9540498728784353e-20, + 4.512837597878094e-19, + -3.4670685129119944e-19, + 1.4457607649160132e-19, + -2.2420353487429166e-19, + -1.3103924746683683e-19, + 5.988997688198591e-20, + 5.608411036950069e-19, + -3.0271606527407323e-19, + -8.520985001781457e-20, + -3.1963672300625145e-19, + 6.7058859997994315e-19, + -1.939434074067181e-19, + 4.372277514796077e-21, + -6.086104507414683e-19, + 1.0110887882741256e-18, + -9.855096840670627e-19, + 8.948129069752318e-19, + -4.413862188851644e-19, + -8.724653842855558e-20, + -8.951285542939936e-20, + -1.4092951218294032e-19, + 3.272344944203393e-19, + 5.588785053923687e-19, + -1.1774742431859387e-18, + 6.551722157440873e-19, + -1.023354686042927e-19, + -1.5726327937983407e-19, + 7.934123708244668e-19, + -4.814986006223927e-19, + -1.305676601493865e-19, + -5.625879371006582e-19, + 1.0292930394525953e-18, + -8.30905938716308e-19, + 1.0308381588014582e-18, + -4.779850891662798e-19, + -3.826162935323288e-19, + -4.669248068201855e-19, + 4.890997521320503e-19, + 2.5196947983816895e-19, + 9.115508002380877e-19, + -1.127015644640857e-18, + 3.696782492174028e-19, + -4.353305333711476e-19, + -5.612034720951181e-19, + 1.4900587228565803e-18, + -8.701476438425337e-19, + -2.5028773303512666e-19, + 4.445702038583536e-19, + 2.6129675557485744e-19, + 1.400405285949136e-19, + -3.947696083931843e-19, + -5.328233124116984e-19, + -2.87016337145636e-19, + -1.0510081067109143e-18, + 5.889791909417518e-18, + -5.517594780837073e-18, + 1.1961659241900095e-18, + -4.75899453885297e-19, + 2.414922216066272e-18, + -2.6334320613874404e-18, + 2.0704711250356366e-18, + 2.2764956712265785e-19, + -4.902797256367478e-18, + 5.708920443624776e-18, + -2.47107159512153e-18, + -6.067337485178688e-18, + 1.3269982725428357e-17, + -7.309805676674991e-18, + -1.4279533806631636e-18, + 3.5531014874974745e-18, + -2.1232240510344186e-18, + 1.0472198551259297e-18, + 3.007152009927346e-18, + -5.060091768518966e-18, + 1.1133315290899732e-17, + -2.169798483137798e-17, + 9.891401318515107e-18, + 3.909860172698015e-18, + -3.843026800689902e-18, + 4.525563970776988e-18 + ], + "positive_inventory_m2": [ + 999999999999999.8 + ], + "positive_m3": [ + 5.975968276481229e+21, + 5.986658954600301e+21, + 5.998005926241845e+21, + 6.010047230742219e+21, + 6.022822816989956e+21, + 6.036374599741151e+21, + 6.050746511801418e+21, + 6.065984550996106e+21, + 6.082136820722963e+21, + 6.099253562741999e+21, + 6.117387180701065e+21, + 6.136592252750241e+21, + 6.156925531427654e+21, + 6.178445928844416e+21, + 6.201214485035359e+21, + 6.225294317173934e+21, + 6.25075054722267e+21, + 6.277650205443065e+21, + 6.30606210709443e+21, + 6.336056699566494e+21, + 6.367705877178135e+21, + 6.401082760870131e+21, + 6.436261440138111e+21, + 6.473316674705153e+21, + 6.512323553704559e+21, + 6.553357110517648e+21, + 6.596491891926686e+21, + 6.641801480858361e+21, + 6.689357972820496e+21, + 6.73923140704937e+21, + 6.791489154536613e+21, + 6.84619526634206e+21, + 6.903409787049413e+21, + 6.963188039751546e+21, + 7.02557989058836e+21, + 7.090629002550537e+21, + 7.158372089916621e+21, + 7.228838186258646e+21, + 7.302047940336976e+21, + 7.378012955306262e+21, + 7.45673518736025e+21, + 7.538206420157169e+21, + 7.622407830981198e+21, + 7.709309663532688e+21, + 7.798871020419183e+21, + 7.891039785850308e+21, + 7.985752685720036e+21, + 8.08293548826576e+21, + 8.182503343965175e+21, + 8.284361258456629e+21, + 8.388404687268741e+21, + 8.49452023634845e+21, + 8.602586448023094e+21, + 8.712474648492751e+21, + 8.824049830504356e+21, + 8.937171543693409e+21, + 9.051694765453078e+21, + 9.167470727097856e+21, + 9.284347673542117e+21, + 9.402171539513892e+21, + 9.5207865312873e+21, + 9.640035609560572e+21, + 9.759760876106433e+21, + 9.879803873649203e+21, + 1.0000005814574731e+22, + 1.0120207759165853e+22, + 1.0240250767667611e+22, + 1.0359976052349643e+22, + 1.047922515574742e+22, + 1.0597840179374294e+22, + 1.0715664083603046e+22, + 1.0832541074324145e+22, + 1.0948317085831575e+22, + 1.106284036256127e+22, + 1.1175962135315821e+22, + 1.1287537380952176e+22, + 1.1397425648552206e+22, + 1.1505491930303762e+22, + 1.1611607551849953e+22, + 1.1715651054969226e+22, + 1.1817509045077681e+22, + 1.1917076977197165e+22, + 1.2014259856487945e+22, + 1.2108972832981653e+22, + 1.2201141674508733e+22, + 1.229070310659224e+22, + 1.2377605013114611e+22, + 1.2461806496392906e+22, + 1.2543277799880553e+22, + 1.2622000100652486e+22, + 1.2697965182197298e+22, + 1.2771175000571879e+22, + 1.2841641158829035e+22, + 1.2909384305657252e+22, + 1.297443347458432e+22, + 1.3036825379868168e+22, + 1.3096603684502187e+22, + 1.3153818254646736e+22, + 1.3208524413430948e+22, + 1.326078220548878e+22, + 1.331065568194133e+22, + 1.3358212213850304e+22, + 1.3403521840528973e+22, + 1.3446656657567357e+22, + 1.348769024797804e+22, + 1.3526697158630477e+22, + 1.3563752422996403e+22, + 1.3598931130296692e+22, + 1.3632308040343937e+22, + 1.366395724272057e+22, + 1.3693951858452063e+22, + 1.3722363781939498e+22, + 1.3749263460652965e+22, + 1.377471970992838e+22, + 1.379879956010099e+22, + 1.382156813320362e+22, + 1.3843088546476994e+22, + 1.3863421840018823e+22, + 1.3882626926002244e+22, + 1.390076055702177e+22, + 1.3917877311281406e+22, + 1.3934029592480203e+22, + 1.3949267642426317e+22, + 1.3963639564562671e+22, + 1.3977191356757298e+22, + 1.398996695185526e+22, + 1.4002008264650713e+22, + 1.4013355244067127e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22 + ], + "sheet_charge_C_m2": [ + -2.5841505946391707e-13 + ], + "trace_potential_V": [ + [ + -0.04160500814533491, + -0.04160500814533491 + ] + ], + "trace_state_m3": [ + [ + 456728864202.0237, + 13849585928300.426, + 21852433041537.176, + 289464593659.649 + ] + ] + }, + "jacobian_scope": "first_finite_step_of_each_nested_level_at_accepted_state", + "numerical_comparison": "exact_saved_float64_values_under_anchored_source", + "physical_limits": "unchanged_R1_policy_and_original_component_normalizations", + "prepared_sha256": "21a2c38e6639dbae0d07bdf59e0184b10518f5ed955467b5e5de88038f86ecd4", + "provenance_only": [ + "Newton_iteration_path", + "Newton_iteration_counts", + "earlier_iterate_maximum_jacobian_nnz", + "execution_environment" + ], + "reference_sha256": "0a6532a436dd07e6b27f01da3fc39aef906e6fd882057f0109c1bc5bdf77e39b", + "schema": "R1StateEquationReconstructionV1", + "scope": "saved_accepted_states_transport_storage_current_and_declared_discrete_equations" + }, + "initial_context_v52": { + "coordinate_representation": "dimensionless_local_increments_rebased_after_each_accepted_step", + "current_metric_semantics": "r1-v3-separate-internal-contact-interface", + "dimension": 897, + "electron_qf_reference_V": [ + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.2618392666917075, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.2618392666917075, + -3.2618392666917075, + -3.261839266691707, + -3.2618392666917075, + -3.2618392666917075, + -3.261839266691707, + -3.2618392666917075, + -3.2618392666917075, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.2618392666917067, + -3.2618392666917075, + -3.2618392666917067, + -3.2618392666917075, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.2618392666917075, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.2618392666917075, + -3.261839266691707, + -3.2618392666917075, + -3.261839266691707, + -3.2618392666917075, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.2618392666917075, + -3.261839266691707, + -3.2618392666917075, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.2618392666917075, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.2618392666917067, + -3.261839266691707, + -3.261839266691707, + -3.2618392666917075, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.2618392666917075, + -3.261839266691707, + -3.2618392666917075, + -3.2618392666917075, + -3.2618392666917075, + -3.261839266691707, + -3.2618392666917075, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.2618392666917075, + -3.2618392666917075, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.2618392666917075, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.2618392666917075, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.2618392666917075, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.2618392666917075, + -3.2618392666917067, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.2618392666917075, + -3.2618392666917075, + -3.2618392666917075, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.2618392666917075, + -3.261839266691707, + -3.2618392666917075, + -3.2618392666917075, + -3.2618392666917075, + -3.2618392666917075, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.2618392666917075, + -3.2618392666917067, + -3.2618392666917075, + -3.2618392666917075, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.2618392666917075, + -3.2618392666917075, + -3.261839266691707, + -3.2618392666917075, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.2618392666917075, + -3.261839266691707, + -3.261839266691707, + -3.2618392666917075, + -3.261839266691707, + -3.261839266691707, + -3.2618392666917075, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.2618392666917075, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.2618392666917075, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.2618392666917075, + -3.2618392666917075, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.2618392666917075, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.2618392666917075, + -3.2618392666917067, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.2618392666917075, + -3.2618392666917075, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.2618392666917075, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.2618392666917075, + -3.261839266691707, + -3.2618392666917075, + -3.261839266691707, + -3.2618392666917075, + -3.2618392666917067, + -3.2618392666917075, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.2618392666917075, + -3.261839266691707, + -3.2618392666917075, + -3.2618392666917075, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.2618392666917067, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707 + ], + "fixed_equilibrium_occupancy": [ + 7.928011033749389e-05 + ], + "hole_qf_reference_V": [ + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308294, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308294, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308294, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308294, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308294, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308294, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308294, + 6.238160733308294, + 6.238160733308294, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308294, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308294, + 6.238160733308294, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308294, + 6.238160733308293, + 6.238160733308294, + 6.238160733308294, + 6.238160733308294, + 6.238160733308294, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308294, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308294, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308294, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308294, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308294, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308294, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308294, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308294, + 6.238160733308293, + 6.238160733308293, + 6.238160733308294, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308294, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308294, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308294, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308294, + 6.238160733308293 + ], + "initial_coordinate": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "initial_electron_qf_increment_V": [ + 0.0, + -2.9507111936962596e-06, + -6.084222663074891e-06, + -9.41135625942948e-06, + -1.2943509216770976e-05, + -1.669267618496585e-05, + -2.0671470918103512e-05, + -2.4893147409933425e-05, + -2.9371620225416883e-05, + -3.4121483769239885e-05, + -3.915803016521838e-05, + -4.449726540637293e-05, + -5.0155923384861835e-05, + -5.615147736181146e-05, + -6.250214840250536e-05, + -6.922691025115385e-05, + -7.63454900547247e-05, + -8.38783643191702e-05, + -9.184674941870247e-05, + -0.00010027258591689465, + -0.00010917851593498343, + -0.00011858785274323913, + -0.0001285245417089174, + -0.0001390131117141441, + -0.00015007861612584592, + -0.00016174656238805392, + -0.0001740428293266946, + -0.00018699357123730858, + -0.00020062510794080385, + -0.00021496379996639438, + -0.00023003590820960587, + -0.0002458674374684428, + -0.0002624839634643232, + -0.00027991044313787754, + -0.0002981710082582428, + -0.00031728874265502156, + -0.00033728544373353683, + -0.00035818136927210975, + -0.00037999497093466934, + -0.0004027426163657883, + -0.0004264383022153427, + -0.00045109336093810434, + -0.0004767161647225352, + -0.0005033118304135103, + -0.0005308819297689698, + -0.0005594242098703052, + -0.0005889323288563865, + -0.0006193956125198791, + -0.0006507988374633276, + -0.0006831220466578859, + -0.0007163404031534027, + -0.0007504240875066706, + -0.000785338244098303, + -0.0008210429809476287, + -0.0008574934268875425, + -0.0008946398490378163, + -0.0009324278324302213, + -0.000970798522414074, + -0.0010096889291419673, + -0.0010490322920210717, + -0.0010887585006169064, + -0.0011287945670511207, + -0.001169065143657532, + -0.0012094930784163922, + -0.0012499999996926129, + -0.0012905069209680473, + -0.0013309348557263116, + -0.0013712054323310023, + -0.0014112414987632672, + -0.001450967707355156, + -0.001490311070231008, + -0.0015292014769537053, + -0.0015675721669335414, + -0.0016053601503204832, + -0.0016425065724647609, + -0.0016789570183981856, + -0.0017146617552405595, + -0.001749575911824821, + -0.0017836595961703355, + -0.0018168779526577623, + -0.0018492011618434863, + -0.001880604386778726, + -0.0019110676704324663, + -0.0019405757894099393, + -0.0019691180695016503, + -0.0019966881688487158, + -0.002023283834529451, + -0.002048906638305395, + -0.002073561697018783, + -0.0020972573828590057, + -0.0021200050282804087, + -0.002141818629933787, + -0.002162714555463744, + -0.0021827112565333353, + -0.0022018289909213444, + -0.0022200895560326806, + -0.002237516035698279, + -0.0022541325616855195, + -0.0022699640909368303, + -0.0022850361991722775, + -0.002299374891190356, + -0.0023130064278861213, + -0.002325957169790146, + -0.0023382534367215467, + -0.002349921382978098, + -0.002360986887383059, + -0.002371475457381778, + -0.0023814121463420945, + -0.0023908214831447694, + -0.002399727413157528, + -0.0024081532496501748, + -0.0024161216347448286, + -0.00242365450900462, + -0.0024307730888041873, + -0.002437497850648158, + -0.002443848521685268, + -0.0024498440756579335, + -0.0024555027336327817, + -0.0024608419688709215, + -0.002465878515263607, + -0.0024706283788043107, + -0.0024751068516168295, + -0.002479328528105415, + -0.0024833073228363364, + -0.0024870564898020176, + -0.00249058864275698, + -0.00249391577635108, + -0.002497049287818332, + -0.002502950710212072, + -0.002506084221681829, + -0.0025094113552790644, + -0.00251294350823734, + -0.002516692675206973, + -0.0025206714699416116, + -0.0025248931464341338, + -0.002529371619250811, + -0.002534121482795475, + -0.002539158029193257, + -0.0025444972644358605, + -0.0025501559224158986, + -0.0025561514763940444, + -0.002562502147436937, + -0.0025692269092878954, + -0.002576345489093008, + -0.002583878363360014, + -0.002591846748461796, + -0.0026002725849619364, + -0.0026091785149821344, + -0.002618587851793998, + -0.002628524540761683, + -0.002639013110769983, + -0.0026500786151849665, + -0.0026617465614515575, + -0.0026740428283930184, + -0.00268699357030847, + -0.002700625107015731, + -0.002714963799045789, + -0.0027300359072937627, + -0.002745867436557668, + -0.0027624839625589293, + -0.00277991044223821, + -0.0027981710073642168, + -0.002817288741767904, + -0.002837285442852848, + -0.002858181368399155, + -0.002879994970069463, + -0.002902742615508802, + -0.002926438301367076, + -0.0029510933600986364, + -0.002976716163893744, + -0.003003311829594648, + -0.003030881928961083, + -0.0030594242090740253, + -0.003088932328072817, + -0.0031193956117483764, + -0.003150798836705938, + -0.0031831220459148982, + -0.003216340402425593, + -0.0032504240867948196, + -0.0032853382434032147, + -0.003321042980270144, + -0.0033574934262284957, + -0.0033946398483980875, + -0.003432427831810685, + -0.0034707985218160554, + -0.0035096889285654706, + -0.0035490322914674436, + -0.0035887585000870296, + -0.0036287945665458856, + -0.003669065143177818, + -0.0037094930779634837, + -0.0037499999992664764, + -0.0037905069205694717, + -0.003830934855356989, + -0.003871205431991196, + -0.003911241498453252, + -0.003950967707076013, + -0.003990311069983355, + -0.004029201476738951, + -0.004067572166750855, + -0.004105360150170716, + -0.004142506572347806, + -0.0041789570183152274, + -0.004214661755191385, + -0.004249575911809528, + -0.004283659596188566, + -0.004316877952710826, + -0.004349201161930428, + -0.004380604386898934, + -0.00441106767058661, + -0.004440575789597283, + -0.004469118069721836, + -0.004496688169100871, + -0.004523283834814012, + -0.004548906638620921, + -0.004573561697365128, + -0.004597257383235106, + -0.0046200050286864984, + -0.004641818630369139, + -0.004662714555926746, + -0.004682711257023656, + -0.004701828991438212, + -0.0047200895565752835, + -0.004737516036265361, + -0.004754132562277585, + -0.004769964091551705, + -0.004785036199809608, + -0.004799374891849267, + -0.004813006428565815, + -0.004825957170490215, + -0.004838253437440325, + -0.004849921383715231, + -0.004860986888137756, + -0.004871475458153277, + -0.004881412147129648, + -0.004890821483947219, + -0.004899727413975033, + -0.004908153250481173, + -0.004916121635589985, + -0.004923654509861948, + -0.004930773089673085, + -0.004937497851528903, + -0.004943848522576854, + -0.004949844076559364, + -0.004955502734544409, + -0.004960841969791342, + -0.004965878516192794, + -0.004970628379742236, + -0.004975106852562607, + -0.004979328529058624, + -0.004983307323797031, + -0.004987056490768904, + -0.004990588643730146, + -0.004993915777330179, + -0.0049970492888030335, + -0.004999999999999893 + ], + "initial_hole_qf_increment_V": [ + 0.0, + 2.950711196335271e-06, + 6.084222668511551e-06, + 9.411356267831219e-06, + 1.2943509228314406e-05, + 1.6692676199837178e-05, + 2.0671470936943016e-05, + 2.4893147432059522e-05, + 2.9371620251491068e-05, + 3.412148379949078e-05, + 3.915803019988622e-05, + 4.4497265446154055e-05, + 5.015592342957683e-05, + 5.615147741129366e-05, + 6.250214845793352e-05, + 6.922691031238789e-05, + 7.634549012075015e-05, + 8.387836439298345e-05, + 9.184674949931737e-05, + 0.00010027258600422773, + 0.00010917851602985401, + 0.0001185878528460372, + 0.00012852454182004765, + 0.00013901311183402607, + 0.00015007861625446968, + 0.00016174656252720032, + 0.00017404282947505015, + 0.00018699357139623823, + 0.00020062510811124184, + 0.0002149638001483998, + 0.0002300359084036942, + 0.000245867437675141, + 0.00026248396368416923, + 0.00027991044337186306, + 0.0002981710085060361, + 0.00031728874291763094, + 0.0003372854440115329, + 0.0003581813695660682, + 0.0003799949712451696, + 0.000402742616693412, + 0.0004264383025597839, + 0.00045109336130172054, + 0.00047671616510546074, + 0.0005033118308154309, + 0.0005308819301904531, + 0.0005594242103127985, + 0.0005889323293204392, + 0.0006193956130051403, + 0.0006507988379707647, + 0.0006831220471880063, + 0.0007163404037066964, + 0.0007504240880836079, + 0.0007853382446993325, + 0.0008210429815731762, + 0.0008574934275380087, + 0.0008946398497135749, + 0.0009324278331316184, + 0.0009707985231418695, + 0.0010096889298955582, + 0.0010490322928015984, + 0.0010887585014236997, + 0.0011287945678848086, + 0.0011690651445182632, + 0.001209493079304723, + 0.0012500000006068425, + 0.0012905069219104341, + 0.0013309348566959678, + 0.0013712054333278908, + 0.0014112414997868696, + 0.0014509677084062486, + 0.0014903110713089982, + 0.0015292014780588525, + 0.0015675721680647374, + 0.0016053601514770296, + 0.0016425065736481467, + 0.0016789570196072026, + 0.001714661756474858, + 0.001749575913083133, + 0.0017836595974531425, + 0.0018168779539646314, + 0.0018492011631752927, + 0.0018806043881332143, + 0.0019110676718100254, + 0.0019405757908096074, + 0.001969118070922893, + 0.001996688170290541, + 0.0020232838359921864, + 0.002048906639787582, + 0.002073561698520286, + 0.0020972573843792397, + 0.002120005029819229, + 0.0021418186314892695, + 0.0021627145570366282, + 0.002182711258122587, + 0.002201828992526375, + 0.002220089557652907, + 0.0022375160373331237, + 0.0022541325633348565, + 0.0022699640925992093, + 0.0022850362008475914, + 0.0022993748928780634, + 0.0023130064295856932, + 0.002325957171501509, + 0.0023382534384433096, + 0.002349921384710215, + 0.002360986889125054, + 0.002371475459133634, + 0.0023814121481024776, + 0.002390821484913692, + 0.002399727414934575, + 0.0024081532514349446, + 0.002416121636536936, + 0.002423654510804139, + 0.00243077309060943, + 0.0024374978524601154, + 0.0024438485235031703, + 0.002449844077481469, + 0.0024555027354616512, + 0.002460841970704841, + 0.0024658785171023045, + 0.0024706283806475277, + 0.00247510685346432, + 0.002479328529956945, + 0.002483307324691682, + 0.0024870564916609677, + 0.0024905886446193338, + 0.0024939157782166463, + 0.0024970492896869297, + 0.0025029507120715505, + 0.0025060842235387197, + 0.0025094113571327422, + 0.0025129435100867265, + 0.0025166926770523123, + 0.002520671471784025, + 0.0025248931482725117, + 0.0025293716210849195, + 0.0025341214846246254, + 0.00253915803101808, + 0.0025444972662551995, + 0.002550155924229914, + 0.002556151478202441, + 0.0025625021492394063, + 0.0025692269110845585, + 0.0025763454908830845, + 0.0025838783651431535, + 0.002591846750237634, + 0.0026002725867300927, + 0.0026091785167426614, + 0.002618587853545156, + 0.002628524542504827, + 0.0026390131125037905, + 0.0026500786169085452, + 0.002661746563164892, + 0.0026740428300956356, + 0.0026869935719998858, + 0.0027006251086954505, + 0.002714963800713309, + 0.0027300359089476815, + 0.0027458674381992424, + 0.0027624839641867452, + 0.002779910443852181, + 0.0027981710089624774, + 0.0028172887433512515, + 0.0028372854444207486, + 0.0028581813699501885, + 0.0028799949716035458, + 0.002902742617025413, + 0.0029264383028657004, + 0.0029510933615792137, + 0.0029767161653548946, + 0.003003311831036337, + 0.00303088193038329, + 0.0030594242104754147, + 0.0030889323294534033, + 0.003119395613108193, + 0.0031507988380437067, + 0.0031831220472306938, + 0.0032163404037190675, + 0.0032504240880656464, + 0.00328533824465109, + 0.0033210429814938976, + 0.0033574934274296442, + 0.0033946398495755038, + 0.0034324278329641517, + 0.003470798522945376, + 0.0035096889296704677, + 0.003549032292548404, + 0.0035887585011429263, + 0.0036287945675770425, + 0.0036690651441841334, + 0.003709493078944874, + 0.0037500000002228745, + 0.003790506921501274, + 0.003830934856263277, + 0.0038712054328724037, + 0.003911241499309387, + 0.003950967707907548, + 0.003990311070789009, + 0.004029201477520128, + 0.004067572167507205, + 0.004105360150902361, + 0.004142506573054445, + 0.00417895701899792, + 0.004214661755849884, + 0.00424957591244406, + 0.004283659596798938, + 0.004316877953297764, + 0.004349201162494683, + 0.004380604387440398, + 0.004411067671105645, + 0.00444057579009339, + 0.0044691180701972024, + 0.004496688169555045, + 0.0045232838352474505, + 0.0045489066390332145, + 0.0045735616977585465, + 0.004597257383609718, + 0.004620005029041496, + 0.00464181863070639, + 0.004662714556246352, + 0.004682711257326171, + 0.004701828991724193, + 0.004720089556845291, + 0.004737516036519511, + 0.0047541325625173264, + 0.004769964091777149, + 0.004785036200021308, + 0.004799374892047767, + 0.004813006428751651, + 0.004825957170663918, + 0.0048382534376024125, + 0.004849921383866207, + 0.004860986888278117, + 0.004871475458283059, + 0.004881412147250208, + 0.00489082148405901, + 0.004899727414077605, + 0.004908153250575839, + 0.004916121635675822, + 0.004923654509940239, + 0.004930773089744653, + 0.004937497851593667, + 0.004943848522635165, + 0.004949844076612001, + 0.0049555027345908045, + 0.00496084196983269, + 0.004965878516228943, + 0.0049706283797730216, + 0.004975106852588739, + 0.004979328529080357, + 0.004983307323814161, + 0.004987056490782548, + 0.00499058864374008, + 0.004993915777336608, + 0.004997049288805267, + 0.004999999999999893 + ], + "initial_reference_n_m3": [ + 2515095827087.2163, + 2508690631696.646, + 2501917204129.2607, + 2494757275493.3613, + 2487192033991.0034, + 2479202157038.6416, + 2470767851312.4585, + 2461868901500.0137, + 2452484728555.2803, + 2442594458251.8047, + 2432177000815.2935, + 2421211142384.193, + 2409675648989.5396, + 2397549383668.6123, + 2384811437214.326, + 2371441272924.3706, + 2357418885534.567, + 2342724974307.4097, + 2327341129989.365, + 2311250035052.0957, + 2294435676291.0874, + 2276883568473.573, + 2258580987303.9023, + 2239517209522.983, + 2219683757476.8037, + 2199074644994.499, + 2177686620921.2935, + 2155519406170.9656, + 2132575919715.1453, + 2108862488540.9114, + 2084389036298.3472, + 2059169245161.9558, + 2033220685364.3179, + 2006564906951.5332, + 1979227488586.0938, + 1951238038697.5344, + 1922630144963.5725, + 1893441269008.7097, + 1863712584313.4111, + 1833488756628.4297, + 1802817667649.507, + 1771750084287.578, + 1740339277514.8389, + 1708640596411.1902, + 1676711004611.8428, + 1644608587781.8958, + 1612392041950.868, + 1580120153449.2964, + 1547851281747.1262, + 1515642856648.011, + 1483550901017.843, + 1451629589515.6409, + 1419930852661.7512, + 1388504034069.1252, + 1357395606835.0393, + 1326648953027.926, + 1296304208003.2842, + 1266398169047.0623, + 1236964265685.2722, + 1208032587017.3018, + 1179629959721.1523, + 1151780069020.0222, + 1124503613948.3423, + 1097818487742.7344, + 1071739974118.8923, + 1046280950558.4292, + 1021452090480.1692, + 997262057243.1061, + 973717684246.0251, + 950824136863.0034, + 928585053490.0447, + 907002664487.3279, + 886077889200.5787, + 865810412465.1154, + 846198742985.4603, + 827240256708.9993, + 808931228761.7195, + 791266857693.8746, + 774241285715.8658, + 757847618327.4086, + 742077946298.5299, + 726923372403.0231, + 712374044679.454, + 698419197352.8784, + 685047199930.4269, + 672245614420.5812, + 660001260142.3297, + 648300285202.4563, + 637128243432.2267, + 626470175388.9976, + 616310691935.4205, + 606634058900.0874, + 597424281381.4108, + 588665186370.1891, + 580340502517.5531, + 572433936050.9673, + 564929242029.2695, + 557810290317.698, + 551061125846.0918, + 544666022883.9592, + 538609533217.79285, + 532876528248.72394, + 527452235139.79785, + 522322267232.4558, + 517472649022.1628, + 512889836034.89526, + 508560729981.61743, + 504472689588.7589, + 500613537511.6615, + 496971563736.58417, + 493535525868.1365, + 490294646682.96277, + 487238609311.59143, + 484357550386.4812, + 481642051469.93933, + 479083129049.43365, + 476672223361.49316, + 474401186279.84064, + 472262268478.3778, + 470248106055.69525, + 468351706785.7396, + 466566436138.2424, + 464886003193.3712, + 463304446557.7517, + 461816120372.8127, + 460415680492.35834, + 459098070893.27466, + 457858510372.19836, + 21799211820636.355, + 21740215831273.977, + 21677749190110.21, + 21611629734458.047, + 21541668551084.117, + 21467670101502.91, + 21389432410726.027, + 21306747327565.45, + 21219400865094.94, + 21127173630339.2, + 21029841352679.387, + 20927175520747.004, + 20818944137806.434, + 20704912605665.945, + 20584844747007.61, + 20458503975699.49, + 20325654624005.395, + 20186063434701.074, + 20039501224803.75, + 19885744725935.52, + 19724578604218.004, + 19555797659945.785, + 19379209204149.504, + 19194635605439.727, + 19001916996271.113, + 18800914122895.87, + 18591511317945.59, + 18373619568710.875, + 18147179647920.957, + 17912165267331.523, + 17668586207739.18, + 17416491372471.365, + 17155971705149.043, + 16887162906804.27, + 16610247882698.617, + 16325458845624.227, + 16033079000528.908, + 15733443735312.555, + 15426941244884.584, + 15114012520409.7, + 14795150643237.29, + 14470899333509.21, + 14141850716814.3, + 13808642288384.348, + 13471953072963.822, + 13132498999067.992, + 12791027528383.49, + 12448311603655.41, + 12105143000772.22, + 11762325191844.56, + 11420665844891.908, + 11080969101361.58, + 10744027784134.918, + 10410615695284.697, + 10081480164037.78, + 9757335000995.506, + 9438854004592.014, + 9126665150511.533, + 8821345574810.764, + 8523417437819.2705, + 8233344729497.923, + 7951531049111.901, + 7678318364017.232, + 7413986725373.32, + 7158754893736.535, + 6912781805764.311, + 6676168795369.687, + 6448962469109.362, + 6231158126553.759, + 6022703611870.292, + 5823503482561.221, + 5633423384811.669, + 5452294531625.266, + 5279918189189.976, + 5116070088033.601, + 4960504687804.226, + 4812959237282.972, + 4673157583983.047, + 4540813699891.58, + 4415634901240.504, + 4297324750357.685, + 4185585636502.104, + 4080121040049.225, + 3980637490442.7734, + 3886846233047.8228, + 3798464623509.5303, + 3715217270569.4175, + 3636836949680.1875, + 3563065310312.195, + 3493653399745.203, + 3428362025500.035, + 3366961977527.8296, + 3309234129961.15, + 3254969440721.915, + 3203968865675.293, + 3156043202370.2734, + 3111012876776.559, + 3068707684849.5845, + 3028966499257.373, + 2991636950213.222, + 2956575088070.922, + 2923645034182.4326, + 2892718625468.232, + 2863675057228.5137, + 2836400527904.354, + 2810787888784.7427, + 2786736301042.4497, + 2764150901949.6064, + 2742942481674.657, + 2723027171682.253, + 2704326145438.9585, + 2686765331862.926, + 2670275141738.2505, + 2654790207140.753, + 2640249133774.399, + 2626594266011.937, + 2613771464341.5967, + 2601729894856.4185, + 2590421830376.7974, + 2579802462757.5044, + 2569829725914.7524, + 2560464129089.3286, + 2551668599864.51, + 2543408336451.9766, + 2535650668771.033, + 2528364927853.022, + 2521522323118.466, + 2515095827087.2163 + ], + "initial_reference_occupancy": [ + 7.928333613737113e-05 + ], + "initial_reference_p_m3": [ + 2515095827087.2163, + 2521517376239.463, + 2528343867252.1826, + 2535600189073.5825, + 2543312672678.547, + 2551509162524.7666, + 2560219089816.9023, + 2569473547345.592, + 2579305365609.43, + 2589749189870.2666, + 2600841557715.43, + 2612620976629.159, + 2625128000980.195, + 2638405307741.533, + 2652497770152.43, + 2667452528413.5786, + 2683319056389.6597, + 2700149223158.2173, + 2717997348106.873, + 2736920248142.079, + 2756977275423.2095, + 2778230343898.3184, + 2800743942775.3574, + 2824585134940.009, + 2849823538220.4927, + 2876531287313.9463, + 2904782974141.502, + 2934655564390.124, + 2966228288049.925, + 2999582501869.4297, + 3034801521846.846, + 3071970424162.2466, + 3111175813338.698, + 3152505556921.659, + 3196048486579.4707, + 3241894066250.5356, + 3290132028809.6787, + 3340851983655.828, + 3394142998630.8657, + 3450093160726.0225, + 3508789121066.956, + 3570315630640.5156, + 3634755074055.5957, + 3702187009261.2847, + 3772687721459.2773, + 3846329799403.1855, + 3923181741762.7197, + 4003307600211.144, + 4086766664311.488, + 4173613191138.8545, + 4263896179920.0967, + 4357659188859.0986, + 4454940187911.786, + 4555771437729.7705, + 4660179381558.677, + 4768184533790.243, + 4879801346434.432, + 4995038033235.377, + 5113896330798.029, + 5236371177073.222, + 5362450290024.977, + 5492113633306.382, + 5625332761209.474, + 5762070041884.159, + 5902277765514.964, + 6045897152467.5205, + 6192857284863.386, + 6343073993171.592, + 6496448736658.453, + 6652867522440.93, + 6812199912027.99, + 6974298166232.389, + 7138996578975.091, + 7306111047687.907, + 7475438922780.2, + 7646759171142.285, + 7819832879262.933, + 7994404110612.954, + 8170201120051.015, + 8346937915715.048, + 8524316146720.175, + 8702027283635.226, + 8879755048648.73, + 9057178044001.918, + 9233972521049.365, + 9409815228376.953, + 9584386275906.818, + 9757371952750.31, + 9928467439650.898, + 10097379361875.836, + 10263828135032.535, + 10427550064171.508, + 10588299165192.426, + 10745848686629.28, + 10899992318962.803, + 11050545087293.77, + 11197343931266.57, + 11340247983292.71, + 11479138562216.635, + 11613918904556.387, + 11744513659186.791, + 11870868173977.332, + 11992947604390.713, + 12110735874558.635, + 12224234521010.447, + 12333461448098.715, + 12438449622504.135, + 12539245732051.46, + 12635908831605.023, + 12728508996179.402, + 12817125998663.074, + 12901848026826.057, + 12982770451646.291, + 13059994656480.348, + 13133626934295.629, + 13203777458053.055, + 13270559327474.787, + 13334087693760.3, + 13394478962424.215, + 13451850073229.49, + 13506317855218.848, + 13557998454071.36, + 13607006828410.482, + 13653456311253.195, + 13697458232466.842, + 13739121597949.793, + 13778552821143.564, + 13815855502492.732, + 290180538265.99115, + 290967995395.2472, + 291806449295.52466, + 292699213229.54645, + 293649816627.8212, + 294662019211.8373, + 295739826023.1233, + 296887503410.5536, + 298109596029.39276, + 299410944907.1897, + 300796706631.8759, + 302272373718.29016, + 303843796208.03485, + 305517204556.64307, + 307299233859.4539, + 309196949463.3279, + 311217874006.2341, + 313370015918.59985, + 315661899410.68384, + 318102595957.19604, + 320701757273.9108, + 323469649760.915, + 326417190361.98975, + 329555983759.3718, + 332898360786.029, + 336457417894.6302, + 340247057469.6934, + 344282028708.9713, + 348577968729.3917, + 353151443470.2788, + 358019987873.3097, + 363202144711.4427, + 368717501319.25195, + 374586723343.2036, + 380831584482.7307, + 387474991032.83, + 394540999866.7426, + 402054828315.1392, + 410042854211.3144, + 418532604181.46356, + 427552728074.7983, + 437132957254.5065, + 447304044318.84424, + 458097681703.3303, + 469546396540.6217, + 481683419143.4813, + 494542522539.90656, + 508157830649.2136, + 522563592957.9715, + 537793923954.2584, + 553882506121.293, + 570862255988.0336, + 588764953593.2751, + 607620836737.8927, + 627458162570.6604, + 648302740355.6886, + 670177440675.5829, + 693101687788.7157, + 717090943331.698, + 742156190968.9143, + 768303432871.0387, + 795533209970.2169, + 823840158714.4127, + 853212617445.9954, + 883632295497.9269, + 915074017579.8136, + 947505554987.5366, + 980887553609.0275, + 1015173566640.5638, + 1050310197427.1599, + 1086237354981.4829, + 1122888621627.746, + 1160191728990.294, + 1198069135342.98, + 1236438694300.6128, + 1275214402104.0803, + 1314307208460.3555, + 1353625874133.138, + 1393077857329.0203, + 1432570210411.324, + 1472010468614.8296, + 1511307513193.0671, + 1550372392745.658, + 1589119088270.532, + 1627465209649.5527, + 1665332613705.6755, + 1702647936539.9224, + 1739343035459.4631, + 1775355338341.7637, + 1810628100652.4126, + 1845110572472.731, + 1878758079755.4583, + 1911532025562.6362, + 1943399818247.9429, + 1974334734418.3425, + 2004315725064.5447, + 2033327173510.3147, + 2061358613828.6257, + 2088404418151.9753, + 2114463460891.9895, + 2139538767339.212, + 2163637153455.9543, + 2186768862957.5393, + 2208947207016.7876, + 2230188211161.9976, + 2250510273188.3203, + 2269933835180.183, + 2288481072070.6855, + 2306175598547.246, + 2323042195552.7686, + 2339106557144.1494, + 2354395058039.811, + 2368934541828.2715, + 2382752129502.6694, + 2395875047747.058, + 2408330476198.324, + 2420145412765.2275, + 2431346555977.0073, + 2441960203261.6323, + 2452012164015.7334, + 2461527686308.6074, + 2470531396074.1904, + 2479047247660.4946, + 2487098484649.6377, + 2494707609901.1533, + 2501896363830.9556, + 2508685709991.6157, + 2515095827087.2163 + ], + "initial_reference_positive_m3": [ + 5.975968276481229e+21, + 5.986658954600301e+21, + 5.998005926241845e+21, + 6.010047230742219e+21, + 6.022822816989956e+21, + 6.036374599741151e+21, + 6.050746511801418e+21, + 6.065984550996106e+21, + 6.082136820722963e+21, + 6.099253562741999e+21, + 6.117387180701065e+21, + 6.136592252750241e+21, + 6.156925531427654e+21, + 6.178445928844416e+21, + 6.201214485035359e+21, + 6.225294317173934e+21, + 6.25075054722267e+21, + 6.277650205443065e+21, + 6.30606210709443e+21, + 6.336056699566494e+21, + 6.367705877178135e+21, + 6.401082760870131e+21, + 6.436261440138111e+21, + 6.473316674705153e+21, + 6.512323553704559e+21, + 6.553357110517648e+21, + 6.596491891926686e+21, + 6.641801480858361e+21, + 6.689357972820496e+21, + 6.73923140704937e+21, + 6.791489154536613e+21, + 6.84619526634206e+21, + 6.903409787049413e+21, + 6.963188039751546e+21, + 7.02557989058836e+21, + 7.090629002550537e+21, + 7.158372089916621e+21, + 7.228838186258646e+21, + 7.302047940336976e+21, + 7.378012955306262e+21, + 7.45673518736025e+21, + 7.538206420157169e+21, + 7.622407830981198e+21, + 7.709309663532688e+21, + 7.798871020419183e+21, + 7.891039785850308e+21, + 7.985752685720036e+21, + 8.08293548826576e+21, + 8.182503343965175e+21, + 8.284361258456629e+21, + 8.388404687268741e+21, + 8.49452023634845e+21, + 8.602586448023094e+21, + 8.712474648492751e+21, + 8.824049830504356e+21, + 8.937171543693409e+21, + 9.051694765453078e+21, + 9.167470727097856e+21, + 9.284347673542117e+21, + 9.402171539513892e+21, + 9.5207865312873e+21, + 9.640035609560572e+21, + 9.759760876106433e+21, + 9.879803873649203e+21, + 1.0000005814574731e+22, + 1.0120207759165853e+22, + 1.0240250767667611e+22, + 1.0359976052349643e+22, + 1.047922515574742e+22, + 1.0597840179374294e+22, + 1.0715664083603046e+22, + 1.0832541074324145e+22, + 1.0948317085831575e+22, + 1.106284036256127e+22, + 1.1175962135315821e+22, + 1.1287537380952176e+22, + 1.1397425648552206e+22, + 1.1505491930303762e+22, + 1.1611607551849953e+22, + 1.1715651054969226e+22, + 1.1817509045077681e+22, + 1.1917076977197165e+22, + 1.2014259856487945e+22, + 1.2108972832981653e+22, + 1.2201141674508733e+22, + 1.229070310659224e+22, + 1.2377605013114611e+22, + 1.2461806496392906e+22, + 1.2543277799880553e+22, + 1.2622000100652486e+22, + 1.2697965182197298e+22, + 1.2771175000571879e+22, + 1.2841641158829035e+22, + 1.2909384305657252e+22, + 1.297443347458432e+22, + 1.3036825379868168e+22, + 1.3096603684502187e+22, + 1.3153818254646736e+22, + 1.3208524413430948e+22, + 1.326078220548878e+22, + 1.331065568194133e+22, + 1.3358212213850304e+22, + 1.3403521840528973e+22, + 1.3446656657567357e+22, + 1.348769024797804e+22, + 1.3526697158630477e+22, + 1.3563752422996403e+22, + 1.3598931130296692e+22, + 1.3632308040343937e+22, + 1.366395724272057e+22, + 1.3693951858452063e+22, + 1.3722363781939498e+22, + 1.3749263460652965e+22, + 1.377471970992838e+22, + 1.379879956010099e+22, + 1.382156813320362e+22, + 1.3843088546476994e+22, + 1.3863421840018823e+22, + 1.3882626926002244e+22, + 1.390076055702177e+22, + 1.3917877311281406e+22, + 1.3934029592480203e+22, + 1.3949267642426317e+22, + 1.3963639564562671e+22, + 1.3977191356757298e+22, + 1.398996695185526e+22, + 1.4002008264650713e+22, + 1.4013355244067127e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22 + ], + "initial_state": { + "capture_m2_s": [ + [ + 1118258.213948049, + -6229.392522137877, + -74377884.76314917, + 93.65794154496385 + ] + ], + "local_residual": [ + 0.0, + 4.473815810406219e-18, + -1.393956674437979, + -83.2147084789462, + -387.84528754724045, + -1.90733052469881 + ], + "n_m3": [ + 2515095827087.2163, + 2508690631696.646, + 2501917204129.2607, + 2494757275493.3613, + 2487192033991.0034, + 2479202157038.6416, + 2470767851312.4585, + 2461868901500.0137, + 2452484728555.2803, + 2442594458251.8047, + 2432177000815.2935, + 2421211142384.193, + 2409675648989.5396, + 2397549383668.6123, + 2384811437214.326, + 2371441272924.3706, + 2357418885534.567, + 2342724974307.4097, + 2327341129989.365, + 2311250035052.0957, + 2294435676291.0874, + 2276883568473.573, + 2258580987303.9023, + 2239517209522.983, + 2219683757476.8037, + 2199074644994.499, + 2177686620921.2935, + 2155519406170.9656, + 2132575919715.1453, + 2108862488540.9114, + 2084389036298.3472, + 2059169245161.9558, + 2033220685364.3179, + 2006564906951.5332, + 1979227488586.0938, + 1951238038697.5344, + 1922630144963.5725, + 1893441269008.7097, + 1863712584313.4111, + 1833488756628.4297, + 1802817667649.507, + 1771750084287.578, + 1740339277514.8389, + 1708640596411.1902, + 1676711004611.8428, + 1644608587781.8958, + 1612392041950.868, + 1580120153449.2964, + 1547851281747.1262, + 1515642856648.011, + 1483550901017.843, + 1451629589515.6409, + 1419930852661.7512, + 1388504034069.1252, + 1357395606835.0393, + 1326648953027.926, + 1296304208003.2842, + 1266398169047.0623, + 1236964265685.2722, + 1208032587017.3018, + 1179629959721.1523, + 1151780069020.0222, + 1124503613948.3423, + 1097818487742.7344, + 1071739974118.8923, + 1046280950558.4292, + 1021452090480.1692, + 997262057243.1061, + 973717684246.0251, + 950824136863.0034, + 928585053490.0447, + 907002664487.3279, + 886077889200.5787, + 865810412465.1154, + 846198742985.4603, + 827240256708.9993, + 808931228761.7195, + 791266857693.8746, + 774241285715.8658, + 757847618327.4086, + 742077946298.5299, + 726923372403.0231, + 712374044679.454, + 698419197352.8784, + 685047199930.4269, + 672245614420.5812, + 660001260142.3297, + 648300285202.4563, + 637128243432.2267, + 626470175388.9976, + 616310691935.4205, + 606634058900.0874, + 597424281381.4108, + 588665186370.1891, + 580340502517.5531, + 572433936050.9673, + 564929242029.2695, + 557810290317.698, + 551061125846.0918, + 544666022883.9592, + 538609533217.79285, + 532876528248.72394, + 527452235139.79785, + 522322267232.4558, + 517472649022.1628, + 512889836034.89526, + 508560729981.61743, + 504472689588.7589, + 500613537511.6615, + 496971563736.58417, + 493535525868.1365, + 490294646682.96277, + 487238609311.59143, + 484357550386.4812, + 481642051469.93933, + 479083129049.43365, + 476672223361.49316, + 474401186279.84064, + 472262268478.3778, + 470248106055.69525, + 468351706785.7396, + 466566436138.2424, + 464886003193.3712, + 463304446557.7517, + 461816120372.8127, + 460415680492.35834, + 459098070893.27466, + 457858510372.19836, + 21799211820636.355, + 21740215831273.977, + 21677749190110.21, + 21611629734458.047, + 21541668551084.117, + 21467670101502.91, + 21389432410726.027, + 21306747327565.45, + 21219400865094.94, + 21127173630339.2, + 21029841352679.387, + 20927175520747.004, + 20818944137806.434, + 20704912605665.945, + 20584844747007.61, + 20458503975699.49, + 20325654624005.395, + 20186063434701.074, + 20039501224803.75, + 19885744725935.52, + 19724578604218.004, + 19555797659945.785, + 19379209204149.504, + 19194635605439.727, + 19001916996271.113, + 18800914122895.87, + 18591511317945.59, + 18373619568710.875, + 18147179647920.957, + 17912165267331.523, + 17668586207739.18, + 17416491372471.365, + 17155971705149.043, + 16887162906804.27, + 16610247882698.617, + 16325458845624.227, + 16033079000528.908, + 15733443735312.555, + 15426941244884.584, + 15114012520409.7, + 14795150643237.29, + 14470899333509.21, + 14141850716814.3, + 13808642288384.348, + 13471953072963.822, + 13132498999067.992, + 12791027528383.49, + 12448311603655.41, + 12105143000772.22, + 11762325191844.56, + 11420665844891.908, + 11080969101361.58, + 10744027784134.918, + 10410615695284.697, + 10081480164037.78, + 9757335000995.506, + 9438854004592.014, + 9126665150511.533, + 8821345574810.764, + 8523417437819.2705, + 8233344729497.923, + 7951531049111.901, + 7678318364017.232, + 7413986725373.32, + 7158754893736.535, + 6912781805764.311, + 6676168795369.687, + 6448962469109.362, + 6231158126553.759, + 6022703611870.292, + 5823503482561.221, + 5633423384811.669, + 5452294531625.266, + 5279918189189.976, + 5116070088033.601, + 4960504687804.226, + 4812959237282.972, + 4673157583983.047, + 4540813699891.58, + 4415634901240.504, + 4297324750357.685, + 4185585636502.104, + 4080121040049.225, + 3980637490442.7734, + 3886846233047.8228, + 3798464623509.5303, + 3715217270569.4175, + 3636836949680.1875, + 3563065310312.195, + 3493653399745.203, + 3428362025500.035, + 3366961977527.8296, + 3309234129961.15, + 3254969440721.915, + 3203968865675.293, + 3156043202370.2734, + 3111012876776.559, + 3068707684849.5845, + 3028966499257.373, + 2991636950213.222, + 2956575088070.922, + 2923645034182.4326, + 2892718625468.232, + 2863675057228.5137, + 2836400527904.354, + 2810787888784.7427, + 2786736301042.4497, + 2764150901949.6064, + 2742942481674.657, + 2723027171682.253, + 2704326145438.9585, + 2686765331862.926, + 2670275141738.2505, + 2654790207140.753, + 2640249133774.399, + 2626594266011.937, + 2613771464341.5967, + 2601729894856.4185, + 2590421830376.7974, + 2579802462757.5044, + 2569829725914.7524, + 2560464129089.3286, + 2551668599864.51, + 2543408336451.9766, + 2535650668771.033, + 2528364927853.022, + 2521522323118.466, + 2515095827087.2163 + ], + "occupancy": [ + 7.928333613737113e-05 + ], + "p_m3": [ + 2515095827087.2163, + 2521517376239.463, + 2528343867252.1826, + 2535600189073.5825, + 2543312672678.547, + 2551509162524.7666, + 2560219089816.9023, + 2569473547345.592, + 2579305365609.43, + 2589749189870.2666, + 2600841557715.43, + 2612620976629.159, + 2625128000980.195, + 2638405307741.533, + 2652497770152.43, + 2667452528413.5786, + 2683319056389.6597, + 2700149223158.2173, + 2717997348106.873, + 2736920248142.079, + 2756977275423.2095, + 2778230343898.3184, + 2800743942775.3574, + 2824585134940.009, + 2849823538220.4927, + 2876531287313.9463, + 2904782974141.502, + 2934655564390.124, + 2966228288049.925, + 2999582501869.4297, + 3034801521846.846, + 3071970424162.2466, + 3111175813338.698, + 3152505556921.659, + 3196048486579.4707, + 3241894066250.5356, + 3290132028809.6787, + 3340851983655.828, + 3394142998630.8657, + 3450093160726.0225, + 3508789121066.956, + 3570315630640.5156, + 3634755074055.5957, + 3702187009261.2847, + 3772687721459.2773, + 3846329799403.1855, + 3923181741762.7197, + 4003307600211.144, + 4086766664311.488, + 4173613191138.8545, + 4263896179920.0967, + 4357659188859.0986, + 4454940187911.786, + 4555771437729.7705, + 4660179381558.677, + 4768184533790.243, + 4879801346434.432, + 4995038033235.377, + 5113896330798.029, + 5236371177073.222, + 5362450290024.977, + 5492113633306.382, + 5625332761209.474, + 5762070041884.159, + 5902277765514.964, + 6045897152467.5205, + 6192857284863.386, + 6343073993171.592, + 6496448736658.453, + 6652867522440.93, + 6812199912027.99, + 6974298166232.389, + 7138996578975.091, + 7306111047687.907, + 7475438922780.2, + 7646759171142.285, + 7819832879262.933, + 7994404110612.954, + 8170201120051.015, + 8346937915715.048, + 8524316146720.175, + 8702027283635.226, + 8879755048648.73, + 9057178044001.918, + 9233972521049.365, + 9409815228376.953, + 9584386275906.818, + 9757371952750.31, + 9928467439650.898, + 10097379361875.836, + 10263828135032.535, + 10427550064171.508, + 10588299165192.426, + 10745848686629.28, + 10899992318962.803, + 11050545087293.77, + 11197343931266.57, + 11340247983292.71, + 11479138562216.635, + 11613918904556.387, + 11744513659186.791, + 11870868173977.332, + 11992947604390.713, + 12110735874558.635, + 12224234521010.447, + 12333461448098.715, + 12438449622504.135, + 12539245732051.46, + 12635908831605.023, + 12728508996179.402, + 12817125998663.074, + 12901848026826.057, + 12982770451646.291, + 13059994656480.348, + 13133626934295.629, + 13203777458053.055, + 13270559327474.787, + 13334087693760.3, + 13394478962424.215, + 13451850073229.49, + 13506317855218.848, + 13557998454071.36, + 13607006828410.482, + 13653456311253.195, + 13697458232466.842, + 13739121597949.793, + 13778552821143.564, + 13815855502492.732, + 290180538265.99115, + 290967995395.2472, + 291806449295.52466, + 292699213229.54645, + 293649816627.8212, + 294662019211.8373, + 295739826023.1233, + 296887503410.5536, + 298109596029.39276, + 299410944907.1897, + 300796706631.8759, + 302272373718.29016, + 303843796208.03485, + 305517204556.64307, + 307299233859.4539, + 309196949463.3279, + 311217874006.2341, + 313370015918.59985, + 315661899410.68384, + 318102595957.19604, + 320701757273.9108, + 323469649760.915, + 326417190361.98975, + 329555983759.3718, + 332898360786.029, + 336457417894.6302, + 340247057469.6934, + 344282028708.9713, + 348577968729.3917, + 353151443470.2788, + 358019987873.3097, + 363202144711.4427, + 368717501319.25195, + 374586723343.2036, + 380831584482.7307, + 387474991032.83, + 394540999866.7426, + 402054828315.1392, + 410042854211.3144, + 418532604181.46356, + 427552728074.7983, + 437132957254.5065, + 447304044318.84424, + 458097681703.3303, + 469546396540.6217, + 481683419143.4813, + 494542522539.90656, + 508157830649.2136, + 522563592957.9715, + 537793923954.2584, + 553882506121.293, + 570862255988.0336, + 588764953593.2751, + 607620836737.8927, + 627458162570.6604, + 648302740355.6886, + 670177440675.5829, + 693101687788.7157, + 717090943331.698, + 742156190968.9143, + 768303432871.0387, + 795533209970.2169, + 823840158714.4127, + 853212617445.9954, + 883632295497.9269, + 915074017579.8136, + 947505554987.5366, + 980887553609.0275, + 1015173566640.5638, + 1050310197427.1599, + 1086237354981.4829, + 1122888621627.746, + 1160191728990.294, + 1198069135342.98, + 1236438694300.6128, + 1275214402104.0803, + 1314307208460.3555, + 1353625874133.138, + 1393077857329.0203, + 1432570210411.324, + 1472010468614.8296, + 1511307513193.0671, + 1550372392745.658, + 1589119088270.532, + 1627465209649.5527, + 1665332613705.6755, + 1702647936539.9224, + 1739343035459.4631, + 1775355338341.7637, + 1810628100652.4126, + 1845110572472.731, + 1878758079755.4583, + 1911532025562.6362, + 1943399818247.9429, + 1974334734418.3425, + 2004315725064.5447, + 2033327173510.3147, + 2061358613828.6257, + 2088404418151.9753, + 2114463460891.9895, + 2139538767339.212, + 2163637153455.9543, + 2186768862957.5393, + 2208947207016.7876, + 2230188211161.9976, + 2250510273188.3203, + 2269933835180.183, + 2288481072070.6855, + 2306175598547.246, + 2323042195552.7686, + 2339106557144.1494, + 2354395058039.811, + 2368934541828.2715, + 2382752129502.6694, + 2395875047747.058, + 2408330476198.324, + 2420145412765.2275, + 2431346555977.0073, + 2441960203261.6323, + 2452012164015.7334, + 2461527686308.6074, + 2470531396074.1904, + 2479047247660.4946, + 2487098484649.6377, + 2494707609901.1533, + 2501896363830.9556, + 2508685709991.6157, + 2515095827087.2163 + ], + "phi_V": [ + 0.0, + -6.297056191428073e-05, + -0.00012973146662208053, + -0.00020049304983532027, + -0.00027547505263670594, + -0.00035490674788833947, + -0.00043902702465674045, + -0.000528084423747883, + -0.0006223371168574893, + -0.000722052821259098, + -0.0008275086413886569, + -0.0009389908281559608, + -0.001056794446340081, + -0.0011812229400308526, + -0.0013125875857889144, + -0.0014512068230428951, + -0.0015974054512592826, + -0.0017515136836461164, + -0.0019138660476280148, + -0.0020848001231009274, + -0.002264655110586865, + -0.002453770222907739, + -0.0026524828959283817, + -0.0028611268163229206, + -0.0030800297672304274, + -0.0033095112961101575, + -0.0035498802130940295, + -0.003801431932657415, + -0.004064445676458286, + -0.0043391815606712465, + -0.004625877596976682, + -0.004924746642428712, + -0.00523597333955159, + -0.005559711093992987, + -0.00589607914264355, + -0.0062451597700240195, + -0.0066069957346221045, + -0.0069815879693840965, + -0.007368893621377363, + -0.00776882449439448, + -0.008181245954656725, + -0.00860597635354199, + -0.00904278701224616, + -0.009491402801441043, + -0.00995150333441523, + -0.010422724775143447, + -0.01090466224367658, + -0.0113968727808186, + -0.011898878813079309, + -0.012410172038341242, + -0.01293021763364985, + -0.013458458670182553, + -0.013994320607918128, + -0.014537215734863919, + -0.015086547413778515, + -0.015641714003762765, + -0.016202112335160255, + -0.01676714063379566, + -0.01733620081415353, + -0.017908700089707675, + -0.01848405188091515, + -0.01906167603573292, + -0.019640998412025205, + -0.02022144990393201, + -0.020802465023229397, + -0.02138348017017192, + -0.021963931744815986, + -0.022543254258346065, + -0.02312087860392557, + -0.023696230638071036, + -0.024268730207039638, + -0.024837790729260265, + -0.025402819415878103, + -0.025963218178780077, + -0.026518385240958703, + -0.027067717429727443, + -0.027610613100997185, + -0.028146475614215474, + -0.028674717253996305, + -0.0291947634768808, + -0.02970605735060114, + -0.03020806404878451, + -0.03070027526595448, + -0.031182213425350425, + -0.031653435564620636, + -0.0321135368007977, + -0.03256215329499462, + -0.03299896465781047, + -0.03342369575741174, + -0.03383611791268187, + -0.034236049472884604, + -0.03462335580232781, + -0.03499794870309109, + -0.03535978532072658, + -0.03570886658685825, + -0.03604523525883779, + -0.03636897362022819, + -0.03668020090713124, + -0.03697907052456462, + -0.03726576711457061, + -0.0375405035338582, + -0.03780351779388816, + -0.038055070010729664, + -0.03829543940603822, + -0.03852492139437884, + -0.03874382478605472, + -0.03895246912876802, + -0.03915118220596285, + -0.03934029770467172, + -0.03952015306116285, + -0.039691087488699026, + -0.03985344018827356, + -0.04000754874027779, + -0.04015374767265007, + -0.04029236719912534, + -0.0404237321197055, + -0.04054816087435908, + -0.04066596474018745, + -0.040777447161818914, + -0.040882903204566, + -0.04098261911986465, + -0.04107687201266765, + -0.04116592960075444, + -0.041250050056314345, + -0.04132948192063355, + -0.04140446408324451, + -0.041475225817460375, + -0.04154198686479949, + -0.04166802942552586, + -0.04173495495341643, + -0.04180601586207194, + -0.041881455573579626, + -0.04196153026963265, + -0.04204650935475966, + -0.04213667590768791, + -0.04223232711567937, + -0.04233377468597271, + -0.042441345227698976, + -0.042555380596814886, + -0.04267623819571606, + -0.04280429121825712, + -0.042939928829919885, + -0.04308355627184333, + -0.043235594876368466, + -0.043396481980671545, + -0.0435666707239757, + -0.04374662971276657, + -0.04393684253741497, + -0.044137807122662104, + -0.04435003489358397, + -0.044574049737965186, + -0.04481038674552552, + -0.04505959070420937, + -0.045322214333830046, + -0.045598816237822186, + -0.04588995855476828, + -0.04619620429280293, + -0.04651811433203723, + -0.04685624408286158, + -0.04721113979144995, + -0.04758333448806761, + -0.04797334357893169, + -0.04838166008842693, + -0.04880874956545444, + -0.04925504467557614, + -0.04972093950936862, + -0.050206783646929626, + -0.05071287602865982, + -0.05123945869308936, + -0.0517867104533997, + -0.05235474059511642, + -0.05294358268787637, + -0.05355318861381119, + -0.054183422923507175, + -0.05483405763723888, + -0.055504767613759366, + -0.05619512661090003, + -0.05690460416115856, + -0.05763256338096227, + -0.05837825982410415, + -0.0591408414777896, + -0.05991934998377647, + -0.06071272314736978, + -0.061519798773854745, + -0.06233931984580249, + -0.06316994102622886, + -0.06401023644264726, + -0.06485870867658897, + -0.06571379885321497, + -0.06657389769730744, + -0.06743735739629049, + -0.06830250408900997, + -0.06916765078169826, + -0.07003111048058802, + -0.07089120932452567, + -0.07174629950093636, + -0.07259477173460364, + -0.07343506715069029, + -0.07426568833072965, + -0.07508520940223762, + -0.07589228502823274, + -0.07668565819128914, + -0.07746416669669523, + -0.07822674834975943, + -0.07897244479224315, + -0.07970040401135547, + -0.08040988156089307, + -0.08110024055728708, + -0.08177095053303893, + -0.08242158524598373, + -0.08305181955487823, + -0.08366142548000055, + -0.08425026757194043, + -0.08481829771283278, + -0.0853655494723176, + -0.08589213213592338, + -0.08639822451683438, + -0.08688406865358325, + -0.087349963486573, + -0.08779625859590351, + -0.08822334807215322, + -0.08863166458088578, + -0.08902167367100378, + -0.0893938683668932, + -0.08974876407477228, + -0.09008689382490717, + -0.09040880386347255, + -0.09071504960085941, + -0.09100619191717922, + -0.09128279382056687, + -0.09154541744960493, + -0.09179462140772811, + -0.0920309584147496, + -0.09225497325861366, + -0.09246720102903973, + -0.09266816561381218, + -0.09285837843800653, + -0.09303833742636354, + -0.09320852616925361, + -0.09336941327316174, + -0.09352145187731059, + -0.0936650793188758, + -0.09380071693019774, + -0.09392876995241482, + -0.09404962755100824, + -0.09416366291983197, + -0.09427123346128105, + -0.09437268103131156, + -0.09446833223905393, + -0.09455849879174627, + -0.0946434778766499, + -0.09472355257249158, + -0.09479899228379936, + -0.09487005319226584, + -0.09493697871997775, + -0.09499999999999964 + ], + "poisson_residual_C_m2": [ + 6.427540486059707e-21, + -9.012860511326153e-21, + -1.0507925991079723e-20, + 2.728139830353357e-20, + -6.790552855117229e-20, + 8.176373795395556e-20, + -2.9431980153403907e-20, + -1.3043128565061806e-20, + 5.1079665232087514e-20, + -4.788132244308179e-20, + -5.441507661266287e-21, + -1.094626470595876e-20, + 4.301247252154515e-20, + 1.2809890966929048e-20, + -2.8258996125216283e-20, + -8.311400481069352e-20, + 1.1798092251336339e-19, + -5.77485615266792e-20, + 7.226897204301093e-20, + -1.779591071741093e-20, + -7.296858254250539e-20, + 7.951147263756755e-20, + -8.244246422556303e-20, + 8.194523308032025e-20, + -8.401448164845889e-20, + 2.945042344880578e-20, + 5.696248271950502e-21, + 1.0001716154566265e-19, + -1.7642756355291094e-19, + 6.595894942473128e-20, + 7.526144106345194e-20, + -2.610041570252185e-20, + -5.639195480129878e-20, + 3.4213396660845165e-20, + -6.585593552663038e-21, + 4.912134538578041e-21, + -1.4755557883387426e-20, + 6.922902078420781e-20, + -1.4979639424572698e-19, + 1.5293415356520568e-19, + -1.373359342683475e-19, + 1.12410427337251e-19, + -7.087572841041591e-20, + -8.366311213331161e-20, + 2.378745565314595e-19, + -1.100638027711728e-19, + -1.5818085158842095e-20, + -1.8258050011136326e-20, + 2.72701394468031e-20, + 4.16206054877558e-20, + -1.5343642239279984e-20, + -2.2360206178761568e-20, + -1.3299322858264353e-19, + 2.3878686279583587e-19, + -1.2262775524306574e-19, + 4.506477663422335e-20, + -1.7057970351033934e-19, + 1.7469613687129708e-19, + 4.850389818372995e-20, + -7.645633903912256e-20, + -6.952491345501809e-20, + 4.2591543690385616e-20, + 1.0247511947329984e-19, + -2.320826423165396e-19, + 2.6168172408675143e-19, + -2.6341598993832935e-19, + 1.9015193410403363e-19, + 3.616718395093721e-20, + -1.4320503392204475e-19, + 8.520152041411018e-20, + -1.0999235918469594e-19, + 1.731499863498216e-19, + -1.41712521867124e-19, + 1.4549266362388809e-19, + -1.5966823759062307e-19, + 5.1897496600784583e-20, + -2.227861462235141e-19, + 5.321113768203193e-19, + -4.0861602481952845e-19, + 3.1386011933860185e-19, + -4.397478812272797e-19, + 5.658130817061491e-19, + -4.510681728418289e-19, + -6.175177287012296e-20, + 4.2159724207467307e-19, + -2.986609805268879e-19, + 1.688667229572778e-19, + -3.697746793871824e-19, + 4.2772329306449167e-19, + 1.5473275206257278e-19, + -7.396072269551121e-19, + 3.697217736173255e-19, + 4.419713994487587e-19, + -2.8080996169582463e-19, + -7.340295617201366e-19, + 9.66829016401882e-19, + 6.056879018258077e-19, + -2.317808891620263e-18, + 1.2995002484141606e-18, + 9.58883355618085e-19, + -1.8082615631086557e-18, + 1.4261902027825586e-18, + -9.127354211698564e-19, + 2.5348045165964027e-18, + -3.2570982720697896e-18, + 1.0420716593223032e-18, + -8.70070565307504e-19, + 1.2966981594957917e-18, + -1.1193695231638045e-18, + 1.029460032764315e-18, + 1.0434117677408836e-18, + -1.7789859700617362e-18, + 1.01723486801433e-18, + -1.3007340262603047e-18, + 8.419500553702606e-20, + 1.7781704377504217e-18, + -2.5168378216799123e-19, + -1.968348822697942e-18, + 3.769215632334312e-19, + 1.370215360492931e-19, + 1.7351012711521033e-18, + 5.998856884199166e-19, + -2.8334382789972366e-18, + -6.666648719738475e-19, + 3.3468507755580984e-18, + -3.9957263316529425e-18, + 3.84724236047292e-18, + 3.960477161511012e-20, + -2.8928478344727518e-18, + 2.007600758928497e-18, + -5.762831910372651e-20, + -2.7241123815314666e-18, + 1.6116789661917554e-18, + 1.1743956788986618e-18, + 1.8065123213788992e-19, + 5.569002089750727e-19, + -3.429250881466787e-18, + 3.0924994268060954e-18, + -1.8469540350914643e-18, + 2.0921301638165325e-18, + -1.5008040897054892e-18, + 2.5671317085560316e-19, + -3.9537402552429564e-19, + 7.361343132022896e-19, + -8.087207350975834e-19, + 1.654537287686276e-19, + 1.3415959612132784e-18, + -1.420084429172244e-18, + 9.104436557325402e-21, + 1.244189660721796e-18, + -5.360363938904072e-19, + -7.503218351788111e-19, + -2.868414670884701e-19, + 1.2424279377003899e-18, + -5.257163649913497e-19, + -2.817681955748498e-19, + 4.9441926903784185e-19, + 2.7488322870305244e-19, + -7.477811167269834e-19, + 2.0685783934525917e-19, + 3.0913735605938535e-19, + -6.153606932707319e-19, + 7.6782633814819e-20, + 7.563153914695252e-19, + -6.57738903131888e-19, + 6.52511097214219e-20, + 9.268915718403479e-20, + 5.091921393140492e-19, + -7.967036877752499e-19, + 3.0616747150846116e-19, + 2.7429595116283015e-19, + -2.9550720657232217e-19, + -7.600596640264702e-20, + -3.9540498728784353e-20, + 4.512837597878094e-19, + -3.4670685129119944e-19, + 1.4457607649160132e-19, + -2.2420353487429166e-19, + -1.3103924746683683e-19, + 5.988997688198591e-20, + 5.608411036950069e-19, + -3.0271606527407323e-19, + -8.520985001781457e-20, + -3.1963672300625145e-19, + 6.7058859997994315e-19, + -1.939434074067181e-19, + 4.372277514796077e-21, + -6.086104507414683e-19, + 1.0110887882741256e-18, + -9.855096840670627e-19, + 8.948129069752318e-19, + -4.413862188851644e-19, + -8.724653842855558e-20, + -8.951285542939936e-20, + -1.4092951218294032e-19, + 3.272344944203393e-19, + 5.588785053923687e-19, + -1.1774742431859387e-18, + 6.551722157440873e-19, + -1.023354686042927e-19, + -1.5726327937983407e-19, + 7.934123708244668e-19, + -4.814986006223927e-19, + -1.305676601493865e-19, + -5.625879371006582e-19, + 1.0292930394525953e-18, + -8.30905938716308e-19, + 1.0308381588014582e-18, + -4.779850891662798e-19, + -3.826162935323288e-19, + -4.669248068201855e-19, + 4.890997521320503e-19, + 2.5196947983816895e-19, + 9.115508002380877e-19, + -1.127015644640857e-18, + 3.696782492174028e-19, + -4.353305333711476e-19, + -5.612034720951181e-19, + 1.4900587228565803e-18, + -8.701476438425337e-19, + -2.5028773303512666e-19, + 4.445702038583536e-19, + 2.6129675557485744e-19, + 1.400405285949136e-19, + -3.947696083931843e-19, + -5.328233124116984e-19, + -2.87016337145636e-19, + -1.0510081067109143e-18, + 5.889791909417518e-18, + -5.517594780837073e-18, + 1.1961659241900095e-18, + -4.75899453885297e-19, + 2.414922216066272e-18, + -2.6334320613874404e-18, + 2.0704711250356366e-18, + 2.2764956712265785e-19, + -4.902797256367478e-18, + 5.708920443624776e-18, + -2.47107159512153e-18, + -6.067337485178688e-18, + 1.3269982725428357e-17, + -7.309805676674991e-18, + -1.4279533806631636e-18, + 3.5531014874974745e-18, + -2.1232240510344186e-18, + 1.0472198551259297e-18, + 3.007152009927346e-18, + -5.060091768518966e-18, + 1.1133315290899732e-17, + -2.169798483137798e-17, + 9.891401318515107e-18, + 3.909860172698015e-18, + -3.843026800689902e-18, + 4.525563970776988e-18 + ], + "positive_inventory_m2": [ + 999999999999999.8 + ], + "positive_m3": [ + 5.975968276481229e+21, + 5.986658954600301e+21, + 5.998005926241845e+21, + 6.010047230742219e+21, + 6.022822816989956e+21, + 6.036374599741151e+21, + 6.050746511801418e+21, + 6.065984550996106e+21, + 6.082136820722963e+21, + 6.099253562741999e+21, + 6.117387180701065e+21, + 6.136592252750241e+21, + 6.156925531427654e+21, + 6.178445928844416e+21, + 6.201214485035359e+21, + 6.225294317173934e+21, + 6.25075054722267e+21, + 6.277650205443065e+21, + 6.30606210709443e+21, + 6.336056699566494e+21, + 6.367705877178135e+21, + 6.401082760870131e+21, + 6.436261440138111e+21, + 6.473316674705153e+21, + 6.512323553704559e+21, + 6.553357110517648e+21, + 6.596491891926686e+21, + 6.641801480858361e+21, + 6.689357972820496e+21, + 6.73923140704937e+21, + 6.791489154536613e+21, + 6.84619526634206e+21, + 6.903409787049413e+21, + 6.963188039751546e+21, + 7.02557989058836e+21, + 7.090629002550537e+21, + 7.158372089916621e+21, + 7.228838186258646e+21, + 7.302047940336976e+21, + 7.378012955306262e+21, + 7.45673518736025e+21, + 7.538206420157169e+21, + 7.622407830981198e+21, + 7.709309663532688e+21, + 7.798871020419183e+21, + 7.891039785850308e+21, + 7.985752685720036e+21, + 8.08293548826576e+21, + 8.182503343965175e+21, + 8.284361258456629e+21, + 8.388404687268741e+21, + 8.49452023634845e+21, + 8.602586448023094e+21, + 8.712474648492751e+21, + 8.824049830504356e+21, + 8.937171543693409e+21, + 9.051694765453078e+21, + 9.167470727097856e+21, + 9.284347673542117e+21, + 9.402171539513892e+21, + 9.5207865312873e+21, + 9.640035609560572e+21, + 9.759760876106433e+21, + 9.879803873649203e+21, + 1.0000005814574731e+22, + 1.0120207759165853e+22, + 1.0240250767667611e+22, + 1.0359976052349643e+22, + 1.047922515574742e+22, + 1.0597840179374294e+22, + 1.0715664083603046e+22, + 1.0832541074324145e+22, + 1.0948317085831575e+22, + 1.106284036256127e+22, + 1.1175962135315821e+22, + 1.1287537380952176e+22, + 1.1397425648552206e+22, + 1.1505491930303762e+22, + 1.1611607551849953e+22, + 1.1715651054969226e+22, + 1.1817509045077681e+22, + 1.1917076977197165e+22, + 1.2014259856487945e+22, + 1.2108972832981653e+22, + 1.2201141674508733e+22, + 1.229070310659224e+22, + 1.2377605013114611e+22, + 1.2461806496392906e+22, + 1.2543277799880553e+22, + 1.2622000100652486e+22, + 1.2697965182197298e+22, + 1.2771175000571879e+22, + 1.2841641158829035e+22, + 1.2909384305657252e+22, + 1.297443347458432e+22, + 1.3036825379868168e+22, + 1.3096603684502187e+22, + 1.3153818254646736e+22, + 1.3208524413430948e+22, + 1.326078220548878e+22, + 1.331065568194133e+22, + 1.3358212213850304e+22, + 1.3403521840528973e+22, + 1.3446656657567357e+22, + 1.348769024797804e+22, + 1.3526697158630477e+22, + 1.3563752422996403e+22, + 1.3598931130296692e+22, + 1.3632308040343937e+22, + 1.366395724272057e+22, + 1.3693951858452063e+22, + 1.3722363781939498e+22, + 1.3749263460652965e+22, + 1.377471970992838e+22, + 1.379879956010099e+22, + 1.382156813320362e+22, + 1.3843088546476994e+22, + 1.3863421840018823e+22, + 1.3882626926002244e+22, + 1.390076055702177e+22, + 1.3917877311281406e+22, + 1.3934029592480203e+22, + 1.3949267642426317e+22, + 1.3963639564562671e+22, + 1.3977191356757298e+22, + 1.398996695185526e+22, + 1.4002008264650713e+22, + 1.4013355244067127e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22 + ], + "sheet_charge_C_m2": [ + -2.5841505946391707e-13 + ], + "trace_potential_V": [ + [ + -0.04160500814533491, + -0.04160500814533491 + ] + ], + "trace_state_m3": [ + [ + 456728864202.0237, + 13849585928300.426, + 21852433041537.176, + 289464593659.649 + ] + ] + }, + "jacobian_scope": "first_finite_step_of_each_nested_level_at_accepted_state", + "numerical_comparison": "exact_saved_float64_values_under_anchored_source", + "physical_limits": "unchanged_R1_policy_and_original_component_normalizations", + "prepared_sha256": "8210925499a8da486855870a254b9bd8dedcf8fb6dd913517310fcbedb3b4b26", + "provenance_only": [ + "Newton_iteration_path", + "Newton_iteration_counts", + "earlier_iterate_maximum_jacobian_nnz", + "execution_environment" + ], + "reference_sha256": "0a6532a436dd07e6b27f01da3fc39aef906e6fd882057f0109c1bc5bdf77e39b", + "schema": "R1StateEquationReconstructionV1", + "scope": "saved_accepted_states_transport_storage_current_and_declared_discrete_equations" + }, + "initial_event": { + "algebraic_certificate": { + "direct_poisson_normalized": 7.576590418064348e-16, + "full_gauss_normalized": 1.545810929044224e-14, + "local_carrier_normalized": 2.323148679503913e-14, + "local_gauss_normalized": 1.153431814497558e-16, + "trace_potential_error_V": 0.0 + }, + "capacitance_infinity_F_m2": 0.00044270939085, + "certified": true, + "contact_displacement_jump_C_m2": [ + -2.213546954250006e-06, + -2.213546954251727e-06 + ], + "electrode_charge_jump_C_m2": [ + -2.213546954250006e-06, + 2.213546954251727e-06 + ], + "fixed_population_algebraic_correction": { + "direct_poisson_residual_after_C_m2": [ + -2.1308172579365993e-21, + 1.6795075157276674e-20, + -3.4450418151608497e-20, + 4.0498762790596235e-21, + -1.0339095912422804e-19, + 2.5649216434044282e-20, + -5.14175468762962e-20, + 6.4983308922165854e-21, + 3.4384243702604254e-20, + -5.849821291975012e-21, + 3.679299364635867e-21, + 2.8587361969832636e-21, + -1.7205356741102976e-21, + 8.41474293537944e-20, + -5.992758101824175e-20, + -6.368628972168271e-20, + 2.666830294870961e-19, + -5.69629657028517e-20, + 6.898024564202208e-20, + 2.898440866385809e-20, + -1.2255507955585658e-19, + -7.573003944045479e-20, + -1.817944463044542e-19, + 1.0058516248644817e-19, + -5.701590526205509e-20, + -6.342159192566574e-20, + 6.246867986000465e-20, + -5.362777347303789e-20, + -5.643357011081776e-20, + 2.1196999505038866e-19, + 1.4801900753268898e-19, + 6.426862487292004e-20, + 2.8587361969832636e-21, + 1.2096689277975477e-19, + -8.687381665276918e-20, + -1.6797722135236844e-19, + -9.804406364468526e-20, + 6.982727858927638e-20, + -1.5241299094657067e-19, + 1.0010870645361762e-19, + 9.936755262477011e-20, + -7.612708613448024e-20, + -8.909727813931172e-20, + -1.5257180962418085e-19, + 3.2436067923919364e-19, + -1.435720845596039e-19, + 9.973812953919386e-20, + 1.6358323793848675e-20, + 1.1614939289224593e-19, + -8.735027268559972e-21, + 2.6999175193730823e-20, + 1.1752582143153417e-19, + -3.399778492041948e-19, + 1.5474233155152e-19, + -1.2816667283141632e-19, + 1.530747354366131e-19, + -2.6207728783640086e-19, + 2.3989561253017887e-19, + -4.198107044829126e-20, + -3.340486185734147e-20, + -3.442130139404663e-19, + 3.5747437352091644e-19, + 7.346025583960928e-20, + -3.0798898807739913e-21, + 8.007108329513308e-22, + -3.8277948282013866e-19, + 3.5939343254203946e-19, + 3.943997160652836e-20, + 1.6718312796431753e-19, + 5.458597949461932e-19, + -4.018112543537587e-20, + 3.508569286204922e-19, + -2.5617452698522246e-19, + 1.3610760671192539e-19, + -9.285598684275267e-20, + 5.334189985333956e-19, + -7.717528940670744e-19, + 8.642912435546067e-19, + -1.2283565921963457e-18, + 1.0311037946045005e-18, + -3.307134263436009e-19, + 8.395155298474184e-19, + -4.3050449544199815e-19, + 6.229927327055379e-19, + 1.6633609501706323e-19, + -1.2515441191274321e-18, + -3.865646613031813e-19, + -1.1449767864510005e-18, + 8.512681119905718e-19, + 8.802789904340316e-19, + -1.230950630597312e-18, + 4.06152298208437e-19, + 1.6427674616405121e-18, + -2.252048848512371e-19, + -4.114991936879798e-19, + 9.870580813472769e-19, + 4.346867206190663e-19, + -3.538268378918026e-18, + 1.2323270591366002e-18, + 9.726055816847504e-19, + -2.201385690354723e-18, + 2.743433837038272e-18, + -2.085183357903274e-18, + 2.1553282738477706e-18, + -6.174870185483849e-19, + 1.338444405559803e-18, + 5.216399466106405e-19, + 1.6643932715750985e-18, + -4.2640167960373513e-19, + -9.734790844116064e-19, + 3.4207160877068902e-18, + -4.200383445874872e-18, + -2.413964490335951e-18, + 2.5884797472499384e-19, + -2.2242291101509876e-18, + 5.2213493148919226e-18, + 3.51539848934216e-18, + 3.510078063642219e-18, + 2.7606921333385784e-18, + -4.775148240146118e-19, + 3.2097254745017643e-18, + -5.8772704534219714e-18, + -1.1105951897263564e-17, + -6.338188725626319e-20, + 5.055463206128088e-19, + -1.5639669277662605e-19, + -1.6572576720854824e-18, + -3.535332034383239e-18, + 4.2824392726277426e-20, + 8.72969802443907e-18, + -8.21958894552937e-18, + 4.658160034131247e-18, + -4.725446022442335e-18, + 5.2180447149465624e-18, + 6.690489634059877e-18, + -3.4769818844711236e-19, + -2.0546330749838105e-18, + 5.0076912296550584e-18, + -3.472982723685642e-18, + 3.7084760055187855e-18, + -1.2161629490824884e-18, + -4.3734572791998824e-18, + -2.2888548727392753e-18, + -1.8854891409811e-18, + -1.4009610976033218e-18, + 4.409793824358664e-18, + -1.0289627604721368e-20, + -7.120805938457981e-19, + 6.582729160981052e-19, + 7.384318442313427e-19, + -3.447287086030037e-19, + -7.087075086202792e-19, + -1.8382625870235493e-19, + 5.549503535945504e-19, + -1.1392264593374507e-20, + 9.120993260558802e-20, + -6.089973495985478e-19, + -9.106885063574727e-20, + -2.3831365010497358e-18, + 6.509223653019534e-19, + 1.5541375708202245e-18, + 6.9290188159841475e-19, + -6.847951253012538e-19, + 1.281914362749822e-18, + -1.682378160103448e-18, + -5.03601598210945e-19, + -8.556262589649868e-19, + 2.5303865175013457e-19, + -1.1390708736630823e-18, + 5.274633886140371e-19, + 3.7748319789723386e-19, + 4.423928960464602e-19, + -7.540752106810014e-19, + -1.2624916892477014e-18, + -4.952527995545214e-20, + -4.71674033045344e-19, + 5.633268350525233e-19, + -8.500442487736723e-19, + 4.2974837047481284e-19, + -4.908415950869865e-19, + 9.762202752644915e-19, + 2.54496536018613e-19, + 8.633261842206075e-20, + 1.2897038942518164e-19, + 1.2967630471464618e-18, + -3.041513779195811e-19, + -3.5859575107025383e-19, + -6.465652537197038e-19, + 9.389175309621685e-19, + -8.763878973488298e-19, + 1.2087278406146637e-18, + 1.8971871285072607e-19, + -8.370958837170511e-20, + -1.3815737070476551e-18, + -2.464063289332351e-19, + 1.1691258586614254e-18, + 7.436595609794016e-19, + -1.008020760309418e-18, + 8.016881070562986e-19, + -1.781310280834445e-19, + -7.197841843394971e-19, + -1.027598795408192e-18, + -1.2692649879734735e-18, + -7.097639564660096e-19, + -3.1516337962285937e-19, + 1.5821420633056606e-18, + -1.9945818924377922e-18, + 2.19307699034594e-19, + -1.3040634227310936e-18, + 4.08794093616925e-19, + 2.071186271340103e-19, + -1.0477757448377272e-19, + 4.236863170279747e-19, + 1.0195649250033332e-18, + -2.5506271679331903e-18, + 1.0989148856931242e-18, + 8.074181001214262e-19, + -1.5724038585423597e-18, + -7.169079014779185e-19, + 2.4024362828703102e-20, + -4.435324803725991e-18, + -1.0085524657345002e-19, + -2.4717654429889547e-18, + -1.0301029288853778e-18, + 8.600393959659837e-19, + -1.7011304108036321e-19, + 1.179295549463307e-18, + -1.940130485722085e-18, + 4.43459968480285e-18, + -2.1680402520411533e-18, + 8.779477848883842e-19, + 3.2336238258018476e-18, + -1.9755577433139793e-18, + -8.123379713595758e-19, + 6.7780802201242615e-18, + 3.498808378238014e-18, + -3.665127017149021e-18, + 9.614566777839467e-18, + -8.66537020333233e-18, + -9.89770778261301e-18, + 2.329653486701185e-17, + -9.66784608997851e-18, + -1.508978317970431e-17, + 1.3993079871862424e-17, + -5.664848991103829e-18, + 2.283268713996521e-18, + 3.160026177016746e-18, + -9.958176272055812e-18, + 1.84535006906291e-17, + -2.2615012922827808e-17, + -8.252710934704854e-18, + 1.2977876680983152e-17, + -5.479572184616875e-19, + 1.3627525213997357e-17 + ], + "linear_poisson_residual_C_m2": [ + 0.0, + 1.504632769052528e-36, + 0.0, + 1.504632769052528e-36, + -3.009265538105056e-36, + 6.018531076210112e-36, + 0.0, + -3.009265538105056e-36, + -3.009265538105056e-36, + 0.0, + 0.0, + -3.009265538105056e-36, + 0.0, + -3.009265538105056e-36, + 0.0, + -6.018531076210112e-36, + 0.0, + 0.0, + 0.0, + 3.009265538105056e-36, + 0.0, + -7.52316384526264e-36, + 1.2037062152420224e-35, + -7.52316384526264e-36, + 0.0, + 0.0, + 1.3541694921472752e-35, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -1.504632769052528e-35, + 2.407412430484045e-35, + 2.407412430484045e-35, + 0.0, + -1.2037062152420224e-35, + -2.407412430484045e-35, + 0.0, + -2.407412430484045e-35, + 0.0, + -3.009265538105056e-36, + 0.0, + 6.018531076210112e-36, + 0.0, + -1.2037062152420224e-35, + 0.0, + -1.2037062152420224e-35, + 4.81482486096809e-35, + -4.81482486096809e-35, + 0.0, + 0.0, + -6.018531076210112e-36, + 0.0, + 0.0, + -6.018531076210112e-36, + 1.2037062152420224e-35, + 0.0, + 0.0, + 0.0, + 0.0, + -1.8055593228630336e-35, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -4.81482486096809e-35, + -6.018531076210112e-36, + 4.81482486096809e-35, + 0.0, + 0.0, + 0.0, + -2.407412430484045e-35, + -9.62964972193618e-35, + 4.81482486096809e-35, + -2.407412430484045e-35, + 0.0, + 0.0, + 2.407412430484045e-35, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -3.851859888774472e-34, + 0.0, + -3.851859888774472e-34, + 3.851859888774472e-34, + 0.0, + 4.81482486096809e-35, + 3.851859888774472e-34, + 3.851859888774472e-34, + -7.703719777548943e-34, + 0.0, + 1.925929944387236e-34, + -1.925929944387236e-34, + 1.925929944387236e-34, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 6.2592723192585165e-34, + -7.703719777548943e-34, + 3.851859888774472e-34, + 7.703719777548943e-34, + 0.0, + 0.0, + 3.851859888774472e-34, + 2.8888949165808538e-34, + 0.0, + 0.0, + 0.0, + -2.7083389842945504e-34, + 0.0, + 0.0, + 2.407412430484045e-34, + -5.7777898331617076e-34, + 7.703719777548943e-34, + 1.5407439555097887e-33, + -7.703719777548943e-34, + 0.0, + -1.925929944387236e-34, + -3.851859888774472e-34, + 3.851859888774472e-34, + 0.0, + -1.925929944387236e-34, + 9.62964972193618e-35, + 0.0, + 0.0, + 0.0, + -1.925929944387236e-34, + 9.62964972193618e-35, + 7.222237291452134e-35, + 1.925929944387236e-34, + -1.925929944387236e-34, + 2.8888949165808538e-34, + -3.851859888774472e-34, + 9.62964972193618e-35, + 0.0, + 0.0, + 1.925929944387236e-34, + 1.925929944387236e-34, + 0.0, + 1.925929944387236e-34, + -4.81482486096809e-35, + -4.81482486096809e-35, + 0.0, + 0.0, + 0.0, + -6.018531076210112e-35, + -1.2037062152420224e-35, + 1.2037062152420224e-35, + 0.0, + 0.0, + -4.81482486096809e-35, + 0.0, + 0.0, + 0.0, + 6.018531076210112e-36, + 0.0, + 0.0, + 1.925929944387236e-34, + -4.81482486096809e-35, + 0.0, + 0.0, + -1.925929944387236e-34, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 2.5578757073892976e-35, + 0.0, + 0.0, + 0.0, + 1.925929944387236e-34, + -1.925929944387236e-34, + 0.0, + 9.62964972193618e-35, + 9.62964972193618e-35, + -1.925929944387236e-34, + 1.925929944387236e-34, + 0.0, + 0.0, + 9.62964972193618e-35, + -1.925929944387236e-34, + 1.925929944387236e-34, + 3.851859888774472e-34, + -1.925929944387236e-34, + 4.81482486096809e-35, + -9.62964972193618e-35, + 1.925929944387236e-34, + 0.0, + 0.0, + -1.4444474582904269e-34, + 9.62964972193618e-35, + 0.0, + -1.925929944387236e-34, + 0.0, + 0.0, + 0.0, + 3.851859888774472e-34, + 0.0, + -1.925929944387236e-34, + 0.0, + 4.81482486096809e-35, + 0.0, + 0.0, + -2.407412430484045e-35, + -3.851859888774472e-34, + 0.0, + 0.0, + -7.703719777548943e-34, + 0.0, + 3.851859888774472e-34, + -1.925929944387236e-34, + -3.851859888774472e-34, + 0.0, + -1.925929944387236e-34, + 0.0, + 7.703719777548943e-34, + -3.851859888774472e-34, + 3.851859888774472e-34, + -3.851859888774472e-34, + -3.851859888774472e-34, + -7.703719777548943e-34, + 7.703719777548943e-34, + -1.925929944387236e-34, + 7.703719777548943e-34, + 0.0, + 1.925929944387236e-34, + -3.851859888774472e-34, + 0.0, + -7.703719777548943e-34, + -1.5407439555097887e-33, + 7.703719777548943e-34, + -7.703719777548943e-34, + 0.0, + 7.703719777548943e-34 + ], + "local_electrostatic_residual_after": [ + [ + 0.0, + 4.473815810406219e-18 + ] + ], + "local_electrostatic_residual_before": [ + [ + 0.0, + -1.6347696640340648e-17 + ] + ], + "maximum_potential_correction_V": 1.1420728893262751e-17, + "poisson_residual_after_C_m2": [ + 6.427540486059707e-21, + -9.012860511326153e-21, + -1.0507925991079723e-20, + 2.728139830353357e-20, + -6.790552855117229e-20, + 8.176373795395556e-20, + -2.9431980153403907e-20, + -1.3043128565061806e-20, + 5.1079665232087514e-20, + -4.788132244308179e-20, + -5.441507661266287e-21, + -1.094626470595876e-20, + 4.301247252154515e-20, + 1.2809890966929048e-20, + -2.8258996125216283e-20, + -8.311400481069352e-20, + 1.1798092251336339e-19, + -5.77485615266792e-20, + 7.226897204301093e-20, + -1.779591071741093e-20, + -7.296858254250539e-20, + 7.951147263756755e-20, + -8.244246422556303e-20, + 8.194523308032025e-20, + -8.401448164845889e-20, + 2.945042344880578e-20, + 5.696248271950502e-21, + 1.0001716154566265e-19, + -1.7642756355291094e-19, + 6.595894942473128e-20, + 7.526144106345194e-20, + -2.610041570252185e-20, + -5.639195480129878e-20, + 3.4213396660845165e-20, + -6.585593552663038e-21, + 4.912134538578041e-21, + -1.4755557883387426e-20, + 6.922902078420781e-20, + -1.4979639424572698e-19, + 1.5293415356520568e-19, + -1.373359342683475e-19, + 1.12410427337251e-19, + -7.087572841041591e-20, + -8.366311213331161e-20, + 2.378745565314595e-19, + -1.100638027711728e-19, + -1.5818085158842095e-20, + -1.8258050011136326e-20, + 2.72701394468031e-20, + 4.16206054877558e-20, + -1.5343642239279984e-20, + -2.2360206178761568e-20, + -1.3299322858264353e-19, + 2.3878686279583587e-19, + -1.2262775524306574e-19, + 4.506477663422335e-20, + -1.7057970351033934e-19, + 1.7469613687129708e-19, + 4.850389818372995e-20, + -7.645633903912256e-20, + -6.952491345501809e-20, + 4.2591543690385616e-20, + 1.0247511947329984e-19, + -2.320826423165396e-19, + 2.6168172408675143e-19, + -2.6341598993832935e-19, + 1.9015193410403363e-19, + 3.616718395093721e-20, + -1.4320503392204475e-19, + 8.520152041411018e-20, + -1.0999235918469594e-19, + 1.731499863498216e-19, + -1.41712521867124e-19, + 1.4549266362388809e-19, + -1.5966823759062307e-19, + 5.1897496600784583e-20, + -2.227861462235141e-19, + 5.321113768203193e-19, + -4.0861602481952845e-19, + 3.1386011933860185e-19, + -4.397478812272797e-19, + 5.658130817061491e-19, + -4.510681728418289e-19, + -6.175177287012296e-20, + 4.2159724207467307e-19, + -2.986609805268879e-19, + 1.688667229572778e-19, + -3.697746793871824e-19, + 4.2772329306449167e-19, + 1.5473275206257278e-19, + -7.396072269551121e-19, + 3.697217736173255e-19, + 4.419713994487587e-19, + -2.8080996169582463e-19, + -7.340295617201366e-19, + 9.66829016401882e-19, + 6.056879018258077e-19, + -2.317808891620263e-18, + 1.2995002484141606e-18, + 9.58883355618085e-19, + -1.8082615631086557e-18, + 1.4261902027825586e-18, + -9.127354211698564e-19, + 2.5348045165964027e-18, + -3.2570982720697896e-18, + 1.0420716593223032e-18, + -8.70070565307504e-19, + 1.2966981594957917e-18, + -1.1193695231638045e-18, + 1.029460032764315e-18, + 1.0434117677408836e-18, + -1.7789859700617362e-18, + 1.01723486801433e-18, + -1.3007340262603047e-18, + 8.419500553702606e-20, + 1.7781704377504217e-18, + -2.5168378216799123e-19, + -1.968348822697942e-18, + 3.769215632334312e-19, + 1.370215360492931e-19, + 1.7351012711521033e-18, + 5.998856884199166e-19, + -2.8334382789972366e-18, + -6.666648719738475e-19, + 3.3468507755580984e-18, + -3.9957263316529425e-18, + 3.84724236047292e-18, + 3.960477161511012e-20, + -2.8928478344727518e-18, + 2.007600758928497e-18, + -5.762831910372651e-20, + -2.7241123815314666e-18, + 1.6116789661917554e-18, + 1.1743956788986618e-18, + 1.8065123213788992e-19, + 5.569002089750727e-19, + -3.429250881466787e-18, + 3.0924994268060954e-18, + -1.8469540350914643e-18, + 2.0921301638165325e-18, + -1.5008040897054892e-18, + 2.5671317085560316e-19, + -3.9537402552429564e-19, + 7.361343132022896e-19, + -8.087207350975834e-19, + 1.654537287686276e-19, + 1.3415959612132784e-18, + -1.420084429172244e-18, + 9.104436557325402e-21, + 1.244189660721796e-18, + -5.360363938904072e-19, + -7.503218351788111e-19, + -2.868414670884701e-19, + 1.2424279377003899e-18, + -5.257163649913497e-19, + -2.817681955748498e-19, + 4.9441926903784185e-19, + 2.7488322870305244e-19, + -7.477811167269834e-19, + 2.0685783934525917e-19, + 3.0913735605938535e-19, + -6.153606932707319e-19, + 7.6782633814819e-20, + 7.563153914695252e-19, + -6.57738903131888e-19, + 6.52511097214219e-20, + 9.268915718403479e-20, + 5.091921393140492e-19, + -7.967036877752499e-19, + 3.0616747150846116e-19, + 2.7429595116283015e-19, + -2.9550720657232217e-19, + -7.600596640264702e-20, + -3.9540498728784353e-20, + 4.512837597878094e-19, + -3.4670685129119944e-19, + 1.4457607649160132e-19, + -2.2420353487429166e-19, + -1.3103924746683683e-19, + 5.988997688198591e-20, + 5.608411036950069e-19, + -3.0271606527407323e-19, + -8.520985001781457e-20, + -3.1963672300625145e-19, + 6.7058859997994315e-19, + -1.939434074067181e-19, + 4.372277514796077e-21, + -6.086104507414683e-19, + 1.0110887882741256e-18, + -9.855096840670627e-19, + 8.948129069752318e-19, + -4.413862188851644e-19, + -8.724653842855558e-20, + -8.951285542939936e-20, + -1.4092951218294032e-19, + 3.272344944203393e-19, + 5.588785053923687e-19, + -1.1774742431859387e-18, + 6.551722157440873e-19, + -1.023354686042927e-19, + -1.5726327937983407e-19, + 7.934123708244668e-19, + -4.814986006223927e-19, + -1.305676601493865e-19, + -5.625879371006582e-19, + 1.0292930394525953e-18, + -8.30905938716308e-19, + 1.0308381588014582e-18, + -4.779850891662798e-19, + -3.826162935323288e-19, + -4.669248068201855e-19, + 4.890997521320503e-19, + 2.5196947983816895e-19, + 9.115508002380877e-19, + -1.127015644640857e-18, + 3.696782492174028e-19, + -4.353305333711476e-19, + -5.612034720951181e-19, + 1.4900587228565803e-18, + -8.701476438425337e-19, + -2.5028773303512666e-19, + 4.445702038583536e-19, + 2.6129675557485744e-19, + 1.400405285949136e-19, + -3.947696083931843e-19, + -5.328233124116984e-19, + -2.87016337145636e-19, + -1.0510081067109143e-18, + 5.889791909417518e-18, + -5.517594780837073e-18, + 1.1961659241900095e-18, + -4.75899453885297e-19, + 2.414922216066272e-18, + -2.6334320613874404e-18, + 2.0704711250356366e-18, + 2.2764956712265785e-19, + -4.902797256367478e-18, + 5.708920443624776e-18, + -2.47107159512153e-18, + -6.067337485178688e-18, + 1.3269982725428357e-17, + -7.309805676674991e-18, + -1.4279533806631636e-18, + 3.5531014874974745e-18, + -2.1232240510344186e-18, + 1.0472198551259297e-18, + 3.007152009927346e-18, + -5.060091768518966e-18, + 1.1133315290899732e-17, + -2.169798483137798e-17, + 9.891401318515107e-18, + 3.909860172698015e-18, + -3.843026800689902e-18, + 4.525563970776988e-18 + ], + "poisson_residual_before_C_m2": [ + -1.271976789133054e-20, + 1.0134447866064095e-20, + 6.478402498326115e-21, + 1.0295069814127731e-20, + -7.587452927141925e-21, + -3.540218996814872e-20, + 2.7415872144669995e-20, + -1.3043128565061806e-20, + 3.429306680097267e-21, + 4.471802800986884e-20, + -5.0390499562226666e-20, + -1.094626470595876e-20, + 4.301247252154515e-20, + 1.2809890966929048e-20, + -2.8258996125216283e-20, + 4.43238008350513e-20, + -1.2992959554913382e-19, + 6.272415089007318e-20, + 7.226897204301093e-20, + -1.779591071741093e-20, + -7.296858254250539e-20, + -1.2014156312566056e-20, + 9.583682102764563e-20, + -4.808423222754801e-21, + -8.401448164845889e-20, + 2.945042344880578e-20, + 5.696248271950502e-21, + -3.388249468417211e-20, + 8.485612562219911e-20, + -6.142508352054401e-20, + 7.526144106345194e-20, + -2.610041570252185e-20, + -5.639195480129878e-20, + 3.4213396660845165e-20, + -6.585593552663038e-21, + -8.696921952872398e-20, + 1.6514179476441437e-19, + -1.8786977796291974e-20, + 1.2253857867198125e-20, + -1.6486068261355779e-19, + 1.6827093255622456e-19, + -1.818322183929069e-19, + 7.35046345610083e-20, + 1.8540381960859354e-19, + -2.914523983972144e-19, + 1.5019622041559595e-19, + -1.5818085158842095e-20, + -1.8258050011136326e-20, + 2.72701394468031e-20, + 4.16206054877558e-20, + -1.2532458523060963e-19, + 8.762073681256807e-20, + -2.7647689820848645e-20, + -7.330224066725697e-20, + 2.8734929909553775e-19, + -3.583158496401021e-19, + 4.245123245447282e-19, + -4.154477199871393e-19, + 5.0385051466556424e-20, + 3.086831083316495e-19, + -2.6134654866822787e-19, + 4.2591543690385616e-20, + 1.0247511947329984e-19, + -2.320826423165396e-19, + 2.6168172408675143e-19, + -2.6341598993832935e-19, + 1.9015193410403363e-19, + 3.616718395093721e-20, + -1.4320503392204475e-19, + 8.520152041411018e-20, + -1.0999235918469594e-19, + 1.731499863498216e-19, + -1.41712521867124e-19, + -6.51984138997017e-20, + 2.6611429302928643e-19, + -1.6319395649553515e-19, + 2.2785666878640435e-19, + -3.8091335840966987e-19, + 5.3765895400542285e-20, + 3.1386011933860185e-19, + -4.397478812272797e-19, + 5.658130817061491e-19, + -4.510681728418289e-19, + -6.175177287012296e-20, + 4.2159724207467307e-19, + -2.986609805268879e-19, + 1.688667229572778e-19, + -3.697746793871824e-19, + 4.2772329306449167e-19, + 1.5473275206257278e-19, + -7.396072269551121e-19, + 3.697217736173255e-19, + 4.419713994487587e-19, + -1.1219431557152626e-18, + 9.884960736467951e-19, + 8.543657505438832e-20, + -1.3346890779226858e-18, + 2.679784878814871e-18, + -2.828913792111158e-18, + 2.030080605456763e-18, + -1.8082615631086557e-18, + 1.4261902027825586e-18, + -9.127354211698564e-19, + -2.413124851019838e-19, + 2.4478388560328548e-18, + -3.432491472355477e-18, + 3.940422714569492e-18, + -3.692697091333393e-18, + 6.052754530619057e-19, + 1.029460032764315e-18, + -9.955931225910674e-19, + 2.417691923758155e-18, + -1.1404381354736101e-18, + -1.3007340262603047e-18, + 2.646021239544786e-18, + -3.498003884235331e-18, + -4.140711758514848e-19, + 3.9580096062910676e-18, + -2.6727013840940917e-18, + 3.566665545804433e-18, + -5.332805285679614e-18, + 4.238148235496495e-18, + -2.8334382789972366e-18, + -6.666648719738475e-19, + 3.3468507755580984e-18, + -3.9957263316529425e-18, + 3.84724236047292e-18, + 3.960477161511012e-20, + -2.8928478344727518e-18, + 2.007600758928497e-18, + -5.762831910372651e-20, + 1.1362444584064346e-18, + -5.886940420822724e-18, + 8.242302235730379e-18, + -6.482678824122625e-18, + 3.790586255480448e-18, + -5.525153998053005e-19, + -2.498584142833384e-18, + 3.4292202868942884e-18, + -2.8882700074827997e-18, + 9.177698475860831e-19, + 2.5671317085560316e-19, + -3.9537402552429564e-19, + 7.361343132022896e-19, + 1.014192333348218e-18, + -1.657459339677174e-18, + -2.907791760885162e-19, + 2.122907081295506e-19, + 1.4735144997594544e-18, + -1.6082789033295263e-18, + -4.6436786586672665e-19, + 1.8151925704470634e-18, + -3.4996686067447486e-19, + -1.0703382297342219e-18, + 1.6722480130675829e-18, + -1.352965445413528e-18, + -4.757692208364049e-19, + 1.2450717185772993e-18, + -7.477811167269834e-19, + 2.0685783934525917e-19, + 3.0913735605938535e-19, + -6.153606932707319e-19, + 8.11833466353241e-19, + -6.828634297128923e-19, + 4.6389085512107535e-20, + 6.52511097214219e-20, + 9.268915718403479e-20, + 5.091921393140492e-19, + -7.967036877752499e-19, + 3.0616747150846116e-19, + 2.7429595116283015e-19, + -2.9550720657232217e-19, + -7.600596640264702e-20, + -3.9540498728784353e-20, + 4.512837597878094e-19, + -8.090887715112609e-19, + 6.069579967116628e-19, + 2.1572023709103115e-19, + -5.709630194321596e-19, + 9.026542869763373e-19, + -1.1088974652045436e-18, + 5.24258193531126e-19, + -8.520985001781457e-20, + 4.702530598298405e-19, + -9.000970446177069e-19, + 5.868524543548401e-19, + 4.372277514796077e-21, + -6.086104507414683e-19, + 1.0110887882741256e-18, + -9.855096840670627e-19, + 8.948129069752318e-19, + -1.2012354445768638e-18, + 1.4354210403167806e-18, + -8.523312084830361e-19, + 6.323417364473151e-19, + -1.2268326159714744e-18, + 1.3396743671539267e-18, + -1.1774742431859387e-18, + 6.551722157440873e-19, + 7.246387902009065e-19, + -9.842375381850333e-19, + -9.273192539460911e-19, + 2.1190805680788106e-18, + -1.010415204080032e-18, + 3.621759033395017e-19, + -8.458447177965154e-19, + 1.0976839091489278e-18, + -9.557764487126403e-19, + 5.304135872915335e-19, + -3.826162935323288e-19, + 6.472944250454947e-19, + -1.780162383505038e-18, + 1.4070123836095771e-18, + 9.115508002380877e-19, + -1.127015644640857e-18, + -9.80753162261951e-19, + 2.3233568553962187e-18, + -1.9694594493831305e-18, + 1.4900587228565803e-18, + -8.701476438425337e-19, + -2.5028773303512666e-19, + 4.445702038583536e-19, + 2.6129675557485744e-19, + 1.400405285949136e-19, + -2.4329141355176558e-18, + 3.647715714390129e-18, + -2.429410836822992e-18, + 3.692988050146394e-18, + -3.850701978641104e-18, + -5.210970496357593e-19, + 1.1961659241900095e-18, + 2.4529206725188686e-18, + -3.605383920885041e-18, + 4.580539491597064e-19, + 2.0704711250356366e-18, + -3.4181765697692315e-18, + 2.5981556778602227e-18, + 1.853793646288965e-18, + -2.47107159512153e-18, + 3.0687882602891823e-18, + -5.5404387692052996e-18, + 2.364490072490794e-18, + -1.4279533806631636e-18, + 3.5531014874974745e-18, + -2.1232240510344186e-18, + 1.0472198551259297e-18, + 3.007152009927346e-18, + -5.060091768518966e-18, + -4.3081120688531585e-18, + 1.0130621434835119e-17, + -6.4957775879450995e-18, + 3.909860172698015e-18, + -3.843026800689902e-18, + 4.525563970776988e-18 + ], + "potential_correction_V": [ + 0.0, + -1.9490657166905963e-21, + 1.3987307672337133e-20, + 1.5675537024847075e-20, + 7.130220372117056e-21, + -1.9377260398064102e-20, + -3.3870007802651846e-20, + 1.8271601310902554e-20, + 1.8116785093452375e-20, + 4.5940735681490755e-20, + 6.76412300380264e-20, + -1.7217224258717957e-20, + 2.1664673129541785e-20, + 9.251021716458092e-20, + 4.4149070003954e-20, + -4.5977309678358575e-20, + -5.050316159417981e-20, + -2.061297917280742e-19, + 9.697007984442332e-20, + 1.7871176732504734e-19, + -2.5654200201204134e-20, + -1.6592514502373282e-19, + 1.350083252920697e-20, + 2.59819411476911e-19, + 4.0599452629536396e-20, + -1.6520961188697312e-19, + 8.459943636351445e-20, + 1.753998657122747e-19, + 2.3589467235982567e-19, + 5.190083523261857e-19, + 2.3881521232325186e-19, + 3.838231995737907e-19, + -2.894690473786066e-20, + -2.5635758993734703e-19, + -2.944973070565855e-20, + -8.738132978911166e-20, + -8.848360370462707e-20, + 7.313556487077357e-19, + -4.0205596832229153e-20, + -6.517390945340399e-19, + -1.4199348168418878e-18, + -3.829717218364728e-19, + -1.2531182904463144e-18, + 2.8402707427807384e-20, + 4.413645376858127e-19, + -1.5217760462462505e-18, + 3.339158723531276e-19, + 1.826447600679459e-19, + 2.511147551061062e-19, + 5.882029033797308e-19, + 5.253874878030258e-19, + -1.7992871292836165e-19, + 1.0743074922026104e-18, + 9.436126797901269e-19, + 1.265462360662151e-18, + 2.8235717605041518e-18, + -4.968163289754513e-19, + 2.3428134731044314e-18, + -2.2374671489108912e-18, + 5.130321077381153e-19, + 2.386042887586267e-18, + -1.3094387113747754e-18, + -2.7194577389882234e-19, + -8.285245791581137e-21, + -1.6193585366881144e-18, + 1.016576941326267e-18, + -1.1319486298225962e-18, + 1.5201581447911421e-18, + 7.175734022990032e-19, + -7.27887006665225e-19, + 3.8589463727645513e-19, + -1.0075192326273459e-20, + 1.5059071481214242e-18, + 4.2983058839198375e-20, + 9.830312271439469e-19, + 2.979087978221567e-18, + 6.418585444055804e-19, + 9.304299008392128e-19, + -2.296347054144865e-18, + 2.7510627953355394e-19, + 1.992151901090958e-18, + -7.923547485564459e-19, + 2.5583825130789058e-18, + -1.738622855089343e-18, + -7.874448302453734e-20, + 2.2937253573735114e-18, + -4.831286730756453e-19, + 2.9872930537226216e-19, + -8.298238846868348e-19, + 2.0439190678899857e-18, + 4.071629001666898e-19, + -2.6872143381686794e-18, + 1.3304920934682703e-18, + 1.835316644131979e-18, + -1.4992217352995559e-18, + 4.57117259352469e-18, + 2.582207035773323e-18, + 4.4334945673319633e-20, + 7.172198695930211e-18, + -4.2885897183029314e-18, + 3.1331629761296988e-18, + -2.3128184593401645e-18, + 3.092735898263737e-18, + 3.026213685625906e-19, + 2.4662461904391834e-18, + 5.724477561464832e-18, + -2.785897146242807e-18, + 4.560094878572296e-18, + -5.233707415070239e-18, + 3.5357234689355125e-19, + 3.3356848320694278e-18, + 2.4500163627253466e-18, + 5.0008356123105816e-18, + -3.637283453988363e-19, + -1.966856718639219e-18, + 2.5100386511303e-19, + -4.822096203795677e-18, + -6.679211980810562e-19, + 4.25052647706462e-18, + -1.1563157489415663e-19, + 1.5018586449109188e-18, + -4.189186315848508e-18, + 6.168197385141054e-19, + -2.4716380442443446e-18, + -5.827519781624462e-19, + 2.260595158905015e-18, + -9.1673770805513e-20, + 3.349323489530594e-18, + -4.270909871101751e-19, + -2.4883398149304192e-18, + -3.2877905682613046e-19, + -1.2396702418265884e-18, + -2.1089189712523486e-18, + -5.07377787709308e-18, + 3.0079482934728895e-18, + -5.094647490967042e-18, + 2.223811973010492e-19, + -2.764504243815167e-18, + -4.598189918556453e-18, + -1.542567001943019e-19, + -4.7340419931132134e-18, + -1.2986353222125689e-18, + -4.490509396440289e-19, + -3.7528073393027108e-19, + 1.0482717109742142e-18, + -9.582943924271094e-20, + -5.166120864972527e-18, + -3.856730214491821e-18, + -1.2372833962316252e-18, + 5.759916110326465e-19, + -4.492058525385623e-18, + -1.7991078642822323e-18, + 3.48821014544529e-18, + -1.0231548574105985e-18, + -3.727097464622518e-18, + 1.8210662925755368e-20, + -6.87450817259219e-18, + -4.907403098167212e-18, + 5.615696039054985e-19, + -3.0447142370362466e-18, + -9.397635314215645e-19, + -4.405286374530914e-19, + -2.587784840111947e-18, + 7.252700935010628e-19, + -3.4764148311471265e-18, + -1.133282738235325e-18, + 8.334605317344018e-19, + 2.183667344375375e-18, + 2.5561444857499057e-18, + -2.9508866711302546e-18, + 9.053463977510353e-19, + 1.0894999578245762e-18, + -2.256724664813675e-18, + -1.7768653938392498e-18, + -2.354637140150552e-19, + 1.914452268979487e-18, + -2.4624967622156342e-18, + 5.181210512178063e-18, + 3.6782350433221286e-18, + -1.2639051019206881e-18, + 2.891738590293495e-18, + -7.729820474344507e-18, + 5.466949853183613e-20, + -9.761290454638316e-19, + -5.457543188562976e-19, + -8.371553864273332e-18, + -2.9026527501066785e-19, + -2.662495137537886e-18, + -5.132308677229716e-18, + 3.455728015073303e-18, + -6.389071979467878e-18, + 1.781280996768326e-18, + -6.4230428426584525e-18, + 7.327839869557532e-18, + -5.0891018479785525e-18, + -2.017758227442152e-18, + -1.0318731306991163e-17, + 3.265893588636402e-18, + -6.842982194224807e-18, + 3.59413938999997e-18, + 2.6881605209091185e-18, + -1.036289184403987e-17, + -6.961993969086954e-18, + 1.1327081399942592e-17, + -4.212946390244336e-18, + -3.825197485166827e-18, + -8.882410597241865e-18, + -1.4519397398293506e-18, + -9.80561546652023e-18, + -4.755664304246653e-18, + -6.934834119516653e-18, + -4.1090831370705085e-18, + -9.441741130381029e-18, + 6.802647426410318e-18, + 6.166018282619668e-18, + -4.599654755287376e-18, + -2.8818837339871762e-18, + 8.845928548575584e-18, + -2.80354967931512e-18, + 4.628788673522135e-18, + -1.7195783541806e-18, + -2.7369763000270423e-19, + 3.1720935151015676e-18, + 2.960546244147991e-18, + 7.973439947770008e-19, + -2.2652495436473494e-18, + 1.1384852182118221e-17, + 7.419269207300854e-19, + 5.584765905657291e-18, + -1.1420728893262751e-17, + -6.176165725295289e-18, + 1.5471908357636913e-18, + 2.8921490583232348e-18, + -7.455823813471487e-18, + -1.074620166407094e-18, + 3.0208312984088665e-18, + -1.4331093249796633e-18, + 7.36429221846709e-18, + 6.331159739417697e-18, + -9.541125295998084e-19, + 1.080492715050621e-19, + -8.211537755873163e-18, + -1.7278475654967151e-19, + 1.012062483414361e-18, + 5.780717545787203e-18, + 1.7098516022777968e-18, + 2.7008009674179548e-18, + 1.3882042947136933e-18, + -5.933498547795326e-18, + -3.1847673879716402e-18, + 7.149546214840289e-18, + -2.711744077441926e-19, + 3.102941282051792e-18, + 4.0438610918194575e-19, + 3.30308676182929e-18, + 0.0 + ], + "representation": "fixed-population potential increments with inherited residual retained", + "trace_potential_correction_V": [ + [ + 1.2357052156818788e-17, + 1.2357052156818788e-17 + ] + ] + }, + "full_charge_jump_C_m2": 0.0, + "impulse_charge_C_m2": 2.21354695425e-06, + "impulse_error_C_m2": 1.7271001794515184e-18, + "local_iterations": 2, + "local_scaled_residual": 0.023231472879653985, + "observed_impulse_charge_C_m2": [ + 2.213546954250006e-06, + 2.213546954251727e-06 + ], + "regular_current": { + "charge_balance_error_A_m2": -4.874778444102683e-17, + "charge_balance_normalized": 4.874778444102683e-17, + "charge_density_derivative_C_m3_s": [ + 157034.80119325194, + 141.41547121435192, + 142.5111460989564, + 143.66798832595194, + 144.88858576991777, + 146.17591333630753, + 147.53281139493788, + 148.9621299223517, + 150.466904349645, + 152.04997244431766, + 153.71434542631883, + 155.46286067302606, + 157.29834432543294, + 159.223684552083, + 161.24144174781966, + 163.3542530356704, + 165.56451860686542, + 167.87452835768528, + 170.28626339535563, + 172.8016532792794, + 175.4221907374016, + 178.1491859826748, + 180.98362470750334, + 183.92614589494167, + 186.97699354010226, + 190.1361200062351, + 193.40298265012242, + 196.776738953193, + 200.25606165892083, + 203.83931620124514, + 207.52443701812024, + 211.30905799246636, + 215.19052488972974, + 219.16593244469493, + 223.2322324422891, + 227.38630990952709, + 231.62508314247307, + 235.94562867518562, + 240.34532444056714, + 244.82199276194567, + 249.37406334495273, + 254.0007443315625, + 258.7022138038941, + 263.47978691085206, + 268.33610230544554, + 273.2753023324256, + 278.30319364484444, + 283.42739408954407, + 288.6574645535629, + 294.00499404481553, + 299.48368427182817, + 305.1093645062933, + 310.89997322930253, + 316.8755183827469, + 323.0579506734184, + 329.47101911384107, + 336.140063575371, + 343.0917701912716, + 350.35385670703045, + 357.95475821484666, + 365.92323538339286, + 374.28796880479547, + 383.0771392053494, + 392.31796862244664, + 402.0362650738524, + 412.25596929826577, + 422.9986950898512, + 434.2833031494143, + 446.1254805006671, + 458.5373726610132, + 471.5272361913719, + 485.09915718199227, + 499.252815386969, + 513.9833001420998, + 529.2810207605016, + 545.1316433979497, + 561.5161427502014, + 578.41088380437, + 595.7878131068775, + 613.6146844052616, + 631.8553744791368, + 650.4702458007908, + 669.416542370976, + 688.6488911253556, + 708.1197348676652, + 727.7799203714319, + 747.5791449805618, + 767.4665818124441, + 787.3913169068159, + 807.302947116307, + 827.1519644246936, + 846.8903134912252, + 866.4717161828894, + 885.8520890455262, + 904.9898181799888, + 923.846076597911, + 942.3849698015912, + 960.5737549118364, + 978.3828983065574, + 995.7861832426667, + 1012.760699994117, + 1029.286751755009, + 1045.347981409074, + 1060.930989019236, + 1076.025517231497, + 1090.6240518866755, + 1104.7217652687816, + 1118.3164373811228, + 1131.4079615031585, + 1143.9985120876022, + 1156.0921851460353, + 1167.6946291432705, + 1178.8132845842897, + 1189.456697222287, + 1199.6347336962067, + 1209.358194214276, + 1218.6387712681894, + 1227.488872936668, + 1235.9211553137363, + 1243.9492066379387, + 1251.5864973843481, + 1258.8469954263117, + 1265.744388912538, + 1272.2929388020825, + 1278.5061895512652, + 1284.398242654414, + 1289.9825284601054, + -431385.97308789415, + 484279.0390687223, + -1857.497465924298, + -1852.0120010147898, + -1846.2053471400893, + -1840.0608391297121, + -1833.561212893192, + -1826.688635540453, + -1819.424699925407, + -1811.7504927779275, + -1803.6465883245176, + -1795.093123810059, + -1786.0698386832707, + -1776.556137118562, + -1766.5311732322884, + -1755.9739253985938, + -1744.8633042110594, + -1733.1782615983036, + -1720.89791796405, + -1708.00170428793, + -1694.4695198212669, + -1680.2819020326458, + -1665.4202162029467, + -1649.8668567457862, + -1633.6054667912103, + -1616.6211664109537, + -1598.9007973429661, + -1580.4331776422716, + -1561.2093623542978, + -1541.2229107110832, + -1520.4701570682353, + -1498.9504761909147, + -1476.6665446176874, + -1453.6245901143564, + -1429.834622396829, + -1405.310642354603, + -1380.0708212685283, + -1354.1376438030802, + -1327.5380100720722, + -1300.3032880728501, + -1272.4693132806638, + -1244.0763286543008, + -1215.1688616379522, + -1185.795535472058, + -1156.0088123113696, + -1125.8646695930784, + -1095.4222104147982, + -1064.7432121456543, + -1033.8916191251428, + -1002.9329867067411, + -971.9338864735122, + -940.9612830009678, + -910.0818952231315, + -879.3615548583388, + -848.8645757428476, + -818.6531482022543, + -788.7867705054082, + -759.3217308657628, + -730.3106494950416, + -701.802090428774, + -673.8402490490762, + -646.4647203263515, + -619.7103489141207, + -593.6071606568306, + -568.1803727284247, + -543.4504764285243, + -519.433386644076, + -496.1406483376234, + -473.5796917576527, + -451.7541250192201, + -430.66405495182426, + -410.3064250316538, + -390.67536203634484, + -371.76252159979754, + -353.5574262042033, + -336.0477885551399, + -319.21981550978893, + -303.0584888005957, + -287.54782041351325, + -272.6710803968062, + -258.41099790486385, + -244.74993499893714, + -231.67003538068624, + -219.15334888188477, + -207.1819348266285, + -195.73794574712915, + -184.80369474444345, + -174.36170798811918, + -164.39476578845063, + -154.88593347185662, + -145.81858442847664, + -137.17641692146046, + -128.9434666987205, + -121.10411509288943, + -113.64309582871657, + -106.5454990136187, + -99.79677466611375, + -93.38273514294242, + -87.28955716653795, + -81.50378377361935, + -76.01232506544292, + -70.80246073183123, + -65.86183942017814, + -61.1784812067726, + -56.740776321421976, + -52.53748596245999, + -48.55774119330992, + -44.79104236973824, + -41.22725609958825, + -37.85661353515364, + -34.6697073839378, + -31.657486711573746, + -28.811253428919265, + -26.122657129571135, + -23.583687360030165, + -21.18667022564912, + -18.92425732706236, + -16.789422169928073, + -14.775448628850292, + -12.875925865090402, + -11.084736663471833, + -9.396049836891958, + -7.8043124472786305, + -6.304238188978903, + -4.890796506607348, + -3.5592109062188686, + -2.3049386820782782, + -1.1236778478258642, + 0.0 + ], + "charge_rate_A_m2": 1.906693591513173e-14, + "contact_conduction_A_m2": [ + -2.0148150244118576e-05, + -2.014815026323426e-05 + ], + "contact_displacement_A_m2": [ + -2.3017929569828572e-05, + -2.3017929550762006e-05 + ], + "contact_electron_current_A_m2": [ + -1.0061230937160327e-05, + -1.0086929199318656e-05 + ], + "contact_hole_current_A_m2": [ + -1.0086919306958249e-05, + -1.0061221063915604e-05 + ], + "contact_internal_current_spread_relative": 1.171550794067541e-12, + "contact_ion_current_A_m2": [ + 0.0, + 0.0 + ], + "contact_maxwell_A_m2": [ + -4.3166079813947145e-05, + -4.3166079813996266e-05 + ], + "current_direction": "+x; report current is junction_polarity times +x", + "differentiated_poisson_normalized": 1.0102985478375667e-18, + "differentiated_poisson_residual_A_m2": [ + -4.433688083284228e-21, + 3.0936554909483235e-21, + -2.276401045745932e-21, + -3.735547646289473e-21, + 1.1891548486062326e-20, + -4.433688083284228e-21, + -7.613370357938067e-21, + -1.1904783375863174e-20, + -2.1324716191617053e-20, + 5.3336605897419224e-21, + 1.2685641874113232e-20, + -2.717784620604228e-20, + -1.0673938624384269e-20, + -2.660212849970537e-20, + 1.750975920652249e-20, + 2.4418371682565377e-20, + 1.870089928859885e-20, + -2.6608745944605794e-20, + 1.2890782666026383e-20, + -3.626359805432473e-21, + 1.1262891220522025e-20, + -2.8693241088239424e-20, + 9.767348673026151e-21, + 8.66885281955573e-21, + -1.4227506535912076e-20, + 2.8190315275807183e-21, + 3.902969002270206e-20, + -2.3941915649734833e-20, + 2.2472842881840656e-20, + 2.226108464502708e-20, + 5.955700410381799e-21, + -1.0005576689441423e-20, + 4.1875191329884473e-20, + -1.826414792517085e-21, + -2.7846208140985124e-20, + -4.5607430253723734e-20, + 7.014491594449675e-21, + -5.929230630780102e-21, + 1.2811373327221293e-20, + -5.881585027497048e-20, + 3.245194979168038e-20, + -1.3817224952085774e-20, + -2.3822801641527197e-21, + -5.468656465710577e-20, + 5.1986647137732683e-20, + 1.3552527156068805e-20, + -3.441071348220595e-21, + -8.470329472543003e-21, + 2.752857078576476e-21, + 9.634999775017666e-21, + -5.293955920339377e-21, + -1.4293680984916318e-21, + 1.3870164511289168e-20, + -4.341043854678289e-21, + -3.843411998166388e-20, + 4.055170234979963e-20, + -3.7375328797596e-20, + -1.122318655111948e-20, + -5.3151317440207346e-20, + 2.964615315390051e-21, + 5.61159327555974e-20, + -1.1434944787933055e-20, + -4.309280119156253e-20, + -6.88214269644119e-21, + 7.962109704190423e-20, + -3.134021904840911e-20, + 1.1540823906339842e-20, + -5.082197683525802e-21, + 4.1928130889087867e-20, + -2.022291161569642e-20, + 3.8963515573697816e-20, + 5.69629657028517e-20, + -3.494010907423989e-20, + 3.451659260061274e-20, + -7.506829495041237e-20, + 3.716357056078243e-20, + -6.702148195149651e-20, + 3.3034284942917713e-20, + -1.122318655111948e-20, + 4.828087799349512e-20, + -3.578714202149419e-20, + 4.0234064994579266e-21, + 6.3527471044072525e-21, + 1.2705494208814505e-20, + -1.2176098616780567e-20, + -3.8116482626443515e-21, + -2.541098841762901e-20, + -1.1858461261560205e-20, + -1.1011428314305904e-20, + 3.282252670610414e-21, + 1.4081922748102743e-20, + -2.8587361969832636e-21, + 3.1763735522036263e-21, + 8.470329472543003e-22, + -3.1763735522036263e-22, + 6.246867986000465e-21, + -1.164670302474663e-20, + 4.182225177068108e-20, + -9.423241538204091e-21, + -1.8211208365967457e-20, + 1.1858461261560205e-20, + -1.376428539288238e-20, + -4.362219678359647e-20, + 5.4104229505868434e-20, + -9.973812953919386e-20, + -4.6110356066155975e-20, + 1.0847315680775384e-19, + -7.025079506290353e-20, + -1.1630821156985612e-19, + -1.7787691892340307e-20, + -1.3208420021246746e-19, + 1.0524384369634682e-19, + 1.3531351332387448e-19, + 2.5860974670857857e-19, + -3.9895251815677546e-19, + 6.96684599116662e-20, + 1.2049043674692422e-19, + -3.8375886466540145e-19, + -8.152692117322641e-20, + -3.6665938704270526e-19, + 1.5273062830179103e-20, + 5.430539983084133e-19, + 3.5975077456666237e-19, + -3.563097032184418e-19, + 3.6414475798054406e-19, + -4.223518033246755e-19, + 7.589415207398531e-19, + 4.0657581468206416e-20, + -3.561773543204333e-19, + -4.341573250270323e-19, + 5.876291071576709e-19, + -7.983285527871781e-19, + 1.0102985478375667e-18, + -4.214518308182178e-19, + -2.973615040454628e-19, + 1.7792985848260646e-19, + -8.83561243104642e-20, + -5.026611146362239e-19, + 3.0704944337968387e-21, + 6.691560283308973e-20, + -6.326277324805556e-20, + 1.2366681029912785e-19, + 3.0027317980164947e-19, + 2.1292290711604975e-19, + 1.9418230315804835e-19, + -2.6300373012246026e-19, + 2.4362785145401814e-19, + -1.3912516158651883e-19, + 5.495126245312273e-20, + -4.89902680868206e-19, + 1.4240741425712924e-19, + 1.0524384369634682e-19, + 3.05990652195616e-19, + 1.1487884347136448e-19, + -2.369574669943905e-19, + 2.5718037861008694e-19, + 1.588186776101813e-20, + 1.895236219481497e-19, + 2.6046263128069735e-20, + -2.9857911390714087e-20, + 7.072725109573408e-20, + -2.1260526976082939e-19, + 7.517417406881916e-20, + 1.5839516113655416e-19, + -1.6030098526787634e-19, + 1.4738373282224826e-19, + 1.5183065579533334e-19, + 1.835943913173696e-19, + 4.489274620447792e-20, + 6.6280328122649e-20, + -2.0328790734103208e-19, + -1.7618285302889447e-19, + -1.0672615135404184e-19, + 2.39710324072967e-19, + 1.3277241448211158e-19, + -1.2557263443045003e-19, + -6.564505341220828e-20, + 2.6829768604279963e-19, + -7.898582233146351e-20, + 3.875175733688424e-20, + 3.6422416731934915e-20, + -8.173867941003998e-20, + -9.656175598699024e-20, + 1.2112571145736495e-19, + -2.4945120296639145e-19, + 1.8317087484374245e-19, + -8.915021769851511e-20, + 2.0455845676191353e-19, + 3.112846081159554e-20, + -1.3129010682441655e-19, + -5.463362509790237e-20, + -1.9344114932920084e-19, + 1.9862922613113343e-19, + 2.625802136488331e-20, + 8.798554739604045e-20, + -3.5469504666273827e-20, + -2.337810934421869e-19, + 8.555032767268433e-20, + -4.319868030996932e-20, + -1.6940658945086007e-21, + -1.7787691892340307e-19, + -7.199780051661553e-20, + 1.2652554649611111e-20, + 8.470329472543003e-22, + 3.2240191554866807e-20, + -5.421010862427522e-20, + 9.142661874426104e-20, + 3.134021904840911e-20, + -6.776263578034403e-21, + -1.3129010682441655e-19, + 1.2731963988416202e-20, + -2.541098841762901e-20, + -3.3034284942917713e-20, + 1.3552527156068805e-20, + 4.828087799349512e-20, + -1.1855814283600035e-19, + -1.6675961149069038e-21, + 2.3730157412921258e-20, + 8.132839782621368e-20, + 1.7800926782141156e-20, + 5.759824041329242e-20, + 1.707300784309449e-21, + 5.761147530309327e-20, + 2.2036091518412657e-20, + -7.115738501426165e-20, + -3.3947492339176256e-21, + -3.0499803546055236e-20, + 2.2016239183711385e-20, + -4.7427227601340395e-20, + 1.6808310047077522e-21, + 8.640397806483906e-20, + 1.1855152539109993e-20, + 1.5243284328127194e-20, + 2.7111671757038035e-20, + -1.6934041500185583e-20, + -3.049318610115481e-20, + -2.5404370972728586e-20, + -6.606856988583543e-20, + 3.7274412762864533e-20, + 5.591079196368425e-20, + -6.780399481097168e-21, + 1.525072895364017e-20, + 1.1852670997272334e-20, + -2.3721058426183175e-20, + -2.541098841762901e-20, + -3.2184770453825754e-20, + 5.088815128426226e-21, + 2.2027819712287127e-20, + 3.3827551150356067e-21, + 6.77771114410637e-21, + -5.077337997427053e-21, + -2.68833699079734e-24, + 5.080853515030403e-21, + 8.530300066953098e-25 + ], + "face_current_spread_relative": 1.171550794067541e-12, + "independent_physics": { + "arrays": { + "charge_balance_absolute_A_m2": 4.870712685955862e-17, + "charge_density_derivative_C_m3_s": [ + 157034.80119325194, + 141.41547121434945, + 142.51114609895987, + 143.66798832595083, + 144.88858576992334, + 146.1759133363004, + 147.53281139494172, + 148.96212992235328, + 150.46690434964287, + 152.04997244431507, + 153.71434542632196, + 155.4628606730242, + 157.29834432543518, + 159.2236845520802, + 161.24144174782109, + 163.35425303566834, + 165.5645186068674, + 167.87452835768622, + 170.2862633953546, + 172.80165327927782, + 175.42219073740384, + 178.14918598267366, + 180.9836247075041, + 183.9261458949411, + 186.9769935401028, + 190.13612000623502, + 193.40298265012223, + 196.77673895319188, + 200.25606165892165, + 203.8393162012463, + 207.52443701811973, + 211.30905799246517, + 215.19052488973117, + 219.16593244469348, + 223.23223244229064, + 227.38630990952598, + 231.62508314247304, + 235.9456286751867, + 240.3453244405664, + 244.8219927619452, + 249.37406334495432, + 254.0007443315625, + 258.7022138038941, + 263.4797869108518, + 268.33610230544434, + 273.2753023324269, + 278.30319364484285, + 283.4273940895456, + 288.6574645535612, + 294.00499404481656, + 299.48368427182754, + 305.1093645062947, + 310.8999732293014, + 316.8755183827475, + 323.05795067341757, + 329.471019113842, + 336.14006357537045, + 343.0917701912713, + 350.353856707031, + 357.9547582148459, + 365.9232353833942, + 374.28796880479524, + 383.0771392053484, + 392.31796862244687, + 402.0362650738524, + 412.25596929826594, + 422.99869508985216, + 434.2833031494134, + 446.12548050066715, + 458.53737266101325, + 471.5272361913719, + 485.09915718199306, + 499.25281538696754, + 513.9833001421001, + 529.2810207605027, + 545.1316433979497, + 561.5161427502011, + 578.4108838043696, + 595.7878131068765, + 613.6146844052624, + 631.8553744791375, + 650.4702458007898, + 669.4165423709776, + 688.6488911253541, + 708.1197348676666, + 727.7799203714304, + 747.5791449805627, + 767.466581812444, + 787.3913169068147, + 807.3029471163094, + 827.1519644246919, + 846.890313491226, + 866.4717161828879, + 885.8520890455272, + 904.9898181799884, + 923.8460765979106, + 942.3849698015913, + 960.5737549118377, + 978.3828983065541, + 995.7861832426684, + 1012.7606999941153, + 1029.2867517550108, + 1045.347981409074, + 1060.9309890192349, + 1076.0255172314967, + 1090.6240518866798, + 1104.7217652687798, + 1118.3164373811214, + 1131.4079615031608, + 1143.998512087603, + 1156.0921851460319, + 1167.6946291432744, + 1178.8132845842897, + 1189.456697222287, + 1199.634733696199, + 1209.3581942142746, + 1218.63877126819, + 1227.4888729366774, + 1235.9211553137327, + 1243.949206637939, + 1251.5864973843381, + 1258.8469954263162, + 1265.7443889125357, + 1272.2929388020798, + 1278.5061895512729, + 1284.3982426544092, + 1289.9825284601097, + -431385.97308789415, + 484279.0390687224, + -1857.4974659242985, + -1852.0120010147898, + -1846.2053471400893, + -1840.0608391297121, + -1833.561212893192, + -1826.688635540453, + -1819.4246999254065, + -1811.7504927779275, + -1803.6465883245176, + -1795.093123810059, + -1786.0698386832703, + -1776.5561371185618, + -1766.5311732322884, + -1755.973925398594, + -1744.8633042110596, + -1733.178261598304, + -1720.89791796405, + -1708.0017042879301, + -1694.4695198212669, + -1680.2819020326458, + -1665.4202162029467, + -1649.8668567457864, + -1633.6054667912103, + -1616.6211664109537, + -1598.9007973429661, + -1580.4331776422716, + -1561.2093623542978, + -1541.2229107110832, + -1520.4701570682353, + -1498.9504761909143, + -1476.6665446176874, + -1453.6245901143564, + -1429.834622396829, + -1405.310642354603, + -1380.0708212685286, + -1354.1376438030802, + -1327.5380100720722, + -1300.3032880728501, + -1272.4693132806635, + -1244.0763286543008, + -1215.1688616379522, + -1185.795535472058, + -1156.0088123113696, + -1125.8646695930786, + -1095.4222104147982, + -1064.7432121456545, + -1033.891619125143, + -1002.9329867067411, + -971.9338864735122, + -940.961283000968, + -910.0818952231315, + -879.3615548583389, + -848.8645757428476, + -818.6531482022543, + -788.7867705054082, + -759.321730865763, + -730.3106494950418, + -701.802090428774, + -673.8402490490763, + -646.4647203263515, + -619.7103489141207, + -593.6071606568306, + -568.1803727284246, + -543.4504764285244, + -519.433386644076, + -496.1406483376234, + -473.5796917576527, + -451.7541250192201, + -430.6640549518243, + -410.3064250316538, + -390.67536203634484, + -371.76252159979754, + -353.5574262042032, + -336.0477885551399, + -319.2198155097888, + -303.0584888005956, + -287.54782041351325, + -272.6710803968062, + -258.4109979048639, + -244.74993499893714, + -231.67003538068624, + -219.15334888188482, + -207.18193482662855, + -195.73794574712915, + -184.80369474444342, + -174.36170798811918, + -164.39476578845063, + -154.88593347185662, + -145.81858442847664, + -137.17641692146046, + -128.9434666987205, + -121.10411509288943, + -113.64309582871658, + -106.54549901361868, + -99.79677466611379, + -93.38273514294244, + -87.28955716653792, + -81.5037837736193, + -76.01232506544292, + -70.80246073183122, + -65.86183942017814, + -61.17848120677256, + -56.74077632142201, + -52.53748596245999, + -48.55774119330992, + -44.79104236973824, + -41.22725609958825, + -37.85661353515364, + -34.66970738393784, + -31.657486711573746, + -28.811253428919308, + -26.122657129571135, + -23.583687360030165, + -21.186670225649163, + -18.924257327062318, + -16.789422169928034, + -14.775448628850292, + -12.875925865090444, + -11.084736663471876, + -9.396049836892, + -7.804312447278588, + -6.304238188978903, + -4.89079650660739, + -3.559210906218827, + -2.304938682078236, + -1.1236778478259062, + 0.0 + ], + "contact_conduction_A_m2": [ + -2.0148150244118576e-05, + -2.014815026323426e-05 + ], + "contact_displacement_A_m2": [ + -2.3017929569828762e-05, + -2.301792955076181e-05 + ], + "contact_maxwell_A_m2": [ + -4.3166079813947335e-05, + -4.316607981399607e-05 + ], + "electron_rate_m3_s": [ + 0.0, + 1.3538364602344197e+21, + 1.3479763677482792e+21, + 1.3417913621094138e+21, + 1.3352668551054924e+21, + 1.3283880345415852e+21, + 1.3211399214286706e+21, + 1.3135074364171632e+21, + 1.3054754758469306e+21, + 1.297028998483069e+21, + 1.2881531231451687e+21, + 1.2788332378428363e+21, + 1.269055121149485e+21, + 1.258805075412172e+21, + 1.2480700727219226e+21, + 1.2368379129294537e+21, + 1.225097393781089e+21, + 1.2128384922339275e+21, + 1.2000525565554605e+21, + 1.1867325071963975e+21, + 1.172873045613043e+21, + 1.1584708681869265e+21, + 1.1435248831986184e+21, + 1.12803642753484e+21, + 1.1120094797507206e+21, + 1.0954508655384136e+21, + 1.0783704510148805e+21, + 1.0607813190834466e+21, + 1.0426999238765317e+21, + 1.0241462176339049e+21, + 1.0051437447170231e+21, + 9.857196973916916e+20, + 9.659049278946188e+20, + 9.45733912392706e+20, + 9.252446623226682e+20, + 9.044785799304944e+20, + 8.834802558268556e+20, + 8.622972073426036e+20, + 8.40979558228157e+20, + 8.195796617386002e+20, + 7.981516705555135e+20, + 7.767510591144789e+20, + 7.554341051128113e+20, + 7.342573389753255e+20, + 7.132769708493368e+20, + 6.925483063810603e+20, + 6.721251628661351e+20, + 6.520592977847536e+20, + 6.32399862127438e+20, + 6.131928898256959e+20, + 5.944808343721078e+20, + 5.7630216208331375e+20, + 5.5869101016566825e+20, + 5.416769157454515e+20, + 5.2528462029709613e+20, + 5.095339516068295e+20, + 4.944397835274075e+20, + 4.800120718400613e+20, + 4.662559624553416e+20, + 4.531719671388446e+20, + 4.4075619986925643e+20, + 4.290006666339897e+20, + 4.178936001174037e+20, + 4.074198304491485e+20, + 3.9756118303830934e+20, + 3.8829689431149255e+20, + 3.7960403646379196e+20, + 3.714579428722928e+20, + 3.6383262605668824e+20, + 3.567011811694013e+20, + 3.500361684486376e+20, + 3.438099692038878e+20, + 3.3799511082379916e+20, + 3.32564557229949e+20, + 3.274919624264147e+20, + 3.227518856445298e+20, + 3.183199677552075e+20, + 3.1417306952260184e+20, + 3.1028937304966136e+20, + 3.0664844874882535e+20, + 3.032312905005252e+20, + 3.0002032243675654e+20, + 2.969993809444314e+20, + 2.9415367560299214e+20, + 2.9146973318900194e+20, + 2.8893532816757817e+20, + 2.8653940356848167e+20, + 2.8427198540303106e+20, + 2.821240935217281e+20, + 2.8008765165540744e+20, + 2.7815539857359303e+20, + 2.7632080232196846e+20, + 2.74577978747707e+20, + 2.7292161526954695e+20, + 2.713469007380661e+20, + 2.6984946161517252e+20, + 2.6842530442160865e+20, + 2.670707648991295e+20, + 2.6578246315685462e+20, + 2.6455726437361667e+20, + 2.6339224579472137e+20, + 2.6228466724980638e+20, + 2.6123194772548374e+20, + 2.602316443746825e+20, + 2.5928143621492428e+20, + 2.5837910993873856e+20, + 2.5752254856768464e+20, + 2.5670972289721605e+20, + 2.5593868301857033e+20, + 2.5520755393565055e+20, + 2.5451452949527593e+20, + 2.538578696070528e+20, + 2.5323589716129576e+20, + 2.526469951980424e+20, + 2.5208960587480498e+20, + 2.5156222819881638e+20, + 2.5106341659542602e+20, + 2.5059178085519724e+20, + 2.501459835314757e+20, + 2.4972473956215462e+20, + 2.4932681617254e+20, + 2.4895102961606178e+20, + 2.4859624716826254e+20, + 2.482613822757781e+20, + 2.4794539743203335e+20, + 2.4764729981763122e+20, + 2.473661411668482e+20, + 4.5407962570121886e+22, + -2.993853329974974e+24, + 1.1750868433748435e+22, + 1.1717084347528552e+22, + 1.168132493061574e+22, + 1.164348807555984e+22, + 1.160346806179022e+22, + 1.1561155750349249e+22, + 1.1516438560913832e+22, + 1.146920090261105e+22, + 1.1419324147772332e+22, + 1.1366687110814098e+22, + 1.1311166305199054e+22, + 1.1252636345320362e+22, + 1.1190970489895064e+22, + 1.1126041119955274e+22, + 1.1057720425757113e+22, + 1.098588110274442e+22, + 1.0910397160490292e+22, + 1.0831144825752117e+22, + 1.0748003543634258e+22, + 1.0660857056358855e+22, + 1.0569594604987276e+22, + 1.0474112205487585e+22, + 1.0374314039114505e+22, + 1.0270113897873116e+22, + 1.0161436733158095e+22, + 1.0048220266786273e+22, + 9.930416640189283e+21, + 9.807994104312827e+21, + 9.680938732522857e+21, + 9.549256098254678e+21, + 9.412972927165084e+21, + 9.272138673797855e+21, + 9.126826979940801e+21, + 8.977136996405162e+21, + 8.823194514796046e+21, + 8.665152869697933e+21, + 8.503193580869724e+21, + 8.337526680547775e+21, + 8.168390704441568e+21, + 7.996052303403628e+21, + 7.820805453134308e+21, + 7.642970243806106e+21, + 7.462891232768294e+21, + 7.28093536770342e+21, + 7.097489483751555e+21, + 6.912957399499611e+21, + 6.727756647054601e+21, + 6.542314880411245e+21, + 6.357066022423624e+21, + 6.172446214644192e+21, + 5.988889651038565e+21, + 5.806824373709185e+21, + 5.626668117756819e+21, + 5.448824294679917e+21, + 5.273678191911182e+21, + 5.101593474936652e+21, + 4.932909055331446e+21, + 4.767936389475369e+21, + 4.6069572503962434e+21, + 4.4502220096209803e+21, + 4.297948442831433e+21, + 4.15032106333299e+21, + 4.007490972853107e+21, + 3.869576199886145e+21, + 3.7366624943526306e+21, + 3.608804525334382e+21, + 3.4860274346370385e+21, + 3.368328680456079e+21, + 3.2556801163994443e+21, + 3.1480302383235654e+21, + 3.045306545554556e+21, + 2.947417954231606e+21, + 2.854257217704761e+21, + 2.765703305171966e+21, + 2.6816237014646333e+21, + 2.6018765963940767e+21, + 2.5263129408192764e+21, + 2.4547783469970086e+21, + 2.3871148268537585e+21, + 2.3231623566875104e+21, + 2.2627602710685247e+21, + 2.2057484837393636e+21, + 2.1519685456743278e+21, + 2.1012645442891298e+21, + 2.0534838576254104e+21, + 2.0084777705317962e+21, + 1.966101969747241e+21, + 1.9262169260791693e+21, + 1.8886881777969652e+21, + 1.853386526680624e+21, + 1.8201881604446736e+21, + 1.788974705951913e+21, + 1.7596332322349738e+21, + 1.732056203010012e+21, + 1.7061413939702596e+21, + 1.6817917778889558e+21, + 1.6589153856827194e+21, + 1.637425149344161e+21, + 1.617238727494445e+21, + 1.5982783282517513e+21, + 1.580470515037322e+21, + 1.5637460215670002e+21, + 1.5480395534176066e+21, + 1.533289599820694e+21, + 1.51943824328232e+21, + 1.506430976767242e+21, + 1.4942165196429195e+21, + 1.48274664621153e+21, + 1.471976018440835e+21, + 1.461862020017776e+21, + 1.4523646057147033e+21, + 1.443446153949659e+21, + 1.435071320279722e+21, + 1.427206913879057e+21, + 1.4198217578139094e+21, + 1.4128865816476752e+21, + 1.4063738964405531e+21, + 1.4002578979058966e+21, + 1.3945143554236458e+21, + 1.3891205209595005e+21, + 1.3840550431073724e+21, + 1.37929787532157e+21, + 1.3748301906390378e+21, + 1.370634331623081e+21, + 1.3666937058492972e+21, + 1.3629927691669393e+21, + 0.0 + ], + "face_capacitance_F_m2": [ + 0.75017404571579, + 0.7064109946762256, + 0.6653014944568102, + 0.6266849087920617, + 0.590410342534266, + 0.5563360520275734, + 0.5243288912413053, + 0.49426379149910127, + 0.4660232727703924, + 0.4394969846145307, + 0.4145812749841298, + 0.39117878520229893, + 0.369198069531688, + 0.34855323784813197, + 0.3291636200232019, + 0.31095345070385594, + 0.2938515732577741, + 0.27779116172718027, + 0.26270945970500414, + 0.24854753511284186, + 0.23525004992259865, + 0.22276504392192767, + 0.21104373167855206, + 0.20004031191017313, + 0.18971178851491888, + 0.18001780256316943, + 0.17092047459416174, + 0.16238425660115646, + 0.15437579312684066, + 0.14686379092615495, + 0.13981889668725767, + 0.13321358233280742, + 0.12702203745343213, + 0.12122006845295585, + 0.11578500401143077, + 0.11069560649643802, + 0.10593198897658829, + 0.10147553751290392, + 0.09730883842444564, + 0.09341561024397625, + 0.08978064009777696, + 0.086389724261008, + 0.08322961265634855, + 0.08028795707902932, + 0.07755326294595627, + 0.07501484438037558, + 0.07266278245657996, + 0.0704878864414875, + 0.06848165788165626, + 0.06663625739539021, + 0.06494447404018784, + 0.06339969713582182, + 0.0619958904329705, + 0.06072756852643374, + 0.059589775420800864, + 0.05857806516478559, + 0.057688484478576295, + 0.056917557306310415, + 0.05626227123330822, + 0.05572006571500012, + 0.05528882207153989, + 0.05496685520901951, + 0.054752907034926586, + 0.0546461415421221, + 0.0546461415421221, + 0.054752907034926586, + 0.05496685520901951, + 0.05528882207153989, + 0.05572006571500012, + 0.05626227123330846, + 0.05691755730631017, + 0.057688484478576295, + 0.05857806516478559, + 0.059589775420800864, + 0.06072756852643374, + 0.0619958904329705, + 0.06339969713582182, + 0.06494447404018752, + 0.06663625739539088, + 0.06848165788165556, + 0.0704878864414875, + 0.07266278245658016, + 0.07501484438037621, + 0.07755326294595559, + 0.08028795707902908, + 0.08322961265634855, + 0.08638972426100855, + 0.08978064009777666, + 0.09341561024397593, + 0.09730883842444671, + 0.10147553751290353, + 0.10593198897658912, + 0.11069560649643802, + 0.11578500401143002, + 0.12122006845295667, + 0.12702203745343182, + 0.13321358233280645, + 0.13981889668725767, + 0.14686379092615656, + 0.15437579312684066, + 0.162384256601154, + 0.17092047459416146, + 0.18001780256316613, + 0.18971178851492493, + 0.20004031191017202, + 0.2110437316785508, + 0.2227650439219323, + 0.2352500499225909, + 0.24854753511284822, + 0.2627094597050022, + 0.2777911617271727, + 0.293851573257779, + 0.3109534507038613, + 0.32916362002319277, + 0.3485532378481382, + 0.3691980695316899, + 0.3911787852022882, + 0.41458127498413294, + 0.4394969846145519, + 0.4660232727703929, + 0.49426379149909444, + 0.5243288912412835, + 0.5563360520275673, + 0.5904103425342505, + 0.6266849087921119, + 0.6653014944567798, + 0.7064109946762493, + 0.3750870228578949, + 0.7064109946762493, + 0.6653014944567798, + 0.6266849087920532, + 0.5904103425343027, + 0.5563360520275673, + 0.5243288912412835, + 0.49426379149909444, + 0.4660232727703929, + 0.4394969846145519, + 0.41458127498413294, + 0.3911787852022882, + 0.3691980695316899, + 0.3485532378481382, + 0.32916362002319277, + 0.3109534507038613, + 0.29385157325776606, + 0.2777911617271842, + 0.2627094597050022, + 0.24854753511284822, + 0.23525004992259918, + 0.2227650439219249, + 0.2110437316785508, + 0.20004031191017202, + 0.18971178851491954, + 0.18001780256317096, + 0.17092047459416146, + 0.162384256601154, + 0.15437579312684066, + 0.14686379092615656, + 0.13981889668725767, + 0.13321358233280645, + 0.12702203745343424, + 0.12122006845295448, + 0.11578500401143002, + 0.11069560649643802, + 0.10593198897658912, + 0.10147553751290353, + 0.09730883842444671, + 0.09341561024397593, + 0.08978064009777666, + 0.08638972426100744, + 0.0832296126563496, + 0.08028795707902908, + 0.07755326294595559, + 0.07501484438037537, + 0.07266278245658095, + 0.0704878864414875, + 0.06848165788165626, + 0.06663625739538954, + 0.06494447404018752, + 0.06339969713582243, + 0.0619958904329705, + 0.060727568526433184, + 0.0595897754208014, + 0.05857806516478559, + 0.057688484478576295, + 0.05691755730631017, + 0.05626227123330846, + 0.055720065715000586, + 0.05528882207153898, + 0.05496685520901974, + 0.05475290703492636, + 0.054646141542122544, + 0.054646141542122544, + 0.05475290703492636, + 0.05496685520901974, + 0.05528882207153898, + 0.055720065715000586, + 0.05626227123330846, + 0.05691755730631017, + 0.057688484478576295, + 0.05857806516478559, + 0.0595897754208014, + 0.060727568526433184, + 0.0619958904329705, + 0.06339969713582243, + 0.06494447404018626, + 0.06663625739539221, + 0.06848165788165486, + 0.0704878864414875, + 0.07266278245658095, + 0.07501484438037537, + 0.07755326294595559, + 0.08028795707902908, + 0.0832296126563496, + 0.08638972426100744, + 0.08978064009777786, + 0.09341561024397463, + 0.0973088384244453, + 0.10147553751290507, + 0.10593198897658912, + 0.11069560649643802, + 0.11578500401143203, + 0.12122006845295227, + 0.12702203745343424, + 0.13321358233280645, + 0.13981889668725472, + 0.14686379092615978, + 0.15437579312684066, + 0.16238425660115793, + 0.1709204745941571, + 0.18001780256316613, + 0.18971178851492493, + 0.200040311910178, + 0.21104373167854415, + 0.22276504392193971, + 0.23525004992257434, + 0.24854753511284822, + 0.26270945970502285, + 0.2777911617271612, + 0.2938515732577919, + 0.3109534507038469, + 0.32916362002319277, + 0.34855323784812003, + 0.36919806953171025, + 0.3911787852023111, + 0.41458127498413294, + 0.4394969846145519, + 0.46602327277036043, + 0.49426379149913097, + 0.5243288912412013, + 0.5563360520276136, + 0.5904103425343027, + 0.6266849087920532, + 0.6653014944567798, + 0.7064109946763238, + 0.7501740457157058 + ], + "hole_rate_m3_s": [ + 0.0, + 1.3608314010331536e+21, + 1.3622914810245703e+21, + 1.363839868229358e+21, + 1.3654815434732237e+21, + 1.3672217266418318e+21, + 1.369065883593066e+21, + 1.3710197329575302e+21, + 1.3730892526281234e+21, + 1.375280685964379e+21, + 1.3776005479916299e+21, + 1.3800556311548152e+21, + 1.382653010894666e+21, + 1.3854000516063156e+21, + 1.3883044120383513e+21, + 1.391374051502964e+21, + 1.394617236201793e+21, + 1.3980425467898296e+21, + 1.4016588867792205e+21, + 1.405475493114881e+21, + 1.4095019489959784e+21, + 1.4137481999165384e+21, + 1.4182245740005884e+21, + 1.422941807650845e+21, + 1.4279110777903765e+21, + 1.4331440422498625e+21, + 1.438652890150475e+21, + 1.4444504042177697e+21, + 1.450550036993117e+21, + 1.4569660036228807e+21, + 1.463713393764285e+21, + 1.4708083048589982e+21, + 1.4782680002432218e+21, + 1.486111094153075e+21, + 1.494357766614245e+21, + 1.503030010389255e+21, + 1.5121519118558332e+21, + 1.5217499671348883e+21, + 1.5318534337899882e+21, + 1.542494717360265e+21, + 1.553709790907429e+21, + 1.5655386436407919e+21, + 1.5780257536096285e+21, + 1.5912205764751277e+21, + 1.6051780414304234e+21, + 1.6199590417151775e+21, + 1.6356309060318134e+21, + 1.6522678346688616e+21, + 1.6699512815938985e+21, + 1.6887702635363579e+21, + 1.7088215746327934e+21, + 1.730209885732799e+21, + 1.7530477070324948e+21, + 1.7774551943761987e+21, + 1.8035597805336988e+21, + 1.8314956164017218e+21, + 1.861402809722192e+21, + 1.8934264534324717e+21, + 1.9277154409831785e+21, + 1.9644210697672207e+21, + 2.0036954417407045e+21, + 2.045689673461868e+21, + 2.0905519355440928e+21, + 2.1384253464553665e+21, + 2.1894457505845336e+21, + 2.2437394160482606e+21, + 2.3014206923528159e+21, + 2.3625896707635555e+21, + 2.4273298950174734e+21, + 2.4957061703208754e+21, + 2.5677625214418446e+21, + 2.6435203496040145e+21, + 2.7229768366293023e+21, + 2.8061036429659587e+21, + 2.892845940241538e+21, + 2.9831218150997104e+21, + 3.0768220719995657e+21, + 3.173810454484078e+21, + 3.273924295560553e+21, + 3.3769755944926356e+21, + 3.4827525092761236e+21, + 3.591021239697249e+21, + 3.701528266977876e+21, + 3.814002906634267e+21, + 3.9281601187645757e+21, + 4.043703520342437e+21, + 4.1603285314548966e+21, + 4.2777255904144964e+21, + 4.395583372448857e+21, + 4.5135919437012255e+21, + 4.6314457948041626e+21, + 4.748846695147452e+21, + 4.865506323669289e+21, + 4.981148638186022e+21, + 5.095511950617933e+21, + 5.208350689760118e+21, + 5.319436845412582e+21, + 5.428561079792464e+21, + 5.535533523850794e+21, + 5.640184270462475e+21, + 5.742363561469934e+21, + 5.841941737063482e+21, + 5.938808912023235e+21, + 6.032874472869649e+21, + 6.124066366613021e+21, + 6.212330258487139e+21, + 6.297628561332216e+21, + 6.379939356754266e+21, + 6.459255291905777e+21, + 6.535582369146133e+21, + 6.608938788178148e+21, + 6.679353728924124e+21, + 6.746866175277312e+21, + 6.811523781547688e+21, + 6.873381740362034e+21, + 6.932501744602561e+21, + 6.988950991808482e+21, + 7.042801216967944e+21, + 7.094127861327537e+21, + 7.143009253929163e+21, + 7.189525849005928e+21, + 7.233759621250937e+21, + 7.275793378727186e+21, + 7.315710332410837e+21, + 7.353593501149313e+21, + 7.389525386610394e+21, + 7.423587576082803e+21, + -1.897443973346369e+24, + 2.8778686943595174e+22, + 1.572811443940544e+20, + 1.577346371845072e+20, + 1.582175031228902e+20, + 1.58731650571856e+20, + 1.592791129380782e+20, + 1.598620554091619e+20, + 1.6048278603135703e+20, + 1.6114376127885463e+20, + 1.6184759962466016e+20, + 1.625970890514955e+20, + 1.6339519943675157e+20, + 1.6424509420589987e+20, + 1.6515014184791658e+20, + 1.661139300634633e+20, + 1.6714027883019203e+20, + 1.6823325532047432e+20, + 1.6939718929703954e+20, + 1.7063668924455138e+20, + 1.719566592726482e+20, + 1.7336231716990566e+20, + 1.7485921276617916e+20, + 1.7645324745670233e+20, + 1.7815069404845477e+20, + 1.7995821775380496e+20, + 1.8188289737942172e+20, + 1.8393224695317574e+20, + 1.8611423792183168e+20, + 1.884373213427709e+20, + 1.909104497346857e+20, + 1.9354309894180333e+20, + 1.963452889811696e+20, + 1.9932760373979313e+20, + 2.025012092728151e+20, + 2.0587786971262324e+20, + 2.0946996045000756e+20, + 2.132904778320918e+20, + 2.173530443133009e+20, + 2.216719084899134e+20, + 2.2626193862745044e+20, + 2.311386087859795e+20, + 2.363179762188738e+20, + 2.4181664870219556e+20, + 2.476517405702721e+20, + 2.5384081582345195e+20, + 2.60401817081725e+20, + 2.673529789220079e+20, + 2.7471272427608916e+20, + 2.8249954280508405e+20, + 2.9073185022328e+20, + 2.99427828077408e+20, + 3.086052435009404e+20, + 3.182812493289369e+20, + 3.2847216526955e+20, + 3.3919324133967384e+20, + 3.5045840598707746e+20, + 3.622800013027386e+20, + 3.746685093328087e+20, + 3.876322735886429e+20, + 4.011772212195329e+20, + 4.1530659138531806e+20, + 4.300206765467036e+20, + 4.453165834284944e+20, + 4.6118802053814596e+20, + 4.776251197374848e+20, + 4.946142980357441e+20, + 5.121381665262595e+20, + 5.301754910513181e+20, + 5.4870120972353405e+20, + 5.676865093735643e+20, + 5.870989631789434e+20, + 6.069027282364664e+20, + 6.270588021220543e+20, + 6.47525333708235e+20, + 6.682579834525888e+20, + 6.892103262125957e+20, + 7.103342884527935e+20, + 7.315806103669193e+20, + 7.528993243573226e+20, + 7.742402384900896e+20, + 7.955534164179624e+20, + 8.167896429593254e+20, + 8.37900867994614e+20, + 8.588406193895874e+20, + 8.795643796921146e+20, + 9.0002991988409e+20, + 9.201975878854726e+20, + 9.400305472847747e+20, + 9.594949668082503e+20, + 9.785601598616053e+20, + 9.971986756633154e+20, + 1.0153863429521804e+21, + 1.033102272645103e+21, + 1.0503288183702251e+21, + 1.0670515040735608e+21, + 1.0832589192897943e+21, + 1.0989425890963145e+21, + 1.1140968225221115e+21, + 1.1287185433182281e+21, + 1.1428071108276217e+21, + 1.156364127099875e+21, + 1.1693932466356026e+21, + 1.181899975953202e+21, + 1.1938914831155027e+21, + 1.205376404436645e+21, + 1.216364660988959e+21, + 1.2268672793619642e+21, + 1.2368962265822216e+21, + 1.2464642493035145e+21, + 1.2555847251950877e+21, + 1.2642715294328674e+21, + 1.2725389059915147e+21, + 1.2804013524264136e+21, + 1.287873521612848e+21, + 1.2949701194080602e+21, + 1.3017058339796193e+21, + 1.3080952508191167e+21, + 1.3141527997443552e+21, + 1.3198926897768505e+21, + 1.3253288709505782e+21, + 1.3304749906384535e+21, + 1.335344356147756e+21, + 1.339949915457496e+21, + 1.3443042398617068e+21, + 1.3484194844539966e+21, + 1.3523074101490302e+21, + 1.3559793236829633e+21, + 0.0 + ], + "interface_maxwell_A_m2": [ + [ + -4.316607981394749e-05, + -4.3166079813996103e-05 + ] + ], + "internal_conduction_A_m2": [ + -2.9415437159141225e-05, + -2.9432645223441277e-05, + -2.945105950210121e-05, + -2.9470768700114634e-05, + -2.9491868303048853e-05, + -2.951446114025203e-05, + -2.953865791174742e-05, + -2.9564577767179314e-05, + -2.959234895126927e-05, + -2.9622109418507433e-05, + -2.9654007548166564e-05, + -2.9688202826999375e-05, + -2.9724866591903944e-05, + -2.9764182820662565e-05, + -2.9806348853681828e-05, + -2.9851576228389964e-05, + -2.9900091447191052e-05, + -2.9952136779294576e-05, + -3.0007970994045245e-05, + -3.0067870152218873e-05, + -3.0132128236841904e-05, + -3.020105781172597e-05, + -3.027499055982133e-05, + -3.0354277716549967e-05, + -3.043929036176224e-05, + -3.053041961211827e-05, + -3.0628076548424174e-05, + -3.073269203043702e-05, + -3.0844716187435e-05, + -3.096461773577116e-05, + -3.109288293528313e-05, + -3.123001429509976e-05, + -3.137652894030576e-05, + -3.153295662930459e-05, + -3.169983745425694e-05, + -3.187771919723014e-05, + -3.2067154358069664e-05, + -3.226869688302809e-05, + -3.248289863087606e-05, + -3.271030560921613e-05, + -3.29514540420622e-05, + -3.320686633212398e-05, + -3.347704700527797e-05, + -3.376247868998763e-05, + -3.4063618233946556e-05, + -3.438089304124278e-05, + -3.471469769901648e-05, + -3.5065390965416295e-05, + -3.543329318357329e-05, + -3.581868413627825e-05, + -3.622180139943004e-05, + -3.6642839147600764e-05, + -3.708194738932425e-05, + -3.7539231608456705e-05, + -3.8014752676214275e-05, + -3.850852697557297e-05, + -3.902052660193683e-05, + -3.955067953085155e-05, + -4.0098869589151414e-05, + -4.066493617611936e-05, + -4.124867357111557e-05, + -4.1849829777418806e-05, + -4.2468104875070665e-05, + -4.3103148841499954e-05, + -4.3754558895303154e-05, + -4.442187644603015e-05, + -4.5104583746329514e-05, + -4.580210043065098e-05, + -4.651378009634927e-05, + -4.7238907167809185e-05, + -4.79766942312291e-05, + -4.872628008941136e-05, + -4.948672873162421e-05, + -5.025702939294594e-05, + -5.103609790251584e-05, + -5.18227793702035e-05, + -5.2615852343421615e-05, + -5.3414034386862e-05, + -5.421598910176674e-05, + -5.5020334444896e-05, + -5.582565224322426e-05, + -5.6630498704620655e-05, + -5.7433415684866876e-05, + -5.823294254427099e-05, + -5.902762820972659e-05, + -5.9816043333349615e-05, + -6.0596792108773064e-05, + -6.136852369453065e-05, + -6.212994282353616e-05, + -6.287981958802793e-05, + -6.361699804959383e-05, + -6.434040374734815e-05, + -6.504904983477141e-05, + -6.574204192245938e-05, + -6.641858153225967e-05, + -6.707796825874973e-05, + -6.77196005962734e-05, + -6.83429756019011e-05, + -6.894768741056113e-05, + -6.953342478158272e-05, + -7.009996775020832e-05, + -7.064718349449356e-05, + -7.117502168932972e-05, + -7.168350921766279e-05, + -7.217274467815341e-05, + -7.264289251772894e-05, + -7.309417708073333e-05, + -7.35268766532256e-05, + -7.394131742738212e-05, + -7.433786772956689e-05, + -7.471693235903237e-05, + -7.507894710518714e-05, + -7.542437367912012e-05, + -7.575369478796588e-05, + -7.606740965707007e-05, + -7.636602982497159e-05, + -7.66500753157552e-05, + -7.69200711468658e-05, + -7.717654410748195e-05, + -7.742002004512894e-05, + -7.765102126877744e-05, + -7.787006440510564e-05, + -7.80776584139265e-05, + -7.827430303604683e-05, + -7.84604872879334e-05, + -7.863668839986893e-05, + -7.880337078504188e-05, + -8.524961014369391e-07, + -8.836108957541842e-05, + -8.812107693862513e-05, + -8.78670073182694e-05, + -8.759815108261292e-05, + -8.73137526886945e-05, + -8.701303136933714e-05, + -8.669518209196063e-05, + -8.635937682968157e-05, + -8.6004766169007e-05, + -8.5630481305912e-05, + -8.523563645593425e-05, + -8.481933172653965e-05, + -8.438065648996303e-05, + -8.391869329382287e-05, + -8.343252235412667e-05, + -8.292122666291161e-05, + -8.238389774766789e-05, + -8.181964211130741e-05, + -8.122758837626233e-05, + -8.060689514846645e-05, + -7.99567596086736e-05, + -7.92764268243322e-05, + -7.856519976405928e-05, + -7.782244997791859e-05, + -7.704762889184668e-05, + -7.624027964011333e-05, + -7.540004933876924e-05, + -7.452670167944613e-05, + -7.362012969534968e-05, + -7.268036852384332e-05, + -7.170760796615257e-05, + -7.070220461494515e-05, + -6.966469329752883e-05, + -6.859579756181691e-05, + -6.749643891273956e-05, + -6.636774449653022e-05, + -6.52110529256555e-05, + -6.40279179395519e-05, + -6.282010961183424e-05, + -6.158961283672303e-05, + -6.0338622864431985e-05, + -5.906953770197573e-05, + -5.778494725433922e-05, + -5.6487619151407745e-05, + -5.518048128333855e-05, + -5.3866601153986314e-05, + -5.2549162251709926e-05, + -5.1231437727944926e-05, + -4.991676176299439e-05, + -4.8608499080062846e-05, + -4.731001314092544e-05, + -4.602463361295403e-05, + -4.4755623738032775e-05, + -4.3506148253534123e-05, + -4.227924251305778e-05, + -4.1077783432328566e-05, + -3.9904462838300187e-05, + -3.876176373606516e-05, + -3.765193992470645e-05, + -3.657699929894547e-05, + -3.553869106792949e-05, + -3.453849701488433e-05, + -3.357762681276743e-05, + -3.2657017307301665e-05, + -3.177733558555727e-05, + -3.093898556415636e-05, + -3.0142117765012586e-05, + -2.9386641892320116e-05, + -2.86722417905485e-05, + -2.7998392341278368e-05, + -2.7364377853370985e-05, + -2.6769311507322884e-05, + -2.621215543598012e-05, + -2.569174105066076e-05, + -2.5206789258345232e-05, + -2.4755930255509565e-05, + -2.4337722627254368e-05, + -2.3950671524045862e-05, + -2.3593245733403694e-05, + -2.3263893504552116e-05, + -2.2961057025277986e-05, + -2.2683185485739133e-05, + -2.2428746698401376e-05, + -2.2196237271476774e-05, + -2.1984191359829236e-05, + -2.1791188037927834e-05, + -2.1615857358273622e-05, + -2.1456885171646724e-05, + -2.1313016797237792e-05, + -2.118305963777984e-05, + -2.1065884839559014e-05, + -2.0960428098769622e-05, + -2.0865689716839232e-05, + -2.0780734003345044e-05, + -2.0704688123412794e-05, + -2.0636740480084168e-05, + -2.0576138717077844e-05, + -2.052218742042019e-05, + -2.047424559029717e-05, + -2.043172394792404e-05, + -2.0394082133161988e-05, + -2.0360825844302775e-05, + -2.0331503960958826e-05, + -2.030570568815984e-05, + -2.0283057750514188e-05, + -2.0263221661732527e-05, + -2.0245891088527097e-05, + -2.0230789324604946e-05, + -2.021766688486535e-05, + -2.0206299227552187e-05, + -2.019648460930375e-05, + -2.018804207417727e-05, + -2.018080957682617e-05, + -2.017464223839779e-05, + -2.016941073043735e-05, + -2.016499978431704e-05, + -2.0161306818871422e-05, + -2.0158240682299536e-05, + -2.015572050052174e-05, + -2.0153674626953722e-05, + -2.0152039686223955e-05, + -2.0150759705430666e-05, + -2.014978532720485e-05, + -2.0149073098123637e-05, + -2.0148584825173346e-05, + -2.0148286997358835e-05, + -2.014815026323426e-05 + ], + "internal_displacement_A_m2": [ + -1.3750642654806113e-05, + -1.3733434590506062e-05, + -1.3715020311846131e-05, + -1.3695311113832703e-05, + -1.3674211510898482e-05, + -1.3651618673695302e-05, + -1.3627421902199914e-05, + -1.3601502046768024e-05, + -1.3573730862678063e-05, + -1.3543970395439905e-05, + -1.3512072265780772e-05, + -1.347787698694796e-05, + -1.3441213222043392e-05, + -1.3401896993284773e-05, + -1.3359730960265508e-05, + -1.3314503585557369e-05, + -1.3265988366756286e-05, + -1.3213943034652763e-05, + -1.315810881990209e-05, + -1.3098209661728465e-05, + -1.3033951577105434e-05, + -1.2965022002221365e-05, + -1.2891089254126006e-05, + -1.2811802097397368e-05, + -1.2726789452185101e-05, + -1.2635660201829066e-05, + -1.2538003265523166e-05, + -1.2433387783510316e-05, + -1.2321363626512342e-05, + -1.2201462078176175e-05, + -1.207319687866421e-05, + -1.1936065518847575e-05, + -1.178955087364158e-05, + -1.1633123184642747e-05, + -1.1466242359690397e-05, + -1.1288360616717197e-05, + -1.1098925455877675e-05, + -1.089738293091925e-05, + -1.0683181183071278e-05, + -1.0455774204731207e-05, + -1.0214625771885138e-05, + -9.959213481823359e-06, + -9.689032808669372e-06, + -9.403601123959703e-06, + -9.102461580000779e-06, + -8.785186772704556e-06, + -8.451382114930854e-06, + -8.10068884853104e-06, + -7.732786630374049e-06, + -7.347395677669091e-06, + -6.9442784145172995e-06, + -6.5232406663465716e-06, + -6.084132424623087e-06, + -5.626848205490628e-06, + -5.1513271377330644e-06, + -4.657552838374364e-06, + -4.145553212010508e-06, + -3.615400283095788e-06, + -3.067210224795928e-06, + -2.501143637827974e-06, + -1.9174062428317635e-06, + -1.3162500365285342e-06, + -6.979749388766768e-07, + -6.293097244738584e-08, + 5.884790813558108e-07, + 1.2557966320828106e-06, + 1.9385039323821758e-06, + 2.6360206167036397e-06, + 3.347700282401935e-06, + 4.072827353861847e-06, + 4.810614417281758e-06, + 5.560200275464023e-06, + 6.32064891767687e-06, + 7.090949578998601e-06, + 7.870018088568506e-06, + 8.65669955625616e-06, + 9.449772529474277e-06, + 1.0247954572914663e-05, + 1.1049909287819402e-05, + 1.1854254630948663e-05, + 1.2659572429276924e-05, + 1.3464418890673313e-05, + 1.4267335870919531e-05, + 1.5066862730323648e-05, + 1.586154839577925e-05, + 1.6649963519402274e-05, + 1.7430712294825726e-05, + 1.8202443880583307e-05, + 1.8963863009588825e-05, + 1.9713739774080592e-05, + 2.045091823564648e-05, + 2.1174323933400795e-05, + 2.1882970020824056e-05, + 2.2575962108512037e-05, + 2.3252501718312326e-05, + 2.3911888444802386e-05, + 2.4553520782326053e-05, + 2.5176895787953743e-05, + 2.5781607596613782e-05, + 2.6367344967635366e-05, + 2.6933887936260974e-05, + 2.7481103680546204e-05, + 2.8008941875382358e-05, + 2.8517429403715427e-05, + 2.9006664864206052e-05, + 2.9476812703781588e-05, + 2.992809726678598e-05, + 3.0360796839278247e-05, + 3.077523761343476e-05, + 3.117178791561954e-05, + 3.1550852545085006e-05, + 3.191286729123978e-05, + 3.225829386517276e-05, + 3.258761497401852e-05, + 3.290132984312272e-05, + 3.319995001102424e-05, + 3.348399550180784e-05, + 3.375399133291844e-05, + 3.401046429353459e-05, + 3.425394023118158e-05, + 3.448494145483009e-05, + 3.4703984591158275e-05, + 3.4911578599979145e-05, + 3.510822322209947e-05, + 3.529440747398605e-05, + 3.547060858592158e-05, + 3.5637290971094534e-05, + -4.231358371251055e-05, + 4.5195009761422346e-05, + 4.495499712462906e-05, + 4.4700927504273325e-05, + 4.4432071268616846e-05, + 4.414767287469843e-05, + 4.384695155534107e-05, + 4.352910227796456e-05, + 4.31932970156855e-05, + 4.2838686355010924e-05, + 4.246440149191592e-05, + 4.2069556641938184e-05, + 4.1653251912543576e-05, + 4.121457667596695e-05, + 4.07526134798268e-05, + 4.026644254013058e-05, + 3.975514684891554e-05, + 3.92178179336718e-05, + 3.8653562297311344e-05, + 3.806150856226625e-05, + 3.7440815334470383e-05, + 3.679067979467752e-05, + 3.611034701033612e-05, + 3.5399119950063206e-05, + 3.4656370163922505e-05, + 3.3881549077850607e-05, + 3.307419982611726e-05, + 3.223396952477317e-05, + 3.1360621865450056e-05, + 3.0454049881353598e-05, + 2.9514288709847247e-05, + 2.854152815215649e-05, + 2.753612480094906e-05, + 2.649861348353276e-05, + 2.542971774782084e-05, + 2.433035909874348e-05, + 2.3201664682534145e-05, + 2.204497311165942e-05, + 2.086183812555582e-05, + 1.9654029797838176e-05, + 1.8423533022726955e-05, + 1.7172543050435912e-05, + 1.5903457887979655e-05, + 1.4618867440343149e-05, + 1.3321539337411673e-05, + 1.2014401469342478e-05, + 1.0700521339990244e-05, + 9.383082437713856e-06, + 8.065357913948856e-06, + 6.750681948998324e-06, + 5.442419266066777e-06, + 4.143933326929371e-06, + 2.8585537989579607e-06, + 1.5895439240367056e-06, + 3.4006843953805386e-07, + -8.868373009382913e-07, + -2.0882963816675004e-06, + -3.2616169756958864e-06, + -4.404316077930912e-06, + -5.514139889289622e-06, + -6.589080515050601e-06, + -7.627388746066579e-06, + -8.627582799111746e-06, + -9.588453001228645e-06, + -1.0509062506694404e-05, + -1.13887442284388e-05, + -1.2227094249839704e-05, + -1.3023962048983484e-05, + -1.3779437921675954e-05, + -1.4493838023447572e-05, + -1.5167687472717702e-05, + -1.5801701960625084e-05, + -1.639676830667319e-05, + -1.695392437801595e-05, + -1.747433876333531e-05, + -1.795929055565084e-05, + -1.8410149558486504e-05, + -1.8828357186741705e-05, + -1.9215408289950207e-05, + -1.9572834080592376e-05, + -1.9902186309443954e-05, + -2.0205022788718084e-05, + -2.0482894328256936e-05, + -2.0737333115594697e-05, + -2.0969842542519295e-05, + -2.1181888454166837e-05, + -2.1374891776068235e-05, + -2.1550222455722448e-05, + -2.1709194642349345e-05, + -2.1853063016758277e-05, + -2.198302017621623e-05, + -2.2100194974437056e-05, + -2.220565171522645e-05, + -2.2300390097156837e-05, + -2.2385345810651026e-05, + -2.2461391690583275e-05, + -2.2529339333911902e-05, + -2.2589941096918226e-05, + -2.2643892393575878e-05, + -2.26918342236989e-05, + -2.273435586607203e-05, + -2.2771997680834082e-05, + -2.2805253969693294e-05, + -2.2834575853037243e-05, + -2.286037412583623e-05, + -2.288302206348188e-05, + -2.2902858152263543e-05, + -2.2920188725468973e-05, + -2.2935290489391124e-05, + -2.294841292913072e-05, + -2.2959780586443883e-05, + -2.296959520469232e-05, + -2.29780377398188e-05, + -2.29852702371699e-05, + -2.299143757559828e-05, + -2.299666908355872e-05, + -2.300108002967903e-05, + -2.3004772995124648e-05, + -2.3007839131696534e-05, + -2.301035931347433e-05, + -2.3012405187042348e-05, + -2.3014040127772114e-05, + -2.3015320108565403e-05, + -2.301629448679122e-05, + -2.3017006715872433e-05, + -2.3017494988822723e-05, + -2.3017792816637234e-05, + -2.301792955076181e-05 + ], + "internal_maxwell_A_m2": [ + -4.3166079813947335e-05, + -4.316607981394734e-05, + -4.316607981394734e-05, + -4.3166079813947335e-05, + -4.3166079813947335e-05, + -4.3166079813947335e-05, + -4.3166079813947335e-05, + -4.3166079813947335e-05, + -4.3166079813947335e-05, + -4.3166079813947335e-05, + -4.3166079813947335e-05, + -4.3166079813947335e-05, + -4.3166079813947335e-05, + -4.3166079813947335e-05, + -4.3166079813947335e-05, + -4.3166079813947335e-05, + -4.3166079813947335e-05, + -4.316607981394734e-05, + -4.3166079813947335e-05, + -4.3166079813947335e-05, + -4.3166079813947335e-05, + -4.3166079813947335e-05, + -4.3166079813947335e-05, + -4.3166079813947335e-05, + -4.316607981394734e-05, + -4.316607981394734e-05, + -4.316607981394734e-05, + -4.3166079813947335e-05, + -4.316607981394734e-05, + -4.3166079813947335e-05, + -4.3166079813947335e-05, + -4.3166079813947335e-05, + -4.316607981394734e-05, + -4.3166079813947335e-05, + -4.3166079813947335e-05, + -4.3166079813947335e-05, + -4.316607981394734e-05, + -4.3166079813947335e-05, + -4.316607981394734e-05, + -4.316607981394734e-05, + -4.3166079813947335e-05, + -4.3166079813947335e-05, + -4.316607981394734e-05, + -4.3166079813947335e-05, + -4.3166079813947335e-05, + -4.3166079813947335e-05, + -4.3166079813947335e-05, + -4.3166079813947335e-05, + -4.3166079813947335e-05, + -4.316607981394734e-05, + -4.3166079813947335e-05, + -4.3166079813947335e-05, + -4.3166079813947335e-05, + -4.3166079813947335e-05, + -4.316607981394734e-05, + -4.3166079813947335e-05, + -4.3166079813947335e-05, + -4.3166079813947335e-05, + -4.316607981394734e-05, + -4.3166079813947335e-05, + -4.3166079813947335e-05, + -4.316607981394734e-05, + -4.316607981394734e-05, + -4.316607981394734e-05, + -4.316607981394734e-05, + -4.316607981394734e-05, + -4.3166079813947335e-05, + -4.3166079813947335e-05, + -4.3166079813947335e-05, + -4.3166079813947335e-05, + -4.316607981394734e-05, + -4.3166079813947335e-05, + -4.316607981394734e-05, + -4.3166079813947335e-05, + -4.3166079813947335e-05, + -4.3166079813947335e-05, + -4.3166079813947335e-05, + -4.3166079813947335e-05, + -4.3166079813947335e-05, + -4.3166079813947335e-05, + -4.3166079813947335e-05, + -4.316607981394734e-05, + -4.316607981394735e-05, + -4.316607981394735e-05, + -4.316607981394734e-05, + -4.316607981394734e-05, + -4.3166079813947335e-05, + -4.316607981394735e-05, + -4.3166079813947335e-05, + -4.3166079813947335e-05, + -4.316607981394735e-05, + -4.316607981394735e-05, + -4.316607981394735e-05, + -4.316607981394735e-05, + -4.316607981394735e-05, + -4.316607981394735e-05, + -4.316607981394735e-05, + -4.316607981394735e-05, + -4.316607981394735e-05, + -4.316607981394736e-05, + -4.316607981394735e-05, + -4.316607981394735e-05, + -4.316607981394736e-05, + -4.316607981394736e-05, + -4.316607981394736e-05, + -4.316607981394735e-05, + -4.316607981394735e-05, + -4.316607981394735e-05, + -4.316607981394736e-05, + -4.316607981394735e-05, + -4.316607981394736e-05, + -4.316607981394736e-05, + -4.316607981394736e-05, + -4.316607981394736e-05, + -4.316607981394735e-05, + -4.316607981394735e-05, + -4.316607981394736e-05, + -4.316607981394736e-05, + -4.316607981394736e-05, + -4.316607981394736e-05, + -4.316607981394735e-05, + -4.316607981394736e-05, + -4.316607981394735e-05, + -4.316607981394736e-05, + -4.316607981394735e-05, + -4.316607981394735e-05, + -4.316607981394735e-05, + -4.316607981394749e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399608e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399608e-05, + -4.316607981399607e-05, + -4.316607981399608e-05, + -4.316607981399607e-05, + -4.316607981399608e-05, + -4.316607981399607e-05, + -4.316607981399608e-05, + -4.316607981399607e-05, + -4.316607981399608e-05, + -4.316607981399608e-05, + -4.316607981399607e-05, + -4.316607981399608e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399608e-05, + -4.316607981399607e-05, + -4.316607981399608e-05, + -4.316607981399608e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399608e-05, + -4.316607981399607e-05, + -4.316607981399608e-05, + -4.316607981399608e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.3166079813996076e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05 + ], + "physical_widths_m": [ + 5.901422388288336e-11, + 1.2168445327999375e-10, + 1.2921290133435793e-10, + 1.3718573109489092e-10, + 1.456263985330553e-10, + 1.5455923405930657e-10, + 1.6400942452466372e-10, + 1.7400298616433713e-10, + 1.8456672721482707e-10, + 1.9572819882658635e-10, + 2.0751563278408056e-10, + 2.1995786443639556e-10, + 2.330842391367742e-10, + 2.4692450039214606e-10, + 2.615086578375502e-10, + 2.768668330800304e-10, + 2.930290814077334e-10, + 3.1002518733890237e-10, + 3.2788443199932904e-10, + 3.4663533037393737e-10, + 3.6630533658778285e-10, + 3.869205155434871e-10, + 4.0850517948706975e-10, + 4.310814884031017e-10, + 4.546690135652088e-10, + 4.79284264100096e-10, + 5.049401770735207e-10, + 5.316455723851334e-10, + 5.594045746728763e-10, + 5.882160054824251e-10, + 6.180727501540692e-10, + 6.489611052145571e-10, + 6.808601135253143e-10, + 7.137408960140655e-10, + 7.47565990478061e-10, + 7.822887096588038e-10, + 8.178525325040014e-10, + 8.54190544194725e-10, + 8.912249420559998e-10, + 9.288666258067398e-10, + 9.670148916509131e-10, + 1.005557250369215e-09, + 1.0443693897370093e-09, + 1.0833153011705004e-09, + 1.1222475893912312e-09, + 1.1610079820176118e-09, + 1.1994280532751899e-09, + 1.23733017242863e-09, + 1.2745286830742073e-09, + 1.3108313141313866e-09, + 1.3460408173217914e-09, + 1.3799568192605954e-09, + 1.4123778691985396e-09, + 1.443103656181209e-09, + 1.4719373622173193e-09, + 1.4986881112844911e-09, + 1.523173467982208e-09, + 1.5452219347003404e-09, + 1.5646753926224425e-09, + 1.5813914299979714e-09, + 1.5952455011079117e-09, + 1.6061328613443997e-09, + 1.6139702278616839e-09, + 1.6186971212639917e-09, + 1.6202768516007768e-09, + 1.6186971212639917e-09, + 1.6139702278616839e-09, + 1.6061328613443997e-09, + 1.5952455011079117e-09, + 1.5813914299979714e-09, + 1.5646753926224425e-09, + 1.5452219347003404e-09, + 1.523173467982208e-09, + 1.4986881112844845e-09, + 1.4719373622173193e-09, + 1.4431036561812155e-09, + 1.4123778691985462e-09, + 1.379956819260592e-09, + 1.346040817321788e-09, + 1.31083131413138e-09, + 1.2745286830742205e-09, + 1.2373301724286366e-09, + 1.19942805327517e-09, + 1.1610079820176184e-09, + 1.1222475893912378e-09, + 1.083315301170507e-09, + 1.0443693897369927e-09, + 1.0055572503692116e-09, + 9.670148916509198e-10, + 9.288666258067464e-10, + 8.91224942055985e-10, + 8.541905441947299e-10, + 8.178525325039981e-10, + 7.822887096588004e-10, + 7.475659904780676e-10, + 7.137408960140556e-10, + 6.808601135253242e-10, + 6.48961105214567e-10, + 6.180727501540659e-10, + 5.882160054824152e-10, + 5.59404574672873e-10, + 5.316455723851383e-10, + 5.049401770735323e-10, + 4.792842641000936e-10, + 4.546690135651964e-10, + 4.3108148840310337e-10, + 4.0850517948706727e-10, + 3.869205155434962e-10, + 3.663053365877845e-10, + 3.4663533037393406e-10, + 3.278844319993274e-10, + 3.1002518733890444e-10, + 2.930290814077417e-10, + 2.7686683308002504e-10, + 2.6150865783754524e-10, + 2.46924500392156e-10, + 2.3308423913676347e-10, + 2.1995786443640466e-10, + 2.0751563278407477e-10, + 1.9572819882657477e-10, + 1.845667272148283e-10, + 1.740029861643485e-10, + 1.6400942452466144e-10, + 1.545592340593227e-10, + 1.4562639853305157e-10, + 1.3718573109488172e-10, + 1.2921290133435225e-10, + 1.8069867716288167e-10, + 1.8069867716288167e-10, + 1.2921290133435225e-10, + 1.3718573109489495e-10, + 1.4562639853305157e-10, + 1.5455923405930946e-10, + 1.6400942452466144e-10, + 1.740029861643485e-10, + 1.845667272148283e-10, + 1.9572819882657477e-10, + 2.0751563278407477e-10, + 2.1995786443640466e-10, + 2.3308423913676347e-10, + 2.46924500392156e-10, + 2.6150865783754524e-10, + 2.7686683308002504e-10, + 2.930290814077417e-10, + 3.1002518733890444e-10, + 3.278844319993274e-10, + 3.4663533037393406e-10, + 3.663053365877845e-10, + 3.8692051554348296e-10, + 4.085051794870805e-10, + 4.3108148840310337e-10, + 4.5466901356520963e-10, + 4.792842641000936e-10, + 5.04940177073519e-10, + 5.316455723851383e-10, + 5.59404574672873e-10, + 5.882160054824152e-10, + 6.180727501540659e-10, + 6.48961105214567e-10, + 6.808601135253109e-10, + 7.137408960140689e-10, + 7.475659904780676e-10, + 7.822887096588004e-10, + 8.178525325039981e-10, + 8.541905441947299e-10, + 8.91224942055985e-10, + 9.288666258067464e-10, + 9.670148916509198e-10, + 1.0055572503692116e-09, + 1.0443693897370192e-09, + 1.0833153011704673e-09, + 1.122247589391251e-09, + 1.1610079820176184e-09, + 1.1994280532751965e-09, + 1.2373301724286234e-09, + 1.2745286830741808e-09, + 1.3108313141314065e-09, + 1.346040817321788e-09, + 1.3799568192606186e-09, + 1.412377869198533e-09, + 1.4431036561812023e-09, + 1.4719373622173193e-09, + 1.4986881112844977e-09, + 1.523173467982208e-09, + 1.545221934700314e-09, + 1.564675392622469e-09, + 1.5813914299979515e-09, + 1.5952455011079183e-09, + 1.606132861344413e-09, + 1.6139702278616839e-09, + 1.6186971212639851e-09, + 1.6202768516007636e-09, + 1.6186971212639851e-09, + 1.6139702278616839e-09, + 1.606132861344413e-09, + 1.5952455011079183e-09, + 1.5813914299979515e-09, + 1.564675392622469e-09, + 1.545221934700314e-09, + 1.523173467982208e-09, + 1.4986881112844977e-09, + 1.4719373622173193e-09, + 1.4431036561812023e-09, + 1.412377869198533e-09, + 1.3799568192606186e-09, + 1.346040817321788e-09, + 1.31083131413138e-09, + 1.2745286830742073e-09, + 1.2373301724286234e-09, + 1.1994280532751965e-09, + 1.1610079820176184e-09, + 1.122247589391251e-09, + 1.0833153011704673e-09, + 1.0443693897370192e-09, + 1.0055572503692116e-09, + 9.670148916509198e-10, + 9.288666258067464e-10, + 8.91224942055985e-10, + 8.541905441947299e-10, + 8.178525325039848e-10, + 7.822887096588137e-10, + 7.475659904780676e-10, + 7.137408960140821e-10, + 6.808601135253109e-10, + 6.489611052145538e-10, + 6.180727501540659e-10, + 5.882160054824152e-10, + 5.59404574672873e-10, + 5.316455723851383e-10, + 5.04940177073519e-10, + 4.7928426410012e-10, + 4.5466901356518316e-10, + 4.3108148840310337e-10, + 4.0850517948706727e-10, + 3.869205155434962e-10, + 3.6630533658779774e-10, + 3.4663533037392083e-10, + 3.278844319993274e-10, + 3.1002518733890444e-10, + 2.930290814077152e-10, + 2.768668330800515e-10, + 2.6150865783754524e-10, + 2.46924500392156e-10, + 2.3308423913676347e-10, + 2.1995786443639143e-10, + 2.0751563278407477e-10, + 1.95728198826588e-10, + 1.845667272148283e-10, + 1.740029861643485e-10, + 1.6400942452466144e-10, + 1.545592340593227e-10, + 1.4562639853305157e-10, + 1.3718573109489495e-10, + 1.29212901334339e-10, + 1.2168445327999169e-10, + 5.901422388288999e-11 + ], + "positive_ion_rate_m3_s": [ + 9.801341366538239e+23, + 8.75651006054773e+20, + 8.751694983121704e+20, + 8.74656546726001e+20, + 8.741087345010318e+20, + 8.735245974558624e+20, + 8.729014189378417e+20, + 8.722361891210043e+20, + 8.715267721231229e+20, + 8.707695953013915e+20, + 8.699620570067236e+20, + 8.69100462320331e+20, + 8.681811537596763e+20, + 8.672010958067428e+20, + 8.661555825317332e+20, + 8.650409141003733e+20, + 8.638526028727866e+20, + 8.62586337559417e+20, + 8.612369280143614e+20, + 8.598001011059514e+20, + 8.582702919663575e+20, + 8.566424291890439e+20, + 8.54911245138718e+20, + 8.53071328517864e+20, + 8.511170038562871e+20, + 8.490431416902277e+20, + 8.468440321029209e+20, + 8.445147166848208e+20, + 8.420499129433483e+20, + 8.394451558129796e+20, + 8.366960077736935e+20, + 8.337987955084203e+20, + 8.307505414886287e+20, + 8.275489744058401e+20, + 8.241929002091146e+20, + 8.20682286249693e+20, + 8.170184022774965e+20, + 8.132040226632427e+20, + 8.092436479381803e+20, + 8.051436338295835e+20, + 8.009123589507702e+20, + 7.965603661389225e+20, + 7.921005665432762e+20, + 7.875482434412672e+20, + 7.829211469637761e+20, + 7.78239543999734e+20, + 7.735261654200193e+20, + 7.688061152765575e+20, + 7.641067649554279e+20, + 7.59457464556843e+20, + 7.548893927748682e+20, + 7.504351436195099e+20, + 7.461283072934665e+20, + 7.420031448296298e+20, + 7.380939704682308e+20, + 7.344346907759882e+20, + 7.310582309007077e+20, + 7.27996015429216e+20, + 7.252772973814229e+20, + 7.229287690159935e+20, + 7.209739523300486e+20, + 7.194327469287381e+20, + 7.183211051419615e+20, + 7.176506452247968e+20, + 7.174284291745388e+20, + 7.176568516389764e+20, + 7.183335379993497e+20, + 7.19451449602596e+20, + 7.209989659322969e+20, + 7.229601832916364e+20, + 7.253151705506446e+20, + 7.28040411164551e+20, + 7.31109251882339e+20, + 7.344923462221984e+20, + 7.381583162014099e+20, + 7.42074169588831e+20, + 7.462059961872267e+20, + 7.505193950703671e+20, + 7.549801194488106e+20, + 7.59554475194012e+20, + 7.642098347827419e+20, + 7.689150245718599e+20, + 7.736405377691596e+20, + 7.783590720449653e+20, + 7.83045365405717e+20, + 7.876767850337554e+20, + 7.922328893873854e+20, + 7.966960297162878e+20, + 8.010507706983654e+20, + 8.052843782195442e+20, + 8.093860956841905e+20, + 8.133476839029248e+20, + 8.171627343975041e+20, + 8.208268294912064e+20, + 8.243371125851276e+20, + 8.276924423458872e+20, + 8.308927996610912e+20, + 8.339394930777501e+20, + 8.3683467738364e+20, + 8.395814928429035e+20, + 8.421837835952928e+20, + 8.446455314874658e+20, + 8.469719476362251e+20, + 8.491675668452197e+20, + 8.512380997536268e+20, + 8.531887681274772e+20, + 8.5502490991487e+20, + 8.567525581758507e+20, + 8.583764497519246e+20, + 8.599022791539044e+20, + 8.613356058192574e+20, + 8.626807646797719e+20, + 8.639435347117258e+20, + 8.651279830413859e+20, + 8.662389419159175e+20, + 8.67280627058132e+20, + 8.682573741470663e+20, + 8.691735031211388e+20, + 8.700312284126316e+20, + 8.708357470319557e+20, + 8.715894480635202e+20, + 8.722963536761448e+20, + 8.729579577864615e+20, + 8.73578972770474e+20, + 8.741598801212424e+20, + 8.747051999561882e+20, + 8.752162223636593e+20, + -7.49647529706687e+23, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0 + ], + "potential_derivative_V_s": [ + 0.0, + 1.832993654383994e-05, + 3.7771075900399086e-05, + 5.838582038258885e-05, + 8.023940409219258e-05, + 0.00010339992572567814, + 0.00012793836544020286, + 0.00015392858289691808, + 0.00018144729310936293, + 0.00021057401629206066, + 0.00024139099768117963, + 0.0002739830925998371, + 0.0003084376118549594, + 0.00034484412188653404, + 0.0003832941936059197, + 0.0004238810936993256, + 0.0004666994112173317, + 0.0005118446123121682, + 0.0005594125153098533, + 0.000609498678307856, + 0.0006621976908157926, + 0.0007176023616390032, + 0.0007758027945882822, + 0.0008368853444067287, + 0.000900931445790286, + 0.0009680163093710448, + 0.0010382074794770965, + 0.0011115632508982428, + 0.0011881309431348668, + 0.0012679450343012757, + 0.0013510251590973953, + 0.001437373980070208, + 0.0015269749450005535, + 0.00161978994868024, + 0.001715756922904128, + 0.0018147873842111761, + 0.001916763975459903, + 0.0020215380438324947, + 0.002128927304318388, + 0.0022387136439361, + 0.0023506411277626634, + 0.0024644142726273108, + 0.002579696657969041, + 0.0026961099452526786, + 0.0028132333777832075, + 0.002930603830478975, + 0.003047716474586557, + 0.0031640261152197247, + 0.003278949249640211, + 0.003391866881449551, + 0.003502128111069229, + 0.00360905450499491, + 0.00371194522783814, + 0.0038100829008698906, + 0.003902740129572228, + 0.00398918662314191, + 0.0040686968088278356, + 0.004140557826663207, + 0.004204077774710854, + 0.00425859406346992, + 0.004303481728366458, + 0.004338161545569848, + 0.004362107795205621, + 0.004374855519055816, + 0.0043760071277636125, + 0.004365238223230761, + 0.004342302516250276, + 0.004307035737297565, + 0.004259358457913808, + 0.004199277762755893, + 0.004126887735396836, + 0.004042368746091081, + 0.0039459855540949565, + 0.0038380842620345875, + 0.003719088183782489, + 0.0035894927087859424, + 0.003449859267023932, + 0.0033008085151058283, + 0.0031430128793051098, + 0.0029771886010558977, + 0.002804087437946876, + 0.0026244881753163286, + 0.0024391881023564333, + 0.0022489946014731354, + 0.0020547169894425074, + 0.0018571587382073139, + 0.001657110185919209, + 0.00145534183390824, + 0.0012525983041142919, + 0.0010495930145266049, + 0.0008470036085356282, + 0.0006454681573630147, + 0.00044558213485020883, + 0.0002478961497110587, + 5.2914404870566315e-05, + -0.00013890615764079872, + -0.0003271560780813273, + -0.0005114730249898204, + -0.0006915409298615674, + -0.0008670886767502259, + -0.0010378884144135719, + -0.0012037535573776194, + -0.0013645365399067642, + -0.0015201263842253801, + -0.0016704461383479443, + -0.0018154502357082378, + -0.0019551218216365936, + -0.0020894700871448672, + -0.002218527644621554, + -0.0023423479737970654, + -0.002461002962279865, + -0.0025745805590216653, + -0.0026831825547075773, + -0.002786922499680544, + -0.002885923765287364, + -0.002980317752404642, + -0.003070242247549313, + -0.0031558399250524332, + -0.003237256991788528, + -0.003314641969351827, + -0.0033881446080238193, + -0.003457914925105388, + -0.0035241023604553664, + -0.0035868550410928044, + -0.0036463191471438647, + -0.003702638370694362, + -0.003755953459990657, + -0.003806401840946884, + -0.0036935918121651368, + -0.0037575701620238267, + -0.0038251410265103627, + -0.0038964702174277494, + -0.003971726472387469, + -0.004051080799172156, + -0.004134705700045992, + -0.004222774263891103, + -0.004315459113638868, + -0.004412931196166536, + -0.0045153584017694455, + -0.004622904000440352, + -0.0047357248826442565, + -0.004853969593066151, + -0.00497777614701326, + -0.005107269620872402, + -0.005242559510282123, + -0.005383736852605877, + -0.0055308711139328785, + -0.005684006845272902, + -0.005843160117915305, + -0.006008314754149758, + -0.006179418376717129, + -0.006356378308503074, + -0.0065390573630584896, + -0.0067272695764919975, + -0.006920775941979512, + -0.007119280219422774, + -0.007322424904416768, + -0.007529787452321214, + -0.007740876864476024, + -0.007955130753999477, + -0.008171913017557828, + -0.008390512246396054, + -0.008610141014084402, + -0.008829936179121294, + -0.009048960337042672, + -0.009266204548327151, + -0.009480592454537268, + -0.009690985875363907, + -0.009896191953229497, + -0.010094971879862356, + -0.010286051201036709, + -0.010468131652105523, + -0.010639904429051028, + -0.010800064748899475, + -0.010947327501277342, + -0.01108044374168984, + -0.011198217729111212, + -0.011299524168171, + -0.01138332528206868, + -0.011448687318705098, + -0.011494796081382659, + -0.011520971078383319, + -0.01152667790370925, + -0.011511538494470596, + -0.01147533895827992, + -0.011418034725103802, + -0.01133975285020993, + -0.011240791375227226, + -0.011121615739571163, + -0.010982852320833411, + -0.010825279266427217, + -0.010649814856120451, + -0.010457503702759444, + -0.010249501153759187, + -0.01002705629670225, + -0.009791493997470561, + -0.009544196408265343, + -0.009286584376156926, + -0.009020099161566802, + -0.008746184842210859, + -0.008466271733770908, + -0.008181761106598823, + -0.007894011420791311, + -0.007604326242786354, + -0.007313943947756678, + -0.007024029255783175, + -0.0067356665979596145, + -0.006449855262690589, + -0.006167506233457532, + -0.005889440597851141, + -0.005616389383822156, + -0.0053489946627251735, + -0.005087811749304195, + -0.004833312325624, + -0.004585888318209777, + -0.004345856364413807, + -0.004113462714298465, + -0.0038888884272081314, + -0.003672254736813335, + -0.003463628473982367, + -0.003263027452694851, + -0.003070425739825756, + -0.0028857587445308376, + -0.002708928076869586, + -0.002539806137954776, + -0.0023782404152081064, + -0.0022240574661586653, + -0.002077066582652373, + -0.0019370631343999278, + -0.0018038315965464018, + -0.0016771482705365134, + -0.0015567837110550618, + -0.0014425048744168697, + -0.0013340770055506356, + -0.0012312652818212652, + -0.0011338362324628804, + -0.0010415589524690242, + -0.0009542061294877056, + -0.0008715549016959648, + -0.0007933875638456365, + -0.0007194921377366555, + -0.0006496628223476998, + -0.000583700337771336, + -0.0005214121759921381, + -0.00046261277045233295, + -0.00040712359526948107, + -0.0003547732039422803, + -0.000305397216394094, + -0.0002588382622832853, + -0.00021494588764550245, + -0.0001735764311368255, + -0.0001345928754152318, + -9.786467852879624e-05, + -6.326758956897577e-05, + -3.0683452303128224e-05, + 0.0 + ], + "sheet_charge_derivative_C_m2_s": [ + 1.1736503134211863e-11 + ], + "trace_potential_derivative_V_s": [ + [ + -0.00374999681873349, + -0.00374999681873349 + ] + ] + }, + "assessment": { + "conservation_compliant": true, + "content_consistent": true, + "reference_accuracy_qualified": null, + "reference_accuracy_status": "not_assessed_shared_constitutive_laws" + }, + "checks": { + "charge_balance_normalized": { + "applicable": true, + "passed": true + }, + "contact_conduction_A_m2_reported_content_matches": { + "applicable": true, + "passed": true + }, + "contact_displacement_A_m2_reported_content_matches": { + "applicable": true, + "passed": true + }, + "contact_internal_current_spread_relative": { + "applicable": true, + "passed": true + }, + "contact_maxwell_A_m2_reported_content_matches": { + "applicable": true, + "passed": true + }, + "finite_values": { + "applicable": true, + "passed": true + }, + "interface_current_spread_relative": { + "applicable": true, + "passed": true + }, + "interface_maxwell_A_m2_reported_content_matches": { + "applicable": true, + "passed": true + }, + "internal_face_current_spread_relative": { + "applicable": true, + "passed": true + }, + "internal_maxwell_A_m2_reported_content_matches": { + "applicable": true, + "passed": true + }, + "physical_geometry_matches": { + "applicable": true, + "passed": true + } + }, + "content_comparison": { + "current_component_scale_A_m2": 8.836108957541842e-05, + "kind": "floating_point_assembly_only_not_physical_error_budget", + "relative_allowance": 1.8189894035458565e-12 + }, + "limits": { + "charge_balance_normalized": 1e-10, + "contact_internal_current_spread_relative": 2e-06, + "interface_current_spread_relative": 2e-06, + "internal_face_current_spread_relative": 2e-06 + }, + "metrics": { + "charge_balance_normalized": 4.870712685955862e-17, + "contact_internal_current_spread_relative": 1.1297937913579283e-12, + "interface_current_spread_relative": 1.1261832234544641e-12, + "internal_face_current_spread_relative": 1.1293228477183466e-12 + }, + "passed": true, + "reasons": [], + "relative_current_applicable": true, + "schema": "R1IndependentRegularCurrentV1", + "scope": "fixed_voltage_regular_current_independent_assembly_not_solution_error_bound", + "shared_constitutive_dependencies": [ + "fe_operators.bernoulli", + "two_sided_interface._material_two_sided_interface_problem", + "two_sided_interface_compensated.evaluate_local_carrier_pair", + "compensated.DD", + "one_dimensional_mechanism_r1_global_reference.evaluate_independent_saved_high_ion_transport", + "recombination.total_recombination" + ] + }, + "interface_current_spread_relative": 1.111113026987839e-12, + "interface_maxwell_A_m2": [ + [ + -4.3166079813947816e-05, + -4.316607981399578e-05 + ] + ], + "internal_maxwell_A_m2": [ + -4.3166079813947145e-05, + -4.3166079813947145e-05, + -4.316607981394715e-05, + -4.3166079813947145e-05, + -4.316607981394714e-05, + -4.3166079813947145e-05, + -4.3166079813947145e-05, + -4.3166079813947145e-05, + -4.3166079813947125e-05, + -4.3166079813947104e-05, + -4.316607981394711e-05, + -4.3166079813947125e-05, + -4.31660798139471e-05, + -4.316607981394709e-05, + -4.3166079813947064e-05, + -4.316607981394708e-05, + -4.3166079813947104e-05, + -4.3166079813947125e-05, + -4.316607981394709e-05, + -4.3166079813947104e-05, + -4.3166079813947104e-05, + -4.316607981394712e-05, + -4.3166079813947084e-05, + -4.316607981394709e-05, + -4.316607981394711e-05, + -4.316607981394709e-05, + -4.31660798139471e-05, + -4.316607981394713e-05, + -4.316607981394711e-05, + -4.316607981394713e-05, + -4.316607981394716e-05, + -4.316607981394716e-05, + -4.316607981394715e-05, + -4.3166079813947186e-05, + -4.3166079813947186e-05, + -4.316607981394716e-05, + -4.316607981394712e-05, + -4.3166079813947125e-05, + -4.316607981394712e-05, + -4.316607981394713e-05, + -4.316607981394707e-05, + -4.3166079813947104e-05, + -4.31660798139471e-05, + -4.3166079813947084e-05, + -4.316607981394703e-05, + -4.3166079813947084e-05, + -4.316607981394709e-05, + -4.316607981394709e-05, + -4.3166079813947084e-05, + -4.316607981394709e-05, + -4.31660798139471e-05, + -4.316607981394709e-05, + -4.316607981394709e-05, + -4.3166079813947104e-05, + -4.3166079813947104e-05, + -4.3166079813947064e-05, + -4.3166079813947104e-05, + -4.3166079813947064e-05, + -4.316607981394706e-05, + -4.3166079813946996e-05, + -4.3166079813947e-05, + -4.3166079813947064e-05, + -4.316607981394705e-05, + -4.3166079813947e-05, + -4.3166079813947e-05, + -4.316607981394708e-05, + -4.316607981394705e-05, + -4.316607981394706e-05, + -4.316607981394706e-05, + -4.31660798139471e-05, + -4.316607981394708e-05, + -4.316607981394712e-05, + -4.316607981394717e-05, + -4.316607981394714e-05, + -4.3166079813947165e-05, + -4.31660798139471e-05, + -4.316607981394713e-05, + -4.3166079813947064e-05, + -4.31660798139471e-05, + -4.3166079813947084e-05, + -4.316607981394713e-05, + -4.31660798139471e-05, + -4.316607981394711e-05, + -4.316607981394711e-05, + -4.3166079813947125e-05, + -4.316607981394711e-05, + -4.3166079813947104e-05, + -4.316607981394709e-05, + -4.3166079813947064e-05, + -4.316607981394706e-05, + -4.3166079813947064e-05, + -4.3166079813947084e-05, + -4.316607981394708e-05, + -4.316607981394708e-05, + -4.316607981394708e-05, + -4.316607981394708e-05, + -4.316607981394709e-05, + -4.316607981394708e-05, + -4.316607981394712e-05, + -4.316607981394712e-05, + -4.316607981394708e-05, + -4.31660798139471e-05, + -4.316607981394709e-05, + -4.316607981394704e-05, + -4.31660798139471e-05, + -4.3166079813946996e-05, + -4.316607981394694e-05, + -4.316607981394705e-05, + -4.3166079813946996e-05, + -4.316607981394687e-05, + -4.316607981394686e-05, + -4.3166079813946725e-05, + -4.316607981394683e-05, + -4.316607981394697e-05, + -4.316607981394722e-05, + -4.316607981394682e-05, + -4.3166079813946894e-05, + -4.3166079813947016e-05, + -4.316607981394663e-05, + -4.316607981394655e-05, + -4.3166079813946176e-05, + -4.3166079813946196e-05, + -4.316607981394673e-05, + -4.31660798139471e-05, + -4.316607981394674e-05, + -4.3166079813947104e-05, + -4.3166079813946684e-05, + -4.3166079813947816e-05, + -4.316607981399622e-05, + -4.316607981399586e-05, + -4.3166079813995426e-05, + -4.316607981399601e-05, + -4.3166079813995216e-05, + -4.316607981399622e-05, + -4.3166079813995805e-05, + -4.31660798139955e-05, + -4.316607981399568e-05, + -4.31660798139956e-05, + -4.316607981399509e-05, + -4.3166079813995094e-05, + -4.316607981399517e-05, + -4.31660798139951e-05, + -4.316607981399523e-05, + -4.316607981399552e-05, + -4.316607981399574e-05, + -4.316607981399593e-05, + -4.316607981399567e-05, + -4.316607981399591e-05, + -4.316607981399577e-05, + -4.3166079813995826e-05, + -4.316607981399533e-05, + -4.316607981399548e-05, + -4.316607981399558e-05, + -4.3166079813995887e-05, + -4.3166079813996e-05, + -4.3166079813995765e-05, + -4.316607981399603e-05, + -4.3166079813996036e-05, + -4.316607981399623e-05, + -4.316607981399626e-05, + -4.316607981399622e-05, + -4.316607981399629e-05, + -4.316607981399609e-05, + -4.3166079813996164e-05, + -4.316607981399633e-05, + -4.3166079813996164e-05, + -4.31660798139963e-05, + -4.316607981399646e-05, + -4.316607981399664e-05, + -4.316607981399669e-05, + -4.316607981399675e-05, + -4.316607981399655e-05, + -4.3166079813996374e-05, + -4.3166079813996266e-05, + -4.31660798139965e-05, + -4.316607981399664e-05, + -4.316607981399652e-05, + -4.316607981399645e-05, + -4.316607981399672e-05, + -4.316607981399663e-05, + -4.316607981399668e-05, + -4.316607981399671e-05, + -4.316607981399663e-05, + -4.316607981399653e-05, + -4.316607981399666e-05, + -4.31660798139964e-05, + -4.316607981399659e-05, + -4.3166079813996496e-05, + -4.31660798139967e-05, + -4.3166079813996734e-05, + -4.3166079813996605e-05, + -4.316607981399655e-05, + -4.3166079813996354e-05, + -4.316607981399655e-05, + -4.316607981399658e-05, + -4.3166079813996666e-05, + -4.316607981399663e-05, + -4.3166079813996395e-05, + -4.316607981399648e-05, + -4.316607981399644e-05, + -4.3166079813996435e-05, + -4.316607981399626e-05, + -4.316607981399619e-05, + -4.3166079813996205e-05, + -4.3166079813996205e-05, + -4.316607981399623e-05, + -4.316607981399618e-05, + -4.316607981399627e-05, + -4.31660798139963e-05, + -4.31660798139963e-05, + -4.3166079813996164e-05, + -4.316607981399618e-05, + -4.316607981399615e-05, + -4.3166079813996124e-05, + -4.316607981399614e-05, + -4.316607981399618e-05, + -4.316607981399606e-05, + -4.316607981399606e-05, + -4.316607981399608e-05, + -4.3166079813996164e-05, + -4.3166079813996185e-05, + -4.3166079813996246e-05, + -4.3166079813996246e-05, + -4.31660798139963e-05, + -4.316607981399633e-05, + -4.316607981399625e-05, + -4.3166079813996246e-05, + -4.316607981399622e-05, + -4.316607981399624e-05, + -4.316607981399619e-05, + -4.316607981399619e-05, + -4.316607981399628e-05, + -4.316607981399629e-05, + -4.316607981399631e-05, + -4.3166079813996334e-05, + -4.3166079813996313e-05, + -4.3166079813996286e-05, + -4.316607981399626e-05, + -4.316607981399619e-05, + -4.316607981399623e-05, + -4.3166079813996286e-05, + -4.3166079813996286e-05, + -4.31660798139963e-05, + -4.3166079813996313e-05, + -4.3166079813996286e-05, + -4.316607981399626e-05, + -4.316607981399623e-05, + -4.316607981399623e-05, + -4.316607981399626e-05, + -4.316607981399626e-05, + -4.3166079813996266e-05, + -4.316607981399626e-05, + -4.316607981399626e-05, + -4.3166079813996266e-05, + -4.3166079813996266e-05 + ], + "kind": "regular_current_at_fixed_voltage", + "limits": { + "charge_balance_normalized": 1e-10, + "contact_internal_current_spread_relative": 2e-06, + "differentiated_poisson_normalized": 1e-10, + "face_current_spread_relative": 2e-06, + "interface_current_spread_relative": 2e-06 + }, + "potential_derivative_V_s": [ + 0.0, + 1.8329936543839686e-05, + 3.777107590039856e-05, + 5.838582038258803e-05, + 8.023940409219146e-05, + 0.00010339992572567667, + 0.00012793836544020107, + 0.00015392858289691594, + 0.00018144729310936038, + 0.00021057401629205768, + 0.00024139099768117614, + 0.000273983092599833, + 0.0003084376118549548, + 0.0003448441218865288, + 0.00038329419360591375, + 0.0004238810936993188, + 0.0004666994112173241, + 0.0005118446123121598, + 0.0005594125153098441, + 0.000609498678307846, + 0.0006621976908157816, + 0.0007176023616389912, + 0.0007758027945882693, + 0.0008368853444067146, + 0.0009009314457902707, + 0.0009680163093710283, + 0.0010382074794770787, + 0.0011115632508982235, + 0.0011881309431348462, + 0.0012679450343012536, + 0.0013510251590973718, + 0.0014373739800701832, + 0.0015269749450005274, + 0.0016197899486802125, + 0.0017157569229040992, + 0.001814787384211146, + 0.0019167639754598714, + 0.002021538043832461, + 0.002128927304318352, + 0.002238713643936062, + 0.002350641127762623, + 0.0024644142726272674, + 0.002579696657968995, + 0.0026961099452526296, + 0.0028132333777831555, + 0.002930603830478919, + 0.0030477164745864975, + 0.003164026115219662, + 0.0032789492496401447, + 0.003391866881449481, + 0.0035021281110691554, + 0.003609054504994833, + 0.003711945227838059, + 0.0038100829008698056, + 0.003902740129572139, + 0.003989186623141817, + 0.004068696808827738, + 0.004140557826663106, + 0.0042040777747107475, + 0.0042585940634698085, + 0.00430348172836634, + 0.004338161545569724, + 0.004362107795205491, + 0.004374855519055682, + 0.004376007127763472, + 0.004365238223230614, + 0.004342302516250124, + 0.004307035737297408, + 0.004259358457913646, + 0.004199277762755725, + 0.004126887735396665, + 0.0040423687460909045, + 0.003945985554094777, + 0.003838084262034405, + 0.003719088183782303, + 0.0035894927087857537, + 0.0034498592670237395, + 0.0033008085151056328, + 0.00314301287930491, + 0.0029771886010556943, + 0.002804087437946669, + 0.0026244881753161187, + 0.00243918810235622, + 0.002248994601472919, + 0.002054716989442288, + 0.0018571587382070918, + 0.001657110185918984, + 0.0014553418339080123, + 0.0012525983041140614, + 0.0010495930145263716, + 0.0008470036085353919, + 0.0006454681573627756, + 0.00044558213484996727, + 0.0002478961497108147, + 5.2914404870320025e-05, + -0.00013890615764104722, + -0.00032715607808157793, + -0.000511473024990073, + -0.000691540929861822, + -0.0008670886767504821, + -0.0010378884144138297, + -0.0012037535573778788, + -0.001364536539907025, + -0.0015201263842256425, + -0.0016704461383482085, + -0.0018154502357085032, + -0.0019551218216368607, + -0.002089470087145136, + -0.0022185276446218243, + -0.002342347973797337, + -0.0024610029622801383, + -0.00257458055902194, + -0.0026831825547078544, + -0.002786922499680823, + -0.0028859237652876443, + -0.0029803177524049228, + -0.003070242247549595, + -0.0031558399250527164, + -0.003237256991788812, + -0.0033146419693521126, + -0.003388144608024107, + -0.0034579149251056777, + -0.0035241023604556583, + -0.0035868550410930976, + -0.0036463191471441583, + -0.0037026383706946567, + -0.003755953459990952, + -0.0038064018409471796, + -0.0036935918121654325, + -0.0037575701620241224, + -0.003825141026510659, + -0.0038964702174280465, + -0.003971726472387766, + -0.004051080799172455, + -0.004134705700046292, + -0.004222774263891403, + -0.004315459113639169, + -0.004412931196166838, + -0.004515358401769748, + -0.004622904000440658, + -0.004735724882644564, + -0.004853969593066462, + -0.004977776147013573, + -0.005107269620872718, + -0.00524255951028244, + -0.005383736852606195, + -0.005530871113933198, + -0.005684006845273223, + -0.005843160117915627, + -0.006008314754150082, + -0.006179418376717453, + -0.006356378308503402, + -0.006539057363058821, + -0.006727269576492331, + -0.006920775941979847, + -0.0071192802194231086, + -0.007322424904417105, + -0.0075297874523215505, + -0.00774087686447636, + -0.007955130753999812, + -0.008171913017558161, + -0.008390512246396385, + -0.008610141014084732, + -0.008829936179121624, + -0.009048960337043001, + -0.009266204548327479, + -0.009480592454537596, + -0.009690985875364233, + -0.00989619195322982, + -0.010094971879862672, + -0.010286051201037018, + -0.010468131652105823, + -0.010639904429051321, + -0.010800064748899765, + -0.010947327501277629, + -0.01108044374169012, + -0.011198217729111483, + -0.011299524168171263, + -0.011383325282068939, + -0.011448687318705346, + -0.011494796081382899, + -0.011520971078383548, + -0.01152667790370947, + -0.011511538494470805, + -0.01147533895828012, + -0.011418034725103991, + -0.011339752850210114, + -0.011240791375227401, + -0.011121615739571331, + -0.010982852320833568, + -0.010825279266427361, + -0.010649814856120585, + -0.01045750370275957, + -0.010249501153759307, + -0.010027056296702362, + -0.009791493997470663, + -0.009544196408265435, + -0.009286584376157007, + -0.009020099161566878, + -0.008746184842210928, + -0.00846627173377097, + -0.008181761106598878, + -0.007894011420791363, + -0.0076043262427864045, + -0.007313943947756726, + -0.007024029255783222, + -0.006735666597959659, + -0.006449855262690631, + -0.0061675062334575715, + -0.0058894405978511775, + -0.005616389383822189, + -0.005348994662725206, + -0.005087811749304226, + -0.00483331232562403, + -0.0045858883182098055, + -0.0043458563644138345, + -0.004113462714298492, + -0.0038888884272081582, + -0.003672254736813362, + -0.003463628473982394, + -0.003263027452694877, + -0.0030704257398257813, + -0.0028857587445308614, + -0.0027089280768696085, + -0.002539806137954797, + -0.0023782404152081255, + -0.002224057466158683, + -0.0020770665826523897, + -0.0019370631343999434, + -0.0018038315965464163, + -0.0016771482705365273, + -0.001556783711055075, + -0.0014425048744168818, + -0.0013340770055506467, + -0.0012312652818212751, + -0.0011338362324628893, + -0.001041558952469032, + -0.0009542061294877125, + -0.0008715549016959711, + -0.0007933875638456424, + -0.0007194921377366608, + -0.0006496628223477044, + -0.00058370033777134, + -0.0005214121759921415, + -0.0004626127704523357, + -0.0004071235952694833, + -0.0003547732039422821, + -0.00030539721639409546, + -0.00025883826228328646, + -0.00021494588764550324, + -0.00017357643113682594, + -0.0001345928754152319, + -9.786467852879604e-05, + -6.326758956897527e-05, + -3.0683452303127444e-05, + 0.0 + ], + "relative_current_certified": true, + "relative_current_status": "certified", + "report_contact_current_A_m2": [ + 4.3166079813947145e-05, + 4.3166079813996266e-05 + ], + "sheet_charge_derivative_C_m2_s": [ + 1.1736503134211863e-11 + ], + "trace_potential_derivative_V_s": [ + [ + -0.0037499968187337854, + -0.0037499968187337854 + ] + ] + }, + "schema": "R1IdealStepV1", + "voltage_jump_V": 0.005, + "zero_minus": { + "direct_poisson_residual_C_m2": [ + 4.6454463200978034e-21, + -3.533715576826534e-21, + 1.2983426894632322e-20, + -9.502650877009182e-21, + -1.7470054537119944e-21, + 5.320425699941074e-21, + -4.46412832982618e-20, + 6.748470309452621e-20, + -5.370718281184298e-20, + 6.191281448836902e-20, + -7.763586357177697e-20, + 3.674005408715528e-20, + 3.2160782216061716e-20, + 9.60852999541597e-21, + -8.025637175234496e-20, + 9.216777257310856e-20, + -1.0601146730479603e-19, + 9.211483301390516e-20, + -7.332128949670037e-20, + 1.0352330802223652e-19, + -8.189749808765016e-20, + -2.1519930816179568e-20, + 9.60323603949563e-20, + -8.915021769851511e-20, + 5.140431198649535e-20, + -7.697411908173454e-20, + 6.924494343803905e-20, + -4.0075246316969085e-20, + 1.061967557620079e-19, + -1.2006692027329707e-19, + 6.670384459627615e-20, + 3.282252670610414e-21, + -8.523269031746397e-20, + 6.675678415547955e-20, + -1.911118087242515e-20, + -5.346895479542771e-21, + 4.425747149403719e-20, + 6.305101501124198e-20, + -9.820288232229545e-20, + -8.285041015331125e-20, + 1.5357766124904533e-19, + -1.3033719475875546e-19, + 1.0741436562368596e-19, + -3.494010907423989e-21, + -1.1609645333304254e-19, + 7.326834993749698e-20, + -2.2234614865425384e-20, + 8.41209595741927e-20, + -1.0069104160485495e-19, + 1.0646145355802487e-19, + -1.4240741425712924e-19, + 7.686823996332776e-20, + 5.61159327555974e-21, + -4.854557578951209e-20, + 1.699889246020974e-19, + -2.1961976135527906e-19, + 2.3258995336011053e-19, + -2.276665743541949e-19, + 1.9005301754018364e-20, + 2.3764568126403464e-19, + -1.6125389733353743e-19, + -1.0331154978542294e-19, + 2.0220926382226293e-19, + -2.334728515339437e-19, + 1.63431036705777e-19, + -1.1850520327679696e-19, + 9.511915299869776e-20, + 1.0042634380883798e-19, + -1.1741994231312738e-19, + -8.433271781100628e-20, + 6.823909181317457e-20, + 3.237254045287529e-20, + 8.941491549453208e-20, + -2.0270557218979475e-19, + 2.3918092848093306e-19, + -2.661801036746639e-19, + 2.582391697941548e-19, + -2.5379224682106974e-19, + 1.0656733267643166e-19, + 1.9762337450626895e-19, + -3.171608991875321e-19, + 3.7872960654107904e-19, + -3.288605417714821e-19, + -2.0752307207730358e-20, + 2.4087499437544166e-19, + -2.2155205526620293e-19, + 2.0297026998581172e-19, + -2.030761491042185e-19, + 1.7364175418713157e-19, + 1.0100867896007532e-19, + -4.652328462794245e-19, + 4.129285617864714e-19, + -3.0969642133985356e-20, + -5.640180637529572e-19, + 2.796796912715293e-19, + 5.059433673068343e-19, + -7.376068783808854e-19, + 1.2186686528621246e-18, + -1.6679137522621242e-18, + 1.2436561248061265e-18, + -7.51265284655361e-19, + 7.444360815181232e-19, + -4.317750448628796e-19, + -4.6957389013410275e-20, + 8.326333871509772e-19, + -1.2297594905152356e-18, + 1.3822254210210097e-18, + -9.038106244999402e-19, + -7.381098041933177e-19, + -4.513097422089319e-20, + 1.0422475718168149e-18, + 1.4849016960959919e-18, + -1.7702194504226826e-18, + -2.112844277587047e-18, + 4.280983924762039e-18, + -2.0495815043389915e-18, + -1.715876992900399e-18, + 2.7308077521682626e-18, + -7.358598729271734e-19, + -3.826471339221302e-19, + -4.223518033246755e-19, + 1.0480709233291882e-18, + -9.889903752582007e-19, + -2.0827084335105152e-18, + 5.628401585606817e-18, + -5.258923167036531e-18, + 1.5546912639028244e-18, + 2.332912224194554e-18, + -1.63091271104822e-18, + -6.589209984958512e-20, + 9.554719391292113e-19, + -5.189053394870365e-19, + -2.692566949032014e-18, + 3.3342434402529984e-18, + -2.532005095644945e-18, + 1.8545874744140685e-18, + 6.694248833860194e-19, + -1.1993662078244544e-18, + -5.727419122869176e-19, + 4.558694880622722e-19, + -6.87614389995805e-19, + 8.781469937767797e-19, + 6.384909929715866e-19, + -1.4924658534551046e-18, + 2.1836823351768772e-18, + -2.041209101930087e-18, + 1.9977454331434512e-19, + 1.2936934252523851e-18, + -8.054000167573257e-19, + 6.5953778036272305e-21, + -5.954504609902766e-19, + 1.2089750839634568e-18, + -7.936899807254512e-19, + 1.8903212038069269e-19, + 2.596582785280016e-19, + -4.237860993250266e-19, + -3.3014945465623586e-20, + 6.475438793700026e-19, + -1.2108429020497841e-18, + 9.96511807781708e-19, + -2.89006122405133e-19, + -1.4057853849981678e-19, + 7.721015439761427e-19, + -9.610288815795653e-19, + 9.977916091959998e-20, + 3.1632629473121777e-19, + -6.957968391299611e-20, + 4.969841405593731e-19, + -9.290067027440159e-19, + 5.139108614579683e-19, + -2.9092616784830307e-20, + 1.306847714568777e-19, + -1.91645333704146e-19, + -1.44408198872025e-19, + 3.163929532584056e-19, + -3.293724979066215e-19, + 2.041848654167e-19, + 3.8323572242858903e-19, + -6.680063291667604e-19, + 7.424383761152748e-19, + -1.0092249530995885e-18, + 5.255470791399891e-19, + 2.489629442948864e-19, + -1.0142257222798805e-19, + -1.46581094974866e-19, + 1.566345453867583e-19, + -5.889887127234235e-19, + 2.140202206906653e-19, + 4.984603983899323e-19, + -3.41063074684112e-19, + 1.3807819528522804e-19, + -3.3205358265792294e-19, + 4.245101799808751e-19, + -1.4151747226735944e-19, + 4.583250831823428e-19, + -7.959905789685514e-19, + 5.810292351065759e-19, + -6.014449456273539e-19, + 3.2057339301585605e-19, + 3.097599495350325e-19, + -2.454457338770889e-19, + -7.633245158648502e-19, + 1.346372753147806e-18, + -6.962114293099408e-19, + 1.7272759799561763e-19, + -2.542253663416625e-19, + 2.2803256115749187e-19, + 1.379925360981812e-19, + -3.757153125403804e-19, + 2.4616376774409935e-19, + -1.3847081534574424e-19, + -8.569428316455914e-19, + 9.657874032707269e-19, + 8.908159170206795e-19, + -1.554516421962133e-18, + 9.60278761440326e-20, + 1.5257020393930729e-18, + -1.6537190214787726e-18, + 1.5260353428514688e-18, + -2.185037563610512e-18, + 1.2296315475107697e-18, + 4.954559482935774e-19, + -1.5428329930118896e-19, + -1.8984624520911184e-19, + -9.831042972593738e-19, + 1.7475695515033728e-18, + -1.0704239584441148e-18, + 1.359909876780669e-18, + -2.212914885248899e-18, + 1.2743016456003233e-18, + -1.3785479865970719e-18, + 3.823158757090841e-18, + -3.0055498071752085e-18, + -1.876211353110977e-18, + 2.983372616424996e-18, + -1.3936539251028246e-18, + -3.3049739322580944e-20, + 3.705664937793468e-18, + -3.203701759436602e-18, + 5.662341351952728e-20, + 8.806549508740468e-19, + -1.075543873030887e-18, + -2.7027733590574228e-18, + 2.215933773238632e-18, + 2.581863783364039e-18, + -3.1445184120090355e-18, + 5.4029694213461334e-18, + -6.712346018177334e-18, + 3.3288803844563112e-18, + -3.946406765343029e-18, + 9.385903158918697e-18, + -7.337361525963987e-18, + -7.173638079125476e-19, + 2.710964589783934e-18 + ], + "electrode_charge_C_m2": [ + 4.949047585356925e-05, + -4.9490475554456087e-05 + ], + "electron_density_m3": [ + 2515095827087.2163, + 2508690631696.646, + 2501917204129.2607, + 2494757275493.3613, + 2487192033991.0034, + 2479202157038.6416, + 2470767851312.4585, + 2461868901500.0137, + 2452484728555.2803, + 2442594458251.8047, + 2432177000815.2935, + 2421211142384.193, + 2409675648989.5396, + 2397549383668.6123, + 2384811437214.326, + 2371441272924.3706, + 2357418885534.567, + 2342724974307.4097, + 2327341129989.365, + 2311250035052.0957, + 2294435676291.0874, + 2276883568473.573, + 2258580987303.9023, + 2239517209522.983, + 2219683757476.8037, + 2199074644994.499, + 2177686620921.2935, + 2155519406170.9656, + 2132575919715.1453, + 2108862488540.9114, + 2084389036298.3472, + 2059169245161.9558, + 2033220685364.3179, + 2006564906951.5332, + 1979227488586.0938, + 1951238038697.5344, + 1922630144963.5725, + 1893441269008.7097, + 1863712584313.4111, + 1833488756628.4297, + 1802817667649.507, + 1771750084287.578, + 1740339277514.8389, + 1708640596411.1902, + 1676711004611.8428, + 1644608587781.8958, + 1612392041950.868, + 1580120153449.2964, + 1547851281747.1262, + 1515642856648.011, + 1483550901017.843, + 1451629589515.6409, + 1419930852661.7512, + 1388504034069.1252, + 1357395606835.0393, + 1326648953027.926, + 1296304208003.2842, + 1266398169047.0623, + 1236964265685.2722, + 1208032587017.3018, + 1179629959721.1523, + 1151780069020.0222, + 1124503613948.3423, + 1097818487742.7344, + 1071739974118.8923, + 1046280950558.4292, + 1021452090480.1692, + 997262057243.1061, + 973717684246.0251, + 950824136863.0034, + 928585053490.0447, + 907002664487.3279, + 886077889200.5787, + 865810412465.1154, + 846198742985.4603, + 827240256708.9993, + 808931228761.7195, + 791266857693.8746, + 774241285715.8658, + 757847618327.4086, + 742077946298.5299, + 726923372403.0231, + 712374044679.454, + 698419197352.8784, + 685047199930.4269, + 672245614420.5812, + 660001260142.3297, + 648300285202.4563, + 637128243432.2267, + 626470175388.9976, + 616310691935.4205, + 606634058900.0874, + 597424281381.4108, + 588665186370.1891, + 580340502517.5531, + 572433936050.9673, + 564929242029.2695, + 557810290317.698, + 551061125846.0918, + 544666022883.9592, + 538609533217.79285, + 532876528248.72394, + 527452235139.79785, + 522322267232.4558, + 517472649022.1628, + 512889836034.89526, + 508560729981.61743, + 504472689588.7589, + 500613537511.6615, + 496971563736.58417, + 493535525868.1365, + 490294646682.96277, + 487238609311.59143, + 484357550386.4812, + 481642051469.93933, + 479083129049.43365, + 476672223361.49316, + 474401186279.84064, + 472262268478.3778, + 470248106055.69525, + 468351706785.7396, + 466566436138.2424, + 464886003193.3712, + 463304446557.7517, + 461816120372.8127, + 460415680492.35834, + 459098070893.27466, + 457858510372.19836, + 21799211820636.355, + 21740215831273.977, + 21677749190110.21, + 21611629734458.047, + 21541668551084.117, + 21467670101502.91, + 21389432410726.027, + 21306747327565.45, + 21219400865094.94, + 21127173630339.2, + 21029841352679.387, + 20927175520747.004, + 20818944137806.434, + 20704912605665.945, + 20584844747007.61, + 20458503975699.49, + 20325654624005.395, + 20186063434701.074, + 20039501224803.75, + 19885744725935.52, + 19724578604218.004, + 19555797659945.785, + 19379209204149.504, + 19194635605439.727, + 19001916996271.113, + 18800914122895.87, + 18591511317945.59, + 18373619568710.875, + 18147179647920.957, + 17912165267331.523, + 17668586207739.18, + 17416491372471.365, + 17155971705149.043, + 16887162906804.27, + 16610247882698.617, + 16325458845624.227, + 16033079000528.908, + 15733443735312.555, + 15426941244884.584, + 15114012520409.7, + 14795150643237.29, + 14470899333509.21, + 14141850716814.3, + 13808642288384.348, + 13471953072963.822, + 13132498999067.992, + 12791027528383.49, + 12448311603655.41, + 12105143000772.22, + 11762325191844.56, + 11420665844891.908, + 11080969101361.58, + 10744027784134.918, + 10410615695284.697, + 10081480164037.78, + 9757335000995.506, + 9438854004592.014, + 9126665150511.533, + 8821345574810.764, + 8523417437819.2705, + 8233344729497.923, + 7951531049111.901, + 7678318364017.232, + 7413986725373.32, + 7158754893736.535, + 6912781805764.311, + 6676168795369.687, + 6448962469109.362, + 6231158126553.759, + 6022703611870.292, + 5823503482561.221, + 5633423384811.669, + 5452294531625.266, + 5279918189189.976, + 5116070088033.601, + 4960504687804.226, + 4812959237282.972, + 4673157583983.047, + 4540813699891.58, + 4415634901240.504, + 4297324750357.685, + 4185585636502.104, + 4080121040049.225, + 3980637490442.7734, + 3886846233047.8228, + 3798464623509.5303, + 3715217270569.4175, + 3636836949680.1875, + 3563065310312.195, + 3493653399745.203, + 3428362025500.035, + 3366961977527.8296, + 3309234129961.15, + 3254969440721.915, + 3203968865675.293, + 3156043202370.2734, + 3111012876776.559, + 3068707684849.5845, + 3028966499257.373, + 2991636950213.222, + 2956575088070.922, + 2923645034182.4326, + 2892718625468.232, + 2863675057228.5137, + 2836400527904.354, + 2810787888784.7427, + 2786736301042.4497, + 2764150901949.6064, + 2742942481674.657, + 2723027171682.253, + 2704326145438.9585, + 2686765331862.926, + 2670275141738.2505, + 2654790207140.753, + 2640249133774.399, + 2626594266011.937, + 2613771464341.5967, + 2601729894856.4185, + 2590421830376.7974, + 2579802462757.5044, + 2569829725914.7524, + 2560464129089.3286, + 2551668599864.51, + 2543408336451.9766, + 2535650668771.033, + 2528364927853.022, + 2521522323118.466, + 2515095827087.2163 + ], + "electrostatic_potential_V": [ + 0.0, + -6.592127310842491e-05, + -0.00013581568928608024, + -0.00020990440609618236, + -0.00028841856185545016, + -0.0003715994240758543, + -0.00045969849557844994, + -0.000552977571161631, + -0.0006517087370874158, + -0.0007561743050335873, + -0.0008666666715599128, + -0.0009834880935696542, + -0.0011069503697331566, + -0.0012373744174013848, + -0.0013750897342015972, + -0.0015204337333053048, + -0.0016737509413259672, + -0.0018353920479789124, + -0.0020057127970616443, + -0.00218507270903369, + -0.0023738336265391917, + -0.0025723580756698908, + -0.0027810074376578824, + -0.0030001399280594264, + -0.003230108383380083, + -0.0034712578585249236, + -0.00372392304244869, + -0.003988425503925857, + -0.004265070784432203, + -0.004554145360673333, + -0.0048559135052247205, + -0.005170614079938501, + -0.005498457303060356, + -0.005839621537179042, + -0.00619425015095302, + -0.006562448512733978, + -0.006944281178414515, + -0.007339769338719255, + -0.00774888859237951, + -0.008171567110832438, + -0.008607684256949208, + -0.009057069714562495, + -0.009519503177057104, + -0.009994714631948398, + -0.010482385264284699, + -0.010982148985120361, + -0.01149359457264693, + -0.012016268393459276, + -0.01254967765067109, + -0.013093294085135628, + -0.013646558036948201, + -0.014208882757843029, + -0.01477965885217951, + -0.015358258715984324, + -0.015944040840848956, + -0.016536353852994037, + -0.01713454016779492, + -0.017737939156426043, + -0.01834588974352321, + -0.018957732381969176, + -0.019572810381784735, + -0.020190470603049817, + -0.020810063555962006, + -0.021430942982641994, + -0.022052465023229398, + -0.022673987091461942, + -0.023294866600879188, + -0.02391445969102917, + -0.024532120103055992, + -0.025147198345809536, + -0.025759041277669956, + -0.02636699220662989, + -0.02697039158324344, + -0.02756857832954881, + -0.028160891813888263, + -0.028746674448607044, + -0.029325274856735806, + -0.029896051526555, + -0.030458376850697952, + -0.031011641430086417, + -0.03155525851300936, + -0.03208866843614384, + -0.03261134293698413, + -0.03312278921537351, + -0.03362255363475117, + -0.03411022497029034, + -0.03458543713018368, + -0.03504787129678997, + -0.03549725745511926, + -0.035933375296243915, + -0.03635605450188246, + -0.03676517443299265, + -0.03716066325929868, + -0.03754249657801662, + -0.03791069557854878, + -0.038265324815651744, + -0.03860648965671942, + -0.038934333469621454, + -0.03924903461631659, + -0.03955080331456852, + -0.03983987842588428, + -0.04011652422261972, + -0.040381027181375005, + -0.040633692843623455, + -0.040874842778229184, + -0.041104811674318224, + -0.04132394458703852, + -0.041532594353200704, + -0.04173111918871939, + -0.041919880475230084, + -0.042099240739265395, + -0.04226956182394077, + -0.04243120325021111, + -0.04258452076238766, + -0.042729865050712655, + -0.04286758064233497, + -0.042998004950966, + -0.04312146747477376, + -0.043238289131647664, + -0.04334878172079151, + -0.04345324749963472, + -0.0435519788652539, + -0.043645258129832734, + -0.04373335738012683, + -0.04381653841141481, + -0.04389505272698365, + -0.043969141594796375, + -0.04403903615360535, + -0.04417098013672001, + -0.04424103917608043, + -0.0443154272183328, + -0.04439439908279837, + -0.04447822294582017, + -0.04456718082568137, + -0.04466156905510166, + -0.044761698735909294, + -0.0448678961697472, + -0.04498050325787024, + -0.04509987786222858, + -0.045226394119109135, + -0.045360442695627654, + -0.04550243097833257, + -0.04565278318210574, + -0.045811940366435155, + -0.04598036034500434, + -0.046158517473409336, + -0.04634690229869933, + -0.0465460210533673, + -0.04675639497542426, + -0.04697855943531347, + -0.04721306284970169, + -0.047460465361675176, + -0.04772133726662414, + -0.04799625716318471, + -0.04828580980909063, + -0.0485905836627422, + -0.04891116809280502, + -0.04924815024028527, + -0.04960211152037137, + -0.04997362375495872, + -0.05036324493125367, + -0.05077151458724116, + -0.051198948831136896, + -0.05164603500924685, + -0.052113226044911296, + -0.05260093448037077, + -0.05310952626336759, + -0.05363931433095231, + -0.054190552054109865, + -0.054763426618210646, + -0.05535805242562378, + -0.05597446461774584, + -0.056612612823788114, + -0.05727235525247753, + -0.05795345324987956, + -0.05865556645135115, + -0.05937824865769442, + -0.06012094456445692, + -0.06088298746862276, + -0.06166359806836553, + -0.06246188445891, + -0.0632768434108469, + -0.06410736299660105, + -0.06495222660648942, + -0.06581011836843287, + -0.06667962995559854, + -0.06755926873490876, + -0.06844746717745855, + -0.06934259342053188, + -0.07024296284124425, + -0.07114685047500048, + -0.07205250408900997, + -0.07295815770298829, + -0.07386204533665124, + -0.07476241475720878, + -0.07565754100006679, + -0.07654573944234214, + -0.0774253782213206, + -0.07829488980809927, + -0.07915278156960295, + -0.07999764517900147, + -0.0808281647642187, + -0.08164312371557482, + -0.08244141010549806, + -0.08322202070458268, + -0.08398406360805713, + -0.08472675951409868, + -0.0854494417196953, + -0.08615155492039825, + -0.08683265291701338, + -0.08749239534490132, + -0.08813054355013109, + -0.08874695574143307, + -0.08934158154802184, + -0.0899144561112971, + -0.0904656938336309, + -0.09099548190039643, + -0.09150407368258112, + -0.09199178211723785, + -0.0924589731521111, + -0.09290605932944326, + -0.09333349357257632, + -0.09374176322781773, + -0.09413138440338444, + -0.0945028966372625, + -0.09485685791665914, + -0.09519384006347048, + -0.0955144244928855, + -0.09581919834591078, + -0.09610875099121219, + -0.09638367088719017, + -0.09664454279157846, + -0.09689194530301311, + -0.09712644871688415, + -0.09734861317627758, + -0.09755898709785986, + -0.09775810585207377, + -0.09794649067692993, + -0.09812464780492082, + -0.09829306778309506, + -0.09845222496704818, + -0.0986025771704631, + -0.09874456545282721, + -0.09887861402902175, + -0.09900513028559454, + -0.09912450488966072, + -0.09923711197750656, + -0.09934330941108165, + -0.09944343909164019, + -0.09953782732082457, + -0.0996267852004624, + -0.09971060906327285, + -0.0997895809275385, + -0.09986396896960184, + -0.0999340280087836, + -0.09999999999999964 + ], + "full_charge_C_m2": -2.9911240930105064e-13, + "gauss_error_C_m2": -7.554912022757491e-19, + "gauss_normalized": 4.7154051946793595e-15, + "hole_density_m3": [ + 2515095827087.2163, + 2521517376239.463, + 2528343867252.1826, + 2535600189073.5825, + 2543312672678.547, + 2551509162524.7666, + 2560219089816.9023, + 2569473547345.592, + 2579305365609.43, + 2589749189870.2666, + 2600841557715.43, + 2612620976629.159, + 2625128000980.195, + 2638405307741.533, + 2652497770152.43, + 2667452528413.5786, + 2683319056389.6597, + 2700149223158.2173, + 2717997348106.873, + 2736920248142.079, + 2756977275423.2095, + 2778230343898.3184, + 2800743942775.3574, + 2824585134940.009, + 2849823538220.4927, + 2876531287313.9463, + 2904782974141.502, + 2934655564390.124, + 2966228288049.925, + 2999582501869.4297, + 3034801521846.846, + 3071970424162.2466, + 3111175813338.698, + 3152505556921.659, + 3196048486579.4707, + 3241894066250.5356, + 3290132028809.6787, + 3340851983655.828, + 3394142998630.8657, + 3450093160726.0225, + 3508789121066.956, + 3570315630640.5156, + 3634755074055.5957, + 3702187009261.2847, + 3772687721459.2773, + 3846329799403.1855, + 3923181741762.7197, + 4003307600211.144, + 4086766664311.488, + 4173613191138.8545, + 4263896179920.0967, + 4357659188859.0986, + 4454940187911.786, + 4555771437729.7705, + 4660179381558.677, + 4768184533790.243, + 4879801346434.432, + 4995038033235.377, + 5113896330798.029, + 5236371177073.222, + 5362450290024.977, + 5492113633306.382, + 5625332761209.474, + 5762070041884.159, + 5902277765514.964, + 6045897152467.5205, + 6192857284863.386, + 6343073993171.592, + 6496448736658.453, + 6652867522440.93, + 6812199912027.99, + 6974298166232.389, + 7138996578975.091, + 7306111047687.907, + 7475438922780.2, + 7646759171142.285, + 7819832879262.933, + 7994404110612.954, + 8170201120051.015, + 8346937915715.048, + 8524316146720.175, + 8702027283635.226, + 8879755048648.73, + 9057178044001.918, + 9233972521049.365, + 9409815228376.953, + 9584386275906.818, + 9757371952750.31, + 9928467439650.898, + 10097379361875.836, + 10263828135032.535, + 10427550064171.508, + 10588299165192.426, + 10745848686629.28, + 10899992318962.803, + 11050545087293.77, + 11197343931266.57, + 11340247983292.71, + 11479138562216.635, + 11613918904556.387, + 11744513659186.791, + 11870868173977.332, + 11992947604390.713, + 12110735874558.635, + 12224234521010.447, + 12333461448098.715, + 12438449622504.135, + 12539245732051.46, + 12635908831605.023, + 12728508996179.402, + 12817125998663.074, + 12901848026826.057, + 12982770451646.291, + 13059994656480.348, + 13133626934295.629, + 13203777458053.055, + 13270559327474.787, + 13334087693760.3, + 13394478962424.215, + 13451850073229.49, + 13506317855218.848, + 13557998454071.36, + 13607006828410.482, + 13653456311253.195, + 13697458232466.842, + 13739121597949.793, + 13778552821143.564, + 13815855502492.732, + 290180538265.99115, + 290967995395.2472, + 291806449295.52466, + 292699213229.54645, + 293649816627.8212, + 294662019211.8373, + 295739826023.1233, + 296887503410.5536, + 298109596029.39276, + 299410944907.1897, + 300796706631.8759, + 302272373718.29016, + 303843796208.03485, + 305517204556.64307, + 307299233859.4539, + 309196949463.3279, + 311217874006.2341, + 313370015918.59985, + 315661899410.68384, + 318102595957.19604, + 320701757273.9108, + 323469649760.915, + 326417190361.98975, + 329555983759.3718, + 332898360786.029, + 336457417894.6302, + 340247057469.6934, + 344282028708.9713, + 348577968729.3917, + 353151443470.2788, + 358019987873.3097, + 363202144711.4427, + 368717501319.25195, + 374586723343.2036, + 380831584482.7307, + 387474991032.83, + 394540999866.7426, + 402054828315.1392, + 410042854211.3144, + 418532604181.46356, + 427552728074.7983, + 437132957254.5065, + 447304044318.84424, + 458097681703.3303, + 469546396540.6217, + 481683419143.4813, + 494542522539.90656, + 508157830649.2136, + 522563592957.9715, + 537793923954.2584, + 553882506121.293, + 570862255988.0336, + 588764953593.2751, + 607620836737.8927, + 627458162570.6604, + 648302740355.6886, + 670177440675.5829, + 693101687788.7157, + 717090943331.698, + 742156190968.9143, + 768303432871.0387, + 795533209970.2169, + 823840158714.4127, + 853212617445.9954, + 883632295497.9269, + 915074017579.8136, + 947505554987.5366, + 980887553609.0275, + 1015173566640.5638, + 1050310197427.1599, + 1086237354981.4829, + 1122888621627.746, + 1160191728990.294, + 1198069135342.98, + 1236438694300.6128, + 1275214402104.0803, + 1314307208460.3555, + 1353625874133.138, + 1393077857329.0203, + 1432570210411.324, + 1472010468614.8296, + 1511307513193.0671, + 1550372392745.658, + 1589119088270.532, + 1627465209649.5527, + 1665332613705.6755, + 1702647936539.9224, + 1739343035459.4631, + 1775355338341.7637, + 1810628100652.4126, + 1845110572472.731, + 1878758079755.4583, + 1911532025562.6362, + 1943399818247.9429, + 1974334734418.3425, + 2004315725064.5447, + 2033327173510.3147, + 2061358613828.6257, + 2088404418151.9753, + 2114463460891.9895, + 2139538767339.212, + 2163637153455.9543, + 2186768862957.5393, + 2208947207016.7876, + 2230188211161.9976, + 2250510273188.3203, + 2269933835180.183, + 2288481072070.6855, + 2306175598547.246, + 2323042195552.7686, + 2339106557144.1494, + 2354395058039.811, + 2368934541828.2715, + 2382752129502.6694, + 2395875047747.058, + 2408330476198.324, + 2420145412765.2275, + 2431346555977.0073, + 2441960203261.6323, + 2452012164015.7334, + 2461527686308.6074, + 2470531396074.1904, + 2479047247660.4946, + 2487098484649.6377, + 2494707609901.1533, + 2501896363830.9556, + 2508685709991.6157, + 2515095827087.2163 + ], + "interface_occupancy": [ + 7.928333613737113e-05 + ], + "interface_reference_occupancy": [ + 7.928011033749389e-05 + ], + "interface_sheet_charge_C_m2": [ + -2.5841505946391707e-13 + ], + "interface_trace_density_m3": [ + [ + 456691585972.8081, + 13851157354727.346, + 21854912500942.438, + 289440967545.14105 + ] + ], + "interface_trace_potential_V": [ + [ + -0.044105008145334926, + -0.044105008145334926 + ] + ], + "label": "0-", + "local_residual": [ + 0.0, + -1.6347696640340648e-17, + 150.39747423612917, + -4030.225580068659, + -2701.848839167177, + 116.46693865390124 + ], + "negative_ion_density_m3": null, + "physical_displacement_C_m2": [ + 4.949047585356925e-05, + 4.9490475554456087e-05 + ], + "positive_ion_component_inventory_m2": [ + 999999999999999.8 + ], + "positive_ion_density_m3": [ + 5.975968276481229e+21, + 5.986658954600301e+21, + 5.998005926241845e+21, + 6.010047230742219e+21, + 6.022822816989956e+21, + 6.036374599741151e+21, + 6.050746511801418e+21, + 6.065984550996106e+21, + 6.082136820722963e+21, + 6.099253562741999e+21, + 6.117387180701065e+21, + 6.136592252750241e+21, + 6.156925531427654e+21, + 6.178445928844416e+21, + 6.201214485035359e+21, + 6.225294317173934e+21, + 6.25075054722267e+21, + 6.277650205443065e+21, + 6.30606210709443e+21, + 6.336056699566494e+21, + 6.367705877178135e+21, + 6.401082760870131e+21, + 6.436261440138111e+21, + 6.473316674705153e+21, + 6.512323553704559e+21, + 6.553357110517648e+21, + 6.596491891926686e+21, + 6.641801480858361e+21, + 6.689357972820496e+21, + 6.73923140704937e+21, + 6.791489154536613e+21, + 6.84619526634206e+21, + 6.903409787049413e+21, + 6.963188039751546e+21, + 7.02557989058836e+21, + 7.090629002550537e+21, + 7.158372089916621e+21, + 7.228838186258646e+21, + 7.302047940336976e+21, + 7.378012955306262e+21, + 7.45673518736025e+21, + 7.538206420157169e+21, + 7.622407830981198e+21, + 7.709309663532688e+21, + 7.798871020419183e+21, + 7.891039785850308e+21, + 7.985752685720036e+21, + 8.08293548826576e+21, + 8.182503343965175e+21, + 8.284361258456629e+21, + 8.388404687268741e+21, + 8.49452023634845e+21, + 8.602586448023094e+21, + 8.712474648492751e+21, + 8.824049830504356e+21, + 8.937171543693409e+21, + 9.051694765453078e+21, + 9.167470727097856e+21, + 9.284347673542117e+21, + 9.402171539513892e+21, + 9.5207865312873e+21, + 9.640035609560572e+21, + 9.759760876106433e+21, + 9.879803873649203e+21, + 1.0000005814574731e+22, + 1.0120207759165853e+22, + 1.0240250767667611e+22, + 1.0359976052349643e+22, + 1.047922515574742e+22, + 1.0597840179374294e+22, + 1.0715664083603046e+22, + 1.0832541074324145e+22, + 1.0948317085831575e+22, + 1.106284036256127e+22, + 1.1175962135315821e+22, + 1.1287537380952176e+22, + 1.1397425648552206e+22, + 1.1505491930303762e+22, + 1.1611607551849953e+22, + 1.1715651054969226e+22, + 1.1817509045077681e+22, + 1.1917076977197165e+22, + 1.2014259856487945e+22, + 1.2108972832981653e+22, + 1.2201141674508733e+22, + 1.229070310659224e+22, + 1.2377605013114611e+22, + 1.2461806496392906e+22, + 1.2543277799880553e+22, + 1.2622000100652486e+22, + 1.2697965182197298e+22, + 1.2771175000571879e+22, + 1.2841641158829035e+22, + 1.2909384305657252e+22, + 1.297443347458432e+22, + 1.3036825379868168e+22, + 1.3096603684502187e+22, + 1.3153818254646736e+22, + 1.3208524413430948e+22, + 1.326078220548878e+22, + 1.331065568194133e+22, + 1.3358212213850304e+22, + 1.3403521840528973e+22, + 1.3446656657567357e+22, + 1.348769024797804e+22, + 1.3526697158630477e+22, + 1.3563752422996403e+22, + 1.3598931130296692e+22, + 1.3632308040343937e+22, + 1.366395724272057e+22, + 1.3693951858452063e+22, + 1.3722363781939498e+22, + 1.3749263460652965e+22, + 1.377471970992838e+22, + 1.379879956010099e+22, + 1.382156813320362e+22, + 1.3843088546476994e+22, + 1.3863421840018823e+22, + 1.3882626926002244e+22, + 1.390076055702177e+22, + 1.3917877311281406e+22, + 1.3934029592480203e+22, + 1.3949267642426317e+22, + 1.3963639564562671e+22, + 1.3977191356757298e+22, + 1.398996695185526e+22, + 1.4002008264650713e+22, + 1.4013355244067127e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22 + ], + "rho_C_m3": [ + -644.7209601896523, + -643.008124719198, + -641.1901394339448, + -639.2609097602972, + -637.2140351806719, + -635.0428002107776, + -632.7401660391446, + -630.2987630016655, + -627.7108840843433, + -624.9684796697748, + -622.0631537679387, + -618.9861619951469, + -615.7284115923387, + -612.2804637987156, + -608.6325389225124, + -604.7745244776676, + -600.6959867754974, + -596.3861863841164, + -591.8340978834598, + -587.0284343573406, + -581.9576770659645, + -576.6101107430419, + -570.9738649426888, + -565.0369618367442, + -558.7873708197116, + -552.2130702185462, + -545.3021163219673, + -538.0427198453823, + -530.4233298149735, + -522.4327247079466, + -514.0601105014294, + -505.2952250842658, + -496.128448253544, + -486.550916272581, + -476.554639704949, + -466.13262296829436, + -455.27898378668624, + -443.989070469045, + -432.25957471922516, + -420.08863750689346, + -407.47594541525274, + -394.4228148473777, + -380.9322615348114, + -367.00905296235123, + -352.65974161465226, + -337.8926773618726, + -322.717997833432, + -307.1475962688844, + -291.19506706043404, + -274.87562998274154, + -258.2060349067341, + -241.20444956263836, + -223.8903336149723, + -206.28430287930286, + -188.4079879022617, + -170.28389131307617, + -151.9352482949572, + -133.38589421908856, + -114.660142930703, + -95.78267840769247, + -76.77846155679609, + -57.672652848012355, + -38.4905503663781, + -19.257541766360447, + 0.0009323715145804537, + 19.259407097129728, + 38.49241745431141, + 57.67452284390934, + 76.78033558119186, + 95.78455753955437, + 114.66202819684126, + 133.38778658482815, + 151.93714865606015, + 170.2858004886254, + 188.40990662929687, + 206.2862318089207, + 223.89227330953435, + 241.2064004948942, + 258.20799746015723, + 274.8776044528206, + 291.1970536575634, + 307.14959512221725, + 322.7200089954765, + 337.89470081361964, + 352.6617772718413, + 367.01110068124285, + 380.9343211191935, + 394.42488605444606, + 407.4780279625916, + 420.090731078513, + 432.261678971909, + 443.9911850376043, + 455.2811082895709, + 466.13475701239645, + 476.55678289003345, + 486.5530681950738, + 496.13060851027177, + 505.29739327530314, + 514.0622862326331, + 522.4349075932007, + 530.4255194779573, + 538.0449159209833, + 545.3043184573943, + 552.2152780741644, + 558.7895840696382, + 565.0391801690585, + 570.976088059951, + 576.6123383618401, + 581.9599089172272, + 587.0306701859047, + 591.8363374477339, + 596.3884294556834, + 600.6982331388209, + 604.77677392949, + 608.6347912713998, + 612.2827188645048, + 615.7306692056529, + 618.9884219966933, + 622.0654160083716, + 624.9707440087925, + 627.7131503902938, + 630.3010311511109, + 632.7424359163709, + 635.04507170732, + 637.2163081949137, + 639.2631841969533, + 641.192415203838, + 643.0104017387588, + -3.446126734058885e-06, + -3.4365483699519965e-06, + -3.426405775539521e-06, + -3.415669234298174e-06, + -3.4043079135140126e-06, + -3.3922898820939906e-06, + -3.3795821383990055e-06, + -3.366150649387632e-06, + -3.3519604024405024e-06, + -3.3369754713096253e-06, + -3.321159097704012e-06, + -3.304473790068247e-06, + -3.286881441147437e-06, + -3.2683434659384377e-06, + -3.2488209616037514e-06, + -3.2282748908727597e-06, + -3.2066662903519554e-06, + -3.1839565050218852e-06, + -3.160107449991509e-06, + -3.135081900312526e-06, + -3.108843809318742e-06, + -3.0813586555341914e-06, + -3.052593817695216e-06, + -3.0225189768405825e-06, + -2.9911065437484766e-06, + -2.958332109225762e-06, + -2.9241749139093765e-06, + -2.8886183333090087e-06, + -2.851650372827389e-06, + -2.8132641664673475e-06, + -2.7734584718778802e-06, + -2.732238153356085e-06, + -2.6896146434394364e-06, + -2.645606372828622e-06, + -2.6002391576460267e-06, + -2.553546532489559e-06, + -2.5055700174581997e-06, + -2.4563593073558057e-06, + -2.4059723716688915e-06, + -2.3544754547197156e-06, + -2.3019429666380455e-06, + -2.2484572575050138e-06, + -2.194108269189467e-06, + -2.1389930619999045e-06, + -2.083215216273085e-06, + -2.026884112319821e-06, + -1.9701140956693945e-06, + -1.913023538147747e-06, + -1.8557338088649548e-06, + -1.7983681725016237e-06, + -1.7410506352118784e-06, + -1.6839047608500948e-06, + -1.627052481922252e-06, + -1.5706129305585824e-06, + -1.514701314807253e-06, + -1.459427864634931e-06, + -1.4048968701810312e-06, + -1.3512058321330628e-06, + -1.2984447406542038e-06, + -1.2466954952753345e-06, + -1.1960314737300655e-06, + -1.1465172530827297e-06, + -1.098208481879843e-06, + -1.0511518976673354e-06, + -1.0053854802383267e-06, + -9.60938727578902e-07, + -9.178330387795006e-07, + -8.76082186257616e-07, + -8.356928585197694e-07, + -7.966652543676264e-07, + -7.58993709864792e-07, + -7.226673404418004e-07, + -6.876706821107664e-07, + -6.539843177588664e-07, + -6.215854767571847e-07, + -5.904485985255957e-07, + -5.60545853107629e-07, + -5.318476141343592e-07, + -5.043228816958036e-07, + -4.779396545356945e-07, + -4.5266525259148954e-07, + -4.2846659219831095e-07, + -4.0531041726028825e-07, + -3.8316349037413795e-07, + -3.6199274829917155e-07, + -3.4176542633451946e-07, + -3.224491561286998e-07, + -3.040120412521645e-07, + -2.8642271454598197e-07, + -2.6965038086373303e-07, + -2.536648483786895e-07, + -2.384365511638618e-07, + -2.239365652959927e-07, + -2.1013662029919993e-07, + -1.970091073468775e-07, + -1.8452708528750039e-07, + -1.7266428525690342e-07, + -1.6139511438713865e-07, + -1.506946589173481e-07, + -1.4053868685547274e-07, + -1.3090365022056753e-07, + -1.2176668681558222e-07, + -1.1310562142724809e-07, + -1.0489896632382794e-07, + -9.712592091276104e-08, + -8.976637042618218e-08, + -8.280088351981062e-08, + -7.62107086930762e-08, + -6.99777694651747e-08, + -6.408465827057076e-08, + -5.8514629064504294e-08, + -5.325158865555762e-08, + -4.828008680513108e-08, + -4.358530515500153e-08, + -3.915304505881113e-08, + -3.496971440876576e-08, + -3.102231355693375e-08, + -2.7298420437549625e-08, + -2.3786175000953824e-08, + -2.0474263069594506e-08, + -1.735189972715081e-08, + -1.4408812346861476e-08, + -1.1635223363075744e-08, + -9.021832882171011e-09, + -6.559801224580799e-09, + -4.240731481168785e-09, + -2.0566521611536903e-09, + 0.0 + ], + "time_s": 0.0, + "voltage_V": -0.0 + }, + "zero_plus": { + "direct_poisson_residual_C_m2": [ + 1.1421709898132206e-20, + -1.0309979154860937e-20, + -1.4121627417505288e-20, + 3.1154930591197234e-20, + -6.950964123405602e-20, + 7.98593250583195e-20, + -3.108875614219299e-20, + -7.05419626385222e-21, + 4.793677085867306e-20, + -4.650740276018143e-20, + -9.873227791432938e-21, + -1.0693790959085542e-20, + 4.571330937213052e-20, + 9.60852999541597e-21, + -2.6046263128069735e-20, + -8.401508045578591e-20, + 1.1760523077033926e-19, + -5.69629657028517e-20, + 7.575650922005649e-20, + -1.844943638238273e-20, + -7.512123450961576e-20, + 8.012402285433647e-20, + -8.015049263393817e-20, + 8.025637175234496e-20, + -8.41209595741927e-20, + 3.14460981668159e-20, + 1.4823076576950256e-21, + 1.0222628882175337e-19, + -1.78406314515437e-19, + 6.96684599116662e-20, + 7.348010817431055e-20, + -2.3822801641527197e-20, + -5.812763600532636e-20, + 3.287546626530753e-20, + -5.558653716356346e-21, + 1.4293680984916318e-21, + -9.952637130238029e-21, + 6.982727858927638e-20, + -1.5241299094657067e-19, + 1.5431881507789284e-19, + -1.3780167260643399e-19, + 1.1360829405048303e-19, + -7.554475098324291e-20, + -7.803291026580242e-20, + 2.362692527247464e-19, + -1.096907666694319e-19, + -1.545835128739098e-20, + -1.7522994096323338e-20, + 2.80579663777987e-20, + 3.8698817777680847e-20, + -1.3658406274475593e-20, + -2.4775713707188285e-20, + -1.2991367828512831e-19, + 2.3605749448793283e-19, + -1.2139040925338192e-19, + 4.4654518188062646e-20, + -1.7398586132195363e-19, + 1.7890924032786925e-19, + 4.6110356066155975e-20, + -7.406244332554789e-20, + -7.316247081909019e-20, + 4.5766248931333915e-20, + 1.0056531015174689e-19, + -2.334728515339437e-19, + 2.6507499037629304e-19, + -2.675830019935538e-19, + 1.899868430911794e-19, + 3.943997160652836e-20, + -1.44524996625265e-19, + 8.507387163985379e-20, + -1.079437612157199e-19, + 1.7467407559159775e-19, + -1.4097804615863761e-19, + 1.428838702899598e-19, + -1.606186226230967e-19, + 5.2304284492953046e-20, + -2.228755442462878e-19, + 5.32254328230921e-19, + -4.0842869925418294e-19, + 3.128198553328538e-19, + -4.391336435921513e-19, + 5.684649867260423e-19, + -4.508332861761014e-19, + -6.140988867593677e-20, + 4.1705784740433613e-19, + -2.9609095462458136e-19, + 1.690889520956397e-19, + -3.7248273855507857e-19, + 4.3113977015243887e-19, + 1.5521878758435054e-19, + -7.43059652978835e-19, + 3.72270980318265e-19, + 4.433688083284228e-19, + -2.8619125705354673e-19, + -7.299835818555967e-19, + 9.667292906131737e-19, + 6.040933100699263e-19, + -2.3185409348718336e-18, + 1.3000896949169442e-18, + 9.590530545286816e-19, + -1.808362402828728e-18, + 1.4288387028995979e-18, + -9.128897589033222e-19, + 2.534799034217697e-18, + -3.260229813981802e-18, + 1.0402888081262893e-18, + -8.67494086886412e-19, + 1.2984750383612407e-18, + -1.1243568281412786e-18, + 1.0322949346865768e-18, + 1.0422475718168149e-18, + -1.774481084938556e-18, + 1.0148248801494569e-18, + -1.2996926482229188e-18, + 7.970050638070932e-20, + 1.779007417250446e-18, + -2.5220406004496793e-19, + -1.9651429074095785e-18, + 3.7544735387046863e-19, + 1.3912516158651883e-19, + 1.7325000144902646e-18, + 6.008375271789176e-19, + -2.8321340684835583e-18, + -6.66469345701325e-19, + 3.3448007598092236e-18, + -3.991761877944098e-18, + 3.8450683532784526e-18, + 3.5758871240891437e-20, + -2.891297736562619e-18, + 2.007644555028942e-18, + -5.419133399791468e-20, + -2.727967265926252e-18, + 1.6103604230198317e-18, + 1.1793916224380584e-18, + 1.7850033556881602e-19, + 5.603211310094976e-19, + -3.4302145813247942e-18, + 3.0900086370713225e-18, + -1.8466794649573853e-18, + 2.0889490103685632e-18, + -1.5007660193599333e-18, + 2.6150700817564904e-19, + -3.98277334467677e-19, + 7.369248637182139e-19, + -8.114261663143288e-19, + 1.6785282450912819e-19, + 1.3449630880021592e-18, + -1.4235882695394104e-18, + 7.75161260680258e-21, + 1.246651612583923e-18, + -5.34464088787967e-19, + -7.493650900884856e-19, + -2.9224647595090537e-19, + 1.2461292385540595e-18, + -5.263882965239891e-19, + -2.8148456418630413e-19, + 4.955336136210598e-19, + 2.7484938257811047e-19, + -7.500569787434447e-19, + 2.104652327297172e-19, + 3.0730507246189443e-19, + -6.14916988962225e-19, + 7.414639543859926e-20, + 7.601420672411729e-19, + -6.591623598202531e-19, + 6.560454234394487e-20, + 9.305064195982955e-20, + 5.105366677154419e-19, + -8.002576947613622e-19, + 3.0384669053890185e-19, + 2.758392442267178e-19, + -2.9621983395928967e-19, + -7.644885287756115e-20, + -3.598798162347455e-20, + 4.519182248190937e-19, + -3.4970128864072473e-19, + 1.4319849321439038e-19, + -2.198517360164728e-19, + -1.3268150650204258e-19, + 5.80357547338001e-20, + 5.62868197004393e-19, + -3.01157077380208e-19, + -8.985023460683372e-20, + -3.1826300672508894e-19, + 6.733467979672967e-19, + -1.9573116067103064e-19, + 7.322482143603919e-21, + -6.126839358295318e-19, + 1.0134564303205469e-18, + -9.848081145973803e-19, + 8.902434524470467e-19, + -4.404737999064734e-19, + -8.370958837170511e-20, + -9.408362722111862e-20, + -1.3798611168468465e-19, + 3.2886917498515946e-19, + 5.539241807944383e-19, + -1.1774273497602782e-18, + 6.593865719175762e-19, + -1.0359212872506606e-19, + -1.5735430736264166e-19, + 7.952161070830624e-19, + -4.832184129214827e-19, + -1.27005288755051e-19, + -5.658851320101323e-19, + 1.0264884499068396e-18, + -8.29064557015875e-19, + 1.0324593283987223e-18, + -4.773592662108964e-19, + -3.840287450131001e-19, + -4.637314670913956e-19, + 4.847573568052203e-19, + 2.542797275771146e-19, + 9.111447077547827e-19, + -1.1276118165459657e-18, + 3.670784192654087e-19, + -4.3263813465886953e-19, + -5.627405854152337e-19, + 1.4921540249612968e-18, + -8.70442429471838e-19, + -2.475939125007301e-19, + 4.412458396693022e-19, + 2.590687789589096e-19, + 1.421906701145739e-19, + -3.935693659703808e-19, + -5.36031274294221e-19, + -2.8437738339212406e-19, + -1.0524399569995784e-18, + 5.891496354080247e-18, + -5.515514459590148e-18, + 1.1964321730560011e-18, + -4.797686149610051e-19, + 2.4154610552523137e-18, + -2.63515287385083e-18, + 2.075353296968386e-18, + 2.2587307004739767e-19, + -4.9051832519293165e-18, + 5.711438956891651e-18, + -2.4718652930088864e-18, + -6.069118861023573e-18, + 1.327444103509897e-17, + -7.309706364822537e-18, + -1.428835806386955e-18, + 3.550857698111409e-18, + -2.1208631397918366e-18, + 1.0432124792162253e-18, + 3.0109483782999893e-18, + -5.05893770513694e-18, + 1.1128359762773908e-17, + -2.169344107621513e-17, + 9.887346663693243e-18, + 3.911236013573122e-18, + -3.8412213173864076e-18, + 4.520226965119119e-18 + ], + "electrode_charge_C_m2": [ + 4.7276928899319245e-05, + -4.727692860020436e-05 + ], + "electron_density_m3": [ + 2515095827087.2163, + 2508690631696.646, + 2501917204129.2607, + 2494757275493.3613, + 2487192033991.0034, + 2479202157038.6416, + 2470767851312.4585, + 2461868901500.0137, + 2452484728555.2803, + 2442594458251.8047, + 2432177000815.2935, + 2421211142384.193, + 2409675648989.5396, + 2397549383668.6123, + 2384811437214.326, + 2371441272924.3706, + 2357418885534.567, + 2342724974307.4097, + 2327341129989.365, + 2311250035052.0957, + 2294435676291.0874, + 2276883568473.573, + 2258580987303.9023, + 2239517209522.983, + 2219683757476.8037, + 2199074644994.499, + 2177686620921.2935, + 2155519406170.9656, + 2132575919715.1453, + 2108862488540.9114, + 2084389036298.3472, + 2059169245161.9558, + 2033220685364.3179, + 2006564906951.5332, + 1979227488586.0938, + 1951238038697.5344, + 1922630144963.5725, + 1893441269008.7097, + 1863712584313.4111, + 1833488756628.4297, + 1802817667649.507, + 1771750084287.578, + 1740339277514.8389, + 1708640596411.1902, + 1676711004611.8428, + 1644608587781.8958, + 1612392041950.868, + 1580120153449.2964, + 1547851281747.1262, + 1515642856648.011, + 1483550901017.843, + 1451629589515.6409, + 1419930852661.7512, + 1388504034069.1252, + 1357395606835.0393, + 1326648953027.926, + 1296304208003.2842, + 1266398169047.0623, + 1236964265685.2722, + 1208032587017.3018, + 1179629959721.1523, + 1151780069020.0222, + 1124503613948.3423, + 1097818487742.7344, + 1071739974118.8923, + 1046280950558.4292, + 1021452090480.1692, + 997262057243.1061, + 973717684246.0251, + 950824136863.0034, + 928585053490.0447, + 907002664487.3279, + 886077889200.5787, + 865810412465.1154, + 846198742985.4603, + 827240256708.9993, + 808931228761.7195, + 791266857693.8746, + 774241285715.8658, + 757847618327.4086, + 742077946298.5299, + 726923372403.0231, + 712374044679.454, + 698419197352.8784, + 685047199930.4269, + 672245614420.5812, + 660001260142.3297, + 648300285202.4563, + 637128243432.2267, + 626470175388.9976, + 616310691935.4205, + 606634058900.0874, + 597424281381.4108, + 588665186370.1891, + 580340502517.5531, + 572433936050.9673, + 564929242029.2695, + 557810290317.698, + 551061125846.0918, + 544666022883.9592, + 538609533217.79285, + 532876528248.72394, + 527452235139.79785, + 522322267232.4558, + 517472649022.1628, + 512889836034.89526, + 508560729981.61743, + 504472689588.7589, + 500613537511.6615, + 496971563736.58417, + 493535525868.1365, + 490294646682.96277, + 487238609311.59143, + 484357550386.4812, + 481642051469.93933, + 479083129049.43365, + 476672223361.49316, + 474401186279.84064, + 472262268478.3778, + 470248106055.69525, + 468351706785.7396, + 466566436138.2424, + 464886003193.3712, + 463304446557.7517, + 461816120372.8127, + 460415680492.35834, + 459098070893.27466, + 457858510372.19836, + 21799211820636.355, + 21740215831273.977, + 21677749190110.21, + 21611629734458.047, + 21541668551084.117, + 21467670101502.91, + 21389432410726.027, + 21306747327565.45, + 21219400865094.94, + 21127173630339.2, + 21029841352679.387, + 20927175520747.004, + 20818944137806.434, + 20704912605665.945, + 20584844747007.61, + 20458503975699.49, + 20325654624005.395, + 20186063434701.074, + 20039501224803.75, + 19885744725935.52, + 19724578604218.004, + 19555797659945.785, + 19379209204149.504, + 19194635605439.727, + 19001916996271.113, + 18800914122895.87, + 18591511317945.59, + 18373619568710.875, + 18147179647920.957, + 17912165267331.523, + 17668586207739.18, + 17416491372471.365, + 17155971705149.043, + 16887162906804.27, + 16610247882698.617, + 16325458845624.227, + 16033079000528.908, + 15733443735312.555, + 15426941244884.584, + 15114012520409.7, + 14795150643237.29, + 14470899333509.21, + 14141850716814.3, + 13808642288384.348, + 13471953072963.822, + 13132498999067.992, + 12791027528383.49, + 12448311603655.41, + 12105143000772.22, + 11762325191844.56, + 11420665844891.908, + 11080969101361.58, + 10744027784134.918, + 10410615695284.697, + 10081480164037.78, + 9757335000995.506, + 9438854004592.014, + 9126665150511.533, + 8821345574810.764, + 8523417437819.2705, + 8233344729497.923, + 7951531049111.901, + 7678318364017.232, + 7413986725373.32, + 7158754893736.535, + 6912781805764.311, + 6676168795369.687, + 6448962469109.362, + 6231158126553.759, + 6022703611870.292, + 5823503482561.221, + 5633423384811.669, + 5452294531625.266, + 5279918189189.976, + 5116070088033.601, + 4960504687804.226, + 4812959237282.972, + 4673157583983.047, + 4540813699891.58, + 4415634901240.504, + 4297324750357.685, + 4185585636502.104, + 4080121040049.225, + 3980637490442.7734, + 3886846233047.8228, + 3798464623509.5303, + 3715217270569.4175, + 3636836949680.1875, + 3563065310312.195, + 3493653399745.203, + 3428362025500.035, + 3366961977527.8296, + 3309234129961.15, + 3254969440721.915, + 3203968865675.293, + 3156043202370.2734, + 3111012876776.559, + 3068707684849.5845, + 3028966499257.373, + 2991636950213.222, + 2956575088070.922, + 2923645034182.4326, + 2892718625468.232, + 2863675057228.5137, + 2836400527904.354, + 2810787888784.7427, + 2786736301042.4497, + 2764150901949.6064, + 2742942481674.657, + 2723027171682.253, + 2704326145438.9585, + 2686765331862.926, + 2670275141738.2505, + 2654790207140.753, + 2640249133774.399, + 2626594266011.937, + 2613771464341.5967, + 2601729894856.4185, + 2590421830376.7974, + 2579802462757.5044, + 2569829725914.7524, + 2560464129089.3286, + 2551668599864.51, + 2543408336451.9766, + 2535650668771.033, + 2528364927853.022, + 2521522323118.466, + 2515095827087.2163 + ], + "electrostatic_potential_V": [ + 0.0, + -6.297056191428073e-05, + -0.00012973146662208053, + -0.00020049304983532027, + -0.00027547505263670594, + -0.00035490674788833947, + -0.00043902702465674045, + -0.000528084423747883, + -0.0006223371168574893, + -0.000722052821259098, + -0.0008275086413886569, + -0.0009389908281559608, + -0.001056794446340081, + -0.0011812229400308526, + -0.0013125875857889144, + -0.0014512068230428951, + -0.0015974054512592826, + -0.0017515136836461164, + -0.0019138660476280148, + -0.0020848001231009274, + -0.002264655110586865, + -0.002453770222907739, + -0.0026524828959283817, + -0.0028611268163229206, + -0.0030800297672304274, + -0.0033095112961101575, + -0.0035498802130940295, + -0.003801431932657415, + -0.004064445676458286, + -0.0043391815606712465, + -0.004625877596976682, + -0.004924746642428712, + -0.00523597333955159, + -0.005559711093992987, + -0.00589607914264355, + -0.0062451597700240195, + -0.0066069957346221045, + -0.0069815879693840965, + -0.007368893621377363, + -0.00776882449439448, + -0.008181245954656725, + -0.00860597635354199, + -0.00904278701224616, + -0.009491402801441043, + -0.00995150333441523, + -0.010422724775143447, + -0.01090466224367658, + -0.0113968727808186, + -0.011898878813079309, + -0.012410172038341242, + -0.01293021763364985, + -0.013458458670182553, + -0.013994320607918128, + -0.014537215734863919, + -0.015086547413778515, + -0.015641714003762765, + -0.016202112335160255, + -0.01676714063379566, + -0.01733620081415353, + -0.017908700089707675, + -0.01848405188091515, + -0.01906167603573292, + -0.019640998412025205, + -0.02022144990393201, + -0.020802465023229397, + -0.02138348017017192, + -0.021963931744815986, + -0.022543254258346065, + -0.02312087860392557, + -0.023696230638071036, + -0.024268730207039638, + -0.024837790729260265, + -0.025402819415878103, + -0.025963218178780077, + -0.026518385240958703, + -0.027067717429727443, + -0.027610613100997185, + -0.028146475614215474, + -0.028674717253996305, + -0.0291947634768808, + -0.02970605735060114, + -0.03020806404878451, + -0.03070027526595448, + -0.031182213425350425, + -0.031653435564620636, + -0.0321135368007977, + -0.03256215329499462, + -0.03299896465781047, + -0.03342369575741174, + -0.03383611791268187, + -0.034236049472884604, + -0.03462335580232781, + -0.03499794870309109, + -0.03535978532072658, + -0.03570886658685825, + -0.03604523525883779, + -0.03636897362022819, + -0.03668020090713124, + -0.03697907052456462, + -0.03726576711457061, + -0.0375405035338582, + -0.03780351779388816, + -0.038055070010729664, + -0.03829543940603822, + -0.03852492139437884, + -0.03874382478605472, + -0.03895246912876802, + -0.03915118220596285, + -0.03934029770467172, + -0.03952015306116285, + -0.039691087488699026, + -0.03985344018827356, + -0.04000754874027779, + -0.04015374767265007, + -0.04029236719912534, + -0.0404237321197055, + -0.04054816087435908, + -0.04066596474018745, + -0.040777447161818914, + -0.040882903204566, + -0.04098261911986465, + -0.04107687201266765, + -0.04116592960075444, + -0.041250050056314345, + -0.04132948192063355, + -0.04140446408324451, + -0.041475225817460375, + -0.04154198686479949, + -0.04166802942552586, + -0.04173495495341643, + -0.04180601586207194, + -0.041881455573579626, + -0.04196153026963265, + -0.04204650935475966, + -0.04213667590768791, + -0.04223232711567937, + -0.04233377468597271, + -0.042441345227698976, + -0.042555380596814886, + -0.04267623819571606, + -0.04280429121825712, + -0.042939928829919885, + -0.04308355627184333, + -0.043235594876368466, + -0.043396481980671545, + -0.0435666707239757, + -0.04374662971276657, + -0.04393684253741497, + -0.044137807122662104, + -0.04435003489358397, + -0.044574049737965186, + -0.04481038674552552, + -0.04505959070420937, + -0.045322214333830046, + -0.045598816237822186, + -0.04588995855476828, + -0.04619620429280293, + -0.04651811433203723, + -0.04685624408286158, + -0.04721113979144995, + -0.04758333448806761, + -0.04797334357893169, + -0.04838166008842693, + -0.04880874956545444, + -0.04925504467557614, + -0.04972093950936862, + -0.050206783646929626, + -0.05071287602865982, + -0.05123945869308936, + -0.0517867104533997, + -0.05235474059511642, + -0.05294358268787637, + -0.05355318861381119, + -0.054183422923507175, + -0.05483405763723888, + -0.055504767613759366, + -0.05619512661090003, + -0.05690460416115856, + -0.05763256338096227, + -0.05837825982410415, + -0.0591408414777896, + -0.05991934998377647, + -0.06071272314736978, + -0.061519798773854745, + -0.06233931984580249, + -0.06316994102622886, + -0.06401023644264726, + -0.06485870867658897, + -0.06571379885321497, + -0.06657389769730744, + -0.06743735739629049, + -0.06830250408900997, + -0.06916765078169826, + -0.07003111048058802, + -0.07089120932452567, + -0.07174629950093636, + -0.07259477173460364, + -0.07343506715069029, + -0.07426568833072965, + -0.07508520940223762, + -0.07589228502823274, + -0.07668565819128914, + -0.07746416669669523, + -0.07822674834975943, + -0.07897244479224315, + -0.07970040401135547, + -0.08040988156089307, + -0.08110024055728708, + -0.08177095053303893, + -0.08242158524598373, + -0.08305181955487823, + -0.08366142548000055, + -0.08425026757194043, + -0.08481829771283278, + -0.0853655494723176, + -0.08589213213592338, + -0.08639822451683438, + -0.08688406865358325, + -0.087349963486573, + -0.08779625859590351, + -0.08822334807215322, + -0.08863166458088578, + -0.08902167367100378, + -0.0893938683668932, + -0.08974876407477228, + -0.09008689382490717, + -0.09040880386347255, + -0.09071504960085941, + -0.09100619191717922, + -0.09128279382056687, + -0.09154541744960493, + -0.09179462140772811, + -0.0920309584147496, + -0.09225497325861366, + -0.09246720102903973, + -0.09266816561381218, + -0.09285837843800653, + -0.09303833742636354, + -0.09320852616925361, + -0.09336941327316174, + -0.09352145187731059, + -0.0936650793188758, + -0.09380071693019774, + -0.09392876995241482, + -0.09404962755100824, + -0.09416366291983197, + -0.09427123346128105, + -0.09437268103131156, + -0.09446833223905393, + -0.09455849879174627, + -0.0946434778766499, + -0.09472355257249158, + -0.09479899228379936, + -0.09487005319226584, + -0.09493697871997775, + -0.09499999999999964 + ], + "full_charge_C_m2": -2.9911240930105064e-13, + "gauss_error_C_m2": -2.4766621510964874e-18, + "gauss_normalized": 1.545810929044224e-14, + "hole_density_m3": [ + 2515095827087.2163, + 2521517376239.463, + 2528343867252.1826, + 2535600189073.5825, + 2543312672678.547, + 2551509162524.7666, + 2560219089816.9023, + 2569473547345.592, + 2579305365609.43, + 2589749189870.2666, + 2600841557715.43, + 2612620976629.159, + 2625128000980.195, + 2638405307741.533, + 2652497770152.43, + 2667452528413.5786, + 2683319056389.6597, + 2700149223158.2173, + 2717997348106.873, + 2736920248142.079, + 2756977275423.2095, + 2778230343898.3184, + 2800743942775.3574, + 2824585134940.009, + 2849823538220.4927, + 2876531287313.9463, + 2904782974141.502, + 2934655564390.124, + 2966228288049.925, + 2999582501869.4297, + 3034801521846.846, + 3071970424162.2466, + 3111175813338.698, + 3152505556921.659, + 3196048486579.4707, + 3241894066250.5356, + 3290132028809.6787, + 3340851983655.828, + 3394142998630.8657, + 3450093160726.0225, + 3508789121066.956, + 3570315630640.5156, + 3634755074055.5957, + 3702187009261.2847, + 3772687721459.2773, + 3846329799403.1855, + 3923181741762.7197, + 4003307600211.144, + 4086766664311.488, + 4173613191138.8545, + 4263896179920.0967, + 4357659188859.0986, + 4454940187911.786, + 4555771437729.7705, + 4660179381558.677, + 4768184533790.243, + 4879801346434.432, + 4995038033235.377, + 5113896330798.029, + 5236371177073.222, + 5362450290024.977, + 5492113633306.382, + 5625332761209.474, + 5762070041884.159, + 5902277765514.964, + 6045897152467.5205, + 6192857284863.386, + 6343073993171.592, + 6496448736658.453, + 6652867522440.93, + 6812199912027.99, + 6974298166232.389, + 7138996578975.091, + 7306111047687.907, + 7475438922780.2, + 7646759171142.285, + 7819832879262.933, + 7994404110612.954, + 8170201120051.015, + 8346937915715.048, + 8524316146720.175, + 8702027283635.226, + 8879755048648.73, + 9057178044001.918, + 9233972521049.365, + 9409815228376.953, + 9584386275906.818, + 9757371952750.31, + 9928467439650.898, + 10097379361875.836, + 10263828135032.535, + 10427550064171.508, + 10588299165192.426, + 10745848686629.28, + 10899992318962.803, + 11050545087293.77, + 11197343931266.57, + 11340247983292.71, + 11479138562216.635, + 11613918904556.387, + 11744513659186.791, + 11870868173977.332, + 11992947604390.713, + 12110735874558.635, + 12224234521010.447, + 12333461448098.715, + 12438449622504.135, + 12539245732051.46, + 12635908831605.023, + 12728508996179.402, + 12817125998663.074, + 12901848026826.057, + 12982770451646.291, + 13059994656480.348, + 13133626934295.629, + 13203777458053.055, + 13270559327474.787, + 13334087693760.3, + 13394478962424.215, + 13451850073229.49, + 13506317855218.848, + 13557998454071.36, + 13607006828410.482, + 13653456311253.195, + 13697458232466.842, + 13739121597949.793, + 13778552821143.564, + 13815855502492.732, + 290180538265.99115, + 290967995395.2472, + 291806449295.52466, + 292699213229.54645, + 293649816627.8212, + 294662019211.8373, + 295739826023.1233, + 296887503410.5536, + 298109596029.39276, + 299410944907.1897, + 300796706631.8759, + 302272373718.29016, + 303843796208.03485, + 305517204556.64307, + 307299233859.4539, + 309196949463.3279, + 311217874006.2341, + 313370015918.59985, + 315661899410.68384, + 318102595957.19604, + 320701757273.9108, + 323469649760.915, + 326417190361.98975, + 329555983759.3718, + 332898360786.029, + 336457417894.6302, + 340247057469.6934, + 344282028708.9713, + 348577968729.3917, + 353151443470.2788, + 358019987873.3097, + 363202144711.4427, + 368717501319.25195, + 374586723343.2036, + 380831584482.7307, + 387474991032.83, + 394540999866.7426, + 402054828315.1392, + 410042854211.3144, + 418532604181.46356, + 427552728074.7983, + 437132957254.5065, + 447304044318.84424, + 458097681703.3303, + 469546396540.6217, + 481683419143.4813, + 494542522539.90656, + 508157830649.2136, + 522563592957.9715, + 537793923954.2584, + 553882506121.293, + 570862255988.0336, + 588764953593.2751, + 607620836737.8927, + 627458162570.6604, + 648302740355.6886, + 670177440675.5829, + 693101687788.7157, + 717090943331.698, + 742156190968.9143, + 768303432871.0387, + 795533209970.2169, + 823840158714.4127, + 853212617445.9954, + 883632295497.9269, + 915074017579.8136, + 947505554987.5366, + 980887553609.0275, + 1015173566640.5638, + 1050310197427.1599, + 1086237354981.4829, + 1122888621627.746, + 1160191728990.294, + 1198069135342.98, + 1236438694300.6128, + 1275214402104.0803, + 1314307208460.3555, + 1353625874133.138, + 1393077857329.0203, + 1432570210411.324, + 1472010468614.8296, + 1511307513193.0671, + 1550372392745.658, + 1589119088270.532, + 1627465209649.5527, + 1665332613705.6755, + 1702647936539.9224, + 1739343035459.4631, + 1775355338341.7637, + 1810628100652.4126, + 1845110572472.731, + 1878758079755.4583, + 1911532025562.6362, + 1943399818247.9429, + 1974334734418.3425, + 2004315725064.5447, + 2033327173510.3147, + 2061358613828.6257, + 2088404418151.9753, + 2114463460891.9895, + 2139538767339.212, + 2163637153455.9543, + 2186768862957.5393, + 2208947207016.7876, + 2230188211161.9976, + 2250510273188.3203, + 2269933835180.183, + 2288481072070.6855, + 2306175598547.246, + 2323042195552.7686, + 2339106557144.1494, + 2354395058039.811, + 2368934541828.2715, + 2382752129502.6694, + 2395875047747.058, + 2408330476198.324, + 2420145412765.2275, + 2431346555977.0073, + 2441960203261.6323, + 2452012164015.7334, + 2461527686308.6074, + 2470531396074.1904, + 2479047247660.4946, + 2487098484649.6377, + 2494707609901.1533, + 2501896363830.9556, + 2508685709991.6157, + 2515095827087.2163 + ], + "interface_occupancy": [ + 7.928333613737113e-05 + ], + "interface_reference_occupancy": [ + 7.928011033749389e-05 + ], + "interface_sheet_charge_C_m2": [ + -2.5841505946391707e-13 + ], + "interface_trace_density_m3": [ + [ + 456728864202.0237, + 13849585928300.426, + 21852433041537.176, + 289464593659.649 + ] + ], + "interface_trace_potential_V": [ + [ + -0.04160500814533491, + -0.04160500814533491 + ] + ], + "label": "0+", + "local_residual": [ + 0.0, + 4.473815810406219e-18, + -1.393956674437979, + -83.2147084789462, + -387.84528754724045, + -1.90733052469881 + ], + "negative_ion_density_m3": null, + "physical_displacement_C_m2": [ + 4.7276928899319245e-05, + 4.727692860020436e-05 + ], + "positive_ion_component_inventory_m2": [ + 999999999999999.8 + ], + "positive_ion_density_m3": [ + 5.975968276481229e+21, + 5.986658954600301e+21, + 5.998005926241845e+21, + 6.010047230742219e+21, + 6.022822816989956e+21, + 6.036374599741151e+21, + 6.050746511801418e+21, + 6.065984550996106e+21, + 6.082136820722963e+21, + 6.099253562741999e+21, + 6.117387180701065e+21, + 6.136592252750241e+21, + 6.156925531427654e+21, + 6.178445928844416e+21, + 6.201214485035359e+21, + 6.225294317173934e+21, + 6.25075054722267e+21, + 6.277650205443065e+21, + 6.30606210709443e+21, + 6.336056699566494e+21, + 6.367705877178135e+21, + 6.401082760870131e+21, + 6.436261440138111e+21, + 6.473316674705153e+21, + 6.512323553704559e+21, + 6.553357110517648e+21, + 6.596491891926686e+21, + 6.641801480858361e+21, + 6.689357972820496e+21, + 6.73923140704937e+21, + 6.791489154536613e+21, + 6.84619526634206e+21, + 6.903409787049413e+21, + 6.963188039751546e+21, + 7.02557989058836e+21, + 7.090629002550537e+21, + 7.158372089916621e+21, + 7.228838186258646e+21, + 7.302047940336976e+21, + 7.378012955306262e+21, + 7.45673518736025e+21, + 7.538206420157169e+21, + 7.622407830981198e+21, + 7.709309663532688e+21, + 7.798871020419183e+21, + 7.891039785850308e+21, + 7.985752685720036e+21, + 8.08293548826576e+21, + 8.182503343965175e+21, + 8.284361258456629e+21, + 8.388404687268741e+21, + 8.49452023634845e+21, + 8.602586448023094e+21, + 8.712474648492751e+21, + 8.824049830504356e+21, + 8.937171543693409e+21, + 9.051694765453078e+21, + 9.167470727097856e+21, + 9.284347673542117e+21, + 9.402171539513892e+21, + 9.5207865312873e+21, + 9.640035609560572e+21, + 9.759760876106433e+21, + 9.879803873649203e+21, + 1.0000005814574731e+22, + 1.0120207759165853e+22, + 1.0240250767667611e+22, + 1.0359976052349643e+22, + 1.047922515574742e+22, + 1.0597840179374294e+22, + 1.0715664083603046e+22, + 1.0832541074324145e+22, + 1.0948317085831575e+22, + 1.106284036256127e+22, + 1.1175962135315821e+22, + 1.1287537380952176e+22, + 1.1397425648552206e+22, + 1.1505491930303762e+22, + 1.1611607551849953e+22, + 1.1715651054969226e+22, + 1.1817509045077681e+22, + 1.1917076977197165e+22, + 1.2014259856487945e+22, + 1.2108972832981653e+22, + 1.2201141674508733e+22, + 1.229070310659224e+22, + 1.2377605013114611e+22, + 1.2461806496392906e+22, + 1.2543277799880553e+22, + 1.2622000100652486e+22, + 1.2697965182197298e+22, + 1.2771175000571879e+22, + 1.2841641158829035e+22, + 1.2909384305657252e+22, + 1.297443347458432e+22, + 1.3036825379868168e+22, + 1.3096603684502187e+22, + 1.3153818254646736e+22, + 1.3208524413430948e+22, + 1.326078220548878e+22, + 1.331065568194133e+22, + 1.3358212213850304e+22, + 1.3403521840528973e+22, + 1.3446656657567357e+22, + 1.348769024797804e+22, + 1.3526697158630477e+22, + 1.3563752422996403e+22, + 1.3598931130296692e+22, + 1.3632308040343937e+22, + 1.366395724272057e+22, + 1.3693951858452063e+22, + 1.3722363781939498e+22, + 1.3749263460652965e+22, + 1.377471970992838e+22, + 1.379879956010099e+22, + 1.382156813320362e+22, + 1.3843088546476994e+22, + 1.3863421840018823e+22, + 1.3882626926002244e+22, + 1.390076055702177e+22, + 1.3917877311281406e+22, + 1.3934029592480203e+22, + 1.3949267642426317e+22, + 1.3963639564562671e+22, + 1.3977191356757298e+22, + 1.398996695185526e+22, + 1.4002008264650713e+22, + 1.4013355244067127e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22 + ], + "rho_C_m3": [ + -644.7209601896523, + -643.008124719198, + -641.1901394339448, + -639.2609097602972, + -637.2140351806719, + -635.0428002107776, + -632.7401660391446, + -630.2987630016655, + -627.7108840843433, + -624.9684796697748, + -622.0631537679387, + -618.9861619951469, + -615.7284115923387, + -612.2804637987156, + -608.6325389225124, + -604.7745244776676, + -600.6959867754974, + -596.3861863841164, + -591.8340978834598, + -587.0284343573406, + -581.9576770659645, + -576.6101107430419, + -570.9738649426888, + -565.0369618367442, + -558.7873708197116, + -552.2130702185462, + -545.3021163219673, + -538.0427198453823, + -530.4233298149735, + -522.4327247079466, + -514.0601105014294, + -505.2952250842658, + -496.128448253544, + -486.550916272581, + -476.554639704949, + -466.13262296829436, + -455.27898378668624, + -443.989070469045, + -432.25957471922516, + -420.08863750689346, + -407.47594541525274, + -394.4228148473777, + -380.9322615348114, + -367.00905296235123, + -352.65974161465226, + -337.8926773618726, + -322.717997833432, + -307.1475962688844, + -291.19506706043404, + -274.87562998274154, + -258.2060349067341, + -241.20444956263836, + -223.8903336149723, + -206.28430287930286, + -188.4079879022617, + -170.28389131307617, + -151.9352482949572, + -133.38589421908856, + -114.660142930703, + -95.78267840769247, + -76.77846155679609, + -57.672652848012355, + -38.4905503663781, + -19.257541766360447, + 0.0009323715145804537, + 19.259407097129728, + 38.49241745431141, + 57.67452284390934, + 76.78033558119186, + 95.78455753955437, + 114.66202819684126, + 133.38778658482815, + 151.93714865606015, + 170.2858004886254, + 188.40990662929687, + 206.2862318089207, + 223.89227330953435, + 241.2064004948942, + 258.20799746015723, + 274.8776044528206, + 291.1970536575634, + 307.14959512221725, + 322.7200089954765, + 337.89470081361964, + 352.6617772718413, + 367.01110068124285, + 380.9343211191935, + 394.42488605444606, + 407.4780279625916, + 420.090731078513, + 432.261678971909, + 443.9911850376043, + 455.2811082895709, + 466.13475701239645, + 476.55678289003345, + 486.5530681950738, + 496.13060851027177, + 505.29739327530314, + 514.0622862326331, + 522.4349075932007, + 530.4255194779573, + 538.0449159209833, + 545.3043184573943, + 552.2152780741644, + 558.7895840696382, + 565.0391801690585, + 570.976088059951, + 576.6123383618401, + 581.9599089172272, + 587.0306701859047, + 591.8363374477339, + 596.3884294556834, + 600.6982331388209, + 604.77677392949, + 608.6347912713998, + 612.2827188645048, + 615.7306692056529, + 618.9884219966933, + 622.0654160083716, + 624.9707440087925, + 627.7131503902938, + 630.3010311511109, + 632.7424359163709, + 635.04507170732, + 637.2163081949137, + 639.2631841969533, + 641.192415203838, + 643.0104017387588, + -3.446126734058885e-06, + -3.4365483699519965e-06, + -3.426405775539521e-06, + -3.415669234298174e-06, + -3.4043079135140126e-06, + -3.3922898820939906e-06, + -3.3795821383990055e-06, + -3.366150649387632e-06, + -3.3519604024405024e-06, + -3.3369754713096253e-06, + -3.321159097704012e-06, + -3.304473790068247e-06, + -3.286881441147437e-06, + -3.2683434659384377e-06, + -3.2488209616037514e-06, + -3.2282748908727597e-06, + -3.2066662903519554e-06, + -3.1839565050218852e-06, + -3.160107449991509e-06, + -3.135081900312526e-06, + -3.108843809318742e-06, + -3.0813586555341914e-06, + -3.052593817695216e-06, + -3.0225189768405825e-06, + -2.9911065437484766e-06, + -2.958332109225762e-06, + -2.9241749139093765e-06, + -2.8886183333090087e-06, + -2.851650372827389e-06, + -2.8132641664673475e-06, + -2.7734584718778802e-06, + -2.732238153356085e-06, + -2.6896146434394364e-06, + -2.645606372828622e-06, + -2.6002391576460267e-06, + -2.553546532489559e-06, + -2.5055700174581997e-06, + -2.4563593073558057e-06, + -2.4059723716688915e-06, + -2.3544754547197156e-06, + -2.3019429666380455e-06, + -2.2484572575050138e-06, + -2.194108269189467e-06, + -2.1389930619999045e-06, + -2.083215216273085e-06, + -2.026884112319821e-06, + -1.9701140956693945e-06, + -1.913023538147747e-06, + -1.8557338088649548e-06, + -1.7983681725016237e-06, + -1.7410506352118784e-06, + -1.6839047608500948e-06, + -1.627052481922252e-06, + -1.5706129305585824e-06, + -1.514701314807253e-06, + -1.459427864634931e-06, + -1.4048968701810312e-06, + -1.3512058321330628e-06, + -1.2984447406542038e-06, + -1.2466954952753345e-06, + -1.1960314737300655e-06, + -1.1465172530827297e-06, + -1.098208481879843e-06, + -1.0511518976673354e-06, + -1.0053854802383267e-06, + -9.60938727578902e-07, + -9.178330387795006e-07, + -8.76082186257616e-07, + -8.356928585197694e-07, + -7.966652543676264e-07, + -7.58993709864792e-07, + -7.226673404418004e-07, + -6.876706821107664e-07, + -6.539843177588664e-07, + -6.215854767571847e-07, + -5.904485985255957e-07, + -5.60545853107629e-07, + -5.318476141343592e-07, + -5.043228816958036e-07, + -4.779396545356945e-07, + -4.5266525259148954e-07, + -4.2846659219831095e-07, + -4.0531041726028825e-07, + -3.8316349037413795e-07, + -3.6199274829917155e-07, + -3.4176542633451946e-07, + -3.224491561286998e-07, + -3.040120412521645e-07, + -2.8642271454598197e-07, + -2.6965038086373303e-07, + -2.536648483786895e-07, + -2.384365511638618e-07, + -2.239365652959927e-07, + -2.1013662029919993e-07, + -1.970091073468775e-07, + -1.8452708528750039e-07, + -1.7266428525690342e-07, + -1.6139511438713865e-07, + -1.506946589173481e-07, + -1.4053868685547274e-07, + -1.3090365022056753e-07, + -1.2176668681558222e-07, + -1.1310562142724809e-07, + -1.0489896632382794e-07, + -9.712592091276104e-08, + -8.976637042618218e-08, + -8.280088351981062e-08, + -7.62107086930762e-08, + -6.99777694651747e-08, + -6.408465827057076e-08, + -5.8514629064504294e-08, + -5.325158865555762e-08, + -4.828008680513108e-08, + -4.358530515500153e-08, + -3.915304505881113e-08, + -3.496971440876576e-08, + -3.102231355693375e-08, + -2.7298420437549625e-08, + -2.3786175000953824e-08, + -2.0474263069594506e-08, + -1.735189972715081e-08, + -1.4408812346861476e-08, + -1.1635223363075744e-08, + -9.021832882171011e-09, + -6.559801224580799e-09, + -4.240731481168785e-09, + -2.0566521611536903e-09, + 0.0 + ], + "time_s": 0.0, + "voltage_V": 0.005 + } + }, + "initial_event_v52": { + "algebraic_certificate": { + "direct_poisson_normalized": 7.576590418064348e-16, + "full_gauss_normalized": 1.545810929044224e-14, + "local_carrier_normalized": 2.323148679503913e-14, + "local_gauss_normalized": 1.153431814497558e-16, + "trace_potential_error_V": 0.0 + }, + "capacitance_infinity_F_m2": 0.00044270939085, + "certified": true, + "contact_displacement_jump_C_m2": [ + -2.213546954250006e-06, + -2.213546954251727e-06 + ], + "electrode_charge_jump_C_m2": [ + -2.213546954250006e-06, + 2.213546954251727e-06 + ], + "fixed_population_algebraic_correction": { + "direct_poisson_residual_after_C_m2": [ + -2.1308172579365993e-21, + 1.6795075157276674e-20, + -3.4450418151608497e-20, + 4.0498762790596235e-21, + -1.0339095912422804e-19, + 2.5649216434044282e-20, + -5.14175468762962e-20, + 6.4983308922165854e-21, + 3.4384243702604254e-20, + -5.849821291975012e-21, + 3.679299364635867e-21, + 2.8587361969832636e-21, + -1.7205356741102976e-21, + 8.41474293537944e-20, + -5.992758101824175e-20, + -6.368628972168271e-20, + 2.666830294870961e-19, + -5.69629657028517e-20, + 6.898024564202208e-20, + 2.898440866385809e-20, + -1.2255507955585658e-19, + -7.573003944045479e-20, + -1.817944463044542e-19, + 1.0058516248644817e-19, + -5.701590526205509e-20, + -6.342159192566574e-20, + 6.246867986000465e-20, + -5.362777347303789e-20, + -5.643357011081776e-20, + 2.1196999505038866e-19, + 1.4801900753268898e-19, + 6.426862487292004e-20, + 2.8587361969832636e-21, + 1.2096689277975477e-19, + -8.687381665276918e-20, + -1.6797722135236844e-19, + -9.804406364468526e-20, + 6.982727858927638e-20, + -1.5241299094657067e-19, + 1.0010870645361762e-19, + 9.936755262477011e-20, + -7.612708613448024e-20, + -8.909727813931172e-20, + -1.5257180962418085e-19, + 3.2436067923919364e-19, + -1.435720845596039e-19, + 9.973812953919386e-20, + 1.6358323793848675e-20, + 1.1614939289224593e-19, + -8.735027268559972e-21, + 2.6999175193730823e-20, + 1.1752582143153417e-19, + -3.399778492041948e-19, + 1.5474233155152e-19, + -1.2816667283141632e-19, + 1.530747354366131e-19, + -2.6207728783640086e-19, + 2.3989561253017887e-19, + -4.198107044829126e-20, + -3.340486185734147e-20, + -3.442130139404663e-19, + 3.5747437352091644e-19, + 7.346025583960928e-20, + -3.0798898807739913e-21, + 8.007108329513308e-22, + -3.8277948282013866e-19, + 3.5939343254203946e-19, + 3.943997160652836e-20, + 1.6718312796431753e-19, + 5.458597949461932e-19, + -4.018112543537587e-20, + 3.508569286204922e-19, + -2.5617452698522246e-19, + 1.3610760671192539e-19, + -9.285598684275267e-20, + 5.334189985333956e-19, + -7.717528940670744e-19, + 8.642912435546067e-19, + -1.2283565921963457e-18, + 1.0311037946045005e-18, + -3.307134263436009e-19, + 8.395155298474184e-19, + -4.3050449544199815e-19, + 6.229927327055379e-19, + 1.6633609501706323e-19, + -1.2515441191274321e-18, + -3.865646613031813e-19, + -1.1449767864510005e-18, + 8.512681119905718e-19, + 8.802789904340316e-19, + -1.230950630597312e-18, + 4.06152298208437e-19, + 1.6427674616405121e-18, + -2.252048848512371e-19, + -4.114991936879798e-19, + 9.870580813472769e-19, + 4.346867206190663e-19, + -3.538268378918026e-18, + 1.2323270591366002e-18, + 9.726055816847504e-19, + -2.201385690354723e-18, + 2.743433837038272e-18, + -2.085183357903274e-18, + 2.1553282738477706e-18, + -6.174870185483849e-19, + 1.338444405559803e-18, + 5.216399466106405e-19, + 1.6643932715750985e-18, + -4.2640167960373513e-19, + -9.734790844116064e-19, + 3.4207160877068902e-18, + -4.200383445874872e-18, + -2.413964490335951e-18, + 2.5884797472499384e-19, + -2.2242291101509876e-18, + 5.2213493148919226e-18, + 3.51539848934216e-18, + 3.510078063642219e-18, + 2.7606921333385784e-18, + -4.775148240146118e-19, + 3.2097254745017643e-18, + -5.8772704534219714e-18, + -1.1105951897263564e-17, + -6.338188725626319e-20, + 5.055463206128088e-19, + -1.5639669277662605e-19, + -1.6572576720854824e-18, + -3.535332034383239e-18, + 4.2824392726277426e-20, + 8.72969802443907e-18, + -8.21958894552937e-18, + 4.658160034131247e-18, + -4.725446022442335e-18, + 5.2180447149465624e-18, + 6.690489634059877e-18, + -3.4769818844711236e-19, + -2.0546330749838105e-18, + 5.0076912296550584e-18, + -3.472982723685642e-18, + 3.7084760055187855e-18, + -1.2161629490824884e-18, + -4.3734572791998824e-18, + -2.2888548727392753e-18, + -1.8854891409811e-18, + -1.4009610976033218e-18, + 4.409793824358664e-18, + -1.0289627604721368e-20, + -7.120805938457981e-19, + 6.582729160981052e-19, + 7.384318442313427e-19, + -3.447287086030037e-19, + -7.087075086202792e-19, + -1.8382625870235493e-19, + 5.549503535945504e-19, + -1.1392264593374507e-20, + 9.120993260558802e-20, + -6.089973495985478e-19, + -9.106885063574727e-20, + -2.3831365010497358e-18, + 6.509223653019534e-19, + 1.5541375708202245e-18, + 6.9290188159841475e-19, + -6.847951253012538e-19, + 1.281914362749822e-18, + -1.682378160103448e-18, + -5.03601598210945e-19, + -8.556262589649868e-19, + 2.5303865175013457e-19, + -1.1390708736630823e-18, + 5.274633886140371e-19, + 3.7748319789723386e-19, + 4.423928960464602e-19, + -7.540752106810014e-19, + -1.2624916892477014e-18, + -4.952527995545214e-20, + -4.71674033045344e-19, + 5.633268350525233e-19, + -8.500442487736723e-19, + 4.2974837047481284e-19, + -4.908415950869865e-19, + 9.762202752644915e-19, + 2.54496536018613e-19, + 8.633261842206075e-20, + 1.2897038942518164e-19, + 1.2967630471464618e-18, + -3.041513779195811e-19, + -3.5859575107025383e-19, + -6.465652537197038e-19, + 9.389175309621685e-19, + -8.763878973488298e-19, + 1.2087278406146637e-18, + 1.8971871285072607e-19, + -8.370958837170511e-20, + -1.3815737070476551e-18, + -2.464063289332351e-19, + 1.1691258586614254e-18, + 7.436595609794016e-19, + -1.008020760309418e-18, + 8.016881070562986e-19, + -1.781310280834445e-19, + -7.197841843394971e-19, + -1.027598795408192e-18, + -1.2692649879734735e-18, + -7.097639564660096e-19, + -3.1516337962285937e-19, + 1.5821420633056606e-18, + -1.9945818924377922e-18, + 2.19307699034594e-19, + -1.3040634227310936e-18, + 4.08794093616925e-19, + 2.071186271340103e-19, + -1.0477757448377272e-19, + 4.236863170279747e-19, + 1.0195649250033332e-18, + -2.5506271679331903e-18, + 1.0989148856931242e-18, + 8.074181001214262e-19, + -1.5724038585423597e-18, + -7.169079014779185e-19, + 2.4024362828703102e-20, + -4.435324803725991e-18, + -1.0085524657345002e-19, + -2.4717654429889547e-18, + -1.0301029288853778e-18, + 8.600393959659837e-19, + -1.7011304108036321e-19, + 1.179295549463307e-18, + -1.940130485722085e-18, + 4.43459968480285e-18, + -2.1680402520411533e-18, + 8.779477848883842e-19, + 3.2336238258018476e-18, + -1.9755577433139793e-18, + -8.123379713595758e-19, + 6.7780802201242615e-18, + 3.498808378238014e-18, + -3.665127017149021e-18, + 9.614566777839467e-18, + -8.66537020333233e-18, + -9.89770778261301e-18, + 2.329653486701185e-17, + -9.66784608997851e-18, + -1.508978317970431e-17, + 1.3993079871862424e-17, + -5.664848991103829e-18, + 2.283268713996521e-18, + 3.160026177016746e-18, + -9.958176272055812e-18, + 1.84535006906291e-17, + -2.2615012922827808e-17, + -8.252710934704854e-18, + 1.2977876680983152e-17, + -5.479572184616875e-19, + 1.3627525213997357e-17 + ], + "linear_poisson_residual_C_m2": [ + 0.0, + 1.504632769052528e-36, + 0.0, + 1.504632769052528e-36, + -3.009265538105056e-36, + 6.018531076210112e-36, + 0.0, + -3.009265538105056e-36, + -3.009265538105056e-36, + 0.0, + 0.0, + -3.009265538105056e-36, + 0.0, + -3.009265538105056e-36, + 0.0, + -6.018531076210112e-36, + 0.0, + 0.0, + 0.0, + 3.009265538105056e-36, + 0.0, + -7.52316384526264e-36, + 1.2037062152420224e-35, + -7.52316384526264e-36, + 0.0, + 0.0, + 1.3541694921472752e-35, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -1.504632769052528e-35, + 2.407412430484045e-35, + 2.407412430484045e-35, + 0.0, + -1.2037062152420224e-35, + -2.407412430484045e-35, + 0.0, + -2.407412430484045e-35, + 0.0, + -3.009265538105056e-36, + 0.0, + 6.018531076210112e-36, + 0.0, + -1.2037062152420224e-35, + 0.0, + -1.2037062152420224e-35, + 4.81482486096809e-35, + -4.81482486096809e-35, + 0.0, + 0.0, + -6.018531076210112e-36, + 0.0, + 0.0, + -6.018531076210112e-36, + 1.2037062152420224e-35, + 0.0, + 0.0, + 0.0, + 0.0, + -1.8055593228630336e-35, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -4.81482486096809e-35, + -6.018531076210112e-36, + 4.81482486096809e-35, + 0.0, + 0.0, + 0.0, + -2.407412430484045e-35, + -9.62964972193618e-35, + 4.81482486096809e-35, + -2.407412430484045e-35, + 0.0, + 0.0, + 2.407412430484045e-35, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -3.851859888774472e-34, + 0.0, + -3.851859888774472e-34, + 3.851859888774472e-34, + 0.0, + 4.81482486096809e-35, + 3.851859888774472e-34, + 3.851859888774472e-34, + -7.703719777548943e-34, + 0.0, + 1.925929944387236e-34, + -1.925929944387236e-34, + 1.925929944387236e-34, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 6.2592723192585165e-34, + -7.703719777548943e-34, + 3.851859888774472e-34, + 7.703719777548943e-34, + 0.0, + 0.0, + 3.851859888774472e-34, + 2.8888949165808538e-34, + 0.0, + 0.0, + 0.0, + -2.7083389842945504e-34, + 0.0, + 0.0, + 2.407412430484045e-34, + -5.7777898331617076e-34, + 7.703719777548943e-34, + 1.5407439555097887e-33, + -7.703719777548943e-34, + 0.0, + -1.925929944387236e-34, + -3.851859888774472e-34, + 3.851859888774472e-34, + 0.0, + -1.925929944387236e-34, + 9.62964972193618e-35, + 0.0, + 0.0, + 0.0, + -1.925929944387236e-34, + 9.62964972193618e-35, + 7.222237291452134e-35, + 1.925929944387236e-34, + -1.925929944387236e-34, + 2.8888949165808538e-34, + -3.851859888774472e-34, + 9.62964972193618e-35, + 0.0, + 0.0, + 1.925929944387236e-34, + 1.925929944387236e-34, + 0.0, + 1.925929944387236e-34, + -4.81482486096809e-35, + -4.81482486096809e-35, + 0.0, + 0.0, + 0.0, + -6.018531076210112e-35, + -1.2037062152420224e-35, + 1.2037062152420224e-35, + 0.0, + 0.0, + -4.81482486096809e-35, + 0.0, + 0.0, + 0.0, + 6.018531076210112e-36, + 0.0, + 0.0, + 1.925929944387236e-34, + -4.81482486096809e-35, + 0.0, + 0.0, + -1.925929944387236e-34, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 2.5578757073892976e-35, + 0.0, + 0.0, + 0.0, + 1.925929944387236e-34, + -1.925929944387236e-34, + 0.0, + 9.62964972193618e-35, + 9.62964972193618e-35, + -1.925929944387236e-34, + 1.925929944387236e-34, + 0.0, + 0.0, + 9.62964972193618e-35, + -1.925929944387236e-34, + 1.925929944387236e-34, + 3.851859888774472e-34, + -1.925929944387236e-34, + 4.81482486096809e-35, + -9.62964972193618e-35, + 1.925929944387236e-34, + 0.0, + 0.0, + -1.4444474582904269e-34, + 9.62964972193618e-35, + 0.0, + -1.925929944387236e-34, + 0.0, + 0.0, + 0.0, + 3.851859888774472e-34, + 0.0, + -1.925929944387236e-34, + 0.0, + 4.81482486096809e-35, + 0.0, + 0.0, + -2.407412430484045e-35, + -3.851859888774472e-34, + 0.0, + 0.0, + -7.703719777548943e-34, + 0.0, + 3.851859888774472e-34, + -1.925929944387236e-34, + -3.851859888774472e-34, + 0.0, + -1.925929944387236e-34, + 0.0, + 7.703719777548943e-34, + -3.851859888774472e-34, + 3.851859888774472e-34, + -3.851859888774472e-34, + -3.851859888774472e-34, + -7.703719777548943e-34, + 7.703719777548943e-34, + -1.925929944387236e-34, + 7.703719777548943e-34, + 0.0, + 1.925929944387236e-34, + -3.851859888774472e-34, + 0.0, + -7.703719777548943e-34, + -1.5407439555097887e-33, + 7.703719777548943e-34, + -7.703719777548943e-34, + 0.0, + 7.703719777548943e-34 + ], + "local_electrostatic_residual_after": [ + [ + 0.0, + 4.473815810406219e-18 + ] + ], + "local_electrostatic_residual_before": [ + [ + 0.0, + -1.6347696640340648e-17 + ] + ], + "maximum_potential_correction_V": 1.1420728893262751e-17, + "poisson_residual_after_C_m2": [ + 6.427540486059707e-21, + -9.012860511326153e-21, + -1.0507925991079723e-20, + 2.728139830353357e-20, + -6.790552855117229e-20, + 8.176373795395556e-20, + -2.9431980153403907e-20, + -1.3043128565061806e-20, + 5.1079665232087514e-20, + -4.788132244308179e-20, + -5.441507661266287e-21, + -1.094626470595876e-20, + 4.301247252154515e-20, + 1.2809890966929048e-20, + -2.8258996125216283e-20, + -8.311400481069352e-20, + 1.1798092251336339e-19, + -5.77485615266792e-20, + 7.226897204301093e-20, + -1.779591071741093e-20, + -7.296858254250539e-20, + 7.951147263756755e-20, + -8.244246422556303e-20, + 8.194523308032025e-20, + -8.401448164845889e-20, + 2.945042344880578e-20, + 5.696248271950502e-21, + 1.0001716154566265e-19, + -1.7642756355291094e-19, + 6.595894942473128e-20, + 7.526144106345194e-20, + -2.610041570252185e-20, + -5.639195480129878e-20, + 3.4213396660845165e-20, + -6.585593552663038e-21, + 4.912134538578041e-21, + -1.4755557883387426e-20, + 6.922902078420781e-20, + -1.4979639424572698e-19, + 1.5293415356520568e-19, + -1.373359342683475e-19, + 1.12410427337251e-19, + -7.087572841041591e-20, + -8.366311213331161e-20, + 2.378745565314595e-19, + -1.100638027711728e-19, + -1.5818085158842095e-20, + -1.8258050011136326e-20, + 2.72701394468031e-20, + 4.16206054877558e-20, + -1.5343642239279984e-20, + -2.2360206178761568e-20, + -1.3299322858264353e-19, + 2.3878686279583587e-19, + -1.2262775524306574e-19, + 4.506477663422335e-20, + -1.7057970351033934e-19, + 1.7469613687129708e-19, + 4.850389818372995e-20, + -7.645633903912256e-20, + -6.952491345501809e-20, + 4.2591543690385616e-20, + 1.0247511947329984e-19, + -2.320826423165396e-19, + 2.6168172408675143e-19, + -2.6341598993832935e-19, + 1.9015193410403363e-19, + 3.616718395093721e-20, + -1.4320503392204475e-19, + 8.520152041411018e-20, + -1.0999235918469594e-19, + 1.731499863498216e-19, + -1.41712521867124e-19, + 1.4549266362388809e-19, + -1.5966823759062307e-19, + 5.1897496600784583e-20, + -2.227861462235141e-19, + 5.321113768203193e-19, + -4.0861602481952845e-19, + 3.1386011933860185e-19, + -4.397478812272797e-19, + 5.658130817061491e-19, + -4.510681728418289e-19, + -6.175177287012296e-20, + 4.2159724207467307e-19, + -2.986609805268879e-19, + 1.688667229572778e-19, + -3.697746793871824e-19, + 4.2772329306449167e-19, + 1.5473275206257278e-19, + -7.396072269551121e-19, + 3.697217736173255e-19, + 4.419713994487587e-19, + -2.8080996169582463e-19, + -7.340295617201366e-19, + 9.66829016401882e-19, + 6.056879018258077e-19, + -2.317808891620263e-18, + 1.2995002484141606e-18, + 9.58883355618085e-19, + -1.8082615631086557e-18, + 1.4261902027825586e-18, + -9.127354211698564e-19, + 2.5348045165964027e-18, + -3.2570982720697896e-18, + 1.0420716593223032e-18, + -8.70070565307504e-19, + 1.2966981594957917e-18, + -1.1193695231638045e-18, + 1.029460032764315e-18, + 1.0434117677408836e-18, + -1.7789859700617362e-18, + 1.01723486801433e-18, + -1.3007340262603047e-18, + 8.419500553702606e-20, + 1.7781704377504217e-18, + -2.5168378216799123e-19, + -1.968348822697942e-18, + 3.769215632334312e-19, + 1.370215360492931e-19, + 1.7351012711521033e-18, + 5.998856884199166e-19, + -2.8334382789972366e-18, + -6.666648719738475e-19, + 3.3468507755580984e-18, + -3.9957263316529425e-18, + 3.84724236047292e-18, + 3.960477161511012e-20, + -2.8928478344727518e-18, + 2.007600758928497e-18, + -5.762831910372651e-20, + -2.7241123815314666e-18, + 1.6116789661917554e-18, + 1.1743956788986618e-18, + 1.8065123213788992e-19, + 5.569002089750727e-19, + -3.429250881466787e-18, + 3.0924994268060954e-18, + -1.8469540350914643e-18, + 2.0921301638165325e-18, + -1.5008040897054892e-18, + 2.5671317085560316e-19, + -3.9537402552429564e-19, + 7.361343132022896e-19, + -8.087207350975834e-19, + 1.654537287686276e-19, + 1.3415959612132784e-18, + -1.420084429172244e-18, + 9.104436557325402e-21, + 1.244189660721796e-18, + -5.360363938904072e-19, + -7.503218351788111e-19, + -2.868414670884701e-19, + 1.2424279377003899e-18, + -5.257163649913497e-19, + -2.817681955748498e-19, + 4.9441926903784185e-19, + 2.7488322870305244e-19, + -7.477811167269834e-19, + 2.0685783934525917e-19, + 3.0913735605938535e-19, + -6.153606932707319e-19, + 7.6782633814819e-20, + 7.563153914695252e-19, + -6.57738903131888e-19, + 6.52511097214219e-20, + 9.268915718403479e-20, + 5.091921393140492e-19, + -7.967036877752499e-19, + 3.0616747150846116e-19, + 2.7429595116283015e-19, + -2.9550720657232217e-19, + -7.600596640264702e-20, + -3.9540498728784353e-20, + 4.512837597878094e-19, + -3.4670685129119944e-19, + 1.4457607649160132e-19, + -2.2420353487429166e-19, + -1.3103924746683683e-19, + 5.988997688198591e-20, + 5.608411036950069e-19, + -3.0271606527407323e-19, + -8.520985001781457e-20, + -3.1963672300625145e-19, + 6.7058859997994315e-19, + -1.939434074067181e-19, + 4.372277514796077e-21, + -6.086104507414683e-19, + 1.0110887882741256e-18, + -9.855096840670627e-19, + 8.948129069752318e-19, + -4.413862188851644e-19, + -8.724653842855558e-20, + -8.951285542939936e-20, + -1.4092951218294032e-19, + 3.272344944203393e-19, + 5.588785053923687e-19, + -1.1774742431859387e-18, + 6.551722157440873e-19, + -1.023354686042927e-19, + -1.5726327937983407e-19, + 7.934123708244668e-19, + -4.814986006223927e-19, + -1.305676601493865e-19, + -5.625879371006582e-19, + 1.0292930394525953e-18, + -8.30905938716308e-19, + 1.0308381588014582e-18, + -4.779850891662798e-19, + -3.826162935323288e-19, + -4.669248068201855e-19, + 4.890997521320503e-19, + 2.5196947983816895e-19, + 9.115508002380877e-19, + -1.127015644640857e-18, + 3.696782492174028e-19, + -4.353305333711476e-19, + -5.612034720951181e-19, + 1.4900587228565803e-18, + -8.701476438425337e-19, + -2.5028773303512666e-19, + 4.445702038583536e-19, + 2.6129675557485744e-19, + 1.400405285949136e-19, + -3.947696083931843e-19, + -5.328233124116984e-19, + -2.87016337145636e-19, + -1.0510081067109143e-18, + 5.889791909417518e-18, + -5.517594780837073e-18, + 1.1961659241900095e-18, + -4.75899453885297e-19, + 2.414922216066272e-18, + -2.6334320613874404e-18, + 2.0704711250356366e-18, + 2.2764956712265785e-19, + -4.902797256367478e-18, + 5.708920443624776e-18, + -2.47107159512153e-18, + -6.067337485178688e-18, + 1.3269982725428357e-17, + -7.309805676674991e-18, + -1.4279533806631636e-18, + 3.5531014874974745e-18, + -2.1232240510344186e-18, + 1.0472198551259297e-18, + 3.007152009927346e-18, + -5.060091768518966e-18, + 1.1133315290899732e-17, + -2.169798483137798e-17, + 9.891401318515107e-18, + 3.909860172698015e-18, + -3.843026800689902e-18, + 4.525563970776988e-18 + ], + "poisson_residual_before_C_m2": [ + -1.271976789133054e-20, + 1.0134447866064095e-20, + 6.478402498326115e-21, + 1.0295069814127731e-20, + -7.587452927141925e-21, + -3.540218996814872e-20, + 2.7415872144669995e-20, + -1.3043128565061806e-20, + 3.429306680097267e-21, + 4.471802800986884e-20, + -5.0390499562226666e-20, + -1.094626470595876e-20, + 4.301247252154515e-20, + 1.2809890966929048e-20, + -2.8258996125216283e-20, + 4.43238008350513e-20, + -1.2992959554913382e-19, + 6.272415089007318e-20, + 7.226897204301093e-20, + -1.779591071741093e-20, + -7.296858254250539e-20, + -1.2014156312566056e-20, + 9.583682102764563e-20, + -4.808423222754801e-21, + -8.401448164845889e-20, + 2.945042344880578e-20, + 5.696248271950502e-21, + -3.388249468417211e-20, + 8.485612562219911e-20, + -6.142508352054401e-20, + 7.526144106345194e-20, + -2.610041570252185e-20, + -5.639195480129878e-20, + 3.4213396660845165e-20, + -6.585593552663038e-21, + -8.696921952872398e-20, + 1.6514179476441437e-19, + -1.8786977796291974e-20, + 1.2253857867198125e-20, + -1.6486068261355779e-19, + 1.6827093255622456e-19, + -1.818322183929069e-19, + 7.35046345610083e-20, + 1.8540381960859354e-19, + -2.914523983972144e-19, + 1.5019622041559595e-19, + -1.5818085158842095e-20, + -1.8258050011136326e-20, + 2.72701394468031e-20, + 4.16206054877558e-20, + -1.2532458523060963e-19, + 8.762073681256807e-20, + -2.7647689820848645e-20, + -7.330224066725697e-20, + 2.8734929909553775e-19, + -3.583158496401021e-19, + 4.245123245447282e-19, + -4.154477199871393e-19, + 5.0385051466556424e-20, + 3.086831083316495e-19, + -2.6134654866822787e-19, + 4.2591543690385616e-20, + 1.0247511947329984e-19, + -2.320826423165396e-19, + 2.6168172408675143e-19, + -2.6341598993832935e-19, + 1.9015193410403363e-19, + 3.616718395093721e-20, + -1.4320503392204475e-19, + 8.520152041411018e-20, + -1.0999235918469594e-19, + 1.731499863498216e-19, + -1.41712521867124e-19, + -6.51984138997017e-20, + 2.6611429302928643e-19, + -1.6319395649553515e-19, + 2.2785666878640435e-19, + -3.8091335840966987e-19, + 5.3765895400542285e-20, + 3.1386011933860185e-19, + -4.397478812272797e-19, + 5.658130817061491e-19, + -4.510681728418289e-19, + -6.175177287012296e-20, + 4.2159724207467307e-19, + -2.986609805268879e-19, + 1.688667229572778e-19, + -3.697746793871824e-19, + 4.2772329306449167e-19, + 1.5473275206257278e-19, + -7.396072269551121e-19, + 3.697217736173255e-19, + 4.419713994487587e-19, + -1.1219431557152626e-18, + 9.884960736467951e-19, + 8.543657505438832e-20, + -1.3346890779226858e-18, + 2.679784878814871e-18, + -2.828913792111158e-18, + 2.030080605456763e-18, + -1.8082615631086557e-18, + 1.4261902027825586e-18, + -9.127354211698564e-19, + -2.413124851019838e-19, + 2.4478388560328548e-18, + -3.432491472355477e-18, + 3.940422714569492e-18, + -3.692697091333393e-18, + 6.052754530619057e-19, + 1.029460032764315e-18, + -9.955931225910674e-19, + 2.417691923758155e-18, + -1.1404381354736101e-18, + -1.3007340262603047e-18, + 2.646021239544786e-18, + -3.498003884235331e-18, + -4.140711758514848e-19, + 3.9580096062910676e-18, + -2.6727013840940917e-18, + 3.566665545804433e-18, + -5.332805285679614e-18, + 4.238148235496495e-18, + -2.8334382789972366e-18, + -6.666648719738475e-19, + 3.3468507755580984e-18, + -3.9957263316529425e-18, + 3.84724236047292e-18, + 3.960477161511012e-20, + -2.8928478344727518e-18, + 2.007600758928497e-18, + -5.762831910372651e-20, + 1.1362444584064346e-18, + -5.886940420822724e-18, + 8.242302235730379e-18, + -6.482678824122625e-18, + 3.790586255480448e-18, + -5.525153998053005e-19, + -2.498584142833384e-18, + 3.4292202868942884e-18, + -2.8882700074827997e-18, + 9.177698475860831e-19, + 2.5671317085560316e-19, + -3.9537402552429564e-19, + 7.361343132022896e-19, + 1.014192333348218e-18, + -1.657459339677174e-18, + -2.907791760885162e-19, + 2.122907081295506e-19, + 1.4735144997594544e-18, + -1.6082789033295263e-18, + -4.6436786586672665e-19, + 1.8151925704470634e-18, + -3.4996686067447486e-19, + -1.0703382297342219e-18, + 1.6722480130675829e-18, + -1.352965445413528e-18, + -4.757692208364049e-19, + 1.2450717185772993e-18, + -7.477811167269834e-19, + 2.0685783934525917e-19, + 3.0913735605938535e-19, + -6.153606932707319e-19, + 8.11833466353241e-19, + -6.828634297128923e-19, + 4.6389085512107535e-20, + 6.52511097214219e-20, + 9.268915718403479e-20, + 5.091921393140492e-19, + -7.967036877752499e-19, + 3.0616747150846116e-19, + 2.7429595116283015e-19, + -2.9550720657232217e-19, + -7.600596640264702e-20, + -3.9540498728784353e-20, + 4.512837597878094e-19, + -8.090887715112609e-19, + 6.069579967116628e-19, + 2.1572023709103115e-19, + -5.709630194321596e-19, + 9.026542869763373e-19, + -1.1088974652045436e-18, + 5.24258193531126e-19, + -8.520985001781457e-20, + 4.702530598298405e-19, + -9.000970446177069e-19, + 5.868524543548401e-19, + 4.372277514796077e-21, + -6.086104507414683e-19, + 1.0110887882741256e-18, + -9.855096840670627e-19, + 8.948129069752318e-19, + -1.2012354445768638e-18, + 1.4354210403167806e-18, + -8.523312084830361e-19, + 6.323417364473151e-19, + -1.2268326159714744e-18, + 1.3396743671539267e-18, + -1.1774742431859387e-18, + 6.551722157440873e-19, + 7.246387902009065e-19, + -9.842375381850333e-19, + -9.273192539460911e-19, + 2.1190805680788106e-18, + -1.010415204080032e-18, + 3.621759033395017e-19, + -8.458447177965154e-19, + 1.0976839091489278e-18, + -9.557764487126403e-19, + 5.304135872915335e-19, + -3.826162935323288e-19, + 6.472944250454947e-19, + -1.780162383505038e-18, + 1.4070123836095771e-18, + 9.115508002380877e-19, + -1.127015644640857e-18, + -9.80753162261951e-19, + 2.3233568553962187e-18, + -1.9694594493831305e-18, + 1.4900587228565803e-18, + -8.701476438425337e-19, + -2.5028773303512666e-19, + 4.445702038583536e-19, + 2.6129675557485744e-19, + 1.400405285949136e-19, + -2.4329141355176558e-18, + 3.647715714390129e-18, + -2.429410836822992e-18, + 3.692988050146394e-18, + -3.850701978641104e-18, + -5.210970496357593e-19, + 1.1961659241900095e-18, + 2.4529206725188686e-18, + -3.605383920885041e-18, + 4.580539491597064e-19, + 2.0704711250356366e-18, + -3.4181765697692315e-18, + 2.5981556778602227e-18, + 1.853793646288965e-18, + -2.47107159512153e-18, + 3.0687882602891823e-18, + -5.5404387692052996e-18, + 2.364490072490794e-18, + -1.4279533806631636e-18, + 3.5531014874974745e-18, + -2.1232240510344186e-18, + 1.0472198551259297e-18, + 3.007152009927346e-18, + -5.060091768518966e-18, + -4.3081120688531585e-18, + 1.0130621434835119e-17, + -6.4957775879450995e-18, + 3.909860172698015e-18, + -3.843026800689902e-18, + 4.525563970776988e-18 + ], + "potential_correction_V": [ + 0.0, + -1.9490657166905963e-21, + 1.3987307672337133e-20, + 1.5675537024847075e-20, + 7.130220372117056e-21, + -1.9377260398064102e-20, + -3.3870007802651846e-20, + 1.8271601310902554e-20, + 1.8116785093452375e-20, + 4.5940735681490755e-20, + 6.76412300380264e-20, + -1.7217224258717957e-20, + 2.1664673129541785e-20, + 9.251021716458092e-20, + 4.4149070003954e-20, + -4.5977309678358575e-20, + -5.050316159417981e-20, + -2.061297917280742e-19, + 9.697007984442332e-20, + 1.7871176732504734e-19, + -2.5654200201204134e-20, + -1.6592514502373282e-19, + 1.350083252920697e-20, + 2.59819411476911e-19, + 4.0599452629536396e-20, + -1.6520961188697312e-19, + 8.459943636351445e-20, + 1.753998657122747e-19, + 2.3589467235982567e-19, + 5.190083523261857e-19, + 2.3881521232325186e-19, + 3.838231995737907e-19, + -2.894690473786066e-20, + -2.5635758993734703e-19, + -2.944973070565855e-20, + -8.738132978911166e-20, + -8.848360370462707e-20, + 7.313556487077357e-19, + -4.0205596832229153e-20, + -6.517390945340399e-19, + -1.4199348168418878e-18, + -3.829717218364728e-19, + -1.2531182904463144e-18, + 2.8402707427807384e-20, + 4.413645376858127e-19, + -1.5217760462462505e-18, + 3.339158723531276e-19, + 1.826447600679459e-19, + 2.511147551061062e-19, + 5.882029033797308e-19, + 5.253874878030258e-19, + -1.7992871292836165e-19, + 1.0743074922026104e-18, + 9.436126797901269e-19, + 1.265462360662151e-18, + 2.8235717605041518e-18, + -4.968163289754513e-19, + 2.3428134731044314e-18, + -2.2374671489108912e-18, + 5.130321077381153e-19, + 2.386042887586267e-18, + -1.3094387113747754e-18, + -2.7194577389882234e-19, + -8.285245791581137e-21, + -1.6193585366881144e-18, + 1.016576941326267e-18, + -1.1319486298225962e-18, + 1.5201581447911421e-18, + 7.175734022990032e-19, + -7.27887006665225e-19, + 3.8589463727645513e-19, + -1.0075192326273459e-20, + 1.5059071481214242e-18, + 4.2983058839198375e-20, + 9.830312271439469e-19, + 2.979087978221567e-18, + 6.418585444055804e-19, + 9.304299008392128e-19, + -2.296347054144865e-18, + 2.7510627953355394e-19, + 1.992151901090958e-18, + -7.923547485564459e-19, + 2.5583825130789058e-18, + -1.738622855089343e-18, + -7.874448302453734e-20, + 2.2937253573735114e-18, + -4.831286730756453e-19, + 2.9872930537226216e-19, + -8.298238846868348e-19, + 2.0439190678899857e-18, + 4.071629001666898e-19, + -2.6872143381686794e-18, + 1.3304920934682703e-18, + 1.835316644131979e-18, + -1.4992217352995559e-18, + 4.57117259352469e-18, + 2.582207035773323e-18, + 4.4334945673319633e-20, + 7.172198695930211e-18, + -4.2885897183029314e-18, + 3.1331629761296988e-18, + -2.3128184593401645e-18, + 3.092735898263737e-18, + 3.026213685625906e-19, + 2.4662461904391834e-18, + 5.724477561464832e-18, + -2.785897146242807e-18, + 4.560094878572296e-18, + -5.233707415070239e-18, + 3.5357234689355125e-19, + 3.3356848320694278e-18, + 2.4500163627253466e-18, + 5.0008356123105816e-18, + -3.637283453988363e-19, + -1.966856718639219e-18, + 2.5100386511303e-19, + -4.822096203795677e-18, + -6.679211980810562e-19, + 4.25052647706462e-18, + -1.1563157489415663e-19, + 1.5018586449109188e-18, + -4.189186315848508e-18, + 6.168197385141054e-19, + -2.4716380442443446e-18, + -5.827519781624462e-19, + 2.260595158905015e-18, + -9.1673770805513e-20, + 3.349323489530594e-18, + -4.270909871101751e-19, + -2.4883398149304192e-18, + -3.2877905682613046e-19, + -1.2396702418265884e-18, + -2.1089189712523486e-18, + -5.07377787709308e-18, + 3.0079482934728895e-18, + -5.094647490967042e-18, + 2.223811973010492e-19, + -2.764504243815167e-18, + -4.598189918556453e-18, + -1.542567001943019e-19, + -4.7340419931132134e-18, + -1.2986353222125689e-18, + -4.490509396440289e-19, + -3.7528073393027108e-19, + 1.0482717109742142e-18, + -9.582943924271094e-20, + -5.166120864972527e-18, + -3.856730214491821e-18, + -1.2372833962316252e-18, + 5.759916110326465e-19, + -4.492058525385623e-18, + -1.7991078642822323e-18, + 3.48821014544529e-18, + -1.0231548574105985e-18, + -3.727097464622518e-18, + 1.8210662925755368e-20, + -6.87450817259219e-18, + -4.907403098167212e-18, + 5.615696039054985e-19, + -3.0447142370362466e-18, + -9.397635314215645e-19, + -4.405286374530914e-19, + -2.587784840111947e-18, + 7.252700935010628e-19, + -3.4764148311471265e-18, + -1.133282738235325e-18, + 8.334605317344018e-19, + 2.183667344375375e-18, + 2.5561444857499057e-18, + -2.9508866711302546e-18, + 9.053463977510353e-19, + 1.0894999578245762e-18, + -2.256724664813675e-18, + -1.7768653938392498e-18, + -2.354637140150552e-19, + 1.914452268979487e-18, + -2.4624967622156342e-18, + 5.181210512178063e-18, + 3.6782350433221286e-18, + -1.2639051019206881e-18, + 2.891738590293495e-18, + -7.729820474344507e-18, + 5.466949853183613e-20, + -9.761290454638316e-19, + -5.457543188562976e-19, + -8.371553864273332e-18, + -2.9026527501066785e-19, + -2.662495137537886e-18, + -5.132308677229716e-18, + 3.455728015073303e-18, + -6.389071979467878e-18, + 1.781280996768326e-18, + -6.4230428426584525e-18, + 7.327839869557532e-18, + -5.0891018479785525e-18, + -2.017758227442152e-18, + -1.0318731306991163e-17, + 3.265893588636402e-18, + -6.842982194224807e-18, + 3.59413938999997e-18, + 2.6881605209091185e-18, + -1.036289184403987e-17, + -6.961993969086954e-18, + 1.1327081399942592e-17, + -4.212946390244336e-18, + -3.825197485166827e-18, + -8.882410597241865e-18, + -1.4519397398293506e-18, + -9.80561546652023e-18, + -4.755664304246653e-18, + -6.934834119516653e-18, + -4.1090831370705085e-18, + -9.441741130381029e-18, + 6.802647426410318e-18, + 6.166018282619668e-18, + -4.599654755287376e-18, + -2.8818837339871762e-18, + 8.845928548575584e-18, + -2.80354967931512e-18, + 4.628788673522135e-18, + -1.7195783541806e-18, + -2.7369763000270423e-19, + 3.1720935151015676e-18, + 2.960546244147991e-18, + 7.973439947770008e-19, + -2.2652495436473494e-18, + 1.1384852182118221e-17, + 7.419269207300854e-19, + 5.584765905657291e-18, + -1.1420728893262751e-17, + -6.176165725295289e-18, + 1.5471908357636913e-18, + 2.8921490583232348e-18, + -7.455823813471487e-18, + -1.074620166407094e-18, + 3.0208312984088665e-18, + -1.4331093249796633e-18, + 7.36429221846709e-18, + 6.331159739417697e-18, + -9.541125295998084e-19, + 1.080492715050621e-19, + -8.211537755873163e-18, + -1.7278475654967151e-19, + 1.012062483414361e-18, + 5.780717545787203e-18, + 1.7098516022777968e-18, + 2.7008009674179548e-18, + 1.3882042947136933e-18, + -5.933498547795326e-18, + -3.1847673879716402e-18, + 7.149546214840289e-18, + -2.711744077441926e-19, + 3.102941282051792e-18, + 4.0438610918194575e-19, + 3.30308676182929e-18, + 0.0 + ], + "representation": "fixed-population potential increments with inherited residual retained", + "trace_potential_correction_V": [ + [ + 1.2357052156818788e-17, + 1.2357052156818788e-17 + ] + ] + }, + "full_charge_jump_C_m2": 0.0, + "impulse_charge_C_m2": 2.21354695425e-06, + "impulse_error_C_m2": 1.7271001794515184e-18, + "local_iterations": 2, + "local_scaled_residual": 0.023231472879653985, + "observed_impulse_charge_C_m2": [ + 2.213546954250006e-06, + 2.213546954251727e-06 + ], + "regular_current": { + "charge_balance_error_A_m2": -4.874778444102683e-17, + "charge_balance_normalized": 4.874778444102683e-17, + "charge_density_derivative_C_m3_s": [ + 157034.80119325194, + 141.41547121435192, + 142.5111460989564, + 143.66798832595194, + 144.88858576991777, + 146.17591333630753, + 147.53281139493788, + 148.9621299223517, + 150.466904349645, + 152.04997244431766, + 153.71434542631883, + 155.46286067302606, + 157.29834432543294, + 159.223684552083, + 161.24144174781966, + 163.3542530356704, + 165.56451860686542, + 167.87452835768528, + 170.28626339535563, + 172.8016532792794, + 175.4221907374016, + 178.1491859826748, + 180.98362470750334, + 183.92614589494167, + 186.97699354010226, + 190.1361200062351, + 193.40298265012242, + 196.776738953193, + 200.25606165892083, + 203.83931620124514, + 207.52443701812024, + 211.30905799246636, + 215.19052488972974, + 219.16593244469493, + 223.2322324422891, + 227.38630990952709, + 231.62508314247307, + 235.94562867518562, + 240.34532444056714, + 244.82199276194567, + 249.37406334495273, + 254.0007443315625, + 258.7022138038941, + 263.47978691085206, + 268.33610230544554, + 273.2753023324256, + 278.30319364484444, + 283.42739408954407, + 288.6574645535629, + 294.00499404481553, + 299.48368427182817, + 305.1093645062933, + 310.89997322930253, + 316.8755183827469, + 323.0579506734184, + 329.47101911384107, + 336.140063575371, + 343.0917701912716, + 350.35385670703045, + 357.95475821484666, + 365.92323538339286, + 374.28796880479547, + 383.0771392053494, + 392.31796862244664, + 402.0362650738524, + 412.25596929826577, + 422.9986950898512, + 434.2833031494143, + 446.1254805006671, + 458.5373726610132, + 471.5272361913719, + 485.09915718199227, + 499.252815386969, + 513.9833001420998, + 529.2810207605016, + 545.1316433979497, + 561.5161427502014, + 578.41088380437, + 595.7878131068775, + 613.6146844052616, + 631.8553744791368, + 650.4702458007908, + 669.416542370976, + 688.6488911253556, + 708.1197348676652, + 727.7799203714319, + 747.5791449805618, + 767.4665818124441, + 787.3913169068159, + 807.302947116307, + 827.1519644246936, + 846.8903134912252, + 866.4717161828894, + 885.8520890455262, + 904.9898181799888, + 923.846076597911, + 942.3849698015912, + 960.5737549118364, + 978.3828983065574, + 995.7861832426667, + 1012.760699994117, + 1029.286751755009, + 1045.347981409074, + 1060.930989019236, + 1076.025517231497, + 1090.6240518866755, + 1104.7217652687816, + 1118.3164373811228, + 1131.4079615031585, + 1143.9985120876022, + 1156.0921851460353, + 1167.6946291432705, + 1178.8132845842897, + 1189.456697222287, + 1199.6347336962067, + 1209.358194214276, + 1218.6387712681894, + 1227.488872936668, + 1235.9211553137363, + 1243.9492066379387, + 1251.5864973843481, + 1258.8469954263117, + 1265.744388912538, + 1272.2929388020825, + 1278.5061895512652, + 1284.398242654414, + 1289.9825284601054, + -431385.97308789415, + 484279.0390687223, + -1857.497465924298, + -1852.0120010147898, + -1846.2053471400893, + -1840.0608391297121, + -1833.561212893192, + -1826.688635540453, + -1819.424699925407, + -1811.7504927779275, + -1803.6465883245176, + -1795.093123810059, + -1786.0698386832707, + -1776.556137118562, + -1766.5311732322884, + -1755.9739253985938, + -1744.8633042110594, + -1733.1782615983036, + -1720.89791796405, + -1708.00170428793, + -1694.4695198212669, + -1680.2819020326458, + -1665.4202162029467, + -1649.8668567457862, + -1633.6054667912103, + -1616.6211664109537, + -1598.9007973429661, + -1580.4331776422716, + -1561.2093623542978, + -1541.2229107110832, + -1520.4701570682353, + -1498.9504761909147, + -1476.6665446176874, + -1453.6245901143564, + -1429.834622396829, + -1405.310642354603, + -1380.0708212685283, + -1354.1376438030802, + -1327.5380100720722, + -1300.3032880728501, + -1272.4693132806638, + -1244.0763286543008, + -1215.1688616379522, + -1185.795535472058, + -1156.0088123113696, + -1125.8646695930784, + -1095.4222104147982, + -1064.7432121456543, + -1033.8916191251428, + -1002.9329867067411, + -971.9338864735122, + -940.9612830009678, + -910.0818952231315, + -879.3615548583388, + -848.8645757428476, + -818.6531482022543, + -788.7867705054082, + -759.3217308657628, + -730.3106494950416, + -701.802090428774, + -673.8402490490762, + -646.4647203263515, + -619.7103489141207, + -593.6071606568306, + -568.1803727284247, + -543.4504764285243, + -519.433386644076, + -496.1406483376234, + -473.5796917576527, + -451.7541250192201, + -430.66405495182426, + -410.3064250316538, + -390.67536203634484, + -371.76252159979754, + -353.5574262042033, + -336.0477885551399, + -319.21981550978893, + -303.0584888005957, + -287.54782041351325, + -272.6710803968062, + -258.41099790486385, + -244.74993499893714, + -231.67003538068624, + -219.15334888188477, + -207.1819348266285, + -195.73794574712915, + -184.80369474444345, + -174.36170798811918, + -164.39476578845063, + -154.88593347185662, + -145.81858442847664, + -137.17641692146046, + -128.9434666987205, + -121.10411509288943, + -113.64309582871657, + -106.5454990136187, + -99.79677466611375, + -93.38273514294242, + -87.28955716653795, + -81.50378377361935, + -76.01232506544292, + -70.80246073183123, + -65.86183942017814, + -61.1784812067726, + -56.740776321421976, + -52.53748596245999, + -48.55774119330992, + -44.79104236973824, + -41.22725609958825, + -37.85661353515364, + -34.6697073839378, + -31.657486711573746, + -28.811253428919265, + -26.122657129571135, + -23.583687360030165, + -21.18667022564912, + -18.92425732706236, + -16.789422169928073, + -14.775448628850292, + -12.875925865090402, + -11.084736663471833, + -9.396049836891958, + -7.8043124472786305, + -6.304238188978903, + -4.890796506607348, + -3.5592109062188686, + -2.3049386820782782, + -1.1236778478258642, + 0.0 + ], + "charge_rate_A_m2": 1.906693591513173e-14, + "contact_conduction_A_m2": [ + -2.0148150244118576e-05, + -2.014815026323426e-05 + ], + "contact_displacement_A_m2": [ + -2.3017929569828572e-05, + -2.3017929550762006e-05 + ], + "contact_electron_current_A_m2": [ + -1.0061230937160327e-05, + -1.0086929199318656e-05 + ], + "contact_hole_current_A_m2": [ + -1.0086919306958249e-05, + -1.0061221063915604e-05 + ], + "contact_internal_current_spread_relative": 1.171550794067541e-12, + "contact_ion_current_A_m2": [ + 0.0, + 0.0 + ], + "contact_maxwell_A_m2": [ + -4.3166079813947145e-05, + -4.3166079813996266e-05 + ], + "current_direction": "+x; report current is junction_polarity times +x", + "differentiated_poisson_normalized": 1.0102985478375667e-18, + "differentiated_poisson_residual_A_m2": [ + -4.433688083284228e-21, + 3.0936554909483235e-21, + -2.276401045745932e-21, + -3.735547646289473e-21, + 1.1891548486062326e-20, + -4.433688083284228e-21, + -7.613370357938067e-21, + -1.1904783375863174e-20, + -2.1324716191617053e-20, + 5.3336605897419224e-21, + 1.2685641874113232e-20, + -2.717784620604228e-20, + -1.0673938624384269e-20, + -2.660212849970537e-20, + 1.750975920652249e-20, + 2.4418371682565377e-20, + 1.870089928859885e-20, + -2.6608745944605794e-20, + 1.2890782666026383e-20, + -3.626359805432473e-21, + 1.1262891220522025e-20, + -2.8693241088239424e-20, + 9.767348673026151e-21, + 8.66885281955573e-21, + -1.4227506535912076e-20, + 2.8190315275807183e-21, + 3.902969002270206e-20, + -2.3941915649734833e-20, + 2.2472842881840656e-20, + 2.226108464502708e-20, + 5.955700410381799e-21, + -1.0005576689441423e-20, + 4.1875191329884473e-20, + -1.826414792517085e-21, + -2.7846208140985124e-20, + -4.5607430253723734e-20, + 7.014491594449675e-21, + -5.929230630780102e-21, + 1.2811373327221293e-20, + -5.881585027497048e-20, + 3.245194979168038e-20, + -1.3817224952085774e-20, + -2.3822801641527197e-21, + -5.468656465710577e-20, + 5.1986647137732683e-20, + 1.3552527156068805e-20, + -3.441071348220595e-21, + -8.470329472543003e-21, + 2.752857078576476e-21, + 9.634999775017666e-21, + -5.293955920339377e-21, + -1.4293680984916318e-21, + 1.3870164511289168e-20, + -4.341043854678289e-21, + -3.843411998166388e-20, + 4.055170234979963e-20, + -3.7375328797596e-20, + -1.122318655111948e-20, + -5.3151317440207346e-20, + 2.964615315390051e-21, + 5.61159327555974e-20, + -1.1434944787933055e-20, + -4.309280119156253e-20, + -6.88214269644119e-21, + 7.962109704190423e-20, + -3.134021904840911e-20, + 1.1540823906339842e-20, + -5.082197683525802e-21, + 4.1928130889087867e-20, + -2.022291161569642e-20, + 3.8963515573697816e-20, + 5.69629657028517e-20, + -3.494010907423989e-20, + 3.451659260061274e-20, + -7.506829495041237e-20, + 3.716357056078243e-20, + -6.702148195149651e-20, + 3.3034284942917713e-20, + -1.122318655111948e-20, + 4.828087799349512e-20, + -3.578714202149419e-20, + 4.0234064994579266e-21, + 6.3527471044072525e-21, + 1.2705494208814505e-20, + -1.2176098616780567e-20, + -3.8116482626443515e-21, + -2.541098841762901e-20, + -1.1858461261560205e-20, + -1.1011428314305904e-20, + 3.282252670610414e-21, + 1.4081922748102743e-20, + -2.8587361969832636e-21, + 3.1763735522036263e-21, + 8.470329472543003e-22, + -3.1763735522036263e-22, + 6.246867986000465e-21, + -1.164670302474663e-20, + 4.182225177068108e-20, + -9.423241538204091e-21, + -1.8211208365967457e-20, + 1.1858461261560205e-20, + -1.376428539288238e-20, + -4.362219678359647e-20, + 5.4104229505868434e-20, + -9.973812953919386e-20, + -4.6110356066155975e-20, + 1.0847315680775384e-19, + -7.025079506290353e-20, + -1.1630821156985612e-19, + -1.7787691892340307e-20, + -1.3208420021246746e-19, + 1.0524384369634682e-19, + 1.3531351332387448e-19, + 2.5860974670857857e-19, + -3.9895251815677546e-19, + 6.96684599116662e-20, + 1.2049043674692422e-19, + -3.8375886466540145e-19, + -8.152692117322641e-20, + -3.6665938704270526e-19, + 1.5273062830179103e-20, + 5.430539983084133e-19, + 3.5975077456666237e-19, + -3.563097032184418e-19, + 3.6414475798054406e-19, + -4.223518033246755e-19, + 7.589415207398531e-19, + 4.0657581468206416e-20, + -3.561773543204333e-19, + -4.341573250270323e-19, + 5.876291071576709e-19, + -7.983285527871781e-19, + 1.0102985478375667e-18, + -4.214518308182178e-19, + -2.973615040454628e-19, + 1.7792985848260646e-19, + -8.83561243104642e-20, + -5.026611146362239e-19, + 3.0704944337968387e-21, + 6.691560283308973e-20, + -6.326277324805556e-20, + 1.2366681029912785e-19, + 3.0027317980164947e-19, + 2.1292290711604975e-19, + 1.9418230315804835e-19, + -2.6300373012246026e-19, + 2.4362785145401814e-19, + -1.3912516158651883e-19, + 5.495126245312273e-20, + -4.89902680868206e-19, + 1.4240741425712924e-19, + 1.0524384369634682e-19, + 3.05990652195616e-19, + 1.1487884347136448e-19, + -2.369574669943905e-19, + 2.5718037861008694e-19, + 1.588186776101813e-20, + 1.895236219481497e-19, + 2.6046263128069735e-20, + -2.9857911390714087e-20, + 7.072725109573408e-20, + -2.1260526976082939e-19, + 7.517417406881916e-20, + 1.5839516113655416e-19, + -1.6030098526787634e-19, + 1.4738373282224826e-19, + 1.5183065579533334e-19, + 1.835943913173696e-19, + 4.489274620447792e-20, + 6.6280328122649e-20, + -2.0328790734103208e-19, + -1.7618285302889447e-19, + -1.0672615135404184e-19, + 2.39710324072967e-19, + 1.3277241448211158e-19, + -1.2557263443045003e-19, + -6.564505341220828e-20, + 2.6829768604279963e-19, + -7.898582233146351e-20, + 3.875175733688424e-20, + 3.6422416731934915e-20, + -8.173867941003998e-20, + -9.656175598699024e-20, + 1.2112571145736495e-19, + -2.4945120296639145e-19, + 1.8317087484374245e-19, + -8.915021769851511e-20, + 2.0455845676191353e-19, + 3.112846081159554e-20, + -1.3129010682441655e-19, + -5.463362509790237e-20, + -1.9344114932920084e-19, + 1.9862922613113343e-19, + 2.625802136488331e-20, + 8.798554739604045e-20, + -3.5469504666273827e-20, + -2.337810934421869e-19, + 8.555032767268433e-20, + -4.319868030996932e-20, + -1.6940658945086007e-21, + -1.7787691892340307e-19, + -7.199780051661553e-20, + 1.2652554649611111e-20, + 8.470329472543003e-22, + 3.2240191554866807e-20, + -5.421010862427522e-20, + 9.142661874426104e-20, + 3.134021904840911e-20, + -6.776263578034403e-21, + -1.3129010682441655e-19, + 1.2731963988416202e-20, + -2.541098841762901e-20, + -3.3034284942917713e-20, + 1.3552527156068805e-20, + 4.828087799349512e-20, + -1.1855814283600035e-19, + -1.6675961149069038e-21, + 2.3730157412921258e-20, + 8.132839782621368e-20, + 1.7800926782141156e-20, + 5.759824041329242e-20, + 1.707300784309449e-21, + 5.761147530309327e-20, + 2.2036091518412657e-20, + -7.115738501426165e-20, + -3.3947492339176256e-21, + -3.0499803546055236e-20, + 2.2016239183711385e-20, + -4.7427227601340395e-20, + 1.6808310047077522e-21, + 8.640397806483906e-20, + 1.1855152539109993e-20, + 1.5243284328127194e-20, + 2.7111671757038035e-20, + -1.6934041500185583e-20, + -3.049318610115481e-20, + -2.5404370972728586e-20, + -6.606856988583543e-20, + 3.7274412762864533e-20, + 5.591079196368425e-20, + -6.780399481097168e-21, + 1.525072895364017e-20, + 1.1852670997272334e-20, + -2.3721058426183175e-20, + -2.541098841762901e-20, + -3.2184770453825754e-20, + 5.088815128426226e-21, + 2.2027819712287127e-20, + 3.3827551150356067e-21, + 6.77771114410637e-21, + -5.077337997427053e-21, + -2.68833699079734e-24, + 5.080853515030403e-21, + 8.530300066953098e-25 + ], + "face_current_spread_relative": 1.171550794067541e-12, + "independent_physics": { + "arrays": { + "charge_balance_absolute_A_m2": 4.870712685955862e-17, + "charge_density_derivative_C_m3_s": [ + 157034.80119325194, + 141.41547121434945, + 142.51114609895987, + 143.66798832595083, + 144.88858576992334, + 146.1759133363004, + 147.53281139494172, + 148.96212992235328, + 150.46690434964287, + 152.04997244431507, + 153.71434542632196, + 155.4628606730242, + 157.29834432543518, + 159.2236845520802, + 161.24144174782109, + 163.35425303566834, + 165.5645186068674, + 167.87452835768622, + 170.2862633953546, + 172.80165327927782, + 175.42219073740384, + 178.14918598267366, + 180.9836247075041, + 183.9261458949411, + 186.9769935401028, + 190.13612000623502, + 193.40298265012223, + 196.77673895319188, + 200.25606165892165, + 203.8393162012463, + 207.52443701811973, + 211.30905799246517, + 215.19052488973117, + 219.16593244469348, + 223.23223244229064, + 227.38630990952598, + 231.62508314247304, + 235.9456286751867, + 240.3453244405664, + 244.8219927619452, + 249.37406334495432, + 254.0007443315625, + 258.7022138038941, + 263.4797869108518, + 268.33610230544434, + 273.2753023324269, + 278.30319364484285, + 283.4273940895456, + 288.6574645535612, + 294.00499404481656, + 299.48368427182754, + 305.1093645062947, + 310.8999732293014, + 316.8755183827475, + 323.05795067341757, + 329.471019113842, + 336.14006357537045, + 343.0917701912713, + 350.353856707031, + 357.9547582148459, + 365.9232353833942, + 374.28796880479524, + 383.0771392053484, + 392.31796862244687, + 402.0362650738524, + 412.25596929826594, + 422.99869508985216, + 434.2833031494134, + 446.12548050066715, + 458.53737266101325, + 471.5272361913719, + 485.09915718199306, + 499.25281538696754, + 513.9833001421001, + 529.2810207605027, + 545.1316433979497, + 561.5161427502011, + 578.4108838043696, + 595.7878131068765, + 613.6146844052624, + 631.8553744791375, + 650.4702458007898, + 669.4165423709776, + 688.6488911253541, + 708.1197348676666, + 727.7799203714304, + 747.5791449805627, + 767.466581812444, + 787.3913169068147, + 807.3029471163094, + 827.1519644246919, + 846.890313491226, + 866.4717161828879, + 885.8520890455272, + 904.9898181799884, + 923.8460765979106, + 942.3849698015913, + 960.5737549118377, + 978.3828983065541, + 995.7861832426684, + 1012.7606999941153, + 1029.2867517550108, + 1045.347981409074, + 1060.9309890192349, + 1076.0255172314967, + 1090.6240518866798, + 1104.7217652687798, + 1118.3164373811214, + 1131.4079615031608, + 1143.998512087603, + 1156.0921851460319, + 1167.6946291432744, + 1178.8132845842897, + 1189.456697222287, + 1199.634733696199, + 1209.3581942142746, + 1218.63877126819, + 1227.4888729366774, + 1235.9211553137327, + 1243.949206637939, + 1251.5864973843381, + 1258.8469954263162, + 1265.7443889125357, + 1272.2929388020798, + 1278.5061895512729, + 1284.3982426544092, + 1289.9825284601097, + -431385.97308789415, + 484279.0390687224, + -1857.4974659242985, + -1852.0120010147898, + -1846.2053471400893, + -1840.0608391297121, + -1833.561212893192, + -1826.688635540453, + -1819.4246999254065, + -1811.7504927779275, + -1803.6465883245176, + -1795.093123810059, + -1786.0698386832703, + -1776.5561371185618, + -1766.5311732322884, + -1755.973925398594, + -1744.8633042110596, + -1733.178261598304, + -1720.89791796405, + -1708.0017042879301, + -1694.4695198212669, + -1680.2819020326458, + -1665.4202162029467, + -1649.8668567457864, + -1633.6054667912103, + -1616.6211664109537, + -1598.9007973429661, + -1580.4331776422716, + -1561.2093623542978, + -1541.2229107110832, + -1520.4701570682353, + -1498.9504761909143, + -1476.6665446176874, + -1453.6245901143564, + -1429.834622396829, + -1405.310642354603, + -1380.0708212685286, + -1354.1376438030802, + -1327.5380100720722, + -1300.3032880728501, + -1272.4693132806635, + -1244.0763286543008, + -1215.1688616379522, + -1185.795535472058, + -1156.0088123113696, + -1125.8646695930786, + -1095.4222104147982, + -1064.7432121456545, + -1033.891619125143, + -1002.9329867067411, + -971.9338864735122, + -940.961283000968, + -910.0818952231315, + -879.3615548583389, + -848.8645757428476, + -818.6531482022543, + -788.7867705054082, + -759.321730865763, + -730.3106494950418, + -701.802090428774, + -673.8402490490763, + -646.4647203263515, + -619.7103489141207, + -593.6071606568306, + -568.1803727284246, + -543.4504764285244, + -519.433386644076, + -496.1406483376234, + -473.5796917576527, + -451.7541250192201, + -430.6640549518243, + -410.3064250316538, + -390.67536203634484, + -371.76252159979754, + -353.5574262042032, + -336.0477885551399, + -319.2198155097888, + -303.0584888005956, + -287.54782041351325, + -272.6710803968062, + -258.4109979048639, + -244.74993499893714, + -231.67003538068624, + -219.15334888188482, + -207.18193482662855, + -195.73794574712915, + -184.80369474444342, + -174.36170798811918, + -164.39476578845063, + -154.88593347185662, + -145.81858442847664, + -137.17641692146046, + -128.9434666987205, + -121.10411509288943, + -113.64309582871658, + -106.54549901361868, + -99.79677466611379, + -93.38273514294244, + -87.28955716653792, + -81.5037837736193, + -76.01232506544292, + -70.80246073183122, + -65.86183942017814, + -61.17848120677256, + -56.74077632142201, + -52.53748596245999, + -48.55774119330992, + -44.79104236973824, + -41.22725609958825, + -37.85661353515364, + -34.66970738393784, + -31.657486711573746, + -28.811253428919308, + -26.122657129571135, + -23.583687360030165, + -21.186670225649163, + -18.924257327062318, + -16.789422169928034, + -14.775448628850292, + -12.875925865090444, + -11.084736663471876, + -9.396049836892, + -7.804312447278588, + -6.304238188978903, + -4.89079650660739, + -3.559210906218827, + -2.304938682078236, + -1.1236778478259062, + 0.0 + ], + "contact_conduction_A_m2": [ + -2.0148150244118576e-05, + -2.014815026323426e-05 + ], + "contact_displacement_A_m2": [ + -2.3017929569828762e-05, + -2.301792955076181e-05 + ], + "contact_maxwell_A_m2": [ + -4.3166079813947335e-05, + -4.316607981399607e-05 + ], + "electron_rate_m3_s": [ + 0.0, + 1.3538364602344197e+21, + 1.3479763677482792e+21, + 1.3417913621094138e+21, + 1.3352668551054924e+21, + 1.3283880345415852e+21, + 1.3211399214286706e+21, + 1.3135074364171632e+21, + 1.3054754758469306e+21, + 1.297028998483069e+21, + 1.2881531231451687e+21, + 1.2788332378428363e+21, + 1.269055121149485e+21, + 1.258805075412172e+21, + 1.2480700727219226e+21, + 1.2368379129294537e+21, + 1.225097393781089e+21, + 1.2128384922339275e+21, + 1.2000525565554605e+21, + 1.1867325071963975e+21, + 1.172873045613043e+21, + 1.1584708681869265e+21, + 1.1435248831986184e+21, + 1.12803642753484e+21, + 1.1120094797507206e+21, + 1.0954508655384136e+21, + 1.0783704510148805e+21, + 1.0607813190834466e+21, + 1.0426999238765317e+21, + 1.0241462176339049e+21, + 1.0051437447170231e+21, + 9.857196973916916e+20, + 9.659049278946188e+20, + 9.45733912392706e+20, + 9.252446623226682e+20, + 9.044785799304944e+20, + 8.834802558268556e+20, + 8.622972073426036e+20, + 8.40979558228157e+20, + 8.195796617386002e+20, + 7.981516705555135e+20, + 7.767510591144789e+20, + 7.554341051128113e+20, + 7.342573389753255e+20, + 7.132769708493368e+20, + 6.925483063810603e+20, + 6.721251628661351e+20, + 6.520592977847536e+20, + 6.32399862127438e+20, + 6.131928898256959e+20, + 5.944808343721078e+20, + 5.7630216208331375e+20, + 5.5869101016566825e+20, + 5.416769157454515e+20, + 5.2528462029709613e+20, + 5.095339516068295e+20, + 4.944397835274075e+20, + 4.800120718400613e+20, + 4.662559624553416e+20, + 4.531719671388446e+20, + 4.4075619986925643e+20, + 4.290006666339897e+20, + 4.178936001174037e+20, + 4.074198304491485e+20, + 3.9756118303830934e+20, + 3.8829689431149255e+20, + 3.7960403646379196e+20, + 3.714579428722928e+20, + 3.6383262605668824e+20, + 3.567011811694013e+20, + 3.500361684486376e+20, + 3.438099692038878e+20, + 3.3799511082379916e+20, + 3.32564557229949e+20, + 3.274919624264147e+20, + 3.227518856445298e+20, + 3.183199677552075e+20, + 3.1417306952260184e+20, + 3.1028937304966136e+20, + 3.0664844874882535e+20, + 3.032312905005252e+20, + 3.0002032243675654e+20, + 2.969993809444314e+20, + 2.9415367560299214e+20, + 2.9146973318900194e+20, + 2.8893532816757817e+20, + 2.8653940356848167e+20, + 2.8427198540303106e+20, + 2.821240935217281e+20, + 2.8008765165540744e+20, + 2.7815539857359303e+20, + 2.7632080232196846e+20, + 2.74577978747707e+20, + 2.7292161526954695e+20, + 2.713469007380661e+20, + 2.6984946161517252e+20, + 2.6842530442160865e+20, + 2.670707648991295e+20, + 2.6578246315685462e+20, + 2.6455726437361667e+20, + 2.6339224579472137e+20, + 2.6228466724980638e+20, + 2.6123194772548374e+20, + 2.602316443746825e+20, + 2.5928143621492428e+20, + 2.5837910993873856e+20, + 2.5752254856768464e+20, + 2.5670972289721605e+20, + 2.5593868301857033e+20, + 2.5520755393565055e+20, + 2.5451452949527593e+20, + 2.538578696070528e+20, + 2.5323589716129576e+20, + 2.526469951980424e+20, + 2.5208960587480498e+20, + 2.5156222819881638e+20, + 2.5106341659542602e+20, + 2.5059178085519724e+20, + 2.501459835314757e+20, + 2.4972473956215462e+20, + 2.4932681617254e+20, + 2.4895102961606178e+20, + 2.4859624716826254e+20, + 2.482613822757781e+20, + 2.4794539743203335e+20, + 2.4764729981763122e+20, + 2.473661411668482e+20, + 4.5407962570121886e+22, + -2.993853329974974e+24, + 1.1750868433748435e+22, + 1.1717084347528552e+22, + 1.168132493061574e+22, + 1.164348807555984e+22, + 1.160346806179022e+22, + 1.1561155750349249e+22, + 1.1516438560913832e+22, + 1.146920090261105e+22, + 1.1419324147772332e+22, + 1.1366687110814098e+22, + 1.1311166305199054e+22, + 1.1252636345320362e+22, + 1.1190970489895064e+22, + 1.1126041119955274e+22, + 1.1057720425757113e+22, + 1.098588110274442e+22, + 1.0910397160490292e+22, + 1.0831144825752117e+22, + 1.0748003543634258e+22, + 1.0660857056358855e+22, + 1.0569594604987276e+22, + 1.0474112205487585e+22, + 1.0374314039114505e+22, + 1.0270113897873116e+22, + 1.0161436733158095e+22, + 1.0048220266786273e+22, + 9.930416640189283e+21, + 9.807994104312827e+21, + 9.680938732522857e+21, + 9.549256098254678e+21, + 9.412972927165084e+21, + 9.272138673797855e+21, + 9.126826979940801e+21, + 8.977136996405162e+21, + 8.823194514796046e+21, + 8.665152869697933e+21, + 8.503193580869724e+21, + 8.337526680547775e+21, + 8.168390704441568e+21, + 7.996052303403628e+21, + 7.820805453134308e+21, + 7.642970243806106e+21, + 7.462891232768294e+21, + 7.28093536770342e+21, + 7.097489483751555e+21, + 6.912957399499611e+21, + 6.727756647054601e+21, + 6.542314880411245e+21, + 6.357066022423624e+21, + 6.172446214644192e+21, + 5.988889651038565e+21, + 5.806824373709185e+21, + 5.626668117756819e+21, + 5.448824294679917e+21, + 5.273678191911182e+21, + 5.101593474936652e+21, + 4.932909055331446e+21, + 4.767936389475369e+21, + 4.6069572503962434e+21, + 4.4502220096209803e+21, + 4.297948442831433e+21, + 4.15032106333299e+21, + 4.007490972853107e+21, + 3.869576199886145e+21, + 3.7366624943526306e+21, + 3.608804525334382e+21, + 3.4860274346370385e+21, + 3.368328680456079e+21, + 3.2556801163994443e+21, + 3.1480302383235654e+21, + 3.045306545554556e+21, + 2.947417954231606e+21, + 2.854257217704761e+21, + 2.765703305171966e+21, + 2.6816237014646333e+21, + 2.6018765963940767e+21, + 2.5263129408192764e+21, + 2.4547783469970086e+21, + 2.3871148268537585e+21, + 2.3231623566875104e+21, + 2.2627602710685247e+21, + 2.2057484837393636e+21, + 2.1519685456743278e+21, + 2.1012645442891298e+21, + 2.0534838576254104e+21, + 2.0084777705317962e+21, + 1.966101969747241e+21, + 1.9262169260791693e+21, + 1.8886881777969652e+21, + 1.853386526680624e+21, + 1.8201881604446736e+21, + 1.788974705951913e+21, + 1.7596332322349738e+21, + 1.732056203010012e+21, + 1.7061413939702596e+21, + 1.6817917778889558e+21, + 1.6589153856827194e+21, + 1.637425149344161e+21, + 1.617238727494445e+21, + 1.5982783282517513e+21, + 1.580470515037322e+21, + 1.5637460215670002e+21, + 1.5480395534176066e+21, + 1.533289599820694e+21, + 1.51943824328232e+21, + 1.506430976767242e+21, + 1.4942165196429195e+21, + 1.48274664621153e+21, + 1.471976018440835e+21, + 1.461862020017776e+21, + 1.4523646057147033e+21, + 1.443446153949659e+21, + 1.435071320279722e+21, + 1.427206913879057e+21, + 1.4198217578139094e+21, + 1.4128865816476752e+21, + 1.4063738964405531e+21, + 1.4002578979058966e+21, + 1.3945143554236458e+21, + 1.3891205209595005e+21, + 1.3840550431073724e+21, + 1.37929787532157e+21, + 1.3748301906390378e+21, + 1.370634331623081e+21, + 1.3666937058492972e+21, + 1.3629927691669393e+21, + 0.0 + ], + "face_capacitance_F_m2": [ + 0.75017404571579, + 0.7064109946762256, + 0.6653014944568102, + 0.6266849087920617, + 0.590410342534266, + 0.5563360520275734, + 0.5243288912413053, + 0.49426379149910127, + 0.4660232727703924, + 0.4394969846145307, + 0.4145812749841298, + 0.39117878520229893, + 0.369198069531688, + 0.34855323784813197, + 0.3291636200232019, + 0.31095345070385594, + 0.2938515732577741, + 0.27779116172718027, + 0.26270945970500414, + 0.24854753511284186, + 0.23525004992259865, + 0.22276504392192767, + 0.21104373167855206, + 0.20004031191017313, + 0.18971178851491888, + 0.18001780256316943, + 0.17092047459416174, + 0.16238425660115646, + 0.15437579312684066, + 0.14686379092615495, + 0.13981889668725767, + 0.13321358233280742, + 0.12702203745343213, + 0.12122006845295585, + 0.11578500401143077, + 0.11069560649643802, + 0.10593198897658829, + 0.10147553751290392, + 0.09730883842444564, + 0.09341561024397625, + 0.08978064009777696, + 0.086389724261008, + 0.08322961265634855, + 0.08028795707902932, + 0.07755326294595627, + 0.07501484438037558, + 0.07266278245657996, + 0.0704878864414875, + 0.06848165788165626, + 0.06663625739539021, + 0.06494447404018784, + 0.06339969713582182, + 0.0619958904329705, + 0.06072756852643374, + 0.059589775420800864, + 0.05857806516478559, + 0.057688484478576295, + 0.056917557306310415, + 0.05626227123330822, + 0.05572006571500012, + 0.05528882207153989, + 0.05496685520901951, + 0.054752907034926586, + 0.0546461415421221, + 0.0546461415421221, + 0.054752907034926586, + 0.05496685520901951, + 0.05528882207153989, + 0.05572006571500012, + 0.05626227123330846, + 0.05691755730631017, + 0.057688484478576295, + 0.05857806516478559, + 0.059589775420800864, + 0.06072756852643374, + 0.0619958904329705, + 0.06339969713582182, + 0.06494447404018752, + 0.06663625739539088, + 0.06848165788165556, + 0.0704878864414875, + 0.07266278245658016, + 0.07501484438037621, + 0.07755326294595559, + 0.08028795707902908, + 0.08322961265634855, + 0.08638972426100855, + 0.08978064009777666, + 0.09341561024397593, + 0.09730883842444671, + 0.10147553751290353, + 0.10593198897658912, + 0.11069560649643802, + 0.11578500401143002, + 0.12122006845295667, + 0.12702203745343182, + 0.13321358233280645, + 0.13981889668725767, + 0.14686379092615656, + 0.15437579312684066, + 0.162384256601154, + 0.17092047459416146, + 0.18001780256316613, + 0.18971178851492493, + 0.20004031191017202, + 0.2110437316785508, + 0.2227650439219323, + 0.2352500499225909, + 0.24854753511284822, + 0.2627094597050022, + 0.2777911617271727, + 0.293851573257779, + 0.3109534507038613, + 0.32916362002319277, + 0.3485532378481382, + 0.3691980695316899, + 0.3911787852022882, + 0.41458127498413294, + 0.4394969846145519, + 0.4660232727703929, + 0.49426379149909444, + 0.5243288912412835, + 0.5563360520275673, + 0.5904103425342505, + 0.6266849087921119, + 0.6653014944567798, + 0.7064109946762493, + 0.3750870228578949, + 0.7064109946762493, + 0.6653014944567798, + 0.6266849087920532, + 0.5904103425343027, + 0.5563360520275673, + 0.5243288912412835, + 0.49426379149909444, + 0.4660232727703929, + 0.4394969846145519, + 0.41458127498413294, + 0.3911787852022882, + 0.3691980695316899, + 0.3485532378481382, + 0.32916362002319277, + 0.3109534507038613, + 0.29385157325776606, + 0.2777911617271842, + 0.2627094597050022, + 0.24854753511284822, + 0.23525004992259918, + 0.2227650439219249, + 0.2110437316785508, + 0.20004031191017202, + 0.18971178851491954, + 0.18001780256317096, + 0.17092047459416146, + 0.162384256601154, + 0.15437579312684066, + 0.14686379092615656, + 0.13981889668725767, + 0.13321358233280645, + 0.12702203745343424, + 0.12122006845295448, + 0.11578500401143002, + 0.11069560649643802, + 0.10593198897658912, + 0.10147553751290353, + 0.09730883842444671, + 0.09341561024397593, + 0.08978064009777666, + 0.08638972426100744, + 0.0832296126563496, + 0.08028795707902908, + 0.07755326294595559, + 0.07501484438037537, + 0.07266278245658095, + 0.0704878864414875, + 0.06848165788165626, + 0.06663625739538954, + 0.06494447404018752, + 0.06339969713582243, + 0.0619958904329705, + 0.060727568526433184, + 0.0595897754208014, + 0.05857806516478559, + 0.057688484478576295, + 0.05691755730631017, + 0.05626227123330846, + 0.055720065715000586, + 0.05528882207153898, + 0.05496685520901974, + 0.05475290703492636, + 0.054646141542122544, + 0.054646141542122544, + 0.05475290703492636, + 0.05496685520901974, + 0.05528882207153898, + 0.055720065715000586, + 0.05626227123330846, + 0.05691755730631017, + 0.057688484478576295, + 0.05857806516478559, + 0.0595897754208014, + 0.060727568526433184, + 0.0619958904329705, + 0.06339969713582243, + 0.06494447404018626, + 0.06663625739539221, + 0.06848165788165486, + 0.0704878864414875, + 0.07266278245658095, + 0.07501484438037537, + 0.07755326294595559, + 0.08028795707902908, + 0.0832296126563496, + 0.08638972426100744, + 0.08978064009777786, + 0.09341561024397463, + 0.0973088384244453, + 0.10147553751290507, + 0.10593198897658912, + 0.11069560649643802, + 0.11578500401143203, + 0.12122006845295227, + 0.12702203745343424, + 0.13321358233280645, + 0.13981889668725472, + 0.14686379092615978, + 0.15437579312684066, + 0.16238425660115793, + 0.1709204745941571, + 0.18001780256316613, + 0.18971178851492493, + 0.200040311910178, + 0.21104373167854415, + 0.22276504392193971, + 0.23525004992257434, + 0.24854753511284822, + 0.26270945970502285, + 0.2777911617271612, + 0.2938515732577919, + 0.3109534507038469, + 0.32916362002319277, + 0.34855323784812003, + 0.36919806953171025, + 0.3911787852023111, + 0.41458127498413294, + 0.4394969846145519, + 0.46602327277036043, + 0.49426379149913097, + 0.5243288912412013, + 0.5563360520276136, + 0.5904103425343027, + 0.6266849087920532, + 0.6653014944567798, + 0.7064109946763238, + 0.7501740457157058 + ], + "hole_rate_m3_s": [ + 0.0, + 1.3608314010331536e+21, + 1.3622914810245703e+21, + 1.363839868229358e+21, + 1.3654815434732237e+21, + 1.3672217266418318e+21, + 1.369065883593066e+21, + 1.3710197329575302e+21, + 1.3730892526281234e+21, + 1.375280685964379e+21, + 1.3776005479916299e+21, + 1.3800556311548152e+21, + 1.382653010894666e+21, + 1.3854000516063156e+21, + 1.3883044120383513e+21, + 1.391374051502964e+21, + 1.394617236201793e+21, + 1.3980425467898296e+21, + 1.4016588867792205e+21, + 1.405475493114881e+21, + 1.4095019489959784e+21, + 1.4137481999165384e+21, + 1.4182245740005884e+21, + 1.422941807650845e+21, + 1.4279110777903765e+21, + 1.4331440422498625e+21, + 1.438652890150475e+21, + 1.4444504042177697e+21, + 1.450550036993117e+21, + 1.4569660036228807e+21, + 1.463713393764285e+21, + 1.4708083048589982e+21, + 1.4782680002432218e+21, + 1.486111094153075e+21, + 1.494357766614245e+21, + 1.503030010389255e+21, + 1.5121519118558332e+21, + 1.5217499671348883e+21, + 1.5318534337899882e+21, + 1.542494717360265e+21, + 1.553709790907429e+21, + 1.5655386436407919e+21, + 1.5780257536096285e+21, + 1.5912205764751277e+21, + 1.6051780414304234e+21, + 1.6199590417151775e+21, + 1.6356309060318134e+21, + 1.6522678346688616e+21, + 1.6699512815938985e+21, + 1.6887702635363579e+21, + 1.7088215746327934e+21, + 1.730209885732799e+21, + 1.7530477070324948e+21, + 1.7774551943761987e+21, + 1.8035597805336988e+21, + 1.8314956164017218e+21, + 1.861402809722192e+21, + 1.8934264534324717e+21, + 1.9277154409831785e+21, + 1.9644210697672207e+21, + 2.0036954417407045e+21, + 2.045689673461868e+21, + 2.0905519355440928e+21, + 2.1384253464553665e+21, + 2.1894457505845336e+21, + 2.2437394160482606e+21, + 2.3014206923528159e+21, + 2.3625896707635555e+21, + 2.4273298950174734e+21, + 2.4957061703208754e+21, + 2.5677625214418446e+21, + 2.6435203496040145e+21, + 2.7229768366293023e+21, + 2.8061036429659587e+21, + 2.892845940241538e+21, + 2.9831218150997104e+21, + 3.0768220719995657e+21, + 3.173810454484078e+21, + 3.273924295560553e+21, + 3.3769755944926356e+21, + 3.4827525092761236e+21, + 3.591021239697249e+21, + 3.701528266977876e+21, + 3.814002906634267e+21, + 3.9281601187645757e+21, + 4.043703520342437e+21, + 4.1603285314548966e+21, + 4.2777255904144964e+21, + 4.395583372448857e+21, + 4.5135919437012255e+21, + 4.6314457948041626e+21, + 4.748846695147452e+21, + 4.865506323669289e+21, + 4.981148638186022e+21, + 5.095511950617933e+21, + 5.208350689760118e+21, + 5.319436845412582e+21, + 5.428561079792464e+21, + 5.535533523850794e+21, + 5.640184270462475e+21, + 5.742363561469934e+21, + 5.841941737063482e+21, + 5.938808912023235e+21, + 6.032874472869649e+21, + 6.124066366613021e+21, + 6.212330258487139e+21, + 6.297628561332216e+21, + 6.379939356754266e+21, + 6.459255291905777e+21, + 6.535582369146133e+21, + 6.608938788178148e+21, + 6.679353728924124e+21, + 6.746866175277312e+21, + 6.811523781547688e+21, + 6.873381740362034e+21, + 6.932501744602561e+21, + 6.988950991808482e+21, + 7.042801216967944e+21, + 7.094127861327537e+21, + 7.143009253929163e+21, + 7.189525849005928e+21, + 7.233759621250937e+21, + 7.275793378727186e+21, + 7.315710332410837e+21, + 7.353593501149313e+21, + 7.389525386610394e+21, + 7.423587576082803e+21, + -1.897443973346369e+24, + 2.8778686943595174e+22, + 1.572811443940544e+20, + 1.577346371845072e+20, + 1.582175031228902e+20, + 1.58731650571856e+20, + 1.592791129380782e+20, + 1.598620554091619e+20, + 1.6048278603135703e+20, + 1.6114376127885463e+20, + 1.6184759962466016e+20, + 1.625970890514955e+20, + 1.6339519943675157e+20, + 1.6424509420589987e+20, + 1.6515014184791658e+20, + 1.661139300634633e+20, + 1.6714027883019203e+20, + 1.6823325532047432e+20, + 1.6939718929703954e+20, + 1.7063668924455138e+20, + 1.719566592726482e+20, + 1.7336231716990566e+20, + 1.7485921276617916e+20, + 1.7645324745670233e+20, + 1.7815069404845477e+20, + 1.7995821775380496e+20, + 1.8188289737942172e+20, + 1.8393224695317574e+20, + 1.8611423792183168e+20, + 1.884373213427709e+20, + 1.909104497346857e+20, + 1.9354309894180333e+20, + 1.963452889811696e+20, + 1.9932760373979313e+20, + 2.025012092728151e+20, + 2.0587786971262324e+20, + 2.0946996045000756e+20, + 2.132904778320918e+20, + 2.173530443133009e+20, + 2.216719084899134e+20, + 2.2626193862745044e+20, + 2.311386087859795e+20, + 2.363179762188738e+20, + 2.4181664870219556e+20, + 2.476517405702721e+20, + 2.5384081582345195e+20, + 2.60401817081725e+20, + 2.673529789220079e+20, + 2.7471272427608916e+20, + 2.8249954280508405e+20, + 2.9073185022328e+20, + 2.99427828077408e+20, + 3.086052435009404e+20, + 3.182812493289369e+20, + 3.2847216526955e+20, + 3.3919324133967384e+20, + 3.5045840598707746e+20, + 3.622800013027386e+20, + 3.746685093328087e+20, + 3.876322735886429e+20, + 4.011772212195329e+20, + 4.1530659138531806e+20, + 4.300206765467036e+20, + 4.453165834284944e+20, + 4.6118802053814596e+20, + 4.776251197374848e+20, + 4.946142980357441e+20, + 5.121381665262595e+20, + 5.301754910513181e+20, + 5.4870120972353405e+20, + 5.676865093735643e+20, + 5.870989631789434e+20, + 6.069027282364664e+20, + 6.270588021220543e+20, + 6.47525333708235e+20, + 6.682579834525888e+20, + 6.892103262125957e+20, + 7.103342884527935e+20, + 7.315806103669193e+20, + 7.528993243573226e+20, + 7.742402384900896e+20, + 7.955534164179624e+20, + 8.167896429593254e+20, + 8.37900867994614e+20, + 8.588406193895874e+20, + 8.795643796921146e+20, + 9.0002991988409e+20, + 9.201975878854726e+20, + 9.400305472847747e+20, + 9.594949668082503e+20, + 9.785601598616053e+20, + 9.971986756633154e+20, + 1.0153863429521804e+21, + 1.033102272645103e+21, + 1.0503288183702251e+21, + 1.0670515040735608e+21, + 1.0832589192897943e+21, + 1.0989425890963145e+21, + 1.1140968225221115e+21, + 1.1287185433182281e+21, + 1.1428071108276217e+21, + 1.156364127099875e+21, + 1.1693932466356026e+21, + 1.181899975953202e+21, + 1.1938914831155027e+21, + 1.205376404436645e+21, + 1.216364660988959e+21, + 1.2268672793619642e+21, + 1.2368962265822216e+21, + 1.2464642493035145e+21, + 1.2555847251950877e+21, + 1.2642715294328674e+21, + 1.2725389059915147e+21, + 1.2804013524264136e+21, + 1.287873521612848e+21, + 1.2949701194080602e+21, + 1.3017058339796193e+21, + 1.3080952508191167e+21, + 1.3141527997443552e+21, + 1.3198926897768505e+21, + 1.3253288709505782e+21, + 1.3304749906384535e+21, + 1.335344356147756e+21, + 1.339949915457496e+21, + 1.3443042398617068e+21, + 1.3484194844539966e+21, + 1.3523074101490302e+21, + 1.3559793236829633e+21, + 0.0 + ], + "interface_maxwell_A_m2": [ + [ + -4.316607981394749e-05, + -4.3166079813996103e-05 + ] + ], + "internal_conduction_A_m2": [ + -2.9415437159141225e-05, + -2.9432645223441277e-05, + -2.945105950210121e-05, + -2.9470768700114634e-05, + -2.9491868303048853e-05, + -2.951446114025203e-05, + -2.953865791174742e-05, + -2.9564577767179314e-05, + -2.959234895126927e-05, + -2.9622109418507433e-05, + -2.9654007548166564e-05, + -2.9688202826999375e-05, + -2.9724866591903944e-05, + -2.9764182820662565e-05, + -2.9806348853681828e-05, + -2.9851576228389964e-05, + -2.9900091447191052e-05, + -2.9952136779294576e-05, + -3.0007970994045245e-05, + -3.0067870152218873e-05, + -3.0132128236841904e-05, + -3.020105781172597e-05, + -3.027499055982133e-05, + -3.0354277716549967e-05, + -3.043929036176224e-05, + -3.053041961211827e-05, + -3.0628076548424174e-05, + -3.073269203043702e-05, + -3.0844716187435e-05, + -3.096461773577116e-05, + -3.109288293528313e-05, + -3.123001429509976e-05, + -3.137652894030576e-05, + -3.153295662930459e-05, + -3.169983745425694e-05, + -3.187771919723014e-05, + -3.2067154358069664e-05, + -3.226869688302809e-05, + -3.248289863087606e-05, + -3.271030560921613e-05, + -3.29514540420622e-05, + -3.320686633212398e-05, + -3.347704700527797e-05, + -3.376247868998763e-05, + -3.4063618233946556e-05, + -3.438089304124278e-05, + -3.471469769901648e-05, + -3.5065390965416295e-05, + -3.543329318357329e-05, + -3.581868413627825e-05, + -3.622180139943004e-05, + -3.6642839147600764e-05, + -3.708194738932425e-05, + -3.7539231608456705e-05, + -3.8014752676214275e-05, + -3.850852697557297e-05, + -3.902052660193683e-05, + -3.955067953085155e-05, + -4.0098869589151414e-05, + -4.066493617611936e-05, + -4.124867357111557e-05, + -4.1849829777418806e-05, + -4.2468104875070665e-05, + -4.3103148841499954e-05, + -4.3754558895303154e-05, + -4.442187644603015e-05, + -4.5104583746329514e-05, + -4.580210043065098e-05, + -4.651378009634927e-05, + -4.7238907167809185e-05, + -4.79766942312291e-05, + -4.872628008941136e-05, + -4.948672873162421e-05, + -5.025702939294594e-05, + -5.103609790251584e-05, + -5.18227793702035e-05, + -5.2615852343421615e-05, + -5.3414034386862e-05, + -5.421598910176674e-05, + -5.5020334444896e-05, + -5.582565224322426e-05, + -5.6630498704620655e-05, + -5.7433415684866876e-05, + -5.823294254427099e-05, + -5.902762820972659e-05, + -5.9816043333349615e-05, + -6.0596792108773064e-05, + -6.136852369453065e-05, + -6.212994282353616e-05, + -6.287981958802793e-05, + -6.361699804959383e-05, + -6.434040374734815e-05, + -6.504904983477141e-05, + -6.574204192245938e-05, + -6.641858153225967e-05, + -6.707796825874973e-05, + -6.77196005962734e-05, + -6.83429756019011e-05, + -6.894768741056113e-05, + -6.953342478158272e-05, + -7.009996775020832e-05, + -7.064718349449356e-05, + -7.117502168932972e-05, + -7.168350921766279e-05, + -7.217274467815341e-05, + -7.264289251772894e-05, + -7.309417708073333e-05, + -7.35268766532256e-05, + -7.394131742738212e-05, + -7.433786772956689e-05, + -7.471693235903237e-05, + -7.507894710518714e-05, + -7.542437367912012e-05, + -7.575369478796588e-05, + -7.606740965707007e-05, + -7.636602982497159e-05, + -7.66500753157552e-05, + -7.69200711468658e-05, + -7.717654410748195e-05, + -7.742002004512894e-05, + -7.765102126877744e-05, + -7.787006440510564e-05, + -7.80776584139265e-05, + -7.827430303604683e-05, + -7.84604872879334e-05, + -7.863668839986893e-05, + -7.880337078504188e-05, + -8.524961014369391e-07, + -8.836108957541842e-05, + -8.812107693862513e-05, + -8.78670073182694e-05, + -8.759815108261292e-05, + -8.73137526886945e-05, + -8.701303136933714e-05, + -8.669518209196063e-05, + -8.635937682968157e-05, + -8.6004766169007e-05, + -8.5630481305912e-05, + -8.523563645593425e-05, + -8.481933172653965e-05, + -8.438065648996303e-05, + -8.391869329382287e-05, + -8.343252235412667e-05, + -8.292122666291161e-05, + -8.238389774766789e-05, + -8.181964211130741e-05, + -8.122758837626233e-05, + -8.060689514846645e-05, + -7.99567596086736e-05, + -7.92764268243322e-05, + -7.856519976405928e-05, + -7.782244997791859e-05, + -7.704762889184668e-05, + -7.624027964011333e-05, + -7.540004933876924e-05, + -7.452670167944613e-05, + -7.362012969534968e-05, + -7.268036852384332e-05, + -7.170760796615257e-05, + -7.070220461494515e-05, + -6.966469329752883e-05, + -6.859579756181691e-05, + -6.749643891273956e-05, + -6.636774449653022e-05, + -6.52110529256555e-05, + -6.40279179395519e-05, + -6.282010961183424e-05, + -6.158961283672303e-05, + -6.0338622864431985e-05, + -5.906953770197573e-05, + -5.778494725433922e-05, + -5.6487619151407745e-05, + -5.518048128333855e-05, + -5.3866601153986314e-05, + -5.2549162251709926e-05, + -5.1231437727944926e-05, + -4.991676176299439e-05, + -4.8608499080062846e-05, + -4.731001314092544e-05, + -4.602463361295403e-05, + -4.4755623738032775e-05, + -4.3506148253534123e-05, + -4.227924251305778e-05, + -4.1077783432328566e-05, + -3.9904462838300187e-05, + -3.876176373606516e-05, + -3.765193992470645e-05, + -3.657699929894547e-05, + -3.553869106792949e-05, + -3.453849701488433e-05, + -3.357762681276743e-05, + -3.2657017307301665e-05, + -3.177733558555727e-05, + -3.093898556415636e-05, + -3.0142117765012586e-05, + -2.9386641892320116e-05, + -2.86722417905485e-05, + -2.7998392341278368e-05, + -2.7364377853370985e-05, + -2.6769311507322884e-05, + -2.621215543598012e-05, + -2.569174105066076e-05, + -2.5206789258345232e-05, + -2.4755930255509565e-05, + -2.4337722627254368e-05, + -2.3950671524045862e-05, + -2.3593245733403694e-05, + -2.3263893504552116e-05, + -2.2961057025277986e-05, + -2.2683185485739133e-05, + -2.2428746698401376e-05, + -2.2196237271476774e-05, + -2.1984191359829236e-05, + -2.1791188037927834e-05, + -2.1615857358273622e-05, + -2.1456885171646724e-05, + -2.1313016797237792e-05, + -2.118305963777984e-05, + -2.1065884839559014e-05, + -2.0960428098769622e-05, + -2.0865689716839232e-05, + -2.0780734003345044e-05, + -2.0704688123412794e-05, + -2.0636740480084168e-05, + -2.0576138717077844e-05, + -2.052218742042019e-05, + -2.047424559029717e-05, + -2.043172394792404e-05, + -2.0394082133161988e-05, + -2.0360825844302775e-05, + -2.0331503960958826e-05, + -2.030570568815984e-05, + -2.0283057750514188e-05, + -2.0263221661732527e-05, + -2.0245891088527097e-05, + -2.0230789324604946e-05, + -2.021766688486535e-05, + -2.0206299227552187e-05, + -2.019648460930375e-05, + -2.018804207417727e-05, + -2.018080957682617e-05, + -2.017464223839779e-05, + -2.016941073043735e-05, + -2.016499978431704e-05, + -2.0161306818871422e-05, + -2.0158240682299536e-05, + -2.015572050052174e-05, + -2.0153674626953722e-05, + -2.0152039686223955e-05, + -2.0150759705430666e-05, + -2.014978532720485e-05, + -2.0149073098123637e-05, + -2.0148584825173346e-05, + -2.0148286997358835e-05, + -2.014815026323426e-05 + ], + "internal_displacement_A_m2": [ + -1.3750642654806113e-05, + -1.3733434590506062e-05, + -1.3715020311846131e-05, + -1.3695311113832703e-05, + -1.3674211510898482e-05, + -1.3651618673695302e-05, + -1.3627421902199914e-05, + -1.3601502046768024e-05, + -1.3573730862678063e-05, + -1.3543970395439905e-05, + -1.3512072265780772e-05, + -1.347787698694796e-05, + -1.3441213222043392e-05, + -1.3401896993284773e-05, + -1.3359730960265508e-05, + -1.3314503585557369e-05, + -1.3265988366756286e-05, + -1.3213943034652763e-05, + -1.315810881990209e-05, + -1.3098209661728465e-05, + -1.3033951577105434e-05, + -1.2965022002221365e-05, + -1.2891089254126006e-05, + -1.2811802097397368e-05, + -1.2726789452185101e-05, + -1.2635660201829066e-05, + -1.2538003265523166e-05, + -1.2433387783510316e-05, + -1.2321363626512342e-05, + -1.2201462078176175e-05, + -1.207319687866421e-05, + -1.1936065518847575e-05, + -1.178955087364158e-05, + -1.1633123184642747e-05, + -1.1466242359690397e-05, + -1.1288360616717197e-05, + -1.1098925455877675e-05, + -1.089738293091925e-05, + -1.0683181183071278e-05, + -1.0455774204731207e-05, + -1.0214625771885138e-05, + -9.959213481823359e-06, + -9.689032808669372e-06, + -9.403601123959703e-06, + -9.102461580000779e-06, + -8.785186772704556e-06, + -8.451382114930854e-06, + -8.10068884853104e-06, + -7.732786630374049e-06, + -7.347395677669091e-06, + -6.9442784145172995e-06, + -6.5232406663465716e-06, + -6.084132424623087e-06, + -5.626848205490628e-06, + -5.1513271377330644e-06, + -4.657552838374364e-06, + -4.145553212010508e-06, + -3.615400283095788e-06, + -3.067210224795928e-06, + -2.501143637827974e-06, + -1.9174062428317635e-06, + -1.3162500365285342e-06, + -6.979749388766768e-07, + -6.293097244738584e-08, + 5.884790813558108e-07, + 1.2557966320828106e-06, + 1.9385039323821758e-06, + 2.6360206167036397e-06, + 3.347700282401935e-06, + 4.072827353861847e-06, + 4.810614417281758e-06, + 5.560200275464023e-06, + 6.32064891767687e-06, + 7.090949578998601e-06, + 7.870018088568506e-06, + 8.65669955625616e-06, + 9.449772529474277e-06, + 1.0247954572914663e-05, + 1.1049909287819402e-05, + 1.1854254630948663e-05, + 1.2659572429276924e-05, + 1.3464418890673313e-05, + 1.4267335870919531e-05, + 1.5066862730323648e-05, + 1.586154839577925e-05, + 1.6649963519402274e-05, + 1.7430712294825726e-05, + 1.8202443880583307e-05, + 1.8963863009588825e-05, + 1.9713739774080592e-05, + 2.045091823564648e-05, + 2.1174323933400795e-05, + 2.1882970020824056e-05, + 2.2575962108512037e-05, + 2.3252501718312326e-05, + 2.3911888444802386e-05, + 2.4553520782326053e-05, + 2.5176895787953743e-05, + 2.5781607596613782e-05, + 2.6367344967635366e-05, + 2.6933887936260974e-05, + 2.7481103680546204e-05, + 2.8008941875382358e-05, + 2.8517429403715427e-05, + 2.9006664864206052e-05, + 2.9476812703781588e-05, + 2.992809726678598e-05, + 3.0360796839278247e-05, + 3.077523761343476e-05, + 3.117178791561954e-05, + 3.1550852545085006e-05, + 3.191286729123978e-05, + 3.225829386517276e-05, + 3.258761497401852e-05, + 3.290132984312272e-05, + 3.319995001102424e-05, + 3.348399550180784e-05, + 3.375399133291844e-05, + 3.401046429353459e-05, + 3.425394023118158e-05, + 3.448494145483009e-05, + 3.4703984591158275e-05, + 3.4911578599979145e-05, + 3.510822322209947e-05, + 3.529440747398605e-05, + 3.547060858592158e-05, + 3.5637290971094534e-05, + -4.231358371251055e-05, + 4.5195009761422346e-05, + 4.495499712462906e-05, + 4.4700927504273325e-05, + 4.4432071268616846e-05, + 4.414767287469843e-05, + 4.384695155534107e-05, + 4.352910227796456e-05, + 4.31932970156855e-05, + 4.2838686355010924e-05, + 4.246440149191592e-05, + 4.2069556641938184e-05, + 4.1653251912543576e-05, + 4.121457667596695e-05, + 4.07526134798268e-05, + 4.026644254013058e-05, + 3.975514684891554e-05, + 3.92178179336718e-05, + 3.8653562297311344e-05, + 3.806150856226625e-05, + 3.7440815334470383e-05, + 3.679067979467752e-05, + 3.611034701033612e-05, + 3.5399119950063206e-05, + 3.4656370163922505e-05, + 3.3881549077850607e-05, + 3.307419982611726e-05, + 3.223396952477317e-05, + 3.1360621865450056e-05, + 3.0454049881353598e-05, + 2.9514288709847247e-05, + 2.854152815215649e-05, + 2.753612480094906e-05, + 2.649861348353276e-05, + 2.542971774782084e-05, + 2.433035909874348e-05, + 2.3201664682534145e-05, + 2.204497311165942e-05, + 2.086183812555582e-05, + 1.9654029797838176e-05, + 1.8423533022726955e-05, + 1.7172543050435912e-05, + 1.5903457887979655e-05, + 1.4618867440343149e-05, + 1.3321539337411673e-05, + 1.2014401469342478e-05, + 1.0700521339990244e-05, + 9.383082437713856e-06, + 8.065357913948856e-06, + 6.750681948998324e-06, + 5.442419266066777e-06, + 4.143933326929371e-06, + 2.8585537989579607e-06, + 1.5895439240367056e-06, + 3.4006843953805386e-07, + -8.868373009382913e-07, + -2.0882963816675004e-06, + -3.2616169756958864e-06, + -4.404316077930912e-06, + -5.514139889289622e-06, + -6.589080515050601e-06, + -7.627388746066579e-06, + -8.627582799111746e-06, + -9.588453001228645e-06, + -1.0509062506694404e-05, + -1.13887442284388e-05, + -1.2227094249839704e-05, + -1.3023962048983484e-05, + -1.3779437921675954e-05, + -1.4493838023447572e-05, + -1.5167687472717702e-05, + -1.5801701960625084e-05, + -1.639676830667319e-05, + -1.695392437801595e-05, + -1.747433876333531e-05, + -1.795929055565084e-05, + -1.8410149558486504e-05, + -1.8828357186741705e-05, + -1.9215408289950207e-05, + -1.9572834080592376e-05, + -1.9902186309443954e-05, + -2.0205022788718084e-05, + -2.0482894328256936e-05, + -2.0737333115594697e-05, + -2.0969842542519295e-05, + -2.1181888454166837e-05, + -2.1374891776068235e-05, + -2.1550222455722448e-05, + -2.1709194642349345e-05, + -2.1853063016758277e-05, + -2.198302017621623e-05, + -2.2100194974437056e-05, + -2.220565171522645e-05, + -2.2300390097156837e-05, + -2.2385345810651026e-05, + -2.2461391690583275e-05, + -2.2529339333911902e-05, + -2.2589941096918226e-05, + -2.2643892393575878e-05, + -2.26918342236989e-05, + -2.273435586607203e-05, + -2.2771997680834082e-05, + -2.2805253969693294e-05, + -2.2834575853037243e-05, + -2.286037412583623e-05, + -2.288302206348188e-05, + -2.2902858152263543e-05, + -2.2920188725468973e-05, + -2.2935290489391124e-05, + -2.294841292913072e-05, + -2.2959780586443883e-05, + -2.296959520469232e-05, + -2.29780377398188e-05, + -2.29852702371699e-05, + -2.299143757559828e-05, + -2.299666908355872e-05, + -2.300108002967903e-05, + -2.3004772995124648e-05, + -2.3007839131696534e-05, + -2.301035931347433e-05, + -2.3012405187042348e-05, + -2.3014040127772114e-05, + -2.3015320108565403e-05, + -2.301629448679122e-05, + -2.3017006715872433e-05, + -2.3017494988822723e-05, + -2.3017792816637234e-05, + -2.301792955076181e-05 + ], + "internal_maxwell_A_m2": [ + -4.3166079813947335e-05, + -4.316607981394734e-05, + -4.316607981394734e-05, + -4.3166079813947335e-05, + -4.3166079813947335e-05, + -4.3166079813947335e-05, + -4.3166079813947335e-05, + -4.3166079813947335e-05, + -4.3166079813947335e-05, + -4.3166079813947335e-05, + -4.3166079813947335e-05, + -4.3166079813947335e-05, + -4.3166079813947335e-05, + -4.3166079813947335e-05, + -4.3166079813947335e-05, + -4.3166079813947335e-05, + -4.3166079813947335e-05, + -4.316607981394734e-05, + -4.3166079813947335e-05, + -4.3166079813947335e-05, + -4.3166079813947335e-05, + -4.3166079813947335e-05, + -4.3166079813947335e-05, + -4.3166079813947335e-05, + -4.316607981394734e-05, + -4.316607981394734e-05, + -4.316607981394734e-05, + -4.3166079813947335e-05, + -4.316607981394734e-05, + -4.3166079813947335e-05, + -4.3166079813947335e-05, + -4.3166079813947335e-05, + -4.316607981394734e-05, + -4.3166079813947335e-05, + -4.3166079813947335e-05, + -4.3166079813947335e-05, + -4.316607981394734e-05, + -4.3166079813947335e-05, + -4.316607981394734e-05, + -4.316607981394734e-05, + -4.3166079813947335e-05, + -4.3166079813947335e-05, + -4.316607981394734e-05, + -4.3166079813947335e-05, + -4.3166079813947335e-05, + -4.3166079813947335e-05, + -4.3166079813947335e-05, + -4.3166079813947335e-05, + -4.3166079813947335e-05, + -4.316607981394734e-05, + -4.3166079813947335e-05, + -4.3166079813947335e-05, + -4.3166079813947335e-05, + -4.3166079813947335e-05, + -4.316607981394734e-05, + -4.3166079813947335e-05, + -4.3166079813947335e-05, + -4.3166079813947335e-05, + -4.316607981394734e-05, + -4.3166079813947335e-05, + -4.3166079813947335e-05, + -4.316607981394734e-05, + -4.316607981394734e-05, + -4.316607981394734e-05, + -4.316607981394734e-05, + -4.316607981394734e-05, + -4.3166079813947335e-05, + -4.3166079813947335e-05, + -4.3166079813947335e-05, + -4.3166079813947335e-05, + -4.316607981394734e-05, + -4.3166079813947335e-05, + -4.316607981394734e-05, + -4.3166079813947335e-05, + -4.3166079813947335e-05, + -4.3166079813947335e-05, + -4.3166079813947335e-05, + -4.3166079813947335e-05, + -4.3166079813947335e-05, + -4.3166079813947335e-05, + -4.3166079813947335e-05, + -4.316607981394734e-05, + -4.316607981394735e-05, + -4.316607981394735e-05, + -4.316607981394734e-05, + -4.316607981394734e-05, + -4.3166079813947335e-05, + -4.316607981394735e-05, + -4.3166079813947335e-05, + -4.3166079813947335e-05, + -4.316607981394735e-05, + -4.316607981394735e-05, + -4.316607981394735e-05, + -4.316607981394735e-05, + -4.316607981394735e-05, + -4.316607981394735e-05, + -4.316607981394735e-05, + -4.316607981394735e-05, + -4.316607981394735e-05, + -4.316607981394736e-05, + -4.316607981394735e-05, + -4.316607981394735e-05, + -4.316607981394736e-05, + -4.316607981394736e-05, + -4.316607981394736e-05, + -4.316607981394735e-05, + -4.316607981394735e-05, + -4.316607981394735e-05, + -4.316607981394736e-05, + -4.316607981394735e-05, + -4.316607981394736e-05, + -4.316607981394736e-05, + -4.316607981394736e-05, + -4.316607981394736e-05, + -4.316607981394735e-05, + -4.316607981394735e-05, + -4.316607981394736e-05, + -4.316607981394736e-05, + -4.316607981394736e-05, + -4.316607981394736e-05, + -4.316607981394735e-05, + -4.316607981394736e-05, + -4.316607981394735e-05, + -4.316607981394736e-05, + -4.316607981394735e-05, + -4.316607981394735e-05, + -4.316607981394735e-05, + -4.316607981394749e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399608e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399608e-05, + -4.316607981399607e-05, + -4.316607981399608e-05, + -4.316607981399607e-05, + -4.316607981399608e-05, + -4.316607981399607e-05, + -4.316607981399608e-05, + -4.316607981399607e-05, + -4.316607981399608e-05, + -4.316607981399608e-05, + -4.316607981399607e-05, + -4.316607981399608e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399608e-05, + -4.316607981399607e-05, + -4.316607981399608e-05, + -4.316607981399608e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399608e-05, + -4.316607981399607e-05, + -4.316607981399608e-05, + -4.316607981399608e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.3166079813996076e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05, + -4.316607981399607e-05 + ], + "physical_widths_m": [ + 5.901422388288336e-11, + 1.2168445327999375e-10, + 1.2921290133435793e-10, + 1.3718573109489092e-10, + 1.456263985330553e-10, + 1.5455923405930657e-10, + 1.6400942452466372e-10, + 1.7400298616433713e-10, + 1.8456672721482707e-10, + 1.9572819882658635e-10, + 2.0751563278408056e-10, + 2.1995786443639556e-10, + 2.330842391367742e-10, + 2.4692450039214606e-10, + 2.615086578375502e-10, + 2.768668330800304e-10, + 2.930290814077334e-10, + 3.1002518733890237e-10, + 3.2788443199932904e-10, + 3.4663533037393737e-10, + 3.6630533658778285e-10, + 3.869205155434871e-10, + 4.0850517948706975e-10, + 4.310814884031017e-10, + 4.546690135652088e-10, + 4.79284264100096e-10, + 5.049401770735207e-10, + 5.316455723851334e-10, + 5.594045746728763e-10, + 5.882160054824251e-10, + 6.180727501540692e-10, + 6.489611052145571e-10, + 6.808601135253143e-10, + 7.137408960140655e-10, + 7.47565990478061e-10, + 7.822887096588038e-10, + 8.178525325040014e-10, + 8.54190544194725e-10, + 8.912249420559998e-10, + 9.288666258067398e-10, + 9.670148916509131e-10, + 1.005557250369215e-09, + 1.0443693897370093e-09, + 1.0833153011705004e-09, + 1.1222475893912312e-09, + 1.1610079820176118e-09, + 1.1994280532751899e-09, + 1.23733017242863e-09, + 1.2745286830742073e-09, + 1.3108313141313866e-09, + 1.3460408173217914e-09, + 1.3799568192605954e-09, + 1.4123778691985396e-09, + 1.443103656181209e-09, + 1.4719373622173193e-09, + 1.4986881112844911e-09, + 1.523173467982208e-09, + 1.5452219347003404e-09, + 1.5646753926224425e-09, + 1.5813914299979714e-09, + 1.5952455011079117e-09, + 1.6061328613443997e-09, + 1.6139702278616839e-09, + 1.6186971212639917e-09, + 1.6202768516007768e-09, + 1.6186971212639917e-09, + 1.6139702278616839e-09, + 1.6061328613443997e-09, + 1.5952455011079117e-09, + 1.5813914299979714e-09, + 1.5646753926224425e-09, + 1.5452219347003404e-09, + 1.523173467982208e-09, + 1.4986881112844845e-09, + 1.4719373622173193e-09, + 1.4431036561812155e-09, + 1.4123778691985462e-09, + 1.379956819260592e-09, + 1.346040817321788e-09, + 1.31083131413138e-09, + 1.2745286830742205e-09, + 1.2373301724286366e-09, + 1.19942805327517e-09, + 1.1610079820176184e-09, + 1.1222475893912378e-09, + 1.083315301170507e-09, + 1.0443693897369927e-09, + 1.0055572503692116e-09, + 9.670148916509198e-10, + 9.288666258067464e-10, + 8.91224942055985e-10, + 8.541905441947299e-10, + 8.178525325039981e-10, + 7.822887096588004e-10, + 7.475659904780676e-10, + 7.137408960140556e-10, + 6.808601135253242e-10, + 6.48961105214567e-10, + 6.180727501540659e-10, + 5.882160054824152e-10, + 5.59404574672873e-10, + 5.316455723851383e-10, + 5.049401770735323e-10, + 4.792842641000936e-10, + 4.546690135651964e-10, + 4.3108148840310337e-10, + 4.0850517948706727e-10, + 3.869205155434962e-10, + 3.663053365877845e-10, + 3.4663533037393406e-10, + 3.278844319993274e-10, + 3.1002518733890444e-10, + 2.930290814077417e-10, + 2.7686683308002504e-10, + 2.6150865783754524e-10, + 2.46924500392156e-10, + 2.3308423913676347e-10, + 2.1995786443640466e-10, + 2.0751563278407477e-10, + 1.9572819882657477e-10, + 1.845667272148283e-10, + 1.740029861643485e-10, + 1.6400942452466144e-10, + 1.545592340593227e-10, + 1.4562639853305157e-10, + 1.3718573109488172e-10, + 1.2921290133435225e-10, + 1.8069867716288167e-10, + 1.8069867716288167e-10, + 1.2921290133435225e-10, + 1.3718573109489495e-10, + 1.4562639853305157e-10, + 1.5455923405930946e-10, + 1.6400942452466144e-10, + 1.740029861643485e-10, + 1.845667272148283e-10, + 1.9572819882657477e-10, + 2.0751563278407477e-10, + 2.1995786443640466e-10, + 2.3308423913676347e-10, + 2.46924500392156e-10, + 2.6150865783754524e-10, + 2.7686683308002504e-10, + 2.930290814077417e-10, + 3.1002518733890444e-10, + 3.278844319993274e-10, + 3.4663533037393406e-10, + 3.663053365877845e-10, + 3.8692051554348296e-10, + 4.085051794870805e-10, + 4.3108148840310337e-10, + 4.5466901356520963e-10, + 4.792842641000936e-10, + 5.04940177073519e-10, + 5.316455723851383e-10, + 5.59404574672873e-10, + 5.882160054824152e-10, + 6.180727501540659e-10, + 6.48961105214567e-10, + 6.808601135253109e-10, + 7.137408960140689e-10, + 7.475659904780676e-10, + 7.822887096588004e-10, + 8.178525325039981e-10, + 8.541905441947299e-10, + 8.91224942055985e-10, + 9.288666258067464e-10, + 9.670148916509198e-10, + 1.0055572503692116e-09, + 1.0443693897370192e-09, + 1.0833153011704673e-09, + 1.122247589391251e-09, + 1.1610079820176184e-09, + 1.1994280532751965e-09, + 1.2373301724286234e-09, + 1.2745286830741808e-09, + 1.3108313141314065e-09, + 1.346040817321788e-09, + 1.3799568192606186e-09, + 1.412377869198533e-09, + 1.4431036561812023e-09, + 1.4719373622173193e-09, + 1.4986881112844977e-09, + 1.523173467982208e-09, + 1.545221934700314e-09, + 1.564675392622469e-09, + 1.5813914299979515e-09, + 1.5952455011079183e-09, + 1.606132861344413e-09, + 1.6139702278616839e-09, + 1.6186971212639851e-09, + 1.6202768516007636e-09, + 1.6186971212639851e-09, + 1.6139702278616839e-09, + 1.606132861344413e-09, + 1.5952455011079183e-09, + 1.5813914299979515e-09, + 1.564675392622469e-09, + 1.545221934700314e-09, + 1.523173467982208e-09, + 1.4986881112844977e-09, + 1.4719373622173193e-09, + 1.4431036561812023e-09, + 1.412377869198533e-09, + 1.3799568192606186e-09, + 1.346040817321788e-09, + 1.31083131413138e-09, + 1.2745286830742073e-09, + 1.2373301724286234e-09, + 1.1994280532751965e-09, + 1.1610079820176184e-09, + 1.122247589391251e-09, + 1.0833153011704673e-09, + 1.0443693897370192e-09, + 1.0055572503692116e-09, + 9.670148916509198e-10, + 9.288666258067464e-10, + 8.91224942055985e-10, + 8.541905441947299e-10, + 8.178525325039848e-10, + 7.822887096588137e-10, + 7.475659904780676e-10, + 7.137408960140821e-10, + 6.808601135253109e-10, + 6.489611052145538e-10, + 6.180727501540659e-10, + 5.882160054824152e-10, + 5.59404574672873e-10, + 5.316455723851383e-10, + 5.04940177073519e-10, + 4.7928426410012e-10, + 4.5466901356518316e-10, + 4.3108148840310337e-10, + 4.0850517948706727e-10, + 3.869205155434962e-10, + 3.6630533658779774e-10, + 3.4663533037392083e-10, + 3.278844319993274e-10, + 3.1002518733890444e-10, + 2.930290814077152e-10, + 2.768668330800515e-10, + 2.6150865783754524e-10, + 2.46924500392156e-10, + 2.3308423913676347e-10, + 2.1995786443639143e-10, + 2.0751563278407477e-10, + 1.95728198826588e-10, + 1.845667272148283e-10, + 1.740029861643485e-10, + 1.6400942452466144e-10, + 1.545592340593227e-10, + 1.4562639853305157e-10, + 1.3718573109489495e-10, + 1.29212901334339e-10, + 1.2168445327999169e-10, + 5.901422388288999e-11 + ], + "positive_ion_rate_m3_s": [ + 9.801341366538239e+23, + 8.75651006054773e+20, + 8.751694983121704e+20, + 8.74656546726001e+20, + 8.741087345010318e+20, + 8.735245974558624e+20, + 8.729014189378417e+20, + 8.722361891210043e+20, + 8.715267721231229e+20, + 8.707695953013915e+20, + 8.699620570067236e+20, + 8.69100462320331e+20, + 8.681811537596763e+20, + 8.672010958067428e+20, + 8.661555825317332e+20, + 8.650409141003733e+20, + 8.638526028727866e+20, + 8.62586337559417e+20, + 8.612369280143614e+20, + 8.598001011059514e+20, + 8.582702919663575e+20, + 8.566424291890439e+20, + 8.54911245138718e+20, + 8.53071328517864e+20, + 8.511170038562871e+20, + 8.490431416902277e+20, + 8.468440321029209e+20, + 8.445147166848208e+20, + 8.420499129433483e+20, + 8.394451558129796e+20, + 8.366960077736935e+20, + 8.337987955084203e+20, + 8.307505414886287e+20, + 8.275489744058401e+20, + 8.241929002091146e+20, + 8.20682286249693e+20, + 8.170184022774965e+20, + 8.132040226632427e+20, + 8.092436479381803e+20, + 8.051436338295835e+20, + 8.009123589507702e+20, + 7.965603661389225e+20, + 7.921005665432762e+20, + 7.875482434412672e+20, + 7.829211469637761e+20, + 7.78239543999734e+20, + 7.735261654200193e+20, + 7.688061152765575e+20, + 7.641067649554279e+20, + 7.59457464556843e+20, + 7.548893927748682e+20, + 7.504351436195099e+20, + 7.461283072934665e+20, + 7.420031448296298e+20, + 7.380939704682308e+20, + 7.344346907759882e+20, + 7.310582309007077e+20, + 7.27996015429216e+20, + 7.252772973814229e+20, + 7.229287690159935e+20, + 7.209739523300486e+20, + 7.194327469287381e+20, + 7.183211051419615e+20, + 7.176506452247968e+20, + 7.174284291745388e+20, + 7.176568516389764e+20, + 7.183335379993497e+20, + 7.19451449602596e+20, + 7.209989659322969e+20, + 7.229601832916364e+20, + 7.253151705506446e+20, + 7.28040411164551e+20, + 7.31109251882339e+20, + 7.344923462221984e+20, + 7.381583162014099e+20, + 7.42074169588831e+20, + 7.462059961872267e+20, + 7.505193950703671e+20, + 7.549801194488106e+20, + 7.59554475194012e+20, + 7.642098347827419e+20, + 7.689150245718599e+20, + 7.736405377691596e+20, + 7.783590720449653e+20, + 7.83045365405717e+20, + 7.876767850337554e+20, + 7.922328893873854e+20, + 7.966960297162878e+20, + 8.010507706983654e+20, + 8.052843782195442e+20, + 8.093860956841905e+20, + 8.133476839029248e+20, + 8.171627343975041e+20, + 8.208268294912064e+20, + 8.243371125851276e+20, + 8.276924423458872e+20, + 8.308927996610912e+20, + 8.339394930777501e+20, + 8.3683467738364e+20, + 8.395814928429035e+20, + 8.421837835952928e+20, + 8.446455314874658e+20, + 8.469719476362251e+20, + 8.491675668452197e+20, + 8.512380997536268e+20, + 8.531887681274772e+20, + 8.5502490991487e+20, + 8.567525581758507e+20, + 8.583764497519246e+20, + 8.599022791539044e+20, + 8.613356058192574e+20, + 8.626807646797719e+20, + 8.639435347117258e+20, + 8.651279830413859e+20, + 8.662389419159175e+20, + 8.67280627058132e+20, + 8.682573741470663e+20, + 8.691735031211388e+20, + 8.700312284126316e+20, + 8.708357470319557e+20, + 8.715894480635202e+20, + 8.722963536761448e+20, + 8.729579577864615e+20, + 8.73578972770474e+20, + 8.741598801212424e+20, + 8.747051999561882e+20, + 8.752162223636593e+20, + -7.49647529706687e+23, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0, + -0.0 + ], + "potential_derivative_V_s": [ + 0.0, + 1.832993654383994e-05, + 3.7771075900399086e-05, + 5.838582038258885e-05, + 8.023940409219258e-05, + 0.00010339992572567814, + 0.00012793836544020286, + 0.00015392858289691808, + 0.00018144729310936293, + 0.00021057401629206066, + 0.00024139099768117963, + 0.0002739830925998371, + 0.0003084376118549594, + 0.00034484412188653404, + 0.0003832941936059197, + 0.0004238810936993256, + 0.0004666994112173317, + 0.0005118446123121682, + 0.0005594125153098533, + 0.000609498678307856, + 0.0006621976908157926, + 0.0007176023616390032, + 0.0007758027945882822, + 0.0008368853444067287, + 0.000900931445790286, + 0.0009680163093710448, + 0.0010382074794770965, + 0.0011115632508982428, + 0.0011881309431348668, + 0.0012679450343012757, + 0.0013510251590973953, + 0.001437373980070208, + 0.0015269749450005535, + 0.00161978994868024, + 0.001715756922904128, + 0.0018147873842111761, + 0.001916763975459903, + 0.0020215380438324947, + 0.002128927304318388, + 0.0022387136439361, + 0.0023506411277626634, + 0.0024644142726273108, + 0.002579696657969041, + 0.0026961099452526786, + 0.0028132333777832075, + 0.002930603830478975, + 0.003047716474586557, + 0.0031640261152197247, + 0.003278949249640211, + 0.003391866881449551, + 0.003502128111069229, + 0.00360905450499491, + 0.00371194522783814, + 0.0038100829008698906, + 0.003902740129572228, + 0.00398918662314191, + 0.0040686968088278356, + 0.004140557826663207, + 0.004204077774710854, + 0.00425859406346992, + 0.004303481728366458, + 0.004338161545569848, + 0.004362107795205621, + 0.004374855519055816, + 0.0043760071277636125, + 0.004365238223230761, + 0.004342302516250276, + 0.004307035737297565, + 0.004259358457913808, + 0.004199277762755893, + 0.004126887735396836, + 0.004042368746091081, + 0.0039459855540949565, + 0.0038380842620345875, + 0.003719088183782489, + 0.0035894927087859424, + 0.003449859267023932, + 0.0033008085151058283, + 0.0031430128793051098, + 0.0029771886010558977, + 0.002804087437946876, + 0.0026244881753163286, + 0.0024391881023564333, + 0.0022489946014731354, + 0.0020547169894425074, + 0.0018571587382073139, + 0.001657110185919209, + 0.00145534183390824, + 0.0012525983041142919, + 0.0010495930145266049, + 0.0008470036085356282, + 0.0006454681573630147, + 0.00044558213485020883, + 0.0002478961497110587, + 5.2914404870566315e-05, + -0.00013890615764079872, + -0.0003271560780813273, + -0.0005114730249898204, + -0.0006915409298615674, + -0.0008670886767502259, + -0.0010378884144135719, + -0.0012037535573776194, + -0.0013645365399067642, + -0.0015201263842253801, + -0.0016704461383479443, + -0.0018154502357082378, + -0.0019551218216365936, + -0.0020894700871448672, + -0.002218527644621554, + -0.0023423479737970654, + -0.002461002962279865, + -0.0025745805590216653, + -0.0026831825547075773, + -0.002786922499680544, + -0.002885923765287364, + -0.002980317752404642, + -0.003070242247549313, + -0.0031558399250524332, + -0.003237256991788528, + -0.003314641969351827, + -0.0033881446080238193, + -0.003457914925105388, + -0.0035241023604553664, + -0.0035868550410928044, + -0.0036463191471438647, + -0.003702638370694362, + -0.003755953459990657, + -0.003806401840946884, + -0.0036935918121651368, + -0.0037575701620238267, + -0.0038251410265103627, + -0.0038964702174277494, + -0.003971726472387469, + -0.004051080799172156, + -0.004134705700045992, + -0.004222774263891103, + -0.004315459113638868, + -0.004412931196166536, + -0.0045153584017694455, + -0.004622904000440352, + -0.0047357248826442565, + -0.004853969593066151, + -0.00497777614701326, + -0.005107269620872402, + -0.005242559510282123, + -0.005383736852605877, + -0.0055308711139328785, + -0.005684006845272902, + -0.005843160117915305, + -0.006008314754149758, + -0.006179418376717129, + -0.006356378308503074, + -0.0065390573630584896, + -0.0067272695764919975, + -0.006920775941979512, + -0.007119280219422774, + -0.007322424904416768, + -0.007529787452321214, + -0.007740876864476024, + -0.007955130753999477, + -0.008171913017557828, + -0.008390512246396054, + -0.008610141014084402, + -0.008829936179121294, + -0.009048960337042672, + -0.009266204548327151, + -0.009480592454537268, + -0.009690985875363907, + -0.009896191953229497, + -0.010094971879862356, + -0.010286051201036709, + -0.010468131652105523, + -0.010639904429051028, + -0.010800064748899475, + -0.010947327501277342, + -0.01108044374168984, + -0.011198217729111212, + -0.011299524168171, + -0.01138332528206868, + -0.011448687318705098, + -0.011494796081382659, + -0.011520971078383319, + -0.01152667790370925, + -0.011511538494470596, + -0.01147533895827992, + -0.011418034725103802, + -0.01133975285020993, + -0.011240791375227226, + -0.011121615739571163, + -0.010982852320833411, + -0.010825279266427217, + -0.010649814856120451, + -0.010457503702759444, + -0.010249501153759187, + -0.01002705629670225, + -0.009791493997470561, + -0.009544196408265343, + -0.009286584376156926, + -0.009020099161566802, + -0.008746184842210859, + -0.008466271733770908, + -0.008181761106598823, + -0.007894011420791311, + -0.007604326242786354, + -0.007313943947756678, + -0.007024029255783175, + -0.0067356665979596145, + -0.006449855262690589, + -0.006167506233457532, + -0.005889440597851141, + -0.005616389383822156, + -0.0053489946627251735, + -0.005087811749304195, + -0.004833312325624, + -0.004585888318209777, + -0.004345856364413807, + -0.004113462714298465, + -0.0038888884272081314, + -0.003672254736813335, + -0.003463628473982367, + -0.003263027452694851, + -0.003070425739825756, + -0.0028857587445308376, + -0.002708928076869586, + -0.002539806137954776, + -0.0023782404152081064, + -0.0022240574661586653, + -0.002077066582652373, + -0.0019370631343999278, + -0.0018038315965464018, + -0.0016771482705365134, + -0.0015567837110550618, + -0.0014425048744168697, + -0.0013340770055506356, + -0.0012312652818212652, + -0.0011338362324628804, + -0.0010415589524690242, + -0.0009542061294877056, + -0.0008715549016959648, + -0.0007933875638456365, + -0.0007194921377366555, + -0.0006496628223476998, + -0.000583700337771336, + -0.0005214121759921381, + -0.00046261277045233295, + -0.00040712359526948107, + -0.0003547732039422803, + -0.000305397216394094, + -0.0002588382622832853, + -0.00021494588764550245, + -0.0001735764311368255, + -0.0001345928754152318, + -9.786467852879624e-05, + -6.326758956897577e-05, + -3.0683452303128224e-05, + 0.0 + ], + "sheet_charge_derivative_C_m2_s": [ + 1.1736503134211863e-11 + ], + "trace_potential_derivative_V_s": [ + [ + -0.00374999681873349, + -0.00374999681873349 + ] + ] + }, + "assessment": { + "conservation_compliant": true, + "content_consistent": true, + "reference_accuracy_qualified": null, + "reference_accuracy_status": "not_assessed_shared_constitutive_laws" + }, + "checks": { + "charge_balance_normalized": { + "applicable": true, + "passed": true + }, + "contact_conduction_A_m2_reported_content_matches": { + "applicable": true, + "passed": true + }, + "contact_displacement_A_m2_reported_content_matches": { + "applicable": true, + "passed": true + }, + "contact_internal_current_spread_relative": { + "applicable": true, + "passed": true + }, + "contact_maxwell_A_m2_reported_content_matches": { + "applicable": true, + "passed": true + }, + "finite_values": { + "applicable": true, + "passed": true + }, + "interface_current_spread_relative": { + "applicable": true, + "passed": true + }, + "interface_maxwell_A_m2_reported_content_matches": { + "applicable": true, + "passed": true + }, + "internal_face_current_spread_relative": { + "applicable": true, + "passed": true + }, + "internal_maxwell_A_m2_reported_content_matches": { + "applicable": true, + "passed": true + }, + "physical_geometry_matches": { + "applicable": true, + "passed": true + } + }, + "content_comparison": { + "current_component_scale_A_m2": 8.836108957541842e-05, + "kind": "floating_point_assembly_only_not_physical_error_budget", + "relative_allowance": 1.8189894035458565e-12 + }, + "limits": { + "charge_balance_normalized": 1e-10, + "contact_internal_current_spread_relative": 2e-06, + "interface_current_spread_relative": 2e-06, + "internal_face_current_spread_relative": 2e-06 + }, + "metrics": { + "charge_balance_normalized": 4.870712685955862e-17, + "contact_internal_current_spread_relative": 1.1297937913579283e-12, + "interface_current_spread_relative": 1.1261832234544641e-12, + "internal_face_current_spread_relative": 1.1293228477183466e-12 + }, + "passed": true, + "reasons": [], + "relative_current_applicable": true, + "schema": "R1IndependentRegularCurrentV1", + "scope": "fixed_voltage_regular_current_independent_assembly_not_solution_error_bound", + "shared_constitutive_dependencies": [ + "fe_operators.bernoulli", + "two_sided_interface._material_two_sided_interface_problem", + "two_sided_interface_compensated.evaluate_local_carrier_pair", + "compensated.DD", + "one_dimensional_mechanism_r1_global_reference.evaluate_independent_saved_high_ion_transport", + "recombination.total_recombination" + ] + }, + "interface_current_spread_relative": 1.111113026987839e-12, + "interface_maxwell_A_m2": [ + [ + -4.3166079813947816e-05, + -4.316607981399578e-05 + ] + ], + "internal_maxwell_A_m2": [ + -4.3166079813947145e-05, + -4.3166079813947145e-05, + -4.316607981394715e-05, + -4.3166079813947145e-05, + -4.316607981394714e-05, + -4.3166079813947145e-05, + -4.3166079813947145e-05, + -4.3166079813947145e-05, + -4.3166079813947125e-05, + -4.3166079813947104e-05, + -4.316607981394711e-05, + -4.3166079813947125e-05, + -4.31660798139471e-05, + -4.316607981394709e-05, + -4.3166079813947064e-05, + -4.316607981394708e-05, + -4.3166079813947104e-05, + -4.3166079813947125e-05, + -4.316607981394709e-05, + -4.3166079813947104e-05, + -4.3166079813947104e-05, + -4.316607981394712e-05, + -4.3166079813947084e-05, + -4.316607981394709e-05, + -4.316607981394711e-05, + -4.316607981394709e-05, + -4.31660798139471e-05, + -4.316607981394713e-05, + -4.316607981394711e-05, + -4.316607981394713e-05, + -4.316607981394716e-05, + -4.316607981394716e-05, + -4.316607981394715e-05, + -4.3166079813947186e-05, + -4.3166079813947186e-05, + -4.316607981394716e-05, + -4.316607981394712e-05, + -4.3166079813947125e-05, + -4.316607981394712e-05, + -4.316607981394713e-05, + -4.316607981394707e-05, + -4.3166079813947104e-05, + -4.31660798139471e-05, + -4.3166079813947084e-05, + -4.316607981394703e-05, + -4.3166079813947084e-05, + -4.316607981394709e-05, + -4.316607981394709e-05, + -4.3166079813947084e-05, + -4.316607981394709e-05, + -4.31660798139471e-05, + -4.316607981394709e-05, + -4.316607981394709e-05, + -4.3166079813947104e-05, + -4.3166079813947104e-05, + -4.3166079813947064e-05, + -4.3166079813947104e-05, + -4.3166079813947064e-05, + -4.316607981394706e-05, + -4.3166079813946996e-05, + -4.3166079813947e-05, + -4.3166079813947064e-05, + -4.316607981394705e-05, + -4.3166079813947e-05, + -4.3166079813947e-05, + -4.316607981394708e-05, + -4.316607981394705e-05, + -4.316607981394706e-05, + -4.316607981394706e-05, + -4.31660798139471e-05, + -4.316607981394708e-05, + -4.316607981394712e-05, + -4.316607981394717e-05, + -4.316607981394714e-05, + -4.3166079813947165e-05, + -4.31660798139471e-05, + -4.316607981394713e-05, + -4.3166079813947064e-05, + -4.31660798139471e-05, + -4.3166079813947084e-05, + -4.316607981394713e-05, + -4.31660798139471e-05, + -4.316607981394711e-05, + -4.316607981394711e-05, + -4.3166079813947125e-05, + -4.316607981394711e-05, + -4.3166079813947104e-05, + -4.316607981394709e-05, + -4.3166079813947064e-05, + -4.316607981394706e-05, + -4.3166079813947064e-05, + -4.3166079813947084e-05, + -4.316607981394708e-05, + -4.316607981394708e-05, + -4.316607981394708e-05, + -4.316607981394708e-05, + -4.316607981394709e-05, + -4.316607981394708e-05, + -4.316607981394712e-05, + -4.316607981394712e-05, + -4.316607981394708e-05, + -4.31660798139471e-05, + -4.316607981394709e-05, + -4.316607981394704e-05, + -4.31660798139471e-05, + -4.3166079813946996e-05, + -4.316607981394694e-05, + -4.316607981394705e-05, + -4.3166079813946996e-05, + -4.316607981394687e-05, + -4.316607981394686e-05, + -4.3166079813946725e-05, + -4.316607981394683e-05, + -4.316607981394697e-05, + -4.316607981394722e-05, + -4.316607981394682e-05, + -4.3166079813946894e-05, + -4.3166079813947016e-05, + -4.316607981394663e-05, + -4.316607981394655e-05, + -4.3166079813946176e-05, + -4.3166079813946196e-05, + -4.316607981394673e-05, + -4.31660798139471e-05, + -4.316607981394674e-05, + -4.3166079813947104e-05, + -4.3166079813946684e-05, + -4.3166079813947816e-05, + -4.316607981399622e-05, + -4.316607981399586e-05, + -4.3166079813995426e-05, + -4.316607981399601e-05, + -4.3166079813995216e-05, + -4.316607981399622e-05, + -4.3166079813995805e-05, + -4.31660798139955e-05, + -4.316607981399568e-05, + -4.31660798139956e-05, + -4.316607981399509e-05, + -4.3166079813995094e-05, + -4.316607981399517e-05, + -4.31660798139951e-05, + -4.316607981399523e-05, + -4.316607981399552e-05, + -4.316607981399574e-05, + -4.316607981399593e-05, + -4.316607981399567e-05, + -4.316607981399591e-05, + -4.316607981399577e-05, + -4.3166079813995826e-05, + -4.316607981399533e-05, + -4.316607981399548e-05, + -4.316607981399558e-05, + -4.3166079813995887e-05, + -4.3166079813996e-05, + -4.3166079813995765e-05, + -4.316607981399603e-05, + -4.3166079813996036e-05, + -4.316607981399623e-05, + -4.316607981399626e-05, + -4.316607981399622e-05, + -4.316607981399629e-05, + -4.316607981399609e-05, + -4.3166079813996164e-05, + -4.316607981399633e-05, + -4.3166079813996164e-05, + -4.31660798139963e-05, + -4.316607981399646e-05, + -4.316607981399664e-05, + -4.316607981399669e-05, + -4.316607981399675e-05, + -4.316607981399655e-05, + -4.3166079813996374e-05, + -4.3166079813996266e-05, + -4.31660798139965e-05, + -4.316607981399664e-05, + -4.316607981399652e-05, + -4.316607981399645e-05, + -4.316607981399672e-05, + -4.316607981399663e-05, + -4.316607981399668e-05, + -4.316607981399671e-05, + -4.316607981399663e-05, + -4.316607981399653e-05, + -4.316607981399666e-05, + -4.31660798139964e-05, + -4.316607981399659e-05, + -4.3166079813996496e-05, + -4.31660798139967e-05, + -4.3166079813996734e-05, + -4.3166079813996605e-05, + -4.316607981399655e-05, + -4.3166079813996354e-05, + -4.316607981399655e-05, + -4.316607981399658e-05, + -4.3166079813996666e-05, + -4.316607981399663e-05, + -4.3166079813996395e-05, + -4.316607981399648e-05, + -4.316607981399644e-05, + -4.3166079813996435e-05, + -4.316607981399626e-05, + -4.316607981399619e-05, + -4.3166079813996205e-05, + -4.3166079813996205e-05, + -4.316607981399623e-05, + -4.316607981399618e-05, + -4.316607981399627e-05, + -4.31660798139963e-05, + -4.31660798139963e-05, + -4.3166079813996164e-05, + -4.316607981399618e-05, + -4.316607981399615e-05, + -4.3166079813996124e-05, + -4.316607981399614e-05, + -4.316607981399618e-05, + -4.316607981399606e-05, + -4.316607981399606e-05, + -4.316607981399608e-05, + -4.3166079813996164e-05, + -4.3166079813996185e-05, + -4.3166079813996246e-05, + -4.3166079813996246e-05, + -4.31660798139963e-05, + -4.316607981399633e-05, + -4.316607981399625e-05, + -4.3166079813996246e-05, + -4.316607981399622e-05, + -4.316607981399624e-05, + -4.316607981399619e-05, + -4.316607981399619e-05, + -4.316607981399628e-05, + -4.316607981399629e-05, + -4.316607981399631e-05, + -4.3166079813996334e-05, + -4.3166079813996313e-05, + -4.3166079813996286e-05, + -4.316607981399626e-05, + -4.316607981399619e-05, + -4.316607981399623e-05, + -4.3166079813996286e-05, + -4.3166079813996286e-05, + -4.31660798139963e-05, + -4.3166079813996313e-05, + -4.3166079813996286e-05, + -4.316607981399626e-05, + -4.316607981399623e-05, + -4.316607981399623e-05, + -4.316607981399626e-05, + -4.316607981399626e-05, + -4.3166079813996266e-05, + -4.316607981399626e-05, + -4.316607981399626e-05, + -4.3166079813996266e-05, + -4.3166079813996266e-05 + ], + "kind": "regular_current_at_fixed_voltage", + "limits": { + "charge_balance_normalized": 1e-10, + "contact_internal_current_spread_relative": 2e-06, + "differentiated_poisson_normalized": 1e-10, + "face_current_spread_relative": 2e-06, + "interface_current_spread_relative": 2e-06 + }, + "potential_derivative_V_s": [ + 0.0, + 1.8329936543839686e-05, + 3.777107590039856e-05, + 5.838582038258803e-05, + 8.023940409219146e-05, + 0.00010339992572567667, + 0.00012793836544020107, + 0.00015392858289691594, + 0.00018144729310936038, + 0.00021057401629205768, + 0.00024139099768117614, + 0.000273983092599833, + 0.0003084376118549548, + 0.0003448441218865288, + 0.00038329419360591375, + 0.0004238810936993188, + 0.0004666994112173241, + 0.0005118446123121598, + 0.0005594125153098441, + 0.000609498678307846, + 0.0006621976908157816, + 0.0007176023616389912, + 0.0007758027945882693, + 0.0008368853444067146, + 0.0009009314457902707, + 0.0009680163093710283, + 0.0010382074794770787, + 0.0011115632508982235, + 0.0011881309431348462, + 0.0012679450343012536, + 0.0013510251590973718, + 0.0014373739800701832, + 0.0015269749450005274, + 0.0016197899486802125, + 0.0017157569229040992, + 0.001814787384211146, + 0.0019167639754598714, + 0.002021538043832461, + 0.002128927304318352, + 0.002238713643936062, + 0.002350641127762623, + 0.0024644142726272674, + 0.002579696657968995, + 0.0026961099452526296, + 0.0028132333777831555, + 0.002930603830478919, + 0.0030477164745864975, + 0.003164026115219662, + 0.0032789492496401447, + 0.003391866881449481, + 0.0035021281110691554, + 0.003609054504994833, + 0.003711945227838059, + 0.0038100829008698056, + 0.003902740129572139, + 0.003989186623141817, + 0.004068696808827738, + 0.004140557826663106, + 0.0042040777747107475, + 0.0042585940634698085, + 0.00430348172836634, + 0.004338161545569724, + 0.004362107795205491, + 0.004374855519055682, + 0.004376007127763472, + 0.004365238223230614, + 0.004342302516250124, + 0.004307035737297408, + 0.004259358457913646, + 0.004199277762755725, + 0.004126887735396665, + 0.0040423687460909045, + 0.003945985554094777, + 0.003838084262034405, + 0.003719088183782303, + 0.0035894927087857537, + 0.0034498592670237395, + 0.0033008085151056328, + 0.00314301287930491, + 0.0029771886010556943, + 0.002804087437946669, + 0.0026244881753161187, + 0.00243918810235622, + 0.002248994601472919, + 0.002054716989442288, + 0.0018571587382070918, + 0.001657110185918984, + 0.0014553418339080123, + 0.0012525983041140614, + 0.0010495930145263716, + 0.0008470036085353919, + 0.0006454681573627756, + 0.00044558213484996727, + 0.0002478961497108147, + 5.2914404870320025e-05, + -0.00013890615764104722, + -0.00032715607808157793, + -0.000511473024990073, + -0.000691540929861822, + -0.0008670886767504821, + -0.0010378884144138297, + -0.0012037535573778788, + -0.001364536539907025, + -0.0015201263842256425, + -0.0016704461383482085, + -0.0018154502357085032, + -0.0019551218216368607, + -0.002089470087145136, + -0.0022185276446218243, + -0.002342347973797337, + -0.0024610029622801383, + -0.00257458055902194, + -0.0026831825547078544, + -0.002786922499680823, + -0.0028859237652876443, + -0.0029803177524049228, + -0.003070242247549595, + -0.0031558399250527164, + -0.003237256991788812, + -0.0033146419693521126, + -0.003388144608024107, + -0.0034579149251056777, + -0.0035241023604556583, + -0.0035868550410930976, + -0.0036463191471441583, + -0.0037026383706946567, + -0.003755953459990952, + -0.0038064018409471796, + -0.0036935918121654325, + -0.0037575701620241224, + -0.003825141026510659, + -0.0038964702174280465, + -0.003971726472387766, + -0.004051080799172455, + -0.004134705700046292, + -0.004222774263891403, + -0.004315459113639169, + -0.004412931196166838, + -0.004515358401769748, + -0.004622904000440658, + -0.004735724882644564, + -0.004853969593066462, + -0.004977776147013573, + -0.005107269620872718, + -0.00524255951028244, + -0.005383736852606195, + -0.005530871113933198, + -0.005684006845273223, + -0.005843160117915627, + -0.006008314754150082, + -0.006179418376717453, + -0.006356378308503402, + -0.006539057363058821, + -0.006727269576492331, + -0.006920775941979847, + -0.0071192802194231086, + -0.007322424904417105, + -0.0075297874523215505, + -0.00774087686447636, + -0.007955130753999812, + -0.008171913017558161, + -0.008390512246396385, + -0.008610141014084732, + -0.008829936179121624, + -0.009048960337043001, + -0.009266204548327479, + -0.009480592454537596, + -0.009690985875364233, + -0.00989619195322982, + -0.010094971879862672, + -0.010286051201037018, + -0.010468131652105823, + -0.010639904429051321, + -0.010800064748899765, + -0.010947327501277629, + -0.01108044374169012, + -0.011198217729111483, + -0.011299524168171263, + -0.011383325282068939, + -0.011448687318705346, + -0.011494796081382899, + -0.011520971078383548, + -0.01152667790370947, + -0.011511538494470805, + -0.01147533895828012, + -0.011418034725103991, + -0.011339752850210114, + -0.011240791375227401, + -0.011121615739571331, + -0.010982852320833568, + -0.010825279266427361, + -0.010649814856120585, + -0.01045750370275957, + -0.010249501153759307, + -0.010027056296702362, + -0.009791493997470663, + -0.009544196408265435, + -0.009286584376157007, + -0.009020099161566878, + -0.008746184842210928, + -0.00846627173377097, + -0.008181761106598878, + -0.007894011420791363, + -0.0076043262427864045, + -0.007313943947756726, + -0.007024029255783222, + -0.006735666597959659, + -0.006449855262690631, + -0.0061675062334575715, + -0.0058894405978511775, + -0.005616389383822189, + -0.005348994662725206, + -0.005087811749304226, + -0.00483331232562403, + -0.0045858883182098055, + -0.0043458563644138345, + -0.004113462714298492, + -0.0038888884272081582, + -0.003672254736813362, + -0.003463628473982394, + -0.003263027452694877, + -0.0030704257398257813, + -0.0028857587445308614, + -0.0027089280768696085, + -0.002539806137954797, + -0.0023782404152081255, + -0.002224057466158683, + -0.0020770665826523897, + -0.0019370631343999434, + -0.0018038315965464163, + -0.0016771482705365273, + -0.001556783711055075, + -0.0014425048744168818, + -0.0013340770055506467, + -0.0012312652818212751, + -0.0011338362324628893, + -0.001041558952469032, + -0.0009542061294877125, + -0.0008715549016959711, + -0.0007933875638456424, + -0.0007194921377366608, + -0.0006496628223477044, + -0.00058370033777134, + -0.0005214121759921415, + -0.0004626127704523357, + -0.0004071235952694833, + -0.0003547732039422821, + -0.00030539721639409546, + -0.00025883826228328646, + -0.00021494588764550324, + -0.00017357643113682594, + -0.0001345928754152319, + -9.786467852879604e-05, + -6.326758956897527e-05, + -3.0683452303127444e-05, + 0.0 + ], + "relative_current_certified": true, + "relative_current_status": "certified", + "report_contact_current_A_m2": [ + 4.3166079813947145e-05, + 4.3166079813996266e-05 + ], + "sheet_charge_derivative_C_m2_s": [ + 1.1736503134211863e-11 + ], + "trace_potential_derivative_V_s": [ + [ + -0.0037499968187337854, + -0.0037499968187337854 + ] + ] + }, + "schema": "R1IdealStepV1", + "voltage_jump_V": 0.005, + "zero_minus": { + "direct_poisson_residual_C_m2": [ + 4.6454463200978034e-21, + -3.533715576826534e-21, + 1.2983426894632322e-20, + -9.502650877009182e-21, + -1.7470054537119944e-21, + 5.320425699941074e-21, + -4.46412832982618e-20, + 6.748470309452621e-20, + -5.370718281184298e-20, + 6.191281448836902e-20, + -7.763586357177697e-20, + 3.674005408715528e-20, + 3.2160782216061716e-20, + 9.60852999541597e-21, + -8.025637175234496e-20, + 9.216777257310856e-20, + -1.0601146730479603e-19, + 9.211483301390516e-20, + -7.332128949670037e-20, + 1.0352330802223652e-19, + -8.189749808765016e-20, + -2.1519930816179568e-20, + 9.60323603949563e-20, + -8.915021769851511e-20, + 5.140431198649535e-20, + -7.697411908173454e-20, + 6.924494343803905e-20, + -4.0075246316969085e-20, + 1.061967557620079e-19, + -1.2006692027329707e-19, + 6.670384459627615e-20, + 3.282252670610414e-21, + -8.523269031746397e-20, + 6.675678415547955e-20, + -1.911118087242515e-20, + -5.346895479542771e-21, + 4.425747149403719e-20, + 6.305101501124198e-20, + -9.820288232229545e-20, + -8.285041015331125e-20, + 1.5357766124904533e-19, + -1.3033719475875546e-19, + 1.0741436562368596e-19, + -3.494010907423989e-21, + -1.1609645333304254e-19, + 7.326834993749698e-20, + -2.2234614865425384e-20, + 8.41209595741927e-20, + -1.0069104160485495e-19, + 1.0646145355802487e-19, + -1.4240741425712924e-19, + 7.686823996332776e-20, + 5.61159327555974e-21, + -4.854557578951209e-20, + 1.699889246020974e-19, + -2.1961976135527906e-19, + 2.3258995336011053e-19, + -2.276665743541949e-19, + 1.9005301754018364e-20, + 2.3764568126403464e-19, + -1.6125389733353743e-19, + -1.0331154978542294e-19, + 2.0220926382226293e-19, + -2.334728515339437e-19, + 1.63431036705777e-19, + -1.1850520327679696e-19, + 9.511915299869776e-20, + 1.0042634380883798e-19, + -1.1741994231312738e-19, + -8.433271781100628e-20, + 6.823909181317457e-20, + 3.237254045287529e-20, + 8.941491549453208e-20, + -2.0270557218979475e-19, + 2.3918092848093306e-19, + -2.661801036746639e-19, + 2.582391697941548e-19, + -2.5379224682106974e-19, + 1.0656733267643166e-19, + 1.9762337450626895e-19, + -3.171608991875321e-19, + 3.7872960654107904e-19, + -3.288605417714821e-19, + -2.0752307207730358e-20, + 2.4087499437544166e-19, + -2.2155205526620293e-19, + 2.0297026998581172e-19, + -2.030761491042185e-19, + 1.7364175418713157e-19, + 1.0100867896007532e-19, + -4.652328462794245e-19, + 4.129285617864714e-19, + -3.0969642133985356e-20, + -5.640180637529572e-19, + 2.796796912715293e-19, + 5.059433673068343e-19, + -7.376068783808854e-19, + 1.2186686528621246e-18, + -1.6679137522621242e-18, + 1.2436561248061265e-18, + -7.51265284655361e-19, + 7.444360815181232e-19, + -4.317750448628796e-19, + -4.6957389013410275e-20, + 8.326333871509772e-19, + -1.2297594905152356e-18, + 1.3822254210210097e-18, + -9.038106244999402e-19, + -7.381098041933177e-19, + -4.513097422089319e-20, + 1.0422475718168149e-18, + 1.4849016960959919e-18, + -1.7702194504226826e-18, + -2.112844277587047e-18, + 4.280983924762039e-18, + -2.0495815043389915e-18, + -1.715876992900399e-18, + 2.7308077521682626e-18, + -7.358598729271734e-19, + -3.826471339221302e-19, + -4.223518033246755e-19, + 1.0480709233291882e-18, + -9.889903752582007e-19, + -2.0827084335105152e-18, + 5.628401585606817e-18, + -5.258923167036531e-18, + 1.5546912639028244e-18, + 2.332912224194554e-18, + -1.63091271104822e-18, + -6.589209984958512e-20, + 9.554719391292113e-19, + -5.189053394870365e-19, + -2.692566949032014e-18, + 3.3342434402529984e-18, + -2.532005095644945e-18, + 1.8545874744140685e-18, + 6.694248833860194e-19, + -1.1993662078244544e-18, + -5.727419122869176e-19, + 4.558694880622722e-19, + -6.87614389995805e-19, + 8.781469937767797e-19, + 6.384909929715866e-19, + -1.4924658534551046e-18, + 2.1836823351768772e-18, + -2.041209101930087e-18, + 1.9977454331434512e-19, + 1.2936934252523851e-18, + -8.054000167573257e-19, + 6.5953778036272305e-21, + -5.954504609902766e-19, + 1.2089750839634568e-18, + -7.936899807254512e-19, + 1.8903212038069269e-19, + 2.596582785280016e-19, + -4.237860993250266e-19, + -3.3014945465623586e-20, + 6.475438793700026e-19, + -1.2108429020497841e-18, + 9.96511807781708e-19, + -2.89006122405133e-19, + -1.4057853849981678e-19, + 7.721015439761427e-19, + -9.610288815795653e-19, + 9.977916091959998e-20, + 3.1632629473121777e-19, + -6.957968391299611e-20, + 4.969841405593731e-19, + -9.290067027440159e-19, + 5.139108614579683e-19, + -2.9092616784830307e-20, + 1.306847714568777e-19, + -1.91645333704146e-19, + -1.44408198872025e-19, + 3.163929532584056e-19, + -3.293724979066215e-19, + 2.041848654167e-19, + 3.8323572242858903e-19, + -6.680063291667604e-19, + 7.424383761152748e-19, + -1.0092249530995885e-18, + 5.255470791399891e-19, + 2.489629442948864e-19, + -1.0142257222798805e-19, + -1.46581094974866e-19, + 1.566345453867583e-19, + -5.889887127234235e-19, + 2.140202206906653e-19, + 4.984603983899323e-19, + -3.41063074684112e-19, + 1.3807819528522804e-19, + -3.3205358265792294e-19, + 4.245101799808751e-19, + -1.4151747226735944e-19, + 4.583250831823428e-19, + -7.959905789685514e-19, + 5.810292351065759e-19, + -6.014449456273539e-19, + 3.2057339301585605e-19, + 3.097599495350325e-19, + -2.454457338770889e-19, + -7.633245158648502e-19, + 1.346372753147806e-18, + -6.962114293099408e-19, + 1.7272759799561763e-19, + -2.542253663416625e-19, + 2.2803256115749187e-19, + 1.379925360981812e-19, + -3.757153125403804e-19, + 2.4616376774409935e-19, + -1.3847081534574424e-19, + -8.569428316455914e-19, + 9.657874032707269e-19, + 8.908159170206795e-19, + -1.554516421962133e-18, + 9.60278761440326e-20, + 1.5257020393930729e-18, + -1.6537190214787726e-18, + 1.5260353428514688e-18, + -2.185037563610512e-18, + 1.2296315475107697e-18, + 4.954559482935774e-19, + -1.5428329930118896e-19, + -1.8984624520911184e-19, + -9.831042972593738e-19, + 1.7475695515033728e-18, + -1.0704239584441148e-18, + 1.359909876780669e-18, + -2.212914885248899e-18, + 1.2743016456003233e-18, + -1.3785479865970719e-18, + 3.823158757090841e-18, + -3.0055498071752085e-18, + -1.876211353110977e-18, + 2.983372616424996e-18, + -1.3936539251028246e-18, + -3.3049739322580944e-20, + 3.705664937793468e-18, + -3.203701759436602e-18, + 5.662341351952728e-20, + 8.806549508740468e-19, + -1.075543873030887e-18, + -2.7027733590574228e-18, + 2.215933773238632e-18, + 2.581863783364039e-18, + -3.1445184120090355e-18, + 5.4029694213461334e-18, + -6.712346018177334e-18, + 3.3288803844563112e-18, + -3.946406765343029e-18, + 9.385903158918697e-18, + -7.337361525963987e-18, + -7.173638079125476e-19, + 2.710964589783934e-18 + ], + "electrode_charge_C_m2": [ + 4.949047585356925e-05, + -4.9490475554456087e-05 + ], + "electron_density_m3": [ + 2515095827087.2163, + 2508690631696.646, + 2501917204129.2607, + 2494757275493.3613, + 2487192033991.0034, + 2479202157038.6416, + 2470767851312.4585, + 2461868901500.0137, + 2452484728555.2803, + 2442594458251.8047, + 2432177000815.2935, + 2421211142384.193, + 2409675648989.5396, + 2397549383668.6123, + 2384811437214.326, + 2371441272924.3706, + 2357418885534.567, + 2342724974307.4097, + 2327341129989.365, + 2311250035052.0957, + 2294435676291.0874, + 2276883568473.573, + 2258580987303.9023, + 2239517209522.983, + 2219683757476.8037, + 2199074644994.499, + 2177686620921.2935, + 2155519406170.9656, + 2132575919715.1453, + 2108862488540.9114, + 2084389036298.3472, + 2059169245161.9558, + 2033220685364.3179, + 2006564906951.5332, + 1979227488586.0938, + 1951238038697.5344, + 1922630144963.5725, + 1893441269008.7097, + 1863712584313.4111, + 1833488756628.4297, + 1802817667649.507, + 1771750084287.578, + 1740339277514.8389, + 1708640596411.1902, + 1676711004611.8428, + 1644608587781.8958, + 1612392041950.868, + 1580120153449.2964, + 1547851281747.1262, + 1515642856648.011, + 1483550901017.843, + 1451629589515.6409, + 1419930852661.7512, + 1388504034069.1252, + 1357395606835.0393, + 1326648953027.926, + 1296304208003.2842, + 1266398169047.0623, + 1236964265685.2722, + 1208032587017.3018, + 1179629959721.1523, + 1151780069020.0222, + 1124503613948.3423, + 1097818487742.7344, + 1071739974118.8923, + 1046280950558.4292, + 1021452090480.1692, + 997262057243.1061, + 973717684246.0251, + 950824136863.0034, + 928585053490.0447, + 907002664487.3279, + 886077889200.5787, + 865810412465.1154, + 846198742985.4603, + 827240256708.9993, + 808931228761.7195, + 791266857693.8746, + 774241285715.8658, + 757847618327.4086, + 742077946298.5299, + 726923372403.0231, + 712374044679.454, + 698419197352.8784, + 685047199930.4269, + 672245614420.5812, + 660001260142.3297, + 648300285202.4563, + 637128243432.2267, + 626470175388.9976, + 616310691935.4205, + 606634058900.0874, + 597424281381.4108, + 588665186370.1891, + 580340502517.5531, + 572433936050.9673, + 564929242029.2695, + 557810290317.698, + 551061125846.0918, + 544666022883.9592, + 538609533217.79285, + 532876528248.72394, + 527452235139.79785, + 522322267232.4558, + 517472649022.1628, + 512889836034.89526, + 508560729981.61743, + 504472689588.7589, + 500613537511.6615, + 496971563736.58417, + 493535525868.1365, + 490294646682.96277, + 487238609311.59143, + 484357550386.4812, + 481642051469.93933, + 479083129049.43365, + 476672223361.49316, + 474401186279.84064, + 472262268478.3778, + 470248106055.69525, + 468351706785.7396, + 466566436138.2424, + 464886003193.3712, + 463304446557.7517, + 461816120372.8127, + 460415680492.35834, + 459098070893.27466, + 457858510372.19836, + 21799211820636.355, + 21740215831273.977, + 21677749190110.21, + 21611629734458.047, + 21541668551084.117, + 21467670101502.91, + 21389432410726.027, + 21306747327565.45, + 21219400865094.94, + 21127173630339.2, + 21029841352679.387, + 20927175520747.004, + 20818944137806.434, + 20704912605665.945, + 20584844747007.61, + 20458503975699.49, + 20325654624005.395, + 20186063434701.074, + 20039501224803.75, + 19885744725935.52, + 19724578604218.004, + 19555797659945.785, + 19379209204149.504, + 19194635605439.727, + 19001916996271.113, + 18800914122895.87, + 18591511317945.59, + 18373619568710.875, + 18147179647920.957, + 17912165267331.523, + 17668586207739.18, + 17416491372471.365, + 17155971705149.043, + 16887162906804.27, + 16610247882698.617, + 16325458845624.227, + 16033079000528.908, + 15733443735312.555, + 15426941244884.584, + 15114012520409.7, + 14795150643237.29, + 14470899333509.21, + 14141850716814.3, + 13808642288384.348, + 13471953072963.822, + 13132498999067.992, + 12791027528383.49, + 12448311603655.41, + 12105143000772.22, + 11762325191844.56, + 11420665844891.908, + 11080969101361.58, + 10744027784134.918, + 10410615695284.697, + 10081480164037.78, + 9757335000995.506, + 9438854004592.014, + 9126665150511.533, + 8821345574810.764, + 8523417437819.2705, + 8233344729497.923, + 7951531049111.901, + 7678318364017.232, + 7413986725373.32, + 7158754893736.535, + 6912781805764.311, + 6676168795369.687, + 6448962469109.362, + 6231158126553.759, + 6022703611870.292, + 5823503482561.221, + 5633423384811.669, + 5452294531625.266, + 5279918189189.976, + 5116070088033.601, + 4960504687804.226, + 4812959237282.972, + 4673157583983.047, + 4540813699891.58, + 4415634901240.504, + 4297324750357.685, + 4185585636502.104, + 4080121040049.225, + 3980637490442.7734, + 3886846233047.8228, + 3798464623509.5303, + 3715217270569.4175, + 3636836949680.1875, + 3563065310312.195, + 3493653399745.203, + 3428362025500.035, + 3366961977527.8296, + 3309234129961.15, + 3254969440721.915, + 3203968865675.293, + 3156043202370.2734, + 3111012876776.559, + 3068707684849.5845, + 3028966499257.373, + 2991636950213.222, + 2956575088070.922, + 2923645034182.4326, + 2892718625468.232, + 2863675057228.5137, + 2836400527904.354, + 2810787888784.7427, + 2786736301042.4497, + 2764150901949.6064, + 2742942481674.657, + 2723027171682.253, + 2704326145438.9585, + 2686765331862.926, + 2670275141738.2505, + 2654790207140.753, + 2640249133774.399, + 2626594266011.937, + 2613771464341.5967, + 2601729894856.4185, + 2590421830376.7974, + 2579802462757.5044, + 2569829725914.7524, + 2560464129089.3286, + 2551668599864.51, + 2543408336451.9766, + 2535650668771.033, + 2528364927853.022, + 2521522323118.466, + 2515095827087.2163 + ], + "electrostatic_potential_V": [ + 0.0, + -6.592127310842491e-05, + -0.00013581568928608024, + -0.00020990440609618236, + -0.00028841856185545016, + -0.0003715994240758543, + -0.00045969849557844994, + -0.000552977571161631, + -0.0006517087370874158, + -0.0007561743050335873, + -0.0008666666715599128, + -0.0009834880935696542, + -0.0011069503697331566, + -0.0012373744174013848, + -0.0013750897342015972, + -0.0015204337333053048, + -0.0016737509413259672, + -0.0018353920479789124, + -0.0020057127970616443, + -0.00218507270903369, + -0.0023738336265391917, + -0.0025723580756698908, + -0.0027810074376578824, + -0.0030001399280594264, + -0.003230108383380083, + -0.0034712578585249236, + -0.00372392304244869, + -0.003988425503925857, + -0.004265070784432203, + -0.004554145360673333, + -0.0048559135052247205, + -0.005170614079938501, + -0.005498457303060356, + -0.005839621537179042, + -0.00619425015095302, + -0.006562448512733978, + -0.006944281178414515, + -0.007339769338719255, + -0.00774888859237951, + -0.008171567110832438, + -0.008607684256949208, + -0.009057069714562495, + -0.009519503177057104, + -0.009994714631948398, + -0.010482385264284699, + -0.010982148985120361, + -0.01149359457264693, + -0.012016268393459276, + -0.01254967765067109, + -0.013093294085135628, + -0.013646558036948201, + -0.014208882757843029, + -0.01477965885217951, + -0.015358258715984324, + -0.015944040840848956, + -0.016536353852994037, + -0.01713454016779492, + -0.017737939156426043, + -0.01834588974352321, + -0.018957732381969176, + -0.019572810381784735, + -0.020190470603049817, + -0.020810063555962006, + -0.021430942982641994, + -0.022052465023229398, + -0.022673987091461942, + -0.023294866600879188, + -0.02391445969102917, + -0.024532120103055992, + -0.025147198345809536, + -0.025759041277669956, + -0.02636699220662989, + -0.02697039158324344, + -0.02756857832954881, + -0.028160891813888263, + -0.028746674448607044, + -0.029325274856735806, + -0.029896051526555, + -0.030458376850697952, + -0.031011641430086417, + -0.03155525851300936, + -0.03208866843614384, + -0.03261134293698413, + -0.03312278921537351, + -0.03362255363475117, + -0.03411022497029034, + -0.03458543713018368, + -0.03504787129678997, + -0.03549725745511926, + -0.035933375296243915, + -0.03635605450188246, + -0.03676517443299265, + -0.03716066325929868, + -0.03754249657801662, + -0.03791069557854878, + -0.038265324815651744, + -0.03860648965671942, + -0.038934333469621454, + -0.03924903461631659, + -0.03955080331456852, + -0.03983987842588428, + -0.04011652422261972, + -0.040381027181375005, + -0.040633692843623455, + -0.040874842778229184, + -0.041104811674318224, + -0.04132394458703852, + -0.041532594353200704, + -0.04173111918871939, + -0.041919880475230084, + -0.042099240739265395, + -0.04226956182394077, + -0.04243120325021111, + -0.04258452076238766, + -0.042729865050712655, + -0.04286758064233497, + -0.042998004950966, + -0.04312146747477376, + -0.043238289131647664, + -0.04334878172079151, + -0.04345324749963472, + -0.0435519788652539, + -0.043645258129832734, + -0.04373335738012683, + -0.04381653841141481, + -0.04389505272698365, + -0.043969141594796375, + -0.04403903615360535, + -0.04417098013672001, + -0.04424103917608043, + -0.0443154272183328, + -0.04439439908279837, + -0.04447822294582017, + -0.04456718082568137, + -0.04466156905510166, + -0.044761698735909294, + -0.0448678961697472, + -0.04498050325787024, + -0.04509987786222858, + -0.045226394119109135, + -0.045360442695627654, + -0.04550243097833257, + -0.04565278318210574, + -0.045811940366435155, + -0.04598036034500434, + -0.046158517473409336, + -0.04634690229869933, + -0.0465460210533673, + -0.04675639497542426, + -0.04697855943531347, + -0.04721306284970169, + -0.047460465361675176, + -0.04772133726662414, + -0.04799625716318471, + -0.04828580980909063, + -0.0485905836627422, + -0.04891116809280502, + -0.04924815024028527, + -0.04960211152037137, + -0.04997362375495872, + -0.05036324493125367, + -0.05077151458724116, + -0.051198948831136896, + -0.05164603500924685, + -0.052113226044911296, + -0.05260093448037077, + -0.05310952626336759, + -0.05363931433095231, + -0.054190552054109865, + -0.054763426618210646, + -0.05535805242562378, + -0.05597446461774584, + -0.056612612823788114, + -0.05727235525247753, + -0.05795345324987956, + -0.05865556645135115, + -0.05937824865769442, + -0.06012094456445692, + -0.06088298746862276, + -0.06166359806836553, + -0.06246188445891, + -0.0632768434108469, + -0.06410736299660105, + -0.06495222660648942, + -0.06581011836843287, + -0.06667962995559854, + -0.06755926873490876, + -0.06844746717745855, + -0.06934259342053188, + -0.07024296284124425, + -0.07114685047500048, + -0.07205250408900997, + -0.07295815770298829, + -0.07386204533665124, + -0.07476241475720878, + -0.07565754100006679, + -0.07654573944234214, + -0.0774253782213206, + -0.07829488980809927, + -0.07915278156960295, + -0.07999764517900147, + -0.0808281647642187, + -0.08164312371557482, + -0.08244141010549806, + -0.08322202070458268, + -0.08398406360805713, + -0.08472675951409868, + -0.0854494417196953, + -0.08615155492039825, + -0.08683265291701338, + -0.08749239534490132, + -0.08813054355013109, + -0.08874695574143307, + -0.08934158154802184, + -0.0899144561112971, + -0.0904656938336309, + -0.09099548190039643, + -0.09150407368258112, + -0.09199178211723785, + -0.0924589731521111, + -0.09290605932944326, + -0.09333349357257632, + -0.09374176322781773, + -0.09413138440338444, + -0.0945028966372625, + -0.09485685791665914, + -0.09519384006347048, + -0.0955144244928855, + -0.09581919834591078, + -0.09610875099121219, + -0.09638367088719017, + -0.09664454279157846, + -0.09689194530301311, + -0.09712644871688415, + -0.09734861317627758, + -0.09755898709785986, + -0.09775810585207377, + -0.09794649067692993, + -0.09812464780492082, + -0.09829306778309506, + -0.09845222496704818, + -0.0986025771704631, + -0.09874456545282721, + -0.09887861402902175, + -0.09900513028559454, + -0.09912450488966072, + -0.09923711197750656, + -0.09934330941108165, + -0.09944343909164019, + -0.09953782732082457, + -0.0996267852004624, + -0.09971060906327285, + -0.0997895809275385, + -0.09986396896960184, + -0.0999340280087836, + -0.09999999999999964 + ], + "full_charge_C_m2": -2.9911240930105064e-13, + "gauss_error_C_m2": -7.554912022757491e-19, + "gauss_normalized": 4.7154051946793595e-15, + "hole_density_m3": [ + 2515095827087.2163, + 2521517376239.463, + 2528343867252.1826, + 2535600189073.5825, + 2543312672678.547, + 2551509162524.7666, + 2560219089816.9023, + 2569473547345.592, + 2579305365609.43, + 2589749189870.2666, + 2600841557715.43, + 2612620976629.159, + 2625128000980.195, + 2638405307741.533, + 2652497770152.43, + 2667452528413.5786, + 2683319056389.6597, + 2700149223158.2173, + 2717997348106.873, + 2736920248142.079, + 2756977275423.2095, + 2778230343898.3184, + 2800743942775.3574, + 2824585134940.009, + 2849823538220.4927, + 2876531287313.9463, + 2904782974141.502, + 2934655564390.124, + 2966228288049.925, + 2999582501869.4297, + 3034801521846.846, + 3071970424162.2466, + 3111175813338.698, + 3152505556921.659, + 3196048486579.4707, + 3241894066250.5356, + 3290132028809.6787, + 3340851983655.828, + 3394142998630.8657, + 3450093160726.0225, + 3508789121066.956, + 3570315630640.5156, + 3634755074055.5957, + 3702187009261.2847, + 3772687721459.2773, + 3846329799403.1855, + 3923181741762.7197, + 4003307600211.144, + 4086766664311.488, + 4173613191138.8545, + 4263896179920.0967, + 4357659188859.0986, + 4454940187911.786, + 4555771437729.7705, + 4660179381558.677, + 4768184533790.243, + 4879801346434.432, + 4995038033235.377, + 5113896330798.029, + 5236371177073.222, + 5362450290024.977, + 5492113633306.382, + 5625332761209.474, + 5762070041884.159, + 5902277765514.964, + 6045897152467.5205, + 6192857284863.386, + 6343073993171.592, + 6496448736658.453, + 6652867522440.93, + 6812199912027.99, + 6974298166232.389, + 7138996578975.091, + 7306111047687.907, + 7475438922780.2, + 7646759171142.285, + 7819832879262.933, + 7994404110612.954, + 8170201120051.015, + 8346937915715.048, + 8524316146720.175, + 8702027283635.226, + 8879755048648.73, + 9057178044001.918, + 9233972521049.365, + 9409815228376.953, + 9584386275906.818, + 9757371952750.31, + 9928467439650.898, + 10097379361875.836, + 10263828135032.535, + 10427550064171.508, + 10588299165192.426, + 10745848686629.28, + 10899992318962.803, + 11050545087293.77, + 11197343931266.57, + 11340247983292.71, + 11479138562216.635, + 11613918904556.387, + 11744513659186.791, + 11870868173977.332, + 11992947604390.713, + 12110735874558.635, + 12224234521010.447, + 12333461448098.715, + 12438449622504.135, + 12539245732051.46, + 12635908831605.023, + 12728508996179.402, + 12817125998663.074, + 12901848026826.057, + 12982770451646.291, + 13059994656480.348, + 13133626934295.629, + 13203777458053.055, + 13270559327474.787, + 13334087693760.3, + 13394478962424.215, + 13451850073229.49, + 13506317855218.848, + 13557998454071.36, + 13607006828410.482, + 13653456311253.195, + 13697458232466.842, + 13739121597949.793, + 13778552821143.564, + 13815855502492.732, + 290180538265.99115, + 290967995395.2472, + 291806449295.52466, + 292699213229.54645, + 293649816627.8212, + 294662019211.8373, + 295739826023.1233, + 296887503410.5536, + 298109596029.39276, + 299410944907.1897, + 300796706631.8759, + 302272373718.29016, + 303843796208.03485, + 305517204556.64307, + 307299233859.4539, + 309196949463.3279, + 311217874006.2341, + 313370015918.59985, + 315661899410.68384, + 318102595957.19604, + 320701757273.9108, + 323469649760.915, + 326417190361.98975, + 329555983759.3718, + 332898360786.029, + 336457417894.6302, + 340247057469.6934, + 344282028708.9713, + 348577968729.3917, + 353151443470.2788, + 358019987873.3097, + 363202144711.4427, + 368717501319.25195, + 374586723343.2036, + 380831584482.7307, + 387474991032.83, + 394540999866.7426, + 402054828315.1392, + 410042854211.3144, + 418532604181.46356, + 427552728074.7983, + 437132957254.5065, + 447304044318.84424, + 458097681703.3303, + 469546396540.6217, + 481683419143.4813, + 494542522539.90656, + 508157830649.2136, + 522563592957.9715, + 537793923954.2584, + 553882506121.293, + 570862255988.0336, + 588764953593.2751, + 607620836737.8927, + 627458162570.6604, + 648302740355.6886, + 670177440675.5829, + 693101687788.7157, + 717090943331.698, + 742156190968.9143, + 768303432871.0387, + 795533209970.2169, + 823840158714.4127, + 853212617445.9954, + 883632295497.9269, + 915074017579.8136, + 947505554987.5366, + 980887553609.0275, + 1015173566640.5638, + 1050310197427.1599, + 1086237354981.4829, + 1122888621627.746, + 1160191728990.294, + 1198069135342.98, + 1236438694300.6128, + 1275214402104.0803, + 1314307208460.3555, + 1353625874133.138, + 1393077857329.0203, + 1432570210411.324, + 1472010468614.8296, + 1511307513193.0671, + 1550372392745.658, + 1589119088270.532, + 1627465209649.5527, + 1665332613705.6755, + 1702647936539.9224, + 1739343035459.4631, + 1775355338341.7637, + 1810628100652.4126, + 1845110572472.731, + 1878758079755.4583, + 1911532025562.6362, + 1943399818247.9429, + 1974334734418.3425, + 2004315725064.5447, + 2033327173510.3147, + 2061358613828.6257, + 2088404418151.9753, + 2114463460891.9895, + 2139538767339.212, + 2163637153455.9543, + 2186768862957.5393, + 2208947207016.7876, + 2230188211161.9976, + 2250510273188.3203, + 2269933835180.183, + 2288481072070.6855, + 2306175598547.246, + 2323042195552.7686, + 2339106557144.1494, + 2354395058039.811, + 2368934541828.2715, + 2382752129502.6694, + 2395875047747.058, + 2408330476198.324, + 2420145412765.2275, + 2431346555977.0073, + 2441960203261.6323, + 2452012164015.7334, + 2461527686308.6074, + 2470531396074.1904, + 2479047247660.4946, + 2487098484649.6377, + 2494707609901.1533, + 2501896363830.9556, + 2508685709991.6157, + 2515095827087.2163 + ], + "interface_occupancy": [ + 7.928333613737113e-05 + ], + "interface_reference_occupancy": [ + 7.928011033749389e-05 + ], + "interface_sheet_charge_C_m2": [ + -2.5841505946391707e-13 + ], + "interface_trace_density_m3": [ + [ + 456691585972.8081, + 13851157354727.346, + 21854912500942.438, + 289440967545.14105 + ] + ], + "interface_trace_potential_V": [ + [ + -0.044105008145334926, + -0.044105008145334926 + ] + ], + "label": "0-", + "local_residual": [ + 0.0, + -1.6347696640340648e-17, + 150.39747423612917, + -4030.225580068659, + -2701.848839167177, + 116.46693865390124 + ], + "negative_ion_density_m3": null, + "physical_displacement_C_m2": [ + 4.949047585356925e-05, + 4.9490475554456087e-05 + ], + "positive_ion_component_inventory_m2": [ + 999999999999999.8 + ], + "positive_ion_density_m3": [ + 5.975968276481229e+21, + 5.986658954600301e+21, + 5.998005926241845e+21, + 6.010047230742219e+21, + 6.022822816989956e+21, + 6.036374599741151e+21, + 6.050746511801418e+21, + 6.065984550996106e+21, + 6.082136820722963e+21, + 6.099253562741999e+21, + 6.117387180701065e+21, + 6.136592252750241e+21, + 6.156925531427654e+21, + 6.178445928844416e+21, + 6.201214485035359e+21, + 6.225294317173934e+21, + 6.25075054722267e+21, + 6.277650205443065e+21, + 6.30606210709443e+21, + 6.336056699566494e+21, + 6.367705877178135e+21, + 6.401082760870131e+21, + 6.436261440138111e+21, + 6.473316674705153e+21, + 6.512323553704559e+21, + 6.553357110517648e+21, + 6.596491891926686e+21, + 6.641801480858361e+21, + 6.689357972820496e+21, + 6.73923140704937e+21, + 6.791489154536613e+21, + 6.84619526634206e+21, + 6.903409787049413e+21, + 6.963188039751546e+21, + 7.02557989058836e+21, + 7.090629002550537e+21, + 7.158372089916621e+21, + 7.228838186258646e+21, + 7.302047940336976e+21, + 7.378012955306262e+21, + 7.45673518736025e+21, + 7.538206420157169e+21, + 7.622407830981198e+21, + 7.709309663532688e+21, + 7.798871020419183e+21, + 7.891039785850308e+21, + 7.985752685720036e+21, + 8.08293548826576e+21, + 8.182503343965175e+21, + 8.284361258456629e+21, + 8.388404687268741e+21, + 8.49452023634845e+21, + 8.602586448023094e+21, + 8.712474648492751e+21, + 8.824049830504356e+21, + 8.937171543693409e+21, + 9.051694765453078e+21, + 9.167470727097856e+21, + 9.284347673542117e+21, + 9.402171539513892e+21, + 9.5207865312873e+21, + 9.640035609560572e+21, + 9.759760876106433e+21, + 9.879803873649203e+21, + 1.0000005814574731e+22, + 1.0120207759165853e+22, + 1.0240250767667611e+22, + 1.0359976052349643e+22, + 1.047922515574742e+22, + 1.0597840179374294e+22, + 1.0715664083603046e+22, + 1.0832541074324145e+22, + 1.0948317085831575e+22, + 1.106284036256127e+22, + 1.1175962135315821e+22, + 1.1287537380952176e+22, + 1.1397425648552206e+22, + 1.1505491930303762e+22, + 1.1611607551849953e+22, + 1.1715651054969226e+22, + 1.1817509045077681e+22, + 1.1917076977197165e+22, + 1.2014259856487945e+22, + 1.2108972832981653e+22, + 1.2201141674508733e+22, + 1.229070310659224e+22, + 1.2377605013114611e+22, + 1.2461806496392906e+22, + 1.2543277799880553e+22, + 1.2622000100652486e+22, + 1.2697965182197298e+22, + 1.2771175000571879e+22, + 1.2841641158829035e+22, + 1.2909384305657252e+22, + 1.297443347458432e+22, + 1.3036825379868168e+22, + 1.3096603684502187e+22, + 1.3153818254646736e+22, + 1.3208524413430948e+22, + 1.326078220548878e+22, + 1.331065568194133e+22, + 1.3358212213850304e+22, + 1.3403521840528973e+22, + 1.3446656657567357e+22, + 1.348769024797804e+22, + 1.3526697158630477e+22, + 1.3563752422996403e+22, + 1.3598931130296692e+22, + 1.3632308040343937e+22, + 1.366395724272057e+22, + 1.3693951858452063e+22, + 1.3722363781939498e+22, + 1.3749263460652965e+22, + 1.377471970992838e+22, + 1.379879956010099e+22, + 1.382156813320362e+22, + 1.3843088546476994e+22, + 1.3863421840018823e+22, + 1.3882626926002244e+22, + 1.390076055702177e+22, + 1.3917877311281406e+22, + 1.3934029592480203e+22, + 1.3949267642426317e+22, + 1.3963639564562671e+22, + 1.3977191356757298e+22, + 1.398996695185526e+22, + 1.4002008264650713e+22, + 1.4013355244067127e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22 + ], + "rho_C_m3": [ + -644.7209601896523, + -643.008124719198, + -641.1901394339448, + -639.2609097602972, + -637.2140351806719, + -635.0428002107776, + -632.7401660391446, + -630.2987630016655, + -627.7108840843433, + -624.9684796697748, + -622.0631537679387, + -618.9861619951469, + -615.7284115923387, + -612.2804637987156, + -608.6325389225124, + -604.7745244776676, + -600.6959867754974, + -596.3861863841164, + -591.8340978834598, + -587.0284343573406, + -581.9576770659645, + -576.6101107430419, + -570.9738649426888, + -565.0369618367442, + -558.7873708197116, + -552.2130702185462, + -545.3021163219673, + -538.0427198453823, + -530.4233298149735, + -522.4327247079466, + -514.0601105014294, + -505.2952250842658, + -496.128448253544, + -486.550916272581, + -476.554639704949, + -466.13262296829436, + -455.27898378668624, + -443.989070469045, + -432.25957471922516, + -420.08863750689346, + -407.47594541525274, + -394.4228148473777, + -380.9322615348114, + -367.00905296235123, + -352.65974161465226, + -337.8926773618726, + -322.717997833432, + -307.1475962688844, + -291.19506706043404, + -274.87562998274154, + -258.2060349067341, + -241.20444956263836, + -223.8903336149723, + -206.28430287930286, + -188.4079879022617, + -170.28389131307617, + -151.9352482949572, + -133.38589421908856, + -114.660142930703, + -95.78267840769247, + -76.77846155679609, + -57.672652848012355, + -38.4905503663781, + -19.257541766360447, + 0.0009323715145804537, + 19.259407097129728, + 38.49241745431141, + 57.67452284390934, + 76.78033558119186, + 95.78455753955437, + 114.66202819684126, + 133.38778658482815, + 151.93714865606015, + 170.2858004886254, + 188.40990662929687, + 206.2862318089207, + 223.89227330953435, + 241.2064004948942, + 258.20799746015723, + 274.8776044528206, + 291.1970536575634, + 307.14959512221725, + 322.7200089954765, + 337.89470081361964, + 352.6617772718413, + 367.01110068124285, + 380.9343211191935, + 394.42488605444606, + 407.4780279625916, + 420.090731078513, + 432.261678971909, + 443.9911850376043, + 455.2811082895709, + 466.13475701239645, + 476.55678289003345, + 486.5530681950738, + 496.13060851027177, + 505.29739327530314, + 514.0622862326331, + 522.4349075932007, + 530.4255194779573, + 538.0449159209833, + 545.3043184573943, + 552.2152780741644, + 558.7895840696382, + 565.0391801690585, + 570.976088059951, + 576.6123383618401, + 581.9599089172272, + 587.0306701859047, + 591.8363374477339, + 596.3884294556834, + 600.6982331388209, + 604.77677392949, + 608.6347912713998, + 612.2827188645048, + 615.7306692056529, + 618.9884219966933, + 622.0654160083716, + 624.9707440087925, + 627.7131503902938, + 630.3010311511109, + 632.7424359163709, + 635.04507170732, + 637.2163081949137, + 639.2631841969533, + 641.192415203838, + 643.0104017387588, + -3.446126734058885e-06, + -3.4365483699519965e-06, + -3.426405775539521e-06, + -3.415669234298174e-06, + -3.4043079135140126e-06, + -3.3922898820939906e-06, + -3.3795821383990055e-06, + -3.366150649387632e-06, + -3.3519604024405024e-06, + -3.3369754713096253e-06, + -3.321159097704012e-06, + -3.304473790068247e-06, + -3.286881441147437e-06, + -3.2683434659384377e-06, + -3.2488209616037514e-06, + -3.2282748908727597e-06, + -3.2066662903519554e-06, + -3.1839565050218852e-06, + -3.160107449991509e-06, + -3.135081900312526e-06, + -3.108843809318742e-06, + -3.0813586555341914e-06, + -3.052593817695216e-06, + -3.0225189768405825e-06, + -2.9911065437484766e-06, + -2.958332109225762e-06, + -2.9241749139093765e-06, + -2.8886183333090087e-06, + -2.851650372827389e-06, + -2.8132641664673475e-06, + -2.7734584718778802e-06, + -2.732238153356085e-06, + -2.6896146434394364e-06, + -2.645606372828622e-06, + -2.6002391576460267e-06, + -2.553546532489559e-06, + -2.5055700174581997e-06, + -2.4563593073558057e-06, + -2.4059723716688915e-06, + -2.3544754547197156e-06, + -2.3019429666380455e-06, + -2.2484572575050138e-06, + -2.194108269189467e-06, + -2.1389930619999045e-06, + -2.083215216273085e-06, + -2.026884112319821e-06, + -1.9701140956693945e-06, + -1.913023538147747e-06, + -1.8557338088649548e-06, + -1.7983681725016237e-06, + -1.7410506352118784e-06, + -1.6839047608500948e-06, + -1.627052481922252e-06, + -1.5706129305585824e-06, + -1.514701314807253e-06, + -1.459427864634931e-06, + -1.4048968701810312e-06, + -1.3512058321330628e-06, + -1.2984447406542038e-06, + -1.2466954952753345e-06, + -1.1960314737300655e-06, + -1.1465172530827297e-06, + -1.098208481879843e-06, + -1.0511518976673354e-06, + -1.0053854802383267e-06, + -9.60938727578902e-07, + -9.178330387795006e-07, + -8.76082186257616e-07, + -8.356928585197694e-07, + -7.966652543676264e-07, + -7.58993709864792e-07, + -7.226673404418004e-07, + -6.876706821107664e-07, + -6.539843177588664e-07, + -6.215854767571847e-07, + -5.904485985255957e-07, + -5.60545853107629e-07, + -5.318476141343592e-07, + -5.043228816958036e-07, + -4.779396545356945e-07, + -4.5266525259148954e-07, + -4.2846659219831095e-07, + -4.0531041726028825e-07, + -3.8316349037413795e-07, + -3.6199274829917155e-07, + -3.4176542633451946e-07, + -3.224491561286998e-07, + -3.040120412521645e-07, + -2.8642271454598197e-07, + -2.6965038086373303e-07, + -2.536648483786895e-07, + -2.384365511638618e-07, + -2.239365652959927e-07, + -2.1013662029919993e-07, + -1.970091073468775e-07, + -1.8452708528750039e-07, + -1.7266428525690342e-07, + -1.6139511438713865e-07, + -1.506946589173481e-07, + -1.4053868685547274e-07, + -1.3090365022056753e-07, + -1.2176668681558222e-07, + -1.1310562142724809e-07, + -1.0489896632382794e-07, + -9.712592091276104e-08, + -8.976637042618218e-08, + -8.280088351981062e-08, + -7.62107086930762e-08, + -6.99777694651747e-08, + -6.408465827057076e-08, + -5.8514629064504294e-08, + -5.325158865555762e-08, + -4.828008680513108e-08, + -4.358530515500153e-08, + -3.915304505881113e-08, + -3.496971440876576e-08, + -3.102231355693375e-08, + -2.7298420437549625e-08, + -2.3786175000953824e-08, + -2.0474263069594506e-08, + -1.735189972715081e-08, + -1.4408812346861476e-08, + -1.1635223363075744e-08, + -9.021832882171011e-09, + -6.559801224580799e-09, + -4.240731481168785e-09, + -2.0566521611536903e-09, + 0.0 + ], + "time_s": 0.0, + "voltage_V": -0.0 + }, + "zero_plus": { + "direct_poisson_residual_C_m2": [ + 1.1421709898132206e-20, + -1.0309979154860937e-20, + -1.4121627417505288e-20, + 3.1154930591197234e-20, + -6.950964123405602e-20, + 7.98593250583195e-20, + -3.108875614219299e-20, + -7.05419626385222e-21, + 4.793677085867306e-20, + -4.650740276018143e-20, + -9.873227791432938e-21, + -1.0693790959085542e-20, + 4.571330937213052e-20, + 9.60852999541597e-21, + -2.6046263128069735e-20, + -8.401508045578591e-20, + 1.1760523077033926e-19, + -5.69629657028517e-20, + 7.575650922005649e-20, + -1.844943638238273e-20, + -7.512123450961576e-20, + 8.012402285433647e-20, + -8.015049263393817e-20, + 8.025637175234496e-20, + -8.41209595741927e-20, + 3.14460981668159e-20, + 1.4823076576950256e-21, + 1.0222628882175337e-19, + -1.78406314515437e-19, + 6.96684599116662e-20, + 7.348010817431055e-20, + -2.3822801641527197e-20, + -5.812763600532636e-20, + 3.287546626530753e-20, + -5.558653716356346e-21, + 1.4293680984916318e-21, + -9.952637130238029e-21, + 6.982727858927638e-20, + -1.5241299094657067e-19, + 1.5431881507789284e-19, + -1.3780167260643399e-19, + 1.1360829405048303e-19, + -7.554475098324291e-20, + -7.803291026580242e-20, + 2.362692527247464e-19, + -1.096907666694319e-19, + -1.545835128739098e-20, + -1.7522994096323338e-20, + 2.80579663777987e-20, + 3.8698817777680847e-20, + -1.3658406274475593e-20, + -2.4775713707188285e-20, + -1.2991367828512831e-19, + 2.3605749448793283e-19, + -1.2139040925338192e-19, + 4.4654518188062646e-20, + -1.7398586132195363e-19, + 1.7890924032786925e-19, + 4.6110356066155975e-20, + -7.406244332554789e-20, + -7.316247081909019e-20, + 4.5766248931333915e-20, + 1.0056531015174689e-19, + -2.334728515339437e-19, + 2.6507499037629304e-19, + -2.675830019935538e-19, + 1.899868430911794e-19, + 3.943997160652836e-20, + -1.44524996625265e-19, + 8.507387163985379e-20, + -1.079437612157199e-19, + 1.7467407559159775e-19, + -1.4097804615863761e-19, + 1.428838702899598e-19, + -1.606186226230967e-19, + 5.2304284492953046e-20, + -2.228755442462878e-19, + 5.32254328230921e-19, + -4.0842869925418294e-19, + 3.128198553328538e-19, + -4.391336435921513e-19, + 5.684649867260423e-19, + -4.508332861761014e-19, + -6.140988867593677e-20, + 4.1705784740433613e-19, + -2.9609095462458136e-19, + 1.690889520956397e-19, + -3.7248273855507857e-19, + 4.3113977015243887e-19, + 1.5521878758435054e-19, + -7.43059652978835e-19, + 3.72270980318265e-19, + 4.433688083284228e-19, + -2.8619125705354673e-19, + -7.299835818555967e-19, + 9.667292906131737e-19, + 6.040933100699263e-19, + -2.3185409348718336e-18, + 1.3000896949169442e-18, + 9.590530545286816e-19, + -1.808362402828728e-18, + 1.4288387028995979e-18, + -9.128897589033222e-19, + 2.534799034217697e-18, + -3.260229813981802e-18, + 1.0402888081262893e-18, + -8.67494086886412e-19, + 1.2984750383612407e-18, + -1.1243568281412786e-18, + 1.0322949346865768e-18, + 1.0422475718168149e-18, + -1.774481084938556e-18, + 1.0148248801494569e-18, + -1.2996926482229188e-18, + 7.970050638070932e-20, + 1.779007417250446e-18, + -2.5220406004496793e-19, + -1.9651429074095785e-18, + 3.7544735387046863e-19, + 1.3912516158651883e-19, + 1.7325000144902646e-18, + 6.008375271789176e-19, + -2.8321340684835583e-18, + -6.66469345701325e-19, + 3.3448007598092236e-18, + -3.991761877944098e-18, + 3.8450683532784526e-18, + 3.5758871240891437e-20, + -2.891297736562619e-18, + 2.007644555028942e-18, + -5.419133399791468e-20, + -2.727967265926252e-18, + 1.6103604230198317e-18, + 1.1793916224380584e-18, + 1.7850033556881602e-19, + 5.603211310094976e-19, + -3.4302145813247942e-18, + 3.0900086370713225e-18, + -1.8466794649573853e-18, + 2.0889490103685632e-18, + -1.5007660193599333e-18, + 2.6150700817564904e-19, + -3.98277334467677e-19, + 7.369248637182139e-19, + -8.114261663143288e-19, + 1.6785282450912819e-19, + 1.3449630880021592e-18, + -1.4235882695394104e-18, + 7.75161260680258e-21, + 1.246651612583923e-18, + -5.34464088787967e-19, + -7.493650900884856e-19, + -2.9224647595090537e-19, + 1.2461292385540595e-18, + -5.263882965239891e-19, + -2.8148456418630413e-19, + 4.955336136210598e-19, + 2.7484938257811047e-19, + -7.500569787434447e-19, + 2.104652327297172e-19, + 3.0730507246189443e-19, + -6.14916988962225e-19, + 7.414639543859926e-20, + 7.601420672411729e-19, + -6.591623598202531e-19, + 6.560454234394487e-20, + 9.305064195982955e-20, + 5.105366677154419e-19, + -8.002576947613622e-19, + 3.0384669053890185e-19, + 2.758392442267178e-19, + -2.9621983395928967e-19, + -7.644885287756115e-20, + -3.598798162347455e-20, + 4.519182248190937e-19, + -3.4970128864072473e-19, + 1.4319849321439038e-19, + -2.198517360164728e-19, + -1.3268150650204258e-19, + 5.80357547338001e-20, + 5.62868197004393e-19, + -3.01157077380208e-19, + -8.985023460683372e-20, + -3.1826300672508894e-19, + 6.733467979672967e-19, + -1.9573116067103064e-19, + 7.322482143603919e-21, + -6.126839358295318e-19, + 1.0134564303205469e-18, + -9.848081145973803e-19, + 8.902434524470467e-19, + -4.404737999064734e-19, + -8.370958837170511e-20, + -9.408362722111862e-20, + -1.3798611168468465e-19, + 3.2886917498515946e-19, + 5.539241807944383e-19, + -1.1774273497602782e-18, + 6.593865719175762e-19, + -1.0359212872506606e-19, + -1.5735430736264166e-19, + 7.952161070830624e-19, + -4.832184129214827e-19, + -1.27005288755051e-19, + -5.658851320101323e-19, + 1.0264884499068396e-18, + -8.29064557015875e-19, + 1.0324593283987223e-18, + -4.773592662108964e-19, + -3.840287450131001e-19, + -4.637314670913956e-19, + 4.847573568052203e-19, + 2.542797275771146e-19, + 9.111447077547827e-19, + -1.1276118165459657e-18, + 3.670784192654087e-19, + -4.3263813465886953e-19, + -5.627405854152337e-19, + 1.4921540249612968e-18, + -8.70442429471838e-19, + -2.475939125007301e-19, + 4.412458396693022e-19, + 2.590687789589096e-19, + 1.421906701145739e-19, + -3.935693659703808e-19, + -5.36031274294221e-19, + -2.8437738339212406e-19, + -1.0524399569995784e-18, + 5.891496354080247e-18, + -5.515514459590148e-18, + 1.1964321730560011e-18, + -4.797686149610051e-19, + 2.4154610552523137e-18, + -2.63515287385083e-18, + 2.075353296968386e-18, + 2.2587307004739767e-19, + -4.9051832519293165e-18, + 5.711438956891651e-18, + -2.4718652930088864e-18, + -6.069118861023573e-18, + 1.327444103509897e-17, + -7.309706364822537e-18, + -1.428835806386955e-18, + 3.550857698111409e-18, + -2.1208631397918366e-18, + 1.0432124792162253e-18, + 3.0109483782999893e-18, + -5.05893770513694e-18, + 1.1128359762773908e-17, + -2.169344107621513e-17, + 9.887346663693243e-18, + 3.911236013573122e-18, + -3.8412213173864076e-18, + 4.520226965119119e-18 + ], + "electrode_charge_C_m2": [ + 4.7276928899319245e-05, + -4.727692860020436e-05 + ], + "electron_density_m3": [ + 2515095827087.2163, + 2508690631696.646, + 2501917204129.2607, + 2494757275493.3613, + 2487192033991.0034, + 2479202157038.6416, + 2470767851312.4585, + 2461868901500.0137, + 2452484728555.2803, + 2442594458251.8047, + 2432177000815.2935, + 2421211142384.193, + 2409675648989.5396, + 2397549383668.6123, + 2384811437214.326, + 2371441272924.3706, + 2357418885534.567, + 2342724974307.4097, + 2327341129989.365, + 2311250035052.0957, + 2294435676291.0874, + 2276883568473.573, + 2258580987303.9023, + 2239517209522.983, + 2219683757476.8037, + 2199074644994.499, + 2177686620921.2935, + 2155519406170.9656, + 2132575919715.1453, + 2108862488540.9114, + 2084389036298.3472, + 2059169245161.9558, + 2033220685364.3179, + 2006564906951.5332, + 1979227488586.0938, + 1951238038697.5344, + 1922630144963.5725, + 1893441269008.7097, + 1863712584313.4111, + 1833488756628.4297, + 1802817667649.507, + 1771750084287.578, + 1740339277514.8389, + 1708640596411.1902, + 1676711004611.8428, + 1644608587781.8958, + 1612392041950.868, + 1580120153449.2964, + 1547851281747.1262, + 1515642856648.011, + 1483550901017.843, + 1451629589515.6409, + 1419930852661.7512, + 1388504034069.1252, + 1357395606835.0393, + 1326648953027.926, + 1296304208003.2842, + 1266398169047.0623, + 1236964265685.2722, + 1208032587017.3018, + 1179629959721.1523, + 1151780069020.0222, + 1124503613948.3423, + 1097818487742.7344, + 1071739974118.8923, + 1046280950558.4292, + 1021452090480.1692, + 997262057243.1061, + 973717684246.0251, + 950824136863.0034, + 928585053490.0447, + 907002664487.3279, + 886077889200.5787, + 865810412465.1154, + 846198742985.4603, + 827240256708.9993, + 808931228761.7195, + 791266857693.8746, + 774241285715.8658, + 757847618327.4086, + 742077946298.5299, + 726923372403.0231, + 712374044679.454, + 698419197352.8784, + 685047199930.4269, + 672245614420.5812, + 660001260142.3297, + 648300285202.4563, + 637128243432.2267, + 626470175388.9976, + 616310691935.4205, + 606634058900.0874, + 597424281381.4108, + 588665186370.1891, + 580340502517.5531, + 572433936050.9673, + 564929242029.2695, + 557810290317.698, + 551061125846.0918, + 544666022883.9592, + 538609533217.79285, + 532876528248.72394, + 527452235139.79785, + 522322267232.4558, + 517472649022.1628, + 512889836034.89526, + 508560729981.61743, + 504472689588.7589, + 500613537511.6615, + 496971563736.58417, + 493535525868.1365, + 490294646682.96277, + 487238609311.59143, + 484357550386.4812, + 481642051469.93933, + 479083129049.43365, + 476672223361.49316, + 474401186279.84064, + 472262268478.3778, + 470248106055.69525, + 468351706785.7396, + 466566436138.2424, + 464886003193.3712, + 463304446557.7517, + 461816120372.8127, + 460415680492.35834, + 459098070893.27466, + 457858510372.19836, + 21799211820636.355, + 21740215831273.977, + 21677749190110.21, + 21611629734458.047, + 21541668551084.117, + 21467670101502.91, + 21389432410726.027, + 21306747327565.45, + 21219400865094.94, + 21127173630339.2, + 21029841352679.387, + 20927175520747.004, + 20818944137806.434, + 20704912605665.945, + 20584844747007.61, + 20458503975699.49, + 20325654624005.395, + 20186063434701.074, + 20039501224803.75, + 19885744725935.52, + 19724578604218.004, + 19555797659945.785, + 19379209204149.504, + 19194635605439.727, + 19001916996271.113, + 18800914122895.87, + 18591511317945.59, + 18373619568710.875, + 18147179647920.957, + 17912165267331.523, + 17668586207739.18, + 17416491372471.365, + 17155971705149.043, + 16887162906804.27, + 16610247882698.617, + 16325458845624.227, + 16033079000528.908, + 15733443735312.555, + 15426941244884.584, + 15114012520409.7, + 14795150643237.29, + 14470899333509.21, + 14141850716814.3, + 13808642288384.348, + 13471953072963.822, + 13132498999067.992, + 12791027528383.49, + 12448311603655.41, + 12105143000772.22, + 11762325191844.56, + 11420665844891.908, + 11080969101361.58, + 10744027784134.918, + 10410615695284.697, + 10081480164037.78, + 9757335000995.506, + 9438854004592.014, + 9126665150511.533, + 8821345574810.764, + 8523417437819.2705, + 8233344729497.923, + 7951531049111.901, + 7678318364017.232, + 7413986725373.32, + 7158754893736.535, + 6912781805764.311, + 6676168795369.687, + 6448962469109.362, + 6231158126553.759, + 6022703611870.292, + 5823503482561.221, + 5633423384811.669, + 5452294531625.266, + 5279918189189.976, + 5116070088033.601, + 4960504687804.226, + 4812959237282.972, + 4673157583983.047, + 4540813699891.58, + 4415634901240.504, + 4297324750357.685, + 4185585636502.104, + 4080121040049.225, + 3980637490442.7734, + 3886846233047.8228, + 3798464623509.5303, + 3715217270569.4175, + 3636836949680.1875, + 3563065310312.195, + 3493653399745.203, + 3428362025500.035, + 3366961977527.8296, + 3309234129961.15, + 3254969440721.915, + 3203968865675.293, + 3156043202370.2734, + 3111012876776.559, + 3068707684849.5845, + 3028966499257.373, + 2991636950213.222, + 2956575088070.922, + 2923645034182.4326, + 2892718625468.232, + 2863675057228.5137, + 2836400527904.354, + 2810787888784.7427, + 2786736301042.4497, + 2764150901949.6064, + 2742942481674.657, + 2723027171682.253, + 2704326145438.9585, + 2686765331862.926, + 2670275141738.2505, + 2654790207140.753, + 2640249133774.399, + 2626594266011.937, + 2613771464341.5967, + 2601729894856.4185, + 2590421830376.7974, + 2579802462757.5044, + 2569829725914.7524, + 2560464129089.3286, + 2551668599864.51, + 2543408336451.9766, + 2535650668771.033, + 2528364927853.022, + 2521522323118.466, + 2515095827087.2163 + ], + "electrostatic_potential_V": [ + 0.0, + -6.297056191428073e-05, + -0.00012973146662208053, + -0.00020049304983532027, + -0.00027547505263670594, + -0.00035490674788833947, + -0.00043902702465674045, + -0.000528084423747883, + -0.0006223371168574893, + -0.000722052821259098, + -0.0008275086413886569, + -0.0009389908281559608, + -0.001056794446340081, + -0.0011812229400308526, + -0.0013125875857889144, + -0.0014512068230428951, + -0.0015974054512592826, + -0.0017515136836461164, + -0.0019138660476280148, + -0.0020848001231009274, + -0.002264655110586865, + -0.002453770222907739, + -0.0026524828959283817, + -0.0028611268163229206, + -0.0030800297672304274, + -0.0033095112961101575, + -0.0035498802130940295, + -0.003801431932657415, + -0.004064445676458286, + -0.0043391815606712465, + -0.004625877596976682, + -0.004924746642428712, + -0.00523597333955159, + -0.005559711093992987, + -0.00589607914264355, + -0.0062451597700240195, + -0.0066069957346221045, + -0.0069815879693840965, + -0.007368893621377363, + -0.00776882449439448, + -0.008181245954656725, + -0.00860597635354199, + -0.00904278701224616, + -0.009491402801441043, + -0.00995150333441523, + -0.010422724775143447, + -0.01090466224367658, + -0.0113968727808186, + -0.011898878813079309, + -0.012410172038341242, + -0.01293021763364985, + -0.013458458670182553, + -0.013994320607918128, + -0.014537215734863919, + -0.015086547413778515, + -0.015641714003762765, + -0.016202112335160255, + -0.01676714063379566, + -0.01733620081415353, + -0.017908700089707675, + -0.01848405188091515, + -0.01906167603573292, + -0.019640998412025205, + -0.02022144990393201, + -0.020802465023229397, + -0.02138348017017192, + -0.021963931744815986, + -0.022543254258346065, + -0.02312087860392557, + -0.023696230638071036, + -0.024268730207039638, + -0.024837790729260265, + -0.025402819415878103, + -0.025963218178780077, + -0.026518385240958703, + -0.027067717429727443, + -0.027610613100997185, + -0.028146475614215474, + -0.028674717253996305, + -0.0291947634768808, + -0.02970605735060114, + -0.03020806404878451, + -0.03070027526595448, + -0.031182213425350425, + -0.031653435564620636, + -0.0321135368007977, + -0.03256215329499462, + -0.03299896465781047, + -0.03342369575741174, + -0.03383611791268187, + -0.034236049472884604, + -0.03462335580232781, + -0.03499794870309109, + -0.03535978532072658, + -0.03570886658685825, + -0.03604523525883779, + -0.03636897362022819, + -0.03668020090713124, + -0.03697907052456462, + -0.03726576711457061, + -0.0375405035338582, + -0.03780351779388816, + -0.038055070010729664, + -0.03829543940603822, + -0.03852492139437884, + -0.03874382478605472, + -0.03895246912876802, + -0.03915118220596285, + -0.03934029770467172, + -0.03952015306116285, + -0.039691087488699026, + -0.03985344018827356, + -0.04000754874027779, + -0.04015374767265007, + -0.04029236719912534, + -0.0404237321197055, + -0.04054816087435908, + -0.04066596474018745, + -0.040777447161818914, + -0.040882903204566, + -0.04098261911986465, + -0.04107687201266765, + -0.04116592960075444, + -0.041250050056314345, + -0.04132948192063355, + -0.04140446408324451, + -0.041475225817460375, + -0.04154198686479949, + -0.04166802942552586, + -0.04173495495341643, + -0.04180601586207194, + -0.041881455573579626, + -0.04196153026963265, + -0.04204650935475966, + -0.04213667590768791, + -0.04223232711567937, + -0.04233377468597271, + -0.042441345227698976, + -0.042555380596814886, + -0.04267623819571606, + -0.04280429121825712, + -0.042939928829919885, + -0.04308355627184333, + -0.043235594876368466, + -0.043396481980671545, + -0.0435666707239757, + -0.04374662971276657, + -0.04393684253741497, + -0.044137807122662104, + -0.04435003489358397, + -0.044574049737965186, + -0.04481038674552552, + -0.04505959070420937, + -0.045322214333830046, + -0.045598816237822186, + -0.04588995855476828, + -0.04619620429280293, + -0.04651811433203723, + -0.04685624408286158, + -0.04721113979144995, + -0.04758333448806761, + -0.04797334357893169, + -0.04838166008842693, + -0.04880874956545444, + -0.04925504467557614, + -0.04972093950936862, + -0.050206783646929626, + -0.05071287602865982, + -0.05123945869308936, + -0.0517867104533997, + -0.05235474059511642, + -0.05294358268787637, + -0.05355318861381119, + -0.054183422923507175, + -0.05483405763723888, + -0.055504767613759366, + -0.05619512661090003, + -0.05690460416115856, + -0.05763256338096227, + -0.05837825982410415, + -0.0591408414777896, + -0.05991934998377647, + -0.06071272314736978, + -0.061519798773854745, + -0.06233931984580249, + -0.06316994102622886, + -0.06401023644264726, + -0.06485870867658897, + -0.06571379885321497, + -0.06657389769730744, + -0.06743735739629049, + -0.06830250408900997, + -0.06916765078169826, + -0.07003111048058802, + -0.07089120932452567, + -0.07174629950093636, + -0.07259477173460364, + -0.07343506715069029, + -0.07426568833072965, + -0.07508520940223762, + -0.07589228502823274, + -0.07668565819128914, + -0.07746416669669523, + -0.07822674834975943, + -0.07897244479224315, + -0.07970040401135547, + -0.08040988156089307, + -0.08110024055728708, + -0.08177095053303893, + -0.08242158524598373, + -0.08305181955487823, + -0.08366142548000055, + -0.08425026757194043, + -0.08481829771283278, + -0.0853655494723176, + -0.08589213213592338, + -0.08639822451683438, + -0.08688406865358325, + -0.087349963486573, + -0.08779625859590351, + -0.08822334807215322, + -0.08863166458088578, + -0.08902167367100378, + -0.0893938683668932, + -0.08974876407477228, + -0.09008689382490717, + -0.09040880386347255, + -0.09071504960085941, + -0.09100619191717922, + -0.09128279382056687, + -0.09154541744960493, + -0.09179462140772811, + -0.0920309584147496, + -0.09225497325861366, + -0.09246720102903973, + -0.09266816561381218, + -0.09285837843800653, + -0.09303833742636354, + -0.09320852616925361, + -0.09336941327316174, + -0.09352145187731059, + -0.0936650793188758, + -0.09380071693019774, + -0.09392876995241482, + -0.09404962755100824, + -0.09416366291983197, + -0.09427123346128105, + -0.09437268103131156, + -0.09446833223905393, + -0.09455849879174627, + -0.0946434778766499, + -0.09472355257249158, + -0.09479899228379936, + -0.09487005319226584, + -0.09493697871997775, + -0.09499999999999964 + ], + "full_charge_C_m2": -2.9911240930105064e-13, + "gauss_error_C_m2": -2.4766621510964874e-18, + "gauss_normalized": 1.545810929044224e-14, + "hole_density_m3": [ + 2515095827087.2163, + 2521517376239.463, + 2528343867252.1826, + 2535600189073.5825, + 2543312672678.547, + 2551509162524.7666, + 2560219089816.9023, + 2569473547345.592, + 2579305365609.43, + 2589749189870.2666, + 2600841557715.43, + 2612620976629.159, + 2625128000980.195, + 2638405307741.533, + 2652497770152.43, + 2667452528413.5786, + 2683319056389.6597, + 2700149223158.2173, + 2717997348106.873, + 2736920248142.079, + 2756977275423.2095, + 2778230343898.3184, + 2800743942775.3574, + 2824585134940.009, + 2849823538220.4927, + 2876531287313.9463, + 2904782974141.502, + 2934655564390.124, + 2966228288049.925, + 2999582501869.4297, + 3034801521846.846, + 3071970424162.2466, + 3111175813338.698, + 3152505556921.659, + 3196048486579.4707, + 3241894066250.5356, + 3290132028809.6787, + 3340851983655.828, + 3394142998630.8657, + 3450093160726.0225, + 3508789121066.956, + 3570315630640.5156, + 3634755074055.5957, + 3702187009261.2847, + 3772687721459.2773, + 3846329799403.1855, + 3923181741762.7197, + 4003307600211.144, + 4086766664311.488, + 4173613191138.8545, + 4263896179920.0967, + 4357659188859.0986, + 4454940187911.786, + 4555771437729.7705, + 4660179381558.677, + 4768184533790.243, + 4879801346434.432, + 4995038033235.377, + 5113896330798.029, + 5236371177073.222, + 5362450290024.977, + 5492113633306.382, + 5625332761209.474, + 5762070041884.159, + 5902277765514.964, + 6045897152467.5205, + 6192857284863.386, + 6343073993171.592, + 6496448736658.453, + 6652867522440.93, + 6812199912027.99, + 6974298166232.389, + 7138996578975.091, + 7306111047687.907, + 7475438922780.2, + 7646759171142.285, + 7819832879262.933, + 7994404110612.954, + 8170201120051.015, + 8346937915715.048, + 8524316146720.175, + 8702027283635.226, + 8879755048648.73, + 9057178044001.918, + 9233972521049.365, + 9409815228376.953, + 9584386275906.818, + 9757371952750.31, + 9928467439650.898, + 10097379361875.836, + 10263828135032.535, + 10427550064171.508, + 10588299165192.426, + 10745848686629.28, + 10899992318962.803, + 11050545087293.77, + 11197343931266.57, + 11340247983292.71, + 11479138562216.635, + 11613918904556.387, + 11744513659186.791, + 11870868173977.332, + 11992947604390.713, + 12110735874558.635, + 12224234521010.447, + 12333461448098.715, + 12438449622504.135, + 12539245732051.46, + 12635908831605.023, + 12728508996179.402, + 12817125998663.074, + 12901848026826.057, + 12982770451646.291, + 13059994656480.348, + 13133626934295.629, + 13203777458053.055, + 13270559327474.787, + 13334087693760.3, + 13394478962424.215, + 13451850073229.49, + 13506317855218.848, + 13557998454071.36, + 13607006828410.482, + 13653456311253.195, + 13697458232466.842, + 13739121597949.793, + 13778552821143.564, + 13815855502492.732, + 290180538265.99115, + 290967995395.2472, + 291806449295.52466, + 292699213229.54645, + 293649816627.8212, + 294662019211.8373, + 295739826023.1233, + 296887503410.5536, + 298109596029.39276, + 299410944907.1897, + 300796706631.8759, + 302272373718.29016, + 303843796208.03485, + 305517204556.64307, + 307299233859.4539, + 309196949463.3279, + 311217874006.2341, + 313370015918.59985, + 315661899410.68384, + 318102595957.19604, + 320701757273.9108, + 323469649760.915, + 326417190361.98975, + 329555983759.3718, + 332898360786.029, + 336457417894.6302, + 340247057469.6934, + 344282028708.9713, + 348577968729.3917, + 353151443470.2788, + 358019987873.3097, + 363202144711.4427, + 368717501319.25195, + 374586723343.2036, + 380831584482.7307, + 387474991032.83, + 394540999866.7426, + 402054828315.1392, + 410042854211.3144, + 418532604181.46356, + 427552728074.7983, + 437132957254.5065, + 447304044318.84424, + 458097681703.3303, + 469546396540.6217, + 481683419143.4813, + 494542522539.90656, + 508157830649.2136, + 522563592957.9715, + 537793923954.2584, + 553882506121.293, + 570862255988.0336, + 588764953593.2751, + 607620836737.8927, + 627458162570.6604, + 648302740355.6886, + 670177440675.5829, + 693101687788.7157, + 717090943331.698, + 742156190968.9143, + 768303432871.0387, + 795533209970.2169, + 823840158714.4127, + 853212617445.9954, + 883632295497.9269, + 915074017579.8136, + 947505554987.5366, + 980887553609.0275, + 1015173566640.5638, + 1050310197427.1599, + 1086237354981.4829, + 1122888621627.746, + 1160191728990.294, + 1198069135342.98, + 1236438694300.6128, + 1275214402104.0803, + 1314307208460.3555, + 1353625874133.138, + 1393077857329.0203, + 1432570210411.324, + 1472010468614.8296, + 1511307513193.0671, + 1550372392745.658, + 1589119088270.532, + 1627465209649.5527, + 1665332613705.6755, + 1702647936539.9224, + 1739343035459.4631, + 1775355338341.7637, + 1810628100652.4126, + 1845110572472.731, + 1878758079755.4583, + 1911532025562.6362, + 1943399818247.9429, + 1974334734418.3425, + 2004315725064.5447, + 2033327173510.3147, + 2061358613828.6257, + 2088404418151.9753, + 2114463460891.9895, + 2139538767339.212, + 2163637153455.9543, + 2186768862957.5393, + 2208947207016.7876, + 2230188211161.9976, + 2250510273188.3203, + 2269933835180.183, + 2288481072070.6855, + 2306175598547.246, + 2323042195552.7686, + 2339106557144.1494, + 2354395058039.811, + 2368934541828.2715, + 2382752129502.6694, + 2395875047747.058, + 2408330476198.324, + 2420145412765.2275, + 2431346555977.0073, + 2441960203261.6323, + 2452012164015.7334, + 2461527686308.6074, + 2470531396074.1904, + 2479047247660.4946, + 2487098484649.6377, + 2494707609901.1533, + 2501896363830.9556, + 2508685709991.6157, + 2515095827087.2163 + ], + "interface_occupancy": [ + 7.928333613737113e-05 + ], + "interface_reference_occupancy": [ + 7.928011033749389e-05 + ], + "interface_sheet_charge_C_m2": [ + -2.5841505946391707e-13 + ], + "interface_trace_density_m3": [ + [ + 456728864202.0237, + 13849585928300.426, + 21852433041537.176, + 289464593659.649 + ] + ], + "interface_trace_potential_V": [ + [ + -0.04160500814533491, + -0.04160500814533491 + ] + ], + "label": "0+", + "local_residual": [ + 0.0, + 4.473815810406219e-18, + -1.393956674437979, + -83.2147084789462, + -387.84528754724045, + -1.90733052469881 + ], + "negative_ion_density_m3": null, + "physical_displacement_C_m2": [ + 4.7276928899319245e-05, + 4.727692860020436e-05 + ], + "positive_ion_component_inventory_m2": [ + 999999999999999.8 + ], + "positive_ion_density_m3": [ + 5.975968276481229e+21, + 5.986658954600301e+21, + 5.998005926241845e+21, + 6.010047230742219e+21, + 6.022822816989956e+21, + 6.036374599741151e+21, + 6.050746511801418e+21, + 6.065984550996106e+21, + 6.082136820722963e+21, + 6.099253562741999e+21, + 6.117387180701065e+21, + 6.136592252750241e+21, + 6.156925531427654e+21, + 6.178445928844416e+21, + 6.201214485035359e+21, + 6.225294317173934e+21, + 6.25075054722267e+21, + 6.277650205443065e+21, + 6.30606210709443e+21, + 6.336056699566494e+21, + 6.367705877178135e+21, + 6.401082760870131e+21, + 6.436261440138111e+21, + 6.473316674705153e+21, + 6.512323553704559e+21, + 6.553357110517648e+21, + 6.596491891926686e+21, + 6.641801480858361e+21, + 6.689357972820496e+21, + 6.73923140704937e+21, + 6.791489154536613e+21, + 6.84619526634206e+21, + 6.903409787049413e+21, + 6.963188039751546e+21, + 7.02557989058836e+21, + 7.090629002550537e+21, + 7.158372089916621e+21, + 7.228838186258646e+21, + 7.302047940336976e+21, + 7.378012955306262e+21, + 7.45673518736025e+21, + 7.538206420157169e+21, + 7.622407830981198e+21, + 7.709309663532688e+21, + 7.798871020419183e+21, + 7.891039785850308e+21, + 7.985752685720036e+21, + 8.08293548826576e+21, + 8.182503343965175e+21, + 8.284361258456629e+21, + 8.388404687268741e+21, + 8.49452023634845e+21, + 8.602586448023094e+21, + 8.712474648492751e+21, + 8.824049830504356e+21, + 8.937171543693409e+21, + 9.051694765453078e+21, + 9.167470727097856e+21, + 9.284347673542117e+21, + 9.402171539513892e+21, + 9.5207865312873e+21, + 9.640035609560572e+21, + 9.759760876106433e+21, + 9.879803873649203e+21, + 1.0000005814574731e+22, + 1.0120207759165853e+22, + 1.0240250767667611e+22, + 1.0359976052349643e+22, + 1.047922515574742e+22, + 1.0597840179374294e+22, + 1.0715664083603046e+22, + 1.0832541074324145e+22, + 1.0948317085831575e+22, + 1.106284036256127e+22, + 1.1175962135315821e+22, + 1.1287537380952176e+22, + 1.1397425648552206e+22, + 1.1505491930303762e+22, + 1.1611607551849953e+22, + 1.1715651054969226e+22, + 1.1817509045077681e+22, + 1.1917076977197165e+22, + 1.2014259856487945e+22, + 1.2108972832981653e+22, + 1.2201141674508733e+22, + 1.229070310659224e+22, + 1.2377605013114611e+22, + 1.2461806496392906e+22, + 1.2543277799880553e+22, + 1.2622000100652486e+22, + 1.2697965182197298e+22, + 1.2771175000571879e+22, + 1.2841641158829035e+22, + 1.2909384305657252e+22, + 1.297443347458432e+22, + 1.3036825379868168e+22, + 1.3096603684502187e+22, + 1.3153818254646736e+22, + 1.3208524413430948e+22, + 1.326078220548878e+22, + 1.331065568194133e+22, + 1.3358212213850304e+22, + 1.3403521840528973e+22, + 1.3446656657567357e+22, + 1.348769024797804e+22, + 1.3526697158630477e+22, + 1.3563752422996403e+22, + 1.3598931130296692e+22, + 1.3632308040343937e+22, + 1.366395724272057e+22, + 1.3693951858452063e+22, + 1.3722363781939498e+22, + 1.3749263460652965e+22, + 1.377471970992838e+22, + 1.379879956010099e+22, + 1.382156813320362e+22, + 1.3843088546476994e+22, + 1.3863421840018823e+22, + 1.3882626926002244e+22, + 1.390076055702177e+22, + 1.3917877311281406e+22, + 1.3934029592480203e+22, + 1.3949267642426317e+22, + 1.3963639564562671e+22, + 1.3977191356757298e+22, + 1.398996695185526e+22, + 1.4002008264650713e+22, + 1.4013355244067127e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22 + ], + "rho_C_m3": [ + -644.7209601896523, + -643.008124719198, + -641.1901394339448, + -639.2609097602972, + -637.2140351806719, + -635.0428002107776, + -632.7401660391446, + -630.2987630016655, + -627.7108840843433, + -624.9684796697748, + -622.0631537679387, + -618.9861619951469, + -615.7284115923387, + -612.2804637987156, + -608.6325389225124, + -604.7745244776676, + -600.6959867754974, + -596.3861863841164, + -591.8340978834598, + -587.0284343573406, + -581.9576770659645, + -576.6101107430419, + -570.9738649426888, + -565.0369618367442, + -558.7873708197116, + -552.2130702185462, + -545.3021163219673, + -538.0427198453823, + -530.4233298149735, + -522.4327247079466, + -514.0601105014294, + -505.2952250842658, + -496.128448253544, + -486.550916272581, + -476.554639704949, + -466.13262296829436, + -455.27898378668624, + -443.989070469045, + -432.25957471922516, + -420.08863750689346, + -407.47594541525274, + -394.4228148473777, + -380.9322615348114, + -367.00905296235123, + -352.65974161465226, + -337.8926773618726, + -322.717997833432, + -307.1475962688844, + -291.19506706043404, + -274.87562998274154, + -258.2060349067341, + -241.20444956263836, + -223.8903336149723, + -206.28430287930286, + -188.4079879022617, + -170.28389131307617, + -151.9352482949572, + -133.38589421908856, + -114.660142930703, + -95.78267840769247, + -76.77846155679609, + -57.672652848012355, + -38.4905503663781, + -19.257541766360447, + 0.0009323715145804537, + 19.259407097129728, + 38.49241745431141, + 57.67452284390934, + 76.78033558119186, + 95.78455753955437, + 114.66202819684126, + 133.38778658482815, + 151.93714865606015, + 170.2858004886254, + 188.40990662929687, + 206.2862318089207, + 223.89227330953435, + 241.2064004948942, + 258.20799746015723, + 274.8776044528206, + 291.1970536575634, + 307.14959512221725, + 322.7200089954765, + 337.89470081361964, + 352.6617772718413, + 367.01110068124285, + 380.9343211191935, + 394.42488605444606, + 407.4780279625916, + 420.090731078513, + 432.261678971909, + 443.9911850376043, + 455.2811082895709, + 466.13475701239645, + 476.55678289003345, + 486.5530681950738, + 496.13060851027177, + 505.29739327530314, + 514.0622862326331, + 522.4349075932007, + 530.4255194779573, + 538.0449159209833, + 545.3043184573943, + 552.2152780741644, + 558.7895840696382, + 565.0391801690585, + 570.976088059951, + 576.6123383618401, + 581.9599089172272, + 587.0306701859047, + 591.8363374477339, + 596.3884294556834, + 600.6982331388209, + 604.77677392949, + 608.6347912713998, + 612.2827188645048, + 615.7306692056529, + 618.9884219966933, + 622.0654160083716, + 624.9707440087925, + 627.7131503902938, + 630.3010311511109, + 632.7424359163709, + 635.04507170732, + 637.2163081949137, + 639.2631841969533, + 641.192415203838, + 643.0104017387588, + -3.446126734058885e-06, + -3.4365483699519965e-06, + -3.426405775539521e-06, + -3.415669234298174e-06, + -3.4043079135140126e-06, + -3.3922898820939906e-06, + -3.3795821383990055e-06, + -3.366150649387632e-06, + -3.3519604024405024e-06, + -3.3369754713096253e-06, + -3.321159097704012e-06, + -3.304473790068247e-06, + -3.286881441147437e-06, + -3.2683434659384377e-06, + -3.2488209616037514e-06, + -3.2282748908727597e-06, + -3.2066662903519554e-06, + -3.1839565050218852e-06, + -3.160107449991509e-06, + -3.135081900312526e-06, + -3.108843809318742e-06, + -3.0813586555341914e-06, + -3.052593817695216e-06, + -3.0225189768405825e-06, + -2.9911065437484766e-06, + -2.958332109225762e-06, + -2.9241749139093765e-06, + -2.8886183333090087e-06, + -2.851650372827389e-06, + -2.8132641664673475e-06, + -2.7734584718778802e-06, + -2.732238153356085e-06, + -2.6896146434394364e-06, + -2.645606372828622e-06, + -2.6002391576460267e-06, + -2.553546532489559e-06, + -2.5055700174581997e-06, + -2.4563593073558057e-06, + -2.4059723716688915e-06, + -2.3544754547197156e-06, + -2.3019429666380455e-06, + -2.2484572575050138e-06, + -2.194108269189467e-06, + -2.1389930619999045e-06, + -2.083215216273085e-06, + -2.026884112319821e-06, + -1.9701140956693945e-06, + -1.913023538147747e-06, + -1.8557338088649548e-06, + -1.7983681725016237e-06, + -1.7410506352118784e-06, + -1.6839047608500948e-06, + -1.627052481922252e-06, + -1.5706129305585824e-06, + -1.514701314807253e-06, + -1.459427864634931e-06, + -1.4048968701810312e-06, + -1.3512058321330628e-06, + -1.2984447406542038e-06, + -1.2466954952753345e-06, + -1.1960314737300655e-06, + -1.1465172530827297e-06, + -1.098208481879843e-06, + -1.0511518976673354e-06, + -1.0053854802383267e-06, + -9.60938727578902e-07, + -9.178330387795006e-07, + -8.76082186257616e-07, + -8.356928585197694e-07, + -7.966652543676264e-07, + -7.58993709864792e-07, + -7.226673404418004e-07, + -6.876706821107664e-07, + -6.539843177588664e-07, + -6.215854767571847e-07, + -5.904485985255957e-07, + -5.60545853107629e-07, + -5.318476141343592e-07, + -5.043228816958036e-07, + -4.779396545356945e-07, + -4.5266525259148954e-07, + -4.2846659219831095e-07, + -4.0531041726028825e-07, + -3.8316349037413795e-07, + -3.6199274829917155e-07, + -3.4176542633451946e-07, + -3.224491561286998e-07, + -3.040120412521645e-07, + -2.8642271454598197e-07, + -2.6965038086373303e-07, + -2.536648483786895e-07, + -2.384365511638618e-07, + -2.239365652959927e-07, + -2.1013662029919993e-07, + -1.970091073468775e-07, + -1.8452708528750039e-07, + -1.7266428525690342e-07, + -1.6139511438713865e-07, + -1.506946589173481e-07, + -1.4053868685547274e-07, + -1.3090365022056753e-07, + -1.2176668681558222e-07, + -1.1310562142724809e-07, + -1.0489896632382794e-07, + -9.712592091276104e-08, + -8.976637042618218e-08, + -8.280088351981062e-08, + -7.62107086930762e-08, + -6.99777694651747e-08, + -6.408465827057076e-08, + -5.8514629064504294e-08, + -5.325158865555762e-08, + -4.828008680513108e-08, + -4.358530515500153e-08, + -3.915304505881113e-08, + -3.496971440876576e-08, + -3.102231355693375e-08, + -2.7298420437549625e-08, + -2.3786175000953824e-08, + -2.0474263069594506e-08, + -1.735189972715081e-08, + -1.4408812346861476e-08, + -1.1635223363075744e-08, + -9.021832882171011e-09, + -6.559801224580799e-09, + -4.240731481168785e-09, + -2.0566521611536903e-09, + 0.0 + ], + "time_s": 0.0, + "voltage_V": 0.005 + } + }, + "operator_channels": [ + "capture_flux", + "electron_current", + "electron_density", + "electron_rate", + "hole_current", + "hole_density", + "hole_rate", + "local_state", + "positive_ion_flux", + "positive_ion_rate", + "potential", + "sheet_charge", + "trace_potential" + ], + "original_environment": { + "blas": [ + { + "architecture": "SkylakeX", + "filepath": "/data00/home/shanechen.910/solarlab-r1-v28/runtime/dependencies/numpy.libs/libscipy_openblas64_-ff651d7f.so", + "internal_api": "openblas", + "num_threads": 1, + "prefix": "libscipy_openblas", + "threading_layer": "pthreads", + "user_api": "blas", + "version": "0.3.27" + }, + { + "architecture": "SkylakeX", + "filepath": "/data00/home/shanechen.910/solarlab-r1-v28/runtime/dependencies/scipy.libs/libscipy_openblas-68440149.so", + "internal_api": "openblas", + "num_threads": 1, + "prefix": "libscipy_openblas", + "threading_layer": "pthreads", + "user_api": "blas", + "version": "0.3.28" + } + ], + "executable": "/data00/home/shanechen.910/solarlab-r1-v28/runtime/python/bin/python3.13", + "host": "n37-001-245", + "machine": "x86_64", + "numpy": "2.1.3", + "platform": "linux", + "python": "3.13.15 (main, Sep 1 2026, 14:18:08) [Clang 22.1.3 ]", + "scipy": "1.15.3", + "threads": { + "MKL_NUM_THREADS": "1", + "NUMEXPR_NUM_THREADS": "1", + "OMP_NUM_THREADS": "1", + "OPENBLAS_NUM_THREADS": "1", + "VECLIB_MAXIMUM_THREADS": "1" + } + }, + "physical_preparation_identity": { + "fields": [ + "schema", + "kind", + "state_time", + "preparation_controls", + "intervals", + "grid", + "physical_stack", + "stack_sha256", + "fixed_reference", + "reference_sha256", + "contact_velocities_m_s", + "contact_certificate", + "dc_state", + "state", + "qf_references_V", + "preparation_policy", + "study_spec_sha256" + ], + "schema": "R1PhysicalPreparationIdentityV1", + "scope": "physical_content_not_execution_or_approval_identity", + "sha256": "aad0e591e3a01fd00ae3ce4da34c2b2fa37a41e28f2133c4f11b7b619a10b776" + }, + "policy": { + "carrier_storage_atol_m3": 0.01, + "dc_max_nfev": 1000, + "interface_algebraic_relative_tolerance": 1e-12, + "interface_flux_atol_m2_s": 0.01, + "interface_gauss_atol_C_m2": 1.0000000000000001e-20, + "interface_potential_atol_V": 1e-16, + "interface_storage_atol_m2": 0.01, + "ion_storage_atol_m3": 0.01, + "jacobian_check_step": 1e-06, + "maximum_all_face_current_spread_relative": 2e-06, + "maximum_charge_balance_relative_error": 1e-10, + "maximum_current_decomposition_relative_error": 1e-14, + "maximum_dc_continuity_bound_A_m2": 0.0001, + "maximum_dc_face_current_spread_A_m2": 0.0001, + "maximum_dc_inventory_error": 1e-10, + "maximum_dc_ionic_face_current_A_m2": 1e-06, + "maximum_dc_normalized_residual": 1e-08, + "maximum_dc_poisson_residual": 1e-08, + "maximum_eliminated_operator_relative_error": 1e-06, + "maximum_ion_inventory_relative_drift": 1e-10, + "maximum_jacobian_column_relative_error": 0.0003, + "maximum_line_search_steps": 40, + "maximum_local_carrier_normalized_residual": 1e-07, + "maximum_local_gauss_normalized_residual": 1e-07, + "maximum_near_acceptance_nonmonotone_steps": 2, + "maximum_newton_iterations": 100, + "maximum_refinement_current_relative_change": 0.05, + "maximum_refinement_state_change": 0.02, + "maximum_scaled_nonlinear_residual": 0.05, + "maximum_two_sided_interface_total_current_relative_error": 2e-06, + "poisson_atol_C_m2": 1.0000000000000001e-20, + "poisson_relative_tolerance": 1e-12, + "refinement_substeps": [ + 4, + 8, + 16 + ], + "site_occupancy_ceiling": 0.999, + "storage_relative_tolerance": 1.0000000000000001e-11 + }, + "policy_v52": { + "carrier_storage_atol_m3": 0.01, + "dc_max_nfev": 1000, + "interface_algebraic_relative_tolerance": 1e-12, + "interface_flux_atol_m2_s": 0.01, + "interface_gauss_atol_C_m2": 1.0000000000000001e-20, + "interface_potential_atol_V": 1e-16, + "interface_storage_atol_m2": 0.01, + "ion_storage_atol_m3": 0.01, + "jacobian_check_step": 1e-06, + "maximum_all_face_current_spread_relative": 2e-06, + "maximum_charge_balance_relative_error": 1e-10, + "maximum_current_decomposition_relative_error": 1e-14, + "maximum_dc_continuity_bound_A_m2": 0.0001, + "maximum_dc_face_current_spread_A_m2": 0.0001, + "maximum_dc_inventory_error": 1e-10, + "maximum_dc_ionic_face_current_A_m2": 1e-06, + "maximum_dc_normalized_residual": 1e-08, + "maximum_dc_poisson_residual": 1e-08, + "maximum_eliminated_operator_relative_error": 1e-06, + "maximum_ion_inventory_relative_drift": 1e-10, + "maximum_jacobian_column_relative_error": 0.0003, + "maximum_line_search_steps": 40, + "maximum_local_carrier_normalized_residual": 1e-07, + "maximum_local_gauss_normalized_residual": 1e-07, + "maximum_near_acceptance_nonmonotone_steps": 2, + "maximum_newton_iterations": 100, + "maximum_refinement_current_relative_change": 0.05, + "maximum_refinement_state_change": 0.02, + "maximum_scaled_nonlinear_residual": 0.05, + "maximum_two_sided_interface_total_current_relative_error": 2e-06, + "poisson_atol_C_m2": 1.0000000000000001e-20, + "poisson_relative_tolerance": 1e-12, + "refinement_substeps": [ + 4, + 8, + 16 + ], + "site_occupancy_ceiling": 0.999, + "storage_relative_tolerance": 1.0000000000000001e-11 + }, + "prefix": { + "accepted_rows": 309, + "bilateral_100s_qualified": false, + "compensated_admitted": false, + "complete_R1_2_qualification": false, + "expected_rows": 3727, + "finite_accepted_steps": 308, + "last_accepted_time_s": 0.0021544346900318843, + "substeps_reached": [ + 4 + ] + }, + "prepared": { + "contact_certificate": { + "built_in_potential_mode": "semiconductor_work_function", + "contact_quasi_fermi_levels_eV": [ + -4.75, + -4.75, + -4.75, + -4.75 + ], + "fermi_level_span_eV": 0.0, + "message": "carrier reservoirs, Poisson drop, and any explicit metal work functions agree within the fixed internal 0.005 eV gate", + "metal_work_function_mismatch_eV": null, + "potential_mismatch_V": 0.0, + "status": "certified", + "tolerance_eV": 0.005 + }, + "contact_velocities_m_s": [ + null, + null, + null, + null + ], + "created_utc": "2026-10-04T07:23:33.230567+00:00", + "dc_state": { + "bulk_trap_occupancy": null, + "certificate": { + "certified": true, + "contact_thermodynamics": { + "built_in_potential_mode": "semiconductor_work_function", + "contact_quasi_fermi_levels_eV": [ + -4.75, + -4.75, + -4.75, + -4.75 + ], + "fermi_level_span_eV": 0.0, + "message": "carrier reservoirs, Poisson drop, and any explicit metal work functions agree within the fixed internal 0.005 eV gate", + "metal_work_function_mismatch_eV": null, + "potential_mismatch_V": 0.0, + "status": "certified", + "tolerance_eV": 0.005 + }, + "electron_continuity_bound_A_m2": 1.1184596649749649e-14, + "face_current_spread_A_m2": 1.3778251992817186e-14, + "hole_continuity_bound_A_m2": 7.498620952408058e-15, + "maximum_bulk_trap_balance_relative_error": 0.0, + "maximum_interface_gauss_residual": 1.1525846796807146e-16, + "maximum_interface_residual": 5.911935396226584e-13, + "maximum_ion_electrochemical_residual": 1.3500311979441904e-13, + "maximum_ion_inventory_relative_error": 1.25e-16, + "maximum_ionic_face_current_A_m2": 7.422272084186715e-15, + "maximum_normalized_residual": 1.3500311979441904e-13, + "optimizer_nfev": 8, + "optimizer_success": true, + "poisson_residual": 4.153258051894781e-16, + "reasons": [] + }, + "electron_density_m3": [ + 2515095827087.2163, + 2508690631696.646, + 2501917204129.2607, + 2494757275493.3613, + 2487192033991.0034, + 2479202157038.6416, + 2470767851312.4585, + 2461868901500.0137, + 2452484728555.2803, + 2442594458251.8047, + 2432177000815.2935, + 2421211142384.193, + 2409675648989.5396, + 2397549383668.6123, + 2384811437214.326, + 2371441272924.3706, + 2357418885534.567, + 2342724974307.4097, + 2327341129989.365, + 2311250035052.0957, + 2294435676291.0874, + 2276883568473.573, + 2258580987303.9023, + 2239517209522.983, + 2219683757476.8037, + 2199074644994.499, + 2177686620921.2935, + 2155519406170.9656, + 2132575919715.1453, + 2108862488540.9114, + 2084389036298.3472, + 2059169245161.9558, + 2033220685364.3179, + 2006564906951.5332, + 1979227488586.0938, + 1951238038697.5344, + 1922630144963.5725, + 1893441269008.7097, + 1863712584313.4111, + 1833488756628.4297, + 1802817667649.507, + 1771750084287.578, + 1740339277514.8389, + 1708640596411.1902, + 1676711004611.8428, + 1644608587781.8958, + 1612392041950.868, + 1580120153449.2964, + 1547851281747.1262, + 1515642856648.011, + 1483550901017.843, + 1451629589515.6409, + 1419930852661.7512, + 1388504034069.1252, + 1357395606835.0393, + 1326648953027.926, + 1296304208003.2842, + 1266398169047.0623, + 1236964265685.2722, + 1208032587017.3018, + 1179629959721.1523, + 1151780069020.0222, + 1124503613948.3423, + 1097818487742.7344, + 1071739974118.8923, + 1046280950558.4292, + 1021452090480.1692, + 997262057243.1061, + 973717684246.0251, + 950824136863.0034, + 928585053490.0447, + 907002664487.3279, + 886077889200.5787, + 865810412465.1154, + 846198742985.4603, + 827240256708.9993, + 808931228761.7195, + 791266857693.8746, + 774241285715.8658, + 757847618327.4086, + 742077946298.5299, + 726923372403.0231, + 712374044679.454, + 698419197352.8784, + 685047199930.4269, + 672245614420.5812, + 660001260142.3297, + 648300285202.4563, + 637128243432.2267, + 626470175388.9976, + 616310691935.4205, + 606634058900.0874, + 597424281381.4108, + 588665186370.1891, + 580340502517.5531, + 572433936050.9673, + 564929242029.2695, + 557810290317.698, + 551061125846.0918, + 544666022883.9592, + 538609533217.79285, + 532876528248.72394, + 527452235139.79785, + 522322267232.4558, + 517472649022.1628, + 512889836034.89526, + 508560729981.61743, + 504472689588.7589, + 500613537511.6615, + 496971563736.58417, + 493535525868.1365, + 490294646682.96277, + 487238609311.59143, + 484357550386.4812, + 481642051469.93933, + 479083129049.43365, + 476672223361.49316, + 474401186279.84064, + 472262268478.3778, + 470248106055.69525, + 468351706785.7396, + 466566436138.2424, + 464886003193.3712, + 463304446557.7517, + 461816120372.8127, + 460415680492.35834, + 459098070893.27466, + 457858510372.19836, + 21799211820636.355, + 21740215831273.977, + 21677749190110.21, + 21611629734458.047, + 21541668551084.117, + 21467670101502.91, + 21389432410726.027, + 21306747327565.45, + 21219400865094.94, + 21127173630339.2, + 21029841352679.387, + 20927175520747.004, + 20818944137806.434, + 20704912605665.945, + 20584844747007.61, + 20458503975699.49, + 20325654624005.395, + 20186063434701.074, + 20039501224803.75, + 19885744725935.52, + 19724578604218.004, + 19555797659945.785, + 19379209204149.504, + 19194635605439.727, + 19001916996271.113, + 18800914122895.87, + 18591511317945.59, + 18373619568710.875, + 18147179647920.957, + 17912165267331.523, + 17668586207739.18, + 17416491372471.365, + 17155971705149.043, + 16887162906804.27, + 16610247882698.617, + 16325458845624.227, + 16033079000528.908, + 15733443735312.555, + 15426941244884.584, + 15114012520409.7, + 14795150643237.29, + 14470899333509.21, + 14141850716814.3, + 13808642288384.348, + 13471953072963.822, + 13132498999067.992, + 12791027528383.49, + 12448311603655.41, + 12105143000772.22, + 11762325191844.56, + 11420665844891.908, + 11080969101361.58, + 10744027784134.918, + 10410615695284.697, + 10081480164037.78, + 9757335000995.506, + 9438854004592.014, + 9126665150511.533, + 8821345574810.764, + 8523417437819.2705, + 8233344729497.923, + 7951531049111.901, + 7678318364017.232, + 7413986725373.32, + 7158754893736.535, + 6912781805764.311, + 6676168795369.687, + 6448962469109.362, + 6231158126553.759, + 6022703611870.292, + 5823503482561.221, + 5633423384811.669, + 5452294531625.266, + 5279918189189.976, + 5116070088033.601, + 4960504687804.226, + 4812959237282.972, + 4673157583983.047, + 4540813699891.58, + 4415634901240.504, + 4297324750357.685, + 4185585636502.104, + 4080121040049.225, + 3980637490442.7734, + 3886846233047.8228, + 3798464623509.5303, + 3715217270569.4175, + 3636836949680.1875, + 3563065310312.195, + 3493653399745.203, + 3428362025500.035, + 3366961977527.8296, + 3309234129961.15, + 3254969440721.915, + 3203968865675.293, + 3156043202370.2734, + 3111012876776.559, + 3068707684849.5845, + 3028966499257.373, + 2991636950213.222, + 2956575088070.922, + 2923645034182.4326, + 2892718625468.232, + 2863675057228.5137, + 2836400527904.354, + 2810787888784.7427, + 2786736301042.4497, + 2764150901949.6064, + 2742942481674.657, + 2723027171682.253, + 2704326145438.9585, + 2686765331862.926, + 2670275141738.2505, + 2654790207140.753, + 2640249133774.399, + 2626594266011.937, + 2613771464341.5967, + 2601729894856.4185, + 2590421830376.7974, + 2579802462757.5044, + 2569829725914.7524, + 2560464129089.3286, + 2551668599864.51, + 2543408336451.9766, + 2535650668771.033, + 2528364927853.022, + 2521522323118.466, + 2515095827087.2163 + ], + "electron_qf_increment_V": [ + 0.0, + 4.479083986753903e-16, + 9.248164495085777e-16, + 1.4326052021117251e-15, + 1.9732776266939076e-15, + 2.5489663963111203e-15, + 3.606031342450554e-15, + 3.8146221289668494e-15, + 4.50957957286392e-15, + 5.249553281759087e-15, + 6.037457965825268e-15, + 7.320484238677215e-15, + 8.21375312211503e-15, + 8.720773990215667e-15, + 1.0177546206681785e-14, + 1.1255769200767327e-14, + 1.195965882290681e-14, + 1.3625961283962814e-14, + 1.4927164639950127e-14, + 1.5868316404482923e-14, + 1.7342949355282837e-14, + 1.8912650672075748e-14, + 2.058343401325074e-14, + 2.23616654397411e-14, + 2.3809989025989282e-14, + 2.67118764244685e-14, + 2.796621300246998e-14, + 3.1133629697510685e-14, + 3.311383763678592e-14, + 3.569195663127939e-14, + 3.843309449355486e-14, + 4.134688607930157e-14, + 4.444340442177713e-14, + 4.817724617415951e-14, + 5.122707697703341e-14, + 5.493650949641265e-14, + 5.887319091277279e-14, + 6.304922153062345e-14, + 6.747703018360537e-14, + 7.216933019856266e-14, + 7.713906595106954e-14, + 8.239934933613389e-14, + 8.840747486037542e-14, + 9.384438828763738e-14, + 1.0049957145051243e-13, + 1.0660959629144536e-13, + 1.13963433258027e-13, + 1.207968945826159e-13, + 1.2845383329456047e-13, + 1.3650101457725838e-13, + 1.4494840733032014e-13, + 1.5380493582516124e-13, + 1.6307831789910404e-13, + 1.7277490308152052e-13, + 1.828995135373529e-13, + 1.934552907636881e-13, + 2.0444355130065858e-13, + 2.1630774376854818e-13, + 2.277128860015179e-13, + 2.4043044729778756e-13, + 2.5267693235952353e-13, + 2.6577516435149743e-13, + 2.7926927377687277e-13, + 2.9358923015006085e-13, + 3.073863303675149e-13, + 3.2197414226979504e-13, + 3.3688769125763385e-13, + 3.521040119523384e-13, + 3.6715410094776763e-13, + 3.8334351758741595e-13, + 3.993116687844164e-13, + 4.1591698625314194e-13, + 4.317962468431829e-13, + 4.482497800719498e-13, + 4.648008125833614e-13, + 4.814161579935898e-13, + 4.980623755563008e-13, + 5.147060186246411e-13, + 5.313138805618232e-13, + 5.478532343211119e-13, + 5.647361524264774e-13, + 5.805992796322366e-13, + 5.971890182587807e-13, + 6.131444663388154e-13, + 6.288825673534069e-13, + 6.43933722386837e-13, + 6.596064510725223e-13, + 6.741025129556626e-13, + 6.887342364529931e-13, + 7.030395939583421e-13, + 7.174467710462551e-13, + 7.310537323960116e-13, + 7.438486584617774e-13, + 7.567099168135727e-13, + 7.691855693739479e-13, + 7.812696670449922e-13, + 7.929580839118809e-13, + 8.04692518355791e-13, + 8.151399486080391e-13, + 8.256334188829257e-13, + 8.357310356505041e-13, + 8.454362983433831e-13, + 8.551979820196806e-13, + 8.636895735447224e-13, + 8.722500466348562e-13, + 8.804428557652919e-13, + 8.887203605361631e-13, + 8.957591843187073e-13, + 9.029010053040977e-13, + 9.097115685677277e-13, + 9.162010432887495e-13, + 9.22379850276937e-13, + 9.287026751620707e-13, + 9.334038634317037e-13, + 9.391586950384985e-13, + 9.442015437629409e-13, + 9.489871646731387e-13, + 9.535261142352196e-13, + 9.578288008304183e-13, + 9.619054504095387e-13, + 9.657660779061161e-13, + 9.694204631642256e-13, + 9.72878130392474e-13, + 9.761483324207252e-13, + 9.79240037612585e-13, + 9.821619202842185e-13, + 9.849223537939804e-13, + 9.875294069101679e-13, + 9.820739515864572e-13, + 9.821704198344187e-13, + 9.81800281388265e-13, + 9.81406167701304e-13, + 9.805424313990336e-13, + 9.80095591147512e-13, + 9.796197897097186e-13, + 9.791131437159324e-13, + 9.79017736041007e-13, + 9.779991619477644e-13, + 9.778315019136867e-13, + 9.771800637138249e-13, + 9.764863539397984e-13, + 9.757476221282777e-13, + 9.74516850067137e-13, + 9.73679097188041e-13, + 9.72786953463896e-13, + 9.718368834431085e-13, + 9.708251244328243e-13, + 9.701917607327142e-13, + 9.681561750492106e-13, + 9.678224596155029e-13, + 9.665212601732063e-13, + 9.646915428462253e-13, + 9.63216042977243e-13, + 9.616448899473555e-13, + 9.59971946497578e-13, + 9.581907018643706e-13, + 9.562942531612916e-13, + 9.54275287529803e-13, + 9.521260645340249e-13, + 9.498383984377919e-13, + 9.478477320097284e-13, + 9.45256764342152e-13, + 9.420558837261167e-13, + 9.395672463262841e-13, + 9.36003875740074e-13, + 9.32686908103009e-13, + 9.29160610047626e-13, + 9.254128310005711e-13, + 9.218750132804234e-13, + 9.172017651561906e-13, + 9.127117797737499e-13, + 9.083910674263881e-13, + 9.028930027654602e-13, + 8.975351850912471e-13, + 8.923027070164494e-13, + 8.858482384215268e-13, + 8.79488929657121e-13, + 8.72765633779135e-13, + 8.656634838086757e-13, + 8.581679512111202e-13, + 8.502650093147299e-13, + 8.419413127028041e-13, + 8.331843901730418e-13, + 8.23982851829343e-13, + 8.143266049907722e-13, + 8.042070784113074e-13, + 7.940615397479259e-13, + 7.825528765871425e-13, + 7.710107107802529e-13, + 7.589907187761148e-13, + 7.464952723492701e-13, + 7.335295237682949e-13, + 7.205456404136848e-13, + 7.062224725816813e-13, + 6.919065186944916e-13, + 6.771710659600116e-13, + 6.624807102684489e-13, + 6.469708476432993e-13, + 6.30668007226515e-13, + 6.144896891030867e-13, + 5.980237074621795e-13, + 5.817483825620885e-13, + 5.643677095051166e-13, + 5.472519210534287e-13, + 5.299962368973871e-13, + 5.130850211741121e-13, + 4.947827658628756e-13, + 4.777950334334205e-13, + 4.603862809910328e-13, + 4.4304081643852473e-13, + 4.257979012142536e-13, + 4.086955018175538e-13, + 3.917699822118794e-13, + 3.7505583159753413e-13, + 3.585854287316638e-13, + 3.4238884781345883e-13, + 3.2693779271116945e-13, + 3.113691272649625e-13, + 2.957052476251398e-13, + 2.808540462177563e-13, + 2.6638846557762686e-13, + 2.523228868711966e-13, + 2.386691006681822e-13, + 2.2588048245281383e-13, + 2.1263165329968396e-13, + 2.0025949606518653e-13, + 1.8832240160368954e-13, + 1.7682086298683175e-13, + 1.657535412367329e-13, + 1.5511742455140866e-13, + 1.4490798841121796e-13, + 1.3511935455489452e-13, + 1.2574444699086299e-13, + 1.1721923206584759e-13, + 1.0820241728620108e-13, + 1.0046057002301753e-13, + 9.220690869321097e-14, + 8.520685063262119e-14, + 7.722860778772966e-14, + 7.136916214350727e-14, + 6.450804002867961e-14, + 5.84096269100318e-14, + 5.261781563620273e-14, + 4.756469841850613e-14, + 4.190609082304767e-14, + 3.74065653435498e-14, + 3.27222470232948e-14, + 2.7841744051210177e-14, + 2.3642090857919714e-14, + 1.9668328902835252e-14, + 1.5465796168342888e-14, + 1.2356501194373924e-14, + 8.998244262548232e-15, + 5.825519077271725e-15, + 2.8290730427388476e-15, + 0.0 + ], + "hole_density_m3": [ + 2515095827087.2163, + 2521517376239.463, + 2528343867252.1826, + 2535600189073.5825, + 2543312672678.547, + 2551509162524.7666, + 2560219089816.9023, + 2569473547345.592, + 2579305365609.43, + 2589749189870.2666, + 2600841557715.43, + 2612620976629.159, + 2625128000980.195, + 2638405307741.533, + 2652497770152.43, + 2667452528413.5786, + 2683319056389.6597, + 2700149223158.2173, + 2717997348106.873, + 2736920248142.079, + 2756977275423.2095, + 2778230343898.3184, + 2800743942775.3574, + 2824585134940.009, + 2849823538220.4927, + 2876531287313.9463, + 2904782974141.502, + 2934655564390.124, + 2966228288049.925, + 2999582501869.4297, + 3034801521846.846, + 3071970424162.2466, + 3111175813338.698, + 3152505556921.659, + 3196048486579.4707, + 3241894066250.5356, + 3290132028809.6787, + 3340851983655.828, + 3394142998630.8657, + 3450093160726.0225, + 3508789121066.956, + 3570315630640.5156, + 3634755074055.5957, + 3702187009261.2847, + 3772687721459.2773, + 3846329799403.1855, + 3923181741762.7197, + 4003307600211.144, + 4086766664311.488, + 4173613191138.8545, + 4263896179920.0967, + 4357659188859.0986, + 4454940187911.786, + 4555771437729.7705, + 4660179381558.677, + 4768184533790.243, + 4879801346434.432, + 4995038033235.377, + 5113896330798.029, + 5236371177073.222, + 5362450290024.977, + 5492113633306.382, + 5625332761209.474, + 5762070041884.159, + 5902277765514.964, + 6045897152467.5205, + 6192857284863.386, + 6343073993171.592, + 6496448736658.453, + 6652867522440.93, + 6812199912027.99, + 6974298166232.389, + 7138996578975.091, + 7306111047687.907, + 7475438922780.2, + 7646759171142.285, + 7819832879262.933, + 7994404110612.954, + 8170201120051.015, + 8346937915715.048, + 8524316146720.175, + 8702027283635.226, + 8879755048648.73, + 9057178044001.918, + 9233972521049.365, + 9409815228376.953, + 9584386275906.818, + 9757371952750.31, + 9928467439650.898, + 10097379361875.836, + 10263828135032.535, + 10427550064171.508, + 10588299165192.426, + 10745848686629.28, + 10899992318962.803, + 11050545087293.77, + 11197343931266.57, + 11340247983292.71, + 11479138562216.635, + 11613918904556.387, + 11744513659186.791, + 11870868173977.332, + 11992947604390.713, + 12110735874558.635, + 12224234521010.447, + 12333461448098.715, + 12438449622504.135, + 12539245732051.46, + 12635908831605.023, + 12728508996179.402, + 12817125998663.074, + 12901848026826.057, + 12982770451646.291, + 13059994656480.348, + 13133626934295.629, + 13203777458053.055, + 13270559327474.787, + 13334087693760.3, + 13394478962424.215, + 13451850073229.49, + 13506317855218.848, + 13557998454071.36, + 13607006828410.482, + 13653456311253.195, + 13697458232466.842, + 13739121597949.793, + 13778552821143.564, + 13815855502492.732, + 290180538265.99115, + 290967995395.2472, + 291806449295.52466, + 292699213229.54645, + 293649816627.8212, + 294662019211.8373, + 295739826023.1233, + 296887503410.5536, + 298109596029.39276, + 299410944907.1897, + 300796706631.8759, + 302272373718.29016, + 303843796208.03485, + 305517204556.64307, + 307299233859.4539, + 309196949463.3279, + 311217874006.2341, + 313370015918.59985, + 315661899410.68384, + 318102595957.19604, + 320701757273.9108, + 323469649760.915, + 326417190361.98975, + 329555983759.3718, + 332898360786.029, + 336457417894.6302, + 340247057469.6934, + 344282028708.9713, + 348577968729.3917, + 353151443470.2788, + 358019987873.3097, + 363202144711.4427, + 368717501319.25195, + 374586723343.2036, + 380831584482.7307, + 387474991032.83, + 394540999866.7426, + 402054828315.1392, + 410042854211.3144, + 418532604181.46356, + 427552728074.7983, + 437132957254.5065, + 447304044318.84424, + 458097681703.3303, + 469546396540.6217, + 481683419143.4813, + 494542522539.90656, + 508157830649.2136, + 522563592957.9715, + 537793923954.2584, + 553882506121.293, + 570862255988.0336, + 588764953593.2751, + 607620836737.8927, + 627458162570.6604, + 648302740355.6886, + 670177440675.5829, + 693101687788.7157, + 717090943331.698, + 742156190968.9143, + 768303432871.0387, + 795533209970.2169, + 823840158714.4127, + 853212617445.9954, + 883632295497.9269, + 915074017579.8136, + 947505554987.5366, + 980887553609.0275, + 1015173566640.5638, + 1050310197427.1599, + 1086237354981.4829, + 1122888621627.746, + 1160191728990.294, + 1198069135342.98, + 1236438694300.6128, + 1275214402104.0803, + 1314307208460.3555, + 1353625874133.138, + 1393077857329.0203, + 1432570210411.324, + 1472010468614.8296, + 1511307513193.0671, + 1550372392745.658, + 1589119088270.532, + 1627465209649.5527, + 1665332613705.6755, + 1702647936539.9224, + 1739343035459.4631, + 1775355338341.7637, + 1810628100652.4126, + 1845110572472.731, + 1878758079755.4583, + 1911532025562.6362, + 1943399818247.9429, + 1974334734418.3425, + 2004315725064.5447, + 2033327173510.3147, + 2061358613828.6257, + 2088404418151.9753, + 2114463460891.9895, + 2139538767339.212, + 2163637153455.9543, + 2186768862957.5393, + 2208947207016.7876, + 2230188211161.9976, + 2250510273188.3203, + 2269933835180.183, + 2288481072070.6855, + 2306175598547.246, + 2323042195552.7686, + 2339106557144.1494, + 2354395058039.811, + 2368934541828.2715, + 2382752129502.6694, + 2395875047747.058, + 2408330476198.324, + 2420145412765.2275, + 2431346555977.0073, + 2441960203261.6323, + 2452012164015.7334, + 2461527686308.6074, + 2470531396074.1904, + 2479047247660.4946, + 2487098484649.6377, + 2494707609901.1533, + 2501896363830.9556, + 2508685709991.6157, + 2515095827087.2163 + ], + "hole_qf_increment_V": [ + 0.0, + 2.1911028537977006e-15, + 4.511843492930702e-15, + 6.969132361549209e-15, + 9.570152634928243e-15, + 1.2322358462222014e-14, + 1.5233471384249696e-14, + 1.8311474411497246e-14, + 2.1564603578545794e-14, + 2.500133678302747e-14, + 2.863037932690047e-14, + 3.246064622708706e-14, + 3.6501240541323364e-14, + 4.076142787187241e-14, + 4.5250606280380686e-14, + 4.997827144320497e-14, + 5.406579862351218e-14, + 6.01872896528205e-14, + 6.568773812965693e-14, + 7.14647575256145e-14, + 7.752762689210295e-14, + 8.388540134479913e-14, + 9.054683848327192e-14, + 9.75203185912477e-14, + 1.0481375997042504e-13, + 1.1243452855631621e-13, + 1.203893436622418e-13, + 1.2779600063153739e-13, + 1.3732416134715897e-13, + 1.463134661542844e-13, + 1.5565521333605332e-13, + 1.6535136237946412e-13, + 1.7540260961279394e-13, + 1.8580828893849858e-13, + 1.965662772572451e-13, + 2.0767290733499671e-13, + 2.1912288879806797e-13, + 2.3090924016554357e-13, + 2.43023233110059e-13, + 2.554543511543336e-13, + 2.673020852287259e-13, + 2.8121681801729576e-13, + 2.945180499347092e-13, + 3.0807621334269976e-13, + 3.2098365233480957e-13, + 3.358837641737888e-13, + 3.500893067874021e-13, + 3.644642946172997e-13, + 3.789832378740958e-13, + 3.936194706433109e-13, + 4.0834531748314335e-13, + 4.231322752135428e-13, + 4.379512073272224e-13, + 4.5277254965350367e-13, + 4.675665234149606e-13, + 4.823033538552658e-13, + 4.969534916690608e-13, + 5.114878336242708e-13, + 5.25877939408042e-13, + 5.400962429468119e-13, + 5.541162534885304e-13, + 5.679127450040215e-13, + 5.814619308887956e-13, + 5.947416211368573e-13, + 6.06843181990394e-13, + 6.204125449909207e-13, + 6.32768516833387e-13, + 6.447846337924703e-13, + 6.564483154872666e-13, + 6.677490646251817e-13, + 6.786784638645172e-13, + 6.892301491898524e-13, + 6.993997612895966e-13, + 7.082966974558399e-13, + 7.185849158514885e-13, + 7.276010471452473e-13, + 7.362360611203569e-13, + 7.43606067792023e-13, + 7.514930728031899e-13, + 7.590157654287054e-13, + 7.670702665703401e-13, + 7.738890924503602e-13, + 7.803700833138166e-13, + 7.865235526022725e-13, + 7.923603338154549e-13, + 7.97891656545255e-13, + 8.031290315039544e-13, + 8.080841445063026e-13, + 8.127687601668976e-13, + 8.171946365610268e-13, + 8.213734485278333e-13, + 8.244285436721839e-13, + 8.290357777937358e-13, + 8.325416828859886e-13, + 8.358452123697749e-13, + 8.389568172400531e-13, + 8.418866000432645e-13, + 8.446442969617603e-13, + 8.472392647842784e-13, + 8.496804738183398e-13, + 8.51976503974019e-13, + 8.541355454795467e-13, + 8.561654021036632e-13, + 8.580734967985008e-13, + 8.598668804108519e-13, + 8.615522406996603e-13, + 8.631359136845698e-13, + 8.646238957646476e-13, + 8.660218562889163e-13, + 8.673351506974167e-13, + 8.685688342706109e-13, + 8.697276752677093e-13, + 8.708161689999164e-13, + 8.718385506214774e-13, + 8.727988086662645e-13, + 8.737006976417451e-13, + 8.745477505266358e-13, + 8.753432906860478e-13, + 8.760904434176257e-13, + 8.767921472833307e-13, + 8.774511643174371e-13, + 8.780700902559128e-13, + 8.786513641728574e-13, + 8.79197277838431e-13, + 8.797099840097934e-13, + 8.80191504803817e-13, + 8.806437396862512e-13, + 8.810684724026214e-13, + 8.774043660385864e-13, + 8.747198272070472e-13, + 8.718773619092547e-13, + 8.679805029371121e-13, + 8.647970110675664e-13, + 8.623179888469197e-13, + 8.587578892795153e-13, + 8.549954193267103e-13, + 8.501326639421219e-13, + 8.468241755608976e-13, + 8.415070359195362e-13, + 8.368353828513071e-13, + 8.319104817886999e-13, + 8.267216582596408e-13, + 8.221463447472786e-13, + 8.163974197071285e-13, + 8.10352338871834e-13, + 8.040004892833214e-13, + 7.973314431889417e-13, + 7.903350426935966e-13, + 7.830014904035652e-13, + 7.753214507439928e-13, + 7.672861570379862e-13, + 7.588875285764412e-13, + 7.501182924451015e-13, + 7.40972114355851e-13, + 7.314437329455078e-13, + 7.215291001539107e-13, + 7.112255236663585e-13, + 6.996436315187192e-13, + 6.894484067128735e-13, + 6.779775414241143e-13, + 6.661233555958268e-13, + 6.530038489957155e-13, + 6.412918822497791e-13, + 6.283334900743615e-13, + 6.15029740883342e-13, + 6.01395898736929e-13, + 5.874496307684081e-13, + 5.732110058556655e-13, + 5.587024640340644e-13, + 5.439487482827536e-13, + 5.289768047659206e-13, + 5.138156435860194e-13, + 4.984961638457897e-13, + 4.830509430528576e-13, + 4.675139938454023e-13, + 4.5192048819533763e-13, + 4.363064537146837e-13, + 4.2070844996079934e-13, + 4.0516322719915503e-13, + 3.8970737373159286e-13, + 3.7348878376256486e-13, + 3.5920719988465944e-13, + 3.4423208892631306e-13, + 3.294841054524229e-13, + 3.149939040387482e-13, + 3.007900545899166e-13, + 2.868988123765448e-13, + 2.733439314261071e-13, + 2.6014651875511375e-13, + 2.4732493268171794e-13, + 2.3489472772986306e-13, + 2.2286864064251436e-13, + 2.1125661937163344e-13, + 2.0006588935586694e-13, + 1.893010561507297e-13, + 1.7896423508919303e-13, + 1.6905520738172424e-13, + 1.586834161548443e-13, + 1.5050904962219426e-13, + 1.4186145509743705e-13, + 1.3362112746574976e-13, + 1.248908425724175e-13, + 1.183249278623215e-13, + 1.1124767377345973e-13, + 1.0453530102073047e-13, + 9.728706466232554e-14, + 9.215448403669236e-14, + 8.64597054263218e-14, + 8.107741843312627e-14, + 7.59940813634543e-14, + 7.030802395429972e-14, + 6.667042864470391e-14, + 6.240362176696281e-14, + 5.838292182988207e-14, + 5.3707620592625935e-14, + 5.103009536613046e-14, + 4.7674056688042004e-14, + 4.3628178147537335e-14, + 4.154611266512789e-14, + 3.875289684651036e-14, + 3.612674000598108e-14, + 3.365813184544067e-14, + 3.1338016787980214e-14, + 2.8269608817352138e-14, + 2.7109273641125763e-14, + 2.5184732715662792e-14, + 2.337683425882018e-14, + 2.1678646489088122e-14, + 2.008362065418247e-14, + 1.8585575181484016e-14, + 1.7178679584619522e-14, + 1.5857438183767053e-14, + 1.4616673698815722e-14, + 1.2563333353729941e-14, + 1.2357364965039802e-14, + 1.132991772726623e-14, + 1.0365111672411971e-14, + 9.459131531805569e-15, + 8.608391283062727e-15, + 6.921342847834913e-15, + 7.0593557530865425e-15, + 6.3549210215018564e-15, + 5.693424136385509e-15, + 5.072242204240602e-15, + 4.4889123458999374e-15, + 3.941122021164909e-15, + 3.4267000572876976e-15, + 2.943608045104581e-15, + 2.4899322979789204e-15, + 2.0638763410383675e-15, + 1.663753659720769e-15, + 1.287981112411347e-15, + 9.350724461945074e-16, + 6.036324960607968e-16, + -5.958268916459084e-16, + 0.0 + ], + "interface_occupancy": [ + 7.928333613737113e-05 + ], + "negative_ion_density_m3": null, + "positive_ion_density_m3": [ + 5.975968276481229e+21, + 5.986658954600301e+21, + 5.998005926241845e+21, + 6.010047230742219e+21, + 6.022822816989956e+21, + 6.036374599741151e+21, + 6.050746511801418e+21, + 6.065984550996106e+21, + 6.082136820722963e+21, + 6.099253562741999e+21, + 6.117387180701065e+21, + 6.136592252750241e+21, + 6.156925531427654e+21, + 6.178445928844416e+21, + 6.201214485035359e+21, + 6.225294317173934e+21, + 6.25075054722267e+21, + 6.277650205443065e+21, + 6.30606210709443e+21, + 6.336056699566494e+21, + 6.367705877178135e+21, + 6.401082760870131e+21, + 6.436261440138111e+21, + 6.473316674705153e+21, + 6.512323553704559e+21, + 6.553357110517648e+21, + 6.596491891926686e+21, + 6.641801480858361e+21, + 6.689357972820496e+21, + 6.73923140704937e+21, + 6.791489154536613e+21, + 6.84619526634206e+21, + 6.903409787049413e+21, + 6.963188039751546e+21, + 7.02557989058836e+21, + 7.090629002550537e+21, + 7.158372089916621e+21, + 7.228838186258646e+21, + 7.302047940336976e+21, + 7.378012955306262e+21, + 7.45673518736025e+21, + 7.538206420157169e+21, + 7.622407830981198e+21, + 7.709309663532688e+21, + 7.798871020419183e+21, + 7.891039785850308e+21, + 7.985752685720036e+21, + 8.08293548826576e+21, + 8.182503343965175e+21, + 8.284361258456629e+21, + 8.388404687268741e+21, + 8.49452023634845e+21, + 8.602586448023094e+21, + 8.712474648492751e+21, + 8.824049830504356e+21, + 8.937171543693409e+21, + 9.051694765453078e+21, + 9.167470727097856e+21, + 9.284347673542117e+21, + 9.402171539513892e+21, + 9.5207865312873e+21, + 9.640035609560572e+21, + 9.759760876106433e+21, + 9.879803873649203e+21, + 1.0000005814574731e+22, + 1.0120207759165853e+22, + 1.0240250767667611e+22, + 1.0359976052349643e+22, + 1.047922515574742e+22, + 1.0597840179374294e+22, + 1.0715664083603046e+22, + 1.0832541074324145e+22, + 1.0948317085831575e+22, + 1.106284036256127e+22, + 1.1175962135315821e+22, + 1.1287537380952176e+22, + 1.1397425648552206e+22, + 1.1505491930303762e+22, + 1.1611607551849953e+22, + 1.1715651054969226e+22, + 1.1817509045077681e+22, + 1.1917076977197165e+22, + 1.2014259856487945e+22, + 1.2108972832981653e+22, + 1.2201141674508733e+22, + 1.229070310659224e+22, + 1.2377605013114611e+22, + 1.2461806496392906e+22, + 1.2543277799880553e+22, + 1.2622000100652486e+22, + 1.2697965182197298e+22, + 1.2771175000571879e+22, + 1.2841641158829035e+22, + 1.2909384305657252e+22, + 1.297443347458432e+22, + 1.3036825379868168e+22, + 1.3096603684502187e+22, + 1.3153818254646736e+22, + 1.3208524413430948e+22, + 1.326078220548878e+22, + 1.331065568194133e+22, + 1.3358212213850304e+22, + 1.3403521840528973e+22, + 1.3446656657567357e+22, + 1.348769024797804e+22, + 1.3526697158630477e+22, + 1.3563752422996403e+22, + 1.3598931130296692e+22, + 1.3632308040343937e+22, + 1.366395724272057e+22, + 1.3693951858452063e+22, + 1.3722363781939498e+22, + 1.3749263460652965e+22, + 1.377471970992838e+22, + 1.379879956010099e+22, + 1.382156813320362e+22, + 1.3843088546476994e+22, + 1.3863421840018823e+22, + 1.3882626926002244e+22, + 1.390076055702177e+22, + 1.3917877311281406e+22, + 1.3934029592480203e+22, + 1.3949267642426317e+22, + 1.3963639564562671e+22, + 1.3977191356757298e+22, + 1.398996695185526e+22, + 1.4002008264650713e+22, + 1.4013355244067127e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22 + ], + "potential_V": [ + 0.0, + -6.592127310842491e-05, + -0.00013581568928608024, + -0.00020990440609618236, + -0.00028841856185545016, + -0.0003715994240758543, + -0.00045969849557844994, + -0.000552977571161631, + -0.0006517087370874158, + -0.0007561743050335873, + -0.0008666666715599128, + -0.0009834880935696542, + -0.0011069503697331566, + -0.0012373744174013848, + -0.0013750897342015972, + -0.0015204337333053048, + -0.0016737509413259672, + -0.0018353920479789124, + -0.0020057127970616443, + -0.00218507270903369, + -0.0023738336265391917, + -0.0025723580756698908, + -0.0027810074376578824, + -0.0030001399280594264, + -0.003230108383380083, + -0.0034712578585249236, + -0.00372392304244869, + -0.003988425503925857, + -0.004265070784432203, + -0.004554145360673333, + -0.0048559135052247205, + -0.005170614079938501, + -0.005498457303060356, + -0.005839621537179042, + -0.00619425015095302, + -0.006562448512733978, + -0.006944281178414515, + -0.007339769338719255, + -0.00774888859237951, + -0.008171567110832438, + -0.008607684256949208, + -0.009057069714562495, + -0.009519503177057104, + -0.009994714631948398, + -0.010482385264284699, + -0.010982148985120361, + -0.01149359457264693, + -0.012016268393459276, + -0.01254967765067109, + -0.013093294085135628, + -0.013646558036948201, + -0.014208882757843029, + -0.01477965885217951, + -0.015358258715984324, + -0.015944040840848956, + -0.016536353852994037, + -0.01713454016779492, + -0.017737939156426043, + -0.01834588974352321, + -0.018957732381969176, + -0.019572810381784735, + -0.020190470603049817, + -0.020810063555962006, + -0.021430942982641994, + -0.022052465023229398, + -0.022673987091461942, + -0.023294866600879188, + -0.02391445969102917, + -0.024532120103055992, + -0.025147198345809536, + -0.025759041277669956, + -0.02636699220662989, + -0.02697039158324344, + -0.02756857832954881, + -0.028160891813888263, + -0.028746674448607044, + -0.029325274856735806, + -0.029896051526555, + -0.030458376850697952, + -0.031011641430086417, + -0.03155525851300936, + -0.03208866843614384, + -0.03261134293698413, + -0.03312278921537351, + -0.03362255363475117, + -0.03411022497029034, + -0.03458543713018368, + -0.03504787129678997, + -0.03549725745511926, + -0.035933375296243915, + -0.03635605450188246, + -0.03676517443299265, + -0.03716066325929868, + -0.03754249657801662, + -0.03791069557854878, + -0.038265324815651744, + -0.03860648965671942, + -0.038934333469621454, + -0.03924903461631659, + -0.03955080331456852, + -0.03983987842588428, + -0.04011652422261972, + -0.040381027181375005, + -0.040633692843623455, + -0.040874842778229184, + -0.041104811674318224, + -0.04132394458703852, + -0.041532594353200704, + -0.04173111918871939, + -0.041919880475230084, + -0.042099240739265395, + -0.04226956182394077, + -0.04243120325021111, + -0.04258452076238766, + -0.042729865050712655, + -0.04286758064233497, + -0.042998004950966, + -0.04312146747477376, + -0.043238289131647664, + -0.04334878172079151, + -0.04345324749963472, + -0.0435519788652539, + -0.043645258129832734, + -0.04373335738012683, + -0.04381653841141481, + -0.04389505272698365, + -0.043969141594796375, + -0.04403903615360535, + -0.04417098013672001, + -0.04424103917608043, + -0.0443154272183328, + -0.04439439908279837, + -0.04447822294582017, + -0.04456718082568137, + -0.04466156905510166, + -0.044761698735909294, + -0.0448678961697472, + -0.04498050325787024, + -0.04509987786222858, + -0.045226394119109135, + -0.045360442695627654, + -0.04550243097833257, + -0.04565278318210574, + -0.045811940366435155, + -0.04598036034500434, + -0.046158517473409336, + -0.04634690229869933, + -0.0465460210533673, + -0.04675639497542426, + -0.04697855943531347, + -0.04721306284970169, + -0.047460465361675176, + -0.04772133726662414, + -0.04799625716318471, + -0.04828580980909063, + -0.0485905836627422, + -0.04891116809280502, + -0.04924815024028527, + -0.04960211152037137, + -0.04997362375495872, + -0.05036324493125367, + -0.05077151458724116, + -0.051198948831136896, + -0.05164603500924685, + -0.052113226044911296, + -0.05260093448037077, + -0.05310952626336759, + -0.05363931433095231, + -0.054190552054109865, + -0.054763426618210646, + -0.05535805242562378, + -0.05597446461774584, + -0.056612612823788114, + -0.05727235525247753, + -0.05795345324987956, + -0.05865556645135115, + -0.05937824865769442, + -0.06012094456445692, + -0.06088298746862276, + -0.06166359806836553, + -0.06246188445891, + -0.0632768434108469, + -0.06410736299660105, + -0.06495222660648942, + -0.06581011836843287, + -0.06667962995559854, + -0.06755926873490876, + -0.06844746717745855, + -0.06934259342053188, + -0.07024296284124425, + -0.07114685047500048, + -0.07205250408900997, + -0.07295815770298829, + -0.07386204533665124, + -0.07476241475720878, + -0.07565754100006679, + -0.07654573944234214, + -0.0774253782213206, + -0.07829488980809927, + -0.07915278156960295, + -0.07999764517900147, + -0.0808281647642187, + -0.08164312371557482, + -0.08244141010549806, + -0.08322202070458268, + -0.08398406360805713, + -0.08472675951409868, + -0.0854494417196953, + -0.08615155492039825, + -0.08683265291701338, + -0.08749239534490132, + -0.08813054355013109, + -0.08874695574143307, + -0.08934158154802184, + -0.0899144561112971, + -0.0904656938336309, + -0.09099548190039643, + -0.09150407368258112, + -0.09199178211723785, + -0.0924589731521111, + -0.09290605932944326, + -0.09333349357257632, + -0.09374176322781773, + -0.09413138440338444, + -0.0945028966372625, + -0.09485685791665914, + -0.09519384006347048, + -0.0955144244928855, + -0.09581919834591078, + -0.09610875099121219, + -0.09638367088719017, + -0.09664454279157846, + -0.09689194530301311, + -0.09712644871688415, + -0.09734861317627758, + -0.09755898709785986, + -0.09775810585207377, + -0.09794649067692993, + -0.09812464780492082, + -0.09829306778309506, + -0.09845222496704818, + -0.0986025771704631, + -0.09874456545282721, + -0.09887861402902175, + -0.09900513028559454, + -0.09912450488966072, + -0.09923711197750656, + -0.09934330941108165, + -0.09944343909164019, + -0.09953782732082457, + -0.0996267852004624, + -0.09971060906327285, + -0.0997895809275385, + -0.09986396896960184, + -0.0999340280087836, + -0.09999999999999964 + ], + "state_sha256": "1e2518483fec4895816878b52258528f5bf69fa3d310bce909fdd7f951f930a3" + }, + "environment": { + "numpy": "2.1.3", + "platform": "Linux-5.15.120.bsk.3-amd64-x86_64-with-glibc2.36", + "python": "3.13.15 (main, Sep 1 2026, 14:18:08) [Clang 22.1.3 ]", + "scipy": "1.15.3" + }, + "fixed_reference": { + "f_ref": [ + 7.928011033749389e-05 + ], + "geometry": "physical_boundary_two_sided_v1", + "maximum_difference": 1e-08, + "microscopic_documents": [ + "486dd4d2969cd6d20c1e054c0ace6e892e964173af6af62d3eb736755cbc0d71" + ], + "reference_intervals": 512, + "rungs": [ + { + "difference": null, + "f_ref": [ + 7.954622426871699e-05 + ], + "intervals": 32 + }, + { + "difference": 1.9901348908252074e-07, + "f_ref": [ + 7.934721077963447e-05 + ], + "intervals": 64 + }, + { + "difference": 5.1012362836127157e-08, + "f_ref": [ + 7.929619841679834e-05 + ], + "intervals": 128 + }, + { + "difference": 1.2861884555017203e-08, + "f_ref": [ + 7.928333653224332e-05 + ], + "intervals": 256 + }, + { + "difference": 3.2261947494337554e-09, + "f_ref": [ + 7.928011033749389e-05 + ], + "intervals": 512 + } + ], + "schema": "ReferenceBindingV1", + "scope": "synthetic_300K_dark_fixed_energy_positive_ion_reference", + "sha256": "0a6532a436dd07e6b27f01da3fc39aef906e6fd882057f0109c1bc5bdf77e39b", + "stack_sha256": "532ffb44aaf326b597c4d512e5a16548033f5c25e2a3e8fbb4fd079ab6c719ae" + }, + "grid": { + "background_positive_m3": [ + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22 + ], + "coordinates_m": [ + 0.0, + 1.180284477657667e-10, + 2.4336890655998756e-10, + 3.7645425043448255e-10, + 5.177403687497695e-10, + 6.677070475005931e-10, + 8.268588368683827e-10, + 9.957258965499204e-10, + 1.174864809197057e-09, + 1.3648593509795748e-09, + 1.5663212068502296e-09, + 1.7798906165477357e-09, + 2.006236935723021e-09, + 2.246059094821284e-09, + 2.5000859365073125e-09, + 2.769076410496385e-09, + 3.0538196026673733e-09, + 3.3551345733118517e-09, + 3.6738699773451785e-09, + 4.0109034373105086e-09, + 4.367140638093053e-09, + 4.743514110486074e-09, + 5.140981669180028e-09, + 5.560524469460215e-09, + 6.00314464598623e-09, + 6.469862496590633e-09, + 6.961713174186423e-09, + 7.479742850737674e-09, + 8.02500431895669e-09, + 8.598552000083425e-09, + 9.20143632992154e-09, + 9.834697500391564e-09, + 1.0499358540350656e-08, + 1.1196417727442192e-08, + 1.1926840332378784e-08, + 1.2691549708398314e-08, + 1.3491417751696393e-08, + 1.4327254773406317e-08, + 1.5199798840085843e-08, + 1.610970465751832e-08, + 1.7057532091699316e-08, + 1.8043734440820153e-08, + 1.9068646592437743e-08, + 2.013247322029417e-08, + 2.123527719477874e-08, + 2.2376968399076634e-08, + 2.3557293158813964e-08, + 2.4775824505627014e-08, + 2.6031953503671227e-08, + 2.7324881871775428e-08, + 2.8653616131934e-08, + 3.001696350641901e-08, + 3.141352977045519e-08, + 3.284171924481609e-08, + 3.429973708281761e-08, + 3.578559396925073e-08, + 3.729711330538659e-08, + 3.8831940905215145e-08, + 4.0387557174787265e-08, + 4.196129169046003e-08, + 4.3550340034783215e-08, + 4.515178269267585e-08, + 4.676260575747202e-08, + 4.837972314839922e-08, + 5e-08, + 5.1620276851600775e-08, + 5.3237394242527975e-08, + 5.484821730732414e-08, + 5.644965996521678e-08, + 5.8038708309539966e-08, + 5.961244282521272e-08, + 6.116805909478485e-08, + 6.27028866946134e-08, + 6.421440603074927e-08, + 6.570026291718239e-08, + 6.71582807551839e-08, + 6.85864702295448e-08, + 6.998303649358098e-08, + 7.1346383868066e-08, + 7.267511812822456e-08, + 7.396804649632877e-08, + 7.522417549437299e-08, + 7.644270684118603e-08, + 7.762303160092336e-08, + 7.876472280522126e-08, + 7.986752677970583e-08, + 8.093135340756226e-08, + 8.195626555917984e-08, + 8.294246790830068e-08, + 8.389029534248168e-08, + 8.480020115991415e-08, + 8.567274522659368e-08, + 8.65085822483036e-08, + 8.730845029160167e-08, + 8.807315966762121e-08, + 8.88035822725578e-08, + 8.950064145964933e-08, + 9.016530249960843e-08, + 9.079856367007845e-08, + 9.140144799991656e-08, + 9.19749956810433e-08, + 9.252025714926232e-08, + 9.303828682581358e-08, + 9.353013750340937e-08, + 9.399685535401376e-08, + 9.443947553053978e-08, + 9.485901833081997e-08, + 9.525648588951391e-08, + 9.563285936190695e-08, + 9.598909656268948e-08, + 9.632613002265482e-08, + 9.664486542668815e-08, + 9.694618039733263e-08, + 9.723092358950361e-08, + 9.749991406349269e-08, + 9.775394090517871e-08, + 9.799376306427697e-08, + 9.822010938345227e-08, + 9.843367879314977e-08, + 9.863514064902042e-08, + 9.882513519080293e-08, + 9.900427410345007e-08, + 9.917314116313162e-08, + 9.933229295249941e-08, + 9.948225963125024e-08, + 9.962354574956551e-08, + 9.975663109344001e-08, + 9.988197155223423e-08, + 1.0011802844776576e-07, + 1.0024336890655998e-07, + 1.0037645425043448e-07, + 1.0051774036874977e-07, + 1.0066770704750058e-07, + 1.0082685883686837e-07, + 1.0099572589654992e-07, + 1.0117486480919706e-07, + 1.0136485935097958e-07, + 1.0156632120685022e-07, + 1.0177989061654773e-07, + 1.0200623693572302e-07, + 1.0224605909482128e-07, + 1.025000859365073e-07, + 1.0276907641049638e-07, + 1.0305381960266737e-07, + 1.0335513457331185e-07, + 1.0367386997734517e-07, + 1.0401090343731051e-07, + 1.0436714063809304e-07, + 1.0474351411048606e-07, + 1.0514098166918002e-07, + 1.0556052446946021e-07, + 1.0600314464598623e-07, + 1.0646986249659063e-07, + 1.0696171317418642e-07, + 1.0747974285073767e-07, + 1.0802500431895669e-07, + 1.0859855200008343e-07, + 1.0920143632992154e-07, + 1.0983469750039156e-07, + 1.1049935854035066e-07, + 1.1119641772744218e-07, + 1.1192684033237878e-07, + 1.1269154970839832e-07, + 1.134914177516964e-07, + 1.1432725477340631e-07, + 1.1519979884008584e-07, + 1.1610970465751831e-07, + 1.1705753209169931e-07, + 1.1804373444082015e-07, + 1.1906864659243774e-07, + 1.2013247322029416e-07, + 1.2123527719477873e-07, + 1.2237696839907664e-07, + 1.2355729315881397e-07, + 1.24775824505627e-07, + 1.2603195350367122e-07, + 1.2732488187177542e-07, + 1.28653616131934e-07, + 1.3001696350641902e-07, + 1.3141352977045519e-07, + 1.3284171924481609e-07, + 1.3429973708281762e-07, + 1.3578559396925072e-07, + 1.372971133053866e-07, + 1.3883194090521514e-07, + 1.4038755717478727e-07, + 1.4196129169046003e-07, + 1.435503400347832e-07, + 1.4515178269267586e-07, + 1.4676260575747202e-07, + 1.4837972314839923e-07, + 1.5e-07, + 1.5162027685160076e-07, + 1.5323739424252796e-07, + 1.5484821730732412e-07, + 1.564496599652168e-07, + 1.5803870830953996e-07, + 1.5961244282521272e-07, + 1.6116805909478485e-07, + 1.627028866946134e-07, + 1.6421440603074926e-07, + 1.6570026291718237e-07, + 1.671582807551839e-07, + 1.685864702295448e-07, + 1.6998303649358097e-07, + 1.71346383868066e-07, + 1.7267511812822454e-07, + 1.7396804649632877e-07, + 1.7522417549437298e-07, + 1.7644270684118602e-07, + 1.7762303160092335e-07, + 1.7876472280522125e-07, + 1.7986752677970583e-07, + 1.8093135340756224e-07, + 1.8195626555917984e-07, + 1.8294246790830066e-07, + 1.8389029534248168e-07, + 1.8480020115991416e-07, + 1.8567274522659367e-07, + 1.865085822483036e-07, + 1.8730845029160167e-07, + 1.880731596676212e-07, + 1.888035822725578e-07, + 1.8950064145964933e-07, + 1.9016530249960843e-07, + 1.9079856367007846e-07, + 1.9140144799991656e-07, + 1.919749956810433e-07, + 1.925202571492623e-07, + 1.9303828682581357e-07, + 1.9353013750340937e-07, + 1.9399685535401376e-07, + 1.9443947553053976e-07, + 1.9485901833081996e-07, + 1.952564858895139e-07, + 1.9563285936190696e-07, + 1.959890965626895e-07, + 1.963261300226548e-07, + 1.9664486542668815e-07, + 1.969461803973326e-07, + 1.972309235895036e-07, + 1.9749991406349268e-07, + 1.9775394090517872e-07, + 1.9799376306427697e-07, + 1.9822010938345225e-07, + 1.9843367879314975e-07, + 1.986351406490204e-07, + 1.9882513519080293e-07, + 1.9900427410345005e-07, + 1.9917314116313163e-07, + 1.993322929524994e-07, + 1.9948225963125022e-07, + 1.996235457495655e-07, + 1.9975663109344e-07, + 1.998819715522342e-07, + 2e-07 + ], + "faces_m": [ + 0.0, + 5.901422388288336e-11, + 1.8069867716287712e-10, + 3.0991157849723505e-10, + 4.47097309592126e-10, + 5.927237081251813e-10, + 7.472829421844878e-10, + 9.112923667091516e-10, + 1.0852953528734887e-09, + 1.2698620800883158e-09, + 1.465590278914902e-09, + 1.6731059116989827e-09, + 1.8930637761353782e-09, + 2.1261480152721524e-09, + 2.3730725156642985e-09, + 2.6345811735018487e-09, + 2.911448006581879e-09, + 3.2044770879896125e-09, + 3.514502275328515e-09, + 3.842386707327844e-09, + 4.189022037701781e-09, + 4.555327374289564e-09, + 4.942247889833051e-09, + 5.350753069320121e-09, + 5.781834557723223e-09, + 6.2365035712884315e-09, + 6.7157878353885276e-09, + 7.220728012462048e-09, + 7.752373584847182e-09, + 8.311778159520058e-09, + 8.899994165002483e-09, + 9.518066915156552e-09, + 1.016702802037111e-08, + 1.0847888133896424e-08, + 1.1561629029910489e-08, + 1.230919502038855e-08, + 1.3091483730047354e-08, + 1.3909336262551355e-08, + 1.476352680674608e-08, + 1.565475174880208e-08, + 1.658361837460882e-08, + 1.7550633266259733e-08, + 1.8556190516628948e-08, + 1.9600559906365957e-08, + 2.0683875207536457e-08, + 2.180612279692769e-08, + 2.29671307789453e-08, + 2.416655883222049e-08, + 2.540388900464912e-08, + 2.6678417687723328e-08, + 2.7989249001854714e-08, + 2.9335289819176506e-08, + 3.07152466384371e-08, + 3.212762450763564e-08, + 3.357072816381685e-08, + 3.504266552603417e-08, + 3.654135363731866e-08, + 3.806452710530087e-08, + 3.960974904000121e-08, + 4.117442443262365e-08, + 4.275581586262162e-08, + 4.4351061363729534e-08, + 4.5957194225073934e-08, + 4.757116445293562e-08, + 4.918986157419961e-08, + 5.0810138425800386e-08, + 5.242883554706438e-08, + 5.404280577492606e-08, + 5.564893863627046e-08, + 5.724418413737837e-08, + 5.8825575567376345e-08, + 6.039025095999879e-08, + 6.193547289469913e-08, + 6.345864636268134e-08, + 6.495733447396582e-08, + 6.642927183618314e-08, + 6.787237549236435e-08, + 6.92847533615629e-08, + 7.066471018082349e-08, + 7.201075099814528e-08, + 7.332158231227666e-08, + 7.459611099535088e-08, + 7.583344116777952e-08, + 7.703286922105469e-08, + 7.819387720307231e-08, + 7.931612479246354e-08, + 8.039944009363405e-08, + 8.144380948337104e-08, + 8.244936673374026e-08, + 8.341638162539118e-08, + 8.434524825119792e-08, + 8.523647319325391e-08, + 8.609066373744864e-08, + 8.690851626995264e-08, + 8.769080497961144e-08, + 8.84383709700895e-08, + 8.915211186610356e-08, + 8.983297197962888e-08, + 9.048193308484345e-08, + 9.110000583499752e-08, + 9.168822184047993e-08, + 9.22476264151528e-08, + 9.277927198753794e-08, + 9.328421216461147e-08, + 9.376349642871157e-08, + 9.421816544227676e-08, + 9.464924693067987e-08, + 9.505775211016694e-08, + 9.544467262571043e-08, + 9.581097796229822e-08, + 9.615761329267215e-08, + 9.648549772467148e-08, + 9.679552291201038e-08, + 9.708855199341812e-08, + 9.736541882649815e-08, + 9.76269274843357e-08, + 9.787385198472785e-08, + 9.810693622386461e-08, + 9.832689408830102e-08, + 9.853440972108509e-08, + 9.873013791991167e-08, + 9.89147046471265e-08, + 9.908870763329084e-08, + 9.92527170578155e-08, + 9.940727629187483e-08, + 9.955290269040788e-08, + 9.969008842150276e-08, + 9.981930132283711e-08, + 1e-07, + 1.0018069867716288e-07, + 1.0030991157849723e-07, + 1.0044709730959212e-07, + 1.0059272370812518e-07, + 1.0074728294218449e-07, + 1.0091129236670915e-07, + 1.010852953528735e-07, + 1.0126986208008832e-07, + 1.014655902789149e-07, + 1.0167310591169897e-07, + 1.0189306377613538e-07, + 1.0212614801527214e-07, + 1.023730725156643e-07, + 1.0263458117350184e-07, + 1.0291144800658187e-07, + 1.0320447708798961e-07, + 1.0351450227532851e-07, + 1.0384238670732784e-07, + 1.0418902203770178e-07, + 1.0455532737428956e-07, + 1.0494224788983304e-07, + 1.0535075306932012e-07, + 1.0578183455772323e-07, + 1.0623650357128844e-07, + 1.0671578783538853e-07, + 1.0722072801246205e-07, + 1.0775237358484719e-07, + 1.0831177815952006e-07, + 1.0889999416500248e-07, + 1.0951806691515654e-07, + 1.1016702802037111e-07, + 1.1084788813389642e-07, + 1.1156162902991049e-07, + 1.1230919502038856e-07, + 1.1309148373004736e-07, + 1.1390933626255135e-07, + 1.1476352680674608e-07, + 1.1565475174880207e-07, + 1.1658361837460882e-07, + 1.1755063326625974e-07, + 1.1855619051662895e-07, + 1.1960055990636597e-07, + 1.2068387520753643e-07, + 1.2180612279692768e-07, + 1.229671307789453e-07, + 1.241665588322205e-07, + 1.2540388900464912e-07, + 1.266784176877233e-07, + 1.279892490018547e-07, + 1.293352898191765e-07, + 1.3071524663843712e-07, + 1.3212762450763565e-07, + 1.3357072816381685e-07, + 1.3504266552603417e-07, + 1.3654135363731867e-07, + 1.3806452710530088e-07, + 1.396097490400012e-07, + 1.4117442443262366e-07, + 1.427558158626216e-07, + 1.4435106136372953e-07, + 1.4595719422507394e-07, + 1.4757116445293563e-07, + 1.491898615741996e-07, + 1.5081013842580038e-07, + 1.5242883554706436e-07, + 1.5404280577492604e-07, + 1.5564893863627046e-07, + 1.5724418413737838e-07, + 1.5882557556737633e-07, + 1.603902509599988e-07, + 1.619354728946991e-07, + 1.6345864636268132e-07, + 1.6495733447396582e-07, + 1.6642927183618313e-07, + 1.6787237549236434e-07, + 1.6928475336156287e-07, + 1.706647101808235e-07, + 1.7201075099814528e-07, + 1.7332158231227666e-07, + 1.7459611099535086e-07, + 1.758334411677795e-07, + 1.7703286922105468e-07, + 1.781938772030723e-07, + 1.7931612479246355e-07, + 1.8039944009363402e-07, + 1.8144380948337104e-07, + 1.8244936673374025e-07, + 1.8341638162539117e-07, + 1.8434524825119792e-07, + 1.852364731932539e-07, + 1.8609066373744863e-07, + 1.8690851626995262e-07, + 1.8769080497961143e-07, + 1.884383709700895e-07, + 1.8915211186610358e-07, + 1.898329719796289e-07, + 1.9048193308484345e-07, + 1.911000058349975e-07, + 1.9168822184047993e-07, + 1.922476264151528e-07, + 1.9277927198753794e-07, + 1.9328421216461146e-07, + 1.9376349642871158e-07, + 1.9421816544227676e-07, + 1.9464924693067986e-07, + 1.9505775211016693e-07, + 1.9544467262571043e-07, + 1.9581097796229822e-07, + 1.9615761329267215e-07, + 1.9648549772467147e-07, + 1.9679552291201038e-07, + 1.970885519934181e-07, + 1.9736541882649814e-07, + 1.976269274843357e-07, + 1.9787385198472785e-07, + 1.981069362238646e-07, + 1.98326894088301e-07, + 1.9853440972108507e-07, + 1.9873013791991166e-07, + 1.989147046471265e-07, + 1.9908870763329084e-07, + 1.992527170578155e-07, + 1.9940727629187482e-07, + 1.9955290269040788e-07, + 1.9969008842150277e-07, + 1.998193013228371e-07, + 1.999409857761171e-07, + 2e-07 + ], + "interface_positions_m": [ + 1e-07 + ], + "positive_components": [ + [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30, + 31, + 32, + 33, + 34, + 35, + 36, + 37, + 38, + 39, + 40, + 41, + 42, + 43, + 44, + 45, + 46, + 47, + 48, + 49, + 50, + 51, + 52, + 53, + 54, + 55, + 56, + 57, + 58, + 59, + 60, + 61, + 62, + 63, + 64, + 65, + 66, + 67, + 68, + 69, + 70, + 71, + 72, + 73, + 74, + 75, + 76, + 77, + 78, + 79, + 80, + 81, + 82, + 83, + 84, + 85, + 86, + 87, + 88, + 89, + 90, + 91, + 92, + 93, + 94, + 95, + 96, + 97, + 98, + 99, + 100, + 101, + 102, + 103, + 104, + 105, + 106, + 107, + 108, + 109, + 110, + 111, + 112, + 113, + 114, + 115, + 116, + 117, + 118, + 119, + 120, + 121, + 122, + 123, + 124, + 125, + 126, + 127 + ] + ], + "positive_nodes": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30, + 31, + 32, + 33, + 34, + 35, + 36, + 37, + 38, + 39, + 40, + 41, + 42, + 43, + 44, + 45, + 46, + 47, + 48, + 49, + 50, + 51, + 52, + 53, + 54, + 55, + 56, + 57, + 58, + 59, + 60, + 61, + 62, + 63, + 64, + 65, + 66, + 67, + 68, + 69, + 70, + 71, + 72, + 73, + 74, + 75, + 76, + 77, + 78, + 79, + 80, + 81, + 82, + 83, + 84, + 85, + 86, + 87, + 88, + 89, + 90, + 91, + 92, + 93, + 94, + 95, + 96, + 97, + 98, + 99, + 100, + 101, + 102, + 103, + 104, + 105, + 106, + 107, + 108, + 109, + 110, + 111, + 112, + 113, + 114, + 115, + 116, + 117, + 118, + 119, + 120, + 121, + 122, + 123, + 124, + 125, + 126, + 127 + ], + "widths_m": [ + 5.901422388288336e-11, + 1.2168445327999375e-10, + 1.2921290133435793e-10, + 1.3718573109489092e-10, + 1.456263985330553e-10, + 1.5455923405930657e-10, + 1.6400942452466372e-10, + 1.7400298616433713e-10, + 1.8456672721482707e-10, + 1.9572819882658635e-10, + 2.0751563278408056e-10, + 2.1995786443639556e-10, + 2.330842391367742e-10, + 2.4692450039214606e-10, + 2.615086578375502e-10, + 2.768668330800304e-10, + 2.930290814077334e-10, + 3.1002518733890237e-10, + 3.2788443199932904e-10, + 3.4663533037393737e-10, + 3.6630533658778285e-10, + 3.869205155434871e-10, + 4.0850517948706975e-10, + 4.310814884031017e-10, + 4.546690135652088e-10, + 4.79284264100096e-10, + 5.049401770735207e-10, + 5.316455723851334e-10, + 5.594045746728763e-10, + 5.882160054824251e-10, + 6.180727501540692e-10, + 6.489611052145571e-10, + 6.808601135253143e-10, + 7.137408960140655e-10, + 7.47565990478061e-10, + 7.822887096588038e-10, + 8.178525325040014e-10, + 8.54190544194725e-10, + 8.912249420559998e-10, + 9.288666258067398e-10, + 9.670148916509131e-10, + 1.005557250369215e-09, + 1.0443693897370093e-09, + 1.0833153011705004e-09, + 1.1222475893912312e-09, + 1.1610079820176118e-09, + 1.1994280532751899e-09, + 1.23733017242863e-09, + 1.2745286830742073e-09, + 1.3108313141313866e-09, + 1.3460408173217914e-09, + 1.3799568192605954e-09, + 1.4123778691985396e-09, + 1.443103656181209e-09, + 1.4719373622173193e-09, + 1.4986881112844911e-09, + 1.523173467982208e-09, + 1.5452219347003404e-09, + 1.5646753926224425e-09, + 1.5813914299979714e-09, + 1.5952455011079117e-09, + 1.6061328613443997e-09, + 1.6139702278616839e-09, + 1.6186971212639917e-09, + 1.6202768516007768e-09, + 1.6186971212639917e-09, + 1.6139702278616839e-09, + 1.6061328613443997e-09, + 1.5952455011079117e-09, + 1.5813914299979714e-09, + 1.5646753926224425e-09, + 1.5452219347003404e-09, + 1.523173467982208e-09, + 1.4986881112844845e-09, + 1.4719373622173193e-09, + 1.4431036561812155e-09, + 1.4123778691985462e-09, + 1.379956819260592e-09, + 1.346040817321788e-09, + 1.31083131413138e-09, + 1.2745286830742205e-09, + 1.2373301724286366e-09, + 1.19942805327517e-09, + 1.1610079820176184e-09, + 1.1222475893912378e-09, + 1.083315301170507e-09, + 1.0443693897369927e-09, + 1.0055572503692116e-09, + 9.670148916509198e-10, + 9.288666258067464e-10, + 8.91224942055985e-10, + 8.541905441947299e-10, + 8.178525325039981e-10, + 7.822887096588004e-10, + 7.475659904780676e-10, + 7.137408960140556e-10, + 6.808601135253242e-10, + 6.48961105214567e-10, + 6.180727501540659e-10, + 5.882160054824152e-10, + 5.59404574672873e-10, + 5.316455723851383e-10, + 5.049401770735323e-10, + 4.792842641000936e-10, + 4.546690135651964e-10, + 4.3108148840310337e-10, + 4.0850517948706727e-10, + 3.869205155434962e-10, + 3.663053365877845e-10, + 3.4663533037393406e-10, + 3.278844319993274e-10, + 3.1002518733890444e-10, + 2.930290814077417e-10, + 2.7686683308002504e-10, + 2.6150865783754524e-10, + 2.46924500392156e-10, + 2.3308423913676347e-10, + 2.1995786443640466e-10, + 2.0751563278407477e-10, + 1.9572819882657477e-10, + 1.845667272148283e-10, + 1.740029861643485e-10, + 1.6400942452466144e-10, + 1.545592340593227e-10, + 1.4562639853305157e-10, + 1.3718573109488172e-10, + 1.2921290133435225e-10, + 1.8069867716288167e-10, + 1.8069867716288167e-10, + 1.2921290133435225e-10, + 1.3718573109489495e-10, + 1.4562639853305157e-10, + 1.5455923405930946e-10, + 1.6400942452466144e-10, + 1.740029861643485e-10, + 1.845667272148283e-10, + 1.9572819882657477e-10, + 2.0751563278407477e-10, + 2.1995786443640466e-10, + 2.3308423913676347e-10, + 2.46924500392156e-10, + 2.6150865783754524e-10, + 2.7686683308002504e-10, + 2.930290814077417e-10, + 3.1002518733890444e-10, + 3.278844319993274e-10, + 3.4663533037393406e-10, + 3.663053365877845e-10, + 3.8692051554348296e-10, + 4.085051794870805e-10, + 4.3108148840310337e-10, + 4.5466901356520963e-10, + 4.792842641000936e-10, + 5.04940177073519e-10, + 5.316455723851383e-10, + 5.59404574672873e-10, + 5.882160054824152e-10, + 6.180727501540659e-10, + 6.48961105214567e-10, + 6.808601135253109e-10, + 7.137408960140689e-10, + 7.475659904780676e-10, + 7.822887096588004e-10, + 8.178525325039981e-10, + 8.541905441947299e-10, + 8.91224942055985e-10, + 9.288666258067464e-10, + 9.670148916509198e-10, + 1.0055572503692116e-09, + 1.0443693897370192e-09, + 1.0833153011704673e-09, + 1.122247589391251e-09, + 1.1610079820176184e-09, + 1.1994280532751965e-09, + 1.2373301724286234e-09, + 1.2745286830741808e-09, + 1.3108313141314065e-09, + 1.346040817321788e-09, + 1.3799568192606186e-09, + 1.412377869198533e-09, + 1.4431036561812023e-09, + 1.4719373622173193e-09, + 1.4986881112844977e-09, + 1.523173467982208e-09, + 1.545221934700314e-09, + 1.564675392622469e-09, + 1.5813914299979515e-09, + 1.5952455011079183e-09, + 1.606132861344413e-09, + 1.6139702278616839e-09, + 1.6186971212639851e-09, + 1.6202768516007636e-09, + 1.6186971212639851e-09, + 1.6139702278616839e-09, + 1.606132861344413e-09, + 1.5952455011079183e-09, + 1.5813914299979515e-09, + 1.564675392622469e-09, + 1.545221934700314e-09, + 1.523173467982208e-09, + 1.4986881112844977e-09, + 1.4719373622173193e-09, + 1.4431036561812023e-09, + 1.412377869198533e-09, + 1.3799568192606186e-09, + 1.346040817321788e-09, + 1.31083131413138e-09, + 1.2745286830742073e-09, + 1.2373301724286234e-09, + 1.1994280532751965e-09, + 1.1610079820176184e-09, + 1.122247589391251e-09, + 1.0833153011704673e-09, + 1.0443693897370192e-09, + 1.0055572503692116e-09, + 9.670148916509198e-10, + 9.288666258067464e-10, + 8.91224942055985e-10, + 8.541905441947299e-10, + 8.178525325039848e-10, + 7.822887096588137e-10, + 7.475659904780676e-10, + 7.137408960140821e-10, + 6.808601135253109e-10, + 6.489611052145538e-10, + 6.180727501540659e-10, + 5.882160054824152e-10, + 5.59404574672873e-10, + 5.316455723851383e-10, + 5.04940177073519e-10, + 4.7928426410012e-10, + 4.5466901356518316e-10, + 4.3108148840310337e-10, + 4.0850517948706727e-10, + 3.869205155434962e-10, + 3.6630533658779774e-10, + 3.4663533037392083e-10, + 3.278844319993274e-10, + 3.1002518733890444e-10, + 2.930290814077152e-10, + 2.768668330800515e-10, + 2.6150865783754524e-10, + 2.46924500392156e-10, + 2.3308423913676347e-10, + 2.1995786443639143e-10, + 2.0751563278407477e-10, + 1.95728198826588e-10, + 1.845667272148283e-10, + 1.740029861643485e-10, + 1.6400942452466144e-10, + 1.545592340593227e-10, + 1.4562639853305157e-10, + 1.3718573109489495e-10, + 1.29212901334339e-10, + 1.2168445327999169e-10, + 5.901422388288999e-11 + ] + }, + "history": { + "duration_reason": "certified equilibrium, not finite-time preparation", + "duration_s": null, + "illuminated": false, + "kind": "independent_D_dark_dc", + "temperature_K": 300.0, + "voltage_V": 0.0 + }, + "intervals": 256, + "kind": "equilibrium_D", + "physical_stack": { + "Phi": 0.0, + "S_n_left": null, + "S_n_right": null, + "S_p_left": null, + "S_p_right": null, + "T": 300.0, + "V_bi": 1.1, + "band_grading": false, + "built_in_potential_mode": "semiconductor_work_function", + "contact_phi_B_eV": 0.0, + "dos_band_potentials": true, + "flat_band_contacts": false, + "flat_band_metal_contacts": false, + "graded_optics": false, + "grid_alphas": [ + 2.0, + 2.0 + ], + "grid_interval_weights": [ + 1.0, + 1.0 + ], + "het_recomb_despike": 0.0, + "interface_charge_closure": "equilibrium_referenced", + "interface_charge_rebaseline_acknowledged": true, + "interface_defects": [ + { + "E_t_eV": 0.55, + "N_t_cm2": 50000000000.0, + "calibration_factor": 1.0, + "iface_state_calibration_factor": 1.0, + "microscopic_document": { + "charge_convention": "equilibrium_referenced_electron_occupancy", + "degeneracy": 1.0, + "density_normalization": "integrated_areal_total", + "energy_reference": "below_reference_conduction_band", + "kinetics": { + "sigma_n_m2": 6e-22, + "sigma_p_m2": 1e-21, + "thermal_velocity_n_m_s": 100000.0, + "thermal_velocity_p_m_s": 100000.0 + }, + "reference_selection": "absorber_else_lower_gap", + "schema_version": "solarlab-explicit-interface-defects-v1", + "total_density_m2": 500000000000000.0, + "trap_depth_eV": 0.55 + } + } + ], + "interface_plane_closure": false, + "interface_plane_generation": false, + "interface_plane_projection": false, + "interface_shared_occupancy": false, + "interface_tunneling": false, + "interface_two_sided": false, + "interfaces": [ + [ + 0.03, + 0.049999999999999996 + ] + ], + "ion_steric_diffusion_only": true, + "ion_steric_shared_site": true, + "jv_solver_policy": "general", + "layers": [ + { + "name": "left", + "params": { + "A_star_n": 1201700.0, + "A_star_p": 1201700.0, + "B_rad": 0.0, + "B_rad_T_gamma": 0.0, + "C_n": 0.0, + "C_p": 0.0, + "D_ion": 1e-14, + "D_ion_neg": 0.0, + "E_a_ion": 0.58, + "Eg": 1.5, + "Eg_back": null, + "N_A": 0.0, + "N_A_bulk": null, + "N_D": 0.0, + "N_D_bulk": null, + "Nc300": 1e+25, + "Nv300": 1e+25, + "P0": 1e+22, + "P0_neg": 0.0, + "P_lim": 2e+22, + "P_lim_neg": 1e+30, + "acceptor_binding_energy_eV": null, + "acceptor_degeneracy": 4.0, + "alpha": 0.0, + "band_gap_narrowing_model": "off", + "bgn_conduction_band_fraction": 0.5, + "bgn_log_shape": 0.5, + "bgn_reference_density_m3": 1e+23, + "bgn_reference_energy_eV": 0.009, + "bulk_defects": [], + "bulk_trap_distribution": null, + "carrier_statistics": "maxwell_boltzmann", + "chi": 4.0, + "chi_back": null, + "cigs_graded_optics": null, + "ct_beta_n": 2.0, + "ct_beta_p": 2.0, + "defect_model": "effective_lifetime", + "defect_schema_version": null, + "donor_binding_energy_eV": null, + "donor_degeneracy": 2.0, + "dopant_ionization_model": "fully_ionized", + "doping_decay_length": null, + "doping_edge": "front", + "doping_profile_shape": null, + "eps_r": 10.0, + "grading_N_mult": 1, + "grading_bowing": 0.0, + "grading_char_length": null, + "grading_direction": "front_to_back", + "grading_profile": "linear", + "incoherent": false, + "mu_T_gamma": -1.5, + "mu_n": 0.001, + "mu_p": 0.001, + "n1": 2515095827087.2183, + "n_optical": null, + "ni": 2515095827087.2183, + "optical_material": null, + "p1": 2515095827087.2183, + "pf_gamma_n": 0.0, + "pf_gamma_p": 0.0, + "tau_n": 1e-06, + "tau_p": 1e-06, + "trap_N_t_bulk": null, + "trap_N_t_interface": null, + "trap_decay_length": null, + "trap_edge": "both", + "trap_profile_shape": "exponential", + "v_sat_n": 0.0, + "v_sat_p": 0.0, + "v_th": 100000.0, + "varshni_alpha": 0.0, + "varshni_beta": 0.0 + }, + "role": "absorber", + "thickness": 1e-07 + }, + { + "name": "right", + "params": { + "A_star_n": 1201700.0, + "A_star_p": 1201700.0, + "B_rad": 0.0, + "B_rad_T_gamma": 0.0, + "C_n": 0.0, + "C_p": 0.0, + "D_ion": 0.0, + "D_ion_neg": 0.0, + "E_a_ion": 0.58, + "Eg": 1.5, + "Eg_back": null, + "N_A": 0.0, + "N_A_bulk": null, + "N_D": 0.0, + "N_D_bulk": null, + "Nc300": 1e+25, + "Nv300": 1e+25, + "P0": 1e+22, + "P0_neg": 0.0, + "P_lim": 2e+22, + "P_lim_neg": 1e+30, + "acceptor_binding_energy_eV": null, + "acceptor_degeneracy": 4.0, + "alpha": 0.0, + "band_gap_narrowing_model": "off", + "bgn_conduction_band_fraction": 0.5, + "bgn_log_shape": 0.5, + "bgn_reference_density_m3": 1e+23, + "bgn_reference_energy_eV": 0.009, + "bulk_defects": [], + "bulk_trap_distribution": null, + "carrier_statistics": "maxwell_boltzmann", + "chi": 4.1, + "chi_back": null, + "cigs_graded_optics": null, + "ct_beta_n": 2.0, + "ct_beta_p": 2.0, + "defect_model": "effective_lifetime", + "defect_schema_version": null, + "donor_binding_energy_eV": null, + "donor_degeneracy": 2.0, + "dopant_ionization_model": "fully_ionized", + "doping_decay_length": null, + "doping_edge": "front", + "doping_profile_shape": null, + "eps_r": 10.0, + "grading_N_mult": 1, + "grading_bowing": 0.0, + "grading_char_length": null, + "grading_direction": "front_to_back", + "grading_profile": "linear", + "incoherent": false, + "mu_T_gamma": -1.5, + "mu_n": 0.001, + "mu_p": 0.001, + "n1": 2515095827087.2183, + "n_optical": null, + "ni": 2515095827087.2183, + "optical_material": null, + "p1": 2515095827087.2183, + "pf_gamma_n": 0.0, + "pf_gamma_p": 0.0, + "tau_n": 1e-06, + "tau_p": 1e-06, + "trap_N_t_bulk": null, + "trap_N_t_interface": null, + "trap_decay_length": null, + "trap_edge": "both", + "trap_profile_shape": "exponential", + "v_sat_n": 0.0, + "v_sat_p": 0.0, + "v_th": 100000.0, + "varshni_alpha": 0.0, + "varshni_beta": 0.0 + }, + "role": "ETL", + "thickness": 1e-07 + } + ], + "microstructure": { + "grain_boundaries": [] + }, + "mode": "full", + "phi_left": 0.0, + "te_physical_norm": false, + "tunnel_mass_eff": 0.2, + "tunnelling_channels": null, + "work_function_left_eV": null, + "work_function_right_eV": null + }, + "preparation_checks": { + "certified": true, + "limits": { + "dc_current_spread_A_m2": 0.0001, + "electron_continuity_A_m2": 0.0001, + "electron_normalized_residual": 1e-08, + "eliminated_operator_error": 1e-06, + "full_gauss_normalized": 1e-10, + "hole_continuity_A_m2": 0.0001, + "hole_normalized_residual": 1e-08, + "inventory_relative_error": 1e-10, + "ion_equilibrium_residual": 1e-08, + "ionic_face_current_A_m2": 1e-06, + "local_carrier_residual": 1e-07, + "local_gauss_residual": 1e-07, + "nominal_inventory_relative_error": 1e-12, + "poisson_normalized": 1e-10, + "trap_storage_rate_A_m2": 0.0001 + }, + "metrics": { + "dc_current_spread_A_m2": 1.3889259914015138e-14, + "electron_continuity_A_m2": 1.0795086765555791e-14, + "electron_normalized_residual": 1.0528141922855997e-14, + "eliminated_operator_error": 1.4595298513727765e-09, + "full_gauss_normalized": 4.7154051946793595e-15, + "hole_continuity_A_m2": 7.86112319977504e-15, + "hole_normalized_residual": 7.780168835525373e-15, + "inventory_relative_error": 0.0, + "ion_equilibrium_residual": 1.3500311979441904e-13, + "ionic_face_current_A_m2": 7.415222481500275e-15, + "local_carrier_residual": 3.8089989274544757e-13, + "local_gauss_residual": 4.2147361889294314e-16, + "nominal_inventory_relative_error": 1.1102230246251565e-16, + "poisson_normalized": 5.857151137313752e-14, + "trap_storage_rate_A_m2": 1.434842054958504e-24 + }, + "reasons": [] + }, + "preparation_controls": { + "nu_I": 1, + "nu_t": 1 + }, + "preparation_policy": { + "carrier_storage_atol_m3": 0.1, + "dc_max_nfev": 1000, + "interface_algebraic_relative_tolerance": 1.0000000000000001e-11, + "interface_flux_atol_m2_s": 0.1, + "interface_gauss_atol_C_m2": 1.0000000000000001e-19, + "interface_potential_atol_V": 1e-15, + "interface_storage_atol_m2": 0.1, + "ion_storage_atol_m3": 0.1, + "jacobian_check_step": 1e-06, + "maximum_all_face_current_spread_relative": 2e-06, + "maximum_charge_balance_relative_error": 1e-10, + "maximum_current_decomposition_relative_error": 1e-14, + "maximum_dc_continuity_bound_A_m2": 0.0001, + "maximum_dc_face_current_spread_A_m2": 0.0001, + "maximum_dc_inventory_error": 1e-10, + "maximum_dc_ionic_face_current_A_m2": 1e-06, + "maximum_dc_normalized_residual": 1e-08, + "maximum_dc_poisson_residual": 1e-08, + "maximum_eliminated_operator_relative_error": 1e-06, + "maximum_ion_inventory_relative_drift": 1e-10, + "maximum_jacobian_column_relative_error": 0.0003, + "maximum_line_search_steps": 40, + "maximum_local_carrier_normalized_residual": 1e-07, + "maximum_local_gauss_normalized_residual": 1e-07, + "maximum_near_acceptance_nonmonotone_steps": 2, + "maximum_newton_iterations": 100, + "maximum_refinement_current_relative_change": 0.05, + "maximum_refinement_state_change": 0.02, + "maximum_scaled_nonlinear_residual": 0.05, + "maximum_two_sided_interface_total_current_relative_error": 2e-06, + "poisson_atol_C_m2": 1.0000000000000001e-19, + "poisson_relative_tolerance": 1.0000000000000001e-11, + "refinement_substeps": [ + 1, + 2, + 4 + ], + "site_occupancy_ceiling": 0.999, + "storage_relative_tolerance": 1.0000000000000002e-10 + }, + "qf_references_V": { + "electron": [ + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.2618392666917075, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.2618392666917075, + -3.2618392666917075, + -3.261839266691707, + -3.2618392666917075, + -3.2618392666917075, + -3.261839266691707, + -3.2618392666917075, + -3.2618392666917075, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.2618392666917067, + -3.2618392666917075, + -3.2618392666917067, + -3.2618392666917075, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.2618392666917075, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.2618392666917075, + -3.261839266691707, + -3.2618392666917075, + -3.261839266691707, + -3.2618392666917075, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.2618392666917075, + -3.261839266691707, + -3.2618392666917075, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.2618392666917075, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.2618392666917067, + -3.261839266691707, + -3.261839266691707, + -3.2618392666917075, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.2618392666917075, + -3.261839266691707, + -3.2618392666917075, + -3.2618392666917075, + -3.2618392666917075, + -3.261839266691707, + -3.2618392666917075, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.2618392666917075, + -3.2618392666917075, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.2618392666917075, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.2618392666917075, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.2618392666917075, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.2618392666917075, + -3.2618392666917067, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.2618392666917075, + -3.2618392666917075, + -3.2618392666917075, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.2618392666917075, + -3.261839266691707, + -3.2618392666917075, + -3.2618392666917075, + -3.2618392666917075, + -3.2618392666917075, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.2618392666917075, + -3.2618392666917067, + -3.2618392666917075, + -3.2618392666917075, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.2618392666917075, + -3.2618392666917075, + -3.261839266691707, + -3.2618392666917075, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.2618392666917075, + -3.261839266691707, + -3.261839266691707, + -3.2618392666917075, + -3.261839266691707, + -3.261839266691707, + -3.2618392666917075, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.2618392666917075, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.2618392666917075, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.2618392666917075, + -3.2618392666917075, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.2618392666917075, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.2618392666917075, + -3.2618392666917067, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.2618392666917075, + -3.2618392666917075, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.2618392666917075, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.2618392666917075, + -3.261839266691707, + -3.2618392666917075, + -3.261839266691707, + -3.2618392666917075, + -3.2618392666917067, + -3.2618392666917075, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.2618392666917075, + -3.261839266691707, + -3.2618392666917075, + -3.2618392666917075, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.2618392666917067, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707 + ], + "hole": [ + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308294, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308294, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308294, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308294, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308294, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308294, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308294, + 6.238160733308294, + 6.238160733308294, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308294, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308294, + 6.238160733308294, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308294, + 6.238160733308293, + 6.238160733308294, + 6.238160733308294, + 6.238160733308294, + 6.238160733308294, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308294, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308294, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308294, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308294, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308294, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308294, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308294, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308294, + 6.238160733308293, + 6.238160733308293, + 6.238160733308294, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308294, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308294, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308294, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308294, + 6.238160733308293 + ] + }, + "reference_sha256": "0a6532a436dd07e6b27f01da3fc39aef906e6fd882057f0109c1bc5bdf77e39b", + "schema": "R1CommonStateV1", + "sha256": "21a2c38e6639dbae0d07bdf59e0184b10518f5ed955467b5e5de88038f86ecd4", + "source": { + "files": { + "__init__.py": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", + "_compat/__init__.py": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", + "_compat/numpy_compat.py": "7ffad9557713ecbbf191d8e684d56c55cdcac029b2b2448077a5bafdd5747d50", + "_compat/scipy_shim.py": "33ce6c210cd8101db695350a227d6886f99bdaf5acce5e0e4984b3cad2cd1fa3", + "constants.py": "9ae428b44bbe5f475b638d9c3339e69930249e2b1c39ba0acbfd0764fcaade76", + "data/__init__.py": "60cca7d1762c831541e6c5b744668e8550d846f807be868cefcff5805a46a1b6", + "discretization/__init__.py": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", + "discretization/fe_operators.py": "b3ab0cf0054d5aa1ec7e5fcd27b93d2ed09b137d043080a0310a219d3ff1154f", + "discretization/grid.py": "7d3ff321c2609efd51a41f29fc7936ba09914ff684f25322a11b8776cf96bfbb", + "experiments/__init__.py": "e060aec00c05f70d1dc2d433f9c0d922b59ac2da788ffe7fb6dd2bdfb16bad76", + "experiments/band_diagram.py": "6c413f63586280e9fd768944e525169f54ab07301efdcc60a2b01cafde8aa2e3", + "experiments/bulk_defect_ion_transient.py": "8ca8b0e93eb8b26efed35acee8da8fb9d3f6b35fdaeeac0ff7b2d8764c7e13c3", + "experiments/bulk_defect_transient.py": "f8974270a92f5b5aa0564dd748dac870b693c0dac087d8486c77a72a94bff2fd", + "experiments/cbo_scan.py": "23fbf41f3cfa8aea669bc914d5334b873f3cc0b3edd9a308a52bc432afc27a6a", + "experiments/dark_jv.py": "7dd01ad1fe88fb0ac2d8d69722aebe8ec5d2cdedd2f5c0f149bad2477759540c", + "experiments/defect_aware_impedance.py": "7a885ca595e18faad97580730d99280db00c6aacb0b41da41ceecc12ab323600", + "experiments/defect_ion_combined_impedance.py": "026c14f5e56cb1fa3ad0658535248fb022b0e69e66198c67a802bc62aa4a2038", + "experiments/degradation.py": "bc5366e74e4d95f69bcb995b134aefa64355850482ae1bd442c4b713bcca5e20", + "experiments/dynamic_defect_impedance.py": "001cc1766638312035f63ffe7a337facec11f1373ec5fae0707f8b28af0bfb28", + "experiments/dynamic_defect_transient.py": "393424b5a45726f801e43c16eabeebd950ee8091ef8bbf10c9ef36855eb03ac4", + "experiments/el_spectrum.py": "ed1244ae4b0247522a9a0e0b1a97a80f27fc7bf588e46d51fd8cc5571439520c", + "experiments/electrothermal.py": "a9c3c142335afb0fe49346858a8a77ea79103e89af4d73045d0e4024085a6d9f", + "experiments/eqe.py": "dfcfc051af754ccb58c126728ee80b3bcde86c2c1637ccd0eae3e92d5caf7f99", + "experiments/external_circuit.py": "0f2a6fa803686536e5626a5144b780012242feed86de44550bcfc12d7b13dec5", + "experiments/identifiability.py": "fec82a43d7da9e29f0ca43441511e5dcae51c8384f0f0eeac338ff7ad9302f88", + "experiments/impedance.py": "bc77a24eb7a2eed0ed8cc4a3c3f374378a5654d2906dd88622fe8b5fb19bc11f", + "experiments/impedance_frequency.py": "a60788b03a859df4529bd67eec5ea1b967c55014063d80a26d706e169c6d9ba8", + "experiments/interface_charge_jv.py": "fd8cd5a4776d27e753c959a395f78829fadaeb6bb883098f2e7d8d9642b2c446", + "experiments/interface_defect_aware_impedance.py": "ce8efd94278348e7e05745c59648407c1eed75ba137e8a07c26ac9ea71f5a05f", + "experiments/interface_defect_ion_transient.py": "8c3298a7b5a1b500a175a7687c33248efeb1a8a36794ffac5a4986a02b22a573", + "experiments/interface_defect_transient.py": "1858344ffce785e22837c53f5cb0bdceb332666fb26e883bd54b135fdbc27efb", + "experiments/ion_aware_analytic_reaction.py": "213474f49d2b735c1a96d89974021dbf9c35cb9488b2eb741337fd16aae7c22c", + "experiments/ion_aware_analytic_transport.py": "072498cc475ceb5bad0f7fc8bc1c60c050efd3e6d2a5cced96288ea2d77755f1", + "experiments/ion_aware_dc.py": "c3d72e92929e2485c41f2f282e58082ea5415f1ffba176edcd08939d9344f798", + "experiments/ion_aware_impedance.py": "74af302cd7a071e69d60b01d07371ac0e8ad9036c1ec4063175c442e25b01892", + "experiments/ion_aware_impedance_grid.py": "f43cb2c7003f230012da25a3cae228bdd37c49a6707a0ad0f75e5d0b967baf5b", + "experiments/ion_aware_impedance_lockin.py": "8796d2885e7ae3114a6e82afab5edb2f41e78d87345fb3ff282605b88a70053b", + "experiments/ion_aware_structured_jacobian.py": "c4b6e6953600bcf1f511717c897dc8af9a390e18501091143c18470b086d82e9", + "experiments/jv_sweep.py": "428fbe1c421192e2495ac94fa171df42f2be94dca7733b7a5ab2e07a9628ef96", + "experiments/metastable_preparation.py": "cd7efc45fb80d64aa4c669b2752e80cf294a0a7e523791de4fa958839d9d0ff8", + "experiments/metastable_transient.py": "1579c39f88f6c0df5b69272bd26d01ad949ef591312ca28df3db93338727db1b", + "experiments/mott_schottky.py": "862b0dcadddd5b2097f313dd64b01e0d49b54219109d510f1cab71ac5d8e280b", + "experiments/one_dimensional_mechanism_r1.py": "637bc790dc09ec0632b733bc72e3fdcacf20dc017efc88a8fafed7dd927fb116", + "experiments/one_dimensional_mechanism_r1_admittance.py": "4b1d7ec8961d75a883fc03a7f87c807f36670262921004c0def3af8185703c72", + "experiments/one_dimensional_mechanism_r1_backend.py": "630c2a686547e269ee406ba301bb44b078de0c2a939ab5f377784d4bf77badb9", + "experiments/one_dimensional_mechanism_r1_baseline_electrostatics.py": "e902d51d33e407357b9a8b2eec7738604f9d975c5082c46a7c87fd481c45c0ac", + "experiments/one_dimensional_mechanism_r1_baseline_initial.py": "0878c56a738f64cc51c5ad8907c02650132a31721f278b3faf2a8d12db909b77", + "experiments/one_dimensional_mechanism_r1_binding.py": "376ce06d1fa83e8c99bd5f69a22eb9778d903c6f20a755078a6a68c0aa562417", + "experiments/one_dimensional_mechanism_r1_checkout.py": "0ed9fcfbc10a3b6cf44233594fe9c31622fe7a5ae9b3fa0ccf9b71785afd97a5", + "experiments/one_dimensional_mechanism_r1_convergence.py": "a8e2b9738d551a5b5132cc3d99b57e534a0c5b5d4f7ab94e24f4c464406f1ca8", + "experiments/one_dimensional_mechanism_r1_dynamics.py": "64d2fbb4bbae8e8e1b887f5ca0e8fd312d4b5cb5bd1faa5ecf31909048f995af", + "experiments/one_dimensional_mechanism_r1_evidence.py": "4f36080be9a878e6f0cb7be3ebdfdede78a897e34e3912b47a249e607eb04a07", + "experiments/one_dimensional_mechanism_r1_execution_validation.py": "4b8615e0035e6bf338731183a2bd1ffb613853dae720e6719ecc9dbd9cac3371", + "experiments/one_dimensional_mechanism_r1_failure_reconstruction.py": "2d6e23142c8586d42f4adf67fb22731eaf2efaacf6cda685df696a32f5d78ecd", + "experiments/one_dimensional_mechanism_r1_failure_registry.py": "64abad5af4500a9becc2ea36de36b5905a7710a849221ce8a941dbb6498c6a77", + "experiments/one_dimensional_mechanism_r1_failure_witness.py": "de74434dfc6368a86642a789befbe1dbcdc17c7ca726e237c3328c19b1876d4c", + "experiments/one_dimensional_mechanism_r1_global_reference.py": "f5ba16b4778827f1321384e3497b73d1cf574e0dfdac93eab09bd49fef2331bd", + "experiments/one_dimensional_mechanism_r1_history.py": "2921971011ba1aceaf105ffbeceb31f3eb533883d73704293ddf247a631eaad7", + "experiments/one_dimensional_mechanism_r1_independent_physics.py": "03db33ccf1005c5afa0cad6b86acae52bd60e11c0d36a7df68a7bbdc3f4cbdad", + "experiments/one_dimensional_mechanism_r1_independent_regular.py": "af4ff60f6e6a573e41a0fb885a5f019ee6c48461f99f0d341058c444a99500b9", + "experiments/one_dimensional_mechanism_r1_input_lift.py": "65f85c06a38be9cd41ec3ef344af34d1baeb300a012c47df71ab5d658b9e821f", + "experiments/one_dimensional_mechanism_r1_input_lift_codec.py": "db2ef01419458819ef006488c7924944b6065174ca1c02da24288a66e440f299", + "experiments/one_dimensional_mechanism_r1_input_lift_continuous.py": "5d76a2cdb27ab4188e2663fd09d08b1cf6e4c936f455cf615fd98da5113036a4", + "experiments/one_dimensional_mechanism_r1_input_lift_reference.py": "a566ad00c277b1792b61322ab4daa2d2c8a45070bb40b6a4f6de7bb2ba16b0e8", + "experiments/one_dimensional_mechanism_r1_local_carrier.py": "c6ace0463271ec3d6222300c55d707a61e1cceed1cca5c4b2f869f466cae7ce7", + "experiments/one_dimensional_mechanism_r1_pair_codec.py": "a2c23d94bdc0023ef24777613e6e5af70867bbd1759071381d64bdd47446b912", + "experiments/one_dimensional_mechanism_r1_pair_response.py": "a3a8bbba73ede8e23c7d29794bbd9fb28de6138de99f9fb6d7437ef9884a8da5", + "experiments/one_dimensional_mechanism_r1_pair_spatial.py": "33159889475b12bd7d7f29ba8d0a6cdd6fd8fc91c5c77c5eacc4a6f5392f53fb", + "experiments/one_dimensional_mechanism_r1_physics_validation.py": "6dd8d4e4fcc22697db717bff075ed1a2f875141cc3396280e7f38e34209f5af7", + "experiments/one_dimensional_mechanism_r1_precision.py": "aebb040ed5f1319e5541f9104886160a0cd2f63b1ccdd366d9de1739a8e71395", + "experiments/one_dimensional_mechanism_r1_precision_initial.py": "7350e1bf4bf2c1d14c36b22bd60ec9b844c8b558030c99332489d310af051c17", + "experiments/one_dimensional_mechanism_r1_precision_physics.py": "c5353e6aff99888175bbce038d6787bd97385526aa228089253350da1fcc657a", + "experiments/one_dimensional_mechanism_r1_precision_state.py": "1c31475237b2733a6c2d319f34c30bec35277b3fb671cf2f1c993ad42a7e9b1e", + "experiments/one_dimensional_mechanism_r1_protocol.py": "7b053566d7931c7e16fe60ed46fabd9ca9a6c82461bc6116348ceb69dc8d4974", + "experiments/one_dimensional_mechanism_r1_qualification.py": "deb20769c349ad495a5f30f4c2420c1b1fedf495581063e832de9ea7d07e9715", + "experiments/one_dimensional_mechanism_r1_qualification_workflow.py": "bb4057871e5f535f69c10050a19f1f086709caf89797087be7354b862e11fca3", + "experiments/one_dimensional_mechanism_r1_replay_receipt.py": "be0831fca8efe0ad1fab2dda20c93f8a2db07cc6df9239f794c6ce53de6c2ee1", + "experiments/one_dimensional_mechanism_r1_response.py": "46c25ab45885c1ed966dc58ee044d55b66ef69070b90184310fc5682670d7b51", + "experiments/one_dimensional_mechanism_r1_result_contract.py": "5c004525405ed95e4e277e516ff3a95a8009bea230c0e2f5c9ab981000552cd5", + "experiments/one_dimensional_mechanism_r1_result_validation.py": "bd1e025595c6c2bf538b61bf71af5b4bbecbf89aa5f5fe799c0307a08d213450", + "experiments/one_dimensional_mechanism_r1_run_record.py": "b51679bc00233a7bd4a5bcda46c61391bb0409aaa8eb4b5953bd2a0f5ed39997", + "experiments/one_dimensional_mechanism_r1_spatial.py": "25f324db38057202e00f1c4d9cd09e201bdc502b4234c7e7257b95424eac83d0", + "experiments/one_dimensional_mechanism_r1_standard.py": "73669da8d7f08184dea9e89f19c79442d6032b9ffa1769da449ceaf8da677cba", + "experiments/one_dimensional_mechanism_r1_state.py": "49bca65cf639024599781bead35db5524e5d61429efdc92bfb84e742af99422f", + "experiments/one_dimensional_mechanism_r1_step.py": "448d03cf4fd62dcd7f18dc6db5d90634b9650848d2dd31fa2b3fabe9cf1ff44b", + "experiments/one_dimensional_mechanism_r1_study_request.py": "2697b42197b9d80f78e1b3ddd0dfa697519ac8857a1553eb9e818a7f284b85ee", + "experiments/one_dimensional_mechanism_r1_study_response.py": "efbc793159c28bc12be9cb44e6ce3e5327fbc04f6eb7bbd186f35c68b4f3aa63", + "experiments/one_dimensional_mechanism_r1_window.py": "977279c8fded7555f0fc8a879e13fd29c908010e8633640f78500ee9042d7fac", + "experiments/open_circuit.py": "f02036a172b26ebc7723e350ace7d9a91fc07b7bc04ed7d638d39da54feef798", + "experiments/protocol.py": "427d372bd2b28bc2c9b6b924ea4cafa42e7315decf5385664f74bcb19137beef", + "experiments/quasi_fermi_impedance.py": "dbac8e42fc31bc3ba1d42aaa755100b99a627c04667910f6eff2452ee5359e22", + "experiments/quasi_fermi_steady_state.py": "f8fc4b1f4274fd154e956b42d2d0d715c4b8045ec84ee50de2798023e5b14fc4", + "experiments/steady_state.py": "55580e14e075de0596e2a8e6e55e0a16f2c9581be380f2bb3bacbae2b5d1edbd", + "experiments/suns_voc.py": "6bea3aa6645d9cb1d68786f3dbe6aa02d39bef81664f575eff2d43b9c694c887", + "experiments/tandem_jv.py": "d13960a2114863df754d8102be1c1d098d52d9f7ede1f97c9556b50ad653bff3", + "experiments/thermal_balance.py": "987516eaef3fa53c96b544e02637076f21478951ecce193441f5b33696b8bcb6", + "experiments/tpv.py": "4827229c6e7dba18e339ce44611eac3152f9e6b1bdd63de237f17ebc61766cb8", + "experiments/trap_small_signal.py": "de614e89798d08a7b067bef26bacc68ca6c8dbcfe71f64c3d4ec2e779033b8c1", + "experiments/voc_t.py": "2ac2c4648a009659879a5a4f0a45b2649140541477ece69d36b2a2d0e5529703", + "experiments/waveform_jacobian.py": "dbf0f40dc191c75a35d01575c27db0e46daa64af522a6635b4218327c4909226", + "experiments/waveform_jv.py": "cac7648c136190db6bca65697cdb3200ab7b57e81787736a67d706cda333d1e7", + "models/__init__.py": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", + "models/config_loader.py": "f25dd749fec6e2e755cf18d221986efdc323b6f2c22e92ec7297577117442bb2", + "models/current.py": "483c1d91b0b480ef0394f3e6d201a18983928c17410a9ffebbf9510b5cc73627", + "models/defects.py": "0bf3cedd435ff8259fb436bbcfcfa3aa586bdee50f89caba161e162c6913159f", + "models/device.py": "abedb9e39655a5b54997968a7bfa4d1664b7493475dc8e7c55fffa68195330b9", + "models/el.py": "b239391d045dff27ad44ecbe022dbaab337e6d4584600430dc1a454a1fce5f2d", + "models/interface_defects.py": "8d0ad0057410b42bde00d2cdd17a765f94a5f2d95ebe51a1cb815d24553084bd", + "models/mode.py": "7464cf8619401997206fed5b23cded0a361ab6064f6b06a2449fb9f13a700688", + "models/multivalent_defects.py": "dac4f0e32804b59126a16629b4ccb377fb71e79a8b270b43283df851c97256e6", + "models/parameters.py": "0555a6c9280431889b34328bf1e513c7e6d6789368ea858ff3e1ea5a60db7d9d", + "models/spatial.py": "bf64684bff565bc6b26feb49c54ac1b5d2d403df51729f4fb57ddd276307cfb7", + "models/tandem_config.py": "9aaf4e1fb87f43950c96cabe0ac309cd3416673848b80889fc366be32ad2b595", + "models/tpv.py": "af4af1e7f4554ccebdcf20ba5a01db3fb3f5656cb47a3de8ecb33816f9ca0d84", + "models/tunneling_channels.py": "988195babef2c7390bfacd0f849b91a3802abfda3e742332642c1c36a610a114", + "models/voc_t.py": "e7199c3c9af9d3224a8005d32d3037d34dd53c05c53c2e3562ed1b31b1243e68", + "physics/__init__.py": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", + "physics/band_gap_narrowing.py": "ee7fe97002c19364750f4aa07be1dc150c2acb450ad74ee637d5b8cc783e0a78", + "physics/bulk_traps.py": "4a78fabe85de747b81c03fc32f7095b01a68cafe7921d01806cd314f3cb4801c", + "physics/cigs_optics.py": "a7f1cac165c04f8f5d21a530987d65d10fa78af04c77b7e1382149aab59ca811", + "physics/compensated.py": "48235c68776a31db04191347b506222c07f1837960fe0658da4e1c65f25a3204", + "physics/contacts.py": "a8bc9a2938bd979ea9a5265af8785480b554ef723d4968b0ffdced8b8231709b", + "physics/continuity.py": "bfbb34a3ea772a798385b8ef083aa9857eee3f0d08e6a3e9f8f1fc0dfcb96df6", + "physics/defect_closure.py": "e8571cdd4878a75285de44bd9ecadbd9c9c3b296d88c3b62ff5ec1f478da9677", + "physics/defect_distributions.py": "635b5e5285d0c87de325edff7de745b398705eb8537495435f05f32543542a5e", + "physics/degenerate_transport.py": "5387116677839a6ecd3ba6ff261d9e8b881e850ab356255551d0c04165445c1f", + "physics/distributed_defect_closure.py": "1725704eb365858f120727646dcd3b3d8ffd9e69912a04a84b23285367106587", + "physics/doping.py": "883d705622066585d1e93027105ed9cb6094b0bb94bb28e574f1097a5ef3c599", + "physics/dynamic_defect_state.py": "0923b57f53583afeb95da7092a45c7ab98a58579177525bcaf210c796d84a6af", + "physics/dynamic_storage.py": "c0179c0144e9dadfd0abf959b78088eee91d35abf787a280a51079851dc5e006", + "physics/fermi_dirac.py": "f5cc9d0b9dbbcc80ea51cb8c3c843dbeff722a44eeac732d9b333e2bc0b71878", + "physics/field_mobility.py": "62ea0880e8aa05cf90dc0928f6bae7aec2caa132d69338661bff856a4d441737", + "physics/generation.py": "862c097f31bb5bab0e7585a4c361e0e7116010f652d7b6345a9a0de80caeac65", + "physics/grading.py": "286c5347a808199717740f2366d08bf89a8e615eb16ea399b84e1ddf40d1fe51", + "physics/interface_plane.py": "7e8e9344d8f96b04b565986879ad9c67bd36d54afa3de90ee39de264a44f9dee", + "physics/ion_migration.py": "19c0b83485c5e1b61dce5ad8fc05b75202a40c383d964cd4bcf38889a5cbda35", + "physics/metastable_defect_closure.py": "638ca6b638cb2ea19386b7d5d7c584f056495d9ab2f25e2a88e4807987b0e62d", + "physics/metastable_defect_device.py": "fea38276765a05be67fe0305cb63c2d148a8b3f06d4bac5ad5f5673132329c68", + "physics/metastable_dynamic_state.py": "6ef5427bacdabe6172ad33f5b68b4985b255d85fc22e9c8a0aaf54387801aab0", + "physics/multivalent_defect_closure.py": "57c684618c87d06521e048da20f3fc38dc3dab2c6221e4e88c66d404a8cc5648", + "physics/multivalent_defect_device.py": "5a631290005479e64529eba52f8273a8453baba1b1be4345d2c0f4e0365fafa3", + "physics/optical_stack.py": "ef897393af20ce1a3a096e6db2d3a9b3482ca590ad71a294057124ceb6746543", + "physics/optics.py": "de249b529cbbb1681a886b971e500d442fd3a74cbc48fd97e471cef84bcbe656", + "physics/photon_recycling.py": "cda651b7fdd7c202ed308d3a0e063c1cedc4ea76d7b0ef61db65e9ffcdc3d9f9", + "physics/physical_control_volume.py": "7ab20365a9f857169a8b9e2beb3a00c5129440e934e7f9875595c85413dec245", + "physics/poisson.py": "cc59b0210f019561cfea8903cf7c0c968f4d31ceefffaca6092d09286b02bed5", + "physics/recombination.py": "ec52279e65616a916c586818d3b6bec9ebe1bb7040a4a451e85e5785222726b9", + "physics/regularization.py": "32982af462fc430d518017579ea9c403dd3382be2f883464bc088b58a5d84539", + "physics/statistics.py": "f790b5df608ec54ff64ebd1a3203bcec0a00d1bfbc2677a29ccd34208fc29a01", + "physics/tandem_optics.py": "cdcdb0bf230b1bb49579c15c1286f29d928328482e75eb66de8a9a733b9d4658", + "physics/temperature.py": "bd21a92f32802cf228379c1ccdf4600b50290ffd2e78314d099f7fddbdd9fc85", + "physics/thermionic_constants.py": "729d2c0df0e8c441404af203fd77b057a90c30b67fd268d873c32585067f979c", + "physics/thermionic_transport.py": "996e4f1d46a10740a28f133a549ef7a2e190e72c0986b7a420a7c8f3fcfdca3d", + "physics/trap_kinetics.py": "9c3be44d7ef32773db38735cb6cbdd97cae68cfdc46f9ec60154a2b54c25efad", + "physics/trap_population_response.py": "64f5733bbaddceea323fa63b572abab133eb4c93bb1e88719cb156f483ad4398", + "physics/trap_transient.py": "a6b762e7120b8aeb557afab5fdc679f7d8c532f48100523edee632fd4b66e998", + "physics/traps.py": "2b4a2e6aee8471963fa392f295fb805c92a720340d77a757db2702bb65c7c2e6", + "physics/tunneling.py": "661bfbe9f825c2a23b334efab70452fc1320ca7e791e6bb4cbe810a2847864e4", + "physics/tunneling_channel_device.py": "8263d4f3675dc9fd775507be11702d5c916e3a4cecb47f57567601ab8e73292e", + "physics/tunneling_channels.py": "9fb2633b715d57a3e22e08da089ad98e584804a39e7d067c6649b9fd77959a36", + "physics/two_sided_interface.py": "c5c203480aa72343ccd1753c4fb8f42b5d4c792e81ba896de350fe8c5e272642", + "physics/two_sided_interface_compensated.py": "1460f59994ec5e66c2c9b0302307d7c114dac1819e10153a28fcea123e5c6bc9", + "physics/wkb_tunneling.py": "10604094f39fa7cdd50edd72d208e74564c0cf1e4439a57339af75dcf18b58f6", + "reproducibility.py": "83df5ef085a5ea86f3850aa2dbef10c09b43d3b037f344b1f66f686b2c182cd4", + "scaps_compat/__init__.py": "907408bc91357313a419c3c816a8351e99d770ded9dfef0a13a03ec56641801b", + "scaps_compat/defects.py": "afd98b29aa76cf5bdf01f291f6d289cfa7be34859ff2528b82ddcd57a77d2ca5", + "scaps_compat/distributed_defects.py": "23e0ea44ae438ce57cf8be803ff52ec53ce635cd0904c9a60cf41cd880f82c63", + "scaps_compat/loader.py": "a03a31b81497df6118592aebce7000befaa1d5de787ad989d880c263000e0cd6", + "scaps_compat/materials.py": "297634e0f0705a75e7866fcb9ccabacce8ca3feb76de6d7d46deaefcbcf0a424", + "screening/__init__.py": "5c940f3ec0943fb4706ae84921fb61a127e3acc2ec07a94f18db7ab5ae5fec70", + "screening/evaluation_report.py": "33746a81a20deb52d71223f69e57028205818bac2f33179ac2deb9e1d070ee5f", + "screening/solarscale.py": "67db4312f6bb1473e6d3cfd3eabd2b85dbdaf004e9f592c810485ff1a69b0bff", + "solver/__init__.py": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", + "solver/bulk_trap_equilibrium.py": "3f7bc1478b70eab82668e3db5b6b5cb457d92aad8f0fe1548c00d07b833d1f55", + "solver/dae.py": "0836cedbeabd5a211611c217776bc7a045197ee501373e8a2b240b062134d0cf", + "solver/dae_dual_ion_integrator.py": "32d228da12825ec5fcfcf654935c5a460e89b49e36368ff8f9a6f359c0ec65af", + "solver/dae_dual_ion_jacobian.py": "53988cfa8f6bd7af1877b5a8e76293b91527d8cd7b93b19389b5491a99b69971", + "solver/dae_dual_ions.py": "a513f262079d514e1636baac3bba043fe9612c4d0d5cb456adc65ec33dc229e0", + "solver/dae_integrator.py": "865f6631d2c3946252ab5e1c128b502a5d80f814f83ffa205c00d5f0450aceb5", + "solver/dae_interface_integrator.py": "b292418064b15fe9e3af51eebe9ef2048076171336742beb4c196d2b30dfa1d2", + "solver/dae_interface_jacobian.py": "5785e57455da3b882eded59bb9621cb21bcac52a7b68e5e2ba4fc3c0300e8503", + "solver/dae_interface_states.py": "8771d8e18d570ee3fe1dc9ba176d9580b57b79d9b1df8f00368b7ff54ed0aec2", + "solver/dae_ion_integrator.py": "32bb220c3928d99a41f0f51155f7fa70fea123b1e5ad3b1f8d58c2181a1343d0", + "solver/dae_ion_interface_integrator.py": "ab6d6a62e7b196261443381a47bd6f2951191083efb201844ef6d82f3ce1de5c", + "solver/dae_ion_interface_jacobian.py": "f5736725822e4cb4beb62e7b138e227f51a41b2dc38a8c37c274345f7d942ce9", + "solver/dae_ion_interface_states.py": "b0dee976889a4b8f237f656b822c017fa1039cdc3d49518251cef237a6dab541", + "solver/dae_ion_jacobian.py": "5edac1c030aa76e509cc87db8f83edc61280088e2e342b6aecfa00fe2d1d5c94", + "solver/dae_ions.py": "b594d7a347ce0aea6efa834a17aaa498e687a1d14b100fe7c15f5842e36966ea", + "solver/dae_jacobian.py": "1b775ae891b2323046742dbdf6ac967a569f3e8a5de2ecab959292fabade5640", + "solver/degenerate_equilibrium.py": "9a88670d4c8a04669fbad681f6e45a7571c9b8fc90ab10c36750159a562d96df", + "solver/illuminated_ss.py": "489d3d68dc7e2a6877bc10d91152cf8504f6b878c2a32b19a622f9cf4c1aede7", + "solver/mol.py": "1c02ff41356cfaf75245e3e9e3a0101064d43a766e9e416053ea1e75ef54b61a", + "solver/newton.py": "db4c2096108f7c6820dc900ea14bb03cd780d29212ad0fdedd290db84c95d3c2", + "solver/numerical_diagnostics.py": "4796fc14569386dfa5fda1b2897e1408d9f4865ad411e3faae4196aee32ca22a", + "solver/small_signal.py": "6b7578321b0fda1ef6ac9a48db44f6306c2bd0c65904a98229e07a0098740adf", + "solver/tolerances.py": "1a193fb904bfd593e7581c9c3a25f51e245bbb72ce6b9fcf22bdd9196170e0b6", + "solver/trap_transient.py": "a417a7a2f8c17932a617a7406a412a69cfcd5665ef1f78483a91b569ce209331", + "sweeps/__init__.py": "213b7f734a96a7052958dd310a26de922d352454f7813297032379c4b071f783", + "sweeps/device_parameter_sweep.py": "70d4185f1918ecdc041e057c23a7d78380d3c872eaa2a9835acb8d958109fce8", + "twod/__init__.py": "01dd4fc6ae498e9286352e375b3a4c7a6831c4965aeb0d86b299f904aee08d79", + "twod/continuity_2d.py": "706f356e8ee40c2de1b5aa52b70bfa3b99911dbb2b1e92c1b4371aa57e75e870", + "twod/experiments/__init__.py": "0135cf5154cb590920c85b4b914c6b28773ffb1c01b36a1baac285e9fc3c71eb", + "twod/experiments/jv_protocol_2d.py": "d5b22910f9c7cdfe5dd2eb037f00275f44e2fa3f177a05035de19475ec3f7acc", + "twod/experiments/jv_sweep_2d.py": "4d57ec5df5599f25237dadfbf202ea24c899454905834245fa498bc459afad69", + "twod/experiments/voc_grain_sweep.py": "46cd3258d5f9cb603e1b26571d3381ca35ee2ee61277f2b0e5a9e21a62e853ff", + "twod/field_mobility_2d.py": "137bc63740041a7158be54757e98209d6bdd1dda0d0f6c4e26ab7bec71194a18", + "twod/flux_2d.py": "43c019705a31430d84bdb888c926be0db9c7b13ed4144e6d3c8fb28ee1601d64", + "twod/grid_2d.py": "69fbfead2f8011a34665303be19ae7f2bad939cd111bcdfb66b5b7ab57995818", + "twod/interface_recombination_2d.py": "5a43d3b41b89bc8517939536302d59c272cb282ac0451870ce48b9a66f119388", + "twod/ion_migration_2d.py": "c4bc37d818b97732dfea3ab44ab305ef047f0381cfd80c1891976ba1e620bc8f", + "twod/microstructure.py": "60d06d32976305a4c29b04e7f46188e8a916e007048a9c6507c680e6d4b6ab35", + "twod/mobile_ion_current_2d.py": "9ecdb504fcf7302ee02a5cf00c0312f71547ac76d740d4b0dc700f2031a63c02", + "twod/poisson_2d.py": "bfb1a98beb235d923a10da172bc77501a21b18faa0ea74865ec78a5b021fe25d", + "twod/radiative_reabsorption_2d.py": "5dee50750a3fce10f37c53b781f9b3fd5c0920844ddd943cdd97dc2a1fb98434", + "twod/snapshot.py": "0ec4141f593f29ac71585f3b1bf99ee73ed7ef451298681ad7f734bac9682d11", + "twod/solver_2d.py": "75630674f85d27e86512affaa5600d344b0da672842f8a53698efc42cd1d1289", + "validation/__init__.py": "f89bdb1d0e95a5a33b04c6afb9471fc7e5a0bd008c62576eafefb6cfe595cec2", + "validation/bgn_refinement.py": "f5989e3a00a1f298df257b0b893a965e3778d13c155a1296705aff75de2528f7", + "validation/bulk_trap_refinement.py": "4415153d3c30a2bda68b1dd54c448bd32f4e1dc21222a91f553601beac1ede0b", + "validation/charged_defect_refinement.py": "c15eef42f9122d44b87391c243b03d526d22d269fc830389dc89001f7aa11a34", + "validation/cigs_optics_refinement.py": "c699faacb47b73d18b047af80530f73bfd52619f9ba8136bb2e2ec60488d8b04", + "validation/dae_dual_ion_refinement.py": "9f8727804890fa6ce487f9302c14d75a8472fb44644f7fd151d3a2b4b2168265", + "validation/dae_interface_refinement.py": "b99bcf748f7c7321379eb16fe2ec62ee4676dbe200cd0fd9b94b79644eca7159", + "validation/dae_ion_interface_refinement.py": "9e9ca60cb1b64b20ee3c912753c4ab72c71b7e2f9a5c46952315b2e722fca725", + "validation/dae_ion_refinement.py": "178482916aa1a7c8cc7af87ce4afdab722da1cd0ee882d336a4cf73e609faea5", + "validation/dae_refinement.py": "a8cf931308f66c5184d852f4457dd29ba6f5b46d981c21cda7a1ad5104076303", + "validation/defect_energy_refinement.py": "c6b39d4d5bf977b626ad283a928bc2eea2b0726df4f2a0d178ccb9f7c11dd8c8", + "validation/degenerate_refinement.py": "46075723655aa34b33663664d5506f813484b3cd1a28aabde585043d13294c57", + "validation/distributed_defect_refinement.py": "86fae54f0c9e8ab8394ccb7db57ff70b144cc1966b1487ed7d87172028931016", + "validation/dynamic_defect_transient_refinement.py": "b7b87088a5de7af25bd77a15897f5641dad707da06d4073606b3536595e495c1", + "validation/electrothermal_refinement.py": "07010dc8c5ff08fa75a88fbff0d8210c8e878c25253bfb4ad942db5ad68477c3", + "validation/external_circuit_refinement.py": "cb8453da1c93bc1c47ecbd61a70ecffe0d4eba50a8bd42a0c2e162da085143a7", + "validation/foundation_reference_refinement.py": "aa478f90f055d3dd27e9382c2c7b55d61029f0135672b7d1f2f3358436ee8aa7", + "validation/grid_convergence.py": "fab7c25a0c3da63768f3c99ad90019888d7da94fdac04d44062e38d9c9004c30", + "validation/identifiability_refinement.py": "d66f0a39a4e7b2e0af5e4cfc006b53a86f432e3c4273d59c08c3bbfd0e4ced52", + "validation/incomplete_ionization_refinement.py": "001c0448fae196dbf8f3911ca9277fee11dbe1b5c6a06cf6ed78820b1a1a8ea5", + "validation/interface_charge_stress.py": "ea765551cf56cbcfd64bd623fa95996b9c789836e8b2c48c2d0b24056a459994", + "validation/multivalent_defect_refinement.py": "28db6ad6710591d37386b12464a73fe345dedc873ed9d54c8b013b9c70c860e5", + "validation/numerical_certificate.py": "8adf88571ab94fde3135eb817eb3dc93b8d5d932c02d62ec5338e021df1fb413", + "validation/refinement_executors.py": "9e9730acefe72cc7dd9991e47f65624f37d875101795e85d2fc63d885ca4d40c", + "validation/refinement_runner.py": "e4c72b1cfc570ac2106fb031b17aeeb6675810529c78e1699fc074dd1f4d25eb", + "validation/regularization_certificate.py": "18054fccbd125f04a4dcbe1b3d8d016e70a7c67a87d526a5982c21f85c5a84c4", + "validation/regularization_executors.py": "23ad49cd022c2fe626fd2124d6d219f1fc90e26dc6d27a67e63ca5ff433959a6", + "validation/resolved_tunnelling_refinement.py": "f37222cc2d56fc8c900b4fc4f634ff1e16e470eb2843ac1e46fe2138bd10cca0", + "validation/spatial_defect_refinement.py": "694b96e6718e78daa8b853bc0d2c0a4eb8d4c5d989aecd60102a38e42d2b856e", + "validation/tunnelling_channel_refinement.py": "86104d6316d81fabddbd7a8a5a5b53412cbbaf8c4e450b4918502e81888bc608" + }, + "run_class": "development", + "sha256": "f3def67883912d64f17bbb145156e4c8b3afc69ddbc43060041cf875e4cfff47", + "source_commit": null, + "source_content_sha256": null, + "study_input": { + "path": "reproducibility/OneDimensionalMechanismR1DynamicsInputV1.json", + "sha256": "3065a31951d4a90e8b0d03d042e3f2c0349cc7d8e792381a275cb05d58a047ca" + } + }, + "stack_sha256": "dc528a33fc78fa4ea083aa3ebd25568453f562f68649df508078a02e474fb9db", + "state": { + "capture_m2_s": [ + [ + 0.003752088795603616, + 0.003958894134286702, + 0.00029839825237670814, + 8.263733398718124e-05 + ] + ], + "local_residual": [ + 0.0, + -1.6347696640340648e-17, + 150.39747423612917, + -4030.225580068659, + -2701.848839167177, + 116.46693865390124 + ], + "n_m3": [ + 2515095827087.2163, + 2508690631696.646, + 2501917204129.2607, + 2494757275493.3613, + 2487192033991.0034, + 2479202157038.6416, + 2470767851312.4585, + 2461868901500.0137, + 2452484728555.2803, + 2442594458251.8047, + 2432177000815.2935, + 2421211142384.193, + 2409675648989.5396, + 2397549383668.6123, + 2384811437214.326, + 2371441272924.3706, + 2357418885534.567, + 2342724974307.4097, + 2327341129989.365, + 2311250035052.0957, + 2294435676291.0874, + 2276883568473.573, + 2258580987303.9023, + 2239517209522.983, + 2219683757476.8037, + 2199074644994.499, + 2177686620921.2935, + 2155519406170.9656, + 2132575919715.1453, + 2108862488540.9114, + 2084389036298.3472, + 2059169245161.9558, + 2033220685364.3179, + 2006564906951.5332, + 1979227488586.0938, + 1951238038697.5344, + 1922630144963.5725, + 1893441269008.7097, + 1863712584313.4111, + 1833488756628.4297, + 1802817667649.507, + 1771750084287.578, + 1740339277514.8389, + 1708640596411.1902, + 1676711004611.8428, + 1644608587781.8958, + 1612392041950.868, + 1580120153449.2964, + 1547851281747.1262, + 1515642856648.011, + 1483550901017.843, + 1451629589515.6409, + 1419930852661.7512, + 1388504034069.1252, + 1357395606835.0393, + 1326648953027.926, + 1296304208003.2842, + 1266398169047.0623, + 1236964265685.2722, + 1208032587017.3018, + 1179629959721.1523, + 1151780069020.0222, + 1124503613948.3423, + 1097818487742.7344, + 1071739974118.8923, + 1046280950558.4292, + 1021452090480.1692, + 997262057243.1061, + 973717684246.0251, + 950824136863.0034, + 928585053490.0447, + 907002664487.3279, + 886077889200.5787, + 865810412465.1154, + 846198742985.4603, + 827240256708.9993, + 808931228761.7195, + 791266857693.8746, + 774241285715.8658, + 757847618327.4086, + 742077946298.5299, + 726923372403.0231, + 712374044679.454, + 698419197352.8784, + 685047199930.4269, + 672245614420.5812, + 660001260142.3297, + 648300285202.4563, + 637128243432.2267, + 626470175388.9976, + 616310691935.4205, + 606634058900.0874, + 597424281381.4108, + 588665186370.1891, + 580340502517.5531, + 572433936050.9673, + 564929242029.2695, + 557810290317.698, + 551061125846.0918, + 544666022883.9592, + 538609533217.79285, + 532876528248.72394, + 527452235139.79785, + 522322267232.4558, + 517472649022.1628, + 512889836034.89526, + 508560729981.61743, + 504472689588.7589, + 500613537511.6615, + 496971563736.58417, + 493535525868.1365, + 490294646682.96277, + 487238609311.59143, + 484357550386.4812, + 481642051469.93933, + 479083129049.43365, + 476672223361.49316, + 474401186279.84064, + 472262268478.3778, + 470248106055.69525, + 468351706785.7396, + 466566436138.2424, + 464886003193.3712, + 463304446557.7517, + 461816120372.8127, + 460415680492.35834, + 459098070893.27466, + 457858510372.19836, + 21799211820636.355, + 21740215831273.977, + 21677749190110.21, + 21611629734458.047, + 21541668551084.117, + 21467670101502.91, + 21389432410726.027, + 21306747327565.45, + 21219400865094.94, + 21127173630339.2, + 21029841352679.387, + 20927175520747.004, + 20818944137806.434, + 20704912605665.945, + 20584844747007.61, + 20458503975699.49, + 20325654624005.395, + 20186063434701.074, + 20039501224803.75, + 19885744725935.52, + 19724578604218.004, + 19555797659945.785, + 19379209204149.504, + 19194635605439.727, + 19001916996271.113, + 18800914122895.87, + 18591511317945.59, + 18373619568710.875, + 18147179647920.957, + 17912165267331.523, + 17668586207739.18, + 17416491372471.365, + 17155971705149.043, + 16887162906804.27, + 16610247882698.617, + 16325458845624.227, + 16033079000528.908, + 15733443735312.555, + 15426941244884.584, + 15114012520409.7, + 14795150643237.29, + 14470899333509.21, + 14141850716814.3, + 13808642288384.348, + 13471953072963.822, + 13132498999067.992, + 12791027528383.49, + 12448311603655.41, + 12105143000772.22, + 11762325191844.56, + 11420665844891.908, + 11080969101361.58, + 10744027784134.918, + 10410615695284.697, + 10081480164037.78, + 9757335000995.506, + 9438854004592.014, + 9126665150511.533, + 8821345574810.764, + 8523417437819.2705, + 8233344729497.923, + 7951531049111.901, + 7678318364017.232, + 7413986725373.32, + 7158754893736.535, + 6912781805764.311, + 6676168795369.687, + 6448962469109.362, + 6231158126553.759, + 6022703611870.292, + 5823503482561.221, + 5633423384811.669, + 5452294531625.266, + 5279918189189.976, + 5116070088033.601, + 4960504687804.226, + 4812959237282.972, + 4673157583983.047, + 4540813699891.58, + 4415634901240.504, + 4297324750357.685, + 4185585636502.104, + 4080121040049.225, + 3980637490442.7734, + 3886846233047.8228, + 3798464623509.5303, + 3715217270569.4175, + 3636836949680.1875, + 3563065310312.195, + 3493653399745.203, + 3428362025500.035, + 3366961977527.8296, + 3309234129961.15, + 3254969440721.915, + 3203968865675.293, + 3156043202370.2734, + 3111012876776.559, + 3068707684849.5845, + 3028966499257.373, + 2991636950213.222, + 2956575088070.922, + 2923645034182.4326, + 2892718625468.232, + 2863675057228.5137, + 2836400527904.354, + 2810787888784.7427, + 2786736301042.4497, + 2764150901949.6064, + 2742942481674.657, + 2723027171682.253, + 2704326145438.9585, + 2686765331862.926, + 2670275141738.2505, + 2654790207140.753, + 2640249133774.399, + 2626594266011.937, + 2613771464341.5967, + 2601729894856.4185, + 2590421830376.7974, + 2579802462757.5044, + 2569829725914.7524, + 2560464129089.3286, + 2551668599864.51, + 2543408336451.9766, + 2535650668771.033, + 2528364927853.022, + 2521522323118.466, + 2515095827087.2163 + ], + "occupancy": [ + 7.928333613737113e-05 + ], + "p_m3": [ + 2515095827087.2163, + 2521517376239.463, + 2528343867252.1826, + 2535600189073.5825, + 2543312672678.547, + 2551509162524.7666, + 2560219089816.9023, + 2569473547345.592, + 2579305365609.43, + 2589749189870.2666, + 2600841557715.43, + 2612620976629.159, + 2625128000980.195, + 2638405307741.533, + 2652497770152.43, + 2667452528413.5786, + 2683319056389.6597, + 2700149223158.2173, + 2717997348106.873, + 2736920248142.079, + 2756977275423.2095, + 2778230343898.3184, + 2800743942775.3574, + 2824585134940.009, + 2849823538220.4927, + 2876531287313.9463, + 2904782974141.502, + 2934655564390.124, + 2966228288049.925, + 2999582501869.4297, + 3034801521846.846, + 3071970424162.2466, + 3111175813338.698, + 3152505556921.659, + 3196048486579.4707, + 3241894066250.5356, + 3290132028809.6787, + 3340851983655.828, + 3394142998630.8657, + 3450093160726.0225, + 3508789121066.956, + 3570315630640.5156, + 3634755074055.5957, + 3702187009261.2847, + 3772687721459.2773, + 3846329799403.1855, + 3923181741762.7197, + 4003307600211.144, + 4086766664311.488, + 4173613191138.8545, + 4263896179920.0967, + 4357659188859.0986, + 4454940187911.786, + 4555771437729.7705, + 4660179381558.677, + 4768184533790.243, + 4879801346434.432, + 4995038033235.377, + 5113896330798.029, + 5236371177073.222, + 5362450290024.977, + 5492113633306.382, + 5625332761209.474, + 5762070041884.159, + 5902277765514.964, + 6045897152467.5205, + 6192857284863.386, + 6343073993171.592, + 6496448736658.453, + 6652867522440.93, + 6812199912027.99, + 6974298166232.389, + 7138996578975.091, + 7306111047687.907, + 7475438922780.2, + 7646759171142.285, + 7819832879262.933, + 7994404110612.954, + 8170201120051.015, + 8346937915715.048, + 8524316146720.175, + 8702027283635.226, + 8879755048648.73, + 9057178044001.918, + 9233972521049.365, + 9409815228376.953, + 9584386275906.818, + 9757371952750.31, + 9928467439650.898, + 10097379361875.836, + 10263828135032.535, + 10427550064171.508, + 10588299165192.426, + 10745848686629.28, + 10899992318962.803, + 11050545087293.77, + 11197343931266.57, + 11340247983292.71, + 11479138562216.635, + 11613918904556.387, + 11744513659186.791, + 11870868173977.332, + 11992947604390.713, + 12110735874558.635, + 12224234521010.447, + 12333461448098.715, + 12438449622504.135, + 12539245732051.46, + 12635908831605.023, + 12728508996179.402, + 12817125998663.074, + 12901848026826.057, + 12982770451646.291, + 13059994656480.348, + 13133626934295.629, + 13203777458053.055, + 13270559327474.787, + 13334087693760.3, + 13394478962424.215, + 13451850073229.49, + 13506317855218.848, + 13557998454071.36, + 13607006828410.482, + 13653456311253.195, + 13697458232466.842, + 13739121597949.793, + 13778552821143.564, + 13815855502492.732, + 290180538265.99115, + 290967995395.2472, + 291806449295.52466, + 292699213229.54645, + 293649816627.8212, + 294662019211.8373, + 295739826023.1233, + 296887503410.5536, + 298109596029.39276, + 299410944907.1897, + 300796706631.8759, + 302272373718.29016, + 303843796208.03485, + 305517204556.64307, + 307299233859.4539, + 309196949463.3279, + 311217874006.2341, + 313370015918.59985, + 315661899410.68384, + 318102595957.19604, + 320701757273.9108, + 323469649760.915, + 326417190361.98975, + 329555983759.3718, + 332898360786.029, + 336457417894.6302, + 340247057469.6934, + 344282028708.9713, + 348577968729.3917, + 353151443470.2788, + 358019987873.3097, + 363202144711.4427, + 368717501319.25195, + 374586723343.2036, + 380831584482.7307, + 387474991032.83, + 394540999866.7426, + 402054828315.1392, + 410042854211.3144, + 418532604181.46356, + 427552728074.7983, + 437132957254.5065, + 447304044318.84424, + 458097681703.3303, + 469546396540.6217, + 481683419143.4813, + 494542522539.90656, + 508157830649.2136, + 522563592957.9715, + 537793923954.2584, + 553882506121.293, + 570862255988.0336, + 588764953593.2751, + 607620836737.8927, + 627458162570.6604, + 648302740355.6886, + 670177440675.5829, + 693101687788.7157, + 717090943331.698, + 742156190968.9143, + 768303432871.0387, + 795533209970.2169, + 823840158714.4127, + 853212617445.9954, + 883632295497.9269, + 915074017579.8136, + 947505554987.5366, + 980887553609.0275, + 1015173566640.5638, + 1050310197427.1599, + 1086237354981.4829, + 1122888621627.746, + 1160191728990.294, + 1198069135342.98, + 1236438694300.6128, + 1275214402104.0803, + 1314307208460.3555, + 1353625874133.138, + 1393077857329.0203, + 1432570210411.324, + 1472010468614.8296, + 1511307513193.0671, + 1550372392745.658, + 1589119088270.532, + 1627465209649.5527, + 1665332613705.6755, + 1702647936539.9224, + 1739343035459.4631, + 1775355338341.7637, + 1810628100652.4126, + 1845110572472.731, + 1878758079755.4583, + 1911532025562.6362, + 1943399818247.9429, + 1974334734418.3425, + 2004315725064.5447, + 2033327173510.3147, + 2061358613828.6257, + 2088404418151.9753, + 2114463460891.9895, + 2139538767339.212, + 2163637153455.9543, + 2186768862957.5393, + 2208947207016.7876, + 2230188211161.9976, + 2250510273188.3203, + 2269933835180.183, + 2288481072070.6855, + 2306175598547.246, + 2323042195552.7686, + 2339106557144.1494, + 2354395058039.811, + 2368934541828.2715, + 2382752129502.6694, + 2395875047747.058, + 2408330476198.324, + 2420145412765.2275, + 2431346555977.0073, + 2441960203261.6323, + 2452012164015.7334, + 2461527686308.6074, + 2470531396074.1904, + 2479047247660.4946, + 2487098484649.6377, + 2494707609901.1533, + 2501896363830.9556, + 2508685709991.6157, + 2515095827087.2163 + ], + "phi_V": [ + 0.0, + -6.592127310842491e-05, + -0.00013581568928608024, + -0.00020990440609618236, + -0.00028841856185545016, + -0.0003715994240758543, + -0.00045969849557844994, + -0.000552977571161631, + -0.0006517087370874158, + -0.0007561743050335873, + -0.0008666666715599128, + -0.0009834880935696542, + -0.0011069503697331566, + -0.0012373744174013848, + -0.0013750897342015972, + -0.0015204337333053048, + -0.0016737509413259672, + -0.0018353920479789124, + -0.0020057127970616443, + -0.00218507270903369, + -0.0023738336265391917, + -0.0025723580756698908, + -0.0027810074376578824, + -0.0030001399280594264, + -0.003230108383380083, + -0.0034712578585249236, + -0.00372392304244869, + -0.003988425503925857, + -0.004265070784432203, + -0.004554145360673333, + -0.0048559135052247205, + -0.005170614079938501, + -0.005498457303060356, + -0.005839621537179042, + -0.00619425015095302, + -0.006562448512733978, + -0.006944281178414515, + -0.007339769338719255, + -0.00774888859237951, + -0.008171567110832438, + -0.008607684256949208, + -0.009057069714562495, + -0.009519503177057104, + -0.009994714631948398, + -0.010482385264284699, + -0.010982148985120361, + -0.01149359457264693, + -0.012016268393459276, + -0.01254967765067109, + -0.013093294085135628, + -0.013646558036948201, + -0.014208882757843029, + -0.01477965885217951, + -0.015358258715984324, + -0.015944040840848956, + -0.016536353852994037, + -0.01713454016779492, + -0.017737939156426043, + -0.01834588974352321, + -0.018957732381969176, + -0.019572810381784735, + -0.020190470603049817, + -0.020810063555962006, + -0.021430942982641994, + -0.022052465023229398, + -0.022673987091461942, + -0.023294866600879188, + -0.02391445969102917, + -0.024532120103055992, + -0.025147198345809536, + -0.025759041277669956, + -0.02636699220662989, + -0.02697039158324344, + -0.02756857832954881, + -0.028160891813888263, + -0.028746674448607044, + -0.029325274856735806, + -0.029896051526555, + -0.030458376850697952, + -0.031011641430086417, + -0.03155525851300936, + -0.03208866843614384, + -0.03261134293698413, + -0.03312278921537351, + -0.03362255363475117, + -0.03411022497029034, + -0.03458543713018368, + -0.03504787129678997, + -0.03549725745511926, + -0.035933375296243915, + -0.03635605450188246, + -0.03676517443299265, + -0.03716066325929868, + -0.03754249657801662, + -0.03791069557854878, + -0.038265324815651744, + -0.03860648965671942, + -0.038934333469621454, + -0.03924903461631659, + -0.03955080331456852, + -0.03983987842588428, + -0.04011652422261972, + -0.040381027181375005, + -0.040633692843623455, + -0.040874842778229184, + -0.041104811674318224, + -0.04132394458703852, + -0.041532594353200704, + -0.04173111918871939, + -0.041919880475230084, + -0.042099240739265395, + -0.04226956182394077, + -0.04243120325021111, + -0.04258452076238766, + -0.042729865050712655, + -0.04286758064233497, + -0.042998004950966, + -0.04312146747477376, + -0.043238289131647664, + -0.04334878172079151, + -0.04345324749963472, + -0.0435519788652539, + -0.043645258129832734, + -0.04373335738012683, + -0.04381653841141481, + -0.04389505272698365, + -0.043969141594796375, + -0.04403903615360535, + -0.04417098013672001, + -0.04424103917608043, + -0.0443154272183328, + -0.04439439908279837, + -0.04447822294582017, + -0.04456718082568137, + -0.04466156905510166, + -0.044761698735909294, + -0.0448678961697472, + -0.04498050325787024, + -0.04509987786222858, + -0.045226394119109135, + -0.045360442695627654, + -0.04550243097833257, + -0.04565278318210574, + -0.045811940366435155, + -0.04598036034500434, + -0.046158517473409336, + -0.04634690229869933, + -0.0465460210533673, + -0.04675639497542426, + -0.04697855943531347, + -0.04721306284970169, + -0.047460465361675176, + -0.04772133726662414, + -0.04799625716318471, + -0.04828580980909063, + -0.0485905836627422, + -0.04891116809280502, + -0.04924815024028527, + -0.04960211152037137, + -0.04997362375495872, + -0.05036324493125367, + -0.05077151458724116, + -0.051198948831136896, + -0.05164603500924685, + -0.052113226044911296, + -0.05260093448037077, + -0.05310952626336759, + -0.05363931433095231, + -0.054190552054109865, + -0.054763426618210646, + -0.05535805242562378, + -0.05597446461774584, + -0.056612612823788114, + -0.05727235525247753, + -0.05795345324987956, + -0.05865556645135115, + -0.05937824865769442, + -0.06012094456445692, + -0.06088298746862276, + -0.06166359806836553, + -0.06246188445891, + -0.0632768434108469, + -0.06410736299660105, + -0.06495222660648942, + -0.06581011836843287, + -0.06667962995559854, + -0.06755926873490876, + -0.06844746717745855, + -0.06934259342053188, + -0.07024296284124425, + -0.07114685047500048, + -0.07205250408900997, + -0.07295815770298829, + -0.07386204533665124, + -0.07476241475720878, + -0.07565754100006679, + -0.07654573944234214, + -0.0774253782213206, + -0.07829488980809927, + -0.07915278156960295, + -0.07999764517900147, + -0.0808281647642187, + -0.08164312371557482, + -0.08244141010549806, + -0.08322202070458268, + -0.08398406360805713, + -0.08472675951409868, + -0.0854494417196953, + -0.08615155492039825, + -0.08683265291701338, + -0.08749239534490132, + -0.08813054355013109, + -0.08874695574143307, + -0.08934158154802184, + -0.0899144561112971, + -0.0904656938336309, + -0.09099548190039643, + -0.09150407368258112, + -0.09199178211723785, + -0.0924589731521111, + -0.09290605932944326, + -0.09333349357257632, + -0.09374176322781773, + -0.09413138440338444, + -0.0945028966372625, + -0.09485685791665914, + -0.09519384006347048, + -0.0955144244928855, + -0.09581919834591078, + -0.09610875099121219, + -0.09638367088719017, + -0.09664454279157846, + -0.09689194530301311, + -0.09712644871688415, + -0.09734861317627758, + -0.09755898709785986, + -0.09775810585207377, + -0.09794649067692993, + -0.09812464780492082, + -0.09829306778309506, + -0.09845222496704818, + -0.0986025771704631, + -0.09874456545282721, + -0.09887861402902175, + -0.09900513028559454, + -0.09912450488966072, + -0.09923711197750656, + -0.09934330941108165, + -0.09944343909164019, + -0.09953782732082457, + -0.0996267852004624, + -0.09971060906327285, + -0.0997895809275385, + -0.09986396896960184, + -0.0999340280087836, + -0.09999999999999964 + ], + "poisson_residual_C_m2": [ + 2.152113535828595e-21, + -4.935959947430232e-22, + 1.2286132570330469e-20, + -1.0235184049585799e-20, + -3.439568318864366e-21, + 7.389838339270037e-21, + -4.413338796928801e-20, + 6.698923738251639e-20, + -5.3070909786640785e-20, + 5.987508971863309e-20, + -7.535589732420994e-20, + 3.149514969335696e-20, + 3.631383342626646e-20, + 6.6175263842677414e-21, + -8.137925808150223e-20, + 9.503096226360962e-20, + -1.0386897541325661e-19, + 9.292913953941036e-20, + -7.664262419157715e-20, + 1.0249878670628195e-19, + -8.313122535766058e-20, + -1.8617726350601518e-20, + 9.308612908225661e-20, + -8.716558709843967e-20, + 4.991601671044741e-20, + -7.771596229947745e-20, + 7.559814565098822e-20, + -4.507015463648666e-20, + 1.0710497603453036e-19, + -1.1941735073467655e-19, + 6.772241577027206e-20, + 3.3323512497401163e-21, + -8.48240849828284e-20, + 6.451117150440033e-20, + -1.5523817580830922e-20, + -6.285364564627634e-21, + 4.238358584360114e-20, + 6.263762355965359e-20, + -9.534211360286756e-20, + -8.33808820447089e-20, + 1.5087802933358243e-19, + -1.2849193024605e-19, + 1.0370144069796662e-19, + -1.2805764933656247e-21, + -1.129934395853369e-19, + 7.093798087150535e-20, + -1.939685360437732e-20, + 7.797831577052328e-20, + -9.541143211600779e-20, + 1.0724345681358345e-19, + -1.4813670191610913e-19, + 7.828381205974508e-20, + 4.208650733337484e-21, + -4.279783202872174e-20, + 1.6464496728593796e-19, + -2.1937759807324426e-19, + 2.366236041613243e-19, + -2.297177140941393e-19, + 1.913533651498445e-20, + 2.402033831547433e-19, + -1.6376105601328781e-19, + -1.0515254261224506e-19, + 2.0497890253180216e-19, + -2.320826423165396e-19, + 1.591779410282491e-19, + -1.1567190363569867e-19, + 9.256644144909357e-20, + 1.046469091278434e-19, + -1.2123729928206713e-19, + -8.180153094876113e-20, + 6.845138698017368e-20, + 3.421173478296375e-20, + 8.436359229312477e-20, + -1.990746048888859e-19, + 2.342579524751003e-19, + -2.638379747340418e-19, + 2.5886816591433405e-19, + -2.512870376701257e-19, + 1.0585716401452875e-19, + 1.947464469892943e-19, + -3.160379600384039e-19, + 3.759728158695782e-19, + -3.266172315081976e-19, + -2.250552046695965e-20, + 2.4051566915689845e-19, + -2.2184441906412012e-19, + 2.080106083568864e-19, + -2.0814316549606735e-19, + 1.7597061931257503e-19, + 1.0247830106022162e-19, + -4.628273056175474e-19, + 4.0658218510659654e-19, + -2.807225022266887e-20, + -5.648119350127733e-19, + 2.8107909574963624e-19, + 5.07521570591683e-19, + -7.369242899922807e-19, + 1.2154576769144286e-18, + -1.6674116671206489e-18, + 1.2437586409922384e-18, + -7.518590759586806e-19, + 7.431651908629205e-19, + -4.3002177775830363e-19, + -4.9195022303661606e-20, + 8.325751183864443e-19, + -1.2274316875418918e-18, + 1.3798488404332308e-18, + -9.030461484145223e-19, + -7.388665323189898e-19, + -4.4482711066001e-20, + 1.045384065075465e-18, + 1.4808042555432427e-18, + -1.7650046227734048e-18, + -2.1133104433313503e-18, + 4.281506747075607e-18, + -2.0546198650004473e-18, + -1.7161396749474446e-18, + 2.733649028920091e-18, + -7.359643141910359e-19, + -3.8164252882981865e-19, + -4.264995910657749e-19, + 1.0484472664345596e-18, + -9.854340034101037e-19, + -2.0803657318267913e-18, + 5.624790503970796e-18, + -5.256520997583766e-18, + 1.5521775873387699e-18, + 2.33466954474926e-18, + -1.632053168541928e-18, + -6.289280760023692e-20, + 9.52993038746331e-19, + -5.161264770617752e-19, + -2.697239451760789e-18, + 3.33599654111654e-18, + -2.534370749488373e-18, + 1.8538491855773918e-18, + 6.718451775656762e-19, + -1.1965156437374239e-18, + -5.759899663483552e-19, + 4.566446562857116e-19, + -6.882276726344436e-19, + 8.812796581553978e-19, + 6.389445784545522e-19, + -1.493836995921284e-18, + 2.179698262871639e-18, + -2.0379623305219887e-18, + 1.9876384984329135e-19, + 1.2919537950154023e-18, + -8.051834904286886e-19, + 6.984834316884101e-21, + -5.936583190860314e-19, + 1.2102674632262926e-18, + -7.935564337389934e-19, + 1.8602545055041476e-19, + 2.6060559947317494e-19, + -4.241980570031454e-19, + -3.051428249817589e-20, + 6.47306930646894e-19, + -1.2119464440368428e-18, + 9.96394916204275e-19, + -2.880336318323962e-19, + -1.4531704359930446e-19, + 7.7497305486397e-19, + -9.59643351050457e-19, + 9.86435365144587e-20, + 3.170037834733385e-19, + -6.894235670708026e-20, + 4.984952806380397e-19, + -9.296489513472949e-19, + 5.149307198119139e-19, + -3.401723298223596e-20, + 1.3434875927663309e-19, + -1.9550316624900345e-19, + -1.391529296754167e-19, + 3.099266463672265e-19, + -3.252625531682379e-19, + 2.0188497478499964e-19, + 3.833512506467308e-19, + -6.689615118772824e-19, + 7.440536121827289e-19, + -1.0111549649047108e-18, + 5.247727854080232e-19, + 2.538755381860632e-19, + -1.0581026868107202e-19, + -1.452236166650336e-19, + 1.5601784040277493e-19, + -5.844330105726038e-19, + 2.0925284398439877e-19, + 5.011564347742365e-19, + -3.411058327908843e-19, + 1.364453501378604e-19, + -3.2742251332397146e-19, + 4.2268581507133364e-19, + -1.4008960930243999e-19, + 4.538604836818885e-19, + -7.959980020194092e-19, + 5.848009392012534e-19, + -6.01410914675026e-19, + 3.160868275402096e-19, + 3.1063706892140973e-19, + -2.471107540350908e-19, + -7.599178280070189e-19, + 1.3469723823659712e-18, + -6.950788869953722e-19, + 1.7331196421688087e-19, + -2.5828453686409633e-19, + 2.294400601401734e-19, + 1.3714328599104117e-19, + -3.748085974645528e-19, + 2.461816504760576e-19, + -1.3963587022608492e-19, + -8.542945639899467e-19, + 9.62436195295918e-19, + 8.924799413268462e-19, + -1.552906113790708e-18, + 9.219964399555809e-20, + 1.5300842015989467e-18, + -1.6590771046318536e-18, + 1.5269191343458513e-18, + -2.182081371912305e-18, + 1.2290665166923245e-18, + 4.961323849095225e-19, + -1.5593035846279362e-19, + -1.8580537335015053e-19, + -9.840129850706451e-19, + 1.7484029270699764e-18, + -1.0714942862141882e-18, + 1.3607856751782833e-18, + -2.2181633936773068e-18, + 1.2780065666013433e-18, + -1.3821979172462553e-18, + 3.826026240986629e-18, + -3.008240316151147e-18, + -1.8729682686890255e-18, + 2.9795636408158255e-18, + -1.3887552833834766e-18, + -3.2699841587526287e-20, + 3.705752536790647e-18, + -3.208204740477716e-18, + 5.74485910050376e-20, + 8.834424355031265e-19, + -1.0745955833965733e-18, + -2.7061893423707438e-18, + 2.2180624656881764e-18, + 2.578773800583614e-18, + -3.1451048885769715e-18, + 5.404344601712865e-18, + -6.7112722402682705e-18, + 3.3301215330255774e-18, + -3.947107287645638e-18, + 9.384190694010617e-18, + -7.33310293149544e-18, + -7.207989431103039e-19, + 2.7119223845407406e-18 + ], + "positive_inventory_m2": [ + 999999999999999.8 + ], + "positive_m3": [ + 5.975968276481229e+21, + 5.986658954600301e+21, + 5.998005926241845e+21, + 6.010047230742219e+21, + 6.022822816989956e+21, + 6.036374599741151e+21, + 6.050746511801418e+21, + 6.065984550996106e+21, + 6.082136820722963e+21, + 6.099253562741999e+21, + 6.117387180701065e+21, + 6.136592252750241e+21, + 6.156925531427654e+21, + 6.178445928844416e+21, + 6.201214485035359e+21, + 6.225294317173934e+21, + 6.25075054722267e+21, + 6.277650205443065e+21, + 6.30606210709443e+21, + 6.336056699566494e+21, + 6.367705877178135e+21, + 6.401082760870131e+21, + 6.436261440138111e+21, + 6.473316674705153e+21, + 6.512323553704559e+21, + 6.553357110517648e+21, + 6.596491891926686e+21, + 6.641801480858361e+21, + 6.689357972820496e+21, + 6.73923140704937e+21, + 6.791489154536613e+21, + 6.84619526634206e+21, + 6.903409787049413e+21, + 6.963188039751546e+21, + 7.02557989058836e+21, + 7.090629002550537e+21, + 7.158372089916621e+21, + 7.228838186258646e+21, + 7.302047940336976e+21, + 7.378012955306262e+21, + 7.45673518736025e+21, + 7.538206420157169e+21, + 7.622407830981198e+21, + 7.709309663532688e+21, + 7.798871020419183e+21, + 7.891039785850308e+21, + 7.985752685720036e+21, + 8.08293548826576e+21, + 8.182503343965175e+21, + 8.284361258456629e+21, + 8.388404687268741e+21, + 8.49452023634845e+21, + 8.602586448023094e+21, + 8.712474648492751e+21, + 8.824049830504356e+21, + 8.937171543693409e+21, + 9.051694765453078e+21, + 9.167470727097856e+21, + 9.284347673542117e+21, + 9.402171539513892e+21, + 9.5207865312873e+21, + 9.640035609560572e+21, + 9.759760876106433e+21, + 9.879803873649203e+21, + 1.0000005814574731e+22, + 1.0120207759165853e+22, + 1.0240250767667611e+22, + 1.0359976052349643e+22, + 1.047922515574742e+22, + 1.0597840179374294e+22, + 1.0715664083603046e+22, + 1.0832541074324145e+22, + 1.0948317085831575e+22, + 1.106284036256127e+22, + 1.1175962135315821e+22, + 1.1287537380952176e+22, + 1.1397425648552206e+22, + 1.1505491930303762e+22, + 1.1611607551849953e+22, + 1.1715651054969226e+22, + 1.1817509045077681e+22, + 1.1917076977197165e+22, + 1.2014259856487945e+22, + 1.2108972832981653e+22, + 1.2201141674508733e+22, + 1.229070310659224e+22, + 1.2377605013114611e+22, + 1.2461806496392906e+22, + 1.2543277799880553e+22, + 1.2622000100652486e+22, + 1.2697965182197298e+22, + 1.2771175000571879e+22, + 1.2841641158829035e+22, + 1.2909384305657252e+22, + 1.297443347458432e+22, + 1.3036825379868168e+22, + 1.3096603684502187e+22, + 1.3153818254646736e+22, + 1.3208524413430948e+22, + 1.326078220548878e+22, + 1.331065568194133e+22, + 1.3358212213850304e+22, + 1.3403521840528973e+22, + 1.3446656657567357e+22, + 1.348769024797804e+22, + 1.3526697158630477e+22, + 1.3563752422996403e+22, + 1.3598931130296692e+22, + 1.3632308040343937e+22, + 1.366395724272057e+22, + 1.3693951858452063e+22, + 1.3722363781939498e+22, + 1.3749263460652965e+22, + 1.377471970992838e+22, + 1.379879956010099e+22, + 1.382156813320362e+22, + 1.3843088546476994e+22, + 1.3863421840018823e+22, + 1.3882626926002244e+22, + 1.390076055702177e+22, + 1.3917877311281406e+22, + 1.3934029592480203e+22, + 1.3949267642426317e+22, + 1.3963639564562671e+22, + 1.3977191356757298e+22, + 1.398996695185526e+22, + 1.4002008264650713e+22, + 1.4013355244067127e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22 + ], + "sheet_charge_C_m2": [ + -2.5841505946391707e-13 + ], + "trace_potential_V": [ + [ + -0.044105008145334926, + -0.044105008145334926 + ] + ], + "trace_state_m3": [ + [ + 456691585972.8081, + 13851157354727.346, + 21854912500942.438, + 289440967545.14105 + ] + ] + }, + "state_time": "0-", + "study_spec_sha256": "f140505c3a7ec7c52fe38c46f36d53b876a87c2ee50512568cb62671b05c6a73", + "verification": { + "dc_certificate_evaluation": "saved_QF_and_ion_coordinates_with_QSS_interface", + "provenance_assurance": "content_bound_claims_not_independently_verified", + "provenance_only": [ + "environment", + "created_utc", + "dc_state.certificate.optimizer_success", + "dc_state.certificate.optimizer_nfev" + ], + "recomputed": [ + "preparation_checks", + "dc_state.certificate.maximum_normalized_residual", + "dc_state.certificate.electron_continuity_bound_A_m2", + "dc_state.certificate.hole_continuity_bound_A_m2", + "dc_state.certificate.maximum_ion_electrochemical_residual", + "dc_state.certificate.maximum_ionic_face_current_A_m2", + "dc_state.certificate.maximum_ion_inventory_relative_error", + "dc_state.certificate.face_current_spread_A_m2", + "dc_state.certificate.poisson_residual", + "dc_state.certificate.maximum_bulk_trap_balance_relative_error", + "dc_state.certificate.maximum_interface_residual", + "dc_state.certificate.maximum_interface_gauss_residual", + "dc_state.certificate.contact_thermodynamics", + "dc_state.certificate.certified", + "dc_state.certificate.reasons" + ], + "schema": "R1PreparationVerificationV1" + } + }, + "prepared_v52": { + "contact_certificate": { + "built_in_potential_mode": "semiconductor_work_function", + "contact_quasi_fermi_levels_eV": [ + -4.75, + -4.75, + -4.75, + -4.75 + ], + "fermi_level_span_eV": 0.0, + "message": "carrier reservoirs, Poisson drop, and any explicit metal work functions agree within the fixed internal 0.005 eV gate", + "metal_work_function_mismatch_eV": null, + "potential_mismatch_V": 0.0, + "status": "certified", + "tolerance_eV": 0.005 + }, + "contact_velocities_m_s": [ + null, + null, + null, + null + ], + "created_utc": "2026-10-04T06:20:15.251178+00:00", + "dc_state": { + "bulk_trap_occupancy": null, + "certificate": { + "certified": true, + "contact_thermodynamics": { + "built_in_potential_mode": "semiconductor_work_function", + "contact_quasi_fermi_levels_eV": [ + -4.75, + -4.75, + -4.75, + -4.75 + ], + "fermi_level_span_eV": 0.0, + "message": "carrier reservoirs, Poisson drop, and any explicit metal work functions agree within the fixed internal 0.005 eV gate", + "metal_work_function_mismatch_eV": null, + "potential_mismatch_V": 0.0, + "status": "certified", + "tolerance_eV": 0.005 + }, + "electron_continuity_bound_A_m2": 1.1184596649749649e-14, + "face_current_spread_A_m2": 1.3778251992817186e-14, + "hole_continuity_bound_A_m2": 7.498620952408058e-15, + "maximum_bulk_trap_balance_relative_error": 0.0, + "maximum_interface_gauss_residual": 1.1525846796807146e-16, + "maximum_interface_residual": 5.911935396226584e-13, + "maximum_ion_electrochemical_residual": 1.3500311979441904e-13, + "maximum_ion_inventory_relative_error": 1.25e-16, + "maximum_ionic_face_current_A_m2": 7.422272084186715e-15, + "maximum_normalized_residual": 1.3500311979441904e-13, + "optimizer_nfev": 8, + "optimizer_success": true, + "poisson_residual": 4.153258051894781e-16, + "reasons": [] + }, + "electron_density_m3": [ + 2515095827087.2163, + 2508690631696.646, + 2501917204129.2607, + 2494757275493.3613, + 2487192033991.0034, + 2479202157038.6416, + 2470767851312.4585, + 2461868901500.0137, + 2452484728555.2803, + 2442594458251.8047, + 2432177000815.2935, + 2421211142384.193, + 2409675648989.5396, + 2397549383668.6123, + 2384811437214.326, + 2371441272924.3706, + 2357418885534.567, + 2342724974307.4097, + 2327341129989.365, + 2311250035052.0957, + 2294435676291.0874, + 2276883568473.573, + 2258580987303.9023, + 2239517209522.983, + 2219683757476.8037, + 2199074644994.499, + 2177686620921.2935, + 2155519406170.9656, + 2132575919715.1453, + 2108862488540.9114, + 2084389036298.3472, + 2059169245161.9558, + 2033220685364.3179, + 2006564906951.5332, + 1979227488586.0938, + 1951238038697.5344, + 1922630144963.5725, + 1893441269008.7097, + 1863712584313.4111, + 1833488756628.4297, + 1802817667649.507, + 1771750084287.578, + 1740339277514.8389, + 1708640596411.1902, + 1676711004611.8428, + 1644608587781.8958, + 1612392041950.868, + 1580120153449.2964, + 1547851281747.1262, + 1515642856648.011, + 1483550901017.843, + 1451629589515.6409, + 1419930852661.7512, + 1388504034069.1252, + 1357395606835.0393, + 1326648953027.926, + 1296304208003.2842, + 1266398169047.0623, + 1236964265685.2722, + 1208032587017.3018, + 1179629959721.1523, + 1151780069020.0222, + 1124503613948.3423, + 1097818487742.7344, + 1071739974118.8923, + 1046280950558.4292, + 1021452090480.1692, + 997262057243.1061, + 973717684246.0251, + 950824136863.0034, + 928585053490.0447, + 907002664487.3279, + 886077889200.5787, + 865810412465.1154, + 846198742985.4603, + 827240256708.9993, + 808931228761.7195, + 791266857693.8746, + 774241285715.8658, + 757847618327.4086, + 742077946298.5299, + 726923372403.0231, + 712374044679.454, + 698419197352.8784, + 685047199930.4269, + 672245614420.5812, + 660001260142.3297, + 648300285202.4563, + 637128243432.2267, + 626470175388.9976, + 616310691935.4205, + 606634058900.0874, + 597424281381.4108, + 588665186370.1891, + 580340502517.5531, + 572433936050.9673, + 564929242029.2695, + 557810290317.698, + 551061125846.0918, + 544666022883.9592, + 538609533217.79285, + 532876528248.72394, + 527452235139.79785, + 522322267232.4558, + 517472649022.1628, + 512889836034.89526, + 508560729981.61743, + 504472689588.7589, + 500613537511.6615, + 496971563736.58417, + 493535525868.1365, + 490294646682.96277, + 487238609311.59143, + 484357550386.4812, + 481642051469.93933, + 479083129049.43365, + 476672223361.49316, + 474401186279.84064, + 472262268478.3778, + 470248106055.69525, + 468351706785.7396, + 466566436138.2424, + 464886003193.3712, + 463304446557.7517, + 461816120372.8127, + 460415680492.35834, + 459098070893.27466, + 457858510372.19836, + 21799211820636.355, + 21740215831273.977, + 21677749190110.21, + 21611629734458.047, + 21541668551084.117, + 21467670101502.91, + 21389432410726.027, + 21306747327565.45, + 21219400865094.94, + 21127173630339.2, + 21029841352679.387, + 20927175520747.004, + 20818944137806.434, + 20704912605665.945, + 20584844747007.61, + 20458503975699.49, + 20325654624005.395, + 20186063434701.074, + 20039501224803.75, + 19885744725935.52, + 19724578604218.004, + 19555797659945.785, + 19379209204149.504, + 19194635605439.727, + 19001916996271.113, + 18800914122895.87, + 18591511317945.59, + 18373619568710.875, + 18147179647920.957, + 17912165267331.523, + 17668586207739.18, + 17416491372471.365, + 17155971705149.043, + 16887162906804.27, + 16610247882698.617, + 16325458845624.227, + 16033079000528.908, + 15733443735312.555, + 15426941244884.584, + 15114012520409.7, + 14795150643237.29, + 14470899333509.21, + 14141850716814.3, + 13808642288384.348, + 13471953072963.822, + 13132498999067.992, + 12791027528383.49, + 12448311603655.41, + 12105143000772.22, + 11762325191844.56, + 11420665844891.908, + 11080969101361.58, + 10744027784134.918, + 10410615695284.697, + 10081480164037.78, + 9757335000995.506, + 9438854004592.014, + 9126665150511.533, + 8821345574810.764, + 8523417437819.2705, + 8233344729497.923, + 7951531049111.901, + 7678318364017.232, + 7413986725373.32, + 7158754893736.535, + 6912781805764.311, + 6676168795369.687, + 6448962469109.362, + 6231158126553.759, + 6022703611870.292, + 5823503482561.221, + 5633423384811.669, + 5452294531625.266, + 5279918189189.976, + 5116070088033.601, + 4960504687804.226, + 4812959237282.972, + 4673157583983.047, + 4540813699891.58, + 4415634901240.504, + 4297324750357.685, + 4185585636502.104, + 4080121040049.225, + 3980637490442.7734, + 3886846233047.8228, + 3798464623509.5303, + 3715217270569.4175, + 3636836949680.1875, + 3563065310312.195, + 3493653399745.203, + 3428362025500.035, + 3366961977527.8296, + 3309234129961.15, + 3254969440721.915, + 3203968865675.293, + 3156043202370.2734, + 3111012876776.559, + 3068707684849.5845, + 3028966499257.373, + 2991636950213.222, + 2956575088070.922, + 2923645034182.4326, + 2892718625468.232, + 2863675057228.5137, + 2836400527904.354, + 2810787888784.7427, + 2786736301042.4497, + 2764150901949.6064, + 2742942481674.657, + 2723027171682.253, + 2704326145438.9585, + 2686765331862.926, + 2670275141738.2505, + 2654790207140.753, + 2640249133774.399, + 2626594266011.937, + 2613771464341.5967, + 2601729894856.4185, + 2590421830376.7974, + 2579802462757.5044, + 2569829725914.7524, + 2560464129089.3286, + 2551668599864.51, + 2543408336451.9766, + 2535650668771.033, + 2528364927853.022, + 2521522323118.466, + 2515095827087.2163 + ], + "electron_qf_increment_V": [ + 0.0, + 4.479083986753903e-16, + 9.248164495085777e-16, + 1.4326052021117251e-15, + 1.9732776266939076e-15, + 2.5489663963111203e-15, + 3.606031342450554e-15, + 3.8146221289668494e-15, + 4.50957957286392e-15, + 5.249553281759087e-15, + 6.037457965825268e-15, + 7.320484238677215e-15, + 8.21375312211503e-15, + 8.720773990215667e-15, + 1.0177546206681785e-14, + 1.1255769200767327e-14, + 1.195965882290681e-14, + 1.3625961283962814e-14, + 1.4927164639950127e-14, + 1.5868316404482923e-14, + 1.7342949355282837e-14, + 1.8912650672075748e-14, + 2.058343401325074e-14, + 2.23616654397411e-14, + 2.3809989025989282e-14, + 2.67118764244685e-14, + 2.796621300246998e-14, + 3.1133629697510685e-14, + 3.311383763678592e-14, + 3.569195663127939e-14, + 3.843309449355486e-14, + 4.134688607930157e-14, + 4.444340442177713e-14, + 4.817724617415951e-14, + 5.122707697703341e-14, + 5.493650949641265e-14, + 5.887319091277279e-14, + 6.304922153062345e-14, + 6.747703018360537e-14, + 7.216933019856266e-14, + 7.713906595106954e-14, + 8.239934933613389e-14, + 8.840747486037542e-14, + 9.384438828763738e-14, + 1.0049957145051243e-13, + 1.0660959629144536e-13, + 1.13963433258027e-13, + 1.207968945826159e-13, + 1.2845383329456047e-13, + 1.3650101457725838e-13, + 1.4494840733032014e-13, + 1.5380493582516124e-13, + 1.6307831789910404e-13, + 1.7277490308152052e-13, + 1.828995135373529e-13, + 1.934552907636881e-13, + 2.0444355130065858e-13, + 2.1630774376854818e-13, + 2.277128860015179e-13, + 2.4043044729778756e-13, + 2.5267693235952353e-13, + 2.6577516435149743e-13, + 2.7926927377687277e-13, + 2.9358923015006085e-13, + 3.073863303675149e-13, + 3.2197414226979504e-13, + 3.3688769125763385e-13, + 3.521040119523384e-13, + 3.6715410094776763e-13, + 3.8334351758741595e-13, + 3.993116687844164e-13, + 4.1591698625314194e-13, + 4.317962468431829e-13, + 4.482497800719498e-13, + 4.648008125833614e-13, + 4.814161579935898e-13, + 4.980623755563008e-13, + 5.147060186246411e-13, + 5.313138805618232e-13, + 5.478532343211119e-13, + 5.647361524264774e-13, + 5.805992796322366e-13, + 5.971890182587807e-13, + 6.131444663388154e-13, + 6.288825673534069e-13, + 6.43933722386837e-13, + 6.596064510725223e-13, + 6.741025129556626e-13, + 6.887342364529931e-13, + 7.030395939583421e-13, + 7.174467710462551e-13, + 7.310537323960116e-13, + 7.438486584617774e-13, + 7.567099168135727e-13, + 7.691855693739479e-13, + 7.812696670449922e-13, + 7.929580839118809e-13, + 8.04692518355791e-13, + 8.151399486080391e-13, + 8.256334188829257e-13, + 8.357310356505041e-13, + 8.454362983433831e-13, + 8.551979820196806e-13, + 8.636895735447224e-13, + 8.722500466348562e-13, + 8.804428557652919e-13, + 8.887203605361631e-13, + 8.957591843187073e-13, + 9.029010053040977e-13, + 9.097115685677277e-13, + 9.162010432887495e-13, + 9.22379850276937e-13, + 9.287026751620707e-13, + 9.334038634317037e-13, + 9.391586950384985e-13, + 9.442015437629409e-13, + 9.489871646731387e-13, + 9.535261142352196e-13, + 9.578288008304183e-13, + 9.619054504095387e-13, + 9.657660779061161e-13, + 9.694204631642256e-13, + 9.72878130392474e-13, + 9.761483324207252e-13, + 9.79240037612585e-13, + 9.821619202842185e-13, + 9.849223537939804e-13, + 9.875294069101679e-13, + 9.820739515864572e-13, + 9.821704198344187e-13, + 9.81800281388265e-13, + 9.81406167701304e-13, + 9.805424313990336e-13, + 9.80095591147512e-13, + 9.796197897097186e-13, + 9.791131437159324e-13, + 9.79017736041007e-13, + 9.779991619477644e-13, + 9.778315019136867e-13, + 9.771800637138249e-13, + 9.764863539397984e-13, + 9.757476221282777e-13, + 9.74516850067137e-13, + 9.73679097188041e-13, + 9.72786953463896e-13, + 9.718368834431085e-13, + 9.708251244328243e-13, + 9.701917607327142e-13, + 9.681561750492106e-13, + 9.678224596155029e-13, + 9.665212601732063e-13, + 9.646915428462253e-13, + 9.63216042977243e-13, + 9.616448899473555e-13, + 9.59971946497578e-13, + 9.581907018643706e-13, + 9.562942531612916e-13, + 9.54275287529803e-13, + 9.521260645340249e-13, + 9.498383984377919e-13, + 9.478477320097284e-13, + 9.45256764342152e-13, + 9.420558837261167e-13, + 9.395672463262841e-13, + 9.36003875740074e-13, + 9.32686908103009e-13, + 9.29160610047626e-13, + 9.254128310005711e-13, + 9.218750132804234e-13, + 9.172017651561906e-13, + 9.127117797737499e-13, + 9.083910674263881e-13, + 9.028930027654602e-13, + 8.975351850912471e-13, + 8.923027070164494e-13, + 8.858482384215268e-13, + 8.79488929657121e-13, + 8.72765633779135e-13, + 8.656634838086757e-13, + 8.581679512111202e-13, + 8.502650093147299e-13, + 8.419413127028041e-13, + 8.331843901730418e-13, + 8.23982851829343e-13, + 8.143266049907722e-13, + 8.042070784113074e-13, + 7.940615397479259e-13, + 7.825528765871425e-13, + 7.710107107802529e-13, + 7.589907187761148e-13, + 7.464952723492701e-13, + 7.335295237682949e-13, + 7.205456404136848e-13, + 7.062224725816813e-13, + 6.919065186944916e-13, + 6.771710659600116e-13, + 6.624807102684489e-13, + 6.469708476432993e-13, + 6.30668007226515e-13, + 6.144896891030867e-13, + 5.980237074621795e-13, + 5.817483825620885e-13, + 5.643677095051166e-13, + 5.472519210534287e-13, + 5.299962368973871e-13, + 5.130850211741121e-13, + 4.947827658628756e-13, + 4.777950334334205e-13, + 4.603862809910328e-13, + 4.4304081643852473e-13, + 4.257979012142536e-13, + 4.086955018175538e-13, + 3.917699822118794e-13, + 3.7505583159753413e-13, + 3.585854287316638e-13, + 3.4238884781345883e-13, + 3.2693779271116945e-13, + 3.113691272649625e-13, + 2.957052476251398e-13, + 2.808540462177563e-13, + 2.6638846557762686e-13, + 2.523228868711966e-13, + 2.386691006681822e-13, + 2.2588048245281383e-13, + 2.1263165329968396e-13, + 2.0025949606518653e-13, + 1.8832240160368954e-13, + 1.7682086298683175e-13, + 1.657535412367329e-13, + 1.5511742455140866e-13, + 1.4490798841121796e-13, + 1.3511935455489452e-13, + 1.2574444699086299e-13, + 1.1721923206584759e-13, + 1.0820241728620108e-13, + 1.0046057002301753e-13, + 9.220690869321097e-14, + 8.520685063262119e-14, + 7.722860778772966e-14, + 7.136916214350727e-14, + 6.450804002867961e-14, + 5.84096269100318e-14, + 5.261781563620273e-14, + 4.756469841850613e-14, + 4.190609082304767e-14, + 3.74065653435498e-14, + 3.27222470232948e-14, + 2.7841744051210177e-14, + 2.3642090857919714e-14, + 1.9668328902835252e-14, + 1.5465796168342888e-14, + 1.2356501194373924e-14, + 8.998244262548232e-15, + 5.825519077271725e-15, + 2.8290730427388476e-15, + 0.0 + ], + "hole_density_m3": [ + 2515095827087.2163, + 2521517376239.463, + 2528343867252.1826, + 2535600189073.5825, + 2543312672678.547, + 2551509162524.7666, + 2560219089816.9023, + 2569473547345.592, + 2579305365609.43, + 2589749189870.2666, + 2600841557715.43, + 2612620976629.159, + 2625128000980.195, + 2638405307741.533, + 2652497770152.43, + 2667452528413.5786, + 2683319056389.6597, + 2700149223158.2173, + 2717997348106.873, + 2736920248142.079, + 2756977275423.2095, + 2778230343898.3184, + 2800743942775.3574, + 2824585134940.009, + 2849823538220.4927, + 2876531287313.9463, + 2904782974141.502, + 2934655564390.124, + 2966228288049.925, + 2999582501869.4297, + 3034801521846.846, + 3071970424162.2466, + 3111175813338.698, + 3152505556921.659, + 3196048486579.4707, + 3241894066250.5356, + 3290132028809.6787, + 3340851983655.828, + 3394142998630.8657, + 3450093160726.0225, + 3508789121066.956, + 3570315630640.5156, + 3634755074055.5957, + 3702187009261.2847, + 3772687721459.2773, + 3846329799403.1855, + 3923181741762.7197, + 4003307600211.144, + 4086766664311.488, + 4173613191138.8545, + 4263896179920.0967, + 4357659188859.0986, + 4454940187911.786, + 4555771437729.7705, + 4660179381558.677, + 4768184533790.243, + 4879801346434.432, + 4995038033235.377, + 5113896330798.029, + 5236371177073.222, + 5362450290024.977, + 5492113633306.382, + 5625332761209.474, + 5762070041884.159, + 5902277765514.964, + 6045897152467.5205, + 6192857284863.386, + 6343073993171.592, + 6496448736658.453, + 6652867522440.93, + 6812199912027.99, + 6974298166232.389, + 7138996578975.091, + 7306111047687.907, + 7475438922780.2, + 7646759171142.285, + 7819832879262.933, + 7994404110612.954, + 8170201120051.015, + 8346937915715.048, + 8524316146720.175, + 8702027283635.226, + 8879755048648.73, + 9057178044001.918, + 9233972521049.365, + 9409815228376.953, + 9584386275906.818, + 9757371952750.31, + 9928467439650.898, + 10097379361875.836, + 10263828135032.535, + 10427550064171.508, + 10588299165192.426, + 10745848686629.28, + 10899992318962.803, + 11050545087293.77, + 11197343931266.57, + 11340247983292.71, + 11479138562216.635, + 11613918904556.387, + 11744513659186.791, + 11870868173977.332, + 11992947604390.713, + 12110735874558.635, + 12224234521010.447, + 12333461448098.715, + 12438449622504.135, + 12539245732051.46, + 12635908831605.023, + 12728508996179.402, + 12817125998663.074, + 12901848026826.057, + 12982770451646.291, + 13059994656480.348, + 13133626934295.629, + 13203777458053.055, + 13270559327474.787, + 13334087693760.3, + 13394478962424.215, + 13451850073229.49, + 13506317855218.848, + 13557998454071.36, + 13607006828410.482, + 13653456311253.195, + 13697458232466.842, + 13739121597949.793, + 13778552821143.564, + 13815855502492.732, + 290180538265.99115, + 290967995395.2472, + 291806449295.52466, + 292699213229.54645, + 293649816627.8212, + 294662019211.8373, + 295739826023.1233, + 296887503410.5536, + 298109596029.39276, + 299410944907.1897, + 300796706631.8759, + 302272373718.29016, + 303843796208.03485, + 305517204556.64307, + 307299233859.4539, + 309196949463.3279, + 311217874006.2341, + 313370015918.59985, + 315661899410.68384, + 318102595957.19604, + 320701757273.9108, + 323469649760.915, + 326417190361.98975, + 329555983759.3718, + 332898360786.029, + 336457417894.6302, + 340247057469.6934, + 344282028708.9713, + 348577968729.3917, + 353151443470.2788, + 358019987873.3097, + 363202144711.4427, + 368717501319.25195, + 374586723343.2036, + 380831584482.7307, + 387474991032.83, + 394540999866.7426, + 402054828315.1392, + 410042854211.3144, + 418532604181.46356, + 427552728074.7983, + 437132957254.5065, + 447304044318.84424, + 458097681703.3303, + 469546396540.6217, + 481683419143.4813, + 494542522539.90656, + 508157830649.2136, + 522563592957.9715, + 537793923954.2584, + 553882506121.293, + 570862255988.0336, + 588764953593.2751, + 607620836737.8927, + 627458162570.6604, + 648302740355.6886, + 670177440675.5829, + 693101687788.7157, + 717090943331.698, + 742156190968.9143, + 768303432871.0387, + 795533209970.2169, + 823840158714.4127, + 853212617445.9954, + 883632295497.9269, + 915074017579.8136, + 947505554987.5366, + 980887553609.0275, + 1015173566640.5638, + 1050310197427.1599, + 1086237354981.4829, + 1122888621627.746, + 1160191728990.294, + 1198069135342.98, + 1236438694300.6128, + 1275214402104.0803, + 1314307208460.3555, + 1353625874133.138, + 1393077857329.0203, + 1432570210411.324, + 1472010468614.8296, + 1511307513193.0671, + 1550372392745.658, + 1589119088270.532, + 1627465209649.5527, + 1665332613705.6755, + 1702647936539.9224, + 1739343035459.4631, + 1775355338341.7637, + 1810628100652.4126, + 1845110572472.731, + 1878758079755.4583, + 1911532025562.6362, + 1943399818247.9429, + 1974334734418.3425, + 2004315725064.5447, + 2033327173510.3147, + 2061358613828.6257, + 2088404418151.9753, + 2114463460891.9895, + 2139538767339.212, + 2163637153455.9543, + 2186768862957.5393, + 2208947207016.7876, + 2230188211161.9976, + 2250510273188.3203, + 2269933835180.183, + 2288481072070.6855, + 2306175598547.246, + 2323042195552.7686, + 2339106557144.1494, + 2354395058039.811, + 2368934541828.2715, + 2382752129502.6694, + 2395875047747.058, + 2408330476198.324, + 2420145412765.2275, + 2431346555977.0073, + 2441960203261.6323, + 2452012164015.7334, + 2461527686308.6074, + 2470531396074.1904, + 2479047247660.4946, + 2487098484649.6377, + 2494707609901.1533, + 2501896363830.9556, + 2508685709991.6157, + 2515095827087.2163 + ], + "hole_qf_increment_V": [ + 0.0, + 2.1911028537977006e-15, + 4.511843492930702e-15, + 6.969132361549209e-15, + 9.570152634928243e-15, + 1.2322358462222014e-14, + 1.5233471384249696e-14, + 1.8311474411497246e-14, + 2.1564603578545794e-14, + 2.500133678302747e-14, + 2.863037932690047e-14, + 3.246064622708706e-14, + 3.6501240541323364e-14, + 4.076142787187241e-14, + 4.5250606280380686e-14, + 4.997827144320497e-14, + 5.406579862351218e-14, + 6.01872896528205e-14, + 6.568773812965693e-14, + 7.14647575256145e-14, + 7.752762689210295e-14, + 8.388540134479913e-14, + 9.054683848327192e-14, + 9.75203185912477e-14, + 1.0481375997042504e-13, + 1.1243452855631621e-13, + 1.203893436622418e-13, + 1.2779600063153739e-13, + 1.3732416134715897e-13, + 1.463134661542844e-13, + 1.5565521333605332e-13, + 1.6535136237946412e-13, + 1.7540260961279394e-13, + 1.8580828893849858e-13, + 1.965662772572451e-13, + 2.0767290733499671e-13, + 2.1912288879806797e-13, + 2.3090924016554357e-13, + 2.43023233110059e-13, + 2.554543511543336e-13, + 2.673020852287259e-13, + 2.8121681801729576e-13, + 2.945180499347092e-13, + 3.0807621334269976e-13, + 3.2098365233480957e-13, + 3.358837641737888e-13, + 3.500893067874021e-13, + 3.644642946172997e-13, + 3.789832378740958e-13, + 3.936194706433109e-13, + 4.0834531748314335e-13, + 4.231322752135428e-13, + 4.379512073272224e-13, + 4.5277254965350367e-13, + 4.675665234149606e-13, + 4.823033538552658e-13, + 4.969534916690608e-13, + 5.114878336242708e-13, + 5.25877939408042e-13, + 5.400962429468119e-13, + 5.541162534885304e-13, + 5.679127450040215e-13, + 5.814619308887956e-13, + 5.947416211368573e-13, + 6.06843181990394e-13, + 6.204125449909207e-13, + 6.32768516833387e-13, + 6.447846337924703e-13, + 6.564483154872666e-13, + 6.677490646251817e-13, + 6.786784638645172e-13, + 6.892301491898524e-13, + 6.993997612895966e-13, + 7.082966974558399e-13, + 7.185849158514885e-13, + 7.276010471452473e-13, + 7.362360611203569e-13, + 7.43606067792023e-13, + 7.514930728031899e-13, + 7.590157654287054e-13, + 7.670702665703401e-13, + 7.738890924503602e-13, + 7.803700833138166e-13, + 7.865235526022725e-13, + 7.923603338154549e-13, + 7.97891656545255e-13, + 8.031290315039544e-13, + 8.080841445063026e-13, + 8.127687601668976e-13, + 8.171946365610268e-13, + 8.213734485278333e-13, + 8.244285436721839e-13, + 8.290357777937358e-13, + 8.325416828859886e-13, + 8.358452123697749e-13, + 8.389568172400531e-13, + 8.418866000432645e-13, + 8.446442969617603e-13, + 8.472392647842784e-13, + 8.496804738183398e-13, + 8.51976503974019e-13, + 8.541355454795467e-13, + 8.561654021036632e-13, + 8.580734967985008e-13, + 8.598668804108519e-13, + 8.615522406996603e-13, + 8.631359136845698e-13, + 8.646238957646476e-13, + 8.660218562889163e-13, + 8.673351506974167e-13, + 8.685688342706109e-13, + 8.697276752677093e-13, + 8.708161689999164e-13, + 8.718385506214774e-13, + 8.727988086662645e-13, + 8.737006976417451e-13, + 8.745477505266358e-13, + 8.753432906860478e-13, + 8.760904434176257e-13, + 8.767921472833307e-13, + 8.774511643174371e-13, + 8.780700902559128e-13, + 8.786513641728574e-13, + 8.79197277838431e-13, + 8.797099840097934e-13, + 8.80191504803817e-13, + 8.806437396862512e-13, + 8.810684724026214e-13, + 8.774043660385864e-13, + 8.747198272070472e-13, + 8.718773619092547e-13, + 8.679805029371121e-13, + 8.647970110675664e-13, + 8.623179888469197e-13, + 8.587578892795153e-13, + 8.549954193267103e-13, + 8.501326639421219e-13, + 8.468241755608976e-13, + 8.415070359195362e-13, + 8.368353828513071e-13, + 8.319104817886999e-13, + 8.267216582596408e-13, + 8.221463447472786e-13, + 8.163974197071285e-13, + 8.10352338871834e-13, + 8.040004892833214e-13, + 7.973314431889417e-13, + 7.903350426935966e-13, + 7.830014904035652e-13, + 7.753214507439928e-13, + 7.672861570379862e-13, + 7.588875285764412e-13, + 7.501182924451015e-13, + 7.40972114355851e-13, + 7.314437329455078e-13, + 7.215291001539107e-13, + 7.112255236663585e-13, + 6.996436315187192e-13, + 6.894484067128735e-13, + 6.779775414241143e-13, + 6.661233555958268e-13, + 6.530038489957155e-13, + 6.412918822497791e-13, + 6.283334900743615e-13, + 6.15029740883342e-13, + 6.01395898736929e-13, + 5.874496307684081e-13, + 5.732110058556655e-13, + 5.587024640340644e-13, + 5.439487482827536e-13, + 5.289768047659206e-13, + 5.138156435860194e-13, + 4.984961638457897e-13, + 4.830509430528576e-13, + 4.675139938454023e-13, + 4.5192048819533763e-13, + 4.363064537146837e-13, + 4.2070844996079934e-13, + 4.0516322719915503e-13, + 3.8970737373159286e-13, + 3.7348878376256486e-13, + 3.5920719988465944e-13, + 3.4423208892631306e-13, + 3.294841054524229e-13, + 3.149939040387482e-13, + 3.007900545899166e-13, + 2.868988123765448e-13, + 2.733439314261071e-13, + 2.6014651875511375e-13, + 2.4732493268171794e-13, + 2.3489472772986306e-13, + 2.2286864064251436e-13, + 2.1125661937163344e-13, + 2.0006588935586694e-13, + 1.893010561507297e-13, + 1.7896423508919303e-13, + 1.6905520738172424e-13, + 1.586834161548443e-13, + 1.5050904962219426e-13, + 1.4186145509743705e-13, + 1.3362112746574976e-13, + 1.248908425724175e-13, + 1.183249278623215e-13, + 1.1124767377345973e-13, + 1.0453530102073047e-13, + 9.728706466232554e-14, + 9.215448403669236e-14, + 8.64597054263218e-14, + 8.107741843312627e-14, + 7.59940813634543e-14, + 7.030802395429972e-14, + 6.667042864470391e-14, + 6.240362176696281e-14, + 5.838292182988207e-14, + 5.3707620592625935e-14, + 5.103009536613046e-14, + 4.7674056688042004e-14, + 4.3628178147537335e-14, + 4.154611266512789e-14, + 3.875289684651036e-14, + 3.612674000598108e-14, + 3.365813184544067e-14, + 3.1338016787980214e-14, + 2.8269608817352138e-14, + 2.7109273641125763e-14, + 2.5184732715662792e-14, + 2.337683425882018e-14, + 2.1678646489088122e-14, + 2.008362065418247e-14, + 1.8585575181484016e-14, + 1.7178679584619522e-14, + 1.5857438183767053e-14, + 1.4616673698815722e-14, + 1.2563333353729941e-14, + 1.2357364965039802e-14, + 1.132991772726623e-14, + 1.0365111672411971e-14, + 9.459131531805569e-15, + 8.608391283062727e-15, + 6.921342847834913e-15, + 7.0593557530865425e-15, + 6.3549210215018564e-15, + 5.693424136385509e-15, + 5.072242204240602e-15, + 4.4889123458999374e-15, + 3.941122021164909e-15, + 3.4267000572876976e-15, + 2.943608045104581e-15, + 2.4899322979789204e-15, + 2.0638763410383675e-15, + 1.663753659720769e-15, + 1.287981112411347e-15, + 9.350724461945074e-16, + 6.036324960607968e-16, + -5.958268916459084e-16, + 0.0 + ], + "interface_occupancy": [ + 7.928333613737113e-05 + ], + "negative_ion_density_m3": null, + "positive_ion_density_m3": [ + 5.975968276481229e+21, + 5.986658954600301e+21, + 5.998005926241845e+21, + 6.010047230742219e+21, + 6.022822816989956e+21, + 6.036374599741151e+21, + 6.050746511801418e+21, + 6.065984550996106e+21, + 6.082136820722963e+21, + 6.099253562741999e+21, + 6.117387180701065e+21, + 6.136592252750241e+21, + 6.156925531427654e+21, + 6.178445928844416e+21, + 6.201214485035359e+21, + 6.225294317173934e+21, + 6.25075054722267e+21, + 6.277650205443065e+21, + 6.30606210709443e+21, + 6.336056699566494e+21, + 6.367705877178135e+21, + 6.401082760870131e+21, + 6.436261440138111e+21, + 6.473316674705153e+21, + 6.512323553704559e+21, + 6.553357110517648e+21, + 6.596491891926686e+21, + 6.641801480858361e+21, + 6.689357972820496e+21, + 6.73923140704937e+21, + 6.791489154536613e+21, + 6.84619526634206e+21, + 6.903409787049413e+21, + 6.963188039751546e+21, + 7.02557989058836e+21, + 7.090629002550537e+21, + 7.158372089916621e+21, + 7.228838186258646e+21, + 7.302047940336976e+21, + 7.378012955306262e+21, + 7.45673518736025e+21, + 7.538206420157169e+21, + 7.622407830981198e+21, + 7.709309663532688e+21, + 7.798871020419183e+21, + 7.891039785850308e+21, + 7.985752685720036e+21, + 8.08293548826576e+21, + 8.182503343965175e+21, + 8.284361258456629e+21, + 8.388404687268741e+21, + 8.49452023634845e+21, + 8.602586448023094e+21, + 8.712474648492751e+21, + 8.824049830504356e+21, + 8.937171543693409e+21, + 9.051694765453078e+21, + 9.167470727097856e+21, + 9.284347673542117e+21, + 9.402171539513892e+21, + 9.5207865312873e+21, + 9.640035609560572e+21, + 9.759760876106433e+21, + 9.879803873649203e+21, + 1.0000005814574731e+22, + 1.0120207759165853e+22, + 1.0240250767667611e+22, + 1.0359976052349643e+22, + 1.047922515574742e+22, + 1.0597840179374294e+22, + 1.0715664083603046e+22, + 1.0832541074324145e+22, + 1.0948317085831575e+22, + 1.106284036256127e+22, + 1.1175962135315821e+22, + 1.1287537380952176e+22, + 1.1397425648552206e+22, + 1.1505491930303762e+22, + 1.1611607551849953e+22, + 1.1715651054969226e+22, + 1.1817509045077681e+22, + 1.1917076977197165e+22, + 1.2014259856487945e+22, + 1.2108972832981653e+22, + 1.2201141674508733e+22, + 1.229070310659224e+22, + 1.2377605013114611e+22, + 1.2461806496392906e+22, + 1.2543277799880553e+22, + 1.2622000100652486e+22, + 1.2697965182197298e+22, + 1.2771175000571879e+22, + 1.2841641158829035e+22, + 1.2909384305657252e+22, + 1.297443347458432e+22, + 1.3036825379868168e+22, + 1.3096603684502187e+22, + 1.3153818254646736e+22, + 1.3208524413430948e+22, + 1.326078220548878e+22, + 1.331065568194133e+22, + 1.3358212213850304e+22, + 1.3403521840528973e+22, + 1.3446656657567357e+22, + 1.348769024797804e+22, + 1.3526697158630477e+22, + 1.3563752422996403e+22, + 1.3598931130296692e+22, + 1.3632308040343937e+22, + 1.366395724272057e+22, + 1.3693951858452063e+22, + 1.3722363781939498e+22, + 1.3749263460652965e+22, + 1.377471970992838e+22, + 1.379879956010099e+22, + 1.382156813320362e+22, + 1.3843088546476994e+22, + 1.3863421840018823e+22, + 1.3882626926002244e+22, + 1.390076055702177e+22, + 1.3917877311281406e+22, + 1.3934029592480203e+22, + 1.3949267642426317e+22, + 1.3963639564562671e+22, + 1.3977191356757298e+22, + 1.398996695185526e+22, + 1.4002008264650713e+22, + 1.4013355244067127e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22 + ], + "potential_V": [ + 0.0, + -6.592127310842491e-05, + -0.00013581568928608024, + -0.00020990440609618236, + -0.00028841856185545016, + -0.0003715994240758543, + -0.00045969849557844994, + -0.000552977571161631, + -0.0006517087370874158, + -0.0007561743050335873, + -0.0008666666715599128, + -0.0009834880935696542, + -0.0011069503697331566, + -0.0012373744174013848, + -0.0013750897342015972, + -0.0015204337333053048, + -0.0016737509413259672, + -0.0018353920479789124, + -0.0020057127970616443, + -0.00218507270903369, + -0.0023738336265391917, + -0.0025723580756698908, + -0.0027810074376578824, + -0.0030001399280594264, + -0.003230108383380083, + -0.0034712578585249236, + -0.00372392304244869, + -0.003988425503925857, + -0.004265070784432203, + -0.004554145360673333, + -0.0048559135052247205, + -0.005170614079938501, + -0.005498457303060356, + -0.005839621537179042, + -0.00619425015095302, + -0.006562448512733978, + -0.006944281178414515, + -0.007339769338719255, + -0.00774888859237951, + -0.008171567110832438, + -0.008607684256949208, + -0.009057069714562495, + -0.009519503177057104, + -0.009994714631948398, + -0.010482385264284699, + -0.010982148985120361, + -0.01149359457264693, + -0.012016268393459276, + -0.01254967765067109, + -0.013093294085135628, + -0.013646558036948201, + -0.014208882757843029, + -0.01477965885217951, + -0.015358258715984324, + -0.015944040840848956, + -0.016536353852994037, + -0.01713454016779492, + -0.017737939156426043, + -0.01834588974352321, + -0.018957732381969176, + -0.019572810381784735, + -0.020190470603049817, + -0.020810063555962006, + -0.021430942982641994, + -0.022052465023229398, + -0.022673987091461942, + -0.023294866600879188, + -0.02391445969102917, + -0.024532120103055992, + -0.025147198345809536, + -0.025759041277669956, + -0.02636699220662989, + -0.02697039158324344, + -0.02756857832954881, + -0.028160891813888263, + -0.028746674448607044, + -0.029325274856735806, + -0.029896051526555, + -0.030458376850697952, + -0.031011641430086417, + -0.03155525851300936, + -0.03208866843614384, + -0.03261134293698413, + -0.03312278921537351, + -0.03362255363475117, + -0.03411022497029034, + -0.03458543713018368, + -0.03504787129678997, + -0.03549725745511926, + -0.035933375296243915, + -0.03635605450188246, + -0.03676517443299265, + -0.03716066325929868, + -0.03754249657801662, + -0.03791069557854878, + -0.038265324815651744, + -0.03860648965671942, + -0.038934333469621454, + -0.03924903461631659, + -0.03955080331456852, + -0.03983987842588428, + -0.04011652422261972, + -0.040381027181375005, + -0.040633692843623455, + -0.040874842778229184, + -0.041104811674318224, + -0.04132394458703852, + -0.041532594353200704, + -0.04173111918871939, + -0.041919880475230084, + -0.042099240739265395, + -0.04226956182394077, + -0.04243120325021111, + -0.04258452076238766, + -0.042729865050712655, + -0.04286758064233497, + -0.042998004950966, + -0.04312146747477376, + -0.043238289131647664, + -0.04334878172079151, + -0.04345324749963472, + -0.0435519788652539, + -0.043645258129832734, + -0.04373335738012683, + -0.04381653841141481, + -0.04389505272698365, + -0.043969141594796375, + -0.04403903615360535, + -0.04417098013672001, + -0.04424103917608043, + -0.0443154272183328, + -0.04439439908279837, + -0.04447822294582017, + -0.04456718082568137, + -0.04466156905510166, + -0.044761698735909294, + -0.0448678961697472, + -0.04498050325787024, + -0.04509987786222858, + -0.045226394119109135, + -0.045360442695627654, + -0.04550243097833257, + -0.04565278318210574, + -0.045811940366435155, + -0.04598036034500434, + -0.046158517473409336, + -0.04634690229869933, + -0.0465460210533673, + -0.04675639497542426, + -0.04697855943531347, + -0.04721306284970169, + -0.047460465361675176, + -0.04772133726662414, + -0.04799625716318471, + -0.04828580980909063, + -0.0485905836627422, + -0.04891116809280502, + -0.04924815024028527, + -0.04960211152037137, + -0.04997362375495872, + -0.05036324493125367, + -0.05077151458724116, + -0.051198948831136896, + -0.05164603500924685, + -0.052113226044911296, + -0.05260093448037077, + -0.05310952626336759, + -0.05363931433095231, + -0.054190552054109865, + -0.054763426618210646, + -0.05535805242562378, + -0.05597446461774584, + -0.056612612823788114, + -0.05727235525247753, + -0.05795345324987956, + -0.05865556645135115, + -0.05937824865769442, + -0.06012094456445692, + -0.06088298746862276, + -0.06166359806836553, + -0.06246188445891, + -0.0632768434108469, + -0.06410736299660105, + -0.06495222660648942, + -0.06581011836843287, + -0.06667962995559854, + -0.06755926873490876, + -0.06844746717745855, + -0.06934259342053188, + -0.07024296284124425, + -0.07114685047500048, + -0.07205250408900997, + -0.07295815770298829, + -0.07386204533665124, + -0.07476241475720878, + -0.07565754100006679, + -0.07654573944234214, + -0.0774253782213206, + -0.07829488980809927, + -0.07915278156960295, + -0.07999764517900147, + -0.0808281647642187, + -0.08164312371557482, + -0.08244141010549806, + -0.08322202070458268, + -0.08398406360805713, + -0.08472675951409868, + -0.0854494417196953, + -0.08615155492039825, + -0.08683265291701338, + -0.08749239534490132, + -0.08813054355013109, + -0.08874695574143307, + -0.08934158154802184, + -0.0899144561112971, + -0.0904656938336309, + -0.09099548190039643, + -0.09150407368258112, + -0.09199178211723785, + -0.0924589731521111, + -0.09290605932944326, + -0.09333349357257632, + -0.09374176322781773, + -0.09413138440338444, + -0.0945028966372625, + -0.09485685791665914, + -0.09519384006347048, + -0.0955144244928855, + -0.09581919834591078, + -0.09610875099121219, + -0.09638367088719017, + -0.09664454279157846, + -0.09689194530301311, + -0.09712644871688415, + -0.09734861317627758, + -0.09755898709785986, + -0.09775810585207377, + -0.09794649067692993, + -0.09812464780492082, + -0.09829306778309506, + -0.09845222496704818, + -0.0986025771704631, + -0.09874456545282721, + -0.09887861402902175, + -0.09900513028559454, + -0.09912450488966072, + -0.09923711197750656, + -0.09934330941108165, + -0.09944343909164019, + -0.09953782732082457, + -0.0996267852004624, + -0.09971060906327285, + -0.0997895809275385, + -0.09986396896960184, + -0.0999340280087836, + -0.09999999999999964 + ], + "state_sha256": "1e2518483fec4895816878b52258528f5bf69fa3d310bce909fdd7f951f930a3" + }, + "environment": { + "numpy": "2.1.3", + "platform": "Linux-5.15.120.bsk.3-amd64-x86_64-with-glibc2.36", + "python": "3.13.15 (main, Sep 1 2026, 14:18:08) [Clang 22.1.3 ]", + "scipy": "1.15.3" + }, + "fixed_reference": { + "f_ref": [ + 7.928011033749389e-05 + ], + "geometry": "physical_boundary_two_sided_v1", + "maximum_difference": 1e-08, + "microscopic_documents": [ + "486dd4d2969cd6d20c1e054c0ace6e892e964173af6af62d3eb736755cbc0d71" + ], + "reference_intervals": 512, + "rungs": [ + { + "difference": null, + "f_ref": [ + 7.954622426871699e-05 + ], + "intervals": 32 + }, + { + "difference": 1.9901348908252074e-07, + "f_ref": [ + 7.934721077963447e-05 + ], + "intervals": 64 + }, + { + "difference": 5.1012362836127157e-08, + "f_ref": [ + 7.929619841679834e-05 + ], + "intervals": 128 + }, + { + "difference": 1.2861884555017203e-08, + "f_ref": [ + 7.928333653224332e-05 + ], + "intervals": 256 + }, + { + "difference": 3.2261947494337554e-09, + "f_ref": [ + 7.928011033749389e-05 + ], + "intervals": 512 + } + ], + "schema": "ReferenceBindingV1", + "scope": "synthetic_300K_dark_fixed_energy_positive_ion_reference", + "sha256": "0a6532a436dd07e6b27f01da3fc39aef906e6fd882057f0109c1bc5bdf77e39b", + "stack_sha256": "532ffb44aaf326b597c4d512e5a16548033f5c25e2a3e8fbb4fd079ab6c719ae" + }, + "grid": { + "background_positive_m3": [ + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22 + ], + "coordinates_m": [ + 0.0, + 1.180284477657667e-10, + 2.4336890655998756e-10, + 3.7645425043448255e-10, + 5.177403687497695e-10, + 6.677070475005931e-10, + 8.268588368683827e-10, + 9.957258965499204e-10, + 1.174864809197057e-09, + 1.3648593509795748e-09, + 1.5663212068502296e-09, + 1.7798906165477357e-09, + 2.006236935723021e-09, + 2.246059094821284e-09, + 2.5000859365073125e-09, + 2.769076410496385e-09, + 3.0538196026673733e-09, + 3.3551345733118517e-09, + 3.6738699773451785e-09, + 4.0109034373105086e-09, + 4.367140638093053e-09, + 4.743514110486074e-09, + 5.140981669180028e-09, + 5.560524469460215e-09, + 6.00314464598623e-09, + 6.469862496590633e-09, + 6.961713174186423e-09, + 7.479742850737674e-09, + 8.02500431895669e-09, + 8.598552000083425e-09, + 9.20143632992154e-09, + 9.834697500391564e-09, + 1.0499358540350656e-08, + 1.1196417727442192e-08, + 1.1926840332378784e-08, + 1.2691549708398314e-08, + 1.3491417751696393e-08, + 1.4327254773406317e-08, + 1.5199798840085843e-08, + 1.610970465751832e-08, + 1.7057532091699316e-08, + 1.8043734440820153e-08, + 1.9068646592437743e-08, + 2.013247322029417e-08, + 2.123527719477874e-08, + 2.2376968399076634e-08, + 2.3557293158813964e-08, + 2.4775824505627014e-08, + 2.6031953503671227e-08, + 2.7324881871775428e-08, + 2.8653616131934e-08, + 3.001696350641901e-08, + 3.141352977045519e-08, + 3.284171924481609e-08, + 3.429973708281761e-08, + 3.578559396925073e-08, + 3.729711330538659e-08, + 3.8831940905215145e-08, + 4.0387557174787265e-08, + 4.196129169046003e-08, + 4.3550340034783215e-08, + 4.515178269267585e-08, + 4.676260575747202e-08, + 4.837972314839922e-08, + 5e-08, + 5.1620276851600775e-08, + 5.3237394242527975e-08, + 5.484821730732414e-08, + 5.644965996521678e-08, + 5.8038708309539966e-08, + 5.961244282521272e-08, + 6.116805909478485e-08, + 6.27028866946134e-08, + 6.421440603074927e-08, + 6.570026291718239e-08, + 6.71582807551839e-08, + 6.85864702295448e-08, + 6.998303649358098e-08, + 7.1346383868066e-08, + 7.267511812822456e-08, + 7.396804649632877e-08, + 7.522417549437299e-08, + 7.644270684118603e-08, + 7.762303160092336e-08, + 7.876472280522126e-08, + 7.986752677970583e-08, + 8.093135340756226e-08, + 8.195626555917984e-08, + 8.294246790830068e-08, + 8.389029534248168e-08, + 8.480020115991415e-08, + 8.567274522659368e-08, + 8.65085822483036e-08, + 8.730845029160167e-08, + 8.807315966762121e-08, + 8.88035822725578e-08, + 8.950064145964933e-08, + 9.016530249960843e-08, + 9.079856367007845e-08, + 9.140144799991656e-08, + 9.19749956810433e-08, + 9.252025714926232e-08, + 9.303828682581358e-08, + 9.353013750340937e-08, + 9.399685535401376e-08, + 9.443947553053978e-08, + 9.485901833081997e-08, + 9.525648588951391e-08, + 9.563285936190695e-08, + 9.598909656268948e-08, + 9.632613002265482e-08, + 9.664486542668815e-08, + 9.694618039733263e-08, + 9.723092358950361e-08, + 9.749991406349269e-08, + 9.775394090517871e-08, + 9.799376306427697e-08, + 9.822010938345227e-08, + 9.843367879314977e-08, + 9.863514064902042e-08, + 9.882513519080293e-08, + 9.900427410345007e-08, + 9.917314116313162e-08, + 9.933229295249941e-08, + 9.948225963125024e-08, + 9.962354574956551e-08, + 9.975663109344001e-08, + 9.988197155223423e-08, + 1.0011802844776576e-07, + 1.0024336890655998e-07, + 1.0037645425043448e-07, + 1.0051774036874977e-07, + 1.0066770704750058e-07, + 1.0082685883686837e-07, + 1.0099572589654992e-07, + 1.0117486480919706e-07, + 1.0136485935097958e-07, + 1.0156632120685022e-07, + 1.0177989061654773e-07, + 1.0200623693572302e-07, + 1.0224605909482128e-07, + 1.025000859365073e-07, + 1.0276907641049638e-07, + 1.0305381960266737e-07, + 1.0335513457331185e-07, + 1.0367386997734517e-07, + 1.0401090343731051e-07, + 1.0436714063809304e-07, + 1.0474351411048606e-07, + 1.0514098166918002e-07, + 1.0556052446946021e-07, + 1.0600314464598623e-07, + 1.0646986249659063e-07, + 1.0696171317418642e-07, + 1.0747974285073767e-07, + 1.0802500431895669e-07, + 1.0859855200008343e-07, + 1.0920143632992154e-07, + 1.0983469750039156e-07, + 1.1049935854035066e-07, + 1.1119641772744218e-07, + 1.1192684033237878e-07, + 1.1269154970839832e-07, + 1.134914177516964e-07, + 1.1432725477340631e-07, + 1.1519979884008584e-07, + 1.1610970465751831e-07, + 1.1705753209169931e-07, + 1.1804373444082015e-07, + 1.1906864659243774e-07, + 1.2013247322029416e-07, + 1.2123527719477873e-07, + 1.2237696839907664e-07, + 1.2355729315881397e-07, + 1.24775824505627e-07, + 1.2603195350367122e-07, + 1.2732488187177542e-07, + 1.28653616131934e-07, + 1.3001696350641902e-07, + 1.3141352977045519e-07, + 1.3284171924481609e-07, + 1.3429973708281762e-07, + 1.3578559396925072e-07, + 1.372971133053866e-07, + 1.3883194090521514e-07, + 1.4038755717478727e-07, + 1.4196129169046003e-07, + 1.435503400347832e-07, + 1.4515178269267586e-07, + 1.4676260575747202e-07, + 1.4837972314839923e-07, + 1.5e-07, + 1.5162027685160076e-07, + 1.5323739424252796e-07, + 1.5484821730732412e-07, + 1.564496599652168e-07, + 1.5803870830953996e-07, + 1.5961244282521272e-07, + 1.6116805909478485e-07, + 1.627028866946134e-07, + 1.6421440603074926e-07, + 1.6570026291718237e-07, + 1.671582807551839e-07, + 1.685864702295448e-07, + 1.6998303649358097e-07, + 1.71346383868066e-07, + 1.7267511812822454e-07, + 1.7396804649632877e-07, + 1.7522417549437298e-07, + 1.7644270684118602e-07, + 1.7762303160092335e-07, + 1.7876472280522125e-07, + 1.7986752677970583e-07, + 1.8093135340756224e-07, + 1.8195626555917984e-07, + 1.8294246790830066e-07, + 1.8389029534248168e-07, + 1.8480020115991416e-07, + 1.8567274522659367e-07, + 1.865085822483036e-07, + 1.8730845029160167e-07, + 1.880731596676212e-07, + 1.888035822725578e-07, + 1.8950064145964933e-07, + 1.9016530249960843e-07, + 1.9079856367007846e-07, + 1.9140144799991656e-07, + 1.919749956810433e-07, + 1.925202571492623e-07, + 1.9303828682581357e-07, + 1.9353013750340937e-07, + 1.9399685535401376e-07, + 1.9443947553053976e-07, + 1.9485901833081996e-07, + 1.952564858895139e-07, + 1.9563285936190696e-07, + 1.959890965626895e-07, + 1.963261300226548e-07, + 1.9664486542668815e-07, + 1.969461803973326e-07, + 1.972309235895036e-07, + 1.9749991406349268e-07, + 1.9775394090517872e-07, + 1.9799376306427697e-07, + 1.9822010938345225e-07, + 1.9843367879314975e-07, + 1.986351406490204e-07, + 1.9882513519080293e-07, + 1.9900427410345005e-07, + 1.9917314116313163e-07, + 1.993322929524994e-07, + 1.9948225963125022e-07, + 1.996235457495655e-07, + 1.9975663109344e-07, + 1.998819715522342e-07, + 2e-07 + ], + "faces_m": [ + 0.0, + 5.901422388288336e-11, + 1.8069867716287712e-10, + 3.0991157849723505e-10, + 4.47097309592126e-10, + 5.927237081251813e-10, + 7.472829421844878e-10, + 9.112923667091516e-10, + 1.0852953528734887e-09, + 1.2698620800883158e-09, + 1.465590278914902e-09, + 1.6731059116989827e-09, + 1.8930637761353782e-09, + 2.1261480152721524e-09, + 2.3730725156642985e-09, + 2.6345811735018487e-09, + 2.911448006581879e-09, + 3.2044770879896125e-09, + 3.514502275328515e-09, + 3.842386707327844e-09, + 4.189022037701781e-09, + 4.555327374289564e-09, + 4.942247889833051e-09, + 5.350753069320121e-09, + 5.781834557723223e-09, + 6.2365035712884315e-09, + 6.7157878353885276e-09, + 7.220728012462048e-09, + 7.752373584847182e-09, + 8.311778159520058e-09, + 8.899994165002483e-09, + 9.518066915156552e-09, + 1.016702802037111e-08, + 1.0847888133896424e-08, + 1.1561629029910489e-08, + 1.230919502038855e-08, + 1.3091483730047354e-08, + 1.3909336262551355e-08, + 1.476352680674608e-08, + 1.565475174880208e-08, + 1.658361837460882e-08, + 1.7550633266259733e-08, + 1.8556190516628948e-08, + 1.9600559906365957e-08, + 2.0683875207536457e-08, + 2.180612279692769e-08, + 2.29671307789453e-08, + 2.416655883222049e-08, + 2.540388900464912e-08, + 2.6678417687723328e-08, + 2.7989249001854714e-08, + 2.9335289819176506e-08, + 3.07152466384371e-08, + 3.212762450763564e-08, + 3.357072816381685e-08, + 3.504266552603417e-08, + 3.654135363731866e-08, + 3.806452710530087e-08, + 3.960974904000121e-08, + 4.117442443262365e-08, + 4.275581586262162e-08, + 4.4351061363729534e-08, + 4.5957194225073934e-08, + 4.757116445293562e-08, + 4.918986157419961e-08, + 5.0810138425800386e-08, + 5.242883554706438e-08, + 5.404280577492606e-08, + 5.564893863627046e-08, + 5.724418413737837e-08, + 5.8825575567376345e-08, + 6.039025095999879e-08, + 6.193547289469913e-08, + 6.345864636268134e-08, + 6.495733447396582e-08, + 6.642927183618314e-08, + 6.787237549236435e-08, + 6.92847533615629e-08, + 7.066471018082349e-08, + 7.201075099814528e-08, + 7.332158231227666e-08, + 7.459611099535088e-08, + 7.583344116777952e-08, + 7.703286922105469e-08, + 7.819387720307231e-08, + 7.931612479246354e-08, + 8.039944009363405e-08, + 8.144380948337104e-08, + 8.244936673374026e-08, + 8.341638162539118e-08, + 8.434524825119792e-08, + 8.523647319325391e-08, + 8.609066373744864e-08, + 8.690851626995264e-08, + 8.769080497961144e-08, + 8.84383709700895e-08, + 8.915211186610356e-08, + 8.983297197962888e-08, + 9.048193308484345e-08, + 9.110000583499752e-08, + 9.168822184047993e-08, + 9.22476264151528e-08, + 9.277927198753794e-08, + 9.328421216461147e-08, + 9.376349642871157e-08, + 9.421816544227676e-08, + 9.464924693067987e-08, + 9.505775211016694e-08, + 9.544467262571043e-08, + 9.581097796229822e-08, + 9.615761329267215e-08, + 9.648549772467148e-08, + 9.679552291201038e-08, + 9.708855199341812e-08, + 9.736541882649815e-08, + 9.76269274843357e-08, + 9.787385198472785e-08, + 9.810693622386461e-08, + 9.832689408830102e-08, + 9.853440972108509e-08, + 9.873013791991167e-08, + 9.89147046471265e-08, + 9.908870763329084e-08, + 9.92527170578155e-08, + 9.940727629187483e-08, + 9.955290269040788e-08, + 9.969008842150276e-08, + 9.981930132283711e-08, + 1e-07, + 1.0018069867716288e-07, + 1.0030991157849723e-07, + 1.0044709730959212e-07, + 1.0059272370812518e-07, + 1.0074728294218449e-07, + 1.0091129236670915e-07, + 1.010852953528735e-07, + 1.0126986208008832e-07, + 1.014655902789149e-07, + 1.0167310591169897e-07, + 1.0189306377613538e-07, + 1.0212614801527214e-07, + 1.023730725156643e-07, + 1.0263458117350184e-07, + 1.0291144800658187e-07, + 1.0320447708798961e-07, + 1.0351450227532851e-07, + 1.0384238670732784e-07, + 1.0418902203770178e-07, + 1.0455532737428956e-07, + 1.0494224788983304e-07, + 1.0535075306932012e-07, + 1.0578183455772323e-07, + 1.0623650357128844e-07, + 1.0671578783538853e-07, + 1.0722072801246205e-07, + 1.0775237358484719e-07, + 1.0831177815952006e-07, + 1.0889999416500248e-07, + 1.0951806691515654e-07, + 1.1016702802037111e-07, + 1.1084788813389642e-07, + 1.1156162902991049e-07, + 1.1230919502038856e-07, + 1.1309148373004736e-07, + 1.1390933626255135e-07, + 1.1476352680674608e-07, + 1.1565475174880207e-07, + 1.1658361837460882e-07, + 1.1755063326625974e-07, + 1.1855619051662895e-07, + 1.1960055990636597e-07, + 1.2068387520753643e-07, + 1.2180612279692768e-07, + 1.229671307789453e-07, + 1.241665588322205e-07, + 1.2540388900464912e-07, + 1.266784176877233e-07, + 1.279892490018547e-07, + 1.293352898191765e-07, + 1.3071524663843712e-07, + 1.3212762450763565e-07, + 1.3357072816381685e-07, + 1.3504266552603417e-07, + 1.3654135363731867e-07, + 1.3806452710530088e-07, + 1.396097490400012e-07, + 1.4117442443262366e-07, + 1.427558158626216e-07, + 1.4435106136372953e-07, + 1.4595719422507394e-07, + 1.4757116445293563e-07, + 1.491898615741996e-07, + 1.5081013842580038e-07, + 1.5242883554706436e-07, + 1.5404280577492604e-07, + 1.5564893863627046e-07, + 1.5724418413737838e-07, + 1.5882557556737633e-07, + 1.603902509599988e-07, + 1.619354728946991e-07, + 1.6345864636268132e-07, + 1.6495733447396582e-07, + 1.6642927183618313e-07, + 1.6787237549236434e-07, + 1.6928475336156287e-07, + 1.706647101808235e-07, + 1.7201075099814528e-07, + 1.7332158231227666e-07, + 1.7459611099535086e-07, + 1.758334411677795e-07, + 1.7703286922105468e-07, + 1.781938772030723e-07, + 1.7931612479246355e-07, + 1.8039944009363402e-07, + 1.8144380948337104e-07, + 1.8244936673374025e-07, + 1.8341638162539117e-07, + 1.8434524825119792e-07, + 1.852364731932539e-07, + 1.8609066373744863e-07, + 1.8690851626995262e-07, + 1.8769080497961143e-07, + 1.884383709700895e-07, + 1.8915211186610358e-07, + 1.898329719796289e-07, + 1.9048193308484345e-07, + 1.911000058349975e-07, + 1.9168822184047993e-07, + 1.922476264151528e-07, + 1.9277927198753794e-07, + 1.9328421216461146e-07, + 1.9376349642871158e-07, + 1.9421816544227676e-07, + 1.9464924693067986e-07, + 1.9505775211016693e-07, + 1.9544467262571043e-07, + 1.9581097796229822e-07, + 1.9615761329267215e-07, + 1.9648549772467147e-07, + 1.9679552291201038e-07, + 1.970885519934181e-07, + 1.9736541882649814e-07, + 1.976269274843357e-07, + 1.9787385198472785e-07, + 1.981069362238646e-07, + 1.98326894088301e-07, + 1.9853440972108507e-07, + 1.9873013791991166e-07, + 1.989147046471265e-07, + 1.9908870763329084e-07, + 1.992527170578155e-07, + 1.9940727629187482e-07, + 1.9955290269040788e-07, + 1.9969008842150277e-07, + 1.998193013228371e-07, + 1.999409857761171e-07, + 2e-07 + ], + "interface_positions_m": [ + 1e-07 + ], + "positive_components": [ + [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30, + 31, + 32, + 33, + 34, + 35, + 36, + 37, + 38, + 39, + 40, + 41, + 42, + 43, + 44, + 45, + 46, + 47, + 48, + 49, + 50, + 51, + 52, + 53, + 54, + 55, + 56, + 57, + 58, + 59, + 60, + 61, + 62, + 63, + 64, + 65, + 66, + 67, + 68, + 69, + 70, + 71, + 72, + 73, + 74, + 75, + 76, + 77, + 78, + 79, + 80, + 81, + 82, + 83, + 84, + 85, + 86, + 87, + 88, + 89, + 90, + 91, + 92, + 93, + 94, + 95, + 96, + 97, + 98, + 99, + 100, + 101, + 102, + 103, + 104, + 105, + 106, + 107, + 108, + 109, + 110, + 111, + 112, + 113, + 114, + 115, + 116, + 117, + 118, + 119, + 120, + 121, + 122, + 123, + 124, + 125, + 126, + 127 + ] + ], + "positive_nodes": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30, + 31, + 32, + 33, + 34, + 35, + 36, + 37, + 38, + 39, + 40, + 41, + 42, + 43, + 44, + 45, + 46, + 47, + 48, + 49, + 50, + 51, + 52, + 53, + 54, + 55, + 56, + 57, + 58, + 59, + 60, + 61, + 62, + 63, + 64, + 65, + 66, + 67, + 68, + 69, + 70, + 71, + 72, + 73, + 74, + 75, + 76, + 77, + 78, + 79, + 80, + 81, + 82, + 83, + 84, + 85, + 86, + 87, + 88, + 89, + 90, + 91, + 92, + 93, + 94, + 95, + 96, + 97, + 98, + 99, + 100, + 101, + 102, + 103, + 104, + 105, + 106, + 107, + 108, + 109, + 110, + 111, + 112, + 113, + 114, + 115, + 116, + 117, + 118, + 119, + 120, + 121, + 122, + 123, + 124, + 125, + 126, + 127 + ], + "widths_m": [ + 5.901422388288336e-11, + 1.2168445327999375e-10, + 1.2921290133435793e-10, + 1.3718573109489092e-10, + 1.456263985330553e-10, + 1.5455923405930657e-10, + 1.6400942452466372e-10, + 1.7400298616433713e-10, + 1.8456672721482707e-10, + 1.9572819882658635e-10, + 2.0751563278408056e-10, + 2.1995786443639556e-10, + 2.330842391367742e-10, + 2.4692450039214606e-10, + 2.615086578375502e-10, + 2.768668330800304e-10, + 2.930290814077334e-10, + 3.1002518733890237e-10, + 3.2788443199932904e-10, + 3.4663533037393737e-10, + 3.6630533658778285e-10, + 3.869205155434871e-10, + 4.0850517948706975e-10, + 4.310814884031017e-10, + 4.546690135652088e-10, + 4.79284264100096e-10, + 5.049401770735207e-10, + 5.316455723851334e-10, + 5.594045746728763e-10, + 5.882160054824251e-10, + 6.180727501540692e-10, + 6.489611052145571e-10, + 6.808601135253143e-10, + 7.137408960140655e-10, + 7.47565990478061e-10, + 7.822887096588038e-10, + 8.178525325040014e-10, + 8.54190544194725e-10, + 8.912249420559998e-10, + 9.288666258067398e-10, + 9.670148916509131e-10, + 1.005557250369215e-09, + 1.0443693897370093e-09, + 1.0833153011705004e-09, + 1.1222475893912312e-09, + 1.1610079820176118e-09, + 1.1994280532751899e-09, + 1.23733017242863e-09, + 1.2745286830742073e-09, + 1.3108313141313866e-09, + 1.3460408173217914e-09, + 1.3799568192605954e-09, + 1.4123778691985396e-09, + 1.443103656181209e-09, + 1.4719373622173193e-09, + 1.4986881112844911e-09, + 1.523173467982208e-09, + 1.5452219347003404e-09, + 1.5646753926224425e-09, + 1.5813914299979714e-09, + 1.5952455011079117e-09, + 1.6061328613443997e-09, + 1.6139702278616839e-09, + 1.6186971212639917e-09, + 1.6202768516007768e-09, + 1.6186971212639917e-09, + 1.6139702278616839e-09, + 1.6061328613443997e-09, + 1.5952455011079117e-09, + 1.5813914299979714e-09, + 1.5646753926224425e-09, + 1.5452219347003404e-09, + 1.523173467982208e-09, + 1.4986881112844845e-09, + 1.4719373622173193e-09, + 1.4431036561812155e-09, + 1.4123778691985462e-09, + 1.379956819260592e-09, + 1.346040817321788e-09, + 1.31083131413138e-09, + 1.2745286830742205e-09, + 1.2373301724286366e-09, + 1.19942805327517e-09, + 1.1610079820176184e-09, + 1.1222475893912378e-09, + 1.083315301170507e-09, + 1.0443693897369927e-09, + 1.0055572503692116e-09, + 9.670148916509198e-10, + 9.288666258067464e-10, + 8.91224942055985e-10, + 8.541905441947299e-10, + 8.178525325039981e-10, + 7.822887096588004e-10, + 7.475659904780676e-10, + 7.137408960140556e-10, + 6.808601135253242e-10, + 6.48961105214567e-10, + 6.180727501540659e-10, + 5.882160054824152e-10, + 5.59404574672873e-10, + 5.316455723851383e-10, + 5.049401770735323e-10, + 4.792842641000936e-10, + 4.546690135651964e-10, + 4.3108148840310337e-10, + 4.0850517948706727e-10, + 3.869205155434962e-10, + 3.663053365877845e-10, + 3.4663533037393406e-10, + 3.278844319993274e-10, + 3.1002518733890444e-10, + 2.930290814077417e-10, + 2.7686683308002504e-10, + 2.6150865783754524e-10, + 2.46924500392156e-10, + 2.3308423913676347e-10, + 2.1995786443640466e-10, + 2.0751563278407477e-10, + 1.9572819882657477e-10, + 1.845667272148283e-10, + 1.740029861643485e-10, + 1.6400942452466144e-10, + 1.545592340593227e-10, + 1.4562639853305157e-10, + 1.3718573109488172e-10, + 1.2921290133435225e-10, + 1.8069867716288167e-10, + 1.8069867716288167e-10, + 1.2921290133435225e-10, + 1.3718573109489495e-10, + 1.4562639853305157e-10, + 1.5455923405930946e-10, + 1.6400942452466144e-10, + 1.740029861643485e-10, + 1.845667272148283e-10, + 1.9572819882657477e-10, + 2.0751563278407477e-10, + 2.1995786443640466e-10, + 2.3308423913676347e-10, + 2.46924500392156e-10, + 2.6150865783754524e-10, + 2.7686683308002504e-10, + 2.930290814077417e-10, + 3.1002518733890444e-10, + 3.278844319993274e-10, + 3.4663533037393406e-10, + 3.663053365877845e-10, + 3.8692051554348296e-10, + 4.085051794870805e-10, + 4.3108148840310337e-10, + 4.5466901356520963e-10, + 4.792842641000936e-10, + 5.04940177073519e-10, + 5.316455723851383e-10, + 5.59404574672873e-10, + 5.882160054824152e-10, + 6.180727501540659e-10, + 6.48961105214567e-10, + 6.808601135253109e-10, + 7.137408960140689e-10, + 7.475659904780676e-10, + 7.822887096588004e-10, + 8.178525325039981e-10, + 8.541905441947299e-10, + 8.91224942055985e-10, + 9.288666258067464e-10, + 9.670148916509198e-10, + 1.0055572503692116e-09, + 1.0443693897370192e-09, + 1.0833153011704673e-09, + 1.122247589391251e-09, + 1.1610079820176184e-09, + 1.1994280532751965e-09, + 1.2373301724286234e-09, + 1.2745286830741808e-09, + 1.3108313141314065e-09, + 1.346040817321788e-09, + 1.3799568192606186e-09, + 1.412377869198533e-09, + 1.4431036561812023e-09, + 1.4719373622173193e-09, + 1.4986881112844977e-09, + 1.523173467982208e-09, + 1.545221934700314e-09, + 1.564675392622469e-09, + 1.5813914299979515e-09, + 1.5952455011079183e-09, + 1.606132861344413e-09, + 1.6139702278616839e-09, + 1.6186971212639851e-09, + 1.6202768516007636e-09, + 1.6186971212639851e-09, + 1.6139702278616839e-09, + 1.606132861344413e-09, + 1.5952455011079183e-09, + 1.5813914299979515e-09, + 1.564675392622469e-09, + 1.545221934700314e-09, + 1.523173467982208e-09, + 1.4986881112844977e-09, + 1.4719373622173193e-09, + 1.4431036561812023e-09, + 1.412377869198533e-09, + 1.3799568192606186e-09, + 1.346040817321788e-09, + 1.31083131413138e-09, + 1.2745286830742073e-09, + 1.2373301724286234e-09, + 1.1994280532751965e-09, + 1.1610079820176184e-09, + 1.122247589391251e-09, + 1.0833153011704673e-09, + 1.0443693897370192e-09, + 1.0055572503692116e-09, + 9.670148916509198e-10, + 9.288666258067464e-10, + 8.91224942055985e-10, + 8.541905441947299e-10, + 8.178525325039848e-10, + 7.822887096588137e-10, + 7.475659904780676e-10, + 7.137408960140821e-10, + 6.808601135253109e-10, + 6.489611052145538e-10, + 6.180727501540659e-10, + 5.882160054824152e-10, + 5.59404574672873e-10, + 5.316455723851383e-10, + 5.04940177073519e-10, + 4.7928426410012e-10, + 4.5466901356518316e-10, + 4.3108148840310337e-10, + 4.0850517948706727e-10, + 3.869205155434962e-10, + 3.6630533658779774e-10, + 3.4663533037392083e-10, + 3.278844319993274e-10, + 3.1002518733890444e-10, + 2.930290814077152e-10, + 2.768668330800515e-10, + 2.6150865783754524e-10, + 2.46924500392156e-10, + 2.3308423913676347e-10, + 2.1995786443639143e-10, + 2.0751563278407477e-10, + 1.95728198826588e-10, + 1.845667272148283e-10, + 1.740029861643485e-10, + 1.6400942452466144e-10, + 1.545592340593227e-10, + 1.4562639853305157e-10, + 1.3718573109489495e-10, + 1.29212901334339e-10, + 1.2168445327999169e-10, + 5.901422388288999e-11 + ] + }, + "history": { + "duration_reason": "certified equilibrium, not finite-time preparation", + "duration_s": null, + "illuminated": false, + "kind": "independent_D_dark_dc", + "temperature_K": 300.0, + "voltage_V": 0.0 + }, + "intervals": 256, + "kind": "equilibrium_D", + "physical_stack": { + "Phi": 0.0, + "S_n_left": null, + "S_n_right": null, + "S_p_left": null, + "S_p_right": null, + "T": 300.0, + "V_bi": 1.1, + "band_grading": false, + "built_in_potential_mode": "semiconductor_work_function", + "contact_phi_B_eV": 0.0, + "dos_band_potentials": true, + "flat_band_contacts": false, + "flat_band_metal_contacts": false, + "graded_optics": false, + "grid_alphas": [ + 2.0, + 2.0 + ], + "grid_interval_weights": [ + 1.0, + 1.0 + ], + "het_recomb_despike": 0.0, + "interface_charge_closure": "equilibrium_referenced", + "interface_charge_rebaseline_acknowledged": true, + "interface_defects": [ + { + "E_t_eV": 0.55, + "N_t_cm2": 50000000000.0, + "calibration_factor": 1.0, + "iface_state_calibration_factor": 1.0, + "microscopic_document": { + "charge_convention": "equilibrium_referenced_electron_occupancy", + "degeneracy": 1.0, + "density_normalization": "integrated_areal_total", + "energy_reference": "below_reference_conduction_band", + "kinetics": { + "sigma_n_m2": 6e-22, + "sigma_p_m2": 1e-21, + "thermal_velocity_n_m_s": 100000.0, + "thermal_velocity_p_m_s": 100000.0 + }, + "reference_selection": "absorber_else_lower_gap", + "schema_version": "solarlab-explicit-interface-defects-v1", + "total_density_m2": 500000000000000.0, + "trap_depth_eV": 0.55 + } + } + ], + "interface_plane_closure": false, + "interface_plane_generation": false, + "interface_plane_projection": false, + "interface_shared_occupancy": false, + "interface_tunneling": false, + "interface_two_sided": false, + "interfaces": [ + [ + 0.03, + 0.049999999999999996 + ] + ], + "ion_steric_diffusion_only": true, + "ion_steric_shared_site": true, + "jv_solver_policy": "general", + "layers": [ + { + "name": "left", + "params": { + "A_star_n": 1201700.0, + "A_star_p": 1201700.0, + "B_rad": 0.0, + "B_rad_T_gamma": 0.0, + "C_n": 0.0, + "C_p": 0.0, + "D_ion": 1e-14, + "D_ion_neg": 0.0, + "E_a_ion": 0.58, + "Eg": 1.5, + "Eg_back": null, + "N_A": 0.0, + "N_A_bulk": null, + "N_D": 0.0, + "N_D_bulk": null, + "Nc300": 1e+25, + "Nv300": 1e+25, + "P0": 1e+22, + "P0_neg": 0.0, + "P_lim": 2e+22, + "P_lim_neg": 1e+30, + "acceptor_binding_energy_eV": null, + "acceptor_degeneracy": 4.0, + "alpha": 0.0, + "band_gap_narrowing_model": "off", + "bgn_conduction_band_fraction": 0.5, + "bgn_log_shape": 0.5, + "bgn_reference_density_m3": 1e+23, + "bgn_reference_energy_eV": 0.009, + "bulk_defects": [], + "bulk_trap_distribution": null, + "carrier_statistics": "maxwell_boltzmann", + "chi": 4.0, + "chi_back": null, + "cigs_graded_optics": null, + "ct_beta_n": 2.0, + "ct_beta_p": 2.0, + "defect_model": "effective_lifetime", + "defect_schema_version": null, + "donor_binding_energy_eV": null, + "donor_degeneracy": 2.0, + "dopant_ionization_model": "fully_ionized", + "doping_decay_length": null, + "doping_edge": "front", + "doping_profile_shape": null, + "eps_r": 10.0, + "grading_N_mult": 1, + "grading_bowing": 0.0, + "grading_char_length": null, + "grading_direction": "front_to_back", + "grading_profile": "linear", + "incoherent": false, + "mu_T_gamma": -1.5, + "mu_n": 0.001, + "mu_p": 0.001, + "n1": 2515095827087.2183, + "n_optical": null, + "ni": 2515095827087.2183, + "optical_material": null, + "p1": 2515095827087.2183, + "pf_gamma_n": 0.0, + "pf_gamma_p": 0.0, + "tau_n": 1e-06, + "tau_p": 1e-06, + "trap_N_t_bulk": null, + "trap_N_t_interface": null, + "trap_decay_length": null, + "trap_edge": "both", + "trap_profile_shape": "exponential", + "v_sat_n": 0.0, + "v_sat_p": 0.0, + "v_th": 100000.0, + "varshni_alpha": 0.0, + "varshni_beta": 0.0 + }, + "role": "absorber", + "thickness": 1e-07 + }, + { + "name": "right", + "params": { + "A_star_n": 1201700.0, + "A_star_p": 1201700.0, + "B_rad": 0.0, + "B_rad_T_gamma": 0.0, + "C_n": 0.0, + "C_p": 0.0, + "D_ion": 0.0, + "D_ion_neg": 0.0, + "E_a_ion": 0.58, + "Eg": 1.5, + "Eg_back": null, + "N_A": 0.0, + "N_A_bulk": null, + "N_D": 0.0, + "N_D_bulk": null, + "Nc300": 1e+25, + "Nv300": 1e+25, + "P0": 1e+22, + "P0_neg": 0.0, + "P_lim": 2e+22, + "P_lim_neg": 1e+30, + "acceptor_binding_energy_eV": null, + "acceptor_degeneracy": 4.0, + "alpha": 0.0, + "band_gap_narrowing_model": "off", + "bgn_conduction_band_fraction": 0.5, + "bgn_log_shape": 0.5, + "bgn_reference_density_m3": 1e+23, + "bgn_reference_energy_eV": 0.009, + "bulk_defects": [], + "bulk_trap_distribution": null, + "carrier_statistics": "maxwell_boltzmann", + "chi": 4.1, + "chi_back": null, + "cigs_graded_optics": null, + "ct_beta_n": 2.0, + "ct_beta_p": 2.0, + "defect_model": "effective_lifetime", + "defect_schema_version": null, + "donor_binding_energy_eV": null, + "donor_degeneracy": 2.0, + "dopant_ionization_model": "fully_ionized", + "doping_decay_length": null, + "doping_edge": "front", + "doping_profile_shape": null, + "eps_r": 10.0, + "grading_N_mult": 1, + "grading_bowing": 0.0, + "grading_char_length": null, + "grading_direction": "front_to_back", + "grading_profile": "linear", + "incoherent": false, + "mu_T_gamma": -1.5, + "mu_n": 0.001, + "mu_p": 0.001, + "n1": 2515095827087.2183, + "n_optical": null, + "ni": 2515095827087.2183, + "optical_material": null, + "p1": 2515095827087.2183, + "pf_gamma_n": 0.0, + "pf_gamma_p": 0.0, + "tau_n": 1e-06, + "tau_p": 1e-06, + "trap_N_t_bulk": null, + "trap_N_t_interface": null, + "trap_decay_length": null, + "trap_edge": "both", + "trap_profile_shape": "exponential", + "v_sat_n": 0.0, + "v_sat_p": 0.0, + "v_th": 100000.0, + "varshni_alpha": 0.0, + "varshni_beta": 0.0 + }, + "role": "ETL", + "thickness": 1e-07 + } + ], + "microstructure": { + "grain_boundaries": [] + }, + "mode": "full", + "phi_left": 0.0, + "te_physical_norm": false, + "tunnel_mass_eff": 0.2, + "tunnelling_channels": null, + "work_function_left_eV": null, + "work_function_right_eV": null + }, + "preparation_checks": { + "certified": true, + "limits": { + "dc_current_spread_A_m2": 0.0001, + "electron_continuity_A_m2": 0.0001, + "electron_normalized_residual": 1e-08, + "eliminated_operator_error": 1e-06, + "full_gauss_normalized": 1e-10, + "hole_continuity_A_m2": 0.0001, + "hole_normalized_residual": 1e-08, + "inventory_relative_error": 1e-10, + "ion_equilibrium_residual": 1e-08, + "ionic_face_current_A_m2": 1e-06, + "local_carrier_residual": 1e-07, + "local_gauss_residual": 1e-07, + "nominal_inventory_relative_error": 1e-12, + "poisson_normalized": 1e-10, + "trap_storage_rate_A_m2": 0.0001 + }, + "metrics": { + "dc_current_spread_A_m2": 1.3889259914015138e-14, + "electron_continuity_A_m2": 1.0795086765555791e-14, + "electron_normalized_residual": 1.0528141922855997e-14, + "eliminated_operator_error": 1.4595298513727765e-09, + "full_gauss_normalized": 4.7154051946793595e-15, + "hole_continuity_A_m2": 7.86112319977504e-15, + "hole_normalized_residual": 7.780168835525373e-15, + "inventory_relative_error": 0.0, + "ion_equilibrium_residual": 1.3500311979441904e-13, + "ionic_face_current_A_m2": 7.415222481500275e-15, + "local_carrier_residual": 3.8089989274544757e-13, + "local_gauss_residual": 4.2147361889294314e-16, + "nominal_inventory_relative_error": 1.1102230246251565e-16, + "poisson_normalized": 5.857151137313752e-14, + "trap_storage_rate_A_m2": 1.434842054958504e-24 + }, + "reasons": [] + }, + "preparation_controls": { + "nu_I": 1, + "nu_t": 1 + }, + "preparation_policy": { + "carrier_storage_atol_m3": 0.1, + "dc_max_nfev": 1000, + "interface_algebraic_relative_tolerance": 1.0000000000000001e-11, + "interface_flux_atol_m2_s": 0.1, + "interface_gauss_atol_C_m2": 1.0000000000000001e-19, + "interface_potential_atol_V": 1e-15, + "interface_storage_atol_m2": 0.1, + "ion_storage_atol_m3": 0.1, + "jacobian_check_step": 1e-06, + "maximum_all_face_current_spread_relative": 2e-06, + "maximum_charge_balance_relative_error": 1e-10, + "maximum_current_decomposition_relative_error": 1e-14, + "maximum_dc_continuity_bound_A_m2": 0.0001, + "maximum_dc_face_current_spread_A_m2": 0.0001, + "maximum_dc_inventory_error": 1e-10, + "maximum_dc_ionic_face_current_A_m2": 1e-06, + "maximum_dc_normalized_residual": 1e-08, + "maximum_dc_poisson_residual": 1e-08, + "maximum_eliminated_operator_relative_error": 1e-06, + "maximum_ion_inventory_relative_drift": 1e-10, + "maximum_jacobian_column_relative_error": 0.0003, + "maximum_line_search_steps": 40, + "maximum_local_carrier_normalized_residual": 1e-07, + "maximum_local_gauss_normalized_residual": 1e-07, + "maximum_near_acceptance_nonmonotone_steps": 2, + "maximum_newton_iterations": 100, + "maximum_refinement_current_relative_change": 0.05, + "maximum_refinement_state_change": 0.02, + "maximum_scaled_nonlinear_residual": 0.05, + "maximum_two_sided_interface_total_current_relative_error": 2e-06, + "poisson_atol_C_m2": 1.0000000000000001e-19, + "poisson_relative_tolerance": 1.0000000000000001e-11, + "refinement_substeps": [ + 1, + 2, + 4 + ], + "site_occupancy_ceiling": 0.999, + "storage_relative_tolerance": 1.0000000000000002e-10 + }, + "qf_references_V": { + "electron": [ + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.2618392666917075, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.2618392666917075, + -3.2618392666917075, + -3.261839266691707, + -3.2618392666917075, + -3.2618392666917075, + -3.261839266691707, + -3.2618392666917075, + -3.2618392666917075, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.2618392666917067, + -3.2618392666917075, + -3.2618392666917067, + -3.2618392666917075, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.2618392666917075, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.2618392666917075, + -3.261839266691707, + -3.2618392666917075, + -3.261839266691707, + -3.2618392666917075, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.2618392666917075, + -3.261839266691707, + -3.2618392666917075, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.2618392666917075, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.2618392666917067, + -3.261839266691707, + -3.261839266691707, + -3.2618392666917075, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.2618392666917075, + -3.261839266691707, + -3.2618392666917075, + -3.2618392666917075, + -3.2618392666917075, + -3.261839266691707, + -3.2618392666917075, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.2618392666917075, + -3.2618392666917075, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.2618392666917075, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.2618392666917075, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.2618392666917075, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.2618392666917075, + -3.2618392666917067, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.2618392666917075, + -3.2618392666917075, + -3.2618392666917075, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.2618392666917075, + -3.261839266691707, + -3.2618392666917075, + -3.2618392666917075, + -3.2618392666917075, + -3.2618392666917075, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.2618392666917075, + -3.2618392666917067, + -3.2618392666917075, + -3.2618392666917075, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.2618392666917075, + -3.2618392666917075, + -3.261839266691707, + -3.2618392666917075, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.2618392666917075, + -3.261839266691707, + -3.261839266691707, + -3.2618392666917075, + -3.261839266691707, + -3.261839266691707, + -3.2618392666917075, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.2618392666917075, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.2618392666917075, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.2618392666917075, + -3.2618392666917075, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.2618392666917075, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.2618392666917075, + -3.2618392666917067, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.2618392666917075, + -3.2618392666917075, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.2618392666917075, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.2618392666917075, + -3.261839266691707, + -3.2618392666917075, + -3.261839266691707, + -3.2618392666917075, + -3.2618392666917067, + -3.2618392666917075, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.2618392666917075, + -3.261839266691707, + -3.2618392666917075, + -3.2618392666917075, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.2618392666917067, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707, + -3.261839266691707 + ], + "hole": [ + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308294, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308294, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308294, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308294, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308294, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308294, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308294, + 6.238160733308294, + 6.238160733308294, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308294, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308294, + 6.238160733308294, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308294, + 6.238160733308293, + 6.238160733308294, + 6.238160733308294, + 6.238160733308294, + 6.238160733308294, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308294, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308294, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308294, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308294, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308294, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308294, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308294, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308294, + 6.238160733308293, + 6.238160733308293, + 6.238160733308294, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308294, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308294, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308294, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308293, + 6.238160733308294, + 6.238160733308293 + ] + }, + "reference_sha256": "0a6532a436dd07e6b27f01da3fc39aef906e6fd882057f0109c1bc5bdf77e39b", + "schema": "R1CommonStateV1", + "sha256": "8210925499a8da486855870a254b9bd8dedcf8fb6dd913517310fcbedb3b4b26", + "source": { + "files": { + "__init__.py": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", + "_compat/__init__.py": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", + "_compat/numpy_compat.py": "7ffad9557713ecbbf191d8e684d56c55cdcac029b2b2448077a5bafdd5747d50", + "_compat/scipy_shim.py": "33ce6c210cd8101db695350a227d6886f99bdaf5acce5e0e4984b3cad2cd1fa3", + "constants.py": "9ae428b44bbe5f475b638d9c3339e69930249e2b1c39ba0acbfd0764fcaade76", + "data/__init__.py": "60cca7d1762c831541e6c5b744668e8550d846f807be868cefcff5805a46a1b6", + "discretization/__init__.py": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", + "discretization/fe_operators.py": "b3ab0cf0054d5aa1ec7e5fcd27b93d2ed09b137d043080a0310a219d3ff1154f", + "discretization/grid.py": "7d3ff321c2609efd51a41f29fc7936ba09914ff684f25322a11b8776cf96bfbb", + "experiments/__init__.py": "e060aec00c05f70d1dc2d433f9c0d922b59ac2da788ffe7fb6dd2bdfb16bad76", + "experiments/band_diagram.py": "6c413f63586280e9fd768944e525169f54ab07301efdcc60a2b01cafde8aa2e3", + "experiments/bulk_defect_ion_transient.py": "8ca8b0e93eb8b26efed35acee8da8fb9d3f6b35fdaeeac0ff7b2d8764c7e13c3", + "experiments/bulk_defect_transient.py": "f8974270a92f5b5aa0564dd748dac870b693c0dac087d8486c77a72a94bff2fd", + "experiments/cbo_scan.py": "23fbf41f3cfa8aea669bc914d5334b873f3cc0b3edd9a308a52bc432afc27a6a", + "experiments/dark_jv.py": "7dd01ad1fe88fb0ac2d8d69722aebe8ec5d2cdedd2f5c0f149bad2477759540c", + "experiments/defect_aware_impedance.py": "7a885ca595e18faad97580730d99280db00c6aacb0b41da41ceecc12ab323600", + "experiments/defect_ion_combined_impedance.py": "026c14f5e56cb1fa3ad0658535248fb022b0e69e66198c67a802bc62aa4a2038", + "experiments/degradation.py": "bc5366e74e4d95f69bcb995b134aefa64355850482ae1bd442c4b713bcca5e20", + "experiments/dynamic_defect_impedance.py": "001cc1766638312035f63ffe7a337facec11f1373ec5fae0707f8b28af0bfb28", + "experiments/dynamic_defect_transient.py": "393424b5a45726f801e43c16eabeebd950ee8091ef8bbf10c9ef36855eb03ac4", + "experiments/el_spectrum.py": "ed1244ae4b0247522a9a0e0b1a97a80f27fc7bf588e46d51fd8cc5571439520c", + "experiments/electrothermal.py": "a9c3c142335afb0fe49346858a8a77ea79103e89af4d73045d0e4024085a6d9f", + "experiments/eqe.py": "dfcfc051af754ccb58c126728ee80b3bcde86c2c1637ccd0eae3e92d5caf7f99", + "experiments/external_circuit.py": "0f2a6fa803686536e5626a5144b780012242feed86de44550bcfc12d7b13dec5", + "experiments/identifiability.py": "fec82a43d7da9e29f0ca43441511e5dcae51c8384f0f0eeac338ff7ad9302f88", + "experiments/impedance.py": "bc77a24eb7a2eed0ed8cc4a3c3f374378a5654d2906dd88622fe8b5fb19bc11f", + "experiments/impedance_frequency.py": "a60788b03a859df4529bd67eec5ea1b967c55014063d80a26d706e169c6d9ba8", + "experiments/interface_charge_jv.py": "fd8cd5a4776d27e753c959a395f78829fadaeb6bb883098f2e7d8d9642b2c446", + "experiments/interface_defect_aware_impedance.py": "ce8efd94278348e7e05745c59648407c1eed75ba137e8a07c26ac9ea71f5a05f", + "experiments/interface_defect_ion_transient.py": "8c3298a7b5a1b500a175a7687c33248efeb1a8a36794ffac5a4986a02b22a573", + "experiments/interface_defect_transient.py": "dc0cdb515dd32cf2b5b72bce5ab02a5ce4b89b921687cccf2e4c6e940f0b20af", + "experiments/ion_aware_analytic_reaction.py": "213474f49d2b735c1a96d89974021dbf9c35cb9488b2eb741337fd16aae7c22c", + "experiments/ion_aware_analytic_transport.py": "072498cc475ceb5bad0f7fc8bc1c60c050efd3e6d2a5cced96288ea2d77755f1", + "experiments/ion_aware_dc.py": "c3d72e92929e2485c41f2f282e58082ea5415f1ffba176edcd08939d9344f798", + "experiments/ion_aware_impedance.py": "74af302cd7a071e69d60b01d07371ac0e8ad9036c1ec4063175c442e25b01892", + "experiments/ion_aware_impedance_grid.py": "f43cb2c7003f230012da25a3cae228bdd37c49a6707a0ad0f75e5d0b967baf5b", + "experiments/ion_aware_impedance_lockin.py": "8796d2885e7ae3114a6e82afab5edb2f41e78d87345fb3ff282605b88a70053b", + "experiments/ion_aware_structured_jacobian.py": "c4b6e6953600bcf1f511717c897dc8af9a390e18501091143c18470b086d82e9", + "experiments/jv_sweep.py": "428fbe1c421192e2495ac94fa171df42f2be94dca7733b7a5ab2e07a9628ef96", + "experiments/metastable_preparation.py": "cd7efc45fb80d64aa4c669b2752e80cf294a0a7e523791de4fa958839d9d0ff8", + "experiments/metastable_transient.py": "1579c39f88f6c0df5b69272bd26d01ad949ef591312ca28df3db93338727db1b", + "experiments/mott_schottky.py": "862b0dcadddd5b2097f313dd64b01e0d49b54219109d510f1cab71ac5d8e280b", + "experiments/one_dimensional_mechanism_r1.py": "637bc790dc09ec0632b733bc72e3fdcacf20dc017efc88a8fafed7dd927fb116", + "experiments/one_dimensional_mechanism_r1_admittance.py": "4b1d7ec8961d75a883fc03a7f87c807f36670262921004c0def3af8185703c72", + "experiments/one_dimensional_mechanism_r1_backend.py": "630c2a686547e269ee406ba301bb44b078de0c2a939ab5f377784d4bf77badb9", + "experiments/one_dimensional_mechanism_r1_baseline_electrostatics.py": "e902d51d33e407357b9a8b2eec7738604f9d975c5082c46a7c87fd481c45c0ac", + "experiments/one_dimensional_mechanism_r1_baseline_initial.py": "0878c56a738f64cc51c5ad8907c02650132a31721f278b3faf2a8d12db909b77", + "experiments/one_dimensional_mechanism_r1_binding.py": "376ce06d1fa83e8c99bd5f69a22eb9778d903c6f20a755078a6a68c0aa562417", + "experiments/one_dimensional_mechanism_r1_checkout.py": "0ed9fcfbc10a3b6cf44233594fe9c31622fe7a5ae9b3fa0ccf9b71785afd97a5", + "experiments/one_dimensional_mechanism_r1_convergence.py": "a8e2b9738d551a5b5132cc3d99b57e534a0c5b5d4f7ab94e24f4c464406f1ca8", + "experiments/one_dimensional_mechanism_r1_dynamics.py": "5da668527e3eb730c0214469b193ef6d487d470cc1f13c645b6321b2c966e914", + "experiments/one_dimensional_mechanism_r1_evidence.py": "4f36080be9a878e6f0cb7be3ebdfdede78a897e34e3912b47a249e607eb04a07", + "experiments/one_dimensional_mechanism_r1_execution_validation.py": "4b8615e0035e6bf338731183a2bd1ffb613853dae720e6719ecc9dbd9cac3371", + "experiments/one_dimensional_mechanism_r1_failure_reconstruction.py": "2d6e23142c8586d42f4adf67fb22731eaf2efaacf6cda685df696a32f5d78ecd", + "experiments/one_dimensional_mechanism_r1_failure_registry.py": "64abad5af4500a9becc2ea36de36b5905a7710a849221ce8a941dbb6498c6a77", + "experiments/one_dimensional_mechanism_r1_failure_witness.py": "de74434dfc6368a86642a789befbe1dbcdc17c7ca726e237c3328c19b1876d4c", + "experiments/one_dimensional_mechanism_r1_global_reference.py": "f5ba16b4778827f1321384e3497b73d1cf574e0dfdac93eab09bd49fef2331bd", + "experiments/one_dimensional_mechanism_r1_history.py": "2921971011ba1aceaf105ffbeceb31f3eb533883d73704293ddf247a631eaad7", + "experiments/one_dimensional_mechanism_r1_independent_physics.py": "03db33ccf1005c5afa0cad6b86acae52bd60e11c0d36a7df68a7bbdc3f4cbdad", + "experiments/one_dimensional_mechanism_r1_independent_regular.py": "af4ff60f6e6a573e41a0fb885a5f019ee6c48461f99f0d341058c444a99500b9", + "experiments/one_dimensional_mechanism_r1_input_lift.py": "65f85c06a38be9cd41ec3ef344af34d1baeb300a012c47df71ab5d658b9e821f", + "experiments/one_dimensional_mechanism_r1_input_lift_codec.py": "db2ef01419458819ef006488c7924944b6065174ca1c02da24288a66e440f299", + "experiments/one_dimensional_mechanism_r1_input_lift_continuous.py": "5d76a2cdb27ab4188e2663fd09d08b1cf6e4c936f455cf615fd98da5113036a4", + "experiments/one_dimensional_mechanism_r1_input_lift_reference.py": "a566ad00c277b1792b61322ab4daa2d2c8a45070bb40b6a4f6de7bb2ba16b0e8", + "experiments/one_dimensional_mechanism_r1_local_carrier.py": "c6ace0463271ec3d6222300c55d707a61e1cceed1cca5c4b2f869f466cae7ce7", + "experiments/one_dimensional_mechanism_r1_pair_codec.py": "a2c23d94bdc0023ef24777613e6e5af70867bbd1759071381d64bdd47446b912", + "experiments/one_dimensional_mechanism_r1_pair_response.py": "a3a8bbba73ede8e23c7d29794bbd9fb28de6138de99f9fb6d7437ef9884a8da5", + "experiments/one_dimensional_mechanism_r1_pair_spatial.py": "33159889475b12bd7d7f29ba8d0a6cdd6fd8fc91c5c77c5eacc4a6f5392f53fb", + "experiments/one_dimensional_mechanism_r1_physics_validation.py": "6dd8d4e4fcc22697db717bff075ed1a2f875141cc3396280e7f38e34209f5af7", + "experiments/one_dimensional_mechanism_r1_precision.py": "aebb040ed5f1319e5541f9104886160a0cd2f63b1ccdd366d9de1739a8e71395", + "experiments/one_dimensional_mechanism_r1_precision_initial.py": "7350e1bf4bf2c1d14c36b22bd60ec9b844c8b558030c99332489d310af051c17", + "experiments/one_dimensional_mechanism_r1_precision_physics.py": "c5353e6aff99888175bbce038d6787bd97385526aa228089253350da1fcc657a", + "experiments/one_dimensional_mechanism_r1_precision_state.py": "1c31475237b2733a6c2d319f34c30bec35277b3fb671cf2f1c993ad42a7e9b1e", + "experiments/one_dimensional_mechanism_r1_protocol.py": "7b053566d7931c7e16fe60ed46fabd9ca9a6c82461bc6116348ceb69dc8d4974", + "experiments/one_dimensional_mechanism_r1_qualification.py": "deb20769c349ad495a5f30f4c2420c1b1fedf495581063e832de9ea7d07e9715", + "experiments/one_dimensional_mechanism_r1_qualification_workflow.py": "bb4057871e5f535f69c10050a19f1f086709caf89797087be7354b862e11fca3", + "experiments/one_dimensional_mechanism_r1_replay_receipt.py": "be0831fca8efe0ad1fab2dda20c93f8a2db07cc6df9239f794c6ce53de6c2ee1", + "experiments/one_dimensional_mechanism_r1_response.py": "46c25ab45885c1ed966dc58ee044d55b66ef69070b90184310fc5682670d7b51", + "experiments/one_dimensional_mechanism_r1_result_contract.py": "5c004525405ed95e4e277e516ff3a95a8009bea230c0e2f5c9ab981000552cd5", + "experiments/one_dimensional_mechanism_r1_result_validation.py": "bd1e025595c6c2bf538b61bf71af5b4bbecbf89aa5f5fe799c0307a08d213450", + "experiments/one_dimensional_mechanism_r1_run_record.py": "b51679bc00233a7bd4a5bcda46c61391bb0409aaa8eb4b5953bd2a0f5ed39997", + "experiments/one_dimensional_mechanism_r1_spatial.py": "25f324db38057202e00f1c4d9cd09e201bdc502b4234c7e7257b95424eac83d0", + "experiments/one_dimensional_mechanism_r1_standard.py": "73669da8d7f08184dea9e89f19c79442d6032b9ffa1769da449ceaf8da677cba", + "experiments/one_dimensional_mechanism_r1_state.py": "49bca65cf639024599781bead35db5524e5d61429efdc92bfb84e742af99422f", + "experiments/one_dimensional_mechanism_r1_step.py": "448d03cf4fd62dcd7f18dc6db5d90634b9650848d2dd31fa2b3fabe9cf1ff44b", + "experiments/one_dimensional_mechanism_r1_study_request.py": "2697b42197b9d80f78e1b3ddd0dfa697519ac8857a1553eb9e818a7f284b85ee", + "experiments/one_dimensional_mechanism_r1_study_response.py": "efbc793159c28bc12be9cb44e6ce3e5327fbc04f6eb7bbd186f35c68b4f3aa63", + "experiments/one_dimensional_mechanism_r1_window.py": "977279c8fded7555f0fc8a879e13fd29c908010e8633640f78500ee9042d7fac", + "experiments/open_circuit.py": "f02036a172b26ebc7723e350ace7d9a91fc07b7bc04ed7d638d39da54feef798", + "experiments/protocol.py": "427d372bd2b28bc2c9b6b924ea4cafa42e7315decf5385664f74bcb19137beef", + "experiments/quasi_fermi_impedance.py": "dbac8e42fc31bc3ba1d42aaa755100b99a627c04667910f6eff2452ee5359e22", + "experiments/quasi_fermi_steady_state.py": "f8fc4b1f4274fd154e956b42d2d0d715c4b8045ec84ee50de2798023e5b14fc4", + "experiments/steady_state.py": "55580e14e075de0596e2a8e6e55e0a16f2c9581be380f2bb3bacbae2b5d1edbd", + "experiments/suns_voc.py": "6bea3aa6645d9cb1d68786f3dbe6aa02d39bef81664f575eff2d43b9c694c887", + "experiments/tandem_jv.py": "d13960a2114863df754d8102be1c1d098d52d9f7ede1f97c9556b50ad653bff3", + "experiments/thermal_balance.py": "987516eaef3fa53c96b544e02637076f21478951ecce193441f5b33696b8bcb6", + "experiments/tpv.py": "4827229c6e7dba18e339ce44611eac3152f9e6b1bdd63de237f17ebc61766cb8", + "experiments/trap_small_signal.py": "de614e89798d08a7b067bef26bacc68ca6c8dbcfe71f64c3d4ec2e779033b8c1", + "experiments/voc_t.py": "2ac2c4648a009659879a5a4f0a45b2649140541477ece69d36b2a2d0e5529703", + "experiments/waveform_jacobian.py": "dbf0f40dc191c75a35d01575c27db0e46daa64af522a6635b4218327c4909226", + "experiments/waveform_jv.py": "cac7648c136190db6bca65697cdb3200ab7b57e81787736a67d706cda333d1e7", + "models/__init__.py": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", + "models/config_loader.py": "f25dd749fec6e2e755cf18d221986efdc323b6f2c22e92ec7297577117442bb2", + "models/current.py": "483c1d91b0b480ef0394f3e6d201a18983928c17410a9ffebbf9510b5cc73627", + "models/defects.py": "0bf3cedd435ff8259fb436bbcfcfa3aa586bdee50f89caba161e162c6913159f", + "models/device.py": "abedb9e39655a5b54997968a7bfa4d1664b7493475dc8e7c55fffa68195330b9", + "models/el.py": "b239391d045dff27ad44ecbe022dbaab337e6d4584600430dc1a454a1fce5f2d", + "models/interface_defects.py": "8d0ad0057410b42bde00d2cdd17a765f94a5f2d95ebe51a1cb815d24553084bd", + "models/mode.py": "7464cf8619401997206fed5b23cded0a361ab6064f6b06a2449fb9f13a700688", + "models/multivalent_defects.py": "dac4f0e32804b59126a16629b4ccb377fb71e79a8b270b43283df851c97256e6", + "models/parameters.py": "0555a6c9280431889b34328bf1e513c7e6d6789368ea858ff3e1ea5a60db7d9d", + "models/spatial.py": "bf64684bff565bc6b26feb49c54ac1b5d2d403df51729f4fb57ddd276307cfb7", + "models/tandem_config.py": "9aaf4e1fb87f43950c96cabe0ac309cd3416673848b80889fc366be32ad2b595", + "models/tpv.py": "af4af1e7f4554ccebdcf20ba5a01db3fb3f5656cb47a3de8ecb33816f9ca0d84", + "models/tunneling_channels.py": "988195babef2c7390bfacd0f849b91a3802abfda3e742332642c1c36a610a114", + "models/voc_t.py": "e7199c3c9af9d3224a8005d32d3037d34dd53c05c53c2e3562ed1b31b1243e68", + "physics/__init__.py": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", + "physics/band_gap_narrowing.py": "ee7fe97002c19364750f4aa07be1dc150c2acb450ad74ee637d5b8cc783e0a78", + "physics/bulk_traps.py": "4a78fabe85de747b81c03fc32f7095b01a68cafe7921d01806cd314f3cb4801c", + "physics/cigs_optics.py": "a7f1cac165c04f8f5d21a530987d65d10fa78af04c77b7e1382149aab59ca811", + "physics/compensated.py": "48235c68776a31db04191347b506222c07f1837960fe0658da4e1c65f25a3204", + "physics/contacts.py": "a8bc9a2938bd979ea9a5265af8785480b554ef723d4968b0ffdced8b8231709b", + "physics/continuity.py": "bfbb34a3ea772a798385b8ef083aa9857eee3f0d08e6a3e9f8f1fc0dfcb96df6", + "physics/defect_closure.py": "e8571cdd4878a75285de44bd9ecadbd9c9c3b296d88c3b62ff5ec1f478da9677", + "physics/defect_distributions.py": "635b5e5285d0c87de325edff7de745b398705eb8537495435f05f32543542a5e", + "physics/degenerate_transport.py": "5387116677839a6ecd3ba6ff261d9e8b881e850ab356255551d0c04165445c1f", + "physics/distributed_defect_closure.py": "1725704eb365858f120727646dcd3b3d8ffd9e69912a04a84b23285367106587", + "physics/doping.py": "883d705622066585d1e93027105ed9cb6094b0bb94bb28e574f1097a5ef3c599", + "physics/dynamic_defect_state.py": "0923b57f53583afeb95da7092a45c7ab98a58579177525bcaf210c796d84a6af", + "physics/dynamic_storage.py": "c0179c0144e9dadfd0abf959b78088eee91d35abf787a280a51079851dc5e006", + "physics/fermi_dirac.py": "f5cc9d0b9dbbcc80ea51cb8c3c843dbeff722a44eeac732d9b333e2bc0b71878", + "physics/field_mobility.py": "62ea0880e8aa05cf90dc0928f6bae7aec2caa132d69338661bff856a4d441737", + "physics/generation.py": "862c097f31bb5bab0e7585a4c361e0e7116010f652d7b6345a9a0de80caeac65", + "physics/grading.py": "286c5347a808199717740f2366d08bf89a8e615eb16ea399b84e1ddf40d1fe51", + "physics/interface_plane.py": "7e8e9344d8f96b04b565986879ad9c67bd36d54afa3de90ee39de264a44f9dee", + "physics/ion_migration.py": "19c0b83485c5e1b61dce5ad8fc05b75202a40c383d964cd4bcf38889a5cbda35", + "physics/metastable_defect_closure.py": "638ca6b638cb2ea19386b7d5d7c584f056495d9ab2f25e2a88e4807987b0e62d", + "physics/metastable_defect_device.py": "fea38276765a05be67fe0305cb63c2d148a8b3f06d4bac5ad5f5673132329c68", + "physics/metastable_dynamic_state.py": "6ef5427bacdabe6172ad33f5b68b4985b255d85fc22e9c8a0aaf54387801aab0", + "physics/multivalent_defect_closure.py": "57c684618c87d06521e048da20f3fc38dc3dab2c6221e4e88c66d404a8cc5648", + "physics/multivalent_defect_device.py": "5a631290005479e64529eba52f8273a8453baba1b1be4345d2c0f4e0365fafa3", + "physics/optical_stack.py": "ef897393af20ce1a3a096e6db2d3a9b3482ca590ad71a294057124ceb6746543", + "physics/optics.py": "de249b529cbbb1681a886b971e500d442fd3a74cbc48fd97e471cef84bcbe656", + "physics/photon_recycling.py": "cda651b7fdd7c202ed308d3a0e063c1cedc4ea76d7b0ef61db65e9ffcdc3d9f9", + "physics/physical_control_volume.py": "7ab20365a9f857169a8b9e2beb3a00c5129440e934e7f9875595c85413dec245", + "physics/poisson.py": "cc59b0210f019561cfea8903cf7c0c968f4d31ceefffaca6092d09286b02bed5", + "physics/recombination.py": "ec52279e65616a916c586818d3b6bec9ebe1bb7040a4a451e85e5785222726b9", + "physics/regularization.py": "32982af462fc430d518017579ea9c403dd3382be2f883464bc088b58a5d84539", + "physics/statistics.py": "f790b5df608ec54ff64ebd1a3203bcec0a00d1bfbc2677a29ccd34208fc29a01", + "physics/tandem_optics.py": "cdcdb0bf230b1bb49579c15c1286f29d928328482e75eb66de8a9a733b9d4658", + "physics/temperature.py": "bd21a92f32802cf228379c1ccdf4600b50290ffd2e78314d099f7fddbdd9fc85", + "physics/thermionic_constants.py": "729d2c0df0e8c441404af203fd77b057a90c30b67fd268d873c32585067f979c", + "physics/thermionic_transport.py": "996e4f1d46a10740a28f133a549ef7a2e190e72c0986b7a420a7c8f3fcfdca3d", + "physics/trap_kinetics.py": "9c3be44d7ef32773db38735cb6cbdd97cae68cfdc46f9ec60154a2b54c25efad", + "physics/trap_population_response.py": "64f5733bbaddceea323fa63b572abab133eb4c93bb1e88719cb156f483ad4398", + "physics/trap_transient.py": "a6b762e7120b8aeb557afab5fdc679f7d8c532f48100523edee632fd4b66e998", + "physics/traps.py": "2b4a2e6aee8471963fa392f295fb805c92a720340d77a757db2702bb65c7c2e6", + "physics/tunneling.py": "661bfbe9f825c2a23b334efab70452fc1320ca7e791e6bb4cbe810a2847864e4", + "physics/tunneling_channel_device.py": "8263d4f3675dc9fd775507be11702d5c916e3a4cecb47f57567601ab8e73292e", + "physics/tunneling_channels.py": "9fb2633b715d57a3e22e08da089ad98e584804a39e7d067c6649b9fd77959a36", + "physics/two_sided_interface.py": "c5c203480aa72343ccd1753c4fb8f42b5d4c792e81ba896de350fe8c5e272642", + "physics/two_sided_interface_compensated.py": "1460f59994ec5e66c2c9b0302307d7c114dac1819e10153a28fcea123e5c6bc9", + "physics/wkb_tunneling.py": "10604094f39fa7cdd50edd72d208e74564c0cf1e4439a57339af75dcf18b58f6", + "reproducibility.py": "83df5ef085a5ea86f3850aa2dbef10c09b43d3b037f344b1f66f686b2c182cd4", + "scaps_compat/__init__.py": "907408bc91357313a419c3c816a8351e99d770ded9dfef0a13a03ec56641801b", + "scaps_compat/defects.py": "afd98b29aa76cf5bdf01f291f6d289cfa7be34859ff2528b82ddcd57a77d2ca5", + "scaps_compat/distributed_defects.py": "23e0ea44ae438ce57cf8be803ff52ec53ce635cd0904c9a60cf41cd880f82c63", + "scaps_compat/loader.py": "a03a31b81497df6118592aebce7000befaa1d5de787ad989d880c263000e0cd6", + "scaps_compat/materials.py": "297634e0f0705a75e7866fcb9ccabacce8ca3feb76de6d7d46deaefcbcf0a424", + "screening/__init__.py": "5c940f3ec0943fb4706ae84921fb61a127e3acc2ec07a94f18db7ab5ae5fec70", + "screening/evaluation_report.py": "33746a81a20deb52d71223f69e57028205818bac2f33179ac2deb9e1d070ee5f", + "screening/solarscale.py": "67db4312f6bb1473e6d3cfd3eabd2b85dbdaf004e9f592c810485ff1a69b0bff", + "solver/__init__.py": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", + "solver/bulk_trap_equilibrium.py": "3f7bc1478b70eab82668e3db5b6b5cb457d92aad8f0fe1548c00d07b833d1f55", + "solver/dae.py": "0836cedbeabd5a211611c217776bc7a045197ee501373e8a2b240b062134d0cf", + "solver/dae_dual_ion_integrator.py": "32d228da12825ec5fcfcf654935c5a460e89b49e36368ff8f9a6f359c0ec65af", + "solver/dae_dual_ion_jacobian.py": "53988cfa8f6bd7af1877b5a8e76293b91527d8cd7b93b19389b5491a99b69971", + "solver/dae_dual_ions.py": "a513f262079d514e1636baac3bba043fe9612c4d0d5cb456adc65ec33dc229e0", + "solver/dae_integrator.py": "865f6631d2c3946252ab5e1c128b502a5d80f814f83ffa205c00d5f0450aceb5", + "solver/dae_interface_integrator.py": "b292418064b15fe9e3af51eebe9ef2048076171336742beb4c196d2b30dfa1d2", + "solver/dae_interface_jacobian.py": "5785e57455da3b882eded59bb9621cb21bcac52a7b68e5e2ba4fc3c0300e8503", + "solver/dae_interface_states.py": "8771d8e18d570ee3fe1dc9ba176d9580b57b79d9b1df8f00368b7ff54ed0aec2", + "solver/dae_ion_integrator.py": "32bb220c3928d99a41f0f51155f7fa70fea123b1e5ad3b1f8d58c2181a1343d0", + "solver/dae_ion_interface_integrator.py": "ab6d6a62e7b196261443381a47bd6f2951191083efb201844ef6d82f3ce1de5c", + "solver/dae_ion_interface_jacobian.py": "f5736725822e4cb4beb62e7b138e227f51a41b2dc38a8c37c274345f7d942ce9", + "solver/dae_ion_interface_states.py": "b0dee976889a4b8f237f656b822c017fa1039cdc3d49518251cef237a6dab541", + "solver/dae_ion_jacobian.py": "5edac1c030aa76e509cc87db8f83edc61280088e2e342b6aecfa00fe2d1d5c94", + "solver/dae_ions.py": "b594d7a347ce0aea6efa834a17aaa498e687a1d14b100fe7c15f5842e36966ea", + "solver/dae_jacobian.py": "1b775ae891b2323046742dbdf6ac967a569f3e8a5de2ecab959292fabade5640", + "solver/degenerate_equilibrium.py": "9a88670d4c8a04669fbad681f6e45a7571c9b8fc90ab10c36750159a562d96df", + "solver/illuminated_ss.py": "489d3d68dc7e2a6877bc10d91152cf8504f6b878c2a32b19a622f9cf4c1aede7", + "solver/mol.py": "1c02ff41356cfaf75245e3e9e3a0101064d43a766e9e416053ea1e75ef54b61a", + "solver/newton.py": "db4c2096108f7c6820dc900ea14bb03cd780d29212ad0fdedd290db84c95d3c2", + "solver/numerical_diagnostics.py": "4796fc14569386dfa5fda1b2897e1408d9f4865ad411e3faae4196aee32ca22a", + "solver/small_signal.py": "6b7578321b0fda1ef6ac9a48db44f6306c2bd0c65904a98229e07a0098740adf", + "solver/tolerances.py": "1a193fb904bfd593e7581c9c3a25f51e245bbb72ce6b9fcf22bdd9196170e0b6", + "solver/trap_transient.py": "a417a7a2f8c17932a617a7406a412a69cfcd5665ef1f78483a91b569ce209331", + "sweeps/__init__.py": "213b7f734a96a7052958dd310a26de922d352454f7813297032379c4b071f783", + "sweeps/device_parameter_sweep.py": "70d4185f1918ecdc041e057c23a7d78380d3c872eaa2a9835acb8d958109fce8", + "twod/__init__.py": "01dd4fc6ae498e9286352e375b3a4c7a6831c4965aeb0d86b299f904aee08d79", + "twod/continuity_2d.py": "706f356e8ee40c2de1b5aa52b70bfa3b99911dbb2b1e92c1b4371aa57e75e870", + "twod/experiments/__init__.py": "0135cf5154cb590920c85b4b914c6b28773ffb1c01b36a1baac285e9fc3c71eb", + "twod/experiments/jv_protocol_2d.py": "d5b22910f9c7cdfe5dd2eb037f00275f44e2fa3f177a05035de19475ec3f7acc", + "twod/experiments/jv_sweep_2d.py": "4d57ec5df5599f25237dadfbf202ea24c899454905834245fa498bc459afad69", + "twod/experiments/voc_grain_sweep.py": "46cd3258d5f9cb603e1b26571d3381ca35ee2ee61277f2b0e5a9e21a62e853ff", + "twod/field_mobility_2d.py": "137bc63740041a7158be54757e98209d6bdd1dda0d0f6c4e26ab7bec71194a18", + "twod/flux_2d.py": "43c019705a31430d84bdb888c926be0db9c7b13ed4144e6d3c8fb28ee1601d64", + "twod/grid_2d.py": "69fbfead2f8011a34665303be19ae7f2bad939cd111bcdfb66b5b7ab57995818", + "twod/interface_recombination_2d.py": "5a43d3b41b89bc8517939536302d59c272cb282ac0451870ce48b9a66f119388", + "twod/ion_migration_2d.py": "c4bc37d818b97732dfea3ab44ab305ef047f0381cfd80c1891976ba1e620bc8f", + "twod/microstructure.py": "60d06d32976305a4c29b04e7f46188e8a916e007048a9c6507c680e6d4b6ab35", + "twod/mobile_ion_current_2d.py": "9ecdb504fcf7302ee02a5cf00c0312f71547ac76d740d4b0dc700f2031a63c02", + "twod/poisson_2d.py": "bfb1a98beb235d923a10da172bc77501a21b18faa0ea74865ec78a5b021fe25d", + "twod/radiative_reabsorption_2d.py": "5dee50750a3fce10f37c53b781f9b3fd5c0920844ddd943cdd97dc2a1fb98434", + "twod/snapshot.py": "0ec4141f593f29ac71585f3b1bf99ee73ed7ef451298681ad7f734bac9682d11", + "twod/solver_2d.py": "75630674f85d27e86512affaa5600d344b0da672842f8a53698efc42cd1d1289", + "validation/__init__.py": "f89bdb1d0e95a5a33b04c6afb9471fc7e5a0bd008c62576eafefb6cfe595cec2", + "validation/bgn_refinement.py": "f5989e3a00a1f298df257b0b893a965e3778d13c155a1296705aff75de2528f7", + "validation/bulk_trap_refinement.py": "4415153d3c30a2bda68b1dd54c448bd32f4e1dc21222a91f553601beac1ede0b", + "validation/charged_defect_refinement.py": "c15eef42f9122d44b87391c243b03d526d22d269fc830389dc89001f7aa11a34", + "validation/cigs_optics_refinement.py": "c699faacb47b73d18b047af80530f73bfd52619f9ba8136bb2e2ec60488d8b04", + "validation/dae_dual_ion_refinement.py": "9f8727804890fa6ce487f9302c14d75a8472fb44644f7fd151d3a2b4b2168265", + "validation/dae_interface_refinement.py": "b99bcf748f7c7321379eb16fe2ec62ee4676dbe200cd0fd9b94b79644eca7159", + "validation/dae_ion_interface_refinement.py": "9e9ca60cb1b64b20ee3c912753c4ab72c71b7e2f9a5c46952315b2e722fca725", + "validation/dae_ion_refinement.py": "178482916aa1a7c8cc7af87ce4afdab722da1cd0ee882d336a4cf73e609faea5", + "validation/dae_refinement.py": "a8cf931308f66c5184d852f4457dd29ba6f5b46d981c21cda7a1ad5104076303", + "validation/defect_energy_refinement.py": "c6b39d4d5bf977b626ad283a928bc2eea2b0726df4f2a0d178ccb9f7c11dd8c8", + "validation/degenerate_refinement.py": "46075723655aa34b33663664d5506f813484b3cd1a28aabde585043d13294c57", + "validation/distributed_defect_refinement.py": "86fae54f0c9e8ab8394ccb7db57ff70b144cc1966b1487ed7d87172028931016", + "validation/dynamic_defect_transient_refinement.py": "b7b87088a5de7af25bd77a15897f5641dad707da06d4073606b3536595e495c1", + "validation/electrothermal_refinement.py": "07010dc8c5ff08fa75a88fbff0d8210c8e878c25253bfb4ad942db5ad68477c3", + "validation/external_circuit_refinement.py": "cb8453da1c93bc1c47ecbd61a70ecffe0d4eba50a8bd42a0c2e162da085143a7", + "validation/foundation_reference_refinement.py": "aa478f90f055d3dd27e9382c2c7b55d61029f0135672b7d1f2f3358436ee8aa7", + "validation/grid_convergence.py": "fab7c25a0c3da63768f3c99ad90019888d7da94fdac04d44062e38d9c9004c30", + "validation/identifiability_refinement.py": "d66f0a39a4e7b2e0af5e4cfc006b53a86f432e3c4273d59c08c3bbfd0e4ced52", + "validation/incomplete_ionization_refinement.py": "001c0448fae196dbf8f3911ca9277fee11dbe1b5c6a06cf6ed78820b1a1a8ea5", + "validation/interface_charge_stress.py": "ea765551cf56cbcfd64bd623fa95996b9c789836e8b2c48c2d0b24056a459994", + "validation/multivalent_defect_refinement.py": "28db6ad6710591d37386b12464a73fe345dedc873ed9d54c8b013b9c70c860e5", + "validation/numerical_certificate.py": "8adf88571ab94fde3135eb817eb3dc93b8d5d932c02d62ec5338e021df1fb413", + "validation/refinement_executors.py": "9e9730acefe72cc7dd9991e47f65624f37d875101795e85d2fc63d885ca4d40c", + "validation/refinement_runner.py": "e4c72b1cfc570ac2106fb031b17aeeb6675810529c78e1699fc074dd1f4d25eb", + "validation/regularization_certificate.py": "18054fccbd125f04a4dcbe1b3d8d016e70a7c67a87d526a5982c21f85c5a84c4", + "validation/regularization_executors.py": "23ad49cd022c2fe626fd2124d6d219f1fc90e26dc6d27a67e63ca5ff433959a6", + "validation/resolved_tunnelling_refinement.py": "f37222cc2d56fc8c900b4fc4f634ff1e16e470eb2843ac1e46fe2138bd10cca0", + "validation/spatial_defect_refinement.py": "694b96e6718e78daa8b853bc0d2c0a4eb8d4c5d989aecd60102a38e42d2b856e", + "validation/tunnelling_channel_refinement.py": "86104d6316d81fabddbd7a8a5a5b53412cbbaf8c4e450b4918502e81888bc608" + }, + "run_class": "development", + "sha256": "080d13ebc98673d9d4889f076514aa994040076e419c654af589cb920745d760", + "source_commit": null, + "source_content_sha256": null, + "study_input": { + "path": "reproducibility/OneDimensionalMechanismR1DynamicsInputV1.json", + "sha256": "3065a31951d4a90e8b0d03d042e3f2c0349cc7d8e792381a275cb05d58a047ca" + } + }, + "stack_sha256": "dc528a33fc78fa4ea083aa3ebd25568453f562f68649df508078a02e474fb9db", + "state": { + "capture_m2_s": [ + [ + 0.003752088795603616, + 0.003958894134286702, + 0.00029839825237670814, + 8.263733398718124e-05 + ] + ], + "local_residual": [ + 0.0, + -1.6347696640340648e-17, + 150.39747423612917, + -4030.225580068659, + -2701.848839167177, + 116.46693865390124 + ], + "n_m3": [ + 2515095827087.2163, + 2508690631696.646, + 2501917204129.2607, + 2494757275493.3613, + 2487192033991.0034, + 2479202157038.6416, + 2470767851312.4585, + 2461868901500.0137, + 2452484728555.2803, + 2442594458251.8047, + 2432177000815.2935, + 2421211142384.193, + 2409675648989.5396, + 2397549383668.6123, + 2384811437214.326, + 2371441272924.3706, + 2357418885534.567, + 2342724974307.4097, + 2327341129989.365, + 2311250035052.0957, + 2294435676291.0874, + 2276883568473.573, + 2258580987303.9023, + 2239517209522.983, + 2219683757476.8037, + 2199074644994.499, + 2177686620921.2935, + 2155519406170.9656, + 2132575919715.1453, + 2108862488540.9114, + 2084389036298.3472, + 2059169245161.9558, + 2033220685364.3179, + 2006564906951.5332, + 1979227488586.0938, + 1951238038697.5344, + 1922630144963.5725, + 1893441269008.7097, + 1863712584313.4111, + 1833488756628.4297, + 1802817667649.507, + 1771750084287.578, + 1740339277514.8389, + 1708640596411.1902, + 1676711004611.8428, + 1644608587781.8958, + 1612392041950.868, + 1580120153449.2964, + 1547851281747.1262, + 1515642856648.011, + 1483550901017.843, + 1451629589515.6409, + 1419930852661.7512, + 1388504034069.1252, + 1357395606835.0393, + 1326648953027.926, + 1296304208003.2842, + 1266398169047.0623, + 1236964265685.2722, + 1208032587017.3018, + 1179629959721.1523, + 1151780069020.0222, + 1124503613948.3423, + 1097818487742.7344, + 1071739974118.8923, + 1046280950558.4292, + 1021452090480.1692, + 997262057243.1061, + 973717684246.0251, + 950824136863.0034, + 928585053490.0447, + 907002664487.3279, + 886077889200.5787, + 865810412465.1154, + 846198742985.4603, + 827240256708.9993, + 808931228761.7195, + 791266857693.8746, + 774241285715.8658, + 757847618327.4086, + 742077946298.5299, + 726923372403.0231, + 712374044679.454, + 698419197352.8784, + 685047199930.4269, + 672245614420.5812, + 660001260142.3297, + 648300285202.4563, + 637128243432.2267, + 626470175388.9976, + 616310691935.4205, + 606634058900.0874, + 597424281381.4108, + 588665186370.1891, + 580340502517.5531, + 572433936050.9673, + 564929242029.2695, + 557810290317.698, + 551061125846.0918, + 544666022883.9592, + 538609533217.79285, + 532876528248.72394, + 527452235139.79785, + 522322267232.4558, + 517472649022.1628, + 512889836034.89526, + 508560729981.61743, + 504472689588.7589, + 500613537511.6615, + 496971563736.58417, + 493535525868.1365, + 490294646682.96277, + 487238609311.59143, + 484357550386.4812, + 481642051469.93933, + 479083129049.43365, + 476672223361.49316, + 474401186279.84064, + 472262268478.3778, + 470248106055.69525, + 468351706785.7396, + 466566436138.2424, + 464886003193.3712, + 463304446557.7517, + 461816120372.8127, + 460415680492.35834, + 459098070893.27466, + 457858510372.19836, + 21799211820636.355, + 21740215831273.977, + 21677749190110.21, + 21611629734458.047, + 21541668551084.117, + 21467670101502.91, + 21389432410726.027, + 21306747327565.45, + 21219400865094.94, + 21127173630339.2, + 21029841352679.387, + 20927175520747.004, + 20818944137806.434, + 20704912605665.945, + 20584844747007.61, + 20458503975699.49, + 20325654624005.395, + 20186063434701.074, + 20039501224803.75, + 19885744725935.52, + 19724578604218.004, + 19555797659945.785, + 19379209204149.504, + 19194635605439.727, + 19001916996271.113, + 18800914122895.87, + 18591511317945.59, + 18373619568710.875, + 18147179647920.957, + 17912165267331.523, + 17668586207739.18, + 17416491372471.365, + 17155971705149.043, + 16887162906804.27, + 16610247882698.617, + 16325458845624.227, + 16033079000528.908, + 15733443735312.555, + 15426941244884.584, + 15114012520409.7, + 14795150643237.29, + 14470899333509.21, + 14141850716814.3, + 13808642288384.348, + 13471953072963.822, + 13132498999067.992, + 12791027528383.49, + 12448311603655.41, + 12105143000772.22, + 11762325191844.56, + 11420665844891.908, + 11080969101361.58, + 10744027784134.918, + 10410615695284.697, + 10081480164037.78, + 9757335000995.506, + 9438854004592.014, + 9126665150511.533, + 8821345574810.764, + 8523417437819.2705, + 8233344729497.923, + 7951531049111.901, + 7678318364017.232, + 7413986725373.32, + 7158754893736.535, + 6912781805764.311, + 6676168795369.687, + 6448962469109.362, + 6231158126553.759, + 6022703611870.292, + 5823503482561.221, + 5633423384811.669, + 5452294531625.266, + 5279918189189.976, + 5116070088033.601, + 4960504687804.226, + 4812959237282.972, + 4673157583983.047, + 4540813699891.58, + 4415634901240.504, + 4297324750357.685, + 4185585636502.104, + 4080121040049.225, + 3980637490442.7734, + 3886846233047.8228, + 3798464623509.5303, + 3715217270569.4175, + 3636836949680.1875, + 3563065310312.195, + 3493653399745.203, + 3428362025500.035, + 3366961977527.8296, + 3309234129961.15, + 3254969440721.915, + 3203968865675.293, + 3156043202370.2734, + 3111012876776.559, + 3068707684849.5845, + 3028966499257.373, + 2991636950213.222, + 2956575088070.922, + 2923645034182.4326, + 2892718625468.232, + 2863675057228.5137, + 2836400527904.354, + 2810787888784.7427, + 2786736301042.4497, + 2764150901949.6064, + 2742942481674.657, + 2723027171682.253, + 2704326145438.9585, + 2686765331862.926, + 2670275141738.2505, + 2654790207140.753, + 2640249133774.399, + 2626594266011.937, + 2613771464341.5967, + 2601729894856.4185, + 2590421830376.7974, + 2579802462757.5044, + 2569829725914.7524, + 2560464129089.3286, + 2551668599864.51, + 2543408336451.9766, + 2535650668771.033, + 2528364927853.022, + 2521522323118.466, + 2515095827087.2163 + ], + "occupancy": [ + 7.928333613737113e-05 + ], + "p_m3": [ + 2515095827087.2163, + 2521517376239.463, + 2528343867252.1826, + 2535600189073.5825, + 2543312672678.547, + 2551509162524.7666, + 2560219089816.9023, + 2569473547345.592, + 2579305365609.43, + 2589749189870.2666, + 2600841557715.43, + 2612620976629.159, + 2625128000980.195, + 2638405307741.533, + 2652497770152.43, + 2667452528413.5786, + 2683319056389.6597, + 2700149223158.2173, + 2717997348106.873, + 2736920248142.079, + 2756977275423.2095, + 2778230343898.3184, + 2800743942775.3574, + 2824585134940.009, + 2849823538220.4927, + 2876531287313.9463, + 2904782974141.502, + 2934655564390.124, + 2966228288049.925, + 2999582501869.4297, + 3034801521846.846, + 3071970424162.2466, + 3111175813338.698, + 3152505556921.659, + 3196048486579.4707, + 3241894066250.5356, + 3290132028809.6787, + 3340851983655.828, + 3394142998630.8657, + 3450093160726.0225, + 3508789121066.956, + 3570315630640.5156, + 3634755074055.5957, + 3702187009261.2847, + 3772687721459.2773, + 3846329799403.1855, + 3923181741762.7197, + 4003307600211.144, + 4086766664311.488, + 4173613191138.8545, + 4263896179920.0967, + 4357659188859.0986, + 4454940187911.786, + 4555771437729.7705, + 4660179381558.677, + 4768184533790.243, + 4879801346434.432, + 4995038033235.377, + 5113896330798.029, + 5236371177073.222, + 5362450290024.977, + 5492113633306.382, + 5625332761209.474, + 5762070041884.159, + 5902277765514.964, + 6045897152467.5205, + 6192857284863.386, + 6343073993171.592, + 6496448736658.453, + 6652867522440.93, + 6812199912027.99, + 6974298166232.389, + 7138996578975.091, + 7306111047687.907, + 7475438922780.2, + 7646759171142.285, + 7819832879262.933, + 7994404110612.954, + 8170201120051.015, + 8346937915715.048, + 8524316146720.175, + 8702027283635.226, + 8879755048648.73, + 9057178044001.918, + 9233972521049.365, + 9409815228376.953, + 9584386275906.818, + 9757371952750.31, + 9928467439650.898, + 10097379361875.836, + 10263828135032.535, + 10427550064171.508, + 10588299165192.426, + 10745848686629.28, + 10899992318962.803, + 11050545087293.77, + 11197343931266.57, + 11340247983292.71, + 11479138562216.635, + 11613918904556.387, + 11744513659186.791, + 11870868173977.332, + 11992947604390.713, + 12110735874558.635, + 12224234521010.447, + 12333461448098.715, + 12438449622504.135, + 12539245732051.46, + 12635908831605.023, + 12728508996179.402, + 12817125998663.074, + 12901848026826.057, + 12982770451646.291, + 13059994656480.348, + 13133626934295.629, + 13203777458053.055, + 13270559327474.787, + 13334087693760.3, + 13394478962424.215, + 13451850073229.49, + 13506317855218.848, + 13557998454071.36, + 13607006828410.482, + 13653456311253.195, + 13697458232466.842, + 13739121597949.793, + 13778552821143.564, + 13815855502492.732, + 290180538265.99115, + 290967995395.2472, + 291806449295.52466, + 292699213229.54645, + 293649816627.8212, + 294662019211.8373, + 295739826023.1233, + 296887503410.5536, + 298109596029.39276, + 299410944907.1897, + 300796706631.8759, + 302272373718.29016, + 303843796208.03485, + 305517204556.64307, + 307299233859.4539, + 309196949463.3279, + 311217874006.2341, + 313370015918.59985, + 315661899410.68384, + 318102595957.19604, + 320701757273.9108, + 323469649760.915, + 326417190361.98975, + 329555983759.3718, + 332898360786.029, + 336457417894.6302, + 340247057469.6934, + 344282028708.9713, + 348577968729.3917, + 353151443470.2788, + 358019987873.3097, + 363202144711.4427, + 368717501319.25195, + 374586723343.2036, + 380831584482.7307, + 387474991032.83, + 394540999866.7426, + 402054828315.1392, + 410042854211.3144, + 418532604181.46356, + 427552728074.7983, + 437132957254.5065, + 447304044318.84424, + 458097681703.3303, + 469546396540.6217, + 481683419143.4813, + 494542522539.90656, + 508157830649.2136, + 522563592957.9715, + 537793923954.2584, + 553882506121.293, + 570862255988.0336, + 588764953593.2751, + 607620836737.8927, + 627458162570.6604, + 648302740355.6886, + 670177440675.5829, + 693101687788.7157, + 717090943331.698, + 742156190968.9143, + 768303432871.0387, + 795533209970.2169, + 823840158714.4127, + 853212617445.9954, + 883632295497.9269, + 915074017579.8136, + 947505554987.5366, + 980887553609.0275, + 1015173566640.5638, + 1050310197427.1599, + 1086237354981.4829, + 1122888621627.746, + 1160191728990.294, + 1198069135342.98, + 1236438694300.6128, + 1275214402104.0803, + 1314307208460.3555, + 1353625874133.138, + 1393077857329.0203, + 1432570210411.324, + 1472010468614.8296, + 1511307513193.0671, + 1550372392745.658, + 1589119088270.532, + 1627465209649.5527, + 1665332613705.6755, + 1702647936539.9224, + 1739343035459.4631, + 1775355338341.7637, + 1810628100652.4126, + 1845110572472.731, + 1878758079755.4583, + 1911532025562.6362, + 1943399818247.9429, + 1974334734418.3425, + 2004315725064.5447, + 2033327173510.3147, + 2061358613828.6257, + 2088404418151.9753, + 2114463460891.9895, + 2139538767339.212, + 2163637153455.9543, + 2186768862957.5393, + 2208947207016.7876, + 2230188211161.9976, + 2250510273188.3203, + 2269933835180.183, + 2288481072070.6855, + 2306175598547.246, + 2323042195552.7686, + 2339106557144.1494, + 2354395058039.811, + 2368934541828.2715, + 2382752129502.6694, + 2395875047747.058, + 2408330476198.324, + 2420145412765.2275, + 2431346555977.0073, + 2441960203261.6323, + 2452012164015.7334, + 2461527686308.6074, + 2470531396074.1904, + 2479047247660.4946, + 2487098484649.6377, + 2494707609901.1533, + 2501896363830.9556, + 2508685709991.6157, + 2515095827087.2163 + ], + "phi_V": [ + 0.0, + -6.592127310842491e-05, + -0.00013581568928608024, + -0.00020990440609618236, + -0.00028841856185545016, + -0.0003715994240758543, + -0.00045969849557844994, + -0.000552977571161631, + -0.0006517087370874158, + -0.0007561743050335873, + -0.0008666666715599128, + -0.0009834880935696542, + -0.0011069503697331566, + -0.0012373744174013848, + -0.0013750897342015972, + -0.0015204337333053048, + -0.0016737509413259672, + -0.0018353920479789124, + -0.0020057127970616443, + -0.00218507270903369, + -0.0023738336265391917, + -0.0025723580756698908, + -0.0027810074376578824, + -0.0030001399280594264, + -0.003230108383380083, + -0.0034712578585249236, + -0.00372392304244869, + -0.003988425503925857, + -0.004265070784432203, + -0.004554145360673333, + -0.0048559135052247205, + -0.005170614079938501, + -0.005498457303060356, + -0.005839621537179042, + -0.00619425015095302, + -0.006562448512733978, + -0.006944281178414515, + -0.007339769338719255, + -0.00774888859237951, + -0.008171567110832438, + -0.008607684256949208, + -0.009057069714562495, + -0.009519503177057104, + -0.009994714631948398, + -0.010482385264284699, + -0.010982148985120361, + -0.01149359457264693, + -0.012016268393459276, + -0.01254967765067109, + -0.013093294085135628, + -0.013646558036948201, + -0.014208882757843029, + -0.01477965885217951, + -0.015358258715984324, + -0.015944040840848956, + -0.016536353852994037, + -0.01713454016779492, + -0.017737939156426043, + -0.01834588974352321, + -0.018957732381969176, + -0.019572810381784735, + -0.020190470603049817, + -0.020810063555962006, + -0.021430942982641994, + -0.022052465023229398, + -0.022673987091461942, + -0.023294866600879188, + -0.02391445969102917, + -0.024532120103055992, + -0.025147198345809536, + -0.025759041277669956, + -0.02636699220662989, + -0.02697039158324344, + -0.02756857832954881, + -0.028160891813888263, + -0.028746674448607044, + -0.029325274856735806, + -0.029896051526555, + -0.030458376850697952, + -0.031011641430086417, + -0.03155525851300936, + -0.03208866843614384, + -0.03261134293698413, + -0.03312278921537351, + -0.03362255363475117, + -0.03411022497029034, + -0.03458543713018368, + -0.03504787129678997, + -0.03549725745511926, + -0.035933375296243915, + -0.03635605450188246, + -0.03676517443299265, + -0.03716066325929868, + -0.03754249657801662, + -0.03791069557854878, + -0.038265324815651744, + -0.03860648965671942, + -0.038934333469621454, + -0.03924903461631659, + -0.03955080331456852, + -0.03983987842588428, + -0.04011652422261972, + -0.040381027181375005, + -0.040633692843623455, + -0.040874842778229184, + -0.041104811674318224, + -0.04132394458703852, + -0.041532594353200704, + -0.04173111918871939, + -0.041919880475230084, + -0.042099240739265395, + -0.04226956182394077, + -0.04243120325021111, + -0.04258452076238766, + -0.042729865050712655, + -0.04286758064233497, + -0.042998004950966, + -0.04312146747477376, + -0.043238289131647664, + -0.04334878172079151, + -0.04345324749963472, + -0.0435519788652539, + -0.043645258129832734, + -0.04373335738012683, + -0.04381653841141481, + -0.04389505272698365, + -0.043969141594796375, + -0.04403903615360535, + -0.04417098013672001, + -0.04424103917608043, + -0.0443154272183328, + -0.04439439908279837, + -0.04447822294582017, + -0.04456718082568137, + -0.04466156905510166, + -0.044761698735909294, + -0.0448678961697472, + -0.04498050325787024, + -0.04509987786222858, + -0.045226394119109135, + -0.045360442695627654, + -0.04550243097833257, + -0.04565278318210574, + -0.045811940366435155, + -0.04598036034500434, + -0.046158517473409336, + -0.04634690229869933, + -0.0465460210533673, + -0.04675639497542426, + -0.04697855943531347, + -0.04721306284970169, + -0.047460465361675176, + -0.04772133726662414, + -0.04799625716318471, + -0.04828580980909063, + -0.0485905836627422, + -0.04891116809280502, + -0.04924815024028527, + -0.04960211152037137, + -0.04997362375495872, + -0.05036324493125367, + -0.05077151458724116, + -0.051198948831136896, + -0.05164603500924685, + -0.052113226044911296, + -0.05260093448037077, + -0.05310952626336759, + -0.05363931433095231, + -0.054190552054109865, + -0.054763426618210646, + -0.05535805242562378, + -0.05597446461774584, + -0.056612612823788114, + -0.05727235525247753, + -0.05795345324987956, + -0.05865556645135115, + -0.05937824865769442, + -0.06012094456445692, + -0.06088298746862276, + -0.06166359806836553, + -0.06246188445891, + -0.0632768434108469, + -0.06410736299660105, + -0.06495222660648942, + -0.06581011836843287, + -0.06667962995559854, + -0.06755926873490876, + -0.06844746717745855, + -0.06934259342053188, + -0.07024296284124425, + -0.07114685047500048, + -0.07205250408900997, + -0.07295815770298829, + -0.07386204533665124, + -0.07476241475720878, + -0.07565754100006679, + -0.07654573944234214, + -0.0774253782213206, + -0.07829488980809927, + -0.07915278156960295, + -0.07999764517900147, + -0.0808281647642187, + -0.08164312371557482, + -0.08244141010549806, + -0.08322202070458268, + -0.08398406360805713, + -0.08472675951409868, + -0.0854494417196953, + -0.08615155492039825, + -0.08683265291701338, + -0.08749239534490132, + -0.08813054355013109, + -0.08874695574143307, + -0.08934158154802184, + -0.0899144561112971, + -0.0904656938336309, + -0.09099548190039643, + -0.09150407368258112, + -0.09199178211723785, + -0.0924589731521111, + -0.09290605932944326, + -0.09333349357257632, + -0.09374176322781773, + -0.09413138440338444, + -0.0945028966372625, + -0.09485685791665914, + -0.09519384006347048, + -0.0955144244928855, + -0.09581919834591078, + -0.09610875099121219, + -0.09638367088719017, + -0.09664454279157846, + -0.09689194530301311, + -0.09712644871688415, + -0.09734861317627758, + -0.09755898709785986, + -0.09775810585207377, + -0.09794649067692993, + -0.09812464780492082, + -0.09829306778309506, + -0.09845222496704818, + -0.0986025771704631, + -0.09874456545282721, + -0.09887861402902175, + -0.09900513028559454, + -0.09912450488966072, + -0.09923711197750656, + -0.09934330941108165, + -0.09944343909164019, + -0.09953782732082457, + -0.0996267852004624, + -0.09971060906327285, + -0.0997895809275385, + -0.09986396896960184, + -0.0999340280087836, + -0.09999999999999964 + ], + "poisson_residual_C_m2": [ + 2.152113535828595e-21, + -4.935959947430232e-22, + 1.2286132570330469e-20, + -1.0235184049585799e-20, + -3.439568318864366e-21, + 7.389838339270037e-21, + -4.413338796928801e-20, + 6.698923738251639e-20, + -5.3070909786640785e-20, + 5.987508971863309e-20, + -7.535589732420994e-20, + 3.149514969335696e-20, + 3.631383342626646e-20, + 6.6175263842677414e-21, + -8.137925808150223e-20, + 9.503096226360962e-20, + -1.0386897541325661e-19, + 9.292913953941036e-20, + -7.664262419157715e-20, + 1.0249878670628195e-19, + -8.313122535766058e-20, + -1.8617726350601518e-20, + 9.308612908225661e-20, + -8.716558709843967e-20, + 4.991601671044741e-20, + -7.771596229947745e-20, + 7.559814565098822e-20, + -4.507015463648666e-20, + 1.0710497603453036e-19, + -1.1941735073467655e-19, + 6.772241577027206e-20, + 3.3323512497401163e-21, + -8.48240849828284e-20, + 6.451117150440033e-20, + -1.5523817580830922e-20, + -6.285364564627634e-21, + 4.238358584360114e-20, + 6.263762355965359e-20, + -9.534211360286756e-20, + -8.33808820447089e-20, + 1.5087802933358243e-19, + -1.2849193024605e-19, + 1.0370144069796662e-19, + -1.2805764933656247e-21, + -1.129934395853369e-19, + 7.093798087150535e-20, + -1.939685360437732e-20, + 7.797831577052328e-20, + -9.541143211600779e-20, + 1.0724345681358345e-19, + -1.4813670191610913e-19, + 7.828381205974508e-20, + 4.208650733337484e-21, + -4.279783202872174e-20, + 1.6464496728593796e-19, + -2.1937759807324426e-19, + 2.366236041613243e-19, + -2.297177140941393e-19, + 1.913533651498445e-20, + 2.402033831547433e-19, + -1.6376105601328781e-19, + -1.0515254261224506e-19, + 2.0497890253180216e-19, + -2.320826423165396e-19, + 1.591779410282491e-19, + -1.1567190363569867e-19, + 9.256644144909357e-20, + 1.046469091278434e-19, + -1.2123729928206713e-19, + -8.180153094876113e-20, + 6.845138698017368e-20, + 3.421173478296375e-20, + 8.436359229312477e-20, + -1.990746048888859e-19, + 2.342579524751003e-19, + -2.638379747340418e-19, + 2.5886816591433405e-19, + -2.512870376701257e-19, + 1.0585716401452875e-19, + 1.947464469892943e-19, + -3.160379600384039e-19, + 3.759728158695782e-19, + -3.266172315081976e-19, + -2.250552046695965e-20, + 2.4051566915689845e-19, + -2.2184441906412012e-19, + 2.080106083568864e-19, + -2.0814316549606735e-19, + 1.7597061931257503e-19, + 1.0247830106022162e-19, + -4.628273056175474e-19, + 4.0658218510659654e-19, + -2.807225022266887e-20, + -5.648119350127733e-19, + 2.8107909574963624e-19, + 5.07521570591683e-19, + -7.369242899922807e-19, + 1.2154576769144286e-18, + -1.6674116671206489e-18, + 1.2437586409922384e-18, + -7.518590759586806e-19, + 7.431651908629205e-19, + -4.3002177775830363e-19, + -4.9195022303661606e-20, + 8.325751183864443e-19, + -1.2274316875418918e-18, + 1.3798488404332308e-18, + -9.030461484145223e-19, + -7.388665323189898e-19, + -4.4482711066001e-20, + 1.045384065075465e-18, + 1.4808042555432427e-18, + -1.7650046227734048e-18, + -2.1133104433313503e-18, + 4.281506747075607e-18, + -2.0546198650004473e-18, + -1.7161396749474446e-18, + 2.733649028920091e-18, + -7.359643141910359e-19, + -3.8164252882981865e-19, + -4.264995910657749e-19, + 1.0484472664345596e-18, + -9.854340034101037e-19, + -2.0803657318267913e-18, + 5.624790503970796e-18, + -5.256520997583766e-18, + 1.5521775873387699e-18, + 2.33466954474926e-18, + -1.632053168541928e-18, + -6.289280760023692e-20, + 9.52993038746331e-19, + -5.161264770617752e-19, + -2.697239451760789e-18, + 3.33599654111654e-18, + -2.534370749488373e-18, + 1.8538491855773918e-18, + 6.718451775656762e-19, + -1.1965156437374239e-18, + -5.759899663483552e-19, + 4.566446562857116e-19, + -6.882276726344436e-19, + 8.812796581553978e-19, + 6.389445784545522e-19, + -1.493836995921284e-18, + 2.179698262871639e-18, + -2.0379623305219887e-18, + 1.9876384984329135e-19, + 1.2919537950154023e-18, + -8.051834904286886e-19, + 6.984834316884101e-21, + -5.936583190860314e-19, + 1.2102674632262926e-18, + -7.935564337389934e-19, + 1.8602545055041476e-19, + 2.6060559947317494e-19, + -4.241980570031454e-19, + -3.051428249817589e-20, + 6.47306930646894e-19, + -1.2119464440368428e-18, + 9.96394916204275e-19, + -2.880336318323962e-19, + -1.4531704359930446e-19, + 7.7497305486397e-19, + -9.59643351050457e-19, + 9.86435365144587e-20, + 3.170037834733385e-19, + -6.894235670708026e-20, + 4.984952806380397e-19, + -9.296489513472949e-19, + 5.149307198119139e-19, + -3.401723298223596e-20, + 1.3434875927663309e-19, + -1.9550316624900345e-19, + -1.391529296754167e-19, + 3.099266463672265e-19, + -3.252625531682379e-19, + 2.0188497478499964e-19, + 3.833512506467308e-19, + -6.689615118772824e-19, + 7.440536121827289e-19, + -1.0111549649047108e-18, + 5.247727854080232e-19, + 2.538755381860632e-19, + -1.0581026868107202e-19, + -1.452236166650336e-19, + 1.5601784040277493e-19, + -5.844330105726038e-19, + 2.0925284398439877e-19, + 5.011564347742365e-19, + -3.411058327908843e-19, + 1.364453501378604e-19, + -3.2742251332397146e-19, + 4.2268581507133364e-19, + -1.4008960930243999e-19, + 4.538604836818885e-19, + -7.959980020194092e-19, + 5.848009392012534e-19, + -6.01410914675026e-19, + 3.160868275402096e-19, + 3.1063706892140973e-19, + -2.471107540350908e-19, + -7.599178280070189e-19, + 1.3469723823659712e-18, + -6.950788869953722e-19, + 1.7331196421688087e-19, + -2.5828453686409633e-19, + 2.294400601401734e-19, + 1.3714328599104117e-19, + -3.748085974645528e-19, + 2.461816504760576e-19, + -1.3963587022608492e-19, + -8.542945639899467e-19, + 9.62436195295918e-19, + 8.924799413268462e-19, + -1.552906113790708e-18, + 9.219964399555809e-20, + 1.5300842015989467e-18, + -1.6590771046318536e-18, + 1.5269191343458513e-18, + -2.182081371912305e-18, + 1.2290665166923245e-18, + 4.961323849095225e-19, + -1.5593035846279362e-19, + -1.8580537335015053e-19, + -9.840129850706451e-19, + 1.7484029270699764e-18, + -1.0714942862141882e-18, + 1.3607856751782833e-18, + -2.2181633936773068e-18, + 1.2780065666013433e-18, + -1.3821979172462553e-18, + 3.826026240986629e-18, + -3.008240316151147e-18, + -1.8729682686890255e-18, + 2.9795636408158255e-18, + -1.3887552833834766e-18, + -3.2699841587526287e-20, + 3.705752536790647e-18, + -3.208204740477716e-18, + 5.74485910050376e-20, + 8.834424355031265e-19, + -1.0745955833965733e-18, + -2.7061893423707438e-18, + 2.2180624656881764e-18, + 2.578773800583614e-18, + -3.1451048885769715e-18, + 5.404344601712865e-18, + -6.7112722402682705e-18, + 3.3301215330255774e-18, + -3.947107287645638e-18, + 9.384190694010617e-18, + -7.33310293149544e-18, + -7.207989431103039e-19, + 2.7119223845407406e-18 + ], + "positive_inventory_m2": [ + 999999999999999.8 + ], + "positive_m3": [ + 5.975968276481229e+21, + 5.986658954600301e+21, + 5.998005926241845e+21, + 6.010047230742219e+21, + 6.022822816989956e+21, + 6.036374599741151e+21, + 6.050746511801418e+21, + 6.065984550996106e+21, + 6.082136820722963e+21, + 6.099253562741999e+21, + 6.117387180701065e+21, + 6.136592252750241e+21, + 6.156925531427654e+21, + 6.178445928844416e+21, + 6.201214485035359e+21, + 6.225294317173934e+21, + 6.25075054722267e+21, + 6.277650205443065e+21, + 6.30606210709443e+21, + 6.336056699566494e+21, + 6.367705877178135e+21, + 6.401082760870131e+21, + 6.436261440138111e+21, + 6.473316674705153e+21, + 6.512323553704559e+21, + 6.553357110517648e+21, + 6.596491891926686e+21, + 6.641801480858361e+21, + 6.689357972820496e+21, + 6.73923140704937e+21, + 6.791489154536613e+21, + 6.84619526634206e+21, + 6.903409787049413e+21, + 6.963188039751546e+21, + 7.02557989058836e+21, + 7.090629002550537e+21, + 7.158372089916621e+21, + 7.228838186258646e+21, + 7.302047940336976e+21, + 7.378012955306262e+21, + 7.45673518736025e+21, + 7.538206420157169e+21, + 7.622407830981198e+21, + 7.709309663532688e+21, + 7.798871020419183e+21, + 7.891039785850308e+21, + 7.985752685720036e+21, + 8.08293548826576e+21, + 8.182503343965175e+21, + 8.284361258456629e+21, + 8.388404687268741e+21, + 8.49452023634845e+21, + 8.602586448023094e+21, + 8.712474648492751e+21, + 8.824049830504356e+21, + 8.937171543693409e+21, + 9.051694765453078e+21, + 9.167470727097856e+21, + 9.284347673542117e+21, + 9.402171539513892e+21, + 9.5207865312873e+21, + 9.640035609560572e+21, + 9.759760876106433e+21, + 9.879803873649203e+21, + 1.0000005814574731e+22, + 1.0120207759165853e+22, + 1.0240250767667611e+22, + 1.0359976052349643e+22, + 1.047922515574742e+22, + 1.0597840179374294e+22, + 1.0715664083603046e+22, + 1.0832541074324145e+22, + 1.0948317085831575e+22, + 1.106284036256127e+22, + 1.1175962135315821e+22, + 1.1287537380952176e+22, + 1.1397425648552206e+22, + 1.1505491930303762e+22, + 1.1611607551849953e+22, + 1.1715651054969226e+22, + 1.1817509045077681e+22, + 1.1917076977197165e+22, + 1.2014259856487945e+22, + 1.2108972832981653e+22, + 1.2201141674508733e+22, + 1.229070310659224e+22, + 1.2377605013114611e+22, + 1.2461806496392906e+22, + 1.2543277799880553e+22, + 1.2622000100652486e+22, + 1.2697965182197298e+22, + 1.2771175000571879e+22, + 1.2841641158829035e+22, + 1.2909384305657252e+22, + 1.297443347458432e+22, + 1.3036825379868168e+22, + 1.3096603684502187e+22, + 1.3153818254646736e+22, + 1.3208524413430948e+22, + 1.326078220548878e+22, + 1.331065568194133e+22, + 1.3358212213850304e+22, + 1.3403521840528973e+22, + 1.3446656657567357e+22, + 1.348769024797804e+22, + 1.3526697158630477e+22, + 1.3563752422996403e+22, + 1.3598931130296692e+22, + 1.3632308040343937e+22, + 1.366395724272057e+22, + 1.3693951858452063e+22, + 1.3722363781939498e+22, + 1.3749263460652965e+22, + 1.377471970992838e+22, + 1.379879956010099e+22, + 1.382156813320362e+22, + 1.3843088546476994e+22, + 1.3863421840018823e+22, + 1.3882626926002244e+22, + 1.390076055702177e+22, + 1.3917877311281406e+22, + 1.3934029592480203e+22, + 1.3949267642426317e+22, + 1.3963639564562671e+22, + 1.3977191356757298e+22, + 1.398996695185526e+22, + 1.4002008264650713e+22, + 1.4013355244067127e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22, + 1e+22 + ], + "sheet_charge_C_m2": [ + -2.5841505946391707e-13 + ], + "trace_potential_V": [ + [ + -0.044105008145334926, + -0.044105008145334926 + ] + ], + "trace_state_m3": [ + [ + 456691585972.8081, + 13851157354727.346, + 21854912500942.438, + 289440967545.14105 + ] + ] + }, + "state_time": "0-", + "study_spec_sha256": "f140505c3a7ec7c52fe38c46f36d53b876a87c2ee50512568cb62671b05c6a73", + "verification": { + "dc_certificate_evaluation": "saved_QF_and_ion_coordinates_with_QSS_interface", + "provenance_assurance": "content_bound_claims_not_independently_verified", + "provenance_only": [ + "environment", + "created_utc", + "dc_state.certificate.optimizer_success", + "dc_state.certificate.optimizer_nfev" + ], + "recomputed": [ + "preparation_checks", + "dc_state.certificate.maximum_normalized_residual", + "dc_state.certificate.electron_continuity_bound_A_m2", + "dc_state.certificate.hole_continuity_bound_A_m2", + "dc_state.certificate.maximum_ion_electrochemical_residual", + "dc_state.certificate.maximum_ionic_face_current_A_m2", + "dc_state.certificate.maximum_ion_inventory_relative_error", + "dc_state.certificate.face_current_spread_A_m2", + "dc_state.certificate.poisson_residual", + "dc_state.certificate.maximum_bulk_trap_balance_relative_error", + "dc_state.certificate.maximum_interface_residual", + "dc_state.certificate.maximum_interface_gauss_residual", + "dc_state.certificate.contact_thermodynamics", + "dc_state.certificate.certified", + "dc_state.certificate.reasons" + ], + "schema": "R1PreparationVerificationV1" + } + }, + "reference": { + "f_ref": [ + 7.928011033749389e-05 + ], + "geometry": "physical_boundary_two_sided_v1", + "maximum_difference": 1e-08, + "microscopic_documents": [ + "486dd4d2969cd6d20c1e054c0ace6e892e964173af6af62d3eb736755cbc0d71" + ], + "reference_intervals": 512, + "rungs": [ + { + "difference": null, + "f_ref": [ + 7.954622426871699e-05 + ], + "intervals": 32 + }, + { + "difference": 1.9901348908252074e-07, + "f_ref": [ + 7.934721077963447e-05 + ], + "intervals": 64 + }, + { + "difference": 5.1012362836127157e-08, + "f_ref": [ + 7.929619841679834e-05 + ], + "intervals": 128 + }, + { + "difference": 1.2861884555017203e-08, + "f_ref": [ + 7.928333653224332e-05 + ], + "intervals": 256 + }, + { + "difference": 3.2261947494337554e-09, + "f_ref": [ + 7.928011033749389e-05 + ], + "intervals": 512 + } + ], + "schema": "ReferenceBindingV1", + "scope": "synthetic_300K_dark_fixed_energy_positive_ion_reference", + "sha256": "0a6532a436dd07e6b27f01da3fc39aef906e6fd882057f0109c1bc5bdf77e39b", + "stack_sha256": "532ffb44aaf326b597c4d512e5a16548033f5c25e2a3e8fbb4fd079ab6c719ae" + }, + "representation_scope": { + "local_carrier_DD_low_words": "recomputed intermediates from exact saved binary64 inputs; not invented persistent state", + "newton_candidate_history_309": "not recorded; future candidate evaluations must be labelled reconstructed", + "persistent_primary_low_words": "not part of this historical baseline representation", + "primary_words": "original binary64 baseline arrays" + }, + "request": { + "absolute_engineering_limits": { + "case_artifact_bytes": 17179869184, + "elapsed_s": 21600, + "peak_rss_bytes": 34359738368, + "row_payload_bytes": 4294967296 + }, + "absolute_engineering_qualification": true, + "baseline_repeats": 1, + "case": { + "amplitude_V": 0.005, + "control": "D", + "fault": "none", + "intervals": 256, + "nonlinear_factor": 0.01, + "time_substeps": [ + 4, + 8, + 16 + ], + "times_s": [ + 0.0, + 1e-09, + 1.2115276586285901e-09, + 1.4677992676220676e-09, + 1.7782794100389228e-09, + 2.1544346900318866e-09, + 2.6101572156825333e-09, + 3.1622776601683795e-09, + 3.831186849557293e-09, + 4.641588833612773e-09, + 5.623413251903491e-09, + 6.812920690579622e-09, + 8.254041852680173e-09, + 1e-08, + 1.2115276586285877e-08, + 1.4677992676220705e-08, + 1.7782794100389228e-08, + 2.1544346900318822e-08, + 2.6101572156825384e-08, + 3.162277660168379e-08, + 3.831186849557285e-08, + 4.641588833612782e-08, + 5.6234132519034905e-08, + 6.812920690579608e-08, + 8.25404185268019e-08, + 1e-07, + 1.2115276586285877e-07, + 1.4677992676220706e-07, + 1.7782794100389227e-07, + 2.1544346900318822e-07, + 2.6101572156825384e-07, + 3.162277660168379e-07, + 3.831186849557285e-07, + 4.641588833612782e-07, + 5.62341325190349e-07, + 6.812920690579608e-07, + 8.25404185268019e-07, + 1e-06, + 1.2115276586285875e-06, + 1.4677992676220705e-06, + 1.778279410038923e-06, + 2.1544346900318822e-06, + 2.6101572156825386e-06, + 3.162277660168379e-06, + 3.831186849557285e-06, + 4.641588833612782e-06, + 5.623413251903491e-06, + 6.8129206905796085e-06, + 8.25404185268019e-06, + 1e-05, + 1.2115276586285876e-05, + 1.4677992676220705e-05, + 1.778279410038923e-05, + 2.1544346900318823e-05, + 2.6101572156825386e-05, + 3.1622776601683795e-05, + 3.831186849557285e-05, + 4.641588833612782e-05, + 5.623413251903491e-05, + 6.812920690579608e-05, + 8.25404185268019e-05, + 0.0001, + 0.00012115276586285888, + 0.0001467799267622069, + 0.00017782794100389227, + 0.00021544346900318845, + 0.0002610157215682536, + 0.00031622776601683794, + 0.0003831186849557289, + 0.00046415888336127773, + 0.0005623413251903491, + 0.0006812920690579615, + 0.0008254041852680181, + 0.001, + 0.001211527658628589, + 0.0014677992676220691, + 0.0017782794100389228, + 0.0021544346900318843, + 0.0026101572156825357, + 0.0031622776601683794, + 0.003831186849557289, + 0.004641588833612777, + 0.005623413251903491, + 0.006812920690579615, + 0.008254041852680182, + 0.01, + 0.012115276586285882, + 0.014677992676220698, + 0.01778279410038923, + 0.021544346900318832, + 0.026101572156825372, + 0.03162277660168379, + 0.03831186849557287, + 0.046415888336127795, + 0.05623413251903491, + 0.06812920690579612, + 0.08254041852680186, + 0.1, + 0.12115276586285885, + 0.14677992676220694, + 0.1778279410038923, + 0.2154434690031884, + 0.26101572156825364, + 0.31622776601683794, + 0.38311868495572876, + 0.4641588833612779, + 0.5623413251903491, + 0.6812920690579612, + 0.8254041852680184, + 1.0, + 1.2115276586285884, + 1.4677992676220695, + 1.7782794100389228, + 2.154434690031884, + 2.610157215682537, + 3.1622776601683795, + 3.831186849557288, + 4.641588833612778, + 5.623413251903491, + 6.812920690579613, + 8.254041852680183, + 10.0, + 12.115276586285882, + 14.677992676220699, + 17.78279410038923, + 21.544346900318832, + 26.101572156825373, + 31.622776601683793, + 38.311868495572874, + 46.4158883361278, + 56.23413251903491, + 68.12920690579611, + 82.54041852680186, + 100.0 + ] + }, + "case_id": "P4LongD256", + "certificate_limits": { + "all_face_current_relative": 2e-06, + "analytic_jacobian_error": 0.0003, + "charge_balance_relative": 1e-10, + "current_decomposition_error": 1e-14, + "eliminated_operator_error": 1e-06, + "full_charge_balance_normalized": 1e-10, + "full_gauss_normalized": 1e-10, + "interface_current_relative": 2e-06, + "inventory_relative_drift": 1e-10, + "local_carrier_residual": 1e-07, + "local_gauss_residual": 1e-07, + "nonlinear_residual": 0.05, + "physical_current_spread_relative": 2e-06, + "refinement_current_change": 0.05, + "refinement_state_change": 0.02, + "trap_storage_normalized_error": 1.0 + }, + "expected_rows": 3727, + "formal_R1_2_qualification": false, + "historical_matrix_sha256": "7d751b619f95f85229cc045aac6124e64dfa35fbc752cb2d3d9e2b90a9881120", + "inputs": { + "fixture": { + "path": "tests/fixtures/configs/dynamic_interface_defect_ion_transient_absorber_only.yaml", + "sha256": "f617f230b2d9c144573394e38fcc313225dc84c7b38f7670b97e9a0a7cc12a24" + }, + "reference": { + "path": "tests/fixtures/OneDimensionalMechanismR1ReferenceBindingV1.json", + "sha256": "780e0275a3278e2d0ef2eb0ddf748ac763a7cc38ac0d03796312a952e0a01b4e" + } + }, + "kind": "long_window", + "numerical_retries": 0, + "pair_repeats": 1, + "precision_budget_sha256": "d03860f8f16a82f7f10ce1f6b526a26e47e75ace932bd63a720d0ed6f5ce9c40", + "preparation": { + "nonlinear_factor": 0.1, + "time_substeps": [ + 1, + 2, + 4 + ] + }, + "relative_engineering_limits": { + "bytes_per_row_ratio": 3.0, + "elapsed_ratio": 5.0, + "peak_rss_ratio": 2.0 + }, + "required_pair_preparation_identity_sha256": "5a6da1ffd6c5fb89610abf1c711990ecc494857edd599d433ccb7d77d51c217f", + "schema": "R1V12CaseRequestV1", + "scientifically_accepted": false, + "scope": "bounded_P3_P4_existing_physics_validation_no_new_physics_qualification", + "solver_limits": { + "independent_poisson": 12, + "joint_corrector": 8, + "line_search": 40, + "near_acceptance_nonmonotone": 2, + "newton": 100 + }, + "source_requires_clean_commit": true + }, + "schema": "SolarLabR1FailureFixtureV1", + "sha256": "31de133a9997b4e3ad5a06eb259483d82d13373aff52eca8e9708ab0d0643c38", + "source_commit": "12869a4f90d6d08af2d24af902838d8a4d5c00c4", + "source_content_sha256": "a19cf1ca2c5fdd5c25e83cc7d77bcabe4072336948f8dcf5dbf59de97a5de849", + "source_fixture_yaml": "# D6-E3c v4 source fixture for a dynamic interface defect plus absorber ions.\n# The ETL retains the structural ionic reference but has zero ion diffusivity;\n# only the perovskite-like absorber contributes a mobile-ion state. This is an\n# internal numerical reference, not a fitted material stack or SCAPS parity case.\nschema_version: standard-device-v1\n\ndevice:\n phi_left: 0.0\n built_in_potential_mode: semiconductor_work_function\n interface_charge_closure: equilibrium_referenced\n interface_charge_rebaseline_acknowledged: true\n Phi: 0.0\n mode: full\n interface_defects:\n - sigma_n_cm2: 6.0e-18\n sigma_p_cm2: 1.0e-17\n v_th_cm_s: 1.0e7\n N_t_cm2: 5.0e10\n E_t_eV_below_cb: 0.55\n\nelectrical_grid:\n interval_weights:\n left: 1.0\n right: 1.0\n alphas:\n left: 2.0\n right: 2.0\n\nlayers:\n - name: left\n role: absorber\n thickness: 1.0e-7\n eps_r: 10.0\n mu_n: 1.0e-3\n mu_p: 1.0e-3\n D_ion: 1.0e-14\n P_lim: 2.0e22\n P0: 1.0e22\n ni: 2.5150958270872183e12\n tau_n: 1.0e-6\n tau_p: 1.0e-6\n n1: 2.5150958270872183e12\n p1: 2.5150958270872183e12\n B_rad: 0.0\n C_n: 0.0\n C_p: 0.0\n alpha: 0.0\n N_A: 0.0\n N_D: 0.0\n chi: 4.0\n Eg: 1.5\n Nc300: 1.0e25\n Nv300: 1.0e25\n A_star_n: 1.2017e6\n A_star_p: 1.2017e6\n\n - name: right\n role: ETL\n thickness: 1.0e-7\n eps_r: 10.0\n mu_n: 1.0e-3\n mu_p: 1.0e-3\n D_ion: 0.0\n P_lim: 2.0e22\n P0: 1.0e22\n ni: 2.5150958270872183e12\n tau_n: 1.0e-6\n tau_p: 1.0e-6\n n1: 2.5150958270872183e12\n p1: 2.5150958270872183e12\n B_rad: 0.0\n C_n: 0.0\n C_p: 0.0\n alpha: 0.0\n N_A: 0.0\n N_D: 0.0\n chi: 4.1\n Eg: 1.5\n Nc300: 1.0e25\n Nv300: 1.0e25\n A_star_n: 1.2017e6\n A_star_p: 1.2017e6\n", + "sources": { + "results/OneDimensionalMechanism/R1PhysicsDevelopmentV52/DiagnosticsV1/RepresentabilityV1.json": { + "bytes": 129980, + "sha256": "a91d8a4fc08cad574cb42f486b0c8a533b7561f120b1ffe7a30f4ac2476ddf0a" + }, + "results/OneDimensionalMechanism/R1PhysicsDevelopmentV52/Inputs/PreparedV1.json": { + "bytes": 161272, + "sha256": "561f653b762d1c571b703f64407ca1b360ed86e0e7b57c01b494b3e041416006" + }, + "results/OneDimensionalMechanism/R1PhysicsDevelopmentV52/Inputs/ReferenceBindingV1.json": { + "bytes": 1208, + "sha256": "780e0275a3278e2d0ef2eb0ddf748ac763a7cc38ac0d03796312a952e0a01b4e" + }, + "results/OneDimensionalMechanism/R1PhysicsDevelopmentV52/Inputs/SavedStepInputV1.json": { + "bytes": 13412816, + "sha256": "44e7c0f5e5267bf3e8374580b2405ff250f5cd75f26930c35956030dd6553b3e" + }, + "results/OneDimensionalMechanism/R1PhysicsDevelopmentV52/Inputs/SourceFixtureV1.yaml": { + "bytes": 1759, + "sha256": "f617f230b2d9c144573394e38fcc313225dc84c7b38f7670b97e9a0a7cc12a24" + }, + "results/OneDimensionalMechanism/R1PhysicsDevelopmentV52/ManifestV1.json": { + "bytes": 9231, + "sha256": "e44fa15a62779ccf3ab3ce57f270f33f9a7c289fbd0c10a72e6c42aab35b7d68" + }, + "results/OneDimensionalMechanism/R1PhysicsDevelopmentV52/OutputV1/ConvergedCheckpointV1.json": { + "bytes": 85640, + "sha256": "e132d5ce856bf12efadd09c9a511492935e4bd615285e884acb698d5a651147a" + }, + "results/OneDimensionalMechanism/R1PhysicsDevelopmentV52/OutputV1/RepresentableCandidatesV1.json": { + "bytes": 27417, + "sha256": "c76a9b59ad5022453bc52ebb83eaedec358bc9301a98d66f42dfb26999cd1f02" + }, + "results/OneDimensionalMechanism/R1PhysicsDevelopmentV52/OutputV1/ValidationResultV1.json": { + "bytes": 3931, + "sha256": "d279177febc9f3d68bb99556e963b7e163bad7672f6ac03d74a7a6af5459d2b4" + }, + "results/OneDimensionalMechanism/R1PhysicsDevelopmentV52/Root/LaunchContractV1.json": { + "bytes": 280975, + "sha256": "48effd3af094b08655c34f6881f47a53c207e8dc9f242be9cb7e859a3be85069" + }, + "results/OneDimensionalMechanism/R1PhysicsDevelopmentV53/LongWindowV1/BaselineV1/OutputV1/CaseV1/EnvironmentV1.json": { + "bytes": 1184, + "sha256": "1a4e2415a75b9b10ac6712cf42a7139286b170ee8ced7aeefe45f3da63acf8a1" + }, + "results/OneDimensionalMechanism/R1PhysicsDevelopmentV53/LongWindowV1/BaselineV1/OutputV1/CaseV1/FailureV1.json": { + "bytes": 5195, + "sha256": "39988fd4a74a7d41d115294b454d7f08bd64ce2bea2b7c5054964a278f42d35b" + }, + "results/OneDimensionalMechanism/R1PhysicsDevelopmentV53/LongWindowV1/BaselineV1/OutputV1/CaseV1/FailureWitnessV1.json": { + "bytes": 649, + "sha256": "b7f6b60639c75d33f4549c547f8911a9cd452de98e4f1059135a487c209f5e0d" + }, + "results/OneDimensionalMechanism/R1PhysicsDevelopmentV53/LongWindowV1/BaselineV1/OutputV1/CaseV1/ManifestV1.json": { + "bytes": 2405, + "sha256": "4ad53667501217b845124c23830686188d740a7e3ee7922cf382efcbee9f9157" + }, + "results/OneDimensionalMechanism/R1PhysicsDevelopmentV53/LongWindowV1/BaselineV1/OutputV1/CaseV1/PreparedV1.json": { + "bytes": 161272, + "sha256": "9d9e09bea1b8c6ca5c5b12fa39e31160ddaae34624fd51e8aa3de99efd0b5022" + }, + "results/OneDimensionalMechanism/R1PhysicsDevelopmentV53/LongWindowV1/BaselineV1/OutputV1/CaseV1/ReferenceBindingV1.json": { + "bytes": 1208, + "sha256": "780e0275a3278e2d0ef2eb0ddf748ac763a7cc38ac0d03796312a952e0a01b4e" + }, + "results/OneDimensionalMechanism/R1PhysicsDevelopmentV53/LongWindowV1/BaselineV1/OutputV1/CaseV1/RequestV1.json": { + "bytes": 6165, + "sha256": "5e53fb272eee3821af32b886f0c539014fa8cffb71b688dea073d221a396a435" + }, + "results/OneDimensionalMechanism/R1PhysicsDevelopmentV53/LongWindowV1/BaselineV1/OutputV1/CaseV1/ResultV1.json": { + "bytes": 424499085, + "sha256": "942c04452d327a5798a608f8c18f9b1abcf943a267e493180ce1c75c88f29eca" + }, + "results/OneDimensionalMechanism/R1PhysicsDevelopmentV53/LongWindowV1/BaselineV1/OutputV1/CaseV1/SourceFixtureV1.yaml": { + "bytes": 1759, + "sha256": "f617f230b2d9c144573394e38fcc313225dc84c7b38f7670b97e9a0a7cc12a24" + }, + "results/OneDimensionalMechanism/R1PhysicsDevelopmentV53/LongWindowV1/BaselineV1/OutputV1/CaseV1/SourceReceiptV1.json": { + "bytes": 241597, + "sha256": "70366c6a7154a1a700514e51428c1a22bfa46d289e02eedc01b16903ed9b877a" + }, + "results/OneDimensionalMechanism/R1PhysicsDevelopmentV53/LongWindowV1/BaselineV1/OutputV1/CaseV1/StateArraysV1.npz": { + "bytes": 11567071, + "sha256": "1e5cde6f23e5ec908e7d4b6812dfc0e24bd46092a2fc81afd91cebe2141b5591" + }, + "results/OneDimensionalMechanism/R1PhysicsDevelopmentV53/LongWindowV1/BaselineV1/OutputV1/CaseV1/SummaryV1.json": { + "bytes": 18550, + "sha256": "846cc4bf6d06f3f5c601015b4a4f3ef62826fbd63142f12b4447abb609ce27b7" + }, + "results/OneDimensionalMechanism/R1PhysicsDevelopmentV53/LongWindowV1/BaselineV1/Root/LaunchContractV1.json": { + "bytes": 304868, + "sha256": "437e4ef7d4674dff25112ea85e3a36d09ee7c5d0cd2c304d923523389a28b350" + }, + "results/OneDimensionalMechanism/R1PhysicsDevelopmentV53/LongWindowV1/BaselineV1/Root/RequestV1.json": { + "bytes": 6165, + "sha256": "5e53fb272eee3821af32b886f0c539014fa8cffb71b688dea073d221a396a435" + }, + "results/OneDimensionalMechanism/R1PhysicsDevelopmentV53/ManifestV1.json": { + "bytes": 11294, + "sha256": "4482f57690a6c1dca47c9b2472f53187b6d5180edd203b4aa2954a78a26fbbb3" + }, + "results/OneDimensionalMechanism/R1PhysicsDevelopmentV53/Root/RecoveryScopeProposalV1.json": { + "bytes": 2975, + "sha256": "d92a834ddcc1382dced0c74230bd1a7f5a1bf3106798be0e6cb9221c4910c63e" + }, + "results/OneDimensionalMechanism/R1PhysicsDevelopmentV53/Root/SourceBindingV1.json": { + "bytes": 327719, + "sha256": "5fa7414b0dbac657aeeb20707ae4be1725cf35322646ba30b1b2c17428a036bd" + } + } +} diff --git a/tests/independent/p04/conftest.py b/tests/independent/p04/conftest.py new file mode 100644 index 00000000..e8b0f6e0 --- /dev/null +++ b/tests/independent/p04/conftest.py @@ -0,0 +1,27 @@ +"""R3 independent P04 oracles: single-thread BLAS and import path. + +The tests here are fast unit oracles (no solves, no sweeps), but the brief +requires single-threaded numerics, so BLAS is pinned for the whole directory. +threadpoolctl only sees backends that are already loaded, hence numpy and +scipy.linalg are imported first. +""" + +from __future__ import annotations + +import sys +from pathlib import Path + +import numpy # noqa: F401 (must precede threadpool_limits) +import scipy.linalg # noqa: F401 +import pytest +from threadpoolctl import threadpool_limits + +_HERE = Path(__file__).resolve().parent +if str(_HERE) not in sys.path: + sys.path.insert(0, str(_HERE)) + + +@pytest.fixture(scope="session", autouse=True) +def _single_thread_blas(): + with threadpool_limits(limits=1): + yield diff --git a/tests/independent/p04/fixtures/P04LegacyGoldenV1.json b/tests/independent/p04/fixtures/P04LegacyGoldenV1.json new file mode 100644 index 00000000..816e23b0 --- /dev/null +++ b/tests/independent/p04/fixtures/P04LegacyGoldenV1.json @@ -0,0 +1,5300 @@ +{ + "captured_at_commit": "b1f953c73fedb9713dca694383e3147887c751d8", + "cases": { + "bernoulli": { + "function": "perovskite_sim.discretization.fe_operators.bernoulli/bernoulli_derivative", + "inputs": { + "x": [ + "-0x1.f400000000000p+9", + "-0x1.5e00000000000p+9", + "-0x1.5d80000000000p+9", + "-0x1.9000000000000p+6", + "-0x1.9000000000000p+5", + "-0x1.4000000000000p+3", + "-0x1.0000000000000p+1", + "-0x1.0000000000000p+0", + "-0x1.0000000000000p-1", + "-0x1.999999999999ap-5", + "-0x1.47ae147ae147bp-7", + "-0x1.a36e2eb1c432dp-14", + "-0x1.a36371ea531a8p-14", + "-0x1.5798ee2308c3ap-27", + "-0x1.19799812dea11p-40", + "-0x1.56e1fc2f8f359p-997", + "0x0.0p+0", + "0x1.56e1fc2f8f359p-997", + "0x1.19799812dea11p-40", + "0x1.5798ee2308c3ap-27", + "0x1.a36371ea531a8p-14", + "0x1.a36e2eb1c432dp-14", + "0x1.47ae147ae147bp-7", + "0x1.999999999999ap-5", + "0x1.0000000000000p-1", + "0x1.0000000000000p+0", + "0x1.0000000000000p+1", + "0x1.4000000000000p+3", + "0x1.9000000000000p+5", + "0x1.9000000000000p+6", + "0x1.5d80000000000p+9", + "0x1.5e00000000000p+9", + "0x1.5e80000000000p+9", + "0x1.6300000000000p+9", + "0x1.7480000000000p+9", + "0x1.f400000000000p+9" + ] + }, + "outputs": { + "B": [ + "0x1.f400000000000p+9", + "0x1.5e00000000000p+9", + "0x1.5d80000000000p+9", + "0x1.9000000000000p+6", + "0x1.9000000000000p+5", + "0x1.4003b826154c9p+3", + "0x1.28118a4cdb58fp+1", + "0x1.94fc6ceb099bfp+0", + "0x1.454fad97bc8dbp+0", + "0x1.06740d81f90ccp+0", + "0x1.014839e3d081dp+0", + "0x1.000346dff1a60p+0", + "0x1.000346ca77e83p+0", + "0x1.00000015798eep+0", + "0x1.00000000008ccp+0", + "0x1.0000000000000p+0", + "0x1.0000000000000p+0", + "0x1.0000000000000p+0", + "0x1.fffffffffee68p-1", + "0x1.ffffffd50ce23p-1", + "0x1.fff97279607ddp-1", + "0x1.fff9724e6dbdep-1", + "0x1.fd71bb75b57e8p-1", + "0x1.f34e816a587fdp-1", + "0x1.8a9f5b2f791b5p-1", + "0x1.29f8d9d61337dp-1", + "0x1.408c5266dac75p-2", + "0x1.dc130aa64b159p-12", + "0x1.6c549ea027672p-67", + "0x1.4bd7848511900p-138", + "0x1.00f1e34cf584cp-999", + "0x1.7aa3cdf7f304ep-1001", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0" + ], + "dB": [ + "-0x1.0000000000000p+0", + "-0x1.0000000000000p+0", + "-0x1.0000000000000p+0", + "-0x1.0000000000000p+0", + "-0x1.0000000000000p+0", + "-0x1.ffca705dbbeddp-1", + "-0x1.96c6f9b7936ebp-1", + "-0x1.529652533fa34p-1", + "-0x1.2a50734ef2dffp-1", + "-0x1.04442cf7911d8p-1", + "-0x1.00da73ddee811p-1", + "-0x1.00022f3d945bep-1", + "-0x1.00022f2f428aap-1", + "-0x1.0000000e5109fp-1", + "-0x1.00000000005ddp-1", + "-0x1.0000000000000p-1", + "-0x1.0000000000000p-1", + "-0x1.0000000000000p-1", + "-0x1.ffffffffff446p-2", + "-0x1.ffffffe35dec2p-2", + "-0x1.fffba1a17aeabp-2", + "-0x1.fffba184dce7cp-2", + "-0x1.fe4b184422f39p-2", + "-0x1.f777a610ddc3bp-2", + "-0x1.ab5f19621a3ffp-2", + "-0x1.5ad35b5980b95p-2", + "-0x1.a4e41921b2454p-3", + "-0x1.ac7d12209201dp-12", + "-0x1.650b3f4b07e51p-67", + "-0x1.488600a2753a2p-138", + "-0x1.0093c8f8fb06fp-999", + "-0x1.7a19549f753b5p-1001", + "-0x1.16966faa2558dp-1002", + "-0x1.1d4408e4373b6p-1015", + "-0x0.00000000002e8p-1022", + "-0x0.0p+0" + ] + } + }, + "bl_ionmonger_benchmark_N30": { + "function": "build_material_arrays(...).alpha + beer_lambert_generation (fixture ionmonger_benchmark.yaml)", + "inputs": { + "N_grid": 30, + "Phi": "0x1.2f939c99edab8p+70", + "config": "perovskite-sim/tests/fixtures/configs/ionmonger_benchmark.yaml", + "x": [ + "0x0.0p+0", + "0x1.3a5ce081124b6p-30", + "0x1.4d35ebea12ee1p-28", + "0x1.16a950d7f632fp-26", + "0x1.8b60f2cb01ffbp-25", + "0x1.ad7f29abcaf48p-24", + "0x1.4aa6ecf90a74bp-23", + "0x1.8aa9ff90cc2e2p-23", + "0x1.a3157a4c7a5d1p-23", + "0x1.ab0a6feac8cfep-23", + "0x1.ad7f29abcaf48p-23", + "0x1.b2689d2dcf3dbp-23", + "0x1.c252886a6c236p-23", + "0x1.f3297de1c8814p-23", + "0x1.3997d188a5fa3p-22", + "0x1.ad7f29abcaf48p-22", + "0x1.10b340e777f78p-21", + "0x1.30b4ca3358d43p-21", + "0x1.3cea87912febap-21", + "0x1.40e5026057251p-21", + "0x1.421f5f40d8376p-21", + "0x1.426df678f87bfp-21", + "0x1.436c952cc24a5p-21", + "0x1.467a048438103p-21", + "0x1.4e7a66d730476p-21", + "0x1.5cf751db94e6ap-21", + "0x1.6b743cdff985fp-21", + "0x1.73749f32f1bd2p-21", + "0x1.76820e8a67830p-21", + "0x1.7780ad3e31516p-21", + "0x1.77cf44765195fp-21" + ] + }, + "outputs": { + "G": [ + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x1.bb06218126b83p+90", + "0x1.82fcd2bc8b598p+93", + "0x1.bde1f1fef8dbbp+93", + "0x1.884794bd345bfp+93", + "0x1.12f5a634109d2p+93", + "0x1.fa9929a30edb3p+91", + "0x1.2ccdd99e49bb4p+90", + "0x1.4f3586e3aa410p+88", + "0x1.1ec1b4086810cp+87", + "0x1.89c905211efa8p+86", + "0x1.31d64d5a5dae6p+86", + "0x1.0cbdb6190c7d6p+85", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0" + ], + "alpha_node": [ + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x1.8cba800000000p+23", + "0x1.8cba800000000p+23", + "0x1.8cba800000000p+23", + "0x1.8cba800000000p+23", + "0x1.8cba800000000p+23", + "0x1.8cba800000000p+23", + "0x1.8cba800000000p+23", + "0x1.8cba800000000p+23", + "0x1.8cba800000000p+23", + "0x1.8cba800000000p+23", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0" + ], + "q_sum_G_w_A_m2": "0x1.be1dbfe3343b2p+7" + } + }, + "bl_synthetic": { + "function": "perovskite_sim.physics.generation.beer_lambert_generation", + "inputs": { + "Phi": "0x1.2f939c99edab8p+70", + "alpha_node": [ + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x1.8cba800000000p+23", + "0x1.8cba800000000p+23", + "0x1.8cba800000000p+23", + "0x1.8cba800000000p+23", + "0x1.8cba800000000p+23", + "0x1.8cba800000000p+23", + "0x1.8cba800000000p+23", + "0x1.8cba800000000p+23", + "0x1.8cba800000000p+23", + "0x1.8cba800000000p+23", + "0x1.8cba800000000p+23", + "0x1.8cba800000000p+23", + "0x1.8cba800000000p+23", + "0x1.8cba800000000p+23", + "0x1.8cba800000000p+23", + "0x1.8cba800000000p+23", + "0x1.8cba800000000p+23", + "0x1.8cba800000000p+23", + "0x1.8cba800000000p+23", + "0x1.8cba800000000p+23", + "0x1.8cba800000000p+23", + "0x1.8cba800000000p+23", + "0x1.8cba800000000p+23", + "0x1.8cba800000000p+23", + "0x1.8cba800000000p+23", + "0x1.8cba800000000p+23", + "0x1.8cba800000000p+23", + "0x1.8cba800000000p+23", + "0x1.8cba800000000p+23", + "0x1.8cba800000000p+23", + "0x1.8cba800000000p+23", + "0x1.8cba800000000p+23", + "0x1.8cba800000000p+23", + "0x1.8cba800000000p+23", + "0x1.8cba800000000p+23", + "0x1.8cba800000000p+23", + "0x1.8cba800000000p+23", + "0x1.8cba800000000p+23", + "0x1.8cba800000000p+23", + "0x1.8cba800000000p+23", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0" + ], + "x": [ + "0x0.0p+0", + "0x1.bf378960e926ap-32", + "0x1.3a5ce081124b6p-30", + "0x1.53d1ac135e61bp-29", + "0x1.4d35ebea12ee1p-28", + "0x1.36739ecb01e9ep-27", + "0x1.16a950d7f632fp-26", + "0x1.e147ddfcbbd88p-26", + "0x1.8b60f2cb01ffbp-25", + "0x1.2fc1d16cf03b0p-24", + "0x1.ad7f29abcaf48p-24", + "0x1.159e40f552d71p-23", + "0x1.4aa6ecf90a74bp-23", + "0x1.71562dec33797p-23", + "0x1.8aa9ff90cc2e2p-23", + "0x1.9a17efbf1ad5ep-23", + "0x1.a3157a4c7a5d1p-23", + "0x1.a82fe2fb7d7b0p-23", + "0x1.ab0a6feac8cfep-23", + "0x1.ac9f8de71a7ffp-23", + "0x1.ad7f29abcaf48p-23", + "0x1.ae3db38adb213p-23", + "0x1.af3e61352bddap-23", + "0x1.b097e9773d111p-23", + "0x1.b2689d2dcf3dbp-23", + "0x1.b4d8c95997e11p-23", + "0x1.b81db70c65e79p-23", + "0x1.bc7d565842170p-23", + "0x1.c252886a6c236p-23", + "0x1.ca11c97c9ed05p-23", + "0x1.d44d9d852b31cp-23", + "0x1.e1b988cfd4f00p-23", + "0x1.f3297de1c8814p-23", + "0x1.04c54ca82d4f6p-22", + "0x1.12e890957cf55p-22", + "0x1.246bf1f47edcbp-22", + "0x1.3997d188a5fa3p-22", + "0x1.5271bfb6d43dcp-22", + "0x1.6ea07d8c5d97cp-22", + "0x1.8d5d717b2169ep-22", + "0x1.ad7f29abcaf48p-22", + "0x1.cda0e1dc747f4p-22", + "0x1.ec5dd5cb38515p-22", + "0x1.044649d060d5bp-21", + "0x1.10b340e777f78p-21", + "0x1.1b4930b18b862p-21", + "0x1.240ae1610c79ep-21", + "0x1.2b1c8357b44cep-21", + "0x1.30b4ca3358d43p-21", + "0x1.3510c777d5b88p-21", + "0x1.386bc24a80281p-21", + "0x1.3afab74ca3407p-21", + "0x1.3cea87912febap-21", + "0x1.3e5fd415ba6ecp-21", + "0x1.3f77bbe8b17aap-21", + "0x1.4048f75564fc4p-21", + "0x1.40e5026057251p-21", + "0x1.41592f4dfbb04p-21", + "0x1.41af915e7ffd2p-21", + "0x1.41efbcc9142c4p-21", + "0x1.421f5f40d8376p-21", + "0x1.4248ff611c2dep-21", + "0x1.42a4bd7669acbp-21", + "0x1.436c952cc24a5p-21", + "0x1.4514fe21de888p-21", + "0x1.486baca0a74eap-21", + "0x1.4e7a66d730476p-21", + "0x1.57a439de6a1e7p-21", + "0x1.624a69d8bfaeep-21", + "0x1.6b743cdff985fp-21", + "0x1.7182f716827ebp-21", + "0x1.74d9a5954b44dp-21", + "0x1.76820e8a67830p-21", + "0x1.7749e640c020ap-21", + "0x1.77a5a4560d9f8p-21", + "0x1.77cf44765195fp-21" + ] + }, + "outputs": { + "G": [ + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x1.4e6b70ccfc6b3p+91", + "0x1.5662f628431a4p+93", + "0x1.d2ece5db8951cp+93", + "0x1.d009bbd974062p+93", + "0x1.cc2e2408f68e3p+93", + "0x1.c70b49bf1ca76p+93", + "0x1.c03d04831a964p+93", + "0x1.b746faec7d056p+93", + "0x1.ab93d43fa6cdfp+93", + "0x1.9c78ce272981ep+93", + "0x1.89412c4bc7661p+93", + "0x1.7145cfed4094ep+93", + "0x1.5414b7c3449aap+93", + "0x1.31a84c6d94b8bp+93", + "0x1.0aa537caffea2p+93", + "0x1.c10f249f47d09p+92", + "0x1.6b392d2e5ffa9p+92", + "0x1.1957c8453d3dbp+92", + "0x1.a15ce5b04063bp+91", + "0x1.29b3fc8be878cp+91", + "0x1.9c218883f0deep+90", + "0x1.189090dd76abep+90", + "0x1.7dcaa8a0888e9p+89", + "0x1.07e220898b38fp+89", + "0x1.77b2b70dfe7aep+88", + "0x1.16140ddccb51fp+88", + "0x1.adf7bdf3b1b33p+87", + "0x1.5b41adba1a59dp+87", + "0x1.241649dd13578p+87", + "0x1.fd3b9dfface25p+86", + "0x1.c977678c5acbep+86", + "0x1.a52d2d6fbe6d4p+86", + "0x1.8b6ba6565a3d0p+86", + "0x1.78f528d3d81ddp+86", + "0x1.6b9e3d6c6e8c6p+86", + "0x1.61ebcb8b00b94p+86", + "0x1.5ad6b653d086cp+86", + "0x1.55a5c55652743p+86", + "0x1.51d51031bed26p+86", + "0x1.4f05c670e73d8p+86", + "0x1.062b9b44919a0p+86", + "0x1.62a0424a71acfp+84", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0" + ], + "dual_cell_widths": [ + "0x1.bf378960e926ap-32", + "0x1.3a5ce081124b6p-31", + "0x1.1beabae7413cep-30", + "0x1.fd3d67939cb67p-30", + "0x1.c2fe678c54a2ep-29", + "0x1.86b7abbae2eeep-28", + "0x1.460e0e973ae39p-27", + "0x1.000c4a5f06e64p-26", + "0x1.6edfb3db8289cp-26", + "0x1.cf9d608c93e95p-26", + "0x1.f6f560fb6ae64p-26", + "0x1.cf9d608c93e9cp-26", + "0x1.6edfb3db82898p-26", + "0x1.000c4a5f06e5cp-26", + "0x1.460e0e973ae38p-27", + "0x1.86b7abbae2ef0p-28", + "0x1.c2fe678c54a40p-29", + "0x1.fd3d67939cb40p-30", + "0x1.1beabae7413c0p-30", + "0x1.3a5ce08112500p-31", + "0x1.9e25a3c0a1400p-32", + "0x1.bf378960e9200p-32", + "0x1.2d1af630f7f00p-31", + "0x1.951dfc51b0080p-31", + "0x1.1037f896b4000p-30", + "0x1.6d4677a5aa780p-30", + "0x1.e9233faa8d7c0p-30", + "0x1.469a2bc0c77a0p-29", + "0x1.b28e648b972a0p-29", + "0x1.1fb151abf0e60p-28", + "0x1.7a7bf53361fb0p-28", + "0x1.edbe05c9d4f80p-28", + "0x1.3e8884042d760p-27", + "0x1.953d1a498b4b0p-27", + "0x1.fa6a54c518d50p-27", + "0x1.357a079948270p-26", + "0x1.702e6e12ab088p-26", + "0x1.a845601dbcec8p-26", + "0x1.d75d8e2269610p-26", + "0x1.f6f560fb6ae60p-26", + "0x1.010dc1854c558p-25", + "0x1.f6f560fb6ae68p-26", + "0x1.d75d8e2269610p-26", + "0x1.a845601dbced8p-26", + "0x1.702e6e12ab070p-26", + "0x1.357a079948260p-26", + "0x1.fa6a54c518d80p-27", + "0x1.953d1a498b4a0p-27", + "0x1.3e8884042d740p-27", + "0x1.edbe05c9d4f80p-28", + "0x1.7a7bf53361fc0p-28", + "0x1.1fb151abf0e40p-28", + "0x1.b28e648b97280p-29", + "0x1.469a2bc0c7800p-29", + "0x1.e9233faa8d800p-30", + "0x1.6d4677a5aa700p-30", + "0x1.1037f896b4000p-30", + "0x1.951dfc51b0200p-31", + "0x1.2d1af630f8000p-31", + "0x1.bf378960e9000p-32", + "0x1.650a602006800p-32", + "0x1.0abc6b22eaa00p-31", + "0x1.2395cba61c700p-30", + "0x1.382055ba6de80p-29", + "0x1.3fc5dcf941140p-28", + "0x1.2cad16aa37dc0p-27", + "0x1.e711a7b859fa0p-27", + "0x1.3d003018f6780p-26", + "0x1.3d003018f6780p-26", + "0x1.e711a7b859fa0p-27", + "0x1.2cad16aa37dc0p-27", + "0x1.3fc5dcf941140p-28", + "0x1.382055ba6de80p-29", + "0x1.2395cba61c800p-30", + "0x1.0abc6b22eaa00p-31", + "0x1.4d01021fb3800p-32" + ] + } + }, + "poisson_layered": { + "function": "perovskite_sim.physics.poisson.solve_poisson / solve_poisson_prefactored", + "inputs": { + "eps_r_node": [ + "0x1.8000000000000p+1", + "0x1.8000000000000p+1", + "0x1.8000000000000p+1", + "0x1.8000000000000p+1", + "0x1.8000000000000p+1", + "0x1.8000000000000p+1", + "0x1.8000000000000p+1", + "0x1.8000000000000p+1", + "0x1.8000000000000p+1", + "0x1.8000000000000p+1", + "0x1.8000000000000p+1", + "0x1.8000000000000p+1", + "0x1.8000000000000p+1", + "0x1.8000000000000p+1", + "0x1.8000000000000p+1", + "0x1.8000000000000p+1", + "0x1.8000000000000p+1", + "0x1.8000000000000p+1", + "0x1.8000000000000p+1", + "0x1.8000000000000p+1", + "0x1.819999999999ap+4", + "0x1.819999999999ap+4", + "0x1.819999999999ap+4", + "0x1.819999999999ap+4", + "0x1.819999999999ap+4", + "0x1.819999999999ap+4", + "0x1.819999999999ap+4", + "0x1.819999999999ap+4", + "0x1.819999999999ap+4", + "0x1.819999999999ap+4", + "0x1.819999999999ap+4", + "0x1.819999999999ap+4", + "0x1.819999999999ap+4", + "0x1.819999999999ap+4", + "0x1.819999999999ap+4", + "0x1.819999999999ap+4", + "0x1.819999999999ap+4", + "0x1.819999999999ap+4", + "0x1.819999999999ap+4", + "0x1.819999999999ap+4", + "0x1.819999999999ap+4", + "0x1.819999999999ap+4", + "0x1.819999999999ap+4", + "0x1.819999999999ap+4", + "0x1.819999999999ap+4", + "0x1.819999999999ap+4", + "0x1.819999999999ap+4", + "0x1.819999999999ap+4", + "0x1.819999999999ap+4", + "0x1.819999999999ap+4", + "0x1.819999999999ap+4", + "0x1.819999999999ap+4", + "0x1.819999999999ap+4", + "0x1.819999999999ap+4", + "0x1.819999999999ap+4", + "0x1.819999999999ap+4", + "0x1.819999999999ap+4", + "0x1.819999999999ap+4", + "0x1.819999999999ap+4", + "0x1.819999999999ap+4", + "0x1.4000000000000p+3", + "0x1.4000000000000p+3", + "0x1.4000000000000p+3", + "0x1.4000000000000p+3", + "0x1.4000000000000p+3", + "0x1.4000000000000p+3", + "0x1.4000000000000p+3", + "0x1.4000000000000p+3", + "0x1.4000000000000p+3", + "0x1.4000000000000p+3", + "0x1.4000000000000p+3", + "0x1.4000000000000p+3", + "0x1.4000000000000p+3", + "0x1.4000000000000p+3", + "0x1.4000000000000p+3", + "0x1.4000000000000p+3" + ], + "phi_left": "0x0.0p+0", + "phi_right": "0x1.199999999999ap+0", + "rho": [ + "0x0.0p+0", + "0x1.765c34ecac968p+2", + "0x1.07253d4016ecap+4", + "0x1.1c6f9769c22f5p+5", + "0x1.16d6e12c9d6a0p+6", + "0x1.03975fb6ffe81p+7", + "0x1.d0e21429896ddp+7", + "0x1.8ea4adb5674c6p+8", + "0x1.41a1d963d0705p+9", + "0x1.db11c50f6bf8fp+9", + "0x1.392874ddb38f0p+10", + "0x1.6f47ddb66d2d6p+10", + "0x1.896e320463852p+10", + "0x1.9065c6f1cc650p+10", + "0x1.8f4d0e783d2ebp+10", + "0x1.8c704f54f5025p+10", + "0x1.8a0285e8de966p+10", + "0x1.886227d3e8223p+10", + "0x1.8765626d4cc07p+10", + "0x1.86d3111dccd26p+10", + "0x1.86806e1ccb2acp+10", + "0x1.8638f6945779fp+10", + "0x1.85d7290a95a0ep+10", + "0x1.8550bbcafa26ep+10", + "0x1.8496f19ba2f3fp+10", + "0x1.83946326f6b17p+10", + "0x1.8229883c4e75ap+10", + "0x1.802743030dca6p+10", + "0x1.7d464ac90887cp+10", + "0x1.7919d679ab4dbp+10", + "0x1.72fb7a074d610p+10", + "0x1.69ee543a20432p+10", + "0x1.5c79af419cf16p+10", + "0x1.488186308367bp+10", + "0x1.2b315a7da0624p+10", + "0x1.0124b2a34c8afp+10", + "0x1.8e1d92ff55fc9p+9", + "0x1.ec5a1b7dfe72dp+8", + "0x1.eb78606394c28p+6", + "-0x1.1f241653e1334p+8", + "-0x1.5b9446149ab98p+9", + "-0x1.0754934df0c88p+10", + "-0x1.4b6332ed67330p+10", + "-0x1.76bfc33265d9cp+10", + "-0x1.8bdbf5a51027dp+10", + "-0x1.906e0df05c1bcp+10", + "-0x1.8ac02c1e6fa4dp+10", + "-0x1.7ffe500facb1cp+10", + "-0x1.73abd93dc7dfdp+10", + "-0x1.67cfad60dfd23p+10", + "-0x1.5d60afdf92366p+10", + "-0x1.54ae8a12336b7p+10", + "-0x1.4daef885aaf36p+10", + "-0x1.482ee3fd91e5fp+10", + "-0x1.43ee48f12607fp+10", + "-0x1.40ae6c1d0c524p+10", + "-0x1.3e380a4bdd070p+10", + "-0x1.3c5d379d10c46p+10", + "-0x1.3af922c208f1dp+10", + "-0x1.39eef5814e280p+10", + "-0x1.392874ddb38f1p+10", + "-0x1.387a5c2638647p+10", + "-0x1.36f890e1cb21ep+10", + "-0x1.33a65136d6468p+10", + "-0x1.2c6c4f5fea2e5p+10", + "-0x1.1d2cf47d2b632p+10", + "-0x1.fe8e119521cabp+9", + "-0x1.9a5ec45de7a22p+9", + "-0x1.1a091568d099ap+9", + "-0x1.489e6d818d44dp+8", + "-0x1.50c99b1850552p+7", + "-0x1.3cf8178afb9c1p+6", + "-0x1.16e7c904341d1p+5", + "-0x1.be8f04dff6ffap+3", + "-0x1.16c10a36d0394p+2", + "-0x1.b9d3646ac381ap-42" + ], + "x": [ + "0x0.0p+0", + "0x1.bf378960e926ap-32", + "0x1.3a5ce081124b6p-30", + "0x1.53d1ac135e61bp-29", + "0x1.4d35ebea12ee1p-28", + "0x1.36739ecb01e9ep-27", + "0x1.16a950d7f632fp-26", + "0x1.e147ddfcbbd88p-26", + "0x1.8b60f2cb01ffbp-25", + "0x1.2fc1d16cf03b0p-24", + "0x1.ad7f29abcaf48p-24", + "0x1.159e40f552d71p-23", + "0x1.4aa6ecf90a74bp-23", + "0x1.71562dec33797p-23", + "0x1.8aa9ff90cc2e2p-23", + "0x1.9a17efbf1ad5ep-23", + "0x1.a3157a4c7a5d1p-23", + "0x1.a82fe2fb7d7b0p-23", + "0x1.ab0a6feac8cfep-23", + "0x1.ac9f8de71a7ffp-23", + "0x1.ad7f29abcaf48p-23", + "0x1.ae3db38adb213p-23", + "0x1.af3e61352bddap-23", + "0x1.b097e9773d111p-23", + "0x1.b2689d2dcf3dbp-23", + "0x1.b4d8c95997e11p-23", + "0x1.b81db70c65e79p-23", + "0x1.bc7d565842170p-23", + "0x1.c252886a6c236p-23", + "0x1.ca11c97c9ed05p-23", + "0x1.d44d9d852b31cp-23", + "0x1.e1b988cfd4f00p-23", + "0x1.f3297de1c8814p-23", + "0x1.04c54ca82d4f6p-22", + "0x1.12e890957cf55p-22", + "0x1.246bf1f47edcbp-22", + "0x1.3997d188a5fa3p-22", + "0x1.5271bfb6d43dcp-22", + "0x1.6ea07d8c5d97cp-22", + "0x1.8d5d717b2169ep-22", + "0x1.ad7f29abcaf48p-22", + "0x1.cda0e1dc747f4p-22", + "0x1.ec5dd5cb38515p-22", + "0x1.044649d060d5bp-21", + "0x1.10b340e777f78p-21", + "0x1.1b4930b18b862p-21", + "0x1.240ae1610c79ep-21", + "0x1.2b1c8357b44cep-21", + "0x1.30b4ca3358d43p-21", + "0x1.3510c777d5b88p-21", + "0x1.386bc24a80281p-21", + "0x1.3afab74ca3407p-21", + "0x1.3cea87912febap-21", + "0x1.3e5fd415ba6ecp-21", + "0x1.3f77bbe8b17aap-21", + "0x1.4048f75564fc4p-21", + "0x1.40e5026057251p-21", + "0x1.41592f4dfbb04p-21", + "0x1.41af915e7ffd2p-21", + "0x1.41efbcc9142c4p-21", + "0x1.421f5f40d8376p-21", + "0x1.4248ff611c2dep-21", + "0x1.42a4bd7669acbp-21", + "0x1.436c952cc24a5p-21", + "0x1.4514fe21de888p-21", + "0x1.486baca0a74eap-21", + "0x1.4e7a66d730476p-21", + "0x1.57a439de6a1e7p-21", + "0x1.624a69d8bfaeep-21", + "0x1.6b743cdff985fp-21", + "0x1.7182f716827ebp-21", + "0x1.74d9a5954b44dp-21", + "0x1.76820e8a67830p-21", + "0x1.7749e640c020ap-21", + "0x1.77a5a4560d9f8p-21", + "0x1.77cf44765195fp-21" + ] + }, + "outputs": { + "phi_prefactored": [ + "0x0.0p+0", + "0x1.a8fe46e95e63ep-9", + "0x1.2abcf0902cc56p-7", + "0x1.42ea04551b126p-6", + "0x1.3c947d76629c1p-5", + "0x1.26c8eadcb5a79p-4", + "0x1.081c5c9ed617ap-3", + "0x1.c5b2b784079b8p-3", + "0x1.6f824f808c0cep-2", + "0x1.11a20f9e985c1p-1", + "0x1.6db6450259e66p-1", + "0x1.b518c4de0b938p-1", + "0x1.de70fde07332ep-1", + "0x1.f0ee330c77b4fp-1", + "0x1.f79bf0e15affbp-1", + "0x1.f99428aa4a778p-1", + "0x1.f9ffb35007be8p-1", + "0x1.fa0019e0c9d4ep-1", + "0x1.f9ed422e1d572p-1", + "0x1.f9dcedfa5ba90p-1", + "0x1.f9d6da7a38631p-1", + "0x1.f9d594f420768p-1", + "0x1.f9d3afd27dfd8p-1", + "0x1.f9d0ce57cb414p-1", + "0x1.f9cc55fbf61fdp-1", + "0x1.f9c542195f0b1p-1", + "0x1.f9b9d76f59f5cp-1", + "0x1.f9a72150c1be3p-1", + "0x1.f988155a8cd80p-1", + "0x1.f954297a60ba2p-1", + "0x1.f8fd1726e738cp-1", + "0x1.f86b84ff021cdp-1", + "0x1.f77a8362fb868p-1", + "0x1.f5f27c106ed42p-1", + "0x1.f385d481add82p-1", + "0x1.efd44658cbd22p-1", + "0x1.ea7ccdc082200p-1", + "0x1.e3450def97e96p-1", + "0x1.da5195d074693p-1", + "0x1.d0530dd1b051ap-1", + "0x1.c67b0b0835ac6p-1", + "0x1.be2169b8c99ddp-1", + "0x1.b842bd7359b21p-1", + "0x1.b52b5985fd00fp-1", + "0x1.b47fc90cb7addp-1", + "0x1.b5889ed3beb46p-1", + "0x1.b784c4145478bp-1", + "0x1.b9db313bd7dd3p-1", + "0x1.bc28ca60901aap-1", + "0x1.be38ee19c2f54p-1", + "0x1.bff72385a8cfap-1", + "0x1.c161e5424d459p-1", + "0x1.c281268057b16p-1", + "0x1.c3607743fc2b6p-1", + "0x1.c40bd058559a3p-1", + "0x1.c48e0de054ec3p-1", + "0x1.c4f05ff6c3f80p-1", + "0x1.c53a3adefdf32p-1", + "0x1.c5718164252a2p-1", + "0x1.c59ac3c1c4c0cp-1", + "0x1.c5cf2b9c29752p-1", + "0x1.c610153f89f68p-1", + "0x1.c69fbfe754737p-1", + "0x1.c7db89e5c2789p-1", + "0x1.ca86f63d33c9dp-1", + "0x1.d01ab954c6ba8p-1", + "0x1.dadff8c5f13e1p-1", + "0x1.ec98a8cb2f8fdp-1", + "0x1.0176d0ff37754p+0", + "0x1.0b95f8896e217p+0", + "0x1.126dc789c09f4p+0", + "0x1.163a11c525c50p+0", + "0x1.181db91c19e31p+0", + "0x1.19018c0e2a401p+0", + "0x1.196a2476ac4a1p+0", + "0x1.199999999999ap+0" + ], + "phi_spsolve": [ + "0x0.0p+0", + "0x1.a8fe46e95e9eep-9", + "0x1.2abcf0902ceedp-7", + "0x1.42ea04551b3f2p-6", + "0x1.3c947d7662c7ep-5", + "0x1.26c8eadcb5d06p-4", + "0x1.081c5c9ed63c4p-3", + "0x1.c5b2b78407dacp-3", + "0x1.6f824f808c40dp-2", + "0x1.11a20f9e98840p-1", + "0x1.6db645025a1eep-1", + "0x1.b518c4de0bdc8p-1", + "0x1.de70fde07389dp-1", + "0x1.f0ee330c78161p-1", + "0x1.f79bf0e15b677p-1", + "0x1.f99428aa4ae34p-1", + "0x1.f9ffb350082c9p-1", + "0x1.fa0019e0ca443p-1", + "0x1.f9ed422e1dc72p-1", + "0x1.f9dcedfa5c199p-1", + "0x1.f9d6da7a38d3dp-1", + "0x1.f9d594f420e75p-1", + "0x1.f9d3afd27e6e5p-1", + "0x1.f9d0ce57cbb20p-1", + "0x1.f9cc55fbf6908p-1", + "0x1.f9c542195f7bcp-1", + "0x1.f9b9d76f5a667p-1", + "0x1.f9a72150c22edp-1", + "0x1.f988155a8d488p-1", + "0x1.f954297a612a6p-1", + "0x1.f8fd1726e7a8bp-1", + "0x1.f86b84ff028c5p-1", + "0x1.f77a8362fbf59p-1", + "0x1.f5f27c106f429p-1", + "0x1.f385d481ae45ep-1", + "0x1.efd44658cc3efp-1", + "0x1.ea7ccdc0828bcp-1", + "0x1.e3450def9853dp-1", + "0x1.da5195d074d21p-1", + "0x1.d0530dd1b0b8dp-1", + "0x1.c67b0b083611dp-1", + "0x1.be2169b8ca017p-1", + "0x1.b842bd735a140p-1", + "0x1.b52b5985fd616p-1", + "0x1.b47fc90cb80cfp-1", + "0x1.b5889ed3bf125p-1", + "0x1.b784c41454d5ap-1", + "0x1.b9db313bd8396p-1", + "0x1.bc28ca6090763p-1", + "0x1.be38ee19c3504p-1", + "0x1.bff72385a92a3p-1", + "0x1.c161e5424d9fdp-1", + "0x1.c2812680580b4p-1", + "0x1.c3607743fc84fp-1", + "0x1.c40bd05855f38p-1", + "0x1.c48e0de055454p-1", + "0x1.c4f05ff6c450cp-1", + "0x1.c53a3adefe4bap-1", + "0x1.c571816425828p-1", + "0x1.c59ac3c1c518fp-1", + "0x1.c5cf2b9c29cd2p-1", + "0x1.c610153f8a4e4p-1", + "0x1.c69fbfe754caap-1", + "0x1.c7db89e5c2ce8p-1", + "0x1.ca86f63d341d1p-1", + "0x1.d01ab954c7085p-1", + "0x1.dadff8c5f181fp-1", + "0x1.ec98a8cb2fc49p-1", + "0x1.0176d0ff3786ep+0", + "0x1.0b95f8896e2b9p+0", + "0x1.126dc789c0a47p+0", + "0x1.163a11c525c77p+0", + "0x1.181db91c19e42p+0", + "0x1.19018c0e2a408p+0", + "0x1.196a2476ac4a3p+0", + "0x1.199999999999ap+0" + ] + } + }, + "recombination_total": { + "function": "perovskite_sim.physics.recombination.total_recombination_derivatives", + "inputs": { + "B_rad": "0x1.70ef54646d497p-55", + "C_n": "0x1.3835deec31a72p-135", + "C_p": "0x1.b98e046b4d899p-137", + "n": [ + "0x1.2a05f20000000p+33", + "0x1.aea4c04000000p+34", + "0x1.5af1d78b58c40p+66", + "0x1.0f0cf064dd592p+73", + "0x1.52d02c7e14af6p+76", + "0x1.2d452694f4000p+52" + ], + "n1": "0x1.aea4c04000000p+34", + "ni_sq": "0x1.6a36efeef1300p+69", + "p": [ + "0x1.0f0cf064dd592p+73", + "0x1.aea4c04000000p+34", + "0x1.5af1d78b58c40p+66", + "0x1.2a05f20000000p+33", + "0x1.52d02c7e14af6p+76", + "0x1.8a211187c5180p+62" + ], + "p1": "0x1.aea4c04000000p+34", + "tau_n": "0x1.9c511dc3a41dfp-29", + "tau_p": "0x1.421f5f40d8376p-22" + }, + "outputs": { + "d_n": [ + "0x1.3e461b32b5bd5p+28", + "0x1.92df504398724p+20", + "0x1.1e8a63cbeac8ap+15", + "0x1.b3827aa41f752p-22", + "0x1.1e5b7223d21a4p+22", + "0x1.134325ca89509p+28" + ], + "d_p": [ + "0x1.af9f752c36f5cp-22", + "0x1.92df504398724p+20", + "0x1.8f5f2fccfb05ap+21", + "0x1.c8122aaaa5881p+21", + "0x1.d8c1d5fdf983cp+22", + "0x1.f69e8e7c1e0b5p+13" + ], + "rate": [ + "0x1.7284ffe666e97p+61", + "0x0.0p+0", + "0x1.1153eb0d2534bp+88", + "0x1.0977de9349aa4p+55", + "0x1.362a6958a24acp+99", + "0x1.5c1eb807c8a21p+80" + ] + } + }, + "sg_jacobian": { + "function": "perovskite_sim.discretization.fe_operators.sg_fluxes_{n,p}_jacobian (electric current A/m^2)", + "inputs": { + "D": "0x1.64840e1719f80p-13", + "V_T": "0x1.a78f25679cab4p-6", + "density": [ + "0x1.2a05f20000000p+33", + "0x1.5d3ef79800000p+41", + "0x1.0f0cf064dd592p+73", + "0x1.0f0cf064dd592p+72", + "0x1.f400000000000p+10", + "0x1.55cc000000000p+19", + "0x1.a784379d99db4p+79" + ], + "dx": [ + "0x1.12e0be826d695p-30", + "0x1.9c511dc3a41dfp-29", + "0x1.12e0be826d695p-29", + "0x1.5798ee2308c3ap-28", + "0x1.12e0be826d695p-30", + "0x1.12e0be826d695p-28" + ], + "phi": [ + "0x0.0p+0", + "0x1.a9fbe76c8b439p-7", + "-0x1.999999999999ap-3", + "-0x1.ae147ae147ae1p-3", + "0x1.999999999999ap-2", + "0x1.851eb851eb852p-2", + "0x1.199999999999ap+0" + ] + }, + "outputs": { + "n_density_left_derivative": [ + "-0x1.38291ab498bd9p-45", + "-0x1.6c83d9058edbap-56", + "-0x1.91dd0d3caee58p-47", + "-0x1.216fff3e482c5p-43", + "-0x1.45182efd0d428p-46", + "-0x1.ab09f67d10d2ep-43" + ], + "n_density_right_derivative": [ + "0x1.7996686ae4584p-46", + "0x1.50f9a9fb3e976p-44", + "0x1.27d44b9db0313p-46", + "0x1.1934e9fc7f534p-77", + "0x1.6057a17d381ecp-45", + "0x1.78e0833dce161p-83" + ], + "n_flux": [ + "0x1.00240ee2af03dp-4", + "0x1.64c95313c328ep+29", + "-0x1.c11283c97ecfdp+24", + "-0x1.3274303dee9eep+29", + "0x1.d5cec32189fa4p-26", + "0x1.37bebd6e415a1p-3" + ], + "n_potential_left_derivative": [ + "0x1.52e5a0c6c8afep+0", + "0x1.a1da1ad4ca656p+31", + "0x1.c2d79249cd810p+31", + "0x1.f6622512efc89p+29", + "0x1.f0e6411001fc4p-22", + "0x1.6b4ef440b75bdp+2" + ], + "n_potential_right_derivative": [ + "-0x1.52e5a0c6c8afep+0", + "-0x1.a1da1ad4ca656p+31", + "-0x1.c2d79249cd810p+31", + "-0x1.f6622512efc89p+29", + "-0x1.f0e6411001fc4p-22", + "-0x1.6b4ef440b75bdp+2" + ], + "p_density_left_derivative": [ + "0x1.7996686ae4584p-46", + "0x1.50f9a9fb3e976p-44", + "0x1.27d44b9db0313p-46", + "0x1.1934e9fc7f534p-77", + "0x1.6057a17d381ecp-45", + "0x1.78e0833dce161p-83" + ], + "p_density_right_derivative": [ + "-0x1.38291ab498bd9p-45", + "-0x1.6c83d9058edbap-56", + "-0x1.91dd0d3caee58p-47", + "-0x1.216fff3e482c5p-43", + "-0x1.45182efd0d428p-46", + "-0x1.ab09f67d10d2ep-43" + ], + "p_flux": [ + "-0x1.a901085876d03p-4", + "-0x1.81f1e27ad4ae3p+17", + "0x1.9db2b73765ea9p+26", + "0x1.29bd3a1a54dffp-5", + "-0x1.af5c1ab51bbe8p-27", + "-0x1.613d0218e4806p+37" + ], + "p_potential_left_derivative": [ + "0x1.d8f1fadbc6a6bp+0", + "0x1.9a0836cfc6ffbp+22", + "0x1.eb20734de5ebbp+31", + "0x1.58a7bf1b88e7dp+0", + "0x1.293ff6fdd1d6cp-22", + "0x1.ea9bd83ed55e7p+37" + ], + "p_potential_right_derivative": [ + "-0x1.d8f1fadbc6a6bp+0", + "-0x1.9a0836cfc6ffbp+22", + "-0x1.eb20734de5ebbp+31", + "-0x1.58a7bf1b88e7dp+0", + "-0x1.293ff6fdd1d6cp-22", + "-0x1.ea9bd83ed55e7p+37" + ] + } + }, + "tmm_ionmonger_benchmark_tmm_N30": { + "function": "perovskite_sim.solver.mol._compute_tmm_generation (fixture ionmonger_benchmark_tmm.yaml; 200 wavelengths 300-1000 nm, AM1.5G)", + "inputs": { + "N_grid": 30, + "config": "perovskite-sim/tests/fixtures/configs/ionmonger_benchmark_tmm.yaml", + "x": [ + "0x0.0p+0", + "0x1.3a5ce081124b6p-30", + "0x1.4d35ebea12ee1p-28", + "0x1.16a950d7f632fp-26", + "0x1.8b60f2cb01ffbp-25", + "0x1.ad7f29abcaf48p-24", + "0x1.4aa6ecf90a74bp-23", + "0x1.8aa9ff90cc2e2p-23", + "0x1.a3157a4c7a5d1p-23", + "0x1.ab0a6feac8cfep-23", + "0x1.ad7f29abcaf48p-23", + "0x1.b2689d2dcf3dbp-23", + "0x1.c252886a6c236p-23", + "0x1.f3297de1c8814p-23", + "0x1.3997d188a5fa3p-22", + "0x1.ad7f29abcaf48p-22", + "0x1.10b340e777f78p-21", + "0x1.30b4ca3358d43p-21", + "0x1.3cea87912febap-21", + "0x1.40e5026057251p-21", + "0x1.421f5f40d8376p-21", + "0x1.426df678f87bfp-21", + "0x1.436c952cc24a5p-21", + "0x1.467a048438103p-21", + "0x1.4e7a66d730476p-21", + "0x1.5cf751db94e6ap-21", + "0x1.6b743cdff985fp-21", + "0x1.73749f32f1bd2p-21", + "0x1.76820e8a67830p-21", + "0x1.7780ad3e31516p-21", + "0x1.77cf44765195fp-21" + ] + }, + "outputs": { + "G": [ + "0x1.df766e71fae15p+88", + "0x1.d9078538d4833p+89", + "0x1.c4539f97e3573p+89", + "0x1.8b34e2f488e04p+89", + "0x1.04d12aade13bdp+89", + "0x1.21252fd508e92p+88", + "0x1.f6eca7d74453ep+87", + "0x1.064cb2a17b920p+87", + "0x1.3d3795dd11428p+86", + "0x1.123107fd24ffbp+86", + "0x1.dab9e69906f60p+92", + "0x1.57232a517b094p+93", + "0x1.332b811c058fbp+93", + "0x1.c5f86157810b4p+92", + "0x1.ccde5eada15ebp+91", + "0x1.8e6e894e63172p+90", + "0x1.4a663adabb2f1p+89", + "0x1.3b0e2016bdea2p+89", + "0x1.a9cda855cf684p+88", + "0x1.4787b27f8ba5fp+88", + "0x1.ddebb6445454ep+87", + "0x1.ad920ff954163p+78", + "0x1.96c9e904e351bp+78", + "0x1.77633b76b7120p+78", + "0x1.d8ed99759b91dp+78", + "0x1.dce36aa9dfb88p+79", + "0x1.835a723948e00p+80", + "0x1.c59be99b8cab8p+80", + "0x1.d27a8a7a0dbadp+80", + "0x1.d3f23cd5ce678p+80", + "0x1.d40ee50dfab52p+79" + ], + "q_sum_G_w_A_m2": "0x1.c2007e57f6154p+7" + } + }, + "tmm_synthetic_three_layer": { + "function": "perovskite_sim.physics.optics tmm_reflectance/_transfer_matrix_stack/tmm_cumulative_absorptance/tmm_absorbed_photon_flux_per_cell (n_ambient=1, n_substrate=1.5)", + "inputs": { + "d": [ + "0x1.ad7f29abcaf48p-25", + "0x1.ad7f29abcaf48p-22", + "0x1.421f5f40d8376p-23" + ], + "faces": [ + "0x0.0p+0", + "0x1.5798ee2308c3ap-26", + "0x1.5798ee2308c3ap-25", + "0x1.01b2b29a4692cp-24", + "0x1.5798ee2308c3ap-24", + "0x1.ad7f29abcaf48p-24", + "0x1.01b2b29a4692cp-23", + "0x1.2ca5d05ea7ab3p-23", + "0x1.5798ee2308c3ap-23", + "0x1.828c0be769dc1p-23", + "0x1.ad7f29abcaf48p-23", + "0x1.d87247702c0d0p-23", + "0x1.01b2b29a4692cp-22", + "0x1.172c417c771efp-22", + "0x1.2ca5d05ea7ab3p-22", + "0x1.421f5f40d8376p-22", + "0x1.5798ee2308c3ap-22", + "0x1.6d127d05394fep-22", + "0x1.828c0be769dc1p-22", + "0x1.98059ac99a685p-22", + "0x1.ad7f29abcaf48p-22", + "0x1.c2f8b88dfb80cp-22", + "0x1.d87247702c0d0p-22", + "0x1.edebd6525c993p-22", + "0x1.01b2b29a4692cp-21", + "0x1.0c6f7a0b5ed8dp-21", + "0x1.172c417c771efp-21", + "0x1.21e908ed8f651p-21", + "0x1.2ca5d05ea7ab3p-21", + "0x1.376297cfbff15p-21", + "0x1.421f5f40d8376p-21" + ], + "k": [ + [ + "0x1.999999999999ap-5", + "0x1.999999999999ap-5", + "0x1.999999999999ap-5", + "0x1.999999999999ap-5", + "0x1.999999999999ap-5", + "0x1.999999999999ap-5", + "0x1.999999999999ap-5", + "0x1.999999999999ap-5", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10" + ], + [ + "0x1.1dd248e2e8a76p-1", + "0x1.1639acf0cbd9bp-1", + "0x1.0ed4bf4ceb4b1p-1", + "0x1.07a22059d2e3fp-1", + "0x1.00a079d24c5b1p-1", + "0x1.f39cfd1396ccfp-2", + "0x1.e655d45d14f57p-2", + "0x1.d969021a99312p-2", + "0x1.ccd41fad71f20p-2", + "0x1.c094d6cc8b655p-2", + "0x1.b4a8e1154d7d4p-2", + "0x1.a90e079f6e140p-2", + "0x1.9dc22293a3100p-2", + "0x1.92c318c520fa4p-2", + "0x1.880edf4dd2fc7p-2", + "0x1.7da3792d39bdbp-2", + "0x1.737ef6e9df131p-2", + "0x1.699f76354cf47p-2", + "0x1.60032192769c5p-2", + "0x1.56a82ffe832f7p-2", + "0x1.4d8ce49be9b87p-2", + "0x1.44af8e5fceb2ep-2", + "0x1.3c0e87c193ccep-2", + "0x1.33a8366c8aed0p-2", + "0x1.2b7b0af3bdf27p-2", + "0x1.23858087bd05dp-2", + "0x1.1bc61cae65b3ap-2", + "0x1.143b6efc9564bp-2", + "0x1.0ce410d1ba26fp-2", + "0x1.05bea515350f1p-2", + "0x1.fd93afeb03a85p-3", + "0x1.f008bd522f32fp-3", + "0x1.e2d9ee61ee587p-3", + "0x1.d604d039b699dp-3", + "0x1.c98700a1ffccap-3", + "0x1.bd5e2d9aeac55p-3", + "0x1.b18814edeb304p-3", + "0x1.a60283c260180p-3", + "0x1.9acb563507290p-3", + "0x1.8fe076f237441p-3", + "0x1.853fded2cf7a1p-3", + "0x1.7ae7947bc8094p-3", + "0x1.70d5ac005372ap-3", + "0x1.670846867e377p-3", + "0x1.5d7d91ee3c462p-3", + "0x1.5433c87ad3906p-3", + "0x1.4b29307e93b5bp-3", + "0x1.425c1c08cb1a0p-3", + "0x1.39cae895ea2b3p-3", + "0x1.3173fec1c6010p-3", + "0x1.2955d1fbebe30p-3", + "0x1.216ee03df7ad7p-3", + "0x1.19bdb1c3df5a7p-3", + "0x1.1240d8c6266d7p-3", + "0x1.0af6f135ec379p-3", + "0x1.03dea07ac8692p-3", + "0x1.f9ed2a64d3298p-4", + "0x1.ec7b0de3d37eap-4", + "0x1.df646c119a935p-4", + "0x1.d2a6d68b41daap-4", + "0x1.c63fef78576d2p-4", + "0x1.ba2d691a54998p-4", + "0x1.ae6d055f120f2p-4", + "0x1.a2fc957625642p-4", + "0x1.97d9f969140ecp-4", + "0x1.8d031fb648a16p-4", + "0x1.827604eeb76f2p-4", + "0x1.7830b35620680p-4", + "0x1.6e314285dc500p-4", + "0x1.6475d71224154p-4", + "0x1.5afca231c156bp-4", + "0x1.51c3e16817c97p-4", + "0x1.48c9de31776f0p-4", + "0x1.400cedb1a8268p-4", + "0x1.378b70649f63fp-4", + "0x1.2f43d1d15164bp-4", + "0x1.2734883e8f7b1p-4", + "0x1.1f5c1469e58b2p-4", + "0x1.17b9014069145p-4", + "0x1.1049e3996c9dap-4", + "0x1.090d59f30a95ep-4", + "0x1.02020c307b2ebp-4", + "0x1.f64d56b451e3fp-5", + "0x1.e8f3e2bef080ap-5", + "0x1.dbf541b46c35dp-5", + "0x1.cf4f09a7460ecp-5", + "0x1.c2fee1161e18fp-5", + "0x1.b7027e7bf8565p-5", + "0x1.ab57a7e379ce7p-5", + "0x1.9ffc327d09a30p-5", + "0x1.94ee0237c266bp-5", + "0x1.8a2b095d20a61p-5", + "0x1.7fb1482f5bed1p-5", + "0x1.757ecc8a58391p-5", + "0x1.6b91b1871e1afp-5", + "0x1.61e81f21c86ccp-5", + "0x1.588049e1d6cdcp-5", + "0x1.4f587284d4ac2p-5", + "0x1.466ee5ab44f42p-5", + "0x1.3dc1fb87c2febp-5" + ], + [ + "0x1.47ae147ae147bp-6", + "0x1.47ae147ae147bp-6", + "0x1.47ae147ae147bp-6", + "0x1.47ae147ae147bp-6", + "0x1.47ae147ae147bp-6", + "0x1.47ae147ae147bp-6", + "0x1.47ae147ae147bp-6", + "0x1.47ae147ae147bp-6", + "0x1.47ae147ae147bp-6", + "0x1.47ae147ae147bp-6", + "0x1.47ae147ae147bp-6", + "0x1.47ae147ae147bp-6", + "0x1.47ae147ae147bp-6", + "0x1.47ae147ae147bp-6", + "0x1.47ae147ae147bp-6", + "0x1.47ae147ae147bp-6", + "0x1.47ae147ae147bp-6", + "0x1.47ae147ae147bp-6", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10", + "0x1.0624dd2f1a9fcp-10" + ] + ], + "n": [ + 2.4, + 2.5, + 1.8 + ], + "spectral_flux": "0x1.3da329b633647p+81", + "wavelength_m": [ + "0x1.77cf447651960p-22", + "0x1.7c25e29ed783cp-22", + "0x1.807c80c75d719p-22", + "0x1.84d31eefe35f5p-22", + "0x1.8929bd18694d2p-22", + "0x1.8d805b40ef3aep-22", + "0x1.91d6f9697528bp-22", + "0x1.962d9791fb168p-22", + "0x1.9a8435ba81044p-22", + "0x1.9edad3e306f21p-22", + "0x1.a331720b8cdfdp-22", + "0x1.a788103412cdap-22", + "0x1.abdeae5c98bb6p-22", + "0x1.b0354c851ea93p-22", + "0x1.b48beaada496fp-22", + "0x1.b8e288d62a84cp-22", + "0x1.bd3926feb0729p-22", + "0x1.c18fc52736605p-22", + "0x1.c5e6634fbc4e2p-22", + "0x1.ca3d0178423bep-22", + "0x1.ce939fa0c829bp-22", + "0x1.d2ea3dc94e177p-22", + "0x1.d740dbf1d4054p-22", + "0x1.db977a1a59f30p-22", + "0x1.dfee1842dfe0dp-22", + "0x1.e444b66b65ceap-22", + "0x1.e89b5493ebbc6p-22", + "0x1.ecf1f2bc71aa3p-22", + "0x1.f14890e4f797fp-22", + "0x1.f59f2f0d7d85cp-22", + "0x1.f9f5cd3603738p-22", + "0x1.fe4c6b5e89615p-22", + "0x1.015184c387a79p-21", + "0x1.037cd3d7ca9e7p-21", + "0x1.05a822ec0d955p-21", + "0x1.07d37200508c4p-21", + "0x1.09fec11493832p-21", + "0x1.0c2a1028d67a0p-21", + "0x1.0e555f3d1970ep-21", + "0x1.1080ae515c67dp-21", + "0x1.12abfd659f5ebp-21", + "0x1.14d74c79e2559p-21", + "0x1.17029b8e254c8p-21", + "0x1.192deaa268436p-21", + "0x1.1b5939b6ab3a4p-21", + "0x1.1d8488caee312p-21", + "0x1.1fafd7df31281p-21", + "0x1.21db26f3741efp-21", + "0x1.24067607b715dp-21", + "0x1.2631c51bfa0cap-21", + "0x1.285d14303d03ap-21", + "0x1.2a8863447ffa7p-21", + "0x1.2cb3b258c2f16p-21", + "0x1.2edf016d05e83p-21", + "0x1.310a508148df3p-21", + "0x1.33359f958bd60p-21", + "0x1.3560eea9ceccfp-21", + "0x1.378c3dbe11c3dp-21", + "0x1.39b78cd254bacp-21", + "0x1.3be2dbe697b19p-21", + "0x1.3e0e2afadaa89p-21", + "0x1.40397a0f1d9f6p-21", + "0x1.4264c92360965p-21", + "0x1.44901837a38d2p-21", + "0x1.46bb674be6842p-21", + "0x1.48e6b660297afp-21", + "0x1.4b1205746c71ep-21", + "0x1.4d3d5488af68bp-21", + "0x1.4f68a39cf25fbp-21", + "0x1.5193f2b135568p-21", + "0x1.53bf41c5784d7p-21", + "0x1.55ea90d9bb444p-21", + "0x1.5815dfedfe3b4p-21", + "0x1.5a412f0241321p-21", + "0x1.5c6c7e1684290p-21", + "0x1.5e97cd2ac71fep-21", + "0x1.60c31c3f0a16dp-21", + "0x1.62ee6b534d0dap-21", + "0x1.6519ba679004ap-21", + "0x1.6745097bd2fb7p-21", + "0x1.6970589015f26p-21", + "0x1.6b9ba7a458e93p-21", + "0x1.6dc6f6b89be03p-21", + "0x1.6ff245ccded70p-21", + "0x1.721d94e121cdfp-21", + "0x1.7448e3f564c4cp-21", + "0x1.76743309a7bbcp-21", + "0x1.789f821deab29p-21", + "0x1.7acad1322da98p-21", + "0x1.7cf6204670a05p-21", + "0x1.7f216f5ab3975p-21", + "0x1.814cbe6ef68e2p-21", + "0x1.83780d8339851p-21", + "0x1.85a35c977c7bfp-21", + "0x1.87ceababbf72ep-21", + "0x1.89f9fac00269bp-21", + "0x1.8c2549d445609p-21", + "0x1.8e5098e888578p-21", + "0x1.907be7fccb4e6p-21", + "0x1.92a737110e454p-21" + ] + }, + "outputs": { + "C_faces": [ + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x0.0p+0", + "0x1.c900e59572893p-6", + "0x1.c8a76f41467cdp-6", + "0x1.c8226241ee91cp-6", + "0x1.c7739a2749dc3p-6", + "0x1.c69ca71ff2f01p-6", + "0x1.c59e05fcc3b18p-6", + "0x1.c47658a8133fbp-6", + "0x1.c321eba65d1b4p-6", + "0x1.23e67a7603c90p-11", + "0x1.230d74c7fba78p-11", + "0x1.2205db80c8d81p-11", + "0x1.20cd9ea62f730p-11", + "0x1.1f66c782d6db1p-11", + "0x1.1dd8dcd38dabep-11", + "0x1.1c31610bd12dep-11", + "0x1.1a8314ce4b721p-11", + "0x1.18e3e82c9ec3dp-11", + "0x1.1769d10197e9fp-11", + "0x1.1604c3ec867a2p-11", + "0x1.15098bcfdd958p-11", + "0x1.1456425fd5c6ep-11", + "0x1.13dd8b1360818p-11", + "0x1.1384321efb4acp-11", + "0x1.1322e3f3d04abp-11", + "0x1.1289dc5c29422p-11", + "0x1.1186464caa5e8p-11", + "0x1.0fe8c0585abdap-11", + "0x1.0d8c366c8f59ep-11", + "0x1.0a5c0fed9aed6p-11", + "0x1.0658a7bcdbbbbp-11", + "0x1.0199345d7790bp-11", + "0x1.f89565564cf4cp-12", + "0x1.ed57ed39d1e9cp-12", + "0x1.e20f23aaec1cbp-12", + "0x1.d7593865d0e04p-12", + "0x1.cdcefc11db63bp-12", + "0x1.c5f7527acc922p-12", + "0x1.c03da18bbf462p-12", + "0x1.bceb911175119p-12", + "0x1.bc25cf1c2ff82p-12", + "0x1.bdeb34a18309fp-12", + "0x1.c215962a0867dp-12", + "0x1.c85bb30989c13p-12", + "0x1.d053fa6fb3b34p-12", + "0x1.d978294114cffp-12", + "0x1.e32a02a20f50dp-12", + "0x1.ecb9877fb0ceap-12", + "0x1.f56d0a54c172ep-12", + "0x1.fc8b43c928656p-12", + "0x1.00b391c2df6bep-11", + "0x1.01b6471e78a7ap-11", + "0x1.011657cd5ee46p-11", + "0x1.fd682ad344d4cp-12", + "0x1.f515740971e9dp-12", + "0x1.e9620f36b465ap-12", + "0x1.daae47737b521p-12", + "0x1.c983f474e88dap-12", + "0x1.b689c7cea43e3p-12", + "0x1.a2751e5078b03p-12", + "0x1.8dfc56d508860p-12", + "0x1.79cb46d646fe2p-12", + "0x1.667abd87888a1p-12", + "0x1.548b574ed2396p-12", + "0x1.4463578863ae8p-12", + "0x1.364ee9503103ap-12", + "0x1.2a8208bf46e7ep-12", + "0x1.211b5f408f446p-12", + "0x1.1a277e3630670p-12", + "0x1.15a40c3812765p-12", + "0x1.1382a0a605729p-12", + "0x1.13ab29e100ea6p-12", + "0x1.15fdd2ab91a58p-12", + "0x1.1a546b8f55e16p-12", + "0x1.2083674e33cc9p-12", + "0x1.285a7f244acd5p-12", + "0x1.31a516807a57ap-12", + "0x1.3c2a76fe3d284p-12", + "0x1.47adfd84f5c51p-12", + "0x1.53ef50c745974p-12", + "0x1.60aab7e8905ccp-12", + "0x1.6d99a58cc869fp-12", + "0x1.7a7387aa6fb42p-12", + "0x1.86eee6c9da594p-12", + "0x1.92c2d7c7d9807p-12", + "0x1.9da8b9e1ab6b7p-12", + "0x1.a75e3063bcb33p-12", + "0x1.afa73ce748afdp-12", + "0x1.b650561bc36f0p-12", + "0x1.bb305151e3208p-12", + "0x1.be29f3d76dfc6p-12", + "0x1.bf2d058dc0a00p-12", + "0x1.be36c7f748f9cp-12", + "0x1.bb51c329245bcp-12", + "0x1.b694ea99e2452p-12", + "0x1.b0222c22a9c46p-12", + "0x1.a82489326d93ep-12", + "0x1.9ecde33de30c9p-12", + "0x1.9454a7eb46341p-12", + "0x1.88f18772a86f5p-12", + "0x1.7cdd593184f84p-12", + "0x1.e6f7a6dc94c5ap-5", + "0x1.e3dbf1cb62c25p-5", + "0x1.e0b90ddbb6c6ap-5", + "0x1.dd8ea177e3e3ep-5", + "0x1.da5c02b329a4cp-5", + "0x1.d71fc902a13edp-5", + "0x1.d3d77a8db5466p-5", + "0x1.d07f8460afc07p-5", + "0x1.32fa3db665480p-10", + "0x1.30bd43e400886p-10", + "0x1.2e6cbbd9ab43cp-10", + "0x1.2c09391554d65p-10", + "0x1.29967da31a5bap-10", + "0x1.271bee15cccaep-10", + "0x1.24a44acc25373p-10", + "0x1.223c90647053ep-10", + "0x1.1ff211dee9334p-10", + "0x1.1dd00fa6010d4p-10", + "0x1.1bccab499c924p-10", + "0x1.1a109dde42615p-10", + "0x1.187ee839c5f00p-10", + "0x1.1705b64d77d34p-10", + "0x1.158b09fb672f6p-10", + "0x1.13ef13ab132f2p-10", + "0x1.120fba5b4212fp-10", + "0x1.0fccfc45cd14fp-10", + "0x1.0d0da561603b4p-10", + "0x1.09c3b48ce5b49p-10", + "0x1.05efb79dec7fcp-10", + "0x1.01a2784078e11p-10", + "0x1.f9f91e9b9a725p-11", + "0x1.f057a62636592p-11", + "0x1.e6cdff36283f2p-11", + "0x1.ddd09c8bc4720p-11", + "0x1.d5cfb1e516db5p-11", + "0x1.cf2d272569920p-11", + "0x1.ca34d21f1538ap-11", + "0x1.c7176ece53e85p-11", + "0x1.c5e83b069c7dcp-11", + "0x1.c69cba65116dcp-11", + "0x1.c90e0453783b5p-11", + "0x1.ccfb0e96abafbp-11", + "0x1.d20b97e83bd02p-11", + "0x1.d7d392dfdf8c2p-11", + "0x1.ddd728bc1d14ep-11", + "0x1.e38f905eeb0c8p-11", + "0x1.e870fe6da491cp-11", + "0x1.ebf1d97bc4b56p-11", + "0x1.ed931ed57114fp-11", + "0x1.ece9886c8a653p-11", + "0x1.e9a69cab0249ap-11", + "0x1.e3a07b33ae862p-11", + "0x1.dad719044d96ap-11", + "0x1.cf75ce890a907p-11", + "0x1.c1d09fd59a8a7p-11", + "0x1.b25d67a47c33bp-11", + "0x1.a1a9d3f1afc15p-11", + "0x1.904fb388daebbp-11", + "0x1.7ee9459e460dcp-11", + "0x1.6e07092ddfd25p-11", + "0x1.5e280cec0387ap-11", + "0x1.4fb527c165b2ap-11", + "0x1.42fef8b18f6b4p-11", + "0x1.383e2ef6d2776p-11", + "0x1.2f956f5f22a95p-11", + "0x1.29142aa0bafe0p-11", + "0x1.24b9d2670d14fp-11", + "0x1.2279010e5dc3bp-11", + "0x1.223a4f007433ep-11", + "0x1.23deb1d3575a0p-11", + "0x1.27415a29b9e49p-11", + "0x1.2c3916094b90dp-11", + "0x1.3299475fad857p-11", + "0x1.3a32839ec3c8ep-11", + "0x1.42d2f366d0fe3p-11", + "0x1.4c46896b3c0e3p-11", + "0x1.565726f5fd8d7p-11", + "0x1.60ccc314435e8p-11", + "0x1.6b6da7a7f6ff7p-11", + "0x1.75fed534cd3cdp-11", + "0x1.80449b0134792p-11", + "0x1.8a036cc1b3ac4p-11", + "0x1.9300f94d2d3b6p-11", + "0x1.9b057ecc45638p-11", + "0x1.a1dd50c93dd9cp-11", + "0x1.a75a7c2b5e04ap-11", + "0x1.ab566d9010385p-11", + "0x1.adb378e645f93p-11", + "0x1.ae5e1ef5d1274p-11", + "0x1.ad4def8a200aep-11", + "0x1.aa85eda24f68ep-11", + "0x1.a61465cdd0e54p-11", + "0x1.a01234613c877p-11", + "0x1.98a18774e3da8p-11", + "0x1.8fec357052702p-11", + "0x1.8621ca5163ef7p-11", + "0x1.7b7572a1f9457p-11", + "0x1.701bead7344e2p-11", + "0x1.64499532b254ep-11", + "0x1.5830d070b5b9cp-11", + "0x1.9af49f1194e74p-3", + "0x1.9275c1353d642p-3", + "0x1.8a233512e21bcp-3", + "0x1.81fbde0718274p-3", + "0x1.79ff2689fed46p-3", + "0x1.722ce3e9641d2p-3", + "0x1.6a851e6a8c7c1p-3", + "0x1.6307c39f46786p-3", + "0x1.c3d8404c3da3bp-4", + "0x1.b68bc197db8e6p-4", + "0x1.a9a03a6d889f6p-4", + "0x1.9d0f29342fc62p-4", + "0x1.90cf797338178p-4", + "0x1.84d65c867a9a5p-4", + "0x1.7918a42e7ceaep-4", + "0x1.6d8c6220ceb67p-4", + "0x1.622a7e02e717dp-4", + "0x1.56eff4e1dd494p-4", + "0x1.4bec4e5e400a2p-4", + "0x1.410203ddc5512p-4", + "0x1.365043f26a93bp-4", + "0x1.2be5d15a0b077p-4", + "0x1.21d304cb31478p-4", + "0x1.1827f6efb6a27p-4", + "0x1.0ef2aede0f4a3p-4", + "0x1.063d8212fa964p-4", + "0x1.fc1b9ca626a47p-5", + "0x1.ecc6616594bfap-5", + "0x1.de6ea858a8ee5p-5", + "0x1.d0fcc5688e96bp-5", + "0x1.c4501b0de53ecp-5", + "0x1.b842110930836p-5", + "0x1.aca98041f0c10p-5", + "0x1.a15e11afe0991p-5", + "0x1.963b1b51c6d21p-5", + "0x1.8b21ad170a3abp-5", + "0x1.7ff9b2c3ac96ap-5", + "0x1.74b23f54a4edfp-5", + "0x1.694136a4602fap-5", + "0x1.5da296e5aeb51p-5", + "0x1.51d79f8c5b46cp-5", + "0x1.45e60473ba533p-5", + "0x1.39d748d520a49p-5", + "0x1.2db84a92c00fcp-5", + "0x1.2198f617f0139p-5", + "0x1.158c0eb5e165fp-5", + "0x1.09a6ef7f4cd93p-5", + "0x1.fc024bc432d3fp-6", + "0x1.e567952da7583p-6", + "0x1.cfb10fa53ff58p-6", + "0x1.bb10999c834aep-6", + "0x1.a7b388db69457p-6", + "0x1.95bf74b0be461p-6", + "0x1.854f513cd0818p-6", + "0x1.7671542b916f0p-6", + "0x1.692600770ce19p-6", + "0x1.5d6082627c687p-6", + "0x1.530845a0ab4bbp-6", + "0x1.49fb78425a997p-6", + "0x1.42120c8216c70p-6", + "0x1.3b20c767b8b29p-6", + "0x1.34fbfe461e7d1p-6", + "0x1.2f79c6c198688p-6", + "0x1.2a7380deef57fp-6", + "0x1.25c6c015b9118p-6", + "0x1.2155ab91548fdp-6", + "0x1.1d06f6ae00512p-6", + "0x1.18c593a2794a3p-6", + "0x1.14803e3537d29p-6", + "0x1.1028f60ce7f96p-6", + "0x1.0bb4798997e1dp-6", + "0x1.0719cc375ff89p-6", + "0x1.0251cf4673d51p-6", + "0x1.faadde1ef4ec2p-7", + "0x1.f049ccab7de61p-7", + "0x1.e5712cdd4e33dp-7", + "0x1.da1fe4e564e2fp-7", + "0x1.ce53f5cdedda1p-7", + "0x1.c20d8d7a0f5eep-7", + "0x1.b54f2c0340eddp-7", + "0x1.a81dd42046a8ep-7", + "0x1.9a813d52bd14ap-7", + "0x1.8c83fde86ebd2p-7", + "0x1.7e33a2ab605d7p-7", + "0x1.6fa0aaac512f6p-7", + "0x1.60de5f23ff136p-7", + "0x1.520282175b8a2p-7", + "0x1.4324d2296b9d0p-7", + "0x1.345e6685f5e08p-7", + "0x1.25c8ea8a91299p-7", + "0x1.177dc517743b4p-7", + "0x1.09953a86e8cfap-7", + "0x1.f84b333a36e3ep-8", + "0x1.de85060ed8098p-8", + "0x1.c5f8b09f06240p-8", + "0x1.aebfb5dc03092p-8", + "0x1.98ebfe40d574ap-8", + "0x1.8487e2381eeeep-8", + "0x1.71968dcaf9859p-8", + "0x1.6014abf4f72bfp-8", + "0x1.90425c99889bap-2", + "0x1.8889f95f65ad0p-2", + "0x1.80dca3ce4c02cp-2", + "0x1.793c74bf91e8ap-2", + "0x1.71abf51d2e250p-2", + "0x1.6a2dd53c003a4p-2", + "0x1.62c4771775782p-2", + "0x1.5b715dd03d83ap-2", + "0x1.24401d1259428p-2", + "0x1.1d02ba9044ce9p-2", + "0x1.15dc3e5bb724ap-2", + "0x1.0ec7854d496efp-2", + "0x1.07beb8cd92a5dp-2", + "0x1.00bc8be5d53d9p-2", + "0x1.f37b31b0e253ap-3", + "0x1.e5832beab77f2p-3", + "0x1.d79838e2fe1afp-3", + "0x1.c9c9a2f8efe82p-3", + "0x1.bc1cf2d938c6fp-3", + "0x1.aebe28a17fd32p-3", + "0x1.a1cbc312c331cp-3", + "0x1.9562ef05cf2cdp-3", + "0x1.899b46280098dp-3", + "0x1.7e83add0a00a4p-3", + "0x1.742023ed3eb28p-3", + "0x1.6a68bd23c9069p-3", + "0x1.6149faaf98175p-3", + "0x1.58a67bfddc983p-3", + "0x1.5059e505827cfp-3", + "0x1.483ca1f801fd1p-3", + "0x1.402805e6e8343p-3", + "0x1.37fa2b47c1d11p-3", + "0x1.2f9906bb2f753p-3", + "0x1.26f4478ea4532p-3", + "0x1.1e05e295bb731p-3", + "0x1.14d16746ec428p-3", + "0x1.0b62712a95a7bp-3", + "0x1.01ca9dcfffd0ap-3", + "0x1.f03ed3fd4e70cp-4", + "0x1.dcf080d224a87p-4", + "0x1.c9d9c88617cecp-4", + "0x1.b72888c4710b5p-4", + "0x1.a5075b001b53ap-4", + "0x1.939c8acd521ebp-4", + "0x1.830968b5455b1p-4", + "0x1.7369c8084681ep-4", + "0x1.64d382f94af50p-4", + "0x1.5755f2aee9160p-4", + "0x1.4af95df8046d3p-4", + "0x1.3fbe759a02694p-4", + "0x1.359e04942a67ap-4", + "0x1.2c8900ac9d3eep-4", + "0x1.246920a7cad1ep-4", + "0x1.1d22093a0fe83p-4", + "0x1.1693042428dfcp-4", + "0x1.1099162ed497fp-4", + "0x1.0b1132868b0d0p-4", + "0x1.05da437a0b870p-4", + "0x1.00d6cb6f10731p-4", + "0x1.f7dbf11be5dbdp-5", + "0x1.ee184416b2ab6p-5", + "0x1.e4457dce4de28p-5", + "0x1.da4fec4f50f60p-5", + "0x1.d02bdd500d99ap-5", + "0x1.c5d4048b62019p-5", + "0x1.bb47e1af4400fp-5", + "0x1.b08a4c504b8ffp-5", + "0x1.a5a03b0d90536p-5", + "0x1.9a8fcd7176547p-5", + "0x1.8f5f96d8b527dp-5", + "0x1.8416235198db8p-5", + "0x1.78b9ad09ab03dp-5", + "0x1.6d4ff87c73a59p-5", + "0x1.61de4e4ebc8f4p-5", + "0x1.56698af52c7dep-5", + "0x1.4af63d8a2903ep-5", + "0x1.3f88d05245b51p-5", + "0x1.3425b645e388cp-5", + "0x1.28d19986acddap-5", + "0x1.1d9186fc77d7ap-5", + "0x1.126b13856e2dep-5", + "0x1.0764774ea2f35p-5", + "0x1.f909385a7d5c0p-6", + "0x1.e3a6389994fa3p-6", + "0x1.ceb05eab97bcbp-6", + "0x1.ba390ab8d8c4fp-6", + "0x1.a65220d2ec327p-6", + "0x1.930d7e52e94dbp-6", + "0x1.807c5a1224934p-6", + "0x1.6eae9afd28af5p-6", + "0x1.5db232612b75cp-6", + "0x1.4d9287b4d2bb8p-6", + "0x1.3e58024b80b77p-6", + "0x1.3007ba7b46f85p-6", + "0x1.22a357abb68d3p-6", + "0x1.16291c29ce5c2p-6", + "0x1.0a941b318065cp-6", + "0x1.ffb92402623f6p-7", + "0x1.ebf0b4d82aa87p-7", + "0x1.d9b6d8cc566f1p-7", + "0x1.095cf88fd7503p-1", + "0x1.05527bac5531ap-1", + "0x1.013a884041735p-1", + "0x1.fa2e46bba45e9p-2", + "0x1.f1d4e23a0d7f6p-2", + "0x1.e96ced3ff1240p-2", + "0x1.e0f99362412d8p-2", + "0x1.d87c8056316b4p-2", + "0x1.a9a071423ed88p-2", + "0x1.a0cf1948aa076p-2", + "0x1.97f1251380600p-2", + "0x1.8f0217eef5341p-2", + "0x1.85fe7c6e8604cp-2", + "0x1.7ce5aa4bc400cp-2", + "0x1.73bb57bcf6fd9p-2", + "0x1.6a88905ddc2f0p-2", + "0x1.615bc5c3477dep-2", + "0x1.5847dc35ea52cp-2", + "0x1.4f436cee847bcp-2", + "0x1.4699d6253a1d8p-2", + "0x1.3e4a9443180a3p-2", + "0x1.3664240833884p-2", + "0x1.2eed00a6e12f0p-2", + "0x1.27e240f84806fp-2", + "0x1.213749ed67c90p-2", + "0x1.1ad6aca47f78fp-2", + "0x1.14a426bd265cbp-2", + "0x1.0e7f96dedb5a4p-2", + "0x1.08488fad98b84p-2", + "0x1.01e2105f6f917p-2", + "0x1.f66baff91de22p-3", + "0x1.e86da434824b1p-3", + "0x1.d9c4894b31d25p-3", + "0x1.ca7f4a8007399p-3", + "0x1.babe7efa96fe2p-3", + "0x1.aab0104612b2bp-3", + "0x1.9a8a1f42e376ep-3", + "0x1.8a85fc6587ea3p-3", + "0x1.7adbce39a67d2p-3", + "0x1.6bbf36e8801e9p-3", + "0x1.5d5d05e84a57bp-3", + "0x1.4fd9d37d6684dp-3", + "0x1.43514beb4887bp-3", + "0x1.37d5ecea019f8p-3", + "0x1.2d710317b8020p-3", + "0x1.2422c866e5915p-3", + "0x1.1be29aac7b068p-3", + "0x1.149f56075ddccp-3", + "0x1.0e3fedf183848p-3", + "0x1.08a465b169593p-3", + "0x1.03a742bea99bep-3", + "0x1.fe3f01a14983ap-4", + "0x1.f5c5e56cf8f22p-4", + "0x1.ed91b7dd63c74p-4", + "0x1.e558ee3a8b103p-4", + "0x1.dcde2c2690c6bp-4", + "0x1.d3f32a9fec41ep-4", + "0x1.ca79f74e8d8c5p-4", + "0x1.c0648b5fead4fp-4", + "0x1.b5b300425d0dbp-4", + "0x1.aa70d6843dab7p-4", + "0x1.9eb1d0d34c61ep-4", + "0x1.928ed6ad7fb1fp-4", + "0x1.862332b6c2ff4p-4", + "0x1.798a5bfc2b5cep-4", + "0x1.6cde58f1dbd10p-4", + "0x1.6036b37841344p-4", + "0x1.53a7e78e7a5fbp-4", + "0x1.474330f66970ep-4", + "0x1.3b169c672bc9ap-4", + "0x1.2f2d447f9c747p-4", + "0x1.238fa78e70fd3p-4", + "0x1.1844083758dcdp-4", + "0x1.0d4ecf4f50c29p-4", + "0x1.02b2e8ba6a1cbp-4", + "0x1.f0e42f3e5a658p-5", + "0x1.dd1a800a03a21p-5", + "0x1.ca094a2bb3f91p-5", + "0x1.b7b037d5e1e98p-5", + "0x1.a60e665f2b957p-5", + "0x1.9522a037c2951p-5", + "0x1.84eb82da32b8ap-5", + "0x1.7567924943e10p-5", + "0x1.66953c08089a0p-5", + "0x1.5872cbf1f7e17p-5", + "0x1.4afe55e94933cp-5", + "0x1.3e3597e671d16p-5", + "0x1.3215d86f31045p-5", + "0x1.269bc5bc37f9fp-5", + "0x1.1bc359bbd7c5fp-5", + "0x1.1187c69c128a5p-5", + "0x1.07e36e97dd15bp-5", + "0x1.fd9fd1021c72dp-6", + "0x1.ec8c222825030p-6", + "0x1.dc7c4f806c9fep-6", + "0x1.cd5fe8d4d328ep-6", + "0x1.bf25e5df36abfp-6", + "0x1.b1bd01c3c30a4p-6", + "0x1.a5141449f07b2p-6", + "0x1.991a6329a4d4dp-6", + "0x1.351014fe2c436p-1", + "0x1.31900fe895e42p-1", + "0x1.2def4a75d08f3p-1", + "0x1.2a2fb5f64776cp-1", + "0x1.26536fcf81aebp-1", + "0x1.225c89fa85207p-1", + "0x1.1e4cc6e89d2dap-1", + "0x1.1a255a13547a8p-1", + "0x1.064e6d9ecd53fp-1", + "0x1.01d3e4b7dbee9p-1", + "0x1.fa8408646e251p-2", + "0x1.f130e5e57106dp-2", + "0x1.e7af819928521p-2", + "0x1.de0454d673b56p-2", + "0x1.d4385db327f7ap-2", + "0x1.ca598e2072fefp-2", + "0x1.c07a41d9667bep-2", + "0x1.b6afb24a065e7p-2", + "0x1.acefea3dec09fp-2", + "0x1.a38b95c1d7b36p-2", + "0x1.9a77cb0f8f20fp-2", + "0x1.91bb98db77257p-2", + "0x1.8954366b2f935p-2", + "0x1.813480ced2474p-2", + "0x1.7945cdcb0c7ddp-2", + "0x1.716a133daa86bp-2", + "0x1.697f36cbabe34p-2", + "0x1.61632b35faebcp-2", + "0x1.58f854c2e67cep-2", + "0x1.502990ea2504dp-2", + "0x1.46ed3d29302d7p-2", + "0x1.3d46be3ecca8fp-2", + "0x1.33464fe8a1a5ap-2", + "0x1.29073b5e02160p-2", + "0x1.1eacde670a9a0p-2", + "0x1.145f18323c3a5p-2", + "0x1.0a46b33bc768ap-2", + "0x1.008a43465ddc9p-2", + "0x1.ee9777f2829a7p-3", + "0x1.dd4da40901daep-3", + "0x1.cd6024a8307e5p-3", + "0x1.bee90bf687b66p-3", + "0x1.b1f36a0fa7948p-3", + "0x1.a67bc3df993e6p-3", + "0x1.9c70cb28eb088p-3", + "0x1.93b448915a6c7p-3", + "0x1.8c1c466911dfdp-3", + "0x1.85749fa9629adp-3", + "0x1.7f811d515498ep-3", + "0x1.7a004129671d1p-3", + "0x1.74aebf67b223fp-3", + "0x1.6f4b7d02890f8p-3", + "0x1.699bb9298c3b4p-3", + "0x1.636ee4582612dp-3", + "0x1.5ca19d8013f48p-3", + "0x1.551f65def65f6p-3", + "0x1.4ce2d283b7dccp-3", + "0x1.43f44837a3fe0p-3", + "0x1.3a678eb9b6336p-3", + "0x1.3058b15df2d38p-3", + "0x1.25e8ad3c1b176p-3", + "0x1.1b3a5b5680c27p-3", + "0x1.106fe245bf03dp-3", + "0x1.05a8d3abde54ep-3", + "0x1.f601efc62f28ap-4", + "0x1.e11f664d958c1p-4", + "0x1.cccfc70bcf7aep-4", + "0x1.b930284a11926p-4", + "0x1.a655cb0de822ep-4", + "0x1.944f217d4047ep-4", + "0x1.8324e4be328b3p-4", + "0x1.72db20ba2c11fp-4", + "0x1.63722689fdbf8p-4", + "0x1.54e75e067b322p-4", + "0x1.4735f44943b31p-4", + "0x1.3a57684d979bdp-4", + "0x1.2e43f8dcd0226p-4", + "0x1.22f2f7f825fd7p-4", + "0x1.185b085b677c6p-4", + "0x1.0e7249c12abdfp-4", + "0x1.052e7868b956ap-4", + "0x1.f90a082af90eep-5", + "0x1.e8d644bcb7142p-5", + "0x1.d9abbf4f8f814p-5", + "0x1.cb74630fa47c3p-5", + "0x1.be1a1929002f4p-5", + "0x1.b186fd7662776p-5", + "0x1.a5a59c8d7bcb3p-5", + "0x1.9a61397a95b1bp-5", + "0x1.8fa617b633703p-5", + "0x1.8561c48868e3ep-5", + "0x1.7b835a5e444c0p-5", + "0x1.71fbb8adb70b8p-5", + "0x1.68bdabe2acebfp-5", + "0x1.5fbe024f8f36ep-5", + "0x1.56f38cfaa969ap-5", + "0x1.4e570d11004aep-5", + "0x1.45e31079e23b5p-5", + "0x1.3d93c14371c6fp-5", + "0x1.3566ac4a6abb2p-5", + "0x1.5251a12458ee9p-1", + "0x1.4fa04656de409p-1", + "0x1.4cc0676aa4bd6p-1", + "0x1.49b384af0053ep-1", + "0x1.467b866258386p-1", + "0x1.431a8a8b460e5p-1", + "0x1.3f929e7c3dc3bp-1", + "0x1.3be572de2e201p-1", + "0x1.2b24267479bdep-1", + "0x1.270e801ca5a77p-1", + "0x1.22d48eb3a4f6ap-1", + "0x1.1e762ebab877cp-1", + "0x1.19f3d00dfc4a3p-1", + "0x1.154f35af0e468p-1", + "0x1.108c1619ec919p-1", + "0x1.0bb069fae939ep-1", + "0x1.06c445d726265p-1", + "0x1.01d134b1cdf57p-1", + "0x1.f9b1cac069cc1p-2", + "0x1.efe85503807e4p-2", + "0x1.e647c7d63177fp-2", + "0x1.dcd729e0ac8c2p-2", + "0x1.d3949f86e3db9p-2", + "0x1.ca75086b8ab6cp-2", + "0x1.c164f405ea493p-2", + "0x1.b84ae69ded3fbp-2", + "0x1.af0ab8190fefbp-2", + "0x1.a589a522f3232p-2", + "0x1.9bb280e982be7p-2", + "0x1.91795e7d47db8p-2", + "0x1.86de12070126ep-2", + "0x1.7bed1952269b7p-2", + "0x1.70bec91789298p-2", + "0x1.6574f415719abp-2", + "0x1.5a378809156a3p-2", + "0x1.4f30beeec1f09p-2", + "0x1.44897b17b2484p-2", + "0x1.3a663c5dcabcdp-2", + "0x1.30e4e64f4c441p-2", + "0x1.281b5c9c97089p-2", + "0x1.2016d7f887147p-2", + "0x1.18dbc59158108p-2", + "0x1.126603d240b90p-2", + "0x1.0ca95acf6466bp-2", + "0x1.07921fb7ff6a7p-2", + "0x1.030603dc75147p-2", + "0x1.fdca3a5fa8088p-3", + "0x1.f61678dd36aa2p-3", + "0x1.eea343a11cb58p-3", + "0x1.e72226a7201fep-3", + "0x1.df48813becacbp-3", + "0x1.d6d489c722c74p-3", + "0x1.cd91fe24b9fcap-3", + "0x1.c35dda2c19885p-3", + "0x1.b8287e80e2ae9p-3", + "0x1.abf5ebb8f435dp-3", + "0x1.9edc0bf8e3ff9p-3", + "0x1.90ff5ea95b318p-3", + "0x1.828e9c9ef2f04p-3", + "0x1.73be060fedf5ap-3", + "0x1.64c2fd1ecd32ap-3", + "0x1.55d0630f02b19p-3", + "0x1.4713f53fcfbe8p-3", + "0x1.38b4b23cf572cp-3", + "0x1.2ad228cd8115ap-3", + "0x1.1d847df622d5ap-3", + "0x1.10dcf12831d1fp-3", + "0x1.04e6aa8c26861p-3", + "0x1.f34f530228e72p-4", + "0x1.de436a42a8cacp-4", + "0x1.caa676d735e67p-4", + "0x1.b87028d8f92f1p-4", + "0x1.a7944a51e99dbp-4", + "0x1.9803c4a3f3975p-4", + "0x1.89ad6ac8f31fdp-4", + "0x1.7c7e90814d0bdp-4", + "0x1.706377be51386p-4", + "0x1.65479dd2d8357p-4", + "0x1.5b15f1a26116dp-4", + "0x1.51b8fb63fe900p-4", + "0x1.491afdb730669p-4", + "0x1.412616c22d29fp-4", + "0x1.39c466d295484p-4", + "0x1.32e0407764023p-4", + "0x1.2c64644048217p-4", + "0x1.263c4845c5d19p-4", + "0x1.2054697600092p-4", + "0x1.1a9aa290dd44fp-4", + "0x1.14fe830854554p-4", + "0x1.0f719ee745541p-4", + "0x1.09e7d0acd108bp-4", + "0x1.045766cf1aa79p-4", + "0x1.fd72708ecc0d5p-5", + "0x1.f2113bcd6bf18p-5", + "0x1.e686a1bea4896p-5", + "0x1.dad2630121319p-5", + "0x1.cef7f668087acp-5", + "0x1.c2fdd8321287ap-5", + "0x1.b6ecce147e1cbp-5", + "0x1.aacf2cecfe904p-5", + "0x1.65e86bc33a5a8p-1", + "0x1.6410bd426d4e7p-1", + "0x1.6203ce56a47c2p-1", + "0x1.5fc2794ee35a6p-1", + "0x1.5d4e1eb5c5d46p-1", + "0x1.5aa8661525c29p-1", + "0x1.57d2e308dbf16p-1", + "0x1.54ceb07b173f8p-1", + "0x1.46a8623ead4ddp-1", + "0x1.432f04e9b39f1p-1", + "0x1.3f83ac20b03abp-1", + "0x1.3ba48f67629d1p-1", + "0x1.37906cb701221p-1", + "0x1.334782634a7a6p-1", + "0x1.2ecc70d1a77c8p-1", + "0x1.2a24c5b40f5abp-1", + "0x1.25590147d1888p-1", + "0x1.2074029aee8d5p-1", + "0x1.1b787838fc50bp-1", + "0x1.1681d6dd49aa9p-1", + "0x1.1195beaa26830p-1", + "0x1.0cbb74854a045p-1", + "0x1.07f5a6850552cp-1", + "0x1.0341ee3b04d11p-1", + "0x1.fd3219bb8563ap-2", + "0x1.f3dfc66025d2fp-2", + "0x1.ea721a46a1af9p-2", + "0x1.e0cddd9b83ba9p-2", + "0x1.d6dbd1aaabc8dp-2", + "0x1.cc8cb821cccd0p-2", + "0x1.c1dc4b9707f93p-2", + "0x1.b6d2a70f3d709p-2", + "0x1.ab83e6e999134p-2", + "0x1.a00e280e07036p-2", + "0x1.949657a3dc600p-2", + "0x1.89446ff221db9p-2", + "0x1.7e3fbe8ecf287p-2", + "0x1.73abac9bfdadep-2", + "0x1.69a54d2b30c93p-2", + "0x1.6041c279c0c76p-2", + "0x1.578d6544b2fccp-2", + "0x1.4f8b869f5c513p-2", + "0x1.4836a2c60bd15p-2", + "0x1.4180e5232791bp-2", + "0x1.3b54ed214cd8ap-2", + "0x1.3596d2fd28172p-2", + "0x1.30257721c9eb8p-2", + "0x1.2adc2a3d978e8p-2", + "0x1.2594b5e675a3bp-2", + "0x1.2029bce4daadap-2", + "0x1.1a795181b65f4p-2", + "0x1.14678562e8416p-2", + "0x1.0de0a263f3a79p-2", + "0x1.06dab7926b5f4p-2", + "0x1.feac6d4c83882p-3", + "0x1.eebb071c44e10p-3", + "0x1.de070f78e4f90p-3", + "0x1.ccc30f9877900p-3", + "0x1.bb292d98db11fp-3", + "0x1.a976107f47063p-3", + "0x1.97e4647026addp-3", + "0x1.86a967cd32eafp-3", + "0x1.75f2a946fb45dp-3", + "0x1.65e4e871dd220p-3", + "0x1.569be6d5314cap-3", + "0x1.482ae7ad2f2fep-3", + "0x1.3a9d9c94b19ebp-3", + "0x1.2df946ff92c9fp-3", + "0x1.223de44a20b9ap-3", + "0x1.1767482dac2bap-3", + "0x1.0d6e156b9f29bp-3", + "0x1.04488da0c31e2p-3", + "0x1.f7d66ef6a8f17p-4", + "0x1.e892bcf3b3604p-4", + "0x1.daaae303692fcp-4", + "0x1.ce028d2792044p-4", + "0x1.c27c943c17f48p-4", + "0x1.b7fb406520580p-4", + "0x1.ae607af117f1dp-4", + "0x1.a58dfa2367424p-4", + "0x1.9d656fe7f26d8p-4", + "0x1.95c8c2b0ffb05p-4", + "0x1.8e9a55a7b3083p-4", + "0x1.87bd62d8a71c8p-4", + "0x1.8116672b1f994p-4", + "0x1.7a8b9cdf5aa39p-4", + "0x1.74057e4d4ee0fp-4", + "0x1.6d6f480968b87p-4", + "0x1.66b76fdd5ef80p-4", + "0x1.5fd005893abc2p-4", + "0x1.58aef33f049d0p-4", + "0x1.514e164030e0fp-4", + "0x1.49ab2ba662267p-4", + "0x1.41c791aae2796p-4", + "0x1.39a7e206c2938p-4", + "0x1.31536d9f6a532p-4", + "0x1.28d3a41d11276p-4", + "0x1.203372fe8deafp-4", + "0x1.177ea744c8741p-4", + "0x1.0ec15b2a5e20ap-4", + "0x1.730a860b85e82p-1", + "0x1.71fb1f8f9e8dfp-1", + "0x1.70b4c5adfbf23p-1", + "0x1.6f37482e7cbf0p-1", + "0x1.6d82f1993eaedp-1", + "0x1.6b9841ecebffbp-1", + "0x1.69778fe590b0dp-1", + "0x1.6720a57950db0p-1", + "0x1.5b1834e6bff31p-1", + "0x1.5843010bace4ep-1", + "0x1.552f66c19d812p-1", + "0x1.51daa2f9d98f8p-1", + "0x1.4e42f2a63812cp-1", + "0x1.4a68b379e06adp-1", + "0x1.464f5f9072971p-1", + "0x1.41fe1ddc443b2p-1", + "0x1.3d7fb2ef68592p-1", + "0x1.38e1be83682b1p-1", + "0x1.341fd51c2f11fp-1", + "0x1.2f6b88f99da44p-1", + "0x1.2ac484f13a43fp-1", + "0x1.2633ccecb27ecp-1", + "0x1.21bcaee75275cp-1", + "0x1.1d5c176ee3f1fp-1", + "0x1.1908c046a0492p-1", + "0x1.14b43f8ae288bp-1", + "0x1.104ce0b7eeeacp-1", + "0x1.0bc01215aa242p-1", + "0x1.06fd13d16933bp-1", + "0x1.01f781cb231e1p-1", + "0x1.f9529d4614ca7p-2", + "0x1.ee27b74023209p-2", + "0x1.e28007496486dp-2", + "0x1.d67a499e939a3p-2", + "0x1.ca3ec98698087p-2", + "0x1.bdfb11faea467p-2", + "0x1.b1dd81c4dd40cp-2", + "0x1.a6115b8205cc8p-2", + "0x1.9abbaf00c42e6p-2", + "0x1.8ff93c3f9fc22p-2", + "0x1.85dd411bfe7cbp-2", + "0x1.7c71084f89aa9p-2", + "0x1.73b409cce13a2p-2", + "0x1.6b9c746854984p-2", + "0x1.6418082ed44b0p-2", + "0x1.5d0d398c69fbbp-2", + "0x1.565ca248ca21ap-2", + "0x1.4fe2ca8a2e634p-2", + "0x1.497a4f052ff7fp-2", + "0x1.42fe59cfdccfep-2", + "0x1.3c4d4b6fb6134p-2", + "0x1.354b57a7e4605p-2", + "0x1.2de4c61579454p-2", + "0x1.260f82e966611p-2", + "0x1.1dcbbd9696cdbp-2", + "0x1.1523789ae5a0ep-2", + "0x1.0c291d628e42bp-2", + "0x1.02f553b8847d7p-2", + "0x1.f348f0b7414b8p-3", + "0x1.e0a82719fe50bp-3", + "0x1.ce4140dd86eefp-3", + "0x1.bc47b1b63bc78p-3", + "0x1.aae73239864d8p-3", + "0x1.9a42a7c571d83p-3", + "0x1.8a73fa6a83318p-3", + "0x1.7b8c9709f1ea6p-3", + "0x1.6d965c2031f6ap-3", + "0x1.6094b9922dc1ep-3", + "0x1.5485d9c194bcdp-3", + "0x1.4963b83a38b50p-3", + "0x1.3f251645fabc6p-3", + "0x1.35be46cd359c8p-3", + "0x1.2d21d12c63e0cp-3", + "0x1.2540ee8fe2b3fp-3", + "0x1.1e0be78eea003p-3", + "0x1.177258b5efe8dp-3", + "0x1.116364e677f1dp-3", + "0x1.0bcddc335cf46p-3", + "0x1.06a05d59e7729p-3", + "0x1.01c9773d8f808p-3", + "0x1.fa6f9dc284fb1p-4", + "0x1.f1b49a6f7c51fp-4", + "0x1.e940ad8d79ee4p-4", + "0x1.e0f41afe63a3fp-4", + "0x1.d8b136ccf83f2p-4", + "0x1.d05d05b481081p-4", + "0x1.c7dfdf1af8bd0p-4", + "0x1.bf26043208083p-4", + "0x1.b6201eb8f3df1p-4", + "0x1.acc39a51ec9f5p-4", + "0x1.a30acdaf40750p-4", + "0x1.98f4ecdcdc421p-4", + "0x1.8e85c315ff288p-4", + "0x1.83c538297f76dp-4", + "0x1.78beaa89982e9p-4", + "0x1.6d802afeafa83p-4", + "0x1.6219a908acb49p-4", + "0x1.569c1f1d15bb1p-4", + "0x1.4b18cc51c6871p-4", + "0x1.3fa0861afda70p-4", + "0x1.7bd5facac50f0p-1", + "0x1.7b6fe70c9d279p-1", + "0x1.7ad42bbf816e8p-1", + "0x1.7a018a6bf4375p-1", + "0x1.78f73daa46e70p-1", + "0x1.77b4bddbfc8fep-1", + "0x1.76396e6370ed0p-1", + "0x1.748446df3a5f8p-1", + "0x1.6a301cc01218cp-1", + "0x1.67fe1a51e3a89p-1", + "0x1.65885075727d8p-1", + "0x1.62cc0ee342b4ap-1", + "0x1.5fc7ea201d5f2p-1", + "0x1.5c7cd335aa501p-1", + "0x1.58ef024f2ca95p-1", + "0x1.55266dbb363ebp-1", + "0x1.512e9995f4f1fp-1", + "0x1.4d15ae7b26291p-1", + "0x1.48d51ba060e3ap-1", + "0x1.44a4dee74dcc3p-1", + "0x1.407fa83e37039p-1", + "0x1.3c6c98cc99c8fp-1", + "0x1.386c4c03d86a0p-1", + "0x1.34783ec49f40cp-1", + "0x1.30832a7db60bap-1", + "0x1.2c7a5b6f2aba8p-1", + "0x1.2847e84f144e4p-1", + "0x1.23d58d95c99c5p-1", + "0x1.1f0fcc54ae0eep-1", + "0x1.19e8d4b79db42p-1", + "0x1.145ac1d3f3ccdp-1", + "0x1.0e68c5de0d623p-1", + "0x1.081f18ad7d34ap-1", + "0x1.0191b99180c74p-1", + "0x1.f5b49bfd447ebp-2", + "0x1.e82b1065cc90fp-2", + "0x1.dac1094c1f9f0p-2", + "0x1.cdacee8208dddp-2", + "0x1.c11dbb4c46159p-2", + "0x1.b5388ea4c7ae8p-2", + "0x1.aa1750e49bcbcp-2", + "0x1.9fc839b9e14a0p-2", + "0x1.964dfa23e41e2p-2", + "0x1.8da0581e31e01p-2", + "0x1.85ad1ca9b7c3bp-2", + "0x1.7e5949b8b780ep-2", + "0x1.77829e4c8c742p-2", + "0x1.7101775f32af3p-2", + "0x1.6aab18fe6a296p-2", + "0x1.64545b55453a4p-2", + "0x1.5dd49d6434426p-2", + "0x1.5708c0e5fdeb0p-2", + "0x1.4fd5d9e7151efp-2", + "0x1.482b3371c6991p-2", + "0x1.400358b695197p-2", + "0x1.3763f739e5c6cp-2", + "0x1.2e5ca1f65cc2ap-2", + "0x1.2504b0327df39p-2", + "0x1.1b78962b92c0bp-2", + "0x1.11d720f67d7e4p-2", + "0x1.083ef24c5d16dp-2", + "0x1.fd98f82377cb6p-3", + "0x1.eb3132113727dp-3", + "0x1.d96f8356b1832p-3", + "0x1.c8738e2847a61p-3", + "0x1.b853e6896f74fp-3", + "0x1.a91ed8b32be92p-3", + "0x1.9adb78579eabbp-3", + "0x1.8d8ac9435274dp-3", + "0x1.8128e06994a4dp-3", + "0x1.75ade95d0a6e2p-3", + "0x1.6b0f066808e84p-3", + "0x1.613f08c1c6ac1p-3", + "0x1.582f031fc1246p-3", + "0x1.4fcebbb0f36dbp-3", + "0x1.480d03fc03e33p-3", + "0x1.40d7fd98c5c84p-3", + "0x1.3a1d52a469d69p-3", + "0x1.33ca685223c44p-3", + "0x1.2dcc913193276p-3", + "0x1.281143b8d616bp-3", + "0x1.22865850f34dbp-3", + "0x1.1d1a508f83409p-3", + "0x1.17bca77807217p-3", + "0x1.125e28a97aa4dp-3", + "0x1.0cf14a6bc06c4p-3", + "0x1.076a84e0ab6f7p-3", + "0x1.01c09f73da74dp-3", + "0x1.f7d9da8c43000p-4", + "0x1.ebd6e3d5a694dp-4", + "0x1.df75d2cf5f7cdp-4", + "0x1.d2b961ba8fd94p-4", + "0x1.c5a920729bdd8p-4", + "0x1.b850d0c5ccd04p-4", + "0x1.aabf97eed87d2p-4", + "0x1.9d071509287bep-4", + "0x1.8f3a6debae714p-4", + "0x1.816d633b3d596p-4", + "0x1.73b37a0f705e4p-4", + "0x1.661f45cbe5c44p-4", + "0x1.81b682ea5049ap-1", + "0x1.81d9cec9e3faep-1", + "0x1.81cb3cab82392p-1", + "0x1.8188ef5f9e763p-1", + "0x1.81118ddd80712p-1", + "0x1.80640daf4ba2ep-1", + "0x1.7f7f621ff0cf6p-1", + "0x1.7e62228227136p-1", + "0x1.757717b8f92c4p-1", + "0x1.73e9447935bc2p-1", + "0x1.7217ab692dd76p-1", + "0x1.6ffeff53e2eedp-1", + "0x1.6d9d0b601bf72p-1", + "0x1.6af1c67a2cca2p-1", + "0x1.68003fec7a3f3p-1", + "0x1.64cf1d9451446p-1", + "0x1.616875b1d72f0p-1", + "0x1.5dd8f00415321p-1", + "0x1.5a20bd6121bb3p-1", + "0x1.5666f2951264ep-1", + "0x1.52ab6edfed3d3p-1", + "0x1.4ef3b0adb3217p-1", + "0x1.4b3ebf3cc7ec5p-1", + "0x1.4784a2ad20db3p-1", + "0x1.43b6da0b27551p-1", + "0x1.3fc1d65718921p-1", + "0x1.3b8f5d7091156p-1", + "0x1.370990a97f5b9p-1", + "0x1.321e2e2c0423dp-1", + "0x1.2cc18c5b4bcb8p-1", + "0x1.26f0ce20c517ap-1", + "0x1.20b2ed16e70f5p-1", + "0x1.1a186ee99cac9p-1", + "0x1.1339df3ca60c3p-1", + "0x1.0c3562806a911p-1", + "0x1.052bd7468fc24p-1", + "0x1.fc7bf8dce201fp-2", + "0x1.ef13f0eb2e9f5p-2", + "0x1.e252ed07610eep-2", + "0x1.d660ccf126727p-2", + "0x1.cb58a03f28122p-2", + "0x1.c14834ff21ed0p-2", + "0x1.b8304bdafe915p-2", + "0x1.b0053c9f080aep-2", + "0x1.a8afecf3ab50cp-2", + "0x1.a20f13904aaf3p-2", + "0x1.9bf8d5b03bedep-2", + "0x1.963cd618ec264p-2", + "0x1.90a6c8e5dcd33p-2", + "0x1.8b018c2379493p-2", + "0x1.851aa528c83f1p-2", + "0x1.7ec5dc86184b0p-2", + "0x1.77e091ab998c8p-2", + "0x1.70545129b233ep-2", + "0x1.68184631a006fp-2", + "0x1.5f314aacc3f0cp-2", + "0x1.55b096ee7fddbp-2", + "0x1.4bb150f08ea10p-2", + "0x1.415568cee6e9ep-2", + "0x1.36c241595c93ep-2", + "0x1.2c1d9753b535fp-2", + "0x1.218af8f87244bp-2", + "0x1.1729f65b97900p-2", + "0x1.0d150df79548ap-2", + "0x1.03613e0232670p-2", + "0x1.f43c2a1395b1ap-3", + "0x1.e2ac32013613cp-3", + "0x1.d21ebf89acaadp-3", + "0x1.c298779cc26cbp-3", + "0x1.b417d0694e067p-3", + "0x1.a6964e0b44533p-3", + "0x1.9a0996447d37ep-3", + "0x1.8e6456b662745p-3", + "0x1.8396ff17ae10fp-3", + "0x1.799054828be14p-3", + "0x1.703de4deefe55p-3", + "0x1.678c622959fabp-3", + "0x1.5f67ed4fbda21p-3", + "0x1.57bc57d7ae424p-3", + "0x1.5075629ea5d36p-3", + "0x1.497efed66d48ep-3", + "0x1.42c594e86bcb7p-3", + "0x1.3c36532dd7e07p-3", + "0x1.35bf84737b4b0p-3", + "0x1.2f50ec285ac40p-3", + "0x1.28dc240cac3d0p-3", + "0x1.2254f5792796cp-3", + "0x1.1bb1a72e492dap-3", + "0x1.14eb384aee6e8p-3", + "0x1.0dfd81be38d70p-3", + "0x1.06e73946c099dp-3", + "0x1.ff53a75964788p-4", + "0x1.f0928e05494e2p-4", + "0x1.e19761bf85e74p-4", + "0x1.d271ce6b1f59cp-4", + "0x1.c333f865b5cc9p-4", + "0x1.b3f17cb0d8f3ap-4", + "0x1.a4be7aeb6bbb5p-4", + "0x1.95aeb7c649810p-4", + "0x1.86d4e29c440fap-4", + "0x1.85a7f0b0c2a49p-1", + "0x1.8639433e42d29p-1", + "0x1.869e23c7babddp-1", + "0x1.86d45b21caa8bp-1", + "0x1.86da2a1c897c5p-1", + "0x1.86ae0f21bcf76p-1", + "0x1.864e6e069ebd2p-1", + "0x1.85b92d54c18ccp-1", + "0x1.7df515b00793cp-1", + "0x1.7cfc5f7e92293p-1", + "0x1.7bbf9383b7e87p-1", + "0x1.7a39dd97ee723p-1", + "0x1.786762f7f3f6dp-1", + "0x1.76466e0e9437bp-1", + "0x1.73d87907e8fe4p-1", + "0x1.7122cb2e4e8e7p-1", + "0x1.6e2e6df45089bp-1", + "0x1.6b0760d44bdcep-1", + "0x1.67b0470b75f1ap-1", + "0x1.64495465959aap-1", + "0x1.60d6ff7f1fdbdp-1", + "0x1.5d5fa8a413542p-1", + "0x1.59e368e117cc4p-1", + "0x1.565b72aa5553bp-1", + "0x1.52ba756d48ea0p-1", + "0x1.4eee0ca94e528p-1", + "0x1.4ae11d93c6204p-1", + "0x1.467edddfeb099p-1", + "0x1.41b618c0802dep-1", + "0x1.3c7c2ec71e015p-1", + "0x1.36cf4d29bef04p-1", + "0x1.30b7779335192p-1", + "0x1.2a4638fbf5157p-1", + "0x1.23951502020efp-1", + "0x1.1cc30f154f223p-1", + "0x1.15f1be521e54bp-1", + "0x1.0f426595e1ae0p-1", + "0x1.08d36cf0b6cbap-1", + "0x1.02be717084931p-1", + "0x1.fa2df14830271p-2", + "0x1.efd3700f52817p-2", + "0x1.e678a349ee0bdp-2", + "0x1.de1acad328070p-2", + "0x1.d6a9bc6c090d3p-2", + "0x1.d008dbc8b470dp-2", + "0x1.ca1070a97e269p-2", + "0x1.c48f6ef1c7fd1p-2", + "0x1.bf4dcd13a5649p-2", + "0x1.ba0f7dfad2738p-2", + "0x1.b4980b50e0f24p-2", + "0x1.aeaea6312c087p-2", + "0x1.a82257857dd23p-2", + "0x1.a0cdd3d3ea11dp-2", + "0x1.989a677c8f00fp-2", + "0x1.8f818316a303cp-2", + "0x1.858ca4246337cp-2", + "0x1.7ad3a051dae7dp-2", + "0x1.6f79a39290e30p-2", + "0x1.63a96618eb65bp-2", + "0x1.579131427eabbp-2", + "0x1.4b5f3a0035f35p-2", + "0x1.3f3eaeadfa9b6p-2", + "0x1.3355a526ed85ep-2", + "0x1.27c3e9cf82437p-2", + "0x1.1ca29159b7c8cp-2", + "0x1.12041f26db3aap-2", + "0x1.07f50f00653bbp-2", + "0x1.fcf92c4e4a6cdp-3", + "0x1.eb3af24cca8b9p-3", + "0x1.daadbc6102111p-3", + "0x1.cb4a1a29311fbp-3", + "0x1.bd042a7252b23p-3", + "0x1.afccaea150c10p-3", + "0x1.a391e7e8e8523p-3", + "0x1.984044bdcdb0fp-3", + "0x1.8dc2e70decbe0p-3", + "0x1.84040c79f32a0p-3", + "0x1.7aed61af3720ap-3", + "0x1.726849541179dp-3", + "0x1.6a5e1dedfe6e9p-3", + "0x1.62b874d1d8ccep-3", + "0x1.5b61668fd5dd0p-3", + "0x1.5443df68545fap-3", + "0x1.4d4bf835744c9p-3", + "0x1.466755f0f7d84p-3", + "0x1.3f858bc3b3205p-3", + "0x1.3898799ca8e1ap-3", + "0x1.31949ff5f81afp-3", + "0x1.2a7160f5809e8p-3", + "0x1.232927b0cc2f2p-3", + "0x1.1bb970111951cp-3", + "0x1.1422ac7bc62d2p-3", + "0x1.0c6809a124e3cp-3", + "0x1.048f14297e811p-3", + "0x1.f93e8dbd2b6e4p-4", + "0x1.e94313eabf14dp-4", + "0x1.d93f59f728e8ep-4", + "0x1.c947c9390fda6p-4", + "0x1.b970a83863025p-4", + "0x1.a9cd50c1d4206p-4", + "0x1.884e918c059d9p-1", + "0x1.893540d789d0dp-1", + "0x1.89f4ebce2e9b3p-1", + "0x1.8a8b00728814cp-1", + "0x1.8af547387d68ap-1", + "0x1.8b31a70be14d7p-1", + "0x1.8b3dcd1e482d9p-1", + "0x1.8b16cc76db7b4p-1", + "0x1.843604b1ceb3ep-1", + "0x1.83b5cb030ee84p-1", + "0x1.82f0f4c912eb1p-1", + "0x1.81e1ad76246d3p-1", + "0x1.80833edf3834bp-1", + "0x1.7ed352a8d3600p-1", + "0x1.7cd31014a6eafp-1", + "0x1.7a87c6b946c18p-1", + "0x1.77fae7f42c407p-1", + "0x1.753934503512bp-1", + "0x1.723dc8de9764ep-1", + "0x1.6f39b08ae28cap-1", + "0x1.6c2be30fe2ee1p-1", + "0x1.691bfffdbb630p-1", + "0x1.660b17b6ba226p-1", + "0x1.62f2e95fe3b4cp-1", + "0x1.5fc62cb9175cep-1", + "0x1.5c71f3fd9f3edp-1", + "0x1.58e00b996bf25p-1", + "0x1.54fa13ae0ed88p-1", + "0x1.50ace7ad0af4bp-1", + "0x1.4bebcd0d281eep-1", + "0x1.46b2df460ac18p-1", + "0x1.41084c15dcd01p-1", + "0x1.3afc2c6f78ffbp-1", + "0x1.34a70d6667fc3p-1", + "0x1.2e277bba86ba8p-1", + "0x1.279f09f39a804p-1", + "0x1.212f4cb8317e7p-1", + "0x1.1af730371228cp-1", + "0x1.1510e16a08142p-1", + "0x1.0f905d5c29fcbp-1", + "0x1.0a829a0136470p-1", + "0x1.05ed2beede151p-1", + "0x1.01ce499509d30p-1", + "0x1.fc3a273bd94c7p-2", + "0x1.f5942c775d887p-2", + "0x1.ef8007df3b66ep-2", + "0x1.e9c968083b23ap-2", + "0x1.e434e4e8e21f2p-2", + "0x1.de8354426e344p-2", + "0x1.d875c87fde4ccp-2", + "0x1.d1d205416a46cp-2", + "0x1.ca6704ee389bfp-2", + "0x1.c211048868ddfp-2", + "0x1.b8bc7eec48dc6p-2", + "0x1.ae679982b5118p-2", + "0x1.a321c15d93e0bp-2", + "0x1.97098a04c1bb1p-2", + "0x1.8a492f1fa7590p-2", + "0x1.7d12506b5d266p-2", + "0x1.6f998ee6ff5dbp-2", + "0x1.62129bedff6cfp-2", + "0x1.54ad1bcec7314p-2", + "0x1.4792868a6af84p-2", + "0x1.3ae5018cb13c7p-2", + "0x1.2ebf0c98c082ap-2", + "0x1.2333cc6db5dd3p-2", + "0x1.184fbbbdd18d5p-2", + "0x1.0e19920c755b8p-2", + "0x1.04933b22d9310p-2", + "0x1.f7758b0cd6a92p-3", + "0x1.e71671507c50ep-3", + "0x1.d7fa970e5341ep-3", + "0x1.ca0ff447db300p-3", + "0x1.bd41f78c0291ap-3", + "0x1.b17a3c46f93d3p-3", + "0x1.a6a114fb1d53fp-3", + "0x1.9c9df41b6afb8p-3", + "0x1.9357bdf668881p-3", + "0x1.8ab50d4e589e0p-3", + "0x1.829c730d9d4a1p-3", + "0x1.7af4b80d13cf0p-3", + "0x1.73a5261e681dfp-3", + "0x1.6c95db7b49438p-3", + "0x1.65b02961b9102p-3", + "0x1.5edefc1d03efbp-3", + "0x1.580f4831777e3p-3", + "0x1.5130761d164e6p-3", + "0x1.4a34c476bf42dp-3", + "0x1.4311977c0b4dbp-3", + "0x1.3bbfad92f62eep-3", + "0x1.343b31faa2aeap-3", + "0x1.2c83a9b8af556p-3", + "0x1.249bba5f9a3fcp-3", + "0x1.1c88ce0d41a8bp-3", + "0x1.14529b5f04678p-3", + "0x1.0c029a8edb1fcp-3", + "0x1.03a372251f030p-3", + "0x1.f680cb1fb532dp-4", + "0x1.e5c99d54edcbap-4", + "0x1.d537524a26181p-4", + "0x1.8a12271d54d2ep-1", + "0x1.8b388361a12f3p-1", + "0x1.8c3cb8e864589p-1", + "0x1.8d1c0208facc4p-1", + "0x1.8dd3e465f1765p-1", + "0x1.8e61f989a793bp-1", + "0x1.8ec39c5f6300ep-1", + "0x1.8ef58eef47a28p-1", + "0x1.88c51bf61daa5p-1", + "0x1.88aadef505387p-1", + "0x1.884eed0d218fdp-1", + "0x1.87ab5783dcaabp-1", + "0x1.86bb66d26e85dp-1", + "0x1.857cdcc486979p-1", + "0x1.83f110960362dp-1", + "0x1.821d94d259687p-1", + "0x1.800c2805befccp-1", + "0x1.7dc9d4fffc8e7p-1", + "0x1.7b4d61a7d749bp-1", + "0x1.78d2322d6f464p-1", + "0x1.7651c01f51298p-1", + "0x1.73d31b2939eafp-1", + "0x1.71564f7179963p-1", + "0x1.6ed395710f873p-1", + "0x1.6c3b98e71104dp-1", + "0x1.6978e6c524c6dp-1", + "0x1.66726a446255ap-1", + "0x1.630eb4f98a11dp-1", + "0x1.5f37a28f495acp-1", + "0x1.5addc9e234e8bp-1", + "0x1.55fb27b2146b7p-1", + "0x1.50948b6dc3559p-1", + "0x1.4ab98a28098ccp-1", + "0x1.4483072c9b923p-1", + "0x1.3e10a653a6d8dp-1", + "0x1.3785a616e20bfp-1", + "0x1.3105a5b67a8e6p-1", + "0x1.2ab1c314b3c23p-1", + "0x1.24a65226ce553p-1", + "0x1.1ef94496da200p-1", + "0x1.19b936f2fc2a4p-1", + "0x1.14ed06895497cp-1", + "0x1.1093cf349a74fp-1", + "0x1.0ca53703077f9p-1", + "0x1.0911f9d6bddf6p-1", + "0x1.05c4b430b3db0p-1", + "0x1.02a2f641e9b5cp-1", + "0x1.ff1d57c615aa6p-2", + "0x1.f8cfc1d8b8b83p-2", + "0x1.f21db5dd5f300p-2", + "0x1.eaccd6c50594ep-2", + "0x1.e2ac8a27eecfcp-2", + "0x1.d99a194ebfe43p-2", + "0x1.cf83adbfd0240p-2", + "0x1.c469aa7e7b2a1p-2", + "0x1.b85e23ba0f7f2p-2", + "0x1.ab828c39ab933p-2", + "0x1.9e04019c2ba5ap-2", + "0x1.9016d6c94a986p-2", + "0x1.81f209b1470a0p-2", + "0x1.73cb38830f8dap-2", + "0x1.65d3786facfb7p-2", + "0x1.583536e005f5cp-2", + "0x1.4b131cca971e2p-2", + "0x1.3e87cadef1fabp-2", + "0x1.32a635d5e44a9p-2", + "0x1.277a6903349e8p-2", + "0x1.1d0a7d1288d8ep-2", + "0x1.13579cb484b79p-2", + "0x1.0a5efd51d6165p-2", + "0x1.021abc8d342aep-2", + "0x1.f505373bdb3c0p-3", + "0x1.e7192ea4c2cccp-3", + "0x1.da5abe6aec9b8p-3", + "0x1.ceb160ce2186dp-3", + "0x1.c40333651cfdep-3", + "0x1.ba355d66e032fp-3", + "0x1.b12c5f5b9efebp-3", + "0x1.a8cc56a1e6249p-3", + "0x1.a0f93df6bc77dp-3", + "0x1.9997329e8cb25p-3", + "0x1.928ac3e488ad1p-3", + "0x1.8bb9506051997p-3", + "0x1.850971d1d8657p-3", + "0x1.7e637582cd04ep-3", + "0x1.77b1dc30d8c49p-3", + "0x1.70e1d9dd7f24ep-3", + "0x1.69e3cbe3ef939p-3", + "0x1.62ab9ac6fc1fcp-3", + "0x1.5b30fd966ee5fp-3", + "0x1.536f96aed4694p-3", + "0x1.4b66e4cb551cdp-3", + "0x1.431a077c6de67p-3", + "0x1.3a8f5a7b0aa4bp-3", + "0x1.31cfef4d4cabcp-3", + "0x1.28e6efac4725ep-3", + "0x1.1fe0f4a8d3dfcp-3", + "0x1.16cb5e9286060p-3", + "0x1.0db3b8481ab1ap-3", + "0x1.04a72e3c98c6cp-3", + "0x1.8b3f553fa5de7p-1", + "0x1.8c95bcd8e8b5ep-1", + "0x1.8dcec193d9e22p-1", + "0x1.8ee7b860088b2p-1", + "0x1.8fde3e79a85b6p-1", + "0x1.90b003283fd62p-1", + "0x1.915a75283825ap-1", + "0x1.91da66b02cbb2p-1", + "0x1.8c3d3fec71fb8p-1", + "0x1.8c81f3e22728cp-1", + "0x1.8c8a6614fc091p-1", + "0x1.8c50749a5bef2p-1", + "0x1.8bcf16246eb65p-1", + "0x1.8b0399baebf98p-1", + "0x1.89eec301d506bp-1", + "0x1.88957254efd69p-1", + "0x1.8700989d0a5f6p-1", + "0x1.853c5a17a97c5p-1", + "0x1.83461f5546e6dp-1", + "0x1.814a96f11ae03p-1", + "0x1.7f47f54197ad6p-1", + "0x1.7d43dc6a5e5edp-1", + "0x1.7b3cbfbbdc011p-1", + "0x1.792913f9a1daap-1", + "0x1.76f79f00bddf2p-1", + "0x1.7490f91174876p-1", + "0x1.71da2874119f9p-1", + "0x1.6eb8113fbb8d4p-1", + "0x1.6b13450b00c62p-1", + "0x1.66db9d2dc9febp-1", + "0x1.620b03fac7880p-1", + "0x1.5ca6eef80b8eap-1", + "0x1.56c04ade742ffp-1", + "0x1.5071e9c77382fp-1", + "0x1.49ddcc79a2101p-1", + "0x1.4329cc06943e8p-1", + "0x1.3c7c2f898a906p-1", + "0x1.35f89fb7363c9p-1", + "0x1.2fbdbdb03f3e9p-1", + "0x1.29e374b7166dcp-1", + "0x1.2479fb2da6336p-1", + "0x1.1f8963dfff39ap-1", + "0x1.1b119c7695ed8p-1", + "0x1.170abcddaf72ep-1", + "0x1.1365984e0822bp-1", + "0x1.100c8e7ea2678p-1", + "0x1.0ce4a6301ffd1p-1", + "0x1.09cefe5473e66p-1", + "0x1.06aa9e30f56c4p-1", + "0x1.03569e3f11e2ep-1", + "0x1.ff691a35b2871p-2", + "0x1.f755b5419b4c1p-2", + "0x1.ee4dfee05097ep-2", + "0x1.e43e220009055p-2", + "0x1.d925001b7f815p-2", + "0x1.cd13bf9e2dc33p-2", + "0x1.c02b803f5c672p-2", + "0x1.b2999e5a19e86p-2", + "0x1.a49327472c3fcp-2", + "0x1.96503060574aep-2", + "0x1.8807aa051b41ep-2", + "0x1.79ec1561b2a28p-2", + "0x1.6c29493b0f63ep-2", + "0x1.5ee33f3a9bfe1p-2", + "0x1.5235c0d448058p-2", + "0x1.4634ba76e665fp-2", + "0x1.3aecf9f478ca7p-2", + "0x1.306524ae307d3p-2", + "0x1.269ebe005af23p-2", + "0x1.1d9722f4eefd4p-2", + "0x1.15486b3dd90c2p-2", + "0x1.0daa27fe1cf67p-2", + "0x1.06b1feeabc011p-2", + "0x1.005424285e17fp-2", + "0x1.f5076f094fc9bp-3", + "0x1.ea661580c11bfp-3", + "0x1.e0a7adef4663ep-3", + "0x1.d7aece2d23e5fp-3", + "0x1.cf5d79bce9eefp-3", + "0x1.c7956abaf3939p-3", + "0x1.c03861cee9098p-3", + "0x1.b9288329f2563p-3", + "0x1.b248c418248bep-3", + "0x1.ab7d69bad8764p-3", + "0x1.a4ac9642696e1p-3", + "0x1.9dbedeaf33681p-3", + "0x1.969fe0226c762p-3", + "0x1.8f3ec98bdd215p-3", + "0x1.878ecd7dced81p-3", + "0x1.7f87707cb4f99p-3", + "0x1.7724aa5b1cd61p-3", + "0x1.6e66d4ef07fd5p-3", + "0x1.6552673098c1cp-3", + "0x1.5bef80e4dfcddp-3", + "0x1.52494f8f21a4cp-3", + "0x1.486d58cae5081p-3", + "0x1.3e6ab7f3a54e8p-3", + "0x1.34515cfa41b8ap-3", + "0x1.2a3158ad9be11p-3", + "0x1.201a3ffb4988cp-3", + "0x1.8c0c8a8662a6fp-1", + "0x1.8d87dcb262e30p-1", + "0x1.8eea432a34093p-1", + "0x1.903145beb61fdp-1", + "0x1.915aa917a0674p-1", + "0x1.9264349d39124p-1", + "0x1.934b5b5a6f6fbp-1", + "0x1.940cdb0a38055p-1", + "0x1.8ee71bf32ba2dp-1", + "0x1.8f7bdc4bb61b1p-1", + "0x1.8fd872658e23bp-1", + "0x1.8ff612059029bp-1", + "0x1.8fcee4abcd8ebp-1", + "0x1.8f5f511a6cb63p-1", + "0x1.8ea7229e3d395p-1", + "0x1.8daa3df0b1340p-1", + "0x1.8c70a198ff0a4p-1", + "0x1.8b0592ef18b78p-1", + "0x1.896ba60e72d62p-1", + "0x1.87c26c524d911p-1", + "0x1.860dc948dc94ap-1", + "0x1.8452e54e6dc29p-1", + "0x1.828fc8efbf109p-1", + "0x1.80ba8887bae6ep-1", + "0x1.7ec1935aca766p-1", + "0x1.7c8d39b74905dp-1", + "0x1.7a0252d5d15f5p-1", + "0x1.7705bad8f22e6p-1", + "0x1.738032057e320p-1", + "0x1.6f6204655c0d3p-1", + "0x1.6aa5daceaa4dbp-1", + "0x1.655234e155ae4p-1", + "0x1.5f794bfb19cf7p-1", + "0x1.593770a5d7e9cp-1", + "0x1.52b03e0c84d03p-1", + "0x1.4c0b2beeff979p-1", + "0x1.45700de5790f1p-1", + "0x1.3f03f3aeab986p-1", + "0x1.38e6b0ca86f6ap-1", + "0x1.333122b9f5a34p-1", + "0x1.2df4294e33fc3p-1", + "0x1.293830dba5ab3p-1", + "0x1.24fd2a31e93c5p-1", + "0x1.213ad3b9f61e3p-1", + "0x1.1de144b8fdef4p-1", + "0x1.1ad9ba643a4fcp-1", + "0x1.1807b1d7b6fbbp-1", + "0x1.154a5e8ec2d95p-1", + "0x1.127e8817cdc6ep-1", + "0x1.0f80ca76762aap-1", + "0x1.0c301cc0b2eacp-1", + "0x1.087066446edc1p-1", + "0x1.042cd4514b8dfp-1", + "0x1.feb335d93bf65p-2", + "0x1.f3e9af4d1d3bep-2", + "0x1.e80cdead35414p-2", + "0x1.db3ddb69842e9p-2", + "0x1.cdab3684b8015p-2", + "0x1.bf8c3b0bd5d2fp-2", + "0x1.b11bff0aa4f66p-2", + "0x1.a294e9e4a6813p-2", + "0x1.942d2122f94ffp-2", + "0x1.86140f5412bbbp-2", + "0x1.7871024dcf141p-2", + "0x1.6b62b89fa4ba2p-2", + "0x1.5effa35cbc8c2p-2", + "0x1.53569e6afcc3fp-2", + "0x1.486fe8c3ff713p-2", + "0x1.3e4e323b0ace0p-2", + "0x1.34efa16a1f855p-2", + "0x1.2c4ec000f2babp-2", + "0x1.246344cd92423p-2", + "0x1.1d22b9574db32p-2", + "0x1.1680fd22a5900p-2", + "0x1.1070ab35989edp-2", + "0x1.0ae367b972bbcp-2", + "0x1.05ca1c0c94004p-2", + "0x1.01152786bdbbcp-2", + "0x1.f969159649da6p-3", + "0x1.f13025b5ff1e9p-3", + "0x1.e95f106e7e9e7p-3", + "0x1.e1d5ca7c03730p-3", + "0x1.da752b19c393dp-3", + "0x1.d31f7d2268c12p-3", + "0x1.cbb91f497d49ep-3", + "0x1.c4292c89ed795p-3", + "0x1.bc5a22a41aabcp-3", + "0x1.b43a7a255615bp-3", + "0x1.abbd2272d03a5p-3", + "0x1.a2d9d5118fdfbp-3", + "0x1.998d360186d24p-3", + "0x1.8fd8bb43a96a7p-3", + "0x1.85c25afc2d905p-3", + "0x1.7b5405459177ep-3", + "0x1.709af3d45682cp-3", + "0x1.65a6dd38c299fp-3", + "0x1.5a891b5d31ab6p-3", + "0x1.4f53d4b4b30b1p-3", + "0x1.441935a3506d7p-3", + "0x1.38eac4801afe5p-3", + "0x1.8c95b406abafep-1", + "0x1.8e2bbdbdd4d47p-1", + "0x1.8fac5471fcbd8p-1", + "0x1.91151c6890b57p-1", + "0x1.9263e6b4c07eap-1", + "0x1.939674f3c2cadp-1", + "0x1.94aa20b65ccb2p-1", + "0x1.959b79fe467c6p-1", + "0x1.90cb9cac9173bp-1", + "0x1.919a0312e506fp-1", + "0x1.9232c1664d834p-1", + "0x1.928e9787641bfp-1", + "0x1.92a738f34e793p-1", + "0x1.92789d4a3fe8cp-1", + "0x1.92023120c5670p-1", + "0x1.914793b13ddabp-1", + "0x1.90509de8e565ep-1", + "0x1.8f2892b094f9bp-1", + "0x1.8dcbe28533f41p-1", + "0x1.8c6565fe5ca6ap-1", + "0x1.8af492b7bc068p-1", + "0x1.897ef9641ff5bp-1", + "0x1.880304ea87e29p-1", + "0x1.867718754adb7p-1", + "0x1.84c9d352a2213p-1", + "0x1.82e38fd26fe31p-1", + "0x1.80a907308431cp-1", + "0x1.7dfed3ae6ab3ap-1", + "0x1.7acd59dd99917p-1", + "0x1.77047f20f6568p-1", + "0x1.729e8c25f84bdp-1", + "0x1.6da1b7f6b3e93p-1", + "0x1.6820189c8a1aep-1", + "0x1.6236086dd6a05p-1", + "0x1.5c075a50569d9p-1", + "0x1.55bbe575c62e6p-1", + "0x1.4f7bf8836cf19p-1", + "0x1.496d29960a6ecp-1", + "0x1.43afcb2c31ea1p-1", + "0x1.3e5d1ece4c289p-1", + "0x1.398639f3dfb40p-1", + "0x1.35337dbdcf5c2p-1", + "0x1.31647e152efbap-1", + "0x1.2e103c6e246f7p-1", + "0x1.2b25a87812160p-1", + "0x1.288c6838ab3f2p-1", + "0x1.2625f4e51186ep-1", + "0x1.23cf1e700748dp-1", + "0x1.2162025a37b47p-1", + "0x1.1eb871b7ddb8dp-1", + "0x1.1baea85ac6be1p-1", + "0x1.18261937c2a46p-1", + "0x1.1407fb8266896p-1", + "0x1.0f473abf86b76p-1", + "0x1.09e179577bd17p-1", + "0x1.03def90db9381p-1", + "0x1.faa2dd744328cp-2", + "0x1.eca3f0a2948f1p-2", + "0x1.ddfd1e7d96162p-2", + "0x1.ceeeb9672b1ecp-2", + "0x1.bfb893c2f0b4ep-2", + "0x1.b0961501555d9p-2", + "0x1.a1bb7dab67d53p-2", + "0x1.935459c33ac60p-2", + "0x1.8582f7937b025p-2", + "0x1.7860a42918b3cp-2", + "0x1.6bfe6adfee04ep-2", + "0x1.60661cd6d8056p-2", + "0x1.559b7205cf8f3p-2", + "0x1.4b9d23b7c1056p-2", + "0x1.4265ecb58aeb9p-2", + "0x1.39ed6559a1f02p-2", + "0x1.3228b8e11eafdp-2", + "0x1.2b0b35fa91cbdp-2", + "0x1.2486bf59daa4ap-2", + "0x1.1e8c22867f446p-2", + "0x1.190b5ba26b001p-2", + "0x1.13f3ccdb4360ep-2", + "0x1.0f346fcafb2d5p-2", + "0x1.0abc0655cd715p-2", + "0x1.06794f9b97001p-2", + "0x1.025b4456d1681p-2", + "0x1.fca2b90440817p-3", + "0x1.f497bcb8b648ep-3", + "0x1.ec7869ee4d999p-3", + "0x1.e42a951ac4aadp-3", + "0x1.db97c24de6fa5p-3", + "0x1.d2adc5a846b71p-3", + "0x1.c95f449ea57f4p-3", + "0x1.bfa40a9258823p-3", + "0x1.b579262e75606p-3", + "0x1.aae0c99d4ef42p-3", + "0x1.9fe1ed6db9ba5p-3", + "0x1.9487bc05aebb7p-3", + "0x1.88e0d0d5ea87ep-3", + "0x1.7cfe5a5702c9ap-3", + "0x1.70f32fa966fb5p-3", + "0x1.64d2ea6207673p-3", + "0x1.58b112e28e531p-3", + "0x1.4ca06a238379fp-3", + "0x1.8cee37e228473p-1", + "0x1.8e96d54810a31p-1", + "0x1.902ca6db62a00p-1", + "0x1.91ad757b3674ep-1", + "0x1.931731a3291dep-1", + "0x1.9467b7c0fd222p-1", + "0x1.959c789f987c6p-1", + "0x1.96b21924b54a9p-1", + "0x1.922286e583d8ap-1", + "0x1.931f0623f67b9p-1", + "0x1.93e98835e1b46p-1", + "0x1.947ae5fda7325p-1", + "0x1.94ccf04c4a77bp-1", + "0x1.94dbc1ed74e6bp-1", + "0x1.94a6f1e0915b9p-1", + "0x1.943251ec25e11p-1", + "0x1.9385f56e1e878p-1", + "0x1.92ad5f9a590d2p-1", + "0x1.919ee8bf4dfb7p-1", + "0x1.9092983e7cd19p-1", + "0x1.8f81bda8e1f9bp-1", + "0x1.8e71ff8261341p-1", + "0x1.8d61b1c54cbb9p-1", + "0x1.8c46e628062b4p-1", + "0x1.8b0fa51b70a3fp-1", + "0x1.89a36759e1155p-1", + "0x1.87e5bc9c47719p-1", + "0x1.85b9da4c958d2p-1", + "0x1.83069b5a27202p-1", + "0x1.7fba55433ed49p-1", + "0x1.7bcddd05ff7a7p-1", + "0x1.77463322b9b35p-1", + "0x1.72348e0bbe1afp-1", + "0x1.6cb4cdcc3cc99p-1", + "0x1.66eab13696e34p-1", + "0x1.60fe55c5cf849p-1", + "0x1.5b1894e3f3cb1p-1", + "0x1.555fb7e04b3aep-1", + "0x1.4ff4ce8237376p-1", + "0x1.4af1c43ca1934p-1", + "0x1.46682aaca517fp-1", + "0x1.42609b3f7ebc1p-1", + "0x1.3eda8d4500ca1p-1", + "0x1.3bcc853c1a6fcp-1", + "0x1.3924905b824afp-1", + "0x1.36c90edc32f8dp-1", + "0x1.3499db98a1b50p-1", + "0x1.3271e41729d8ep-1", + "0x1.30293dfc7b901p-1", + "0x1.2d97b4f1309ffp-1", + "0x1.2a97b01e8b7a2p-1", + "0x1.27092e84da01ap-1", + "0x1.22d47f429e73dp-1", + "0x1.1dec514425914p-1", + "0x1.184ec453984bfp-1", + "0x1.12054c2119868p-1", + "0x1.0b236b76488b0p-1", + "0x1.03c482f4bf822p-1", + "0x1.f812280dc239ep-2", + "0x1.e827c9c945bb9p-2", + "0x1.d80ecbbb15f34p-2", + "0x1.c80734c951d82p-2", + "0x1.b849499c52690p-2", + "0x1.a903e81fee0bep-2", + "0x1.9a5bf9add9bd4p-2", + "0x1.8c6cb857ea27bp-2", + "0x1.7f487fdcb439bp-2", + "0x1.72f9eae458867p-2", + "0x1.67850b08c3e6cp-2", + "0x1.5ce8993d36e54p-2", + "0x1.531f099b06573p-2", + "0x1.4a1f78351f636p-2", + "0x1.41de6c2ce12a9p-2", + "0x1.3a4e733c8f4bdp-2", + "0x1.33609addf4b2dp-2", + "0x1.2d04cdb569015p-2", + "0x1.272a1c758d749p-2", + "0x1.21bef95e8f2c9p-2", + "0x1.1cb16d02b2785p-2", + "0x1.17ef4a3458c64p-2", + "0x1.136665f7ccf5ap-2", + "0x1.0f04d7036f110p-2", + "0x1.0ab93ec16c3e2p-2", + "0x1.06731bed74b78p-2", + "0x1.022324e4dde83p-2", + "0x1.fb774b743248fp-3", + "0x1.f261b8a4099e5p-3", + "0x1.e8f29715343c3p-3", + "0x1.df1bfbda09edbp-3", + "0x1.d4d561d7795a3p-3", + "0x1.ca1bc66a63c1bp-3", + "0x1.bef1862540325p-3", + "0x1.b35df99ce373ep-3", + "0x1.a76cd88445b66p-3", + "0x1.9b2d6ee461dc5p-3", + "0x1.8eb1b4354ce74p-3", + "0x1.820d55f93b555p-3", + "0x1.7554c71cd14d8p-3", + "0x1.689c6313f4140p-3", + "0x1.5bf7b003fb1fep-3", + "0x1.8d2b4d636a8c9p-1", + "0x1.8ee234cd38606p-1", + "0x1.9088ca997e7bfp-1", + "0x1.921d1d49f4a27p-1", + "0x1.939d65cb8852cp-1", + "0x1.9507cb397290fp-1", + "0x1.965a0a44d7f91p-1", + "0x1.9791135e14ea0p-1", + "0x1.933b6089031b0p-1", + "0x1.9465199e28609p-1", + "0x1.9561dbdb8dcd3p-1", + "0x1.962ab1ffcf499p-1", + "0x1.96b98fa3b1866p-1", + "0x1.970aa1a68cfa9p-1", + "0x1.971d7ffb4d23fp-1", + "0x1.96f5ecd78aa33p-1", + "0x1.969bdc9444e24p-1", + "0x1.961aa48e55570p-1", + "0x1.956e84932ced8p-1", + "0x1.94c4728041cf1p-1", + "0x1.941a113b0d8e8p-1", + "0x1.93747a8708451p-1", + "0x1.92d14b3567ef2p-1", + "0x1.9225ab2da1db7p-1", + "0x1.915e81c2b9ab1p-1", + "0x1.9061f0d9f5e95p-1", + "0x1.8f120599c81aep-1", + "0x1.8d505a52e80dap-1", + "0x1.8b0231bd767dep-1", + "0x1.88146c6eae4d6p-1", + "0x1.847eae49dd60fp-1", + "0x1.80452572095d7p-1", + "0x1.7b78a5300014cp-1", + "0x1.76351cbbc3c77p-1", + "0x1.709ec21c28b27p-1", + "0x1.6ade7cb67c7d6p-1", + "0x1.651e264ec11fcp-1", + "0x1.5f85203c2d924p-1", + "0x1.5a358c97dcbb0p-1", + "0x1.554a4a0e79be3p-1", + "0x1.50d5aa5c6eeb9p-1", + "0x1.4ce0c5adbbb24p-1", + "0x1.496b47f490695p-1", + "0x1.466b9caeed5fep-1", + "0x1.43cf6befc62dep-1", + "0x1.417c6b489511cp-1", + "0x1.3f51916eaa606p-1", + "0x1.3d28bfecb0266p-1", + "0x1.3ad8efaa45ec2p-1", + "0x1.3838da4fcdc16p-1", + "0x1.3521fd8ba2fecp-1", + "0x1.3173b4423b9b7p-1", + "0x1.2d1606d2675a5p-1", + "0x1.27fbca0ae73d8p-1", + "0x1.2223b3fd9c677p-1", + "0x1.1b9836629dfebp-1", + "0x1.146e261cb36acp-1", + "0x1.0cc26e94e8fd6p-1", + "0x1.04b7360735deap-1", + "0x1.f8e1c8307a2b4p-2", + "0x1.e826dcd8a3522p-2", + "0x1.d7805f97877b7p-2", + "0x1.c728d29cc2a42p-2", + "0x1.b750d869ce504p-2", + "0x1.a81ea8b9d5e5cp-2", + "0x1.99ae5fc65232ap-2", + "0x1.8c12dd51b5147p-2", + "0x1.7f56f1886391bp-2", + "0x1.737ea4651b55ap-2", + "0x1.68887404ef2c9p-2", + "0x1.5e6e7457f2d06p-2", + "0x1.5527459fa2fa1p-2", + "0x1.4ca6df09fe3cbp-2", + "0x1.44df2fda963d1p-2", + "0x1.3dc09c99abb4bp-2", + "0x1.373a5f4a5a6a2p-2", + "0x1.313ad23486390p-2", + "0x1.2bafacb8f268dp-2", + "0x1.26863925cd286p-2", + "0x1.21ab89b3c09c1p-2", + "0x1.1d0cb1bf6df80p-2", + "0x1.189706f71b128p-2", + "0x1.14386c8dceb6cp-2", + "0x1.0fdfa89a3e5b1p-2", + "0x1.0b7cc1af27a6bp-2", + "0x1.0701609ef85efp-2", + "0x1.0261307ccc849p-2", + "0x1.fb246b27dea5ap-3", + "0x1.f11a270d19274p-3", + "0x1.e69a76828fa0bp-3", + "0x1.dba1f605f1b44p-3", + "0x1.d032da761dfc0p-3", + "0x1.c4548c4335663p-3", + "0x1.b8130662970e6p-3", + "0x1.ab7e05247ba95p-3", + "0x1.9ea8153528388p-3", + "0x1.91a59510938e8p-3", + "0x1.848bbadcef1cfp-3", + "0x1.776fae49c4e98p-3", + "0x1.6a65c24f4ac85p-3", + "0x1.8d56d0a35f276p-1", + "0x1.8f18d4a67da6dp-1", + "0x1.90ccb17d5a5bcp-1", + "0x1.9270b978c1b8dp-1", + "0x1.940368d9811ffp-1", + "0x1.95832752bf799p-1", + "0x1.96edecd79091cp-1", + "0x1.9840dce192770p-1", + "0x1.941ab6579f1fap-1", + "0x1.956a21c78de75p-1", + "0x1.969081d2677afp-1", + "0x1.9786d4f5d0a7fp-1", + "0x1.9846ed8e274ffp-1", + "0x1.98ccc31bb942cp-1", + "0x1.9917a6741685cp-1", + "0x1.992b048138bc8p-1", + "0x1.990e7222dae42p-1", + "0x1.98ccde8dd8ef6p-1", + "0x1.986ace8d7da54p-1", + "0x1.9803d9c49424dp-1", + "0x1.979d50de1378bp-1", + "0x1.973bca6358760p-1", + "0x1.96dc50642c812p-1", + "0x1.9673646641031p-1", + "0x1.95ed325b306f6p-1", + "0x1.952f0eb916e68p-1", + "0x1.941a2f65bc0fcp-1", + "0x1.928f5b1bcc1d5p-1", + "0x1.90731616319f1p-1", + "0x1.8db1aa6187ffdp-1", + "0x1.8a425e4b6d1f5p-1", + "0x1.8629472a99bf2p-1", + "0x1.8177688bc354ep-1", + "0x1.7c4926d6b1115p-1", + "0x1.76c3667c08e67p-1", + "0x1.710fe57f4c017p-1", + "0x1.6b5968fa05a06p-1", + "0x1.65c83f14c0d18p-1", + "0x1.607f6741f5cc2p-1", + "0x1.5b9a807f1c895p-1", + "0x1.572c75e9f8328p-1", + "0x1.533ecb9a481e4p-1", + "0x1.4fd1684cc842cp-1", + "0x1.4cdabfdad1826p-1", + "0x1.4a48510d983f0p-1", + "0x1.47ff796dd3972p-1", + "0x1.45deae2eaf079p-1", + "0x1.43bf2de4eb0b1p-1", + "0x1.4177381a16b34p-1", + "0x1.3edcc4abf5a5ap-1", + "0x1.3bc897508ddfbp-1", + "0x1.381969e8b9452p-1", + "0x1.33b6ccd07cf20p-1", + "0x1.2e93528c70976p-1", + "0x1.28adac0306b25p-1", + "0x1.221083c115735p-1", + "0x1.1ad11fcea015bp-1", + "0x1.130d09eb9b7fbp-1", + "0x1.0ae7254f567c3p-1", + "0x1.0284a59a52881p-1", + "0x1.f41499aa4ecd1p-2", + "0x1.e3346d2241b6ap-2", + "0x1.d2a4a0d742f36p-2", + "0x1.c296fd608a332p-2", + "0x1.b332a9368ee4dp-2", + "0x1.a494784058be1p-2", + "0x1.96cfce4f967ebp-2", + "0x1.89efd13b7cb09p-2", + "0x1.7df8b62e47aafp-2", + "0x1.72e905c93b18ep-2", + "0x1.68bac10e88f8ep-2", + "0x1.5f645c4141a4fp-2", + "0x1.56d98cf6a087fp-2", + "0x1.4f0bedd5e505fp-2", + "0x1.47eb7d9f7da41p-2", + "0x1.416700aa5e19bp-2", + "0x1.3b6c4c99f0845p-2", + "0x1.35e885fd1da65p-2", + "0x1.30c857083fffdp-2", + "0x1.2bf825cc304d4p-2", + "0x1.27644f33834c8p-2", + "0x1.22f96aa9ab6edp-2", + "0x1.1ea4989aa9127p-2", + "0x1.1a53dbfb1043ap-2", + "0x1.15f67cd650d20p-2", + "0x1.117d6fa916634p-2", + "0x1.0cdbbb5119baep-2", + "0x1.0806d5ea1ecd6p-2", + "0x1.02f6f0571063ep-2", + "0x1.fb4e515eead32p-3", + "0x1.f02b3accada3cp-3", + "0x1.e486bb3a94613p-3", + "0x1.d8686cbaa0388p-3", + "0x1.cbdcbfc35852bp-3", + "0x1.bef422689f6cep-3", + "0x1.b1c2052e9d2cdp-3", + "0x1.a45bd09d07489p-3", + "0x1.96d7de7aae10dp-3", + "0x1.894c8738674bcp-3", + "0x1.7bcf502dc37bbp-3", + "0x1.8d7114bb0c9b6p-1", + "0x1.8f3a28b233068p-1", + "0x1.90f67bddccfe1p-1", + "0x1.92a486796a712p-1", + "0x1.9442e79c80a05p-1", + "0x1.95d0254d62f03p-1", + "0x1.974a4ff024515p-1", + "0x1.98ae9c4ee7070p-1", + "0x1.94a5dc9f0ead5p-1", + "0x1.960c3f548890ep-1", + "0x1.974bb09e35f5bp-1", + "0x1.985d1ae3bf7dap-1", + "0x1.993a33dc3a829p-1", + "0x1.99decfc670adep-1", + "0x1.9a4a184145a17p-1", + "0x1.9a7f5211768b8p-1", + "0x1.9a85ebe971a4ap-1", + "0x1.9a68b2fd133c4p-1", + "0x1.9a2914aff1b2fp-1", + "0x1.99e792fa333e7p-1", + "0x1.99a74f1e6f3f0p-1", + "0x1.996cce0f7bbdep-1", + "0x1.993503d9cd23cp-1", + "0x1.98f4538a9bb94p-1", + "0x1.9896bf4033591p-1", + "0x1.980165606ae4cp-1", + "0x1.97153b4be09efp-1", + "0x1.95b2c1727a86ap-1", + "0x1.93be374198a22p-1", + "0x1.9123ac5b14bf0p-1", + "0x1.8dda401cfcf1fp-1", + "0x1.89e5fc11d28b6p-1", + "0x1.8557f7e559c3dp-1", + "0x1.804ccd11e2748p-1", + "0x1.7ae9b337a3bc1p-1", + "0x1.7558d38553e02p-1", + "0x1.6fc56dd3fbde0p-1", + "0x1.6a58511302af2p-1", + "0x1.6534f9c36af18p-1", + "0x1.607776e45eacbp-1", + "0x1.5c330de659aaep-1", + "0x1.58717fa018809p-1", + "0x1.5532cac9ba233p-1", + "0x1.526d50080d449p-1", + "0x1.500e4a5ff558cp-1", + "0x1.4dfa9f4a898a1p-1", + "0x1.4c10166f3e220p-1", + "0x1.4a270dce57c52p-1", + "0x1.4814b87cea476p-1", + "0x1.45ade2950aa6fp-1", + "0x1.42ca16a431e32p-1", + "0x1.3f46de232014fp-1", + "0x1.3b0ab9e315ae5p-1", + "0x1.360764ab20b37p-1", + "0x1.303b01cc652eep-1", + "0x1.29b003522e188p-1", + "0x1.227bcdc2f2e90p-1", + "0x1.1abc596825eb2p-1", + "0x1.129539e837ecdp-1", + "0x1.0a2c829cc9617p-1", + "0x1.01a7f085f32b4p-1", + "0x1.f2554529a711ap-2", + "0x1.e1a704cc373bep-2", + "0x1.d178ba25a3e74p-2", + "0x1.c1f327671fcf2p-2", + "0x1.b3347e089c773p-2", + "0x1.a5513eb362e22p-2", + "0x1.98556cd38d3fdp-2", + "0x1.8c45dfdb69825p-2", + "0x1.81218c9de5383p-2", + "0x1.76e2afc662a40p-2", + "0x1.6d7fce05a6876p-2", + "0x1.64ec86da506b3p-2", + "0x1.5d1a3c51a8a4cp-2", + "0x1.55f8955fc3492p-2", + "0x1.4f75e21f41b86p-2", + "0x1.497f69eeed419p-2", + "0x1.4401ab5cd8530p-2", + "0x1.3ee8955591e83p-2", + "0x1.3a1fc03e2f9c9p-2", + "0x1.3592ac80a492dp-2", + "0x1.312d0a9f6cb2fp-2", + "0x1.2cdb0f1c1ab83p-2", + "0x1.2889d261b366bp-2", + "0x1.2427ba901f7fap-2", + "0x1.1fa4eaa8f20afp-2", + "0x1.1af3b07d92cdfp-2", + "0x1.1608e930736a1p-2", + "0x1.10dc53722ad93p-2", + "0x1.0b68c71e44785p-2", + "0x1.05ac4b8e1f038p-2", + "0x1.ff50117d00271p-3", + "0x1.f2c025c479ed0p-3", + "0x1.e5b6275768041p-3", + "0x1.d843afc7bcca2p-3", + "0x1.ca7d949e3a638p-3", + "0x1.bc7acc2550f53p-3", + "0x1.ae535568e430bp-3", + "0x1.a01f3522e301fp-3", + "0x1.91f5952edb448p-3", + "0x1.8d8179a09bdcdp-1", + "0x1.8f4f2734fdd80p-1", + "0x1.91110a376b336p-1", + "0x1.92c5bae9618dap-1", + "0x1.946bf979488bbp-1", + "0x1.96026dde62ad0p-1", + "0x1.97874b102805cp-1", + "0x1.98f7e8cfa1223p-1", + "0x1.950407b70d8a9p-1", + "0x1.967b95bae87e1p-1", + "0x1.97ce5ddd0e7a1p-1", + "0x1.98f56da112b09p-1", + "0x1.99ea9cada8c08p-1", + "0x1.9aa9e03433185p-1", + "0x1.9b32824886d44p-1", + "0x1.9b87e85c432d8p-1", + "0x1.9bb1a2b4b1b60p-1", + "0x1.9bbaa14913533p-1", + "0x1.9b9d70a4ba359p-1", + "0x1.9b88551949e9cp-1", + "0x1.9b7808e5ec4acp-1", + "0x1.9b712b5607f55p-1", + "0x1.9b70bc1765a79p-1", + "0x1.9b6b14bf86654p-1", + "0x1.9b4c13060364ep-1", + "0x1.9af891f7bf9b1p-1", + "0x1.9a5123cee7026p-1", + "0x1.9935c9697c6c3p-1", + "0x1.978a2e4e4722ep-1", + "0x1.9539c639868c5p-1", + "0x1.923b1bbbf3138p-1", + "0x1.8e91ba347adf5p-1", + "0x1.8a4e5f224af78p-1", + "0x1.858d76bc74d94p-1", + "0x1.80743b5edd7f6p-1", + "0x1.7b2d05f4c6f5dp-1", + "0x1.75e36ac80ea36p-1", + "0x1.70c0a5b863ed1p-1", + "0x1.6be8aa2ac982fp-1", + "0x1.6777f872f4ec8p-1", + "0x1.6382324d403e0p-1", + "0x1.6011510ca3acap-1", + "0x1.5d255a78200abp-1", + "0x1.5ab478de3896bp-1", + "0x1.58ab69ec8ad3ap-1", + "0x1.56ee4894a795cp-1", + "0x1.5559c36e8745cp-1", + "0x1.53c4d5fc96583p-1", + "0x1.5203145e3d403p-1", + "0x1.4fe784cbc2c30p-1", + "0x1.4d47e299bb9bbp-1", + "0x1.4a0002164a6f6p-1", + "0x1.45f4ee3f43aa7p-1", + "0x1.41174d7120a8ap-1", + "0x1.3b64a996fcbadp-1", + "0x1.34e763663f2e2p-1", + "0x1.2db554ba8c263p-1", + "0x1.25ed62d8d1203p-1", + "0x1.1db46c95d2ee8p-1", + "0x1.15320f670f2a4p-1", + "0x1.0c8db11423fa1p-1", + "0x1.03ec1ac8f80a8p-1", + "0x1.f6db9481586b3p-2", + "0x1.e65bf399bcb4ep-2", + "0x1.d6848d64e19e9p-2", + "0x1.c775a0a86a8c7p-2", + "0x1.b9455006adb3ap-2", + "0x1.ac00db2458d11p-2", + "0x1.9fadf8e86af83p-2", + "0x1.944c2b4e21266p-2", + "0x1.89d5f472dba61p-2", + "0x1.8041e09d757d1p-2", + "0x1.778361b41aebbp-2", + "0x1.6f8b7e5a231a2p-2", + "0x1.68495a684a49fp-2", + "0x1.61aaa046f4085p-2", + "0x1.5b9bd36e05cdap-2", + "0x1.56089452d745dp-2", + "0x1.50dbdd96bf0a2p-2", + "0x1.4c004174c8001p-2", + "0x1.47602d423fe5ap-2", + "0x1.42e637500f66ep-2", + "0x1.3e7d7995fc831p-2", + "0x1.3a11f95383abep-2", + "0x1.35911955f4162p-2", + "0x1.30ea120c26431p-2", + "0x1.2c0e68491694cp-2", + "0x1.26f259eb3d918p-2", + "0x1.218d36e8ec7eep-2", + "0x1.1bd99dc5344cfp-2", + "0x1.15d5944292732p-2", + "0x1.0f8278228b1c2p-2", + "0x1.08e4c780a4ba7p-2", + "0x1.0203c44c572eep-2", + "0x1.f5d1f3e343936p-3", + "0x1.e73f5db02c97ep-3", + "0x1.d868995611698p-3", + "0x1.c967948856dafp-3", + "0x1.ba56417bd1391p-3", + "0x1.ab4da5fc13edfp-3", + "0x1.8d892931b4fa3p-1", + "0x1.8f591e934e90fp-1", + "0x1.911dd3e0be487p-1", + "0x1.92d5f9b594921p-1", + "0x1.94806b1f1b260p-1", + "0x1.961bed5e024dfp-1", + "0x1.97a6d2e681ca6p-1", + "0x1.991e94cf9718bp-1", + "0x1.9536bf24bc626p-1", + "0x1.96b8ce627129cp-1", + "0x1.9817b8ed3144dp-1", + "0x1.994cb0e55cb8dp-1", + "0x1.9a51b0d1dbe09p-1", + "0x1.9b22ce79e6543p-1", + "0x1.9bbf71f699d5fp-1", + "0x1.9c2b1c2e2fac2p-1", + "0x1.9c6d767197c7ep-1", + "0x1.9c91876fee950p-1", + "0x1.9c882d79cb893p-1", + "0x1.9c91fd10156c4p-1", + "0x1.9ca31e82bb74dp-1", + "0x1.9cc031e852ce4p-1", + "0x1.9ce62bd07a276p-1", + "0x1.9d094addc5351p-1", + "0x1.9d153e8195db0p-1", + "0x1.9cee9e066d997p-1", + "0x1.9c75a282fefdcp-1", + "0x1.9b89e16858722p-1", + "0x1.9a0e8edb008dfp-1", + "0x1.97eea46362e05p-1", + "0x1.95203a5a6675cp-1", + "0x1.91a67caae0c18p-1", + "0x1.8d91e50ebfef2p-1", + "0x1.88febd2f3306bp-1", + "0x1.84123f61564e8p-1", + "0x1.7ef6e4252814dp-1", + "0x1.79d8787fdcf82p-1", + "0x1.74e0814f0e7a5p-1", + "0x1.7033411196211p-1", + "0x1.6bed82e5c386dp-1", + "0x1.68232506b850bp-1", + "0x1.64de45da342adp-1", + "0x1.621ef0cf51b4dp-1", + "0x1.5fdb2fd6460a8p-1", + "0x1.5dff755e2ff7ep-1", + "0x1.5c6f63b227dfdp-1", + "0x1.5b0703e545379p-1", + "0x1.599c8383ce19ap-1", + "0x1.58028943422c6p-1", + "0x1.560b1c466110ap-1", + "0x1.538af92bc9750p-1", + "0x1.505d0abc872d8p-1", + "0x1.4c659cd09d928p-1", + "0x1.4794d38e64d85p-1", + "0x1.41e800a11ec3dp-1", + "0x1.3b699bd0640c7p-1", + "0x1.342fe24a5136ap-1", + "0x1.2c5a5e34c45b2p-1", + "0x1.240ec49d13295p-1", + "0x1.1b75a79b93673p-1", + "0x1.12b76d2e9e5fap-1", + "0x1.09f9d9c783f50p-1", + "0x1.015e549c53b09p-1", + "0x1.f201cdf38747fp-2", + "0x1.e1efbba43c3a6p-2", + "0x1.d2a7ceab613d6p-2", + "0x1.c4410725357dep-2", + "0x1.b6c946c32bda7p-2", + "0x1.aa46b166c6e77p-2", + "0x1.9eb907df2157fp-2", + "0x1.941ae3b577834p-2", + "0x1.8a62c754f06c4p-2", + "0x1.8183fecd208f1p-2", + "0x1.796f535e40e57p-2", + "0x1.72139793e7427p-2", + "0x1.6b5e139a7afd3p-2", + "0x1.653ada41c57b8p-2", + "0x1.5f950f28714f9p-2", + "0x1.5a57261683934p-2", + "0x1.556b22b55bb59p-2", + "0x1.50badea1cc80cp-2", + "0x1.4c305a444519ap-2", + "0x1.47b61ae78318bp-2", + "0x1.43379636a3cfcp-2", + "0x1.3ea1a8babc970p-2", + "0x1.39e312537b76bp-2", + "0x1.34ecf14bff81cp-2", + "0x1.2fb332f3a2fb0p-2", + "0x1.2a2cefe73beddp-2", + "0x1.2454aabfa6029p-2", + "0x1.1e2869bc97fe9p-2", + "0x1.17a9a7173fba3p-2", + "0x1.10dd17889d481p-2", + "0x1.09ca4aa795515p-2", + "0x1.027b2c6defc73p-2", + "0x1.f5f6e3c451206p-3", + "0x1.e6aff873c7008p-3", + "0x1.d73c7b5c5d7a3p-3", + "0x1.c7b753b57df38p-3", + "0x1.b83a7271be9f0p-3", + "0x1.8d8991195d020p-1", + "0x1.8f59ac684f7ccp-1", + "0x1.911e93189f45ep-1", + "0x1.92d6f86e3f6b1p-1", + "0x1.9481ba825c049p-1", + "0x1.961da205f0a63p-1", + "0x1.97a9053f9659ep-1", + "0x1.99216174a2550p-1", + "0x1.953a8d7d32678p-1", + "0x1.96bd8f11140a6p-1", + "0x1.981d99e1b86e8p-1", + "0x1.9953e575bc9e8p-1", + "0x1.9a5a71c271e26p-1", + "0x1.9b2d59f551c3fp-1", + "0x1.9bcc0b7c2ce49p-1", + "0x1.9c3a0c7eabab0p-1", + "0x1.9c7f0b7fbf36ap-1", + "0x1.9ca61454f687fp-1", + "0x1.9c8967445c798p-1", + "0x1.9c9366fdf4fe2p-1", + "0x1.9ca4bd886244fp-1", + "0x1.9cc20b2ca20b1p-1", + "0x1.9ce8449e7f3b0p-1", + "0x1.9d0ba88fb6934p-1", + "0x1.9d17e6650408cp-1", + "0x1.9cf1953b0af05p-1", + "0x1.9c78edd6fcb85p-1", + "0x1.9b8d8536d1123p-1", + "0x1.9a128ef1ce16ep-1", + "0x1.97f303f5a7ff1p-1", + "0x1.9524fc03c4a92p-1", + "0x1.91aba284f3e9fp-1", + "0x1.8d9770d781c1fp-1", + "0x1.8904b07c18880p-1", + "0x1.84189bd8fd3b4p-1", + "0x1.7efdabb8a3f10p-1", + "0x1.79dfad9d1c3ecp-1", + "0x1.74e827070b777p-1", + "0x1.703b5b2e9435fp-1", + "0x1.6bf615ef4a017p-1", + "0x1.682c363212826p-1", + "0x1.64e7dae6f717dp-1", + "0x1.62290fcfec5dfp-1", + "0x1.5fe5dee535bcbp-1", + "0x1.5e0aba415f172p-1", + "0x1.5c7b436f7cb68p-1", + "0x1.5b13824d8cc29p-1", + "0x1.59a9a2bbd8dbap-1", + "0x1.58104955ca0b3p-1", + "0x1.56197acb70f6bp-1", + "0x1.5399f112ff0e3p-1", + "0x1.506c9445d5b75p-1", + "0x1.4c75adbad5b8fp-1", + "0x1.47a55f7c0fa69p-1", + "0x1.41f8f9ac66eddp-1", + "0x1.3b7af33fa3a00p-1", + "0x1.344189522c7a0p-1", + "0x1.2c6c46b3a80cdp-1", + "0x1.2420e1be869fcp-1", + "0x1.1b87ee5720d4ap-1", + "0x1.12c9d49c8f831p-1", + "0x1.0a0c5b4bc96b2p-1", + "0x1.0170ebec880c2p-1", + "0x1.f227240bca9d0p-2", + "0x1.e2153930dfbe9p-2", + "0x1.d2cd775348524p-2", + "0x1.c466e1ba92adep-2", + "0x1.b6ef5cc131326p-2", + "0x1.aa6d0e7261d01p-2", + "0x1.9edfb94e3160cp-2", + "0x1.9441f81db7ca0p-2", + "0x1.8a8a4e223c67bp-2", + "0x1.81ac07ddc505fp-2", + "0x1.7997eea38f307p-2", + "0x1.723cd4b52a8fdp-2", + "0x1.6b880198a86aap-2", + "0x1.6565871ab8c6ep-2", + "0x1.5fc08779349d6p-2", + "0x1.5a8374bcf704ap-2", + "0x1.5598507285bfbp-2", + "0x1.50e8f1bf1f33fp-2", + "0x1.4c5f563f22450p-2", + "0x1.47e6002726df5p-2", + "0x1.436861d13b096p-2", + "0x1.3ed3544ea88e7p-2", + "0x1.3a1593f980e21p-2", + "0x1.35203ba646f4cp-2", + "0x1.2fe7355c02f07p-2", + "0x1.2a6196bd5425ap-2", + "0x1.2489dfd50e055p-2", + "0x1.1e5e14db0871ep-2", + "0x1.17dfae9a7c615p-2", + "0x1.1113610446549p-2", + "0x1.0a00bb9023ac8p-2", + "0x1.02b1aabc16828p-2", + "0x1.f663c9514285cp-3", + "0x1.e71c984e4f4a1p-3", + "0x1.d7a8aaeb23650p-3", + "0x1.c822ed04faa9bp-3", + "0x1.b8a554998b6aep-3", + "0x1.8d8a0c7572fa9p-1", + "0x1.8f5a540f3a257p-1", + "0x1.911f73dfa6d60p-1", + "0x1.92d821e771a94p-1", + "0x1.94833f50791bep-1", + "0x1.961f982c89061p-1", + "0x1.97ab866c326fap-1", + "0x1.99248b3d7d168p-1", + "0x1.953ed0453a56fp-1", + "0x1.96c2d43bd8e29p-1", + "0x1.98240eaa5ae04p-1", + "0x1.995bbb98ceb23p-1", + "0x1.9a63df6060ff2p-1", + "0x1.9b38996843eefp-1", + "0x1.9bd95b29a0a2ep-1", + "0x1.9c49aead4ab05p-1", + "0x1.9c914636e9d71p-1", + "0x1.9cbb31457525ap-1", + "0x1.9c8aa7ae73d86p-1", + "0x1.9c94d52293556p-1", + "0x1.9ca65d9e18b64p-1", + "0x1.9cc3e1891bc57p-1", + "0x1.9cea55a964292p-1", + "0x1.9d0df8af8f088p-1", + "0x1.9d1a79e6509e5p-1", + "0x1.9cf470331227dp-1", + "0x1.9c7c14053dbb9p-1", + "0x1.9b90f9e946ccbp-1", + "0x1.9a1654f0d4664p-1", + "0x1.97f71d7c0d756p-1", + "0x1.95296ac63895cp-1", + "0x1.91b067c9bdd57p-1", + "0x1.8d9c8d9cc30f3p-1", + "0x1.890a25a86becap-1", + "0x1.841e6a70b00f1p-1", + "0x1.7f03d5114d6d0p-1", + "0x1.79e63389e9bd0p-1", + "0x1.74ef0bf958d86p-1", + "0x1.7042a247ddb91p-1", + "0x1.6bfdc302cf722p-1", + "0x1.68344db571055p-1", + "0x1.64f061d191459p-1", + "0x1.62320b695934ap-1", + "0x1.5fef54835cd4ep-1", + "0x1.5e14aef7a466cp-1", + "0x1.5c85bbb19a3f8p-1", + "0x1.5b1e818a86f6fp-1", + "0x1.59b52af7bc12bp-1", + "0x1.581c5acb36501p-1", + "0x1.5626139fc9574p-1", + "0x1.53a70d28980b4p-1", + "0x1.507a2d360ab91p-1", + "0x1.4c83bafe2d0e5p-1", + "0x1.47b3d6c0d8f28p-1", + "0x1.4207cf55923e1p-1", + "0x1.3b8a1aff77669p-1", + "0x1.3450f6d085832p-1", + "0x1.2c7bee2e8804fp-1", + "0x1.2430b895f27a2p-1", + "0x1.1b97eb79de20dp-1", + "0x1.12d9f0d0dacb6p-1", + "0x1.0a1c915453dcdp-1", + "0x1.0181388df8567p-1", + "0x1.f247e7e6b8207p-2", + "0x1.e236289c872dfp-2", + "0x1.d2ee967a1cc56p-2", + "0x1.c488378d21a53p-2", + "0x1.b710f2879dec1p-2", + "0x1.aa8eef6057b98p-2", + "0x1.9f01f21c28618p-2", + "0x1.946496a87d203p-2", + "0x1.8aad61105b25ap-2", + "0x1.81cf9e4992d85p-2", + "0x1.79bc17c83755fp-2", + "0x1.72619f9cfced5p-2", + "0x1.6bad7ccb24502p-2", + "0x1.658bc049358dfp-2", + "0x1.5fe78b29a45bfp-2", + "0x1.5aab4df300f6ep-2", + "0x1.55c1085815833p-2", + "0x1.51128f4e76bf4p-2", + "0x1.4c89ddf16cb5ep-2", + "0x1.481173ab61c24p-2", + "0x1.4394bfcfed41ap-2", + "0x1.3f00983f29ac4p-2", + "0x1.3a43b60d6bdc7p-2", + "0x1.354f30cf02f28p-2", + "0x1.3016ef6d0e8efp-2", + "0x1.2a9204ac42ec8p-2", + "0x1.24baee1612c1ep-2", + "0x1.1e8fadd6b485ap-2", + "0x1.1811bb3751eebp-2", + "0x1.1145c93d1fca2p-2", + "0x1.0a33670f7eb57p-2", + "0x1.02e48174224e9p-2", + "0x1.f6c99ec1118f3p-3", + "0x1.e78269eea51b1p-3", + "0x1.d80e505c9c327p-3", + "0x1.c88841f4e3d4dp-3", + "0x1.b90a392ce2fe6p-3", + "0x1.8d8a8b3fd5decp-1", + "0x1.8f5afe45e1ef4p-1", + "0x1.912055629eba9p-1", + "0x1.92d948ef57babp-1", + "0x1.9484bcacf44fap-1", + "0x1.96217f7e449dbp-1", + "0x1.97adee580e065p-1", + "0x1.99278d9670f29p-1", + "0x1.9542d45767c65p-1", + "0x1.96c7c0ab1bd25p-1", + "0x1.982a09e53535fp-1", + "0x1.9962ef9162dd4p-1", + "0x1.9a6c796eb81aap-1", + "0x1.9b42ca259dff7p-1", + "0x1.9be5564c38afcp-1", + "0x1.9c57aaebb078cp-1", + "0x1.9ca17d372fd77p-1", + "0x1.9ccddf96f254bp-1", + "0x1.9c8bc1363d55fp-1", + "0x1.9c96156e25a03p-1", + "0x1.9ca7c82675752p-1", + "0x1.9cc579e394ee0p-1", + "0x1.9cec1f7d818f2p-1", + "0x1.9d0ff7a7eaf2ap-1", + "0x1.9d1cb19c9a8d2p-1", + "0x1.9cf6e4187d4c2p-1", + "0x1.9c7ec749cf1edp-1", + "0x1.9b93ef657b3f4p-1", + "0x1.9a198f159e47dp-1", + "0x1.97fa9e4cedfb1p-1", + "0x1.952d33e018928p-1", + "0x1.91b47a774b86ap-1", + "0x1.8da0eaf6e4cebp-1", + "0x1.890ecebf565e6p-1", + "0x1.84236078dc9bcp-1", + "0x1.7f09198f288f2p-1", + "0x1.79ebc877862bfp-1", + "0x1.74f4f3e2774f4p-1", + "0x1.7048e059c6b5bp-1", + "0x1.6c045b0e845c9p-1", + "0x1.683b44237440bp-1", + "0x1.64f7bb86f3575p-1", + "0x1.6239cd9e0047ap-1", + "0x1.5ff78489d154dp-1", + "0x1.5e1d51f74a3d7p-1", + "0x1.5c8ed6554fc37p-1", + "0x1.5b2817a73bb29p-1", + "0x1.59bf3f309abf0p-1", + "0x1.5826ee3b27fecp-1", + "0x1.56312591dbf05p-1", + "0x1.53b29ae98266fp-1", + "0x1.5086320800bcfp-1", + "0x1.4c903035202c2p-1", + "0x1.47c0b40854f05p-1", + "0x1.42150b1b805c1p-1", + "0x1.3b97aaf987e72p-1", + "0x1.345ed08e31e5cp-1", + "0x1.2c8a07a87ae0dp-1", + "0x1.243f08ad4743cp-1", + "0x1.1ba66a5d73b71p-1", + "0x1.12e89843bccbcp-1", + "0x1.0a2b5cd4db181p-1", + "0x1.01902560d64d4p-1", + "0x1.f266022fda834p-2", + "0x1.e25484c4971dep-2", + "0x1.d30d38ab6dcd9p-2", + "0x1.c4a72687270f7p-2", + "0x1.b7303740ebc04p-2", + "0x1.aaae94a92ed60p-2", + "0x1.9f2204443ea7ep-2", + "0x1.94852328fb2ffp-2", + "0x1.8ace7639cd3dcp-2", + "0x1.81f14af4bff9ep-2", + "0x1.79de6b0867d95p-2", + "0x1.7284a8721fa47p-2", + "0x1.6bd149d269233p-2", + "0x1.65b05f6b140c3p-2", + "0x1.600d0944d473dp-2", + "0x1.5ad1b684a53e5p-2", + "0x1.55e86522311c8p-2", + "0x1.513ae7feb92b9p-2", + "0x1.4cb337cb52813p-2", + "0x1.483bd1398a0f7p-2", + "0x1.43c020a1343f0p-2", + "0x1.3f2cf8b475f27p-2", + "0x1.3a710f3d0945fp-2", + "0x1.357d7881c9113p-2", + "0x1.30461838630d4p-2", + "0x1.2ac1fe2a55275p-2", + "0x1.24eba53b99932p-2", + "0x1.1ec10d633a7cap-2", + "0x1.1843ac3afd933p-2", + "0x1.117833ad2ce10p-2", + "0x1.0a6632618677fp-2", + "0x1.03179537fec12p-2", + "0x1.f73027a22f45fp-3", + "0x1.e7e926f70983dp-3", + "0x1.d875178b305e5p-3", + "0x1.c8eeed233205cp-3", + "0x1.b970a687332fcp-3", + "0x1.8d8af62dfea78p-1", + "0x1.8f5b8d27d04bcp-1", + "0x1.912111ecc80dep-1", + "0x1.92da3ec1210d5p-1", + "0x1.9485f986d7c64p-1", + "0x1.96231375c6699p-1", + "0x1.97afec07cba02p-1", + "0x1.992a0a485f966p-1", + "0x1.9546256a0db38p-1", + "0x1.96cbd159e767bp-1", + "0x1.982efa597a579p-1", + "0x1.9968e32082b60p-1", + "0x1.9a739692d7b00p-1", + "0x1.9b4b3a7189631p-1", + "0x1.9bef46602ec21p-1", + "0x1.9c634a70ab355p-1", + "0x1.9caefee3f6c68p-1", + "0x1.9cdd793dcf2d5p-1", + "0x1.9c8cae9fc4a68p-1", + "0x1.9c97247fd1959p-1", + "0x1.9ca8fc20de2d0p-1", + "0x1.9cc6d62ca0da3p-1", + "0x1.9ceda7987728ap-1", + "0x1.9d11af28eef74p-1", + "0x1.9d1e9c17a05d0p-1", + "0x1.9cf9050c9fdbcp-1", + "0x1.9c81220b18eb3p-1", + "0x1.9b9687081a131p-1", + "0x1.9a1c665e1387ep-1", + "0x1.97fdb7a8b8c7fp-1", + "0x1.9530916978cd9p-1", + "0x1.91b81e052a1f6p-1", + "0x1.8da4d637fb04fp-1", + "0x1.8913035dd4407p-1", + "0x1.8427e0428054cp-1", + "0x1.7f0de69d32fbfp-1", + "0x1.79f0e55237cfdp-1", + "0x1.74fa639c85819p-1", + "0x1.704ea6a12f728p-1", + "0x1.6c0a7c3106fc6p-1", + "0x1.6841c50597612p-1", + "0x1.64fea18ce3b6ep-1", + "0x1.62411e85d7c61p-1", + "0x1.5fff46372a0ccp-1", + "0x1.5e258a309e3d8p-1", + "0x1.5c978a74b82dap-1", + "0x1.5b314c41c006fp-1", + "0x1.59c8f7b95893bp-1", + "0x1.58312ca9e3271p-1", + "0x1.563bea167aa95p-1", + "0x1.53bde3b6e98dcp-1", + "0x1.5091fb40053fbp-1", + "0x1.4c9c73fc6fc96p-1", + "0x1.47cd6ac4767d4p-1", + "0x1.42222bd728acdp-1", + "0x1.3ba52be5cb2acp-1", + "0x1.346ca792f987cp-1", + "0x1.2c982af51cd69p-1", + "0x1.244d6f3b5fcb6p-1", + "0x1.1bb50c5ba3795p-1", + "0x1.12f76f6293a25p-1", + "0x1.0a3a6474d5d65p-1", + "0x1.019f5aa406ae4p-1", + "0x1.f284c5b86d5bep-2", + "0x1.e273a254292e0p-2", + "0x1.d32cb4499b09dp-2", + "0x1.c4c706ea5b11fp-2", + "0x1.b75085741be9ep-2", + "0x1.aacf5bb0644f1p-2", + "0x1.9f4350c2dd001p-2", + "0x1.94a7030af2529p-2", + "0x1.8af0f85f9e5a6p-2", + "0x1.82147ee165f5ep-2", + "0x1.7a02608fbe843p-2", + "0x1.72a96f6641f86p-2", + "0x1.6bf6f1aea1930p-2", + "0x1.65d6f6fb58ab9p-2", + "0x1.60349e495c927p-2", + "0x1.5afa5551e8493p-2", + "0x1.5612183e870d3p-2", + "0x1.5165b7bfd704ep-2", + "0x1.4cdf29f6e6c2cp-2", + "0x1.4868e8ad33de0p-2", + "0x1.43ee5d06d3e9bp-2", + "0x1.3f5c5648424d9p-2", + "0x1.3aa186aac8322p-2", + "0x1.35aefedde7d49p-2", + "0x1.30789f186a65cp-2", + "0x1.2af573de61360p-2", + "0x1.251ff5283ca89p-2", + "0x1.1ef62078c097dp-2", + "0x1.18796984b1711p-2", + "0x1.11ae80f15588fp-2", + "0x1.0a9cf4c997546p-2", + "0x1.034eb1f80cd4fp-2", + "0x1.f79ee18c36d43p-3", + "0x1.e8582f724ea66p-3", + "0x1.d8e4401c1cdb9p-3", + "0x1.c95e0b683ba27p-3", + "0x1.b9df94c056f9ap-3", + "0x1.8d8b5082fb46bp-1", + "0x1.8f5c06bd99775p-1", + "0x1.9121b38d624c4p-1", + "0x1.92db1311302d4p-1", + "0x1.94870d422ffc1p-1", + "0x1.962475abbc07dp-1", + "0x1.97b1ae558aeafp-1", + "0x1.992c410f4cd22p-1", + "0x1.95491ef1d8105p-1", + "0x1.96cf7db7c3155p-1", + "0x1.98337960cd3a0p-1", + "0x1.996e5829b30a4p-1", + "0x1.9a7a28853b247p-1", + "0x1.9b5313c74ed28p-1", + "0x1.9bf895296081cp-1", + "0x1.9c6e405a8ca4ap-1", + "0x1.9cbbd1481c022p-1", + "0x1.9cec613831d9fp-1", + "0x1.9c8d986699aeap-1", + "0x1.9c983119dcba0p-1", + "0x1.9caa2f2b73e47p-1", + "0x1.9cc83374ea334p-1", + "0x1.9cef3313693cep-1", + "0x1.9d136ce656ceap-1", + "0x1.9d209030292d6p-1", + "0x1.9cfb338bb4e83p-1", + "0x1.9c838ed6a9665p-1", + "0x1.9b9935c959736p-1", + "0x1.9a1f5a6f051d2p-1", + "0x1.9800f40a5ca62p-1", + "0x1.953418c59d943p-1", + "0x1.91bbf2bd4ae59p-1", + "0x1.8da8fa807ee09p-1", + "0x1.89177962fd6bdp-1", + "0x1.842caa52d8832p-1", + "0x1.7f130754935d4p-1", + "0x1.79f65fc0af590p-1", + "0x1.75003b651b4a4p-1", + "0x1.7054e00d799b6p-1", + "0x1.6c111c377a26ap-1", + "0x1.6848d14122bd0p-1", + "0x1.65062024de603p-1", + "0x1.624916059470bp-1", + "0x1.6007bd54ea664p-1", + "0x1.5e2e878453840p-1", + "0x1.5ca114203585ap-1", + "0x1.5b3b678dd6d00p-1", + "0x1.59d3a8adb49b2p-1", + "0x1.583c75a813f08p-1", + "0x1.5647cb82d4dccp-1", + "0x1.53ca5bbb0ba67p-1", + "0x1.509f05b209a6cp-1", + "0x1.4caa0a72bf2b7p-1", + "0x1.47db84d8e42a4p-1", + "0x1.4230bf956a06ap-1", + "0x1.3bb42e5ae8580p-1", + "0x1.347c0d6e9e202p-1", + "0x1.2ca7e92bd66a8p-1", + "0x1.245d7b9a26f4bp-1", + "0x1.1bc55e00e474bp-1", + "0x1.1307ff16176ddp-1", + "0x1.0a4b2cdd1a57ap-1", + "0x1.01b0585bbfef8p-1", + "0x1.f2a728dab76e9p-2", + "0x1.e2966de9f5a9ep-2", + "0x1.d34fec7377709p-2", + "0x1.c4eab2cbd370dp-2", + "0x1.b774aecf45a01p-2", + "0x1.aaf40e7fa1523p-2", + "0x1.9f689ad43657dp-2", + "0x1.94ccf39e73d3dp-2", + "0x1.8b179fc8acfdfp-2", + "0x1.823bee2a1697bp-2", + "0x1.7a2aa91cace64p-2", + "0x1.72d2a2993eba2p-2", + "0x1.6c212086b3350p-2", + "0x1.660231b0f4ea3p-2", + "0x1.6060f3e6643d1p-2", + "0x1.5b27d345c8c26p-2", + "0x1.5640c9efe846ep-2", + "0x1.5195a61e5ceacp-2", + "0x1.4d105b10b4873p-2", + "0x1.489b5f4cf17a4p-2", + "0x1.4422185fce016p-2", + "0x1.3f9151b6b2211p-2", + "0x1.3ad7b98e3d8b7p-2", + "0x1.35e65c931495fp-2", + "0x1.30b11716235aap-2", + "0x1.2b2ef1f79836dp-2", + "0x1.255a61f22fee1p-2", + "0x1.1f3161d1df30bp-2", + "0x1.18b563361b079p-2", + "0x1.11eb1562bbec3p-2", + "0x1.0ada05bdec092p-2", + "0x1.038c2148f89bep-2", + "0x1.f81a422990596p-3", + "0x1.e8d3da188f820p-3", + "0x1.d96000ae1bec0p-3", + "0x1.c9d9b26f67699p-3", + "0x1.ba5af801bfab3p-3", + "0x1.8d8bb35c6ddb2p-1", + "0x1.8f5c8c72bf87dp-1", + "0x1.9122661d82912p-1", + "0x1.92dbfea2a7abfp-1", + "0x1.9488406a6a410p-1", + "0x1.962601b6f0cb6p-1", + "0x1.97b3a78c2b3fdp-1", + "0x1.992ebef6b2c34p-1", + "0x1.954c7a8ac5284p-1", + "0x1.96d3a605f481fp-1", + "0x1.9838934d713a4p-1", + "0x1.99748cbdfd41dp-1", + "0x1.9a81a4f4f11efp-1", + "0x1.9b5c097372dbep-1", + "0x1.9c0339a0e2fa0p-1", + "0x1.9c7acd5f29d78p-1", + "0x1.9cca84db6e41dp-1", + "0x1.9cfd7db0494bap-1", + "0x1.9c8eaaa340033p-1", + "0x1.9c996c54422b8p-1", + "0x1.9cab97a009c4ep-1", + "0x1.9cc9cd95ef4c4p-1", + "0x1.9cf1037f17894p-1", + "0x1.9d1578574ab7ep-1", + "0x1.9d22db67e8792p-1", + "0x1.9cfdc33864b16p-1", + "0x1.9c8667765bb0ap-1", + "0x1.9b9c5b8e9e3e0p-1", + "0x1.9a22d12b3b795p-1", + "0x1.9804bf22438acp-1", + "0x1.95383b33a669cp-1", + "0x1.91c06f2345be6p-1", + "0x1.8dadd347c68dep-1", + "0x1.891cb0e7e7a8dp-1", + "0x1.843243166ec91p-1", + "0x1.7f19042ed218bp-1", + "0x1.79fcc40dbbaf2p-1", + "0x1.75070b28c37eap-1", + "0x1.705c2009815f8p-1", + "0x1.6c18d1f24e50dp-1", + "0x1.685102fb62e58p-1", + "0x1.650ed4bcb2b27p-1", + "0x1.625254c726d78p-1", + "0x1.60118db7d14a7p-1", + "0x1.5e38f0d68e5f8p-1", + "0x1.5cac1d20c3034p-1", + "0x1.5b4715fb055ccp-1", + "0x1.59e000ce01cc9p-1", + "0x1.584979d75eeb9p-1", + "0x1.56557bd029a92p-1", + "0x1.53d8b5a48036cp-1", + "0x1.50ae040b2c35bp-1", + "0x1.4cb9a57e6f12cp-1", + "0x1.47ebb2994baa7p-1", + "0x1.4241744d39e77p-1", + "0x1.3bc55d339d9b8p-1", + "0x1.348da9324d323p-1", + "0x1.2cb9e4fefdf2ep-1", + "0x1.246fcba3b16a4p-1", + "0x1.1bd7f7f30547dp-1", + "0x1.131ada90aed76p-1", + "0x1.0a5e43a83d33ep-1", + "0x1.01c3a67dc0c65p-1", + "0x1.f2ce30455f593p-2", + "0x1.e2bde1231f3b8p-2", + "0x1.d377cff64e6f8p-2", + "0x1.c5130e7993287p-2", + "0x1.b79d8d7a08538p-2", + "0x1.ab1d7d73d5446p-2", + "0x1.9f92a96486b22p-2", + "0x1.94f7b2b3b8098p-2", + "0x1.8b432175cf0dfp-2", + "0x1.82684542ce967p-2", + "0x1.7a57e8cd5b99ep-2", + "0x1.7300ddfe05d1fp-2", + "0x1.6c506a4016bdbp-2", + "0x1.66329b74ca3f5p-2", + "0x1.60928e0c8d1d5p-2", + "0x1.5b5aac512c5a4p-2", + "0x1.5674ee153cf4ep-2", + "0x1.51cb1ecb9400cp-2", + "0x1.4d472e791dbd5p-2", + "0x1.48d38fff55d13p-2", + "0x1.445ba4eca9654p-2", + "0x1.3fcc346d2bea9p-2", + "0x1.3b13e8565fe29p-2", + "0x1.3623c8eaea79bp-2", + "0x1.30efae35c9c10p-2", + "0x1.2b6e9d1e01898p-2", + "0x1.259b06d98ad92p-2", + "0x1.1f72e3478f6acp-2", + "0x1.18f7a1cf5b52bp-2", + "0x1.122df044b4a99p-2", + "0x1.0b1d5b6e98ee7p-2", + "0x1.03cfd07dd1983p-2", + "0x1.f8a212e99589dp-3", + "0x1.e95bdfb92753fp-3", + "0x1.d9e802170bebap-3", + "0x1.ca617bc74d1d2p-3", + "0x1.bae25b4c9f214p-3", + "0x1.8d8c294bb152ep-1", + "0x1.8f5d2b9787faap-1", + "0x1.91233a250473fp-1", + "0x1.92dd15b2382a5p-1", + "0x1.9489ab6ef7380p-1", + "0x1.9627d4b36d190p-1", + "0x1.97b5f9e487f87p-1", + "0x1.9931abb4a1775p-1", + "0x1.9550693b58fc8p-1", + "0x1.96d881aef863fp-1", + "0x1.983e85f3cccc0p-1", + "0x1.997bc4f1c5575p-1", + "0x1.9a8a55d56d4b9p-1", + "0x1.9b666aaa4b956p-1", + "0x1.9c0f875b691fdp-1", + "0x1.9c89484cd492ap-1", + "0x1.9cdb7236214d0p-1", + "0x1.9d11274d7b90fp-1", + "0x1.9c8fe72ea01c8p-1", + "0x1.9c9ad76c3b9dfp-1", + "0x1.9cad35f4786a2p-1", + "0x1.9ccba40e3a356p-1", + "0x1.9cf3172eb8d44p-1", + "0x1.9d17ce6bde3a6p-1", + "0x1.9d257910b5691p-1", + "0x1.9d00ad88a7d2bp-1", + "0x1.9c89a3451a812p-1", + "0x1.9b9fed58306a1p-1", + "0x1.9a26bcf9965e5p-1", + "0x1.9809088107ad7p-1", + "0x1.953ce533c2407p-1", + "0x1.91c57c6fcf9e1p-1", + "0x1.8db3464aed8cbp-1", + "0x1.89228bfc3477ep-1", + "0x1.843888bea4ff1p-1", + "0x1.7f1fb74df591ep-1", + "0x1.7a03e81908bc8p-1", + "0x1.750ea44e7770cp-1", + "0x1.70643348ad24dp-1", + "0x1.6c2165212eed1p-1", + "0x1.685a1cbaaa39dp-1", + "0x1.65187c56c350dp-1", + "0x1.625c91fab0e29p-1", + "0x1.601c686dc1004p-1", + "0x1.5e4470c422af6p-1", + "0x1.5cb849582ad04p-1", + "0x1.5b53f46f2a550p-1", + "0x1.59ed95d1145cep-1", + "0x1.5857c79edf176p-1", + "0x1.5664820bd15b3p-1", + "0x1.53e87136a8567p-1", + "0x1.50be6ef018adap-1", + "0x1.4ccab6ebd7f81p-1", + "0x1.47fd5f58b7d50p-1", + "0x1.4253af4b791c1p-1", + "0x1.3bd81837bf292p-1", + "0x1.34a0d5a8c98bfp-1", + "0x1.2ccd74c3cbfb1p-1", + "0x1.2483b1b7f26ddp-1", + "0x1.1bec290ffdfb3p-1", + "0x1.132f4d905aa29p-1", + "0x1.0a72f1c244638p-1", + "0x1.01d88b5cbc176p-1", + "0x1.f2f863b1a9c8ap-2", + "0x1.e2e87eea4e51dp-2", + "0x1.d3a2dce5d4c06p-2", + "0x1.c53e9306240eap-2", + "0x1.b7c9953e1b777p-2", + "0x1.ab4a16ad6720dp-2", + "0x1.9fbfe47626c4ap-2", + "0x1.9525a1aa89375p-2", + "0x1.8b71d7945bd86p-2", + "0x1.8297d68f6da81p-2", + "0x1.7a8869a2445a1p-2", + "0x1.7332629909803p-2", + "0x1.6c8306502610fp-2", + "0x1.666661a3f3468p-2", + "0x1.60c78f85e62a2p-2", + "0x1.5b90f843252c2p-2", + "0x1.56ac913202fecp-2", + "0x1.520422ca881e3p-2", + "0x1.4d81999dafaf8p-2", + "0x1.490f64aad2163p-2", + "0x1.4498e141761adp-2", + "0x1.400ad20a6ad3ep-2", + "0x1.3b53dc32c261ep-2", + "0x1.3665035498217p-2", + "0x1.31321afb80894p-2", + "0x1.2bb223e323096p-2", + "0x1.25df8b93d0acdp-2", + "0x1.1fb846e1f4568p-2", + "0x1.193dc2eacb55dp-2", + "0x1.1274ac0cb19cep-2", + "0x1.0b648e7686d0cp-2", + "0x1.0417579b3d96bp-2", + "0x1.f93185177d96dp-3", + "0x1.e9eb75297da71p-3", + "0x1.da777eced0924p-3", + "0x1.caf0a96b54d6ap-3", + "0x1.bb7109c4e7720p-3" + ], + "R": [ + "0x1.c9602b67cc723p-3", + "0x1.c1f3ace74081cp-3", + "0x1.baa6e95aa6e81p-3", + "0x1.b37c1bc28f48dp-3", + "0x1.ac746582e0718p-3", + "0x1.a590cc8344d1ep-3", + "0x1.9ed3af10a987bp-3", + "0x1.9842614faa8c4p-3", + "0x1.a6b7bedb9cfbdp-3", + "0x1.9f982351528b5p-3", + "0x1.98d027dd5900fp-3", + "0x1.92747dbd3ba64p-3", + "0x1.8c968136c1a2dp-3", + "0x1.873ef86e156bcp-3", + "0x1.826939a6a6755p-3", + "0x1.7e000b74a77d5p-3", + "0x1.79dd5a8caa5b0p-3", + "0x1.75cd5abb1fd89p-3", + "0x1.71e7af9942632p-3", + "0x1.6d599ebd6db87p-3", + "0x1.682f5ac44a445p-3", + "0x1.624e785455fcep-3", + "0x1.5bbc191efcd15p-3", + "0x1.54a1ba283db92p-3", + "0x1.4d4d46923183fp-3", + "0x1.462bd29d93e55p-3", + "0x1.3fbf0dff7cd2dp-3", + "0x1.3a8e50b3ef649p-3", + "0x1.37150a261661fp-3", + "0x1.35b11a69d5512p-3", + "0x1.3693f2350fe4bp-3", + "0x1.39b9092681c14p-3", + "0x1.3ee345a4ed797p-3", + "0x1.45a19269d601ep-3", + "0x1.4d597d9d46503p-3", + "0x1.5555c5efef213p-3", + "0x1.5cd666e52f0f8p-3", + "0x1.632000b19c861p-3", + "0x1.678928c9c23e3p-3", + "0x1.6984fbb71c508p-3", + "0x1.68aaf165e0c37p-3", + "0x1.64bc59b2b5c61p-3", + "0x1.5da8021f595edp-3", + "0x1.538c643f5748bp-3", + "0x1.46b87431c671cp-3", + "0x1.37aacf749ea5dp-3", + "0x1.270ebf3b3e233p-3", + "0x1.15b6574010067p-3", + "0x1.04910a7710c2ap-3", + "0x1.e93cd59f6be5bp-4", + "0x1.cdbae16158d3ep-4", + "0x1.b87300b0d60b9p-4", + "0x1.aaee709350e04p-4", + "0x1.a64737f76ae71p-4", + "0x1.ab1051902b130p-4", + "0x1.b94b6eee21fbfp-4", + "0x1.d06db91edec18p-4", + "0x1.ef7233b65b3e2p-4", + "0x1.0a7b0b76cceb6p-3", + "0x1.1fad187d4ac01p-3", + "0x1.36722c170ba2dp-3", + "0x1.4dee7a6218ba2p-3", + "0x1.6553184a04491p-3", + "0x1.7be5f616340f1p-3", + "0x1.91066ce276924p-3", + "0x1.a42ef3dba3ccfp-3", + "0x1.b4f4bcfcdbb8dp-3", + "0x1.c305f856434f7p-3", + "0x1.ce27620eca460p-3", + "0x1.d6319961a349fp-3", + "0x1.db0e98229f4e0p-3", + "0x1.dcb78081bc799p-3", + "0x1.db32dbf021cb7p-3", + "0x1.d6935215d4ef9p-3", + "0x1.cef6d08a2803ep-3", + "0x1.c48611fd15bf9p-3", + "0x1.b7746c5f2a025p-3", + "0x1.a7ffc861b315bp-3", + "0x1.9670a0e10a53dp-3", + "0x1.8319e663cee44p-3", + "0x1.6e58a22fdaf6fp-3", + "0x1.5893362ea4527p-3", + "0x1.42381bbada29bp-3", + "0x1.2bbc0c1f1d865p-3", + "0x1.15978a4bc1d13p-3", + "0x1.0043d5ae9fe98p-3", + "0x1.d86ec1bb4ddfep-4", + "0x1.b3c3f37fcef0ep-4", + "0x1.9351c273148c5p-4", + "0x1.77c63618c5d14p-4", + "0x1.61ac822570cc0p-4", + "0x1.51683ba9cef9fp-4", + "0x1.473284196fe96p-4", + "0x1.4319621f62f91p-4", + "0x1.450149c476388p-4", + "0x1.4ca8a037a539fp-4", + "0x1.59acdb85286ffp-4", + "0x1.6b90c17395ee9p-4", + "0x1.81c33d263f52bp-4", + "0x1.9ba64845ded09p-4" + ], + "T": [ + "0x1.bcbda5b908d3dp-13", + "0x1.2f49753f2586ep-12", + "0x1.985c228e8fd84p-12", + "0x1.0f8d74900c97ep-11", + "0x1.64ecc142adc68p-11", + "0x1.cfe0af06ca060p-11", + "0x1.2a34ae9b4b772p-10", + "0x1.7b77eee7caeacp-10", + "0x1.01a70dbfc44a4p-9", + "0x1.41757cb2f8d12p-9", + "0x1.8d7014dcf3ad6p-9", + "0x1.e71b9eebbf31ap-9", + "0x1.2804ee7125d2ap-8", + "0x1.64eb9d1787cbfp-8", + "0x1.ab151d76a17c0p-8", + "0x1.fb5a6b00c70f0p-8", + "0x1.2b4dc9ad06fe5p-7", + "0x1.5ee080ef1e26cp-7", + "0x1.bd8b3ac3d2a4cp-7", + "0x1.01d81c8d1e86fp-6", + "0x1.28de6b4ea0946p-6", + "0x1.5417bb9609777p-6", + "0x1.83bc5130fee88p-6", + "0x1.b7f861424af1bp-6", + "0x1.f0e6a957c6bf4p-6", + "0x1.1745dcff3347ep-5", + "0x1.386993b064a3bp-5", + "0x1.5bc7e7ad3bd0ep-5", + "0x1.814007ce408f7p-5", + "0x1.a8ab0e482fe7ep-5", + "0x1.d1e1e3ef9c64cp-5", + "0x1.fcc41468ff1cbp-5", + "0x1.149f425eb8a7fp-4", + "0x1.2ba87b4ab03aap-4", + "0x1.4388bed04b654p-4", + "0x1.5c56b9b0752cep-4", + "0x1.7633f16d5bfa4p-4", + "0x1.914adc290b6aap-4", + "0x1.adcc1427125d7p-4", + "0x1.cbeadf884ff57p-4", + "0x1.ebd9375eecabep-4", + "0x1.06e1b4f23cf5bp-3", + "0x1.18e5b5f5e3176p-3", + "0x1.2c01fa09a4b61p-3", + "0x1.4035c8bdaed17p-3", + "0x1.55740b2ab6184p-3", + "0x1.6ba16f081888ap-3", + "0x1.8293517b9e85cp-3", + "0x1.9a0fd70d72e05p-3", + "0x1.b1cf8d0104a04p-3", + "0x1.c980ca74b23d0p-3", + "0x1.e0ccc3e732421p-3", + "0x1.f75dec06f7afap-3", + "0x1.06737350b59bbp-2", + "0x1.10948d0503036p-2", + "0x1.19fcf3d4f92eap-2", + "0x1.22a2e666b537fp-2", + "0x1.2a88898ad13a4p-2", + "0x1.31bb16d4b4aeap-2", + "0x1.385121a15ea9bp-2", + "0x1.3e684ed3c4e93p-2", + "0x1.4422df4a6adc2p-2", + "0x1.49a55d2185ac7p-2", + "0x1.4f14a1433c2f4p-2", + "0x1.54944aa476648p-2", + "0x1.5a45a92c59595p-2", + "0x1.60470e7b6e14ep-2", + "0x1.66b36e96c2e18p-2", + "0x1.6da2384b33bcap-2", + "0x1.75274ed907967p-2", + "0x1.7d53124427216p-2", + "0x1.8632682ac5ea6p-2", + "0x1.8fcebb7881722p-2", + "0x1.9a2ded52d12e6p-2", + "0x1.a5523521e27dap-2", + "0x1.b139f0b14f0f1p-2", + "0x1.bddf682c77b83p-2", + "0x1.cb388c49404bep-2", + "0x1.d936b74c55a9ap-2", + "0x1.e7c67b9c158ecp-2", + "0x1.f6cf8c1d8a658p-2", + "0x1.031a65a57f13ap-1", + "0x1.0aea46bbe06a6p-1", + "0x1.12c48c577d911p-1", + "0x1.1a94b467da21cp-1", + "0x1.22451c7af6d44p-1", + "0x1.29bfa61e4a334p-1", + "0x1.30ee741245dcbp-1", + "0x1.37bcb5c00be96p-1", + "0x1.3e177372feef0p-1", + "0x1.43ee4c4a57bbap-1", + "0x1.493417156075cp-1", + "0x1.4ddf597679340p-1", + "0x1.51ea8c80d0386p-1", + "0x1.55542af9d26d4p-1", + "0x1.581e8ab32bf36p-1", + "0x1.5a4f8744fb885p-1", + "0x1.5bf0081dd91dap-1", + "0x1.5d0b6e0062dfcp-1", + "0x1.5daef4860a491p-1" + ], + "cell_absorbed": [ + "0x1.5464ff4bd620ap+51", + "0x1.6dd5bccfd1122p+51", + "0x1.6c482fbaeac35p+55", + "0x1.3394f36bc24dcp+56", + "0x1.00f57a2338ccdp+56", + "0x1.b3695f2046334p+55", + "0x1.7652e6c753ce5p+55", + "0x1.464a68ee4a3d6p+55", + "0x1.1fadb5b442218p+55", + "0x1.feae02db99e1ap+54", + "0x1.c557e1164eb62p+54", + "0x1.9050f9a10c905p+54", + "0x1.607c09da023b3p+54", + "0x1.3b8436f2fece2p+54", + "0x1.28727a05f9fa5p+54", + "0x1.25e897ecdadd7p+54", + "0x1.21d5ffa1bc763p+54", + "0x1.03b1a9da3b1cbp+54", + "0x1.956108df18b53p+53", + "0x1.3a895ff71dc83p+53", + "0x1.4bd9f2b99fab0p+53", + "0x1.b225f46487885p+53", + "0x1.ee6969c3693a9p+52", + "0x1.d8792d45aafd2p+46", + "0x1.b0c402add2741p+46", + "0x1.96b86010388f5p+46", + "0x1.9be07da3f7635p+46", + "0x1.c3dc8d36860f6p+46", + "0x1.fc86276671505p+46", + "0x1.12ce02427f4bdp+47" + ] + } + }, + "trap_profiles": { + "function": "perovskite_sim.physics.traps.{exponential,gaussian}_edge_profile", + "inputs": { + "N_t_bulk": "0x1.5af1d78b58c40p+66", + "N_t_interface": "0x1.52d02c7e14af6p+76", + "lengths": [ + 1e-08, + 4e-07 + ], + "thickness": "0x1.ad7f29abcaf48p-22", + "x_local": [ + "0x0.0p+0", + "0x1.ad7f29abcaf48p-26", + "0x1.ad7f29abcaf48p-25", + "0x1.421f5f40d8376p-24", + "0x1.ad7f29abcaf48p-24", + "0x1.0c6f7a0b5ed8dp-23", + "0x1.421f5f40d8376p-23", + "0x1.77cf44765195fp-23", + "0x1.ad7f29abcaf48p-23", + "0x1.e32f0ee144531p-23", + "0x1.0c6f7a0b5ed8dp-22", + "0x1.27476ca61b882p-22", + "0x1.421f5f40d8376p-22", + "0x1.5cf751db94e6ap-22", + "0x1.77cf44765195fp-22", + "0x1.92a737110e454p-22", + "0x1.ad7f29abcaf48p-22" + ] + }, + "outputs": { + "exponential_both_1e-08": [ + "0x1.52d02c7e14af6p+76", + "0x1.c1f5aea963ee6p+72", + "0x1.4f49a9b8f008ap+69", + "0x1.0d523d3c06f5ep+67", + "0x1.6aae22293aec2p+66", + "0x1.5c3c811e6ae51p+66", + "0x1.5b0cfc515f7a7p+66", + "0x1.5af415c06776dp+66", + "0x1.5af2352e56861p+66", + "0x1.5af415c06776dp+66", + "0x1.5b0cfc515f7a7p+66", + "0x1.5c3c811e6ae51p+66", + "0x1.6aae22293aec2p+66", + "0x1.0d523d3c06f5ap+67", + "0x1.4f49a9b8f008ap+69", + "0x1.c1f5aea963efap+72", + "0x1.52d02c7e14af6p+76" + ], + "exponential_both_4e-07": [ + "0x1.52d02c7e14af6p+76", + "0x1.49b1330f56baep+76", + "0x1.41dbaf8a51004p+76", + "0x1.3b47cbc4589c7p+76", + "0x1.35eef34d4fee3p+76", + "0x1.31cbccdaaa159p+76", + "0x1.2eda34edae476p+76", + "0x1.2d1739afa0c6ap+76", + "0x1.2c8117ffad555p+76", + "0x1.2d1739afa0c6ap+76", + "0x1.2eda34edae476p+76", + "0x1.31cbccdaaa159p+76", + "0x1.35eef34d4fee3p+76", + "0x1.3b47cbc4589c6p+76", + "0x1.41dbaf8a51004p+76", + "0x1.49b1330f56baep+76", + "0x1.52d02c7e14af6p+76" + ], + "exponential_left_1e-08": [ + "0x1.52d02c7e14af6p+76", + "0x1.c1f5aea963ee1p+72", + "0x1.4f49a9b8efea9p+69", + "0x1.0d523d3c013e4p+67", + "0x1.6aae2228af9f6p+66", + "0x1.5c3c8117c9df9p+66", + "0x1.5b0cfc009d862p+66", + "0x1.5af411e89323dp+66", + "0x1.5af2065cd7a51p+66", + "0x1.5af1db632d170p+66", + "0x1.5af1d7dc1ab85p+66", + "0x1.5af1d791f9c98p+66", + "0x1.5af1d78be410dp+66", + "0x1.5af1d78b64333p+66", + "0x1.5af1d78b59b44p+66", + "0x1.5af1d78b58d7cp+66", + "0x1.5af1d78b58c5ap+66" + ], + "exponential_left_4e-07": [ + "0x1.52d02c7e14af6p+76", + "0x1.3e4e598a259adp+76", + "0x1.2b0a98b37a005p+76", + "0x1.18f1a49e32c45p+76", + "0x1.07f162d41969cp+76", + "0x1.eff1a3514f33fp+75", + "0x1.d1efee6bdf87ep+75", + "0x1.b5bfa2c2c4a02p+75", + "0x1.9b448db0e5b27p+75", + "0x1.826431ec319edp+75", + "0x1.6b05ad061fafcp+75", + "0x1.55119e872e21ap+75", + "0x1.4072108c77db9p+75", + "0x1.2d1261cffcfd3p+75", + "0x1.1adf3105a4b4ap+75", + "0x1.09c6497853a76p+75", + "0x1.f36d21a764cabp+74" + ], + "exponential_right_1e-08": [ + "0x1.5af1d78b58c5ap+66", + "0x1.5af1d78b58d7cp+66", + "0x1.5af1d78b59b44p+66", + "0x1.5af1d78b64333p+66", + "0x1.5af1d78be410dp+66", + "0x1.5af1d791f9c98p+66", + "0x1.5af1d7dc1ab85p+66", + "0x1.5af1db632d170p+66", + "0x1.5af2065cd7a51p+66", + "0x1.5af411e89323dp+66", + "0x1.5b0cfc009d862p+66", + "0x1.5c3c8117c9df9p+66", + "0x1.6aae2228af9f6p+66", + "0x1.0d523d3c013e0p+67", + "0x1.4f49a9b8efea9p+69", + "0x1.c1f5aea963ef5p+72", + "0x1.52d02c7e14af6p+76" + ], + "exponential_right_4e-07": [ + "0x1.f36d21a764cabp+74", + "0x1.09c6497853a76p+75", + "0x1.1adf3105a4b4ap+75", + "0x1.2d1261cffcfd3p+75", + "0x1.4072108c77db9p+75", + "0x1.55119e872e21ap+75", + "0x1.6b05ad061fafcp+75", + "0x1.826431ec319edp+75", + "0x1.9b448db0e5b27p+75", + "0x1.b5bfa2c2c4a02p+75", + "0x1.d1efee6bdf87ep+75", + "0x1.eff1a3514f33fp+75", + "0x1.07f162d41969cp+76", + "0x1.18f1a49e32c44p+76", + "0x1.2b0a98b37a005p+76", + "0x1.3e4e598a259adp+76", + "0x1.52d02c7e14af6p+76" + ], + "gaussian_both_1e-08": [ + "0x1.52d02c7e14af6p+76", + "0x1.fc0493a936459p+67", + "0x1.5af1d7dc1ab85p+66", + "0x1.5af1d78b58c40p+66", + "0x1.5af1d78b58c40p+66", + "0x1.5af1d78b58c40p+66", + "0x1.5af1d78b58c40p+66", + "0x1.5af1d78b58c40p+66", + "0x1.5af1d78b58c40p+66", + "0x1.5af1d78b58c40p+66", + "0x1.5af1d78b58c40p+66", + "0x1.5af1d78b58c40p+66", + "0x1.5af1d78b58c40p+66", + "0x1.5af1d78b58c40p+66", + "0x1.5af1d7dc1ab85p+66", + "0x1.fc0493a9364a7p+67", + "0x1.52d02c7e14af6p+76" + ], + "gaussian_both_4e-07": [ + "0x1.2995eca3c411bp+76", + "0x1.33078969a984bp+76", + "0x1.3b54af05f62d2p+76", + "0x1.426efadb4952dp+76", + "0x1.484b5d2c39bdep+76", + "0x1.4ce1a920fb409p+76", + "0x1.502c1ee18354bp+76", + "0x1.5226fdef007d8p+76", + "0x1.52d02c7e14af6p+76", + "0x1.5226fdef007d8p+76", + "0x1.502c1ee18354bp+76", + "0x1.4ce1a920fb409p+76", + "0x1.484b5d2c39bdep+76", + "0x1.426efadb4952dp+76", + "0x1.3b54af05f62d2p+76", + "0x1.33078969a984bp+76", + "0x1.2995eca3c411bp+76" + ], + "gaussian_left_1e-08": [ + "0x1.52d02c7e14af6p+76", + "0x1.fc0493a936459p+67", + "0x1.5af1d7dc1ab85p+66", + "0x1.5af1d78b58c40p+66", + "0x1.5af1d78b58c40p+66", + "0x1.5af1d78b58c40p+66", + "0x1.5af1d78b58c40p+66", + "0x1.5af1d78b58c40p+66", + "0x1.5af1d78b58c40p+66", + "0x1.5af1d78b58c40p+66", + "0x1.5af1d78b58c40p+66", + "0x1.5af1d78b58c40p+66", + "0x1.5af1d78b58c40p+66", + "0x1.5af1d78b58c40p+66", + "0x1.5af1d78b58c40p+66", + "0x1.5af1d78b58c40p+66", + "0x1.5af1d78b58c40p+66" + ], + "gaussian_left_4e-07": [ + "0x1.52d02c7e14af6p+76", + "0x1.517e5c1269069p+76", + "0x1.4d90cc7d1ea27p+76", + "0x1.471ed4864d2d0p+76", + "0x1.3e4e598a259adp+76", + "0x1.33525d18f0953p+76", + "0x1.2669127ba49e0p+76", + "0x1.17d995d4c5bb4p+76", + "0x1.07f162d41969cp+76", + "0x1.ee035676881f8p+75", + "0x1.cab95b5a1988ep+75", + "0x1.a6a657092e5cep+75", + "0x1.826431ec319edp+75", + "0x1.5e813baccf79ep+75", + "0x1.3b7cef0d1eabcp+75", + "0x1.19c58c376a58dp+75", + "0x1.f36d21a764cabp+74" + ], + "gaussian_right_1e-08": [ + "0x1.5af1d78b58c40p+66", + "0x1.5af1d78b58c40p+66", + "0x1.5af1d78b58c40p+66", + "0x1.5af1d78b58c40p+66", + "0x1.5af1d78b58c40p+66", + "0x1.5af1d78b58c40p+66", + "0x1.5af1d78b58c40p+66", + "0x1.5af1d78b58c40p+66", + "0x1.5af1d78b58c40p+66", + "0x1.5af1d78b58c40p+66", + "0x1.5af1d78b58c40p+66", + "0x1.5af1d78b58c40p+66", + "0x1.5af1d78b58c40p+66", + "0x1.5af1d78b58c40p+66", + "0x1.5af1d7dc1ab85p+66", + "0x1.fc0493a9364a7p+67", + "0x1.52d02c7e14af6p+76" + ], + "gaussian_right_4e-07": [ + "0x1.f36d21a764cabp+74", + "0x1.19c58c376a58dp+75", + "0x1.3b7cef0d1eabcp+75", + "0x1.5e813baccf79ep+75", + "0x1.826431ec319edp+75", + "0x1.a6a657092e5cep+75", + "0x1.cab95b5a1988ep+75", + "0x1.ee035676881f8p+75", + "0x1.07f162d41969cp+76", + "0x1.17d995d4c5bb4p+76", + "0x1.2669127ba49e0p+76", + "0x1.33525d18f0953p+76", + "0x1.3e4e598a259adp+76", + "0x1.471ed4864d2d0p+76", + "0x1.4d90cc7d1ea27p+76", + "0x1.517e5c1269069p+76", + "0x1.52d02c7e14af6p+76" + ] + } + } + }, + "purpose": "historical legacy outputs for M-class bitwise / N-class tolerance comparison; not truth", + "schema": "P04LegacyGoldenV1", + "source_sha256": { + "perovskite-sim/perovskite_sim/data/nk/Ag.csv": "4df8c2b7ca90d24be74477bc9e8a27ef83c2e7d42e2885465cdd87c70abbd3f3", + "perovskite-sim/perovskite_sim/data/nk/Au.csv": "f573ae5583ec88e572b97bac5bf4f4629e17ad2d52c5ed7d8afc815d952ee7f1", + "perovskite-sim/perovskite_sim/data/nk/C60.csv": "60f7accc2cb26faac8d041861d1c4be5a15c244480c0e6d920acc980d938a68d", + "perovskite-sim/perovskite_sim/data/nk/Cu.csv": "09fd0124c6d015d975a5eca1e9973b8416f02194e54df2cae63a322fbb013824", + "perovskite-sim/perovskite_sim/data/nk/FA_Cs_1p77.csv": "0ee7387604904b252319a8e538bac101af3dad2b5c8a05b50fa2bda883578013", + "perovskite-sim/perovskite_sim/data/nk/FTO.csv": "481cc65eb23e22cebe924324cbe9f4553a09c53a8f3429d1600fad1c7bd6e1e9", + "perovskite-sim/perovskite_sim/data/nk/ITO.csv": "d75e26ff9979d7db96b45035a3540914a1fb9ca3cf2cde3c3edaead70c3cef2e", + "perovskite-sim/perovskite_sim/data/nk/MAPbI3.csv": "3e5e2b19c5563ba8132ab949270831c0aaa660be38aa26070c364a7414b9f6c7", + "perovskite-sim/perovskite_sim/data/nk/NiOx.csv": "b01357aca6a8eee41b2e22c87ec8ab5be4eca67254becf76af92d268ece8be81", + "perovskite-sim/perovskite_sim/data/nk/PCBM.csv": "b03a78c4b97e2f8472266f4d3b5e7c9e1f23526531edd68b9dc80f95cd91ba56", + "perovskite-sim/perovskite_sim/data/nk/PEDOT_PSS.csv": "0ccca48126dd4d27053e6c154f398c32873d0b935c40a3cda5672979cd578eb3", + "perovskite-sim/perovskite_sim/data/nk/SnO2.csv": "f3ba07ff715ceca647099c67eb478bad1281e0cb20d9118591f9b566938bafa2", + "perovskite-sim/perovskite_sim/data/nk/SnPb_1p22.csv": "29ab6df37a81e4425cbcaba4ea11df94e2117a0228ebd3a39fe38a9ca7d2799f", + "perovskite-sim/perovskite_sim/data/nk/TiO2.csv": "d0773f2042cff4819d432fd07fbc560f2f894afa51fe2dc42f54aa4db24b2de6", + "perovskite-sim/perovskite_sim/data/nk/glass.csv": "767eeb506dab6f90722a61178649b5c59eb767a915a759db8d30b9160b8d452d", + "perovskite-sim/perovskite_sim/data/nk/spiro_OMeTAD.csv": "45d4eff61f7be07371ce089b7d665bd670bf4e05e2c2950baab8592a9adccd31", + "perovskite-sim/tests/fixtures/configs/ionmonger_benchmark.yaml": "fbc82c9b85d121c459ab08d07d1c7f886eef36f4db669d354b79d260f43c8750", + "perovskite-sim/tests/fixtures/configs/ionmonger_benchmark_tmm.yaml": "09728fba308a206b3bdcd0874fdfc1775ac125dcfa42d10f70e9db8887c46fea", + "perovskite_sim/constants.py": "9ae428b44bbe5f475b638d9c3339e69930249e2b1c39ba0acbfd0764fcaade76", + "perovskite_sim/data/__init__.py": "60cca7d1762c831541e6c5b744668e8550d846f807be868cefcff5805a46a1b6", + "perovskite_sim/data/am15g.csv": "efa3f5ef4e71fbbd981e2741c296ee461b2421f50fa4819ba64a6cb026fae6a8", + "perovskite_sim/discretization/fe_operators.py": "b3ab0cf0054d5aa1ec7e5fcd27b93d2ed09b137d043080a0310a219d3ff1154f", + "perovskite_sim/discretization/grid.py": "7d3ff321c2609efd51a41f29fc7936ba09914ff684f25322a11b8776cf96bfbb", + "perovskite_sim/experiments/jv_sweep.py": "428fbe1c421192e2495ac94fa171df42f2be94dca7733b7a5ab2e07a9628ef96", + "perovskite_sim/models/device.py": "abedb9e39655a5b54997968a7bfa4d1664b7493475dc8e7c55fffa68195330b9", + "perovskite_sim/physics/generation.py": "862c097f31bb5bab0e7585a4c361e0e7116010f652d7b6345a9a0de80caeac65", + "perovskite_sim/physics/optical_stack.py": "ef897393af20ce1a3a096e6db2d3a9b3482ca590ad71a294057124ceb6746543", + "perovskite_sim/physics/optics.py": "de249b529cbbb1681a886b971e500d442fd3a74cbc48fd97e471cef84bcbe656", + "perovskite_sim/physics/physical_control_volume.py": "7ab20365a9f857169a8b9e2beb3a00c5129440e934e7f9875595c85413dec245", + "perovskite_sim/physics/poisson.py": "cc59b0210f019561cfea8903cf7c0c968f4d31ceefffaca6092d09286b02bed5", + "perovskite_sim/physics/recombination.py": "ec52279e65616a916c586818d3b6bec9ebe1bb7040a4a451e85e5785222726b9", + "perovskite_sim/physics/traps.py": "2b4a2e6aee8471963fa392f295fb805c92a720340d77a757db2702bb65c7c2e6", + "perovskite_sim/solver/mol.py": "1c02ff41356cfaf75245e3e9e3a0101064d43a766e9e416053ea1e75ef54b61a", + "perovskite_sim/twod/continuity_2d.py": "706f356e8ee40c2de1b5aa52b70bfa3b99911dbb2b1e92c1b4371aa57e75e870", + "perovskite_sim/twod/poisson_2d.py": "bfb1a98beb235d923a10da172bc77501a21b18faa0ea74865ec78a5b021fe25d" + } +} diff --git a/tests/independent/p04/p04_adapter.py b/tests/independent/p04/p04_adapter.py new file mode 100644 index 00000000..9bb50827 --- /dev/null +++ b/tests/independent/p04/p04_adapter.py @@ -0,0 +1,734 @@ +"""Thin adapter between the R3 oracles and the new P04 implementation. + +This is the ONLY file in ``tests/independent/p04`` that may touch the new +``solarlab`` P04-01 / P04-07 code. The P04-01 hooks are wired (review R3-2) +to the public API W3a delivered on devel b1f953c (uncommitted worktree files): +``solarlab.discretization`` (+ its explicitly imported N modules +``stable_bernoulli`` and ``particle_flux``), ``solarlab.mesh`` and +``solarlab.physics.electrostatics``. Only names exported in a module's +``__all__`` are used; no private helper is called. The P04-07 hooks are +wired (review R3-3) to W3b's ``solarlab.physics.recombination`` and +``solarlab.physics.generation``; legacy code is used here only to prepare +the inputs of a recorded golden case (stack, material alpha, n-k), never +for an expected value. + +Wiring rules: + +1. Call only the published public API; convert units and signs here, never + in the tests. Oracle conventions: SI units, +x directed particle fluxes, + electrons z = -1, holes z = +1. +2. ``CHANGE_CLASS`` records the author's declared class (V1 Section 1.2) per + capability; the review verifies each declaration independently. +3. Where W3a ships both an M (historical) and an N (new arithmetic) variant, + the tests run both as separate subjects (``candidate_m`` / ``candidate_n``). +""" + +from __future__ import annotations + +import importlib +from typing import Any + +import numpy as np +import pytest + +AWAITING = "awaiting interface" +NOT_OFFERED = "not offered by the reviewed API" + +#: Author-declared change class per capability (W3a Report section 1 and 7, +#: verified in R3/ReviewW3a/ReviewV1.md; W3b Report section 5 and +#: Task2/P0407SplitN1.md, verified in R3/ReviewW3b/ReviewV1.md). +CHANGE_CLASS: dict[str, str | None] = { + "bernoulli": "M", # solarlab.discretization.bernoulli* + "bernoulli_stable": "N", # stable_bernoulli.bernoulli_pair + "scharfetter_gummel": "M", # legacy_sg_current_{n,p}[_jacobian] + "sg_particle_flux": "N", # particle_flux.sg_particle_flux + "face_average": "M", + "poisson_1d": "M", # PoissonOperator1D / PoissonFactorization + "gauss_term_sink": "N", # gauss_assembly.gauss_balance_with_term_sink + "control_volumes": "M", + "substrate_alignment": "M", + "bulk_recombination": "M", # BulkRecombinationReaction (finite lifetimes) + "srh_blocked_leg_tangent": "N", # N1: tau = +inf SRH partials NaN -> exact 0 + "trap_profile": "M", # {exponential,gaussian}_edge_profile + "beer_lambert": "M", # beer_lambert_generation on a named geometry + "tmm": "M", # transfer_matrix kernels + OpticalStackBinding +} + +#: Golden outputs with no new counterpart, with the reason (reported, not hidden). +GOLDEN_NOT_MIGRATED: dict[tuple[str, str], str] = { + ("poisson_layered", "phi_spsolve"): ( + "legacy physics.poisson.solve_poisson (scipy spsolve fallback, not on any hot path) " + "has no new counterpart; the LAPACK prefactored path is migrated"), + ("bl_ionmonger_benchmark_N30", "alpha_node"): ( + "per-node alpha is an output of the legacy material build (build_material_arrays), " + "which is outside P04-07; the candidate consumes the legacy-built alpha as its input"), +} + + +def _awaiting(capability: str) -> Any: + pytest.skip(f"{AWAITING}: {capability}") + + +def _public(module: str, name: str) -> Any: + """Return a published name; skip if the module is absent, fail if not public. + + A missing module (e.g. the N-class modules on an M-only commit) skips as + "awaiting interface"; a name outside the module's ``__all__`` is a review + failure, because the adapter may only use the published API. + """ + + try: + mod = importlib.import_module(module) + except ModuleNotFoundError: + pytest.skip(f"{AWAITING}: {module} is not present") + if name not in getattr(mod, "__all__", ()): + raise AssertionError(f"{module}.{name} is not in the published __all__") + return getattr(mod, name) + + +def change_class(capability: str) -> str: + value = CHANGE_CLASS.get(capability) + if value is None: + pytest.skip(f"{AWAITING}: change class (M/N/P) for {capability}") + if value not in ("M", "N", "P"): + raise AssertionError(f"invalid change class {value!r} for {capability}") + return value + + +Q_LEGACY = 1.602176634e-19 + +#: Oracle geometry ids (p04_oracle_geometry) -> W3a published names. +def _geometry_name(oracle_id: str) -> str: + HALF_ENDPOINT_V1 = _public("solarlab.mesh", "HALF_ENDPOINT_V1") + INTEGER_ENDPOINT_V1 = _public("solarlab.mesh", "INTEGER_ENDPOINT_V1") + PHYSICAL_BOUNDARY_TWO_SIDED_V1 = _public("solarlab.mesh", "PHYSICAL_BOUNDARY_TWO_SIDED_V1") + TWO_SIDED_TRACE_V1 = _public("solarlab.mesh", "TWO_SIDED_TRACE_V1") + + table = { + "legacy_1d_integer_endpoint_v1": INTEGER_ENDPOINT_V1, + "legacy_2d_half_endpoint_v1": HALF_ENDPOINT_V1, + "r1_physical_boundary_two_sided_v1": PHYSICAL_BOUNDARY_TWO_SIDED_V1, + "qf_two_sided_trace_v1": TWO_SIDED_TRACE_V1, + } + return table[oracle_id] + + +# ---------------------------------------------------------------- P04-01 + + +def bernoulli(x: np.ndarray) -> np.ndarray: + """Historical element-wise B(x) (W3a M kernel).""" + + kernel = _public("solarlab.discretization", "bernoulli") + + return np.asarray(kernel(np.asarray(x, dtype=float))) + + +def bernoulli_derivative(x: np.ndarray) -> np.ndarray: + """Historical element-wise B'(x) (W3a M kernel).""" + + kernel = _public("solarlab.discretization", "bernoulli_derivative") + + return np.asarray(kernel(np.asarray(x, dtype=float))) + + +def bernoulli_stable(x: np.ndarray) -> np.ndarray: + """B(x) from the stable pair (W3a N kernel ``bernoulli_pair(x).forward``).""" + + bernoulli_pair = _public("solarlab.discretization.stable_bernoulli", "bernoulli_pair") + + return np.asarray(bernoulli_pair(np.asarray(x, dtype=float)).forward) + + +def bernoulli_derivative_stable(x: np.ndarray) -> np.ndarray: + """B'(x) from the stable pair (``bernoulli_pair(x).forward_derivative``).""" + + bernoulli_pair = _public("solarlab.discretization.stable_bernoulli", "bernoulli_pair") + + return np.asarray(bernoulli_pair(np.asarray(x, dtype=float)).forward_derivative) + + +def _energy_step(psi: np.ndarray, V_T: float, z: int) -> np.ndarray: + # W3a: D = potential-energy rise left->right in V_T units = z * dpsi / V_T. + psi = np.asarray(psi, dtype=float) + return z * ((psi[1:] - psi[:-1]) / V_T) + + +def sg_particle_flux( + psi: np.ndarray, c: np.ndarray, h: np.ndarray, D: np.ndarray | float, V_T: float, z: int +) -> np.ndarray: + """N variant: unified particle flux F = k (B(s) c_L - B(-s) c_R), k = D/h.""" + + kernel = _public("solarlab.discretization.particle_flux", "sg_particle_flux") + + c = np.asarray(c, dtype=float) + k = np.asarray(D, dtype=float) / np.asarray(h, dtype=float) + return np.asarray(kernel(c[:-1], c[1:], _energy_step(psi, V_T, z), k).flux) + + +def sg_particle_flux_jacobian( + psi: np.ndarray, c: np.ndarray, h: np.ndarray, D: np.ndarray | float, V_T: float, z: int +) -> dict[str, np.ndarray]: + """N variant derivatives; dF/dpsi_{i+1} = z * dF/ds / V_T = -dF/dpsi_i.""" + + kernel = _public("solarlab.discretization.particle_flux", "sg_particle_flux") + + c = np.asarray(c, dtype=float) + k = np.asarray(D, dtype=float) / np.asarray(h, dtype=float) + out = kernel(c[:-1], c[1:], _energy_step(psi, V_T, z), k) + d_psi_right = z * np.asarray(out.energy_step_derivative) / V_T + return { + "flux": np.asarray(out.flux), + "d_c_left": np.asarray(out.left_density_derivative), + "d_c_right": np.asarray(out.right_density_derivative), + "d_psi_left": -d_psi_right, + "d_psi_right": d_psi_right, + } + + +def sg_particle_flux_historical( + psi: np.ndarray, c: np.ndarray, h: np.ndarray, D: np.ndarray | float, V_T: float, z: int +) -> np.ndarray: + """M variant: historical electrical current converted, F_n = -J_n/q, F_p = J_p/q.""" + + legacy_sg_current_n = _public("solarlab.discretization", "legacy_sg_current_n") + legacy_sg_current_p = _public("solarlab.discretization", "legacy_sg_current_p") + + if z == -1: + return -np.asarray(legacy_sg_current_n(psi, c, h, D, V_T)) / Q_LEGACY + return np.asarray(legacy_sg_current_p(psi, c, h, D, V_T)) / Q_LEGACY + + +def sg_particle_flux_jacobian_historical( + psi: np.ndarray, c: np.ndarray, h: np.ndarray, D: np.ndarray | float, V_T: float, z: int +) -> dict[str, np.ndarray]: + legacy_sg_current_n_jacobian = _public("solarlab.discretization", "legacy_sg_current_n_jacobian") + legacy_sg_current_p_jacobian = _public("solarlab.discretization", "legacy_sg_current_p_jacobian") + + sign, jac = (-1.0, legacy_sg_current_n_jacobian) if z == -1 else (1.0, legacy_sg_current_p_jacobian) + j = jac(psi, c, h, D, V_T) + return { + "flux": sign * np.asarray(j.flux) / Q_LEGACY, + "d_c_left": sign * np.asarray(j.density_left_derivative) / Q_LEGACY, + "d_c_right": sign * np.asarray(j.density_right_derivative) / Q_LEGACY, + "d_psi_left": sign * np.asarray(j.potential_left_derivative) / Q_LEGACY, + "d_psi_right": sign * np.asarray(j.potential_right_derivative) / Q_LEGACY, + } + + +def harmonic_face_mean(left: np.ndarray, right: np.ndarray, variant: str = "guarded") -> np.ndarray: + """Face mean of each (left, right) pair. + + ``guarded``: ``guarded_harmonic_face_mean`` (transport channel with zero + conductivity preserved); ``poisson``: ``harmonic_mean`` (Poisson eps + channel, positive inputs only). + """ + + guarded_harmonic_face_mean = _public("solarlab.discretization", "guarded_harmonic_face_mean") + harmonic_mean = _public("solarlab.discretization", "harmonic_mean") + + left = np.asarray(left, dtype=float) + right = np.asarray(right, dtype=float) + if variant == "poisson": + return np.asarray(harmonic_mean(left, right)) + interleaved = np.stack([left, right]).T.ravel() + return np.asarray(guarded_harmonic_face_mean(interleaved))[::2] + + +def geometry_names() -> tuple[str, ...]: + GEOMETRY_NAMES = _public("solarlab.mesh", "GEOMETRY_NAMES") + + return tuple(GEOMETRY_NAMES) + + +def build_geometry(geometry: str, x: np.ndarray, interfaces: tuple[float, ...] = ()) -> Any: + builder = _public("solarlab.mesh", "build_geometry") + + return builder(_geometry_name(geometry), np.asarray(x, dtype=float), tuple(interfaces)) + + +def control_volume_widths( + geometry: str, x: np.ndarray, interfaces: tuple[float, ...] = () +) -> np.ndarray: + """``ControlVolumeGeometry1D.cell_measures_m`` of the named geometry.""" + + return np.asarray(build_geometry(geometry, x, interfaces).cell_measures_m) + + +def _layer_planes(thicknesses: tuple[float, ...]) -> tuple[float, ...]: + ElectricalStack = _public("solarlab.mesh", "ElectricalStack") + StackLayer = _public("solarlab.mesh", "StackLayer") + + stack = ElectricalStack.from_layers( + [StackLayer(f"layer{k}", t, "electrical") for k, t in enumerate(thicknesses)]) + return stack.interface_positions_m + + +def _poisson_operator(geometry: str, x: np.ndarray, thicknesses: tuple[float, ...], + eps_r: tuple[float, ...]): + RIGHT_LAYER_WINS = _public("solarlab.mesh", "RIGHT_LAYER_WINS") + node_owner = _public("solarlab.mesh", "node_owner") + PoissonOperator1D = _public("solarlab.physics.electrostatics", "PoissonOperator1D") + + planes = _layer_planes(thicknesses) + geom = build_geometry(geometry, x, planes) + owner = node_owner(np.asarray(x, dtype=float), thicknesses, RIGHT_LAYER_WINS) + eps_node = np.asarray(eps_r, dtype=float)[owner] + return geom, owner, eps_node, PoissonOperator1D.for_geometry(geom, eps_node) + + +def _solve_affine(residual, n: int) -> np.ndarray: + """The residual is affine in phi: solve J phi = -r(0), then one correction.""" + + from scipy.sparse.linalg import spsolve + + J = residual.jacobian + phi = np.asarray(spsolve(J, -residual(np.zeros(n)))) + return phi - np.asarray(spsolve(J, residual(phi))) + + +def poisson_solve( + geometry: str, + x: np.ndarray, + thicknesses: tuple[float, ...], + eps_r: tuple[float, ...], + rho_C_m3: tuple[float, ...], + sheet_charge_C_m2: tuple[float, ...], + phi_left: float, + phi_right: float, +) -> np.ndarray: + """Nodal potential from ``PoissonOperator1D.residual``/``jacobian``. + + Layer-wise eps/rho are assigned with the MoL ``RIGHT_LAYER_WINS`` owner; + a sheet charge on a two-sided geometry enters through the eliminated + Gauss jump (``add_sheet_charge_to_interior_residual``). + """ + + add_sheet_charge_to_interior_residual = _public("solarlab.physics.electrostatics", "add_sheet_charge_to_interior_residual") + + x = np.asarray(x, dtype=float) + geom, owner, eps_node, op = _poisson_operator(geometry, x, thicknesses, eps_r) + rho_node = np.asarray(rho_C_m3, dtype=float)[owner] + sheets = np.asarray(sheet_charge_C_m2, dtype=float) + if np.any(sheets != 0.0) and not geom.interfaces or ( + np.any(sheets != 0.0) and any(p.shared_node is not None for p in geom.interfaces)): + pytest.skip(f"{AWAITING}: sheet charge on a shared-node geometry ({geometry})") + + def residual(phi): + rows = np.array(op.residual(phi, rho_node, phi_left, phi_right)) + if np.any(sheets != 0.0): + interior = rows[1:-1].copy() + add_sheet_charge_to_interior_residual(interior, geom.interfaces, eps_node, sheets) + rows[1:-1] = interior + return rows + + residual.jacobian = op.jacobian() # type: ignore[attr-defined] + return _solve_affine(residual, x.size) + + +def poisson_solve_manufactured( + geometry: str, + x: np.ndarray, + thicknesses: tuple[float, ...], + eps_r: tuple[float, ...], + rho_of_x: Any, + exact_cell_charge_C_m2: np.ndarray, + phi_left: float, + phi_right: float, +) -> np.ndarray: + """Manufactured source fed as the exact cell charge (rho_i = Q_i / w_i).""" + + x = np.asarray(x, dtype=float) + geom, _, _, op = _poisson_operator(geometry, x, thicknesses, eps_r) + rho_node = np.asarray(exact_cell_charge_C_m2, dtype=float) / np.asarray(geom.cell_measures_m) + + def residual(phi): + return np.asarray(op.residual(phi, rho_node, phi_left, phi_right)) + + residual.jacobian = op.jacobian() # type: ignore[attr-defined] + return _solve_affine(residual, x.size) + + +def poisson_vacuum_permittivity() -> float: + VACUUM_PERMITTIVITY_F_M = _public("solarlab.discretization", "VACUUM_PERMITTIVITY_F_M") + + return float(VACUUM_PERMITTIVITY_F_M) + + +def gauss_balance(geometry: str, x: np.ndarray, thicknesses: tuple[float, ...], + eps_r: tuple[float, ...], phi: np.ndarray, rho_node: np.ndarray) -> np.ndarray: + """N variant: Gauss balance through the public TermSink (all N rows).""" + + gauss_balance_with_term_sink = _public("solarlab.physics.electrostatics.gauss_assembly", "gauss_balance_with_term_sink") + + geom, _, _, op = _poisson_operator(geometry, np.asarray(x, dtype=float), thicknesses, eps_r) + return np.asarray(gauss_balance_with_term_sink(op, geom, phi, rho_node)) + + +def poisson_operator(geometry: str, x: np.ndarray, thicknesses: tuple[float, ...], + eps_r: tuple[float, ...]) -> Any: + return _poisson_operator(geometry, np.asarray(x, dtype=float), thicknesses, eps_r) + + +def electrical_interface_alignment( + roles: tuple[str, ...], thicknesses: tuple[float, ...] +) -> tuple[tuple[int, ...], tuple[float, ...]]: + """(full-stack interface indices, positions [m]) from ``ElectricalStack``.""" + + ElectricalStack = _public("solarlab.mesh", "ElectricalStack") + StackLayer = _public("solarlab.mesh", "StackLayer") + + stack = ElectricalStack.from_layers( + [StackLayer(f"layer{k}", t, role) for k, (role, t) in enumerate(zip(roles, thicknesses))]) + indices = tuple(stack.full_interface_index(j) for j in range(stack.interface_count)) + return indices, tuple(stack.interface_positions_m) + + +# ---------------------------------------------------------------- P04-07 + + +def bulk_recombination( + n: np.ndarray, + p: np.ndarray, + params: Any, + channels: tuple[str, ...] = ("srh", "radiative", "auger"), +) -> tuple[np.ndarray, np.ndarray, np.ndarray]: + """(rate, dR/dn, dR/dp) for the requested channels only. + + ``params`` is ``p04_oracle_recombination.BulkParameters``. One + ``BulkRecombinationReaction`` instance evaluates every channel; the full + set returns its ``total``, a subset sums only the requested channel terms + with the published ``sum_recombination_rates`` (an unlisted channel adds + nothing, not a zero-coefficient term). + """ + + evaluation = _reaction(np.asarray(n, dtype=float).size, params).evaluate( + np.asarray(n, dtype=float), np.asarray(p, dtype=float)) + if tuple(channels) == ("srh", "radiative", "auger"): + term = evaluation.total + else: + sum_recombination_rates = _public("solarlab.physics.recombination", "sum_recombination_rates") + term = sum_recombination_rates(*(getattr(evaluation, c) for c in channels)) + return term.rate, term.d_rate_dn, term.d_rate_dp + + +def _coefficients(node_count: int, params: Any, **override: Any) -> Any: + BulkRecombinationCoefficients = _public("solarlab.physics.recombination", "BulkRecombinationCoefficients") + + values = dict(ni_sq_m6=params.ni_sq, tau_n_s=params.tau_n, tau_p_s=params.tau_p, n1_m3=params.n1, + p1_m3=params.p1, radiative_m3_s=params.B_rad, auger_n_m6_s=params.C_n, + auger_p_m6_s=params.C_p) + values.update(override) + return BulkRecombinationCoefficients(node_count, **values) + + +def _reaction(node_count: int, params: Any, explicit: Any = None, **override: Any) -> Any: + BulkRecombinationReaction = _public("solarlab.physics.recombination", "BulkRecombinationReaction") + + return BulkRecombinationReaction(_coefficients(node_count, params, **override), explicit) + + +def bulk_recombination_terms( + n: np.ndarray, p: np.ndarray, params: Any, **per_node: np.ndarray +) -> dict[str, tuple[np.ndarray, np.ndarray, np.ndarray]]: + """Per-channel and total (rate, dR/dn, dR/dp); ``per_node`` overrides + coefficients with per-node arrays (e.g. ``tau_n_s`` containing +inf).""" + + n_arr = np.asarray(n, dtype=float) + evaluation = _reaction(n_arr.size, params, **per_node).evaluate(n_arr, np.asarray(p, dtype=float)) + return {name: (t.rate, t.d_rate_dn, t.d_rate_dp) + for name, t in (("srh", evaluation.srh), ("radiative", evaluation.radiative), + ("auger", evaluation.auger), ("total", evaluation.total))} + + +def bulk_recombination_evaluation( + n: np.ndarray, p: np.ndarray, params: Any, +) -> Any: + """The public reaction evaluation, including its explicit domain predicate.""" + + n_arr = np.asarray(n, dtype=float) + return _reaction(n_arr.size, params).evaluate(n_arr, np.asarray(p, dtype=float)) + + +def bulk_recombination_with_explicit_defect( + n: np.ndarray, + p: np.ndarray, + params: Any, + explicit_nodes: np.ndarray, + defect_tau_n: float, + defect_tau_p: float, + defect_n1: float, + defect_p1: float, +) -> np.ndarray: + """Total bulk rate when an explicit neutral defect owns ``explicit_nodes``. + + One ``NeutralDefectSpecies`` (n1/p1 zero off its nodes, as the legacy + compiler stores them) in a ``NeutralExplicitDefectModel`` that owns + exactly ``explicit_nodes``, bound into the same reaction instance. + """ + + NeutralDefectSpecies = _public("solarlab.physics.recombination", "NeutralDefectSpecies") + NeutralExplicitDefectModel = _public("solarlab.physics.recombination", "NeutralExplicitDefectModel") + + mask = np.asarray(explicit_nodes, dtype=bool) + digest = "c3" * 32 + species = NeutralDefectSpecies("layer[0]/r3_defect", digest, mask, float(defect_tau_n), float(defect_tau_p), + np.where(mask, float(defect_n1), 0.0), np.where(mask, float(defect_p1), 0.0)) + model = NeutralExplicitDefectModel((species,), mask, (("layer[0]", digest),)) + n_arr = np.asarray(n, dtype=float) + return _reaction(n_arr.size, params, model).evaluate(n_arr, np.asarray(p, dtype=float)).total.rate + + +def trap_profile( + shape: str, x_local: np.ndarray, thickness: float, N_if: float, N_bulk: float, + length: float, edge: str, +) -> np.ndarray: + """N_t(x) [m^-3] for ``shape`` in {"exponential", "gaussian"}. + + The migrated historical kernels (they keep the ``length <= 0`` sentinel). + """ + + name = {"exponential": "exponential_edge_profile", "gaussian": "gaussian_edge_profile"}[shape] + kernel = _public("solarlab.physics.recombination", name) + return kernel(np.asarray(x_local, dtype=float), thickness, N_if, N_bulk, length, edge) + + +def trap_profile_binding(shape: str, x_local: np.ndarray, thickness: float, N_if: float, N_bulk: float, + length: float, edge: str, tau_n: Any, tau_p: Any) -> Any: + """``TrapProfile(...).bind(...)``: (trap density, tau_n, tau_p) per node.""" + + TrapProfile = _public("solarlab.physics.recombination", "TrapProfile") + + binding = TrapProfile(N_if, N_bulk, length, shape=shape, edge=edge).bind( + np.asarray(x_local, dtype=float), thickness, tau_n, tau_p) + return binding.trap_density_m3, binding.tau_n_s, binding.tau_p_s + + +def beer_lambert_generation( + geometry: str, + x: np.ndarray, + alpha_node: np.ndarray, + Phi: float, + incidence: str = "left", + interfaces: tuple[float, ...] = (), +) -> tuple[np.ndarray, np.ndarray]: + """(G per node [m^-3 s^-1], control-volume weights [m]) for monochromatic BL. + + ``interfaces`` are the material planes a two-sided geometry needs. The + reviewed API illuminates the first node only (``INCIDENCE_SIDES`` is + front-only, the single existing direction); a back-side request is not + emulated here by mirroring, because that would test the adapter. + """ + + if incidence != "left": + pytest.skip(f"{NOT_OFFERED}: back-side (x = L) incidence; the reviewed P04-07 API is front-only") + beer_lambert_generation = _public("solarlab.physics.generation", "beer_lambert_generation") + + cv = build_geometry(geometry, x, interfaces) + G = beer_lambert_generation(cv, np.asarray(alpha_node, dtype=float), Phi) + return np.asarray(G), np.asarray(cv.cell_measures_m) + + +def tmm_reflect_transmit_absorb( + wavelengths_m: np.ndarray, + layers: list[tuple[np.ndarray, float]], + n_ambient: float, + n_substrate: complex, +) -> tuple[np.ndarray, np.ndarray, np.ndarray]: + """(R, T, A per layer (M, n_wl)) at normal incidence. + + R, T from ``tmm_reflectance`` / ``tmm_transmittance``; A_k as the + difference of ``tmm_cumulative_absorptance`` across layer k's planes. + """ + + tmm_reflectance = _public("solarlab.physics.generation", "tmm_reflectance") + tmm_transmittance = _public("solarlab.physics.generation", "tmm_transmittance") + tmm_cumulative_absorptance = _public("solarlab.physics.generation", "tmm_cumulative_absorptance") + + wl = np.asarray(wavelengths_m, dtype=float) + tmm, bounds = _tmm_layers(wl, layers) + R = tmm_reflectance(tmm, wl, n_ambient, n_substrate) + T = tmm_transmittance(tmm, wl, n_ambient, n_substrate) + C = tmm_cumulative_absorptance(tmm, wl, bounds, bounds, n_ambient, n_substrate) + return np.asarray(R), np.asarray(T), np.diff(np.asarray(C), axis=0) + + +def _tmm_layers(wl: np.ndarray, layers: list[tuple[Any, float]]) -> tuple[list[Any], np.ndarray]: + TMMLayer = _public("solarlab.physics.generation", "TMMLayer") + + out = [] + for N, d in layers: + N = np.broadcast_to(np.asarray(N, dtype=complex), wl.shape) + out.append(TMMLayer(d=float(d), n=np.real(N).copy(), k=np.imag(N).copy())) + return out, np.concatenate(([0.0], np.cumsum([float(d) for _, d in layers]))) + + +def tmm_cell_absorbed_photons( + wavelengths_m: np.ndarray, + spectral_flux: np.ndarray, + layers: list[tuple[np.ndarray, float]], + faces_m: np.ndarray, +) -> np.ndarray: + """Absorbed photons per cell [m^-2 s^-1] between consecutive ``faces_m``. + + ``tmm_absorbed_photon_flux_per_cell`` (ambient and exit index 1). + """ + + tmm_absorbed_photon_flux_per_cell = _public("solarlab.physics.generation", "tmm_absorbed_photon_flux_per_cell") + + wl = np.asarray(wavelengths_m, dtype=float) + tmm, bounds = _tmm_layers(wl, layers) + return np.asarray(tmm_absorbed_photon_flux_per_cell( + tmm, wl, np.asarray(spectral_flux, dtype=float), np.asarray(faces_m, dtype=float), bounds, 1.0, 1.0)) + + +def optical_binding( + wavelengths_nm: np.ndarray, + spectral_flux: np.ndarray, + layers: list[tuple[str, Any, float, bool, bool]], + *, + ambient_index: float = 1.0, + exit_index: float = 1.0, + dependencies: Any = (), + source_id: str = "r3-synthetic", +) -> Any: + """``OpticalStackBinding`` from (name, N complex, thickness, incoherent, electrical).""" + + OpticalLayerSpec = _public("solarlab.physics.generation", "OpticalLayerSpec") + OpticalStackBinding = _public("solarlab.physics.generation", "OpticalStackBinding") + SpectralPhotonFlux = _public("solarlab.physics.generation", "SpectralPhotonFlux") + + wl_nm = np.asarray(wavelengths_nm, dtype=float) + specs = [] + for name, N, d, incoherent, electrical in layers: + N = np.broadcast_to(np.asarray(N, dtype=complex), wl_nm.shape) + specs.append(OpticalLayerSpec(name, float(d), np.real(N).copy(), np.imag(N).copy(), incoherent, electrical)) + spectrum = SpectralPhotonFlux(wl_nm, np.asarray(spectral_flux, dtype=float), source_id) + return OpticalStackBinding(tuple(specs), spectrum, ambient_index=ambient_index, exit_index=exit_index, + dependencies=dependencies) + + +def stale_profile_error() -> type: + return _public("solarlab.physics.generation", "StaleGenerationProfileError") + + +def tmm_photon_budget(binding: Any) -> dict[str, Any]: + """Integrated photon budget [m^-2 s^-1] of an ``optical_binding``.""" + + budget = binding.photon_budget() + return { + "incident": budget.incident_m2_s, "reflected": budget.reflected_m2_s, + "transmitted": budget.transmitted_m2_s, "electrical": budget.electrical_absorbed_m2_s, + "parasitic": budget.parasitic_absorbed_m2_s, "layers": np.asarray(budget.layer_absorbed_m2_s), + "closure": np.asarray(budget.spectral_closure_residual()), + } + + +def optical_generation(binding: Any, geometry: str, x: np.ndarray, + interfaces: tuple[float, ...] = ()) -> tuple[np.ndarray, np.ndarray, Any]: + """(G, weights, GenerationProfile) of a binding on a named geometry.""" + + cv = build_geometry(geometry, x, interfaces) + profile = binding.generation_profile(cv) + return np.asarray(profile.source_m3_s), np.asarray(cv.cell_measures_m), profile + + +def golden_case(case_id: str, inputs: dict[str, Any]) -> dict[str, np.ndarray]: + """Evaluate a recorded golden case on the new implementation (P04-01 cases).""" + + def hx(values): + return np.array([float.fromhex(v) for v in values]) + + if case_id == "bernoulli": + x = hx(inputs["x"]) + return {"B": bernoulli(x), "dB": bernoulli_derivative(x)} + if case_id == "sg_jacobian": + legacy_sg_current_n_jacobian = _public("solarlab.discretization", "legacy_sg_current_n_jacobian") + legacy_sg_current_p_jacobian = _public("solarlab.discretization", "legacy_sg_current_p_jacobian") + + phi, dens, dx = hx(inputs["phi"]), hx(inputs["density"]), hx(inputs["dx"]) + D, VT = float.fromhex(inputs["D"]), float.fromhex(inputs["V_T"]) + out = {} + for s, fn in (("n", legacy_sg_current_n_jacobian), ("p", legacy_sg_current_p_jacobian)): + j = fn(phi, dens, dx, D, VT) + for f in ("flux", "density_left_derivative", "density_right_derivative", + "potential_left_derivative", "potential_right_derivative"): + out[f"{s}_{f}"] = np.asarray(getattr(j, f)) + return out + if case_id == "poisson_layered": + PoissonFactorization = _public("solarlab.physics.electrostatics", "PoissonFactorization") + PoissonOperator1D = _public("solarlab.physics.electrostatics", "PoissonOperator1D") + + x, eps, rho = hx(inputs["x"]), hx(inputs["eps_r_node"]), hx(inputs["rho"]) + op = PoissonOperator1D.from_harmonic_nodes(x, eps) + phi = PoissonFactorization.factor(op).solve( + rho, float.fromhex(inputs["phi_left"]), float.fromhex(inputs["phi_right"])) + return {"phi_prefactored": np.asarray(phi)} + if case_id in ("bl_synthetic", "bl_ionmonger_benchmark_N30", "tmm_ionmonger_benchmark_tmm_N30"): + return _golden_generation(case_id, inputs, hx) + if case_id == "tmm_synthetic_three_layer": + tmm_reflectance = _public("solarlab.physics.generation", "tmm_reflectance") + tmm_transmittance = _public("solarlab.physics.generation", "tmm_transmittance") + tmm_cumulative_absorptance = _public("solarlab.physics.generation", "tmm_cumulative_absorptance") + flux_per_cell = _public("solarlab.physics.generation", "tmm_absorbed_photon_flux_per_cell") + TMMLayer = _public("solarlab.physics.generation", "TMMLayer") + + wl, faces, d = hx(inputs["wavelength_m"]), hx(inputs["faces"]), hx(inputs["d"]) + layers = [TMMLayer(d=float(dk), n=np.full(wl.size, float(nk)), k=hx(kk)) + for nk, kk, dk in zip(inputs["n"], inputs["k"], d)] + bounds = np.concatenate(([0.0], np.cumsum(d))) + flux = np.full(wl.size, float.fromhex(inputs["spectral_flux"])) + return {"R": tmm_reflectance(layers, wl, 1.0, 1.5), "T": tmm_transmittance(layers, wl, 1.0, 1.5), + "C_faces": tmm_cumulative_absorptance(layers, wl, faces, bounds, 1.0, 1.5), + "cell_absorbed": flux_per_cell(layers, wl, flux, faces, bounds, 1.0, 1.5)} + if case_id == "recombination_total": + from p04_oracle_recombination import BulkParameters + + par = BulkParameters(*(float.fromhex(inputs[k]) for k in + ("ni_sq", "tau_n", "tau_p", "n1", "p1", "B_rad", "C_n", "C_p"))) + rate, dn, dp = bulk_recombination(hx(inputs["n"]), hx(inputs["p"]), par) + return {"rate": rate, "d_n": dn, "d_p": dp} + if case_id == "trap_profiles": + xl = hx(inputs["x_local"]) + args = (float.fromhex(inputs["thickness"]), float.fromhex(inputs["N_t_interface"]), + float.fromhex(inputs["N_t_bulk"])) + return {f"{shape}_{edge}_{length:.0e}": trap_profile(shape, xl, *args, length, edge) + for shape in ("exponential", "gaussian") for edge in ("both", "left", "right") + for length in inputs["lengths"]} + return _awaiting(f"golden case {case_id}") + + +def _golden_generation(case_id: str, inputs: dict[str, Any], hx: Any) -> dict[str, np.ndarray]: + """BL / TMM golden cases; legacy code only prepares the recorded inputs.""" + + from pathlib import Path + + import p04_legacy as legacy + + x = hx(inputs["x"]) + if case_id == "bl_synthetic": + G, w = beer_lambert_generation("legacy_1d_integer_endpoint_v1", x, hx(inputs["alpha_node"]), + float.fromhex(inputs["Phi"])) + return {"G": G, "dual_cell_widths": w} + stack = legacy.device_fixture(Path(inputs["config"]).name) + if case_id == "bl_ionmonger_benchmark_N30": + from perovskite_sim.solver.mol import build_material_arrays + + alpha = build_material_arrays(x, stack).alpha # input preparation (material build) + G, w = beer_lambert_generation("legacy_1d_integer_endpoint_v1", x, alpha, float.fromhex(inputs["Phi"])) + else: + from perovskite_sim.physics.optical_stack import build_device_optical_stack + + OpticalLayerSpec = _public("solarlab.physics.generation", "OpticalLayerSpec") + OpticalStackBinding = _public("solarlab.physics.generation", "OpticalStackBinding") + SpectralPhotonFlux = _public("solarlab.physics.generation", "SpectralPhotonFlux") + + wl_nm = np.linspace(300.0, 1000.0, 200) # the window _compute_tmm_generation models + table = np.loadtxt(legacy.LEGACY_PACKAGE / "data" / "am15g.csv", delimiter=",", comments="#") + spectrum = SpectralPhotonFlux.from_table(table[:, 0], table[:, 1], wl_nm, source_id="ASTM-G173-03") + optical = build_device_optical_stack(stack, wl_nm) # input preparation (n, k per slice) + specs = tuple(OpticalLayerSpec(layer.name, t.d, t.n, t.k, t.incoherent, layer.role != "substrate") + for layer, part in zip(stack.layers, optical.physical_layer_slices) + for t in optical.layers[part]) + G, w, _ = optical_generation(OpticalStackBinding(specs, spectrum), "legacy_1d_integer_endpoint_v1", x) + return {"G": G, "q_sum_G_w_A_m2": np.array([Q_LEGACY * np.sum(G * w)])} diff --git a/tests/independent/p04/p04_capture_golden.py b/tests/independent/p04/p04_capture_golden.py new file mode 100644 index 00000000..bc310c5c --- /dev/null +++ b/tests/independent/p04/p04_capture_golden.py @@ -0,0 +1,224 @@ +"""Capture the P04 legacy golden fixture (historical reference, not truth). + +Run from the repository root to (re)write the fixture:: + + OMP_NUM_THREADS=1 OPENBLAS_NUM_THREADS=1 \\ + .venv/bin/python tests/independent/p04/p04_capture_golden.py --write + +``capture_cases()`` is also imported by ``test_p04_legacy_golden.py`` to +prove the stored fixture is reproduced bit-for-bit by the legacy engine at +the recorded source digests. Floats are stored as ``float.hex`` strings so +an M-class comparison can be bitwise. Inputs are deterministic constants; +the two device cases read the shipped fixtures +``perovskite-sim/tests/fixtures/configs/ionmonger_benchmark{,_tmm}.yaml``. +""" + +from __future__ import annotations + +import json +import subprocess +import sys +from pathlib import Path + +import numpy as np + +_HERE = Path(__file__).resolve().parent +if str(_HERE) not in sys.path: + sys.path.insert(0, str(_HERE)) + +import p04_legacy as legacy # noqa: E402 + +FIXTURE = _HERE / "fixtures" / "P04LegacyGoldenV1.json" +SCHEMA = "P04LegacyGoldenV1" +Q = 1.602176634e-19 + +BERNOULLI_X = tuple( + sorted( + {0.0, 1e-300, -1e-300, 701.0, 710.0, 745.0} + | {s * v for v in (1e-12, 1e-8, 9.999e-5, 1e-4, 1e-2, 0.05, 0.5, 1.0, 2.0, 10.0, 50.0, + 100.0, 699.0, 700.0, 1e3) for s in (1.0, -1.0)} + ) +) +THICKNESSES = (200e-9, 400e-9, 100e-9) +EPS_R = (3.0, 24.1, 10.0) +ALPHA = (0.0, 1.3e7, 0.0) +INTERVALS = (20, 40, 15) + + +def hexes(values) -> list[str]: + return [float(v).hex() for v in np.asarray(values, dtype=float).ravel()] + + +def from_hex(values: list[str]) -> np.ndarray: + return np.array([float.fromhex(v) for v in values]) + + +def _layered_grid() -> np.ndarray: + g = legacy.grid() + return g.multilayer_grid([g.Layer(d, n) for d, n in zip(THICKNESSES, INTERVALS)]) + + +def _right_owner(x: np.ndarray) -> np.ndarray: + import p04_oracle_geometry as geo + + return geo.right_owner_layer_index(x, THICKNESSES) + + +def capture_cases() -> dict[str, dict]: + fe, poi, gen, rec, trp, opt = ( + legacy.fe_operators(), legacy.poisson(), legacy.generation(), + legacy.recombination(), legacy.traps(), legacy.optics(), + ) + cases: dict[str, dict] = {} + + x = np.array(BERNOULLI_X) + with np.errstate(all="ignore"): + cases["bernoulli"] = { + "function": "perovskite_sim.discretization.fe_operators.bernoulli/bernoulli_derivative", + "inputs": {"x": hexes(x)}, + "outputs": {"B": hexes(fe.bernoulli(x)), "dB": hexes(fe.bernoulli_derivative(x))}, + } + + phi = np.array([0.0, 0.013, -0.2, -0.21, 0.4, 0.38, 1.1]) + dens = np.array([1e10, 3e12, 1e22, 5e21, 2e3, 7e5, 1e24]) + dx = np.array([1e-9, 3e-9, 2e-9, 5e-9, 1e-9, 4e-9]) + D, VT = 1.7e-4, 0.025851999786435 + jn = fe.sg_fluxes_n_jacobian(phi, dens, dx, D, VT) + jp = fe.sg_fluxes_p_jacobian(phi, dens, dx, D, VT) + cases["sg_jacobian"] = { + "function": "perovskite_sim.discretization.fe_operators.sg_fluxes_{n,p}_jacobian (electric current A/m^2)", + "inputs": {"phi": hexes(phi), "density": hexes(dens), "dx": hexes(dx), "D": float(D).hex(), "V_T": float(VT).hex()}, + "outputs": { + f"{s}_{f}": hexes(getattr(j, f)) + for s, j in (("n", jn), ("p", jp)) + for f in ("flux", "density_left_derivative", "density_right_derivative", + "potential_left_derivative", "potential_right_derivative") + }, + } + + xg = _layered_grid() + owner = _right_owner(xg) + eps_node = np.array(EPS_R)[owner] + rho = Q * 1e22 * np.sin(2 * np.pi * xg / xg[-1]) + fac = poi.factor_poisson(xg, eps_node) + cases["poisson_layered"] = { + "function": "perovskite_sim.physics.poisson.solve_poisson / solve_poisson_prefactored", + "inputs": {"x": hexes(xg), "eps_r_node": hexes(eps_node), "rho": hexes(rho), + "phi_left": 0.0.hex(), "phi_right": (1.1).hex()}, + "outputs": {"phi_spsolve": hexes(poi.solve_poisson(xg, eps_node, rho, 0.0, 1.1)), + "phi_prefactored": hexes(poi.solve_poisson_prefactored(fac, rho, 0.0, 1.1))}, + } + + alpha_node = np.array(ALPHA)[owner] + G = gen.beer_lambert_generation(xg, alpha_node, 1.4e21) + cases["bl_synthetic"] = { + "function": "perovskite_sim.physics.generation.beer_lambert_generation", + "inputs": {"x": hexes(xg), "alpha_node": hexes(alpha_node), "Phi": (1.4e21).hex()}, + "outputs": {"G": hexes(G), "dual_cell_widths": hexes(gen.dual_cell_widths(xg))}, + } + + from perovskite_sim.solver.mol import _compute_tmm_generation, build_material_arrays + + stack = legacy.device_fixture("ionmonger_benchmark.yaml") + xd = legacy.electrical_grid(stack, 30) + mat = build_material_arrays(xd, stack) + Gd = gen.beer_lambert_generation(xd, mat.alpha, stack.Phi) + w = gen.dual_cell_widths(xd) + cases["bl_ionmonger_benchmark_N30"] = { + "function": "build_material_arrays(...).alpha + beer_lambert_generation (fixture ionmonger_benchmark.yaml)", + "inputs": {"config": "perovskite-sim/tests/fixtures/configs/ionmonger_benchmark.yaml", "N_grid": 30, + "x": hexes(xd), "Phi": float(stack.Phi).hex()}, + "outputs": {"G": hexes(Gd), "alpha_node": hexes(mat.alpha), + "q_sum_G_w_A_m2": float(Q * np.sum(Gd * w)).hex()}, + } + + stack_t = legacy.device_fixture("ionmonger_benchmark_tmm.yaml") + xt = legacy.electrical_grid(stack_t, 30) + Gt = _compute_tmm_generation(xt, stack_t) + wt = gen.dual_cell_widths(xt) + cases["tmm_ionmonger_benchmark_tmm_N30"] = { + "function": "perovskite_sim.solver.mol._compute_tmm_generation (fixture ionmonger_benchmark_tmm.yaml; " + "200 wavelengths 300-1000 nm, AM1.5G)", + "inputs": {"config": "perovskite-sim/tests/fixtures/configs/ionmonger_benchmark_tmm.yaml", "N_grid": 30, + "x": hexes(xt)}, + "outputs": {"G": hexes(Gt), "q_sum_G_w_A_m2": float(Q * np.sum(Gt * wt)).hex()}, + } + + n_wl = 100 + wl_nm = np.linspace(350, 750, n_wl) + wl = wl_nm * 1e-9 + k_list = (np.where(wl_nm < 380, 0.05, 0.001), 0.4 * np.exp(-(wl_nm - 400) / 150), + np.where(wl_nm < 420, 0.02, 0.001)) + n_list = (2.4, 2.5, 1.8) + d_list = (50e-9, 400e-9, 150e-9) + layers = [opt.TMMLayer(d=d, n=np.full(n_wl, n), k=k) for n, k, d in zip(n_list, k_list, d_list)] + bounds = np.concatenate(([0.0], np.cumsum(d_list))) + faces = np.linspace(0.0, bounds[-1], 31) + S, _ = opt._transfer_matrix_stack(layers, wl, 1.0, 1.5) + cases["tmm_synthetic_three_layer"] = { + "function": "perovskite_sim.physics.optics tmm_reflectance/_transfer_matrix_stack/tmm_cumulative_absorptance/" + "tmm_absorbed_photon_flux_per_cell (n_ambient=1, n_substrate=1.5)", + "inputs": {"wavelength_m": hexes(wl), "n": list(n_list), "k": [hexes(k) for k in k_list], + "d": hexes(d_list), "faces": hexes(faces), "spectral_flux": (3e24).hex()}, + "outputs": { + "R": hexes(opt.tmm_reflectance(layers, wl, 1.0, 1.5)), + "T": hexes(1.5 * np.abs(1.0 / S[:, 0, 0]) ** 2), + "C_faces": hexes(opt.tmm_cumulative_absorptance(layers, wl, faces, bounds, 1.0, 1.5)), + "cell_absorbed": hexes(opt.tmm_absorbed_photon_flux_per_cell( + layers, wl, np.full(n_wl, 3e24), faces, bounds, 1.0, 1.5)), + }, + } + + n_arr = np.array([1e10, 2.89e10, 1e20, 1e22, 1e23, 5.3e15]) + p_arr = np.array([1e22, 2.89e10, 1e20, 1e10, 1e23, 7.1e18]) + par = dict(ni_sq=2.89e10**2, tau_n=3e-9, tau_p=3e-7, n1=2.89e10, p1=2.89e10, + B_rad=4e-17, C_n=2.8e-41, C_p=9.9e-42) + tot = rec.total_recombination_derivatives( + n_arr, p_arr, par["ni_sq"], par["tau_n"], par["tau_p"], par["n1"], par["p1"], + par["B_rad"], par["C_n"], par["C_p"]) + cases["recombination_total"] = { + "function": "perovskite_sim.physics.recombination.total_recombination_derivatives", + "inputs": {"n": hexes(n_arr), "p": hexes(p_arr), **{k: float(v).hex() for k, v in par.items()}}, + "outputs": {"rate": hexes(tot.rate), "d_n": hexes(tot.electron_density_derivative), + "d_p": hexes(tot.hole_density_derivative)}, + } + + xl = np.linspace(0.0, 400e-9, 17) + outs = {} + for shape, fn in (("exponential", trp.exponential_edge_profile), ("gaussian", trp.gaussian_edge_profile)): + for edge in ("both", "left", "right"): + for length in (10e-9, 400e-9): + outs[f"{shape}_{edge}_{length:.0e}"] = hexes(fn(xl, 400e-9, 1e23, 1e20, length, edge)) + cases["trap_profiles"] = { + "function": "perovskite_sim.physics.traps.{exponential,gaussian}_edge_profile", + "inputs": {"x_local": hexes(xl), "thickness": (400e-9).hex(), "N_t_interface": (1e23).hex(), + "N_t_bulk": (1e20).hex(), "lengths": [10e-9, 400e-9]}, + "outputs": outs, + } + return cases + + +def fixture_document() -> dict: + head = subprocess.run( + ["git", "-C", str(legacy.REPO_ROOT), "rev-parse", "HEAD"], + capture_output=True, text=True, check=True, + ).stdout.strip() + extra = tuple( + legacy.LEGACY_CONFIGS / name for name in ("ionmonger_benchmark.yaml", "ionmonger_benchmark_tmm.yaml") + ) + tuple(sorted((legacy.LEGACY_PACKAGE / "data" / "nk").glob("*.csv"))) + return { + "schema": SCHEMA, + "purpose": "historical legacy outputs for M-class bitwise / N-class tolerance comparison; not truth", + "captured_at_commit": head, + "source_sha256": legacy.source_digests(extra), + "cases": capture_cases(), + } + + +if __name__ == "__main__": + if "--write" not in sys.argv: + raise SystemExit("pass --write to overwrite " + str(FIXTURE)) + with np.errstate(all="ignore"): + document = fixture_document() + FIXTURE.write_text(json.dumps(document, indent=1, sort_keys=True) + "\n") + print(f"wrote {FIXTURE} ({len(document['cases'])} cases)") diff --git a/tests/independent/p04/p04_gates.py b/tests/independent/p04/p04_gates.py new file mode 100644 index 00000000..44c34278 --- /dev/null +++ b/tests/independent/p04/p04_gates.py @@ -0,0 +1,248 @@ +"""Frozen GateSpec registry for the R3 independent P04-01 / P04-07 oracles. + +Every acceptance number used by ``tests/independent/p04`` is declared here, +before any W3a/W3b candidate output exists, with the fields V1 Section 14.3 +requires (ID, quantity/unit, scope, reference identity, norm, absolute and +relative limits, fixed scale, mask, zero/weak-signal rule, reference error, +independent source, version). A gate with a missing field is invalid +(``test_p04_gates.py`` enforces this). Tolerances are derived from IEEE-754 +binary64 rounding analyses or exact identities -- never from the candidate. +Changing a value is a prospective GateSpec revision (new ``version``) that +needs independent review before the affected run. +""" + +from __future__ import annotations + +from dataclasses import asdict, dataclass, fields + +import numpy as np + +EPS = float(np.finfo(float).eps) # 2.220446049250313e-16 + + +@dataclass(frozen=True) +class OracleGate: + gate_id: str + task: str + quantity: str + unit: str + scope: str + reference: str + norm: str + abs_limit: float + rel_limit: float + scale: str + mask: str + zero_rule: str + reference_error: str + source: str + version: str = "V1" + + +_G = OracleGate +GATES: tuple[OracleGate, ...] = ( + # ------------------------------------------------------------- P04-01 + _G("P0401-BERN-VAL", "P04-01", "Bernoulli B(x)", "1", "binary64 |x| <= 700", + "p04_oracle_bernoulli.bernoulli_hp (100 digits)", "max relative", 0.0, 4 * EPS, + "|B_ref(x)|", "finite x", "B > 0 on the scope; no zero branch", + "< 1e-90 relative (decimal, exact input)", + "definition B=x/(e^x-1); Scharfetter-Gummel 1969"), + _G("P0401-BERN-TAIL", "P04-01", "Bernoulli B(x) far tail", "1", + "700 < x <= 1e5 (B < 7e-302) and -1e5 <= x < -700", + "bernoulli_hp", "max abs (x>700); max relative (x<-700)", 1e-300, 4 * EPS, + "|B_ref| for x<-700", "finite x", + "x>700: 0 <= B <= 1e-300 accepted (historical zero branch, deviation LD-01)", + "< 1e-90 relative", "definition; physically inert (density ratio e^700 unreachable)"), + _G("P0401-BERN-IDENT", "P04-01", "B(-x) - B(x) - x", "1", "0 < x <= 700", + "exact identity (I1)", "max abs, exact rational evaluation of the float outputs", + 0.0, 2.0, "ulp(B(-x)) (rel_limit counts ulps)", "finite x", + "large branch must be recovered by stable addition; B(50) must not vanish", + "exact", "identity B(-x)=x+B(x); V1 P04-01 step 3"), + _G("P0401-DBERN-VAL", "P04-01", "Bernoulli derivative B'(x)", "1", "|x| <= 700", + "bernoulli_derivative_hp", "max relative", 1e-300, 1e-11, "|B'_ref(x)|", + "finite x", "B'(0) = -1/2 exactly; abs floor only where |B'| < 1e-300", + "< 1e-90 relative", + "definition; legacy measured 3.3e-12 (2 eps/|x| cancellation at the 1e-4 switch)"), + _G("P0401-DBERN-IDENT", "P04-01", "B'(-x) + B'(x) + 1", "1", "0 < x <= 700", + "exact identity (I2)", "max abs", 1e-11, 0.0, "1 (dimensionless)", "finite x", + "none", "exact", "derivative of (I1)"), + _G("P0401-DBERN-SHAPE", "P04-01", "B' range and monotonicity", "1", "|x| <= 1e5", + "convexity of B", "pointwise", 0.0, 0.0, "n/a", "sorted finite grid", + "-1 <= B' <= 0, non-decreasing in x, B'(0) == -0.5", "exact", "B'' > 0"), + _G("P0401-SG-EQ", "P04-01", "SG particle flux at Boltzmann equilibrium", "m^-2 s^-1", + "1D faces, |xi| <= 200, electrons and holes", + "c = c0 exp(-z psi/V_T) (exact zero flux)", + "per face |F| / ((D/h)(B(z xi)c_i + B(-z xi)c_{i+1}))", 0.0, 8.0, + "8 eps (16 + |psi_i/V_T| + |psi_{i+1}/V_T| + |xi|) (rel_limit is the factor)", + "all faces", "weak signal: referred to the SG leg sum, never to |F|", + "rounding bound derived in p04_oracle_bernoulli.sg_equilibrium_bound", + "B(-y)/B(y) = e^y"), + _G("P0401-SG-VAL", "P04-01", "SG particle flux value", "m^-2 s^-1", + "1D faces, |xi| <= 200", "sg_particle_flux_hp (100 digits)", + "per face |F - F_ref| / leg sum", 0.0, 64 * EPS, "(D/h)(B(z xi)c_i + B(-z xi)c_{i+1})", + "all faces", "leg-sum scale (cancellation-aware)", "< 1e-90", + "equation (SG)"), + _G("P0401-SG-JAC", "P04-01", "SG flux derivatives d/dc_i, d/dc_{i+1}, d/dpsi_i, d/dpsi_{i+1}", + "m^-2 s^-1 per unit", "1D faces, |xi| <= 200", + "analytic (SG) derivative with bernoulli_hp / bernoulli_derivative_hp", + "per entry relative to |entry| + leg-derivative scale", 0.0, 1e-10, + "|d_ref| + (D/h)(|B'(z xi)|c_i + |B'(-z xi)|c_{i+1})/V_T for psi entries", + "all faces", "golden equality never substitutes for this check", "< 1e-80", + "differentiation of (SG); validated against decimal central differences"), + _G("P0401-FACE-MEAN", "P04-01", "harmonic face mean (eps, D)", "as input", + "positive and zero nodal values", "2ab/(a+b) = exact series of two half cells", + "relative", 0.0, 4 * EPS, "|exact|", "all faces", + "a = 0 or b = 0 must give exactly 0 (no NaN)", "exact rational", "series resistance"), + _G("P0401-POI-EXACT", "P04-01", "Poisson potential, exactly representable cases", "V", + "piecewise linear (series capacitor, sheet charge) and single-layer uniform charge, " + "non-uniform meshes", "p04_oracle_electrostatics.layered_constant_charge_solution", + "max abs over nodes", 1e-10, 0.0, "max(1 V, max|phi_exact|) (abs_limit multiplies it)", + "all nodes", "gauge fixed by the two Dirichlet values", "exact closed form", + "secant slope of a quadratic = midpoint derivative; constant D"), + _G("P0401-POI-CAP", "P04-01", "series capacitance from discrete faces", "F m^-2", + "charge-free layered dielectric", "1/sum d_k/(eps0 eps_k)", "relative", 0.0, 1e-13, + "C_exact", "all faces", "none", "fsum, < 1e-15", + "series capacitor"), + _G("P0401-POI-GEOM", "P04-01", "historical 1D effective-plane shift", "V", + "legacy_1d_integer_endpoint_v1 channel", "exact solution of the structure with planes at " + "x_I - h_{I-1}/2", "max abs over nodes", 1e-10, 0.0, "max(1 V, max|phi|)", + "all nodes", "the unshifted analytic must differ by >= 100 x the limit (discrimination)", + "exact", "right-owner node rule + harmonic face mean (solver/mol.py, physics/poisson.py)"), + _G("P0401-POI-MMS", "P04-01", "observed convergence order (max nodal error)", "1", + "manufactured D = F0 cos(pi x/L) + F1, 3 layers, eps contrast 3/24.1/10, non-uniform " + "nested refinement x2", "ManufacturedPoisson.potential", "log2 ratio of max errors", + 0.0, 1.8, "finest refinement pair (rel_limit = required minimum order)", + "all nodes", "historical channel with eps contrast is expected first order: " + "0.8 <= p <= 1.5 recorded as geometry difference, not an algorithm failure", + "closed form", "Roache MMS; standard FV truncation analysis"), + _G("P0401-GAUSS-JUMP", "P04-01", "Gauss jump D+ - D- at an interface sheet charge", "C m^-2", + "two-sided trace with a zero-volume interface node", "sigma", "relative", 0.0, 1e-12, + "|sigma| + |D|", "interface faces", "sigma = 0 must give continuity", "exact", + "div D = rho; V1 P04-01 step 4"), + _G("P0401-GAUSS-SINK", "P04-01", "TermSink Gauss balance vs algebraic residual", "C m^-2", + "N-class TermSink assembly, interior and contact rows", "oracle FV residual with the " + "operator's own C and w; Gauss over the end cells", "per row |a - b| / row abs-sum", + 0.0, 8 * EPS, "sum of absolute terms of the row", "all rows", + "contact rows are a physical D only for geometric contact cells", + "exact", "added V1 at review R3-2 before the candidate was evaluated"), + _G("P0401-MEAS", "P04-01", "total control-volume measure", "m (1D), m^2 (2D)", + "each named geometry", "expected_total_measure closed forms", "abs of fsum difference", + 0.0, 1e-14, "L (1D) or L_x L_y (2D)", "all cells", + "historical 1D total is L + (h_0 + h_last)/2 by definition", "exact", + "geometry definitions in p04_oracle_geometry"), + _G("P0401-LAYER-MEAS", "P04-01", "per-material measure (R1 two-sided)", "m", + "r1_physical_boundary_two_sided_v1", "layer thickness", "relative", 0.0, 1e-14, "d_k", + "cells of each material", "none", "exact", "physical_cell_faces definition"), + _G("P0401-SUBSTRATE", "P04-01", "substrate-prefix interface alignment", "index, m", + "stacks with 0..2 substrate layers", "electrical_alignment", "exact index; relative position", + 0.0, 1e-15, "position", "electrical interfaces", + "no electrical interface may map to a substrate boundary", "exact", + "models/device.py electrical_interfaces contract (E10.1 regression)"), + _G("P0401-PORT", "P04-01", "port outward flux and conservation", "m^-2 s^-1 x area", + "uniform face flux", "outward normals -x (left), +x (right)", "exact", 0.0, 0.0, + "n/a", "ports", "left + right outward = 0 for divergence-free flux", "exact", + "V1 Section 15.1 TerminalPort normal/area"), + # ------------------------------------------------------------- P04-07 + _G("P0407-REC-EQ", "P04-07", "net SRH / radiative / Auger rate at equilibrium", "m^-3 s^-1", + "n p = ni^2 (exactly representable and rounded)", "0 exactly", + "|R| / gross", 0.0, 8 * EPS, "gross = (n p + ni^2) x channel coefficient", + "all nodes", "weak signal: gross scale; exactly representable inputs give 0.0 on the " + "historical formula (bitwise M expectation)", "exact rational", + "detailed balance"), + _G("P0407-REC-VAL", "P04-07", "bulk rate value", "m^-3 s^-1", + "MB lifetime SRH, B, Auger, 1e-30..1e30 m^-3", "p04_oracle_recombination (Fraction)", + "|R - R_ref| / (|R_ref| + gross)", 0.0, 8 * EPS, "|R_ref| + gross", "all inputs", + "gross scale near equilibrium", "exact", "Shockley-Read-Hall; standard B, Auger laws"), + _G("P0407-REC-DER", "P04-07", "bulk rate derivatives dR/dn, dR/dp", "s^-1", + "as REC-VAL", "exact rational derivative", "|d - d_ref| / (|d_ref| + gross_d)", + 0.0, 32 * EPS, "|d_ref| + gross_d", "all inputs", + "derivatives are checked independently of any golden", "exact", "analytic differentiation"), + _G("P0407-REC-LIMIT", "P04-07", "low/high injection limits", "1", "p-type, Delta/p0 <= 1e-6; " + "n = p >= 1e6 n1", "exact closed-form ratio", "|ratio - 1|", 8 * EPS, 2.0, + "closed-form asymptotic error, e.g. (Delta + p1 + (tau_p/tau_n)(n0 + Delta + n1))/p0 " + "(rel_limit is the factor on it)", "n/a", "none", "exact", + "R -> Delta/tau_n, Delta/(tau_n+tau_p), B p0 Delta, B Delta^2, C_p p0^2 Delta, (C_n+C_p) Delta^3"), + _G("P0407-REC-ZERO", "P04-07", "disabled channel identity", "m^-3 s^-1", + "B = 0, C_n = C_p = 0, absent SRH instance", "0.0", "bitwise", 0.0, 0.0, "n/a", + "all nodes", "disabled channel adds exactly 0.0 to rate and both derivatives; NaN forbidden", + "exact", "V1 P04-07 acceptance 'zero channel strict identity'"), + _G("P0407-REC-NODOUBLE", "P04-07", "explicit defect replaces lifetime SRH", "m^-3 s^-1", + "explicit-defect nodes", "explicit species rate only", "as REC-VAL", 0.0, 8 * EPS, + "|R_ref| + gross", "explicit nodes; lifetime nodes unchanged", + "a 2x rate (double count) is a failure regardless of tolerance", "exact", + "V1 P04-07 step 1"), + _G("P0407-TRAP", "P04-07", "trap density profile and tau(x)", "m^-3, s", + "exponential/gaussian, edge both/left/right", "p04_oracle_recombination.*_ref", + "relative", 0.0, 16 * EPS, "|N_t|", "layer nodes", + "L_d <= 0 or sigma <= 0 -> uniform bulk exactly; tau floor at N_bulk", + "closed form", "physics/traps.py documented semantics (F-05 normalisation)"), + _G("P0407-BL-TELE", "P04-07", "discrete absorbed photons sum_i G_i w_i", "m^-2 s^-1", + "any mesh", "Phi (1 - exp(-tau_d,total)) of the declared discrete optical depth", + "relative", 0.0, 1e-14, "Phi (1 - exp(-tau))", "all nodes", "Phi = 0 -> exactly 0", + "exact", "telescoping; legacy RTOL_FP provenance (tests/unit/physics/test_generation.py)"), + _G("P0407-BL-BOUND", "P04-07", "photon ceiling", "m^-2 s^-1", "any mesh, any alpha >= 0", + "Phi", "strict inequality sum G w <= Phi", 0.0, 0.0, "n/a", "all nodes", + "no tolerance", "exact", "photon conservation"), + _G("P0407-BL-LAYER", "P04-07", "per-layer absorbed photons (monochromatic BL)", "m^-2 s^-1", + "control volumes aligned with material planes", "equation (BL)", "relative", 0.0, 1e-13, + "A_k", "cells of each layer", "non-absorbing layer: exactly 0", "closed form", + "Beer-Lambert"), + _G("P0407-BL-DIR", "P04-07", "incidence direction", "m^-3 s^-1", "same stack lit from x=L", + "mirrored stack lit from x=0", "relative", 0.0, 1e-14, "max G", "all nodes", "none", + "exact symmetry", "V1 P04-07 step 3"), + _G("P0407-TMM-RTA", "P04-07", "R + T + sum_k A_k - 1", "1", "coherent stack, normal incidence", + "independent TMM (Poynting and closed-form |E|^2 integral)", "max abs over wavelength", + 1e-12, 0.0, "1", "all wavelengths", "lossless stack: sum A_k = 0 exactly up to 1e-15", + "< 1e-14", "Born & Wolf 1.6; Byrnes arXiv:1603.02720"), + _G("P0407-TMM-CLOSED", "P04-07", "closed-form R, T", "1", + "Fresnel interface, Airy slab, quarter-wave AR, half-wave absentee", "closed forms", + "max abs", 1e-14, 0.0, "1", "all wavelengths", "QWOT R must be <= 1e-28", "exact", + "thin-film optics"), + _G("P0407-TMM-BUDGET", "P04-07", "device photon budget", "m^-2 s^-1", + "spectral TMM with electrical + parasitic layers", "incident = R + T + A_elec + A_parasitic", + "relative", 0.0, 1e-12, "incident photon flux", "all layers", + "parasitic (substrate/junction) absorption never enters G", "exact", + "V1 P04-07 step 3"), + _G("P0407-UNITS", "P04-07", "spectral unit conversion", "m^-2 s^-1 m^-1", + "W m^-2 nm^-1 -> photons per m", "Phi = E 1e9 lambda/(h c)", "relative", 0.0, 4 * EPS, + "|Phi|", "all wavelengths", "per-nm vs per-m differs by exactly 1e9", "exact", + "SI exact h, c; data/am15g.csv header"), + _G("P0407-TMM-CELL", "P04-07", "TMM per-cell absorbed photons", "m^-2 s^-1", + "dual cells, any mesh", "independent closed-form cumulative absorptance x spectral " + "trapezoid", "relative", 0.0, 1e-11, "max cell value", "all cells", + "sum telescopes to the electrical absorbed budget", "< 1e-13", + "solver/mol.py _compute_tmm_generation semantics"), + # ------------------------------------------------------------- golden + _G("P04-GOLDEN-M", "P04-01/P04-07", "historical arrays", "as recorded", + "M-class migration of a recorded case", "fixtures/P04LegacyGoldenV1.json (legacy " + "b1f953c)", "bitwise (float.hex equality)", 0.0, 0.0, "n/a", "all entries", + "-0.0 vs 0.0 counts as a difference only if signbit differs", "exact", + "V1 Section 1.2 M row"), + _G("P04-GOLDEN-N", "P04-01/P04-07", "historical arrays", "as recorded", + "N-class replacement of a recorded case", "fixtures/P04LegacyGoldenV1.json", + "per entry |new-old| <= abs + rel |old|", 0.0, 1e-12, "|old|", "all entries", + "golden agreement alone never passes a case: every oracle gate must pass too", + "legacy is a historical reference, not truth", "V1 Section 1.2 N row"), +) + + +def gate(gate_id: str) -> OracleGate: + for item in GATES: + if item.gate_id == gate_id: + return item + raise KeyError(gate_id) + + +def as_records() -> list[dict[str, object]]: + return [asdict(item) for item in GATES] + + +def missing_fields(item: OracleGate) -> list[str]: + out = [] + for f in fields(OracleGate): + value = getattr(item, f.name) + if isinstance(value, str) and not value.strip(): + out.append(f.name) + if isinstance(value, float) and not np.isfinite(value): + out.append(f.name) + return out diff --git a/tests/independent/p04/p04_legacy.py b/tests/independent/p04/p04_legacy.py new file mode 100644 index 00000000..7ca89c9f --- /dev/null +++ b/tests/independent/p04/p04_legacy.py @@ -0,0 +1,121 @@ +"""Read-only access to the legacy engine as the historical comparison. + +The legacy package (``perovskite-sim/perovskite_sim``) is never edited by +this suite. Every legacy symbol the oracles compare against is imported +here, and ``source_digests`` records the sha256 of the files that define +them so a golden or a historical comparison can name its exact source. +""" + +from __future__ import annotations + +import hashlib +from pathlib import Path + +REPO_ROOT = Path(__file__).resolve().parents[3] +LEGACY_ROOT = REPO_ROOT / "perovskite-sim" +LEGACY_PACKAGE = LEGACY_ROOT / "perovskite_sim" +LEGACY_CONFIGS = LEGACY_ROOT / "tests" / "fixtures" / "configs" + +LEGACY_SOURCE_FILES = ( + "constants.py", + "discretization/fe_operators.py", + "discretization/grid.py", + "physics/poisson.py", + "physics/physical_control_volume.py", + "physics/generation.py", + "physics/recombination.py", + "physics/traps.py", + "physics/optics.py", + "physics/optical_stack.py", + "models/device.py", + "solver/mol.py", + "experiments/jv_sweep.py", + "twod/continuity_2d.py", + "twod/poisson_2d.py", + "data/__init__.py", + "data/am15g.csv", +) + + +def sha256_file(path: Path) -> str: + return hashlib.sha256(path.read_bytes()).hexdigest() + + +def source_digests(extra: tuple[Path, ...] = ()) -> dict[str, str]: + out = {f"perovskite_sim/{rel}": sha256_file(LEGACY_PACKAGE / rel) for rel in LEGACY_SOURCE_FILES} + for path in extra: + out[str(path.relative_to(REPO_ROOT))] = sha256_file(path) + return out + + +def fe_operators(): + from perovskite_sim.discretization import fe_operators + + return fe_operators + + +def poisson(): + from perovskite_sim.physics import poisson + + return poisson + + +def generation(): + from perovskite_sim.physics import generation + + return generation + + +def recombination(): + from perovskite_sim.physics import recombination + + return recombination + + +def traps(): + from perovskite_sim.physics import traps + + return traps + + +def optics(): + from perovskite_sim.physics import optics + + return optics + + +def physical_control_volume(): + from perovskite_sim.physics import physical_control_volume + + return physical_control_volume + + +def grid(): + from perovskite_sim.discretization import grid + + return grid + + +def device_alignment(): + from perovskite_sim.models import device + + return device + + +def device_fixture(name: str): + """(stack, legacy electrical grid helper) for a shipped test-fixture preset.""" + + from perovskite_sim.models.config_loader import load_device_from_yaml + + return load_device_from_yaml(str(LEGACY_CONFIGS / name)) + + +def electrical_grid(stack, N_grid: int): + from perovskite_sim.discretization.grid import Layer, multilayer_grid + from perovskite_sim.experiments.jv_sweep import _layer_node_counts + from perovskite_sim.models.device import electrical_layers + + elec = electrical_layers(stack) + return multilayer_grid( + [Layer(layer.thickness, n) for layer, n in zip(elec, _layer_node_counts(stack, N_grid))] + ) diff --git a/tests/independent/p04/p04_oracle_bernoulli.py b/tests/independent/p04/p04_oracle_bernoulli.py new file mode 100644 index 00000000..3cd37897 --- /dev/null +++ b/tests/independent/p04/p04_oracle_bernoulli.py @@ -0,0 +1,269 @@ +"""Independent Bernoulli and Scharfetter-Gummel oracle for P04-01. + +Nothing here imports the legacy engine or the new ``solarlab`` packages. Two +kinds of reference are provided: + +* ``*_hp`` functions evaluate in ``decimal`` at ``HP_DIGITS`` significant + digits from the *exact* binary64 input (``Decimal(float)`` is exact), so + their error is far below one binary64 ulp. They are the oracle. +* ``*_ref`` functions are an independent binary64 construction used where a + vectorised reference is convenient (SG fluxes, Jacobians). They are + themselves checked against the ``*_hp`` oracle by the test suite. + +Derivation (all exact identities, no approximation) +--------------------------------------------------- +B(x) = x / (e^x - 1), B(0) = 1 (removable singularity) +B(-x) = -x/(e^-x - 1) = x e^x/(e^x - 1) = x + B(x) (I1) +B'(x) = (e^x - 1 - x e^x) / (e^x - 1)^2, B'(0) = -1/2 +Differentiating (I1): B'(-x) = -1 - B'(x) (I2) +B is convex (B'' > 0), so B' increases strictly from -1 (x->-inf) to 0. +Series (Bernoulli numbers B_2k): B(x) = 1 - x/2 + sum_k B_2k x^2k/(2k)! + = 1 - x/2 + x^2/12 - x^4/720 + x^6/30240 - x^8/1209600 + ... +For x > 0 with t = e^-x: B(x) = x t/(1 - t), + B'(x) = t (1 - x - t)/(1 - t)^2 = -t s/(1 - t)^2, s = e^-x - 1 + x >= 0. + +The P04-01 plan text requires the small-exponent branch to be computed +first and the large branch recovered by a stable addition, i.e. use (I1) as +B(-|x|) = |x| + B(|x|) (a sum of two positives), never B(|x|) = B(-|x|) - |x| +(which loses B(50) ~ 9.6e-21 entirely against B(-50) ~ 50). + +Scharfetter-Gummel (Scharfetter & Gummel, IEEE TED 16, 64 (1969)). For a +species with charge number z (electrons z=-1, holes z=+1) between nodes i and +i+1 at spacing h, with xi = (psi_{i+1} - psi_i)/V_T for the driving +(transport) potential psi, the particle flux directed from i to i+1 is + + F = (D/h) [ B(z xi) c_i - B(-z xi) c_{i+1} ] (SG) + +Checks: xi = 0 gives Fick's law F = -D (c_{i+1}-c_i)/h. For |z xi| >> 1 it +is upwind drift F ~ -(D/h) z xi c_up, with c_up = c_{i+1} if z xi > 0 and +c_up = c_i if z xi < 0 (the drift particle flux is -z mu c dpsi/dx). +Zero flux requires c_{i+1}/c_i = B(z xi)/B(-z xi) = e^{-z xi}, i.e. the +Boltzmann equilibrium c ~ exp(-z psi/V_T). The legacy electric currents are +J_n = -q F_n and J_p = +q F_p (perovskite_sim/discretization/fe_operators.py). +""" + +from __future__ import annotations + +from decimal import Decimal, localcontext + +import numpy as np + +HP_DIGITS = 100 +_SERIES_SWITCH_HP = Decimal("1e-15") + + +def _hp(value: float) -> Decimal: + return Decimal(float(value)) + + +def bernoulli_hp(x: float) -> Decimal: + """B(x) at ``HP_DIGITS`` digits from the exact binary64 input.""" + + with localcontext() as ctx: + ctx.prec = HP_DIGITS + d = _hp(x) + if d == 0: + return Decimal(1) + if abs(d) < _SERIES_SWITCH_HP: + # Truncation after x^4 is below 1e-60 relative here. + return 1 - d / 2 + d * d / 12 - d**4 / 720 + if d > 0: + t = (-d).exp() + return +(d * t / (1 - t)) + return +(d / (d.exp() - 1)) + + +def bernoulli_derivative_hp(x: float) -> Decimal: + """B'(x) at ``HP_DIGITS`` digits from the exact binary64 input.""" + + with localcontext() as ctx: + ctx.prec = HP_DIGITS + d = _hp(x) + if d == 0: + return Decimal(-1) / 2 + if abs(d) < _SERIES_SWITCH_HP: + return Decimal(-1) / 2 + d / 6 - d**3 / 180 + if d > 0: + t = (-d).exp() + return +(t * (1 - d - t) / (1 - t) ** 2) + e = d.exp() + return +((e - 1 - d * e) / (e - 1) ** 2) + + +# -------------------------------------------------------------------------- +# Independent binary64 reference (vectorised) +# -------------------------------------------------------------------------- + +_SERIES_SWITCH = 0.05 + + +def _bernoulli_nonnegative(y: np.ndarray) -> np.ndarray: + """B(y) for y >= 0 without overflow or cancellation.""" + + out = np.empty_like(y) + small = y < _SERIES_SWITCH + ys = y[small] + # Truncation error < 1e-20 relative for y < 0.05. + out[small] = ( + 1.0 - ys / 2.0 + ys**2 / 12.0 - ys**4 / 720.0 + ys**6 / 30240.0 + - ys**8 / 1209600.0 + ) + large = ~small & np.isfinite(y) + yl = y[large] + with np.errstate(over="ignore", under="ignore"): + out[large] = yl * np.exp(-yl) / -np.expm1(-yl) + out[np.isposinf(y)] = 0.0 + out[np.isnan(y)] = np.nan + return out + + +def bernoulli_ref(x: np.ndarray) -> np.ndarray: + """Binary64 B(x): small branch first, large branch by stable addition.""" + + x = np.asarray(x, dtype=float) + ax = np.abs(x) + small_branch = _bernoulli_nonnegative(ax) + return np.where(x >= 0.0, small_branch, ax + small_branch) + + +def _shifted_exp_tail(y: np.ndarray) -> np.ndarray: + """s(y) = e^-y - 1 + y >= 0 for y in [0, 1], by its alternating series.""" + + total = np.zeros_like(y) + term = y * y / 2.0 + for k in range(3, 24): + total = total + term + term = -term * y / k + return total + + +def bernoulli_derivative_ref(x: np.ndarray) -> np.ndarray: + """Binary64 B'(x) using (I2) for x < 0 and a cancellation-free x > 0 form.""" + + x = np.asarray(x, dtype=float) + ax = np.abs(x) + positive = np.empty_like(ax) + small = ax < _SERIES_SWITCH + ys = ax[small] + positive[small] = ( + -0.5 + ys / 6.0 - ys**3 / 180.0 + ys**5 / 5040.0 - ys**7 / 151200.0 + ) + mid = (~small) & (ax <= 1.0) + ym = ax[mid] + t = np.exp(-ym) + u = -np.expm1(-ym) + positive[mid] = -t * _shifted_exp_tail(ym) / (u * u) + large = (ax > 1.0) & np.isfinite(ax) + yl = ax[large] + with np.errstate(over="ignore", under="ignore"): + tl = np.exp(-yl) + ul = -np.expm1(-yl) + positive[large] = tl * ((1.0 - yl) - tl) / (ul * ul) + positive[np.isposinf(ax)] = -0.0 + positive[np.isnan(ax)] = np.nan + return np.where(x >= 0.0, positive, -1.0 - positive) + + +# -------------------------------------------------------------------------- +# Scharfetter-Gummel reference (directed particle flux, node i -> i+1) +# -------------------------------------------------------------------------- + + +def sg_particle_flux_ref( + psi: np.ndarray, + c: np.ndarray, + h: np.ndarray, + D: np.ndarray | float, + V_T: float, + z: int, +) -> np.ndarray: + """Equation (SG): particle flux [m^-2 s^-1] on every face, +x positive.""" + + psi = np.asarray(psi, dtype=float) + c = np.asarray(c, dtype=float) + xi = (psi[1:] - psi[:-1]) / V_T + return (np.asarray(D, dtype=float) / h) * ( + bernoulli_ref(z * xi) * c[:-1] - bernoulli_ref(-z * xi) * c[1:] + ) + + +def sg_particle_flux_jacobian_ref( + psi: np.ndarray, + c: np.ndarray, + h: np.ndarray, + D: np.ndarray | float, + V_T: float, + z: int, +) -> dict[str, np.ndarray]: + """Analytic face derivatives of (SG) w.r.t. c_i, c_{i+1}, psi_i, psi_{i+1}.""" + + psi = np.asarray(psi, dtype=float) + c = np.asarray(c, dtype=float) + xi = (psi[1:] - psi[:-1]) / V_T + pref = np.asarray(D, dtype=float) / h + d_xi = pref * z * ( + bernoulli_derivative_ref(z * xi) * c[:-1] + + bernoulli_derivative_ref(-z * xi) * c[1:] + ) + return { + "flux": sg_particle_flux_ref(psi, c, h, D, V_T, z), + "d_c_left": pref * bernoulli_ref(z * xi), + "d_c_right": -pref * bernoulli_ref(-z * xi), + "d_psi_left": -d_xi / V_T, + "d_psi_right": d_xi / V_T, + } + + +def sg_particle_flux_hp( + psi_left: float, + psi_right: float, + c_left: float, + c_right: float, + h: float, + D: float, + V_T: float, + z: int, +) -> Decimal: + """One face of (SG) in ``decimal`` from exact binary64 inputs.""" + + with localcontext() as ctx: + ctx.prec = HP_DIGITS + xi = (_hp(psi_right) - _hp(psi_left)) / _hp(V_T) + zx = z * xi + b_pos = _bernoulli_decimal(zx) + b_neg = _bernoulli_decimal(-zx) + return +((_hp(D) / _hp(h)) * (b_pos * _hp(c_left) - b_neg * _hp(c_right))) + + +def _bernoulli_decimal(d: Decimal) -> Decimal: + """B on a Decimal argument (used when xi itself is formed in Decimal).""" + + if d == 0: + return Decimal(1) + if abs(d) < _SERIES_SWITCH_HP: + return 1 - d / 2 + d * d / 12 - d**4 / 720 + if d > 0: + t = (-d).exp() + return d * t / (1 - t) + return d / (d.exp() - 1) + + +def sg_equilibrium_bound( + psi_left: np.ndarray, + psi_right: np.ndarray, + V_T: float, +) -> np.ndarray: + """A-priori relative bound on the SG equilibrium residual in binary64. + + With c = c0 exp(-z psi/V_T) formed in binary64, the two SG terms differ by + the rounding of psi/V_T at both nodes, of xi itself and of a handful of + products: relative mismatch <= eps (|psi_l/V_T| + |psi_r/V_T| + |xi|) plus + O(10 eps). A factor 8 margin is applied; the bound is fixed before any + candidate is evaluated and does not use the candidate's output. + """ + + eps = np.finfo(float).eps + a = np.abs(np.asarray(psi_left) / V_T) + b = np.abs(np.asarray(psi_right) / V_T) + xi = np.abs((np.asarray(psi_right) - np.asarray(psi_left)) / V_T) + return 8.0 * eps * (16.0 + a + b + xi) diff --git a/tests/independent/p04/p04_oracle_electrostatics.py b/tests/independent/p04/p04_oracle_electrostatics.py new file mode 100644 index 00000000..778e4162 --- /dev/null +++ b/tests/independent/p04/p04_oracle_electrostatics.py @@ -0,0 +1,402 @@ +"""Independent electrostatics oracle for P04-01 (Poisson as an algebraic residual). + +Continuous problem (1D, unit cross-section, SI):: + + -d/dx( eps0 eps_r(x) dphi/dx ) = rho(x), phi(0) = phi_L, phi(L) = phi_R + +Gauss form: D = -eps dphi/dx, dD/dx = rho, and D jumps by a sheet charge +sigma at an interface plane. For piecewise-constant eps_k, rho_k on layers +[b_k, b_{k+1}] the exact solution is piecewise quadratic:: + + D(x) = D_k + rho_k (x - b_k) + phi(x) = phi(b_k) - [D_k (x - b_k) + rho_k (x - b_k)^2 / 2] / eps_k + D_k = D0 + sum_{j np.ndarray: + return np.concatenate(([0.0], np.cumsum(self.thicknesses_m))) + + def rho(self) -> tuple[float, ...]: + return self.rho_C_m3 or (0.0,) * len(self.thicknesses_m) + + def sheets(self) -> tuple[float, ...]: + return self.sheet_charge_C_m2 or (0.0,) * (len(self.thicknesses_m) - 1) + + +def series_capacitance(stack: LayeredStack, eps0: float = EPS_0_LEGACY) -> float: + """C = 1 / sum_k d_k/(eps0 eps_k) [F/m^2].""" + + return 1.0 / math.fsum( + d / (eps0 * e) for d, e in zip(stack.thicknesses_m, stack.eps_r) + ) + + +@dataclass(frozen=True) +class LayeredSolution: + stack: LayeredStack + eps0: float + phi_left: float + phi_right: float + D0: float # displacement at x = 0 [C/m^2] + + def displacement(self, x: np.ndarray) -> np.ndarray: + x = np.asarray(x, dtype=float) + out = np.empty_like(x) + b = self.stack.bounds + rho, sig = self.stack.rho(), self.stack.sheets() + D_k = self.D0 + for k in range(len(rho)): + if k: + D_k += rho[k - 1] * self.stack.thicknesses_m[k - 1] + sig[k - 1] + m = (x >= b[k]) & (x <= b[k + 1]) if k == 0 else (x > b[k]) & (x <= b[k + 1]) + out[m] = D_k + rho[k] * (x[m] - b[k]) + return out + + def potential(self, x: np.ndarray) -> np.ndarray: + x = np.asarray(x, dtype=float) + out = np.empty_like(x) + b = self.stack.bounds + rho, sig = self.stack.rho(), self.stack.sheets() + phi_k, D_k = self.phi_left, self.D0 + for k in range(len(rho)): + eps = self.eps0 * self.stack.eps_r[k] + if k: + d_prev = self.stack.thicknesses_m[k - 1] + eps_prev = self.eps0 * self.stack.eps_r[k - 1] + phi_k = phi_k - (D_k * d_prev + rho[k - 1] * d_prev**2 / 2) / eps_prev + D_k += rho[k - 1] * d_prev + sig[k - 1] + m = (x >= b[k]) & (x <= b[k + 1]) if k == 0 else (x > b[k]) & (x <= b[k + 1]) + u = x[m] - b[k] + out[m] = phi_k - (D_k * u + rho[k] * u**2 / 2) / eps + return out + + +def layered_constant_charge_solution( + stack: LayeredStack, + phi_left: float, + phi_right: float, + eps0: float = EPS_0_LEGACY, +) -> LayeredSolution: + """Exact piecewise-quadratic solution; D0 from phi(L) = phi_right.""" + + rho, sig = stack.rho(), stack.sheets() + d = stack.thicknesses_m + eps = [eps0 * e for e in stack.eps_r] + S, s_terms, q_terms = 0.0, [], [] + for k in range(len(d)): + if k: + S += rho[k - 1] * d[k - 1] + sig[k - 1] + s_terms.append(S * d[k] / eps[k]) + q_terms.append(rho[k] * d[k] ** 2 / (2 * eps[k])) + inv_c = math.fsum(dk / ek for dk, ek in zip(d, eps)) + D0 = (phi_left - phi_right - math.fsum(s_terms) - math.fsum(q_terms)) / inv_c + return LayeredSolution(stack, eps0, phi_left, phi_right, D0) + + +# -------------------------------------------------------------------------- +# Finite-volume references +# -------------------------------------------------------------------------- + + +def exact_face_capacitance( + x: np.ndarray, stack: LayeredStack, eps0: float = EPS_0_LEGACY +) -> np.ndarray: + """C_f = 1/int dx/(eps0 eps_r) over every interval (true planes).""" + + x = np.asarray(x, dtype=float) + b = stack.bounds + out = np.empty(x.size - 1) + for i in range(x.size - 1): + lo, hi = x[i], x[i + 1] + parts = [] + for k in range(len(stack.thicknesses_m)): + a, c = max(lo, b[k]), min(hi, b[k + 1]) + if c > a: + parts.append((c - a) / (eps0 * stack.eps_r[k])) + out[i] = 1.0 / math.fsum(parts) + return out + + +def exact_cell_charge( + faces: np.ndarray, stack: LayeredStack, x_nodes: np.ndarray | None = None +) -> np.ndarray: + """Q_i = int over [faces_i, faces_{i+1}] of rho (+ sheets inside the cell). + + A sheet charge on a plane that coincides with a cell face is ambiguous for + a single-trace FV scheme and is rejected (the two-sided Gauss jump needs + its own interface unknowns). + """ + + faces = np.asarray(faces, dtype=float) + b = stack.bounds + rho, sig = stack.rho(), stack.sheets() + out = np.empty(faces.size - 1) + for i in range(faces.size - 1): + lo, hi = faces[i], faces[i + 1] + parts = [] + for k in range(len(rho)): + a, c = max(lo, b[k]), min(hi, b[k + 1]) + if c > a: + parts.append(rho[k] * (c - a)) + for j, s in enumerate(sig): + plane = b[j + 1] + if s != 0.0 and plane in (lo, hi): + raise ValueError("sheet charge on a cell face needs a two-sided trace") + if s != 0.0 and lo < plane < hi: + parts.append(s) + out[i] = math.fsum(parts) + return out + + +def solve_fv_dirichlet( + face_capacitance: np.ndarray, + cell_charge: np.ndarray, + phi_left: float, + phi_right: float, +) -> np.ndarray: + """Solve (FV) for interior nodes with a dense LAPACK gesv (reference). + + ``cell_charge`` has one entry per node; the two Dirichlet entries are + ignored. The dense path is deliberately different from the legacy + banded ``dgttrf``/``dgttrs`` factorisation. + """ + + C = np.asarray(face_capacitance, dtype=float) + Q = np.asarray(cell_charge, dtype=float) + n = C.size + 1 + m = n - 2 + A = np.zeros((m, m)) + rhs = -Q[1:-1].astype(float).copy() + for j in range(m): + A[j, j] = -(C[j] + C[j + 1]) + if j > 0: + A[j, j - 1] = C[j] + if j < m - 1: + A[j, j + 1] = C[j + 1] + rhs[0] -= C[0] * phi_left + rhs[-1] -= C[-1] * phi_right + phi = np.empty(n) + phi[0], phi[-1] = phi_left, phi_right + phi[1:-1] = np.linalg.solve(A, rhs) + return phi + + +def fv_residual( + phi: np.ndarray, face_capacitance: np.ndarray, cell_charge: np.ndarray +) -> np.ndarray: + """Interior (FV) residual in C/m^2 with the oracle's sign convention.""" + + phi = np.asarray(phi, dtype=float) + C = np.asarray(face_capacitance, dtype=float) + flux = C * np.diff(phi) + return flux[1:] - flux[:-1] + np.asarray(cell_charge, dtype=float)[1:-1] + + +def fv_residual_scale( + phi: np.ndarray, face_capacitance: np.ndarray, cell_charge: np.ndarray +) -> np.ndarray: + """Sum of absolute terms of each residual row (rounding scale).""" + + C = np.asarray(face_capacitance, dtype=float) + flux = np.abs(C * np.diff(np.asarray(phi, dtype=float))) + return flux[1:] + flux[:-1] + np.abs(np.asarray(cell_charge, dtype=float)[1:-1]) + + +def contact_displacement_from_fv( + phi: np.ndarray, + face_capacitance: np.ndarray, + cell_charge_left: float, + cell_charge_right: float, +) -> tuple[float, float]: + """D at x=0 and x=L by Gauss over the two end (half) cells.""" + + C = np.asarray(face_capacitance, dtype=float) + d_face = -C * np.diff(np.asarray(phi, dtype=float)) + return float(d_face[0] - cell_charge_left), float(d_face[-1] + cell_charge_right) + + +# -------------------------------------------------------------------------- +# Historical 1D rule (independent re-derivation; M-class expectation) +# -------------------------------------------------------------------------- + + +def legacy_rule_face_capacitance( + eps_node: np.ndarray, x: np.ndarray, eps0: float = EPS_0_LEGACY +) -> np.ndarray: + eps_node = np.asarray(eps_node, dtype=float) + eps_face = 2.0 * eps_node[:-1] * eps_node[1:] / (eps_node[:-1] + eps_node[1:]) + return eps0 * eps_face / np.diff(np.asarray(x, dtype=float)) + + +def legacy_rule_cell_charge(rho_node: np.ndarray, x: np.ndarray) -> np.ndarray: + h = np.diff(np.asarray(x, dtype=float)) + w = np.zeros(len(x)) + w[1:-1] = 0.5 * (h[:-1] + h[1:]) + return np.asarray(rho_node, dtype=float) * w + + +def shifted_stack_for_legacy_rule( + x: np.ndarray, stack: LayeredStack +) -> LayeredStack: + """Structure whose exact FV data equals the legacy 1D rule. + + Each internal plane moves from the interface node x_I to the dual face + x_I - h_{I-1}/2; the outer faces are unchanged. + """ + + x = np.asarray(x, dtype=float) + b = stack.bounds + planes = [] + for position in b[1:-1]: + node = int(np.argmin(np.abs(x - position))) + if abs(x[node] - position) > 1e-12 * b[-1]: + raise ValueError("legacy 1D rule requires interface nodes") + planes.append(0.5 * (x[node - 1] + x[node])) + edges = [0.0, *planes, float(b[-1])] + return LayeredStack( + tuple(float(e1 - e0) for e0, e1 in zip(edges[:-1], edges[1:])), + stack.eps_r, + stack.rho_C_m3, + stack.sheet_charge_C_m2, + ) + + +# -------------------------------------------------------------------------- +# Manufactured solution (smooth rho, piecewise eps, optional sheet charge) +# -------------------------------------------------------------------------- + + +@dataclass(frozen=True) +class ManufacturedPoisson: + """D(x) = F0 cos(pi x / L) + F1 + sum_j sigma_j H(x - b_j). + + rho = dD/dx = -F0 (pi/L) sin(pi x/L) away from the planes; the sheet + charges are the Gauss jumps. phi = phi_L - int_0^x D/eps. + """ + + thicknesses_m: tuple[float, ...] + eps_r: tuple[float, ...] + F0: float + F1: float + phi_left: float + sheet_charge_C_m2: tuple[float, ...] = () + eps0: float = EPS_0_LEGACY + + @property + def bounds(self) -> np.ndarray: + return np.concatenate(([0.0], np.cumsum(self.thicknesses_m))) + + @property + def length(self) -> float: + return float(self.bounds[-1]) + + def _sheets(self) -> tuple[float, ...]: + return self.sheet_charge_C_m2 or (0.0,) * (len(self.thicknesses_m) - 1) + + def smooth_flux(self, x: np.ndarray) -> np.ndarray: + return self.F0 * np.cos(np.pi * np.asarray(x, dtype=float) / self.length) + self.F1 + + def rho(self, x: np.ndarray) -> np.ndarray: + L = self.length + return -self.F0 * (np.pi / L) * np.sin(np.pi * np.asarray(x, dtype=float) / L) + + def _antiderivative(self, x: float) -> float: + L = self.length + return self.F0 * (L / np.pi) * math.sin(math.pi * x / L) + self.F1 * x + + def potential(self, x: np.ndarray) -> np.ndarray: + x = np.atleast_1d(np.asarray(x, dtype=float)) + b = self.bounds + sig = self._sheets() + out = np.empty_like(x) + for i, xi in enumerate(x): + total, jump = [], 0.0 + for k in range(len(self.thicknesses_m)): + if k: + jump += sig[k - 1] + lo, hi = b[k], min(b[k + 1], xi) + if hi <= lo: + break + eps = self.eps0 * self.eps_r[k] + total.append( + (self._antiderivative(hi) - self._antiderivative(lo) + jump * (hi - lo)) + / eps + ) + out[i] = self.phi_left - math.fsum(total) + return out + + @property + def phi_right(self) -> float: + return float(self.potential(np.array([self.length]))[0]) + + def cell_charge(self, faces: np.ndarray) -> np.ndarray: + """Exact int rho over each cell, plus sheets strictly inside it.""" + + faces = np.asarray(faces, dtype=float) + D = self.smooth_flux(faces) + out = D[1:] - D[:-1] + b = self.bounds + for j, s in enumerate(self._sheets()): + if s == 0.0: + continue + plane = b[j + 1] + inside = (faces[:-1] < plane) & (faces[1:] > plane) + if not np.any(inside) and np.any(faces == plane): + raise ValueError("sheet charge on a cell face needs a two-sided trace") + out[inside] += s + return out + + def as_layered_stack(self) -> LayeredStack: + return LayeredStack(self.thicknesses_m, self.eps_r) + + +def observed_orders(h: np.ndarray, err: np.ndarray) -> np.ndarray: + h = np.asarray(h, dtype=float) + err = np.asarray(err, dtype=float) + return np.log(err[:-1] / err[1:]) / np.log(h[:-1] / h[1:]) diff --git a/tests/independent/p04/p04_oracle_geometry.py b/tests/independent/p04/p04_oracle_geometry.py new file mode 100644 index 00000000..d3cca21f --- /dev/null +++ b/tests/independent/p04/p04_oracle_geometry.py @@ -0,0 +1,238 @@ +"""Independent geometry oracle for P04-01 (control volumes, measures, ports). + +Three historical geometries must be *named* by the new implementation and +must not be silently unified (V1 P04-01 step 1 and its failure clause). The +definitions below are written from first principles and from the published +behaviour of the legacy engine; they are the oracle, the legacy code is only +the historical comparison. + +``legacy_1d_integer_endpoint_v1`` (1D MoL, ``solver/mol.py``) + Nodes include every material interface. A node on an interface belongs + to the RIGHT layer (``_layer_node_masks``, last-layer-wins). Carrier + control volumes are the dual cells with FULL-width end cells:: + + w_0 = h_0, w_{N-1} = h_{N-2}, w_i = (h_{i-1} + h_i)/2 + + so the total measure is L + (h_0 + h_{N-2})/2 (not L). Node-owned + material data (eps_r, rho, alpha, doping) therefore change at the dual + face x_I - h_{I-1}/2, i.e. the EFFECTIVE material interface sits half an + interval to the left of the geometric interface node x_I. + +``legacy_2d_half_endpoint_v1`` (2D Stage A, ``twod/continuity_2d.py``) + Vertical (stack) end cells are half width, ``hy_0 = h_0/2``; the total + vertical measure is exactly L_y. Lateral Neumann end cells are half + width too (total L_x); lateral periodic end cells are + (h_0 + h_last)/2 each, so the periodic lateral measure is + L_x + (h_0 + h_last)/2 (the historical wrap face is an extra interval). + +``r1_physical_boundary_two_sided_v1`` (R1 lane, ``physical_control_volume``) + No node lies on an interface. Outer cells are clipped at the contacts, + interior faces are interval midpoints, and the face containing an + interface plane is moved to the plane itself. Total measure is exactly + L and every material's measure is exactly its thickness. + +Port conventions used by the oracle: a 1D device has unit cross-section +(port area 1 m^2); a 2D device has unit out-of-plane depth, so a contact's +port measure is its lateral length in m. The outward normal of the left +(x=0) contact is -x and of the right contact +x. +""" + +from __future__ import annotations + +import math +from dataclasses import dataclass + +import numpy as np + +GEOMETRY_LEGACY_1D = "legacy_1d_integer_endpoint_v1" +GEOMETRY_LEGACY_2D = "legacy_2d_half_endpoint_v1" +GEOMETRY_R1_TWO_SIDED = "r1_physical_boundary_two_sided_v1" +#: Fourth historical geometry named by W3a (review R3-2): the quasi-Fermi +#: ``two_sided_trace`` topology without physical boundary volumes. +GEOMETRY_QF_TWO_SIDED_TRACE = "qf_two_sided_trace_v1" +ALL_GEOMETRIES = (GEOMETRY_LEGACY_1D, GEOMETRY_LEGACY_2D, GEOMETRY_R1_TWO_SIDED) +ALL_GEOMETRIES_V2 = ALL_GEOMETRIES + (GEOMETRY_QF_TWO_SIDED_TRACE,) + + +def _require_grid(x: np.ndarray) -> np.ndarray: + x = np.asarray(x, dtype=float) + if x.ndim != 1 or x.size < 3 or not np.all(np.diff(x) > 0.0): + raise ValueError("grid must be strictly increasing with >= 3 nodes") + return x + + +def integer_endpoint_widths(x: np.ndarray) -> np.ndarray: + """``legacy_1d_integer_endpoint_v1`` carrier control-volume widths.""" + + x = _require_grid(x) + h = np.diff(x) + w = np.empty(x.size) + w[0] = h[0] + w[-1] = h[-1] + w[1:-1] = 0.5 * (h[:-1] + h[1:]) + return w + + +def half_endpoint_widths(x: np.ndarray) -> np.ndarray: + """``legacy_2d_half_endpoint_v1`` vertical / lateral-Neumann widths.""" + + x = _require_grid(x) + h = np.diff(x) + w = np.empty(x.size) + w[0] = 0.5 * h[0] + w[-1] = 0.5 * h[-1] + w[1:-1] = 0.5 * (h[:-1] + h[1:]) + return w + + +def periodic_wrap_widths(x: np.ndarray) -> np.ndarray: + """Historical 2D lateral periodic widths (wrap face = (h_0+h_last)/2).""" + + w = half_endpoint_widths(x) + h = np.diff(np.asarray(x, dtype=float)) + w[0] = w[-1] = 0.5 * (h[0] + h[-1]) + return w + + +def two_sided_faces(x: np.ndarray, interfaces: tuple[float, ...]) -> np.ndarray: + """``r1_physical_boundary_two_sided_v1`` cell faces (N+1 values).""" + + x = _require_grid(x) + faces = np.concatenate(([x[0]], 0.5 * (x[:-1] + x[1:]), [x[-1]])) + for plane in interfaces: + right = int(np.searchsorted(x, plane)) + if right in (0, x.size) or x[right] == plane: + raise ValueError("two-sided geometry needs every plane strictly inside a face") + faces[right] = plane + if not np.all(np.diff(faces) > 0.0): + raise ValueError("non-positive two-sided control volume") + return faces + + +def two_sided_widths(x: np.ndarray, interfaces: tuple[float, ...]) -> np.ndarray: + return np.diff(two_sided_faces(x, interfaces)) + + +def two_sided_trace_widths(x: np.ndarray, interfaces: tuple[float, ...]) -> np.ndarray: + """``qf_two_sided_trace_v1``: integer-endpoint contact cells, plane-split interiors. + + No node lies on a plane; the two cells beside a plane end at the plane + (widths h_{l-1}/2 + d_L and d_R + h_r/2), while both contact cells keep + the full adjacent interval as in the 1D MoL. + """ + + x = _require_grid(x) + faces = two_sided_faces(x, interfaces) + w = np.diff(faces) + h = np.diff(x) + w[0] = h[0] + w[-1] = h[-1] + return w + + +def expected_total_measure(kind: str, x: np.ndarray) -> float: + """Closed-form total carrier measure of each named geometry.""" + + x = _require_grid(x) + h = np.diff(x) + length = float(x[-1] - x[0]) + if kind in (GEOMETRY_LEGACY_1D, GEOMETRY_QF_TWO_SIDED_TRACE): + return length + 0.5 * float(h[0] + h[-1]) + if kind in (GEOMETRY_LEGACY_2D, GEOMETRY_R1_TWO_SIDED): + return length + raise ValueError(f"unknown geometry {kind!r}") + + +def exact_sum(values: np.ndarray) -> float: + """Correctly rounded sum (``math.fsum``) used for every measure check.""" + + return math.fsum(float(v) for v in np.asarray(values).ravel()) + + +def right_owner_layer_index(x: np.ndarray, thicknesses: tuple[float, ...]) -> np.ndarray: + """Node -> layer ownership of ``legacy_1d_integer_endpoint_v1``. + + Interfaces are nodes; the node on a shared boundary goes to the right + layer. A relative roundoff allowance of 1e-12 of the stack thickness is + used to recognise an interface node. + """ + + x = _require_grid(x) + bounds = np.concatenate(([0.0], np.cumsum(thicknesses))) + tol = 1e-12 * float(bounds[-1]) + owner = np.full(x.size, -1, dtype=int) + for k in range(len(thicknesses)): + owner[(x >= bounds[k] - tol) & (x <= bounds[k + 1] + tol)] = k + if np.any(owner < 0): + raise ValueError("grid extends outside the stack") + return owner + + +def effective_interface_positions_integer_endpoint( + x: np.ndarray, thicknesses: tuple[float, ...] +) -> tuple[float, ...]: + """Effective material planes x_I - h_{I-1}/2 of the legacy 1D geometry.""" + + x = _require_grid(x) + planes = [] + for position in np.cumsum(thicknesses)[:-1]: + node = int(np.argmin(np.abs(x - position))) + if abs(x[node] - position) > 1e-12 * float(x[-1]): + raise ValueError("legacy 1D geometry requires interface nodes") + planes.append(0.5 * (x[node - 1] + x[node])) + return tuple(planes) + + +# -------------------------------------------------------------------------- +# Substrate-prefix interface alignment (V1 P04-01 acceptance) +# -------------------------------------------------------------------------- + + +@dataclass(frozen=True) +class ElectricalAlignment: + """Map from the full layer list to the electrical layer list.""" + + substrate_prefix: int + electrical_layer_indices: tuple[int, ...] + electrical_interface_full_indices: tuple[int, ...] + electrical_interface_positions_m: tuple[float, ...] + + +def electrical_alignment( + roles: tuple[str, ...], thicknesses: tuple[float, ...] +) -> ElectricalAlignment: + """Reference alignment: substrates are an optical-only contiguous prefix. + + Full interface k separates full layers k and k+1. The electrical + interface j separates electrical layers j and j+1, i.e. full interface + ``prefix + j``. Positions are measured from the first electrical layer + (the electrical grid origin), excluding the substrate thickness. + """ + + if len(roles) != len(thicknesses): + raise ValueError("roles and thicknesses must align") + prefix = 0 + for role in roles: + if role != "substrate": + break + prefix += 1 + if any(role == "substrate" for role in roles[prefix:]): + raise ValueError("substrate layers must form a contiguous prefix") + electrical = tuple(range(prefix, len(roles))) + n_iface = max(0, len(electrical) - 1) + positions = tuple( + math.fsum(thicknesses[prefix : prefix + j + 1]) for j in range(n_iface) + ) + return ElectricalAlignment( + substrate_prefix=prefix, + electrical_layer_indices=electrical, + electrical_interface_full_indices=tuple(prefix + j for j in range(n_iface)), + electrical_interface_positions_m=positions, + ) + + +def port_outward_particle_flux(face_flux: np.ndarray, port_area_m2: float) -> tuple[float, float]: + """Outward particle current through (left, right) ports for +x face fluxes.""" + + face_flux = np.asarray(face_flux, dtype=float) + return (-float(face_flux[0]) * port_area_m2, float(face_flux[-1]) * port_area_m2) diff --git a/tests/independent/p04/p04_oracle_optics.py b/tests/independent/p04/p04_oracle_optics.py new file mode 100644 index 00000000..97d91335 --- /dev/null +++ b/tests/independent/p04/p04_oracle_optics.py @@ -0,0 +1,274 @@ +"""Independent optical-generation oracle for P04-07 (Beer-Lambert and TMM). + +Beer-Lambert (monochromatic, incidence from x = 0, photon flux Phi in +m^-2 s^-1). With optical depth tau(x) = int_0^x alpha, the photons absorbed +between a < b are Phi (e^{-tau(a)} - e^{-tau(b)}) (exact, any alpha(x) >= 0). +For layer-wise constant alpha_k:: + + A_k = Phi exp(-sum_{j= 0 absorbs), field +in medium j at local depth z: E = v_j e^{i k_j z} + w_j e^{-i k_j z}, +k_j = 2 pi N_j / lambda. Continuity of E and H ~ N (F - B) gives:: + + [v_j; w_j] = diag(e^{-i delta_j}, e^{i delta_j}) (1/t_{j,j+1}) [[1, r],[r, 1]] [v_{j+1}; w_{j+1}] + r_{ab} = (N_a - N_b)/(N_a + N_b), t_{ab} = 2 N_a/(N_a + N_b), delta_j = k_j d_j + +with [v_0; w_0] = [1; r] in the ambient and [t; 0] in the substrate. The +time-averaged Poynting flux normalised to the incident beam is +S(z) = Re[conj(N) (F + B) conj(F - B)] / n_0, so R = |r|^2, +T = Re(N_sub) |t|^2 / n_0, and the layer absorptance is S(0) - S(d). The +local absorption density is a(z) = alpha n |E|^2 / n_0 (alpha = 4 pi kappa / +lambda) and its integral is evaluated in closed form; agreement of the two +routes is the R + T + A = 1 identity the tests assert. +""" + +from __future__ import annotations + +from dataclasses import dataclass + +import numpy as np + +H_PLANCK = 6.62607015e-34 # J s (exact SI) +C_LIGHT = 299792458.0 # m/s (exact SI) +Q_E = 1.602176634e-19 # C (exact SI) + + +# -------------------------------------------------------------------------- +# Beer-Lambert +# -------------------------------------------------------------------------- + + +def absorbed_between(tau_a: np.ndarray, tau_b: np.ndarray, Phi: float) -> np.ndarray: + """Phi (e^-tau_a - e^-tau_b), evaluated as Phi e^-tau_a (1 - e^-(tau_b - tau_a)).""" + + tau_a = np.asarray(tau_a, dtype=float) + tau_b = np.asarray(tau_b, dtype=float) + return Phi * np.exp(-tau_a) * -np.expm1(-(tau_b - tau_a)) + + +def bl_layer_absorption(alpha: tuple[float, ...], d: tuple[float, ...], Phi: float) -> np.ndarray: + """Equation (BL) per layer, photons m^-2 s^-1.""" + + tau = np.concatenate(([0.0], np.cumsum(np.asarray(alpha) * np.asarray(d)))) + return absorbed_between(tau[:-1], tau[1:], Phi) + + +def exact_optical_depth(xq: np.ndarray, alpha: tuple[float, ...], d: tuple[float, ...]) -> np.ndarray: + """tau(x) of a layer-wise constant alpha with sharp planes at the true bounds.""" + + xq = np.asarray(xq, dtype=float) + b = np.concatenate(([0.0], np.cumsum(d))) + tau = np.zeros_like(xq) + for k, a in enumerate(alpha): + tau += a * np.clip(xq - b[k], 0.0, b[k + 1] - b[k]) + return tau + + +def nodal_trapezoid_optical_depth(x: np.ndarray, alpha_node: np.ndarray) -> np.ndarray: + """Historical channel: tau_i = sum_{j np.ndarray: + """Illumination from x = L equals the mirrored stack read backwards.""" + + return np.asarray(G_mirrored)[::-1] + + +# -------------------------------------------------------------------------- +# Spectral units +# -------------------------------------------------------------------------- + + +def photon_flux_per_m_from_irradiance_per_nm(E_W_m2_nm: np.ndarray, wl_nm: np.ndarray) -> np.ndarray: + """Phi_lambda [m^-2 s^-1 m^-1] = E [W m^-2 nm^-1] * 1e9 * lambda / (h c).""" + + wl_m = np.asarray(wl_nm, dtype=float) * 1e-9 + return np.asarray(E_W_m2_nm, dtype=float) * 1e9 * wl_m / (H_PLANCK * C_LIGHT) + + +# -------------------------------------------------------------------------- +# Transfer matrix +# -------------------------------------------------------------------------- + + +@dataclass(frozen=True) +class TmmResult: + wavelengths_m: np.ndarray + N: tuple[np.ndarray, ...] # media 0..M+1 (complex, per wavelength) + d: tuple[float, ...] # finite layers 1..M + r: np.ndarray + t: np.ndarray + v_start: tuple[np.ndarray, ...] # forward amplitude at each layer start + b_end: tuple[np.ndarray, ...] # backward amplitude at each layer end + + @property + def n_ambient(self) -> np.ndarray: + return self.N[0].real + + @property + def R(self) -> np.ndarray: + return np.abs(self.r) ** 2 + + @property + def T(self) -> np.ndarray: + return self.N[-1].real * np.abs(self.t) ** 2 / self.n_ambient + + def _k(self, j: int) -> np.ndarray: + return 2.0 * np.pi * self.N[j + 1] / self.wavelengths_m + + def layer_absorptance_poynting(self) -> np.ndarray: + """S(0) - S(d) per finite layer, shape (M, n_wl).""" + + out = [] + for j, dj in enumerate(self.d): + N, k = self.N[j + 1], self._k(j) + v, b = self.v_start[j], self.b_end[j] + w = b * np.exp(1j * k * dj) # backward amplitude at the layer start + a = v * np.exp(1j * k * dj) # forward amplitude at the layer end + s0 = np.real(np.conj(N) * (v + w) * np.conj(v - w)) + s1 = np.real(np.conj(N) * (a + b) * np.conj(a - b)) + out.append((s0 - s1) / self.n_ambient) + return np.array(out) + + def cumulative_absorbed(self, j: int, u: np.ndarray) -> np.ndarray: + """int_0^u a(z) dz in layer j (0-based), shape (len(u), n_wl), closed form.""" + + u = np.atleast_1d(np.asarray(u, dtype=float))[:, None] + N, k, dj = self.N[j + 1], self._k(j), self.d[j] + kr, ki = k.real[None, :], k.imag[None, :] + v, b = self.v_start[j][None, :], self.b_end[j][None, :] + alpha = 2.0 * ki # = 4 pi kappa / lambda + fwd = np.abs(v) ** 2 * u * _one_minus_exp_over(alpha * u) + bwd = np.abs(b) ** 2 * np.exp(-alpha * (dj - u)) * u * _one_minus_exp_over(alpha * u) + cross_amp = v * np.conj(b) * np.exp(-1j * np.conj(k[None, :]) * dj) + s = 2.0 * kr * u + osc = u * (np.sinc(s / np.pi) + 1j * (s / 2.0) * np.sinc(s / (2.0 * np.pi)) ** 2) + cross = 2.0 * np.real(cross_amp * osc) + coeff = alpha * N.real[None, :] / self.n_ambient[None, :] + return coeff * (fwd + bwd + cross) + + def layer_absorptance_integral(self) -> np.ndarray: + return np.array([self.cumulative_absorbed(j, np.array([dj]))[0] for j, dj in enumerate(self.d)]) + + +def _one_minus_exp_over(s: np.ndarray) -> np.ndarray: + """(1 - e^-s)/s with the s -> 0 limit 1.""" + + s = np.asarray(s, dtype=float) + out = np.ones_like(s) + big = s > 1e-12 + out[big] = -np.expm1(-s[big]) / s[big] + small = ~big + out[small] = 1.0 - s[small] / 2.0 + return out + + +def tmm_normal_incidence( + wavelengths_m: np.ndarray, + layers: list[tuple[np.ndarray, float]], + n_ambient: float = 1.0, + n_substrate: complex | np.ndarray = 1.0, +) -> TmmResult: + """Coherent stack; ``layers`` = [(N_complex(lambda), thickness_m), ...].""" + + wl = np.asarray(wavelengths_m, dtype=float) + nwl = wl.size + N = [np.full(nwl, complex(n_ambient))] + N += [np.broadcast_to(np.asarray(n, dtype=complex), (nwl,)).copy() for n, _ in layers] + N.append(np.broadcast_to(np.asarray(n_substrate, dtype=complex), (nwl,)).copy()) + d = tuple(float(t) for _, t in layers) + M = len(d) + + def interface(a: np.ndarray, b: np.ndarray, vec: np.ndarray) -> np.ndarray: + r = (a - b) / (a + b) + t = 2.0 * a / (a + b) + return np.stack([(vec[0] + r * vec[1]) / t, (r * vec[0] + vec[1]) / t]) + + # Backward recursion with the unknown t set to 1. Amplitudes grow like + # e^{Im(delta)} per absorbing layer, so every step is renormalised and the + # growth is carried in a per-wavelength log scale (no overflow). + vec = np.stack([np.ones(nwl, dtype=complex), np.zeros(nwl, dtype=complex)]) + log_s = np.zeros(nwl) + stored: list[tuple[np.ndarray, np.ndarray, np.ndarray, np.ndarray]] = [] + + def renorm(arr: np.ndarray, log_scale: np.ndarray) -> tuple[np.ndarray, np.ndarray]: + m = np.maximum(np.abs(arr[0]), np.abs(arr[1])) + m = np.where(m > 0.0, m, 1.0) + return arr / m, log_scale + np.log(m) + + for j in range(M, 0, -1): + end, log_s = renorm(interface(N[j], N[j + 1], vec), log_s) + b_norm, log_end = end[1].copy(), log_s.copy() + delta = 2.0 * np.pi * N[j] * d[j - 1] / wl + dr, di = delta.real, delta.imag + start = np.stack([ + end[0] * np.exp(-1j * dr), + end[1] * np.exp(1j * dr) * np.exp(-2.0 * di), + ]) + vec, log_s = renorm(start, log_s + di) + stored.append((vec[0].copy(), log_s.copy(), b_norm, log_end)) + top, log_s = renorm(interface(N[0], N[1], vec), log_s) + r = top[1] / top[0] + t = np.exp(-log_s) / top[0] + v_start: list[np.ndarray] = [None] * M # type: ignore[list-item] + b_end: list[np.ndarray] = [None] * M # type: ignore[list-item] + for (v_norm, log_v, b_norm, log_b), j in zip(stored, range(M - 1, -1, -1)): + v_start[j] = v_norm * np.exp(log_v - log_s) / top[0] + b_end[j] = b_norm * np.exp(log_b - log_s) / top[0] + return TmmResult(wl, tuple(N), d, r, t, tuple(v_start), tuple(b_end)) + + +def airy_slab( + wavelengths_m: np.ndarray, n0: float, N1: complex, d: float, N2: complex +) -> tuple[np.ndarray, np.ndarray]: + """Closed-form (R, T) of one slab between semi-infinite media.""" + + wl = np.asarray(wavelengths_m, dtype=float) + r01 = (n0 - N1) / (n0 + N1) + r12 = (N1 - N2) / (N1 + N2) + t01 = 2 * n0 / (n0 + N1) + t12 = 2 * N1 / (N1 + N2) + ph = np.exp(2j * (2 * np.pi * N1 * d / wl)) + r = (r01 + r12 * ph) / (1 + r01 * r12 * ph) + t = t01 * t12 * np.exp(1j * 2 * np.pi * N1 * d / wl) / (1 + r01 * r12 * ph) + return np.abs(r) ** 2, np.real(N2) * np.abs(t) ** 2 / n0 + + +def fresnel_interface(n0: float, N1: complex) -> tuple[float, float]: + r = (n0 - N1) / (n0 + N1) + t = 2 * n0 / (n0 + N1) + return float(abs(r) ** 2), float(np.real(N1) * abs(t) ** 2 / n0) + + +def trapezoid_weights(wl: np.ndarray) -> np.ndarray: + """Composite trapezoid weights on an arbitrary wavelength grid.""" + + wl = np.asarray(wl, dtype=float) + h = np.diff(wl) + w = np.zeros_like(wl) + w[:-1] += h / 2.0 + w[1:] += h / 2.0 + return w + + +def electron_current_ceiling(Phi: float) -> float: + """q Phi [A/m^2]: the hard photocurrent ceiling of an incident photon flux.""" + + return Q_E * Phi diff --git a/tests/independent/p04/p04_oracle_recombination.py b/tests/independent/p04/p04_oracle_recombination.py new file mode 100644 index 00000000..81a3663f --- /dev/null +++ b/tests/independent/p04/p04_oracle_recombination.py @@ -0,0 +1,206 @@ +"""Independent bulk-recombination oracle for P04-07 (MB lifetime SRH, B, Auger). + +Rates are evaluated in exact rational arithmetic (``fractions.Fraction``) from +the exact binary64 inputs, so the oracle carries no rounding error at all. + +Rate laws (net recombination, m^-3 s^-1; Shockley & Read, Phys. Rev. 87, +835 (1952); Hall, Phys. Rev. 87, 387 (1952)):: + + U = n p - ni^2 (mass-action numerator) + R_SRH = U / (tau_p (n + n1) + tau_n (p + p1)) + R_rad = B U + R_Auger = (C_n n + C_p p) U + +Detailed balance: every channel vanishes when n p = ni^2 (with the SRH +reference densities consistent, n1 p1 = ni^2). Exact local derivatives:: + + dR_SRH/dn = (p - R_SRH tau_p)/Den, dR_SRH/dp = (n - R_SRH tau_n)/Den + dR_rad/dn = B p, dR_rad/dp = B n + dR_A/dn = C_n U + (C_n n + C_p p) p, dR_A/dp = C_p U + (C_n n + C_p p) n + +Injection limits (p-type, p0 = N_A >> n0, n1, p1; excess density Delta):: + + R_SRH -> Delta / tau_n (low injection, Delta << p0) + R_SRH -> Delta / (tau_n + tau_p) (high injection, n = p = Delta >> n1, p1) + R_rad -> B p0 Delta | B Delta^2 + R_A -> C_p p0^2 Delta | (C_n + C_p) Delta^3 + +The exact low-injection SRH ratio used by the tests is:: + + R_SRH tau_n / Delta = (n0 + p0 + Delta) + / (p0 + Delta + p1 + (tau_p/tau_n)(n0 + Delta + n1)) + +Weak-signal rule: near equilibrium the error of a binary64 evaluation is set +by the gross terms, not by the net rate, so tolerances are referred to the +gross scale ``G = (n p + ni^2) * coefficient`` (``gross_scale``). +""" + +from __future__ import annotations + +import math +from dataclasses import dataclass +from fractions import Fraction + +import numpy as np + + +def _q(value: float) -> Fraction: + value = float(value) + if not math.isfinite(value): + raise ValueError("exact oracle needs finite inputs") + return Fraction(value) + + +@dataclass(frozen=True) +class BulkParameters: + ni_sq: float + tau_n: float + tau_p: float + n1: float + p1: float + B_rad: float + C_n: float + C_p: float + + +@dataclass(frozen=True) +class ExactRate: + rate: Fraction + d_n: Fraction + d_p: Fraction + gross: Fraction # weak-signal scale of the rate + gross_d_n: Fraction + gross_d_p: Fraction + + +def srh_exact(n: float, p: float, par: BulkParameters) -> ExactRate: + n_, p_ = _q(n), _q(p) + ni2, tn, tp = _q(par.ni_sq), _q(par.tau_n), _q(par.tau_p) + n1, p1 = _q(par.n1), _q(par.p1) + den = tp * (n_ + n1) + tn * (p_ + p1) + U = n_ * p_ - ni2 + R = U / den + gross = (n_ * p_ + ni2) / den + return ExactRate( + R, + (p_ - R * tp) / den, + (n_ - R * tn) / den, + gross, + (p_ + abs(R) * tp) / den, + (n_ + abs(R) * tn) / den, + ) + + +def radiative_exact(n: float, p: float, par: BulkParameters) -> ExactRate: + n_, p_ = _q(n), _q(p) + ni2, B = _q(par.ni_sq), _q(par.B_rad) + return ExactRate( + B * (n_ * p_ - ni2), B * p_, B * n_, abs(B) * (n_ * p_ + ni2), abs(B) * p_, abs(B) * n_ + ) + + +def auger_exact(n: float, p: float, par: BulkParameters) -> ExactRate: + n_, p_ = _q(n), _q(p) + ni2, Cn, Cp = _q(par.ni_sq), _q(par.C_n), _q(par.C_p) + U = n_ * p_ - ni2 + coef = Cn * n_ + Cp * p_ + gross_u = n_ * p_ + ni2 + return ExactRate( + coef * U, + Cn * U + coef * p_, + Cp * U + coef * n_, + abs(coef) * gross_u, + abs(Cn) * gross_u + abs(coef) * p_, + abs(Cp) * gross_u + abs(coef) * n_, + ) + + +def total_exact(n: float, p: float, par: BulkParameters) -> ExactRate: + parts = (srh_exact(n, p, par), radiative_exact(n, p, par), auger_exact(n, p, par)) + return ExactRate(*(sum(getattr(r, f) for r in parts) for f in ExactRate.__dataclass_fields__)) + + +def within( + value: float, exact: Fraction, scale: Fraction, rel_eps: float +) -> bool: + """|value - exact| <= rel_eps * eps * (|exact| + scale), exactly evaluated.""" + + if not math.isfinite(float(value)): + return False + eps = Fraction(np.finfo(float).eps) + return abs(_q(value) - exact) <= Fraction(rel_eps) * eps * (abs(exact) + scale) + + +def low_injection_srh_ratio( + n0: float, p0: float, delta: float, par: BulkParameters +) -> Fraction: + """Exact R_SRH tau_n / Delta for n = n0 + Delta, p = p0 + Delta, ni^2 = n0 p0.""" + + n0_, p0_, d = _q(n0), _q(p0), _q(delta) + tn, tp, n1, p1 = _q(par.tau_n), _q(par.tau_p), _q(par.n1), _q(par.p1) + return (n0_ + p0_ + d) / (p0_ + d + p1 + (tp / tn) * (n0_ + d + n1)) + + +# -------------------------------------------------------------------------- +# Existing trap profiles (Phase 4a; physics/traps.py semantics re-derived) +# -------------------------------------------------------------------------- + + +def exponential_edge_profile_ref( + x_local: np.ndarray, thickness: float, N_if: float, N_bulk: float, L_d: float, + edge: str = "both", +) -> np.ndarray: + """N_t = N_b + (N_if - N_b) S(x); S normalised so that sup S = 1. + + For ``both`` the kernel sum e^{-x/L} + e^{-(d-x)/L} is convex, so its + supremum is at a face: S_max = 1 + e^{-d/L} (>= 2 e^{-d/2L} by AM-GM), + hence N_t(0) = N_t(d) = N_if and N_t(d/2) = N_b + (N_if-N_b) sech(d/2L). + """ + + x_local = np.asarray(x_local, dtype=float) + if L_d <= 0.0: + return np.full_like(x_local, N_bulk) + left, right = np.exp(-x_local / L_d), np.exp(-(thickness - x_local) / L_d) + if edge == "left": + shape = left + elif edge == "right": + shape = right + elif edge == "both": + shape = (left + right) / max(1.0 + math.exp(-thickness / L_d), 2.0 * math.exp(-thickness / (2 * L_d))) + else: + raise ValueError(edge) + return N_bulk + (N_if - N_bulk) * shape + + +def gaussian_edge_profile_ref( + x_local: np.ndarray, thickness: float, N_if: float, N_bulk: float, sigma: float, + edge: str = "both", +) -> np.ndarray: + """Gaussian kernel exp(-(s/sigma)^2); ``both`` uses the documented + closed-form normaliser max(1 + k(d), 2 k(d/2)) (exact supremum only when + the face is the maximum; < 3 % low in the sigma ~ 0.64 d band).""" + + x_local = np.asarray(x_local, dtype=float) + if sigma <= 0.0: + return np.full_like(x_local, N_bulk) + + def k(s): + return np.exp(-((np.asarray(s, dtype=float) / sigma) ** 2)) + + if edge == "left": + shape = k(x_local) + elif edge == "right": + shape = k(thickness - x_local) + elif edge == "both": + shape = (k(x_local) + k(thickness - x_local)) / max( + float(1.0 + k(thickness)), float(2.0 * k(0.5 * thickness)) + ) + else: + raise ValueError(edge) + return N_bulk + (N_if - N_bulk) * shape + + +def tau_from_trap_density_ref(tau_bulk: float, N_t: np.ndarray, N_bulk: float) -> np.ndarray: + """tau = tau_b N_b / max(N_t, N_b): inverse-density rule with passivation floor.""" + + return tau_bulk * N_bulk / np.maximum(np.asarray(N_t, dtype=float), N_bulk) diff --git a/tests/independent/p04/test_p04_01_bernoulli_sg.py b/tests/independent/p04/test_p04_01_bernoulli_sg.py new file mode 100644 index 00000000..f46d780a --- /dev/null +++ b/tests/independent/p04/test_p04_01_bernoulli_sg.py @@ -0,0 +1,434 @@ +"""P04-01 oracle: robust Bernoulli value/derivative and Scharfetter-Gummel flux. + +Each check runs against three subjects: + +* ``oracle_ref`` -- the independent binary64 reference (self-validation); +* ``legacy`` -- ``perovskite_sim.discretization.fe_operators`` (history); +* ``candidate_m`` -- W3a's historical (M-class) kernels through ``p04_adapter``; +* ``candidate_n`` -- W3a's new-arithmetic (N-class) kernels through ``p04_adapter``. +""" + +from __future__ import annotations + +from decimal import Decimal, localcontext +from fractions import Fraction +from functools import lru_cache + +import numpy as np +import pytest + +import p04_adapter as adapter +import p04_legacy as legacy +from p04_gates import EPS, gate +from p04_oracle_bernoulli import ( + HP_DIGITS, + bernoulli_derivative_hp, + bernoulli_derivative_ref, + bernoulli_hp, + bernoulli_ref, + sg_equilibrium_bound, + sg_particle_flux_hp, + sg_particle_flux_jacobian_ref, + sg_particle_flux_ref, +) + +Q = 1.602176634e-19 + + +def _core_grid() -> np.ndarray: + pos = np.unique(np.concatenate([ + np.logspace(-300, np.log10(700.0), 500), + [1e-8, 9.999e-5, 1e-4, 1.0001e-4, 0.0499, 0.05, 0.0501, 1.0, 50.0, 699.9, 700.0], + ])) + pos = pos[pos <= 700.0] # the gate scope is |x| <= 700 exactly + return np.concatenate([-pos[::-1], [0.0], pos]) + + +CORE_X = _core_grid() +TAIL_POS = np.array([700.0000000000001, 701.0, 705.0, 709.8, 710.0, 714.0, 745.0, 746.0, 1e3, 1e5]) +TAIL_NEG = -np.array([700.5, 710.0, 745.0, 1e3, 1e5]) + + +@lru_cache(maxsize=None) +def _hp_values(xs: tuple[float, ...]) -> tuple[tuple[Decimal, ...], tuple[Decimal, ...]]: + return tuple(bernoulli_hp(x) for x in xs), tuple(bernoulli_derivative_hp(x) for x in xs) + + +def _legacy_b(x): + with np.errstate(all="ignore"): + return legacy.fe_operators().bernoulli(np.asarray(x, dtype=float)) + + +def _legacy_db(x): + with np.errstate(all="ignore"): + return legacy.fe_operators().bernoulli_derivative(np.asarray(x, dtype=float)) + + +SUBJECTS_B = { + "oracle_ref": bernoulli_ref, + "legacy": _legacy_b, + "candidate_m": lambda x: adapter.bernoulli(x), + "candidate_n": lambda x: adapter.bernoulli_stable(x), +} +SUBJECTS_DB = { + "oracle_ref": bernoulli_derivative_ref, + "legacy": _legacy_db, + "candidate_m": lambda x: adapter.bernoulli_derivative(x), + "candidate_n": lambda x: adapter.bernoulli_derivative_stable(x), +} + + +def _rel_errors(values, refs) -> np.ndarray: + out = [] + with localcontext() as ctx: + ctx.prec = HP_DIGITS + for v, r in zip(np.asarray(values, dtype=float), refs): + if not np.isfinite(v): + out.append(np.inf) + elif r == 0: + out.append(abs(float(v))) + else: + out.append(float(abs((Decimal(float(v)) - r) / r))) + return np.array(out) + + +# ------------------------------------------------------------- oracle itself + + +def test_hp_oracle_satisfies_exact_identities(): + with localcontext() as ctx: + ctx.prec = HP_DIGITS + for x in (1e-20, 1e-9, 0.3, 2.0, 50.0, 700.0, 1e4): + ident = bernoulli_hp(-x) - bernoulli_hp(x) - Decimal(x) + assert abs(ident) <= Decimal("1e-85") * (1 + Decimal(x)) + dident = bernoulli_derivative_hp(-x) + bernoulli_derivative_hp(x) + 1 + assert abs(dident) <= Decimal("1e-85") + assert bernoulli_derivative_hp(0.0) == Decimal(-1) / 2 + + +def test_hp_derivative_matches_decimal_central_difference(): + """Validates the analytic derivative independently of its own formula. + + With h = 1e-35 at 100 digits the quotient keeps >= 55 significant digits + even where e^x - 1 cancels (x ~ 1e-6), so 1e-50 is a safe absolute bound. + """ + + with localcontext() as ctx: + ctx.prec = HP_DIGITS + h = Decimal("1e-35") + for x in (-30.0, -1.0, -1e-3, 2e-6, 0.04, 0.7, 3.0, 40.0): + d = Decimal(x) + fd = ((d + h) / ((d + h).exp() - 1) - (d - h) / ((d - h).exp() - 1)) / (2 * h) + assert abs(fd - bernoulli_derivative_hp(x)) <= Decimal("1e-50") + + +# ------------------------------------------------------------- value gates + + +@pytest.mark.parametrize("subject", list(SUBJECTS_B)) +def test_bernoulli_value_core(subject): + g = gate("P0401-BERN-VAL") + B = np.asarray(SUBJECTS_B[subject](CORE_X), dtype=float) + refs, _ = _hp_values(tuple(CORE_X)) + err = _rel_errors(B, refs) + worst = int(np.argmax(err)) + assert err[worst] <= g.rel_limit, ( + f"{subject}: B({CORE_X[worst]!r}) rel error {err[worst]:.3e} > {g.rel_limit:.3e}" + ) + # B(50) must survive as the small branch (plan text: no subtraction loss). + b50 = float(np.asarray(SUBJECTS_B[subject](np.array([50.0])))[0]) + assert abs(b50 / float(bernoulli_hp(50.0)) - 1.0) <= g.rel_limit + + +@pytest.mark.parametrize("subject", list(SUBJECTS_B)) +def test_bernoulli_value_tail(subject): + g = gate("P0401-BERN-TAIL") + Bp = np.asarray(SUBJECTS_B[subject](TAIL_POS), dtype=float) + refs_p, _ = _hp_values(tuple(TAIL_POS)) + assert np.all(Bp >= 0.0) and np.all(np.isfinite(Bp)) + for x, b, r in zip(TAIL_POS, Bp, refs_p): + assert abs(Decimal(float(b)) - r) <= Decimal(g.abs_limit), f"{subject}: B({x})={b}" + Bn = np.asarray(SUBJECTS_B[subject](TAIL_NEG), dtype=float) + refs_n, _ = _hp_values(tuple(TAIL_NEG)) + assert np.max(_rel_errors(Bn, refs_n)) <= g.rel_limit + + +def test_legacy_tail_deviation_is_the_documented_zero_branch(): + """LD-01: legacy returns exactly 0 for x > 700 (true value <= 6.9e-302).""" + + B = _legacy_b(TAIL_POS) + assert np.all(B == 0.0) + assert float(bernoulli_hp(float(TAIL_POS[0]))) < 7e-302 + + +@pytest.mark.parametrize("subject", list(SUBJECTS_B)) +def test_bernoulli_large_argument_identity(subject): + g = gate("P0401-BERN-IDENT") + xp = CORE_X[CORE_X > 0] + Bm = np.asarray(SUBJECTS_B[subject](-xp), dtype=float) + Bp = np.asarray(SUBJECTS_B[subject](xp), dtype=float) + worst = 0.0 + for x, bm, bp in zip(xp, Bm, Bp): + exact = abs(Fraction(float(bm)) - Fraction(float(bp)) - Fraction(float(x))) + worst = max(worst, float(exact / Fraction(np.spacing(float(bm))))) + assert worst <= g.rel_limit, f"{subject}: identity off by {worst:.2f} ulp(B(-x))" + + +@pytest.mark.parametrize("subject", list(SUBJECTS_DB)) +def test_bernoulli_derivative_value(subject): + g = gate("P0401-DBERN-VAL") + dB = np.asarray(SUBJECTS_DB[subject](CORE_X), dtype=float) + _, refs = _hp_values(tuple(CORE_X)) + err = [] + for v, r in zip(dB, refs): + if abs(r) < Decimal("1e-300"): + err.append(0.0 if abs(Decimal(float(v)) - r) <= Decimal(g.abs_limit) else np.inf) + else: + err.append(float(abs((Decimal(float(v)) - r) / r)) if np.isfinite(v) else np.inf) + err = np.array(err) + worst = int(np.argmax(err)) + assert err[worst] <= g.rel_limit, ( + f"{subject}: B'({CORE_X[worst]!r}) rel error {err[worst]:.3e} > {g.rel_limit:.1e}" + ) + + +@pytest.mark.parametrize("subject", list(SUBJECTS_DB)) +def test_bernoulli_derivative_identity_and_shape(subject): + gi, gs = gate("P0401-DBERN-IDENT"), gate("P0401-DBERN-SHAPE") + xp = CORE_X[CORE_X > 0] + f = SUBJECTS_DB[subject] + ident = np.asarray(f(-xp)) + np.asarray(f(xp)) + 1.0 + assert np.max(np.abs(ident)) <= gi.abs_limit + wide = np.sort(np.concatenate([CORE_X, TAIL_NEG, TAIL_POS[TAIL_POS <= 745.0]])) + d = np.asarray(f(wide), dtype=float) + assert np.all(np.isfinite(d)), gs.zero_rule + assert np.all((d >= -1.0) & (d <= 0.0)) + assert np.all(np.diff(d) >= 0.0), "B' must be non-decreasing (B convex)" + assert float(np.asarray(f(np.array([0.0])))[0]) == -0.5 + + +def test_legacy_nonfinite_inputs_are_limits_or_nan(): + """Non-finite inputs may give the analytic limit or NaN, never another finite value.""" + + B = _legacy_b(np.array([-np.inf, np.inf, np.nan])) + assert B[0] == np.inf and B[1] == 0.0 and np.isnan(B[2]) + dB = _legacy_db(np.array([-np.inf, np.inf])) + assert all(np.isnan(v) or v in (-1.0, 0.0) for v in dB) # LD-02: legacy gives NaN + + +# ------------------------------------------------------------- SG flux + + +def _sg_case(seed: int, z: int): + rng = np.random.default_rng(seed) + n = 41 + h = rng.uniform(0.2e-9, 8e-9, n - 1) + V_T = 0.025851999786435 + psi = np.cumsum(np.concatenate([[0.0], rng.uniform(-0.6, 0.6, n - 1)])) * 0.5 + psi = np.clip(psi, -4.5, 4.5) + D = rng.uniform(1e-6, 2e-4, n - 1) + c = 1e15 * np.exp(-z * psi / V_T) + return psi, c, h, D, V_T + + +def _legacy_particle_flux(psi, c, h, D, V_T, z): + fe = legacy.fe_operators() + if z == -1: + return -fe.sg_fluxes_n(psi, c, h, D, V_T) / Q + return fe.sg_fluxes_p(psi, c, h, D, V_T) / Q + + +def _legacy_particle_jacobian(psi, c, h, D, V_T, z): + fe = legacy.fe_operators() + sign, jac = (-1.0, fe.sg_fluxes_n_jacobian) if z == -1 else (1.0, fe.sg_fluxes_p_jacobian) + j = jac(psi, c, h, D, V_T) + return { + "flux": sign * j.flux / Q, + "d_c_left": sign * j.density_left_derivative / Q, + "d_c_right": sign * j.density_right_derivative / Q, + "d_psi_left": sign * j.potential_left_derivative / Q, + "d_psi_right": sign * j.potential_right_derivative / Q, + } + + +SUBJECTS_SG = { + "oracle_ref": sg_particle_flux_ref, + "legacy": _legacy_particle_flux, + "candidate_m": lambda *a: adapter.sg_particle_flux_historical(*a), + "candidate_n": lambda *a: adapter.sg_particle_flux(*a), +} +SUBJECTS_JAC = { + "oracle_ref": sg_particle_flux_jacobian_ref, + "legacy": _legacy_particle_jacobian, + "candidate_m": lambda *a: adapter.sg_particle_flux_jacobian_historical(*a), + "candidate_n": lambda *a: adapter.sg_particle_flux_jacobian(*a), +} + + +def _leg_sum(psi, c, h, D, V_T, z): + xi = (psi[1:] - psi[:-1]) / V_T + return (D / h) * (bernoulli_ref(z * xi) * c[:-1] + bernoulli_ref(-z * xi) * c[1:]) + + +@pytest.mark.parametrize("subject", list(SUBJECTS_SG)) +@pytest.mark.parametrize("z", (-1, 1)) +@pytest.mark.parametrize("seed", (1, 2, 3)) +def test_sg_flux_vanishes_at_boltzmann_equilibrium(subject, z, seed): + assert gate("P0401-SG-EQ").rel_limit == 8.0 # factor inside sg_equilibrium_bound + psi, c, h, D, V_T = _sg_case(seed, z) + F = np.asarray(SUBJECTS_SG[subject](psi, c, h, D, V_T, z), dtype=float) + bound = sg_equilibrium_bound(psi[:-1], psi[1:], V_T) + ratio = np.abs(F) / _leg_sum(psi, c, h, D, V_T, z) + assert np.all(ratio <= bound), f"{subject}: worst {np.max(ratio / bound):.2f} x bound" + + +@pytest.mark.parametrize("subject", list(SUBJECTS_SG)) +@pytest.mark.parametrize("z", (-1, 1)) +def test_sg_flux_value_against_decimal(subject, z): + g = gate("P0401-SG-VAL") + rng = np.random.default_rng(7) + n = 25 + V_T = 0.025851999786435 + psi = np.concatenate([[0.0], np.cumsum(rng.choice([-1, 1], n - 1) * rng.uniform(0, 5.0, n - 1))]) + c = 10.0 ** rng.uniform(5, 24, n) + h = rng.uniform(1e-10, 1e-8, n - 1) + D = rng.uniform(1e-7, 1e-3, n - 1) + F = np.asarray(SUBJECTS_SG[subject](psi, c, h, D, V_T, z), dtype=float) + legs = _leg_sum(psi, c, h, D, V_T, z) + for i in range(n - 1): + ref = sg_particle_flux_hp(psi[i], psi[i + 1], c[i], c[i + 1], h[i], D[i], V_T, z) + assert abs(Decimal(float(F[i])) - ref) <= Decimal(g.rel_limit) * Decimal(float(legs[i])), ( + f"{subject}: face {i} xi={(psi[i + 1] - psi[i]) / V_T:.3g}" + ) + + +@pytest.mark.parametrize("z", (-1, 1)) +def test_sg_limits_diffusion_and_upwind_drift(z): + """Reference-only physics limits (Fick at xi=0; upwind drift at |xi|>>1).""" + + V_T, D, h = 0.0258, 1e-4, 1e-9 + c = np.array([3e20, 1e20]) + F0 = sg_particle_flux_ref(np.array([0.0, 0.0]), c, np.array([h]), D, V_T, z)[0] + assert F0 == pytest.approx(-D * (c[1] - c[0]) / h, rel=4 * EPS) + for dpsi in (40 * V_T, -40 * V_T): + F = sg_particle_flux_ref(np.array([0.0, dpsi]), c, np.array([h]), D, V_T, z)[0] + zxi = z * dpsi / V_T + up = c[1] if zxi > 0 else c[0] + assert F == pytest.approx(-(D / h) * zxi * up, rel=1e-15 + 50 * np.exp(-abs(zxi))) + + +@pytest.mark.parametrize("subject", list(SUBJECTS_JAC)) +@pytest.mark.parametrize("z", (-1, 1)) +def test_sg_jacobian_against_decimal_derivative(subject, z): + g = gate("P0401-SG-JAC") + rng = np.random.default_rng(11) + n = 15 + V_T = 0.025851999786435 + psi = np.concatenate([[0.0], np.cumsum(rng.uniform(-3.0, 3.0, n - 1))]) + c = 10.0 ** rng.uniform(8, 22, n) + h = rng.uniform(1e-10, 1e-8, n - 1) + D = rng.uniform(1e-7, 1e-3, n - 1) + J = SUBJECTS_JAC[subject](psi, c, h, D, V_T, z) + with localcontext() as ctx: + ctx.prec = HP_DIGITS + for i in range(n - 1): + xi = (Decimal(float(psi[i + 1])) - Decimal(float(psi[i]))) / Decimal(V_T) + zx = z * xi + pref = Decimal(float(D[i])) / Decimal(float(h[i])) + b_pos = _b_dec(zx) + b_neg = _b_dec(-zx) + db_pos, db_neg = _db_dec(zx), _db_dec(-zx) + ci, cj = Decimal(float(c[i])), Decimal(float(c[i + 1])) + d_xi = pref * z * (db_pos * ci + db_neg * cj) + ref = { + "d_c_left": pref * b_pos, + "d_c_right": -pref * b_neg, + "d_psi_left": -d_xi / Decimal(V_T), + "d_psi_right": d_xi / Decimal(V_T), + } + psi_scale = pref * (abs(db_pos) * ci + abs(db_neg) * cj) / Decimal(V_T) + for key, r in ref.items(): + v = Decimal(float(np.asarray(J[key])[i])) + scale = abs(r) + (psi_scale if "psi" in key else 0) + assert abs(v - r) <= Decimal(g.rel_limit) * scale, f"{subject}: {key} face {i}" + + +def _b_dec(d: Decimal) -> Decimal: + if d == 0: + return Decimal(1) + if abs(d) < Decimal("1e-15"): + return 1 - d / 2 + d * d / 12 + if d > 0: + t = (-d).exp() + return d * t / (1 - t) + return d / (d.exp() - 1) + + +def _db_dec(d: Decimal) -> Decimal: + if d == 0: + return Decimal(-1) / 2 + if abs(d) < Decimal("1e-15"): + return Decimal(-1) / 2 + d / 6 + if d > 0: + t = (-d).exp() + return t * (1 - d - t) / (1 - t) ** 2 + e = d.exp() + return (e - 1 - d * e) / (e - 1) ** 2 + + +# ------------------------------------------------------------- face averages + + +def _legacy_harmonic(a, b): + from perovskite_sim.solver.mol import _harmonic_face_average + + return _harmonic_face_average(np.stack([a, b]).T.ravel())[::2] + + +@pytest.mark.parametrize("subject", ("legacy", "candidate_guarded", "candidate_poisson")) +def test_harmonic_face_mean_is_exact_series_and_preserves_zero(subject): + """Exact series value; the zero rule applies to the guarded (transport) mean. + + The Poisson-channel mean only ever sees positive permittivities (the + operator rejects eps <= 0), so it is checked on positive pairs only. + """ + + g = gate("P0401-FACE-MEAN") + a = np.array([3.0, 24.1, 1e-10, 2.5e-4, 0.0, 0.0, 7.0]) + b = np.array([24.1, 10.0, 6.62e-3, 2.5e-4, 5.0, 0.0, 7.0]) + if subject == "candidate_poisson": + keep = (a > 0) & (b > 0) + a, b = a[keep], b[keep] + out = np.asarray(adapter.harmonic_face_mean(a, b, variant="poisson"), dtype=float) + elif subject == "candidate_guarded": + out = np.asarray(adapter.harmonic_face_mean(a, b, variant="guarded"), dtype=float) + else: + out = np.asarray(_legacy_harmonic(a, b), dtype=float) + for ai, bi, oi in zip(a, b, out): + if ai == 0.0 or bi == 0.0: + assert oi == 0.0, "a zero conductivity must give exactly 0 (no NaN)" + continue + exact = 2 * Fraction(ai) * Fraction(bi) / (Fraction(ai) + Fraction(bi)) + assert abs(Fraction(float(oi)) - exact) <= Fraction(g.rel_limit) * exact + + +def test_stable_pair_differs_from_legacy_only_by_the_legacy_error(): + """N-class triangle check: |pair - legacy| <= |pair - hp| + |legacy - hp|. + + The fixed P04-GOLDEN-N tolerance does not apply to ``bernoulli_pair``: the + historical reference itself carries the x > 700 zero branch (LD-01) and a + 3.4e-12 derivative error, so the difference must be explained by the two + measured errors instead of a fixed ratio. + """ + + refs_b, refs_d = _hp_values(tuple(CORE_X)) + pair_b = np.asarray(adapter.bernoulli_stable(CORE_X)) + pair_d = np.asarray(adapter.bernoulli_derivative_stable(CORE_X)) + old_b, old_d = _legacy_b(CORE_X), _legacy_db(CORE_X) + with localcontext() as ctx: + ctx.prec = HP_DIGITS + for new, old, refs in ((pair_b, old_b, refs_b), (pair_d, old_d, refs_d)): + for v_new, v_old, r in zip(new, old, refs): + dn, do = Decimal(float(v_new)), Decimal(float(v_old)) + bound = abs(dn - r) + abs(do - r) + assert abs(dn - do) <= bound * (1 + Decimal("1e-60")) + Decimal("1e-320") diff --git a/tests/independent/p04/test_p04_01_geometry.py b/tests/independent/p04/test_p04_01_geometry.py new file mode 100644 index 00000000..5fe82809 --- /dev/null +++ b/tests/independent/p04/test_p04_01_geometry.py @@ -0,0 +1,212 @@ +"""P04-01 oracle: named geometries, total measures, substrate alignment, ports.""" + +from __future__ import annotations + +from types import SimpleNamespace + +import numpy as np +import pytest + +import p04_adapter as adapter +import p04_legacy as legacy +from p04_gates import gate +from p04_oracle_geometry import ( + ALL_GEOMETRIES, + ALL_GEOMETRIES_V2, + GEOMETRY_QF_TWO_SIDED_TRACE, + GEOMETRY_LEGACY_1D, + GEOMETRY_LEGACY_2D, + GEOMETRY_R1_TWO_SIDED, + effective_interface_positions_integer_endpoint, + electrical_alignment, + exact_sum, + expected_total_measure, + half_endpoint_widths, + integer_endpoint_widths, + periodic_wrap_widths, + port_outward_particle_flux, + right_owner_layer_index, + two_sided_faces, + two_sided_trace_widths, + two_sided_widths, +) +from test_p04_01_poisson import TH, interface_node_grid, two_sided_grid + + +def _grids(): + rng = np.random.default_rng(5) + yield interface_node_grid() + yield interface_node_grid((3, 9, 2), a=1.5) + yield np.sort(np.concatenate([[0.0, 700e-9], rng.uniform(0, 700e-9, 50)])) + + +def test_closed_form_total_measures(): + g = gate("P0401-MEAS") + for x in _grids(): + L = float(x[-1] - x[0]) + h = np.diff(x) + assert abs(exact_sum(integer_endpoint_widths(x)) - (L + 0.5 * (h[0] + h[-1]))) <= g.rel_limit * L + assert abs(exact_sum(half_endpoint_widths(x)) - L) <= g.rel_limit * L + assert abs(exact_sum(periodic_wrap_widths(x)) - (L + 0.5 * (h[0] + h[-1]))) <= g.rel_limit * L + x = two_sided_grid() + assert abs(exact_sum(two_sided_widths(x, tuple(np.cumsum(TH)[:-1]))) - sum(TH)) <= g.rel_limit * sum(TH) + + +def test_two_sided_material_measures_equal_thicknesses(): + g = gate("P0401-LAYER-MEAS") + x = two_sided_grid((7, 13, 5)) + faces = two_sided_faces(x, tuple(np.cumsum(TH)[:-1])) + bounds = np.concatenate(([0.0], np.cumsum(TH))) + for k, d in enumerate(TH): + inside = (faces[:-1] >= bounds[k] - 1e-21) & (faces[1:] <= bounds[k + 1] + 1e-21) + assert abs(exact_sum(np.diff(faces)[inside]) - d) <= g.rel_limit * d + + +def test_two_sided_rejects_a_node_on_a_plane(): + with pytest.raises(ValueError): + two_sided_faces(interface_node_grid(), tuple(np.cumsum(TH)[:-1])) + + +def test_legacy_dual_cells_are_the_integer_endpoint_geometry(): + for x in _grids(): + assert np.array_equal(legacy.generation().dual_cell_widths(x), integer_endpoint_widths(x)) + + +def test_legacy_physical_faces_are_the_two_sided_geometry(): + x = two_sided_grid((7, 13, 5)) + planes = tuple(np.cumsum(TH)[:-1]) + assert np.array_equal(legacy.physical_control_volume().physical_cell_faces(x, planes), two_sided_faces(x, planes)) + + +def test_legacy_node_ownership_is_right_layer_wins(): + from perovskite_sim.solver.mol import _layer_node_masks + + x = interface_node_grid() + layers = [SimpleNamespace(thickness=d) for d in TH] + masks = _layer_node_masks(x, layers) + owner = right_owner_layer_index(x, TH) + for k, m in enumerate(masks): + assert np.array_equal(m, owner == k) + planes = effective_interface_positions_integer_endpoint(x, TH) + for plane, xi in zip(planes, np.cumsum(TH)[:-1]): + node = int(np.argmin(np.abs(x - xi))) + assert plane == 0.5 * (x[node - 1] + x[node]) < xi + + +@pytest.mark.parametrize("geometry", ALL_GEOMETRIES_V2) +def test_candidate_control_volumes(geometry): + g = gate("P0401-MEAS") + planes = tuple(np.cumsum(TH)[:-1]) + if geometry == GEOMETRY_R1_TWO_SIDED: + x, used = two_sided_grid(), planes + ref = two_sided_widths(x, planes) + elif geometry == GEOMETRY_QF_TWO_SIDED_TRACE: + x, used = two_sided_grid(), planes + ref = two_sided_trace_widths(x, planes) + else: + x, used = interface_node_grid(), () + ref = integer_endpoint_widths(x) if geometry == GEOMETRY_LEGACY_1D else half_endpoint_widths(x) + w = np.asarray(adapter.control_volume_widths(geometry, x, used), dtype=float) + assert abs(exact_sum(w) - expected_total_measure(geometry, x)) <= g.rel_limit * float(x[-1]) + if geometry == GEOMETRY_QF_TWO_SIDED_TRACE: + # The oracle forms these widths by a different expression (rounding-equal); + # the bitwise QF comparison against the legacy engine is in MSweepV1. + assert np.max(np.abs(w - ref)) <= 16 * np.finfo(float).eps * float(x[-1]) + else: + # R3-1 assertion, unchanged: the oracle uses the historical expressions. + assert np.array_equal(w, ref) or adapter.change_class("control_volumes") != "M" + if adapter.change_class("control_volumes") == "M" and geometry != GEOMETRY_QF_TWO_SIDED_TRACE: + legacy_ref = (legacy.physical_control_volume().physical_cell_faces(x, planes) + if geometry == GEOMETRY_R1_TWO_SIDED else None) + if geometry == GEOMETRY_LEGACY_1D: + assert np.array_equal(w, legacy.generation().dual_cell_widths(x)) + elif legacy_ref is not None: + assert np.array_equal(w, np.diff(legacy_ref)) + + +def test_candidate_geometry_records_planes_distances_normals_and_ports(): + """V1 P04-01 step 1: true plane, left/right distances, normals, port areas.""" + + x = two_sided_grid() + planes = tuple(np.cumsum(TH)[:-1]) + for oracle_id in (GEOMETRY_R1_TWO_SIDED, GEOMETRY_QF_TWO_SIDED_TRACE): + geom = adapter.build_geometry(oracle_id, x, planes) + assert len(geom.interfaces) == 2 + for plane, xi in zip(geom.interfaces, planes): + assert plane.position_m == xi and plane.shared_node is None + assert plane.right_node == plane.left_node + 1 + assert plane.left_distance_m == xi - x[plane.left_node] + assert plane.right_distance_m == x[plane.right_node] - xi + left, right = geom.ports + assert (left.outward_normal, right.outward_normal) == (-1, 1) + assert left.area_m2 == right.area_m2 == 1.0 and geom.face_normal == 1 + xi_grid = interface_node_grid() + geom = adapter.build_geometry(GEOMETRY_LEGACY_1D, xi_grid, planes) + for plane, xi in zip(geom.interfaces, planes): + assert plane.shared_node is not None and xi_grid[plane.shared_node] == xi + assert geom.geometric_cells is False # full-width contact cells are not geometric + + +def test_candidate_names_three_distinct_geometries(): + names = adapter.geometry_names() + assert len(set(names)) >= 3, "1D integer-endpoint, 2D half-endpoint and R1 two-sided must be distinct" + + +# ---------------------------------------------------------------- substrate + + +CASES = ( + (("HTL", "absorber", "ETL"), (200e-9, 400e-9, 100e-9)), + (("substrate", "HTL", "absorber", "ETL"), (1e-3, 200e-9, 400e-9, 100e-9)), + (("substrate", "substrate", "ETL", "absorber"), (1e-3, 1e-4, 50e-9, 500e-9)), +) + + +@pytest.mark.parametrize("roles, th", CASES) +def test_legacy_substrate_prefix_alignment(roles, th): + g = gate("P0401-SUBSTRATE") + ref = electrical_alignment(roles, th) + n_full = len(roles) - 1 + tags = tuple(f"iface{k}" for k in range(n_full)) + stack = SimpleNamespace( + layers=tuple(SimpleNamespace(role=r, thickness=t) for r, t in zip(roles, th)), + interfaces=tags, + interface_defects=tags, + ) + dev = legacy.device_alignment() + expected = tuple(f"iface{k}" for k in ref.electrical_interface_full_indices) + assert dev.electrical_interfaces(stack) == expected + assert dev.electrical_interface_defects(stack) == expected + elec = dev.electrical_layers(stack) + pos = np.cumsum([layer.thickness for layer in elec])[:-1] + assert np.allclose(pos, ref.electrical_interface_positions_m, rtol=g.rel_limit, atol=0.0) + + +def test_substrate_must_be_a_contiguous_prefix(): + with pytest.raises(ValueError): + electrical_alignment(("HTL", "substrate", "ETL"), (1.0, 1.0, 1.0)) + stack = SimpleNamespace(layers=(SimpleNamespace(role="HTL", thickness=1.0), + SimpleNamespace(role="substrate", thickness=1.0))) + with pytest.raises(ValueError): + legacy.device_alignment().electrical_layers(stack) + + +@pytest.mark.parametrize("roles, th", CASES) +def test_candidate_substrate_prefix_alignment(roles, th): + ref = electrical_alignment(roles, th) + idx, pos = adapter.electrical_interface_alignment(roles, th) + assert tuple(idx) == ref.electrical_interface_full_indices + assert np.allclose(pos, ref.electrical_interface_positions_m, rtol=gate("P0401-SUBSTRATE").rel_limit, atol=0.0) + + +# ---------------------------------------------------------------- ports + + +def test_port_normals_and_conservation(): + flux = np.full(9, 3.7e21) # divergence-free +x particle flux + left, right = port_outward_particle_flux(flux, 1.0) + assert left == -3.7e21 and right == 3.7e21 and left + right == 0.0 + lx = 500e-9 # 2D unit depth: the port measure is the lateral length + left2, right2 = port_outward_particle_flux(flux, lx) + assert left2 + right2 == 0.0 and right2 == 3.7e21 * lx + assert GEOMETRY_LEGACY_2D in ALL_GEOMETRIES diff --git a/tests/independent/p04/test_p04_01_poisson.py b/tests/independent/p04/test_p04_01_poisson.py new file mode 100644 index 00000000..fd13b15c --- /dev/null +++ b/tests/independent/p04/test_p04_01_poisson.py @@ -0,0 +1,344 @@ +"""P04-01 oracle: Poisson as an algebraic residual (capacitance, charge, MMS, Gauss). + +Three subjects again: the oracle FV reference (exact face data), the legacy +1D rule (``physics/poisson.py`` with right-owner nodal eps/rho, i.e. the +``legacy_1d_integer_endpoint_v1`` channel) and the candidate (adapter). +""" + +from __future__ import annotations + +import math + +import numpy as np +import pytest + +import p04_adapter as adapter +import p04_legacy as legacy +from p04_gates import gate +from p04_oracle_electrostatics import ( + EPS_0_LEGACY, + LayeredStack, + ManufacturedPoisson, + exact_cell_charge, + exact_face_capacitance, + fv_residual, + fv_residual_scale, + layered_constant_charge_solution, + legacy_rule_cell_charge, + legacy_rule_face_capacitance, + observed_orders, + series_capacitance, + shifted_stack_for_legacy_rule, + solve_fv_dirichlet, +) +from p04_oracle_geometry import ( + GEOMETRY_LEGACY_1D, + GEOMETRY_QF_TWO_SIDED_TRACE, + GEOMETRY_R1_TWO_SIDED, + right_owner_layer_index, + two_sided_faces, +) + +Q = 1.602176634e-19 +TH = (200e-9, 400e-9, 100e-9) +ER = (3.0, 24.1, 10.0) + + +def tanh_nodes(N: int, L: float, a: float = 3.0) -> np.ndarray: + xi = np.linspace(-1.0, 1.0, N + 1) + return L * (1.0 + np.tanh(a * xi) / np.tanh(a)) / 2.0 + + +def interface_node_grid(Ns=(20, 40, 15), th=TH, a=3.0) -> np.ndarray: + """Independent re-implementation of the historical multilayer tanh grid.""" + + segs, off = [], 0.0 + for k, (d, N) in enumerate(zip(th, Ns)): + s = tanh_nodes(N, d, a) + off + segs.append(s[1:] if k else s) + off += d + return np.concatenate(segs) + + +def two_sided_grid(Ns=(8, 16, 4), th=TH, a=2.0) -> np.ndarray: + """Cell-centred nodes inside each layer (no node on any plane).""" + + pts, off = [0.0], 0.0 + for d, N in zip(th, Ns): + edges = tanh_nodes(N, d, a) + off + pts.extend(0.5 * (edges[:-1] + edges[1:])) + off += d + pts.append(off) + return np.array(pts) + + +def dual_faces(x: np.ndarray) -> np.ndarray: + return np.concatenate(([x[0]], 0.5 * (x[:-1] + x[1:]), [x[-1]])) + + +def _limit(g, phi_exact): + return g.abs_limit * max(1.0, float(np.max(np.abs(phi_exact)))) + + +def _legacy_solve(x, stack: LayeredStack, phi_l, phi_r): + owner = right_owner_layer_index(x, stack.thicknesses_m) + eps_node = np.array(stack.eps_r)[owner] + rho_node = np.array(stack.rho())[owner] + return legacy.poisson().solve_poisson(x, eps_node, rho_node, phi_l, phi_r) + + +def test_grid_reimplementation_matches_legacy_multilayer_grid(): + g = legacy.grid() + x_legacy = g.multilayer_grid([g.Layer(d, n) for d, n in zip(TH, (20, 40, 15))]) + assert np.array_equal(interface_node_grid(), x_legacy) + + +def test_vacuum_permittivity_identity(): + """M-class migrations must keep the legacy eps0 bit-for-bit.""" + + from perovskite_sim.constants import EPS_0 + + assert EPS_0 == EPS_0_LEGACY + eps0 = adapter.poisson_vacuum_permittivity() + assert eps0 == EPS_0_LEGACY or adapter.change_class("poisson_1d") == "P" + + +# ------------------------------------------------------- series capacitor + + +def test_oracle_fv_reproduces_series_capacitor_exactly(): + g, gc = gate("P0401-POI-EXACT"), gate("P0401-POI-CAP") + stack = LayeredStack(TH, ER) + for x in (interface_node_grid(), interface_node_grid((5, 3, 7), a=1.0)): + C = exact_face_capacitance(x, stack) + phi = solve_fv_dirichlet(C, np.zeros(x.size), 0.0, 1.1) + sol = layered_constant_charge_solution(stack, 0.0, 1.1) + assert np.max(np.abs(phi - sol.potential(x))) <= _limit(g, sol.potential(x)) + c_disc = 1.0 / math.fsum(1.0 / C) + assert abs(c_disc / series_capacitance(stack) - 1.0) <= gc.rel_limit + + +def test_legacy_rule_is_exact_for_the_shifted_structure_only(): + """Geometry difference, not algorithm error: planes act at x_I - h_{I-1}/2.""" + + g = gate("P0401-POI-GEOM") + stack = LayeredStack(TH, ER) + x = interface_node_grid() + phi = _legacy_solve(x, stack, 0.0, 1.1) + shifted = layered_constant_charge_solution(shifted_stack_for_legacy_rule(x, stack), 0.0, 1.1) + true = layered_constant_charge_solution(stack, 0.0, 1.1) + lim = _limit(g, shifted.potential(x)) + assert np.max(np.abs(phi - shifted.potential(x))) <= lim + assert np.max(np.abs(phi - true.potential(x))) >= 100.0 * lim, "test must discriminate" + owner = right_owner_layer_index(x, TH) + C_rule = legacy_rule_face_capacitance(np.array(ER)[owner], x) + assert abs((1.0 / math.fsum(1.0 / C_rule)) / series_capacitance(shifted_stack_for_legacy_rule(x, stack)) - 1.0) <= 1e-13 + + +@pytest.mark.parametrize("geometry", (GEOMETRY_LEGACY_1D, GEOMETRY_R1_TWO_SIDED, GEOMETRY_QF_TWO_SIDED_TRACE)) +def test_candidate_series_capacitor(geometry): + g = gate("P0401-POI-GEOM" if geometry == GEOMETRY_LEGACY_1D else "P0401-POI-EXACT") + stack = LayeredStack(TH, ER) + x = interface_node_grid() if geometry == GEOMETRY_LEGACY_1D else two_sided_grid() + phi = np.asarray(adapter.poisson_solve(geometry, x, TH, ER, (0.0,) * 3, (0.0, 0.0), 0.0, 1.1)) + ref_stack = shifted_stack_for_legacy_rule(x, stack) if geometry == GEOMETRY_LEGACY_1D else stack + ref = layered_constant_charge_solution(ref_stack, 0.0, 1.1).potential(x) + assert np.max(np.abs(phi - ref)) <= _limit(g, ref) + + +# ------------------------------------------------------- constant charge + + +def test_uniform_charge_single_layer_is_exact_on_nonuniform_mesh(): + g = gate("P0401-POI-EXACT") + stack = LayeredStack((400e-9,), (24.1,), (Q * 1e22,)) + x = tanh_nodes(37, 400e-9) + sol = layered_constant_charge_solution(stack, 0.0, 0.9) + phi_ref = solve_fv_dirichlet(exact_face_capacitance(x, stack), exact_cell_charge(dual_faces(x), stack), 0.0, 0.9) + phi_leg = _legacy_solve(x, stack, 0.0, 0.9) + exact = sol.potential(x) + assert np.max(np.abs(exact - (0.9 * x / 400e-9))) > 0.1, "charge term must be visible" + for phi in (phi_ref, phi_leg): + assert np.max(np.abs(phi - exact)) <= _limit(g, exact) + # The algebraic residual of the exact nodal solution vanishes to rounding. + C, Qc = exact_face_capacitance(x, stack), exact_cell_charge(dual_faces(x), stack) + r = fv_residual(exact, C, Qc) + assert np.all(np.abs(r) <= 1e-9 * fv_residual_scale(exact, C, Qc)) + + +def test_layered_charge_with_interface_sheets_exact_on_interface_nodes(): + """Piecewise-quadratic exactness with exact cell charge (sheets inside cells).""" + + g = gate("P0401-POI-EXACT") + stack = LayeredStack(TH, ER, (Q * 1e23, -Q * 5e21, -Q * 2e23), (Q * 1e15, -Q * 3e15)) + x = interface_node_grid() + sol = layered_constant_charge_solution(stack, 0.0, 1.1) + Qc = exact_cell_charge(dual_faces(x), stack) + phi = solve_fv_dirichlet(exact_face_capacitance(x, stack), Qc, 0.0, 1.1) + assert np.max(np.abs(phi - sol.potential(x))) <= _limit(g, sol.potential(x)) + + +def _with_trace_nodes(xb: np.ndarray): + planes = tuple(np.cumsum(TH)[:-1]) + xa = np.sort(np.concatenate([xb, planes])) + return xa, np.isin(xa, planes) + + +def test_gauss_jump_through_zero_volume_trace_node(): + """Two-sided geometry: each plane is its own trace unknown; D+ - D- = sigma. + + rho = 0 makes D piecewise constant, so the trace scheme is exact and the + jump at every plane must equal the declared sheet charge. + """ + + g, ge = gate("P0401-GAUSS-JUMP"), gate("P0401-POI-EXACT") + sig = (Q * 2e15, -Q * 1e15) + stack = LayeredStack(TH, ER, (), sig) + xa, is_plane = _with_trace_nodes(two_sided_grid()) + Qc = np.zeros(xa.size) + Qc[is_plane] = sig + C = exact_face_capacitance(xa, stack) + phi = solve_fv_dirichlet(C, Qc, 0.0, 1.1) + exact = layered_constant_charge_solution(stack, 0.0, 1.1).potential(xa) + assert np.max(np.abs(phi - exact)) <= _limit(ge, exact) + D_face = -C * np.diff(phi) + for k, idx in enumerate(np.flatnonzero(is_plane)): + jump = D_face[idx] - D_face[idx - 1] + assert abs(jump - sig[k]) <= g.rel_limit * (abs(sig[k]) + abs(D_face[idx])) + + +@pytest.mark.parametrize("geometry", (GEOMETRY_R1_TWO_SIDED, GEOMETRY_QF_TWO_SIDED_TRACE)) +def test_candidate_sheet_charge_two_sided_exact(geometry): + g = gate("P0401-POI-EXACT") + sig = (Q * 2e15, -Q * 1e15) + x = two_sided_grid() + phi = np.asarray(adapter.poisson_solve(geometry, x, TH, ER, (0.0,) * 3, sig, 0.0, 1.1)) + exact = layered_constant_charge_solution(LayeredStack(TH, ER, (), sig), 0.0, 1.1).potential(x) + assert np.max(np.abs(phi - exact)) <= _limit(g, exact) + + +# ------------------------------------------------------- MMS + + +def _mms(eps=ER): + return ManufacturedPoisson(TH, eps, F0=Q * 1e22 * 100e-9, F1=-Q * 3e21 * 50e-9, phi_left=0.0) + + +def _mms_errors(kind: str, m: ManufacturedPoisson): + errs, hs = [], [] + for f in (1, 2, 4, 8, 16): + if kind == "two_sided": + x = two_sided_grid((8 * f, 16 * f, 4 * f)) + faces = two_sided_faces(x, tuple(np.cumsum(TH)[:-1])) + phi = solve_fv_dirichlet(exact_face_capacitance(x, m.as_layered_stack()), m.cell_charge(faces), + m.phi_left, m.phi_right) + else: + x = interface_node_grid((10 * f, 20 * f, 8 * f)) + if kind == "interface_nodes_exact": + phi = solve_fv_dirichlet(exact_face_capacitance(x, m.as_layered_stack()), + m.cell_charge(dual_faces(x)), m.phi_left, m.phi_right) + else: # historical rule + owner = right_owner_layer_index(x, TH) + phi = legacy.poisson().solve_poisson( + x, np.array(m.eps_r)[owner], m.rho(x), m.phi_left, m.phi_right) + errs.append(np.max(np.abs(phi - m.potential(x)))) + hs.append(np.max(np.diff(x))) + return np.array(hs), np.array(errs) + + +@pytest.mark.parametrize("kind", ("two_sided", "interface_nodes_exact")) +def test_mms_second_order_with_exact_interface_data(kind): + g = gate("P0401-POI-MMS") + h, e = _mms_errors(kind, _mms()) + p = observed_orders(h, e) + assert p[-1] >= g.rel_limit, f"{kind}: orders {np.round(p, 3)}" + + +def test_mms_historical_rule_is_second_order_without_contrast_first_order_with_it(): + g = gate("P0401-POI-MMS") + h, e = _mms_errors("legacy", _mms((10.0, 10.0, 10.0))) + assert observed_orders(h, e)[-1] >= g.rel_limit + h, e = _mms_errors("legacy", _mms()) + p = observed_orders(h, e) + assert 0.8 <= p[-1] <= 1.5, f"historical eps-contrast order {np.round(p, 3)} (geometry shift)" + + +def test_candidate_mms_two_sided(): + g = gate("P0401-POI-MMS") + m = _mms() + errs, hs = [], [] + for f in (1, 2, 4, 8, 16): + x = two_sided_grid((8 * f, 16 * f, 4 * f)) + faces = two_sided_faces(x, tuple(np.cumsum(TH)[:-1])) + phi = np.asarray(adapter.poisson_solve_manufactured( + GEOMETRY_R1_TWO_SIDED, x, TH, ER, m.rho, m.cell_charge(faces), m.phi_left, m.phi_right)) + errs.append(np.max(np.abs(phi - m.potential(x)))) + hs.append(np.max(np.diff(x))) + assert observed_orders(np.array(hs), np.array(errs))[-1] >= g.rel_limit + + +def test_legacy_prefactored_path_equals_sparse_path(): + """Historical consistency of the two legacy entry points on the golden case.""" + + stack = LayeredStack(TH, ER, (Q * 1e23, -Q * 5e21, -Q * 2e23)) + x = interface_node_grid() + owner = right_owner_layer_index(x, TH) + eps_node, rho_node = np.array(ER)[owner], np.array(stack.rho())[owner] + poi = legacy.poisson() + a = poi.solve_poisson(x, eps_node, rho_node, 0.0, 1.1) + b = poi.solve_poisson_prefactored(poi.factor_poisson(x, eps_node), rho_node, 0.0, 1.1) + assert np.max(np.abs(a - b)) <= 1e-10 * max(1.0, np.max(np.abs(a))) + rule = solve_fv_dirichlet(legacy_rule_face_capacitance(eps_node, x), legacy_rule_cell_charge(rho_node, x), 0.0, 1.1) + assert np.max(np.abs(rule - b)) <= 1e-10 * max(1.0, np.max(np.abs(a))) + + +# ------------------------------------------------------- TermSink Gauss (N) + + +@pytest.mark.parametrize("geometry", (GEOMETRY_LEGACY_1D, GEOMETRY_R1_TWO_SIDED, GEOMETRY_QF_TWO_SIDED_TRACE)) +def test_candidate_gauss_term_sink_equals_the_algebraic_residual(geometry): + """N class: TermSink assembly of the same Gauss law (gate P0401-GAUSS-SINK). + + Interior rows equal the oracle FV residual built from the operator's own + face capacitances and widths to rounding. Contact rows equal -D(0) and + +D(L) by Gauss over the end cells; that reading is physical only where the + contact cells are geometric (not the integer-endpoint geometry, whose + contact weights are the full adjacent interval). + """ + + gs = gate("P0401-GAUSS-SINK") + x = interface_node_grid() if geometry == GEOMETRY_LEGACY_1D else two_sided_grid() + rng = np.random.default_rng(23) + phi = rng.normal(scale=0.4, size=x.size) + rho = rng.normal(scale=Q * 1e23, size=x.size) + geom, _, _, op = adapter.poisson_operator(geometry, x, TH, ER) + balance = np.asarray(adapter.gauss_balance(geometry, x, TH, ER, phi, rho)) + C = np.asarray(op.face_capacitance_F_m2) + w = np.asarray(geom.cell_measures_m) + Qc = rho * w + ref = fv_residual(phi, C, Qc) + scale = fv_residual_scale(phi, C, Qc) + assert np.all(np.abs(balance[1:-1] - ref) <= gs.rel_limit * scale) + d_face = -C * np.diff(phi) + left = d_face[0] - Qc[0] + right = d_face[-1] + Qc[-1] + assert abs(balance[0] + left) <= gs.rel_limit * (abs(d_face[0]) + abs(Qc[0])) + assert abs(balance[-1] - right) <= gs.rel_limit * (abs(d_face[-1]) + abs(Qc[-1])) + + +@pytest.mark.parametrize("geometry", (GEOMETRY_LEGACY_1D, GEOMETRY_R1_TWO_SIDED)) +def test_candidate_poisson_residual_is_the_historical_expression(geometry): + """M class: the interior residual equals the oracle FV residual bitwise-close. + + For the historical channel the face data must be the harmonic nodal mean + and the widths the dual-cell rule (the shifted-plane structure). + """ + + x = interface_node_grid() if geometry == GEOMETRY_LEGACY_1D else two_sided_grid() + geom, owner, eps_node, op = adapter.poisson_operator(geometry, x, TH, ER) + if geometry == GEOMETRY_LEGACY_1D: + assert np.array_equal(np.asarray(op.face_capacitance_F_m2), legacy_rule_face_capacitance(eps_node, x)) + assert np.array_equal(np.asarray(op.interior_widths_m), legacy_rule_cell_charge(np.ones(x.size), x)[1:-1]) + else: + exact = exact_face_capacitance(x, LayeredStack(TH, ER)) + assert np.max(np.abs(np.asarray(op.face_capacitance_F_m2) / exact - 1.0)) <= 1e-15 * 8 diff --git a/tests/independent/p04/test_p04_07_generation.py b/tests/independent/p04/test_p04_07_generation.py new file mode 100644 index 00000000..fff16b8e --- /dev/null +++ b/tests/independent/p04/test_p04_07_generation.py @@ -0,0 +1,198 @@ +"""P04-07 oracle: monochromatic Beer-Lambert control-volume generation, units, direction.""" + +from __future__ import annotations + +import math + +import numpy as np +import pytest + +import p04_adapter as adapter +import p04_legacy as legacy +from p04_gates import EPS, gate +from p04_oracle_electrostatics import shifted_stack_for_legacy_rule, LayeredStack +from p04_oracle_geometry import ( + GEOMETRY_LEGACY_1D, + GEOMETRY_LEGACY_2D, + GEOMETRY_R1_TWO_SIDED, + integer_endpoint_widths, + right_owner_layer_index, + two_sided_faces, +) +from p04_oracle_optics import ( + C_LIGHT, + H_PLANCK, + absorbed_between, + bl_layer_absorption, + exact_optical_depth, + nodal_trapezoid_optical_depth, + photon_flux_per_m_from_irradiance_per_nm, +) +from test_p04_01_poisson import TH, interface_node_grid, two_sided_grid + +ALPHA = (2.0e5, 1.3e7, 4.0e6) # absorbing HTL and ETL: exercises boundary cells +PHI = 1.4e21 + + +def _legacy_bl(x, alpha_node, Phi): + return legacy.generation().beer_lambert_generation(x, alpha_node, Phi) + + +@pytest.mark.parametrize("alpha", (ALPHA, (0.0, 1.3e7, 0.0))) +@pytest.mark.parametrize("Ns", ((20, 40, 15), (2, 3, 1), (200, 400, 150))) +def test_legacy_telescoping_and_photon_ceiling(alpha, Ns): + gt, gb = gate("P0407-BL-TELE"), gate("P0407-BL-BOUND") + x = interface_node_grid(Ns) + a_node = np.array(alpha)[right_owner_layer_index(x, TH)] + G = _legacy_bl(x, a_node, PHI) + w = integer_endpoint_widths(x) + total = math.fsum(G * w) + tau_d = nodal_trapezoid_optical_depth(x, a_node)[-1] + expected = PHI * -math.expm1(-tau_d) + assert abs(total / expected - 1.0) <= gt.rel_limit + assert total <= PHI + assert np.all(G >= 0.0) + # Geometry identity: the discrete depth is the true depth of the shifted planes. + shifted = shifted_stack_for_legacy_rule(x, LayeredStack(TH, (1.0, 1.0, 1.0))) + assert abs(tau_d - math.fsum(a * d for a, d in zip(alpha, shifted.thicknesses_m))) <= 1e-13 * tau_d + del gb + + +def test_legacy_per_layer_split_converges_first_order_to_the_analytic_integral(): + """History: the right-owner nodal channel splits photons with an O(h) bias.""" + + exact = bl_layer_absorption(ALPHA, TH, PHI) + errs, hs = [], [] + for f in (1, 2, 4, 8, 16): + x = interface_node_grid((20 * f, 40 * f, 15 * f)) + owner = right_owner_layer_index(x, TH) + absorbed = _legacy_bl(x, np.array(ALPHA)[owner], PHI) * integer_endpoint_widths(x) + per = np.array([math.fsum(absorbed[owner == k]) for k in range(3)]) + errs.append(np.max(np.abs(per - exact) / exact)) + hs.append(np.max(np.diff(x))) + p = np.log(np.array(errs[:-1]) / errs[1:]) / np.log(np.array(hs[:-1]) / hs[1:]) + assert 0.8 <= p[-1] <= 1.3, f"orders {np.round(p, 3)}" + + +def test_oracle_cell_exact_generation_reproduces_layer_integrals(): + """Control volumes aligned with the planes reproduce (BL) per layer exactly.""" + + g = gate("P0407-BL-LAYER") + x = two_sided_grid((9, 17, 5)) + faces = two_sided_faces(x, tuple(np.cumsum(TH)[:-1])) + tau = exact_optical_depth(faces, ALPHA, TH) + absorbed = absorbed_between(tau[:-1], tau[1:], PHI) + bounds = np.cumsum(TH) + owner = np.searchsorted(bounds, x, side="left").clip(0, 2) + exact = bl_layer_absorption(ALPHA, TH, PHI) + for k in range(3): + assert abs(math.fsum(absorbed[owner == k]) / exact[k] - 1.0) <= g.rel_limit + assert abs(math.fsum(absorbed) / (PHI * -math.expm1(-sum(a * d for a, d in zip(ALPHA, TH)))) - 1.0) <= g.rel_limit + + +@pytest.mark.parametrize("geometry", (GEOMETRY_LEGACY_1D, GEOMETRY_R1_TWO_SIDED)) +def test_candidate_bl_layer_integrals_and_bounds(geometry): + gt, gl = gate("P0407-BL-TELE"), gate("P0407-BL-LAYER") + x = interface_node_grid() if geometry == GEOMETRY_LEGACY_1D else two_sided_grid((9, 17, 5)) + owner = right_owner_layer_index(x, TH) if geometry == GEOMETRY_LEGACY_1D else \ + np.searchsorted(np.cumsum(TH), x, side="left").clip(0, 2) + planes = () if geometry == GEOMETRY_LEGACY_1D else tuple(np.cumsum(TH)[:-1]) # two-sided needs the planes + G, w = (np.asarray(a, dtype=float) for a in + adapter.beer_lambert_generation(geometry, x, np.array(ALPHA)[owner], PHI, interfaces=planes)) + total = math.fsum(G * w) + assert total <= PHI and np.all(G >= 0.0) + if geometry == GEOMETRY_LEGACY_1D: + tau_d = nodal_trapezoid_optical_depth(x, np.array(ALPHA)[owner])[-1] + assert abs(total / (PHI * -math.expm1(-tau_d)) - 1.0) <= gt.rel_limit + ref = _legacy_bl(x, np.array(ALPHA)[owner], PHI) + if adapter.change_class("beer_lambert") == "M": + assert np.array_equal(G, ref) + else: + exact = bl_layer_absorption(ALPHA, TH, PHI) + for k in range(3): + assert abs(math.fsum((G * w)[owner == k]) / exact[k] - 1.0) <= gl.rel_limit + + +@pytest.mark.parametrize("subject", ("legacy", "candidate")) +def test_zero_channels_are_exact(subject): + x = interface_node_grid() + owner = right_owner_layer_index(x, TH) + a_node = np.array((0.0, 1.3e7, 0.0))[owner] + + def run(alpha, Phi): + if subject == "legacy": + return _legacy_bl(x, alpha, Phi) + return adapter.beer_lambert_generation(GEOMETRY_LEGACY_1D, x, alpha, Phi)[0] + + G = np.asarray(run(a_node, PHI)) + first_abs = int(np.flatnonzero(owner == 1)[0]) + dark = np.zeros(x.size, dtype=bool) + dark[: first_abs - 1] = True # both dual faces inside the transparent HTL + assert np.all(G[dark] == 0.0) + assert np.all(np.asarray(run(a_node, 0.0)) == 0.0) + assert np.all(np.asarray(run(np.zeros_like(a_node), PHI)) == 0.0) + + +def test_candidate_contact_cells_keep_the_channel_convention(): + """Integer endpoint: a contact cell weighs the full dx but absorbs only over dx/2. + + The absorbed photons of each cell are compared per cell with the oracle's + discrete depth at the midpoint faces (bound 8 eps Phi: two rounded + exponentials <= 1 and one subtraction); the factor-2 alternative (absorbing + over the full dx) is excluded by orders of magnitude. The 2D half-endpoint + channel keeps the same photons over dx/2: exactly twice the source. + """ + + gt = gate("P0407-BL-TELE") + x = interface_node_grid() + a_node = np.array(ALPHA)[right_owner_layer_index(x, TH)] + G, w = (np.asarray(v) for v in adapter.beer_lambert_generation(GEOMETRY_LEGACY_1D, x, a_node, PHI)) + h = np.diff(x) + assert np.array_equal(w, integer_endpoint_widths(x)) and w[0] == h[0] and w[-1] == h[-1] + tau = nodal_trapezoid_optical_depth(x, a_node) + faces = np.concatenate(([tau[0]], 0.5 * (tau[:-1] + tau[1:]), [tau[-1]])) + absorbed = PHI * (np.exp(-faces[:-1]) - np.exp(-faces[1:])) + assert np.max(np.abs(G * w - absorbed)) <= 8 * EPS * PHI + full_cell = PHI * -math.expm1(-tau[1]) + assert abs(G[0] * w[0] - full_cell) > 0.25 * full_cell # discriminates the dx/2 extent + assert abs(math.fsum(G * w) / (PHI * -math.expm1(-tau[-1])) - 1.0) <= gt.rel_limit + G2, w2 = (np.asarray(v) for v in adapter.beer_lambert_generation(GEOMETRY_LEGACY_2D, x, a_node, PHI)) + assert w2[0] == 0.5 * h[0] and w2[-1] == 0.5 * h[-1] + assert np.array_equal(G2[1:-1], G[1:-1]) and G2[0] == 2.0 * G[0] and G2[-1] == 2.0 * G[-1] + + +def test_candidate_incidence_direction_is_mirror_symmetric(): + g = gate("P0407-BL-DIR") + x = interface_node_grid() + owner = right_owner_layer_index(x, TH) + a_node = np.array(ALPHA)[owner] + G_right, _ = adapter.beer_lambert_generation(GEOMETRY_LEGACY_1D, x, a_node, PHI, incidence="right") + xm = (x[-1] - x)[::-1] + G_mirror, _ = adapter.beer_lambert_generation(GEOMETRY_LEGACY_1D, xm, a_node[::-1], PHI, incidence="left") + G_right, G_mirror = np.asarray(G_right), np.asarray(G_mirror)[::-1] + assert np.max(np.abs(G_right - G_mirror)) <= g.rel_limit * np.max(G_mirror) + + +# ---------------------------------------------------------------- spectral units + + +def test_photon_flux_conversion_is_exact_si(): + g = gate("P0407-UNITS") + wl_nm = np.array([300.0, 500.0, 800.0]) + phi = photon_flux_per_m_from_irradiance_per_nm(np.ones(3), wl_nm) + expected = 1e9 * wl_nm * 1e-9 / (H_PLANCK * C_LIGHT) + assert np.all(np.abs(phi / expected - 1.0) <= g.rel_limit) + + +def test_legacy_am15g_resource_is_per_metre_photon_flux(): + """The shipped AM1.5G table is photons m^-2 s^-1 per METRE of wavelength. + + Converting back at 500 nm must give the ASTM G-173 global-tilt spectral + irradiance (about 1.53 W m^-2 nm^-1); a per-nm table would be 1e9 off. + """ + + from perovskite_sim.data import load_am15g + + wl, flux = load_am15g(np.array([500.0])) + irradiance = flux[0] * H_PLANCK * C_LIGHT / (500e-9) * 1e-9 + assert 1.45 <= irradiance <= 1.61 diff --git a/tests/independent/p04/test_p04_07_optics_tmm.py b/tests/independent/p04/test_p04_07_optics_tmm.py new file mode 100644 index 00000000..4359b0a2 --- /dev/null +++ b/tests/independent/p04/test_p04_07_optics_tmm.py @@ -0,0 +1,234 @@ +"""P04-07 oracle: TMM energy conservation, closed forms, control-volume photons, budget.""" + +from __future__ import annotations + +import math + +import numpy as np +import pytest + +import p04_adapter as adapter +import p04_legacy as legacy +from p04_gates import gate +from p04_oracle_optics import ( + Q_E, + airy_slab, + fresnel_interface, + tmm_normal_incidence, + trapezoid_weights, +) + +N_WL = 100 +WL_NM = np.linspace(350.0, 750.0, N_WL) +WL = WL_NM * 1e-9 +K = (np.where(WL_NM < 380, 0.05, 0.001), 0.4 * np.exp(-(WL_NM - 400) / 150), np.where(WL_NM < 420, 0.02, 0.001)) +N_REAL = (2.4, 2.5, 1.8) +D = (50e-9, 400e-9, 150e-9) +STACK = [(n + 1j * k, d) for n, k, d in zip(N_REAL, K, D)] + + +def _legacy_layers(): + opt = legacy.optics() + return [opt.TMMLayer(d=d, n=np.full(N_WL, n), k=k) for n, k, d in zip(N_REAL, K, D)] + + +@pytest.mark.parametrize("n_sub", (1.0, 1.5, 2.0 + 0.1j)) +def test_oracle_rta_by_two_independent_routes(n_sub): + g = gate("P0407-TMM-RTA") + res = tmm_normal_incidence(WL, STACK, 1.0, n_sub) + a_p = res.layer_absorptance_poynting().sum(axis=0) + a_i = res.layer_absorptance_integral().sum(axis=0) + assert np.max(np.abs(res.R + res.T + a_p - 1.0)) <= g.abs_limit + assert np.max(np.abs(res.R + res.T + a_i - 1.0)) <= g.abs_limit + assert np.max(np.abs(a_p - a_i)) <= g.abs_limit + + +def test_oracle_closed_forms(): + g = gate("P0407-TMM-CLOSED") + R0, T0 = fresnel_interface(1.0, 2.5 + 0.3j) + bare = tmm_normal_incidence(np.array([500e-9]), [], 1.0, 2.5 + 0.3j) + assert abs(bare.R[0] - R0) <= g.abs_limit and abs(bare.T[0] - T0) <= g.abs_limit + Ra, Ta = airy_slab(WL, 1.0, 2.5 + 1j * K[1], 400e-9, 1.5) + slab = tmm_normal_incidence(WL, [(2.5 + 1j * K[1], 400e-9)], 1.0, 1.5) + assert np.max(np.abs(Ra - slab.R)) <= g.abs_limit and np.max(np.abs(Ta - slab.T)) <= g.abs_limit + n1 = math.sqrt(1.0 * 2.25) + lam = np.array([600e-9]) + qw = tmm_normal_incidence(lam, [(np.array([n1 + 0j]), lam[0] / (4 * n1))], 1.0, 2.25) + assert qw.R[0] <= 1e-28 + hw = tmm_normal_incidence(lam, [(np.array([2.0 + 0j]), lam[0] / 4.0)], 1.0, 1.5) + assert abs(hw.R[0] - fresnel_interface(1.0, 1.5)[0]) <= g.abs_limit + lossless = tmm_normal_incidence(WL, [(2.0 + 0j, 100e-9), (2.5 + 0j, 300e-9)], 1.0, 1.0) + assert np.max(np.abs(lossless.layer_absorptance_integral())) <= 1e-15 + thick = tmm_normal_incidence(WL, [(2.5 + 3.0j, 50e-6)], 1.0, 1.0) + assert np.all(np.isfinite(thick.layer_absorptance_integral())) + assert np.max(np.abs(thick.R + thick.T + thick.layer_absorptance_integral().sum(0) - 1.0)) <= gate("P0407-TMM-RTA").abs_limit + + +@pytest.mark.parametrize("n_sub", (1.0, 1.5)) +def test_legacy_tmm_matches_oracle(n_sub): + g = gate("P0407-TMM-RTA") + opt = legacy.optics() + layers = _legacy_layers() + res = tmm_normal_incidence(WL, STACK, 1.0, n_sub) + R = opt.tmm_reflectance(layers, WL, 1.0, n_sub) + S, _ = opt._transfer_matrix_stack(layers, WL, 1.0, n_sub) + T = n_sub * np.abs(1.0 / S[:, 0, 0]) ** 2 + assert np.max(np.abs(R - res.R)) <= g.abs_limit and np.max(np.abs(T - res.T)) <= g.abs_limit + bounds = np.concatenate(([0.0], np.cumsum(D))) + C = opt.tmm_cumulative_absorptance(layers, WL, bounds, bounds, 1.0, n_sub) + assert np.max(np.abs(np.diff(C, axis=0) - res.layer_absorptance_integral())) <= g.abs_limit + assert np.max(np.abs(C[-1] - (1.0 - res.R - res.T))) <= g.abs_limit + + +def _oracle_cell_absorbed(res, faces, flux): + bounds = np.concatenate(([0.0], np.cumsum(res.d))) + C = np.zeros((faces.size, res.wavelengths_m.size)) + for i, f in enumerate(faces): + j = min(int(np.searchsorted(bounds, f, side="right")) - 1, len(res.d) - 1) + prior = res.layer_absorptance_integral()[:j].sum(axis=0) if j else 0.0 + C[i] = prior + res.cumulative_absorbed(j, np.array([f - bounds[j]]))[0] + w = trapezoid_weights(res.wavelengths_m) + return (np.diff(C, axis=0) * flux[None, :]) @ w + + +def test_legacy_control_volume_photons_match_oracle(): + g = gate("P0407-TMM-CELL") + opt = legacy.optics() + faces = np.linspace(0.0, sum(D), 31) + flux = np.full(N_WL, 3e24) + bounds = np.concatenate(([0.0], np.cumsum(D))) + out = opt.tmm_absorbed_photon_flux_per_cell(_legacy_layers(), WL, flux, faces, bounds, 1.0, 1.5) + ref = _oracle_cell_absorbed(tmm_normal_incidence(WL, STACK, 1.0, 1.5), faces, flux) + assert np.max(np.abs(out - ref)) <= g.rel_limit * np.max(ref) + + +def test_oracle_device_photon_budget_with_parasitic_layers(): + """incident = R + T + A_electrical + A_parasitic; parasitic never becomes G.""" + + g = gate("P0407-TMM-BUDGET") + ito = (1.9 + 0.01j, 150e-9) + stack = [ito, *STACK, (0.2 + 3.5j, 80e-9)] # transparent conductor ... metal-like back layer + res = tmm_normal_incidence(WL, stack, 1.0, 1.0) + A = res.layer_absorptance_integral() + flux = np.full(N_WL, 3e24) + w = trapezoid_weights(WL) + incident = flux @ w + electrical = (A[1:4] * flux).sum(axis=0) @ w + parasitic = ((A[0] + A[4]) * flux) @ w + lost = ((res.R + res.T) * flux) @ w + assert abs((electrical + parasitic + lost) / incident - 1.0) <= g.rel_limit + assert parasitic > 0.0 and electrical < incident + + +def test_legacy_device_tmm_budget_matches_quoted_fixture_value(): + """Existing evidence: perovskite-sim/CLAUDE.md and solver/mol.py quote 225.001 A/m^2. + + ``ionmonger_benchmark_tmm`` exact absorbed budget at N_grid = 30 is quoted + as "225.00" (docstring) / "225.001" (CLAUDE.md, ``tmm_generation`` + docstring); the cell-exact path must reproduce it on a coarse mesh. + """ + + from perovskite_sim.solver.mol import _compute_tmm_generation + + stack = legacy.device_fixture("ionmonger_benchmark_tmm.yaml") + for N in (10, 30): + x = legacy.electrical_grid(stack, N) + G = _compute_tmm_generation(x, stack) + jsum = Q_E * math.fsum(G * legacy.generation().dual_cell_widths(x)) + assert abs(jsum - 225.001) <= 0.0005, f"N={N}: {jsum:.6f} A/m^2" + + +# ---------------------------------------------------------------- candidate + + +@pytest.mark.parametrize("n_sub", (1.0, 1.5)) +def test_candidate_tmm_rta(n_sub): + g = gate("P0407-TMM-RTA") + R, T, A = (np.asarray(a) for a in adapter.tmm_reflect_transmit_absorb(WL, STACK, 1.0, n_sub)) + res = tmm_normal_incidence(WL, STACK, 1.0, n_sub) + assert np.max(np.abs(R - res.R)) <= g.abs_limit and np.max(np.abs(T - res.T)) <= g.abs_limit + assert np.max(np.abs(A - res.layer_absorptance_integral())) <= g.abs_limit + assert np.max(np.abs(R + T + A.sum(axis=0) - 1.0)) <= g.abs_limit + + +def test_candidate_control_volume_photons(): + g = gate("P0407-TMM-CELL") + faces = np.linspace(0.0, sum(D), 31) + flux = np.full(N_WL, 3e24) + out = np.asarray(adapter.tmm_cell_absorbed_photons(WL, flux, STACK, faces)) + ref = _oracle_cell_absorbed(tmm_normal_incidence(WL, STACK, 1.0, 1.0), faces, flux) + assert np.max(np.abs(out - ref)) <= g.rel_limit * np.max(ref) + + +# ---------------------------------------------------------------- candidate binding (review R3-3) + + +ITO = (1.9 + 0.01j, 150e-9) # transparent conductor: optical-only front layer (parasitic) +WL_NM_BIND = WL_NM.copy() +FLUX = np.linspace(2e27, 4e27, N_WL) # photons m^-2 s^-1 m^-1 + + +def _bind_layers(ito=ITO, absorber_d=D[1], absorber_N=None): + absorber_N = STACK[1][0] if absorber_N is None else absorber_N + return [("ito", ito[0], ito[1], False, False), ("etl", STACK[0][0], D[0], False, True), + ("absorber", absorber_N, absorber_d, False, True), ("htl", STACK[2][0], D[2], False, True)] + + +def test_candidate_device_photon_budget_with_parasitic_layer(): + """incident = R + T + A_electrical + A_parasitic; the parasitic layer never becomes G.""" + + g = gate("P0407-TMM-BUDGET") + binding = adapter.optical_binding(WL_NM_BIND, FLUX, _bind_layers()) + out = adapter.tmm_photon_budget(binding) + res = tmm_normal_incidence(WL, [ITO, *STACK], 1.0, 1.0) + A = res.layer_absorptance_integral() + w = trapezoid_weights(WL) + incident = FLUX @ w + ref = {"incident": incident, "reflected": (res.R * FLUX) @ w, "transmitted": (res.T * FLUX) @ w, + "parasitic": (A[0] * FLUX) @ w, "electrical": (A[1:].sum(axis=0) * FLUX) @ w} + for key, value in ref.items(): + assert abs(out[key] - value) <= g.rel_limit * incident, key + assert np.max(np.abs(out["closure"])) <= gate("P0407-TMM-RTA").abs_limit + assert out["parasitic"] > 0.0 and out["electrical"] < incident + total = out["reflected"] + out["transmitted"] + out["electrical"] + out["parasitic"] + assert abs(total / incident - 1.0) <= g.rel_limit + for geometry in ("legacy_1d_integer_endpoint_v1", "legacy_2d_half_endpoint_v1"): + x = np.linspace(0.0, sum(D), 37) # electrical coordinate: the ITO is not in the mesh + G, w_cell, profile = adapter.optical_generation(binding, geometry, x) + areal = math.fsum(G * w_cell) + assert abs(areal / out["electrical"] - 1.0) <= g.rel_limit # parasitic photons excluded + assert abs(math.fsum(profile.absorbed_m2_s) / out["electrical"] - 1.0) <= g.rel_limit + + +def test_candidate_profile_is_not_reused_after_any_optical_input_changes(): + """V1 P04-07 step 4: thickness, n, k, spectrum, T, composition, indices, mesh.""" + + stale = adapter.stale_profile_error() + base = adapter.optical_binding(WL_NM_BIND, FLUX, _bind_layers()) + x = np.linspace(0.0, sum(D), 25) + _, _, profile = adapter.optical_generation(base, "legacy_1d_integer_endpoint_v1", x) + cv = adapter.build_geometry("legacy_1d_integer_endpoint_v1", x) + profile.require_inputs(base.sha256, cv) # same inputs: reuse allowed + assert adapter.optical_binding(WL_NM_BIND, FLUX, _bind_layers()).sha256 == base.sha256 + variants = { + "thickness": adapter.optical_binding(WL_NM_BIND, FLUX, _bind_layers(absorber_d=D[1] * (1 + 1e-12))), + "n": adapter.optical_binding(WL_NM_BIND, FLUX, _bind_layers(absorber_N=STACK[1][0] + 1e-12)), + "k": adapter.optical_binding(WL_NM_BIND, FLUX, _bind_layers(absorber_N=STACK[1][0] + 1e-12j)), + "spectrum": adapter.optical_binding(WL_NM_BIND, FLUX * (1 + 1e-15), _bind_layers()), + "parasitic_layer": adapter.optical_binding(WL_NM_BIND, FLUX, _bind_layers(ito=(1.9 + 0.02j, 150e-9))), + "temperature": adapter.optical_binding(WL_NM_BIND, FLUX, _bind_layers(), + dependencies={"temperature_K": 310.0}), + "composition": adapter.optical_binding(WL_NM_BIND, FLUX, _bind_layers(), + dependencies={"composition:absorber:x": 0.15}), + "ambient": adapter.optical_binding(WL_NM_BIND, FLUX, _bind_layers(), ambient_index=1.0 + 1e-15), + "exit": adapter.optical_binding(WL_NM_BIND, FLUX, _bind_layers(), exit_index=1.5), + } + digests = {k: v.sha256 for k, v in variants.items()} + assert len(set(digests.values()) | {base.sha256}) == len(variants) + 1 + for name, item in variants.items(): + with pytest.raises(stale): + profile.require_inputs(item.sha256, cv) + for other in (adapter.build_geometry("legacy_2d_half_endpoint_v1", x), + adapter.build_geometry("legacy_1d_integer_endpoint_v1", np.linspace(0.0, sum(D), 26))): + with pytest.raises(stale): + profile.require_inputs(base.sha256, other) diff --git a/tests/independent/p04/test_p04_07_recombination.py b/tests/independent/p04/test_p04_07_recombination.py new file mode 100644 index 00000000..3dea064b --- /dev/null +++ b/tests/independent/p04/test_p04_07_recombination.py @@ -0,0 +1,392 @@ +"""P04-07 oracle: MB lifetime SRH, radiative and Auger (values, derivatives, limits).""" + +from __future__ import annotations + +import hashlib +from fractions import Fraction + +import numpy as np +import pytest + +import p04_adapter as adapter +import p04_legacy as legacy +from p04_gates import EPS, gate +from p04_oracle_recombination import ( + BulkParameters, + auger_exact, + exponential_edge_profile_ref, + gaussian_edge_profile_ref, + low_injection_srh_ratio, + radiative_exact, + srh_exact, + tau_from_trap_density_ref, + total_exact, + within, +) + +NI = 2.89e10 +PAR = BulkParameters(ni_sq=NI * NI, tau_n=3e-9, tau_p=3e-7, n1=NI, p1=NI, + B_rad=4e-17, C_n=2.8e-41, C_p=9.9e-42) +RNG = np.random.default_rng(2024) +N_STATE = 10.0 ** RNG.uniform(-30, 30, 64) +P_STATE = 10.0 ** RNG.uniform(-30, 30, 64) +N_STATE[:4] = (NI, 1e22, 1e10, 3e23) +P_STATE[:4] = (NI, 1e10, 1e22, 3e23) +CHANNELS = {"srh": srh_exact, "radiative": radiative_exact, "auger": auger_exact} + + +def _legacy_channels(n, p, par: BulkParameters, channels): + rec = legacy.recombination() + terms = [] + if "srh" in channels: + terms.append(rec.srh_recombination_derivatives(n, p, par.ni_sq, par.tau_n, par.tau_p, par.n1, par.p1)) + if "radiative" in channels: + terms.append(rec.radiative_recombination_derivatives(n, p, par.ni_sq, par.B_rad)) + if "auger" in channels: + terms.append(rec.auger_recombination_derivatives(n, p, par.ni_sq, par.C_n, par.C_p)) + rate = sum(np.asarray(t.rate) for t in terms) + dn = sum(np.asarray(t.electron_density_derivative) for t in terms) + dp = sum(np.asarray(t.hole_density_derivative) for t in terms) + return rate, dn, dp + + +SUBJECTS = { + "legacy": _legacy_channels, + "candidate": lambda n, p, par, ch: adapter.bulk_recombination(n, p, par, ch), +} + + +def _exact(n, p, par, channels): + parts = [CHANNELS[c](n, p, par) for c in channels] + out = parts[0] + for extra in parts[1:]: + out = type(out)(*(getattr(out, f) + getattr(extra, f) for f in out.__dataclass_fields__)) + return out + + +@pytest.mark.parametrize("subject", list(SUBJECTS)) +@pytest.mark.parametrize("channels", (("srh",), ("radiative",), ("auger",), ("srh", "radiative", "auger"))) +def test_rate_and_derivatives_against_exact_rational(subject, channels): + gv, gd = gate("P0407-REC-VAL"), gate("P0407-REC-DER") + with np.errstate(all="ignore"): + rate, dn, dp = (np.asarray(a, dtype=float) for a in SUBJECTS[subject](N_STATE, P_STATE, PAR, channels)) + for i, (n, p) in enumerate(zip(N_STATE, P_STATE)): + ex = _exact(n, p, PAR, channels) + assert within(rate[i], ex.rate, ex.gross, gv.rel_limit / EPS), f"{subject} {channels} rate @ {n:.3g},{p:.3g}" + assert within(dn[i], ex.d_n, ex.gross_d_n, gd.rel_limit / EPS), f"{subject} {channels} dR/dn @ {i}" + assert within(dp[i], ex.d_p, ex.gross_d_p, gd.rel_limit / EPS), f"{subject} {channels} dR/dp @ {i}" + + +def test_exact_derivatives_match_rational_difference_quotients(): + """Independent check of the derivative formulas themselves (no binary64).""" + + h = Fraction(1, 10**40) + for n, p in ((1e15, 3e16), (2.89e10, 1e22), (5e20, 5e20)): + for fn in CHANNELS.values(): + ex = fn(n, p, PAR) + fp = fn(float(n), float(p), PAR) + assert fp.rate == ex.rate + # central difference on the exact rational function + n_q, p_q = Fraction(n), Fraction(p) + + def rate_at(nn, pp): + return _rational_rate(fn, nn, pp) + + dn_fd = (rate_at(n_q + h, p_q) - rate_at(n_q - h, p_q)) / (2 * h) + dp_fd = (rate_at(n_q, p_q + h) - rate_at(n_q, p_q - h)) / (2 * h) + assert abs(dn_fd - ex.d_n) <= Fraction(1, 10**20) * (abs(ex.d_n) + ex.gross_d_n) + assert abs(dp_fd - ex.d_p) <= Fraction(1, 10**20) * (abs(ex.d_p) + ex.gross_d_p) + + +def _rational_rate(fn, n: Fraction, p: Fraction) -> Fraction: + ni2, tn, tp = Fraction(PAR.ni_sq), Fraction(PAR.tau_n), Fraction(PAR.tau_p) + n1, p1 = Fraction(PAR.n1), Fraction(PAR.p1) + U = n * p - ni2 + if fn is srh_exact: + return U / (tp * (n + n1) + tn * (p + p1)) + if fn is radiative_exact: + return Fraction(PAR.B_rad) * U + return (Fraction(PAR.C_n) * n + Fraction(PAR.C_p) * p) * U + + +# ---------------------------------------------------------------- equilibrium + + +@pytest.mark.parametrize("subject", list(SUBJECTS)) +def test_net_rate_vanishes_at_equilibrium(subject): + g = gate("P0407-REC-EQ") + # exactly representable mass action: n p == ni^2 in binary64 + a = np.array([-40, -3, 0, 12, 37, 60]) + n_eq, p_eq = 2.0 ** a, 2.0 ** (40 - a) + par = BulkParameters(ni_sq=2.0 ** 40, tau_n=1e-6, tau_p=2e-6, n1=2.0 ** 20, p1=2.0 ** 20, + B_rad=1e-16, C_n=1e-40, C_p=2e-40) + rate, dn, dp = SUBJECTS[subject](n_eq, p_eq, par, ("srh", "radiative", "auger")) + for i in range(a.size): + ex = total_exact(n_eq[i], p_eq[i], par) + assert ex.rate == 0 + assert abs(Fraction(float(np.asarray(rate)[i]))) <= Fraction(g.rel_limit) * ex.gross + assert within(np.asarray(dn)[i], ex.d_n, ex.gross_d_n, gate("P0407-REC-DER").rel_limit / EPS) + # rounded equilibrium (n = ni e^u, p = ni e^-u) + u = np.linspace(-30, 30, 13) + n_r, p_r = NI * np.exp(u), NI * np.exp(-u) + rate_r, _, _ = SUBJECTS[subject](n_r, p_r, PAR, ("srh", "radiative", "auger")) + for i in range(u.size): + gross = total_exact(n_r[i], p_r[i], PAR).gross + assert abs(Fraction(float(np.asarray(rate_r)[i]))) <= Fraction(4 * g.rel_limit) * gross + + +def test_legacy_exact_equilibrium_is_bitwise_zero(): + """M-class expectation: the historical U = n p - ni^2 form gives 0.0 exactly.""" + + a = np.array([-40, 0, 37]) + par = BulkParameters(2.0 ** 40, 1e-6, 2e-6, 2.0 ** 20, 2.0 ** 20, 1e-16, 1e-40, 2e-40) + rate, _, _ = _legacy_channels(2.0 ** a, 2.0 ** (40 - a), par, ("srh", "radiative", "auger")) + assert np.all(rate == 0.0) + + +# ---------------------------------------------------------------- limits + + +def test_injection_limits_closed_form(): + g = gate("P0407-REC-LIMIT") + p0, n0 = 1e23, PAR.ni_sq / 1e23 + for delta in (1e12, 1e15, 1e17): # low injection, Delta/p0 <= 1e-6 + ratio = low_injection_srh_ratio(n0, p0, delta, PAR) + ex = srh_exact(n0 + delta, p0 + delta, BulkParameters(n0 * p0, PAR.tau_n, PAR.tau_p, PAR.n1, PAR.p1, 0, 0, 0)) + assert ex.rate * Fraction(PAR.tau_n) / Fraction(delta) - ratio <= Fraction(1, 10**12) * ratio + predicted = (delta + PAR.p1 + (PAR.tau_p / PAR.tau_n) * (n0 + delta + PAR.n1)) / p0 + assert abs(float(ratio) - 1.0) <= g.rel_limit * predicted + g.abs_limit + rad = radiative_exact(n0 + delta, p0 + delta, BulkParameters(n0 * p0, 1, 1, 0, 0, PAR.B_rad, 0, 0)) + assert abs(float(rad.rate) / (PAR.B_rad * p0 * delta) - 1.0) <= 2 * (n0 + delta) / p0 + 4 * EPS + aug = auger_exact(n0 + delta, p0 + delta, BulkParameters(n0 * p0, 1, 1, 0, 0, 0, PAR.C_n, PAR.C_p)) + assert abs(float(aug.rate) / (PAR.C_p * p0 * p0 * delta) - 1.0) <= 4 * (delta / p0) * (1 + PAR.C_n / PAR.C_p) + 4 * EPS + for delta in (1e18, 1e20, 1e22): # high injection n = p = Delta >= 1e6 n1 + ex = srh_exact(delta, delta, PAR) + predicted = (PAR.tau_p * PAR.n1 + PAR.tau_n * PAR.p1) / ((PAR.tau_n + PAR.tau_p) * delta) + PAR.ni_sq / delta**2 + assert abs(float(ex.rate) * (PAR.tau_n + PAR.tau_p) / delta - 1.0) <= g.rel_limit * predicted + g.abs_limit + assert abs(float(radiative_exact(delta, delta, PAR).rate) / (PAR.B_rad * delta**2) - 1.0) <= 2 * PAR.ni_sq / delta**2 + 4 * EPS + assert abs(float(auger_exact(delta, delta, PAR).rate) / ((PAR.C_n + PAR.C_p) * delta**3) - 1.0) <= 2 * PAR.ni_sq / delta**2 + 4 * EPS + + +@pytest.mark.parametrize("subject", list(SUBJECTS)) +def test_low_injection_lifetime_limit_on_subject(subject): + g = gate("P0407-REC-LIMIT") + p0, n0 = 1e23, PAR.ni_sq / 1e23 + delta = np.array([1e12, 1e14, 1e16]) + par = BulkParameters(n0 * p0, PAR.tau_n, PAR.tau_p, PAR.n1, PAR.p1, 0.0, 0.0, 0.0) + rate, _, _ = SUBJECTS[subject](n0 + delta, p0 + delta, par, ("srh",)) + predicted = (delta + PAR.p1 + (PAR.tau_p / PAR.tau_n) * (n0 + delta + PAR.n1)) / p0 + assert np.all(np.abs(np.asarray(rate) * PAR.tau_n / delta - 1.0) <= g.rel_limit * predicted + g.abs_limit) + + +# ---------------------------------------------------------------- zero channels + + +@pytest.mark.parametrize("subject", list(SUBJECTS)) +def test_zero_coefficient_channels_are_strict_identities(subject): + par0 = BulkParameters(PAR.ni_sq, PAR.tau_n, PAR.tau_p, PAR.n1, PAR.p1, 0.0, 0.0, 0.0) + with np.errstate(all="ignore"): + srh_only = SUBJECTS[subject](N_STATE, P_STATE, par0, ("srh",)) + everything = SUBJECTS[subject](N_STATE, P_STATE, par0, ("srh", "radiative", "auger")) + rad = SUBJECTS[subject](N_STATE, P_STATE, par0, ("radiative",)) + aug = SUBJECTS[subject](N_STATE, P_STATE, par0, ("auger",)) + for a, b in zip(srh_only, everything): + assert np.array_equal(np.asarray(a), np.asarray(b)), "disabled channels must add exactly 0.0" + for arr in (*rad, *aug): + arr = np.asarray(arr) + assert np.all(arr == 0.0) and not np.any(np.isnan(arr)) + + +def test_legacy_infinite_lifetime_limit_documented(): + """LD-04: tau = inf gives rate 0 but NaN derivatives in the lifetime form. + + The rate limit is correct (blocked cycle); the derivative (p - R tau_p)/Den + evaluates 0*inf. Shipped presets never use tau = inf for the lifetime + form (explicit species skip non-cycling legs), but a new implementation + must either represent a disabled SRH channel as an absent instance or + return exact zeros -- never NaN (gate P0407-REC-ZERO). + """ + + rec = legacy.recombination() + with np.errstate(all="ignore"): + d = rec.srh_recombination_derivatives(np.array([1e15]), np.array([1e16]), NI * NI, np.inf, np.inf, NI, NI) + assert np.asarray(d.rate)[0] == 0.0 + assert np.isnan(np.asarray(d.electron_density_derivative)[0]) + + +def test_candidate_blocked_capture_leg_tangent(): + """N1 (P0407-REC-ZERO): tau = +inf SRH partials are exact 0; nothing else moves. + + Per-node lifetimes mix finite nodes with tau_n = +inf, tau_p = +inf and + both (each branch of the 0*inf quotient). This test exercises the declared + N1 delivery; an intermediate M-only snapshot is checked separately against + the legacy payload, rather than inferred from failing candidate output. + Blocked partials must be +0.0 while the rate everywhere and the partials + on cycling nodes keep the legacy words (sign of zero included). + """ + + rec = legacy.recombination() + n, p = N_STATE[:16].copy(), P_STATE[:16].copy() + tau_n, tau_p = np.full(16, PAR.tau_n), np.full(16, PAR.tau_p) + tau_n[[2, 5, 11]] = np.inf + tau_p[[3, 5, 13]] = np.inf + blocked = np.isinf(tau_n) | np.isinf(tau_p) + with np.errstate(all="ignore"): + terms = adapter.bulk_recombination_terms(n, p, PAR, tau_n_s=tau_n, tau_p_s=tau_p) + old = rec.srh_recombination_derivatives(n, p, PAR.ni_sq, tau_n, tau_p, PAR.n1, PAR.p1) + rate, dn, dp = (np.asarray(a) for a in terms["srh"]) + ref = [np.asarray(old.rate), np.asarray(old.electron_density_derivative), np.asarray(old.hole_density_derivative)] + assert rate.tobytes() == ref[0].tobytes() and np.all(rate[blocked] == 0.0) + for new, word in zip((dn, dp), ref[1:]): + assert new[~blocked].tobytes() == word[~blocked].tobytes() + assert adapter.change_class("srh_blocked_leg_tangent") == "N" + for new in (dn, dp): + assert np.all(new[blocked] == 0.0) and not np.any(np.signbit(new[blocked])) + rad, aug, tot = terms["radiative"], terms["auger"], terms["total"] + for k in (1, 2): + assert np.all(np.isfinite(np.asarray(tot[k]))) + assert np.array_equal(np.asarray(tot[k])[blocked], (np.asarray(rad[k]) + np.asarray(aug[k]))[blocked]) + + +def _finite_overflow_case(): + """All inputs are finite; the exact SRH partials are 2**-602, not zero.""" + + scale = float(2**600) + par = BulkParameters(1.0, scale, scale, 1.0, 1.0, 0.0, 0.0, 0.0) + return np.array([scale]), np.array([scale]), par + + +def test_candidate_finite_overflow_is_not_a_blocked_capture_leg(): + """N1 must not turn overflow with finite lifetimes into an exact-zero tangent. + + A primitive may expose nonfinite arithmetic or reject it; a finite result + must still satisfy the frozen rational oracle. This distinguishes an + absent capture leg from an overflowing denominator without changing the + historical formula or requiring a new wide-range implementation. + """ + + n, p, par = _finite_overflow_case() + ex = srh_exact(n[0], p[0], par) + assert ex.d_n == ex.d_p == Fraction(1, 2**602) + with np.errstate(over="ignore", invalid="ignore"): + try: + terms = adapter.bulk_recombination_terms(n, p, par) + except (ValueError, FloatingPointError, OverflowError): + return + for value, exact, gross in zip(terms["srh"][1:], (ex.d_n, ex.d_p), (ex.gross_d_n, ex.gross_d_p)): + actual = float(np.asarray(value)[0]) + assert not np.isfinite(actual) or within(actual, exact, gross, gate("P0407-REC-DER").rel_limit / EPS) + + +def test_candidate_domain_rejects_nonfinite_evaluation_from_finite_inputs(): + """A nonfinite rate cannot be accepted by the public physical-domain gate.""" + + n, p, par = _finite_overflow_case() + with np.errstate(over="ignore", invalid="ignore"): + try: + evaluation = adapter.bulk_recombination_evaluation(n, p, par) + except (ValueError, FloatingPointError, OverflowError): + return + arrays = (evaluation.total.rate, evaluation.total.d_rate_dn, evaluation.total.d_rate_dp) + if any(not np.all(np.isfinite(a)) for a in arrays): + assert not evaluation.in_domain() + with pytest.raises(ValueError): + evaluation.require_domain() + else: + evaluation.require_domain() + + +# ---------------------------------------------------------------- explicit defect + + +def _neutral_model(mask, tau_n, tau_p, n1, p1): + rec = legacy.recombination() + digest = hashlib.sha256(b"r3-oracle-neutral-defect").hexdigest() + species = rec.CompiledNeutralDefectSpecies( + identifier="r3_defect", document_sha256=digest, active_nodes=mask, + tau_n_s=tau_n, tau_p_s=tau_p, n1_m3=np.full(mask.size, n1), p1_m3=np.full(mask.size, p1)) + return rec.NeutralBulkDefectModel(species=(species,), explicit_node_mask=mask, + layer_document_sha256=(("absorber", digest),)) + + +def test_legacy_explicit_defect_is_not_double_counted(): + g = gate("P0407-REC-NODOUBLE") + n, p = N_STATE[:12], P_STATE[:12] + mask = np.zeros(12, dtype=bool) + mask[3:9] = True + tau_n_d, tau_p_d, n1_d, p1_d = 5e-8, 7e-8, 1e12, NI * NI / 1e12 + model = _neutral_model(mask, tau_n_d, tau_p_d, n1_d, p1_d) + rec = legacy.recombination() + out = np.asarray(rec.srh_recombination(n, p, PAR.ni_sq, PAR.tau_n, PAR.tau_p, PAR.n1, PAR.p1, + neutral_bulk_defects=model)) + defect = BulkParameters(PAR.ni_sq, tau_n_d, tau_p_d, n1_d, p1_d, 0, 0, 0) + for i in range(12): + ex = srh_exact(n[i], p[i], defect if mask[i] else PAR) + assert within(out[i], ex.rate, ex.gross, g.rel_limit / EPS), f"node {i} (explicit={mask[i]})" + + +def test_candidate_explicit_defect_is_not_double_counted(): + g = gate("P0407-REC-NODOUBLE") + n, p = N_STATE[:12], P_STATE[:12] + mask = np.zeros(12, dtype=bool) + mask[3:9] = True + out = np.asarray(adapter.bulk_recombination_with_explicit_defect(n, p, PAR, mask, 5e-8, 7e-8, 1e12, NI * NI / 1e12)) + defect = BulkParameters(PAR.ni_sq, 5e-8, 7e-8, 1e12, NI * NI / 1e12, PAR.B_rad, PAR.C_n, PAR.C_p) + for i in range(12): + ex = total_exact(n[i], p[i], defect if mask[i] else PAR) + assert within(out[i], ex.rate, ex.gross, g.rel_limit / EPS) + + +# ---------------------------------------------------------------- trap profiles + + +TRAP_X = np.linspace(0.0, 400e-9, 41) + + +def _legacy_trap(shape, x, d, nif, nb, length, edge): + t = legacy.traps() + fn = t.exponential_edge_profile if shape == "exponential" else t.gaussian_edge_profile + return fn(x, d, nif, nb, length, edge) + + +@pytest.mark.parametrize("subject", ("legacy", "candidate")) +@pytest.mark.parametrize("shape", ("exponential", "gaussian")) +@pytest.mark.parametrize("edge", ("both", "left", "right")) +@pytest.mark.parametrize("length", (5e-9, 30e-9, 400e-9, 4e-6, 0.0)) +def test_trap_profiles(subject, shape, edge, length): + g = gate("P0407-TRAP") + args = (TRAP_X, 400e-9, 1e23, 1e20, length, edge) + out = (np.asarray(_legacy_trap(shape, *args)) if subject == "legacy" + else np.asarray(adapter.trap_profile(shape, *args))) + ref = (exponential_edge_profile_ref if shape == "exponential" else gaussian_edge_profile_ref)(*args) + assert np.max(np.abs(out - ref) / np.abs(ref)) <= g.rel_limit + if length == 0.0: + assert np.all(out == 1e20) + if shape == "exponential" and edge == "both" and length > 0: + assert abs(out[0] / 1e23 - 1.0) <= 4 * EPS and abs(out[-1] / 1e23 - 1.0) <= 4 * EPS + assert np.all(out <= 1e23 * (1 + 4 * EPS)) + + +def test_tau_from_trap_density_floor(): + t = legacy.traps() + N = np.array([1e19, 1e20, 5e20, 1e23]) + assert np.array_equal(t.tau_from_trap_density(1e-6, N, 1e20), tau_from_trap_density_ref(1e-6, N, 1e20)) + assert tau_from_trap_density_ref(1e-6, N, 1e20)[0] == 1e-6 # passivation floor + + +@pytest.mark.parametrize("shape", ("exponential", "gaussian")) +@pytest.mark.parametrize("edge", ("both", "left", "right")) +def test_candidate_trap_profile_binding(shape, edge): + """TrapProfile.bind: density = the kernel word for word; tau rule and floor.""" + + g = gate("P0407-TRAP") + tau = np.full(TRAP_X.size, 1e-6) + density, tau_n, tau_p = (np.asarray(a) for a in adapter.trap_profile_binding( + shape, TRAP_X, 400e-9, 1e23, 1e20, 30e-9, edge, tau, 2 * tau)) + kernel = np.asarray(adapter.trap_profile(shape, TRAP_X, 400e-9, 1e23, 1e20, 30e-9, edge)) + assert density.tobytes() == kernel.tobytes() + assert np.max(np.abs(tau_n / tau_from_trap_density_ref(1e-6, kernel, 1e20) - 1.0)) <= g.rel_limit + assert np.max(np.abs(tau_p / tau_from_trap_density_ref(2e-6, kernel, 1e20) - 1.0)) <= g.rel_limit + _, tau_pass, _ = (np.asarray(a) for a in adapter.trap_profile_binding( + shape, TRAP_X, 400e-9, 1e18, 1e20, 30e-9, edge, tau, tau)) # passivation: N_if < N_bulk + assert np.max(np.abs(tau_pass / 1e-6 - 1.0)) <= g.rel_limit # floor: never above the bulk lifetime diff --git a/tests/independent/p04/test_p04_legacy_golden.py b/tests/independent/p04/test_p04_legacy_golden.py new file mode 100644 index 00000000..6d6edf59 --- /dev/null +++ b/tests/independent/p04/test_p04_legacy_golden.py @@ -0,0 +1,112 @@ +"""Historical golden (legacy b1f953c) and GateSpec completeness. + +* The stored fixture must be reproduced bit-for-bit by the legacy engine at + the recorded source digests (proves the golden is a faithful history). +* A candidate is compared bitwise (M) or within P04-GOLDEN-N (N); P-class + changes are not compared to the golden at all. The golden never replaces + the analytic oracles: those run independently in the other test files. +""" + +from __future__ import annotations + +import json +import sys + +import numpy as np +import pytest + +import p04_adapter as adapter +import p04_legacy as legacy +from p04_capture_golden import FIXTURE, SCHEMA, capture_cases, from_hex +from p04_gates import GATES, gate, missing_fields + +DOCUMENT = json.loads(FIXTURE.read_text()) +CASES = sorted(DOCUMENT["cases"]) +CAPABILITY = { + "bernoulli": "bernoulli", + "sg_jacobian": "scharfetter_gummel", + "poisson_layered": "poisson_1d", + "bl_synthetic": "beer_lambert", + "bl_ionmonger_benchmark_N30": "beer_lambert", + "tmm_ionmonger_benchmark_tmm_N30": "tmm", + "tmm_synthetic_three_layer": "tmm", + "recombination_total": "bulk_recombination", + "trap_profiles": "trap_profile", +} + + +@pytest.mark.platform_bound +def test_fixture_identity_and_sources(): + assert DOCUMENT["schema"] == SCHEMA + assert DOCUMENT["captured_at_commit"].startswith("b1f953c") + extra = tuple(legacy.REPO_ROOT / k for k in DOCUMENT["source_sha256"] if not k.startswith("perovskite_sim/")) + now = legacy.source_digests(extra) + changed = sorted(k for k, v in DOCUMENT["source_sha256"].items() if now.get(k) != v) + assert not changed, f"legacy sources changed since capture (re-review the golden): {changed}" + assert set(CAPABILITY) == set(CASES) + + +@pytest.fixture(scope="module") +def recaptured(): + with np.errstate(all="ignore"): + return capture_cases() + + +@pytest.mark.platform_bound +@pytest.mark.parametrize("case", CASES) +@pytest.mark.skipif(sys.platform != "darwin", reason="bitwise golden was captured on macOS/Accelerate; live legacy parity runs on Linux") +def test_legacy_reproduces_golden_bitwise(case, recaptured): + stored = DOCUMENT["cases"][case]["outputs"] + fresh = recaptured[case]["outputs"] + assert stored.keys() == fresh.keys() + for key in stored: + assert stored[key] == fresh[key], f"{case}/{key} differs from the recorded legacy output" + + +@pytest.mark.platform_bound +def test_quoted_existing_values_are_reproduced(): + """Values already quoted as evidence in perovskite-sim/CLAUDE.md.""" + + bl = float.fromhex(DOCUMENT["cases"]["bl_ionmonger_benchmark_N30"]["outputs"]["q_sum_G_w_A_m2"]) + phi = float.fromhex(DOCUMENT["cases"]["bl_ionmonger_benchmark_N30"]["inputs"]["Phi"]) + assert abs(1.602176634e-19 * phi - 224.30473) <= 5e-6 # "q*Phi = 224.30473 A/m^2" + assert bl < 1.602176634e-19 * phi + tmm = float.fromhex(DOCUMENT["cases"]["tmm_ionmonger_benchmark_tmm_N30"]["outputs"]["q_sum_G_w_A_m2"]) + assert abs(tmm - 225.001) <= 5e-4 # "exact absorbed budget 225.001 A/m^2" + + +@pytest.mark.platform_bound +@pytest.mark.parametrize("case", CASES) +@pytest.mark.skipif(sys.platform != "darwin", reason="bitwise golden was captured on macOS/Accelerate; independent analytic gates run on Linux") +def test_candidate_against_golden(case): + cls = adapter.change_class(CAPABILITY[case]) + if cls == "P": + pytest.skip("P-class change: compared by new evidence, not by the legacy golden") + entry = DOCUMENT["cases"][case] + out = adapter.golden_case(case, entry["inputs"]) + gn = gate("P04-GOLDEN-N") + compared = 0 + for key, stored in entry["outputs"].items(): + if (case, key) in adapter.GOLDEN_NOT_MIGRATED: + # Reported in the review with its reason; never silently dropped. + assert adapter.GOLDEN_NOT_MIGRATED[(case, key)].strip() + assert key not in out, f"{case}/{key} is declared not migrated but was returned" + continue + if key not in out: + pytest.fail(f"{case}: candidate did not return {key}") + compared += 1 + ref = from_hex(stored if isinstance(stored, list) else [stored]) + new = np.asarray(out[key], dtype=float).ravel() + if cls == "M": + assert [float(v).hex() for v in new] == [float(v).hex() for v in ref], f"{case}/{key} not bitwise" + else: + assert np.all(np.abs(new - ref) <= gn.abs_limit + gn.rel_limit * np.abs(ref)), f"{case}/{key}" + assert compared > 0, f"{case}: nothing compared" + + +def test_every_gate_is_complete_and_unique(): + ids = [g.gate_id for g in GATES] + assert len(ids) == len(set(ids)) + for g in GATES: + assert not missing_fields(g), f"{g.gate_id} missing {missing_fields(g)}" + assert g.abs_limit >= 0.0 and g.rel_limit >= 0.0 diff --git a/tests/integration/fixtures/bdf_readiness/manifest.json b/tests/integration/fixtures/bdf_readiness/manifest.json new file mode 100644 index 00000000..028b6f80 --- /dev/null +++ b/tests/integration/fixtures/bdf_readiness/manifest.json @@ -0,0 +1,38 @@ +{ + "schema": "solarlab.bdf-readiness-fixtures.v1", + "fixtures": [ + { + "path": "tests/integration/fixtures/bdf_readiness/readinessv1_e_saved_packet.json.gz", + "source": "/Users/bytedance/Library/Mobile Documents/com~apple~CloudDocs/projects/solarlab/test/ArchitectureRefactor/Stage04/P04CoreV1/Core1D/AdaptiveBDFV1/ReadinessV1/Cases/E_saved_packet/bdf.json", + "original_sha256": "98a455e3baa5f542a9a20075f0fb60dc11fbc82ff458fbd3a104bc8ad5c3db83", + "sha256": "febf3abf0e50d7af5e9998e851e88ddf1c7d3197faf60a55a6b782b1e91032a8", + "completed": true, + "termination": "completed" + }, + { + "path": "tests/integration/fixtures/bdf_readiness/readinessv1_e_light_step.json.gz", + "source": "/Users/bytedance/Library/Mobile Documents/com~apple~CloudDocs/projects/solarlab/test/ArchitectureRefactor/Stage04/P04CoreV1/Core1D/AdaptiveBDFV1/ReadinessV1/Cases/E_light_step/bdf.json", + "original_sha256": "d6836ab71a65b294816c4a341e54283e82177b333c724df287a2769270fd5d06", + "sha256": "5f8f1e8668295c8e4d6219deadfd61d780c4b76a17d4dbf2d0d1b9fc9e59d4e7", + "completed": false, + "termination": "evaluation_error" + }, + { + "path": "tests/integration/fixtures/bdf_readiness/readinessv2_e_saved_packet.json.gz", + "source": "/Users/bytedance/Library/Mobile Documents/com~apple~CloudDocs/projects/solarlab/test/ArchitectureRefactor/Stage04/P04CoreV1/Core1D/AdaptiveBDFV1/ReadinessV2/Cases/E_saved_packet/bdf.json", + "original_sha256": "d75044a2bd4cbbe45538e1a6238ab15e16d667a25051801f5d98a7a17d0600f5", + "sha256": "a9e38cdaf9a0a4c42c14a48103d4d4a018b6ca25f7bb9cd9c8dff24d9960734b", + "completed": true, + "termination": "completed" + }, + { + "path": "tests/integration/fixtures/bdf_readiness/readinessv2_e_dark_voltage_step.json.gz", + "source": "/Users/bytedance/Library/Mobile Documents/com~apple~CloudDocs/projects/solarlab/test/ArchitectureRefactor/Stage04/P04CoreV1/Core1D/AdaptiveBDFV1/ReadinessV2/Cases/E_dark_voltage_step/bdf.json", + "original_sha256": "6aabd62125c019c9bca9e7f4cc207f4de02a632f8e1c2a2a96b046d7c1a2f2ad", + "sha256": "203f87b74d548fffb6067c4ac57f1acba07c6626a56c33cb65e7d550b55039ed", + "completed": false, + "termination": "rejection_budget_exhausted", + "accepted_restart_side": "right" + } + ] +} diff --git a/tests/integration/fixtures/bdf_readiness/readinessv1_e_light_step.json.gz b/tests/integration/fixtures/bdf_readiness/readinessv1_e_light_step.json.gz new file mode 100644 index 00000000..059892bc Binary files /dev/null and b/tests/integration/fixtures/bdf_readiness/readinessv1_e_light_step.json.gz differ diff --git a/tests/integration/fixtures/bdf_readiness/readinessv1_e_saved_packet.json.gz b/tests/integration/fixtures/bdf_readiness/readinessv1_e_saved_packet.json.gz new file mode 100644 index 00000000..af531c22 Binary files /dev/null and b/tests/integration/fixtures/bdf_readiness/readinessv1_e_saved_packet.json.gz differ diff --git a/tests/integration/fixtures/bdf_readiness/readinessv2_e_dark_voltage_step.json.gz b/tests/integration/fixtures/bdf_readiness/readinessv2_e_dark_voltage_step.json.gz new file mode 100644 index 00000000..22547c30 Binary files /dev/null and b/tests/integration/fixtures/bdf_readiness/readinessv2_e_dark_voltage_step.json.gz differ diff --git a/tests/integration/fixtures/bdf_readiness/readinessv2_e_saved_packet.json.gz b/tests/integration/fixtures/bdf_readiness/readinessv2_e_saved_packet.json.gz new file mode 100644 index 00000000..158cd5df Binary files /dev/null and b/tests/integration/fixtures/bdf_readiness/readinessv2_e_saved_packet.json.gz differ diff --git a/tests/integration/fixtures/multiple_ionic_d0_steady.json.gz b/tests/integration/fixtures/multiple_ionic_d0_steady.json.gz new file mode 100644 index 00000000..dc08d20c Binary files /dev/null and b/tests/integration/fixtures/multiple_ionic_d0_steady.json.gz differ diff --git a/tests/integration/fixtures/multiple_ionic_d0_steady.md b/tests/integration/fixtures/multiple_ionic_d0_steady.md new file mode 100644 index 00000000..757c0c57 --- /dev/null +++ b/tests/integration/fixtures/multiple_ionic_d0_steady.md @@ -0,0 +1,25 @@ +# Mixed immobile-ion steady fixture + +`multiple_ionic_d0_steady.json.gz` contains the exact, independently accepted +`MultipleIonDomainsV1/ImmobileSteady/MixedSteady.json` research evidence. +Its decompressed SHA-256 is +`52fbe8cad99b739698459daaf428cba17acf5a8a70ea19de8a4fd9c4852651aa`. +Compression changes no source identities, solver controls, fields or outcomes. + +The 13-node device has two separated shared-site ion domains. The right domain's +negative species is immobile, while its positive species and both left-domain +species are mobile. The steady state passed its original numerical gates at +2 mV in the dark. Final scientific qualification remains false. + +The transient tests verify the original digest and materialize these bytes in +local temporary storage. They use the historical coordinates as an unverified +seed for one current-source steady solve per module, under the original gates. +The resulting new evidence has its own source identity and digest, which the +production loader checks before four physical time steps. No archived identity, +accepted status or field is rewritten. + +This fixture replaces a machine-specific cloud path that failed on CI run +40788604559. Run 40789506628 then exposed the checkout-path component of the +configuration source identity; the explicit seeded solve handles that difference +without weakening production admission. Both original failures and the archived +accepted evidence are preserved. diff --git a/tests/integration/test_bdf_publication.py b/tests/integration/test_bdf_publication.py new file mode 100644 index 00000000..5ac175fa --- /dev/null +++ b/tests/integration/test_bdf_publication.py @@ -0,0 +1,786 @@ +"""BDF publication and solver-free complete/failed history contracts.""" +from contextlib import nullcontext +from dataclasses import asdict, replace +import gzip +import hashlib +import json +from pathlib import Path +import shutil +import subprocess +import sys + +import numpy as np +import pytest + +from solarlab.equations.implementation import ASSEMBLED, ENVIRONMENT, LEGACY, equation_implementation +from solarlab.experiments.bdf_results import ( + _canonical, _decode, _digest, _encode, _input_record, _validate_history, _work, read_bdf_packet, read_bdf_result, +) +from solarlab.experiments.transient_results import ( + publish_transient_result, read_transient_result, run_transient_for_publication, +) +from solarlab.io.artifacts import ArtifactIntegrityError, bytes_artifact +from solarlab.io.run_store import RunStore +from solarlab.reproducibility import job_provenance as provenance + +ROOT = Path(__file__).resolve().parents[2] +FIXTURES = ROOT / "tests/integration/fixtures/bdf_readiness" + + +@pytest.fixture(scope="module") +def published(tmp_path_factory): + # Keep the historical/pre-wiring fixtures on their explicit original route. + with equation_implementation(LEGACY): + return _published(tmp_path_factory, assembled=False) + + +@pytest.fixture(scope="module", params=["default", "environment", "scope"]) +def assembled_published(tmp_path_factory, request, published): + with pytest.MonkeyPatch.context() as patch: + patch.delenv(ENVIRONMENT, raising=False) + if request.param == "environment": + patch.setenv(ENVIRONMENT, ASSEMBLED) + with equation_implementation(ASSEMBLED) if request.param == "scope" else nullcontext(): + return _published(tmp_path_factory, assembled=True, ionic_initial_path=published[0] / "ionic_initial.json") + + +def _published(tmp_path_factory, *, assembled, ionic_initial_path=None): + from examples.research_1d.steady import load_device + from examples.research_1d.transient import controls + from solarlab.device.compile_1d import compile_device_1d + from solarlab.experiments.transient import TransientProtocol + from solarlab.solvers.nonlinear.problem import GateOutcome, SolveBudget + from solarlab.solvers.nonlinear.steady_1d import SteadyOptions, solve_steady_state + from solarlab.solvers.time.bdf import BDFOptions + from solarlab.solvers.time.bdf_1d import BDFDrive + from solarlab.experiments import bdf as bdf_backend + from support.equation_provenance import counted + from support.provenance import checked_provenance_owner + + root = tmp_path_factory.mktemp("bdf-publication") + compiled = compile_device_1d(load_device(), intervals_per_layer=12) + initial_options = SteadyOptions() + initial = solve_steady_state(compiled, voltage_V=0., generation_scale=1., options=initial_options) + protocol = TransientProtocol([0, 1e-7, 2e-7], [0, 0, 0], [1, 1.0001, 1.0001]) + drive = BDFDrive(protocol.times_s, np.array([[0., 1.], [0., 1.], [0., 1.0001]]), + np.array([[0., 1.], [0., 1.0001], [0., 1.0001]])) + bdf = BDFOptions(initial_step_s=1e-7, max_order=1, adaptive=False, max_steps=100, wall_s=20.) + captures = {} + with RunStore(root / "store") as store: + for name in ("completed", "cap", "newton", "restart-rejected", "restart-at-end", "restart-at-start"): + options = controls() + requested = bdf + active_drive = drive + active_protocol = protocol + if name == "cap": + options = replace(options, max_steps=1) + if name == "newton": + options = replace(options, newton_budget=SolveBudget(1, 10, 1, 4)) + active_protocol = TransientProtocol([0, 1e-7, 2e-7], [0, 0, 0], [1, 1, 1.5]) + active_drive = None + if name in {"restart-at-start", "restart-at-end"}: + active_protocol = TransientProtocol([0, 2e-7], [0, 0], [1, 1.0001]) + left = [[0., 1.], [0., 1.]] if name == "restart-at-end" else [[0., 1.], [0., 1.0001]] + right = [[0., 1.], [0., 1.0001]] if name == "restart-at-end" else [[0., 1.0001], [0., 1.0001]] + active_drive = BDFDrive(active_protocol.times_s, np.array(left), np.array(right)) + with checked_provenance_owner(), counted() as observed, pytest.MonkeyPatch.context() as patch: + if name.startswith("restart-"): + native_events = bdf_backend._events + + def rejecting_events(*args): + events = native_events(*args) + + def reject(old, new, u): + right, assessment = events[0].restart(old, new, u) + # A tiny synthetic refused event exercises the real + # failure path; production controls are untouched. + return right, replace(assessment, checks=(*assessment.checks, + GateOutcome("test_restart_refusal", False, 1., 0.))) + + return (replace(events[0], restart=reject), *events[1:]) + + patch.setattr(bdf_backend, "_events", rejecting_events) + capture = run_transient_for_publication(compiled, initial, active_protocol, + options=options, initial_options=initial_options, method="bdf", bdf_options=requested, + bdf_drive=active_drive) + assert (observed.original == 0 and observed.assembled > 0) if assembled else ( + observed.original > 0 and observed.assembled == 0) + assert capture.result.completed == (name == "completed") + row = store.enqueue(name, opaque_identity=capture.identity, input_metadata={"fixture": name}) + token = store.claim(name, expected_attempt_id=row["current_attempt_id"], expected_generation=row["generation"], owner_id="test") + document = publish_transient_result(store, token, capture.result, nodes_m=compiled.nodes_m, capture=capture) + with pytest.raises(ValueError, match="committed terminal"): + read_bdf_result(store, name) + store.complete(token, state="succeeded" if name == "completed" else "failed", + result=document, artifacts=document["artifact_ids"]) + captures[name] = capture + from examples.research_1d.ionic_residual import prepare_single_ion_device + from examples.research_1d.ionic_steady import controls as ionic_steady_controls + from examples.research_1d.ionic_transient import controls as ionic_controls + from examples.research_1d.transient import json_value + from solarlab.device.compile_ionic_1d import compile_ionic_device_1d + from solarlab.experiments.bdf_results import run_bdf_for_publication + from solarlab.experiments.ionic_transient import load_ionic_steady_initial + from solarlab.solvers.nonlinear.ionic_1d import solve_ionic_steady_state + + device = compile_ionic_device_1d(prepare_single_ion_device(diffusion_only=True), intervals_per_layer=12) + admission = ionic_steady_controls(device.ion_node_count) + if ionic_initial_path is None: + point = solve_ionic_steady_state(device, voltage_V=.002, generation_scale=0., options=admission) + assert point.accepted + saved = {"summary": {"accepted": True, "compiled_identity": device.identity, + "voltage_V": .002, "generation_scale": 0.}, "result": point} + raw = (json.dumps(json_value(saved), allow_nan=False) + "\n").encode() + initial_path = root / "ionic_initial.json" + initial_path.write_bytes(raw) + else: + initial_path = ionic_initial_path + raw = initial_path.read_bytes() + ion_initial = load_ionic_steady_initial(device, initial_path, hashlib.sha256(raw).hexdigest(), controls=admission) + times = np.linspace(0., 1., 5) + for name in ("ionic-completed", "ionic-cap"): + physical = ionic_controls() + if name == "ionic-cap": + physical = replace(physical, electronic=replace(physical.electronic, max_steps=1)) + with checked_provenance_owner(), counted() as observed: + capture = run_bdf_for_publication(device, ion_initial, + TransientProtocol(times, .002 + .002 * times, np.zeros(5)), options=physical, + bdf_options=BDFOptions(.25, adaptive=False, max_order=1)) + assert (observed.original == 0 and observed.assembled > 0) if assembled else ( + observed.original > 0 and observed.assembled == 0) + assert capture.result.completed == (name == "ionic-completed") + row = store.enqueue(name, opaque_identity=capture.identity, input_metadata={"fixture": name}) + token = store.claim(name, expected_attempt_id=row["current_attempt_id"], expected_generation=0, owner_id="test") + document = publish_transient_result(store, token, capture.result, nodes_m=device.nodes_m, capture=capture) + store.complete(token, state="succeeded" if capture.result.completed else "failed", + result=document, artifacts=document["artifact_ids"]) + captures[name] = capture + return root, captures + + +@pytest.mark.parametrize("name", ["completed", "cap", "newton", "restart-rejected", "restart-at-end", + "restart-at-start", "ionic-completed", "ionic-cap"]) +def test_bdf_capture_keeps_the_full_legacy_opt_out_wiring_binding(published, name): + from solarlab.equations.implementation import BINDING_SCHEMA + + root, captures = published + with RunStore(root / "store", read_only=True, immutable=True) as store: + loaded = read_bdf_result(store, name) + implementation = loaded["record"]["request"]["equation_implementation"] + operator = "BDFStep:" + ("Ionic1DProblem" if name.startswith("ionic-") else "DC1DProblem") + expected = {"operator": operator, "assembler_identity": None, "analysis_identity": provenance.digest({ + "schema": BINDING_SCHEMA, "implementation": "legacy", "analysis": "transient", + "operator": operator, "assemblers": {}})} + assert implementation["kind"] == "original" and implementation["unified_assembler"] is False + assert implementation["provenance_binding"] == expected + description = json.loads(captures[name].capture_json)["description"] + assert description["equation_implementation"] == implementation + admitted = provenance.read_provenance(description["job_provenance"]).export()["assembler"] + assert admitted == {"operator": operator, "identity": None, "unified_assembler": False, + "analysis_identity": expected["analysis_identity"]} + + +@pytest.mark.parametrize("operator", ["BDFStep:DC1DProblem", "BDFStep:Ionic1DProblem"]) +def test_bdf_capability_defaults_to_assembled_and_retains_legacy_opt_out(monkeypatch, operator): + from solarlab.equations.implementation import ( + ASSEMBLED, ENVIRONMENT, LEGACY, equation_implementation, provenance_binding, selected_implementation, + ) + + monkeypatch.delenv(ENVIRONMENT, raising=False) + assert selected_implementation() == ASSEMBLED + assert selected_implementation(operator=operator) == ASSEMBLED + binding = provenance_binding(operator, object(), assembled=False) + assert binding["operator"] == operator and binding["assembler_identity"] is None + with pytest.raises(TypeError, match="no assembled equation system is bound"): + provenance_binding(operator, object(), assembled=True) + with equation_implementation(LEGACY): + assert selected_implementation(operator=operator) == LEGACY + with equation_implementation(ASSEMBLED): + assert selected_implementation(operator=operator) == ASSEMBLED + assert selected_implementation() == ASSEMBLED + monkeypatch.setenv(ENVIRONMENT, LEGACY) + assert selected_implementation(operator=operator) == LEGACY + monkeypatch.setenv(ENVIRONMENT, ASSEMBLED) + assert selected_implementation(operator=operator) == ASSEMBLED + + +@pytest.mark.parametrize("ionic", [False, True]) +def test_unknown_bdf_implementation_refuses_before_admission(monkeypatch, ionic): + from examples.research_1d.ionic_residual import prepare_single_ion_device + from examples.research_1d.steady import load_device + from solarlab.device.compile_1d import compile_device_1d + from solarlab.device.compile_ionic_1d import compile_ionic_device_1d + from solarlab.experiments import bdf_results + from solarlab.solvers.time.bdf import BDFOptions + + compiled = (compile_ionic_device_1d(prepare_single_ion_device(diffusion_only=True), intervals_per_layer=12) + if ionic else compile_device_1d(load_device(), intervals_per_layer=12)) + monkeypatch.setenv(ENVIRONMENT, "unknown") + monkeypatch.setattr(bdf_results, "job_provenance", lambda *a, **k: pytest.fail("refusal must precede admission")) + with pytest.raises(ValueError, match="unknown equation implementation"): + bdf_results.run_bdf_for_publication(compiled, None, None, options=None, + initial_options=object(), bdf_options=BDFOptions(1e-7)) + if ionic: + from solarlab.experiments.ionic_transient import solve_ionic_transient + with pytest.raises(ValueError, match="unknown equation implementation"): + solve_ionic_transient(compiled, None, None, options=None, method="bdf", bdf_options=BDFOptions(1e-7)) + else: + from solarlab.experiments.transient import solve_transient + with pytest.raises(ValueError, match="unknown equation implementation"): + run_transient_for_publication(compiled, None, None, options=None, initial_options=object(), + method="bdf", bdf_options=BDFOptions(1e-7)) + with pytest.raises(ValueError, match="unknown equation implementation"): + solve_transient(compiled, None, None, options=None, initial_options=object(), + method="bdf", bdf_options=BDFOptions(1e-7)) + + +@pytest.mark.parametrize("name", ["completed", "cap", "newton", "restart-rejected", "restart-at-end", + "restart-at-start", "ionic-completed", "ionic-cap"]) +def test_assembled_bdf_publication_preserves_legacy_numerical_words(published, assembled_published, name): + _, original = published + root, candidate = assembled_published + + def numerical_bytes(result): + saved = _decode(_encode(result)) + del saved["wall_s"] + del saved["controls"]["wall_s"] + del saved["controls"]["initial_admission_wall_s"] + for attempt in saved["attempts"]: + del attempt["wall_s"] + return _canonical(_encode(saved)) + + assert numerical_bytes(original[name].result) == numerical_bytes(candidate[name].result) + with RunStore(root / "store", read_only=True, immutable=True) as store: + loaded = read_transient_result(store, name) + assert _digest(loaded["history"]) == _digest(candidate[name].result) + implementation = loaded["record"]["request"]["equation_implementation"] + assert implementation["kind"] == "assembled" and implementation["unified_assembler"] is True + binding = implementation["provenance_binding"] + assert binding["operator"] == "BDFStep:" + ("AssembledIonic1DProblem" if name.startswith("ionic-") + else "AssembledDC1DProblem") + assert isinstance(binding["assembler_identity"], str) and len(binding["assembler_identity"]) == 64 + description = json.loads(candidate[name].capture_json)["description"] + assert provenance.read_provenance(description["job_provenance"]).export()["assembler"] == { + "operator": binding["operator"], "identity": binding["assembler_identity"], "unified_assembler": True, + "analysis_identity": binding["analysis_identity"]} + + +@pytest.mark.parametrize("name", ["completed", "cap", "newton"]) +def test_completed_and_failed_bdf_round_trip(published, name): + root, captures = published + capture = captures[name] + with RunStore(root / "store", read_only=True, immutable=True) as store: + loaded = read_transient_result(store, name) + assert _digest(loaded["history"]) == _digest(capture.result) + request = loaded["record"]["request"] + effective = loaded["record"]["effective_bdf_options"] + assert request["method"] == "bdf" + assert request["bdf_options"]["max_steps"] == 100 + assert effective["max_steps"] == (1 if name == "cap" else 32) + assert loaded["record"]["remaining_wall_budget_s"] == capture.result.controls["wall_s"] + assert loaded["record"]["remaining_wall_budget_s"] < request["bdf_options"]["wall_s"] + assert loaded["summary"]["qualification"] is False + assert loaded["summary"]["label"] == "experimental_unqualified" + assert loaded["summary"]["last_accepted_time_s"] == capture.result.accepted_times_s[-1] + assert loaded["summary"]["requested_end_s"] == 2e-7 + if name != "completed": + assert loaded["requested_end_state"] is None + assert loaded["summary"]["requested_end_reached"] is False + assert loaded["summary"]["last_accepted_time_s"] < loaded["summary"]["requested_end_s"] + assert loaded["history"]["samples"] == () + if name == "completed": + assert loaded["history"]["restarts"] + restart = loaded["history"]["restarts"][0] + assert restart["time_s"] == 1e-7 + assert not np.array_equal(request["drive"]["left_values"], request["drive"]["right_values"]) + if name == "newton": + assert any(not step["accepted"] for step in loaded["history"]["attempts"]) + + +def test_solver_free_fresh_process_reads_every_history(published): + root, _ = published + code = ''' +import hashlib, importlib.abc, pathlib, sys +sys.path.insert(0, sys.argv[2]) +class NoSolvers(importlib.abc.MetaPathFinder): + def find_spec(self, fullname, path=None, target=None): + if any(fullname == prefix or fullname.startswith(prefix + '.') for prefix in ( + 'solarlab.solvers', 'solarlab.equations', 'solarlab.experiments.transient', + 'solarlab.experiments.ionic_transient')): + raise AssertionError('reader imported a solver: ' + fullname) +sys.meta_path.insert(0, NoSolvers()) +from solarlab.io.run_store import RunStore +from solarlab.experiments.transient_results import read_transient_result +from solarlab.experiments.bdf_results import read_bdf_result +assert hashlib.sha256(pathlib.Path(read_bdf_result.__code__.co_filename).read_bytes()).hexdigest() == sys.argv[3] +with RunStore(sys.argv[1], read_only=True, immutable=True) as store: + for name in ('completed','cap','newton','restart-rejected','restart-at-end','restart-at-start','ionic-completed','ionic-cap'): + read_transient_result(store, name) +assert not any(n == 'solarlab.solvers' or n.startswith('solarlab.solvers.') for n in sys.modules) +''' + reader = Path(read_bdf_result.__code__.co_filename).resolve() + result = subprocess.run([sys.executable, "-I", "-B", "-c", code, str(root / "store"), + str(reader.parents[2]), hashlib.sha256(reader.read_bytes()).hexdigest()], + text=True, capture_output=True, timeout=10) + assert result.returncode == 0, result.stdout + result.stderr + + +@pytest.mark.parametrize("name", ["ionic-completed", "ionic-cap"]) +def test_ionic_history_retains_its_original_initial_evidence(published, name): + root, captures = published + with RunStore(root / "store", read_only=True, immutable=True) as store: + loaded = read_bdf_result(store, name) + assert _digest(loaded["history"]) == _digest(captures[name].result) + record = loaded["record"] + assert record["request"]["initial_source_sha256"] == loaded["history"]["controls"]["initial_source_sha256"] + assert record["request"]["equation_implementation"]["problem"] == "solarlab.equations.ionic_1d.Ionic1DProblem" + assert loaded["summary"]["completed"] == (name == "ionic-completed") + if name == "ionic-cap": + assert loaded["requested_end_state"] is None + assert loaded["summary"]["last_accepted_time_s"] == .25 + + +@pytest.mark.parametrize("name", ["completed", "cap", "newton", "ionic-completed", "ionic-cap"]) +def test_source_drift_is_information_and_strict_mode_refuses(published, tmp_path, monkeypatch, name): + root, _ = published + source = tmp_path / "later_source.py" + source.write_bytes(b"changed implementation") + with RunStore(root / "store", read_only=True, immutable=True) as store: + before = read_bdf_result(store, name) + producer = provenance.read_provenance(before["manifest"]["provenance"]["description"]["job_provenance"]) + if producer.export()["source_state"] == "clean": + same = read_bdf_result(store, name, current_identity=producer, strict_same_source=True) + assert same["provenance_comparison"]["status"] == "same" + else: + with pytest.raises(ValueError, match="strict_same_source"): + read_bdf_result(store, name, current_identity=producer, strict_same_source=True) + current = provenance.capture_job_provenance({}, dirty_policy="record", operator=producer.export()["assembler"]["operator"], + source_files=(("solarlab/later_source.py", source.read_bytes()),), source_attested=True, + git_commit=producer.export()["git_commit"], environment_lock=b"changed lock") + source.write_bytes(b"another edit after current admission") + monkeypatch.setattr(provenance, "capture_job_provenance", lambda *a, **k: pytest.fail("reader recaptured source")) + after = read_bdf_result(store, name, current_identity=current) + assert after["provenance_comparison"]["status"] == "different" + assert _digest(after["record"]) == _digest(before["record"]) + assert after["manifest"]["provenance"] == before["manifest"]["provenance"] + with pytest.raises(ValueError, match="strict_same_source"): + read_bdf_result(store, name, current_identity=current, strict_same_source=True) + + +@pytest.mark.parametrize("name", ["completed", "cap", "newton"]) +def test_history_bytes_tampering_refuses(published, tmp_path, name): + root, _ = published + shutil.copytree(root / "store", tmp_path / "store") + with RunStore(tmp_path / "store", read_only=True, immutable=True) as store: + loaded = read_bdf_result(store, name) + record = store.artifact(loaded["manifest"]["history_artifact_id"]) + path = store.root / record["relative_path"] + original = path.read_bytes() + path.write_bytes(original[:-1] + b" ") + with pytest.raises(ArtifactIntegrityError): + read_bdf_result(store, name) + + +def test_mutated_capture_and_mixed_methods_refuse_before_publication(published, tmp_path): + _, captures = published + capture = captures["completed"] + with RunStore(tmp_path / "store") as store: + row = store.enqueue("bad", opaque_identity=capture.identity, input_metadata={}) + token = store.claim("bad", expected_attempt_id=row["current_attempt_id"], expected_generation=0, owner_id="test") + bad_result = replace(capture.result, controls={**capture.result.controls, "method": "backward_euler"}) + with pytest.raises(ValueError, match="differs from result"): + publish_transient_result(store, token, bad_result, nodes_m=capture.nodes_m, capture=capture) + metadata = json.loads(capture.capture_json) + metadata["description"]["input_record"]["request_sha256"] = "0" * 64 + with pytest.raises(ValueError, match="input binding"): + publish_transient_result(store, token, capture.result, nodes_m=capture.nodes_m, + capture=replace(capture, capture_json=json.dumps(metadata))) + assert store.events(run_id="bad")[-1]["kind"] == "running" + + +def test_sample_failure_at_end_does_not_claim_completed_request(published): + _, captures = published + history = _decode(_encode(captures["completed"].result)) + history["completed"] = False + history["termination"] = "sample_projection_failed" + history["samples"] = history["samples"][:1] + history["sample_failure"] = {"time_s": history["requested_output_times_s"][1], + "accepted_sample_prefix": 1, "newton": None, "error": "synthetic projection failure"} + summary = _validate_history(history) + assert summary["last_accepted_time_s"] == summary["requested_end_s"] + assert summary["requested_end_reached"] is False + assert summary["completed"] is False + + +@pytest.mark.parametrize("reader", [read_bdf_result, read_transient_result]) +@pytest.mark.parametrize("name", ["restart-rejected", "restart-at-end", "restart-at-start"]) +def test_native_rejected_restart_keeps_failed_progress_without_endpoint(published, reader, name): + root, captures = published + result = captures[name].result + assert not result.completed and not result.restarts[-1].accepted + with RunStore(root / "store", read_only=True, immutable=True) as store: + loaded = reader(store, name) + assert _digest(loaded["history"]) == _digest(result) + assert loaded["run_state"] == "failed" + expected = "evaluation_error" if name == "restart-at-start" else "restart_physical_gate_rejected" + assert loaded["summary"]["termination"] == expected + assert loaded["summary"]["last_accepted_time_s"] == result.restarts[-1].time_s + assert (loaded["summary"]["last_accepted_time_s"] == loaded["summary"]["requested_end_s"]) is (name == "restart-at-end") + assert loaded["summary"]["completed"] is False + assert loaded["summary"]["requested_end_reached"] is False + assert loaded["requested_end_state"] is None + assert not loaded["history"]["samples"] + + +def test_rejected_restart_refuses_before_any_publication(published, tmp_path): + _, captures = published + capture = captures["completed"] + body = _decode(json.loads(capture.history_bytes)) + body["history"]["restarts"][0]["accepted"] = False + raw = _canonical(_encode(body)) + metadata = json.loads(capture.capture_json) + metadata["history_sha256"] = hashlib.sha256(raw).hexdigest() + changed = replace(capture, history_bytes=raw, capture_json=_canonical(metadata).decode()) + with RunStore(tmp_path / "store") as store: + row = store.enqueue("bad", opaque_identity=changed.identity, input_metadata={"synthetic_fixture": True}) + token = store.claim("bad", expected_attempt_id=row["current_attempt_id"], expected_generation=0, owner_id="test") + with pytest.raises(ValueError, match="restart"): + publish_transient_result(store, token, changed.result, nodes_m=changed.nodes_m, capture=changed) + assert store.events(run_id="bad")[-1]["kind"] == "running" + assert not list((store.root / "artifacts").rglob("*.json")) + + +def reseal_test_record(published, target, mutation): + """Create a new adversarial/synthetic store; never rewrite a historical run.""" + root, _ = published + failed = mutation in {"false-completion", "nonfinite-failed-candidate", "interrupted-newton"} + with RunStore(root / "store", read_only=True, immutable=True) as source: + original = read_bdf_result(source, "newton" if failed else "completed") + body = original["record"] + capture = original["manifest"]["provenance"] + description = capture["description"] + if mutation in {"requested-method", "effective-method", "history-method"}: + if mutation == "requested-method": + body["request"]["method"] = "backward_euler" + elif mutation == "effective-method": + body["effective_method"] = "backward_euler" + else: + body["history"]["controls"]["method"] = "backward_euler" + if mutation == "missing-end": + body["history"]["accepted_times_s"] = body["history"]["accepted_times_s"][:-1] + body["history"]["accepted_coordinates"] = body["history"]["accepted_coordinates"][:-1] + if mutation == "rejected-restart": + restart = body["history"]["restarts"][0] + assert restart["accepted"] is True + assert restart["left_u"].tobytes() == restart["right_u"].tobytes() + # Performance CND3-R1: change this one Boolean and reseal, retaining + # every numerical word, admission identity and completion claim. + restart["accepted"] = False + if mutation == "rejected-restart-receipt": + restart = body["history"]["restarts"][0] + restart["accepted"] = False + restart["assessment"]["checks"][0]["passed"] = False + if mutation in {"restart-left-storage", "restart-right-storage", "restart-sample-storage"}: + history = body["history"] + if mutation == "restart-sample-storage": + record = next(s for s in history["samples"] if s["time_s"] == history["restarts"][0]["time_s"]) + key = "storage_value" + else: + record = history["restarts"][0] + key = "left_storage" if mutation == "restart-left-storage" else "right_storage" + record[key] = record[key].copy() + record[key][0] = 1. + if mutation in {"missing-newton-work", "extra-newton-work", "evaluation-work", "assessment-work", "storage-work"}: + history = body["history"] + if mutation in {"missing-newton-work", "extra-newton-work"}: + history["nonlinear_calls"] += -1 if mutation == "missing-newton-work" else 1 + else: + key = {"evaluation-work": "residual", "assessment-work": "assessment", "storage-work": "storage"}[mutation] + history["evaluation_counts"][key] = 0 + body["summary"]["work"] = _work(history) + if mutation == "missing-completed-sample": + body["history"]["samples"] = body["history"]["samples"][:-1] + body["summary"]["sample_count"] -= 1 + body["summary"]["work"] = _work(body["history"]) + if mutation == "missing-restart": + body["history"]["restarts"] = () + body["summary"]["work"] = _work(body["history"]) + if mutation == "missing-sample-failure": + body["history"]["completed"] = body["summary"]["completed"] = False + body["summary"]["requested_end_reached"] = False + body["history"]["termination"] = body["summary"]["termination"] = "sample_projection_failed" + if mutation == "false-completion": + body["summary"]["completed"] = True + body["summary"]["requested_end_reached"] = True + if mutation in {"admitted-input", "attempt-null-manifest", "foreign-attempt"}: + record = provenance.read_provenance(description["job_provenance"]).export() + record["input_sha256"] = "0" * 64 + if mutation != "admitted-input": + record["attempt_ref"] = {"store_id": "a" * 32, "run_id": "foreign", + "attempt_id": "b" * 32, "owner_id": "foreign", "generation": 0} + record["execution_manifest_sha256"] = None if mutation == "attempt-null-manifest" else "c" * 64 + description["job_provenance"] = provenance.JobProvenance.from_record(record).envelope() + capture["identity"]["H_execution"] = hashlib.sha256(_canonical(description)).hexdigest() + if mutation == "producer-tamper": + description["job_provenance"]["record"]["source_tree_sha256"] = "0" * 64 + if mutation == "nonfinite-failed-candidate": + trial = body["history"]["attempts"][-1] + assert not trial["accepted"] + trial["candidate_coordinates"] = trial["candidate_coordinates"].copy() + trial["candidate_coordinates"][0] = np.frombuffer(bytes.fromhex("420000000000f87f"), dtype=" loaded["summary"]["work"]["main_newton_records"] + else: + assert loaded["summary"]["last_accepted_time_s"] == loaded["summary"]["requested_end_s"] + assert loaded["history"]["sample_failure"]["accepted_sample_prefix"] == 1 + + +@pytest.mark.platform_bound +def test_saved_readiness_packets_keep_original_words_and_identity(): + from solarlab.experiments.transient_results import _decode as historical_decode + + manifest = json.loads((FIXTURES / "manifest.json").read_text()) + for row in manifest["fixtures"]: + path = ROOT / row["path"] + loaded = read_bdf_packet(path, row["sha256"]) + original = gzip.decompress(path.read_bytes()) + assert hashlib.sha256(original).hexdigest() == row["original_sha256"] + assert loaded["original_packet_sha256"] == row["original_sha256"] + assert _digest(loaded["packet"]) == _digest(historical_decode(json.loads(original))) + assert loaded["summary"]["completed"] is row["completed"] + assert loaded["summary"]["termination"] == row["termination"] + assert loaded["runtime_identity"] is None + if not row["completed"]: + assert loaded["requested_end_state"] is None + assert loaded["summary"]["last_accepted_time_s"] < loaded["summary"]["requested_end_s"] + if row["termination"] == "evaluation_error": + assert loaded["summary"]["work"]["auxiliary_newton_failures"] > 0 + if row.get("accepted_restart_side") == "right": + history = loaded["history"] + restart = history["restarts"][0] + index = np.flatnonzero(history["accepted_times_s"] == restart["time_s"])[0] + assert _digest(history["accepted_coordinates"][index]) == _digest(restart["right_u"]) + assert _digest(restart["left_u"]) != _digest(restart["right_u"]) + trial = next(step for step in history["attempts"] if step["accepted"] and step["end_s"] == restart["time_s"]) + assert _digest(trial["candidate_coordinates"]) == _digest(restart["left_u"]) + with pytest.raises(ValueError, match="historical source/runtime"): + read_bdf_packet(path, row["sha256"], strict_same_source=True) + + +@pytest.mark.parametrize("mutation", ["method", "completed", "clock", "restart-left", "restart-right"]) +@pytest.mark.platform_bound +def test_historical_packet_structural_tampering_refuses(tmp_path, mutation): + fixtures = json.loads((FIXTURES / "manifest.json").read_text())["fixtures"] + row = fixtures[-1] if mutation.startswith("restart-") else fixtures[1] + packet = json.loads(gzip.decompress((ROOT / row["path"]).read_bytes())) + if mutation == "method": + packet["method"] = "backward_euler" + elif mutation == "completed": + packet["completed"] = True + elif mutation == "clock": + packet["result"]["final_time_s"] = 0.0 + else: + packet = _decode(packet) + restart = packet["result"]["restarts"][0] + key = "left_u" if mutation == "restart-left" else "right_u" + restart[key] = restart[key].copy() + restart[key][0] += .001 + packet = _encode(packet) + raw = _canonical(packet) + path = tmp_path / "tampered.json" + path.write_bytes(raw) + with pytest.raises(ValueError): + read_bdf_packet(path, hashlib.sha256(raw).hexdigest()) + + +@pytest.mark.platform_bound +def test_solver_free_process_reads_historical_packets(): + code = ''' +import hashlib, importlib.abc, json, pathlib, sys +sys.path.insert(0, sys.argv[1]) +class NoNumericalExecution(importlib.abc.MetaPathFinder): + def find_spec(self, fullname, path=None, target=None): + if any(fullname == name or fullname.startswith(name + '.') for name in ( + 'solarlab.solvers', 'solarlab.equations', 'solarlab.device.compile_1d', 'solarlab.device.compile_ionic_1d', + 'solarlab.experiments.transient', 'solarlab.experiments.ionic_transient')): + raise AssertionError('packet reader imported numerical execution: ' + fullname) +sys.meta_path.insert(0, NoNumericalExecution()) +from solarlab.experiments.bdf_results import read_bdf_packet +assert hashlib.sha256(pathlib.Path(read_bdf_packet.__code__.co_filename).read_bytes()).hexdigest() == sys.argv[3] +root = pathlib.Path(sys.argv[2]) +manifest = json.loads((root / 'tests/integration/fixtures/bdf_readiness/manifest.json').read_bytes()) +for row in manifest['fixtures']: + result = read_bdf_packet(root / row['path'], row['sha256']) + assert result['summary']['completed'] is row['completed'] +assert not any(name == 'solarlab.solvers' or name.startswith('solarlab.solvers.') for name in sys.modules) +''' + reader = Path(read_bdf_packet.__code__.co_filename).resolve() + result = subprocess.run([sys.executable, "-I", "-B", "-c", code, str(reader.parents[2]), str(ROOT), + hashlib.sha256(reader.read_bytes()).hexdigest()], capture_output=True, text=True, timeout=15) + assert result.returncode == 0, result.stdout + result.stderr diff --git a/tests/integration/test_contacts_2d.py b/tests/integration/test_contacts_2d.py new file mode 100644 index 00000000..3f482c0e --- /dev/null +++ b/tests/integration/test_contacts_2d.py @@ -0,0 +1,479 @@ +"""Independent channel/area/balance oracles for 2D contacts; no Newton runs.""" + +from __future__ import annotations + +from dataclasses import asdict, replace +from copy import deepcopy +import hashlib +import json +import math +import os +from pathlib import Path +from typing import Any + +import numpy as np +import pytest +from scipy.sparse import coo_matrix + +from examples.research_1d.steady import load_device +from examples.research_1d.transient import json_value +from examples.research_2d import contacts as example +from examples.research_2d.dc_assembly import DIRECTIONAL_RTOL, DIRECTIONAL_STEP, coordinates, spatial_input +from solarlab.contracts import AREA, LENGTH, PARTICLE, SECOND +from solarlab.contracts.units import ELEMENTARY_CHARGE_C as Q +from solarlab.device.compile_2d import compile_device_2d +from solarlab.device.resolved import PreparedDevice +from solarlab.equations.dc_1d import CapabilityError, DC1DProblem +from solarlab.equations.dc_2d import CompiledDevice2D, DC2DProblem +from solarlab.experiments.two_dimensional.inputs import JV2DInput +from solarlab.physics.contacts.exchange import legacy_selective_contact_current +from solarlab.solvers.nonlinear import steady_2d as solver +from solarlab.solvers.nonlinear.problem import GateOutcome +from solarlab.solvers.nonlinear.production import HISTORICAL_MAX_ROW_V1, POISSON_CONTACT_BALANCE_V1 +from solarlab.solvers.nonlinear.steady_1d import SteadyOptions + +ORDER = (("n", "left"), ("p", "left"), ("n", "right"), ("p", "right")) + + +@pytest.fixture(scope="module") +def prepared() -> PreparedDevice: + return load_device() + + +def compiled(prepared: PreparedDevice, velocities: tuple[float | None, ...]) -> CompiledDevice2D: + assert len(velocities) == 4 + declared = example.contact_device((velocities[0], velocities[1], velocities[2], velocities[3]), prepared=prepared) + return compile_device_2d(declared, spatial_input()) + + +@pytest.fixture(scope="module") +def mixed(prepared: PreparedDevice) -> CompiledDevice2D: + return compiled(prepared, example.VELOCITIES) + + +def nodes_for(device: CompiledDevice2D, side: str) -> np.ndarray: + return device.geometry.contact_nodes.reshape(2, device.geometry.nx)[0 if side == "left" else 1] + + +@pytest.mark.parametrize("channel_index", range(4)) +@pytest.mark.parametrize("velocity", [0.0, 731.5]) +def test_four_channels_are_independent_and_bind_identity(prepared, channel_index, velocity): + velocities = [None] * 4 + velocities[channel_index] = velocity + fixed = compile_device_2d(prepared, spatial_input()) + active = compiled(prepared, tuple(velocities)) + assert tuple((c.carrier, c.side) for c in active.column.channels) == ORDER + assert tuple(c.velocity_m_s for c in active.column.channels) == tuple(velocities) + assert active.identity != fixed.identity + mask = active.fixed_carrier_mask + expected = np.zeros(mask.shape, dtype=bool) + for index, (carrier, side) in enumerate(ORDER): + if index != channel_index: + expected[0 if carrier == "n" else 1, nodes_for(active, side)] = True + np.testing.assert_array_equal(mask, expected) + assert not mask.flags.writeable + for name in ("reference_electron_density_m3", "reference_hole_density_m3", "reference_potential_V"): + np.testing.assert_array_equal(getattr(active.column, name), getattr(fixed.column, name)) + assert active.column.contact_potentials(.002) == fixed.column.contact_potentials(.002) + np.testing.assert_array_equal(active.generation_source_m3_s, fixed.generation_source_m3_s) + + +@pytest.mark.parametrize("channel_index", range(4)) +def test_contact_flux_sign_units_and_exact_density_jacobian(prepared, channel_index): + velocities = [None] * 4 + velocities[channel_index] = 65536.0 + active = compiled(prepared, tuple(velocities)) + velocities[channel_index] = 0.0 + blocking = compiled(prepared, tuple(velocities)) + p, zero = DC2DProblem(active, .002, 1.0), DC2DProblem(blocking, .002, 1.0) + u = example.algebra_coordinates(active) + count = active.node_count + channel = active.column.channels[channel_index] + carrier, side = channel.carrier, channel.side + nodes = nodes_for(active, side) + offset, sign, charge = (count, 1.0, -Q) if carrier == "n" else (2 * count, -1.0, Q) + reference = active.reference_potentials(.002)[0 if carrier == "n" else 1] + exponent = np.linspace(-.2, .3, nodes.size) + u[offset + nodes] = sign * exponent - (u[nodes] - reference[nodes]) / active.thermal_voltage_V + density = active.fields(u, voltage_V=.002)[1 if carrier == "n" else 2][nodes] + exchange, slope = p._contact_exchange(u, channel, nodes) + assert slope == channel.outward_normal * 65536.0 + legacy = legacy_selective_contact_current(density, channel.reservoir_density_m3, 65536.0, carrier=carrier, side=side) + np.testing.assert_allclose(charge * exchange, legacy, rtol=32*np.finfo(float).eps, atol=0.0) + # Independently subtract blocking from finite exchange: only contact + # inflow and its two local density-chain entries may remain. + delta = p.residual(u) - zero.residual(u) + expected = np.zeros_like(delta) + expected[offset + nodes] = -65536.0 * channel.reservoir_density_m3 * np.expm1(exponent) * active.geometry.x_widths_m + allowance = 16*np.finfo(float).eps * (abs(p.residual(u)) + abs(zero.residual(u)) + abs(expected)) + assert np.all(abs(delta - expected) <= allowance) + a, b = p.jacobian(u).toarray(), zero.jacobian(u).toarray() + target = np.zeros_like(a) + for node, width, c in zip(nodes, active.geometry.x_widths_m, density): + target[offset + node, node] = -65536.0 * width * sign * c / active.thermal_voltage_V + target[offset + node, offset + node] = -65536.0 * width * sign * c + allowance_j = 16*np.finfo(float).eps * (abs(a) + abs(b) + abs(target)) + assert np.all(abs(a - b - target) <= allowance_j) + assert active.geometry.contract_geometry.volume_unit == AREA + assert active.geometry.contract_geometry.face_unit == LENGTH + assert next(e for e in active.layout.equations if e.id == "electron").unit == PARTICLE / (LENGTH * SECOND) + + +@pytest.mark.parametrize("channel_index", range(4)) +def test_zero_velocity_is_blocking_and_near_reservoir_excess_is_not_rounded_away(prepared, channel_index): + velocities = [None] * 4 + velocities[channel_index] = 1024.0 + d = compiled(prepared, tuple(velocities)) + problem = DC2DProblem(d, 0.0, 0.0) + u = np.r_[d.extrude(d.column.reference_potential_V), np.zeros(2 * d.node_count)] + channel = d.column.channels[channel_index] + nodes = nodes_for(d, channel.side) + sign, offset = (1.0, d.node_count) if channel.carrier == "n" else (-1.0, 2 * d.node_count) + tiny = 2.0**-55 + u[offset + nodes] = sign * tiny + flux, slope = problem._contact_exchange(u, channel, nodes) + assert np.exp(tiny) == 1.0 and np.all(flux != 0.0) + np.testing.assert_array_equal(flux, slope * channel.reservoir_density_m3 * np.expm1(tiny)) + one = DC1DProblem(d.column, 0.0, 0.0) + column_u = u.reshape(3, d.geometry.ny, d.geometry.nx)[:, :, 0].ravel() + expected, expected_slope = one.contact_exchange(column_u, channel, 0 if channel.side == "left" else d.geometry.ny - 1) + np.testing.assert_array_equal(flux, expected) + assert slope == expected_slope + blocked, blocked_slope = problem._contact_exchange(u, replace(channel, velocity_m_s=0.0), nodes) + assert blocked_slope == 0.0 and not np.any(blocked) + + +@pytest.mark.parametrize("channel_index", range(4)) +def test_finite_exchange_has_the_compatible_fixed_reservoir_limit(prepared, channel_index): + d = compiled(prepared, (None, None, None, None)) + problem = DC2DProblem(d, 0.0, 0.0) + channel = d.column.channels[channel_index] + nodes = nodes_for(d, channel.side) + sign, offset = (1.0, d.node_count) if channel.carrier == "n" else (-1.0, 2 * d.node_count) + target = channel.outward_normal * channel.reservoir_density_m3 * .01 + constraints = [] + for velocity in (1.0, 1024.0, 1048576.0): + u = np.r_[d.extrude(d.column.reference_potential_V), np.zeros(2 * d.node_count)] + u[offset + nodes] = sign * math.log1p(.01 / velocity) + flux, _ = problem._contact_exchange(u, replace(channel, velocity_m_s=velocity), nodes) + np.testing.assert_allclose(flux, target, rtol=4*np.finfo(float).eps, atol=0.0) + constraints.append(float(np.max(abs(problem.residual(u)[offset + nodes])))) + assert constraints[0] > constraints[1] > constraints[2] > 0.0 + assert constraints[2] < constraints[0] / 1e6 + + +@pytest.mark.parametrize("potential_only", [False, True]) +def test_full_contact_jacobian_with_lateral_and_endpoint_perturbations(mixed, potential_only): + p = DC2DProblem(mixed, .002, 0.0) + u = example.algebra_coordinates(mixed) + matrix = p.jacobian(u) + np.testing.assert_array_equal(matrix.toarray(), DC2DProblem(mixed, .002, 1.0).jacobian(u).toarray()) + rng = np.random.default_rng(772) + v = np.r_[.02 * rng.normal(size=mixed.node_count), rng.normal(size=2 * mixed.node_count)] + if potential_only: + v[mixed.node_count:] = 0.0 + h = DIRECTIONAL_STEP + numerical = (p.residual(u - 2*h*v) - 8*p.residual(u - h*v) + 8*p.residual(u + h*v) - p.residual(u + 2*h*v)) / (12*h) + scale = np.maximum(abs(matrix) @ abs(v), 1e-20) + assert np.max(abs(numerical - matrix @ v) / scale) < DIRECTIONAL_RTOL + corner = mixed.node_count # n at the blocking left/lateral corner. + assert matrix[corner, mixed.node_count + 1] != 0.0 + assert matrix[corner, mixed.node_count + mixed.geometry.nx] != 0.0 + + +@pytest.mark.parametrize("velocities", [example.VELOCITIES, (10.0, 20.0, 30.0, 40.0), (None, 0.0, None, 0.0)]) +def test_uniform_reduction_with_explicit_half_endpoint_source_correction(prepared, velocities): + d = compiled(prepared, velocities) + g, ny, N = d.geometry, d.geometry.ny, d.node_count + u1, u2 = coordinates(d, lateral=False) + one, two = DC1DProblem(d.column, .002, 1.0), DC2DProblem(d, .002, 1.0) + f1, j1 = one.residual(u1).reshape(3, ny), one.jacobian(u1).toarray() + _, n, p = d.column.fields(u1, voltage_V=.002) + rate = one.recombination_rate(n, p) + w1, w2 = d.column.geometry.cell_measures_m, g.y_geometry.cell_measures_m + source_delta = (d.generation_y.source_m3_s - rate.rate) * w2 - (d.column.generation.source_m3_s - rate.rate) * w1 + assert rate.d_rate_dn is not None and rate.d_rate_dp is not None + dn, dp = np.asarray(rate.d_rate_dn) * n, -np.asarray(rate.d_rate_dp) * p + current_correction = np.zeros(2) + for carrier_index, carrier in enumerate(("n", "p")): + for side_index, (side, node) in enumerate((("left", 0), ("right", ny - 1))): + if d.column.channel(carrier, side).kind == "fixed_reservoir": + charge = -Q if carrier == "n" else Q + current_correction[side_index] += charge * (-1.0 if side == "left" else 1.0) * source_delta[node] + continue + row = (carrier_index + 1) * ny + node + f1[carrier_index + 1, node] += source_delta[node] + j1[row, node] += (w1[node] - w2[node]) * (dn[node] + dp[node]) / d.thermal_voltage_V + j1[row, ny + node] += (w1[node] - w2[node]) * dn[node] + j1[row, 2 * ny + node] += (w1[node] - w2[node]) * dp[node] + weights = np.tile(np.tile(g.x_widths_m, ny), (3, 1)) + weights[0, g.contact_nodes] = 1.0 + weights[1:][d.fixed_carrier_mask] = 1.0 + actual = two.residual(u2) / weights.ravel() + expected = d.extrude_coordinates(f1.ravel()) + block_scale = np.repeat(np.max(abs(expected.reshape(3, N)), axis=1), N) + assert np.max(abs(actual - expected) / np.maximum(block_scale, 1e-30)) < 1e-13 + rows, columns = np.arange(3 * N), np.repeat(np.arange(3 * ny), g.nx) + lift = coo_matrix((np.ones(rows.size), (rows, columns)), shape=(3 * N, 3 * ny)).tocsc() + actual_j = (two.jacobian(u2) @ lift).toarray() / weights.ravel()[:, None] + expected_j = lift @ j1 + row_scale = np.maximum(np.max(abs(expected_j), axis=1), 1e-30) + assert np.max(np.max(abs(actual_j - expected_j), axis=1) / row_scale) < 1e-13 + np.testing.assert_allclose(two.terminal_current_density_A_m2(u2), one.contact_current_density(u1) + current_correction, + rtol=2e-13, atol=0.0) + assert not np.any(two.fluxes(u2).electron.flux[:g.x_face_count]) + assert not np.any(two.fluxes(u2).hole.flux[:g.x_face_count]) + + +def test_physical_terminal_and_full_row_balances_keep_failed_finite_contacts(mixed): + d, g = mixed, mixed.geometry + problem = DC2DProblem(d, .002, 1.0) + u = example.algebra_coordinates(d) + _, n, p = d.fields(u, voltage_V=.002) + source = (d.generation_source_m3_s - problem.recombination_rate(n, p, derivatives=False).rate) * g.contract_geometry.volumes + contacts = np.stack(problem.contact_particle_fluxes(u)) + expected = np.tile(source, (2, 1)) + fluxes = problem.fluxes(u) + for field, flux, terminal in zip(expected, (fluxes.electron.flux, fluxes.hole.flux), contacts): + # Preserve the declared negative-then-positive accumulation order; + # interleaving those additions tests a different rounding sequence. + for (left, right), measure, value in zip(g.contract_geometry.pairs, g.contract_geometry.face_measures, flux): + field[left] -= measure * value + for (left, right), measure, value in zip(g.contract_geometry.pairs, g.contract_geometry.face_measures, flux): + field[right] += measure * value + field[:g.nx] += g.x_widths_m * terminal[0] + field[-g.nx:] -= g.x_widths_m * terminal[1] + residual = problem.residual(u)[d.node_count:].reshape(2, d.node_count) + np.testing.assert_allclose(expected[~d.fixed_carrier_mask], residual[~d.fixed_carrier_mask], rtol=2e-14, atol=1.0) + data = solver.diagnostics(problem, u, solver.Steady2DOptions()) + np.testing.assert_array_equal(data["physical_carrier_balance_per_depth_m_s"], expected) + physical_sum = np.sum(expected, axis=1) + np.testing.assert_allclose(physical_sum, data["source_terminal_particle_balance_per_depth_m_s"], rtol=2e-13, atol=1.0) + rows = residual.copy() + rows[d.fixed_carrier_mask] = 0.0 + assert data["carrier_balance_bound_A_m2"] == Q * np.sum(abs(rows)) / g.lateral_length_m + contact_rows = np.zeros_like(rows, dtype=bool) + contact_rows[:, g.contact_nodes] = True + assert np.any(expected[contact_rows & ~d.fixed_carrier_mask] != 0.0) + assert not all(check.passed for check in solver.checks(data, solver.Steady2DOptions())) + expected_current = np.sum((-Q * contacts[0] + Q * contacts[1]) * g.x_widths_m, axis=1) + np.testing.assert_array_equal(problem.terminal_current_A_m(u), expected_current) + np.testing.assert_array_equal(problem.terminal_current_density_A_m2(u), expected_current / g.lateral_length_m) + assert not np.any(contacts[0, 0]) # A blocking channel is not inferred from its failed row. + + +@pytest.mark.parametrize("policy", [HISTORICAL_MAX_ROW_V1, POISSON_CONTACT_BALANCE_V1]) +@pytest.mark.parametrize("velocities", [example.VELOCITIES, (10.0, 20.0, 30.0, 40.0)]) +def test_only_real_fixed_rows_get_log_scaling_and_gate_exclusion(prepared, policy, velocities): + d = compiled(prepared, velocities) + options = solver.Steady2DOptions(SteadyOptions(convergence_policy=policy)) + settings, norm = solver._settings(d, options, lambda u: GateOutcome("unused", True, 0.0, 1.0)) + mask = d.fixed_carrier_mask + expected_weight = 2 * d.node_count * Q / (d.geometry.lateral_length_m * options.electronic.continuity_tolerance_A_m2) + weights = settings.scaling.row_weights[d.node_count:].reshape(mask.shape) + np.testing.assert_array_equal(weights[~mask], expected_weight) + np.testing.assert_array_equal(weights[mask], 1.0 / options.electronic.contact_log_tolerance) + assert settings.budget == SteadyOptions().budget() + u = example.algebra_coordinates(d) + data = solver.diagnostics(DC2DProblem(d, .002, 1.0), u, options) + if not np.any(mask): + assert data["contact_log_max"] == 0.0 + assert data["contact_log_max"] == np.max(abs(DC2DProblem(d, .002, 1.0).residual(u)[d.node_count:].reshape(mask.shape)[mask]), initial=0.0) + if norm is not None: + scaled = np.arange(3 * d.node_count, dtype=float) / 10 + fixed = np.r_[np.ones(d.node_count, dtype=bool), mask.ravel()] + assert norm(scaled) == max(np.max(abs(scaled[fixed])), np.sum(abs(scaled[~fixed])) / (2*d.node_count)) + + +def test_cold_boundary_imposition_preserves_finite_unknowns_without_running_newton(mixed, monkeypatch): + captured = [] + def no_solve(problem, initial, settings, **kwargs): + captured.append(initial.copy()) + raise RuntimeError("contact boundary probe; no Newton executed") + monkeypatch.setattr(solver, "solve_newton", no_solve) + result = solver.solve_steady_state_2d(mixed, voltage_V=.002, generation_scale=1.0) + assert len(captured) == 1 and not result.accepted and result.termination == "evaluation_error" + u, N = captured[0], mixed.node_count + np.testing.assert_array_equal(u[N:].reshape(2, N)[~mixed.fixed_carrier_mask], 0.0) + assert np.all(result.initial_diagnostics["original_rows"] == np.arange(3*N)) + assert "finite/blocking" in result.solver_controls["row_units"]["contact_carrier"] + assert result.solver_controls["numerical"] == asdict(solver.Steady2DOptions()) + references = mixed.reference_potentials(.002) + for offset, reference, mask in zip((N, 2*N), references, mixed.fixed_carrier_mask): + np.testing.assert_array_equal(u[offset:offset+N][mask], (reference[mask] - u[:N][mask]) / mixed.thermal_voltage_V) + + +@pytest.mark.parametrize("extra", [{"lateral_bc": "periodic"}, {"ion_dynamics": "single_mobile"}, + {"interface_srh": "two_sided_cross_node"}]) +def test_unbound_contact_combinations_remain_refused(prepared, extra): + spatial = spatial_input().editing_data() + spatial.update(extra) + with pytest.raises(CapabilityError): + compile_device_2d(example.contact_device(prepared=prepared), JV2DInput.model_validate(spatial)) + + +def test_fully_blocking_inventory_remains_explicitly_unbound(prepared): + with pytest.raises(CapabilityError, match="fully_blocking_contacts"): + compiled(prepared, (0.0, 0.0, 0.0, 0.0)) + + +def fixed_snapshot(d: CompiledDevice2D, voltage: float, generation: float, lateral: bool, policy: str) -> dict[str, Any]: + """Shared capture format for the exact committed baseline, with no solve.""" + _, u = coordinates(d, lateral=lateral) + problem = DC2DProblem(d, voltage, generation) + matrix = problem.jacobian(u) + options = solver.Steady2DOptions(SteadyOptions(convergence_policy=policy)) + settings, _ = solver._settings(d, options, lambda values: GateOutcome("unused", True, 0.0, 1.0)) + return {"identity": d.identity, "column_identity": d.column.identity, "geometry_identity": d.geometry.sha256, + "generation_identity": d.generation_y.binding_sha256, "u": u, "fields": np.stack(d.fields(u, voltage_V=voltage)), + "residual": problem.residual(u), "jacobian_data": matrix.data, "jacobian_indices": matrix.indices, + "jacobian_indptr": matrix.indptr, "flux_n": problem.fluxes(u).electron.flux, + "flux_p": problem.fluxes(u).hole.flux, "displacement": problem.displacement(u), + "terminal_particles": np.stack(problem.contact_particle_fluxes(u)), "terminal_A_m": problem.terminal_current_A_m(u), + "current_A_m2": problem.current_density(u), "sections_A_m": problem.cross_section_current_A_m(u), + "weights": settings.scaling.row_weights, "diagnostics": solver.diagnostics(problem, u, options)} + + +def test_exact_default_against_pinned_committed_source(monkeypatch): + name = os.environ.get("SOLARLAB_CONTACTS_BASELINE") + if name is None: + pytest.skip("explicit committed-source algebra artifact required; no native replay") + path = Path(name) + assert hashlib.sha256(path.read_bytes()).hexdigest() == os.environ["SOLARLAB_CONTACTS_BASELINE_SHA256"] + baseline = json.loads(path.read_bytes()) + assert baseline["commit"] == "b819a2696971e568d360a80beb78ede565f671d6" + prepared = load_device(Path(baseline["input_path"])) + d = compile_device_2d(prepared, spatial_input()) + def forbidden(*args, **kwargs): + raise AssertionError("default parity attempted a Newton solve") + monkeypatch.setattr(solver, "solve_newton", forbidden) + for record in baseline["cases"]: + values = fixed_snapshot(d, **record["arguments"]) + # Hex strings preserve signed zeros and every finite binary64 bit. + def exact(value): + if isinstance(value, np.ndarray): + return {"dtype": value.dtype.str, "shape": list(value.shape), "bytes_hex": value.tobytes().hex()} + if isinstance(value, np.floating): + return float(value).hex() + if isinstance(value, float): + return value.hex() + if isinstance(value, dict): + return {key: exact(item) for key, item in value.items()} + if isinstance(value, (list, tuple)): + return [exact(item) for item in value] + return value + assert exact(values) == record["exact"] + + +def test_example_and_saved_reader_do_not_solve(monkeypatch, tmp_path): + monkeypatch.setattr(solver, "solve_newton", lambda *args, **kwargs: pytest.fail("unexpected Newton")) + result = example.assemble() + assert result["summary"]["newton_calls"] == 0 and not result["summary"]["qualification"] + assert result["summary"]["directional_error"] < DIRECTIONAL_RTOL + assert result["witness_proposal"]["newton_calls"] == 1 and not result["witness_proposal"]["scheduled"] + path = tmp_path/"Contacts.json" + path.write_text(json.dumps(json_value(result), allow_nan=False)) + pin = hashlib.sha256(path.read_bytes()).hexdigest() + monkeypatch.setattr(example, "compile_device_2d", lambda *args, **kwargs: pytest.fail("reader compiled")) + assert example.read_result(path, pin)["summary"] == json_value(result["summary"]) + with pytest.raises(ValueError, match="SHA-256"): + example.read_result(path, "wrong") + + +def saved_contact_archive() -> Path: + value = os.environ.get("SOLARLAB_CONTACTS_ARCHIVE") + if value is None: + pytest.skip("explicit saved contact evidence required; no native replay") + return Path(value) + + +def test_saved_density_preparation_column_chain_and_unchanged_coordinates(): + path = saved_contact_archive()/"DensityPreparation.json" + assert hashlib.sha256(path.read_bytes()).hexdigest() == "2052fabd3c3b2d8059ce4d27731cb32a5e609cf271da3ebe4390e18cbb5d4a76" + data = json.loads(path.read_bytes()) + matrix = np.asarray(data["blocking_physical_jacobian"]) + increment = np.asarray(data["blocking_density_increment_m3"]) + before = np.asarray(data["blocking_residual_before"]) + bound = 16*np.finfo(float).eps * (abs(matrix) @ abs(increment) + abs(before)) + assert np.all(abs(matrix @ increment + before) <= bound) + assert np.all(np.asarray(data["blocking_proposed_density_m3"]) > 0.0) + active = np.asarray(data["blocking_rows"]) + kinetic = np.asarray(data["finite_matched_coordinates"]) + final = np.asarray(data["state"]["u"]) + other = np.setdiff1d(np.arange(195), active) + np.testing.assert_array_equal(final[other], kinetic[other]) + np.testing.assert_array_equal(final[active], kinetic[active] + np.log1p(increment / np.asarray(data["blocking_density_m3"]))) + assert data["contact_density_linear_solves"] == data["full_direction_linear_solves"] == 1 + assert data["nonlinear_solves"] == 0 and data["accepted_for_contact_model"] is False + assert data["full_step_can_progress"] and data["full_step_fraction"] > .1 + + +@pytest.mark.parametrize("name,pin,accepted", [ + ("Witness01", "55c7035923bf2d50c5e9071c839adbcdb45f03156973bb0e4be390fe12b611f9", False), + ("Witness02", "71f934d32b356b545d5f55f5671a7016848b06147efc9d92534f13008a468bf5", False), + ("Witness03", "ee2519253d4677798dc2974694a9cb3a9a64379502937d12576dd17fe0244d51", True), +]) +def test_saved_contact_success_and_failures_never_resolve(name, pin, accepted, monkeypatch, tmp_path): + path = saved_contact_archive()/name/"Result.json" + def forbidden(*args, **kwargs): + raise AssertionError("saved contact reader attempted calculation") + monkeypatch.setattr(example, "prepare_seed", forbidden) + monkeypatch.setattr(example, "compile_device_2d", forbidden) + monkeypatch.setattr(example, "solve_steady_state_2d", forbidden) + value = example.read_result(path, pin) + assert value["accepted"] is accepted and value["qualification"] is False + assert value["result"]["termination"] == ("converged" if accepted else "stagnated") + assert value["newton_calls"] == 1 and value["auxiliary_calls"] == 0 + if accepted: + assert all(c["passed"] and c["value"] <= c["limit"] for c in value["result"]["checks"]) + else: + bad = deepcopy(value) + bad["accepted"] = True + target = tmp_path/"Overclaimed.json" + target.write_text(json.dumps(bad)) + with pytest.raises(ValueError, match="overclaimed"): + example.read_result(target, hashlib.sha256(target.read_bytes()).hexdigest()) + + +@pytest.mark.parametrize("stage", ["finite", "blocking"]) +def test_nonpositive_preparation_is_rejected_without_fallback(stage, monkeypatch): + archive = saved_contact_archive() + path = archive.parent/"DCSteadyV1/Consumers/IlluminatedCompletion/Steady.json" + pin = "af7dcf6b7f6adad7254666971c87c33357f7b91600ac5a2ca27e62b638784c05" + old = example.read_fixed_result(path, pin) + if stage == "finite": + changed = deepcopy(old) + flux = np.asarray(changed["attempts"][0]["result_2d"]["diagnostics"]["terminal_particle_flux_density_m2_s"]).copy() + flux[0, 1] = -2 * 1e5 * 1e24 + changed["attempts"][0]["result_2d"]["diagnostics"]["terminal_particle_flux_density_m2_s"] = flux + monkeypatch.setattr(example, "read_fixed_result", lambda *args: changed) + monkeypatch.setattr(np.linalg, "solve", lambda *args: pytest.fail("nonpositive finite seed reached block solve")) + else: + density = np.asarray(json.loads((archive/"DensityPreparation.json").read_bytes())["blocking_density_m3"]) + monkeypatch.setattr(np.linalg, "solve", lambda *args: -2*density) + monkeypatch.setattr(example, "_Factor", lambda *args: pytest.fail("nonpositive seed reached full direction")) + monkeypatch.setattr(example, "solve_steady_state_2d", lambda *args, **kwargs: pytest.fail("negative seed reached Newton")) + with pytest.raises(ValueError, match="positive|positive/finite|finite/positive"): + example.prepare_seed(path, pin) + + +def test_runnable_solve_uses_one_explicit_prepared_state_and_refuses_overwrite(mixed, monkeypatch, tmp_path): + data = json.loads((saved_contact_archive()/"DensityPreparation.json").read_bytes()) + state = mixed.state(np.asarray(data["state"]["u"]), voltage_V=.002) + monkeypatch.setattr(example, "prepare_seed", lambda *args: (mixed, state, data)) + calls = [] + def stop(device, **kwargs): + calls.append(kwargs) + assert device is mixed and kwargs["initial_state"] is state + assert kwargs["options"] == solver.Steady2DOptions(wall_s=25.0) + assert kwargs["initial_provenance"]["accepted_for_contact_model"] is False + raise RuntimeError("one-call wiring fixture; no Newton executed") + monkeypatch.setattr(example, "solve_steady_state_2d", stop) + output = tmp_path/"Result.json" + with pytest.raises(RuntimeError, match="wiring fixture"): + example.solve_from_seed(output, tmp_path/"Seed.json", "fixture") + assert len(calls) == 1 + output.write_text("preserved") + with pytest.raises(FileExistsError): + example.solve_from_seed(output, tmp_path/"Seed.json", "fixture") + assert len(calls) == 1 and output.read_text() == "preserved" diff --git a/tests/integration/test_core_1d.py b/tests/integration/test_core_1d.py new file mode 100644 index 00000000..ce0702ab --- /dev/null +++ b/tests/integration/test_core_1d.py @@ -0,0 +1,481 @@ +"""Real production 1D DC, independent tangents, and capability boundaries.""" + +from __future__ import annotations + +from dataclasses import replace +import json +import os +from pathlib import Path +import subprocess +import sys + +import numpy as np +import pytest +from threadpoolctl import threadpool_limits + +from examples.research_1d.steady import SaturatingRecombination, load_device +from solarlab.config.resolve_device import resolve_device +from solarlab.device.compile_1d import compile_device_1d +from solarlab.device.inputs import DeviceInput +from solarlab.equations.dc_1d import CapabilityError, DC1DProblem +from solarlab.materials.resources import ResourceLibrary, ResourceTable +from solarlab.materials.source import SourceDocument +from solarlab.mesh import INTEGER_ENDPOINT_V1, RIGHT_LAYER_WINS +from solarlab.solvers.nonlinear.newton import Termination +from solarlab.solvers.nonlinear.production import ( + production_coordinates, + production_residual_scaling, + production_steady_linearization, + production_steady_problem, +) +from solarlab.solvers.nonlinear import steady_1d as steady_solver +from solarlab.solvers.nonlinear.steady_1d import ( + SteadyOptions, SteadyStateError, solve_equilibrium, solve_steady_state, +) + +ROOT = Path(__file__).resolve().parents[2] + + +@pytest.fixture(scope="module", autouse=True) +def blas1(): + with threadpool_limits(limits=1): + yield + + +@pytest.fixture(scope="module") +def prepared(): + return load_device() + + +@pytest.fixture(scope="module") +def device(prepared): + return compile_device_1d(prepared) + + +@pytest.fixture(scope="module") +def dark(device): + return solve_equilibrium(device) + + +@pytest.fixture(scope="module") +def light(device): + return solve_steady_state(device) + + +def edited(prepared, document): + return resolve_device( + DeviceInput.model_validate(document), prepared.defaults, + prepared.resources, sources=prepared.sources, + ) + + +def test_compiles_real_prepared_configuration_and_named_geometry(prepared, device): + assert device.node_count == 73 + assert device.geometry.name == INTEGER_ENDPOINT_V1 + assert device.geometry.material_owner_convention == RIGHT_LAYER_WINS + assert len(device.identity) == 64 + assert device.identity != prepared.content_sha256 + assert device.nodes_m[0] == 0.0 + assert device.nodes_m[-1] == pytest.approx(sum(layer.thickness for layer in prepared.layers)) + widths = device.geometry.cell_measures_m + spacing = np.diff(device.nodes_m) + assert widths[0] == spacing[0] + assert widths[-1] == spacing[-1] + assert np.sum(widths) > device.geometry.extent_m + for plane in device.geometry.interfaces: + assert plane.shared_node is not None + first_interface = device.geometry.interfaces[0].shared_node + assert device.parameters.band_structure.physical_band_gap_eV[first_interface] == 1.6 + assert device.parameters.conduction_dos_m3[first_interface] == 1.0e25 + assert device.recombination.coefficients.tau_n_s.shape == (device.node_count,) + np.testing.assert_allclose( + device.generation.source_m3_s * widths, device.generation.absorbed_m2_s, + rtol=3e-16, atol=0.0, + ) + assert device.generation.areal_generation_m2_s <= prepared.values["settings"]["Phi"] + + +def test_real_dark_equilibrium_has_common_fermi_and_zero_every_face(device, dark): + problem = DC1DProblem(device) + assert dark.converged + assert dark.density_basin_initializations == 0 + assert dark.density_basin_stages == () + assert dark.newton.termination == Termination.CONVERGED + assert all(result.accepted for result in dark.preparation) + assert all(gate.passed for gate in dark.physical_gates) + np.testing.assert_array_equal(problem.fluxes(dark.state.u).electron.flux, 0.0) + np.testing.assert_array_equal(problem.fluxes(dark.state.u).hole.flux, 0.0) + np.testing.assert_array_equal(dark.contact_current_density_A_m2, 0.0) + np.testing.assert_allclose( + dark.state.electron_density_m3 * dark.state.hole_density_m3, + device.recombination.coefficients.ni_sq_m6, rtol=4e-14, atol=0.0, + ) + assert dark.state.voltage_V == 0.0 + assert dark.state.electron_density_m3[-1] == device.channel("n", "right").reservoir_density_m3 + assert dark.state.hole_density_m3[0] == device.channel("p", "left").reservoir_density_m3 + + +def test_real_illumination_obeys_current_continuity_and_photon_budget(device, light): + output = -device.voltage_polarity * light.current_density_A_m2 + assert light.converged + assert light.generation_scale == 1.0 + assert light.density_basin_initializations == 5 + assert light.density_basin_stages == tuple( + (0.0, value) for value in (1e-8, 1e-6, 1e-4, 1e-2, 1.0) + ) + assert all(point.accepted for point in light.preparation) + assert np.min(output) > 0.0 + assert np.max(output) <= device.generation_limit_A_m2 * (1.0 + 1e-10) + assert np.ptp(light.current_density_A_m2) < 1e-8 + np.testing.assert_allclose( + light.contact_current_density_A_m2, + light.current_density_A_m2[[0, -1]], rtol=0.0, atol=1e-8, + ) + limits = {gate.name: gate for gate in light.physical_gates} + assert limits["poisson_balance"].value < 1e-11 + assert limits["continuity_current_bound"].value < 1e-8 + assert limits["all_face_current_spread"].value < 1e-8 + + +def test_refined_fixed_reservoir_device_starts_from_dark_with_unchanged_gates(prepared): + compiled = compile_device_1d(prepared, intervals_per_layer=96) + assert compiled.node_count == 289 + assert all(channel.kind == "fixed_reservoir" for channel in compiled.channels) + result = solve_steady_state(compiled) + assert result.converged + assert result.density_basin_initializations == 5 + assert all(gate.passed for gate in result.physical_gates) + currents = np.r_[result.current_density_A_m2, result.contact_current_density_A_m2] + assert np.ptp(currents) < 1e-8 + output = -compiled.voltage_polarity * currents + assert 0.0 < np.min(output) <= np.max(output) <= compiled.generation_limit_A_m2 + + +@pytest.mark.parametrize("state_kind", ["dark", "light", "storage"]) +def test_independent_directional_fy_in_physical_states(device, dark, light, state_kind): + rng = np.random.default_rng(20261028) + count = device.node_count + if state_kind == "light": + u = light.state.u.copy() + problem = DC1DProblem(device, generation_scale=1.0) + udot = None + elif state_kind == "dark": + u = dark.state.u.copy() + u[:count] += 2e-4 * rng.normal(size=count) + u[count:] += 0.03 * rng.normal(size=2 * count) + # A large constant G on depleted dark rows can bury a finite difference. + problem = DC1DProblem(device, generation_scale=0.0) + udot = None + else: + u = dark.state.u.copy() + problem = DC1DProblem(device) + udot = 1e4 * rng.normal(size=3 * count) + matrix = problem.jacobian(u, udot) + absolute = abs(matrix) + for _ in range(4): + direction = np.r_[0.02 * rng.normal(size=count), rng.normal(size=2 * count)] + step = 1e-5 + numerical = ( + problem.residual(u + step * direction, udot) + - problem.residual(u - step * direction, udot) + ) / (2 * step) + analytical = matrix @ direction + scale = np.maximum(absolute @ np.abs(direction), 1e-20) + assert np.max(np.abs(numerical - analytical) / scale) < 2e-8 + assert matrix.nnz < 30 * count + + +def test_independent_storage_and_combined_implicit_tangent(device, dark): + count = device.node_count + rng = np.random.default_rng(31) + u = dark.state.u + problem = DC1DProblem(device) + direction = np.r_[0.02 * rng.normal(size=count), rng.normal(size=2 * count)] + storage = problem.storage_jacobian(u) + numerical = (problem.residual(u, direction) - problem.residual(u, -direction)) / 2 + scale = np.maximum(abs(storage) @ abs(direction), 1e-20) + assert np.max(abs(numerical - storage @ direction) / scale) < 2e-12 + udot = 1e4 * rng.normal(size=3 * count) + alpha, step = 1e4, 1e-5 + combined = problem.jacobian(u, udot, alpha=alpha) + numerical = ( + problem.residual(u + step * direction, udot + alpha * step * direction) + - problem.residual(u - step * direction, udot - alpha * step * direction) + ) / (2 * step) + scale = np.maximum(abs(combined) @ abs(direction), 1e-20) + assert np.max(abs(numerical - combined @ direction) / scale) < 2e-8 + assert storage[:count].nnz == 0 + for offset in (count, 2 * count): + assert storage[offset].nnz == 0 + assert storage[offset + count - 1].nnz == 0 + + +def test_real_biased_warm_start_preserves_physical_state_and_contact_precision(device, light): + rebased = device.rebase_coordinates(light.state.u, 0.0, 0.05) + _, n, p = device.fields(rebased, voltage_V=0.05) + np.testing.assert_allclose(n, light.state.electron_density_m3, rtol=3e-14, atol=0.0) + np.testing.assert_allclose(p, light.state.hole_density_m3, rtol=3e-14, atol=0.0) + biased = solve_steady_state(device, initial_state=light.state, voltage_V=0.05) + assert biased.converged + assert biased.state.voltage_V == 0.05 + assert biased.voltage_V == 0.05 + assert biased.density_basin_initializations == 0 + assert biased.density_basin_stages == () + assert np.ptp(biased.current_density_A_m2) < 1e-8 + assert biased.state.electron_density_m3[-1] == device.channel("n", "right").reservoir_density_m3 + + +def test_reversed_junction_and_potential_gauge(prepared): + for reverse, gauge in ((True, 0.0), (False, 0.4)): + document = prepared.to_input().editing_data() + if reverse: + document["layers"] = list(reversed(document["layers"])) + document["settings"]["phi_left"] = gauge + compiled = compile_device_1d(edited(prepared, document)) + assert compiled.voltage_polarity == (-1.0 if reverse else 1.0) + result = solve_steady_state(compiled) + assert result.density_basin_initializations == 5 + assert all(point.accepted for point in result.preparation) + assert np.min(-compiled.voltage_polarity * result.current_density_A_m2) > 0.0 + assert np.ptp(result.current_density_A_m2) < 1e-8 + assert result.state.potential_V[0] == pytest.approx(gauge, abs=1e-13) + biased = solve_steady_state(compiled, initial_state=result.state, voltage_V=0.05) + assert biased.converged + assert np.ptp(biased.current_density_A_m2) < 1e-8 + + +@pytest.mark.parametrize("contact_kind", ["selective", "robin"]) +def test_production_finite_and_blocking_contact_channels(prepared, contact_kind): + document = prepared.to_input().editing_data() + if contact_kind == "selective": + document["contacts"] = [ + dict(id="left", side="left", layer="htl", S_n=0.0, S_p=200.0), + dict(id="right", side="right", layer="etl", S_n=200.0, S_p=0.0), + ] + else: + document["settings"]["flat_band_contacts"] = True + compiled = compile_device_1d(edited(prepared, document)) + equilibrium = solve_equilibrium(compiled) + result = solve_steady_state(compiled) + assert equilibrium.converged and result.converged + assert result.density_basin_initializations == 5 + assert result.density_basin_stages == tuple( + (0.0, value) for value in (1e-8, 1e-6, 1e-4, 1e-2, 1.0) + ) + assert np.ptp(np.r_[result.current_density_A_m2, result.contact_current_density_A_m2]) < 1e-8 + assert all(gate.passed for gate in result.physical_gates) + rng = np.random.default_rng(44) + direction = np.r_[0.02 * rng.normal(size=compiled.node_count), rng.normal(size=2 * compiled.node_count)] + problem = DC1DProblem(compiled, generation_scale=1.0) + matrix = problem.jacobian(result.state.u) + step = 1e-5 + numerical = ( + problem.residual(result.state.u + step * direction) + - problem.residual(result.state.u - step * direction) + ) / (2 * step) + scale = np.maximum(abs(matrix) @ abs(direction), 1e-20) + assert np.max(abs(numerical - matrix @ direction) / scale) < 2e-8 + if contact_kind == "selective": + assert compiled.channel("n", "left").kind == "blocking" + assert compiled.channel("p", "right").kind == "blocking" + + +def test_failed_light_stage_preserves_failure_and_never_advances(prepared, light, monkeypatch): + document = prepared.to_input().editing_data() + document["settings"]["flat_band_contacts"] = True + compiled = compile_device_1d(edited(prepared, document)) + failed = replace( + light.newton, state=np.full(light.state.u.shape, np.nan), accepted=False, + termination=Termination.LINE_SEARCH_FAILED, message="injected failed light stage", + ) + original_point = steady_solver._solve_point + original_seed = steady_solver.density_basin_seed + seed_inputs = [] + accepted = [] + + def record_seed(problem, u): + seed_inputs.append((problem.generation_scale, np.array(u, copy=True))) + return original_seed(problem, u) + + def stop_second_light(device, u, voltage_V, generation_scale, options, **kwargs): + if generation_scale == 1e-6: + raise SteadyStateError("injected second light stage", failed) + problem, result = original_point(device, u, voltage_V, generation_scale, options, **kwargs) + accepted.append(result) + return problem, result + + monkeypatch.setattr(steady_solver, 'density_basin_seed', record_seed) + monkeypatch.setattr(steady_solver, "_solve_point", stop_second_light) + with pytest.raises(SteadyStateError) as failure: + solve_steady_state(compiled) + assert failure.value.result is failed + assert not failed.accepted + assert [generation for generation, _ in seed_inputs] == [1e-8, 1e-6] + assert all(point.accepted for point in accepted) + np.testing.assert_array_equal(seed_inputs[-1][1], accepted[-1].state) + assert all(np.all(np.isfinite(u)) for _, u in seed_inputs) + + +def test_local_model_injection_has_independent_partials_and_real_solution(prepared, device, light): + coefficient = np.zeros(device.node_count) + coefficient[device.parameters.layer_masks[1]] = 5e-15 + model = SaturatingRecombination(coefficient, device.parameters.intrinsic_product_m6, 1e21) + n, p = light.state.electron_density_m3, light.state.hole_density_m3 + rate = model.evaluate(n, p) + for name, tangent in (("n", rate.d_rate_dn * n), ("p", rate.d_rate_dp * p)): + h = 1e-30 + numerical = model.evaluate(n + 1j * h * n if name == "n" else n, p + 1j * h * p if name == "p" else p).rate.imag / h + np.testing.assert_allclose(numerical, tangent, rtol=2e-13, atol=1e-30) + compiled = compile_device_1d(prepared, additional_recombination=model) + assert compiled.identity != device.identity + result = solve_steady_state(compiled) + assert result.converged + assert np.ptp(result.current_density_A_m2) < 1e-8 + assert abs(result.current_density_A_m2[0] - light.current_density_A_m2[0]) > 1e-7 + with pytest.raises(ValueError, match="same compiled device"): + solve_steady_state(compiled, initial_state=light.state) + + +@pytest.mark.parametrize("feature", [ + "ions", "fermi_dirac", "dopant_ionization", "band_gap_narrowing", + "field_mobility", "interface_recombination", "optics", "manual_contacts", + "ion_steric", "qualified_solver_policy", +]) +def test_unsupported_enabled_physics_fails_before_execution(prepared, feature): + document = prepared.to_input().editing_data() + parameters = document["layers"][1]["parameters"] + if feature == "ions": + parameters["D_ion"] = 1e-15 + elif feature == "fermi_dirac": + parameters["carrier_statistics"] = "fermi_dirac" + elif feature == "dopant_ionization": + parameters["dopant_ionization_model"] = "discrete_level" + elif feature == "band_gap_narrowing": + parameters["band_gap_narrowing_model"] = "slotboom" + elif feature == "field_mobility": + parameters["pf_gamma_n"] = 1e-4 + elif feature == "interface_recombination": + document["interfaces"] = [dict(id="interface", left="htl", right="absorber", v_n=1.0, v_p=1.0)] + elif feature == "optics": + parameters["n_optical"] = 2.0 + elif feature == "ion_steric": + document["settings"]["ion_steric_shared_site"] = True + elif feature == "qualified_solver_policy": + document["settings"]["jv_solver_policy"] = "cancellation_safe_qf_required" + else: + document["settings"]["built_in_potential_mode"] = "legacy_manual" + with pytest.raises(CapabilityError, match="unsupported_classical_1d_dc"): + compile_device_1d(edited(prepared, document)) + + +def test_inconsistent_dos_intrinsic_product_is_not_silently_replaced(prepared): + document = prepared.to_input().editing_data() + document["layers"][1]["parameters"]["ni"] *= 2.0 + with pytest.raises(CapabilityError, match="inconsistent_intrinsic_product"): + compile_device_1d(edited(prepared, document)) + + +def test_fully_blocking_device_requires_an_inventory_constraint(prepared): + document = prepared.to_input().editing_data() + document["contacts"] = [ + dict(id="left", side="left", layer="htl", S_n=0.0, S_p=0.0), + dict(id="right", side="right", layer="etl", S_n=0.0, S_p=0.0), + ] + with pytest.raises(CapabilityError, match="fully_blocking_contacts"): + compile_device_1d(edited(prepared, document)) + + +def test_fixed_generation_resource_is_consumed_without_interpolation(prepared, device, light): + document = prepared.to_input().editing_data() + document["fixed_generation"] = "fixed" + content = json.dumps({ + "coordinate_m": device.nodes_m.tolist(), + "generation_m3_s": device.generation.source_m3_s.tolist(), + }).encode() + table = ResourceTable("fixed", "fixed_generation", SourceDocument("fixed_generation.json", content)) + configured = resolve_device( + DeviceInput.model_validate(document), prepared.defaults, + ResourceLibrary((table,)), sources=prepared.sources, + ) + compiled = compile_device_1d(configured) + assert compiled.generation.method == "fixed" + np.testing.assert_array_equal(compiled.generation.source_m3_s, device.generation.source_m3_s) + result = solve_steady_state(compiled) + np.testing.assert_allclose(result.current_density_A_m2, light.current_density_A_m2, rtol=0.0, atol=1e-8) + with pytest.raises(CapabilityError, match="resource coordinates must exactly match"): + compile_device_1d(configured, intervals_per_layer=12) + + +@pytest.mark.parametrize("binding_kind", ["temperature", "grading", "doping_profile"]) +def test_static_parameter_binding_has_real_dc_solution(prepared, binding_kind): + document = prepared.to_input().editing_data() + if binding_kind == "temperature": + document["settings"]["T"] = 330.0 + elif binding_kind == "grading": + document["settings"]["band_grading"] = True + document["layers"][1]["parameters"].update(Eg_back=1.7, chi_back=3.95) + else: + document["layers"][1]["parameters"].update( + N_D_bulk=1e22, doping_profile_shape="gaussian", doping_decay_length=8e-8, + ) + compiled = compile_device_1d(edited(prepared, document)) + result = solve_steady_state(compiled) + assert result.converged and all(gate.passed for gate in result.physical_gates) + assert np.ptp(result.current_density_A_m2) < 1e-8 + if binding_kind == "temperature": + assert compiled.parameters.temperature_K == 330.0 + elif binding_kind == "grading": + assert compiled.parameters.layer_states[1].graded + else: + assert np.ptp(compiled.parameters.donor_density_m3[compiled.parameters.layer_masks[1]]) > 0.0 + + +def test_concrete_production_adapters_and_honest_budget_failure(device): + problem = production_steady_problem(device) + u = np.r_[device.reference_potential_V, np.zeros(2 * device.node_count)] + assert isinstance(problem, DC1DProblem) + assert production_steady_linearization(problem, u).shape == (u.size, u.size) + assert production_residual_scaling(device).row_weights.shape == u.shape + assert production_coordinates(device).max_step.shape == u.shape + with pytest.raises(SteadyStateError) as failure: + solve_steady_state(device, options=SteadyOptions(max_iterations=1)) + assert not failure.value.result.accepted + assert failure.value.result.termination == Termination.BUDGET_EXHAUSTED + + +def test_fresh_process_real_solve_blocks_test_and_legacy_imports(): + script = """ +import importlib.abc, json, pathlib, sys +class BlockImports(importlib.abc.MetaPathFinder): + def find_spec(self, fullname, path=None, target=None): + if fullname.split('.')[0] in {'perovskite_sim','backend','tests','p0403_dc_scaffold','dc_device_support'}: + raise RuntimeError('forbidden production import: ' + fullname) +sys.meta_path.insert(0, BlockImports()) +from solarlab.config.resolve_device import resolve_device +from solarlab.device.defaults import DefaultCatalog +from solarlab.device.inputs import DeviceInput +from solarlab.device.compile_1d import compile_device_1d +from solarlab.materials.resources import ResourceLibrary +from solarlab.materials.source import SourceDocument +from solarlab.solvers.nonlinear.steady_1d import solve_equilibrium, solve_steady_state +source=SourceDocument(sys.argv[1], pathlib.Path(sys.argv[1]).read_bytes()) +data=json.loads(source.content) +catalog=DefaultCatalog.from_mapping({**data['default_catalog'],'evidence':[[source.id,source.sha256]]}) +prepared=resolve_device(DeviceInput.model_validate(data['device']),catalog,ResourceLibrary(),sources=(source,)) +device=compile_device_1d(prepared) +dark=solve_equilibrium(device) +light=solve_steady_state(device) +print(json.dumps({'dark':dark.converged,'light':light.converged,'current':float(light.current_density_A_m2[0])})) +""" + environment = { + **os.environ, "OPENBLAS_NUM_THREADS": "1", "OMP_NUM_THREADS": "1", + "MKL_NUM_THREADS": "1", "VECLIB_MAXIMUM_THREADS": "1", + } + result = subprocess.run( + [sys.executable, "-I", "-c", script, str(ROOT / "examples/research_1d/device.json")], + env=environment, capture_output=True, text=True, timeout=60, check=False, + ) + assert result.returncode == 0, result.stderr + summary = json.loads(result.stdout) + assert summary["dark"] and summary["light"] + assert summary["current"] < 0.0 diff --git a/tests/integration/test_ct_jv_admission_2d.py b/tests/integration/test_ct_jv_admission_2d.py new file mode 100644 index 00000000..ada769ee --- /dev/null +++ b/tests/integration/test_ct_jv_admission_2d.py @@ -0,0 +1,64 @@ +"""The accepted CT steady binding is not an admitted CT J-V source binding.""" + +from __future__ import annotations + +import hashlib +from pathlib import Path +from typing import NoReturn + +import pytest + +from examples.research_1d.steady import load_device +from examples.research_2d.dc_assembly import coordinates, spatial_input +from examples.research_2d.field_transport import prepare_case +from examples.research_2d.grains import spatial_input as grain_spatial_input +from solarlab.device.compile_2d import compile_device_2d +from solarlab.equations.dc_2d import CompiledDevice2D +from solarlab.experiments.jv import steady_2d as driver +from solarlab.solvers.nonlinear import steady_2d as solver + + +@pytest.fixture(params=(False, True), ids=("uniform", "neutral_grain")) +def ct_device(request: pytest.FixtureRequest) -> CompiledDevice2D: + spatial = grain_spatial_input() if request.param else spatial_input() + device = compile_device_2d(prepare_case(), spatial) + assert device.field_transport is not None + solver.scope(device) # The reviewed single-point steady scope admits CT. + return device + + +@pytest.mark.parametrize("entry", ("run", "continue", "initial")) +def test_active_field_transport_is_refused_before_jv_work( + ct_device: CompiledDevice2D, entry: str, monkeypatch: pytest.MonkeyPatch, tmp_path: Path, +) -> None: + def forbidden(*args: object, **kwargs: object) -> NoReturn: + raise AssertionError("CT J-V reached source capture, diagnostics or a solver") + + for name in ("solve_steady_state_2d", "job_provenance", "admitted_source_pins", "steady_diagnostics"): + monkeypatch.setattr(driver, name, forbidden) + monkeypatch.setattr(solver, "solve_newton", forbidden) + _, u = coordinates(ct_device, lateral=False) + text = "scope-only unaccepted numerical fixture" + digest = hashlib.sha256(text.encode()).hexdigest() + initial = driver.SteadyJV2DInitial(ct_device.state(u, voltage_V=.002), 1.0, "scope-only", digest, text) + journal = tmp_path / "not_started" + with pytest.raises(ValueError, match=r"^unsupported_field_transport_2d_jv:"): + if entry == "run": + driver.run_steady_jv_2d(ct_device, initial, [.002], checkpoint_directory=journal) + elif entry == "continue": + driver.continue_steady_jv_2d(ct_device, tmp_path / "unread_prefix.json", digest, + checkpoint_directory=journal) + else: + driver._admit(ct_device, text, digest, driver.SteadyJV2DOptions().steady) + assert not journal.exists() + + +@pytest.mark.parametrize("grain", (False, True), ids=("uniform", "neutral_grain")) +def test_disabled_field_transport_keeps_existing_jv_scope(grain: bool, monkeypatch: pytest.MonkeyPatch) -> None: + def forbidden(*args: object, **kwargs: object) -> NoReturn: + raise AssertionError("scope check attempted a solve") + + monkeypatch.setattr(driver, "solve_steady_state_2d", forbidden) + device = compile_device_2d(load_device(), grain_spatial_input() if grain else spatial_input()) + assert device.field_transport is None and device.column.field_transport is None + driver._scope(device) diff --git a/tests/integration/test_dc_2d.py b/tests/integration/test_dc_2d.py new file mode 100644 index 00000000..86255711 --- /dev/null +++ b/tests/integration/test_dc_2d.py @@ -0,0 +1,267 @@ +"""Real connected 2D algebra, independent geometric/flux oracles; no Newton.""" + +from __future__ import annotations + +from dataclasses import replace +from fractions import Fraction +import json +import sys +from typing import Any + +import numpy as np +import pytest +from scipy.sparse import csc_matrix, coo_matrix + +from examples.research_1d.steady import load_device +from examples.research_2d import dc_assembly as example +from solarlab.config.resolve_device import resolve_device +from solarlab.contracts import AREA, LENGTH +from solarlab.contracts.units import ELEMENTARY_CHARGE_C as Q +from solarlab.device.compile_2d import compile_device_2d +from solarlab.device.inputs import DeviceInput +from solarlab.device.resolved import PreparedDevice +from solarlab.discretization.face_average import VACUUM_PERMITTIVITY_F_M as EPS +from solarlab.equations.dc_1d import CapabilityError, DC1DProblem +from solarlab.equations.dc_2d import CompiledDevice2D, DC2DProblem +from solarlab.experiments.two_dimensional.inputs import JV2DInput +from solarlab.mesh.geometry_2d import RectangularGeometry2D + + +@pytest.fixture(scope="module") +def prepared() -> PreparedDevice: + return load_device() + + +@pytest.fixture(scope="module") +def device(prepared: PreparedDevice) -> CompiledDevice2D: + return compile_device_2d(prepared, example.spatial_input()) + + +def reprepare(prepared: PreparedDevice, edit: Any) -> PreparedDevice: + data = prepared.to_input().editing_data() + edit(data) + return resolve_device(DeviceInput.model_validate(data), prepared.defaults, prepared.resources, sources=prepared.sources) + + +def test_physical_areas_faces_and_nonuniform_lateral_geometry(device: CompiledDevice2D) -> None: + g = RectangularGeometry2D(np.array([0, .13, .4, 1.0]) * 1e-6, device.geometry.y_geometry) + c = g.contract_geometry + assert c.volume_unit == AREA and c.face_unit == LENGTH + assert g.shape == (13, 4) + y = g.y_geometry.nodes_m + # Exact rational midpoints avoid subtractive loss at the far, small half + # cell. This is an independent geometry oracle, not a new endpoint rule. + def exact_widths(nodes: np.ndarray) -> list[Fraction]: + values = [Fraction.from_float(float(value)) for value in nodes] + faces = [values[0], *((left + right) / 2 for left, right in zip(values, values[1:])), values[-1]] + return [right - left for left, right in zip(faces, faces[1:])] + expected_areas = np.array([[float(wy * wx) for wx in exact_widths(g.x_m)] for wy in exact_widths(y)]) + np.testing.assert_allclose(c.volumes.reshape(g.shape), expected_areas, rtol=8*np.finfo(float).eps, atol=0) + np.testing.assert_allclose(c.volumes.sum(), (y[-1] - y[0]) * (g.x_m[-1] - g.x_m[0]), rtol=1e-15) + left, right = c.pairs.T + assert np.all(right[:g.x_face_count] - left[:g.x_face_count] == 1) + assert np.all(left[:g.x_face_count] // g.nx == right[:g.x_face_count] // g.nx) + assert np.all(right[g.x_face_count:] - left[g.x_face_count:] == g.nx) + assert not c.volumes.flags.writeable and not c.pairs.flags.writeable + + +def test_uniform_fields_reduce_to_1d_residual_jacobian_and_current(device: CompiledDevice2D) -> None: + d, g = device, device.geometry + u1, u2 = example.coordinates(d, lateral=False) + p1 = DC1DProblem(d.column, example.VOLTAGE_V, 1.0) + p2 = DC2DProblem(d, example.VOLTAGE_V, 1.0) + weights = np.tile(g.x_widths_m, g.ny) + weights[g.contact_nodes] = 1.0 # Dirichlet/log-density constraints are not weighted. + weights = np.tile(weights, 3) + f1, f2 = p1.residual(u1), p2.residual(u2) / weights + for actual, expected in zip(f2.reshape(3, -1), d.extrude_coordinates(f1).reshape(3, -1)): + assert np.max(abs(actual - expected)) < 1e-13 * np.max(abs(expected)) + rows = np.arange(3 * d.node_count) + cols = np.repeat(np.arange(3 * g.ny), g.nx) + lift = coo_matrix((np.ones(rows.size), (rows, cols)), shape=(rows.size, 3 * g.ny)).tocsc() + actual_j = (p2.jacobian(u2) @ lift).toarray() / weights[:, None] + expected_j = (lift @ p1.jacobian(u1)).toarray() + row_scale = np.maximum(np.max(abs(expected_j), axis=1), 1e-30) + assert np.max(np.max(abs(actual_j - expected_j), axis=1) / row_scale) < 1e-13 + np.testing.assert_allclose(p2.terminal_current_density_A_m2(u2), p1.contact_current_density(u1), rtol=2e-14) + fluxes = p2.fluxes(u2) + assert not np.any(fluxes.electron.flux[:g.x_face_count]) + assert not np.any(fluxes.hole.flux[:g.x_face_count]) + assert not np.any(p2.displacement(u2)[:g.x_face_count]) + + +def test_lateral_perturbation_has_real_neighbor_coupling(device: CompiledDevice2D, monkeypatch: pytest.MonkeyPatch) -> None: + def forbidden(*args: Any, **kwargs: Any) -> Any: + raise AssertionError("2D assembly delegated to independent 1D columns") + monkeypatch.setattr(DC1DProblem, "residual", forbidden) + monkeypatch.setattr(DC1DProblem, "jacobian", forbidden) + _, u = example.coordinates(device, lateral=True) + problem = DC2DProblem(device, example.VOLTAGE_V, 1.0) + assert np.all(np.isfinite(problem.residual(u))) + fluxes = problem.fluxes(u) + g, count = device.geometry, device.node_count + assert np.max(abs(fluxes.electron.flux[:g.x_face_count])) > 1e20 + assert np.max(abs(fluxes.hole.flux[:g.x_face_count])) > 1e20 + assert np.max(abs(problem.displacement(u)[:g.x_face_count])) > 1e-8 + matrix = problem.jacobian(u) + center = 6 * g.nx + 2 + for neighbor in (center - 1, center + 1, center - g.nx, center + g.nx): + assert matrix[center, neighbor] > 0.0 + assert matrix[count + center, count + neighbor] != 0.0 + assert matrix[2 * count + center, 2 * count + neighbor] != 0.0 + + +@pytest.mark.parametrize("potential_only", [False, True]) +def test_full_directional_jacobian_uses_existing_1d_criterion(device: CompiledDevice2D, potential_only: bool) -> None: + _, u = example.coordinates(device, lateral=True) + problem = DC2DProblem(device, example.VOLTAGE_V, 0.0) + matrix = problem.jacobian(u) + np.testing.assert_array_equal(matrix.toarray(), DC2DProblem(device, example.VOLTAGE_V, 1.0).jacobian(u).toarray()) + count = device.node_count + rng = np.random.default_rng(772) + direction = np.r_[.02 * rng.normal(size=count), rng.normal(size=2 * count)] + if potential_only: + direction[count:] = 0.0 + h = example.DIRECTIONAL_STEP + numerical = (problem.residual(u - 2*h*direction) - 8*problem.residual(u - h*direction) + + 8*problem.residual(u + h*direction) - problem.residual(u + 2*h*direction)) / (12*h) + scale = np.maximum(abs(matrix) @ abs(direction), 1e-20) + assert np.max(abs(numerical - matrix @ direction) / scale) < 2e-8 + + +def test_gauss_matches_independent_two_axis_stencil(device: CompiledDevice2D) -> None: + d, g = device, device.geometry + _, u = example.coordinates(d, lateral=True) + problem = DC2DProblem(d, example.VOLTAGE_V, 1.0) + phi, n, p = d.fields(u, voltage_V=example.VOLTAGE_V) + rho = d.charge_ledger(n, p).space_charge_C_m3().reshape(g.shape) + phi = phi.reshape(g.shape) + y = d.column.nodes_m + wx, wy = g.x_widths_m, g.y_geometry.cell_measures_m + eps = d.relative_permittivity_y + expected = np.zeros(g.shape) + for j in range(1, g.ny - 1): + for i in range(g.nx): + value = rho[j, i] * wx[i] * wy[j] + for neighbor in (i - 1, i + 1): + if 0 <= neighbor < g.nx: + value += EPS * eps[j] * wy[j] * (phi[j, neighbor] - phi[j, i]) / abs(g.x_m[neighbor] - g.x_m[i]) + for neighbor in (j - 1, j + 1): + harmonic = 2 * eps[j] * eps[neighbor] / (eps[j] + eps[neighbor]) + value += EPS * harmonic * wx[i] * (phi[neighbor, i] - phi[j, i]) / abs(y[neighbor] - y[j]) + expected[j, i] = value + actual = problem.residual(u)[:d.node_count].reshape(g.shape) + np.testing.assert_allclose(actual[1:-1], expected[1:-1], rtol=1e-12, atol=1e-24) + + +def test_generation_control_volume_budget_and_carrier_source(device: CompiledDevice2D) -> None: + d, g = device, device.geometry + absorbed = d.column.generation.areal_generation_m2_s + np.testing.assert_allclose(d.generation_limit_A_m, Q * absorbed * g.lateral_length_m, rtol=1e-15) + np.testing.assert_allclose(d.generation_y.absorbed_m2_s, d.column.generation.absorbed_m2_s, rtol=0, atol=0) + np.testing.assert_array_equal(d.generation_y.source_m3_s[1:-1], d.column.generation.source_m3_s[1:-1]) + np.testing.assert_array_equal(d.generation_y.source_m3_s[[0, -1]], 2 * d.column.generation.source_m3_s[[0, -1]]) + _, u = example.coordinates(d, lateral=True) + dark = DC2DProblem(d, example.VOLTAGE_V, 0.0).residual(u) + lit = DC2DProblem(d, example.VOLTAGE_V, 1.0).residual(u) + expected = d.generation_source_m3_s * g.contract_geometry.volumes + expected[g.contact_nodes] = 0.0 + for offset in (d.node_count, 2*d.node_count): + np.testing.assert_allclose(lit[offset:offset+d.node_count] - dark[offset:offset+d.node_count], expected, rtol=3e-15, atol=1.0) + np.testing.assert_array_equal(lit[:d.node_count], dark[:d.node_count]) + + +def test_particle_balance_and_terminal_normalization(device: CompiledDevice2D) -> None: + d, g = device, device.geometry + _, u = example.coordinates(d, lateral=True) + # Perturb a contact node too, so missing lateral contact-cell inflow is detectable. + u[1] += .001 + u[d.node_count + 1] += .02 + problem = DC2DProblem(d, example.VOLTAGE_V, 1.0) + fluxes = problem.fluxes(u) + _, n, p = d.fields(u, voltage_V=example.VOLTAGE_V) + source = (d.generation_source_m3_s - problem.recombination_rate(n, p).rate) * g.contract_geometry.volumes + left, right = g.contract_geometry.pairs.T + for flux, contact in zip((fluxes.electron.flux, fluxes.hole.flux), problem.contact_particle_fluxes(u)): + physical = source.copy() + weighted = flux * g.contract_geometry.face_measures + np.add.at(physical, left, -weighted) + np.add.at(physical, right, weighted) + physical[:g.nx] += contact[0] * g.x_widths_m + physical[-g.nx:] -= contact[1] * g.x_widths_m + scale = max(np.max(abs(weighted)), np.max(abs(source)), 1.0) + assert np.max(abs(physical[g.contact_nodes])) / scale < 2e-15 + np.testing.assert_allclose(problem.terminal_current_A_m(u) / g.lateral_length_m, problem.terminal_current_density_A_m2(u), rtol=0, atol=0) + # Pair generation cancels between signed species; closed lateral faces leave + # the summed terminal currents equal to their nearest y-face sums even off steady state. + np.testing.assert_allclose(problem.terminal_current_A_m(u), problem.cross_section_current_A_m(u)[[0, -1]], rtol=2e-14) + + +def test_width_changes_integrated_current_but_not_uniform_density(prepared: PreparedDevice, device: CompiledDevice2D) -> None: + wide = compile_device_2d(prepared, JV2DInput(kind="jv_2d", lateral_length="2 um", Nx=4, Ny_per_layer=4, lateral_bc="neumann")) + u1, uniform = example.coordinates(device, lateral=False) + wide_u = wide.extrude_coordinates(u1) + narrow_problem, wide_problem = DC2DProblem(device, example.VOLTAGE_V), DC2DProblem(wide, example.VOLTAGE_V) + np.testing.assert_allclose(wide_problem.terminal_current_A_m(wide_u), 2 * narrow_problem.terminal_current_A_m(uniform), rtol=1e-14) + np.testing.assert_allclose(wide_problem.terminal_current_density_A_m2(wide_u), narrow_problem.terminal_current_density_A_m2(uniform), rtol=1e-14) + assert wide.identity != device.identity and wide.geometry.sha256 != device.geometry.sha256 + + +@pytest.mark.parametrize("field,value", [("lateral_bc", "periodic"), ("lateral_length", None), ("Ny_per_layer", 1), ("settle_t", 1e-6)]) +def test_unbound_spatial_modes_are_rejected(prepared: PreparedDevice, field: str, value: Any) -> None: + data = example.spatial_input().editing_data() + data[field] = value + with pytest.raises(ValueError): + compile_device_2d(prepared, JV2DInput.model_validate(data)) + + +@pytest.mark.parametrize("field,value", [("P0", 1e20), ("v_sat_n", 1e5), ("pf_gamma_p", 1e-4), ("n_optical", 2.0)]) +def test_unbound_device_physics_is_rejected(prepared: PreparedDevice, field: str, value: float) -> None: + updated = reprepare(prepared, lambda data: data["layers"][1]["parameters"].update({field: value})) + with pytest.raises(CapabilityError): + compile_device_2d(updated, example.spatial_input()) + + +def test_incoherent_optics_is_rejected_before_column_compilation(prepared: PreparedDevice, monkeypatch: pytest.MonkeyPatch) -> None: + updated = reprepare(prepared, lambda data: data["layers"][1]["parameters"].update(incoherent=True)) + def forbidden(*args: Any, **kwargs: Any) -> Any: + raise AssertionError("unsupported incoherent declaration reached column compilation") + monkeypatch.setattr("solarlab.device.compile_2d.compile_device_1d", forbidden) + with pytest.raises(CapabilityError, match=r"layers\.absorber\.incoherent"): + compile_device_2d(updated, example.spatial_input()) + + +def test_identity_tracks_declared_source_and_state_is_immutable(prepared: PreparedDevice, device: CompiledDevice2D) -> None: + updated = reprepare(prepared, lambda data: data["settings"].update(Phi=1e21)) + changed = compile_device_2d(updated, example.spatial_input()) + assert changed.identity != device.identity + np.testing.assert_allclose(changed.generation_source_m3_s, device.generation_source_m3_s / 2, rtol=0, atol=0) + _, u = example.coordinates(device, lateral=True) + state = device.state(u, voltage_V=example.VOLTAGE_V) + assert state.potential_V.shape == device.geometry.shape + with pytest.raises(ValueError): + state.potential_V[0, 0] = 1.0 + with pytest.raises(ValueError): + replace(state, electron_density_m3=-state.electron_density_m3) + + +def test_runnable_example_and_lossless_solver_free_read(tmp_path: Any, monkeypatch: pytest.MonkeyPatch) -> None: + path = tmp_path / "assembly.json" + monkeypatch.setattr(sys, "argv", ["dc_assembly", "--output", str(path)]) + assert example.main() == 0 + value = json.loads(path.read_text()) + summary = value["summary"] + assert summary["newton_calls"] == 0 and not summary["accepted_steady_state"] and not summary["qualification"] + assert summary["lateral_electron_flux_max_m2_s"] > 0.0 and summary["lateral_hole_flux_max_m2_s"] > 0.0 + sparse = value["jacobian_csc"] + matrix = csc_matrix((sparse["data"], sparse["indices"], sparse["indptr"]), shape=tuple(sparse["shape"])) + np.testing.assert_array_equal(matrix @ np.asarray(value["direction"]), value["analytic_direction"]) + original = path.read_bytes() + with pytest.raises(FileExistsError): + example.main() + assert path.read_bytes() == original + def forbidden(*args: Any, **kwargs: Any) -> Any: + raise AssertionError("saved read performed assembly") + monkeypatch.setattr(example, "compile_device_2d", forbidden) + monkeypatch.setattr(sys, "argv", ["dc_assembly", "--read", str(path)]) + assert example.main() == 0 diff --git a/tests/integration/test_dual_ionic_1d.py b/tests/integration/test_dual_ionic_1d.py new file mode 100644 index 00000000..e856bd64 --- /dev/null +++ b/tests/integration/test_dual_ionic_1d.py @@ -0,0 +1,289 @@ +"""Bounded 37/13 independent-site assembly, signed charge and physical storage.""" + +from __future__ import annotations + +from dataclasses import replace +import json +import math + +import numpy as np +import pytest +from threadpoolctl import threadpool_limits + +from examples.research_1d.ionic_multilayer import ( + prepare_confined_dual_ion_device, prepare_confined_ion_device, +) +from solarlab.config.resolve_device import resolve_device +from solarlab.device.compile_ionic_1d import compile_ionic_device_1d +from solarlab.device.defaults import DefaultCatalog +from solarlab.device.inputs import DeviceInput +from solarlab.equations.dc_1d import CapabilityError +from solarlab.equations.ionic_1d import Ionic1DProblem +from solarlab.materials.source import SourceDocument +from solarlab.physics.band_structure.temperature import ion_diffusivity_at_temperature +from solarlab.physics.ions import ion_face_flux, single_site_density + +Q = 1.602176634e-19 + + +@pytest.fixture(scope="module", autouse=True) +def blas1(): + with threadpool_limits(limits=1): + yield + + +def compile_domain(prepared): + return compile_ionic_device_1d( + prepared, intervals_per_layer=(12, 12, 12), ion_domain_layer="absorber", + ion_domain_endpoints=("blocking", "blocking"), + ) + + +@pytest.fixture(scope="module", params=[True, False], ids=["diffusion_only", "whole_flux"]) +def case(request): + device = compile_domain(prepare_confined_dual_ion_device(diffusion_only=request.param)) + problem = Ionic1DProblem(device, voltage_V=0.002) + y = device.initial_state(voltage_V=0.002).u.copy() + y[device.ion_species_slices[0]] = np.linspace(-0.15, 0.12, device.ion_node_count) + y[device.ion_species_slices[1]] = np.linspace(0.12, -0.09, device.ion_node_count) + return device, problem, y + + +def test_actual_3N_2M_layout_keeps_both_bound_populations_and_inventories(case): + device, _, y = case + assert (device.node_count, device.ion_node_count, device.state_size) == (37, 13, 137) + assert device.ion_species_names == ("positive", "negative") and device.ion_species_count == 2 + assert device.ion_species_slices == (slice(111, 124), slice(124, 137)) + np.testing.assert_array_equal(device.ion_node_indices, np.arange(12, 25)) + state = device.state(y, voltage_V=0.002) + assert state.device_sha256 == device.identity and state.electronic_state.u.shape == (111,) + assert state.positive_ion_density_m3.shape == state.negative_ion_density_m3.shape == (13,) + assert np.all(state.positive_ion_density_m3 > 0.0) and np.all(state.negative_ion_density_m3 > 0.0) + for species, density in zip(device.ion_species_names, device.fields_by_species(y, voltage_V=0.002)[3]): + expected = math.fsum((device.ion_geometry.cell_measures_m * density).tolist()) + assert state.domain_inventories_m2[species] == expected + reference_inventory = math.fsum((device.ion_geometry.cell_measures_m * np.full(device.ion_node_count, 1e24)).tolist()) + assert device.reference_inventory_m2 == reference_inventory + assert math.isclose(device.negative_reference_inventory_m2, 1.8e17, rel_tol=3e-16) + for species, raw_D in (("positive", 1e-16), ("negative", 5e-17)): + expected_D = ion_diffusivity_at_temperature(raw_D, device.electronic_component.parameters.temperature_K, 0.58) + np.testing.assert_array_equal(getattr(device, species + "_ion_diffusivity_faces_m2_s"), np.full(12, expected_D)) + assert state.domain_inventory_m2 != state.negative_domain_inventory_m2 + manifest = device.binding_manifest + assert manifest["state_layout"]["size"] == 137 + assert manifest["ion_model"]["site_contract"] == "independent_finite_sites" + with pytest.raises(ValueError): + state.negative_ion_density_m3.setflags(write=True) + with pytest.raises(ValueError, match="fields_by_species"): + device.fields(y, voltage_V=0.002) + with pytest.raises(ValueError, match="negative population"): + device.charge_ledger(state.electronic_state.electron_density_m3, + state.electronic_state.hole_density_m3, state.positive_ion_density_m3) + + +def test_uniform_population_drift_has_independent_opposite_sign_analytic_limit(case): + device, problem, _ = case + cold = device.initial_state(voltage_V=0.002) + phi, _, _, populations = device.fields_by_species(cold.u, voltage_V=0.002) + dx = np.diff(device.ion_geometry.nodes_m) + gradient = np.diff(phi[device.ion_node_indices]) / dx + for species, sign, density in zip(device.ion_species_names, (1.0, -1.0), populations): + capacity = getattr(device, species + "_ion_site_limit_m3") + diffusion = getattr(device, species + "_ion_diffusivity_faces_m2_s") + crowding = 1.0 if device.steric_model == "historical_diffusion_only_steric_v1" else 1.0 / (1.0 - density[:-1] / capacity[:-1]) + expected = -sign * diffusion * density[:-1] * gradient / device.electronic_component.thermal_voltage_V * crowding + actual = problem.ion_fluxes(cold.u, species=species) + np.testing.assert_allclose(actual, expected, rtol=2e-13, atol=0.0) + assert np.all(actual != 0.0) + assert np.all(problem.ion_fluxes(cold.u) * problem.ion_fluxes(cold.u, species="negative") < 0.0) + + +def test_each_original_particle_law_and_signed_current_deposition_is_conservative(case): + device, problem, y = case + phi, _, _, populations = device.fields_by_species(y, voltage_V=0.002) + full_fluxes = [] + residual = problem.residual(y) + for species, sign, density, block in zip(device.ion_species_names, (1.0, -1.0), populations, device.ion_species_slices): + capacity = getattr(device, species + "_ion_site_limit_m3") + expected = ion_face_flux(phi[device.ion_node_indices], density, np.diff(device.ion_geometry.nodes_m), + getattr(device, species + "_ion_diffusivity_faces_m2_s"), + device.electronic_component.thermal_voltage_V, capacity[:-1], + steric_diffusion_only=device.steric_model == "historical_diffusion_only_steric_v1", + P_lim_node=capacity, drift_sign=sign) + np.testing.assert_array_equal(problem.ion_fluxes(y, species=species), expected) + mapped = np.zeros(device.node_count - 1) + mapped[device.ion_node_indices[:-1]] = expected + np.testing.assert_array_equal(problem.ion_fluxes_on_electronic_faces(y, species=species), mapped) + full_fluxes.append(np.r_[0.0, mapped, 0.0]) + balance = -np.diff(np.r_[0.0, expected, 0.0]) + np.testing.assert_array_equal(residual[block], balance) + assert abs(math.fsum(balance.tolist())) <= 4 * np.finfo(float).eps * math.fsum(abs(expected).tolist()) + actual_current = problem.ion_current_density_A_m2(y) + np.testing.assert_array_equal(actual_current, Q * (full_fluxes[0][1:-1] - full_fluxes[1][1:-1])) + charge_balance = np.zeros(device.node_count) + charge_balance[device.ion_node_indices] = Q * (residual[device.ion_species_slices[0]] - residual[device.ion_species_slices[1]]) + reconstructed = -np.diff(np.r_[0.0, actual_current, 0.0]) + bound = 16 * np.finfo(float).eps * max(float(np.max(abs(actual_current))), np.finfo(float).tiny) + np.testing.assert_allclose(reconstructed, charge_balance, rtol=0.0, atol=bound) + + +def test_half_cell_charge_backgrounds_and_Poisson_columns_have_opposite_signs(case): + device, problem, y = case + N, idx = device.node_count, device.ion_node_indices + _, n, p, populations = device.fields_by_species(y, voltage_V=0.002) + positive, negative = populations + ledger = device.charge_ledger(n, p, positive, negative) + assert ledger.entry("positive_ion").charge_number == 1 + assert ledger.entry("negative_ion").charge_number == -1 + assert ledger.entry("negative_ion").group != ledger.entry("positive_ion").group + for species, density, reference in zip(device.ion_species_names, populations, + (device.positive_ion_reference_m3, device.negative_ion_reference_m3)): + entry = ledger.entry(species + "_ion") + physical = np.zeros(N) + physical[idx] = entry.charge_number * Q * device.ion_geometry.cell_measures_m * (density - reference) + projected = entry.charge_number * Q * device.electronic_component.geometry.cell_measures_m * entry.net_population() + np.testing.assert_allclose(projected, physical, rtol=5e-15, atol=1e-20) + np.testing.assert_array_equal(entry.background_m3, device.project_ion_density(reference)) + expected_charge = np.zeros(N) + expected_charge[idx] = Q * device.ion_geometry.cell_measures_m * ( + (positive - device.positive_ion_reference_m3) - (negative - device.negative_ion_reference_m3) + ) + difference = problem.residual(y)[:N] - problem.electronic_problem.residual(y[:3 * N])[:N] + np.testing.assert_allclose(difference, expected_charge, rtol=1e-13, atol=1e-18) + J = problem.jacobian(y) + for local, node in enumerate(idx): + assert J[node, 3 * N + local] > 0.0 + assert J[node, 3 * N + device.ion_node_count + local] < 0.0 + + +def test_storage_and_nonzero_ydot_keep_independent_complete_M_blocks(case): + device, problem, y = case + N = device.node_count + dot = np.linspace(-0.2, 0.15, device.state_size) + dot[:N] *= device.electronic_component.thermal_voltage_V + K, J = problem.storage_jacobian(y), problem.jacobian(y, dot) + base_J = problem.jacobian(y) + base_R, dynamic_R = problem.residual(y), problem.residual(y, dot) + # Compare complete electronic rows directly: subtracting their large DC + # transport totals need not resolve a much smaller storage increment. + np.testing.assert_array_equal(dynamic_R[:N], base_R[:N]) + np.testing.assert_array_equal(dynamic_R[N:3 * N], problem.electronic_problem.residual(y[:3 * N], dot[:3 * N])[N:3 * N]) + for species, density, block in zip(device.ion_species_names, device.fields_by_species(y, voltage_V=0.002)[3], device.ion_species_slices): + capacity = getattr(device, species + "_ion_site_limit_m3") + partial = density * (1.0 - density / capacity) + expected_storage = -device.ion_geometry.cell_measures_m * partial + np.testing.assert_array_equal(K.diagonal()[block], expected_storage) + np.testing.assert_array_equal(dynamic_R[block], base_R[block] - device.ion_geometry.cell_measures_m * partial * dot[block]) + second = partial * (1.0 - 2.0 * density / capacity) + expected_second = -device.ion_geometry.cell_measures_m * second * dot[block] + # Check the assembled column before a second lossy subtraction of + # large transport derivatives; full independent FD checks follow. + np.testing.assert_array_equal(J.diagonal()[block], base_J.diagonal()[block] + expected_second) + expected_rate = math.fsum((-expected_storage * dot[block]).tolist()) + assert problem.inventory_rate_m2_s(y, dot, species=species) == expected_rate + assert J[block, N:3 * N].nnz == 0 + positive, negative = device.ion_species_slices + assert J[positive, negative].nnz == J[negative, positive].nnz == 0 + assert K[positive, negative].nnz == K[negative, positive].nnz == 0 + assert np.all(K.diagonal()[3 * N:] < 0.0) + + +@pytest.mark.parametrize("alpha", [0.0, 2.5]) +def test_full_dual_Fy_and_storage_have_independent_directional_check(case, alpha): + device, problem, y = case + rng = np.random.default_rng(40872) + direction = rng.uniform(-0.1, 0.1, device.state_size) + derivative = rng.uniform(-0.2, 0.2, device.state_size) + direction[:device.node_count] *= device.electronic_component.thermal_voltage_V + derivative[:device.node_count] *= device.electronic_component.thermal_voltage_V + J = problem.jacobian(y, derivative, alpha=alpha) + h = 1e-5 + numerical = (problem.residual(y + h * direction, derivative + alpha * h * direction) + - problem.residual(y - h * direction, derivative - alpha * h * direction)) / (2 * h) + scale = abs(J) @ abs(direction) + error = float(np.max(abs(numerical - J @ direction) / np.maximum(scale, np.finfo(float).tiny))) + print(f"37/13 dual {device.steric_model} alpha={alpha:g}: directional error {error:.9g}") + assert error < 2e-7 + + +@pytest.mark.parametrize("positive_D,negative_D", [(0.0, 5e-17), (1e-16, 0.0), (0.0, 0.0)]) +def test_zero_diffusivity_retains_population_charge_and_dynamic_storage(positive_D, negative_D): + device = compile_domain(prepare_confined_dual_ion_device( + positive_diffusivity_m2_s=positive_D, negative_diffusivity_m2_s=negative_D, + )) + problem = Ionic1DProblem(device, voltage_V=0.002) + y = device.initial_state(voltage_V=0.002).u.copy() + dot = np.zeros(device.state_size) + dot[3 * device.node_count:] = 0.01 + assert device.state_size == 137 + K = problem.storage_jacobian(y) + for species, diffusion, block in zip(device.ion_species_names, (positive_D, negative_D), device.ion_species_slices): + assert np.all(K.diagonal()[block] < 0.0) + assert device.state(y, voltage_V=0.002).domain_inventories_m2[species] > 0.0 + assert problem.inventory_rate_m2_s(y, dot, species=species) > 0.0 + if diffusion == 0.0: + np.testing.assert_array_equal(problem.ion_fluxes(y, species=species), np.zeros(device.ion_node_count - 1)) + np.testing.assert_array_equal(problem.residual(y)[block], np.zeros(device.ion_node_count)) + np.testing.assert_array_equal(problem.residual(y, dot)[block], (K @ dot)[block]) + assert problem.jacobian(y)[block, :].nnz == 0 + + +@pytest.mark.parametrize("field", ["negative_ion_reference_m3", "negative_ion_site_limit_m3", "negative_ion_logit_reference", "negative_ion_diffusivity_faces_m2_s"]) +def test_negative_arrays_cannot_be_rebound_or_dropped_from_source(case, field): + device, _, _ = case + value = getattr(device, field) + with pytest.raises(ValueError, match="ionic binding"): + replace(device, **{field: value + 0.4 if field == "negative_ion_logit_reference" else value * 2.0}) + with pytest.raises(ValueError, match="cannot be stripped"): + replace(device, negative_ion_reference_m3=np.empty(0), negative_ion_site_limit_m3=np.empty(0), + negative_ion_logit_reference=np.empty(0), negative_ion_diffusivity_faces_m2_s=np.empty(0)) + + +def test_explicit_domain_shared_sites_and_missing_negative_reference_refuse(): + original = prepare_confined_dual_ion_device() + for path, value, message in (("outside", 1e21, "outside-domain"), + ("shared", True, "shared-site"), + ("reference", 0.0, "negative-ion reference")): + data = original.to_input().editing_data() + if path == "outside": + data["layers"][0]["parameters"]["P0_neg"] = value + elif path == "shared": + data["settings"]["ion_steric_shared_site"] = value + else: + next(layer for layer in data["layers"] if layer["id"] == "absorber")["parameters"]["P0_neg"] = value + changed = resolve_device(DeviceInput.model_validate(data), original.defaults, original.resources, sources=original.sources) + with pytest.raises(CapabilityError, match=message): + compile_domain(changed) + with pytest.raises(CapabilityError, match="interface exchange"): + compile_ionic_device_1d(original, ion_domain_layer="absorber", ion_domain_endpoints=("blocking", "transmissive")) + + +def test_positive_only_151ee28_identity_fields_and_old_state_shape_remain_compatible(): + prepared = prepare_confined_ion_device() + # The example binds its absolute source path. Use a stable logical source + # for this frozen 151ee28 identity so checkout location is not a test input. + source = SourceDocument("research_1d/device.json", prepared.sources[0].content) + defaults = DefaultCatalog.from_mapping({ + **json.loads(source.content)["default_catalog"], + "evidence": [[source.id, source.sha256]], + }) + stable = resolve_device(prepared.to_input(), defaults, prepared.resources, sources=(source,)) + device = compile_domain(stable) + assert device.identity == "29f79d5b84cd31409010ebcf85798965bfcfe52bbd310106e66f87343730cea3" + assert device.identity != compile_domain(prepared).identity + assert device.ion_species_names == ("positive",) and device.state_size == 124 + y = device.initial_state(voltage_V=0.002).u.copy() + y[3 * device.node_count:] = np.linspace(-0.15, 0.12, device.ion_node_count) + expected = single_site_density(device.positive_ion_reference_m3, device.positive_ion_site_limit_m3, + device.positive_ion_logit_reference, y[3 * device.node_count:]) + np.testing.assert_array_equal(device.fields(y, voltage_V=0.002)[3], expected) + old = device.state(y, voltage_V=0.002) + assert old.negative_ion_density_m3.size == 0 and old.negative_domain_inventory_m2 == 0.0 + assert old.domain_inventories_m2 == {"positive": old.domain_inventory_m2} + assert "ion_species" not in device.binding_manifest["state_layout"] + dual = compile_domain(prepare_confined_dual_ion_device()) + assert dual.identity != old.device_sha256 + with pytest.raises(ValueError, match="3.N.*M"): + dual.state(old.u, voltage_V=old.voltage_V) + with pytest.raises(ValueError, match="not assembled"): + Ionic1DProblem(device).ion_fluxes(y, species="negative") diff --git a/tests/integration/test_dual_ionic_solvers_1d.py b/tests/integration/test_dual_ionic_solvers_1d.py new file mode 100644 index 00000000..fbd7f052 --- /dev/null +++ b/tests/integration/test_dual_ionic_solvers_1d.py @@ -0,0 +1,345 @@ +"""Independent inventories, all dynamic rows, signed accounting and real dual motion.""" + +from dataclasses import replace +import hashlib +import json +import math + +import numpy as np +import pytest +from threadpoolctl import threadpool_limits + +from examples.research_1d.dual_ionic import compile_case, run_wave +from examples.research_1d.ionic_multilayer import prepare_confined_dual_ion_device +from examples.research_1d.ionic_steady import controls as steady_controls +from examples.research_1d.ionic_transient import controls as time_controls, protocol +from solarlab.contracts.units import ELEMENTARY_CHARGE_C as Q +from solarlab.device.compile_ionic_1d import compile_ionic_device_1d +from solarlab.equations.ionic_1d import Ionic1DProblem +from solarlab.experiments import ionic_transient as driver +from solarlab.solvers.nonlinear.ionic_1d import ( + ConstrainedIonic1DProblem, checks as ionic_checks, diagnostics as ionic_diagnostics, solve_ionic_steady_state, +) +from solarlab.solvers.time.ionic_backward_euler import ( + IonicBackwardEuler1DStep, finite_site_secant_m3, inventory_m2, step_accounting, +) + + +@pytest.fixture(scope="module", autouse=True) +def blas1(): + with threadpool_limits(limits=1): + yield + + +@pytest.fixture(scope="module") +def case(): + device = compile_case() + original = Ionic1DProblem(device, voltage_V=0.002, generation_scale=0.0) + constrained = ConstrainedIonic1DProblem(original, device.ion_node_count - 1) + y = device.initial_state(voltage_V=0.002).u.copy() + N, M = device.node_count, device.ion_node_count + x, xp = np.linspace(0, np.pi, N), np.linspace(0, np.pi, M) + y[:N] += 0.001 * np.sin(x) + y[N:2 * N] += 0.02 * np.sin(x) + y[2 * N:3 * N] -= 0.03 * np.sin(x) + y[device.ion_species_slices[0]] += 0.04 * np.cos(xp) + y[device.ion_species_slices[1]] -= 0.03 * np.cos(xp) + return device, original, constrained, y + + +def test_two_particle_constraints_preserve_all_other_rows_and_own_exact_J(case): + device, original, constrained, y = case + assert (device.node_count, device.ion_node_count, device.state_size) == (37, 13, 137) + before, after = original.residual(y), constrained.residual(y) + original_J, J = original.jacobian(y).toarray(), constrained.jacobian(y).toarray() + other = np.ones(device.state_size, dtype=bool) + other[list(constrained.constraint_rows.values())] = False + np.testing.assert_array_equal(after[other], before[other]) + np.testing.assert_array_equal(J[other], original_J[other]) + populations = device.fields_by_species(y, voltage_V=0.002)[3] + for species, block, density in zip(device.ion_species_names, device.ion_species_slices, populations): + row = constrained.constraint_rows[species] + physical = math.fsum((device.ion_geometry.cell_measures_m * density).tolist()) + assert after[row] == physical - constrained.inventory_targets_m2[species] + expected = np.zeros(device.state_size) + expected[block] = -original.storage_jacobian(y).diagonal()[block] + np.testing.assert_array_equal(J[row], expected) + assert np.all(J[row, block] > 0.0) # negative ions still have positive particle inventories + assert original_J[:device.node_count, block].any() + assert original_J[block, :device.node_count].any() + + +def directional_error(problem, y, N): + direction = np.random.default_rng(7752).uniform(-0.05, 0.05, y.size) + direction[:N] *= 0.025 + h = 1e-5 + J = problem.jacobian(y) + difference = (problem.residual(y + h * direction) - problem.residual(y - h * direction)) / (2 * h) + scale = np.maximum(abs(J) @ abs(direction), np.finfo(float).tiny) + return float(np.max(abs(J @ direction - difference) / scale)) + + +def test_constrained_directional_J_includes_both_inventory_rows(case): + device, _, constrained, y = case + error = directional_error(constrained, y, device.node_count) + print(f"dual constrained J directional error={error:.9g}") + assert error < 3e-7 + + +def test_steady_diagnostics_keep_both_dropped_rows_and_signed_deposition(case): + device, original, constrained, y = case + info = ionic_diagnostics(constrained, y) + for species, block in zip(device.ion_species_names, device.ion_species_slices): + one = info["ion_species"][species] + np.testing.assert_array_equal(one["ion_balance_m2_s"], original.residual(y)[block]) + assert one["original_dropped_balance_m2_s"] == original.residual(y)[constrained.constraint_rows[species]] + assert one["ion_balance_l1_m2_s"] == math.fsum(abs(original.residual(y)[block]).tolist()) + np.testing.assert_allclose(one["deposited_ion_net_charge_C_m2"], one["physical_ion_net_charge_C_m2"], + rtol=5e-13, atol=1e-18) + np.testing.assert_array_equal(info["ionic_current_density_A_m2"], + np.r_[0.0, Q * (original.ion_fluxes_on_electronic_faces(y) + - original.ion_fluxes_on_electronic_faces(y, species="negative")), 0.0]) + checks = {check.name: check for check in ionic_checks(info, steady_controls(device.ion_node_count))} + assert checks["negative_ion_balance_l1_m2_s"].value == info["ion_species"]["negative"]["ion_balance_l1_m2_s"] + assert checks["negative_inventory_relative_error"].limit == 1e-12 + + +@pytest.mark.parametrize("species", ["positive", "negative"]) +def test_zero_D_species_uses_local_profiles_while_mobile_species_keeps_inventory(species): + prepared = prepare_confined_dual_ion_device(**{f"{species}_diffusivity_m2_s": 0.0}) + device = compile_ionic_device_1d(prepared, intervals_per_layer=(12, 12, 12), + ion_domain_layer="absorber", ion_domain_endpoints=("blocking", "blocking")) + assert device.state_size == 137 and device.initial_state().domain_inventories_m2[species] > 0 + original = Ionic1DProblem(device) + constrained = ConstrainedIonic1DProblem(original, device.ion_node_count - 1) + blocks = dict(zip(device.ion_species_names, device.ion_species_slices)) + block = blocks[species] + assert constrained.immobile_species == (species,) + assert constrained.profile_constraint_rows == {species: tuple(range(block.start, block.stop))} + y = device.initial_state().u.copy() + y[block.start] += 0.02 + state = device.state(y) + density = getattr(state, species + "_ion_density_m3") + target = getattr(device, species + "_ion_reference_m3") + expected = device.ion_geometry.cell_measures_m * (density - target) + np.testing.assert_array_equal(original.residual(y)[block], 0.0) + np.testing.assert_array_equal(constrained.residual(y)[block], expected) + np.testing.assert_array_equal(constrained.jacobian(y)[block, :].toarray(), + -original.storage_jacobian(y)[block, :].toarray()) + assert expected[0] > 0.0 + other = "negative" if species == "positive" else "positive" + inventory = math.fsum((device.ion_geometry.cell_measures_m + * getattr(state, other + "_ion_density_m3")).tolist()) + assert constrained.residual(y)[constrained.constraint_rows[other]] == ( + inventory - constrained.inventory_targets_m2[other]) + + +def test_steady_scaling_separates_species_and_rejects_wrong_negative_inventory(case, monkeypatch): + device, _, constrained, _ = case + settings_seen = [] + + def stop_after_controls(problem, seed, settings): + settings_seen.append(settings) + raise RuntimeError("injected stop before any Newton work") + + monkeypatch.setattr("solarlab.solvers.nonlinear.ionic_1d.solve_newton", stop_after_controls) + options = steady_controls(device.ion_node_count) + result = solve_ionic_steady_state(device, voltage_V=0.002, generation_scale=0.0, options=options) + assert not result.accepted and len(settings_seen) == 1 + assert result.evaluation_counts == {"residual": 0, "jacobian": 0} + settings = settings_seen[0] + for species, block in zip(device.ion_species_names, device.ion_species_slices): + expected = np.full(device.ion_node_count, 2 * device.ion_node_count / 1e6) + expected[-1] = 1 / (1e-12 * constrained.inventory_targets_m2[species]) + np.testing.assert_array_equal(settings.scaling.row_weights[block], expected) + np.testing.assert_array_equal(settings.step_control.max_step[block], np.ones(device.ion_node_count)) + wrong = device.initial_state(voltage_V=0.002).u.copy() + wrong[device.ion_species_slices[1]] += 0.01 + with pytest.raises(ValueError, match="prepared-domain inventory"): + solve_ionic_steady_state(device, voltage_V=0.002, generation_scale=0.0, options=options, + initial_state=device.state(wrong, voltage_V=0.002)) + assert len(settings_seen) == 1 + + +@pytest.fixture(scope="module") +def moving(case): + device, _, _, old_y = case + old = device.state(old_y, voltage_V=0.002) + step = IonicBackwardEuler1DStep(Ionic1DProblem(device, voltage_V=0.004), old, 0.25) + y = step.initial_coordinates(voltage_lift=True) + for index, block in enumerate(device.ion_species_slices): + y[block] += (index + 1) * 0.01 * np.sin(np.linspace(0, np.pi, device.ion_node_count)) + return device, step, y + + +def test_BE_retains_every_species_row_and_the_original_exact_storage_J(moving): + device, step, y = moving + N = device.node_count + dc, residual = step.endpoint.residual(y), step.residual(y) + np.testing.assert_array_equal(residual[:N], dc[:N]) + for species, block in zip(device.ion_species_names, device.ion_species_slices): + _, rate = step.inventory_rate_m2_s(y, species=species) + expected = device.ion_geometry.cell_measures_m * finite_site_secant_m3( + getattr(device, f"{species}_ion_site_limit_m3"), getattr(device, f"{species}_ion_logit_reference"), + step.previous.u[block], y[block]) / step.dt_s + np.testing.assert_array_equal(rate, expected) + np.testing.assert_array_equal(residual[block], dc[block] - expected) + expected_J = step.endpoint.jacobian(y) + step.endpoint.storage_jacobian(y) / step.dt_s + np.testing.assert_array_equal(step.jacobian(y).toarray(), expected_J.toarray()) + error = directional_error(step, y, N) + print(f"dual physical BE J directional error={error:.9g}") + assert error < 2e-7 + + +def test_negative_secant_retains_tiny_motion_and_rebase_preserves_both_populations(case): + device, _, _, _ = case + old_y = device.initial_state(voltage_V=0.002).u.copy() + block = device.ion_species_slices[1] + old_y[block] = 0.4 + old = device.state(old_y, voltage_V=0.002) + step = IonicBackwardEuler1DStep(Ionic1DProblem(device, voltage_V=0.004), old, 0.25) + y = step.initial_coordinates(voltage_lift=True) + for species in device.ion_species_names: + np.testing.assert_array_equal(step.inventory_rate_m2_s(y, species=species)[1], np.zeros(device.ion_node_count)) + y[block] = np.nextafter(0.4, np.inf) + _, rate = step.inventory_rate_m2_s(y, species="negative") + assert np.all(rate > 0.0) + rounded = (inventory_m2(device, device.state(y, voltage_V=0.004), species="negative")[1] + - inventory_m2(device, old, species="negative")[1]) / step.dt_s + assert np.any(rate != rounded) + forged = replace(old, negative_ion_density_m3=old.negative_ion_density_m3 * 1.01) + with pytest.raises(ValueError, match="fields/inventory"): + IonicBackwardEuler1DStep(step.endpoint, forged, step.dt_s) + + +def test_motion_has_signed_all_face_current_and_independent_species_accounting(moving): + device, step, y = moving + info = step_accounting(step, y) + species = info["ion_species"] + expected_current = Q * (species["positive"]["ion_particle_fluxes_m2_s"] + - species["negative"]["ion_particle_fluxes_m2_s"]) + np.testing.assert_array_equal(info["ion_conduction_current_density_A_m2"], expected_current) + carriers, rates = step.inventory_rates_m2_s(y) + expected_charge_rate = Q * (carriers[1] - carriers[0]) + expected_charge_rate[device.ion_node_indices] += Q * (rates[0] - rates[1]) + np.testing.assert_array_equal(info["charge_inventory_rate_A_m2"], expected_charge_rate) + assert info["total_current_density_A_m2"].shape == (device.node_count + 1,) + for name, block in zip(device.ion_species_names, device.ion_species_slices): + np.testing.assert_array_equal(species[name]["ion_balance_m2_s"], step.residual(y)[block]) + assert np.max(abs(species[name]["ion_domain_fluxes_m2_s"])) > 1e6 + scale = max(1.0, float(np.max(abs(info["total_current_density_A_m2"]))), + float(np.max(abs(info["predicted_maxwell_cell_jump_A_m2"])))) + assert np.max(abs(info["maxwell_identity_error_A_m2"])) < 128 * np.finfo(float).eps * scale + assert np.max(abs(info["readback_maxwell_identity_error_A_m2"])) < 256 * np.finfo(float).eps * scale + assert info["physical_certificate_status"] == "not_evaluated" + + +def test_dynamic_norm_neither_cancels_species_nor_averages_over_2M(case): + device, _, _, _ = case + settings, norm = driver._newton_settings(device, time_controls()) + M = device.ion_node_count + scaled = np.zeros(device.state_size) + for block in device.ion_species_slices: + np.testing.assert_array_equal(settings.scaling.row_weights[block], np.full(M, M / 1e6)) + np.testing.assert_array_equal(settings.step_control.max_step[block], np.ones(M)) + for block in device.ion_species_slices: + scaled[:] = 0 + scaled[block] = 1.01 + assert norm(scaled) == 1.01 + scaled[device.ion_species_slices[0]] = -1.01 + assert norm(scaled) == 1.01 and not settings.gates + + +@pytest.fixture(scope="module") +def wave(tmp_path_factory): + directory = tmp_path_factory.mktemp("dual_wave") + device, steady, history = run_wave(directory) + return device, steady, history, directory + + +def test_real_cold_dual_steady_redistributes_both_populations_with_original_checks(wave): + device, steady, _, _ = wave + assert steady.accepted, (steady.termination, steady.error) + assert steady.newton.accepted and not steady.qualification + np.testing.assert_array_equal(steady.initial_state.u, device.initial_state(voltage_V=0.002).u) + assert len(steady.checks) == 10 and all(check.passed for check in steady.checks) + for species in device.ion_species_names: + density = getattr(steady.state, f"{species}_ion_density_m3") + assert np.max(abs(density / getattr(device, f"{species}_ion_reference_m3") - 1)) > 0.001 + info = steady.diagnostics["ion_species"][species] + assert info["inventory_relative_error"] <= 1e-12 + assert info["ion_balance_l1_m2_s"] <= 1e6 and info["ion_flux_max_m2_s"] <= 1e6 + assert abs(info["original_dropped_balance_m2_s"]) <= 1e6 + + +def test_real_four_step_history_moves_both_species_and_preserves_interval_balances(wave): + device, steady, history, _ = wave + assert steady.accepted and history is not None + assert history.completed, [(a.termination, a.error) for a in history.failed_attempts] + assert len(history.attempts) == 4 and len(history.states) == 5 + np.testing.assert_array_equal(history.accepted_times_s, protocol(4).times_s) + np.testing.assert_array_equal(history.states[0].u, steady.state.u) + assert history.physical_certificate_status == "not_evaluated" + for species in device.ion_species_names: + density = f"{species}_ion_density_m3" + assert np.max(abs(getattr(history.states[-1], density) / getattr(steady.state, density) - 1)) > 1e-6 + initial_total = steady.state.domain_inventories_m2[species] + bound = 0.0 + for index, attempt in enumerate(history.attempts, 1): + info = attempt.accounting["ion_species"][species] + assert math.fsum(abs(info["ion_balance_m2_s"]).tolist()) <= 1e6 + bound += (attempt.end_s - attempt.start_s) * ( + math.fsum(abs(info["ion_balance_m2_s"]).tolist()) + + math.fsum(abs(info["ion_inventory_readback_error_m2_s"]).tolist())) + drift = abs(history.states[index].domain_inventories_m2[species] - initial_total) + assert drift <= bound + 2 * index * np.spacing(initial_total) + for attempt in history.attempts: + info = attempt.accounting + assert info["total_current_density_A_m2"].shape == (38,) + assert np.max(abs(info["maxwell_identity_error_A_m2"])) < 1e-12 + + +@pytest.mark.parametrize("mutation", ["negative_density", "negative_inventory", "missing_negative", "missing_check"]) +def test_dual_initial_evidence_requires_both_fields_inventories_and_checks(wave, tmp_path, mutation): + device, steady, _, directory = wave + assert steady.accepted + record = json.loads((directory / "Steady.json").read_text()) + state = record["result"]["state"] + if mutation == "negative_density": + state["negative_ion_density_m3"][0] *= 1.001 + elif mutation == "negative_inventory": + state["negative_domain_inventory_m2"] *= 1.001 + elif mutation == "missing_negative": + del state["negative_ion_density_m3"] + else: + record["result"]["checks"].pop() + raw = json.dumps(record, allow_nan=False).encode() + path = tmp_path / "Rebound.json" + path.write_bytes(raw) + with pytest.raises(ValueError): + driver.load_ionic_steady_initial(device, path, hashlib.sha256(raw).hexdigest(), + controls=steady_controls(device.ion_node_count)) + + +def test_real_prefix_and_first_injected_failure_are_retained_without_retry(wave, monkeypatch): + device, _, history, directory = wave + assert history is not None and history.completed + path = directory / "Steady.json" + initial = driver.load_ionic_steady_initial(device, path, hashlib.sha256(path.read_bytes()).hexdigest(), + controls=steady_controls(device.ion_node_count)) + calls = [] + + def first_result_then_refuse(*args, **kwargs): + calls.append(1) + if len(calls) == 1: + return history.attempts[0].newton + raise ValueError("injected second-step refusal; no repeated solve") + + monkeypatch.setattr(driver, "solve_newton", first_result_then_refuse) + result = driver.solve_ionic_transient(device, initial, protocol(4), options=time_controls()) + assert len(calls) == 2 and len(result.states) == 2 and len(result.attempts) == 2 + assert not result.completed and len(result.failed_attempts) == 1 + np.testing.assert_array_equal(result.states[-1].u, history.states[1].u) + np.testing.assert_array_equal(result.accepted_times_s, [0.0, 0.25]) + np.testing.assert_array_equal(result.protocol.voltage_V, protocol(4).voltage_V) + assert result.failed_attempts[0].start_s == 0.25 and "second-step refusal" in result.failed_attempts[0].error diff --git a/tests/integration/test_field_transport_1d.py b/tests/integration/test_field_transport_1d.py new file mode 100644 index 00000000..f81f7efa --- /dev/null +++ b/tests/integration/test_field_transport_1d.py @@ -0,0 +1,235 @@ +"""Actual CT assembly and saved native evidence; no repeated steady solves.""" + +from __future__ import annotations + +from dataclasses import replace +import hashlib +import json +import os +from pathlib import Path +import sys +from typing import Any + +import numpy as np +import pytest + +from examples.research_1d import field_transport as example +from examples.research_1d.steady import load_device +from solarlab.config.resolve_device import resolve_device +from solarlab.device.compile_1d import compile_device_1d +from solarlab.device.inputs import DeviceInput +from solarlab.device.resolved import PreparedDevice +from solarlab.equations.dc_1d import CapabilityError, CompiledDevice1D, DC1DProblem +from solarlab.materials.source import SourceDocument +from solarlab.mesh import RIGHT_LAYER_WINS +from solarlab.physics.transport import legacy_face_diffusivity +from solarlab.physics.transport.field_mobility import field_dependent_face_diffusivity +from solarlab.physics.transport.field_mobility_tangents import FieldMobilityCapabilityError + + +@pytest.fixture(scope="module") +def prepared() -> PreparedDevice: + return example.prepare_case() + + +@pytest.fixture(scope="module") +def device(prepared: PreparedDevice) -> CompiledDevice1D: + return compile_device_1d(prepared, intervals_per_layer=example.INTERVALS) + + +def edited(prepared: PreparedDevice, document: dict[str, Any]) -> PreparedDevice: + raw = json.dumps(document, sort_keys=True, separators=(",", ":"), allow_nan=False).encode() + source = SourceDocument("field_transport_test", raw) + sources = tuple(item for item in prepared.sources if item.id != source.id) + (source,) + return resolve_device(DeviceInput.model_validate(document), prepared.defaults, prepared.resources, sources=sources) + + +def coordinates(device: CompiledDevice1D) -> np.ndarray: + count = device.node_count + phi = device.reference_potential_V + .012 * np.sin(np.linspace(0.0, 2.0 * np.pi, count)) + return np.r_[phi, np.linspace(-.15, .2, count), np.linspace(.1, -.25, count)] + + +def test_historical_face_rules_masks_and_actual_state_dependence( + prepared: PreparedDevice, device: CompiledDevice1D, +) -> None: + before = prepared.to_mapping() + again = compile_device_1d(prepared, intervals_per_layer=example.INTERVALS) + assert prepared.to_mapping() == before and again.identity == device.identity + model = device.field_transport + assert model is not None and model.field_measure == "face_field_1d_v1" + assert device.geometry.material_owner_convention == RIGHT_LAYER_WINS + np.testing.assert_array_equal(np.flatnonzero(model.electron.saturation_velocity_m_s), np.arange(11, 24)) + np.testing.assert_array_equal(model.electron.saturation_velocity_m_s[12:23], 1.0e4) + np.testing.assert_array_equal(model.hole.saturation_velocity_m_s[12:23], 1.5e4) + np.testing.assert_array_equal(model.electron.saturation_velocity_m_s[[11, 23]], 5.0e3) + np.testing.assert_array_equal(model.electron.ct_exponent[[11, 23]], 1.5) + assert not model.nodes_m.flags.writeable and not model.electron.ct_exponent.flags.writeable + np.testing.assert_array_equal(model.base_electron_diffusivity_m2_s, + legacy_face_diffusivity(device.parameters.electron_diffusivity_m2_s)) + phi = coordinates(device)[:device.node_count] + actual = model.evaluate(phi) + np.testing.assert_array_equal(actual.field_V_m, -np.diff(phi) / np.diff(device.nodes_m)) + for carrier, base, value in ( + (model.electron, model.base_electron_diffusivity_m2_s, actual.electron_diffusivity_m2_s), + (model.hole, model.base_hole_diffusivity_m2_s, actual.hole_diffusivity_m2_s), + ): + expected = field_dependent_face_diffusivity(base, device.thermal_voltage_V, actual.field_V_m, carrier) + np.testing.assert_array_equal(value, expected) + assert np.min(value / base) < .99 + changed = model.evaluate(2.0 * phi) + assert not np.array_equal(actual.electron_diffusivity_m2_s, changed.electron_diffusivity_m2_s) + + +def test_zero_field_is_smooth_without_regularization(device: CompiledDevice1D) -> None: + model = device.field_transport + assert model is not None + value = model.evaluate(np.zeros(device.node_count)) + np.testing.assert_array_equal(value.electron_diffusivity_m2_s, + model.base_electron_diffusivity_m2_s / device.thermal_voltage_V * device.thermal_voltage_V) + np.testing.assert_array_equal(value.electron_d_diffusivity_d_field, 0.0) + np.testing.assert_array_equal(value.hole_d_diffusivity_d_field, 0.0) + phi = np.linspace(0.0, .1, device.node_count) + positive, negative = model.evaluate(phi), model.evaluate(-phi) + np.testing.assert_array_equal(positive.electron_diffusivity_m2_s, negative.electron_diffusivity_m2_s) + np.testing.assert_array_equal(positive.electron_d_diffusivity_d_field, -negative.electron_d_diffusivity_d_field) + + +@pytest.mark.parametrize("potential_only", [False, True]) +def test_full_dc_directional_jacobian_requires_mobility_chain( + device: CompiledDevice1D, potential_only: bool, +) -> None: + u = coordinates(device) + # Generation is a state-independent source. Avoid subtracting that large + # constant in finite differences at this low-density synthetic state. + problem = DC1DProblem(device) + matrix = problem.jacobian(u) + np.testing.assert_array_equal(matrix.toarray(), DC1DProblem(device, generation_scale=1.0).jacobian(u).toarray()) + rng = np.random.default_rng(391) + direction = np.r_[.02 * rng.normal(size=device.node_count), rng.normal(size=2 * device.node_count)] + if potential_only: + direction[device.node_count:] = 0.0 + step = 1.0e-5 + # Fourth order resolves the beta=1.5 interface face without increasing + # the perturbation enough to cross its small nonzero electric field. + numerical = (problem.residual(u - 2.0 * step * direction) + - 8.0 * problem.residual(u - step * direction) + + 8.0 * problem.residual(u + step * direction) + - problem.residual(u + 2.0 * step * direction)) / (12.0 * step) + scale = np.maximum(abs(matrix) @ abs(direction), 1.0e-20) + assert np.max(abs(numerical - matrix @ direction) / scale) < 2.0e-8 + model = device.field_transport + assert model is not None + field = model.evaluate(u[:device.node_count]) + # This diagnostic device holds the very same D values fixed, isolating + # the omitted dD/dphi error. It is never passed to a physical solve. + held = replace(device, field_transport=None, + electron_diffusivity_faces_m2_s=field.electron_diffusivity_m2_s, + hole_diffusivity_faces_m2_s=field.hole_diffusivity_m2_s) + omitted = DC1DProblem(held).jacobian(u) + assert np.max(abs(numerical - omitted @ direction) / scale) > 1.0e-4 + constant = DC1DProblem(replace(device, field_transport=None)) + assert np.any(problem.fluxes(u).electron.flux != constant.fluxes(u).electron.flux) + assert np.any(problem.fluxes(u).hole.flux != constant.fluxes(u).hole.flux) + assert np.any(problem.current_density(u) != constant.current_density(u)) + assert np.any(problem.residual(u)[device.node_count:] != constant.residual(u)[device.node_count:]) + np.testing.assert_array_equal(problem.residual(u)[:device.node_count], constant.residual(u)[:device.node_count]) + # Dirichlet contact constraints replace the full transport rows. + rows = [0, device.node_count - 1, device.node_count, 2 * device.node_count - 1, + 2 * device.node_count, 3 * device.node_count - 1] + np.testing.assert_array_equal(matrix.toarray()[rows], constant.jacobian(u).toarray()[rows]) + + +@pytest.mark.parametrize("name,value", [("pf_gamma_n", 1e-4), ("pf_gamma_p", 1e-4), + ("ct_beta_n", 1.0), ("ct_beta_p", .5)]) +def test_unsupported_laws_refused_before_solver( + prepared: PreparedDevice, monkeypatch: pytest.MonkeyPatch, tmp_path: Path, + name: str, value: float, +) -> None: + document = prepared.to_input().editing_data() + document["layers"][1]["parameters"][name] = value + unsupported = edited(prepared, document) + def forbidden(*args: Any, **kwargs: Any) -> Any: + raise AssertionError("unsupported transport reached the nonlinear solver") + monkeypatch.setattr(example, "prepare_case", lambda config: unsupported) + monkeypatch.setattr(example, "solve_steady_state", forbidden) + monkeypatch.setattr(sys, "argv", ["field_transport", "--output", str(tmp_path / "result.json")]) + with pytest.raises(CapabilityError, match="unsupported_classical_1d_dc"): + example.main() + assert not (tmp_path / "result.json").exists() + + +def test_binding_rejects_partial_field_and_wrong_device(device: CompiledDevice1D) -> None: + model = device.field_transport + assert model is not None + with pytest.raises(FieldMobilityCapabilityError): + replace(model, field_measure="transverse_field_2d_v1") + with pytest.raises(ValueError, match="grid, temperature"): + replace(device, field_transport=replace(model, thermal_voltage_V=1.01 * model.thermal_voltage_V)) + + +@pytest.mark.parametrize("parameter", ["v_sat_n", "v_sat_p", "ct_beta_n", "ct_beta_p"]) +def test_active_law_identity_is_parameter_specific(prepared: PreparedDevice, parameter: str) -> None: + document = prepared.to_input().editing_data() + original = compile_device_1d(edited(prepared, document), intervals_per_layer=example.INTERVALS) + document["layers"][1]["parameters"][parameter] *= 1.1 + changed = compile_device_1d(edited(prepared, document), intervals_per_layer=example.INTERVALS) + assert original.identity != changed.identity + assert original.field_transport is not None and changed.field_transport is not None + assert original.field_transport.identity_sha256 != changed.field_transport.identity_sha256 + + +def test_temperature_scaling_precedes_ct_without_repainting_parameters(prepared: PreparedDevice) -> None: + document = prepared.to_input().editing_data() + document["settings"]["T"] = 330.0 + active = compile_device_1d(edited(prepared, document), intervals_per_layer=example.INTERVALS) + document["layers"][1]["parameters"].update(v_sat_n=0.0, v_sat_p=0.0) + inactive = compile_device_1d(edited(prepared, document), intervals_per_layer=example.INTERVALS) + assert active.field_transport is not None and inactive.field_transport is None + assert active.thermal_voltage_V == inactive.thermal_voltage_V + np.testing.assert_array_equal(active.parameters.electron_diffusivity_m2_s, inactive.parameters.electron_diffusivity_m2_s) + np.testing.assert_array_equal(active.parameters.hole_diffusivity_m2_s, inactive.parameters.hole_diffusivity_m2_s) + np.testing.assert_array_equal(active.field_transport.base_electron_diffusivity_m2_s, inactive.electron_diffusivity_faces_m2_s) + np.testing.assert_array_equal(active.field_transport.electron.saturation_velocity_m_s[12:23], 1e4) + + +def test_no_ct_branch_and_saved_pre_edit_baseline_are_bitwise_exact() -> None: + device = compile_device_1d(load_device(), intervals_per_layer=example.INTERVALS) + assert device.field_transport is None + baseline = os.environ.get("SOLARLAB_FIELD_TRANSPORT_BASELINE") + if baseline is None: + return + directory = Path(baseline) + arrays = np.load(directory / "NoCTBaseline.npz") + metadata = json.loads((directory / "Baseline.json").read_text()) + assert device.identity == metadata["compiled_identity"] + problem = DC1DProblem(device) + for key, actual in (("residual", problem.residual(arrays["u"])), + ("jacobian", problem.jacobian(arrays["u"]).toarray()), + ("current", problem.current_density(arrays["u"])), + ("contacts", problem.contact_current_density(arrays["u"]))): + np.testing.assert_array_equal(actual, arrays[key]) + + +def test_saved_actual_ct_witness_reads_without_solving(monkeypatch: pytest.MonkeyPatch) -> None: + path = os.environ.get("SOLARLAB_FIELD_TRANSPORT_RESULT") + if path is None: + pytest.skip("bind the saved native result explicitly; never repeat a physics solve") + return + raw = Path(path).read_bytes() + assert hashlib.sha256(raw).hexdigest() == os.environ["SOLARLAB_FIELD_TRANSPORT_RESULT_SHA256"] + def forbidden(*args: Any, **kwargs: Any) -> Any: + raise AssertionError("reading evidence attempted a compile or solve") + monkeypatch.setattr(example, "compile_device_1d", forbidden) + monkeypatch.setattr(example, "solve_steady_state", forbidden) + record = example.read_result(Path(path)) + summary = record["summary"] + assert summary["accepted"] and summary["node_count"] == 37 + assert 0.0 < summary["minimum_electron_diffusivity_ratio"] < 1.0 + assert 0.0 < summary["minimum_hole_diffusivity_ratio"] < 1.0 + assert summary["maximum_abs_electron_dD_dE"] > 0.0 and summary["maximum_abs_hole_dD_dE"] > 0.0 + assert summary["current_spread_A_m2"] < 1e-8 + assert all(gate["passed"] for gate in record["result"]["newton"]["gates"]) + assert summary["physical_certificate_status"] == "not_evaluated" and not summary["qualification"] + monkeypatch.setattr(sys, "argv", ["field_transport", "--read", path]) + assert example.main() == 0 diff --git a/tests/integration/test_field_transport_2d.py b/tests/integration/test_field_transport_2d.py new file mode 100644 index 00000000..8fee30b2 --- /dev/null +++ b/tests/integration/test_field_transport_2d.py @@ -0,0 +1,263 @@ +"""Normal-face CT values, coefficient chains and explicit supported scope.""" + +from dataclasses import replace +import importlib.util +from pathlib import Path + +import numpy as np +import pytest + +from solarlab.equations.field_transport_2d import bind_field_transport_2d +from solarlab.mesh.geometry import half_endpoint_geometry +from solarlab.mesh.geometry_2d import RectangularGeometry2D +from solarlab.physics.transport.electrochemical_flux import stable_sg_particle_flux +from solarlab.physics.transport.field_mobility import apply_field_mobility +from solarlab.physics.transport.field_mobility_tangents import FACE_NORMAL_COMPONENT_2D, FieldMobilityCapabilityError + + +def case(): + x = np.array([0.0, .13, .41, 1.0]) * 1e-6 + y = np.array([0.0, .09, .37, .55]) * 1e-6 + geometry = RectangularGeometry2D(x, half_endpoint_geometry(y)) + ids = np.arange(16).reshape(4, 4) + dn, dp = .002 * (1 + ids / 24), .0009 * (1 + ids / 30) + left, right = geometry.contract_geometry.pairs.T + def harmonic(d): + return 2 * d.ravel()[left] * d.ravel()[right] / (d.ravel()[left] + d.ravel()[right] + 1e-300) + nodes = {"v_sat_n": np.linspace(1200, 2500, 16), "v_sat_p": np.linspace(1600, 2800, 16), + "ct_beta_n": np.linspace(1.4, 2.2, 16), "ct_beta_p": np.linspace(1.6, 2.4, 16), + "pf_gamma_n": np.zeros(16), "pf_gamma_p": np.zeros(16)} + model = bind_field_transport_2d(geometry, harmonic(dn), harmonic(dp), .02585, **nodes) + return geometry, dn, dp, nodes, model + + +def legacy_module(): + """Read the immutable legacy helper alone, never invoke a legacy solver.""" + root = Path(__file__).resolve().parents[2] + path = root / "perovskite-sim/perovskite_sim/twod/field_mobility_2d.py" + source = path.read_text().replace("from perovskite_sim.physics.field_mobility import apply_field_mobility", + "from solarlab.physics.transport.field_mobility import apply_field_mobility") + spec = importlib.util.spec_from_loader("legacy_normal_face_arithmetic", loader=None) + module = importlib.util.module_from_spec(spec) + exec(compile(source, str(path), "exec"), module.__dict__) + return module + + +def test_values_and_parameter_face_means_match_legacy_x_y(): + g, dn, dp, nodes, model = case() + xx, yy = np.meshgrid(g.x_m, g.y_geometry.nodes_m) + phi = (1.8e5 * xx + 5.2e5 * yy + 8e10 * xx * yy).ravel() + actual = model.evaluate(phi) + old = legacy_module() + kwargs = {} + for name, values in nodes.items(): + stem = name.replace("pf_gamma", "pf_gamma") + kwargs[stem + "_x_face"] = old.arith_mean_face_x(values.reshape(g.shape)) + kwargs[stem + "_y_face"] = old.arith_mean_face_y(values.reshape(g.shape)) + expected = old.recompute_d_eff_2d(phi=phi.reshape(g.shape), x=g.x_m, y=g.y_geometry.nodes_m, + D_n=dn, D_p=dp, V_T=model.thermal_voltage_V, **kwargs) + np.testing.assert_array_equal(actual.electron_diffusivity_m2_s, np.r_[expected.D_n_x.ravel(), expected.D_n_y.ravel()]) + np.testing.assert_array_equal(actual.hole_diffusivity_m2_s, np.r_[expected.D_p_x.ravel(), expected.D_p_y.ravel()]) + np.testing.assert_array_equal(model.electron.saturation_velocity_m_s, + np.r_[old.arith_mean_face_x(nodes["v_sat_n"].reshape(g.shape)).ravel(), old.arith_mean_face_y(nodes["v_sat_n"].reshape(g.shape)).ravel()]) + assert model.field_measure == FACE_NORMAL_COMPONENT_2D + assert np.all(actual.electron_diffusivity_m2_s < model.base_electron_diffusivity_m2_s) + + +@pytest.mark.parametrize("axis", ["x", "y"]) +def test_normal_component_only_and_zero_field_smoothness(axis): + g, _, _, _, model = case() + xx, yy = np.meshgrid(g.x_m, g.y_geometry.nodes_m) + phi = 9e5 * (xx if axis == "x" else yy) + actual = model.evaluate(phi.ravel()) + quiet = slice(g.x_face_count, None) if axis == "x" else slice(None, g.x_face_count) + np.testing.assert_array_equal(actual.field_V_m[quiet], 0.0) + np.testing.assert_array_equal(actual.electron_d_diffusivity_d_field[quiet], 0.0) + np.testing.assert_array_equal(actual.electron_diffusivity_m2_s[quiet], + model.base_electron_diffusivity_m2_s[quiet] / model.thermal_voltage_V * model.thermal_voltage_V) + opposite = model.evaluate(-phi.ravel()) + np.testing.assert_array_equal(actual.electron_diffusivity_m2_s, opposite.electron_diffusivity_m2_s) + np.testing.assert_array_equal(actual.electron_d_diffusivity_d_field, -opposite.electron_d_diffusivity_d_field) + + +@pytest.mark.parametrize("axis", ["x", "y"]) +@pytest.mark.parametrize("potential_only", [False, True]) +def test_sg_density_and_potential_directional_partials_require_ct_chain(axis, potential_only): + g, _, _, _, model = case() + xx, yy = np.meshgrid(g.x_m, g.y_geometry.nodes_m) + phi = (.25e6 * xx + .48e6 * yy).ravel() + n, p = np.linspace(1e20, 2e20, 16), np.linspace(4e19, 8e19, 16) + chi, eg = np.linspace(-.04, .03, 16), np.linspace(.02, -.02, 16) + rng = np.random.default_rng(471) + dphi = .02 * rng.normal(size=16) + dn, dp = n * .05 * rng.normal(size=16), p * .05 * rng.normal(size=16) + if potential_only: + dn[:] = dp[:] = 0.0 + left, right = g.contract_geometry.pairs.T + selected = slice(None, g.x_face_count) if axis == "x" else slice(g.x_face_count, None) + def flux(h): + v = phi + h * dphi + return model.fluxes(v, n + h * dn, p + h * dp, v + chi, v + chi + eg) + value = flux(0.0) + step = 2e-4 + trials = [flux(h * step) for h in (-2, -1, 1, 2)] + evaluation = model.evaluate(phi) + for name, density, direction, diffusivity_slope in (("electron", n, dn, evaluation.electron_d_diffusivity_d_field), + ("hole", p, dp, evaluation.hole_d_diffusivity_d_field)): + f = getattr(value, name) + numeric = (getattr(trials[0], name).flux - 8 * getattr(trials[1], name).flux + + 8 * getattr(trials[2], name).flux - getattr(trials[3], name).flux) / (12 * step) + analytic = (f.left_density_derivative * direction[left] + f.right_density_derivative * direction[right] + + f.left_potential_derivative * dphi[left] + f.right_potential_derivative * dphi[right]) + scale = np.maximum(abs(f.left_density_derivative * direction[left]) + abs(f.right_density_derivative * direction[right]) + + abs(f.left_potential_derivative * dphi[left]) + abs(f.right_potential_derivative * dphi[right]), 1e-20) + assert np.max(abs(numeric[selected] - analytic[selected]) / scale[selected]) < 2e-8 + raw = stable_sg_particle_flux(density[left], density[right], f.energy_step, f.coefficient) + chain = raw.coefficient_derivative * diffusivity_slope / g.face_spacing_m**2 + omitted = analytic - chain * (dphi[left] - dphi[right]) + assert np.max(abs(numeric[selected] - omitted[selected]) / scale[selected]) > 1e-4 + integrated = np.zeros(g.node_count) + np.add.at(integrated, left, -f.flux * g.contract_geometry.face_measures) + np.add.at(integrated, right, f.flux * g.contract_geometry.face_measures) + assert abs(np.sum(integrated)) <= 5e-15 * np.sum(abs(integrated)) + + +def test_disabled_binding_returns_none_without_einstein_or_averaging_roundtrip(): + g, _, _, nodes, model = case() + nodes["v_sat_n"][:] = nodes["v_sat_p"][:] = 0.0 + before_n, before_p = model.base_electron_diffusivity_m2_s.copy(), model.base_hole_diffusivity_m2_s.copy() + assert bind_field_transport_2d(g, before_n, before_p, model.thermal_voltage_V, **nodes) is None + np.testing.assert_array_equal(before_n, model.base_electron_diffusivity_m2_s) + np.testing.assert_array_equal(before_p, model.base_hole_diffusivity_m2_s) + + +@pytest.mark.parametrize("name,value", [("pf_gamma_n", 1e-4), ("pf_gamma_p", 1e-4), ("ct_beta_n", 1.0), + ("ct_beta_p", .5), ("v_sat_n", -1.0)]) +def test_unsupported_native_laws_refused(name, value): + g, _, _, nodes, model = case() + nodes[name][:] = value + with pytest.raises(FieldMobilityCapabilityError): + bind_field_transport_2d(g, model.base_electron_diffusivity_m2_s, model.base_hole_diffusivity_m2_s, + model.thermal_voltage_V, **nodes) + + +def test_field_measure_geometry_density_and_identity_are_explicit(): + g, _, _, _, model = case() + with pytest.raises(FieldMobilityCapabilityError): + replace(model, field_measure="total_field_magnitude_2d_v1") + with pytest.raises(FieldMobilityCapabilityError): + replace(model, field_measure="face_field_1d_v1") + with pytest.raises(ValueError): + model.evaluate(np.zeros(g.shape)) + with pytest.raises(ValueError): + model.evaluate(np.zeros(g.node_count, dtype=complex)) + with pytest.raises(ValueError): + model.fluxes(np.zeros(16), np.zeros(16), np.ones(16), np.zeros(16), np.zeros(16)) + assert model.identity_sha256 != replace(model, thermal_voltage_V=1.01 * model.thermal_voltage_V).identity_sha256 + for value in (model.base_electron_diffusivity_m2_s, model.electron.ct_exponent): + with pytest.raises(ValueError): + value.setflags(write=True) + field = model.evaluate(np.arange(16) * .01) + expected = apply_field_mobility(model.base_electron_diffusivity_m2_s / model.thermal_voltage_V, + field.field_V_m, model.electron.saturation_velocity_m_s, model.electron.ct_exponent, np.zeros(24)) * model.thermal_voltage_V + np.testing.assert_array_equal(field.electron_diffusivity_m2_s, expected) + + +def integrated_case(*, grain=False, contact=False, active=True): + """Used only against the isolated committed+contact+CT candidate.""" + from examples.research_1d.steady import load_device + from examples.research_2d.contacts import contact_device + from examples.research_2d.grains import spatial_input as grain_input + from examples.research_2d.dc_assembly import spatial_input + from solarlab.config.resolve_device import resolve_device + from solarlab.device.compile_2d import compile_device_2d + from solarlab.device.inputs import DeviceInput + from solarlab.equations.dc_2d import CompiledDevice2D + if "field_transport" not in CompiledDevice2D.__dataclass_fields__: + pytest.skip("shared CT hooks pending; run this against the isolated composed candidate") + prepared = load_device() + if active: + data = prepared.to_input().editing_data() + data["layers"][1]["parameters"].update(v_sat_n=1e4, v_sat_p=1.5e4, ct_beta_n=2.0, ct_beta_p=2.0) + prepared = resolve_device(DeviceInput.model_validate(data), prepared.defaults, prepared.resources, sources=prepared.sources) + if contact: + prepared = contact_device(prepared=prepared) + return compile_device_2d(prepared, grain_input() if grain else spatial_input()) + + +@pytest.mark.parametrize("grain,contact", [(False, False), (True, False), (False, True), (True, True)]) +@pytest.mark.parametrize("potential_only", [False, True]) +def test_composed_full195_rows_and_grain_contact_preservation(grain, contact, potential_only): + from examples.research_2d.dc_assembly import coordinates + from solarlab.equations.dc_2d import DC2DProblem + from solarlab.solvers.nonlinear.steady_2d import scope + d = integrated_case(grain=grain, contact=contact) + scope(d) + assert d.field_transport is not None and d.node_count == 65 + _, u = coordinates(d, lateral=True) + u[:65] += np.tile(np.linspace(0.0, .06, 5), 13) + problem = DC2DProblem(d, .002, 0.0) + matrix = problem.jacobian(u) + direction = np.r_[.02 * np.random.default_rng(492).normal(size=65), + np.random.default_rng(494).normal(size=130)] + if potential_only: + direction[65:] = 0.0 + h = 2e-4 + numeric = (problem.residual(u-2*h*direction) - 8*problem.residual(u-h*direction) + + 8*problem.residual(u+h*direction) - problem.residual(u+2*h*direction)) / (12*h) + scale = np.maximum(abs(matrix) @ abs(direction), 1e-20) + assert np.max(abs(numeric - matrix @ direction) / scale) < 2e-8 + np.testing.assert_array_equal(matrix.toarray(), DC2DProblem(d, .002, 1.0).jacobian(u).toarray()) + off = integrated_case(grain=grain, contact=contact, active=False) + constant = DC2DProblem(off, .002, 0.0) + np.testing.assert_array_equal(problem.residual(u)[:65], constant.residual(u)[:65]) + fixed = np.r_[d.geometry.contact_nodes, 65 + np.flatnonzero(d.fixed_carrier_mask[0]), + 130 + np.flatnonzero(d.fixed_carrier_mask[1])] + np.testing.assert_array_equal(problem.jacobian(u).toarray()[fixed], constant.jacobian(u).toarray()[fixed]) + assert [c.kind for c in d.column.channels] == [c.kind for c in off.column.channels] + if grain: + assert d.grain_recombination.model_id == off.grain_recombination.model_id + actual = d.field_transport.evaluate(u[:65]) + from types import SimpleNamespace + held = SimpleNamespace(**{name: getattr(d.field_transport, name) for name in ( + "geometry", "thermal_voltage_V", "base_electron_diffusivity_m2_s", "base_hole_diffusivity_m2_s")}) + held.evaluate = lambda phi: replace(actual, electron_d_diffusivity_d_field=np.zeros(actual.field_V_m.size), + hole_d_diffusivity_d_field=np.zeros(actual.field_V_m.size)) + held.fluxes = lambda *args, **kwargs: d.field_transport.fluxes(*args, **kwargs) + omitted = DC2DProblem(replace(d, field_transport=held), .002, 0.0).jacobian(u) + assert np.max(abs(numeric - omitted @ direction) / scale) > 1e-4 + + +def test_composed_active_source_inventory_has_actual_law_hashes_and_off_model_stays_off(monkeypatch): + import hashlib + import sys + from solarlab.reproducibility.job_provenance import job_provenance, admitted_source_pins + from support.provenance import checked_provenance_owner + active, off = integrated_case(), integrated_case(active=False) + names = ('solarlab.equations.field_transport_2d', 'solarlab.physics.transport.field_mobility', 'solarlab.physics.transport.field_mobility_tangents') + with checked_provenance_owner(), job_provenance({"compiled_identity": active.identity}, operator="DC2DProblem") as active_job: + capture = admitted_source_pins() + with checked_provenance_owner(), job_provenance({"compiled_identity": off.identity}, operator="DC2DProblem") as off_job: + off_capture = admitted_source_pins() + for name in names: + assert capture[name] == hashlib.sha256(Path(sys.modules[name].__file__).read_bytes()).hexdigest() + assert capture[name] == off_capture[name] + assert active_job.export()["input_sha256"] != off_job.export()["input_sha256"] + old = dict(capture) + monkeypatch.setattr(sys.modules[names[0]], "__file__", sys.modules[names[1]].__file__) + assert capture == old # Immutable admission snapshot, no numeric-file rehash. + + +def test_example_configuration_is_explicit_and_preparation_performs_no_solve(tmp_path, monkeypatch): + import hashlib + from examples.research_2d import field_transport as example + config = tmp_path / "device.json" + config.write_bytes((Path(__file__).resolve().parents[2] / "examples/research_1d/device.json").read_bytes()) + monkeypatch.setattr(example, "solve_steady_state_2d", lambda *args, **kwargs: pytest.fail("preparation called Newton")) + prepared = example.prepare_case(config) + assert [(source.id, source.sha256) for source in prepared.sources] == [ + (str(config), hashlib.sha256(config.read_bytes()).hexdigest())] + parameters = dict(prepared.layers[1].parameters) + assert (parameters["v_sat_n"], parameters["v_sat_p"], parameters["ct_beta_n"], parameters["ct_beta_p"]) == ( + 1e4, 1.5e4, 2.0, 2.0) + assert parameters["pf_gamma_n"] == parameters["pf_gamma_p"] == 0.0 diff --git a/tests/integration/test_field_transport_ac_1d.py b/tests/integration/test_field_transport_ac_1d.py new file mode 100644 index 00000000..6e25a939 --- /dev/null +++ b/tests/integration/test_field_transport_ac_1d.py @@ -0,0 +1,363 @@ +"""CT AC derivative/drive/accounting checks without DC or AC solves. + +Synthetic states are mathematical points only. Optional checksum-bound native +records are read without solving and retain their original acceptance identity. +""" + +from __future__ import annotations + +from dataclasses import replace +import hashlib +import json +import os +from pathlib import Path + +import numpy as np +import pytest +from threadpoolctl import threadpool_limits + +from examples.research_1d import field_transport_ac as example +from examples.research_1d.field_transport import prepare_case +from examples.research_1d.ionic_multilayer import prepare_confined_dual_ion_device, prepare_confined_ion_device +from examples.research_1d.shared_site_ionic_fixture import prepare_confined_shared_site_ion_device +from solarlab.config.resolve_device import resolve_device +from solarlab.device.compile_1d import compile_device_1d +from solarlab.device.compile_ionic_1d import compile_ionic_device_1d +from solarlab.device.inputs import DeviceInput +from solarlab.equations.dc_1d import DC1DProblem, quasi_fermi_potential_tangents +from solarlab.equations.ionic_1d import Ionic1DProblem +from solarlab.equations.ionic_small_signal import build_ionic_small_signal +from solarlab.experiments.impedance import ( + _lifted_storage_drive, _moving_voltage_partial, _particle_perturbations, voltage_reference_direction, +) +from solarlab.solvers.linear import FrequencyOptions + +Q = 1.602176634e-19 + + +@pytest.fixture(scope="module", autouse=True) +def blas1(): + with threadpool_limits(limits=1): + yield + + +def all_layer_ct(base, *, active=("n", "p")): + document = base.to_input().editing_data() + for layer in document["layers"]: + for carrier in ("n", "p"): + layer["parameters"]["v_sat_" + carrier] = 1e4 if carrier in active else 0.0 + layer["parameters"]["ct_beta_" + carrier] = 2.0 + return resolve_device(DeviceInput.model_validate(document), base.defaults, base.resources, sources=base.sources) + + +def electronic_coordinates(device): + N = device.node_count + phi = device.reference_potential_V + .012 * np.sin(np.linspace(0.0, 2 * np.pi, N)) + return np.r_[phi, np.linspace(-.15, .2, N), np.linspace(.1, -.25, N)] + + +def derivative(function, u, direction, step=1e-5): + # Pair opposite samples first so invariant large residuals cancel exactly. + return (8 * (function(u + step * direction) - function(u - step * direction)) + - (function(u + 2 * step * direction) - function(u - 2 * step * direction))) / (12 * step) + + +def unchanged_sg_particle_tangent(problem, u, x, voltage): + """Exact pre-CT AC expression, retained solely for CT-off identity checks.""" + device, N = problem.device, problem.device.node_count + fluxes = problem.fluxes(u) + _, n, p = device.fields(u, voltage_V=problem.voltage_V) + before, after = device.carrier_reference_energies(0.0), device.carrier_reference_energies(1.0) + result = [] + for offset, density, flux, sign, reference in ( + (N, n, fluxes.electron, 1.0, after[0] - before[0]), + (2 * N, p, fluxes.hole, -1.0, after[1] - before[1]), + ): + left, _ = quasi_fermi_potential_tangents(flux, sign * np.diff(u[offset:offset + N]), sign, device.thermal_voltage_V) + left_z = sign * flux.left_density_derivative * density[:-1] + result.append(left * (x[:N - 1] - x[1:N]) + + left_z * (x[offset:offset + N - 1] - x[offset + 1:offset + N]) + + sign * flux.flux * (x[offset + 1:offset + N] + (x[1:N] + reference * voltage) / device.thermal_voltage_V)) + return tuple(result) + + +@pytest.mark.parametrize("active", [("n",), ("p",), ("n", "p")]) +def test_complex_carrier_direction_requires_ct_chain_once(active): + device = compile_device_1d(all_layer_ct(prepare_case(), active=active), intervals_per_layer=(12, 12, 12)) + problem = DC1DProblem(device, voltage_V=.002) + u, N = electronic_coordinates(device), device.node_count + rng = np.random.default_rng(1146) + real = np.r_[.02 * rng.normal(size=N), rng.normal(size=2 * N)] + imag = np.r_[.02 * rng.normal(size=N), rng.normal(size=2 * N)] + actual = _particle_perturbations(problem, u, real + 1j * imag, 0.0) + omitted = unchanged_sg_particle_tangent(problem, u, real + 1j * imag, 0.0) + for index, name in enumerate(("electron", "hole")): + def primal(value): + return getattr(problem.fluxes(value), name).flux + numerical = derivative(primal, u, real) + 1j * derivative(primal, u, imag) + scale = np.maximum(abs(actual[index]), np.finfo(float).tiny) + assert np.max(abs(numerical - actual[index]) / scale) < 2e-7 + if ("n", "p")[index] in active: + assert np.max(abs(actual[index] - omitted[index]) / scale) > 1e-3 + else: + np.testing.assert_array_equal(actual[index], omitted[index]) + + +@pytest.mark.parametrize("zero_field", [False, True]) +def test_ct_off_and_smooth_zero_field_ac_tangents(zero_field): + device = compile_device_1d(all_layer_ct(prepare_case()), intervals_per_layer=(12, 12, 12)) + u = electronic_coordinates(device) + if zero_field: + u[:device.node_count] = 0.0 + else: + device = replace(device, field_transport=None) + problem = DC1DProblem(device, voltage_V=.002) + x = np.random.default_rng(89).normal(size=u.size) * (1e-4 + 3e-4j) + actual = _particle_perturbations(problem, u, x, 2e-6 + 1e-6j) + expected = unchanged_sg_particle_tangent(problem, u, x, 2e-6 + 1e-6j) + for a, b in zip(actual, expected): + np.testing.assert_array_equal(a, b) + + +def test_actual_moving_voltage_drive_and_lift_includes_boundary_field_chain(): + device = compile_device_1d(all_layer_ct(prepare_case()), intervals_per_layer=(12, 12, 12)) + N, voltage = device.node_count, .002 + problem = DC1DProblem(device, voltage_V=voltage) + u = electronic_coordinates(device) + c = voltage_reference_direction(device) + lift = np.zeros(3 * N) + lift[N - 1] = -device.voltage_polarity + for offset in (N, 2 * N): + for node in (0, N - 1): + lift[offset + node] = -lift[node] / device.thermal_voltage_V + c[offset + node] + direction = np.r_[.02 * np.cos(np.linspace(0, 2 * np.pi, N)), np.zeros(2 * N)] + for delta in (np.zeros(3 * N), c, lift, direction): + def primal(parameter): + return DC1DProblem(device, voltage_V=voltage + parameter[0]).residual(u + parameter[0] * delta) + numerical = derivative(primal, np.zeros(1), np.ones(1)) + analytic = _moving_voltage_partial(problem, u, delta) + scale = np.maximum(abs(problem.jacobian(u)) @ + (abs(delta) + abs(c) + np.r_[np.full(N, .02), np.ones(2 * N)]), 1e-20) + scale[N - 1] = max(scale[N - 1], 1.0) + assert np.max(abs(numerical - analytic) / scale) < 2e-7 + merged = problem.jacobian(u) @ (delta - c) + merged[N - 1] += device.voltage_polarity + # Summing the nodal SG matrix loses some grouped uniform-mode digits; + # the actual AC system is checked under its existing linear criterion. + assert np.max(abs(analytic - merged) / scale) < FrequencyOptions().relative_tolerance + np.testing.assert_allclose(_lifted_storage_drive(problem, u, lift), + problem.storage_jacobian(u) @ (c - lift), rtol=2e-14, atol=1e-12) + flux = _particle_perturbations(problem, u, lift, 1.0) + omitted = unchanged_sg_particle_tangent(problem, u, lift, 1.0) + assert any(np.any(a != b) for a, b in zip(flux, omitted)) + + +@pytest.fixture(scope="module", params=[(kind, all_layers) for kind in ("positive", "independent", "shared") + for all_layers in (False, True)]) +def ionic_case(request): + kind, all_layers = request.param + prepared = example.prepare_ionic_case(kind) + if all_layers: + prepared = all_layer_ct(prepared) + device = compile_ionic_device_1d(prepared, + intervals_per_layer=(12, 12, 12), ion_domain_layer="absorber", + ion_domain_endpoints=("blocking", "blocking")) + u = device.initial_state(voltage_V=.002).u.copy() + u[:3 * device.node_count] = electronic_coordinates(device.electronic_component) + for index, block in enumerate(device.ion_species_slices): + u[block] += .07 * np.sin(np.linspace(.3 + index, 2.2 + index, device.ion_node_count)) + state = device.state(u, voltage_V=.002) + return device, state, build_ionic_small_signal(device, state) + + +def test_ionic_ct_full_matrices_drive_and_shared_storage(ionic_case): + device, state, operator = ionic_case + N = device.node_count + problem = Ionic1DProblem(device, voltage_V=state.voltage_V) + np.testing.assert_array_equal(operator.jacobian.toarray(), problem.jacobian(state.u).toarray()) + np.testing.assert_array_equal(operator.storage_jacobian.toarray(), problem.storage_jacobian(state.u).toarray()) + if device.ion_site_contract == "shared_finite_sites": + assert np.count_nonzero(operator.storage_jacobian[device.ion_species_slices[0], device.ion_species_slices[1]].data) + V = 2e-6 + 1e-6j + system = operator.system(1.0, voltage_phasor_V=V) + lift = operator.coordinate_lift_per_V + expected = _moving_voltage_partial(problem.electronic_problem, state.u[:3 * N], lift[:3 * N]) + np.testing.assert_array_equal(system.rhs[:3 * N], -expected * V) + np.testing.assert_array_equal(system.rhs_rate[:3 * N], _lifted_storage_drive(problem.electronic_problem, state.u[:3 * N], lift[:3 * N]) * V) + rng = np.random.default_rng(1148) + direction = rng.normal(size=device.state_size) * .01 + direction[:N] *= device.electronic_component.thermal_voltage_V + numeric = derivative(problem.residual, state.u, direction) + scale = np.maximum(abs(operator.jacobian) @ abs(direction), 1e-20) + assert np.max(abs(numeric - operator.jacobian @ direction) / scale) < 2e-7 + zero = operator.system(0.0) + for name, block in zip(device.ion_species_names, device.ion_species_slices): + expected = -np.asarray(operator.storage_jacobian[block, :].sum(axis=0)).ravel() + np.testing.assert_array_equal(zero.jacobian[zero.constraint_rows[name], :].toarray()[0], expected) + + +def test_ionic_ct_complex_ports_signed_charge_and_maxwell_identity(ionic_case): + device, state, operator = ionic_case + N, V, f = device.node_count, 2e-6 + 1e-6j, 1.0 + rng = np.random.default_rng(1149) + real = rng.normal(size=device.state_size) * .01 + imag = rng.normal(size=device.state_size) * .01 + real[:N] *= .02 + imag[:N] *= .02 + x = real + 1j * imag + out = operator.observe(x, f, voltage_phasor_V=V, coordinate_form="fixed_reference_v1") + problem = Ionic1DProblem(device, state.voltage_V) + carriers = np.asarray(out["carrier_particle_fluxes_m2_s"]) + for index, name in enumerate(("electron", "hole")): + def primal(value): + return getattr(problem.electronic_problem.fluxes(value[:3 * N]), name).flux + numerical = derivative(primal, state.u, real) + 1j * derivative(primal, state.u, imag) + np.testing.assert_allclose(carriers[index, 1:-1], numerical, rtol=2e-7, atol=1e-12) + expected_current = Q * (carriers[1] - carriers[0]) + expected_charge = Q * device.electronic_component.geometry.cell_measures_m * ( + out["hole_density_perturbation_m3"] - out["electron_density_perturbation_m3"]) + for index, name in enumerate(device.ion_species_names): + sign = 1.0 if index == 0 else -1.0 + particles = out["ion_particle_fluxes_m2_s"][name] + expected_current += sign * Q * particles + expected_charge[device.ion_node_indices] += sign * Q * device.ion_geometry.cell_measures_m * out["ion_density_perturbation_m3"][name] + assert particles[device.ion_node_indices[0]] == particles[device.ion_node_indices[-1] + 1] == 0.0 + np.testing.assert_array_equal(out["conduction_current_density_A_m2"], expected_current) + np.testing.assert_array_equal(out["charge_inventory_perturbation_C_m2"], expected_charge) + assert np.asarray(out["total_current_density_A_m2"]).shape == (N + 1,) + scale = max(np.max(abs(out["total_current_density_A_m2"])), + 2 * np.pi * np.max(abs(expected_charge)), np.finfo(float).tiny) + assert np.max(abs(out["maxwell_identity_error_A_m2"])) < 256 * np.finfo(float).eps * scale + lifted = operator.observe(x, f, voltage_phasor_V=V) + known_n, known_p = _particle_perturbations(problem.electronic_problem, state.u[:3 * N], + operator.coordinate_lift_per_V[:3 * N], 1.0) + unknown_n, unknown_p = _particle_perturbations(problem.electronic_problem, state.u[:3 * N], x[:3 * N], 0.0) + np.testing.assert_array_equal(lifted["carrier_particle_fluxes_m2_s"][0, 1:-1], unknown_n + known_n * V) + np.testing.assert_array_equal(lifted["carrier_particle_fluxes_m2_s"][1, 1:-1], unknown_p + known_p * V) + fixed = operator.observe(x + (operator.coordinate_lift_per_V - operator.reference_direction_per_V) * V, + f, voltage_phasor_V=V, coordinate_form="fixed_reference_v1") + np.testing.assert_allclose(lifted["total_current_density_A_m2"], fixed["total_current_density_A_m2"], rtol=3e-12, atol=1e-12) + frozen_x = x.copy() + frozen_x[3 * N:] = 0.0 + frozen = operator.observe(frozen_x, f, voltage_phasor_V=V, ion_mode="frozen") + assert np.count_nonzero(frozen["ionic_conduction_current_density_A_m2"]) == 0 + for name in device.ion_species_names: + assert np.count_nonzero(frozen["ion_density_perturbation_m3"][name]) == 0 + assert frozen["physical_certificate_status"] == "not_evaluated" + + +@pytest.mark.parametrize("kind", ["positive", "independent", "shared"]) +def test_no_ct_ionic_flux_tangent_keeps_exact_pre_ct_expression(kind): + factory = {"positive": prepare_confined_ion_device, "independent": prepare_confined_dual_ion_device, + "shared": prepare_confined_shared_site_ion_device}[kind] + device = compile_ionic_device_1d(factory(), intervals_per_layer=(12, 12, 12), + ion_domain_layer="absorber", ion_domain_endpoints=("blocking", "blocking")) + state = device.initial_state(voltage_V=.002) + operator = build_ionic_small_signal(device, state) + x = np.random.default_rng(1172).normal(size=device.state_size) * (1e-4 + 3e-4j) + expected = unchanged_sg_particle_tangent(operator.problem.electronic_problem, + state.u[:3 * device.node_count], x[:3 * device.node_count], 2e-6 + 1e-6j) + for actual, previous in zip(operator._carrier_particles(x, 2e-6 + 1e-6j), expected): + np.testing.assert_array_equal(actual, previous) + + +def test_bound_pre_edit_no_ct_arrays_remain_bitwise_exact(): + directory = os.environ.get("SOLARLAB_CT_AC_BASELINE") + if directory is None: + pytest.skip("bind pre-edit CT-off arrays explicitly; no physics solve is needed") + archive = Path(directory) + metadata = json.loads((archive / "NoCTBaseline.json").read_text()) + assert hashlib.sha256((archive / "NoCTBaseline.npz").read_bytes()).hexdigest() == metadata["arrays_sha256"] + with np.load(archive / "NoCTBaseline.npz") as arrays: + from examples.research_1d.steady import load_device + device = compile_device_1d(load_device(), intervals_per_layer=(12, 12, 12)) + assert device.identity == metadata["identities"]["ion_free"] + problem = DC1DProblem(device, .002) + u, x = arrays["ion_free_u"], arrays["ion_free_x"] + n, p = _particle_perturbations(problem, u, x, 2e-6 + 1e-6j) + for key, actual in (("fn", n), ("fp", p), ("partial", _moving_voltage_partial(problem, u, x.real)), + ("rate", _lifted_storage_drive(problem, u, x.real))): + np.testing.assert_array_equal(actual, arrays["ion_free_" + key]) + assert actual.tobytes() == arrays["ion_free_" + key].tobytes() + factories = {"positive": prepare_confined_ion_device, "independent": prepare_confined_dual_ion_device, + "shared": prepare_confined_shared_site_ion_device} + for kind, factory in factories.items(): + ionic = compile_ionic_device_1d(factory(), intervals_per_layer=(12, 12, 12), + ion_domain_layer="absorber", ion_domain_endpoints=("blocking", "blocking")) + assert ionic.identity == metadata["identities"][kind] + state = ionic.state(arrays[kind + "_u"], voltage_V=.002) + operator = build_ionic_small_signal(ionic, state) + system = operator.system(1.0, voltage_phasor_V=2e-6 + 1e-6j) + out = operator.observe(arrays[kind + "_x"], 1.0, voltage_phasor_V=2e-6 + 1e-6j) + for key, actual in (("J", operator.jacobian.toarray()), ("K", operator.storage_jacobian.toarray()), + ("rhs", system.rhs), ("rhs_rate", system.rhs_rate), + ("conduction", out["conduction_current_density_A_m2"]), + ("displacement", out["displacement_current_density_A_m2"]), + ("charge", out["charge_inventory_perturbation_C_m2"]), ("carrier", out["carrier_particle_fluxes_m2_s"])): + np.testing.assert_array_equal(actual, arrays[kind + "_" + key]) + assert actual.tobytes() == arrays[kind + "_" + key].tobytes() + + +def test_ct_source_capture_belongs_to_job_and_operator_survives_source_drift(ionic_case, monkeypatch, tmp_path): + from solarlab.equations import field_transport_1d + from solarlab.reproducibility.job_provenance import job_provenance, admitted_source_pins + from support.provenance import checked_provenance_owner + device, state, bare_operator = ionic_case + assert bare_operator.source_sha256 == {} + with checked_provenance_owner(), job_provenance({"compiled_identity": device.identity}, operator="IonicSmallSignal1D"): + operator = build_ionic_small_signal(device, state) + pins = admitted_source_pins() + for name in ("solarlab.equations.field_transport_1d", "solarlab.physics.transport.field_mobility", + "solarlab.physics.transport.field_mobility_tangents"): + assert operator.source_sha256[name] == pins[name] + path = tmp_path / "changed_field_transport.py" + path.write_text("changed source\n") + monkeypatch.setattr(field_transport_1d, "__file__", str(path)) + operator.observe(np.zeros(device.state_size, dtype=complex), 1.0) + assert operator.source_sha256 == pins + + +@pytest.mark.parametrize("kind", ["ion-free", "shared"]) +def test_saved_native_ct_ac_reads_without_model_or_solver(kind, monkeypatch): + key = "SOLARLAB_CT_AC_" + kind.upper().replace("-", "_") + path, sha = os.environ.get(key + "_RESULT"), os.environ.get(key + "_SHA256") + if path is None or sha is None: + pytest.skip("bind one saved native witness explicitly; never repeat its solve") + def forbidden(*args, **kwargs): + raise AssertionError("saved reading called a compiler or a solver") + for name in ("compile_device_1d", "compile_ionic_device_1d", "solve_impedance", "solve_ionic_impedance"): + monkeypatch.setattr(example, name, forbidden) + assert hashlib.sha256(Path(path).read_bytes()).hexdigest() == sha + record = example.read_result(Path(path), sha) + assert record["summary"]["kind"] == kind and record["summary"]["accepted"] + assert not record["summary"]["qualification"] + assert record["summary"]["physical_certificate_status"] == "not_evaluated" + if kind == "ion-free": + result = record["result"] + scale = np.max(abs(result["total_current_density_A_m2"] / result["voltage_phasor_V"]), axis=1) + assert np.all(result["maxwell_spread_A_m2_V"] <= 1e-8 + 1e-10 * scale) + assert "solarlab.equations.field_transport_1d" in result["source_sha256"] + else: + assert len(record["result"]["attempts"]) == len(record["summary"]["requested_frequencies_Hz"]) + assert all(item["accepted"] and all(check["passed"] for check in item["checks"]) + for item in record["result"]["attempts"]) + for attempt in record["result"]["attempts"]: + observed = attempt["observation"] + particles = observed["carrier_particle_fluxes_m2_s"] + expected = Q * (particles[1] - particles[0]) + expected += Q * observed["ion_particle_fluxes_m2_s"]["positive"] + expected -= Q * observed["ion_particle_fluxes_m2_s"]["negative"] + np.testing.assert_array_equal(observed["conduction_current_density_A_m2"], expected) + total = observed["total_current_density_A_m2"] + np.testing.assert_array_equal(total, expected + observed["displacement_current_density_A_m2"]) + np.testing.assert_array_equal(observed["terminal_current_density_A_m2"], total[[0, -1]]) + assert total.shape == (38,) and particles.shape == (2, 38) + assert observed["input_current_density_A_m2"] == total[0] + assert observed["ion_mode"] == "mobile" + for name in ("positive", "negative"): + assert np.any(observed["ion_density_perturbation_m3"][name] != 0.0) + assert np.all(observed["base_ion_density_m3"][name] > 0.0) + voltage = record["result"]["voltage_phasor_V"] + normalized = total / voltage + spread, scale = np.max(abs(normalized - normalized[0])), np.max(abs(normalized)) + assert spread <= 1e-8 + 1e-10 * scale diff --git a/tests/integration/test_field_transport_ac_guards.py b/tests/integration/test_field_transport_ac_guards.py new file mode 100644 index 00000000..e1356bdd --- /dev/null +++ b/tests/integration/test_field_transport_ac_guards.py @@ -0,0 +1,112 @@ +"""CT AC admission retains genuine state/contact refusals; no AC solves here.""" + +from __future__ import annotations + +import json +from typing import Any, cast + +import pytest + +from examples.research_1d.shared_site_ionic_fixture import prepare_confined_shared_site_ion_device +from examples.research_1d.steady import load_device +from solarlab.config.resolve_device import resolve_device +from solarlab.device.compile_1d import compile_device_1d +from solarlab.device.compile_ionic_1d import compile_ionic_device_1d +from solarlab.device.inputs import DeviceInput +from solarlab.device.resolved import PreparedDevice +from solarlab.equations.dc_1d import CapabilityError, DC1DProblem +from solarlab.equations.ionic_1d import Ionic1DProblem +from solarlab.equations.ionic_small_signal import build_ionic_small_signal +from solarlab.experiments import impedance +from solarlab.materials.source import SourceDocument +from solarlab.solvers.nonlinear.steady_1d import SteadyState1D + + +def with_ct(base: PreparedDevice, carrier: str) -> PreparedDevice: + document = base.to_input().editing_data() + absorber = next(layer for layer in document["layers"] if layer["id"] == "absorber") + absorber["parameters"]["v_sat_" + carrier] = 1e4 + absorber["parameters"]["ct_beta_" + carrier] = 2.0 + raw = json.dumps(document, sort_keys=True, separators=(",", ":"), allow_nan=False).encode() + source = SourceDocument("field_transport_ac_guard", raw) + return resolve_device(DeviceInput.model_validate(document), base.defaults, base.resources, + sources=(*base.sources, source)) + + +def forbidden(*args: Any, **kwargs: Any) -> Any: + raise AssertionError("unsupported CT reached AC validation, linearization or a linear solve") + + +@pytest.mark.parametrize("carrier", ["n", "p"]) +def test_ct_ion_free_refuses_missing_point_before_validation_or_linear_solve( + monkeypatch: pytest.MonkeyPatch, carrier: str, +) -> None: + device = compile_device_1d(with_ct(load_device(), carrier), intervals_per_layer=(12, 12, 12)) + assert device.field_transport is not None + monkeypatch.setattr(impedance, "_verify_point", forbidden) + monkeypatch.setattr(impedance, "solve_frequency_systems", forbidden) + monkeypatch.setattr(DC1DProblem, "jacobian", forbidden) + monkeypatch.setattr(DC1DProblem, "storage_jacobian", forbidden) + with pytest.raises(ValueError, match="accepted same-device SteadyState1D"): + impedance.solve_impedance(device, cast(SteadyState1D, None), [0.0, 1.0]) + + +@pytest.mark.parametrize("carrier", ["n", "p"]) +def test_ct_ionic_assembles_actual_operator_without_a_solver( + monkeypatch: pytest.MonkeyPatch, carrier: str, +) -> None: + device = compile_ionic_device_1d(with_ct(prepare_confined_shared_site_ion_device(), carrier), + intervals_per_layer=(12, 12, 12), ion_domain_layer="absorber", + ion_domain_endpoints=("blocking", "blocking")) + assert device.electronic_component.field_transport is not None + state = device.initial_state() # A physical reference, never a claimed steady result. + monkeypatch.setattr(impedance, "solve_frequency_systems", forbidden) + operator = build_ionic_small_signal(device, state) + original = Ionic1DProblem(device) + assert operator.jacobian.shape == (device.state_size, device.state_size) + assert operator.storage_jacobian.shape == operator.jacobian.shape + assert (operator.jacobian != original.jacobian(state.u)).nnz == 0 + assert (operator.storage_jacobian != original.storage_jacobian(state.u)).nnz == 0 + + +@pytest.mark.parametrize("carrier", ["n", "p"]) +def test_ct_ionic_refuses_nonfixed_carrier_contacts_before_operator( + monkeypatch: pytest.MonkeyPatch, carrier: str, +) -> None: + base = with_ct(prepare_confined_shared_site_ion_device(), carrier) + document = base.to_input().editing_data() + document["settings"]["flat_band_contacts"] = True + prepared = resolve_device(DeviceInput.model_validate(document), base.defaults, + base.resources, sources=base.sources) + device = compile_ionic_device_1d(prepared, intervals_per_layer=(12, 12, 12), + ion_domain_layer="absorber", ion_domain_endpoints=("blocking", "blocking")) + state = device.initial_state() + assert any(channel.kind != "fixed_reservoir" for channel in device.electronic_component.channels) + monkeypatch.setattr(Ionic1DProblem, "jacobian", forbidden) + monkeypatch.setattr(Ionic1DProblem, "storage_jacobian", forbidden) + with pytest.raises(CapabilityError, match="all fixed-reservoir carrier contacts"): + build_ionic_small_signal(device, state) + + +def test_no_ct_ion_free_keeps_original_missing_point_refusal() -> None: + device = compile_device_1d(load_device(), intervals_per_layer=(12, 12, 12)) + assert device.field_transport is None + with pytest.raises(ValueError, match="accepted same-device SteadyState1D"): + impedance.solve_impedance(device, cast(SteadyState1D, None), [1.0]) + + +def test_no_ct_ionic_keeps_original_operator_path_without_executing_it( + monkeypatch: pytest.MonkeyPatch, +) -> None: + device = compile_ionic_device_1d(prepare_confined_shared_site_ion_device(), + intervals_per_layer=(12, 12, 12), ion_domain_layer="absorber", + ion_domain_endpoints=("blocking", "blocking")) + state = device.initial_state() + assert device.electronic_component.field_transport is None + class ReachedOriginalAssembly(Exception): + pass + def reached(*args: Any, **kwargs: Any) -> Any: + raise ReachedOriginalAssembly + monkeypatch.setattr(Ionic1DProblem, "jacobian", reached) + with pytest.raises(ReachedOriginalAssembly): + build_ionic_small_signal(device, state) diff --git a/tests/integration/test_grain_2d.py b/tests/integration/test_grain_2d.py new file mode 100644 index 00000000..d51d2ee5 --- /dev/null +++ b/tests/integration/test_grain_2d.py @@ -0,0 +1,266 @@ +"""Fractional neutral grain SRH: independent geometry/rate/assembly oracles.""" + +from __future__ import annotations + +from dataclasses import replace +import hashlib +import json +import os +from pathlib import Path +from typing import Any + +import numpy as np +import pytest + +from examples.research_1d.steady import load_device +from examples.research_2d.dc_assembly import coordinates, spatial_input +from solarlab.config.resolve_device import resolve_device +from solarlab.device.compile_2d import compile_device_2d +from solarlab.device.grain_2d import bind_grain_regions_2d, grain_declarations +from solarlab.device.inputs import DeviceInput +from solarlab.device.resolved import PreparedDevice +from solarlab.equations.dc_2d import CompiledDevice2D, DC2DProblem +from solarlab.experiments.two_dimensional.inputs import JV2DInput +from solarlab.mesh.geometry import half_endpoint_geometry +from solarlab.mesh.geometry_2d import RectangularGeometry2D +from solarlab.physics.recombination.reaction import BulkRecombinationCoefficients, BulkRecombinationReaction + + +def grain(**changes: Any) -> dict[str, Any]: + return {"id": "grain_a", "layer_ids": ["absorber"], "x_position": "0.4 um", + "width": "0.3 um", "tau_n": "0.5 us", "tau_p": "0.25 us", **changes} + + +def spatial(grains: list[dict[str, Any]]) -> JV2DInput: + return JV2DInput.model_validate({**spatial_input().editing_data(), "microstructure": {"grain_boundaries": grains}}) + + +@pytest.fixture(scope="module") +def prepared() -> PreparedDevice: + return load_device() + + +@pytest.fixture(scope="module") +def baseline(prepared: PreparedDevice) -> CompiledDevice2D: + return compile_device_2d(prepared, spatial_input()) + + +def with_device_grains(prepared: PreparedDevice) -> PreparedDevice: + data = prepared.to_input().editing_data() + data["grain_boundaries"] = [grain()] + return resolve_device(DeviceInput.model_validate(data), prepared.defaults, prepared.resources, sources=prepared.sources) + + +def test_fractional_geometry_and_original_interface_ownership(prepared: PreparedDevice) -> None: + # Explicit dual cells: x bounds [0,.1,.45,.85,1] um; grain [.25,.55] um. + y = np.array([0, 40, 80, 200, 380, 420, 460]) * 1e-9 + geometry = RectangularGeometry2D(np.array([0, .2, .7, 1]) * 1e-6, half_endpoint_geometry(y)) + binding = bind_grain_regions_2d(prepared, spatial([grain()]), geometry) + assert binding is not None + region = binding.regions[0] + expected_x = np.array([0, .2/.35, .1/.4, 0]) + expected_y = np.array([False, False, False, True, True, False, False]) + np.testing.assert_allclose(region.x_overlap_fraction, expected_x, rtol=2e-15, atol=0) + np.testing.assert_array_equal(region.y_mask, expected_y) + # y=80 nm stays HTL, y=380 nm stays absorber for grain selection. + # The represented height is 150+110=260 nm, not nominal 300 nm. + assert region.represented_height_m == pytest.approx(260e-9, rel=2e-15) + assert region.represented_width_m == pytest.approx(300e-9, rel=2e-15) + assert region.represented_area_m2 == pytest.approx(300e-9 * 260e-9, rel=2e-15) + for value in (region.fractions, region.x_overlap_fraction, region.y_mask): + with pytest.raises(ValueError): + value.setflags(write=True) + + +def test_subcell_regions_keep_physical_width_and_can_share_a_cell(prepared: PreparedDevice, baseline: CompiledDevice2D) -> None: + grains = [grain(x_position="0.48 um", width="0.02 um"), + grain(id="grain_b", x_position="0.52 um", width="0.02 um")] + binding = bind_grain_regions_2d(prepared, spatial(grains), baseline.geometry) + assert binding is not None + for region in binding.regions: + assert np.count_nonzero(region.x_overlap_fraction) == 1 + assert np.max(region.x_overlap_fraction) == pytest.approx(.08) + assert region.represented_width_m == pytest.approx(20e-9) + assert np.any(binding.regions[0].fractions * binding.regions[1].fractions > 0) + + +def test_fractional_srh_rate_and_exact_partials_independent_oracle(prepared: PreparedDevice, baseline: CompiledDevice2D) -> None: + binding = bind_grain_regions_2d(prepared, spatial([grain()]), baseline.geometry) + assert binding is not None + size = baseline.node_count + # Deliberately unequal coefficients and nonzero radiative/Auger channels. + n, p = np.linspace(2e19, 3e19, size), np.linspace(4e19, 7e19, size) + coeff = BulkRecombinationCoefficients(size, np.full(size, 1e30), np.full(size, 2e-6), + np.full(size, 3e-6), np.full(size, 5e14), np.full(size, 7e14), np.full(size, 1e-18), + np.full(size, 2e-42), np.full(size, 3e-42)) + evaluation = BulkRecombinationReaction(coeff).evaluate(n, p) + actual = binding.evaluate(evaluation, coeff) + f = binding.regions[0].fractions + numerator = n*p - coeff.ni_sq_m6 + db = 3e-6*(n+5e14) + 2e-6*(p+7e14) + dg = .25e-6*(n+5e14) + .5e-6*(p+7e14) + independent = (1-f)*numerator/db + f*numerator/dg + (1e-18+2e-42*n+3e-42*p)*numerator + dn = ((1-f)*(p*db - numerator*3e-6)/db**2 + f*(p*dg - numerator*.25e-6)/dg**2 + + 1e-18*p + 2e-42*numerator + (2e-42*n+3e-42*p)*p) + dp = ((1-f)*(n*db - numerator*2e-6)/db**2 + f*(n*dg - numerator*.5e-6)/dg**2 + + 1e-18*n + 3e-42*numerator + (2e-42*n+3e-42*p)*n) + for result, expected in ((actual.rate, independent), (actual.d_rate_dn, dn), (actual.d_rate_dp, dp)): + np.testing.assert_allclose(result, expected, rtol=6e-16) + np.testing.assert_array_equal(actual.rate[f == 0], evaluation.total.rate[f == 0]) + empty = replace(binding, regions=()) + assert empty.evaluate(evaluation, coeff) is evaluation.total + no_derivative = BulkRecombinationReaction(coeff).evaluate(n, p, derivatives=False) + assert not binding.evaluate(no_derivative, coeff).has_derivatives + + +@pytest.mark.parametrize("override", [None, {}]) +def test_null_and_empty_object_inherit_device_inventory(prepared: PreparedDevice, override: Any) -> None: + d = with_device_grains(prepared) + request = JV2DInput.model_validate({**spatial_input().editing_data(), "microstructure": override}) + assert len(grain_declarations(d, request)) == 1 + assert len(grain_declarations(d, spatial_input())) == 1 + assert grain_declarations(d, spatial([])) == () + + +@pytest.mark.parametrize("changes", [ + {"layer_ids": []}, {"layer_ids": ["missing"]}, {"layer_ids": ["absorber", "absorber"]}, + {"x_position": "0.01 um"}, {"x_position": "0.99 um"}, {"tau_n": 0}, + {"tau_p": float("inf")}, {"width": float("nan")}, {"charge": 1}, +]) +def test_invalid_declarations_refuse_before_column_compilation(prepared: PreparedDevice, monkeypatch: pytest.MonkeyPatch, + changes: dict[str, Any]) -> None: + def forbidden(*args: Any, **kwargs: Any) -> Any: + raise AssertionError("invalid grain reached coefficient compilation") + monkeypatch.setattr("solarlab.device.compile_2d.compile_device_1d", forbidden) + with pytest.raises(ValueError): + compile_device_2d(prepared, spatial([grain(**changes)])) + + +@pytest.mark.parametrize("other", [grain(), grain(id="grain_b", x_position="0.45 um")]) +def test_duplicate_ids_and_physical_overlap_refused(prepared: PreparedDevice, other: dict[str, Any]) -> None: + with pytest.raises(ValueError, match="duplicate|overlapping"): + grain_declarations(prepared, spatial([grain(), other])) + + +def test_layer_ids_are_authoritative_and_role_is_retained_provenance(prepared: PreparedDevice, baseline: CompiledDevice2D) -> None: + binding = bind_grain_regions_2d(prepared, spatial([grain(source_layer_role="HTL")]), baseline.geometry) + assert binding is not None + assert binding.regions[0].declaration.source_layer_role == "HTL" + np.testing.assert_array_equal(binding.regions[0].y_mask, np.isin(np.arange(13), [5, 6, 7, 8])) + + +def test_compile_binds_grains_and_retains_physical_material_and_charge(prepared: PreparedDevice, baseline: CompiledDevice2D) -> None: + d = compile_device_2d(prepared, spatial([grain()])) + assert d.grain_recombination is not None + assert d.identity != baseline.identity and d.column.identity == baseline.column.identity + assert d.grain_recombination.regions[0].y_mask[8] + assert baseline.column.parameters.layer_masks[2][8] # RIGHT_LAYER_WINS: ETL material. + for name in ("ni_sq_m6", "n1_m3", "p1_m3", "tau_n_s", "tau_p_s", "radiative_m3_s", "auger_n_m6_s", "auger_p_m6_s"): + np.testing.assert_array_equal(getattr(d.recombination.coefficients, name), getattr(baseline.recombination.coefficients, name)) + _, u = coordinates(d, lateral=True) + _, n, p = d.fields(u, voltage_V=.002) + np.testing.assert_array_equal(d.charge_ledger(n, p).space_charge_C_m3(), baseline.charge_ledger(n, p).space_charge_C_m3()) + np.testing.assert_array_equal(d.generation_source_m3_s, baseline.generation_source_m3_s) + inherited = compile_device_2d(with_device_grains(prepared), spatial_input()) + assert inherited.grain_recombination is not None + np.testing.assert_array_equal(inherited.grain_recombination.regions[0].fractions, d.grain_recombination.regions[0].fractions) + + +def test_no_grain_path_has_exact_original_identity_and_algebra(prepared: PreparedDevice, baseline: CompiledDevice2D) -> None: + # Independent reconstruction of the original no-grain identity expression. + declaration = spatial_input().model_dump_json() + expected = hashlib.sha256(json.dumps(("classical_mb_fixed_reservoir_neumann_2d_dc_v1", prepared.content_sha256, + baseline.column.identity, baseline.geometry.sha256, baseline.generation_y.binding_sha256, declaration), + separators=(",", ":")).encode()).hexdigest() + assert baseline.identity == expected and baseline.grain_recombination is None + cleared = compile_device_2d(with_device_grains(prepared), spatial([])) + assert cleared.grain_recombination is None + _, u = coordinates(baseline, lateral=True) + p0, p1 = DC2DProblem(baseline, .002, 1), DC2DProblem(cleared, .002, 1) + for a, b in ((p0.residual(u), p1.residual(u)), (p0.jacobian(u).toarray(), p1.jacobian(u).toarray()), + (p0.terminal_current_A_m(u), p1.terminal_current_A_m(u))): + np.testing.assert_array_equal(a, b) + + +@pytest.mark.parametrize("potential_only", [False, True]) +def test_full_grain_jacobian_and_volumetric_source_units(prepared: PreparedDevice, baseline: CompiledDevice2D, + potential_only: bool) -> None: + d = compile_device_2d(prepared, spatial([grain()])) + problem, bulk = DC2DProblem(d, .002, 0), DC2DProblem(baseline, .002, 0) + _, u = coordinates(d, lateral=True) + # Constant quasi-Fermi coordinates make SG transport exactly zero. This + # isolates the volumetric source without subtracting a small SRH change + # from large off-steady transport rows (a cancellation-prone oracle). + source_u = u.copy() + source_u[d.node_count:2*d.node_count] = .3 + source_u[2*d.node_count:] = -.2 + _, n, p = d.fields(source_u, voltage_V=.002) + delta = problem.recombination_rate(n, p).rate - bulk.recombination_rate(n, p).rate + expected = -delta * d.geometry.contract_geometry.volumes # [m^-3/s]*[m²] -> [1/(m s)]. + expected[d.geometry.contact_nodes] = 0 + residual_delta = (problem.residual(source_u) - bulk.residual(source_u)).reshape(3, -1) + np.testing.assert_array_equal(residual_delta[0], np.zeros(d.node_count)) + for block in residual_delta[1:]: + np.testing.assert_allclose(block, expected, rtol=2e-14, atol=0) + matrix = problem.jacobian(u) + rng = np.random.default_rng(772) + direction = np.r_[.02*rng.normal(size=d.node_count), rng.normal(size=2*d.node_count)] + if potential_only: + direction[d.node_count:] = 0 + h = 2e-4 + numerical = (problem.residual(u-2*h*direction)-8*problem.residual(u-h*direction) + + 8*problem.residual(u+h*direction)-problem.residual(u+2*h*direction))/(12*h) + scale = np.maximum(abs(matrix) @ abs(direction), 1e-20) + assert np.max(abs(numerical-matrix@direction)/scale) < 2e-8 + + +@pytest.mark.parametrize("changes", [{"width": "0.2 um"}, {"x_position": "0.6 um"}, + {"tau_n": "0.3 us"}, {"tau_p": "0.6 us"}, {"layer_ids": ["etl"]}]) +def test_active_identity_tracks_every_physical_grain_input(prepared: PreparedDevice, changes: dict[str, Any]) -> None: + first = compile_device_2d(prepared, spatial([grain()])) + changed = compile_device_2d(prepared, spatial([grain(**changes)])) + assert first.identity != changed.identity + assert first.grain_recombination.model_id != changed.grain_recombination.model_id + + +def test_example_algebra_and_lossless_reader_without_solver(tmp_path: Path, monkeypatch: pytest.MonkeyPatch) -> None: + from examples.research_2d import grains as example + from solarlab.experiments.transient_results import _encode + def forbidden(*args: Any, **kwargs: Any) -> Any: + raise AssertionError("algebra/read must not launch any Newton solve") + monkeypatch.setattr(example, "solve_steady_state", forbidden) + monkeypatch.setattr(example, "solve_steady_state_2d", forbidden) + path = tmp_path / "GrainAlgebra.json" + result = example.algebra(path) + assert result["newton_calls"] == 0 and result["directional_relative_error"] < 2e-8 + monkeypatch.setattr(example, "compile_device_2d", forbidden) + reread = example.read_result(path, hashlib.sha256(path.read_bytes()).hexdigest()) + assert json.dumps(_encode(reread), sort_keys=True) == json.dumps(_encode(result), sort_keys=True) + reread["grain_binding"]["regions"][0]["represented_area_m2"] *= 2 + raw = json.dumps(_encode(reread)).encode() + path.write_bytes(raw) + with pytest.raises(ValueError, match="represented area"): + example.read_result(path, hashlib.sha256(raw).hexdigest()) + with pytest.raises(ValueError, match="SHA-256"): + example.read_result(path, "0"*64) + + +def test_saved_native_grain_result_reuse_without_resimulation(monkeypatch: pytest.MonkeyPatch) -> None: + """Explicit opt-in saved witness; the default test path never simulates it.""" + from examples.research_2d import grains as example + saved = os.environ.get("SOLARLAB_GRAIN_2D_SAVED_RESULT") + digest = os.environ.get("SOLARLAB_GRAIN_2D_SAVED_SHA256") + if saved is None or digest is None: + pytest.skip("explicit saved grain2D result and SHA are required; no automatic native run") + def forbidden(*args: Any, **kwargs: Any) -> Any: + raise AssertionError("saved-result tests must not compile or solve") + for name in ("compile_device_2d", "solve_steady_state", "solve_steady_state_2d"): + monkeypatch.setattr(example, name, forbidden) + result = example.read_result(Path(saved), digest) + assert result["completed"] and result["accepted"] and not result["qualification"] + assert result["full_2d_newton_calls"] == 1 and result["auxiliary_1d_seed_calls"] == 1 + assert not result["auxiliary_seed_is_2d_completion"] + diagnostics = result["result_2d"]["diagnostics"] + assert np.max(abs(diagnostics["lateral_current_density_A_m2"])) > 0 + shape = tuple(result["geometry"]["shape_Ny_Nx"]) + assert len(diagnostics["original_rows"]) == 3*int(np.prod(shape)) diff --git a/tests/integration/test_grain_jv_2d.py b/tests/integration/test_grain_jv_2d.py new file mode 100644 index 00000000..81e87fdb --- /dev/null +++ b/tests/integration/test_grain_jv_2d.py @@ -0,0 +1,183 @@ +"""Explicit grain initial/model admission and saved-only shared-driver checks.""" + +from dataclasses import replace +import hashlib +import json +import os +from pathlib import Path + +import numpy as np +import pytest +from threadpoolctl import threadpool_limits + +from examples.research_1d.steady import load_device +from examples.research_2d import grain_jv, grains +from examples.research_2d.dc_assembly import coordinates, spatial_input +from solarlab.device.compile_2d import compile_device_2d +from solarlab.equations.dc_2d import DC2DProblem +from solarlab.experiments.jv import steady_2d as driver +from solarlab.experiments.transient_results import _decode, _encode +from solarlab.physics.recombination.reaction import BulkRecombinationReaction + +INITIAL_SHA = "314e3b497ef71a686110885bc2bca3d5e2e2f1d6c5220ca70c76a7caf07ad154" + + +@pytest.fixture(scope="module", autouse=True) +def blas1(): + with threadpool_limits(limits=1): + yield + + +@pytest.fixture(scope="module") +def device(): + return compile_device_2d(load_device(), grains.spatial_input()) + + +@pytest.fixture(scope="module") +def initial_path(): + value = os.environ.get("SOLARLAB_GRAIN_JV_INITIAL") + if value is None: + pytest.skip("bind accepted314 grain initial explicitly; no cold substitute") + return Path(value) + + +@pytest.fixture +def model_matched_fixture(device, initial_path): + """Synthetic model relocation; preserve historical source labels and314 fields.""" + record = _decode(json.loads(initial_path.read_bytes())) + # Example source paths participate in identity. Rebind this in-memory test + # fixture after relocation; never change the original numerical artifact. + record["compiled_identity"] = device.identity + record["result_2d"]["compiled_identity"] = device.identity + record["result_2d"]["state"]["device_sha256"] = device.identity + record["fixture_scope"] = "pure source-admission fixture, not fresh numerical evidence" + return record + + +def test_current_source_grain_admission_rechecks_full_rows_without_solver(device, model_matched_fixture, monkeypatch): + monkeypatch.setattr(driver, "solve_steady_state_2d", lambda *a, **k: pytest.fail("admission solved")) + text = json.dumps(_encode(model_matched_fixture)) + state, generation, _ = driver._admit(device, text, hashlib.sha256(text.encode()).hexdigest(), driver.SteadyJV2DOptions().steady) + assert state.u.shape == (195,) and generation == 1.0 and state.voltage_V == .002 + model = driver._grain_model(device) + assert model["model_id"] == device.grain_recombination.model_id + np.testing.assert_array_equal(state.u, model_matched_fixture["result_2d"]["state"]["u"]) + assert model["regions"][0]["declaration"] == model_matched_fixture["grain_binding"]["regions"][0]["declaration"] + + +def test_historical_source_drift_keeps_same_model_physical_admission(device, model_matched_fixture, monkeypatch): + monkeypatch.setattr(driver, "solve_steady_state_2d", lambda *a, **k: pytest.fail("source drift admission solved")) + saved_sources = dict(model_matched_fixture["result_2d"]["source_sha256"]) + text = json.dumps(_encode(model_matched_fixture)) + state, generation, checks = driver._admit(device, text, hashlib.sha256(text.encode()).hexdigest(), driver.SteadyJV2DOptions().steady) + assert state.u.shape == (195,) and generation == 1.0 and all(c.passed for c in checks) + assert model_matched_fixture["result_2d"]["source_sha256"] == saved_sources + + +def test_grain_saved_source_tampering_refused_and_inventory_does_not_enable_grain(device, model_matched_fixture): + model_matched_fixture["source_sha256"]["solarlab.device.grain_2d"] = "wrong" + text = json.dumps(_encode(model_matched_fixture)) + with pytest.raises(ValueError, match="SHA-256|saved grain"): + driver._admit(device, text, hashlib.sha256(text.encode()).hexdigest(), driver.SteadyJV2DOptions().steady) + ordinary = compile_device_2d(load_device(), spatial_input()) + from solarlab.reproducibility.job_provenance import job_provenance, admitted_source_pins + from support.provenance import checked_provenance_owner + with checked_provenance_owner(), job_provenance({"compiled_identity": ordinary.identity}, operator="DC2DProblem"): + pins = admitted_source_pins() + assert "solarlab.device.grain_2d" in pins + assert driver._grain_model(ordinary) is None + assert driver._grain_model(device)["model_id"] == device.grain_recombination.model_id + + + +def test_grain_reference_rebase_preserves_density_and_full_lateral_fields(device, initial_path): + raw = _decode(json.loads(initial_path.read_bytes())) + state = device.state(raw["result_2d"]["state"]["u"], voltage_V=.002) + rebased = driver._rebase(device, state, .025) + np.testing.assert_array_equal(rebased.potential_V, state.potential_V) + for name in ("electron_density_m3", "hole_density_m3"): + np.testing.assert_allclose(getattr(rebased, name), getattr(state, name), rtol=3e-14, atol=0.0) + assert rebased.device_sha256 == state.device_sha256 and rebased.u.shape == (195,) + assert np.max(np.ptp(state.electron_density_m3, axis=1)) > 0.0 + + +@pytest.mark.parametrize("change", ["model", "fraction", "failure", "auxiliary"]) +def test_changed_grain_model_or_unaccepted_initial_refused_before_solver(device, model_matched_fixture, monkeypatch, change): + monkeypatch.setattr(driver, "solve_steady_state_2d", lambda *a, **k: pytest.fail("invalid admission solved")) + record = model_matched_fixture + if change == "model": + record["grain_binding"]["model_id"] = "wrong" + elif change == "fraction": + record["grain_binding"]["regions"][0]["fractions"][5, 1] += .001 + elif change == "failure": + record["result_2d"]["accepted"] = False + else: + record["full_2d_newton_calls"] = 0 + text = json.dumps(_encode(record)) + with pytest.raises(ValueError): + driver._admit(device, text, hashlib.sha256(text.encode()).hexdigest(), driver.SteadyJV2DOptions().steady) + + +def test_no_grain_device_refuses_grain_initial_and_explicit_clear_preserves_no_grain_path(initial_path): + prepared = load_device() + ordinary = compile_device_2d(prepared, spatial_input()) + cleared_data = grains.spatial_input().editing_data() + cleared_data["microstructure"]["grain_boundaries"] = [] + from solarlab.experiments.two_dimensional.inputs import JV2DInput + cleared = compile_device_2d(prepared, JV2DInput.model_validate(cleared_data)) + assert driver._grain_model(ordinary) is None and driver._grain_model(cleared) is None + _, u = coordinates(ordinary, lateral=True) + for voltage in (.002, .025): + np.testing.assert_array_equal(DC2DProblem(ordinary, voltage, 1.0).residual(u), + DC2DProblem(cleared, voltage, 1.0).residual(u)) + with pytest.raises(ValueError, match="neutral grain"): + driver.load_steady_jv_2d_initial(ordinary, initial_path, INITIAL_SHA) + + +def test_zero_effect_grain_lifetimes_do_not_change_rate_or_density_partials(device): + """Algebra-only uniform lifetime fixture, no numerical acceptance claim.""" + coeff = replace(device.recombination.coefficients, tau_n_s=np.full(65, .5e-6), tau_p_s=np.full(65, .25e-6)) + _, u = coordinates(device, lateral=True) + _, n, p = device.fields(u, voltage_V=.002) + bulk = BulkRecombinationReaction(coeff).evaluate(n, p) + mixed = device.grain_recombination.evaluate(bulk, coeff) + for name in ("rate", "d_rate_dn", "d_rate_dp"): + np.testing.assert_array_equal(getattr(mixed, name), getattr(bulk.total, name)) + driver._scope(device) + + +def test_actual_grain_provenance_round_trip_and_wrong_fraction_refusal(device): + g = device.geometry + geometry = {"identity": g.sha256, "shape_Ny_Nx": g.shape, + "cell_areas_m2": g.contract_geometry.volumes, "grain_model": driver._grain_model(device)} + driver._read_grain_model(geometry) + geometry = _decode(json.loads(json.dumps(_encode(geometry)))) + geometry["grain_model"]["regions"][0]["fractions"][5, 1] += .001 + with pytest.raises(ValueError, match="fraction/area"): + driver._read_grain_model(geometry) + + +def test_saved_grain_curve_and_baseline_comparison_have_no_solver(device, monkeypatch): + path, sha = os.environ.get("SOLARLAB_GRAIN_JV_RESULT"), os.environ.get("SOLARLAB_GRAIN_JV_SHA256") + baseline, baseline_sha = os.environ.get("SOLARLAB_GRAIN_JV_BASELINE"), os.environ.get("SOLARLAB_GRAIN_JV_BASELINE_SHA256") + if any(value is None for value in (path, sha, baseline, baseline_sha)): + pytest.skip("bind the sole actual grain curve and accepted no-grain archive; no rerun") + monkeypatch.setattr(grain_jv, "compile_device_2d", lambda *a, **k: pytest.fail("saved grain reader compiled")) + monkeypatch.setattr(grain_jv, "run_steady_jv_2d", lambda *a, **k: pytest.fail("saved grain reader solved")) + record = driver.read_steady_jv_2d(Path(path), sha) + result = record["result"] + assert result["geometry"]["grain_model"]["model_id"] == device.grain_recombination.model_id + np.testing.assert_array_equal(result["requested_voltage_V"], np.linspace(0.0, 1.25, 51)) + initial = Path(result["initial_provenance"]["source_path"]) + assert result["initial_provenance"]["source_sha256"] == hashlib.sha256(initial.read_bytes()).hexdigest() + assert result["initial_provenance"]["grain_source_admission"]["current_original_gate_revalidation"] + assert result["initial_provenance"]["grain_source_admission"]["exact_source_match"] + for attempt in result["attempts"]: + if attempt["accepted"]: + assert all(check["passed"] for check in attempt["solution"]["checks"]) + assert tuple(attempt["solution"]["diagnostics"]["original_rows"]) == tuple(range(195)) + value = grain_jv.summary(record) + assert value["accepted_points"] == len(result["voltage_V"]) and value["qualification"] is False + comparison = grain_jv.compare_saved(Path(path), sha, Path(baseline), baseline_sha) + assert comparison["new_numerical_solves"] == 0 and comparison["qualification"] is False + assert result["incident_power_W_m2"] is None and result["metrics"]["efficiency"] is None diff --git a/tests/integration/test_immobile_ions_1d.py b/tests/integration/test_immobile_ions_1d.py new file mode 100644 index 00000000..66ef299d --- /dev/null +++ b/tests/integration/test_immobile_ions_1d.py @@ -0,0 +1,211 @@ +"""Declared per-cell immobile profiles, full gradients and native storage.""" + +from __future__ import annotations + +from dataclasses import replace +import math +from types import SimpleNamespace + +import numpy as np +import pytest +from threadpoolctl import threadpool_limits + +from examples.research_1d.immobile_ions import prepare_immobile_ion_device +from examples.research_1d.ionic_multilayer import prepare_confined_ion_device, prepare_confined_dual_ion_device +from examples.research_1d.shared_site_ionic_fixture import prepare_confined_shared_site_ion_device +from solarlab.device.compile_ionic_1d import compile_ionic_device_1d +from solarlab.equations.dc_1d import CapabilityError +from solarlab.equations.ionic_1d import Ionic1DProblem +from solarlab.equations.ionic_closure import ( + declared_immobile_profiles, immobile_profile_binding, ion_mobility_partition, + ionic_closure_residual, ionic_closure_jacobian, +) +from solarlab.solvers.nonlinear.ionic_1d import ConstrainedIonic1DProblem, ionic_steady_control_record, checks as ionic_checks, diagnostics as ionic_diagnostics +from solarlab.equations.ionic_small_signal import build_ionic_small_signal +from examples.research_1d.ionic_steady import controls + + +@pytest.fixture(scope="module", autouse=True) +def blas1(): + with threadpool_limits(limits=1): + yield + + +def compile_case(prepared, single=False): + if single: + return compile_ionic_device_1d(prepared, intervals_per_layer=4) + return compile_ionic_device_1d(prepared, intervals_per_layer=(4, 4, 4), + ion_domain_layer="absorber", ion_domain_endpoints=("blocking", "blocking")) + + +@pytest.fixture(scope="module", params=["shared_mixed", "shared_full", "single"]) +def case(request): + device = compile_case(prepare_immobile_ion_device(request.param), request.param == "single") + problem = Ionic1DProblem(device, voltage_V=0.002) + y = device.initial_state(voltage_V=0.002).u.copy() + for index, block in enumerate(device.ion_species_slices): + y[block] = np.linspace(-0.1, 0.08, device.ion_node_count) + index * 0.03 + return device, problem, y + + +def test_exact_partition_and_declared_profile_do_not_depend_on_guess(case): + device, problem, y = case + mobile, immobile = ion_mobility_partition(device) + assert immobile + profiles = declared_immobile_profiles(device) + binding = immobile_profile_binding(device) + assert binding is not None and binding["compiled_identity"] == device.identity + assert binding["rule"] == "declared_per_cell_zero_diffusivity_profile_v1" + unchanged = immobile_profile_binding(device) + for species, density, block in zip(device.ion_species_names, device.fields_by_species(y, voltage_V=0.002)[3], device.ion_species_slices): + if species in immobile: + reference = getattr(device, species + "_ion_reference_m3") + np.testing.assert_array_equal(profiles[species], reference) + assert np.any(density != reference) + np.testing.assert_array_equal(problem.residual(y)[block], np.zeros(device.ion_node_count)) + with pytest.raises(ValueError): + profiles[species].setflags(write=True) + y[device.ion_species_slices[-1]] += 0.01 + assert immobile_profile_binding(device) == unchanged + assert set(mobile).isdisjoint(immobile) + + +def test_every_immobile_cell_has_full_physical_gradient(case): + device, problem, y = case + profiles = declared_immobile_profiles(device) + original, constrained = problem.residual(y), ionic_closure_residual(problem, y, 0) + J, K = ionic_closure_jacobian(problem, y, 0), problem.storage_jacobian(y) + np.testing.assert_array_equal(constrained[:3 * device.node_count], original[:3 * device.node_count]) + for species, density, block in zip(device.ion_species_names, device.fields_by_species(y, voltage_V=0.002)[3], device.ion_species_slices): + if species in profiles: + np.testing.assert_array_equal(constrained[block], device.ion_geometry.cell_measures_m * (density - profiles[species])) + np.testing.assert_array_equal(J[block, :].toarray(), -K[block, :].toarray()) + if device.ion_site_contract == "shared_finite_sites": + other = device.ion_species_slices[1 - device.ion_species_names.index(species)] + assert J[block, other].nnz == device.ion_node_count + else: + inventory = math.fsum((device.ion_geometry.cell_measures_m * density).tolist()) + target = math.fsum((device.ion_geometry.cell_measures_m * getattr(device, species + "_ion_reference_m3")).tolist()) + assert constrained[block.start] == inventory - target + np.testing.assert_array_equal(constrained[block.start + 1:block.stop], original[block.start + 1:block.stop]) + + +def test_wired_steady_profile_metadata_checks_and_AC_full_local_rows(case): + device, problem, y = case + steady = ConstrainedIonic1DProblem(problem, 0) + np.testing.assert_array_equal(steady.residual(y), ionic_closure_residual(problem, y, 0)) + np.testing.assert_array_equal(steady.jacobian(y).toarray(), ionic_closure_jacobian(problem, y, 0).toarray()) + options = controls(device.ion_node_count) + record = ionic_steady_control_record(device, options) + assert record["ion_closure"] == immobile_profile_binding(device) + checked = ionic_checks(ionic_diagnostics(steady, y), options) + for species in steady.immobile_species: + item = next(item for item in checked if item.name == species + "_immobile_profile_relative_error") + assert not item.passed and item.limit == options.inventory_relative_tolerance + state = device.state(y, voltage_V=problem.voltage_V) + operator = build_ionic_small_signal(device, state) + zero = operator.system(0.0, voltage_phasor_V=2e-6 + 1e-6j) + finite = operator.system(1.0, voltage_phasor_V=2e-6 + 1e-6j) + K = operator.storage_jacobian + for species, block in zip(device.ion_species_names, device.ion_species_slices): + if species in steady.immobile_species: + assert zero.immobile_constraint_rows[species] == tuple(range(block.start, block.stop)) + np.testing.assert_array_equal(zero.jacobian[block, :].toarray(), -K[block, :].toarray()) + assert zero.storage_jacobian[block, :].nnz == 0 + assert np.count_nonzero(zero.rhs[block]) == np.count_nonzero(zero.rhs_rate[block]) == 0 + np.testing.assert_array_equal(finite.storage_jacobian[block, :].toarray(), K[block, :].toarray()) + else: + assert species in zero.constraint_rows + assert zero.original_rows_enforced == tuple(range(device.state_size)) + + +def test_complete_closure_has_independent_represented_directional_derivative(case): + device, problem, y = case + rng = np.random.default_rng(40781) + d = rng.uniform(-0.1, 0.1, device.state_size) + d[:device.node_count] *= device.electronic_component.thermal_voltage_V + h = 5e-5 + plus, minus = y + h * d, y - h * d + represented = (plus - minus) / (2 * h) + finite = (ionic_closure_residual(problem, plus, 0) - ionic_closure_residual(problem, minus, 0)) / (2 * h) + J = ionic_closure_jacobian(problem, y, 0) + scale = abs(J) @ abs(d) + error = float(np.max(abs(finite - J @ represented) / np.maximum(scale, np.finfo(float).tiny))) + print(f"immobile closure {device.ion_species_names}: full directional {error:.9g}") + assert error < 2e-7 + + +def test_native_time_storage_and_all_zero_D_balances_remain_present(case): + device, problem, y = case + dot = np.zeros(device.state_size) + dot[3 * device.node_count:] = np.linspace(-0.2, 0.15, device.state_size - 3 * device.node_count) + K = problem.storage_jacobian(y) + native = problem.residual(y, dot) + for species, block in zip(device.ion_species_names, device.ion_species_slices): + if species in declared_immobile_profiles(device): + np.testing.assert_allclose(native[block], (K @ dot)[block], rtol=2e-13, atol=0.0) + assert np.max(abs(native[block])) > 0.0 + assert np.all(K.diagonal()[block] < 0.0) + + +@pytest.mark.parametrize("factory", [prepare_confined_ion_device, prepare_confined_dual_ion_device, prepare_confined_shared_site_ion_device]) +def test_positive_D_original_residual_and_J_are_identical(factory): + device = compile_case(factory()) + problem = Ionic1DProblem(device, voltage_V=0.002) + original = ConstrainedIonic1DProblem(problem, 0) + y = device.initial_state(voltage_V=0.002).u.copy() + for block in device.ion_species_slices: + y[block] = np.linspace(-0.05, 0.03, device.ion_node_count) + assert declared_immobile_profiles(device) == {} and immobile_profile_binding(device) is None + np.testing.assert_array_equal(ionic_closure_residual(problem, y, 0), original.residual(y)) + np.testing.assert_array_equal(ionic_closure_jacobian(problem, y, 0).toarray(), original.jacobian(y).toarray()) + + +def test_global_inventory_cannot_hide_a_wrong_local_immobile_profile(): + device = compile_case(prepare_immobile_ion_device("shared_mixed")) + y = device.initial_state(voltage_V=0.002).u.copy() + P, N = device.positive_ion_reference_m3.copy(), device.negative_ion_reference_m3.copy() + widths = device.ion_geometry.cell_measures_m + change = np.zeros(device.ion_node_count) + change[1] = 0.005 * N[1] + change[-2] = -widths[1] * change[1] / widths[-2] + N += change + vacancy = device.positive_ion_site_limit_m3 - P - N + plus, minus = device.ion_species_slices + y[plus] = np.log(P / vacancy) - device.positive_ion_logit_reference + y[minus] = np.log(N / vacancy) - device.negative_ion_logit_reference + physical = device.fields_by_species(y, voltage_V=0.002)[3][1] + global_error = abs(math.fsum((widths * (physical - device.negative_ion_reference_m3)).tolist())) + assert global_error < 1e-12 * device.negative_reference_inventory_m2 + local = ionic_closure_residual(Ionic1DProblem(device, 0.002), y, 0)[minus] + assert np.max(abs(local)) > 1e-4 * device.negative_reference_inventory_m2 + + +def test_disconnected_face_pattern_remains_explicitly_unsupported(): + device = compile_case(prepare_confined_ion_device()) + faces = device.positive_ion_diffusivity_faces_m2_s.copy() + faces[1] = 0.0 + changed = replace(device, positive_ion_diffusivity_faces_m2_s=faces) + with pytest.raises(CapabilityError, match="disconnected"): + ion_mobility_partition(changed) + + +def test_AC_guard_rejects_equal_opposite_local_immobile_motion_without_a_solve(): + from solarlab.experiments.ionic_impedance import _checks as ac_checks, IonicImpedanceOptions + device = compile_case(prepare_immobile_ion_device("shared_mixed")) + perturbation = np.zeros(device.ion_node_count, dtype=complex) + widths = device.ion_geometry.cell_measures_m + perturbation[1] = 1e-6 * device.negative_ion_reference_m3[1] + perturbation[-2] = -widths[1] * perturbation[1] / widths[-2] + # Adversarial guard inputs, not a manufactured accepted frequency state. + observed = {"total_current_density_A_m2": np.zeros(device.node_count + 1, dtype=complex), + "original_componentwise_backward_error": 0.0, + "ion_density_perturbation_m3": {"positive": np.zeros(device.ion_node_count, dtype=complex), + "negative": perturbation}, + "immobile_density_perturbation_relative_per_V": {"negative": 0.0}} + diagnostics = ac_checks(device, observed, SimpleNamespace(componentwise_backward_error=0.0), + 1.0 + 0.0j, "mobile", IonicImpedanceOptions()) + global_check = next(item for item in diagnostics if item.name == "negative_inventory_relative_per_V") + local_check = next(item for item in diagnostics if item.name == "negative_immobile_density_relative_per_V") + assert global_check.passed and not local_check.passed + assert local_check.limit == 1e-12 and local_check.value >= 1e-6 diff --git a/tests/integration/test_impedance_1d.py b/tests/integration/test_impedance_1d.py new file mode 100644 index 00000000..c112747a --- /dev/null +++ b/tests/integration/test_impedance_1d.py @@ -0,0 +1,142 @@ +"""Actual accepted DC states, voltage tangents and Maxwell-current closure.""" + +from __future__ import annotations + +from copy import copy +from dataclasses import replace + +import numpy as np +import pytest +from threadpoolctl import threadpool_limits + +from examples.research_1d.steady import load_device +from solarlab.device.compile_1d import compile_device_1d +from solarlab.equations.dc_1d import DC1DProblem +from solarlab.experiments.impedance import _moving_voltage_partial, solve_impedance, voltage_reference_direction +from solarlab.solvers.nonlinear.steady_1d import SteadyOptions, solve_steady_state + + +@pytest.fixture(scope="module", autouse=True) +def blas1(): + with threadpool_limits(limits=1): + yield + + +@pytest.fixture(scope="module") +def case(): + compiled = compile_device_1d(load_device(), intervals_per_layer=12) + controls = SteadyOptions() + point = solve_steady_state(compiled, voltage_V=1.0, options=controls) + result = solve_impedance(compiled, point, [0.0, 1.0, 1000.0], steady_options=controls) + return compiled, point, controls, result + + +def test_actual_sparse_response_has_finite_fields_signed_currents_and_source_identity(case): + compiled, point, _, result = case + assert result.compiled_identity == compiled.identity + assert len(result.source_identity) == len(result.working_state_identity) == 64 + assert result.operating_voltage_V == point.voltage_V and result.generation_scale == point.generation_scale + assert result.voltage_phasor_V == 1.0 + assert result.potential_perturbation_V.shape == (3, compiled.node_count) + assert np.all(result.admittance_density_S_m2.real > 0.0) + assert result.admittance_density_S_m2[0].imag == 0.0 + assert np.all(result.admittance_density_S_m2[1:].imag > 0.0) + np.testing.assert_allclose(result.impedance_area_ohm_m2 * result.admittance_density_S_m2, 1.0, rtol=3e-15) + assert max(item.componentwise_backward_error for item in result.linear_solutions) < 1e-11 + assert np.max(result.maxwell_spread_A_m2_V) < 1e-8 + all_faces = np.c_[result.terminal_current_density_A_m2[:, :1], result.total_current_density_A_m2, + result.terminal_current_density_A_m2[:, 1:]] + np.testing.assert_allclose(all_faces, np.broadcast_to(all_faces[:, :1], all_faces.shape), rtol=0.0, atol=1e-8) + assert not result.electron_density_perturbation_m3.flags.writeable + + +def test_moving_reference_voltage_partial_has_an_independent_dc_derivative(case): + compiled, point, _, _ = case + u, voltage = point.state.u, point.voltage_V + problem = DC1DProblem(compiled, voltage, point.generation_scale) + analytical = _moving_voltage_partial(problem, u) + # A sixth-order centered estimate resolves saturated recombination's + # small derivative without subtracting almost identical plateau values + # at an unnecessarily tiny voltage step. + step = 1e-3 + estimates = [] + for width in (step, 2 * step, 4 * step): + plus = DC1DProblem(compiled, voltage + width, point.generation_scale).residual(u) + minus = DC1DProblem(compiled, voltage - width, point.generation_scale).residual(u) + estimates.append((plus - minus) / (2 * width)) + fourth = (4 * estimates[0] - estimates[1]) / 3 + fourth_wide = (4 * estimates[1] - estimates[2]) / 3 + numerical = (16 * fourth - fourth_wide) / 15 + # As for core F_y checks, cancellation-prone rows use their absolute + # directional conditioning rather than an unresolvable near-zero value. + scale = np.maximum(abs(problem.jacobian(u)) @ abs(voltage_reference_direction(compiled)) + abs(analytical), 1.0) + assert np.max(abs(numerical - analytical) / scale) < 2e-8 + + +def test_storage_voltage_drive_is_included_exactly_once(case): + compiled, point, _, result = case + problem = DC1DProblem(compiled, point.voltage_V, point.generation_scale) + J, K = problem.jacobian(point.state.u), problem.storage_jacobian(point.state.u) + c = voltage_reference_direction(compiled) + voltage_partial = _moving_voltage_partial(problem, point.state.u) + omega = 2 * np.pi * result.frequency_Hz[-1] + matrix = J + 1j * omega * K + rhs = -voltage_partial + 1j * omega * (K @ c) + y = result.moving_coordinate_perturbation[-1] + residual = matrix @ y - rhs + scale = abs(matrix) @ abs(y) + abs(rhs) + assert np.max(np.divide(abs(residual), scale, out=np.zeros_like(scale), where=scale != 0.0)) < 1e-11 + assert np.max(abs(K @ c)) > 0.0 + assert np.max(abs(matrix @ y + voltage_partial)) > 1e10 + np.testing.assert_array_equal(result.fixed_coordinate_perturbation, result.moving_coordinate_perturbation - c) + + +def test_zero_frequency_agrees_with_independent_small_bias_dc_differences(case): + compiled, point, controls, result = case + step = 5e-5 + plus = solve_steady_state(compiled, initial_state=point.state, voltage_V=point.voltage_V + step, + generation_scale=point.generation_scale, options=controls) + minus = solve_steady_state(compiled, initial_state=point.state, voltage_V=point.voltage_V - step, + generation_scale=point.generation_scale, options=controls) + derivative = compiled.voltage_polarity * (plus.contact_current_density_A_m2 - minus.contact_current_density_A_m2) / (2 * step) + np.testing.assert_allclose(result.admittance_density_S_m2[0], derivative, rtol=2e-6, atol=1e-5) + for actual, name, density in ( + (result.electron_density_perturbation_m3[0], "electron_density_m3", point.state.electron_density_m3), + (result.hole_density_perturbation_m3[0], "hole_density_m3", point.state.hole_density_m3), + ): + expected = (getattr(plus.state, name) - getattr(minus.state, name)) / (2 * step) + normalized_error = abs(actual - expected) / density + assert np.max(normalized_error) < 1e-4 + + +def test_linear_normalization_is_not_a_finite_amplitude_drive(case): + compiled, point, controls, result = case + voltage = 2e-6 * (1.0 + 0.5j) + scaled = solve_impedance(compiled, point, result.frequency_Hz, voltage_phasor_V=voltage, steady_options=controls) + np.testing.assert_allclose(scaled.admittance_density_S_m2, result.admittance_density_S_m2, rtol=2e-10) + np.testing.assert_allclose(scaled.potential_perturbation_V / voltage, result.potential_perturbation_V, rtol=2e-10, atol=1e-12) + + +def test_missing_failed_foreign_or_rebound_dc_states_are_rejected(case): + compiled, point, controls, _ = case + with pytest.raises(ValueError, match="accepted"): + solve_impedance(compiled, None, [1.0]) + with pytest.raises(ValueError, match="same compiled device|identity"): + solve_impedance(compile_device_1d(load_device(), intervals_per_layer=24), point, [1.0]) + failed = copy(point) + object.__setattr__(failed, "newton", replace(point.newton, accepted=False)) + with pytest.raises(ValueError, match="accepted"): + solve_impedance(compiled, failed, [1.0]) + with pytest.raises(ValueError, match="supplied DC"): + solve_impedance(compiled, point, [1.0], steady_options=replace(controls, continuity_tolerance_A_m2=2e-8)) + rebound = copy(point) + object.__setattr__(rebound, "newton", replace(point.newton, scaled_residual=point.newton.scaled_residual + 0.5)) + with pytest.raises(ValueError, match="supplied DC"): + solve_impedance(compiled, rebound, [1.0]) + + +@pytest.mark.parametrize("voltage", [0.0, np.nan, np.inf, complex(1.0, np.inf)]) +def test_invalid_voltage_normalizations_are_rejected(case, voltage): + compiled, point, _, _ = case + with pytest.raises(ValueError, match="finite and nonzero"): + solve_impedance(compiled, point, [1.0], voltage_phasor_V=voltage) diff --git a/tests/integration/test_impedance_finite_contacts.py b/tests/integration/test_impedance_finite_contacts.py new file mode 100644 index 00000000..997eb649 --- /dev/null +++ b/tests/integration/test_impedance_finite_contacts.py @@ -0,0 +1,105 @@ +"""Robin AC and endpoint storage under the accepted linear/current criteria.""" + +from __future__ import annotations + +import numpy as np +import pytest +from threadpoolctl import threadpool_limits + +from examples.research_1d.steady import load_device +from solarlab.config.resolve_device import resolve_device +from solarlab.device.compile_1d import compile_device_1d +from solarlab.device.inputs import DeviceInput +from solarlab.equations.dc_1d import DC1DProblem +from solarlab.experiments.impedance import _moving_voltage_partial, solve_impedance, voltage_reference_direction +from solarlab.solvers.nonlinear.steady_1d import solve_steady_state + + +@pytest.fixture(scope="module", autouse=True) +def blas1(): + with threadpool_limits(limits=1): + yield + + +@pytest.fixture(scope="module") +def robin(): + prepared = load_device() + document = prepared.to_input().editing_data() + document["settings"]["flat_band_contacts"] = True + prepared = resolve_device(DeviceInput.model_validate(document), prepared.defaults, + prepared.resources, sources=prepared.sources) + compiled = compile_device_1d(prepared, intervals_per_layer=12) + point = solve_steady_state(compiled, voltage_V=1.0) + result = solve_impedance(compiled, point, [0.0, 1.0, 1000.0, 1e6]) + return compiled, point, result + + +def test_robin_actual_frequencies_close_full_original_rows_and_all_maxwell_faces(robin): + compiled, point, result = robin + assert all(channel.kind == "robin" for channel in compiled.channels) + assert all(gate.passed for gate in point.physical_gates) + problem = DC1DProblem(compiled, point.voltage_V, point.generation_scale) + J, K = problem.jacobian(point.state.u), problem.storage_jacobian(point.state.u) + c = voltage_reference_direction(compiled) + voltage_partial = _moving_voltage_partial(problem, point.state.u) + all_faces = np.c_[result.terminal_current_density_A_m2[:, :1], result.total_current_density_A_m2, + result.terminal_current_density_A_m2[:, 1:]] + for index, solution in enumerate(result.linear_solutions): + omega = 2 * np.pi * solution.frequency_Hz + rhs = -voltage_partial + 1j * omega * (K @ c) + residual = (J + 1j * omega * K) @ solution.solution - rhs + np.testing.assert_array_equal(residual, solution.residual) + assert solution.componentwise_backward_error <= 1e-11 + spread = float(np.max(abs(all_faces[index] - all_faces[index, 0]))) + assert spread <= 1e-8 + 1e-10 * float(np.max(abs(all_faces[index]))) + assert np.all(result.admittance_density_S_m2.real > 0.0) + assert np.all(result.admittance_density_S_m2[1:].imag > 0.0) + + +def test_robin_zero_frequency_matches_both_terminal_dc_differences(robin): + compiled, point, result = robin + step = 5e-5 + plus = solve_steady_state(compiled, initial_state=point.state, voltage_V=point.voltage_V + step) + minus = solve_steady_state(compiled, initial_state=point.state, voltage_V=point.voltage_V - step) + expected = compiled.voltage_polarity * ( + plus.contact_current_density_A_m2 - minus.contact_current_density_A_m2 + ) / (2 * step) + actual = compiled.voltage_polarity * result.terminal_current_density_A_m2[0] + np.testing.assert_allclose(actual, expected, rtol=2e-6, atol=1e-5) + assert all(gate.passed for state in (plus, minus) for gate in state.physical_gates) + + +def test_robin_terminal_storage_is_required_at_original_high_frequency_trigger(robin): + compiled, _, result = robin + index = -1 + omega = 2 * np.pi * result.frequency_Hz[index] + charge = 1.602176634e-19 * ( + result.hole_density_perturbation_m3[index] - result.electron_density_perturbation_m3[index] + ) + widths = compiled.geometry.cell_measures_m + displacement = -compiled.poisson.face_capacitance_F_m2 * np.diff(result.potential_perturbation_V[index]) + expected = 1j * omega * np.array([ + displacement[0] - widths[0] * charge[0], displacement[-1] + widths[-1] * charge[-1], + ]) + np.testing.assert_allclose(result.terminal_displacement_current_density_A_m2[index], expected, rtol=3e-15) + omitted = result.terminal_conduction_current_density_A_m2[index] + 1j * omega * displacement[[0, -1]] + assert np.max(abs(omitted - result.terminal_current_density_A_m2[index])) > 1e-8 + + +def test_robin_complex_normalization_is_still_a_linear_derivative(robin): + compiled, point, result = robin + voltage = 2e-6 * (1 + 0.5j) + scaled = solve_impedance(compiled, point, result.frequency_Hz, voltage_phasor_V=voltage) + np.testing.assert_allclose(scaled.admittance_density_S_m2, result.admittance_density_S_m2, rtol=2e-10) + + +def test_one_accepted_fixed_reservoir_baseline_is_preserved(): + compiled = compile_device_1d(load_device(), intervals_per_layer=12) + point = solve_steady_state(compiled, voltage_V=1.0) + result = solve_impedance(compiled, point, [0.0, 1.0, 1000.0]) + expected = np.array([ + 21.0997362166 + 0j, 21.0997362166 + 0.00472437883213j, + 21.0997369861 + 4.72437883213j, + ]) + np.testing.assert_allclose(result.admittance_density_S_m2, expected, rtol=2e-10) + assert np.max(result.maxwell_spread_A_m2_V) < 1e-8 diff --git a/tests/integration/test_impedance_selective_contacts.py b/tests/integration/test_impedance_selective_contacts.py new file mode 100644 index 00000000..45df0603 --- /dev/null +++ b/tests/integration/test_impedance_selective_contacts.py @@ -0,0 +1,231 @@ +"""Bounded selective AC, sparse anchor derivatives and closed-carrier scope.""" + +from __future__ import annotations + +from decimal import Decimal, localcontext + +import numpy as np +import pytest +from threadpoolctl import threadpool_limits + +from examples.research_1d.steady import load_device +from solarlab.config.resolve_device import resolve_device +from solarlab.device.compile_1d import compile_device_1d +from solarlab.device.inputs import DeviceInput +from solarlab.equations.dc_1d import DC1DProblem +from solarlab.experiments.impedance import ( + _reference_anchor_system, _uniform_carrier_partial, solve_impedance, +) +from solarlab.physics.contacts.boundary_flux import boundary_particle_flux +from solarlab.solvers.nonlinear.steady_1d import solve_equilibrium, solve_steady_state + +Q = 1.602176634e-19 + + +@pytest.fixture(scope="module", autouse=True) +def blas1(): + with threadpool_limits(limits=1): + yield + + +def device(kind="selective", reverse=False, closed=None): + prepared = load_device() + data = prepared.to_input().editing_data() + if reverse: + data["layers"] = list(reversed(data["layers"])) + if kind == "mixed": + velocities = ((None, 0.0), (None, 200.0)) if reverse else ((0.0, None), (200.0, None)) + else: + velocities = ((200.0, 0.0), (0.0, 200.0)) if reverse else ((0.0, 200.0), (200.0, 0.0)) + if closed is not None: + velocities = ((0.0, 200.0), (0.0, 200.0)) if closed == "n" else ((200.0, 0.0), (200.0, 0.0)) + data["contacts"] = [ + dict(id=side, side=side, layer=layer["id"], S_n=values[0], S_p=values[1]) + for side, layer, values in zip(("left", "right"), (data["layers"][0], data["layers"][-1]), velocities) + ] + prepared = resolve_device(DeviceInput.model_validate(data), prepared.defaults, prepared.resources, sources=prepared.sources) + return compile_device_1d(prepared, intervals_per_layer=12) + + +@pytest.fixture(scope="module") +def selective(): + compiled = device() + point = solve_steady_state(compiled, voltage_V=1.0) + response = solve_impedance(compiled, point, [0.0, 1.0, 1000.0, 1e6]) + return compiled, point, response + + +def _d(value): + return Decimal.from_float(float(value)) + + +def _bernoulli(value): + return Decimal(1) if value == 0 else value / (value.exp() - 1) + + +def _scalar_rate(n, p, coefficients, node): + net = n * p - _d(coefficients.ni_sq_m6[node]) + tn, tp = _d(coefficients.tau_n_s[node]), _d(coefficients.tau_p_s[node]) + srh = Decimal(0) + if tn.is_finite() and tp.is_finite(): + denominator = tp * (n + _d(coefficients.n1_m3[node])) + tn * (p + _d(coefficients.p1_m3[node])) + srh = net / denominator + radiative = _d(coefficients.radiative_m3_s[node]) * net + auger = (_d(coefficients.auger_n_m6_s[node]) * n + _d(coefficients.auger_p_m6_s[node]) * p) * net + return srh + radiative + auger + + +def _rate_condition(n, p, c, node, carrier): + product = n * p + net = product - _d(c.ni_sq_m6[node]) + tn, tp = _d(c.tau_n_s[node]), _d(c.tau_p_s[node]) + bound = _d(c.radiative_m3_s[node]) * product + if tn.is_finite() and tp.is_finite(): + denominator = tp * (n + _d(c.n1_m3[node])) + tn * (p + _d(c.p1_m3[node])) + capture = tp * n if carrier == "n" else tn * p + bound += product / denominator + abs(net) * capture / denominator**2 + cn, cp = _d(c.auger_n_m6_s[node]), _d(c.auger_p_m6_s[node]) + bound += (cn * n if carrier == "n" else cp * p) * abs(net) + (cn * n + cp * p) * product + return bound + + +def _decimal_directional_column(problem, u, carrier): + """90-digit scalar differentiation of the declared production rate/SG laws. + + Captured binary64 densities, coefficients and drives are embedded exactly; + the uniform shift is differentiated in Decimal, not through real wrappers. + Conditioning includes the SRH quotient's cancelling numerator terms. + """ + compiled = problem.device + count = compiled.node_count + assert compiled.additional_recombination is None + _, n_float, p_float = compiled.fields(u, voltage_V=problem.voltage_V) + fluxes = problem.fluxes(u) + coefficients = compiled.recombination.coefficients + with localcontext() as context: + context.prec = 90 + step = Decimal("1e-25") + n = [_d(value) for value in n_float] + p = [_d(value) for value in p_float] + rates = [] + densities = [] + for shift in (step, -step): + nt = [value * shift.exp() for value in n] if carrier == "n" else n + pt = [value * (-shift).exp() for value in p] if carrier == "p" else p + densities.append((nt, pt)) + rates.append([_scalar_rate(a, b, coefficients, node) for node, (a, b) in enumerate(zip(nt, pt))]) + rate_derivative = [(a - b) / (2 * step) for a, b in zip(*rates)] + dn = [(a - b) / (2 * step) for a, b in zip(densities[0][0], densities[1][0])] + dp = [(a - b) / (2 * step) for a, b in zip(densities[0][1], densities[1][1])] + result = [Decimal(0)] * (3 * count) + scale = [Decimal(0)] * (3 * count) + charge_widths = compiled.poisson.charge_jacobian() + for node in range(count): + result[node] = _d(Q) * _d(charge_widths[node]) * (dp[node] - dn[node]) + scale[node] = abs(result[node]) + for species, offset, flux, density, density_derivative, sign in ( + ("n", count, fluxes.electron, n, dn, 1), ("p", 2 * count, fluxes.hole, p, dp, -1), + ): + faces = [Decimal(0)] * (count - 1) + if species == carrier: + for face in range(count - 1): + drive = _d(sign * (u[offset + face + 1] - u[offset + face])) + energy = _d(flux.energy_step[face]) + upwind = _bernoulli(-energy) * density[face + 1] if drive >= 0 else -_bernoulli(energy) * density[face] + base = _d(flux.coefficient[face]) * ((-abs(drive)).exp() - 1) * upwind + faces[face] = (base * (sign * step).exp() - base * (-sign * step).exp()) / (2 * step) + padded = [Decimal(0), *faces, Decimal(0)] + for node in range(count): + width = _d(compiled.geometry.cell_measures_m[node]) + result[offset + node] = padded[node] - padded[node + 1] - width * rate_derivative[node] + scale[offset + node] = abs(padded[node]) + abs(padded[node + 1]) + width * _rate_condition(n[node], p[node], coefficients, node, carrier) + for side, node in (("left", 0), ("right", count - 1)): + channel = compiled.channel(species, side) + if channel.kind == "fixed_reservoir": + result[offset + node] = Decimal(sign if species == carrier else 0) + scale[offset + node] = abs(result[offset + node]) + else: + slope = _d(boundary_particle_flux(channel, channel.reservoir_density_m3).density_derivative) + value = (1 if side == "left" else -1) * slope * density_derivative[node] + result[offset + node] += value + scale[offset + node] += abs(value) + return np.asarray([float(value) for value in result]), np.asarray([float(value) for value in scale]) + + +@pytest.mark.parametrize("carrier", ["n", "p"]) +def test_uniform_anchor_columns_have_independent_90_digit_directional_check(selective, carrier): + compiled, point, _ = selective + problem = DC1DProblem(compiled, point.voltage_V, point.generation_scale) + actual = _uniform_carrier_partial(problem, point.state.u, carrier) + expected, conditioning = _decimal_directional_column(problem, point.state.u, carrier) + error = float(np.max(abs(actual - expected) / np.maximum(conditioning, np.finfo(float).tiny))) + assert error < 1e-12 + + +def test_anchor_basis_is_invertible_and_records_rounding_difference(selective): + compiled, point, _ = selective + problem = DC1DProblem(compiled, point.voltage_V, point.generation_scale) + J, K = problem.jacobian(point.state.u), problem.storage_jacobian(point.state.u) + shifted, mass, P, anchors = _reference_anchor_system(problem, point.state.u, J, K) + vector = np.linspace(-1.0, 1.0, 3 * compiled.node_count) + transformed = P @ vector + inverse = transformed.copy() + for offset, anchor in zip((compiled.node_count, 2 * compiled.node_count), anchors): + rows = np.arange(offset, offset + compiled.node_count) + inverse[rows] -= transformed[anchor] + inverse[anchor] = transformed[anchor] + np.testing.assert_allclose(inverse, vector, rtol=0.0, atol=3e-16) + np.testing.assert_array_equal(mass.toarray(), (K @ P).toarray()) + assert np.max(abs((shifted - J @ P).data)) > 0.0 + + +def _check_response(result): + faces = np.c_[result.terminal_current_density_A_m2[:, :1], result.total_current_density_A_m2, + result.terminal_current_density_A_m2[:, 1:]] + for index, solve in enumerate(result.linear_solutions): + assert solve.componentwise_backward_error <= 1e-11 + assert result.maxwell_spread_A_m2_V[index] <= 1e-8 + 1e-10 * float(np.max(abs(faces[index]))) + + +def test_selective_actual_frequencies_and_both_terminal_dc_difference(selective): + compiled, point, result = selective + _check_response(result) + step = 5e-5 + plus = solve_steady_state(compiled, initial_state=point.state, voltage_V=point.voltage_V + step) + minus = solve_steady_state(compiled, initial_state=point.state, voltage_V=point.voltage_V - step) + expected = compiled.voltage_polarity * (plus.contact_current_density_A_m2 - minus.contact_current_density_A_m2) / (2 * step) + actual = compiled.voltage_polarity * result.terminal_current_density_A_m2[0] + np.testing.assert_allclose(actual, expected, rtol=2e-6, atol=1e-5) + + +@pytest.mark.parametrize("kind, reverse", [("mixed", True)]) +def test_mixed_channels_and_supported_opposite_polarity(kind, reverse): + compiled = device(kind, reverse) + point = solve_steady_state(compiled, voltage_V=1.0) + result = solve_impedance(compiled, point, [0.0, 1000.0]) + _check_response(result) + assert result.voltage_polarity == (-1.0 if reverse else 1.0) + if kind == "mixed": + assert {channel.kind for channel in compiled.channels} == {"fixed_reservoir", "robin", "blocking"} + step = 5e-5 + plus = solve_steady_state(compiled, initial_state=point.state, voltage_V=1.0 + step) + minus = solve_steady_state(compiled, initial_state=point.state, voltage_V=1.0 - step) + expected = compiled.voltage_polarity * (plus.contact_current_density_A_m2 - minus.contact_current_density_A_m2) / (2 * step) + np.testing.assert_allclose(compiled.voltage_polarity * result.terminal_current_density_A_m2[0], expected, rtol=2e-6, atol=1e-5) + + +@pytest.mark.parametrize("kind, reverse", [("selective", True), ("mixed", False)]) +def test_remaining_mixed_polarity_counterexamples_refuse_unchanged_maxwell_limits(kind, reverse): + compiled = device(kind, reverse) + point = solve_steady_state(compiled, voltage_V=1.0) + with pytest.raises(ArithmeticError, match="Maxwell-current closure failed"): + solve_impedance(compiled, point, [0.0, 1000.0]) + assert point.converged and all(gate.passed for gate in point.physical_gates) + + +@pytest.mark.parametrize("carrier", ["n", "p"]) +def test_both_ends_blocked_zero_frequency_remains_unvalidated(carrier): + compiled = device(closed=carrier) + point = solve_equilibrium(compiled) + with pytest.raises(ValueError, match=f"zero-frequency {carrier} blocked at both ends is not validated"): + solve_impedance(compiled, point, [0.0, 1000.0]) diff --git a/tests/integration/test_ionic_1d.py b/tests/integration/test_ionic_1d.py new file mode 100644 index 00000000..057c9c7c --- /dev/null +++ b/tests/integration/test_ionic_1d.py @@ -0,0 +1,296 @@ +"""Bounded real prepared-ion assembly, inventory, storage and independent tangents.""" + +from __future__ import annotations + +from dataclasses import replace +import math +import os +from pathlib import Path +import subprocess +import sys + +import numpy as np +import pytest +from threadpoolctl import threadpool_limits + +from examples.research_1d.ionic_residual import prepare_single_ion_device +from examples.research_1d.steady import load_device +from solarlab.config.resolve_device import resolve_device +from solarlab.device.compile_ionic_1d import compile_ionic_device_1d +from solarlab.device.inputs import DeviceInput +from solarlab.equations.dc_1d import CapabilityError +from solarlab.equations.ionic_1d import Ionic1DProblem +from solarlab.mesh.geometry import HALF_ENDPOINT_V1, INTEGER_ENDPOINT_V1 +from solarlab.physics.band_structure.temperature import ion_diffusivity_at_temperature + +Q = 1.602176634e-19 +ROOT = Path(__file__).resolve().parents[2] + + +@pytest.fixture(scope="module", autouse=True) +def blas1(): + with threadpool_limits(limits=1): + yield + + +def changed(prepared, *, parameters=None, settings=None, defect_model=None): + data = prepared.to_input().editing_data() + data["layers"][0]["parameters"].update(parameters or {}) + data["settings"].update(settings or {}) + if defect_model is not None: + data["layers"][0]["defect_model"] = defect_model + data["layers"][0]["defect_schema_version"] = "solarlab-explicit-bulk-defects-v1" + data["layers"][0]["bulk_defects"] = [{ + "id": "neutral_probe", "name": "Neutral probe", "distribution": { + "kind": "single_level", "normalization": "integrated_total", "total_density_m3": 1e20, + "center_eV_above_vb": 0.4, "width_convention": "not_applicable", + }, + "charge_transition": "neutral", "neutral_reference": "all_occupancies", "degeneracy": 1.0, + "kinetics": {"sigma_n_m2": 1e-19, "sigma_p_m2": 1e-19, + "thermal_velocity_n_m_s": 1e5, "thermal_velocity_p_m_s": 1e5}, + }] + return resolve_device(DeviceInput.model_validate(data), prepared.defaults, prepared.resources, sources=prepared.sources) + + +@pytest.fixture(scope="module", params=[False, True], ids=["whole_flux", "diffusion_only"]) +def case(request): + prepared = prepare_single_ion_device(diffusion_only=request.param) + compiled = compile_ionic_device_1d(prepared, intervals_per_layer=12) + problem = Ionic1DProblem(compiled) + y = compiled.initial_state().u.copy() + count = compiled.node_count + position = (compiled.nodes_m - compiled.nodes_m[0]) / compiled.ion_geometry.extent_m + y[:count] += 0.002 * np.sin(np.pi * position) + y[count:2 * count] = 0.05 * np.sin(2 * np.pi * position) + y[2 * count:3 * count] = 0.03 * np.cos(np.pi * position) + y[3 * count:] = 0.1 * np.cos(np.pi * position) + return prepared, compiled, problem, y + + +def test_original_ionic_inputs_domain_and_physical_inventory_are_bound(case): + prepared, compiled, _, _ = case + state = compiled.initial_state() + assert compiled.original_prepared_sha256 == prepared.content_sha256 + assert compiled.identity != compiled.electronic_component.identity + assert "ion_free" not in compiled.capabilities + assert compiled.ion_geometry.name == HALF_ENDPOINT_V1 + assert compiled.ion_geometry.geometric_cells + assert compiled.electronic_component.geometry.name == INTEGER_ENDPOINT_V1 + np.testing.assert_array_equal(state.positive_ion_density_m3, compiled.positive_ion_reference_m3) + thickness = prepared.layers[0].thickness + assert math.isclose(compiled.reference_inventory_m2, 1e24 * thickness, rel_tol=3e-16) + assert compiled.domain_bounds_m == (0.0, thickness) + assert state.device_sha256 == compiled.identity + assert state.domain_inventory_m2 == compiled.reference_inventory_m2 + manifest = compiled.binding_manifest + assert manifest["original_ionic_inputs"][0]["P0"] == 1e24 + assert manifest["original_ionic_inputs"][0]["E_a_ion"] == 0.58 + assert manifest["electronic_component"]["projection"] + # The separately named component has no ion population; the full state does. + assert np.all(compiled.electronic_component.parameters.ion_diffusivity_m2_s == 0.0) + assert prepared.content_sha256 == compiled.original_prepared_sha256 + + +def test_uniform_reference_is_compensated_without_stripping_population(case): + _, compiled, problem, _ = case + state = compiled.initial_state() + count = compiled.node_count + result = problem.residual(state.u) + electronic = problem.electronic_problem.residual(state.u[:3 * count]) + np.testing.assert_array_equal(result[:3 * count], electronic) + np.testing.assert_array_equal(result[3 * count:], np.zeros(count)) + assert compiled.charge_ledger(state.electronic_state.electron_density_m3, + state.electronic_state.hole_density_m3, + state.positive_ion_density_m3).entry("positive_ion").background_m3 is not None + + +def test_ion_charge_changes_poisson_through_the_same_ledger(case): + _, compiled, problem, y = case + count = compiled.node_count + phi, n, p, density = compiled.fields(y) + ledger = compiled.charge_ledger(n, p, density) + left, right = compiled.electronic_component.contact_potentials(0.0) + expected = compiled.electronic_component.poisson.residual(phi, ledger.space_charge_C_m3(), left, right) + actual = problem.residual(y)[:count] + np.testing.assert_array_equal(actual, expected) + original = problem.electronic_problem.residual(y[:3 * count])[:count] + charge_change = Q * compiled.electronic_component.poisson.charge_jacobian() * (density - compiled.positive_ion_reference_m3) + np.testing.assert_allclose(actual - original, charge_change, rtol=2e-14, atol=1e-20) + assert np.max(abs(charge_change)) > 0.0 + assert ledger.space_charge_derivative("positive_ion") == Q + + +def test_ion_ledger_deposition_matches_physical_storage_at_both_contacts(case): + _, compiled, _, y = case + _, n, p, density = compiled.fields(y) + ledger = compiled.charge_ledger(n, p, density) + deposited = compiled.electronic_component.geometry.cell_measures_m * Q * ledger.entry("positive_ion").net_population() + physical = compiled.ion_geometry.cell_measures_m * Q * (density - compiled.positive_ion_reference_m3) + np.testing.assert_allclose(deposited, physical, rtol=3e-16, atol=0.0) + assert compiled.ion_charge_weight_ratio[0] == 0.5 + assert compiled.ion_charge_weight_ratio[-1] == 0.5 + np.testing.assert_array_equal(compiled.ion_charge_weight_ratio[1:-1], np.ones(compiled.node_count - 2)) + np.testing.assert_array_equal(compiled.binding_manifest["ion_charge_deposition"]["physical_density_ratio"], + compiled.ion_charge_weight_ratio) + + +def test_conservative_faces_and_physical_endpoint_storage(case): + _, compiled, problem, y = case + count = compiled.node_count + flux = problem.ion_fluxes(y) + balance = -np.diff(np.r_[0.0, flux, 0.0]) + np.testing.assert_array_equal(problem.residual(y)[3 * count:], balance) + bound = 4 * np.finfo(float).eps * math.fsum(abs(flux).tolist()) + assert abs(math.fsum(balance.tolist())) <= bound + _, _, _, density = compiled.fields(y) + partial = density * (1.0 - density / compiled.positive_ion_site_limit_m3) + K = problem.storage_jacobian(y) + np.testing.assert_array_equal(K.diagonal()[3 * count:], -compiled.ion_geometry.cell_measures_m * partial) + assert K[:count].nnz == 0 + assert K[3 * count:, :3 * count].nnz == 0 + assert K.diagonal()[3 * count] < 0.0 and K.diagonal()[-1] < 0.0 + derivative = np.zeros(4 * count) + # Instantaneous ion-only rate from the original balance, not a timestep or projection. + derivative[3 * count:] = balance / (compiled.ion_geometry.cell_measures_m * partial) + np.testing.assert_allclose(problem.residual(y, derivative)[3 * count:], 0.0, rtol=0.0, atol=bound) + assert abs(problem.inventory_rate_m2_s(y, derivative)) <= 2 * bound + np.testing.assert_allclose(problem.residual(y, derivative) - problem.residual(y), K @ derivative, + rtol=2e-14, atol=1e-20) + + +@pytest.mark.parametrize("alpha", [0.0, 2.5]) +def test_full_Fy_and_storage_chain_have_independent_directional_check(case, alpha): + _, compiled, problem, y = case + count = compiled.node_count + rng = np.random.default_rng(40708) + direction = rng.uniform(-0.1, 0.1, 4 * count) + direction[:count] *= compiled.electronic_component.thermal_voltage_V + derivative = rng.uniform(-0.2, 0.2, 4 * count) + derivative[:count] *= compiled.electronic_component.thermal_voltage_V + J = problem.jacobian(y, derivative, alpha=alpha) + step = 1e-5 + expected = (problem.residual(y + step * direction, derivative + alpha * step * direction) + - problem.residual(y - step * direction, derivative - alpha * step * direction)) / (2 * step) + actual = J @ direction + conditioning = abs(J) @ abs(direction) + error = np.max(abs(actual - expected) / np.maximum(conditioning, np.finfo(float).tiny)) + print(f"{compiled.steric_model}, alpha={alpha:g}: full directional error {float(error):.9g}") + assert error < 2e-7 + + +def test_zero_diffusion_retains_population_background_and_storage(): + prepared = changed(prepare_single_ion_device(), parameters={"D_ion": 0.0}) + compiled = compile_ionic_device_1d(prepared, intervals_per_layer=6) + problem = Ionic1DProblem(compiled) + y = compiled.initial_state().u.copy() + y[3 * compiled.node_count:] = 0.2 + np.testing.assert_array_equal(problem.ion_fluxes(y), np.zeros(compiled.node_count - 1)) + np.testing.assert_array_equal(problem.residual(y)[3 * compiled.node_count:], np.zeros(compiled.node_count)) + assert np.max(abs(problem.residual(y)[1:compiled.node_count - 1])) > 0.0 + assert np.all(problem.storage_jacobian(y).diagonal()[3 * compiled.node_count:] < 0.0) + assert compiled.reference_inventory_m2 > 0.0 + + +def test_configured_activation_energy_and_inactive_capacity_are_not_lost(): + prepared = changed(prepare_single_ion_device(), parameters={"E_a_ion": 0.35}, settings={"T": 330.0}) + compiled = compile_ionic_device_1d(prepared, intervals_per_layer=6) + expected = ion_diffusivity_at_temperature(1e-16, 330.0, 0.35) + np.testing.assert_array_equal(compiled.positive_ion_diffusivity_faces_m2_s, + np.full(compiled.node_count - 1, expected)) + altered = compile_ionic_device_1d(changed(prepared, parameters={"P_lim_neg": 2e28}), intervals_per_layer=6) + assert altered.identity != compiled.identity + np.testing.assert_array_equal(altered.positive_ion_reference_m3, compiled.positive_ion_reference_m3) + + +@pytest.mark.parametrize("field", [ + "positive_ion_reference_m3", "positive_ion_site_limit_m3", "positive_ion_logit_reference", +]) +def test_original_binding_rejects_reference_capacity_and_logit_counterexamples(field): + compiled = compile_ionic_device_1d(prepare_single_ion_device(diffusion_only=True), intervals_per_layer=12) + value = getattr(compiled, field) + changed_value = value + 0.4 if field == "positive_ion_logit_reference" else 2 * value + with pytest.raises(ValueError, match="ionic binding"): + replace(compiled, **{field: changed_value}) + + +@pytest.mark.parametrize("parameters,settings,message", [ + ({"D_ion_neg": 1e-17}, {}, "negative-ion reference"), + ({}, {"ion_steric_shared_site": True}, "shared-site"), + ({"P0": 0.0}, {}, "strictly positive"), + ({"P0": 1e27}, {}, "unsaturated"), +]) +def test_unassembled_ionic_capabilities_refuse_explicitly(parameters, settings, message): + prepared = changed(prepare_single_ion_device(), parameters=parameters, settings=settings) + with pytest.raises(CapabilityError, match=message): + compile_ionic_device_1d(prepared, intervals_per_layer=6) + + +def test_configured_negative_population_survives_zero_mobility_with_physical_storage(): + prepared = changed(prepare_single_ion_device(), parameters={"P0_neg": 1e23, "D_ion_neg": 0.0}) + compiled = compile_ionic_device_1d(prepared, intervals_per_layer=6) + state = compiled.initial_state() + problem = Ionic1DProblem(compiled) + negative = compiled.ion_species_slices[1] + assert compiled.ion_species_count == 2 and compiled.state_size == 5 * compiled.node_count + np.testing.assert_array_equal(state.negative_ion_density_m3, np.full(compiled.ion_node_count, 1e23)) + assert state.negative_domain_inventory_m2 > 0.0 + np.testing.assert_array_equal(problem.ion_fluxes(state.u, species="negative"), np.zeros(compiled.ion_node_count - 1)) + storage = problem.storage_jacobian(state.u) + assert np.all(storage.diagonal()[negative] < 0.0) + derivative = np.zeros(compiled.state_size) + derivative[negative] = 0.1 + np.testing.assert_array_equal(problem.residual(state.u, derivative)[negative], (storage @ derivative)[negative]) + + +def test_multilayer_domains_and_electronic_defects_are_not_silently_dropped(): + with pytest.raises(CapabilityError, match="one electrical layer"): + compile_ionic_device_1d(load_device(), intervals_per_layer=6) + prepared = changed(prepare_single_ion_device(), defect_model="explicit_quasi_steady") + compiled = compile_ionic_device_1d(prepared, intervals_per_layer=6) + reaction = compiled.electronic_component.recombination + model = reaction.explicit_defects + assert model is not None + assert model.species[0].identifier == prepared.layers[0].id + "/neutral_probe" + assert np.all(model.owned_nodes) + # Electronic projection must retain the configured neutral rate, not just + # accept its declaration while silently using lifetime SRH. + evaluation = reaction.evaluate(np.full(compiled.node_count, 1e20), + np.full(compiled.node_count, 2e20)) + assert evaluation.explicit is not None + assert np.all(evaluation.explicit.total_rate_m3_s > 0.0) + np.testing.assert_array_equal(evaluation.srh.rate, evaluation.explicit.total_rate_m3_s) + + +@pytest.mark.parametrize("diffusion_only", [False, True]) +def test_historical_regularization_kinks_and_site_saturation_are_refused(diffusion_only): + prepared = changed(prepare_single_ion_device(diffusion_only=diffusion_only), + parameters={"P0": 0.999999, "P_lim": 1.0}) + compiled = compile_ionic_device_1d(prepared, intervals_per_layer=6) + problem = Ionic1DProblem(compiled) + y = compiled.initial_state().u + assert np.all(np.isfinite(problem.residual(y))) + with pytest.raises(ValueError, match="regularization kink"): + problem.jacobian(y) + saturated = y.copy() + saturated[3 * compiled.node_count:] = 1000.0 + with pytest.raises(ValueError, match="saturated"): + problem.residual(saturated) + + +def test_executable_case_has_no_legacy_import_or_execution(): + script = """ +import importlib.abc, sys +class RefuseLegacy(importlib.abc.MetaPathFinder): + def find_spec(self, fullname, path=None, target=None): + if fullname == 'perovskite_sim' or fullname.startswith('perovskite_sim.'): + raise AssertionError('legacy import forbidden: ' + fullname) +sys.meta_path.insert(0, RefuseLegacy()) +from examples.research_1d.ionic_residual import main +main() +""" + result = subprocess.run([sys.executable, "-c", script], cwd=ROOT, env={ + **os.environ, "PYTHONDONTWRITEBYTECODE": "1", "OPENBLAS_NUM_THREADS": "1", "OMP_NUM_THREADS": "1", + "MKL_NUM_THREADS": "1", "VECLIB_MAXIMUM_THREADS": "1", + }, capture_output=True, text=True, check=False, timeout=30) + assert result.returncode == 0, result.stderr + assert '"node_count": 13' in result.stdout diff --git a/tests/integration/test_ionic_backward_euler_1d.py b/tests/integration/test_ionic_backward_euler_1d.py new file mode 100644 index 00000000..f139e10d --- /dev/null +++ b/tests/integration/test_ionic_backward_euler_1d.py @@ -0,0 +1,172 @@ +"""Physical N/M BE secants, analytic derivatives and full interval accounting.""" + +from __future__ import annotations + +from dataclasses import replace +from decimal import Decimal, localcontext + +import numpy as np +import pytest +from threadpoolctl import threadpool_limits + +from examples.research_1d.ionic_multilayer import prepare_confined_ion_device +from examples.research_1d.ionic_residual import prepare_single_ion_device +from solarlab.device.compile_ionic_1d import compile_ionic_device_1d +from solarlab.equations.ionic_1d import Ionic1DProblem +from solarlab.solvers.time.ionic_backward_euler import ( + IonicBackwardEuler1DStep, finite_site_secant_m3, inventory_m2, step_accounting, +) + +Q = 1.602176634e-19 + + +@pytest.fixture(scope="module", autouse=True) +def blas1(): + with threadpool_limits(limits=1): + yield + + +def compile_case(confined): + if confined: + return compile_ionic_device_1d( + prepare_confined_ion_device(), intervals_per_layer=(12, 12, 12), + ion_domain_layer="absorber", ion_domain_endpoints=("blocking", "blocking"), + ) + return compile_ionic_device_1d(prepare_single_ion_device(diffusion_only=True), intervals_per_layer=12) + + +@pytest.fixture(scope="module", params=[False, True], ids=["single_layer", "confined37_13"]) +def case(request): + device = compile_case(request.param) + N, M = device.node_count, device.ion_node_count + old_y = device.initial_state(voltage_V=0.002).u.copy() + old_y[N:2 * N] = 0.01 * np.sin(np.linspace(0.0, np.pi, N)) + old_y[3 * N:] = 0.15 * np.sin(np.linspace(-1.0, 1.0, M)) + old = device.state(old_y, voltage_V=0.002) + step = IonicBackwardEuler1DStep(Ionic1DProblem(device, voltage_V=0.004, generation_scale=0.2), old, 0.05) + y = step.initial_coordinates(voltage_lift=True) + y[N:2 * N] += 0.015 * np.sin(np.linspace(0.0, np.pi, N)) + y[3 * N:] += 0.07 * np.cos(np.linspace(-1.0, 1.0, M)) + return device, step, y + + +def d(value): + return Decimal.from_float(float(value)) + + +@pytest.mark.parametrize("old,new", [ + (0.0, 1e-14), (0.4, np.nextafter(0.4, np.inf)), (0.4, 0.2), + (-0.4, -0.2), (20.0, 20.01), (-20.0, -19.99), +]) +def test_finite_site_secant_has_independent_100_digit_oracle(old, new): + reference = np.log(0.001) - np.log1p(-0.001) + actual = finite_site_secant_m3(np.array([1e27]), np.array([reference]), np.array([old]), np.array([new]))[0] + with localcontext() as context: + context.prec = 100 + before = Decimal(1) / (Decimal(1) + (-(d(reference) + d(old))).exp()) + after = Decimal(1) / (Decimal(1) + (-(d(reference) + d(new))).exp()) + expected = float(d(1e27) * (after - before)) + np.testing.assert_allclose(actual, expected, rtol=2e-13, atol=0.0) + assert actual != 0.0 + + +def test_all_M_balances_use_physical_secants_and_fixed_contacts_remain_algebraic(case): + device, step, y = case + N = device.node_count + carrier_rate, ion_rate = step.inventory_rate_m2_s(y) + dc, actual = step.endpoint.residual(y), step.residual(y) + np.testing.assert_allclose(actual[3 * N:], dc[3 * N:] - ion_rate, rtol=0.0, atol=0.0) + mask = np.ones((2, N), dtype=bool) + mask[:, [0, -1]] = False + expected = dc[N:3 * N].reshape(2, N).copy() + expected[mask] -= carrier_rate[mask] + np.testing.assert_array_equal(actual[N:3 * N].reshape(2, N), expected) + np.testing.assert_array_equal(actual[:N], dc[:N]) + assert ion_rate.shape == (device.ion_node_count,) + assert np.max(abs(ion_rate)) > 0.0 + assert actual.shape == (device.state_size,) + + +def test_full_BE_jacobian_has_independent_physical_directional_check(case): + device, step, y = case + rng = np.random.default_rng(40608) + direction = rng.uniform(-0.05, 0.05, device.state_size) + direction[:device.node_count] *= device.electronic_component.thermal_voltage_V + J = step.jacobian(y) + # Remove only the state-independent generation term before subtracting + # residuals: tiny minority-carrier derivatives cannot be read from 1e19 + # source totals in binary64. The tested illuminated Jacobian is identical. + conditioned = IonicBackwardEuler1DStep(replace(step.endpoint, generation_scale=0.0), step.previous, step.dt_s) + np.testing.assert_array_equal(J.toarray(), conditioned.jacobian(y).toarray()) + h = 1e-5 + numerical = (conditioned.residual(y + h * direction) - conditioned.residual(y - h * direction)) / (2 * h) + scale = abs(J) @ abs(direction) + error = float(np.max(abs(J @ direction - numerical) / np.maximum(scale, np.finfo(float).tiny))) + print(f"N={device.node_count},M={device.ion_node_count}: BE directional error {error:.9g}") + assert error < 2e-7 + expected = step.endpoint.jacobian(y) + step.endpoint.storage_jacobian(y) / step.dt_s + np.testing.assert_array_equal(J.toarray(), expected.toarray()) + + +def test_explicit_carrier_reference_rebase_preserves_populations_without_extra_drive(case): + device, step, _ = case + y = step.initial_coordinates(voltage_lift=False) + new = device.state(y, voltage_V=step.endpoint.voltage_V) + np.testing.assert_allclose(new.electronic_state.electron_density_m3, step.previous.electronic_state.electron_density_m3, rtol=5e-15) + np.testing.assert_allclose(new.electronic_state.hole_density_m3, step.previous.electronic_state.hole_density_m3, rtol=5e-15) + carrier_rate, ion_rate = step.inventory_rate_m2_s(y) + old_carrier, _ = inventory_m2(device, step.previous) + assert np.max(abs(carrier_rate * step.dt_s) / old_carrier) < 64 * np.finfo(float).eps + np.testing.assert_array_equal(ion_rate, np.zeros(device.ion_node_count)) + + +def test_motion_accounting_has_full_charge_current_and_signed_readback_identity(case): + device, step, y = case + info = step_accounting(step, y) + N = device.node_count + assert np.asarray(info["total_current_density_A_m2"]).shape == (N + 1,) + assert np.max(abs(info["ion_domain_fluxes_m2_s"])) > 0.0 + carriers, ions = step.inventory_rate_m2_s(y) + charge_rate = Q * (carriers[1] - carriers[0]) + charge_rate[device.ion_node_indices] += Q * ions + np.testing.assert_array_equal(info["charge_inventory_rate_A_m2"], charge_rate) + np.testing.assert_allclose(info["conduction_current_density_A_m2"], + info["carrier_conduction_current_density_A_m2"] + info["ion_conduction_current_density_A_m2"], rtol=0.0, atol=0.0) + scale = max(1.0, float(np.max(abs(info["total_current_density_A_m2"]))), + float(np.max(abs(info["predicted_maxwell_cell_jump_A_m2"])))) + assert np.max(abs(info["maxwell_identity_error_A_m2"])) <= 128 * np.finfo(float).eps * scale + assert np.max(abs(info["readback_maxwell_identity_error_A_m2"])) <= 256 * np.finfo(float).eps * scale + np.testing.assert_allclose(info["rounded_interval_displacement_C_m2"] + info["displacement_readback_error_C_m2"], + info["interval_displacement_C_m2"], rtol=2e-15, atol=1e-20) + np.testing.assert_array_equal(info["backward_euler_residual"], step.residual(y)) + assert info["physical_certificate_status"] == "not_evaluated" + + +def test_nonzero_old_coordinate_tiny_motion_is_not_replaced_by_density_subtraction(): + device = compile_case(False) + old_y = device.initial_state().u.copy() + old_y[3 * device.node_count:] = 0.4 + old = device.state(old_y) + step = IonicBackwardEuler1DStep(Ionic1DProblem(device), old, 0.25) + y = old_y.copy() + y[3 * device.node_count:] = np.nextafter(0.4, np.inf) + _, rate = step.inventory_rate_m2_s(y) + rounded = (inventory_m2(device, device.state(y))[1] - inventory_m2(device, old)[1]) / step.dt_s + assert np.all(rate > 0.0) + assert np.any(rate != rounded) + info = step_accounting(step, y) + np.testing.assert_array_equal(info["ion_inventory_readback_error_m2_s"], rate - rounded) + + +def test_missing_foreign_or_inconsistent_previous_states_and_wrong_shapes_refuse(case): + device, step, y = case + with pytest.raises(ValueError, match="full ionic"): + IonicBackwardEuler1DStep(step.endpoint, step.previous.electronic_state, 0.1) + with pytest.raises(ValueError, match="same complete"): + IonicBackwardEuler1DStep(step.endpoint, replace(step.previous, device_sha256="foreign"), 0.1) + with pytest.raises(ValueError, match="fields/inventory"): + IonicBackwardEuler1DStep(step.endpoint, replace(step.previous, positive_ion_density_m3=step.previous.positive_ion_density_m3 * 1.01), 0.1) + with pytest.raises(ValueError, match="positive"): + IonicBackwardEuler1DStep(step.endpoint, step.previous, 0.0) + with pytest.raises(ValueError, match="3.N.*M"): + step.residual(np.r_[y, 0.0]) diff --git a/tests/integration/test_ionic_impedance_1d.py b/tests/integration/test_ionic_impedance_1d.py new file mode 100644 index 00000000..3d2c1d87 --- /dev/null +++ b/tests/integration/test_ionic_impedance_1d.py @@ -0,0 +1,337 @@ +"""Actual shared-site AC, saved-state admission and bounded failure records. + +Default CI makes one genuine steady fixture and reuses it. Author/reviewer +waves can explicitly supply a pinned initial manifest and saved AC responses, +so checking evidence never implicitly regenerates a historical operating point. +""" + +from copy import copy, deepcopy +from dataclasses import replace +import hashlib +import json +import math +import os +from pathlib import Path +from types import SimpleNamespace + +import numpy as np +import pytest +from threadpoolctl import threadpool_limits + +from examples.research_1d.ionic_impedance import compile_case, load_manifest_case +from examples.research_1d.ionic_steady import controls as steady_controls +from examples.research_1d.transient import json_value +from solarlab.contracts.units import ELEMENTARY_CHARGE_C as Q +from solarlab.equations import ionic_small_signal as core +from solarlab.experiments import ionic_impedance as driver +from solarlab.experiments.ionic_transient import load_ionic_steady_initial +from solarlab.solvers.linear.frequency_domain import FrequencySolution +from solarlab.solvers.nonlinear.ionic_1d import solve_ionic_steady_state + + +@pytest.fixture(scope="module", autouse=True) +def blas1(): + with threadpool_limits(limits=1): + yield + + +@pytest.fixture(scope="module") +def case(tmp_path_factory): + manifest = os.environ.get("SOLARLAB_IONIC_AC_INITIAL_MANIFEST") + if manifest: + return load_manifest_case(manifest, "shared") + compiled = compile_case("shared") + controls = steady_controls(compiled.ion_node_count) + point = solve_ionic_steady_state(compiled, voltage_V=0.002, generation_scale=0.0, options=controls) + path = tmp_path_factory.mktemp("ionic_ac_initial") / "Steady.json" + summary = {"accepted": point.accepted, "compiled_identity": compiled.identity, + "voltage_V": 0.002, "generation_scale": 0.0} + raw = (json.dumps(json_value({"summary": summary, "result": point}), allow_nan=False) + "\n").encode() + path.write_bytes(raw) + assert point.accepted, (point.termination, point.error, str(path)) + initial = load_ionic_steady_initial(compiled, path, hashlib.sha256(raw).hexdigest(), controls=controls) + return compiled, initial + + +def recorded(path, digest): + return driver.read_ionic_impedance_result(path, digest)["result"] + + +@pytest.fixture(scope="module") +def responses(case, tmp_path_factory): + compiled, initial = case + manifest_path = os.environ.get("SOLARLAB_IONIC_AC_RESPONSE_MANIFEST") + if manifest_path: + manifest = json.loads(Path(manifest_path).read_text()) + items = manifest["responses"] + results = {name: recorded(items[name]["path"], items[name]["sha256"]) + for name in ("shared_mobile", "shared_frozen", "shared_scaled")} + else: + directory = tmp_path_factory.mktemp("ionic_ac_responses") + results = {} + for name, mode, voltage, frequencies in ( + ("shared_mobile", "mobile", 1.0, [0.0, 0.01, 1.0, 1000.0]), + ("shared_frozen", "frozen", 1.0, [0.0, 0.01, 1.0, 1000.0]), + ("shared_scaled", "mobile", 2e-6 + 1e-6j, [1.0]), + ): + result = driver.solve_ionic_impedance(compiled, initial, frequencies, + ion_mode=mode, voltage_phasor_V=voltage) + path = directory / (name + ".json") + digest = driver.write_ionic_impedance_result(result, path) + results[name] = recorded(path, digest) + assert result.completed, (name, [(a.frequency_Hz, a.termination, a.error, + [(check.name, check.value, check.limit) for check in a.checks if not check.passed]) + for a in result.failed_attempts], str(path)) + for result in results.values(): + assert result["compiled_identity"] == compiled.identity + assert result["initial_provenance"]["source_sha256"] == initial.source_sha256 + assert result["physical_certificate_status"] == "not_evaluated" + assert all(attempt["accepted"] for attempt in result["attempts"]) + return results + + +def test_actual_mobile_response_keeps_all_requested_points_ions_and_inventory(case, responses): + compiled, initial = case + result = responses["shared_mobile"] + assert (compiled.node_count, compiled.ion_node_count, compiled.state_size) == (37, 13, 137) + np.testing.assert_array_equal(result["requested_frequencies_Hz"], [0.0, 0.01, 1.0, 1000.0]) + assert result["linear_solver_calls"] == 4 and len(result["attempts"]) == 4 + assert result["phasor_convention"] == "exp(+i omega t)" + assert result["wall_s"] < result["solver_controls"]["wall_s"] + for attempt in result["attempts"]: + observed = attempt["observation"] + assert attempt["accepted"] and all(check["passed"] for check in attempt["checks"]) + assert attempt["coordinate_representation"] == observed["coordinate_form"] + np.testing.assert_array_equal(observed["solve_coordinate_perturbation"], attempt["linear_solution"]["solution"]) + assert tuple(observed["original_rows_enforced"]) == tuple(range(compiled.state_size)) + assert attempt["linear_solution"]["componentwise_backward_error"] <= 1e-11 + assert observed["original_componentwise_backward_error"] <= 1e-11 + assert set(observed["inventory_constraint_rows"]) == (set(compiled.ion_species_names) + if attempt["frequency_Hz"] == 0.0 else set()) + for species in compiled.ion_species_names: + density = observed["ion_density_perturbation_m3"][species] + assert density.shape == (13,) and np.max(abs(density)) > 0.0 + terms = compiled.ion_geometry.cell_measures_m * density + inventory = complex(math.fsum(terms.real.tolist()), math.fsum(terms.imag.tolist())) + ratio = abs(inventory) / initial.state.domain_inventories_m2[species] + assert ratio <= 1e-12 + np.testing.assert_array_equal(observed["base_ion_density_m3"][species], + getattr(initial.state, species + "_ion_density_m3")) + + +def test_all_face_signed_current_displacement_and_endpoint_gauss_accounting(case, responses): + compiled, _ = case + component = compiled.electronic_component + for name in ("shared_mobile", "shared_frozen"): + for attempt in responses[name]["attempts"]: + o = attempt["observation"] + ion = Q * (o["ion_particle_fluxes_m2_s"]["positive"] - o["ion_particle_fluxes_m2_s"]["negative"]) + np.testing.assert_allclose(o["ionic_conduction_current_density_A_m2"], ion, rtol=3e-15, atol=1e-30) + conduction = Q * (o["carrier_particle_fluxes_m2_s"][1] - o["carrier_particle_fluxes_m2_s"][0]) + ion + np.testing.assert_allclose(o["conduction_current_density_A_m2"], conduction, rtol=3e-15, atol=1e-30) + internal_D = -component.poisson.face_capacitance_F_m2 * np.diff(o["potential_perturbation_V"]) + charge = o["charge_inventory_perturbation_C_m2"] + full_D = np.r_[internal_D[0] - charge[0], internal_D, internal_D[-1] + charge[-1]] + np.testing.assert_array_equal(o["displacement_current_density_A_m2"], + 2j * np.pi * attempt["frequency_Hz"] * full_D) + total = o["conduction_current_density_A_m2"] + o["displacement_current_density_A_m2"] + np.testing.assert_array_equal(total, o["total_current_density_A_m2"]) + assert total.shape == (38,) + np.testing.assert_allclose(total, np.full(38, total[0]), rtol=1e-10, atol=1e-8) + port = total[0 if component.voltage_polarity > 0 else -1] + assert o["input_current_density_A_m2"] == component.voltage_polarity * port + assert o["admittance_density_S_m2"] == o["input_current_density_A_m2"] / o["voltage_phasor_V"] + assert np.max(abs(o["maxwell_identity_error_A_m2"])) < 128 * np.finfo(float).eps * max(1.0, np.max(abs(total))) + + +def test_explicit_frozen_response_retains_charge_and_exposes_unenforced_ion_forces(case, responses): + compiled, _ = case + mobile, frozen = responses["shared_mobile"], responses["shared_frozen"] + assert frozen["ion_mode"] == "frozen" and len(frozen["attempts"]) == 4 + for active, clamp in zip(mobile["attempts"], frozen["attempts"]): + a, b = active["observation"], clamp["observation"] + np.testing.assert_array_equal(b["base_ion_charge_density_C_m3"], a["base_ion_charge_density_C_m3"]) + assert np.max(abs(b["base_ion_charge_density_C_m3"])) > 0.0 + assert tuple(b["original_rows_enforced"]) == tuple(range(3 * compiled.node_count)) + assert b["inventory_constraint_rows"] == {} + np.testing.assert_array_equal(b["fixed_coordinate_perturbation"][3 * compiled.node_count:], 0.0) + np.testing.assert_array_equal(b["ionic_conduction_current_density_A_m2"], 0.0) + for species in compiled.ion_species_names: + np.testing.assert_array_equal(b["base_ion_density_m3"][species], a["base_ion_density_m3"][species]) + np.testing.assert_array_equal(b["ion_density_perturbation_m3"][species], 0.0) + assert np.max(abs(b["original_ion_force_residual"][species])) > 0.0 + + +def test_complex_voltage_is_a_linear_normalization(case, responses): + compiled, _ = case + base = responses["shared_mobile"]["attempts"][2]["observation"] + scaled = responses["shared_scaled"]["attempts"][0]["observation"] + voltage = 2e-6 + 1e-6j + assert scaled["frequency_Hz"] == base["frequency_Hz"] == 1.0 + assert scaled["voltage_phasor_V"] == voltage + np.testing.assert_allclose(scaled["admittance_density_S_m2"], base["admittance_density_S_m2"], rtol=2e-10) + for key in ("potential_perturbation_V", "electron_density_perturbation_m3", "hole_density_perturbation_m3", + "conduction_current_density_A_m2", "displacement_current_density_A_m2", "total_current_density_A_m2"): + scale = max(float(np.max(abs(base[key]))), np.finfo(float).tiny) + assert np.max(abs(scaled[key] / voltage - base[key])) / scale < 2e-10 + for species in compiled.ion_species_names: + a, b = base["ion_density_perturbation_m3"][species], scaled["ion_density_perturbation_m3"][species] + assert np.max(abs(b / voltage - a)) / np.max(abs(a)) < 2e-10 + + +@pytest.mark.parametrize("frequencies", [[], [-1.0], [np.nan], [np.inf], [1.0, 1.0], [[1.0]], [1 + 0j], list(range(33))]) +def test_invalid_frequency_requests_refuse_before_a_solve(case, monkeypatch, frequencies): + def forbidden(*args, **kwargs): + pytest.fail("invalid frequencies reached the solver") + monkeypatch.setattr(driver, "solve_frequency_systems", forbidden) + with pytest.raises(ValueError, match="frequenc"): + driver.solve_ionic_impedance(*case, frequencies) + + +@pytest.mark.parametrize("voltage", [0.0, np.nan, np.inf, 1 + complex(0, np.inf)]) +def test_invalid_amplitudes_refuse_before_a_solve(case, voltage): + with pytest.raises(ValueError, match="finite and nonzero"): + driver.solve_ionic_impedance(*case, [1.0], voltage_phasor_V=voltage) + + +def test_unsupported_mode_contacts_and_foreign_device_refuse(case): + compiled, initial = case + with pytest.raises(ValueError, match="ion_mode"): + driver.solve_ionic_impedance(compiled, initial, [1.0], ion_mode="relaxed") + foreign = compile_case("positive") + with pytest.raises(ValueError, match="different compiled device"): + driver.solve_ionic_impedance(foreign, initial, [1.0]) + modified, electronic = copy(compiled), copy(compiled.electronic_component) + channel = replace(electronic.channels[0], velocity_m_s=1.0) + object.__setattr__(electronic, "channels", (channel,) + electronic.channels[1:]) + object.__setattr__(modified, "electronic_component", electronic) + with pytest.raises(ValueError, match="fixed-reservoir"): + driver.solve_ionic_impedance(modified, initial, [1.0]) + + +def test_initial_checksum_failed_state_and_rebinding_are_rejected(case): + compiled, initial = case + with pytest.raises(ValueError, match="pinned accepted steady input"): + driver.solve_ionic_impedance(compiled, None, [1.0]) + with pytest.raises(ValueError, match="SHA-256"): + driver.solve_ionic_impedance(compiled, replace(initial, source_sha256="0" * 64), [1.0]) + with pytest.raises(ValueError, match="disagrees"): + driver.solve_ionic_impedance(compiled, replace(initial, generation_scale=1.0), [1.0]) + bad = json.loads(initial.evidence_json) + bad["result"]["accepted"] = False + text = json.dumps(bad) + rejected = replace(initial, evidence_json=text, source_sha256=hashlib.sha256(text.encode()).hexdigest()) + with pytest.raises(ValueError, match="accepted steady solve"): + driver.solve_ionic_impedance(compiled, rejected, [1.0]) + wrong = copy(initial.state) + object.__setattr__(wrong, "device_sha256", "0" * 64) + with pytest.raises(ValueError, match="disagrees"): + driver.solve_ionic_impedance(compiled, replace(initial, state=wrong), [1.0]) + + +def saved_operator(case, responses): + """A cached real first response for execution-control tests; no new AC solve.""" + compiled, _ = case + sample = responses["shared_mobile"]["attempts"][0] + system = SimpleNamespace(jacobian=None, storage_jacobian=None, rhs=None, rhs_rate=None, fixed_coordinates={}, + original_rows_enforced=tuple(range(compiled.state_size)), + constraint_rows=sample["observation"]["inventory_constraint_rows"], + immobile_constraint_rows={}, + coordinate_form=sample["coordinate_representation"]) + operator = SimpleNamespace(system=lambda *args, **kwargs: system, + observe=lambda *args, **kwargs: deepcopy(sample["observation"])) + return operator, FrequencySolution(**sample["linear_solution"]) + + +def test_first_failure_stops_sweep_and_preserves_accepted_prefix(case, responses, monkeypatch, tmp_path): + operator, first = saved_operator(case, responses) + monkeypatch.setattr(core, "build_ionic_small_signal", lambda *args, **kwargs: operator) + seen = [] + def controlled(J, K, rhs, frequencies, **kwargs): + seen.extend(frequencies) + if len(seen) == 1: + return (first,) + raise ArithmeticError("injected second-frequency refusal") + monkeypatch.setattr(driver, "solve_frequency_systems", controlled) + result = driver.solve_ionic_impedance(*case, [0.0, 1.0, 1000.0]) + assert seen == [0.0, 1.0] and result.linear_solver_calls == 2 + assert not result.completed and result.attempts[0].accepted and len(result.failed_attempts) == 1 + failure = result.failed_attempts[0] + assert failure.frequency_Hz == 1.0 and "injected second-frequency refusal" in failure.error + path = tmp_path / "partial.json" + digest = driver.write_ionic_impedance_result(result, path) + decoded = driver.read_ionic_impedance_result(path, digest) + assert not decoded["completed"] and len(decoded["result"]["attempts"]) == 2 + + +def test_cooperative_wall_budget_exhaustion_does_not_start_a_frequency(case, responses, monkeypatch): + operator, _ = saved_operator(case, responses) + monkeypatch.setattr(core, "build_ionic_small_signal", lambda *args, **kwargs: operator) + ticks = iter((0.0, 1.0, 31.0, 32.0, 33.0)) + monkeypatch.setattr(driver, "time", SimpleNamespace(monotonic=lambda: next(ticks))) + result = driver.solve_ionic_impedance(*case, [0.0, 1.0]) + assert result.linear_solver_calls == 0 and not result.completed + assert len(result.attempts) == 1 and result.attempts[0].termination == "wall_budget_exhausted" + + +def test_source_change_is_informational_and_does_not_stop_a_solve(case, responses, monkeypatch, tmp_path): + operator, first = saved_operator(case, responses) + monkeypatch.setattr(core, "build_ionic_small_signal", lambda *args, **kwargs: operator) + changed = tmp_path / "edited_source.py" + changed.write_text("# edited after admission\n") + def controlled(*args, **kwargs): + monkeypatch.setattr(core, "__file__", str(changed)) + return (first,) + monkeypatch.setattr(driver, "solve_frequency_systems", controlled) + result = driver.solve_ionic_impedance(*case, [0.0]) + assert result.completed and result.linear_solver_calls == 1 and not result.failed_attempts + assert result.job_provenance["record"]["source_tree_sha256"] + + +def test_result_reading_roundtrips_complex_arrays_without_any_solver(case, responses, monkeypatch, tmp_path): + result = responses["shared_scaled"] + raw = (json.dumps({"schema": driver.RESULT_SCHEMA, "completed": True, "result": driver._encoded(result)}) + "\n").encode() + path = tmp_path / "read_only.json" + path.write_bytes(raw) + digest = hashlib.sha256(raw).hexdigest() + def forbidden(*args, **kwargs): + pytest.fail("result reading called a solver, operator or admission") + monkeypatch.setattr(driver, "solve_frequency_systems", forbidden) + monkeypatch.setattr(core, "build_ionic_small_signal", forbidden) + monkeypatch.setattr(driver, "_admit_evidence", forbidden) + actual = driver.read_ionic_impedance_result(path, digest) + a, b = actual["result"]["attempts"][0], result["attempts"][0] + np.testing.assert_array_equal(a["linear_solution"]["solution"], b["linear_solution"]["solution"]) + np.testing.assert_array_equal(a["observation"]["total_current_density_A_m2"], b["observation"]["total_current_density_A_m2"]) + assert not a["linear_solution"]["solution"].flags.writeable + with pytest.raises(ValueError, match="SHA-256"): + driver.read_ionic_impedance_result(path, "0" * 64) + inconsistent = deepcopy(result) + inconsistent["attempts"][0]["coordinate_representation"] = "wrong_representation" + path.write_text(json.dumps({"schema": driver.RESULT_SCHEMA, "completed": True, + "result": driver._encoded(inconsistent)})) + with pytest.raises(ValueError, match="representation"): + driver.read_ionic_impedance_result(path, hashlib.sha256(path.read_bytes()).hexdigest()) + altered = json.loads(raw) + altered["completed"] = False + path.write_text(json.dumps(altered)) + with pytest.raises(ValueError, match="completion"): + driver.read_ionic_impedance_result(path, hashlib.sha256(path.read_bytes()).hexdigest()) + + +@pytest.mark.parametrize("kind", ["positive", "independent"]) +def test_optional_historical_species_branch_from_pinned_saved_evidence(kind): + initial_manifest = os.environ.get("SOLARLAB_IONIC_AC_INITIAL_MANIFEST") + response_manifest = os.environ.get("SOLARLAB_IONIC_AC_RESPONSE_MANIFEST") + if not initial_manifest or not response_manifest: + pytest.skip("optional historical branch checks require explicit saved input/response manifests") + compiled, initial = load_manifest_case(initial_manifest, kind) + item = json.loads(Path(response_manifest).read_text())["responses"][kind + "_mobile"] + result = recorded(item["path"], item["sha256"]) + assert result["compiled_identity"] == compiled.identity + assert result["initial_provenance"]["source_sha256"] == initial.source_sha256 + np.testing.assert_array_equal(result["requested_frequencies_Hz"], [0.0, 1.0]) + assert len(result["attempts"]) == 2 and result["linear_solver_calls"] == 2 + for attempt in result["attempts"]: + assert attempt["accepted"] and all(check["passed"] for check in attempt["checks"]) + assert set(attempt["observation"]["ion_density_perturbation_m3"]) == set(compiled.ion_species_names) diff --git a/tests/integration/test_ionic_initialization_1d.py b/tests/integration/test_ionic_initialization_1d.py new file mode 100644 index 00000000..20afad8c --- /dev/null +++ b/tests/integration/test_ionic_initialization_1d.py @@ -0,0 +1,390 @@ +"""One self-contained native CI case, routing tests, and pinned failure readback. + +The fresh fixture runs a cold dark state plus the actual fresh direct CLI once; +an explicit saved fresh result avoids local repetitions. Routing doubles make +no physical claim. The original failed wave is read only when explicitly bound. +""" + +from copy import deepcopy +from dataclasses import replace +import hashlib +import json +import os +from pathlib import Path + +import numpy as np +import pytest + +from examples.research_1d.ionic_initialization import compile_shared_case +from examples.research_1d.ionic_steady import controls +from solarlab.experiments import ionic_initialization as driver +from solarlab.experiments.ionic_transient import IonicTransientInitial +from solarlab.experiments.transient_results import _encode +from solarlab.solvers.nonlinear.newton import NewtonResult, Termination +from solarlab.solvers.nonlinear.problem import state_digest +from solarlab.solvers.nonlinear.steady_1d import SteadyStateError + + +@pytest.fixture(scope="module") +def compiled(): + return compile_shared_case() + + +@pytest.fixture +def routing_input(compiled, monkeypatch): + # A numerical state only: synthetic admission is confined to this unit test. + # It is never written as accepted physical evidence or used for a real solve. + steady = controls(compiled.ion_node_count) + state = compiled.initial_state(voltage_V=0.002) + initial = IonicTransientInitial(state, 0.0, steady, "test-double-only", + hashlib.sha256(b"{}").hexdigest(), "{}") + monkeypatch.setattr(driver, "_admit_evidence", lambda *args: (state, 0.0, ())) + return initial, driver.IonicInitializationOptions(steady, driver.POLICY, 25.0) + + +@pytest.mark.parametrize("policy", ["auto", "continuation", "compiled_cold"]) +def test_initialization_policy_is_explicit_and_no_fallback_exists(compiled, policy): + with pytest.raises(ValueError, match="explicit electronic_density_seed_v1"): + driver.IonicInitializationOptions(controls(compiled.ion_node_count), policy, 25.0) + + +@pytest.mark.parametrize("wall_s", [0.0, -1.0, np.inf, np.nan]) +def test_nonpositive_or_nonfinite_wall_control_is_refused(compiled, wall_s): + with pytest.raises(ValueError, match="wall_s"): + driver.IonicInitializationOptions(controls(compiled.ion_node_count), driver.POLICY, wall_s) + + +def test_first_density_failure_stops_before_either_newton(compiled, routing_input, monkeypatch): + initial, options = routing_input + calls = [] + + def fail_density(problem, u): + calls.append("density") + assert problem.generation_scale == 1.0 and problem.voltage_V == 0.002 + np.testing.assert_array_equal(u, initial.state.electronic_state.u) + raise ValueError("test double: finite-positive density preparation refused") + + def forbidden(*args, **kwargs): + pytest.fail("later solver called after a failed preparation") + + monkeypatch.setattr(driver, 'density_basin_seed', fail_density) + monkeypatch.setattr(driver, "solve_steady_state", forbidden) + monkeypatch.setattr(driver, "solve_ionic_steady_state", forbidden) + result = driver.initialize_ionic_steady_state(compiled, initial=initial, + voltage_V=0.002, generation_scale=1.0, options=options) + assert calls == ["density"] + assert not result.accepted and result.state is None + assert result.termination == "density_preparation_failed" + assert result.stages[-1]["accepted"] is False + assert result.evaluation_counts["component_solver_calls"] == result.evaluation_counts["coupled_solver_calls"] == 0 + assert "test double" in result.error + + +def test_component_failure_is_retained_and_cannot_seed_coupled(compiled, routing_input, monkeypatch): + initial, options = routing_input + monkeypatch.setattr(driver, 'density_basin_seed', lambda problem, u: u.copy()) + failed = NewtonResult(initial.state.electronic_state.u, False, Termination.BUDGET_EXHAUSTED, + 100.0, (), (), 1, 0, state_digest(initial.state.electronic_state.u), "test-double budget") + + def fail_component(device, **kwargs): + assert kwargs["initial_state"] is not None + assert kwargs["options"] is options.steady.electronic + assert kwargs["generation_scale"] == 1.0 + raise SteadyStateError("test-double component", failed) + + def forbidden(*args, **kwargs): + pytest.fail("full ionic solver called after failed component") + + monkeypatch.setattr(driver, "solve_steady_state", fail_component) + monkeypatch.setattr(driver, "solve_ionic_steady_state", forbidden) + result = driver.initialize_ionic_steady_state(compiled, initial=initial, + voltage_V=0.002, generation_scale=1.0, options=options) + assert result.component_failure is failed + assert result.coupled_result is None and result.coupled_initial_state is None + assert result.evaluation_counts["component_solver_calls"] == 1 + assert result.evaluation_counts["coupled_solver_calls"] == 0 + assert result.termination == "component_budget_exhausted" + assert not result.accepted and result.qualification is False + + +def test_source_hash_refusal_happens_without_any_solver(compiled, monkeypatch): + steady = controls(compiled.ion_node_count) + initial = IonicTransientInitial(compiled.initial_state(voltage_V=0.002), 0.0, steady, + "invalid-test-input", "0" * 64, "{}") + + def forbidden(*args, **kwargs): + pytest.fail("a solver was called for an unbound input") + + monkeypatch.setattr(driver, 'density_basin_seed', forbidden) + monkeypatch.setattr(driver, "solve_steady_state", forbidden) + monkeypatch.setattr(driver, "solve_ionic_steady_state", forbidden) + with pytest.raises(ValueError, match="SHA-256 mismatch"): + driver.initialize_ionic_steady_state(compiled, initial=initial, voltage_V=0.002, generation_scale=1.0, + options=driver.IonicInitializationOptions(steady, driver.POLICY, 25.0)) + + +def test_mismatched_controls_refused_before_preparation(compiled, routing_input, monkeypatch): + initial, options = routing_input + initial = replace(initial, steady_controls=replace(initial.steady_controls, ion_logit_step=0.5)) + with pytest.raises(ValueError, match="identical steady controls"): + driver.initialize_ionic_steady_state(compiled, initial=initial, + voltage_V=0.002, generation_scale=1.0, options=options) + + +@pytest.fixture(scope="module") +def author_record(): + path = os.environ.get("SOLARLAB_IONIC_INITIALIZATION_RESULT") + if not path: + pytest.skip("set the explicit author artifact/hash to test native evidence without repeating the wave") + digest = os.environ["SOLARLAB_IONIC_INITIALIZATION_SHA256"] + return driver.read_ionic_initialization(path, digest), Path(path), digest + + +def test_retained_real_failure_stages_counts_and_physical_density_seed(author_record): + record, _, _ = author_record + result = record["result"] + assert result["compiled_identity"] == "ce9f89b4b818dc5dcb3fb7c59e72bf353182525301ecbfb75b6ff33dd160cf0b" + assert result["termination"] == "component_budget_exhausted" and not result["accepted"] + assert result["evaluation_counts"] == {"density_preparation_calls": 1, "density_residual": 1, + "density_jacobian": 1, "component_solver_calls": 1, "component_residual": 1002, + "component_jacobian": 100, "coupled_solver_calls": 0, "coupled_residual": 0, "coupled_jacobian": 0} + assert len(result["component_failure"]["iterations"]) == 100 + assert result["coupled_result"] is None and result["coupled_initial_state"] is None + assert result["initial"]["source_sha256"] == "71a51353822f5469bd827604336b1a78a4a0043f8c07bd849cf42c6e515e342c" + seed, original = result["density_seed"], result["initial_electronic_state"] + assert seed["potential_V"].tobytes() == original["potential_V"].tobytes() + assert all(np.all(seed[name] > 0) and np.all(np.isfinite(seed[name])) + for name in ("electron_density_m3", "hole_density_m3")) + assert seed["hole_density_m3"][24] > 1e13 and original["hole_density_m3"][24] < 1 + assert result["physical_certificate_status"] == "not_evaluated" and not result["qualification"] + + +def test_lossless_solver_free_read_and_republication(author_record, tmp_path, monkeypatch): + record, path, digest = author_record + + def forbidden(*args, **kwargs): + pytest.fail("saved reading or republication invoked a solver") + + for name in ("initialize_ionic_steady_state", "solve_steady_state", "solve_ionic_steady_state", + "density_basin_seed", "_admit_evidence"): + monkeypatch.setattr(driver, name, forbidden) + reread = driver.read_ionic_initialization(path, digest) + out = tmp_path / "Readback.json" + sha = driver.write_ionic_initialization(reread["result"], out) + again = driver.read_ionic_initialization(out, sha) + assert _encode(again["result"]) == _encode(record["result"]) + assert again["bindings"] == record["bindings"] + with pytest.raises(FileExistsError): + driver.write_ionic_initialization(reread["result"], out) + + +@pytest.mark.parametrize("field", ["voltage", "generation", "policy", "controls", "source", "initial_generation"]) +def test_single_field_condition_or_source_relabel_is_refused(author_record, tmp_path, field): + record, _, _ = author_record + changed = deepcopy(record) + result = changed["result"] + if field == "voltage": + result["voltage_V"] += 0.001 + elif field == "generation": + result["generation_scale"] = 0.0 + elif field == "policy": + result["solver_controls"]["policy"] = "pretend_policy" + elif field == "controls": + result["solver_controls"]["steady"]["electronic"]["continuity_tolerance_A_m2"] *= 10 + elif field == "source": + result["source_sha256"]["solarlab.solvers.nonlinear.newton"] = "0" * 64 + else: + result["initial"]["generation_scale"] = 1.0 + raw = (json.dumps(_encode(changed), allow_nan=False) + "\n").encode() + path = tmp_path / "Contradiction.json" + path.write_bytes(raw) + with pytest.raises(ValueError, match="request/control/source identity"): + driver.read_ionic_initialization(path, hashlib.sha256(raw).hexdigest()) + + +def test_original_input_cross_binding_is_checked_even_with_new_request_hash(author_record, tmp_path): + record, _, _ = author_record + changed = deepcopy(record) + changed["result"]["compiled_identity"] = "0" * 64 + changed["bindings"] = driver._request_bindings(changed["result"]) + raw = (json.dumps(_encode(changed), allow_nan=False) + "\n").encode() + path = tmp_path / "WrongDevice.json" + path.write_bytes(raw) + with pytest.raises(ValueError, match="original initial/source/component"): + driver.read_ionic_initialization(path, hashlib.sha256(raw).hexdigest()) + + + +def test_bad_supplied_direct_seed_cannot_fall_back_to_fresh(compiled, routing_input, monkeypatch): + initial, options = routing_input + options = replace(options, policy=driver.DIRECT_POLICY) + artifact = driver.IonicDensitySeedArtifact("bad-test-source", "0" * 64, "{}") + + def forbidden(*args, **kwargs): + pytest.fail("invalid saved input triggered fresh preparation or a solver") + + monkeypatch.setattr(driver, 'density_basin_seed', forbidden) + monkeypatch.setattr(driver, "solve_steady_state", forbidden) + monkeypatch.setattr(driver, "solve_ionic_steady_state", forbidden) + with pytest.raises(ValueError, match="density seed artifact SHA-256"): + driver.initialize_ionic_steady_state(compiled, initial=initial, voltage_V=0.002, + generation_scale=1.0, options=options, density_seed_artifact=artifact) + + +def test_fresh_direct_failure_is_an_explicit_recorded_stage(compiled, routing_input, monkeypatch): + initial, options = routing_input + options = replace(options, policy=driver.DIRECT_POLICY) + + def failure(*args, **kwargs): + raise ValueError("test-double positive-density refusal") + + def forbidden(*args, **kwargs): + pytest.fail("fresh preparation failure started a later solver") + + monkeypatch.setattr(driver, 'density_basin_seed', failure) + monkeypatch.setattr(driver, "solve_steady_state", forbidden) + monkeypatch.setattr(driver, "solve_ionic_steady_state", forbidden) + result = driver.initialize_ionic_steady_state(compiled, initial=initial, voltage_V=0.002, + generation_scale=1.0, options=options) + assert result.termination == "density_preparation_failed" and not result.accepted + assert result.density_seed_provenance["mode"] == "fresh" + assert result.evaluation_counts["density_preparation_calls"] == 1 + assert result.evaluation_counts["component_solver_calls"] == result.evaluation_counts["coupled_solver_calls"] == 0 + + +@pytest.fixture(scope="module") +def fresh_native(compiled, tmp_path_factory): + """One real default CI wave; an explicit saved result avoids local repetition.""" + import contextlib + import io + import time + from unittest.mock import patch + import sys + + from examples.research_1d.ionic_initialization import main as cli_main + from examples.research_1d.transient import json_value + from solarlab.solvers.nonlinear.ionic_1d import solve_ionic_steady_state + + cached = os.environ.get("SOLARLAB_IONIC_INITIALIZATION_FRESH_RESULT") + if cached: + digest = os.environ["SOLARLAB_IONIC_INITIALIZATION_FRESH_SHA256"] + record = driver.read_ionic_initialization(cached, digest) + return record, Path(cached), digest + + folder = (Path(os.environ["SOLARLAB_IONIC_INITIALIZATION_NATIVE_DIR"]) + if "SOLARLAB_IONIC_INITIALIZATION_NATIVE_DIR" in os.environ + else tmp_path_factory.mktemp("fresh_ionic_initialization")) + folder.mkdir(parents=True, exist_ok=True) + path, dark_path = folder / "FreshInitialization.json", folder / "DarkInitial.json" + if path.exists() or dark_path.exists(): + raise FileExistsError("native witness paths already exist; use explicit saved evidence to read them") + started = time.monotonic() + steady = controls(compiled.ion_node_count) + dark = solve_ionic_steady_state(compiled, voltage_V=0.002, generation_scale=0.0, options=steady) + dark_document = {"summary": {"accepted": dark.accepted, "compiled_identity": compiled.identity, + "voltage_V": 0.002, "generation_scale": 0.0, "initial_policy": "compiled_cold", + "qualification": False}, "result": dark} + raw = (json.dumps(json_value(dark_document), indent=2, allow_nan=False) + "\n").encode() + dark_path.write_bytes(raw) + dark_sha = hashlib.sha256(raw).hexdigest() + receipt = {"initial_policy": "one_explicit_cold_dark_coupled_solve", + "dark_sha256": dark_sha, "dark_accepted": dark.accepted, "dark_solver_calls": 1, + "dark_evaluation_counts": dark.evaluation_counts, "dark_wall_s": dark.wall_s, + "state_size": compiled.state_size, "compiled_identity": compiled.identity} + (folder / "NativeReceipt.json").write_text(json.dumps(receipt, indent=2) + "\n") + assert dark.accepted, (dark.termination, dark.error, dark.checks) + + # Author-only same-input verification before illuminated nonlinear work. + # CI needs no archived artifact: its accepted cold state is explicit above. + reference = os.environ.get("SOLARLAB_IONIC_INITIALIZATION_EQUIVALENCE") + if reference: + from solarlab.experiments.transient_results import _decode + proof = _decode(json.loads(Path(reference).read_bytes())) + assert dark.state.electronic_state.u.tobytes() == proof["input_electronic_coordinates"].tobytes() + receipt["dark_input_matches_preflight_words"] = True + + args = ["ionic_initialization", "solve", "--policy", driver.DIRECT_POLICY, + "--initial-result", str(dark_path), "--initial-sha256", dark_sha, "--voltage", "0.002", + "--generation-scale", "1", "--wall-s", "25", "--output", str(path), + "--accepted-steady-output", str(folder / "AcceptedIlluminatedSteady.json")] + stdout = io.StringIO() + with patch.object(sys, "argv", args), contextlib.redirect_stdout(stdout): + code = cli_main() + (folder / "CLI.stdout.txt").write_text(stdout.getvalue()) + digest = hashlib.sha256(path.read_bytes()).hexdigest() + record = driver.read_ionic_initialization(path, digest) + receipt.update(cli_argv=args, cli_exit_code=code, fresh_result_sha256=digest, + fresh_evaluation_counts=record["result"]["evaluation_counts"], + accepted=record["result"]["accepted"], wall_s=time.monotonic() - started) + if reference: + receipt["prepared_seed_matches_preflight_words"] = ( + record["result"]["density_seed"]["u"].tobytes() == proof["fresh_seed"]["u"].tobytes()) + (folder / "NativeReceipt.json").write_text(json.dumps(receipt, indent=2) + "\n") + assert code == 0, record["result"]["termination"] + assert record["result"]["accepted"] + if reference: + assert receipt["prepared_seed_matches_preflight_words"] + return record, path, digest + + +def test_self_contained_fresh_cli_has_one_preparation_and_original_coupled_acceptance(fresh_native): + record, _, _ = fresh_native + r = record["result"] + assert r["accepted"] and r["termination"] == "converged" + assert r["solver_controls"]["policy"] == driver.DIRECT_POLICY + assert r["density_seed_provenance"]["mode"] == "fresh" + counts = r["evaluation_counts"] + assert counts["density_preparation_calls"] == counts["density_residual"] == counts["density_jacobian"] == 1 + assert counts["component_solver_calls"] == counts["component_residual"] == counts["component_jacobian"] == 0 + assert counts["coupled_solver_calls"] == 1 and counts["coupled_residual"] > 0 and counts["coupled_jacobian"] > 0 + assert r["component_result"] is None and r["component_failure"] is None + assert all(check["passed"] for check in r["coupled_result"]["checks"]) + assert r["physical_certificate_status"] == "not_evaluated" and not r["qualification"] + assert r["coupled_result"]["solver_controls"] == r["solver_controls"]["steady"] + + +def test_fresh_join_preserves_profile_then_all_species_remain_active(fresh_native): + import math + + r = fresh_native[0]["result"] + initial, seed, joined, final = r["initial"]["state"], r["density_seed"], r["coupled_initial_state"], r["coupled_result"] + n = seed["potential_V"].size + assert n == 37 and joined["u"].size == 137 + assert seed["potential_V"].tobytes() == r["initial_electronic_state"]["potential_V"].tobytes() + assert joined["u"][:3*n].tobytes() == seed["u"].tobytes() + assert joined["u"][3*n:].tobytes() == initial["u"][3*n:].tobytes() + weights = np.asarray(r["binding_manifest"]["ion_domain"]["cell_measures_m"]) + for species in ("positive", "negative"): + key = species + "_ion_density_m3" + assert joined[key].tobytes() == initial[key].tobytes() + assert np.max(abs(final["state"][key] / joined[key] - 1.0)) > 0.0 + info = final["diagnostics"]["ion_species"][species] + inventory = math.fsum((weights * final["state"][key]).tolist()) + assert inventory == info["inventory_m2"] + assert info["inventory_relative_error"] <= 1e-12 + assert info["ion_balance_l1_m2_s"] <= 1e6 and info["ion_flux_max_m2_s"] <= 1e6 + assert info["original_dropped_balance_m2_s"] == final["diagnostics"]["original_residual"][info["constraint_row"]] + assert final["diagnostics"]["shared_site"]["maximum_summed_site_fraction"] < 1 + assert final["diagnostics"]["carrier_balance_A_m2"] <= 1e-8 + assert final["diagnostics"]["current_spread_A_m2"] <= 1e-8 + assert final["diagnostics"]["total_current_density_A_m2"].shape == (38,) + + +def test_fresh_accepted_read_is_solver_free_and_rejects_relabel(fresh_native, tmp_path, monkeypatch): + record, path, digest = fresh_native + + def forbidden(*args, **kwargs): + pytest.fail("a read operation invoked numerical work") + + for name in ("initialize_ionic_steady_state", "solve_steady_state", "solve_ionic_steady_state", + "density_basin_seed", "_admit_evidence"): + monkeypatch.setattr(driver, name, forbidden) + read = driver.read_ionic_initialization(path, digest) + assert _encode(read) == _encode(record) + changed = deepcopy(record) + changed["result"]["generation_scale"] = 2.0 + raw = (json.dumps(_encode(changed), allow_nan=False) + "\n").encode() + wrong = tmp_path / "WrongGeneration.json" + wrong.write_bytes(raw) + with pytest.raises(ValueError, match="request/control/source identity"): + driver.read_ionic_initialization(wrong, hashlib.sha256(raw).hexdigest()) diff --git a/tests/integration/test_ionic_multilayer_1d.py b/tests/integration/test_ionic_multilayer_1d.py new file mode 100644 index 00000000..8e3f24f1 --- /dev/null +++ b/tests/integration/test_ionic_multilayer_1d.py @@ -0,0 +1,189 @@ +"""Real confined-domain N/M residuals, mapped charge, storage and declarations.""" + +from __future__ import annotations + +from dataclasses import replace +import math + +import numpy as np +import pytest +from threadpoolctl import threadpool_limits + +from examples.research_1d.ionic_multilayer import prepare_confined_ion_device +from examples.research_1d.ionic_residual import prepare_single_ion_device +from solarlab.config.resolve_device import resolve_device +from solarlab.device.compile_ionic_1d import compile_ionic_device_1d +from solarlab.device.inputs import DeviceInput +from solarlab.equations.dc_1d import CapabilityError +from solarlab.equations.ionic_1d import Ionic1DProblem +from solarlab.physics.ions import ion_face_flux, single_site_density + +Q = 1.602176634e-19 + + +@pytest.fixture(scope="module", autouse=True) +def blas1(): + with threadpool_limits(limits=1): + yield + + +def compile_confined(prepared=None, counts=(12, 12, 12)): + return compile_ionic_device_1d( + prepare_confined_ion_device() if prepared is None else prepared, + intervals_per_layer=counts, ion_domain_layer="absorber", + ion_domain_endpoints=("blocking", "blocking"), + ) + + +@pytest.fixture(scope="module") +def case(): + device = compile_confined() + problem = Ionic1DProblem(device, voltage_V=0.002) + y = device.initial_state(voltage_V=0.002).u.copy() + y[3 * device.node_count:] = np.linspace(-0.15, 0.12, device.ion_node_count) + return device, problem, y + + +def test_real_N_M_map_contains_both_planes_and_exact_physical_inventory(case): + device, _, y = case + assert (device.node_count, device.ion_node_count, device.state_size) == (37, 13, 124) + np.testing.assert_array_equal(device.ion_node_indices, np.arange(12, 25)) + np.testing.assert_array_equal(device.ion_geometry.nodes_m, device.nodes_m[device.ion_node_indices]) + planes = device.electronic_component.geometry.interfaces + assert device.ion_node_indices[0] == planes[0].shared_node + assert device.ion_node_indices[-1] == planes[1].shared_node + assert math.isclose(device.reference_inventory_m2, 3e17, rel_tol=3e-16) + state = device.state(y, voltage_V=0.002) + assert state.u.shape == (124,) and state.electronic_state.u.shape == (111,) + assert state.positive_ion_density_m3.shape == (13,) + assert state.device_sha256 == device.identity + np.testing.assert_array_equal(device.binding_manifest["ion_domain"]["electrical_node_indices"], device.ion_node_indices) + with pytest.raises(ValueError): + device.ion_node_indices.setflags(write=True) + + +@pytest.mark.parametrize("counts", [(12, 12, 12), (5, 11, 7)]) +def test_interface_half_cells_use_inside_spacing_not_a_fixed_half_ratio(counts): + device = compile_confined(counts=counts) + indices = device.ion_node_indices + x = device.nodes_m + expected_left = (x[indices[1]] - x[indices[0]]) / (x[indices[1]] - x[indices[0] - 1]) + expected_right = (x[indices[-1]] - x[indices[-2]]) / (x[indices[-1] + 1] - x[indices[-2]]) + np.testing.assert_allclose(device.ion_charge_weight_ratio[[0, -1]], [expected_left, expected_right], rtol=2e-14) + assert np.all(device.ion_charge_weight_ratio[[0, -1]] != 0.5) + np.testing.assert_array_equal(device.ion_charge_weight_ratio[1:-1], np.ones(device.ion_node_count - 2)) + + +def test_charge_oracle_scatter_and_poisson_include_both_ion_domain_endpoints(case): + device, problem, y = case + N, idx = device.node_count, device.ion_node_indices + _, n, p, P = device.fields(y, voltage_V=0.002) + physical = np.zeros(N) + physical[idx] = Q * device.ion_geometry.cell_measures_m * (P - device.positive_ion_reference_m3) + ledger = device.charge_ledger(n, p, P) + deposited = Q * device.electronic_component.geometry.cell_measures_m * ledger.entry("positive_ion").net_population() + np.testing.assert_allclose(deposited, physical, rtol=5e-15, atol=1e-20) + np.testing.assert_array_equal(deposited[:idx[0]], np.zeros(idx[0])) + np.testing.assert_array_equal(deposited[idx[-1] + 1:], np.zeros(N - idx[-1] - 1)) + difference = problem.residual(y)[:N] - problem.electronic_problem.residual(y[:3 * N])[:N] + np.testing.assert_allclose(difference, physical, rtol=1e-13, atol=1e-18) + assert abs(difference[idx[0]]) > 0.0 and abs(difference[idx[-1]]) > 0.0 + J = problem.jacobian(y) + assert J[idx[0], 3 * N] > 0.0 and J[idx[-1], device.state_size - 1] > 0.0 + + +def test_domain_flux_storage_and_global_current_embedding_are_conservative(case): + device, problem, y = case + N, M, idx = device.node_count, device.ion_node_count, device.ion_node_indices + flux = problem.ion_fluxes(y) + expected = np.zeros(N - 1) + expected[idx[:-1]] = flux + np.testing.assert_array_equal(problem.ion_fluxes_on_electronic_faces(y), expected) + balance = -np.diff(np.r_[0.0, flux, 0.0]) + np.testing.assert_array_equal(problem.residual(y)[3 * N:], balance) + bound = 4 * np.finfo(float).eps * math.fsum(abs(flux).tolist()) + assert abs(math.fsum(balance.tolist())) <= bound + _, _, _, P = device.fields(y, voltage_V=0.002) + partial = P * (1.0 - P / device.positive_ion_site_limit_m3) + K = problem.storage_jacobian(y) + np.testing.assert_array_equal(K.diagonal()[3 * N:], -device.ion_geometry.cell_measures_m * partial) + assert K.shape == (3 * N + M, 3 * N + M) + assert K.diagonal()[3 * N] < 0.0 and K.diagonal()[-1] < 0.0 + outside = np.setdiff1d(np.arange(N), idx) + assert problem.jacobian(y)[3 * N:, :N][:, outside].nnz == 0 + assert problem.jacobian(y)[3 * N:, N:3 * N].nnz == 0 + + +@pytest.mark.parametrize("alpha", [0.0, 2.5]) +def test_full_mapped_Fy_and_nonlinear_storage_have_independent_directional_check(case, alpha): + device, problem, y = case + rng = np.random.default_rng(40837) + direction = rng.uniform(-0.1, 0.1, device.state_size) + derivative = rng.uniform(-0.2, 0.2, device.state_size) + direction[:device.node_count] *= device.electronic_component.thermal_voltage_V + derivative[:device.node_count] *= device.electronic_component.thermal_voltage_V + J = problem.jacobian(y, derivative, alpha=alpha) + h = 1e-5 + finite = (problem.residual(y + h * direction, derivative + alpha * h * direction) + - problem.residual(y - h * direction, derivative - alpha * h * direction)) / (2 * h) + conditioning = abs(J) @ abs(direction) + error = float(np.max(abs(finite - J @ direction) / np.maximum(conditioning, np.finfo(float).tiny))) + print(f"3N+M alpha={alpha:g}: complete directional error {error:.9g}") + assert error < 2e-7 + + +@pytest.mark.parametrize("field", ["positive_ion_reference_m3", "positive_ion_site_limit_m3", "positive_ion_logit_reference"]) +def test_original_binding_refusals_are_retained_on_the_M_node_domain(case, field): + device, _, _ = case + value = getattr(device, field) + with pytest.raises(ValueError, match="ionic binding"): + replace(device, **{field: value + 0.4 if field == "positive_ion_logit_reference" else value * 2}) + + +def test_missing_or_transmissive_domain_declarations_refuse(): + prepared = prepare_confined_ion_device() + with pytest.raises(CapabilityError, match="explicit ion domain"): + compile_ionic_device_1d(prepared) + with pytest.raises(CapabilityError, match="explicit blocking endpoints"): + compile_ionic_device_1d(prepared, ion_domain_layer="absorber") + with pytest.raises(CapabilityError, match="interface exchange"): + compile_ionic_device_1d(prepared, ion_domain_layer="absorber", ion_domain_endpoints=("transmissive", "blocking")) + + +@pytest.mark.parametrize("parameter,value", [("P0", 1e21), ("D_ion", 1e-16), ("P0_neg", 1e21)]) +def test_outside_or_additional_ionic_physics_is_not_projected_away(parameter, value): + prepared = prepare_confined_ion_device() + data = prepared.to_input().editing_data() + data["layers"][0]["parameters"][parameter] = value + changed = resolve_device(DeviceInput.model_validate(data), prepared.defaults, prepared.resources, sources=prepared.sources) + with pytest.raises(CapabilityError, match="outside-domain|negative/dual"): + compile_confined(changed) + + +def test_disconnected_or_rebound_domain_maps_and_wrong_state_shapes_refuse(case): + device, _, y = case + wrong = device.ion_node_indices.copy() + wrong[5] += 1 + with pytest.raises(ValueError, match="contiguous"): + replace(device, ion_node_indices=wrong) + with pytest.raises(ValueError, match="coincide|binding"): + replace(device, ion_node_indices=device.ion_node_indices + 1) + with pytest.raises(ValueError, match="3.N.*M"): + device.state(np.r_[y, 0.0], voltage_V=0.002) + + +def test_one_single_layer_primitive_regression_keeps_accepted_physical_values(): + device = compile_ionic_device_1d(prepare_single_ion_device(diffusion_only=True), intervals_per_layer=12) + N = device.node_count + y = device.initial_state().u.copy() + x = (device.nodes_m - device.nodes_m[0]) / device.ion_geometry.extent_m + y[:N] += 0.002 * np.sin(np.pi * x) + y[3 * N:] = 0.1 * np.cos(np.pi * x) + P = single_site_density(device.positive_ion_reference_m3, device.positive_ion_site_limit_m3, + device.positive_ion_logit_reference, y[3 * N:]) + expected = ion_face_flux(y[:N], P, np.diff(device.nodes_m), device.positive_ion_diffusivity_faces_m2_s, + device.electronic_component.thermal_voltage_V, device.positive_ion_site_limit_m3[:-1], + steric_diffusion_only=True, P_lim_node=device.positive_ion_site_limit_m3) + np.testing.assert_array_equal(Ionic1DProblem(device).ion_fluxes(y), expected) + assert device.reference_inventory_m2 == 3e17 and device.state_size == 4 * N + np.testing.assert_array_equal(device.ion_node_indices, np.arange(N)) diff --git a/tests/integration/test_ionic_pv_1d.py b/tests/integration/test_ionic_pv_1d.py new file mode 100644 index 00000000..e62e3284 --- /dev/null +++ b/tests/integration/test_ionic_pv_1d.py @@ -0,0 +1,394 @@ +"""PV metric semantics and source-bound readback; never repeat native curves.""" + +from copy import deepcopy +from dataclasses import asdict +import hashlib +import json +import math +import os +from pathlib import Path +import sys +from types import SimpleNamespace + +import numpy as np +import pytest + +from examples.research_1d import ionic_pv as consumer +from solarlab.experiments.jv import ionic_steady as driver +from solarlab.experiments.jv.steady import steady_jv_metrics +from solarlab.experiments.transient_results import _encode + + +def summary_input(voltage, current, *, incident=None, failed=False): + """Synthetic display-only data; never represented as saved solver evidence.""" + v, j = np.asarray(voltage, dtype=float), np.asarray(current, dtype=float) + attempts = [{"index":i,"voltage_V":float(value),"accepted":True,"solution":None} + for i,value in enumerate(v)] + requested = v + if failed: + requested = np.r_[v, v[-1] + 0.1] + attempts.append({"index":len(v),"voltage_V":float(requested[-1]),"accepted":False, + "termination":"synthetic_failure","error":None,"solver_called":False,"solution":None}) + return {"completed":not failed,"result":{"voltage_V":v,"output_current_A_m2":j, + "requested_voltage_V":requested,"attempts":attempts, + "metrics":asdict(steady_jv_metrics(v,j,incident_power_W_m2=incident)), + "incident_power_W_m2":incident,"solver_calls":0,"evaluation_counts":{},"wall_s":0.0, + "generation_scale":1.0,"compiled_identity":"synthetic_display_only", + "source_identity":"synthetic","controls_sha256":"synthetic","request_sha256":"synthetic", + "physical_certificate_status":"not_evaluated"}} + + +def test_positive_endpoint_establishes_jsc_but_not_voc_ff_or_efficiency(): + value=consumer.pv_summary(summary_input([0.0,0.2],[10.0,9.0])) + assert value["sampled_short_circuit_current_A_m2"]==10.0 + assert not value["open_circuit_bracket_established"] + assert value["open_circuit_bracket"] is None + for name in ("open_circuit_voltage_V","maximum_power_W_m2","fill_factor","efficiency"): + assert value["metrics"][name] is None + assert value["efficiency_status"]=="unknown_incident_power" + + +@pytest.mark.parametrize("reverse",[False,True]) +def test_interpolated_crossing_and_power_between_samples_are_labeled(reverse): + v,j=[0.0,0.8,1.2],[10.0,2.0,-2.0] + if reverse: + v,j=v[::-1],j[::-1] + value=consumer.pv_summary(summary_input(v,j)) + assert value["open_circuit_bracket"]["voltage_V"]==[0.8,1.2] + assert value["metrics"]["open_circuit_voltage_V"]==pytest.approx(1.0) + # I=10(1-V), so the linear-segment power peak is at V=0.5, not a supplied node. + assert value["metrics"]["maximum_power_W_m2"]==pytest.approx(2.5) + assert value["metrics"]["fill_factor"]==pytest.approx(0.25) + assert "piecewise-linear" in value["metric_basis"] + assert value["voltage_grid_qualification"]=="not_evaluated" + assert value["physical_certificate_status"]=="not_evaluated" + + +def test_generation_one_does_not_imply_irradiance(): + absent=consumer.pv_summary(summary_input([0.0,1.0],[10.0,0.0])) + declared=consumer.pv_summary(summary_input([0.0,1.0],[10.0,0.0],incident=100.0)) + assert absent["generation_scale"]==declared["generation_scale"]==1.0 + assert absent["metrics"]["efficiency"] is None + assert declared["metrics"]["efficiency"]==pytest.approx(0.025) + + +def test_no_zero_voltage_observation_prevents_invented_pv_bracket(): + value=consumer.pv_summary(summary_input([0.8,1.2],[2.0,-2.0])) + assert value["sampled_short_circuit_current_A_m2"] is None + assert not value["open_circuit_bracket_established"] + assert value["metrics"]["limitation"]=="zero_voltage_not_bracketed" + + +def test_failed_protocol_does_not_erase_an_observed_accepted_bracket(): + value=consumer.pv_summary(summary_input([0.0,0.8,1.2],[10.0,2.0,-2.0],failed=True)) + assert not value["completed"] and value["first_failure"] is not None + assert value["open_circuit_bracket_established"] + assert value["metrics"]["open_circuit_voltage_V"]==pytest.approx(1.0) + + +@pytest.fixture(scope="module") +def native_records(): + parent_path=os.environ.get("SOLARLAB_IONIC_PV_RESULT") + fine_path=os.environ.get("SOLARLAB_IONIC_PV_CONTINUATION_RESULT") + if not parent_path or not fine_path: + pytest.skip("bind archived raw curves explicitly; these tests never rerun native physics") + parent_sha=os.environ["SOLARLAB_IONIC_PV_SHA256"] + fine_sha=os.environ["SOLARLAB_IONIC_PV_CONTINUATION_SHA256"] + parent=driver.read_ionic_steady_jv(parent_path,parent_sha) + fine=driver.read_ionic_steady_jv(fine_path,fine_sha) + return parent,fine,Path(parent_path),parent_sha,Path(fine_path),fine_sha + + +def test_original_first_failure_and_complete_requested_grid_remain(native_records): + parent=native_records[0] + r=parent["result"] + assert not parent["completed"] + np.testing.assert_array_equal(r["requested_voltage_V"],consumer.COARSE_PROBE_VOLTAGES_V) + np.testing.assert_array_equal(r["voltage_V"],[0.0,0.01,0.025,0.05,0.1,0.2]) + assert len(r["attempts"])==r["solver_calls"]==7 + failed=r["attempts"][-1] + assert failed["voltage_V"]==0.3 and not failed["accepted"] + solution=failed["solution"] + assert solution["newton"]["termination"]=="budget_exhausted" + assert len(solution["newton"]["iterations"])==60 + assert solution["candidate_coordinates"].tobytes()==solution["newton"]["state"].tobytes() + assert solution["diagnostics"]["original_residual"].shape==(137,) + checks={x["name"]:x for x in solution["checks"]} + assert checks["carrier_balance_A_m2"]["value"]>checks["carrier_balance_A_m2"]["limit"] + + +def test_continuation_reuses_exact_parent_state_and_actual_controls(native_records): + parent,fine,_,parent_sha,_,_=native_records + point=parent["result"]["attempts"][5]["solution"] + r=fine["result"] + assert fine["completed"] and r["solver_calls"]==40 + np.testing.assert_array_equal(r["requested_voltage_V"],consumer.CONTINUATION_VOLTAGES_V) + initial=r["initial_provenance"] + raw=Path(initial["source_path"]).read_bytes() + assert hashlib.sha256(raw).hexdigest()==initial["source_sha256"] + seed=json.loads(raw) + assert seed["summary"]["parent_curve_sha256"]==parent_sha + assert seed["summary"]["parent_attempt_index"]==5 + assert _encode(initial["state"])==_encode(point["state"]) + assert seed["result"]["solver_controls"]==point["solver_controls"]==r["solver_controls"]["steady"] + assert 00.0 + assert value["metrics"]["short_circuit_current_A_m2"]==parent["result"]["output_current_A_m2"][0] + for name in ("open_circuit_voltage_V","maximum_power_W_m2","fill_factor","efficiency"): + assert value["metrics"][name] is None + assert value["physical_certificate_status"]=="not_evaluated" + + +def test_cli_joined_read_is_solver_free(native_records,monkeypatch,capsys): + _,_,pp,ps,fp,fs=native_records + def forbidden(*args,**kwargs): + pytest.fail("read-only PV access started model/solver work") + for module,name in ((consumer,"compile_case"),(consumer,"run_ionic_steady_jv"), + (consumer,"load_ionic_steady_initial"),(driver,"solve_ionic_steady_state")): + monkeypatch.setattr(module,name,forbidden) + monkeypatch.setattr(sys,"argv",["ionic_pv","read","--result",str(fp),"--sha256",fs, + "--parent-result",str(pp),"--parent-sha256",ps,"--parent-index","5"]) + assert consumer.main()==0 + assert json.loads(capsys.readouterr().out)["metrics"]["open_circuit_voltage_V"] is None + + +@pytest.mark.parametrize("metric",["open_circuit_voltage_V","maximum_power_W_m2","fill_factor","efficiency"]) +def test_reader_refuses_metrics_invented_without_brackets(native_records,tmp_path,metric): + parent=deepcopy(native_records[0]) + parent["result"]["metrics"][metric]=0.5 + raw=(json.dumps(_encode(parent),allow_nan=False)+"\n").encode() + path=tmp_path/"InventedMetric.json" + path.write_bytes(raw) + with pytest.raises(ValueError,match="metrics contradict"): + driver.read_ionic_steady_jv(path,hashlib.sha256(raw).hexdigest()) + + +def test_failed_parent_candidate_cannot_seed_a_join(native_records): + _,_,pp,ps,fp,fs=native_records + with pytest.raises(ValueError,match="accepted parent point"): + consumer.read_joined_pv(pp,ps,fp,fs,6) + + +@pytest.fixture(scope="module") +def native_tail(): + path=os.environ.get("SOLARLAB_IONIC_PV_TAIL_RESULT") + if not path: + pytest.skip("bind the archived tail explicitly; never rerun native physics") + sha=os.environ["SOLARLAB_IONIC_PV_TAIL_SHA256"] + return driver.read_ionic_steady_jv(path,sha),Path(path),sha + + +def test_tail_retains_whole_parent_result_and_effective_controls(native_records,native_tail): + fine=native_records[1]["result"] + tail=native_tail[0]["result"] + parent=fine["attempts"][39]["solution"] + assert native_tail[0]["completed"] and tail["solver_calls"]==2 + np.testing.assert_array_equal(tail["requested_voltage_V"],consumer.TAIL_VOLTAGES_V) + initial=tail["initial_provenance"] + raw=Path(initial["source_path"]).read_bytes() + assert hashlib.sha256(raw).hexdigest()==initial["source_sha256"] + exported=json.loads(raw) + assert exported["result"]==consumer.json_value(parent) + assert exported["summary"]["parent_curve_sha256"]==native_records[5] + assert exported["summary"]["parent_attempt_index"]==39 + assert _encode(initial["state"])==_encode(parent["state"]) + assert tail["solver_controls"]["steady"]==parent["solver_controls"] + assert tail["solver_controls"]["steady"]["wall_s"]==14.116039042011835 + assert tail["evaluation_counts"]=={"residual":504,"jacobian":95} + + +def test_tail_original_current_and_both_species_inventory_checks(native_tail): + r=native_tail[0]["result"] + for attempt in r["attempts"]: + point=attempt["solution"] + d=point["diagnostics"] + assert attempt["accepted"] and all(g["passed"] for g in point["checks"]) + assert d["total_current_density_A_m2"].shape==(38,) + assert np.ptp(d["total_current_density_A_m2"])<=1e-8 + for species in r["ion_species"]: + density=point["state"][species+"_ion_density_m3"] + info=d["ion_species"][species] + assert math.fsum((r["ion_weights_m"]*density).tolist())==info["inventory_m2"] + assert info["inventory_relative_error"]<=1e-12 + assert info["ion_balance_l1_m2_s"]<=1e6 and info["ion_flux_max_m2_s"]<=1e6 + assert info["original_dropped_balance_m2_s"]==d["original_residual"][info["constraint_row"]] + assert d["shared_site"]["maximum_summed_site_fraction"]<1.0 + + +def test_three_wave_metrics_have_actual_bracket_and_keep_original_failure(native_records,native_tail): + _,_,pp,ps,fp,fs=native_records + _,tp,ts=native_tail + value=consumer.read_three_wave_pv(pp,ps,fp,fs,tp,ts) + assert len(value["accepted_voltage_V"])==48 + assert np.all(np.diff(value["accepted_voltage_V"])>0.0) + assert value["solver_calls_including_preserved_failures"]==49 + assert not value["coarse_completed"] and value["fine_completed"] and value["tail_completed"] + assert value["coarse_first_failure"]["voltage_V"]==0.3 + assert value["coarse_first_failure"]["iterations"]==60 + bracket=value["open_circuit_bracket"] + assert bracket["voltage_V"]==[1.2,1.225] + j0,j1=bracket["output_current_A_m2"] + assert j0>0>j1 + metrics=value["metrics"] + assert metrics["open_circuit_voltage_V"]==pytest.approx(1.2+0.025*j0/(j0-j1)) + assert metrics["short_circuit_current_A_m2"]==144.3836399722872 + assert metrics["maximum_power_W_m2"]==pytest.approx(147.10362262419616) + assert metrics["fill_factor"]==pytest.approx(0.838815495249181) + assert metrics["efficiency"] is None and value["incident_power_W_m2"] is None + assert value["physical_certificate_status"]==value["mesh_qualification"]=="not_evaluated" + assert "piecewise-linear" in value["metric_basis"] + + +def test_three_wave_cli_read_never_invokes_compile_initialization_or_solver(native_records,native_tail,monkeypatch,capsys): + _,_,pp,ps,fp,fs=native_records + _,tp,ts=native_tail + def forbidden(*args,**kwargs): + pytest.fail("saved three-wave metrics started model or solver work") + for module,name in ((consumer,"compile_case"),(consumer,"run_ionic_steady_jv"), + (consumer,"load_ionic_steady_initial"),(driver,"solve_ionic_steady_state")): + monkeypatch.setattr(module,name,forbidden) + monkeypatch.setattr(sys,"argv",["ionic_pv","read","--result",str(tp),"--sha256",ts, + "--parent-result",str(fp),"--parent-sha256",fs,"--parent-index","39", + "--coarse-result",str(pp),"--coarse-sha256",ps]) + assert consumer.main()==0 + result=json.loads(capsys.readouterr().out) + assert result["open_circuit_bracket_established"] and result["tail_completed"] + assert result["coarse_first_failure"]["voltage_V"]==0.3 + + +def test_three_wave_read_refuses_a_changed_parent_export(native_records,native_tail,monkeypatch): + _,_,pp,ps,fp,fs=native_records + tail,tp,ts=native_tail + seed=Path(tail["result"]["initial_provenance"]["source_path"]) + original=Path.read_bytes + def changed(path): + raw=original(path) + return raw+b" " if path==seed else raw + monkeypatch.setattr(Path,"read_bytes",changed) + with pytest.raises(ValueError,match="initial artifact SHA-256 mismatch"): + consumer.read_three_wave_pv(pp,ps,fp,fs,tp,ts) + + +@pytest.mark.parametrize("command,expected_grid",[ + ("solve",tuple(tick/40.0 for tick in range(51))), + ("coarse-probe",(0.0,0.01,0.025,0.05,0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8,0.9,1.0,1.05,1.1,1.2)), +]) +def test_primary_and_historical_commands_call_one_declared_protocol(command,expected_grid,monkeypatch,tmp_path,capsys): + """CLI routing only: no synthetic value is used as native solver evidence.""" + device=SimpleNamespace(ion_node_count=13) + initial=SimpleNamespace(generation_scale=1.0) + calls=[] + loads=[] + settings=consumer.controls(13) + def load(device_arg,path,sha,*,controls): + loads.append((device_arg,path,sha,controls)) + return initial + def run(device_arg,voltages,**kwargs): + calls.append((device_arg,voltages,kwargs)) + return SimpleNamespace(completed=True) + def forbidden(*args,**kwargs): + pytest.fail("direct curve attempted a parent export or manual join") + monkeypatch.setattr(consumer,"compile_case",lambda mode:device if mode=="shared" else None) + monkeypatch.setattr(consumer,"load_ionic_steady_initial",load) + monkeypatch.setattr(consumer,"run_ionic_steady_jv",run) + monkeypatch.setattr(consumer,"write_ionic_steady_jv",lambda result,path:"synthetic_display_only") + monkeypatch.setattr(consumer,"read_ionic_steady_jv",lambda path,sha:summary_input([0.0,1.25],[10.0,-1.0])) + monkeypatch.setattr(consumer,"export_parent_initial",forbidden) + monkeypatch.setattr(consumer,"read_joined_pv",forbidden) + seed=tmp_path/"Accepted.json" + monkeypatch.setattr(sys,"argv",["ionic_pv",command,"--initial-result",str(seed), + "--initial-sha256","explicit_source_sha","--output",str(tmp_path/"Curve.json")]) + assert consumer.main()==0 + capsys.readouterr() + assert loads==[(device,seed,"explicit_source_sha",settings)] + assert len(calls)==1 + called_device,grid,kwargs=calls[0] + assert called_device is device and grid==expected_grid + assert kwargs["initial"] is initial and kwargs["initial_policy"]=="saved_accepted" + assert kwargs["generation_scale"]==1.0 and kwargs["incident_power_W_m2"] is None + assert kwargs["options"].max_points==len(expected_grid) + assert kwargs["options"].wall_s==25.0 and kwargs["options"].steady==settings + + +@pytest.fixture(scope="module") +def direct_record(): + path=os.environ.get("SOLARLAB_IONIC_PV_DIRECT_RESULT") + if not path: + pytest.skip("bind the saved direct curve explicitly; never resimulate it in tests") + sha=os.environ["SOLARLAB_IONIC_PV_DIRECT_SHA256"] + return driver.read_ionic_steady_jv(path,sha),Path(path),sha + + +def test_direct_native_curve_uses_one_fresh_initial_and_all_requested_points(direct_record): + record,_,_=direct_record + r=record["result"] + assert record["completed"] and len(r["attempts"])==r["solver_calls"]==51 + np.testing.assert_array_equal(r["requested_voltage_V"],consumer.VOLTAGES_V) + np.testing.assert_array_equal(r["voltage_V"],consumer.VOLTAGES_V) + assert r["initial_provenance"]["source_sha256"]=="55fa5adc94e9fc31866482025f0bade873289680ba4c958ab839b8f9d7f8f9d3" + assert r["solver_controls"]["steady"]==asdict(consumer.controls(13)) + assert r["solver_controls"]["wall_s"]==25.0 and r["solver_controls"]["max_points"]==51 + for attempt in r["attempts"]: + solution=attempt["solution"] + d=solution["diagnostics"] + assert attempt["accepted"] and all(g["passed"] for g in solution["checks"]) + assert solution["state"]["u"].shape==(137,) + assert np.ptp(d["total_current_density_A_m2"])<=1e-8 + assert d["shared_site"]["maximum_summed_site_fraction"]<1.0 + for species in ("positive","negative"): + density=solution["state"][species+"_ion_density_m3"] + info=d["ion_species"][species] + assert math.fsum((r["ion_weights_m"]*density).tolist())==info["inventory_m2"] + assert info["inventory_relative_error"]<=1e-12 + summary=consumer.pv_summary(record) + assert summary["first_failure"] is None + assert summary["open_circuit_bracket"]["voltage_V"]==[1.2,1.225] + assert summary["metrics"]["efficiency"] is None + assert summary["physical_certificate_status"]=="not_evaluated" + + +def test_direct_saved_cli_read_requires_no_initial_artifact_or_solver(direct_record,monkeypatch,capsys): + record,path,sha=direct_record + def forbidden(*args,**kwargs): + pytest.fail("direct saved read started a model, initialization, join or solve") + for module,name in ((consumer,"compile_case"),(consumer,"run_ionic_steady_jv"), + (consumer,"load_ionic_steady_initial"),(consumer,"read_joined_pv"), + (consumer,"read_three_wave_pv"),(driver,"solve_ionic_steady_state")): + monkeypatch.setattr(module,name,forbidden) + monkeypatch.setattr(sys,"argv",["ionic_pv","read","--result",str(path),"--sha256",sha]) + assert consumer.main()==0 + value=json.loads(capsys.readouterr().out) + assert value==consumer.pv_summary(record) + assert len(value["accepted_voltage_V"])==51 and value["first_failure"] is None diff --git a/tests/integration/test_ionic_small_signal_1d.py b/tests/integration/test_ionic_small_signal_1d.py new file mode 100644 index 00000000..16047b3f --- /dev/null +++ b/tests/integration/test_ionic_small_signal_1d.py @@ -0,0 +1,754 @@ +"""Ionic AC operators and physical port derivatives at recorded point coordinates. + +The seeds are copied from the listed accepted artifacts. These hermetic tests +use them as mathematical points in the current compiled environment; they do +not relabel/rebind historical acceptance. Main independently admits the full +saved artifact and rechecks its original physical gates before a response. +""" + +from __future__ import annotations + +from dataclasses import replace +import ast +from pathlib import Path + +import numpy as np +import pytest +from threadpoolctl import threadpool_limits + +from examples.research_1d.ionic_multilayer import ( + prepare_confined_ion_device, + prepare_confined_dual_ion_device, +) +from examples.research_1d.shared_site_ionic_fixture import ( + prepare_confined_shared_site_ion_device, +) +from solarlab.device.compile_ionic_1d import compile_ionic_device_1d +from solarlab.equations.ionic_1d import Ionic1DProblem +from solarlab.equations.ionic_small_signal import build_ionic_small_signal +from solarlab.experiments.impedance import ( + _moving_voltage_partial, + _lifted_storage_drive, + _particle_perturbations, +) +from examples.research_1d.ionic_residual import prepare_single_ion_device + +Q = 1.602176634e-19 + + +@pytest.fixture(scope="module", autouse=True) +def blas1(): + with threadpool_limits(limits=1): + yield + + +@pytest.fixture(scope="module", params=["positive", "independent", "shared"]) +def case(request): + kind = request.param + prepared = { + "positive": prepare_confined_ion_device, + "independent": prepare_confined_dual_ion_device, + "shared": prepare_confined_shared_site_ion_device, + }[kind]() + device = compile_ionic_device_1d( + prepared, + intervals_per_layer=(12, 12, 12), + ion_domain_layer="absorber", + ion_domain_endpoints=("blocking", "blocking"), + ) + sample = RECORDED[kind] + state = device.state(np.asarray(sample["u"]), voltage_V=sample["voltage_V"]) + return device, state, build_ionic_small_signal(device, state) + + +def test_production_matrices_and_grouped_lift_match_existing_core_math(case): + device, state, operator = case + problem = Ionic1DProblem(device, voltage_V=state.voltage_V) + N = device.node_count + np.testing.assert_array_equal( + operator.jacobian.toarray(), problem.jacobian(state.u).toarray() + ) + np.testing.assert_array_equal( + operator.storage_jacobian.toarray(), problem.storage_jacobian(state.u).toarray() + ) + V = 2e-6 + 1e-6j + system = operator.system(1.0, voltage_phasor_V=V, ion_mode="mobile") + assert system.coordinate_form == "moving_boundary_lift_v1" + assert tuple(system.original_rows_enforced) == tuple(range(device.state_size)) + assert len(system.fixed_coordinates) == 6 and all( + value == 0.0 for value in system.fixed_coordinates.values() + ) + np.testing.assert_array_equal( + operator.reference_direction_per_V[3 * N :], np.zeros(device.state_size - 3 * N) + ) + lift = operator.coordinate_lift_per_V + expected = _moving_voltage_partial( + problem.electronic_problem, state.u[: 3 * N], lift[: 3 * N] + ) + expected_rate = _lifted_storage_drive( + problem.electronic_problem, state.u[: 3 * N], lift[: 3 * N] + ) + np.testing.assert_array_equal(system.rhs[: 3 * N], -expected * V) + np.testing.assert_array_equal(system.rhs_rate[: 3 * N], expected_rate * V) + np.testing.assert_array_equal( + system.rhs[3 * N :], -(operator.jacobian[3 * N :, :N] @ lift[:N]) * V + ) + np.testing.assert_array_equal( + system.rhs_rate[3 * N :], np.zeros(device.state_size - 3 * N) + ) + + +def test_zero_frequency_full_inventory_rows_and_frozen_clamps(case): + device, state, operator = case + N = device.node_count + system = operator.system(0.0, voltage_phasor_V=2e-6 + 1e-6j) + for species, block in zip(device.ion_species_names, device.ion_species_slices): + row = system.constraint_rows[species] + expected = -np.asarray(operator.storage_jacobian[block, :].sum(axis=0)).ravel() + np.testing.assert_array_equal(system.jacobian[row, :].toarray()[0], expected) + assert system.rhs[row] == 0.0 and system.rhs_rate[row] == 0.0 + assert system.storage_jacobian[row, :].nnz == 0 + frozen = operator.system(1.0, ion_mode="frozen") + assert frozen.original_rows_enforced == tuple(range(3 * N)) + for row in range(3 * N, device.state_size): + assert frozen.jacobian[row, row] == 1.0 and frozen.jacobian[row, :].nnz == 1 + assert frozen.storage_jacobian[row, :].nnz == 0 + assert ( + frozen.fixed_coordinates[row] + == frozen.rhs[row] + == frozen.rhs_rate[row] + == 0.0 + ) + x = np.zeros(device.state_size, dtype=complex) + x[:N] = 0.1 * np.sin(np.linspace(0.0, np.pi, N)) + out = operator.observe(x, 1.0, voltage_phasor_V=0.001 + 0.002j, ion_mode="frozen") + assert np.count_nonzero(out["ionic_conduction_current_density_A_m2"]) == 0 + for species, density in zip( + device.ion_species_names, + (state.positive_ion_density_m3, state.negative_ion_density_m3), + ): + assert np.count_nonzero(out["ion_density_perturbation_m3"][species]) == 0 + np.testing.assert_array_equal(out["base_ion_density_m3"][species], density) + assert out["physical_certificate_status"] == "not_evaluated" + + +def test_complex_particle_tangents_have_independent_directional_check(case): + device, state, operator = case + N = device.node_count + problem = Ionic1DProblem(device, voltage_V=state.voltage_V) + rng = np.random.default_rng(40619) + real = rng.uniform(-0.02, 0.02, device.state_size) + imag = rng.uniform(-0.02, 0.02, device.state_size) + real[:N] *= device.electronic_component.thermal_voltage_V + imag[:N] *= device.electronic_component.thermal_voltage_V + h = 5e-5 + rp, rm = state.u + h * real, state.u - h * real + ip, im = state.u + h * imag, state.u - h * imag + effective = (rp - rm) / (2 * h) + 1j * (ip - im) / (2 * h) + out = operator.observe(effective, 1.0, coordinate_form="fixed_reference_v1") + erp, erm = ( + problem.electronic_problem.fluxes(rp[: 3 * N]), + problem.electronic_problem.fluxes(rm[: 3 * N]), + ) + eip, eim = ( + problem.electronic_problem.fluxes(ip[: 3 * N]), + problem.electronic_problem.fluxes(im[: 3 * N]), + ) + for index, name in enumerate(("electron", "hole")): + finite = (getattr(erp, name).flux - getattr(erm, name).flux) / (2 * h) + 1j * ( + getattr(eip, name).flux - getattr(eim, name).flux + ) / (2 * h) + analytic = np.asarray(out["carrier_particle_fluxes_m2_s"])[index, 1:-1] + error = float( + np.max( + abs(finite - analytic) / np.maximum(abs(analytic), np.finfo(float).tiny) + ) + ) + print(f"{name}: complex physical tangent error {error:.9g}") + assert error < 2e-7 + for species in device.ion_species_names: + finite = ( + problem.ion_fluxes(rp, species=species) + - problem.ion_fluxes(rm, species=species) + ) / (2 * h) + finite = finite + 1j * ( + problem.ion_fluxes(ip, species=species) + - problem.ion_fluxes(im, species=species) + ) / (2 * h) + analytic = out["ion_particle_fluxes_m2_s"][species][ + device.ion_node_indices[:-1] + 1 + ] + error = float( + np.max( + abs(finite - analytic) / np.maximum(abs(analytic), np.finfo(float).tiny) + ) + ) + print(f"{species}: complex physical tangent error {error:.9g}") + assert error < 2e-7 + + +def test_lifted_current_observation_preserves_small_coordinates_and_linear_amplitude( + case, +): + device, state, operator = case + N = device.node_count + rng = np.random.default_rng(40704) + x = ( + rng.uniform(-1, 1, device.state_size) * 1e-9 + + 1j * rng.uniform(-1, 1, device.state_size) * 1e-9 + ) + for index in operator.system(1.0).fixed_coordinates: + x[index] = 0.0 + V = 2e-6 + 1e-6j + out = operator.observe(x, 1.0, voltage_phasor_V=V) + np.testing.assert_array_equal(out["solve_coordinate_perturbation"], x) + assert out["coordinate_form"] == "moving_boundary_lift_v1" + np.testing.assert_array_equal( + out["moving_coordinate_perturbation"], x + operator.coordinate_lift_per_V * V + ) + expected_n, expected_p = _particle_perturbations( + Ionic1DProblem(device, state.voltage_V).electronic_problem, + state.u[: 3 * N], + x[: 3 * N], + 0.0, + ) + known_n, known_p = _particle_perturbations( + Ionic1DProblem(device, state.voltage_V).electronic_problem, + state.u[: 3 * N], + operator.coordinate_lift_per_V[: 3 * N], + 1.0, + ) + np.testing.assert_array_equal( + out["carrier_particle_fluxes_m2_s"][0, 1:-1], expected_n + known_n * V + ) + np.testing.assert_array_equal( + out["carrier_particle_fluxes_m2_s"][1, 1:-1], expected_p + known_p * V + ) + assert np.asarray(out["total_current_density_A_m2"]).shape == (N + 1,) + scale = max( + float(np.max(abs(out["total_current_density_A_m2"]))), + float(np.max(abs(out["charge_inventory_perturbation_C_m2"]))) * 2 * np.pi, + np.finfo(float).tiny, + ) + assert ( + np.max(abs(out["maxwell_identity_error_A_m2"])) + <= 256 * np.finfo(float).eps * scale + ) + factor = 0.4 - 0.7j + scaled = operator.observe(x * factor, 1.0, voltage_phasor_V=V * factor) + np.testing.assert_allclose( + scaled["total_current_density_A_m2"], + out["total_current_density_A_m2"] * factor, + rtol=2e-13, + atol=1e-16, + ) + + +def test_series_dielectric_displacement_has_correct_units_and_passive_sign(case): + device, _state, operator = case + N, frequency, V = device.node_count, 1000.0, 2e-6 + 1e-6j + inverse_capacitances = ( + 1.0 / device.electronic_component.poisson.face_capacitance_F_m2 + ) + capacitance = 1.0 / float(np.sum(inverse_capacitances)) + phi = ( + -device.electronic_component.voltage_polarity + * V + * np.r_[0.0, np.cumsum(inverse_capacitances)] + / np.sum(inverse_capacitances) + ) + x = np.zeros(device.state_size, dtype=complex) + x[:N], x[N : 2 * N], x[2 * N : 3 * N] = ( + phi, + -phi / device.electronic_component.thermal_voltage_V, + -phi / device.electronic_component.thermal_voltage_V, + ) + out = operator.observe( + x, + frequency, + voltage_phasor_V=V, + ion_mode="frozen", + coordinate_form="fixed_reference_v1", + ) + expected = ( + 2j + * np.pi + * frequency + * device.electronic_component.voltage_polarity + * capacitance + * V + ) + np.testing.assert_allclose( + out["displacement_current_density_A_m2"], + np.full(N + 1, expected), + rtol=2e-13, + atol=1e-20, + ) + + +def test_domain_endpoint_lift_retains_ion_force_and_frozen_rhs_is_zero(): + device = compile_ionic_device_1d( + prepare_single_ion_device(diffusion_only=True), intervals_per_layer=12 + ) + # This is an explicitly mathematical trial point, not an accepted baseline. + operator = build_ionic_small_signal(device, device.initial_state(voltage_V=0.002)) + N, V = device.node_count, 2e-6 + 1e-6j + mobile = operator.system(1.0, voltage_phasor_V=V) + expected = ( + -(operator.jacobian[3 * N :, :N] @ operator.coordinate_lift_per_V[:N]) * V + ) + assert np.count_nonzero(expected) > 0 + np.testing.assert_array_equal(mobile.rhs[3 * N :], expected) + frozen = operator.system(1.0, voltage_phasor_V=V, ion_mode="frozen") + assert ( + np.count_nonzero(frozen.rhs[3 * N :]) + == np.count_nonzero(frozen.rhs_rate[3 * N :]) + == 0 + ) + + +def test_bound_state_refusals_and_equation_layer_has_no_experiment_import(case): + device, state, _operator = case + with pytest.raises(ValueError, match="complete compiled"): + build_ionic_small_signal(device, None) + with pytest.raises(ValueError, match="same complete"): + build_ionic_small_signal(device, replace(state, device_sha256="foreign")) + with pytest.raises(ValueError, match="operating voltage"): + from solarlab.equations.ionic_small_signal import IonicSmallSignal1D + + IonicSmallSignal1D( + Ionic1DProblem(device, voltage_V=state.voltage_V + 0.1), state + ) + path = ( + Path(__file__).resolve().parents[2] + / "src/solarlab/equations/ionic_small_signal.py" + ) + tree = ast.parse(path.read_text()) + names = [ + node.module or "" for node in ast.walk(tree) if isinstance(node, ast.ImportFrom) + ] + assert not any(name.startswith("solarlab.experiments") for name in names) + + +# Source-pinned coordinate samples; no DC/history solver is called here. +RECORDED = { + "positive": { + "artifact": "IonicMultilayerV1/Solver/FirstRun.json", + "artifact_sha256": "03362c7ed68790818da8df0897b00feb89093815fe4d1133335f22f959a59c76", + "voltage_V": 0.002, + "u": [ + 1.726341228922086e-33, + 1.35763438129151e-10, + 5.170031915191985e-10, + 1.9783166159875546e-09, + 1.6378825607028234e-08, + 4.5607970379197223e-07, + 3.1393596890898953e-05, + 0.00258845058298586, + 0.11014864838343513, + 0.4672797886711301, + 0.6718459911531932, + 0.7592870933261524, + 0.77830034633792, + 0.790699109043159, + 0.8084904256822595, + 0.8214392733770689, + 0.8242451689762729, + 0.8243786504201266, + 0.8243805347239643, + 0.8243905182781228, + 0.8251248142700244, + 0.8403070127646914, + 0.891593634679238, + 0.9252751153912254, + 0.9530354886886763, + 0.963803205009102, + 0.9914793176164602, + 1.055835021617463, + 1.165634572287429, + 1.2114559566503063, + 1.2145941999837604, + 1.214702720372403, + 1.2147069141022844, + 1.2147072416723543, + 1.2147073060102498, + 1.2147073273209972, + 1.2147073351557045, + -0.07736345414366722, + -0.07691129203351975, + -0.07570230693833753, + -0.07255754526768153, + -0.06493114278361511, + -0.04920226667756155, + -0.02539774589261314, + -0.003211742610037348, + -7.721089062204673e-06, + -1.2261881389542458e-07, + -3.204314378554467e-08, + -6.295741639015783e-10, + -4.938626237058874e-12, + -4.928283390579807e-12, + -4.904801537530673e-12, + -4.856485436500645e-12, + -4.730676567609592e-12, + -4.328876819293277e-12, + -3.305315005264167e-12, + -1.7905517964074103e-12, + -5.643434236740368e-13, + -7.383269728644053e-14, + -7.81298398563634e-15, + -3.327899275279077e-15, + -4.9800978296520695e-17, + -3.393624686995816e-17, + -1.292673114785592e-17, + -1.6597662011618738e-18, + -2.240352685863172e-19, + -1.3758210789692726e-19, + -9.20033219759228e-20, + -4.9224893189422746e-20, + -2.156253930628746e-20, + -8.303768086873162e-21, + -2.86566764981295e-21, + -7.795595807157868e-22, + 3.737807963910957e-32, + 4.891945003028334e-31, + 7.795594650061691e-22, + 2.8656660679787163e-21, + 8.303753868613343e-21, + 2.1562397847525512e-20, + 4.9222310332488057e-20, + 9.192969784413905e-20, + 1.3684746918796194e-19, + 6.00590861081696e-19, + 6.793971705834936e-14, + 1.329486292921504e-10, + 3.5128841566837637e-09, + 1.1742400213148171e-07, + 2.384567621269184e-07, + 8.080529929845579e-07, + 3.3689218623660863e-06, + 1.1234090885176946e-05, + 2.6344688418935814e-05, + 4.377370381784362e-05, + 5.398759214186359e-05, + 5.679373253856814e-05, + 5.718787779703405e-05, + 5.7226777939753717e-05, + 5.72334000488287e-05, + 5.723905868912047e-05, + 5.7286208610626305e-05, + 5.7487018202913894e-05, + 5.999308238180836e-05, + 0.0003007362876126939, + 0.006258035410632555, + 0.027355867560817537, + 0.05025559006028201, + 0.06539912909964189, + 0.07273909465433637, + 0.07576515202120172, + 0.0769284081586817, + 0.07736345414366727, + 1.7824589638597863, + 1.3028534088673012, + 0.6146545543850441, + 0.11377076195968513, + 0.005233874199219112, + 7.058141891614883e-05, + -2.30670785859216e-06, + -0.00038848782502085184, + -0.028792324973700448, + -0.6160659834948153, + -2.599921094829622, + -3.9027789391059504, + -4.976598122410182, + ], + }, + "independent": { + "artifact": "DualIonsV1/Consumers/TestEvidence/dual_wave0/Steady.json", + "artifact_sha256": "8a0670519a462a17f48850264d333b341156f14547eb4c62aae34a039446c18e", + "voltage_V": 0.002, + "u": [ + -1.8262864531690207e-27, + 1.7483854681843299e-10, + 6.658058002064729e-10, + 2.547710845450957e-09, + 2.109293838266946e-08, + 5.873473789751932e-07, + 4.042912143775069e-05, + 0.0033328752185633683, + 0.13991452125185158, + 0.5139479774173015, + 0.7254467376490491, + 0.8155472406156137, + 0.8351170184966139, + 0.8479290763431812, + 0.8662197693410394, + 0.8779799390574241, + 0.8797808892586558, + 0.8798369773313023, + 0.8798374738634578, + 0.8798380584227686, + 0.879904192004084, + 0.8820264175768906, + 0.8956306064361608, + 0.91491725371838, + 0.9382174337350392, + 0.9493164073200034, + 0.977878936915973, + 1.0445447965423516, + 1.1599409527161961, + 1.2110540345633964, + 1.214580182582754, + 1.2147021485508993, + 1.214706861928852, + 1.2147072300886665, + 1.2147073023987844, + 1.2147073263501846, + 1.2147073351557045, + -0.07736345414366722, + -0.0769048565523072, + -0.07567867884378898, + -0.07248929510506778, + -0.0647552689459054, + -0.04880707827031363, + -0.024681384357987602, + -0.0025148002515792095, + -2.623208039805906e-06, + -1.1695598753523824e-07, + -2.9347172719830132e-08, + -2.333002126483853e-10, + -2.1352469776147556e-13, + -2.107891625866937e-13, + -2.0664177313169892e-13, + -2.0049444642148362e-13, + -1.8854942644697286e-13, + -1.624135271465421e-13, + -1.16574955927206e-13, + -6.400056259516793e-14, + -2.638115558683348e-14, + -8.132830779938804e-15, + -2.425363029712769e-15, + -1.2469017843554613e-15, + -2.076353711493025e-17, + -1.394277414843881e-17, + -5.097392234967338e-18, + -5.750100383108518e-19, + -5.80827000958965e-20, + -3.363873535172188e-20, + -2.243452565528009e-20, + -1.2001693536298751e-20, + -5.257203210495746e-21, + -2.0245540429571433e-21, + -6.986804722661844e-22, + -1.9006261595855892e-22, + 3.230104456207033e-27, + -1.5091824440004506e-28, + 1.9006566325938673e-22, + 6.986831185578038e-22, + 2.024553236257664e-21, + 5.257167723100546e-21, + 1.2000999141212022e-20, + 2.241541179292412e-20, + 3.3530635167573076e-20, + 3.1814300433404083e-19, + 9.617996987780014e-14, + 2.4926671637626254e-10, + 6.50792942201467e-09, + 1.2917239428098061e-07, + 2.612776948908769e-07, + 8.960348581219018e-07, + 3.716447266434374e-06, + 1.2071269348483931e-05, + 2.7888188900414033e-05, + 4.6370408313256e-05, + 5.7632261181900665e-05, + 6.107956344635342e-05, + 6.168354672638855e-05, + 6.175797978160718e-05, + 6.17663283727639e-05, + 6.177126885517121e-05, + 6.180893895231241e-05, + 6.195852274407256e-05, + 6.36395990883718e-05, + 0.0002498994390202662, + 0.0057591153536556096, + 0.026885692028135826, + 0.04999433286664253, + 0.06528286291523827, + 0.07269398682308748, + 0.0757495374886833, + 0.07692415547992137, + 0.07736345414366727, + 1.704699769481798, + 1.2091072446323405, + 0.50159165013449, + 0.04668797484685288, + -0.022975889307157448, + -0.02514547282525004, + -0.025164679546572637, + -0.02518729131029198, + -0.027745452453015088, + -0.10983680284518839, + -0.6360703233331564, + -1.382111149634668, + -2.283402353760783, + -1.7721346857142914, + -1.2765421608696599, + -0.5690265663720515, + -0.11412289108441555, + -0.04445902693040522, + -0.04228944341231246, + -0.04227023669098994, + -0.04224762492727078, + -0.03968946378454746, + 0.04240188660762597, + 0.568635407095594, + 1.3146762333971174, + 2.21596743752612, + ], + }, + "shared": { + "artifact": "SharedSiteIonsV1/Consumers/TestEvidence/shared_wave0/Steady.json", + "artifact_sha256": "71a51353822f5469bd827604336b1a78a4a0043f8c07bd849cf42c6e515e342c", + "voltage_V": 0.002, + "u": [ + 2.3141431697201916e-32, + 1.4744430144611004e-10, + 5.614852924455838e-10, + 2.1485276900782377e-09, + 1.7788032390719166e-08, + 4.953200270462432e-07, + 3.4094623718807324e-05, + 0.0028110111341600077, + 0.11913405010846251, + 0.4817498254461791, + 0.6885655747761281, + 0.7768696263666892, + 0.7960634662282992, + 0.8105757070510617, + 0.8406709253529183, + 0.8696005886150102, + 0.8743576706026527, + 0.8745099568352801, + 0.8745113376914929, + 0.8745121746112723, + 0.8746040082399621, + 0.8774773500026521, + 0.8959074316424414, + 0.9217195601330112, + 0.9483050726295317, + 0.9591802790764008, + 0.9871440246517139, + 1.0522493198105154, + 1.163863350492509, + 1.211331514981567, + 1.2145898607233618, + 1.2147025433591816, + 1.2147068979514708, + 1.214707238086507, + 1.2147073048922843, + 1.2147073270204725, + 1.2147073351557045, + -0.07736345414366722, + -0.07690915711800649, + -0.07569446847614306, + -0.072534903394289, + -0.06487279481875548, + -0.049071147783548326, + -0.025159890821373043, + -0.0029697190292101074, + -5.511537396250848e-06, + -1.2105811286326811e-07, + -3.146732983022008e-08, + -5.292652193280678e-10, + -2.3449539302753506e-13, + -2.277589047991301e-13, + -2.1843253917952231e-13, + -2.097591929304446e-13, + -1.983518027932077e-13, + -1.735504942343674e-13, + -1.2700879274048146e-13, + -7.029704814646546e-14, + -2.818924959844184e-14, + -7.697035912354135e-15, + -1.8533211109081857e-15, + -8.759616843423336e-16, + -1.3450870218594359e-17, + -9.121965168787189e-18, + -3.428130342141287e-18, + -4.2173079875460993e-19, + -5.19564019555041e-20, + -3.13514451145258e-20, + -2.09478563958103e-20, + -1.1207368664997364e-20, + -4.909281457372797e-21, + -1.8905717099347537e-21, + -6.524447559136005e-22, + -1.7748727855068435e-22, + -1.1474451923396768e-32, + -2.8644835890260836e-29, + 1.7748722231697178e-22, + 6.52444353038017e-22, + 1.8905683216968884e-21, + 4.9092480373104136e-21, + 1.1206760813204654e-20, + 2.093073823208067e-20, + 3.120285565277799e-20, + 1.700392941843308e-19, + 2.6662913704670368e-14, + 5.716266038857495e-11, + 1.5209076169500929e-09, + 3.9753460041695395e-08, + 8.091316196821761e-08, + 3.308972336765008e-07, + 2.2137098425272606e-06, + 1.0049340144946106e-05, + 2.574806397960089e-05, + 4.409306036269149e-05, + 5.521794388185516e-05, + 5.8578008416836286e-05, + 5.9147514142568677e-05, + 5.921363251125166e-05, + 5.9221125996256927e-05, + 5.922651002669932e-05, + 5.927008617713658e-05, + 5.945163842476554e-05, + 6.165397765986442e-05, + 0.0002837618004808212, + 0.0060966567796281925, + 0.027205489455603648, + 0.050172079159770365, + 0.06536196734638952, + 0.07272467738047048, + 0.07576016138881073, + 0.07692704894603192, + 0.07736345414366727, + 2.99941188890219, + 2.438053350195366, + 1.2739183296757008, + 0.15486899109141214, + -0.029143156012909045, + -0.0350338505002003, + -0.03508726440335179, + -0.03511963790583874, + -0.038671921266832394, + -0.14981774311530763, + -0.862725131017246, + -1.8611828404325679, + -2.8895563788877987, + -3.0735623288824425, + -2.5122037901758265, + -1.3480687696561517, + -0.22901943107186254, + -0.04500728396754061, + -0.03911658948024743, + -0.039063175577098604, + -0.0390308020746126, + -0.03547851871361622, + 0.07566730313485945, + 0.7885746910367966, + 1.7870324004521159, + 2.8154059389073476, + ], + }, +} diff --git a/tests/integration/test_ionic_steady_1d.py b/tests/integration/test_ionic_steady_1d.py new file mode 100644 index 00000000..6eb431af --- /dev/null +++ b/tests/integration/test_ionic_steady_1d.py @@ -0,0 +1,375 @@ +"""Actual constrained joint ion/carrier solve and independent conservation checks.""" + +from dataclasses import replace +import hashlib +import json +import math + +import numpy as np +import pytest +from threadpoolctl import threadpool_limits + +from examples.research_1d.ionic_residual import prepare_single_ion_device +from examples.research_1d.ionic_steady import controls +from solarlab.config.resolve_device import resolve_device +from solarlab.contracts.units import ELEMENTARY_CHARGE_C as Q +from solarlab.device.compile_ionic_1d import compile_ionic_device_1d +from solarlab.device.inputs import DeviceInput +from solarlab.equations.ionic_1d import Ionic1DProblem +from solarlab.physics.ions import WHOLE_FLUX_STERIC_V1 +from solarlab.solvers.nonlinear.ionic_1d import ConstrainedIonic1DProblem, diagnostics as ionic_diagnostics, solve_ionic_steady_state +from solarlab.solvers.nonlinear.problem import SolveBudget +from solarlab.solvers.nonlinear.production import ( + POISSON_CONTACT_BALANCE_V1, production_coordinates, production_residual_scaling, +) + + +@pytest.fixture(scope="module", autouse=True) +def blas1(): + with threadpool_limits(limits=1): + yield + + +@pytest.fixture(scope="module") +def case(): + prepared = prepare_single_ion_device(diffusion_only=True) + device = compile_ionic_device_1d(prepared, intervals_per_layer=12) + original = Ionic1DProblem(device, voltage_V=0.002) + problem = ConstrainedIonic1DProblem(original, device.node_count - 1) + initial = device.initial_state(voltage_V=0.002) + return prepared, device, original, problem, initial + + +def trial(case): + _, device, _, _, initial = case + count = device.node_count + position = (device.nodes_m - device.nodes_m[0]) / device.ion_geometry.extent_m + y = initial.u.copy() + y[:count] += 0.001 * np.sin(np.pi * position) + y[count:2 * count] += 0.02 * np.sin(np.pi * position) + y[2 * count:3 * count] -= 0.03 * np.sin(np.pi * position) + y[3 * count:] += 0.04 * np.cos(np.pi * position) + return y + + +def test_constraint_uses_declared_physical_inventory_and_changes_only_one_row(case): + prepared, device, original, problem, initial = case + y = trial(case) + original_rows = original.residual(y) + constrained = problem.residual(y) + row = problem.constraint_row + other = np.arange(y.size) != row + np.testing.assert_array_equal(constrained[other], original_rows[other]) + density = device.fields(y, voltage_V=0.002)[3] + target = math.fsum((device.ion_geometry.cell_measures_m * device.positive_ion_reference_m3).tolist()) + assert problem.inventory_target_m2 == target == initial.domain_inventory_m2 + assert device.original_prepared_sha256 == prepared.content_sha256 + assert constrained[row] == math.fsum((device.ion_geometry.cell_measures_m * density).tolist()) - target + wrong_integer_inventory = np.dot(device.electronic_component.geometry.cell_measures_m, device.positive_ion_reference_m3) + assert abs(wrong_integer_inventory - target) / target > 1e-3 + assert abs(math.fsum(original_rows[3 * device.node_count:].tolist())) < 1000.0 + + +def test_constrained_J_has_exact_inventory_row_and_coupled_cross_blocks(case): + _, device, original, problem, _ = case + y = trial(case) + count, row = device.node_count, problem.constraint_row + original_J, constrained = original.jacobian(y), problem.jacobian(y) + other = np.arange(y.size) != row + np.testing.assert_array_equal(constrained.toarray()[other], original_J.toarray()[other]) + np.testing.assert_array_equal(constrained.getrow(row).toarray()[0, :3 * count], np.zeros(3 * count)) + expected = -original.storage_jacobian(y).diagonal()[3 * count:] + np.testing.assert_array_equal(constrained.getrow(row).toarray()[0, 3 * count:], expected) + assert constrained[:count, 3 * count:].nnz > 0 + assert constrained[3 * count:, :count].nnz > 0 + + +def test_full_constrained_directional_J_is_independent_of_the_replaced_residual(case): + _, device, _, problem, _ = case + y = trial(case) + direction = np.random.default_rng(815).uniform(-0.1, 0.1, y.size) + direction[:device.node_count] *= device.electronic_component.thermal_voltage_V + h = 1e-5 + numerical = (problem.residual(y + h * direction) - problem.residual(y - h * direction)) / (2 * h) + matrix = problem.jacobian(y) + scale = np.maximum(abs(matrix) @ abs(direction), np.finfo(float).tiny) + assert np.max(abs(numerical - matrix @ direction) / scale) < 3e-7 + + +@pytest.fixture(scope="module") +def solved(case): + _, device, _, _, _ = case + return solve_ionic_steady_state(device, voltage_V=0.002, generation_scale=0.0, + options=controls(device.node_count)) + + +def test_actual_joint_solution_moves_ions_and_retains_all_original_balances(case, solved): + _, device, original, problem, initial = case + assert solved.accepted, (solved.termination, solved.error) + assert not solved.qualification and solved.newton.accepted + assert solved.state.u.size == 4 * device.node_count + assert all(check.passed for check in solved.checks) + np.testing.assert_array_equal(solved.initial_state.u, initial.u) + np.testing.assert_array_equal(solved.state.u, solved.newton.state) + assert np.max(abs(solved.state.positive_ion_density_m3 / device.positive_ion_reference_m3 - 1)) > 0.01 + assert np.max(abs(solved.state.electronic_state.potential_V - initial.electronic_state.potential_V)) > 1e-4 + assert np.all(solved.state.positive_ion_density_m3 > 0) + assert np.all(solved.state.positive_ion_density_m3 < device.positive_ion_site_limit_m3) + a = solved.diagnostics + np.testing.assert_array_equal(a["original_residual"], original.residual(solved.state.u)) + np.testing.assert_array_equal(a["constrained_residual"], problem.residual(solved.state.u)) + assert a["ion_balance_l1_m2_s"] <= 1e6 and a["ion_flux_max_m2_s"] <= 1e6 + assert abs(a["original_residual"][problem.constraint_row]) <= 1e6 + assert a["inventory_relative_error"] <= 1e-12 + assert a["current_spread_A_m2"] <= 1e-8 + assert a["carrier_balance_A_m2"] <= 1e-8 + np.testing.assert_allclose(a["deposited_ion_net_charge_C_m2"], a["physical_ion_net_charge_C_m2"], + rtol=5e-15, atol=1e-20) + + +def test_freezing_ions_does_not_meet_the_same_original_problem(case, solved): + _, device, original, _, initial = case + frozen = solved.state.u.copy() + frozen[3 * device.node_count:] = initial.u[3 * device.node_count:] + assert np.max(abs(original.ion_fluxes(frozen))) > 1e6 + assert np.max(abs(original.residual(frozen)[:device.node_count])) > 1e-10 + + +def test_wrong_initial_inventory_and_electronic_only_state_are_refused(case): + _, device, _, _, initial = case + wrong = initial.u.copy() + wrong[3 * device.node_count:] += 0.01 + wrong_state = device.state(wrong, voltage_V=0.002) + with pytest.raises(ValueError, match="prepared-domain inventory"): + solve_ionic_steady_state(device, voltage_V=0.002, generation_scale=0.0, + options=controls(device.node_count), initial_state=wrong_state) + with pytest.raises(ValueError, match="full same-device"): + solve_ionic_steady_state(device, voltage_V=0.002, generation_scale=0.0, + options=controls(device.node_count), initial_state=initial.electronic_state) + + +def test_mismatched_component_or_policy_binding_is_refused(case): + _, device, _, _, initial = case + changed = replace(device, steric_model=WHOLE_FLUX_STERIC_V1) + with pytest.raises(ValueError, match="provenance"): + ConstrainedIonic1DProblem(Ionic1DProblem(changed), changed.node_count - 1) + wrong_component = replace(initial.electronic_state, device_sha256="not-the-compiled-component") + wrong = replace(initial, electronic_state=wrong_component) + with pytest.raises(ValueError, match="full same-device"): + solve_ionic_steady_state(device, voltage_V=0.002, generation_scale=0.0, + options=controls(device.node_count), initial_state=wrong) + + +def _assert_declared_immobile_closure(device): + original = Ionic1DProblem(device, voltage_V=0.002) + problem = ConstrainedIonic1DProblem(original, device.ion_node_count - 1) + block = device.ion_species_slices[0] + assert problem.immobile_species == ("positive",) + assert problem.profile_constraint_rows == {"positive": tuple(range(block.start, block.stop))} + state = device.initial_state(voltage_V=0.002) + candidate = state.u.copy() + candidate[block.start] += 0.02 + density = device.state(candidate, voltage_V=0.002).positive_ion_density_m3 + expected = device.ion_geometry.cell_measures_m * (density - device.positive_ion_reference_m3) + np.testing.assert_array_equal(original.residual(candidate)[block], 0.0) + np.testing.assert_array_equal(problem.residual(candidate)[block], expected) + assert expected[0] > 0.0 + np.testing.assert_array_equal(problem.jacobian(candidate)[block, :].toarray(), + -original.storage_jacobian(candidate)[block, :].toarray()) + + +def test_zero_diffusion_uses_declared_per_cell_population_constraints(): + prepared = prepare_single_ion_device(diffusion_only=True) + data = prepared.to_input().editing_data() + data["layers"][0]["parameters"]["D_ion"] = 0.0 + changed = resolve_device(DeviceInput.model_validate(data), prepared.defaults, + prepared.resources, sources=prepared.sources) + device = compile_ionic_device_1d(changed, intervals_per_layer=12) + assert device.reference_inventory_m2 > 0.0 + _assert_declared_immobile_closure(device) + + +def test_failed_bounded_attempt_is_retained_without_projection_or_retry(case): + _, device, _, _, initial = case + bounded = replace(controls(device.node_count), budget=SolveBudget(1, 4, 1, 2)) + result = solve_ionic_steady_state(device, voltage_V=0.002, generation_scale=0.0, options=bounded) + assert not result.accepted and not result.qualification + assert result.newton.iteration_count == 1 and result.newton.jacobian_evaluations == 1 + np.testing.assert_array_equal(result.initial_state.u, initial.u) + np.testing.assert_array_equal(result.candidate_coordinates, result.newton.state) + assert result.diagnostics is not None and result.state is not None + + +def test_one_wall_budget_keeps_the_unaccepted_initial_state(case, monkeypatch): + _, device, _, _, initial = case + ticks = iter(range(100)) + monkeypatch.setattr("solarlab.solvers.nonlinear.ionic_1d.time.monotonic", lambda: next(ticks)) + bounded = replace(controls(device.node_count), wall_s=0.5) + result = solve_ionic_steady_state(device, voltage_V=0.002, generation_scale=0.0, options=bounded) + assert not result.accepted and result.termination == "wall_budget_exhausted" + assert result.newton is None + np.testing.assert_array_equal(result.candidate_coordinates, initial.u) + + +def test_unsupported_convergence_policy_is_not_silently_reported(): + configured = controls(13) + alternative = replace(configured.electronic, convergence_policy=POISSON_CONTACT_BALANCE_V1) + with pytest.raises(ValueError, match="only historical_max_row_v1"): + replace(configured, electronic=alternative) + + +@pytest.mark.parametrize("field", ["positive_ion_site_limit_m3", "positive_ion_logit_reference"]) +def test_rebound_capacity_or_logit_is_rejected_by_the_compiled_boundary(case, field): + _, device, _, _, _ = case + changed = getattr(device, field) * 2 if field == "positive_ion_site_limit_m3" else getattr(device, field) + 0.4 + with pytest.raises(ValueError): + replace(device, **{field: changed}) + + +@pytest.fixture(scope="module") +def multilayer_case(): + from examples.research_1d.ionic_multilayer import prepare_confined_ion_device + + prepared = prepare_confined_ion_device(diffusion_only=True) + device = compile_ionic_device_1d(prepared, intervals_per_layer=(12, 12, 12), + ion_domain_layer="absorber", + ion_domain_endpoints=("blocking", "blocking")) + original = Ionic1DProblem(device, voltage_V=0.002) + problem = ConstrainedIonic1DProblem(original, device.ion_node_count - 1) + initial = device.initial_state(voltage_V=0.002) + return prepared, device, original, problem, initial + + +def multilayer_trial(case): + _, device, _, _, initial = case + count = device.node_count + position = (device.nodes_m - device.nodes_m[0]) / np.ptp(device.nodes_m) + ion_position = (device.ion_geometry.nodes_m - device.ion_geometry.nodes_m[0]) / device.ion_geometry.extent_m + y = initial.u.copy() + y[:count] += 0.001 * np.sin(np.pi * position) + y[count:2 * count] += 0.02 * np.sin(np.pi * position) + y[2 * count:3 * count] -= 0.03 * np.sin(np.pi * position) + y[3 * count:] += 0.04 * np.cos(np.pi * ion_position) + return y + + +def test_multilayer_constraint_preserves_all_other_rows_and_exact_inventory_J(multilayer_case): + prepared, device, original, problem, initial = multilayer_case + count, ion_count = device.node_count, device.ion_node_count + assert (count, ion_count, device.state_size) == (37, 13, 124) + assert initial.u.shape == (3 * count + ion_count,) + assert initial.electronic_state.u.shape == (3 * count,) + np.testing.assert_array_equal(device.ion_node_indices, np.arange(12, 25)) + assert device.original_prepared_sha256 == prepared.content_sha256 + assert problem.constraint_row == 3 * count + ion_count - 1 + with pytest.raises(ValueError, match="ion-domain node"): + ConstrainedIonic1DProblem(original, count - 1) + y = multilayer_trial(multilayer_case) + density = device.fields(y, voltage_V=0.002)[3] + original_rows, constrained = original.residual(y), problem.residual(y) + row = problem.constraint_row + other = np.arange(device.state_size) != row + np.testing.assert_array_equal(constrained[other], original_rows[other]) + inventory = math.fsum((device.ion_geometry.cell_measures_m * density).tolist()) + assert constrained[row] == inventory - problem.inventory_target_m2 + assert problem.inventory_target_m2 == initial.domain_inventory_m2 + original_J, changed_J = original.jacobian(y), problem.jacobian(y) + np.testing.assert_array_equal(changed_J.toarray()[other], original_J.toarray()[other]) + np.testing.assert_array_equal(changed_J.getrow(row).toarray()[0, :3 * count], np.zeros(3 * count)) + np.testing.assert_array_equal(changed_J.getrow(row).toarray()[0, 3 * count:], + -original.storage_jacobian(y).diagonal()[3 * count:]) + assert changed_J[:count, 3 * count:].nnz > 0 and changed_J[3 * count:, :count].nnz > 0 + + +def test_multilayer_constrained_directional_J(multilayer_case): + _, device, _, problem, _ = multilayer_case + y = multilayer_trial(multilayer_case) + direction = np.random.default_rng(816).uniform(-0.1, 0.1, device.state_size) + direction[:device.node_count] *= device.electronic_component.thermal_voltage_V + h = 1e-5 + numerical = (problem.residual(y + h * direction) - problem.residual(y - h * direction)) / (2 * h) + matrix = problem.jacobian(y) + scale = np.maximum(abs(matrix) @ abs(direction), np.finfo(float).tiny) + assert np.max(abs(numerical - matrix @ direction) / scale) < 3e-7 + + +def test_multilayer_diagnostics_map_charge_and_current_without_endpoint_heuristics(multilayer_case): + _, device, original, problem, _ = multilayer_case + count = device.node_count + y = multilayer_trial(multilayer_case) + density = device.fields(y, voltage_V=0.002)[3] + diagnostics = ionic_diagnostics(problem, y) + physical_domain = Q * device.ion_geometry.cell_measures_m * (density - device.positive_ion_reference_m3) + physical = np.zeros(count) + physical[device.ion_node_indices] = physical_domain + np.testing.assert_array_equal(diagnostics["physical_ion_net_charge_C_m2"], physical) + np.testing.assert_array_equal(diagnostics["domain_ion_net_charge_C_m2"], physical_domain) + np.testing.assert_allclose(diagnostics["deposited_ion_net_charge_C_m2"], physical, rtol=5e-13, atol=1e-18) + assert np.all(abs(device.ion_charge_weight_ratio[[0, -1]] - 0.5) > 0.1) + current = np.zeros(count + 1) + current[device.ion_node_indices[:-1] + 1] = Q * original.ion_fluxes(y) + assert np.max(abs(current)) > Q * 1e6 + np.testing.assert_array_equal(diagnostics["ionic_current_density_A_m2"], current) + np.testing.assert_array_equal(diagnostics["total_current_density_A_m2"], + diagnostics["electronic_current_density_A_m2"] + current) + np.testing.assert_array_equal(diagnostics["ion_balance_m2_s"], original.residual(y)[3 * count:]) + assert diagnostics["ion_balance_l1_m2_s"] == math.fsum(abs(original.residual(y)[3 * count:]).tolist()) + + +def test_multilayer_Newton_weights_steps_and_failure_use_N_and_M(multilayer_case, monkeypatch): + _, device, _, _, initial = multilayer_case + configured = controls(device.ion_node_count) + seen = [] + + def capture_then_stop(problem, y, settings): + seen.append((y.copy(), settings)) + raise RuntimeError("intentional stop after recording explicit controls") + + monkeypatch.setattr("solarlab.solvers.nonlinear.ionic_1d.solve_newton", capture_then_stop) + result = solve_ionic_steady_state(device, voltage_V=0.002, generation_scale=0.0, options=configured) + assert not result.accepted and result.termination == "evaluation_error" + assert not result.qualification and len(seen) == 1 + assert result.evaluation_counts == {"residual": 0, "jacobian": 0} + coordinates, settings = seen[0] + np.testing.assert_array_equal(coordinates, initial.u) + np.testing.assert_array_equal(result.candidate_coordinates, initial.u) + assert settings.scaling.row_weights.shape == (device.state_size,) + assert settings.step_control.max_step.shape == (device.state_size,) + electronic = configured.electronic + np.testing.assert_array_equal(settings.scaling.row_weights[:3 * device.node_count], + production_residual_scaling(device.electronic_component, + poisson_tolerance=electronic.poisson_tolerance, + continuity_tolerance_A_m2=electronic.continuity_tolerance_A_m2, + contact_log_tolerance=electronic.contact_log_tolerance).row_weights) + np.testing.assert_array_equal(settings.step_control.max_step[:3 * device.node_count], + production_coordinates(device.electronic_component, potential_step_V=electronic.potential_step_V, + quasi_fermi_step=electronic.quasi_fermi_step).max_step) + expected = np.full(device.ion_node_count, 2 * device.ion_node_count / configured.ion_balance_tolerance_m2_s) + expected[-1] = 1 / (configured.inventory_relative_tolerance * device.reference_inventory_m2) + np.testing.assert_array_equal(settings.scaling.row_weights[3 * device.node_count:], expected) + np.testing.assert_array_equal(settings.step_control.max_step[3 * device.node_count:], + np.full(device.ion_node_count, configured.ion_logit_step)) + assert settings.budget == configured.budget and settings.tolerance == 1.0 + + +def test_multilayer_rebound_index_manifest_is_refused(multilayer_case): + _, device, _, _, _ = multilayer_case + manifest = device.binding_manifest + manifest["ion_domain"]["electrical_node_indices"][1] += 1 + encoded = json.dumps(manifest, sort_keys=True, separators=(",", ":"), allow_nan=False) + with pytest.raises(ValueError): + changed = replace(device, binding_manifest_json=encoded, sha256=hashlib.sha256(encoded.encode()).hexdigest()) + ConstrainedIonic1DProblem(Ionic1DProblem(changed), device.ion_node_count - 1) + + +def test_multilayer_zero_D_keeps_inventory_and_constrains_each_domain_cell(multilayer_case): + prepared, original_device, _, _, _ = multilayer_case + data = prepared.to_input().editing_data() + layer = next(layer for layer in data["layers"] if layer["id"] == original_device.domain_layer_id) + layer["parameters"]["D_ion"] = 0.0 + changed = resolve_device(DeviceInput.model_validate(data), prepared.defaults, + prepared.resources, sources=prepared.sources) + device = compile_ionic_device_1d(changed, intervals_per_layer=(12, 12, 12), + ion_domain_layer="absorber", ion_domain_endpoints=("blocking", "blocking")) + assert device.reference_inventory_m2 == original_device.reference_inventory_m2 + _assert_declared_immobile_closure(device) diff --git a/tests/integration/test_ionic_steady_jv_1d.py b/tests/integration/test_ionic_steady_jv_1d.py new file mode 100644 index 00000000..841bde00 --- /dev/null +++ b/tests/integration/test_ionic_steady_jv_1d.py @@ -0,0 +1,278 @@ +"""A real cold default curve, or explicitly pinned author evidence without repeats.""" + +from copy import deepcopy +from dataclasses import asdict, replace +import hashlib +import json +import math +import os +from pathlib import Path +from types import SimpleNamespace + +import numpy as np +import pytest +from threadpoolctl import threadpool_limits + +from examples.research_1d.ionic_jv import compile_case +from examples.research_1d.ionic_steady import controls +from examples.research_1d.shared_site_ionic_fixture import prepare_confined_shared_site_ion_device +from examples.research_1d.transient import json_value +from solarlab.device.compile_ionic_1d import compile_ionic_device_1d +from solarlab.experiments.ionic_transient import load_ionic_steady_initial +from solarlab.experiments.jv import ionic_steady as driver +from solarlab.solvers.nonlinear.ionic_1d import IonicSteadyOptions, IonicSteadyResult +from solarlab.solvers.nonlinear.newton import IterationRecord, NewtonResult, Termination +from solarlab.solvers.nonlinear.problem import GateOutcome, SolveBudget, state_digest +from solarlab.solvers.nonlinear.steady_1d import SteadyOptions + + +@pytest.fixture(scope="module", autouse=True) +def blas1(): + with threadpool_limits(limits=1): + yield + + +@pytest.fixture(scope="module") +def curve(tmp_path_factory): + device = compile_case("shared") + path = os.environ.get("SOLARLAB_IONIC_JV_RESULT") + if path: + digest = os.environ["SOLARLAB_IONIC_JV_SHA256"] + record = driver.read_ionic_steady_jv(path, digest) + else: + # One real three-point curve, whose first requested point is cold. + # No separate baseline solve or external/private artifact is needed. + result = driver.run_ionic_steady_jv(device, [0.001, 0.002, 0.003], generation_scale=0.0, + options=driver.IonicSteadyJVOptions(controls(device.ion_node_count)), initial_policy="compiled_cold") + path = tmp_path_factory.mktemp("ionic_jv") / "Curve.json" + digest = driver.write_ionic_steady_jv(result, path) + record = driver.read_ionic_steady_jv(path, digest) + assert result.completed, [(a.voltage_V, a.termination, a.error) for a in result.failed_attempts] + for old, saved in zip(result.attempts, record["result"]["attempts"]): + assert old.solution.state.u.tobytes() == saved["solution"]["state"]["u"].tobytes() + assert record["completed"] + assert record["result"]["compiled_identity"] == device.identity + return device, record, Path(path), digest + + +def state_from_record(device, state): + return device.state(state["u"], voltage_V=state["electronic_state"]["voltage_V"]) + + +def restored_point(device, record): + """Restore an actual cached point for control tests; no nonlinear solve.""" + values = deepcopy(record) + values["state"] = state_from_record(device, values["state"]) + values["initial_state"] = state_from_record(device, values["initial_state"]) + values["checks"] = tuple(GateOutcome(**item) for item in values["checks"]) + newton = values["newton"] + newton["gates"] = tuple(GateOutcome(**item) for item in newton["gates"]) + newton["iterations"] = tuple(IterationRecord(**item) for item in newton["iterations"]) + newton["termination"] = Termination(newton["termination"]) + values["newton"] = NewtonResult(**newton) + return IonicSteadyResult(**values) + + +@pytest.fixture(scope="module") +def saved_initial(curve, tmp_path_factory): + device, record, _, _ = curve + point = record["result"]["attempts"][0]["solution"] + configured = dict(point["solver_controls"]) + configured["electronic"] = SteadyOptions(**configured["electronic"]) + configured["budget"] = SolveBudget(**configured["budget"]) + settings = IonicSteadyOptions(**configured) + document = {"summary": {"accepted": True, "compiled_identity": device.identity, + "voltage_V": 0.001, "generation_scale": 0.0}, "result": point} + raw = (json.dumps(json_value(document), allow_nan=False) + "\n").encode() + path = tmp_path_factory.mktemp("ionic_jv_initial") / "RecordedPoint.json" + path.write_bytes(raw) + initial = load_ionic_steady_initial(device, path, hashlib.sha256(raw).hexdigest(), controls=settings) + return initial, driver.IonicSteadyJVOptions(settings) + + +def test_real_equilibrated_curve_has_all_requested_points_currents_and_unknown_metrics(curve): + device, record, _, _ = curve + result = record["result"] + assert result["experiment_kind"] == "equilibrated_ionic_steady_jv" + assert result["physical_certificate_status"] == "not_evaluated" + assert (device.node_count, device.ion_node_count, device.state_size) == (37, 13, 137) + np.testing.assert_array_equal(result["voltage_V"], [0.001, 0.002, 0.003]) + assert result["solver_calls"] == len(result["attempts"]) == 3 + assert result["current_density_A_m2"].shape == (3, 38) + np.testing.assert_array_equal(result["output_current_A_m2"], + -device.electronic_component.voltage_polarity * result["current_density_A_m2"][:, 0]) + assert all(value is None for name, value in result["metrics"].items() if name != "limitation") + assert result["metrics"]["limitation"] == "zero_voltage_not_bracketed" + assert result["wall_s"] < result["solver_controls"]["wall_s"] + for index, attempt in enumerate(result["attempts"]): + point = attempt["solution"] + assert attempt["accepted"] and attempt["solver_called"] and point["newton"]["accepted"] + assert all(item["passed"] for item in point["checks"]) + expected = point["diagnostics"]["electronic_current_density_A_m2"] + point["diagnostics"]["ionic_current_density_A_m2"] + np.testing.assert_array_equal(result["current_density_A_m2"][index], expected) + assert np.ptp(expected) <= 1e-8 + + +def test_each_original_species_inventory_flux_and_dropped_row_is_retained(curve): + device, record, _, _ = curve + weights = device.ion_geometry.cell_measures_m + for attempt in record["result"]["attempts"]: + point, seed = attempt["solution"], attempt["initial_guess"] + info, state = point["diagnostics"], point["state"] + occupied = state["positive_ion_density_m3"] + state["negative_ion_density_m3"] + assert np.all(occupied < device.positive_ion_site_limit_m3) + for species, block in zip(device.ion_species_names, device.ion_species_slices): + one = info["ion_species"][species] + density = state[species + "_ion_density_m3"] + inventory = math.fsum((weights * density).tolist()) + assert inventory == one["inventory_m2"] + assert abs(inventory / one["inventory_target_m2"] - 1.0) <= 1e-12 + np.testing.assert_array_equal(one["ion_balance_m2_s"], info["original_residual"][block]) + assert one["original_dropped_balance_m2_s"] == info["original_residual"][one["constraint_row"]] + assert one["ion_balance_l1_m2_s"] <= 1e6 and one["ion_flux_max_m2_s"] <= 1e6 + assert np.max(abs(density / seed[species + "_ion_density_m3"] - 1.0)) > 1e-4 + + +def test_voltage_reference_guess_rebase_preserves_carriers_ions_and_seed_identity(curve): + device, record, _, _ = curve + attempts = record["result"]["attempts"] + for index in (1, 2): + before, after = attempts[index - 1]["solution"]["state"], attempts[index]["initial_guess"] + expected = driver._rebase_guess(device, state_from_record(device, before), attempts[index]["voltage_V"]) + np.testing.assert_array_equal(after["u"], expected.u) + assert attempts[index]["seed_provenance"]["previous_accepted_point"] == index - 1 + assert attempts[index]["seed_provenance"]["previous_state_sha256"] == state_digest(before["u"]) + np.testing.assert_array_equal(after["electronic_state"]["potential_V"], before["electronic_state"]["potential_V"]) + for name in ("electron_density_m3", "hole_density_m3"): + np.testing.assert_allclose(after["electronic_state"][name], before["electronic_state"][name], rtol=5e-14) + for species in device.ion_species_names: + np.testing.assert_array_equal(after[species + "_ion_density_m3"], before[species + "_ion_density_m3"]) + + +def test_declared_controls_are_preserved_except_decreasing_remaining_wall_cap(curve): + _, record, _, _ = curve + declared = record["result"]["solver_controls"] + previous_cap = min(declared["wall_s"], declared["steady"]["wall_s"]) + for attempt in record["result"]["attempts"]: + actual = dict(attempt["solution"]["solver_controls"]) + assert 0.0 < actual["wall_s"] <= previous_cap + previous_cap = actual["wall_s"] + actual["wall_s"] = declared["steady"]["wall_s"] + assert actual == declared["steady"] + + +@pytest.mark.parametrize("voltages", [[], [0.001, 0.001], [0.001, 0.003, 0.002], [np.nan], [np.inf], [1 + 0j], list(range(33))]) +def test_invalid_voltage_requests_refuse_before_solving(curve, monkeypatch, voltages): + def forbidden(*args, **kwargs): + pytest.fail("invalid requested voltages reached a nonlinear solve") + monkeypatch.setattr(driver, "solve_ionic_steady_state", forbidden) + with pytest.raises(ValueError, match="voltage"): + driver.run_ionic_steady_jv(curve[0], voltages, generation_scale=0.0, + options=driver.IonicSteadyJVOptions(controls(13)), initial_policy="compiled_cold") + + +@pytest.mark.parametrize("generation", [-1.0, np.nan, np.inf]) +def test_invalid_generation_refuses(curve, generation): + with pytest.raises(ValueError, match="generation"): + driver.run_ionic_steady_jv(curve[0], [0.001], generation_scale=generation, + options=driver.IonicSteadyJVOptions(controls(13)), initial_policy="compiled_cold") + + +def test_D0_and_hidden_or_mismatched_initial_policies_refuse(curve, saved_initial): + device, _, _, _ = curve + initial, options = saved_initial + zero = compile_ionic_device_1d(prepare_confined_shared_site_ion_device(positive_diffusivity_m2_s=0.0), + intervals_per_layer=(12, 12, 12), ion_domain_layer="absorber", ion_domain_endpoints=("blocking", "blocking")) + with pytest.raises(ValueError, match="positive-D"): + driver.run_ionic_steady_jv(zero, [0.001], generation_scale=0.0, options=options, initial_policy="compiled_cold") + for policy, supplied, message in (("implicit", None, "initial_policy"), ("saved_accepted", None, "accepted artifact"), + ("compiled_cold", initial, "hidden supplied"), ("saved_accepted", replace(initial, source_sha256="0" * 64), "SHA-256")): + with pytest.raises(ValueError, match=message): + driver.run_ionic_steady_jv(device, [0.001], generation_scale=0.0, options=options, + initial_policy=policy, initial=supplied) + + +def test_first_failed_point_is_preserved_and_never_seeds_a_later_call(curve, monkeypatch, tmp_path): + device, record, _, _ = curve + points = [restored_point(device, a["solution"]) for a in record["result"]["attempts"]] + seen = [] + def controlled(compiled, *, voltage_V, generation_scale, options, initial_state): + seen.append((voltage_V, initial_state)) + point = replace(points[len(seen) - 1], initial_state=initial_state, solver_controls=asdict(options)) + if len(seen) == 2: + return replace(point, accepted=False, termination="injected_failure", error="bounded injected second-point refusal") + return point + monkeypatch.setattr(driver, "solve_ionic_steady_state", controlled) + result = driver.run_ionic_steady_jv(device, [0.001, 0.002, 0.003], generation_scale=0.0, + options=driver.IonicSteadyJVOptions(controls(13)), initial_policy="compiled_cold") + assert not result.completed and len(result.attempts) == result.solver_calls == 2 + assert [v for v, _ in seen] == [0.001, 0.002] + assert result.attempts[0].accepted and not result.attempts[1].accepted + np.testing.assert_array_equal(result.voltage_V, [0.001]) + np.testing.assert_array_equal(seen[1][1].u, driver._rebase_guess(device, points[0].state, 0.002).u) + np.testing.assert_array_equal(result.failed_attempts[0].solution.candidate_coordinates, points[1].candidate_coordinates) + path = tmp_path / "Partial.json" + digest = driver.write_ionic_steady_jv(result, path) + saved = driver.read_ionic_steady_jv(path, digest) + assert not saved["completed"] and saved["result"]["attempts"][-1]["error"] == result.failed_attempts[0].error + + +def test_wall_exhaustion_retains_unstarted_first_point_without_a_solve(curve, monkeypatch): + ticks = iter((0.0, 1.0, 31.0, 32.0, 33.0)) + monkeypatch.setattr(driver, "time", SimpleNamespace(monotonic=lambda: next(ticks))) + result = driver.run_ionic_steady_jv(curve[0], [0.001, 0.002], generation_scale=0.0, + options=driver.IonicSteadyJVOptions(controls(13)), initial_policy="compiled_cold") + assert not result.completed and result.solver_calls == 0 + assert result.failed_attempts[0].termination == "wall_budget_exhausted" + + +def test_source_change_after_call_keeps_physical_acceptance_and_seeding(curve, monkeypatch, tmp_path): + from solarlab.solvers.nonlinear import ionic_1d + device, record, _, _ = curve + points = [restored_point(device, a["solution"]) for a in record["result"]["attempts"][:2]] + called = [] + changed = tmp_path / "edited_source.py" + changed.write_text("# source edit after admission\n") + def controlled(compiled, **kwargs): + called.append(kwargs["voltage_V"]) + monkeypatch.setattr(ionic_1d, "__file__", str(changed)) + return replace(points[len(called)-1], initial_state=kwargs["initial_state"], solver_controls=asdict(kwargs["options"])) + monkeypatch.setattr(driver, "solve_ionic_steady_state", controlled) + result = driver.run_ionic_steady_jv(device, [0.001, 0.002], generation_scale=0.0, + options=driver.IonicSteadyJVOptions(controls(13)), initial_policy="compiled_cold") + assert called == [0.001, 0.002] and result.completed + assert all(a.accepted and a.error is None for a in result.attempts) + np.testing.assert_array_equal(result.attempts[1].initial_guess.u, driver._rebase_guess(device, points[0].state, .002).u) + + +def test_common_metrics_are_used_only_with_actual_brackets(): + unknown = driver._metrics(np.array([0.001, 0.002]), np.array([10.0, 9.0]), None) + assert unknown.open_circuit_voltage_V is None and unknown.efficiency is None + bracketed = driver._metrics(np.array([0.0, 0.5, 1.0]), np.array([10.0, 5.0, 0.0]), 100.0) + assert (bracketed.open_circuit_voltage_V, bracketed.fill_factor, bracketed.efficiency) == (1.0, 0.25, 0.025) + + +def test_saved_reader_is_solver_free_lossless_and_rejects_changed_generation(curve, monkeypatch, tmp_path): + _, original, path, digest = curve + def forbidden(*args, **kwargs): + pytest.fail("saved result reader called a model/solver/admission") + monkeypatch.setattr(driver, "solve_ionic_steady_state", forbidden) + monkeypatch.setattr(driver, "_admit_evidence", forbidden) + monkeypatch.setattr(driver.CompiledIonicDevice1D, "state", forbidden) + read = driver.read_ionic_steady_jv(path, digest) + for before, after in zip(original["result"]["attempts"], read["result"]["attempts"]): + assert before["solution"]["state"]["u"].tobytes() == after["solution"]["state"]["u"].tobytes() + with pytest.raises(ValueError, match="SHA-256"): + driver.read_ionic_steady_jv(path, "0" * 64) + changed = deepcopy(original) + changed["result"]["generation_scale"] = 1.0 + altered_path = tmp_path / "ChangedGeneration.json" + raw = (json.dumps(driver._encode(changed), allow_nan=False) + "\n").encode() + altered_path.write_bytes(raw) + with pytest.raises(ValueError, match="request identity"): + driver.read_ionic_steady_jv(altered_path, hashlib.sha256(raw).hexdigest()) + changed["result"]["generation_scale"] = -1.0 + raw = json.dumps(driver._encode(changed), allow_nan=False).encode() + altered_path.write_bytes(raw) + with pytest.raises(ValueError, match="generation"): + driver.read_ionic_steady_jv(altered_path, hashlib.sha256(raw).hexdigest()) diff --git a/tests/integration/test_ionic_transient_1d.py b/tests/integration/test_ionic_transient_1d.py new file mode 100644 index 00000000..9fdde3e1 --- /dev/null +++ b/tests/integration/test_ionic_transient_1d.py @@ -0,0 +1,238 @@ +"""Pinned initial admission, exact dynamic controls, motion and partial outcomes.""" + +from dataclasses import replace +import hashlib +import json +import math + +import numpy as np +import pytest +from threadpoolctl import threadpool_limits + +from examples.research_1d.ionic_multilayer import prepare_confined_ion_device +from examples.research_1d.ionic_residual import prepare_single_ion_device +from examples.research_1d.ionic_steady import controls as steady_controls +from examples.research_1d.ionic_transient import controls, protocol +from examples.research_1d.transient import json_value +from solarlab.device.compile_ionic_1d import compile_ionic_device_1d +from solarlab.equations.ionic_1d import Ionic1DProblem +from solarlab.experiments import ionic_transient as driver +from solarlab.experiments.transient import TransientProtocol +from solarlab.solvers.nonlinear.ionic_1d import solve_ionic_steady_state +from solarlab.solvers.nonlinear.production import HISTORICAL_MAX_ROW_V1, production_convergence_norm +from solarlab.solvers.time.ionic_backward_euler import IonicBackwardEuler1DStep + + +@pytest.fixture(scope="module", autouse=True) +def blas1(): + with threadpool_limits(limits=1): + yield + + +@pytest.fixture(scope="module") +def case(tmp_path_factory): + device = compile_ionic_device_1d(prepare_single_ion_device(diffusion_only=True), intervals_per_layer=12) + admitted_controls = steady_controls(device.ion_node_count) + point = solve_ionic_steady_state(device, voltage_V=0.002, generation_scale=0.0, options=admitted_controls) + assert point.accepted + document = {"summary": {"accepted": point.accepted, "compiled_identity": device.identity, + "voltage_V": 0.002, "generation_scale": 0.0}, "result": point} + raw = (json.dumps(json_value(document), allow_nan=False) + "\n").encode() + path = tmp_path_factory.mktemp("ionic_initial") / "Steady.json" + path.write_bytes(raw) + digest = hashlib.sha256(raw).hexdigest() + initial = driver.load_ionic_steady_initial(device, path, digest, controls=admitted_controls) + return device, initial, path, digest + + +def test_initial_pin_and_steady_controls_are_checked_without_resolving(case): + device, initial, path, digest = case + with pytest.raises(ValueError, match="SHA-256"): + driver.load_ionic_steady_initial(device, path, "0" * 64, controls=initial.steady_controls) + with pytest.raises(ValueError, match="controls differ"): + driver.load_ionic_steady_initial(device, path, digest, + controls=replace(initial.steady_controls, wall_s=31.0)) + np.testing.assert_array_equal(initial.state.u, json.loads(path.read_text())["result"]["state"]["u"]) + + +@pytest.mark.parametrize("mutation", ["not_accepted", "wrong_field", "wrong_component", "false_generation", + "contradictory_termination", "contradictory_check"]) +def test_rebound_initial_artifacts_fail_closed(case, tmp_path, mutation): + device, initial, path, _ = case + record = json.loads(path.read_text()) + if mutation == "not_accepted": + record["result"]["accepted"] = False + elif mutation == "wrong_field": + record["result"]["state"]["positive_ion_density_m3"][2] *= 1.01 + elif mutation == "wrong_component": + record["result"]["state"]["electronic_state"]["device_sha256"] = "wrong" + elif mutation == "false_generation": + record["summary"]["generation_scale"] = 1.0 + elif mutation == "contradictory_termination": + record["result"]["newton"]["termination"] = "budget_exhausted" + else: + check = record["result"]["checks"][0] + check["value"] = check["limit"] * 2 + raw = json.dumps(record, allow_nan=False).encode() + target = tmp_path / "Rebound.json" + target.write_bytes(raw) + with pytest.raises(ValueError): + driver.load_ionic_steady_initial(device, target, hashlib.sha256(raw).hexdigest(), controls=initial.steady_controls) + + +def test_initial_object_and_first_protocol_sample_are_bound(case): + device, initial, _, _ = case + altered = initial.state.u.copy() + altered[-1] += 0.01 + wrong = replace(initial, state=device.state(altered, voltage_V=0.002)) + with pytest.raises(ValueError, match="pinned steady evidence"): + driver.solve_ionic_transient(device, wrong, protocol(4), options=controls()) + wrong_protocol = TransientProtocol(np.array([0.0, 0.25]), np.array([0.003, 0.004]), np.zeros(2)) + with pytest.raises(ValueError, match="first protocol sample"): + driver.solve_ionic_transient(device, initial, wrong_protocol, options=controls()) + limited = replace(controls(), electronic=replace(controls().electronic, max_steps=3)) + with pytest.raises(ValueError, match="max_steps"): + driver.solve_ionic_transient(device, initial, protocol(4), options=limited) + + +def test_unsupported_internal_policy_or_predictor_is_explicitly_refused(): + configured = controls() + with pytest.raises(ValueError, match="poisson_contact_balance_v1"): + replace(configured, electronic=replace(configured.electronic, convergence_policy=HISTORICAL_MAX_ROW_V1)) + with pytest.raises(ValueError, match="previous-state"): + replace(configured, electronic=replace(configured.electronic, predictor="generation_inventory")) + + +def test_exact_N_M_control_allocation_and_L1_norm_without_any_steady_row(): + device = compile_ionic_device_1d(prepare_confined_ion_device(), intervals_per_layer=(12, 12, 12), + ion_domain_layer="absorber", ion_domain_endpoints=("blocking", "blocking")) + settings, norm = driver._newton_settings(device, controls()) + N, M = device.node_count, device.ion_node_count + assert (N, M, settings.scaling.row_weights.size) == (37, 13, 124) + np.testing.assert_array_equal(settings.scaling.row_weights[3 * N:], np.full(M, M / 1e6)) + np.testing.assert_array_equal(settings.step_control.max_step[3 * N:], np.ones(M)) + electronic_norm = production_convergence_norm(device.electronic_component, + convergence_policy=controls().electronic.convergence_policy) + scaled = np.zeros(device.state_size) + scaled[-1] = M + assert norm(scaled) == 1.0 + scaled[-1] = 1.01 * M + assert norm(scaled) == 1.01 + scaled[:] = np.random.default_rng(314).uniform(-2, 2, device.state_size) + assert norm(scaled) == max(electronic_norm(scaled[:3 * N]), math.fsum(abs(scaled[3 * N:]).tolist()) / M) + assert settings.budget == controls().electronic.newton_budget and not settings.gates + + +def test_driver_passes_every_physical_BE_row_and_J_to_Newton(case, monkeypatch): + device, initial, _, _ = case + requested = protocol(4) + step = IonicBackwardEuler1DStep(Ionic1DProblem(device, requested.voltage_V[1], 0.0), initial.state, 0.25) + observed = {} + + def probe_then_refuse(problem, seed, settings, **kwargs): + trial = seed.copy() + trial[3 * device.node_count:] += 0.001 + observed["trial"] = trial + observed["rows"] = problem.residual(trial) + observed["J"] = problem.jacobian(trial) + raise ValueError("injected refusal after bounded row/J probes") + + monkeypatch.setattr(driver, "solve_newton", probe_then_refuse) + result = driver.solve_ionic_transient(device, initial, requested, options=controls()) + assert not result.completed and len(result.failed_attempts) == 1 and len(result.states) == 1 + np.testing.assert_array_equal(observed["rows"], step.residual(observed["trial"])) + np.testing.assert_array_equal(observed["J"].toarray(), step.jacobian(observed["trial"]).toarray()) + np.testing.assert_array_equal(result.attempts[0].candidate_coordinates, observed["trial"]) + assert result.attempts[0].evaluation_counts == {"residual": 1, "jacobian": 1, "accounting": 0} + assert "injected refusal" in result.attempts[0].error + + +@pytest.fixture(scope="module") +def history(case): + device, initial, _, _ = case + return driver.solve_ionic_transient(device, initial, protocol(4), options=controls()) + + +def test_real_small_history_moves_ions_and_retains_raw_conservative_accounting(case, history): + device, initial, _, digest = case + assert history.completed, [(a.termination, a.error, None if a.newton is None else a.newton.message) + for a in history.failed_attempts] + assert history.physical_certificate_status == "not_evaluated" + assert history.initial_provenance["source_sha256"] == digest + np.testing.assert_array_equal(history.accepted_times_s, protocol(4).times_s) + assert len(history.states) == 5 and len(history.attempts) == 4 + assert np.max(abs(history.states[-1].positive_ion_density_m3 / initial.state.positive_ion_density_m3 - 1)) > 1e-5 + inventory0 = math.fsum((device.ion_geometry.cell_measures_m * initial.state.positive_ion_density_m3).tolist()) + integrated_bound = 0.0 + for index, attempt in enumerate(history.attempts, start=1): + info = attempt.accounting + dt = attempt.end_s - attempt.start_s + assert attempt.accepted and info["physical_certificate_status"] == "not_evaluated" + assert info["backward_euler_residual"].shape == (device.state_size,) + assert info["ion_balance_m2_s"].shape == (device.ion_node_count,) + assert info["total_current_density_A_m2"].shape == (device.node_count + 1,) + assert math.fsum(abs(info["ion_balance_m2_s"]).tolist()) <= 1e6 + np.testing.assert_allclose(info["total_current_density_A_m2"], + info["conduction_current_density_A_m2"] + info["displacement_current_density_A_m2"], rtol=0, atol=0) + np.testing.assert_allclose(info["maxwell_cell_jump_A_m2"], info["predicted_maxwell_cell_jump_A_m2"], atol=1e-12, rtol=1e-10) + assert np.max(abs(info["ion_domain_fluxes_m2_s"])) > 1e6 + integrated_bound += dt * (math.fsum(abs(info["ion_balance_m2_s"]).tolist()) + + math.fsum(abs(info["ion_inventory_readback_error_m2_s"]).tolist())) + inventory = math.fsum((device.ion_geometry.cell_measures_m * history.states[index].positive_ion_density_m3).tolist()) + assert abs(inventory - inventory0) <= integrated_bound + 2 * index * np.spacing(inventory0) + assert history.evaluation_counts == {key: sum(a.evaluation_counts[key] for a in history.attempts) + for key in ("residual", "jacobian", "accounting")} + + +def test_first_failure_preserves_the_real_accepted_prefix_without_retry(case, history, monkeypatch): + device, initial, _, _ = case + assert history.completed + calls = [] + + def reused_first_then_fail(*args, **kwargs): + calls.append(1) + if len(calls) == 1: + return history.attempts[0].newton + raise ValueError("injected second-step refusal") + + monkeypatch.setattr(driver, "solve_newton", reused_first_then_fail) + result = driver.solve_ionic_transient(device, initial, protocol(4), options=controls()) + assert not result.completed and len(calls) == 2 + assert len(result.states) == 2 and len(result.attempts) == 2 and len(result.failed_attempts) == 1 + np.testing.assert_array_equal(result.states[-1].u, history.states[1].u) + np.testing.assert_array_equal(result.accepted_times_s, np.array([0.0, 0.25])) + np.testing.assert_array_equal(result.protocol.times_s, protocol(4).times_s) + assert result.failed_attempts[0].end_s == 0.5 and "second-step refusal" in result.failed_attempts[0].error + + +def test_one_deadline_is_not_reset_after_the_accepted_prefix(case, history, monkeypatch): + device, initial, _, _ = case + assert history.completed + monkeypatch.setattr(driver, "solve_newton", lambda *args, **kwargs: history.attempts[0].newton) + ticks = iter([0.0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 1.1] + [1.2] * 100) + monkeypatch.setattr(driver.time, "monotonic", lambda: next(ticks)) + bounded = replace(controls(), electronic=replace(controls().electronic, wall_s=1.0)) + result = driver.solve_ionic_transient(device, initial, protocol(4), options=bounded) + assert not result.completed and len(result.states) == 2 + assert result.failed_attempts[0].termination == "wall_budget_exhausted" + assert result.failed_attempts[0].start_s == 0.25 + assert result.failed_attempts[0].evaluation_counts == {"residual": 0, "jacobian": 0, "accounting": 0} + + +def test_nonfinite_accounting_keeps_the_unaccepted_candidate(case, history, monkeypatch): + device, initial, _, _ = case + assert history.completed + monkeypatch.setattr(driver, "solve_newton", lambda *args, **kwargs: history.attempts[0].newton) + original_accounting = driver.step_accounting + + def nonfinite(step, y): + result = original_accounting(step, y) + result["charge_subtraction_roundoff_A_m2"][0] = np.nan + return result + + monkeypatch.setattr(driver, "step_accounting", nonfinite) + result = driver.solve_ionic_transient(device, initial, protocol(4), options=controls()) + assert not result.completed and len(result.states) == 1 + assert result.failed_attempts[0].termination == "nonfinite_accounting" + np.testing.assert_array_equal(result.failed_attempts[0].candidate_coordinates, history.attempts[0].candidate_coordinates) + assert np.isnan(result.failed_attempts[0].accounting["charge_subtraction_roundoff_A_m2"][0]) diff --git a/tests/integration/test_multiple_ionic_domains_1d.py b/tests/integration/test_multiple_ionic_domains_1d.py new file mode 100644 index 00000000..21e38a13 --- /dev/null +++ b/tests/integration/test_multiple_ionic_domains_1d.py @@ -0,0 +1,320 @@ +"""Bounded actual two-domain assembly, independent physical oracles and refusals.""" + +from __future__ import annotations + +from dataclasses import replace +import hashlib +import json +import math + +import numpy as np +import pytest +from threadpoolctl import threadpool_limits + +from examples.research_1d.ionic_multilayer import prepare_confined_dual_ion_device, prepare_confined_ion_device +from examples.research_1d.multiple_ionic_domains import DOMAINS, INTERVALS, prepare_multiple_ionic_device +from examples.research_1d.shared_site_ionic_fixture import prepare_confined_shared_site_ion_device +from solarlab.config.resolve_device import resolve_device +from solarlab.contracts.units import ELEMENTARY_CHARGE_C as Q +from solarlab.device.compile_ionic_1d import compile_ionic_device_1d +from solarlab.device.compile_multiple_ionic_1d import compile_multiple_ionic_device_1d +from solarlab.device.inputs import DeviceInput +from solarlab.equations.dc_1d import CapabilityError +from solarlab.equations.ionic_1d import Ionic1DProblem +from solarlab.equations.multiple_ionic_1d import MultipleIonic1DProblem +from solarlab.physics.ions import ion_face_flux + + +@pytest.fixture(scope="module", autouse=True) +def blas1(): + with threadpool_limits(limits=1): + yield + + +def compile_case(kind="positive", *, right_immobile=False, counts=INTERVALS): + return compile_multiple_ionic_device_1d( + prepare_multiple_ionic_device(kind=kind, right_immobile=right_immobile), + intervals_per_layer=counts, ion_domains=DOMAINS) + + +def trial(device, *, high_occupancy=False): + y = device.initial_state(voltage_V=0.002).u.copy() + for domain in device.domains: + for index, block in enumerate(device.ion_species_slices[domain.domain_layer_id].values()): + y[block] = (2.6 if high_occupancy else 0.0) + np.linspace(-0.13 + 0.03 * index, 0.12, domain.ion_node_count) + return y + + +@pytest.mark.parametrize("kind", ["positive", "independent", "shared"]) +@pytest.mark.parametrize("right_immobile", [False, True]) +def test_source_bound_maps_complete_state_and_distinct_reference_inventories(kind, right_immobile): + device = compile_case(kind, right_immobile=right_immobile) + assert device.node_count == 13 + assert device.state_size == (47 if kind == "positive" else 55) + np.testing.assert_array_equal(device.domains[0].ion_node_indices, [2, 3, 4, 5]) + np.testing.assert_array_equal(device.domains[1].ion_node_indices, [7, 8, 9, 10]) + assert all(domain.electronic_component is device.electronic_component for domain in device.domains) + state = device.initial_state(voltage_V=0.002) + device.validate_state(state) + assert state.domain_ids == ("absorber_left", "absorber_right") + assert state.device_sha256 == device.identity + assert math.isclose(device.reference_inventories_m2["absorber_left"]["positive"], 1.2e17, rel_tol=3e-16) + assert math.isclose(device.reference_inventories_m2["absorber_right"]["positive"], 1.26e17, rel_tol=3e-16) + for domain, local in zip(device.domains, state.domain_component_states): + original_cold = domain.initial_state(voltage_V=0.002) + for species in domain.ion_species_names: + np.testing.assert_array_equal(getattr(local, species + "_ion_density_m3"), + getattr(original_cold, species + "_ion_density_m3")) + np.testing.assert_allclose(getattr(local, species + "_ion_density_m3"), + getattr(domain, species + "_ion_reference_m3"), + rtol=4 * np.finfo(float).eps, atol=0.0) + np.testing.assert_array_equal(domain.ion_geometry.nodes_m, device.nodes_m[domain.ion_node_indices]) + assert len(device.binding_manifest["original_ionic_inputs"]) == 5 + if right_immobile: + assert np.all(device.domains[1].positive_ion_diffusivity_faces_m2_s == 0.0) + with pytest.raises(ValueError): + state.u.setflags(write=True) + + +def test_unequal_domain_node_counts_are_bound_to_the_full_sparse_shape(): + device = compile_case("independent", counts=(2, 3, 2, 4, 2)) + assert (device.node_count, device.domains[0].ion_node_count, device.domains[1].ion_node_count, device.state_size) == (14, 4, 5, 60) + problem = MultipleIonic1DProblem(device, voltage_V=0.002) + y = trial(device) + assert problem.residual(y).shape == (60,) + assert problem.jacobian(y).shape == problem.storage_jacobian(y).shape == (60, 60) + device.validate_state(device.state(y, voltage_V=0.002)) + + +@pytest.mark.parametrize("kind", ["positive", "independent", "shared"]) +def test_physical_charge_oracle_each_half_cell_background_and_signed_poisson(kind): + device = compile_case(kind) + problem, y = MultipleIonic1DProblem(device, voltage_V=0.002), trial(device) + _, n, p, populations = device.fields_by_domain(y, voltage_V=0.002) + ledger = device.charge_ledger(n, p, populations) + physical = np.zeros(device.node_count) + for domain in device.domains: + for index, species in enumerate(domain.ion_species_names): + sign = 1.0 if species == "positive" else -1.0 + expected = np.zeros(device.node_count) + expected[domain.ion_node_indices] = sign * Q * domain.ion_geometry.cell_measures_m * ( + populations[domain.domain_layer_id][index] - getattr(domain, species + "_ion_reference_m3")) + deposited = sign * Q * device.electronic_component.geometry.cell_measures_m * ledger.entry( + species + "_ion." + domain.domain_layer_id).net_population() + np.testing.assert_allclose(deposited, expected, rtol=8e-15, atol=1e-20) + physical += expected + assert deposited[domain.ion_node_indices[0]] != 0.0 + assert deposited[domain.ion_node_indices[-1]] != 0.0 + electronic = problem.electronic_problem.residual(y[:3 * device.node_count]) + np.testing.assert_allclose(problem.residual(y)[:device.node_count] - electronic[:device.node_count], + physical, rtol=2e-12, atol=2e-18) + assert physical[6] == 0.0 + + +@pytest.mark.parametrize("kind", ["positive", "independent", "shared"]) +def test_original_face_law_every_native_balance_and_exact_zero_gap_end_flux(kind): + device = compile_case(kind) + problem = MultipleIonic1DProblem(device, voltage_V=0.002) + y, current = trial(device), np.zeros(device.node_count - 1) + F, J = problem.residual(y), problem.jacobian(y) + for domain in device.domains: + local = device.local_coordinates(y, domain.domain_layer_id) + phi, _, _, populations = domain.fields_by_species(local, voltage_V=0.002) + for index, species in enumerate(domain.ion_species_names): + sign = 1.0 if species == "positive" else -1.0 + capacity = getattr(domain, species + "_ion_site_limit_m3") + oracle = ion_face_flux(phi[domain.ion_node_indices], populations[index], np.diff(domain.ion_geometry.nodes_m), + getattr(domain, species + "_ion_diffusivity_faces_m2_s"), domain.electronic_component.thermal_voltage_V, + capacity[:-1], steric_diffusion_only=True, P_lim_node=capacity, + P_other_node=populations[1 - index] if kind == "shared" else None, drift_sign=sign) + mapped = np.zeros(device.node_count - 1) + mapped[domain.ion_node_indices[:-1]] = oracle + np.testing.assert_array_equal(problem.ion_fluxes_on_electronic_faces(y, domain_id=domain.domain_layer_id, species=species), mapped) + block = device.ion_species_slices[domain.domain_layer_id][species] + balance = -np.diff(np.r_[0.0, oracle, 0.0]) + np.testing.assert_array_equal(F[block], balance) + assert abs(math.fsum(balance.tolist())) <= 4 * np.finfo(float).eps * math.fsum(abs(oracle).tolist()) + assert J[block, device.node_count:3 * device.node_count].nnz == 0 + current += sign * Q * mapped + np.testing.assert_array_equal(problem.ion_current_density_A_m2(y), current) + np.testing.assert_array_equal(current[[0, 1, 5, 6, 10, 11]], np.zeros(6)) + left, right = device.domain_slices.values() + assert J[left, right].nnz == J[right, left].nnz == 0 + + +@pytest.mark.parametrize("kind", ["positive", "independent", "shared"]) +def test_independent_inventories_and_full_gradients_include_only_their_own_domain(kind): + device = compile_case(kind) + problem, y = MultipleIonic1DProblem(device, voltage_V=0.002), trial(device) + before = device.state(y, voltage_V=0.002).domain_inventories_m2 + left, right = device.domain_ids + first = device.ion_species_slices[left]["positive"] + changed = y.copy() + changed[first] += 0.1 + after = device.state(changed, voltage_V=0.002).domain_inventories_m2 + assert after[right] == before[right] + assert after[left]["positive"] != before[left]["positive"] + gradients = problem.inventory_gradients(y) + rng = np.random.default_rng(4301) + direction = rng.uniform(-0.1, 0.1, device.state_size) + h = 1e-4 + plus = device.state(y + h * direction, voltage_V=0.002).domain_inventories_m2 + minus = device.state(y - h * direction, voltage_V=0.002).domain_inventories_m2 + for name, species_values in gradients.items(): + outside = device.domain_slices[right if name == left else left] + for species, gradient in species_values.items(): + assert np.all(gradient[outside] == 0.0) and np.all(gradient[:3 * device.node_count] == 0.0) + finite = (plus[name][species] - minus[name][species]) / (2 * h) + assert math.isclose(float(gradient @ direction), finite, rel_tol=2e-7) + + +@pytest.mark.parametrize("kind", ["positive", "independent", "shared"]) +@pytest.mark.parametrize("alpha", [0.0, 2.5]) +def test_complete_Fy_and_storage_curvature_against_directional_difference(kind, alpha): + device = compile_case(kind) + problem, y = MultipleIonic1DProblem(device, voltage_V=0.002), trial(device, high_occupancy=kind == "shared") + rng = np.random.default_rng(430108) + direction, derivative = rng.uniform(-0.1, 0.1, device.state_size), rng.uniform(-0.2, 0.2, device.state_size) + direction[:device.node_count] *= device.electronic_component.thermal_voltage_V + derivative[:device.node_count] *= device.electronic_component.thermal_voltage_V + J = problem.jacobian(y, derivative, alpha=alpha) + h = 1e-5 + finite = (problem.residual(y + h * direction, derivative + alpha * h * direction) + - problem.residual(y - h * direction, derivative - alpha * h * direction)) / (2 * h) + error = float(np.max(abs(finite - J @ direction) / np.maximum(abs(J) @ abs(direction), np.finfo(float).tiny))) + print(f"two domains {kind} alpha={alpha}: complete directional error {error:.9g}") + assert error < 2e-7 + if kind == "shared": + populations = device.fields_by_domain(y, voltage_V=0.002)[3] + for domain in device.domains: + assert np.all(sum(populations[domain.domain_layer_id]) / domain.positive_ion_site_limit_m3 > 0.8) + + +@pytest.mark.parametrize("kind", ["positive", "independent", "shared"]) +def test_physical_storage_and_immobile_local_rows_are_retained(kind): + device = compile_case(kind, right_immobile=True) + problem, y = MultipleIonic1DProblem(device, voltage_V=0.002), trial(device) + rng = np.random.default_rng(1084301) + direction = rng.uniform(-0.1, 0.1, device.state_size) + direction[:device.node_count] *= device.electronic_component.thermal_voltage_V + K = problem.storage_jacobian(y) + h = 1e-5 + finite = (problem.physical_storage(y + h * direction) - problem.physical_storage(y - h * direction)) / (2 * h) + error = float(np.max(abs(finite + K @ direction) / np.maximum(abs(K) @ abs(direction), np.finfo(float).tiny))) + assert error < 2e-7 + right = device.domains[1] + derivative = np.zeros(device.state_size) + derivative[device.domain_slices[right.domain_layer_id]] = 0.2 + F = problem.residual(y, derivative) + for species, block in device.ion_species_slices[right.domain_layer_id].items(): + np.testing.assert_array_equal(problem.ion_fluxes(y, domain_id=right.domain_layer_id, species=species), + np.zeros(right.ion_node_count - 1)) + np.testing.assert_allclose(F[block], (K @ derivative)[block], rtol=5e-15, atol=0.0) + assert np.all(K.diagonal()[block] < 0.0) + for row in (0, device.node_count - 1, device.node_count, 2 * device.node_count - 1, 2 * device.node_count, 3 * device.node_count - 1): + assert K.getrow(row).nnz == 0 + + +@pytest.mark.parametrize("declarations", [ + (), DOMAINS[:1], DOMAINS + (("htl", ("blocking", "blocking")),), + DOMAINS[::-1], (DOMAINS[0], DOMAINS[0]), + (("missing", ("blocking", "blocking")), DOMAINS[1]), + (("absorber_left", ("transmissive", "blocking")), DOMAINS[1]), + (("absorber_left", ("blocking", "blocking")), ("inactive_gap", ("blocking", "blocking"))), +]) +def test_absent_undeclared_exchange_touching_or_reordered_domains_refuse(declarations): + with pytest.raises(CapabilityError): + compile_multiple_ionic_device_1d(prepare_multiple_ionic_device(), intervals_per_layer=INTERVALS, ion_domains=declarations) + + +def test_undeclared_population_is_not_stripped_and_single_domain_api_is_unchanged(): + prepared = prepare_multiple_ionic_device() + data = prepared.to_input().editing_data() + data["layers"][2]["parameters"]["P0"] = 1e22 + changed = resolve_device(DeviceInput.model_validate(data), prepared.defaults, prepared.resources, sources=prepared.sources) + with pytest.raises(CapabilityError, match="undeclared"): + compile_multiple_ionic_device_1d(changed, intervals_per_layer=INTERVALS, ion_domains=DOMAINS) + with pytest.raises(CapabilityError, match="outside-domain"): + compile_ionic_device_1d(prepared, intervals_per_layer=INTERVALS, ion_domain_layer="absorber_left", ion_domain_endpoints=("blocking", "blocking")) + + +def test_scalar_state_shape_identity_and_layout_validation(): + device = compile_case() + y, state = trial(device), device.initial_state(voltage_V=0.002) + for value in (True, float("nan"), float("inf"), "0.002"): + with pytest.raises(ValueError): + MultipleIonic1DProblem(device, voltage_V=value) + with pytest.raises(ValueError): + MultipleIonic1DProblem(device, generation_scale=-1.0) + with pytest.raises(ValueError): + device.state(np.r_[y, 0.0], voltage_V=0.002) + with pytest.raises(ValueError, match="real numeric"): + device.state(y.astype(complex) + 1j, voltage_V=0.002) + with pytest.raises(ValueError): + device.validate_state(replace(state, device_sha256="other")) + with pytest.raises(ValueError): + device.validate_state(replace(state, domain_ids=state.domain_ids[::-1])) + first, second = state.domain_component_states + wrong_fields = replace(first, positive_ion_density_m3=first.positive_ion_density_m3 * 1.1, + domain_inventory_m2=first.domain_inventory_m2 * 1.1) + with pytest.raises(ValueError, match="physical inventories"): + device.validate_state(replace(state, domain_component_states=(wrong_fields, second))) + manifest = device.binding_manifest + manifest["ionic_state_blocks"][0]["stop"] += 1 + encoded = json.dumps(manifest, sort_keys=True, separators=(",", ":"), allow_nan=False) + with pytest.raises(ValueError, match="state block"): + replace(device, binding_manifest_json=encoded, sha256=hashlib.sha256(encoded.encode()).hexdigest()) + with pytest.raises(ValueError): + compile_multiple_ionic_device_1d(prepare_multiple_ionic_device(), intervals_per_layer=True, ion_domains=DOMAINS) + + +@pytest.mark.parametrize("kind", ["positive", "independent", "shared"]) +@pytest.mark.parametrize("immobile", [False, True]) +def test_new_composition_does_not_mutate_old_single_domain_identity_F_J_K_or_profile(kind, immobile): + factory = {"positive": prepare_confined_ion_device, "independent": prepare_confined_dual_ion_device, + "shared": prepare_confined_shared_site_ion_device}[kind] + prepared = factory() + if immobile: + data = prepared.to_input().editing_data() + next(layer for layer in data["layers"] if layer["id"] == "absorber")["parameters"].update(D_ion=0.0, D_ion_neg=0.0) + prepared = resolve_device(DeviceInput.model_validate(data), prepared.defaults, prepared.resources, sources=prepared.sources) + def old(): + return compile_ionic_device_1d(prepared, intervals_per_layer=(2, 3, 2), + ion_domain_layer="absorber", ion_domain_endpoints=("blocking", "blocking")) + before = old() + u = before.initial_state(voltage_V=0.002).u.copy() + u[3 * before.node_count:] = np.linspace(-0.1, 0.1, u.size - 3 * before.node_count) + problem = Ionic1DProblem(before, voltage_V=0.002) + F, J, K = problem.residual(u), problem.jacobian(u).toarray(), problem.storage_jacobian(u).toarray() + compile_case(kind, right_immobile=immobile) + after = old() + assert before.identity == after.identity and before.binding_manifest_json == after.binding_manifest_json + replay = Ionic1DProblem(after, voltage_V=0.002) + np.testing.assert_array_equal(replay.residual(u), F) + np.testing.assert_array_equal(replay.jacobian(u).toarray(), J) + np.testing.assert_array_equal(replay.storage_jacobian(u).toarray(), K) + for species in after.ion_species_names: + np.testing.assert_array_equal(getattr(before, species + "_ion_reference_m3"), getattr(after, species + "_ion_reference_m3")) + + +@pytest.mark.parametrize("kind", ["positive", "independent"]) +def test_whole_flux_original_flag_has_actual_two_domain_directional_parity(kind): + prepared = prepare_multiple_ionic_device(kind=kind) + data = prepared.to_input().editing_data() + data["settings"]["ion_steric_diffusion_only"] = False + prepared = resolve_device(DeviceInput.model_validate(data), prepared.defaults, prepared.resources, sources=prepared.sources) + device = compile_multiple_ionic_device_1d(prepared, intervals_per_layer=INTERVALS, ion_domains=DOMAINS) + problem, y = MultipleIonic1DProblem(device, voltage_V=0.002), trial(device) + rng = np.random.default_rng(430109) + direction, derivative = rng.uniform(-0.1, 0.1, device.state_size), rng.uniform(-0.2, 0.2, device.state_size) + direction[:device.node_count] *= device.electronic_component.thermal_voltage_V + derivative[:device.node_count] *= device.electronic_component.thermal_voltage_V + J = problem.jacobian(y, derivative, alpha=2.5) + h = 1e-5 + finite = (problem.residual(y + h * direction, derivative + 2.5 * h * direction) + - problem.residual(y - h * direction, derivative - 2.5 * h * direction)) / (2 * h) + error = float(np.max(abs(finite - J @ direction) / np.maximum(abs(J) @ abs(direction), np.finfo(float).tiny))) + print(f"two domains whole-flux {kind}: complete directional error {error:.9g}") + assert error < 2e-7 + assert all(domain.binding_manifest["original_ionic_settings"]["ion_steric_diffusion_only"] is False + for domain in device.domains) diff --git a/tests/integration/test_multiple_ionic_small_signal_1d.py b/tests/integration/test_multiple_ionic_small_signal_1d.py new file mode 100644 index 00000000..440efbbe --- /dev/null +++ b/tests/integration/test_multiple_ionic_small_signal_1d.py @@ -0,0 +1,275 @@ +"""Two-domain AC algebra/port/source checks; native evidence is read only.""" + +from __future__ import annotations + +from dataclasses import replace +import hashlib +import json +import os +from pathlib import Path + +import numpy as np +import pytest +from threadpoolctl import threadpool_limits + +from examples.research_1d import multiple_ionic_impedance as example +from examples.research_1d.multiple_ionic_domains import DOMAINS, INTERVALS, prepare_multiple_ionic_device +from solarlab.config.resolve_device import resolve_device +from solarlab.device.compile_multiple_ionic_1d import compile_multiple_ionic_device_1d +from solarlab.device.inputs import DeviceInput +from solarlab.equations.dc_1d import CapabilityError +from solarlab.equations.multiple_ionic_1d import MultipleIonic1DProblem +from solarlab.equations.multiple_ionic_small_signal import build_multiple_ionic_small_signal +from solarlab.experiments.ionic_impedance import IonicImpedanceOptions +from solarlab.experiments.multiple_ionic_impedance import ( + MultipleIonicImpedanceResult, _checks, read_multiple_ionic_impedance_result, write_multiple_ionic_impedance_result, +) +from solarlab.experiments.ionic_impedance import IonicImpedanceAttempt +from solarlab.solvers.nonlinear.problem import GateOutcome +from solarlab.solvers.linear import FrequencySolution + +Q = 1.602176634e-19 + + +@pytest.fixture(scope="module", autouse=True) +def blas1(): + with threadpool_limits(limits=1): + yield + + +@pytest.fixture(scope="module") +def case(): + device = compile_multiple_ionic_device_1d(prepare_multiple_ionic_device(), + intervals_per_layer=INTERVALS, ion_domains=DOMAINS) + u = device.initial_state(voltage_V=.002).u.copy() + N = device.node_count + u[:N] += .01 * np.sin(np.linspace(0, 2 * np.pi, N)) + u[N:2 * N] = np.linspace(-.15, .2, N) + u[2 * N:3 * N] = np.linspace(.1, -.25, N) + u[3 * N:] = np.linspace(-.12, .13, device.state_size - 3 * N) + state = device.state(u, voltage_V=.002) + return device, state, build_multiple_ionic_small_signal(device, state) + + +def derivative(function, u, direction, h=1e-5): + return (8 * (function(u + h * direction) - function(u - h * direction)) + - (function(u + 2 * h * direction) - function(u - 2 * h * direction))) / (12 * h) + + +def test_one_production_electronic_block_and_distinct_zero_hz_inventories(case): + device, state, operator = case + problem = MultipleIonic1DProblem(device, state.voltage_V) + assert (device.node_count, device.state_size) == (13, 47) + np.testing.assert_array_equal(operator.jacobian.toarray(), problem.jacobian(state.u).toarray()) + np.testing.assert_array_equal(operator.storage_jacobian.toarray(), problem.storage_jacobian(state.u).toarray()) + system = operator.system(0.0, voltage_phasor_V=2e-6 + 1e-6j) + assert system.constraint_rows == {"absorber_left": {"positive": 39}, "absorber_right": {"positive": 43}} + assert system.original_rows_enforced == tuple(range(47)) + for name, blocks in device.ion_species_slices.items(): + row, block = system.constraint_rows[name]["positive"], blocks["positive"] + gradient = problem.inventory_gradients(state.u)[name]["positive"] + np.testing.assert_array_equal(system.jacobian[row, :].toarray()[0], gradient) + np.testing.assert_array_equal(np.flatnonzero(gradient), np.arange(block.start, block.stop)) + assert system.storage_jacobian[row, :].nnz == 0 + assert system.rhs[row] == system.rhs_rate[row] == 0.0 + finite = operator.system(1.0) + assert finite.constraint_rows == {} + np.testing.assert_array_equal(finite.jacobian.toarray(), operator.jacobian.toarray()) + np.testing.assert_array_equal(finite.storage_jacobian.toarray(), operator.storage_jacobian.toarray()) + + +def test_full_J_K_and_actual_moving_voltage_drive_directions(case): + device, state, operator = case + N = device.node_count + problem = MultipleIonic1DProblem(device, state.voltage_V) + rng = np.random.default_rng(1521) + direction = rng.normal(size=device.state_size) * .03 + direction[:N] *= device.electronic_component.thermal_voltage_V + scale = np.maximum(abs(operator.jacobian) @ abs(direction), 1e-20) + assert np.max(abs(derivative(problem.residual, state.u, direction) - operator.jacobian @ direction) / scale) < 2e-7 + storage = derivative(problem.physical_storage, state.u, direction) + scale_K = np.maximum(abs(operator.storage_jacobian) @ abs(direction), 1e-20) + assert np.max(abs(storage + operator.storage_jacobian @ direction) / scale_K) < 2e-7 + lift = operator.coordinate_lift_per_V + def primal(parameter): + return MultipleIonic1DProblem(device, state.voltage_V + parameter[0]).residual(state.u + parameter[0] * lift) + partial, rate = operator._moving_voltage_partial(lift) + scale = np.maximum(abs(operator.jacobian) @ (abs(lift) + abs(operator.reference_direction_per_V) + + np.r_[np.full(N, .02), np.ones(device.state_size - N)]), 1e-20) + assert np.max(abs(derivative(primal, np.zeros(1), np.ones(1)) - partial) / scale) < 2e-7 + np.testing.assert_allclose(rate, operator.storage_jacobian @ (operator.reference_direction_per_V - lift), rtol=2e-14, atol=1e-12) + np.testing.assert_array_equal(partial[3 * N:], operator.jacobian[3 * N:, :N] @ lift[:N]) + + +def test_complex_local_ion_and_carrier_tangents_and_no_gap_flux(case): + device, state, operator = case + N = device.node_count + problem = MultipleIonic1DProblem(device, state.voltage_V) + rng = np.random.default_rng(1522) + real, imag = rng.normal(size=device.state_size) * .01, rng.normal(size=device.state_size) * .01 + real[:N] *= .02 + imag[:N] *= .02 + out = operator.observe(real + 1j * imag, 1.0, coordinate_form="fixed_reference_v1") + for index, species in enumerate(("electron", "hole")): + def flux(u): + return getattr(problem.electronic_problem.fluxes(u[:3 * N]), species).flux + numeric = derivative(flux, state.u, real) + 1j * derivative(flux, state.u, imag) + np.testing.assert_allclose(out["carrier_particle_fluxes_m2_s"][index, 1:-1], numeric, rtol=2e-7, atol=1e-12) + for domain in device.domains: + name = domain.domain_layer_id + def flux(u): + return problem.ion_fluxes(u, domain_id=name) + numeric = derivative(flux, state.u, real) + 1j * derivative(flux, state.u, imag) + full = out["domains"][name]["species"]["positive"]["particle_fluxes_m2_s"] + np.testing.assert_allclose(full[domain.ion_node_indices[:-1] + 1], numeric, rtol=2e-7, atol=1e-12) + allowed = np.zeros(N + 1, dtype=bool) + allowed[domain.ion_node_indices[:-1] + 1] = True + np.testing.assert_array_equal(full[~allowed], np.zeros(np.sum(~allowed))) + np.testing.assert_array_equal(out["ionic_conduction_current_density_A_m2"][[0, 1, 2, 6, 7, 11, 12, 13]], np.zeros(8)) + + +def test_global_charge_ports_and_Maxwell_accounted_once(case): + device, state, operator = case + V, f = 2e-6 + 1e-6j, 1.0 + x = np.random.default_rng(1523).normal(size=device.state_size) * (1e-4 + 2e-4j) + out = operator.observe(x, f, voltage_phasor_V=V) + particle = out["carrier_particle_fluxes_m2_s"] + current = Q * (particle[1] - particle[0]) + charge = Q * device.electronic_component.geometry.cell_measures_m * ( + out["hole_density_perturbation_m3"] - out["electron_density_perturbation_m3"]) + for domain in device.domains: + values = out["domains"][domain.domain_layer_id]["species"]["positive"] + current += Q * values["particle_fluxes_m2_s"] + charge[domain.ion_node_indices] += Q * (domain.ion_geometry.cell_measures_m * values["density_perturbation_m3"]) + np.testing.assert_array_equal(out["conduction_current_density_A_m2"], current) + np.testing.assert_array_equal(out["charge_inventory_perturbation_C_m2"], charge) + np.testing.assert_array_equal(out["total_current_density_A_m2"], current + out["displacement_current_density_A_m2"]) + assert out["total_current_density_A_m2"].shape == (14,) + scale = max(np.max(abs(out["total_current_density_A_m2"])), 2 * np.pi * np.max(abs(charge)), np.finfo(float).tiny) + assert np.max(abs(out["maxwell_identity_error_A_m2"])) < 256 * np.finfo(float).eps * scale + fixed = operator.observe(x + (operator.coordinate_lift_per_V - operator.reference_direction_per_V) * V, + f, voltage_phasor_V=V, coordinate_form="fixed_reference_v1") + np.testing.assert_allclose(fixed["total_current_density_A_m2"], out["total_current_density_A_m2"], rtol=3e-12, atol=1e-12) + factor = .4 - .7j + other = operator.observe(x * factor, f, voltage_phasor_V=V * factor) + np.testing.assert_allclose(other["total_current_density_A_m2"], out["total_current_density_A_m2"] * factor, rtol=3e-12, atol=1e-12) + + +def test_total_inventory_cancellation_does_not_pass_either_domain(case): + device, _state, _operator = case + domains = {} + changes = [] + for index, domain in enumerate(device.domains): + density = np.zeros(domain.ion_node_count, dtype=complex) + density[0] = (1.0 if index == 0 else -1.0) * 1e8 / domain.ion_geometry.cell_measures_m[0] + changes.append(np.sum(domain.ion_geometry.cell_measures_m * density)) + domains[domain.domain_layer_id] = {"species": {"positive": {"density_perturbation_m3": density}}} + assert abs(sum(changes)) < 1e-7 + observed = {"domains": domains, "total_current_density_A_m2": np.zeros(14, dtype=complex), + "original_componentwise_backward_error": 0.0} + linear = FrequencySolution(0.0, np.zeros(47, dtype=complex), np.zeros(47, dtype=complex), 0.0, 0) + checks = _checks(device, observed, linear, 1.0, IonicImpedanceOptions()) + assert all(not check.passed for check in checks if "inventory" in check.name) + assert sum("inventory" in check.name for check in checks) == 2 + + +@pytest.mark.parametrize("kind,immobile", [("independent", False), ("shared", False), ("positive", True)]) +def test_unsupported_populations_refused_without_assembling(kind, immobile, monkeypatch): + device = compile_multiple_ionic_device_1d(prepare_multiple_ionic_device(kind=kind, right_immobile=immobile), + intervals_per_layer=INTERVALS, ion_domains=DOMAINS) + def forbidden(*args, **kwargs): + raise AssertionError("unsupported scope reached operator assembly") + monkeypatch.setattr(MultipleIonic1DProblem, "jacobian", forbidden) + with pytest.raises(CapabilityError): + build_multiple_ionic_small_signal(device, device.initial_state()) + + +def test_mode_contacts_shape_identity_refused_but_source_drift_is_informational(case, monkeypatch, tmp_path): + device, state, operator = case + with pytest.raises(CapabilityError, match="only mobile"): + operator.system(1.0, ion_mode="frozen") + with pytest.raises(ValueError): + build_multiple_ionic_small_signal(device, replace(state, device_sha256="wrong")) + with pytest.raises(ValueError): + operator.observe(np.zeros(48), 1.0) + from solarlab.equations import multiple_ionic_1d + changed = tmp_path / "changed.py" + changed.write_text("changed source\n") + monkeypatch.setattr(multiple_ionic_1d, "__file__", str(changed)) + observed = operator.observe(np.zeros(47), 1.0) + assert observed["working_state_digest"] == operator.working_state_digest + assert operator.source_sha256 == {} # Bare numerical call makes no source claim. + + +def test_nonfixed_contacts_and_CT_refused_before_operator(monkeypatch): + for variant in ("contacts", "CT"): + prepared = prepare_multiple_ionic_device() + data = prepared.to_input().editing_data() + if variant == "contacts": + data["settings"]["flat_band_contacts"] = True + else: + data["layers"][1]["parameters"].update(v_sat_n=1e4, ct_beta_n=2.0) + prepared = resolve_device(DeviceInput.model_validate(data), prepared.defaults, prepared.resources, sources=prepared.sources) + device = compile_multiple_ionic_device_1d(prepared, intervals_per_layer=INTERVALS, ion_domains=DOMAINS) + def forbidden(*args, **kwargs): + raise AssertionError("unsupported contact or CT reached assembly") + monkeypatch.setattr(MultipleIonic1DProblem, "jacobian", forbidden) + with pytest.raises(CapabilityError): + build_multiple_ionic_small_signal(device, device.initial_state()) + + +def test_saved_native_result_reads_without_compile_or_solver(monkeypatch): + path, sha = os.environ.get("SOLARLAB_MULTIPLE_AC_RESULT"), os.environ.get("SOLARLAB_MULTIPLE_AC_SHA256") + if path is None or sha is None: + pytest.skip("bind the sole saved native result; never repeat a physics solve") + def forbidden(*args, **kwargs): + raise AssertionError("saved reading reached compilation or a solver") + monkeypatch.setattr(example, "compile_multiple_ionic_device_1d", forbidden) + monkeypatch.setattr(example, "solve_multiple_ionic_impedance", forbidden) + assert hashlib.sha256(Path(path).read_bytes()).hexdigest() == sha + record = read_multiple_ionic_impedance_result(path, sha) + assert record["completed"] and len(record["result"]["attempts"]) == 4 + assert record["result"]["initial_provenance"]["source_sha256"] == "858ef2f39be16018049d49cfe171d3f79f03891c1259b0eff7701945a78ef7f3" + for attempt in record["result"]["attempts"]: + assert attempt["accepted"] and all(item["passed"] for item in attempt["checks"]) + out = attempt["observation"] + assert set(out["domains"]) == {"absorber_left", "absorber_right"} + np.testing.assert_array_equal(out["total_current_density_A_m2"], + out["conduction_current_density_A_m2"] + out["displacement_current_density_A_m2"]) + assert tuple(out["original_rows_enforced"]) == tuple(range(47)) + assert record["result"]["physical_certificate_status"] == "not_evaluated" + + +def test_solver_free_saved_prefix_retains_first_failure(case, monkeypatch, tmp_path): + """Synthetic codec/prefix fixture, never a claimed physical response.""" + device, _state, _operator = case + requested = np.asarray([0.0, .01, 1.0, 1000.0]) + x = np.zeros(device.state_size, dtype=complex) + solved = FrequencySolution(0.0, x, x.copy(), 0.0, 0) + observed = {"coordinate_form": "moving_boundary_lift_v1", "solve_coordinate_perturbation": x, + "synthetic_prefix_fixture": True} + attempts = (IonicImpedanceAttempt(0.0, True, "converged", solved, observed, + (GateOutcome("synthetic_codec_check", True, 0.0, 1.0),), 0.0, + coordinate_representation="moving_boundary_lift_v1"), + IonicImpedanceAttempt(.01, False, "synthetic_failure", None, None, (), 0.0, "fixture only")) + from dataclasses import asdict + result = MultipleIonicImpedanceResult(requested, 2e-6 + 1e-6j, attempts, + {"role": "synthetic codec/prefix fixture only"}, device.identity, device.original_prepared_sha256, + device.binding_manifest, {}, asdict(IonicImpedanceOptions()), 2, 0.0) + path = tmp_path / "Prefix.json" + digest = write_multiple_ionic_impedance_result(result, path) + monkeypatch.setattr(example, "solve_multiple_ionic_impedance", lambda *args, **kwargs: pytest.fail("reader solved")) + record = read_multiple_ionic_impedance_result(path, digest) + assert not record["completed"] and len(record["result"]["attempts"]) == 2 + assert record["result"]["attempts"][-1]["termination"] == "synthetic_failure" + np.testing.assert_array_equal(record["result"]["requested_frequencies_Hz"], requested) + with pytest.raises(ValueError, match="SHA-256"): + read_multiple_ionic_impedance_result(path, "wrong") + with pytest.raises(FileExistsError): + write_multiple_ionic_impedance_result(result, path) + raw = json.loads(path.read_text()) + raw["completed"] = True + bad = tmp_path / "Contradictory.json" + bad.write_text(json.dumps(raw) + "\n") + with pytest.raises(ValueError, match="completion"): + read_multiple_ionic_impedance_result(bad, hashlib.sha256(bad.read_bytes()).hexdigest()) diff --git a/tests/integration/test_multiple_ionic_steady_1d.py b/tests/integration/test_multiple_ionic_steady_1d.py new file mode 100644 index 00000000..9d28c041 --- /dev/null +++ b/tests/integration/test_multiple_ionic_steady_1d.py @@ -0,0 +1,266 @@ +"""Separate steady inventories, original dropped rows and one bounded witness.""" + +from __future__ import annotations + +from dataclasses import replace +import math +import os +from pathlib import Path + +import numpy as np +import pytest +from threadpoolctl import threadpool_limits + +from examples.research_1d.ionic_steady import controls +from examples.research_1d.multiple_ionic_domains import DOMAINS, INTERVALS, prepare_multiple_ionic_device +from examples.research_1d.multiple_ionic_steady import prepare_mixed_immobile_device +from solarlab.device.compile_multiple_ionic_1d import compile_multiple_ionic_device_1d +from solarlab.equations.multiple_ionic_1d import MultipleIonic1DProblem +from solarlab.equations.ionic_1d import Ionic1DProblem +from solarlab.solvers.nonlinear.ionic_1d import ConstrainedIonic1DProblem +from solarlab.solvers.nonlinear.multiple_ionic_1d import ( + ConstrainedMultipleIonic1DProblem, _settings, multiple_ionic_checks, multiple_ionic_diagnostics, + solve_multiple_ionic_steady_state, +) + + +@pytest.fixture(scope="module", autouse=True) +def blas1(): + with threadpool_limits(limits=1): + yield + + +def case(kind="positive", *, counts=INTERVALS, right_immobile=False): + device = compile_multiple_ionic_device_1d( + prepare_multiple_ionic_device(kind=kind, right_immobile=right_immobile), + intervals_per_layer=counts, ion_domains=DOMAINS) + options = controls(device.domains[0].ion_node_count) + original = MultipleIonic1DProblem(device, voltage_V=0.002, generation_scale=0.0) + return device, options, original + + +@pytest.mark.parametrize("kind", ["positive", "independent", "shared"]) +def test_only_each_own_inventory_row_changes_and_full_storage_gradient_is_retained(kind): + device, options, original = case(kind) + constrained = ConstrainedMultipleIonic1DProblem(original, options.inventory_row_node) + y = device.initial_state(voltage_V=0.002).u.copy() + y[3 * device.node_count:] = np.linspace(-0.11, 0.12, device.state_size - 3 * device.node_count) + F, C, J, K = original.residual(y), constrained.residual(y), constrained.jacobian(y), original.storage_jacobian(y) + changed_rows = [] + for domain in device.domains: + name = domain.domain_layer_id + populations = device.fields_by_domain(y, voltage_V=0.002)[3][name] + for index, species in enumerate(domain.ion_species_names): + block, row = device.ion_species_slices[name][species], constrained.constraint_rows[name][species] + expected = math.fsum((domain.ion_geometry.cell_measures_m + * (populations[index] - getattr(domain, species + "_ion_reference_m3"))).tolist()) + assert C[row] == expected + np.testing.assert_array_equal(J.getrow(row).toarray().ravel(), -np.asarray(K[block, :].sum(axis=0)).ravel()) + other = device.domain_slices[device.domain_ids[1] if name == device.domain_ids[0] else device.domain_ids[0]] + assert J[row, other].nnz == 0 + changed_rows.append(row) + mask = np.ones(device.state_size, dtype=bool) + mask[changed_rows] = False + np.testing.assert_array_equal(C[mask], F[mask]) + np.testing.assert_array_equal(J[mask, :].toarray(), original.jacobian(y)[mask, :].toarray()) + + +@pytest.mark.parametrize("kind", ["positive", "independent", "shared"]) +def test_complete_constrained_directional_check(kind): + device, options, original = case(kind, counts=(2, 3, 2, 4, 2)) + problem = ConstrainedMultipleIonic1DProblem(original, options.inventory_row_node) + y = device.initial_state(voltage_V=0.002).u.copy() + y[3 * device.node_count:] = np.linspace(-0.08, 0.1, device.state_size - 3 * device.node_count) + rng = np.random.default_rng(148894) + direction = rng.uniform(-0.1, 0.1, device.state_size) + direction[:device.node_count] *= device.electronic_component.thermal_voltage_V + J = problem.jacobian(y) + h = 1e-5 + finite = (problem.residual(y + h * direction) - problem.residual(y - h * direction)) / (2 * h) + error = float(np.max(abs(finite - J @ direction) / np.maximum(abs(J) @ abs(direction), np.finfo(float).tiny))) + print(f"two-domain constrained {kind}: directional error {error:.9g}") + assert error < 2e-7 + + +def test_original_per_domain_scaling_and_common_row_node_validation(): + device, options, original = case("independent", counts=(2, 3, 2, 4, 2)) + constrained = ConstrainedMultipleIonic1DProblem(original, 3) + settings = _settings(constrained, options) + assert settings.tolerance == 1.0 and not settings.reuse_jacobian + assert settings.budget == options.budget + for domain in device.domains: + for species, block in device.ion_species_slices[domain.domain_layer_id].items(): + row = constrained.constraint_rows[domain.domain_layer_id][species] + for node in range(block.start, block.stop): + expected = (1 / (1e-12 * device.reference_inventories_m2[domain.domain_layer_id][species]) + if node == row else 2 * domain.ion_node_count / 1e6) + assert settings.scaling.row_weights[node] == expected + assert settings.step_control.max_step[node] == 1.0 + for node in (True, -1, 4): + with pytest.raises(ValueError): + ConstrainedMultipleIonic1DProblem(original, node) + + +def test_combined_inventory_cancellation_is_rejected_before_newton(monkeypatch): + device, options, _ = case() + y = device.initial_state(voltage_V=0.002).u.copy() + left, right = device.domains + left_block = device.ion_species_slices[left.domain_layer_id]["positive"] + y[left_block] = 0.1 + current_left = device.state(y, voltage_V=0.002).domain_inventories_m2[left.domain_layer_id]["positive"] + total = sum(values["positive"] for values in device.reference_inventories_m2.values()) + density = (total - current_left) / math.fsum(right.ion_geometry.cell_measures_m.tolist()) + capacity, reference = right.positive_ion_site_limit_m3[0], right.positive_ion_reference_m3[0] + y[device.ion_species_slices[right.domain_layer_id]["positive"]] = ( + math.log(density / (capacity - density)) - math.log(reference / (capacity - reference))) + state = device.state(y, voltage_V=0.002) + assert math.isclose(sum(v["positive"] for v in state.domain_inventories_m2.values()), total, rel_tol=1e-12) + monkeypatch.setattr("solarlab.solvers.nonlinear.multiple_ionic_1d.solve_newton", + lambda *args, **kwargs: pytest.fail("invalid inventory reached Newton")) + with pytest.raises(ValueError, match="each mobile domain"): + solve_multiple_ionic_steady_state(device, voltage_V=0.002, generation_scale=0.0, options=options, initial_state=state) + + +def test_every_original_dropped_balance_is_checked(monkeypatch): + device, options, original = case() + problem = ConstrainedMultipleIonic1DProblem(original, options.inventory_row_node) + y = device.initial_state(voltage_V=0.002).u.copy() + retained = original.residual(y) + retained[3 * device.node_count:] = 0.0 + row = problem.constraint_rows["absorber_left"]["positive"] + retained[row] = 2e6 + monkeypatch.setattr(MultipleIonic1DProblem, "residual", lambda self, point, *args: retained.copy()) + assert problem.residual(y)[row] == 0.0 + checks = {check.name: check for check in multiple_ionic_checks(problem, y, options)} + assert not checks["absorber_left.positive.ion_balance_l1_m2_s"].passed + assert checks["absorber_right.positive.ion_balance_l1_m2_s"].passed + data = multiple_ionic_diagnostics(problem, y) + assert data["domains"]["absorber_left"]["species"]["positive"]["dropped_balance_m2_s"] == 2e6 + + +@pytest.mark.parametrize("kind", ["positive", "independent", "shared"]) +def test_immobile_physical_rows_match_accepted_local_closure_and_retain_storage(kind): + device, options, original = case(kind, right_immobile=True) + y = device.initial_state(voltage_V=0.002).u.copy() + y[device.domain_slices["absorber_right"]] = np.linspace(-0.1, 0.1, device.domains[1].state_size - 3 * device.node_count) + assert original.storage_jacobian(y)[device.domain_slices["absorber_right"], :].nnz > 0 + constrained = ConstrainedMultipleIonic1DProblem(original, options.inventory_row_node) + domain = device.domains[1] + local = ConstrainedIonic1DProblem(Ionic1DProblem(domain, 0.002, 0.0), options.inventory_row_node) + local_y = device.local_coordinates(y, domain.domain_layer_id) + np.testing.assert_array_equal(constrained.residual(y)[device.domain_slices[domain.domain_layer_id]], + local.residual(local_y)[3 * device.node_count:]) + K, J = original.storage_jacobian(y), constrained.jacobian(y) + for rows in constrained.profile_constraint_rows[domain.domain_layer_id].values(): + for row in rows: + np.testing.assert_array_equal(J.getrow(row).toarray(), -K.getrow(row).toarray()) + np.testing.assert_array_equal(original.residual(y)[device.domain_slices[domain.domain_layer_id]], + np.zeros(domain.state_size - 3 * device.node_count)) + assert constrained.constraint_rows["absorber_right"] == {} + checks = {check.name: check for check in multiple_ionic_checks(constrained, y, options)} + assert not checks["absorber_right.positive.profile_relative_error"].passed + + +def test_shared_partner_moves_with_exact_physical_frozen_target_and_full_cross_gradient(): + device = compile_multiple_ionic_device_1d(prepare_mixed_immobile_device(), + intervals_per_layer=INTERVALS, ion_domains=DOMAINS) + original = MultipleIonic1DProblem(device, 0.002, 0.0) + constrained = ConstrainedMultipleIonic1DProblem(original, 3) + y = device.initial_state(voltage_V=0.002).u.copy() + domain = device.domains[1] + plus, minus = device.ion_species_slices["absorber_right"].values() + capacity = domain.positive_ion_site_limit_m3 + positive = domain.positive_ion_reference_m3 * 1.1 + negative = domain.negative_ion_reference_m3 + vacancy = 1.0 - (positive + negative) / capacity + y[plus] = np.log(positive / capacity) - np.log(vacancy) - domain.positive_ion_logit_reference + y[minus] = np.log(negative / capacity) - np.log(vacancy) - domain.negative_ion_logit_reference + values = device.fields_by_domain(y, voltage_V=0.002)[3]["absorber_right"] + np.testing.assert_allclose(values[1], negative, rtol=4 * np.finfo(float).eps, atol=0.0) + assert np.any(y[minus] != 0.0) and np.any(y[plus] != 0.0) + assert constrained.jacobian(y)[minus, plus].nnz == domain.ion_node_count + np.testing.assert_array_equal(original.residual(y)[minus], np.zeros(domain.ion_node_count)) + wrong = y.copy() + wrong[minus] = 0.0 + assert np.max(abs(constrained.residual(wrong)[minus])) > 1e5 + fixed = constrained.residual(y)[minus] + assert np.max(abs(fixed) / (domain.ion_geometry.cell_measures_m * negative)) < 1e-12 + + +@pytest.mark.parametrize("kind", ["positive", "independent", "shared"]) +def test_mixed_full_directional_and_local_profile_scaling(kind): + device, options, original = case(kind, right_immobile=True) + problem = ConstrainedMultipleIonic1DProblem(original, 3) + y = device.initial_state(voltage_V=0.002).u.copy() + y[3 * device.node_count:] = np.linspace(-0.05, 0.07, device.state_size - 3 * device.node_count) + rng = np.random.default_rng(9908) + direction = rng.uniform(-0.1, 0.1, y.size) + direction[:device.node_count] *= device.electronic_component.thermal_voltage_V + J = problem.jacobian(y) + # The D0 row's weak directional component otherwise loses precision + # when differencing physical populations. The error criterion is unchanged. + h = 1e-4 + finite = (problem.residual(y + h * direction) - problem.residual(y - h * direction)) / (2 * h) + error = float(np.max(abs(finite - J @ direction) / np.maximum(abs(J) @ abs(direction), np.finfo(float).tiny))) + print(f"two-domain mixed {kind}: directional error {error:.9g}") + assert error < 2e-7 + settings = _settings(problem, options) + domain = device.domains[1] + for species, block in device.ion_species_slices["absorber_right"].items(): + np.testing.assert_array_equal(settings.scaling.row_weights[block], + 1 / (options.inventory_relative_tolerance * domain.ion_geometry.cell_measures_m + * getattr(domain, species + "_ion_reference_m3"))) + + +def test_actual_mixed_shared_immobile_regression(tmp_path): + from examples.research_1d.multiple_ionic_steady import run_case + output = Path(os.environ.get("SOLARLAB_MULTIPLE_D0_EVIDENCE", str(tmp_path / "MixedSteady.json"))) + result = run_case(output, mixed_immobile=True) + assert result.accepted, (result.termination, result.error) + assert result.state is not None and result.diagnostics is not None and not result.qualification + negative = result.diagnostics["domains"]["absorber_right"]["species"]["negative"] + assert negative["profile_relative_error"] <= 1e-12 + np.testing.assert_array_equal(negative["ion_balance_m2_s"], np.zeros(4)) + np.testing.assert_array_equal(negative["ion_flux_m2_s"], np.zeros(5)) + assert all(check.passed for check in result.checks) + right = result.diagnostics["domains"]["absorber_right"]["species"]["positive"] + assert right["maximum_relative_change_from_reference"] > 0.0 + assert len(result.solver_controls["profile_constraint_rows"]["absorber_right"]["negative"]) == 4 + + +def test_original_equilibrium_gate_names_and_unbound_state_refusal(): + device, options, _ = case() + y = device.initial_state(voltage_V=0.0).u + original = MultipleIonic1DProblem(device, voltage_V=0.0, generation_scale=0.0) + names = {check.name for check in multiple_ionic_checks(ConstrainedMultipleIonic1DProblem(original, 3), y, options)} + assert {"poisson_balance", "continuity_current_bound", "all_face_current_spread", + "zero_equilibrium_carrier_current", "contact_thermodynamics", "fixed_contact_log_max"} <= names + wrong = replace(device.initial_state(voltage_V=0.002), device_sha256="unbound") + with pytest.raises(ValueError): + solve_multiple_ionic_steady_state(device, voltage_V=0.002, generation_scale=0.0, options=options, initial_state=wrong) + + +def test_actual_cold_two_domain_regression(tmp_path): + """Run once locally; its saved raw JSON also serves read-only final checks.""" + from examples.research_1d.multiple_ionic_steady import run_case + output = Path(os.environ.get("SOLARLAB_MULTIPLE_STEADY_EVIDENCE", str(tmp_path / "Steady.json"))) + result = run_case(output) + assert result.accepted, (result.termination, result.error) + assert result.newton is not None and result.newton.accepted and all(check.passed for check in result.checks) + assert not result.qualification + data = result.diagnostics + assert data is not None and result.state is not None + assert set(data["domains"]) == {"absorber_left", "absorber_right"} + for name, record in data["domains"].items(): + species = record["species"]["positive"] + assert species["inventory_relative_error"] <= 1e-12 + assert species["ion_balance_l1_m2_s"] <= 1e6 and species["ion_flux_max_m2_s"] <= 1e6 + assert abs(species["dropped_balance_m2_s"]) <= 1e6 + assert species["minimum_density_m3"] > 0.0 and species["maximum_site_fraction"] < 1.0 + assert result.state.domain_inventories_m2[name]["positive"] > 0.0 + device, _, original = case() + J = original.jacobian(result.state.u) + for block in device.domain_slices.values(): + assert J[:device.node_count, block].nnz > 0 and J[block, :device.node_count].nnz > 0 + assert data["carrier_balance_A_m2"] <= 1e-8 and data["current_spread_A_m2"] <= 1e-8 + np.testing.assert_array_equal(data["ionic_current_density_A_m2"][[0, 1, 2, 6, 7, 11, 12, 13]], np.zeros(8)) diff --git a/tests/integration/test_multiple_ionic_transient_1d.py b/tests/integration/test_multiple_ionic_transient_1d.py new file mode 100644 index 00000000..844527c5 --- /dev/null +++ b/tests/integration/test_multiple_ionic_transient_1d.py @@ -0,0 +1,252 @@ +"""Native time rows, reference-aware storage, Maxwell identity and saved prefix.""" + +from __future__ import annotations + +from dataclasses import replace +from collections.abc import Iterator +import gzip +import hashlib +import json +import os +from pathlib import Path +import subprocess +import sys + +import numpy as np +import pytest +from threadpoolctl import threadpool_limits + +from examples.research_1d.multiple_ionic_domains import DOMAINS, INTERVALS, prepare_multiple_ionic_device +from examples.research_1d.multiple_ionic_steady import prepare_mixed_immobile_device +from examples.research_1d.ionic_steady import controls as steady_controls +from solarlab.device.compile_multiple_ionic_1d import CompiledMultipleIonicDevice1D, compile_multiple_ionic_device_1d +from solarlab.equations.multiple_ionic_1d import MultipleIonic1DProblem +from solarlab.experiments.multiple_ionic_transient import load_multiple_ionic_steady_initial, read_multiple_ionic_transient +from solarlab.experiments.transient_results import _decode, _encode +from solarlab.solvers.time.backward_euler import storage_mask +from solarlab.solvers.time.ionic_backward_euler import IonicBackwardEuler1DStep +from solarlab.equations.ionic_1d import Ionic1DProblem +from solarlab.solvers.time.multiple_ionic_backward_euler import MultipleIonicBackwardEuler1DStep, multiple_ionic_step_accounting +from solarlab.solvers.nonlinear.multiple_ionic_1d import solve_multiple_ionic_steady_state + +STEADY_SHA = "858ef2f39be16018049d49cfe171d3f79f03891c1259b0eff7701945a78ef7f3" +STEADY_PATH = Path("/Users/bytedance/Library/Mobile Documents/com~apple~CloudDocs/projects/solarlab/test/ArchitectureRefactor/Stage04/P04CoreV1/Core1D/MultipleIonDomainsV1/Solvers/Steady.json") +D0_SHA = "52fbe8cad99b739698459daaf428cba17acf5a8a70ea19de8a4fd9c4852651aa" +D0_FIXTURE = Path(__file__).with_name("fixtures") / "multiple_ionic_d0_steady.json.gz" + + +@pytest.fixture(scope="module") +def d0_path(tmp_path_factory: pytest.TempPathFactory) -> Path: + """Materialize the exact reviewed initial state without a new steady solve.""" + payload = gzip.decompress(D0_FIXTURE.read_bytes()) + assert hashlib.sha256(payload).hexdigest() == D0_SHA + path = tmp_path_factory.mktemp("multiple-ionic-d0") / "MixedSteady.json" + path.write_bytes(payload) + return path + + +@pytest.fixture(scope="module") +def current_d0_initial(d0_path: Path, tmp_path_factory: pytest.TempPathFactory) -> tuple[Path, str]: + """Validate one current-source initial from historical coordinates as a seed. + + Configuration source IDs include the checkout path. The archived accepted + result is kept intact; it cannot be relabelled as a current-platform result. + """ + original = _decode(json.loads(d0_path.read_text()))["result"] + device = compile_multiple_ionic_device_1d(prepare_mixed_immobile_device(), + intervals_per_layer=INTERVALS, ion_domains=DOMAINS) + voltage = original["state"]["electronic_state"]["voltage_V"] + seed = device.state(original["state"]["u"], voltage_V=voltage) + result = solve_multiple_ionic_steady_state(device, voltage_V=voltage, generation_scale=0.0, + options=steady_controls(4), initial_state=seed) + assert result.accepted, (result.termination, result.error, result.checks) + path = tmp_path_factory.mktemp("current-multiple-ionic-d0") / "Steady.json" + document = {"schema": "solarlab.multiple_ionic_steady.v1", "result": result, + "seed_provenance": {"archived_sha256": D0_SHA, "use": "unverified_coordinates_only"}, + "qualification": False} + path.write_text(json.dumps(_encode(document), indent=2, allow_nan=False) + "\n") + return path, hashlib.sha256(path.read_bytes()).hexdigest() + + +@pytest.fixture(scope="module", autouse=True) +def blas1() -> Iterator[None]: + with threadpool_limits(limits=1): + yield + + +def case(kind: str = "positive") -> tuple[CompiledMultipleIonicDevice1D, MultipleIonicBackwardEuler1DStep, np.ndarray]: + device = compile_multiple_ionic_device_1d(prepare_multiple_ionic_device(kind=kind), + intervals_per_layer=INTERVALS, ion_domains=DOMAINS) + old = device.initial_state(voltage_V=0.002).u.copy() + old[3 * device.node_count:] = np.linspace(-0.12, 0.13, device.state_size - 3 * device.node_count) + previous = device.state(old, voltage_V=0.002) + endpoint = MultipleIonic1DProblem(device, voltage_V=0.003, generation_scale=0.0) + step = MultipleIonicBackwardEuler1DStep(endpoint, previous, 0.25) + y = step.initial_coordinates() + y[3 * device.node_count:] += np.linspace(-0.01, 0.02, device.state_size - 3 * device.node_count) + return device, step, y + + +@pytest.mark.parametrize("kind", ["positive", "independent", "shared"]) +def test_every_native_domain_time_row_matches_existing_physical_secant(kind: str) -> None: + device, step, y = case(kind) + actual = step.residual(y) + for domain, previous in zip(device.domains, step.previous.domain_component_states): + local = IonicBackwardEuler1DStep(Ionic1DProblem(domain, 0.003, 0.0), previous, step.dt_s) + expected = local.residual(device.local_coordinates(y, domain.domain_layer_id)) + np.testing.assert_array_equal(actual[device.domain_slices[domain.domain_layer_id]], expected[3 * device.node_count:]) + mask = storage_mask(device.electronic_component) + carrier = step.electronic_step.residual(y[:3 * device.node_count])[device.node_count:].reshape(2, device.node_count) + np.testing.assert_array_equal(actual[device.node_count:3 * device.node_count].reshape(2, device.node_count), carrier) + assert np.count_nonzero(~mask) == 4 + + +@pytest.mark.parametrize("kind", ["positive", "independent", "shared"]) +def test_full_BE_jacobian_with_nonzero_old_coordinates_and_changed_voltage(kind: str) -> None: + device, step, y = case(kind) + rng = np.random.default_rng(81459) + direction = rng.uniform(-0.1, 0.1, device.state_size) + direction[:device.node_count] *= device.electronic_component.thermal_voltage_V + J = step.jacobian(y) + h = 1e-5 + finite = (step.residual(y + h * direction) - step.residual(y - h * direction)) / (2 * h) + error = float(np.max(abs(finite - J @ direction) / np.maximum(abs(J) @ abs(direction), np.finfo(float).tiny))) + print(f"native two-domain BE {kind}: directional error {error:.9g}") + assert error < 2e-7 + np.testing.assert_array_equal(J.toarray(), + (step.endpoint.jacobian(y) + step.endpoint.storage_jacobian(y) / step.dt_s).toarray()) + + +@pytest.mark.parametrize("kind", ["positive", "shared"]) +def test_harmonic_seed_preserves_populations_and_maxwell_charge_accounting(kind: str) -> None: + device, step, y = case(kind) + seed = step.initial_coordinates() + current = device.state(seed, voltage_V=step.endpoint.voltage_V) + for before, after in zip(step.previous.domain_component_states, current.domain_component_states): + np.testing.assert_array_equal(before.positive_ion_density_m3, after.positive_ion_density_m3) + np.testing.assert_array_equal(before.negative_ion_density_m3, after.negative_ion_density_m3) + for name in ("electron_density_m3", "hole_density_m3"): + np.testing.assert_allclose(getattr(current.electronic_state, name), + getattr(step.previous.electronic_state, name), rtol=2e-14, atol=0.0) + data = multiple_ionic_step_accounting(step, y) + scale = max(1.0, float(np.max(abs(data["total_current_density_A_m2"])))) + assert np.max(abs(data["maxwell_identity_error_A_m2"])) / scale < 1e-12 + assert np.max(abs(data["readback_maxwell_identity_error_A_m2"])) / scale < 1e-12 + np.testing.assert_array_equal(data["total_current_density_A_m2"], + data["conduction_current_density_A_m2"] + data["displacement_current_density_A_m2"]) + np.testing.assert_array_equal(data["ionic_conduction_current_A_m2"][[0, 1, 2, 6, 7, 11, 12, 13]], np.zeros(8)) + for record in data["domains"].values(): + for values in record["species"].values(): + np.testing.assert_array_equal(values["native_BE_rows_m2_s"], values["balance_m2_s"]) + assert abs(values["inventory_balance_identity_error_m2_s"]) <= values["inventory_balance_roundoff_bound_m2_s"] + + +def test_step_rejects_wrong_identity_bad_dt_and_shape() -> None: + device, step, y = case() + for dt in (True, 0.0, -1.0, float("inf")): + with pytest.raises(ValueError): + MultipleIonicBackwardEuler1DStep(step.endpoint, step.previous, dt) + with pytest.raises(ValueError): + MultipleIonicBackwardEuler1DStep(step.endpoint, replace(step.previous, device_sha256="wrong"), 0.25) + with pytest.raises(ValueError): + step.residual(np.r_[y, 0.0]) + + +def test_solver_free_saved_reader_preserves_failed_prefix(tmp_path: Path, monkeypatch: pytest.MonkeyPatch) -> None: + device, step, _ = case() + state = step.previous + requested = np.asarray([0.0, 0.25, 0.5]) + document = {"schema": "solarlab.multiple_ionic_transient.v1", "completed": False, "result": { + "protocol": {"times_s": requested}, "accepted_times_s": requested[:1], "states": (state,), + "attempts": ({"start_s": 0.0, "end_s": 0.25, "accepted": False, + "termination": "synthetic_failure", "error": "synthetic saved prefix"},), + "compiled_identity": device.identity, "solver_controls": {"inventory_row_replacement": False}}} + path = tmp_path / "Failed.json" + path.write_text(json.dumps(_encode(document), indent=2) + "\n") + digest = hashlib.sha256(path.read_bytes()).hexdigest() + monkeypatch.setattr("solarlab.experiments.multiple_ionic_transient.solve_newton", + lambda *args, **kwargs: pytest.fail("reader invoked Newton")) + loaded = read_multiple_ionic_transient(path, digest) + assert not loaded["completed"] and len(loaded["result"]["states"]) == 1 + with pytest.raises(ValueError, match="SHA256"): + read_multiple_ionic_transient(path, "wrong") + cli = subprocess.run([sys.executable, "-B", "-m", "examples.research_1d.multiple_ionic_transient", + "read", "--result", str(path), "--sha256", digest], + capture_output=True, text=True, timeout=10) + assert cli.returncode == 2, cli.stderr + output = json.loads(cli.stdout) + assert output["completed"] is False + assert output["first_failed_step"]["end_s"] == 0.25 + assert output["first_failed_step"]["termination"] == "synthetic_failure" + + +def test_actual_four_step_history_and_reuse_saved_reader(tmp_path: Path, monkeypatch: pytest.MonkeyPatch) -> None: + """One real regression from supplied saved DC evidence; never a cold solve.""" + from examples.research_1d.multiple_ionic_transient import run_case + if not os.environ.get("PYTEST_MULTIPLE_TRANSIENT_INITIAL"): + pytest.skip("requires explicit PYTEST_MULTIPLE_TRANSIENT_INITIAL bound to this source; historical absolute paths are not portable") + path = Path(os.environ["PYTEST_MULTIPLE_TRANSIENT_INITIAL"]) + if not path.exists(): + pytest.skip("requires the reviewed saved two-domain DC artifact; no cold substitute") + output = Path(os.environ.get("SOLARLAB_MULTIPLE_TRANSIENT_OUTPUT", str(tmp_path / "History.json"))) + result = run_case(path, STEADY_SHA, output) + assert result.completed, [(a.termination, a.error) for a in result.failed_attempts] + assert len(result.states) == 5 and len(result.attempts) == 4 + np.testing.assert_array_equal(result.accepted_times_s, [0.0, 0.25, 0.5, 0.75, 1.0]) + for attempt in result.attempts: + assert attempt.accepted and attempt.newton is not None and all(check.passed for check in attempt.checks) + assert attempt.accounting is not None + for domain in attempt.accounting["domains"].values(): + for values in domain["species"].values(): + assert values["balance_l1_m2_s"] <= 1e6 + digest = hashlib.sha256(output.read_bytes()).hexdigest() + monkeypatch.setattr("solarlab.experiments.multiple_ionic_transient.solve_newton", + lambda *args, **kwargs: pytest.fail("saved read reran the history")) + assert read_multiple_ionic_transient(output, digest)["completed"] + + +def test_D0_bound_initial_and_full_native_shared_mass(tmp_path: Path, current_d0_initial: tuple[Path, str]) -> None: + d0_path, d0_sha = current_d0_initial + device = compile_multiple_ionic_device_1d(prepare_mixed_immobile_device(), + intervals_per_layer=INTERVALS, ion_domains=DOMAINS) + initial = load_multiple_ionic_steady_initial(device, d0_path, d0_sha, controls=steady_controls(4)) + step = MultipleIonicBackwardEuler1DStep(MultipleIonic1DProblem(device, 0.0025, 0.0), initial.state, 0.25) + y = step.initial_coordinates() + domain = device.domains[1] + plus, minus = device.ion_species_slices["absorber_right"].values() + previous = initial.state.domain_component_states[1] + positive = previous.positive_ion_density_m3 * 1.0001 + negative = previous.negative_ion_density_m3 + capacity = domain.positive_ion_site_limit_m3 + vacancy = 1.0 - (positive + negative) / capacity + y[plus] = np.log(positive / capacity) - np.log(vacancy) - domain.positive_ion_logit_reference + y[minus] = np.log(negative / capacity) - np.log(vacancy) - domain.negative_ion_logit_reference + assert np.any(y[minus] != initial.state.u[minus]) + np.testing.assert_allclose(device.state(y, voltage_V=0.0025).domain_component_states[1].negative_ion_density_m3, + negative, rtol=2e-15, atol=0.0) + assert step.endpoint.storage_jacobian(y)[minus, plus].nnz == 4 + assert np.max(abs(step.residual(y)[minus])) < 1e6 + raw = _decode(json.loads(d0_path.read_text())) + raw["result"]["solver_controls"]["immobile_profile_binding"]["absorber_right"]["species"]["negative"]["target_density_m3"][0] *= 1.1 + bad = tmp_path / "WrongBinding.json" + bad.write_text(json.dumps(_encode(raw), indent=2) + "\n") + with pytest.raises(ValueError, match="D0 profile binding"): + load_multiple_ionic_steady_initial(device, bad, hashlib.sha256(bad.read_bytes()).hexdigest(), + controls=steady_controls(4)) + + +def test_actual_D0_four_step_history(tmp_path: Path, current_d0_initial: tuple[Path, str]) -> None: + from examples.research_1d.multiple_ionic_transient import run_case + d0_path, d0_sha = current_d0_initial + output = Path(os.environ.get("SOLARLAB_MULTIPLE_D0_TIME_OUTPUT", str(tmp_path / "D0History.json"))) + result = run_case(d0_path, d0_sha, output, mixed_immobile=True) + assert result.completed, [(a.termination, a.error) for a in result.failed_attempts] + assert len(result.states) == 5 and len(result.attempts) == 4 + for attempt in result.attempts: + assert attempt.accounting is not None and attempt.accepted + data = attempt.accounting["domains"]["absorber_right"]["species"]["negative"] + np.testing.assert_array_equal(data["domain_flux_m2_s"], np.zeros(5)) + assert data["immobile_profile"]["profile_relative_error"] <= 1e-12 + assert data["balance_l1_m2_s"] <= 1e6 + assert all(check.passed for check in attempt.checks) + assert read_multiple_ionic_transient(output, hashlib.sha256(output.read_bytes()).hexdigest())["completed"] diff --git a/tests/integration/test_neutral_defect_energy_reference_1d.py b/tests/integration/test_neutral_defect_energy_reference_1d.py new file mode 100644 index 00000000..eeb95fa9 --- /dev/null +++ b/tests/integration/test_neutral_defect_energy_reference_1d.py @@ -0,0 +1,280 @@ +"""Independent band-edge/occupancy oracle for literal neutral defect energies.""" + +from __future__ import annotations + +from decimal import Decimal, localcontext +from dataclasses import replace +import hashlib +import json +import math +import os +from pathlib import Path + +import numpy as np +import pytest + +from examples.research_1d import neutral_defects as example +from examples.research_1d.steady import load_device +from solarlab.config.resolve_device import resolve_device +from solarlab.device.compile_1d import compile_device_1d +from solarlab.device.inputs import DeviceInput +from solarlab.device.neutral_defects import LITERAL_ABOVE_VB_DOS_REFERENCE_V1, bind_neutral_defects +from solarlab.equations.dc_1d import CapabilityError, CompiledDevice1D, DC1DProblem +from solarlab.materials.source import SourceDocument +from solarlab.physics.recombination.explicit_neutral import ( + NeutralDefectSpecies, NeutralExplicitDefectModel, compile_neutral_defect_species, + evaluate_neutral_explicit_defects, +) +from solarlab.physics.recombination.reaction import BulkRecombinationReaction + + +def band_edge_oracle( + nc: float, nv: float, gap: float, center: float, thermal: float, + n: float = 1e13, p: float = 2e12, +) -> dict[str, float]: + """80-digit Boltzmann band edges and stationary capture/emission balance. + + This does not use the DEF1 intrinsic-level formula or lifetime quotient. + The neutral convention changes recombination, never the Poisson charge. + """ + with localcontext() as context: + context.prec = 80 + nc_d, nv_d, gap_d, center_d, thermal_d, n_d, p_d = ( + Decimal.from_float(float(value)) for value in (nc, nv, gap, center, thermal, n, p) + ) + n1 = nc_d * ((center_d - gap_d) / thermal_d).exp() + p1 = nv_d * (-center_d / thermal_d).exp() + ni_sq = nc_d * nv_d * (-gap_d / thermal_d).exp() + cn, cp, density = Decimal("1e-14"), Decimal("2e-14"), Decimal("1e20") + denominator = cn * (n_d + n1) + cp * (p_d + p1) + occupied = (cn * n_d + cp * p1) / denominator + d_occupied_dn = cn * (1 - occupied) / denominator + d_occupied_dp = -cp * occupied / denominator + rate_n = density * cn * (n_d * (1 - occupied) - n1 * occupied) + rate_p = density * cp * (p_d * occupied - p1 * (1 - occupied)) + d_rate_dn = density * cn * (1 - occupied - (n_d + n1) * d_occupied_dn) + d_rate_dp = -density * cn * (n_d + n1) * d_occupied_dp + return {name: float(value) for name, value in ( + ("n1", n1), ("p1", p1), ("ni_sq", ni_sq), ("rate_n", rate_n), + ("rate_p", rate_p), ("d_rate_dn", d_rate_dn), ("d_rate_dp", d_rate_dp), + )} + + +def intrinsic_reference_species(nc: float, nv: float, center: float, *, thermal: float = .026) -> NeutralDefectSpecies: + gap = 1.6 + oracle = band_edge_oracle(nc, nv, gap, center, thermal) + # Ei-Ev = Eg/2 + VT/2*ln(Nv/Nc). The legacy argument is measured + # from its midgap reference, so map the energy without changing the law. + mapped = center if nc == nv else center + .5 * thermal * np.log(nc / nv) + return compile_neutral_defect_species( + identifier="absorber/neutral_1", document_sha256="a" * 64, + active_nodes=np.array([False, True, True, False]), + ni_sq_m6=np.full(4, oracle["ni_sq"]), band_gap_eV=np.full(4, gap), + thermal_voltage_V=thermal, total_density_m3=1e20, center_eV_above_vb=float(mapped), + sigma_n_m2=1e-19, sigma_p_m2=2e-19, + thermal_velocity_n_m_s=1e5, thermal_velocity_p_m_s=1e5, + charge_transition="neutral", distribution="single_level", degeneracy=1.0, + ) + + +@pytest.mark.parametrize("nc,nv,center,thermal", [ + (2e25, 8e25, .75, .026), (8e25, 2e25, .75, .026), + (2e25, 8e25, 0.0, .026), (8e25, 2e25, 1.6, .026), + (2e25, 8e25, .75, .030), (2e25, 2e25, .75, .026), +]) +def test_exact_intrinsic_reference_mapping_against_band_edges( + nc: float, nv: float, center: float, thermal: float, +) -> None: + reference = band_edge_oracle(nc, nv, 1.6, center, thermal) + species = intrinsic_reference_species(nc, nv, center, thermal=thermal) + mask = species.active_nodes + np.testing.assert_allclose(species.n1_m3[mask], reference["n1"], rtol=3e-14) + np.testing.assert_allclose(species.p1_m3[mask], reference["p1"], rtol=3e-14) + np.testing.assert_allclose(species.n1_m3[mask] * species.p1_m3[mask], reference["ni_sq"], rtol=5e-16) + np.testing.assert_array_equal(species.n1_m3[~mask], 0.0) + np.testing.assert_array_equal(species.p1_m3[~mask], 0.0) + + +@pytest.mark.parametrize("nc,nv", [(2e25, 8e25), (8e25, 2e25)]) +def test_unchanged_srh_partials_match_stationary_capture_emission(nc: float, nv: float) -> None: + reference = band_edge_oracle(nc, nv, 1.6, .75, .026) + species = intrinsic_reference_species(nc, nv, .75) + model = NeutralExplicitDefectModel((species,), species.active_nodes, + (("absorber", species.document_sha256),)) + result = evaluate_neutral_explicit_defects( + np.full(4, 1e13), np.full(4, 2e12), np.full(4, reference["ni_sq"]), model, + ) + mask = species.active_nodes + assert reference["rate_n"] == reference["rate_p"] + np.testing.assert_allclose(result.total_rate_m3_s[mask], reference["rate_n"], rtol=3e-14) + np.testing.assert_allclose(result.total_d_rate_dn_s1[mask], reference["d_rate_dn"], rtol=3e-14) + np.testing.assert_allclose(result.total_d_rate_dp_s1[mask], reference["d_rate_dp"], rtol=3e-14) + assert result.to_dict()["charge_density_C_m3"] is None + + +def compiled_variant( + *, nc_factor: float = 1.0, nv_factor: float = 2.0, temperature: float = 300.0, + center: float = .75, +) -> CompiledDevice1D: + base = example.prepare_case() + document = base.to_input().editing_data() + parameters = document["layers"][1]["parameters"] + parameters["Nc300"] *= nc_factor + parameters["Nv300"] *= nv_factor + for name in ("ni", "n1", "p1"): + parameters[name] *= math.sqrt(nc_factor * nv_factor) + document["settings"]["T"] = temperature + document["layers"][1]["bulk_defects"][0]["distribution"]["center_eV_above_vb"] = center + raw = json.dumps(document, sort_keys=True, separators=(",", ":"), allow_nan=False).encode() + prepared = resolve_device(DeviceInput.model_validate(document), base.defaults, base.resources, + sources=(*base.sources, SourceDocument("neutral_DOS_test", raw))) + return compile_device_1d(prepared, intervals_per_layer=example.INTERVALS) + + +@pytest.mark.parametrize("nc_factor,nv_factor,temperature,center", [ + (1.0, 2.0, 300.0, .75), (2.0, 1.0, 330.0, .75), + (1.0, 4.0, 300.0, 0.0), (4.0, 1.0, 300.0, 1.6), +]) +def test_actual_binding_and_partials_follow_physical_band_edge_oracle( + nc_factor: float, nv_factor: float, temperature: float, center: float, +) -> None: + device = compiled_variant(nc_factor=nc_factor, nv_factor=nv_factor, + temperature=temperature, center=center) + model = device.recombination.explicit_defects + assert model is not None + species = model.species[0] + mask = model.owned_nodes + node = int(np.flatnonzero(mask)[0]) + parameters = device.parameters + oracle = band_edge_oracle(float(parameters.conduction_dos_m3[node]), float(parameters.valence_dos_m3[node]), + float(parameters.band_structure.physical_band_gap_eV[node]), center, device.thermal_voltage_V) + np.testing.assert_allclose(species.n1_m3[mask], oracle["n1"], rtol=3e-14) + np.testing.assert_allclose(species.p1_m3[mask], oracle["p1"], rtol=3e-14) + np.testing.assert_allclose(species.n1_m3[mask] * species.p1_m3[mask], + parameters.intrinsic_product_m6[mask], rtol=1e-15) + np.testing.assert_array_equal(species.n1_m3[~mask], 0.0) + np.testing.assert_array_equal(species.p1_m3[~mask], 0.0) + explicit = device.recombination.evaluate(np.full(device.node_count, 1e13), np.full(device.node_count, 2e12)).explicit + assert explicit is not None + np.testing.assert_allclose(explicit.total_rate_m3_s[mask], oracle["rate_n"], rtol=3e-14) + np.testing.assert_allclose(explicit.total_d_rate_dn_s1[mask], oracle["d_rate_dn"], rtol=3e-14) + np.testing.assert_allclose(explicit.total_d_rate_dp_s1[mask], oracle["d_rate_dp"], rtol=3e-14) + + +def test_dos_ratio_changes_binding_identity_without_rewriting_defect_document() -> None: + symmetric = compiled_variant(nc_factor=1.0, nv_factor=1.0) + asymmetric = compiled_variant(nc_factor=2.0, nv_factor=.5) + before, after = symmetric.recombination.explicit_defects, asymmetric.recombination.explicit_defects + assert before is not None and after is not None + assert before.layer_document_sha256 == after.layer_document_sha256 + assert before.identity_sha256 == after.identity_sha256 + assert symmetric.identity != asymmetric.identity + np.testing.assert_array_equal(symmetric.parameters.intrinsic_product_m6, asymmetric.parameters.intrinsic_product_m6) + np.testing.assert_allclose(after.species[0].n1_m3, 2.0 * before.species[0].n1_m3, rtol=1e-15) + np.testing.assert_allclose(after.species[0].p1_m3, .5 * before.species[0].p1_m3, rtol=1e-15) + + +def test_nodewise_reference_map_preserves_equal_entries_and_unowned_zeros() -> None: + prepared = example.prepare_case() + device = compile_device_1d(prepared, intervals_per_layer=example.INTERVALS) + original = device.recombination.explicit_defects + assert original is not None + mask = original.owned_nodes + factor = np.ones(device.node_count) + factor[mask] = np.linspace(1.0, 2.0, int(mask.sum())) + nc = device.parameters.conduction_dos_m3 * factor + nv = device.parameters.valence_dos_m3 / factor + masks = (np.zeros_like(mask), mask, np.zeros_like(mask)) + converted = bind_neutral_defects(prepared.layers, masks, + ni_sq_m6=device.parameters.intrinsic_product_m6, + band_gap_eV=device.parameters.band_structure.physical_band_gap_eV, + thermal_voltage_V=device.thermal_voltage_V, conduction_dos_m3=nc, valence_dos_m3=nv) + assert converted is not None + expected_n1 = original.species[0].n1_m3 * factor + expected_p1 = original.species[0].p1_m3 / factor + np.testing.assert_allclose(converted.species[0].n1_m3, expected_n1, rtol=1e-15) + np.testing.assert_allclose(converted.species[0].p1_m3, expected_p1, rtol=1e-15) + unchanged = ~mask | (factor == 1.0) + np.testing.assert_array_equal(converted.species[0].n1_m3[unchanged], original.species[0].n1_m3[unchanged]) + np.testing.assert_array_equal(converted.species[0].p1_m3[unchanged], original.species[0].p1_m3[unchanged]) + + +@pytest.mark.parametrize("invalid", [0.0, -1.0, float("nan"), float("inf")]) +def test_invalid_owned_physical_dos_still_refused(invalid: float) -> None: + prepared = example.prepare_case() + device = compile_device_1d(prepared, intervals_per_layer=example.INTERVALS) + model = device.recombination.explicit_defects + assert model is not None + nc = np.array(device.parameters.conduction_dos_m3, copy=True) + nc[model.owned_nodes] = invalid + masks = (np.zeros_like(model.owned_nodes), model.owned_nodes, np.zeros_like(model.owned_nodes)) + with pytest.raises(CapabilityError, match="finite positive physical DOS"): + bind_neutral_defects(prepared.layers, masks, ni_sq_m6=device.parameters.intrinsic_product_m6, + band_gap_eV=device.parameters.band_structure.physical_band_gap_eV, + thermal_voltage_V=device.thermal_voltage_V, conduction_dos_m3=nc, + valence_dos_m3=device.parameters.valence_dos_m3) + + +def test_full_unequal_dos_dc_jacobian_and_neutral_poisson() -> None: + device = compiled_variant() + count = device.node_count + u = np.r_[device.reference_potential_V, np.full(count, .11), np.full(count, -.07)] + problem = DC1DProblem(device) + lifetime = DC1DProblem(replace(device, recombination=BulkRecombinationReaction(device.recombination.coefficients))) + np.testing.assert_array_equal(problem.residual(u)[:count], lifetime.residual(u)[:count]) + matrix = problem.jacobian(u) + np.testing.assert_array_equal(matrix.toarray()[:count], lifetime.jacobian(u).toarray()[:count]) + rng = np.random.default_rng(531) + direction = np.r_[.02 * rng.normal(size=count), rng.normal(size=2 * count)] + step = 1e-5 + numerical = (problem.residual(u + step * direction) - problem.residual(u - step * direction)) / (2.0 * step) + scale = np.maximum(abs(matrix) @ abs(direction), 1e-20) + assert np.max(abs(numerical - matrix @ direction) / scale) < 2e-8 + + +def test_pre_edit_symmetric_and_no_defect_identity_and_algebra_are_bitwise() -> None: + location = os.environ.get("SOLARLAB_NEUTRAL_DOS_BASELINE") + if location is None: + pytest.skip("explicitly supply the immutable pre-edit algebra baseline") + return + directory = Path(location) + metadata = json.loads((directory / "Baseline.json").read_text()) + arrays = np.load(directory / "BeforeBinding.npz") + for name, prepared in (("symmetric", example.prepare_case()), ("no_defect", load_device())): + device = compile_device_1d(prepared, intervals_per_layer=example.INTERVALS) + assert device.identity == metadata["branches"][name]["compiled_identity"] + assert prepared.content_sha256 == metadata["branches"][name]["prepared_identity"] + problem = DC1DProblem(device) + u = arrays[name + "_u"] + for key, value in (("residual", problem.residual(u)), ("jacobian", problem.jacobian(u).toarray()), + ("current", problem.current_density(u)), ("contacts", problem.contact_current_density(u))): + np.testing.assert_array_equal(value, arrays[name + "_" + key]) + if name == "symmetric": + model = device.recombination.explicit_defects + assert model is not None and model.identity_sha256 == metadata["branches"][name]["model_identity"] + np.testing.assert_array_equal(model.species[0].n1_m3, arrays["symmetric_n1"]) + np.testing.assert_array_equal(model.species[0].p1_m3, arrays["symmetric_p1"]) + + +def test_saved_unequal_dos_steady_without_resimulation() -> None: + location = os.environ.get("SOLARLAB_NEUTRAL_UNEQUAL_DOS_RESULT") + if location is None: + pytest.skip("read the one explicitly supplied native result; never solve here") + return + raw = Path(location).read_bytes() + assert hashlib.sha256(raw).hexdigest() == os.environ["SOLARLAB_NEUTRAL_UNEQUAL_DOS_RESULT_SHA256"] + record = json.loads(raw) + summary = record["summary"] + assert summary["accepted"] and summary["unequal_dos_owned_node_count"] == 12 + assert summary["defect_reference_binding"] == LITERAL_ABOVE_VB_DOS_REFERENCE_V1 + assert summary["maximum_explicit_rate_m3_s"] > 0.0 + assert summary["trap_charge_density_C_m3"] is None + assert summary["current_spread_A_m2"] < 1e-8 + assert all(gate["passed"] for gate in record["result"]["newton"]["gates"]) + physical = record["physical_reference_inputs"] + bound = record["binding"]["species"][0] + mask = np.asarray(bound["active_nodes"]) + nc, nv, gap = (np.asarray(physical[key]) for key in ("conduction_dos_m3", "valence_dos_m3", "band_gap_eV")) + np.testing.assert_allclose(np.asarray(bound["n1_m3"])[mask], nc[mask] * np.exp((.75 - gap[mask]) / physical["thermal_voltage_V"]), rtol=3e-14) + np.testing.assert_allclose(np.asarray(bound["p1_m3"])[mask], nv[mask] * np.exp(-.75 / physical["thermal_voltage_V"]), rtol=3e-14) + assert summary["physical_certificate_status"] == "not_evaluated" and not summary["qualification"] diff --git a/tests/integration/test_neutral_defects_1d.py b/tests/integration/test_neutral_defects_1d.py new file mode 100644 index 00000000..5309a75a --- /dev/null +++ b/tests/integration/test_neutral_defects_1d.py @@ -0,0 +1,305 @@ +"""Actual compiler/equation binding; native witness is read, never rerun.""" + +from __future__ import annotations + +from copy import deepcopy +from dataclasses import replace +import hashlib +import json +import os +from pathlib import Path +import sys +from typing import Any + +import numpy as np +import pytest + +from examples.research_1d import neutral_defects as example +from examples.research_1d.steady import load_device +from solarlab.config.resolve_device import resolve_device +from solarlab.device.compile_1d import compile_device_1d +from solarlab.device.inputs import DeviceInput +from solarlab.device.resolved import PreparedDevice +from solarlab.equations.dc_1d import CapabilityError, CompiledDevice1D, DC1DProblem +from solarlab.materials.source import SourceDocument +from solarlab.mesh import RIGHT_LAYER_WINS +from solarlab.physics.recombination.reaction import BulkRecombinationReaction + + +@pytest.fixture(scope="module") +def prepared() -> PreparedDevice: + return example.prepare_case() + + +@pytest.fixture(scope="module") +def device(prepared: PreparedDevice) -> CompiledDevice1D: + return compile_device_1d(prepared, intervals_per_layer=example.INTERVALS) + + +def edited(prepared: PreparedDevice, document: dict[str, Any]) -> PreparedDevice: + raw = json.dumps(document, sort_keys=True, separators=(",", ":"), allow_nan=False).encode() + source = SourceDocument("neutral_binding_test", raw) + sources = tuple(item for item in prepared.sources if item.id != source.id) + (source,) + return resolve_device(DeviceInput.model_validate(document), prepared.defaults, prepared.resources, sources=sources) + + +def test_owned_nodes_replace_only_srh_and_preserve_prepared_input( + prepared: PreparedDevice, device: CompiledDevice1D, +) -> None: + original = prepared.to_mapping() + again = compile_device_1d(prepared, intervals_per_layer=example.INTERVALS) + assert original == prepared.to_mapping() and device.identity == again.identity + model = device.recombination.explicit_defects + assert model is not None and device.geometry.material_owner_convention == RIGHT_LAYER_WINS + np.testing.assert_array_equal(np.flatnonzero(model.owned_nodes), np.arange(12, 24)) + assert model.owned_nodes[12] and not model.owned_nodes[24] + assert model.species[0].identifier == "absorber/neutral_1" + assert model.layer_document_sha256 == (("absorber", model.species[0].document_sha256),) + assert not model.owned_nodes.flags.writeable + n, p = np.full(37, 1e20), np.full(37, 2e20) + actual = device.recombination.evaluate(n, p) + lifetime = BulkRecombinationReaction(device.recombination.coefficients).evaluate(n, p) + assert actual.explicit is not None + np.testing.assert_array_equal(actual.srh.rate[model.owned_nodes], actual.explicit.total_rate_m3_s[model.owned_nodes]) + np.testing.assert_array_equal(actual.srh.rate[~model.owned_nodes], lifetime.srh.rate[~model.owned_nodes]) + for channel in ("radiative", "auger"): + np.testing.assert_array_equal(getattr(actual, channel).rate, getattr(lifetime, channel).rate) + assert np.any(actual.srh.rate[model.owned_nodes] != lifetime.srh.rate[model.owned_nodes]) + assert np.all(actual.explicit.total_rate_m3_s[~model.owned_nodes] == 0.0) + + +def test_nonzero_rate_exact_partials_and_physical_temperature_binding(prepared: PreparedDevice) -> None: + document = prepared.to_input().editing_data() + document["settings"]["T"] = 330.0 + device = compile_device_1d(edited(prepared, document), intervals_per_layer=example.INTERVALS) + model = device.recombination.explicit_defects + assert model is not None + species = model.species[0] + mask = species.active_nodes + ni_sq = device.parameters.intrinsic_product_m6 + gap = device.parameters.band_structure.physical_band_gap_eV + expected_n1 = np.sqrt(ni_sq[mask]) * np.exp((0.75 - 0.5 * gap[mask]) / device.thermal_voltage_V) + np.testing.assert_array_equal(species.n1_m3[mask], expected_n1) + n, p = np.full(37, 1e20), np.full(37, 2e20) + actual = device.recombination.evaluate(n, p).explicit + assert actual is not None + denominator = species.tau_p_s * (n + species.n1_m3) + species.tau_n_s * (p + species.p1_m3) + numerator = n * p - ni_sq + expected = numerator / denominator + np.testing.assert_allclose(actual.total_rate_m3_s[mask], expected[mask], rtol=2e-15) + np.testing.assert_allclose(actual.total_d_rate_dn_s1[mask], + ((p * denominator - numerator * species.tau_p_s) / denominator**2)[mask], rtol=2e-15) + np.testing.assert_allclose(actual.total_d_rate_dp_s1[mask], + ((n * denominator - numerator * species.tau_n_s) / denominator**2)[mask], rtol=2e-15) + for carrier, derivative in (("n", actual.total_d_rate_dn_s1), ("p", actual.total_d_rate_dp_s1)): + delta = 1e-6 + high = device.recombination.evaluate(n * (1 + delta) if carrier == "n" else n, + p * (1 + delta) if carrier == "p" else p).explicit + low = device.recombination.evaluate(n * (1 - delta) if carrier == "n" else n, + p * (1 - delta) if carrier == "p" else p).explicit + assert high is not None and low is not None + numerical = (high.total_rate_m3_s - low.total_rate_m3_s) / (2 * delta * (n if carrier == "n" else p)) + np.testing.assert_allclose(numerical[mask], derivative[mask], rtol=5e-9) + assert np.min(actual.total_rate_m3_s[mask]) > 0.0 + + +def test_literal_energy_binds_asymmetric_owned_dos_only( + prepared: PreparedDevice, device: CompiledDevice1D, +) -> None: + model = device.recombination.explicit_defects + assert model is not None + nc, nv = device.parameters.conduction_dos_m3, device.parameters.valence_dos_m3 + assert np.all(nc[model.owned_nodes] == nv[model.owned_nodes]) + assert np.any(nc[~model.owned_nodes] != nv[~model.owned_nodes]) + document = prepared.to_input().editing_data() + parameters = document["layers"][1]["parameters"] + parameters["Nv300"] *= 2.0 + # Declare a consistent physical DOS variant; lifetime SRH on other layers + # and the original species document remain unchanged. + for name in ("ni", "n1", "p1"): + parameters[name] *= 2.0**0.5 + changed = compile_device_1d(edited(prepared, document), intervals_per_layer=example.INTERVALS) + actual = changed.recombination.explicit_defects + assert actual is not None and actual.identity_sha256 == model.identity_sha256 + assert changed.identity != device.identity + owned = actual.owned_nodes + gap = changed.parameters.band_structure.physical_band_gap_eV[owned] + expected_n1 = changed.parameters.conduction_dos_m3[owned] * np.exp((.75 - gap) / changed.thermal_voltage_V) + expected_p1 = changed.parameters.valence_dos_m3[owned] * np.exp(-.75 / changed.thermal_voltage_V) + np.testing.assert_allclose(actual.species[0].n1_m3[owned], expected_n1, rtol=3e-14) + np.testing.assert_allclose(actual.species[0].p1_m3[owned], expected_p1, rtol=3e-14) + np.testing.assert_allclose(actual.species[0].n1_m3[owned], model.species[0].n1_m3[owned], rtol=2e-15) + np.testing.assert_allclose(actual.species[0].p1_m3[owned], 2.0 * model.species[0].p1_m3[owned], rtol=2e-15) + + +def test_prepared_conduction_referenced_energy_is_bound_losslessly(prepared: PreparedDevice) -> None: + document = prepared.to_input().editing_data() + defect = document["layers"][1]["bulk_defects"][0] + defect["distribution"]["center_eV_above_vb"] = None + defect["energy_level"] = {"reference": "below_conduction_band", "value_eV": 0.85} + resolved = edited(prepared, document) + assert resolved.layers[1].defects[0].values["distribution"]["center_eV_above_vb"] == 0.75 + reference = compile_device_1d(prepared, intervals_per_layer=example.INTERVALS).recombination.explicit_defects + actual = compile_device_1d(resolved, intervals_per_layer=example.INTERVALS).recombination.explicit_defects + assert reference is not None and actual is not None + np.testing.assert_array_equal(reference.species[0].n1_m3, actual.species[0].n1_m3) + np.testing.assert_array_equal(reference.species[0].p1_m3, actual.species[0].p1_m3) + assert reference.layer_document_sha256 != actual.layer_document_sha256 + + +def test_actual_dc_jacobian_and_poisson_have_no_neutral_trap_charge(device: CompiledDevice1D) -> None: + count = device.node_count + u = np.r_[device.reference_potential_V, np.full(count, 0.11), np.full(count, -0.07)] + problem = DC1DProblem(device, generation_scale=0.0) + lifetime = replace(device, recombination=BulkRecombinationReaction(device.recombination.coefficients)) + other = DC1DProblem(lifetime, generation_scale=0.0) + _, n, p = device.fields(u) + evaluation = device.recombination.evaluate(n, p) + assert evaluation.explicit is not None + assert evaluation.explicit.to_dict()["charge_density_C_m3"] is None + np.testing.assert_array_equal(problem.recombination_rate(n, p).rate, evaluation.total.rate) + np.testing.assert_array_equal(device.charge_ledger(n, p).space_charge_C_m3(), lifetime.charge_ledger(n, p).space_charge_C_m3()) + np.testing.assert_array_equal(problem.residual(u)[:count], other.residual(u)[:count]) + matrix = problem.jacobian(u) + np.testing.assert_array_equal(matrix.toarray()[:count], other.jacobian(u).toarray()[:count]) + assert np.any(problem.residual(u)[count:] != other.residual(u)[count:]) + rng = np.random.default_rng(531) + direction = np.r_[0.02 * rng.normal(size=count), rng.normal(size=2 * count)] + step = 1e-5 + numerical = (problem.residual(u + step * direction) - problem.residual(u - step * direction)) / (2 * step) + scale = np.maximum(abs(matrix) @ abs(direction), 1e-20) + assert np.max(abs(numerical - matrix @ direction) / scale) < 2e-8 + + +@pytest.mark.parametrize("zero_leg", ["n", "p", "both"]) +def test_zero_capture_keeps_ownership_without_lifetime_fallback(prepared: PreparedDevice, zero_leg: str) -> None: + document = prepared.to_input().editing_data() + kinetics = document["layers"][1]["bulk_defects"][0]["kinetics"] + for carrier in (("n", "p") if zero_leg == "both" else (zero_leg,)): + kinetics[f"sigma_{carrier}_m2"] = 0.0 + device = compile_device_1d(edited(prepared, document), intervals_per_layer=example.INTERVALS) + model = device.recombination.explicit_defects + assert model is not None and not model.species[0].cycle_active + value = device.recombination.evaluate(np.full(37, 1e20), np.full(37, 2e20)) + assert value.explicit is not None + np.testing.assert_array_equal(value.srh.rate[model.owned_nodes], 0.0) + np.testing.assert_array_equal(value.explicit.total_d_rate_dn_s1, 0.0) + np.testing.assert_array_equal(value.explicit.total_d_rate_dp_s1, 0.0) + assert np.all(value.total.rate[model.owned_nodes] > 0.0) # Radiative/Auger remain. + + +def test_species_order_stable_ids_and_document_identity(prepared: PreparedDevice) -> None: + document = prepared.to_input().editing_data() + first = document["layers"][1]["bulk_defects"][0] + second = deepcopy(first) + second["id"] = "neutral_2" + second["distribution"]["total_density_m3"] = 2e20 + document["layers"][1]["bulk_defects"] = (first, second) + device = compile_device_1d(edited(prepared, document), intervals_per_layer=example.INTERVALS) + model = device.recombination.explicit_defects + assert model is not None + assert [s.identifier for s in model.species] == ["absorber/neutral_1", "absorber/neutral_2"] + value = device.recombination.evaluate(np.full(37, 1e20), np.full(37, 2e20)).explicit + assert value is not None + np.testing.assert_array_equal(value.total_rate_m3_s, np.sum(value.per_species_rate_m3_s, axis=0)) + document["layers"][1]["bulk_defects"][0]["kinetics"]["sigma_n_m2"] *= 1.1 + changed = compile_device_1d(edited(prepared, document), intervals_per_layer=example.INTERVALS) + assert changed.recombination.explicit_defects is not None + assert model.identity_sha256 != changed.recombination.explicit_defects.identity_sha256 + assert device.identity != changed.identity + provenance = resolve_device(prepared.to_input(), prepared.defaults, prepared.resources, + sources=(*prepared.sources, SourceDocument("independent-source", b"explicit provenance"))) + assert compile_device_1d(provenance, intervals_per_layer=example.INTERVALS).identity != compile_device_1d(prepared, intervals_per_layer=example.INTERVALS).identity + + +@pytest.mark.parametrize("kind", ["charged", "distributed", "spatial", "degeneracy", "interface", "multivalent", "metastable"]) +def test_unsupported_declarations_refuse_before_solver( + prepared: PreparedDevice, kind: str, monkeypatch: pytest.MonkeyPatch, tmp_path: Path, +) -> None: + document = prepared.to_input().editing_data() + layer = document["layers"][1] + defect = layer["bulk_defects"][0] + kinetics = deepcopy(defect["kinetics"]) + if kind == "charged": + defect.update(charge_transition="donor", neutral_reference="filled") + elif kind == "distributed": + layer["defect_schema_version"] = "solarlab-explicit-bulk-defects-v2" + defect["distribution"].update(kind="uniform", width_eV=0.1, + width_convention="uniform_full_width", energy_reference="above_valence_band") + elif kind == "spatial": + layer["defect_schema_version"] = "solarlab-explicit-bulk-defects-v3" + defect["distribution"]["energy_reference"] = "above_valence_band" + defect["spatial_profile"] = {"coordinate": "normalized_layer_coordinate", "interpolation": "piecewise_linear", + "density_normalization": "layer_average_unity", "knots": [ + {"position_fraction": 0.0, "density_multiplier": 1.0}, {"position_fraction": 1.0, "density_multiplier": 1.0}]} + elif kind == "degeneracy": + defect["degeneracy"] = 2.0 + elif kind == "interface": + document["interfaces"] = [{"id": "interface_trap", "left": "htl", "right": "absorber", "defect": { + "id": "surface", "trap_depth_eV": 0.5, "energy_reference": "above_valence_band", + "total_density_m2": 1e15, "kinetics": kinetics, "calibration_factor": 1.0, "iface_state_calibration_factor": 1.0}}] + else: + donor = {"family": "single_donor", "charge_states_e": [1, 0], "degeneracy_convention": "unity", + "state_degeneracies": [1.0, 1.0], "energy_levels": {"first_transition_eV_above_vb": 0.75, + "correlation_energies_eV": [], "energy_reference": "above_valence_band"}, "transition_kinetics": [kinetics]} + if kind == "multivalent": + layer["defect_schema_version"] = "solarlab-explicit-bulk-defects-v4" + layer["bulk_defects"] = [{"id": "multi", "name": "Multivalent", "total_density_m3": 1e20, "configuration": donor}] + else: + acceptor = {**deepcopy(donor), "family": "single_acceptor", "charge_states_e": [0, -1]} + layer.pop("defect_model") + layer.pop("defect_schema_version") + layer["bulk_defects"] = [] + layer["metastable_document"] = {"schema_version": "solarlab-metastable-bulk-defects-v1", + "defect_model": "explicit_metastable_frozen", "metastable_defects": [{ + "id": "meta", "name": "Metastable", "total_density_m3": 1e20, + "donor_configuration": donor, "acceptor_configuration": acceptor, + "donor_conversion_state_index": 0, "acceptor_conversion_state_index": 1, + "conversion_kinetics": {"transition_energy_eV_above_vb": 0.8, + "electron_capture_activation_eV": 0.1, "electron_emission_activation_eV": 1.7, + "hole_capture_activation_eV": 0.2, "hole_emission_activation_eV": 1.8, + "electron_capture_path": "double_electron_capture", "hole_capture_path": "double_hole_capture", + "capture_n_m3_s": 1e-14, "capture_p_m3_s": 1e-14, "phonon_frequency_Hz": 1e13}}]} + unsupported = edited(prepared, document) + def forbidden(*args: Any, **kwargs: Any) -> Any: + pytest.fail("unsupported defect reached the nonlinear solver") + monkeypatch.setattr(example, "prepare_case", lambda config: unsupported) + monkeypatch.setattr(example, "solve_steady_state", forbidden) + monkeypatch.setattr(sys, "argv", ["neutral_defects", "--output", str(tmp_path / "result.json")]) + with pytest.raises(CapabilityError): + example.main() + assert not (tmp_path / "result.json").exists() + + +def test_no_defect_branch_and_saved_before_edit_algebra() -> None: + device = compile_device_1d(load_device(), intervals_per_layer=example.INTERVALS) + assert device.recombination.explicit_defects is None + baseline = os.environ.get("SOLARLAB_NEUTRAL_DEFECTS_BASELINE") + if baseline is None: + return + directory = Path(baseline) + arrays = np.load(directory / "NoDefectBaseline.npz") + metadata = json.loads((directory / "Baseline.json").read_text()) + problem = DC1DProblem(device, generation_scale=0.0) + assert device.identity == metadata["compiled_identity"] + np.testing.assert_array_equal(problem.residual(arrays["u"]), arrays["residual"]) + np.testing.assert_array_equal(problem.jacobian(arrays["u"]).toarray(), arrays["jacobian"]) + np.testing.assert_array_equal(problem.current_density(arrays["u"]), arrays["current"]) + + +def test_saved_actual_neutral_witness_without_resimulation() -> None: + path = os.environ.get("SOLARLAB_NEUTRAL_DEFECTS_RESULT") + if path is None: + pytest.skip("bind the actual saved witness explicitly; never run an additional solve") + return + raw = Path(path).read_bytes() + assert hashlib.sha256(raw).hexdigest() == os.environ["SOLARLAB_NEUTRAL_DEFECTS_RESULT_SHA256"] + record = json.loads(raw) + summary = record["summary"] + assert summary["accepted"] and summary["node_count"] == 37 + assert summary["maximum_explicit_rate_m3_s"] > 0.0 + assert summary["maximum_explicit_d_rate_dn_s1"] > 0.0 and summary["maximum_explicit_d_rate_dp_s1"] > 0.0 + assert summary["trap_charge_density_C_m3"] is None + assert all(gate["passed"] for gate in record["result"]["newton"]["gates"]) + assert summary["current_spread_A_m2"] < 1e-8 + assert summary["physical_certificate_status"] == "not_evaluated" and not summary["qualification"] diff --git a/tests/integration/test_optical_generation_1d.py b/tests/integration/test_optical_generation_1d.py new file mode 100644 index 00000000..70a2ad3d --- /dev/null +++ b/tests/integration/test_optical_generation_1d.py @@ -0,0 +1,264 @@ +"""Conservative typed optical binding; the one native result is read only.""" + +from __future__ import annotations + +import hashlib +import json +import os +from pathlib import Path +import sys +from typing import Any + +import numpy as np +import pytest + +from examples.research_1d import optical_generation as example +from examples.research_1d.steady import load_device +from solarlab.config.resolve_device import resolve_device +from solarlab.contracts.units import ELEMENTARY_CHARGE_C as Q +from solarlab.device.compile_1d import compile_device_1d +from solarlab.device.inputs import DeviceInput +from solarlab.device.optical_generation import bind_optical_generation_1d +from solarlab.device.resolved import PreparedDevice +from solarlab.equations.dc_1d import CapabilityError, CompiledDevice1D, DC1DProblem +from solarlab.materials.resources import ResourceLibrary, ResourceTable +from solarlab.materials.source import SourceDocument +from solarlab.mesh.geometry import half_endpoint_geometry +from solarlab.physics.generation.profile import StaleGenerationProfileError +from solarlab.solvers.nonlinear.newton import NewtonResult, Termination +from solarlab.solvers.nonlinear.steady_1d import SteadyStateError + + +@pytest.fixture(scope="module") +def prepared() -> PreparedDevice: + return example.prepare_case() + + +@pytest.fixture(scope="module") +def device(prepared: PreparedDevice) -> CompiledDevice1D: + return compile_device_1d(prepared, intervals_per_layer=example.INTERVALS) + + +def edited(base: PreparedDevice, document: dict[str, Any], resources: ResourceLibrary | None = None) -> PreparedDevice: + raw = json.dumps(document, sort_keys=True, separators=(",", ":"), allow_nan=False).encode() + source = SourceDocument("optical_generation_test", raw) + sources = tuple(item for item in base.sources if item.id != source.id) + (source,) + return resolve_device(DeviceInput.model_validate(document), base.defaults, + base.resources if resources is None else resources, sources=sources) + + +def test_real_spectrum_cell_source_and_photon_budget(prepared: PreparedDevice, device: CompiledDevice1D) -> None: + optical = bind_optical_generation_1d(prepared, device.geometry) + g, b = device.generation, optical.budget + assert g.method == "transfer_matrix" and device.node_count == 37 + assert np.max(abs(b.spectral_closure_residual())) < 1e-12 + assert b.incident_m2_s == pytest.approx(6e27 * 300e-9, rel=1e-15) + assert b.reflected_m2_s > 0.0 and b.transmitted_m2_s > 0.0 + assert b.electrical_absorbed_m2_s > 0.0 and b.parasitic_absorbed_m2_s == 0.0 + assert b.reflected_m2_s + b.transmitted_m2_s + b.electrical_absorbed_m2_s == pytest.approx(b.incident_m2_s, rel=1e-12) + np.testing.assert_array_equal(g.source_m3_s, optical.profile.source_m3_s) + np.testing.assert_allclose(g.source_m3_s * device.geometry.cell_measures_m, g.absorbed_m2_s, rtol=3e-16) + assert np.sum(g.source_m3_s * device.geometry.cell_measures_m) == pytest.approx(b.electrical_absorbed_m2_s, rel=1e-12) + assert device.generation_limit_A_m2 == Q * g.areal_generation_m2_s + # Cell24 straddles the true absorber/ETL plane despite ETL node ownership. + assert g.source_m3_s[24] > 0.0 + np.testing.assert_array_equal(g.source_m3_s[25:], 0.0) + assert not g.source_m3_s.flags.writeable + + +def test_generation_reaches_original_carrier_rows_without_a_state_derivative(device: CompiledDevice1D) -> None: + N = device.node_count + u = np.r_[device.reference_potential_V, np.zeros(2 * N)] + dark, light = DC1DProblem(device), DC1DProblem(device, generation_scale=1.0) + difference = light.residual(u) - dark.residual(u) + np.testing.assert_array_equal(difference[:N], 0.0) + for block in (difference[N:2 * N], difference[2 * N:]): + np.testing.assert_allclose(block[1:-1], device.generation.absorbed_m2_s[1:-1], rtol=2e-15) + np.testing.assert_array_equal(block[[0, -1]], 0.0) + np.testing.assert_array_equal(light.jacobian(u).toarray(), dark.jacobian(u).toarray()) + + +def test_lossless_bound_stack_matches_closed_form_airy(prepared: PreparedDevice) -> None: + document = prepared.to_input().editing_data() + for layer in document["layers"]: + layer["parameters"].update(optical_material=None, n_optical=2.0, alpha=0.0) + p = edited(prepared, document) + device = compile_device_1d(p, intervals_per_layer=example.INTERVALS) + optical = bind_optical_generation_1d(p, device.geometry) + wavelengths = optical.binding.wavelengths_m + r = (1.0 - 2.0) / (1.0 + 2.0) + phase = np.cos(4.0 * np.pi * 2.0 * device.geometry.extent_m / wavelengths) + expected = 2.0 * r**2 * (1.0 - phase) / (1.0 + r**4 - 2.0 * r**2 * phase) + np.testing.assert_allclose(optical.budget.reflectance, expected, rtol=0.0, atol=1e-13) + np.testing.assert_allclose(optical.budget.transmittance, 1.0 - expected, rtol=0.0, atol=1e-13) + np.testing.assert_array_equal(device.generation.source_m3_s, 0.0) + + +def test_historical_endpoint_weights_are_applied_once(prepared: PreparedDevice) -> None: + document = prepared.to_input().editing_data() + for index in (0, 2): + document["layers"][index]["parameters"]["alpha"] = 1e6 + p = edited(prepared, document) + device = compile_device_1d(p, intervals_per_layer=example.INTERVALS) + whole = device.generation + half = bind_optical_generation_1d(p, half_endpoint_geometry(device.nodes_m)).profile + assert np.all(whole.source_m3_s[[0, -1]] > 0.0) + np.testing.assert_array_equal(whole.absorbed_m2_s, half.absorbed_m2_s) + np.testing.assert_array_equal(half.source_m3_s[[0, -1]], 2.0 * whole.source_m3_s[[0, -1]]) + np.testing.assert_array_equal(half.source_m3_s[1:-1], whole.source_m3_s[1:-1]) + + +def test_coherent_optical_only_prefix_absorption_is_parasitic(prepared: PreparedDevice) -> None: + document = prepared.to_input().editing_data() + window = {"id": "window", "name": "Illustrative window", "role": "substrate", + "thickness": 70e-9, "parameters": {"alpha": 5e5, "n_optical": 1.7, "incoherent": False}} + document["layers"] = (window, *document["layers"]) + p = edited(prepared, document) + device = compile_device_1d(p, intervals_per_layer=example.INTERVALS) + optical = bind_optical_generation_1d(p, device.geometry) + b = optical.budget + assert device.node_count == 37 and optical.binding.electrical_offset_m == 70e-9 + assert not b.layer_electrical[0] and b.parasitic_absorbed_m2_s > 0.0 + assert device.generation.areal_generation_m2_s == pytest.approx(b.electrical_absorbed_m2_s, rel=1e-12) + assert b.reflected_m2_s + b.transmitted_m2_s + b.parasitic_absorbed_m2_s + b.electrical_absorbed_m2_s == pytest.approx(b.incident_m2_s, rel=1e-12) + + +def test_absolute_spectrum_is_not_renormalized_by_scalar_phi(prepared: PreparedDevice, device: CompiledDevice1D) -> None: + document = prepared.to_input().editing_data() + document["settings"]["Phi"] = 9e24 + changed = compile_device_1d(edited(prepared, document), intervals_per_layer=example.INTERVALS) + np.testing.assert_array_equal(changed.generation.source_m3_s, device.generation.source_m3_s) + assert changed.identity != device.identity + + +def test_resource_source_identity_and_geometry_prevent_stale_reuse(prepared: PreparedDevice, device: CompiledDevice1D) -> None: + original = prepared.resources.get("illustrative_photons", "spectrum") + source = SourceDocument(original.source.id, b"# unchanged values, distinct supplied document\n" + original.source.content) + replacement = ResourceTable(original.name, original.kind, source) + resources = ResourceLibrary(tuple(replacement if item.name == original.name else item for item in prepared.resources.tables)) + p = edited(prepared, prepared.to_input().editing_data(), resources) + changed = compile_device_1d(p, intervals_per_layer=example.INTERVALS) + assert changed.generation.binding_sha256 != device.generation.binding_sha256 + np.testing.assert_array_equal(changed.generation.source_m3_s, device.generation.source_m3_s) + with pytest.raises(StaleGenerationProfileError): + device.generation.require_inputs(changed.generation.binding_sha256, device.geometry) + other_grid = compile_device_1d(prepared, intervals_per_layer=(13, 12, 12)) + assert other_grid.generation.binding_sha256 == device.generation.binding_sha256 + with pytest.raises(StaleGenerationProfileError): + device.generation.require_inputs(device.generation.binding_sha256, other_grid.geometry) + + +@pytest.mark.parametrize("kind", ["no_spectrum", "missing_index", "incoherent", "ambiguous_index", "outside_nk", "fixed_conflict"]) +def test_unsupported_optical_inputs_stop_before_solver( + prepared: PreparedDevice, monkeypatch: pytest.MonkeyPatch, tmp_path: Path, kind: str, +) -> None: + document = prepared.to_input().editing_data() + resources = prepared.resources + if kind == "no_spectrum": + document["spectrum"] = None + elif kind == "missing_index": + document["layers"][0]["parameters"]["n_optical"] = None + elif kind == "incoherent": + document["layers"][0]["parameters"]["incoherent"] = True + elif kind == "ambiguous_index": + document["layers"][1]["parameters"]["n_optical"] = 2.1 + elif kind == "outside_nk": + replacement = ResourceTable("illustrative_absorber_nk", "nk", SourceDocument("short-nk", b"wavelength_nm,n,k\n450,2.5,0.1\n650,2.5,0.1\n")) + resources = ResourceLibrary(tuple(replacement if item.kind == "nk" else item for item in resources.tables)) + else: + table = ResourceTable("conflict", "fixed_generation", SourceDocument("conflict", b'{"coordinate_m":[0,1],"generation_m3_s":[1,1]}')) + document["fixed_generation"] = table.name + resources = ResourceLibrary((*resources.tables, table)) + bad = edited(prepared, document, resources) + def forbidden(*args: Any, **kwargs: Any) -> Any: + raise AssertionError("unsupported optics reached the nonlinear solver") + monkeypatch.setattr(example, "prepare_case", lambda: bad) + monkeypatch.setattr(example, "solve_steady_state", forbidden) + monkeypatch.setattr(sys, "argv", ["optical_generation", "--output", str(tmp_path / "result.json")]) + with pytest.raises(CapabilityError): + example.main() + assert not (tmp_path / "result.json").exists() + + +def test_irradiance_is_not_silently_interpreted_as_photon_flux() -> None: + with pytest.raises(ValueError): + ResourceTable("bad", "spectrum", SourceDocument("irradiance", b"wavelength_nm,irradiance_W_m-2_nm-1\n400,1\n700,1\n")) + + +def test_failed_example_serializes_optical_binding_and_preserves_candidate( + monkeypatch: pytest.MonkeyPatch, tmp_path: Path, +) -> None: + calls = [] + def injected(device: CompiledDevice1D, **kwargs: Any) -> Any: + calls.append(kwargs) + result = NewtonResult(np.zeros(3 * device.node_count), False, Termination.BUDGET_EXHAUSTED, + 123.0, (), (), 0, 0, "a" * 64, "injected serialization test; no Newton executed") + raise SteadyStateError("serialization_test_no_solve", result) + monkeypatch.setattr(example, "solve_steady_state", injected) + output = tmp_path / "failure.json" + monkeypatch.setattr(sys, "argv", ["optical_generation", "--output", str(output)]) + assert example.main() == 2 and len(calls) == 1 + result = example.read_result(output) + assert not result["summary"]["accepted"] + assert result["failed_newton"]["termination"] == "budget_exhausted" + assert len(result["failed_newton"]["state"]) == 111 + assert result["optical_binding"]["physical_layer_slices"] == [ + {"name": name, "start": index, "stop": index + 1} for index, name in enumerate(("htl", "absorber", "etl")) + ] + assert len(result["input_resources"]) == 2 + with pytest.raises(FileExistsError): + example.main() + assert len(calls) == 1 + + +def test_mono_and_fixed_generation_preserve_pre_edit_bitwise_results() -> None: + location = os.environ.get("SOLARLAB_OPTICAL_BASELINE") + if location is None: + pytest.skip("explicitly provide the captured pre-edit baseline") + return + directory = Path(location) + metadata = json.loads((directory / "Baseline.json").read_text()) + arrays = np.load(directory / "BeforeOpticalBinding.npz") + base = load_device() + mono = compile_device_1d(base, intervals_per_layer=example.INTERVALS) + fixed_doc = base.to_input().editing_data() + fixed_doc["fixed_generation"] = "explicit_fixed" + raw = json.dumps({"coordinate_m": mono.nodes_m.tolist(), "generation_m3_s": np.linspace(1e25, 3e25, mono.node_count).tolist()}, separators=(",", ":")).encode() + table = ResourceTable("explicit_fixed", "fixed_generation", SourceDocument("optical_baseline.fixed.json", raw)) + raw_doc = json.dumps(fixed_doc, sort_keys=True, separators=(",", ":"), allow_nan=False).encode() + fixed = resolve_device(DeviceInput.model_validate(fixed_doc), base.defaults, ResourceLibrary((table,)), + sources=(*base.sources, SourceDocument("optical_baseline.fixed_declaration", raw_doc))) + for name, p in (("monochromatic", base), ("fixed", fixed)): + device = compile_device_1d(p, intervals_per_layer=example.INTERVALS) + assert device.identity == metadata["branches"][name]["compiled_identity"] + assert device.generation.binding_sha256 == metadata["branches"][name]["generation_identity"] + problem = DC1DProblem(device, generation_scale=1.0) + u = arrays[name + "_u"] + for key, value in (("generation", device.generation.source_m3_s), ("absorbed", device.generation.absorbed_m2_s), + ("residual", problem.residual(u)), ("jacobian", problem.jacobian(u).toarray()), + ("current", problem.current_density(u)), ("contacts", problem.contact_current_density(u))): + np.testing.assert_array_equal(value, arrays[name + "_" + key]) + + +def test_saved_optical_steady_reads_without_solving(monkeypatch: pytest.MonkeyPatch) -> None: + location = os.environ.get("SOLARLAB_OPTICAL_RESULT") + if location is None: + pytest.skip("read the one saved native witness without repeating it") + return + path = Path(location) + assert hashlib.sha256(path.read_bytes()).hexdigest() == os.environ["SOLARLAB_OPTICAL_RESULT_SHA256"] + def forbidden(*args: Any, **kwargs: Any) -> Any: + raise AssertionError("reading a saved result attempted execution") + monkeypatch.setattr(example, "compile_device_1d", forbidden) + monkeypatch.setattr(example, "solve_steady_state", forbidden) + value = example.read_result(path) + summary = value["summary"] + assert summary["accepted"] and summary["node_count"] == 37 + assert summary["generation_method"] == "transfer_matrix" + assert summary["electrical_absorbed_photons_m2_s"] > 0.0 + assert summary["current_spread_A_m2"] < 1e-8 + assert all(gate["passed"] for gate in value["result"]["newton"]["gates"]) + assert summary["optical_data_scope"] == "illustrative_declared_spectrum_and_indices" + assert summary["physical_certificate_status"] == "not_evaluated" and not summary["qualification"] + monkeypatch.setattr(sys, "argv", ["optical_generation", "--read", location]) + assert example.main() == 0 diff --git a/tests/integration/test_optical_generation_2d.py b/tests/integration/test_optical_generation_2d.py new file mode 100644 index 00000000..76eca709 --- /dev/null +++ b/tests/integration/test_optical_generation_2d.py @@ -0,0 +1,245 @@ +"""Original photon counts, half cells, source identity and saved-only reading.""" + +import ast +from dataclasses import replace +import hashlib +from pathlib import Path + +import numpy as np +import pytest + +from examples.research_2d import optical_generation as example +from solarlab.config.resolve_device import resolve_device +from solarlab.device.inputs import DeviceInput +from solarlab.device.optical_generation import bind_optical_generation_1d +from solarlab.device.optical_generation_2d import bind_optical_generation_2d +from solarlab.mesh import INTEGER_ENDPOINT_V1, build_geometry +from solarlab.mesh.geometry import half_endpoint_geometry +from solarlab.mesh.geometry_2d import RectangularGeometry2D +from solarlab.physics.generation.profile import StaleGenerationProfileError + + +@pytest.fixture(scope="module") +def prepared(): + return example.prepare_1d_case() + + +def edited(prepared, data): + return resolve_device(DeviceInput.model_validate(data), prepared.defaults, prepared.resources, sources=prepared.sources) + + +def absorbing_contacts(prepared): + data = prepared.to_input().editing_data() + for index in (0, 2): + data["layers"][index]["parameters"]["alpha"] = 1e6 + return edited(prepared, data) + + +def test_half_endpoint_source_matches_legacy_conversion_exactly_once(prepared): + prepared = absorbing_contacts(prepared) + geometry = example.research_geometry(prepared) + bound = bind_optical_generation_2d(prepared, geometry) + old_geometry = build_geometry(INTEGER_ENDPOINT_V1, geometry.y_geometry.nodes_m) + old = bind_optical_generation_1d(prepared, old_geometry).profile + # Execute only the immutable legacy reweighting function, never its engine. + root = Path(__file__).resolve().parents[2] + path = root / "perovskite-sim/perovskite_sim/twod/solver_2d.py" + function = next(node for node in ast.parse(path.read_text()).body + if isinstance(node, ast.FunctionDef) and node.name == "_to_2d_dual_cell") + namespace = {"np": np} + exec(compile(ast.Module(body=[function], type_ignores=[]), str(path), "exec"), namespace) + expected = namespace["_to_2d_dual_cell"](old.source_m3_s) + assert np.all(old.source_m3_s[[0, -1]] > 0.0) + np.testing.assert_array_equal(bound.optical_y.profile.source_m3_s, expected) + np.testing.assert_array_equal(bound.optical_y.profile.absorbed_m2_s, old.absorbed_m2_s) + np.testing.assert_array_equal(bound.source_m3_s.reshape(13, 5), np.repeat(expected[:, None], 5, axis=1)) + assert np.sum(bound.source_m3_s * geometry.contract_geometry.volumes) == pytest.approx( + geometry.lateral_length_m * old.areal_generation_m2_s, rel=1e-12) + + +@pytest.mark.parametrize("width", [1e-6, 2.7e-6]) +def test_actual_irregular2d_cell_photons_and_per_depth_units(prepared, width): + reference = example.research_geometry(prepared) + geometry = RectangularGeometry2D(width * np.array([0.0, .07, .22, .61, 1.0]), reference.y_geometry) + bound = bind_optical_generation_2d(prepared, geometry) + budget = bound.optical_y.budget + np.testing.assert_allclose(bound.source_m3_s * geometry.contract_geometry.volumes, + bound.cell_generation_per_depth_m_s, rtol=5e-16, atol=0.0) + assert budget.incident_m2_s == pytest.approx(6e27 * 300e-9, rel=1e-15) + assert np.max(abs(budget.spectral_closure_residual())) < 1e-12 + assert bound.particle_generation_per_depth_m_s == pytest.approx(width * budget.electrical_absorbed_m2_s, rel=1e-12) + assert bound.generation_current_limit_A_m2 == pytest.approx(bound.generation_current_limit_A_m / width, rel=1e-15) + np.testing.assert_array_equal(bound.source_m3_s.reshape(13, 5)[:, 0], bound.source_m3_s.reshape(13, 5)[:, -1]) + for value in (bound.source_m3_s, bound.cell_generation_per_depth_m_s): + assert not value.flags.writeable + with pytest.raises(ValueError): + value.flags.writeable = True + + +def test_front_optical_prefix_absorption_remains_parasitic(prepared): + data = prepared.to_input().editing_data() + prefix = {"id": "window", "name": "Illustrative optical window", "role": "substrate", + "thickness": 70e-9, "parameters": {"alpha": 5e5, "n_optical": 1.7, "incoherent": False}} + data["layers"] = [prefix, *data["layers"]] + changed = edited(prepared, data) + geometry = example.research_geometry(changed) + bound = bind_optical_generation_2d(changed, geometry) + b = bound.optical_y.budget + assert bound.optical_y.binding.electrical_offset_m == 70e-9 + assert b.layer_electrical[0] is False and b.parasitic_absorbed_m2_s > 0.0 + assert b.reflected_m2_s + b.transmitted_m2_s + b.electrical_absorbed_m2_s + b.parasitic_absorbed_m2_s == pytest.approx(b.incident_m2_s, rel=1e-12) + assert bound.particle_generation_per_depth_m_s / geometry.lateral_length_m == pytest.approx(b.electrical_absorbed_m2_s, rel=1e-12) + + +def test_absolute_spectrum_off_phi_and_source_mesh_admission(prepared): + geometry = example.research_geometry(prepared) + original = bind_optical_generation_2d(prepared, geometry) + data = prepared.to_input().editing_data() + data["settings"]["Phi"] = 9e24 + changed_prepared = edited(prepared, data) + changed = bind_optical_generation_2d(changed_prepared, geometry) + np.testing.assert_array_equal(original.source_m3_s, changed.source_m3_s) + assert original.identity_sha256 != changed.identity_sha256 + with pytest.raises(StaleGenerationProfileError): + original.require_inputs(changed_prepared, geometry) + other = RectangularGeometry2D(geometry.x_m * 2.0, geometry.y_geometry) + with pytest.raises(StaleGenerationProfileError): + original.require_inputs(prepared, other) + with pytest.raises(StaleGenerationProfileError): + replace(original, geometry=RectangularGeometry2D(geometry.x_m, + half_endpoint_geometry(geometry.y_geometry.nodes_m * .99))) + + +def test_lossless_stack_has_closed_form_airy_and_zero_generation(prepared): + data = prepared.to_input().editing_data() + for layer in data["layers"]: + layer["parameters"].update(optical_material=None, n_optical=2.0, alpha=0.0) + changed = edited(prepared, data) + geometry = example.research_geometry(changed) + bound = bind_optical_generation_2d(changed, geometry) + b = bound.optical_y.budget + r = (1.0 - 2.0) / (1.0 + 2.0) + phase = np.cos(4.0 * np.pi * 2.0 * geometry.y_geometry.extent_m / bound.optical_y.binding.wavelengths_m) + expected = 2.0 * r**2 * (1.0 - phase) / (1.0 + r**4 - 2.0 * r**2 * phase) + np.testing.assert_allclose(b.reflectance, expected, rtol=0.0, atol=1e-13) + np.testing.assert_allclose(b.transmittance, 1.0 - expected, rtol=0.0, atol=1e-13) + np.testing.assert_array_equal(bound.source_m3_s, 0.0) + + +@pytest.mark.parametrize("kind", ["no_spectrum", "incoherent", "missing_index", "ambiguous_index", "graded"]) +def test_original_optical_refusals_remain_explicit(prepared, kind): + data = prepared.to_input().editing_data() + if kind == "no_spectrum": + data["spectrum"] = None + elif kind == "incoherent": + data["layers"][0]["parameters"]["incoherent"] = True + elif kind == "missing_index": + data["layers"][0]["parameters"]["n_optical"] = None + elif kind == "ambiguous_index": + data["layers"][1]["parameters"]["n_optical"] = 2.1 + else: + data["settings"]["graded_optics"] = True + with pytest.raises(ValueError): + changed = edited(prepared, data) + bind_optical_generation_2d(changed, example.research_geometry(changed)) + + +def test_saved_source_reader_performs_no_optical_or_carrier_solve(prepared, tmp_path, monkeypatch): + output = tmp_path / "Optical.json" + example.construct(output) + digest = hashlib.sha256(output.read_bytes()).hexdigest() + def forbidden(*args, **kwargs): + raise AssertionError("saved optical source reader recomputed physics") + monkeypatch.setattr(example, "bind_optical_generation_2d", forbidden) + read = example.read_result(output, digest) + assert read["summary"]["source_constructed"] and read["summary"]["nonlinear_solve_calls"] == 0 + assert not read["summary"]["coupled_2d_operating_point_accepted"] and not read["qualification"] + with pytest.raises(ValueError): + example.read_result(output, "0" * 64) + with pytest.raises(FileExistsError): + example.construct(output) + + +def test_resource_document_identity_is_not_replaced_by_equal_sample_values(prepared): + from solarlab.materials.resources import ResourceLibrary, ResourceTable + from solarlab.materials.source import SourceDocument + original = prepared.resources.get("illustrative_photons", "spectrum") + changed_table = ResourceTable(original.name, original.kind, + SourceDocument(original.source.id, b"# independent supplied document\n" + original.source.content)) + resources = ResourceLibrary(tuple(changed_table if item.name == original.name else item + for item in prepared.resources.tables)) + changed = resolve_device(prepared.to_input(), prepared.defaults, resources, sources=prepared.sources) + geometry = example.research_geometry(prepared) + before = bind_optical_generation_2d(prepared, geometry) + after = bind_optical_generation_2d(changed, geometry) + np.testing.assert_array_equal(before.source_m3_s, after.source_m3_s) + assert before.identity_sha256 != after.identity_sha256 + with pytest.raises(StaleGenerationProfileError): + before.require_inputs(changed, geometry) + + +def coupled_device(prepared): + from examples.research_2d.dc_assembly import spatial_input + from solarlab.device import compile_2d + if "bind_optical_generation_2d" not in vars(compile_2d): + pytest.skip("shared optical hooks are tested against the isolated candidate") + return compile_2d.compile_device_2d(prepared, spatial_input()) + + +def test_isolated_original195_rows_jacobian_and_contact_half_cell_photons(prepared): + from solarlab.equations.dc_2d import DC2DProblem + from solarlab.solvers.nonlinear.steady_2d import scope + prepared = absorbing_contacts(prepared) + device = coupled_device(prepared) + scope(device) + assert device.node_count == 65 and device.generation_y.method == "transfer_matrix" + bound = bind_optical_generation_2d(prepared, device.geometry) + np.testing.assert_array_equal(device.generation_source_m3_s, bound.source_m3_s) + u = device.extrude_coordinates(np.r_[device.column.reference_potential_V, np.zeros(2 * device.geometry.ny)]) + dark, light = DC2DProblem(device, 0.0, 0.0), DC2DProblem(device, 0.0, 1.0) + difference = light.residual(u) - dark.residual(u) + assert difference.shape == (195,) + np.testing.assert_array_equal(difference[:65], 0.0) + expected = device.generation_source_m3_s * device.geometry.contract_geometry.volumes + masked = expected.copy() + masked[device.geometry.contact_nodes] = 0.0 + for block in (difference[65:130], difference[130:]): + np.testing.assert_allclose(block, masked, rtol=1e-12, atol=0.0) + np.testing.assert_array_equal(light.jacobian(u).toarray(), dark.jacobian(u).toarray()) + # Both contact fluxes point along+y. Generation in the lower half cell + # decreases incoming particles; generation in the upper increases outgoing. + flux_delta = np.stack(light.contact_particle_fluxes(u)) - np.stack(dark.contact_particle_fluxes(u)) + source_y = device.generation_y.source_m3_s + contact_expected = np.repeat(np.array([[-source_y[0] * device.geometry.y_geometry.cell_measures_m[0]], + [source_y[-1] * device.geometry.y_geometry.cell_measures_m[-1]]]), 5, axis=1) + for carrier in flux_delta: + np.testing.assert_allclose(carrier, contact_expected, rtol=1e-12, atol=0.0) + + +def test_isolated_active_optical_sources_are_captured_and_off_model_stays_off(prepared, monkeypatch): + import hashlib + import sys + from solarlab.reproducibility.job_provenance import job_provenance, admitted_source_pins + from support.provenance import checked_provenance_owner + from examples.research_1d.steady import load_device + active, off = coupled_device(prepared), coupled_device(load_device()) + names = ('solarlab.device.optical_generation_2d', 'solarlab.device.optical_generation', 'solarlab.physics.generation.optical_binding', 'solarlab.physics.generation.transfer_matrix') + with checked_provenance_owner(), job_provenance({"compiled_identity": active.identity}, operator="DC2DProblem") as active_job: + capture = admitted_source_pins() + with checked_provenance_owner(), job_provenance({"compiled_identity": off.identity}, operator="DC2DProblem") as off_job: + off_capture = admitted_source_pins() + for name in names: + assert capture[name] == hashlib.sha256(Path(sys.modules[name].__file__).read_bytes()).hexdigest() + assert capture[name] == off_capture[name] + assert active_job.export()["input_sha256"] != off_job.export()["input_sha256"] + old = dict(capture) + monkeypatch.setattr(sys.modules[names[0]], "__file__", sys.modules[names[1]].__file__) + assert capture == old # Immutable admission snapshot, no numeric-file rehash. + + +def test_optical_prefix_is_source_only_until_electrical_compiler_admission(prepared): + data = prepared.to_input().editing_data() + data["layers"] = [{"id": "window", "name": "Optical prefix", "role": "substrate", "thickness": 70e-9, + "parameters": {"alpha": 5e5, "n_optical": 1.7, "incoherent": False}}, *data["layers"]] + with pytest.raises(ValueError, match="optical-only/index"): + coupled_device(edited(prepared, data)) diff --git a/tests/integration/test_research_1d_workflow.py b/tests/integration/test_research_1d_workflow.py new file mode 100644 index 00000000..78fb1e88 --- /dev/null +++ b/tests/integration/test_research_1d_workflow.py @@ -0,0 +1,196 @@ +"""One real study, independent solver-free readback, and explicit failure paths.""" + +from __future__ import annotations + +from copy import deepcopy +from dataclasses import asdict +import hashlib +import importlib.metadata +import json +import os +from pathlib import Path +import shutil +import subprocess +import sys +import time + +import numpy as np +import pytest + +from examples.research_1d import jv_scan, read_results +from solarlab.experiments.jv.steady import read_steady_jv, steady_jv_metrics +from solarlab.io.artifacts import ArtifactIntegrityError +from solarlab.io.run_store import RunStore + +ROOT = Path(__file__).resolve().parents[2] +EXAMPLES = ROOT / "examples/research_1d" +GUARD = r''' +import importlib.abc, json, pathlib, runpy, sys +prefixes = tuple(json.loads(sys.argv[1])) +class NoExecutionImports(importlib.abc.MetaPathFinder): + def find_spec(self, fullname, path=None, target=None): + if any(fullname == prefix or fullname.startswith(prefix + '.') for prefix in prefixes): + raise AssertionError('forbidden execution import: ' + fullname) +sys.meta_path.insert(0, NoExecutionImports()) +script = pathlib.Path(sys.argv[2]) +sys.path.insert(0, str(script.parent)) +sys.argv = [str(script), *sys.argv[3:]] +runpy.run_path(str(script), run_name='__main__') +''' + + +def command(script, arguments, *, reader=False, timeout=300): + forbidden = ["perovskite_sim", "backend", "solarlab_server"] + if reader: + forbidden += ["solarlab.solvers", "solarlab.device.compile_1d"] + argv = [sys.executable, "-I", "-B", "-c", GUARD, json.dumps(forbidden), + str(EXAMPLES / script), *arguments] + env = dict(os.environ) + env.update({key: "1" for key in jv_scan.THREAD_NAMES}) + start = time.monotonic() + result = subprocess.run(argv, cwd=ROOT, env=env, capture_output=True, text=True, timeout=timeout) + return result, {"argv": argv, "elapsed_seconds": time.monotonic() - start, + "exit_code": result.returncode, "stdout": result.stdout, "stderr": result.stderr} + + +@pytest.fixture(scope="module") +def study(tmp_path_factory): + root = Path(os.environ.get("SOLARLAB_RESEARCH_STUDY_PATH", str(tmp_path_factory.mktemp("research") / "store"))) + result, record = command("jv_scan.py", ["--store", str(root), "--values", "1 us", "2 us"]) + archive = os.environ.get("SOLARLAB_RESEARCH_EVIDENCE") + if archive: + path = Path(archive) + path.mkdir(parents=True, exist_ok=True) + (path / "ExampleCommand.json").write_text(json.dumps(record, indent=2) + "\n") + if result.stdout: + (path / "ExampleOutput.json").write_text(result.stdout) + assert result.returncode == 0, result.stdout + result.stderr + return root, json.loads(result.stdout) + + +def test_genuine_lifetime_sweep_has_actual_identities_and_bracketed_metrics(study): + root, summary = study + assert summary["outcome"] == "completed_with_estimated_metrics" + assert not summary["scientific_qualification"] + assert summary["runtime"]["python"] == sys.version + for name in ("numpy", "scipy", "pydantic", "threadpoolctl"): + assert summary["runtime"]["packages"][name] == importlib.metadata.version(name) + assert all(pool["num_threads"] == 1 for pool in summary["runtime"]["threadpools"]) + points = summary["points"] + assert len(points) == 2 and all(p["state"] == "succeeded" for p in points) + for name in ("H_input", "H_physics", "H_execution"): + assert len({point["identity"][name] for point in points}) == 2 + assert len({point["compiled_identity"] for point in points}) == 2 + with RunStore(root, read_only=True) as store: + for point in points: + attempt = store.attempts(point["run_id"])[0] + arrays = read_steady_jv(store, attempt["result"]) + np.testing.assert_array_equal(arrays["voltage_V"], np.linspace(0., 1.25, 51)) + assert arrays["nodes_m"].shape == (37,) + current, voltage = arrays["output_current_A_m2"], arrays["voltage_V"] + assert current[0] > 0 and current[-1] < 0 + crossing = np.flatnonzero(current <= 0)[0] + assert voltage[crossing - 1] <= point["metrics"]["open_circuit_voltage_V"] <= voltage[crossing] + assert point["metrics_status"] == "estimated" + assert point["metrics"]["efficiency"] is None # No fabricated irradiance/PCE. + assert all(evidence["accepted"] for evidence in attempt["result"]["solver_evidence"]) + assert store.get_run(point["run_id"])["request"]["input_metadata"]["attempt_phase"] == summary["attempt_phase"] + + +def test_independent_roundtrip_and_fresh_process_reader_never_load_a_solver(study): + root, summary = study + result, record = command("read_results.py", ["--store", str(root)], reader=True, timeout=30) + assert result.returncode == 0, result.stdout + result.stderr + assert json.loads(result.stdout) == summary + with RunStore(root, read_only=True) as store: + for point in summary["points"]: + document = store.attempts(point["run_id"])[0]["result"] + arrays = read_steady_jv(store, document) + for name, identifier in document["arrays"].items(): + original = document["research_array_fingerprints"][name] + record_on_disk = store.artifact(identifier) + independent = np.load(root / record_on_disk["relative_path"], allow_pickle=False) + assert independent.tobytes() == arrays[name].tobytes() + assert hashlib.sha256(independent.tobytes()).hexdigest() == original["sha256"] + assert independent.dtype.str == original["dtype"] and list(independent.shape) == original["shape"] + archive = os.environ.get("SOLARLAB_RESEARCH_EVIDENCE") + if archive: + (Path(archive) / "ReadCommand.json").write_text(json.dumps(record, indent=2) + "\n") + + +def test_a_real_unbracketed_prefix_has_missing_metrics_not_zero_or_pass(study): + root, _ = study + loaded = read_results.read_study(root, "lifetime") + for point in loaded["points"]: + arrays = point["current"]["arrays"] + prefix = arrays["voltage_V"] <= .5 + metrics = steady_jv_metrics(arrays["voltage_V"][prefix], arrays["output_current_A_m2"][prefix]) + assert metrics.open_circuit_voltage_V is None and metrics.fill_factor is None + point["current"]["result"]["metrics"] = asdict(metrics) + # A read-only derived prefix check; no saved result or identity is changed. + summary = read_results.summarize(loaded) + assert summary["outcome"] == "completed_with_unavailable_metrics" + assert all(p["metrics_status"] == "unavailable" and p["metrics"]["open_circuit_voltage_V"] is None + for p in summary["points"]) + + +def test_unsupported_physics_and_failed_attempts_are_retained_without_solver(tmp_path, monkeypatch): + import solarlab.solvers.nonlinear.steady_1d as solver + + def forbidden(*args, **kwargs): + raise AssertionError("unsupported point reached a solver") + + monkeypatch.setattr(solver, "solve_steady_state", forbidden) + document = json.loads((EXAMPLES / "device.json").read_text()) + document["device"]["layers"][1]["parameters"]["D_ion"] = 1e-15 + config = tmp_path / "unsupported.json" + config.write_text(json.dumps(document)) + root = tmp_path / "failed-store" + summary = jv_scan.run_study(root, config=config, values=["-1 us", "1 us"], voltage_points=2) + assert summary["outcome"] == "completed_with_failed_points" + assert all(p["state"] == "failed" and p["compiled_identity"] is None for p in summary["points"]) + assert any("D_ion" in p["reason"] for p in summary["points"]) + with RunStore(root) as store: + run_id = summary["points"][0]["run_id"] + previous = store.attempts(run_id) + row = store.get_run(run_id) + queued = store.retry(run_id, expected_attempt_id=row["current_attempt_id"], expected_generation=row["generation"]) + token = store.claim(run_id, expected_attempt_id=queued["current_attempt_id"], + expected_generation=queued["generation"], owner_id="explicit_saved_failure_test") + store.complete(token, state="failed", result={"reason": "explicit failed-attempt readback fixture; no solve"}) + assert store.attempts(run_id)[0] == previous[0] + loaded = read_results.read_study(root, "lifetime") + assert len(loaded["points"][0]["attempts"]) == 2 + assert all(a["state"] == "failed" for a in loaded["points"][0]["attempts"]) + with pytest.raises(FileExistsError): + jv_scan.run_study(root, config=config) + + +def test_identity_and_artifact_tampering_refuse_readback(study, tmp_path): + root, summary = study + with RunStore(root, read_only=True) as store: + request = deepcopy(store.get_run(summary["points"][0]["run_id"])["request"]) + request["input_metadata"]["identity_payloads"]["H_execution"]["protocol"]["voltage_V"][0] = .01 + with pytest.raises(ValueError, match="identity digest"): + read_results.verify_identity(request) + copied = tmp_path / "corruption-copy" + shutil.copytree(root, copied) + with RunStore(copied, read_only=True) as store: + result = store.attempts(summary["points"][0]["run_id"])[0]["result"] + record = store.artifact(result["arrays"]["voltage_V"]) + (copied / record["relative_path"]).write_bytes(b"explicit corrupted artifact fixture") + with pytest.raises(ArtifactIntegrityError): + read_results.read_study(copied, "lifetime") + + +def test_additional_recombination_is_a_runnable_unqualified_example(): + result, record = command("steady.py", ["--additional-recombination"], timeout=180) + assert result.returncode == 0, result.stdout + result.stderr + output = json.loads(result.stdout) + assert "not full scientific qualification" in output["qualification"] + assert all(gate["passed"] for gate in output["gates"]) + assert len(output["compiled_identity"]) == 64 + archive = os.environ.get("SOLARLAB_RESEARCH_EVIDENCE") + if archive: + (Path(archive) / "ExtensionCommand.json").write_text(json.dumps(record, indent=2) + "\n") + diff --git a/tests/integration/test_shared_site_ionic_1d.py b/tests/integration/test_shared_site_ionic_1d.py new file mode 100644 index 00000000..35d2680e --- /dev/null +++ b/tests/integration/test_shared_site_ionic_1d.py @@ -0,0 +1,247 @@ +"""Actual shared-site F/J/storage, physical paired secants and old-model limits.""" + +from __future__ import annotations + +from dataclasses import replace +from decimal import Decimal, localcontext +import math + +import numpy as np +import pytest +from threadpoolctl import threadpool_limits + +from examples.research_1d.shared_site_ionic_fixture import prepare_confined_shared_site_ion_device +from solarlab.config.resolve_device import resolve_device +from solarlab.device.compile_ionic_1d import compile_ionic_device_1d +from solarlab.device.inputs import DeviceInput +from solarlab.equations.dc_1d import CapabilityError +from solarlab.equations.ionic_1d import Ionic1DProblem +from solarlab.physics.ions import ion_face_flux, shared_site_densities +from solarlab.physics.ions.shared_site import ( + shared_site_coordinate_jacobian_m3, shared_site_coordinate_hessian_m3, + shared_site_secant_m3, +) + +Q = 1.602176634e-19 + + +@pytest.fixture(scope="module", autouse=True) +def blas1(): + with threadpool_limits(limits=1): + yield + + +def compile_domain(prepared): + return compile_ionic_device_1d(prepared, intervals_per_layer=(12, 12, 12), + ion_domain_layer="absorber", ion_domain_endpoints=("blocking", "blocking")) + + +@pytest.fixture(scope="module") +def device(): + return compile_domain(prepare_confined_shared_site_ion_device()) + + +@pytest.fixture(scope="module", params=["normal", "high", "clipped"]) +def case(device, request): + y = device.initial_state(voltage_V=0.002).u.copy() + plus, minus = device.ion_species_slices + if request.param == "normal": + y[plus] = np.linspace(-0.15, 0.12, 13) + y[minus] = np.linspace(0.12, -0.09, 13) + else: + p, n = (0.58, 0.40) if request.param == "high" else (0.6, 0.3999995) + vacancy = 1.0 - p - n + y[plus] = math.log(p / vacancy) - device.positive_ion_logit_reference + y[minus] = math.log(n / vacancy) - device.negative_ion_logit_reference + return device, Ionic1DProblem(device, voltage_V=0.002), y + + +def test_compiled_shared_identity_domain_and_physical_map_are_complete(device): + assert (device.node_count, device.ion_node_count, device.state_size) == (37, 13, 137) + assert device.ion_site_contract == "shared_finite_sites" + np.testing.assert_array_equal(device.ion_node_indices, np.arange(12, 25)) + np.testing.assert_array_equal(device.positive_ion_site_limit_m3, device.negative_ion_site_limit_m3) + manifest = device.binding_manifest + assert manifest["ion_model"]["site_contract"] == "shared_finite_sites" + assert manifest["ion_model"]["coordinate_map"] == "historical_shared_site_softmax_v1" + vacancy = 1.0 - (device.positive_ion_reference_m3 + device.negative_ion_reference_m3) / device.positive_ion_site_limit_m3 + np.testing.assert_array_equal(device.positive_ion_logit_reference, + np.log(device.positive_ion_reference_m3 / device.positive_ion_site_limit_m3) - np.log(vacancy)) + assert np.all(vacancy > 0.0) + state = device.initial_state(voltage_V=0.002) + assert set(state.domain_inventories_m2) == {"positive", "negative"} + assert all(value > 0.0 for value in state.domain_inventories_m2.values()) + + +def test_high_occupancy_uses_original_softmax_and_historical_partner_law(case): + device, problem, y = case + phi, _, _, populations = device.fields_by_species(y, voltage_V=0.002) + plus, minus = device.ion_species_slices + expected = shared_site_densities(device.positive_ion_site_limit_m3, + device.positive_ion_logit_reference, device.negative_ion_logit_reference, + y[plus], y[minus]) + for actual, original in zip(populations, expected): + np.testing.assert_array_equal(actual, original) + assert np.all(populations[0] + populations[1] < device.positive_ion_site_limit_m3) + for index, species in enumerate(device.ion_species_names): + flux = ion_face_flux(phi[device.ion_node_indices], populations[index], np.diff(device.ion_geometry.nodes_m), + getattr(device, species + "_ion_diffusivity_faces_m2_s"), + device.electronic_component.thermal_voltage_V, device.positive_ion_site_limit_m3[:-1], + steric_diffusion_only=True, P_lim_node=device.positive_ion_site_limit_m3, + P_other_node=populations[1 - index], drift_sign=1.0 if index == 0 else -1.0) + np.testing.assert_array_equal(problem.ion_fluxes(y, species=species), flux) + + +def test_all_particle_rows_signed_current_and_half_cell_charge_are_conservative(case): + device, problem, y = case + N, idx = device.node_count, device.ion_node_indices + _, n, p, populations = device.fields_by_species(y, voltage_V=0.002) + residual = problem.residual(y) + for species, block in zip(device.ion_species_names, device.ion_species_slices): + flux = problem.ion_fluxes(y, species=species) + np.testing.assert_array_equal(residual[block], -np.diff(np.r_[0.0, flux, 0.0])) + assert abs(math.fsum(residual[block].tolist())) <= 4 * np.finfo(float).eps * math.fsum(abs(flux).tolist()) + projected_balance = np.zeros(N) + plus, minus = device.ion_species_slices + projected_balance[idx] = Q * (residual[plus] - residual[minus]) + current = problem.ion_current_density_A_m2(y) + scale = max(float(np.max(abs(current))), np.finfo(float).tiny) + np.testing.assert_allclose(-np.diff(np.r_[0.0, current, 0.0]), projected_balance, + rtol=0.0, atol=16 * np.finfo(float).eps * scale) + ledger = device.charge_ledger(n, p, populations[0], populations[1]) + for species, density in zip(device.ion_species_names, populations): + entry = ledger.entry(species + "_ion") + reference = getattr(device, species + "_ion_reference_m3") + physical = np.zeros(N) + physical[idx] = entry.charge_number * Q * device.ion_geometry.cell_measures_m * (density - reference) + actual = entry.charge_number * Q * device.electronic_component.geometry.cell_measures_m * entry.net_population() + np.testing.assert_allclose(actual, physical, rtol=5e-15, atol=1e-20) + J = problem.jacobian(y) + for local, node in enumerate(idx): + assert J[node, plus.start + local] > 0.0 and J[node, minus.start + local] < 0.0 + + +def test_full_mass_hessian_storage_and_inventory_gradients_include_partner_columns(case): + device, problem, y = case + N, blocks = device.node_count, device.ion_species_slices + A = device.ion_coordinate_jacobian_m3(y, voltage_V=0.002) + H = device.ion_coordinate_hessian_m3(y, voltage_V=0.002) + assert A.shape == (13, 2, 2) and H.shape == (13, 2, 2, 2) + assert np.all(A[:, 0, 1] < 0.0) and np.all(A[:, 1, 0] < 0.0) + assert np.all(np.linalg.eigvalsh(A) > 0.0) + dot = np.linspace(-0.2, 0.15, device.state_size) + dot[:N] *= device.electronic_component.thermal_voltage_V + base, dynamic, K = problem.residual(y), problem.residual(y, dot), problem.storage_jacobian(y) + np.testing.assert_array_equal(dynamic[N:3 * N], problem.electronic_problem.residual(y[:3 * N], dot[:3 * N])[N:3 * N]) + for species, block in enumerate(blocks): + rate = A[:, species, 0] * dot[blocks[0]] + A[:, species, 1] * dot[blocks[1]] + np.testing.assert_array_equal(dynamic[block], base[block] - device.ion_geometry.cell_measures_m * rate) + assert problem.inventory_rate_m2_s(y, dot, species=device.ion_species_names[species]) == math.fsum((device.ion_geometry.cell_measures_m * rate).tolist()) + inventory_gradient = -np.asarray(K[block, :].sum(axis=0)).ravel() + for coordinate, coordinate_block in enumerate(blocks): + expected = -device.ion_geometry.cell_measures_m * A[:, species, coordinate] + np.testing.assert_array_equal(K[block, coordinate_block].toarray(), np.diag(expected)) + np.testing.assert_array_equal(inventory_gradient[coordinate_block], -expected) + assert K[blocks[0], blocks[1]].nnz == K[blocks[1], blocks[0]].nnz == 13 + + +@pytest.mark.parametrize("alpha", [0.0, 2.5]) +def test_every_original_Fy_and_storage_row_matches_represented_directional_inputs(case, alpha): + device, problem, y = case + rng = np.random.default_rng(40881) + direction = rng.uniform(-0.1, 0.1, device.state_size) + dot = rng.uniform(-0.2, 0.2, device.state_size) + direction[:37] *= device.electronic_component.thermal_voltage_V + dot[:37] *= device.electronic_component.thermal_voltage_V + h = 1e-5 + yp, ym = y + h * direction, y - h * direction + dp, dm = dot + alpha * h * direction, dot - alpha * h * direction + # The intended tiny boundary direction rounds when added to order-one phi. + # Account for actual input increments, retaining every row and old scale. + represented_y = (yp - ym) / (2 * h) + represented_dot = (dp - dm) / (2 * h) + J, K = problem.jacobian(y, dot, alpha=alpha), problem.storage_jacobian(y) + numerical = (problem.residual(yp, dp) - problem.residual(ym, dm)) / (2 * h) + analytic = J @ represented_y + K @ (represented_dot - alpha * represented_y) + original_scale = abs(J) @ abs(direction) + error = float(np.max(abs(analytic - numerical) / np.maximum(original_scale, np.finfo(float).tiny))) + print(f"shared occupancy={float(np.max(sum(device.fields_by_species(y, voltage_V=0.002)[3]) / device.positive_ion_site_limit_m3)):.9g} alpha={alpha:g}: full represented FD {error:.9g}") + assert error < 2e-7 + np.testing.assert_array_equal(J.toarray(), (problem.jacobian(y, dot) + alpha * K).toarray()) + for row in (0, 36): + assert J[row, row] == 1.0 and J[row, :].nnz == 1 and K[row, :].nnz == 0 + + +def decimal_density(reference_plus, reference_minus, plus, minus, capacity): + wplus, wminus = (reference_plus + plus).exp(), (reference_minus + minus).exp() + denominator = Decimal(1) + wplus + wminus + return capacity * wplus / denominator, capacity * wminus / denominator + + +@pytest.mark.parametrize("motion", ["finite", "common_tiny", "opposite_tiny", "partner_tiny"]) +def test_paired_secant_matches_independent_100_digit_physical_difference(motion): + capacity = 2e24 + refp, refn = np.log(0.5) - np.log(0.2), np.log(0.3) - np.log(0.2) + oldp, oldn = 0.4, -0.3 + newp, newn = oldp, oldn + if motion == "finite": + newp += 0.08 + newn -= 0.06 + elif motion == "common_tiny": + newp, newn = np.nextafter(oldp, np.inf), np.nextafter(oldn, np.inf) + elif motion == "opposite_tiny": + newp, newn = np.nextafter(oldp, np.inf), np.nextafter(oldn, -np.inf) + else: + newn = np.nextafter(oldn, np.inf) + actual = shared_site_secant_m3(*(np.array([value]) for value in (capacity, refp, refn, oldp, oldn, newp, newn))) + with localcontext() as context: + context.prec = 100 + values = [Decimal.from_float(float(value)) for value in (capacity, refp, refn, oldp, oldn, newp, newn)] + C, rp, rn, ap, an, bp, bn = values + before, after = decimal_density(rp, rn, ap, an, C), decimal_density(rp, rn, bp, bn, C) + expected = [float(after[index] - before[index]) for index in range(2)] + for observed, oracle in zip(actual, expected): + np.testing.assert_allclose(observed[0], oracle, rtol=2e-13, atol=0.0) + assert observed[0] != 0.0 + if motion == "partner_tiny": + assert actual[0][0] < 0.0 and actual[1][0] > 0.0 + + +def test_zero_partner_primitive_reduces_to_independent_logistic_limit(): + C, P = np.array([2e24]), np.array([7e23]) + A = shared_site_coordinate_jacobian_m3(P, np.zeros(1), C) + H = shared_site_coordinate_hessian_m3(P, np.zeros(1), C) + np.testing.assert_array_equal(A[:, 0, 0], P * (1 - P / C)) + np.testing.assert_allclose(H[:, 0, 0, 0], P * (1 - P / C) * (1 - 2 * P / C), rtol=2e-13) + assert np.count_nonzero(A) == 1 and np.count_nonzero(H) == 1 + + +def test_zero_negative_diffusivity_still_has_coupled_physical_storage(): + device = compile_domain(prepare_confined_shared_site_ion_device(negative_diffusivity_m2_s=0.0)) + problem, y = Ionic1DProblem(device), device.initial_state().u + plus, minus = device.ion_species_slices + np.testing.assert_array_equal(problem.ion_fluxes(y, species="negative"), np.zeros(12)) + K = problem.storage_jacobian(y) + assert K[minus, plus].nnz == 13 and np.all(K.diagonal()[minus] < 0.0) + dot = np.zeros(device.state_size) + dot[plus] = 0.1 + assert problem.inventory_rate_m2_s(y, dot, species="negative") < 0.0 + assert np.all(problem.residual(y, dot)[minus] > 0.0) + + +def test_shared_source_capacity_flags_and_saturation_refuse_explicitly(device): + original = prepare_confined_shared_site_ion_device() + for name, value, message in (("P_lim_neg", 3e24, "common"), ("P0_neg", 1e24, "summed occupancy")): + data = original.to_input().editing_data() + next(layer for layer in data["layers"] if layer["id"] == "absorber")["parameters"][name] = value + prepared = resolve_device(DeviceInput.model_validate(data), original.defaults, original.resources, sources=original.sources) + with pytest.raises(CapabilityError, match=message): + compile_domain(prepared) + with pytest.raises(ValueError, match="ionic binding"): + replace(device, ion_site_contract="independent_finite_sites") + saturated = device.initial_state().u.copy() + saturated[3 * device.node_count:] = 1000.0 + with pytest.raises(ValueError, match="saturated|vacancy"): + device.fields_by_species(saturated) + with pytest.raises(CapabilityError, match="interface exchange"): + compile_ionic_device_1d(original, ion_domain_layer="absorber", ion_domain_endpoints=("blocking", "transmissive")) diff --git a/tests/integration/test_shared_site_ionic_solvers_1d.py b/tests/integration/test_shared_site_ionic_solvers_1d.py new file mode 100644 index 00000000..62d2dc7e --- /dev/null +++ b/tests/integration/test_shared_site_ionic_solvers_1d.py @@ -0,0 +1,287 @@ +"""Coupled shared-capacity inventories, physical secants and a bounded real history.""" + +from dataclasses import replace +from decimal import Decimal, localcontext +import hashlib +import json +import math + +import numpy as np +import pytest +from threadpoolctl import threadpool_limits + +from examples.research_1d.ionic_steady import controls as steady_controls +from examples.research_1d.ionic_transient import controls as time_controls, protocol +from examples.research_1d.shared_site_ionic import compile_case, run_wave +from solarlab.contracts.units import ELEMENTARY_CHARGE_C as Q +from solarlab.equations.ionic_1d import Ionic1DProblem +from solarlab.experiments import ionic_transient as driver +from solarlab.solvers.nonlinear.ionic_1d import ConstrainedIonic1DProblem, diagnostics as ionic_diagnostics +from solarlab.solvers.time.ionic_backward_euler import IonicBackwardEuler1DStep, step_accounting + + +@pytest.fixture(scope="module", autouse=True) +def blas1(): + with threadpool_limits(limits=1): + yield + + +@pytest.fixture(scope="module") +def case(): + device = compile_case() + original = Ionic1DProblem(device, voltage_V=0.002) + constrained = ConstrainedIonic1DProblem(original, device.ion_node_count - 1) + y = device.initial_state(voltage_V=0.002).u.copy() + N, M = device.node_count, device.ion_node_count + x, xp = np.linspace(0, np.pi, N), np.linspace(0, np.pi, M) + y[:N] += 0.001 * np.sin(x) + y[N:2 * N] += 0.02 * np.sin(x) + y[2 * N:3 * N] -= 0.03 * np.sin(x) + y[device.ion_species_slices[0]] += 0.04 * np.cos(xp) + y[device.ion_species_slices[1]] -= 0.03 * np.cos(xp) + return device, original, constrained, y + + +def directional_error(problem, y, N): + direction = np.random.default_rng(8813).uniform(-0.05, 0.05, y.size) + direction[:N] *= 0.025 + h = 1e-5 + matrix = problem.jacobian(y) + measured = (problem.residual(y + h * direction) - problem.residual(y - h * direction)) / (2 * h) + scale = np.maximum(abs(matrix) @ abs(direction), np.finfo(float).tiny) + return float(np.max(abs(matrix @ direction - measured) / scale)) + + +def test_each_constraint_uses_full_coupled_storage_gradient_and_preserves_other_rows(case): + device, original, constrained, y = case + assert (device.node_count, device.ion_node_count, device.state_size) == (37, 13, 137) + before, after = original.residual(y), constrained.residual(y) + old_J, J = original.jacobian(y).toarray(), constrained.jacobian(y).toarray() + K = original.storage_jacobian(y).toarray() + populations = device.fields_by_species(y, voltage_V=0.002)[3] + mask = np.ones(device.state_size, dtype=bool) + mask[list(constrained.constraint_rows.values())] = False + np.testing.assert_array_equal(after[mask], before[mask]) + np.testing.assert_array_equal(J[mask], old_J[mask]) + for species, block, density in zip(device.ion_species_names, device.ion_species_slices, populations): + row = constrained.constraint_rows[species] + inventory = math.fsum((device.ion_geometry.cell_measures_m * density).tolist()) + assert after[row] == inventory - constrained.inventory_targets_m2[species] + np.testing.assert_array_equal(J[row], -np.sum(K[block], axis=0)) + own = device.ion_species_names.index(species) + partner = device.ion_species_slices[1 - own] + assert np.all(J[row, block] > 0.0) and np.all(J[row, partner] < 0.0) + expected_cross = -device.ion_geometry.cell_measures_m * populations[0] * populations[1] / device.positive_ion_site_limit_m3 + np.testing.assert_allclose(J[row, partner], expected_cross, rtol=3e-15) + error = directional_error(constrained, y, device.node_count) + print(f"shared constrained J directional error={error:.9g}") + assert error < 3e-7 + + +def test_original_dropped_rows_and_each_signed_charge_deposition_remain_visible(case): + device, original, constrained, y = case + info = ionic_diagnostics(constrained, y) + for species, block in zip(device.ion_species_names, device.ion_species_slices): + one = info["ion_species"][species] + np.testing.assert_array_equal(one["ion_balance_m2_s"], original.residual(y)[block]) + assert one["original_dropped_balance_m2_s"] == original.residual(y)[constrained.constraint_rows[species]] + np.testing.assert_allclose(one["deposited_ion_net_charge_C_m2"], one["physical_ion_net_charge_C_m2"], + rtol=5e-13, atol=1e-18) + + +def shared_delta_oracle(device, before, after, node): + """100-digit coupled softmax difference of the represented input numbers.""" + def d(value): + return Decimal.from_float(float(value)) + + with localcontext() as context: + context.prec = 100 + references = (device.positive_ion_logit_reference[node], device.negative_ion_logit_reference[node]) + capacity = d(device.positive_ion_site_limit_m3[node]) + + def densities(coordinates): + weights = [(d(reference) + d(coordinate)).exp() + for reference, coordinate in zip(references, coordinates)] + denominator = Decimal(1) + sum(weights) + return tuple(capacity * value / denominator for value in weights) + + old, new = densities(before), densities(after) + return tuple(float(b - a) for a, b in zip(old, new)) + + +@pytest.mark.parametrize("changes", [ + (np.nextafter(0.4, np.inf), -0.2), + (0.4, np.nextafter(-0.2, -np.inf)), + (0.40000000000001, -0.19999999999999), + (0.41, -0.23), +]) +def test_physical_BE_secants_include_partner_motion_and_match_decimal_oracle(case, changes): + device, _, _, _ = case + blocks = device.ion_species_slices + old_y = device.initial_state(voltage_V=0.002).u.copy() + old_y[blocks[0]], old_y[blocks[1]] = 0.4, -0.2 + old = device.state(old_y, voltage_V=0.002) + step = IonicBackwardEuler1DStep(Ionic1DProblem(device, voltage_V=0.004), old, 0.25) + y = step.initial_coordinates(voltage_lift=True) + y[blocks[0]], y[blocks[1]] = changes + _, rates = step.inventory_rates_m2_s(y) + for node in (0, device.ion_node_count // 2, device.ion_node_count - 1): + expected = shared_delta_oracle(device, (0.4, -0.2), changes, node) + measured = [rate[node] * step.dt_s / device.ion_geometry.cell_measures_m[node] for rate in rates] + np.testing.assert_allclose(measured, expected, rtol=3e-13, atol=0.0) + if changes[1] == -0.2: + assert np.all(rates[0] > 0.0) and np.all(rates[1] < 0.0) + residual, original = step.residual(y), step.endpoint.residual(y) + for block, rate in zip(blocks, rates): + np.testing.assert_array_equal(residual[block], original[block] - rate) + np.testing.assert_array_equal(residual[:device.node_count], original[:device.node_count]) + + +@pytest.fixture(scope="module") +def moving(case): + device, _, _, old_y = case + old = device.state(old_y, voltage_V=0.002) + step = IonicBackwardEuler1DStep(Ionic1DProblem(device, voltage_V=0.004), old, 0.25) + y = step.initial_coordinates(voltage_lift=True) + for index, block in enumerate(device.ion_species_slices): + y[block] += (index + 1) * 0.01 * np.sin(np.linspace(0, np.pi, device.ion_node_count)) + return device, step, y + + +def test_BE_J_has_all_coupled_storage_entries_and_no_inventory_substitution(moving): + device, step, y = moving + J = step.jacobian(y) + expected = step.endpoint.jacobian(y) + step.endpoint.storage_jacobian(y) / step.dt_s + np.testing.assert_array_equal(J.toarray(), expected.toarray()) + positive, negative = device.ion_species_slices + storage = step.endpoint.storage_jacobian(y) + assert storage[positive, negative].nnz == device.ion_node_count + assert storage[negative, positive].nnz == device.ion_node_count + error = directional_error(step, y, device.node_count) + print(f"shared physical BE J directional error={error:.9g}") + assert error < 2e-7 + + +def test_shared_motion_has_signed_all_face_current_and_complete_Maxwell_identity(moving): + device, step, y = moving + info = step_accounting(step, y) + species = info["ion_species"] + expected_current = Q * (species["positive"]["ion_particle_fluxes_m2_s"] + - species["negative"]["ion_particle_fluxes_m2_s"]) + np.testing.assert_array_equal(info["ion_conduction_current_density_A_m2"], expected_current) + carriers, rates = step.inventory_rates_m2_s(y) + expected_charge_rate = Q * (carriers[1] - carriers[0]) + expected_charge_rate[device.ion_node_indices] += Q * (rates[0] - rates[1]) + np.testing.assert_array_equal(info["charge_inventory_rate_A_m2"], expected_charge_rate) + for name, block in zip(device.ion_species_names, device.ion_species_slices): + np.testing.assert_array_equal(species[name]["ion_balance_m2_s"], step.residual(y)[block]) + scale = max(1.0, float(np.max(abs(info["total_current_density_A_m2"]))), + float(np.max(abs(info["predicted_maxwell_cell_jump_A_m2"])))) + assert np.max(abs(info["maxwell_identity_error_A_m2"])) < 128 * np.finfo(float).eps * scale + assert np.max(abs(info["readback_maxwell_identity_error_A_m2"])) < 256 * np.finfo(float).eps * scale + assert info["total_current_density_A_m2"].shape == (38,) + assert info["physical_certificate_status"] == "not_evaluated" + + +def test_shared_dynamic_norm_keeps_existing_independent_species_limits(case): + device, _, _, _ = case + settings, norm = driver._newton_settings(device, time_controls()) + for block in device.ion_species_slices: + np.testing.assert_array_equal(settings.scaling.row_weights[block], np.full(13, 13 / 1e6)) + values = np.zeros(device.state_size) + values[block] = 1.01 + assert norm(values) == 1.01 + assert not settings.gates + + +@pytest.fixture(scope="module") +def wave(tmp_path_factory): + directory = tmp_path_factory.mktemp("shared_wave") + device, steady, history = run_wave(directory) + return device, steady, history, directory + + +def test_real_high_occupancy_cold_steady_keeps_both_inventories_and_capacity(wave): + device, steady, _, _ = wave + assert steady.accepted, (steady.termination, steady.error) + assert steady.newton.accepted and not steady.qualification + assert all(check.passed for check in steady.checks) + total = steady.state.positive_ion_density_m3 + steady.state.negative_ion_density_m3 + assert np.all(total > 0.0) and np.all(total < device.positive_ion_site_limit_m3) + assert np.max(total / device.positive_ion_site_limit_m3) > 0.5 + np.testing.assert_array_equal(steady.initial_state.u, device.initial_state(voltage_V=0.002).u) + for species in device.ion_species_names: + one = steady.diagnostics["ion_species"][species] + assert one["inventory_relative_error"] <= 1e-12 + assert one["ion_balance_l1_m2_s"] <= 1e6 and one["ion_flux_max_m2_s"] <= 1e6 + assert abs(one["original_dropped_balance_m2_s"]) <= 1e6 + assert np.max(abs(getattr(steady.state, f"{species}_ion_density_m3") + / getattr(device, f"{species}_ion_reference_m3") - 1)) > 0.001 + + +def test_real_four_steps_keep_all_species_active_and_inventory_balance(wave): + device, steady, history, _ = wave + assert steady.accepted and history is not None + assert history.completed, [(a.termination, a.error) for a in history.failed_attempts] + assert len(history.attempts) == 4 and len(history.states) == 5 + np.testing.assert_array_equal(history.accepted_times_s, protocol(4).times_s) + np.testing.assert_array_equal(history.states[0].u, steady.state.u) + for species in device.ion_species_names: + density = f"{species}_ion_density_m3" + assert np.max(abs(getattr(history.states[-1], density) / getattr(steady.state, density) - 1)) > 1e-6 + initial_inventory = steady.state.domain_inventories_m2[species] + bound = 0.0 + for index, attempt in enumerate(history.attempts, 1): + one = attempt.accounting["ion_species"][species] + assert math.fsum(abs(one["ion_balance_m2_s"]).tolist()) <= 1e6 + bound += (attempt.end_s - attempt.start_s) * ( + math.fsum(abs(one["ion_balance_m2_s"]).tolist()) + + math.fsum(abs(one["ion_inventory_readback_error_m2_s"]).tolist())) + assert abs(history.states[index].domain_inventories_m2[species] - initial_inventory) <= bound + 2 * index * np.spacing(initial_inventory) + for state in history.states: + assert np.all(state.positive_ion_density_m3 + state.negative_ion_density_m3 < device.positive_ion_site_limit_m3) + for attempt in history.attempts: + assert attempt.accounting["total_current_density_A_m2"].shape == (38,) + assert np.max(abs(attempt.accounting["maxwell_identity_error_A_m2"])) < 1e-12 + assert history.physical_certificate_status == "not_evaluated" + + +def test_shared_initial_pin_cannot_rebind_the_site_law_or_partner_density(wave, tmp_path): + device, steady, _, directory = wave + assert steady.accepted + for mutation in ("site_law", "negative_density"): + document = json.loads((directory / "Steady.json").read_text()) + if mutation == "site_law": + document["result"]["binding_manifest"]["ion_model"]["site_contract"] = "independent_finite_sites" + else: + document["result"]["state"]["negative_ion_density_m3"][0] *= 1.001 + raw = json.dumps(document, allow_nan=False).encode() + path = tmp_path / (mutation + ".json") + path.write_bytes(raw) + with pytest.raises(ValueError): + driver.load_ionic_steady_initial(device, path, hashlib.sha256(raw).hexdigest(), controls=steady_controls(13)) + + +def test_real_prefix_and_first_refusal_survive_without_repeating_a_solve(wave, monkeypatch): + device, _, history, directory = wave + assert history is not None and history.completed + path = directory / "Steady.json" + initial = driver.load_ionic_steady_initial(device, path, hashlib.sha256(path.read_bytes()).hexdigest(), controls=steady_controls(13)) + calls = [] + + def first_then_stop(*args, **kwargs): + calls.append(1) + if len(calls) == 1: + return history.attempts[0].newton + raise ValueError("injected shared second-step refusal") + + monkeypatch.setattr(driver, "solve_newton", first_then_stop) + result = driver.solve_ionic_transient(device, initial, protocol(4), options=time_controls()) + assert len(calls) == 2 and len(result.states) == 2 and len(result.failed_attempts) == 1 + np.testing.assert_array_equal(result.states[-1].u, history.states[1].u) + np.testing.assert_array_equal(result.accepted_times_s, [0.0, 0.25]) + assert not result.completed and "second-step refusal" in result.failed_attempts[0].error + forged = replace(initial, state=replace(initial.state, + negative_ion_density_m3=initial.state.negative_ion_density_m3 * 1.001)) + with pytest.raises(ValueError, match="pinned steady evidence"): + driver.solve_ionic_transient(device, forged, protocol(4), options=time_controls()) diff --git a/tests/integration/test_steady_2d.py b/tests/integration/test_steady_2d.py new file mode 100644 index 00000000..cd682a26 --- /dev/null +++ b/tests/integration/test_steady_2d.py @@ -0,0 +1,224 @@ +"""2D Newton adapter algebra/units/failure checks and saved native readback.""" + +from __future__ import annotations + +from dataclasses import replace +import hashlib +import json +import os +from pathlib import Path + +import numpy as np +import pytest +from threadpoolctl import threadpool_limits + +from examples.research_1d.steady import load_device +from examples.research_2d import dc_assembly, steady as example +from solarlab.device.compile_2d import compile_device_2d +from solarlab.equations.dc_2d import DC2DProblem +from solarlab.experiments.transient_results import _encode +from solarlab.experiments.two_dimensional.inputs import JV2DInput +from solarlab.solvers.nonlinear import steady_2d as solver +from solarlab.solvers.nonlinear.newton import NewtonResult, Termination +from solarlab.solvers.nonlinear.problem import GateOutcome, state_digest + +Q = 1.602176634e-19 + + +@pytest.fixture(scope="module", autouse=True) +def blas1(): + with threadpool_limits(limits=1): + yield + + +@pytest.fixture(scope="module") +def case(): + device = compile_device_2d(load_device(), dc_assembly.spatial_input()) + _, u = dc_assembly.coordinates(device, lateral=True) + return device, u, DC2DProblem(device, .002, 1.0), solver.Steady2DOptions() + + +def test_full195_row_scaling_units_and_original_step_budget(case): + device, u, problem, options = case + assert device.geometry.shape == (13, 5) and device.node_count == 65 + settings, norm = solver._settings(device, options, lambda x: GateOutcome("probe", True, 0.0, 1.0)) + assert norm is None and settings.scaling.row_weights.shape == (195,) + np.testing.assert_array_equal(settings.step_control.max_step[:65], .1) + np.testing.assert_array_equal(settings.step_control.max_step[65:], 2.0) + assert settings.budget == options.electronic.budget() + contacts = device.geometry.contact_nodes + for offset in (65, 130): + np.testing.assert_array_equal(settings.scaling.row_weights[offset + contacts], 1.0 / 1e-11) + interior = np.setdiff1d(np.arange(65), contacts) + expected = 130 * Q / (device.geometry.lateral_length_m * 1e-8) + np.testing.assert_array_equal(settings.scaling.row_weights[offset + interior], expected) + data = solver.diagnostics(problem, u, options) + residual = problem.residual(u)[65:].reshape(2, 65).copy() + residual[:, contacts] = 0.0 + assert data["carrier_balance_bound_A_m2"] == Q * np.sum(abs(residual)) / device.geometry.lateral_length_m + assert data["original_rows"] == tuple(range(195)) + assert not all(check.passed for check in solver.checks(data, options)) + + +def test_gauss_scale_uses_area_and_both_axis_face_lengths(case): + device, _u, _problem, _options = case + g = device.geometry.contract_geometry + reference = max(abs(device.column.built_in_potential_V), device.thermal_voltage_V) + density = device.extrude(np.maximum(np.maximum(device.column.parameters.acceptor_density_m3, + device.column.parameters.donor_density_m3), 1.0)) + expected = [] + for node in range(device.node_count): + incident = np.any(g.pairs == node, axis=1) + charge_scale = Q * density[node] * g.volumes[node] + capacitance_scale = reference * np.sum(device.face_capacitance_F_m2[incident] * g.face_measures[incident]) + expected.append(1.0 / (charge_scale + capacitance_scale)) + expected = np.asarray(expected) + expected[device.geometry.contact_nodes] = 1.0 / reference + np.testing.assert_allclose(solver._poisson_weights(device), expected, rtol=4*np.finfo(float).eps, atol=0.0) + center = 6 * device.geometry.nx + 2 + assert np.sum(np.any(g.pairs[:device.geometry.x_face_count] == center, axis=1)) == 2 + assert np.sum(np.any(g.pairs[device.geometry.x_face_count:] == center, axis=1)) == 2 + + +def test_terminal_source_and_per_cell_physical_balances_are_conservative(case): + device, u, problem, options = case + # A lateral contact perturbation exercises the physical boundary-cell + # inflow term even though this deliberately fails reservoir constraints. + u = u.copy() + u[1] += .001 + u[device.node_count + 1] += .02 + data = solver.diagnostics(problem, u, options) + contacts = device.geometry.contact_nodes + interior = np.setdiff1d(np.arange(device.node_count), contacts) + physical = data["physical_carrier_balance_per_depth_m_s"] + rows = problem.residual(u)[device.node_count:].reshape(2, device.node_count) + np.testing.assert_allclose(physical[:, interior], rows[:, interior], rtol=2e-14, atol=1.0) + scale = max(np.max(abs(physical)), np.max(abs(data["net_pair_source_per_depth_m_s"])), 1.0) + assert np.max(abs(physical[:, contacts])) / scale < 2e-14 + np.testing.assert_allclose(np.sum(physical, axis=1), data["source_terminal_particle_balance_per_depth_m_s"], rtol=2e-13, atol=1.0) + np.testing.assert_array_equal(data["terminal_current_per_depth_A_m"] / device.geometry.lateral_length_m, + data["terminal_mean_current_density_A_m2"]) + assert not np.any(data["lateral_boundary_particle_flux_m2_s"]) + assert not np.any(data["lateral_boundary_displacement_C_m2"]) + + +def test_width_normalizes_real2d_carrier_and_current_bounds(case): + device, _u, _problem, options = case + wide = compile_device_2d(load_device(), JV2DInput(kind="jv_2d", lateral_length="2 um", Nx=4, + Ny_per_layer=4, lateral_bc="neumann")) + column, u = dc_assembly.coordinates(device, lateral=False) + a = solver.diagnostics(DC2DProblem(device, .002, 1.0), u, options) + b = solver.diagnostics(DC2DProblem(wide, .002, 1.0), wide.extrude_coordinates(column), options) + for key in ("carrier_balance_bound_A_m2", "source_terminal_current_bound_A_m2", "cross_section_terminal_spread_A_m2"): + np.testing.assert_allclose(a[key], b[key], rtol=2e-13, atol=1e-12) + np.testing.assert_allclose(b["terminal_current_per_depth_A_m"], 2 * a["terminal_current_per_depth_A_m"], rtol=2e-14) + + +def test_lateral_seed_changes_true_neighbors_and_keeps_contacts(case): + device, _u, _problem, _options = case + column, uniform = dc_assembly.coordinates(device, lateral=False) + state = example.lateral_initial(device, column, voltage_V=.002) + ids = device.geometry.contact_nodes + for offset in (0, device.node_count, 2 * device.node_count): + np.testing.assert_array_equal(state.u[offset + ids], uniform[offset + ids]) + problem = DC2DProblem(device, .002, 1.0) + fluxes = problem.fluxes(state.u) + assert np.any(fluxes.electron.flux[:device.geometry.x_face_count] != 0.0) + assert np.any(fluxes.hole.flux[:device.geometry.x_face_count] != 0.0) + matrix = problem.jacobian(state.u) + center = 6 * device.geometry.nx + 2 + assert matrix[center, center - 1] != 0 and matrix[center, center + 1] != 0 + + +def test_failed_newton_retains_original2d_evidence_and_bad_initial_refused(case, monkeypatch): + device, u, problem, options = case + def failed(p, initial, settings, **kwargs): + np.testing.assert_array_equal(p.residual(initial), problem.residual(initial)) + np.testing.assert_array_equal(p.jacobian(initial).toarray(), problem.jacobian(initial).toarray()) + return NewtonResult(initial, False, Termination.BUDGET_EXHAUSTED, 2.0, (), (), 1, 1, + state_digest(initial), "synthetic no-solve budget probe") + monkeypatch.setattr(solver, "solve_newton", failed) + state = device.state(u, voltage_V=.002) + result = solver.solve_steady_state_2d(device, voltage_V=.002, generation_scale=1.0, + options=options, initial_state=state) + assert not result.accepted and result.termination == "budget_exhausted" + assert result.newton is not None and result.diagnostics is not None + assert result.diagnostics["original_rows"] == tuple(range(195)) + assert result.state is not None and result.state.potential_V.shape == (13, 5) + with pytest.raises(ValueError, match="same device"): + solver.solve_steady_state_2d(device, voltage_V=.002, generation_scale=1.0, + initial_state=replace(state, device_sha256="wrong")) + + +def test_saved_failed_path_reader_is_solver_free(case, monkeypatch, tmp_path): + device, _u, _problem, _options = case + record = {"schema": example.SCHEMA, "qualification": False, "completed": False, + "geometry": {"shape_Ny_Nx": (13, 5)}, "requested_targets": [{"voltage_V": .002, "generation_scale": 0.0}], + "attempts": [{"target": {"voltage_V": .002, "generation_scale": 0.0}, "accepted": False, + "termination": "synthetic_failure", "error": "fixture only"}], "compiled_identity": device.identity} + path = tmp_path / "Failed.json" + path.write_text(json.dumps(_encode(record)) + "\n") + def forbidden(*args, **kwargs): + raise AssertionError("saved reader compiled or solved") + monkeypatch.setattr(example, "compile_device_2d", forbidden) + monkeypatch.setattr(example, "solve_steady_state", forbidden) + monkeypatch.setattr(example, "solve_steady_state_2d", forbidden) + value = example.read_result(path, hashlib.sha256(path.read_bytes()).hexdigest()) + assert not value["completed"] and value["attempts"][0]["termination"] == "synthetic_failure" + with pytest.raises(ValueError, match="SHA-256"): + example.read_result(path, "wrong") + + +def test_illumination_completion_uses_cold_seed_without_replaying_dark(case, monkeypatch, tmp_path): + """Synthetic branch-selection fixture; no seed or2D Newton is executed.""" + device, u, _problem, _options = case + state = device.state(u, voltage_V=.002) + fake_prior = {"compiled_identity": device.identity, "attempts": [ + {"target": {"voltage_V": .002, "generation_scale": 0.0}, "accepted": True, + "result_2d": {"state": {"u": state.u, "potential_V": state.potential_V, + "electron_density_m3": state.electron_density_m3, "hole_density_m3": state.hole_density_m3}}}, + {"target": {"voltage_V": .002, "generation_scale": 1.0}, "accepted": False, + "error": "synthetic warm-seed failure"}]} + monkeypatch.setattr(example, "compile_device_2d", lambda *args: device) + monkeypatch.setattr(example, "read_result", lambda *args: fake_prior) + monkeypatch.setattr(example, "steady_checks", lambda *args: (GateOutcome("synthetic_branch_check", True, 0.0, 1.0),)) + calls = [] + def seed_probe(*args, **kwargs): + calls.append(kwargs) + raise RuntimeError("synthetic cold-seed entry observed; no solve") + monkeypatch.setattr(example, "solve_steady_state", seed_probe) + monkeypatch.setattr(example, "solve_steady_state_2d", lambda *args, **kwargs: pytest.fail("unexpected2D solve")) + result = example.run_case(tmp_path / "Branch.json", illumination_only=True, + prior_result=tmp_path / "Prior.json", prior_sha256="synthetic") + assert len(calls) == 1 and calls[0]["generation_scale"] == 1.0 and calls[0]["initial_state"] is None + assert result["requested_targets"] == [{"voltage_V": .002, "generation_scale": 1.0}] + assert result["auxiliary_1d_seed_calls"] == 1 and result["full_2d_newton_calls"] == 0 + assert result["preserved_prior_path"]["dark_revalidated_without_newton"] + + +def test_saved_native_195_coordinate_path_has_original_physical_gates(monkeypatch): + path, sha = os.environ.get("SOLARLAB_STEADY2D_RESULT"), os.environ.get("SOLARLAB_STEADY2D_SHA256") + if path is None or sha is None: + pytest.skip("bind the sole saved native path; never repeat its solve") + def forbidden(*args, **kwargs): + raise AssertionError("saved evidence review attempted a new physics solve") + monkeypatch.setattr(example, "compile_device_2d", forbidden) + monkeypatch.setattr(example, "solve_steady_state", forbidden) + monkeypatch.setattr(example, "solve_steady_state_2d", forbidden) + record = example.read_result(Path(path), sha) + assert record["completed"] and len(record["attempts"]) in (1, 2) + assert record["full_2d_newton_calls"] == record["auxiliary_1d_seed_calls"] == len(record["attempts"]) + if len(record["attempts"]) == 1: + prior = record["preserved_prior_path"] + assert prior["source_sha256"] == "f9048faec6ba7699859e41f1e0276ffd5bd6689787ecea64b22f08941795083b" + assert prior["dark_revalidated_without_newton"] + assert prior["accepted_dark_2d_attempt"]["accepted"] + assert not prior["first_failed_illumination_attempt"]["accepted"] + for attempt in record["attempts"]: + result = attempt["result_2d"] + assert attempt["accepted"] and result["newton"]["accepted"] + assert all(check["passed"] for check in result["checks"]) + assert result["state"]["u"].shape == (195,) + assert result["state"]["potential_V"].shape == (13, 5) + assert np.any(result["initial_diagnostics"]["lateral_current_density_A_m2"] != 0.0) + assert result["initial_provenance"]["auxiliary_seed_is_2d_completion"] is False diff --git a/tests/integration/test_steady_jv_2d.py b/tests/integration/test_steady_jv_2d.py new file mode 100644 index 00000000..efb74208 --- /dev/null +++ b/tests/integration/test_steady_jv_2d.py @@ -0,0 +1,523 @@ +"""Accepted-only2D rebasing, admission, failed prefix and saved metric checks.""" + +from __future__ import annotations + +from dataclasses import asdict +import hashlib +import json +import os +from pathlib import Path + +import numpy as np +import pytest +from threadpoolctl import threadpool_limits + +from examples.research_1d.steady import load_device +from examples.research_2d import dc_assembly, jv as example +from solarlab.device.compile_2d import compile_device_2d +from solarlab.equations.dc_2d import CompiledDevice2D +from solarlab.experiments.two_dimensional.inputs import JV2DInput +from solarlab.experiments.jv import steady_2d as driver +from solarlab.experiments.transient_results import _decode, _encode +from solarlab.solvers.nonlinear.newton import NewtonResult, Termination +from solarlab.solvers.nonlinear.problem import GateOutcome, state_digest +from solarlab.solvers.nonlinear.steady_2d import Steady2DResult + + +@pytest.fixture(scope="module", autouse=True) +def blas1(): + with threadpool_limits(limits=1): + yield + + +@pytest.fixture(scope="module") +def case(): + device = compile_device_2d(load_device(), dc_assembly.spatial_input()) + _, u = dc_assembly.coordinates(device, lateral=True) + return device, device.state(u, voltage_V=.002) + + +def test_reference_only_rebase_preserves_all2d_fields_and_dtype(case): + device, state = case + next_state = driver._rebase(device, state, .025) + assert next_state.u.shape == (195,) and next_state.potential_V.shape == (13, 5) + np.testing.assert_array_equal(next_state.potential_V, state.potential_V) + for field in ("electron_density_m3", "hole_density_m3"): + np.testing.assert_allclose(getattr(next_state, field), getattr(state, field), rtol=3e-14, atol=0.0) + expected = device.column.rebase_coordinates(state.u.reshape(3, 13, 5)[:, :, 0].ravel(), .002, .025) + np.testing.assert_array_equal(next_state.u.reshape(3, 13, 5)[:, :, 0].ravel(), expected) + + +def test_metrics_reuse_sampler_and_require_explicit_irradiance(): + v, j = np.asarray([0.0, .5, 1.0]), np.asarray([100.0, 50.0, -5.0]) + no_power = driver._metrics(v, j, None) + explicit = driver._metrics(v, j, 1000.0) + assert no_power.efficiency is None and explicit.efficiency == explicit.maximum_power_W_m2 / 1000.0 + assert no_power.open_circuit_voltage_V == explicit.open_circuit_voltage_V + assert "piecewise_linear" in explicit.limitation + assert driver._metrics(v[:1], j[:1], None).limitation == "insufficient_accepted_points" + + +def test_accepted_only_continuation_retains_failed_and_unattempted_prefix(case, monkeypatch, tmp_path): + """Synthetic control-flow fixture; no numerical solve or PV claim.""" + device, initial_state = case + initial = driver.SteadyJV2DInitial(initial_state, 1.0, "synthetic", hashlib.sha256(b"synthetic").hexdigest(), "synthetic") + monkeypatch.setattr(driver, "_admit", lambda *args: (initial_state, 1.0, (GateOutcome("synthetic", True, 0.0, 1.0),))) + monkeypatch.setattr(driver, "steady_diagnostics", lambda *args: {}) + monkeypatch.setattr(driver, "steady_checks", lambda *args: (GateOutcome("synthetic", True, 0.0, 1.0),)) + calls, accepted_states = [], [] + def solve(device, *, voltage_V, generation_scale, options, initial_state, initial_provenance): + calls.append(initial_state) + accepted = len(calls) < 3 + state = initial_state + if not accepted: + changed = state.u.copy() + changed[:device.node_count] += .001 + state = device.state(changed, voltage_V=voltage_V) + else: + accepted_states.append(state) + term = Termination.CONVERGED if accepted else Termination.BUDGET_EXHAUSTED + newton = NewtonResult(state.u, accepted, term, 0.0 if accepted else 2.0, (), (), 1, 1, + state_digest(initial_state.u), "synthetic continuation fixture") + data = {"original_rows": tuple(range(195)), "terminal_current_per_depth_A_m": np.array([-1e-5, -1e-5])} + return Steady2DResult(state, accepted, term.value, newton, initial_state.u, state.u, {}, {}, data, + (GateOutcome("synthetic", True, 0.0, 1.0),), device.identity, voltage_V, generation_scale, + {"numerical": asdict(options)}, {}, {"residual": 1, "jacobian": 1}, 0.0) + monkeypatch.setattr(driver, "solve_steady_state_2d", solve) + requested = np.array([0.0, .025, .05, .075, .1]) + journal = tmp_path / "Journal" + result = driver.run_steady_jv_2d(device, initial, requested, checkpoint_directory=journal) + assert len(calls) == 3 and len(result.attempts) == 3 and not result.completed + np.testing.assert_array_equal(result.voltage_V, requested[:2]) + np.testing.assert_array_equal(result.unattempted_voltage_V, requested[3:]) + np.testing.assert_array_equal(calls[2].u, driver._rebase(device, accepted_states[1], .05).u) + assert result.attempts[-1].solution is not None and not result.attempts[-1].solution.accepted + path = tmp_path / "Prefix.json" + digest = driver.write_steady_jv_2d(result, path) + monkeypatch.setattr(driver, "solve_steady_state_2d", lambda *a, **k: pytest.fail("saved reader solved")) + record = driver.read_steady_jv_2d(path, digest) + assert not record["completed"] and len(record["result"]["attempts"]) == 3 + np.testing.assert_array_equal(record["unattempted_voltage_V"], requested[3:]) + manifest_sha = hashlib.sha256((journal / "Manifest.json").read_bytes()).hexdigest() + checkpoint = driver.read_steady_jv_2d_checkpoint(journal, manifest_sha) + assert checkpoint["finished"] and not checkpoint["completed"] and len(checkpoint["attempts"]) == 3 + with pytest.raises(ValueError, match="failed2D"): + driver.admit_steady_jv_2d_checkpoint(device, journal, manifest_sha) + with pytest.raises(ValueError, match="SHA-256"): + driver.read_steady_jv_2d(path, "wrong") + + +def test_durable_interrupted_point_and_exact_resume_admission(case, monkeypatch, tmp_path): + """Simulated external interruption retains accepted data; no actual solve.""" + device, initial_state = case + initial = driver.SteadyJV2DInitial(initial_state, 1.0, "synthetic", hashlib.sha256(b"synthetic").hexdigest(), "synthetic") + monkeypatch.setattr(driver, "_admit", lambda *a: (initial_state, 1.0, ())) + monkeypatch.setattr(driver, "steady_diagnostics", lambda *a: {}) + monkeypatch.setattr(driver, "steady_checks", lambda *a: (GateOutcome("synthetic", True, 0.0, 1.0),)) + calls = [] + def solve(device, *, voltage_V, generation_scale, options, initial_state, initial_provenance): + calls.append(initial_state) + if len(calls) == 3: + raise KeyboardInterrupt("simulated external wall interruption") + newton = NewtonResult(initial_state.u, True, Termination.CONVERGED, 0.0, (), (), 1, 1, + state_digest(initial_state.u), "synthetic checkpoint fixture") + data = {"original_rows": tuple(range(195)), "terminal_current_per_depth_A_m": np.array([-1e-5, -1e-5])} + return Steady2DResult(initial_state, True, "converged", newton, initial_state.u, initial_state.u, {}, {}, data, + (GateOutcome("synthetic", True, 0.0, 1.0),), device.identity, voltage_V, generation_scale, + {"numerical": asdict(options)}, {}, {"residual": 1, "jacobian": 1}, 0.0) + monkeypatch.setattr(driver, "solve_steady_state_2d", solve) + journal = tmp_path / "Interrupted" + requested = np.array([0.0, .025, .05, .075, .1]) + with pytest.raises(KeyboardInterrupt): + driver.run_steady_jv_2d(device, initial, requested, checkpoint_directory=journal) + sha = hashlib.sha256((journal / "Manifest.json").read_bytes()).hexdigest() + saved = driver.read_steady_jv_2d_checkpoint(journal, sha) + assert not saved["finished"] and saved["active_status"] == "unresolved_or_interrupted" + assert len(saved["attempts"]) == 2 and saved["active_point"]["index"] == 2 + np.testing.assert_array_equal(saved["unattempted_voltage_V"], requested[3:]) + resumed, index = driver.admit_steady_jv_2d_checkpoint(device, journal, sha) + assert resumed.voltage_V == .025 and index == 2 + np.testing.assert_array_equal(resumed.u, calls[1].u) + manifest_path, active_path = journal / "Manifest.json", journal / "Active.json" + manifest_raw, active_raw = manifest_path.read_bytes(), active_path.read_bytes() + member = journal / "Points/00001.json" + member_raw = member.read_bytes() + wrong = _decode(json.loads(member_raw)) + wrong["attempt"]["voltage_V"] = .026 + member.write_text(json.dumps(_encode(wrong))) + manifest = _decode(json.loads(manifest_raw)) + manifest["points"][1]["sha256"] = hashlib.sha256(member.read_bytes()).hexdigest() + manifest_path.write_text(json.dumps(_encode(manifest))) + with pytest.raises(ValueError, match="request/prefix"): + driver.read_steady_jv_2d_checkpoint(journal, hashlib.sha256(manifest_path.read_bytes()).hexdigest()) + member.write_bytes(member_raw) + manifest_path.write_bytes(manifest_raw) + active = _decode(json.loads(active_raw)) + active["voltage_V"] = .051 + active_path.write_text(json.dumps(_encode(active))) + manifest = _decode(json.loads(manifest_raw)) + manifest["active"] = hashlib.sha256(active_path.read_bytes()).hexdigest() + manifest_path.write_text(json.dumps(_encode(manifest))) + with pytest.raises(ValueError, match="exact requested"): + driver.read_steady_jv_2d_checkpoint(journal, hashlib.sha256(manifest_path.read_bytes()).hexdigest()) + active_path.write_bytes(active_raw) + manifest = _decode(json.loads(manifest_raw)) + manifest["finished"] = True + manifest_path.write_text(json.dumps(_encode(manifest))) + with pytest.raises(ValueError, match="finished2D"): + driver.read_steady_jv_2d_checkpoint(journal, hashlib.sha256(manifest_path.read_bytes()).hexdigest()) + manifest_path.write_bytes(manifest_raw) + member.write_bytes(member.read_bytes() + b" ") + with pytest.raises(ValueError, match="member SHA-256"): + driver.read_steady_jv_2d_checkpoint(journal, sha) + + +def test_parent_deadline_stops_before_solver_and_saves_wall_prefix(case, monkeypatch, tmp_path): + import time + device, state = case + initial = driver.SteadyJV2DInitial(state, 1.0, "synthetic", hashlib.sha256(b"synthetic").hexdigest(), "synthetic") + monkeypatch.setattr(driver, "_admit", lambda *a: (state, 1.0, ())) + monkeypatch.setattr(driver, "solve_steady_state_2d", lambda *a, **k: pytest.fail("expired deadline invoked Newton")) + journal = tmp_path / "Expired" + result = driver.run_steady_jv_2d(device, initial, [0.0, .025, .05], checkpoint_directory=journal, + absolute_deadline_s=time.monotonic() - 1.0) + assert not result.completed and result.solver_calls == 0 + assert result.attempts[0].termination == "wave_wall_budget_exhausted" + sha = hashlib.sha256((journal / "Manifest.json").read_bytes()).hexdigest() + saved = driver.read_steady_jv_2d_checkpoint(journal, sha) + assert saved["finished"] and len(saved["attempts"]) == 1 + assert saved["active_point"] is None and not saved["attempts"][0]["solver_called"] + + +def test_initial_admission_rejects_failure_without_solver(case, monkeypatch): + device, _state = case + monkeypatch.setattr(driver, "solve_steady_state_2d", lambda *a, **k: pytest.fail("admission solved")) + text = json.dumps({"schema": "solarlab.classical_2d_steady.research.v1", "completed": False}) + with pytest.raises(ValueError, match="actually completed"): + driver._admit(device, text, hashlib.sha256(text.encode()).hexdigest(), driver.SteadyJV2DOptions().steady) + + +def test_actual_compiled_grain_requires_explicit_matching_initial_before_any_solver(monkeypatch): + if "grain_recombination" not in CompiledDevice2D.__dataclass_fields__: + pytest.skip("actual grain binding has not yet been integrated; no-grain base remains admitted") + data = dc_assembly.spatial_input().editing_data() + data["microstructure"] = {"grain_boundaries": [{"id": "test_grain", "layer_ids": ["absorber"], + "x_position": "0.5 um", "width": "0.05 um", "tau_n": "1 ns", "tau_p": "1 ns"}]} + device = compile_device_2d(load_device(), JV2DInput.model_validate(data)) + assert device.grain_recombination is not None + monkeypatch.setattr(driver, "solve_steady_state_2d", lambda *a, **k: pytest.fail("grain scope reached solver")) + driver._scope(device) + text = json.dumps({"schema": "solarlab.classical_2d_steady.research.v1", "completed": True}) + with pytest.raises(ValueError, match="explicit grain initial"): + driver._admit(device, text, hashlib.sha256(text.encode()).hexdigest(), driver.SteadyJV2DOptions().steady) + + +def test_source_bound_accepted_illuminated_initial_admits_without_solver(case, monkeypatch): + device, _state = case + path = os.environ.get("SOLARLAB_JV2D_INITIAL") + if path is None: + pytest.skip("bind archived accepted illumination explicitly; no cold substitute") + monkeypatch.setattr(driver, "solve_steady_state_2d", lambda *a, **k: pytest.fail("admission solved")) + initial = driver.load_steady_jv_2d_initial(device, path, + "af7dcf6b7f6adad7254666971c87c33357f7b91600ac5a2ca27e62b638784c05") + assert initial.generation_scale == 1.0 and initial.state.voltage_V == .002 + assert initial.state.u.shape == (195,) + + +def test_real_large_initial_and_full_point_checkpoint_without_solver(case, monkeypatch, tmp_path): + import time + device, _state = case + path = os.environ.get("SOLARLAB_JV2D_INITIAL") + if path is None: + pytest.skip("bind actual af7 input; no cold or synthetic replacement") + initial = driver.load_steady_jv_2d_initial(device, path, + "af7dcf6b7f6adad7254666971c87c33357f7b91600ac5a2ca27e62b638784c05") + assert len(json.dumps({"initial_evidence_json": initial.evidence_json}).encode()) > 2**20 + monkeypatch.setattr(driver, "solve_steady_state_2d", lambda *a, **k: pytest.fail("real payload checkpoint invoked Newton")) + journal = tmp_path / "RealInitial" + result = driver.run_steady_jv_2d(device, initial, [0.0, .025], checkpoint_directory=journal, + absolute_deadline_s=time.monotonic() - 1.0) + assert result.solver_calls == 0 + assert (journal / "Request.json").stat().st_size < 2**20 + assert (journal / "Initial.json").read_bytes() == initial.evidence_json.encode() + manifest_sha = hashlib.sha256((journal / "Manifest.json").read_bytes()).hexdigest() + checkpoint = driver.read_steady_jv_2d_checkpoint(journal, manifest_sha) + assert checkpoint["finished"] and len(checkpoint["attempts"]) == 1 + old = _decode(json.loads(initial.evidence_json))["attempts"][0]["result_2d"] + full_point = {"attempt": {"index": 0, "voltage_V": .002, "accepted": True, + "solution": old}, "source_sha256": initial.source_sha256} + raw = json.dumps(_encode(full_point), sort_keys=True, separators=(",", ":")).encode() + point = journal / "Points/SavedPoint.json" + digest = driver._checkpoint_artifact(point, raw) + assert hashlib.sha256(point.read_bytes()).hexdigest() == digest + saved = _decode(json.loads(point.read_bytes()))["attempt"]["solution"] + assert saved["state"]["u"].shape == (195,) and saved["newton"]["accepted"] + + +@pytest.fixture +def wall_prefix(case, monkeypatch, tmp_path): + """Synthetic wall-stop control flow, without a numerical acceptance claim.""" + from support.provenance import checked_provenance_owner + + device, state = case + initial_path = tmp_path / "SyntheticInitial.json" + initial_path.write_text("synthetic") + initial = driver.SteadyJV2DInitial(state, 1.0, str(initial_path), + hashlib.sha256(initial_path.read_bytes()).hexdigest(), "synthetic") + check = GateOutcome("synthetic", True, 0.0, 1.0) + monkeypatch.setattr(driver, "_admit", lambda *a: (state, 1.0, (check,))) + monkeypatch.setattr(driver, "steady_checks", lambda *a: (check,)) + monkeypatch.setattr(driver, "steady_diagnostics", lambda *a: {}) + calls = [] + def solve(device, *, voltage_V, generation_scale, options, initial_state, initial_provenance): + calls.append(initial_state) + accepted = len(calls) < 3 + candidate = initial_state.u.copy() + if not accepted: + candidate[:device.node_count] += .5 + newton = None if not accepted else NewtonResult(candidate, True, Termination.CONVERGED, 0.0, + (), (), 1, 1, state_digest(initial_state.u), "synthetic wall-prefix fixture") + data = {"original_rows": tuple(range(195)), "original_residual": np.zeros(195), + "physical_carrier_balance_per_depth_m_s": np.zeros((2, 65)), + "terminal_current_per_depth_A_m": np.array([-1e-5, -1e-5])} + return Steady2DResult(initial_state if accepted else None, accepted, + "converged" if accepted else "wall_budget_exhausted", newton, initial_state.u, candidate, + initial_provenance, data, data if accepted else None, (check,) if accepted else (), device.identity, + voltage_V, generation_scale, {"numerical": asdict(options), "hidden_seed_or_fallback_calls": 0}, + driver.admitted_source_pins(), {"residual": 1, "jacobian": 1}, 0.0, + None if accepted else "synthetic wall stop") + monkeypatch.setattr(driver, "solve_steady_state_2d", solve) + with checked_provenance_owner(): + result = driver.run_steady_jv_2d(device, initial, np.array([0.0, .025, .05, .075, .1])) + prefix = tmp_path / "WallPrefix.json" + digest = driver.write_steady_jv_2d(result, prefix) + return device, prefix, digest, result, solve, calls + + +def test_explicit_wall_tail_admits_last_accepted_without_replaying_prefix(wall_prefix, monkeypatch, tmp_path): + device, prefix, digest, old, solve, calls = wall_prefix + original_bytes = prefix.read_bytes() + calls.clear() + def accepted_solve(**kwargs): + calls.clear() # Reuse a synthetic accepted result, never invoke Newton. + return solve(**kwargs) + seeds = [] + def tail_solve(device, **kwargs): + seeds.append(kwargs["initial_state"]) + return accepted_solve(device=device, **kwargs) + monkeypatch.setattr(driver, "solve_steady_state_2d", tail_solve) + result = driver.continue_steady_jv_2d(device, prefix, digest) + assert len(seeds) == 3 and result.completed + np.testing.assert_array_equal(result.requested_voltage_V, old.requested_voltage_V[2:]) + last = old.attempts[1].solution.state + np.testing.assert_array_equal(seeds[0].u, driver._rebase(device, last, .05).u) + assert not np.array_equal(seeds[0].u, old.attempts[-1].solution.candidate_coordinates) + assert result.attempts[0].seed_provenance["kind"] == "accepted_wall_prefix" + assert prefix.read_bytes() == original_bytes + path = tmp_path / "Tail.json" + sha = driver.write_steady_jv_2d(result, path) + monkeypatch.setattr(driver, "solve_steady_state_2d", lambda *a, **k: pytest.fail("linked reader solved")) + saved = driver.read_steady_jv_2d(path, sha) + linked = saved["continuation"] + np.testing.assert_array_equal(linked["combined_voltage_V"], old.requested_voltage_V) + assert linked["prefix_completed"] is False and linked["completed"] is True + assert linked["preserved_prefix_failure"]["voltage_V"] == .05 + assert linked["total_actual_solver_calls"] == 6 and example.summary(saved)["accepted_points"] == 5 + linked["metrics"]["short_circuit_current_A_m2"] += 1.0 + path.write_text(json.dumps(_encode(saved))) + with pytest.raises(ValueError, match="combined metrics"): + driver.read_steady_jv_2d(path, hashlib.sha256(path.read_bytes()).hexdigest()) + + +def test_wall_tail_refuses_numerical_failure_changed_controls_and_saved_source_tampering(wall_prefix, monkeypatch, tmp_path): + device, prefix, digest, _old, _solve, _calls = wall_prefix + monkeypatch.setattr(driver, "solve_steady_state_2d", lambda *a, **k: pytest.fail("refusal reached solver")) + controls = driver.SteadyJV2DOptions(max_points=5) + with pytest.raises(ValueError, match="controls changed"): + driver.continue_steady_jv_2d(device, prefix, digest, options=controls) + changed = _decode(json.loads(prefix.read_bytes())) + changed["result"]["attempts"][-1]["termination"] = "budget_exhausted" + path = tmp_path / "NumericalFailure.json" + path.write_text(json.dumps(_encode(changed))) + with pytest.raises(ValueError, match="wall-stopped"): + driver.continue_steady_jv_2d(device, path, hashlib.sha256(path.read_bytes()).hexdigest()) + changed = _decode(json.loads(prefix.read_bytes())) + changed["result"]["source_sha256"]["solarlab.equations.dc_2d"] = "0" * 64 + path = tmp_path / "ChangedSource.json" + path.write_text(json.dumps(_encode(changed))) + with pytest.raises(ValueError, match="producer provenance|recorded producer"): + driver.continue_steady_jv_2d(device, path, hashlib.sha256(path.read_bytes()).hexdigest()) + + +def test_linked_tail_allows_only_final_endpoint_and_preserves_both_stops(wall_prefix, monkeypatch, tmp_path): + device, prefix, digest, _old, solve, calls = wall_prefix + prefix_bytes = prefix.read_bytes() + calls.clear() + partial = driver.continue_steady_jv_2d(device, prefix, digest) + assert len(partial.voltage_V) == 2 and not partial.completed + tail_path = tmp_path / "StoppedTail.json" + tail_sha = driver.write_steady_jv_2d(partial, tail_path) + tail_bytes = tail_path.read_bytes() + last = partial.attempts[1].solution.state + calls.clear() + endpoint = driver.continue_steady_jv_2d(device, tail_path, tail_sha) + assert len(calls) == 1 and endpoint.completed + np.testing.assert_array_equal(endpoint.requested_voltage_V, np.array([.1])) + np.testing.assert_array_equal(calls[0].u, driver._rebase(device, last, .1).u) + assert prefix.read_bytes() == prefix_bytes and tail_path.read_bytes() == tail_bytes + path = tmp_path / "Endpoint.json" + sha = driver.write_steady_jv_2d(endpoint, path) + monkeypatch.setattr(driver, "solve_steady_state_2d", lambda *a, **k: pytest.fail("endpoint reader solved")) + saved = driver.read_steady_jv_2d(path, sha) + linked = saved["continuation"] + assert linked["endpoint_only"] and linked["prefix_accepted_points"] == 4 + assert linked["preserved_prefix_failure"]["index"] == 4 + assert linked["preserved_earlier_failure"]["index"] == 2 + assert linked["total_actual_solver_calls"] == 7 and example.summary(saved)["accepted_points"] == 5 + np.testing.assert_array_equal(linked["combined_voltage_V"], np.array([0.0, .025, .05, .075, .1])) + with pytest.raises(ValueError, match="wall-stopped"): + driver.continue_steady_jv_2d(device, path, sha) + prefix_record = driver.read_steady_jv_2d(prefix, digest) + malformed = asdict(partial) + malformed["voltage_V"] = malformed["voltage_V"][:1] + malformed["output_current_A_m2"] = malformed["output_current_A_m2"][:1] + malformed["terminal_current_per_depth_A_m"] = malformed["terminal_current_per_depth_A_m"][:1] + linked = driver._linked_tail(prefix_record, malformed) + with pytest.raises(ValueError, match="one final"): + driver._linked_tail({"completed": False, "result": malformed, "continuation": linked}, asdict(endpoint)) + + +def test_exact_saved_wall_prefix_admission_does_not_solve(case, monkeypatch): + device, _state = case + path = os.environ.get("SOLARLAB_JV2D_PREFIX") + if path is None: + pytest.skip("bind actual bc3 prefix under its unchanged physical source; no replay") + monkeypatch.setattr(driver, "solve_steady_state_2d", lambda *a, **k: pytest.fail("wall admission solved")) + sha = "bc3d18fb81050751d4ed700947db957fdb36894c14bba3729e37e0688f30674c" + initial, requested, readmit = driver._read_wall_prefix(device, path, sha, driver.SteadyJV2DOptions()) + state, generation, checks = readmit() + prefix = driver.read_steady_jv_2d(path, sha) + assert initial.state.voltage_V == .9750000000000001 and initial.generation_scale == generation == 1.0 + np.testing.assert_array_equal(requested, np.linspace(0.0, 1.25, 51)[40:]) + np.testing.assert_array_equal(initial.state.u, prefix["result"]["attempts"][39]["solution"]["state"]["u"]) + np.testing.assert_array_equal(state.u, initial.state.u) + assert all(item.passed for item in checks) + + +def test_exact_saved_linked_endpoint_admission_does_not_solve(case, monkeypatch): + device, _state = case + path = os.environ.get("SOLARLAB_JV2D_ENDPOINT_PREFIX") + if path is None: + pytest.skip("bind actual e5 linked stopped tail under its unchanged physical source") + monkeypatch.setattr(driver, "solve_steady_state_2d", lambda *a, **k: pytest.fail("endpoint admission solved")) + sha = "e5a94d45064d4110b163ffdffe21b46341c6585f2bf00ab68c2205f9985ef3f8" + initial, requested, readmit = driver._read_wall_prefix(device, path, sha, driver.SteadyJV2DOptions()) + state, generation, checks = readmit() + prefix = driver.read_steady_jv_2d(path, sha) + assert initial.state.voltage_V == 1.225 and initial.generation_scale == generation == 1.0 + np.testing.assert_array_equal(requested, prefix["continuation"]["original_requested_voltage_V"][50:]) + np.testing.assert_array_equal(initial.state.u, prefix["result"]["attempts"][9]["solution"]["state"]["u"]) + np.testing.assert_array_equal(state.u, initial.state.u) + assert all(item.passed for item in checks) + + +def test_saved_actual51point_request_retains_completed_or_failed_prefix_without_solver(monkeypatch): + path, sha = os.environ.get("SOLARLAB_JV2D_RESULT"), os.environ.get("SOLARLAB_JV2D_SHA256") + if path is None or sha is None: + pytest.skip("bind the sole saved2D wave; never repeat its solve") + monkeypatch.setattr(example, "compile_device_2d", lambda *a, **k: pytest.fail("reader compiled")) + monkeypatch.setattr(example, "run_steady_jv_2d", lambda *a, **k: pytest.fail("reader solved")) + record = driver.read_steady_jv_2d(Path(path), sha) + result = record["result"] + linked = record.get("continuation") + offset = 0 if linked is None else linked["prefix_accepted_points"] + requested = np.linspace(0.0, 1.25, 51)[offset:] + np.testing.assert_array_equal(result["requested_voltage_V"], requested) + accepted = len(result["voltage_V"]) + attempts = result["attempts"] + assert accepted + offset >= 3 # The actual same-wave first-three checkpoint is retained. + np.testing.assert_array_equal(result["voltage_V"], requested[:accepted]) + assert len(attempts) == accepted + (0 if record["completed"] else 1) + np.testing.assert_array_equal(record["unattempted_voltage_V"], requested[len(attempts):]) + assert result["incident_power_W_m2"] is None and result["metrics"]["efficiency"] is None + initial_sha = result["initial_provenance"]["source_sha256"] if linked is None else linked["original_initial_artifact"]["sha256"] + assert initial_sha == "af7dcf6b7f6adad7254666971c87c33357f7b91600ac5a2ca27e62b638784c05" + assert result["solver_calls"] == sum(item["solver_called"] for item in attempts) + for attempt in attempts[:accepted]: + assert attempt["accepted"] and all(check["passed"] for check in attempt["solution"]["checks"]) + assert attempt["solution"]["state"]["u"].shape == (195,) + data = attempt["solution"]["diagnostics"] + assert tuple(data["original_rows"]) == tuple(range(195)) + assert data["original_residual"].shape == (195,) and np.all(np.isfinite(data["original_residual"])) + assert data["physical_carrier_balance_per_depth_m_s"].shape == (2, 65) + if record["completed"]: + assert accepted + offset == 51 + else: + failure = attempts[-1] + assert not failure["accepted"] and failure["termination"] != "converged" + assert failure["error"] or failure["solution"] is not None + if failure["solution"] is not None: + assert not failure["solution"]["accepted"] + assert failure["solution"]["candidate_coordinates"].shape == (195,) + initial_data = failure["solution"]["initial_diagnostics"] + if initial_data is not None: + assert tuple(initial_data["original_rows"]) == tuple(range(195)) + if result["metrics"]["limitation"] == "open_circuit_not_bracketed": + assert all(result["metrics"][name] is None for name in ( + "open_circuit_voltage_V", "maximum_power_W_m2", "fill_factor")) + saved_summary = example.summary(record) + assert saved_summary["accepted_points"] == accepted + offset and saved_summary["qualification"] is False + + +def test_source_changed_v2_tail_preserves_distinct_admissions_and_original_failure(wall_prefix, monkeypatch, tmp_path): + from solarlab.reproducibility.job_provenance import provenance_owner + device, prefix, digest, _old, solve, calls = wall_prefix + original = prefix.read_bytes() + def fake_success(device, **kwargs): + calls.clear() + return solve(device, **kwargs) + monkeypatch.setattr(driver, "solve_steady_state_2d", fake_success) + with provenance_owner(source_files=(("solarlab/experiments/jv/steady_2d.py", b"synthetic changed driver"),), + git_commit="a" * 40, environment_lock=b"synthetic locked environment", source_attested=True): + tail = driver.continue_steady_jv_2d(device, prefix, digest) + path = tmp_path / "DifferentSourceTail.json" + sha = driver.write_steady_jv_2d(tail, path) + monkeypatch.setattr(driver, "solve_steady_state_2d", lambda *a, **k: pytest.fail("readback solved")) + saved = driver.read_steady_jv_2d(path, sha) + assert saved["schema"] == "solarlab.steady_jv_2d.v2" + linked = saved["continuation"] + assert linked["source_comparison"] == "different" and linked["completed"] + assert linked["producer_provenance"]["prefix"] != linked["producer_provenance"]["tail"] + assert linked["prefix_completed"] is False and linked["preserved_prefix_failure"]["voltage_V"] == .05 + assert prefix.read_bytes() == original + with pytest.raises(ValueError, match="strict_same_source"): + driver.read_steady_jv_2d(path, sha, current_identity=linked["producer_provenance"]["prefix"], strict_same_source=True) + + +def test_v1_source_map_rules_are_preserved_and_never_retrofitted(wall_prefix, monkeypatch, tmp_path): + from copy import deepcopy + from support.provenance import checked_provenance_owner + device, prefix, digest, _old, solve, calls = wall_prefix + old = _decode(json.loads(prefix.read_bytes())) + old["schema"] = "solarlab.steady_jv_2d.v1" + old["result"].pop("job_provenance") + legacy_path = tmp_path / "SyntheticV1.json" + original = json.dumps(_encode(old)).encode() + legacy_path.write_bytes(original) + legacy_digest = hashlib.sha256(original).hexdigest() + def fake_success(device, **kwargs): + calls.clear() + return solve(device, **kwargs) + monkeypatch.setattr(driver, "solve_steady_state_2d", fake_success) + with checked_provenance_owner(): + tail = asdict(driver.continue_steady_jv_2d(device, legacy_path, legacy_digest)) + tail.pop("job_provenance") + linked = driver._linked_tail(old, tail) + assert "producer_provenance" not in linked and "schema" not in linked + broken = deepcopy(tail) + broken["source_sha256"]["solarlab.equations.dc_2d"] = "0" * 64 + with pytest.raises(ValueError, match="v1 continuation changed"): + driver._linked_tail(old, broken) + loaded = driver.read_steady_jv_2d(legacy_path, legacy_digest) + assert loaded["schema"] == "solarlab.steady_jv_2d.v1" and not loaded["completed"] + assert legacy_path.read_bytes() == original and loaded["result"]["source_sha256"] == old["result"]["source_sha256"] diff --git a/tests/integration/test_transient_1d.py b/tests/integration/test_transient_1d.py new file mode 100644 index 00000000..ea9a4b03 --- /dev/null +++ b/tests/integration/test_transient_1d.py @@ -0,0 +1,270 @@ +"""Physical BE storage, analytic tangents, accounting and actual small steps.""" + +from copy import copy +from dataclasses import replace +from decimal import Decimal, localcontext + +import numpy as np +import pytest +from threadpoolctl import threadpool_limits + +from examples.research_1d.steady import load_device +from examples.research_1d.transient import controls +from solarlab.config.resolve_device import resolve_device +from solarlab.device.compile_1d import compile_device_1d +from solarlab.device.inputs import DeviceInput +from solarlab.equations.dc_1d import DC1DProblem +from solarlab.experiments.transient import TransientProtocol, solve_transient +from solarlab.solvers.nonlinear.problem import SolveBudget +from solarlab.solvers.nonlinear.steady_1d import SteadyOptions, solve_equilibrium, solve_steady_state +from solarlab.solvers.time import BackwardEuler1DStep, inventory_m2, step_accounting + + +@pytest.fixture(scope="module", autouse=True) +def blas1(): + with threadpool_limits(limits=1): + yield + + +@pytest.fixture(scope="module") +def case(): + compiled = compile_device_1d(load_device(), intervals_per_layer=12) + initial_controls = SteadyOptions() + point = solve_steady_state(compiled, voltage_V=0.0, generation_scale=1.0, options=initial_controls) + return compiled, point, initial_controls + + +def protocol(steps=4): + times = np.linspace(0, 4e-7, steps + 1) + return TransientProtocol(times, np.zeros(steps + 1), 1.0 + 0.01 * (times / times[-1]) ** 2) + + +def trial(device, point): + u = point.state.u.copy() + count = device.node_count + u[:count] += np.linspace(-2e-4, 3e-4, count) + u[count:2 * count] += np.linspace(0.12, 0.24, count) + u[2 * count:] -= np.linspace(0.21, 0.09, count) + return u + + +def test_storage_is_physical_inventory_and_algebraic_rows_are_unchanged(case): + device, point, _ = case + step = BackwardEuler1DStep(DC1DProblem(device, 0.0, 1.01), point.state, 1e-7) + u, count = trial(device, point), device.node_count + new = device.state(u) + actual = step.inventory_rate_m2_s(u) + direct = (inventory_m2(device, new) - inventory_m2(device, point.state)) / step.dt_s + np.testing.assert_allclose(actual, direct, rtol=2e-13) + mask = np.ones((2, count), dtype=bool) + for carrier, species in (("n", 0), ("p", 1)): + for side, node in (("left", 0), ("right", count - 1)): + if device.channel(carrier, side).kind == "fixed_reservoir": + mask[species, node] = False + expected = step.endpoint.residual(u) + expected[count:].reshape(2, count)[mask] -= actual[mask] + np.testing.assert_array_equal(step.residual(u), expected) + original = step.endpoint.residual(u) + algebraic = np.r_[np.ones(count, dtype=bool), (~mask).ravel()] + np.testing.assert_array_equal(step.residual(u)[algebraic], original[algebraic]) + # A DAE call with a coordinate difference is a different method. + shortcut = step.endpoint.residual(u, (u - point.state.u) / step.dt_s) + assert np.max(np.abs(step.residual(u) - shortcut)) > 1e15 + + +def test_nonlinear_secant_matches_high_precision_and_resolves_tiny_changes(case): + device, point, _ = case + step = BackwardEuler1DStep(DC1DProblem(device, 0.0, 1.0), point.state, 1e-7) + node = device.node_count - 5 + u = point.state.u.copy() + u[device.node_count + node] += 2e-12 + dlog = u[device.node_count + node] - point.state.u[device.node_count + node] + with localcontext() as context: + context.prec = 70 + reference = (Decimal.from_float(float(inventory_m2(device, point.state)[0, node])) + * (Decimal.from_float(float(dlog)).exp() - 1) / Decimal.from_float(step.dt_s)) + assert step.inventory_rate_m2_s(u)[0, node] == pytest.approx(float(reference), rel=3e-16) + np.testing.assert_array_equal(step.inventory_rate_m2_s(point.state.u), np.zeros((2, device.node_count))) + + +def test_analytic_step_jacobian_matches_directional_residual(case): + device, point, _ = case + step = BackwardEuler1DStep(DC1DProblem(device, 0.0, 1.01), point.state, 1e-7) + u = trial(device, point) + direction = np.random.default_rng(23).normal(size=u.size) + direction[:device.node_count] *= 0.01 + h = 2e-5 + numerical = (step.residual(u + h * direction) - step.residual(u - h * direction)) / (2 * h) + matrix = step.jacobian(u) + scale = np.maximum(abs(matrix) @ abs(direction), 1.0) + assert np.max(abs(numerical - matrix @ direction) / scale) < 3e-8 + np.testing.assert_array_equal(matrix.toarray(), (step.endpoint.jacobian(u) + + step.endpoint.storage_jacobian(u) / step.dt_s).toarray()) + + +def test_fixed_bias_secant_retains_tiny_potential_increment(case): + device, point, _ = case + rebased = device.rebase_coordinates(point.state.u, point.voltage_V, 1.0) + old = device.state(rebased, voltage_V=1.0) + step = BackwardEuler1DStep(DC1DProblem(device, 1.0, 1.0), old, 1e-7) + u = old.u.copy() + u[0] += 1e-18 + delta_phi = u[0] - old.u[0] + refs = device.carrier_reference_energies(1.0) + species = 0 if refs[0] != 0.0 else 1 + sign = 1.0 if species == 0 else -1.0 + # This wrongly associated voltage expression is exactly zero in binary64. + assert (delta_phi + refs[species]) - refs[species] == 0.0 + expected = inventory_m2(device, old)[species, 0] * np.expm1(sign * delta_phi / device.thermal_voltage_V) / step.dt_s + actual = step.inventory_rate_m2_s(u)[species, 0] + assert actual != 0.0 + assert actual == pytest.approx(expected, rel=3e-16, abs=0.0) + + +def test_voltage_reference_rebase_preserves_the_old_physical_fields(case): + device, point, _ = case + step = BackwardEuler1DStep(DC1DProblem(device, 0.2, 1.01), point.state, 1e-7) + u = step.initial_coordinates() + phi, n, p = device.fields(u, voltage_V=0.2) + np.testing.assert_array_equal(phi, point.state.potential_V) + np.testing.assert_allclose(n, point.state.electron_density_m3, rtol=2e-14) + np.testing.assert_allclose(p, point.state.hole_density_m3, rtol=2e-14) + rate = step.inventory_rate_m2_s(u) + scaled = abs(rate) * step.dt_s / inventory_m2(device, point.state) + assert np.max(scaled) < 5e-14 + protocol = TransientProtocol([0, 1e-7], [0, 0.2], [1, 1.01]) + np.testing.assert_array_equal(protocol.voltage_V, [0, 0.2]) + + +@pytest.mark.parametrize("member", ["times_s", "voltage_V", "generation_scale"]) +def test_complex_protocol_arrays_are_rejected(member): + fields = dict(times_s=[0, 1], voltage_V=[0, 0], generation_scale=[1, 1]) + fields[member] = np.asarray(fields[member], dtype=complex) + 1j + with pytest.raises(ValueError, match="real"): + TransientProtocol(**fields) + + +@pytest.mark.parametrize("times", [[0, 0], [1, 0], [0], [-1e308, 1e308]]) +def test_times_must_have_finite_positive_intervals(times): + with pytest.raises(ValueError, match="strictly increasing"): + TransientProtocol(times, np.zeros(len(times)), np.ones(len(times))) + + +def test_fixed_endpoint_inventory_and_gauss_extension_are_retained(case): + device, point, _ = case + step = BackwardEuler1DStep(DC1DProblem(device, 0.0, 1.01), point.state, 1e-7) + a = step_accounting(step, trial(device, point)) + particles, source, rate = a["particle_fluxes_m2_s"], a["net_pair_source_m2_s"], a["inventory_rate_m2_s"] + np.testing.assert_allclose(particles[:, 0], particles[:, 1] - source[0] + rate[:, 0], rtol=3e-16) + np.testing.assert_allclose(particles[:, -1], particles[:, -2] + source[-1] - rate[:, -1], rtol=3e-16) + assert np.max(abs(rate[:, [0, -1]])) > 0 + assert np.max(abs(a["terminal_conduction_current_density_A_m2"] + - step.endpoint.contact_current_density(trial(device, point)))) > 0 + # The predicted jump includes old/new Gauss defects and recorded + # roundoff from the independently stored charge/inventory subtraction. + scale = max(np.max(abs(a["conduction_current_density_A_m2"])), + np.max(abs(a["displacement_current_density_A_m2"])), 1.0) + assert np.max(abs(a["maxwell_identity_error_A_m2"])) < 64 * np.finfo(float).eps * scale + np.testing.assert_allclose(a["global_particle_balance_m2_s"], -np.sum(a["carrier_balance_m2_s"], axis=1), + rtol=3e-14, atol=1000) + + +def test_finite_and_blocking_contact_rows_keep_storage(): + prepared = load_device() + document = prepared.to_input().editing_data() + document["contacts"] = [dict(id="left", side="left", layer="htl", S_n=0.0, S_p=200.0), + dict(id="right", side="right", layer="etl", S_n=200.0, S_p=0.0)] + prepared = resolve_device(DeviceInput.model_validate(document), prepared.defaults, + prepared.resources, sources=prepared.sources) + device = compile_device_1d(prepared, intervals_per_layer=12) + point = solve_equilibrium(device) + step = BackwardEuler1DStep(DC1DProblem(device, 0.0, 1e-4), point.state, 1e-7) + u = trial(device, point) + a = step_accounting(step, u) + assert np.all(a["storage_mask"]) + assert a["particle_fluxes_m2_s"][0, 0] == a["particle_fluxes_m2_s"][1, -1] == 0.0 + count = device.node_count + for row in (count, 2 * count - 1, 2 * count, 3 * count - 1): + assert step.endpoint.storage_jacobian(u).getrow(row).nnz > 0 + np.testing.assert_allclose(a["carrier_balance_m2_s"].ravel(), step.residual(u)[count:], rtol=2e-14) + + +def test_generation_predictor_is_explicit_and_does_not_modify_old_state(case): + device, point, _ = case + before = point.state.u.copy() + step = BackwardEuler1DStep(DC1DProblem(device, 0.0, 1.01), point.state, 1e-7) + guess = step.initial_coordinates("generation_inventory") + fields = device.fields(guess) + mask = step_accounting(step, guess)["storage_mask"] + for species, density in enumerate((point.state.electron_density_m3, point.state.hole_density_m3)): + expected = density + np.where(mask[species], step.dt_s * 1.01 * device.generation.source_m3_s, 0) + np.testing.assert_allclose(fields[species + 1], expected, rtol=3e-14) + np.testing.assert_array_equal(point.state.u, before) + assert step.previous is point.state + + +@pytest.fixture(scope="module") +def refinements(case): + device, point, initial_controls = case + return tuple(solve_transient(device, point, protocol(n), options=controls(), initial_options=initial_controls) + for n in (4, 8, 16)) + + +def test_real_37_node_time_refinement_and_maxwell_accounting(case, refinements): + device, point, _ = case + assert device.node_count == 37 + for steps, result in zip((4, 8, 16), refinements): + assert result.completed, [(a.termination, a.error, a.newton.message if a.newton else None) for a in result.failed_attempts] + assert len(result.states) == steps + 1 and not result.failed_attempts + np.testing.assert_array_equal(result.accepted_times_s, protocol(steps).times_s) + assert result.states[0] is point.state + assert result.physical_certificate_status == "not_evaluated" + for attempt in result.attempts: + assert attempt.newton.gates == () # No inappropriate DC-current gate. + a = attempt.accounting + assert a["continuity_defect_bound_A_m2"] <= controls().continuity_tolerance_A_m2 + bound = (a["continuity_defect_bound_A_m2"] + np.sum(abs(a["gauss_defect_rate_A_m2"])) + + np.sum(abs(a["charge_subtraction_roundoff_A_m2"]))) + assert a["maxwell_spread_A_m2"] <= bound + 1e-10 + assert np.max(abs(a["maxwell_identity_error_A_m2"])) < 1e-10 + final = [inventory_m2(device, r.states[-1]) for r in refinements] + differences = [np.max(abs(a-b)) for a, b in zip(final[:-1], final[1:])] + assert 0 < differences[1] < differences[0] + assert np.max(abs(final[-1] - inventory_m2(device, point.state))) > 1e6 + + +def test_failed_attempt_keeps_successful_prefix_and_has_no_retry(case): + device, point, initial_controls = case + p = TransientProtocol([0, 1e-7, 2e-7, 3e-7], [0, 0, 0, 0], [1, 1, 1.5, 1]) + bounded = replace(controls(), newton_budget=SolveBudget(1, 10, 1, 4)) + result = solve_transient(device, point, p, options=bounded, initial_options=initial_controls) + assert not result.completed and len(result.attempts) == 2 + np.testing.assert_array_equal(result.accepted_times_s, [0, 1e-7]) + assert len(result.states) == 2 and len(result.failed_attempts) == 1 + failed = result.failed_attempts[0] + assert failed.end_s == 2e-7 and not failed.newton.accepted + assert failed.candidate_coordinates.shape == point.state.u.shape + + +def test_deadline_is_one_budget_and_retains_failed_attempt(case, monkeypatch): + device, point, initial_controls = case + ticks = iter(range(1000)) + monkeypatch.setattr("solarlab.experiments.transient.time.monotonic", lambda: next(ticks)) + result = solve_transient(device, point, protocol(), options=replace(controls(), wall_s=0.5), + initial_options=initial_controls) + assert len(result.states) == 1 and len(result.attempts) == 1 + assert result.failed_attempts[0].termination == "wall_budget_exhausted" + assert result.failed_attempts[0].newton is None + + +def test_unaccepted_or_foreign_initial_and_overbudget_protocol_are_rejected(case): + device, point, initial_controls = case + failed = copy(point) + object.__setattr__(failed, "newton", replace(point.newton, accepted=False)) + with pytest.raises(ValueError, match="accepted"): + solve_transient(device, failed, protocol(), options=controls(), initial_options=initial_controls) + with pytest.raises(ValueError, match="identity"): + solve_transient(compile_device_1d(load_device(), intervals_per_layer=8), point, protocol(), + options=controls(), initial_options=initial_controls) + with pytest.raises(ValueError, match="max_steps"): + solve_transient(device, point, protocol(), options=replace(controls(), max_steps=1), initial_options=initial_controls) diff --git a/tests/integration/test_transient_results.py b/tests/integration/test_transient_results.py new file mode 100644 index 00000000..a3526132 --- /dev/null +++ b/tests/integration/test_transient_results.py @@ -0,0 +1,316 @@ +"""Two actual lifecycle paths, reused for all publication/read integrity checks.""" +from dataclasses import fields, is_dataclass, replace +from enum import Enum +import hashlib +import json +import os +from pathlib import Path +import struct +import subprocess +import sys + +import numpy as np +import pytest + +from solarlab.experiments.transient_results import ( + _decode, _encode, publish_transient_result, read_transient_result, run_transient_for_publication, +) +from solarlab.io.artifacts import ArtifactIntegrityError, ArtifactPayload, _json_document, array_artifact, bytes_artifact +from solarlab.io.run_store import RunStore + + +def words(value): + """Independent native-word witness; no production serialization calls.""" + if is_dataclass(value): + return {field.name: words(getattr(value, field.name)) for field in fields(value)} + if type(value) is np.ndarray: + return {"dtype": value.dtype.str, "shape": list(value.shape), + "word_sha256": hashlib.sha256(value.tobytes()).hexdigest()} + if isinstance(value, np.generic): + return {"scalar_dtype": value.dtype.str, "words": value.tobytes().hex()} + if isinstance(value, Enum): + return words(value.value) + if type(value) is float: + return {"binary64": struct.pack(" 1.0 + + +def test_variable_bias_jacobian_is_the_new_endpoint_analytic_jacobian(case): + device, point, _ = case + step = BackwardEuler1DStep(DC1DProblem(device, 0.101, 1.0), point.state, 1e-7) + u = step.initial_coordinates(voltage_lift=True) + direction = np.random.default_rng(72).normal(size=u.size) + direction[:device.node_count] *= 0.01 + h = 2e-5 + numerical = (step.residual(u + h * direction) - step.residual(u - h * direction)) / (2 * h) + matrix = step.jacobian(u) + scale = np.maximum(abs(matrix) @ abs(direction), 1.0) + assert np.max(abs(numerical - matrix @ direction) / scale) < 3e-8 + np.testing.assert_array_equal(matrix.toarray(), (step.endpoint.jacobian(u) + + step.endpoint.storage_jacobian(u) / step.dt_s).toarray()) + + +@pytest.fixture(scope="module") +def runs(case): + device, point, initial_options = case + return tuple(solve_transient(device, point, voltage_protocol(n), options=controls(), initial_options=initial_options) + for n in (4, 8, 16)) + + +def test_real_variable_bias_histories_and_maxwell_refinement(case, runs): + device, point, _ = case + for count, result in zip((4, 8, 16), runs): + assert result.completed, [(a.termination, a.error) for a in result.failed_attempts] + assert len(result.states) == count + 1 and not result.failed_attempts + requested = voltage_protocol(count) + np.testing.assert_array_equal(result.accepted_times_s, requested.times_s) + np.testing.assert_array_equal([s.voltage_V for s in result.states], requested.voltage_V) + assert result.states[0] is point.state + assert result.physical_certificate_status == "not_evaluated" + assert result.solver_controls["voltage_seed_policy"] == "harmonic_potential_preserve_densities_when_voltage_changes" + for k, attempt in enumerate(result.attempts, start=1): + a = attempt.accounting + assert attempt.voltage_V == requested.voltage_V[k] + assert attempt.newton.gates == () + np.testing.assert_allclose(result.states[k].potential_V[[0, -1]], + device.contact_potentials(requested.voltage_V[k]), atol=1e-11, rtol=0) + assert a["continuity_defect_bound_A_m2"] <= controls().continuity_tolerance_A_m2 + assert a["maxwell_spread_A_m2"] < 1e-8 + assert np.max(abs(a["maxwell_identity_error_A_m2"])) < 1e-10 + last = result.attempts[-1].accounting + assert np.max(abs(last["displacement_current_density_A_m2"])) > 0.1 + assert np.max(abs(last["terminal_displacement_current_density_A_m2"])) > 100 * controls().continuity_tolerance_A_m2 + assert np.max(abs(last["dc_residual"][device.node_count:])) > 1e12 + inventories = [inventory_m2(device, r.states[-1]) for r in runs] + currents = [r.attempts[-1].accounting["terminal_total_current_density_A_m2"] for r in runs] + for values in (inventories, currents): + errors = [np.max(abs(a - b)) for a, b in zip(values[:-1], values[1:])] + assert 0 < errors[1] < errors[0] + assert 1.8 < errors[0] / errors[1] < 2.2 + + +def test_fixed_bias_seed_branch_is_exactly_unchanged(case): + device, point, _ = case + step = BackwardEuler1DStep(DC1DProblem(device, point.voltage_V, 1.01), point.state, 1e-7) + for predictor in ("previous", "generation_inventory"): + old = step.initial_coordinates(predictor) + new = step.initial_coordinates(predictor, voltage_lift=True) + assert old.tobytes() == new.tobytes() + + +def test_fixed_bias_history_matches_accepted_archive_exactly(): + path = os.environ.get("SOLARLAB_FIXED_TRANSIENT_RESULT") + if not path: + pytest.skip("explicit fixed-bias acceptance artifact required for exact history witness") + raw = Path(path).read_bytes() + assert hashlib.sha256(raw).hexdigest() == "c0f4f36928eb3583348c4b7d8e1b66660dedc5968c16bdad748436300240373b" + old = json.loads(raw)["results"][0] + device = compile_device_1d(load_device(), intervals_per_layer=12) + initial_options = SteadyOptions() + initial = solve_steady_state(device, voltage_V=0.0, generation_scale=1.0, options=initial_options) + p = TransientProtocol(**old["protocol"]) + result = solve_transient(device, initial, p, options=controls(), initial_options=initial_options) + assert result.completed + np.testing.assert_array_equal(result.accepted_times_s, old["accepted_times_s"]) + assert result.solver_controls == old["solver_controls"] + for new_state, old_state in zip(result.states, old["states"], strict=True): + for name in ("u", "potential_V", "electron_density_m3", "hole_density_m3"): + assert getattr(new_state, name).tobytes() == np.asarray(old_state[name], dtype=float).tobytes() + for new_attempt, old_attempt in zip(result.attempts, old["attempts"], strict=True): + assert json_value(asdict(new_attempt.newton)) == old_attempt["newton"] + for name, value in new_attempt.accounting.items(): + old_value = old_attempt["accounting"][name] + if isinstance(value, np.ndarray): + assert value.tobytes() == np.asarray(old_value, dtype=value.dtype).tobytes(), name + else: + assert value == old_value, name diff --git a/tests/numerical_contracts/AnalyticGatesV1.json b/tests/numerical_contracts/AnalyticGatesV1.json new file mode 100644 index 00000000..0445db04 --- /dev/null +++ b/tests/numerical_contracts/AnalyticGatesV1.json @@ -0,0 +1,935 @@ +{ + "schema": "solarlab.analytic-reference-gates.v1", + "status": "frozen", + "version": 1, + "scope": "P00-03 analytic references for P02-02 through P02-08; no device or external qualification", + "change_class": "N", + "plan_tasks": [ + "P00-03", + "P02-02", + "P02-03", + "P02-04", + "P02-05", + "P02-06", + "P02-07", + "P02-08" + ], + "independent_review": { + "status": "approved_with_conditions_applied", + "reviewer_session": "01a10b2f-45dd-7021-818a-3feec5cd361c", + "model": "gpt-6-astra", + "effort": "max", + "reviewed_sha256": "98a9ce6fc248852e4ba85a4ac4dcb7d1a0e6360de78fb342390840539fbe8c0d", + "scope": "small analytic reference gates only", + "conditions_applied": [ + "NC06 analytic and quadrature errors separately recorded", + "NC06 IDA observation times separated from native BE grid maxima" + ], + "frozen_at": "2026-10-05T08:32:55.457547+00:00" + }, + "frozen_at": "2026-10-05T08:32:55.457547+00:00", + "source_identity_policy": "Bind this file digest, implementation digest, inputs, environment and run start before candidate execution. Any gate change requires new independent review and a new affected attempt.", + "common_rules": { + "comparison": "abs(candidate-reference) <= atol + rtol*abs(reference)", + "relative_scale": "reference only", + "reference_error_fraction_maximum": 0.3333333333333333, + "zero_inventory": "absolute defect on the declared fixed scale; never divide by zero", + "geometry": "Explicit control volumes and face measures, applied exactly once by assembly", + "source_reference": "Closed-form analytic values or independent 80-digit Decimal evaluation; no production solver as oracle", + "all_steps": "Check every published accepted interval and cumulative absolute inventory defect", + "missing_evidence": "not_passed", + "forbidden_repairs": [ + "accepted-state clipping", + "post-step normalization", + "erasing low words", + "omitting failing samples" + ] + }, + "gates": [ + { + "id": "NC01", + "quantity": "physical inventory and two-cell backward Euler state", + "unit": "dimensionless scaled particle inventory", + "cases": [ + "equal volumes [1,1], n0=[1,2], conductance=1, h=0.5", + "unequal volumes [1,2] with the same oriented face flux", + "disconnected blocking domains", + "zero species inventory" + ], + "reference": "n1=(M-hL)^-1 M n0; equal-volume n1=[1.25,1.75]; each connected-domain inventory is invariant", + "state_atol": 1e-12, + "state_rtol": 1e-11, + "inventory_relative_limit": 1e-10, + "zero_inventory_absolute_limit": 1e-13, + "cumulative_absolute_inventory_relative_limit": 1e-10, + "reference_error_bound": 1e-14, + "counterexample": "Ordinary coordinate BDF on n=exp(q) at h=0.5 must be identified as nonconservative; no requirement to accept that route", + "norm": "max over every state component; inventory separately per declared domain", + "mask": "all cells, faces, domains and accepted intervals", + "inventory_scale": "sum(V_i*n_i_initial) within each connected domain; zero domains use fixed inventory scale 1", + "interval_defect": "abs(sum_domain(delta_Q) - integral_of_declared_boundary_flux_and_sources); cumulative is sum of these absolute defects", + "fixed_inputs": [ + { + "id": "equal_be", + "volumes": [ + 1, + 1 + ], + "initial": [ + 1, + 2 + ], + "faces": [ + [ + 0, + 1 + ] + ], + "conductance": [ + 1 + ], + "step_sizes": [ + 0.5 + ], + "domains": [ + [ + 0, + 1 + ] + ], + "expected_final": [ + "1.25", + "1.75" + ] + }, + { + "id": "unequal_be", + "volumes": [ + 1, + 2 + ], + "initial": [ + 1, + 2 + ], + "faces": [ + [ + 0, + 1 + ] + ], + "conductance": [ + 1 + ], + "step_sizes": [ + 0.5 + ], + "domains": [ + [ + 0, + 1 + ] + ], + "expected_final": [ + "9/7", + "13/7" + ] + }, + { + "id": "disconnected_be", + "volumes": [ + 1, + 2, + 1, + 3 + ], + "initial": [ + 1, + 2, + 4, + 1 + ], + "faces": [ + [ + 0, + 1 + ], + [ + 2, + 3 + ] + ], + "conductance": [ + 1, + 0.2 + ], + "step_sizes": [ + 0.25, + 0.5, + 0.25 + ], + "domains": [ + [ + 0, + 1 + ], + [ + 2, + 3 + ] + ], + "expected_inventory": [ + 5, + 7 + ] + }, + { + "id": "zero_be", + "volumes": [ + 1, + 2 + ], + "initial": [ + 0, + 0 + ], + "faces": [ + [ + 0, + 1 + ] + ], + "conductance": [ + 1 + ], + "step_sizes": [ + 0.5 + ], + "domains": [ + [ + 0, + 1 + ] + ], + "expected_final": [ + 0, + 0 + ] + }, + { + "id": "equal_ida", + "volumes": [ + 1, + 1 + ], + "initial": [ + 1, + 2 + ], + "faces": [ + [ + 0, + 1 + ] + ], + "conductance": [ + 1 + ], + "end_time": 1, + "max_steps": [ + 0.1, + 0.02 + ], + "max_orders": [ + 1, + 2, + 5 + ], + "solver_atol": 1e-12, + "solver_rtols": [ + 1e-06, + 1e-09 + ], + "expected": "n(t)=[1.5-0.5*exp(-2t),1.5+0.5*exp(-2t)]", + "trajectory_gates": [ + { + "solver_rtol": 1e-06, + "atol": 3e-06, + "rtol": 5e-05 + }, + { + "solver_rtol": 1e-09, + "atol": 1e-08, + "rtol": 1e-07 + } + ] + } + ], + "reference_evaluation": "Independent exact rational 2-cell formulas and Decimal80 matrix elimination for BE; Decimal80 exponential for IDA. No production solver is an oracle.", + "budget_basis": "Linear conservation is a discrete identity; 1e-10 retains plan inventory requirement. State budgets are toy arithmetic or independently declared time-accuracy budgets, not IDA solver settings." + }, + { + "id": "NC02", + "quantity": "carrier-trap exchange inventory", + "unit": "dimensionless scaled particle inventory", + "reference": "r=k*n*(1-f)-e*Nt*f; ndot=-r, Nt*fdot=r. Invariant S=n+Nt*f. BE root f1-f0-h/Nt*r(S-Nt*f1,f1)=0 is unique in the feasible interval.", + "cases": [ + "capture", + "reverse emission", + "zero reaction", + "near-empty and near-full occupancy" + ], + "inventory_relative_limit": 1e-10, + "cumulative_absolute_inventory_relative_limit": 1e-10, + "reference_error_bound": 1e-14, + "feasibility": "0 <= f <= 1 and n >= 0, without post-acceptance repair", + "norm": "max absolute/relative component error plus inventory defects for each independently closed case", + "mask": "all species including carrier and occupied traps; all accepted intervals", + "inventory_scale": "S_initial=n_initial+Nt*f_initial for each case; zero case fixed scale 1", + "zero_inventory_absolute_limit": 1e-13, + "state_atol": 1e-12, + "state_rtol": 1e-11, + "interval_defect": "abs(delta_n+Nt*delta_f), accumulated as sum of absolute interval defects", + "fixed_inputs": [ + { + "id": "capture", + "n": 3, + "f": 0.25, + "Nt": 2, + "k": 0.5, + "e": 0, + "h": 0.1, + "required_direction": "f increases and n decreases" + }, + { + "id": "emission", + "n": 0.1, + "f": 0.75, + "Nt": 2, + "k": 0, + "e": 0.4, + "h": 0.1, + "expected_f": "0.75/1.04", + "required_direction": "f decreases and n increases" + }, + { + "id": "mixed", + "n": 1.1, + "f": 0.6, + "Nt": 2, + "k": 0.4, + "e": 0.3, + "h": 0.1, + "required_direction": "f decreases and n increases" + }, + { + "id": "disabled", + "n": 2, + "f": 0.25, + "Nt": 2, + "k": 0, + "e": 0, + "h": 0.1, + "required_direction": "exactly unchanged" + }, + { + "id": "near_empty", + "n": 2, + "f": 1e-12, + "Nt": 2, + "k": 0.5, + "e": 0, + "h": 0.1, + "required_direction": "capture" + }, + { + "id": "near_full", + "n": 0.5, + "f": 0.999999999999, + "Nt": 2, + "k": 0, + "e": 0.4, + "h": 0.1, + "required_direction": "emission" + }, + { + "id": "zero", + "n": 0, + "f": 0, + "Nt": 2, + "k": 0.5, + "e": 0.4, + "h": 0.1, + "required_direction": "strict zero inventory" + } + ], + "reference_evaluation": "Decimal80 bisection of the scalar BE equation for 300 iterations on f in [0,min(1,S/Nt)], or exact emission formula. Check state and nonzero rate, not conservation alone.", + "budget_basis": "Invariant is exact by reaction stoichiometry. State/rate references exclude a constant-state implementation." + }, + { + "id": "NC03", + "quantity": "consistent physical initial state and tangent", + "unit": "dimensionless density and potential", + "reference": "n=exp(q+phi), phi+n=V. Initial n=2,V=0,phi=-2,q=log(2)+2. For V=0.1 preserve n=2, set phi=-1.9,q=log(2)+1.9. For Vdot=s preserve ndot=0, phidot=s,qdot=-s.", + "physical_state_atol": 1e-13, + "physical_state_rtol": 1e-13, + "residual_absolute_limit": 1e-12, + "tangent_absolute_limit": 1e-12, + "reference_error_bound": 1e-15, + "negative_cases": [ + "holding q fixed changes physical n", + "dependent constraints", + "missing gauge", + "incompatible fixed electrode charge and imposed voltage jump" + ], + "norm": "maximum component error, residual infinity norm and tangent infinity norm", + "mask": "all physical state components, algebraic constraints and tangent rows", + "fixed_scale": 1, + "fixed_inputs": { + "n0": 2, + "V0": 0, + "V1": 0.1, + "slopes": [ + 0, + 0.2, + -0.3 + ], + "columns": [ + "q", + "phi" + ], + "Qy_initial": [ + [ + 2, + 2 + ] + ], + "gy_initial": [ + [ + 2, + 3 + ] + ], + "expected_combined_determinant": 2, + "dependent_constraint_matrix": [ + [ + 1, + 0 + ], + [ + 2, + 0 + ] + ], + "floating_poisson_matrix": [ + [ + 1, + -1 + ], + [ + -1, + 1 + ] + ], + "incompatible_capacitor": { + "C": 2, + "imposed_voltage": 1, + "fixed_charge": 0 + } + }, + "rank_rule": "rank counts singular values > 64*float64_eps*max(matrix.shape)*sigma_max; compare to declared independent row and variable counts", + "negative_case_results": { + "dependent_constraint_matrix": "dependent_constraints", + "floating_poisson_matrix": "missing_gauge", + "incompatible_capacitor": "incompatible_fixed_physical_quantities" + }, + "reference_evaluation": "Exact n and linear potential/tangent; Decimal80 log(2) for q.", + "budget_basis": "Small analytic equations with unit scale; tolerances exceed binary64 evaluation error without permitting physical population change." + }, + { + "id": "NC04", + "quantity": "full nonlinear storage and input Jacobian", + "unit": "dimensionless scaled residual", + "reference": "Q=exp(2*y+3*a+5*t), R=0, F=Q*(2*ydot+3*adot+5). Fy=2*F, Fa=3*F, Ft=5*F, Fydot=2*Q, Fadot=3*Q. IDA J=Fy+cj*Fydot.", + "analytic_atol": 1e-12, + "analytic_rtol": 1e-12, + "joint_direction_steps": [ + 0.0001, + 1e-05, + 1e-06, + 1e-07 + ], + "finite_difference_relative_limit": 5e-07, + "finite_difference_fixed_scale": 1.0, + "required_adjacent_step_passes": 2, + "reference_error_bound": 1e-14, + "cases": [ + "nonzero ydot and adot", + "several cj values including zero", + "separate input and explicit-time changes", + "mixed state/input/time direction", + "right-end BE Qy-hRy with fixed left state" + ], + "storage_delta_rule": "Use finite Q(right)-Q(left) via stable analytic increments, including input/time changes; never replace by Qy*delta_y", + "norm": "abs(FD-analytic)/max(1,abs(analytic)) for scalar JVP; infinity norm for assembled vectors", + "mask": "every declared derivative, point, cj and direction", + "fixed_scale": 1, + "fixed_inputs": { + "points": [ + { + "y": 0.1, + "a": -0.2, + "t": 0.03 + }, + { + "y": -0.3, + "a": 0.1, + "t": 0.02 + } + ], + "rates": [ + { + "ydot": 0.4, + "adot": -0.7 + }, + { + "ydot": 0, + "adot": 0 + }, + { + "ydot": -0.2, + "adot": 0.1 + } + ], + "cj": [ + 0, + 0.1, + 4, + 100 + ], + "directions": [ + [ + 1, + 0, + 0, + 0 + ], + [ + 0, + 1, + 0, + 0 + ], + [ + 0, + 0, + 1, + 0 + ], + [ + 0, + 0, + 0, + 1 + ], + [ + 1, + 2, + -1, + 0.5 + ] + ], + "direction_order": [ + "dy", + "da", + "dt", + "d_adot" + ], + "storage_delta": { + "left": { + "y": 0.1, + "a": -0.2, + "t": 0.03 + }, + "increment": { + "dy": 0.02, + "da": 0.01, + "dt": 0.005 + } + } + }, + "direction_normalization": "Divide each four-component direction by its Euclidean norm; d_ydot=cj*dy", + "stencil": "Central difference [F(t+eps*dt,y+eps*dy,ydot+eps*cj*dy,a+eps*da,adot+eps*d_adot)-F(t-eps*dt,y-eps*dy,ydot-eps*cj*dy,a-eps*da,adot-eps*d_adot)]/(2*eps)", + "analytic_jvp": "Fy*dy+Fa*da+Ft*dt+Fydot*cj*dy+Fadot*d_adot", + "adjacent_rule": "At least two adjacent eps entries must pass for every point/rate/cj/direction. Report all errors; no cherry-picking directions.", + "reference_evaluation": "Decimal80 exponential and analytic derivatives; account for float conversion separately at comparison boundary.", + "budget_basis": "Central-difference truncation plus roundoff should exhibit a plateau; analytic matrix tolerance is independently stricter. Numeric acceptance never replaces exact support coverage." + }, + { + "id": "NC05", + "quantity": "shared-capacity mass matrix and feasibility", + "unit": "dimensionless occupancy", + "reference": "theta_i=exp(q_i)/(1+sum(exp(q))); theta=[0.2,0.3], vacancy=0.5 gives Qy/C=[[0.16,-0.06],[-0.06,0.21]]", + "atol": 1e-13, + "rtol": 1e-12, + "reference_error_bound": 1e-15, + "cases": [ + "cross derivatives", + "near saturation", + "zero inventory identity", + "capacity changes carried in Qa or Qt once" + ], + "feasibility": "theta_i >= 0 and sum(theta_i) <= 1; independent sign constraints alone do not certify this", + "rank_policy": "Record rank loss/conditioning at capacity boundaries; reject an unsupported singular initialization", + "norm": "matrix infinity norm for derivatives; component maximum for storage/delta", + "mask": "all species, cross terms and explicit inactive zero species", + "fixed_scale": 1, + "fixed_inputs": { + "capacity": 1, + "occupancies": [ + [ + 0.2, + 0.3 + ], + [ + 0.499999, + 0.499999 + ], + [ + 1e-12, + 2e-12 + ] + ], + "zero_case": { + "occupancies": [ + 0, + 0 + ], + "representation": "explicit inactive species; no finite log/softmax coordinate" + }, + "invalid_occupancy": [ + 0.6, + 0.5 + ], + "capacity_change": { + "left": 1, + "right": 2, + "theta": [ + 0.2, + 0.3 + ], + "fixed_coordinate_delta_Q": [ + 0.2, + 0.3 + ], + "fixed_population_new_theta": [ + 0.1, + 0.15 + ] + } + }, + "rank_rule": "Use the NC03 relative SVD criterion on the active subspace; explicit zero species are excluded only with zero physical inventory identity", + "reference_evaluation": "Exact C*(diag(theta)-outer(theta,theta)); independent differentiation of that expression for Hessian contractions.", + "budget_basis": "Cross derivatives and storage are analytic local quantities; capacity feasibility is an exact domain check." + }, + { + "id": "NC06", + "quantity": "electrode current, charge and RC response", + "unit": "A, C, V, s and S under explicit port area", + "reference": "Pure capacitor Qleft=C*V, Qright=-C*V, Ileft=C*Vdot, Iright=-C*Vdot. RC internal parallel discharge obeys V=V0*exp(-t/(R*C)), I_external=0, Ic=V/R and dQleft/dt=-V/R.", + "cases": [ + "positive and negative ramp", + "two opposite port orientations", + "pure algebraic capacitor with no internal storage state", + "open-circuit constraint", + "voltage event impulse", + "immutable accepted-step history" + ], + "algebraic_atol": 1e-13, + "algebraic_rtol": 1e-12, + "trajectory_atol": 1e-10, + "trajectory_rtol": 1e-08, + "integrated_charge_atol": 1e-11, + "integrated_charge_rtol": 1e-08, + "reference_error_bound": 1e-14, + "history_rule": "IDA derivative is not a one-interval finite difference; use qualified dense output plus independent interval integration", + "norm": "component maximum for state/port/charge, absolute complex error for admittance, interval and cumulative charge separately", + "mask": "both ports, all observation times, every accepted interval and both event limits", + "fixed_scale": 1, + "port_convention": { + "current": "positive into the device", + "voltage": "Vleft-Vright", + "electrode_charge": "Qe=-area*outward_normal.dot(D)", + "total_current": "I=-area*outward_normal.dot(Jc)+dQe/dt", + "conduction_current": "Ic=-area*outward_normal.dot(Jc)", + "charge_balance": "delta_Qe=integral(I-Ic)dt", + "left_outward_normal": -1, + "right_outward_normal": 1 + }, + "fixed_inputs": { + "capacitor": { + "epsilon": 4, + "area": 3, + "length": 6, + "C": 2, + "V0": 0.2, + "slopes": [ + 0.3, + -0.3 + ], + "times": [ + 0, + 0.25, + 0.5, + 1 + ], + "frequencies_Hz": [ + 0.1, + 1, + 10 + ] + }, + "rc": { + "C": 2, + "R": 3, + "V0": 1, + "observation_times": [ + 0, + 0.03, + 0.3, + 1, + 3, + 6 + ], + "end_time": 6, + "ida": { + "rtol": 1e-10, + "atol": 1e-12, + "max_step": 0.1, + "max_order": 5 + }, + "be_step_sizes": [ + 0.2, + 0.1, + 0.05 + ], + "be_expected": "V_n=V0/(1+h/(R*C))^n", + "be_discrete_state_atol": 1e-12, + "be_discrete_state_rtol": 1e-11, + "be_continuous_finest_error_limit": 0.002, + "be_adjacent_error_ratio": [ + 1.7, + 2.2 + ], + "total_external_current": 0, + "conduction_current": "V/R at left; -V/R at right", + "observation_times_scope": "continuous IDA only", + "be_comparison_times": "Every point of each own fixed BE grid from0 to6; no interpolation to the IDA observation_times", + "be_continuous_error_norm": "Maximum absolute error over every point of each own BE grid on [0,6]; compute adjacent ratios from those maxima" + }, + "event": { + "time": 0.5, + "C": 2, + "V_before": 0, + "V_after": 0.1, + "expected_left_impulse_charge": 0.2, + "expected_right_impulse_charge": -0.2 + } + }, + "reference_evaluation": "Decimal80 exponential for continuous RC; exact rational BE recurrence; adaptive independent interval quadrature with absolute target1e-12 and relative target1e-12 on qualified local interpolation.", + "budget_basis": "Continuous IDA trajectory gate and exact discrete BE gate are separate. BE time refinement has independently fixed steps/domain/error; capacitor algebraic/feedthrough gate uses exact identities.", + "reference_error_scope": "reference_error_bound=1e-14 covers analytic evaluation only; independent quadrature error is separately bounded and included in the one-third reference-error budget", + "quadrature_error_policy": "Record the actual quadrature error estimate and an independent tighter-rule/refinement discrepancy. Their conservative combined bound plus analytic error must be <= allowed charge error/3; requested quadrature tolerance is not an accuracy certificate." + }, + { + "id": "NC07", + "quantity": "nonlocal sparse support and dense equivalence", + "unit": "dimensionless scaled residual", + "reference": "R=u*(v^T*y) has Jacobian u*v^T including remote support; a global auxiliary variable gives the same operator after elimination", + "atol": 1e-12, + "rtol": 1e-11, + "reference_error_bound": 1e-14, + "cases": [ + "structural nonzeros with zero current coefficients", + "global inventory border", + "D=0 splits ion domains", + "moving support forces structural recompile", + "sparse versus dense solve on small systems" + ], + "large_scale_qualification": "Separate bounded P02-07 runs must measure 1e4-1e5 unknowns; small equivalence does not certify scale", + "norm": "maximum component residual/state error and full structural edge equality", + "mask": "all rows/columns including global borders and remote derivatives", + "fixed_scale": 1, + "fixed_inputs": { + "alpha": 2, + "u": [ + 1, + 0, + 2, + -1 + ], + "v": [ + 0.1, + 0.2, + 0.05, + 0.3 + ], + "b": [ + 1, + 2, + 3, + 4 + ], + "operator": "A=alpha*I-u*v^T", + "reference_inverse": "x=b/alpha+u*(v^T*b)/(alpha*(alpha-v^T*u))", + "auxiliary": "alpha*x-u*z=b; z-v^T*x=0", + "declared_u_support": [ + 0, + 1, + 2, + 3 + ], + "declared_v_support": [ + 0, + 1, + 2, + 3 + ], + "domain_cases": [ + { + "D_faces": [ + 1, + 1, + 1 + ], + "domains": [ + [ + 0, + 1, + 2, + 3 + ] + ] + }, + { + "D_faces": [ + 1, + 0, + 1 + ], + "domains": [ + [ + 0, + 1 + ], + [ + 2, + 3 + ] + ] + }, + { + "D_faces": [ + 1, + 1e-30, + 1 + ], + "domains": [ + [ + 0, + 1, + 2, + 3 + ] + ] + } + ], + "moving_support": [ + [ + [ + 0, + 2 + ] + ], + [ + [ + 0, + 3 + ] + ] + ] + }, + "invertibility": "alpha!=0 and alpha!=dot(v,u); check before solve", + "reference_evaluation": "Independent Decimal80 Sherman-Morrison formula and explicit small dense assembly.", + "budget_basis": "Algebraic equivalence and structural support only; large device/2D scale remains a separate gate." + }, + { + "id": "NC08", + "quantity": "sub-ULP physical increment and stable driving force", + "unit": "m^-3 for density increment; declared units for other fields", + "reference": "Decimal precision80 independent oracle for n0*expm1(delta_log_n), n0=1e22 and delta_log_n in [0,+1e-17,-1e-17,+1e-16,-1e-16]", + "density_increment_atol": 1e-07, + "density_increment_rtol": 1e-12, + "reference_error_bound": 1e-60, + "zero_rule": "strict zero stays zero; weak nonzero remains distinguishable even when rounded absolute state is unchanged", + "cases": [ + "high/low word roundtrip", + "stable face affinity", + "weak capture", + "displacement increment", + "saved183/309 coordinate roundtrip" + ], + "native_r1_qualification": "Original source-bound R1 thresholds, ports and low-word identities remain separate and unchanged", + "norm": "Decimal comparison of every increment component and correct strict-zero/nonzero classification", + "mask": "all signs and zero; high and low words; both serialization and restored evaluation", + "fixed_scale": "absolute/relative density increment as declared, not absolute density", + "decimal_inputs": { + "n0": "1e22", + "delta_log_n": [ + "0", + "1e-17", + "-1e-17", + "1e-16", + "-1e-16" + ] + }, + "reference_evaluation": "Construct inputs from exact decimal strings. Decimal80 evaluates n0*sum(x^k/k!,k=1..5); no exp(x)-1 subtraction. Keep the reference decimal until comparing Decimal.from_float(candidate) or both exact binary words.", + "decimal_truncation_error_bound": 1.4e-77, + "decimal_arithmetic_error_bound": 1e-70, + "float_reference_conversion": "If a reference is rounded to float64, add 0.5ULP of that reference and the exact decimal-to-binary input quantization contribution; never claim the float reference has error1e-60.", + "weak_flux": { + "D_m2_s": 0.0001, + "dx_m": 1e-08, + "q_C": "1.602176634e-19", + "reference": "q*D/dx*delta_n", + "atol_A_m2": 1e-24, + "rtol": 1e-12 + }, + "displacement": { + "D0_C_m2": "1e-2", + "increment_C_m2": "1e-22", + "dt_s": "1e-3", + "expected_current_A_m2": "1e-19", + "atol_A_m2": 1e-31, + "rtol": 1e-12 + }, + "capture": { + "capture_coefficient": 1e-16, + "trap_density": 10000000000000000, + "occupancy": 0.5, + "reference": "capture_coefficient*trap_density*(1-occupancy)*delta_n", + "atol": 1e-07, + "rtol": 1e-12 + }, + "budget_basis": "Stable five-term series has a bounded next term for |x|<=1e-16; tolerances resolve the weak increment and cannot be rescaled by1e22 absolute population." + } + ], + "review_history": [ + { + "reviewer_session": "01a10b25-6919-7092-bfe7-886f40aa9f46", + "verdict": "revise_before_freeze", + "reviewed_sha256": "15f7d024415336c6160226bf4b86147ee050bb4f6bfd9a849731ef56dda969c5", + "changes": "explicit inputs/norms/masks, stable Decimal series, port signs and conduction charge balance, BE versus IDA RC gates, nonzero trap kinetics, rank witnesses and invertible nonlocal operator" + } + ] +} diff --git a/tests/numerical_contracts/__init__.py b/tests/numerical_contracts/__init__.py new file mode 100644 index 00000000..267daad6 --- /dev/null +++ b/tests/numerical_contracts/__init__.py @@ -0,0 +1 @@ +"""Numerical contract tests, with names isolated from the refactor suite.""" diff --git a/tests/numerical_contracts/fixtures/native_interval_charge.json b/tests/numerical_contracts/fixtures/native_interval_charge.json new file mode 100644 index 00000000..f5ec6718 --- /dev/null +++ b/tests/numerical_contracts/fixtures/native_interval_charge.json @@ -0,0 +1 @@ +{"request":{"schema":"solarlab.voltage-lift-native-request.v1","case_id":"S0NeutralPublicDeviceV1","prior_request_sha256":"5b2c57bf4b6be15dff231c380c1a16b82d9674fb03a5ef607493531da8e6c1f0","numeric_packet":{"definition":{"id":"S0NeutralPublicDeviceV1","source_path":"/private/tmp/solarlab_native06_ctx_3c8b2ac77990/InputSource/perovskite-sim/tests/fixtures/configs/scaps_defect_s0_neutral.yaml","source_sha256":"77b89e16c365cd5c4cf9f7aa439f0200ec9ad9b814e60bbe81895afef65025c7","dynamic":false,"length":3e-07,"area":1.0,"temperature":300.0,"epsilon":1.7708375634000002e-10,"mu_n":0.002,"mu_p":0.002,"diffusion_ion":0.0,"ion_initial":0.0,"ion_capacity":1e+30,"trap_density":2e+21,"capture_n":2e-14,"capture_p":5.6e-15,"n1":1.2950995328045926e+17,"p1":2.2458375870849334e+17,"intrinsic_product":2.908583209788686e+34,"ni":1.7054568918001667e+17,"n_eq":1.7054568918001667e+17,"p_eq":1.7054568918001667e+17,"f_eq":0.5683802103554224,"alpha":400000.0,"photon_reference":2e+16},"definition_identity":"95ba7522d44d76b7a5f4489f1882b7b6dfefa75d70a8fa524658963fc0267cb1","intervals":8,"nodes":9,"x_m":[0.0,2.5669902412140843e-09,1.3552997919273634e-08,5.4254170431220965e-08,1.5e-07,2.45745829568779e-07,2.864470020807264e-07,2.974330097587859e-07,3e-07],"cell_edges_m":[0.0,1.2834951206070421e-09,8.059994080243859e-09,3.39035841752473e-08,1.0212708521561048e-07,1.978729147843895e-07,2.660964158247527e-07,2.9194000591975615e-07,2.9871650487939293e-07,3e-07],"volumes_m3":[1.2834951206070421e-09,6.776498959636816e-09,2.5843590095003445e-08,6.822350104036318e-08,9.574582956877903e-08,6.822350104036319e-08,2.584359009500345e-08,6.77649895963678e-09,1.2834951206070572e-09],"face_areas_m2":[1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0],"layout_identity":"f92493f7c151d6aa8cea468902a003fadf63f9c7cb7dd86bafa1f7028f908679","variable_offsets":{"n_m3":[0,9],"p_m3":[9,18],"phi_V":[18,27]},"equation_offsets":{"a_n":[0,7],"b_p":[7,14],"x_poisson":[14,21],"y_phi_contact":[21,23],"z_n_contact":[23,25],"zz_p_contact":[25,27]},"initial_identity":"ecd1a396b8a8f8a0adf21e17b481a018382c7159aa25b13497fade54711cec35","column_scaling":[1.7054568918001667e+17,1.7054568918001667e+17,1.7054568918001667e+17,1.7054568918001667e+17,1.7054568918001667e+17,1.7054568918001667e+17,1.7054568918001667e+17,1.7054568918001667e+17,1.7054568918001667e+17,1.7054568918001667e+17,1.7054568918001667e+17,1.7054568918001667e+17,1.7054568918001667e+17,1.7054568918001667e+17,1.7054568918001667e+17,1.7054568918001667e+17,1.7054568918001667e+17,1.7054568918001667e+17,0.025851999786435535,0.025851999786435535,0.025851999786435535,0.025851999786435535,0.025851999786435535,0.025851999786435535,0.025851999786435535,0.025851999786435535,0.025851999786435535],"row_scaling":[1.5061639471593675e-18,3.949342325678369e-19,1.4960414322521261e-19,1.0660013566059379e-19,1.496041432252126e-19,3.949342325678368e-19,1.5061639471593758e-18,1.5061639471593675e-18,3.949342325678369e-19,1.4960414322521261e-19,1.0660013566059379e-19,1.496041432252126e-19,3.949342325678368e-19,1.5061639471593758e-18,65531.23991378101,65531.23991378101,65531.23991378101,65531.23991378101,65531.23991378101,65531.23991378101,65531.23991378101,38.681727071833606,38.681727071833606,5.863531378646965e-18,5.863531378646965e-18,5.863531378646965e-18,5.863531378646965e-18],"sparse_graph_identity":"3e0a77a59268495193bdadc1c1ebd95fa46cb32491dc5e163d121d6eed7d9809","sparse_nnz":139,"sparse_edges":[[0,0],[23,0],[0,1],[1,1],[7,1],[14,1],[0,2],[1,2],[2,2],[8,2],[15,2],[1,3],[2,3],[3,3],[9,3],[16,3],[2,4],[3,4],[4,4],[10,4],[17,4],[3,5],[4,5],[5,5],[11,5],[18,5],[4,6],[5,6],[6,6],[12,6],[19,6],[5,7],[6,7],[13,7],[20,7],[6,8],[24,8],[7,9],[25,9],[0,10],[7,10],[8,10],[14,10],[1,11],[7,11],[8,11],[9,11],[15,11],[2,12],[8,12],[9,12],[10,12],[16,12],[3,13],[9,13],[10,13],[11,13],[17,13],[4,14],[10,14],[11,14],[12,14],[18,14],[5,15],[11,15],[12,15],[13,15],[19,15],[6,16],[12,16],[13,16],[20,16],[13,17],[26,17],[0,18],[7,18],[14,18],[21,18],[0,19],[1,19],[7,19],[8,19],[14,19],[15,19],[0,20],[1,20],[2,20],[7,20],[8,20],[9,20],[14,20],[15,20],[16,20],[1,21],[2,21],[3,21],[8,21],[9,21],[10,21],[15,21],[16,21],[17,21],[2,22],[3,22],[4,22],[9,22],[10,22],[11,22],[16,22],[17,22],[18,22],[3,23],[4,23],[5,23],[10,23],[11,23],[12,23],[17,23],[18,23],[19,23],[4,24],[5,24],[6,24],[11,24],[12,24],[13,24],[18,24],[19,24],[20,24],[5,25],[6,25],[12,25],[13,25],[19,25],[20,25],[6,26],[13,26],[20,26],[22,26]],"mass_diagonal_entries":[6.776498959636816e-09,2.5843590095003445e-08,6.822350104036318e-08,9.574582956877903e-08,6.822350104036319e-08,2.584359009500345e-08,6.77649895963678e-09,6.776498959636816e-09,2.5843590095003445e-08,6.822350104036318e-08,9.574582956877903e-08,6.822350104036319e-08,2.584359009500345e-08,6.77649895963678e-09],"mass_rows":[0,1,2,3,4,5,6,7,8,9,10,11,12,13],"mass_columns":[1,2,3,4,5,6,7,10,11,12,13,14,15,16],"representation":"fixed-original-reference-physical-SI-remainders","initial_reference":{"payload":{"schema":"solarlab.precision-point.v2","layout":"f92493f7c151d6aa8cea468902a003fadf63f9c7cb7dd86bafa1f7028f908679","coordinate_reference":"relative:4aacb1aecb58330bfed97bed7cfc944f9b976b2e1350a8129deedcb81f66dd4d:initial","identity":"ecd1a396b8a8f8a0adf21e17b481a018382c7159aa25b13497fade54711cec35","time":"0x0.0p+0","y":["0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0"],"inputs":["0x0.0p+0","0x0.0p+0"],"fields":{"n_m3":{"shape":[9],"high":["0x1.2ef3334ac6481p+57","0x1.2ef3334ac6481p+57","0x1.2ef3334ac6481p+57","0x1.2ef3334ac6481p+57","0x1.2ef3334ac6481p+57","0x1.2ef3334ac6481p+57","0x1.2ef3334ac6481p+57","0x1.2ef3334ac6481p+57","0x1.2ef3334ac6481p+57"],"low":["0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0"]},"p_m3":{"shape":[9],"high":["0x1.2ef3334ac6481p+57","0x1.2ef3334ac6481p+57","0x1.2ef3334ac6481p+57","0x1.2ef3334ac6481p+57","0x1.2ef3334ac6481p+57","0x1.2ef3334ac6481p+57","0x1.2ef3334ac6481p+57","0x1.2ef3334ac6481p+57","0x1.2ef3334ac6481p+57"],"low":["0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0"]},"phi_V":{"shape":[9],"high":["0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0"],"low":["0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0"]}},"authority_identity":"c054e9d8d36d132fecbfac9817f8bfab583fdac1fd5bcfdd95dd4b19967b4330","authority":{"schema":"solarlab.state-authority.v3","layout":"f92493f7c151d6aa8cea468902a003fadf63f9c7cb7dd86bafa1f7028f908679","map":"relative-fields","version":1,"modes":{"n_m3":"linear","p_m3":"linear","phi_V":"linear"},"parameters":{},"anchor":{"n_m3":{"shape":[9],"high":["0x1.2ef3334ac6481p+57","0x1.2ef3334ac6481p+57","0x1.2ef3334ac6481p+57","0x1.2ef3334ac6481p+57","0x1.2ef3334ac6481p+57","0x1.2ef3334ac6481p+57","0x1.2ef3334ac6481p+57","0x1.2ef3334ac6481p+57","0x1.2ef3334ac6481p+57"],"low":["0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0"]},"p_m3":{"shape":[9],"high":["0x1.2ef3334ac6481p+57","0x1.2ef3334ac6481p+57","0x1.2ef3334ac6481p+57","0x1.2ef3334ac6481p+57","0x1.2ef3334ac6481p+57","0x1.2ef3334ac6481p+57","0x1.2ef3334ac6481p+57","0x1.2ef3334ac6481p+57","0x1.2ef3334ac6481p+57"],"low":["0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0"]},"phi_V":{"shape":[9],"high":["0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0"],"low":["0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0"]}},"primitives":{"n_m3":{"shape":[9],"precision":"input-expansion4-v1","words":[["0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0"],["0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0"],["0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0"],["0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0"]]},"p_m3":{"shape":[9],"precision":"input-expansion4-v1","words":[["0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0"],["0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0"],["0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0"],["0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0"]]},"phi_V":{"shape":[9],"precision":"input-expansion4-v1","words":[["0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0"],["0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0"],["0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0"],["0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0"]]}},"time":"0x0.0p+0","inputs":["0x0.0p+0","0x0.0p+0"],"coordinates":["0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0","0x0.0p+0"],"reference":"relative:4aacb1aecb58330bfed97bed7cfc944f9b976b2e1350a8129deedcb81f66dd4d:initial","composition_policy":"exact-four-word-primitives-v1","transition":null},"field_role":"projection"},"sha256":"61c15f6df9812a8a7e6d5f67ba8cccb560609fec53dabeb3313a1d51b0fb5da3"},"initial_remainders_SI":[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0],"physical_reference_fields":{"n_m3":{"high":[1.7054568918001667e+17,1.7054568918001667e+17,1.7054568918001667e+17,1.7054568918001667e+17,1.7054568918001667e+17,1.7054568918001667e+17,1.7054568918001667e+17,1.7054568918001667e+17,1.7054568918001667e+17],"low":[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0]},"p_m3":{"high":[1.7054568918001667e+17,1.7054568918001667e+17,1.7054568918001667e+17,1.7054568918001667e+17,1.7054568918001667e+17,1.7054568918001667e+17,1.7054568918001667e+17,1.7054568918001667e+17,1.7054568918001667e+17],"low":[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0]},"phi_V":{"high":[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0],"low":[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0]}},"reference_residual_zeroed":false,"physical_mass_and_derivative_units_unchanged":true,"native_run_admitted":false},"voltage_lift_map":{"schema":"solarlab.affine-voltage-map.v1","physical_model":"6363276bdb03de82816ab60bdae3603b618e5c19d7d01c6fe704bde005acc240","physical_reference":"ecd1a396b8a8f8a0adf21e17b481a018382c7159aa25b13497fade54711cec35","layout":"f92493f7c151d6aa8cea468902a003fadf63f9c7cb7dd86bafa1f7028f908679","columns_hex":["0x1.2ef3334ac6481p+57","0x1.2ef3334ac6481p+57","0x1.2ef3334ac6481p+57","0x1.2ef3334ac6481p+57","0x1.2ef3334ac6481p+57","0x1.2ef3334ac6481p+57","0x1.2ef3334ac6481p+57","0x1.2ef3334ac6481p+57","0x1.2ef3334ac6481p+57","0x1.2ef3334ac6481p+57","0x1.2ef3334ac6481p+57","0x1.2ef3334ac6481p+57","0x1.2ef3334ac6481p+57","0x1.2ef3334ac6481p+57","0x1.2ef3334ac6481p+57","0x1.2ef3334ac6481p+57","0x1.2ef3334ac6481p+57","0x1.2ef3334ac6481p+57","0x1.a78f25679cb4ep-6","0x1.a78f25679cb4ep-6","0x1.a78f25679cb4ep-6","0x1.a78f25679cb4ep-6","0x1.a78f25679cb4ep-6","0x1.a78f25679cb4ep-6","0x1.a78f25679cb4ep-6","0x1.a78f25679cb4ep-6","0x1.a78f25679cb4ep-6"],"rows_hex":["0x1.bc8a87bfaab10p-60","0x1.d2418c36152cap-62","0x1.613e27de2090fp-63","0x1.f767a80828ff9p-64","0x1.613e27de2090ep-63","0x1.d2418c36152c8p-62","0x1.bc8a87bfaab3bp-60","0x1.bc8a87bfaab10p-60","0x1.d2418c36152cap-62","0x1.613e27de2090fp-63","0x1.f767a80828ff9p-64","0x1.613e27de2090ep-63","0x1.d2418c36152c8p-62","0x1.bc8a87bfaab3bp-60","0x1.fff67ad5faa6ap+15","0x1.fff67ad5faa6ap+15","0x1.fff67ad5faa6ap+15","0x1.fff67ad5faa6ap+15","0x1.fff67ad5faa6ap+15","0x1.fff67ad5faa6ap+15","0x1.fff67ad5faa6ap+15","0x1.35742d52b295ep+5","0x1.35742d52b295ep+5","0x1.b0a6f9e93bb88p-58","0x1.b0a6f9e93bb88p-58","0x1.b0a6f9e93bb88p-58","0x1.b0a6f9e93bb88p-58"],"lift_hex":[["0x0.0p+0","0x0.0p+0"],["0x0.0p+0","0x0.0p+0"],["0x0.0p+0","0x0.0p+0"],["0x0.0p+0","0x0.0p+0"],["0x0.0p+0","0x0.0p+0"],["0x0.0p+0","0x0.0p+0"],["0x0.0p+0","0x0.0p+0"],["0x0.0p+0","0x0.0p+0"],["0x0.0p+0","0x0.0p+0"],["0x0.0p+0","0x0.0p+0"],["0x0.0p+0","0x0.0p+0"],["0x0.0p+0","0x0.0p+0"],["0x0.0p+0","0x0.0p+0"],["0x0.0p+0","0x0.0p+0"],["0x0.0p+0","0x0.0p+0"],["0x0.0p+0","0x0.0p+0"],["0x0.0p+0","0x0.0p+0"],["0x0.0p+0","0x0.0p+0"],["-0x0.0p+0","0x0.0p+0"],["-0x1.18623fe4565c0p-7","0x0.0p+0"],["-0x1.72165282c6f70p-5","0x0.0p+0"],["-0x1.726008f74c7cep-3","0x0.0p+0"],["-0x1.0000000000000p-1","0x0.0p+0"],["-0x1.a367fdc22ce0cp-1","0x0.0p+0"],["-0x1.e8de9ad7d390ap-1","0x0.0p+0"],["-0x1.fb9e77006ea6ap-1","0x0.0p+0"],["-0x1.0000000000000p+0","0x0.0p+0"]],"reference_inputs_hex":["0x0.0p+0","0x0.0p+0"],"raw_coordinate_meaning":"scaled voltage departures; other fields are scaled physical remainders","physical_coordinate_meaning":"Point.y is the first word of S*z+L*(a-a_ref)"},"map_identity":"fadc593fd07f2c317613d530fa7b7fa864af7211d1e371e0ffde2ee5f9fa4fbf","segments":[{"id":"dark_equilibrium_hold","start":0.0,"end":1e-07,"voltage":[0,0],"photons":[0,0]},{"id":"linear_voltage_light_ramp","start":1e-07,"end":2e-07,"voltage":[0,0.1],"photons":[0,2e+16]},{"id":"illuminated_hold","start":2e-07,"end":1.2e-06,"voltage":[0.1,0.1],"photons":[2e+16,2e+16]}],"controls":{"rtol":1.2925999893217766e-09,"atol":[5e-09,5e-09,5e-09,5e-09,5e-09,5e-09,5e-09,5e-09,5e-09,5e-09,5e-09,5e-09,5e-09,5e-09,5e-09,5e-09,5e-09,5e-09,1e-08,9.957216829313098e-09,9.774116701345439e-09,9.095763826146317e-09,7.5e-09,5.904236173853683e-09,5.22588329865456e-09,5.042783170686901e-09,5e-09],"max_step":5e-09,"max_order":5,"max_num_steps":200000,"max_nonlin_iters":4,"max_conv_fails":10,"first_step":0.0,"calc_initcond":null,"linsolver":"sparse","nthreads":1},"previous_controls":{"rtol":5e-09,"atol":[5e-09,5e-09,5e-09,5e-09,5e-09,5e-09,5e-09,5e-09,5e-09,5e-09,5e-09,5e-09,5e-09,5e-09,5e-09,5e-09,5e-09,5e-09,1e-08,1e-08,1e-08,1e-08,1e-08,1e-08,1e-08,1e-08,1e-08],"max_step":5e-09,"max_order":5,"max_num_steps":200000,"max_nonlin_iters":4,"max_conv_fails":10,"first_step":0.0,"calc_initcond":null,"linsolver":"sparse","nthreads":1},"weight_certificate":{"schema":"solarlab.voltage-lift-wrms-proof.v1","map_identity":"fadc593fd07f2c317613d530fa7b7fa864af7211d1e371e0ffde2ee5f9fa4fbf","rtol":1.2925999893217766e-09,"atol":[5e-09,5e-09,5e-09,5e-09,5e-09,5e-09,5e-09,5e-09,5e-09,5e-09,5e-09,5e-09,5e-09,5e-09,5e-09,5e-09,5e-09,5e-09,1e-08,9.957216829313098e-09,9.774116701345439e-09,9.095763826146317e-09,7.5e-09,5.904236173853683e-09,5.22588329865456e-09,5.042783170686901e-09,5e-09],"rtol_hex":"0x1.634ea3522cb47p-30","old_controls_sha256":"c93c2e28a47fbfaf6539fe8659d6b5beecccd3ed21af28c7b530ad2e9ac31575","old_coordinate_frame":"scaled original physical remainders","full_protocol_input_bounds":[{"segment":{"id":"dark_equilibrium_hold","start":0.0,"end":1e-07,"voltage":[0,0],"photons":[0,0]},"input_bounds":[[0.0,0.0],[0.0,0.0]]},{"segment":{"id":"linear_voltage_light_ramp","start":1e-07,"end":2e-07,"voltage":[0,0.1],"photons":[0,2e+16]},"input_bounds":[[0.0,0.1],[0.0,2e+16]]},{"segment":{"id":"illuminated_hold","start":2e-07,"end":1.2e-06,"voltage":[0.1,0.1],"photons":[2e+16,2e+16]},"input_bounds":[[0.1,0.1],[2e+16,2e+16]]}],"components":[{"index":0,"scale_exact":"170545689180016672","offset_upper_exact":"0","old_physical_atol_exact":"16107584927632301104329427429533/18889465931478580854784","new_physical_atol_exact":"16107584927632301104329427429533/18889465931478580854784","atol_z_hex":"0x1.5798ee2308c3ap-28","checks":{"positive_atol":true,"rtol_not_larger":true,"half_absolute_budget":true,"encoded_atol_not_larger":true,"triangle_margin":true}},{"index":1,"scale_exact":"170545689180016672","offset_upper_exact":"0","old_physical_atol_exact":"16107584927632301104329427429533/18889465931478580854784","new_physical_atol_exact":"16107584927632301104329427429533/18889465931478580854784","atol_z_hex":"0x1.5798ee2308c3ap-28","checks":{"positive_atol":true,"rtol_not_larger":true,"half_absolute_budget":true,"encoded_atol_not_larger":true,"triangle_margin":true}},{"index":2,"scale_exact":"170545689180016672","offset_upper_exact":"0","old_physical_atol_exact":"16107584927632301104329427429533/18889465931478580854784","new_physical_atol_exact":"16107584927632301104329427429533/18889465931478580854784","atol_z_hex":"0x1.5798ee2308c3ap-28","checks":{"positive_atol":true,"rtol_not_larger":true,"half_absolute_budget":true,"encoded_atol_not_larger":true,"triangle_margin":true}},{"index":3,"scale_exact":"170545689180016672","offset_upper_exact":"0","old_physical_atol_exact":"16107584927632301104329427429533/18889465931478580854784","new_physical_atol_exact":"16107584927632301104329427429533/18889465931478580854784","atol_z_hex":"0x1.5798ee2308c3ap-28","checks":{"positive_atol":true,"rtol_not_larger":true,"half_absolute_budget":true,"encoded_atol_not_larger":true,"triangle_margin":true}},{"index":4,"scale_exact":"170545689180016672","offset_upper_exact":"0","old_physical_atol_exact":"16107584927632301104329427429533/18889465931478580854784","new_physical_atol_exact":"16107584927632301104329427429533/18889465931478580854784","atol_z_hex":"0x1.5798ee2308c3ap-28","checks":{"positive_atol":true,"rtol_not_larger":true,"half_absolute_budget":true,"encoded_atol_not_larger":true,"triangle_margin":true}},{"index":5,"scale_exact":"170545689180016672","offset_upper_exact":"0","old_physical_atol_exact":"16107584927632301104329427429533/18889465931478580854784","new_physical_atol_exact":"16107584927632301104329427429533/18889465931478580854784","atol_z_hex":"0x1.5798ee2308c3ap-28","checks":{"positive_atol":true,"rtol_not_larger":true,"half_absolute_budget":true,"encoded_atol_not_larger":true,"triangle_margin":true}},{"index":6,"scale_exact":"170545689180016672","offset_upper_exact":"0","old_physical_atol_exact":"16107584927632301104329427429533/18889465931478580854784","new_physical_atol_exact":"16107584927632301104329427429533/18889465931478580854784","atol_z_hex":"0x1.5798ee2308c3ap-28","checks":{"positive_atol":true,"rtol_not_larger":true,"half_absolute_budget":true,"encoded_atol_not_larger":true,"triangle_margin":true}},{"index":7,"scale_exact":"170545689180016672","offset_upper_exact":"0","old_physical_atol_exact":"16107584927632301104329427429533/18889465931478580854784","new_physical_atol_exact":"16107584927632301104329427429533/18889465931478580854784","atol_z_hex":"0x1.5798ee2308c3ap-28","checks":{"positive_atol":true,"rtol_not_larger":true,"half_absolute_budget":true,"encoded_atol_not_larger":true,"triangle_margin":true}},{"index":8,"scale_exact":"170545689180016672","offset_upper_exact":"0","old_physical_atol_exact":"16107584927632301104329427429533/18889465931478580854784","new_physical_atol_exact":"16107584927632301104329427429533/18889465931478580854784","atol_z_hex":"0x1.5798ee2308c3ap-28","checks":{"positive_atol":true,"rtol_not_larger":true,"half_absolute_budget":true,"encoded_atol_not_larger":true,"triangle_margin":true}},{"index":9,"scale_exact":"170545689180016672","offset_upper_exact":"0","old_physical_atol_exact":"16107584927632301104329427429533/18889465931478580854784","new_physical_atol_exact":"16107584927632301104329427429533/18889465931478580854784","atol_z_hex":"0x1.5798ee2308c3ap-28","checks":{"positive_atol":true,"rtol_not_larger":true,"half_absolute_budget":true,"encoded_atol_not_larger":true,"triangle_margin":true}},{"index":10,"scale_exact":"170545689180016672","offset_upper_exact":"0","old_physical_atol_exact":"16107584927632301104329427429533/18889465931478580854784","new_physical_atol_exact":"16107584927632301104329427429533/18889465931478580854784","atol_z_hex":"0x1.5798ee2308c3ap-28","checks":{"positive_atol":true,"rtol_not_larger":true,"half_absolute_budget":true,"encoded_atol_not_larger":true,"triangle_margin":true}},{"index":11,"scale_exact":"170545689180016672","offset_upper_exact":"0","old_physical_atol_exact":"16107584927632301104329427429533/18889465931478580854784","new_physical_atol_exact":"16107584927632301104329427429533/18889465931478580854784","atol_z_hex":"0x1.5798ee2308c3ap-28","checks":{"positive_atol":true,"rtol_not_larger":true,"half_absolute_budget":true,"encoded_atol_not_larger":true,"triangle_margin":true}},{"index":12,"scale_exact":"170545689180016672","offset_upper_exact":"0","old_physical_atol_exact":"16107584927632301104329427429533/18889465931478580854784","new_physical_atol_exact":"16107584927632301104329427429533/18889465931478580854784","atol_z_hex":"0x1.5798ee2308c3ap-28","checks":{"positive_atol":true,"rtol_not_larger":true,"half_absolute_budget":true,"encoded_atol_not_larger":true,"triangle_margin":true}},{"index":13,"scale_exact":"170545689180016672","offset_upper_exact":"0","old_physical_atol_exact":"16107584927632301104329427429533/18889465931478580854784","new_physical_atol_exact":"16107584927632301104329427429533/18889465931478580854784","atol_z_hex":"0x1.5798ee2308c3ap-28","checks":{"positive_atol":true,"rtol_not_larger":true,"half_absolute_budget":true,"encoded_atol_not_larger":true,"triangle_margin":true}},{"index":14,"scale_exact":"170545689180016672","offset_upper_exact":"0","old_physical_atol_exact":"16107584927632301104329427429533/18889465931478580854784","new_physical_atol_exact":"16107584927632301104329427429533/18889465931478580854784","atol_z_hex":"0x1.5798ee2308c3ap-28","checks":{"positive_atol":true,"rtol_not_larger":true,"half_absolute_budget":true,"encoded_atol_not_larger":true,"triangle_margin":true}},{"index":15,"scale_exact":"170545689180016672","offset_upper_exact":"0","old_physical_atol_exact":"16107584927632301104329427429533/18889465931478580854784","new_physical_atol_exact":"16107584927632301104329427429533/18889465931478580854784","atol_z_hex":"0x1.5798ee2308c3ap-28","checks":{"positive_atol":true,"rtol_not_larger":true,"half_absolute_budget":true,"encoded_atol_not_larger":true,"triangle_margin":true}},{"index":16,"scale_exact":"170545689180016672","offset_upper_exact":"0","old_physical_atol_exact":"16107584927632301104329427429533/18889465931478580854784","new_physical_atol_exact":"16107584927632301104329427429533/18889465931478580854784","atol_z_hex":"0x1.5798ee2308c3ap-28","checks":{"positive_atol":true,"rtol_not_larger":true,"half_absolute_budget":true,"encoded_atol_not_larger":true,"triangle_margin":true}},{"index":17,"scale_exact":"170545689180016672","offset_upper_exact":"0","old_physical_atol_exact":"16107584927632301104329427429533/18889465931478580854784","new_physical_atol_exact":"16107584927632301104329427429533/18889465931478580854784","atol_z_hex":"0x1.5798ee2308c3ap-28","checks":{"positive_atol":true,"rtol_not_larger":true,"half_absolute_budget":true,"encoded_atol_not_larger":true,"triangle_margin":true}},{"index":18,"scale_exact":"3725665811359143/144115188075855872","offset_upper_exact":"0","old_physical_atol_exact":"11260133986518886128790344936939/43556142965880123323311949751266331066368","new_physical_atol_exact":"11260133986518886128790344936939/43556142965880123323311949751266331066368","atol_z_hex":"0x1.5798ee2308c3ap-27","checks":{"positive_atol":true,"rtol_not_larger":true,"half_absolute_budget":true,"encoded_atol_not_larger":true,"triangle_margin":true}},{"index":19,"scale_exact":"3725665811359143/144115188075855872","offset_upper_exact":"277678653444696883512198733291/324518553658426726783156020576256","old_physical_atol_exact":"11260133986518886128790344936939/43556142965880123323311949751266331066368","new_physical_atol_exact":"11211959563088623359660030331497/43556142965880123323311949751266331066368","atol_z_hex":"0x1.56209b00462dep-27","checks":{"positive_atol":true,"rtol_not_larger":true,"half_absolute_budget":true,"encoded_atol_not_larger":true,"triangle_margin":true}},{"index":20,"scale_exact":"3725665811359143/144115188075855872","offset_upper_exact":"1466066427499449042687598667723/324518553658426726783156020576256","old_physical_atol_exact":"11260133986518886128790344936939/43556142965880123323311949751266331066368","new_physical_atol_exact":"22011572731404327195956905154505/87112285931760246646623899502532662132736","atol_z_hex":"0x1.4fd60a2ac250fp-27","checks":{"positive_atol":true,"rtol_not_larger":true,"half_absolute_budget":true,"encoded_atol_not_larger":true,"triangle_margin":true}},{"index":21,"scale_exact":"3725665811359143/144115188075855872","offset_upper_exact":"11737656612185073837051638584315/649037107316853453566312041152512","old_physical_atol_exact":"11260133986518886128790344936939/43556142965880123323311949751266331066368","new_physical_atol_exact":"5120975969606960286409153803447/21778071482940061661655974875633165533184","atol_z_hex":"0x1.38872f49fe9c4p-27","checks":{"positive_atol":true,"rtol_not_larger":true,"half_absolute_budget":true,"encoded_atol_not_larger":true,"triangle_margin":true}},{"index":22,"scale_exact":"3725665811359143/144115188075855872","offset_upper_exact":"3602879701896397/72057594037927936","old_physical_atol_exact":"11260133986518886128790344936939/43556142965880123323311949751266331066368","new_physical_atol_exact":"16890200979778327330352611725837/87112285931760246646623899502532662132736","atol_z_hex":"0x1.01b2b29a4692bp-27","checks":{"positive_atol":true,"rtol_not_larger":true,"half_absolute_budget":true,"encoded_atol_not_larger":true,"triangle_margin":true}},{"index":23,"scale_exact":"3725665811359143/144115188075855872","offset_upper_exact":"6645756764937533939947445691367/81129638414606681695789005144064","old_physical_atol_exact":"11260133986518886128790344936939/43556142965880123323311949751266331066368","new_physical_atol_exact":"13296498081128817240734419597029/87112285931760246646623899502532662132736","atol_z_hex":"0x1.95bc6bd51d126p-28","checks":{"positive_atol":true,"rtol_not_larger":true,"half_absolute_budget":true,"encoded_atol_not_larger":true,"triangle_margin":true}},{"index":24,"scale_exact":"3725665811359143/144115188075855872","offset_upper_exact":"15492894469171614519973778117249/162259276829213363391578010288128","old_physical_atol_exact":"11260133986518886128790344936939/43556142965880123323311949751266331066368","new_physical_atol_exact":"11768829228152327464748318297169/87112285931760246646623899502532662132736","atol_z_hex":"0x1.671eb61395a8ep-28","checks":{"positive_atol":true,"rtol_not_larger":true,"half_absolute_budget":true,"encoded_atol_not_larger":true,"triangle_margin":true}},{"index":25,"scale_exact":"3725665811359143/144115188075855872","offset_upper_exact":"16087088356198990599561478084465/162259276829213363391578010288128","old_physical_atol_exact":"11260133986518886128790344936939/43556142965880123323311949751266331066368","new_physical_atol_exact":"1419560354172425992673145348585/10889035741470030830827987437816582766592","atol_z_hex":"0x1.5a8994688def0p-28","checks":{"positive_atol":true,"rtol_not_larger":true,"half_absolute_budget":true,"encoded_atol_not_larger":true,"triangle_margin":true}},{"index":26,"scale_exact":"3725665811359143/144115188075855872","offset_upper_exact":"3602879701896397/36028797018963968","old_physical_atol_exact":"11260133986518886128790344936939/43556142965880123323311949751266331066368","new_physical_atol_exact":"11260133986518886128790344936939/87112285931760246646623899502532662132736","atol_z_hex":"0x1.5798ee2308c3ap-28","checks":{"positive_atol":true,"rtol_not_larger":true,"half_absolute_budget":true,"encoded_atol_not_larger":true,"triangle_margin":true}}],"bound":"S*atol_z+rnew*abs(y-L*(a-a_ref))<=S*old_atol_z+rold*abs(y)","proof":"abs(y-b)<=abs(y)+U; rnew<=rold; Anew+rnew*U<=Aold; directed-down binary64 encoding","scope":"all real physical remainders and stated protocol inputs; local error-denominator comparison only","state_and_rate_projection_errors_separate":true,"native_admission":false,"global_accuracy_or_conservation_certified":false},"budgets":{"wall_s":600,"rss_bytes":2147483648,"native_steps":200000,"residual_calls":2000000,"total_output_bytes":536870912,"charge_C":9.613059803999999e-15,"current_A":1.602176634e-05,"constraint_charge_C":3.2043532679999997e-15,"constraint_potential_V":0.0003333333333333333,"contact_relative":0.0033333333333333335,"ion_inventory_relative":1e-10,"maximum_site_fraction":0.999},"original_budgets":{"wall_s":600,"rss_bytes":2147483648,"native_steps":200000,"residual_calls":2000000,"total_output_bytes":536870912,"charge_C":9.613059803999999e-15,"current_A":1.602176634e-05,"constraint_charge_C":3.2043532679999997e-15,"constraint_potential_V":0.0003333333333333333,"contact_relative":0.0033333333333333335,"ion_inventory_relative":1e-10,"maximum_site_fraction":0.999},"observation_times":{"dark_equilibrium_hold":[0.0,3.125e-09,6.25e-09,9.375e-09,1.25e-08,1.5625e-08,1.875e-08,2.1875e-08,2.5e-08,2.8125e-08,3.125e-08,3.4375e-08,3.75e-08,4.0624999999999995e-08,4.375e-08,4.6875e-08,5e-08,5.3124999999999994e-08,5.625e-08,5.9375e-08,6.25e-08,6.5625e-08,6.875e-08,7.1875e-08,7.5e-08,7.812499999999999e-08,8.124999999999999e-08,8.4375e-08,8.75e-08,9.062499999999999e-08,9.375e-08,9.6875e-08,1e-07],"linear_voltage_light_ramp":[1e-07,1.0312499999999999e-07,1.0624999999999999e-07,1.09375e-07,1.125e-07,1.1562499999999999e-07,1.1875e-07,1.21875e-07,1.2297039988593425e-07,1.25e-07,1.28125e-07,1.3125e-07,1.3248732322905687e-07,1.3437499999999998e-07,1.375e-07,1.4062499999999998e-07,1.4297039988593424e-07,1.4375e-07,1.46875e-07,1.5e-07,1.53125e-07,1.5624999999999999e-07,1.59375e-07,1.6249999999999998e-07,1.65625e-07,1.6875e-07,1.71875e-07,1.75e-07,1.78125e-07,1.8124999999999999e-07,1.8437499999999998e-07,1.875e-07,1.9062499999999997e-07,1.9375e-07,1.96875e-07,2e-07],"illuminated_hold":[2e-07,2.3124999999999998e-07,2.625e-07,2.9375e-07,3.2499999999999996e-07,3.5625e-07,3.875e-07,4.1875e-07,4.5e-07,4.8125e-07,5.125e-07,5.4375e-07,5.75e-07,6.062499999999999e-07,6.375e-07,6.6875e-07,7e-07,7.3125e-07,7.625e-07,7.937499999999999e-07,8.249999999999999e-07,8.5625e-07,8.875e-07,9.1875e-07,9.5e-07,9.8125e-07,1.0125e-06,1.04375e-06,1.0749999999999999e-06,1.10625e-06,1.1375e-06,1.16875e-06,1.2e-06]},"quadrature":{"8":{"nodes":[-0.9602898564975362,-0.7966664774136267,-0.525532409916329,-0.18343464249564984,0.18343464249564984,0.525532409916329,0.7966664774136267,0.9602898564975362],"weights":[0.10122853629037652,0.22238103445337445,0.31370664587788716,0.3626837833783618,0.3626837833783618,0.31370664587788716,0.22238103445337445,0.10122853629037652]},"16":{"nodes":[-0.9894009349916499,-0.9445750230732326,-0.8656312023878316,-0.7554044083550031,-0.6178762444026438,-0.45801677765722737,-0.2816035507792589,-0.09501250983763744,0.09501250983763744,0.2816035507792589,0.45801677765722737,0.6178762444026438,0.7554044083550031,0.8656312023878316,0.9445750230732326,0.9894009349916499],"weights":[0.027152459411754055,0.06225352393864761,0.095158511682493,0.12462897125553395,0.14959598881657665,0.16915651939500262,0.1826034150449236,0.18945061045506859,0.18945061045506859,0.1826034150449236,0.16915651939500262,0.14959598881657665,0.12462897125553395,0.095158511682493,0.06225352393864761,0.027152459411754055]},"32":{"nodes":[-0.9972638618494816,-0.9856115115452683,-0.9647622555875064,-0.9349060759377397,-0.8963211557660521,-0.84936761373257,-0.7944837959679424,-0.7321821187402897,-0.6630442669302152,-0.5877157572407623,-0.5068999089322294,-0.42135127613063533,-0.33186860228212767,-0.23928736225213706,-0.1444719615827965,-0.04830766568773832,0.04830766568773832,0.1444719615827965,0.23928736225213706,0.33186860228212767,0.42135127613063533,0.5068999089322294,0.5877157572407623,0.6630442669302152,0.7321821187402897,0.7944837959679424,0.84936761373257,0.8963211557660521,0.9349060759377397,0.9647622555875064,0.9856115115452683,0.9972638618494816],"weights":[0.007018610009470362,0.016274394730906486,0.02539206530926273,0.03427386291302163,0.042835898022226926,0.05099805926237596,0.05868409347853546,0.0658222227763616,0.0723457941088482,0.07819389578707012,0.08331192422694662,0.08765209300440369,0.09117387869576371,0.09384439908080439,0.0956387200792746,0.09654008851472758,0.09654008851472758,0.0956387200792746,0.09384439908080439,0.09117387869576371,0.08765209300440369,0.08331192422694662,0.07819389578707012,0.0723457941088482,0.0658222227763616,0.05868409347853546,0.05099805926237596,0.042835898022226926,0.03427386291302163,0.02539206530926273,0.016274394730906486,0.007018610009470362]}},"mandatory":{"state_and_affine_constraints":true,"raw_tangent_current_agreement":true,"both_interval_and_prefix_charge_ledgers":true,"interval_and_prefix_defect_plus_uncertainty":true,"interval_and_prefix_reference_share":true,"mapped_rate_projection_budget":true},"observation_policy":"retain_raw_and_separately_named_physical_tangent","quadrature_uncertainty_scope":"original8/16/32 tables retain sample checks; a separately reviewed polynomial policy supplies ball radii and endpoint/input/clock/readback error bounds; empirical Gauss differences are not certificates","observation_policy_authority":"native admission requires the exact reviewed request.interval_observation; the inherited observation_policy retains historical context only","projection_policy":{"rates":"public RateView carries all direct-map words through residual and observation; first-word audit is counterfactual only","point_current":"full-word raw/tangent currents and separate public row-arithmetic bounds; complete observation error allocation awaits qualification","charge_integrands":["sum(reservoir_conduction)","left(total-conduction)","right(total-conduction)"],"interval":"source-bound affine polynomial actions and bounded nonlinear physical-source integrals require every endpoint/input/clock/readback error term; first-word projection remains a counterfactual diagnostic","prefix":"nonnegative exact-rational interval defects and observation bounds accumulate without resets or signed cancellation; original total and B/3 allocations remain","continuum_certificate":false},"full_word_consumer_qualification":{"native_policy_admitted":false,"local_action_scope":"affine contractions of represented state, endpoint increment and rate words with finite physical coefficients","pending":["full physical source and row error allocation","continuous quadrature error certification","source-bound native protocol and independent refinements"],"physical_gates_changed":false},"physical_domain_policy":{"admissible":"n,p>0; 0<=c0; 0<=c0; 0<=c 0) + np.testing.assert_array_equal(np.diff(phi + affinity + gap), [0.0, 0.0]) + + +def test_distinct_conduction_and_valence_offsets_keep_their_signs(): + phi = np.array([0.125, 0.25, 0.5, 1.0]) + affinity = np.array([4.0, 4.5, 4.5, 5.0]) + gap = np.array([2.0, 1.5, 1.5, 0.5]) + before = tuple(value.copy() for value in (phi, affinity, gap)) + electron, hole = band_steps(phi, affinity, gap) + np.testing.assert_array_equal(electron, exact_steps(phi, affinity)) + np.testing.assert_array_equal(hole, exact_steps(phi, affinity, gap)) + assert electron[-1] == 1.0 and hole[-1] == 0.0 + for original, value in zip(before, (phi, affinity, gap), strict=True): + np.testing.assert_array_equal(original, value) + + +def test_reversing_nodes_reverses_face_drives(): + fields = ([0.0, 0.125, 0.25], [4.0, 4.5, 5.0], [2.0, 1.0, 0.5]) + forward = band_steps(*fields) + reverse = band_steps(*(field[::-1] for field in fields)) + for left, right in zip(forward, reverse, strict=True): + np.testing.assert_array_equal(right, -left[::-1]) + + +@pytest.mark.parametrize("fields", [ + ([0.0], [4.0], [1.6]), + ([0.0, 1.0], [4.0, 4.0, 4.0], [1.6, 1.6]), + ([[0.0, 1.0]], [[4.0, 4.0]], [[1.6, 1.6]]), + ([0.0, np.nan], [4.0, 4.0], [1.6, 1.6]), + ([0.0, 1.0], [4.0, np.inf], [1.6, 1.6]), + ([False, True], [4.0, 4.0], [1.6, 1.6]), +]) +def test_invalid_component_arrays_are_rejected(fields): + with pytest.raises(ValueError): + band_steps(*fields) diff --git a/tests/numerical_contracts/test_bounded_observation.py b/tests/numerical_contracts/test_bounded_observation.py new file mode 100644 index 00000000..2a77cc5c --- /dev/null +++ b/tests/numerical_contracts/test_bounded_observation.py @@ -0,0 +1,220 @@ +"""Pure exact-oracle tests; no model, solver, old stream or native fixture.""" +from dataclasses import replace +from fractions import Fraction +import hashlib +import json + +import pytest + +from scripts.benchmarks.bounded_observation import ( + BoundChannel, ExactBoundTerm, MAX_BITS, UpperAccumulator, UpperSumError, + UpperSumPolicy, verify_upper_prefix, +) + +SOURCE = hashlib.sha256(b"independent-synthetic-interval-source-v1").hexdigest() +RIGHT = BoundChannel("raw_polynomial", "right_metal", "reference") + + +def policy(*, channels=(RIGHT,), bits=32, count=16, **changes): + fields = dict(source_identity=SOURCE, channels=channels, quantum_bits=bits, + max_terms=count, max_slack_per_channel=Fraction(count, 1 << bits), + max_increment_bits=256, max_evidence_bytes=1024) + fields.update(changes) + return UpperSumPolicy(**fields) + + +def term(p, values, index=0): + # Opaque original evidence retains signed words, negative zero and enclosures. + evidence = json.dumps({"interval": index, "signed_words": ["-0x0.0p+0", "-0x1.0p-10", "0x1.0p-10"], + "local_enclosure": {"center_hex_ratio": ["-0x1", "0x3"], "radius_hex_ratio": ["0x1", "0x100"]}}, + separators=(",", ":")).encode() + return ExactBoundTerm(SOURCE, p.channel_ids, hashlib.sha256(evidence).hexdigest(), + tuple(values), evidence) + + +def produce(p, terms): + accumulator = UpperAccumulator(p) + return [accumulator.append(t) for t in terms] + + +def verify(p, certificates, terms): + retained = [] + result = verify_upper_prefix(p, iter(certificates), iter(terms), retain=retained.append) + assert retained == certificates + assert [c.term.signed_evidence for c in retained] == [t.signed_evidence for t in terms] + assert result.retention_deliveries == len(terms) + return result + + +def test_exact_zero_and_grid_values_retain_every_signed_word(): + p = policy(bits=40) + terms = [term(p, (Fraction(0),), 0), term(p, (Fraction(3, 1 << 40),), 1), term(p, (0,), 2)] + certificates = produce(p, terms) + result = verify(p, certificates, terms) + assert certificates[0].upper_numerators == (0,) + assert certificates[0].rounded_terms == (0,) + assert result.upper_bounds == result.lower_bounds == (Fraction(3, 1 << 40),) + assert result.slack_upper_bounds == (0,) + assert b'"-0x0.0p+0"' in certificates[-1].term.signed_evidence + + +def test_independent_exact_oracle_bounds_every_prefix(): + p = policy(bits=12) + values = [Fraction(1,3), Fraction(1,5), Fraction(0), Fraction(1,7), Fraction(1,1 << 20)] + terms = [term(p, (x,), i) for i, x in enumerate(values)] + certificates = produce(p, terms) + total = Fraction(0) + for i, (value, certificate) in enumerate(zip(values, certificates), 1): + total += value + upper = Fraction(certificate.upper_numerators[0], 1 << p.quantum_bits) + assert total <= upper < total + i*p.quantum + assert upper - total <= certificate.slack_upper_bounds[0] <= p.max_slack_per_channel + result = verify(p, certificates, terms) + assert result.lower_bounds[0] <= total <= result.upper_bounds[0] + + +def test_all_twelve_channels_remain_distinct_across_segments_and_failed_interval(): + channels = tuple(BoundChannel(ledger, row, kind) + for ledger in ("raw_polynomial", "same_state_affine_tangent") + for row in ("device", "left_metal", "right_metal") for kind in ("total", "reference")) + p = policy(channels=channels, bits=20) + terms = [term(p, tuple(Fraction((j//2)+1, 7+i) * (2 if c.kind == "total" else 1) + for j,c in enumerate(channels)), i) for i in range(3)] + certificates = produce(p, terms) + result = verify(p, certificates, terms) + assert result.count == 3 # The caller-supplied last/failing interval is retained too. + assert len(result.upper_bounds) == 12 + assert all(result.upper_bounds[i] >= result.upper_bounds[i+1] for i in range(0,12,2)) + assert [c.index for c in certificates] == [1,2,3] + with pytest.raises(UpperSumError, match="certificate_order"): + verify(p, [certificates[0], replace(certificates[1], index=1), certificates[2]], terms) + + +def test_gate_margins_and_indeterminate_enclosure_do_not_change_limit(): + p = policy(bits=80) + limit = Fraction(1, 1 << 40) + for value, expected in ((limit-p.quantum/4, "within"), + (limit+p.quantum/4, "indeterminate"), + (limit+2*p.quantum, "exceeds")): + terms = [term(p, (value,))] + result = verify(p, produce(p, terms), terms) + assert result.gate_status(RIGHT.identity, limit=limit, unit="C") == expected + with pytest.raises(UpperSumError, match="gate_channel_or_unit"): + result.gate_status(RIGHT.identity, limit=limit, unit="A") + with pytest.raises(UpperSumError, match="must_be_exact"): + result.gate_status(RIGHT.identity, limit=float(limit), unit="C") + + +@pytest.mark.parametrize("change", [ + {"schema": "solarlab.nonnegative-upper-sum.v2"}, {"source_identity": "unbound"}, + {"channels": ()}, {"channels": (RIGHT,RIGHT)}, {"quantum_bits": True}, + {"quantum_bits": MAX_BITS}, {"max_terms": 0}, {"max_terms": 200001}, + {"max_slack_per_channel": Fraction(0)}, {"max_increment_bits": 0}, + {"max_evidence_bytes": 0}, +]) +def test_policy_is_explicit_versioned_and_finite(change): + with pytest.raises(UpperSumError): + policy(**change) + + +@pytest.mark.parametrize("kind", ["signed_charge", "state", "current", "radius", ""]) +def test_physical_or_unbound_quantities_are_not_upper_sum_channels(kind): + with pytest.raises(UpperSumError, match="nonnegative_upper_bound"): + BoundChannel("raw_polynomial", "right_metal", kind) + + +@pytest.mark.parametrize("value", [-1, Fraction(-1,3), 0.5, True, "1/3", 1 << 257]) +def test_invalid_increment_does_not_mutate_producer(value): + p = policy() + accumulator = UpperAccumulator(p) + with pytest.raises(UpperSumError): + accumulator.append(term(p, (value,))) + assert accumulator.count == 0 + certificate = accumulator.append(term(p, (0,), 1)) + assert certificate.index == 1 and certificate.upper_numerators == (0,) + + +def test_wrong_mapping_units_evidence_and_source_are_rejected(): + p = policy() + original = term(p, (Fraction(1,3),)) + bad = [replace(original, source_identity="0"*64), replace(original, channel_ids=("left_metal",)), + replace(original, unit="A"), replace(original, signed_evidence=original.signed_evidence+b" "), + replace(original, signed_evidence=bytearray(original.signed_evidence)), + replace(original, schema="solarlab.nonnegative-upper-term.v2")] + for item in bad: + with pytest.raises(UpperSumError): + UpperAccumulator(p).append(item) + certificate = produce(p, [original])[0] + changed = term(p, original.increments, 99) + with pytest.raises(UpperSumError, match="evidence_changed"): + verify(p, [replace(certificate, term=changed)], [original]) + + +def test_paired_total_cannot_understate_reference_increment(): + p = policy(channels=(BoundChannel("raw_polynomial","right_metal","total"), RIGHT)) + with pytest.raises(UpperSumError, match="total_less_than_reference"): + UpperAccumulator(p).append(term(p, (Fraction(1,5),Fraction(1,3)))) + + +def test_understated_and_inflated_prefix_slack_or_policy_certificates_fail(): + p = policy(bits=10) + terms = [term(p, (Fraction(1,3),))] + c = produce(p, terms)[0] + bad = [replace(c, upper_numerators=(c.upper_numerators[0]-1,)), + replace(c, upper_numerators=(c.upper_numerators[0]+1,)), + replace(c, upper_numerators=(True,)), replace(c, rounded_terms=(0,)), + replace(c, slack_upper_bounds=(0,)), replace(c, policy_sha256="0"*64), + replace(c, schema="solarlab.nonnegative-upper-step.v2"), + replace(c, upper_numerators=(1 << (p.upper_integer_bits+1),))] + for certificate in bad: + with pytest.raises(UpperSumError): + verify(p, [certificate], terms) + + +def test_term_ceiling_missing_extra_and_retention_failure_are_not_complete(): + p = policy(count=1) + terms = [term(p, (Fraction(1,3),), i) for i in range(2)] + accumulator = UpperAccumulator(p) + certificates = [accumulator.append(terms[0])] + with pytest.raises(UpperSumError, match="too_many_terms"): + accumulator.append(terms[1]) + assert accumulator.count == 1 + with pytest.raises(UpperSumError, match="too_many_terms"): + verify(p, certificates*2, terms) + with pytest.raises(UpperSumError, match="incomplete_or_extra"): + verify(p, [], terms[:1]) + with pytest.raises(UpperSumError, match="incomplete_or_extra"): + verify(p, certificates, []) + def broken_sink(_certificate): + raise OSError("retention refused") + with pytest.raises(OSError, match="retention refused"): + verify_upper_prefix(p, certificates, terms[:1], retain=broken_sink) + + +def test_verifier_does_not_call_producer_rounding(monkeypatch): + p = policy() + terms = [term(p, (Fraction(1,3),))] + certificates = produce(p, terms) + def forbidden(*_args): + raise AssertionError("producer called by verifier") + monkeypatch.setattr(UpperAccumulator, "append", forbidden) + verify(p, certificates, terms) + + +def test_prime_denominators_keep_aggregate_representation_finite(): + primes = [] + value = 2 + while len(primes) < 512: + if all(value % p for p in primes if p*p <= value): + primes.append(value) + value += 1 + p = policy(bits=160, count=len(primes)) + terms = [term(p, (Fraction(1, prime*(1 << 80)),), i) for i,prime in enumerate(primes)] + certificates = produce(p, terms) + result = verify(p, certificates, terms) + exact_sum = sum((t.increments[0] for t in terms), Fraction(0)) + assert exact_sum.denominator.bit_length() > 4*p.quantum_bits + assert result.upper_bounds[0].denominator.bit_length() <= p.quantum_bits+1 + assert result.lower_bounds[0] <= exact_sum <= result.upper_bounds[0] + assert result.upper_bounds[0]-exact_sum < p.max_terms*p.quantum + assert certificates[-1].upper_numerators[0].bit_length() <= p.upper_integer_bits diff --git a/tests/numerical_contracts/test_charge_balance.py b/tests/numerical_contracts/test_charge_balance.py new file mode 100644 index 00000000..db0a8fc3 --- /dev/null +++ b/tests/numerical_contracts/test_charge_balance.py @@ -0,0 +1,197 @@ +"""Manufactured physical-charge arithmetic; no physical model or flux proof. + +Execute the actual pure definitions without importing the observation module's +physical dependencies. These tests do not admit any numerical trajectory. +""" +import ast +from dataclasses import dataclass +from fractions import Fraction +import math +from pathlib import Path +import unittest + + +REPO = Path(__file__).resolve().parents[2] +NAMESPACE = dict(__name__=__name__, dataclass=dataclass, Fraction=Fraction, math=math) +for filename, names in ( + ("contract_prototype.py", {"ContractError"}), + ("interval_observation.py", {"rational", "Enclosure", "ChargePrefix", "SignedChargePrefix"})): + path = REPO / "scripts/benchmarks" / filename + tree = ast.parse(path.read_text()) + nodes = [node for node in tree.body if isinstance(node, (ast.FunctionDef, ast.ClassDef)) and node.name in names] + assert {node.name for node in nodes} == names + exec(compile(ast.Module(body=nodes, type_ignores=[]), str(path), "exec"), NAMESPACE) + +ContractError = NAMESPACE["ContractError"] +Enclosure = NAMESPACE["Enclosure"] +ChargePrefix = NAMESPACE["ChargePrefix"] +SignedChargePrefix = NAMESPACE["SignedChargePrefix"] +ZERO = (Fraction(0),)*3 +ZERO_ENCLOSURES = (Enclosure(0),)*3 + + +class SignedChargePrefixTests(unittest.TestCase): + def test_independently_supplied_exact_balances_and_uncertainty_fields(self): + prefix = SignedChargePrefix.start((1, 1, 1)) + changes = tuple(Enclosure(value, Fraction(1, 100)) for value in + (Fraction(3, 5), Fraction(5, 6), Fraction(-7, 8))) + integrals = tuple(Enclosure(value, Fraction(1, 200)) for value in + (Fraction(1, 10), Fraction(1, 3), Fraction(-1, 2))) + result, passed = prefix.append(changes, integrals, (Fraction(1, 400),)*3, (Fraction(1, 800),)*3) + self.assertEqual(passed, (True,)*3) + self.assertEqual(result.signed_balances, (Fraction(1, 2), Fraction(1, 2), Fraction(-3, 8))) + self.assertEqual(result.absolute_balances, (Fraction(1, 2), Fraction(1, 2), Fraction(3, 8))) + self.assertEqual(result.charge_errors, (Fraction(1, 100),)*3) + self.assertEqual(result.quadrature_errors, (Fraction(1, 200),)*3) + self.assertEqual(result.input_errors, (Fraction(1, 400),)*3) + self.assertEqual(result.clock_errors, (Fraction(1, 800),)*3) + self.assertEqual(result.total_errors, (Fraction(3, 160),)*3) + self.assertEqual(result.total_bounds, (Fraction(83, 160), Fraction(83, 160), Fraction(63, 160))) + self.assertEqual(result.intervals, 1) + self.assertEqual(prefix.intervals, 0) + self.assertEqual(prefix.signed_balances, ZERO) + + def test_signed_cancellation_has_no_hidden_absolute_prefix_gate(self): + prefix = SignedChargePrefix.start((1, 1, 1)) + legacy = ChargePrefix.start((1, 1, 1)) + for sign in (1, -1, 1, -1): + changes = (Enclosure(sign * Fraction(3, 4)),)*3 + prefix, passed = prefix.append(changes, ZERO_ENCLOSURES, ZERO, ZERO) + legacy, legacy_passed = legacy.append(changes, ZERO_ENCLOSURES, ZERO) + self.assertEqual(passed, (True,)*3) + self.assertEqual(prefix.signed_balances, ZERO) + self.assertEqual(prefix.absolute_balances, (Fraction(3),)*3) + self.assertEqual(prefix.total_bounds, ZERO) + self.assertEqual(prefix.failed, (False,)*3) + self.assertEqual(legacy_passed, (False,)*3) + self.assertEqual(legacy.absolute_defects, (Fraction(3),)*3) + + def test_all_uncertainties_accumulate_despite_signed_cancellation(self): + prefix = SignedChargePrefix.start((1, 1, 1)) + for sign in (1, -1): + prefix, passed = prefix.append((Enclosure(sign * Fraction(1, 4), Fraction(3, 8)),)*3, + (Enclosure(0, Fraction(1, 12)),)*3, (Fraction(1, 24),)*3, (Fraction(1, 24),)*3) + self.assertEqual(passed, (sign == 1,)*3) + self.assertEqual(prefix.signed_balances, ZERO) + self.assertEqual(prefix.charge_errors, (Fraction(3, 4),)*3) + self.assertEqual(prefix.quadrature_errors, (Fraction(1, 6),)*3) + self.assertEqual(prefix.input_errors, (Fraction(1, 12),)*3) + self.assertEqual(prefix.clock_errors, (Fraction(1, 12),)*3) + self.assertEqual(prefix.total_errors, (Fraction(13, 12),)*3) + + def test_only_combined_integration_bound_uses_the_one_third_subbudget(self): + for field in ("charge", "input", "clock"): + with self.subTest(field=field): + charge = Fraction(3, 4) if field == "charge" else 0 + inputs = (Fraction(3, 4),)*3 if field == "input" else ZERO + clocks = (Fraction(3, 4),)*3 if field == "clock" else ZERO + prefix, passed = SignedChargePrefix.start((1, 1, 1)).append( + (Enclosure(0, charge),)*3, ZERO_ENCLOSURES, inputs, clocks) + self.assertEqual(passed, (True,)*3) + self.assertEqual(prefix.total_bounds, (Fraction(3, 4),)*3) + prefix, passed = SignedChargePrefix.start((1, 1, 1)).append( + ZERO_ENCLOSURES, (Enclosure(0, Fraction(5, 12)),)*3, ZERO, ZERO) + self.assertEqual(passed, (False,)*3) + self.assertEqual(prefix.total_bounds, (Fraction(5, 12),)*3) + + def test_separately_known_integrand_error_is_included_in_integral_radius(self): + quadrature = Fraction(1, 6) + integrand_contribution = Fraction(1, 6) + for extra in (0, Fraction(1, 2**150)): + with self.subTest(integrand_excess=extra): + combined = quadrature + integrand_contribution + extra + result, passed = SignedChargePrefix.start((1, 1, 1)).append( + (Enclosure(Fraction(1, 4)),)*3, + (Enclosure(Fraction(1, 4), combined),)*3, ZERO, ZERO) + self.assertEqual(result.signed_balances, ZERO) + self.assertEqual(result.quadrature_errors, (combined,)*3) + self.assertEqual(result.total_errors, (combined,)*3) + self.assertEqual(passed, (extra == 0,)*3) + + def test_cumulative_quadrature_gate(self): + prefix = SignedChargePrefix.start((1, 1, 1)) + prefix, passed = prefix.append(ZERO_ENCLOSURES, (Enclosure(0, Fraction(1, 4)),)*3, ZERO, ZERO) + self.assertEqual(passed, (True,)*3) + prefix, passed = prefix.append(ZERO_ENCLOSURES, (Enclosure(0, Fraction(1, 4)),)*3, ZERO, ZERO) + self.assertEqual(passed, (False,)*3) + self.assertEqual(prefix.total_bounds, (Fraction(1, 2),)*3) + + def test_each_body_and_metal_component_is_independent(self): + budgets = (Fraction(1), Fraction(2), Fraction(3)) + for component in range(3): + for field in ("balance", "charge", "quadrature", "input", "clock"): + with self.subTest(component=component, field=field): + changes, integrals = list(ZERO_ENCLOSURES), list(ZERO_ENCLOSURES) + inputs, clocks = list(ZERO), list(ZERO) + value = budgets[component] + Fraction(1, 100) + if field == "balance": changes[component] = Enclosure(value) + if field == "charge": changes[component] = Enclosure(0, value) + if field == "quadrature": integrals[component] = Enclosure(0, budgets[component]/3 + Fraction(1, 100)) + if field == "input": inputs[component] = value + if field == "clock": clocks[component] = value + _, passed = SignedChargePrefix.start(budgets).append(changes, integrals, inputs, clocks) + self.assertEqual(passed, tuple(i != component for i in range(3))) + _, passed = SignedChargePrefix.start((1, 1, 1)).append( + (Enclosure(Fraction(3, 2)), Enclosure(Fraction(-3, 2)), Enclosure(0)), ZERO_ENCLOSURES, ZERO, ZERO) + self.assertEqual(passed, (False, False, True)) + + def test_failed_interval_cannot_be_recovered_by_later_opposite_centers(self): + prefix = SignedChargePrefix.start((1, 1, 1)) + for center in (2, -1, -1): + prefix, passed = prefix.append((Enclosure(center),)*3, ZERO_ENCLOSURES, ZERO, ZERO) + self.assertEqual(passed, (False,)*3) + self.assertEqual(prefix.failed, (True,)*3) + self.assertEqual(prefix.total_bounds, ZERO) + + def test_failed_prefix_latches_even_when_each_interval_is_in_budget(self): + prefix = SignedChargePrefix.start((1, 1, 1)) + for center, expected in ((Fraction(3, 4), True), (Fraction(3, 4), False), (Fraction(-3, 4), False)): + prefix, passed = prefix.append((Enclosure(center),)*3, ZERO_ENCLOSURES, ZERO, ZERO) + self.assertEqual(passed, (expected,)*3) + self.assertEqual(prefix.total_bounds, (Fraction(3, 4),)*3) + + def test_exact_budget_and_quadrature_boundaries(self): + epsilon = Fraction(1, 2**150) + for over in (0, epsilon): + with self.subTest(total_excess=over): + _, passed = SignedChargePrefix.start((1, 1, 1)).append( + (Enclosure(Fraction(2, 3)+over),)*3, (Enclosure(0, Fraction(1, 3)),)*3, ZERO, ZERO) + self.assertEqual(passed, (over == 0,)*3) + with self.subTest(quadrature_excess=over): + _, passed = SignedChargePrefix.start((1, 1, 1)).append( + ZERO_ENCLOSURES, (Enclosure(0, Fraction(1, 3)+over),)*3, ZERO, ZERO) + self.assertEqual(passed, (over == 0,)*3) + prefix, passed = SignedChargePrefix.start(ZERO).append(ZERO_ENCLOSURES, ZERO_ENCLOSURES, ZERO, ZERO) + self.assertEqual(passed, (True,)*3) + _, passed = prefix.append((Enclosure(epsilon),)*3, ZERO_ENCLOSURES, ZERO, ZERO) + self.assertEqual(passed, (False,)*3) + + def test_invalid_missing_nonfinite_negative_and_shape_inputs(self): + invalid = (None, True, "1", -1, Fraction(-1, 10), float("inf"), float("-inf"), float("nan")) + for bad in invalid: + with self.subTest(value=repr(bad)): + with self.assertRaises(ContractError): SignedChargePrefix.start((bad, 1, 1)) + for target in ("input", "clock"): + inputs = (bad, 0, 0) if target == "input" else ZERO + clocks = (bad, 0, 0) if target == "clock" else ZERO + with self.assertRaises(ContractError): + SignedChargePrefix.start((1, 1, 1)).append(ZERO_ENCLOSURES, ZERO_ENCLOSURES, inputs, clocks) + for bad in (None, (), (1, 1), (1, 1, 1, 1), {"body": 1, "left": 1, "right": 1}, "111"): + with self.subTest(shape=repr(bad)): + with self.assertRaises(ContractError): SignedChargePrefix.start(bad) + for index in range(4): + args = [ZERO_ENCLOSURES, ZERO_ENCLOSURES, ZERO, ZERO] + args[index] = bad + with self.assertRaises(ContractError): SignedChargePrefix.start((1, 1, 1)).append(*args) + for bad in (None, 0, Fraction(0), {"center": 0, "radius": 0}): + with self.subTest(enclosure=repr(bad)): + with self.assertRaises(ContractError): + SignedChargePrefix.start((1, 1, 1)).append((bad, Enclosure(0), Enclosure(0)), ZERO_ENCLOSURES, ZERO, ZERO) + for center, radius in ((float("nan"), 0), (float("inf"), 0), (0, -1), (0, float("inf"))): + with self.assertRaises(ContractError): Enclosure(center, radius) + with self.assertRaises(TypeError): + SignedChargePrefix.start((1, 1, 1)).append(ZERO_ENCLOSURES, ZERO_ENCLOSURES, ZERO) + + +if __name__ == "__main__": + unittest.main(verbosity=2) diff --git a/tests/numerical_contracts/test_conservative_device.py b/tests/numerical_contracts/test_conservative_device.py new file mode 100644 index 00000000..83aa7594 --- /dev/null +++ b/tests/numerical_contracts/test_conservative_device.py @@ -0,0 +1,604 @@ +"""Manufactured public storage contracts; no coupled device or native solver.""" +from dataclasses import replace +from decimal import Decimal, localcontext +from fractions import Fraction +from hashlib import sha256 + +import numpy as np +import pytest +from scipy.sparse import csc_matrix + +import scripts.benchmarks.conservative_device as conservative +from scripts.benchmarks.contract_prototype import ( + PARTICLE, SECOND, VOLT, AcceptedStep, ContractError, EquationSpec, Layout, + PhysicalScaling, PhysicalStorage, SparseStructure, StateView, Support, + ValidatedProblem, VariableSpec, +) +from scripts.benchmarks.conservative_device import EquationBudget, NewtonRecord, conservative_be_step +from scripts.benchmarks.precision_prototype import ( + DoubleArithmetic, DoubleArray, FrameInputExpansion, + RelativeCoordinates, encode_point, +) + + +def exact(value): + return tuple(sum((Fraction(float(w[i])) for w in value.words), Fraction()) + for i in range(value.shape[0])) + + +def manufactured(kind="linear", *, force=(2.**-80, -2.**-80), time=0.): + """Reuse the two-cell RelativeCoordinates/PhysicalStorage fixture pattern.""" + initial = [2.] if kind == "input_storage" else [3., 3.] if kind == "linear" else [1., 2.] + count = len(initial) + algebraic = kind == "exchange" + supports = [Support("cells", "cell", (count,))] + variables = [VariableSpec("n", "manufactured", "cells", (count,), PARTICLE, lower=0)] + equations = [EquationSpec("balance", "manufactured", "cells", (count,), PARTICLE/SECOND)] + if algebraic: + supports.append(Support("port", "global", (1,))) + variables.append(VariableSpec("phi", "manufactured", "port", (1,), VOLT, role="constraint")) + equations.append(EquationSpec("constraint", "manufactured", "port", (1,), VOLT, role="constraint")) + layout = Layout(tuple(supports), tuple(variables), tuple(equations)) + coordinates = RelativeCoordinates(layout, {v.id: "linear" for v in variables}) + fields = [("n", DoubleArray(initial))] + if algebraic: + fields.append(("phi", DoubleArray([sum(initial)]))) + left = coordinates.initial(StateView(layout, fields), time, [0.] if kind == "input_storage" else []) + source = sha256(repr((kind, initial, force, time)).encode()).hexdigest() + arithmetic = DoubleArithmetic() + size = layout.size + # The tiny fixture declares every slot, including zeros. The consumer may + # neither infer a sparsity pattern nor fall back to a dense global solve. + structure = SparseStructure((size, size), np.tile(np.arange(size), size), + np.arange(size+1)*size, source, layout.identity) + calls = {"delta": 0, "conservative": 0, "jacobian": 0, "instantaneous": 0} + + def value(point): + n = point.state.field("n").as_dd() + q = n if kind == "linear" else n*n # quadratic coefficient: 1/PARTICLE + if kind == "input_storage": + q = q + point.inputs[0] + 2*point.time + return DoubleArray.from_dd(q) + + def delta(a, b, increment): + calls["delta"] += 1 + dn = increment.field("n").as_dd() + q = dn if kind == "linear" else dn*(2*a.state.field("n").as_dd()+dn) + if kind == "input_storage": + q = q + (b.inputs[0]-a.inputs[0]) + 2*(b.time-a.time) + return DoubleArray.from_dd(q) + + storage = PhysicalStorage(value, delta, (PARTICLE,)*count, source, arithmetic) + + def residual(a, b, increment): + calls["conservative"] += 1 + n = b.state.field("n").as_dd() + if kind == "exchange": + rate = arithmetic.concatenate((arithmetic.reshape(n[1]-n[0], (1,)), + arithmetic.reshape(n[0]-n[1], (1,)))) + else: + rate = arithmetic.array(force if kind == "linear" else [0.]) + rows = storage.delta(a, b, increment).as_dd() - (b.time-a.time)*rate + if algebraic: + g = b.state.field("phi").as_dd() - (n[0]+n[1]) + rows = arithmetic.concatenate((rows, g)) + return arithmetic.freeze(rows) + + def jacobian(a, b): + calls["jacobian"] += 1 + values = np.zeros((size, size)) + # CSC coefficients are explicitly binary64; full-word residuals decide + # convergence, including the small corrections this proposal omits. + values[np.arange(count), np.arange(count)] = 1 if kind == "linear" else 2*b.state.field("n").high + if algebraic: + h = b.time-a.time + values[:2, :2] += h*np.array([[1., -1.], [-1., 1.]]) + values[2] = [-1., -1., 1.] + return structure.filled(values.T.ravel()) + + def instantaneous(*args): + calls["instantaneous"] += 1 + raise AssertionError("The conservative consumer must not ask for tangent F/J") + + problem = ValidatedProblem(layout, left.inputs.size, count, storage, structure, source, + instantaneous, instantaneous, residual, jacobian, arithmetic=arithmetic) + budgets = {"balance": EquationBudget(PARTICLE, np.full(count, 1e-24))} + if algebraic: + budgets["constraint"] = EquationBudget(VOLT, [1e-25]) + scaling = PhysicalScaling(np.ones(size), np.ones(size)) + return problem, coordinates, left, scaling, budgets, calls + + +def run_fixture(fixture, h=.5, **options): + problem, coordinates, left, scaling, budgets, _ = fixture + options.setdefault("scaling", scaling) + options.setdefault("budgets", budgets) + return conservative_be_step(problem, coordinates, left, h, **options) + + +@pytest.mark.parametrize("globalization", ["residual", "correction"]) +def test_sub_ulp_increment_and_discrete_history_are_retained(globalization): + fixture = manufactured() + problem, _, left, _, _, calls = fixture + before = encode_point(left) + budgets = {"balance": EquationBudget(PARTICLE, [2.**-180, 2.**-180])} + step = run_fixture(fixture, budgets=budgets, globalization=globalization) + expected = (Fraction(1, 2**81), -Fraction(1, 2**81)) + assert exact(step.storage_delta) == exact(step.local_coordinates) == expected + assert exact(step.increment.field("n")) == expected + np.testing.assert_array_equal(step.right.state.field("n").high, left.state.field("n").high) + assert step.right.identity != left.identity and encode_point(left) == before + assert exact(step.storage_secant) == tuple(2*x for x in expected) + assert sum(exact(step.storage_delta)) == 0 + assert step.source_identity == problem.source_identity + assert step.history_kind == "finite-storage-difference-and-secant" + assert not isinstance(step, AcceptedStep) and not step.scientific_qualified + assert calls == {"delta": 3, "conservative": 2, "jacobian": 1, "instantaneous": 0} + assert step.residual_evaluations == 2 and step.line_search_evaluations == 1 + assert step.globalization == globalization + assert step.factorization_calls == step.factorization_returns == 1 + assert step.linear_solve_calls == step.linear_solve_returns == (2 if globalization == "correction" else 1) + record, = step.iterations + assert (record.merit_before, record.merit_after, record.damping) == (2**99, 0, 1.) + assert record.point_identity_after == step.right.identity + assert record.point_identity_before not in (left.identity, step.right.identity) + # Four-argument construction remains compatible with existing consumers. + assert NewtonRecord(0, (), 0., 1.).merit_before is None + with pytest.raises((TypeError, ValueError), match="init=False"): + replace(step, history_kind="native-continuous-tangent") + + +@pytest.mark.parametrize("globalization", ["residual", "correction"]) +def test_nonbinary_solver_scales_do_not_become_physical_acceptance(globalization): + fixture = manufactured() + step = run_fixture(fixture, scaling=PhysicalScaling([.7, 1.3], [.1, .3]), + budgets={"balance": EquationBudget(PARTICLE, [2.**-175]*2)}, globalization=globalization) + wanted = (Fraction(1, 2**81), -Fraction(1, 2**81)) + assert all(abs(x-y) <= Fraction(1, 2**175) + for x, y in zip(exact(step.storage_delta), wanted, strict=True)) + assert any(x != 0 for row in step.iterations for x in row.rhs_projection_error) + assert all(x <= 1 for x in step.residual_ratios) + + +@pytest.mark.parametrize("globalization", ["residual", "correction"]) +def test_fixed_reference_twelve_words_survive_a_step(globalization): + problem, coordinates, reference, scaling, budgets, calls = manufactured() + words = [np.full(2, 2.**(-20-60*i)) for i in range(12)] + left, _ = coordinates.trial(reference, FrameInputExpansion(words), 1.) + before = encode_point(left) + step = conservative_be_step(problem, coordinates, left, .5, scaling=scaling, + budgets={"balance": EquationBudget(PARTICLE, [2.**-180]*2)}, globalization=globalization) + expected = (Fraction(1, 2**81), -Fraction(1, 2**81)) + assert exact(step.storage_delta) == expected + assert step.right.state.authority.fixed_reference is reference + retained = step.right.state.authority.primitives["n"].words + assert len(retained) == 12 + np.testing.assert_array_equal(retained[-1], words[-1]) + assert encode_point(left) == before and calls["instantaneous"] == 0 + + +def exchange_reference(h): + """Independent storage conservation plus scalar monotone bisection.""" + with localcontext() as ctx: + ctx.prec = 80 + lo, hi = Decimal(1), (Decimal(5)/2).sqrt() + dt = Decimal.from_float(h) + for _ in range(260): + x = (lo+hi)/2 + y = (5-x*x).sqrt() + if x*x-1-dt*(y-x) > 0: + hi = x + else: + lo = x + x = (lo+hi)/2 + return x, (5-x*x).sqrt() + + +@pytest.mark.parametrize("globalization", ["residual", "correction"]) +def test_vector_nonlinear_storage_algebraic_rows_and_sparse_only(monkeypatch, globalization): + fixture = manufactured("exchange") + def forbidden(*args, **kwargs): + raise AssertionError("dense fallback") + monkeypatch.setattr(np.linalg, "solve", forbidden) + monkeypatch.setattr(np.linalg, "lstsq", forbidden) + monkeypatch.setattr(csc_matrix, "toarray", forbidden) + reference = exchange_reference(.25) + steps = [run_fixture(fixture, .25, globalization=globalization), run_fixture(fixture, .25, + scaling=PhysicalScaling([.5, 4., 8.], [2., .25, 4.]), globalization=globalization)] + for step in steps: + n = exact(step.right.state.field("n")) + with localcontext() as ctx: + ctx.prec = 80 + for actual, wanted in zip(n, reference, strict=True): + assert abs(Decimal(actual.numerator)/Decimal(actual.denominator)-wanted) < Decimal('2e-24') + assert abs(n[0]*n[0]+n[1]*n[1]-5) < Fraction(1, 10**23) + assert abs(exact(step.right.state.field("phi"))[0]-sum(n)) < Fraction(1, 10**24) + assert step.residual_units == (PARTICLE, PARTICLE, VOLT) + assert all(r <= 1 for r in step.residual_ratios) + assert step.increment.left_identity == fixture[2].identity + assert fixture[-1]["instantaneous"] == 0 + + +@pytest.mark.parametrize("globalization", ["residual", "correction"]) +def test_finite_input_time_storage_and_jacobian_not_tangent_history(globalization): + fixture = manufactured("input_storage") + problem, coordinates, left, _, _, calls = fixture + step = run_fixture(fixture, .25, inputs=[.5], globalization=globalization) + with localcontext() as ctx: + ctx.prec = 80 + x = exact(step.right.state.field("n"))[0] + assert abs(Decimal(x.numerator)/Decimal(x.denominator)-Decimal(3).sqrt()) < Decimal('1e-24') + # Q=n^2+u+2t is constant, although the state secant has a nonzero + # continuous chain-rule storage rate at the right endpoint. + assert abs(exact(step.storage_delta)[0]) < Fraction(1, 10**24) + secant_state = (x-2)/Fraction(1, 4) + assert abs(2*x*secant_state+4) > Fraction(1, 10) + jac = problem.conservative_jacobian(left, step.right) + for epsilon in (2.**-12, 2.**-16): + plus, ip = coordinates.advance(left, step.local_coordinates.add([epsilon]), .25, [.5]) + minus, im = coordinates.advance(left, step.local_coordinates.add([-epsilon]), .25, [.5]) + rp = exact(problem.conservative_residual(left, plus, ip))[0] + rm = exact(problem.conservative_residual(left, minus, im))[0] + fd = (rp-rm)/(2*Fraction(epsilon)) + assert abs(fd-Fraction(float(jac[0, 0]))) < Fraction(1, 10**12) + assert calls["instantaneous"] == 0 + + +def test_low_residual_word_controls_acceptance(): + fixture = manufactured() + problem = replace(fixture[0], conservative_values=lambda *args: DoubleArray([1., 0.], [2.**-80, 0.])) + with pytest.raises(ContractError, match="iteration_budget"): + conservative_be_step(problem, fixture[1], fixture[2], .5, scaling=fixture[3], + budgets={"balance": EquationBudget(PARTICLE, [1., 1.])}, max_iterations=0) + + +@pytest.mark.parametrize("error", ["missing", "unit", "shape"]) +def test_equation_budgets_cannot_mix_units_or_broadcast(error): + fixture = manufactured("exchange") + budgets = dict(fixture[4]) + if error == "missing": + del budgets["constraint"] + elif error == "unit": + budgets["balance"] = EquationBudget(PARTICLE/SECOND, [1e-24]*2) + else: + budgets["balance"] = EquationBudget(PARTICLE, [1e-24]) + with pytest.raises(ContractError, match="budget"): + run_fixture(fixture, budgets=budgets) + assert fixture[-1]["conservative"] == 0 + + +@pytest.mark.parametrize("h", [0., -1., np.inf, np.nan, 2.**-80]) +def test_invalid_or_unrepresentable_time_step_rejects(h): + fixture = manufactured(time=1.) + with pytest.raises(ContractError, match="step|time_increment"): + run_fixture(fixture, h) + assert fixture[-1]["conservative"] == 0 + + +@pytest.mark.parametrize("failure", ["singular", "line_search", "iterations", "structure", "infeasible"]) +@pytest.mark.parametrize("globalization", ["residual", "correction"]) +def test_failures_do_not_rebase_clip_or_invoke_dense_fallback(failure, globalization): + fixture = manufactured(force=(1., -1.)) + problem, coordinates, left, scaling, budgets, _ = fixture + before = encode_point(left) + options = {"globalization": globalization} + if failure == "singular": + problem = replace(problem, conservative_derivative=lambda *args: problem.structure.filled(np.zeros(4))) + elif failure == "line_search": + original = problem.conservative_derivative + problem = replace(problem, conservative_derivative=lambda *args: -original(*args)) + options['max_line_search'] = 2 + elif failure == "iterations": + options['max_iterations'] = 0 + elif failure == "structure": + problem = replace(problem, conservative_derivative=lambda *args: csc_matrix(np.eye(2))) + else: + options['feasible'] = lambda point: False + with pytest.raises(ContractError) as caught: + conservative_be_step(problem, coordinates, left, .5, scaling=scaling, budgets=budgets, **options) + assert encode_point(left) == before + diagnostic = caught.value.conservative_diagnostics + if failure == "singular": + assert isinstance(caught.value.__cause__, RuntimeError) + assert diagnostic.phase == "linear_solve" and diagnostic.linear_iteration == 0 + assert diagnostic.rhs_projection_error is diagnostic.linear_residual_inf is None + assert diagnostic.residual_point_identity == diagnostic.point.identity + elif failure == "infeasible": + assert diagnostic.feasible is False and diagnostic.point is not None + assert diagnostic.last_accepted_point_identity is diagnostic.residual is None + assert diagnostic.residual_point_identity is None + + +def test_nonphysical_coordinate_chain_is_not_assumed(): + problem, coordinates, left, scaling, budgets, calls = manufactured() + logarithmic = RelativeCoordinates(coordinates.layout, {"n": "log"}) + with pytest.raises(ContractError, match="linear_physical"): + conservative_be_step(problem, logarithmic, left, .5, scaling=scaling, budgets=budgets) + assert calls["conservative"] == 0 + + +def test_iteration_exhaustion_retains_scalar_history_and_final_full_word_trial(): + fixture = manufactured(force=(1., -1.)) + problem, _, left, _, budgets, calls = fixture + before = encode_point(left) + derivative, values = problem.conservative_derivative, problem.conservative_values + observed = [] + + def observe(a, b, increment): + result = values(a, b, increment) + observed.append((b.identity, exact(result))) + return result + + problem = replace(problem, conservative_values=observe, + conservative_derivative=lambda *args: 2*derivative(*args)) + with pytest.raises(ContractError, match="conservative_iteration_budget_exhausted") as caught: + run_fixture((problem, *fixture[1:]), max_iterations=2) + error = caught.value + diagnostic = error.conservative_diagnostics + assert error.reason == str(error) == "conservative_iteration_budget_exhausted" + assert diagnostic.phase == "iteration_limit" + assert calls == {"delta": 3, "conservative": 3, "jacobian": 2, "instantaneous": 0} + assert (diagnostic.residual_evaluations, diagnostic.line_search_evaluations) == (3, 2) + assert exact(diagnostic.local_coordinates) == (Fraction(3, 8), -Fraction(3, 8)) + assert exact(diagnostic.point.state.field("n")) == (Fraction(27, 8), Fraction(21, 8)) + assert exact(diagnostic.residual) == observed[-1][1] == (-Fraction(1, 8), Fraction(1, 8)) + assert diagnostic.point.identity == diagnostic.residual_point_identity == observed[-1][0] + assert diagnostic.last_accepted_point_identity == diagnostic.point.identity + assert diagnostic.last_accepted_merit == diagnostic.merit + assert diagnostic.linear_iteration is diagnostic.linear_point_identity is None + assert diagnostic.rhs_projection_error is diagnostic.linear_residual_inf is None + assert diagnostic.rejected_searches == () + allowance = Fraction(float(budgets["balance"].absolute[0])) + assert len(diagnostic.iterations) == 2 + for i, record in enumerate(diagnostic.iterations): + assert record.iteration == i and record.damping == 1. + assert record.rhs_projection_error == (0, 0) and record.linear_residual_inf == 0. + assert record.merit_before == Fraction(1, 2**(i+1))/allowance + assert record.merit_after == Fraction(1, 2**(i+2))/allowance + assert (record.point_identity_before, record.point_identity_after) == (observed[i][0], observed[i+1][0]) + assert encode_point(left) == before + + +@pytest.mark.parametrize("infeasible", [False, True]) +@pytest.mark.parametrize("globalization", ["residual", "correction"]) +def test_failed_search_distinguishes_rejected_trial_from_newton_iterate(infeasible, globalization): + fixture = manufactured(force=(1., -1.)) + problem, _, left, _, _, calls = fixture + derivative = problem.conservative_derivative + if not infeasible: + problem = replace(problem, conservative_derivative=lambda *args: -derivative(*args)) + visited = [] + + def feasible(point): + visited.append(point.identity) + return not infeasible or len(visited) == 1 + + with pytest.raises(ContractError, match="conservative_line_search_budget_exhausted") as caught: + run_fixture((problem, *fixture[1:]), feasible=feasible, max_line_search=2, globalization=globalization) + diagnostic = caught.value.conservative_diagnostics + assert diagnostic.phase == "line_search_limit" + assert diagnostic.point.identity == visited[-1] != visited[0] + assert diagnostic.last_accepted_point_identity == diagnostic.linear_point_identity == visited[0] + assert diagnostic.linear_iteration == 0 and diagnostic.iterations == () + assert diagnostic.rhs_projection_error == (0, 0) and diagnostic.linear_residual_inf == 0. + assert diagnostic.line_search_evaluations == 2 + assert [s.damping for s in diagnostic.rejected_searches] == [1., .5] + assert [s.point_identity for s in diagnostic.rejected_searches] == visited[1:] + if globalization == "correction": + assert diagnostic.correction_base.point_identity == visited[0] + assert diagnostic.linear_solve_calls == diagnostic.linear_solve_returns == (1 if infeasible else 3) + assert [s.solve.point_identity for s in diagnostic.correction_searches] == ([] if infeasible else visited[1:]) + assert all(s.accepted is False for s in diagnostic.correction_searches) + if infeasible: + assert exact(diagnostic.local_coordinates) == (Fraction(1, 4), -Fraction(1, 4)) + assert diagnostic.residual is diagnostic.residual_point_identity is diagnostic.merit is None + assert diagnostic.feasible is False + assert all(s.feasible is False and s.merit is None for s in diagnostic.rejected_searches) + assert calls == {"delta": 1, "conservative": 1, "jacobian": 1, "instantaneous": 0} + assert diagnostic.residual_evaluations == 1 + else: + assert exact(diagnostic.local_coordinates) == (-Fraction(1, 4), Fraction(1, 4)) + assert exact(diagnostic.residual) == (-Fraction(3, 4), Fraction(3, 4)) + assert diagnostic.residual_point_identity == diagnostic.point.identity + assert diagnostic.feasible is True + assert [s.merit/diagnostic.last_accepted_merit for s in diagnostic.rejected_searches] == [2, Fraction(3, 2)] + assert calls == {"delta": 3, "conservative": 3, "jacobian": 1, "instantaneous": 0} + assert diagnostic.residual_evaluations == 3 + assert exact(left.state.field("n")) == (3, 3) + + +@pytest.mark.parametrize("failure_phase", ["trial", "feasibility", "residual"]) +@pytest.mark.parametrize("globalization", ["residual", "correction"]) +def test_callback_failure_never_reuses_the_previous_trial_residual(monkeypatch, failure_phase, globalization): + fixture = manufactured(force=(1., -1.)) + problem, _, left, _, _, calls = fixture + original_trial, values = conservative._trial, problem.conservative_values + failure, cause = ContractError("manufactured_trial_failure"), RuntimeError("manufactured_cause") + points, feasibility_calls, residual_attempts = [], [], [] + trial_attempts = 0 + + def trial(*args): + nonlocal trial_attempts + trial_attempts += 1 + if failure_phase == "trial" and trial_attempts == 2: + raise failure from cause + result = original_trial(*args) + points.append(result[0]) + return result + + def feasible(point): + feasibility_calls.append(point.identity) + if failure_phase == "feasibility" and len(feasibility_calls) == 2: + raise failure from cause + return True + + def residual(a, b, increment): + residual_attempts.append(b.identity) + if failure_phase == "residual" and len(residual_attempts) == 2: + raise failure from cause + return values(a, b, increment) + + monkeypatch.setattr(conservative, "_trial", trial) + problem = replace(problem, conservative_values=residual) + before = encode_point(left) + with pytest.raises(ContractError, match="manufactured_trial_failure") as caught: + run_fixture((problem, *fixture[1:]), feasible=feasible, globalization=globalization) + assert caught.value is failure and failure.__cause__ is cause + diagnostic = failure.conservative_diagnostics + assert diagnostic.phase == failure_phase + assert diagnostic.residual is diagnostic.residual_point_identity is diagnostic.merit is None + assert exact(diagnostic.local_coordinates) == (Fraction(1, 2), -Fraction(1, 2)) + assert diagnostic.last_accepted_point_identity == diagnostic.linear_point_identity == points[0].identity + if failure_phase == "trial": + assert diagnostic.point is None + else: + assert diagnostic.point is points[-1] and diagnostic.point.identity != points[0].identity + assert diagnostic.feasible is (True if failure_phase == "residual" else None) + search, = diagnostic.rejected_searches + assert search.point_identity == (None if diagnostic.point is None else diagnostic.point.identity) + assert search.merit is None and search.damping == 1. + assert diagnostic.iterations == () and diagnostic.linear_iteration == 0 + assert diagnostic.rhs_projection_error == (0, 0) and diagnostic.linear_residual_inf == 0. + assert (diagnostic.residual_evaluations, diagnostic.line_search_evaluations) == (1, 1) + assert trial_attempts == 2 and len(residual_attempts) == (2 if failure_phase == "residual" else 1) + assert calls == {"delta": 1, "conservative": 1, "jacobian": 1, "instantaneous": 0} + assert encode_point(left) == before + + +def curved_fixture(): + """F=(x-1, y+2*x^2) at h=1; exact physical root n=(4,1). + + x,y are finite particle increments from (3,3). This triangular curve + has a large residual remainder but a small column-scaled correction. + """ + problem, coordinates, left, _, budgets, calls = manufactured(force=(1., 0.)) + arithmetic = problem.arithmetic + + def values(a, b, increment): + calls["conservative"] += 1 + dn = problem.storage.delta(a, b, increment).as_dd() + h = b.time-a.time + return arithmetic.freeze(arithmetic.concatenate(( + arithmetic.reshape(dn[0]-h, (1,)), + arithmetic.reshape(dn[1]+2*h*dn[0]*dn[0], (1,))))) + + def derivative(a, b): + calls["jacobian"] += 1 + x = (b.state.field("n").as_dd()-a.state.field("n").as_dd())[0] + return problem.structure.filled([1., 4*(b.time-a.time)*float(x.hi), 0., 1.]) + + problem = replace(problem, conservative_values=values, conservative_derivative=derivative) + return problem, coordinates, left, PhysicalScaling([1., 1.], [1., 16.]), budgets, calls + + +def test_correction_globalization_accepts_curvature_but_keeps_physical_gate(): + fixture = curved_fixture() + with pytest.raises(ContractError, match="iteration_budget_exhausted") as caught: + run_fixture(fixture, 1., max_iterations=2, max_line_search=6) + old = caught.value.conservative_diagnostics + assert old.globalization == "residual" and old.iterations[0].damping == .5 + assert old.merit > 1 and old.linear_solve_calls == 2 + + fixture = curved_fixture() + step = run_fixture(fixture, 1., max_iterations=2, max_line_search=6, globalization="correction") + assert exact(step.right.state.field("n")) == (4, 1) + assert exact(step.storage_delta) == (1, -2) + assert all(r <= 1 for r in step.residual_ratios) and exact(step.residual) == (0, 0) + assert step.factorization_calls == step.factorization_returns == 2 + assert step.linear_solve_calls == step.linear_solve_returns == 4 + assert (step.residual_evaluations, step.line_search_evaluations) == (3, 2) + first, second = step.iterations + assert first.merit_after == 2*first.merit_before + assert first.damping == second.damping == 1. + assert second.merit_after == 0 + base, = first.correction_base.solution[:1] + assert base == 1. + trial, = first.correction_searches + assert first.correction_base.norm_squared == 1 + assert trial.solve.norm_squared == Fraction(1, 64) + assert trial.threshold_squared == Fraction(9, 16) and trial.accepted + assert trial.solve.rhs == (0., -2.) and trial.solve.solution == (0., -.125) + assert trial.base_point_identity == first.point_identity_before + assert trial.solve.point_identity == first.point_identity_after == second.point_identity_before + assert trial.solve.rhs_projection_error == (0, 0) and trial.solve.linear_residual_inf == 0. + assert step.source_identity == fixture[0].source_identity and not step.scientific_qualified + assert fixture[-1] == {"delta": 4, "conservative": 3, "jacobian": 2, "instantaneous": 0} + + +def test_tiny_correction_with_failing_residual_is_not_success(): + fixture = manufactured(force=(1., -1.)) + original = fixture[0].conservative_derivative + problem = replace(fixture[0], conservative_derivative=lambda *args: 2.**500*original(*args)) + with pytest.raises(ContractError, match="line_search_budget_exhausted") as caught: + run_fixture((problem, *fixture[1:]), globalization="correction", max_line_search=2) + diagnostic = caught.value.conservative_diagnostics + assert 0 < diagnostic.correction_base.norm_squared < Fraction(1, 10**200) + assert diagnostic.merit > 1 and diagnostic.iterations == () + assert all(s.solve.norm_squared == diagnostic.correction_base.norm_squared + and not s.accepted for s in diagnostic.correction_searches) + assert diagnostic.source_identity == problem.source_identity and diagnostic.scaling is fixture[3] + + +def test_zero_returned_correction_cannot_pass_a_failing_residual(monkeypatch): + class ZeroFactor: + def solve(self, rhs): + return np.zeros_like(rhs) + monkeypatch.setattr(conservative, "splu", lambda matrix: ZeroFactor()) + with pytest.raises(ContractError, match="zero_correction_with_failing_residual") as caught: + run_fixture(manufactured(force=(1., -1.)), globalization="correction") + diagnostic = caught.value.conservative_diagnostics + assert diagnostic.correction_base.norm_squared == 0 and diagnostic.merit > 1 + assert diagnostic.correction_searches == () and diagnostic.iterations == () + assert diagnostic.linear_solve_calls == diagnostic.linear_solve_returns == 1 + assert diagnostic.line_search_evaluations == 0 + + +@pytest.mark.parametrize("failed_return", ["raise", "nonfinite"]) +def test_failed_simplified_solve_owns_its_trial_rhs_and_residual(monkeypatch, failed_return): + original = conservative.splu + calls = {"factor": 0, "solve": 0} + cause = RuntimeError("manufactured_simplified_solve_failure") + + def factor(matrix): + calls["factor"] += 1 + underlying = original(matrix) + class Proxy: + def solve(self, rhs): + calls["solve"] += 1 + if calls["solve"] == 2: + if failed_return == "raise": + raise cause + return np.full(rhs.shape, np.nan) + return underlying.solve(rhs) + return Proxy() + + monkeypatch.setattr(conservative, "splu", factor) + with pytest.raises(ContractError, match="conservative_sparse_solve_failed") as caught: + run_fixture(curved_fixture(), 1., globalization="correction") + diagnostic = caught.value.conservative_diagnostics + assert calls == {"factor": 1, "solve": 2} and diagnostic.phase == "trial_linear_solve" + if failed_return == "raise": + assert caught.value.__cause__ is cause + assert diagnostic.linear_solve_returns == (1 if failed_return == "raise" else 2) + assert diagnostic.correction_base.rhs == (1., 0.) + search, = diagnostic.correction_searches + assert search.solve.rhs == (0., -2.) and search.solve.rhs_projection_error == (0, 0) + assert search.solve.solution is search.solve.norm_squared is search.solve.linear_residual_inf is None + assert search.accepted is None + assert search.solve.point_identity == diagnostic.point.identity == diagnostic.residual_point_identity + assert exact(diagnostic.residual) == (0, 2) + assert diagnostic.last_accepted_point_identity == search.base_point_identity != diagnostic.point.identity + assert diagnostic.rejected_searches[0].point_identity == diagnostic.point.identity + + +def test_correction_squared_norm_preserves_extreme_represented_values(): + assert conservative._norm_squared(np.array([2.**900, 2.**-900])) == Fraction(2)**1800+Fraction(2)**-1800 + assert conservative._norm_squared(np.array([2.**-600])) == Fraction(2)**-1200 + + +@pytest.mark.parametrize("mode", ["L2", None]) +def test_unrequested_globalization_rejected_before_public_calls(mode): + fixture = manufactured() + with pytest.raises(ContractError, match="unsupported_conservative_globalization"): + run_fixture(fixture, globalization=mode) + assert fixture[-1] == {"delta": 0, "conservative": 0, "jacobian": 0, "instantaneous": 0} diff --git a/tests/numerical_contracts/test_contracts.py b/tests/numerical_contracts/test_contracts.py new file mode 100644 index 00000000..1c74ac23 --- /dev/null +++ b/tests/numerical_contracts/test_contracts.py @@ -0,0 +1,387 @@ +"""Independent contract checks; gates are frozen before candidate execution.""" + +from __future__ import annotations + +from dataclasses import replace +from fractions import Fraction +import json +from pathlib import Path + +import numpy as np +import pytest + +from scripts.benchmarks.contract_prototype import ( + AREA, COULOMB, ONE, PARTICLE, SECOND, VOLUME, + AcceptedStep, AlgebraicTerm, BalanceTerms, CellSource, ContractError, + EquationSpec, FaceFlux, FloatArray, Geometry, ImplicitSystem, Layout, + LinearCoordinates, LinearStorage, Point, StateIncrement, StateView, + Support, SurfaceCharge, TerminalPort, TermSink, Unit, VariableSpec, +) + + +GATES = {item["id"]: item for item in json.loads( + Path(__file__).with_name("AnalyticGatesV1.json").read_text() +)["gates"]} + + +def cell_layout(count=2, face_count=1, *, reverse=False, dimensionless=True): + density_unit = ONE if dimensionless else PARTICLE / VOLUME + rate_unit = ONE / SECOND if dimensionless else PARTICLE / SECOND + supports = (Support("cells", "cell", (count,)), Support("faces", "face", (face_count,))) + variables = (VariableSpec("ions.n", "ions", "cells", (count,), density_unit, lower=0),) + equations = (EquationSpec("ions.balance", "assembly", "cells", (count,), rate_unit, + derivative_support=("ions.n",)),) + return Layout(supports[::-1] if reverse else supports, + variables[::-1] if reverse else variables, + equations[::-1] if reverse else equations) + + +def linear_terms(rate, matrix, inputs=0): + n = len(rate) + return BalanceTerms(np.asarray(rate), np.empty(0), np.asarray(matrix), + np.zeros((n, inputs)), np.zeros(n), np.empty((0, n)), + np.empty((0, inputs)), np.empty(0)) + + +def test_frame_input_rate_retains_last_word_and_rejects_mixed_points(): + from scripts.benchmarks.contract_prototype import LinearTerm, PhysicalLinearForm, RateView + from scripts.benchmarks.precision_prototype import DoubleArray, DoubleArithmetic, FrameInputExpansion, PrimitiveExpansion, RelativeCoordinates + + layout = cell_layout() + coordinates = RelativeCoordinates(layout, {"ions.n": "linear"}) + reference = coordinates.initial(StateView(layout, [("ions.n", DoubleArray([3., 3.]))])) + point, _ = coordinates.trial(reference, FrameInputExpansion.from_value([0., 0.]), 1.) + terms = [np.full(2, 2.**(-54*i)) for i in range(12)] + terms[-1] = np.array([2.**-594, 0.]) + inputs = dict(source_identity="manufactured", mapping_identity="mapped12", origin="mapped-coordinate-rate", + raw_coordinates=[0., 0.], raw_rate=[0., 0.]) + values = FrameInputExpansion(terms) + rate = RateView(point, values, [], **inputs) + form = PhysicalLinearForm(layout, ("difference",), (ONE/SECOND,), + (LinearTerm(0, "ions.n", 0), LinearTerm(0, "ions.n", 1, sign=-1)), "manufactured", "rate", 2) + result = rate.linear_form(form, arithmetic=DoubleArithmetic(), point=point) + assert len(rate.words) == 12 and rate.field("ions.n").identity_bytes() == values.identity_bytes() + assert result.value.high[0] == 2.**-594 and result.value.low[0] == 0 + terms[-1] = np.zeros(2) + other = RateView(point, FrameInputExpansion(terms), [], **inputs) + assert other.identity != rate.identity + with pytest.raises(ContractError, match="linear_rate_word_shape_or_count"): + RateView(reference, values, [], **inputs) + with pytest.raises(ContractError, match="linear_rate_frame_input_profile"): + RateView(point, PrimitiveExpansion.from_value([0., 0.]), [], **inputs) + # A named physical tangent is still an ordinary physical array. + tangent = RateView(point, DoubleArray([0., 0.]), [], **dict(inputs, origin="physical-rate")) + assert len(tangent.words) == 2 + + +def diffusion_system(case): + volumes = np.array(case["volumes"], dtype=float) + pairs = np.array(case["faces"], dtype=int) + conductance = np.array(case["conductance"], dtype=float) + layout = cell_layout(len(volumes), len(pairs)) + geometry = Geometry(volumes, pairs, np.ones(len(pairs)), ONE, ONE) + matrix = np.zeros((len(volumes), len(volumes))) + for (left, right), coefficient in zip(pairs, conductance): + matrix[left, left] -= coefficient + matrix[left, right] += coefficient + matrix[right, left] += coefficient + matrix[right, right] -= coefficient + + def terms(point): + # Constitutive flux is oriented left -> right; sink owns its divergence. + difference = point.state.face_difference("ions.n", pairs).values + sink = TermSink(layout, "ions.balance", geometry) + sink.add(FaceFlux("ions.diffusion", "faces", -conductance * difference, ONE / SECOND)) + return linear_terms(sink.value(), matrix) + + return LinearCoordinates(layout), ImplicitSystem(LinearStorage(np.diag(volumes)), terms), matrix + + +def test_registration_order_does_not_change_layout_or_solution(): + supports = (Support("nodes", "cell", (2,)), Support("contact", "global", (1,))) + variables = (VariableSpec("p", "holes", "nodes", (2,), PARTICLE / VOLUME), + VariableSpec("n", "electrons", "nodes", (2,), PARTICLE / VOLUME), + VariableSpec("port", "contact", "contact", (1,), COULOMB, role="constraint")) + equations = (EquationSpec("poisson", "electrostatics", "nodes", (2,), COULOMB, + role="constraint", derivative_support=("n", "p", "port")),) + forward = Layout(supports, variables, equations) + reverse = Layout(supports[::-1], variables[::-1], equations[::-1]) + assert forward.identity == reverse.identity + assert forward.offsets == reverse.offsets + assert tuple(forward.offsets) == ("n", "p", "port") + assert LinearCoordinates(forward).point([1, 2, 3, 4, 5]).identity == LinearCoordinates(reverse).point([1, 2, 3, 4, 5]).identity + + +@pytest.mark.parametrize("change,reason", [ + (lambda x: replace(x, variables=x.variables + x.variables), "duplicate_owner"), + (lambda x: replace(x, supports=x.supports + x.supports), "duplicate_support"), + (lambda x: replace(x, variables=(replace(x.variables[0], support="missing"),)), "unknown_support"), + (lambda x: replace(x, variables=(replace(x.variables[0], shape=(1,)),)), "support_shape_mismatch"), + (lambda x: replace(x, equations=(replace(x.equations[0], derivative_support=("missing",)),)), "unknown_derivative_support"), + (lambda x: replace(x, variables=(replace(x.variables[0], lower=2, upper=1),)), "invalid_feasible_domain"), +]) +def test_invalid_layout_rejected_before_assembly(change, reason): + with pytest.raises(ContractError, match=reason): + change(cell_layout()) + + +def test_state_ownership_shape_and_immutable_snapshots(): + layout = cell_layout() + values = np.array([1.0, 2.0]) + state = StateView(layout, [("ions.n", FloatArray(values))]) + values[:] = 99 + np.testing.assert_array_equal(state.field("ions.n").values, [1, 2]) + with pytest.raises(ValueError): + state.field("ions.n").values.setflags(write=True) + with pytest.raises(TypeError): + state.fields["ions.n"] = FloatArray([3, 4]) + with pytest.raises(ContractError, match="duplicate_state_write"): + StateView(layout, [("ions.n", FloatArray([1, 2]))] * 2) + with pytest.raises(ContractError, match="state_shape_mismatch"): + StateView(layout, [("ions.n", FloatArray([1]))]) + with pytest.raises(ContractError, match="incomplete_state"): + StateView(layout, []) + + +def test_typed_flux_and_source_apply_geometry_once(): + layout = cell_layout(dimensionless=False) + geometry = Geometry([2, 5], [[0, 1]], [3]) + sink = TermSink(layout, "ions.balance", geometry) + sink.add(FaceFlux("transport", "faces", [7], PARTICLE / AREA / SECOND)) + sink.add(CellSource("generation", "cells", [11, 13], PARTICLE / VOLUME / SECOND)) + np.testing.assert_array_equal(sink.value(), [-21 + 22, 21 + 65]) + with pytest.raises(ContractError, match="duplicate_contribution"): + sink.add(CellSource("generation", "cells", [11, 13], PARTICLE / VOLUME / SECOND)) + + +@pytest.mark.parametrize("term,reason", [ + (CellSource("bad", "cells", [1, 2], COULOMB), "unit_mismatch"), + (CellSource("bad", "missing", [1, 2], ONE), "unknown_support"), + (CellSource("bad", "cells", [1], ONE), "term_shape_mismatch"), + (CellSource("bad", "faces", [1], ONE), "wrong_source_support"), + (FaceFlux("bad", "cells", [1, 2], ONE), "wrong_flux_support"), + (AlgebraicTerm("bad", "cells", [1, 2], ONE), "wrong_algebraic_support"), +]) +def test_wrong_term_units_locations_and_broadcasts_rejected(term, reason): + sink = TermSink(cell_layout(), "ions.balance", Geometry([1, 2], [[0, 1]], [1], ONE, ONE)) + with pytest.raises(ContractError, match=reason): + sink.add(term) + np.testing.assert_array_equal(sink.value(), [0, 0]) + + +def test_surface_charge_and_algebraic_terms_have_distinct_geometry_rules(): + support = Support("surface", "face", (1,)) + layout = Layout((Support("cells", "cell", (2,)), support), (), (EquationSpec("gauss", "electrostatics", "surface", (1,), + COULOMB, role="constraint"),)) + sink = TermSink(layout, "gauss", Geometry([1, 1], [[0, 1]], [3], face_support="surface")) + sink.add(SurfaceCharge("sheet", "surface", [2], COULOMB / AREA)) + sink.add(AlgebraicTerm("electrode", "surface", [-1], COULOMB)) + np.testing.assert_array_equal(sink.value(), [5]) + + +@pytest.mark.parametrize("case", [c for c in GATES["NC01"]["fixed_inputs"] if c["id"].endswith("_be")], + ids=lambda c: c["id"]) +def test_nc01_conservative_step_and_domain_inventory(case): + coordinates, system, rate_matrix = diffusion_system(case) + point = coordinates.point(case["initial"]) + volumes = np.asarray(case["volumes"]) + mass = np.diag(volumes) + gate = GATES["NC01"] + initial_inventory = [sum(volumes[domain] * point.y[domain]) for domain in case["domains"]] + accumulated = np.zeros(len(case["domains"])) + for h in case["step_sizes"]: + candidate = np.linalg.solve(mass - h * rate_matrix, mass @ point.y) + right, increment = coordinates.advance(point, candidate - point.y, point.time + h) + np.testing.assert_allclose(system.conservative_residual(point, right, increment), 0, + atol=gate["state_atol"], rtol=0) + np.testing.assert_allclose(system.conservative_jacobian(point, right), mass - h * rate_matrix, + atol=gate["state_atol"], rtol=gate["state_rtol"]) + delta = system.storage.delta(point, right, increment) + for i, domain in enumerate(case["domains"]): + defect = abs(sum(delta[domain])) + accumulated[i] += defect + scale = initial_inventory[i] + allowed = (gate["inventory_relative_limit"] * scale if scale + else gate["zero_inventory_absolute_limit"]) + assert defect <= allowed + assert abs(sum(volumes[domain] * right.y[domain]) - scale) <= allowed + assert accumulated[i] <= (gate["cumulative_absolute_inventory_relative_limit"] * scale + if scale else gate["zero_inventory_absolute_limit"]) + point = right + if "expected_final" in case: + expected = [float(Fraction(str(value))) for value in case["expected_final"]] + np.testing.assert_allclose(point.y, expected, atol=gate["state_atol"], rtol=gate["state_rtol"]) + if case["id"] == "zero_be": + np.testing.assert_array_equal(point.y, [0, 0]) + + +def test_linear_residual_and_ida_matrix_share_the_physical_assembly(): + case = GATES["NC01"]["fixed_inputs"][1] + coordinates, system, rate_matrix = diffusion_system(case) + point = coordinates.point([1.2, 1.8]) + ydot, adot = np.array([0.6, -0.3]), np.empty(0) + np.testing.assert_allclose(system.residual(point, ydot, adot), [0, 0], atol=1e-14) + derivatives = system.linearize(point, ydot, adot) + np.testing.assert_array_equal(derivatives.y, -rate_matrix) + np.testing.assert_array_equal(derivatives.ydot, np.diag(case["volumes"])) + for cj in (0, 0.1, 100): + np.testing.assert_allclose(derivatives.ida_matrix(cj), -rate_matrix + cj * np.diag(case["volumes"])) + + +def test_invalid_equation_shapes_fail_instead_of_broadcasting(): + coordinates = LinearCoordinates(cell_layout()) + point = coordinates.point([1, 2]) + system = ImplicitSystem(LinearStorage([[1, 0]]), lambda _: linear_terms([0, 0], np.eye(2))) + with pytest.raises(ContractError, match="equation_derivative_shape_mismatch"): + system.residual(point, np.zeros(2), np.empty(0)) + system = ImplicitSystem(LinearStorage(np.eye(2)), lambda _: linear_terms([0, 0], np.eye(2))) + with pytest.raises(ContractError, match="rate_shape_mismatch"): + system.residual(point, np.zeros(1), np.empty(0)) + + +def test_increment_cannot_be_reused_with_different_endpoint_or_layout(): + coordinates = LinearCoordinates(cell_layout()) + left = coordinates.point([1, 2]) + right, increment = coordinates.advance(left, [0.1, -0.1], 0.5) + increment.validate(left, right) + with pytest.raises(ContractError, match="increment_endpoint_mismatch"): + increment.validate(left, coordinates.point([1.2, 1.8], 0.5)) + incomplete = StateIncrement(left.identity, right.identity, {}) + with pytest.raises(ContractError, match="incomplete_increment"): + incomplete.validate(left, right) + with pytest.raises(ContractError, match="coordinate_reference_mismatch"): + replace(coordinates, reference="different").advance(left, [0, 0], 0.1) + + +def test_float_coordinate_increment_does_not_claim_erased_subulp_information(): + layout = cell_layout(count=1, face_count=0) + coordinates = LinearCoordinates(layout) + left = coordinates.point([1e22]) + right, increment = coordinates.advance(left, [1e5], 1) + assert right.y[0] == left.y[0] + assert increment.field("ions.n").values[0] == 0 + # NC08 will require an injected precision representation with a retained low + # word; this ordinary binary64 map makes no such qualification claim. + + +@pytest.mark.parametrize("normal", [-1, 1]) +def test_nc06_capacitor_feedthrough_without_internal_state(normal): + gate = GATES["NC06"] + inputs = gate["fixed_inputs"]["capacitor"] + port = TerminalPort("left" if normal == -1 else "right", normal, inputs["area"]) + for slope in inputs["slopes"]: + for time in inputs["times"]: + voltage = inputs["V0"] + slope * time + displacement = inputs["epsilon"] * voltage / inputs["length"] + d_dot = inputs["epsilon"] * slope / inputs["length"] + np.testing.assert_allclose(port.charge(displacement), -normal * inputs["C"] * voltage, + atol=gate["algebraic_atol"], rtol=gate["algebraic_rtol"]) + np.testing.assert_allclose(port.current(0, d_dot), -normal * inputs["C"] * slope, + atol=gate["algebraic_atol"], rtol=gate["algebraic_rtol"]) + + +def test_accepted_step_owns_history_and_rejects_failed_physical_checks(): + coordinates = LinearCoordinates(cell_layout()) + left = coordinates.point([1, 2], inputs=[0]) + right, increment = coordinates.advance(left, [0.25, -0.25], 0.5, [0.1]) + derivative = np.array([0.5, -0.5]) + storage_delta = np.array([0.25, -0.25]) + step = AcceptedStep(left, right, increment, storage_delta, [0.2], derivative, [0.2], + "conservative-be-v1", "continuous", (("inventory_defect", 0.0),), True) + derivative[:] = 999 + storage_delta[:] = 999 + np.testing.assert_array_equal(step.derivative, [0.5, -0.5]) + np.testing.assert_array_equal(step.storage_delta, [0.25, -0.25]) + with pytest.raises(ValueError): + step.derivative.setflags(write=True) + with pytest.raises(ContractError, match="physical_step_rejected"): + replace(step, physical_checks_passed=False) + with pytest.raises(ContractError, match="physical_step_rejected"): + replace(step, acceptance_metrics=()) + with pytest.raises(ContractError, match="step_derivative_shape_mismatch"): + replace(step, derivative=[0]) + + +def test_core_contract_module_has_no_product_or_server_dependencies(): + import ast + import scripts.benchmarks.contract_prototype as candidate + tree = ast.parse(Path(candidate.__file__).read_text()) + modules = [node.module for node in ast.walk(tree) if isinstance(node, ast.ImportFrom)] + modules += [alias.name for node in ast.walk(tree) if isinstance(node, ast.Import) for alias in node.names] + assert not any(module and module.split(".")[0] in + {"backend", "models", "experiments", "solarlab_server", "solarlab_research"} + for module in modules) + + +def test_units_are_exact_dimensions_not_silent_truncated_tuples(): + assert (PARTICLE / VOLUME / SECOND) * VOLUME == PARTICLE / SECOND + assert (COULOMB / AREA) * AREA == COULOMB + with pytest.raises(ContractError, match="invalid_unit"): + Unit((1, 2)) + + +@pytest.mark.parametrize("callback", ["delta", "rate_jvp"]) +@pytest.mark.parametrize("value,reason", [([3], "storage_callback_shape_mismatch"), + ([np.nan, np.nan], "nonfinite_storage_callback")]) +def test_malformed_storage_provider_cannot_broadcast_or_publish_nan(callback, value, reason): + class MalformedStorage(LinearStorage): + def delta(self, *args): + return np.asarray(value) if callback == "delta" else super().delta(*args) + + def rate_jvp(self, *args): + return np.asarray(value) if callback == "rate_jvp" else super().rate_jvp(*args) + + coordinates = LinearCoordinates(cell_layout()) + left = coordinates.point([1, 2]) + right, increment = coordinates.advance(left, [0, 0], 1) + system = ImplicitSystem(MalformedStorage(np.eye(2)), lambda _: linear_terms([0, 0], np.zeros((2, 2)))) + with pytest.raises(ContractError, match=reason): + if callback == "delta": + system.conservative_residual(left, right, increment) + else: + system.linearize(right, np.zeros(2), np.empty(0)) + + +def test_equal_shape_does_not_authorize_a_different_face_support(): + layout = cell_layout() + layout = replace(layout, supports=layout.supports + (Support("other_faces", "face", (1,)),)) + sink = TermSink(layout, "ions.balance", Geometry([1, 1], [[0, 1]], [1], ONE, ONE)) + with pytest.raises(ContractError, match="geometry_support_mismatch"): + sink.add(FaceFlux("other-domain-flux", "other_faces", [9], ONE / SECOND)) + np.testing.assert_array_equal(sink.value(), [0, 0]) + + +@pytest.mark.parametrize("indices", [[[0.9, 1.9]], [[0, np.nan]], [[0, np.inf]], [[0, 2**64]]]) +def test_topology_cannot_silently_truncate_indices(indices): + with pytest.raises(ContractError, match="invalid_index"): + Geometry([1, 1], indices, [1], ONE, ONE) + point = LinearCoordinates(cell_layout()).point([1, 2]) + with pytest.raises(ContractError, match="invalid_index"): + point.state.face_difference("ions.n", indices) + with pytest.raises(ContractError, match="invalid_index"): + point.state.field("ions.n").take(np.asarray(indices).ravel()) + + +@pytest.mark.parametrize("operation", ["value", "first", "rate_jvp", "residual", "linearize"]) +def test_linear_storage_reference_checked_by_every_operation(operation): + point = LinearCoordinates(cell_layout(), reference="other-reference").point([1, 2]) + storage = LinearStorage(np.eye(2)) + system = ImplicitSystem(storage, lambda _: linear_terms([0, 0], np.zeros((2, 2)))) + with pytest.raises(ContractError, match="linear_storage_coordinate_mismatch"): + if operation in {"value", "first"}: + getattr(storage, operation)(point) + elif operation == "rate_jvp": + storage.rate_jvp(point, np.zeros(2), np.empty(0), np.ones(2), np.empty(0), 0) + else: + getattr(system, operation)(point, np.zeros(2), np.empty(0)) + + +def test_accepted_step_owns_nested_acceptance_evidence(): + coordinates = LinearCoordinates(cell_layout()) + left = coordinates.point([1, 2]) + right, increment = coordinates.advance(left, [0, 0], 1) + metrics = [["inventory_defect", 0.0]] + step = AcceptedStep(left, right, increment, [0, 0], [], [0, 0], [], + "conservative-be-v1", "continuous", metrics, True) + metrics[0][1] = 999 + assert step.acceptance_metrics == (("inventory_defect", 0.0),) diff --git a/tests/numerical_contracts/test_coupled_device.py b/tests/numerical_contracts/test_coupled_device.py new file mode 100644 index 00000000..a81439d6 --- /dev/null +++ b/tests/numerical_contracts/test_coupled_device.py @@ -0,0 +1,3513 @@ +"""Independent constituent/finite-volume/derivative checks; no time integrator.""" + +from dataclasses import asdict, replace +from decimal import Decimal, localcontext +from fractions import Fraction +from functools import lru_cache +import importlib.util +from pathlib import Path +import json +import os +import sys +import time +from types import SimpleNamespace + +import numpy as np +import pytest +from scipy.sparse import issparse +import yaml + +from perovskite_sim.constants import K_B, Q +from scripts.benchmarks.contract_prototype import ContractError +from scripts.benchmarks.coupled_device_prototype import ( + CoupledSlab, ScaledIDAAdapter, SlabDefinition, protocol_from_plan, + digest, prepare_native_request, run_native_pilot, snapshot_solver_result, + state_quality_evidence, charge_interval_bound, +) + +REPO = Path(__file__).resolve().parents[2] +if not os.environ.get("REAL_DEVICE_PLAN"): + pytest.skip( + "REAL_DEVICE_PLAN is unset: this module requires the source-bound device plan and readiness gates", + allow_module_level=True, + ) +PLAN = Path(os.environ["REAL_DEVICE_PLAN"]) +GATES = json.loads(PLAN.read_text())["readiness_contract"] +CASES = GATES["cases"] + + +def _frame_input_saved_parent(): + keys = {"request_json": "FRAME_INPUT_PARENT_REQUEST", "native_result_json": "FRAME_INPUT_PARENT_RESULT", + "first_failure_json": "FRAME_INPUT_PARENT_FAILURE"} + if not all(os.environ.get(name) for name in keys.values()): + pytest.skip("exact failed-file metadata paths are required; no device evaluation") + return {key: Path(os.environ[name]).read_text() for key, name in keys.items()} + + +def test_frame_input_exact_parent_policy_and_independent_tamper_rejection(): + from copy import deepcopy + from scripts.benchmarks import coupled_device_prototype as d + from scripts.benchmarks.native_readback import frame_input_word_count, HistoryVerificationError + + parent = _frame_input_saved_parent() + old = json.loads(parent["request_json"]) + assert digest(old) == "3623f2eb62b95fcc4caddac29ddf07980ec9cdfe785f837cd56c4c06c70ae72a" + d._validate_segment_frame_policy(old) + assert frame_input_word_count(old) == 4 + current = deepcopy(old) + current["voltage_lift_map"].update(mapped_input_profile="frame-input-expansion12-v1", mapped_input_words=12) + current["map_identity"] = digest(current["voltage_lift_map"]) + current["segment_frame_policy"] = d._segment_frame_policy(current, "fixed-affine-state-rate-v1") + current["frame_input_parent"] = parent + current["frame_input_policy"] = d._frame_input_policy(current, "frame-input-expansion12-v1") + d._validate_segment_frame_policy(current) + assert frame_input_word_count(current) == 12 + assert current["frame_input_policy"]["failed_parent"]["request_file_sha256"] == "3329902f6d81021bd641c54246963846a6bd0dc0f1c85b19c7f88fc0f0262604" + mutations = (lambda r: r["controls"].update(rtol=r["controls"]["rtol"]*2), + lambda r: r["frame_input_policy"].update(raw_parent_words=12), + lambda r: r["frame_input_policy"].update(profile="other"), + lambda r: r["voltage_lift_map"]["columns_hex"].__setitem__(0, 1.0.hex()), + lambda r: r["frame_input_parent"].update(native_result_json="{}"), + lambda r: r.pop("frame_input_policy"), + lambda r: r.update(frame_input_words=12)) + for mutate in mutations: + bad = deepcopy(current); mutate(bad) + with pytest.raises(ContractError): + d._validate_segment_frame_policy(bad) + with pytest.raises(HistoryVerificationError): + frame_input_word_count(bad) + assert parent["request_json"] == _frame_input_saved_parent()["request_json"] + + +def _execution_output_test_input(original=8*1048576, effective=31*1024**3): + """Manufactured authority only; never a case request or a Root grant.""" + request = {"case_id": "manufactured-output-test", "map_identity": "a"*64, + "budgets": {"total_output_bytes": original, "wall_s": 4200, "charge_C": 1e-12, + "current_A": 1e-3, "native_steps": 200000, "rss_bytes": 2*1024**3}, + "controls": {"rtol": 1e-12, "first_step": 2.0**-32}} + request["original_budgets"] = dict(request["budgets"]) + admission = {"authority": "Root", "voltage_lift_native_authorized": True, + "request_sha256": digest(request), "map_identity": request["map_identity"], + "operation_id": "manufactured-output-test", "coordinator_message": "msg_manufactured_output"} + admission["execution_output_limit"] = { + "schema": "solarlab.native-execution-output.v1", "request_sha256": digest(request), + "original_total_output_bytes": original, "total_output_bytes": effective, + "operation_id": admission["operation_id"], "coordinator_message": admission["coordinator_message"]} + provenance = {"admission_sha256": digest(admission), "request_sha256": digest(request), + "operation_id": admission["operation_id"], "coordinator_message": admission["coordinator_message"]} + return request, admission, provenance + + +def test_execution_output_default_retains_historical_budget(): + from scripts.benchmarks.coupled_device_prototype import voltage_lift_execution_output_policy + from scripts.benchmarks.native_readback import execution_output_policy + + request, _, _ = _execution_output_test_input() + before = json.dumps(request, sort_keys=True) + expected = {"schema": "solarlab.native-execution-output-observed.v1", + "original_total_output_bytes": 8*1048576, "effective_total_output_bytes": 8*1048576, + "admission_binding": None, "execution_provenance": None} + assert voltage_lift_execution_output_policy(request, {}) == expected + assert execution_output_policy(request) == expected + assert json.dumps(request, sort_keys=True) == before + + +@pytest.mark.parametrize("effective", [31*1024**3, 4*1048576]) +def test_execution_output_bound_increase_or_decrease_preserves_all_inputs(effective): + from scripts.benchmarks.coupled_device_prototype import voltage_lift_execution_output_policy + from scripts.benchmarks.native_readback import execution_output_policy + + request, admission, provenance = _execution_output_test_input(effective=effective) + before = json.dumps([request, admission, provenance], sort_keys=True) + actual = voltage_lift_execution_output_policy(request, admission, execution_provenance=provenance) + independent = execution_output_policy(request, admission, execution_provenance=provenance) + assert actual == independent + assert actual["effective_total_output_bytes"] == effective + assert actual["original_total_output_bytes"] == 8*1048576 + assert json.dumps([request, admission, provenance], sort_keys=True) == before + assert request["budgets"] == request["original_budgets"] + admission["execution_output_limit"]["total_output_bytes"] = 1 + provenance["operation_id"] = "later-mutation" + assert actual["admission_binding"]["total_output_bytes"] == effective + assert actual["execution_provenance"]["operation_id"] == "manufactured-output-test" + + +@pytest.mark.parametrize("case", [ + "zero", "negative", "bool", "float", "string", "null", "infinite", "nan", + "null_grant", "extra_field", "bad_schema", "not_root", "not_authorized", + "request", "operation", "message", "map", "original", "original_float", + "missing_provenance", "missing_grant", "provenance_shape", "caller_request", + "caller_operation", "caller_message", "forged_larger_cap", "other_case", +]) +def test_execution_output_rejects_unbound_or_malformed_authority(case): + from scripts.benchmarks.coupled_device_prototype import voltage_lift_execution_output_policy + from scripts.benchmarks.native_readback import execution_output_policy, HistoryVerificationError + + request, admission, provenance = _execution_output_test_input() + grant = admission["execution_output_limit"] + invalid = {"zero": 0, "negative": -1, "bool": True, "float": float(31*1024**3), + "string": "33285996544", "null": None, "infinite": float("inf"), "nan": float("nan")} + if case in invalid: + grant["total_output_bytes"] = invalid[case] + elif case == "null_grant": admission["execution_output_limit"] = None + elif case == "extra_field": grant["charge_C"] = 1.0 + elif case == "bad_schema": grant["schema"] = "unbound" + elif case == "not_root": admission["authority"] = "worker" + elif case == "not_authorized": admission["voltage_lift_native_authorized"] = 1 + elif case == "request": grant["request_sha256"] = "0"*64 + elif case == "operation": grant["operation_id"] = "other-operation" + elif case == "message": grant["coordinator_message"] = "msg_other" + elif case == "map": admission["map_identity"] = "b"*64 + elif case == "original": grant["original_total_output_bytes"] += 1 + elif case == "original_float": grant["original_total_output_bytes"] = float(8*1048576) + elif case == "missing_provenance": provenance = None + elif case == "missing_grant": del admission["execution_output_limit"] + elif case == "provenance_shape": provenance = True + elif case == "caller_request": provenance["request_sha256"] = "0"*64 + elif case == "caller_operation": provenance["operation_id"] = "other-operation" + elif case == "caller_message": provenance["coordinator_message"] = "msg_other" + elif case == "forged_larger_cap": grant["total_output_bytes"] *= 2 + else: + assert case == "other_case" + request["case_id"] = "other-case" + with pytest.raises(ContractError, match="^voltage_lift_execution_output_binding$"): + voltage_lift_execution_output_policy(request, admission, execution_provenance=provenance) + with pytest.raises(HistoryVerificationError, match="^execution_output_binding "): + execution_output_policy(request, admission, execution_provenance=provenance) + + +@pytest.mark.parametrize("mode", ["increase", "decrease", "default", "writer_mismatch"]) +def test_execution_output_actual_save_body_and_exclusive_writer(tmp_path, mode): + """Execute the current nested save body on small metadata, with no pilot/model call.""" + import ast + from contextlib import nullcontext + from scripts.benchmarks import coupled_device_prototype as kernel + from scripts.benchmarks.native_history import HistoryWriter, HistoryLimitError, METADATA_RESERVE, emit_record + + small, large = METADATA_RESERVE+128, METADATA_RESERVE+65536 + original = small if mode in ("increase", "default") else large + effective = large if mode == "increase" else small + request, admission, provenance = _execution_output_test_input(original, effective) + if mode == "default": + admission, provenance = {}, None + policy = kernel.voltage_lift_execution_output_policy(request, admission, execution_provenance=provenance) + cap = large if mode == "writer_mismatch" else policy["effective_total_output_bytes"] + writer = HistoryWriter(tmp_path / "NativeHistory.jsonl.gz", encoding="gzip", total_output_bytes=cap) + tree = ast.parse(Path(kernel.__file__).read_bytes()) + pilot = next(n for n in tree.body if isinstance(n, ast.FunctionDef) and n.name == "run_voltage_lift_native_pilot") + save = next(n for n in pilot.body if isinstance(n, ast.FunctionDef) and n.name == "save") + counts = {"history_bytes": 0} + namespace = {"counts": counts, "budgets": request["budgets"], "execution_output": policy, + "emit": writer, "emit_record": emit_record, "HistoryLimitError": HistoryLimitError, + "ContractError": ContractError, "timing": SimpleNamespace(phase=lambda _: nullcontext())} + exec(compile(ast.Module(body=[save], type_ignores=[]), kernel.__file__, "exec"), namespace) + record = {"kind": "manufactured_metadata", "payload": "".join(digest(i) for i in range(128))} + if mode == "increase": + namespace["save"](record) + writer.finish() + assert counts["history_bytes"] == writer.logical_bytes > 0 + assert 128 < writer.encoded_bytes <= cap - METADATA_RESERVE + assert writer.closed and writer.container_complete + with pytest.raises(FileExistsError): + HistoryWriter(writer.path, encoding="gzip", total_output_bytes=cap) + else: + with pytest.raises(ContractError, match="^voltage_lift_history_budget$"): + namespace["save"](record) + assert counts == {"history_bytes": 0} and writer.records == 0 + if not writer.closed: + writer.finish() + assert request["budgets"] == request["original_budgets"] + + +@pytest.mark.parametrize("mode", ["default", "increase", "decrease", "wrong_outer", "float_outer", "wrong_provenance"]) +def test_execution_output_maintained_runner_cap_and_forwarding(tmp_path, mode): + """Run only current admission/call-site AST statements; all physics edges are sentinels.""" + import ast + from scripts.benchmarks import coupled_device_prototype as kernel + + source = REPO / "scripts/benchmarks/native_runner.py" + tree = ast.parse(source.read_bytes()) + main = next(n for n in tree.body if isinstance(n, ast.FunctionDef) and n.name == "main") + body = next(n for n in main.body if isinstance(n, ast.Try)).body + index = next(i for i, n in enumerate(body) if isinstance(n, ast.Assign) + and any(isinstance(t, ast.Name) and t.id == "execution_output" for t in n.targets)) + binding = body[index:index+3] + model_index = next(i for i, n in enumerate(body) if isinstance(n, ast.Assign) + and any(isinstance(t, ast.Name) and t.id == "model" for t in n.targets)) + assert index+2 < model_index + call = next(n for n in body if isinstance(n, ast.Assign) + and isinstance(n.value, ast.Call) and isinstance(n.value.func, ast.Name) + and n.value.func.id == "run_recorded") + effective = 4*1048576 if mode == "decrease" else 31*1024**3 + request, admission, provenance = _execution_output_test_input(effective=effective) + if mode == "default": + admission, provenance, effective = {}, None, request["budgets"]["total_output_bytes"] + outer = effective+1 if mode == "wrong_outer" else float(effective) if mode == "float_outer" else effective + if mode == "wrong_provenance": + provenance["admission_sha256"] = "0"*64 + freeze = {"resources": {"total_output_bytes": outer}, "watchdog": {"input_file_names": []}} + namespace = {"kernel": kernel, "request": request, "admission": admission, + "execution_provenance": provenance, "freeze": freeze} + code = compile(ast.Module(body=binding, type_ignores=[]), str(source), "exec") + if mode in ("wrong_outer", "float_outer", "wrong_provenance"): + with pytest.raises((RuntimeError, ContractError)): + exec(code, namespace) + return + exec(code, namespace) + observed = {} + emit, mapped, model, segments, timing = (object() for _ in range(5)) + def pilot(*args, **kwargs): + observed["pilot"] = (args, kwargs) + return {"status": "manufactured-only"} + def recorded(folder, controller, **kwargs): + observed["recorded"] = (folder, kwargs) + return controller(emit) + namespace.update(folder=tmp_path, run_recorded=recorded, run_voltage_lift_native_pilot=pilot, + AffineVoltageMap=lambda actual, **kwargs: mapped if actual is model else None, + model=model, segments=segments, timing=timing) + exec(compile(ast.Module(body=[call], type_ignores=[]), str(source), "exec"), namespace) + assert observed["recorded"][1]["total_output_bytes"] == effective + assert observed["pilot"] == ((mapped, segments, request, admission, emit), + {"timing": timing, "execution_provenance": provenance}) + assert request["budgets"] == request["original_budgets"] + + +def dec(value): + return Decimal.from_float(float(value)) + + +def log_case(request, data, checks): + data.update(test=request.node.nodeid, checks={k: bool(v) for k, v in checks.items()}, passed=bool(all(checks.values()))) + def encode(value): + if isinstance(value, np.ndarray): return value.tolist() + if isinstance(value, np.generic): return value.item() + if isinstance(value, Decimal): return str(value) + raise TypeError(type(value).__name__) + if path := os.environ.get("COUPLED_CASE_LOG"): + with Path(path).open("a") as f: f.write(json.dumps(data, default=encode, allow_nan=False)+"\n") + assert all(checks.values()), {k: bool(v) for k, v in checks.items() if not v} + + +@lru_cache(maxsize=8) +def model(case_id, area=1.0): + return CoupledSlab(SlabDefinition.from_plan(PLAN, REPO, case_id, area=area), 8) + + +def point(model, family): + initial = model.initial() + if family == "equilibrium": return initial + x = model.x/model.definition.length + fields = {v.id: model.field(initial, v.id).copy() for v in model.layout.variables} + fields["n_m3"] *= 1+0.05*np.sin(np.pi*x) + fields["p_m3"] *= 1-0.03*np.sin(np.pi*x) + fields["phi_V"] = -0.04*x+0.002*np.sin(np.pi*x) + if model.definition.dynamic: + fields["c_m3"] *= 1+0.05*np.sin(2*np.pi*x) + fields["f"] += 0.001*np.sin(np.pi*x) + if family == "near_boundary": + fields["c_m3"] = model.definition.ion_capacity*(0.005+0.985*x) + fields["f"] = 1e-6+(1-2e-6)*x + elif family == "near_boundary": + fields["n_m3"] *= 100 + fields["p_m3"] *= 0.01 + return model.point(fields, 0.0, [0.04, model.definition.photon_reference*0.4]) + + +def db(x): + return Decimal(1) if x == 0 else x/(x.exp()-1) + + +def decimal_kernel(model, y, inputs, ydot=None, precision=80): + """Independent direct full-SG and node-by-node finite-volume equations.""" + with localcontext() as ctx: + ctx.prec = precision + m = model.definition + get = lambda field: y[model.layout.offsets[field]] + n, p, phi = get("n_m3"), get("p_m3"), get("phi_V") + N = len(n); q, area, vt, eps = map(dec, [Q, m.area, m.vt, m.epsilon]) + volume, dx = list(map(dec, model.geometry.volumes)), list(map(dec, model.dx)) + cn, cp, nt, n1, p1 = map(dec, [m.capture_n, m.capture_p, m.trap_density, m.n1, m.p1]) + c = get("c_m3") if m.dynamic else [Decimal(0)]*N + f = get("f") if m.dynamic else [(cn*n[i]+cp*p1)/(cn*(n[i]+n1)+cp*(p[i]+p1)) for i in range(N)] + rn = [cn*(n[i]*(1-f[i])-n1*f[i]) for i in range(N)] + rp = [cp*(p[i]*f[i]-p1*(1-f[i])) for i in range(N)] + if not m.dynamic: + # The exact QSS closure makes the two capture channels identical. + common = [cn*cp*(n[i]*p[i]-n1*p1)/(cn*(n[i]+n1)+cp*(p[i]+p1)) for i in range(N)] + rn, rp = common, common + jn, jp, fi, displacement = [], [], [], [] + for i in range(N-1): + xi = (phi[i+1]-phi[i])/vt + jn.append(q*dec(m.mu_n)*vt/dx[i]*(db(xi)*n[i+1]-db(-xi)*n[i])) + jp.append(q*dec(m.mu_p)*vt/dx[i]*(db(xi)*p[i]-db(-xi)*p[i+1])) + displacement.append(-eps*(phi[i+1]-phi[i])/dx[i]) + if m.dynamic: + cap = dec(m.ion_capacity) + xi += -(1-c[i+1]/cap).ln()+(1-c[i]/cap).ln() + fi.append(dec(m.diffusion_ion)/dx[i]*(db(xi)*c[i]-db(-xi)*c[i+1])) + else: fi.append(Decimal(0)) + rates = {v: [Decimal(0)]*N for _, v, _ in model.rate_fields} + for var, flux in [("n_m3", [-v/q for v in jn]), ("p_m3", [v/q for v in jp])]+([("c_m3", fi)] if m.dynamic else []): + for i, value in enumerate(flux): + rates[var][i] -= area*value; rates[var][i+1] += area*value + edges = list(map(dec, model.edges)); alpha = dec(m.alpha) + for i in range(N): + generation = area*inputs[1]*((-alpha*edges[i]).exp()-(-alpha*edges[i+1]).exp()) + rates["n_m3"][i] += generation-volume[i]*nt*rn[i] + rates["p_m3"][i] += generation-volume[i]*nt*rp[i] + if m.dynamic: rates["f"][i] = volume[i]*nt*(rn[i]-rp[i]) + rho = [q*(p[i]-n[i]+(c[i]-dec(m.ion_initial)-nt*f[i] if m.dynamic else 0)) for i in range(N)] + g = [area*(displacement[i]-displacement[i-1])-volume[i]*rho[i] for i in range(1, N-1)] + g += [phi[0], phi[-1]+inputs[0], n[0]-dec(m.n_eq), n[-1]-dec(m.n_eq), p[0]-dec(m.p_eq), p[-1]-dec(m.p_eq)] + rate = [rates[var][int(node)] for _, var, nodes in model.rate_fields for node in nodes] + derivative = [Decimal(0)]*len(y) if ydot is None else ydot + storage_rate = [volume[int(i)]*(nt if var == "f" else 1)*derivative[model.layout.offsets[var].start+int(i)] + for _, var, nodes in model.rate_fields for i in nodes] + residual = [a-b for a, b in zip(storage_rate, rate, strict=True)]+g + ndot, pdot, phidot = (derivative[model.layout.offsets[v]] for v in ["n_m3", "p_m3", "phi_V"]) + cdot, fdot = ([derivative[model.layout.offsets[v]] for v in ["c_m3", "f"]] + if m.dynamic else ([Decimal(0)]*N, [Decimal(0)]*N)) + rhodot = [q*(pdot[i]-ndot[i]+cdot[i]-nt*fdot[i]) for i in range(N)] + ddot = [-eps*(phidot[i+1]-phidot[i])/dx[i] for i in range(N-1)] + outer_D = [displacement[0]-rho[0]*volume[0]/area, displacement[-1]+rho[-1]*volume[-1]/area] + outer_Ddot = [ddot[0]-rhodot[0]*volume[0]/area, ddot[-1]+rhodot[-1]*volume[-1]/area] + icon = [q*(volume[i]*(pdot[i]-ndot[i])+rates["n_m3"][i]-rates["p_m3"][i]) for i in [0, N-1]] + qm = [area*outer_D[0], -area*outer_D[1]] + total = [icon[0]+area*outer_Ddot[0], icon[1]-area*outer_Ddot[1]] + return {"F": residual, "R": rate, "g": g, "Jn": jn, "Jp": jp, "Fi": fi, + "Rn": rn, "Rp": rp, "D": displacement, "Qmetal": qm, "Icond": icon, "Itotal": total, + "Qbody": [sum(volume[i]*rho[i] for i in range(N))]} + + +def compare(actual, reference, scale, atol, rtol): + errors, limits = [], [] + with localcontext() as ctx: + ctx.prec = 80 + for a, b, s in zip(np.asarray(actual).ravel(), reference, np.broadcast_to(scale, np.asarray(actual).shape).ravel(), strict=True): + e = abs((dec(a)-b)*dec(s)); limit = dec(atol)+dec(rtol)*abs(b*dec(s)) + errors.append(float(e)); limits.append(float(limit)) + return {"scaled_absolute_errors": errors, "scaled_limits": limits, + "passed": all(a <= b for a, b in zip(errors, limits, strict=True)), + "max_budget_fraction": max((a/b if b else 0 for a, b in zip(errors, limits, strict=True)), default=0)} + + +def exact_initial_reference(m, precision=100): + cfg = yaml.safe_load(Path(m.source_path).read_text()); layer = cfg["layers"][0] + trap = layer["bulk_defects"][0] + d = lambda value: Decimal(str(value)) + with localcontext() as ctx: + ctx.prec = precision + vt = d(K_B)*d(cfg["device"]["T"])/d(Q) + gap, energy, nc, nv = map(d, [layer["Eg"], trap["distribution"]["center_eV_above_vb"], layer["Nc300"], layer["Nv300"]]) + n1, p1 = nc*(-(gap-energy)/vt).exp(), nv*(-energy/vt).exp() + ni2 = nc*nv*(-gap/vt).exp(); ni = ni2.sqrt() + k = trap["kinetics"] + cn, cp = d(k["sigma_n_m2"])*d(k["thermal_velocity_n_m_s"]), d(k["sigma_p_m2"])*d(k["thermal_velocity_p_m_s"]) + nt = d(trap["distribution"]["total_density_m3"]) + def state(u): + n, p = ni*u.exp(), ni*(-u).exp() + f = (cn*n+cp*p1)/(cn*(n+n1)+cp*(p+p1)) + return n, p, f + lo, hi = Decimal(-100), Decimal(100) + for _ in range(256 if m.dynamic else 0): + mid = (lo+hi)/2; n, p, f = state(mid) + if p-n-nt*f > 0: lo = mid + else: hi = mid + n, p, f = state((lo+hi)/2 if m.dynamic else Decimal(0)) + return {"n1": n1, "p1": p1, "ni": ni, "n_eq": n, "p_eq": p, "f_eq": f} + + +@pytest.mark.parametrize("case_id", CASES) +def test_initial_source_numeric_packet(case_id, request): + m = model(case_id); refs = exact_initial_reference(m.definition) + errors = {k: float(abs(dec(getattr(m.definition, k))/v-1)) for k, v in refs.items()} + initial = m.initial(); packet = m.numeric_packet() + if folder := os.environ.get("COUPLED_PACKET_DIR"): + path = Path(folder)/(case_id+".json") + with path.open("x") as f: json.dump(packet, f, indent=2); f.write("\n") + log_case(request, {"family": "source_and_initial", "case": case_id, + "packet": packet, "Decimal100_reference": refs, "relative_errors": errors, + "initial_residual_scaled": m.Drow*m.residual(initial, m.tangent_rate(initial, np.zeros(2)), np.zeros(2))}, + {"source_equilibrium_reference": max(errors.values()) <= GATES["initial_reference_relative_limit"], + "proper_node_count": m.count == 9, "sparse_square": m.graph.shape == (m.layout.size, m.layout.size), + "volume_once": abs(sum(m.geometry.volumes)-m.definition.area*m.definition.length) <= 2e-16*m.definition.area*m.definition.length}) + + +@pytest.mark.parametrize("case_id", CASES) +@pytest.mark.parametrize("family", GATES["points"]) +def test_values_and_independent_ports(case_id, family, request): + m = model(case_id); p = point(m, family); ydot = m.S*np.sin(np.arange(m.layout.size)+0.3)*1e5 + a = np.array([2e5, 1e20]); ref = decimal_kernel(m, list(map(dec, p.y)), list(map(dec, p.inputs)), list(map(dec, ydot))) + e, obs = m.evaluate(p), m.observe(p, ydot, a) + quantities = {"F": (m.residual(p, ydot, a), m.Drow), "Jn": (e.electron_current, 1), + "Jp": (e.hole_current, 1), "Fi": (e.ion_flux, 1/max(m.definition.ion_initial, 1)), + "Qmetal": (obs.ports.charge, 1), "Icond": (obs.ports.conduction, 1), + "Itotal": (obs.ports.current, 1), "Qbody": ([obs.body_charge], 1)} + checks = {k: compare(value, ref[k], scale, GATES["value_scaled_atol"], GATES["value_scaled_rtol"]) + for k, (value, scale) in quantities.items()} + log_case(request, {"family": "independent_values", "case": case_id, "point": family, "point_identity": p.identity, "comparisons": checks}, + {"independent_values": all(v["passed"] for v in checks.values()), + "value_path_has_no_derivative_matrices": e.rate_jacobian is None and not e.nodal_derivatives, + "raw_rate_preserved": np.array_equal(obs.derivative, ydot)}) + + +def directions(m, p): + fields = {v.id: m.field(p, v.id) for v in m.layout.variables} + vectors = [] + for variable in m.layout.variables: + v = np.zeros(m.layout.size); state = fields[variable.id] + scale = (np.full(m.count, m.definition.vt) if variable.id == "phi_V" else + np.minimum(state, 1-state) if variable.id == "f" else + np.minimum(state, m.definition.ion_capacity-state) if variable.id == "c_m3" else state) + v[m.layout.offsets[variable.id]] = 0.1*scale*np.cos(np.arange(m.count)+0.2) + vectors.append((variable.id, v)) + vectors.append(("coupled", sum(v for _, v in vectors))) + return [(name+("+" if sign == 1 else "-"), sign*v) for name, v in vectors for sign in [1, -1]] + + +@pytest.mark.parametrize("case_id", CASES) +@pytest.mark.parametrize("family", GATES["points"]) +@pytest.mark.parametrize("cj", GATES["cj_s_inv"]) +def test_analytic_sparse_directions_and_fd_ladder(case_id, family, cj, request): + m = model(case_id); p = point(m, family); ydot = m.S*np.sin(np.arange(m.layout.size)+0.3)*1e5 + adot = np.array([2e5, 1e20]); J = m.sparse_jacobian(p, cj) + dense = m.common_system().linearize(p, ydot, adot).ida_matrix(cj) + records = [] + for name, direction in directions(m, p): + references = [] + for precision in [80, 100]: + with localcontext() as ctx: + ctx.prec = precision + h = Decimal("1e-22") + y, yp, dy = list(map(dec, p.y)), list(map(dec, ydot)), list(map(dec, direction)) + values = [] + for sign in [1, -1]: + values.append(decimal_kernel(m, [a+sign*h*b for a,b in zip(y,dy)], list(map(dec,p.inputs)), + [a+sign*h*dec(cj)*b for a,b in zip(yp,dy)], precision)["F"]) + references.append([(a-b)/(2*h) for a,b in zip(*values)]) + actual = J @ direction + exact = compare(actual, references[0], m.Drow, GATES["jacobian_scaled_atol"], GATES["jacobian_scaled_rtol"]) + errors = [] + for eps in GATES["fd_epsilon_ladder"]: + plus = m.coordinates.point(p.y+eps*direction, p.time, p.inputs) + minus = m.coordinates.point(p.y-eps*direction, p.time, p.inputs) + fd = (m.residual(plus, ydot+cj*eps*direction, adot)-m.residual(minus, ydot-cj*eps*direction, adot))/(2*eps) + errors.append(float(np.max(np.abs(m.Drow*(fd-actual)))/(1+np.max(np.abs(m.Drow*actual))))) + plateau = any(all(e <= GATES["fd_plateau_relative_limit"] for e in errors[i:i+GATES["fd_required_adjacent_points"]]) + for i in range(len(errors)-GATES["fd_required_adjacent_points"]+1)) + uncertainty = compare(np.zeros(m.layout.size), [a-b for a,b in zip(*references)], m.Drow, + GATES["jacobian_scaled_atol"]*GATES["reference_fraction_of_gate"], 0) + records.append({"direction": name, "reference": exact, "reference_uncertainty": uncertainty, + "physical_direction": direction.tolist(), "fd_errors": errors, "plateau_passed": plateau}) + log_case(request, {"family": "sparse_jacobian", "case": case_id, "point": family, "cj": cj, + "graph_identity": m.graph.identity, "nnz": J.nnz, "directions": records, + "physical_y": p.y, "physical_ydot": ydot, "inputs": p.inputs, "input_rates": adot, + "epsilon_ladder": GATES["fd_epsilon_ladder"]}, + {"decimal_Jvp": all(v["reference"]["passed"] for v in records), + "reference_uncertainty": all(v["reference_uncertainty"]["passed"] for v in records), + "all_fd_plateaus": all(v["plateau_passed"] for v in records), + "common_dense_crosscheck": np.array_equal(J.toarray(), dense), + "sparse_structure_complete": np.count_nonzero((J.toarray() != 0) & (dense == 0)) == 0}) + + +@pytest.mark.parametrize("case_id", CASES) +def test_input_storage_and_external_scaling(case_id, request): + m = model(case_id); p = point(m, "perturbed"); segment = protocol_from_plan(PLAN, case_id)[0] + adapter = ScaledIDAAdapter(m, segment); initial = m.initial(); yp = m.tangent_rate(initial, np.array([0.0, 0.0])) + z = initial.y/m.S; zdot = yp/m.S + mapping = np.max(np.abs(adapter.residual(0, z, zdot)-m.Drow*m.residual(adapter.point(0,z), m.S*zdot, np.zeros(2)))) + partials = m.common_system().linearize(p, np.ones(m.layout.size), np.ones(2)) + input_checks = [] + for j, scale in enumerate([0.1, max(m.definition.photon_reference, 2e16)]): + inputs = list(map(dec,p.inputs)); h=Decimal('1e-22'); da=[Decimal(0),Decimal(0)];da[j]=dec(scale) + values=[] + with localcontext() as ctx: + ctx.prec=80 + for sign in [1,-1]:values.append(decimal_kernel(m,list(map(dec,p.y)),[a+sign*h*b for a,b in zip(inputs,da)])["F"]) + ref=[(a-b)/(2*h) for a,b in zip(*values)] + input_checks.append(compare(partials.inputs[:,j]*scale,ref,m.Drow,GATES['jacobian_scaled_atol'],GATES['jacobian_scaled_rtol'])) + right, inc = m.coordinates.advance(p, 1e-5*directions(m,p)[-1][1], 1e-6, p.inputs) + expected_delta = m.common_system().storage.delta(p,right,inc) + storage_error = float(np.max(np.abs(adapter.finite_storage_increment(p,right,inc)-expected_delta))) + conservative = m.common_system().conservative_residual(p,right,inc) + log_case(request,{"family":"input_storage_scaling","case":case_id,"input_derivatives":input_checks, + "scaling_error":mapping,"storage_delta_error":storage_error}, + {"input_columns":all(v['passed'] for v in input_checks),"external_scale_once":mapping==0, + "physical_storage_once":storage_error==0,"conservative_residual":np.allclose(m.conservative_residual(p,right,inc),conservative,rtol=1e-14,atol=1e-12), + "explicit_time_and_input_rate_zero":np.all(partials.time==0) and np.all(partials.input_rate==0), + "conservative_jacobian":np.allclose(m.conservative_jacobian(p,right).toarray(),m.common_system().conservative_jacobian(p,right),rtol=1e-14,atol=1e-20)}) + + +@pytest.mark.parametrize("case_id",CASES) +@pytest.mark.parametrize("family",GATES['points']) +def test_charge_identities_area_and_affine_tangent(case_id,family,request): + m=model(case_id);p=point(m,family);a=np.array([1e5,1e20]);rate=m.tangent_rate(p,a) + obs=m.observe(p,rate,a,'physical_tangent');other=model(case_id,0.37);p2=point(other,family) + obs2=other.observe(p2,rate,a,'physical_tangent');e=m.evaluate(p) + qref=Q*m.definition.area*m.definition.length*max(m.definition.ni,m.definition.ion_initial,m.definition.trap_density) + jref=Q*m.definition.vt*(m.definition.mu_n+m.definition.mu_p)*m.definition.ni/m.definition.length + errors={'body_conduction_A':abs(obs.body_charge_rate-sum(obs.ports.conduction)), + 'total_terminal_A':abs(sum(obs.ports.current)), + 'gauss_residual_relation_C':abs(obs.gauss_defect+sum(e.algebraic[:m.count-2])), + 'all_face_current_A_m2':float(np.ptp(obs.interior_total_current))} + scaled=[(obs2.ports.charge,0.37*obs.ports.charge),(obs2.ports.current,0.37*obs.ports.current), + (other.storage_value(p2),0.37*m.storage_value(p)),(other.evaluate(p2).rate,0.37*e.rate)] + area_errors=[float(np.max(np.abs(x-y))/(1+np.max(np.abs(y)))) for x,y in scaled] + bound=m.affine_constraint_error(p) + log_case(request,{'family':'charge_area_tangent','case':case_id,'point':family,'errors':errors, + 'charge_limit_C':qref*GATES['charge_identity_Qref_fraction'],'current_limit_A':jref*GATES['current_identity_Jref_fraction'], + 'area_errors':area_errors,'affine_constraint':bound,'physical_point_identity':p.identity}, + {'body_uses_conduction_only':errors['body_conduction_A']<=jref*GATES['current_identity_Jref_fraction'], + 'terminal_KCL':errors['total_terminal_A']<=jref*GATES['current_identity_Jref_fraction'], + 'finite_gauss_identity':errors['gauss_residual_relation_C']<=qref*GATES['charge_identity_Qref_fraction'], + 'all_faces':errors['all_face_current_A_m2']<=jref*GATES['current_identity_Jref_fraction'], + 'area_applied_once':max(area_errors)<=GATES['area_relative_limit'], + 'model_geometry_reference_bound':p.identity!=p2.identity, + 'no_projection':bound['point_identity']==p.identity and not bound['state_changed'], + 'one_cached_factor':m.factorizations==1}) + + +@pytest.mark.parametrize("case_id",CASES) +def test_protocol_domains_and_history(case_id,request): + m=model(case_id);segments=protocol_from_plan(PLAN,case_id);p=m.initial() + obs=m.observe(p,m.tangent_rate(p,np.zeros(2)),np.zeros(2),'physical_tangent') + original=p.identity; failures=[] + for field,value in [('n_m3',-1.0)]+([('c_m3',m.definition.ion_capacity),('f',1.01)] if m.definition.dynamic else []): + fields={v.id:m.field(p,v.id).copy() for v in m.layout.variables};fields[field][0]=value + with pytest.raises(ContractError) as error:m.point(fields) + failures.append(error.value.reason) + with pytest.raises(ValueError):obs.derivative[0]=0 + joins=[(a.inputs(a.end)[0].tolist(),b.inputs(b.start)[0].tolist()) for a,b in zip(segments,segments[1:])] + log_case(request,{'family':'protocol_domain_history','case':case_id,'segments':[asdict(v) for v in segments], + 'join_values':joins,'guard_reasons':failures}, + {'complete_history_duration':segments[-1].end==(9.2 if m.definition.dynamic else 1.2e-6), + 'joins_continuous':all(a==b for a,b in joins),'history_unchanged':p.identity==original, + 'all_guards':len(failures)==(3 if m.definition.dynamic else 1)}) + + +@pytest.mark.parametrize("case_id",CASES) +@pytest.mark.parametrize("family",GATES['points']) +def test_exterior_port_state_rate_derivatives(case_id,family,request): + m=model(case_id);p=point(m,family);rate=m.S*np.sin(np.arange(m.layout.size)+0.3)*1e5 + partials=m.port_partials(p);records=[] + for name,direction in directions(m,p): + with localcontext() as ctx: + ctx.prec=80;h=Decimal('1e-22');y=list(map(dec,p.y));yp=list(map(dec,rate));dy=list(map(dec,direction)) + values=[] + for sign in [1,-1]: + values.append(decimal_kernel(m,[a+sign*h*b for a,b in zip(y,dy)],list(map(dec,p.inputs)), + [a+sign*h*Decimal('1000')*b for a,b in zip(yp,dy)])) + ref_i=[(a-b)/(2*h) for a,b in zip(values[0]['Itotal'],values[1]['Itotal'])] + ref_q=[(a-b)/(2*h) for a,b in zip(values[0]['Qmetal'],values[1]['Qmetal'])] + current=partials['current_y']@direction+1000*(partials['current_ydot']@direction) + charge=partials['charge_y']@direction + records.append({'direction':name,'current':compare(current,ref_i,1,GATES['jacobian_scaled_atol'],GATES['jacobian_scaled_rtol']), + 'charge':compare(charge,ref_q,1,GATES['jacobian_scaled_atol'],GATES['jacobian_scaled_rtol'])}) + log_case(request,{'family':'port_derivatives','case':case_id,'point':family,'directions':records}, + {'all_port_directions':all(v['current']['passed'] and v['charge']['passed'] for v in records), + 'full_sparse_state_rate_partials':issparse(partials['current_y']) and issparse(partials['current_ydot'])}) + + +@pytest.mark.parametrize('case_id', CASES) +def test_affine_finite_constraint_includes_contact_half_cells(case_id, request): + m = model(case_id); p = point(m, 'near_boundary'); identity = p.identity + bound = m.affine_constraint_error(p) + correction = np.zeros(m.layout.size) + correction[m.layout.offsets['phi_V']] = bound['potential_correction_V'] + for field, values in zip(['n_m3', 'p_m3'], np.reshape(bound['contact_density_correction_m3'], (2, 2))): + offsets = m.layout.offsets[field] + correction[[offsets.start, offsets.stop-1]] = values + shadow = m.coordinates.point(p.y+correction, p.time, p.inputs) + # This is an independent test point, never an accepted-state projection. + ref = decimal_kernel(m, list(map(dec, p.y)), list(map(dec, p.inputs))) + corrected = decimal_kernel(m, list(map(dec, shadow.y)), list(map(dec, shadow.inputs))) + qref = Q*m.definition.area*m.definition.length*max(m.definition.ni, m.definition.ion_initial, m.definition.trap_density) + delta_q = np.asarray([float(a-b) for a,b in zip(corrected['Qmetal'], ref['Qmetal'])]) + delta_body = float(corrected['Qbody'][0]-ref['Qbody'][0]) + metal_error = float(np.max(np.abs(delta_q-np.asarray(bound['metal_charge_correction_C'])))) + body_error = abs(delta_body-bound['body_charge_correction_C']) + storage_error = float(np.max(np.abs(m.dynamic_mass @ correction))) + residual = float(np.max(np.abs(m.Drow[m.dynamic_count:]*m.evaluate(shadow).algebraic))) + log_case(request, {'family': 'affine_finite_g_contacts', 'case': case_id, 'bound': bound, + 'metal_correction_error_C': metal_error, 'body_correction_error_C': body_error, + 'independent_corrected_constraint_scaled_max': residual, + 'differential_storage_correction': storage_error}, + {'charge_correction_includes_half_cells': max(metal_error,body_error)<=qref*GATES['charge_identity_Qref_fraction'], + 'affine_constraints_all_rows': residual<=GATES['value_scaled_atol'], + 'differential_storage_preserved': storage_error==0, + 'original_state_unchanged': p.identity==identity and not bound['state_changed']}) + + +@pytest.mark.parametrize('case_id', CASES) +@pytest.mark.parametrize('cj', [0.0, 1000.0]) +def test_scaled_csc_retains_zero_slots(case_id, cj, request): + m = model(case_id); segment = protocol_from_plan(PLAN, case_id)[0] + adapter = ScaledIDAAdapter(m, segment); z = m.initial().y/m.S + p = adapter.point(0.0, z); physical = m.sparse_jacobian(p, cj) + scaled = adapter.jacobian(0.0, z, cj) + dense = m.Drow[:,None]*physical.toarray()*m.S[None,:] + max_error = float(np.max(np.abs(scaled.toarray()-dense))) + log_case(request, {'family': 'scaled_csc_structure', 'case': case_id, 'cj': cj, + 'nnz_slots': scaled.nnz, 'actual_zero_values': int(np.count_nonzero(scaled.data==0)), + 'external_jacobian_error': max_error}, + {'same_declared_slots': scaled.nnz==m.graph.nnz and np.array_equal(scaled.indices,m.graph.indices) + and np.array_equal(scaled.indptr,m.graph.indptr), + 'scaled_jacobian_exact': max_error==0, + 'finite_all_values': np.isfinite(scaled.data).all()}) + + +@pytest.mark.parametrize('case_id', CASES) +def test_native_request_is_exact_but_cannot_execute_without_admission(case_id, request): + m = model(case_id); segments = protocol_from_plan(PLAN,case_id); initial = m.initial() + packet = prepare_native_request(m,segments) + with pytest.raises(ContractError,match='native_pilot_not_admitted'): + run_native_pilot(m,segments,packet,{},lambda record: pytest.fail('unadmitted record')) + restored = json.loads(json.dumps(packet,allow_nan=False)) + checks = state_quality_evidence(m,ScaledIDAAdapter(m,segments[0]).point(0,np.asarray(packet['z0'])),packet['budgets']) + samples = packet['observation_times'] + coverage = all(len(samples[s.id])>=33 and samples[s.id][0]==s.start and samples[s.id][-1]==s.end + and np.all(np.diff(samples[s.id])>0) for s in segments) + if m.definition.dynamic: + hold = segments[-1];extra = hold.start+np.geomspace(1e-7,9.0,33) + extra[-1] = hold.end + coverage = coverage and all(t in samples[hold.id] for t in extra) + packet_path = None + if base := os.environ.get('COUPLED_PACKET_DIR'): + packet_path = str(Path(base)/(case_id+'.NativeRequest.json')) + Path(packet_path).write_text(json.dumps(packet,indent=2,allow_nan=False)+'\n') + log_case(request, {'family':'prospective_native_request','case':case_id, + 'request_sha256':digest(packet),'packet_path':packet_path,'initial_checks':checks, + 'samples_per_segment':{k:len(v) for k,v in samples.items()}, + 'unadmitted_guard':'native_pilot_not_admitted'}, + {'complete_protocol':segments[-1].end==(9.2 if m.definition.dynamic else 1.2e-6), + 'roundtrip_identity':digest(packet)==digest(restored), + 'frozen_samples_complete':coverage,'physical_initial_eligibility':checks['passed'], + 'no_native_backend_import':'sksundae' not in sys.modules, + 'history_unchanged':initial.identity==m.initial().identity, + 'no_trajectory_qualification':not checks['trajectory_error_certified'] and not packet['refinement_or_full_device_qualification']}) + + +def test_native_snapshot_does_not_borrow_interpolator_buffers(request): + values=np.array([1.,2.]);rates=np.array([3.,4.]) + snapshot=snapshot_solver_result(SimpleNamespace(t=1.,y=values,yp=rates,success=True,status=0,message='test only')) + values[:]=99;rates[:]=88 + with pytest.raises(ValueError):snapshot['z'].setflags(write=True) + log_case(request,{'family':'native_history_buffer_ownership','backend_executed':False}, + {'values_independent':np.array_equal(snapshot['z'],[1.,2.]), + 'rates_independent':np.array_equal(snapshot['zdot'],[3.,4.])}) + + +@pytest.mark.parametrize('case_id', CASES) +@pytest.mark.parametrize('family', GATES['points']) +def test_public_problem_consumes_only_values_for_residual(case_id, family, monkeypatch, request): + m=model(case_id);p=point(m,family) + ydot=m.S*np.sin(np.arange(m.layout.size)+0.3)*1e5;adot=np.array([2e5,1e20]) + dense=m.common_system().linearize(p,ydot,adot) + direct=m.residual(p,ydot,adot) + right,increment=m.coordinates.advance(p,1e-5*directions(m,p)[-1][1],1e-6,p.inputs) + problem=m.public_problem();evaluation=m.evaluate;calls=[] + def observe_evaluate(point,*,derivatives=False): + calls.append(derivatives) + return evaluation(point,derivatives=derivatives) + def forbidden_dense():raise AssertionError('public problem used dense convenience path') + monkeypatch.setattr(m,'evaluate',observe_evaluate) + monkeypatch.setattr(m,'common_system',forbidden_dense) + residual=problem.residual(p,ydot,adot);value_calls=list(calls);calls.clear() + partials=problem.linearize(p,ydot,adot);derivative_calls=list(calls) + be=problem.conservative_jacobian(p,right) + storage=problem.storage.delta(p,right,increment) + comparisons={name:bool(np.array_equal(getattr(partials,name).toarray() if name in {'y','ydot'} else getattr(partials,name), + getattr(dense,name))) for name in ['y','ydot','inputs','input_rate','time']} + log_case(request,{'family':'public_implicit_problem','case':case_id,'point':family, + 'source_identity':problem.source_identity,'structure_identity':problem.structure.identity, + 'residual_derivative_flags':value_calls,'linearization_derivative_flags':derivative_calls, + 'partial_comparisons':comparisons,'conservative_nnz':be.nnz}, + {'value_path_only':value_calls==[False],'one_analytic_derivative_evaluation':derivative_calls==[True], + 'identical_physical_residual':np.array_equal(residual,direct),'all_chain_partials':all(comparisons.values()), + 'source_bound_storage':problem.storage.source_identity==m.source_identity, + 'finite_storage_through_public_API':np.array_equal(storage,m.storage_delta(p,right,increment)), + 'conservative_fixed_slots':be.nnz==m.graph.nnz and np.array_equal(be.indices,m.graph.indices) + and np.array_equal(be.indptr,m.graph.indptr)}) + + +@pytest.mark.parametrize('case_name,defect,uncertainty,prior_d,prior_u,expected_failure', [ + ('separate_terms_pass_but_sum_fails',0.85,0.25,0.0,0.0,'interval_total'), + ('separate_intervals_pass_but_reference_prefix_fails',0.0,0.2,0.0,0.2,'prefix_reference_share'), + ('interval_passes_but_total_prefix_fails',0.2,0.1,0.75,0.0,'prefix_total'), + ('within_all_componentwise_allocations',0.1,0.1,0.1,0.1,None), +]) +def test_charge_combined_interval_and_prefix_allocations(case_name,defect,uncertainty,prior_d,prior_u,expected_failure,request): + delta=np.ones(3);last=delta-np.array([0.0,defect,0.0]);middle=last-np.array([0.0,uncertainty,0.0]) + evidence=charge_interval_bound(delta,[middle,middle,last],[0.,prior_d,0.],[0.,prior_u,0.],1.0) + expected_total=defect+uncertainty + expected_prefix=prior_d+prior_u+expected_total + checks={'expected_classification':evidence['passed']==(expected_failure is None), + 'specific_failure':expected_failure is None or not evidence['checks'][expected_failure], + 'combined_interval_retained':abs(evidence['interval_total_bound_C'][1]-expected_total)<=1e-15, + 'combined_prefix_retained':abs(evidence['prefix_total_bound_C'][1]-expected_prefix)<=1e-15, + 'unrelated_components_unchanged':all(evidence['prefix_total_bound_C'][i]==0 for i in [0,2]), + 'reference_is_explicit_estimate':'not a rigorous continuum certificate' in evidence['reference_estimate']} + log_case(request,{'family':'charge_allocation_controls','case':case_name,'evidence':evidence},checks) + + +@pytest.mark.parametrize('used,rss,live,expected', [ + (268435457,1024,True,'output_cap'), + (0,None,True,'rss_measurement_unavailable'), + (0,None,False,None), + (268435456,2147483648,True,None), +]) +def test_native_watchdog_output_and_rss_exit_race(used,rss,live,expected,request): + path=Path(os.environ['COUPLED_WATCHDOG_SOURCE']) + spec=importlib.util.spec_from_file_location('coupled_watchdog_controls',path) + watchdog=importlib.util.module_from_spec(spec);spec.loader.exec_module(watchdog) + budgets={'total_output_bytes':268435456,'rss_bytes':2147483648,'wall_s':180} + actual=watchdog.watchdog_decision(used,rss,live,1.0,budgets) + log_case(request,{'family':'native_watchdog_controls','output_bytes':used,'rss_bytes':rss, + 'child_live':live,'expected':expected,'observed':actual}, + {'guard_outcome':actual==expected,'native_import_forbidden':'sksundae' not in sys.modules}) + + +@lru_cache(maxsize=8) +def affine_model(case_id, area=1.0): + from scripts.benchmarks.coupled_device_prototype import AffineCoupledSlab + + return AffineCoupledSlab(SlabDefinition.from_plan(PLAN, REPO, case_id, area=area), 8) + + +def affine_design(): + return json.loads(Path(os.environ["AFFINE_DESIGN"]).read_text()) + + +def word_decimals(value): + """Both exact input words, with no reference conversion to binary64.""" + with localcontext() as ctx: + ctx.prec = 100 + return [dec(hi)+dec(lo) for hi,lo in zip(value.high.ravel(),value.low.ravel(),strict=True)] + + +def compare_words(actual, reference, scale, atol, rtol): + values = word_decimals(actual) + scales = np.broadcast_to(scale, actual.shape).ravel() + with localcontext() as ctx: + ctx.prec = 100 + errors = [abs((value-ref)*dec(s)) for value,ref,s in zip(values,reference,scales,strict=True)] + limits = [dec(atol)+dec(rtol)*abs(ref*dec(s)) for ref,s in zip(reference,scales,strict=True)] + return {"errors":[float(v) for v in errors], "limits":[float(v) for v in limits], + "passed":all(e<=b for e,b in zip(errors,limits,strict=True)), + "max_budget_fraction":max((float(e/b) if b else (0.0 if not e else 1e300) + for e,b in zip(errors,limits,strict=True)),default=0.0)} + + +def affine_reference(m, p, rate, precision=100): + values = [v for variable in m.layout.variables for v in word_decimals(p.state.field(variable.id))] + return decimal_kernel(m, values, list(map(dec,p.inputs)), list(map(dec,rate)), precision) + + +@pytest.mark.parametrize("case_id", CASES) +def test_affine_initial_reference_and_public_residual(case_id, request): + """This smallest slice needs no new public trial or native backend.""" + m = affine_model(case_id); p=m.initial(); design=affine_design() + rate=np.zeros(m.layout.size); adot=np.zeros(2) + e=m.evaluate(p); observed=m.observe(p,rate,adot); problem=m.public_problem() + ref=affine_reference(m,p,rate,100); ref80=affine_reference(m,p,rate,80) + nc08=design["NC08"] + checks={} + metrics={"residual":compare_words(problem.residual(p,rate,adot),ref["F"],m.Drow, + GATES["value_scaled_atol"],GATES["value_scaled_rtol"])} + for name,value in (("Jn",e.electron_current),("Jp",e.hole_current)): + metrics[name]=compare_words(value,ref[name],1.0,nc08["weak_flux"]["atol_A_m2"],nc08["weak_flux"]["rtol"]) + for name,value in (("Rn",e.reaction_n),("Rp",e.reaction_p)): + metrics[name]=compare_words(value,ref[name],m.definition.trap_density, + nc08["capture"]["atol"],nc08["capture"]["rtol"]) + for name,value in (("Icond",observed.conduction_inward),("Itotal",observed.total_inward)): + metrics[name]=compare_words(value,ref[name],1.0, + m.definition.area*nc08["weak_flux"]["atol_A_m2"],nc08["weak_flux"]["rtol"]) + charge_atol=Q*sum(m.geometry.volumes)*nc08["density_increment_atol"] + for name,value in (("Qmetal",observed.metal_charge),("Qbody",observed.body_charge)): + metrics[name]=compare_words(value,ref[name],1.0,charge_atol,nc08["density_increment_rtol"]) + checks.update({name:v["passed"] for name,v in metrics.items()}) + expected={"n_m3":m.definition.n_eq,"p_m3":m.definition.p_eq,"phi_V":0.0} + if m.definition.dynamic:expected.update(c_m3=m.definition.ion_initial,f=m.definition.f_eq) + checks["original_reference_words_unchanged"]=all( + np.all(m.field(p,name).high==value) and np.all(m.field(p,name).low==0) for name,value in expected.items()) + checks["cumulative_coordinate_zero"]=np.array_equal(p.y,np.zeros(m.layout.size)) + checks["initial_reference_not_replaced_by_equilibrium_oracle"]=all( + any(v!=0 for v in word_decimals(value))==any(v!=0 for v in ref[name]) + for name,value in (("Rn",e.reaction_n),("Rp",e.reaction_p),("Qbody",observed.body_charge))) + checks["sparse_linearization_preserved"]=problem.linearize(p,rate,adot).ida_matrix(1.0).nnz==m.graph.nnz + checks["native_import_forbidden"]="sksundae" not in sys.modules + reference_uncertainty={name:max((abs(a-b) for a,b in zip(ref[name],ref80[name])),default=Decimal(0)) + for name in ("F","Rn","Rp","Icond","Qmetal","Qbody")} + log_case(request,{"family":"affine_initial_reference","case":case_id,"metrics":metrics, + "reference_uncertainty":reference_uncertainty, + "reference_point_identity":p.identity,"initial_coordinate":p.y, + "reference_capture_n_per_s":word_decimals(e.reference_reaction_n), + "reference_capture_p_per_s":word_decimals(e.reference_reaction_p), + "reference_body_charge_C":word_decimals(observed.body_charge), + "physical_charge_atol_C":charge_atol,"scope":"initial algebra only; no trial/native qualification"}, + checks) + + +def affine_exact_input(m, cumulative): + """Independent reference from supplied primitive words, before projection.""" + from scripts.benchmarks.precision_prototype import PrimitiveExpansion + + # Test inputs are immutable public expansions or explicitly supplied floats. + words = cumulative.words if isinstance(cumulative,PrimitiveExpansion) else (np.asarray(cumulative),) + base = [v for variable in m.layout.variables for v in word_decimals(m.field(m.reference,variable.id))] + with localcontext() as ctx: + ctx.prec=100 + return [b+sum((dec(word[i]) for word in words),Decimal(0)) for i,b in enumerate(base)] + + +def affine_point(m, family): + x=m.x/m.definition.length + u=np.zeros(m.layout.size) + if family=="equilibrium": + return m.trial(u,0.0,(0.0,0.0))[0],u + u[m.layout.offsets["n_m3"]]=m.definition.n_eq*0.05*np.sin(np.pi*x) + u[m.layout.offsets["p_m3"]]=-m.definition.p_eq*0.03*np.sin(np.pi*x) + u[m.layout.offsets["phi_V"]]=-0.04*x+0.002*np.sin(np.pi*x) + if m.definition.dynamic: + u[m.layout.offsets["c_m3"]]=m.definition.ion_initial*0.05*np.sin(2*np.pi*x) + u[m.layout.offsets["f"]]=0.001*np.sin(np.pi*x) + if family=="near_boundary": + u[m.layout.offsets["c_m3"]]=m.definition.ion_capacity*(0.005+0.985*x)-m.definition.ion_initial + u[m.layout.offsets["f"]]=1e-6+(1-2e-6)*x-m.definition.f_eq + elif family=="near_boundary": + u[m.layout.offsets["n_m3"]]=100*(m.definition.n_eq+u[m.layout.offsets["n_m3"]])-m.definition.n_eq + u[m.layout.offsets["p_m3"]]=0.01*(m.definition.p_eq+u[m.layout.offsets["p_m3"]])-m.definition.p_eq + return m.trial(u,0.0,(0.04,0.4*m.definition.photon_reference))[0],u + + +def affine_independent_reference(m,p,cumulative,rate,precision=100): + return decimal_kernel(m,affine_exact_input(m,cumulative),list(map(dec,p.inputs)), + list(map(dec,rate)),precision) + + +@pytest.mark.parametrize("case_id",CASES) +@pytest.mark.parametrize("family",GATES["points"]) +def test_affine_kernel_values_and_half_cells(case_id,family,request): + m=affine_model(case_id);p,u=affine_point(m,family) + rate=m.S*(0.17+np.sin(np.arange(m.layout.size))) + e=m.evaluate(p);o=m.observe(p,rate,[0.1,0.3*m.definition.photon_reference]) + ref=affine_independent_reference(m,p,u,rate) + ref80=affine_independent_reference(m,p,u,rate,80) + design=affine_design();nc=design["NC08"] + metrics={"F":compare_words(m.public_problem().residual(p,rate,[0.1,0.3*m.definition.photon_reference]), + ref["F"],m.Drow,GATES["value_scaled_atol"],GATES["value_scaled_rtol"])} + for name,value in (("Jn",e.electron_current),("Jp",e.hole_current)): + metrics[name]=compare_words(value,ref[name],1,nc["weak_flux"]["atol_A_m2"],nc["weak_flux"]["rtol"]) + for name,value in (("Icond",o.conduction_inward),("Itotal",o.total_inward)): + metrics[name]=compare_words(value,ref[name],1,m.definition.area*nc["weak_flux"]["atol_A_m2"],nc["weak_flux"]["rtol"]) + qscale=1/(Q*m.definition.ion_initial*m.definition.area*m.definition.length) if m.definition.dynamic else 1/(Q*m.definition.ni*m.definition.area*m.definition.length) + for name,value in (("Qmetal",o.metal_charge),("Qbody",o.body_charge)): + metrics[name]=compare_words(value,ref[name],qscale,GATES["value_scaled_atol"],GATES["value_scaled_rtol"]) + with localcontext() as ctx: + ctx.prec=100 + uncertainty={} + for name in metrics: + scales=(m.Drow if name=="F" else np.full(len(ref[name]),qscale if name in {"Qmetal","Qbody"} else 1.0)) + uncertainty[name]=[abs(a-b)*dec(s) for a,b,s in zip(ref[name],ref80[name],scales,strict=True)] + checks={name:value["passed"] for name,value in metrics.items()} + checks["reference_uncertainty_share"]=all( + all(float(v)<=bound/3 for v,bound in zip(values,metrics[k]["limits"],strict=True)) + for k,values in uncertainty.items()) + checks["blocking_ion_exterior_definition"]=all(v==0 for v in word_decimals(e.ion_exterior_flux)) + checks["affine_estimator_preserves_point"]=not m.affine_constraint_error(p)["state_changed"] + checks["source_reference_unchanged"]=m.reference.identity==m.initial().identity + log_case(request,{"family":"affine_values","case":case_id,"point_family":family, + "point_identity":p.identity,"cumulative_SI":u,"physical_rates":rate, + "metrics":metrics,"reference_uncertainty":uncertainty, + "blocking_exterior_ion_flux":0.0,"geometry_volumes":m.geometry.volumes},checks) + + +@pytest.mark.parametrize("case_id",CASES) +@pytest.mark.parametrize("size",["zero","tiny_positive","tiny_negative","half_ulp_positive","half_ulp_negative"]) +def test_affine_signed_weak_density_consumption(case_id,size,request): + from scripts.benchmarks.precision_prototype import DoubleArithmetic, PrimitiveExpansion + + m=affine_model(case_id);u=np.zeros(m.layout.size) + common=np.zeros(m.layout.size) + # A common spatial remainder forces the weak localized change to survive + # after an absolute DD projection can already lose its third term. + common[m.layout.offsets["p_m3"]]=1.0 + previous,_=m.trial(common,1e-3,(0.0,0.0)) + magnitude=(0.0 if size=="zero" else 1e-40 if "tiny" in size else 0.5*np.spacing(m.definition.p_eq)) + if "negative" in size:magnitude=-magnitude + u[m.layout.offsets["p_m3"].start+1]=magnitude + arithmetic=DoubleArithmetic() + cumulative=PrimitiveExpansion.from_value(arithmetic.freeze( + arithmetic.add(arithmetic.array(common),arithmetic.array(u)))) + p,inc=m.trial(cumulative,2e-3,(0.0,0.0),predecessor=previous) + finite=m.finite_physical_changes(previous,p,inc);e=m.evaluate(p) + zero=np.zeros(m.layout.size) + left_ref=affine_independent_reference(m,previous,common,zero) + right_ref=affine_independent_reference(m,p,cumulative,zero) + nc=affine_design()["NC08"] + with localcontext() as ctx: + ctx.prec=100 + capture={name:[b-a for a,b in zip(left_ref[name],right_ref[name])] for name in ("Rn","Rp")} + qbody=[right_ref["Qbody"][0]-left_ref["Qbody"][0]] + qmetal=[b-a for a,b in zip(left_ref["Qmetal"],right_ref["Qmetal"])] + metrics={"hole_current":compare_words(e.hole_current,right_ref["Jp"],1,nc["weak_flux"]["atol_A_m2"],nc["weak_flux"]["rtol"]), + "capture_n":compare_words(finite["capture_n_per_s"],capture["Rn"],m.definition.trap_density,nc["capture"]["atol"],nc["capture"]["rtol"]), + "capture_p":compare_words(finite["capture_p_per_s"],capture["Rp"],m.definition.trap_density,nc["capture"]["atol"],nc["capture"]["rtol"])} + charge_atol=Q*sum(m.geometry.volumes)*nc["density_increment_atol"] + metrics["body_charge"]=compare_words(finite["body_charge_C"],qbody,1,charge_atol,nc["density_increment_rtol"]) + metrics["metal_charge"]=compare_words(finite["metal_charge_C"],qmetal,1,charge_atol,nc["density_increment_rtol"]) + inc_values=word_decimals(inc.field("p_m3")) + checks={name:value["passed"] for name,value in metrics.items()} + increment_field=inc.field("p_m3") + expected_words=u[m.layout.offsets["p_m3"]] + checks["exact_physical_increment"]=( + increment_field.high.tobytes()==expected_words.tobytes() + and increment_field.low.tobytes()==np.zeros_like(expected_words).tobytes()) + checks["zero_or_signed_weak_current"]=(all(v==0 for v in word_decimals(e.hole_current)) if magnitude==0 + else word_decimals(e.hole_current)[0]*dec(magnitude)<0) + checks["weak_finite_storage_nonzero"]=(all(v==0 for v in word_decimals(finite["storage"])) if magnitude==0 + else any(v!=0 for v in word_decimals(finite["storage"]))) + checks["reference_retained"]=m.reference.identity==m.initial().identity + if "tiny" in size: + checks["absolute_projection_can_match_while_driver_survives"]=( + np.array_equal(m.field(previous,"p_m3").high,m.field(p,"p_m3").high) + and np.array_equal(m.field(previous,"p_m3").low,m.field(p,"p_m3").low)) + log_case(request,{"family":"affine_weak_consumption","case":case_id,"size":size, + "increment_m3":magnitude,"actual_increment":inc_values,"metrics":metrics, + "actual_increment_words":{"high":increment_field.high,"low":increment_field.low}, + "first_hole_current_A_m2":word_decimals(e.hole_current)[0], + "finite_body_charge_C":word_decimals(finite["body_charge_C"]), + "left_identity":previous.identity,"right_identity":p.identity},checks) + + +@pytest.mark.parametrize("case_id",CASES) +def test_affine_signed_domains_and_old_native_guard(case_id,request): + from scripts.benchmarks.coupled_device_prototype import AffineScaledIDAAdapter + + m=affine_model(case_id);u=np.zeros(m.layout.size) + for var in m.layout.variables: + if var.id!="phi_V":u[m.layout.offsets[var.id]]=-0.1*m.field(m.reference,var.id).high + u[m.layout.offsets["phi_V"]]=-0.02*m.x/m.definition.length + p,_=m.trial(u,0.0,(0.02,0.0));m.validate(p) + with pytest.raises(ContractError,match="affine_native_request"): + prepare_native_request(m,protocol_from_plan(PLAN,case_id)) + with pytest.raises(ContractError,match="affine_native_runner_not_admitted"): + run_native_pilot(m,protocol_from_plan(PLAN,case_id),{}, {},lambda value:None) + adapter=AffineScaledIDAAdapter(m,protocol_from_plan(PLAN,case_id)[0]) + z=u/m.S;actual=adapter.point(0,z) + bad=u.copy();bad[m.layout.offsets["n_m3"]]=-m.definition.n_eq + with pytest.raises(ContractError): + invalid,_=m.trial(bad,0,(0.0,0.0));m.validate(invalid) + log_case(request,{"family":"affine_domains","case":case_id, + "signed_remainders":u,"actual_scaled_input":actual.y, + "physical_positive_fields":{v.id:m.project_output(m.field(p,v.id)) for v in m.layout.variables}}, + {"negative_remainders_valid":bool(np.any(p.y<0)), + "scale_once":np.array_equal(actual.y,m.S*z), + "absolute_density_native_constraint_not_reused":True, + "native_import_forbidden":"sksundae" not in sys.modules}) + + +@pytest.mark.parametrize("case_id",CASES) +def test_affine_compact_history_and_area(case_id,request): + from scripts.benchmarks.coupled_device_prototype import AffineDeviceHistory + from scripts.benchmarks.precision_prototype import PrimitiveExpansion + + m=affine_model(case_id);h=AffineDeviceHistory(m) + u=np.zeros(m.layout.size);u[m.layout.offsets["p_m3"]]=1.0 + p1,_=m.trial(u,1e-3,(0.0,0.0));du=np.zeros_like(u);du[m.layout.offsets["p_m3"].start+1]=1e-40 + cumulative=PrimitiveExpansion((u,du,np.zeros_like(u),np.zeros_like(u))) + p2,inc=m.trial(cumulative,2e-3,(0.0,0.0),predecessor=p1) + rates=m.S*(0.17+np.sin(np.arange(m.layout.size))) + frames=[h.sample(p1,u,m.reference,rates,[0.0,0.0],event_side="left"), + h.sample(p2,cumulative,p1,-rates,[0.0,0.0],event_side="right")] + encoded=json.dumps({"reference":h.reference_record,"frames":frames},sort_keys=True) + decoded=json.loads(encoded);r1,_,v1,_=h.restore(decoded["reference"],decoded["frames"][0],m.reference) + r2,di,v2,_=h.restore(decoded["reference"],decoded["frames"][1],r1) + damaged=json.loads(json.dumps(frames[1]));damaged["predecessor_identity"]="foreign" + with pytest.raises(ContractError,match="history_reference_or_predecessor_mismatch"): + h.restore(h.reference_record,damaged,r1) + with pytest.raises(ContractError,match="raw_solver_values_required"): + h.sample(p2,cumulative,p1,rates,[0.0,0.0],origin="native") + alt=affine_model(case_id,0.37);ap1,_=alt.trial(u,1e-3,(0.0,0.0)) + ap2,ai=alt.trial(cumulative,2e-3,(0.0,0.0),predecessor=ap1) + b=m.finite_physical_changes(p1,p2,inc);a=alt.finite_physical_changes(ap1,ap2,ai) + with localcontext() as ctx: + ctx.prec=100 + area_errors={name:max((abs(x/dec(0.37)/y-1) if y else abs(x) + for x,y in zip(word_decimals(a[name]),word_decimals(b[name]))),default=Decimal(0)) + for name in ("storage","body_charge_C","metal_charge_C")} + checks={"history_identity":(r1.identity,r2.identity)==(p1.identity,p2.identity), + "rates_preserved":np.array_equal(v1,rates) and np.array_equal(v2,-rates), + "finite_weak_change_preserved":di.field("p_m3").identity_bytes()==inc.field("p_m3").identity_bytes(), + "one_reference_only":all("reference" not in frame and not frame["reference_embedded"] for frame in frames), + "event_sides_preserved":[f["event_side"] for f in decoded["frames"]]==["left","right"], + "nonunit_area_once":all(float(v)<=GATES["area_relative_limit"] for v in area_errors.values())} + log_case(request,{"family":"affine_history_area","case":case_id,"area_errors":area_errors, + "reference_bytes":len(json.dumps(h.reference_record).encode()), + "sample_bytes":[len(json.dumps(f).encode()) for f in frames], + "combined_json_bytes":len(encoded.encode()), + "raw_solver_data":"absent and explicitly algebraic; no native samples fabricated", + "restored_identities":[r1.identity,r2.identity]},checks) + + +def affine_directions(m): + """Signed physical blocks and one coupled direction; all columns also get an oracle.""" + x=m.x/m.definition.length + block_shape=0.2+0.5*np.sin(np.pi*x) + interior_shape=np.sin(np.pi*x);interior_shape[[0,-1]]=0.0 + base=[] + for variable in m.layout.variables: + d=np.zeros(m.layout.size) + d[m.layout.offsets[variable.id]]=m.S[m.layout.offsets[variable.id]]*( + interior_shape if variable.id=="f" else block_shape) + base.append((variable.id,d)) + base.append(("coupled",sum(((-1)**i*d for i,(_,d) in enumerate(base)),np.zeros(m.layout.size)))) + return [(name,sign,sign*d) for name,d in base for sign in (-1,1)] + + +@pytest.mark.parametrize("case_id",CASES) +@pytest.mark.parametrize("family",GATES["points"]) +def test_affine_complete_sparse_jacobian_ladder(case_id,family,request): + """Identity-column oracle is explicitly limited to N8 and <=45 unknowns.""" + from scripts.benchmarks.coupled_device_prototype import AffineScaledIDAAdapter + + m=affine_model(case_id);p,u=affine_point(m,family);N=m.layout.size + assert m.intervals==8 and N<=45 + rate=m.S*(0.17+np.sin(np.arange(N))) + adot=np.array([0.1,0.3*m.definition.photon_reference]) + problem=m.public_problem();linear=problem.linearize(p,rate,adot) + y=affine_exact_input(m,u);a=list(map(dec,p.inputs));v=list(map(dec,rate)) + h=Decimal("1e-22") + state_refs={};rate_refs={} + with localcontext() as ctx: + ctx.prec=100 + for precision in (80,100): + sy=[];sv=[] + for column in range(N): + step=h*dec(m.S[column]) + yp,ym=list(y),list(y);vp,vm=list(v),list(v) + yp[column]+=step;ym[column]-=step + vp[column]+=step;vm[column]-=step + fp=decimal_kernel(m,yp,a,v,precision)["F"];fm=decimal_kernel(m,ym,a,v,precision)["F"] + gp=decimal_kernel(m,y,a,vp,precision)["F"];gm=decimal_kernel(m,y,a,vm,precision)["F"] + sy.append([(b-c)/(2*h)*dec(s) for b,c,s in zip(fp,fm,m.Drow)]) + sv.append([(b-c)/(2*h)*dec(s) for b,c,s in zip(gp,gm,m.Drow)]) + state_refs[precision]=sy;rate_refs[precision]=sv + matrix_evidence=[];matrix_pass=True;reference_pass=True + for cj in GATES["cj_s_inv"]: + actual=(m.Drow[:,None]*linear.ida_matrix(cj).toarray())*m.S[None,:] + errors=[];limits=[];uncertainties=[] + for row in range(N): + er=[];li=[];un=[] + for col in range(N): + expected=state_refs[100][col][row]+dec(cj)*rate_refs[100][col][row] + r80=state_refs[80][col][row]+dec(cj)*rate_refs[80][col][row] + error=abs(dec(actual[row,col])-expected) + limit=dec(GATES["jacobian_scaled_atol"])+dec(GATES["jacobian_scaled_rtol"])*abs(expected) + uncertainty=abs(r80-expected) + matrix_pass &= error<=limit;reference_pass &= uncertainty<=limit/3 + er.append(float(error));li.append(float(limit));un.append(float(uncertainty)) + errors.append(er);limits.append(li);uncertainties.append(un) + matrix_evidence.append({"cj_s_inv":cj,"errors":errors,"limits":limits,"reference_uncertainty":uncertainties}) + + fa_metrics=[] + for column,scale in enumerate((m.definition.vt,m.definition.photon_reference)): + plus,minus=list(a),list(a);plus[column]+=h*dec(scale) + one_sided=column==1 and a[column]==0 + if not one_sided:minus[column]-=h*dec(scale) + rp=decimal_kernel(m,y,plus,v,100)["F"];rm=decimal_kernel(m,y,minus,v,100)["F"] + expected=[(b-c)/((1 if one_sided else 2)*h)*dec(s) for b,c,s in zip(rp,rm,m.Drow)] + actual=linear.inputs[:,column]*scale*m.Drow + errors=[abs(dec(x)-z) for x,z in zip(actual,expected)] + limits=[dec(GATES["jacobian_scaled_atol"])+dec(GATES["jacobian_scaled_rtol"])*abs(z) for z in expected] + fa_metrics.append({"column":column,"input_scale":scale,"one_sided_at_photon_boundary":one_sided,"errors":[float(x) for x in errors], + "limits":[float(x) for x in limits],"passed":all(e<=b for e,b in zip(errors,limits))}) + + # A conservative residual derivative has M-h*R_y on differential rows + # and the unscaled affine constraint derivative on algebraic rows. + be_h=0.001 + right,increment=m.trial(u,be_h,p.inputs,predecessor=m.reference) + be=(m.Drow[:,None]*problem.conservative_jacobian(m.reference,right).toarray())*m.S[None,:] + be_errors=[];be_pass=True + for row in range(N): + entries=[] + for col in range(N): + expected=(rate_refs[100][col][row]+dec(be_h)*state_refs[100][col][row] + if row= 0 + smallest_margin = margin if smallest_margin is None else min(smallest_margin, margin) + checked += 1 + if output := os.environ.get("AFFINE_NATIVE_PACKET_DIR"): + with (Path(output)/("NativeRequest"+case_id+".json")).open("x") as stream: + json.dump(proposed,stream,indent=2,allow_nan=False);stream.write("\n") + checks = {"positive_scalar_rtol": 0 < r <= old_r, + "positive_vector_atol": min(proposed["controls"]["atol"]) > 0, + "exact_component_certificates": all(all(row["checks"].values()) for row in proof["components"]), + "signed_denominator_envelopes": checked == 7*m.layout.size, + "physical_and_resource_budgets_unchanged": proposed["budgets"] == old["budgets"], + "full_protocol_unchanged": digest(proposed["segments"]) == digest(old["segments"]), + "all_observations_unchanged": proposed["observation_times"] == old["observation_times"], + "original_constraints_not_applied_to_signed_u": not any(k in proposed["controls"] for k in ("constraints_idx","constraints_type")), + "no_global_certificate": not proof["global_accuracy_or_conservation_certified"], + "no_native_import": "sksundae" not in sys.modules} + log_case(request,{"family":"affine_native_weight_readiness","case":case_id, + "rtol_hex":float(r).hex(),"request_sha256":digest(proposed), + "exact_envelope_checks":checked,"smallest_denominator_margin_exact":str(smallest_margin), + "native_trajectory":False},checks) + + +@pytest.mark.parametrize("case_id", CASES) +def test_affine_native_scale_roundoff_independent_decimal(case_id, request): + from scripts.benchmarks.coupled_device_prototype import affine_scaling_roundoff + + m = affine_model(case_id) + values = np.resize(np.array([0.0,-0.75,np.nextafter(1.,2.),1e-40,-1e-30,.17]),m.layout.size) + rates = np.resize(np.array([.3,-1e-30,0.,np.nextafter(.5,0.),-.17,1e9]),m.layout.size) + evidence = affine_scaling_roundoff(m,values,rates) + comparisons, nonzero = 0, 0 + with localcontext() as ctx: + ctx.prec = 220 + for name, vector in (("u",values),("udot",rates)): + bounds = {int(i):dec(float.fromhex(h)) for i,h in evidence[name]["nonzero_component_error_upper_hex"]} + for i,(s,v,a) in enumerate(zip(m.S,vector,m.S*vector)): + error = abs(dec(s)*dec(v)-dec(a)) + assert error <= bounds.get(i,Decimal(0)) + assert bool(error) == (i in bounds) + comparisons += 1; nonzero += bool(error) + log_case(request,{"family":"affine_scale_roundoff","case":case_id,"component_checks":comparisons, + "nonzero_products":nonzero,"bounds":evidence,"native_trajectory":False}, + {"all_components_checked":comparisons==2*m.layout.size,"nontrivial_roundoff":nonzero>0, + "not_global_error_claim":not evidence["certifies_global_physical_error"]}) + + +@pytest.mark.parametrize("case_id", CASES) +def test_affine_native_protocol_history_and_payload(case_id, request): + from scripts.benchmarks.coupled_device_prototype import AffineDeviceHistory, affine_native_sample + + m = affine_model(case_id) + proposal, _ = affine_pilot_request(case_id) + segments = protocol_from_plan(PLAN,case_id) + history = AffineDeviceHistory(m) + snapshot = {"time":segments[0].start,"z":np.array(proposal["z0"]), + "zdot":np.array(proposal["zdot0"]),"success":True,"status":0,"message":"synthetic algebraic snapshot; no backend"} + start = time.perf_counter() + initial = affine_native_sample(m,history,proposal,segments[0],snapshot,m.reference,origin="segment_initial") + sample_seconds = time.perf_counter()-start + left_snapshot = {**snapshot,"time":segments[0].end} + left = affine_native_sample(m,history,proposal,segments[0],left_snapshot,initial[0],origin="stop_output") + right_snapshot = {**snapshot,"time":segments[1].start} + right = affine_native_sample(m,history,proposal,segments[1],right_snapshot,left[0],origin="segment_initial") + restored = history.restore(history.reference_record,right[-1]["history"],left[0]) + altered = replace(segments[1],voltage=(segments[1].voltage[0],segments[1].voltage[1]+.01)) + with pytest.raises(ContractError,match="native_history_segment_binding"): + affine_native_sample(m,history,proposal,altered,right_snapshot,left[0],origin="segment_initial") + changed = {**right_snapshot,"z":right_snapshot["z"].copy()} + changed["z"][m.layout.offsets["p_m3"].start+1]=-.125 + with pytest.raises(ContractError,match="native_restart_changed_physical_state"): + affine_native_sample(m,history,proposal,segments[1],changed,left[0],origin="segment_initial") + checks = {"left_right_sides":left[-1]["history"]["event_side"]=="left" and right[-1]["history"]["event_side"]=="right", + "raw_vectors_present":right[-1]["history"]["raw_solver"] is not None, + "independent_slope_binding":right[-1]["input_slope_hex"]==[float(v).hex() for v in segments[1].inputs(segments[1].start)[1]], + "restored_exact_identity":restored[0].identity==right[0].identity, + "accepted_predecessor_named":right[-1]["history"]["predecessor_identity"]==left[0].identity, + "no_reference_duplication":not right[-1]["history"]["reference_embedded"], + "native_and_tangent_separate":right[-1]["raw"]["origin"]=="segment_initial" and right[-1]["physical_tangent"]["origin"]=="physical_tangent", + "no_native_import":"sksundae" not in sys.modules} + log_case(request,{"family":"affine_native_history_readiness","case":case_id, + "sample_bytes":len(json.dumps(initial[-1],separators=(",",":")).encode())+1, + "reference_bytes":len(json.dumps(history.reference_record,separators=(",",":")).encode())+1, + "one_pair_elapsed_s":sample_seconds,"timing_scope":"one nonnative initial pair, includes all quality checks and exact scaling audit; not a trajectory prediction", + "initial_state_quality":initial[-1]["state_checks"],"native_trajectory":False},checks) + + +@pytest.mark.parametrize("case_id", CASES) +def test_affine_native_domain_and_finite_constraint_policy(case_id, request): + from scripts.benchmarks.coupled_device_prototype import AffineScaledIDAAdapter, affine_state_quality_evidence + + m = affine_model(case_id) + proposal,_ = affine_pilot_request(case_id) + adapter = AffineScaledIDAAdapter(m,protocol_from_plan(PLAN,case_id)[0]) + z = np.array(proposal["z0"]) + z[m.layout.offsets["p_m3"].start+1] = -2*m.definition.p_eq/m.S[m.layout.offsets["p_m3"].start+1] + with pytest.raises(ContractError,match="physical_state_outside_domain"): + adapter.residual(0.,z,np.zeros_like(z)) + base = affine_state_quality_evidence(m,m.reference,proposal["budgets"]) + u = np.zeros(m.layout.size);u[m.layout.offsets["p_m3"].start]=.02*m.definition.p_eq + invalid,_ = m.trial(u,0.,[0.,0.]) + changed = affine_state_quality_evidence(m,invalid,proposal["budgets"]) + log_case(request,{"family":"affine_native_domain_readiness","case":case_id, + "reference":base,"contact_perturbation":changed,"native_trajectory":False}, + {"initial_finite_g_passes":base["passed"],"bad_contact_fails":not changed["passed"], + "state_untouched":not changed["state_changed"],"single_constant_factor":m.factorizations==1, + "constraint_body_half_cell_retained":changed["body_charge_error_bound_C"]>0, + "no_global_state_certificate":not changed["trajectory_error_certified"]}) + + +@pytest.mark.parametrize("case_id", CASES) +def test_affine_native_charge_projection_and_prefix(case_id, request): + from scripts.benchmarks.coupled_device_prototype import affine_charge_accounting + from scripts.benchmarks.precision_prototype import DD + + m = affine_model(case_id) + proposal,_ = affine_pilot_request(case_id) + budget = proposal["budgets"]["charge_C"] + delta = DD(np.array([.2,.1,-.3])*budget,np.array([1.,-1.,1.])*budget*1e-20) + integrals = [delta+DD(np.full(3,.02*budget)) for _ in range(3)] + first = affine_charge_accounting(m,delta,integrals,np.zeros(3),np.zeros(3),budget) + fail = affine_charge_accounting(m,delta,integrals,np.full(3,.99*budget),np.zeros(3),budget) + log_case(request,{"family":"affine_native_charge_readiness","case":case_id,"first":first, + "prefix_failure":fail,"native_trajectory":False}, + {"small_combined_error_passes":first["passed"],"prefix_failure_retained":not fail["passed"], + "interval_not_confused_with_prefix":fail["checks"]["interval_total"] and not fail["checks"]["prefix_total"], + "DD_low_words_retained":any(v!=0 for v in first["delta_charge_words"]["low"]), + "projection_uncertainty_recorded":all(v>=0 for v in first["output_projection_error_estimate_C"])}) + + +@pytest.mark.parametrize("case_id", CASES) +def test_affine_native_admission_blocks_before_backend(case_id, request): + from scripts.benchmarks.coupled_device_prototype import run_affine_native_pilot + + m = affine_model(case_id) + proposal,_ = affine_pilot_request(case_id) + with pytest.raises(ContractError,match="affine_native_pilot_not_admitted"): + run_affine_native_pilot(m,protocol_from_plan(PLAN,case_id),proposal,{},lambda x:None) + log_case(request,{"family":"affine_native_admission_readiness","case":case_id,"native_trajectory":False}, + {"no_native_import":"sksundae" not in sys.modules}) + + +@pytest.mark.parametrize("case_id", CASES) +@pytest.mark.parametrize("boundary", ["zero","equal","above","below","negative_above", + "prefix_equal","prefix_above","reference_equal", + "reference_above","reference_prefix_above"]) +def test_affine_native_charge_strict_retained_word_boundaries(case_id,boundary,request): + from scripts.benchmarks.coupled_device_prototype import affine_charge_accounting + from scripts.benchmarks.precision_prototype import DD + + m = affine_model(case_id) + proposal,_ = affine_pilot_request(case_id) + budget = proposal["budgets"]["charge_C"] + evidence=[] + with localcontext() as ctx: + ctx.prec=220 + b, share = dec(budget),dec(budget/3) + def oracle_words(value): + return [dec(h)+dec(l) for h,l in zip(value.hi,value.lo)] + for component in range(3): + hi,lo,pd,pu=(np.zeros(3) for _ in range(4)) + ih,il=np.zeros(3),np.zeros(3) + if boundary in {"equal","above","below","negative_above"}: + hi[component]=-budget if boundary=="negative_above" else budget + lo[component]={"equal":0.,"above":1e-40,"below":-1e-40,"negative_above":-1e-40}[boundary] + if boundary in {"prefix_equal","prefix_above"}: + pd[component]=budget + if boundary=="prefix_above":lo[component]=1e-40 + if boundary in {"reference_equal","reference_above","reference_prefix_above"}: + ih[component]=budget/3 if boundary!="reference_prefix_above" else 0. + il[component]=0. if boundary=="reference_equal" else 1e-40 + hi,lo=ih.copy(),il.copy() + if boundary=="reference_prefix_above":pu[component]=budget/3 + delta=DD(hi,lo);integrals=[DD(np.zeros(3)),DD(np.zeros(3)),DD(ih,il)] + d=oracle_words(delta);values=[oracle_words(v) for v in integrals] + defects=[abs(a-c) for a,c in zip(d,values[-1])] + u=[abs(a-c) for a,c in zip(values[-1],values[-2])] + cd=[dec(a)+c for a,c in zip(pd,defects)] + cu=[dec(a)+c for a,c in zip(pu,u)] + expected={"interval_total":all(a+c<=b for a,c in zip(defects,u)), + "prefix_total":all(a+c<=b for a,c in zip(cd,cu)), + "interval_reference_share":all(v<=share for v in u), + "prefix_reference_share":all(v<=share for v in cu)} + result=affine_charge_accounting(m,delta,integrals,pd,pu,budget) + assert result["checks"]==expected + assert result["passed"]==all(expected.values()) + for name,exact in [("cumulative_absolute_defect_C",cd), + ("cumulative_quadrature_uncertainty_estimate_C",cu), + ("prefix_total_bound_C",[a+c for a,c in zip(cd,cu)])]: + assert all(dec(actual)>=value for actual,value in zip(result[name],exact)) + evidence.append({"component":component,"delta_words_hex":[float(hi[component]).hex(),float(lo[component]).hex()], + "expected":expected,"candidate":result, + "oracle":"Decimal220 exact binary-word sums; independent of Fraction candidate"}) + log_case(request,{"family":"affine_strict_charge_gate","case":case_id,"boundary":boundary, + "budget_hex":budget.hex(),"components":evidence,"native_trajectory":False}, + {"all_body_and_metal_components":len(evidence)==3, + "exact_retained_word_comparison":all(not row["candidate"]["display_projections_used_for_acceptance"] for row in evidence)}) + + +@pytest.mark.parametrize("case_id", CASES) +@pytest.mark.parametrize("family", GATES["points"]) +def test_affine_bound_evaluation_reuses_exact_values(case_id,family,monkeypatch,request): + from scripts.benchmarks.coupled_device_prototype import affine_state_quality_evidence,affine_observation_payload + + m=affine_model(case_id);p,u=affine_point(m,family) + rate=m.S*(.17+np.sin(np.arange(m.layout.size)));adot=np.array([.1,.3*m.definition.photon_reference]) + proposal,_=affine_pilot_request(case_id) + raw=m.observe(p,rate,adot) + tangent_rate=m.tangent_rate(p,adot) + tangent=m.observe(p,tangent_rate,adot,"physical_tangent") + quality=affine_state_quality_evidence(m,p,proposal["budgets"]) + bound=m.affine_constraint_error(p) + actual_evaluate=m.evaluate;count=[0] + actual_action=m.linear_action;action_counts={} + def counted_action(name,point,**kwargs): + kind="rate" if kwargs.get("rate") is not None else "state" + key=(kind,name);action_counts[key]=action_counts.get(key,0)+1 + return actual_action(name,point,**kwargs) + def counted(*args,**kwargs): + count[0]+=1 + return actual_evaluate(*args,**kwargs) + monkeypatch.setattr(m,"evaluate",counted) + monkeypatch.setattr(m,"linear_action",counted_action) + evaluation=m.observation_evaluation(p,state_actions=True) + shared_raw=m.observe(p,rate,adot,evaluation=evaluation) + shared_rate=m.tangent_rate(p,adot,evaluation=evaluation) + shared_tangent=m.observe(p,shared_rate,adot,"physical_tangent",evaluation=evaluation) + shared_quality=affine_state_quality_evidence(m,p,proposal["budgets"],evaluation=evaluation) + shared_bound=m.affine_constraint_error(p,evaluation=evaluation) + other,_=m.trial(u,p.time+.001,p.inputs) + with pytest.raises(ContractError,match="foreign_or_stale_observation_evaluation"): + m.observe(other,rate,adot,evaluation=evaluation) + with pytest.raises(ContractError,match="foreign_or_stale_observation_evaluation"): + m.tangent_rate(p,adot,evaluation=replace(evaluation,source_identity="foreign")) + with pytest.raises(ContractError,match="foreign_or_stale_observation_evaluation"): + m.observe(p,rate,adot,evaluation=replace(evaluation,source_identity="foreign")) + with pytest.raises(ValueError):evaluation.values.algebraic.high.setflags(write=True) + with pytest.raises(TypeError):evaluation.values.nodal_rates["n_m3"]=None + with pytest.raises(TypeError):evaluation.values.linear_actions["body_charge"]=None + state_names=("metal_charge","body_charge","gauss_defect") + rate_names=("body_charge","metal_charge","constraints","conduction","total_current", + "charge_integrands","interior_total_current") + log_case(request,{"family":"bound_affine_evaluation","case":case_id,"point_family":family, + "point_identity":p.identity,"full_evaluation_count":count[0],"native_trajectory":False, + "shared_state_action_counts":{name:action_counts[("state",name)] for name in state_names}, + "separate_rate_action_counts":{name:action_counts[("rate",name)] for name in rate_names}}, + {"one_evaluation":count[0]==1,"raw_words_equal":affine_observation_payload(shared_raw)==affine_observation_payload(raw), + "tangent_words_equal":affine_observation_payload(shared_tangent)==affine_observation_payload(tangent), + "rates_bitwise_equal":np.array_equal(shared_rate,tangent_rate),"quality_equal":shared_quality==quality, + "constraint_bound_equal":shared_bound==bound,"no_mutable_sparse_cache":evaluation.values.rate_jacobian is None, + "three_state_actions_once":all(action_counts[("state",name)]==1 for name in state_names), + "same_state_action_objects":all(shared_raw.linear_actions[name] is shared_tangent.linear_actions[name] + for name in state_names), + "seven_rate_actions_remain_separate":all(action_counts[("rate",name)]==2 and + shared_raw.linear_actions[name+"_rate"] is not shared_tangent.linear_actions[name+"_rate"] + for name in rate_names)}) + + +@pytest.mark.parametrize("case_id", CASES) +def test_affine_observation_state_actions_do_not_expand_residual_context(case_id,monkeypatch): + m=affine_model(case_id);p=m.reference + actual=m.linear_action;names=[] + def counted(name,*args,**kwargs): + names.append(name) + return actual(name,*args,**kwargs) + monkeypatch.setattr(m,"linear_action",counted) + evaluation=m.observation_evaluation(p) + assert set(names)=={"charge_density","displacement","constraints"} + assert set(evaluation.values.linear_actions)==set(names) + + +@pytest.mark.parametrize("case_id", CASES) +def test_affine_native_pair_evaluates_once(case_id,monkeypatch,request): + from scripts.benchmarks.coupled_device_prototype import AffineDeviceHistory,affine_native_sample + + m=affine_model(case_id);proposal,_=affine_pilot_request(case_id);segments=protocol_from_plan(PLAN,case_id) + history=AffineDeviceHistory(m) + snapshot={"time":0.,"z":np.array(proposal["z0"]),"zdot":np.array(proposal["zdot0"]), + "success":True,"status":0,"message":"synthetic snapshot; no native solver"} + actual=m.evaluate;count=[0] + def counted(*args,**kwargs): + count[0]+=1 + return actual(*args,**kwargs) + monkeypatch.setattr(m,"evaluate",counted) + actual_trial=m.trial;trial_count=[0] + def counted_trial(*args,**kwargs): + trial_count[0]+=1 + return actual_trial(*args,**kwargs) + monkeypatch.setattr(m,"trial",counted_trial) + before=time.perf_counter() + pair=affine_native_sample(m,history,proposal,segments[0],snapshot,m.reference,origin="segment_initial") + elapsed=time.perf_counter()-before + pair_trials=trial_count[0] + restored=history.restore(history.reference_record,pair[-1]["history"],m.reference) + log_case(request,{"family":"affine_one_evaluation_pair","case":case_id,"full_evaluation_count":count[0], + "one_pair_elapsed_s":elapsed,"sample_bytes":len(json.dumps(pair[-1],separators=(",",":")).encode())+1, + "raw_pair_point_identity":pair[0].identity,"native_trajectory":False}, + {"one_evaluation":count[0]==1,"one_public_trial":pair_trials==1, + "full_public_history_restores":restored[0].identity==pair[0].identity, + "raw_rates_retained":pair[-1]["history"]["raw_solver"] is not None, + "separate_tangent_origin":pair[-1]["physical_tangent"]["origin"]=="physical_tangent"}) + + +@pytest.mark.parametrize("case_id", CASES) +@pytest.mark.parametrize("family", GATES["points"]) +def test_affine_history_builder_keeps_external_checks(case_id,family,request): + from scripts.benchmarks.coupled_device_prototype import AffineDeviceHistory + from scripts.benchmarks.precision_prototype import PrimitiveExpansion + + m=affine_model(case_id);p,u=affine_point(m,family);history=AffineDeviceHistory(m) + high=u.copy();low=np.zeros(m.layout.size);index=m.layout.offsets["n_m3"].start + high[index]=1.;low[index]=2.**-70 + primitive=PrimitiveExpansion((high,low,np.zeros(m.layout.size),np.zeros(m.layout.size))) + rate=m.S*(.17+np.sin(np.arange(m.layout.size)));adot=np.array([.1,0.]) + point,increment,record=history.build_sample(primitive,p.time,p.inputs,m.reference,rate,adot) + external=history.sample(point,primitive,m.reference,rate,adot) + restored=history.restore(history.reference_record,record,m.reference) + wrong=u.copy();wrong[0]+=m.S[0]*1e-6 + with pytest.raises(ContractError,match="history_primitive_point_mismatch"): + history.sample(point,wrong,m.reference,rate,adot) + with pytest.raises(ContractError,match="history_rate_shape"): + history.build_sample(primitive,p.time,p.inputs,m.reference,rate[:-1],adot) + with pytest.raises(ContractError,match="raw_solver_values_required"): + history.build_sample(primitive,p.time,p.inputs,m.reference,rate,adot,origin="native") + log_case(request,{"family":"single_trial_history","case":case_id,"point_family":family, + "point_identity":point.identity,"native_steps":0}, + {"complete_sample_equal":record==external,"exact_restore":restored[0].identity==point.identity, + "low_words_retained":any(any(float.fromhex(v)!=0 for v in word) + for word in record["cumulative_primitive_words_hex"][1:]), + "input_rate_equal":np.array_equal(restored[3],adot)}) + + +@pytest.mark.parametrize("case_id", CASES) +def test_affine_sampling_context_owns_request_and_segments(case_id,monkeypatch,request): + from scripts.benchmarks.coupled_device_prototype import AffineSamplingContext,AffineDeviceHistory,affine_native_sample + + m=affine_model(case_id);proposal,_=affine_pilot_request(case_id) + supplied=json.loads(json.dumps(proposal));context=AffineSamplingContext(m,supplied) + before=context.request_copy();expected=digest(before) + supplied["controls"]["atol"][0]*=2 + supplied["segments"][0]["voltage"][1]=.1 + copy=context.request_copy();copy["budgets"]["charge_C"]*=100 + with pytest.raises(TypeError):context.budgets["charge_C"]=1. + with pytest.raises(AttributeError):context.request_sha256="changed" + with pytest.raises(AttributeError):context.segments[0].end=1. + external=replace(context.segments[0],voltage=list(context.segments[0].voltage)) + assert context.segment_digest(m,external)==context.segment_sha256[0] + external.voltage[1]=.1 + with pytest.raises(ContractError,match="native_history_segment_binding"): + context.segment_digest(m,external) + foreign=type(m)(m.definition,8) + with pytest.raises(ContractError,match="foreign_or_stale_sampling_context"): + context.segment_digest(foreign,context.segments[0]) + history=AffineDeviceHistory(m) + snapshot={"time":0.,"z":np.array(proposal["z0"]),"zdot":np.array(proposal["zdot0"]), + "success":True,"status":0,"message":"synthetic, no native solver"} + ordinary=affine_native_sample(m,history,before,context.segments[0],snapshot,m.reference,origin="segment_initial") + owned=affine_native_sample(m,history,context,context.segments[0],snapshot,m.reference,origin="segment_initial") + with pytest.raises(ContractError,match="foreign_device_history"): + affine_native_sample(m,AffineDeviceHistory(foreign),context,context.segments[0], + snapshot,m.reference,origin="segment_initial") + monkeypatch.setattr(m,"source_identity","changed") + with pytest.raises(ContractError,match="foreign_or_stale_sampling_context"): + context.segment_digest(m,context.segments[0]) + log_case(request,{"family":"owned_sampling_context","case":case_id,"native_steps":0}, + {"snapshot_unchanged":context.request_copy()==before,"hash_exact":context.request_sha256==expected, + "complete_records_equal":ordinary[-1]==owned[-1]}) + + +def test_ida_statistics_keep_raw_time_generation_and_method_fields(request): + from scripts.benchmarks.coupled_device_prototype import ida_statistics_snapshot + + raw={"num_steps":0,"residual_evals":0,"linear_setups":0,"error_test_fails":0, + "nonlinear_iters":0,"nonlinear_conv_fails":0,"jacobian_evals":0, + "last_order":0,"current_order":4,"initial_step":.1,"last_step":0., + "current_step":.2,"current_time":2.,"current_cj":17., + "nonlin_conv_coef_requested":.01,"coefficient_getter_available":False} + solver=SimpleNamespace(statistics=lambda:raw) + before=ida_statistics_snapshot(solver,"segment",2,"initialization_return",2.,2.) + raw.update(num_steps=1,residual_evals=3,linear_setups=1,nonlinear_iters=3,jacobian_evals=1, + last_order=1,current_order=2,current_step=.02,current_time=2.01,current_cj=100.) + after=ida_statistics_snapshot(solver,"segment",2,"interpolant_probe",2.005,2.005,before=before) + with pytest.raises(ContractError,match="native_statistics_generation_mismatch"): + ida_statistics_snapshot(solver,"segment",3,"before_onestep",3.,before=before) + raw["num_steps"]=0 + with pytest.raises(ContractError,match="native_statistics_counter_regressed"): + ida_statistics_snapshot(solver,"segment",2,"after_onestep",3.,before=after) + with pytest.raises(ContractError,match="public_native_statistics_unavailable"): + ida_statistics_snapshot(SimpleNamespace(),"segment",1,"initialization_return",0.) + log_case(request,{"family":"native_statistics_provenance","before":before,"after":after,"native_calls":0}, + {"zero_step_invalid_method":not before["method_state_valid"], + "retained_raw_sentinel_or_previous_fields":before["raw_statistics"]["current_cj"]==17., + "accepted_step_method_valid":after["method_state_valid"], + "current_and_last_distinct":after["raw_statistics"]["current_order"]==2 and after["raw_statistics"]["last_order"]==1, + "internal_and_returned_time_distinct":after["internal_time_hex"]!=after["returned_time_hex"], + "counter_delta_exact":after["work_since_before"]["nonlinear_iters"]==3, + "raw_getter_copy_owned":after["raw_statistics"]["num_steps"]==1}) + + +def test_affine_saved_sampling_matches_complete_original_records(monkeypatch,request): + """Compare both sampling algorithms on one explicitly bound model/source. + + Archived raw inputs select states; the comparison does not reassign the + original history's source identity or claim a new native trajectory. + """ + from hashlib import sha256 + from scripts.benchmarks.coupled_device_prototype import ( + AffineCoupledSlab,AffineDeviceHistory,AffineSamplingContext,affine_native_sample, + ) + + bundle=json.loads(Path(os.environ["AFFINE_SAMPLE_REGRESSION"]).read_text()) + for entry in bundle["files"].values(): + assert sha256(Path(entry["path"]).read_bytes()).hexdigest()==entry["sha256"] + proposal=json.loads(Path(bundle["files"]["request"]["path"]).read_text()) + original_path=Path(bundle["files"]["baseline_kernel"]["path"]) + spec=importlib.util.spec_from_file_location("_accepted_affine_sampling_original",original_path) + original=importlib.util.module_from_spec(spec);sys.modules[spec.name]=original;spec.loader.exec_module(original) + m=AffineCoupledSlab(SlabDefinition.from_plan(Path(bundle["files"]["plan"]["path"]), + Path(bundle["model_input_root"]),bundle["case_id"]),8) + assert digest(m.numeric_packet())==digest(proposal["numeric_packet"]) + before=time.perf_counter();context=AffineSamplingContext(m,proposal);context_seconds=time.perf_counter()-before + history=AffineDeviceHistory(m);original_history=original.AffineDeviceHistory(m) + points={bundle["reference_point_identity"]:m.reference} + for item in bundle["native_chain"]: + h=item["history"];previous=points[h["predecessor_identity"]] + z=np.array([float.fromhex(v) for v in h["raw_solver"]["z_hex"]]) + point,_=m.trial(m.S*z,float.fromhex(h["time_hex"]), + [float.fromhex(v) for v in h["input_hex"]],predecessor=previous) + assert point.identity==h["point_identity"] + points[point.identity]=point + actual_trial=m.trial;trial_count=[0] + def counted_trial(*args,**kwargs): + trial_count[0]+=1 + return actual_trial(*args,**kwargs) + monkeypatch.setattr(m,"trial",counted_trial) + rows=[] + for index,item in enumerate(bundle["selected_records"]): + h=item["history"];previous=points[h["predecessor_identity"]] + segment=next(v for v in context.segments if v.id==item["segment_id"]) + snapshot={"time":float.fromhex(h["time_hex"]),"success":True, + "z":np.array([float.fromhex(v) for v in h["raw_solver"]["z_hex"]]), + "zdot":np.array([float.fromhex(v) for v in h["raw_solver"]["zdot_hex"]])} + measured={} + for kind in (("original","owned") if index%2==0 else ("owned","original")): + start_count=trial_count[0];start=time.perf_counter() + if kind=="original": + pair=original.affine_native_sample(m,original_history,proposal,segment,snapshot,previous,origin=h["origin"]) + else: + pair=affine_native_sample(m,history,context,segment,snapshot,previous,origin=h["origin"]) + measured[kind]=(pair,time.perf_counter()-start,trial_count[0]-start_count) + baseline,new=measured["original"][0],measured["owned"][0] + assert baseline[-1]==new[-1] + assert baseline[0].identity==new[0].identity==h["point_identity"] + assert (measured["original"][2],measured["owned"][2])==(2,1) + rows.append({"archived_record_sha256":item["record_sha256"],"source_point_identity":h["point_identity"], + "time_hex":h["time_hex"],"origin":h["origin"],"segment_id":item["segment_id"], + "complete_record_sha256":digest(new[-1]),"complete_record_equal":True, + "original_seconds":measured["original"][1],"owned_seconds":measured["owned"][1], + "original_trials":measured["original"][2],"owned_trials":measured["owned"][2]}) + log_case(request,{"family":"saved_complete_sampling_equivalence","rows":rows, + "context_construction_seconds":context_seconds,"selected_count":len(rows), + "restored_native_event_points":len(bundle["native_chain"]), + "comparison_model_source_identity":m.source_identity, + "archived_model_source_identity":bundle["archived_source_identity"], + "baseline_algorithm_source_sha256":bundle["files"]["baseline_kernel"]["sha256"], + "order_policy":"alternate original/owned first, one call of each per frozen input", + "cost_scope":"complete pair construction; outer stream IO and native solver excluded", + "native_steps":0}, + {"all_complete_records_equal":all(v["complete_record_equal"] for v in rows), + "selected_count_exact":len(rows)==bundle["selected_count"], + "one_trial_per_owned_sample":all(v["owned_trials"]==1 for v in rows), + "no_native_backend_import":"sksundae" not in sys.modules}) + + +def test_affine_saved_failure_weight_contraction(request): + """Tighter numerical weights must not requalify the saved failed path.""" + from hashlib import sha256 + + bundle=json.loads(Path(os.environ["AFFINE_WEIGHT_REGRESSION"]).read_text()) + data={} + for name,record in bundle["files"].items(): + path=Path(record["path"]) + assert sha256(path.read_bytes()).hexdigest()==record["sha256"] + data[name]=json.loads(path.read_text()) + base,proposal,failed=data["base_request"],data["proposal_request"],data["failed_result"] + old=dict(base["controls"]);new=dict(proposal["controls"]) + old_r,new_r=old.pop("rtol"),new.pop("rtol") + old_a,new_a=old.pop("atol"),new.pop("atol") + assert old==new + assert Fraction.from_float(new_r)*16==Fraction.from_float(old_r) + assert len(old_a)==len(new_a)==45 + assert all(Fraction.from_float(b)*16==Fraction.from_float(a) and b>0 for a,b in zip(old_a,new_a)) + for key in ["numeric_packet","segments","z0","zdot0","budgets","observation_times","quadrature","mandatory"]: + assert proposal[key]==base[key] + # Exact rational denominators, independent of rounded RMS diagnostics. + comparisons=0 + for row in data["fixed_time_controls"]["selected"]: + for correction in row["one_correction_controls"]: + for a,b,coordinate in zip(old_a,new_a,correction["correction_z_hex"]): + z=abs(Fraction.from_float(float.fromhex(coordinate))) + before=Fraction.from_float(a)+Fraction.from_float(old_r)*z + after=Fraction.from_float(b)+Fraction.from_float(new_r)*z + assert after*16==before + comparisons+=1 + charge_budget=Fraction.from_float(base["budgets"]["charge_C"]) + ledgers=failed["first_failure"]["ledgers"] + assert not failed["complete_protocol"] + assert all(not values["passed"] and Fraction(values["exact_prefix_total_C"][0])>charge_budget + for values in ledgers.values()) + log_case(request,{"family":"saved_failure_tighter_weights","exact_component_denominators":comparisons, + "contraction_factor":16,"new_rtol_hex":new_r.hex(),"native_trajectory":False, + "old_failed_trajectory_remains_failed":True}, + {"all_eight_correction_vectors_and45_components":comparisons==8*45, + "positive_scalar_and_vector_weights":new_r>0 and min(new_a)>0, + "original_physical_and_observation_gates_unchanged":proposal["budgets"]==base["budgets"], + "no_new_native_import":"sksundae" not in sys.modules}) + + +def lift_fraction(value): + return Fraction.from_float(float(value)) + + +def lift_primitive_fractions(value): + return [sum((lift_fraction(word[i]) for word in value.words), Fraction(0)) + for i in range(value.shape[0])] + + +def lift_exact_map(mapping, raw, inputs, *, rate=False): + result = [] + for i in range(mapping.model.layout.size): + value = lift_fraction(mapping.columns[i])*lift_fraction(raw[i]) + for j in range(2): + a = lift_fraction(inputs[j])-(Fraction(0) if rate else lift_fraction(mapping.reference_inputs[j])) + value += lift_fraction(mapping.lift[i, j])*a + result.append(value) + return result + + +def lift_encode_target(mapping, physical, inputs, *, rate=False): + """Independent test-only lossy encoding; never rewrite a native record.""" + result = [] + for i, value in enumerate(physical): + lift = sum((lift_fraction(mapping.lift[i, j])*(lift_fraction(inputs[j]) + -(Fraction(0) if rate else lift_fraction(mapping.reference_inputs[j]))) + for j in range(2)), Fraction(0)) + result.append(float((value-lift)/lift_fraction(mapping.columns[i]))) + return np.asarray(result) + + +def lift_fixture(case_id, family="perturbed", area=1.0): + from scripts.benchmarks.coupled_device_prototype import AffineVoltageMap, VoltageLiftAdapter + + m = affine_model(case_id, area) + p, physical = affine_point(m, family) + mapping = AffineVoltageMap(m) + raw = lift_encode_target(mapping, [lift_fraction(v) for v in physical], p.inputs) + return m, mapping, VoltageLiftAdapter(mapping), raw, p.inputs + + +def lift_decimal_reference(mapping, z, zdot, inputs, input_rate, precision=80): + """Direct physical reference from the mathematical external map.""" + with localcontext() as ctx: + ctx.prec = precision + cv = lambda x: x if isinstance(x, Decimal) else dec(x) + m = mapping.model + physical, rate = [], [] + roots = [v for variable in m.layout.variables for v in word_decimals(m.field(m.reference, variable.id))] + for i in range(m.layout.size): + physical.append(roots[i]+dec(mapping.columns[i])*cv(z[i])+sum( + (dec(mapping.lift[i, j])*(cv(inputs[j])-dec(mapping.reference_inputs[j])) for j in range(2)), Decimal(0))) + rate.append(dec(mapping.columns[i])*cv(zdot[i])+sum( + (dec(mapping.lift[i, j])*cv(input_rate[j]) for j in range(2)), Decimal(0))) + return decimal_kernel(m, physical, list(map(cv, inputs)), rate, precision) + + +@pytest.mark.parametrize("case_id", CASES) +def test_voltage_lift_public_words_and_weak_changes(case_id, request): + m, mapping, adapter, z, inputs = lift_fixture(case_id) + expected_lift = np.zeros((m.layout.size, 2)) + expected_lift[m.layout.offsets["phi_V"], 0] = -m.x/m.definition.length + primitive = mapping.physical_primitive(z, inputs) + point, _ = mapping.trial(z, .01, inputs) + checks = {"declared_geometry_lift": np.array_equal(mapping.lift, expected_lift), + "all_physical_input_words_exact": lift_primitive_fractions(primitive) == lift_exact_map(mapping, z, inputs), + "Point_y_stays_physical": np.array_equal(point.y, primitive.high), + "Point_y_is_not_raw_z": not np.array_equal(point.y, z), + "mass_lift_is_exact_zero": np.all(m.mass @ mapping.lift == 0), + "original_reference_retained": mapping.reference_identity == m.reference.identity} + weak = [] + zero = np.zeros(m.layout.size) + base, _ = mapping.trial(zero, .01, inputs) + for sign in (-1, 0, 1): + raw = zero.copy() + raw[m.layout.offsets["phi_V"]] = sign*2.0**-80 + right, increment = mapping.trial(raw, .02, inputs, predecessor=base) + change = increment.field("phi_V") + expected = [lift_fraction(mapping.columns[i])*lift_fraction(raw[i]) + for i in range(m.layout.offsets["phi_V"].start, m.layout.offsets["phi_V"].stop)] + values = word_decimals(change) + checks[f"weak_sign_{sign}"] = all((v > 0 if sign > 0 else v < 0 if sign < 0 else v == 0) for v in values) + with localcontext() as ctx: + ctx.prec = 100 + errors = [abs(v-Decimal(q.numerator)/Decimal(q.denominator)) for v, q in zip(values, expected)] + weak.append({"sign": sign, "physical_changes": values, "independent_errors": errors, + "point_identity": right.identity}) + with pytest.raises(ContractError, match="voltage_lift_coordinate_shape"): + mapping.physical_primitive(z[:-1], inputs) + with pytest.raises(ValueError): + mapping.lift[0, 0] = 1 + with pytest.raises(ContractError, match="voltage_lift_tangent_requires_named_evaluation"): + adapter.observe(.01, z, np.zeros(m.layout.size), inputs, np.zeros(2), origin="physical_tangent") + log_case(request, {"family": "voltage_lift_exact_words", "case": case_id, + "map": mapping.payload(), "weak_changes": weak, "native_steps": 0}, checks) + + +@pytest.mark.parametrize("case_id", CASES) +@pytest.mark.parametrize("area", GATES["areas_m2"]) +def test_voltage_lift_physical_rate_ports_and_inventory(case_id, area, request): + from scripts.benchmarks.contract_prototype import RateView + + m, mapping, adapter, z, inputs = lift_fixture(case_id, area=area) + zdot = .17+np.sin(np.arange(m.layout.size)) + adot = np.array([.1, .3*m.definition.photon_reference]) + point, _, rate, observed, audit = adapter.observe(.01, z, zdot, inputs, adot) + expected = lift_exact_map(mapping, zdot, adot, rate=True) + reference = lift_decimal_reference(mapping, z, zdot, inputs, adot, 100) + # The observer now consumes the full map. Preserve the previous lossy + # path as an independently reconstructed counterfactual, not its error. + projected_reference = decimal_kernel(m, affine_exact_input(m, mapping.physical_primitive(z, inputs)), + list(map(dec, inputs)), list(map(dec, rate.high)), 100) + comparisons = {key: compare_words(value, reference[key], 1, + GATES["value_scaled_atol"], GATES["value_scaled_rtol"]) + for key, value in (("Icond", observed.conduction_inward), + ("Itotal", observed.total_inward), + ("Qbody", observed.body_charge), ("Qmetal", observed.metal_charge))} + with localcontext() as ctx: + ctx.prec = 100 + port_errors = [projected_reference["Itotal"][i]-reference["Itotal"][i] + -Decimal(Fraction(v).numerator)/Decimal(Fraction(v).denominator) + for i, v in enumerate(audit["total_current_error_exact_A"])] + left, _ = mapping.trial(z, 0, np.zeros(2)) + right, increment = mapping.trial(z, .01, inputs, predecessor=left) + delta = adapter.finite_storage_increment(left, right, increment) + checks = {"all_rate_words_exact": lift_primitive_fractions(rate) == expected, + "observer_uses_full_rate": isinstance(observed.derivative, RateView) + and observed.derivative.values.identity_bytes() == rate.identity_bytes(), + "independent_ports": all(v["passed"] for v in comparisons.values()), + "projection_error_independently_reconstructed": max(map(abs, port_errors)) <= dec(GATES["value_scaled_atol"]), + "voltage_change_does_not_change_inventory": all(v == 0 for v in word_decimals(delta)), + "physical_increment_contains_input_lift": any(v != 0 for v in word_decimals(increment.field("phi_V"))), + "unchanged_sparse_structure": adapter.linearize(.01, z, zdot, inputs, adot).structure.identity == m.public_problem().structure.identity, + "no_native_import": "sksundae" not in sys.modules} + log_case(request, {"family": "voltage_lift_rates_ports", "case": case_id, "area_m2": area, + "rate_projection": audit, "independent_projection_errors_A": port_errors, + "comparisons": comparisons, "inventory_delta": word_decimals(delta)}, checks) + + +def lift_reference_jvp(mapping, z, zdot, inputs, adot, dz, dzdot, da, dadot, precision): + with localcontext() as ctx: + ctx.prec = precision + h = Decimal("1e-22") + results = [] + for sign in (-1, 1): + values = [[dec(v)+sign*h*dec(d) for v, d in zip(base, direction)] + for base, direction in ((z, dz), (zdot, dzdot), (inputs, da), (adot, dadot))] + results.append(lift_decimal_reference(mapping, *values, precision)["F"]) + return [(b-a)/(2*h) for a, b in zip(*results)] + + +@pytest.mark.parametrize("case_id", CASES) +@pytest.mark.parametrize("family", GATES["points"]) +def test_voltage_lift_full_chain_and_fd_ladder(case_id, family, request): + m, mapping, adapter, z, inputs = lift_fixture(case_id, family) + zdot = .17+np.sin(np.arange(m.layout.size)) + adot = np.array([.1, .3*m.definition.photon_reference]) + linearization = adapter.linearize(.01, z, zdot, inputs, adot) + zero, za = np.zeros(m.layout.size), np.zeros(2) + records = [] + for name, sign, physical in affine_directions(m): + direction = physical/m.S + for cj in GATES["cj_s_inv"]: + reference = lift_reference_jvp(mapping, z, zdot, inputs, adot, direction, cj*direction, za, za, 80) + reference100 = lift_reference_jvp(mapping, z, zdot, inputs, adot, direction, cj*direction, za, za, 100) + matrix = linearization.ida_matrix(cj) + actual = matrix @ direction + # Reference is physical; the solver derivative is row-scaled. + check = compare(actual/m.Drow, reference, m.Drow, + GATES["jacobian_scaled_atol"], GATES["jacobian_scaled_rtol"]) + uncertainty = compare(np.zeros(m.layout.size), [a-b for a, b in zip(reference, reference100)], + m.Drow, GATES["jacobian_scaled_atol"]*GATES["reference_fraction_of_gate"], 0) + ladder = [] + for epsilon in GATES["fd_epsilon_ladder"]: + plus = adapter.residual(.01, z+epsilon*direction, zdot+epsilon*cj*direction, inputs, adot) + minus = adapter.residual(.01, z-epsilon*direction, zdot-epsilon*cj*direction, inputs, adot) + finite = (plus-minus)/(2*epsilon) + ladder.append(float(np.max(np.abs(finite-actual))/max(np.max(np.abs(actual)), 1e-30))) + hits = np.asarray(ladder) <= GATES["fd_plateau_relative_limit"] + width = GATES["fd_required_adjacent_points"] + plateau = any(np.all(hits[i:i+width]) for i in range(len(hits)-width+1)) + records.append({"direction": name, "sign": sign, "cj": cj, "comparison": check, + "reference_uncertainty": uncertainty, "fd_errors": ladder, + "fd_plateau": plateau, "declared_nnz": matrix.nnz}) + input_records = [] + for j, scale in enumerate((m.definition.vt, max(m.definition.photon_reference, 2e16))): + da = np.zeros(2); da[j] = scale + for kind in ("input", "input_rate"): + aa, ar = (da, za) if kind == "input" else (za, da) + reference = lift_reference_jvp(mapping, z, zdot, inputs, adot, zero, zero, aa, ar, 100) + actual = (linearization.inputs if kind == "input" else linearization.input_rate) @ da + check = compare(actual/m.Drow, reference, m.Drow, + GATES["jacobian_scaled_atol"], GATES["jacobian_scaled_rtol"]) + input_records.append({"kind": kind, "input": j, "comparison": check}) + checks = {"all_signed_block_coupled_jacobians": all(x["comparison"]["passed"] for x in records), + "reference_precision_share": all(x["reference_uncertainty"]["passed"] for x in records), + "all_fd_plateaus": all(x["fd_plateau"] for x in records), + "full_input_and_input_rate_chain": all(x["comparison"]["passed"] for x in input_records), + "all_declared_sparse_slots": all(x["declared_nnz"] == m.graph.nnz for x in records), + "explicit_time_partial_zero": np.all(linearization.time == 0), + "fixed_inputs_time_invariance": np.array_equal(adapter.residual(.01, z, zdot, inputs, adot), + adapter.residual(.02, z, zdot, inputs, adot))} + log_case(request, {"family": "voltage_lift_complete_chain", "case": case_id, "point": family, + "epsilon_ladder": GATES["fd_epsilon_ladder"], "directions": records, + "input_partials": input_records, "source_identity": adapter.source_identity}, checks) + + +@pytest.mark.parametrize("case_id", CASES) +def test_voltage_lift_history_reconstructs_physical_words(case_id, request): + from copy import deepcopy + from scripts.benchmarks.coupled_device_prototype import VoltageLiftHistory + + m, mapping, adapter, z, inputs = lift_fixture(case_id) + history = VoltageLiftHistory(mapping) + segments = protocol_from_plan(PLAN, case_id) + previous, restored_previous = m.reference, m.reference + records, ids = [], [] + for segment in segments: + a, adot = segment.inputs(segment.end) + point, increment, rate, record = history.build_sample( + z, segment.end, a, previous, np.zeros(m.layout.size), adot, + origin="algebraic_probe", event_side="left") + decoded, dincrement, drate, da = history.restore(history.reference_record, record, restored_previous) + assert decoded.identity == point.identity + assert lift_primitive_fractions(drate) == lift_primitive_fractions(rate) + assert np.array_equal(da, adot) + assert all(word_decimals(increment.field(v.id)) == word_decimals(dincrement.field(v.id)) + for v in m.layout.variables) + records.append(record); ids.append(point.identity) + previous, restored_previous = point, decoded + original = records[0] + damaged = deepcopy(original) + supported_index = next(i for i, value in enumerate(original["raw_solver_z_hex"]) + if float.fromhex(value) != 0) + damaged["raw_solver_z_hex"][supported_index] = float(np.nextafter( + float.fromhex(damaged["raw_solver_z_hex"][supported_index]), np.inf)).hex() + with pytest.raises(ContractError, match="voltage_lift_history_word_mismatch"): + history.restore(history.reference_record, damaged, m.reference) + unsupported = deepcopy(original) + zero_index = next(i for i, value in enumerate(original["raw_solver_z_hex"]) + if float.fromhex(value) == 0) + unsupported["raw_solver_z_hex"][zero_index] = float(np.nextafter(0.0, np.inf)).hex() + with pytest.raises(ArithmeticError, match="below the supported precision range"): + history.restore(history.reference_record, unsupported, m.reference) + damaged = deepcopy(original) + damaged["physical_rate_words_hex"][1][0] = (2.0**-80).hex() + with pytest.raises(ContractError, match="voltage_lift_history_word_mismatch"): + history.restore(history.reference_record, damaged, m.reference) + with pytest.raises(ContractError, match="voltage_lift_history_binding_mismatch"): + history.restore(history.reference_record, original, previous) + log_case(request, {"family": "voltage_lift_history", "case": case_id, + "synthetic_protocol_boundary_ids": ids, "complete_protocol_definition_s": segments[-1].end, + "native_steps": 0, "sample_bytes": [len(json.dumps(x).encode()) for x in records]}, + {"all_sources_words_and_predecessors_reconstructed": True, + "all_coordinate_and_physical_rates_present": all("raw_solver_zdot_hex" in x and "physical_rate_words_hex" in x for x in records), + "no_hidden_legacy_coordinate_assertion": all(x["raw_coordinate_frame"] == "scaled-voltage-departure-v1" for x in records), + "one_original_reference": all(not x["reference_embedded"] for x in records)}) + + +@pytest.mark.parametrize("case_id", CASES) +def test_voltage_lift_port_input_derivatives(case_id, request): + m, mapping, adapter, z, inputs = lift_fixture(case_id) + zdot = .17+np.sin(np.arange(m.layout.size)) + adot = np.array([.1, .3*m.definition.photon_reference]) + partials = adapter.port_partials(.01, z, zdot, inputs, adot) + records = [] + for column, magnitude in enumerate((m.definition.vt, max(m.definition.photon_reference, 2e16))): + direction = np.zeros(2); direction[column] = magnitude + for kind in ("inputs", "input_rates"): + with localcontext() as ctx: + ctx.prec = 100 + h = Decimal("1e-22") + refs = [] + for sign in (-1, 1): + a = [dec(x)+sign*h*dec(v) if kind == "inputs" else dec(x) + for x, v in zip(inputs, direction)] + ar = [dec(x)+sign*h*dec(v) if kind == "input_rates" else dec(x) + for x, v in zip(adot, direction)] + refs.append(lift_decimal_reference(mapping, z, zdot, a, ar, 100)) + ref = {key: [(b-a)/(2*h) for a, b in zip(refs[0][key], refs[1][key])] + for key in ("Qmetal", "Icond", "Itotal", "Qbody")} + actual = {"Icond": partials["conduction_"+kind] @ direction, + "Itotal": partials["current_"+kind] @ direction, + "Qmetal": partials["charge_inputs"] @ direction if kind == "inputs" else np.zeros(2), + "Qbody": np.atleast_1d(partials["body_inputs"] @ direction) if kind == "inputs" else np.zeros(1)} + comparisons = {key: compare(value, ref[key], 1, GATES["jacobian_scaled_atol"], GATES["jacobian_scaled_rtol"]) + for key, value in actual.items()} + records.append({"input": column, "kind": kind, "comparisons": comparisons}) + log_case(request, {"family": "voltage_lift_port_derivatives", "case": case_id, + "input_partial_checks": records}, + {"all_direct_and_lift_port_derivatives": all(v["passed"] for row in records for v in row["comparisons"].values()), + "no_native_import": "sksundae" not in sys.modules}) + + +def test_voltage_lift_native37_saved_rounding_control(request): + """Re-encode immutable saved inputs; this is not a native history replay.""" + from scripts.benchmarks.coupled_device_prototype import AffineCoupledSlab, AffineVoltageMap, VoltageLiftAdapter + + saved_path = Path(os.environ["LIFT_SAVED_CONTROL"]) + original_path = Path(os.environ["LIFT_NATIVE_REQUEST"]) + history_path = Path(os.environ["LIFT_NATIVE_HISTORY"]) + saved, native = json.loads(saved_path.read_text()), json.loads(original_path.read_text()) + # Use the original numerical definition, including its original source + # path. The newly imported computational source keeps its own identity. + m = AffineCoupledSlab(SlabDefinition(**native["numeric_packet"]["definition"]), 8) + mapping, records = AffineVoltageMap(m), [] + adapter = VoltageLiftAdapter(mapping) + selected_ids = {x["native_record"] for x in saved["selected"]} + native_records = {} + for line in history_path.open(): + record = json.loads(line) + if record.get("record_sha256") in selected_ids: + native_records[record["record_sha256"]] = record + assert set(native_records) == selected_ids + duration = float(native["segments"][-1]["end"])-float(native["segments"][0]["start"]) + point_budget = native["budgets"]["charge_C"]/(3*duration) + loss_records = [] + all_checks = {"no_original_native_steps": True, "new_source_identity_explicit": True} + for item in saved["selected"]: + original = native_records[item["native_record"]] + h = original["history"] + inputs = np.array([float.fromhex(x) for x in h["input_hex"]]) + adot = np.array([float.fromhex(x) for x in h["input_rate_hex"]]) + base_u = [sum((lift_fraction(float.fromhex(word[i])) for word in h["cumulative_primitive_words_hex"]), Fraction(0)) + for i in range(m.layout.size)] + base_rate = [lift_fraction(float.fromhex(x)) for x in h["physical_ydot_hex"]] + after_u = [a+Fraction(b) for a, b in zip(base_u, item["ideal_physical_delta_exact"])] + after_rate = [a+Fraction(b) for a, b in zip(base_rate, item["ideal_rate_delta_exact"])] + points = [] + for label, target_u, target_rate in (("saved_before", base_u, base_rate), + ("ideal_single_correction", after_u, after_rate)): + z = lift_encode_target(mapping, target_u, inputs) + zdot = lift_encode_target(mapping, target_rate, adot, rate=True) + point, _, rate, observed, projection = adapter.observe(item["time"], z, zdot, inputs, adot) + points.append(point) + primitive = mapping.physical_primitive(z, inputs) + encoded_u = lift_primitive_fractions(primitive) + encoded_rate = lift_primitive_fractions(rate) + with localcontext() as ctx: + ctx.prec = 100 + convert = lambda q: Decimal(q.numerator)/Decimal(q.denominator) + roots = [v for spec in m.layout.variables for v in word_decimals(m.field(m.reference, spec.id))] + target_x = [a+convert(b) for a, b in zip(roots, target_u)] + reference = decimal_kernel(m, target_x, list(map(dec, inputs)), list(map(convert, target_rate)), 100) + current_errors = [value-ref for value, ref in zip(word_decimals(observed.total_inward), reference["Itotal"])] + conduction_error = sum(word_decimals(observed.conduction_inward))-sum(reference["Icond"]) + projected = m.public_problem().residual(point, rate.high, adot) + qsum = Decimal(0) + for equation, variable, _ in m.rate_fields: + sl = m.graph.row_offsets[equation] + qsum += dec(Q)*(-1 if variable in {"n_m3", "f"} else 1)*sum(word_decimals(projected)[sl]) + expected_q = Decimal(0) + for equation, variable, _ in m.rate_fields: + sl = m.graph.row_offsets[equation] + expected_q += dec(Q)*(-1 if variable in {"n_m3", "f"} else 1)*sum(reference["F"][sl]) + residual_error = qsum-expected_q + errors = [abs(float(conduction_error)), *(abs(float(v)) for v in current_errors), abs(float(residual_error))] + all_checks[f"pointwise_rounding_{item['time']}_{label}"] = max(errors) <= point_budget + records.append({"native_record": item["native_record"], "label": label, + "time_s": item["time"], "new_point_identity": point.identity, + "map_identity": mapping.identity, "raw_z_hex": [float(v).hex() for v in z], + "state_encoding_error_exact": [str(a-b) for a, b in zip(encoded_u, target_u)], + "rate_encoding_error_exact": [str(a-b) for a, b in zip(encoded_rate, target_rate)], + "conduction_sum_error_A": str(conduction_error), + "total_current_errors_A": [str(v) for v in current_errors], + "physical_charge_residual_A": str(qsum), "target_charge_residual_A": str(expected_q), + "charge_residual_error_A": str(residual_error), + "pointwise_budget_A": point_budget, "rate_projection": projection, + "old_history_replaced": False}) + old_z = np.array([float.fromhex(v) for v in h["raw_solver"]["z_hex"]]) + dz = np.array([float.fromhex(v) for v in item["proposed_dz_hex"]]) + lost = (dz != 0) & (old_z+dz == old_z) + sl = m.layout.offsets["phi_V"] + change = points[1].state.field("phi_V").difference(points[0].state.field("phi_V")) + values = word_decimals(change) + recovered = [values[i] != 0 and (values[i] > 0) == (dz[sl][i] > 0) + for i in range(m.count) if lost[sl][i]] + all_checks[f"lost_potential_updates_retained_{item['time']}"] = bool(recovered) and all(recovered) + loss_records.append({"time_s": item["time"], "original_lost_indices": np.flatnonzero(lost[sl]).tolist(), + "mapped_physical_changes": values, "all_recovered": all(recovered)}) + log_case(request, {"family": "voltage_lift_saved37_control", "source_case": m.definition.id, + "source_identity": m.source_identity, "pointwise_budget_A": point_budget, + "budget_scope": "Bcharge/(3*T) saved-point diagnostic only; no extra native allocation", + "saved_targets": records, "lost_update_checks": loss_records, + "native_steps": 0, "new_sparse_corrections": 0, "full_protocol_completed": False}, all_checks) + + +@pytest.mark.parametrize("case_id", CASES) +def test_voltage_lift_full_protocol_wrms_certificate(case_id, request): + from scripts.benchmarks.coupled_device_prototype import voltage_lift_wrms_policy + + m, mapping, _, _, _ = lift_fixture(case_id) + previous_paths = json.loads(Path(os.environ["LIFT_PREVIOUS_REQUESTS"]).read_text()) + previous = json.loads(Path(previous_paths[case_id]).read_text()) + assert np.array_equal(previous["numeric_packet"]["column_scaling"], m.S) + segments = protocol_from_plan(PLAN, case_id) + proof = voltage_lift_wrms_policy(mapping, previous["controls"], segments) + r, old_r = lift_fraction(proof["rtol"]), lift_fraction(previous["controls"]["rtol"]) + checks = {"all_analytic_triangle_margins": all(all(row["checks"].values()) for row in proof["components"]), + "all_complete_protocol_segments": len(proof["full_protocol_input_bounds"]) == len(segments), + "no_native_award": not proof["native_admission"] and not proof["global_accuracy_or_conservation_certified"]} + comparisons = 0 + for component in proof["components"]: + i = component["index"] + a, old_a = Fraction(component["new_physical_atol_exact"]), Fraction(component["old_physical_atol_exact"]) + for record in proof["full_protocol_input_bounds"]: + for first in record["input_bounds"][0]: + for second in record["input_bounds"][1]: + offset = sum((lift_fraction(mapping.lift[i, j])*(lift_fraction(v)-lift_fraction(mapping.reference_inputs[j])) + for j, v in enumerate((first, second))), Fraction(0)) + assert abs(offset) <= Fraction(component["offset_upper_exact"]) + # Explicitly include cancellation, negative coordinates, + # zero and large values; the analytic margin proves the + # full range rather than just these witnesses. + for y in (Fraction(0), offset, -offset, old_a/old_r, -old_a/old_r, + 10**12*old_a/old_r, -10**12*old_a/old_r): + assert a+r*abs(y-offset) <= old_a+old_r*abs(y) + comparisons += 1 + log_case(request, {"family": "voltage_lift_full_range_wrms", "case": case_id, + "certificate": proof, "independent_fraction_comparisons": comparisons, + "complete_protocol_s": segments[-1].end, "future_controls_are_not_admitted": True}, checks) + + +def lift_controller_fixture(case_id): + """Prospective controller inputs; no native request or run admission.""" + from scripts.benchmarks.coupled_device_prototype import AffineSamplingContext, voltage_lift_wrms_policy + + m, mapping, adapter, z, _ = lift_fixture(case_id) + segments = protocol_from_plan(PLAN, case_id) + previous_paths = json.loads(Path(os.environ["LIFT_PREVIOUS_REQUESTS"]).read_text()) + previous = json.loads(Path(previous_paths[case_id]).read_text()) + proof = voltage_lift_wrms_policy(mapping, previous["controls"], segments) + controls = dict(previous["controls"]) + controls.update(rtol=proof["rtol"], atol=proof["atol"]) + declaration = {"case_id": case_id, "segments": [asdict(s) for s in segments], + "controls": controls, "budgets": previous["budgets"], + "voltage_lift_map": mapping.payload(), "weight_certificate": proof, + "test_only": True, "native_execution_authorized": False} + return m, mapping, adapter, z, AffineSamplingContext(m, declaration) + + +@pytest.mark.parametrize("case_id", CASES) +def test_voltage_lift_segment_callback_wiring(case_id, request): + """Draft regression: exact binding signature, inputs/rates and CSC order.""" + from scipy.sparse import csc_matrix + from scripts.benchmarks.coupled_device_prototype import ( + AffineSamplingContext, VoltageLiftSegmentAdapter, + ) + + m, mapping, adapter, z, context = lift_controller_fixture(case_id) + zdot = .17+np.sin(np.arange(m.layout.size)) + zero_inputs = np.zeros(2) + direction = affine_directions(m)[-1][2]/m.S + errors = [] + for segment in context.segments: + binding = VoltageLiftSegmentAdapter(adapter, context, segment) + time = segment.start+(segment.end-segment.start)/2 + inputs, input_rate = segment.inputs(time) + output = np.empty(m.layout.size) + binding.residual(time, z, zdot, output) + reference = lift_decimal_reference(mapping, z, zdot, inputs, input_rate, 100) + value = compare(output/m.Drow, reference["F"], m.Drow, + GATES["value_scaled_atol"], GATES["value_scaled_rtol"]) + checks = [] + for cj in GATES["cj_s_inv"]: + slots = np.empty(m.graph.nnz) + binding.jacobian(time, z, zdot, output, cj, slots) + matrix = csc_matrix((slots, m.graph.indices, m.graph.indptr), shape=m.graph.shape) + ref = lift_reference_jvp(mapping, z, zdot, inputs, input_rate, + direction, cj*direction, zero_inputs, zero_inputs, 100) + comparison = compare((matrix @ direction)/m.Drow, ref, m.Drow, + GATES["jacobian_scaled_atol"], GATES["jacobian_scaled_rtol"]) + checks.append({"cj": cj, "comparison": comparison}) + with pytest.raises(ContractError, match="voltage_lift_residual_buffer_shape"): + binding.residual(time, z, zdot, np.empty(m.layout.size-1)) + with pytest.raises(ContractError, match="voltage_lift_jacobian_buffer_shape"): + binding.jacobian(time, z, zdot, output, GATES["cj_s_inv"][0], np.empty(m.graph.nnz-1)) + errors.append({"segment": segment.id, "residual": value, "jacobian": checks, + "input_rates_hex": [float(v).hex() for v in input_rate]}) + foreign = context.request_copy() + foreign["voltage_lift_map"]["reference_inputs_hex"][0] = (1.0).hex() + with pytest.raises(ContractError, match="voltage_lift_request_map_mismatch"): + VoltageLiftSegmentAdapter(adapter, AffineSamplingContext(m, foreign), context.segments[0]) + log_case(request, {"family": "voltage_lift_segment_wiring", "case": case_id, + "comparisons": errors, "native_steps": 0, + "full_protocol_definition_s": context.segments[-1].end}, + {"all_frozen_segments_and_cj": all(row["residual"]["passed"] and all( + item["comparison"]["passed"] for item in row["jacobian"]) for row in errors), + "binding_and_buffer_guards": True, "no_native_import": "sksundae" not in sys.modules}) + + +@pytest.mark.parametrize("case_id", CASES) +def test_voltage_lift_initial_and_event_rate_encoding(case_id, request): + """Draft regression: rate encoding must not re-encode physical states.""" + from scripts.benchmarks.coupled_device_prototype import ( + VoltageLiftSegmentAdapter, voltage_lift_initial_input, + ) + + m, mapping, adapter, z, context = lift_controller_fixture(case_id) + records = [] + for i, segment in enumerate(context.segments): + raw = np.zeros(m.layout.size) if i == 0 else z + if i == 0: + previous = m.reference + else: + # A supplied synthetic left endpoint, not an integrated state. + left_inputs, _ = context.segments[i-1].inputs(segment.start) + previous, _ = mapping.trial(raw, segment.start, left_inputs) + binding = VoltageLiftSegmentAdapter(adapter, context, segment) + point, increment, zdot, record = voltage_lift_initial_input(binding, raw, previous) + _, input_rate = segment.inputs(segment.start) + desired = m.tangent_rate(point, input_rate) + with localcontext() as ctx: + ctx.prec = 100 + expected = [float((dec(value)-sum((dec(mapping.lift[j, k])*dec(input_rate[k]) + for k in range(2)), Decimal(0)))/dec(mapping.columns[j])) + for j, value in enumerate(desired)] + assert np.array_equal(zdot, expected) + assert record["raw_z_hex"] == [float(v).hex() for v in raw] + assert record["desired_physical_tangent_hex"] == [float(v).hex() for v in desired] + assert all(np.all(increment.field(v.id).high == 0) and np.all(increment.field(v.id).low == 0) + for v in m.layout.variables) + assert not record["state_changed"] and not record["native_initialization_performed"] + assert not record["consistency_or_physical_acceptance_certified"] + mapped = mapping.physical_rate(zdot, input_rate) + exact_rate = lift_exact_map(mapping, zdot, input_rate, rate=True) + assert lift_primitive_fractions(mapped) == exact_rate + assert [Fraction(v) for v in record["mapped_minus_desired_rate_exact"]] == [ + a-lift_fraction(b) for a, b in zip(exact_rate, desired, strict=True)] + if input_rate[0] != 0: + assert np.any(zdot[m.layout.offsets["phi_V"]] != (desired/m.S)[m.layout.offsets["phi_V"]]) + changed = raw.copy() + changed[0] += 2.0**-40 + with pytest.raises(ContractError, match="voltage_lift_restart_changed_physical_state"): + voltage_lift_initial_input(binding, changed, previous) + records.append(record) + log_case(request, {"family": "voltage_lift_initial_event_encoding", "case": case_id, + "synthetic_start_records": records, "native_steps": 0}, + {"Decimal100_coordinate_encoding": True, "all_initial_and_event_sides": len(records) == 3, + "exact_mapped_rate_errors_retained": True, "zero_physical_state_changes": True}) + + +@pytest.mark.parametrize("case_id", CASES) +def test_voltage_lift_snapshot_history_wiring(case_id, request): + """Draft regression: native-shaped fixtures remain labelled synthetic.""" + from scripts.benchmarks.coupled_device_prototype import ( + VoltageLiftHistory, VoltageLiftSegmentAdapter, voltage_lift_native_sample, + ) + + m, mapping, adapter, z, context = lift_controller_fixture(case_id) + segment = context.segments[1] + binding = VoltageLiftSegmentAdapter(adapter, context, segment) + history = VoltageLiftHistory(mapping) + inputs, _ = segment.inputs(segment.start) + previous, _ = mapping.trial(z, segment.start, inputs) + zdot = .17+np.sin(np.arange(m.layout.size)) + records = [] + for origin in ("segment_initial", "native", "interpolant", "stop_output", "endpoint_restore"): + when = (segment.start if origin == "segment_initial" else segment.end if + origin in {"stop_output", "endpoint_restore"} else segment.start+(segment.end-segment.start)/2) + supplied = {"success": True, "status": 1 if origin == "stop_output" else 0, + "message": "synthetic nonnative fixture", "time": when, "z": z, "zdot": zdot} + point, increment, raw, tangent, record = voltage_lift_native_sample( + binding, history, supplied, previous, origin=origin) + rebuilt, delta, rate, input_rate = history.restore(history.reference_record, record["history"], previous) + assert rebuilt.identity == point.identity == raw.point.identity == tangent.point.identity + assert delta.left_identity == increment.left_identity == previous.identity + assert raw.origin == origin and tangent.origin == "physical_tangent" + assert record["raw"]["physical_ydot_hex"] == [float(v).hex() for v in rate.high] + assert record["raw"]["physical_rate"]["values_words_hex"] == [ + [float(v).hex() for v in word] for word in rate.words] + assert record["raw"]["physical_rate"]["observed_origin"] == origin + assert record["rate_projection_role"] == "counterfactual_first_word_only" + assert record["history"]["raw_solver_zdot_hex"] == [float(v).hex() for v in zdot] + assert np.array_equal(input_rate, segment.inputs(when)[1]) + assert not np.array_equal(rate.high, m.S*zdot) + expected_side = "right" if origin == "segment_initial" else "left" if when == segment.end else "continuous" + assert raw.event_side == expected_side == record["history"]["event_side"] + assert not record["interval_or_prefix_charge_certified"] + assert record["rate_projection"] == record["history"]["physical_rate_projection"] + records.append(record) + with pytest.raises(ContractError, match="native_snapshot_unsuccessful"): + voltage_lift_native_sample(binding, history, dict(supplied, success=False), previous, origin="native") + with pytest.raises(ContractError, match="native_history_origin"): + voltage_lift_native_sample(binding, history, supplied, previous, origin="physical_tangent") + with pytest.raises(ContractError, match="native_history_predecessor_interval"): + voltage_lift_native_sample(binding, history, dict(supplied, time=previous.time), previous, origin="native") + log_case(request, {"family": "voltage_lift_snapshot_wiring", "case": case_id, + "synthetic_records": records, "native_steps": 0, "new_sparse_corrections": 0}, + {"reconstructed_all_supplied_origins": len(records) == 5, + "mapped_rate_words_and_projection_audit": True, + "same_physical_point_for_raw_and_tangent": True, + "original_state_and_protocol_retained": True, "no_interval_acceptance_inferred": True}) + + +@pytest.mark.parametrize("case_id", CASES) +def test_voltage_lift_charge_integrand_projection(case_id, request): + from scripts.benchmarks.coupled_device_prototype import voltage_lift_charge_rate_projection + + m, mapping, adapter, z, context = lift_controller_fixture(case_id) + segment = context.segments[1] + time = segment.start+(segment.end-segment.start)/2 + inputs, input_rate = segment.inputs(time) + zdot = .17+np.sin(np.arange(m.layout.size)) + _, _, rate, _, audit = adapter.observe(time, z, zdot, inputs, input_rate) + actual = voltage_lift_charge_rate_projection(m, audit) + references = [] + for precision in (80, 100): + full = lift_decimal_reference(mapping, z, zdot, inputs, input_rate, precision) + projected = decimal_kernel(m, affine_exact_input(m, mapping.physical_primitive(z, inputs)), + list(map(dec, inputs)), list(map(dec, rate.high)), precision) + with localcontext() as ctx: + ctx.prec = precision + con = [a-b for a, b in zip(projected["Icond"], full["Icond"], strict=True)] + metal = [(a-c)-(b-d) for a, c, b, d in zip(projected["Itotal"], projected["Icond"], + full["Itotal"], full["Icond"], strict=True)] + references.append([sum(con), *metal]) + # This linear rational contraction should round identically to both + # independent Decimal references; a tolerance cannot hide an erased term. + assert [float(v) for v in references[0]] == [float(v) for v in references[1]] + assert [float(v) for v in actual] == [float(v) for v in references[1]] + assert any(v != 0 for v in actual) + with pytest.raises(ContractError, match="voltage_lift_projection_shape"): + voltage_lift_charge_rate_projection(m, dict(audit, component_error_exact=[])) + log_case(request, {"family": "voltage_lift_charge_projection", "case": case_id, + "exact_integrand_errors_A": [str(v) for v in actual], + "independent_Decimal80_100": references, "native_steps": 0}, + {"three_correct_charge_integrands": True, "no_nonzero_error_erased": True, + "body_integrand_is_reservoir_sum": True, "metal_integrand_is_total_minus_conduction": True}) + + +@pytest.mark.parametrize("case_id", CASES) +@pytest.mark.parametrize("boundary", ("interval_total", "prefix_total", "interval_reference_share", "prefix_reference_share")) +def test_voltage_lift_projection_budget_boundaries(case_id, boundary, request): + from scripts.benchmarks.coupled_device_prototype import voltage_lift_charge_accounting + from scripts.benchmarks.precision_prototype import DD + + m, _, _, _, context = lift_controller_fixture(case_id) + budget = context.budgets["charge_C"] + B, R = lift_fraction(budget), lift_fraction(budget/3) + quantum = lift_fraction(np.spacing(budget))/4 + outputs = [] + for sign in (-1, 0, 1): + change = sign*quantum + previous_defect = Fraction(0) + previous_projection = Fraction(0) + if boundary == "interval_total": + defect, projection = 3*B/4, B/4+change + elif boundary == "prefix_total": + defect, previous_defect, projection, previous_projection = B/4, B/2, B/8, B/8+change + elif boundary == "interval_reference_share": + defect, projection = Fraction(0), R+change + else: + defect, projection, previous_projection = Fraction(0), R/2, R/2+change + high = float(defect) + delta = DD(np.full(3, high), np.full(3, float(defect-lift_fraction(high)))) + estimates = [DD(np.zeros(3)) for _ in range(3)] + projection_sums = [tuple([projection]*3) for _ in range(3)] + old_p = np.full(3, float(previous_projection)) + assert lift_fraction(old_p[0]) == previous_projection + result = voltage_lift_charge_accounting( + m, delta, estimates, projection_sums, + np.full(3, float(previous_defect)), np.zeros(3), old_p, budget) + expected = sign <= 0 + assert result["checks"][boundary] is expected + assert result["passed"] is expected + target = B if "total" in boundary else R + field = {"interval_total": "exact_interval_total_C", "prefix_total": "exact_prefix_total_C", + "interval_reference_share": "exact_combined_reference_interval_C", + "prefix_reference_share": "exact_combined_reference_prefix_C"}[boundary] + assert all(Fraction(v) == target+change for v in result[field]) + assert not result["physical_allocations_changed"] + assert not result["projection_integral_continuum_certified"] + outputs.append({"boundary_sign": sign, "result": result}) + with pytest.raises(ContractError, match="invalid_voltage_lift_projection_integral"): + voltage_lift_charge_accounting(m, DD(np.zeros(3)), estimates, + [tuple([-B]*3)]*3, np.zeros(3), np.zeros(3), np.zeros(3), budget) + log_case(request, {"family": "voltage_lift_projection_budget", "case": case_id, + "boundary": boundary, "quarter_ULP_exact": str(quantum), "outputs": outputs, + "native_steps": 0}, + {"exact_below_equal_above_decisions": True, "original_allocation_preserved": True, + "nonnegative_prefix_debit": True, "no_projection_reference_certification_inferred": True}) + + +@pytest.mark.parametrize("case_id", CASES) +def test_voltage_lift_complete_native_request(case_id, request): + from copy import deepcopy + from scripts.benchmarks.coupled_device_prototype import ( + prepare_voltage_lift_native_request, validate_voltage_lift_native_request, + run_voltage_lift_native_pilot, + ) + + m, mapping, _, _, context = lift_controller_fixture(case_id) + paths = json.loads(Path(os.environ["LIFT_PREVIOUS_REQUESTS"]).read_text()) + previous = json.loads(Path(paths[case_id]).read_text()) + proposal = prepare_voltage_lift_native_request(mapping, context.segments, previous) + validate_voltage_lift_native_request(mapping, context.segments, proposal) + assert proposal["segments"] == previous["segments"] + assert proposal["budgets"] == previous["budgets"] + assert proposal["observation_times"] == previous["observation_times"] + assert proposal["quadrature"] == previous["quadrature"] + assert proposal["previous_controls"] == previous["controls"] + assert "nonlinear_control_refinement" not in proposal + assert "startup_step_policy" not in proposal + assert all(proposal["mandatory"].get(k) == v for k, v in previous["mandatory"].items()) + assert np.all(np.asarray(proposal["z0"]) == 0) + assert not proposal["initial_preparation"]["native_initialization_performed"] + assert not proposal["full_word_consumer_qualification"]["native_policy_admitted"] + assert proposal["preparation_context_sha256"] == proposal["initial_preparation"]["request_sha256"] + assert proposal["preparation_context_sha256"] != digest(proposal) + changed = deepcopy(proposal) + changed["controls"]["rtol"] *= 2 + with pytest.raises(ContractError, match="voltage_lift_native_controls_changed"): + validate_voltage_lift_native_request(mapping, context.segments, changed) + changed = deepcopy(proposal) + changed["budgets"]["charge_C"] *= 2 + with pytest.raises(ContractError, match="voltage_lift_native_gates_changed"): + validate_voltage_lift_native_request(mapping, context.segments, changed) + changed = deepcopy(proposal) + changed["full_word_consumer_qualification"]["native_policy_admitted"] = True + with pytest.raises(ContractError, match="voltage_lift_full_word_qualification_not_reviewed"): + validate_voltage_lift_native_request(mapping, context.segments, changed) + with pytest.raises(ContractError, match="voltage_lift_native_pilot_not_admitted"): + run_voltage_lift_native_pilot(mapping, context.segments, proposal, {}, lambda _: pytest.fail("unadmitted output")) + if folder := os.environ.get("VOLTAGE_LIFT_REQUEST_DIR"): + path = Path(folder)/(case_id+".json") + with path.open("x") as f: + json.dump(proposal, f, indent=2, allow_nan=False) + f.write("\n") + log_case(request, {"family": "voltage_lift_complete_request", "case": case_id, + "request_sha256": digest(proposal), "map_identity": mapping.identity, + "complete_protocol_s": context.segments[-1].end, + "observation_counts": {k: len(v) for k, v in proposal["observation_times"].items()}, + "controls": proposal["controls"], "budgets": proposal["budgets"], + "initial_preparation": proposal["initial_preparation"], + "native_steps": 0, "native_controller_executed": False}, + {"full_original_protocol_and_points": True, "all_physical_gates_unchanged": True, + "explicit_preparation_identity": True, "native_admission_guard_precedes_import": "sksundae" not in sys.modules}) + + +def test_voltage_lift_explicit_nonlinear_control_refinement(request): + from copy import deepcopy + from scripts.benchmarks.coupled_device_prototype import ( + prepare_voltage_lift_native_request, validate_voltage_lift_native_request, + ) + + case_id = "DynamicAcceptorIonPublicDeviceV1" + _, mapping, _, _, context = lift_controller_fixture(case_id) + paths = json.loads(Path(os.environ["LIFT_PREVIOUS_REQUESTS"]).read_text()) + previous = json.loads(Path(paths[case_id]).read_text()) + original = deepcopy(previous) + assert previous["controls"]["nonlin_conv_coef"] == 1e-6 + baseline = prepare_voltage_lift_native_request(mapping, context.segments, previous) + refined = prepare_voltage_lift_native_request( + mapping, context.segments, previous, nonlin_conv_coef=1e-8) + validate_voltage_lift_native_request(mapping, context.segments, refined) + assert previous == original + assert refined["previous_controls"] == previous["controls"] + assert refined["controls"] == dict(baseline["controls"], nonlin_conv_coef=1e-8) + for key in ("segments", "observation_times", "quadrature", "budgets", "original_budgets", + "mandatory", "physical_domain_policy", "observation_policy", "weight_certificate", + "numeric_packet", "voltage_lift_map", "z0", "zdot0"): + assert refined[key] == baseline[key], key + provenance = refined["nonlinear_control_refinement"] + assert provenance["ancestor_request_sha256"] == digest(previous) + assert provenance["previous_controls_sha256"] == digest(previous["controls"]) + assert provenance["previous_value"] == 1e-6 and provenance["value"] == 1e-8 + assert digest(refined) != digest(baseline) + assert refined["preparation_context_sha256"] != baseline["preparation_context_sha256"] + assert refined["initial_preparation"]["request_sha256"] == refined["preparation_context_sha256"] + + changed = deepcopy(baseline) + changed["controls"]["nonlin_conv_coef"] = 1e-8 + with pytest.raises(ContractError, match="voltage_lift_native_controls_changed"): + validate_voltage_lift_native_request(mapping, context.segments, changed) + for field, value in (("field", "rtol"), ("previous_value", 1e-5), + ("previous_controls_sha256", "0"*64), ("ancestor_request_sha256", "0"*64)): + changed = deepcopy(refined) + changed["nonlinear_control_refinement"][field] = value + with pytest.raises(ContractError, match="voltage_lift_nonlinear_refinement_binding"): + validate_voltage_lift_native_request(mapping, context.segments, changed) + changed = deepcopy(refined) + changed["controls"]["rtol"] *= 2 + with pytest.raises(ContractError, match="voltage_lift_native_controls_changed"): + validate_voltage_lift_native_request(mapping, context.segments, changed) + for value in (True, False, "1e-8", 0., -1., 1e-6, 1e-5, float("nan"), float("inf")): + with pytest.raises(ContractError, match="voltage_lift_invalid_nonlinear_refinement"): + prepare_voltage_lift_native_request(mapping, context.segments, previous, nonlin_conv_coef=value) + unknown = deepcopy(previous) + unknown["controls"]["nonlin_conv_coef"] = None + with pytest.raises(ContractError, match="voltage_lift_invalid_nonlinear_refinement"): + prepare_voltage_lift_native_request(mapping, context.segments, unknown, nonlin_conv_coef=1e-8) + log_case(request, {"family": "explicit_native_nonlinear_control", "case": case_id, + "baseline_sha256": digest(baseline), "refined_sha256": digest(refined), + "refinement": provenance, "native_steps": 0}, + {"one_active_control_changed": True, "ancestor_controls_unchanged": True, + "weight_physics_samples_and_allocations_unchanged": True, + "unrecorded_or_invalid_changes_rejected": True}) + + +def test_voltage_lift_nonlinear_guard_provenance_and_physical_projection(request): + from copy import deepcopy + from scripts.benchmarks.coupled_device_prototype import ( + prepare_voltage_lift_native_request, validate_voltage_lift_native_request, + ) + + case_id = "DynamicAcceptorIonPublicDeviceV1" + _, mapping, _, _, context = lift_controller_fixture(case_id) + paths = json.loads(Path(os.environ["LIFT_PREVIOUS_REQUESTS"]).read_text()) + previous = json.loads(Path(paths[case_id]).read_text()) + original = deepcopy(previous) + baseline = prepare_voltage_lift_native_request( + mapping, context.segments, previous, nonlin_conv_coef=1e-8) + guarded = prepare_voltage_lift_native_request( + mapping, context.segments, previous, nonlin_conv_coef=1e-8, + nonlin_guard="first-correction-wrms-v1") + validate_voltage_lift_native_request(mapping, context.segments, guarded) + assert previous == original and guarded["previous_controls"] == original["controls"] + assert guarded["controls"] == dict(baseline["controls"], + nonlin_guard="first-correction-wrms-v1", nonlin_trace_capacity=4096) + assert guarded["nonlinear_control_refinement"] == baseline["nonlinear_control_refinement"] + for key in ("segments", "observation_times", "quadrature", "budgets", "original_budgets", + "mandatory", "physical_domain_policy", "observation_policy", "weight_certificate", + "numeric_packet", "voltage_lift_map", "z0", "zdot0"): + assert guarded[key] == baseline[key], key + proof = guarded["nonlinear_guard_policy"] + assert proof["ancestor_request_sha256"] == digest(previous) + assert proof["previous_controls_sha256"] == digest(previous["controls"]) + assert digest(guarded) != digest(baseline) + assert guarded["preparation_context_sha256"] != baseline["preparation_context_sha256"] + for field, value in (("ancestor_request_sha256", "0"*64), + ("previous_controls_sha256", "0"*64), ("trace_capacity", 1024)): + changed = deepcopy(guarded) + changed["nonlinear_guard_policy"][field] = value + with pytest.raises(ContractError, match="nonlinear_guard_binding|native_controls_changed"): + validate_voltage_lift_native_request(mapping, context.segments, changed) + changed = deepcopy(guarded) + del changed["nonlinear_guard_policy"] + with pytest.raises(ContractError, match="native_controls_changed"): + validate_voltage_lift_native_request(mapping, context.segments, changed) + for policy, capacity in (("two-iterations", 4096), (True, 4096), + ("first-correction-wrms-v1", 0), + ("first-correction-wrms-v1", 4097), + ("first-correction-wrms-v1", True)): + with pytest.raises(ContractError, match="invalid_nonlinear_guard"): + prepare_voltage_lift_native_request(mapping, context.segments, previous, + nonlin_conv_coef=1e-8, nonlin_guard=policy, nonlin_trace_capacity=capacity) + log_case(request, {"family": "native_nonlinear_guard", "case": case_id, + "request_sha256": digest(guarded), "policy": proof, "native_steps": 0}, + {"original_controls_and_physical_projection_retained": True, + "explicit_policy_identity": True, "unbound_changes_rejected": True}) + + +def test_voltage_lift_startup_step_default_and_physical_projection(request): + from copy import deepcopy + from scripts.benchmarks.coupled_device_prototype import ( + prepare_voltage_lift_native_request, validate_voltage_lift_native_request, + ) + + case_id = "DynamicAcceptorIonPublicDeviceV1" + _, mapping, _, _, context = lift_controller_fixture(case_id) + paths = json.loads(Path(os.environ["LIFT_PREVIOUS_REQUESTS"]).read_text()) + previous = json.loads(Path(paths[case_id]).read_text()) + original = deepcopy(previous) + options = {"nonlin_conv_coef": 1e-8, "nonlin_guard": "first-correction-wrms-v1"} + baseline = prepare_voltage_lift_native_request(mapping, context.segments, previous, **options) + default = prepare_voltage_lift_native_request( + mapping, context.segments, previous, **options, first_step=None) + selected = prepare_voltage_lift_native_request( + mapping, context.segments, previous, **options, first_step=7.8125e-7) + validate_voltage_lift_native_request(mapping, context.segments, baseline) + validate_voltage_lift_native_request(mapping, context.segments, selected) + assert default == baseline and "startup_step_policy" not in baseline + assert previous == original and selected["previous_controls"] == original["controls"] + assert selected["controls"] == dict(baseline["controls"], first_step=7.8125e-7) + changed = {key for key in selected if selected[key] != baseline.get(key)} + assert changed == {"controls", "startup_step_policy", "preparation_context_sha256", "initial_preparation"} + for key in ("point_identity", "raw_z_hex", "raw_zdot_hex", "inputs_hex", "input_rates_hex", + "desired_physical_tangent_hex", "mapped_physical_rate_words_hex", + "desired_tangent_residual_SI", "represented_rate_residual_SI"): + assert selected["initial_preparation"][key] == baseline["initial_preparation"][key], key + proof = selected["startup_step_policy"] + assert proof["ancestor_request_sha256"] == digest(previous) + assert proof["previous_controls_sha256"] == digest(previous["controls"]) + assert proof["previous_value"] == 0.0 and proof["value"] == 7.8125e-7 + assert proof["application"] == "every_protocol_initialization" + assert digest(selected) != digest(baseline) + assert selected["initial_preparation"]["request_sha256"] == selected["preparation_context_sha256"] + log_case(request, {"family": "startup_step_request", "case": case_id, + "baseline_sha256": digest(baseline), "selected_sha256": digest(selected), + "policy": proof, "changed_top_level_fields": sorted(changed), "native_steps": 0}, + {"default_request_exact": True, "one_active_control_changed": True, + "all_other_request_fields_and_initial_words_unchanged": True, + "original_parent_retained": True, "no_native_import": "sksundae" not in sys.modules}) + + +def test_voltage_lift_startup_step_rejects_unbound_or_invalid_policy(request): + from copy import deepcopy + from scripts.benchmarks.coupled_device_prototype import ( + prepare_voltage_lift_native_request, validate_voltage_lift_native_request, + ) + + case_id = "DynamicAcceptorIonPublicDeviceV1" + _, mapping, _, _, context = lift_controller_fixture(case_id) + paths = json.loads(Path(os.environ["LIFT_PREVIOUS_REQUESTS"]).read_text()) + previous = json.loads(Path(paths[case_id]).read_text()) + options = {"nonlin_conv_coef": 1e-8, "nonlin_guard": "first-correction-wrms-v1"} + selected = prepare_voltage_lift_native_request( + mapping, context.segments, previous, **options, first_step=7.8125e-7) + for field, value in (("schema", "unbound"), ("field", "max_step"), + ("previous_value", 1e-4), ("value", 1.5625e-6), + ("application", "ramp_only"), ("ancestor_request_sha256", "0"*64), + ("previous_controls_sha256", "0"*64), ("extra", True)): + changed = deepcopy(selected) + changed["startup_step_policy"][field] = value + with pytest.raises(ContractError, match="startup_step_binding|native_controls_changed"): + validate_voltage_lift_native_request(mapping, context.segments, changed) + for policy in (None, True, [], "first_step", {}): + changed = deepcopy(selected) + changed["startup_step_policy"] = policy + with pytest.raises(ContractError, match="invalid_startup_step"): + validate_voltage_lift_native_request(mapping, context.segments, changed) + changed = deepcopy(selected) + del changed["startup_step_policy"] + with pytest.raises(ContractError, match="native_controls_changed"): + validate_voltage_lift_native_request(mapping, context.segments, changed) + for field, value in (("first_step", 1.5625e-6), ("max_step", 0.2), + ("rtol", selected["controls"]["rtol"]*2), ("nonlin_conv_coef", 1e-7)): + changed = deepcopy(selected) + changed["controls"][field] = value + with pytest.raises(ContractError, match="native_controls_changed"): + validate_voltage_lift_native_request(mapping, context.segments, changed) + changed = deepcopy(selected) + changed["controls"]["atol"][0] *= 2 + with pytest.raises(ContractError, match="native_controls_changed"): + validate_voltage_lift_native_request(mapping, context.segments, changed) + for value in (True, False, "7.8125e-7", 0.0, -1.0, 0.2, float("nan"), float("inf")): + with pytest.raises(ContractError, match="invalid_startup_step"): + prepare_voltage_lift_native_request( + mapping, context.segments, previous, **options, first_step=value) + log_case(request, {"family": "startup_step_rejection", "case": case_id, "native_steps": 0}, + {"malformed_and_forged_policy_rejected": True, "bare_override_rejected": True, + "unrelated_controls_rejected": True, "invalid_initial_steps_rejected": True}) + + +def time_weight_requests(): + from scripts.benchmarks.coupled_device_prototype import prepare_voltage_lift_native_request + + case_id = "DynamicAcceptorIonPublicDeviceV1" + _, mapping, _, _, context = lift_controller_fixture(case_id) + paths = json.loads(Path(os.environ["LIFT_PREVIOUS_REQUESTS"]).read_text()) + previous = json.loads(Path(paths[case_id]).read_text()) + options = {"nonlin_conv_coef": 1e-8, "nonlin_guard": "first-correction-wrms-v1", + "first_step": 7.8125e-7} + parent = prepare_voltage_lift_native_request(mapping, context.segments, previous, **options) + refined = prepare_voltage_lift_native_request( + mapping, context.segments, previous, **options, time_weight_kappa=1024) + return mapping, context.segments, previous, options, parent, refined + + +def test_voltage_lift_time_weights_default_and_physical_projection(request): + from scripts.benchmarks.coupled_device_prototype import ( + prepare_voltage_lift_native_request, validate_voltage_lift_native_request, + ) + + mapping, segments, previous, options, parent, refined = time_weight_requests() + default = prepare_voltage_lift_native_request( + mapping, segments, previous, **options, time_weight_kappa=None) + assert default == parent and "time_weight_policy" not in parent + validate_voltage_lift_native_request(mapping, segments, refined) + changed = {key for key in refined if refined[key] != parent.get(key)} + assert changed == {"controls", "weight_certificate", "time_weight_policy", + "preparation_context_sha256", "initial_preparation"} + assert {key for key in refined["controls"] if refined["controls"][key] != parent["controls"][key]} == { + "rtol", "atol", "nonlin_conv_coef"} + assert refined["controls"]["rtol"] == 2.4687289318589945e-15 + assert refined["controls"]["nonlin_conv_coef"] == 1.024e-5 + assert len(refined["controls"]["atol"]) == 45 + assert min(refined["controls"]["atol"]) == 3.0517578125e-13 + assert max(refined["controls"]["atol"]) == 6.103515625e-13 + assert segments[-1].end == 9.2 and sum(map(len, refined["observation_times"].values())) == 131 + for key in ("point_identity", "raw_z_hex", "raw_zdot_hex", "inputs_hex", "input_rates_hex", + "desired_physical_tangent_hex", "mapped_physical_rate_words_hex", + "desired_tangent_residual_SI", "represented_rate_residual_SI"): + assert refined["initial_preparation"][key] == parent["initial_preparation"][key], key + policy, proof = refined["time_weight_policy"], refined["weight_certificate"] + assert policy["ancestor_request_sha256"] == digest(previous) + assert policy["parent_controls_sha256"] == digest(parent["controls"]) + assert policy["parent_weight_certificate_sha256"] == digest(parent["weight_certificate"]) + assert proof["time_weight_policy_sha256"] == digest(policy) + assert proof["rtol"] == refined["controls"]["rtol"] == float.fromhex(proof["rtol_hex"]) + assert proof["atol"] == refined["controls"]["atol"] + for row, atol in zip(proof["components"], proof["atol"], strict=True): + assert float.fromhex(row["atol_z_hex"]) == atol + assert Fraction(row["new_physical_atol_exact"]) == Fraction(row["scale_exact"])*lift_fraction(atol) + assert all(row["checks"].values()) + assert digest(parent) != digest(refined) + assert refined["initial_preparation"]["request_sha256"] == refined["preparation_context_sha256"] + log_case(request, {"family": "time_weights_request", "policy": policy, + "parent_sha256": digest(parent), "request_sha256": digest(refined), + "changed_fields": sorted(changed), "native_steps": 0}, + {"default_exact": True, "full_B_physics_and_history_unchanged": True, + "actual_applied_certificate": True, "no_native_import": "sksundae" not in sys.modules}) + + +def test_voltage_lift_time_weights_exact_norm_comparisons(request): + """Independent Fraction algebra, including m0 and later ss comparisons.""" + _, _, _, _, parent, refined = time_weight_requests() + old, new = parent["controls"], refined["controls"] + assert lift_fraction(new["rtol"])*1024 == lift_fraction(old["rtol"]) + assert lift_fraction(new["nonlin_conv_coef"]) == 1024*lift_fraction(old["nonlin_conv_coef"]) + for a, b in zip(old["atol"], new["atol"], strict=True): + assert lift_fraction(b)*1024 == lift_fraction(a) + assert np.finfo(float).tiny <= b and np.isfinite(b) + # Cover zero and signed remainders over disparate scales. Compare squared + # exact norms to avoid introducing a rounded square root as a reference. + norms = [] + for exponent in (-40, 0, 40): + z = [Fraction((-1)**i*i, 17)*Fraction(2)**exponent for i in range(45)] + correction = [Fraction(i-22, 1 << 60) for i in range(45)] + values = [] + for controls in (old, new): + denominator = [lift_fraction(controls["rtol"])*abs(v)+lift_fraction(a) + for v, a in zip(z, controls["atol"], strict=True)] + values.append(sum(((c/d)**2 for c, d in zip(correction, denominator, strict=True)), Fraction())/45) + assert values[1] == 1024**2*values[0] + for threshold_factor in (Fraction(1), Fraction(1, 10000**2)): + a = lift_fraction(old["nonlin_conv_coef"])*threshold_factor + b = lift_fraction(new["nonlin_conv_coef"])*threshold_factor + assert values[0]/a**2 == values[1]/b**2 + for ss in (Fraction(1, 20), Fraction(1), Fraction(20)): + assert ss**2*values[0]/lift_fraction(old["nonlin_conv_coef"])**2 == ( + ss**2*values[1]/lift_fraction(new["nonlin_conv_coef"])**2) + norms.append(values) + for before, after in zip(norms[:-1], norms[1:], strict=True): + assert before[0]/after[0] == before[1]/after[1] + policy = refined["time_weight_policy"] + assert not policy["rounded_native_decisions_or_adaptive_path_equal"] + assert not policy["global_accuracy_or_conservation_certified"] + log_case(request, {"family": "time_weights_exact_norms", "state_scales": [-40, 0, 40], + "components": 45, "native_steps": 0}, + {"exact_binary64_parameter_scaling": True, "same_state_WRMS_homogeneity": True, + "m0_and_matching_history_ss_comparisons": True, "no_trajectory_equivalence_claim": True}) + + +def test_voltage_lift_time_weights_rejects_tampering(request): + from copy import deepcopy + from scripts.benchmarks.coupled_device_prototype import ( + prepare_voltage_lift_native_request, validate_voltage_lift_native_request, + ) + + mapping, segments, previous, options, parent, refined = time_weight_requests() + for value in (True, False, "1024", 1024.0, 0, -1, 2, 2048, float("nan"), float("inf")): + with pytest.raises(ContractError, match="invalid_time_weights"): + prepare_voltage_lift_native_request(mapping, segments, previous, **options, time_weight_kappa=value) + for key, value in (("nonlin_conv_coef", 1e-7), ("nonlin_guard", None), ("first_step", None)): + with pytest.raises(ContractError, match="invalid_time_weights"): + prepare_voltage_lift_native_request( + mapping, segments, previous, **dict(options, **{key: value}), time_weight_kappa=1024) + _, s0_mapping, _, _, s0_context = lift_controller_fixture("S0NeutralPublicDeviceV1") + paths = json.loads(Path(os.environ["LIFT_PREVIOUS_REQUESTS"]).read_text()) + s0_previous = json.loads(Path(paths["S0NeutralPublicDeviceV1"]).read_text()) + with pytest.raises(ContractError, match="invalid_time_weights"): + prepare_voltage_lift_native_request(s0_mapping, s0_context.segments, s0_previous, time_weight_kappa=1024) + for field, value in (("schema", "forged"), ("kappa", 2), ("ancestor_request_sha256", "0"*64), + ("parent_controls_sha256", "0"*64), ("parent_weight_certificate_sha256", "0"*64), + ("parent_values", {}), ("values", {}), ("application", "after_first_solve"), + ("norm_comparison", "global equivalence"), ("extra", True)): + changed = deepcopy(refined) + changed["time_weight_policy"][field] = value + with pytest.raises(ContractError, match="time_weights"): + validate_voltage_lift_native_request(mapping, segments, changed) + for policy in (None, True, [], "1024", {}): + changed = deepcopy(refined) + changed["time_weight_policy"] = policy + with pytest.raises(ContractError, match="invalid_time_weights"): + validate_voltage_lift_native_request(mapping, segments, changed) + changed = deepcopy(refined) + del changed["time_weight_policy"] + with pytest.raises(ContractError, match="native_controls_changed"): + validate_voltage_lift_native_request(mapping, segments, changed) + changed = deepcopy(refined) + changed["weight_certificate"] = deepcopy(parent["weight_certificate"]) + with pytest.raises(ContractError, match="native_controls_changed"): + validate_voltage_lift_native_request(mapping, segments, changed) + for field in ("rtol", "max_step", "max_order", "first_step", "nonlin_conv_coef"): + changed = deepcopy(refined) + changed["controls"][field] *= 2 + with pytest.raises(ContractError, match="native_controls_changed"): + validate_voltage_lift_native_request(mapping, segments, changed) + for index in range(45): + changed = deepcopy(refined) + changed["controls"]["atol"][index] *= 2 + with pytest.raises(ContractError, match="native_controls_changed|time_weights_binding"): + validate_voltage_lift_native_request(mapping, segments, changed) + log_case(request, {"family": "time_weights_rejection", "native_steps": 0}, + {"invalid_or_unbound_route_rejected": True, "all45_atol_mutations_rejected": True, + "stale_applied_certificate_rejected": True, "unrelated_control_mutation_rejected": True}) + + +def full_word_fractions(value): + """Independent readback for tests; no consumer uses this arithmetic.""" + return [sum((lift_fraction(word.ravel()[i]) for word in value.words), Fraction()) + for i in range(value.words[0].size)] + + +def full_word_linear_reference(model, fields, kind, inputs, evaluation=None): + """Direct finite-volume identities in exact rational input arithmetic. + + This reader uses physical geometry/material values and no LinearTerm, + sparse Jacobian coefficient or candidate reduction implementation. + Nonlinear source values are exact *represented* inputs in this arithmetic + check; their independent Decimal physics checks remain separate. + """ + m, N = model.definition, model.count + q, eps, area, nt, c0 = map(lift_fraction, (Q, m.epsilon, m.area, m.trap_density, m.ion_initial)) + volume, spacing = list(map(lift_fraction, model.geometry.volumes)), list(map(lift_fraction, model.dx)) + n, p, phi = (fields[name] for name in ("n_m3", "p_m3", "phi_V")) + c, f = (fields["c_m3"], fields["f"]) if m.dynamic else ([Fraction()]*N, [Fraction()]*N) + rho = [q*(p[i]-n[i]+(c[i]-nt*f[i]-(c0 if kind == "state" else 0) if m.dynamic else 0)) + for i in range(N)] + displacement = [-eps*(phi[i+1]-phi[i])/spacing[i] for i in range(N-1)] + body = sum((v*r for v, r in zip(volume, rho, strict=True)), Fraction()) + metal = [area*displacement[0]-volume[0]*rho[0], -area*displacement[-1]-volume[-1]*rho[-1]] + storage = [volume[i]*(nt if variable == "f" else 1)*fields[variable][i] + for _, variable, nodes in model.rate_fields for i in nodes] + result = {"storage": storage, "charge_density": rho, "displacement": displacement, + "body_charge": [body], "metal_charge": metal, "gauss_defect": [body+sum(metal)]} + if m.dynamic: + inventory = sum((volume[i]*c[i] for i in range(N)), Fraction()) + result["ion_inventory"] = [inventory] + if kind == "state": + result["ion_inventory_change"] = [inventory-c0*sum(volume)] + if kind in {"state", "rate"}: + result["constraints"] = [area*(displacement[i]-displacement[i-1])-volume[i]*rho[i] + for i in range(1, N-1)] + result["constraints"] += [phi[0], phi[-1]+lift_fraction(inputs[0])] + for name, reservoir in (("n_m3", m.n_eq), ("p_m3", m.p_eq)): + result["constraints"] += [fields[name][i]-(lift_fraction(reservoir) if kind == "state" else 0) + for i in (0, N-1)] + if kind == "rate": + sources = {name: full_word_fractions(value) for name, value in evaluation.nodal_rates.items()} + result["balance"] = [a-b for a, b in zip(storage, [sources[name][i] + for _, name, nodes in model.rate_fields for i in nodes], strict=True)] + icon = [q*(volume[i]*(p[i]-n[i])+sources["n_m3"][i]-sources["p_m3"][i]) for i in (0, N-1)] + result.update(conduction=icon, total_current=[a+b for a, b in zip(icon, metal, strict=True)], + charge_integrands=[sum(icon), *metal]) + jn, jp, fi = (full_word_fractions(getattr(evaluation, key)) + for key in ("electron_current", "hole_current", "ion_flux")) + result["interior_total_current"] = [a+b+q*c+d for a, b, c, d in zip(jn, jp, fi, displacement, strict=True)] + return result + + +@pytest.mark.parametrize("case_id", CASES) +@pytest.mark.parametrize("area", GATES["areas_m2"]) +@pytest.mark.parametrize("sign", (-1, 0, 1)) +def test_full_word_physical_forms_sign_zero_coefficients(case_id, area, sign, request): + from scripts.benchmarks.contract_prototype import RateView + from scripts.benchmarks.precision_prototype import PrimitiveExpansion, encode_point + + m = affine_model(case_id, area) + root_bytes = encode_point(m.reference) + words = [np.zeros(m.layout.size) for _ in range(4)] + previous = np.zeros(m.layout.size) + for name in ("n_m3", "p_m3", "phi_V"): + selection = m.layout.offsets[name] + scale = 2.0**-20 if name == "phi_V" else 1. + previous[selection] = 2.0**-216 + for k in range(4): + words[k][selection] = sign*scale*2.0**(-54*k) + words[3][m.layout.offsets["p_m3"].start+1] *= 2 + words[3][m.layout.offsets["phi_V"].stop-1] *= 2 + primitive = PrimitiveExpansion(tuple(words)) + left, _ = m.trial(previous, 1., (0., 0.)) + right, increment = m.trial(primitive, 2., (0., 0.), predecessor=left, + transition_representation="paired-endpoints-v1") + current = full_word_fractions(primitive) + roots = {"n_m3": m.definition.n_eq, "p_m3": m.definition.p_eq, "phi_V": 0., + "c_m3": m.definition.ion_initial, "f": m.definition.f_eq} + state_fields, delta_fields = {}, {} + for variable in m.layout.variables: + sl = m.layout.offsets[variable.id] + state_fields[variable.id] = [lift_fraction(roots[variable.id])+v for v in current[sl]] + delta_fields[variable.id] = [a-lift_fraction(b) for a, b in zip(current[sl], previous[sl], strict=True)] + rate_words = [word.copy() for word in words] + if m.definition.dynamic: + for k in range(4): + rate_words[k][m.layout.offsets["c_m3"]] = sign*2.0**(-54*k) + rate_words[k][m.layout.offsets["f"]] = sign*2.0**(-20-54*k) + rates = PrimitiveExpansion(tuple(rate_words)) + raw_rates = rates.high + rate = RateView(right, rates, np.zeros(2), source_identity=m.source_identity, + mapping_identity="synthetic-physical-four-word-rate-v1", origin="physical-rate", + raw_coordinates=right.y, raw_rate=raw_rates) + rate_values = full_word_fractions(rates) + rate_fields = {v.id: rate_values[m.layout.offsets[v.id]] for v in m.layout.variables} + evaluation = m.observation_evaluation(right) + records, checks = [], {} + for kind, fields in (("state", state_fields), ("increment", delta_fields), ("rate", rate_fields)): + reference = full_word_linear_reference(m, fields, kind, np.zeros(2), evaluation.values) + for name, form in m.linear_forms[kind].items(): + action = m.linear_action(name, right, **( + {"increment": increment, "left": left} if kind == "increment" else + {"rate": rate, "evaluation": evaluation} if kind == "rate" else {})) + actual = full_word_fractions(action.value) + errors = [abs(a-b) for a, b in zip(actual, reference[name], strict=True)] + bound = list(map(lift_fraction, action.absolute_error_bound.values)) + key = kind+"_"+name + checks[key] = all(error <= abs(expected)*Fraction("1e-28") + and error <= limit and (a == 0) == (expected == 0) + and (a > 0) == (expected > 0) + for a, expected, error, limit in zip(actual, reference[name], errors, bound, strict=True)) + checks[key+"_metadata"] = form.declared_nnz == len(form.terms) and action.form_identity == form.identity + records.append({"kind": kind, "form": name, "form_identity": form.identity, + "operand_identity": action.operand_identity, "stored_terms": form.declared_nnz, + "actual_exact": list(map(str, actual)), "reference_exact": list(map(str, reference[name])), + "absolute_error_exact": list(map(str, errors)), "arithmetic_bound_exact": list(map(str, bound))}) + checks.update(original_reference_unchanged=encode_point(m.reference) == root_bytes, + previous_state_not_recentered=increment.left_identity == left.identity, + raw_rate_words_retained=full_word_fractions(rate.values) == rate_values, + original_volume_contains_area=np.array_equal(m.geometry.volumes, area*np.diff(m.edges))) + log_case(request, {"family": "full_word_physical_forms", "case": case_id, "area": area, "sign": sign, + "source_identity": m.source_identity, "records": records, + "arithmetic_relative_threshold": "1e-28", "native_steps": 0, + "nonlinear_source_accuracy_certified_here": False}, checks) + + +@pytest.mark.parametrize("case_id", CASES) +def test_full_word_public_problem_rate_and_float_paths(case_id, request): + from scripts.benchmarks.contract_prototype import FloatArray, RateView + from scripts.benchmarks.coupled_device_prototype import affine_observation_payload + + m, mapping, adapter, z, inputs = lift_fixture(case_id) + zdot, adot = .17+np.sin(np.arange(m.layout.size)), np.array([.1, .3*m.definition.photon_reference]) + p, _, primitive, reading, audit = adapter.observe(.01, z, zdot, inputs, adot) + rate = reading.derivative + assert isinstance(rate, RateView) + with pytest.raises(TypeError, match="implicit full-word rate projection"): + np.asarray(rate) + with pytest.raises(ContractError, match="problem_full_word_rate_not_admitted"): + m.public_problem().residual(p, rate, adot) + other, _ = mapping.trial(z, .02, inputs) + with pytest.raises(ContractError, match="linear_rate_point_or_source_mismatch"): + adapter.problem.residual(other, rate, adot) + with pytest.raises(ContractError, match="linear_rate_input_mismatch"): + adapter.problem.residual(p, rate, adot+np.array([1., 0.])) + received = [] + original = adapter.problem.analytic_linearization + def checked_linearization(point, derivative, input_rate): + received.append(derivative) + return original(point, derivative, input_rate) + admitted = replace(adapter.problem, analytic_linearization=checked_linearization) + admitted.linearize(p, rate, adot) + actual = admitted.residual(p, rate, adot) + evaluation = m.observation_evaluation(p) + balance = m.linear_action("balance", p, rate=rate, evaluation=evaluation) + plain = primitive.high.copy() + explicit_plain = RateView(p, FloatArray(plain), adot, source_identity=m.source_identity, + mapping_identity=mapping.identity, origin="physical-rate", + raw_coordinates=p.y, raw_rate=plain) + legacy = m.public_problem().residual(p, plain, adot) + full_plain = admitted.residual(p, explicit_plain, adot) + payload = affine_observation_payload(reading) + checks = {"full_rate_reaches_Jacobian_unchanged": len(received) == 1 and received[0] is rate, + "residual_joint_mass_source_words": full_word_fractions(actual)[:m.dynamic_count] == full_word_fractions(balance.value), + "old_vector_route_keeps_same_physical_arithmetic": legacy.identity_bytes() == full_plain.identity_bytes(), + "actual_map_words_retained": full_word_fractions(rate.values) == lift_exact_map(mapping, zdot, adot, rate=True), + "full_rate_serialized": payload["physical_rate"]["values_words_hex"] == [[float(v).hex() for v in w] for w in primitive.words], + "raw_frame_is_distinct_from_observation_origin": payload["physical_rate"]["frame"] == "mapped-coordinate-rate" + and payload["physical_rate"]["observed_origin"] == "algebraic_probe", + "counterfactual_audit_still_retained": audit["projected_rate_hex"] == payload["physical_ydot_hex"], + "row_arithmetic_does_not_certify_integration": all("continuous integration errors excluded" in v["error_scope"] + for v in payload["linear_actions"].values())} + log_case(request, {"family": "full_word_public_callbacks", "case": case_id, "rate_identity": rate.identity, + "map_identity": mapping.identity, "observation": payload, "native_steps": 0}, checks) + + +@pytest.mark.parametrize("case_id", CASES) +def test_full_word_rate_producer_rejects_wrong_raw_point(case_id, request): + from scripts.benchmarks.precision_prototype import encode_point + + m, mapping, _, _, _ = lift_fixture(case_id) + z, zdot, adot = np.zeros(m.layout.size), np.ones(m.layout.size), np.array([.1, 0.]) + inputs = np.array([.1, 0.]) + p, _ = mapping.trial(z, .01, inputs) + before = encode_point(p) + accepted = mapping.bind_rate(p, z, zdot, adot) + wrong = z.copy() + wrong[m.layout.offsets["n_m3"].start] = 1. + with pytest.raises(ContractError, match="voltage_lift_point_raw_coordinate_mismatch"): + mapping.bind_rate(p, wrong, zdot, adot) + # Same first Point.y word, different full physical potential. A float-only + # relation comparison would admit this false raw-coordinate provenance. + weak = z.copy() + weak[m.layout.offsets["phi_V"].start+1] = 2.0**-150 + different, _ = mapping.trial(weak, .01, inputs) + assert np.array_equal(different.y, p.y) and different.identity != p.identity + with pytest.raises(ContractError, match="voltage_lift_point_raw_coordinate_mismatch"): + mapping.bind_rate(p, weak, zdot, adot) + actual_weak = mapping.bind_rate(different, weak, zdot, adot) + log_case(request, {"family": "full_word_map_relation", "case": case_id, + "relation_form_identity": mapping.relation_form.identity, + "point_identity": p.identity, "weak_point_identity": different.identity, + "rate_identities": [accepted.identity, actual_weak.identity], "native_steps": 0}, + {"distinct_actual_Point_binding": accepted.point.identity != actual_weak.point.identity, + "weak_mismatch_hidden_in_float_projection": np.array_equal(different.y, p.y), + "original_state_and_predecessor_unchanged": encode_point(p) == before, + "actual_mapped_rate_unchanged": accepted.values.identity_bytes() == actual_weak.values.identity_bytes()}) + + +@pytest.mark.parametrize("case_id", CASES) +def test_declared_polynomial_sample_retains_distinct_history_origin(case_id, request): + from scripts.benchmarks.coupled_device_prototype import ( + AffineSamplingContext, VoltageLiftAdapter, + VoltageLiftSegmentAdapter, VoltageLiftHistory, voltage_lift_native_sample, + ) + spec = importlib.util.spec_from_file_location("solarlab_interval_inputs", Path(__file__).with_name("test_native_observation.py")) + support = importlib.util.module_from_spec(spec) + spec.loader.exec_module(support) + m, mapping, _, proposal, _, _ = support.current_controller_input(case_id) + context = AffineSamplingContext(m, proposal) + segment = context.segments[0] + binding = VoltageLiftSegmentAdapter(VoltageLiftAdapter(mapping), context, segment) + history = VoltageLiftHistory(mapping) + t = (segment.start+segment.end)/2 + native = {"time": t, "z": np.zeros(m.layout.size), "zdot": np.zeros(m.layout.size), + "success": True, "status": 0, "message": "explicit algebraic reconstruction; no native call"} + pair = voltage_lift_native_sample(binding, history, native, m.reference, origin="declared_polynomial") + record = pair[-1] + restored = history.restore(history.reference_record, record["history"], m.reference) + log_case(request, {"family": "declared_polynomial_history", "case": case_id, + "sample": record, "actual_native_calls": 0}, + {"new_origin_is_explicit": record["raw"]["origin"] == record["history"]["origin"] == "declared_polynomial", + "named_tangent_retained": record["physical_tangent"]["origin"] == "physical_tangent", + "all_four_rate_words": len(record["history"]["physical_rate_words_hex"]) == 4, + "point_reconstructed_exactly": restored[0].identity == pair[0].identity, + "history_reference_not_reset": record["history"]["predecessor_identity"] == m.reference.identity, + "original_state_checks_applied": record["state_checks"]["passed"], + "no_interval_award": record["interval_or_prefix_charge_certified"] is False}) + + +def test_logical_initialization_statistics_keep_legacy_reader_scope(request): + from scripts.benchmarks.coupled_device_prototype import ida_statistics_snapshot + + raw={"num_steps":0,"residual_evals":0,"linear_setups":0,"error_test_fails":0, + "nonlinear_iters":0,"nonlinear_conv_fails":0,"jacobian_evals":0, + "last_order":0,"current_order":1,"initial_step":.1,"last_step":0., + "current_step":.1,"current_time":2.,"current_cj":0.} + solver=SimpleNamespace(statistics=lambda:raw) + legacy=ida_statistics_snapshot(solver,"second_segment",2,"init",2.,2.) + before=ida_statistics_snapshot(solver,"second_segment",2,"init",2.,2.,logical_initialization=True) + raw.update(num_steps=1,residual_evals=2,current_time=2.1) + after=ida_statistics_snapshot(solver,"second_segment",2,"onestep",2.1,2.1, + before=before,logical_initialization=True) + with pytest.raises(ContractError,match="generation_mismatch"): + ida_statistics_snapshot(solver,"second_segment",2,"onestep",2.1,2.1, + before=legacy,logical_initialization=True) + log_case(request,{"family":"logical_initialization_metadata","legacy":legacy,"current":after, + "actual_native_calls":0}, + {"legacy_record_shape_preserved":"initialization_generation" in legacy and "logical_initialization_index" not in legacy, + "current_counter_explicitly_logical":after["logical_initialization_index"]==2 and "initialization_generation" not in after, + "actual_native_generation_not_invented":"native_generation" not in after, + "within_owner_counter_delta_preserved":after["work_since_before"]["num_steps"]==1, + "raw_values_preserved":after["raw_statistics"]["current_time"]==2.1}) + + +def _assert_affine_value_words(actual, full): + """Compare every returned value, including zero signs and action evidence.""" + assert actual.rate_jacobian is None and not actual.nodal_derivatives + assert full.rate_jacobian is not None and full.nodal_derivatives + assert vars(actual).keys() == vars(full).keys() + for name, value in vars(actual).items(): + reference = getattr(full, name) + if name in {"rate_jacobian", "nodal_derivatives"}: + continue + if name == "linear_actions": + assert value.keys() == reference.keys() + for key, action in value.items(): + other = reference[key] + assert action.value.identity_bytes() == other.value.identity_bytes() + assert action.absolute_error_bound.identity_bytes() == other.absolute_error_bound.identity_bytes() + for attribute in ("units", "form_identity", "operand_identity", "source_identities", "arithmetic_policy"): + assert getattr(action, attribute) == getattr(other, attribute) + elif name in {"nodal_rates", "nodal_input"}: + assert value.keys() == reference.keys() + for key, array in value.items(): + other = reference[key] + if name == "nodal_rates": + assert array.identity_bytes() == other.identity_bytes() + else: + assert array.shape == other.shape and array.dtype == other.dtype + assert array.tobytes() == other.tobytes() + elif name == "input_jacobian": + assert value.shape == reference.shape and value.dtype == reference.dtype + assert value.tobytes() == reference.tobytes() + else: + assert value.identity_bytes() == reference.identity_bytes(), name + + +@pytest.mark.parametrize("case_id", CASES) +@pytest.mark.parametrize("family", [*GATES["points"], "tiny_positive", "tiny_negative"]) +def test_affine_value_only_preserves_complete_words(case_id, family, request): + from scripts.benchmarks.precision_prototype import DoubleArithmetic, PrimitiveExpansion + + m = affine_model(case_id) + if family.startswith("tiny_"): + common = np.zeros(m.layout.size) + common[m.layout.offsets["p_m3"]] = 1.0 + previous, _ = m.trial(common, 1e-3, (0.0, 0.0)) + weak = np.zeros(m.layout.size) + weak[m.layout.offsets["p_m3"].start+1] = 1e-40 if family == "tiny_positive" else -1e-40 + arithmetic = DoubleArithmetic() + cumulative = PrimitiveExpansion.from_value(arithmetic.freeze( + arithmetic.add(arithmetic.array(common), arithmetic.array(weak)))) + p, _ = m.trial(cumulative, 2e-3, (0.0, 0.0), predecessor=previous) + else: + p, _ = affine_point(m, family) + source, identity = m.source_identity, p.identity + before = tuple(m.field(p, v.id).identity_bytes() for v in m.layout.variables) + full = m.evaluate(p, derivatives=True) + actual = m.evaluate(p) + _assert_affine_value_words(actual, full) + log_case(request, {"family": "affine_value_only_words", "case": case_id, + "point_family": family, "point_identity": identity, "source_identity": source, + "returned_value_fields": sorted(set(vars(actual)) - {"rate_jacobian", "nodal_derivatives"})}, + {"every_value_word_and_action_evidence": True, + "state_words_unchanged": before == tuple(m.field(p, v.id).identity_bytes() for v in m.layout.variables), + "identities_unchanged": source == m.source_identity and identity == p.identity}) + + +@pytest.mark.parametrize("case_id", CASES) +def test_affine_focused_signed_jacobian_and_input_directions(case_id, request): + """Use the existing independent finite-volume oracle, with unchanged gates.""" + m = affine_model(case_id) + p, u = affine_point(m, "near_boundary") + rate = m.S*(0.17+np.sin(np.arange(m.layout.size))) + adot = np.array([0.1, 0.3*m.definition.photon_reference]) + linear = m.public_problem().linearize(p, rate, adot) + y, a, v = affine_exact_input(m, u), list(map(dec, p.inputs)), list(map(dec, rate)) + cj = GATES["cj_s_inv"][0] + directions = [(name, sign, d, np.zeros(2)) for name, sign, d in affine_directions(m)] + for column, scale in enumerate((m.definition.vt, m.definition.photon_reference)): + for sign in (-1, 1): + direction = np.zeros(2); direction[column] = sign*scale + directions.append((f"input_{column}", sign, np.zeros(m.layout.size), direction)) + evidence = [] + with localcontext() as ctx: + ctx.prec = 100 + h = Decimal("1e-22") + for name, sign, d, da in directions: + refs = {} + for precision in (80, 100): + yp = [x+h*dec(z) for x, z in zip(y, d)] + ym = [x-h*dec(z) for x, z in zip(y, d)] + vp = [x+h*dec(cj)*dec(z) for x, z in zip(v, d)] + vm = [x-h*dec(cj)*dec(z) for x, z in zip(v, d)] + ap = [x+h*dec(z) for x, z in zip(a, da)] + am = [x-h*dec(z) for x, z in zip(a, da)] + plus = decimal_kernel(m, yp, ap, vp, precision)["F"] + minus = decimal_kernel(m, ym, am, vm, precision)["F"] + refs[precision] = [(x-z)/(2*h)*dec(s) for x, z, s in zip(plus, minus, m.Drow)] + actual = m.Drow*(linear.ida_matrix(cj) @ d + linear.inputs @ da) + limits = [dec(GATES["jacobian_scaled_atol"])+dec(GATES["jacobian_scaled_rtol"])*abs(z) + for z in refs[100]] + errors = [abs(dec(x)-z) for x, z in zip(actual, refs[100])] + uncertainty = [abs(x-z) for x, z in zip(refs[80], refs[100])] + assert all(e <= b and un <= b/3 for e, un, b in zip(errors, uncertainty, limits)), (name, sign) + evidence.append({"direction": name, "sign": sign, + "max_gate_fraction": max(float(e/b) for e, b in zip(errors, limits))}) + log_case(request, {"family": "affine_focused_jacobian", "case": case_id, + "point_family": "near_boundary", "cj_s_inv": cj, "directions": evidence}, + {"signed_physical_and_input_directions": True, "Decimal80_100_agree_within_gate_share": True, + "native_not_imported": "sksundae" not in sys.modules}) + + +@pytest.mark.parametrize("case_id", CASES) +@pytest.mark.parametrize("derivatives", [False, True]) +def test_affine_value_only_keeps_physical_domain_errors(case_id, derivatives, request): + m = affine_model(case_id) + cases = [(None, 0.0, (0.0, -1.0), "negative_photon_flux"), + ("n_m3", -m.definition.n_eq, (0.0, 0.0), "nonpositive_active_carrier"), + ("p_m3", -m.definition.p_eq, (0.0, 0.0), "nonpositive_active_carrier")] + if m.definition.dynamic: + cases += [("c_m3", -2*m.definition.ion_initial, (0.0, 0.0), "physical_state_outside_domain"), + ("c_m3", 2*m.definition.ion_capacity, (0.0, 0.0), "physical_state_outside_domain"), + ("f", -1.0, (0.0, 0.0), "physical_state_outside_domain"), + ("f", 1.0, (0.0, 0.0), "physical_state_outside_domain")] + for variable, delta, inputs, reason in cases: + u = np.zeros(m.layout.size) + if variable is not None: + u[m.layout.offsets[variable]] = delta + # The public authority rejects inadmissible mapped fields first. + with pytest.raises(ContractError, match=f"^{reason}$"): + p, _ = m.trial(u, 0.0, inputs) + m.evaluate(p, derivatives=derivatives) + log_case(request, {"family": "affine_value_only_domains", "case": case_id, + "derivatives": derivatives, "expected_errors": [row[3] for row in cases]}, + {"physical_domain_errors_preserved": True}) + + +@pytest.mark.parametrize("case_id", CASES) +def test_affine_value_only_skips_derivative_underflow(case_id, request): + """A valid tiny gradient can underflow unused binary64 derivative powers.""" + m = affine_model(case_id) + u = np.zeros(m.layout.size) + u[m.layout.offsets["phi_V"]] = m.definition.vt*1e-40*np.arange(m.count) + p, _ = m.trial(u, 0.0, (0.0, 0.0)) + m.validate(p) + with np.errstate(under="ignore"): + full = m.evaluate(p, derivatives=True) + with np.errstate(under="raise"): + actual = m.evaluate(p) + with pytest.raises(FloatingPointError, match="underflow"): + m.evaluate(p, derivatives=True) + _assert_affine_value_words(actual, full) + log_case(request, {"family": "affine_derivative_only_exception", "case": case_id, + "gradient_scale": 1e-40, "numpy_underflow_policy": "raise", + "derivative_error": "FloatingPointError: underflow", "value_only_error": None}, + {"valid_physical_point": True, "unchanged_value_words": True, + "derivative_exception_explicitly_preserved_when_requested": True}) + + +def test_segment_frame_physical_chain_and_live_event_handoff(request): + """Fixed-state algebra and manufactured boundary data; zero IDA calls.""" + from scripts.benchmarks import coupled_device_prototype as d + from scripts.benchmarks.native_readback import SegmentFrameCheck + from scripts.benchmarks.native_observation import prepare_physical_polynomial + from scripts.benchmarks.interval_observation import AcceptedClock, Polynomial + + case = "DynamicAcceptorIonPublicDeviceV1" + m, base, parent_adapter, q, inputs = lift_fixture(case) + v = np.arange(45, dtype=float)*2.0**-16 + origin = d.SegmentAffineFrame(base.identity, "a"*64, 1, m.reference.identity, "b"*64, 0.0, q, v) + mapped = d.AffineVoltageMap(m, origin) + adapter = d.VoltageLiftAdapter(mapped) + zero, input_rate = np.zeros(45), np.array([0.25, 0.0]) + a = parent_adapter.residual(0.0, q, v, inputs, input_rate) + b = adapter.residual(0.0, zero, zero, inputs, input_rate) + assert np.array_equal(a, b) + for cj in (0.0, 1024.0): + old = parent_adapter.jacobian(0.0, q, v, inputs, input_rate, cj) + new = adapter.jacobian(0.0, zero, zero, inputs, input_rate, cj) + assert np.array_equal(old.data, new.data) + assert np.array_equal(old.indices, new.indices) and np.array_equal(old.indptr, new.indptr) + + previous = json.loads(Path(json.loads(Path(os.environ["LIFT_PREVIOUS_REQUESTS"]).read_text())[case]).read_text()) + segments = tuple(d.ProtocolSegment(**row) for row in previous["segments"]) + proposal = d.prepare_voltage_lift_native_request(base, segments, previous, nonlin_conv_coef=1e-8, + nonlin_guard="first-correction-wrms-v1", first_step=7.8125e-7, time_weight_kappa=1024, + segment_startup_overrides={"slow_state_hold": {"first_step": 0.0}}, + segment_frame="fixed-affine-state-rate-v1") + context = d.AffineSamplingContext(m, proposal) + first, u, up, proof, receipt = d.voltage_lift_segment_initialization(base, context, segments[0], 1, zero, m.reference) + check = SegmentFrameCheck(proposal) + check.begin(receipt, asdict(segments[0]), 1, m.reference.identity) + history = d.VoltageLiftHistory(first.adapter.mapping, parent_reference=d.VoltageLiftHistory(base).reference_record) + t = segments[0].end + endpoint, _, _, saved = history.build_sample(zero, t, segments[0].inputs(t)[0], m.reference, + zero, segments[0].inputs(t)[1], origin="algebraic_probe", event_side="left") + check.sample(saved) + parent_q = first.adapter.mapping.frame.parent_state(t, zero) + second, u2, up2, proof2, receipt2 = d.voltage_lift_segment_initialization( + base, context, segments[1], 2, parent_q, endpoint) + check.begin(receipt2, asdict(segments[1]), 2, endpoint.identity, saved) + assert receipt2["physical_handoff_words_hex"] == saved["physical_cumulative_words_hex"] + assert np.all(u2 == 0) and np.all(up2 == 0) + assert proof2["input_rates_hex"] != saved["input_rates_hex"] + # Compare the full polynomial and its first two derivatives in the + # normalized native coordinate (t-tn)/h, with no native sample invented. + h = 2.0**-12 + clock = AcceptedClock(t, t+h, h, 1, 1, 2, segments[1].start, segments[1].end, + segments[1].id, owner="manufactured-unit") + raw = tuple(Polynomial((Fraction(i, 2**50), Fraction(1, 2**45), Fraction(-i, 2**55))) for i in range(45)) + prepared = prepare_physical_polynomial(second, raw, clock) + frame = second.adapter.mapping.frame + q0 = [sum((Fraction(float(w[i])) for w in frame.q0.words), Fraction(0)) for i in range(45)] + v0 = [sum((Fraction(float(w[i])) for w in frame.v0.words), Fraction(0)) for i in range(45)] + for name, actual in prepared.path.fields.items(): + offset = m.layout.offsets[name] + roots = word_decimals(m.field(m.reference, name)) + for local, i in enumerate(range(offset.start, offset.stop)): + root = sum((Fraction(float(w.flat[local])) for w in m.field(m.reference, name).words), Fraction(0)) + parent = raw[i]+Polynomial((q0[i]+(clock.tn-Fraction(frame.t0))*v0[i], clock.hused*v0[i])) + expected = Polynomial((root,))+Fraction(float(base.columns[i]))*parent + for j, input_poly in enumerate(prepared.path.inputs): + expected += Fraction(float(base.lift[i,j]))*(input_poly-Fraction(float(base.reference_inputs[j]))) + assert actual[local].coefficients == expected.coefficients + assert actual[local].derivative().coefficients == expected.derivative().coefficients + assert actual[local].derivative().derivative().coefficients == expected.derivative().derivative().coefficients + # The independent reader must reproduce the producer's full path hash, + # using invented phi/psi words solely for this algebraic source test. + import struct + from scripts.benchmarks.native_readback import _snapshot_digest + pack = lambda values: struct.pack('<'+str(len(values))+'d', *values) + weights = np.array([1/(proposal["controls"]["rtol"]*abs(float(q))+a) + for q, a in zip(q0, proposal["controls"]["atol"])]) + state = dict(schema="sksundae.ida.parent-affine-weight-state.v1", owner="manufactured-unit", generation=1, size=45, + frame_identity=frame.identity, build_identity="f"*64, installed=True, setter="IDAWFtolerances", setter_status=0, + t0_hex=frame.t0.hex(), rtol_hex=float(proposal["controls"]["rtol"]).hex(), + atol=np.array(proposal["controls"]["atol"]).tobytes(), q0_words=tuple(w.tobytes() for w in frame.q0.words), + v0_words=tuple(w.tobytes() for w in frame.v0.words), callback_calls=1, callback_status=0, failure_component=None, + basis_time_hex=frame.t0.hex(), basis_u=zero.tobytes(), rounded_parent=np.array(list(map(float, q0))).tobytes(), + computed_weights=weights.tobytes(), weight_rounding=frame.payload()["weight_rounding"], raw_tolerance_getter=False) + phi = [float(p.coefficients[0]) for p in raw]+[float(p.coefficients[1]-(p.coefficients[2] if len(p.coefficients)>2 else 0)) for p in raw]+[ + float(2*p.coefficients[2]) if len(p.coefficients)>2 else 0.0 for p in raw] + packet = dict(owner="manufactured-unit", generation=1, binding={"identity": "f"*64}, parent_weight_state=state, + predecessor={"internal_t": t}, native_before=dict(kused=2, nsteps=1, hused=h, tn=t+h), + basis={"phi": pack(phi), "psi": pack([h, 2*h])}, error_weights=weights.tobytes()) + check.packet(packet) + rebound = prepare_physical_polynomial(second, raw, clock, coefficient_frame_identity=_snapshot_digest(packet)) + assert check.path_identity == rebound.path.identity + log_case(request, {"family": "segment_frame_chain_handoff", "case": case, "native_steps": 0, + "frames": [receipt["frame_identity"], receipt2["frame_identity"]]}, + {"same_state_F_J_words": True, "all45_handoff_words": True, + "both_event_sides_retained": True, "full_polynomial_derivatives": True}) + + +def test_voltage_lift_time_weights_65536_preserves_physics_and_legacy_bytes(): + """Current45-component factory; only in-memory construction, no IDA.""" + from copy import deepcopy + import math + from scripts.benchmarks import coupled_device_prototype as d + from scripts.benchmarks.native_readback import segment_startup_controls + + mapping, segments, previous, options, parent, legacy = time_weight_requests() + # Controls and legacy policy bytes stay exact on identical current inputs. + # Whole request identities also bind the kernel source and must change + # honestly when that source changes (CoupledSlab.source_identity). + assert digest(legacy["controls"]) == "96bbebe0118c3f871826cd8a9a71d01a5b3e53d4007573375e3747c062eb5754" + expected_legacy_policy = { + "schema": "solarlab.voltage-lift-time-weights.v1", "kappa": 1024, + "ancestor_request_sha256": digest(previous), + "parent_controls_sha256": digest(parent["controls"]), + "parent_weight_certificate_sha256": digest(parent["weight_certificate"]), + "parent_values": {k: parent["controls"][k] for k in ("rtol", "atol", "nonlin_conv_coef")}, + "values": {k: legacy["controls"][k] for k in ("rtol", "atol", "nonlin_conv_coef")}, + "application": "every_fresh_initialization_before_first_solve", + "exact_parameter_scaling": "rtol/atol ldexp(-10); nonlin_conv_coef ldexp(+10); positive normal binary64", + "norm_comparison": "same-state denominators divide by1024; exact WRMS and epcon/epsNewt/toldel/m0-direct thresholds multiply by1024", + "history_condition": "matching correction/weight histories preserve norm ratios and dimensionless rate/ss; later ss*WRMS comparison scales homogeneously", + "local_time_error_threshold": 1, + "rounded_native_decisions_or_adaptive_path_equal": False, + "global_accuracy_or_conservation_certified": False} + assert json.dumps(legacy["time_weight_policy"], sort_keys=True, separators=(",", ":")) == ( + json.dumps(expected_legacy_policy, sort_keys=True, separators=(",", ":"))) + current = d.prepare_voltage_lift_native_request(mapping, segments, previous, + **options, time_weight_kappa=65536, + segment_startup_overrides={"slow_state_hold": {"first_step": 2.0**-32}}) + d.validate_voltage_lift_native_request(mapping, segments, current) + before, after = legacy["controls"], current["controls"] + assert after["rtol"] == math.ldexp(before["rtol"], -6) + assert after["nonlin_conv_coef"] == math.ldexp(before["nonlin_conv_coef"], 6) + assert {k for k in before if before[k] != after[k]} == {"rtol", "atol", "nonlin_conv_coef"} + assert len(after["atol"]) == 45 and after["max_step"] == 0.1 + for old, new, row in zip(before["atol"], after["atol"], + current["weight_certificate"]["components"], strict=True): + assert Fraction(new)*64 == Fraction(old) and new >= sys.float_info.min + assert Fraction(row["new_physical_atol_exact"]) == Fraction(row["scale_exact"])*Fraction(new) + assert all(row["checks"].values()) + for key in ("numeric_packet", "voltage_lift_map", "segments", "previous_controls", + "budgets", "original_budgets", "observation_times", "quadrature", "history_policy"): + assert current[key] == legacy[key], key + for key in ("point_identity", "raw_z_hex", "raw_zdot_hex", "inputs_hex", "input_rates_hex", + "desired_physical_tangent_hex", "mapped_physical_rate_words_hex", + "desired_tangent_residual_SI", "represented_rate_residual_SI"): + assert current["initial_preparation"][key] == legacy["initial_preparation"][key], key + for segment, record in zip(segments, current["segments"], strict=True): + selected = d._voltage_lift_initialization_controls(current, segment) + assert selected == segment_startup_controls(current, record) + assert selected["nonlin_conv_coef"] == after["nonlin_conv_coef"] + assert selected["first_step"] == (2.0**-32 if segment.id == "slow_state_hold" else 7.8125e-7) + policy = current["time_weight_policy"] + assert policy["kappa"] == 65536 and "ldexp(-16)" in policy["exact_parameter_scaling"] + assert not policy["rounded_native_decisions_or_adaptive_path_equal"] + # Same-state weighted correction and nonlinear thresholds scale together. + q, correction = Fraction(-3, 7), Fraction(1, 1 << 30) + for old, new in zip(before["atol"], after["atol"], strict=True): + den0, den1 = Fraction(before["rtol"])*abs(q)+Fraction(old), Fraction(after["rtol"])*abs(q)+Fraction(new) + assert den0 == 64*den1 + assert (correction/den0/Fraction(before["nonlin_conv_coef"]))**2 == ( + correction/den1/Fraction(after["nonlin_conv_coef"]))**2 + for field in ("nonlin_conv_coef", "rtol", "max_step"): + bad = deepcopy(current); bad["controls"][field] *= 2 + with pytest.raises(ContractError, match="native_controls_changed"): + d.validate_voltage_lift_native_request(mapping, segments, bad) + bad = deepcopy(current); bad["time_weight_policy"]["kappa"] = 1024 + with pytest.raises(ContractError, match="native_controls_changed|time_weights_binding"): + d.validate_voltage_lift_native_request(mapping, segments, bad) + low = dict(parent["controls"], rtol=math.ldexp(sys.float_info.min, 15)) + with pytest.raises(ContractError, match="time_weights_not_exact_normal"): + d._voltage_lift_time_weights(mapping, low, parent["weight_certificate"], digest(previous), 65536) + assert current["native_admission"] is False + + +def test_full_protocol_65536_frame_input_ancestry_and_independent_reader(): + """Use saved bounded parent metadata and the actual45-component factory.""" + from copy import deepcopy + import math + from scripts.benchmarks import coupled_device_prototype as d + from scripts.benchmarks.native_readback import ( + HistoryVerificationError, _frame_input_parent, frame_input_word_count) + + source = os.environ.get("FRAME_INPUT_CURRENT_B_REQUEST") + if not source: + pytest.skip("bounded current-B request metadata is required") + saved = json.loads(Path(source).read_text()) + old_binding = d._frame_input_parent_binding(saved) + assert old_binding == _frame_input_parent(saved) and "control_refinement" not in old_binding + # Use the complete saved definition; the generic derivative fixture + # deliberately supplies its own area and is not this full-B input. + model = d.AffineCoupledSlab(d.SlabDefinition(**saved["numeric_packet"]["definition"]), 8) + segments = tuple(d.ProtocolSegment(**row) for row in saved["segments"]) + previous_paths = json.loads(Path(os.environ["LIFT_PREVIOUS_REQUESTS"]).read_text()) + previous = json.loads(Path(previous_paths[saved["case_id"]]).read_text()) + for key in ("wall_s", "total_output_bytes"): + previous["budgets"][key] = saved["original_budgets"][key] + options = {"nonlin_conv_coef": 1e-8, "nonlin_guard": "first-correction-wrms-v1", + "first_step": 7.8125e-7} + full_mapping = d.AffineVoltageMap(model, mapped_input_profile="frame-input-expansion12-v1") + current = d.prepare_voltage_lift_native_request(full_mapping, segments, previous, **options, + time_weight_kappa=65536, segment_frame="fixed-affine-state-rate-v1", + frame_input_profile="frame-input-expansion12-v1", frame_input_parent=saved["frame_input_parent"], + reference_refresh_time=float.fromhex(saved["reference_refresh_policy"]["time_hex"]), + segment_startup_overrides={"slow_state_hold": {"first_step": 2.0**-32}}) + d.validate_voltage_lift_native_request(full_mapping, segments, current) + assert current["frame_input_parent"] == saved["frame_input_parent"] + bound = d._frame_input_parent_binding(current) + assert bound == _frame_input_parent(current) + assert bound["request_sha256"] == old_binding["request_sha256"] + assert {k: v for k, v in bound.items() if k != "control_refinement"} == old_binding + refinement = bound["control_refinement"] + assert (refinement["old_kappa"], refinement["kappa"], refinement["factor"]) == (1024, 65536, 64) + assert current["frame_input_policy"]["failed_parent"] == bound + assert refinement["controls_sha256"] == digest(current["controls"]) + assert frame_input_word_count(current) == 12 + assert current["reference_refresh_policy"]["time_hex"] == saved["reference_refresh_policy"]["time_hex"] + assert current["budgets"] == saved["budgets"] and current["original_budgets"] == saved["original_budgets"] + + def retie(value): + policy, controls = value["time_weight_policy"], value["controls"] + policy["values"] = {k: deepcopy(controls[k]) for k in ("rtol", "atol", "nonlin_conv_coef")} + policy["parent_controls_sha256"] = digest(dict(controls, **policy["parent_values"])) + value["weight_certificate"].update(rtol=controls["rtol"], atol=controls["atol"], + time_weight_policy_sha256=digest(policy)) + + mutations = ( + lambda q: q["time_weight_policy"].update(kappa=65536.0), + lambda q: q["time_weight_policy"].update(kappa=1024), + lambda q: q["time_weight_policy"].update(kappa=32768), + lambda q: q["time_weight_policy"].update(extra=True), + lambda q: q["controls"].update(nonlin_conv_coef=1.024e-5), + lambda q: q["controls"].update(max_step=0.05), + lambda q: q["controls"]["atol"].__setitem__(29, math.nextafter(q["controls"]["atol"][29], math.inf)), + lambda q: q["controls"]["atol"].pop(), + lambda q: q["controls"].update(rtol=float.fromhex("0x1p-1074")), + lambda q: q["physical_domain_policy"].update(forged=True)) + for mutate in mutations: + bad = deepcopy(current); mutate(bad); retie(bad) + with pytest.raises(d.ContractError): + d._frame_input_parent_binding(bad) + with pytest.raises(HistoryVerificationError): + _frame_input_parent(bad) + bad = deepcopy(current) + old = json.loads(bad["frame_input_parent"]["request_json"]) + old["time_weight_policy"]["kappa"] = 1024.0 + result = json.loads(bad["frame_input_parent"]["native_result_json"]) + result["request_sha256"] = digest(old) + bad["frame_input_parent"].update(request_json=json.dumps(old), native_result_json=json.dumps(result)) + with pytest.raises(d.ContractError, match="time_controls"): + d._frame_input_parent_binding(bad) + with pytest.raises(HistoryVerificationError, match="time_controls"): + _frame_input_parent(bad) diff --git a/tests/numerical_contracts/test_device.py b/tests/numerical_contracts/test_device.py new file mode 100644 index 00000000..bc50c1ac --- /dev/null +++ b/tests/numerical_contracts/test_device.py @@ -0,0 +1,891 @@ +"""Independent Decimal references for actual public physical precision consumers.""" + +from __future__ import annotations + +from decimal import Decimal, localcontext +from fractions import Fraction +from hashlib import sha256 +from math import factorial +from pathlib import Path +import json +import os + +import numpy as np +import pytest + +from perovskite_sim.constants import EPS_0, K_B, Q +from scripts.benchmarks.contract_prototype import ( + AREA, COULOMB, ONE, PARTICLE, SECOND, VOLT, VOLUME, ContractError, + EquationSpec, Geometry, Layout, Point, StateIncrement, StateView, Support, VariableSpec, +) +from scripts.benchmarks.precision_prototype import ( + DD, DoubleArray, PrimitiveExpansion, RelativeCoordinates, decode_point, encode_point, +) +from scripts.benchmarks.device_prototype import ( + ElectronTrapCapture, FaceGeometry, _bernoulli_log_change, assemble_charge_rate, displacement_current, + displacement_current_from_potential, electric_displacement, lift_physical_inputs, + sg_current, sg_current_increment, +) + + +REPO = Path(__file__).resolve().parents[2] +GATE_PATH = Path(__file__).with_name("AnalyticGatesV1.json") +assert sha256(GATE_PATH.read_bytes()).hexdigest() == "43c9ba4ab1b6a95b3e278efcd8eed9a67dc4d5e258295c8e6961c53f7ee57201" +NC08 = next(g for g in json.loads(GATE_PATH.read_text())["gates"] if g["id"] == "NC08") +TEXTS = NC08["decimal_inputs"]["delta_log_n"] +VT = K_B * 300.0 / Q +FIXTURE = REPO / "tests/fixtures/refactor/R1FailureWitnessV1.json" +FIXTURE_SHA = "29e4981bd4d5d11d19f3120febbd47d853d39bfb45a72a44ecec91566757db1d" + + +def binary(value): + return Decimal.from_float(float(value)) + + +def words(value: DoubleArray, precision=80): + with localcontext() as ctx: + ctx.prec = precision + return [binary(h) + binary(l) for h, l in zip(value.high.ravel(), value.low.ravel(), strict=True)] + + +def series_expm1(x): + return sum(x ** k / Decimal(factorial(k)) for k in range(1, 6)) + + +def binary_inputs(**values): + return {name: {"hex": float(value).hex(), "decimal": str(binary(value))} + for name, value in values.items()} + + +def base_reference(kind, text, precision): + with localcontext() as ctx: + ctx.prec = precision + dn = binary(float(NC08["decimal_inputs"]["n0"])) * series_expm1(binary(float(text))) + if kind == "SG": + g = NC08["weak_flux"] + return binary(float(g["q_C"])) * binary(g["D_m2_s"]) / binary(g["dx_m"]) * dn + g = NC08["capture"] + return binary(g["capture_coefficient"]) * binary(g["trap_density"]) * (1 - binary(g["occupancy"])) * dn + + +def close_record(candidate: DoubleArray, reference, atol, rtol): + with localcontext() as ctx: + ctx.prec = 80 + actual = words(candidate) + assert len(actual) == len(reference) + errors = [abs(a - b) for a, b in zip(actual, reference, strict=True)] + limits = [Decimal(str(atol)) + Decimal(str(rtol)) * abs(b) for b in reference] + signs = [(a > 0) - (a < 0) == (b > 0) - (b < 0) + for a, b in zip(actual, reference, strict=True)] + return {"reference": [str(v) for v in reference], "candidate_words_sum": [str(v) for v in actual], + "absolute_error": [float(v) for v in errors], "limits": [float(v) for v in limits], + "sign_and_exact_zero_match": all(signs), + "passed": all(a <= b for a, b in zip(errors, limits, strict=True))} + + +def reference_uncertainty(reference80, reference100, atol, rtol): + with localcontext() as ctx: + ctx.prec = 100 + error = [abs(a - b) for a, b in zip(reference80, reference100, strict=True)] + budgets = [(Decimal(str(atol)) + Decimal(str(rtol)) * abs(b)) / 3 for b in reference100] + return {"absolute_error": [str(v) for v in error], "one_third_gate": [str(v) for v in budgets], + "passed": all(a <= b for a, b in zip(error, budgets, strict=True))} + + +def conclude(request, data, checks): + def encode(value): + if isinstance(value, np.generic): + return value.item() + if isinstance(value, np.ndarray): + return value.tolist() + raise TypeError(type(value).__name__) + data.update(test=request.node.nodeid, checks={key: bool(v) for key, v in checks.items()}, + passed=bool(all(checks.values()))) + if path := os.environ.get("DEVICE_CASE_LOG"): + with Path(path).open("a") as stream: + stream.write(json.dumps(data, allow_nan=False, default=encode, separators=(",", ":")) + "\n") + assert all(checks.values()), {key: bool(v) for key, v in checks.items() if not v} + + +def base_point(n0=None, gauge=0.0): + n0 = float(NC08["decimal_inputs"]["n0"]) if n0 is None else n0 + supports = (Support("cells", "cell", (2,)), Support("faces", "face", (1,))) + variables = (VariableSpec("n_m3", "carrier", "cells", (2,), PARTICLE / VOLUME, lower=0), + VariableSpec("p_m3", "carrier", "cells", (2,), PARTICLE / VOLUME, lower=0), + VariableSpec("phi_V", "electrostatics", "cells", (2,), VOLT), + VariableSpec("occupancy", "trap", "cells", (2,), ONE, lower=0, upper=1), + VariableSpec("D_C_m2", "electrostatics", "faces", (1,), COULOMB / AREA)) + equations = (EquationSpec("charge", "electrostatics", "cells", (2,), COULOMB / SECOND, + derivative_support=("n_m3", "p_m3", "phi_V")), + EquationSpec("carrier", "capture", "cells", (2,), PARTICLE / SECOND, + derivative_support=("n_m3", "occupancy")), + EquationSpec("trap", "capture", "cells", (2,), PARTICLE / SECOND, + derivative_support=("n_m3", "occupancy"))) + layout = Layout(supports, variables, equations) + fields = [("n_m3", DoubleArray([n0, n0])), ("p_m3", DoubleArray([n0, n0])), + ("phi_V", DoubleArray([gauge, gauge])), ("occupancy", DoubleArray([0.5, 0.5])), + ("D_C_m2", DoubleArray([float(NC08["displacement"]["D0_C_m2"])]))] + modes = {v.id: ("log" if n0 > 0 else "inactive") if v.id in {"n_m3", "p_m3"} + else "linear" for v in variables} + coordinates = RelativeCoordinates(layout, modes) + return coordinates, coordinates.initial(StateView(layout, fields)) + + +def advance(coordinates, point, changes, time=1.0): + dy = np.zeros(point.state.layout.size) + for name, value in changes.items(): + dy[point.state.layout.offsets[name]] = np.asarray(value).ravel() + return coordinates.advance(point, dy, time, point.inputs) + + +def restored_increment(left, right): + return StateIncrement.from_points(left, right) + + +@pytest.mark.parametrize("sign", [-1, 0, 1]) +def test_displacement_helper_contracts_all_temporal_face_words(sign, request): + """The actual LD-02 helper must keep a face term hidden below two words.""" + layout = Layout((Support("nodes", "global", (2,)),), + (VariableSpec("phi_V", "electrostatics", "nodes", (2,), VOLT),), ()) + coordinates = RelativeCoordinates(layout, {"phi_V": "linear"}) + root = coordinates.initial(StateView(layout, [("phi_V", DoubleArray([0., 0.]))])) + left, _ = coordinates.trial(root, [2.0**-216, 2.0**-216], 1.) + primitive = PrimitiveExpansion(tuple(sign*np.array(values) for values in + ([1., 1.], [2.0**-54, 2.0**-54], [2.0**-108, 2.0**-108], [2.0**-162, 2.0**-161]))) + right, increment = coordinates.trial(root, primitive, 2., predecessor=left) + geometry = FaceGeometry(np.array([[0, 1]]), np.array([1e-8])) + epsilon = EPS_0*12 + expected = -Fraction.from_float(epsilon)*sign*Fraction.from_float(2.0**-162)/Fraction.from_float(1e-8) + actual = displacement_current_from_potential(left, right, increment, geometry, epsilon) + with localcontext() as context: + context.prec = 100 + reference = Decimal(expected.numerator)/Decimal(expected.denominator) + check = close_record(actual, [reference], 0., 1e-28) + # This explicitly retained counterexample is diagnostic only; the helper + # above no longer takes this lossy path. + projected = increment.field("phi_V").as_dd() + premature_face = projected[1]-projected[0] + restored_left = decode_point(encode_point(left), layout) + restored_right = decode_point(encode_point(right), layout) + restored = displacement_current_from_potential( + restored_left, restored_right, StateIncrement.from_points(restored_left, restored_right), + geometry, epsilon) + conclude(request, {"family": "LD02_full_temporal_face", "sign": sign, + "independent_fraction_reference": str(expected), "comparison": check, + "premature_DD_face": [float(premature_face.hi), float(premature_face.lo)], + "native_steps": 0, "current_point": right.identity}, + {"actual_helper_precision": check["passed"], + "sign_and_zero": check["sign_and_exact_zero_match"], + "earlier_projection_loses_face": premature_face == 0, + "codec_keeps_observable": restored.identity_bytes() == actual.identity_bytes()}) + + +def exact_root_fields(point): + """Only an unchanged, exactly resolved test seed may become another root.""" + fields = [] + for name in point.state.fields: + projection = point.state.project_field(name) + projection.require_error(np.zeros(projection.value.shape)) + fields.append((name, projection.value)) + return fields + + +def relative_reference(left, changes, density_id, precision): + """Evaluate the specified map from its binary inputs, before word projection.""" + with localcontext() as ctx: + ctx.prec = precision + n0 = words(left.state.field(density_id), precision) + phi0 = words(left.state.field("phi_V"), precision) + dn = changes.get(density_id, np.zeros(len(n0))) + dp = changes.get("phi_V", np.zeros(len(phi0))) + return ([v * binary(z).exp() for v, z in zip(n0, dn, strict=True)], + [v + binary(z) for v, z in zip(phi0, dp, strict=True)]) + + +def bernoulli_reference(x): + if abs(x) < Decimal("1e-8"): + return 1 - x / 2 + x*x / 12 - x**4 / 720 + x**6 / 30240 - x**8 / 1209600 + x**10 / 47900160 + return x / (x.exp() - 1) + + +def sg_reference(n, phi, pairs, spacing, diffusion, charge, vt, carrier, precision=80): + with localcontext() as ctx: + ctx.prec = precision + result = [] + for index, (i, j) in enumerate(pairs): + xi = (phi[j] - phi[i]) / vt + b, bm = bernoulli_reference(xi), bernoulli_reference(-xi) + value = b * n[j] - bm * n[i] if carrier == "electron" else b * n[i] - bm * n[j] + result.append(charge * diffusion[index] / spacing[index] * value) + return result + + +@pytest.mark.parametrize("text", TEXTS) +def test_covered_nc08_actual_SG_and_charge_assembly(text, request): + gate = NC08["weak_flux"] + coordinates, left = base_point() + right, increment = advance(coordinates, left, {"n_m3": [0, float(text)]}) + face = FaceGeometry(np.array([[0, 1]]), np.array([gate["dx_m"]])) + args = dict(density_id="n_m3", thermal_voltage_V=VT, diffusion_m2_s=gate["D_m2_s"], charge_C=float(gate["q_C"])) + current = sg_current(right.state, face, **args) + change = sg_current_increment(left, right, increment, face, **args) + with localcontext() as ctx: + ctx.prec = 80 + dn = Decimal(NC08["decimal_inputs"]["n0"]) * series_expm1(Decimal(text)) + reference = Decimal(gate["q_C"]) * Decimal(str(gate["D_m2_s"])) / Decimal(str(gate["dx_m"])) * dn + check = close_record(current, [reference], gate["atol_A_m2"], gate["rtol"]) + delta_check = close_record(change, [reference], gate["atol_A_m2"], gate["rtol"]) + actual_reference = [base_reference("SG", text, p) for p in [80, 100]] + binary_check = close_record(current, [actual_reference[0]], gate["atol_A_m2"], gate["rtol"]) + uncertainty = reference_uncertainty([actual_reference[0]], [actual_reference[1]], gate["atol_A_m2"], gate["rtol"]) + geometry = Geometry([gate["dx_m"] / 2] * 2, np.array([[0, 1]]), [1.0]) + assembled = assemble_charge_rate(right.state, "charge", geometry, current) + assembly_check = close_record(assembled, [-reference, reference], gate["atol_A_m2"], gate["rtol"]) + restored = decode_point(json.loads(json.dumps(encode_point(right))), right.state.layout) + restored_current = sg_current(restored.state, face, **args) + conclude(request, {"family": "covered_NC08_SG", "input": text, "current": check, + "finite_current_change": delta_check, "assembled_charge_rate": assembly_check, + "binary_input_reference": binary_check, "reference_uncertainty": uncertainty, + "binary_inputs": binary_inputs(n0=float(NC08["decimal_inputs"]["n0"]), delta_log=float(text), + q=float(gate["q_C"]), D=gate["D_m2_s"], dx=gate["dx_m"], VT=VT), + "decimal_to_binary_quantization_effect": str(actual_reference[0] - reference), + "source_area_m2": 1.0, "restored_identity": restored.identity}, + {"SG_value": check["passed"], "finite_increment": delta_check["passed"], + "charge_assembly": assembly_check["passed"], "zero_nonzero": (words(current)[0] == 0) == (text == "0"), + "signed_current": check["sign_and_exact_zero_match"], + "binary_reference": binary_check["passed"] and uncertainty["passed"], + "codec_identity": restored.identity == right.identity, + "restored_physics_same_words": restored_current.identity_bytes() == current.identity_bytes()}) + + +@pytest.mark.parametrize("text", TEXTS) +def test_covered_nc08_actual_net_capture_and_sources(text, request): + gate = NC08["capture"] + coordinates, left = base_point() + right, increment = advance(coordinates, left, {"n_m3": [0, float(text)]}) + closure = ElectronTrapCapture(gate["capture_coefficient"], gate["trap_density"], + float(NC08["decimal_inputs"]["n0"])) + rate = closure.net_rate(right.state) + rate_change = closure.finite_change(left, right, increment) + with localcontext() as ctx: + ctx.prec = 80 + dn = Decimal(NC08["decimal_inputs"]["n0"]) * series_expm1(Decimal(text)) + expected = Decimal(str(gate["capture_coefficient"])) * Decimal(str(gate["trap_density"])) * (1 - Decimal(str(gate["occupancy"]))) * dn + check = close_record(rate, [Decimal(0), expected], gate["atol"], gate["rtol"]) + delta_check = close_record(rate_change, [Decimal(0), expected], gate["atol"], gate["rtol"]) + actual_reference = [base_reference("capture", text, p) for p in [80, 100]] + binary_check = close_record(rate, [Decimal(0), actual_reference[0]], gate["atol"], gate["rtol"]) + uncertainty = reference_uncertainty([actual_reference[0]], [actual_reference[1]], gate["atol"], gate["rtol"]) + dx = NC08["weak_flux"]["dx_m"] + geometry = Geometry([dx / 2] * 2, np.array([[0, 1]]), [1.0]) + carrier, trapped = closure.assembled_inventory_sources(right.state, geometry, "carrier", "trap") + balanced = carrier.as_dd() + trapped.as_dd() + restored = decode_point(encode_point(right), right.state.layout) + conclude(request, {"family": "covered_NC08_capture", "input": text, "net_rate": check, + "finite_rate_change": delta_check, "assembled_carrier": [str(v) for v in words(carrier)], + "binary_input_reference": binary_check, "reference_uncertainty": uncertainty, + "binary_inputs": binary_inputs(n0=float(NC08["decimal_inputs"]["n0"]), delta_log=float(text), + cn=gate["capture_coefficient"], Nt=gate["trap_density"], f=gate["occupancy"]), + "decimal_to_binary_quantization_effect": str(actual_reference[0] - expected), + "assembled_trapped": [str(v) for v in words(trapped)]}, + {"actual_capture_emission": check["passed"], "finite_change": delta_check["passed"], + "shared_reaction_inventory": np.all(balanced == 0), + "signed_capture": check["sign_and_exact_zero_match"], + "binary_reference": binary_check["passed"] and uncertainty["passed"], + "zero_nonzero": (words(rate)[1] == 0) == (text == "0"), + "restored_consumer_words": closure.net_rate(restored.state).identity_bytes() == rate.identity_bytes()}) + + +def test_covered_nc08_actual_displacement_consumer(request): + gate = NC08["displacement"] + coordinates, left = base_point() + right, increment = advance(coordinates, left, {"D_C_m2": [float(gate["increment_C_m2"])]}, float(gate["dt_s"])) + current = displacement_current(left, right, increment) + expected = Decimal(gate["expected_current_A_m2"]) + check = close_record(current, [expected], gate["atol_A_m2"], gate["rtol"]) + restored = decode_point(encode_point(right), right.state.layout) + recovered = displacement_current(left, restored, restored_increment(left, restored)) + recovered_check = close_record(recovered, [expected], gate["atol_A_m2"], gate["rtol"]) + conclude(request, {"family": "covered_NC08_displacement", "current": check, + "binary_inputs": binary_inputs(D0=float(gate["D0_C_m2"]), delta_D=float(gate["increment_C_m2"]), dt=float(gate["dt_s"])), + "restored_endpoint_current": recovered_check}, + {"increment_consumer": check["passed"], "restored_endpoint_consumer": recovered_check["passed"], + "same_rounded_absolute_D": np.array_equal(left.state.field("D_C_m2").high, right.state.field("D_C_m2").high), + "signed_nonzero": check["sign_and_exact_zero_match"] and recovered_check["sign_and_exact_zero_match"]}) + + +@pytest.mark.parametrize("carrier", ["electron", "hole"]) +@pytest.mark.parametrize("drive", ["density", "potential", "mixed"]) +@pytest.mark.parametrize("gauge", [0.0, 1.0]) +@pytest.mark.parametrize("text", TEXTS) +def test_extended_SG_physical_potential_density_and_codec(carrier, drive, gauge, text, request): + """The authoritative input is now the map; old projected-word failures remain archived.""" + gate = NC08["weak_flux"] + coordinates, left = base_point(gauge=gauge) + changes = {} + density_id = "n_m3" if carrier == "electron" else "p_m3" + if drive != "potential": + changes[density_id] = [0, float(text)] + if drive != "density": + changes["phi_V"] = [0, -VT * float(text)] + right, increment = advance(coordinates, left, changes) + face = FaceGeometry(np.array([[0, 1]]), np.array([gate["dx_m"]])) + args = dict(density_id=density_id, thermal_voltage_V=VT, diffusion_m2_s=gate["D_m2_s"], charge_C=float(gate["q_C"]), carrier=carrier) + actual = sg_current(right.state, face, **args) + delta = sg_current_increment(left, right, increment, face, **args) + refs = [] + for precision in [80, 100]: + density, potential = relative_reference(left, changes, density_id, precision) + refs.append(sg_reference(density, potential, + face.pairs, [binary(gate["dx_m"])], [binary(gate["D_m2_s"])], + binary(float(gate["q_C"])), binary(VT), carrier, precision)) + check = close_record(actual, refs[0], gate["atol_A_m2"], gate["rtol"]) + delta_check = close_record(delta, refs[0], gate["atol_A_m2"], gate["rtol"]) + restored = decode_point(json.loads(json.dumps(encode_point(right))), right.state.layout) + restored_check = close_record(sg_current(restored.state, face, **args), refs[0], gate["atol_A_m2"], gate["rtol"]) + ref_error = max(abs(a - b) for a, b in zip(*refs)) + nonzero_expected = any(ref != 0 for ref in refs[0]) + conclude(request, {"family": "extended_SG", "carrier": carrier, "drive": drive, "gauge_V": gauge, + "input": text, "current": check, "finite_change": delta_check, + "actual_state": encode_point(right), + "binary_inputs": binary_inputs(q=float(gate["q_C"]), D=gate["D_m2_s"], dx=gate["dx_m"], VT=VT), + "restored": restored_check, "reference_80_vs_100": str(ref_error)}, + {"SG": check["passed"], "increment": delta_check["passed"], "restored": restored_check["passed"], + "zero_nonzero": any(v != 0 for v in words(actual)) == nonzero_expected, + "current_sign": check["sign_and_exact_zero_match"], + "increment_sign": delta_check["sign_and_exact_zero_match"], + "reference": ref_error <= Decimal(str(NC08["reference_error_bound"]))}) + + +@pytest.mark.parametrize("text", ["0", "1e-22", "-1e-22"]) +@pytest.mark.parametrize("gauge", [0.0, 1.0]) +def test_extended_constitutive_displacement_chain(text, gauge, request): + gate = NC08["displacement"] + dx, eps = NC08["weak_flux"]["dx_m"], EPS_0 * 20.0 + coords, base = base_point(gauge=gauge) + slope = -DD(float(gate["D0_C_m2"])) * dx / eps + fields = [(key, value) for key, value in exact_root_fields(base) if key != "phi_V"] + fields.append(("phi_V", DoubleArray.from_dd(DD([gauge, gauge]) + DD([0.0, float(slope.hi)], [0.0, float(slope.lo)])))) + left = coords.initial(StateView(base.state.layout, fields)) + proposed_dphi = -DD(float(text)) * dx / eps + # The public coordinate is binary64; retain its quantization explicitly in + # the reference, then compare it separately with the nominal DeltaD target. + coordinate_dphi = float(proposed_dphi.hi) + right, increment = advance(coords, left, {"phi_V": [0, coordinate_dphi]}, float(gate["dt_s"])) + face = FaceGeometry(np.array([[0, 1]]), np.array([dx])) + current = displacement_current_from_potential(left, right, increment, face, eps) + with localcontext() as ctx: + ctx.prec = 80 + realized = -binary(eps) * binary(coordinate_dphi) / binary(dx) / binary(float(gate["dt_s"])) + nominal = Decimal(text) / Decimal(gate["dt_s"]) + quantization = abs(realized - nominal) + with localcontext() as ctx: + ctx.prec = 100 + realized100 = -binary(eps) * binary(coordinate_dphi) / binary(dx) / binary(float(gate["dt_s"])) + uncertainty = reference_uncertainty([realized], [realized100], gate["atol_A_m2"], gate["rtol"]) + check = close_record(current, [nominal], gate["atol_A_m2"], gate["rtol"]) + restored = decode_point(encode_point(right), right.state.layout) + restored_current = displacement_current_from_potential(left, restored, restored_increment(left, restored), face, eps) + restore_check = close_record(restored_current, [nominal], gate["atol_A_m2"], gate["rtol"]) + D0, D1 = electric_displacement(left.state, face, eps), electric_displacement(right.state, face, eps) + conclude(request, {"family": "extended_displacement", "increment_C_m2": text, "gauge_V": gauge, + "current": check, "restored_current": restore_check, + "coordinate_dphi_V": coordinate_dphi, "input_quantization_current": str(quantization), + "reference_uncertainty": uncertainty, + "binary_inputs": binary_inputs(epsilon=eps, dx=dx, delta_phi=coordinate_dphi, dt=float(gate["dt_s"])), + "D0_words": [str(v) for v in words(D0)], "D1_words": [str(v) for v in words(D1)]}, + {"constitutive_chain": check["passed"], "restored_chain": restore_check["passed"], + "zero_nonzero": (words(current)[0] == 0) == (text == "0"), + "signed_current": check["sign_and_exact_zero_match"] and restore_check["sign_and_exact_zero_match"], + "reference_uncertainty": uncertainty["passed"], + "input_quantization": quantization <= (Decimal(str(gate["atol_A_m2"])) + Decimal(str(gate["rtol"])) * abs(nominal)) / 3}) + + +def source_point(case_name): + assert sha256(FIXTURE.read_bytes()).hexdigest() == FIXTURE_SHA + fixture = json.loads(FIXTURE.read_text()) + case = fixture["cases"][case_name] + if case_name == "step183_accepted": + raw = case["saved_row"]["state"] + coordinate = case["saved_row"]["physics_reconstruction"]["coordinate"] + timestamp = case["saved_row"]["time_s"] + else: + raw, coordinate = case["saved_witness"]["attempted_state"], case["saved_witness"]["coordinate"] + timestamp = case["saved_witness"]["previous_time_s"] + case["saved_witness"]["dt_s"] + units = {"n_m3": PARTICLE / VOLUME, "p_m3": PARTICLE / VOLUME, "phi_V": VOLT, + "positive_m3": PARTICLE / VOLUME, "occupancy": ONE, + "trace_state_m3": PARTICLE / VOLUME, "trace_potential_V": VOLT} + supports, variables, fields = [], [], [] + for name, unit in units.items(): + value = np.asarray(raw[name], float) + supports.append(Support(name, "global", value.shape)) + variables.append(VariableSpec(name, "original-physical-input", name, value.shape, unit)) + fields.append((name, DoubleArray(value))) + layout = Layout(tuple(supports), tuple(variables), ()) + return fixture, Point(timestamp, np.asarray(coordinate), np.empty(0), StateView(layout, fields), + f"original-physical-snapshot:{FIXTURE_SHA}:{case_name}") + + +def lift_reference(left, changes, precision): + deltas, fields = {}, {} + with localcontext() as ctx: + ctx.prec = precision + for name in left.state.fields: + origin = words(left.state.field(name), precision) + if name in {"n_m3", "p_m3", "positive_m3", "trace_state_m3"}: + mode = {"n_m3": "electron", "p_m3": "hole", "positive_m3": "positive", "trace_state_m3": "trace_density"}[name] + drives = [binary(v) for v in changes[mode].ravel()] + if name in {"n_m3", "p_m3"}: + sign = 1 if name == "n_m3" else -1 + drives = [d + sign * binary(z) for d, z in zip(drives, changes["potential"].ravel(), strict=True)] + delta = [v * series_expm1(d) for v, d in zip(origin, drives, strict=True)] + elif name == "occupancy": + odds = [series_expm1(binary(v)) for v in changes["occupancy"].ravel()] + delta = [f * (1 - f) * e / (1 + f * e) for f, e in zip(origin, odds, strict=True)] + elif name in {"phi_V", "trace_potential_V"}: + mode = "potential" if name == "phi_V" else "trace_potential" + delta = [binary(VT) * binary(z) for z in changes[mode].ravel()] + else: + raise AssertionError("uncovered physical field") + deltas[name] = delta + fields[name] = [v + d for v, d in zip(origin, delta, strict=True)] + return deltas, fields + + +@pytest.mark.parametrize("case_name", ["step183_failed", "step183_accepted", "step309_failed"]) +@pytest.mark.parametrize("drive", ["density", "potential", "mixed"]) +@pytest.mark.parametrize("text", TEXTS) +def test_extended_saved_R1_fields_consume_new_input_lift(case_name, drive, text, request): + fixture, left = source_point(case_name) + x = float(text) + changes = {mode: np.zeros(left.state.field(field).shape) for mode, field in { + "electron": "n_m3", "hole": "p_m3", "potential": "phi_V", "positive": "positive_m3", + "occupancy": "occupancy", "trace_density": "trace_state_m3", "trace_potential": "trace_potential_V"}.items()} + if drive != "potential": + for mode in ["electron", "positive", "occupancy", "trace_density"]: + changes[mode][:] = x + changes["hole"][:] = -x + inactive = np.ones(changes["positive"].size, dtype=bool) + inactive[fixture["prepared"]["grid"]["positive_nodes"]] = False + changes["positive"][inactive] = 0.0 + if drive != "density": + changes["potential"][:] = x + changes["trace_potential"][:] = x + right, inc = lift_physical_inputs(left, VT, changes, left.time + 1.0) + restored = decode_point(json.loads(json.dumps(encode_point(right))), right.state.layout) + reconstructed = restored_increment(left, restored) + deltas80, refs80 = lift_reference(left, changes, 80) + deltas100, refs100 = lift_reference(left, changes, 100) + comparisons, uncertainties = {}, {} + for name in left.state.fields: + with localcontext() as ctx: + ctx.prec = 100 + scale = Decimal(1) + if name == "occupancy": + scale = Decimal(NC08["decimal_inputs"]["n0"]) + elif name in {"phi_V", "trace_potential_V"}: + scale = Decimal(NC08["decimal_inputs"]["n0"]) / binary(VT) + reference80 = [scale * v for v in deltas80[name]] + reference100 = [scale * v for v in deltas100[name]] + for label, change in [(name, inc), (name + "_restored", reconstructed)]: + actual = DoubleArray.from_dd(change.field(name).as_dd() * float(scale)) + comparisons[label] = close_record(actual, reference80, NC08["density_increment_atol"], NC08["density_increment_rtol"]) + uncertainties[name] = reference_uncertainty(reference80, reference100, NC08["density_increment_atol"], NC08["density_increment_rtol"]) + grid = fixture["prepared"]["grid"] + nodes = np.asarray(grid["coordinates_m"]) + selected = np.ones(nodes.size - 1, dtype=bool) + for interface in grid["interface_positions_m"]: + selected &= ~((nodes[:-1] <= interface) & (nodes[1:] >= interface)) + indices = np.flatnonzero(selected) + pairs = np.column_stack((indices, indices + 1)) + face = FaceGeometry(pairs, np.diff(nodes)[indices]) + layers = fixture["prepared"]["physical_stack"]["layers"] + assert fixture["prepared"]["physical_stack"]["T"] == 300.0 + current_comparisons, current_uncertainties = {}, {} + for carrier, density_id in [("electron", "n_m3"), ("hole", "p_m3")]: + mobility = [layer["params"]["mu_n" if carrier == "electron" else "mu_p"] for layer in layers] + assert len(set(mobility)) == 1 + diffusion = mobility[0] * VT + args = dict(density_id=density_id, thermal_voltage_V=VT, diffusion_m2_s=diffusion, charge_C=Q, carrier=carrier) + value = sg_current_increment(left, right, inc, face, **args) + restored_value = sg_current_increment(left, restored, reconstructed, face, **args) + refs = [] + for precision, fields in [(80, refs80), (100, refs100)]: + before = sg_reference(words(left.state.field(density_id), precision), words(left.state.field("phi_V"), precision), pairs, + [binary(v) for v in face.spacing_m], [binary(diffusion)] * len(pairs), binary(Q), binary(VT), carrier, precision) + after = sg_reference(fields[density_id], fields["phi_V"], pairs, + [binary(v) for v in face.spacing_m], [binary(diffusion)] * len(pairs), binary(Q), binary(VT), carrier, precision) + with localcontext() as ctx: + ctx.prec = precision + refs.append([a - b for a, b in zip(after, before, strict=True)]) + gate = NC08["weak_flux"] + current_comparisons[carrier] = close_record(value, refs[0], gate["atol_A_m2"], gate["rtol"]) + current_comparisons[carrier + "_restored"] = close_record(restored_value, refs[0], gate["atol_A_m2"], gate["rtol"]) + current_uncertainties[carrier] = reference_uncertainty(*refs, gate["atol_A_m2"], gate["rtol"]) + conclude(request, {"family": "extended_R1_origin_lift", "origin": case_name, "drive": drive, "input": text, + "probe_is_new_not_historical_coordinate_replay": True, "fixture_sha256": FIXTURE_SHA, + "source_words": "original exported binary64 physical fields; no fabricated historical DD/QF reconstruction", + "origin_identity": left.identity, "lifted_identity": right.identity, + "field_comparisons": comparisons, "field_reference_uncertainty": uncertainties, + "current_comparisons": current_comparisons, "current_reference_uncertainty": current_uncertainties, + "selected_bulk_faces": indices.tolist(), "excluded_TE_faces": np.flatnonzero(~selected).tolist(), + "Fermi_table_or_full_R1_qualification": False}, + {"lifted_physical_fields": all(v["passed"] for v in comparisons.values()), + "actual_bulk_SG_consumption": all(v["passed"] for v in current_comparisons.values()), + "physical_sign_and_exact_zero": all(v["sign_and_exact_zero_match"] for v in comparisons.values()), + "SG_sign_and_exact_zero": all(v["sign_and_exact_zero_match"] for v in current_comparisons.values()), + "reference_uncertainty": all(v["passed"] for v in [*uncertainties.values(), *current_uncertainties.values()]), + "codec_identity": restored.identity == right.identity, + "all_physical_words_preserved": all(restored.state.field(k).identity_bytes() == right.state.field(k).identity_bytes() for k in right.state.fields)}) + + +def test_extended_coupled_voltage_lift_retains_carrier_history(request): + _, anchor = base_point() + extra_support = Support("qf", "global", (2,)) + layout = Layout((*anchor.state.layout.supports, extra_support), + (*anchor.state.layout.variables, + VariableSpec("dqfn_V", "carrier", "qf", (2,), VOLT), + VariableSpec("dqfp_V", "carrier", "qf", (2,), VOLT)), anchor.state.layout.equations) + state = StateView(layout, [*exact_root_fields(anchor), ("dqfn_V", DoubleArray([0.0, 0.0])), + ("dqfp_V", DoubleArray([0.0, 0.0]))]) + left = Point(0.0, np.zeros(layout.size), np.array([0.0]), state, "voltage-lift-physical-origin") + lift = np.array([VT * 1e-17, -VT * 1e-17]) + right, inc = lift_physical_inputs(left, VT, {}, 1.0, voltage_lift_V=lift, inputs=np.array([lift[0]])) + nsum = inc.field("dqfn_V").as_dd() + inc.field("phi_V").as_dd() + psum = inc.field("dqfp_V").as_dd() - inc.field("phi_V").as_dd() + conclude(request, {"family": "extended_voltage_lift", "lift_V": lift.tolist(), + "left_identity": left.identity, "right_identity": right.identity}, + {"carrier_n_unchanged": np.all(inc.field("n_m3").as_dd() == 0), + "carrier_p_unchanged": np.all(inc.field("p_m3").as_dd() == 0), + "n_QF_potential_cancel": np.all(nsum == 0), "p_QF_potential_cancel": np.all(psum == 0), + "voltage_lift_remains_nonzero": np.any(inc.field("phi_V").as_dd() != 0), + "public_input_is_recorded": right.inputs[0] == lift[0] and left.inputs[0] == 0.0}) + + +def test_extended_strict_zero_and_invalid_input_guards(request): + coords, left = base_point(n0=0) + origin = Point(left.time, left.y, left.inputs, StateView(left.state.layout, exact_root_fields(left)), + "external-zero-input") + face = FaceGeometry(np.array([[0, 1]]), np.array([1e-8])) + value = sg_current(left.state, face, density_id="n_m3", thermal_voltage_V=VT, + diffusion_m2_s=1e-4, charge_C=Q) + disabled = sg_current(base_point()[1].state, face, density_id="n_m3", thermal_voltage_V=VT, + diffusion_m2_s=0.0, charge_C=Q) + no_sites = ElectronTrapCapture(1e-16, 0.0, 1e22).net_rate(left.state) + no_capture = ElectronTrapCapture(0.0, 1e16, 1e22).net_rate(left.state) + metadata = face.pairs; metadata.shape = (2, 1) + errors = [] + for function in [lambda: FaceGeometry(np.array([[0, 1]]), np.array([0.0])), + lambda: lift_physical_inputs(origin, VT, {"electron": [1e-17]}, 1.0), + lambda: lift_physical_inputs(origin, VT, {"potential": [np.nan, 0.0]}, 1.0), + lambda: lift_physical_inputs(left, VT, {}, 1.0)]: + with pytest.raises(ContractError) as caught: + function() + errors.append(caught.value.reason) + conclude(request, {"family": "extended_zero_guards", "errors": errors}, + {"zero_species": np.all(value.as_dd() == 0), "zero_diffusivity": np.all(disabled.as_dd() == 0), + "disabled_capture_exact_zero": np.all(no_sites.as_dd() == 0) and np.all(no_capture.as_dd() == 0), + "geometry_metadata_owned": face.pairs.shape == (1, 2), + "expected_rejections": errors == ["invalid_face_geometry", "input_lift_coordinate_shape_mismatch", "nonfinite_array", "incompatible_state_authority"]}) + + +@pytest.mark.parametrize("text", TEXTS) +@pytest.mark.parametrize("gauge", [0.0, 1.0]) +def test_diagnostic_declared_increment_and_endpoint_references(text, gauge, request): + """Map, stored finite-delta words and external endpoint words are distinct inputs. + + Old Attempt02/03 cross-representation failures stay failed. Each current + comparison binds its own Point authority and its independent exact input. + """ + gate = NC08["weak_flux"] + coordinates, left = base_point(gauge=gauge) + changes = {"p_m3": [0, float(text)], "phi_V": [0, -VT * float(text)]} + right, inc = advance(coordinates, left, changes) + face = FaceGeometry(np.array([[0, 1]]), np.array([gate["dx_m"]])) + args = dict(density_id="p_m3", thermal_voltage_V=VT, diffusion_m2_s=gate["D_m2_s"], + charge_C=float(gate["q_C"]), carrier="hole") + restored_left = decode_point(json.loads(json.dumps(encode_point(left))), left.state.layout) + restored_right = decode_point(json.loads(json.dumps(encode_point(right))), right.state.layout) + restored_inc = StateIncrement.from_points(restored_left, restored_right) + + # The finite words define a linear map, not a guessed delta for the original map. + linear = RelativeCoordinates(left.state.layout, {name: "linear" for name in left.state.fields}) + stored_left = linear.initial(StateView(left.state.layout, exact_root_fields(left))) + step = DoubleArray(np.concatenate([inc.field(v.id).high.ravel() for v in left.state.layout.variables]), + np.concatenate([inc.field(v.id).low.ravel() for v in left.state.layout.variables])) + stored_right, stored_inc = linear.advance(stored_left, step, right.time, right.inputs) + + # Explicit external inputs test the old rounded-word meaning; this is not a rebase. + endpoint_left = Point(left.time, left.y, left.inputs, + StateView(left.state.layout, exact_root_fields(left)), "external-endpoint-left") + endpoint_right = Point(right.time, right.y, right.inputs, StateView(right.state.layout, [ + (name, DoubleArray(value.high, value.low)) for name, value in right.state.fields.items() + ]), "external-endpoint-right") + endpoint_inc = StateIncrement.from_points(endpoint_left, endpoint_right) + pairs = {"mapped": (left, right, inc), "stored_delta": (stored_left, stored_right, stored_inc), + "encoded_endpoint": (endpoint_left, endpoint_right, endpoint_inc)} + references = {name: [] for name in pairs} + for precision in (80, 100): + with localcontext() as ctx: + ctx.prec = precision + n0 = words(left.state.field("p_m3"), precision) + phi0 = words(left.state.field("phi_V"), precision) + mapped_n, mapped_phi = relative_reference(left, changes, "p_m3", precision) + stored_n = [v+d for v,d in zip(n0, words(inc.field("p_m3"), precision), strict=True)] + stored_phi = [v+d for v,d in zip(phi0, words(inc.field("phi_V"), precision), strict=True)] + for name, density, potential in [ + ("mapped", mapped_n, mapped_phi), ("stored_delta", stored_n, stored_phi), + ("encoded_endpoint", words(right.state.field("p_m3"), precision), + words(right.state.field("phi_V"), precision)), + ]: + references[name].append(sg_reference(density, potential, face.pairs, + [binary(gate["dx_m"])], [binary(gate["D_m2_s"])], binary(float(gate["q_C"])), + binary(VT), "hole", precision)) + checks = {} + for name, (before, after, delta) in pairs.items(): + checks[name] = close_record(sg_current(after.state, face, **args), references[name][0], + gate["atol_A_m2"], gate["rtol"]) + checks[name+"_increment"] = close_record(sg_current_increment(before, after, delta, face, **args), + references[name][0], gate["atol_A_m2"], gate["rtol"]) + checks["restored"] = close_record(sg_current_increment(restored_left, restored_right, restored_inc, face, **args), + references["mapped"][0], gate["atol_A_m2"], gate["rtol"]) + uncertainties = {name: reference_uncertainty(*refs, gate["atol_A_m2"], gate["rtol"]) + for name, refs in references.items()} + conclude(request, {"family": "diagnostic_distinct_input_authorities", "input": text, "gauge_V": gauge, + "values": checks, "reference_uncertainty": uncertainties, + "endpoint_identities": {name: after.identity for name, (_,after,_) in pairs.items()}, + "prior_failures": "Original DevicePrototypeAttempt02/03 remain failed; current maps have explicit distinct meanings."}, + {"separate_exact_inputs": all(v["passed"] and v["sign_and_exact_zero_match"] for v in checks.values()), + "independent_reference_precision": all(v["passed"] for v in uncertainties.values()), + "distinct_identities": len({after.identity for _,after,_ in pairs.values()}) == 3, + "restored_identity": restored_right.identity == right.identity}) + + +@pytest.mark.parametrize("carrier", ["electron", "hole"]) +@pytest.mark.parametrize("weak", [0.0, 1e-40, -1e-40]) +def test_localized_input_lift_SG_consumes_weak_activity(carrier, weak, request): + _, seed = base_point(gauge=1.0) + origin = Point(seed.time, seed.y, seed.inputs, StateView(seed.state.layout, exact_root_fields(seed)), + "localized-r1-physical-input") + changes = {"potential": [0.1, 0.3], "electron": [0.0, weak], "hole": [0.0, -weak]} + right, inc = lift_physical_inputs(origin, VT, changes, 1.0) + gate = NC08["weak_flux"] + face = FaceGeometry(np.array([[0, 1]]), np.array([gate["dx_m"]])) + density_id = "n_m3" if carrier == "electron" else "p_m3" + args = dict(density_id=density_id, thermal_voltage_V=VT, diffusion_m2_s=gate["D_m2_s"], + charge_C=float(gate["q_C"]), carrier=carrier) + refs = [] + for precision in (100, 120): + with localcontext() as ctx: + ctx.prec = precision + role = changes[carrier] + sign = 1 if carrier == "electron" else -1 + density = [binary(float(NC08["decimal_inputs"]["n0"])) * + (binary(z) + sign*binary(p)).exp() for z,p in zip(role, changes["potential"], strict=True)] + potential = [Decimal(1) + binary(VT)*binary(p) for p in changes["potential"]] + refs.append(sg_reference(density, potential, face.pairs, [binary(gate["dx_m"])], + [binary(gate["D_m2_s"])], binary(float(gate["q_C"])), binary(VT), carrier, precision)) + # Exactly zero drive has exactly zero physical current; Decimal exp subtraction + # can leave a precision-dependent residue, which is retained as reference error. + if weak == 0: + assert max(abs(v) for values in refs for v in values) < Decimal("1e-70") + refs = [[Decimal(0)], [Decimal(0)]] + current = close_record(sg_current(right.state, face, **args), refs[0], 0.0, gate["rtol"]) + delta = close_record(sg_current_increment(origin, right, inc, face, **args), refs[0], 0.0, gate["rtol"]) + restored = decode_point(encode_point(right), right.state.layout) + restored_value = close_record(sg_current(restored.state, face, **args), refs[0], 0.0, gate["rtol"]) + uncertainty = reference_uncertainty(*refs, 0.0, gate["rtol"]) + conclude(request, {"family":"localized_R1_weak_SG","carrier":carrier,"weak":weak, + "current":current,"finite_change":delta,"restored":restored_value, + "reference_uncertainty":uncertainty}, + {"current":current["passed"] and current["sign_and_exact_zero_match"], + "finite_change":delta["passed"] and delta["sign_and_exact_zero_match"], + "codec":restored_value["passed"] and restored_value["sign_and_exact_zero_match"], + "reference_precision":uncertainty["passed"]}) + + +@pytest.mark.parametrize("carrier", ["electron", "hole"]) +@pytest.mark.parametrize("weak", [1e-40, -1e-40]) +@pytest.mark.parametrize("step", [0.0, 0.1, 2.0**-24, 2.0**-25, 2.0**-26, 1e-8, -1e-8, 1e-9, 1e-17]) +def test_nonzero_weak_current_survives_common_potential_step(carrier, weak, step, request): + """A common potential primitive scales the populations and their nonzero flux.""" + _, seed = base_point(gauge=1.0) + origin = Point(seed.time, seed.y, seed.inputs, StateView(seed.state.layout, exact_root_fields(seed)), + "two-transition-r1-origin") + initial = {"potential": [0.1, 0.3], "electron": [0.0, weak], "hole": [0.0, -weak]} + left, _ = lift_physical_inputs(origin, VT, initial, 1.0) + right, inc = lift_physical_inputs(left, VT, {"potential": [step, step]}, 2.0) + gate = NC08["weak_flux"] + face = FaceGeometry(np.array([[0, 1]]), np.array([gate["dx_m"]])) + args = dict(density_id="n_m3" if carrier == "electron" else "p_m3", thermal_voltage_V=VT, + diffusion_m2_s=gate["D_m2_s"], charge_C=float(gate["q_C"]), carrier=carrier) + refs = [] + for precision in (100, 120): + with localcontext() as ctx: + ctx.prec = precision + sign = 1 if carrier == "electron" else -1 + densities = [binary(float(NC08["decimal_inputs"]["n0"])) * + (binary(z)+sign*binary(p)).exp() + for z,p in zip(initial[carrier], initial["potential"], strict=True)] + potentials = [Decimal(1)+binary(VT)*binary(p) for p in initial["potential"]] + current = sg_reference(densities, potentials, face.pairs, [binary(gate["dx_m"])], + [binary(gate["D_m2_s"])], binary(float(gate["q_C"])), + binary(VT), carrier, precision)[0] + refs.append([current*((sign*binary(step)).exp()-1)]) + delta = close_record(sg_current_increment(left, right, inc, face, **args), + refs[0], 0.0, gate["rtol"]) + restored_left = decode_point(encode_point(left), left.state.layout) + restored_right = decode_point(encode_point(right), right.state.layout) + restored = close_record(sg_current_increment(restored_left, restored_right, + StateIncrement.from_points(restored_left, restored_right), face, **args), refs[0], 0.0, gate["rtol"]) + uncertainty = reference_uncertainty(*refs, 0.0, gate["rtol"]) + conclude(request, {"family":"nonzero_R1_weak_current_change", "carrier":carrier, "weak":weak, "step":step, + "finite_change":delta, "restored":restored, "reference_uncertainty":uncertainty}, + {"finite_change":delta["passed"] and delta["sign_and_exact_zero_match"], + "codec":restored["passed"] and restored["sign_and_exact_zero_match"], + "reference_precision":uncertainty["passed"]}) + + +@pytest.mark.parametrize("x", [-50.0, -1.0, -0.250000001, -0.25, 0.0, 0.25, 0.250000001, 1.0, 50.0]) +@pytest.mark.parametrize("step", [0.0, -1e-40, 1e-40, -1e-8, 0.1]) +def test_bernoulli_finite_log_ratio_preserves_tiny_input(x, step, request): + from scripts.benchmarks.precision_prototype import bernoulli + + x0, dx = DD([x]), DD([step]) + x1 = x0 + dx + b0, b1 = [bernoulli(DoubleArray.from_dd(z)).as_dd() for z in (x0, x1)] + actual = DoubleArray.from_dd(_bernoulli_log_change(x0, x1, dx, b0, b1)) + references = [] + # The direct oracle at x=0, dx=1e-40 loses about 80 decimal digits + # through exp(x)-1 followed by log(B). Attempt12 retained the failing + # 100-digit reference-uncertainty check; increase only oracle precision. + for precision in (140, 180): + with localcontext() as ctx: + ctx.prec = precision + # Independent direct Decimal transcendental evaluation, including + # x=0 analytically. Preserve the input dx before adding endpoints. + def direct_bernoulli(z): + return Decimal(1) if z == 0 else z / (z.exp() - 1) + references.append([(direct_bernoulli(binary(x) + binary(step)) / + direct_bernoulli(binary(x))).ln()]) + check = close_record(actual, references[1], 0.0, 1e-24) + uncertainty = reference_uncertainty(*references, 0.0, 1e-24) + conclude(request, {"family": "Bernoulli_finite_log_ratio", "x": x, "step": step, + "comparison": check, "reference_uncertainty": uncertainty}, + {"finite_ratio": check["passed"] and check["sign_and_exact_zero_match"], + "reference_precision": uncertainty["passed"]}) + + +@pytest.mark.parametrize("carrier", ["electron", "hole"]) +@pytest.mark.parametrize("weak", [1e-40, -1e-40]) +@pytest.mark.parametrize("potential_step", [1e-40, -1e-40]) +def test_weak_current_finite_change_from_nonuniform_potential(carrier, weak, potential_step, request): + """A retained tiny field change changes an already tiny net current.""" + _, seed = base_point(gauge=1.0) + origin = Point(seed.time, seed.y, seed.inputs, StateView(seed.state.layout, exact_root_fields(seed)), + "two-transition-r1-nonuniform-origin") + initial = {"potential": [0.1, 0.3], "electron": [0.0, weak], "hole": [0.0, -weak]} + left, _ = lift_physical_inputs(origin, VT, initial, 1.0) + right, inc = lift_physical_inputs(left, VT, {"potential": [0.0, potential_step]}, 2.0) + gate = NC08["weak_flux"] + face = FaceGeometry([[0, 1]], [gate["dx_m"]]) + args = dict(density_id="n_m3" if carrier == "electron" else "p_m3", thermal_voltage_V=VT, + diffusion_m2_s=gate["D_m2_s"], charge_C=float(gate["q_C"]), carrier=carrier) + references = [] + for precision in (140, 180): + with localcontext() as ctx: + ctx.prec = precision + sign = 1 if carrier == "electron" else -1 + currents = [] + for delta in (0.0, potential_step): + primitive = [binary(0.1), binary(0.3) + binary(delta)] + densities = [binary(float(NC08["decimal_inputs"]["n0"])) * + (binary(z) + sign*p).exp() + for z, p in zip(initial[carrier], primitive, strict=True)] + potentials = [Decimal(1) + binary(VT)*p for p in primitive] + currents.append(sg_reference(densities, potentials, face.pairs, [binary(gate["dx_m"])], + [binary(gate["D_m2_s"])], binary(float(gate["q_C"])), binary(VT), carrier, precision)[0]) + references.append([currents[1] - currents[0]]) + actual = sg_current_increment(left, right, inc, face, **args) + check = close_record(actual, references[1], 0.0, gate["rtol"]) + uncertainty = reference_uncertainty(*references, 0.0, gate["rtol"]) + restored_left, restored_right = [decode_point(encode_point(p), p.state.layout) for p in (left, right)] + restored = sg_current_increment(restored_left, restored_right, + StateIncrement.from_points(restored_left, restored_right), face, **args) + conclude(request, {"family": "nonuniform_R1_weak_current_change", "carrier": carrier, + "weak": weak, "potential_step": potential_step, "comparison": check, + "reference_uncertainty": uncertainty}, + {"finite_change": check["passed"] and check["sign_and_exact_zero_match"], + "reference_precision": uncertainty["passed"], + "codec": actual.identity_bytes() == restored.identity_bytes()}) + + +@pytest.mark.parametrize("carrier", ["electron", "hole"]) +@pytest.mark.parametrize("potential_step", [0.0, 1e-18, -1e-18]) +def test_nonzero_affine_density_current_increment(carrier, potential_step, request): + """Linear physical-density increments remain valid away from equilibrium.""" + _, seed = base_point() + density_id = "n_m3" if carrier == "electron" else "p_m3" + fields = dict(exact_root_fields(seed)) + n0 = float(NC08["decimal_inputs"]["n0"]) + fields[density_id] = DoubleArray([n0, 1.2*n0]) + fields["phi_V"] = DoubleArray([-0.1, 0.2]) + coordinates = RelativeCoordinates(seed.state.layout, {name: "linear" for name in fields}) + left = coordinates.initial(StateView(seed.state.layout, fields.items())) + changes = {density_id: [n0*1e-17, 1.2*n0*1e-17], "phi_V": [0.0, potential_step]} + right, inc = advance(coordinates, left, changes) + gate = NC08["weak_flux"] + face = FaceGeometry([[0, 1]], [gate["dx_m"]]) + args = dict(density_id=density_id, thermal_voltage_V=VT, diffusion_m2_s=gate["D_m2_s"], + charge_C=float(gate["q_C"]), carrier=carrier) + references = [] + for precision in (100, 140): + with localcontext() as ctx: + ctx.prec = precision + n, phi = words(left.state.field(density_id), precision), words(left.state.field("phi_V"), precision) + next_n = [v+binary(d) for v, d in zip(n, changes[density_id], strict=True)] + next_phi = [v+binary(d) for v, d in zip(phi, changes["phi_V"], strict=True)] + currents = [sg_reference(density, potential, face.pairs, [binary(gate["dx_m"])], + [binary(gate["D_m2_s"])], binary(float(gate["q_C"])), binary(VT), carrier, precision)[0] + for density, potential in ((n, phi), (next_n, next_phi))] + references.append([currents[1]-currents[0]]) + actual = sg_current_increment(left, right, inc, face, **args) + check = close_record(actual, references[1], 0.0, gate["rtol"]) + uncertainty = reference_uncertainty(*references, 0.0, gate["rtol"]) + conclude(request, {"family": "nonzero_affine_density_current_increment", "carrier": carrier, + "potential_step": potential_step, "comparison": check, + "reference_uncertainty": uncertainty}, + {"finite_change": check["passed"] and check["sign_and_exact_zero_match"], + "reference_precision": uncertainty["passed"]}) + + +@pytest.mark.parametrize("carrier", ["electron", "hole"]) +@pytest.mark.parametrize("common_change", [1e21, -1e21]) +def test_affine_common_density_preserves_diffusion_current(carrier, common_change, request): + """At zero electric field, constant density gradients give constant flux.""" + _, seed = base_point() + density_id = "n_m3" if carrier == "electron" else "p_m3" + fields = dict(exact_root_fields(seed)) + n0 = float(NC08["decimal_inputs"]["n0"]) + weak = 1e-18 + fields[density_id] = DoubleArray([n0, n0], [0.0, weak]) + coordinates = RelativeCoordinates(seed.state.layout, {name: "linear" for name in fields}) + left = coordinates.initial(StateView(seed.state.layout, fields.items())) + right, inc = advance(coordinates, left, {density_id: [common_change, common_change]}) + gate = NC08["weak_flux"] + face = FaceGeometry([[0, 1]], [gate["dx_m"]]) + args = dict(density_id=density_id, thermal_voltage_V=VT, diffusion_m2_s=gate["D_m2_s"], + charge_C=float(gate["q_C"]), carrier=carrier) + with localcontext() as ctx: + ctx.prec = 100 + expected = binary(float(gate["q_C"]))*binary(gate["D_m2_s"])/binary(gate["dx_m"])*binary(weak) + if carrier == "hole": + expected = -expected + values = [close_record(sg_current(p.state, face, **args), [expected], 0.0, gate["rtol"]) + for p in (left, right)] + delta = sg_current_increment(left, right, inc, face, **args) + conclude(request, {"family": "affine_constant_diffusion_current", "carrier": carrier, + "common_density_change": common_change, "currents": values, + "finite_change_words": [str(v) for v in words(delta, 100)]}, + {"physical_values": all(v["passed"] and v["sign_and_exact_zero_match"] for v in values), + "exact_constant_gradient_flux": np.all(delta.as_dd() == 0)}) diff --git a/tests/numerical_contracts/test_error_weights.py b/tests/numerical_contracts/test_error_weights.py new file mode 100644 index 00000000..8be43637 --- /dev/null +++ b/tests/numerical_contracts/test_error_weights.py @@ -0,0 +1,192 @@ +"""Focused source and separately admitted native initial-weight checks.""" +from collections.abc import Mapping +from hashlib import sha256 +import ast +import gc +import importlib +import json +import os +from pathlib import Path +import struct +import unittest + +ROOT = Path(__file__).resolve().parents[2] +BINDING = ROOT / "scripts/benchmarks/ida_observation" + + +def frozen(value): + if isinstance(value, Mapping): + return tuple(sorted((key, frozen(item)) for key, item in value.items())) + if isinstance(value, (list, tuple)): + return tuple(map(frozen, value)) + if type(value) is float: + return struct.pack("ida_efun(m->ida_phi[0], output, m->ida_user_data)", function) + self.assertIn("memcmp(record, m, sizeof(*m))", function) + self.assertIn("m->ida_ewt", function) + self.assertNotIn("IDASolve(", function) + self.assertNotIn("IDAReInit(", function) + + def test_prepared_public_api_is_callable_source(self): + path = os.environ.get("ERROR_WEIGHT_PREPARED_SOURCE") + if not path: + self.skipTest("Explicit source preparation required; native code is not imported.") + prepared = Path(path) + pins = json.loads((BINDING / "SourcePinsV1.json").read_text()) + for name, entry in pins["files"].items(): + self.assertEqual(sha256((prepared / name).read_bytes()).hexdigest(), + entry["patched_sha256"]) + tree = ast.parse((prepared / "src/sksundae/ida/_solver.py").read_text()) + methods = {node.name for node in ast.walk(tree) if isinstance(node, ast.FunctionDef)} + self.assertIn("evaluate_initial_parent_weights", methods) + + +@unittest.skipUnless(os.environ.get("SOLARLAB_IDA_OBSERVATION_NATIVE_TEST") == "1", + "A new immutable build and explicit native admission are required.") +class TestInitialWeightNative(unittest.TestCase): + @classmethod + def setUpClass(cls): + expected = os.environ.get("ERROR_WEIGHT_EXPECTED_INSTALL") + if not expected: + raise RuntimeError("The admitted complete installation must be explicit.") + cls.numpy = importlib.import_module("numpy") + module = importlib.import_module("sksundae._cy_ida") + actual = Path(module.__file__).resolve() + if not actual.is_relative_to(Path(expected).resolve()): + raise RuntimeError("Refuse an old or unbound native extension.") + cls.IDA = importlib.import_module("sksundae.ida").IDA + if not callable(getattr(cls.IDA, "evaluate_initial_parent_weights", None)): + raise RuntimeError("Admitted binding lacks the required actual callback API.") + + @staticmethod + def frame(size=2, time=0.5): + high = [2.0, -3.0][:size] + zeros = [0.0] * size + return {"schema": "sksundae.ida.parent-affine-weights.v1", + "frame_identity": "6" * 64, "size": size, "t0_hex": time.hex(), + "q0_words_hex": [[v.hex() for v in high], + [(2.0**-55).hex()] * size, + [v.hex() for v in zeros], [v.hex() for v in zeros]], + "v0_words_hex": [[v.hex() for v in zeros] for _ in range(4)], + "weight_rounding": "RN-exact-parent-q_then-unfused-SV-v1"} + + @staticmethod + def residual(t, y, yp, output): + output[:] = yp + y + + def test_actual_initial_state_weights_and_generation(self): + from fractions import Fraction + np = self.numpy + initial, rate = np.array([0.25, 1.5]), np.array([-0.25, -1.5]) + frame = self.frame() + atol = np.array([1e-8, 2e-8]) + fail_first_attempt = [False] + + def residual(t, y, yp, output): + if fail_first_attempt[0]: + raise RuntimeError("declared failed first native attempt") + self.residual(t, y, yp, output) + + solver = self.IDA(residual, rtol=1e-6, atol=atol, + parent_weight_frame=frame) + try: + solver.init_step(0.5, initial, rate) + before = solver.statistics() + for expected_calls in (1, 2): + record = solver.evaluate_initial_parent_weights() + self.assertEqual(record["native_initial_state"], initial.tobytes()) + self.assertEqual(record["native_initial_rate"], rate.tobytes()) + self.assertTrue(record["native_memory_phi_and_ewt_unchanged"]) + self.assertFalse(record["solver_applied_weights"]) + self.assertEqual(record["native_steps"], 0) + self.assertEqual(record["parent_weight_state"]["callback_calls"], expected_calls) + weights = np.frombuffer(record["weights"], dtype="/computed_value/radius","tagwise_ownership_record":pin} + if strict:ownership["r_S_included_in_E_S"]=True + return {"reviewed_record":pin,"coverage":{"kind":"full_protocol","records":131,"labels_sha256":t.digest(labels), + "unit":c.quantity_unit(key),"norm":"max_abs_tagged131"},"claim_kind":"conditional_uncertainty_estimate", + "value":record["conditional_estimate_value"],"radius_accounting":ownership} + + +def error_files(folder,reference,*,verdict="accepted",include_radius=True,method=None): + from .test_g2_route_bindings import frozen_definition + labels=[r["tag"] for r in reference["samples"]] + method=method or frozen_definition(folder,"ErrorMethod","solarlab.g2-reference-method.v1",1) + history,identity=acceptance_history_files(folder,reference,method) + parameters=write_pin(folder/"ErrorParameters.json",{"fixture_only":True, + "schema":"solarlab.g2-reference-error-parameters.v1","target_problem_identity":reference["reference_error_problem_identity"], + "method_contract_sha256":method["sha256"]}) + levels=[{"identity":dict(identity,case_id=f"BE_N8_L{i}_Full",schedule_identity=t.digest(["schedule",i]), + controls_sha256=t.digest(["controls",i])),"observed_history":{key:history[key] for key in + ("logical_sha256","logical_bytes","encoded_bytes","records")}} for i in range(3)] + levels[2]["identity"]=identity + lineage=write_pin(folder/"Lineage.json",{"fixture_only":True,"schema":"solarlab.g2-reference-error.v1", + "kind":"reference_error_lineage","method_contract":method,"parameters":parameters,"levels":levels}) + records={} + for key in ("port/left","q","f","state/phi_V/0"): + values=c.quantity_values(reference,key) + row={"fixture_only":True,"schema":"solarlab.g2-reference-evidence.v1","status":"computed_pending_review", + "quantity_key":key,"quantity_and_unit":{"quantity":c.quantity_name(key),"unit":c.quantity_unit(key)}, + "claim_kind":"conditional_uncertainty_estimate","target_problem_identity":reference["reference_error_problem_identity"], + "norm_and_coverage":{"norm":"max_abs_tagged131","records":131,"labels_sha256":t.digest(labels)}, + "reference_source_and_run_identity":{"case_id":"BE_N8_L2_Full","source_identity":reference["source_id"], + "request_sha256":reference["request_sha256"],"run_id":reference["run_id"],"history_sha256":history["logical_sha256"]}, + "reviewer_and_decision_authority":{"evidence_author":"toy-author","method_contract":method}, + "assumptions_and_checked_premises":{"E3_parameters":parameters}, + "error_components_and_ownership":[{"source":lineage}], + "reference_value_radius_ownership":"reported observation radii are included in E_R; coalesce them in E2" if include_radius else + "reported observation radii are not included in E_R; add them in E2", + "conditional_estimate_value":t.pair(F(1,1000000)),"rigorous_bound_value":None, + "estimated_or_enclosed_value":{"value_field":"conditional_estimate_value","value":t.pair(F(1,1000000)),"unit":c.quantity_unit(key)}, + "per_record":[{"tag":tag,"computed_value":{"center":v["center"],"radius":v["absolute_error_bound"]}, + "computation":{"status":"computed_pending_review","method_status":"passed","E_R":t.pair(F(1,1000000))}} + for tag,v in zip(labels,values,strict=True)]} + records[key]=write_pin(folder/(t.digest(key)+".json"),row) + result=write_pin(folder/"ErrorResult.json",{"fixture_only":True,"schema":"solarlab.g2-reference-error.v1", + "target_problem_identity":reference["reference_error_problem_identity"],"method_contract":method,"quantity_records":records}) + accepted=sorted(records) if verdict=="accepted" else [] + acceptance=write_pin(folder/"ErrorAcceptance.json",{"fixture_only":True,"schema":"solarlab.g2-reference-error-acceptance.v1","version":1, + "reviewed_error_file":result,"accepted_quantities":accepted,"quantity_bindings":{key:quantity_binding(records[key],key,labels) for key in accepted}, + "claim_kind":"conditional_uncertainty_estimate","reviewer":reviewer_fixture(folder,"toy-author"), + "verdict":"unknown" if verdict=="conditions" else verdict,"conditions":[],"method_contract":method,"parameters":parameters,"lineage":lineage, + "target_problem_identity":reference["reference_error_problem_identity"],"reference_history":history, + "scope":{"route":"G2-R","meaning":"BE reference errors only; no IDA Strict acceptance yet"},"scientific_pass":False,"execution_authorized":False}) + return result,acceptance,method + + + +def referenced_cases(): + from scripts.benchmarks.g2_reference_error import target_identity + strict=case();reference=case();reference["case_id"]="BE_N8_L2_Full" + request=base_request() + request["schema"]="solarlab.voltage-lift-native-request.v1" + request["numeric_packet"].update(nodes=9,intervals=8,x_m=[i/8 for i in range(9)]) + request["voltage_lift_map"]["physical_model"]=t.digest("toy physical model shared by both methods") + request["initial_preparation"]={"point_identity":t.digest("toy initial point")} + for key in ("physical_handoff_words_hex","physical_rate_handoff_words_hex"): + request["initial_segment_frame"][key]=[[0.0.hex()]*45 for _ in range(12)] + for row,name in ((strict,"IDA"),(reference,"BE")): + row["native_request"]=dict(deepcopy(request),fixture_method=name) + row.update(source_id=request["voltage_lift_map"]["physical_model"], + request_sha256=t.digest(row["native_request"]),run_id=t.digest(name+"run"), + problem_identity=t.physical_problem_identity(request), + reference_error_problem_identity=target_identity(request["voltage_lift_map"]["physical_model"], + request["initial_preparation"]["point_identity"],request["segments"])) + return strict,reference + + + +def errors(): + names=[f"state/{field}/{i}" for field in c.FIELDS for i in range(9)]+["port/left","port/right"] + return {name:{"status":"accepted","claim_kind":"conditional_uncertainty_estimate", + "values":[t.pair(0) for _ in range(131)],"fixture_only":True} for name in names} + + +def time_compare(main,strict,reference=None): + return c.compare_time(main,strict,errors() if reference is None else reference, + labels=sample_labels(base_request()),scales={"n_m3":100,"p_m3":200,"c_m3":300}) + + +def test_complete_131_tags_both_ports_and_19_physical_locations(): + result=time_compare(case(c.FULL_CASES[1]),case()) + assert result["status"] == "passed" + assert len(result["port_tables"]) == 262 and len(result["state_tables"]) == 131*19*5 + assert len(result["initial_bias_checks"]) == 2 + assert result["scientific_qualification"] is False + labels=[r["tag"] for r in case()["samples"]] + assert labels[32]["time_hex"] == labels[33]["time_hex"] + assert (labels[32]["event_side"],labels[33]["event_side"]) == ("left","right") + + +def test_raw_DC_bias_cannot_be_hidden_by_subtracting_both_initials(): + main,strict=case(c.FULL_CASES[1]),case() + bias=F(2,100000) + for row in main["samples"]: + value=t.q(row["ports"]["left"]["center"]) + row["ports"]["left"]=c.enc(value+bias) + result=time_compare(main,strict) + assert result["initial_bias_checks"][0]["status"] == "failed" + assert result["port_tables"][0]["both_initials_subtracted"] is False + assert t.q(result["port_tables"][0]["observed_difference_upper"]) == bias + + +def test_missing_and_diagnostic_reference_error_stays_unknown_per_quantity(): + ref=errors();del ref["port/right"] + for i in range(9):ref[f"state/c_m3/{i}"]["claim_kind"]="diagnostic_agreement" + result=time_compare(case(c.FULL_CASES[0]),case(),ref) + assert all(r["status"] == "unknown" for r in result["port_tables"] if r["key"]["port"] == "right") + assert all(r["status"] == "passed" for r in result["port_tables"] if r["key"]["port"] == "left") + assert all(r["status"] == "unknown" for r in result["state_tables"] if r["key"]["field"] == "c_m3") + assert all(r["status"] == "passed" for r in result["state_tables"] if r["key"]["field"] == "phi_V") + + +def test_reference_one_third_boundary_and_radius_ownership(): + value=c.qc.Span.of(0) + exact=c.assess(value,value,F(1,3),(1,1),key="toy") + assert exact["status"] == "passed" + excess=c.assess(value,value,F(1,3)+F(1,2**150),(1,1),key="toy") + assert excess["status"] == "failed" and excess["reference_radius_added_again"] is False + assert c.assess(value,value,None,(1,1),key="toy")["reason"] == "unknown_reference_error" + + +@pytest.mark.parametrize("field,delta",[("phi_V",F(1,10000)),("c_m3",F(3,10)), + ("f",F(1,10000)),("n_m3",F(1,10)),("p_m3",F(1,5))]) +def test_state_bands_retain_the_declared_SI_values(field,delta): + main,strict=case(c.FULL_CASES[1]),case() + for row in main["samples"]: + row["states"][field]=[c.enc(t.q(v["center"])+delta) for v in row["states"][field]] + result=time_compare(main,strict) + first=next(r for r in result["state_tables"] if r["key"]["field"] == field) + assert first["status"] == "passed" and t.q(first["allowance_lower"]) == delta + direct=c.assess(c.qc.Span.of(delta+F(1,2**160)),c.qc.Span.of(0),0,(delta,delta),key="toy") + assert direct["status"] == "failed" + + +@pytest.mark.parametrize("damage",["missing","duplicate","event_side","physical_problem"]) +def test_comparison_never_masks_missing_or_mismatched_records(damage): + main,strict=case(c.FULL_CASES[1]),case() + if damage == "missing":main["samples"].pop() + elif damage == "duplicate":main["samples"][33]=deepcopy(main["samples"][32]) + elif damage == "event_side":main["samples"][33]["tag"]["event_side"]="left" + else:main["problem_identity"]="different_initial_words" + with pytest.raises(c.ComparisonError):time_compare(main,strict) + + +def test_SG_interval_propagation_contains_all_endpoint_corners_and_low_word(): + tiny=F(1,2**120);S=c.qc.Span + boxed=c._sg_box(S(2,2+tiny),S(8,8+tiny),S(-1,2),F(1,3),"electron") + for a in (F(2),2+tiny): + for b in (F(8),8+tiny): + for xi in (-1,0,2): + exact=c.qc.sg_interpolate(a,b,xi,F(1,3),carrier="electron") + assert boxed.lo <= exact.lo and boxed.hi >= exact.hi + value=c._sg_box(S(1,1),S(1+tiny,1+tiny),S(0,0),F(1,2),"electron") + assert value.lo == value.hi == 1+tiny/2 + + +def test_E2_coalesces_BE_radius_and_preserves_claim_kind(): + kwargs=dict(strict_value=c.enc(2,F(1,10)),reference_value=c.enc(1,F(1,5)), + reference_error=F(3,10),map_error=F(2,5)) + own=c.e2_transfer(**kwargs,includes_reference_radius=True) + extra=c.e2_transfer(**kwargs,includes_reference_radius=False) + assert t.q(own["conditional_estimate_value"]) == F(9,5) + assert t.q(extra["conditional_estimate_value"]) == 2 + assert own["rigorous_bound_value"] is None and own["status"] == "computed_pending_review" + assert t.q(own["ownership"]["r_R_marginal"]) == 0 + with pytest.raises(c.ComparisonError):c.e2_transfer(**kwargs,includes_reference_radius=None) + + +def test_N16_projection_preserves_inventory_and_reports_no_order(): + low,high=case(),case(c.FULL_CASES[3]) + for row in high["samples"]: + row["states"]["c_m3"]=[c.enc(300+i) for i in range(17)] + matrix=c.spatial_projection(high,low) + vf,vc=list(map(t.q,high["volumes_m3"])),list(map(t.q,low["volumes_m3"])) + assert all(sum(vc[i]*matrix[i][j] for i in range(9)) == vf[j] for j in range(17)) + result=c.compare_space(low,high,labels=sample_labels(base_request())) + assert result["status"] == "reported_spatial_difference" + assert result["summary"]["spatial_order"] is None and result["summary"]["G2Q_qualification"] is False + row=next(r for r in result["state_tables"] if r["key"]["field"] == "c_m3") + assert t.q(row["maximum_difference_upper"]) > 0 + assert t.q(row["inventory_difference"]["center"]) == -8 + high["material_defect_support"][8]="different-defect" + with pytest.raises(c.ComparisonError,match="QC01"):c.compare_space(low,high,labels=sample_labels(base_request())) + + +def test_reader_sample_sink_waits_for_actual_certificate_and_keeps_event_sides(tmp_path): + from .test_g2_route import continued_fixture,publish_fixture,read_fixture + data=continued_fixture(failure=False,observation="sealed-history") + publish_fixture(tmp_path,data);samples=[] + verified=read_fixture(tmp_path,sample_sink=lambda tag,row,certificate:samples.append((tag,row,certificate))) + assert verified["verified"] and verified["history"]["crc_verified"] + expected=sum(len(times) for times in data[0]["observation_times"].values()) + assert len(samples) == expected + assert [r[0] for r in samples] == sample_labels(data[0]) + for tag,row,certificate in samples: + assert certificate["sample_record_sha256"] == row["record_sha256"] + assert tag["time_hex"] == row["history"]["time_hex"] + assert samples[0][0]["event_side"] == "right" + repeated=[tag for tag,_,_ in samples if tag["time_hex"] == 1.0.hex()] + assert [r["event_side"] for r in repeated] == ["left","right"] + + +@pytest.mark.parametrize("verdict",["accepted","conditions","rejected"]) +def test_real_pinned_error_envelope_and_acceptance_do_not_promote_E2(tmp_path,verdict): + strict,reference=referenced_cases();result,review,method=error_files(tmp_path,reference,verdict=verdict) + records=c.read_error_records(result,review,method_pin=method,problem_identity=reference["reference_error_problem_identity"],labels=sample_labels(base_request())) + transferred=c.transfer_E2(strict,reference,records,labels=sample_labels(base_request())) + expected="computed_pending_review" if verdict=="accepted" else "unknown_reference_error" + assert all(v["status"]==expected for v in transferred["quantities"].values()) + assert transferred["E_R_accepted_does_not_accept_E_S"] is True + original=json.loads(Path(records["quantities"]["q"]["pin"]["path"]).read_text()) + assert original["status"]=="computed_pending_review" + + +def test_error_acceptance_wrong_pin_or_same_author_is_rejected(tmp_path): + strict,reference=referenced_cases();result,review,method=error_files(tmp_path,reference) + value=json.loads(Path(review["path"]).read_text());value["reviewed_error_file"]["sha256"]="0"*64 + review=write_pin(Path(review["path"]),value) + found=c.read_error_records(result,review,method_pin=method,problem_identity=reference["reference_error_problem_identity"],labels=sample_labels(base_request())) + assert found["status"]=="unknown_reference_error" and found["reason"]=="reference_error_review_binding" + value["reviewed_error_file"]=result;value["reviewer"]["id"]="toy-author";review=write_pin(Path(review["path"]),value) + found=c.read_error_records(result,review,method_pin=method,problem_identity=reference["reference_error_problem_identity"],labels=sample_labels(base_request())) + assert found["status"]=="unknown_reference_error" and found["reason"]=="acceptance_independent_reviewer" + + +def test_BE_adapter_calls_the_owned_reader_and_preserves_all_state_words(tmp_path,monkeypatch): + from types import SimpleNamespace + from scripts.benchmarks import g2_reference_be as be + reference=case();labels=sample_labels(base_request());rows=[] + for i,row in enumerate(reference["samples"]): + raw={field:{"shape":[9],"words_hex":[[float(t.q(x["center"])).hex() for x in values], + [(2.0**-100).hex()]*9]} for field,values in row["states"].items()} + def be_enc(v):return {"center":v["center"],"radius":v["absolute_error_bound"]} + rows.append({"tag":row["tag"],"physical_state_words":raw,"ports":{k:be_enc(v) for k,v in row["ports"].items()}, + "charges":{"device":be_enc(row["q"])},"cumulative_physical_flux":[be_enc(row["f"])], + "record_sha256":t.digest(i),"point_identity":t.digest([i,"point"])}) + request={"fixture_only":True,"numeric_packet":{"layout_identity":"toy-layout"}} + request_pin=write_pin(tmp_path/"BERequest.json",request) + identity={k:t.digest(k) for k in ("method_contract_sha256","plan_sha256","schedule_identity","source_identity", + "initial_point_identity","controls_sha256")} + identity.update(case_id="BE_N8_L2_Full",input_sha256=t.digest(request),source_commit="a"*40,environment_identity="toy") + layout=SimpleNamespace(identity="toy-layout");calls=[] + def reader(directory,passed_layout,expected,**kwargs): + calls.append((directory,passed_layout,expected)) + return {"structural_pass":True,"numerical_complete":True,"scientific_status":"unknown","observations":rows, + "observed_history":{"path":"ToyHistory.jsonl","logical_bytes":1}} + monkeypatch.setattr(be,"read_reference_history",reader) + def metadata(*args): + value=deepcopy(reference);value["samples"]=[];value["request_sha256"]=t.digest(request) + value.update(source_id=identity["source_identity"],initial_point_identity=identity["initial_point_identity"]) + return value + monkeypatch.setattr(c,"case_metadata",metadata) + actual=c.read_be_case({"identity":identity,"request":request_pin,"directory":str(tmp_path)},labels, + {"max_record_bytes":1048576,"max_logical_bytes":1048576},lambda:None,layout) + assert len(calls)==1 and calls[0][1] is layout + assert t.q(actual["samples"][0]["states"]["n_m3"][0]["center"])==100+F(1,2**100) + assert t.q(actual["samples"][0]["q"]["center"])==0 + assert actual["run_id"]==t.digest(be.RunIdentity(**identity).payload()) + factories=[] + monkeypatch.setattr(be,"reference_layout",lambda r:(factories.append(r),layout)[1],raising=False) + c.read_be_case({"identity":identity,"request":request_pin,"directory":str(tmp_path)},labels, + {"max_record_bytes":1048576,"max_logical_bytes":1048576},lambda:None) + assert factories==[request] and len(calls)==2 + + +def loaded_T1(case_id, *, body_defect=F(0)): + from .test_t1_gate import data_v3,SPEC3 + request,labels,intervals,pieces=data_v3() + for i,row in enumerate(intervals): + row["case_id"]=case_id + if body_defect: + value=row["channels"]["device"] + value["integral_F_enclosure_C"]=c.enc(-body_defect) + piece=pieces[i] + piece["case_id"]=case_id + piece["channels"]=deepcopy(row["channels"]) + piece["parent_sha256"]=t.digest(row) + piece["piece_id"]=t.digest({k:v for k,v in piece.items() if k!="piece_id"}) + return {"manifest":{"case_id":case_id,"run_id":"manufactured-run","source_id":"manufactured-source", + "problem_identity":t.physical_problem_identity(request)},"request":request,"labels":labels, + "spec":SPEC3,"intervals":intervals,"pieces":pieces,"checkpoint":lambda:None} + + +def test_matched_growth_is_latched_across_events_and_does_not_award_order(): + results={key:c.evaluate_T1(loaded_T1(key,body_defect=F(1,100000) if key==c.FULL_CASES[2] else F(0))) + for key in c.FULL_CASES[:3]} + result=c.matched_windows(results) + assert result["status"]=="failed" + grown=[r for r in result["device_growth"] if r["pair"]==[c.FULL_CASES[1],c.FULL_CASES[2]]] + assert len(grown)==256 and all(r["status"]=="failed" for r in grown) + assert all(r["convergence_order_proved"] is False for r in grown) + assert all(r["systematic_floor_proved"] is False for r in result["metal_ratio_hypothesis"]) + + +def test_decision_slots_remain_unknown_without_Strict_reference_review(): + from .test_t1_gate import SPEC3 + cases={key:case(key) for key in c.FULL_CASES} + for value in cases.values(): + value["readback"]={"complete_protocol":True,"complete_readback":True,"verified":True, + "scientific_progress":{"failed_gates":[],"first_failure":None}} + data={key:loaded_T1(key) for key in c.FULL_CASES} + value=c.compare_loaded(cases,data,spec=SPEC3,method_pin={"sha256":"toy-method"},labels=sample_labels(base_request()), + bindings={"physical_context":{"n_ref_m3":100,"p_ref_m3":200,"c_ref_m3":300}}) + normalized=value["normalized_evidence"] + assert set(normalized["point_comparisons"])=={"N8_Main_vs_Strict","N8_Coarse_vs_Strict","N8_Strict_vs_N16_Strict"} + assert normalized["point_comparisons"]["N8_Main_vs_Strict"]["status"]=="unknown" + assert normalized["matched_window_T1"]["device"][c.FULL_CASES[1]]["status"]=="unknown_reference_error" + assert value["scientific_pass"] is False and value["route_decision"]=="pending_independent_review" + assert set(normalized["reference_evidence"])=={"device_q","device_integrated_f","left_current","right_current","phi","n","p","c","f_occupancy"} + + +def test_comparison_cli_keeps_the_existing_bounded_integer_codec(monkeypatch,capsys,tmp_path): + from scripts.benchmarks import g2_route + from scripts.benchmarks.native_history import decode_integer_values + exact=2**16000+1 + monkeypatch.setattr(g2_route,"compare",lambda path:{"value":[exact,exact+2],"scientific_pass":False}) + assert g2_route.main(["compare","--plan",str(tmp_path/"NoRealPlan.json")])==0 + actual=decode_integer_values(json.loads(capsys.readouterr().out),t.INTEGER_POLICY) + assert actual["value"]==[exact,exact+2] + + +def test_unadmitted_compare_cannot_read_any_result(tmp_path,monkeypatch): + from scripts.benchmarks import g2_route + from .test_g2_route import plan_fixture + path=tmp_path/"Pending.json";path.write_text(json.dumps(plan_fixture(tmp_path))) + monkeypatch.setattr(c,"compare_plan",lambda *args,**kwargs:(_ for _ in ()).throw(AssertionError("read unadmitted data"))) + with pytest.raises(ValueError):g2_route.compare(path) + + +def strict_reference_files(folder,*,zero_charge=False): + from .test_g2_route_bindings import frozen_definition + from .test_t1_gate import SPEC3 + strict,reference=referenced_cases() + if zero_charge: + for one in (strict,reference): + for sample in one['samples']:sample['q']=sample['f']=c.enc(0) + labels=[r['tag'] for r in strict['samples']] + method=frozen_definition(folder,'E2Method','solarlab.g2-reference-method.v1',1) + result,er_review,_=error_files(folder,reference,method=method) + records=c.read_error_records(result,er_review,method_pin=method, + problem_identity=reference['reference_error_problem_identity'],labels=labels) + acceptance_history_files(folder,strict,method) + context={'gate_spec':{'sha256':SPEC3.sha256},'method_contract':method,'evidence_author':'toy-E2-author', + 'inputs':{'E_R_acceptance':er_review,'IDA_Strict_sealed_history':strict['sealed_history_binding'], + 'BE_reference_history':reference['sealed_history_binding']}} + transferred=c.transfer_E2(strict,reference,records,labels=labels,context=context) + transferred['quantity_records']={key:write_pin(folder/('E2-'+t.digest(key)+'.json'),row) + for key,row in transferred['quantities'].items()} + e2=write_pin(folder/'ToyE2.json',transferred) + proof=write_pin(folder/'ToySameProblem.json',{'fixture_only':True,'target_problem_identity':strict['problem_identity'], + 'reference_error_problem_identity':reference['reference_error_problem_identity'], + 'IDA_Strict_input':write_pin(folder/'StrictInput.json',strict['native_request']), + 'BE_reference_input':write_pin(folder/'BEInput.json',reference['native_request'])}) + keys=sorted(transferred['quantities']) + review=write_pin(folder/'ToyStrictAcceptance.json',{'fixture_only':True, + 'schema':'solarlab.g2-strict-reference-acceptance.v1','version':1,'reviewed_e2_file':e2, + 'inputs':context['inputs'],'accepted_quantities':keys, + 'quantity_bindings':{key:quantity_binding(transferred['quantity_records'][key],key,labels,strict=True) for key in keys}, + 'claim_kind':'conditional_uncertainty_estimate','reviewer':reviewer_fixture(folder,'toy-E2-author'), + 'verdict':'accepted','conditions':[],'target_problem_identity':strict['problem_identity'],'same_problem_evidence':proof, + 'scope':{'route':'G2-R','reference_case_id':'B_N8_Strict_Full','coverage':'full131, both event sides'}, + 'scientific_pass':False,'execution_authorized':False}) + wrapper={'schema':'solarlab.g2-strict-reference.v1','e2_file':e2,'independent_review':review} + return strict,wrapper,method,transferred + + + +def test_E2_acceptance_binds_three_inputs_and_keeps_computation_pending(tmp_path): + from .test_t1_gate import SPEC3 + strict,ref,method,transferred=strict_reference_files(tmp_path) + labels=[r['tag'] for r in strict['samples']] + qualified=c.comparison_reference_errors(ref,spec=SPEC3,method_pin=method,labels=labels,strict=strict) + assert qualified['status']=='accepted_reference_error', qualified + assert set(qualified['quantities'])=={'q','f','port/left','state/phi_V/0'} + assert all(v['source_status']=='computed_pending_review' for v in qualified['quantities'].values()) + result=t.reference_status_v3(ref,spec=SPEC3,labels=labels,problem_identity=strict['problem_identity']) + assert result['status']=='eligible' and result['strict_acceptance_sha256']==ref['independent_review']['sha256'] + assert result['claim_kind']=='conditional_uncertainty_estimate' + assert all(r['status']=='computed_pending_review' for r in transferred['quantities'].values()) + assert t._pin(ref['e2_file']['path'],ref['e2_file'])==transferred + strict['samples'][10]['ports']['left']=c.enc(99) + other=c.comparison_reference_errors(ref,spec=SPEC3,method_pin=method,labels=labels,strict=strict) + assert 'port/left' not in other['quantities'] and 'q' in other['quantities'] + assert other['quantity_failures']['port/left']=='Strict_exact_saved_operands' + + +@pytest.mark.parametrize('damage',['root','pin','inputs','rejected','conditions','same_author','claim','missing_f','E_R_review']) +def test_E2_acceptance_missing_or_mismatched_evidence_is_unknown(tmp_path,damage): + from .test_t1_gate import SPEC3 + strict,ref,method,_=strict_reference_files(tmp_path) + review=t._pin(ref['independent_review']['path'],ref['independent_review']) + if damage=='root':review=[] + elif damage=='pin':review['reviewed_e2_file']['sha256']='0'*64 + elif damage=='inputs':review['inputs']['BE_reference_history']['logical_sha256']='0'*64 + elif damage=='rejected':review['verdict']='rejected' + elif damage=='conditions':review['conditions']=['unresolved proof premise'] + elif damage=='same_author':review['reviewer']['id']='toy-E2-author' + elif damage=='claim':review['claim_kind']='diagnostic_agreement' + elif damage=='missing_f': + review['accepted_quantities'].remove('f');del review['quantity_bindings']['f'] + else: + er=review['inputs']['E_R_acceptance'] + value=t._pin(er['path'],er);value['verdict']='rejected';write_pin(Path(er['path']),value) + ref['independent_review']=write_pin(Path(ref['independent_review']['path']),review) + labels=[r['tag'] for r in strict['samples']] + result=t.reference_status_v3(ref,spec=SPEC3,labels=labels,problem_identity=strict['problem_identity']) + assert result['reason']=='unknown_reference_error' + assert result['Qsig_C'] is None + errors=c.comparison_reference_errors(ref,spec=SPEC3,method_pin=method,labels=labels,strict=strict) + assert ('f' not in errors['quantities']) if damage=='missing_f' else errors['quantities']=={} + if damage!='missing_f':assert errors['status']=='unknown_reference_error' and errors['reason'] + + +def test_E_R_and_IDA_problem_identity_domains_are_distinct(tmp_path): + strict,reference=referenced_cases();result,review,method=error_files(tmp_path,reference) + assert strict['problem_identity']!=reference['reference_error_problem_identity'] + found=c.read_error_records(result,review,method_pin=method,problem_identity=strict['problem_identity'], + labels=sample_labels(base_request())) + assert found['status']=='unknown_reference_error' and found['reason']=='reference_error_envelope' + + +def test_missing_E2_acceptance_cannot_be_replaced_by_E_R_acceptance(tmp_path): + from .test_t1_gate import SPEC3 + strict,ref,method,transferred=strict_reference_files(tmp_path) + ref['independent_review']=transferred['inputs']['E_R_acceptance'] + result=t.reference_status_v3(ref,spec=SPEC3,labels=sample_labels(base_request()),problem_identity=strict['problem_identity']) + assert result['reason']=='unknown_reference_error' + + +@pytest.mark.parametrize('missing',[0,5]) +def test_charge_series_never_rebases_after_a_missing_piece(missing): + current=case();data=loaded_T1(c.FULL_CASES[2]);checked=c.evaluate_T1(data) + data['pieces']=[p for p in data['pieces'] if p['window_index']!=missing] + checked['fixed_windows'][missing]['complete_pieces']=False + c.attach_charge_series(current,data,checked) + for row in current['samples']: + index=next(i for i,label in enumerate(data['labels']) if t.digest(label)==t.digest(row['tag'])) + if missing==0: + assert row['q'] is None and row['f'] is None + elif index>missing+1: + assert row['q'] is not None and row['f'] is None + + +def sealed_comparison_fixture(folder,monkeypatch,*,missing_sample=False): + from scripts.benchmarks import g2_route as route + from scripts.benchmarks.native_history import HistoryWriter + from .test_t1_gate import document + from .test_g2_route import supervision_fixture + labels=sample_labels(base_request());request=base_request() + doc=document();doc.update(schema=t.SPEC_SCHEMA_V3,version=3) + doc['physical_context'].update(n_ref_m3=100,p_ref_m3=200,c_ref_m3=300) + gate=write_pin(folder/'ToyGate.json',doc) + method=write_pin(folder/'ToyMethod.json',{'fixture_only':True}) + ids=c.FULL_CASES[1:3] + cases=[{'id':key,'execution':{'effective_input_digest':t.digest(request), + 'native_admission':{'operation_id':'manufactured-run'}}} for key in ids] + producer={'fixture_only':True,'cases':cases,'definitions':{'gate_spec':gate}} + producer_pin=write_pin(folder/'ToyProducerPlan.json',producer) + request_pin=write_pin(folder/'ToyRequest.json',request) + def metadata(req,key): + value=case(key);value['samples']=[] + value.update(request_sha256=t.digest(req),source_id='manufactured-source',problem_identity=t.physical_problem_identity(req)) + return value + monkeypatch.setattr(c,'case_metadata',metadata) + def validate(path,**kwargs): + assert kwargs['purpose']=='evaluate' and kwargs['executable'] is True + assert kwargs['case_id'] in ids + return {'plan':producer} + monkeypatch.setattr(route,'validate',validate) + descriptors={};histories=[] + for key in ids: + data=loaded_T1(key);context=metadata(request,key);context['run_id']='manufactured-run' + case_folder=folder/key;case_folder.mkdir() + writer=HistoryWriter(case_folder/'ToyHistory.jsonl.gz',encoding='gzip',total_output_bytes=8*1024**2, + max_record_bytes=65536,integer_io_policy=t.INTEGER_POLICY) + writer.append({'kind':'sealed_g2_context','request_sha256':t.digest(request),'evidence':context}) + for kind,rows in (('t1_interval_evidence',data['intervals']),('t1_fixed_window_piece',data['pieces'])): + for row in rows:writer.append({'kind':kind,'evidence':row}) + samples=case(key)['samples'] + if missing_sample and key==ids[0]:samples.pop(33) + for row in samples:writer.append({'kind':'sealed_g2_sample','request_sha256':t.digest(request),'evidence':row}) + writer.finish();histories.append(str(writer.path)) + history={'path':str(writer.path),'encoding':'gzip','closed':True,'container_complete':True, + 'encoded_bytes':writer.encoded_bytes,'logical_bytes':writer.logical_bytes,'records':writer.records, + 'logical_sha256':writer.logical_sha256,'integer_io_policy':t.INTEGER_POLICY} + manifest={'schema':t.EVIDENCE_SCHEMA,'case_id':key,'run_id':'manufactured-run','source_id':'manufactured-source', + 'problem_identity':t.physical_problem_identity(request),'run_plan':producer_pin, + 'gate_spec':gate,'request':request_pin,'history':history} + receipt={'fixture_only':True,'schema':'solarlab.native-history-verification.v1','verified':True, + 'complete_protocol':True,'complete_readback':True,'case_id':key,'request_sha256':t.digest(request), + 'plan_sha256':producer_pin['sha256'],'history':dict(history,eof_seen=True,crc_verified=True), + 'observed_history':history,'scientific_progress':{'failed_gates':[],'first_failure':None}} + descriptors[key]={'evidence':write_pin(folder/(key+'Evidence.json'),manifest), + 'readback':write_pin(folder/(key+'Readback.json'),receipt)} + manifest=write_pin(folder/'ToyComparison.json',{'schema':c.REQUEST_SCHEMA,'cases':descriptors, + 'producer_run_plan':producer_pin}) + channel=folder/'Channels';channel.mkdir() + execution={'manifest':manifest,'max_record_bytes':65536,'max_logical_bytes':32*1024**2, + 'max_records':2000,'wall_s':30,'max_retained_bytes':32*1024**2,'max_output_bytes':32*1024**2, + 'rss_bytes':1024**3,'supervision':supervision_fixture(folder),'channel':0} + plan={'fixture_only':True,'status':'admitted','comparison_execution':execution, + 'resources':{'reader_logical_byte_cap':32*1024**2,'combined_persisted_case_bytes':1024**3, + 'rss_bytes_per_case':1024**3,'full_wall_cap_max_s':30}, + 'source_freeze':{'frozen_gate_spec':gate,'frozen_evidence_method_contract':method}, + 'protocol':{'requested_sample_records':labels},'artifacts':{'channel_directory':str(channel)},'cases':cases} + return {'plan':plan,'plan_sha256':t.digest(plan)},histories + + +@pytest.mark.parametrize('missing_sample',[False,True]) +def test_compare_plan_reads_each_manufactured_sealed_stream_once(tmp_path,monkeypatch,missing_sample): + import fcntl + from scripts.benchmarks import native_history as history + context,paths=sealed_comparison_fixture(tmp_path,monkeypatch,missing_sample=missing_sample) + original=history.HistoryReader;opened=[] + def reader(path,**kwargs): + opened.append(str(path));assert str(path) in paths + return original(path,**kwargs) + monkeypatch.setattr(history,'HistoryReader',reader) + with (tmp_path/'Channels/0.lock').open('x+b') as held: + fcntl.flock(held,fcntl.LOCK_EX) + monkeypatch.setenv('SOLARLAB_G2_ROUTE_CHANNEL_FD',str(held.fileno())) + result=c.compare_plan(context) + assert opened==paths + normalized=result['normalized_evidence'];bindings=normalized['binding_check'] + assert bindings['original_native_histories_opened_by_compare'] is False + assert bindings['observation_records']==(775 if missing_sample else 776) + if missing_sample: + assert c.FULL_CASES[1] not in bindings['case_inputs'] + assert any('all_131_ordered_tags' in r['reason'] for r in normalized['missing_records']) + else: + compared=normalized['point_comparisons']['N8_Main_vs_Strict'] + assert len(compared['port_tables'])==262 and len(compared['state_tables'])==131*19*5 + assert compared['status']=='unknown' + assert normalized['matched_window_T1']['device'][c.FULL_CASES[2]]['status']=='unknown_reference_error' + assert result['scientific_pass'] is False + + +def test_incomplete_control_family_cannot_keep_Main_unresolved_L_U2(tmp_path): + from .test_t1_gate import SPEC3 + strict,ref,method,_=strict_reference_files(tmp_path,zero_charge=True) + main=deepcopy(strict);main['case_id']=c.FULL_CASES[1] + cases={c.FULL_CASES[1]:main,c.FULL_CASES[2]:strict} + for value in cases.values(): + value['readback']={'complete_protocol':True,'complete_readback':True,'verified':True, + 'scientific_progress':{'failed_gates':[],'first_failure':None}} + data={key:loaded_T1(key) for key in cases} + for value in data.values():value['manifest']['problem_identity']=strict['problem_identity'] + result=c.compare_loaded(cases,data,spec=SPEC3,method_pin=method,labels=sample_labels(base_request()),reference=ref, + bindings={'physical_context':{'n_ref_m3':100,'p_ref_m3':200,'c_ref_m3':300}}) + main_result=result['normalized_evidence']['matched_window_T1']['device'][c.FULL_CASES[1]] + assert main_result['status']=='unknown' and main_result['reason']=='unknown_matched_window_growth' + assert main_result['local_certificate_status']=='unresolved_signal' + assert result['L_U2']['eligible'] is False + + +def test_metal_hypothesis_uses_common_windows_and_never_awards_two_grid_order(): + results={key:c.evaluate_T1(loaded_T1(key)) for key in c.FULL_CASES} + for key,result in results.items(): + ratio=F(4,100000) if key==c.FULL_CASES[3] else F(15,10**6) + for window in result['fixed_windows']: + window['independent_window_charge_enclosures_C']={name:c.enc(1) for name in ('left_metal','right_metal')} + for name in ('left_metal','right_metal'): + window['channels'][name].update(signed_balance_C=t.pair(ratio),uncertainty_C=t.pair(0)) + value=c.matched_windows(results) + assert len(value['metal_ratio_hypothesis'])==4*128*2 + for row in value['metal_ratio_hypothesis']: + assert row['hypothesis_compatible'] is (row['case_id']!=c.FULL_CASES[3]) + assert row['systematic_floor_proved'] is False and row['convergence_order_estimated'] is False + assert 'left' in row and 'right' in row + results[c.FULL_CASES[3]]['fixed_windows'][5]['right']['time_hex']=float(.199).hex() + with pytest.raises(c.ComparisonError,match='matched_time_window_tags'): + c.matched_windows(results) + + +def test_comparison_first_failure_is_ordered_across_ports_and_states(): + main,strict=case(c.FULL_CASES[1]),case() + main['samples'][0]['states']['phi_V'][0]=c.enc(F(1,100)) + main['samples'][-1]['ports']['left']=c.enc(100) + result=time_compare(main,strict) + first=result['summary']['first_failure'] + assert first['tag']==main['samples'][0]['tag'] and first['field']=='phi_V' + + +def test_sample_normalization_preserves_lowest_mapped_word_and_raw_DC(): + from .test_native_readback import tag as encode + count=9;size=count*5 + layers=[2.**(-10-55*i) for i in range(12)];tiny=layers[-1] + roots={'phi_V':0.,'n_m3':100.,'p_m3':200.,'c_m3':300.,'f':.5} + offsets={name:[i*count,(i+1)*count] for i,name in enumerate(c.FIELDS)} + request={'z0':[0.]*size,'frame_input_policy':{'mapped_input_words':12,'raw_parent_words':4}, + 'voltage_lift_map':{'physical_model':'manufactured-model'},'numeric_packet':{ + 'variable_offsets':offsets,'initial_reference':{'payload':{'fields':{ + name:{'high':[value.hex()]*count,'low':[(-0.).hex()]*count} for name,value in roots.items()}}}}} + words=[[layer.hex()]*size for layer in layers] + history={'physical_cumulative_words_hex':words,'physical_rate_words_hex':words, + 'physical_model_identity':'manufactured-model','point_identity':'toy-point','map_identity':'toy-map'} + sample={'record_sha256':'toy-record','history':history, + 'raw':{'total_inward':{'high_hex':[2.0.hex(),(-2.0).hex()], + 'low_hex':[tiny.hex(),(-tiny).hex()]}}} + certificate={'sample_record_sha256':'toy-record','evidence':encode({'point_identity':'toy-point', + 'readback':{'physical_state_absolute_error':(F(0),)*size,'do_not_add_same_input_error_twice':True}, + 'source_and_readback_error_A':((F(0),F(0)),)*2,'input_error_included_once':True})} + key=sample_labels(base_request())[0] + output=c.normalize_ida_sample(request,key,sample,certificate) + for name,root in roots.items(): + exact=F(root)+sum(map(F,layers),F(0)) + assert all(t.q(x['center'])==exact for x in output['states'][name]) + assert exact!=F(root)+sum(map(F,layers[:-1]),F(0)) + assert t.q(output['ports']['left']['center'])==2+F(tiny) + assert t.q(output['ports']['right']['center'])==-2-F(tiny) + assert output['current_origin']=='raw full mapped RateView; no initial subtraction' + + +def test_H_F_W01_short_E_R_is_unknown_and_complete_structured_v1_works(tmp_path): + _,reference=referenced_cases();result,review,method=error_files(tmp_path,reference) + args=dict(method_pin=method,problem_identity=reference['reference_error_problem_identity'],labels=sample_labels(base_request())) + complete=c.read_error_records(result,review,**args) + assert complete['status']=='accepted_for_E2' and len(complete['accepted_quantities'])==4 + value=t._pin(review['path'],review) + short={key:value[key] for key in ('schema','reviewed_error_file','accepted_quantities','claim_kind','verdict','conditions')} + short['reviewer']='toy-independent-science' + for reviewer in ('toy-independent-science',value['reviewer']): + short['reviewer']=reviewer + pin=write_pin(tmp_path/'ShortErrorReview.json',short) + rejected=c.read_error_records(result,pin,**args) + assert rejected['status']=='unknown_reference_error' and rejected['reason']=='acceptance_required_fields' + assert all(not row['usable_for_E2'] for row in rejected['quantities'].values()) + + +@pytest.mark.parametrize('status,usable',[('satisfied',True),('supported_under_U1',True),('not_applicable',True),('open',False),('violated',False)]) +def test_H_F_W02_condition_status_is_consumed(tmp_path,status,usable): + _,reference=referenced_cases();result,review,method=error_files(tmp_path,reference) + value=t._pin(review['path'],review) + evidence=write_pin(tmp_path/'ConditionEvidence.json',{'fixture_only':True,'statement':'bounded toy premise checked'}) + value['conditions']=[{'id':'C1','statement':'toy premise, no quantitative waiver','status':status,'evidence':[evidence]}] + review=write_pin(Path(review['path']),value) + found=c.read_error_records(result,review,method_pin=method, + problem_identity=reference['reference_error_problem_identity'],labels=sample_labels(base_request())) + assert all(row['usable_for_E2'] is usable for row in found['quantities'].values()) + if not usable:assert found['status']=='unknown_reference_error' and 'condition_unresolved' in found['reason'] + + +def test_H_F_W03_short_Strict_is_unknown_and_complete_structured_v1_works(tmp_path): + strict,wrapper,method,_=strict_reference_files(tmp_path) + args=dict(spec=SPEC3,labels=sample_labels(base_request()),problem_identity=strict['problem_identity']) + assert t.accepted_strict_E2(wrapper,**args)['status']=='accepted' + complete=t._pin(wrapper['independent_review']['path'],wrapper['independent_review']) + short={key:complete[key] for key in ('schema','reviewed_e2_file','inputs','accepted_quantities','claim_kind','verdict','conditions')} + for reviewer in ('toy-independent-science',complete['reviewer']): + short['reviewer']=reviewer + wrapper['independent_review']=write_pin(tmp_path/'ShortStrictReview.json',short) + found=t.accepted_strict_E2(wrapper,**args) + assert found['status']=='unknown_reference_error' and found['accepted_quantities']==[] and found['reason'] + + +@pytest.mark.parametrize('damage',['version_missing','version_bool','reviewer_string','reviewer_independent_alias','review_pin', + 'keys_unsorted','keys_duplicate','key_wildcard','missing_binding','unit','value_float','scope','parameters','lineage', + 'history_source','history_count_bool','history_closed','history_pin','BE_result_schema','condition_pin','radius_path','method_status']) +def test_H_E_R_structured_fields_are_fail_closed_without_throwing(tmp_path,damage): + _,reference=referenced_cases();result,review,method=error_files(tmp_path,reference) + value=t._pin(review['path'],review) + if damage=='version_missing':del value['version'] + elif damage=='version_bool':value['version']=True + elif damage=='reviewer_string':value['reviewer']='toy-independent-science' + elif damage=='reviewer_independent_alias':value['reviewer']['independent']=1 + elif damage=='review_pin':value['reviewer']['review_record']['sha256']='0'*64 + elif damage=='keys_unsorted':value['accepted_quantities'].reverse() + elif damage=='keys_duplicate':value['accepted_quantities'].append('q') + elif damage=='key_wildcard':value['accepted_quantities']=['state/*'] + elif damage=='missing_binding':del value['quantity_bindings']['q'] + elif damage=='unit':value['quantity_bindings']['q']['coverage']['unit']='A' + elif damage=='value_float':value['quantity_bindings']['q']['value']=0.0 + elif damage=='scope':value['scope']['route']='G2-Q' + elif damage=='parameters':value['parameters']=None + elif damage=='lineage':value['lineage']['sha256']='0'*64 + elif damage=='history_source':value['reference_history']['source_identity']=t.digest('other physics') + elif damage=='history_count_bool':value['reference_history']['records']=True + elif damage=='history_closed':value['reference_history']['container_complete']=False + elif damage=='history_pin':value['reference_history']['independent_readback']['sha256']='0'*64 + elif damage=='BE_result_schema': + pin=value['reference_history']['run_result'];result_body=t._pin(pin['path'],pin) + result_body['schema']='not-the-BE-result-schema' + value['reference_history']['run_result']=write_pin(Path(pin['path']),result_body) + elif damage=='radius_path':value['quantity_bindings']['q']['radius_accounting']['r_R_source']='per_record/computed_value/radius' + elif damage=='condition_pin': + value['conditions']=[{'id':'C1','statement':'toy premise','status':'satisfied','evidence':[None]}] + else: + payload=t._pin(result['path'],result);pin=payload['quantity_records']['q'];record=t._pin(pin['path'],pin) + record['per_record'][17]['computation']['method_status']='failed' + new=write_pin(Path(pin['path']),record);payload['quantity_records']['q']=new + result=write_pin(Path(result['path']),payload);value['reviewed_error_file']=result + value['quantity_bindings']['q']=quantity_binding(new,'q',sample_labels(base_request())) + review=write_pin(Path(review['path']),value) + found=c.read_error_records(result,review,method_pin=method, + problem_identity=reference['reference_error_problem_identity'],labels=sample_labels(base_request())) + assert found['quantities'].get('q',{'usable_for_E2':False})['usable_for_E2'] is False + assert found['reason'] or found['quantities']['q']['reason'] + + +def test_H_E_R_radius_ownership_is_checked_at_each_tag_not_only_the_maximum(tmp_path): + _,reference=referenced_cases();result,review,method=error_files(tmp_path,reference) + payload=t._pin(result['path'],result);value=t._pin(review['path'],review) + pin=payload['quantity_records']['q'];record=t._pin(pin['path'],pin) + record['per_record'][0]['computation']['E_R']=[2,1000000] + record['per_record'][1]['computed_value']['radius']=[2,1000000] + record['conditional_estimate_value']=[2,1000000] + record['estimated_or_enclosed_value']['value']=[2,1000000] + updated=write_pin(Path(pin['path']),record);payload['quantity_records']['q']=updated + result=write_pin(Path(result['path']),payload);value['reviewed_error_file']=result + value['quantity_bindings']['q']=quantity_binding(updated,'q',sample_labels(base_request())) + review=write_pin(Path(review['path']),value) + found=c.read_error_records(result,review,method_pin=method, + problem_identity=reference['reference_error_problem_identity'],labels=sample_labels(base_request())) + assert not found['quantities']['q']['usable_for_E2'] + assert found['quantities']['q']['reason']=='reference_error_tagwise_radius_not_owned' + assert found['quantities']['f']['usable_for_E2'] + + +def test_H_IDA_reader_tail_count_rejects_boolean_alias(tmp_path): + strict,wrapper,method,_=strict_reference_files(tmp_path) + e2=t._pin(wrapper['e2_file']['path'],wrapper['e2_file']) + binding=e2['inputs']['IDA_Strict_sealed_history'] + pin=binding['independent_readback'];reader=t._pin(pin['path'],pin) + reader['history']['partial_tail_bytes']=False + binding['independent_readback']=write_pin(Path(pin['path']),reader) + with pytest.raises(t.InvalidT1Data,match='acceptance_IDA_container'): + t._acceptance_history(binding,case_id='B_N8_Strict_Full',labels=sample_labels(base_request())) + + +@pytest.mark.parametrize('damage',['version','reviewer','conditions','scope','same_problem','different_initial_rates', + 'quantity_record','r_S','r_R','tagwise_pin','different_BE_history','missing_readback','open_E_R','quantity_alias']) +def test_H_Strict_structured_acceptance_rejects_missing_binding_with_reason(tmp_path,damage): + strict,wrapper,method,_=strict_reference_files(tmp_path) + review=t._pin(wrapper['independent_review']['path'],wrapper['independent_review']) + if damage=='version':review['version']=1.0 + elif damage=='reviewer':review['reviewer']=None + elif damage=='conditions':review['conditions']=[{'id':'C1','statement':'unresolved','status':'open','evidence':[]}] + elif damage=='scope':review['scope']['reference_case_id']='B_N16_Strict_Full' + elif damage=='same_problem':review['same_problem_evidence']['sha256']='0'*64 + elif damage=='different_initial_rates': + ref=review['same_problem_evidence'];proof=t._pin(ref['path'],ref);inp=proof['BE_reference_input'] + request=t._pin(inp['path'],inp);request['initial_segment_frame']['physical_rate_handoff_words_hex'][11][0]=(2.0**-100).hex() + proof['BE_reference_input']=write_pin(Path(inp['path']),request) + review['same_problem_evidence']=write_pin(Path(ref['path']),proof) + elif damage=='quantity_record':review['quantity_bindings']['q']['reviewed_record']['sha256']='0'*64 + elif damage=='r_S':review['quantity_bindings']['q']['radius_accounting']['r_S_included_in_E_S']=False + elif damage=='r_R':review['quantity_bindings']['q']['radius_accounting']['r_R_included_in_E_R']=1 + elif damage=='tagwise_pin':review['quantity_bindings']['q']['radius_accounting']['tagwise_ownership_record']=None + elif damage=='different_BE_history':review['inputs']['BE_reference_history']['logical_sha256']='0'*64 + elif damage=='missing_readback':del review['inputs']['IDA_Strict_sealed_history']['independent_readback'] + elif damage=='quantity_alias':review['accepted_quantities']=['state/phi_V/00'] + else: + pin=review['inputs']['E_R_acceptance'];er=t._pin(pin['path'],pin) + er['conditions']=[{'id':'C1','statement':'unresolved','status':'open','evidence':[]}] + write_pin(Path(pin['path']),er) + wrapper['independent_review']=write_pin(Path(wrapper['independent_review']['path']),review) + found=t.accepted_strict_E2(wrapper,spec=SPEC3,labels=sample_labels(base_request()),problem_identity=strict['problem_identity']) + assert found['status']=='unknown_reference_error' and found['reason'] and found['accepted_quantities']==[] + + +@pytest.mark.parametrize('damage',['both_x100','q_x100','f_x100','missing_table','missing_q','radius','tag']) +def test_I_Strict_responses_must_match_verified_tagwise_values(tmp_path,damage): + strict,wrapper,_,e2=strict_reference_files(tmp_path) + e2=t._pin(wrapper['e2_file']['path'],wrapper['e2_file']) + args=dict(spec=SPEC3,labels=sample_labels(base_request()),problem_identity=strict['problem_identity']) + assert t.reference_status_v3(wrapper,**args)['status']=='eligible' + original_quantities=t.digest(e2['quantities']) + if damage in {'both_x100','q_x100','f_x100'}: + fields=('q_C','f_C') if damage=='both_x100' else (damage[0]+'_C',) + for response in e2['strict_responses'][1:]: + for field in fields:response[field]['center']=t.pair(100*t.q(response[field]['center'])) + elif damage=='missing_table':del e2['strict_responses'] + elif damage=='missing_q':del e2['strict_responses'][73]['q_C'] + elif damage=='radius':e2['strict_responses'][73]['f_C']['absolute_error_bound']=[1,1000000] + else:e2['strict_responses'][73]['tag']['event_side']='left' + assert t.digest(e2['quantities'])==original_quantities + wrapper['e2_file']=write_pin(Path(wrapper['e2_file']['path']),e2) + review=t._pin(wrapper['independent_review']['path'],wrapper['independent_review']) + review['reviewed_e2_file']=wrapper['e2_file'] + wrapper['independent_review']=write_pin(Path(wrapper['independent_review']['path']),review) + accepted=t.accepted_strict_E2(wrapper,**args) + assert accepted['status']=='unknown_reference_error' and accepted['accepted_quantities']==[] and accepted['reason'] + result=t.reference_status_v3(wrapper,**args) + assert result['status']=='unknown' and result['reason']=='unknown_reference_error' and result['Qsig_C'] is None diff --git a/tests/numerical_contracts/test_g2_observer_progress.py b/tests/numerical_contracts/test_g2_observer_progress.py new file mode 100644 index 00000000..305785a5 --- /dev/null +++ b/tests/numerical_contracts/test_g2_observer_progress.py @@ -0,0 +1,213 @@ +"""Exact saved-prefix IO and stop handling; no producer or real history replay.""" +from copy import deepcopy +import gzip +import hashlib +import json +import sys +from types import ModuleType + +import pytest + +from scripts.benchmarks import g2_observer_progress as progress +from scripts.benchmarks.native_history import HistoryLimitError, HistoryWriter, _line, decode_integer_values + + +POLICY = {"schema": "solarlab.native-integer-io.v1", "codec": "decimal-with-bounded-hex-v1", + "decimal_digits": 4300, "max_integer_bits": 131072} + + +def rows(): + return [ + {"kind": "sealed_g2_context", "request_sha256": "a"*64, "evidence": {"case_id": "fixture"}}, + {"kind": "sealed_voltage_lift_charge", "request_sha256": "a"*64, + "source_interval_sha256": "b"*64, + "interval": {"segment_id": "fixture", "observation": {"center": [1 << 15000, 7], + "radius": [1, 1 << 16000], "ball_words": [[[234567, -123], [9, -160]], [[0, 0], [1, -191]]]}}}, + {"kind": "t1_fixed_window_piece", "evidence": {"piece_id": "c"*64, "window_index": 0, + "segment_id": "fixture", "t_left_hex": "0x0.0p+0", "t_right_hex": "0x1.0p-4"}}, + ] + + +def writer(tmp_path, **kwargs): + return progress.PrefixProgress(tmp_path/"new", binding={"fixture": True, "integer_io_policy": POLICY}, + artifact_bytes=8*progress.MIB, max_record_bytes=kwargs.get("max_record_bytes", 65536), integer_io_policy=POLICY) + + +@pytest.mark.parametrize("kind", ["deadline", "cancelled", "resource_limit"]) +def test_operational_stop_closes_only_output_prefix_and_keeps_exact_words(tmp_path, kind): + sink = writer(tmp_path) + originals = deepcopy(rows()) + for row in originals: + sink.append(row) + stop = progress._stop(progress.saved.ObservationStopped(kind, "fixture_stop")) + outcome = sink.finish_prefix(stop=stop) + assert outcome["status"] == "bounded_stop" and outcome["stop"]["classification"] == kind + assert outcome["records"] == 3 and outcome["output_prefix"]["writer_container_complete"] + assert not outcome["input_verifier_returned"] and not outcome["resume_eligible"] + assert not outcome["input_EOF_CRC_coverage_asserted"] and not outcome["T1_pass_asserted"] + assert not (sink.directory/"RunResult.json").exists() and not (sink.directory/"RecoveryReceipt.json").exists() + control = tmp_path/"old-writer" + control.mkdir() + with HistoryWriter(control/"History.gz", encoding="gzip", total_output_bytes=4*progress.MIB, + max_record_bytes=65536, integer_io_policy=POLICY) as original: + for row in originals: + original.append(row) + # Same writer/codec/operation order: even encoded bytes are unchanged. + assert (sink.directory/"ChargePrefix.jsonl.gz").read_bytes() == (control/"History.gz").read_bytes() + decoded = [decode_integer_values(json.loads(line), POLICY) + for line in gzip.decompress((control/"History.gz").read_bytes()).splitlines()] + assert decoded == originals == rows() + check = progress.read_progress(sink.directory) + assert check["read_checks"]["output_prefix_EOF_CRC_verified"] + assert not check["read_checks"]["input_EOF_CRC_coverage_asserted"] + assert not list(sink.directory.glob("*.tmp")) + + +def test_atomic_progress_matches_each_complete_callback(tmp_path): + sink = writer(tmp_path) + combined = b"" + for index, row in enumerate(rows()): + before = deepcopy(row) + sink.append(row) + combined += _line(row, POLICY) + metadata = json.loads((sink.directory/"Progress.json").read_bytes()) + assert metadata["records"] == index+1 + assert metadata["last_record"]["index"] == index + assert metadata["last_record"]["record_sha256"] == hashlib.sha256(_line(row, POLICY)).hexdigest() + assert metadata["output_prefix"]["logical_sha256"] == hashlib.sha256(combined).hexdigest() + assert not metadata["output_prefix"]["writer_container_complete"] + assert row == before + sink.finish_prefix(stop=progress._stop(RuntimeError("injected failure"))) + assert json.loads((sink.directory/"PrefixOutcome.json").read_bytes())["stop"]["classification"] == "unclassified_error" + + +def test_failed_record_write_never_acquires_closed_prefix_or_crc_claim(tmp_path): + sink = writer(tmp_path, max_record_bytes=65536) + sink.append(rows()[0]) + with pytest.raises(HistoryLimitError) as captured: + sink.append({"kind": "sealed_g2_sample", "evidence": {"large": "x"*65536}}) + outcome = sink.finish_prefix(stop=progress._stop(captured.value)) + assert outcome["records"] == 1 and outcome["stop"]["classification"] == "resource_limit" + assert outcome["output_prefix"]["writer_error"] is not None + assert not outcome["output_prefix"]["writer_container_complete"] + assert not progress.read_progress(sink.directory)["read_checks"]["output_prefix_EOF_CRC_verified"] + + +def test_same_error_causes_remain_distinguishable(tmp_path): + for error, expected in ((ValueError("unknown"), "unclassified_error"), + (gzip.BadGzipFile("container"), "artifact_decode_error"), + (HistoryLimitError("cap"), "resource_limit")): + try: + try: + raise error + except ValueError as cause: + raise ValueError("reader wrapper") from cause + except Exception as wrapper: + evidence = progress._stop(wrapper) + assert evidence["classification"] == expected + assert any(item["type"] == type(error).__name__ for item in evidence["chain"]) + + +@pytest.mark.parametrize("damage", ["compressed_tail", "digest", "counts", "last_hash", "claim", "byte_count"]) +def test_saved_reader_refuses_corruption_and_overclaim(tmp_path, damage): + sink = writer(tmp_path) + sink.append(rows()[0]) + outcome = sink.finish_prefix(stop=progress._stop(progress.saved.ObservationStopped("deadline", "test"))) + path = sink.directory/"PrefixOutcome.json" + if damage == "compressed_tail": + raw = (sink.directory/"ChargePrefix.jsonl.gz").read_bytes()[:-3] + (sink.directory/"ChargePrefix.jsonl.gz").write_bytes(raw) + outcome["output_prefix"]["encoded_bytes"] = len(raw) + elif damage == "digest": + outcome["output_prefix"]["logical_sha256"] = "0"*64 + elif damage == "counts": + outcome["counts_by_kind"]["sealed_g2_context"] = 2 + elif damage == "last_hash": + outcome["last_record"]["record_sha256"] = "0"*64 + elif damage == "claim": + outcome["input_EOF_CRC_coverage_asserted"] = True + else: + outcome["output_prefix"]["encoded_bytes"] += 1 + path.write_text(json.dumps(outcome)) + with pytest.raises((ValueError, OSError, EOFError)): + progress.read_progress(sink.directory) + + +def test_existing_output_is_never_reopened(tmp_path): + sink = writer(tmp_path) + sink.append(rows()[0]) + sink.finish_prefix(stop=progress._stop(RuntimeError("original"))) + before = {p.name: p.read_bytes() for p in sink.directory.iterdir()} + with pytest.raises(FileExistsError): + writer(tmp_path) + assert {p.name: p.read_bytes() for p in sink.directory.iterdir()} == before + + +def test_unknown_callback_and_first_failure_are_retained(tmp_path): + sink = writer(tmp_path) + sink.append(rows()[0]) + with pytest.raises(ValueError, match="unsupported") as error: + sink.append({"kind": "not-an-observer-record"}) + sink.finish_prefix(stop=progress._stop(error.value)) + failure = (sink.directory/"FirstFailure.json").read_bytes() + sink.writer.publish_first_failure({"reason": "later"}) + assert (sink.directory/"FirstFailure.json").read_bytes() == failure + assert progress.read_progress(sink.directory)["progress"]["records"] == 1 + + +def test_reader_uses_no_observer_or_native_solver(tmp_path, monkeypatch): + sink = writer(tmp_path) + sink.append(rows()[0]) + sink.finish_prefix(stop=progress._stop(RuntimeError("stopped"))) + monkeypatch.setattr(progress, "run", lambda *args: pytest.fail("reader entered observer")) + assert progress.main(["--read", str(sink.directory)]) == 0 + + +@pytest.mark.parametrize("tampered", [False, True]) +def test_producer_validation_keeps_original_entry_binding(tmp_path, tampered): + entry = tmp_path/"scripts/benchmarks/g2_route.py" + entry.parent.mkdir(parents=True) + entry.write_text("import hashlib\nfrom pathlib import Path\n" + "def validate(path, *, executable, case_id):\n" + " assert executable and case_id == 'fixture'\n" + " return {'plan_sha256':hashlib.sha256(Path(path).read_bytes()).hexdigest()}\n") + pin = hashlib.sha256(entry.read_bytes()).hexdigest() + plan = tmp_path/"Producer.json" + plan.write_text(json.dumps({"cases": [{"id": "fixture", "execution": {"cwd": str(tmp_path)}}], + "source_freeze": {"source_sha256": {str(entry): pin}}})) + reference = {"path": str(plan), "bytes": plan.stat().st_size, "sha256": hashlib.sha256(plan.read_bytes()).hexdigest()} + if tampered: + entry.write_text("raise AssertionError('changed entry must not be imported')\n") + with pytest.raises(ValueError, match="producer_metadata_entry_changed"): + progress.producer_metadata(reference, "fixture") + else: + parent, case = progress.producer_metadata(reference, "fixture") + assert parent["source_freeze"]["source_sha256"][str(entry)] == pin + assert case["execution"]["cwd"] == str(tmp_path) + + +@pytest.mark.parametrize("problem", ["missing", "mismatch"]) +def test_required_arb_preflight_rejects_missing_or_unpinned_runtime(tmp_path, monkeypatch, problem): + # The real BallIntegrator constructor is used; its numeric methods are + # never invoked and no reader/model is constructed by the preflight. + module = ModuleType("flint") + module.__version__ = "0.8.0" + module.__FLINT_VERSION__ = "3.3.1" + module_path = tmp_path/"flint.py" + module_path.write_text("# explicit runtime fixture\n") + module.__file__ = str(module_path) + monkeypatch.setitem(sys.modules, "flint", module if problem != "missing" else None) + reference = {"path": str(module_path), "bytes": module_path.stat().st_size, + "sha256": hashlib.sha256(module_path.read_bytes()).hexdigest()} + lock = {"python_version": sys.version, "flint_versions": {"__version__": "0.8.0", "__FLINT_VERSION__": "3.3.1"}, + "module_files": {"flint": reference}} + lock_path = tmp_path/"Environment.json" + lock_path.write_text(json.dumps(lock)) + lock_ref = {"path": str(lock_path), "bytes": lock_path.stat().st_size, + "sha256": hashlib.sha256(lock_path.read_bytes()).hexdigest()} + request = {"interval_observation": {"arithmetic": {"bits": 256, "evaluations": 2048, "depth": 16}}} + if problem == "mismatch": + module_path.write_text("# changed runtime fixture\n") + with pytest.raises(progress.saved.ObservationStopped) as error: + progress.backend_preflight(request, lock_ref) + assert progress._stop(error.value)["classification"] == "runtime_binding_failure" diff --git a/tests/numerical_contracts/test_g2_reference_be.py b/tests/numerical_contracts/test_g2_reference_be.py new file mode 100644 index 00000000..d8103f2d --- /dev/null +++ b/tests/numerical_contracts/test_g2_reference_be.py @@ -0,0 +1,1943 @@ +"""Manufactured BE/reference histories only; no real B, native IDA or old gzip. + +The two-state storage problem and its flux integral are analytic and independent +of the public stepper. Frozen protocol time words are data, not device inputs. +""" + +from copy import deepcopy +from dataclasses import asdict, replace +from fractions import Fraction +from hashlib import sha256 +import json +import math +import os +from pathlib import Path +import sys +import time +from types import SimpleNamespace + +import numpy as np +import pytest + +import scripts.benchmarks.g2_reference_be as be +from scripts.benchmarks.conservative_device import EquationBudget +from scripts.benchmarks.contract_prototype import ( + PARTICLE, + SECOND, + VOLT, + ContractError, + EquationSpec, + Layout, + PhysicalScaling, + PhysicalStorage, + SparseStructure, + StateView, + Support, + ValidatedProblem, + VariableSpec, +) +from scripts.benchmarks.coupled_device_prototype import ProtocolSegment +from scripts.benchmarks.precision_prototype import ( + DoubleArithmetic, + DoubleArray, + FrameInputExpansion, + RelativeCoordinates, + encode_point, + physical_state_words, +) + + +def exact(point, name): + arrays = physical_state_words(point.state)[name] + return tuple( + sum((Fraction(float(w[i])) for w in arrays), Fraction()) + for i in range(arrays[0].size) + ) + + +def enclosure(value, radius=0): + value, radius = Fraction(value), Fraction(radius) + return { + "center": [value.numerator, value.denominator], + "radius": [radius.numerator, radius.denominator], + } + + +def tags_for(segments, times): + return [ + { + "segment": s.id, + "index": i, + "time_hex": float(t).hex(), + "event_side": "right" + if i == 0 + else "left" + if i == len(group) - 1 + else "interior", + "protocol_initial": k == i == 0, + "protocol_terminal": k == len(segments) - 1 and i == len(group) - 1, + } + for k, (s, group) in enumerate(zip(segments, times)) + for i, t in enumerate(group) + ] + + +def manufactured(kind="tiny", *, segments=None, scientific_at=None, safety_at=None): + """Q=(n0,n1), phi=n0+2*n1+V, with exact force/decay/driven RHS.""" + if segments is None: + segments = ( + ProtocolSegment("a", 0.0, 0.25, (0.0, 0.0), (0.0, 0.0)), + ProtocolSegment("b", 0.25, 0.5, (0.0, 0.25), (0.0, 0.0)), + ProtocolSegment("c", 0.5, 1.0, (0.25, 0.25), (0.0, 0.0)), + ) + supports = (Support("cells", "cell", (2,)), Support("port", "global", (1,))) + variables = ( + VariableSpec("n", "manufactured", "cells", (2,), PARTICLE, lower=0), + VariableSpec("phi", "manufactured", "port", (1,), VOLT, role="constraint"), + ) + equations = ( + EquationSpec("balance", "manufactured", "cells", (2,), PARTICLE / SECOND), + EquationSpec( + "constraint", "manufactured", "port", (1,), VOLT, role="constraint" + ), + ) + layout = Layout(supports, variables, equations) + coordinates = RelativeCoordinates(layout, {"n": "linear", "phi": "linear"}) + inputs, _ = segments[0].inputs(segments[0].start) + initial = coordinates.initial( + StateView( + layout, + (("n", DoubleArray([3.0, 3.0])), ("phi", DoubleArray([9.0 + inputs[0]]))), + ), + segments[0].start, + inputs, + ) + source = sha256(repr((kind, segments)).encode()).hexdigest() + arithmetic = DoubleArithmetic() + structure = SparseStructure( + (3, 3), np.tile(np.arange(3), 3), np.arange(4) * 3, source, layout.identity + ) + storage = PhysicalStorage( + lambda p: DoubleArray.from_dd(p.state.field("n").as_dd()), + lambda a, b, dx: DoubleArray.from_dd(dx.field("n").as_dd()), + (PARTICLE,) * 2, + source, + arithmetic, + ) + + def residual(left, right, increment): + n = right.state.field("n").as_dd() + if kind == "tiny": + rate = arithmetic.array([2.0**-80, -(2.0**-80)]) + elif kind == "decay": + rate = -n + else: + rate = arithmetic.array([2 * right.time, -right.time]) + rows = ( + storage.delta(left, right, increment).as_dd() + - (right.time - left.time) * rate + ) + constraint = right.state.field("phi").as_dd() - ( + n[0] + 2 * n[1] + right.inputs[0] + ) + return arithmetic.freeze(arithmetic.concatenate((rows, constraint))) + + def jacobian(left, right): + matrix = np.eye(3) + if kind == "decay": + matrix[:2, :2] *= 1 + right.time - left.time + matrix[2] = [-1.0, -2.0, 1.0] + return structure.filled(matrix.T.ravel()) + + def forbidden(*args): + raise AssertionError("Manufactured BE must not invoke native/tangent F/J") + + problem = ValidatedProblem( + layout, + 2, + 2, + storage, + structure, + source, + forbidden, + forbidden, + residual, + jacobian, + arithmetic=arithmetic, + ) + budget = 2.0**-140 if kind == "tiny" else 1e-24 + budgets = { + "balance": EquationBudget(PARTICLE, [budget, budget]), + "constraint": EquationBudget(VOLT, [budget]), + } + + def checks(point): + return { + "safety_pass": safety_at is None or point.time < safety_at, + "scientific_failed": scientific_at is not None + and point.time >= scientific_at, + } + + def rates(point): + if kind == "tiny": + return Fraction(1, 2**80), -Fraction(1, 2**80) + if kind == "decay": + return tuple(-x for x in exact(point, "n")) + return 2 * Fraction(point.time), -Fraction(point.time) + + def observe(point, segment): + n0, n1 = exact(point, "n") + a, b = rates(point) + _, rate = segment.inputs(point.time) + left = a + 2 * b + Fraction(float(rate[0])) + charge = exact(point, "phi")[0] + return { + "ports": { + "left": enclosure(left), + "right": enclosure(-a - b - left), + "unit": "A", + }, + "charges": { + "device": enclosure(n0 + n1), + "left_metal": enclosure(charge), + "right_metal": enclosure(-n0 - n1 - charge), + "unit": "C", + }, + "observation_uncertainty": "exact rational manufactured oracle", + "derivative_origin": "manufactured_analytic_tangent", + "evidence_status": "manufactured", + } + + def interval(left, right, step, segment, target): + # Independent integration of the analytic physical RHS on the represented + # linear path. Using step.storage_delta here would make this test circular. + h = Fraction(right.time) - Fraction(left.time) + if kind == "tiny": + a, b = h / 2**80, -h / 2**80 + elif kind == "decay": + a, b = tuple( + -h * (x + y) / 2 for x, y in zip(exact(left, "n"), exact(right, "n")) + ) + else: + a = Fraction(right.time) ** 2 - Fraction(left.time) ** 2 + b = -a / 2 + delta_v = Fraction(float(right.inputs[0])) - Fraction(float(left.inputs[0])) + flux_left = a + 2 * b + delta_v + return { + "physical_flux": [ + enclosure(a + b), + enclosure(flux_left), + enclosure(-a - b - flux_left), + ], + "unit": "C", + "storage_secant_used_as_flux": False, + "origin": "manufactured_exact_integral", + "reference_error_status": "unknown_reference_error", + } + + return be.Backend( + problem, + coordinates, + initial, + PhysicalScaling(np.ones(3), np.ones(3)), + budgets, + segments, + lambda p: min(exact(p, "n")) > 0, + checks, + observe, + interval, + { + "kind": "manufactured", + "force": kind, + "observation_controls": {"kind": "exact_rational_manufactured"}, + }, + ) + + +def execute( + tmp_path, + *, + backend=None, + schedule=None, + encoding="raw", + checkpoint=None, + limits=None, + plan_sha256="2" * 64, + timing=None, +): + backend = backend or manufactured() + schedule = schedule or be.compile_schedule( + backend.segments, + tags_for(backend.segments, [[s.start, s.end] for s in backend.segments]), + level=0, + seed=Fraction(1, 8), + ) + request = { + "kind": "manufactured", + "case": backend.metadata, + "segments": [asdict(s) for s in backend.segments], + } + identity = be.RunIdentity( + "manufactured", + be.digest(request), + "1" * 64, + plan_sha256, + "3" * 40, + "manufactured-test-environment", + schedule.identity, + backend.problem.source_identity, + backend.initial.identity, + be.digest(be.effective_controls(backend)), + ) + limits = limits or be.Limits( + 60.0, output_bytes=64 * 1048576, logical_bytes=64 * 1048576 + ) + result = be.run_reference( + backend, + schedule, + identity, + request, + tmp_path, + limits, + encoding=encoding, + checkpoint=checkpoint, + timing=timing, + ) + readback = be.read_reference_history(tmp_path, backend.problem.layout, identity) + return backend, schedule, identity, result, readback + + +def raw_rows(directory): + return [ + json.loads(line) + for line in (directory / "History/BE.jsonl").read_text().splitlines() + ] + + +def reseal(directory, rows): + """Adversary recomputes transport hashes; semantic checks must still reject.""" + previous = None + for row in rows: + row["previous_record_sha256"] = previous + row.pop("record_sha256", None) + row["record_sha256"] = previous = be.digest(row) + raw = b"".join(be.canonical(row) + b"\n" for row in rows) + (directory / "History/BE.jsonl").write_bytes(raw) + path = directory / "RunResult.json" + result = json.loads(path.read_text()) + result["observed_history"].update( + records=len(rows), + logical_sha256=sha256(raw).hexdigest(), + logical_bytes=len(raw), + encoded_bytes=len(raw), + ) + path.write_bytes(be.canonical(result) + b"\n") + + +@pytest.mark.parametrize("encoding", ["raw", "gzip"]) +def test_complete_low_word_history_and_event_tangents(tmp_path, encoding): + backend, schedule, identity, result, readback = execute( + tmp_path / "run", encoding=encoding + ) + assert result["numerical_complete"] and readback["structural_pass"] + assert result["scientific_status"] == "unknown_reference_error" + assert readback["scientific_pass"] is False + samples = readback["observations"] + assert [s["tag"] for s in samples] == list(schedule.tags) + assert samples[1]["point_identity"] == samples[2]["point_identity"] + assert samples[1]["ports"]["left"] != samples[2]["ports"]["left"] + words = samples[-1]["physical_state_words"]["n"]["words_hex"] + final = tuple( + sum((Fraction(float.fromhex(w[i])) for w in words), Fraction()) + for i in range(2) + ) + assert final == (3 + Fraction(1, 2**80), 3 - Fraction(1, 2**80)) + assert [float.fromhex(x) for x in words[0]] == [3.0, 3.0] + assert not (tmp_path / "run/History/LastAccepted.json").exists() + pointer = json.loads( + (tmp_path / "run/History/LastNumericalAccepted.json").read_text() + ) + assert ( + pointer["step_index"] == len(schedule.steps) + and not pointer["physical_acceptance_awarded"] + ) + assert identity.initial_point_identity == backend.initial.identity + + +def test_full_affine_words_survive_codec_and_step(tmp_path): + backend = manufactured( + segments=(ProtocolSegment("a", 0.0, 0.5, (0.0, 0.0), (0.0, 0.0)),) + ) + words = [np.zeros(3) for _ in range(12)] + for i, word in enumerate(words): + word[:] = ( + 2.0 ** (-20 - 60 * i), + 2.0 ** (-20 - 60 * i), + 3 * 2.0 ** (-20 - 60 * i), + ) + point, _ = backend.coordinates.trial( + backend.initial, FrameInputExpansion(words), 0.0, [0.0, 0.0] + ) + reference = encode_point(backend.initial) + packed = be.pack_point(point, reference) + restored = be.unpack_point(packed, reference, backend.problem.layout) + assert restored.identity == point.identity + assert exact(restored, "n") == exact(point, "n") + _, _, _, _, readback = execute( + tmp_path / "words", backend=replace(backend, initial=point) + ) + saved = readback["observations"][-1]["physical_state_words"]["n"]["words_hex"] + wanted = ( + exact(point, "n")[0] + Fraction(1, 2**81), + exact(point, "n")[1] - Fraction(1, 2**81), + ) + assert ( + tuple( + sum((Fraction(float.fromhex(w[i])) for w in saved), Fraction()) + for i in range(2) + ) + == wanted + ) + assert any(float.fromhex(v) == 2.0**-680 for w in saved for v in w) + + +def test_driven_analytic_global_error_is_sum_h_squared(tmp_path): + backend = manufactured("driven") + _, schedule, _, _, readback = execute(tmp_path / "driven", backend=backend) + sample = readback["observations"][-1] + words = sample["physical_state_words"]["n"]["words_hex"] + values = tuple( + sum((Fraction(float.fromhex(w[i])) for w in words), Fraction()) + for i in range(2) + ) + accumulated = sum(Fraction(s.h) ** 2 for s in schedule.steps) + assert values == (4 + accumulated, Fraction(5, 2) - accumulated / 2) + # The independent physical-flux integral is analytic; it is not BE's storage delta. + assert sample["cumulative_physical_flux"][0] == enclosure(Fraction(1, 2)) + assert values[0] + values[1] - 6 != Fraction(1, 2) + + +def test_decay_three_levels_converge_with_first_order(tmp_path): + backend = manufactured( + "decay", segments=(ProtocolSegment("a", 0.0, 1.0, (0.0, 0.0), (0.0, 0.0)),) + ) + values = [] + for level in range(3): + schedule = be.compile_schedule( + backend.segments, + tags_for(backend.segments, [[0.0, 1.0]]), + level=level, + seed=Fraction(1, 16), + ) + _, _, _, _, readback = execute( + tmp_path / str(level), backend=backend, schedule=schedule + ) + words = readback["observations"][-1]["physical_state_words"]["n"]["words_hex"] + value = sum((Fraction(float.fromhex(w[0])) for w in words), Fraction()) + analytic_be = Fraction(3) * ( + Fraction(1) / (1 + Fraction(1, 16 * 2**level)) + ) ** (16 * 2**level) + assert abs(value - analytic_be) < Fraction(1, 10**22) + values.append(value) + assert ( + be.order_check((values[0] - values[1], 0), (values[1] - values[2], 0))["status"] + == "passed" + ) + assert abs(float(values[2]) - 3 * math.exp(-1)) < abs( + float(values[1]) - 3 * math.exp(-1) + ) + + +def test_latched_scientific_failure_keeps_full_safe_suffix(tmp_path): + backend = manufactured(scientific_at=0.25) + _, schedule, _, result, readback = execute(tmp_path / "latched", backend=backend) + assert result["numerical_complete"] and result["scientific_status"] == "failed" + assert readback["accepted_steps"] == len(schedule.steps) + assert readback["observations"][-1]["tag"]["protocol_terminal"] + assert result["first_scientific_failure"]["time_hex"] == (0.25).hex() + + +def test_safety_failure_stops_and_keeps_first_failure(tmp_path): + backend = manufactured(safety_at=0.25) + directory = tmp_path / "safety" + with pytest.raises(ContractError, match="accepted_state_safety"): + execute(directory, backend=backend) + result = json.loads((directory / "RunResult.json").read_text()) + identity = be.RunIdentity( + **{k: result[k] for k in be.RunIdentity.__dataclass_fields__} + ) + readback = be.read_reference_history(directory, backend.problem.layout, identity) + assert not readback["numerical_complete"] and readback["accepted_steps"] == 2 + failure = json.loads((directory / "FirstFailure.json").read_text()) + assert failure["reason"] == "reference_be_accepted_state_safety" + assert failure["last_returned_step_persisted"] + + +def test_failed_newton_keeps_working_iterate_without_acceptance(tmp_path): + backend = manufactured() + # The first initial point is allowed; every trial is rejected by feasibility. + backend = replace(backend, feasible=lambda p: p.time == 0.0) + directory = tmp_path / "newton" + with pytest.raises(ContractError): + execute(directory, backend=backend) + failure = json.loads((directory / "FirstFailure.json").read_text()) + assert failure["failed_newton_diagnostics_available"] + assert "failed_newton_working_iterates" in failure + assert failure["counts"]["accepted_steps"] == 0 + assert not (directory / "History/LastNumericalAccepted.json").exists() + + +@pytest.mark.parametrize( + "mutation,reason", + [ + ("order", "step_sequence"), + ("counter", "step_sequence"), + ("unit", "unaccepted_equation_residual"), + ("ratio", "unaccepted_equation_residual"), + ("word_shape", "word_size"), + ("tag", "observation_tag"), + ("prefix", "sample_flux_prefix"), + ("latch", "scientific_latch"), + ("event_rate", "event_input_rate"), + ("event_generation", "event_history"), + ("controls", "controls_identity"), + ], +) +def test_resealed_semantic_corruption_is_rejected(tmp_path, mutation, reason): + directory = tmp_path / mutation + backend, _, identity, _, _ = execute(directory) + rows = raw_rows(directory) + step = next(r for r in rows if r["kind"] == "be_accepted_step") + observation = next( + r for r in rows if r["kind"] == "be_observation" and r["tag"] is not None + ) + event = next(r for r in rows if r["kind"] == "be_segment_start") + if mutation == "order": + step["order"] = 2 + elif mutation == "counter": + step["step_index"] = True + elif mutation == "unit": + step["residual_units"][0] = asdict(VOLT) + elif mutation == "ratio": + step["residual_ratios"][0] = [1, 2] + elif mutation == "word_shape": + step["local_increment_words"]["shape"] = [2] + elif mutation == "tag": + observation["tag"]["event_side"] = "left" + elif mutation == "prefix": + observation["cumulative_physical_flux"][0]["center"] = [1, 1] + elif mutation == "latch": + step["scientific_failure_latched"] = True + elif mutation == "event_rate": + event["input_rate_hex"][0] = (1.0).hex() + elif mutation == "event_generation": + event["generation"] = True + elif mutation == "controls": + rows[0]["solver_scaling"]["rows"][0] = (2.0).hex() + reseal(directory, rows) + with pytest.raises(ContractError, match=reason): + be.read_reference_history(directory, backend.problem.layout, identity) + + +def test_empty_resealed_failed_history_cannot_pass(tmp_path): + directory = tmp_path / "empty" + backend, _, identity, _, _ = execute(directory) + reseal(directory, []) + path = directory / "RunResult.json" + result = json.loads(path.read_text()) + result.update(numerical_complete=False, status="failed", scientific_status="failed") + result["counts"]["accepted_steps"] = 0 + path.write_bytes(be.canonical(result)) + with pytest.raises(ContractError, match="history_seal"): + be.read_reference_history(directory, backend.problem.layout, identity) + + +def test_resource_caps_and_cancellation_are_explicit(tmp_path, monkeypatch): + with pytest.raises(ContractError, match="resource_limit"): + be.Limits(60.0, rss_bytes=4 * be.GIB + 1).validate() + monkeypatch.setattr( + be.resource, "getrusage", lambda who: SimpleNamespace(ru_maxrss=5 * be.GIB) + ) + with pytest.raises(ContractError, match="RSS_cap"): + be.Guard(be.Limits(60.0))() + monkeypatch.undo() + counter = 0 + + def cancel(): + nonlocal counter + counter += 1 + if counter == 12: + raise RuntimeError("manufactured_cancelled") + + directory = tmp_path / "cancel" + with pytest.raises(RuntimeError, match="manufactured_cancelled"): + execute(directory, checkpoint=cancel) + failure = json.loads((directory / "FirstFailure.json").read_text()) + assert failure["reason"] == "manufactured_cancelled" + assert not json.loads((directory / "RunResult.json").read_text())[ + "numerical_complete" + ] + + +def test_preexisting_directory_and_changed_schedule_refused(tmp_path): + directory = tmp_path / "existing" + directory.mkdir() + (directory / "user.txt").write_text("keep") + with pytest.raises(FileExistsError): + execute(directory) + assert (directory / "user.txt").read_text() == "keep" + backend = manufactured() + schedule = be.compile_schedule( + backend.segments, + tags_for(backend.segments, [[s.start, s.end] for s in backend.segments]), + level=0, + seed=Fraction(1, 8), + ) + schedule = replace( + schedule, steps=(replace(schedule.steps[0], h=0.5),) + schedule.steps[1:] + ) + with pytest.raises(ContractError, match="runtime_schedule_binding"): + execute(tmp_path / "changed", backend=backend, schedule=schedule) + + +def test_order_uncertainty_and_non_time_propagation_are_not_ignored(): + assert ( + be.order_check((2, Fraction(4, 5)), (1, Fraction(2, 5)))["status"] == "unknown" + ) + assert be.order_check((2, 0), (-1, 0))["status"] == "failed" + assert be.order_check((0, 0), (0, 0))["reason"] == "unresolved_difference" + assert be.order_check((4, 0), (1, 0))["status"] == "failed" + terms = [ + {"G": 2, "R": Fraction(1, 10**12), "U": 0, "evidence_identity": "analytic"} + ] * 20 + result = be.propagate_error(0, terms) + assert result[-1] == Fraction(2**20 - 1, 10**12) + assert result[-1] > 20 * Fraction(1, 10**12) + with pytest.raises(ContractError, match="missing_propagation_evidence"): + be.propagate_error(0, [{"G": 1, "R": 0, "U": 0}]) + + +def test_unadmitted_and_unfrozen_B_fail_before_model_construction( + tmp_path, monkeypatch +): + import scripts.benchmarks.coupled_device_prototype as coupled + + called = [] + + def forbidden(*args, **kwargs): + called.append(True) + raise AssertionError("real B constructor forbidden in author tests") + + monkeypatch.setattr(coupled, "AffineCoupledSlab", forbidden) + with pytest.raises(ContractError, match="B_not_admitted"): + be.prepare_B_backend({}, {}) + contract = { + "schema": be.METHOD_SCHEMA, + "status": "draft", + "authority": {"freeze_record": None}, + } + raw = be.canonical(contract) + path = tmp_path / "method.json" + path.write_bytes(raw) + manifest = { + "schema": "solarlab.g2-reference-be-run.v1", + "method_contract": {"path": str(path), "sha256": sha256(raw).hexdigest()}, + } + manifest_path = tmp_path / "manifest.json" + manifest_path.write_bytes(be.canonical(manifest)) + with pytest.raises(ContractError, match="method_unfrozen"): + be.main(["run", "--manifest", str(manifest_path)]) + assert called == [] + + +def frozen_protocol(): + segments = ( + ProtocolSegment("dark_equilibrium_hold", 0.0, 0.1, (0.0, 0.0), (0.0, 0.0)), + ProtocolSegment("voltage_ramp", 0.1, 0.2, (0.0, 0.1), (0.0, 0.0)), + ProtocolSegment("slow_state_hold", 0.2, 9.2, (0.1, 0.1), (0.0, 0.0)), + ) + times = [ + [float.fromhex(t) for t in words.split()] for words in FROZEN_PROTOCOL_TIMES + ] + return segments, tags_for(segments, times) + + +def test_frozen_time_words_counts_nesting_and_exact_binary_endpoints(): + segments, tags = frozen_protocol() + assert len(tags) == 131 and len({x["time_hex"] for x in tags}) == 129 + previous = None + for level in range(4): + schedule = be.compile_schedule(segments, tags, level=level) + counts = [sum(s.segment_index == i for s in schedule.steps) for i in range(3)] + assert counts == [64 * 2**level, 64 * 2**level, 7845 * 2**level] + assert len(schedule.steps) == 7973 * 2**level + nodes = {s.right.hex() for s in schedule.steps} + if previous is not None: + assert previous <= nodes + previous = nodes + assert all( + Fraction(s.right) - Fraction(s.left) == Fraction(s.h) + and s.left + s.h == s.right + for s in schedule.steps + ) + assert all(s.right <= segments[s.segment_index].end for s in schedule.steps) + probe = be.compile_schedule(segments[:2], tags[:66], level=0) + assert len(probe.tags) == 66 and len(probe.steps) == 128 + assert probe.tags[-1]["time_hex"] == (0.2).hex() + assert probe.tags[-1]["protocol_terminal"] is False + + +def test_original_request_tags_are_preserved_for_full_and_probe(): + segments, tags = frozen_protocol() + request = { + "segments": [asdict(s) for s in segments], + "observation_times": { + s.id: [float.fromhex(t["time_hex"]) for t in tags if t["segment"] == s.id] + for s in segments + }, + } + assert be.tags_from_request(request, 3) == tags + assert be.tags_from_request(request, 2) == tags[:66] + request["observation_times"][segments[0].id][1] = True + with pytest.raises(ContractError, match="request_sample_times"): + be.tags_from_request(request, 3) + + +def test_E3_diagnostics_and_reader_budget_export(tmp_path): + directory = tmp_path / "e3" + backend, _, identity, _, _ = execute(directory) + rows = raw_rows(directory) + assert rows[0]["step_options"] == { + "max_iterations": 12, + "max_line_search": 8, + "globalization": "residual", + } + step = next(r for r in rows if r["kind"] == "be_accepted_step") + assert step["newton_iterations"] + assert len(step["newton_iterations"][0]["rhs_projection_error"]) == 3 + assert len(step["residual_allowances"]) == 3 + with pytest.raises(ContractError, match="reader_limits"): + be.read_reference_history( + directory, backend.problem.layout, identity, max_record_bytes=1048577 + ) + + def cancelled(): + raise RuntimeError("reader_cancelled") + + with pytest.raises(RuntimeError, match="reader_cancelled"): + be.read_reference_history( + directory, backend.problem.layout, identity, checkpoint=cancelled + ) + + +def test_131_tag_history_using_only_manufactured_physics(tmp_path): + segments, tags = frozen_protocol() + backend = manufactured(segments=segments) + # The schedule/record test uses a coarse manufactured ladder, not a B run. + schedule = be.compile_schedule(segments, tags, level=0, seed=Fraction(1)) + _, _, _, _, readback = execute(tmp_path / "131", backend=backend, schedule=schedule) + assert readback["tagged_observations"] == 131 + assert [r["tag"] for r in readback["observations"]] == tags + + +def test_returned_step_before_observer_failure_is_not_claimed_persisted(tmp_path): + backend = manufactured() + original = backend.check_state + + def failing(point): + if point.time > 0: + raise RuntimeError("manufactured_state_check_failure") + return original(point) + + directory = tmp_path / "returned" + with pytest.raises(RuntimeError, match="manufactured_state_check_failure"): + execute(directory, backend=replace(backend, check_state=failing)) + failure = json.loads((directory / "FirstFailure.json").read_text()) + assert failure["last_returned_step"] == 1 + assert failure["last_returned_step_persisted"] is False + assert failure["counts"]["accepted_steps"] == 0 + + +@pytest.mark.parametrize( + "damage,reason", + [ + ("wrong_step_input", "step_protocol_inputs"), + ("local_increment", "step_local_increment"), + ("storage_secant", "storage_secant_division"), + ("missing_newton_diagnostics", "newton_diagnostics"), + ], +) +def test_science_four_resealed_counterexamples(tmp_path, damage, reason): + directory = tmp_path / damage + backend = manufactured( + segments=(ProtocolSegment("one", 0.0, 0.125, (0.0, 0.0), (0.0, 0.0)),) + ) + _, _, identity, _, _ = execute(directory, backend=backend) + rows = raw_rows(directory) + step = next(r for r in rows if r["kind"] == "be_accepted_step") + if damage == "wrong_step_input": + root = rows[0]["original_reference"] + right = be.unpack_point(step["right"], root, backend.problem.layout) + altered, _ = backend.coordinates.trial( + right, np.zeros(3), right.time, [0.25, 0.0], predecessor=right + ) + assert exact(altered, "n") == exact(right, "n") + step["right"] = be.pack_point(altered, root) + for row in rows: + if row.get("point_identity") == right.identity: + row["point_identity"] = altered.identity + if "physical_state_words" in row: + row["physical_state_words"] = be._physical(altered) + if row.get("last_point_identity") == right.identity: + row["last_point_identity"] = altered.identity + path = directory / "RunResult.json" + result = json.loads(path.read_text()) + result["last_numerical_accepted"]["identity"] = altered.identity + path.write_bytes(be.canonical(result)) + elif damage == "missing_newton_diagnostics": + assert step.pop("newton_iterations") + else: + field = ( + "local_increment_words" + if damage == "local_increment" + else "storage_secant_words" + ) + step[field]["words_hex"][0][0] = (1.0).hex() + reseal(directory, rows) + with pytest.raises(ContractError, match=reason): + be.read_reference_history(directory, backend.problem.layout, identity) + + +@pytest.mark.parametrize("surface", ["result", "side_file", "terminal"]) +def test_failure_reason_location_and_record_are_bound(tmp_path, surface): + directory = tmp_path / surface + backend = manufactured(safety_at=0.25) + with pytest.raises(ContractError, match="accepted_state_safety"): + execute(directory, backend=backend) + result = json.loads((directory / "RunResult.json").read_text()) + identity = be.RunIdentity( + **{k: result[k] for k in be.RunIdentity.__dataclass_fields__} + ) + checked = be.read_reference_history(directory, backend.problem.layout, identity) + assert checked["structural_pass"] and not checked["numerical_complete"] + if surface == "result": + result["first_failure"] = { + "type": "InventedLaterFailure", + "reason": "replacement first error", + } + (directory / "RunResult.json").write_bytes(be.canonical(result)) + elif surface == "side_file": + path = directory / "FirstFailure.json" + failure = json.loads(path.read_text()) + failure["reason"] = "replacement first error" + path.write_bytes(be.canonical(failure)) + else: + rows = raw_rows(directory) + rows[-1]["failure"]["reason"] = "replacement first error" + reseal(directory, rows) + with pytest.raises(ContractError, match="failure_.*binding"): + be.read_reference_history(directory, backend.problem.layout, identity) + + +def frozen_fixture(tmp_path, schema=be.METHOD_SCHEMA): + reviewed = {"schema": schema, "status": "reviewed", "body": {"units": "SI"}} + reviewed_path = tmp_path / "reviewed.json" + reviewed_raw = be.canonical(reviewed) + reviewed_path.write_bytes(reviewed_raw) + value = { + **reviewed, + "status": "frozen", + "freeze": { + "frozen_at": "2026-10-15T04:16:41+00:00", + "frozen_by": "manufactured commander", + "reviewed_path": str(reviewed_path), + "reviewed_sha256": sha256(reviewed_raw).hexdigest(), + "reviewed_bytes": len(reviewed_raw), + "review_records": [ + {"path": "manufactured-review.json", "sha256": "1" * 64} + ], + "user_records": ["manufactured decision"], + "notes": ["fixture, no execution authority"], + "plan_rule": "prospective only", + }, + } + path = tmp_path / "frozen.json" + raw = be.canonical(value) + path.write_bytes(raw) + return value, { + "path": str(path), + "sha256": sha256(raw).hexdigest(), + "bytes": len(raw), + } + + +@pytest.mark.parametrize( + "schema", [be.METHOD_SCHEMA, "solarlab.g2-route.t1-gatespec.v3"] +) +def test_top_level_freeze_body_and_review_pin(tmp_path, schema): + value, descriptor = frozen_fixture(tmp_path, schema) + assert be.read_frozen_definition(descriptor, schema=schema) == value + + +@pytest.mark.parametrize( + "damage", ["extra", "missing", "bytes", "hash", "body", "status", "pin_bytes"] +) +def test_frozen_definition_tampering_is_rejected(tmp_path, damage): + value, descriptor = frozen_fixture(tmp_path) + if damage == "extra": + value["freeze"]["override"] = True + elif damage == "missing": + del value["freeze"]["user_records"] + elif damage == "bytes": + value["freeze"]["reviewed_bytes"] += 1 + elif damage == "hash": + value["freeze"]["reviewed_sha256"] = "f" * 64 + elif damage == "body": + value["body"]["units"] = "changed" + elif damage == "status": + value["status"] = "reviewed" + raw = be.canonical(value) + Path(descriptor["path"]).write_bytes(raw) + descriptor.update(sha256=sha256(raw).hexdigest(), bytes=len(raw)) + if damage == "pin_bytes": + descriptor["bytes"] += 1 + with pytest.raises(ContractError): + be.read_frozen_definition(descriptor, schema=be.METHOD_SCHEMA) + + +def test_valid_freeze_still_requires_independent_execution_admission( + tmp_path, monkeypatch +): + _, descriptor = frozen_fixture(tmp_path) + + def forbidden(*args, **kwargs): + pytest.fail("an unadmitted CLI must not construct B") + + monkeypatch.setattr(be, "prepare_B_backend", forbidden) + path = tmp_path / "manifest.json" + path.write_bytes( + be.canonical( + { + "schema": "solarlab.g2-reference-be-run.v1", + "method_contract": descriptor, + "configuration": {"scientific_execution_authorized": False}, + } + ) + ) + with pytest.raises(ContractError, match="B_not_admitted"): + be.main(["run", "--manifest", str(path)]) + + +@pytest.mark.parametrize("damage", ["rate", "missing_rate", "event_side"]) +def test_step_slope_and_event_side_are_bound(tmp_path, damage): + directory = tmp_path / damage + backend, _, identity, _, _ = execute(directory) + rows = raw_rows(directory) + # Last step on the first segment uses its left-event slope (zero), not the + # slope of the following ramp (one), even though the state is shared. + step = [r for r in rows if r["kind"] == "be_accepted_step" and r["segment"] == "a"][ + -1 + ] + if damage == "rate": + step["input_rate_hex"][0] = (1.0).hex() + elif damage == "missing_rate": + del step["input_rate_hex"] + else: + step["input_event_side"] = "right" + reseal(directory, rows) + with pytest.raises(ContractError, match="step_protocol_inputs"): + be.read_reference_history(directory, backend.problem.layout, identity) + + +def test_non_power_two_secant_uses_declared_rounded_division(tmp_path): + backend = manufactured( + "decay", segments=(ProtocolSegment("one", 0.0, 0.1, (0.0, 0.0), (0.0, 0.0)),) + ) + _, schedule, _, _, receipt = execute(tmp_path / "rounded", backend=backend) + assert ( + len(schedule.steps) == 1 + and receipt["step_consistency_checked"]["declared_secant_division"] + ) + step = next( + r for r in raw_rows(tmp_path / "rounded") if r["kind"] == "be_accepted_step" + ) + delta = be._word_values(step["storage_delta_words"], 2) + secant = be._word_values(step["storage_secant_words"], 2) + h = Fraction(float.fromhex(step["h_hex"])) + assert any(a / h != b for a, b in zip(delta, secant)) + + +def test_zero_newton_is_explicit_and_missing_diagnostics_are_not_zero(tmp_path): + backend = manufactured( + segments=(ProtocolSegment("one", 0.0, 0.125, (0.0, 0.0), (0.0, 0.0)),) + ) + backend = replace( + backend, + budgets={ + "balance": EquationBudget(PARTICLE, [1.0, 1.0]), + "constraint": EquationBudget(VOLT, [1.0]), + }, + ) + directory = tmp_path / "zero" + _, _, identity, _, receipt = execute(directory, backend=backend) + assert receipt["structural_pass"] + rows = raw_rows(directory) + step = next(r for r in rows if r["kind"] == "be_accepted_step") + assert step["newton_iterations"] == [] + assert step["newton_summary"]["initial_trial_accepted"] is True + assert step["solver_counts"] == { + "factorizations": 0, + "linear_solves": 0, + "residual_evaluations": 1, + } + del step["newton_iterations"] + reseal(directory, rows) + with pytest.raises(ContractError, match="newton_diagnostics"): + be.read_reference_history(directory, backend.problem.layout, identity) + + +@pytest.mark.parametrize( + "damage", + [ + "empty", + "summary", + "projection", + "identity", + "merit", + "linear", + "damping", + "counts", + ], +) +def test_mandatory_newton_diagnostics_are_validated(tmp_path, damage): + directory = tmp_path / damage + backend, _, identity, _, _ = execute(directory) + rows = raw_rows(directory) + step = next(r for r in rows if r["kind"] == "be_accepted_step") + item = step["newton_iterations"][0] + if damage == "empty": + step["newton_iterations"] = [] + elif damage == "summary": + del step["newton_summary"] + elif damage == "projection": + item["rhs_projection_error"].pop() + elif damage == "identity": + item["point_identity_before"] = "a" * 64 + elif damage == "merit": + item["merit_after"] = deepcopy(item["merit_before"]) + elif damage == "linear": + item["linear_residual_inf"] = -1.0 + elif damage == "damping": + item["damping"] = 0.75 + else: + step["solver_counts"]["factorizations"] += 1 + reseal(directory, rows) + with pytest.raises(ContractError, match="newton_diagnostics"): + be.read_reference_history(directory, backend.problem.layout, identity) + + +@pytest.mark.parametrize( + "damage", ["location", "record_hash", "body_hash", "record_index"] +) +def test_failure_pointer_tampering_is_rejected(tmp_path, damage): + directory = tmp_path / damage + backend = manufactured(safety_at=0.25) + with pytest.raises(ContractError): + execute(directory, backend=backend) + path = directory / "RunResult.json" + result = json.loads(path.read_text()) + identity = be.RunIdentity( + **{k: result[k] for k in be.RunIdentity.__dataclass_fields__} + ) + pointer = result["first_failure"] + if damage == "location": + pointer["location"]["target_step"]["index"] += 1 + elif damage == "record_hash": + pointer["record_sha256"] = "f" * 64 + elif damage == "body_hash": + pointer["failure_sha256"] = "e" * 64 + else: + pointer["record_index"] += 1 + path.write_bytes(be.canonical(result)) + with pytest.raises(ContractError, match="failure_result_binding"): + be.read_reference_history(directory, backend.problem.layout, identity) + + +def test_reference_layout_uses_public_constructor_without_time_evolution(monkeypatch): + from scripts.benchmarks import coupled_device_prototype as coupled + + # Synthetic material numbers exercise public construction without loading + # an archived B request or carrying out any physical time integration. + definition = coupled.SlabDefinition( + id="ManufacturedLayout", + source_path="manufactured-only", + source_sha256="1" * 64, + dynamic=True, + length=3e-7, + area=1.0, + temperature=300.0, + epsilon=1e-10, + mu_n=0.001, + mu_p=0.001, + diffusion_ion=1e-14, + ion_initial=1e20, + ion_capacity=2e20, + trap_density=1e18, + capture_n=1e-14, + capture_p=1e-14, + n1=1e15, + p1=1e15, + intrinsic_product=1e30, + ni=1e15, + n_eq=1e15, + p_eq=1e15, + f_eq=0.5, + alpha=1e5, + photon_reference=0.0, + ) + public_model = coupled.AffineCoupledSlab(definition, 8) + request = { + "numeric_packet": { + "definition": asdict(definition), + "definition_identity": definition.identity, + "intervals": 8, + "layout_identity": public_model.layout.identity, + } + } + + def forbidden(*args, **kwargs): + pytest.fail("metadata helper attempted time evolution or observation") + + monkeypatch.setattr(be, "conservative_be_step", forbidden) + monkeypatch.setattr(be, "prepare_B_backend", forbidden) + monkeypatch.setattr(be, "run_reference", forbidden) + monkeypatch.setattr(coupled, "run_voltage_lift_native_pilot", forbidden) + layout = be.reference_layout(request) + assert ( + isinstance(layout, Layout) and layout.identity == public_model.layout.identity + ) + assert layout.size == 45 and tuple(layout.offsets) == tuple( + public_model.layout.offsets + ) + altered = deepcopy(request) + altered["numeric_packet"]["layout_identity"] = "a" * 64 + with pytest.raises(ContractError, match="layout_identity"): + be.reference_layout(altered) + altered = deepcopy(request) + altered["numeric_packet"]["definition"]["area"] = 2.0 + with pytest.raises(ContractError, match="layout_definition_identity"): + be.reference_layout(altered) + + +def runtime_fixture(tmp_path, monkeypatch, *, action="run", name="manufactured"): + monkeypatch.setattr(be, "_boot_identity", lambda: "manufactured-boot") + + def threads(): + return { + "library": "/manufactured/libBLAS.dylib", + "getter": "BLASGetThreading", + "before_mode": 1, + "measured_mode": 1, + "required_single_thread_mode": 1, + "thread_environment": {k: "1" for k in be.THREAD_ENVIRONMENT}, + "python_executable": str(Path(sys.executable).resolve()), + "python_version": sys.version, + "checked_ns": be.time.monotonic_ns(), + } + + monkeypatch.setattr(be, "runtime_threads", threads) + monkeypatch.setattr( + be, + "_runtime_thread_end", + lambda r: r.update( + final_measured_mode=1, final_checked_ns=be.time.monotonic_ns() + ), + ) + for key in be.THREAD_ENVIRONMENT: + monkeypatch.setenv(key, "1") + monkeypatch.delenv("SOLARLAB_G2_ROUTE_CHANNEL_FD", raising=False) + slots = tmp_path / "slots" + slots.mkdir(exist_ok=True) + clock_path = tmp_path / "Clock.json" + clock_path.write_bytes( + be.canonical(be.pipeline_clock("manufactured-pipeline", 60.0)) + ) + + def pin(path): + raw = path.read_bytes() + return {"path": str(path), "bytes": len(raw), "sha256": sha256(raw).hexdigest()} + + execution = { + "stage": action, + "directory": str(tmp_path / name), + "channel": 0, + "wall_s": 30.0, + "pipeline": {"id": "manufactured-pipeline", "clock": pin(clock_path)}, + "supervision": { + "rss_bytes": 4 * be.GIB, + "artifact_bytes": 64 * 1048576, + "poll_s": 0.01, + "term_grace_s": 0.1, + "kill_wait_s": 0.1, + "receipt_reserve_s": 0.1, + "closure_path": str(tmp_path / (name + ".closure.json")), + "cancel_path": str(tmp_path / (name + ".cancel.json")), + }, + } + plan = { + "status": "admitted", + "scope": "manufactured runtime test only", + "authority": {"scientific_execution_authorized": True}, + "resources": { + "WS1_channels": 4, + "threads_per_case": 1, + "rss_bytes_per_case": 4 * be.GIB, + "combined_persisted_case_bytes": 64 * 1048576, + }, + "artifacts": {"channel_directory": str(slots)}, + "cases": [{"id": name, "execution": execution}], + } + plan_path = tmp_path / (name + ".plan.json") + plan_path.write_bytes(be.canonical(plan)) + manifest = { + "case_id": name, + "directory": execution["directory"], + "plan": pin(plan_path), + "limits": asdict( + be.Limits(20.0, output_bytes=64 * 1048576, logical_bytes=64 * 1048576) + ), + } + return manifest, plan, slots, pin + + +def test_BE_runtime_imports_reviewed_channel_and_rejects_missing_FD( + tmp_path, monkeypatch +): + from scripts.benchmarks import g2_route + + assert be.route_channel is g2_route._channel + manifest, plan, _, _ = runtime_fixture(tmp_path, monkeypatch) + with pytest.raises(ValueError, match="supervised_channel_fd_required"): + with be.supervised_stage(manifest, plan, "run"): + pytest.fail("missing FD entered producer") + assert not Path(manifest["directory"]).exists() + + +def test_BE_runtime_rejects_wrong_slot_and_does_not_unlock_parent( + tmp_path, monkeypatch +): + import fcntl + from scripts.benchmarks.g2_route_launcher import _owned_channel + + manifest, plan, slots, _ = runtime_fixture(tmp_path, monkeypatch) + (slots / "1.lock").touch() + with _owned_channel(slots, 0) as (fd, _): + monkeypatch.setenv("SOLARLAB_G2_ROUTE_CHANNEL_FD", str(fd)) + plan["cases"][0]["execution"]["channel"] = 1 + with pytest.raises(ValueError, match="inherited_channel_identity"): + with be.supervised_stage(manifest, plan, "run"): + pytest.fail("wrong slot entered producer") + plan["cases"][0]["execution"]["channel"] = 0 + with be.supervised_stage(manifest, plan, "run") as runtime: + Path(manifest["directory"]).mkdir() + runtime.return_code = 0 + os.fstat(fd) # Child context neither closes nor unlocks this descriptor. + with (slots / "0.lock").open("a+b") as competitor: + with pytest.raises(BlockingIOError): + fcntl.flock(competitor.fileno(), fcntl.LOCK_EX | fcntl.LOCK_NB) + receipt = json.loads( + (Path(manifest["directory"]) / "RuntimeReceipt.json").read_text() + ) + assert receipt["thread_receipt"]["final_measured_mode"] == 1 + assert receipt["followup_stages_executed_implicitly"] is False + assert receipt["first_failure"] is None and receipt["return_code"] == 0 + + +@pytest.mark.parametrize( + "damage", ["expired", "wrong_boot", "oversized_stage", "sup_cap", "wrong_stage"] +) +def test_pipeline_and_supervision_cannot_be_reset_or_exceeded( + tmp_path, monkeypatch, damage +): + manifest, plan, _, pin = runtime_fixture(tmp_path, monkeypatch) + execution = plan["cases"][0]["execution"] + path = Path(execution["pipeline"]["clock"]["path"]) + clock = json.loads(path.read_text()) + if damage == "expired": + clock["deadline_ns"] = time.monotonic_ns() - 1 + clock["started_ns"] = clock["deadline_ns"] - 60 * 10**9 + elif damage == "wrong_boot": + clock["boot_identity"] = "other-boot" + elif damage == "oversized_stage": + execution["wall_s"] = 60.0 + elif damage == "sup_cap": + execution["supervision"]["rss_bytes"] = 5 * be.GIB + else: + execution["stage"] = "read" + path.write_bytes(be.canonical(clock)) + execution["pipeline"]["clock"] = pin(path) + with pytest.raises((ContractError, ValueError)): + be.StageRuntime(manifest, plan, "run") + + +def test_runtime_cancellation_and_original_failure_receipt(tmp_path, monkeypatch): + from scripts.benchmarks.g2_route_launcher import _owned_channel + + manifest, plan, slots, _ = runtime_fixture(tmp_path, monkeypatch) + with _owned_channel(slots, 0) as (fd, _): + monkeypatch.setenv("SOLARLAB_G2_ROUTE_CHANNEL_FD", str(fd)) + with pytest.raises(ContractError, match="runtime_cancelled"): + with be.supervised_stage(manifest, plan, "run") as runtime: + runtime.directory.mkdir() + Path(runtime.supervision["cancel_path"]).touch() + runtime.checkpoint() + receipt = json.loads( + (Path(manifest["directory"]) / "RuntimeReceipt.json").read_text() + ) + assert receipt["first_failure"]["reason"] == "reference_be_runtime_cancelled" + assert receipt["outcome"] == "raised" and receipt["scientific_pass"] is False + assert receipt["thread_receipt"]["final_measured_mode"] == 1 + assert receipt["thread_receipt"]["final_measurement_status"] == "measured" + assert ( + receipt["started_ns"] + <= receipt["thread_receipt"]["final_checked_ns"] + <= receipt["ended_ns"] + ) + + +def test_protocol_timing_tracks_only_manufactured_producer(tmp_path): + backend = manufactured() + schedule = be.compile_schedule( + backend.segments, + tags_for(backend.segments, [[s.start, s.end] for s in backend.segments]), + level=0, + seed=Fraction(1, 8), + ) + request = { + "kind": "manufactured", + "segments": [asdict(s) for s in backend.segments], + } + identity = be.RunIdentity( + "timed", + be.digest(request), + "1" * 64, + "2" * 64, + "3" * 40, + "test", + schedule.identity, + backend.problem.source_identity, + backend.initial.identity, + be.digest(be.effective_controls(backend)), + ) + ledger = be.RuntimeLedger() + be.run_reference( + backend, + schedule, + identity, + request, + tmp_path / "timed", + be.Limits(60.0), + timing=ledger, + ) + receipt = ledger.snapshot() + assert [s["segment"] for s in receipt["segments"]] == [ + s.id for s in backend.segments + ] + assert sum(s["accepted_steps"] for s in receipt["segments"]) == len(schedule.steps) + assert all(s["wall_ns"] > 0 for s in receipt["segments"]) + assert receipt["components"]["be_step"]["calls"] == len(schedule.steps) + assert receipt["components"]["interval_observation"]["calls"] == len(schedule.steps) + assert ( + receipt["components"]["reader"]["calls"] + == receipt["components"]["reference_error"]["calls"] + == 0 + ) + assert receipt["peak_process_RSS_bytes"] > 0 + + +@pytest.mark.skipif( + "sys.platform != 'darwin'", + reason="actual BLASGetThreading probe requires macOS Accelerate", +) +def test_macos_accelerate_thread_probe(monkeypatch): + """Exercise the real getter; the mocked contract below stays portable.""" + for key in be.THREAD_ENVIRONMENT: + monkeypatch.setenv(key, "1") + receipt = be.runtime_threads() + try: + be._runtime_thread_end(receipt) + assert receipt["getter"] == "BLASGetThreading" + assert receipt["measured_mode"] == receipt["final_measured_mode"] == 1 + assert receipt["checked_ns"] <= receipt["final_checked_ns"] + finally: + library = be.ctypes.CDLL(receipt["library"]) + library.BLASSetThreading.argtypes = [be.ctypes.c_int] + library.BLASSetThreading.restype = be.ctypes.c_int + library.BLASSetThreading(receipt["before_mode"]) + + +def test_actual_thread_getter_receipt_and_failure(monkeypatch): + class Function: + def __init__(self, operation): + self.operation = operation + + def __call__(self, *args): + return self.operation(*args) + + state = {"mode": 0, "get_calls": 0} + + def get(): + state["get_calls"] += 1 + return state["mode"] + + library = SimpleNamespace( + BLASGetThreading=Function(get), + BLASSetThreading=Function(lambda value: state.update(mode=value) or 0), + ) + monkeypatch.setattr(be.ctypes, "CDLL", lambda path: library) + monkeypatch.setattr( + be, + "sys", + SimpleNamespace( + platform="darwin", executable=sys.executable, version=sys.version + ), + ) + for key in be.THREAD_ENVIRONMENT: + monkeypatch.setenv(key, "1") + receipt = be.runtime_threads() + assert ( + receipt["before_mode"] == 0 + and receipt["measured_mode"] == 1 + and state["get_calls"] == 2 + ) + state["mode"] = 2 + with pytest.raises(ContractError, match="runtime_final_BLAS_thread_mode"): + be._runtime_thread_end(receipt) + assert receipt["final_measured_mode"] == 2 + + +@pytest.mark.parametrize("reset_clock", [False, True]) +def test_readback_is_a_separate_stage_with_original_clock( + tmp_path, monkeypatch, reset_clock +): + from scripts.benchmarks.g2_route_launcher import _owned_channel + + manifest, plan, slots, pin = runtime_fixture(tmp_path, monkeypatch) + with _owned_channel(slots, 0) as (fd, _): + monkeypatch.setenv("SOLARLAB_G2_ROUTE_CHANNEL_FD", str(fd)) + with be.supervised_stage(manifest, plan, "run") as runtime: + backend, _, identity, _, _ = execute( + runtime.directory, + checkpoint=runtime.checkpoint, + plan_sha256=manifest["plan"]["sha256"], + timing=runtime.ledger, + ) + runtime.return_code = 0 + producer = Path(manifest["directory"]) + followup = deepcopy(manifest) + followup.update( + case_id="manufactured_read", + directory=str(tmp_path / "read"), + history={ + "directory": str(producer), + "identity": identity.payload(), + "run_result": pin(producer / "RunResult.json"), + "runtime_receipt": pin(producer / "RuntimeReceipt.json"), + }, + ) + later_plan = deepcopy(plan) + later_plan["cases"][0]["id"] = followup["case_id"] + execution = later_plan["cases"][0]["execution"] + execution.update(stage="read", directory=followup["directory"]) + if reset_clock: + clock_path = tmp_path / "ReplacementClock.json" + clock_path.write_bytes( + be.canonical(be.pipeline_clock("manufactured-pipeline", 60.0)) + ) + execution["pipeline"]["clock"] = pin(clock_path) + monkeypatch.setattr( + be, "reference_layout", lambda request: backend.problem.layout + ) + if reset_clock: + with pytest.raises(ContractError, match="runtime_upstream_clock"): + with be.supervised_stage(followup, later_plan, "read") as runtime: + be._read_manifest(followup, runtime) + assert not Path(followup["directory"]).exists() + else: + with be.supervised_stage(followup, later_plan, "read") as runtime: + runtime.return_code = be._read_manifest(followup, runtime) + receipt = json.loads( + (Path(followup["directory"]) / "RuntimeReceipt.json").read_text() + ) + assert ( + receipt["pipeline_clock"] + == json.loads((producer / "RuntimeReceipt.json").read_text())[ + "pipeline_clock" + ] + ) + assert receipt["timing"]["components"]["reader"]["calls"] == 1 + assert receipt["timing"]["components"]["be_step"]["calls"] == 0 + assert json.loads( + (Path(followup["directory"]) / "Readback.json").read_text() + )["numerical_complete"] + + +def test_error_analysis_is_separately_dispatched_and_keeps_nonzero_status( + tmp_path, monkeypatch +): + from scripts.benchmarks import g2_reference_error + from scripts.benchmarks.g2_route_launcher import _owned_channel + + manifest, plan, slots, pin = runtime_fixture( + tmp_path, monkeypatch, action="evaluate", name="analysis" + ) + manifest["method_contract"] = {"sha256": "1" * 64} + path = tmp_path / "ErrorManifest.json" + path.write_bytes( + be.canonical( + { + "directory": manifest["directory"], + "limits": manifest["limits"], + "method_contract": manifest["method_contract"], + "levels": [ + {"directory": str(tmp_path / f"level{i}")} for i in range(3) + ], + } + ) + ) + manifest["error_manifest"] = pin(path) + manifest["upstream_runtime"] = [{"fixture": i} for i in range(3)] + seen = [] + monkeypatch.setattr(be, "_upstream_runtime", lambda *args: seen.append("upstream")) + + def analyze(argv): + assert argv == ["evaluate", "--manifest", str(path)] + seen.append("E1/E3") + return 2 # Downstream unknown must not become a successful qualification. + + monkeypatch.setattr(g2_reference_error, "main", analyze) + with _owned_channel(slots, 0) as (fd, _): + monkeypatch.setenv("SOLARLAB_G2_ROUTE_CHANNEL_FD", str(fd)) + with be.supervised_stage(manifest, plan, "evaluate") as runtime: + runtime.return_code = be._error_manifest(manifest, runtime) + assert runtime.return_code == 2 + assert seen == ["upstream"] * 3 + ["E1/E3"] + assert runtime.ledger.snapshot()["components"]["reference_error"]["calls"] == 1 + assert runtime.ledger.snapshot()["components"]["be_step"]["calls"] == 0 + + +def test_CLI_runs_only_selected_stage_under_supervision(tmp_path, monkeypatch): + from scripts.benchmarks.g2_route_launcher import _owned_channel + + manifest, plan, slots, pin = runtime_fixture(tmp_path, monkeypatch) + frozen, descriptor = frozen_fixture(tmp_path) + manifest.update( + schema="solarlab.g2-reference-be-run.v1", + method_contract=descriptor, + configuration={ + "scientific_execution_authorized": True, + "source_review_accepted": True, + "commander_admission_identity": "manufactured-test-only", + }, + ) + root = Path(be.__file__).parent + manifest["source_files"] = [ + pin(root / name) + for name in ( + "g2_reference_be.py", + "conservative_device.py", + "contract_prototype.py", + "precision_prototype.py", + "coupled_device_prototype.py", + "interval_observation.py", + "native_history.py", + "g2_route.py", + "g2_route_launcher.py", + ) + ] + path = tmp_path / "RuntimeManifest.json" + path.write_bytes(be.canonical(manifest)) + called = [] + + def producer(value, runtime, method): + assert method == frozen + called.append("producer") + runtime.directory.mkdir() + return 0 + + def forbidden(*args): + pytest.fail("producer implicitly ran a postprocessing stage") + + monkeypatch.setattr(be, "_run_manifest", producer) + monkeypatch.setattr(be, "_read_manifest", forbidden) + monkeypatch.setattr(be, "_error_manifest", forbidden) + with _owned_channel(slots, 0) as (fd, _): + monkeypatch.setenv("SOLARLAB_G2_ROUTE_CHANNEL_FD", str(fd)) + assert be.main(["run", "--manifest", str(path)]) == 0 + assert called == ["producer"] + receipt = json.loads( + (Path(manifest["directory"]) / "RuntimeReceipt.json").read_text() + ) + assert receipt["return_code"] == 0 and receipt["stage"] == "run" + + +def test_run_manifest_preserves_probe_binding_and_instrumentation( + tmp_path, monkeypatch +): + from scripts.benchmarks.g2_route_launcher import _owned_channel + + manifest, plan, slots, pin = runtime_fixture(tmp_path, monkeypatch) + segments, tags = frozen_protocol() + backend = manufactured(segments=segments[:2]) + request = { + "kind": "manufactured_B_interface", + "segments": [asdict(s) for s in segments], + "observation_times": { + s.id: [float.fromhex(t["time_hex"]) for t in tags if t["segment"] == s.id] + for s in segments + }, + } + request_path = tmp_path / "Request.json" + request_path.write_bytes(be.canonical(request)) + schedule = be.compile_schedule(backend.segments, tags[:66], level=0) + identity = be.RunIdentity( + manifest["case_id"], + be.digest(request), + "1" * 64, + manifest["plan"]["sha256"], + "3" * 40, + "manufactured-runtime", + schedule.identity, + backend.problem.source_identity, + backend.initial.identity, + be.digest(be.effective_controls(backend)), + ) + manifest.update( + request=pin(request_path), + identity=identity.payload(), + method_contract={"sha256": "1" * 64}, + tags=tags[:66], + schedule_identity=schedule.identity, + configuration={"segment_count": 2, "ladder_level": 0}, + ) + monkeypatch.setattr(be, "prepare_B_backend", lambda *a, **k: backend) + with _owned_channel(slots, 0) as (fd, _): + monkeypatch.setenv("SOLARLAB_G2_ROUTE_CHANNEL_FD", str(fd)) + with be.supervised_stage(manifest, plan, "run") as runtime: + runtime.return_code = be._run_manifest( + manifest, runtime, {"time_ladder": {"seed_cap_s": [1, 512]}} + ) + result = json.loads((Path(manifest["directory"]) / "RunResult.json").read_text()) + assert ( + result["counts"]["accepted_steps"] == 128 + and result["counts"]["observations"] == 66 + ) + receipt = json.loads( + (Path(manifest["directory"]) / "RuntimeReceipt.json").read_text() + ) + assert receipt["timing"]["components"]["setup"]["calls"] == 1 + assert receipt["timing"]["components"]["reader"]["calls"] == 0 + assert receipt["result_file"] == pin(Path(manifest["directory"]) / "RunResult.json") + + +def runtime_producer_and_reader(tmp_path, monkeypatch, *, body_failure=False): + """A real serialized pipeline around the existing manufactured model only.""" + from scripts.benchmarks.g2_route_launcher import _owned_channel + + root = tmp_path / "producer" + root.mkdir() + manifest, plan, slots, pin = runtime_fixture(root, monkeypatch) + with _owned_channel(slots, 0) as (fd, _): + monkeypatch.setenv("SOLARLAB_G2_ROUTE_CHANNEL_FD", str(fd)) + try: + with be.supervised_stage(manifest, plan, "run") as runtime: + backend, _, identity, _, _ = execute( + runtime.directory, + checkpoint=runtime.checkpoint, + plan_sha256=manifest["plan"]["sha256"], + timing=runtime.ledger, + ) + manifest["identity"] = identity.payload() + if body_failure: + raise RuntimeError("manufactured post-run failure") + runtime.return_code = 0 + except RuntimeError: + assert body_failure + directory = Path(manifest["directory"]) + root = tmp_path / "reader" + root.mkdir() + followup, later_plan, slots, _ = runtime_fixture( + root, monkeypatch, action="read", name="reader" + ) + later_plan["cases"][0]["execution"]["pipeline"] = deepcopy( + plan["cases"][0]["execution"]["pipeline"] + ) + plan_path = Path(followup["plan"]["path"]) + plan_path.write_bytes(be.canonical(later_plan)) + followup["plan"] = pin(plan_path) + followup["history"] = { + "directory": str(directory), + "identity": identity.payload(), + "run_result": pin(directory / "RunResult.json"), + "runtime_receipt": pin(directory / "RuntimeReceipt.json"), + } + monkeypatch.setattr(be, "reference_layout", lambda request: backend.problem.layout) + return followup, later_plan, slots, pin, directory + + +@pytest.mark.parametrize( + "damage", + [ + "missing_fields", + "impossible_timing", + "invalid_BLAS", + "bool_nanoseconds", + "float_nanoseconds", + "unknown_field", + "bad_manifest_digest", + "manifest_bytes", + "manifest_pin_bytes", + "plan_sha", + "execution_copy", + "clock_pin_bytes", + "final_time_before_start", + "missing_final_reading", + "component_time", + "segment_time", + "phase_list", + "success_with_first_failure", + "bool_return_code", + "negative_RSS", + "fake_stage", + "result_plan_chain", + "segment_name", + "segment_counts", + ], +) +def test_BE4_rejects_re_pinned_malformed_runtime_before_reader( + tmp_path, monkeypatch, damage +): + from scripts.benchmarks.g2_route_launcher import _owned_channel + + manifest, plan, slots, pin, directory = runtime_producer_and_reader( + tmp_path, monkeypatch + ) + path = directory / "RuntimeReceipt.json" + record = json.loads(path.read_bytes()) + if damage == "missing_fields": + keep = { + "schema", + "stage", + "pipeline_id", + "pipeline_clock", + "original_deadline_ns", + "result_file", + "case_id", + } + record = {k: v for k, v in record.items() if k in keep} + elif damage == "impossible_timing": + record.update(started_ns=2**60 + 1, ended_ns=-1) + elif damage == "invalid_BLAS": + record["thread_receipt"].update(measured_mode=2, final_measured_mode=2) + elif damage == "bool_nanoseconds": + record["started_ns"] = True + elif damage == "float_nanoseconds": + record["ended_ns"] = float(record["ended_ns"]) + elif damage == "unknown_field": + record["skip_validation"] = True + elif damage == "bad_manifest_digest": + record["manifest_digest"] = "a" * 64 + elif damage == "manifest_bytes": + p = Path(record["manifest"]["path"]) + value = json.loads(p.read_bytes()) + value["directory"] += "_wrong" + p.write_bytes(be.canonical(value)) + record["manifest"] = pin(p) + elif damage == "manifest_pin_bytes": + record["manifest"]["bytes"] += 1 + elif damage == "plan_sha": + record["plan"]["sha256"] = "a" * 64 + elif damage == "execution_copy": + record["execution"]["channel"] = True + elif damage == "clock_pin_bytes": + record["pipeline_clock"]["bytes"] += 1 + elif damage == "final_time_before_start": + record["thread_receipt"]["final_checked_ns"] = record["started_ns"] - 1 + elif damage == "missing_final_reading": + del record["thread_receipt"]["final_checked_ns"] + elif damage == "component_time": + record["timing"]["components"]["be_step"]["wall_ns"] = 2**60 + elif damage == "segment_time": + record["timing"]["segments"][0]["ended_ns"] = record["ended_ns"] + 1 + elif damage == "phase_list": + record["timing"]["not_entered"] = [] + elif damage == "success_with_first_failure": + record["first_failure"] = {"type": "X", "reason": "hidden failure"} + elif damage == "bool_return_code": + record["return_code"] = False + elif damage == "negative_RSS": + record["peak_process_RSS_bytes"] = -1 + elif damage == "fake_stage": + record["stage"] = "evaluate" + elif damage == "result_plan_chain": + p = directory / "RunResult.json" + value = json.loads(p.read_bytes()) + value["plan_sha256"] = "a" * 64 + p.write_bytes(be.canonical(value)) + record["result_file"] = pin(p) + manifest["history"]["run_result"] = pin(p) + elif damage == "segment_name": + record["timing"]["segments"][0]["segment"] = "different_protocol" + elif damage == "segment_counts": + record["timing"]["segments"][0]["accepted_steps"] += 1 + path.write_bytes(be.canonical(record)) + manifest["history"]["runtime_receipt"] = pin(path) + monkeypatch.setattr( + be, + "read_reference_history", + lambda *a, **k: pytest.fail("malformed runtime reached reader"), + ) + with _owned_channel(slots, 0) as (fd, _): + monkeypatch.setenv("SOLARLAB_G2_ROUTE_CHANNEL_FD", str(fd)) + with be.supervised_stage(manifest, plan, "read") as runtime: + with pytest.raises(ContractError): + be._read_manifest(manifest, runtime) + assert not Path(manifest["directory"]).exists() + + +@pytest.mark.parametrize("failed", [False, True]) +def test_BE4_complete_runtime_and_explicit_failed_producer_readback( + tmp_path, monkeypatch, failed +): + from scripts.benchmarks.g2_route_launcher import _owned_channel + + manifest, plan, slots, _, directory = runtime_producer_and_reader( + tmp_path, monkeypatch, body_failure=failed + ) + with _owned_channel(slots, 0) as (fd, _): + monkeypatch.setenv("SOLARLAB_G2_ROUTE_CHANNEL_FD", str(fd)) + with be.supervised_stage(manifest, plan, "read") as runtime: + if failed: + with pytest.raises(ContractError, match="runtime_upstream_incomplete"): + be._upstream_runtime( + manifest["history"]["runtime_receipt"], runtime, directory + ) + runtime.return_code = be._read_manifest(manifest, runtime) + assert runtime.return_code == (2 if failed else 0) + readback = json.loads((Path(manifest["directory"]) / "Readback.json").read_bytes()) + assert readback["numerical_complete"] is True + assert readback["scientific_pass"] is False + assert readback["upstream_runtime"]["runtime_qualified"] is (not failed) + assert (readback["upstream_runtime"]["first_failure"] is not None) is failed + + +@pytest.mark.parametrize("body_failure", [False, True]) +@pytest.mark.parametrize("getter_failure", [False, True]) +def test_BE4_final_BLAS_on_exception_preserves_first_failure( + tmp_path, monkeypatch, body_failure, getter_failure +): + from scripts.benchmarks.g2_route_launcher import _owned_channel + + manifest, plan, slots, _ = runtime_fixture(tmp_path, monkeypatch) + calls = [] + original = be._runtime_thread_end + + def final(receipt): + calls.append("getter") + if getter_failure: + raise OSError("manufactured getter unavailable") + original(receipt) + + monkeypatch.setattr(be, "_runtime_thread_end", final) + with _owned_channel(slots, 0) as (fd, _): + monkeypatch.setenv("SOLARLAB_G2_ROUTE_CHANNEL_FD", str(fd)) + try: + with be.supervised_stage(manifest, plan, "run") as runtime: + runtime.directory.mkdir() + if body_failure: + raise RuntimeError("manufactured original failure") + runtime.return_code = 0 + except (OSError, RuntimeError) as error: + assert type(error) is (RuntimeError if body_failure else OSError) + else: + assert not body_failure and not getter_failure + record = json.loads( + (Path(manifest["directory"]) / "RuntimeReceipt.json").read_bytes() + ) + assert calls == ["getter"] + assert record["thread_receipt"]["final_measurement_status"] == ( + "unavailable" if getter_failure else "measured" + ) + if body_failure: + assert record["first_failure"]["reason"] == "manufactured original failure" + elif getter_failure: + assert record["first_failure"]["reason"] == "manufactured getter unavailable" + else: + assert record["first_failure"] is None + + +def test_BE4_integer_pipeline_clock_above_binary64_exact_range(tmp_path, monkeypatch): + from scripts.benchmarks.g2_route_launcher import _owned_channel + + now = 2**60 + 129 + monkeypatch.setattr(be.time, "monotonic_ns", lambda: now) + manifest, plan, slots, _, directory = runtime_producer_and_reader( + tmp_path, monkeypatch + ) + with _owned_channel(slots, 0) as (fd, _): + monkeypatch.setenv("SOLARLAB_G2_ROUTE_CHANNEL_FD", str(fd)) + with be.supervised_stage(manifest, plan, "read") as runtime: + record = be._upstream_runtime( + manifest["history"]["runtime_receipt"], runtime, directory + ) + assert record["started_ns"] == now and type(record["started_ns"]) is int + assert record["original_deadline_ns"] == now + 60 * 10**9 + assert type(record["original_deadline_ns"]) is int + + +# Exact original time words are appended below from the already reviewed plan; +# tests never access the archive, build the device, or open a historical gzip. + +FROZEN_PROTOCOL_TIMES = ( + """ + 0x0.0p+0 0x1.999999999999ap-9 0x1.999999999999ap-8 0x1.3333333333334p-7 + 0x1.999999999999ap-7 0x1.0000000000000p-6 0x1.3333333333334p-6 0x1.6666666666667p-6 + 0x1.999999999999ap-6 0x1.ccccccccccccdp-6 0x1.0000000000000p-5 0x1.199999999999ap-5 + 0x1.3333333333334p-5 0x1.4cccccccccccdp-5 0x1.6666666666667p-5 0x1.8000000000000p-5 + 0x1.999999999999ap-5 0x1.b333333333334p-5 0x1.ccccccccccccdp-5 0x1.e666666666667p-5 + 0x1.0000000000000p-4 0x1.0cccccccccccdp-4 0x1.199999999999ap-4 0x1.2666666666667p-4 + 0x1.3333333333334p-4 0x1.4000000000000p-4 0x1.4cccccccccccdp-4 0x1.599999999999ap-4 + 0x1.6666666666667p-4 0x1.7333333333334p-4 0x1.8000000000000p-4 0x1.8cccccccccccdp-4 + 0x1.999999999999ap-4 + """, + """ + 0x1.999999999999ap-4 0x1.a666666666667p-4 0x1.b333333333334p-4 0x1.c000000000000p-4 + 0x1.ccccccccccccdp-4 0x1.d99999999999ap-4 0x1.e666666666667p-4 0x1.f333333333334p-4 + 0x1.0000000000000p-3 0x1.0666666666667p-3 0x1.0cccccccccccdp-3 0x1.1333333333334p-3 + 0x1.199999999999ap-3 0x1.2000000000000p-3 0x1.2666666666667p-3 0x1.2cccccccccccdp-3 + 0x1.3333333333334p-3 0x1.399999999999ap-3 0x1.4000000000000p-3 0x1.4666666666667p-3 + 0x1.4cccccccccccdp-3 0x1.5333333333334p-3 0x1.599999999999ap-3 0x1.6000000000000p-3 + 0x1.6666666666667p-3 0x1.6cccccccccccdp-3 0x1.7333333333334p-3 0x1.799999999999ap-3 + 0x1.8000000000000p-3 0x1.8666666666667p-3 0x1.8cccccccccccdp-3 0x1.9333333333334p-3 + 0x1.999999999999ap-3 + """, + """ + 0x1.999999999999ap-3 0x1.9999a70592e70p-3 0x1.9999b163a30e5p-3 0x1.9999c3c3c9e6dp-3 + 0x1.9999e45596582p-3 0x1.999a1e0fc9042p-3 0x1.999a84612a836p-3 0x1.999b39bb349bep-3 + 0x1.999c7b2a4c24ap-3 0x1.999eb4e2bd2cfp-3 0x1.99a2a6ad7aac5p-3 0x1.99a9a4779f060p-3 + 0x1.99b608c054337p-3 0x1.99cbff6a58322p-3 0x1.99f2ed3773c4dp-3 0x1.9a37ecf116263p-3 + 0x1.9ab238baab35ep-3 0x1.9b8afbb783de1p-3 0x1.9d0b2dd4dc51fp-3 0x1.9fb42402bf2fep-3 + 0x1.a46b19a98733dp-3 0x1.acc65b411bf97p-3 0x1.bb960c0667a72p-3 0x1.d5d691787c997p-3 + 0x1.022f1fd90a8ddp-2 0x1.2b6b7557af67fp-2 0x1.7481dd261becep-2 0x1.ecccccccccccdp-2 + 0x1.f60cd2bba5a84p-2 0x1.6dd3fd850a068p-1 0x1.8666666666666p-1 0x1.0b33333333333p+0 + 0x1.1ca78a30c01f8p+0 0x1.5333333333333p+0 0x1.9b33333333333p+0 0x1.d0fb8ca164f25p+0 + 0x1.e333333333333p+0 0x1.159999999999ap+1 0x1.399999999999ap+1 0x1.5d9999999999ap+1 + 0x1.819999999999ap+1 0x1.884d1af340315p+1 0x1.a59999999999ap+1 0x1.c99999999999ap+1 + 0x1.ed9999999999ap+1 0x1.08ccccccccccdp+2 0x1.1accccccccccdp+2 0x1.2cccccccccccdp+2 + 0x1.3eccccccccccdp+2 0x1.50ccccccccccdp+2 0x1.51c6deac61ee1p+2 0x1.62ccccccccccdp+2 + 0x1.74ccccccccccdp+2 0x1.86ccccccccccdp+2 0x1.98ccccccccccdp+2 0x1.aaccccccccccdp+2 + 0x1.bcccccccccccdp+2 0x1.ceccccccccccdp+2 0x1.e0ccccccccccdp+2 0x1.f2ccccccccccdp+2 + 0x1.0266666666666p+3 0x1.0b66666666666p+3 0x1.1466666666666p+3 0x1.1d66666666666p+3 + 0x1.2666666666666p+3 + """, +) diff --git a/tests/numerical_contracts/test_g2_reference_error.py b/tests/numerical_contracts/test_g2_reference_error.py new file mode 100644 index 00000000..891cfb5b --- /dev/null +++ b/tests/numerical_contracts/test_g2_reference_error.py @@ -0,0 +1,705 @@ +"""Analytic E1/E3 checks and manufactured counterexamples; no B integration.""" + +from dataclasses import asdict +from copy import deepcopy +from fractions import Fraction +from hashlib import sha256 +import importlib.util +import json +import math +from pathlib import Path +from types import SimpleNamespace + +import numpy as np +import pytest + +from scripts.benchmarks import g2_reference_error as error +from scripts.benchmarks.contract_prototype import ( + ONE, + SECOND, + VOLT, + EquationSpec, + Layout, + Support, + VariableSpec, +) + + +def premises(names): + return { + name: { + "checked": True, + "source_identity": "manufactured_analytic_" + name, + "statement": "Explicit analytic fixture premise, not a B qualification", + } + for name in names + } + + +def axes(**amounts): + return {name: amounts.get(name, Fraction()) for name in error.AXES} + + +def scalar_scaling(): + unit = json.loads(json.dumps(asdict(ONE))) + return error.Scaling((Fraction(1),), (Fraction(1),), (unit,), (unit,)) + + +def envelope(size=1, *, radius=Fraction(1)): + return { + "premises": premises(error.E3_PREMISES), + "source_identity": "analytic_linear_envelope", + "A_radius": [[0] * size for _ in range(size)], + "B_radius": [[0] * size for _ in range(size)], + "equation_error_by_axis": {a: [0] * size for a in error.AXES}, + "direct_state_error_by_axis": axes(), + "box_radius": radius, + } + + +def test_E1_three_levels_bound_the_known_decay_solution(): + values = [ + (Fraction(1) / (1 + h)) ** int(1 / h) + for h in (Fraction(1, 4), Fraction(1, 8), Fraction(1, 16)) + ] + out = error.estimate_e1(values, [0] * 3, premises=premises(error.E1_PREMISES)) + assert ( + out["status"] == "computed_pending_review" and out["method_status"] == "passed" + ) + # Alternating exponential series gives an independent rational enclosure. + n = 80 + high = sum( + (Fraction((-1) ** k, math.factorial(k)) for k in range(n + 1)), Fraction() + ) + low = high - Fraction(1, math.factorial(n + 1)) + assert error.q(out["E_R"]) >= values[2] - low > values[2] - high > 0 + assert error.q(out["ratio_lower"]) ** 5 >= 16 + assert error.q(out["ratio_upper"]) ** 5 <= 64 + + +def test_frozen_coefficient_is_upward_and_weights_include_contamination(): + assert error.C == Fraction(42167, 25000) + assert (1 + error.FS / error.C) ** 5 <= 16 + assert (1 + error.FS / Fraction(42166, 25000)) ** 5 > 16 + u = [Fraction(1, 1000)] * 3 + result = error.estimate_e1([3, 1, 0], u, premises=premises(error.E1_PREMISES)) + assert error.q(result["E_R"]) == error.C + error.C * u[1] + (error.C + 1) * u[2] + + +@pytest.mark.parametrize( + "values,uncertainties,status,reason", + [ + ([0, 2, 1], [0, 0, 0], "failed", "oscillatory"), + ([4, 1, 0], [0, 0, 0], "failed", "nonasymptotic"), + ([3, 1, 0], [Fraction(1, 5)] * 3, "unknown", "crosses"), + ([3, 1, 1], [0, 0, 0], "unknown", "denominator"), + ([3, 1, 0], [0, None, 0], "unknown", "number"), + ], +) +def test_E1_counterexamples_remain_unknown_reference_error( + values, uncertainties, status, reason +): + result = error.estimate_e1( + values, uncertainties, premises=premises(error.E1_PREMISES) + ) + assert result["status"] == "unknown_reference_error" + assert result["method_status"] == status and reason in result["reason"] + assert result["E_R"] is None + + +def test_three_equal_values_and_contraction_are_not_proofs(): + assert ( + error.estimate_e1([1, 1, 1], [0, 0, 0], premises=premises(error.E1_PREMISES))[ + "E_R" + ] + is None + ) + assert error.estimate_e1([3, 1, 0], [0, 0, 0], premises={})["E_R"] is None + proof = { + "kind": "same_initial_point", + "checked": True, + "source_identity": "same-public-Point", + "statement": "Only time approximation vanishes; initial uncertainty remains", + } + result = error.estimate_e1( + [1, 1, 1], + [Fraction(1, 10)] * 3, + premises=premises(error.E1_PREMISES), + zero_time_proof=proof, + ) + assert error.q(result["E_R"]) == Fraction(1, 10) + + +def test_scalar_E3_covers_exact_implicit_error(): + result = error.evaluate_e3_step( + A=[[Fraction(5, 4)]], + B=[[1]], + residual=[Fraction(1, 100)], + scaling=scalar_scaling(), + previous=axes(initial_and_algebraic=Fraction(1, 50)), + envelope=envelope(), + ) + expected = Fraction(3, 100) / Fraction(5, 4) + assert result["status"] == "computed_pending_review" + assert expected <= error.q(result["error_upper"]) < expected + Fraction(1, 10**12) + assert error.q(result["eta_upper"]) < 1 + + +def test_E3_recurrence_retains_amplification_at_every_step(): + previous = axes() + for _ in range(20): + out = error.evaluate_e3_step( + A=[[Fraction(1, 2)]], + B=[[1]], + residual=[Fraction(1, 2 * 10**12)], + scaling=scalar_scaling(), + previous=previous, + envelope=envelope(), + ) + assert out["status"] == "computed_pending_review" + previous = out["error_by_axis"] + exact = Fraction(2**20 - 1, 10**12) + assert exact <= error.q(out["error_upper"]) < exact + Fraction(1, 10**15) + assert error.q(out["error_upper"]) > 20 * Fraction(1, 10**12) + + +def test_DAE_scaling_uses_conservative_amount_units_and_algebraic_rows(): + layout = Layout( + (Support("state", "global", (1,)),), + ( + VariableSpec("a_x", "analytic", "state", (1,), ONE), + VariableSpec("b_phi", "analytic", "state", (1,), VOLT, role="constraint"), + ), + ( + EquationSpec("a_balance", "analytic", "state", (1,), ONE / SECOND), + EquationSpec( + "b_constraint", "analytic", "state", (1,), VOLT, role="constraint" + ), + ), + ) + + def si(u): + return json.loads(json.dumps(asdict(u))) + + spec = { + "state": [2, 4], + "equation": [3, 5], + "state_units": [si(ONE), si(VOLT)], + "equation_units": [si(ONE), si(VOLT)], + } + scaling = error.Scaling.from_spec(spec, layout) + result = error.evaluate_e3_step( + A=[[Fraction(5, 4), 0], [-2, 1]], + B=[[1, 0], [0, 0]], + residual=[Fraction(1, 100), Fraction(1, 200)], + scaling=scaling, + previous=axes(initial_and_algebraic=Fraction(1, 100)), + envelope=envelope(2), + ) + assert result["status"] == "computed_pending_review" + # Independent exact inverse applied to a worst signed previous state error. + dx = (Fraction(2, 100) + Fraction(1, 100)) / Fraction(5, 4) + dphi = 2 * dx + Fraction(1, 200) + assert error.q(result["error_upper"]) >= max(dx / 2, dphi / 4) + spec["equation_units"][0] = si(ONE / SECOND) + with pytest.raises(error.MissingEvidence, match="physical_scaling_units"): + error.Scaling.from_spec(spec, layout) + + +@pytest.mark.parametrize("kind", ["radius", "eta", "remainder", "initial", "infinite"]) +def test_missing_or_invalid_E3_data_never_becomes_zero(kind): + bound = envelope() + previous = axes() + if kind == "radius": + bound["box_radius"] = None + elif kind == "eta": + bound["A_radius"] = [[2]] + elif kind == "remainder": + del bound["equation_error_by_axis"]["trajectory_nonlinear"] + elif kind == "initial": + previous = None + elif kind == "infinite": + bound["direct_state_error_by_axis"]["evaluation"] = float("inf") + result = error.evaluate_e3_step( + A=[[1]], + B=[[1]], + residual=[Fraction(1, 10)], + scaling=scalar_scaling(), + previous=previous, + envelope=bound, + ) + assert result["status"] == "unknown_reference_error" and result["E_R"] is None + + +def test_finite_wrong_inverse_cannot_certify_a_step(monkeypatch): + monkeypatch.setattr(np.linalg, "inv", lambda a: np.zeros_like(a)) + out = error.evaluate_e3_step( + A=[[1]], + B=[[1]], + residual=[0], + scaling=scalar_scaling(), + previous=axes(), + envelope=envelope(), + ) + assert ( + out["status"] == "unknown_reference_error" + and out["reason"] == "eta_not_below_one" + ) + + +def test_outward_matrix_product_encloses_exact_rational_product(): + z = np.array([[0.1, -0.3], [1.2, 2.3]]) + a = np.array([[1e-200, 7.1], [-3.7, 1e200]]) + low, high = error._left_product(z, a, a) + for i in range(2): + for j in range(2): + exact = sum( + (Fraction(float(z[i, k])) * Fraction(float(a[k, j])) for k in range(2)), + Fraction(), + ) + assert Fraction(float(low[i, j])) <= exact <= Fraction(float(high[i, j])) + + +@pytest.mark.parametrize("kind", ["int64", "uint64", "rational", "integer_list"]) +def test_exact_operator_endpoints_survive_cancellation(kind): + # Science RE-F01: rounding 2**53+1 before addition loses the true endpoint 1. + center, radius = -(2**53), 2**53 + 1 + if kind == "int64": + a, r = ( + np.array([[center]], dtype=np.int64), + np.array([[radius]], dtype=np.int64), + ) + elif kind == "uint64": + center, radius = 2**63 + 1, 2**63 + a, r = ( + np.array([[center]], dtype=np.uint64), + np.array([[radius]], dtype=np.uint64), + ) + elif kind == "rational": + center, radius = Fraction(center, 3), Fraction(radius, 3) + a, r = np.array([[center]], dtype=object), np.array([[radius]], dtype=object) + else: + a, r = [[center]], [[radius]] + low, high = scalar_scaling().operators(a, r) + assert Fraction(float(low[0, 0])) <= center - radius + assert Fraction(float(high[0, 0])) >= center + radius + if kind == "uint64": + assert low[0, 0] == 1.0 + elif kind != "rational": + assert high[0, 0] == 1.0 + + +def test_float64_operator_path_keeps_existing_outward_arithmetic(): + a = np.array([[0.1]], dtype=np.float64) + r = np.array([[0.2]], dtype=np.float64) + low, high = scalar_scaling().operators(a, r) + expected_low = np.nextafter(np.nextafter(a - r, -np.inf), -np.inf) + expected_high = np.nextafter(np.nextafter(a + r, np.inf), np.inf) + assert np.array_equal(low.view(np.uint64), expected_low.view(np.uint64)) + assert np.array_equal(high.view(np.uint64), expected_high.view(np.uint64)) + + +def test_integer_sparse_and_mixed_exact_operator_inputs(): + from scipy.sparse import csr_matrix + + a = csr_matrix(np.array([[-(2**53)]], dtype=np.int64)) + low, high = scalar_scaling().operators(a, np.array([[2**53 + 1]], dtype=object)) + assert Fraction(float(low[0, 0])) <= -(2**54) - 1 + assert high[0, 0] == 1.0 + low, high = scalar_scaling().operators(np.array([[-float(2**53)]]), [[2**53 + 1]]) + assert high[0, 0] == 1.0 + + +def test_wide_float_matrix_is_not_silently_narrowed(): + if np.dtype(np.longdouble).itemsize <= 8: + pytest.skip("platform longdouble has only binary64 precision") + with pytest.raises(error.MissingEvidence, match="matrix_float_precision"): + scalar_scaling().operators(np.array([[1]], dtype=np.longdouble), [[0]]) + + +def test_zero_balance_is_not_a_q_or_f_error_oracle(): + proof = premises( + ( + "fixed_B_continuity", + "complete_boundary_storage", + "fixed_parameters_and_initial", + "no_reset_or_impulse", + ) + ) + coverage = { + "all_pieces_independently_integrated": True, + "storage_delta_substitution": False, + "history_sha256": "manufactured-math-only", + } + zero = {"center": [0, 1], "radius": [0, 1]} + assert ( + error.flux_error(zero, zero, {}, identity_proof=proof, path_coverage=coverage)[ + "E_R" + ] + is None + ) + charge = error.charge_error( + [1, -2], + [axes(trajectory_nonlinear=Fraction(1, 10))] * 2, + [axes(initial_and_algebraic=Fraction(1, 20))] * 2, + axes(), + ) + assert error.q(charge["E_R"]) == Fraction(9, 20) + flux = error.flux_error( + zero, zero, charge, identity_proof=proof, path_coverage=coverage + ) + assert error.q(flux["E_R"]) == Fraction(9, 20) + coverage["storage_delta_substitution"] = True + assert ( + error.flux_error( + zero, zero, charge, identity_proof=proof, path_coverage=coverage + )["E_R"] + is None + ) + assert ( + error.flux_error(zero, zero, charge, identity_proof={}, path_coverage=coverage)[ + "E_R" + ] + is None + ) + + +@pytest.mark.parametrize("x", [True, float("nan"), float("inf"), [1, 0], [-1, -2]]) +def test_invalid_scalar_encodings_are_rejected(x): + with pytest.raises(error.MissingEvidence): + error.q(x) + + +def test_upward_bound_storage_is_finite_size_and_monotone(): + for v in (Fraction(1, 3), Fraction(1, 10**150), Fraction(10**150, 3)): + rounded = error.upper(v) + assert rounded >= v and (rounded - v) / v <= Fraction(1, 2**158) + + +def manufactured_campaign(tmp_path): + # Reuse the existing public-BE manufactured fixture, not any device run. + location = Path(__file__).with_name("test_g2_reference_be.py") + spec = importlib.util.spec_from_file_location("g2_be_math_fixtures", location) + helper = importlib.util.module_from_spec(spec) + spec.loader.exec_module(helper) + segment = helper.ProtocolSegment("analytic", 0.0, 1.0, (0.0, 0.0), (0.0, 0.0)) + backend = helper.manufactured("driven", segments=(segment,)) + tags = helper.tags_for(backend.segments, [[0.0, 1.0]]) + levels = [] + for level in range(3): + schedule = helper.be.compile_schedule( + backend.segments, tags, level=level, seed=Fraction(1, 8) + ) + _, _, identity, _, _ = helper.execute( + tmp_path / str(level), backend=backend, schedule=schedule + ) + levels.append( + error.load_level( + { + "directory": str(tmp_path / str(level)), + "identity": identity.payload(), + }, + backend.problem.layout, + ) + ) + + def units(u): + return json.loads(json.dumps(asdict(u))) + + n_unit = backend.problem.layout.variables[0].unit + scaling = { + "state": [1, 1, 1], + "equation": [1, 1, 1], + "state_units": [units(n_unit), units(n_unit), units(VOLT)], + "equation_units": [units(n_unit), units(n_unit), units(VOLT)], + } + provider = SimpleNamespace( + layout=backend.problem.layout, + source_identity=backend.problem.source_identity, + charge_coefficients=[1, 1, 0], + charge_form_identity="manufactured_body_form", + ) + provider.operators = lambda left, right: ( + backend.problem.conservative_jacobian(left, right), + [[1, 0, 0], [0, 1, 0], [0, 0, 0]], + ) + provider.feasible_box = lambda point, radius, scale: ( + min(helper.exact(point, "n")) > radius + ) + bound = envelope(3) + bound["source_identity"] = provider.source_identity + support = { + "source_identity": provider.source_identity, + "scaling": scaling, + "initial_point_identity": backend.initial.identity, + "initial_error_by_axis": axes(), + "initial_premises": premises(("initial_error_and_DAE_meaning",)), + "step_envelope": bound, + "port_sensitivities": { + "port/" + side: { + "premises": premises( + ("uniform_physical_sensitivity", "direct_input_coverage") + ), + "unit": "A", + "absolute_gradient": [0, 0, 0], + "direct_error_by_axis": axes(), + "state_units": scaling["state_units"], + } + for side in ("left", "right") + }, + } + target = error.target_identity( + provider.source_identity, backend.initial.identity, [asdict(segment)] + ) + invariants = { + key: { + "kind": "reviewed_constant_or_invariant", + "checked": True, + "source_identity": "analytic-linear-time-invariant", + "statement": "phi=9; I_left=0; I_right+t=0", + "labels_sha256": error.digest(tags), + "target_problem_identity": target, + } + for key in ("state/phi/0", "port/left", "port/right") + } + parameters = { + "schema": "solarlab.g2-reference-error-parameters.v1", + "target_problem_identity": target, + "method_contract_sha256": "1" * 64, + "E1_premises": premises(error.E1_PREMISES), + "levels": [deepcopy(support) for _ in range(3)], + "invariants": invariants, + "charge": { + "form_identity": provider.charge_form_identity, + "extra_by_axis": axes(), + "premises": premises( + ("complete_body_charge_form", "fixed_coefficients_and_background") + ), + "identity_proof": premises( + ( + "fixed_B_continuity", + "complete_boundary_storage", + "fixed_parameters_and_initial", + "no_reset_or_impulse", + ) + ), + }, + } + context = { + "target_problem_identity": target, + "method_contract": {"path": "manufactured-method", "sha256": "1" * 64}, + "lineage_source": {"path": "manufactured-lineage", "sha256": "2" * 64}, + "author": "analytic_test", + "premises": parameters["E1_premises"], + "reference_identity": { + "case_id": "manufactured", + "run_id": error.digest(levels[2].identity.payload()), + "source_identity": provider.source_identity, + "request_sha256": levels[2].identity.input_sha256, + }, + } + return levels, provider, parameters, context + + +def test_offline_history_to_complete_conditional_records(tmp_path): + levels, provider, parameters, context = manufactured_campaign(tmp_path) + log = [] + result = error.analyze_levels( + levels, provider, parameters, context, emit=log.append + ) + assert ( + result["status"] == "computed_pending_review" + and result["scientific_pass"] is False + ) + assert len(log) == 8 + 16 + 32 + assert {x["level"] for x in log} == {0, 1, 2} + assert all( + r["claim_kind"] == "conditional_uncertainty_estimate" + for r in result["quantities"].values() + ) + q = result["quantities"]["q"] + f = result["quantities"]["f"] + assert error.q(q["conditional_estimate_value"]) > 0 + assert error.q(f["conditional_estimate_value"]) >= error.q( + q["conditional_estimate_value"] + ) + assert f["rigorous_bound_value"] is None and f["diagnostic_value"] is None + assert result["E2_status"] == "pending_Main_Strict_transfer" + error.canonical(result) + + +def test_offline_missing_remainder_stays_unknown_and_keeps_all_steps(tmp_path): + levels, provider, parameters, context = manufactured_campaign(tmp_path) + del parameters["levels"][1]["step_envelope"]["equation_error_by_axis"]["evaluation"] + log = [] + result = error.analyze_levels( + levels, provider, parameters, context, emit=log.append + ) + assert result["status"] == "unknown_reference_error" + assert result["quantities"]["q"]["conditional_estimate_value"] is None + assert result["E3_summary"][1]["first_failure"]["step_index"] == 1 + assert len(log) == 56 + + +def test_changed_quantity_clock_is_not_compared_by_array_position(tmp_path): + levels, provider, parameters, context = manufactured_campaign(tmp_path) + levels[1].readback["observations"][-1]["tag"]["time_hex"] = (0.5).hex() + with pytest.raises(error.MissingEvidence, match="different_time_labels"): + error.analyze_levels(levels, provider, parameters, context) + + +def test_native_history_is_rejected_before_reader_opens_it(tmp_path, monkeypatch): + (tmp_path / "RunResult.json").write_text( + json.dumps({"schema": "native_history", "method": "IDA"}) + ) + identity = { + "case_id": "old", + "input_sha256": "1" * 64, + "method_contract_sha256": "2" * 64, + "plan_sha256": "3" * 64, + "source_commit": "4" * 40, + "environment_identity": "test", + "schedule_identity": "5" * 64, + "source_identity": "6" * 64, + "initial_point_identity": "7" * 64, + "controls_sha256": "8" * 64, + } + + def forbidden(*args, **kwargs): + raise AssertionError("old history must never be opened") + + monkeypatch.setattr(error, "read_reference_history", forbidden) + with pytest.raises(error.MissingEvidence, match="not_BE_history"): + error.load_level({"directory": str(tmp_path), "identity": identity}, None) + + +def test_method_loader_accepts_actual_top_level_freeze_structure(tmp_path): + author = { + "schema": error.METHOD_SCHEMA, + "version": 1, + "status": "candidate", + "authority": {"freeze_record": None}, + "E1": { + "Fs": [5, 4], + "p_use": [4, 5], + "coefficient_upper": [42167, 25000], + "order_interval": [[4, 5], [6, 5]], + }, + "time_ladder": {"levels": [0, 1, 2]}, + } + + def save(name, value): + p = tmp_path / name + raw = error.canonical(value) + p.write_bytes(raw) + return {"path": str(p), "sha256": sha256(raw).hexdigest(), "bytes": len(raw)} + + a = save("Author.json", author) + r = save("Review.json", {"review": "manufactured-method-test-only"}) + frozen = { + **author, + "status": "frozen", + "freeze": { + "frozen_at": "2026-10-15T00:00:00Z", + "frozen_by": "manufactured-test", + "reviewed_path": a["path"], + "reviewed_sha256": a["sha256"], + "reviewed_bytes": a["bytes"], + "review_records": [r], + "user_records": ["test"], + "notes": ["three levels, two refinements"], + "plan_rule": "test only", + }, + } + reference = save("Frozen.json", frozen) + assert error.load_method(reference)["authority"]["freeze_record"] is None + frozen["E1"]["coefficient_upper"] = [1, 1] + with pytest.raises(error.MissingEvidence, match="changed_reviewed_method_body"): + error.load_method(save("Changed.json", frozen)) + + +def test_nonnumeric_matrices_cannot_drop_imaginary_or_boolean_parts(): + for matrix in (np.array([[1j]]), np.array([[True]])): + out = error.evaluate_e3_step( + A=matrix, + B=[[1]], + residual=[0], + scaling=scalar_scaling(), + previous=axes(), + envelope=envelope(), + ) + assert out["status"] == "unknown_reference_error" + + +def test_zero_charge_coefficients_do_not_require_unrelated_state_error(tmp_path): + levels, provider, parameters, context = manufactured_campaign(tmp_path) + del parameters["invariants"]["state/phi/0"] + result = error.analyze_levels(levels, provider, parameters, context) + assert result["quantities"]["state/phi/0"]["status"] == "unknown_reference_error" + assert result["quantities"]["q"]["status"] == "computed_pending_review" + assert ( + result["status"] == "unknown_reference_error" + ) # Other required state gates still matter. + + +@pytest.mark.parametrize("mutation", ["seed", "input"]) +def test_time_family_and_physical_protocol_must_match(tmp_path, mutation): + levels, provider, parameters, context = manufactured_campaign(tmp_path) + if mutation == "seed": + levels[1].header["schedule"]["seed"] = [1, 4] + reason = "different_time_family" + else: + for level in levels: + level.header["schedule"]["segments"][0]["voltage"][1] = 1.0 + reason = "history_protocol_differs_from_source_request" + with pytest.raises(error.MissingEvidence, match=reason): + error.analyze_levels(levels, provider, parameters, context) + + +def test_public_factored_form_keeps_area_nt_sign_and_divisor(): + from scripts.benchmarks.contract_prototype import ( + COULOMB, + PARTICLE, + LinearFactor, + LinearTerm, + PhysicalLinearForm, + ) + + layout = Layout( + (Support("cells", "cell", (2,)),), + (VariableSpec("population", "analytic", "cells", (2,), PARTICLE),), + (EquationSpec("balance", "analytic", "cells", (2,), PARTICLE / SECOND),), + ) + source = "analytic_factor_source" + charge = LinearFactor("q", 0.1, COULOMB / PARTICLE, source) + factor = LinearFactor("area_times_Nt_fixture", 3.0, ONE, source) + divisor = LinearFactor("thickness_fixture", 7.0, ONE, source) + form = PhysicalLinearForm( + layout, + ("body",), + (COULOMB,), + ( + LinearTerm(0, "population", 0, (charge, factor), -1, divisor), + LinearTerm(0, "population", 1, (charge,), 1), + ), + source, + "state", + 2, + ) + (row,) = error.form_matrix(form) + assert row == [-Fraction(0.1) * 3 / 7, Fraction(0.1)] + + +def test_error_output_respects_cap_and_never_replaces_existing_bundle(tmp_path): + from scripts.benchmarks.g2_reference_be import Limits + + output = error.Output( + tmp_path / "bundle", + Limits(60.0, output_bytes=1024, metadata_reserve=128, record_bytes=128), + ) + output.emit({"kind": "manufactured"}) + with pytest.raises(error.MissingEvidence, match="error_output_budget"): + output.emit({"oversized": "x" * 200}) + output.close() + with pytest.raises(FileExistsError): + error.Output(tmp_path / "bundle", Limits(60.0)) diff --git a/tests/numerical_contracts/test_g2_route.py b/tests/numerical_contracts/test_g2_route.py new file mode 100644 index 00000000..447b0a1f --- /dev/null +++ b/tests/numerical_contracts/test_g2_route.py @@ -0,0 +1,1152 @@ +"""Manufactured D14/D25/route regressions; never launch a physical native run.""" +from copy import deepcopy +from fractions import Fraction +import hashlib +import json +from pathlib import Path +import time + +import pytest + +from scripts.benchmarks.native_history import HistoryWriter +from scripts.benchmarks.native_readback import HistoryVerificationError, verify_history, _decode +from scripts.benchmarks.physical_tolerance import certificate_failure_policy +from .test_native_readback import fixture, tag, digest + + +def continued_fixture(*, failure=True, observation="online"): + def policy(request, observer_policy): + request["certificate_failure_policy"] = certificate_failure_policy(observation=observation) + return observer_policy + request, rows, result = fixture(policy) + first = None + progress = {"schema": "solarlab.scientific-progress.v1", "failed_gates": [], + "first_failure": None, "pending_proofs": ["T1"], "status": "pending", "passed": False} + for row in rows: + if failure and first is None and row["kind"] == "voltage_lift_current_certificate": + evidence = _decode(row["evidence"]) + # Change the actual reference centers; both readback errors must + # independently reconstruct the now-failing current comparison. + for key in ("raw_reference_A", "same_state_exact_tangent_reference_A"): + for value in evidence[key]: + value["center"][0] -= value["center"][1] + evidence["source_and_readback_error_A"] = ((Fraction(1),)*2,)*2 + evidence["combined_current_bound_A"] = (Fraction(2),)*2 + evidence["passed"] = False + row["evidence"] = tag(evidence) + first = {"gate": "current", "record_sha256": digest(row)} + progress.update(first_failure=first, failed_gates=["current"], status="failed") + if row["kind"] == "voltage_lift_interval_charge": + row["kind"] = "voltage_lift_interval_certificate" + row["scientific_progress"] = deepcopy(progress) + result.update(first_failure=first, last_physically_accepted=None, complete_readback=False, + scientific_progress=progress, scientific_status=progress["status"], scientific_pass=False, + signed_integral_prefix_C=tag({key: (Fraction(0),)*3 for key in + ("raw_polynomial", "same_state_affine_tangent")})) + if observation == "sealed-history": + count = 0 + for row in rows: + if row["kind"] == "voltage_lift_interval_certificate": + count += 1 + original = _decode(row["observation"]) + row["kind"] = "voltage_lift_interval_deferred" + row["observation"] = tag({k: original[k] for k in ("frame_identity", "path_identity", "clock")}) + row["observation"]["charge_observation"] = "pending" + row["charge_observation"] = {"status": "pending", "deferred_intervals": count} + result.update(cumulative_absolute_charge_bounds_C=None, cumulative_observation_reference_bounds_C=None, + signed_integral_prefix_C=None, charge_observation={"status": "pending", "deferred_intervals": count}) + return request, rows, result + + +def publish_fixture(folder, data): + request, rows, result = deepcopy(data) + writer = HistoryWriter(folder / "NativeHistory.jsonl.gz", encoding="gzip", total_output_bytes=8*1048576) + for row in rows: + writer.append(row) + if result.get("first_failure") is not None: + writer.publish_first_failure(result["first_failure"]) + writer.finish() + result["history"] = {"encoding": "gzip", "path": writer.path.name, + "logical_bytes": writer.logical_bytes, "encoded_bytes": writer.encoded_bytes, + "records": writer.records, "logical_sha256": writer.logical_sha256, + "closed": True, "container_complete": True, "error": None} + result["counts"].update(history_bytes=writer.logical_bytes, history_encoded_bytes=writer.encoded_bytes) + for name, value in (("NativeRequest.json", request), ("NativeResult.json", result)): + (folder / name).write_text(json.dumps(value, allow_nan=False)) + return result + + +def read_fixture(folder, **kwargs): + return verify_history(folder, max_record_bytes=1048576, max_logical_bytes=4*1048576, + max_records=5000, deadline_monotonic=time.perf_counter()+10, **kwargs) + + +@pytest.mark.parametrize("failure", [False, True]) +def test_d14_reader_completes_after_certificate_failure_or_pending(tmp_path, failure): + data = continued_fixture(failure=failure) + result = publish_fixture(tmp_path, data) + actual = read_fixture(tmp_path) + assert actual["complete_protocol"] and actual["complete_readback"] + assert actual["history"]["records"] == len(data[1]) + assert actual["history"]["logical_sha256"] == result["history"]["logical_sha256"] + assert actual["history"]["eof_seen"] and actual["history"]["crc_verified"] + assert actual["coverage"]["intervals"] == 3 + assert actual["scientific_status"] == ("failed" if failure else "unknown") + assert actual["scientific_pass"] is False + assert not (tmp_path / "LastAccepted.json").exists() + assert result["last_numerical"]["time_s"] == 2 and result["last_physically_accepted"] is None + assert all(row["scientific_progress"]["first_failure"] == result["first_failure"] for row in data[1] + if row["kind"] == "voltage_lift_interval_certificate") + + +@pytest.mark.parametrize("observation", ["online", "sealed-history"]) +@pytest.mark.parametrize("target", ["interval", "result"]) +@pytest.mark.parametrize("alias", [0, 0.0], ids=["int-zero", "float-zero"]) +def test_reader_rejects_rehashed_scientific_progress_alias(tmp_path, observation, target, alias): + data = continued_fixture(observation=observation) + row = data[2] if target == "result" else next(row for row in data[1] if row["kind"] in + ("voltage_lift_interval_certificate", "voltage_lift_interval_deferred")) + row["scientific_progress"]["passed"] = alias + publish_fixture(tmp_path, data) # genuine new logical/container hashes + with pytest.raises(HistoryVerificationError, match="scientific_progress|deferred_interval_progress"): + read_fixture(tmp_path) + + +@pytest.mark.parametrize("mode", ["absent", "null", "false", "valid"]) +def test_certificate_policy_producer_reader_modes_agree(monkeypatch, mode): + from types import SimpleNamespace + from scripts.benchmarks import coupled_device_prototype as d + from scripts.benchmarks.native_readback import _Protocol + request, _, _ = fixture() + if mode != "absent": + request["certificate_failure_policy"] = {"null": None, "false": False, + "valid": certificate_failure_policy()}[mode] + invalid = mode in ("null", "false") + seen = [] + original = d._ScientificProgress + def progress(policy): + seen.append(policy) + return original(policy) + class BeforeBackend(Exception): + pass + def stop(*args, **kwargs): + raise BeforeBackend + # The actual producer mode-selection is exercised up to its next policy + # boundary; this synthetic request never reaches imports or F/J/IDA. + monkeypatch.setattr(d, "validate_voltage_lift_native_request", lambda *args: None) + monkeypatch.setattr(d, "_ScientificProgress", progress) + monkeypatch.setattr(d, "voltage_lift_execution_wall_policy", stop) + mapping = SimpleNamespace(model=None, identity=request["map_identity"]) + admission = {"request_sha256": digest(request), "map_identity": mapping.identity, + "voltage_lift_native_authorized": True, "coordinator_message": "msg_manufactured_test_only"} + with pytest.raises(ValueError if invalid else BeforeBackend): + d.run_voltage_lift_native_pilot(mapping, (), request, admission, lambda row: None) + if invalid: + with pytest.raises(ValueError, match="certificate_policy_binding"): + _Protocol(request, None) + else: + reader = _Protocol(request, None) + assert (reader.science is not None) == (mode == "valid") == bool(seen) + if seen: + assert reader.science.policy == seen[0] + + +@pytest.mark.parametrize("damage", ["later_interval", "boolean", "negative_error", "density", "owner", "trailer"]) +def test_d14_reader_rejects_corruption_after_first_scientific_failure(tmp_path, damage): + data = continued_fixture() + rows = data[1] + intervals = [row for row in rows if row["kind"] == "voltage_lift_interval_certificate"] + if damage == "later_interval": + rows.remove(intervals[-1]) + elif damage == "boolean": + next(row for row in reversed(rows) if row["kind"] == "voltage_lift_current_certificate")["evidence"]["passed"] = False + elif damage == "negative_error": + decoded = _decode(intervals[-1]["observation"]) + decoded["ledgers"]["raw_polynomial"]["error_components_C"]["input"] = (Fraction(-1),)*3 + intervals[-1]["observation"] = tag(decoded) + elif damage == "density": + row = next(row for row in reversed(rows) if row["kind"] == "voltage_lift_polynomial_domain") + value = _decode(row["evidence"]) + value["domain_bounds"]["n_m3"] = ((Fraction(-1), Fraction(1)),)*2 + row["evidence"] = tag(value) + elif damage == "owner": + row = next(row for row in reversed(rows) if row["kind"] == "voltage_lift_native_observation_packet") + value = _decode(row["packet"]) + value["owner"] = "foreign-owner" + row["packet"] = tag(value) + publish_fixture(tmp_path, data) + if damage == "trailer": + path = tmp_path / "NativeHistory.jsonl.gz" + path.write_bytes(path.read_bytes()[:-5]) + with pytest.raises(HistoryVerificationError): + read_fixture(tmp_path) + + +def test_d14_scientific_latch_survives_later_pass_and_event(): + from scripts.benchmarks.coupled_device_prototype import _ScientificProgress + progress = _ScientificProgress(certificate_failure_policy()) + assert progress.payload()["status"] == "pending" + progress.note("T1", False, {"interval": 1, "signed": 3}) + first = deepcopy(progress.payload()["first_failure"]) + progress.note("T1", True, {"interval": 2, "signed": -3, "event": "hold"}) + assert progress.payload()["status"] == "failed" + assert progress.payload()["first_failure"] == first + assert progress.payload()["passed"] is False + + +@pytest.mark.parametrize("metrics", [ + {"constraint_potential_bound_V": float("nan")}, + {"constraint_charge_bound_C": float("inf")}, + {"maximum_site_fraction": 1.0}, + {"minimum_f": -.01, "maximum_f": .5}, +]) +def test_d14_state_safety_is_not_a_scientific_catch(metrics): + from scripts.benchmarks.coupled_device_prototype import _scientific_sample_safety + from scripts.benchmarks.contract_prototype import ContractError + values = {"constraint_potential_bound_V": 0., "constraint_charge_bound_C": 0., "contact_max_relative": 0.} + values.update(metrics) + with pytest.raises(ContractError): + _scientific_sample_safety(values) + + +@pytest.mark.parametrize("observation", ["online", "sealed-history"]) +@pytest.mark.parametrize("fault", [None, "solver", "clock", "initialization"]) +def test_d14_actual_producer_loop_continues_science_but_stops_safety(monkeypatch, fault, observation, window=False): + """Execute the maintained loop with invented buffers; IDA/F/J are absent.""" + from types import SimpleNamespace as NS + import sys + import numpy as np + from scripts.benchmarks import coupled_device_prototype as d, native_observation as o, interval_observation as io + from scripts.benchmarks.runtime_timing import RuntimeTiming + request, rows, _ = fixture(lambda r, p: (r.update(certificate_failure_policy=certificate_failure_policy(observation=observation)) or p)) + request["budgets"].update(wall_s=60., rss_bytes=8*1024**3) + request["interval_observation"]["arithmetic"] = dict(bits=128, evaluations=32, depth=4) + if window: + from scripts.benchmarks.physical_tolerance import run_window_policy + request["execution_window"] = run_window_policy(request, "a") + segments = tuple(d.ProtocolSegment(**row) for row in request["segments"]) + samples = {(row["segment_id"], float.fromhex(row["history"]["time_hex"]), row["history"]["origin"]): row + for row in rows if row["kind"] == "voltage_lift_rate_pair"} + packets = [_decode(row["packet"]) for row in rows if row["kind"] == "voltage_lift_native_observation_packet"] + domains = [_decode(row["evidence"]) for row in rows if row["kind"] == "voltage_lift_polynomial_domain"] + intervals = [row for row in rows if row["kind"] == "voltage_lift_interval_charge"] + proofs = {row["segment_id"]: row["proof"] for row in rows if row["kind"] == "voltage_lift_initialization_input"} + certificates = {row["sample_record_sha256"]: _decode(row["evidence"]) for row in rows + if row["kind"] == "voltage_lift_current_certificate"} + model = NS(layout=NS(size=6), reference=NS(identity=request["voltage_lift_map"]["physical_reference"]), + graph=NS(edges=lambda: np.array([[i, i] for i in range(6)]), shape=(6, 6)), + mass=NS(tocoo=lambda: NS(col=np.arange(4)))) + mapping = NS(model=model, identity=request["map_identity"], frame=None) + context = NS(request_sha256=d.digest(request), segments=segments, request_copy=lambda: deepcopy(request)) + reference = next(row for row in rows if row["kind"] == "voltage_lift_reference") + monkeypatch.setattr(d, "validate_voltage_lift_native_request", lambda *a: None) + monkeypatch.setattr(d, "AffineSamplingContext", lambda *a: context) + monkeypatch.setattr(d, "VoltageLiftHistory", lambda *a, **k: NS(reference_record=reference["reference"], reference_digest=reference["reference_digest"])) + monkeypatch.setattr(o, "validate_interval_observation_admission", lambda *a: request["interval_observation"]) + monkeypatch.setattr(o, "require_loaded_observation_backend", lambda *a: None) + monkeypatch.setattr(o, "prepare_charge_accumulator", lambda *a: None) + monkeypatch.setitem(sys.modules, "sksundae.ida", NS(IDA=object)) + monkeypatch.setattr(io, "BallIntegrator", lambda **k: NS(calls=[])) + monkeypatch.setattr(d, "_voltage_lift_guard_applied", lambda *a: None) + position, current_calls = [-1], [0] + + class Solver: + def __init__(self, segment): self.segment = segment; self.steps = 0 + def init_step(self, t, z, zdot): + return NS(t=t, y=z, yp=zdot, success=fault != "initialization", status=0, message="manufactured") + def step(self, t, **kw): + assert kw["method"] == "onestep" + position[0] += 1; self.steps += 1 + end = packets[position[0]]["endpoint"] + when = end["internal_t"] + if fault == "clock" and position[0] == 1: when = -.1 + return NS(t=when, y=np.frombuffer(end["raw_y"], dtype=" epsilon*lower + plan = plan_fixture(tmp_path) + plan.update(status="admitted") + plan["authority"]["scientific_execution_authorized"] = True + plan["implementation"]["available_now"] = True + path = tmp_path / "RunPlan.json"; path.write_text(json.dumps(plan)) + result = g2_route.validate(path) + assert not result["ready"] and "definition_not_frozen_gate_spec" in result["blockers"] + assert "evaluation_not_admitted" in result["evaluation_blockers"] + with pytest.raises(ValueError): g2_route.run(path, "B_N8_Main_Probe") + + +def admitted_metadata_plan(tmp_path,monkeypatch): + """Complete local metadata fixtures; no real authority or native work.""" + from .test_g2_route_bindings import generation_ancestor,frozen_definition,write_json + from scripts.benchmarks import g2_route as g,g2_route_bindings as b + plan=plan_fixture(tmp_path) + plan.update(status="admitted");plan["authority"]["scientific_execution_authorized"]=True + plan["implementation"]["available_now"]=True + gate=frozen_definition(tmp_path,"Gate","solarlab.g2-route.t1-gatespec.v3",3) + method=frozen_definition(tmp_path,"Method","solarlab.g2-reference-method.v1",1) + plan["definitions"].update(gate_spec=gate,evidence_method_contract=method) + plan["protocol"]["reference_refresh_schedule"].update(same_owner_generation_increment=1, + preserve_original_segment_inputs=True,discard_native_multistep_history=True,restored_seed_prefix_credit=False) + plan["resources"].update(probe_wall_cap_s=3600,full_wall_cap_max_s=43200) + sources={str(Path(g.__file__).resolve()):hashlib.sha256(Path(g.__file__).read_bytes()).hexdigest()} + freeze=plan["source_freeze"] + freeze.update(future_execution_commit="d"*40,generation_plan_sha256="e"*64,frozen_gate_spec=gate, + frozen_evidence_method_contract=method,source_sha256=sources,method_versions=g.METHODS, + environment_lock=write_json(tmp_path/"FixtureEnvironment.json",{"fixture_only":True})) + request_hashes={} + for case in plan["cases"]: + ancestor=generation_ancestor(case["mesh_intervals"],case["id"].split("_")[2],monkeypatch) + case["input_ancestor"]=write_json(tmp_path/(case["id"]+"Ancestor.json"),ancestor) + request=b.build_effective_request(ancestor,case,source_commit="d"*40,generation_plan_sha256="e"*64,gate_spec=gate) + request_pin=write_json(tmp_path/(case["id"]+"Request.json"),request) + request_hashes[case["id"]]=b.digest(request) + case["execution"]={"request":request_pin,"effective_input_digest":b.digest(request),"channel":0, + "directory":str(tmp_path/case["id"]),"wall_s":100 if case["stage"] == "probe" else 300, + "supervision":supervision_fixture(tmp_path),"forecast":{"feasible":True,"estimated_s":100,"slow_hold_model":"fixture"}, + "native_admission":{"fixture_only":True},"max_record_bytes":65536,"integer_io_policy":None} + case["execution"]["supervision"].update(closure_path=str(tmp_path/(case["id"]+"-RuntimeReceipt.json")), + cancel_path=str(tmp_path/(case["id"]+"-Cancel"))) + if case["stage"] == "full": + case["execution"] = None + review={"fixture_only":True,"accepted":True,"execution_commit":"d"*40,"method_versions":g.METHODS, + "gate_spec_sha256":gate["sha256"],"evidence_method_contract_sha256":method["sha256"], + "source_sha256":sources,"request_sha256s":request_hashes} + freeze["review_record"]=write_json(tmp_path/"FixtureSourceReview.json",review) + path=tmp_path/"FixtureRunPlan.json";write_json(path,plan) + return path,plan + + +def test_run_admission_does_not_require_unreviewed_evaluator(tmp_path,monkeypatch): + from scripts.benchmarks import g2_route as g + path,plan=admitted_metadata_plan(tmp_path,monkeypatch) + value=g.validate(path,executable=True,case_id="B_N8_Main_Probe") + assert value["run_ready"] and not value["evaluation_ready"] + with pytest.raises(ValueError,match="evaluation_not_admitted"): + g.validate(path,executable=True,purpose="evaluate") + monkeypatch.setattr(g,"_runtime",lambda *args:(_ for _ in ()).throw(AssertionError("unreviewed evaluation reached runtime"))) + with pytest.raises(ValueError,match="evaluation_not_admitted"): + g.observe(path,"B_N8_Main_Probe") + + +@pytest.mark.parametrize("damage",[None,"source","review_bool"]) +def test_evaluation_requires_its_own_exact_source_review(tmp_path,monkeypatch,damage): + from scripts.benchmarks import g2_route as g + from .test_g2_route_bindings import write_json + path,plan=admitted_metadata_plan(tmp_path,monkeypatch) + root=Path(g.__file__).resolve().parent + sources={str(root/name):hashlib.sha256((root/name).read_bytes()).hexdigest() for name in g.EVALUATOR_FILES} + if damage == "source": sources[str(root/"t1_gate.py")]="0"*64 + review={"fixture_only":True,"accepted":1 if damage == "review_bool" else True,"evaluation_source_review":True, + "source_sha256":sources,"gate_spec_sha256":plan["definitions"]["gate_spec"]["sha256"], + "evidence_method_contract_sha256":plan["definitions"]["evidence_method_contract"]["sha256"]} + plan["evaluation_freeze"]={"status":"admitted","source_sha256":sources, + "review_record":write_json(tmp_path/"FixtureEvaluatorReview.json",review)} + write_json(path,plan) + assert g.validate(path,executable=True)["run_ready"] + if damage: + with pytest.raises(ValueError,match="evaluation_review_binding|evaluator_source_changed"): + g.validate(path,executable=True,purpose="evaluate") + else: + assert g.validate(path,executable=True,purpose="evaluate")["evaluation_ready"] + + +def test_run_finishes_with_sealed_producer_output_without_observe(tmp_path,monkeypatch): + from contextlib import nullcontext + from scripts.benchmarks import g2_route as g,native_runner + path,plan=admitted_metadata_plan(tmp_path,monkeypatch) + context=g.validate(path,executable=True,case_id="B_N8_Main_Probe") + case=next(c for c in plan["cases"] if c["id"] == "B_N8_Main_Probe") + request=g._pinned(case["execution"]["request"]) + monkeypatch.setattr(g,"_runtime",lambda *args:(case,request,None,(),lambda:None)) + monkeypatch.setattr(g,"_channel",lambda *args:nullcontext()) + monkeypatch.setattr(g,"_observe",lambda *args:(_ for _ in ()).throw(AssertionError("producer started evaluation"))) + pending={"complete_run_window":True,"complete_protocol":False,"scientific_pass":False,"charge_observation":{"status":"pending"}} + monkeypatch.setattr(native_runner,"run_recorded",lambda *args,**kwargs:dict(pending)) + assert g.run(path,case["id"]) == pending + + +@pytest.mark.parametrize("damage",["body","bytes","review_hash","version_alias"]) +def test_frozen_definition_is_only_a_status_and_freeze_copy(tmp_path,damage): + from .test_g2_route_bindings import frozen_definition + from scripts.benchmarks import g2_route as g + ref=frozen_definition(tmp_path,"Definition",g.T1_SPEC_SCHEMA,3) + value=g._pinned(ref) + if damage == "body": value["fixture_only"]=False + elif damage == "bytes": value["freeze"]["reviewed_bytes"]+=1 + elif damage == "review_hash": value["freeze"]["review_records"][0]["sha256"]="0"*64 + else: value["version"]=3.0 + with pytest.raises(ValueError):g._frozen_definition(value,g.T1_SPEC_SCHEMA,3) + + +@pytest.mark.parametrize("notes,rule",[("reviewed explanation","prospective only"), + (["reviewed explanation"],["prospective only"]),("explanation",["rule"]),([],"")]) +def test_freeze_explanations_preserve_exact_reviewed_body(tmp_path,notes,rule): + from scripts.benchmarks import g2_route + from .test_g2_route_bindings import frozen_definition + ref=frozen_definition(tmp_path,"Definition",g2_route.T1_SPEC_SCHEMA,3) + value=g2_route._pinned(ref) + value["freeze"].update(notes=notes,plan_rule=rule) + assert g2_route._frozen_definition(value,g2_route.T1_SPEC_SCHEMA,3) is value + value["fixture_only"]=False + with pytest.raises(ValueError,match="definition_reviewed_body_changed"): + g2_route._frozen_definition(value,g2_route.T1_SPEC_SCHEMA,3) + + +@pytest.mark.parametrize("field,bad",[("notes",None),("notes",True),("notes",["text",0]), + ("plan_rule",{}),("plan_rule",1),("unlisted","")]) +def test_freeze_rejects_unlisted_keys_and_nontext_explanations(tmp_path,field,bad): + from scripts.benchmarks import g2_route + from .test_g2_route_bindings import frozen_definition + ref=frozen_definition(tmp_path,"Definition",g2_route.T1_SPEC_SCHEMA,3) + value=g2_route._pinned(ref);value["freeze"][field]=bad + with pytest.raises(ValueError,match="definition_freeze"): + g2_route._frozen_definition(value,g2_route.T1_SPEC_SCHEMA,3) + + +@pytest.mark.parametrize("bad_review",[None,[],False,0,"not a review object"]) +def test_nondict_evaluator_review_blocks_only_evaluation(tmp_path,monkeypatch,bad_review): + from scripts.benchmarks import g2_route + from .test_g2_route_bindings import write_json + path,plan=admitted_metadata_plan(tmp_path,monkeypatch) + sources={str(Path(g2_route.__file__).resolve().parent/name): + hashlib.sha256((Path(g2_route.__file__).resolve().parent/name).read_bytes()).hexdigest() + for name in g2_route.EVALUATOR_FILES} + raw=(json.dumps(bad_review)+"\n").encode();review_path=tmp_path/"InvalidReview.json";review_path.write_bytes(raw) + plan["evaluation_freeze"]={"status":"admitted","source_sha256":sources, + "review_record":{"path":str(review_path),"bytes":len(raw),"sha256":hashlib.sha256(raw).hexdigest()}} + write_json(path,plan) + value=g2_route.validate(path,executable=True) + assert value["run_ready"] is True and value["evaluation_ready"] is False + assert value["evaluation_blockers"] == ["g2_route_evaluation_review_root"] + monkeypatch.setattr(g2_route,"_runtime",lambda *args:(_ for _ in ()).throw(AssertionError("invalid review reached runtime"))) + with pytest.raises(ValueError,match="evaluation_review_root"): + g2_route.observe(path,"B_N8_Main_Probe") + + +def write_probe_receipt(path, receipt): + """Use the actual metadata encoder, never the launcher process entry.""" + from scripts.benchmarks.g2_route_launcher import _encode_receipt + raw = _encode_receipt(receipt, receipt["artifact_bytes_before_receipt"], 2**63-1) + path.write_bytes(raw) + return {"path": str(path), "bytes": len(raw), "sha256": hashlib.sha256(raw).hexdigest()} + + +def full_metadata_plan(tmp_path, monkeypatch): + """Pinned manufactured probe receipts, with no history or native run.""" + from copy import deepcopy + from scripts.benchmarks import g2_route as g + from scripts.benchmarks.g2_route_launcher import CHANNEL_PROTOCOL, Limits, REPOSITORY + from .test_g2_route_bindings import write_json + path, probe = admitted_metadata_plan(tmp_path, monkeypatch) + producer_pin = write_json(path, probe) + plan = deepcopy(probe) + plan["admission"] = {"stage": "full", "admitted_case_ids": sorted( + case["id"] for case in plan["cases"] if case["stage"] == "full")} + evidence = {} + for case in probe["cases"]: + if case["stage"] != "probe": + continue + execution = case["execution"] + directory = Path(execution["directory"]); directory.mkdir() + request = g._pinned(execution["request"]) + history = dict(logical_bytes=1000, encoded_bytes=500, records=20, + logical_sha256="a"*64, closed=True, container_complete=True, writer_error=None) + native = dict(fixture_only=True, status="completed_bounded_voltage_lift_native_pilot", + request_sha256=execution["effective_input_digest"], complete_run_window=True, complete_protocol=False, + execution_window=request["execution_window"], history=history, elapsed_s=4, + counts={"native_steps": 2, "residual": 4, "jacobian": 1}, + scientific_status="failed", scientific_progress={"first_failure": {"gate": "manufactured_T1_failure"}}) + pid = 1000000001 # Invented identifier; no process inspection or signalling. + sample = {"elapsed_s": 2, "rss_bytes": 2048, "artifact_bytes": 4096, + "members": [{"pid": pid, "pgid": pid, "rss_bytes": 2048}]} + receipt = dict(fixture_only=True, schema="solarlab.g2-route.launcher-result.v1", case_id=case["id"], + plan_sha256=producer_pin["sha256"], process_outcome="completed", termination_reason="completed", + exit_code=0, exit_signal=None, cancellation_signal=None, signals_sent=[], error=None, + wall_s=10, receipt_initial_write_s=.01, limits=vars(Limits.from_execution(execution)), + command=[str(REPOSITORY/".venv/bin/python"), "-m", "scripts.benchmarks.g2_route", "run", + "--plan", str(path.resolve()), "--case", case["id"]], cwd=str(REPOSITORY), + pid=pid, pgid=pid, session_id=pid, channel=execution["channel"], channel_protocol=CHANNEL_PROTOCOL, + observed_pids=[pid], peak_group_rss_bytes=2048, peak_artifact_bytes=8192, artifact_bytes_before_receipt=8192, + last_samples=[sample], rss_peak_sample=sample, artifact_peak_sample=sample, + closure={"schema": "solarlab.owned-tool-process-closure.v1", "pgid": pid, "after_tool_exit_code": 0, + "process_group_absent": True, "all_named_owned_processes_and_groups_absent": True, + "remaining_group_members": [], "remaining_owned_processes": [], + "checks": [{"pid": pid, "pid_absent": True, "same_id_process_group_absent": True}]}) + timing = dict(fixture_only=True, schema="solarlab.native-aggregate-timing.v1", + recorded_call_outcome="returned_completed", phases={"history_io": {"calls": 2, "exclusive_ns": 10**9}}) + reader = dict(fixture_only=True, schema="solarlab.native-history-verification.v1", + verified=True, complete_readback=True, complete_run_window=True, + request_sha256=native["request_sha256"], history=dict(history, eof_seen=True, crc_verified=True), elapsed_s=3) + evidence[case["id"]] = { + "runtime_receipt": write_probe_receipt(Path(execution["supervision"]["closure_path"]), receipt), + "sealed_result": write_json(directory/"NativeResult.json", native), "producer_plan": producer_pin, + "runtime_timing": write_json(directory/"RuntimeTiming.json", timing), + "independent_readback": write_json(directory/"RunResult.json", reader)} + plan["probe_evidence"] = evidence + for case in plan["cases"]: + if case["stage"] == "probe": + case["execution"] = None + continue + request_path = tmp_path/(case["id"]+"Request.json") + request = json.loads(request_path.read_text()) + request_pin = write_json(request_path, request) + chosen = "B_N8_" + case["id"].split("_")[2] + "_Probe" + measured = {} + for phase, source, seconds_path, time_unit, work_path, seconds, units in ( + ("bootstrap", "runtime_receipt", ["wall_s"], "s", None, 10, 1), + ("native", "sealed_result", ["elapsed_s"], "s", ["counts", "native_steps"], 4, 2), + ("online_safety", "sealed_result", ["elapsed_s"], "s", ["counts", "native_steps"], 4, 2), + ("observer", "independent_readback", ["elapsed_s"], "s", None, 3, 1), + ("io", "runtime_timing", ["phases", "history_io", "exclusive_ns"], "ns", ["phases", "history_io", "calls"], 1, 2), + ("closeout", "runtime_receipt", ["wall_s"], "s", None, 10, 1)): + measured[phase] = dict(probe_case_id=chosen, source=source, seconds_path=seconds_path, + time_unit=time_unit, work_path=work_path, seconds=seconds, work_units=units, units_per_s=units/seconds) + forecast = dict(feasible=True, mesh_intervals=case["mesh_intervals"], + slow_hold_model="manufactured conservative work model; no real forecast", + phase_seconds={phase: row["seconds"]*2 for phase, row in measured.items()}, + phase_work_units={phase: row["work_units"]*2 for phase, row in measured.items()}, + measured_throughput=measured, probe_evidence=deepcopy(evidence), + work_counts={"accepted_steps": 500, "residual_calls": 1000, "jacobian_calls": 250}, + N16_uncertainty="manufactured explicit uncertain N8 proxy") + forecast["phase_work_units"]["native"] = 500 + forecast["phase_seconds"]["native"] = 500 / measured["native"]["units_per_s"] + forecast["estimated_s"] = sum(forecast["phase_seconds"].values()) + case["execution"] = dict(request=request_pin, effective_input_digest=g._digest(request), + channel=0, directory=str(tmp_path/case["id"]), wall_s=3*forecast["estimated_s"], + supervision=supervision_fixture(tmp_path), forecast=forecast, + native_admission={"fixture_only": True}, max_record_bytes=65536, integer_io_policy=None) + target = tmp_path/"FullPlan.json"; write_json(target, plan) + return target, plan + + +def test_H_probes_admit_only_three_cases_with_null_dormant_execution(tmp_path, monkeypatch): + from scripts.benchmarks import g2_route as g + path, plan = admitted_metadata_plan(tmp_path, monkeypatch) + found = g.validate(path, executable=True) + assert found["admission_stage"] == "probes" + assert set(found["admitted_case_ids"]) == {f"B_N8_{name}_Probe" for name in ("Coarse", "Main", "Strict")} + assert all(case["execution"] is None for case in plan["cases"] if case["stage"] == "full") + with pytest.raises(ValueError, match="case_not_in_admitted_stage"): + g.validate(path, executable=True, case_id="B_N16_Strict_Full") + + +@pytest.mark.parametrize("execution", [{}, {"wall_s": None}, False]) +def test_H_unadmitted_execution_is_rejected(tmp_path, monkeypatch, execution): + from scripts.benchmarks import g2_route as g + from .test_g2_route_bindings import write_json + path, plan = admitted_metadata_plan(tmp_path, monkeypatch) + next(case for case in plan["cases"] if case["stage"] == "full")["execution"] = execution + write_json(path, plan) + with pytest.raises(ValueError, match="unadmitted_case_execution"): + g.validate(path) + + +def test_H_full_phase_requires_three_probe_receipts(tmp_path, monkeypatch): + from scripts.benchmarks import g2_route as g + from .test_g2_route_bindings import write_json + path, plan = admitted_metadata_plan(tmp_path, monkeypatch) + plan["admission"] = {"stage": "full", "admitted_case_ids": sorted(case["id"] for case in plan["cases"] if case["stage"] == "full")} + for case in plan["cases"]: case["execution"] = None + write_json(path, plan) + with pytest.raises(ValueError, match="full_probe_receipts_required"): + g.validate(path) + + +def test_H_full_phase_binds_measured_forecast_and_retains_scientific_failure(tmp_path, monkeypatch): + from scripts.benchmarks import g2_route as g + path, plan = full_metadata_plan(tmp_path, monkeypatch) + value = g.validate(path, executable=True) + assert value["admission_stage"] == "full" and len(value["admitted_case_ids"]) == 4 + assert all(g._pinned(refs["sealed_result"])["scientific_status"] == "failed" for refs in plan["probe_evidence"].values()) + + +@pytest.mark.parametrize("damage", ["missing_probe", "receipt_hash", "closure", "exit_alias", "source", "unsealed", "reader", "throughput", "seconds_path", "profile", "steps", "wall", "cap", "slow_model"]) +def test_H_full_phase_rejects_unbound_probe_or_forecast(tmp_path, monkeypatch, damage): + from scripts.benchmarks import g2_route as g + from .test_g2_route_bindings import write_json + path, plan = full_metadata_plan(tmp_path, monkeypatch) + refs = plan["probe_evidence"]["B_N8_Coarse_Probe"] + case = next(case for case in plan["cases"] if case["id"] == "B_N8_Coarse_Full") + if damage == "missing_probe": del plan["probe_evidence"]["B_N8_Main_Probe"] + elif damage == "receipt_hash": refs["runtime_receipt"]["sha256"] = "0"*64 + elif damage in {"closure", "exit_alias", "source"}: + value = g._pinned(refs["runtime_receipt"]) + if damage == "closure": value["closure"]["all_named_owned_processes_and_groups_absent"] = False + elif damage == "exit_alias": value["exit_code"] = False + else: value["plan_sha256"] = "0"*64 + refs["runtime_receipt"] = write_json(Path(refs["runtime_receipt"]["path"]), value) + elif damage in {"unsealed", "reader"}: + name = "sealed_result" if damage == "unsealed" else "independent_readback" + value = g._pinned(refs[name]); value["history"]["closed" if damage == "unsealed" else "crc_verified"] = False + refs[name] = write_json(Path(refs[name]["path"]), value) + elif damage == "throughput": case["execution"]["forecast"]["measured_throughput"]["native"]["units_per_s"] *= 2 + elif damage == "seconds_path": case["execution"]["forecast"]["measured_throughput"]["native"]["seconds_path"] = ["not_measured"] + elif damage == "profile": case["execution"]["forecast"]["measured_throughput"]["native"]["probe_case_id"] = "B_N8_Main_Probe" + elif damage == "steps": case["execution"]["forecast"]["work_counts"]["accepted_steps"] = 4 + elif damage == "wall": case["execution"]["wall_s"] += 1 + elif damage == "cap": case["execution"]["forecast"]["phase_seconds"]["native"] = 20000 + else: case["execution"]["forecast"]["slow_hold_model"] = "" + write_json(path, plan) + with pytest.raises(ValueError): g.validate(path, executable=True) + + +@pytest.mark.parametrize("stage", ["probes", "full"]) +def test_I_dormant_execution_key_must_be_explicit_null(tmp_path, monkeypatch, stage): + from scripts.benchmarks import g2_route as g + from .test_g2_route_bindings import write_json + factory = admitted_metadata_plan if stage == "probes" else full_metadata_plan + path, plan = factory(tmp_path, monkeypatch) + dormant = next(case for case in plan["cases"] if case["execution"] is None) + del dormant["execution"] + write_json(path, plan) + with pytest.raises(ValueError, match="unadmitted_case_execution"): + g.validate(path, executable=True) + + +def test_I_design_only_missing_admission_does_not_grant_execution(tmp_path): + from scripts.benchmarks import g2_route as g + from .test_g2_route_bindings import write_json + plan = plan_fixture(tmp_path); del plan["admission"] + for case in plan["cases"]: del case["execution"] + path = tmp_path/"DesignOnly.json"; write_json(path, plan) + found = g.validate(path) + assert not found["ready"] and "unresolved_admission_stage" in found["blockers"] + + +@pytest.mark.parametrize("damage", ["exit_signal", "signal_missing", "exit_alias", "termination_reason", "error", + "group_not_absent", "remaining_members", "remaining_owned", "PID_check", "missing_checks", "after_exit", + "RSS_over_cap", "RSS_type", "artifact_over_cap", "peak_artifact_over_cap", "sample_RSS", "limits", + "wall", "complete_wall", "case", "plan", "channel", "command", "quarantine"]) +def test_I_full_admission_rejects_contradictory_completed_receipt(tmp_path, monkeypatch, damage): + from copy import deepcopy + from scripts.benchmarks import g2_route as g + from .test_g2_route_bindings import write_json + path, plan = full_metadata_plan(tmp_path, monkeypatch) + refs = plan["probe_evidence"]["B_N8_Coarse_Probe"] + receipt = g._pinned(refs["runtime_receipt"]) + producer = g._pinned(refs["producer_plan"]) + execution = next(case["execution"] for case in producer["cases"] if case["id"] == "B_N8_Coarse_Probe") + if damage == "exit_signal": receipt["exit_signal"] = 9 + elif damage == "signal_missing": del receipt["exit_signal"] + elif damage == "exit_alias": receipt["exit_code"] = False + elif damage == "termination_reason": receipt["termination_reason"] = "rss_limit" + elif damage == "error": receipt["error"] = "recorded supervision failure" + elif damage == "group_not_absent": receipt["closure"]["process_group_absent"] = False + elif damage == "remaining_members": receipt["closure"]["remaining_group_members"] = [{"pid": 1000000001}] + elif damage == "remaining_owned": receipt["closure"]["remaining_owned_processes"] = [{"pid": 1000000001}] + elif damage == "PID_check": receipt["closure"]["checks"][0]["pid_absent"] = False + elif damage == "missing_checks": del receipt["closure"]["checks"] + elif damage == "after_exit": receipt["closure"]["after_tool_exit_code"] = 9 + elif damage == "RSS_over_cap": receipt["peak_group_rss_bytes"] = execution["supervision"]["rss_bytes"]+1 + elif damage == "RSS_type": receipt["peak_group_rss_bytes"] = 2048.0 + elif damage == "artifact_over_cap": receipt["artifact_bytes_before_receipt"] = execution["supervision"]["artifact_bytes"]+1 + elif damage == "peak_artifact_over_cap": receipt["peak_artifact_bytes"] = execution["supervision"]["artifact_bytes"]+1 + elif damage == "sample_RSS": receipt["last_samples"][0]["rss_bytes"] = execution["supervision"]["rss_bytes"]+1 + elif damage == "limits": receipt["limits"]["rss_bytes"] += 1 + elif damage == "wall": receipt["wall_s"] = execution["wall_s"] + elif damage == "complete_wall": receipt["wall_through_receipt_s"] = execution["wall_s"]+1 + elif damage == "case": receipt["case_id"] = "B_N8_Strict_Probe" + elif damage == "plan": receipt["plan_sha256"] = "0"*64 + elif damage == "channel": receipt["channel"] = (execution["channel"]+1)%4 + elif damage == "command": receipt["command"][-1] = "B_N8_Strict_Probe" + else: receipt["channel_reusable"] = False + refs["runtime_receipt"] = write_probe_receipt(Path(refs["runtime_receipt"]["path"]), receipt) + for case in plan["cases"]: + if case["stage"] == "full": case["execution"]["forecast"]["probe_evidence"] = deepcopy(plan["probe_evidence"]) + write_json(path, plan) + with pytest.raises(ValueError, match="full_probe_runtime_"): + g.validate(path, executable=True) diff --git a/tests/numerical_contracts/test_g2_route_bindings.py b/tests/numerical_contracts/test_g2_route_bindings.py new file mode 100644 index 00000000..189d9f97 --- /dev/null +++ b/tests/numerical_contracts/test_g2_route_bindings.py @@ -0,0 +1,436 @@ +"""Metadata contracts and opt-in real probe construction, with no integration.""" +from copy import deepcopy +import json +import os +from pathlib import Path +from types import SimpleNamespace + +import pytest + +from scripts.benchmarks import g2_route_bindings as b + + +@pytest.fixture +def saved_probe_for_source_rebinding(monkeypatch): + """Opt-in self-contained saved JSON; never read its historical stream.""" + pytest.importorskip("flint", reason="real source rebinding needs the locked optional arithmetic environment") + path = os.environ.get("SOLARLAB_G2_REBIND_REQUEST") + if not path: + pytest.skip("set SOLARLAB_G2_REBIND_REQUEST to a saved, unrebound N8 probe NativeRequest.json") + from scripts.benchmarks import coupled_device_prototype as kernel + def no_native(*args, **kwargs): + pytest.fail("source rebinding must never allocate or run the native solver") + monkeypatch.setattr(kernel, "run_voltage_lift_native_pilot", no_native) + monkeypatch.setattr(kernel, "_voltage_lift_segment_solver", no_native) + request, _ = b.read_json(path) + assert "g2_source_rebinding" not in request + return request + + +def test_real_probe_source_rebinding_passes_original_native_boundary(saved_probe_for_source_rebinding): + from scripts.benchmarks import coupled_device_prototype as kernel + saved = saved_probe_for_source_rebinding + before = b.digest(saved) + rebound = b.rebind_effective_source(saved) + assert b.digest(saved) == before + assert b.digest(b.rebind_effective_source(saved)) == b.digest(rebound) + assert rebound["voltage_lift_map"]["physical_model"] != saved["voltage_lift_map"]["physical_model"] + for key in ("numeric_packet", "controls", "budgets", "segments", "observation_times", + "physical_tolerance_policy", "z0", "zdot0", "actual_initial_identity"): + assert b.digest(rebound[key]) == b.digest(saved[key]) + for key in ("physical_handoff_words_hex", "physical_rate_handoff_words_hex"): + assert rebound["initial_segment_frame"][key] == saved["initial_segment_frame"][key] + model = kernel.AffineCoupledSlab(kernel.SlabDefinition(**saved["numeric_packet"]["definition"]), 8) + mapping = kernel.AffineVoltageMap(model, mapped_input_profile=rebound["voltage_lift_map"]["mapped_input_profile"]) + segments = tuple(kernel.ProtocolSegment(**row) for row in rebound["segments"]) + kernel.validate_voltage_lift_native_request(mapping, segments, rebound) + with pytest.raises(ValueError, match="voltage_lift_native_request_binding"): + kernel.validate_voltage_lift_native_request(mapping, segments, saved) + + +@pytest.mark.parametrize("field", ["z0", "zdot0"]) +def test_real_probe_source_rebinding_rejects_changed_initial_coordinates(saved_probe_for_source_rebinding, field): + damaged = deepcopy(saved_probe_for_source_rebinding) + damaged[field][0] = 1.0 + with pytest.raises(ValueError, match="source_rebinding_initial_state"): + b.rebind_effective_source(damaged) + + +def write_json(path, value): + path.parent.mkdir(parents=True, exist_ok=True) + path.write_text(json.dumps(value, indent=2) + "\n") + return b.read_json(path)[1] + + +def frozen_definition(folder,name,schema,version): + """Synthetic copy/review contract, never a Commander approval record.""" + author={"schema":schema,"version":version,"status":"pending_review","fixture_only":True} + reviewed=write_json(folder/(name+"Author.json"),author) + proof=write_json(folder/(name+"Review.json"),{"fixture_only":True}) + doc=dict(author,status="frozen",freeze=dict(frozen_at="2026-10-14T00:00:00+00:00",frozen_by="manufactured-fixture", + reviewed_path=reviewed["path"],reviewed_sha256=reviewed["sha256"],reviewed_bytes=reviewed["bytes"], + review_records=[{k:proof[k] for k in ("path","sha256")}],user_records=["manufactured-not-user-authorization"])) + ref=write_json(folder/(name+"Frozen.json"),doc);ref["schema"]=schema + return ref + + +def request(mesh=8, profile="Main", *, s0=False): + size = (3 if s0 else 5)*(mesh+1) + segments = [dict(id="dark_equilibrium_hold", start=0., end=.1, voltage=[0, 0], photons=[0, 0]), + dict(id="voltage_ramp", start=.1, end=.2, voltage=[0, .1], photons=[0, 0]), + dict(id="slow_state_hold", start=.2, end=9.2, voltage=[.1, .1], photons=[0, 0])] + times = {s["id"]: [s["start"] + (s["end"]-s["start"])*i/(n-1) for i in range(n)] + for s, n in zip(segments, (33, 33, 65))} + for s in segments: + times[s["id"]][-1] = s["end"] + packet = dict(nodes=mesh+1, intervals=mesh, physical_reference_fields={"saved": ["0x0.0p+0", "-0x0.0p+0"]}) + mapping = dict(mapped_input_words=12, fixture="manufactured", nodes=mesh+1) + policy = dict(profile=b.PROFILES[profile], size=size, numeric_packet_sha256=b.digest(packet), + floor_basis="frozen-initial-reference") + r = dict(schema="solarlab.voltage-lift-native-request.v1", numeric_packet=packet, + voltage_lift_map=mapping, map_identity=b.digest(mapping), physical_tolerance_policy=policy, + weight_certificate=deepcopy(policy), controls=dict(max_step=.02 if mesh == 16 else .1, + rtol=b.PROFILES[profile]["r"], atol=[1e-8]*size, max_order=5, nonlin_conv_coef=1e-8), + budgets=dict(wall_s=4200, charge_C=1e-12), original_budgets=dict(wall_s=4200, charge_C=1e-12), + segments=segments, observation_times=times, quadrature={"8": [], "16": [], "32": []}, + frame_input_policy=dict(raw_parent_words=4), z0=[0.]*size, zdot0=[-0.]*size, + actual_initial_identity="manufactured-physical-initial", initial_preparation={"manufactured": True}, + preparation_context_sha256="manufactured-context", + initial_segment_frame={k:[["0x0.0p+0"]*size for _ in range(12)] for k in + ("physical_handoff_words_hex", "physical_rate_handoff_words_hex")}) + r["interval_observation"] = dict(map_identity=r["map_identity"], controls_sha256=b.digest(r["controls"]), + budgets_sha256=b.digest(r["budgets"]), protocol_sha256=b.digest(segments), + sampling_sha256=b.digest((times,r["quadrature"])), physical_charge={"fixture": "not-T1"}) + r["reference_refresh_policy"] = dict(schema="solarlab.accepted-reference-refresh-policy.v1") + return r + + +@pytest.fixture +def bundle(tmp_path): + cases = [] + saved = {} + for name in sorted(b.CASE_IDS): + mesh = 16 if "N16" in name else 8 + profile, probe = name.split("_")[2], name.endswith("Probe") + r = request(mesh, profile) + reference = write_json(tmp_path / (name+".json"), r) + saved[name] = r + cases.append(dict(id=name, stage="probe" if probe else "full", mesh_intervals=mesh, nodes=mesh+1, + coordinates=5*(mesh+1), profile=b.PROFILES[profile], input_ancestor=reference, + horizon_s=[0,.2 if probe else 9.2], sample_records=66 if probe else 131)) + s0 = request(s0=True) + s0_request = write_json(tmp_path/"S0.json",s0) + s0_acceptance = write_json(tmp_path/"S0Acceptance.json",dict(accepted=True,complete_protocol_accepted=True, + request_sha256=b.digest(s0),actual_input=s0_request,fixture="manufactured")) + n16 = next(c for c in cases if "N16" in c["id"]) + n16_path = tmp_path/"N16Acceptance.json" + write_json(n16_path,dict(accepted=True,source_input_acceptance_only=True,fixture="manufactured", + cases={"B":dict(request=n16["input_ancestor"],canonical_request_sha256=b.digest(saved[n16["id"]]), + actual_initial_identity=saved[n16["id"]]["actual_initial_identity"])})) + gate = write_json(tmp_path/"Gate.json",dict(schema="solarlab.g2-route.t1-gatespec.v3",status="proposed_not_frozen")) + root = tmp_path/"repo" + (root/"scripts/benchmarks").mkdir(parents=True) + (root/"scripts/benchmarks/g2_route.py").write_text('T1_SPEC_SCHEMA="solarlab.g2-route.t1-gatespec.v3"\nEVALUATOR_FILES=("t1_gate.py",)\nSCHEMA="solarlab.g2-route.run-plan.v3"\n') + plan = dict(schema=b.PLAN_SCHEMA,version=3,status="design_only_not_admitted",cases=cases, + authority=dict(scientific_execution_authorized=False),implementation=dict(entrypoint_proposal="scripts/benchmarks/g2_route.py"), + source_freeze={k:None for k in ("future_execution_commit","frozen_gate_spec","review_record","environment_lock")}, + definitions=dict(gate_spec=gate), conditional_S0=dict(reference=s0_acceptance), + protocol=dict(segments=s0["segments"], requested_sample_records=b.sample_labels(s0),max_step_s=.02, + reference_refresh_schedule=dict(time_hex="0x1.7a4c1c85a8b06p-2",segment_id="slow_state_hold",max_refreshes=1, + native_api="init_step",physical_segment_ordinal=3,same_owner_generation_increment=1, + preserve_original_segment_inputs=True,discard_native_multistep_history=True,restored_seed_prefix_credit=False))) + path = tmp_path/"RunPlan.json" + write_json(path,plan) + return path,plan,root,n16_path,saved + + +def resolve(bundle): + path,plan,root,n16,_ = bundle + write_json(path,plan) + return b.resolve(path,repository=root,n16_acceptance=n16) + + +def test_actual_callable_reports_all_missing_bindings_without_promoting_ancestry(bundle): + result = resolve(bundle) + assert result["status"] == "not_admitted" and result["execution_authorized"] is False + assert "T1_not_frozen" in result["missing"] + assert "source_freeze.future_execution_commit" in result["missing"] + assert "reviewed_entry_does_not_support_RunPlanV3" not in result["missing"] + assert len(result["cases"]) == 7 + for c in result["cases"]: + assert c["effective_request"] is None and c["effective_case_binding"] is None + assert c["ancestry"]["resolved"]["coordinates"] == (85 if "N16" in c["case_id"] else 45) + assert c["planned_active_sampling"]["records"] == (66 if c["stage"] == "probe" else 131) + assert c["reference_refresh"]["enabled"] == (c["stage"] == "full") + assert result["conditional_S0"]["observed"]["coordinates"] == 27 + + +def test_sampling_digest_includes_quadrature_and_preserves_event_sides(): + r = request() + observed = b.inspect_request(r) + assert observed["sampling_sha256"] == b.digest((r["observation_times"],r["quadrature"])) + assert observed["sampling_sha256"] != b.digest(r["observation_times"]) + labels = b.sample_labels(r) + assert len(labels) == 131 and len({x["time_hex"] for x in labels}) == 129 + assert [x["event_side"] for x in labels if x["time_hex"] == float(.1).hex()] == ["left","right"] + assert b.sample_labels(r,2)[-1]["segment"] == "voltage_ramp" + + +@pytest.mark.parametrize("damage", ["map", "controls", "quadrature", "shape", "words", "budgets"]) +def test_corrupt_saved_input_is_rejected(damage): + r = request() + if damage == "map": r["voltage_lift_map"]["nodes"] = 17 + elif damage == "controls": r["controls"]["max_step"] = .02 + elif damage == "quadrature": r["quadrature"]["8"] = [1] + elif damage == "shape": r["z0"].pop() + elif damage == "words": r["initial_segment_frame"]["physical_rate_handoff_words_hex"][0].pop() + elif damage == "budgets": r["budgets"]["charge_C"] *= 2 + with pytest.raises(ValueError): b.inspect_request(r) + + +def test_file_bytes_and_hash_are_not_canonical_hash(tmp_path): + path = tmp_path/"Record.json" + record = write_json(path,dict(a=1)) + assert record["sha256"] != b.digest(dict(a=1)) + path.write_text('{"a": 1}') + with pytest.raises(ValueError,match="file_pin"): b.pinned(record) + + +@pytest.mark.parametrize("raw", ['{"a":1,"a":2}', '{"a":NaN}', '{"a":Infinity}']) +def test_bad_json_fails_closed(tmp_path,raw): + path = tmp_path/"Bad.json";path.write_text(raw) + with pytest.raises(ValueError): b.read_json(path) + + +def test_gzip_is_rejected_before_opening(tmp_path,monkeypatch): + def fail(*a,**k): pytest.fail("history was opened") + monkeypatch.setattr(Path,"open",fail) + with pytest.raises(ValueError,match="json_metadata_only"): b.read_json(tmp_path/"NativeHistory.jsonl.gz") + + +def test_request_label_change_cannot_hide_N8_geometry(bundle): + bundle[1]["cases"][0]["coordinates"] = 45 # sorted first is N16 + with pytest.raises(ValueError,match="case_definition"): resolve(bundle) + + +def test_N16_saved_acceptance_must_name_exact_request(bundle): + d,_ = b.read_json(bundle[3]);d["cases"]["B"]["canonical_request_sha256"] = "0"*64 + write_json(bundle[3],d) + with pytest.raises(ValueError,match="N16_actual_accepted_input"): resolve(bundle) + + +def test_shared_refresh_must_not_contain_N16_hash(bundle): + bundle[1]["protocol"]["reference_refresh_schedule"]["controls_sha256"] = "0"*64 + with pytest.raises(ValueError,match="shared_case_specific_identity"): resolve(bundle) + + +@pytest.mark.parametrize("damage", ["unknown_stage", "swapped_ids", "index", "time", "event_side", "order", "index_bool", "V1"]) +def test_bindings_reject_same_V2_case_and_tag_corruption_as_route(bundle, damage): + plan = bundle[1] + labels = plan["protocol"]["requested_sample_records"] + if damage == "unknown_stage": plan["cases"][0]["stage"] = "other" + elif damage == "swapped_ids": + a = next(c for c in plan["cases"] if c["id"] == "B_N8_Main_Probe") + z = next(c for c in plan["cases"] if c["id"] == "B_N8_Main_Full") + a["id"], z["id"] = z["id"], a["id"] + elif damage == "index": labels[4]["index"] = 999 + elif damage == "time": labels[4]["time_hex"] = float(42).hex() + elif damage == "event_side": labels[32]["event_side"] = "right" + elif damage == "order": labels[4], labels[5] = labels[5], labels[4] + elif damage == "index_bool": labels[0]["index"] = False + else: plan.update(schema="solarlab.g2-route.run-plan.v1", version=1) + with pytest.raises(ValueError): resolve(bundle) + + +@pytest.mark.parametrize("bad_path", [False, True]) +def test_bindings_validate_supervision_as_metadata_only(bundle, bad_path): + from .test_g2_route import supervision_fixture + plan = bundle[1] + plan["resources"] = {"rss_bytes_per_case": 4*1024**3, "combined_persisted_case_bytes": 4*1024**3} + supervision = supervision_fixture(bundle[0].parent) + if bad_path: + supervision["cancel_path"] = "relative-cancel" + plan["cases"][0]["execution"] = {"wall_s": 10., "supervision": supervision} + if bad_path: + with pytest.raises(ValueError, match="supervision_cancel_path"): + resolve(bundle) + else: + assert resolve(bundle)["status"] == "not_admitted" + + +def test_supplied_old_request_is_not_effective_G2_input(bundle): + c = bundle[1]["cases"][1] + c["execution"] = dict(request=c["input_ancestor"]) + result = resolve(bundle) + actual = next(x for x in result["cases"] if x["case_id"] == c["id"]) + assert "controls.max_step_requires_0.02" in actual["missing"] + assert "D14_D25_certificate_policy" in actual["missing"] + assert "frozen_T1_request_binding" in actual["missing"] + + +def test_changed_signed_zero_cannot_hide_behind_initial_identity(bundle): + r = request();modified = deepcopy(r);modified["zdot0"][0] = 0. + case = next(c for c in bundle[1]["cases"] if c["id"] == "B_N8_Main_Full") + assert "saved_physical_input_changed:zdot0" in b.effective_issues(modified,r,case,bundle[1]) + + +def forecast(): + return dict(phase_seconds=dict(bootstrap=10,native=100,online_safety=5,observer=20,io=3,closeout=2), + slow_hold_model={"range_s":[50,100],"basis":"manufactured"}, + work_counts=dict(accepted_steps=100,residual_calls=200,jacobian_calls=50),probe_evidence="manufactured") + + +def test_full_forecast_is_phase_based_and_never_silently_clipped(): + f = forecast();assert b.forecast_cap(f) == 420 + f["phase_seconds"]["native"] = 15000 + with pytest.raises(ValueError,match="infeasible_no_silent_cap"): b.forecast_cap(f) + + +@pytest.mark.parametrize("fault", ["slow_hold_model", "probe_evidence", "negative", "N16"]) +def test_incomplete_forecast_rejected(fault): + f = forecast() + if fault == "negative": f["phase_seconds"]["native"] = -1 + elif fault == "N16": f["mesh_intervals"] = 16 + else: del f[fault] + with pytest.raises(ValueError): b.forecast_cap(f) + + +def test_cli_dry_run_exit_one_is_not_an_execution_failure(bundle,capsys): + result = b.main(["--plan",str(bundle[0]),"--repository",str(bundle[2]),"--n16-acceptance",str(bundle[3])]) + assert result == 1 and json.loads(capsys.readouterr().out)["status"] == "not_admitted" + + +@pytest.mark.parametrize("free,sufficient", [(80,True),(20,False)]) +def test_four_channel_disk_capacity_counts_one_filesystem_but_all_copies(tmp_path,monkeypatch,free,sufficient): + resources = dict(WS1_channels=4,threads_per_case=1,rss_bytes_per_case=4*1024**3, + combined_persisted_case_bytes=4*1024**3,reader_logical_byte_cap=32*1024**3, + probe_wall_cap_s=3600,global_scientific_channel_cap=8,native_step_cap=200000, + residual_call_cap=2000000,forecast_requirements=["phase counts"],rolling_forecast="retain hard cap") + plan = dict(resources=resources,artifacts=dict(active_root=str(tmp_path/"active"),archive_root=str(tmp_path/"archive")), + cases=[dict(id="B_N8_Main_Probe",stage="probe"),dict(id="B_N16_Strict_Full",stage="full")]) + monkeypatch.setattr(b.shutil,"disk_usage",lambda path:SimpleNamespace(total=100*1024**3,free=free*1024**3)) + result = b.resource_preflight(plan) + assert len(result["filesystems"]) == 1 + assert result["filesystems"][0]["required_bytes"] == 56*1024**3 + assert result["four_channel_rss_bytes"] == 16*1024**3 + assert result["disk_capacity_sufficient"] is sufficient + assert result["per_case"][0]["wall_cap_s"] == 3600 and result["per_case"][1]["wall_cap_s"] is None + assert not (tmp_path/"active").exists() and not (tmp_path/"archive").exists() + + +def generation_ancestor(mesh, profile, monkeypatch): + """Complete synthetic policy operands; no physical constructor or history.""" + from scripts.benchmarks import physical_tolerance as p, coupled_device_prototype as d, native_observation as o + r = request(mesh, profile) + n = mesh+1 + names = ("c_m3", "f", "n_m3", "p_m3", "phi_V") + fields = {k:{"high":[.5 if k == "f" else 0. if k == "phi_V" else 2.]*n,"low":[0.]*n} for k in names} + packet = dict(nodes=n, intervals=mesh, column_scaling=[1.]*(5*n), + variable_offsets={k:[j*n,(j+1)*n] for j,k in enumerate(names)}, physical_reference_fields=fields, + initial_reference={"payload":{"fields":{k:{w:[x.hex() for x in values] for w,values in pair.items()} + for k,pair in fields.items()}}}, + definition=dict(id="DynamicAcceptorIonPublicDeviceV1",dynamic=True,temperature=300.,area=1.,length=1., + epsilon=5.,ni=2.,ion_initial=20.,trap_density=4.)) + r.update(case_id="DynamicAcceptorIonPublicDeviceV1",numeric_packet=packet,prior_request_sha256="a"*64,native_admission=False) + r["physical_tolerance_policy"] = p.make_policy(packet,b.PROFILES[profile]) + r["weight_certificate"] = deepcopy(r["physical_tolerance_policy"]) + r["previous_controls"] = dict(rtol=1e-9,atol=[1e-10]*(5*n),max_step=.02 if mesh == 16 else .1, + first_step=0.,calc_initcond=None) + r["controls"] = p.controls(r["previous_controls"],r["physical_tolerance_policy"]) + r["startup_step_policy"] = d._voltage_lift_startup_step(r["previous_controls"],r["prior_request_sha256"],7.8125e-7) + r["controls"]["first_step"] = 7.8125e-7 + r["segment_startup_policy"] = p.segment_startup_policy(r,{"slow_state_hold":{"first_step":2.**-32}}) + r["voltage_lift_map"]["mapped_input_profile"] = "frame-input-expansion12-v1" + r["map_identity"] = b.digest(r["voltage_lift_map"]) + r["segment_frame_policy"] = d._segment_frame_policy(r,"fixed-affine-state-rate-v1") + monkeypatch.setattr(d,"_frame_input_parent_binding",lambda value:{"fixture_only":"synthetic bound capacity ancestry"}) + r["frame_input_policy"] = d._frame_input_policy(r,"frame-input-expansion12-v1") + r["reference_refresh_policy"] = d._reference_refresh_policy(r,float.fromhex("0x1.7a4c1c85a8b06p-2")) + r["interval_observation"] = o.prepare_interval_observation_policy(r,binding_identity="b"*64, + header_sha256="c"*64,backend_modules={}) + return r + + +@pytest.mark.parametrize("case_id",sorted(b.CASE_IDS)) +def test_effective_generation_changes_only_declared_controls_and_preserves_initial_words(case_id,monkeypatch): + from scripts.benchmarks.physical_tolerance import run_segment_count,validate_request + mesh=16 if "N16" in case_id else 8;profile=case_id.split("_")[2];probe=case_id.endswith("Probe") + ancestor=generation_ancestor(mesh,profile,monkeypatch);before=deepcopy(ancestor) + case=dict(id=case_id,stage="probe" if probe else "full",profile=b.PROFILES[profile]) + r=b.build_effective_request(ancestor,case,source_commit="1"*40,generation_plan_sha256="2"*64,gate_spec={"sha256":"3"*64}) + assert ancestor == before + assert r["controls"] == dict(ancestor["controls"],max_step=.02) + assert r["previous_controls"] == ancestor["previous_controls"] + assert run_segment_count(r) == (2 if probe else 3) + assert len(b.sample_labels(r,run_segment_count(r))) == (66 if probe else 131) + assert len(r["z0"]) == 5*(mesh+1) and r["zdot0"][0].hex() == "-0x0.0p+0" + for key in ("numeric_packet","voltage_lift_map","initial_preparation","initial_segment_frame","actual_initial_identity"): + assert b.digest(r[key]) == b.digest(ancestor[key]) + assert r["certificate_failure_policy"]["T1"] == {"schema":"solarlab.g2-route.t1-gatespec.v3","sha256":"3"*64} + assert r["certificate_failure_policy"]["observation"] == "sealed-history" + assert ("reference_refresh_policy" not in r) is probe + if not probe: + assert r["reference_refresh_policy"]["schema"] == "solarlab.reference-state-transfer-policy.v2" + assert r["reference_refresh_policy"]["certificate_failure_policy_sha256"] == b.digest(r["certificate_failure_policy"]) + assert validate_request(r) == r["physical_tolerance_policy"] + + +@pytest.mark.parametrize("damage",["max_step","parent_controls","profile","numeric_alias"]) +def test_effective_controls_fail_closed(damage,monkeypatch): + from scripts.benchmarks.physical_tolerance import validate_request + ancestor=generation_ancestor(8,"Main",monkeypatch) + case=dict(id="B_N8_Main_Full",stage="full",profile=b.PROFILES["Main"]) + r=b.build_effective_request(ancestor,case,source_commit="1"*40,generation_plan_sha256="2"*64,gate_spec={"sha256":"3"*64}) + if damage == "max_step": r["controls"]["max_step"] = .1 + elif damage == "parent_controls": r["g2_route_controls"]["parent_controls_sha256"] = "f"*64 + elif damage == "profile": r["g2_route_controls"]["case_id"] = "B_N8_Strict_Full" + else: r["g2_route_controls"]["other_controls_changed"] = 0 + with pytest.raises(ValueError): validate_request(r) + + +def test_generation_pending_definition_dry_run_does_not_create_files(bundle): + output=bundle[0].parent/"EffectiveRequests" + result=b.generate_effective(bundle[0],repository=bundle[2],output=output,n16_acceptance=bundle[3]) + assert result["status"] == "not_admitted" and result["generated_requests"] == 0 + assert "source_commit_not_bound" in result["missing"] + assert not output.exists() + with pytest.raises(ValueError,match="generation_not_ready"): + b.generate_effective(bundle[0],repository=bundle[2],output=output,publish=True,n16_acceptance=bundle[3]) + + +def test_generation_is_deterministic_and_publication_exclusive(bundle,monkeypatch): + path,plan,root,n16,_=bundle + plan["definitions"]["plan"]=write_json(path.parent/"FormalPlan.json",{"fixture_only":True}) + plan["definitions"]["gate_spec"]=frozen_definition(path.parent,"Gate","solarlab.g2-route.t1-gatespec.v3",3) + plan["definitions"]["evidence_method_contract"]=frozen_definition(path.parent,"Method","solarlab.g2-reference-method.v1",1) + plan["source_freeze"]["future_execution_commit"]="1"*40 + for case in plan["cases"]: + r=generation_ancestor(case["mesh_intervals"],case["id"].split("_")[2],monkeypatch) + case["input_ancestor"]=write_json(path.parent/(case["id"]+".json"),r) + if "N16" in case["id"]: + write_json(n16,dict(accepted=True,source_input_acceptance_only=True,fixture_only=True, + cases={"B":dict(request=case["input_ancestor"],canonical_request_sha256=b.digest(r),actual_initial_identity=r["actual_initial_identity"])})) + write_json(path,plan) + monkeypatch.setattr(b,"committed_request_sources",lambda *args:{"fixture-only-source":"f"*64}) + output=path.parent/"EffectiveRequests" + first=b.generate_effective(path,repository=root,output=output,n16_acceptance=n16) + assert first == b.generate_effective(path,repository=root,output=output,n16_acceptance=n16) + assert not output.exists() and len(first["cases"]) == 7 + published=b.generate_effective(path,repository=root,output=output,publish=True,n16_acceptance=n16) + assert published["execution_authorized"] is False and len(list(output.iterdir())) == 8 + for case in published["cases"]: + r,_=b.pinned(case["request"]) + assert b.digest(r) == case["effective_input_digest"] + with pytest.raises(ValueError,match="output_already_exists"): + b.generate_effective(path,repository=root,output=output,publish=True,n16_acceptance=n16) + + +@pytest.mark.parametrize("fault",["missing","changed"]) +def test_committed_source_guard_rejects_missing_or_different_blob(monkeypatch,fault): + def git(argv,**kwargs): + if argv[1] == "rev-parse": return "d"*40+"\n" + if fault == "missing": raise b.subprocess.CalledProcessError(128,argv) + return b"different committed fixture bytes" + monkeypatch.setattr(b.subprocess,"check_output",git) + with pytest.raises(ValueError,match="committed_source_missing|uncommitted_generation_source"): + b.committed_request_sources(Path(b.__file__).resolve().parents[2],"d"*40) diff --git a/tests/numerical_contracts/test_g2_route_launcher.py b/tests/numerical_contracts/test_g2_route_launcher.py new file mode 100644 index 00000000..cfc5d6cc --- /dev/null +++ b/tests/numerical_contracts/test_g2_route_launcher.py @@ -0,0 +1,710 @@ +"""Real process/resource and route-channel tests with synthetic children only.""" +from contextlib import contextmanager +from datetime import datetime, timezone +import copy +import hashlib +import json +import os +from pathlib import Path +import signal +import subprocess +import sys +import time + +import pytest + +from scripts.benchmarks import g2_route_launcher as launcher + + +CHILD = r''' +import json, os, signal, subprocess, sys, time +from pathlib import Path +from scripts.benchmarks.g2_route_launcher import inherited_channel, THREAD_VARIABLES +mode, directory, slots, channel = sys.argv[1:] +root = Path(directory) +with inherited_channel(slots, int(channel)): + root.mkdir() + (root/'Started.json').write_text(json.dumps({ + 'pid': os.getpid(), 'pgid': os.getpgrp(), 'cwd': str(Path.cwd()), + 'thread_environment': {key: os.environ.get(key) for key in THREAD_VARIABLES}, + 'dont_write_bytecode': os.environ.get('PYTHONDONTWRITEBYTECODE')})) + if mode == 'normal': + (root/'payload').write_text('synthetic payload') + time.sleep(.08) + elif mode == 'peer': + for i in range(30): + (root/'Progress.json').write_text(json.dumps({'step': i})) + time.sleep(.05) + elif mode == 'artifact': + (root/'large.bin').write_bytes(b'a'*(2*1024*1024)) + time.sleep(60) + elif mode == 'rss': + code = 'import time; data=bytearray(80*1024*1024); time.sleep(60)' + children = [subprocess.Popen([sys.executable, '-c', code]) for _ in range(2)] + (root/'Children.json').write_text(json.dumps([p.pid for p in children])) + time.sleep(60) + elif mode == 'grandchild': + grand = "import os,signal,time,json; from pathlib import Path; signal.signal(signal.SIGTERM,signal.SIG_IGN); Path(%r).write_text(json.dumps({'pid':os.getpid(),'pgid':os.getpgrp()})); time.sleep(60)" % str(root/'Grandchild.json') + middle = 'import os,subprocess,sys,time,json; from pathlib import Path; p=subprocess.Popen([sys.executable,"-c",%r]); Path(%r).write_text(json.dumps({"pid":os.getpid(),"pgid":os.getpgrp(),"child":p.pid})); time.sleep(60)' % (grand, str(root/'Middle.json')) + subprocess.Popen([sys.executable, '-c', middle]) + time.sleep(60) + elif mode == 'ignoreterm': + signal.signal(signal.SIGTERM, signal.SIG_IGN) + (root/'IgnoresTerm').touch() + time.sleep(60) + elif mode == 'wall' or mode == 'cancel': + time.sleep(60) + elif mode == 'nonzero': + sys.exit(7) + else: + raise RuntimeError(mode) +''' + + +def make_plan(root, modes, *, same_slot=False, wall_s=4.0, rss_bytes=512*1024**2, + artifact_bytes=8*1024**2): + root.mkdir(exist_ok=True) + slots = root/'slots' + slots.mkdir(exist_ok=True) + cases = [] + for index, mode in enumerate(modes): + case_id = f'synthetic_{index}_{mode}' + channel = 0 if same_slot else index + directory = root/case_id + supervision = { + 'poll_s': .02, 'term_grace_s': .15, 'kill_wait_s': .6, 'receipt_reserve_s': .25, + 'rss_bytes': rss_bytes, 'artifact_bytes': artifact_bytes, + 'closure_path': str(root/(case_id+'.closure.json')), + 'cancel_path': str(root/(case_id+'.cancel')), + } + cases.append({'id': case_id, 'execution': { + 'directory': str(directory), 'channel': channel, 'wall_s': wall_s, + 'command': [sys.executable, '-c', CHILD, mode, str(directory), str(slots), str(channel)], + 'supervision': supervision}}) + plan = {'schema': 'solarlab.g2-route.run-plan.v1', 'status': 'admitted', + 'purpose': 'synthetic launcher CI only; no scientific admission', + 'authority': {'scientific_execution_authorized': False}, + 'resources': {'WS1_channels': 4, 'threads_per_case': 1, + 'rss_bytes_per_case': rss_bytes, 'combined_persisted_case_bytes': artifact_bytes}, + 'artifacts': {'channel_directory': str(slots)}, 'cases': cases} + path = root/'RunPlan.synthetic.json' + path.write_text(json.dumps(plan)) + return path, cases + + +def start(path, case): + env = dict(os.environ, PYTHONDONTWRITEBYTECODE='1') + env['PYTHONPATH'] = str(launcher.REPOSITORY) + return subprocess.Popen( + [sys.executable, '-m', 'scripts.benchmarks.g2_route_launcher', 'run', + '--plan', str(path), '--case', case['id']], + cwd=launcher.REPOSITORY, env=env, stdout=subprocess.PIPE, stderr=subprocess.PIPE, + text=True, start_new_session=True, + ) + + +def finish(process, case): + stdout, stderr = process.communicate(timeout=12) + receipt = Path(case['execution']['supervision']['closure_path']) + assert receipt.exists(), (process.returncode, stdout, stderr) + result = json.loads(receipt.read_bytes()) + assert result['case_id'] == case['id'] + assert result['pgid'] != os.getpgrp() + assert result['closure']['all_named_owned_processes_and_groups_absent'], result + assert result['closure']['process_group_absent'] + assert all(row['pid_absent'] and row['same_id_process_group_absent'] for row in result['closure']['checks']) + assert all(launcher._absent(pid) for pid in result['observed_pids']) + assert result['scientific_status'] == 'not_evaluated' and result['scientific_pass'] is None + assert result['wall_s'] < case['execution']['wall_s'], result + returned = json.loads(stdout) + assert returned['wall_through_receipt_s'] < case['execution']['wall_s'] + assert result['receipt_bytes'] == receipt.stat().st_size + actual_bytes = launcher._artifact_size((Path(case['execution']['directory']), receipt, + receipt.with_suffix('.log')), time.monotonic()+2) + assert result['artifact_bytes'] == actual_bytes + assert result['peak_artifact_bytes'] >= actual_bytes + assert process.returncode == (0 if result['process_outcome'] == 'completed' else 1) + return result + + +def wait_for(path, timeout=4): + end = time.monotonic()+timeout + while time.monotonic() < end: + if path.exists(): + return + time.sleep(.01) + raise AssertionError('missing readiness: '+str(path)) + + +@contextmanager +def running(path, cases): + processes = [start(path, case) for case in cases] + try: + yield processes + finally: + # Every test failure still asks the owned supervisors to clean up. + for process, case in zip(processes, cases): + if process.poll() is None: + Path(case['execution']['supervision']['cancel_path']).touch() + process.send_signal(signal.SIGTERM) + for process in processes: + if process.poll() is None: + process.communicate(timeout=12) + + +def test_normal_exit_and_inherited_slot_environment(tmp_path): + path, cases = make_plan(tmp_path, ['normal']) + with running(path, cases) as processes: + result = finish(processes[0], cases[0]) + assert result['process_outcome'] == 'completed' and result['exit_code'] == 0 + assert result['signals_sent'] == [] + assert 'pipeline_deadline' not in result + started = json.loads((Path(cases[0]['execution']['directory'])/'Started.json').read_bytes()) + assert started['pid'] == started['pgid'] == result['pid'] + assert started['cwd'] == str(launcher.REPOSITORY) + assert set(started['thread_environment'].values()) == {'1'} + assert started['dont_write_bytecode'] == '1' + + +REAL_ROUTE_CHILD = r''' +import hashlib, json, os, sys +from pathlib import Path +from scripts.benchmarks import g2_route +from scripts.benchmarks.g2_route_launcher import CHANNEL_FD_ENV +mode, directory, slots, channel = sys.argv[1:] +root = Path(directory) +root.mkdir() +slot = Path(slots)/(channel+'.lock') +inherited_fd = int(os.environ[CHANNEL_FD_ENV]) +identity = lambda fd: {'dev': os.fstat(fd).st_dev, 'ino': os.fstat(fd).st_ino} +expected = slot.stat() +record = {'pid': os.getpid(), 'entered': False, + 'inherited': identity(inherited_fd), + 'slot': {'dev': expected.st_dev, 'ino': expected.st_ino}, + 'consumer_module': str(Path(g2_route.__file__).resolve()), + 'consumer_sha256': hashlib.sha256(Path(g2_route.__file__).read_bytes()).hexdigest()} +foreign = None +if mode in ('foreign_inode', 'foreign_device'): + foreign = open(root/'foreign.lock', 'a+b') if mode == 'foreign_inode' else open(os.devnull, 'rb') + os.environ[CHANNEL_FD_ENV] = str(foreign.fileno()) +record['selected'] = identity(int(os.environ[CHANNEL_FD_ENV])) +plan = {'status': 'admitted', 'artifacts': {'channel_directory': slots}} +execution = {'channel': int(channel), 'supervision': {'synthetic_channel_test_only': True}} +try: + with g2_route._channel(plan, execution): + record['entered'] = True + if mode == 'body_exception': + raise RuntimeError('synthetic body exception') +except BaseException as error: + record.update(error_type=type(error).__name__, error=str(error)) + raise +finally: + record['inherited_after'] = identity(inherited_fd) + (root/'Consumer.json').write_text(json.dumps(record)) +''' + + +@pytest.mark.parametrize('mode', ['normal', 'body_exception', 'foreign_inode', 'foreign_device']) +@pytest.mark.parametrize('pipeline', [False, True]) +def test_launcher_real_route_channel_retains_parent_lock(tmp_path, monkeypatch, record_property, mode, pipeline): + """Run the actual route consumer; inspect the lock after its process exits.""" + path, cases = make_plan(tmp_path, [mode], wall_s=6.) + case = cases[0] + execution = case['execution'] + if pipeline: + execution['supervision'].update(pipeline_started_unix_ns=time.time_ns(), pipeline_wall_s=12.) + slots = tmp_path/'slots' + execution['command'] = [sys.executable, '-c', REAL_ROUTE_CHILD, mode, + execution['directory'], str(slots), str(execution['channel'])] + plan = json.loads(path.read_bytes()) + plan['cases'] = cases + path.write_text(json.dumps(plan)) + source = launcher.REPOSITORY/'scripts/benchmarks/g2_route.py' + expected_source_sha = hashlib.sha256(source.read_bytes()).hexdigest() + held_after_exit = [] + encode = launcher._encode_receipt + + def inspect_before_receipt(result, artifact_bytes, limit): + # This observer leaves receipt encoding and all lock/process operations + # intact. supervise has reaped the real child and still owns its slot. + if not held_after_exit: + assert result['closure']['all_named_owned_processes_and_groups_absent'] + assert launcher._absent(result['pid']) + probe = subprocess.run( + [sys.executable, '-c', + 'import fcntl,json,sys\n' + 'with open(sys.argv[1], "a+b") as stream:\n' + ' try: fcntl.flock(stream, fcntl.LOCK_EX|fcntl.LOCK_NB)\n' + ' except BlockingIOError: print(json.dumps({"blocked":True}))\n' + ' else: raise SystemExit("parent slot was unlocked by child")\n', + str(slots/'0.lock')], + capture_output=True, text=True, timeout=2, + env=dict(os.environ, PYTHONDONTWRITEBYTECODE='1'), + ) + assert probe.returncode == 0, (probe.stdout, probe.stderr) + held_after_exit.append(json.loads(probe.stdout)) + return encode(result, artifact_bytes, limit) + + monkeypatch.setattr(launcher, '_encode_receipt', inspect_before_receipt) + result = launcher.supervise( + command=execution['command'], execution=execution, channel_directory=slots, + case_id=case['id'], plan_sha256=hashlib.sha256(path.read_bytes()).hexdigest(), + ) + consumer = json.loads((Path(execution['directory'])/'Consumer.json').read_bytes()) + assert consumer['consumer_module'] == str(source.resolve()) + assert consumer['consumer_sha256'] == expected_source_sha == hashlib.sha256(source.read_bytes()).hexdigest() + assert consumer['inherited'] == consumer['slot'] == consumer['inherited_after'] + assert held_after_exit == [{'blocked': True}] + assert result['closure']['process_group_absent'] + if pipeline: + assert result['pipeline_deadline']['deadline_source'] == 'stage' + assert result['pipeline_deadline']['remaining_at_before_popen_ns'] > 0 + if mode == 'normal': + assert consumer['entered'] and result['exit_code'] == 0 + assert result['process_outcome'] == 'completed' + else: + assert result['exit_code'] != 0 and result['process_outcome'] == 'child_failed' + if mode == 'body_exception': + assert consumer['entered'] and consumer['error_type'] == 'RuntimeError' + else: + assert not consumer['entered'] and consumer['selected'] != consumer['slot'] + assert consumer['error'] == 'g2_route_inherited_channel_identity' + if mode == 'foreign_inode': + assert consumer['selected']['ino'] != consumer['slot']['ino'] + else: + assert consumer['selected']['dev'] != consumer['slot']['dev'] + with launcher._owned_channel(slots, 0): + pass # Only the supervisor's final closeout releases the slot. + record_property('real_route_consumer', consumer) + record_property('parent_lock_held_after_child_exit', True) + record_property('closure_receipt', execution['supervision']['closure_path']) + + +def test_outer_wall_stops_only_the_owned_group(tmp_path): + path, cases = make_plan(tmp_path, ['wall'], wall_s=1.8) + with running(path, cases) as processes: + result = finish(processes[0], cases[0]) + assert result['process_outcome'] == 'wall_limit' + assert result['signals_sent'][0]['signal'] == 'SIGTERM' + assert result['exit_signal'] == signal.SIGTERM + + +def test_group_rss_is_sum_of_children_not_only_leader(tmp_path): + cap = 128*1024**2 + path, cases = make_plan(tmp_path, ['rss'], rss_bytes=cap) + with running(path, cases) as processes: + result = finish(processes[0], cases[0]) + assert result['process_outcome'] == 'rss_limit', result + assert result['peak_group_rss_bytes'] > cap + witness = result['rss_peak_sample'] + assert len(witness['members']) >= 3 + assert max(row['rss_bytes'] for row in witness['members']) < cap + + +def test_artifact_limit_preserves_output_and_closes_group(tmp_path): + path, cases = make_plan(tmp_path, ['artifact'], artifact_bytes=1024**2) + with running(path, cases) as processes: + result = finish(processes[0], cases[0]) + assert result['process_outcome'] == 'artifact_limit' + assert result['peak_artifact_bytes'] > 1024**2 + assert (Path(cases[0]['execution']['directory'])/'large.bin').stat().st_size == 2*1024**2 + + +@pytest.mark.parametrize('via_signal', [False, True]) +def test_cancel_one_case_leaves_peer_running_to_normal_completion(tmp_path, via_signal): + path, cases = make_plan(tmp_path, ['cancel', 'peer']) + with running(path, cases) as processes: + for case in cases: + wait_for(Path(case['execution']['directory'])/'Started.json') + if via_signal: + processes[0].send_signal(signal.SIGTERM) + else: + Path(cases[0]['execution']['supervision']['cancel_path']).touch() + stopped = finish(processes[0], cases[0]) + assert processes[1].poll() is None + peer = finish(processes[1], cases[1]) + assert stopped['process_outcome'] == 'cancelled' + assert peer['process_outcome'] == 'completed' and peer['signals_sent'] == [] + assert stopped['pgid'] != peer['pgid'] + assert json.loads((Path(cases[1]['execution']['directory'])/'Progress.json').read_bytes())['step'] == 29 + + +def test_long_blocking_call_ignoring_term_requires_sigkill(tmp_path): + path, cases = make_plan(tmp_path, ['ignoreterm'], wall_s=1.8) + with running(path, cases) as processes: + result = finish(processes[0], cases[0]) + assert result['process_outcome'] == 'wall_limit' + assert [row['signal'] for row in result['signals_sent']] == ['SIGTERM', 'SIGKILL'] + assert result['exit_signal'] == signal.SIGKILL + + +def test_grandchild_in_same_group_is_gone_after_closeout(tmp_path): + path, cases = make_plan(tmp_path, ['grandchild'], wall_s=1.8) + with running(path, cases) as processes: + wait_for(Path(cases[0]['execution']['directory'])/'Grandchild.json') + result = finish(processes[0], cases[0]) + directory = Path(cases[0]['execution']['directory']) + middle = json.loads((directory/'Middle.json').read_bytes()) + grandchild = json.loads((directory/'Grandchild.json').read_bytes()) + assert middle['pgid'] == grandchild['pgid'] == result['pgid'] + assert {middle['pid'], grandchild['pid']} <= set(result['observed_pids']) + assert 'SIGKILL' in [row['signal'] for row in result['signals_sent']] + + +def test_slot_conflict_refuses_without_starting_second_case(tmp_path): + path, cases = make_plan(tmp_path, ['cancel', 'normal'], same_slot=True) + with running(path, cases[:1]) as processes: + wait_for(Path(cases[0]['execution']['directory'])/'Started.json') + conflict = start(path, cases[1]) + stdout, stderr = conflict.communicate(timeout=4) + assert conflict.returncode == 2 and 'channel occupied' in stderr + assert not Path(cases[1]['execution']['directory']).exists() + assert not Path(cases[1]['execution']['supervision']['closure_path']).exists() + Path(cases[0]['execution']['supervision']['cancel_path']).touch() + result = finish(processes[0], cases[0]) + assert result['process_outcome'] == 'cancelled' + + +def test_child_nonzero_is_not_normal_completion(tmp_path): + path, cases = make_plan(tmp_path, ['nonzero']) + with running(path, cases) as processes: + result = finish(processes[0], cases[0]) + assert result['process_outcome'] == 'child_failed' and result['exit_code'] == 7 + + +@pytest.mark.parametrize('field,bad', [('rss_bytes', True), ('artifact_bytes', 0), ('poll_s', -1), ('term_grace_s', float('nan'))]) +def test_all_resource_values_must_be_explicit_valid_plan_fields(tmp_path, field, bad): + path, cases = make_plan(tmp_path, ['normal']) + execution = cases[0]['execution'] + execution['supervision'][field] = bad + with pytest.raises(launcher.LauncherError): + launcher.Limits.from_execution(execution) + del execution['supervision'][field] + with pytest.raises(KeyError): + launcher.Limits.from_execution(execution) + + +def test_inherited_channel_never_reopens_or_unlocks_slot(tmp_path, monkeypatch): + with launcher._owned_channel(tmp_path, 0) as (fd, quarantine): + with monkeypatch.context() as child: + child.setenv(launcher.CHANNEL_FD_ENV, str(fd)) + def forbidden(*args, **kwargs): + raise AssertionError('consumer reopened or relocked the inherited slot') + child.setattr(Path, 'open', forbidden) + child.setattr(launcher.fcntl, 'flock', forbidden) + with launcher.inherited_channel(tmp_path, 0) as inherited: + assert inherited == fd + + +def test_inherited_channel_rejects_wrong_inode_and_missing_fd(tmp_path, monkeypatch): + with launcher._owned_channel(tmp_path, 0) as (fd, quarantine): + (tmp_path/'1.lock').touch() + monkeypatch.setenv(launcher.CHANNEL_FD_ENV, str(fd)) + with pytest.raises(launcher.LauncherError, match='inode'): + with launcher.inherited_channel(tmp_path, 1): + pass + monkeypatch.delenv(launcher.CHANNEL_FD_ENV) + with pytest.raises(launcher.LauncherError, match='missing'): + with launcher.inherited_channel(tmp_path, 0): + pass + + +def test_quarantined_slot_never_starts_a_new_case(tmp_path): + path, cases = make_plan(tmp_path, ['normal']) + (tmp_path/'slots/0.quarantine.json').write_text('{"reason":"manufactured unresolved closure"}') + process = start(path, cases[0]) + stdout, stderr = process.communicate(timeout=4) + assert process.returncode == 2 and 'quarantined' in stderr + assert not Path(cases[0]['execution']['directory']).exists() + + +def test_supervision_outputs_are_never_overwritten(tmp_path): + path, cases = make_plan(tmp_path, ['normal']) + receipt = Path(cases[0]['execution']['supervision']['closure_path']) + original = b'preserved prior failure' + receipt.write_bytes(original) + process = start(path, cases[0]) + stdout, stderr = process.communicate(timeout=4) + assert process.returncode == 2 and 'already exists' in stderr + assert receipt.read_bytes() == original + assert not Path(cases[0]['execution']['directory']).exists() + + +def test_case_cancel_and_artifact_paths_are_independent(tmp_path): + path, cases = make_plan(tmp_path, ['normal', 'normal']) + plan = json.loads(path.read_bytes()) + plan['cases'][1]['execution']['supervision']['cancel_path'] = cases[0]['execution']['supervision']['cancel_path'] + path.write_text(json.dumps(plan)) + with pytest.raises(launcher.LauncherError, match='paths overlap'): + launcher.load_case(path, cases[0]['id'], 'run') + + +def test_empty_inventory_alone_cannot_certify_process_closure(monkeypatch): + monkeypatch.setattr(launcher, '_absent', lambda *args, **kwargs: False) + evidence = launcher._closure(123456, {123456}, 0, {}) + assert evidence['all_named_owned_processes_and_groups_absent'] is False + assert evidence['process_group_absent'] is False + + +def test_zero_returncode_with_a_remaining_member_is_not_closed(monkeypatch): + monkeypatch.setattr(launcher, '_absent', lambda *args, **kwargs: True) + evidence = launcher._closure(123456, {123456, 123457}, 0, + {123457: {'pid': 123457, 'pgid': 123456, 'ppid': 1, 'rss_bytes': 0, 'state': 'Z'}}) + assert evidence['all_named_owned_processes_and_groups_absent'] is False + assert evidence['remaining_group_members'][0]['state'] == 'Z' + + +def make_quarantine(path, case, process): + plan = json.loads(path.read_bytes()) + marker = Path(plan['artifacts']['channel_directory'])/f"{case['execution']['channel']}.quarantine.json" + marker.write_text(json.dumps({ + 'schema': 'solarlab.g2-route.channel-quarantine.v1', 'case_id': case['id'], + 'channel': case['execution']['channel'], 'at': datetime.now(timezone.utc).isoformat(), + 'pgid': process.pid, 'observed_pids': [process.pid], + 'plan_sha256': hashlib.sha256(path.read_bytes()).hexdigest(), + 'closure_path': case['execution']['supervision']['closure_path'], + 'reason': 'synthetic quarantine fixture; not a scientific execution', + })) + return marker + + +def write_release_record(path, verification): + path.write_text(json.dumps({ + 'schema': 'solarlab.g2-route.quarantine-release-record.v1', + 'actor': 'coordinator', 'purpose': 'synthetic release-guard test only', + 'at': datetime.now(timezone.utc).isoformat(), + 'verification_command': verification['command'], 'verification_output': verification, + })) + + +def test_quarantine_verification_is_read_only_and_reports_live_command(tmp_path): + path, cases = make_plan(tmp_path, ['normal']) + process = subprocess.Popen([sys.executable, '-c', 'import time; time.sleep(30)'], start_new_session=True) + try: + marker = make_quarantine(path, cases[0], process) + original = marker.read_bytes() + result = launcher.verify_quarantine(path, cases[0]['id']) + assert result['all_named_owned_processes_and_groups_absent'] is False + assert marker.read_bytes() == original + details = result['remaining_commands']['processes'] + assert any(row['pid'] == process.pid and row['pgid'] == process.pid and row['command_line'] for row in details) + finally: + os.killpg(process.pid, signal.SIGKILL) + process.wait(timeout=4) + + +def test_quarantine_release_rechecks_live_pids_instead_of_trusting_record(tmp_path): + path, cases = make_plan(tmp_path, ['normal']) + process = subprocess.Popen([sys.executable, '-c', 'import time; time.sleep(30)'], start_new_session=True) + try: + marker = make_quarantine(path, cases[0], process) + claimed = copy.deepcopy(launcher.verify_quarantine(path, cases[0]['id'])) + claimed['all_named_owned_processes_and_groups_absent'] = True + record = tmp_path/'Release.synthetic.json' + write_release_record(record, claimed) + with pytest.raises(launcher.LauncherError, match='remain'): + launcher.release_quarantine(path, cases[0]['id'], record) + assert marker.exists() and process.poll() is None + finally: + os.killpg(process.pid, signal.SIGKILL) + process.wait(timeout=4) + + +def test_quarantine_release_requires_record_and_preserves_failed_receipt(tmp_path): + path, cases = make_plan(tmp_path, ['normal']) + process = subprocess.Popen([sys.executable, '-c', 'pass'], start_new_session=True) + marker = make_quarantine(path, cases[0], process) + process.wait(timeout=4) + failure = Path(cases[0]['execution']['supervision']['closure_path']) + original_failure = b'{"process_outcome":"closure_failure","synthetic_only":true}' + failure.write_bytes(original_failure) + with pytest.raises(launcher.LauncherError, match='record is required'): + launcher.release_quarantine(path, cases[0]['id'], None) + verified = launcher.verify_quarantine(path, cases[0]['id']) + assert verified['all_named_owned_processes_and_groups_absent'] + record = tmp_path/'Release.synthetic.json' + write_release_record(record, verified) + original_record = record.read_bytes() + result = launcher.release_quarantine(path, cases[0]['id'], record) + assert not marker.exists() and record.read_bytes() == original_record + assert failure.read_bytes() == original_failure + assert result['original_case_outcome'] == 'closure_failure' + assert result['fresh_verification']['all_named_owned_processes_and_groups_absent'] + + +def test_changed_quarantine_cannot_be_released_using_old_record(tmp_path): + path, cases = make_plan(tmp_path, ['normal']) + process = subprocess.Popen([sys.executable, '-c', 'pass'], start_new_session=True) + marker = make_quarantine(path, cases[0], process) + process.wait(timeout=4) + verified = launcher.verify_quarantine(path, cases[0]['id']) + record = tmp_path/'Release.synthetic.json' + write_release_record(record, verified) + marker.write_bytes(marker.read_bytes()+b'\n') + with pytest.raises(launcher.LauncherError, match='changed since'): + launcher.release_quarantine(path, cases[0]['id'], record) + assert marker.exists() + + +def bind_pipeline(path, cases, *, age_ns, wall_s): + started_ns = time.time_ns() - age_ns + for case in cases: + case['execution']['supervision'].update( + pipeline_started_unix_ns=started_ns, pipeline_wall_s=wall_s) + plan = json.loads(path.read_bytes()) + plan['cases'] = cases + path.write_text(json.dumps(plan)) + return started_ns + + +@pytest.mark.parametrize('kind', ['expired', 'insufficient', 'future']) +def test_pipeline_refuses_before_child_creation(tmp_path, kind): + path, cases = make_plan(tmp_path, ['normal']) + age, wall = {'expired': (2*10**9, 1.), 'insufficient': (0, .8), 'future': (-10**9, 4.)}[kind] + start_ns = bind_pipeline(path, cases, age_ns=age, wall_s=wall) + process = start(path, cases[0]) + stdout, stderr = process.communicate(timeout=4) + assert process.returncode == 2 and not stdout + refused = json.loads(stderr) + assert refused['status'] == 'refused' and refused['process_started'] is False + assert refused['pipeline_deadline']['pipeline_started_unix_ns'] == start_ns + assert not Path(cases[0]['execution']['directory']).exists() + assert not Path(cases[0]['execution']['supervision']['closure_path']).exists() + assert not list((tmp_path/'slots').iterdir()) + + +@pytest.mark.parametrize('damage', ['start_only', 'wall_only', 'bool_start', 'float_start', + 'zero_start', 'bool_wall', 'nan_wall', 'tiny_wall']) +def test_pipeline_pair_and_exact_types_are_required(tmp_path, monkeypatch, damage): + path, cases = make_plan(tmp_path, ['normal']) + policy = cases[0]['execution']['supervision'] + policy.update(pipeline_started_unix_ns=time.time_ns(), pipeline_wall_s=4.) + if damage == 'start_only': + del policy['pipeline_wall_s'] + elif damage == 'wall_only': + del policy['pipeline_started_unix_ns'] + elif damage == 'bool_start': + policy['pipeline_started_unix_ns'] = True + elif damage == 'float_start': + policy['pipeline_started_unix_ns'] = float(time.time_ns()) + elif damage == 'zero_start': + policy['pipeline_started_unix_ns'] = 0 + elif damage == 'bool_wall': + policy['pipeline_wall_s'] = True + elif damage == 'nan_wall': + policy['pipeline_wall_s'] = float('nan') + else: + policy['pipeline_wall_s'] = 1e-12 + monkeypatch.setattr(launcher.subprocess, 'Popen', lambda *a, **k: pytest.fail('invalid pipeline started a process')) + with pytest.raises(launcher.LauncherError, match='pipeline'): + launcher.supervise(command=cases[0]['execution']['command'], execution=cases[0]['execution'], + channel_directory=tmp_path/'slots', case_id=cases[0]['id'], plan_sha256='0'*64) + + +def test_pipeline_rechecks_budget_after_preflight_before_popen(tmp_path, monkeypatch): + path, cases = make_plan(tmp_path, ['normal']) + bind_pipeline(path, cases, age_ns=0, wall_s=1.35) + owned = launcher._owned_channel + + @contextmanager + def delayed_slot(*args): + with owned(*args) as locked: + time.sleep(.4) + yield locked + + monkeypatch.setattr(launcher, '_owned_channel', delayed_slot) + monkeypatch.setattr(launcher.subprocess, 'Popen', lambda *a, **k: pytest.fail('exhausted setup started a process')) + with pytest.raises(launcher.LauncherError, match='insufficient pipeline') as caught: + launcher.supervise(**launcher.load_case(path, cases[0]['id'], 'run')) + evidence = caught.value.pipeline_deadline + assert evidence['remaining_at_preflight_ns'] > evidence['minimum_launch_reserve_ns'] + assert evidence['remaining_at_before_popen_ns'] <= evidence['minimum_launch_reserve_ns'] + assert not Path(cases[0]['execution']['directory']).exists() + with owned(tmp_path/'slots', 0): + pass + + +@pytest.mark.parametrize('source', ['pipeline', 'stage']) +def test_pipeline_normal_remaining_budget_and_receipt(tmp_path, source): + path, cases = make_plan(tmp_path, ['normal'], wall_s=6.) + started = bind_pipeline(path, cases, age_ns=16*10**9 if source == 'pipeline' else 0, wall_s=20.) + with running(path, cases) as processes: + result = finish(processes[0], cases[0]) + state = result['pipeline_deadline'] + assert result['process_outcome'] == 'completed' + assert state['deadline_source'] == source + assert state['pipeline_started_unix_ns'] == started + assert state['pipeline_deadline_unix_ns'] == started + 20*10**9 + assert type(state['pipeline_started_unix_ns']) is int + assert state['remaining_at_before_popen_ns'] > state['minimum_launch_reserve_ns'] + assert time.monotonic_ns() < state['adopted_deadline_monotonic_ns'] + + +def test_pipeline_original_deadline_kills_uncooperative_child(tmp_path): + path, cases = make_plan(tmp_path, ['ignoreterm'], wall_s=6.) + bind_pipeline(path, cases, age_ns=25*10**8, wall_s=5.) + with running(path, cases) as processes: + wait_for(Path(cases[0]['execution']['directory'])/'IgnoresTerm') + result = finish(processes[0], cases[0]) + assert result['process_outcome'] == 'wall_limit' + assert [row['signal'] for row in result['signals_sent']] == ['SIGTERM', 'SIGKILL'] + assert result['exit_signal'] == signal.SIGKILL + state = result['pipeline_deadline'] + assert state['deadline_source'] == 'pipeline' + assert time.monotonic_ns() < state['adopted_deadline_monotonic_ns'] + + +def test_pipeline_preserves_nanoseconds_and_clock_rollback_cannot_extend(tmp_path, monkeypatch): + _, cases = make_plan(tmp_path, ['normal']) + policy = cases[0]['execution']['supervision'] + unix = 2**60 + 129 + clock = {'unix': unix, 'monotonic': 100*10**9 + 129} + policy.update(pipeline_started_unix_ns=unix-10**9, pipeline_wall_s=3.) + monkeypatch.setattr(launcher.time, 'time_ns', lambda: clock['unix']) + monkeypatch.setattr(launcher.time, 'monotonic_ns', lambda: clock['monotonic']) + state = launcher._pipeline_deadline(policy, 100., launcher.Limits.from_execution(cases[0]['execution'])) + assert state['pipeline_deadline_unix_ns'] == unix + 2*10**9 + original = state['adopted_deadline_monotonic_ns'] + assert original == clock['monotonic'] + 2*10**9 + clock['unix'] -= 10*10**9 + clock['monotonic'] += 10**9 + launcher._refresh_pipeline_deadline(state) + assert state['adopted_deadline_monotonic_ns'] == original + clock['unix'] += 12*10**9 + launcher._refresh_pipeline_deadline(state) + assert state['adopted_deadline_monotonic_ns'] < original + + +def test_pipeline_quarantine_blocks_launch_without_changing_marker(tmp_path): + path, cases = make_plan(tmp_path, ['normal']) + bind_pipeline(path, cases, age_ns=0, wall_s=20.) + marker = tmp_path/'slots/0.quarantine.json' + raw = b'{"reason":"synthetic incomplete closure"}' + marker.write_bytes(raw) + process = start(path, cases[0]) + _, stderr = process.communicate(timeout=4) + assert process.returncode == 2 and 'quarantined' in stderr + assert marker.read_bytes() == raw and not Path(cases[0]['execution']['directory']).exists() + + +def test_expired_pipeline_still_allows_verified_quarantine_cleanup(tmp_path): + path, cases = make_plan(tmp_path, ['normal']) + bind_pipeline(path, cases, age_ns=2*10**9, wall_s=1.) + process = subprocess.Popen([sys.executable, '-c', 'pass'], start_new_session=True) + marker = make_quarantine(path, cases[0], process) + process.wait(timeout=4) + failure = Path(cases[0]['execution']['supervision']['closure_path']) + original = b'{"process_outcome":"closure_failure"}' + failure.write_bytes(original) + verified = launcher.verify_quarantine(path, cases[0]['id']) + assert verified['all_named_owned_processes_and_groups_absent'] + record = tmp_path/'Release.synthetic.json' + write_release_record(record, verified) + launcher.release_quarantine(path, cases[0]['id'], record) + assert not marker.exists() and failure.read_bytes() == original + cases[0]['execution']['supervision']['closure_path'] = str(tmp_path/'Retry.closure.json') + plan = json.loads(path.read_bytes()) + plan['cases'] = cases + path.write_text(json.dumps(plan)) + with pytest.raises(launcher.LauncherError, match='pipeline deadline expired'): + launcher.supervise(**launcher.load_case(path, cases[0]['id'], 'run')) diff --git a/tests/numerical_contracts/test_g2_saved_observe.py b/tests/numerical_contracts/test_g2_saved_observe.py new file mode 100644 index 00000000..470592e8 --- /dev/null +++ b/tests/numerical_contracts/test_g2_saved_observe.py @@ -0,0 +1,418 @@ +"""Saved-observer orchestration with manufactured authority and data only. + +The science plan validator and numerical observer are stand-ins. File pins, +launcher receipt checks, process/clock guards and the history writer are real. +No fixture here grants runtime authority or enters a native producer. +""" +from contextlib import nullcontext +from copy import deepcopy +import hashlib +import importlib.util +import json +from pathlib import Path +import signal +import sys +import time +from types import ModuleType, SimpleNamespace + +import pytest + + +# The new entry can be reviewed independently while legacy imports resolve to +# the separately frozen execution tree selected by the test environment. +ENTRY = Path(__file__).resolve().parents[2] / "scripts/benchmarks/g2_saved_observe.py" +SPEC = importlib.util.spec_from_file_location("_saved_observe_under_test", ENTRY) +saved = importlib.util.module_from_spec(SPEC) +SPEC.loader.exec_module(saved) + + +def pin(path): + raw = path.read_bytes() + return {"path": str(path), "sha256": hashlib.sha256(raw).hexdigest(), "bytes": len(raw)} + + +def write(path, value): + path.write_text(json.dumps(value, sort_keys=True)+"\n") + return pin(path) + + +def closure(pid, code): + return {"schema": "solarlab.owned-tool-process-closure.v1", "pgid": pid, + "after_tool_exit_code": code, "process_group_absent": True, + "all_named_owned_processes_and_groups_absent": True, "error": None, + "remaining_group_members": [], "remaining_owned_processes": [], + "checks": [{"pid": pid, "pid_absent": True, "same_id_process_group_absent": True}]} + + +@pytest.fixture +def bound(tmp_path, monkeypatch): + tmp_path = tmp_path.resolve() + source = tmp_path / "producer" + source.mkdir() + (source / "Observation").mkdir() + (source / "Observation/old-partial").write_bytes(b"immutable failed observation") + target = tmp_path / "recovery" + roots = {ENTRY, Path(saved.route.__file__), Path(saved.launcher.__file__)} + roots.update(Path(saved.route.__file__).with_name(n) for n in saved.route.EVALUATOR_FILES) + sources = {str(p.resolve()): pin(p)["sha256"] for p in roots} + gate = write(tmp_path / "Gate.json", {"fixture_only": True}) + request = {"numeric_packet": {"definition": {}}, + "voltage_lift_map": {"mapped_input_profile": "fixture"}} + request_pin = write(tmp_path / "Request.json", request) + (source / "NativeRequest.json").write_bytes(Path(request_pin["path"]).read_bytes()) + supervision = {"poll_s": .01, "term_grace_s": .1, "kill_wait_s": .1, + "receipt_reserve_s": .1, "rss_bytes": saved.GIB, + "artifact_bytes": 8*1024**2, "closure_path": str(tmp_path / "ProducerReceipt.json"), + "cancel_path": str(tmp_path / "old.cancel"), + "pipeline_started_unix_ns": time.time_ns()-2*10**9, "pipeline_wall_s": 90} + execution = {"directory": str(source), "channel": 0, "command": ["manufactured", "run"], + "wall_s": 90, "supervision": supervision, "request": request_pin, + "effective_input_digest": saved.route._digest(request), + "max_record_bytes": 1024**2, "max_records": 5000, + "integer_io_policy": None, + "native_admission": {"operation_id": "original_producer", "fixture_only": True}, + "execution_provenance": {"original_producer": "unchanged"}} + case = {"id": "B_N8_Coarse_Probe", "mesh_intervals": 8, "execution": execution} + plan = {"cases": [case], "definitions": {"gate_spec": gate}, + "source_freeze": {"future_execution_commit": saved.LEGACY_COMMIT, + "source_sha256": sources, "frozen_gate_spec": gate}, + "resources": {"rss_bytes_per_case": 4*saved.GIB, + "combined_persisted_case_bytes": 4*saved.GIB, + "reader_logical_byte_cap": 32*saved.GIB}, + "artifacts": {"channel_directory": str(tmp_path / "channels")}} + producer_pin = write(tmp_path / "ProducerPlan.json", plan) + observed = deepcopy(plan) + prior = observed["cases"][0]["execution"] + prior["command"] = ["manufactured", "observe"] + prior["supervision"]["closure_path"] = str(tmp_path / "FailedObserveReceipt.json") + observed_pin = write(tmp_path / "ObservePlan.json", observed) + receipt = {"schema": "solarlab.g2-route.launcher-result.v1", "case_id": case["id"], + "plan_sha256": producer_pin["sha256"], "channel": 0, + "channel_protocol": saved.launcher.CHANNEL_PROTOCOL, + "command": execution["command"], "cwd": str(saved.launcher.REPOSITORY), + "process_outcome": "completed", "termination_reason": "completed", "exit_code": 0, + "exit_signal": None, "cancellation_signal": None, "error": None, "signals_sent": [], + "pid": 900001, "pgid": 900001, "session_id": 900001, "observed_pids": [900001], + "closure": closure(900001, 0), "limits": vars(saved.launcher.Limits.from_execution(execution)), + "wall_s": 1, "receipt_initial_write_s": .001, "peak_group_rss_bytes": 0, + "artifact_bytes_before_receipt": 0, "receipt_bytes": 0, "artifact_bytes": 0, + "peak_artifact_bytes": 0, "last_samples": [], "rss_peak_sample": None, + "artifact_peak_sample": None} + path = Path(supervision["closure_path"]) + for _ in range(6): + ref = write(path, receipt) + if receipt["receipt_bytes"] == ref["bytes"]: + break + receipt.update(receipt_bytes=ref["bytes"], artifact_bytes=ref["bytes"], peak_artifact_bytes=ref["bytes"]) + assert receipt["receipt_bytes"] == path.stat().st_size + failed = deepcopy(receipt) + failed.update(plan_sha256=observed_pin["sha256"], command=prior["command"], + process_outcome="wall_limit", termination_reason="wall_limit", exit_code=-15, + exit_signal=15, pid=900002, pgid=900002, session_id=900002, + observed_pids=[900002], closure=closure(900002, -15)) + failed_pin = write(Path(prior["supervision"]["closure_path"]), failed) + result_pin = write(source / "NativeResult.json", { + "complete_run_window": True, "request_sha256": execution["effective_input_digest"], + "history": {"closed": True, "container_complete": True, "error": None}}) + review_pin = write(tmp_path / "SourceReview.json", { + "accepted": True, "source_sha256": sources, "legacy_execution_commit": saved.LEGACY_COMMIT}) + recovery = deepcopy(execution) + recovery.update(directory=str(target), cwd=str(saved.launcher.REPOSITORY)) + recovery["supervision"].update(pipeline_started_unix_ns=time.time_ns(), + closure_path=str(tmp_path / "RecoveryClosure.json"), cancel_path=str(tmp_path / "recovery.cancel")) + manifest = {"schema": saved.SCHEMA, "operation_id": "separate_recovery", "case_id": case["id"], + "authority": {"role": "Root", "authorized": True, "scope": "saved-observation-only", + "coordinator_message": "msg_manufactured_unit_fixture"}, + "source_directory": str(source), "output_directory": str(target), + "producer_plan": producer_pin, "producer_result": result_pin, "producer_closure": ref, + "failed_observe_plan": observed_pin, "failed_observe_closure": failed_pin, + "source_review": review_pin, "source_sha256": sources, "execution": recovery, + "read_limits": {"max_record_bytes": 1024**2, "max_records": 5000, "max_logical_bytes": 32*1024**2}} + manifest_path = tmp_path / "Recovery.json" + def persist(): + write(manifest_path, manifest) + return manifest_path + validations = [] + def validate_plan(path, **kwargs): + validations.append(kwargs) + return {"plan": json.loads(Path(path).read_bytes()), "plan_sha256": pin(Path(path))["sha256"]} + def absent(pid, number): + assert number == 0 + raise ProcessLookupError(pid) + monkeypatch.setattr(saved.route, "validate", validate_plan) + monkeypatch.setattr(saved.os, "kill", absent) + monkeypatch.setattr(saved.os, "killpg", absent) + return SimpleNamespace(manifest=manifest, persist=persist, source=source, target=target, + plan=plan, validations=validations, tmp=tmp_path) + + +def snapshot(directory): + return {str(p.relative_to(directory)): p.read_bytes() for p in directory.rglob("*") if p.is_file()} + + +def test_validate_only_preserves_input_and_checks_evaluation(bound, monkeypatch, capsys): + before = snapshot(bound.source) + monkeypatch.setattr(saved, "_observe", lambda *args: pytest.fail("observer entered")) + assert saved.main(["--manifest", str(bound.persist()), "--validate-only"]) == 0 + assert json.loads(capsys.readouterr().out)["status"] == "validated_not_executed" + assert bound.validations[-1]["purpose"] == "evaluate" + assert not bound.target.exists() and snapshot(bound.source) == before + + +@pytest.mark.parametrize("location", ["same", "nested", "parent", "existing", "alias", "legacy_tree"]) +def test_output_overlap_or_existing_path_refused(bound, location): + locations = {"same": bound.source, "nested": bound.source / "new", "parent": bound.source.parent, + "existing": bound.tmp / "occupied", "alias": bound.tmp / "alias", + "legacy_tree": saved.launcher.REPOSITORY / "forbidden-recovery"} + if location == "existing": + locations[location].mkdir() + if location == "alias": + locations[location].symlink_to(bound.source, target_is_directory=True) + bound.manifest["output_directory"] = str(locations[location]) + with pytest.raises(ValueError): + saved.validate(bound.persist()) + + +@pytest.mark.parametrize("field", ["producer_plan", "producer_result", "producer_closure", + "failed_observe_plan", "failed_observe_closure", "source_review"]) +def test_wrong_upstream_pin_refused_before_output(bound, field): + bound.manifest[field]["sha256"] = "0"*64 + with pytest.raises(ValueError, match="reference_changed"): + saved.validate(bound.persist()) + assert not bound.target.exists() + if field == "producer_plan": + assert not bound.validations + + +@pytest.mark.parametrize("change", ["authority", "source", "read_limit", "extra_limit", "old_clock", + "control_inside_source", "missing", "bad_root", "bad_container"]) +def test_authority_limits_and_malformed_metadata_refused(bound, change): + m = bound.manifest + if change == "authority": + m["authority"]["authorized"] = 1 + elif change == "source": + m["source_sha256"][str(ENTRY)] = "0"*64 + elif change == "read_limit": + m["read_limits"]["max_record_bytes"] = 1024**2+1 + elif change == "extra_limit": + m["read_limits"]["charge_observer"] = None + elif change == "old_clock": + m["execution"]["supervision"]["pipeline_started_unix_ns"] = bound.plan["cases"][0]["execution"]["supervision"]["pipeline_started_unix_ns"] + elif change == "control_inside_source": + m["execution"]["supervision"]["cancel_path"] = str(bound.source / "cancel") + elif change == "missing": + del m["producer_plan"] + elif change == "bad_root": + bound.manifest = [] + path = bound.tmp / "BadRoot.json" + write(path, []) + with pytest.raises(ValueError): + saved.validate(path) + return + else: + m["execution"] = [] + with pytest.raises(ValueError): + saved.validate(bound.persist()) + assert not bound.target.exists() + + +@pytest.mark.parametrize("problem", ["live_pid", "live_group", "residue", "bad_check", "command"]) +def test_failed_observer_must_be_bound_and_actually_closed(bound, monkeypatch, problem): + if problem in ("live_pid", "live_group"): + monkeypatch.setattr(saved.os, "kill" if problem == "live_pid" else "killpg", lambda *args: None) + else: + key = "failed_observe_closure" + ref = bound.manifest[key] + value = json.loads(Path(ref["path"]).read_bytes()) + if problem == "residue": + value["closure"]["remaining_group_members"] = [1234] + elif problem == "bad_check": + value["closure"]["checks"][0]["pid_absent"] = False + else: + value["command"] = ["foreign"] + bound.manifest[key] = write(Path(ref["path"]), value) + with pytest.raises(ValueError): + saved.validate(bound.persist()) + + +def install_observer_stubs(monkeypatch, callback): + calls = {} + def module(name, **values): + value = ModuleType("scripts.benchmarks."+name) + value.__dict__.update(values) + monkeypatch.setitem(sys.modules, value.__name__, value) + def observer(mapping, request, append, checkpoint, *, t1_context): + calls.update(t1_context=t1_context, append=append, checkpoint=checkpoint) + return "original-observer-instance" + def reader(source, **kwargs): + calls.update(source=source, reader=kwargs) + kwargs["sample_sink"]("tag", "sample", "certificate") + callback(calls) + return {"scientific_status": "unknown", "scientific_pass": False, + "device": {"status": "unknown_reference_error"}} + module("coupled_device_prototype", SlabDefinition=lambda **kw: kw, + AffineCoupledSlab=lambda *args: "model", AffineVoltageMap=lambda *args, **kw: "mapping", + run_voltage_lift_native_pilot=lambda *args, **kw: pytest.fail("producer entered")) + module("g2_compare", case_metadata=lambda *args: {}, normalize_ida_sample=lambda *args: {"fixture": True}) + module("native_observation", SealedChargeObserver=observer) + module("native_readback", verify_history=reader) + return calls + + +def permit_run(monkeypatch): + for key in saved.launcher.THREAD_VARIABLES: + monkeypatch.setenv(key, "1") + monkeypatch.setattr(saved, "_blas_one", lambda: None) + monkeypatch.setattr(saved.launcher, "inherited_channel", lambda *args: nullcontext(7)) + + +def test_original_admission_and_t1_identity_forwarded_unchanged(bound, monkeypatch): + from scripts.benchmarks.native_history import HistoryReader + permit_run(monkeypatch) + calls = install_observer_stubs(monkeypatch, lambda calls: None) + before = snapshot(bound.source) + result = saved.run(bound.persist()) + execution = bound.plan["cases"][0]["execution"] + assert calls["source"] == bound.source + assert calls["reader"]["execution_admission"] == execution["native_admission"] + assert calls["reader"]["execution_provenance"] == execution["execution_provenance"] + assert calls["t1_context"]["run_id"] == "original_producer" + assert calls["reader"]["charge_observer"] == "original-observer-instance" + assert result["device"]["status"] == "unknown_reference_error" and result["scientific_pass"] is False + assert result["plan_sha256"] == bound.manifest["producer_plan"]["sha256"] + receipt = json.loads((bound.target / "RecoveryReceipt.json").read_bytes()) + assert receipt["operation_id"] == "separate_recovery" and receipt["producer_runs"] == 0 + with HistoryReader(bound.target / "Charge.jsonl.gz", encoding="gzip", max_record_bytes=1024**2, + max_logical_bytes=4*1024**2) as reader: + rows = [json.loads(line) for line in reader] + assert rows[0]["evidence"]["run_id"] == "original_producer" + assert snapshot(bound.source) == before + + +@pytest.mark.parametrize("failure", ["exception", "cancel", "signal", "deadline", "rss"]) +def test_failure_keeps_old_data_and_new_first_failure(bound, monkeypatch, failure): + permit_run(monkeypatch) + cancel = Path(bound.manifest["execution"]["supervision"]["cancel_path"]) + def fail(calls): + if failure == "exception": + raise RuntimeError("first reader failure") + if failure == "cancel": + cancel.touch() + elif failure == "signal": + signal.raise_signal(signal.SIGTERM) + elif failure == "deadline": + monkeypatch.setattr(saved.time, "perf_counter", lambda: 1e30) + calls["checkpoint"]() + else: + monkeypatch.setattr(saved.resource, "getrusage", lambda *args: SimpleNamespace(ru_maxrss=10**15)) + calls["checkpoint"]() + install_observer_stubs(monkeypatch, fail) + before = snapshot(bound.source) + with pytest.raises((ValueError, RuntimeError)): + saved.run(bound.persist()) + assert (bound.target / "FirstFailure.json").is_file() + evidence = json.loads((bound.target / "FirstFailure.json").read_bytes()) + assert evidence["classification"] == { + "exception": "unclassified_error", "cancel": "cancelled", "signal": "cancelled", + "deadline": "deadline", "rss": "resource_limit"}[failure] + assert evidence["chain"][0]["frames"] + assert not (bound.target / "RunResult.json").exists() + assert not (bound.target / "RecoveryReceipt.json").exists() + assert snapshot(bound.source) == before + + +@pytest.mark.parametrize("guard", ["expired", "future", "rss", "missing_channel"]) +def test_runtime_guard_stops_before_observer(bound, monkeypatch, guard): + for key in saved.launcher.THREAD_VARIABLES: + monkeypatch.setenv(key, "1") + monkeypatch.setattr(saved, "_blas_one", lambda: None) + monkeypatch.setattr(saved, "_observe", lambda *args: pytest.fail("observer entered")) + if guard in ("expired", "future"): + bound.manifest["execution"]["supervision"]["pipeline_started_unix_ns"] = time.time_ns() + (-1000 if guard == "expired" else 1000)*10**9 + elif guard == "rss": + monkeypatch.setattr(saved.resource, "getrusage", lambda *args: SimpleNamespace(ru_maxrss=10**15)) + else: + monkeypatch.delenv(saved.launcher.CHANNEL_FD_ENV, raising=False) + with pytest.raises((ValueError, saved.ObservationStopped)): + saved.run(bound.persist()) + assert not bound.target.exists() + + +def test_inherited_lock_remains_owned_after_consumer_exception(bound, monkeypatch): + import fcntl + permit_run(monkeypatch) + # Use the unchanged actual inherited FD context, without a subprocess. + spec = importlib.util.spec_from_file_location("_saved_lock_test", saved.launcher.__file__) + module = importlib.util.module_from_spec(spec) + monkeypatch.setitem(sys.modules, spec.name, module) + spec.loader.exec_module(module) + monkeypatch.setattr(saved.launcher, "inherited_channel", module.inherited_channel) + slots = Path(bound.plan["artifacts"]["channel_directory"]) + slots.mkdir() + slot = slots / "0.lock" + with slot.open("w") as owner, slot.open("r") as competitor: + fcntl.flock(owner, fcntl.LOCK_EX | fcntl.LOCK_NB) + monkeypatch.setenv(module.CHANNEL_FD_ENV, str(owner.fileno())) + def fail(*args): + raise RuntimeError("synthetic observer refusal") + monkeypatch.setattr(saved, "_observe", fail) + with pytest.raises(RuntimeError, match="synthetic observer refusal"): + saved.run(bound.persist()) + with pytest.raises(BlockingIOError): + fcntl.flock(competitor, fcntl.LOCK_EX | fcntl.LOCK_NB) + + +@pytest.mark.parametrize("kind", ["deadline", "cancelled", "resource_limit", "decode", "generic_value"]) +def test_real_reader_preserves_own_stop_and_bounded_cause(tmp_path, monkeypatch, kind): + from scripts.benchmarks import native_readback as reader + failure = (saved.ObservationStopped(kind, "injected_"+kind) if kind in + {"deadline", "cancelled", "resource_limit"} else + json.JSONDecodeError("injected invalid JSON", "{", 1) if kind == "decode" else + ValueError("injected unexplained observer refusal")) + def injected_read(*args, **kwargs): + raise failure + monkeypatch.setattr(reader, "_read_json", injected_read) + with pytest.raises(Exception) as caught: + reader.verify_history(tmp_path, max_record_bytes=1024, max_logical_bytes=4096, + max_records=10, deadline_monotonic=time.perf_counter()+1) + evidence = saved.exception_evidence(caught.value) + if isinstance(failure, saved.ObservationStopped): + assert caught.value is failure + assert evidence["classification"] == kind + else: + assert isinstance(caught.value, reader.HistoryVerificationError) + assert caught.value.__cause__ is failure + assert evidence["classification"] == ("artifact_decode_error" if kind == "decode" else "unclassified_error") + assert any(frame["function"] == "injected_read" for node in evidence["chain"] for frame in node["frames"]) + + +def test_wrapped_old_style_deadline_can_be_reported_without_claiming_old_cause(): + from scripts.benchmarks.native_readback import HistoryVerificationError + try: + try: + raise ValueError("g2_saved_observe_wall_or_RSS_limit") + except ValueError as cause: + raise HistoryVerificationError("invalid_artifact_ValueError", 5591, 315661032) from cause + except HistoryVerificationError as outer: + evidence = saved.exception_evidence(outer) + assert evidence["classification"] == "unclassified_error" + assert evidence["chain"][1]["message"] == "g2_saved_observe_wall_or_RSS_limit" + assert evidence["chain"][0]["frames"] + + +def test_exception_evidence_bounds_chains_and_never_dumps_native_numbers(): + error = ValueError("native="+"9"*100000, 1 << 1000000, {"giant": "x"*100000}) + for _ in range(7): + outer = RuntimeError("observer layer") + outer.__cause__ = error + error = outer + result = saved.exception_evidence(error) + assert len(result["chain"]) == 4 and result["chain_truncated"] is True + base = error + while base.__cause__ is not None: + base = base.__cause__ + rendered = json.dumps(saved.exception_evidence(base)) + assert len(rendered) < 2048 and "99999999999999999999999999999999" not in rendered + assert "" in rendered and "" in rendered and "" in rendered + base.__cause__ = base + assert saved.exception_evidence(base)["chain_truncated"] is True diff --git a/tests/numerical_contracts/test_ida_observation.py b/tests/numerical_contracts/test_ida_observation.py new file mode 100644 index 00000000..f944f399 --- /dev/null +++ b/tests/numerical_contracts/test_ida_observation.py @@ -0,0 +1,1200 @@ +"""Source preparation checks and separately admitted native boundary checks. + +Source checks use IDA_OBSERVATION_SOURCE_ARCHIVE, an explicit pinned sdist. +Native checks require SOLARLAB_IDA_OBSERVATION_NATIVE_TEST=1 and the reviewed +patched wheel. They must not be counted as passed when the SDK is unavailable. +""" +from fractions import Fraction +import ast +import hashlib +import importlib.util +import json +import os +from pathlib import Path +import tarfile + +import pytest + + +@pytest.fixture +def builder(): + path = Path(__file__).resolve().parents[2] / "scripts/benchmarks/ida_observation/build.py" + spec = importlib.util.spec_from_file_location("ida_observation_builder", path) + module = importlib.util.module_from_spec(spec) + spec.loader.exec_module(module) + return module + + +@pytest.fixture +def archive(): + name = os.environ.get("IDA_OBSERVATION_SOURCE_ARCHIVE") + if not name: + pytest.skip("supply the explicit SHA-verified 1.1.3 source archive") + return Path(name) + + +class TestSourcePreparation: + def test_parent_frame_public_bridge_and_owner_refresh(self, builder, archive, tmp_path): + """Exercise actual prepared validation; native lifetime awaits admission.""" + from copy import deepcopy + import math + + result = builder.prepare(archive, tmp_path / "parent_frame") + source = Path(result["source"]) / "src/sksundae" + code = (source / "_cy_ida.pyx").read_text() + pxd = (source / "c_ida.pxd").read_text() + assert "int IDAWFtolerances(void* mem, IDAEwtFn efun)" in pxd + assert "ctypedef int (*IDAEwtFn)" in pxd + begin = code.index("def _validate_parent_weight_frame(") + end = code.index("# Replaced only by", begin) + namespace = {"deepcopy": deepcopy, "math": math} + exec(compile(ast.parse(code[begin:end]), str(source / "_cy_ida.pyx"), "exec"), namespace) + validate = namespace["_validate_parent_weight_frame"] + zero = ["0x0.0p+0"]*3 + good = {"schema": "sksundae.ida.parent-affine-weights.v1", "frame_identity": "a"*64, + "t0_hex": "0x0.0p+0", "size": 3, + "q0_words_hex": [[float(v).hex() for v in (1, 2, 3)], zero, zero, zero], + "v0_words_hex": [zero]*4, "weight_rounding": "RN-exact-parent-q_then-unfused-SV-v1"} + assert validate(None) is None + owned = validate(good) + assert owned == good and owned is not good and owned["q0_words_hex"] is not good["q0_words_hex"] + for key, value in (("size", True), ("size", 2), ("frame_identity", "not-bound"), + ("t0_hex", "nan"), ("t0_hex", "0x0p+0"), + ("v0_words_hex", [zero]*5), ("extra", 0)): + changed = deepcopy(good); changed[key] = value + with pytest.raises((ValueError, OverflowError)): + validate(changed) + changed = deepcopy(good); changed["q0_words_hex"][1][0] = (1.0).hex() + with pytest.raises(ValueError, match="unnormalized"): + validate(changed) + initial = code[code.index(" cdef _init_step("):code.index(" cdef _step(")] + assert initial.index("IDAReInit(") < initial.index("self._set_tolerances()") + free = code[code.index(" cdef _free_memory("):code.index(" cdef _setup(")] + assert free.index("IDAFree(") < free.index("sl_parent_weights_free(") + wrapper = code[code.index("cdef int _parent_weight_wrapper("):code.index("cdef class _idaLSSparseDQJac:")] + assert "sl_parent_weights_apply" in wrapper and "with gil" not in wrapper + assert ".resfn(" not in wrapper and "np." not in wrapper + assert "p->owner!=owner || p->generation!=generation" in code + assert "IDAGetCurrentTime(p->memory,&t)" in code + assert "IDAWFtolerances(self.mem, _parent_weight_wrapper)" in code + assert "same_size_reinit_refresh" in code + + def test_exact_patch_and_unchanged_native_solve_calls(self, builder, archive, tmp_path): + result = builder.prepare(archive, tmp_path / "prepared") + source = Path(result["source"]) + pins = builder.pins() + for name, spec in pins["files"].items(): + assert builder.digest(source / name) == spec["patched_sha256"] + code = (source / "src/sksundae/_cy_ida.pyx").read_text() + with tarfile.open(archive) as tar: + original = tar.extractfile("scikit_sundae-1.1.3/src/sksundae/_cy_ida.pyx").read().decode() + calls = lambda text: [line.strip() for line in text.splitlines() if "flag = IDASolve(" in line] + assert len(calls(code)) == 3 + assert calls(code) == calls(original) + assert code.count("self._obs_after_step(observation_before,") == 3 + assert code.count("self._obs_busy = True") == 3 + assert "_OBSERVATION_BUILD_ID = None" in code + wrapper = ast.parse((source / "src/sksundae/ida/_solver.py").read_text()) + public = next(node for node in wrapper.body if isinstance(node, ast.ClassDef) and node.name == "IDA") + assert {"statistics", "last_step_snapshot"} <= {node.name for node in public.body if isinstance(node, ast.FunctionDef)} + for name, identity in pins["native_cleanup"]["files"].items(): + assert builder.digest(source / "src/sksundae" / name) == identity + assert "self.LS = sl_SUNLinSol_SuperLUMT(" in code + assert "self.LS = SUNLinSol_SuperLUMT(" not in code + assert result["compiler_run"] is False + + def test_bound_build_identity_is_explicit(self, builder, archive, tmp_path): + identity = "a" * 64 + result = builder.prepare(archive, tmp_path / "bound", identity) + text = (Path(result["source"]) / "src/sksundae/_cy_ida.pyx").read_text() + assert "_OBSERVATION_BUILD_ID = " + repr(identity) in text + assert "_OBSERVATION_BUILD_ID = None" not in text + assert result["build_recipe_sha256"] == identity + + def test_source_tampering_is_rejected(self, builder, archive, tmp_path): + pins = builder.pins() + source = tmp_path / "changed" + with tarfile.open(archive) as tar: + for name in pins["files"]: + target = source / name + target.parent.mkdir(parents=True, exist_ok=True) + target.write_bytes(tar.extractfile("scikit_sundae-1.1.3/" + name).read()) + target = source / "src/sksundae/c_ida.pxd" + target.write_bytes(target.read_bytes() + b"\n# changed\n") + with pytest.raises(ValueError, match="upstream file identity"): + builder.apply_patch(source, pins) + + def test_no_overwriting_an_existing_attempt(self, builder, archive, tmp_path): + work = tmp_path / "attempt" + work.mkdir() + with pytest.raises(ValueError, match="reuse or overwrite"): + builder.prepare(archive, work) + + @pytest.mark.parametrize("pin", ["", "0" * 64, None]) + def test_missing_or_wrong_external_plan_pin(self, builder, tmp_path, pin): + path = tmp_path / "plan.json" + path.write_text('{"schema":"one"}') + with pytest.raises(ValueError, match="external identity"): + builder.load_pinned(path, pin) + + def test_resealed_metadata_cannot_replace_external_pin(self, builder, tmp_path): + path = tmp_path / "plan.json" + path.write_text('{"compiler":"approved"}') + external = builder.digest(path) + assert builder.load_pinned(path, external) == {"compiler": "approved"} + path.write_text(json.dumps({"compiler": "changed", "identity": hashlib.sha256(b"changed").hexdigest()})) + with pytest.raises(ValueError, match="external identity"): + builder.load_pinned(path, external) + + def test_missing_sdk_blocks_before_build_process(self, builder, tmp_path, monkeypatch): + monkeypatch.setattr(builder.subprocess, "Popen", lambda *a, **k: pytest.fail("unexpected build process")) + recipe = dict.fromkeys(["python", "python_sha256", "python_version", "cython", "compiler", + "platform_tools", "sdk_files", "private_files", "python_include", + "python_headers", "numpy_include", "numpy_headers", "native_site", + "native_record_sha256", "native_files", "link_libraries", + "environment", "wheel_filename", "accounting_roots"]) + recipe.update(schema="solarlab.ida75-overlay-recipe.v1", sdk_prefix=str(tmp_path / "absent_sdk")) + with pytest.raises(ValueError, match="SDK unavailable"): + builder.validate_recipe(recipe) + + def test_unknown_recipe_fields_are_rejected(self, builder): + with pytest.raises(ValueError, match="recipe fields"): + builder.validate_recipe({"schema": "solarlab.ida75-overlay-recipe.v1", "ignore_missing_sdk": True}) + + def test_unlisted_source_is_rejected(self, builder, tmp_path): + (tmp_path / "allowed.h").write_bytes(b"declared") + expected = {"allowed.h": builder.digest(tmp_path / "allowed.h")} + builder.verify_files(tmp_path, expected, complete=True) + (tmp_path / "unexpected.h").write_bytes(b"added after source freeze") + with pytest.raises(ValueError, match="inventory"): + builder.verify_files(tmp_path, expected, complete=True) + + def test_runtime_record_checks_bytes_not_just_metadata(self, builder, tmp_path): + import base64 + payload = tmp_path / "runtime.dylib" + payload.write_bytes(b"qualified") + encoded = base64.urlsafe_b64encode(hashlib.sha256(payload.read_bytes()).digest()).decode().rstrip("=") + record = tmp_path / "RECORD" + record.write_text(f"runtime.dylib,sha256={encoded},9\nRECORD,,\n") + pin = builder.digest(record) + assert builder.verify_record(tmp_path, record, pin) == {"runtime.dylib": builder.digest(payload)} + payload.write_bytes(b"different") + with pytest.raises(ValueError, match="payload differs"): + builder.verify_record(tmp_path, record, pin) + + def test_one_accounting_envelope_includes_tools_and_evidence(self, builder, tmp_path): + evidence, tools = tmp_path / "evidence", tmp_path / "tools" + evidence.mkdir() + tools.mkdir() + (evidence / "candidate.conda").write_bytes(b"candidate") + (tools / "compiler").write_bytes(b"compiler") + assert builder.combined_bytes([str(evidence), str(tools)]) == 17 + with pytest.raises(ValueError, match="disjoint"): + builder.combined_bytes([str(tmp_path), str(tools)]) + + def test_cleanup_failure_retains_owned_process_and_both_errors(self, builder, monkeypatch): + class Child: + pid = 43210 + def poll(self): + return None + def wait(self, timeout): + raise builder.subprocess.TimeoutExpired("owned child", timeout) + def denied(group, sig): + assert group == Child.pid + raise PermissionError("signal refused") + monkeypatch.setattr(builder.os, "killpg", denied) + result = builder.cleanup_owned(Child()) + assert result["status"] == "cleanup-unverified" + assert result["pid"] == result["pgid"] == Child.pid + assert [(e["operation"], e["type"]) for e in result["errors"]] == [ + ("killpg", "PermissionError"), ("wait", "TimeoutExpired")] + assert result["returncode"] is None + + def test_exited_child_is_not_signalled(self, builder, monkeypatch): + class Child: + pid = 43210 + def poll(self): + return 2 + monkeypatch.setattr(builder.os, "killpg", lambda *a: pytest.fail("exited child was signalled")) + result = builder.cleanup_owned(Child()) + assert result["status"] == "exited" and result["returncode"] == 2 + + def test_external_group_cleanup_reaps_direct_child_without_killing_builder(self, builder, monkeypatch): + called = [] + class Child: + pid = 43210 + def poll(self): + return None + def kill(self): + called.append("kill_direct_child") + def wait(self, timeout): + called.append("wait_direct_child") + return -9 + monkeypatch.setattr(builder.os, "getpgrp", lambda: 12345) + monkeypatch.setattr(builder.os, "killpg", lambda *a: pytest.fail("would kill the builder before its receipt")) + result = builder.cleanup_owned(Child(), external_process_group=True) + assert called == ["kill_direct_child", "wait_direct_child"] + assert result["pgid"] == 12345 and result["direct_child_reaped"] + assert result["group_cleanup_owner"] == "external_supervisor" and result["group_empty"] is None + + def test_build_receipt_survives_cleanup_errors(self, builder, tmp_path, monkeypatch): + recipe = {"accounting_roots": [str(tmp_path)]} + plan = {"helper_sha256": builder.digest(Path(builder.__file__)), + "source_pins_sha256": builder.digest(builder.HERE / "SourcePinsV1.json"), + "recipe_path": "recipe.json", "recipe_sha256": "a" * 64, "recipe": recipe, + "work": str(tmp_path), "prepared": {"source": str(tmp_path), "source_hashes": {}}, + "commands": [["synthetic-owned-build-child"]], "environment": {}} + class Child: + pid = 43210 + polls = 0 + def poll(self): + self.polls += 1 + if self.polls == 1: + raise RuntimeError("first build error") + return None + def wait(self, timeout): + raise builder.subprocess.TimeoutExpired("owned child", timeout) + def denied(*args): + raise PermissionError("signal refused") + monkeypatch.setattr(builder, "load_pinned", lambda p, s: plan if str(p) == "plan.json" else recipe) + monkeypatch.setattr(builder, "validate_recipe", lambda r: None) + monkeypatch.setattr(builder, "verify_files", lambda *a, **k: None) + monkeypatch.setattr(builder.subprocess, "Popen", lambda *a, **k: Child()) + monkeypatch.setattr(builder.os, "killpg", denied) + result = builder.run_build(Path("plan.json"), "b" * 64, "msg_1234") + assert result["failure"] == {"type": "RuntimeError", "message": "first build error"} + assert result["status"] == "failed_cleanup_unverified" + assert result["cleanup"]["pgid"] == Child.pid + assert json.loads((tmp_path / "BuildReceipt.json").read_text()) == result + + def test_overlay_materializes_new_extension_but_reuses_original_payload(self, builder, tmp_path, monkeypatch): + import zipfile + work, site = tmp_path / "work", tmp_path / "original" + work.mkdir() + library = site / "sksundae/.dylibs/qualified.dylib" + library.parent.mkdir(parents=True) + library.write_bytes(b"qualified-library-metadata-fixture") + meta = site / "scikit_sundae-1.1.3.dist-info/WHEEL" + meta.parent.mkdir() + meta.write_bytes(b"original-wheel-metadata") + source = work / "source" + header = source / "src/sksundae/ida_observation_copy.h" + header.parent.mkdir(parents=True) + header.write_bytes(b"source-metadata-fixture") + extension = work / "_cy_ida.cpython-313-darwin.so" + extension.write_bytes(b"compiled-image-metadata-fixture") + monkeypatch.setattr(builder, "pins", lambda: {"files": {}, "native_cleanup": {"files": {}}}) + result = builder.pack_overlay({"work": str(work), "extension": str(extension), + "prepared": {"source": str(source)}, "recipe": {"native_site": str(site), + "native_files": {str(p.relative_to(site)): builder.digest(p) for p in (library, meta)}, + "wheel_filename": "metadata-fixture.whl"}}) + overlay = Path(result["overlay"]) + image = overlay / "sksundae/_cy_ida.cpython-313-darwin.so" + assert image.is_file() and not image.is_symlink() + assert image.read_bytes() == extension.read_bytes() + borrowed = overlay / library.relative_to(site) + assert borrowed.is_symlink() and borrowed.resolve() == library.resolve() + assert borrowed.read_bytes() == b"qualified-library-metadata-fixture" + with zipfile.ZipFile(result["wheel"]) as archive: + assert archive.read("sksundae/_cy_ida.cpython-313-darwin.so") == image.read_bytes() + record = overlay / "scikit_sundae-1.1.3.dist-info/RECORD" + builder.verify_record(overlay, record, builder.digest(record)) + installed = builder.install_verified_wheel(result, work / "installed") + destination = Path(installed["installed"]) + assert installed["installed_files"] == result["wheel_files"] + assert not any(p.is_symlink() for p in destination.rglob("*")) + assert (destination / library.relative_to(site)).read_bytes() == library.read_bytes() + with pytest.raises(ValueError, match="installation exists"): + builder.install_verified_wheel(result, destination) + + +@pytest.fixture +def native(): + if os.environ.get("SOLARLAB_IDA_OBSERVATION_NATIVE_TEST") != "1": + pytest.skip("native observation tests require separate Root admission") + import numpy as np + from sksundae.ida import IDA + assert hasattr(IDA, "last_step_snapshot"), "the admitted patched wheel is required" + assert callable(getattr(IDA, "statistics", None)), "both reviewed APIs must exist before construction" + + def make(callback=None, *, sparse=False, cj_log=None, **options): + def residual(t, y, yp, out): + if callback is not None: + callback() + out[:] = [yp[0] - (1 + 2*t), y[1] - 2*y[0]] + + def jacobian(t, y, yp, out, cj, jac): + if cj_log is not None: + cj_log.append((float(t), float(cj))) + jac[:] = [cj, -2, 1] if sparse else [[cj, 0], [-2, 1]] + + settings = dict(jacfn=jacobian, algebraic_idx=[1], rtol=1e-8, atol=1e-10, + first_step=2**-10, max_step=2**-5, max_order=3) + if sparse: + settings.update(linsolver="sparse", sparsity=np.array([[1, 0], [1, 1]]), nthreads=1) + settings.update(options) + return IDA(residual, **settings) + return np, make + + +class TestNativeObservation: + def test_immutable_buffers_clock_authority_and_unchanged_calls(self, native): + np, make = native + observed, control = make(), make() + previous = observed.init_step(0., [1., 2.], [1., 2.]) + control.init_step(0., [1., 2.], [1., 2.]) + packets = [] + for _ in range(64): + result = observed.step(.125, method="onestep", tstop=.125) + reference = control.step(.125, method="onestep", tstop=.125) + assert result.status == reference.status and result.t == reference.t + assert result.nfev == reference.nfev and result.njev == reference.njev + assert np.array_equal(result.y, reference.y) and np.array_equal(result.yp, reference.yp) + packet = observed.last_step_snapshot() + assert packet["native_before"] == packet["native_after"] + assert packet["predecessor"]["output_t"] == previous.t + assert packet["predecessor"]["raw_y"] == previous.y.tobytes() + assert packet["raw_y"] == result.y.tobytes() and packet["raw_yp"] == result.yp.tobytes() + assert len(packet["dky"]) == packet["native_before"]["kused"] + 1 + basis = packet["basis"] + assert basis["kind"] == "ida75_phi_psi_copy_v1" and basis["status"] == 0 + assert basis["build_identity"] == packet["binding"]["identity"] + assert basis["source_header_sha256"] == "04988c332e2d004b4e838ffca847990f353f68d41cb225f1b9085b3a8bed52ce" + assert basis["phi_shape"] == (packet["native_before"]["kused"] + 1, 2) + assert basis["psi_shape"] == (packet["native_before"]["kused"],) + phi = np.frombuffer(basis["phi"], dtype=basis["dtype"]).reshape(basis["phi_shape"]) + psi = np.frombuffer(basis["psi"], dtype=basis["dtype"]) + assert np.all(np.isfinite(phi)) and np.all(np.isfinite(psi)) and np.all(psi != 0) + assert phi[0].tobytes() == packet["dky"][0] + assert float(psi[0]).hex() == packet["native_before"]["hused"].hex() + for immutable in (phi, psi): + with pytest.raises(ValueError): + immutable.flags.writeable = True + predecessor = packet["predecessor_dky"] + assert predecessor["query_t_hex"] == float(previous.t).hex() + assert predecessor["orders"] == (0, 1) + assert predecessor["step_before"] == packet["native_before"] == predecessor["step_after"] + assert predecessor["native_eligible"] == all(s == 0 for s in predecessor["statuses"]) + assert all((status == 0 and type(data) is bytes) or (status != 0 and data is None) + for data, status in zip(predecessor["buffers"], predecessor["statuses"])) + assert all(type(b) is bytes for b in packet["dky"]) + for buffer in packet["dky"] + (packet["raw_y"], packet["raw_yp"]): + view = np.frombuffer(buffer, dtype=packet["dtype"]) + assert view.shape == packet["shape"] and np.all(np.isfinite(view)) + with pytest.raises(ValueError): + view.flags.writeable = True + with pytest.raises(TypeError): + packet["native_before"]["tn"] = 0 + exact_gap = sum(Fraction.from_float(x) for x in packet["clock_gap_terms"]) + info = packet["native_before"] + assert exact_gap == (Fraction.from_float(info["tn"]) - Fraction.from_float(info["hused"]) + - Fraction.from_float(previous.t)) + assert observed.last_step_snapshot(expected_step=packet["step_key"])["dky"] == packet["dky"] + packets.append((packet, packet["raw_y"], packet["dky"])) + previous = result + if result.status == 1: + break + else: + pytest.fail("bounded analytic marker was not reached") + assert any(p[0]["native_before"]["kused"] >= 2 for p in packets) + assert all(p[0]["raw_y"] == p[1] and p[0]["dky"] == p[2] for p in packets) + + def test_stale_owner_generation_step_and_illegal_query(self, native): + _, make = native + solver, other = make(), make() + with pytest.raises(RuntimeError): + solver.last_step_snapshot() + for item in (solver, other): + item.init_step(0., [1., 2.], [1., 2.]) + item.step(.1, method="onestep") + key = solver.last_step_snapshot()["step_key"] + with pytest.raises(RuntimeError): + other.last_step_snapshot(expected_step=key) + solver.step(.1, method="onestep") + with pytest.raises(RuntimeError): + solver.last_step_snapshot(expected_step=key) + solver.init_step(0., [1., 2.], [1., 2.]) + solver.step(.1, method="onestep") + with pytest.raises(RuntimeError): + solver.last_step_snapshot(expected_step=key) + with pytest.raises(RuntimeError): + solver.last_step_snapshot(expected_step=list(key)) + with pytest.raises(TypeError): + solver.last_step_snapshot(t=float("nan")) + + def test_normal_hidden_predecessor_and_real_recovery(self, native): + _, make = native + solver = make() + solver.init_step(0., [1., 2.], [1., 2.]) + solver.step(.1, method="normal") + with pytest.raises(RuntimeError) as error: + solver.last_step_snapshot() + assert error.value.code in {"predecessor_not_observed", "output_not_at_accepted_time"} + outputs = [] + for _ in range(3): + outputs.append(solver.step(.2, method="onestep")) + try: + packet = solver.last_step_snapshot() + except RuntimeError: + continue + assert len(outputs) >= 2 + assert packet["predecessor"]["raw_y"] == outputs[-2].y.tobytes() + break + else: + pytest.fail("no eligible consecutive observed endpoints") + + def test_reentrant_observation_is_rejected(self, native): + _, make = native + owner, rejected = [], [] + def callback(): + if not rejected: + with pytest.raises(RuntimeError) as error: + owner[0].last_step_snapshot() + rejected.append(error.value.code) + owner.append(make(callback)) + owner[0].init_step(0., [1., 2.], [1., 2.]) + owner[0].step(.1, method="onestep") + assert rejected == ["operation_in_progress"] + + +class TestNativeCompositionLifetime: + """Binding-only sparse lifetime cases, never a SolarLab device protocol.""" + + def test_sparse_init_statistics_and_normal_no_factorization_destruction(self, native): + import gc + import weakref + np, make = native + called = [] + solver = make(lambda: called.append("residual"), sparse=True) + with pytest.raises(RuntimeError, match="must be initialized"): + solver.statistics() + y, yp = np.array([1., 2.]), np.array([1., 2.]) + y.flags.writeable = yp.flags.writeable = False + original = (y.tobytes(), yp.tobytes()) + result = solver.init_step(0., y, yp) + assert result.success and result.status == 0 + stats = solver.statistics() + assert stats["num_steps"] == stats["linear_setups"] == stats["jacobian_evals"] == 0 + assert stats["method_fields_valid"] is False + assert stats["nonlin_conv_coef_requested"] is None + assert stats["coefficient_getter_available"] is True + state = stats["nonlinear_control_state"] + assert state["phase"] == "initialized_before_step" + assert state["valid_fields"] == ("epcon",) + assert state["epcon"] > 0 + assert all(state[name] is None for name in ("epsNewt", "ss", "oldnrm", "toldel")) + assert stats["observation_generation"] == 1 + with pytest.raises(RuntimeError, match=r"^no_accepted_interval:"): + solver.last_step_snapshot() + assert stats == solver.statistics() + assert not called and original == (y.tobytes(), yp.tobytes()) + reference = weakref.ref(solver) + del solver + gc.collect() + assert reference() is None + print("NO_FACTORIZATION_NORMAL_DESTRUCTION", json.dumps(stats, allow_nan=False)) + + def test_failed_atol_setup_preserves_exception_and_cleans_partial_solver(self, native): + import gc + import weakref + _, make = native + solver = make(sparse=True, atol=[1e-10]) + # _set_tolerances is reached after the real sparse LS and IDA allocations. + with pytest.raises(ValueError, match="'atol' length .* differs from problem size") as error: + solver.init_step(0., [1., 2.], [1., 2.]) + assert "(1)" in str(error.value) and "(2)" in str(error.value) + with pytest.raises(RuntimeError, match="must be initialized"): + solver.statistics() + with pytest.raises(RuntimeError): + solver.last_step_snapshot() + # The caught traceback can hold solver locals; release it before deallocation. + del error + reference = weakref.ref(solver) + del solver + gc.collect() + assert reference() is None + print("PARTIAL_ATOL_FAILURE_NORMAL_DESTRUCTION") + + def test_sparse_factorization_statistics_snapshot_and_default_none_agree(self, native): + import gc + import weakref + np, make = native + callback_cj = [] + default = make(sparse=True, cj_log=callback_cj) + explicit_none = make(sparse=True, nonlin_conv_coef=None) + results, stats, packets = [], [], [] + for solver in (default, explicit_none): + solver.init_step(0., [1., 2.], [1., 2.]) + result = solver.step(.125, method="onestep", tstop=.125) + assert result.success + snapshot = solver.last_step_snapshot() + statistics = solver.statistics() + assert statistics == solver.statistics() + assert solver.last_step_snapshot(expected_step=snapshot["step_key"])["basis"] == snapshot["basis"] + assert statistics["num_steps"] > 0 and statistics["linear_setups"] > 0 + assert statistics["jacobian_evals"] > 0 and statistics["method_fields_valid"] + assert statistics["observation_owner"] == snapshot["owner"] + assert statistics["observation_generation"] == snapshot["generation"] + results.append(result) + stats.append(statistics) + packets.append(snapshot) + assert callback_cj and all(np.isfinite(cj) and cj > 0 for _, cj in callback_cj) + assert results[0].t == results[1].t and results[0].status == results[1].status + assert results[0].y.tobytes() == results[1].y.tobytes() + assert results[0].yp.tobytes() == results[1].yp.tobytes() + assert {k: v for k, v in stats[0].items() if k != "observation_owner"} == { + k: v for k, v in stats[1].items() if k != "observation_owner"} + old_bytes = packets[0]["raw_y"] + refs = [weakref.ref(default), weakref.ref(explicit_none)] + del solver, default, explicit_none + gc.collect() + assert all(ref() is None for ref in refs) + assert packets[0]["raw_y"] == old_bytes + print("FACTORIZATION_NORMAL_DESTRUCTION", json.dumps({ + "statistics": stats, "callback_cj": callback_cj, + "binding": dict(packets[0]["binding"])}, allow_nan=False)) + + @pytest.mark.parametrize("coefficient", [True, False, "0.2", 0., -1., float("nan"), float("inf"), -float("inf")]) + def test_invalid_coefficient_is_rejected_before_initialization(self, native, coefficient): + _, make = native + with pytest.raises((TypeError, ValueError), match="nonlin_conv_coef"): + make(sparse=True, nonlin_conv_coef=coefficient) + + @pytest.mark.parametrize("coefficient", [0.2, 1e-8]) + def test_explicit_coefficient_and_reentrant_statistics_guard(self, native, coefficient): + _, make = native + owner, rejected = [], [] + def callback(): + if not rejected: + with pytest.raises(RuntimeError) as error: + owner[0].statistics() + rejected.append(error.value.code) + owner.append(make(callback, sparse=True, nonlin_conv_coef=coefficient)) + owner[0].init_step(0., [1., 2.], [1., 2.]) + before = owner[0].statistics() + assert before["nonlin_conv_coef_requested"] == coefficient + assert before["nonlinear_control_state"]["epcon"] == coefficient + assert before["nonlinear_control_state"]["valid_fields"] == ("epcon",) + owner[0].step(.125, method="onestep", tstop=.125) + assert rejected == ["operation_in_progress"] + stats = owner[0].statistics() + state = stats["nonlinear_control_state"] + assert stats["coefficient_getter_available"] is True + assert stats["coefficient_getter_kind"] == "pinned-private-header-word-copy" + assert state["phase"] == "accepted_native_return" + assert state["valid_fields"] == ("epcon", "epsNewt", "ss", "oldnrm", "toldel") + assert state["epcon"] == state["epsNewt"] == coefficient + assert state["toldel"] == 1e-4*coefficient + assert state["ss"] >= 0 and state["oldnrm"] >= 0 + packet = owner[0].last_step_snapshot() + assert state["build_identity"] == packet["binding"]["identity"] + assert state["source_header_sha256"] == packet["basis"]["source_header_sha256"] + assert state["source_config_sha256"] == packet["basis"]["source_config_sha256"] + state["epcon"] = -1 # Returned metadata owns no mutable native storage. + assert owner[0].statistics()["nonlinear_control_state"]["epcon"] == coefficient + assert owner[0].last_step_snapshot()["basis"] == packet["basis"] + owner.clear() + + def test_reinit_and_batch_statistics_windows_remain_explicit(self, native): + import gc + import weakref + _, make = native + solver = make(sparse=True) + solver.init_step(0., [1., 2.], [1., 2.]) + solver.step(.125, method="onestep", tstop=.125) + packet = solver.last_step_snapshot() + original_history = (packet["raw_y"], packet["basis"]["phi"], packet["predecessor"]["raw_y"]) + solver.init_step(0., [1., 2.], [1., 2.]) + stats = solver.statistics() + assert stats["num_steps"] == 0 and stats["method_fields_valid"] is False + assert stats["nonlinear_control_state"]["phase"] == "initialized_before_step" + assert stats["nonlinear_control_state"]["valid_fields"] == ("epcon",) + assert all(stats["nonlinear_control_state"][name] is None + for name in ("epsNewt", "ss", "oldnrm", "toldel")) + assert stats["observation_owner"] == packet["owner"] + assert stats["observation_generation"] == packet["generation"] + 1 + with pytest.raises(RuntimeError): + solver.last_step_snapshot(expected_step=packet["step_key"]) + # IDAReInit retains the LS: its next initialize must retire old factors + # before the native refact=NO path creates replacements. + second = solver.step(.125, method="onestep", tstop=.125) + assert second.success + after = solver.statistics() + second_packet = solver.last_step_snapshot() + assert after["num_steps"] > 0 and after["linear_setups"] > 0 and after["jacobian_evals"] > 0 + assert after["nonlinear_control_state"]["phase"] == "accepted_native_return" + assert second_packet["owner"] == packet["owner"] + assert second_packet["generation"] == packet["generation"] + 1 + assert second_packet["step_key"] != packet["step_key"] + reference = weakref.ref(solver) + del solver + gc.collect() + assert reference() is None + assert (packet["raw_y"], packet["basis"]["phi"], packet["predecessor"]["raw_y"]) == original_history + print("REINIT_SECOND_FACTORIZATION_NORMAL_DESTRUCTION", json.dumps({"before_step": stats, "after_step": after}, allow_nan=False)) + # Use a fresh dense marker for the existing batch-solve access limitation. + batch = make() + assert batch.solve([0., 2**-10], [1., 2.], [1., 2.]).success + with pytest.raises(RuntimeError, match="must be initialized"): + batch.statistics() + + def test_failed_step_withholds_previous_nls_method_fields(self, native): + _, make = native + fail = [False] + + def callback(): + if fail[0]: + raise RuntimeError("deliberate_nls_observation_failure") + + solver = make(callback, sparse=True, nonlin_conv_coef=1e-8) + solver.init_step(0., [1., 2.], [1., 2.]) + assert solver.step(.125, method="onestep", tstop=.125).success + before = solver.statistics() + assert before["nonlinear_control_state"]["phase"] == "accepted_native_return" + fail[0] = True + with pytest.raises(RuntimeError, match="deliberate_nls_observation_failure"): + solver.step(.25, method="onestep", tstop=.25) + after = solver.statistics() + state = after["nonlinear_control_state"] + assert after["observation_generation"] == before["observation_generation"] + assert state["phase"] == "no_current_successful_endpoint" + assert state["epcon"] == 1e-8 and state["valid_fields"] == ("epcon",) + assert all(state[name] is None for name in ("epsNewt", "ss", "oldnrm", "toldel")) + + +# Compiled from this exact source by the reviewed build operation, and only +# executed under the native-fixture grant. The assigned ss/iteration values +# are explicit synthetic callback inputs, never reconstructed device history. +GUARD_CALLBACK_FIXTURE_C = r""" +#include +#include +#include "ida_observation_copy.h" +static SUNNonlinSolConvTestFn real_delegate; +static void *real_data; +static int delegate_calls, forced_status; +static int residual(sunrealtype t, N_Vector y, N_Vector yp, N_Vector r, void *data) +{ + (void)t; (void)y; (void)data; + N_VScale(1., yp, r); + return 0; +} +static int counted_delegate(SUNNonlinearSolver n, N_Vector y, N_Vector d, + sunrealtype tol, N_Vector w, void *data) +{ + int result; + assert(data == real_data); + delegate_calls++; + result = real_delegate(n, y, d, tol, w, data); + return forced_status ? forced_status : result; +} +int main(void) +{ + SUNContext ctx = NULL; + void *mem = NULL; + IDAMem m; + N_Vector y, yp, delta, weights; + sl_ida75_guard *g = NULL; + SUNNonlinearSolverContent_Newton nc; + int original_status, guarded_status, calls; + sunrealtype expected_oldnrm, expected_ss; + assert(SUNContext_Create(SUN_COMM_NULL, &ctx) == 0); + y = N_VNew_Serial(1, ctx); yp = N_VClone(y); + delta = N_VClone(y); weights = N_VClone(y); + assert(y && yp && delta && weights); + N_VConst(0., y); N_VConst(0., yp); N_VConst(1., weights); + mem = IDACreate(ctx); assert(mem); + assert(IDAInit(mem, residual, 0., y, yp) == 0); + m = (IDAMem)mem; + assert(sl_ida75_guard_install(mem, 1, 1, 0, &g) == SL_GUARD_OWNER && !g); + assert(sl_ida75_guard_install(mem, 1, 1, 8, &g) == 0); + assert(g->original_data == mem && m->ownNLS); + real_delegate = g->original; real_data = g->original_data; + nc = (SUNNonlinearSolverContent_Newton)m->NLS->content; + assert(sl_ida75_guard_check(g, mem, 1) == 0); + assert(sl_ida75_guard_check(g, mem, 2) == SL_GUARD_OWNER); + assert(sl_ida75_guard_check(g, NULL, 1) == SL_GUARD_OWNER); + /* Keep the real default under a counting C delegate, solely in this test. */ + g->original = counted_delegate; + m->ida_toldel = 1e-12; m->ida_ss = 5e-11; m->ida_oldnrm = 17.; + nc->curiter = 0; N_VConst(.5, delta); + original_status = real_delegate(m->NLS, y, delta, 1e-8, weights, real_data); + expected_oldnrm = m->ida_oldnrm; expected_ss = m->ida_ss; + m->ida_oldnrm = 17.; m->ida_ss = 5e-11; + assert(sl_ida75_guard_begin(g, mem, 1) == 0); + calls = delegate_calls; + guarded_status = nc->CTest(m->NLS, y, delta, 1e-8, weights, nc->ctest_data); + assert(delegate_calls == calls+1 && original_status == SUN_SUCCESS); + assert(guarded_status == SUN_NLS_CONTINUE && g->records[0].override); + assert(m->ida_oldnrm == expected_oldnrm && m->ida_ss == expected_ss); + assert(g->records[0].norm == .5 && g->records[0].default_status == 0); + assert(!g->records[0].oldnrm_before_valid && g->records[0].oldnrm_after_valid); + sl_ida75_guard_end(g, guarded_status); + + /* A small current correction and subsequent-iteration decisions pass. */ + assert(sl_ida75_guard_begin(g, mem, 1) == 0); + nc->curiter = 0; N_VConst(1e-10, delta); m->ida_ss = 5e-11; + assert(nc->CTest(m->NLS, y, delta, 1e-8, weights, nc->ctest_data) == 0); + assert(!g->records[0].override); + nc->curiter = 1; m->ida_oldnrm = .5; m->ida_ss = .1; N_VConst(1e-6, delta); + original_status = real_delegate(m->NLS, y, delta, 1e-8, weights, real_data); + expected_ss = m->ida_ss; + m->ida_ss = .1; + assert(nc->CTest(m->NLS, y, delta, 1e-8, weights, nc->ctest_data) == original_status); + assert(original_status == 0 && m->ida_ss == expected_ss && !g->records[1].override); + /* Default continue and recoverable status remain exact. */ + nc->curiter = 0; m->ida_ss = 20.; N_VConst(.5, delta); + assert(nc->CTest(m->NLS, y, delta, 1e-8, weights, nc->ctest_data) == SUN_NLS_CONTINUE); + nc->curiter = 1; m->ida_oldnrm = .5; N_VConst(.5, delta); + assert(nc->CTest(m->NLS, y, delta, 1e-8, weights, nc->ctest_data) == SUN_NLS_CONV_RECVR); + /* A negative delegate status wins, while the real callback still runs once. */ + nc->curiter = 0; forced_status = -77; m->ida_oldnrm = 9.; calls = delegate_calls; + assert(nc->CTest(m->NLS, y, delta, 1e-8, weights, nc->ctest_data) == -77); + assert(delegate_calls == calls+1 && m->ida_oldnrm == .5); + forced_status = 0; + sl_ida75_guard_end(g, -77); + + /* Overflow preserves the stored prefix and first omitted real callback. */ + g->capacity = 1; + assert(sl_ida75_guard_begin(g, mem, 1) == 0); + nc->curiter = 0; m->ida_ss = 5e-11; N_VConst(1e-10, delta); + assert(nc->CTest(m->NLS, y, delta, 1e-8, weights, nc->ctest_data) == 0); + assert(nc->CTest(m->NLS, y, delta, 1e-8, weights, nc->ctest_data) == SL_GUARD_TRACE_FULL); + assert(g->count == 1 && g->calls == 2 && g->overflow); + assert(g->first_unrecorded.sequence == 2 && g->first_unrecorded.default_status == 0); + forced_status = -78; calls = delegate_calls; + assert(nc->CTest(m->NLS, y, delta, 1e-8, weights, nc->ctest_data) == -78); + assert(delegate_calls == calls+1 && g->first_unrecorded.sequence == 2); + sl_ida75_guard_end(g, -78); + assert(IDAReInit(mem, 0., y, yp) == 0); + assert(sl_ida75_guard_reinit(g, mem, 2) == 0 && g->generation == 2); + assert(g->count == 0 && !g->oldnrm_valid && m->ownNLS); + assert(sl_ida75_guard_check(g, mem, 2) == 0); + IDAFree(&mem); assert(!mem); sl_ida75_guard_free(&g); assert(!g); + sl_ida75_guard_free(&g); + N_VDestroy(weights); N_VDestroy(delta); N_VDestroy(yp); N_VDestroy(y); + assert(SUNContext_Free(&ctx) == 0); + printf("{\"passed\":true,\"real_default_callback\":true,\"default_once\":true," + "\"negative_and_recoverable_retained\":true,\"overflow_visible\":true," + "\"closed\":true,\"Newton_content_bytes\":%zu,\"guard_record_bytes\":%zu}\n", + sizeof(struct _SUNNonlinearSolverContent_Newton), sizeof(sl_ida75_guard_record)); + return 0; +} +""" + + +class TestNativeFirstCorrectionGuard: + def test_captured_default_contract_and_pinned_abi(self, native): + import subprocess + path = Path(os.environ["SOLARLAB_IDA_GUARD_FIXTURE"]) + expected = os.environ["SOLARLAB_IDA_GUARD_FIXTURE_SHA256"] + assert hashlib.sha256(path.read_bytes()).hexdigest() == expected + result = subprocess.run([str(path)], check=True, capture_output=True, text=True, timeout=5) + proof = json.loads(result.stdout) + assert all(proof[name] for name in ("passed", "real_default_callback", "default_once", + "negative_and_recoverable_retained", "overflow_visible", "closed")) + print("NATIVE_DEFAULT_GUARD_CONTRACT", result.stdout.strip()) + + def test_guarded_native_trace_and_immutable_owner_records(self, native): + _, make = native + solver = make(sparse=True, nonlin_conv_coef=1e-8, nonlin_guard="first-correction-wrms-v1") + solver.init_step(0., [1., 2.], [1., 2.]) + before = solver.statistics() + installed = before["nonlinear_guard"] + assert installed["installed_at_capture"] and installed["delegate_data_verified"] + assert installed["applied_policy"] == "first-correction-wrms-v1" + assert installed["callback_count"] == installed["record_count"] == 0 + copies, overrides = [], 0 + for _ in range(12): + result = solver.step(.125, method="onestep", tstop=.125) + assert result.success + after = solver.statistics() + trace = after["nonlinear_guard"] + assert trace == solver.nonlinear_trace() + assert trace["owner"] == after["observation_owner"] + assert trace["generation"] == after["observation_generation"] + assert trace["complete"] and not trace["overflow"] + assert trace["callback_count"] == trace["record_count"] > 0 + assert trace["callback_count"] == after["nonlinear_iters"] - before["nonlinear_iters"] + for i, row in enumerate(trace["records"], 1): + assert row["sequence"] == i and row["iteration_getter_status"] == 0 + assert row["tolerance"] == after["nonlinear_control_state"]["epsNewt"] == 1e-8 + assert not row["nonfinite_fields"] + if row["guard_override"]: + assert row["iteration"] == 0 and row["default_status"] == 0 + assert row["correction_wrms"] > row["tolerance"] + assert row["returned_status"] == 901 + overrides += 1 + else: + assert row["returned_status"] == row["default_status"] + copies.append(json.dumps(trace, sort_keys=True)) + trace["records"][0]["ss_after"] = -1 + assert solver.nonlinear_trace()["records"][0]["ss_after"] >= 0 + before = after + if result.t >= .125: + break + assert copies + assert overrides > 0, "this discriminating polynomial fixture must exercise the guard" + print("GUARDED_NATIVE_CALLBACKS", json.dumps({"calls": len(copies), "overrides": overrides, + "last": solver.nonlinear_trace()})) + + def test_overflow_is_visible_and_prevents_acceptance(self, native): + _, make = native + solver = make(sparse=True, nonlin_conv_coef=1e-8, + nonlin_guard="first-correction-wrms-v1", nonlin_trace_capacity=1) + solver.init_step(0., [1., 2.], [1., 2.]) + result = solver.step(.125, method="onestep", tstop=.125) + assert not result.success + trace = solver.nonlinear_trace() + assert trace == solver.statistics()["nonlinear_guard"] + assert trace["overflow"] and not trace["complete"] and trace["record_count"] == 1 + assert trace["first_unrecorded"]["sequence"] == 2 + assert trace["first_unrecorded"]["returned_status"] == -7011 + assert trace["native_status"] == result.status < 0 + print("GUARD_OVERFLOW_RETAINED", json.dumps(trace)) + + def test_reinit_dimension_change_partial_setup_and_default_off(self, native): + import gc + import weakref + import numpy as np + from sksundae.ida import IDA + def residual(t, y, yp, out): + out[:] = yp + y + def jacobian(t, y, yp, out, cj, matrix): + matrix[:] = np.eye(y.size) * (cj + 1.) + solver = IDA(residual, jacfn=jacobian, nonlin_guard="first-correction-wrms-v1", + nonlin_conv_coef=1e-8, first_step=1e-5, max_step=1e-3) + retained = [] + for generation, y in enumerate(([1., 2.], [1., 2.], [1., 2., 3.]), 1): + yp = [-v for v in y] + assert solver.init_step(0., y, yp).success + initial = solver.nonlinear_trace() + assert initial["generation"] == generation and initial["operation"] == 0 + assert initial["record_count"] == 0 + assert solver.step(.01, method="onestep", tstop=.01).success + trace = solver.nonlinear_trace() + assert trace["generation"] == generation and trace["operation"] == 1 + assert trace["complete"] and trace["installed_at_capture"] + retained.append(trace) + assert [x["generation"] for x in retained] == [1, 2, 3] + with pytest.raises(ValueError, match="requires init_step/step"): + solver.step(.01, method="normal") + with pytest.raises(ValueError, match="requires init_step/step"): + solver.solve([0., .01], [1., 2.], [-1., -2.]) + ref = weakref.ref(solver) + del solver + gc.collect() + assert ref() is None and retained[0]["records"] + partial = IDA(residual, jacfn=jacobian, atol=[1e-9]*3, + nonlin_guard="first-correction-wrms-v1", first_step=1e-5) + with pytest.raises(ValueError): + partial.init_step(0., [1., 2.], [-1., -2.]) + assert partial.init_step(0., [1., 2., 3.], [-1., -2., -3.]).success + assert partial.nonlinear_trace()["generation"] == 2 + ref = weakref.ref(partial) + del partial + gc.collect() + assert ref() is None + _, make = native + results = [] + for options in ({}, {"nonlin_guard": None}): + off = make(**options) + off.init_step(0., [1., 2.], [1., 2.]) + result = off.step(.125, method="onestep", tstop=.125) + assert off.nonlinear_trace()["status"] == "disabled" + assert not off.statistics()["nonlinear_guard"]["installed_at_capture"] + results.append((result.t, result.y.tobytes(), result.yp.tobytes(), result.status)) + assert results[0] == results[1] + print("GUARD_REINIT_DIMENSION_PARTIAL_AND_DEFAULT_OFF_CLOSED") + + +def test_segment_frame_native_application_and_lifetime(native): + """One future, separately admitted manufactured fixture; never a full B.""" + import gc + import weakref + from copy import deepcopy + from sksundae.ida import IDA + from scripts.benchmarks.native_observation import observation_record + + np, _ = native + spec = json.loads(Path(os.environ["SEGMENT_FRAME_FIXTURE_SPEC"]).read_text()) + assert spec["case"] == "segment-frame-affine-curvature-and-lifetime-v1" and spec["dimension"] == 45 + target = Path(os.environ["SEGMENT_FRAME_FIXTURE_RESULT"]) + assert not target.exists() + progress = target.with_suffix(".progress.jsonl") + assert not progress.exists() + zero = np.zeros(45); q0 = np.full(45, 2.0**20); v0 = np.full(45, 2.0**10) + alpha = np.full(45, 2.0**-40); alpha[0] = 1.0 + settings = dict(rtol=2.0**-50, atol=[2.0**-50]*45, first_step=2.0**-4, max_step=2.0**-4, + max_order=3, nonlin_conv_coef=1.024e-5, nonlin_guard="first-correction-wrms-v1", + nonlin_trace_capacity=4096, max_nonlin_iters=8) + assert settings == spec["controls"] + hx = lambda row: [float(v).hex() for v in row] + frame = {"schema": "sksundae.ida.parent-affine-weights.v1", "frame_identity": hashlib.sha256(b"fixture-frame-1").hexdigest(), + "t0_hex": 0.0.hex(), "size": 45, "q0_words_hex": [hx(q0), hx(zero), hx(zero), hx(zero)], + "v0_words_hex": [hx(v0), hx(zero), hx(zero), hx(zero)], + "weight_rounding": "RN-exact-parent-q_then-unfused-SV-v1"} + origin = [0.0] + def residual(t, u, up, out): + out[:] = up-2*alpha[:len(u)]*(t-origin[0]) + def jacobian(t, u, up, residual, cj, matrix): + matrix[:] = np.eye(len(u))*cj + def affine_residual(t, q, qp, out): + out[:] = qp-v0 + records, owners, refs = [], [], [] + outcome = {"case": spec["case"], "status": "failed", "native_initializations": 0, "onestep_calls": 0, + "records": records, "scientific_qualification": False} + def retain(name, solver): + row = {"phase": name, "statistics": solver.statistics(), "trace": solver.nonlinear_trace()} + records.append(row) + with progress.open("a") as output: + output.write(json.dumps(observation_record(row))+"\n") + output.flush(); os.fsync(output.fileno()) + try: + plain = IDA(affine_residual, jacfn=jacobian, **settings) + owners.append(plain); refs.append(weakref.ref(plain)) + outcome["native_initializations"] += 1; assert plain.init_step(0.0, q0, v0).success + outcome["onestep_calls"] += 1; assert plain.step(1.0, method="onestep", tstop=1.0).success + plain_packet = plain.last_step_snapshot(); retain("default_off", plain) + assert "parent_weight_state" not in plain.statistics() + solver = IDA(residual, jacfn=jacobian, parent_weight_frame=frame, **settings) + owners.append(solver); refs.append(weakref.ref(solver)) + outcome["native_initializations"] += 1; assert solver.init_step(0.0, zero, zero).success + initial = solver.statistics(); retain("frame_initialized", solver) + assert initial["parent_weight_state"]["callback_calls"] == 0 + previous_phi = zero.tobytes() + for index in range(2): + outcome["onestep_calls"] += 1 + returned = solver.step(1.0, method="onestep", tstop=1.0) + retain("frame_onestep_"+str(index+1), solver) + assert returned.success + packet = solver.last_step_snapshot(); records.append({"phase": "accepted_packet", "packet": packet}) + state = packet["parent_weight_state"] + assert state["basis_u"] == previous_phi + t = Fraction(float.fromhex(state["basis_time_hex"])) + u = np.frombuffer(state["basis_u"], dtype=" 0 + assert solver.statistics()["initial_step"] == settings["first_step"] + assert np.any(np.asarray(returned.y)[1:] != 0) + assert np.all(np.abs(np.asarray(returned.y)[1:]) < np.spacing(q0[1:])) + previous_phi = packet["basis"]["phi"][:45*8] + newer = deepcopy(frame); newer.update(t0_hex=0.25.hex(), frame_identity=hashlib.sha256(b"fixture-frame-2").hexdigest()) + origin[0] = 0.25 + outcome["native_initializations"] += 1 + assert solver.init_step(0.25, zero, zero, parent_weight_frame=newer).success + retain("same_size_reinit", solver) + changed = solver.statistics()["parent_weight_state"] + assert changed["frame_identity"] == newer["frame_identity"] and changed["generation"] == 2 + assert changed["callback_calls"] == 0 and changed["t0_hex"] == 0.25.hex() + resized = deepcopy(newer); resized["size"] = 44 + resized["q0_words_hex"] = [row[:44] for row in resized["q0_words_hex"]] + resized["v0_words_hex"] = [row[:44] for row in resized["v0_words_hex"]] + outcome["native_initializations"] += 1 + with pytest.raises(ValueError): + solver.init_step(0.25, zero[:44], zero[:44], parent_weight_frame=resized) + with pytest.raises(RuntimeError, match="initialized"): + solver.statistics() + records.append({"phase": "size_change_partial_setup_closed", "statistics_unavailable": True}) + outcome["status"] = "passed_manufactured_fixture_only" + except BaseException as error: + outcome["first_failure"] = {"type": type(error).__name__, "message": str(error)} + if "solver" in locals() and solver is not None: + try: + retain("failed_operation", solver) + except BaseException as unavailable: + records.append({"phase": "failed_operation", "statistics_unavailable": str(unavailable)}) + raise + finally: + owners.clear(); plain = solver = None + gc.collect() + outcome["python_owners_released"] = all(ref() is None for ref in refs) + target.write_text(json.dumps(observation_record(outcome), indent=2)+"\n") + + +def test_time_weight_refinement_application_45(native): + """One separately admitted synthetic45-vector case, with durable failure data.""" + import gc + import traceback + import weakref + from sksundae.ida import IDA + + np, _ = native + target = Path(os.environ["TIME_WEIGHT_APPLICATION_RESULT"]) + progress_path = target.with_name("ApplicationProgress.jsonl") + path = Path(os.environ["TIME_WEIGHT_APPLICATION_REQUEST"]) + records = [] + counts = {"owners_created": 0, "initialization_calls": 0, "onestep_calls": 0} + solver = None + + def encode(value): + if isinstance(value, bytes): + return {"bytes_hex": value.hex()} + if isinstance(value, np.ndarray): + return {"array": {"dtype": value.dtype.str, "shape": list(value.shape), + "data": {"bytes_hex": value.tobytes().hex()}}} + if isinstance(value, np.generic): + return encode(value.item()) + if type(value) is float: + return {"binary64": value.hex()} + if isinstance(value, dict) or hasattr(value, "items"): + return {key: encode(child) for key, child in value.items()} + if isinstance(value, tuple): + return {"tuple": [encode(child) for child in value]} + if isinstance(value, list): + return [encode(child) for child in value] + return value + + def returned(result): + return {key: encode(getattr(result, key)) for key in + ("success", "status", "message", "t", "y", "yp", "nfev", "njev")} + + with progress_path.open("x") as progress: + def note(event, **data): + progress.write(json.dumps({"event": event, "counts": dict(counts), **encode(data)}, + allow_nan=False) + "\n") + progress.flush() + os.fsync(progress.fileno()) + + def finish(passed, **extra): + output = {"schema": "solarlab.time-weights-application.v1", "passed": passed, + "status": "passed" if passed else "failed", "synthetic_45_component_case": True, + "physical_protocols": 0, "counts": dict(counts), "records": records, + "progress_file": str(progress_path), **extra} + with target.open("x") as stream: + json.dump(output, stream, indent=2, allow_nan=False) + stream.write("\n") + stream.flush() + os.fsync(stream.fileno()) + return output + + note("entered", request_path=str(path)) + try: + data = path.read_bytes() + request = json.loads(data) + controls, policy = request["controls"], request["time_weight_policy"] + note("input", request_file_sha256=hashlib.sha256(data).hexdigest(), controls=controls, + policy=policy, source_sha256=hashlib.sha256(Path(__file__).read_bytes()).hexdigest()) + assert hashlib.sha256(data).hexdigest() == os.environ["TIME_WEIGHT_APPLICATION_REQUEST_SHA256"] + assert policy["kappa"] == 1024 and len(controls["atol"]) == 45 + assert controls["nonlin_conv_coef"] == 1.024e-5 + assert controls["first_step"] == 7.8125e-7 + assert controls["nonlin_guard"] == "first-correction-wrms-v1" + assert controls["nthreads"] == 1 + rates = (np.arange(45, dtype=float)+1)/64 + + def residual(t, y, yp, out): + out[:] = yp-rates + + def jacobian(t, y, yp, out, cj, jac): + jac[:] = cj # The explicitly diagonal CSC structure has 45 entries. + + for initialization in range(3): + initial = (np.arange(45, dtype=float)-22)/16+initialization/8 + item = {"logical_initialization": initialization+1, + "initial_y_hex": [float(v).hex() for v in initial], "steps": []} + records.append(item) + note("before_constructor", initialization=initialization+1, + initial_y_hex=item["initial_y_hex"], initial_yp_hex=[float(v).hex() for v in rates]) + solver = IDA(residual, jacfn=jacobian, sparsity=np.eye(45), **controls) + counts["owners_created"] += 1 + counts["initialization_calls"] += 1 + note("before_initialization", initialization=initialization+1) + initialized = solver.init_step(0., initial, rates) + item["initialization_return"] = returned(initialized) + note("initialization_return", initialization=initialization+1, result=item["initialization_return"]) + before = solver.statistics() + item["initialized"] = encode(before) + note("initialization_statistics", initialization=initialization+1, statistics=before) + assert initialized.success and np.array_equal(initialized.y, initial) + assert np.array_equal(initialized.yp, rates) + state = before["nonlinear_control_state"] + assert state["epcon"] == controls["nonlin_conv_coef"] + assert state["valid_fields"] == ("epcon",) + assert all(state[name] is None for name in ("epsNewt", "ss", "oldnrm", "toldel")) + assert before["nonlinear_guard"]["installed_at_capture"] + # IDAInit copies yy0 to phi[0]; subsequent weights use the + # previous packet's native phi[0], not the new endpoint. + weighting_state = initial.copy() + for step_index in range(2): + entry = {"step_index": step_index+1, + "weighting_phi0_hex": [float(v).hex() for v in weighting_state]} + item["steps"].append(entry) + counts["onestep_calls"] += 1 + note("before_onestep", initialization=initialization+1, **entry) + result = solver.step(32*controls["first_step"], method="onestep", + tstop=32*controls["first_step"]) + entry["return"] = returned(result) + note("onestep_return", initialization=initialization+1, + step_index=step_index+1, result=entry["return"]) + after = solver.statistics() + entry["statistics"] = encode(after) + note("onestep_statistics", initialization=initialization+1, + step_index=step_index+1, statistics=after) + assert result.success, result.message + packet = solver.last_step_snapshot() + entry["packet"] = encode(packet) + note("onestep_snapshot", initialization=initialization+1, + step_index=step_index+1, packet=packet) + state, trace = after["nonlinear_control_state"], after["nonlinear_guard"] + assert state["epcon"] == state["epsNewt"] == controls["nonlin_conv_coef"] + assert state["toldel"] == 1e-4*controls["nonlin_conv_coef"] == 1.024e-9 + assert after["initial_step"] == controls["first_step"] + assert state["build_identity"] == packet["binding"]["identity"] + assert state["source_header_sha256"] == packet["basis"]["source_header_sha256"] + assert after["observation_owner"] == packet["owner"] == trace["owner"] + assert after["observation_generation"] == packet["generation"] == trace["generation"] + assert trace["complete"] and not trace["overflow"] + assert trace["callback_count"] == trace["record_count"] > 0 + assert trace["callback_count"] == after["nonlinear_iters"]-before["nonlinear_iters"] + for i, row in enumerate(trace["records"], 1): + assert row["sequence"] == i + assert row["tolerance"] == state["epsNewt"] + assert row["toldel"] == state["toldel"] + assert not row["nonfinite_fields"] + actual = np.frombuffer(packet["error_weights"], dtype=packet["dtype"]) + assert actual.shape == (45,) + weights = [] + for i, (z, atol, observed) in enumerate(zip(weighting_state, controls["atol"], actual, strict=True)): + rtol = controls["rtol"] + exact = Fraction(rtol)*abs(Fraction(float(z)))+Fraction(atol) + # IDAEwtSetSV: abs, linear sum, inverse. Only explicit + # fused/separate binary64 rounding alternatives pass. + separate, fused = rtol*abs(float(z))+atol, float(exact) + permitted = {float(1./separate).hex(), float(1./fused).hex()} + weights.append({"index": i, "phi0_before_hex": float(z).hex(), + "rtol_hex": rtol.hex(), "atol_hex": atol.hex(), + "observed_weight_hex": float(observed).hex(), + "permitted_weight_hex": sorted(permitted)}) + entry["weights"] = weights + note("weight_comparisons", initialization=initialization+1, + step_index=step_index+1, weights=weights) + for row in weights: + assert row["observed_weight_hex"] in row["permitted_weight_hex"], row + basis = packet["basis"] + weighting_state = np.frombuffer(basis["phi"], dtype=basis["dtype"]).reshape(basis["phi_shape"])[0].copy() + before = after + owner = weakref.ref(solver) + del solver + solver = None + gc.collect() + item["python_owner_released"] = owner() is None + note("owner_released", initialization=initialization+1, released=item["python_owner_released"]) + assert item["python_owner_released"] + output = finish(True, request_file_sha256=hashlib.sha256(data).hexdigest(), + fresh_initializations=3, native_onestep_calls=6, all45_weights_each_step_checked=True, + raw_tolerance_getter_used=False, fused_and_unfused_rounding_explicit=True) + note("passed", result_file=str(target)) + print("TIME_WEIGHT_APPLICATION", json.dumps({k: v for k, v in output.items() if k != "records"})) + except BaseException as error: + failure = {"type": type(error).__name__, "reason": str(error), "traceback": traceback.format_exc()} + note("first_error", failure=failure) + if not target.exists(): + finish(False, first_error=failure, missing_native_fields_remain_absent=True) + raise + finally: + solver = None + gc.collect() diff --git a/tests/numerical_contracts/test_integer_product.py b/tests/numerical_contracts/test_integer_product.py new file mode 100644 index 00000000..7e2c1698 --- /dev/null +++ b/tests/numerical_contracts/test_integer_product.py @@ -0,0 +1,290 @@ +"""Finite-word exactness and optional compiled-checker provenance, without devices.""" +from __future__ import annotations + +import ast +from decimal import Decimal, localcontext +from fractions import Fraction +import hashlib +import importlib.util +import json +import math +import os +from pathlib import Path +import random +import struct +import subprocess +import sys + +import numpy as np +import pytest + +from scripts.benchmarks import contract_prototype as C + +REFERENCE_SHA256 = "36a371199e94098803fc80200b98b1b743fbf4e92eddd5fc6f8680e9090a614e" + + +def record(request, data): + if name := os.environ.get("INTEGER_PRODUCT_CASE_LOG"): + with Path(name).open("a") as stream: + stream.write(json.dumps({"test": request.node.nodeid, **data}, sort_keys=True) + "\n") + + +def load_reference(): + name = os.environ.get("INTEGER_PRODUCT_SCALAR_REFERENCE") + if not name: + pytest.skip("the differential gate supplies the immutable scalar reference") + path = Path(name) + assert hashlib.sha256(path.read_bytes()).hexdigest() == REFERENCE_SHA256 + module_name = "_integer_product_original_scalar" + if module_name not in sys.modules: + spec = importlib.util.spec_from_file_location(module_name, path) + module = importlib.util.module_from_spec(spec) + sys.modules[module_name] = module + spec.loader.exec_module(module) + return sys.modules[module_name] + + +@pytest.fixture(scope="module") +def native(): + if C._integer_product_checker is None: + pytest.skip("optional checker has not been explicitly built and selected") + return C._integer_product_checker + + +def finite_word(rng): + bits = rng.getrandbits(64) + if (bits >> 52) & 0x7ff == 0x7ff: + bits ^= 1 << 52 + return struct.unpack(">d", bits.to_bytes(8, "big"))[0] + + +def pairs(): + tiny = float.fromhex("0x0.0000000000001p-1022") + normal = float.fromhex("0x1p-1022") + maximum = float.fromhex("0x1.fffffffffffffp1023") + values = [0.0, -0.0, tiny, -tiny, normal, -normal, 0.5, -0.5, + 1.0, -1.0, float.fromhex("0x1.0000000000001p0"), + maximum, -maximum] + rng = random.Random(0x1A2B3C4D) + return [(a, b) for a in values for b in values] + [ + (finite_word(rng), finite_word(rng)) for _ in range(192)] + + +def product_outcome(module, a, b): + try: + result = module._finite_two_product(a, b) + except module.ContractError as error: + return ("rejected", error.reason) + return ("returned", struct.pack(">dd", *result).hex()) + + +def oracle(a, b, high, low): + return Fraction(a) * Fraction(b) == Fraction(high) + Fraction(low) + + +def test_adversarial_random_and_independent_oracles(native, request): + tiny = float.fromhex("0x0.0000000000001p-1022") + maximum = float.fromhex("0x1.fffffffffffffp1023") + cases = [ + (0.0, -0.0, 0.0, -0.0), (0.0, 1.0, maximum, -maximum), + (tiny, tiny, 0.0, 0.0), (tiny, 2.0, tiny, tiny), + (maximum, 2.0, maximum, maximum), (-maximum, 2.0, -maximum, -maximum), + (1.0, 1.0, 1.0, 1.0), # Three equal exponents, odd total. + (1.0, 1.0, 1.0, tiny), # Unique minimum exponent. + (1.0, 1.0, 1.0, maximum), # Two minima cancel; third does not. + (1.0, 1.0, 2.0, -1.0), (3.0, 1.0, 1.0, 2.0), + (-3.0, 1.0, -1.0, -2.0), (1.5, 1.0, 1.0, 0.5), + (0.5, 0.5, 0.25, 2.0**-54), + ] + rng = random.Random(0x504F3249) + cases += [tuple(finite_word(rng) for _ in range(4)) for _ in range(512)] + reference = load_reference() + for a, b in pairs(): + try: + high, low = reference._finite_two_product(a, b) + except reference.ContractError: + continue + cases.append((a, b, high, low)) + cases.append((a, b, high, math.nextafter(low, math.inf))) + accepted = rejected = 0 + with localcontext() as context: + context.prec = 2500 + for values in cases: + expected = oracle(*values) + a, b, high, low = map(Decimal.from_float, values) + assert (a * b == high + low) == expected + assert native(*values) is expected + assert C._dyadic_product_matches(*values) is expected + accepted += expected + rejected += not expected + assert accepted and rejected + record(request, {"quadruples": len(cases), "exact": accepted, "inexact": rejected, + "oracles": ["independent Fraction", "independent Decimal(2500)", + "unchanged Python dyadic predicate"]}) + + +def test_original_words_signed_zeros_and_first_errors(native, request): + reference = load_reference() + inputs = pairs() + [(0.0, math.inf), (math.nan, 1.0), (1.0, -math.inf)] + observed = set() + for a, b in inputs: + candidate = product_outcome(C, a, b) + assert candidate == product_outcome(reference, a, b) + observed.add(candidate[1] if candidate[0] == "rejected" else "returned") + assert observed == {"returned", "linear_product_nonfinite", "linear_product_overflow", + "linear_product_underflow_or_inexact"} + record(request, {"pairs": len(inputs), "outcomes": sorted(observed), + "all_returned_bits_and_first_errors_equal": True}) + + +def test_actual_dispatch_and_unsupported_type_fallback(native, monkeypatch, request): + original = C._dyadic_product_matches + def forbidden(*values): + raise AssertionError("finite builtin case fell back from the selected C checker") + monkeypatch.setattr(C, "_dyadic_product_matches", forbidden) + assert C._finite_two_product(0.5, 0.5) == (0.25, 0.0) + assert C._exact_product_matches(1.0, 1.0, 1.0, 2.0**-54) is False + monkeypatch.setattr(C, "_dyadic_product_matches", original) + class FloatSubclass(float): + pass + unsupported = [1, FloatSubclass(1.0), np.float64(1.0)] + for value in unsupported: + assert native(value, 1.0, 1.0, 0.0) is NotImplemented + assert C._exact_product_matches(value, 1.0, 1.0, 0.0) is True + assert native(math.inf, 1.0, 1.0, 0.0) is NotImplemented + record(request, {"actual_C_dispatch_proven": True, "unsupported_types": len(unsupported), + "nonfinite_direct_call": "NotImplemented"}) + + +def test_unchanged_arithmetic_and_real_dependency_identity(native, request): + reference = load_reference() + old = ast.parse(Path(reference.__file__).read_text()) + new = ast.parse(Path(C.__file__).read_text()) + old_functions = {n.name: n for n in old.body if isinstance(n, ast.FunctionDef)} + new_functions = {n.name: n for n in new.body if isinstance(n, ast.FunctionDef)} + protected = ["_dyadic_product_matches", "_word_integer", "_linear_sum", + "_linear_quotient", "_upper_ratio", "_linear_reduce"] + for name in protected: + assert ast.dump(new_functions[name]) == ast.dump(old_functions[name]), name + candidate = new_functions["_finite_two_product"] + substitutions = 0 + for node in ast.walk(candidate): + if isinstance(node, ast.Name) and node.id == "_exact_product_matches": + node.id = "_dyadic_product_matches" + substitutions += 1 + assert substitutions == 1 + assert ast.dump(candidate) == ast.dump(old_functions["_finite_two_product"]) + identity = C._linear_arithmetic_identity() + backend = identity["product_backend"] + assert backend["backend"] == "integer128" and backend["abi"]["supported"] + assert backend["abi"]["integer_bits"] == 128 and backend["abi"]["layout_witnesses"] == 7 + assert identity["contract_sha256"] == hashlib.sha256(Path(C.__file__).read_bytes()).hexdigest() + assert backend["binary_sha256"] == hashlib.sha256(Path(backend["binary_path"]).read_bytes()).hexdigest() + source = Path(C.__file__).with_name("_integer_product_native.c") + assert backend["c_source_sha256"] == hashlib.sha256(source.read_bytes()).hexdigest() + coupled_path = Path(C.__file__).with_name("coupled_device_prototype.py") + coupled = ast.parse(coupled_path.read_text()) + assignments = [n for n in ast.walk(coupled) if isinstance(n, ast.Assign) + and any(isinstance(t, ast.Attribute) and t.attr == "source_identity" + for t in n.targets)] + assert any(isinstance(n, ast.Call) and isinstance(n.func, ast.Name) + and n.func.id == "_linear_arithmetic_identity" + for assignment in assignments for n in ast.walk(assignment.value)) + record(request, {"protected_functions": protected, "only_product_call_target_changed": True, + "identity": identity, "coupled_identity_wiring": "actual source AST; no device constructed"}) + + +def test_frozen_small_forms_words_and_bounds(native, request): + reference = load_reference() + support_path = Path(os.environ["INTEGER_PRODUCT_CORPUS_SUPPORT"]) + spec = importlib.util.spec_from_file_location("_integer_product_corpus_support_test", support_path) + support = importlib.util.module_from_spec(spec) + spec.loader.exec_module(support) + corpus = json.loads(Path(os.environ["ORDERED_PRODUCT_CORPUS"]).read_text()) + assert support.build_corpus() == corpus + checked = 0 + for descriptor in corpus["correctness"]: + form, components = support.make_case(descriptor) + for words in (1, 2): + expected = reference._linear_reduce(form, components, words) + actual = C._linear_reduce(form, components, words) + assert support.bits(actual) == support.bits(expected), descriptor["id"] + checked += 1 + record(request, {"unchanged_corpus": True, "full_reducer_word_and_bound_comparisons": checked}) + + +CHILD_CHECK = r""" +from pathlib import Path +import ctypes, hashlib, json, os, platform, runpy, struct, sys +path = sys.argv[1] +loaded = runpy.run_path(path) +checker = loaded["CHECKER"] +assert checker is not None +abi = loaded["backend_identity"]()["abi"] +assert abi["supported"] and abi["integer_bits"] == 128 +assert sys.platform == "darwin" and platform.machine() == "arm64" +lib = ctypes.PyDLL("/usr/lib/libSystem.B.dylib") +for name in ("fegetround", "fesetround", "feclearexcept", "fetestexcept", "feraiseexcept"): + fn = getattr(lib, name) + fn.argtypes = [] if name == "fegetround" else [ctypes.c_int] + fn.restype = ctypes.c_int +environment = (ctypes.c_uint64 * 2)() # Exact local arm64 fenv_t layout. +for name in ("fegetenv", "fesetenv"): + fn = getattr(lib, name) + fn.argtypes = [ctypes.c_void_p] + fn.restype = ctypes.c_int +assert lib.fegetenv(ctypes.byref(environment)) == 0 +values = (0.5, 0.5, 0.25, 0.0) +signaling_nan = struct.unpack(">d", (0x7ff0000000000001).to_bytes(8, "big"))[0] +rows = [] +try: + for mode in (0x00000000, 0x00400000, 0x00800000, 0x00c00000): + assert lib.fesetround(mode) == 0 and lib.fegetround() == mode + for sentinel in (0, 0x0002): + assert lib.feclearexcept(0x009f) == 0 + if sentinel: + assert lib.feraiseexcept(sentinel) == 0 + before = lib.fetestexcept(0x009f) + assert checker(*values) is True + assert checker(signaling_nan, 1.0, 1.0, 0.0) is NotImplemented + after = lib.fetestexcept(0x009f) + assert before == after == sentinel + assert lib.fegetround() == mode + rows.append({"rounding_mode": mode, "flags_before": before, "flags_after": after}) +finally: + assert lib.fesetenv(ctypes.byref(environment)) == 0 +selected_identity = loaded["backend_identity"]() +os.environ["SOLARLAB_INTEGER_PRODUCT"] = "python" +assert runpy.run_path(path)["CHECKER"] is None +os.environ["SOLARLAB_INTEGER_PRODUCT"] = "auto" +os.environ["SOLARLAB_INTEGER_PRODUCT_MANIFEST"] = str(Path(path).parent / "_absent_integer_product_manifest.json") +fallback = runpy.run_path(path) +assert fallback["CHECKER"] is None and fallback["backend_identity"]()["backend"] == "python" +os.environ["SOLARLAB_INTEGER_PRODUCT"] = "required" +try: + runpy.run_path(path) +except RuntimeError as error: + assert str(error) == "required integer-product backend unavailable" +else: + raise AssertionError("explicitly required backend silently fell back") +print(json.dumps({"ABI": abi, "selected_identity": selected_identity, "flag_checks": rows, + "mode_and_flags_restored": True, "unknown_backend_fallback": True, + "required_backend_fails_closed": True})) +""" + + +def test_actual_ABI_flags_and_backend_unavailability_in_isolated_child(native, request): + loader = Path(C.__file__).with_name("_integer_product_backend.py") + result = subprocess.run([sys.executable, "-B", "-c", CHILD_CHECK, str(loader)], + text=True, capture_output=True, check=False, timeout=1.5) + assert result.returncode == 0, result.stderr + payload = json.loads(result.stdout) + assert len(payload["flag_checks"]) == 8 + record(request, {"isolated_child_returncode": result.returncode, "direct_child_reaped": True, + "child_inherits_outer_owned_group": True, **payload}) + + +def test_python_fallback_remains_independent(monkeypatch): + monkeypatch.setattr(C, "_integer_product_checker", None) + assert C._exact_product_matches(0.5, 0.5, 0.25, 0.0) is True + assert C._exact_product_matches(0.5, 0.5, 0.25, 2.0**-54) is False diff --git a/tests/numerical_contracts/test_interval_observation.py b/tests/numerical_contracts/test_interval_observation.py new file mode 100644 index 00000000..2e600ca0 --- /dev/null +++ b/tests/numerical_contracts/test_interval_observation.py @@ -0,0 +1,568 @@ +"""Nonnative observation checks; no toy path certifies a device trajectory.""" + +from dataclasses import replace +from decimal import Decimal, localcontext +from fractions import Fraction +from functools import lru_cache +from pathlib import Path +import json +import os + +import numpy as np +import pytest + + +def test_contained_observation_range_preserves_clock_and_polynomial_integral(): + """Manufactured rational arithmetic only; no physical model or native call.""" + from fractions import Fraction + from scripts.benchmarks.interval_observation import AcceptedClock, Polynomial, PolynomialPath, contained_subinterval + from scripts.benchmarks.contract_prototype import ContractError + + clock = AcceptedClock(0,1,Fraction(3,2),1,1,2,0,1,"manufactured-observation-clock") + path = PolynomialPath(clock,{"manufactured":(Polynomial((1,2,3)),)},(), + "manufactured-source","manufactured-layout","manufactured-coefficients", + "declared_reconstruction") + polynomial = Polynomial((1,2,3)) + original = clock.payload() + assert contained_subinterval(clock) == (Fraction(0),Fraction(1)) + whole = path.integrate(polynomial) + partial = path.integrate(polynomial,subinterval=(0,Fraction(1,4))) + remaining = path.integrate(polynomial,subinterval=(Fraction(1,4),1)) + assert partial+remaining == whole + assert partial == Fraction(3,2)*polynomial.integral(Fraction(-2,3),Fraction(-1,2)) + assert clock.payload() == original + for interval in ((-1,1),(0,2),(1,1),(Fraction(1,2),Fraction(1,4))): + try: + contained_subinterval(clock,interval) + except ContractError: + pass + else: + raise AssertionError("invalid observation interval accepted") + +from scripts.benchmarks.contract_prototype import ContractError +from scripts.benchmarks.coupled_device_prototype import AffineCoupledSlab, ProtocolSegment, SlabDefinition +from scripts.benchmarks.interval_observation import ( + AbsoluteIntegralBound, AcceptedClock, BallIntegrator, ChargePrefix, Enclosure, Polynomial, PolynomialPath, + SlabPathObserver, affine_interval_actions, endpoint_charge_mismatch, identity, + native_observation_readiness, newton_polynomials, public_action_enclosures, + rational, segment_input_roundoff, + certify_fixed4_partition, rational_sqrt_upper, +) +from perovskite_sim.constants import Q + + +def _ball_integrator(**controls): + pytest.importorskip("flint", reason="Arb observation checks require the solarlab[arb] extra") + return BallIntegrator(**controls) + + +REPO = Path(__file__).resolve().parents[2] +PLAN = Path(os.environ["REAL_DEVICE_PLAN"]) if os.environ.get("REAL_DEVICE_PLAN") else None +CASES = ("S0NeutralPublicDeviceV1", "DynamicAcceptorIonPublicDeviceV1") +# These are numerical oracle work goals, not replacements for a physical gate. +ORACLE_GOAL = Fraction(1, 2**160) + + +def _fixed4_polynomial_certificates(polynomial, lower): + error = Fraction(1, 2**140) + + def bound(a, b, allocation): + moment = (polynomial*polynomial).integral(a, b) + return AbsoluteIntegralBound(rational_sqrt_upper((b-a)*moment, allocation/2), + Enclosure(moment), allocation) + + cells = tuple({"left": lower*(1-Fraction(i, 4)), "right": lower*(1-Fraction(i+1, 4)), + "allocation_C": error/4, + "bound": bound(lower*(1-Fraction(i, 4)), lower*(1-Fraction(i+1, 4)), error/4)} + for i in range(4)) + return error, bound(lower, 0, error), cells + + +@pytest.mark.parametrize("polynomial", [Polynomial(), Polynomial((-3,)), Polynomial((Fraction(1, 2), 1)), + Polynomial((1, -2, 0, 3, 0, -1))]) +def test_fixed4_exact_coverage_signed_zero_and_extension(polynomial): + lower = -1-Fraction(123, 7564452398733701) + error, original, cells = _fixed4_polynomial_certificates(polynomial, lower) + result = certify_fixed4_partition(lower, 0, error, original, cells) + assert sum((c["right"]-c["left"] for c in cells), Fraction(0)) == -lower + assert sum((c["allocation_C"] for c in cells), Fraction(0)) == error + assert result["partition_upper_C"] == sum((c["bound"].upper for c in cells), Fraction(0)) + assert result["retained_upper_C"] == min(original.upper, result["partition_upper_C"]) + assert result["retained_upper_C"] >= abs(polynomial.integral(lower, 0)) + + +@pytest.mark.parametrize("fault", ["gap", "extension", "allocation", "missing", "under", "over", "radius"]) +def test_fixed4_rejects_invalid_certificates(fault): + lower = -1-Fraction(1, 2**50) + error, original, cells = _fixed4_polynomial_certificates(Polynomial((-1,)), lower) + cells = [dict(c) for c in cells] + if fault == "gap": cells[1]["left"] += Fraction(1, 100) + if fault == "extension": cells[0]["left"] = Fraction(-1) + if fault == "allocation": cells[0]["allocation_C"] = error + if fault == "missing": cells.pop() + if fault == "under": cells[0]["bound"] = replace(cells[0]["bound"], upper=0) + if fault == "over": cells[0]["bound"] = replace(cells[0]["bound"], upper=10) + if fault == "radius": cells[0]["bound"] = replace(cells[0]["bound"], squared_integral=Enclosure(1, 1)) + with pytest.raises(ContractError, match="observation_partition"): + certify_fixed4_partition(lower, 0, error, original, tuple(cells)) + + +def test_fixed4_producer_keeps_integrals_carrier_body_and_default(monkeypatch): + """Polynomial stand-in exercises real routing; no physical function calls.""" + from types import SimpleNamespace + + class Arithmetic: + def __init__(self): self.calls = []; self.absolute_calls = 0 + def number(self, value): return rational(value) + def polynomial(self, p, u): + result = Polynomial() + for coefficient in reversed(p.coefficients): result = result*u+coefficient + return result + def integrate(self, function, a, b, error): + p = function(Polynomial((0, 1)), False) + self.calls.append({"synthetic_signed": True}) + return Enclosure(p.integral(a, b)) + def absolute_bound(self, function, a, b, error): + self.absolute_calls += 1 + p = function(Polynomial((0, 1)), False) + moment = (p*p).integral(a, b) + self.calls.append({"synthetic_moment": True}) + return AbsoluteIntegralBound(rational_sqrt_upper((b-a)*moment, rational(error)/2), + Enclosure(moment), error) + + c = clock(predecessor=0, tn=1, hused=Fraction(7, 8)) + lower = c.coordinate(c.predecessor) + o = object.__new__(SlabPathObserver) + o.path = SimpleNamespace(clock=c, identity="1"*64, require_covered=lambda: None, + integrate=lambda p: c.hused*p.integral(lower, 0)) + o.model = SimpleNamespace(count=2) + o.area = Fraction(1) + o.capture_charge_rate = (Polynomial((2,)), Polynomial((-3,))) + o.endpoint_carrier_rate = (Polynomial((1, 1)), Polynomial((-1, 2))) + o.raw_metal = (Polynomial((1, 2)), Polynomial((-2, 1))) + o.tangent_metal_polynomial = (Polynomial((2,)), Polynomial((-1,))) + o.fluxes = lambda a, u, analytic: ((u+2,), ()) + o.tangent_metal_flux = lambda a, u, analytic: (u, u*u) + a, b, d = Arithmetic(), Arithmetic(), Arithmetic() + legacy = o.integrate(a, ORACLE_GOAL) + assert o.integrate(d, ORACLE_GOAL, partition_cells=None) == legacy + refined = o.integrate(b, ORACLE_GOAL, partition_cells=4) + assert a.absolute_calls == 2 and b.absolute_calls == 10 + assert {k: refined[k] for k in ("raw_polynomial", "same_state_affine_tangent", "raw_tangent_L1_upper_bounds")} == { + k: legacy[k] for k in ("raw_polynomial", "same_state_affine_tangent", "raw_tangent_L1_upper_bounds")} + certificate = refined["terminal_partition"] + assert certificate["normalized_interval"] == (lower, 0) and lower != -1 + assert refined["raw_tangent_charge_L1_upper_C"][0] == legacy["raw_tangent_charge_L1_upper_C"][0] + for i, row in enumerate(certificate["ports"]): + assert row["port"] == ("left_metal", "right_metal")[i] + assert row["original"] == legacy["raw_tangent_L1_upper_bounds"][i] + assert refined["raw_tangent_charge_L1_upper_C"][i+1] == ( + row["retained_upper_C"]+certificate["endpoint_carrier_L1_upper_C"][i]) + for unsupported in (False, 0, 2, 8, 4.0): + with pytest.raises(ContractError, match="unsupported_partition"): + o.integrate(Arithmetic(), ORACLE_GOAL, partition_cells=unsupported) + + +def report(request, **values): + def encode(value): + if isinstance(value, Fraction): + return [value.numerator, value.denominator] + if isinstance(value, Decimal): + return str(value) + if isinstance(value, (Enclosure, AbsoluteIntegralBound)): + return value.payload() + raise TypeError(type(value).__name__) + if path := os.environ.get("INTERVAL_CASE_LOG"): + with Path(path).open("a") as output: + output.write(json.dumps({"test": request.node.nodeid, **values}, default=encode, allow_nan=False)+"\n") + + +def clock(**changes): + result = dict(predecessor=0, tn=1, hused=1, generation=1, nsteps=1, kused=2, + segment_start=0, segment_end=1, segment_id="synthetic") + return AcceptedClock(**dict(result, **changes)) + + +@lru_cache(maxsize=4) +def model(case_id, area): + if PLAN is None: + pytest.skip("REAL_DEVICE_PLAN is unset: this device observation requires an explicitly bound plan") + return AffineCoupledSlab(SlabDefinition.from_plan(PLAN, REPO, case_id, area=area), 8) + + +def path_for(device, *, moving=True, weak=False, sign=1, selected_clock=None): + fields = {} + for variable in device.layout.variables: + value = device.field(device.reference, variable.id) + fields[variable.id] = [Polynomial((rational(a)+rational(b),)) + for a, b in zip(value.high, value.low, strict=True)] + N = device.count + for i in range(N): + x = Fraction(i, N-1) + # A constant spatial field makes SG a polynomial in the varying + # densities. Independent Simpson integration is then exact, while + # still exercising nonlinear Bernoulli and vacancy logarithms. + fields["phi_V"][i] = Polynomial((sign*x/Fraction(1000),)) + for name, direction in (("n_m3", 1), ("p_m3", -1)): + initial = fields[name][i].coefficients[0] + amplitude = Fraction(1, 2**120) if weak else initial*x/Fraction(1000) + fields[name][i] = Polynomial((initial+amplitude*direction, + amplitude*direction if moving else 0)) + if device.definition.dynamic: + fields["c_m3"][i] = fields["c_m3"][i]*(1+x/Fraction(1000)) + f = fields["f"][i].coefficients[0] + fields["f"][i] = Polynomial((f+x/Fraction(100000), x/Fraction(100000) if moving else 0)) + return PolynomialPath(selected_clock or clock(), fields, (Polynomial(), Polynomial()), + device.source_identity, device.layout.identity, + identity({"test": "polynomial_input", "case": device.definition.id, + "area": device.definition.area, "moving": moving, "weak": weak, "sign": sign}), + "synthetic_component") + + +def decimal(value): + value = rational(value) + return Decimal(value.numerator)/Decimal(value.denominator) + + +def decimal_currents(device, path, u): + """Independent full-SG FV reference and direct tridiagonal tangent solve.""" + with localcontext() as context: + context.prec = 120 + m, N = device.definition, device.count + vals = {k: [decimal(p.at(u)) for p in row] for k, row in path.fields.items()} + rates = {k: [decimal(p.derivative().at(u)/path.clock.hused) for p in row] for k, row in path.fields.items()} + q, area, eps, vt = map(decimal, (Q, m.area, m.epsilon, m.vt)) + dx, volume = list(map(decimal, device.dx)), list(map(decimal, device.geometry.volumes)) + n, p, phi = vals["n_m3"], vals["p_m3"], vals["phi_V"] + cn, cp, nt, n1, p1 = map(decimal, (m.capture_n, m.capture_p, m.trap_density, m.n1, m.p1)) + B = lambda z: Decimal(1) if z == 0 else z/(z.exp()-1) + jn, jp, fi = [], [], [] + for i in range(N-1): + xi = (phi[i+1]-phi[i])/vt + jn.append(q*decimal(m.mu_n)*vt/dx[i]*(B(xi)*n[i+1]-B(-xi)*n[i])) + jp.append(q*decimal(m.mu_p)*vt/dx[i]*(B(xi)*p[i]-B(-xi)*p[i+1])) + if m.dynamic: + c, capacity = vals["c_m3"], decimal(m.ion_capacity) + eta = xi+(capacity-c[i]).ln()-(capacity-c[i+1]).ln() + fi.append(decimal(m.diffusion_ion)/dx[i]*(B(eta)*c[i]-B(-eta)*c[i+1])) + else: + fi.append(Decimal(0)) + rn, rp = [], [] + for i in range(N): + if m.dynamic: + f = vals["f"][i] + rn.append(cn*(n[i]*(1-f)-n1*f)); rp.append(cp*(p[i]*f-p1*(1-f))) + else: + shared = cn*cp*(n[i]*p[i]-n1*p1)/(cn*(n[i]+n1)+cp*(p[i]+p1)) + rn.append(shared); rp.append(shared) + dot = {name: [Decimal(0)]*N for name in vals} + for i in range(1, N-1): + dot["n_m3"][i] = area*(-jn[i-1]+jn[i])/q/volume[i]-nt*rn[i] + dot["p_m3"][i] = area*(jp[i-1]-jp[i])/q/volume[i]-nt*rp[i] + if m.dynamic: + flux = [Decimal(0), *fi, Decimal(0)] + dot["c_m3"] = [area*(flux[i]-flux[i+1])/volume[i] for i in range(N)] + dot["f"] = [a-b for a, b in zip(rn, rp, strict=True)] + + def rho_rate(rate): + return [q*(rate["p_m3"][i]-rate["n_m3"][i] + +(rate["c_m3"][i]-nt*rate["f"][i] if m.dynamic else 0)) for i in range(N)] + + # Independent Thomas solve with the actual stored input slope, + # rather than the implementation's closed-form Poisson weights. + dot["phi_V"][-1] = -decimal(path.inputs[0].derivative().at(u)/path.clock.hused) + rho = rho_rate(dot) + lower = [Decimal(0)]+[-area*eps/dx[i-1] for i in range(2, N-1)] + diagonal = [area*eps*(1/dx[i-1]+1/dx[i]) for i in range(1, N-1)] + upper = [-area*eps/dx[i] for i in range(1, N-2)]+[Decimal(0)] + rhs = [volume[i]*rho[i] for i in range(1, N-1)] + rhs[-1] += area*eps/dx[-1]*dot["phi_V"][-1] + for i in range(1, len(rhs)): + multiple = lower[i]/diagonal[i-1] + diagonal[i] -= multiple*upper[i-1]; rhs[i] -= multiple*rhs[i-1] + solution = [Decimal(0)]*len(rhs) + for i in reversed(range(len(rhs))): + solution[i] = (rhs[i]-(upper[i]*solution[i+1] if i+1 < len(rhs) else 0))/diagonal[i] + dot["phi_V"][1:-1] = solution + + def readings(rate): + charge = rho_rate(rate) + d = [-eps*(rate["phi_V"][i+1]-rate["phi_V"][i])/dx[i] for i in range(N-1)] + metal = [area*d[0]-volume[0]*charge[0], -area*d[-1]-volume[-1]*charge[-1]] + conduction = [q*volume[i]*(rate["p_m3"][i]-rate["n_m3"][i]) + +sign*area*(jn[face]+jp[face])-q*volume[i]*nt*(rn[i]-rp[i]) + for i, face, sign in ((0, 0, 1), (N-1, N-2, -1))] + return [sum(conduction), *metal], [a+b for a, b in zip(conduction, metal, strict=True)] + return readings(rates), readings(dot) + + +@pytest.mark.parametrize("sign", [-1, 0, 1]) +def test_exact_polynomial_signed_weak_and_zero(sign, request): + weak = sign*Fraction(1, 2**180) + p = Polynomial((Fraction(7, 13), weak, -weak)) + expected = weak*Fraction(1, 6)+Fraction(7, 13) + assert p.integral(0, 1) == expected + assert p.derivative().integral(0, 1) == 0 + assert Polynomial((0, 1, -1)).range(0, 1) == (0, Fraction(1, 2)) + report(request, integral=expected, weak_increment=weak, exactly_zero=sign == 0) + + +def test_newton_basis_fraction_and_quotient(request): + result = newton_polynomials(((3,), (7,), (11,)), (2, 5), 2)[0] + assert result == Polynomial((3, Fraction(57, 5), Fraction(22, 5))) + assert result.derivative().derivative().at(0)/4 == Fraction(11, 5) + with pytest.raises(ContractError, match="basis_shape_or_order"): + newton_polynomials(((0,), (1,)), (0,), 1) + report(request, coefficients=result.payload(), native_provenance=False) + + +def test_actual_saved_predecessor_strip_rejected(request): + if not os.environ.get("IDA_SAVED_READBACK_AUDIT"): + pytest.skip("IDA_SAVED_READBACK_AUDIT is unset: requires the explicitly bound saved readback audit") + source = Path(os.environ["IDA_SAVED_READBACK_AUDIT"]) + evidence = json.loads(source.read_text())["native_interval_vs_previous_time_discrepancies"][0] + current = evidence["current_step"] + c = clock(predecessor=float.fromhex(evidence["previous_output_time_hex"]), tn=current["tn"], + hused=current["hused"], generation=current["generation"], nsteps=current["nsteps"], + kused=current["kused"]) + assert c.strip == Fraction(1, 2**55) + with pytest.raises(ContractError, match="uncovered_predecessor_strip"): + c.require_covered() + report(request, actual_clock=c.payload(), new_native_calls=0) + + +def test_event_generation_and_missing_interval_guards(): + c = clock() + c.require_successor(clock(predecessor=1, tn=2, generation=2, nsteps=1, + segment_start=1, segment_end=2, segment_id="next")) + with pytest.raises(ContractError, match="event_transition"): + c.require_successor(clock(predecessor=1, tn=2, generation=1, nsteps=1, + segment_start=1, segment_end=2, segment_id="next")) + with pytest.raises(ContractError, match="gap_or_overlap"): + c.require_successor(clock(predecessor=Fraction(3, 2), tn=2, segment_end=2)) + + +def test_absolute_prefix_no_cancellation_and_zero(): + prefix = ChargePrefix.start((1, 0)) + prefix, passed = prefix.append((Enclosure(Fraction(3, 5)), Enclosure(0)), + (Enclosure(0), Enclosure(0)), (0, 0)) + assert passed == (True, True) + prefix, passed = prefix.append((Enclosure(-Fraction(3, 5)), Enclosure(0)), + (Enclosure(0), Enclosure(0)), (0, 0)) + assert passed == (False, True) and prefix.absolute_defects[0] == Fraction(6, 5) + with pytest.raises(ContractError, match="missing_charge_error"): + prefix.append((Enclosure(0),)*2, (Enclosure(0),)*2, (None, 0)) + + +@pytest.mark.parametrize("case_id", CASES) +@pytest.mark.parametrize("area", [1.0, 0.37]) +def test_actual_affine_forms_and_half_cells(case_id, area, request): + device = model(case_id, area) + path = path_for(device, weak=True) + actual = affine_interval_actions(device, path) + q, m = rational(Q), device.definition + for name, row in actual.items(): + assert row["rate_integral"] == tuple(b-a for a, b in zip(row["left"], row["right"], strict=True)) + expected = Fraction(0) + for i, volume in enumerate(device.geometry.volumes): + derivative = path.fields["p_m3"][i].derivative()-path.fields["n_m3"][i].derivative() + if m.dynamic: + derivative += path.fields["c_m3"][i].derivative()-rational(m.trap_density)*path.fields["f"][i].derivative() + expected += q*rational(volume)*derivative.integral(-1, 0) + assert actual["body_charge"]["rate_integral"] == (expected,) + assert rational(device.geometry.volumes[0]) > 0 and rational(device.geometry.volumes[-1]) > 0 + assert path.identity != replace(path, coefficient_identity="other").identity + report(request, area_m2=area, body_delta=expected, half_volumes=list(map(rational, device.geometry.volumes[[0,-1]])), + form_identities={key: value["form_identity"] for key, value in actual.items()}) + + +def test_public_full_word_endpoints_are_retained(request): + device = model(CASES[0], 0.37) + from scripts.benchmarks.precision_prototype import DoubleArray + high, low = np.zeros(device.layout.size), np.zeros(device.layout.size) + i = device.layout.offsets["n_m3"].start+3 + high[i], low[i] = 1., 2.**-90 + right, increment = device.trial(DoubleArray(high, low), 1., (0., 0.)) + value = public_action_enclosures(device.linear_action("body_charge", right, increment=increment, left=device.reference))[0] + expected = -rational(Q)*rational(device.geometry.volumes[3])*(1+Fraction(1, 2**90)) + assert abs(value.center-expected) <= value.radius + fields = {} + for variable in device.layout.variables: + root = device.field(device.reference, variable.id) + fields[variable.id] = [Polynomial((rational(a)+rational(b),)) for a, b in zip(root.high, root.low, strict=True)] + fields["n_m3"][3] += Polynomial((1+Fraction(1, 2**90), 1+Fraction(1, 2**90))) + path = PolynomialPath(clock(), fields, (Polynomial(), Polynomial()), device.source_identity, + device.layout.identity, "full-word-endpoint-test", "synthetic_component") + mismatch = endpoint_charge_mismatch(device, path, device.reference, right) + assert all(v >= 0 for v in mismatch) + assert mismatch[0] <= Fraction(1, 10**48) + report(request, public_value=value, exact_delta=expected, endpoint_mismatch=mismatch) + + +@pytest.mark.parametrize("value", [Fraction(-1, 10), Fraction(0), Fraction(1, 10), Fraction(1, 2**90)]) +def test_bernoulli_decimal120_including_removable_zero(value, request): + a = _ball_integrator() + result = a.point(lambda x, _: a.bernoulli(x), value) + with localcontext() as ctx: + ctx.prec = 120 + x = decimal(value) + expected = Decimal(1) if value == 0 else x/(x.exp()-1) + if value == 0: + assert result == Enclosure(1) + else: + assert abs(result.center-Fraction(expected)) <= result.radius+Fraction(1, 10**85) + report(request, argument=value, ball=result, decimal120=expected, oracle_roundoff_allowance=Fraction(1, 10**85)) + + +def test_integral_known_exact_value_and_absolute_kink(request): + a = _ball_integrator() + polynomial = a.integrate(lambda z, _: 3*z*z+2*z+1, 0, 1, ORACLE_GOAL) + absolute = a.absolute_bound(lambda z, _: z, -1, 1, ORACLE_GOAL) + assert abs(polynomial.center-3) <= polynomial.radius + assert absolute.upper >= 1 + assert absolute.upper**2 >= Fraction(4, 3) + assert (absolute.upper-ORACLE_GOAL)**2 <= Fraction(4, 3) + report(request, exact_polynomial=polynomial, absolute_kink=absolute, calls=a.calls) + + +@pytest.mark.parametrize("sign", [-1, 0, 1]) +def test_absolute_bound_signed_weak_and_strict_zero(sign, request): + a = _ball_integrator() + value = sign*Fraction(1, 2**120) + bound = a.absolute_bound(lambda z, _: a.number(value), -1, 1, ORACLE_GOAL) + assert 2*abs(value) <= bound.upper <= 2*abs(value)+ORACLE_GOAL + if sign == 0: + assert bound.upper == 0 and bound.squared_integral == Enclosure(0) + else: + assert bound.upper > 0 + report(request, signed_value=value, L1_bound=bound, calls=a.calls) + + +def test_varying_bernoulli_integral_independent_decimal_series(request): + a = _ball_integrator() + actual = a.integrate(lambda z, _: a.bernoulli(z), 1, 2, ORACLE_GOAL) + with localcontext() as context: + context.prec = 140 + reference = Decimal(0) + for k in range(1, 401): + k = Decimal(k) + reference += (1/k+1/k**2)*(-k).exp()-(2/k+1/k**2)*(-2*k).exp() + tail = (Decimal(1)/401+Decimal(1)/401**2)*Decimal(-401).exp()/(1-Decimal(-1).exp()) + difference = abs(actual.center-Fraction(reference)) + assert difference <= actual.radius+Fraction(tail)+Fraction(1, 10**120) + report(request, result=actual, decimal140=reference, positive_series_tail=tail, + difference=difference, oracle_roundoff_allowance=Fraction(1, 10**120), calls=a.calls) + + +def test_varying_vacancy_log_integral(request): + a = _ball_integrator() + actual = a.integrate(lambda z, analytic: (1-z).log(analytic=analytic), 0, Fraction(1, 2), ORACLE_GOAL) + with localcontext() as context: + context.prec = 120 + half = Decimal('0.5') + reference = -half-half*half.ln() + assert abs(actual.center-Fraction(reference)) <= actual.radius+Fraction(1, 10**110) + report(request, result=actual, decimal120=reference, analytic_flag_propagated=True, calls=a.calls) + + +def test_negative_ball_analytic_and_budget_cases(request): + a = _ball_integrator(evaluations=1) + with pytest.raises(ContractError) as failure: + a.integrate(lambda z, _: z.exp(), 0, 1, ORACLE_GOAL) + # The mature library may stop at its own soft work limit before asking + # for a second callback. Both paths must refuse an unqualified result. + assert str(failure.value) in {"observation_integral_evaluation_cap", + "observation_integral_radius_exceeds_budget"} + if str(failure.value) == "observation_integral_radius_exceeds_budget": + assert a.calls[-1]["evaluations"] <= 1 + with pytest.raises(ContractError, match="nonfinite_or_nonreal"): + a.point(lambda z, analytic: z.log(analytic=analytic), -1) + ordinary = _ball_integrator() + with pytest.raises(ContractError, match="absolute_requires_real_enclosure"): + ordinary.absolute_bound(lambda z, _: ordinary.flint.acb(0, 1), 0, 1, ORACLE_GOAL) + report(request, bounded_rejection=str(failure.value), invalid_log_domain_rejected=True, + nonreal_squared_callback_rejected=True, + optional_dependency={"python_flint": ordinary.flint.__version__, + "FLINT": ordinary.flint.__FLINT_VERSION__, + "module": ordinary.flint.__file__}) + + +def test_complex_callback_with_real_squared_integral_rejected(request): + a = _ball_integrator() + # Integral (1+i*u)^2 is real4/3, but sqrt(8/3) does not bound + # integral |1+i*u|. Reject the range before using that false L1 proof. + with pytest.raises(ContractError, match="absolute_requires_real_enclosure"): + a.absolute_bound(lambda z, _: 1+a.flint.acb(0, 1)*z, -1, 1, ORACLE_GOAL) + with pytest.raises(ContractError, match="absolute_nonfinite_real_range"): + a.absolute_bound(lambda z, _: 1/z, -1, 1, ORACLE_GOAL) + report(request, complex_counterexample_rejected=True, nonfinite_full_range_rejected=True) + + +@pytest.mark.parametrize("case_id", CASES) +@pytest.mark.parametrize("area", [1.0, 0.37]) +def test_physical_integrals_independent_decimal_fv(case_id, area, request): + device = model(case_id, area) + path = path_for(device, sign=-1 if area == 0.37 else 1) + observer, arithmetic = SlabPathObserver(device, path), _ball_integrator() + result = observer.integrate(arithmetic, ORACLE_GOAL) + errors = [] + with localcontext() as context: + context.prec = 120 + samples = [decimal_currents(device, path, u) for u in (-1, Fraction(-1, 2), 0)] + for variant, key in enumerate(("raw_polynomial", "same_state_affine_tangent")): + for j, ball in enumerate(result[key]): + reference = (samples[0][variant][0][j]+4*samples[1][variant][0][j]+samples[2][variant][0][j])/6 + error = abs(ball.center-Fraction(reference)) + # Decimal120 is an independent numerical oracle. It is not + # the source of the Arb certificate or a DAE error theorem. + allowance = Fraction(1, 10**85) + errors.append({"row": key+str(j), "difference": error, "ball": ball, "oracle_allowance": allowance}) + assert error <= ball.radius+allowance + assert all(bound.upper >= 0 for bound in result["raw_tangent_L1_upper_bounds"]) + assert result["DAE_time_accuracy_certified"] is False + report(request, path_identity=path.identity, case=case_id, area=area, errors=errors, + absolute_gap_bounds=result["raw_tangent_L1_upper_bounds"], calls=arithmetic.calls, + native_steps=0, full_protocol_qualified=False) + + +def test_uncovered_strip_explicit_extension_debit(request): + device = model(CASES[0], 0.37) + c = clock(predecessor=Fraction(0), tn=Fraction(1), hused=1-Fraction(1, 2**55)) + path = path_for(device, moving=False, selected_clock=c) + with pytest.raises(ContractError, match="uncovered_predecessor_strip"): + SlabPathObserver(device, path) + extended = replace(path, origin="declared_reconstruction", clock_policy="declared_polynomial_extension") + debit = SlabPathObserver(device, extended).strip_current_debit(_ball_integrator()) + assert c.strip == Fraction(1, 2**55) + assert all(x >= 0 for rows in debit.values() for x in rows) + assert extended.identity != path.identity + assert any(x > 0 for x in debit["raw_polynomial"]) + report(request, strip_width=c.strip, separate_current_debit=debit, origin=extended.origin, + native_getter_success_proven=False) + + +def test_active_carrier_and_vacancy_domains_reject(): + device = model(CASES[1], 1.0) + path = path_for(device) + for name, value, message in (("n_m3", 0, "nonpositive_active_carrier"), + ("c_m3", device.definition.ion_capacity, "vacancy_log_domain"), + ("f", 2, "domain_upper")): + fields = dict(path.fields); fields[name] = (Polynomial((value,)), *fields[name][1:]) + with pytest.raises(ContractError, match=message): + SlabPathObserver(device, replace(path, fields=fields)) + + +def test_input_rounding_endpoint_snap_and_fail_closed(request): + segment = ProtocolSegment("synthetic", 0., 1., (0., 0.1), (0., 2e16)) + bounds = segment_input_roundoff(segment, clock()) + for t in (0., 0.1, 0.7, 1.): + inputs, _ = segment.inputs(t) + for j, record in enumerate(bounds): + error = abs(rational(inputs[j])-record["stored_slope"]*rational(t)) + assert error <= record["interior_arithmetic_bound"]+record["end_snap_mismatch"] + ready = native_observation_readiness(native_basis=None, input_map_error=None, endpoint_error=(), + clock_error=None, nonlinear_error=None, tangent_error=None, + independent_review=None) + assert not ready["native_admitted"] and "native_basis" in ready["missing"] + assert ready["full_protocols_pending"] == {"S0_s": 1.2e-6, "dynamic_ion_trap_s": 9.2} + report(request, input_error_bounds=bounds, readiness=ready) diff --git a/tests/numerical_contracts/test_linear_forms.py b/tests/numerical_contracts/test_linear_forms.py new file mode 100644 index 00000000..8b374ced --- /dev/null +++ b/tests/numerical_contracts/test_linear_forms.py @@ -0,0 +1,624 @@ +"""Exact finite-input references for the shared affine physical action. + +No device, integrator or native binding is constructed. Fraction/Decimal here +are independent references; the action uses guarded finite products and one +final row reduction. These tests do not certify source physics or integration. +""" + +from dataclasses import FrozenInstanceError, replace +from decimal import Decimal, localcontext +from fractions import Fraction +from hashlib import sha256 +import json +import math +import os +from pathlib import Path +import random +import struct + +import numpy as np +import pytest + +from scripts.benchmarks.contract_prototype import ( + COULOMB, LENGTH, ONE, PARTICLE, SECOND, VOLT, VOLUME, + BoundLinearSource, ContractError, EquationSpec, FloatArray, FloatArithmetic, + ImplicitSystem, Layout, LinearCoordinates, LinearFactor, LinearSourceSpec, + LinearTerm, PhysicalLinearForm, PhysicalStorage, Point, RateView, + SparseLinearization, SparseStructure, StateIncrement, StateView, Support, + ValidatedProblem, VariableSpec, +) +from scripts.benchmarks.precision_prototype import ( + DoubleArithmetic, DoubleArray, PrimitiveExpansion, RelativeCoordinates, + decode_point, encode_point, +) + + +SOURCE = sha256(b"independent-linear-action-controls-v1").hexdigest() +MAP = sha256(b"explicit-synthetic-affine-rate-input-v1").hexdigest() +RTOL = Fraction(1, 10**28) + + +def f(value): + return Fraction.from_float(float(value)) + + +def fractions(value): + if isinstance(value, DoubleArray): + return [f(a) + f(b) for a, b in zip(value.high.flat, value.low.flat, strict=True)] + return [f(v) for v in np.asarray(value).flat] + + +def assert_result(result, reference, *, exact=False): + actual = fractions(result.value) + bounds = list(map(f, result.absolute_error_bound.values)) + assert len(actual) == len(reference) == len(bounds) + for got, want, bound in zip(actual, reference, bounds, strict=True): + error = abs(got - want) + assert error <= bound + assert error == 0 if exact else error <= abs(want) * RTOL + assert (got == 0) == (want == 0) + assert (got > 0) == (want > 0) + return {"represented": list(map(str, actual)), "reference": list(map(str, reference)), + "absolute_error_bound": list(map(str, bounds)), "form": result.form_identity, + "operand": result.operand_identity, "arithmetic_policy": result.arithmetic_policy} + + +def record(request, data): + if target := os.environ.get("LINEAR_ACTION_CASE_LOG"): + with Path(target).open("a") as stream: + stream.write(json.dumps({"test": request.node.nodeid, "passed": True, + "native_steps": 0, **data}) + "\n") + + +@pytest.mark.parametrize("sign", (-1, 0, 1)) +def test_bound_four_word_source_keeps_cancelled_tail(sign, request): + """A source used by the map/Point proof retains its complete four words.""" + _, point = fixture() + source = PrimitiveExpansion(tuple(sign*np.array(word) for word in ( + [1., 1.], [2.0**-54, 2.0**-54], [2.0**-108, 2.0**-108], + [2.0**-162, 2.0**-161]))) + original = source.identity_bytes() + spec = LinearSourceSpec("mapped_input", "nodes", (2,), PARTICLE/VOLUME, SOURCE) + contract = form(point.state.layout, ( + LinearTerm(0, spec.id, 1), LinearTerm(0, spec.id, 0, sign=-1)), + PARTICLE/VOLUME, sources=(spec,)) + packet = BoundLinearSource.bind(point, ((spec, source),)) + result = point.state.linear_form(contract, point=point, sources=packet, + arithmetic=DoubleArithmetic()) + reference = [sum((f(word[1])-f(word[0]) for word in source.words), Fraction())] + assert reference == [sign*Fraction(1, 2**162)] + evidence = assert_result(result, reference, exact=True) + assert source.is_finite() and packet[0].value.is_finite() + assert type(packet[0].value) is PrimitiveExpansion + assert packet[0].value.identity_bytes() == original == source.identity_bytes() + with pytest.raises(ValueError): + packet[0].value.words[3][0] = 0. + with pytest.raises(TypeError, match="implicit primitive projection"): + np.asarray(packet[0].value) + with pytest.raises(ContractError, match="linear_source_binding"): + BoundLinearSource.bind(point, ((spec, source.reshape((1, 2))),)) + if sign: + with pytest.raises(ContractError, match="primitive_projection_would_discard_remainder"): + source.as_dd() + record(request, {"family": "bound_four_word_source", "sign": sign, + "source_identity": packet[0].identity, "result": evidence}) + + +def fixture(count=2): + layout = Layout((Support("nodes", "cell", (count,)),), ( + VariableSpec("n", "electron", "nodes", (count,), PARTICLE / VOLUME, lower=0), + VariableSpec("p", "hole", "nodes", (count,), PARTICLE / VOLUME, lower=0), + VariableSpec("phi", "electrostatic", "nodes", (count,), VOLT), + ), ()) + coordinates = RelativeCoordinates(layout, {spec.id: "linear" for spec in layout.variables}) + state = StateView(layout, [(spec.id, DoubleArray(np.zeros(count) if spec.id == "phi" else np.ones(count))) + for spec in layout.variables]) + return coordinates, coordinates.initial(state, inputs=[0.0]) + + +def factor(name, value, unit=ONE): + return LinearFactor(name, value, unit, SOURCE) + + +def form(layout, terms, unit, *, kind="state", sources=(), row_ids=("row",)): + return PhysicalLinearForm(layout, row_ids, (unit,) * len(row_ids), tuple(terms), + SOURCE, kind, len(terms), tuple(sources)) + + +@pytest.mark.parametrize("sign", [-1, 0, 1]) +def test_factored_products_survive_cancellation_before_final_row(sign, request): + _, point = fixture(1) + a, b, c, d = [float(1 + k * 2.0**-52) for k in (1, 2, 3, 4)] + factors = tuple(factor(str(i), value) for i, value in enumerate((a, b, c, d))) + rounded = a * b * c * d + exact_product = f(a) * f(b) * f(c) * f(d) + left, right = ((factors, factors) if sign == 0 else + (factors, (factor("rounded-comparison-input", rounded),)) if sign == 1 else + ((factor("rounded-comparison-input", rounded),), factors)) + action = form(point.state.layout, [LinearTerm(0, "p", 0, left), LinearTerm(0, "n", 0, right, -1)], + PARTICLE / VOLUME) + result = point.state.linear_form(action, arithmetic=DoubleArithmetic(), point=point) + expected = Fraction() if sign == 0 else sign * (exact_product - f(rounded)) + # The comparison input is explicitly a separate supplied binary64 value; + # it is never substituted for the four original coefficient factors. + assert expected == 0 if sign == 0 else expected * sign > 0 + record(request, assert_result(result, [expected], exact=sign == 0)) + + +@pytest.mark.parametrize("sign", [-1, 0, 1]) +def test_full_endpoint_words_cross_fields_before_body_increment_rounding(sign, request): + coordinates, root = fixture() + layout, count = root.state.layout, 2 + before = [np.zeros(layout.size) for _ in range(4)] + after = [np.zeros(layout.size) for _ in range(4)] + for name in ("n", "p"): + section = layout.offsets[name] + for target, value in zip(after, (1.0, 2.0**-54, 2.0**-108, 0.0), strict=True): + target[section] = value + before[0][layout.offsets["p"]] = sign * 2.0**-216 + after[3][layout.offsets["p"]] = sign * 2.0**-162 + left, _ = coordinates.trial(root, PrimitiveExpansion(before), 1.0, [0.0]) + right, increment = coordinates.trial(root, PrimitiveExpansion(after), 2.0, [0.0], predecessor=left) + original = encode_point(left), encode_point(right) + q, volume = 1.602176634e-19, 0.037 + factors = (factor("q", q, COULOMB / PARTICLE), factor("cell-volume-including-area", volume, VOLUME)) + terms = [LinearTerm(0, name, i, factors, s) for i in range(count) for name, s in (("p", 1), ("n", -1))] + action = form(layout, terms, COULOMB, kind="increment") + expected = count * f(q) * f(volume) * sign * (f(2.0**-162) - f(2.0**-216)) + arithmetic = DoubleArithmetic() + result = increment.linear_form(left, right, action, arithmetic=arithmetic) + check = assert_result(result, [expected]) + new_left, new_right = (decode_point(record, layout) for record in original) + decoded = StateIncrement.from_points(new_left, new_right) + restored = decoded.linear_form(new_left, new_right, action, arithmetic=arithmetic) + assert fractions(restored.value) == fractions(result.value) + assert (encode_point(left), encode_point(right)) == original + state_action = replace(action, kind="state") + state_result = right.state.linear_form(state_action, arithmetic=arithmetic, point=right) + assert_result(state_result, [count * f(q) * f(volume) * sign * f(2.0**-162)]) + with pytest.raises(ContractError, match="endpoint|predecessor"): + increment.linear_form(root, right, action, arithmetic=arithmetic) + damaged = StateIncrement(increment.left_identity, increment.right_identity, + {**increment.fields, "p": DoubleArray(np.zeros(count))}) + with pytest.raises(ContractError, match="authority_mismatch"): + damaged.linear_form(left, right, action, arithmetic=arithmetic) + record(request, {**check, "left": left.identity, "right": right.identity, + "left_codec": original[0]["payload"]["authority"]["schema"], + "right_codec": original[1]["payload"]["authority"]["schema"]}) + + +def test_fixed_background_participates_in_state_action_not_rate_or_increment(): + coordinates, root = fixture(1) + values = [np.zeros(3) for _ in range(4)] + values[2][root.state.layout.offsets["p"]] = 2.0**-108 + # A canonical four-word input places its sole nonzero word first. + values = [np.sum(values, axis=0), np.zeros(3), np.zeros(3), np.zeros(3)] + point, _ = coordinates.trial(root, PrimitiveExpansion(values), 1.0, [0.0]) + q = factor("q", 1.602176634e-19, COULOMB / PARTICLE) + density = factor("fixed-background", 1.0, PARTICLE / VOLUME) + action = form(root.state.layout, [LinearTerm(0, "p", 0, (q,)), + LinearTerm(0, None, 0, (q, density), -1)], COULOMB / VOLUME) + assert_result(point.state.linear_form(action, arithmetic=DoubleArithmetic(), point=point), + [f(q.value) * f(2.0**-108)]) + for kind in ("rate", "increment"): + with pytest.raises(ContractError, match="constant_requires_state|unit_mismatch"): + replace(action, kind=kind) + + +def rate_source_fixture(): + _, point = fixture() + layout = point.state.layout + words = [np.zeros(layout.size) for _ in range(4)] + for array, word in zip(words, (1.0, 2.0**-54, 2.0**-108, 2.0**-162), strict=True): + array[layout.offsets["p"].start] = word + primitive = PrimitiveExpansion(words) + rate = RateView(point, primitive, [0.3], source_identity=SOURCE, mapping_identity=MAP, + origin="mapped-coordinate-rate", raw_coordinates=point.y, raw_rate=words[0]) + q, volume = factor("q", 1.602176634e-19, COULOMB / PARTICLE), factor("volume", 1.0, VOLUME) + rn = LinearSourceSpec("Rn", "nodes", (2,), PARTICLE / SECOND, SOURCE) + rp = LinearSourceSpec("Rp", "nodes", (2,), PARTICLE / SECOND, SOURCE) + sources = BoundLinearSource.bind(point, ( + (rn, DoubleArray([-1.0, 0.0], [-2.0**-54, 0.0])), + (rp, DoubleArray([2.0**-108, 0.0])), + )) + action = form(layout, [LinearTerm(0, "p", 0, (q, volume)), LinearTerm(0, "Rn", 0, (q,)), + LinearTerm(0, "Rp", 0, (q,), -1)], COULOMB / SECOND, + kind="rate", sources=(rn, rp)) + return point, rate, sources, action, primitive, q.value + + +def later_point(point): + """Create a valid different binding through the public coordinate map.""" + coordinates = RelativeCoordinates(point.state.layout, {spec.id: "linear" for spec in point.state.layout.variables}) + return coordinates.advance(point, np.zeros(point.y.shape), point.time + 1.0, point.inputs)[0] + + +def test_full_rate_and_actual_source_packet_cancel_before_final_row(request): + point, rate, sources, action, primitive, q = rate_source_fixture() + result = rate.linear_form(action, point=point, arithmetic=DoubleArithmetic(), sources=sources) + record(request, assert_result(result, [f(q) * f(2.0**-162)])) + assert rate.values is primitive + assert rate.values.identity_bytes() == primitive.identity_bytes() + assert len(rate.words) == 4 and len(result.source_identities) == 2 + assert rate.field("p").shape == (2,) + with pytest.raises(TypeError, match="projection"): + np.asarray(rate) + # Arbitrary finite negative rates remain valid despite positive populations. + negative = RateView(point, DoubleArray(-np.ones(point.y.shape)), [0.3], source_identity=SOURCE, + mapping_identity=MAP, origin="physical-rate", raw_coordinates=point.y, + raw_rate=-np.ones(point.y.shape)) + plain = form(point.state.layout, [LinearTerm(0, "n", 0)], PARTICLE / VOLUME / SECOND, kind="rate") + assert_result(negative.linear_form(plain, point=point, arithmetic=DoubleArithmetic()), [Fraction(-1)], exact=True) + + +@pytest.mark.parametrize("change", ["point", "input_rate", "source", "evaluation", "value", "missing", "unknown"]) +def test_actual_rate_source_and_point_bindings_reject_tampering(change): + point, rate, sources, action, _, _ = rate_source_fixture() + other = later_point(point) + with pytest.raises(ContractError): + if change == "point": + rate.linear_form(action, point=other, arithmetic=DoubleArithmetic(), sources=sources) + elif change == "input_rate": + rate.validate(point, [float(np.nextafter(0.3, 1.0))]) + elif change == "source": + rate.validate(point, [0.3], "different-source") + else: + altered = list(sources) + if change == "evaluation": + altered = [replace(source, evaluation_identity="same-untrusted-label") for source in altered] + elif change == "value": + altered[0] = replace(altered[0], value=DoubleArray([1.0, 0.0])) + elif change == "missing": + altered.pop() + else: + altered[0] = replace(altered[0], spec=replace(altered[0].spec, id="other")) + rate.linear_form(action, point=point, arithmetic=DoubleArithmetic(), sources=altered) + + +def test_same_point_cannot_mix_different_evaluation_packets(): + point, rate, sources, action, _, _ = rate_source_fixture() + newer = BoundLinearSource.bind(point, ((sources[0].spec, DoubleArray([-2.0, 0.0])), + (sources[1].spec, sources[1].value))) + with pytest.raises(ContractError, match="evaluation_mismatch"): + rate.linear_form(action, point=point, arithmetic=DoubleArithmetic(), sources=(sources[0], newer[1])) + other = later_point(point) + stale = BoundLinearSource.bind(other, ((source.spec, source.value) for source in sources)) + with pytest.raises(ContractError, match="point_mismatch"): + rate.linear_form(action, point=point, arithmetic=DoubleArithmetic(), sources=stale) + + +@pytest.mark.parametrize("divisor", [3.0, -7.0, 0.3]) +@pytest.mark.parametrize("sign", [-1, 0, 1]) +def test_explicit_quotient_groups_have_independent_fraction_and_decimal_bounds(divisor, sign, request): + coordinates, root = fixture() + words = [np.zeros(root.state.layout.size) for _ in range(4)] + section = root.state.layout.offsets["phi"] + for target, number in zip(words, (1.0, 2.0**-54, 2.0**-108, 0.0), strict=True): + target[section] = number + words[3][section.stop - 1] = sign * 2.0**-162 + point, increment = coordinates.trial(root, PrimitiveExpansion(words), 1.0, [0.0]) + epsilon = factor("epsilon", 0.7, COULOMB / VOLT / LENGTH) + dx = factor("dx", divisor, LENGTH) + action = form(root.state.layout, [LinearTerm(0, "phi", 1, (epsilon,), -1, dx), + LinearTerm(0, "phi", 0, (epsilon,), 1, dx)], COULOMB / (LENGTH * LENGTH), + kind="increment") + result = increment.linear_form(root, point, action, arithmetic=DoubleArithmetic()) + expected = -sign * f(epsilon.value) * f(2.0**-162) / f(divisor) + check = assert_result(result, [expected], exact=sign == 0) + with localcontext() as context: + context.prec = 180 + independent = (-Decimal(sign) * Decimal.from_float(epsilon.value) * Decimal.from_float(2.0**-162) + / Decimal.from_float(divisor)) + got = fractions(result.value)[0] + represented = Decimal(got.numerator) / Decimal(got.denominator) + bound = Decimal.from_float(float(result.absolute_error_bound.values[0])) + assert abs(represented - independent) <= bound if expected else represented == 0 + record(request, {**check, "Decimal_precision": 180, "divisor_hex": float(divisor).hex()}) + + +def test_mixed_quotient_and_direct_terms_retain_explicit_error_bound(): + _, point = fixture(1) + a, b = 0.7, 3.0 + action = form(point.state.layout, [LinearTerm(0, "p", 0, (factor("a", a),), divisor=factor("b", b)), + LinearTerm(0, "n", 0, (factor("comparison", a / b),), -1)], + PARTICLE / VOLUME) + expected = f(a) / f(b) - f(a / b) + assert_result(point.state.linear_form(action, arithmetic=DoubleArithmetic()), [expected]) + + +@pytest.mark.parametrize("value", [True, "1.0", 2**53 + 1, math.nan, math.inf]) +def test_invalid_factor_inputs_are_not_implicitly_coerced(value): + with pytest.raises(ContractError): + factor("invalid", value) + + +def test_longdouble_checks_actual_storage_precision_instead_of_platform_name(): + value = np.longdouble(1) + if np.dtype(np.longdouble).itemsize > 8: + with pytest.raises(ContractError, match="factor_type"): + factor("wider-input", value) + else: + assert np.finfo(np.longdouble).nmant == 52 + assert factor("binary64-alias", value).value.hex() == (1.0).hex() + + +@pytest.mark.parametrize("mutation", ["nnz", "row", "field", "index", "bool_index", "fractional_index", + "units", "source", "arity", "zero_divisor", "support"]) +def test_layout_units_support_and_factor_contracts_are_checked(mutation): + _, point = fixture(1) + layout = point.state.layout + action = form(layout, [LinearTerm(0, "p", 0)], PARTICLE / VOLUME) + with pytest.raises(ContractError): + if mutation == "nnz": + replace(action, declared_nnz=0) + elif mutation == "row": + form(layout, [LinearTerm(1, "p", 0)], PARTICLE / VOLUME) + elif mutation == "field": + form(layout, [LinearTerm(0, "unknown", 0)], PARTICLE / VOLUME) + elif mutation == "index": + form(layout, [LinearTerm(0, "p", 1)], PARTICLE / VOLUME) + elif mutation == "bool_index": + LinearTerm(0, "p", True) + elif mutation == "fractional_index": + LinearTerm(0, "p", 0.5) + elif mutation == "units": + form(layout, [LinearTerm(0, "p", 0, (factor("wrong-q", 1.0, COULOMB),))], COULOMB / VOLUME) + elif mutation == "source": + form(layout, [LinearTerm(0, "p", 0, (replace(factor("x", 1.0), source_identity="foreign"),))], PARTICLE / VOLUME) + elif mutation == "arity": + LinearTerm(0, "p", 0, (factor("x", 1.0),) * 5) + elif mutation == "zero_divisor": + LinearTerm(0, "p", 0, divisor=factor("zero", 0.0)) + else: + source = LinearSourceSpec("source", "missing", (1,), PARTICLE / VOLUME, SOURCE) + form(layout, [LinearTerm(0, "source", 0)], PARTICLE / VOLUME, sources=(source,)) + + +def test_zero_support_duplicate_contributions_and_order_are_structural(): + _, point = fixture(1) + zero = factor("declared-zero", 0.0) + terms = [LinearTerm(0, "p", 0, (zero,)), LinearTerm(0, "n", 0), LinearTerm(0, "n", 0, sign=-1)] + action = form(point.state.layout, terms, PARTICLE / VOLUME) + reordered = replace(action, terms=tuple(reversed(terms))) + assert action.identity == reordered.identity and len(action.terms) == 3 + assert_result(point.state.linear_form(action, arithmetic=DoubleArithmetic()), [Fraction()], exact=True) + moved = replace(action, terms=(LinearTerm(0, "n", 0, (zero,)), *terms[1:])) + assert moved.identity != action.identity + with pytest.raises(ContractError, match="layout_or_kind"): + fixture(2)[1].state.linear_form(action, arithmetic=DoubleArithmetic()) + + +def test_empty_layouts_and_empty_rows_are_explicit(): + layout = Layout((), (), ()) + point = Point(0.0, [], [], StateView(layout), "empty") + action = PhysicalLinearForm(layout, (), (), (), SOURCE, "state", 0) + for arithmetic in (FloatArithmetic(), DoubleArithmetic()): + result = point.state.linear_form(action, arithmetic=arithmetic, point=point) + assert result.value.shape == result.absolute_error_bound.shape == (0,) + zero_row = form(layout, [], COULOMB) + assert_result(point.state.linear_form(zero_row, arithmetic=DoubleArithmetic()), [Fraction()], exact=True) + rate = RateView(point, PrimitiveExpansion([np.zeros(0)] * 4), [], source_identity=SOURCE, + mapping_identity=MAP, origin="mapped-coordinate-rate", raw_coordinates=[], raw_rate=[]) + assert rate.linear_form(replace(action, kind="rate"), point=point, + arithmetic=DoubleArithmetic()).value.shape == (0,) + + +def test_declared_support_has_no_unrelated_grid_size_ceiling(): + _, point = fixture(1) + term = LinearTerm(0, "n", 0, (factor("declared-zero", 0.0),)) + action = form(point.state.layout, (term,) * 16385, PARTICLE / VOLUME) + assert action.declared_nnz == len(action.terms) == 16385 + + +@pytest.mark.parametrize("case", ["product_overflow", "product_underflow", "quotient_overflow", "quotient_underflow"]) +def test_finite_range_failures_are_explicit(case): + _, point = fixture(1) + tiny = float(np.nextafter(0.0, 1.0)) + if case == "product_overflow": + factors, divisor = (factor("max", np.finfo(float).max), factor("two", 2.0)), None + elif case == "product_underflow": + factors, divisor = (factor("tiny", tiny), factor("half", 0.5)), None + elif case == "quotient_overflow": + factors, divisor = (factor("max", np.finfo(float).max),), factor("half", 0.5) + else: + factors, divisor = (factor("tiny", tiny),), factor("two", 2.0) + action = form(point.state.layout, [LinearTerm(0, "p", 0, factors, divisor=divisor)], PARTICLE / VOLUME) + with pytest.raises(ContractError, match="overflow|underflow"): + point.state.linear_form(action, arithmetic=DoubleArithmetic()) + + +def product_cases(): + """Binary64 edge cases and fixed bit patterns, independent of the verifier.""" + tiny = float.fromhex("0x0.0000000000001p-1022") + normal = float.fromhex("0x1p-1022") + largest = float.fromhex("0x1.fffffffffffffp+1023") + cases = [(a, b) for a in (0.0, -0.0, tiny, -tiny, normal, -normal, + 1.0, -1.0, largest, -largest) + for b in (0.0, -0.0, 1.0, -1.0, 0.5, 2.0)] + cases += [(normal, 2.0**-52), (tiny, 1.0 + 2.0**-52), + (1.0 + 2.0**-52, 1.0 - 2.0**-53), + (largest, 1.0 - 2.0**-53), (normal, normal)] + rng = random.Random(930091) + def finite_word(): + bits = (rng.getrandbits(1) << 63) | (rng.randrange(2047) << 52) | rng.getrandbits(52) + return struct.unpack(">d", bits.to_bytes(8, "big"))[0] + return cases + [(finite_word(), finite_word()) for _ in range(192)] + + +def test_dyadic_product_verifier_matches_fraction_decimal_and_false_words(request): + from scripts.benchmarks.contract_prototype import _dyadic_product_matches + + cases = [(1.0, 1.0, 1.0, 2.0**-54), # Rounded high+low alone would accept. + (0.0, -1.0, 1.0, -1.0), + (2.0**-1074, 2.0, 2.0**-1074, 2.0**-1074), + (2.0**-1074, 0.5, 0.0, -0.0)] + for a, b in product_cases(): + exact = f(a) * f(b) + try: + high = float(exact) + except OverflowError: + continue + low = float(exact - f(high)) + cases.append((a, b, high, low)) + for hi, lo in ((math.nextafter(high, math.inf), low), + (high, math.nextafter(low, math.inf))): + if math.isfinite(hi) and math.isfinite(lo): + cases.append((a, b, hi, lo)) + accepted = rejected = 0 + with localcontext() as ctx: + ctx.prec = 2500 + for a, b, high, low in cases: + expected = f(a) * f(b) == f(high) + f(low) + decimal_equal = (Decimal.from_float(a) * Decimal.from_float(b) + == Decimal.from_float(high) + Decimal.from_float(low)) + assert decimal_equal == expected + assert _dyadic_product_matches(a, b, high, low) == expected + accepted += expected + rejected += not expected + assert accepted and rejected + record(request, {"oracle": "independent Fraction and Decimal(2500)", + "finite_quadruples": len(cases), "exact": accepted, "inexact": rejected}) + + +def test_scaled_dekker_return_bits_and_rejections_match_original_check(monkeypatch, request): + from scripts.benchmarks import contract_prototype as contract + + cases = product_cases() + [(0.0, math.inf), (math.nan, 1.0), (1.0, -math.inf)] + def outcome(a, b): + try: + high, low = contract._finite_two_product(a, b) + except ContractError as error: + return ("rejected", str(error)) + return ("returned", struct.pack(">dd", high, low).hex(), high, low) + candidate = [outcome(a, b) for a, b in cases] + # Reuse the unchanged floating operations with the original independent + # exact verifier to compare every return bit and rejection reason. + def original(a, b, high, low): + return (contract._word_integer((a,)) * contract._word_integer((b,)) + == contract._word_integer((high, low)) << 1074) + with monkeypatch.context() as patch: + patch.setattr(contract, "_dyadic_product_matches", original) + baseline = [outcome(a, b) for a, b in cases] + assert candidate == baseline + statuses = {} + with localcontext() as ctx: + ctx.prec = 2500 + for (a, b), result in zip(cases, candidate, strict=True): + key = result[0] if result[0] == "returned" else result[1] + statuses[key] = statuses.get(key, 0) + 1 + if result[0] == "returned": + _, bits, high, low = result + assert f(a) * f(b) == f(high) + f(low) + assert (Decimal.from_float(a) * Decimal.from_float(b) + == Decimal.from_float(high) + Decimal.from_float(low)) + if a == 0.0 or b == 0.0: + assert bits == "0" * 32 # Preserve the original +0,+0 branch. + elif b in {-1.0, 1.0}: + assert bits == struct.pack(">dd", a * b, 0.0).hex() + assert set(statuses) == {"returned", "linear_product_nonfinite", "linear_product_overflow", + "linear_product_underflow_or_inexact"} + record(request, {"bitwise_original_verifier_equivalence": True, + "cases": len(cases), "outcomes": statuses}) + + +def test_output_keeps_existing_dd_range_limits_without_float_fallback(): + _, point = fixture(1) + action = form(point.state.layout, [LinearTerm(0, "p", 0, (factor("large", 1e300),))], PARTICLE / VOLUME) + with pytest.raises(ContractError, match="output_provider_range"): + point.state.linear_form(action, arithmetic=DoubleArithmetic()) + + +def test_immutable_rate_source_result_and_shape_metadata(): + point, rate, sources, action, primitive, _ = rate_source_fixture() + identity, word_id = rate.identity, rate.values.identity_bytes() + for array in (rate.words[0], rate.input_rate, rate.raw_coordinates, rate.raw_rate): + with pytest.raises(ValueError): + array.setflags(write=True) + array.shape = (1, array.size) + array.dtype = np.int64 + assert rate.shape == point.y.shape and rate.input_rate.shape == point.inputs.shape + assert rate.identity == identity and rate.values.identity_bytes() == word_id + assert primitive.words[0].shape == point.y.shape + with pytest.raises(FrozenInstanceError): + rate.origin = "physical-rate" + with pytest.raises(FrozenInstanceError): + sources[0].evaluation_identity = "other" + result = rate.linear_form(action, point=point, arithmetic=DoubleArithmetic(), sources=sources) + view = result.absolute_error_bound.values + view.shape = (1, 1) + view.dtype = np.int64 + assert result.absolute_error_bound.values.shape == (1,) + with pytest.raises(ValueError): + result.value.high.setflags(write=True) + + +def test_float_api_is_explicit_and_unchanged_and_other_maps_fail(): + layout = Layout((Support("one", "global", (1,)),), + (VariableSpec("x", "owner", "one", (1,), ONE),), ()) + coordinates = LinearCoordinates(layout) + point = coordinates.point([2.0], 0.0, []) + action = form(layout, [LinearTerm(0, "x", 0, (factor("scale", 3.0),))], ONE) + result = point.state.linear_form(action) + assert isinstance(result.value, np.ndarray) + np.testing.assert_array_equal(result.value, [6.0]) + raw = FloatArithmetic().array(np.array([1.0, -2.0])) + np.testing.assert_array_equal(FloatArithmetic().weighted(raw, np.array([3.0, 4.0])), [3.0, -8.0]) + relative = RelativeCoordinates(layout, {"x": "log"}) + root = relative.initial(StateView(layout, [("x", DoubleArray([2.0]))])) + mapped, _ = relative.advance(root, [0.25], 1.0, []) + with pytest.raises(ContractError, match="affine_physical_si"): + mapped.state.linear_form(action, arithmetic=DoubleArithmetic()) + with pytest.raises(ContractError, match="provider_required"): + root.state.linear_form(action) + + +def callback_problem(): + layout = Layout((Support("one", "global", (1,)),), + (VariableSpec("charge", "owner", "one", (1,), COULOMB),), + (EquationSpec("balance", "owner", "one", (1,), COULOMB / SECOND, + derivative_support=("charge",)),)) + point = LinearCoordinates(layout).point([0.0], 0.0, [0.0]) + arithmetic, calls = DoubleArithmetic(), [] + action = form(layout, [LinearTerm(0, "charge", 0)], COULOMB / SECOND, kind="rate") + structure = SparseStructure((1, 1), [0], [0, 1], "one-structural-slot", layout.identity) + storage = PhysicalStorage(lambda p: p.state.field("charge"), lambda l, r, d: d.field("charge"), + (COULOMB,), SOURCE, arithmetic) + + def residual(p, ydot, adot): + calls.append(("residual", ydot)) + if isinstance(ydot, RateView): + return ydot.linear_form(action, point=p, arithmetic=arithmetic).value + return arithmetic.freeze(arithmetic.array(ydot)) + + def linearize(p, ydot, adot): + calls.append(("linearize", ydot)) + return SparseLinearization(structure.filled([0.0]), structure.filled([1.0]), + np.zeros((1, 1)), np.zeros((1, 1)), np.zeros(1), structure, SOURCE) + + problem = ValidatedProblem(layout, 1, 1, storage, structure, SOURCE, residual, linearize, + lambda l, r, d: d.field("charge"), lambda l, r: structure.filled([1.0]), + arithmetic=arithmetic, accepted_rate_mapping_identity=MAP) + return problem, point, calls + + +def test_validated_problem_passes_full_rate_to_both_callbacks_without_projection(): + problem, point, calls = callback_problem() + primitive = PrimitiveExpansion([np.array([v]) for v in (1.0, 2.0**-54, 2.0**-108, 2.0**-162)]) + rate = RateView(point, primitive, [0.5], source_identity=SOURCE, mapping_identity=MAP, + origin="mapped-coordinate-rate", raw_coordinates=point.y, raw_rate=[1.0]) + result = problem.residual(point, rate, [0.5]) + problem.linearize(point, rate, [0.5]) + assert calls == [("residual", rate), ("linearize", rate)] + assert fractions(result)[0] != f(1.0) + before = len(calls) + for bad in (replace(problem, accepted_rate_mapping_identity=None), + replace(problem, accepted_rate_mapping_identity="other-map")): + with pytest.raises(ContractError, match="not_admitted"): + bad.residual(point, rate, [0.5]) + with pytest.raises(ContractError, match="input_mismatch"): + problem.linearize(point, rate, [0.0]) + assert len(calls) == before + np.testing.assert_array_equal(problem.residual(point, np.array([3.0]), np.array([0.5])).high, [3.0]) + # Dense generic Qyy/Qya/Qyt terms cannot be assumed zero for a typed rate. + with pytest.raises(ContractError, match="explicit_problem_callback"): + ImplicitSystem(None, None).residual(point, rate, [0.5]) diff --git a/tests/numerical_contracts/test_native_history.py b/tests/numerical_contracts/test_native_history.py new file mode 100644 index 00000000..13a66643 --- /dev/null +++ b/tests/numerical_contracts/test_native_history.py @@ -0,0 +1,325 @@ +"""Real-file qualification using the retained native prefix and accepted record.""" +import ast +from collections import Counter, defaultdict +import gzip +import hashlib +import json +import os +from pathlib import Path +import sys +import subprocess + +import pytest + +from scripts.benchmarks.native_history import ( + GZIP_TRAILER_RESERVE, METADATA_RESERVE, HistoryLimitError, + HistoryReader, HistoryWriter, emit_record, + INTEGER_IO_SCHEMA, INTEGER_IO_CODEC, INTEGER_HEX_TAG, + configure_integer_io, decode_integer_values, integer_io_observed, integer_json_dumps, +) + + +@pytest.fixture +def original(): + name = os.environ.get("SOLARLAB_NATIVE_HISTORY_FIXTURE") + manifest = (Path(name) if name is not None else + Path(__file__).resolve().parents[1] / "fixtures/native_history/manifest.json") + spec = json.loads(manifest.read_text()) + for key in ("prefix", "accepted", "live", "final", "reader"): + spec[key]["path"] = str(manifest.parent / spec[key]["path"]) + data = {} + for key in ("prefix", "accepted", "live", "final"): + p = Path(spec[key]["path"]) + raw = p.read_bytes() + if "stored_sha256" in spec[key]: + assert hashlib.sha256(raw).hexdigest() == spec[key]["stored_sha256"] + if spec[key].get("remove_suffix_bytes"): + raw = raw[:-spec[key]["remove_suffix_bytes"]] + if spec[key].get("encoding") == "gzip": + raw = gzip.decompress(raw) + assert hashlib.sha256(raw).hexdigest() == spec[key]["sha256"] + data[key] = raw + data["spec"] = spec + return data + + +def reader(path, encoding, maximum=1048576): + return HistoryReader(path, encoding=encoding, max_record_bytes=131072, + max_logical_bytes=maximum) + + +def integer_policy(): + return {"schema": INTEGER_IO_SCHEMA, "codec": INTEGER_IO_CODEC, + "decimal_digits": 4300, "max_integer_bits": 131072} + + +@pytest.mark.parametrize("kind", ["voltage_lift_interval_charge", "voltage_lift_interval_charge_v2"]) +def test_partition_history_v2_pointer_and_failed_successor(tmp_path, kind): + """Storage semantics only: these synthetic records certify no physics.""" + path = tmp_path / "history.jsonl.gz" + accepted = {"kind": kind, "observation": {"passed": True}, "right": {"point": "synthetic"}, + "coefficient_frame_identity": "a"*64, "record_sha256": "b"*64} + failed = dict(accepted, observation={"passed": False}, record_sha256="c"*64) + with HistoryWriter(path, encoding="gzip", total_output_bytes=2*METADATA_RESERVE) as writer: + first = writer.append(accepted) + pointer = (tmp_path / "LastAccepted.json").read_bytes() + writer.append(failed) + assert (tmp_path / "LastAccepted.json").read_bytes() == pointer + assert json.loads(pointer)["pointer"]["history_byte_offset_after_record"] == first.logical_bytes + with reader(path, "gzip") as stream: + assert list(stream.records()) == [accepted, failed] + assert stream.eof_seen and stream.container_complete + + +def test_bounded_integer_codec_preserves_exact_values_and_legacy_bytes(tmp_path): + policy = configure_integer_io(integer_policy(), 1048576) + small = {"a": [0, -1, True, None, -0.0, 1.25], "z": "unchanged"} + options = {"allow_nan": False, "separators": (",", ":")} + assert integer_json_dumps(small, **options) == json.dumps(small, **options) + assert integer_json_dumps(small, policy, **options) == json.dumps(small, **options) + large = 10**4400 + 1 + record = {"kind": "exact_integer_fixture", "signed": [large, -large, 0], + "rational": [large, large+2]} + path = tmp_path / "bounded.jsonl.gz" + with HistoryWriter(path, encoding="gzip", total_output_bytes=2*METADATA_RESERVE, + integer_io_policy=policy) as writer: + writer.append(record) + with HistoryReader(path, encoding="gzip", max_record_bytes=1048576, + max_logical_bytes=1048576, integer_io_policy=policy) as decoded: + assert list(decoded.records()) == [record] + assert decoded.container_complete and decoded.eof_seen + assert integer_io_observed(policy)["actual_decimal_digits"] == 4300 + with pytest.raises(ValueError, match="4300 digits"): + json.dumps(large) + + +@pytest.mark.parametrize("change", [ + {"decimal_digits": 0}, {"max_integer_bits": True}, {"max_integer_bits": 131073}, + {"codec": "unknown"}, {"schema": "unknown"}, {"extra": 1}, +]) +def test_integer_policy_rejects_invalid_or_unbound_fields(change): + with pytest.raises(ValueError, match="integer I/O policy"): + configure_integer_io({**integer_policy(), **change}, 1048576) + + +@pytest.mark.parametrize("text", ["0x0", "-0x0", "+0x1", "0x01", "0X12", "0xff", "0x1"+"0"*32768]) +def test_hex_integer_decode_rejects_noncanonical_small_and_oversize(text): + policy = configure_integer_io(integer_policy(), 1048576) + with pytest.raises(ValueError): + decode_integer_values({INTEGER_HEX_TAG: text}, policy) + + +def test_integer_bit_bound_and_reserved_tag_fail_before_writing(tmp_path): + policy = configure_integer_io(integer_policy(), 1048576) + writer = HistoryWriter(tmp_path / "bounded.jsonl.gz", encoding="gzip", + total_output_bytes=2*METADATA_RESERVE, integer_io_policy=policy) + with pytest.raises(HistoryLimitError, match=r"\$/oversize: 131073>131072"): + writer.append({"kind": "fixture", "oversize": 1 << 131072}) + assert writer.closed and writer.records == 0 and writer.container_complete is False + with pytest.raises(ValueError, match="reserved native integer tag"): + integer_json_dumps({INTEGER_HEX_TAG: "0x1"}, policy) + with pytest.raises(ValueError): + decode_integer_values({INTEGER_HEX_TAG: hex(10**4400), "extra": 1}, policy) + + +def test_integer_policy_detects_process_setting_change(tmp_path): + policy = configure_integer_io(integer_policy(), 1048576) + try: + sys.set_int_max_str_digits(640) + with pytest.raises(HistoryLimitError, match="process decimal limit changed"): + integer_json_dumps({"value": 1}, policy) + assert integer_io_observed(policy, require_match=False)["actual_decimal_digits"] == 640 + finally: + sys.set_int_max_str_digits(4300) + + +def old_reader(path, encoding, spec, accepted): + source = Path(spec["reader"]["path"]).read_bytes() + assert hashlib.sha256(source).hexdigest() == spec["reader"]["sha256"] + module = ast.parse(source) + if spec["reader"].get("fragment"): + body = [node for node in module.body if not isinstance(node, ast.With)] + loop = next(node for node in module.body if isinstance(node, ast.With)) + else: + body = [node for node in module.body if 38 <= node.lineno <= 44] + loop = next(node for node in module.body if isinstance(node, ast.With) and node.lineno == 45) + loop.items[0].context_expr = ast.Call(ast.Name("open_history", ast.Load()), [], []) + env = {"Counter": Counter, "defaultdict": defaultdict, "hashlib": hashlib, + "json": json, "last_accepted": accepted, "open_history": lambda: reader(path, encoding)} + exec(compile(ast.fix_missing_locations(ast.Module(body=body + [loop], type_ignores=[])), + str(spec["reader"]["path"]), "exec"), env) + return env + + +@pytest.mark.parametrize("encoding", ["raw", "gzip"]) +def test_native_bytes_values_and_accepted_pointer(tmp_path, original, encoding): + path = tmp_path / ("history.jsonl.gz" if encoding == "gzip" else "history.jsonl") + expected = original["prefix"] + original["accepted"] + with HistoryWriter(path, encoding=encoding, total_output_bytes=2 * METADATA_RESERVE) as writer: + for line in original["prefix"].splitlines(keepends=True): + writer.append(json.loads(line)) + position = writer.append_line(original["accepted"]) + assert position.logical_bytes == len(expected) + accepted = json.loads((tmp_path / "LastAccepted.json").read_text()) + assert accepted["pointer"]["history_byte_offset_after_record"] == len(expected) + assert accepted["pointer"]["encoded_byte_offset_after_record"] == path.stat().st_size + assert accepted["right"] == json.loads(original["accepted"])["right"] + assert writer.container_complete is (False if encoding == "gzip" else None) + with reader(path, encoding) as decoded: + assert b"".join(decoded) == expected + assert decoded.eof_seen and decoded.complete_lines == 17 + assert decoded.container_complete is (True if encoding == "gzip" else None) + env = old_reader(path, encoding, original["spec"], accepted) + assert env["records"] == 17 and env["parse_failure"] is None and not env["trailing"] + assert env["accepted_pointer_record"]["right"] == accepted["right"] + assert env["total_bytes"] == len(expected) + with reader(path, encoding) as decoded: + assert list(decoded.records()) == [json.loads(line) for line in expected.splitlines()] + + +def test_cap_admission_footer_and_metadata_peak(tmp_path): + path = tmp_path / "too-small.gz" + with pytest.raises(HistoryLimitError): + HistoryWriter(path, encoding="gzip", total_output_bytes=10 + GZIP_TRAILER_RESERVE + 512 - 1, + metadata_reserve_bytes=512) + assert not path.exists() + path = tmp_path / "empty.gz" + with HistoryWriter(path, encoding="gzip", total_output_bytes=532, metadata_reserve_bytes=512): + pass + assert path.stat().st_size == 20 and gzip.decompress(path.read_bytes()) == b"" + path = tmp_path / "bounded.gz" + writer = HistoryWriter(path, encoding="gzip", total_output_bytes=600, metadata_reserve_bytes=512) + writer.append({"kind": "tiny", "value": 0}) + before = path.read_bytes(); before_position = writer.position + with pytest.raises(HistoryLimitError): + writer.append({"kind": "too-large", "values": list(range(1000))}) + assert path.read_bytes() == before and writer.position == before_position + assert writer.closed and writer.container_complete is False + assert sum(p.stat().st_size for p in tmp_path.iterdir()) <= 600 + 20 + with pytest.raises(EOFError): + gzip.decompress(path.read_bytes()) + with pytest.raises(ValueError, match="failed"): + writer.finish() + isolated = tmp_path / "metadata"; isolated.mkdir() + writer = HistoryWriter(isolated / "raw", encoding="raw", total_output_bytes=200, metadata_reserve_bytes=1) + with pytest.raises(HistoryLimitError, match="pointer"): + writer.append({"kind": "x"}) + assert writer.position.logical_bytes == 0 and writer.path.stat().st_size == 0 + assert list(isolated.iterdir()) == [writer.path] + + +def test_publication_error_keeps_flushed_history_and_old_accepted(tmp_path, original, monkeypatch): + writer = HistoryWriter(tmp_path / "history.gz", encoding="gzip", total_output_bytes=2 * METADATA_RESERVE) + writer.append_line(original["accepted"]) + old = (tmp_path / "LastAccepted.json").read_bytes() + replace = os.replace + def fail_accepted(source, target): + if Path(target).name == "LastAccepted.json": + assert writer.path.stat().st_size == writer.position.encoded_bytes + raise OSError("injected accepted publication failure") + replace(source, target) + monkeypatch.setattr("scripts.benchmarks.native_history.os.replace", fail_accepted) + with pytest.raises(OSError, match="injected"): + writer.append_line(original["accepted"]) + assert (tmp_path / "LastAccepted.json").read_bytes() == old + assert (tmp_path / "LastAccepted.tmp").exists() + current = json.loads((tmp_path / "LastRecord.json").read_text()) + assert current["history_byte_offset_after_record"] == 2 * len(original["accepted"]) + assert writer.closed and writer.container_complete is False + assert sum(p.stat().st_size for p in tmp_path.iterdir()) <= writer.total_output_bytes + + +def test_reader_complete_live_corrupt_partial_and_malformed(tmp_path, original): + final_path = Path(original["spec"]["final"]["path"]) + live, final = original["live"], original["final"] + for key, data in (("live", live), ("final", final)): + assert hashlib.sha256(data).hexdigest() == original["spec"][key]["sha256"] + for name, data, error in [("live", live, EOFError), ("truncated", final[:-4], EOFError), + ("crc", final[:-8] + bytes([final[-8] ^ 1]) + final[-7:], gzip.BadGzipFile)]: + path = tmp_path / name; path.write_bytes(data) + with reader(path, "gzip") as stream: + with pytest.raises(error): + list(stream) + assert not stream.eof_seen and stream.container_complete is False and stream.error + partial = tmp_path / "partial"; partial.write_bytes(original["prefix"][:-1]) + with reader(partial, "raw") as stream: + assert len(list(stream.records())) == 15 + assert stream.partial_tail == original["prefix"].splitlines(keepends=True)[-1][:-1] + assert stream.eof_seen and stream.container_complete is None + malformed = tmp_path / "malformed"; malformed.write_bytes(b'{"kind":}\n') + with reader(malformed, "raw") as stream: + with pytest.raises(json.JSONDecodeError): + list(stream.records()) + assert stream.error and not stream.eof_seen + with reader(final_path, "gzip", maximum=1) as stream: + with pytest.raises(HistoryLimitError): + list(stream) + + +def test_empty_gzip_is_incomplete_but_empty_member_is_complete(tmp_path): + missing = tmp_path / "missing.gz" + missing.write_bytes(b"") + with reader(missing, "gzip") as stream: + with pytest.raises(EOFError, match="no header or member"): + list(stream) + assert not stream.eof_seen and stream.container_complete is False + assert stream.encoded_bytes_read == 0 and stream.error + + valid = tmp_path / "valid.gz" + with HistoryWriter(valid, encoding="gzip", total_output_bytes=2 * METADATA_RESERVE): + pass + with reader(valid, "gzip") as stream: + assert list(stream) == [] + assert stream.eof_seen and stream.container_complete is True + assert stream.encoded_bytes_read > 0 and stream.error is None + + +def test_legacy_callback_budget_identity_zero_null_and_failures(tmp_path): + record = {"kind": "typed", "zero": 0, "false": False, "null": None, "signed": -0.0} + captured = [] + size = len((json.dumps(record, allow_nan=False, separators=(",", ":")) + "\n").encode()) + position = emit_record(record, captured.append, logical_bytes=0, + total_output_bytes=METADATA_RESERVE + size) + assert captured[0] is record and position.logical_bytes == position.encoded_bytes == size + with pytest.raises(HistoryLimitError): + emit_record(record, captured.append, logical_bytes=0, total_output_bytes=METADATA_RESERVE + size - 1) + assert len(captured) == 1 + with pytest.raises(ValueError): + emit_record({"bad": float("nan")}, captured.append, logical_bytes=0, total_output_bytes=2 * METADATA_RESERVE) + def failed(_):raise OSError("original callback failure") + with pytest.raises(OSError, match="original callback"): + emit_record(record, failed, logical_bytes=0, total_output_bytes=2 * METADATA_RESERVE) + with HistoryWriter(tmp_path / "typed.gz", encoding="gzip", total_output_bytes=2 * METADATA_RESERVE) as writer: + actual = emit_record(record, writer, logical_bytes=0, total_output_bytes=2 * METADATA_RESERVE) + assert actual.encoding == "gzip" and actual.logical_bytes == size + with pytest.raises(HistoryLimitError, match="mismatch"): + emit_record(record, writer, logical_bytes=0, total_output_bytes=2 * METADATA_RESERVE) + with reader(writer.path, "gzip") as stream: + value = list(stream.records())[0] + assert value == record and value["null"] is None and value["false"] is False + assert str(value["signed"]) == "-0.0" + + +def test_isolated_import_boundary(): + code = ( + "import sys; sys.path.insert(0, sys.argv[1]); " + "import scripts.benchmarks.native_history; " + "assert not any(name in sys.modules for name in ('numpy', 'scipy', 'flint', 'sksundae'))" + ) + result = subprocess.run( + [sys.executable, "-I", "-S", "-B", "-c", code, str(Path(__file__).resolve().parents[2])], + capture_output=True, text=True, timeout=1, + ) + assert result.returncode == 0, result.stderr + + +def test_supplied_bytes_enforce_strict_finite_json(tmp_path): + for index, literal in enumerate((b"NaN", b"Infinity", b"-Infinity", b"1e999")): + path = tmp_path / f"invalid{index}.gz" + writer = HistoryWriter(path, encoding="gzip", total_output_bytes=2 * METADATA_RESERVE) + before = path.read_bytes() + with pytest.raises(ValueError, match="non-finite"): + writer.append_line(b'{"kind":"invalid","nested":[' + literal + b']}\n') + assert path.read_bytes() == before and writer.position.logical_bytes == 0 + assert writer.closed and writer.container_complete is False and writer.error + assert not (tmp_path / "LastRecord.json").exists() diff --git a/tests/numerical_contracts/test_native_observation.py b/tests/numerical_contracts/test_native_observation.py new file mode 100644 index 00000000..3a4b5f5f --- /dev/null +++ b/tests/numerical_contracts/test_native_observation.py @@ -0,0 +1,848 @@ +"""Source-contract/map controls; synthetic packets never claim an IDA run.""" + +from dataclasses import asdict, replace +from fractions import Fraction +from hashlib import sha256 +from functools import lru_cache +from pathlib import Path +import copy +import importlib.util +import json +import os + +import numpy as np +import pytest + +from scripts.benchmarks.contract_prototype import ContractError +from scripts.benchmarks.coupled_device_prototype import ( + AffineCoupledSlab, AffineSamplingContext, AffineVoltageMap, ProtocolSegment, + SlabDefinition, VoltageLiftAdapter, VoltageLiftSegmentAdapter, protocol_from_plan, +) +from scripts.benchmarks.interval_observation import AcceptedClock, BallIntegrator, Polynomial, SlabPathObserver, rational +from scripts.benchmarks.native_observation import ( + compare_physical_readback, input_evaluation_bounds, prepare_physical_polynomial, + propagated_input_error, read_native_basis_packet, prepare_native_frame_map, + require_frame_successor, voltage_current_sensitivity, AcceptedIntervalObserver, + observation_record, restore_observation_record, readback_current_evidence, + prepare_interval_observation_policy, validate_interval_observation_admission, +) + + +def _ball_integrator(**controls): + pytest.importorskip("flint", reason="Arb observation checks require the solarlab[arb] extra") + return BallIntegrator(**controls) + + +REPO = Path(__file__).resolve().parents[2] +PLAN = Path(os.environ['REAL_DEVICE_PLAN']) if os.environ.get('REAL_DEVICE_PLAN') else None +CASES = ('S0NeutralPublicDeviceV1', 'DynamicAcceptorIonPublicDeviceV1') +HEADER = '04988c332e2d004b4e838ffca847990f353f68d41cb225f1b9085b3a8bed52ce' +STAMP_NAMES = ('IDAGetNumSteps', 'IDAGetCurrentTime', 'IDAGetLastStep', + 'IDAGetLastOrder', 'IDAGetCurrentStep', 'IDAGetCurrentOrder') + + +def _charge_refinement_request(): + """Schema-only input: never a native request or physical case.""" + return {'map_identity': '1'*64, 'segments': [{'id': 'synthetic'}], + 'controls': {'rtol': 1e-8}, 'budgets': {'native_steps': 200000, 'charge_C': 1.0}, + 'observation_times': {'synthetic': [0.0, 1.0]}, 'quadrature': {}} + + +def test_charge_refinement_default_and_parent_binding(): + from scripts.benchmarks.native_observation import prepare_charge_accumulator, CHARGE_REFINEMENT + from scripts.benchmarks.coupled_device_prototype import digest + request = _charge_refinement_request() + before = copy.deepcopy(request) + arguments = dict(binding_identity='a'*64, header_sha256='b'*64, backend_modules={}) + legacy = prepare_interval_observation_policy(request, **arguments) + assert prepare_interval_observation_policy(request, charge_refinement=None, **arguments) == legacy + assert prepare_charge_accumulator(request, legacy) is None + refined = prepare_interval_observation_policy(request, charge_refinement=CHARGE_REFINEMENT, **arguments) + assert request == before + assert refined['parent_policy_sha256'] == digest(legacy) + assert {k: refined[k] for k in legacy if k != 'schema'} == {k: v for k, v in legacy.items() if k != 'schema'} + request['interval_observation'] = refined + accumulator = prepare_charge_accumulator(request, refined) + assert accumulator.policy.source_identity == digest(request) + assert accumulator.policy.quantum == Fraction(1, 2**120) + assert accumulator.policy.max_terms*accumulator.policy.quantum == accumulator.policy.max_slack_per_channel + assert accumulator.policy.upper_integer_bits == 65675 < 131072 + request['controls']['rtol'] *= 2 + with pytest.raises(ContractError, match='charge_policy_changed'): + prepare_charge_accumulator(request, refined) + + +@pytest.mark.parametrize('fault', ['name', 'cells', 'quantum', 'channels', 'extra', 'parent', 'null']) +def test_charge_refinement_rejects_tampering(fault): + from scripts.benchmarks.native_observation import prepare_charge_accumulator, CHARGE_REFINEMENT + request = _charge_refinement_request() + policy = prepare_interval_observation_policy(request, binding_identity='a'*64, header_sha256='b'*64, + backend_modules={}, charge_refinement=CHARGE_REFINEMENT) + refinement = policy['charge_refinement'] + if fault == 'name': refinement['name'] = 'fixed8' + if fault == 'cells': refinement['partition_cells'] = 2 + if fault == 'quantum': refinement['upper_sum']['quantum_bits'] = 119 + if fault == 'channels': refinement['upper_sum']['channel_ids'].pop() + if fault == 'extra': refinement['unbound'] = True + if fault == 'parent': policy['parent_policy_sha256'] = 'f'*64 + if fault == 'null': policy['charge_refinement'] = None + with pytest.raises(ContractError, match='charge_(policy|refinement)'): + prepare_charge_accumulator(request, policy) + + +def _synthetic_charge_observer(monkeypatch, source='a'*64): + from types import SimpleNamespace + from scripts.benchmarks.interval_observation import Enclosure + import scripts.benchmarks.native_observation as module + + observer = object.__new__(AcceptedIntervalObserver) + zeros = (Fraction(0),)*3 + inputs = {'raw_charge_integral_error_C': zeros, 'tangent_charge_integral_error_C': zeros} + monkeypatch.setattr(module, 'propagated_input_error', lambda *_: inputs) + monkeypatch.setattr(module, 'endpoint_charge_mismatch', lambda *_: zeros) + monkeypatch.setattr(module, 'public_action_enclosures', lambda values: values) + path = SimpleNamespace(identity='b'*64, clock=SimpleNamespace(payload=lambda: {'segment_id': 'synthetic'})) + observer.prepared = SimpleNamespace(path=path) + observer.frame = SimpleNamespace(identity='c'*64) + observer.binding = SimpleNamespace(context=SimpleNamespace( + request_sha256=source, request_copy=_charge_refinement_request)) + observer.arithmetic = object() + values = (Enclosure(0), Enclosure(Fraction(-1, 7), Fraction(1, 1000)), Enclosure(0)) + calls = [] + def integrate(*args, **kwargs): + calls.append(kwargs) + return {'raw_polynomial': values, 'same_state_affine_tangent': values, + 'raw_tangent_charge_L1_upper_C': zeros, 'raw_tangent_L1_upper_bounds': (), + 'terminal_partition': {'synthetic_routing_fixture': True}} + model = SimpleNamespace(linear_action=lambda name, *args, **kwargs: + (Enclosure(0),)*(1 if name == 'body_charge' else 2)) + observer.observer = SimpleNamespace(model=model, path=path, integrate=integrate, + affine={'body_charge': {'left': (0,), 'right': (0,)}, 'metal_charge': {'left': (0, 0), 'right': (0, 0)}}, + strip_current_debit=lambda _: {key: zeros for key in ('raw_polynomial', 'same_state_affine_tangent')}) + return observer, calls + + +def test_partial_charge_observation_cannot_commit_completed_prefix(): + """Exercise the early range/commit guard with explicit manufactured data.""" + from types import SimpleNamespace + from scripts.benchmarks.interval_observation import ChargePrefix + from scripts.benchmarks.bounded_observation import UpperAccumulator + from scripts.benchmarks.native_observation import charge_upper_policy + + clock = AcceptedClock(0,1,1,1,1,1,0,1,"manufactured-prefix-clock") + path = SimpleNamespace(clock=clock) + observer = SimpleNamespace(observer=SimpleNamespace(model=None),prepared=SimpleNamespace(path=path), + binding=SimpleNamespace(context=SimpleNamespace(request_copy=_charge_refinement_request))) + left, right = SimpleNamespace(time=0.0), SimpleNamespace(time=0.5) + prefixes = {key:ChargePrefix.start((1,)*3) for key in ("raw_polynomial","same_state_affine_tangent")} + accumulator = UpperAccumulator(charge_upper_policy(sha256(b"manufactured-source").hexdigest())) + before = (accumulator.count,accumulator.upper_numerators,accumulator.rounded_terms,dict(prefixes)) + try: + AcceptedIntervalObserver.charge_evidence(observer,(left,),(right,None),prefixes, + absolute_error=Fraction(1,10000),charge_budget=1,charge_accumulator=accumulator, + subinterval=(0,Fraction(1,2))) + except ContractError as error: + assert "partial_prefix_cannot_commit" in str(error) + else: + raise AssertionError("partial observation committed the completed prefix") + assert (accumulator.count,accumulator.upper_numerators,accumulator.rounded_terms,dict(prefixes)) == before + + +def test_charge_refinement_actual_routing_signed_evidence_and_nonresetting_prefix(monkeypatch): + from scripts.benchmarks.interval_observation import ChargePrefix + from scripts.benchmarks.bounded_observation import UpperAccumulator, verify_upper_prefix, UpperStepCertificate + from scripts.benchmarks.native_observation import charge_upper_policy, charge_upper_term + observer, calls = _synthetic_charge_observer(monkeypatch) + def prefixes(): return {key: ChargePrefix.start((1,)*3) for key in ('raw_polynomial', 'same_state_affine_tangent')} + exact, old = observer.charge_evidence((None,), (None, None), prefixes(), absolute_error=Fraction(1, 10000), charge_budget=1) + assert calls == [{}] and 'upper_sum' not in old and 'terminal_partition' not in old + accumulator = UpperAccumulator(charge_upper_policy('a'*64)) + current, certificates, terms = prefixes(), [], [] + for index in range(1, 4): + current, evidence = observer.charge_evidence((None,), (None, None), current, + absolute_error=Fraction(1, 10000), charge_budget=1, charge_accumulator=accumulator) + assert calls[-1] == {'partition_cells': 4} + upper = evidence['upper_sum'] + term = charge_upper_term('a'*64, 'c'*64, 'b'*64, evidence['clock'], evidence['ledgers']) + assert term.interval_sha256 == upper['interval_sha256'] + assert upper['index'] == index and accumulator.count == index + terms.append(term) + certificates.append(UpperStepCertificate(upper['policy_sha256'], index, term, + upper['upper_numerators'], upper['rounded_terms'], upper['slack_upper_bounds'])) + for key, ledger in evidence['ledgers'].items(): + assert ledger['signed_integral_C'][1].center == Fraction(-1, 7) + for name in ('signed_integral_C', 'signed_saved_defect_C', 'interval_reference_error_C', 'interval_total_bound_C'): + assert ledger[name] == old['ledgers'][key][name] + assert current[key].absolute_defects[0] == current[key].absolute_defects[2] == 0 + assert 0 <= current[key].absolute_defects[1]-index*exact[key].absolute_defects[1] < index*accumulator.policy.quantum + # A fresh segment observer shares this accumulator; its history cannot reset. + observer, calls = _synthetic_charge_observer(monkeypatch) + retained = [] + verified = verify_upper_prefix(accumulator.policy, certificates, terms, retain=retained.append) + assert verified.count == 3 and len(retained) == 3 + assert all(v <= accumulator.policy.max_slack_per_channel for v in verified.slack_upper_bounds) + with pytest.raises(ContractError, match='upper_prefix_reset'): + observer.charge_evidence((None,), (None, None), prefixes(), absolute_error=Fraction(1, 10000), + charge_budget=1, charge_accumulator=accumulator) + + +def test_charge_refinement_rejects_foreign_source_before_observation(monkeypatch): + from scripts.benchmarks.interval_observation import ChargePrefix + from scripts.benchmarks.bounded_observation import UpperAccumulator + from scripts.benchmarks.native_observation import charge_upper_policy + observer, calls = _synthetic_charge_observer(monkeypatch) + prefixes = {key: ChargePrefix.start((1,)*3) for key in ('raw_polynomial', 'same_state_affine_tangent')} + with pytest.raises(ContractError, match='upper_source_policy'): + observer.charge_evidence((None,), (None, None), prefixes, absolute_error=Fraction(1, 10000), charge_budget=1, + charge_accumulator=UpperAccumulator(charge_upper_policy('d'*64))) + assert calls == [] + + +def test_charge_refinement_retains_large_signed_integer_words(monkeypatch): + from scripts.benchmarks.interval_observation import ChargePrefix, Enclosure + from scripts.benchmarks.native_history import decode_integer_values, INTEGER_HEX_TAG + from scripts.benchmarks.native_observation import charge_upper_term + observer, _ = _synthetic_charge_observer(monkeypatch) + prefixes = {key: ChargePrefix.start((1,)*3) for key in ('raw_polynomial', 'same_state_affine_tangent')} + _, evidence = observer.charge_evidence((None,), (None, None), prefixes, + absolute_error=Fraction(1, 10000), charge_budget=1) + # Encoding-only fixture, not a physical/arithmetic acceptance record. + signed = Fraction(-1, 2**20000+3) + ledgers = evidence['ledgers'] + ledgers['raw_polynomial']['signed_saved_defect_C'] = (Enclosure(signed), Enclosure(0), Enclosure(0)) + term = charge_upper_term('a'*64, 'c'*64, 'b'*64, evidence['clock'], ledgers) + assert INTEGER_HEX_TAG.encode() in term.signed_evidence + decoded = decode_integer_values(json.loads(term.signed_evidence), {'max_integer_bits': 65536}) + value = decoded['ledgers']['raw_polynomial']['signed_saved_defect_C']['tuple'][0]['center'] + assert Fraction(*value) == signed + ledgers['raw_polynomial']['signed_saved_defect_C'] = (Enclosure(-signed), Enclosure(0), Enclosure(0)) + assert charge_upper_term('a'*64, 'c'*64, 'b'*64, evidence['clock'], ledgers).interval_sha256 != term.interval_sha256 + + +@lru_cache(maxsize=2) +def independent_test_support(filename): + # The old simulator also has a package named tests. Resolve this test's + # own support file explicitly instead of depending on package shadowing. + path = Path(__file__).with_name(filename) + spec = importlib.util.spec_from_file_location('solarlab_observation_'+path.stem, path) + module = importlib.util.module_from_spec(spec) + spec.loader.exec_module(module) + return module + + +def log(request, **values): + def encode(value): + if isinstance(value, Fraction): return [value.numerator, value.denominator] + if isinstance(value, bytes): return {'bytes_sha256': sha256(value).hexdigest(), 'length': len(value)} + if isinstance(value, np.ndarray): return value.tolist() + if hasattr(value, 'payload'): return value.payload() + raise TypeError(type(value).__name__) + if filename := os.environ.get('NATIVE_MAP_CASE_LOG'): + with Path(filename).open('a') as file: + file.write(json.dumps({'test': request.node.nodeid, 'new_native_steps': 0, **values}, + default=encode, allow_nan=False)+'\n') + + +def context(case): + if PLAN is None: + pytest.skip("REAL_DEVICE_PLAN is unset: this device observation requires an explicitly bound plan") + model = AffineCoupledSlab(SlabDefinition.from_plan(PLAN, REPO, case, area=0.37), 8) + mapping = AffineVoltageMap(model) + segments = protocol_from_plan(PLAN, case) + declaration = {'case_id': case, 'segments': [asdict(s) for s in segments], + 'controls': {'test_scope': 'no_solver'}, 'budgets': {}, 'voltage_lift_map': mapping.payload()} + sampling = AffineSamplingContext(model, declaration) + return mapping, tuple(VoltageLiftSegmentAdapter(VoltageLiftAdapter(mapping), sampling, s) for s in segments) + + +def raw_polynomials(mapping): + raw = [Polynomial() for _ in mapping.columns] + for name in ('n_m3', 'p_m3', 'phi_V'): + offset = mapping.model.layout.offsets[name] + sign = -1 if name == 'p_m3' else 1 + for local, row in enumerate(range(offset.start, offset.stop)): + raw[row] = Polynomial((sign*Fraction(local, 2**16), sign*Fraction(local, 2**20))) + return tuple(raw) + + +def middle_clock(segment): + tn = float(segment.start+(segment.end-segment.start)*0.75) + previous = float(segment.start+(segment.end-segment.start)*0.5) + return AcceptedClock(previous, tn, tn-previous, 1, 2, 1, segment.start, segment.end, segment.id) + + +@pytest.mark.parametrize('case', CASES) +def test_exact_map_and_public_full_word_rate(case, request): + mapping, bindings = context(case) + binding = bindings[1] + clock = middle_clock(binding.segment) + raw = raw_polynomials(mapping) + prepared = prepare_physical_polynomial(binding, raw, clock) + z = np.asarray([float(p.at(0)) for p in raw]); z[0] = -0.0 + zdot = np.asarray([float(p.derivative().at(0)/clock.hused) for p in raw]) + inputs, input_rate = binding.segment.inputs(float(clock.tn)) + point, _ = mapping.trial(z, float(clock.tn), inputs) + reading = compare_physical_readback(binding, prepared, point, z, zdot, side='continuous') + ev = prepared.input_errors[0]['uniform_evaluation_bound'] + for row, error in enumerate(reading['physical_state_absolute_error']): + assert error <= abs(rational(mapping.lift[row, 0]))*ev+2*reading['state_action_error_bounds'][row] + expected_rates = tuple(abs(rational(mapping.columns[i])*(rational(zdot[i])-p.derivative().at(0)/clock.hused)) + for i, p in enumerate(raw)) + assert reading['physical_rate_absolute_error'] == expected_rates + assert reading['raw_z_words'] == z.tobytes() + assert len(reading['physical_rate_words']) == 4 + assert prepared.path.clock.hused != 1 + with pytest.raises(ContractError, match='event_side'): + compare_physical_readback(binding, prepared, point, z, zdot, side='left') + log(request, case=case, clock=clock.payload(), mapped_path=prepared.path.identity, + point_identity=point.identity, voltage_bound=ev, rate_errors=expected_rates, + raw_word_hash=sha256(reading['raw_z_words']).hexdigest(), actual_backend_executed=False) + + +@pytest.mark.parametrize('case', CASES) +def test_actual_full_protocol_inputs_and_zero_operations(case, request): + mapping, bindings = context(case) + rows = [] + for binding in bindings: + clock = middle_clock(binding.segment) + bounds = input_evaluation_bounds(binding.segment, clock) + starts, _ = binding.segment.inputs(binding.segment.start) + for fraction in (0., 0.125, 0.5, 0.75, 1.): + t = binding.segment.start+(binding.segment.end-binding.segment.start)*fraction + actual, _ = binding.segment.inputs(t) + for index, row in enumerate(bounds): + line = rational(starts[index])+row['stored_slope']*(rational(t)-rational(binding.segment.start)) + assert abs(rational(actual[index])-line) <= row['uniform_evaluation_bound'] + if binding.segment.id != bindings[1].segment.id or case == CASES[1]: + assert all(row['uniform_evaluation_bound'] == 0 for row in bounds) + prepared = prepare_physical_polynomial(binding, raw_polynomials(mapping), clock) + propagation = propagated_input_error(binding, prepared) + assert propagation['native_admitted'] is False + assert all(v == 0 for v in propagation['affine_observable_error']['storage']) + assert propagation['affine_observable_error']['body_charge'] == (0,) + assert propagation['raw_charge_integral_error_C'][1:] == (0, 0) + rows.append({'segment': binding.segment.id, 'inputs': [dict(x) for x in bounds], + 'voltage_error_V': propagation['voltage_error_V'], + 'raw_current_error_A': propagation['raw_terminal_current_error_A'], + 'forcing_errors': propagation['individual_carrier_generation_error_particles_s']}) + log(request, case=case, complete_original_protocol_end_s=bindings[-1].segment.end, rows=rows) + + +@pytest.mark.parametrize('case', CASES) +def test_correlated_voltage_error_reaches_carrier_and_ion_currents(case, request): + mapping, bindings = context(case); binding = bindings[1] + prepared = prepare_physical_polynomial(binding, raw_polynomials(mapping), middle_clock(binding.segment)) + observer = SlabPathObserver(mapping.model, prepared.path) + carrier, ion = voltage_current_sensitivity(mapping, observer) + arithmetic = _ball_integrator(bits=512) + delta = Fraction(1, 2**40) + phi = mapping.model.layout.offsets['phi_V'] + errors = [] + for sign in (-1, 1): + fields = dict(prepared.path.fields) + fields['phi_V'] = tuple(p+sign*delta*rational(mapping.lift[phi.start+i, 0]) + for i, p in enumerate(fields['phi_V'])) + shifted = replace(prepared.path, fields=fields, + inputs=(prepared.path.inputs[0]+sign*delta, prepared.path.inputs[1]), + coefficient_identity='explicit_non_native_sensitivity_control') + perturbed = SlabPathObserver(mapping.model, shifted) + for u in (-1, Fraction(-1, 2), 0): + for family, coefficients in enumerate((carrier, ion)): + for i, coefficient in enumerate(coefficients): + difference = arithmetic.point(lambda x, a: perturbed.fluxes(arithmetic, x, a)[family][i] + -observer.fluxes(arithmetic, x, a)[family][i], u) + assert abs(difference.center) <= coefficient*delta+difference.radius + errors.append({'sign': sign, 'coordinate': u, 'family': family, 'face': i, + 'difference': difference, 'bound': coefficient*delta}) + log(request, case=case, explicit_perturbation_V=delta, face_checks=errors, + scope='uniform sensitivity of the fixed physical formulas; not a native path') + + +def packet(*, size=3, previous=0.0, tn=0.25, hused=None, owner='synthetic-owner-A', generation=1, + nsteps=1, previous_y=None, endpoint_y=None, previous_rate=None, endpoint_rate=None): + """Clearly synthetic interface fixture, never a historical/native record.""" + hused = float(tn-previous) if hused is None else float(hused) + z0 = np.zeros(size) if previous_y is None else np.asarray(previous_y) + z1 = np.zeros(size) if endpoint_y is None else np.asarray(endpoint_y) + phi = np.vstack((z1, z1-z0)); psi = np.array([hused]) + rates = np.asarray((z1-z0)/hused) + source = ('sksundae.ida.accepted-step-observation.v1', 'scikit-sundae=1.1.3', + 'explicit-synthetic-unit-fixture-no-build', 'no-extension-executed', ('double',), + HEADER, sha256(b'synthetic config').hexdigest(), ('no-native-library',)) + binding_id = sha256(repr(source).encode()).hexdigest() + stamp = {'nsteps': nsteps, 'tn': float(tn), 'hused': hused, 'kused': 1, 'hh': hused, + 'kk': 1, 'statuses': tuple((name, 0) for name in STAMP_NAMES)} + def point(time, steps, values, supplied_rate): + y, yp = values.tobytes(), (rates if supplied_rate is None else np.asarray(supplied_rate, dtype=float)).tobytes() + return {'owner': owner, 'generation': generation, 'nsteps': steps, 'internal_t': float(time), + 'output_t': float(time), 'native_status': 0, 'raw_y': y, 'raw_yp': yp, + 'identity': (owner, generation, steps, float(time).hex(), float(time).hex(), sha256(y+yp).hexdigest())} + prev, end = point(previous, nsteps-1, z0, previous_rate), point(tn, nsteps, z1, endpoint_rate) + result = {'schema': source[0], 'binding': {'source': source, 'identity': binding_id}, + 'owner': owner, 'generation': generation, 'native_before': copy.deepcopy(stamp), + 'native_after': copy.deepcopy(stamp), 'step_key': (binding_id, owner, generation, nsteps, + float(tn).hex(), hused.hex(), 1, hused.hex(), 1), 'predecessor': prev, 'endpoint': end, + 'dtype': 'result[key][i].radius for i in indices) + inventory=observer.affine['ion_inventory'] + assert inventory['right'][0]-inventory['left'][0]==expected['ion_inventory_change_particles'] + evaluate=lambda coefficients,s: sum((v*s**i for i,v in enumerate(coefficients)),Fraction(0)) + point_checks=[] + for s in (Fraction(0),Fraction(1,2),Fraction(1)): + gauss=prepared.path.action(mapping.model.linear_forms['state']['gauss_defect'])[0].at(s-1) + assert gauss==evaluate(expected['gauss_defect_C'],s) and gauss!=0 + with arithmetic.flint.ctx.workprec(arithmetic.bits): + currents=observer.currents(arithmetic,arithmetic.number(s-1)) + for key,reference_key in [('raw_polynomial_current','raw_current_A'), + ('same_state_affine_tangent_current','tangent_current_A')]: + for i,value in enumerate(currents[key]): + bound=arithmetic.enclosure(value); exact=evaluate(expected[reference_key][i],s) + assert abs(bound.center-exact)<=bound.radius + point_checks.append(dict(s=s,key=key,side=i,actual=bound,expected=exact)) + assert expected['ion_inventory_change_particles']>0 + assert expected['raw_defects_C'][0]!=0 and expected['raw_defects_C'][1:]==[0,0] + assert any(v!=0 for v in expected['gauss_defect_C']) + assert all(v!=0 for v in expected['tangent_defects_C']) + assert prepared.path.inputs[0].derivative().at(0)/k['H']!=0 + for name in ('n_m3','p_m3','c_m3','f','phi_V'): + assert any(p.derivative().at(0)!=0 for p in prepared.path.fields[name]) + # A separately named algebraic history of supplied polynomial endpoints. + native=lambda u: dict(time=float(prepared.path.clock.tn+prepared.path.clock.hused*u), + z=np.array([float(p.at(u)) for p in prepared.raw_polynomials]), + zdot=np.array([float(p.derivative().at(u)/k['H']) for p in prepared.raw_polynomials])) + left=supplied_pair(mapping,binding,native(-1)); right=supplied_pair(mapping,binding,native(0),left[0]) + left_read=compare_physical_readback(binding,prepared,left[0],native(-1)['z'],native(-1)['zdot'],side='continuous') + right_read=compare_physical_readback(binding,prepared,right[0],native(0)['z'],native(0)['zdot'],side='continuous') + assert len(left_read['physical_rate_words'])==len(right_read['physical_rate_words'])==4 + # The representable synthetic endpoint packet is a different, explicitly + # labelled path. It must reject the manufactured inventory drift too. + rounded=read(packet(size=mapping.model.layout.size,previous=float(prepared.path.clock.predecessor), + tn=float(prepared.path.clock.tn),previous_y=native(-1)['z'],endpoint_y=native(0)['z'])) + domains=AcceptedIntervalObserver(binding,rounded,arithmetic=arithmetic).path_domain_evidence( + original_native_request(CASES[1])['budgets']) + assert not domains['passed'] and not domains['checks']['ion_inventory'] + log(request,oracle_source_sha256=oracle_source,actual_SI_parameters=k,fields_in_s=fields, + expected=expected,actual_charge_changes=actual_changes,actual_charge_defects=actual_defects, + integrals=result,point_checks=point_checks, + source_map=mapping.identity,source_reference=mapping.reference_identity,path_identity=prepared.path.identity, + native_coefficients_acquired=False,DAE_or_conservation_pass=False, + rounded_packet_inventory_gate_rejected=True, + explicit_negative_results=['nonzero ion inventory change','nonzero Gauss','nonzero body and tangent defects']) + + +@pytest.mark.parametrize('case',CASES) +def test_point_source_readback_bounds_and_current_gate(case,request): + decimal_currents=independent_test_support('test_interval_observation.py').decimal_currents + + mapping,bindings=context(case); binding=bindings[1] + clock=middle_clock(binding.segment) + prepared=prepare_physical_polynomial(binding,raw_polynomials(mapping),clock) + time=float(clock.tn) + z=np.array([float(p.at(0)) for p in prepared.raw_polynomials]) + zdot=np.array([float(p.derivative().at(0)/clock.hused) for p in prepared.raw_polynomials]) + # A deliberately different supplied rate is preserved and bounded, not + # replaced by the polynomial or a tangent before observing currents. + zdot[mapping.model.layout.offsets['phi_V'].stop-1]+=2.**-24 + native=dict(time=time,z=z,zdot=zdot) + pair=supplied_pair(mapping,binding,native) + evidence=readback_current_evidence(binding,prepared,pair,z,zdot,_ball_integrator(),1.e-300) + assert not evidence['passed'] + assert evidence['input_error_included_once'] and not evidence['native_rate_or_state_changed'] + actual=evidence['readback']['physical_state_enclosures'] + rate_words=tuple(np.frombuffer(word,dtype='=endpoint[i] + assert ledger['interval_reference_error_C'][i]==sum(row[i] for row in terms.values()) + assert ledger['prefix_reference_error_C'][i]==ledger['interval_reference_error_C'][i] + # Input-at-endpoint uncertainty has not been appended a second time. + assert set(terms)=={'endpoint','input','clock_strip','raw_tangent_departure','integration'} + assert terms['input']==inputs['raw_charge_integral_error_C' if name=='raw_polynomial' + else 'tangent_charge_integral_error_C'] + sample=observer.reconstruction(float((selected.predecessor+selected.tn)/2)) + assert sample['native_output'] is False + history=VoltageLiftHistory(mapping) + p,delta,rate,saved=history.build_sample(sample['z'],sample['time'],binding.segment.inputs(sample['time'])[0], + left[0],sample['zdot'],binding.segment.inputs(sample['time'])[1],origin='declared_polynomial') + restored=history.restore(history.reference_record,saved,left[0]) + assert restored[0].identity==p.identity + assert saved['origin']=='declared_polynomial' and len(saved['physical_rate_words_hex'])==4 + corrupted=dict(inputs); corrupted.pop('raw_charge_integral_error_C') + monkeypatch.setattr(implementation,'propagated_input_error',lambda *args:corrupted) + with pytest.raises(ContractError,match='missing_input_error_term:raw_charge_integral_error_C'): + observer.charge_evidence(left,right,prefixes,absolute_error=rational(budget)/4096,charge_budget=budget) + log(request,case=case,observation=evidence,prefixes_unchanged_on_input_object=True, + sample_origin=saved['origin'],history_original_bytes_restored=True, + missing_input_term_rejected=True,full_device_qualification=False) + + +@pytest.mark.parametrize('case',CASES) +def test_controller_requires_new_source_bound_review_before_backend(case,request): + from scripts.benchmarks.coupled_device_prototype import ( + digest, run_voltage_lift_native_pilot, + ) + import sys + + # The old request belongs to its original frozen source location. Build + # a new source-bound request using the public material/geometry checks; + # never rewrite its historical model/map identities to make it validate. + m,mapping,segments,proposal,original,previous=current_controller_input(case) + ready=copy.deepcopy(proposal) + pins={str(REPO/'scripts/benchmarks'/name):sha256((REPO/'scripts/benchmarks'/name).read_bytes()).hexdigest() + for name in ('coupled_device_prototype.py','native_observation.py','interval_observation.py','runtime_timing.py')} + admission={'request_sha256':digest(proposal),'map_identity':mapping.identity, + 'voltage_lift_native_authorized':True,'coordinator_message':'msg_unit_fixture_no_native_authority', + 'source_sha256':pins} + with pytest.raises(ContractError,match='full_word_native_observation_policy_unqualified'): + run_voltage_lift_native_pilot(mapping,segments,proposal,admission,lambda _:pytest.fail('unadmitted output')) + assert 'sksundae' not in sys.modules + policy=prepare_interval_observation_policy(proposal,binding_identity='a'*64,header_sha256=HEADER, + backend_modules={}) + proposal['interval_observation']=policy + admission.update(request_sha256=digest(proposal),interval_observation_authorized=True, + interval_observation_policy_sha256=digest(policy)) + with pytest.raises(ContractError,match='independent_review_missing'): + run_voltage_lift_native_pilot(mapping,segments,proposal,admission,lambda _:pytest.fail('unreviewed output')) + assert 'sksundae' not in sys.modules + assert proposal['segments']==original['segments'] and proposal['budgets']==original['budgets'] + assert proposal['observation_times']==original['observation_times'] and proposal['quadrature']==original['quadrature'] + assert proposal['controls']==original['controls'] + assert digest({k:v for k,v in proposal['weight_certificate'].items() if k!='map_identity'})==digest( + {k:v for k,v in original['weight_certificate'].items() if k!='map_identity'}) + assert proposal['map_identity']!=original['map_identity'] + if folder:=os.environ.get('INTERVAL_PREPARED_REQUESTS'): + destination=Path(folder)/(case+'.json');destination.parent.mkdir(exist_ok=True) + with destination.open('x') as f: + json.dump(ready,f,indent=2,allow_nan=False);f.write('\n') + log(request,case=case,complete_protocol_s=segments[-1].end,all_original_limits_retained=True, + old_request_digest=digest(original),new_request_digest=digest(ready), + previous_request_digest=digest(previous),new_source_path=m.definition.source_path, + old_source_path=original['numeric_packet']['definition']['source_path'], + missing_policy_and_review_rejected=True,native_backend_imported=False,native_steps=0) + + +@pytest.mark.parametrize('case',CASES) +def test_current_request_metadata_keeps_all_numeric_words(case,request): + from scripts.benchmarks.coupled_device_prototype import digest + + m,mapping,segments,proposal,original,previous=current_controller_input(case) + paths=json.loads(Path(os.environ['INTERVAL_PRIOR_PREPARED_REQUESTS']).read_text()) + before=json.loads(Path(paths[case]).read_text()) + def numeric_words(value,path=()): + if isinstance(value,dict): + return [row for key,item in sorted(value.items()) for row in numeric_words(item,(*path,key))] + if isinstance(value,(list,tuple)): + return [row for i,item in enumerate(value) for row in numeric_words(item,(*path,str(i)))] + if type(value) is float:return [(path,'float',value.hex())] + if type(value) in (int,bool):return [(path,type(value).__name__,str(value))] + if isinstance(value,str) and value.lstrip('-').startswith('0x'): + return [(path,'stored_hex_word',value)] + return [] + before_words,after_words=numeric_words(before),numeric_words(proposal) + assert before_words==after_words + assert 'declared_polynomial' in proposal['history_policy'] + assert 'counterfactual' in proposal['projection_policy']['interval'] + assert 'E32+abs' not in proposal['projection_policy']['interval'] + assert 'request.interval_observation' in proposal['observation_policy_authority'] + assert proposal['full_word_consumer_qualification']['native_policy_admitted'] is False + if folder:=os.environ.get('INTERVAL_PREPARED_REQUESTS'): + destination=Path(folder)/(case+'.json');destination.parent.mkdir(exist_ok=True) + with destination.open('x') as f:json.dump(proposal,f,indent=2,allow_nan=False);f.write('\n') + log(request,case=case,numeric_word_count=len(after_words),all_numeric_words_equal=True, + previous_request_digest=digest(before),current_request_digest=digest(proposal), + original44_digest=digest(original),original_affine_digest=digest(previous), + actual_source_path=m.definition.source_path,actual_map_identity=mapping.identity, + complete_protocol_s=segments[-1].end,native_admitted=False) diff --git a/tests/numerical_contracts/test_native_readback.py b/tests/numerical_contracts/test_native_readback.py new file mode 100644 index 00000000..d28e48df --- /dev/null +++ b/tests/numerical_contracts/test_native_readback.py @@ -0,0 +1,2102 @@ +"""Small artifact-corruption tests; fixtures are not a physical native run. + +Only stdlib and the recording/readback modules are imported. The fixture has two +event sides, three accepted intervals, both current words, and repeated queries +across the 8/16/32 tables. It asserts infrastructure integrity, not numerical +correctness of the invented states or the recorded scientific assertions. +""" +from copy import deepcopy +from fractions import Fraction +import hashlib +import json + + +import os +from pathlib import Path +import struct +import subprocess +import sys +import tempfile +import time +import unittest +from unittest.mock import patch +import zlib + +from scripts.benchmarks.native_history import HistoryWriter, encode_integer_values, integer_io_observed, integer_json_dumps +from scripts.benchmarks.native_readback import HistoryVerificationError, verify_history, _Protocol, _native_packet + + +class StatisticsInitializationTests(unittest.TestCase): + """The actual collector body and independent reader; no native/model calls.""" + @classmethod + def setUpClass(cls): + import ast + import math + source = Path(__file__).resolve().parents[2] / "scripts/benchmarks/coupled_device_prototype.py" + tree = ast.parse(source.read_bytes()) + selected = [node for node in tree.body if + (isinstance(node, ast.FunctionDef) and node.name == "ida_statistics_snapshot") or + (isinstance(node, ast.Assign) and any(isinstance(t, ast.Name) + and t.id == "_IDA_COUNTER_FIELDS" for t in node.targets))] + cls.error = type("CounterContractError", (RuntimeError,), {}) + ns = {"json": json, "math": math, "ContractError": cls.error} + exec(compile(ast.Module(body=selected, type_ignores=[]), str(source), "exec"), ns) + cls.collector = staticmethod(ns["ida_statistics_snapshot"]) + cls.fields = ns["_IDA_COUNTER_FIELDS"] + + def raw(self, steps, jacobian): + value = {key: 0 for key in self.fields} + value.update(num_steps=steps, jacobian_evals=jacobian, current_time=1.0 + steps / 100, + observation_owner="manufactured-owner", observation_generation=4) + return value + + def collect(self, raw, phase, before=None, logical=True): + from types import SimpleNamespace + return self.collector(SimpleNamespace(statistics=lambda: raw), "hold", 4, phase, 2., + raw["current_time"] if phase == "after_onestep" else None, + before=before, logical_initialization=logical) + + def protocol(self, before): + from types import SimpleNamespace + protocol = _Protocol.__new__(_Protocol) + protocol.segment = {"id": before["segment_id"], "start": before["raw_statistics"]["current_time"], "end": 2.} + protocol.numeric_ordinal = protocol.ordinal = before["logical_initialization_index"] + protocol.startup = SimpleNamespace(consume=lambda row: None) + protocol.segment_frame = SimpleNamespace(enabled=False) + protocol.diagnostic = None + protocol.native_owner = None + protocol.steps = 0 + return protocol + + def initialization(self, before): + initial = deepcopy(before) + initial.update(phase="initialization_return", requested_time_hex=before["internal_time_hex"], + returned_time_hex=before["internal_time_hex"], method_state_valid=False) + initial["raw_statistics"]["num_steps"] = 0 + return initial + + def reader(self, before, after, initial=None): + from types import SimpleNamespace + protocol = self.protocol(before) + rows = iter([self.initialization(before) if initial is None else initial, before, after]) + protocol.rows = SimpleNamespace(take=lambda: next(rows)) + protocol._statistics("initialization_return", protocol.segment["start"]) + previous = protocol._statistics("before_onestep") + return protocol._statistics("after_onestep", previous=previous) + + def test_retained_jacobian_reset_preserves_raw_and_nonnegative_work(self): + # The installed Build03 scalar confirmation observed retained nje=12. + before = self.collect(self.raw(0, 12), "before_onestep") + after = self.collect(self.raw(1, 1), "after_onestep", before) + self.assertEqual(before["raw_statistics"]["jacobian_evals"], 12) + self.assertEqual(after["raw_statistics"]["jacobian_evals"], 1) + self.assertEqual(after["work_since_before"]["jacobian_evals"], 1) + self.assertTrue(all(v >= 0 for v in after["work_since_before"].values())) + self.assertEqual(self.reader(before, after), after["raw_statistics"]) + + def test_first_solve_work_is_current_total_even_without_a_drop(self): + before = self.collect(self.raw(0, 1), "before_onestep") + after = self.collect(self.raw(1, 3), "after_onestep", before) + self.assertEqual(after["work_since_before"]["jacobian_evals"], 3) + self.reader(before, after) + + def test_later_jacobian_and_all_six_core_regressions_still_fail(self): + pairs = [(self.raw(1, 17), self.raw(2, 1), "jacobian_evals")] + for key in self.fields: + if key == "jacobian_evals": + continue + old, new = self.raw(0, 17), self.raw(1, 1) + old[key], new[key] = 3, 2 + pairs.append((old, new, key)) + for old, new, key in pairs: + with self.subTest(counter=key): + before = self.collect(old, "before_onestep") + with self.assertRaisesRegex(self.error, "counter_regressed") as caught: + self.collect(new, "after_onestep", before) + evidence = caught.exception.native_statistics_evidence + self.assertIn(key, evidence["rejected_fields"]) + self.assertEqual(evidence["before"]["raw_statistics"], old) + self.assertEqual(evidence["after"]["raw_statistics"], new) + + def test_native_owner_or_generation_change_is_not_a_reset(self): + before = self.collect(self.raw(0, 17), "before_onestep") + for key, value in (("observation_owner", "foreign"), ("observation_generation", 5)): + raw = self.raw(1, 1) + raw[key] = value + with self.assertRaisesRegex(self.error, "generation_mismatch") as caught: + self.collect(raw, "after_onestep", before) + self.assertEqual(caught.exception.native_statistics_evidence["after"]["raw_statistics"], raw) + + def test_zero_step_failed_call_and_unmarked_scope_cannot_claim_reset(self): + before = self.collect(self.raw(0, 17), "before_onestep") + with self.assertRaisesRegex(self.error, "counter_regressed"): + self.collect(self.raw(0, 0), "onestep_exception", before) + legacy = self.collect(self.raw(0, 17), "before_onestep", logical=False) + with self.assertRaisesRegex(self.error, "counter_regressed"): + self.collect(self.raw(1, 1), "after_onestep", legacy, logical=False) + + def test_reader_rejects_forged_basis_mixed_scope_and_wrong_work(self): + before = self.collect(self.raw(0, 17), "before_onestep") + after = self.collect(self.raw(1, 1), "after_onestep", before) + for mutation in (lambda row: row.pop("jacobian_work_basis"), + lambda row: row.pop("jacobian_counter_phase"), + lambda row: row["work_since_before"].update(jacobian_evals=0), + lambda row: row["work_since_before"].update(jacobian_evals=True), + lambda row: row["raw_statistics"].update(observation_generation=5)): + bad = deepcopy(after) + mutation(bad) + with self.assertRaises(HistoryVerificationError): + self.reader(before, bad) + + def test_reader_legacy_rows_keep_original_strict_delta_contract(self): + before = self.collect(self.raw(0, 0), "before_onestep") + after = self.collect(self.raw(1, 1), "after_onestep", before) + before.pop("jacobian_counter_phase") + after.pop("jacobian_counter_phase") + after.pop("jacobian_work_basis") + self.reader(before, after) + before["raw_statistics"]["jacobian_evals"] = 17 + with self.assertRaises(HistoryVerificationError): + self.reader(before, after) + + def test_reader_mode_cannot_change_after_initialization(self): + before = self.collect(self.raw(0, 12), "before_onestep") + after = self.collect(self.raw(1, 1), "after_onestep", before) + initial = self.initialization(before) + initial.pop("jacobian_counter_phase") + with self.assertRaisesRegex(HistoryVerificationError, "statistics_jacobian_scope_changed"): + self.reader(before, after, initial) + # No counter drop is needed to detect the reverse mode switch. + before = self.collect(self.raw(0, 0), "before_onestep") + after = self.collect(self.raw(1, 1), "after_onestep", before) + initial = self.initialization(before) + before.pop("jacobian_counter_phase") + after.pop("jacobian_counter_phase") + after.pop("jacobian_work_basis") + with self.assertRaisesRegex(HistoryVerificationError, "statistics_jacobian_scope_changed"): + self.reader(before, after, initial) + + def test_reader_requires_supported_initial_counter_context(self): + from types import SimpleNamespace + before = self.collect(self.raw(0, 12), "before_onestep") + after = self.collect(self.raw(1, 1), "after_onestep", before) + for edit in (lambda r: r.update(jacobian_counter_phase="unknown"), + lambda r: r.update(jacobian_work_basis="first_solve_current_total"), + lambda r: (r["raw_statistics"].update(num_steps=1), + r.update(method_state_valid=True, jacobian_counter_phase="current_initialization"))): + initial = self.initialization(before) + edit(initial) + with self.assertRaises(HistoryVerificationError): + self.reader(before, after, initial) + protocol = self.protocol(before) + protocol.native_owner = ("manufactured-owner", 4) + protocol.rows = SimpleNamespace(take=lambda: before) + with self.assertRaisesRegex(HistoryVerificationError, "statistics_jacobian_scope_changed"): + protocol._statistics("before_onestep") + with self.assertRaisesRegex(HistoryVerificationError, "statistics_phase"): + protocol._statistics("unsupported") + + def test_refresh_establishes_and_retains_its_counter_mode(self): + from types import SimpleNamespace + before = self.collect(self.raw(0, 12), "before_onestep") + protocol = self.protocol(before) + initial = self.initialization(before) + initial.pop("jacobian_counter_phase") + protocol.rows = SimpleNamespace(take=lambda: initial) + protocol._statistics("initialization_return", 1.) + refresh = self.initialization(before) + refresh.update(phase="reference_refresh_return", logical_initialization_index=5) + refresh["raw_statistics"]["observation_generation"] = 5 + protocol.numeric_ordinal = 5 + protocol.segment_frame = SimpleNamespace(enabled=True, active={"t0_hex": 1.0.hex()}, + weight_state=lambda *a, **k: None, refresh_work=lambda row: None) + protocol.rows = SimpleNamespace(take=lambda: refresh) + protocol._statistics("reference_refresh_return", 1.) + before["logical_initialization_index"] = 5 + before["raw_statistics"]["observation_generation"] = 5 + after = self.collect(self.raw(1, 1), "after_onestep") + after["logical_initialization_index"] = 5 + after["raw_statistics"]["observation_generation"] = 5 + after.update(jacobian_work_basis="first_solve_current_total", + work_since_before={key: after["raw_statistics"][key] for key in self.fields}) + protocol.rows = SimpleNamespace(take=lambda: before) + previous = protocol._statistics("before_onestep") + protocol.rows = SimpleNamespace(take=lambda: after) + protocol._statistics("after_onestep", previous=previous) + before.pop("jacobian_counter_phase") + protocol.rows = SimpleNamespace(take=lambda: before) + with self.assertRaisesRegex(HistoryVerificationError, "statistics_jacobian_scope_changed"): + protocol._statistics("before_onestep") + + def test_counter_pair_survives_native_failure_result_publication(self): + import ast + from types import SimpleNamespace + source = Path(__file__).resolve().parents[2] / "scripts/benchmarks/coupled_device_prototype.py" + tree = ast.parse(source.read_bytes()) + function = next(n for n in tree.body if isinstance(n, ast.FunctionDef) + and n.name == "run_voltage_lift_native_pilot") + handler = next(n for n in ast.walk(function) if isinstance(n, ast.ExceptHandler) + and any(isinstance(v, ast.Constant) and v.value == "failed_bounded_voltage_lift_native_pilot" + for v in ast.walk(n))) + error = self.error("native_statistics_counter_regressed") + error.native_statistics_evidence = {"before": self.raw(1, 17), "after": self.raw(2, 1)} + ns = {"error": error, "first_failure": None, "last_attempt": {"phase": "native_step"}, + "traceback": SimpleNamespace(format_exc=lambda: "manufactured traceback")} + exec(compile(ast.Module(body=handler.body, type_ignores=[]), str(source), "exec"), ns) + self.assertEqual(ns["result"]["native_statistics_evidence"], error.native_statistics_evidence) + self.assertEqual(ns["result"]["reason"], "native_statistics_counter_regressed") + scope = next(n.value for n in ast.walk(function) + if isinstance(n, ast.keyword) and n.arg == "cumulative_scope") + text = eval(compile(ast.Expression(scope), str(source), "eval"), ns) + self.assertIn("through last observed interval only", text) + self.assertIn("did not reach interval observation", text) + + def test_early_invalid_counter_preserves_pair_and_failure_scope(self): + import ast + from types import SimpleNamespace + before = self.collect(self.raw(0, 12), "before_onestep") + invalid = self.raw(1, 1) + invalid["residual_evals"] = -1 + with self.assertRaisesRegex(self.error, "invalid_native_statistics_counter") as caught: + self.collect(invalid, "after_onestep", before) + evidence = caught.exception.native_statistics_evidence + self.assertEqual(evidence["before"], before) + self.assertEqual(evidence["after"]["raw_statistics"], invalid) + self.assertEqual(evidence["rejected_fields"], ["residual_evals"]) + self.assertEqual(evidence["raw_counter_differences"]["residual_evals"], -1) + source = Path(__file__).resolve().parents[2] / "scripts/benchmarks/coupled_device_prototype.py" + function = next(n for n in ast.parse(source.read_bytes()).body + if isinstance(n, ast.FunctionDef) and n.name == "run_voltage_lift_native_pilot") + handler = next(n for n in ast.walk(function) if isinstance(n, ast.ExceptHandler) + and any(isinstance(v, ast.Constant) and v.value == "failed_bounded_voltage_lift_native_pilot" + for v in ast.walk(n))) + ns = dict(error=caught.exception, first_failure=None, last_attempt={"phase": "native_return"}, + traceback=SimpleNamespace(format_exc=lambda: "manufactured traceback")) + exec(compile(ast.Module(body=handler.body, type_ignores=[]), str(source), "exec"), ns) + self.assertEqual(ns["result"]["native_statistics_evidence"], evidence) + scope = next(n.value for n in ast.walk(function) + if isinstance(n, ast.keyword) and n.arg == "cumulative_scope") + self.assertIn("did not reach interval observation", + eval(compile(ast.Expression(scope), str(source), "eval"), ns)) + + def test_native_return_is_preserved_before_counter_failure(self): + import ast + from contextlib import nullcontext + from types import SimpleNamespace + source = Path(__file__).resolve().parents[2] / "scripts/benchmarks/coupled_device_prototype.py" + function = next(n for n in ast.parse(source.read_bytes()).body + if isinstance(n, ast.FunctionDef) and n.name == "run_voltage_lift_native_pilot") + receipt = next(n for n in ast.walk(function) + if isinstance(n, ast.FunctionDef) and n.name == "snapshot_receipt") + loop = next(n for n in ast.walk(function) if isinstance(n, ast.While) + and ast.unparse(n.test) == "left.time < segment.end") + attempt_index = next(i for i, n in enumerate(loop.body) if isinstance(n, ast.Try)) + nodes = loop.body[attempt_index:attempt_index+2] + native = dict(time=1.01, success=True, status=0, message="manufactured", + z=[-0.0, 1.0], zdot=[0.0, -1.0]) + error = self.error("native_statistics_counter_regressed") + error.native_statistics_evidence = {"before": self.raw(1, 17), "after": self.raw(2, 1)} + def reject(*args, **kwargs): + raise error + ns = dict(solver=SimpleNamespace(step=lambda *a, **k: native), + timing=SimpleNamespace(phase=lambda name: nullcontext()), + snapshot_solver_result=lambda value: value, segment=SimpleNamespace(id="hold", end=2.), + diagnostic=False, numeric_ordinal=4, before_stats={}, ida_statistics_snapshot=reject) + exec(compile(ast.Module(body=[receipt], type_ignores=[]), str(source), "exec"), ns) + with self.assertRaisesRegex(self.error, "counter_regressed"): + exec(compile(ast.Module(body=nodes, type_ignores=[]), str(source), "exec"), ns) + self.assertEqual(ns["last_attempt"], dict(phase="native_return", segment_id="hold", + time_hex=1.01.hex(), success=True, status=0, message="manufactured", + z_hex=[(-0.0).hex(), 1.0.hex()], zdot_hex=[0.0.hex(), (-1.0).hex()])) + + # Failed native calls retain both the original exception and the + # statistics guard's raw pair in the unavailable-statistics record. + original = RuntimeError("native step failed") + def fail_step(*args, **kwargs): + raise original + saved = [] + ns["solver"] = SimpleNamespace(step=fail_step) + ns["save"] = saved.append + with self.assertRaisesRegex(RuntimeError, "native step failed") as caught: + exec(compile(ast.Module(body=nodes, type_ignores=[]), str(source), "exec"), ns) + self.assertIs(caught.exception, original) + self.assertEqual(original.native_statistics_evidence, error.native_statistics_evidence) + self.assertEqual(saved[0]["native_statistics_evidence"], error.native_statistics_evidence) + + +def digest(value): + return hashlib.sha256(json.dumps(value, sort_keys=True, separators=(",", ":"), allow_nan=False).encode()).hexdigest() + + +def tag(value): + if type(value) is Fraction: + return {"rational": [value.numerator, value.denominator]} + if type(value) is bytes: + return {"bytes_hex": value.hex()} + if type(value) is float: + return {"binary64": value.hex()} + if type(value) is tuple: + return {"tuple": [tag(v) for v in value]} + if type(value) is dict: + return {k: tag(v) for k, v in value.items()} + if type(value) is list: + return [tag(v) for v in value] + return value + + +def frame_id(value): + def typed(v): + if type(v) is dict: + return ["mapping", [[k, typed(v[k])] for k in sorted(v)]] + if type(v) is tuple: + return ["tuple", [typed(w) for w in v]] + if type(v) is bytes: + return ["bytes", v.hex()] + if type(v) is float: + return ["binary64", v.hex()] + return [type(v).__name__, v] + return digest(typed(value)) + + +def words(value, size=6): + return [float(value).hex()] * size + + +def binary(values): + return struct.pack(f"<{len(values)}d", *(float.fromhex(v) for v in values)) + + +def double(size): + return {"high_hex": words(1, size), "low_hex": words(2**-60, size)} + + +class InitialSampleReadbackTests(unittest.TestCase): + """Opaque invented metadata exercises identity and exact-word corruption.""" + + def make(self): + seed = "a"*64 + state = [[float(2.**(-54*i)).hex()]*3 for i in range(12)] + rate = [[float(2.**(-54*i-2)).hex()]*3 for i in range(12)] + accepted = dict(Point_identity=seed, physical_state_words_hex=state, + physical_rate_words_hex=rate, inputs_hex=words(0, 2), input_rates_hex=words(0, 2)) + restore = dict(base_Point_identity=seed, Point={"opaque_saved_identity": seed, "prior": "c"*64}) + proof = dict(point_identity=seed, Point=deepcopy(restore["Point"]), time_hex=0.375.hex(), + map_identity="d"*64, raw_z_hex=words(0, 3), raw_zdot_hex=words(0.125, 3), + inputs_hex=words(0, 2), input_rates_hex=words(0, 2), mapped_physical_rate_words_hex=deepcopy(rate)) + history = dict(point_identity="b"*64, predecessor_identity=seed, time_hex=proof["time_hex"], + map_identity=proof["map_identity"], raw_solver_z_hex=words(0, 3), + raw_solver_zdot_hex=words(0.125, 3), inputs_hex=words(0, 2), input_rates_hex=words(0, 2), + physical_cumulative_words_hex=deepcopy(state), physical_rate_words_hex=deepcopy(rate)) + protocol = object.__new__(_Protocol) + protocol.diagnostic = dict(accepted=accepted, restore=restore) + return protocol, {"history": history}, proof + + def test_new_sample_identity_retains_saved_predecessor_and_all_words(self): + protocol, row, proof = self.make() + original = deepcopy((row, proof, protocol.diagnostic)) + self.assertNotEqual(row["history"]["point_identity"], proof["point_identity"]) + protocol._initialization_sample(row, proof) + self.assertEqual((row, proof, protocol.diagnostic), original) + + def test_ordinary_initialization_still_requires_the_same_point(self): + protocol, row, proof = self.make() + protocol.diagnostic = None + with self.assertRaisesRegex(HistoryVerificationError, "initialization_words"): + protocol._initialization_sample(row, proof) + row["history"]["point_identity"] = proof["point_identity"] + protocol._initialization_sample(row, proof) + + def test_changed_saved_relation_or_low_words_cannot_pass(self): + mutations = [ + lambda h,p,d: h.update(predecessor_identity="e"*64), + lambda h,p,d: h.update(point_identity=p["point_identity"]), + lambda h,p,d: h.update(time_hex=0.5.hex()), + lambda h,p,d: h.update(map_identity="e"*64), + lambda h,p,d: h["raw_solver_z_hex"].__setitem__(0, (-0.0).hex()), + lambda h,p,d: h["raw_solver_zdot_hex"].__setitem__(0, 0.0.hex()), + lambda h,p,d: h["inputs_hex"].__setitem__(0, 1.0.hex()), + lambda h,p,d: h["input_rates_hex"].__setitem__(0, 1.0.hex()), + lambda h,p,d: p["Point"].update(prior="e"*64), + lambda h,p,d: d["accepted"].update(Point_identity="e"*64), + lambda h,p,d: p["mapped_physical_rate_words_hex"][11].__setitem__(0, 0.0.hex()), + ] + for field in ("physical_cumulative_words_hex", "physical_rate_words_hex"): + for index in (0, 4, 11): + mutations.append(lambda h,p,d,field=field,index=index: h[field][index].__setitem__(0, 0.0.hex())) + for index, mutate in enumerate(mutations): + with self.subTest(index=index): + protocol, row, proof = self.make() + mutate(row["history"], proof, protocol.diagnostic) + with self.assertRaises(HistoryVerificationError): + protocol._initialization_sample(row, proof) + + +class SegmentFrameReadbackTests(unittest.TestCase): + """Six-component invented data test the independent reader, not IDA.""" + + def test_mapped12_interval_enclosures_retain_fifth_and_final_words(self): + from scripts.benchmarks.native_readback import SegmentFrameCheck, _frame_word_values + + layers = [[float(2.**(-54*i)).hex()] for i in range(12)] + exact = sum((Fraction(float.fromhex(w[0])) for w in layers), Fraction()) + check = object.__new__(SegmentFrameCheck) + check.size, check.input_words = 1, 12 + check.polynomial_tn, check.polynomial_h = Fraction(0), Fraction(1) + check.reference_values = (Fraction(3),) + check.physical_polynomials = ((Fraction(3)+exact, exact),) + pair = lambda v: [v.numerator, v.denominator] + evidence = {"physical_state_enclosures": [{"center": pair(Fraction(3)+exact), "absolute_error_bound": [0, 1]}], + "physical_state_absolute_error": (Fraction(0),), "physical_rate_absolute_error": (Fraction(0),)} + history = {"time_hex": 0.0.hex(), "physical_cumulative_words_hex": deepcopy(layers), "physical_rate_words_hex": deepcopy(layers)} + check.readback(evidence, history) + self.assertEqual(_frame_word_values(layers, 1, count=12), (exact,)) + with self.assertRaises(HistoryVerificationError): + _frame_word_values(layers, 1) # raw Q0/V0 remains exactly four + for key in ("physical_cumulative_words_hex", "physical_rate_words_hex"): + for index in (4, 11): + bad = deepcopy(history); bad[key][index] = [0.0.hex()] + with self.assertRaises(HistoryVerificationError): + check.readback(evidence, bad) + + def make(self): + from scripts.benchmarks.native_readback import SegmentFrameCheck + + n = 6; zero = words(0, n); rate = [float(2*(i+1)).hex() for i in range(n)] + segment = dict(id="unit", start=0.0, end=1.0, voltage=[0.0, 0.0], photons=[0.0, 0.0]) + mapping = dict(physical_model="a"*64, physical_reference="b"*64, layout="c"*64, + columns_hex=words(1, n), rows_hex=words(1, n), lift_hex=[words(0, 2)]*n, + reference_inputs_hex=words(0, 2)) + controls = dict(rtol=0.125, atol=[0.5]*n, first_step=0.125) + request = dict(controls=controls, voltage_lift_map=mapping, map_identity=digest(mapping), + prior_request_sha256="d"*64, segments=[segment], observation_times={"unit": [0.0, 1.0]}, + quadrature={}, weight_certificate={}, z0=[0.0]*n) + request["segment_frame_policy"] = dict(schema="solarlab.segment-frame-policy.v1", name="fixed-affine-state-rate-v1", + ancestor_request_sha256=request["prior_request_sha256"], parent_map_identity=request["map_identity"], + controls_sha256=digest(controls), segments_sha256=digest([segment]), + sampling_sha256=digest((request["observation_times"], request["quadrature"])), weight_certificate_sha256=digest({}), + segment_startup_policy_sha256=digest(None), qualification_policy_sha256=digest(None), + application="one_fixed_live_origin_at_each_existing_fresh_segment_initialization", + weight_rounding="RN-exact-parent-q_then-unfused-SV-v1", requested_first_steps_unchanged=True, + actual_automatic_first_step_parity_claimed=False) + fields = {"n_m3": [0, 2], "p_m3": [2, 4], "phi_V": [4, 6]} + request["numeric_packet"] = {"variable_offsets": fields, "initial_reference": {"payload": { + "layout": "c"*64, "fields": {k: {"high": words(1, 2), "low": words(0, 2)} for k in fields}}}} + rid = digest(request) + parent = dict(request_sha256=rid, predecessor_identity="b"*64, segment_sha256=digest(segment), time_hex=0.0.hex(), + raw_z_hex=zero, raw_zdot_hex=rate, inputs_hex=words(0, 2), input_rates_hex=words(0, 2), + state_changed=False, native_initialization_performed=False, mapped_physical_rate_words_hex=[rate, zero, zero, zero]) + parent["record_sha256"] = digest(parent) + frame = dict(schema="solarlab.segment-affine-frame.v1", parent_map_identity=request["map_identity"], + segment_sha256=digest(segment), logical_initialization_index=1, predecessor_identity="b"*64, + parent_input_sha256=parent["record_sha256"], t0_hex=0.0.hex(), size=n, + q0_words_hex=[zero]*4, v0_words_hex=[rate, zero, zero, zero], + law="q=Q0+(t-t0)*V0+u;qdot=V0+udot", weight_rounding="RN-exact-parent-q_then-unfused-SV-v1") + framed = dict(mapping, segment_frame=frame, raw_coordinate_meaning="fixed-segment affine remainder u; native history is u", + physical_coordinate_meaning="Point.y is the first retained word of S*(Q0+(t-t0)*V0+u)+L*(a-a_ref)") + ancestry = dict(request_sha256=rid, parent_map_identity=request["map_identity"], predecessor_identity="b"*64, + q0_words_hex=[zero]*4) + record = dict(kind="voltage_lift_segment_frame", request_sha256=rid, parent_map_identity=request["map_identity"], + frame=frame, frame_identity=digest(frame), map=framed, map_identity=digest(framed), + ancestry=ancestry, preparation_frame=dict(frame, v0_words_hex=[zero]*4, parent_input_sha256=digest(ancestry)), + parent_input=parent, native_initial_z_hex=zero, native_initial_zdot_hex=zero, + physical_handoff_words_hex=[zero]*4, physical_rate_handoff_words_hex=[rate, zero, zero, zero]) + record["record_sha256"] = digest(record) + check = SegmentFrameCheck(request); check.begin(record, segment, 1, "b"*64) + weights = dict(schema="sksundae.ida.parent-affine-weight-state.v1", owner="unit", generation=1, size=n, + frame_identity=digest(frame), build_identity="e"*64, installed=True, setter="IDAWFtolerances", setter_status=0, + t0_hex=0.0.hex(), rtol_hex=controls["rtol"].hex(), atol=binary(words(0.5, n)), + q0_words=tuple(binary(w) for w in frame["q0_words_hex"]), + v0_words=tuple(binary(w) for w in frame["v0_words_hex"]), callback_calls=1, callback_status=0, + failure_component=None, basis_time_hex=0.0.hex(), basis_u=binary(zero), rounded_parent=binary(zero), + computed_weights=binary(words(2, n)), weight_rounding=frame["weight_rounding"], raw_tolerance_getter=False) + phi = [0.25*(i+1) for i in range(n)]*2+[0.5*(i+1) for i in range(n)] + packet = dict(owner="unit", generation=1, parent_weight_state=weights, binding={"identity": "e"*64}, + predecessor={"internal_t": 0.0}, native_before=dict(kused=2, nsteps=1, hused=0.5, tn=0.5), + basis={"phi": struct.pack('<18d', *phi), "psi": struct.pack('<2d', 0.5, 1.0)}, + error_weights=binary(words(2, n))) + return check, record, packet + + def test_independent_full_polynomial_and_operative_parent_weights(self): + check, _, packet = self.make(); check.packet(packet) + for i, row in enumerate(check.physical_polynomials, 1): + self.assertEqual(row, (1+Fraction(5*i, 4), Fraction(3*i, 2), Fraction(i, 4))) + self.assertEqual(check.finish()["independent_physical_polynomials"], 1) + self.assertEqual(check.frames[0]["weight_packets"], 1) + + def test_foreign_generation_bad_weights_and_endpoint_basis_rejected(self): + for key, value in (("generation", 2), ("frame_identity", "f"*64), + ("computed_weights", binary(words(3))), ("q0_words", (binary(words(1)),)*4)): + check, _, packet = self.make(); packet["parent_weight_state"][key] = value + with self.assertRaises(HistoryVerificationError): + check.packet(packet) + check, _, packet = self.make() + changed = packet["parent_weight_state"] + changed.update(basis_time_hex=0.5.hex(), basis_u=binary(words(0.25))) + parent = [i+0.25 for i in range(1, 7)] + changed["rounded_parent"] = struct.pack('<6d', *parent) + changed["computed_weights"] = struct.pack('<6d', *(1/(0.125*q+0.5) for q in parent)) + packet["error_weights"] = changed["computed_weights"] + with self.assertRaisesRegex(HistoryVerificationError, "operative_weight_basis"): + check.packet(packet) + + +class QualificationProtocolSizeTests(unittest.TestCase): + def test_extended_protocol_consumes_validated_request_size(self): + # This isolates protocol wiring from the separately tested metadata + # validator; none of these synthetic requests is a qualified device. + for size in (51, 85, 99, 165, 195, 325): + with self.subTest(size=size): + request = fixture()[0] + request.update(z0=[0.0]*size, zdot0=[1.0]*size, + qualification_policy={"synthetic_wiring_only": True}) + target = "scripts.benchmarks.native_readback.qualification_coordinate_count" + with patch(target, return_value=size) as check: + protocol = _Protocol(request, None) + self.assertEqual(protocol.size, size) + self.assertTrue(check.call_count >= 1) + self.assertTrue(all(call.args == (request,) for call in check.call_args_list)) + with patch(target, return_value=size+1), self.assertRaisesRegex( + HistoryVerificationError, "request_schema_or_map"): + _Protocol(request, None) + with self.assertRaisesRegex(HistoryVerificationError, "qualification_request_binding"): + _Protocol(request, None) + request.pop("qualification_policy") + with self.assertRaisesRegex(HistoryVerificationError, "request_schema_or_map"): + _Protocol(request, None) + + +def point_id(segment, when): + return digest(["synthetic-point", segment["id"], float(when).hex()]) + + +def initial_fields(segment): + start = segment["start"] + return {"point_identity": point_id(segment, start), "raw_z_hex": words(start), "raw_zdot_hex": words(1), + "inputs_hex": words(0, 2), "input_rates_hex": words(0, 2), "desired_physical_tangent_hex": words(1), + "mapped_physical_rate_words_hex": [words(1), words(2**-60), words(0), words(0)], + "desired_tangent_residual_SI": double(6), "represented_rate_residual_SI": double(6)} + + +def fixture(policy_factory=None): + size = 6 + source = ("sksundae.ida.accepted-step-observation.v1", "scikit-sundae=1.1.3", + "synthetic-library", "synthetic-compiler", "synthetic-source", "a" * 64, "b" * 64, "test-only") + binding = hashlib.sha256(repr(source).encode()).hexdigest() + segments = [{"id": "a", "start": 0.0, "end": 1.0, "voltage": [0, 0], "photons": [0, 0]}, + {"id": "b", "start": 1.0, "end": 2.0, "voltage": [0, 0], "photons": [0, 0]}] + reference = {"payload": {"time": 0.0.hex()}} + reference["sha256"] = digest(reference["payload"]) + mapping = {"schema": "solarlab.affine-voltage-map.v1", "physical_model": "c" * 64, + "physical_reference": "d" * 64} + request = {"schema": "solarlab.voltage-lift-native-request.v1", "voltage_lift_map": mapping, + "map_identity": digest(mapping), "z0": [0.0] * size, "zdot0": [1.0] * size, + "numeric_packet": {"nodes": 2, "mass_columns": [0, 1, 2, 3], + "variable_offsets": {"n_m3": [0, 2], "p_m3": [2, 4], "phi_V": [4, 6]}, + "initial_reference": reference}, + "controls": {"nthreads": 1, "max_step": 1.0}, "segments": segments, + "budgets": {"charge_C": 1.0, "current_A": 1.0, "residual_calls": 1000, + "native_steps": 100, "total_output_bytes": 8 * 1048576, + "constraint_potential_V": 1.0, "constraint_charge_C": 1.0, "contact_relative": 1.0}, + "observation_times": {"a": [0.0, 0.25, 1.0], "b": [1.0, 1.5, 2.0]}, + "quadrature": {str(n): {"nodes": [-1 + 2 * (i + 1) / (n + 1) for i in range(n)], + "weights": [2 / n] * n} for n in (8, 16, 32)}, + "initial_preparation": initial_fields(segments[0])} + policy = {"map_identity": request["map_identity"], "protocol_sha256": digest(segments), + "controls_sha256": digest(request["controls"]), "budgets_sha256": digest(request["budgets"]), + "sampling_sha256": digest((request["observation_times"], request["quadrature"])), + "binding_identity": binding, "header_sha256": source[5]} + if policy_factory is not None: + policy = policy_factory(request, policy) + request["interval_observation"] = policy + request_id, policy_id = digest(request), digest(policy) + ref = {"schema": "solarlab.voltage-lift-reference.v1", "map": mapping, + "map_identity": request["map_identity"], "physical_reference": reference, + "physical_reference_identity": mapping["physical_reference"]} + ref_id = digest(ref) + rows = [{"kind": "voltage_lift_reference", "request_sha256": request_id, + "reference_digest": ref_id, "reference": ref}] + zeros = (Fraction(0),) * 3 + enclosure = {"center": [0, 1], "absolute_error_bound": [0, 1]} + current = Fraction(1) + Fraction(2**-60) + all_currents = ((current, current), (current, current)) + current_enclosures = ({"center": [current.numerator, current.denominator], "absolute_error_bound": [0, 1]},) * 2 + counters = ("num_steps", "residual_evals", "linear_setups", "error_test_fails", + "nonlinear_iters", "nonlinear_conv_fails", "jacobian_evals") + predecessor, queries, total_intervals = mapping["physical_reference"], 0, 0 + pointer = None + + def sample(segment, ordinal, when, origin, previous, frame=None, path=None): + side = ("continuous" if ordinal == 1 else "right") if origin == "segment_initial" else ( + "left" if when == segment["end"] else "continuous") + pid = point_id(segment, when) + h = {"schema": "solarlab.voltage-lift-sample.v2", "transition_representation": "paired-endpoints-v1", + "map_identity": request["map_identity"], "physical_model_identity": mapping["physical_model"], + "reference_digest": ref_id, "point_identity": pid, "predecessor_identity": previous, + "time_hex": float(when).hex(), "inputs_hex": words(0, 2), "input_rates_hex": words(0, 2), + "raw_solver_z_hex": words(when), "raw_solver_zdot_hex": words(1), + "physical_cumulative_words_hex": [words(when), words(2**-60), words(0), words(0)], + "physical_rate_words_hex": [words(1), words(2**-60), words(0), words(0)], + "physical_rate_projection": {"projected_rate_hex": words(1)}, "origin": origin, "event_side": side, + "raw_coordinate_frame": "scaled-voltage-departure-v1", "physical_rate_frame": "direct-map-push-forward-v1", + "reference_embedded": False} + obs = {"point_identity": pid, "event_side": side, "physical_ydot_hex": words(1), + "tangent_residual_hex": words(0, 2), **{k: double(n) for k, n in + (("metal_charge", 2), ("conduction_inward", 2), ("total_inward", 2), + ("body_charge", 1), ("body_charge_rate", 1), ("gauss_defect", 1), ("interior_total_current", 1))}} + rate = {"identity": digest(["rate", pid]), "point_identity": pid, "source_identity": mapping["physical_model"], + "mapping_identity": request["map_identity"], "frame": "mapped-coordinate-rate", "observed_origin": origin, + "values_words_hex": h["physical_rate_words_hex"], "raw_coordinates_hex": words(when), + "raw_rate_hex": words(1), "input_rate_hex": words(0, 2)} + row = {"kind": "voltage_lift_rate_pair", "request_sha256": request_id, "map_identity": request["map_identity"], + "segment_id": segment["id"], "segment_sha256": digest(segment), "controls_sha256": policy["controls_sha256"], + "observation_policy_sha256": policy_id, "current_certificate_follows": origin != "segment_initial", + "history": h, "input_slope_hex": words(0, 2), "snapshot_status": 1 if origin == "stop_output" else 0, + "state_checks": {"passed": True, "state_identity": pid, "state_changed": False, + "constraint_potential_bound_V": 0.0, "constraint_charge_bound_C": 0.0, + "contact_max_relative": 0.0, "Poisson_absolute_constraint_charge_C": 0.0, + "metal_charge_error_bound_C": [0.0, 0.0], "body_charge_error_bound_C": 0.0}, + "physical_rate_consumption": "public RateView full mapped words", + "rate_projection_role": "counterfactual_first_word_only", "rate_projection": h["physical_rate_projection"], + "raw": {**deepcopy(obs), "origin": origin, "physical_rate": rate, "charge_integrands": double(3), + "linear_actions": {"sample": {"absolute_error_bound_hex": words(0, 1)}}}, + "physical_tangent": {**deepcopy(obs), "origin": "physical_tangent"}} + if origin == "declared_polynomial": + row.update(coefficient_frame_identity=frame, polynomial_path_identity=path, native_getter_used=False, native_output=False) + row["record_sha256"] = digest(row) + return row + + def ptr(pair): + return {"record_sha256": pair["record_sha256"], "point_identity": pair["history"]["point_identity"], + "time_s": float.fromhex(pair["history"]["time_hex"]), "origin": pair["history"]["origin"], + "segment_id": pair["segment_id"]} + + def certificate(pair, segment, path): + h, rate = pair["history"], pair["raw"]["physical_rate"] + when = float.fromhex(h["time_hex"]) + rb = {"point_identity": h["point_identity"], "rate_identity": rate["identity"], "path_identity": path, + "map_identity": request["map_identity"], "binding_identity": digest(["segment-source", segment["id"]]), + "time_hex": h["time_hex"], "event_side": "right" if when == segment["start"] else + "left" if when == segment["end"] else "continuous", "state_changed": False, + "native_source_provenance_claimed": False, "raw_z_words": binary(h["raw_solver_z_hex"]), + "raw_zdot_words": binary(h["raw_solver_zdot_hex"]), "input_words": binary(h["inputs_hex"]), + "input_rate_words": binary(h["input_rates_hex"]), + "physical_rate_words": tuple(binary(w) for w in h["physical_rate_words_hex"]), + **{k: (Fraction(0),) * size for k in + ("physical_state_absolute_error", "physical_rate_absolute_error", "state_action_error_bounds")}, + "physical_state_enclosures": (enclosure,) * size} + rb.update(state_error_includes_actual_input_evaluation=True, do_not_add_same_input_error_twice=True) + evidence = {"point_identity": h["point_identity"], "path_identity": path, "passed": True, + "native_rate_or_state_changed": False, "DAE_accuracy_certified": False, "readback": rb, + "reported_currents_A": all_currents, "raw_reference_A": current_enclosures, + "same_state_exact_tangent_reference_A": current_enclosures, + "source_and_readback_error_A": ((Fraction(0), Fraction(0)),) * 2, + "combined_current_bound_A": (Fraction(0), Fraction(0)), + "original_allocation_A": Fraction(1.0 / 3), "input_error_included_once": True} + return {"kind": "voltage_lift_current_certificate", "sample_record_sha256": pair["record_sha256"], + "evidence": tag(evidence)} + + for ordinal, segment in enumerate(segments, 1): + owner = f"synthetic-owner-{ordinal}" + proof = {**initial_fields(segment), "source_identity": digest(["segment-source", segment["id"]]), + "request_sha256": request_id, "map_identity": request["map_identity"], + "segment_sha256": digest(segment), "predecessor_identity": predecessor} + proof["record_sha256"] = digest(proof) + rows.append({"kind": "voltage_lift_initialization_input", "phase": "segment_initialization", + "segment_id": segment["id"], "time_hex": segment["start"].hex(), "proof": proof}) + + def statistics(phase, when, steps, previous=None): + raw = {k: steps if k == "num_steps" else 0 for k in counters} + raw.update(current_time=when, observation_owner=owner, observation_generation=1) + row = {"kind": "native_statistics", "segment_id": segment["id"], "logical_initialization_index": ordinal, + "phase": phase, "requested_time_hex": float(segment["start"] if phase == "initialization_return" + else segment["end"]).hex(), + "returned_time_hex": None if phase == "before_onestep" else float(when).hex(), + "internal_time_hex": float(when).hex(), "method_state_valid": steps > 0, "raw_statistics": raw} + if previous is not None: + row["work_since_before"] = {k: raw[k] - previous[k] for k in counters} + rows.append(row) + return raw + + now = segment["start"] + statistics("initialization_return", now, 0) + left = sample(segment, ordinal, now, "segment_initial", predecessor) + rows.append(left) + rows.append({"kind": "requested_sample", **ptr(left)}) + cursor = 1 + for step, then in enumerate(([0.5, 1.0] if ordinal == 1 else [2.0]), 1): + before = statistics("before_onestep", now, step - 1) + statistics("after_onestep", then, step, before) + stamp = {"nsteps": step, "tn": then, "hused": then - now, "kused": 1, + "hh": then - now, "kk": 1, + "statuses": tuple((name, 0) for name in + ("IDAGetNumSteps", "IDAGetCurrentTime", "IDAGetLastStep", "IDAGetLastOrder", + "IDAGetCurrentStep", "IDAGetCurrentOrder"))} + + def native_point(t, nsteps, status): + y, yp = binary(words(t)), binary(words(1)) + return {"owner": owner, "generation": 1, "nsteps": nsteps, "internal_t": t, "output_t": t, + "native_status": status, "raw_y": y, "raw_yp": yp, + "identity": (owner, 1, nsteps, t.hex(), t.hex(), hashlib.sha256(y + yp).hexdigest())} + + previous = native_point(now, step - 1, 0) + endpoint = native_point(then, step, int(then == segment["end"])) + packet = {"schema": source[0], "dtype": " original: + self.assertGreater(receipt["history"]["encoded_bytes"], original) + + def test_execution_output_producer_claim_is_not_authority(self): + self.execution_fixture(1024, 8*1048576) + self.publish() + self.bad("execution_output_observation_binding") + del self.result["execution_output_policy"] + (self.folder / "NativeResult.json").write_text(json.dumps(self.result)) + self.bad("encoded_byte_count_or_cap") + + def test_execution_output_reader_requires_exact_external_provenance(self): + authority = self.execution_fixture(1024, 8*1048576) + self.publish() + for key, value in (("request_sha256", "0"*64), ("operation_id", "other-operation"), + ("coordinator_message", "msg_other"), ("admission_sha256", "0"*64)): + with self.subTest(key=key): + bad = deepcopy(authority) + bad["execution_provenance"][key] = value + self.bad("execution_output_binding", **bad) + forged = deepcopy(authority) + forged["execution_admission"]["execution_output_limit"]["total_output_bytes"] *= 2 + self.bad("execution_output_binding", **forged) + self.bad("execution_output_binding", execution_admission=authority["execution_admission"]) + del self.result["execution_output_policy"] + (self.folder / "NativeResult.json").write_text(json.dumps(self.result)) + self.bad("execution_output_observation_binding", **authority) + + def test_execution_output_smaller_admitted_cap_is_enforced(self): + authority = self.execution_fixture(8*1048576, 4*1048576) + self.publish(total_output_bytes=4*1048576) + cap = self.result["history"]["encoded_bytes"] - 1 + authority["execution_admission"]["execution_output_limit"]["total_output_bytes"] = cap + authority["execution_provenance"]["admission_sha256"] = digest(authority["execution_admission"]) + self.result["execution_output_policy"].update( + effective_total_output_bytes=cap, + admission_binding=deepcopy(authority["execution_admission"]["execution_output_limit"]), + execution_provenance=deepcopy(authority["execution_provenance"])) + (self.folder / "NativeResult.json").write_text(json.dumps(self.result)) + self.bad("encoded_byte_count_or_cap", **authority) + + def test_complete_event_and_recertification_and_cached_quadrature(self): + self.publish() + receipt = self.verify() + self.assertTrue(receipt["verified"]) + self.assertFalse(receipt["scientific_qualification"]) + self.assertEqual(receipt["coverage"]["intervals"], 3) + self.assertEqual(receipt["coverage"]["record_counts"]["requested_sample"], 6) + self.assertEqual(receipt["coverage"]["record_counts"]["voltage_lift_current_certificate"], + receipt["coverage"]["rate_pairs"] - 2 + 3) + self.assertLess(self.result["counts"]["polynomial_queries"], 3 * 56 + 2) + self.assertEqual(receipt["history"]["container_sha256"], + hashlib.sha256((self.folder / "NativeHistory.jsonl.gz").read_bytes()).hexdigest()) + self.assertTrue(receipt["history"]["crc_verified"]) + + def test_integer_policy_full_reader_and_independent_application(self): + policy = {"schema": "solarlab.native-integer-io.v1", "codec": "decimal-with-bounded-hex-v1", + "decimal_digits": 4300, "max_integer_bits": 131072} + large = 10**4400 + 1 + row = next(row for row in self.rows if row["kind"] == "voltage_lift_interval_charge") + row["io_fixture_extra"] = {"rational": [large, large+2]} + self.result["io_fixture_extra"] = {"rational": [-large, large+2]} + self.publish(integer_io_policy=policy) + receipt = self.verify(integer_io_policy=policy) + self.assertTrue(receipt["verified"]) + self.assertEqual(receipt["integer_io"], {"role": "independent_reader", "policy": policy, + "actual_decimal_digits": 4300}) + # A fresh reader process must itself configure and report the policy. + code = """import json, sys, time +from pathlib import Path +from scripts.benchmarks.native_readback import verify_history +policy=json.loads(sys.argv[2]) +r=verify_history(Path(sys.argv[1]), max_record_bytes=1048576, max_logical_bytes=4*1048576, + max_records=5000, deadline_monotonic=time.perf_counter()+5, integer_io_policy=policy) +print(json.dumps(r['integer_io'])) +""" + other = subprocess.run([sys.executable, "-B", "-c", code, str(self.folder), json.dumps(policy)], + capture_output=True, text=True, timeout=10) + self.assertEqual(other.returncode, 0, other.stderr) + self.assertEqual(json.loads(other.stdout), receipt["integer_io"]) + + def test_integer_policy_mismatch_and_forged_producer_observation(self): + policy = {"schema": "solarlab.native-integer-io.v1", "codec": "decimal-with-bounded-hex-v1", + "decimal_digits": 4300, "max_integer_bits": 131072} + self.publish(integer_io_policy=policy) + self.bad("integer_io_policy_or_applied_limit_mismatch") + self.bad("integer_io_policy_or_applied_limit_mismatch", integer_io_policy={**policy, "max_integer_bits": 65536}) + path = self.folder / "IntegerIOObserved.json" + forged = json.loads(path.read_text()) + forged["actual_decimal_digits"] = 0 + path.write_text(json.dumps(forged)) + self.bad("producer_integer_io_observation_mismatch", integer_io_policy=policy) + + def test_import_does_not_load_numerical_backends(self): + # Other numerical tests may already have imported these modules in the + # host runner. Only a fresh interpreter can test this import boundary. + code = """import json, sys +sys.path.insert(0, sys.argv[1]) +from scripts.benchmarks import native_readback +names = ('numpy', 'scipy', 'flint', 'sksundae', 'scripts.benchmarks.native_observation', + 'scripts.benchmarks.coupled_device_prototype') +print(json.dumps([name for name in names if name in sys.modules])) +""" + result = subprocess.run([sys.executable, "-I", "-B", "-c", code, str(Path(__file__).resolve().parents[2])], + check=True, capture_output=True, text=True, timeout=3) + self.assertEqual(json.loads(result.stdout), []) + + def test_record_logical_and_count_limits(self): + self.publish() + for limits in ({"max_record_bytes": 100}, {"max_logical_bytes": 20000}, {"max_records": 9}): + with self.subTest(limits=limits): + self.bad(**limits) + + def test_deadline_checked_during_read(self): + self.publish() + self.bad("deadline_exceeded", deadline_monotonic=0.0) + clock = iter([0.0] * 35 + [20.0] * 5000) + with patch("scripts.benchmarks.native_readback.time.perf_counter", side_effect=lambda: next(clock)): + self.bad("deadline_exceeded", deadline_monotonic=10.0) + + def test_missing_low_word_or_layer_is_rejected_even_with_new_record_digest(self): + for layer in (False, True): + with self.subTest(layer=layer): + self.rows = deepcopy(self.template[1]) + pair = next(row for row in self.rows if row["kind"] == "voltage_lift_rate_pair") + if layer: + pair["history"]["physical_cumulative_words_hex"].pop() + else: + pair["raw"]["total_inward"].pop("low_hex") + pair["record_sha256"] = digest({k: v for k, v in pair.items() if k != "record_sha256"}) + with tempfile.TemporaryDirectory() as temp: + self.folder = Path(temp) + self.publish() + self.bad("vector_shape" if layer else "double_word_shape") + + def test_unknown_reordered_and_missing_records_fail(self): + for change in ("unknown", "swap", "remove_certificate", "remove_requested"): + with self.subTest(change=change): + self.rows = deepcopy(self.template[1]) + i = next(i for i, row in enumerate(self.rows) if row["kind"] == "voltage_lift_current_certificate") + if change == "unknown": + self.rows[i] = {"kind": "unrecognized"} + elif change == "swap": + self.rows[i], self.rows[i + 1] = self.rows[i + 1], self.rows[i] + elif change == "remove_requested": + self.rows.pop(next(i for i, r in enumerate(self.rows) if r["kind"] == "requested_sample")) + else: + self.rows.pop(i) + with tempfile.TemporaryDirectory() as temp: + self.folder = Path(temp) + self.publish() + self.bad() + + def test_packet_and_certificate_word_corruption(self): + packet = next(row for row in self.rows if row["kind"] == "voltage_lift_native_observation_packet") + packet["packet"]["endpoint"]["raw_yp"]["bytes_hex"] = binary(words(2)).hex() + self.publish() + self.bad("native_endpoint_identity") + + def test_current_low_word_changes_cannot_hide_behind_passed(self): + cert = next(row for row in self.rows if row["kind"] == "voltage_lift_current_certificate") + cert["evidence"]["reported_currents_A"]["tuple"][0]["tuple"][0] = {"rational": [1, 1]} + self.publish() + self.bad("current_reported_high_low") + + def test_ambiguous_tag_and_nonfinite_hex_fail(self): + for ambiguity in (True, False): + self.rows = deepcopy(self.template[1]) + cert = next(row for row in self.rows if row["kind"] == "voltage_lift_current_certificate") + cert["extra"] = {"binary64": "inf", **({"another": 1} if ambiguity else {})} + with tempfile.TemporaryDirectory() as temp: + self.folder = Path(temp) + self.publish() + self.bad("ambiguous_observation_tag" if ambiguity else "noncanonical_or_nonfinite_hex") + + def test_full_protocol_requires_its_encoded_byte_counter(self): + self.publish() + del self.result["counts"]["history_encoded_bytes"] + (self.folder / "NativeResult.json").write_text(json.dumps(self.result)) + self.bad("invalid_artifact_KeyError") + + def test_reported_encoded_byte_counter_must_match_container(self): + self.publish() + self.result["counts"]["history_encoded_bytes"] += 1 + (self.folder / "NativeResult.json").write_text(json.dumps(self.result)) + self.bad("result_counters") + + def test_failed_result_is_not_complete_even_with_valid_gzip(self): + self.result["complete_protocol"] = False + self.publish() + self.bad("incomplete_native_result") + + def test_sidecar_and_result_prefix_binding(self): + self.publish() + p = self.folder / "LastAccepted.json" + value = json.loads(p.read_text()) + value["right"]["time_s"] = 1.0 + p.write_text(json.dumps(value)) + self.bad("final_sidecar_binding") + + def test_charge_prefix_cannot_reset_at_event(self): + interval = self.rows[-1] + ledger = interval["observation"]["ledgers"]["raw_polynomial"] + ledger["prefix_absolute_defect_C"] = tag((Fraction(1, 1000),) * 3) + self.publish() + self.bad("charge_prefix_reset_or_error") + + def test_exact_third_and_encoded_binary64_share_are_distinct(self): + interval = next(row for row in self.rows if row["kind"] == "voltage_lift_interval_charge") + interval["observation"]["ledgers"]["raw_polynomial"]["original_reference_share_C"] = tag(Fraction(1, 3)) + self.publish() + self.bad("charge_budget_binding") + + def test_recorded_passed_cannot_hide_failed_state_gate(self): + sample = next(row for row in self.rows if row["kind"] == "voltage_lift_rate_pair") + sample["state_checks"]["constraint_potential_bound_V"] = 2.0 + sample["record_sha256"] = digest({k: v for k, v in sample.items() if k != "record_sha256"}) + self.publish() + self.bad("state_gate_values") + + def test_native_owner_cannot_change_inside_segment(self): + stats = next(row for row in self.rows if row["kind"] == "native_statistics" and row["phase"] == "after_onestep") + stats["raw_statistics"]["observation_owner"] = "another-owner" + self.publish() + self.bad("native_owner_changed_within_segment") + + def test_restart_new_owner_must_begin_at_generation_one(self): + for row in self.rows: + if row.get("segment_id") == "b" and row["kind"] == "native_statistics": + row["raw_statistics"]["observation_generation"] = 2 + packet = next(row["packet"] for row in self.rows if row["kind"] == "voltage_lift_native_observation_packet" + and row["segment_id"] == "b") + packet["generation"] = 2 + packet["step_key"]["tuple"][2] = 2 + for name in ("predecessor", "endpoint"): + packet[name]["generation"] = 2 + packet[name]["identity"]["tuple"][1] = 2 + self.publish() + self.bad("native_restart_epoch") + + def test_uncovered_strip_requires_eligible_native_predecessor_getters(self): + packet = next(row["packet"] for row in self.rows if row["kind"] == "voltage_lift_native_observation_packet") + for stamp in (packet["native_before"], packet["native_after"], + packet["predecessor_dky"]["step_before"], packet["predecessor_dky"]["step_after"]): + stamp["hused"] = tag(0.25) + packet["step_key"]["tuple"][5] = 0.25.hex() + packet["native_left_terms"]["tuple"][1] = tag(-0.25) + packet["clock_gap_terms"]["tuple"][1] = tag(-0.25) + packet["predecessor_dky"].update(statuses=tag((-25, -25)), buffers=tag((None, None)), native_eligible=False) + self.publish() + self.bad("native_strip_getter_eligibility") + + def test_truncated_footer_crc_and_trailing_junk(self): + self.publish() + path = self.folder / "NativeHistory.jsonl.gz" + original = path.read_bytes() + for data in (original[:-1], original[:-8] + bytes([original[-8] ^ 1]) + original[-7:], original + b"junk"): + with self.subTest(length=len(data)): + path.write_bytes(data) + self.bad() + + def test_strict_json_and_partial_tail(self): + self.publish() + # A tiny manually encoded first record exercises strict parsing before + # later schema checks; no producer/model is invoked to generate it. + path = self.folder / "NativeHistory.jsonl.gz" + for raw, code in ((b'{"kind":"x","kind":"x"}\n', "duplicate_json_key"), + (b'{"kind":"x","value":NaN}\n', "nonfinite_json_constant"), + (b'{"kind":"x","value":1e999}\n', "nonfinite_json_number"), + (b'{"kind":"x"}', "partial_or_multiline_record")): + with self.subTest(code=code): + compressor = zlib.compressobj(wbits=31) + encoded = compressor.compress(raw) + compressor.flush() + path.write_bytes(encoded) + self.result["history"]["encoded_bytes"] = len(encoded) + (self.folder / "NativeResult.json").write_text(json.dumps(self.result)) + self.bad(code) + + + +# NativeAttempt06 S0, first complete interval, record126 at logical3260611. +# Historical saved data only: no model/solver is constructed by these checks. +# Exact record SHA b937e7d2d41d06b4f4cbad923def8a3ed5ea46d6c693b3b3a4923f0886228498. +# The bundle retains its actual request, native packet, domain and endpoint rows. +_NATIVE06_BUNDLE_SHA256 = '3aa5d6a789f48144fe68a78aaacbfde04717955eee0775451579475f3ce7a2b8' + + +def saved_native_interval(): + raw = (Path(__file__).with_name("fixtures") / "native_interval_charge.json").read_bytes() + assert hashlib.sha256(raw).hexdigest() == _NATIVE06_BUNDLE_SHA256 + data = json.loads(raw) + interval_line = (json.dumps(data["interval"], separators=(",", ":"), allow_nan=False) + "\n").encode() + assert hashlib.sha256(interval_line).hexdigest() == "b937e7d2d41d06b4f4cbad923def8a3ed5ea46d6c693b3b3a4923f0886228498" + return data + + +def verify_saved_interval(data): + class SavedRows: + def take(self, kind): + if data["interval"]["kind"] != kind: + raise AssertionError("saved record kind") + return deepcopy(data["interval"]) + + verifier = _Protocol(data["request"], SavedRows()) + verifier.segment = data["request"]["segments"][0] + verifier.path_id = data["domain"]["evidence"]["path_identity"] + frame, verifier.frame_id = _native_packet(data["packet"], verifier.policy, verifier.size) + verifier._interval(data["left"], data["right"], frame) + return verifier + + +class RecordedNativeIntervalTests(unittest.TestCase): + def test_real_complete_interval_and_adjacent_arithmetic_receipts(self): + result = verify_saved_interval(saved_native_interval()) + self.assertEqual(result.intervals, 1) + + def test_real_input_error_dimensions_remain_strict(self): + for key in ("raw_charge_integral_error_C", "tangent_charge_integral_error_C", "raw_tangent_L1_additional_error_C"): + for change in ("missing", "extra"): + with self.subTest(field=key, change=change): + data = saved_native_interval() + values = data["interval"]["observation"]["input_error"][key]["tuple"] + if change == "missing": + values.pop() + else: + values.append({"rational": [0, 1]}) + with self.assertRaisesRegex(HistoryVerificationError, "vector_shape"): + verify_saved_interval(data) + + def test_real_input_errors_reject_negative_values(self): + for key in ("raw_charge_integral_error_C", "tangent_charge_integral_error_C", "raw_tangent_L1_additional_error_C"): + with self.subTest(field=key): + data = saved_native_interval() + data["interval"]["observation"]["input_error"][key]["tuple"][0] = {"rational": [-1, 1]} + with self.assertRaisesRegex(HistoryVerificationError, "nonnegative_rational_vector"): + verify_saved_interval(data) + + def test_real_precheck_receipt_is_not_an_integral_error_estimate(self): + for field, value in (("working_bits", 256), ("evaluations", True), ("evaluations", 0), ("actual_error", [0, 1])): + with self.subTest(field=field, value=value): + data = saved_native_interval() + call = next(row for row in data["interval"]["arithmetic_calls"] if row.get("purpose") == "full-real-interval-precheck") + call[field] = value + with self.assertRaisesRegex(HistoryVerificationError, "arithmetic_precheck_receipt"): + verify_saved_interval(data) + + def test_real_integral_error_budget_is_still_enforced(self): + data = saved_native_interval() + call = next(row for row in data["interval"]["arithmetic_calls"] if "actual_error" in row) + bound = Fraction(*call["requested_error"]) + call["actual_error"] = [2 * bound.numerator, bound.denominator] + with self.assertRaisesRegex(HistoryVerificationError, "arithmetic_receipt_error"): + verify_saved_interval(data) + +def _untag_fixture(value): + """Test-only inverse for invented records; no producer or numerical imports.""" + if isinstance(value, list): + return [_untag_fixture(v) for v in value] + if isinstance(value, dict): + if set(value) == {"rational"}: + return Fraction(*value["rational"]) + if set(value) == {"tuple"}: + return tuple(_untag_fixture(v) for v in value["tuple"]) + if set(value) == {"binary64"}: + return float.fromhex(value["binary64"]) + if set(value) == {"bytes_hex"}: + return bytes.fromhex(value["bytes_hex"]) + return {k: _untag_fixture(v) for k, v in value.items()} + return value + + +def _partition_fixture_policy(request, policy): + """Set the synthetic policy before the original fixture hashes its rows.""" + request["budgets"]["native_steps"] = 200000 + ledgers = ("raw_polynomial", "same_state_affine_tangent") + channels = tuple(f"{k}.{r}.{v}" for k in ledgers for r in ("device", "left_metal", "right_metal") + for v in ("total", "reference")) + quantum, maximum_slack = Fraction(1, 2**120), Fraction(200000, 2**120) + base = {**policy, "schema": "solarlab.interval-observation-policy.v1", + "budgets_sha256": digest(request["budgets"]), "backend_modules": {}, + "arithmetic": {"python_flint": "0.8.0", "bits": 256, "evaluations": 2048, "depth": 16}, + "quadrature_error_allocation": "charge_C/12 * actual_interval/full_protocol / 32 per integral", + "sampling": "original requested and 8/16/32 times, explicitly declared polynomial reconstruction", + "history": "actual accepted predecessor/endpoint plus source-owned immutable phi/psi/Dky and error metadata", + "qualification": "represented numerical path only; original independent time/state/space refinements remain pending"} + constants = {"schema": "solarlab.nonnegative-upper-sum.v1", "quantum_bits": 120, "max_terms": 200000, + "max_increment_bits": 65536, "max_evidence_bytes": 8*1024*1024, + "max_slack_per_channel": [maximum_slack.numerator, maximum_slack.denominator], "channel_ids": list(channels)} + return {**base, "schema": "solarlab.interval-observation-policy.v2", + "parent_policy_sha256": digest(base), "charge_refinement": {"name": "fixed4-upper120-v1", "partition_cells": 4, + "upper_sum": constants, "prefix_semantics": "exact signed local evidence; non-resetting upward dyadic upper bounds; original gates"}} + + +def partition_fixture(*, zero=False): + """Synthetic constant-function certificates; no physical/native calls. + + Policy, moments and prefixes do not use producer or reader check helpers. + """ + request, rows, result = fixture(_partition_fixture_policy) + request_id = digest(request) + ledgers = ("raw_polynomial", "same_state_affine_tangent") + channels = tuple(f"{k}.{r}.{v}" for k in ledgers for r in ("device", "left_metal", "right_metal") + for v in ("total", "reference")) + quantum, maximum_slack = Fraction(1, 2**120), Fraction(200000, 2**120) + constants = request["interval_observation"]["charge_refinement"]["upper_sum"] + upper_policy = digest({"schema": constants["schema"], "source_identity": request_id, + "channels": [{"id": c, "unit": "C", "increment": "interval_total_bound_C" if c.endswith(".total") + else "interval_reference_error_C", "role": "nonnegative_upper_bound"} for c in channels], + "quantum_bits": 120, "max_terms": 200000, + "max_slack_per_channel_hex": [hex(maximum_slack.numerator), hex(maximum_slack.denominator)], + "max_increment_bits": 65536, "max_evidence_bytes": 8*1024*1024}) + local_fields = ("saved_finite_charge_change_C", "nominal_change_C", "signed_integral_C", "error_components_C", + "signed_saved_defect_C", "interval_total_bound_C", "interval_reference_error_C", + "original_charge_budget_C", "original_reference_share_C") + numbers, events, index = [0]*12, [0]*12, 0 + for row in rows: + if row["kind"] != "voltage_lift_interval_charge": + continue + row["kind"] = "voltage_lift_interval_charge_v2" + obs = _untag_fixture(row["observation"]) + before, now, h = (Fraction(*obs["clock"][k]) for k in ("predecessor", "tn", "hused")) + left = (before-now)/h + allocation = Fraction(request["budgets"]["charge_C"])/12*(now-before)/Fraction(request["segments"][-1]["end"])/32 + calls = [{"evaluations": 1, "actual_error": [0, 1], "requested_error": [1, 32]}] + + def constant_bound(a, b, epsilon): + value = Fraction(0) if zero else Fraction(1, 100000) + moment, upper = (b-a)*value**2, (b-a)*value + start = len(calls) + calls.append({"evaluations": 1, "purpose": "full-real-interval-precheck", "working_bits": 512}) + if not zero: + goal = epsilon**2/(8*(b-a)) + calls.append({"evaluations": 1, "actual_error": [0, 1], "requested_error": [goal.numerator, goal.denominator], + "purpose": "L2-moment", "working_bits": 512, "absolute_integrand": False}) + excess = Fraction(0) if zero else epsilon + return {"upper": [upper.numerator, upper.denominator], "method": "Cauchy-Schwarz from a certified squared integral", + "squared_integral": {"center": [moment.numerator, moment.denominator], "absolute_error_bound": [0, 1]}, + "numerical_excess_bound": [excess.numerator, excess.denominator], "is_integral_value_estimate": False}, (start, len(calls)) + + ports = [] + for port in ("left_metal", "right_metal"): + original, original_calls = constant_bound(left, Fraction(0), allocation) + cells = [] + for j in range(4): + a, b = left*(1-Fraction(j, 4)), left*(1-Fraction(j+1, 4)) + bound, call_range = constant_bound(a, b, allocation/4) + cells.append({"left": a, "right": b, "allocation_C": allocation/4, "bound": bound, "call_range": call_range}) + total = sum((Fraction(*c["bound"]["upper"]) for c in cells), Fraction(0)) + ports.append({"port": port, "integrand_identity": digest({"schema": "solarlab.terminal-departure.v1", + "path_identity": obs["path_identity"], "port": port, + "formula": "hused*(endpoint_carrier_rate+raw_metal-tangent_metal_polynomial-tangent_metal_flux)"}), + "absolute_error_C": allocation, "original": original, "original_call_range": original_calls, + "cells": tuple(cells), "partition_upper_C": total, "retained_upper_C": min(Fraction(*original["upper"]), total)}) + carrier, body = (Fraction(1, 10**8), Fraction(2, 10**8)), Fraction(3, 10**8) + obs["terminal_partition"] = {"schema": "solarlab.terminal-partition.v1", "path_identity": obs["path_identity"], + "normalized_interval": (left, Fraction(0)), "cells_per_port": 4, "ports": tuple(ports), + "endpoint_carrier_L1_upper_C": carrier, "body_L1_upper_C": body} + obs["raw_tangent_L1_current_bounds"] = tuple(p["original"] for p in ports) + raw_ledger = obs["ledgers"]["raw_polynomial"] + raw_ledger["error_components_C"]["raw_tangent_departure"] = (body, *(p["retained_upper_C"]+c for p,c in zip(ports,carrier))) + for k in ledgers: + ledger = obs["ledgers"][k] + local = tuple(sum((v[i] for v in ledger["error_components_C"].values()), Fraction(0)) for i in range(3)) + ledger["interval_total_bound_C"] = ledger["interval_reference_error_C"] = local + index += 1 + for j, value in enumerate(v for k in ledgers for i in range(3) + for v in (obs["ledgers"][k]["interval_total_bound_C"][i], obs["ledgers"][k]["interval_reference_error_C"][i])): + exact = numbers[j]*quantum+value + ratio = exact/quantum + n = -(-ratio.numerator//ratio.denominator) + events[j] += int(n*quantum > exact) + numbers[j] = n + for j, k in enumerate(ledgers): + obs["ledgers"][k]["prefix_absolute_defect_C"] = tuple(n*quantum for n in numbers[j*6:j*6+6:2]) + obs["ledgers"][k]["prefix_reference_error_C"] = tuple(n*quantum for n in numbers[j*6+1:j*6+6:2]) + local = {"schema": "solarlab.native-charge-local-evidence.v1", "source_identity": request_id, + "frame_identity": obs["frame_identity"], "path_identity": obs["path_identity"], "clock": obs["clock"], + "ledgers": {k: {f: obs["ledgers"][k][f] for f in local_fields} for k in ledgers}} + local_bytes = json.dumps(encode_integer_values(tag(local), {"max_integer_bits": 65536}), + sort_keys=True, separators=(",", ":"), allow_nan=False).encode() + summary = {"schema": "solarlab.native-upper-prefix-state.v1", "policy_sha256": upper_policy, + "source_identity": request_id, "channel_ids": channels, "index": index, + "upper_numerators": tuple(numbers), "rounded_terms": tuple(events), + "slack_upper_bounds": tuple(n*quantum for n in events)} + obs["upper_sum"] = {**summary, "schema": "solarlab.nonnegative-upper-step.v1", + "interval_sha256": hashlib.sha256(local_bytes).hexdigest()} + row["observation"], row["arithmetic_calls"] = tag(obs), calls + for j, key in enumerate(ledgers): + result["cumulative_absolute_charge_bounds_C"][key] = tag(tuple(n*quantum for n in numbers[j*6:j*6+6:2])) + result["cumulative_observation_reference_bounds_C"][key] = tag(tuple(n*quantum for n in numbers[j*6+1:j*6+6:2])) + result["cumulative_representation"] = tag(summary) + return request, rows, result + + +class PartitionReadbackTests(unittest.TestCase): + @classmethod + def setUpClass(cls): + cls.template = partition_fixture() + + def setUp(self): + self.temp = tempfile.TemporaryDirectory() + self.addCleanup(self.temp.cleanup) + self.case_number = 0 + self.reset() + + def reset(self, template=None): + self.case_number += 1 + self.folder = Path(self.temp.name)/str(self.case_number) + self.folder.mkdir() + self.request, self.rows, self.result = deepcopy(self.template if template is None else template) + + publish = NativeReadbackTests.publish + verify = NativeReadbackTests.verify + bad = NativeReadbackTests.bad + + def interval(self, index=0): + return [r for r in self.rows if r["kind"].startswith("voltage_lift_interval_charge")][index] + + def mutate_observation(self, change, index=0): + row = self.interval(index) + obs = _untag_fixture(row["observation"]) + change(obs) + row["observation"] = tag(obs) + + def test_complete_partition_and_nonresetting_twelve_prefixes(self): + self.publish() + receipt = self.verify() + self.assertEqual(receipt["charge_refinement"]["intervals"], 3) + self.assertEqual(receipt["charge_refinement"]["channels"], 12) + self.assertEqual(receipt["charge_refinement"]["rounded_terms"], [3]*12) + + def test_exact_zero_range_shortcut(self): + self.reset(partition_fixture(zero=True)) + self.publish() + self.assertTrue(self.verify()["verified"]) + + def test_legacy_and_v2_record_kinds_cannot_mix(self): + self.interval()["kind"] = "voltage_lift_interval_charge" + self.publish() + self.bad("record_order_expected_voltage_lift_interval_charge_v2") + self.reset(fixture()) + self.interval()["kind"] = "voltage_lift_interval_charge_v2" + self.publish() + self.bad("record_order_expected_voltage_lift_interval_charge") + + def test_frozen_parent_and_refinement_constants(self): + for field in ("parent", "quantum", "channels", "max_terms", "quantum_float", "precision_float"): + with self.subTest(field=field): + self.reset() + policy = self.request["interval_observation"] + if field == "parent": + policy["parent_policy_sha256"] = "0"*64 + elif field == "quantum_float": + policy["charge_refinement"]["upper_sum"]["quantum_bits"] = 120.0 + elif field == "precision_float": + policy["arithmetic"]["bits"] = 256.0 + base = {k: v for k, v in policy.items() if k not in ("parent_policy_sha256", "charge_refinement")} + base["schema"] = "solarlab.interval-observation-policy.v1" + policy["parent_policy_sha256"] = digest(base) + elif field == "channels": + policy["charge_refinement"]["upper_sum"]["channel_ids"].reverse() + else: + policy["charge_refinement"]["upper_sum"]["quantum_bits" if field == "quantum" else "max_terms"] -= 1 + self.publish() + self.bad("charge_refinement_parent_policy" if field == "precision_float" else + "charge_refinement_constants" if field == "quantum_float" else None) + + def test_working_precision_is_an_integer_schema_field(self): + row = self.interval() + port = _untag_fixture(row["observation"])["terminal_partition"]["ports"][0] + row["arithmetic_calls"][port["original_call_range"][0]+1]["working_bits"] = 512.0 + self.publish() + self.bad("partition_moment_radius") + + def test_cells_cannot_be_missing_reordered_or_wrong_clock(self): + for change in ("missing", "clock", "overlap", "port"): + with self.subTest(change=change): + self.reset() + def corrupt(obs): + part = obs["terminal_partition"] + port = part["ports"][0] + if change == "missing": + port["cells"] = port["cells"][:-1] + elif change == "clock": + port["cells"][0]["left"] += Fraction(1, 100) + elif change == "overlap": + port["cells"][1]["call_range"] = port["cells"][0]["call_range"] + else: + part["ports"] = tuple(reversed(part["ports"])) + self.mutate_observation(corrupt) + self.publish() + self.bad() + + def test_outward_root_radius_and_minimum_are_independent_checks(self): + for change in ("root", "radius", "minimum", "allocation"): + with self.subTest(change=change): + self.reset() + def corrupt(obs): + port = obs["terminal_partition"]["ports"][0] + cell = port["cells"][0] + if change == "root": + cell["bound"]["upper"] = [0, 1] + elif change == "radius": + cell["bound"]["squared_integral"]["absolute_error_bound"] = [1, 1] + elif change == "minimum": + port["retained_upper_C"] = Fraction(0) + else: + cell["allocation_C"] *= 2 + self.mutate_observation(corrupt) + self.publish() + self.bad() + + def test_endpoint_carrier_debit_cannot_be_dropped(self): + self.mutate_observation(lambda o: o["terminal_partition"].update(endpoint_carrier_L1_upper_C=(Fraction(0),)*2)) + self.publish() + self.bad("partition_charge_debits") + + def test_prefix_understatement_extra_quantum_reset_and_slack(self): + for change in ("under", "over", "reset", "slack", "count", "source"): + with self.subTest(change=change): + self.reset() + def corrupt(obs): + cert = obs["upper_sum"] + if change in ("under", "over", "reset"): + values = list(cert["upper_numerators"]) + values[0] = 0 if change == "reset" else values[0]+(-1 if change == "under" else 1) + cert["upper_numerators"] = tuple(values) + elif change == "slack": + cert["slack_upper_bounds"] = (Fraction(0),)*12 + elif change == "count": + cert["index"] = 1 + else: + cert["source_identity"] = "0"*64 + self.mutate_observation(corrupt, index=2) + self.publish() + self.bad() + + def test_signed_evidence_digest_and_final_representation(self): + self.mutate_observation(lambda o: o["upper_sum"].update(interval_sha256="0"*64)) + self.publish() + self.bad("charge_upper_local_evidence") + self.reset() + summary = _untag_fixture(self.result["cumulative_representation"]) + summary["rounded_terms"] = (0,)*12 + self.result["cumulative_representation"] = tag(summary) + self.publish() + self.bad("result_charge_representation") + + def test_new_representation_does_not_accept_incomplete_or_failed_result(self): + for key, value in (("complete_protocol", False), ("first_failure", {"reason": "original gate"})): + with self.subTest(key=key): + self.reset() + self.result[key] = value + self.publish() + self.bad("incomplete_native_result") + + +if __name__ == "__main__": + unittest.main() + + +def _diagnostic_metadata_case(tmp_path): + """Opaque manufactured metadata only; it is not a decodable physical case.""" + import hashlib + from copy import deepcopy + from scripts.benchmarks.native_readback import _digest + from scripts.benchmarks import coupled_device_prototype as kernel + + def put(name, value, raw=False): + path = tmp_path/name + data = value.encode() if raw else (json.dumps(value,indent=2)+"\n").encode() + path.write_bytes(data) + return {"path":str(path),"bytes":len(data),"sha256":hashlib.sha256(data).hexdigest()} + zero = [0.0.hex()]*45 + model, reference, layout, point_id = (_digest({"manufactured":name}) for name in ("model","reference","layout","point")) + mapping = {"physical_model":model,"physical_reference":reference,"layout":layout, + "columns_hex":[1.0.hex()]*45,"rows_hex":[1.0.hex()]*45, + "lift_hex":[[0.0.hex(),0.0.hex()] for _ in range(45)],"reference_inputs_hex":[0.0.hex()]*2, + "mapped_input_profile":"frame-input-expansion12-v1","mapped_input_words":12, + "raw_coordinate_meaning":"manufactured parent","physical_coordinate_meaning":"manufactured SI"} + controls = {"rtol":1e-6,"atol":[1e-8]*45,"max_step":1.0,"first_step":2.0**-8} + hold = {"id":"slow_state_hold","start":0.5,"end":4.0,"voltage":[0.0,0.0],"photons":[0.0,0.0]} + parent = {"schema":"solarlab.voltage-lift-native-request.v1","case_id":"manufactured-metadata-only", + "numeric_packet":{"layout_identity":layout,"definition":{"mu_n":1.0}}, + "voltage_lift_map":mapping,"map_identity":_digest(mapping),"segments":[hold],"controls":controls, + "previous_controls":deepcopy(controls),"weight_certificate":{"manufactured":True}, + "budgets":{"charge_C":1e-6},"original_budgets":{"charge_C":1e-6}, + "quadrature":{"8":{},"16":{},"32":{}},"physical_domain_policy":{"manufactured":True}, + "segment_startup_policy":{"overrides":{"slow_state_hold":{"first_step":2.0**-8}}}, + "frame_input_policy":{"profile":"frame-input-expansion12-v1"}} + payload = {"schema":"solarlab.precision-point.v2","identity":point_id,"layout":layout, + "time":1.0.hex(),"inputs":[0.0.hex()]*2,"manufactured_opaque_payload":True} + point = {"payload":payload,"sha256":_digest(payload)} + frame = {"size":45,"t0_hex":1.0.hex(),"parent_map_identity":_digest(mapping), + "q0_words_hex":[zero[:] for _ in range(4)],"v0_words_hex":[zero[:] for _ in range(4)]} + accepted = {"Point_identity":point_id,"physical_reference_identity":reference,"physical_source_identity":model, + "original_native_history_recovered":False,"frame":frame,"map":dict(mapping,segment_frame=frame), + "public_return":{"raw_state_hex":zero,"raw_rate_hex":zero}, + "physical_state_words_hex":[zero[:] for _ in range(12)],"physical_rate_words_hex":[zero[:] for _ in range(12)], + "inputs_hex":[0.0.hex()]*2,"input_rates_hex":[0.0.hex()]*2} + restore = {"Point":point,"base_Point_identity":point_id,"original_native_authority_restored":False, + "raw_v_hex":zero,"input_rates_hex":[0.0.hex()]*2} + clocks = [float(1+i/4).hex() for i in range(5)] + gates = {"base_Point_identity":point_id,"common_clocks":[{"hex":t} for t in clocks], + "charge":{"original_full_protocol_end_hex":4.0.hex()},"manufactured":True, + "refinement":{"coarse_max_step_hex":0.25.hex(),"fine_max_step_hex":0.125.hex()}} + window = {"segment_id":"manufactured_window","start_hex":1.0.hex(),"end_hex":2.0.hex(), + "common_clocks_hex":clocks,"maximum_step_choices_hex":[0.25.hex(),0.125.hex()], + "selected_max_step_hex":0.25.hex(),"first_step_hex":(2.0**-8).hex()} + descriptor = {"schema":"solarlab.native-interval-descriptor.v1","parent_request":put("Parent.json",parent), + "accepted_transfer":put("Accepted.json",accepted),"saved_restore":put("Restore.json",restore), + "GateSpec":put("Gates.json",gates),"window":window} + fields = ("case_id","numeric_packet","voltage_lift_map","map_identity","previous_controls","weight_certificate", + "budgets","original_budgets","quadrature","physical_domain_policy") + request = {key:deepcopy(parent[key]) for key in fields} + request.update(schema="solarlab.native-interval-child-request.v1",diagnostic_interval=descriptor, + controls=dict(controls,max_step=0.25),segments=[dict(hold,id="manufactured_window",start=1.0,end=2.0)], + observation_times={"manufactured_window":[float.fromhex(t) for t in clocks]}, + prior_request_sha256=_digest(parent),original_full_protocol_end_hex=4.0.hex(), + source_rebinding={"physical_model_identity":model,"numeric_kernel":put("Kernel.txt","manufactured metadata; never import",raw=True)}, + z0=[0.0]*45,zdot0=[0.0]*45,starting_Point_identity=point_id, + center_once=True,in_window_reinitializations=0,old_B_prefix_credit=False,original_native_Point_authority_restored=False) + request["segment_frame_policy"] = kernel._segment_frame_policy(request,"fixed-affine-state-rate-v1") + request["frame_input_policy"] = kernel._frame_input_policy(request,"frame-input-expansion12-v1") + return request, accepted, put + + +def test_diagnostic_metadata_authenticates_map_body_and_seed(tmp_path): + from copy import deepcopy + from scripts.benchmarks.native_readback import diagnostic_interval_binding, frame_input_word_count, HistoryVerificationError + from scripts.benchmarks import coupled_device_prototype as kernel + from scripts.benchmarks.contract_prototype import ContractError + + request, accepted, put = _diagnostic_metadata_case(tmp_path) + assert frame_input_word_count(request) == 12 + kernel.diagnostic_interval_context(request) + mutations = ( + lambda r: r["voltage_lift_map"]["columns_hex"].__setitem__(0,2.0.hex()), + lambda r: r["voltage_lift_map"]["lift_hex"][0].__setitem__(0,1.0.hex()), + lambda r: r["diagnostic_interval"]["parent_request"].update(sha256="bad"), + lambda r: r.update(starting_Point_identity="unrelated"), + lambda r: r["controls"].update(rtol=2*r["controls"]["rtol"]), + lambda r: r["numeric_packet"]["definition"].update(mu_n=2.0), + lambda r: r.update(original_full_protocol_end_hex=2.0.hex()), + lambda r: r["diagnostic_interval"]["window"].update(start_hex=0.0.hex()), + lambda r: r["zdot0"].__setitem__(0,1.0), + lambda r: r["z0"].__setitem__(0,1.0)) + for mutate in mutations: + bad = deepcopy(request) + mutate(bad) + try: + diagnostic_interval_binding(bad) + except HistoryVerificationError: + pass + else: + raise AssertionError("forged descriptor accepted") + bad = deepcopy(request) + bad["diagnostic_interval"]["window"]["maximum_step_choices_hex"] = [0.125.hex(),0.0625.hex()] + bad["diagnostic_interval"]["window"]["selected_max_step_hex"] = 0.125.hex() + bad["controls"]["max_step"] = 0.125 + try: + diagnostic_interval_binding(bad) + except HistoryVerificationError as error: + assert error.code == "diagnostic_step_controls" + else: + raise AssertionError("coordinated descriptor/control change escaped the frozen GateSpec") + # Alter the actual accepted map but retain its claimed parent map identity; + # re-pin the changed fixture so this tests coefficients, not only file SHA. + bad = deepcopy(request) + changed = deepcopy(accepted) + changed["map"]["rows_hex"][0] = 2.0.hex() + bad["diagnostic_interval"]["accepted_transfer"] = put("AcceptedChanged.json",changed) + try: + diagnostic_interval_binding(bad) + except HistoryVerificationError as error: + assert error.code == "diagnostic_accepted_unframed_map_body" + else: + raise AssertionError("same claimed parent ID concealed changed coefficients") + legacy = deepcopy(request) + legacy.pop("diagnostic_interval") + try: + kernel._validate_segment_frame_policy(legacy) + except (ContractError,KeyError): + pass + else: + raise AssertionError("new child was silently accepted by the legacy branch") + + +def test_explicit_refinement_preserves_original_gates_and_physical_input(tmp_path): + from scripts.benchmarks.native_readback import diagnostic_interval_binding + + request, _, put = _diagnostic_metadata_case(tmp_path) + original = deepcopy(request) + descriptor = request["diagnostic_interval"] + gate_bytes = Path(descriptor["GateSpec"]["path"]).read_bytes() + selection = { + "schema": "solarlab.native-interval-refinement.v1", "authority": "Root", + "accepted": True, "case": "fine", "GateSpec": descriptor["GateSpec"], + "base_Point_identity": request["starting_Point_identity"], + "window_start_hex": 1.0.hex(), "window_end_hex": 2.0.hex(), + "original_fine_max_step_hex": 0.125.hex(), "selected_max_step_hex": 0.0625.hex(), + "observed_coarse_max_step_hex": 0.1.hex(), + "effective_refinement_required": True, "original_scientific_thresholds_unchanged": True, + } + descriptor["schema"] = "solarlab.native-interval-descriptor.v2" + descriptor["refinement_selection"] = put("Selection.json", selection) + descriptor["window"]["selected_max_step_hex"] = 0.0625.hex() + request["controls"]["max_step"] = 0.0625 + result = diagnostic_interval_binding(request) + assert result["summary"]["GateSpec"] == original["diagnostic_interval"]["GateSpec"] + assert Path(descriptor["GateSpec"]["path"]).read_bytes() == gate_bytes + for key in ("numeric_packet", "voltage_lift_map", "map_identity", "z0", "zdot0", + "budgets", "original_budgets", "weight_certificate", "segments", "observation_times"): + assert request[key] == original[key] + assert diagnostic_interval_binding(original)["summary"]["window"]["selected_max_step_hex"] == 0.25.hex() + + def rejected(candidate): + with unittest.TestCase().assertRaises((HistoryVerificationError, KeyError)): + diagnostic_interval_binding(candidate) + + # The new path cannot silently change the legacy pair, tolerance or input. + for mutate in ( + lambda r: r["diagnostic_interval"].update(schema="solarlab.native-interval-descriptor.v1"), + lambda r: r["diagnostic_interval"].pop("refinement_selection"), + lambda r: r["diagnostic_interval"]["refinement_selection"].update(sha256="0"*64), + lambda r: r["diagnostic_interval"]["window"].update(maximum_step_choices_hex=[0.125.hex(), 0.0625.hex()]), + lambda r: r["controls"].update(rtol=2e-6), + lambda r: r["numeric_packet"]["definition"].update(mu_n=2.0), + ): + changed = deepcopy(request) + mutate(changed) + rejected(changed) + # Re-pin mutations so rejection tests semantics, not only a stale hash. + for index, edit in enumerate(( + {"accepted": False}, {"authority": "other"}, {"case": "coarse"}, + {"GateSpec": {"sha256": "foreign"}}, {"base_Point_identity": "foreign"}, + {"window_end_hex": 3.0.hex()}, {"original_fine_max_step_hex": 0.25.hex()}, + {"selected_max_step_hex": 0.03125.hex()}, {"observed_coarse_max_step_hex": 0.0625.hex()}, + {"observed_coarse_max_step_hex": 0.5.hex()}, {"effective_refinement_required": False}, + {"original_scientific_thresholds_unchanged": False}, + )): + changed = deepcopy(request) + changed["diagnostic_interval"]["refinement_selection"] = put( + "BadSelection%d.json" % index, dict(selection, **edit)) + rejected(changed) + changed = deepcopy(request) + changed["controls"]["max_step"] = 0.125 + changed["diagnostic_interval"]["window"]["selected_max_step_hex"] = 0.125.hex() + changed["diagnostic_interval"]["refinement_selection"] = put( + "UnrefinedSelection.json", dict(selection, selected_max_step_hex=0.125.hex())) + rejected(changed) + + +def _accuracy_metadata_case(tmp_path): + """Manufactured factor-1024 ancestor; no model or native execution.""" + import math + from scripts.benchmarks.native_readback import diagnostic_accuracy_policy, _digest + request, accepted, put = _diagnostic_metadata_case(tmp_path) + descriptor = request["diagnostic_interval"] + parent = json.loads(Path(descriptor["parent_request"]["path"]).read_text()) + parent["controls"].update(nonlin_conv_coef=1.024e-5, + nonlin_guard="first-correction-wrms-v1", nonlin_trace_capacity=4096) + old = {k: deepcopy(parent["controls"][k]) for k in ("rtol", "atol", "nonlin_conv_coef")} + before = {"rtol": math.ldexp(old["rtol"],10), + "atol": [math.ldexp(a,10) for a in old["atol"]], "nonlin_conv_coef":1e-8} + parent["time_weight_policy"] = {"schema":"solarlab.voltage-lift-time-weights.v1", + "kappa":1024, "parent_values":before, "values":old} + parent["weight_certificate"].update(rtol=old["rtol"], atol=old["atol"], + time_weight_policy_sha256=_digest(parent["time_weight_policy"])) + descriptor["parent_request"] = put("AccuracyParent.json",parent) + descriptor.update(schema="solarlab.native-interval-descriptor.v3", accuracy_case="coarse", + time_accuracy_policy=diagnostic_accuracy_policy(parent)) + request["prior_request_sha256"] = _digest(parent) + request["weight_certificate"] = deepcopy(parent["weight_certificate"]) + request["controls"].update(parent["controls"]) + request["controls"].update(descriptor["time_accuracy_policy"]["values"],max_step=0.25) + request["diagnostic_limits"] = {"accepted_intervals":128} + return request, parent, accepted, put + + +def test_accuracy_controls_preserve_external_promise_and_exact_metric(tmp_path): + import math + from scripts.benchmarks.native_readback import diagnostic_interval_binding, diagnostic_accuracy_policy + request, parent, _, _ = _accuracy_metadata_case(tmp_path) + original = deepcopy(request) + data = diagnostic_interval_binding(request) + assert data["parent"] == parent and request == original + assert request["weight_certificate"] == parent["weight_certificate"] + policy = request["diagnostic_interval"]["time_accuracy_policy"] + assert (policy["parent_factor"],policy["factor"],policy["cumulative_factor"]) == (1024,64,65536) + for q in (0.0, -2.0**-10, 1.25, 2.0**20): + # Independently form exact denominator/norm squares and physical + # nonlinear threshold; no producer transform is used for expectation. + old = Fraction(parent["controls"]["rtol"])*abs(Fraction(q))+Fraction(parent["controls"]["atol"][0]) + new = Fraction(request["controls"]["rtol"])*abs(Fraction(q))+Fraction(request["controls"]["atol"][0]) + assert new*64 == old + norm_old = (Fraction(3,7)/old)**2 + norm_new = (Fraction(3,7)/new)**2 + assert norm_new == 4096*norm_old + assert new*Fraction(request["controls"]["nonlin_conv_coef"]) == old*Fraction(parent["controls"]["nonlin_conv_coef"]) + rounded_old = 1/(parent["controls"]["rtol"]*abs(q)+parent["controls"]["atol"][0]) + rounded_new = 1/(request["controls"]["rtol"]*abs(q)+request["controls"]["atol"][0]) + assert rounded_new == math.ldexp(rounded_old,6) + # The exact scaling helper rejects unsupported subnormal outputs instead + # of silently turning the experiment into a tolerance-floor change. + bad = deepcopy(parent) + bad["controls"]["rtol"] = float.fromhex("0x1p-1022") + bad["time_weight_policy"]["values"]["rtol"] = bad["controls"]["rtol"] + bad["time_weight_policy"]["parent_values"]["rtol"] = float.fromhex("0x1p-1012") + bad["weight_certificate"]["rtol"] = bad["controls"]["rtol"] + bad["weight_certificate"]["time_weight_policy_sha256"] = digest(bad["time_weight_policy"]) + with unittest.TestCase().assertRaises(HistoryVerificationError): + diagnostic_accuracy_policy(bad) + + +def test_accuracy_policy_rejects_unbound_or_mismatched_controls(tmp_path): + from scripts.benchmarks.native_readback import diagnostic_interval_binding + request, _, _, _ = _accuracy_metadata_case(tmp_path) + for mutate in ( + lambda r:r["controls"].update(rtol=r["controls"]["rtol"]*2), + lambda r:r["controls"].update(nonlin_conv_coef=r["controls"]["nonlin_conv_coef"]/64), + lambda r:r["controls"]["atol"].__setitem__(3,0.0), + lambda r:r["controls"].update(max_nonlin_iters=100), + lambda r:r["diagnostic_interval"]["time_accuracy_policy"].update(factor=64.0), + lambda r:r["diagnostic_interval"]["time_accuracy_policy"].update(parent_factor=1), + lambda r:r["diagnostic_interval"]["time_accuracy_policy"].update(global_error_certified=True), + lambda r:r["diagnostic_interval"]["time_accuracy_policy"].update(extra="undeclared"), + lambda r:r["diagnostic_interval"].update(schema="solarlab.native-interval-descriptor.v1"), + lambda r:r["diagnostic_interval"].update(schema="solarlab.native-interval-descriptor.v2"), + lambda r:r["diagnostic_interval"].pop("time_accuracy_policy"), + lambda r:r["diagnostic_interval"].update(accuracy_case="other"), + lambda r:r.update(time_accuracy_policy={}), + lambda r:r["weight_certificate"].update(rtol=r["controls"]["rtol"]), + lambda r:r["budgets"].update(charge_C=1.0), + ): + bad=deepcopy(request);mutate(bad) + with unittest.TestCase().assertRaises((HistoryVerificationError,KeyError)): + diagnostic_interval_binding(bad) + + +def test_accuracy_fine_requires_complete_new_coarse_and_exact_dyadic_rule(tmp_path): + from scripts.benchmarks.native_readback import diagnostic_interval_binding, diagnostic_accuracy_fine_ceiling + coarse, _, _, put = _accuracy_metadata_case(tmp_path) + cp = put("ManufacturedCoarse.json",coarse) + grid = [{"left_hex":float(1+i/8).hex(),"right_hex":float(1+(i+1)/8).hex(), + "hused_hex":0.125.hex(),"step":i+1,"owner":"manufactured","generation":1} for i in range(8)] + result = {"verified":True,"complete_diagnostic_window":True,"complete_protocol":False, + "request_sha256":digest(coarse),"common_clocks":[{} for _ in range(5)],"diagnostic_grid":grid, + "coverage":{"intervals":8,"ports":2,"physical_word_layers":12}} + rp = put("ManufacturedReadback.json",result) + op = put("ManufacturedOperation.json",{"operation_id":"NativeAccuracyCoarse01","child_request":cp}) + outcome = {"schema":"solarlab.native-interval-root-tool-return.v1","passed":True,"within_total":True, + "active_tool_session":None,"request_sha256":op["sha256"], + "readback":{"accepted":True,"checks":{"owned_process_group_closed":True}}} + outp = put("ManufacturedReturn.json",outcome) + review = {"accepted":True,"independent":True,"readback":rp,"complete_return":outp} + revp = put("ManufacturedReview.json",review) + acceptance = {"schema":"solarlab.native-accuracy-coarse-acceptance.v1","authority":"Root","accepted":True, + "operation_id":"NativeAccuracyCoarse01","child_request":cp,"readback":rp,"operation_request":op, + "GateSpec":coarse["diagnostic_interval"]["GateSpec"],"independent_review":revp,"complete_return":outp} + ap = put("ManufacturedAcceptance.json",acceptance) + selection = {"schema":"solarlab.native-accuracy-refinement.v1","authority":"Root","accepted":True, + "case":"fine","GateSpec":coarse["diagnostic_interval"]["GateSpec"], + "base_Point_identity":coarse["starting_Point_identity"],"window_start_hex":1.0.hex(), + "window_end_hex":2.0.hex(),"selected_max_step_hex":0.0625.hex(), + "observed_coarse_max_step_hex":0.125.hex(),"effective_refinement_required":True, + "original_scientific_thresholds_unchanged":True,"coarse_child_request":cp, + "coarse_readback":rp,"coarse_acceptance":ap} + fine=deepcopy(coarse);d=fine["diagnostic_interval"] + d.update(accuracy_case="fine",refinement_selection=put("ManufacturedSelection.json",selection)) + d["window"]["selected_max_step_hex"]=0.0625.hex();fine["controls"]["max_step"]=0.0625 + diagnostic_interval_binding(fine) + assert diagnostic_accuracy_fine_ceiling(0.125)==0.0625 + assert diagnostic_accuracy_fine_ceiling(0.1)==0.03125 + assert diagnostic_accuracy_fine_ceiling(float.fromhex("0x1p-1073"))==float.fromhex("0x1p-1074") + for value in (0.0,-1.0,float("nan"),float("inf"),float.fromhex("0x1p-1074")): + with unittest.TestCase().assertRaises(HistoryVerificationError): + diagnostic_accuracy_fine_ceiling(value) + # Re-pin bad data throughout the receipt chain, so the failing witness is + # semantic (not merely a stale file digest). + for index, mutate in enumerate(( + lambda r:r.update(complete_diagnostic_window=False), + lambda r:r.update(request_sha256="stale-parent"), + lambda r:r["diagnostic_grid"].pop(3), + lambda r:r["coverage"].update(ports=1), + lambda r:r["diagnostic_grid"][3].update(left_hex=1.0.hex()), + lambda r:r["diagnostic_grid"][3].update(owner="foreign"), + lambda r:r["diagnostic_grid"][3].update(hused_hex=0.5.hex()), + )): + bad_result=deepcopy(result);mutate(bad_result) + bad_rp=put("BadReadback%d.json"%index,bad_result) + bad_revp=put("BadReview%d.json"%index,dict(review,readback=bad_rp)) + bad_ap=put("BadAcceptance%d.json"%index,dict(acceptance,readback=bad_rp,independent_review=bad_revp)) + bad=deepcopy(fine) + bad["diagnostic_interval"]["refinement_selection"]=put("BadSelection%d.json"%index, + dict(selection,coarse_readback=bad_rp,coarse_acceptance=bad_ap)) + with unittest.TestCase().assertRaises(HistoryVerificationError): + diagnostic_interval_binding(bad) + for index, fields in enumerate(({"accepted":False},{"operation_id":"Coarse03"}, + {"child_request":{"sha256":"old-coarse"}})): + bad=deepcopy(fine);bad_ap=put("StaleAcceptance%d.json"%index,dict(acceptance,**fields)) + bad["diagnostic_interval"]["refinement_selection"]=put("StaleSelection%d.json"%index, + dict(selection,coarse_acceptance=bad_ap)) + with unittest.TestCase().assertRaises(HistoryVerificationError): + diagnostic_interval_binding(bad) + bad=deepcopy(fine);bad["controls"]["max_step"]=0.03125 + bad["diagnostic_interval"]["window"]["selected_max_step_hex"]=0.03125.hex() + bad["diagnostic_interval"]["refinement_selection"]=put("TooSmallSelection.json", + dict(selection,selected_max_step_hex=0.03125.hex())) + with unittest.TestCase().assertRaises(HistoryVerificationError): + diagnostic_interval_binding(bad) + + +def test_accuracy_policy_retains_its_original_saved_seed_scope(tmp_path): + """The full-protocol option must not widen the old diagnostic contract.""" + import math + from scripts.benchmarks.native_readback import diagnostic_accuracy_policy + _, parent, _, _ = _accuracy_metadata_case(tmp_path) + old = diagnostic_accuracy_policy(parent) + assert old["application"] == "fresh_saved_seed_initialization_only" + assert old["external_acceptance_changed"] is False + changed = deepcopy(parent) + changed["time_weight_policy"]["kappa"] = 65536 + changed["controls"].update(rtol=math.ldexp(parent["controls"]["rtol"], -6), + atol=[math.ldexp(v, -6) for v in parent["controls"]["atol"]], + nonlin_conv_coef=math.ldexp(parent["controls"]["nonlin_conv_coef"], 6)) + changed["time_weight_policy"]["values"] = { + k: changed["controls"][k] for k in ("rtol", "atol", "nonlin_conv_coef")} + changed["weight_certificate"].update(rtol=changed["controls"]["rtol"], atol=changed["controls"]["atol"], + time_weight_policy_sha256=digest(changed["time_weight_policy"])) + with unittest.TestCase().assertRaisesRegex(HistoryVerificationError, "accuracy_original_1024_ancestry"): + diagnostic_accuracy_policy(changed) diff --git a/tests/numerical_contracts/test_native_readback_frame_reuse.py b/tests/numerical_contracts/test_native_readback_frame_reuse.py new file mode 100644 index 00000000..51dd5c60 --- /dev/null +++ b/tests/numerical_contracts/test_native_readback_frame_reuse.py @@ -0,0 +1,343 @@ +"""Exact, local frame decoding reuse; no integration or qualification. + +The reference bodies below are from the pinned pre-change reader. An explicit +baseline path checks their provenance; a saved workload path adds original +producer samples without running the observer or changing source admission. +""" +import ast +from copy import deepcopy +from fractions import Fraction +import gc +import hashlib +import inspect +import json +import math +import os +from pathlib import Path +import sys +import textwrap +from types import MethodType +from unittest.mock import patch +import weakref + +import pytest + +from scripts.benchmarks import native_readback as reader +from scripts.benchmarks.native_readback import ( + _digest, _frame_word_values, _hex, _hex_vector, _require, +) + +BASELINE_SHA = "1711a56c5ed5180964d6203d82a8909e68b4a5ff9b79f5455e6c170e9a9698c0" + + +def old_parent(self, frame, when, raw, *, rate=False): + q0 = _frame_word_values(frame["q0_words_hex"], self.size) + v0 = _frame_word_values(frame["v0_words_hex"], self.size) + if rate: + return tuple(v+Fraction(u) for v, u in zip(v0, raw)) + dt = Fraction(when)-Fraction(_hex(frame["t0_hex"])) + return tuple(q+dt*v+Fraction(u) for q, v, u in zip(q0, v0, raw)) + + +def old_sample(self, history): + _require(history["segment_frame_identity"] == _digest(self.active), "segment_frame_sample_identity") + if self.input_words == 12: + _require(history.get("mapped_input_profile") == "frame-input-expansion12-v1" + and history.get("mapped_input_words") == 12, "frame_input_history_profile") + else: + _require("mapped_input_profile" not in history and "mapped_input_words" not in history, + "frame_input_unbound_history_profile") + t = _hex(history["time_hex"]) + q = self.parent(self.active, t, _hex_vector(history["raw_solver_z_hex"], self.size)) + v = self.parent(self.active, t, _hex_vector(history["raw_solver_zdot_hex"], self.size), rate=True) + _require(_frame_word_values(history["physical_cumulative_words_hex"], self.size, count=self.input_words) == + self.physical(q, _hex_vector(history["inputs_hex"], 2)) + and _frame_word_values(history["physical_rate_words_hex"], self.size, count=self.input_words) == + self.physical(v, _hex_vector(history["input_rates_hex"], 2), rate=True), "segment_frame_sample_physical_words") + + +class ReferenceCheck(reader.SegmentFrameCheck): + parent = old_parent + sample = old_sample + + +def reference_bodies(path): + raw = Path(path).read_bytes() + assert hashlib.sha256(raw).hexdigest() == BASELINE_SHA + before = ast.parse(raw) + cls = next(n for n in before.body if isinstance(n, ast.ClassDef) and n.name == "SegmentFrameCheck") + for copied in (old_parent, old_sample): + original = next(n for n in cls.body if isinstance(n, ast.FunctionDef) and n.name == copied.__name__[4:]) + reference = ast.parse(textwrap.dedent(inspect.getsource(copied))).body[0] + assert ast.dump(ast.Module(body=original.body, type_ignores=[])) == ast.dump(ast.Module(body=reference.body, type_ignores=[])) + # Everything outside sample (including parent, decoding, source guards, + # endpoints, EOF and CRC handling) must be the exact pre-change syntax. + after = ast.parse(Path(reader.__file__).read_bytes()) + current = next(n for n in after.body if isinstance(n, ast.ClassDef) and n.name == cls.name) + original_sample = next(n for n in cls.body if isinstance(n, ast.FunctionDef) and n.name == "sample") + current.body = [original_sample if isinstance(n, ast.FunctionDef) and n.name == "sample" else n for n in current.body] + assert ast.dump(before) == ast.dump(after) + + +def words(values, count=4): + remaining = list(map(Fraction, values)) + result = [] + for _ in range(count): + layer = [float(value) for value in remaining] + result.append([value.hex() for value in layer]) + remaining = [value-Fraction(word) for value, word in zip(remaining, layer)] + assert not any(remaining), "fixture requires more words" + return result + + +def fixture(count=4, size=6, when=0.5): + q0 = tuple(Fraction((-1)**i*(i+1), 8)+Fraction(1, 2**60) for i in range(size)) + v0 = tuple(Fraction(i-2, 16)-Fraction(1, 2**70) for i in range(size)) + raw = [float(i-2)/32 for i in range(size)] + rate = [float(3-i)/64 for i in range(size)] + raw[-1] = -0.0 + frame = {"t0_hex": 0.25.hex(), "q0_words_hex": words(q0), "v0_words_hex": words(v0)} + base = {"columns_hex": [float(i+1).hex() for i in range(size)], + "lift_hex": [[0.125.hex(), (-0.25).hex()] for _ in range(size)], + "reference_inputs_hex": [0.25.hex(), 2.0.hex()]} + inputs, slopes = [0.625, 1.5], [0.0625, -0.125] + q = tuple(a+(Fraction(when)-Fraction(0.25))*b+Fraction(u) for a, b, u in zip(q0, v0, raw)) + v = tuple(a+Fraction(u) for a, u in zip(v0, rate)) + physical_q = tuple((i+1)*a+Fraction(1, 8)*(Fraction(inputs[0])-Fraction(1, 4)) + -Fraction(1, 4)*(Fraction(inputs[1])-2) for i, a in enumerate(q)) + physical_v = tuple((i+1)*a+Fraction(1, 8)*Fraction(slopes[0]) + -Fraction(1, 4)*Fraction(slopes[1]) for i, a in enumerate(v)) + history = {"segment_frame_identity": _digest(frame), "time_hex": when.hex(), + "raw_solver_z_hex": [u.hex() for u in raw], "raw_solver_zdot_hex": [u.hex() for u in rate], + "physical_cumulative_words_hex": words(physical_q, count), + "physical_rate_words_hex": words(physical_v, count), + "inputs_hex": [u.hex() for u in inputs], "input_rates_hex": [u.hex() for u in slopes]} + if count == 12: + history.update(mapped_input_profile="frame-input-expansion12-v1", mapped_input_words=12) + return {"size": size, "input_words": count, "active": frame, "base": base, "history": history} + + +def make(cls, data): + check = object.__new__(cls) + check.__dict__.update(deepcopy({k: v for k, v in data.items() if k != "history"})) + return check + + +def outcome(call): + try: + return {"value": call(), "error": None} + except Exception as error: + return {"error": {"type": type(error).__name__, "message": str(error), + "code": getattr(error, "code", None), + "record_index": getattr(error, "record_index", None), + "logical_offset": getattr(error, "logical_offset", None)}} + + +def observe(cls, data): + check, history = make(cls, data), deepcopy(data["history"]) + captures = [] + physical = check.physical + def capture(parent, inputs, *, rate=False): + result = physical(parent, inputs, rate=rate) + captures.append({"rate": rate, "parent": parent, "physical": result, + "physical_words": words(result, check.input_words)}) + return result + check.physical = capture + state_before, history_before = deepcopy(check.__dict__), deepcopy(history) + module = sys.modules[__name__] if cls is ReferenceCheck else reader + with patch.object(module, "_frame_word_values", wraps=module._frame_word_values) as decode: + result = outcome(lambda: check.sample(history)) + assert check.__dict__ == state_before + assert history == history_before + return {**result, "captures": captures}, decode.call_count + + +def test_pinned_reference_and_only_sample_changed(): + path = os.environ.get("SOLARLAB_FRAME_BASELINE_SOURCE") + if not path: + pytest.skip("explicit pinned baseline source required for provenance check") + reference_bodies(path) + + +@pytest.mark.parametrize("count", [4, 12]) +@pytest.mark.parametrize("size", [1, 6]) +@pytest.mark.parametrize("when", [-0.0, 0.25, 0.5, 1.0, math.nextafter(1.0, 0.0), math.nextafter(1.0, 2.0)]) +def test_exact_state_rate_and_words_with_six_to_four_decodes(count, size, when): + data = fixture(count, size, when) + before, old_count = observe(ReferenceCheck, data) + after, new_count = observe(reader.SegmentFrameCheck, data) + assert before == after and after["error"] is None + assert len(after["captures"]) == 2 + assert (old_count, new_count) == (6, 4) + + +def damage(data, case): + h, f = data["history"], data["active"] + if case == "identity": + h["segment_frame_identity"], h["time_hex"] = "changed", 0 + return "segment_frame_sample_identity" + if case == "profile": + h["mapped_input_words"], h["time_hex"] = 5, 0 + return "frame_input_history_profile" if data["input_words"] == 12 else "frame_input_unbound_history_profile" + if case == "time": + h["time_hex"], h["raw_solver_z_hex"] = "0x1p+0", [] + return "noncanonical_or_nonfinite_hex" + if case == "raw_state": + h["raw_solver_z_hex"][0], f["q0_words_hex"] = 0, [] + code = "hex_word_type" + elif case == "q_shape": + f["q0_words_hex"], h["raw_solver_zdot_hex"] = [], [] + code = "vector_shape" + elif case == "q_canonical": + f["q0_words_hex"][1][0], h["raw_solver_zdot_hex"] = 1.0.hex(), [] + code = "segment_frame_noncanonical_words" + elif case == "v_shape": + f["v0_words_hex"], f["t0_hex"], h["raw_solver_zdot_hex"] = [], 0, [] + code = "vector_shape" + elif case == "v_canonical": + f["v0_words_hex"][1][0], h["raw_solver_zdot_hex"] = 1.0.hex(), [] + code = "segment_frame_noncanonical_words" + elif case == "anchor_time": + f["t0_hex"], h["raw_solver_zdot_hex"] = 0, [] + code = "hex_word_type" + elif case == "raw_rate": + h["raw_solver_zdot_hex"][0], h["physical_cumulative_words_hex"] = 0, [] + code = "hex_word_type" + elif case == "physical_state_shape": + h["physical_cumulative_words_hex"], h["inputs_hex"] = [], [0, 0] + code = "vector_shape" + elif case == "state_inputs": + h["inputs_hex"], h["physical_rate_words_hex"] = [0, 0], [] + code = "hex_word_type" + elif case == "state_short_circuit": + values = _frame_word_values(h["physical_cumulative_words_hex"], data["size"], count=data["input_words"]) + h["physical_cumulative_words_hex"] = words([value+1 for value in values], data["input_words"]) + h["physical_rate_words_hex"] = [] + code = "segment_frame_sample_physical_words" + elif case == "physical_rate_shape": + h["physical_rate_words_hex"], h["input_rates_hex"] = [], [0, 0] + code = "vector_shape" + elif case == "rate_inputs": + h["input_rates_hex"] = [0, 0] + code = "hex_word_type" + elif case == "changed_frame": + f["q0_words_hex"][0][0] = 1.0.hex() + code = "segment_frame_sample_physical_words" + else: + raise AssertionError(case) + h["segment_frame_identity"] = _digest(f) + return code + + +@pytest.mark.parametrize("count", [4, 12]) +@pytest.mark.parametrize("case", ["identity", "profile", "time", "raw_state", "q_shape", "q_canonical", + "v_shape", "v_canonical", "anchor_time", "raw_rate", "physical_state_shape", + "state_inputs", "state_short_circuit", "physical_rate_shape", "rate_inputs", "changed_frame"]) +def test_identical_rejections_and_first_error_order(count, case): + data = fixture(count) + code = damage(data, case) + before, _ = observe(ReferenceCheck, data) + after, _ = observe(reader.SegmentFrameCheck, data) + assert before == after + assert after["error"]["code"] == code + + +@pytest.mark.parametrize("rate", [False, True]) +@pytest.mark.parametrize("case", ["valid", "short_raw", "missing_q", "bad_q", "bad_v", "bad_t0", "bad_when", "bad_raw"]) +def test_standalone_parent_keeps_validation_including_unused_q(rate, case): + data = fixture() + frame, when, raw = data["active"], 0.5, (0.25,)*data["size"] + if case == "short_raw": + raw = raw[:1] + elif case == "missing_q": + del frame["q0_words_hex"] + elif case == "bad_q": + frame["q0_words_hex"] = [] + elif case == "bad_v": + frame["v0_words_hex"] = [] + elif case == "bad_t0": + frame["t0_hex"] = "bad" + elif case == "bad_when": + when = object() + elif case == "bad_raw": + raw = (object(),) + original = deepcopy(frame) + results = [outcome(lambda cls=cls: make(cls, data).parent(frame, when, raw, rate=rate)) + for cls in (ReferenceCheck, reader.SegmentFrameCheck)] + assert results[0] == results[1] and frame == original + if case in ("missing_q", "bad_q", "bad_v", "bad_raw"): + assert results[0]["error"] is not None + + +@pytest.mark.parametrize("subclass", [False, True]) +@pytest.mark.parametrize("replace_after_state", [False, True]) +def test_parent_override_keeps_both_public_calls(subclass, replace_after_state): + data = fixture() + results, calls = [], [] + for base in (ReferenceCheck, reader.SegmentFrameCheck): + order = [] + def replacement(self, frame, when, raw, *, rate=False): + order.append(("replacement", rate)) + raise ValueError("replacement parent refusal") + def override(self, frame, when, raw, *, rate=False): + order.append(("override", rate)) + if replace_after_state: + self.parent = MethodType(replacement, self) + return base.parent(self, frame, when, raw, rate=rate) + cls = type("CustomCheck", (base,), {"parent": override}) if subclass else base + check = make(cls, data) + if not subclass: + check.parent = MethodType(override, check) + results.append(outcome(lambda: check.sample(data["history"]))) + calls.append(order) + assert results[0] == results[1] and calls[0] == calls[1] + assert calls[0] == [("override", False), ("replacement" if replace_after_state else "override", True)] + + +def test_decoded_values_have_no_retained_lifetime_or_cross_call_cache(): + class TrackedFraction(Fraction): + __slots__ = ("__weakref__",) + refs = [] + original_decode = reader._frame_word_values + def tracked(*args, **kwargs): + values = tuple(TrackedFraction(value) for value in original_decode(*args, **kwargs)) + refs.extend(weakref.ref(value) for value in values) + return values + data = fixture() + check = make(reader.SegmentFrameCheck, data) + before = deepcopy(check.__dict__) + with patch.object(reader, "_frame_word_values", side_effect=tracked) as decode: + for _ in range(3): + check.sample(data["history"]) + gc.collect() + assert all(ref() is None for ref in refs) + assert decode.call_count == 12 and check.__dict__ == before + check.active["q0_words_hex"][0][0] = 1.0.hex() + changed = deepcopy(data["history"]) + changed["segment_frame_identity"] = _digest(check.active) + with pytest.raises(reader.HistoryVerificationError, match="segment_frame_sample_physical_words"): + check.sample(changed) + check.active["v0_words_hex"] = [] + changed["segment_frame_identity"] = _digest(check.active) + with pytest.raises(reader.HistoryVerificationError, match="vector_shape"): + check.sample(changed) + + +def test_saved_producer_workload_exact_words_and_decode_count(): + path = os.environ.get("SOLARLAB_FRAME_WORKLOAD") + if not path: + pytest.skip("explicit bounded saved producer workload required") + payload = json.loads(Path(path).read_bytes()) + assert payload["schema"] == "solarlab.frame-decode-fixed-workload.v1" + counts = [0, 0] + for row in payload["samples"]: + assert _digest(row["history"]) == row["history_sha256"] + data = {"size": payload["size"], "input_words": payload["input_words"], "base": payload["base"], + "active": payload["frames"][row["frame_identity"]], "history": row["history"]} + before, old_count = observe(ReferenceCheck, data) + after, new_count = observe(reader.SegmentFrameCheck, data) + assert before == after and after["error"] is None + counts[0] += old_count + counts[1] += new_count + assert len(payload["samples"]) > 1 + assert counts == [6*len(payload["samples"]), 4*len(payload["samples"])] diff --git a/tests/numerical_contracts/test_native_runner.py b/tests/numerical_contracts/test_native_runner.py new file mode 100644 index 00000000..40303247 --- /dev/null +++ b/tests/numerical_contracts/test_native_runner.py @@ -0,0 +1,442 @@ +"""Infrastructure-only tests of the real save bodies and maintained runner. + +The scientific controller boundary is injected; no controller initialization, +IDA, native solver, trajectory, equation or physical qualification is executed. +""" +import ast +import gzip +import hashlib +import json +from pathlib import Path +import subprocess +import sys + +import pytest + +from scripts.benchmarks.native_history import HistoryLimitError, HistoryReader, HistoryWriter, METADATA_RESERVE, emit_record +from scripts.benchmarks import native_runner + +ROOT = Path(__file__).resolve().parents[2] +OWNERS = ("run_affine_native_pilot", "run_voltage_lift_native_pilot") + + +def test_exact_external_integer_helper_origin(tmp_path): + """Manufactured metadata/files only; no native payload is loaded or built.""" + import copy + tmp_path = tmp_path.resolve() + owner = tmp_path / "original"; owner.mkdir() + capsule = tmp_path / "capsule" + copied = capsule / "integer_product_helper"; copied.mkdir(parents=True) + binary = owner / "integer-helper.fixture" + snapshot = copied / binary.name + payload = b"manufactured metadata payload, never executable" + binary.write_bytes(payload); snapshot.write_bytes(payload) + digest = hashlib.sha256(payload).hexdigest() + manifest_path = owner / "Manifest.json" + manifest = {"schema": "solarlab.integer-product-build.v1", "build_id": "fixture-build", + "build": {"source_sha256": "fixture-source"}, "binary_path": str(binary), "binary_sha256": digest} + manifest_path.write_text(json.dumps(manifest)) + info = {"schema": "solarlab.integer-product-backend.v1", "backend": "integer128", "selection": "required", + "binary_path": str(binary), "binary_sha256": digest, "manifest_path": str(manifest_path), + "manifest_sha256": hashlib.sha256(manifest_path.read_bytes()).hexdigest(), + "build_id": "fixture-build", "c_source_sha256": "fixture-source", "abi": {"supported": True, "integer_bits": 128}} + freeze = {"isolated_root": str(capsule), "integer_product_backend": info, + "source_sha256": {str(binary): digest, str(snapshot): digest}, "external_source_sha256": {}} + observed = {"path": str(binary), "origin": str(binary), "build_id": info["build_id"], + "c_source_sha256": info["c_source_sha256"], "abi": info["abi"]} + check = native_runner.validated_integer_helper_origin + name = "scripts.benchmarks._integer_product_native" + original = copy.deepcopy((freeze, observed)) + assert check(name, observed, freeze) is True + assert not Path(observed["path"]).is_relative_to(capsule) # the original failure condition + assert (freeze, observed) == original + assert check("scripts.benchmarks.foreign", observed, freeze) is False + assert check("perovskite_sim.foreign", observed, freeze) is False + for field, value in (("path", str(snapshot)), ("origin", str(snapshot)), + ("build_id", "stale"), ("c_source_sha256", "stale"), ("abi", {"supported": False})): + assert check(name, {**observed, field: value}, freeze) is False + for path in (str(binary), str(snapshot)): + changed = copy.deepcopy(freeze); changed["source_sha256"][path] = "0" * 64 + assert check(name, observed, changed) is False + changed = copy.deepcopy(freeze); changed["integer_product_backend"]["manifest_sha256"] = "0" * 64 + assert check(name, observed, changed) is False + snapshot.write_bytes(payload + b"stale") + assert check(name, observed, freeze) is False + snapshot.write_bytes(payload); binary.write_bytes(payload + b"stale") + assert check(name, observed, freeze) is False + binary.write_bytes(payload); manifest_path.write_text("{}") + assert check(name, observed, freeze) is False + + +def test_native_import_keeps_ordinary_guards(): + tree = ast.parse(Path(native_runner.__file__).read_text()) + main = next(n for n in tree.body if isinstance(n, ast.FunctionDef) and n.name == "main") + messages = {value.value for n in ast.walk(main) if isinstance(n, ast.Call) + and isinstance(n.func, ast.Name) and n.func.id == "RuntimeError" and n.args + for value in ast.walk(n.args[0]) if isinstance(value, ast.Constant) and isinstance(value.value, str)} + assert "actual_local_import_outside_frozen_code:" in messages + assert "actual_binding_outside_composed_installation:" in messages + assert "actual_import_not_bound:" in messages + calls = [n for n in ast.walk(main) if isinstance(n, ast.Call) and isinstance(n.func, ast.Name) + and n.func.id == "validated_integer_helper_origin"] + assert len(calls) == 1 + + +class BoundaryContractError(ValueError): + """Injected exception boundary; the extracted real save body is unchanged.""" + + +@pytest.mark.parametrize("policy", [None, {}, {"profile": "frame-input-expansion12-v1"}]) +def test_native_producer_binds_request_input_profile(policy): + tree = ast.parse(Path(native_runner.__file__).read_text()) + main = next(n for n in tree.body if isinstance(n, ast.FunctionDef) and n.name == "main") + call = next(n for n in ast.walk(main) if isinstance(n, ast.Call) + and isinstance(n.func, ast.Name) and n.func.id == "run_recorded") + request = {} if policy is None else {"frame_input_policy": policy} + expected_profile = None if policy is None else policy.get("profile") + model, segments, admission, timing, emitter, execution_provenance = (object() for _ in range(6)) + observed = [] + + def map_factory(actual_model, *, mapped_input_profile=None): + assert actual_model is model + observed.append(mapped_input_profile) + return object() + + def controller(mapping, actual_segments, actual_request, actual_admission, emit, **kwargs): + assert observed == [expected_profile] + assert actual_segments is segments and actual_request is request + assert actual_admission is admission and emit is emitter + assert kwargs == {"timing": timing, "execution_provenance": execution_provenance} + return mapping + + env = {"AffineVoltageMap": map_factory, "run_voltage_lift_native_pilot": controller, + "model": model, "segments": segments, "request": request, + "admission": admission, "timing": timing, "execution_provenance": execution_provenance} + producer = eval(compile(ast.Expression(call.args[1]), native_runner.__file__, "eval"), env) + assert producer(emitter) is not None + + +def save_body(owner, emit, cap): + path = ROOT / "scripts/benchmarks/coupled_device_prototype.py" + tree = ast.parse(path.read_text()) + controller = next(n for n in tree.body if isinstance(n, ast.FunctionDef) and n.name == owner) + save = next(n for n in controller.body if isinstance(n, ast.FunctionDef) and n.name == "save") + assert any(isinstance(n, ast.Call) and isinstance(n.func, ast.Name) and n.func.id == "emit_record" + for n in ast.walk(save)), "actual controller save path is not integrated" + counts = {"history_bytes": 0, "native_steps": 0} + env = {"emit": emit, "budgets": {"total_output_bytes": cap}, "counts": counts, + "execution_output": {"effective_total_output_bytes": cap}, + "emit_record": emit_record, "HistoryLimitError": HistoryLimitError, + "ContractError": BoundaryContractError, "json": json, + "timing": native_runner.RuntimeTiming()} + exec(compile(ast.Module(body=[save], type_ignores=[]), str(path), "exec"), env) + return env["save"], counts + + +def accepted_record(): + folder = ROOT / "tests/fixtures/native_history" + spec = json.loads((folder / "manifest.json").read_text())["accepted"] + raw = (folder / spec["path"]).read_bytes() + if "stored_sha256" in spec: + assert hashlib.sha256(raw).hexdigest() == spec["stored_sha256"] + if spec.get("encoding") == "gzip": + raw = gzip.decompress(raw) + assert hashlib.sha256(raw).hexdigest() == spec["sha256"] + return json.loads(raw) + + +def read_rows(path): + with HistoryReader(path, encoding="gzip", max_record_bytes=131072, max_logical_bytes=1048576) as reader: + rows = list(reader.records()) + assert reader.container_complete is True + return rows + + +@pytest.mark.parametrize("owner", OWNERS) +def test_actual_save_paths_raw_callback_and_explicit_writer(tmp_path, owner): + record = {"kind": "infrastructure_only", "repeat": "x" * 8192, "zero": 0, "false": False, "null": None} + raw = (json.dumps(record, separators=(",", ":"), allow_nan=False) + "\n").encode() + captured = [] + save, counts = save_body(owner, captured.append, METADATA_RESERVE + len(raw)) + save(record) + assert captured == [record] and captured[0] is record + assert counts == {"history_bytes": len(raw), "native_steps": 0} + refused, untouched = save_body(owner, captured.append, METADATA_RESERVE + len(raw) - 1) + with pytest.raises(BoundaryContractError, match="history_budget"): + refused(record) + assert untouched["history_bytes"] == 0 and len(captured) == 1 + + cap = METADATA_RESERVE + 1000 + folder = tmp_path / "gzip"; folder.mkdir() + with HistoryWriter(folder / "history.gz", encoding="gzip", total_output_bytes=cap) as writer: + save, counts = save_body(owner, writer, cap) + save(record) # This raw size could not pass the unchanged legacy raw gate. + assert counts["history_bytes"] == len(raw) > 1000 + assert counts["history_encoded_bytes"] == writer.encoded_bytes < 1000 + assert counts["native_steps"] == 0 + assert read_rows(writer.path) == [record] + + folder = tmp_path / "wrapped"; folder.mkdir() + with HistoryWriter(folder / "history.gz", encoding="gzip", total_output_bytes=cap) as writer: + save, counts = save_body(owner, lambda value: writer(value), cap) + with pytest.raises(BoundaryContractError, match="history_budget"): + save(record) + assert writer.logical_bytes == counts["history_bytes"] == 0 + + +@pytest.mark.parametrize("owner", OWNERS) +def test_actual_save_first_failure_immediate_and_write_refusal(tmp_path, owner): + first = {"kind": "first_callback_failure", "exception": "InfrastructureSentinel", "reason": "first", "zero": 0, "null": None} + cap = METADATA_RESERVE + 4096 + with HistoryWriter(tmp_path / "history.gz", encoding="gzip", total_output_bytes=cap) as writer: + save, counts = save_body(owner, writer, cap) + save(first) + assert json.loads((tmp_path / "FirstFailure.json").read_text()) == first + save({**first, "reason": "later"}) + assert json.loads((tmp_path / "FirstFailure.json").read_text()) == first + assert counts["history_bytes"] == writer.logical_bytes + assert len(read_rows(writer.path)) == 2 + + folder = tmp_path / "refused"; folder.mkdir() + cap = METADATA_RESERVE + 20 # Header and reserved footer only; no record fits. + writer = HistoryWriter(folder / "history.gz", encoding="gzip", total_output_bytes=cap) + save, counts = save_body(owner, writer, cap) + with pytest.raises(BoundaryContractError, match="history_budget"): + save(first) + assert json.loads((folder / "FirstFailure.json").read_text()) == first + assert writer.closed and writer.first_exception is not None + assert writer.logical_bytes == counts["history_bytes"] == 0 + assert writer.path.stat().st_size == 10 + assert sum(p.stat().st_size for p in folder.iterdir()) <= cap + + +def test_runner_finishes_before_successful_result_and_binds_actual_record(tmp_path, monkeypatch): + events = [] + original_finish = HistoryWriter.finish + original_write = native_runner._write_document + def finish(writer): + position = original_finish(writer) + assert read_rows(writer.path) == [record] + events.append("finished") + return position + def publish(folder, name, value, **kwargs): + if name == "NativeResult.json": + assert events == ["finished"] + assert value["history"]["container_complete"] is True + events.append("result") + return original_write(folder, name, value, **kwargs) + monkeypatch.setattr(HistoryWriter, "finish", finish) + monkeypatch.setattr(native_runner, "_write_document", publish) + record = accepted_record() + raw = (json.dumps(record, separators=(",", ":"), allow_nan=False) + "\n").encode() + cap = 2 * METADATA_RESERVE + def controller(writer): + assert isinstance(writer, HistoryWriter) + save, counts = save_body(OWNERS[1], writer, cap) + save(record) + return {"status": native_runner.COMPLETED_STATUS, "complete_protocol": True, + "counts": counts, "fixture_scope": "nonnative recording test"} + result = native_runner.run_recorded(tmp_path, controller, total_output_bytes=cap, input_names=()) + assert events == ["finished", "result"] + stored = json.loads((tmp_path / "NativeResult.json").read_text()) + assert stored == result and stored["counts"]["history_bytes"] == len(raw) + assert stored["counts"]["history_encoded_bytes"] == (tmp_path / "NativeHistory.jsonl.gz").stat().st_size + assert stored["history"]["logical_sha256"] == hashlib.sha256(raw).hexdigest() + pointer = json.loads((tmp_path / "LastAccepted.json").read_text()) + assert pointer["right"] == record["right"] and pointer["frame"] == record["coefficient_frame_identity"] + assert pointer["pointer"]["history_byte_offset_after_record"] == len(raw) + assert native_runner.output_bytes(tmp_path, ()) <= cap + + +def test_runner_finalization_failure_never_publishes_success(tmp_path, monkeypatch): + failure = OSError("injected finalization failure") + cap = 2 * METADATA_RESERVE + def cannot_finish(_writer): + raise failure + monkeypatch.setattr(HistoryWriter, "finish", cannot_finish) + def controller(writer): + save, counts = save_body(OWNERS[1], writer, cap) + save({"kind": "infrastructure_only", "value": 0}) + return {"status": native_runner.COMPLETED_STATUS, "complete_protocol": True, "counts": counts} + with pytest.raises(OSError) as caught: + native_runner.run_recorded(tmp_path, controller, total_output_bytes=cap, input_names=()) + assert caught.value is failure and not (tmp_path / "NativeResult.json").exists() + assert json.loads((tmp_path / "RunnerFailure.json").read_text())["reason"] == str(failure) + rows = [] + with HistoryReader(tmp_path / "NativeHistory.jsonl.gz", encoding="gzip", max_record_bytes=1024, max_logical_bytes=4096) as reader: + with pytest.raises(EOFError): + for line in reader: + rows.append(json.loads(line)) + assert reader.container_complete is False + assert rows == [{"kind": "infrastructure_only", "value": 0}] + + +def test_runner_preserves_first_callback_and_primary_exception_on_secondary_failure(tmp_path, monkeypatch): + first = {"kind": "first_callback_failure", "reason": "first callback", "zero": 0, "null": None} + primary = RuntimeError("primary controller exception") + original_write = native_runner._write_document + def reject_failure(folder, name, value, **kwargs): + if name == "RunnerFailure.json": + raise OSError("secondary report failure") + return original_write(folder, name, value, **kwargs) + monkeypatch.setattr(native_runner, "_write_document", reject_failure) + cap = 2 * METADATA_RESERVE + def controller(writer): + save, _counts = save_body(OWNERS[1], writer, cap) + save(first) + assert json.loads((tmp_path / "FirstFailure.json").read_text()) == first + save({**first, "reason": "second callback"}) + raise primary + with pytest.raises(RuntimeError) as caught: + native_runner.run_recorded(tmp_path, controller, total_output_bytes=cap, input_names=()) + assert caught.value is primary + assert any("secondary report failure" in note for note in primary.__notes__) + assert json.loads((tmp_path / "FirstFailure.json").read_text()) == first + assert not (tmp_path / "NativeResult.json").exists() + + +def test_runner_total_artifact_cap_before_result_publication(tmp_path): + cap = METADATA_RESERVE + 4096 + def controller(writer): + save, counts = save_body(OWNERS[1], writer, cap) + save({"kind": "infrastructure_only", "value": 0}) + return {"status": native_runner.COMPLETED_STATUS, "complete_protocol": True, + "counts": counts, "oversized_fixture": "x" * (2 * METADATA_RESERVE)} + with pytest.raises(HistoryLimitError, match="total output cap"): + native_runner.run_recorded(tmp_path, controller, total_output_bytes=cap, input_names=()) + assert not (tmp_path / "NativeResult.json").exists() + assert native_runner.output_bytes(tmp_path, ()) <= cap + assert read_rows(tmp_path / "NativeHistory.jsonl.gz") == [{"kind": "infrastructure_only", "value": 0}] + assert json.loads((tmp_path / "RunnerFailure.json").read_text())["history"]["container_complete"] is True + + +def test_failed_controller_retains_primary_writer_error_and_small_envelope(tmp_path): + cap = METADATA_RESERVE + 20 + def controller(writer): + save, counts = save_body(OWNERS[1], writer, cap) + try: + save({"kind": "first_callback_failure", "reason": "original callback"}) + except BoundaryContractError as error: + return {"status": "failed_bounded_voltage_lift_native_pilot", "complete_protocol": False, + "counts": counts, "reason": str(error), "first_failure": {"reason": "later fallback"}} + raise AssertionError("the bounded record unexpectedly fit") + with pytest.raises(HistoryLimitError, match="reservation exceeds cap"): + native_runner.run_recorded(tmp_path, controller, total_output_bytes=cap, input_names=()) + assert not (tmp_path / "NativeResult.json").exists() + assert json.loads((tmp_path / "PrimaryFailure.json").read_text())["controller"]["status"].startswith("failed") + assert json.loads((tmp_path / "FirstFailure.json").read_text())["reason"] == "original callback" + assert native_runner.output_bytes(tmp_path, ()) <= cap + + +def test_decimal_failure_is_not_masked_by_result_publication(tmp_path): + enormous = 10**4400 + def controller(writer): + try: + writer.append({"kind": "interval_fixture", "large": enormous}) + except ValueError as error: + return {"status": "failed_bounded_voltage_lift_native_pilot", "complete_protocol": False, + "reason": str(error), "exception": type(error).__name__, + "counts": {"history_bytes": writer.logical_bytes}, + "last_attempt": {"phase": "native_return", "success": True, "status": 0}, + "first_failure": {"phase": "native_return", "success": True}, + "unpublished_cumulative_integer": enormous} + raise AssertionError("legacy decimal limit did not fail") + with pytest.raises(ValueError, match="4300 digits"): + native_runner.run_recorded(tmp_path, controller, total_output_bytes=2*METADATA_RESERVE, input_names=()) + primary = json.loads((tmp_path / "PrimaryFailure.json").read_text()) + failure = json.loads((tmp_path / "RunnerFailure.json").read_text()) + assert "4300 digits" in primary["controller"]["reason"] + assert primary["last_native_context"]["success"] is True + assert "native_history.py" in failure["traceback"] + assert "_write_document" not in failure["traceback"] + assert not (tmp_path / "NativeResult.json").exists() + + +def test_runner_records_applied_policy_and_publishes_large_exact_result(tmp_path): + from scripts.benchmarks.native_history import decode_integer_values + policy = {"schema": "solarlab.native-integer-io.v1", "codec": "decimal-with-bounded-hex-v1", + "decimal_digits": 4300, "max_integer_bits": 131072} + large = 10**4400 + 1 + def controller(writer): + observed = json.loads((tmp_path / "IntegerIOObserved.json").read_text()) + assert observed["actual_decimal_digits"] == 4300 and observed["policy"] == policy + writer.append({"kind": "integer_fixture", "rational": [large, large+2]}) + return {"status": native_runner.COMPLETED_STATUS, "complete_protocol": True, + "counts": {"history_bytes": writer.logical_bytes}, "exact_integer": -large} + result = native_runner.run_recorded(tmp_path, controller, total_output_bytes=2*METADATA_RESERVE, + input_names=(), integer_io_policy=policy) + stored = decode_integer_values(json.loads((tmp_path / "NativeResult.json").read_text()), policy) + assert stored == result and stored["exact_integer"] == -large + assert stored["history"]["integer_io"]["actual_decimal_digits"] == 4300 + + +@pytest.mark.parametrize("explicit_limit", [False, True]) +def test_runner_main_record_limit_forwarding_and_exact_large_record(tmp_path, explicit_limit): + # Evaluate the maintained entry's real recording keywords without executing + # its model/native construction. The production writer and reader are real. + tree = ast.parse(Path(native_runner.__file__).read_text()) + main = next(n for n in tree.body if isinstance(n, ast.FunctionDef) and n.name == "main") + call = next(n for n in ast.walk(main) if isinstance(n, ast.Call) + and isinstance(n.func, ast.Name) and n.func.id == "run_recorded") + cap = 4 * METADATA_RESERVE + freeze = {"watchdog": {"input_file_names": []}} + if explicit_limit: + freeze["writer_limits"] = {"max_record_bytes": 16 * METADATA_RESERVE} + env = {"freeze": freeze, "request": {"budgets": {"total_output_bytes": 2 * cap}}, + "effective_output_bytes": cap, + "timing": native_runner.RuntimeTiming()} + kwargs = {kw.arg: eval(compile(ast.Expression(kw.value), native_runner.__file__, "eval"), env) + for kw in call.keywords} + assert kwargs["total_output_bytes"] == cap + record = {"kind": "infrastructure_large_record", "high": [1.0, -0.0], + "low": [2.0 ** -100, -2.0 ** -100], "payload": "x" * METADATA_RESERVE} + raw = (json.dumps(record, separators=(",", ":"), allow_nan=False) + "\n").encode() + assert len(raw) > METADATA_RESERVE + before_footer = [] + def controller(writer): + assert writer.metadata_reserve_bytes == METADATA_RESERVE + writer(record) + before_footer.append(writer.encoded_bytes) + return {"status": native_runner.COMPLETED_STATUS, + "counts": {"history_bytes": writer.logical_bytes}} + if not explicit_limit: + with pytest.raises(HistoryLimitError): + native_runner.run_recorded(tmp_path, controller, **kwargs) + assert not before_footer and not (tmp_path / "NativeResult.json").exists() + failure = json.loads((tmp_path / "RunnerFailure.json").read_text()) + assert failure["history"]["max_record_bytes"] == METADATA_RESERVE + assert failure["history"]["records"] == 0 + return + result = native_runner.run_recorded(tmp_path, controller, **kwargs) + path = tmp_path / "NativeHistory.jsonl.gz" + with HistoryReader(path, encoding="gzip", max_record_bytes=16 * METADATA_RESERVE, + max_logical_bytes=2 * METADATA_RESERVE) as reader: + assert list(reader) == [raw] # Includes every numeric word and signed zero. + assert reader.container_complete is True # Validates EOF, CRC and trailer. + assert result["history"]["max_record_bytes"] == 16 * METADATA_RESERVE + assert result["history"]["logical_sha256"] == hashlib.sha256(raw).hexdigest() + assert result["history"]["logical_bytes"] == len(raw) + assert result["history"]["records"] == 1 + assert result["counts"]["history_encoded_bytes"] == path.stat().st_size > before_footer[0] + pointer = json.loads((tmp_path / "LastRecord.json").read_text()) + assert pointer["history_byte_offset_after_record"] == len(raw) + assert native_runner.output_bytes(tmp_path, ()) <= cap + + +@pytest.mark.parametrize("limit", [0, -1, True, 1.5, "16777216", None]) +def test_runner_rejects_invalid_record_limits_before_controller(tmp_path, limit): + def controller(_writer): + raise AssertionError("invalid resource limit reached the controller") + with pytest.raises(ValueError, match="max_record_bytes"): + native_runner.run_recorded(tmp_path, controller, total_output_bytes=2 * METADATA_RESERVE, + input_names=(), max_record_bytes=limit) + assert not (tmp_path / "NativeResult.json").exists() + assert not (tmp_path / "NativeHistory.jsonl.gz").exists() + + +def test_maintained_runner_import_is_isolated_from_scientific_backends(): + code = ("import sys; sys.path.insert(0,sys.argv[1]); import scripts.benchmarks.native_runner; " + "assert not any(name in sys.modules for name in ('numpy','scipy','flint','sksundae'))") + result = subprocess.run([sys.executable, "-I", "-S", "-B", "-c", code, str(ROOT)], + capture_output=True, text=True, timeout=2) + assert result.returncode == 0, result.stderr diff --git a/tests/numerical_contracts/test_native_transfer.py b/tests/numerical_contracts/test_native_transfer.py new file mode 100644 index 00000000..f4a60a56 --- /dev/null +++ b/tests/numerical_contracts/test_native_transfer.py @@ -0,0 +1,215 @@ +"""Saved and manufactured native-frame handoffs, independent of device plans.""" +from dataclasses import asdict +from fractions import Fraction +from types import SimpleNamespace +import json + +import numpy as np +import pytest + +from scripts.benchmarks.contract_prototype import ContractError +from scripts.benchmarks.coupled_device_prototype import digest + + +def test_frame_input_saved_fifth_word_and_product_range_rejections(): + """Exact component38 words from the closed B; no model is evaluated.""" + from scripts.benchmarks import coupled_device_prototype as d + from scripts.benchmarks.precision_prototype import PrimitiveExpansion + + source = ("0x1.1580b973611f8p-59", "0x1.77b1fecbeee8cp-126", "0x1.99870a7229194p-180", "0x0.0p+0") + raw = PrimitiveExpansion(tuple(np.array([float.fromhex(w)]) for w in source)) + scale = np.array([float.fromhex("0x1.a78f25679cb4ep-6")]) + expected = ("0x1.cb22dde128652p-65", "-0x1.870ea2fa3cf36p-119", "0x1.7fa957bd3a0a3p-176", + "0x1.f056101dcecb7p-230", "0x1.8000000000000p-286") + lift = np.array([[1., 0.]]) + mapped = d._frame_mapped_input(raw, scale, lift, [0., 0.], [0., 0.]) + assert tuple(float(w[0]).hex() for w in mapped.words[:5]) == expected + assert all(not np.any(w) for w in mapped.words[5:]) + exact = sum((Fraction(float(w[0])) for w in raw.words), Fraction())*Fraction(float(scale[0])) + assert sum((Fraction(float(w[0])) for w in mapped.words), Fraction()) == exact + with pytest.raises(ContractError, match="primitive_expansion_capacity_exceeded"): + d._frame_scale(raw, scale) + for bad in (np.zeros((1, 2)), np.array([[1., 1.]])): + with pytest.raises(ContractError, match="frame_input_map_bound"): + d._frame_mapped_input(raw, scale, bad, [0., 0.]) + with pytest.raises(ArithmeticError, match="supported precision range"): + d._frame_mapped_input([np.nextafter(0., 1.)], [0.5], lift, [0., 0.]) + assert tuple(float(w[0]).hex() for w in raw.words) == source + +def test_frame_input_unframed_seed_final_and_restored_handoffs(monkeypatch): + """Manufactured affine metadata/initializer only; physical F/J are absent.""" + from scripts.benchmarks import coupled_device_prototype as d + from scripts.benchmarks.contract_prototype import Layout, Support, VariableSpec, StateView, VOLT + from scripts.benchmarks.precision_prototype import DoubleArray, DoubleArithmetic, RelativeCoordinates + + class Model: + def __init__(self): + self.layout = Layout((Support("nodes", "cell", (2,)),), + (VariableSpec("phi_V", "potential", "nodes", (2,), VOLT),), ()) + self.coordinates = RelativeCoordinates(self.layout, {"phi_V": "linear"}) + self.reference = self.coordinates.initial(StateView(self.layout, [("phi_V", DoubleArray([0., 0.]))]), inputs=[0., 0.]) + self.S, self.Drow, self.x = np.array([0.25, 0.25]), np.ones(2), np.array([0., 1.]) + self.definition = SimpleNamespace(length=1., n_eq=0., p_eq=0., ion_initial=0., f_eq=0.) + self.source_identity, self.arithmetic = "a"*64, DoubleArithmetic() + + def trial(self, value, time, inputs, **kwargs): + return self.coordinates.trial(self.reference, value, time, inputs, **kwargs) + + def validate(self, point): + assert point.state.layout.identity == self.layout.identity + + def public_problem(self, **kwargs): + return SimpleNamespace() # no residual/Jacobian/model evaluator + + monkeypatch.setattr(d, "AffineCoupledSlab", Model) + model = Model(); profile = "frame-input-expansion12-v1" + base, enabled = d.AffineVoltageMap(model), d.AffineVoltageMap(model, mapped_input_profile=profile) + assert len(base.physical_primitive([0., 0.], [0., 0.]).words) == 4 + assert len(enabled.physical_primitive([0., 0.], [0., 0.]).words) == 12 + assert {k: v for k, v in enabled.payload().items() if k not in ("mapped_input_profile", "mapped_input_words")} == base.payload() + with pytest.raises(ContractError): + d.AffineVoltageMap(model, mapped_input_profile="unknown") + segments = tuple(d.ProtocolSegment(name, float(i), float(i+1), (0., 0.), (0., 0.)) + for i, name in enumerate(("dark_equilibrium_hold", "voltage_ramp", "slow_state_hold"))) + request = {"voltage_lift_map": enabled.payload(), "segment_frame_policy": {}, "frame_input_policy": {"profile": profile}} + context = SimpleNamespace(request_copy=lambda: json.loads(json.dumps(request)), request_sha256=digest(request), + segments=segments, segment_digest=lambda model, segment: digest(asdict(segment))) + # Parent-policy validation is independently tested against exact saved files. + monkeypatch.setattr(d, "_validate_segment_frame_policy", lambda request: None) + seen = [] + + def initial_input(binding, raw, predecessor): + mapping, segment = binding.adapter.mapping, binding.segment + seen.append(mapping.mapped_input_profile) + inputs, rates = segment.inputs(segment.start) + point, increment = mapping.trial(raw, segment.start, inputs, predecessor=predecessor) + supplied = np.array([0.125, 0.25]) + proof = {"raw_zdot_hex": [float(v).hex() for v in supplied], + "mapped_physical_rate_words_hex": [[float(v).hex() for v in w] for w in mapping.physical_rate(supplied, rates).words]} + proof["record_sha256"] = digest(proof) + return point, increment, supplied, proof + + monkeypatch.setattr(d, "voltage_lift_initial_input", initial_input) + monkeypatch.setattr(d, "voltage_lift_rate_projection", lambda model, value: { + "manufactured_history_metadata_only": True, "input_identity": value.identity_bytes().hex()}) + previous, raw = model.reference, np.zeros(2) + parent_history = d.VoltageLiftHistory(enabled) + for ordinal, segment in enumerate(segments, 1): + binding, u, udot, proof, record = d.voltage_lift_segment_initialization(enabled, context, segment, ordinal, raw, previous) + mapping = binding.adapter.mapping + assert mapping.mapped_input_profile == profile and len(mapping.frame.q0.words) == len(mapping.frame.v0.words) == 4 + assert len(record["physical_handoff_words_hex"]) == len(record["physical_rate_handoff_words_hex"]) == 12 + history = d.VoltageLiftHistory(mapping, parent_reference=parent_history.reference_record) + end, _, _, sample = history.build_sample(u, segment.end, [0., 0.], previous, udot, [0., 0.], event_side="left") + restored, _, _, _ = history.restore(history.reference_record, sample, previous) + assert restored.identity == end.identity and sample["mapped_input_profile"] == profile + assert len(sample["physical_cumulative_words_hex"]) == 12 + damaged = dict(sample, mapped_input_words=4) + with pytest.raises(ContractError): + history.restore(history.reference_record, damaged, previous) + raw, previous = mapping.frame.parent_state(segment.end, u), end + assert seen == [profile]*3 + +@pytest.fixture +def diagnostic_transfer_case(monkeypatch): + """Manufactured five-field Point; no device constructor or F/J/native call.""" + from scripts.benchmarks import coupled_device_prototype as d + from scripts.benchmarks.contract_prototype import Layout, Support, VariableSpec, StateView, VOLT, ONE, PARTICLE, VOLUME + from scripts.benchmarks.precision_prototype import DoubleArray, DoubleArithmetic, RelativeCoordinates, PrimitiveExpansion, encode_point + + class Model: + def __init__(self): + roots = {"n_m3": 8., "p_m3": 4., "phi_V": 0., "c_m3": 2., "f": 0.25} + self.layout = Layout((Support("nodes", "cell", (2,)),), tuple( + VariableSpec(name, name, "nodes", (2,), VOLT if name == "phi_V" else + ONE if name == "f" else PARTICLE/VOLUME) for name in roots), ()) + self.coordinates = RelativeCoordinates(self.layout, {name: "linear" for name in roots}) + self.reference = self.coordinates.initial(StateView(self.layout, [ + (name, DoubleArray([value, value])) for name, value in roots.items()]), inputs=[0., 0.]) + self.S, self.Drow, self.x = np.full(10, 0.25), np.ones(10), np.array([0., 1.]) + self.definition = SimpleNamespace(length=1., n_eq=8., p_eq=4., ion_initial=2., f_eq=0.25) + self.source_identity, self.arithmetic = "a"*64, DoubleArithmetic() + + def trial(self, value, time, inputs, **kwargs): + return self.coordinates.trial(self.reference, value, time, inputs, **kwargs) + + def validate(self, point): + if point.state.layout.identity != self.layout.identity or point.inputs.shape != (2,): + raise ContractError("manufactured_reference_mismatch") + for variable in self.layout.variables: + self.reference.state.field(variable.id).difference(point.state.field(variable.id)) + + def public_problem(self, **kwargs): + return SimpleNamespace() # No residual, tangent, Poisson or Jacobian method. + + monkeypatch.setattr(d, "AffineCoupledSlab", Model) + model = Model() + mapping = d.AffineVoltageMap(model, mapped_input_profile="frame-input-expansion12-v1") + segment = d.ProtocolSegment("saved_hold", 0.5, 0.75, (0.125, 0.25), (3., 4.)) + inputs, input_rate = segment.inputs(segment.start) + q0 = PrimitiveExpansion(tuple(np.full(10, x) for x in (0.25, 2.**-60, -2.**-120, 2.**-180))) + v0 = PrimitiveExpansion(tuple(np.full(10, x) for x in (0.125, -2.**-62, 2.**-123, -2.**-185))) + prior, _ = mapping.trial(np.zeros(10), 0.25, [0., 0.], predecessor=model.reference) + saved, _ = mapping.trial(q0, segment.start, inputs, predecessor=prior) + words = lambda value: [[float(x).hex() for x in word] for word in value.words] + seed = {"frame": {"q0_words_hex": words(q0), "v0_words_hex": words(v0)}, + "physical_state_words_hex": words(mapping.physical_primitive(q0, inputs)), + "physical_rate_words_hex": words(mapping.physical_rate(v0, input_rate)), + "inputs_hex": [float(x).hex() for x in inputs], + "input_rates_hex": [float(x).hex() for x in input_rate]} + restore = {"Point": encode_point(saved)} + request = {"voltage_lift_map": mapping.payload(), "map_identity": mapping.identity, + "segment_frame_policy": {}, "frame_input_policy": {"profile": "frame-input-expansion12-v1"}, + "z0": [0.]*10, "zdot0": [0.]*10, "diagnostic_interval": {"saved_restore": {"manufactured": True}}} + context = SimpleNamespace(request_copy=lambda: json.loads(json.dumps(request)), request_sha256=digest(request), + segments=(segment,), segment_digest=lambda model, segment: digest(asdict(segment))) + # Pin/schema metadata validation has separate tests; this fixture exercises + # the real frame, map, Point codec, full-word relation and rate binding. + monkeypatch.setattr(d, "diagnostic_interval_context", lambda request: {"accepted": seed, "restore": restore}) + monkeypatch.setattr(d, "_validate_segment_frame_policy", lambda request: None) + return SimpleNamespace(d=d, model=model, mapping=mapping, segment=segment, context=context, + saved=saved, prior=prior, seed=seed, request=request, restore=restore) + +def test_diagnostic_initialization_preserves_saved_transition_and_full_words(diagnostic_transfer_case, monkeypatch): + from scripts.benchmarks.precision_prototype import encode_point + c = diagnostic_transfer_case + original = encode_point(c.saved) + # The previous implementation necessarily built another transition here. + def forbidden_trial(*args, **kwargs): + raise AssertionError("initialization must bind the complete saved Point, not construct a new trial") + monkeypatch.setattr(c.d.AffineVoltageMap, "trial", forbidden_trial) + binding, z, zdot, proof, record = c.d.voltage_lift_segment_initialization( + c.mapping, c.context, c.segment, 1, np.zeros(10), c.saved) + assert proof["Point"] == original == encode_point(c.saved) + assert original["payload"]["authority"]["transition"]["previous_point"] == c.prior.identity + assert c.prior.identity != c.saved.identity == proof["point_identity"] + assert all(proof["transfer_checks"].values()) + assert record["physical_handoff_words_hex"] == c.seed["physical_state_words_hex"] + assert record["physical_rate_handoff_words_hex"] == c.seed["physical_rate_words_hex"] + assert len(record["physical_handoff_words_hex"]) == len(record["physical_rate_handoff_words_hex"]) == 12 + assert proof["inputs_hex"] == c.seed["inputs_hex"] and proof["input_rates_hex"] == c.seed["input_rates_hex"] + rate = binding.adapter.mapping.bind_rate(c.saved, z, zdot, c.segment.inputs(c.segment.start)[1]) + assert rate.point.identity == c.saved.identity and rate.mapping_identity == binding.adapter.mapping.identity + assert not proof["native_initialization_performed"] and not proof["original_native_authority_restored"] + +@pytest.mark.parametrize("damage", ["raw", "state_word", "rate_word", "slope", "point", "source"]) +def test_diagnostic_initialization_rejects_changed_transfer(diagnostic_transfer_case, damage): + c = diagnostic_transfer_case + if damage == "raw": c.request["z0"][0] = 2.**-40 + if damage == "state_word": c.seed["physical_state_words_hex"][3][0] = (2.**-170).hex() + if damage == "rate_word": c.seed["physical_rate_words_hex"][3][0] = (2.**-170).hex() + if damage == "slope": c.seed["input_rates_hex"][0] = 0.0.hex() + if damage == "point": c.restore["Point"] = __import__("copy").deepcopy(c.restore["Point"]); c.restore["Point"]["sha256"] = "b"*64 + if damage == "source": c.model.source_identity = "b"*64 + with pytest.raises(ContractError) as caught: + c.d.voltage_lift_segment_initialization(c.mapping, c.context, c.segment, 1, np.zeros(10), c.saved) + if damage in {"raw", "state_word", "rate_word", "slope"}: + evidence = caught.value.diagnostic_transfer_evidence + assert evidence["Point"] == c.restore["Point"] + assert not all(evidence["checks"].values()) + assert evidence["mapped_physical_state_words_hex"] + if damage == "raw": + assert caught.value.reason == "voltage_lift_point_raw_coordinate_mismatch" + assert caught.value.diagnostic_transfer_evidence["checks"]["raw_Point_relation"] is False + elif damage in {"state_word", "rate_word", "slope"}: + assert caught.value.reason == "diagnostic_complete_physical_transfer" diff --git a/tests/numerical_contracts/test_nonlocal_device.py b/tests/numerical_contracts/test_nonlocal_device.py new file mode 100644 index 00000000..8474b4ba --- /dev/null +++ b/tests/numerical_contracts/test_nonlocal_device.py @@ -0,0 +1,231 @@ +"""N02 preparation: manufactured algebra/metadata only, no physical call. + +These tests do not evaluate source SG, Poisson, WKB, recycling or a device. +The separately admitted batch owns the physical value/direction/solve checks. +""" +import ast +import inspect +from decimal import Decimal, localcontext +from pathlib import Path + +import numpy as np +import pytest +from scipy.sparse import csc_matrix +from scipy.sparse.linalg import splu + +from scripts.benchmarks.contract_prototype import ContractError, SECOND, VOLUME +from scripts.benchmarks.nonlocal_sparse import recycling_plan, wkb_plan +from scripts.benchmarks import nonlocal_device as witness + + +def small_plan(area=2.0): + return witness.physical_graph([0, 1, 3, 6], area, recycling_plan(4, [range(4)])) + + +def manufactured_local(plan): + """Invented linear coefficients solely for assembly/elimination tests.""" + n = plan.nodes + matrix = 3 * witness.physical_storage(plan) + for block, equation in enumerate(witness.CARRIER_ROWS): + for row, node in zip(plan.rows(equation), plan.interior): + matrix[row, block*n+node-1:block*n+node+2] += [-1, 2, -1] + matrix[row, 2*n+node-1:2*n+node+2] += [-.2, .4, -.2] + for row, node in zip(plan.rows("x_poisson"), plan.interior): + matrix[row, 2*n+node-1:2*n+node+2] = [-1, 2, -1] + matrix[row, node], matrix[row, n+node] = .3, -.3 + for variable, equation in (("n_m3", "z_n_contact"), ("p_m3", "zz_p_contact"), + ("phi_V", "y_phi_contact")): + matrix[plan.rows(equation), plan.layout.offsets[variable].start+np.array([0,n-1])] = 1 + return matrix + + +def decimal_solve(matrix, rhs): + with localcontext() as context: + context.prec = 80 + rows = [[Decimal.from_float(float(x)) for x in row] + [Decimal.from_float(float(b))] + for row, b in zip(matrix, rhs)] + for j in range(len(rows)): + pivot = max(range(j, len(rows)), key=lambda i: abs(rows[i][j])) + rows[j], rows[pivot] = rows[pivot], rows[j] + divisor = rows[j][j] + assert divisor != 0 + rows[j] = [x/divisor for x in rows[j]] + for i in range(len(rows)): + if i != j: + multiplier = rows[i][j] + rows[i] = [a-multiplier*b for a,b in zip(rows[i],rows[j])] + return np.array([float(row[-1]) for row in rows]) + + +def test_physical_units_storage_and_nonuniform_half_cells(): + plan = small_plan() + np.testing.assert_array_equal(plan.geometry.volumes, [1, 3, 5, 3]) + assert sum(plan.geometry.volumes) == plan.area_m2*(plan.x[-1]-plan.x[0]) + mass = witness.physical_storage(plan) + assert mass.shape == (12,12) and np.count_nonzero(mass) == 4 + for block, row in enumerate(witness.CARRIER_ROWS): + np.testing.assert_array_equal(mass[plan.rows(row), block*4+plan.interior], [3,5]) + for row in ("x_poisson", "y_phi_contact", "z_n_contact", "zz_p_contact"): + assert not np.any(mass[plan.rows(row)]) + term = next(t for t in plan.terms if t.id == "local:a_n:n_m3") + assert term.unit == VOLUME/SECOND + + +def test_FV_signs_geometry_once_and_boundary_reservoir_ledger(): + plan = small_plan() + y = np.ones(12) + rate = np.zeros(12) + rate[[1,2,5,6]] = [2,3,4,5] + result = witness.finite_volume_rows(plan,y,rate,charge_C=2, + local_currents_A_m2=[[2,4,8],[3,9,12]], + net_local_generation_m3_s=[1,2,3,4], displacement_C_m2=[5,8,10], + charge_density_C_m3=[1,2,3,4], contacts={key:[1,1] for key in witness.VARIABLES}) + np.testing.assert_array_equal(result['residual'][plan.rows('a_n')],[-2,-4]) + np.testing.assert_array_equal(result['residual'][plan.rows('b_p')],[12,13]) + np.testing.assert_array_equal(result['residual'][plan.rows('x_poisson')],[0,-11]) + np.testing.assert_array_equal(result['exterior_displacement_C_m2'],[4.5,16]) + np.testing.assert_array_equal(result['reservoir_exchange_into_device_particle_s'],[[-3,-4],[2,-24]]) + for block,equation in enumerate(witness.CARRIER_ROWS): + balance = plan.geometry.volumes @ rate[block*4:(block+1)*4] - 34 + balance -= sum(result['reservoir_exchange_into_device_particle_s'][block]) + assert balance == sum(result['residual'][plan.rows(equation)]) + + +def test_component_rate_and_face_divergence_have_different_unit_lifts(): + plan=small_plan(); scales=np.arange(1,13,dtype=float) + value=np.ones(12); jacobian=np.ones((12,12)) + rate,rate_j=witness.component_rows(plan,value,jacobian,scales,7,'recycling_rate_density') + face,face_j=witness.component_rows(plan,value,jacobian,scales,7,'wkb_face_divergence') + rows=plan.rows('a_n') + np.testing.assert_array_equal(rate[rows],[-21,-35]) + np.testing.assert_array_equal(face[rows],[-14,-14]) + np.testing.assert_allclose(rate_j[rows]*scales,-np.array([21,35])[:,None]*np.ones((2,12))) + np.testing.assert_allclose(face_j[rows]*scales,-14*np.ones((2,12))) + assert not np.any(face[plan.rows('x_poisson')]) + + +def test_zero_coefficients_keep_nonlocal_slots_and_subnormal_loss_is_rejected(): + plan=small_plan(); local=manufactured_local(plan); coupling=np.zeros((12,12)) + assembled=witness.assemble(plan,local,{'recycling.0':coupling},topology=plan.topology) + assert assembled.nnz == plan.graph.nnz > assembled.count_nonzero() + row=plan.rows('a_n')[0]; coupling[row,7]=.125 + changed=witness.assemble(plan,local,{'recycling.0':coupling},topology=plan.topology) + assert changed[row,7] == .125 and changed.nnz == assembled.nnz + coupling[row,11]=np.nextafter(0.,1.) + with pytest.raises(ContractError,match='outside_declared'): + witness.assemble(plan,local,{'recycling.0':coupling},topology=plan.topology) + with pytest.raises(ContractError,match='complete_nonlocal'): + witness.assemble(plan,local,{},topology=plan.topology) + + +def test_scaled_recycling_dense_sparse_auxiliary_and_rowwise_error(): + plan=small_plan(); n=plan.nodes + local=manufactured_local(plan) + raw_u=np.zeros((3*n,1)); raw_u[:2*n]=.001 + raw_v=np.zeros((3*n,1)); raw_v[:2*n,0]=np.arange(1,2*n+1)/10 + state_scales=np.arange(1,3*n+1,dtype=float) + u,v=witness.recycling_border(plan,raw_u,raw_v,state_scales,7) + assembled=witness.assemble(plan,local,{'recycling.0':u@v.T},topology=plan.topology) + rows=np.arange(1,3*n+1,dtype=float); cols=1/rows; residual=rows/7 + matrix,rhs=witness.normalized_system(assembled,residual,rows,cols) + expected=decimal_solve(matrix,rhs) + sparse=splu(csc_matrix(matrix)).solve(rhs) + auxiliary=witness.auxiliary_system(plan,local,u,v,rows,cols,np.array([3.])) + inactive=witness.auxiliary_system(plan,local,np.zeros_like(u),np.zeros_like(v),rows,cols,np.array([3.])) + assert inactive.nnz == auxiliary.nnz and inactive.nnz > inactive.count_nonzero() + bordered=splu(auxiliary).solve(np.r_[rhs,0.]) + np.testing.assert_allclose(sparse,expected,rtol=2e-13,atol=2e-14) + np.testing.assert_allclose(bordered[:3*n],expected,rtol=2e-13,atol=2e-14) + diagnostics=witness.solve_diagnostics(matrix,rhs,sparse) + assert diagnostics['maximum_componentwise_backward_error'] < 1e-14 + # A large row can hide a small-row failure from a global normwise metric. + diagnostics=witness.solve_diagnostics(np.diag([1e20,1.]),[1e20,1.],[1.,2.]) + assert diagnostics['normwise_backward_error'] < 1e-19 + assert diagnostics['maximum_componentwise_backward_error'] > .3 + + +def test_WKB_full_phi_and_eliminated_Poisson_remote_hole_support(): + component=wkb_plan(13,(0,4,8,13),[(3,8),(3,8),(3,7),(3,7)],(3,12,4,0)) + plan=witness.physical_graph(np.arange(13.),1.,component) + assert set(range(26,39)) <= set(component.couplings[0].columns) + assert not set(range(13,26)) & set(component.couplings[0].columns) + support=witness.poisson_chain_support(plan) + carrier_row=plan.rows('a_n')[7] + reduced_row=list(support['retained_rows']).index(carrier_row) + assert (reduced_row,14) in set(map(tuple,support['chain_edges'])) + assert not support['coefficient_mask_used'] + full=manufactured_local(plan); rhs=np.arange(1,40,dtype=float) + calls=[] + def block_solve(a,b): + calls.append((a.shape,b.shape)); return np.linalg.solve(a,b) + reduced=witness.poisson_schur(plan,full,rhs,block_solve) + carriers=np.linalg.solve(reduced['matrix'],reduced['rhs']) + phi=reduced['phi_per_carrier']@carriers+reduced['phi_rhs'] + np.testing.assert_allclose(np.r_[carriers,phi],decimal_solve(full,rhs),rtol=2e-13,atol=2e-13) + assert calls == [((13,13),(13,27))] + with pytest.raises(ContractError,match='only_recycling'): + witness.recycling_border(plan,np.zeros((39,1)),np.zeros((39,1)),np.ones(39),1) + + +def test_WKB_branch_change_invalidates_even_equal_union_edges(): + a=wkb_plan(13,(0,4,8,13),[(3,8),(3,8),(3,7),(3,7)],(3,12,4,0)) + b=wkb_plan(13,(0,4,8,13),[(3,8),(3,7),(3,7),(3,7)],(3,12,4,0)) + pa=witness.physical_graph(np.arange(13.),1.,a) + pb=witness.physical_graph(np.arange(13.),1.,b) + np.testing.assert_array_equal(pa.graph.edges(),pb.graph.edges()) + assert pa.topology != pb.topology + with pytest.raises(ContractError,match='structural_recompile'): + witness.assemble(pa,np.zeros((39,39)),{'wkb.electron':np.zeros((39,39))},topology=pb.topology) + + +@pytest.mark.parametrize('field',['source_request','artifact','state','geometry','topology']) +def test_cached_source_and_state_are_all_required(field): + expected={key:'a'*64 for key in ('source_request','artifact','state','geometry','topology')} + witness.verify_component_binding(expected,expected.copy()) + changed=expected.copy(); changed[field]='b'*64 + with pytest.raises(ContractError,match='exact_component'): + witness.verify_component_binding(expected,changed) + + +def test_physical_entry_is_denied_before_any_physical_import_or_callback(): + plan=small_plan(); state=np.ones(12) + with pytest.raises(ContractError,match='admitted_counted'): + witness.source_local_fields(plan,{},state,None) + with pytest.raises(ContractError,match='same_state_material'): + witness.source_local_jacobian(plan,{},state,1,{},lambda name:pytest.fail(name)) + def deny(name): + raise PermissionError(name) + with pytest.raises(PermissionError,match='local_constitutive_point'): + witness.source_local_fields(plan,{},state,deny) + module=ast.parse(inspect.getsource(witness)) + top_imports=[node for node in module.body if isinstance(node,(ast.Import,ast.ImportFrom))] + assert not any(isinstance(node,ast.ImportFrom) and (node.module or '').startswith('perovskite_sim') for node in top_imports) + functions={node.name:node for node in module.body if isinstance(node,ast.FunctionDef)} + body=ast.unparse(functions['source_local_jacobian']) + assert 'sg_fluxes_n_jacobian' in body and 'sg_fluxes_p_jacobian' in body + assert 'SG_jacobian_with_flux' in body and 'coupled_device_prototype' not in body + native=ast.parse((Path(__file__).parents[2]/'perovskite-sim/perovskite_sim/discretization/fe_operators.py').read_text()) + declarations={node.name:node for node in native.body if isinstance(node,ast.FunctionDef)} + for name,density,diffusion in [('sg_fluxes_n_jacobian','n','D_n'),('sg_fluxes_p_jacobian','p','D_p')]: + assert [arg.arg for arg in declarations[name].args.args] == ['phi',density,'dx',diffusion,'V_T'] + + +def test_2D_support_is_cartesian_absorber_not_a_flattened_trapezoid(): + plan=witness.recycling_2d_declaration(3,4,[(1,3)]) + assert plan.nodes == 12 + assert plan.couplings[0].rows == tuple(range(3,9))+tuple(range(15,21)) + assert plan.couplings[0].columns == plan.couplings[0].rows + + +def test_complete_nonlocal_endpoint_ledger_closes_manufactured_particle_balance(): + plan=small_plan();state=np.ones(12) + result=witness.finite_volume_rows(plan,state,np.zeros(12),charge_C=2, + local_currents_A_m2=np.zeros((2,3)),net_local_generation_m3_s=np.zeros(4), + displacement_C_m2=np.zeros(3),charge_density_C_m3=np.zeros(4), + contacts={key:[1,1] for key in witness.VARIABLES},recycling_m3_s=[1,2,3,4], + nonlocal_currents_A_m2=[[2,4,8],[0,0,0]]) + np.testing.assert_array_equal(result['residual'][plan.rows('a_n')],[-8,-19]) + np.testing.assert_array_equal(result['residual'][plan.rows('b_p')],[-6,-15]) + np.testing.assert_array_equal(result['reservoir_exchange_into_device_particle_s'],[[-3,-4],[-1,-12]]) + for block,equation in enumerate(witness.CARRIER_ROWS): + assert sum(result['residual'][plan.rows(equation)]) == -34-sum(result['reservoir_exchange_into_device_particle_s'][block]) diff --git a/tests/numerical_contracts/test_nonlocal_sparse.py b/tests/numerical_contracts/test_nonlocal_sparse.py new file mode 100644 index 00000000..ce5fada1 --- /dev/null +++ b/tests/numerical_contracts/test_nonlocal_sparse.py @@ -0,0 +1,255 @@ +"""Synthetic source-preparation checks; no physical fixed point is evaluated. + +The independent Decimal oracle is built from input words and the historical +trapezoid expression, never from a candidate graph/matrix/factor. WKB checks +here exercise declared path topology only; physical coefficient/derivative +comparisons live in the separately admitted NonlocalGraphV1 driver. +""" + +from decimal import Decimal, localcontext +import ast +import inspect +import json + +import numpy as np +import pytest + +from scripts.benchmarks.contract_prototype import ContractError +from scripts.benchmarks.nonlocal_sparse import ( + NonlocalPlan, auxiliary_matrix, disconnected_inventory, recycling_factors, + recycling_plan, wkb_plan, +) +from scripts.benchmarks.sparse_prototype import sparse_solve + + +def decimal_solve(a, b): + with localcontext() as context: + context.prec = 70 + rows = [[Decimal(str(v)) for v in row] + [Decimal(str(rhs))] + for row, rhs in zip(a, b)] + count = len(rows) + for column in range(count): + pivot = max(range(column, count), key=lambda i: abs(rows[i][column])) + rows[pivot], rows[column] = rows[column], rows[pivot] + divisor = rows[column][column] + assert divisor != 0 + rows[column] = [v / divisor for v in rows[column]] + for row in range(count): + if row != column: + multiple = rows[row][column] + rows[row] = [a - multiple * b for a, b in zip(rows[row], rows[column])] + return np.array([float(row[-1]) for row in rows]) + + +def recycling_input(): + # Deliberately nonuniform x, a noncontiguous mask and thickness != span. + # These dimensionless words test the historical expression, not a material. + return dict(x=[0, 1, 3, 4], n=[2, 3, 4, 5], p=[5, 4, 3, 2], + b_rad=[1, 2, 0, 1], ni_sq=[1, 1, 1, 1], + masks=[(0, 1, 3), (1, 2, 3)], escape=[.25, .5], thickness=[8, 7]) + + +def decimal_recycling(data): + """Independent edge-by-edge dense expression, not U/V multiplication.""" + d = lambda v: Decimal(str(v)) + count = len(data["x"]) + with localcontext() as context: + context.prec = 70 + rate = [d(0) for _ in range(count)] + jacobian = [[d(0) for _ in range(3 * count)] for _ in range(3 * count)] + for k, selected in enumerate(data["masks"]): + factor = (d(1) - d(data["escape"][k])) / d(data["thickness"][k]) + for left, right in zip(selected[:-1], selected[1:]): + half_width = (d(data["x"][right]) - d(data["x"][left])) / d(2) + for sender in (left, right): + b = d(data["b_rad"][sender]) + n, p = d(data["n"][sender]), d(data["p"][sender]) + emission = b * (n * p - d(data["ni_sq"][sender])) + for receiver in selected: + rate[receiver] += factor * half_width * emission + for row in (receiver, count + receiver): + jacobian[row][sender] += factor * half_width * b * p + jacobian[row][count + sender] += factor * half_width * b * n + return rate, jacobian + + +def test_recycling_dense_residual_jacobian_graph_auxiliary_and_independent_solve(): + data = recycling_input() + rate_ref, jac_ref = decimal_recycling(data) + generation, u, v, branches = recycling_factors(**data) + plan = recycling_plan(4, data["masks"]) + graph = plan.compile() + matrices = {c.id: np.outer(u[:, k], v[:, k]) for k, c in enumerate(plan.couplings)} + matrix = plan.assemble(graph, matrices, diagonal=4) + reference = np.array(jac_ref, dtype=float) + np.testing.assert_allclose(generation, np.array(rate_ref, dtype=float), rtol=2e-15) + np.testing.assert_allclose(u @ v.T, reference, rtol=2e-15, atol=1e-15) + np.testing.assert_allclose(matrix.toarray(), reference + 4 * np.eye(12), rtol=2e-15) + assert branches == ("active_positive_integral",) * 2 + assert matrix[0, 7] != 0 # remotely coupled p at node 3 -> n at node 0 + assert (0, 2) not in {tuple(pair) for pair in graph.edges()} + # B[2]==0 is not grounds for deleting a declared sender slot. + assert matrix[1, 2] == 0 and (1, 2) in {tuple(pair) for pair in graph.edges()} + rhs = [str((i % 4) - 1) for i in range(12)] + dense = [[value + (Decimal(4) if i == j else Decimal(0)) + for j, value in enumerate(row)] for i, row in enumerate(jac_ref)] + expected = decimal_solve(dense, rhs) + solution = sparse_solve(matrix, np.array(rhs, dtype=float)) + auxiliary_graph, auxiliary = auxiliary_matrix(plan, u, v, diagonal=4) + auxiliary_solution = sparse_solve(auxiliary, np.r_[np.array(rhs, dtype=float), [0, 0]]) + np.testing.assert_allclose(solution, expected, rtol=2e-14, atol=2e-15) + np.testing.assert_allclose(auxiliary_solution[:12], expected, rtol=2e-14, atol=2e-15) + np.testing.assert_allclose(auxiliary_solution[12:], v.T @ expected, rtol=2e-14, atol=2e-15) + assert auxiliary_graph.nnz < graph.nnz + 4 # bordered rather than dense rank expansion + + +def test_zero_coefficient_and_overlapping_occurrences_preserve_structure(): + data = recycling_input() + data["masks"] = [(0, 1, 3), (0, 1, 3)] + data["escape"] = [1, 1] + rate, u, v, branches = recycling_factors(**data) + plan = recycling_plan(4, data["masks"]) + graph = plan.compile() + matrix = plan.assemble(graph, {c.id: np.outer(u[:, k], v[:, k]) + for k, c in enumerate(plan.couplings)}) + assert np.all(rate == 0) and matrix.count_nonzero() == 12 + assert matrix.nnz > matrix.count_nonzero() + assert len(plan.couplings) == 2 and branches == ("inactive_parameter_or_mask",) * 2 + data["escape"] = [.25, .5] + _, new_u, new_v, _ = recycling_factors(**data) + changed = plan.assemble(graph, {c.id: np.outer(new_u[:, k], new_v[:, k]) + for k, c in enumerate(plan.couplings)}) + assert changed.nnz == matrix.nnz and graph.identity == plan.compile().identity + + +@pytest.mark.parametrize("change,error", [ + ({"n": [1, 1, 1, 1], "p": [1, 1, 1, 1]}, "nonregular_recycling_threshold"), + ({"x": [0, 1, 1, 4]}, "nonincreasing_recycling_grid"), + ({"b_rad": [1, float("nan"), 1, 1]}, "finiteness"), + ({"escape": [1]}, "shape"), + ({"masks": [(1, 0), (1, 2, 3)]}, "grid_order"), +]) +def test_recycling_branch_and_input_rejections(change, error): + data = recycling_input() + data.update(change) + with pytest.raises(ContractError, match=error): + recycling_factors(**data) + + +def test_negative_net_emission_and_nonpositive_thickness_keep_historical_inactivity(): + data = recycling_input() + data["ni_sq"] = [100] * 4 + data["thickness"] = [8, 0] + rate, u, v, branches = recycling_factors(**data) + assert np.all(rate == 0) and np.all(u @ v.T == 0) + assert branches == ("inactive_negative_integral", "inactive_parameter_or_mask") + + +def synthetic_wkb_plan(bounds=None): + return wkb_plan(10, (0, 3, 7, 10), + [(1, 7), (2, 6), (2, 5), (3, 5)] if bounds is None else bounds, + (1, 9, 4, 0)) + + +def test_wkb_full_region_potential_remote_levels_and_zero_flux_tangent(): + plan = synthetic_wkb_plan() + graph = plan.compile() + coupling = plan.couplings[0] + assert set(range(20, 30)) <= set(coupling.columns) + assert not set(range(10, 20)) & set(coupling.columns) # no supported hole channel + # A purely synthetic conservative transfer with independent endpoint and + # distant-window derivatives. This checks storage, not physical WKB values. + transfer = np.zeros(30) + transfer[1], transfer[8] = 1, -1 + gradient = np.zeros(30) + gradient[1], gradient[8], gradient[29] = 2, -2, 3 + dense = np.outer(transfer, gradient) + equilibrium = np.zeros(30) + assert np.all(dense @ equilibrium == 0) and dense[1, 8] != 0 + matrix = plan.assemble(graph, {coupling.id: dense}, diagonal=2) + np.testing.assert_array_equal(matrix.toarray(), 2 * np.eye(30) + dense) + rhs = np.arange(30, dtype=float) / 10 + reference = decimal_solve(2 * np.eye(30) + dense, rhs) + np.testing.assert_allclose(sparse_solve(matrix, rhs), reference, rtol=2e-14, atol=1e-14) + assert np.sum(dense, axis=0).max() == 0 + + +def test_moving_energy_paths_invalidate_even_if_aggregate_edges_are_identical(): + original = synthetic_wkb_plan() + moved = synthetic_wkb_plan([(1, 7), (2, 6), (3, 6), (3, 5)]) + np.testing.assert_array_equal(original.compile().edges(), moved.compile().edges()) + assert original.identity != moved.identity + with pytest.raises(ContractError, match="structural_recompile_required"): + moved.assemble(original.compile(), {"wkb.electron": np.zeros((30, 30))}) + + +def test_extremum_selection_invalidates_even_without_a_turning_edge_change(): + original = synthetic_wkb_plan() + moved = wkb_plan(10, (0, 3, 7, 10), [(1, 7), (2, 6), (2, 5), (3, 5)], (2, 8, 4, 1)) + assert moved.compile().nnz == original.compile().nnz + assert moved.identity != original.identity + + +def test_undeclared_nonzero_derivative_is_rejected_without_a_tail_threshold(): + plan = synthetic_wkb_plan() + jacobian = np.zeros((30, 30)) + jacobian[1, 15] = np.nextafter(0.0, 1.0) + with pytest.raises(ContractError, match="derivative_outside_declared_support"): + plan.assemble(plan.compile(), {"wkb.electron": jacobian}) + + +@pytest.mark.parametrize("bounds", [[(0, 9)] * 4, [(2, 3)] * 4, [(1, 7)] * 3, + [(1.1, 7)] * 4, [(2, 6), (1, 7), (2, 5), (3, 5)]]) +def test_wkb_unsupported_or_ambiguous_path_declarations_reject(bounds): + with pytest.raises(ContractError): + synthetic_wkb_plan(bounds) + + +def test_json_roundtrip_identity_and_reject_wrong_coordinate_meaning(): + plan = synthetic_wkb_plan() + document = json.loads(json.dumps(plan.to_document())) + restored = NonlocalPlan.from_document(document) + assert restored.identity == plan.identity + assert restored.compile().identity == plan.compile().identity + document["coordinate_order"] = ["phi", "n", "p"] + with pytest.raises(ContractError, match="invalid_nonlocal_document"): + NonlocalPlan.from_document(document) + + +def test_exact_zero_diffusion_retains_separate_inventories_and_species_slots(): + faces = [(0, 1), (1, 2), (2, 3)] + domains, graph, matrix = disconnected_inventory(4, faces, [1, 0, 1], [1, 2, 3, 4]) + assert domains.domains == ((0, 1), (2, 3)) and matrix.shape == (6, 6) + initial = np.array([2, 0, 4, 0]) # c0 words independent of the D connectivity + rhs = np.r_[initial, [2, 12]] + expected = np.block([[np.eye(4), np.array([[1, 0], [2, 0], [0, 3], [0, 4]])], + [np.array([[1, 2, 0, 0], [0, 0, 3, 4]]), np.zeros((2, 2))]]) + np.testing.assert_array_equal(matrix.toarray(), expected) + solution = sparse_solve(matrix, rhs) + np.testing.assert_allclose(solution, decimal_solve(expected, rhs), atol=1e-14) + np.testing.assert_allclose(expected[4:, :4] @ solution[:4], [2, 12], atol=1e-14) + frozen, frozen_graph, frozen_matrix = disconnected_inventory(4, faces, [0, -0., 0], [1, 2, 3, 4]) + assert frozen.domains == ((0,), (1,), (2,), (3,)) and frozen_matrix.shape == (8, 8) + assert frozen_graph.identity != graph.identity + mobile, _, _ = disconnected_inventory(4, faces, [1, np.nextafter(0., 1.), 1], [1, 2, 3, 4]) + assert mobile.domains == ((0, 1, 2, 3),) + + +def test_source_preparation_imports_no_legacy_engine_and_bounds_allocation(): + import scripts.benchmarks.nonlocal_sparse as module + imports = [node.module for node in ast.walk(ast.parse(inspect.getsource(module))) + if isinstance(node, ast.ImportFrom)] + assert not any(name.startswith("perovskite_sim") for name in imports) + with pytest.raises(ContractError, match="size_limit"): + recycling_plan(129, [(0, 128)]) + + +def test_support_document_owns_indices_and_rejects_reserved_identity(): + document = synthetic_wkb_plan().to_document() + restored = NonlocalPlan.from_document(document) + identity = restored.identity + document["couplings"][0]["rows"][0] = 9 + assert restored.identity == identity + document["couplings"][0]["id"] = "identity" + with pytest.raises(ContractError, match="invalid_nonlocal_document"): + NonlocalPlan.from_document(document) diff --git a/tests/numerical_contracts/test_observer_flux_reuse.py b/tests/numerical_contracts/test_observer_flux_reuse.py new file mode 100644 index 00000000..f1d8b8f6 --- /dev/null +++ b/tests/numerical_contracts/test_observer_flux_reuse.py @@ -0,0 +1,260 @@ +"""Exact acb witnesses for local flux reuse; no solver or qualification. + +The two reference bodies are copied from committed interval_observation.py +8118af7b (also byte-identical to frozen 20751ff). An explicit baseline path +checks that provenance in the locked review run; ordinary tests stay portable. +""" +import ast +from fractions import Fraction as F +import hashlib +import importlib.util +import inspect +import json +import os +from pathlib import Path +import signal +import sys +import textwrap +import time +from types import MethodType, SimpleNamespace as NS + +import pytest + +flint = pytest.importorskip("flint") +SOURCE = Path(__file__).resolve().parents[2] / "scripts/benchmarks/interval_observation.py" +SPEC = importlib.util.spec_from_file_location("_flux_reuse_candidate", SOURCE) +candidate = importlib.util.module_from_spec(SPEC) +sys.modules[SPEC.name] = candidate +SPEC.loader.exec_module(candidate) +BASELINE_SHA = "8f9c5b1688ed533953b6d25750d44441d19aa9b5deacdc64cc68c5e1e6a020f4" + + +def old_tangent_metal_flux(self, arithmetic, coordinate, analytic=False): + """Closed form of the constant Dirichlet Poisson tangent action.""" + carrier, ion = self.fluxes(arithmetic, coordinate, analytic) + number = arithmetic.number + total = [j+number(self.q)*f for j, f in zip(carrier, ion, strict=True)] + charge_rates = [number(-self.q*self.area)*ion[0]] + charge_rates += [number(self.area)*(a-b) for a, b in zip(total[:-1], total[1:], strict=True)] + charge_rates += [number(self.q*self.area)*ion[-1]] + return tuple(sum((-number(w)*b for w, b in zip(weights, charge_rates, strict=True)), number(0)) + for weights in self.weights) + + +def old_physical_charge_flux(self, arithmetic, coordinate, analytic=False): + """Independent body and metal F in A, including both metal terms.""" + a = arithmetic + carrier, _ = self.fluxes(a, coordinate, analytic) + body = (a.number(self.area)*(carrier[0]-carrier[-1]) + +a.polynomial(self.capture_charge_rate[0]+self.capture_charge_rate[-1],coordinate)) + metal = self.tangent_metal_flux(a,coordinate,analytic) + return (body, *(flux+a.polynomial(poly,coordinate) for flux,poly in + zip(metal,self.tangent_metal_polynomial,strict=True))) + + +def check_reference_bodies(path): + raw = Path(path).read_bytes() + assert hashlib.sha256(raw).hexdigest() == BASELINE_SHA + cls = next(n for n in ast.parse(raw).body if isinstance(n, ast.ClassDef) and n.name == "SlabPathObserver") + for reference in (old_tangent_metal_flux, old_physical_charge_flux): + name = reference.__name__.removeprefix("old_") + original = next(n for n in cls.body if isinstance(n, ast.FunctionDef) and n.name == name) + copied = ast.parse(textwrap.dedent(inspect.getsource(reference))).body[0] + assert ast.dump(ast.Module(body=original.body, type_ignores=[])) == ast.dump(ast.Module(body=copied.body, type_ignores=[])) + + +def observer(*, dynamic, near_zero, old=False, nodes=9): + """Small exact polynomial state with nonzero, mixed body/metal terms.""" + o = object.__new__(candidate.SlabPathObserver) + p = candidate.Polynomial + epsilon = F(1, 2**80) if near_zero else F(1, 16) + o.q, o.area = F(1602176634, 10**28), F(1, 10**8) + o.dx = tuple(F(i+4, 10**8) for i in range(nodes-1)) + length = sum(o.dx) + o.weights = (tuple(sum(o.dx[i:], F(0))/length for i in range(nodes)), + tuple(sum(o.dx[:i], F(0))/length for i in range(nodes))) + o.m = NS(mu_n=F(1, 50), mu_p=F(1, 100), vt=F(1, 40), dynamic=dynamic, + ion_capacity=F(10**25), diffusion_ion=F(1, 10**15)) + n = tuple(p((F(10**20)*(1+i*epsilon), F(10**19)*epsilon*(i+1), F(10**18)*epsilon)) for i in range(nodes)) + holes = tuple(p((F(2*10**20)*(1-i*epsilon/10), -F(10**19)*epsilon*(i+1))) for i in range(nodes)) + ions = tuple(p((F(3*10**24)*(1+i*epsilon/10), F(10**22)*epsilon*(i+1))) for i in range(nodes)) + o.path = NS(fields={"n_m3": n, "p_m3": holes, "c_m3": ions}) + o.xi = tuple(p((epsilon*(i-3), epsilon/8, -epsilon/32)) for i in range(nodes-1)) + o.dn = tuple(b-a for a,b in zip(n[:-1],n[1:])) + o.dp = tuple(b-a for a,b in zip(holes[:-1],holes[1:])) + o.dc = tuple(b-a for a,b in zip(ions[:-1],ions[1:])) + o.capture_charge_rate = tuple(p((F((-1)**i*(i+1), 10**11), F(i+2,10**12))) for i in range(nodes)) + o.tangent_metal_polynomial = (p((F(3,10**8), F(-2,10**9))), p((F(-5,10**8), F(7,10**9)))) + if old: + o.tangent_metal_flux = MethodType(old_tangent_metal_flux, o) + o.physical_charge_flux = MethodType(old_physical_charge_flux, o) + return o + + +def ball_words(value): + """Exact midpoint/radius mantissa-exponent pairs, including imaginary part.""" + assert value.is_finite() + return tuple(tuple(tuple(int(x) for x in part.man_exp()) for part in (component.mid(), component.rad())) + for component in (value.real, value.imag)) + + +def vector_words(values): + return tuple(ball_words(value) for value in values) + + +COORDINATES = ("zero", "tiny", "point", "real_interval", "complex_point", "complex_interval") + + +def coordinate(kind): + a, b = flint.arb, flint.acb + return {"zero": lambda: b(0), "tiny": lambda: b(a((1,-100))), + "point": lambda: b(a((1,-3))), + "real_interval": lambda: b(a((1,-3),(1,-10))), + "complex_point": lambda: b(a((1,-3)),a((1,-8))), + "complex_interval": lambda: b(a((1,-3),(1,-10)),a(0,(1,-12)))}[kind]() + + +def instrument(o, *, capture=True): + calls, snapshots = [], [] + original = o.fluxes + def counted(arithmetic, u, analytic=False): + calls.append((arithmetic, u, analytic)) + result = original(arithmetic, u, analytic) + assert all(type(row) is tuple for row in result) + if capture: + snapshots.append((result, tuple(vector_words(row) for row in result))) + return result + o.fluxes = counted + return calls, snapshots + + +def unchanged(snapshots): + for values, before in snapshots: + assert tuple(vector_words(row) for row in values) == before + + +def test_reference_bodies_match_captured_commit(): + path = os.environ.get("SOLARLAB_FLUX_BASELINE_SOURCE") + if not path: + pytest.skip("explicit committed baseline artifact required for provenance witness") + check_reference_bodies(path) + + +@pytest.mark.parametrize("bits", [128,256,512]) +@pytest.mark.parametrize("dynamic", [False,True]) +@pytest.mark.parametrize("near_zero", [False,True]) +@pytest.mark.parametrize("kind", COORDINATES) +@pytest.mark.parametrize("analytic", [False,True]) +def test_exact_ball_equivalence_and_local_reuse(bits, dynamic, near_zero, kind, analytic): + before_precision = flint.ctx.prec + old = observer(dynamic=dynamic, near_zero=near_zero, old=True) + new = observer(dynamic=dynamic, near_zero=near_zero) + old_calls, old_values = instrument(old) + new_calls, new_values = instrument(new) + arithmetic = candidate.BallIntegrator(bits=bits) + with flint.ctx.workprec(bits): + u = coordinate(kind); before_coordinate = ball_words(u) + expected = vector_words(old.physical_charge_flux(arithmetic,u,analytic)) + actual = vector_words(new.physical_charge_flux(arithmetic,u,analytic)) + assert actual == expected + assert len(set(actual)) == 3 + assert len(old_calls) == 2 and len(new_calls) == 1 + assert all(a is arithmetic and point is u and flag is analytic for a,point,flag in old_calls+new_calls) + assert ball_words(u) == before_coordinate and flint.ctx.prec == bits + unchanged(old_values); unchanged(new_values) + # Ordinary standalone tangent still evaluates flux once and preserves + # its exact outputs, independently of the optimized physical path. + old_calls.clear(); new_calls.clear() + assert vector_words(old.tangent_metal_flux(arithmetic,u,analytic)) == vector_words(new.tangent_metal_flux(arithmetic,u,analytic)) + assert len(old_calls) == len(new_calls) == 1 + assert arithmetic.calls == [] + assert flint.ctx.prec == before_precision + + +@pytest.mark.parametrize("method", ["physical_charge_flux", "tangent_metal_flux"]) +def test_first_flux_exception_is_preserved(method): + failure = RuntimeError("manufactured flux refusal") + def refuse(*args): + raise failure + for old in (False, True): + o = observer(dynamic=True, near_zero=True, old=old) + o.fluxes = refuse + with pytest.raises(RuntimeError) as caught: + getattr(o,method)(candidate.BallIntegrator(),flint.acb(0),True) + assert caught.value is failure + + +def test_existing_tangent_override_keeps_original_routing(): + old = observer(dynamic=True, near_zero=False, old=True) + new = observer(dynamic=True, near_zero=False) + calls = [] + def override(a,u,analytic): + calls.append((u,analytic)) + return a.number(7),a.number(-3) + old.tangent_metal_flux = new.tangent_metal_flux = override + a = candidate.BallIntegrator() + with flint.ctx.workprec(256): + u = coordinate("real_interval") + assert vector_words(old.physical_charge_flux(a,u,True)) == vector_words(new.physical_charge_flux(a,u,True)) + assert calls == [(u,True),(u,True)] + + +def test_mismatched_flux_tuple_exception_is_unchanged(): + messages = [] + for old in (False,True): + o = observer(dynamic=True, near_zero=False, old=old) + o.fluxes = lambda a,u,analytic: ((a.number(1),a.number(2)),()) + with pytest.raises(ValueError) as caught: + o.physical_charge_flux(candidate.BallIntegrator(),flint.acb(0),False) + messages.append(str(caught.value)) + assert messages[0] == messages[1] + + +def bounded_sample(path): + """One fixed same-input old/new sample, not a G2 replay or speed forecast.""" + check_reference_bodies(os.environ["SOLARLAB_FLUX_BASELINE_SOURCE"]) + definitions = [(d,n,k,a) for d in (False,True) for n in (False,True) + for k in ("point","real_interval","complex_interval") for a in (False,True)] + results, encodings = {}, {} + old_handler = signal.getsignal(signal.SIGALRM) + def expired(number, frame): + raise TimeoutError("one flux sample path exceeded 30 seconds") + signal.signal(signal.SIGALRM, expired) + try: + for variant in ("old","new"): + batch = [(observer(dynamic=d,near_zero=n,old=variant=="old"),k,analytic) for d,n,k,analytic in definitions] + counters = [instrument(o,capture=False)[0] for o,_,_ in batch] + arithmetic = candidate.BallIntegrator(bits=256) + started, cpu = time.monotonic(),time.process_time() + signal.setitimer(signal.ITIMER_REAL,30) + encoded = [] + with flint.ctx.workprec(256): + for _ in range(8): + for o,kind,analytic in batch: + if time.monotonic()-started >= 30: + raise TimeoutError("flux sample budget") + encoded.append(vector_words(o.physical_charge_flux(arithmetic,coordinate(kind),analytic))) + signal.setitimer(signal.ITIMER_REAL,0) + elapsed = time.monotonic()-started + assert elapsed < 30 + encodings[variant] = encoded + results[variant] = {"wall_s":elapsed,"CPU_s":time.process_time()-cpu,"physical_calls":len(encoded), + "flux_calls":sum(map(len,counters)),"exact_encoding_sha256":hashlib.sha256(json.dumps(encoded).encode()).hexdigest()} + finally: + signal.setitimer(signal.ITIMER_REAL,0) + signal.signal(signal.SIGALRM,old_handler) + assert encodings["old"] == encodings["new"] + output = {"scope":"manufactured polynomial point/interval function sample only","variants":results, + "definitions":definitions,"repetitions":8,"precision_bits":256,"exact_encodings_equal":True, + "encodings":encodings["new"],"qualification":False,"full_observation_or_solver_calls":0, + "interpretation":"single bounded sample including identical instrumentation; no full-run speedup estimate"} + Path(path).write_text(json.dumps(output,indent=2)+"\n") + return results + + +if __name__ == "__main__": + import argparse + parser = argparse.ArgumentParser(description=__doc__) + parser.add_argument("--sample-output",required=True,type=Path) + args = parser.parse_args() + print(json.dumps(bounded_sample(args.sample_output),indent=2)) diff --git a/tests/numerical_contracts/test_physical_charge_observation.py b/tests/numerical_contracts/test_physical_charge_observation.py new file mode 100644 index 00000000..ba24607f --- /dev/null +++ b/tests/numerical_contracts/test_physical_charge_observation.py @@ -0,0 +1,570 @@ +"""Non-authorizing AST/stdlib fixtures for the physical-charge observer branch. + +Actual production arithmetic and observer method bodies execute with explicit +manufactured charge-action/integral providers. No model, Point, physical kernel, +Arb, native solver, history or request materialization is imported or executed. +""" +import ast +import copy +from dataclasses import dataclass +from fractions import Fraction +from hashlib import sha256 +import json +import math +from pathlib import Path +from types import MappingProxyType, SimpleNamespace as NS +from typing import Mapping +import unittest +import __future__ + +import pytest + + +REPO = Path(__file__).resolve().parents[2] +SOURCE = REPO / "scripts/benchmarks" +ENV = dict(__name__=__name__, dataclass=dataclass, Fraction=Fraction, math=math, + sha256=sha256, json=json, Mapping=Mapping, MappingProxyType=MappingProxyType) + + +def execute(nodes, filename, namespace=ENV): + exec(compile(ast.Module(body=nodes, type_ignores=[]), str(filename), "exec", + flags=__future__.annotations.compiler_flag), namespace) + + +def definitions(filename, names): + tree = ast.parse(filename.read_text()) + nodes = [n for n in tree.body if isinstance(n, (ast.ClassDef, ast.FunctionDef)) and n.name in names] + assert {n.name for n in nodes} == set(names) + execute(nodes, filename) + return tree + + +constants = REPO / "perovskite-sim/perovskite_sim/constants.py" +constant_nodes = [n for n in ast.parse(constants.read_text()).body if isinstance(n, ast.Assign) + and any(isinstance(t, ast.Name) and t.id in {"Q", "K_B"} for t in n.targets)] +assert len(constant_nodes) == 2 +execute(constant_nodes, constants) +definitions(SOURCE / "contract_prototype.py", {"ContractError"}) +INTERVAL_TREE = definitions(SOURCE / "interval_observation.py", { + "rational", "ratio_payload", "identity", "Polynomial", "Enclosure", "ChargePrefix", "SignedChargePrefix", + "public_action_enclosures", "contained_subinterval", "rational_sqrt_upper", "SlabPathObserver"}) +policy_path = SOURCE / "physical_tolerance.py" +policy_tree = ast.parse(policy_path.read_text()) +execute([n for n in policy_tree.body if isinstance(n, (ast.Assign, ast.FunctionDef))], policy_path) +OBSERVER_TREE = definitions(SOURCE / "native_observation.py", { + "prepare_physical_charge_prefix", "physical_charge_summary", "physical_charge_passed", + "prepare_interval_observation_policy", "AcceptedIntervalObserver", + "observation_record", "restore_observation_record"}) +ENV["CHARGE_LEDGERS"] = ("raw_polynomial", "same_state_affine_tangent") +ENV["propagated_input_error"] = lambda binding, prepared: binding.fixture_inputs +ENV["endpoint_charge_mismatch"] = lambda model, path, left, right: (Fraction(0),)*3 + +F, E = Fraction, ENV["Enclosure"] +ContractError = ENV["ContractError"] +SignedChargePrefix, ChargePrefix = ENV["SignedChargePrefix"], ENV["ChargePrefix"] +SlabPathObserver, Observer = ENV["SlabPathObserver"], ENV["AcceptedIntervalObserver"] +P = ENV["Polynomial"] +ZERO = (F(0),)*3 +ZERO_E = (E(0),)*3 + + +def request_fixture(dynamic=True): + """Manufactured metadata only; never a native request or Root authority.""" + names = ("n_m3", "p_m3", "c_m3", "f", "phi_V") if dynamic else ("n_m3", "p_m3", "phi_V") + references = {k: {"high": [0.5 if k == "f" else 0.0 if k == "phi_V" else 2.0]*3, + "low": [0.0]*3} for k in names} + packet = {"definition": {"id": "DynamicAcceptorIonPublicDeviceV1" if dynamic else "S0NeutralPublicDeviceV1", + "dynamic": dynamic, "temperature": 300.0, "area": 3.0, "length": 2.0, + "epsilon": 5.0, "ni": 2.0, "ion_initial": 20.0 if dynamic else 0.0, + "trap_density": 4.0 if dynamic else 0.0}, + "column_scaling": [1.0]*(3*len(names)), + "variable_offsets": {k: [3*i, 3*i+3] for i, k in enumerate(names)}, + "physical_reference_fields": references, + "initial_reference": {"payload": {"fields": {k: {w: [v.hex() for v in values] + for w, values in pair.items()} for k, pair in references.items()}}}} + policy = ENV["make_policy"](packet, {"r": 1e-4, "alpha": 1e-8}) + previous = {"rtol": 1e-9, "atol": [1e-11]*(3*len(names)), "max_step": 0.0} + qref = F(ENV["Q"])*6*(20 if dynamic else 2) + budgets = {"charge_C": float(qref/10**10), "native_steps": 200000} + mapping = {"physical_model": "fixture-source", "layout": "fixture-layout", + "physical_reference": "fixture-reference"} + request = {"numeric_packet": packet, "physical_tolerance_policy": policy, + "previous_controls": previous, "controls": ENV["controls"](previous, policy), + "weight_certificate": policy, "budgets": budgets, "original_budgets": dict(budgets), + "native_admission": False, "voltage_lift_map": mapping, + "map_identity": ENV["digest"](mapping), "segments": [], + "observation_times": [], "quadrature": []} + request["interval_observation"] = ENV["prepare_interval_observation_policy"](request, + binding_identity="fixture-binding", header_sha256="fixture-header", backend_modules={}) + return request + + +def action_result(values): + # Exercise the real full-word reducer; the low word must not be dropped. + low = F(1, 2**180) + return NS(value=NS(words=(NS(flat=[v.center-low for v in values]), NS(flat=[low]*len(values))), + shape=(len(values),)), + absolute_error_bound=NS(values=NS(flat=[v.radius for v in values]))) + + +class Fixture: + def __init__(self, dynamic=True, profile=True): + self.request = request_fixture(dynamic) + self.budget = ENV["physical_charge_budgets"](self.request)[0] + if not profile: + del self.request["physical_tolerance_policy"] + del self.request["interval_observation"]["physical_charge"] + self.actual, self.flux, self.raw, self.nominal = ZERO_E, ZERO_E, ZERO_E, ZERO + self.input_error, self.clock_error, self.gap = ZERO, ZERO, ZERO + self.integration_calls, self.action_calls = [], [] + self.left, self.right, self.increment = NS(time=0.0), NS(time=1.0), object() + self.frame = NS(identity="fixture-frame") + self.clock = NS(predecessor=F(0), tn=F(1), payload=lambda: {"predecessor": F(0), "tn": F(1)}) + self.path = NS(identity="fixture-path", source_identity="fixture-source", + layout_identity="fixture-layout", clock=self.clock) + definition = NS(**self.request["numeric_packet"]["definition"]) + self.model = NS(definition=definition, source_identity=self.path.source_identity, + layout=NS(identity=self.path.layout_identity), + linear_forms={"increment": {k: NS(identity="fixture-"+k) for k in ("body_charge", "metal_charge")}}) + def action(name, right, *, increment, left): + self.action_calls.append((name, right, increment, left)) + return action_result(self.actual[:1] if name == "body_charge" else self.actual[1:]) + self.model.linear_action = action + self.context = NS(request_copy=lambda: copy.deepcopy(self.request), + request_sha256=ENV["digest"](self.request)) + self.binding = NS(context=self.context) + self.prepared = NS(path=self.path, request_identity=self.context.request_sha256, + map_identity=self.request["map_identity"], coefficient_frame_identity=self.frame.identity) + self.root_map = copy.deepcopy(self.request["voltage_lift_map"]) + self.active_map = copy.deepcopy(self.root_map) + self.binding.adapter = NS(mapping=NS(identity=self.prepared.map_identity, + payload=lambda include_frame=True: copy.deepcopy(self.active_map if include_frame else self.root_map))) + # Exact production type, deliberately allocated without its physical constructor. + self.slab = object.__new__(SlabPathObserver) + self.slab.model = self.model + def integrate(arithmetic, absolute_error, **kwargs): + self.integration_calls.append((arithmetic, absolute_error, kwargs)) + return {"path_identity": self.path.identity, "raw_polynomial": self.raw, + "same_state_affine_tangent": self.flux, "raw_tangent_charge_L1_upper_C": self.gap, + "raw_tangent_L1_upper_bounds": tuple(E(v) for v in self.gap)} + self.slab.integrate = integrate + self.slab.strip_current_debit = lambda arithmetic: { + "raw_polynomial": self.clock_error, "same_state_affine_tangent": self.clock_error} + self.observer = object.__new__(Observer) + self.observer.binding, self.observer.prepared = self.binding, self.prepared + self.observer.frame, self.observer.observer, self.observer.arithmetic = self.frame, self.slab, "fixture-arithmetic" + self.prefixes = {k: ChargePrefix.start((self.request["budgets"]["charge_C"],)*3) + for k in ENV["CHARGE_LEDGERS"]} + if profile: + self.prefixes["physical_charge"] = ENV["prepare_physical_charge_prefix"](self.request) + + def observe(self, **kwargs): + self.binding.fixture_inputs = {"raw_charge_integral_error_C": self.input_error, + "tangent_charge_integral_error_C": self.input_error} + self.slab.affine = {"body_charge": {"left": ZERO[:1], "right": self.nominal[:1]}, + "metal_charge": {"left": ZERO[1:], "right": self.nominal[1:]}} + self.prefixes, evidence = self.observer.charge_evidence((self.left, None), (self.right, self.increment), + self.prefixes, absolute_error=self.budget/100, charge_budget=self.request["budgets"]["charge_C"], **kwargs) + return evidence + + def selected(self, evidence): + return ENV["physical_charge_passed"](self.request, evidence, + frame_identity=self.frame.identity, path_identity=self.path.identity, + map_identity=self.binding.adapter.mapping.identity, map_payload=self.binding.adapter.mapping.payload()) + + def bind_active_frame(self): + self.active_map = dict(self.root_map, + segment_frame={"parent_map_identity": self.request["map_identity"], "t0_hex": 0.0.hex()}, + raw_coordinate_meaning="fixed-segment affine remainder u; native history is u", + physical_coordinate_meaning="Point.y is the first retained word of S*(Q0+(t-t0)*V0+u)+L*(a-a_ref)") + self.binding.adapter.mapping.identity = ENV["digest"](self.active_map) + self.prepared.map_identity = self.binding.adapter.mapping.identity + + +class PhysicalChargeObservationTests(unittest.TestCase): + def test_distinct_active_and_root_maps_use_the_actual_parent_contract(self): + f = Fixture() + f.bind_active_frame() + self.assertNotEqual(f.prepared.map_identity, f.request["map_identity"]) + evidence = f.observe() + self.assertTrue(f.selected(evidence)) + row = evidence["physical_charge"] + self.assertEqual(row["map_identity"], ENV["digest"](f.active_map)) + self.assertEqual(row["root_map_identity"], ENV["digest"](f.root_map)) + + def test_distinct_map_rejects_wrong_active_or_parent_before_integrating(self): + for kind in ("active", "parent"): + f = Fixture() + f.bind_active_frame() + if kind == "active": + f.binding.adapter.mapping.identity = "0"*64 + else: + f.root_map["physical_reference"] = "wrong-parent" + with self.assertRaises(ContractError): + f.observe() + self.assertEqual(f.integration_calls, []) + f = Fixture() + f.bind_active_frame() + evidence = f.observe() + f.active_map["segment_frame"]["parent_map_identity"] = "0"*64 + f.binding.adapter.mapping.identity = ENV["digest"](f.active_map) + evidence["physical_charge"]["map_identity"] = f.binding.adapter.mapping.identity + with self.assertRaisesRegex(ContractError, "parent_map"): + f.selected(evidence) + + def test_actual_saved_charge_and_single_existing_flux_integral(self): + for dynamic in (False, True): + with self.subTest(dynamic=dynamic): + f = Fixture(dynamic) + f.actual = f.flux = (E(2*f.budget), E(-3*f.budget), E(f.budget)) + f.raw = (E(900*f.budget),)*3 + f.gap = (100*f.budget,)*3 + evidence = f.observe() + self.assertTrue(f.selected(evidence)) + self.assertFalse(evidence["passed"]) + self.assertFalse(evidence["ledgers"]["raw_polynomial"]["passed"]) + self.assertFalse(evidence["ledgers"]["same_state_affine_tangent"]["passed"]) + row = evidence["physical_charge"] + self.assertEqual(row["saved_finite_charge_change_C"], f.actual) + self.assertEqual(row["physical_flux_integral_C"], f.flux) + self.assertEqual(row["signed_balance_C"], ZERO) + self.assertEqual(row["interval_total_bound_C"], ZERO) + self.assertEqual(len(f.integration_calls), 1) + self.assertEqual([v[0] for v in f.action_calls], ["body_charge", "metal_charge"]) + self.assertTrue(all(r is f.right and inc is f.increment and l is f.left + for _, r, inc, l in f.action_calls)) + + def test_all_positive_uncertainties_once_without_endpoint_double_charge(self): + f = Fixture() + b = f.budget + f.actual, f.flux = (E(2*b, b/10),)*3, (E(2*b-b/4, b/20),)*3 + f.input_error, f.clock_error = (b/40,)*3, (b/80,)*3 + row = f.observe()["physical_charge"] + self.assertTrue(row["passed"]) + self.assertEqual(row["interval_total_bound_C"], (7*b/16,)*3) + self.assertEqual(row["prefix"]["total_error_C"], (3*b/16,)*3) + self.assertEqual(set(row["error_components_C"]), + {"saved_charge_evaluation", "physical_flux_integration", "input", "clock_strip"}) + self.assertIn("physical-integrand evaluation", row["integration_uncertainty_role"]) + + def test_signed_cancellation_and_absolute_sum_only_diagnostic(self): + f = Fixture() + for sign in (1, -1, 1, -1): + f.actual = (E(sign*3*f.budget/4),)*3 + evidence = f.observe() + self.assertTrue(f.selected(evidence)) + prefix = evidence["physical_charge"]["prefix"] + self.assertEqual(prefix["signed_balance_C"], ZERO) + self.assertEqual(prefix["cumulative_interval_absolute_balance_C"], (3*f.budget,)*3) + self.assertEqual(prefix["intervals"], 4) + + def test_uncertainties_cannot_cancel_and_failure_latches(self): + f = Fixture() + for sign in (1, -1): + f.actual = (E(sign*f.budget/4, 3*f.budget/8),)*3 + f.flux = (E(0, f.budget/12),)*3 + f.input_error = f.clock_error = (f.budget/24,)*3 + row = f.observe()["physical_charge"] + self.assertEqual(row["passed"], sign == 1) + self.assertEqual(row["prefix"]["signed_balance_C"], ZERO) + self.assertEqual(row["prefix"]["total_error_C"], (13*f.budget/12,)*3) + + def test_each_component_interval_failure_cannot_be_recovered(self): + for i in range(3): + with self.subTest(component=i): + f = Fixture() + for sign in (1, -1): + f.actual = tuple(E(sign*2*f.budget if j == i else 0) for j in range(3)) + evidence = f.observe() + self.assertFalse(f.selected(evidence)) + self.assertEqual(evidence["physical_charge"]["row_checks"], tuple(j != i for j in range(3))) + self.assertEqual(evidence["physical_charge"]["prefix"]["total_bound_C"], ZERO) + + def test_exact_total_and_integral_radius_boundaries(self): + for total_extra, radius_extra, expected in ((0, 0, True), (F(1, 2**150), 0, False), + (0, F(1, 2**150), False)): + f = Fixture() + f.actual = (E(f.budget*(F(2, 3)+total_extra)),)*3 + f.flux = (E(0, f.budget*(F(1, 3)+radius_extra)),)*3 + self.assertEqual(f.selected(f.observe()), expected) + f = Fixture() + f.flux = (E(0, f.budget/4),)*3 + self.assertTrue(f.selected(f.observe())) + self.assertFalse(f.selected(f.observe())) # cumulative third share only + + def test_profile_prefix_missing_budget_or_count_mismatch_fails_before_integration(self): + for mutation in ("missing", "budget", "count", "policy"): + f = Fixture() + if mutation == "missing": + del f.prefixes["physical_charge"] + elif mutation == "budget": + f.prefixes["physical_charge"] = SignedChargePrefix.start((2*f.budget,)*3) + elif mutation == "count": + f.prefixes["physical_charge"], _ = f.prefixes["physical_charge"].append(ZERO_E, ZERO_E, ZERO, ZERO) + else: + del f.request["interval_observation"]["physical_charge"] + with self.subTest(mutation=mutation), self.assertRaises(ContractError): + f.observe() + self.assertEqual(f.integration_calls, []) + + def test_mismatched_frame_map_source_and_slab_scope_rejected(self): + for target, field, value in (("prepared", "coefficient_frame_identity", "other"), + ("prepared", "map_identity", "other"), + ("prepared", "request_identity", "other"), + ("path", "source_identity", "other"), + ("definition", "id", "other-geometry"), + ("definition", "epsilon", 6.0)): + f = Fixture() + obj = f.model.definition if target == "definition" else getattr(f, target) + setattr(obj, field, value) + with self.subTest(target=target, field=field), self.assertRaises(ContractError): + f.observe() + self.assertEqual(f.integration_calls, []) + + def test_incomplete_interval_and_missing_or_invalid_uncertainty_rejected(self): + f = Fixture() + with self.assertRaises(ContractError): + f.observe(subinterval=(0, F(1, 2))) + self.assertEqual(f.integration_calls, []) + for bad in ((None, 0, 0), (-1, 0, 0), (float("nan"), 0, 0), (0, 0), (True, 0, 0)): + with self.subTest(bad=bad), self.assertRaises((ContractError, ValueError, TypeError)): + f = Fixture() + f.input_error = bad + f.observe() + f = Fixture() + f.flux = (E(0), E(0)) + with self.assertRaises(ContractError): + f.observe() + + def test_saved_endpoint_clocks_must_match_the_native_frame(self): + for side in ("left", "right"): + f = Fixture() + getattr(f, side).time = 0.5 + with self.subTest(side=side), self.assertRaises(ContractError): + f.observe() + self.assertEqual(f.integration_calls, []) + + def test_missing_or_mismatched_new_evidence_or_changed_latch_rejected(self): + f = Fixture() + good = f.observe() + for key, value in (("policy", {}), ("request_sha256", "other"), ("map_identity", "other"), + ("path_identity", "other"), ("frame_identity", "other"), ("clock", {})): + bad = copy.deepcopy(good) + bad["physical_charge"][key] = value + with self.subTest(key=key), self.assertRaises(ContractError): + f.selected(bad) + bad = copy.deepcopy(good) + del bad["physical_charge"] + with self.assertRaises(ContractError): + f.selected(bad) + bad = copy.deepcopy(good) + bad["physical_charge"]["prefix"]["failed"] = (True, False, False) + with self.assertRaises(ContractError): + f.selected(bad) + for key in ("physical_flux_integral_C", "saved_finite_charge_change_C", "error_components_C"): + bad = copy.deepcopy(good) + del bad["physical_charge"][key] + with self.subTest(missing=key), self.assertRaises(ContractError): + f.selected(bad) + bad = copy.deepcopy(good) + bad["physical_charge"]["row_checks"] = (1, 1, 1) + with self.assertRaises(ContractError): + f.selected(bad) + + def test_legacy_branch_and_lossless_new_record_round_trip(self): + f = Fixture(profile=False) + evidence = f.observe() + self.assertEqual(set(f.prefixes), set(ENV["CHARGE_LEDGERS"])) + self.assertNotIn("physical_charge", evidence) + self.assertTrue(evidence["passed"]) + self.assertIsNone(ENV["prepare_physical_charge_prefix"](f.request)) + f.prefixes["physical_charge"] = SignedChargePrefix.start((1,)*3) + with self.assertRaises(ContractError): + f.observe() + f = Fixture() + evidence = f.observe() + encoded = ENV["observation_record"](evidence) + restored = ENV["restore_observation_record"](json.loads(json.dumps(encoded))) + self.assertTrue(f.selected(restored)) + self.assertEqual(restored["physical_charge"]["prefix"], evidence["physical_charge"]["prefix"]) + + +class PhysicalFluxSignTests(unittest.TestCase): + def test_actual_body_charge_form_both_variants_and_area_once(self): + tree = ast.parse((SOURCE / "coupled_device_prototype.py").read_text()) + cls = next(n for n in tree.body if isinstance(n, ast.ClassDef) and n.name == "AffineCoupledSlab") + method = next(n for n in cls.body if isinstance(n, ast.FunctionDef) and n.name == "_physical_forms") + charge = next(n for n in method.body if isinstance(n, ast.FunctionDef) and n.name == "charge") + body = next(n for n in method.body if isinstance(n, ast.Assign) + and any(isinstance(t, ast.Name) and t.id == "body" for t in n.targets)) + fields = {"p_m3": (11, 13, 17), "n_m3": (5, 7, 9), "c_m3": (22, 23, 24), + "f": (F(1, 4), F(1, 2), F(3, 4))} + for dynamic, expected in ((False, 78), (True, 90)): + env = dict(ENV, m=NS(dynamic=dynamic), N=3, kind="state", q=F(2), nt=F(4), c0=F(20), + volumes=(F(3, 2), F(3), F(3, 2)), + LinearTerm=lambda row, field, node, factors, sign=1: NS(field=field, node=node, factors=factors, sign=sign)) + execute([charge, body], "actual_body_charge_AST", env) + value = sum(t.sign*math.prod(t.factors)*(fields[t.field][t.node] if t.field else 1) for t in env["body"]) + self.assertEqual(value, expected) + + def test_actual_metal_flux_polynomial_and_integral_row_both_variants(self): + cls = next(n for n in INTERVAL_TREE.body if isinstance(n, ast.ClassDef) and n.name == "SlabPathObserver") + init = next(n for n in cls.body if isinstance(n, ast.FunctionDef) and n.name == "__init__") + selected = [] + for n in init.body: + if isinstance(n, ast.Assign) and any( + (isinstance(t, ast.Name) and t.id in {"voltage_rate", "capacitance"}) or + (isinstance(t, ast.Attribute) and t.attr in {"capture_charge_rate", "tangent_metal_polynomial"}) for t in n.targets): + selected.append(n) + self.assertEqual(len(selected), 4) + for dynamic, expected in ((False, (F(-12), F(207, 2), F(-183, 2))), + (True, (F(-48), F(213, 2), F(-117, 2)))): + slab = object.__new__(SlabPathObserver) + slab.q, slab.area, slab.length = F(2), F(3), F(2) + slab.weights, slab.volumes = ((F(1), F(1, 2), F(0)), (F(0), F(1, 2), F(1))), (F(3, 2), F(3), F(3, 2)) + slab.m, slab.model = NS(epsilon=5, trap_density=4 if dynamic else 0), NS(count=3) + slab.capture_difference = (P((1,)), P(), P((2,))) if dynamic else (P(),)*3 + slab.endpoint_carrier_rate, slab.raw_metal = (P(),)*2, (P((900,)), P((-800,))) + slab.fluxes = lambda a, u, analytic=False: ((F(7), F(11)), (F(2), F(-5)) if dynamic else (F(0), F(0))) + clock = NS(predecessor=F(0), tn=F(1), hused=F(1), coordinate=lambda t: t-1) + path = NS(clock=clock, inputs=(P((0, 13)), P()), identity="manufactured-constant-flux", + require_covered=lambda: None, integrate=lambda p: p.integral(-1, 0)) + slab.path = path + execute(selected, "actual_tangent_polynomial_AST", dict(ENV, self=slab, path=path, h=F(1), model=slab.model)) + class ConstantArithmetic: + """Exact constant integrands only; not a production quadrature substitute.""" + def __init__(self): + self.calls = [] + self.integration_count = 0 + number = staticmethod(F) + polynomial = staticmethod(lambda p, u: p.at(u)) + def integrate(self, function, lo, hi, allocation): + a, b = function(lo, False), function(hi, False) + assert a == b + self.integration_count += 1 + self.calls.append("constant-integral") + return E(a*(hi-lo)) + def absolute_bound(self, function, lo, hi, allocation): + a, b = function(lo, False), function(hi, False) + assert a == b + self.calls.append("constant-absolute-bound") + return NS(upper=abs(a)*(hi-lo)) + arithmetic = ConstantArithmetic() + row = slab.integrate(arithmetic, F(1, 100))["same_state_affine_tangent"] + self.assertEqual(tuple(v.center for v in row), expected) + self.assertEqual(sum(v.center for v in row), 0) + self.assertEqual(tuple(v.radius for v in row), ZERO) + self.assertEqual(arithmetic.integration_count, 4) + + +class T1PhysicalFluxBounds(unittest.TestCase): + def arithmetic(self): + pytest.importorskip("flint") + from scripts.benchmarks.interval_observation import BallIntegrator + return BallIntegrator() + + def test_sign_partition_includes_constant_zero_and_crossing(self): + for kind, exact in (("zero",F(0)),("constant",F(3)),("crossing",F(1,4))): + a=self.arithmetic() + def fn(z,analytic): + return a.number(0) if kind == "zero" else a.number(-3) if kind == "constant" else z-a.number(F(1,2)) + result=a.absolute_enclosure(fn,F(0),F(1),F(1,10**20)) + self.assertLessEqual(result["lower"],exact);self.assertGreaterEqual(result["upper"],exact) + self.assertIn(result["status"],("bounded","unknown")) + self.assertLessEqual(result["depth"],8);self.assertLessEqual(result["leaves"],256) + if kind != "crossing":self.assertEqual(result["status"],"bounded") + elif result["status"] == "unknown":self.assertEqual(result["stop_reason"],"partition_limit") + + def test_partition_cap_is_unknown_and_lower_can_decide(self): + a=self.arithmetic();fn=lambda z,analytic:z*(a.number(1)-z) + result=a.absolute_enclosure(fn,F(0),F(1),F(1,10**20),max_depth=0) + self.assertEqual(result["status"],"unknown") + self.assertLessEqual(result["lower"],F(1,6));self.assertGreaterEqual(result["upper"],F(1,6)) + decided=a.absolute_enclosure(fn,F(0),F(1),F(1,10**20), + decide=lambda lo,hi:"passed" if lo >= F(1,8) else "unknown") + self.assertEqual(decided["stop_reason"],"gate_decided");self.assertEqual(decided["leaves"],1) + + def test_nonreal_and_invalid_partition_are_rejected(self): + from scripts.benchmarks.contract_prototype import ContractError as RealContractError + a=self.arithmetic() + with self.assertRaises(RealContractError): + a.absolute_enclosure(lambda z,analytic:a.flint.acb(1,1),0,1,F(1,100)) + with self.assertRaises(RealContractError): + a.absolute_enclosure(lambda z,analytic:z,0,1,F(1,100),max_depth=True) + + def test_physical_flux_includes_both_metal_terms_without_forcing_sum_zero(self): + from scripts.benchmarks.interval_observation import SlabPathObserver as RealObserver, Polynomial as Poly + a=self.arithmetic();slab=object.__new__(RealObserver) + slab.area=F(3);slab.capture_charge_rate=(Poly((F(4),)),Poly((F(5),))) + slab.tangent_metal_polynomial=(Poly((F(3),)),Poly((F(7),))) + slab.fluxes=lambda ar,z,analytic:((ar.number(2),ar.number(1)),()) + slab.tangent_metal_flux=lambda ar,z,analytic:(ar.number(2),ar.number(-1)) + slab.path=NS(identity="manufactured-path",require_covered=lambda:None, + clock=NS(predecessor=F(0),tn=F(2),hused=F(2),coordinate=lambda t:(t-2)/2)) + value=slab.physical_charge_integrals(a,F(1,10**20),subinterval=(F(1,2),F(3,2))) + self.assertEqual(tuple(x.center for x in value["physical_flux_integral_C"]),(12,5,6)) + for row,exact in zip(value["physical_flux_L1"],(12,5,6)): + self.assertLessEqual(row["lower"],exact);self.assertGreaterEqual(row["upper"],exact) + + +class T1PieceWitnesses(unittest.TestCase): + def fixture(self): + from scripts.benchmarks import native_observation as o + from scripts.benchmarks.interval_observation import Polynomial,Enclosure + tiny=F(1,2**180);factor=1+tiny + forms={k:NS(identity=k) for k in ("body_charge","metal_charge")} + calls=[] + def action(name,point): + calls.append((name,point.time)) + values=[factor*F(point.time)] if name == "body_charge" else [2*factor*F(point.time),-3*factor*F(point.time)] + return action_result([Enclosure(v) for v in values]) + model=NS(linear_forms={"state":forms},linear_action=action) + clock=NS(predecessor=F(0),tn=F(1),hused=F(1),coordinate=lambda x:x-1) + path=NS(identity="manufactured-path",clock=clock,action=lambda form: + (Polynomial((factor,factor)),) if form.identity == "body_charge" else + (Polynomial((2*factor,2*factor)),Polynomial((-3*factor,-3*factor)))) + observed=[] + def integrals(arithmetic,allocation,*,subinterval,checkpoint,scale_deciders=None): + observed.append(subinterval);duration=subinterval[1]-subinterval[0] + return {"physical_flux_integral_C":tuple(Enclosure(v*duration,F(1,10**7)) for v in (1,2,-3)), + "physical_flux_L1":tuple({"lower":abs(v*duration),"upper":abs(v*duration),"fixture_only":True} for v in (1,2,-3))} + observer=object.__new__(o.AcceptedIntervalObserver) + observer.prepared=NS(path=path) + observer.binding=NS(context=NS(request_copy=lambda:{})) + observer.observer=NS(model=model,physical_charge_integrals=integrals, + strip_current_debit=lambda *a,**k:{"same_state_affine_tangent":(F(3,10**7),)*3}) + observer.arithmetic=NS(calls=[]) + return o,observer,(NS(time=0.),),(NS(time=1.),object()),factor,calls,observed + + def test_cut_actions_preserve_low_words_and_four_error_terms(self): + from unittest.mock import patch + o,observer,left,right,factor,calls,observed=self.fixture() + with patch.object(o,"physical_charge_policy",lambda request:{}),patch.object(o,"propagated_input_error", + lambda *a,**k:{"tangent_charge_integral_error_C":(F(2,10**7),)*3}): + row=observer.t1_piece_evidence(left,right,F(1,4),F(3,4),absolute_error=F(1,1000)) + whole=observer.t1_piece_evidence(left,right,F(0),F(1),absolute_error=F(1,1000)) + value=row["channels"]["device"] + self.assertEqual(F(*value["delta_Q_enclosure_C"]["center"]),factor/2) + self.assertEqual(sum(F(*x) for x in value["uncertainty_components_C"].values()),F(6,10**7)) + self.assertEqual(F(*value["quadrature_component_upper_C"]),F(1,10**7)) + self.assertEqual(observed,[(F(1,4),F(3,4)),(F(0),F(1))]) + self.assertEqual(len(calls),4) # Only the full interval uses saved endpoint actions. + self.assertEqual(row["endpoint_action_source"]["left"],"exact-retained-polynomial") + self.assertEqual(whole["endpoint_action_source"]["right"],"saved-state") + + def test_partial_integral_failure_is_retained_as_missing_uncertainty(self): + from unittest.mock import patch + from scripts.benchmarks.contract_prototype import ContractError as RealContractError + o,observer,left,right,*_=self.fixture() + def fail(*args,**kwargs):raise RealContractError("observation_integral_radius_exceeds_budget") + observer.observer.physical_charge_integrals=fail + with patch.object(o,"physical_charge_policy",lambda request:{}),patch.object(o,"propagated_input_error", + lambda *a,**k:{"tangent_charge_integral_error_C":(F(2,10**7),)*3}): + value=observer.t1_piece_evidence(left,right,F(1,4),F(3,4),absolute_error=F(1,1000)) + self.assertEqual(value["status"],"unknown") + self.assertIsNone(value["channels"]["device"]["integral_F_enclosure_C"]) + self.assertIsNone(value["channels"]["device"]["uncertainty_components_C"]["physical_integrand_and_quadrature"]) + + +if __name__ == "__main__": + unittest.main() diff --git a/tests/numerical_contracts/test_physical_weights.py b/tests/numerical_contracts/test_physical_weights.py new file mode 100644 index 00000000..88f434d2 --- /dev/null +++ b/tests/numerical_contracts/test_physical_weights.py @@ -0,0 +1,287 @@ +"""Manufactured metadata and optional native EWT checks; no SolarLab model.""" +import atexit +from copy import deepcopy +from fractions import Fraction +import json +import os +from pathlib import Path +import unittest + +import numpy as np + +from scripts.benchmarks import physical_tolerance as pt +from scripts.benchmarks.native_readback import physical_weight_state + +CENSUS = dict(model_constructions=0, SolarLab_F=0, SolarLab_J=0, SolarLab_Poisson=0, + Arb=0, native_initialization_attempts=0, native_step_calls=0, + manufactured_residual_calls=0, scratch_weight_evaluations=0) +RECEIPTS = [] + + +def packed(value): + if isinstance(value, bytes): + return {"bytes_hex": value.hex()} + if hasattr(value, "items"): + return {k: packed(v) for k, v in value.items()} + if isinstance(value, (tuple, list)): + return [packed(v) for v in value] + return value + + +def save_receipt(): + name = os.environ.get("SOLARLAB_PHYSICAL_EWT_RECEIPT") + if name: + Path(name).write_text(json.dumps({"scope": "manufactured EWT only; no device qualification", + "calls": CENSUS, "records": packed(RECEIPTS)}, indent=2)+"\n") + + +atexit.register(save_receipt) + + +def expansion(values): + rows = [[] for _ in range(4)] + for value in values: + remainder = Fraction(value) + for row in rows: + x = float(remainder); row.append(x.hex()); remainder -= Fraction(x) + if remainder: + raise ValueError("manufactured four-word capacity") + return rows + + +def fixture(nodes=9, dynamic=True, profile=(1e-5, 1e-8), time=0.25): + names = ("c_m3", "f", "n_m3", "p_m3", "phi_V") if dynamic else ("n_m3", "p_m3", "phi_V") + offsets = {k: [j*nodes, (j+1)*nodes] for j,k in enumerate(names)} + roots = {"c_m3": 2.0**40, "n_m3": 2.0**35, "p_m3": 2.0**38, "f": 0.5, "phi_V": 0.0} + fields = {k: {"high": [roots[k]]*nodes, "low": [0.0]*nodes} for k in names} + scale = [2.0**20 if k.endswith("m3") else 1.0 for k in names for _ in range(nodes)] + packet = {"column_scaling": scale, "variable_offsets": offsets, + "physical_reference_fields": fields, + "definition": {"temperature": 300.0, "area": 1e-12, "length": 1e-6, + "ni": 2e12, "ion_initial": 1e13 if dynamic else 0.0, "trap_density": 2e14}, + "initial_reference": {"payload": {"fields": { + k: {w: [v.hex() for v in values] for w,values in f.items()} for k,f in fields.items()}}}} + policy = pt.make_policy(packet, {"r": profile[0], "alpha": profile[1]}) + size = len(scale) + lift = [[0.0, 0.0] for _ in range(size)] + for i in range(*offsets["phi_V"]): + lift[i][0] = -float(i-offsets["phi_V"][0])/(nodes-1) + mapping = {"columns_hex": [v.hex() for v in scale], "lift_hex": [[v.hex() for v in r] for r in lift], + "reference_inputs_hex": [0.125.hex(), 0.0.hex()]} + segment = {"id": "manufactured", "start": 0.0, "end": 1.0, "voltage": [0.1, 0.2], "photons": [0.0, 0.0]} + previous = dict(rtol=1e-12, atol=[1e-15]*size, first_step=0.0, max_step=0.1, max_order=5, + max_num_steps=200000, max_nonlin_iters=4, max_conv_fails=10, calc_initcond=None, linsolver="sparse", nthreads=1) + request = {"numeric_packet": packet, "physical_tolerance_policy": policy, "previous_controls": previous, + "controls": pt.controls(previous, policy), "weight_certificate": policy, + "budgets": {"wall_s": 1}, "original_budgets": {"wall_s": 1}, "native_admission": False, + "voltage_lift_map": mapping, "map_identity": pt.digest(mapping), "segments": [segment]} + frame = {"parent_map_identity": request["map_identity"], "segment_sha256": pt.digest(segment), + "logical_initialization_index": 1, "t0_hex": float(time).hex(), "size": size, + "q0_words_hex": expansion([Fraction(1,4)]*size), + "v0_words_hex": expansion([Fraction(1,256)]*size), + "weight_rounding": "RN-exact-parent-q_then-unfused-SV-v1"} + return request, frame, segment, pt.weight_option(request, frame, segment) + + +def oracle(option, when, raw): + n = option["size"]; f = lambda v: Fraction(float.fromhex(v)) + start,end = (float.fromhex(option[k]) for k in ("protocol_start_hex", "protocol_end_hex")) + first,last,rates = ([float.fromhex(v) for v in option[k]] for k in ("inputs_start_hex", "inputs_end_hex", "input_rates_hex")) + a = first if when == start else last if when == end else [x+v*(when-start) for x,v in zip(first,rates)] + states = [] + for i in range(n): + q = sum((f(w[i]) for w in option["q0_words_hex"]),Fraction(raw[i])) + q += (Fraction(when)-f(option["t0_hex"]))*sum((f(w[i]) for w in option["v0_words_hex"]),Fraction(0)) + x = sum((f(w[i]) for w in option["reference_words_hex"]),Fraction(0)) + f(option["scale_hex"][i])*q + x += sum((f(option["lift_hex"][i][j])*(Fraction(a[j])-f(option["reference_inputs_hex"][j])) for j in range(2)),Fraction(0)) + states.append(float(x)) + weights = [float.fromhex(s)/(float.fromhex(option["rtol_hex"])*abs(x)+float.fromhex(a)) + for s,x,a in zip(option["scale_hex"],states,option["atol_physical_hex"])] + return np.array(states), np.array(weights) + + +class PhysicalMetadataTests(unittest.TestCase): + def test_reader_rejects_forged_scalar_and_weight_receipts(self): + request,frame,segment,option=fixture() + n=option["size"]; raw=np.zeros(n); x,w=oracle(option,0.5,raw) + words=lambda values: np.array([float.fromhex(v) for v in values],dtype=" 1e-7 + endpoint_differences = [out.voltage_rate - step.derivative[0] + for out, step in zip(result.endpoint_outputs, result.native_steps)] + endpoint_state_differences = [out.voltage - step.right.y[0] + for out, step in zip(result.endpoint_outputs, result.native_steps)] + endpoint_comparison = compare( + [out.voltage for out in result.endpoint_outputs], + [rc_reference(out.time) for out in result.endpoint_outputs], + GATE["trajectory_atol"], GATE["trajectory_rtol"]) + checks["endpoint_interpolation_states"] = endpoint_comparison["passed"] + endpoint_current_diagnostics = [{ + "time": step.right.time, + "onestep_return_current": model.sample(step.right, step.derivative).current, + "normal_return_current": out.current, + } for out, step in zip(result.endpoint_outputs, result.native_steps)] + physical_rate_errors, physical_current_errors = [], [] + for reading in result.raw_readings + result.physical_readings: + record = {"kind": "retained_reading", "origin": reading.origin, + "time": reading.point.time, "point_identity": reading.point.identity, + "state": reading.point.y, "inputs": reading.point.inputs, + "derivative": reading.derivative, "charge": reading.sample.charge, + "conduction": reading.sample.conduction, "current": reading.sample.current} + if reading.origin.startswith("physical-tangent-v1"): + v = rc_reference(reading.point.time) + with localcontext() as ctx: + ctx.prec = 80 + rate_ref = -v / (Decimal(str(p["R"])) * Decimal(str(p["C"]))) + displacement_ref = -v / Decimal(str(p["R"])) + rate_check = compare([reading.derivative[0]], [rate_ref], 5e-11, 0) + displacement = reading.sample.current[0] - reading.sample.conduction[0] + displacement_check = compare([displacement], [displacement_ref], 1e-10, 0) + physical_rate_errors.extend(rate_check["errors"]) + physical_current_errors.extend(displacement_check["errors"]) + record.update(analytic_rate=rate_check, analytic_displacement=displacement_check) + emit(record) + if reconstructed: + checks["physical_rate_at_all_retained_points"] = bool(physical_rate_errors) and max(physical_rate_errors) <= 5e-11 + checks["physical_displacement_at_all_retained_points"] = bool(physical_current_errors) and max(physical_current_errors) <= 1e-10 + assert_record(request, {"native_intervals": len(intervals), "accepted_intervals": len(accepted), + "observations": observations, "derivative_quotient_max_gap": gap, + "normal_minus_native_endpoint_derivative": endpoint_differences, + "normal_minus_native_endpoint_state": endpoint_state_differences, + "endpoint_comparison": endpoint_comparison, + "endpoint_current_diagnostics": endpoint_current_diagnostics, + "derivative_policy": controls.get("derivative_policy", "interpolant"), + "raw_reading_count": len(result.raw_readings), + "physical_reading_count": len(result.physical_readings), + "max_physical_rate_error": max(physical_rate_errors, default=None), + "max_physical_displacement_error": max(physical_current_errors, default=None), + "analytical_interval_failures": sum(not x["analytic_interval_diagnostic"]["passed"] + for x in intervals)}, checks) + + +def driven_system(affine=False, missing_gauge=False): + coordinates, _ = RCModel(2, 3).system() + + class AffineCharge: + def value(self, point): + return np.array([2 * point.y[0] + point.inputs[0] / 4 + point.time / 16]) + + def first(self, point): + return StoragePartials(np.array([[2., 0.]]), np.array([[.25]]), np.array([.0625])) + + def delta(self, left, right, increment): + increment.validate(left, right) + return self.value(right) - self.value(left) + + def rate_jvp(self, point, ydot, adot, dy, da, dt): + return np.zeros(1) + + def terms(point): + v, current = point.y + return BalanceTerms( + np.array([current - v / 3]), np.array([current - point.inputs[0] - point.time / 8]), + np.array([[-1 / 3, 1]]), np.zeros((1, 1)), np.zeros(1), + np.zeros((1, 2)) if missing_gauge else np.array([[0., 1.]]), + np.array([[-1.]]), np.array([-.125]), + ) + return coordinates, ImplicitSystem(AffineCharge() if affine else LinearStorage([[2., 0.]]), terms) + + +@pytest.mark.parametrize("affine", [False, True]) +def test_physical_tangent_nonzero_drive_and_full_input_time_chain(request, affine): + coordinates, system = driven_system(affine) + point = coordinates.point([.75, .4375], .5, [.375]) + history = (coordinates.point([.5, .375], 0, [.375]),) + identities = point.identity, tuple(p.identity for p in history) + derivative = consistent_physical_rate(system, coordinates, point, [-.0625], history=history) + expected_rate = Decimal("0.0703125") if affine else Decimal("0.09375") + rates = compare(derivative, [expected_rate, Decimal("0.0625")], + GATE["algebraic_atol"], GATE["algebraic_rtol"]) + first = system.storage.first(point) + charge_rate = (first.y @ derivative + first.inputs @ np.array([-.0625]) + first.time)[0] + current = point.y[0] / 3 + charge_rate + currents = compare([current, -current], [Decimal("0.4375"), Decimal("-0.4375")], + GATE["algebraic_atol"], GATE["algebraic_rtol"]) + eps = 2.0 ** -10 + plus = coordinates.point(point.y + eps * derivative, point.time + eps, point.inputs - eps * .0625) + minus = coordinates.point(point.y - eps * derivative, point.time - eps, point.inputs + eps * .0625) + fd = (system.storage.value(plus) - system.storage.value(minus)) / (2 * eps) + charge_check = compare(fd, [Decimal("0.1875")], GATE["algebraic_atol"], GATE["algebraic_rtol"]) + assert identities == (point.identity, tuple(p.identity for p in history)) + if affine: + omitted = point.y[0] / 3 + 2 * derivative[0] + assert omitted == .390625 and omitted != current + assert_record(request, {"rates": rates, "currents": currents, "charge_rate": charge_check}, + {"rate": rates["passed"], "nonzero_current": currents["passed"], "full_charge_chain": charge_check["passed"]}) + + +@pytest.mark.parametrize("bad_current", [1e-15, 1e-6]) +def test_physical_tangent_rejects_nonzero_algebraic_state(bad_current): + coordinates, system = RCModel(2, 3).system() + point = coordinates.point([1, bad_current]) + with pytest.raises(ContractError, match="nonzero_algebraic_state"): + consistent_physical_rate(system, coordinates, point, []) + + +def test_physical_tangent_rejects_missing_gauge(): + coordinates, system = driven_system(missing_gauge=True) + point = coordinates.point([.75, .4375], .5, [.375]) + with pytest.raises(ContractError, match="missing_gauge"): + consistent_physical_rate(system, coordinates, point, [-.0625], gauge_nullspace=True) + + +def test_physical_reading_requires_its_live_interval(): + model = RCModel(2, 3) + coordinates, _ = model.system() + _, steps = rc_be(model, 1, .1, .1) + interval = NativeInterval(None, model, coordinates, steps[0], .1) + reading = interval.reading(.1) + assert np.all(interval.physical_reading(reading).sample.current == 0) + with pytest.raises(ContractError, match="foreign_interval_reading"): + interval.physical_reading(replace(reading)) + for time in (-.1, .2): + point = coordinates.point(reading.point.y, time) + outside = PortReading(point, reading.derivative, + model.sample(point, reading.derivative), reading.origin) + with pytest.raises(ContractError, match="outside_native_interval"): + interval.physical_reading(outside) + interval.close() + with pytest.raises(ContractError, match="interpolation_interval_expired"): + interval.physical_reading(reading) + + +def test_zero_reconstructed_current_does_not_certify_wrong_state_or_curve(request): + model = RCModel(2, 3) + coordinates, system = model.system() + point = coordinates.point([1.01, 0], .03) + rate = consistent_physical_rate(system, coordinates, point, []) + assert np.all(model.sample(point, rate).current == 0) + bad_state = compare([point.y[0]], [rc_reference(.03)], GATE["trajectory_atol"], GATE["trajectory_rtol"]) + with localcontext() as ctx: + ctx.prec = 80 + # Offset curve V=exp(-t/6)+1e-4. A physical derivative estimate has a + # genuine integral defect, even while its reconstructed total I is0. + h, offset = Decimal("0.1"), Decimal("0.0001") + exact_delta = 2 * ((-h / 6).exp() - 1) + integral = exact_delta - offset * h / 3 + defect = abs(exact_delta - integral) + budget = Decimal(str(GATE["integrated_charge_atol"])) + Decimal(str(GATE["integrated_charge_rtol"])) * abs(integral) + assert_record(request, {"wrong_state": bad_state, "offset_curve_defect": float(defect), "budget": float(budget)}, + {"state_rejected": not bad_state["passed"], "curve_rejected": defect > budget}) diff --git a/tests/numerical_contracts/test_precision.py b/tests/numerical_contracts/test_precision.py new file mode 100644 index 00000000..dea94c6e --- /dev/null +++ b/tests/numerical_contracts/test_precision.py @@ -0,0 +1,523 @@ +"""NC08 independent Decimal references and public precision-boundary checks.""" + +from __future__ import annotations + +from decimal import Decimal, localcontext +from fractions import Fraction +import hashlib +import json +import math +from pathlib import Path + +import numpy as np +import pytest + +from scripts.benchmarks.contract_prototype import ( + AREA, COULOMB, KELVIN, ONE, PARTICLE, SECOND, VOLT, VOLUME, + CellSource, ContractError, EquationSpec, FaceFlux, Geometry, Layout, + Point, StateView, Support, TermSink, Unit, VariableSpec, +) +from scripts.benchmarks.precision_prototype import ( + DD, DoubleArithmetic, DoubleArray, PrimitiveExpansion, RelativeCoordinates, + bernoulli, decode_point, encode_point, +) + + +ROOT = Path(__file__).resolve().parents[2] +GATE = next(gate for gate in json.loads( + Path(__file__).with_name("AnalyticGatesV1.json").read_text() +)["gates"] if gate["id"] == "NC08") + + +def decimal_words(value: DoubleArray, index=0): + return (Decimal.from_float(float(value.high.ravel()[index])) + + Decimal.from_float(float(value.low.ravel()[index]))) + + +def expm1_series(value): + return sum(value ** k / Decimal(math.factorial(k)) for k in range(1, 6)) + + +@pytest.mark.parametrize("high,low,error", [ + ([1.0], [1.0], ContractError), + ([np.nan], [0.0], ArithmeticError), +]) +def test_double_copy_revalidates_forged_instance_metadata(high, low, error): + value = object.__new__(DoubleArray) + words = [np.frombuffer(np.asarray(word, dtype=np.float64).tobytes(), dtype=np.float64) + .reshape(-1) for word in (high, low)] + object.__setattr__(value, "_high", words[0]) + object.__setattr__(value, "_low", words[1]) + object.__setattr__(value, "_validated_words", + (*words, words[0].shape, words[0].strides, words[1].strides)) + with pytest.raises(error): + value.immutable_copy() + + +def test_double_copy_ignores_malformed_instance_validation_metadata(): + value = DoubleArray(np.ones((2, 2)), np.zeros((2, 2))) + object.__setattr__(value, "_validated_words", + (value.high, value.low, np.array([2, 2]), value.high.strides, value.low.strides)) + copied = value.immutable_copy() + assert copied is not value + assert copied.high.tobytes() == value.high.tobytes() + assert copied.low.tobytes() == value.low.tobytes() + + +def test_primitive_add_preserves_exact_voltage_product_and_remainder(): + theta = [0.00855663413738028, 0.8191527652292634] + voltage = 0.010463084503981271 + products = [Fraction.from_float(x) * Fraction.from_float(voltage) for x in theta] + high = np.array([float(value) for value in products]) + low = np.array([float(value - Fraction.from_float(float(word))) + for value, word in zip(products, high)]) + lift = PrimitiveExpansion.from_value(DoubleArray(high, low)) + departure = PrimitiveExpansion.from_value([-high[0], 2.0**-120]) + before = (lift.identity_bytes(), departure.identity_bytes()) + result = departure.add(lift) + for index, product in enumerate(products): + exact = sum((Fraction.from_float(float(word[index])) for word in result.words), Fraction()) + expected = product + Fraction.from_float(float(departure.high[index])) + assert exact == expected + assert result.words[0][0] != 0 + assert (lift.identity_bytes(), departure.identity_bytes()) == before + assert all(not word.flags.writeable for word in result.words) + + +def test_primitive_add_cancellation_retains_three_authoritative_words(): + terms = (1.0, 2.0**-54, 2.0**-108, 2.0**-162) + left = PrimitiveExpansion(tuple(np.array([value]) for value in terms)) + result = left.add([-1.0]) + exact = sum((Fraction.from_float(float(word[0])) for word in result.words), Fraction()) + assert exact == sum((Fraction.from_float(value) for value in terms[1:]), Fraction()) + assert result.words[2][0] != 0 + with pytest.raises(ContractError, match="primitive_projection_would_discard_remainder"): + result.as_dd() + + +def test_primitive_add_capacity_and_shape_fail_without_mutation(): + left = PrimitiveExpansion(tuple(np.array([value]) for value in + (1.0, 2.0**-54, 2.0**-108, 2.0**-162))) + identity = left.identity_bytes() + with pytest.raises(ContractError, match="primitive_expansion_capacity_exceeded"): + left.add([2.0**-216]) + with pytest.raises(ContractError, match="primitive_shape_mismatch"): + left.add([1.0, 2.0]) + assert left.identity_bytes() == identity + + +def test_primitive_add_rejects_finite_input_sum_overflow(): + largest = np.finfo(np.float64).max + value = PrimitiveExpansion((np.array([largest]), np.zeros(1), np.zeros(1), np.zeros(1))) + identity = value.identity_bytes() + with pytest.raises(ContractError, match="primitive_expansion_sum_range"): + value.add(value) + assert value.identity_bytes() == identity + + +def assert_decimal_close(candidate, reference, atol, rtol): + allowed = Decimal(str(atol)) + Decimal(str(rtol)) * abs(reference) + assert abs(candidate - reference) <= allowed, (candidate, reference, allowed) + + +def density_layout(count=1): + return Layout((Support("cells", "cell", (count,)),), + (VariableSpec("n", "carrier", "cells", (count,), PARTICLE / VOLUME, lower=0),), ()) + + +def test_frame_input_old_codec_bytes_and_four_word_rejections_unchanged(): + """Hashes were obtained from the frozen c214679 qualification capsule.""" + from scripts.benchmarks.precision_prototype import FrameInputExpansion, PrimitiveDifference + + layout = density_layout(2) + coordinates = RelativeCoordinates(layout, {"n": "linear"}) + reference = coordinates.initial(StateView(layout, [("n", DoubleArray([3., 3.], [2.**-60]*2))])) + trial, _ = coordinates.trial(reference, PrimitiveExpansion.from_value([0.25, 0.5]), 1.0) + for point, expected in ((reference, "dd38ea2ea38fd36e5ca945b2497e7f8c4a23e64e57a9b86e44b8dd0ac558c0b5"), + (trial, "b00dd60e645c7a7e6bcbac7c016cbaf5acea90b47c046522d37934724107ae52")): + raw = json.dumps(encode_point(point), sort_keys=True, separators=(",", ":"), allow_nan=False).encode() + assert hashlib.sha256(raw).hexdigest() == expected + assert encode_point(decode_point(encode_point(point), layout)) == encode_point(point) + extended = FrameInputExpansion.from_value([0.0, 0.0]) + with pytest.raises(ContractError, match="primitive_word_count"): + PrimitiveExpansion(extended.words) + with pytest.raises(ContractError): + PrimitiveDifference(extended, PrimitiveExpansion.from_value([0.0, 0.0])) + + +def test_frame_input_twelve_word_normalization_identity_and_capacity(): + from dataclasses import FrozenInstanceError + from scripts.benchmarks.precision_prototype import FrameInputExpansion, FrameInputDifference + + terms = tuple(np.array([2.**(-54*i)]) for i in range(12)) + value = FrameInputExpansion(terms) + assert len(value.words) == 12 + assert sum((Fraction(float(w[0])) for w in value.words), Fraction()) == sum( + (Fraction(float(w[0])) for w in terms), Fraction()) + assert value.take_flat([0]).reshape((1,)).identity_bytes() == value.identity_bytes() + assert all(not word.flags.writeable for word in value.words) + for assignment in (lambda: setattr(value, "_words", ()), lambda: setattr(value, "other", 1)): + with pytest.raises(FrozenInstanceError): + assignment() + with pytest.raises(TypeError): + np.asarray(value) + with pytest.raises(ContractError, match="discard_remainder"): + value.as_dd() + with pytest.raises(ContractError, match="frame_input_capacity_exceeded"): + value.add([2.**-648]) + with pytest.raises(ContractError, match="frame_input_sum_range"): + FrameInputExpansion.from_terms([np.array([np.finfo(float).max])]*2) + for malformed in (terms[:4], (*terms, terms[-1])): + with pytest.raises(ContractError, match="frame_input_word_count"): + FrameInputExpansion(malformed) + for malformed in ([np.array([2**53+1], dtype=np.int64)], [np.array([True])], [np.array(["1.0"]) ]): + with pytest.raises(ContractError): + FrameInputExpansion.from_terms(malformed) + with pytest.raises(ContractError, match="frame_difference_requires_two_endpoints"): + FrameInputDifference(value, FrameInputDifference(value, value)) + with pytest.raises(ContractError, match="frame_difference_requires_two_endpoints"): + FrameInputDifference(value, PrimitiveExpansion.from_value([1.0])) + + +def test_frame_input_state_source_and_paired_difference_retain_final_word(): + from copy import deepcopy + from scripts.benchmarks.contract_prototype import BoundLinearSource, LinearFactor, LinearSourceSpec, LinearTerm, PhysicalLinearForm + from scripts.benchmarks.precision_prototype import FrameInputExpansion, _double_linear_increment_words, _double_linear_state_words + + layout = density_layout(2) + coordinates = RelativeCoordinates(layout, {"n": "linear"}) + reference = coordinates.initial(StateView(layout, [("n", DoubleArray([3., 3.], [2.**-60]*2))])) + identity = reference.identity + terms = [np.full(2, 2.**(-54*i)) for i in range(12)] + terms[-1] = np.array([2.**-594, 0.0]) + current = FrameInputExpansion(terms) + point, _ = coordinates.trial(reference, current, 1.0) + factors = tuple(LinearFactor(str(i), 2.0, ONE, "manufactured") for i in range(4)) + form = PhysicalLinearForm(layout, ("difference",), (PARTICLE/VOLUME,), + (LinearTerm(0, "n", 0, factors), LinearTerm(0, "n", 1, factors, -1)), "manufactured", "state", 2) + result = point.state.linear_form(form, arithmetic=DoubleArithmetic(), point=point) + assert result.value.high[0] == 2.**-590 and result.value.low[0] == 0 + assert len(_double_linear_state_words(point.state, "n")) == 14 + spec = LinearSourceSpec("input", "cells", (2,), PARTICLE/VOLUME, "manufactured") + source_form = PhysicalLinearForm(layout, ("difference",), (PARTICLE/VOLUME,), + (LinearTerm(0, "input", 0), LinearTerm(0, "input", 1, sign=-1)), "manufactured", "state", 2, (spec,)) + result = point.state.linear_form(source_form, arithmetic=DoubleArithmetic(), point=point, + sources=BoundLinearSource.bind(point, [(spec, current)])) + assert result.value.high[0] == 2.**-594 + terms[-1] = np.array([2.**-593, 0.0]) + right, increment = coordinates.trial(reference, FrameInputExpansion(terms), 2.0, predecessor=point) + assert len(_double_linear_increment_words(point.state, right.state, "n")) == 24 + delta_form = PhysicalLinearForm(layout, ("difference",), (PARTICLE/VOLUME,), form.terms, "manufactured", "increment", 2) + result = increment.linear_form(point, right, delta_form, arithmetic=DoubleArithmetic()) + assert result.value.high[0] == 2.**-590 and result.value.low[0] == 0 + payload = encode_point(right) + assert payload["payload"]["authority"]["schema"] == "solarlab.state-authority.v6" + restored = decode_point(payload, layout) + assert encode_point(restored) == payload and reference.identity == identity + for mutation in (lambda p: p["authority"].update(schema="solarlab.state-authority.v5"), + lambda p: p["authority"]["primitives"]["n"]["words"].pop()): + bad = deepcopy(payload); mutation(bad["payload"]) + bad["sha256"] = hashlib.sha256(json.dumps(bad["payload"], sort_keys=True, separators=(",", ":"), allow_nan=False).encode()).hexdigest() + with pytest.raises(ContractError): + decode_point(bad, layout) + with pytest.raises(ContractError, match="frame_input_requires_paired_transition"): + coordinates.trial(reference, current, 3.0, transition_representation="four-word-v1") + old, _ = coordinates.trial(reference, PrimitiveExpansion.from_value([0.0, 0.0]), 0.5) + with pytest.raises(ContractError, match="frame_input_predecessor_profile"): + coordinates.trial(reference, current, 3.0, predecessor=old) + + +@pytest.mark.parametrize("framed", [False, True]) +def test_frame_input_standalone_state_linear_form(framed): + from scripts.benchmarks.contract_prototype import LinearTerm, PhysicalLinearForm, RateView + from scripts.benchmarks.precision_prototype import FrameInputExpansion + + layout = density_layout() + coordinates = RelativeCoordinates(layout, {"n": "linear"}) + reference = coordinates.initial(StateView(layout, [("n", DoubleArray([3.]))])) + kind = FrameInputExpansion if framed else PrimitiveExpansion + point, _ = coordinates.trial(reference, kind.from_value([0.25]), 1.) + form = PhysicalLinearForm(layout, ("n",), (PARTICLE/VOLUME,), (LinearTerm(0, "n", 0),), + "manufactured-edge", "state", 1) + result = point.state.linear_form(form, arithmetic=DoubleArithmetic()) + assert result.value.high[0] == 3.25 and result.value.low[0] == 0. + rate = RateView(point, kind.from_value([0.5]), [], source_identity="manufactured-edge", + mapping_identity="manufactured-map", origin="mapped-coordinate-rate", + raw_coordinates=[0.25], raw_rate=[0.5]) + rate_form = PhysicalLinearForm(layout, ("dn",), (PARTICLE/VOLUME/SECOND,), form.terms, + "manufactured-edge", "rate", 1) + result = rate.linear_form(rate_form, arithmetic=DoubleArithmetic(), point=point) + assert result.value.high[0] == 0.5 and result.value.low[0] == 0. + + +@pytest.mark.parametrize("framed", [False, True]) +def test_frame_input_same_point_zero_increment_ignores_past_transition(framed): + from scripts.benchmarks.contract_prototype import LinearTerm, PhysicalLinearForm, StateIncrement + from scripts.benchmarks.precision_prototype import FrameInputExpansion + + layout = density_layout() + coordinates = RelativeCoordinates(layout, {"n": "linear"}) + reference = coordinates.initial(StateView(layout, [("n", DoubleArray([3.]))])) + kind = FrameInputExpansion if framed else PrimitiveExpansion + first, _ = coordinates.trial(reference, kind.from_value([0.25]), 1.) + second, _ = coordinates.trial(reference, kind.from_value([0.5]), 2., predecessor=first) + form = PhysicalLinearForm(layout, ("dn",), (PARTICLE/VOLUME,), (LinearTerm(0, "n", 0),), + "manufactured-edge", "increment", 1) + for point in (first, second): + increment = StateIncrement.from_points(point, point) + result = increment.linear_form(point, point, form, arithmetic=DoubleArithmetic()) + assert result.value.high[0] == result.value.low[0] == 0. + assert result.absolute_error_bound.values[0] == 0. + + +@pytest.mark.parametrize("text", GATE["decimal_inputs"]["delta_log_n"]) +def test_nc08_weak_density_survives_state_increment_and_codec(text): + layout = density_layout() + coordinates = RelativeCoordinates(layout, {"n": "log"}) + state = StateView(layout, [("n", DoubleArray([float(GATE["decimal_inputs"]["n0"])]))]) + left = coordinates.initial(state) + right, increment = coordinates.advance(left, [float(text)], 1) + increment.validate(left, right) + with localcontext() as context: + context.prec = 80 + n0, x = Decimal(GATE["decimal_inputs"]["n0"]), Decimal(text) + reference = n0 * expm1_series(x) + candidate = decimal_words(increment.field("n")) + quantization = abs(n0 * (expm1_series(Decimal.from_float(float(text))) - expm1_series(x))) + assert quantization <= Decimal(str(GATE["density_increment_atol"])) / 3 + assert_decimal_close(candidate, reference, GATE["density_increment_atol"], GATE["density_increment_rtol"]) + state_change = decimal_words(right.state.field("n")) - decimal_words(left.state.field("n")) + assert_decimal_close(state_change, reference, GATE["density_increment_atol"], GATE["density_increment_rtol"]) + assert (candidate == 0) == (x == 0) + assert right.state.field("n").high[0] == left.state.field("n").high[0] + restored = decode_point(json.loads(json.dumps(encode_point(right))), layout) + assert restored.identity == right.identity + assert restored.state.field("n").identity_bytes() == right.state.field("n").identity_bytes() + # Subsequent evaluation uses restored words, not the rounded high value. + recovered_change = restored.state.field("n").difference(left.state.field("n")) + assert_decimal_close(decimal_words(recovered_change), reference, + GATE["density_increment_atol"], GATE["density_increment_rtol"]) + + +@pytest.mark.parametrize("text", GATE["decimal_inputs"]["delta_log_n"]) +def test_nc08_weak_flux_and_capture_use_stable_physical_differences(text): + layout = density_layout(2) + coordinates = RelativeCoordinates(layout, {"n": "log"}) + n0 = float(GATE["decimal_inputs"]["n0"]) + left = coordinates.initial(StateView(layout, [("n", DoubleArray([n0, n0]))])) + right, increment = coordinates.advance(left, [0, float(text)], 1) + face_difference = right.state.face_difference("n", [[0, 1]]) + weak = GATE["weak_flux"] + flux = face_difference.as_dd() * (DD(float(weak["q_C"])) * weak["D_m2_s"] / weak["dx_m"]) + capture = GATE["capture"] + reaction = (increment.field("n").as_dd()[1] * capture["capture_coefficient"] + * capture["trap_density"] * (1 - capture["occupancy"])) + with localcontext() as context: + context.prec = 80 + dn = Decimal(GATE["decimal_inputs"]["n0"]) * expm1_series(Decimal(text)) + expected_flux = Decimal(weak["q_C"]) * Decimal(str(weak["D_m2_s"])) / Decimal(str(weak["dx_m"])) * dn + assert_decimal_close(decimal_words(DoubleArray.from_dd(flux)), expected_flux, + weak["atol_A_m2"], weak["rtol"]) + expected_capture = (Decimal(str(capture["capture_coefficient"])) * Decimal(str(capture["trap_density"])) + * (1 - Decimal(str(capture["occupancy"]))) * dn) + assert_decimal_close(decimal_words(DoubleArray.from_dd(reaction)), expected_capture, + capture["atol"], capture["rtol"]) + + +@pytest.mark.parametrize("text", GATE["decimal_inputs"]["delta_log_n"]) +def test_stable_bernoulli_resolves_weak_correction_on_density_scale(text): + value = bernoulli(DoubleArray([float(text)])) + with localcontext() as context: + context.prec = 80 + x, n0 = Decimal(text), Decimal(GATE["decimal_inputs"]["n0"]) + # Independent Bernoulli series; next term is O(x^6), <1e-96 here. + correction = -x / 2 + x*x / 12 - x**4 / 720 + candidate = n0 * (decimal_words(value) - 1) + assert_decimal_close(candidate, n0 * correction, + GATE["density_increment_atol"], GATE["density_increment_rtol"]) + if text == "0": + np.testing.assert_array_equal(value.high, [1]) + np.testing.assert_array_equal(value.low, [0]) + + +def test_nc08_displacement_current_uses_increment_not_equal_high_words(): + fixture = GATE["displacement"] + layout = Layout((Support("face", "face", (1,)),), + (VariableSpec("D", "electrostatics", "face", (1,), COULOMB / AREA),), ()) + coordinates = RelativeCoordinates(layout, {"D": "linear"}) + left = coordinates.initial(StateView(layout, [("D", DoubleArray([float(fixture["D0_C_m2"])]))])) + right, increment = coordinates.advance(left, [float(fixture["increment_C_m2"])], float(fixture["dt_s"])) + assert right.state.field("D").high[0] == left.state.field("D").high[0] + current = DoubleArray.from_dd(increment.field("D").as_dd() / float(fixture["dt_s"])) + with localcontext() as context: + context.prec = 80 + assert_decimal_close(decimal_words(current), Decimal(fixture["expected_current_A_m2"]), + fixture["atol_A_m2"], fixture["rtol"]) + + +def test_precision_reaches_geometry_weighting_and_cancellation(): + layout = Layout((Support("cells", "cell", (2,)), Support("faces", "face", (1,))), (), + (EquationSpec("balance", "assembly", "cells", (2,), PARTICLE / SECOND),)) + geometry = Geometry([2, 3], [[0, 1]], [5]) + sink = TermSink(layout, "balance", geometry, DoubleArithmetic()) + flux = DoubleArray.from_dd(DD([1e22], [1e5])) + sink.add(FaceFlux("transport", "faces", flux, PARTICLE / AREA / SECOND)) + # Choose the counterterm using DD arithmetic so binary64 division error + # does not contaminate the deliberately small cancellation witness. + source = DoubleArray.from_dd(DD([1e22, -1e22]) * 5 / DD([2.0, 3.0])) + sink.add(CellSource("counterterm", "cells", source, PARTICLE / VOLUME / SECOND)) + result = sink.value() + with localcontext() as context: + context.prec = 80 + assert_decimal_close(decimal_words(result, 0), Decimal("-5e5"), 1e-7, 1e-12) + assert_decimal_close(decimal_words(result, 1), Decimal("5e5"), 1e-7, 1e-12) + assert abs(decimal_words(result, 0) + decimal_words(result, 1)) <= Decimal("1e-7") + with pytest.raises(TypeError, match="implicit precision rounding"): + np.asarray(result) + + +def test_exact_zero_and_explicit_rebase_preserve_physical_history(): + layout = density_layout() + inactive = RelativeCoordinates(layout, {"n": "inactive"}) + zero = inactive.initial(StateView(layout, [("n", DoubleArray([0]))])) + right, increment = inactive.advance(zero, [0], 1) + assert decimal_words(right.state.field("n")) == decimal_words(increment.field("n")) == 0 + with pytest.raises(ContractError, match="inactive_coordinate_change"): + inactive.advance(zero, [1e-17], 1) + coordinates = RelativeCoordinates(layout, {"n": "log"}) + left = coordinates.initial(StateView(layout, [("n", DoubleArray([1e22]))])) + plus, _ = coordinates.advance(left, [1e-17], 1) + restored = decode_point(encode_point(plus), layout) + back, _ = coordinates.advance(restored, [-1e-17], 2) + assert back.coordinate_reference.endswith(restored.identity) + with localcontext() as context: + context.prec = 80 + assert abs(decimal_words(back.state.field("n")) - Decimal("1e22")) <= Decimal("1e-7") + + +def test_codec_preserves_zero_signs_and_rejects_tampered_words(): + layout = density_layout(2) + state = StateView(layout, [("n", DoubleArray([0.0, -0.0], [-0.0, 0.0]))]) + point = RelativeCoordinates(layout, {"n": "inactive"}).initial(state) + restored = decode_point(encode_point(point), layout) + assert restored.state.field("n").identity_bytes() == point.state.field("n").identity_bytes() + record = encode_point(point) + record["payload"]["fields"]["n"]["low"][0] = (1e-30).hex() + with pytest.raises(ContractError, match="precision_codec_digest_mismatch"): + decode_point(record, layout) + + +@pytest.mark.parametrize("case_name", ["step183_failed", "step183_accepted", "step309_failed"]) +def test_nc08_saved_r1_inputs_have_exact_public_representation(case_name): + path = ROOT / "tests/fixtures/refactor/R1FailureWitnessV1.json" + assert hashlib.sha256(path.read_bytes()).hexdigest() == "29e4981bd4d5d11d19f3120febbd47d853d39bfb45a72a44ecec91566757db1d" + case = json.loads(path.read_text())["cases"][case_name] + row = case["saved_row"] if case_name == "step183_accepted" else None + raw = row["state"] if row else case["saved_witness"]["attempted_state"] + coordinates = row["physics_reconstruction"]["coordinate"] if row else case["saved_witness"]["coordinate"] + units = {"n_m3": PARTICLE / VOLUME, "p_m3": PARTICLE / VOLUME, + "positive_m3": PARTICLE / VOLUME, "phi_V": VOLT, "occupancy": ONE, + "trace_state_m3": PARTICLE / VOLUME, "trace_potential_V": VOLT} + supports, variables, fields = [], [], [] + for name, unit in units.items(): + value = np.asarray(raw[name], dtype=float) + supports.append(Support(name, "global", value.shape)) + variables.append(VariableSpec(name, "frozen_r1_input", name, value.shape, unit)) + fields.append((name, DoubleArray(value))) + layout = Layout(tuple(supports), tuple(variables), ()) + point = Point(0, np.asarray(coordinates), np.empty(0), StateView(layout, fields), + f"frozen-original-r1:{case_name}") + restored = decode_point(json.loads(json.dumps(encode_point(point))), layout) + assert point.identity == restored.identity + assert point.y.tobytes() == restored.y.tobytes() + for name in units: + assert point.state.field(name).identity_bytes() == restored.state.field(name).identity_bytes() + assert restored.state.field(name).high.tobytes() == np.asarray(raw[name], dtype=float).tobytes() + # This is representation/codec evidence only. The changed Fermi table and + # original 100s/R1 qualification remain explicitly outside this check. + + +def test_voltage_energy_and_temperature_dimensions_are_distinct(): + assert COULOMB * VOLT == Unit((2, -2, 0, 0, 1, 0)) + assert (COULOMB * VOLT / KELVIN) * KELVIN == COULOMB * VOLT + assert VOLT != ONE + + +def test_core_uses_injected_arithmetic_without_importing_research_provider(): + import ast + path = ROOT / "scripts/benchmarks/contract_prototype.py" + modules = [node.module for node in ast.walk(ast.parse(path.read_text())) if isinstance(node, ast.ImportFrom)] + assert not any(module and ("precision" in module or "compensated" in module + or module.startswith("perovskite_sim")) for module in modules) + + +@pytest.mark.parametrize("component", ["high", "low"]) +def test_precision_field_metadata_cannot_change_owned_state(component): + layout = density_layout(2) + coordinates = RelativeCoordinates(layout, {"n": "log"}) + point = coordinates.initial(StateView(layout, [("n", DoubleArray([1, 2]))])) + value = point.state.field("n") + before = value.identity_bytes() + view = getattr(value, component) + view.shape = (1, 2) + view.dtype = np.int64 + assert value.shape == (2,) + assert getattr(value, component).dtype == np.float64 + assert value.identity_bytes() == before + assert decode_point(encode_point(point), layout).identity == point.identity + + +def test_public_float_history_arrays_own_metadata_as_well_as_bytes(): + from scripts.benchmarks.contract_prototype import AcceptedStep, LinearCoordinates, LinearStorage + layout = density_layout(2) + coordinates = LinearCoordinates(layout) + left = coordinates.point([1, 2], inputs=[0, 1]) + right, increment = coordinates.advance(left, [0.1, -0.1], 1, [1, 2]) + step = AcceptedStep(left, right, increment, [0.1, -0.1], [0.1, -0.1], [0.1, -0.1], [1, 1], + "conservative-be-v1", "continuous", (("inventory_defect", 0.0),), True) + storage = LinearStorage(np.eye(2)) + reads = [lambda: left.y, lambda: left.inputs, lambda: left.state.field("n").values, + lambda: step.derivative, lambda: step.storage_delta, lambda: step.displacement_delta, + lambda: step.input_rate, lambda: storage.matrix] + for read in reads: + original = read().copy() + view = read() + view.shape = (view.size, 1) + view.dtype = np.int64 + assert read().shape == original.shape + assert read().dtype == np.float64 + np.testing.assert_array_equal(read(), original) + + +@pytest.mark.parametrize("value", [[2**53 + 1], ["1.00000000000000000001"]]) +def test_double_constructor_preserves_reused_arithmetic_input_guards(value): + with pytest.raises((TypeError, ValueError)): + DoubleArray(value) + + +@pytest.mark.parametrize("mode,value", [("linear", -1), ("linear", 3), ("log", 3)]) +def test_initial_physical_anchor_must_satisfy_declared_bounds(mode, value): + layout = Layout((Support("cells", "cell", (1,)),), + (VariableSpec("n", "carrier", "cells", (1,), PARTICLE / VOLUME, lower=0, upper=2),), ()) + coordinates = RelativeCoordinates(layout, {"n": mode}) + with pytest.raises(ContractError, match="physical_state_outside_domain"): + coordinates.initial(StateView(layout, [("n", DoubleArray([value]))])) + + +def test_large_log_decrease_retains_positive_endpoint_separately_from_increment(): + layout = density_layout() + coordinates = RelativeCoordinates(layout, {"n": "log"}) + first = coordinates.initial(StateView(layout, [("n", DoubleArray([1]))])) + weak, _ = coordinates.advance(first, [1e-17], 1) + down, increment = coordinates.advance(weak, [-80], 2) + with localcontext() as context: + context.prec = 80 + expected = (Decimal.from_float(1e-17) - Decimal(80)).exp() + result = decimal_words(down.state.field("n")) + assert result > 0 + assert abs(result - expected) / expected < Decimal("1e-28") + back, _ = coordinates.advance(down, [80], 3) + assert abs(decimal_words(back.state.field("n")) - decimal_words(weak.state.field("n"))) < Decimal("1e-28") + # A finite delta near -1 cannot encode a 1e-35 remainder at DD precision; + # it must not replace the separately computed positive endpoint. + assert decimal_words(increment.field("n")) < 0 diff --git a/tests/numerical_contracts/test_primitive_difference.py b/tests/numerical_contracts/test_primitive_difference.py new file mode 100644 index 00000000..c9246c22 --- /dev/null +++ b/tests/numerical_contracts/test_primitive_difference.py @@ -0,0 +1,438 @@ +"""Bounded paired transitions: exact input algebra and saved S0 regression. + +Fraction checks the finite binary inputs independently. The 1e-28 relative +arithmetic diagnostic is inherited from test_temporal_interface; it neither +changes the physical device gates nor certifies a native trajectory. +""" + +from copy import deepcopy +from dataclasses import FrozenInstanceError, replace +from decimal import Decimal, localcontext +from fractions import Fraction +import hashlib +import json +import os +from pathlib import Path +import subprocess +import sys + +import numpy as np +import pytest + +from scripts.benchmarks.contract_prototype import ( + PARTICLE, VOLT, VOLUME, ContractError, Layout, Point, + StateIncrement, StateView, Support, VariableSpec, +) +from scripts.benchmarks.precision_prototype import ( + DoubleArithmetic, DoubleArray, PrimitiveDifference, PrimitiveExpansion, + RelativeCoordinates, decode_point, encode_point, +) + + +ARITHMETIC_RTOL = Fraction(1, 10**28) + + +def rational(value): + return Fraction.from_float(float(value)) + + +def exact_primitive(value): + if isinstance(value, PrimitiveDifference): + return [a-b for a, b in zip(exact_primitive(value.current), + exact_primitive(value.previous), strict=True)] + return [sum((rational(word.ravel()[i]) for word in value.words), Fraction()) + for i in range(value.high.size)] + + +def exact_dd(value): + return [rational(a)+rational(b) for a, b in + zip(value.high.ravel(), value.low.ravel(), strict=True)] + + +def check_words(value, reference, *, exact=False): + represented = exact_dd(value) + errors = [] + for actual, expected in zip(represented, reference, strict=True): + error = abs(actual-expected) + assert (actual == 0) == (expected == 0) + assert (actual > 0) == (expected > 0) + assert error == 0 if exact else error <= abs(expected)*ARITHMETIC_RTOL + errors.append(str(error)) + return {"actual": list(map(str, represented)), "reference": list(map(str, reference)), + "absolute_error": errors, "relative_budget": str(ARITHMETIC_RTOL)} + + +def record_case(request, data): + if target := os.environ.get("PRIMITIVE_CASE_LOG"): + with Path(target).open("a") as stream: + stream.write(json.dumps({"test": request.node.nodeid, "native_steps": 0, + "passed": True, **data}, allow_nan=False)+"\n") + + +def linear_fixture(count=2): + layout = Layout((Support("nodes", "global", (count,)),), ( + VariableSpec("n_m3", "carrier", "nodes", (count,), PARTICLE/VOLUME, lower=0), + VariableSpec("phi_V", "electrostatics", "nodes", (count,), VOLT)), ()) + coordinates = RelativeCoordinates(layout, {v.id: "linear" for v in layout.variables}) + reference = coordinates.initial(StateView(layout, [ + ("n_m3", DoubleArray(np.ones(count))), + ("phi_V", DoubleArray(np.zeros(count)))]), inputs=[0.]) + return coordinates, reference + + +def wide_endpoints(*, sign=1, face_change=True, density=False): + """Each endpoint has <=4 words; its local difference has a fifth word.""" + previous = [np.zeros(4) for _ in range(4)] + current = [np.zeros(4) for _ in range(4)] + selected = slice(0, 2) if density else slice(2, 4) + previous[0][selected] = sign*2.0**-216 + for target, word in zip(current, [1., 2.0**-54, 2.0**-108, 2.0**-162], strict=True): + target[selected] = sign*word + if face_change: + current[3][selected.stop-1] *= 2 + return PrimitiveExpansion(previous), PrimitiveExpansion(current) + + +def test_pair_owns_two_fixed_endpoints_without_nesting_or_projection(): + a, b = wide_endpoints() + pair = PrimitiveDifference(b, a) + identity = pair.identity_bytes() + assert pair.shape == (4,) and pair.immutable_copy() is pair + assert not pair.is_zero() and PrimitiveDifference(a, a).is_zero() + assert exact_primitive(pair.take_flat([3, 2])) == exact_primitive(pair)[3:1:-1] + assert len(pair.current.words)+len(pair.previous.words) == 8 + view = pair.current.words[0] + view.shape = (2, 2) + view.dtype = np.int64 + assert pair.shape == (4,) and pair.identity_bytes() == identity + with pytest.raises(ValueError): + pair.current.words[0].setflags(write=True) + with pytest.raises(FrozenInstanceError): + pair.current = a + with pytest.raises(ContractError, match="requires_two_endpoints"): + PrimitiveDifference(pair, a) + with pytest.raises(ContractError, match="requires_two_endpoints"): + PrimitiveDifference(a, b.take_flat([0])) + with pytest.raises(ContractError, match="index_outside_support"): + pair.take_flat([-1]) + with pytest.raises(ContractError): + pair.take_flat([0.5]) + with pytest.raises(TypeError, match="projection"): + np.asarray(pair) + with pytest.raises(TypeError, match="projection"): + float(pair) + + +@pytest.mark.parametrize("sign", [-1, 1]) +@pytest.mark.parametrize("face_change", [False, True]) +def test_paired_face_and_activity_contract_all_words_before_projection(sign, face_change, request): + coordinates, root = linear_fixture() + before, after = wide_endpoints(sign=sign, face_change=face_change) + left, _ = coordinates.trial(root, before, 1., [0.]) + with pytest.raises(ContractError, match="primitive_expansion_capacity_exceeded"): + coordinates.trial(root, after, 2., [0.], predecessor=left, + transition_representation="four-word-v1") + right, increment = coordinates.trial(root, after, 2., [0.], predecessor=left) + exact_delta = [b-a for a, b in zip(exact_primitive(before), exact_primitive(after), strict=True)] + expected_face = exact_delta[3]-exact_delta[2] + arithmetic, vt = DoubleArithmetic(), 0.025851999786435535 + checks = [] + for first, last in ((left, right), + (decode_point(encode_point(left), root.state.layout), + decode_point(encode_point(right), root.state.layout))): + change = StateIncrement.from_points(first, last) + checks.append(check_words(change.face_delta(first, last, "phi_V", [[0, 1]], + arithmetic=arithmetic), [expected_face], exact=True)) + checks.append(check_words(change.electrochemical_delta( + first, last, "n_m3", "phi_V", [[0, 1]], vt, + potential_sign=-1, arithmetic=arithmetic), [-expected_face/rational(vt)])) + check_words(change.log_ratio(first, last, "n_m3"), [Fraction(), Fraction()], exact=True) + check_words(change.field("phi_V"), exact_delta[2:]) + assert all(type(v) is PrimitiveDifference for v in last.state.authority.local_primitives.values()) + assert right.state.authority.payload()["schema"] == "solarlab.state-authority.v5" + increment.validate(left, right) + record_case(request, {"family": "paired_temporal_contraction", "checks": checks, + "source_word_count_per_operand": 4, "operand_count": 2}) + + +def test_paired_affine_density_log_has_independent_decimal_reference(request): + coordinates, root = linear_fixture() + before, after = wide_endpoints(density=True) + left, _ = coordinates.trial(root, before, 1., [0.]) + right, increment = coordinates.trial(root, after, 2., [0.], predecessor=left) + reference = [] + with localcontext() as context: + context.prec = 180 + decimal = lambda x: Decimal(x.numerator)/Decimal(x.denominator) + old = [Fraction(1)+v for v in exact_primitive(before)[:2]] + new = [Fraction(1)+v for v in exact_primitive(after)[:2]] + reference = [(decimal(b)/decimal(a)).ln() for a, b in zip(old, new, strict=True)] + actual = exact_dd(increment.log_ratio(left, right, "n_m3")) + for got, expected in zip(actual, reference, strict=True): + assert abs(decimal(got)-expected) <= abs(expected)*Decimal("1e-28") + expected_face = reference[1]-reference[0] + face = increment.electrochemical_delta(left, right, "n_m3", "phi_V", [[0, 1]], + 0.025, potential_sign=-1, arithmetic=DoubleArithmetic()) + assert expected_face > 0 + assert abs(decimal(exact_dd(face)[0])-expected_face) <= abs(expected_face)*Decimal("1e-28") + record_case(request, {"family": "paired_affine_temporal_log", "Decimal_precision": 180, + "reference": list(map(str, reference)), "actual": list(map(str, actual)), + "face_reference": str(expected_face), "face_actual": str(exact_dd(face)[0])}) + + +@pytest.mark.parametrize("policy,schema", [("four-word-v1", "v4"), ("paired-endpoints-v1", "v5")]) +def test_versioned_trial_and_old_local_codec_roundtrip(policy, schema): + coordinates, root = linear_fixture() + old_local, _ = coordinates.advance(root, [0., 0., 0.1, 0.2], 1., [0.]) + assert old_local.state.authority.payload()["schema"] == "solarlab.state-authority.v3" + assert encode_point(decode_point(encode_point(old_local), root.state.layout)) == encode_point(old_local) + trial, _ = coordinates.trial(root, [0., 0., 0.1, 0.2], 1., [0.], transition_representation=policy) + encoded = encode_point(trial) + assert encoded["payload"]["authority"]["schema"] == "solarlab.state-authority."+schema + assert encode_point(decode_point(json.loads(json.dumps(encoded)), root.state.layout)) == encoded + with pytest.raises(ContractError, match="unknown_affine_transition_representation"): + coordinates.trial(root, [0., 0., 0., 0.], 2., [0.], transition_representation="guess") + + +def resign(record): + record["sha256"] = hashlib.sha256(json.dumps(record["payload"], sort_keys=True, + separators=(",", ":"), allow_nan=False).encode()).hexdigest() + return record + + +@pytest.mark.parametrize("mutation", ["current", "previous", "shape", "nested", "policy", "schema", "missing_transition"]) +def test_paired_codec_rejects_forgery_with_fresh_outer_digest(mutation): + coordinates, root = linear_fixture() + left, _ = coordinates.trial(root, [0., 0., 0.1, 0.2], 1., [0.]) + right, _ = coordinates.trial(root, [0., 0., 0.3, 0.4], 2., [0.], predecessor=left) + data = deepcopy(encode_point(right)) + authority = data["payload"]["authority"] + local = authority["transition"]["local_primitives"]["phi_V"] + if mutation in {"current", "previous"}: + local[mutation]["words"][0][0] = (0.5).hex() + elif mutation == "shape": + local["shape"] = [1, 2] + elif mutation == "nested": + local["current"] = deepcopy(local) + elif mutation == "policy": + authority["composition_policy"] = "exact-four-word-primitives-v1" + elif mutation == "schema": + authority["schema"] = "solarlab.state-authority.v4" + else: + authority["transition"] = None + with pytest.raises(ContractError): + decode_point(resign(data), root.state.layout) + + +def test_pair_checks_predecessor_words_and_forbids_mixed_local_modes(): + coordinates, root = linear_fixture() + left, _ = coordinates.trial(root, [0., 0., 0.1, 0.2], 1., [0.]) + right, _ = coordinates.trial(root, [0., 0., 0.3, 0.4], 2., [0.], predecessor=left) + authority = right.state.authority + old = dict(authority.previous_primitives) + old["phi_V"] = PrimitiveExpansion.from_value([0.2, 0.3]) + paired = {k: PrimitiveDifference(authority.primitives[k], old[k]) for k in old} + forged = replace(authority, previous_primitives=old, local_primitives=paired) + point = Point(right.time, right.y, right.inputs, StateView(root.state.layout, authority=forged), + right.coordinate_reference) + with pytest.raises(ContractError, match="increment_transition_primitive_mismatch"): + StateIncrement.from_points(left, point) + with pytest.raises(ContractError, match="paired_transition_requires_affine_endpoints"): + replace(authority, local_primitives={**paired, "n_m3": PrimitiveExpansion.from_value([0., 0.])}) + + +@pytest.mark.parametrize("policy", [None, "four-word-v1", "paired-endpoints-v1"]) +def test_empty_fixed_reference_keeps_original_v4_bytes(policy): + layout = Layout((), (), ()) + coordinates = RelativeCoordinates(layout, {}) + root = coordinates.initial(StateView(layout, ()), inputs=[2.]) + kwargs = {} if policy is None else {"transition_representation": policy} + point, increment = coordinates.trial(root, [], 1., [3.], **kwargs) + golden_path = os.environ.get( + "EMPTY_LEGACY_CODEC", + Path(__file__).resolve().parents[1] / "fixtures/refactor/EmptyStateV4.json", + ) + golden = json.loads(Path(golden_path).read_text()) + assert encode_point(root) == golden["reference"] + assert encode_point(point) == golden["point"] + assert point.state.authority.payload()["schema"] == "solarlab.state-authority.v4" + assert encode_point(decode_point(golden["point"], layout)) == golden["point"] + increment.validate(root, point) + bad = deepcopy(golden["point"]) + bad["payload"]["authority"].update(schema="solarlab.state-authority.v5", + composition_policy="four-word-endpoints-paired-transition-v1") + with pytest.raises(ContractError, match="precision_codec_empty_paired_transition"): + decode_point(resign(bad), layout) + + +@pytest.fixture(scope="module") +def saved_s0_pair(): + """Restore original public records only; never initialize a time integrator.""" + from scripts.benchmarks.coupled_device_prototype import ( + AffineCoupledSlab, AffineVoltageMap, ProtocolSegment, SlabDefinition, VoltageLiftHistory, + ) + source = os.environ.get("SAVED_PRIMITIVE_WITNESS") + if source is None: + pytest.skip("source-bound archived S0 witness not supplied") + witness = json.loads(Path(source).read_text()) + for record in witness["extracted"].values(): + assert hashlib.sha256(Path(record["path"]).read_bytes()).hexdigest() == record["sha256"] + data = lambda name: json.loads(Path(witness["extracted"][name]["path"]).read_text()) + native_request, failed, reference_record = (data(name) for name in + ("NativeRequest.json", "SavedFailure.json", "Reference.json")) + definition = SlabDefinition(**native_request["numeric_packet"]["definition"]) + assert hashlib.sha256(Path(definition.source_path).read_bytes()).hexdigest() == definition.source_sha256 + model = AffineCoupledSlab(definition, 8) + mapping, previous = AffineVoltageMap(model), model.reference + history = VoltageLiftHistory(mapping) + # The source hash is part of the model/map identity. A changed source must + # not impersonate the archived model, even when the physical map is equal. + assert history.reference_record != reference_record["reference"] + assert history.reference_record["physical_reference"] == reference_record["reference"]["physical_reference"] + for name in ("columns_hex", "rows_hex", "lift_hex", "reference_inputs_hex"): + assert mapping.payload()[name] == reference_record["reference"]["map"][name] + raw_lines = Path(witness["extracted"]["AncestorRecords.jsonl"]["path"]).read_text().splitlines() + # An isolated original-source reader emits only public codec records. It + # performs no native initialization, solve, or hidden-history inference. + if existing := os.environ.get("SAVED_PRIMITIVE_POINTS"): + replay = json.loads(Path(existing).read_text()) + else: + replayer = Path(os.environ["SAVED_PRIMITIVE_REPLAYER"]) + completed = subprocess.run([sys.executable, "-B", str(replayer)], capture_output=True, text=True, + timeout=20, check=False) + assert completed.returncode == 0, completed.stdout+completed.stderr + replay = json.loads((replayer.parent/"HistoricalPointsV1.json").read_text()) + assert len(replay["points"]) == len(raw_lines) + identities = [] + for line, encoded in zip(raw_lines, replay["points"], strict=True): + sample = json.loads(line)["history"] + assert sample["schema"] == "solarlab.voltage-lift-sample.v1" + previous = decode_point(encoded, model.layout) + assert previous.identity == sample["point_identity"] + assert encode_point(previous) == encoded + identities.append(previous.identity) + assert len(identities) == witness["exact_raw_ancestor_records"] == 28 + assert previous.identity == witness["actual_sampling_predecessor"]["point_identity"] + with pytest.raises(ContractError, match="voltage_lift_history_binding_mismatch"): + history.restore(reference_record["reference"], json.loads(raw_lines[0])["history"], model.reference) + # A same-source legacy record still roundtrips, without relabeling any of + # the original archive records as current-source records. + first = json.loads(raw_lines[0])["history"] + point, _, _, legacy = history.build_sample( + [float.fromhex(v) for v in first["raw_solver_z_hex"]], float.fromhex(first["time_hex"]), + [float.fromhex(v) for v in first["inputs_hex"]], model.reference, + [float.fromhex(v) for v in first["raw_solver_zdot_hex"]], + [float.fromhex(v) for v in first["input_rates_hex"]], origin="algebraic_probe", + transition_representation="four-word-v1") + assert history.restore(history.reference_record, legacy, model.reference)[0].identity == point.identity + segment = next(ProtocolSegment(**s) for s in native_request["segments"] if s["id"] == failed["segment_id"]) + when = float.fromhex(failed["time_hex"]) + inputs, input_rate = segment.inputs(when) + raw, raw_rate = (np.array([float.fromhex(v) for v in failed[key]]) for key in ("z_hex", "zdot_hex")) + return model, mapping, history, previous, raw, raw_rate, when, inputs, input_rate, identities, native_request + + +def test_saved_s0_legacy_rejection_and_paired_public_history(saved_s0_pair, request): + model, mapping, history, previous, raw, raw_rate, when, inputs, adot, identities, native_request = saved_s0_pair + old_bytes = encode_point(previous) + with pytest.raises(ContractError, match="primitive_expansion_capacity_exceeded"): + history.build_sample(raw, when, inputs, previous, raw_rate, adot, origin="native", + transition_representation="four-word-v1") + point, increment, rate, record = history.build_sample(raw, when, inputs, previous, raw_rate, adot, origin="native") + assert record["schema"] == "solarlab.voltage-lift-sample.v2" + restored, change, restored_rate, restored_adot = history.restore(history.reference_record, record, previous) + assert restored.identity == point.identity and exact_primitive(restored_rate) == exact_primitive(rate) + assert np.array_equal(restored_adot, adot) and encode_point(previous) == old_bytes + assert record["raw_solver_z_hex"] == [float(v).hex() for v in raw] + exact_map = [rational(mapping.columns[i])*rational(raw[i])+sum( + (rational(mapping.lift[i, j])*(rational(inputs[j])-rational(mapping.reference_inputs[j])) for j in range(2)), + Fraction()) for i in range(model.layout.size)] + assert exact_primitive(mapping.physical_primitive(raw, inputs)) == exact_map + changes = [] + for spec in model.layout.variables: + pair = point.state.authority.local_primitives[spec.id] + assert type(pair) is PrimitiveDifference + expected = [a-b for a, b in zip(exact_primitive(pair.current), exact_primitive(pair.previous), strict=True)] + changes.append({"field": spec.id, **check_words(increment.field(spec.id), expected)}) + assert exact_dd(increment.field(spec.id)) == exact_dd(change.field(spec.id)) + for mutation in ("schema", "transition_representation", "raw_solver_z_hex"): + damaged = deepcopy(record) + if mutation == "schema": + damaged[mutation] = "solarlab.voltage-lift-sample.v1" + elif mutation == "transition_representation": + damaged[mutation] = "four-word-v1" + else: + damaged[mutation][19] = float(np.nextafter(raw[19], np.inf)).hex() + with pytest.raises(ContractError): + history.restore(history.reference_record, damaged, previous) + record_case(request, {"family": "saved_S0_paired_history", "ancestor_point_identities": identities, + "new_point_identity": point.identity, "record_sha256": hashlib.sha256( + json.dumps(record, sort_keys=True, separators=(",", ":")).encode()).hexdigest(), + "changes": changes, "failed_saved_time_hex": float(when).hex(), + "full_protocol_s": native_request["segments"][-1]["end"], + "original_records_unchanged": True, "full_protocol_passed": False}) + + +def test_saved_s0_temporal_physical_consumers(saved_s0_pair, request): + from perovskite_sim.constants import Q + model, mapping, history, previous, raw, raw_rate, when, inputs, adot, _, original_request = saved_s0_pair + point, increment, _, _ = history.build_sample(raw, when, inputs, previous, raw_rate, adot, origin="native") + changes = model.finite_physical_changes(previous, point, increment) + delta = {v.id: exact_primitive(point.state.authority.local_primitives[v.id]) for v in model.layout.variables} + dn, dp, dphi = (delta[name] for name in ("n_m3", "p_m3", "phi_V")) + rho = [rational(Q)*(p-n) for n, p in zip(dn, dp, strict=True)] + displacement = [-rational(model.definition.epsilon)*(dphi[i+1]-dphi[i])/rational(model.dx[i]) + for i in range(model.count-1)] + volume = list(map(rational, model.geometry.volumes)) + area = rational(model.definition.area) + metal = [area*displacement[0]-volume[0]*rho[0], -area*displacement[-1]-volume[-1]*rho[-1]] + body = [sum((v*r for v, r in zip(volume, rho, strict=True)), Fraction())] + def measure(value, expected): + actual = exact_dd(value) + errors = [abs(a-b) for a, b in zip(actual, expected, strict=True)] + passed = all((a == 0) == (b == 0) and (a > 0) == (b > 0) + and error <= abs(b)*ARITHMETIC_RTOL + for a, b, error in zip(actual, expected, errors, strict=True)) + return {"high_hex": [float(v).hex() for v in value.high.ravel()], + "low_hex": [float(v).hex() for v in value.low.ravel()], + "actual": list(map(str, actual)), "reference": list(map(str, expected)), + "absolute_error": list(map(str, errors)), + "relative_error": [str(error/abs(b)) if b else None for b, error in zip(expected, errors, strict=True)], + "relative_diagnostic_budget": str(ARITHMETIC_RTOL), "passed": passed} + + evidence = {name: measure(changes[name], expected) for name, expected in ( + ("charge_density_C_m3", rho), ("displacement_C_m2", displacement), + ("metal_charge_C", metal), ("body_charge_C", body))} + # Interior carrier inventories use Geometry.volumes, which already include area. + expected_storage = [volume[i]*d[i] for d in (dn, dp) for i in range(1, model.count-1)] + evidence["storage"] = measure(changes["storage"], expected_storage) + for spec in model.layout.variables: + fraction = [sum((rational(x) for x in (model.reference.state.field(spec.id).high[i], + model.reference.state.field(spec.id).low[i])), Fraction()) + +v for i, v in enumerate(exact_primitive(point.state.authority.primitives[spec.id]))] + evidence["endpoint_"+spec.id] = measure(point.state.field(spec.id), fraction) + projected_n, projected_p = (exact_dd(increment.field(name)) for name in ("n_m3", "p_m3")) + after_delta = sum((rational(Q)*v*(p-n) for v, n, p in + zip(volume, projected_n, projected_p, strict=True)), Fraction()) + after_rho = sum((v*r for v, r in zip(volume, exact_dd(changes["charge_density_C_m3"]), strict=True)), Fraction()) + actual_body = exact_dd(changes["body_charge_C"])[0] + parts = {"local_density_DD_projection_C": after_delta-body[0], + "nodal_charge_arithmetic_C": after_rho-after_delta, + "weighted_product_and_sum_C": actual_body-after_rho} + assert sum(parts.values(), Fraction()) == actual_body-body[0] + total_variation = sum((abs(v*r) for v, r in zip(volume, rho, strict=True)), Fraction()) + physical_budget = rational(original_request["budgets"]["charge_C"]) + passed = all(v["passed"] for v in evidence.values()) + assert "sksundae" not in sys.modules + record_case(request, {"family": "saved_S0_physical_consumers", "evidence": evidence, + "point_identity": point.identity, "native_acceptance_awarded": False, + "body_error_partition": {k: str(v) for k, v in parts.items()}, + "body_sum_absolute_constituents_C": str(total_variation), + "body_cancellation_condition": str(total_variation/abs(body[0])), + "original_physical_charge_budget_C": str(physical_budget), + "single_sample_body_error_to_original_budget": str(abs(actual_body-body[0])/physical_budget), + "physical_budget_comparison_is_not_native_qualification": True, + "passed": passed}) + # Retain the original strict relative diagnostic. In particular, logging + # a small absolute error must not silently turn its failed assertion green. + assert passed, {name: v for name, v in evidence.items() if not v["passed"]} diff --git a/tests/numerical_contracts/test_public_interface.py b/tests/numerical_contracts/test_public_interface.py new file mode 100644 index 00000000..c8a061bd --- /dev/null +++ b/tests/numerical_contracts/test_public_interface.py @@ -0,0 +1,274 @@ +"""Independent small-polynomial and exact-word public interface controls. + +No native solver is used. The polynomial reference is separate from callback +assembly, and the DD checks compare exact represented binary rational inputs. +""" + +from dataclasses import replace +from decimal import Decimal, localcontext +from hashlib import sha256 + +import numpy as np +import pytest + +from scripts.benchmarks.contract_prototype import ( + AREA, COULOMB, ONE, SECOND, BalanceTerms, ContractError, EquationSpec, + ImplicitSystem, Layout, LinearCoordinates, PhysicalScaling, PhysicalStorage, + SparseLinearization, SparseStructure, StateView, StoragePartials, Support, + TerminalPort, ValidatedProblem, VariableSpec, +) +from scripts.benchmarks.precision_prototype import ( + DD, DoubleArithmetic, DoubleArray, RelativeCoordinates, +) +from scripts.benchmarks.sparse_prototype import SparseGraph, TermSupport + + +def polynomial_problem(): + """Q=x²+a*x+t², R=3*x+2*a+t, g=z-a*x-t, in named SI units.""" + layout = Layout( + (Support("node", "global", (1,)),), + (VariableSpec("x", "polynomial", "node", (1,), ONE), + VariableSpec("z", "constraint", "node", (1,), ONE, role="constraint")), + (EquationSpec("balance", "polynomial", "node", (1,), ONE / SECOND, + derivative_support=("x", "z")), + EquationSpec("constraint", "constraint", "node", (1,), ONE, role="constraint", + derivative_support=("x", "z"))), + ) + terms = tuple(TermSupport(f"{eq.id}:{var.id}", eq.owner, eq.id, var.id, + np.array([[0, 0]]), unit=eq.unit / var.unit) + for eq in layout.equations for var in layout.variables) + graph = SparseGraph(layout, terms, topology_identity="full-polynomial-union-v1") + structure = SparseStructure.from_graph(graph) + source = sha256(b"independent-polynomial-callbacks-v1").hexdigest() + coordinates = LinearCoordinates(layout) + calls = {name: 0 for name in ("values", "linearize", "storage", "delta", "conservative")} + + def storage_value(point): + calls["storage"] += 1 + x, a, t = point.y[0], point.inputs[0], point.time + return np.array([x*x+a*x+t*t]) + + def storage_delta(left, right, increment): + calls["delta"] += 1 + dx = increment.field("x").values[0] + da, dt = right.inputs[0]-left.inputs[0], right.time-left.time + return np.array([(right.y[0]+left.y[0]+right.inputs[0])*dx + + left.y[0]*da + (right.time+left.time)*dt]) + + def residual(point, ydot, adot): + calls["values"] += 1 + x, z = point.y + a, t, dx, da = point.inputs[0], point.time, ydot[0], adot[0] + return np.array([(2*x+a)*dx+x*da+2*t-(3*x+2*a+t), z-a*x-t]) + + def linearize(point, ydot, adot): + calls["linearize"] += 1 + x, a, dx, da = point.y[0], point.inputs[0], ydot[0], adot[0] + return SparseLinearization(structure.filled([2*dx+da-3, -a, 0, 1]), + structure.filled([2*x+a, 0, 0, 0]), + np.array([[dx-2], [-x]]), np.array([[x], [0]]), + np.array([1, -1]), structure, source) + + def conservative(left, right, increment): + calls["conservative"] += 1 + x, z = right.y + a, t, h = right.inputs[0], right.time, right.time-left.time + return np.r_[storage_delta(left, right, increment)-h*(3*x+2*a+t), z-a*x-t] + + def conservative_jacobian(left, right): + x, a, h = right.y[0], right.inputs[0], right.time-left.time + return structure.filled([2*x+a-3*h, -a, 0, 1]) + + storage = PhysicalStorage(storage_value, storage_delta, (ONE,), source) + problem = ValidatedProblem(layout, 1, 1, storage, structure, source, residual, + linearize, conservative, conservative_jacobian) + return coordinates, problem, calls + + +def test_sparse_residual_requests_no_storage_derivatives_or_linearization(): + coordinates, problem, calls = polynomial_problem() + point = coordinates.point([2, 5], 0.25, [0.5]) + for _ in range(4): + np.testing.assert_array_equal(problem.residual(point, np.array([0.5, -1]), np.array([2.])), + [-0.5, 3.75]) + assert calls == {"values": 4, "linearize": 0, "storage": 0, "delta": 0, "conservative": 0} + + +@pytest.mark.parametrize("cj", [0, -1, 0.25, 100]) +def test_sparse_complete_chain_rule_against_independent_decimal_polynomial(cj): + coordinates, problem, _ = polynomial_problem() + point = coordinates.point([2, 5], 0.25, [0.5]) + lin = problem.linearize(point, np.array([0.5, -1]), np.array([2.])) + np.testing.assert_array_equal(lin.y.toarray(), [[0, 0], [-0.5, 1]]) + np.testing.assert_array_equal(lin.ydot.toarray(), [[4.5, 0], [0, 0]]) + np.testing.assert_array_equal(lin.inputs, [[-1.5], [-2]]) + np.testing.assert_array_equal(lin.input_rate, [[2], [0]]) + np.testing.assert_array_equal(lin.time, [1, -1]) + # Expand the polynomial at exact rational inputs and joint perturbations. + with localcontext() as context: + context.prec = 80 + h = Decimal("0.0001") + def reference(e): + x, z, a, t = 2+e, 5-2*e, Decimal("0.5")+3*e, Decimal("0.25")+4*e + dx, da = Decimal("0.5")+5*e, 2+6*e + return [(2*x+a)*dx+x*da+t-3*x-2*a, z-a*x-t] + finite = [(p-m)/(2*h) for p, m in zip(reference(h), reference(-h))] + assembled = (lin.y @ [1, -2] + lin.ydot @ [5, 0] + lin.inputs[:, 0]*3 + + lin.input_rate[:, 0]*6 + lin.time*4) + np.testing.assert_array_equal(assembled, [float(v) for v in finite]) + matrix = lin.ida_matrix(cj) + assert matrix.nnz == 4 # Retain all named slots, including structural zeros. + np.testing.assert_array_equal(matrix.toarray(), [[4.5*cj, 0], [-0.5, 1]]) + + +def test_sparse_finite_storage_and_unmultiplied_constraint_rows(): + coordinates, problem, _ = polynomial_problem() + left = coordinates.point([2, 5], 0.25, [0.5]) + right, increment = coordinates.advance(left, [0.5, -1], 0.75, [1]) + np.testing.assert_array_equal(problem.storage.value(right), [9.3125]) + np.testing.assert_array_equal(problem.storage.delta(left, right, increment), [4.25]) + np.testing.assert_array_equal(problem.conservative_residual(left, right, increment), [-0.875, 0.75]) + np.testing.assert_array_equal(problem.conservative_jacobian(left, right).toarray(), [[4.5, 0], [-1, 1]]) + + +def test_sparse_sources_shapes_finite_values_and_structural_slots_fail_closed(): + coordinates, problem, _ = polynomial_problem() + point = coordinates.point([2, 5], 0.25, [0.5]) + rate, adot = np.zeros(2), np.zeros(1) + for value in (np.zeros(1), np.zeros((2, 1)), np.array([np.nan, 0])): + with pytest.raises(ContractError): + replace(problem, residual_values=lambda *args: value).residual(point, rate, adot) + with pytest.raises(ContractError, match="problem_source_mismatch"): + replace(problem, source_identity="wrong") + with pytest.raises(ContractError, match="storage_unit_mismatch"): + replace(problem, storage=replace(problem.storage, units=(COULOMB,))) + with pytest.raises(ContractError, match="problem_equation_order_mismatch"): + replace(problem, storage_count=2) + with pytest.raises(ContractError, match="rate_shape_mismatch"): + problem.residual(point, np.zeros(1), adot) + lin = problem.linearize(point, rate, adot) + with pytest.raises(ContractError, match="linearization_source_or_structure_mismatch"): + replace(problem, analytic_linearization=lambda *args: replace(lin, source_identity="other")).linearize(point, rate, adot) + pruned = lin.ydot + pruned.eliminate_zeros() + with pytest.raises(ContractError, match="structural_recompile_required"): + replace(lin, ydot=pruned) + with pytest.raises(ContractError, match="sparse_matrix_shape_or_format"): + replace(lin, y=np.zeros((2, 2))) + with pytest.raises(ContractError, match="equation_derivative_shape_mismatch"): + replace(lin, input_rate=np.zeros((2, 2))) + with pytest.raises(ContractError, match="nonfinite_cj"): + lin.ida_matrix(np.nan) + + +def test_sparse_metadata_and_values_are_owned_and_rectangular_storage_is_supported(): + coordinates, problem, _ = polynomial_problem() + point = coordinates.point([1, 2], inputs=[0]) + lin = problem.linearize(point, np.zeros(2), np.zeros(1)) + matrix = lin.y + matrix.data[:] = 999 + np.testing.assert_array_equal(lin.y.toarray(), [[-3, 0], [0, 1]]) + indices = problem.structure.indices + indices.shape = (2, 2) + assert problem.structure.indices.shape == (4,) + rectangular = SparseStructure((1, 2), [0], [0, 1, 1], "Qy-declared", problem.layout.identity) + assert rectangular.filled([2]).shape == (1, 2) + for indices, indptr in (([0.5], [0, 1]), ([0, 0], [0, 2]), ([2], [0, 1])): + with pytest.raises(ContractError): + SparseStructure((2, 1), indices, indptr, "invalid", problem.layout.identity) + + +def exact_words(value): + return [Decimal.from_float(float(h))+Decimal.from_float(float(l)) + for h, l in zip(value.high.ravel(), value.low.ravel())] + + +def dd_system(): + layout = Layout((Support("cell", "global", (1,)),), + (VariableSpec("n", "carrier", "cell", (1,), ONE, lower=0),), + (EquationSpec("balance", "carrier", "cell", (1,), ONE / SECOND, + derivative_support=("n",)),)) + coordinates = RelativeCoordinates(layout, {"n": "log"}) + point = coordinates.initial(StateView(layout, [("n", DoubleArray([1e22], [1e5]))])) + a = DoubleArithmetic() + + class Storage: + def value(self, p): + return p.state.field("n") + + def delta(self, left, right, increment): + increment.validate(left, right) + return increment.field("n") + + def first(self, p): + q = self.value(p).as_dd() + return StoragePartials(DoubleArray.from_dd(q.reshape(1, 1)), DoubleArray(np.zeros((1, 0))), + DoubleArray([0])) + + def rate_jvp(self, p, ydot, adot, dy, da, dt): + return DoubleArray.from_dd(self.value(p).as_dd() * ydot[0] * dy[0]) + + def terms(p): + rate = DD([1e22]) * (p.state.field("n").as_dd()/DD([1e22], [1e5])) + return BalanceTerms(DoubleArray.from_dd(rate), DoubleArray([]), + DoubleArray.from_dd(rate.reshape(1, 1)), DoubleArray(np.zeros((1, 0))), + DoubleArray([0]), DoubleArray(np.zeros((0, 1))), + DoubleArray(np.zeros((0, 0))), DoubleArray([])) + + return coordinates, point, ImplicitSystem(Storage(), terms, a), a + + +def test_dd_residual_jacobian_ports_and_scaling_retain_low_words_before_cancellation(): + coordinates, point, system, a = dd_system() + with localcontext() as context: + context.prec = 80 + residual = system.residual(point, np.ones(1), np.empty(0)) + assert exact_words(residual) == [Decimal(100000)] + linearization = system.linearize(point, np.ones(1), np.empty(0)) + assert exact_words(linearization.y) == [Decimal(100000)] + assert exact_words(linearization.ida_matrix(1)) == [Decimal(10**22+200000)] + port = TerminalPort("left", -1, 2) + assert exact_words(port.current(system.storage.value(point), DoubleArray([-1e22]), arithmetic=a)) == [Decimal(200000)] + assert exact_words(port.charge(DoubleArray([1], [1e-17]), arithmetic=a)) == [Decimal(2)+2*Decimal.from_float(1e-17)] + scaling = PhysicalScaling([2], [4]) + assert exact_words(scaling.residual(system.storage.value(point), arithmetic=a)) == [Decimal(5*10**21+50000)] + assert exact_words(scaling.jacobian(linearization.ida_matrix(1), arithmetic=a)) == [Decimal(2*10**22+400000)] + right, increment = coordinates.advance(point, [1e-17], 1) + qdelta = system.storage.delta(point, right, increment) + expected = (Decimal(10**22+100000) * Decimal.from_float(1e-17).exp() + - Decimal(10**22+100000)) + assert abs(exact_words(qdelta)[0]-expected) < Decimal("1e-20") + result = system.conservative_residual(point, right, increment) + assert isinstance(result, DoubleArray) + assert exact_words(result)[0] == exact_words(DoubleArray.from_dd(qdelta.as_dd()-system.terms(right).rate.as_dd()))[0] + for value in (residual, linearization.y, qdelta, result): + with pytest.raises(TypeError, match="implicit precision rounding"): + np.asarray(value) + + +def test_dd_paths_are_explicit_and_port_unit_shape_failures_remain_failures(): + _, point, system, a = dd_system() + with pytest.raises(TypeError, match="implicit precision rounding"): + replace(system, arithmetic=None).residual(point, np.ones(1), np.empty(0)) + port = TerminalPort("left", -1, 1) + with pytest.raises(TypeError, match="implicit precision rounding"): + port.current(DoubleArray([1]), DoubleArray([0])) + with pytest.raises(ContractError, match="port_shape_mismatch"): + port.current(DoubleArray([1]), DoubleArray([0, 0]), arithmetic=a) + with pytest.raises(ContractError, match="port_unit_mismatch"): + port.charge(DoubleArray([1]), arithmetic=a, unit=COULOMB) + with pytest.raises(ContractError, match="port_unit_mismatch"): + port.current([1], [1], displacement_rate_unit=COULOMB / AREA) + with pytest.raises(ContractError, match="invalid_solver_scale"): + PhysicalScaling([0], [1]) + with pytest.raises(ContractError, match="scale_shape_mismatch"): + PhysicalScaling([1], [1]).jacobian(DoubleArray([1]), arithmetic=a) + + +def test_sparse_scaling_keeps_zero_slots_and_valid_float_port_behavior(): + _, problem, _ = polynomial_problem() + matrix = problem.structure.filled([2, 0, 0, 4]) + result = PhysicalScaling([2, 4], [3, 5]).jacobian(matrix) + assert result.nnz == 4 + np.testing.assert_array_equal(result.toarray(), [[3, 0], [0, 5]]) + np.testing.assert_array_equal(TerminalPort("right", 1, 2).current([3, 4], [1, 2]), [-8, -12]) diff --git a/tests/numerical_contracts/test_qualification_bridge.py b/tests/numerical_contracts/test_qualification_bridge.py new file mode 100644 index 00000000..5fdfb097 --- /dev/null +++ b/tests/numerical_contracts/test_qualification_bridge.py @@ -0,0 +1,760 @@ +"""Metadata-only P02 tests; every numeric packet here is a synthetic layout.""" +import copy +from fractions import Fraction +import json +import math +from pathlib import Path +import unittest + +from scripts.benchmarks import qualification_policy as q + +FIXTURES = Path(__file__).with_name("fixtures") +ORIGINS = json.loads((FIXTURES / "qualification_origins.json").read_text()) +GRIDS = json.loads((FIXTURES / "qualification_grids.json").read_text()) + + +def packet(policy): + """A unit fixture, not a constructed or solved physical device.""" + variables, rows = q.layout_offsets(policy) + definition = policy["origin"]["definition"] + x = GRIDS[str(policy["intervals"])]["x_m"] + edges = [0.0] + [(a+b)/2 for a, b in zip(x[:-1], x[1:])] + [definition["length"]] + scales = [None]*policy["coordinates"] + for name, (lo, hi) in variables.items(): + scales[lo:hi] = [float.fromhex(policy["origin"]["field_denominator_ceilings"][name]["scale_hex"])]*(hi-lo) + return {"definition": definition, "intervals": policy["intervals"], "nodes": policy["nodes"], + "variable_offsets": variables, "equation_offsets": rows, "x_m": x, + "cell_edges_m": edges, "volumes_m3": [definition["area"]*(b-a) for a, b in zip(edges[:-1], edges[1:])], + "face_areas_m2": [definition["area"]]*policy["intervals"], + "column_scaling": scales, "row_scaling": [1.0]*policy["coordinates"]} + + +class QualificationMetadataTests(unittest.TestCase): + def test_all_original_fourteen_axes_retain_current_denominator_origin(self): + cases = json.loads((FIXTURES / "qualification_cases.json").read_text()) + self.assertEqual(len(cases), 14) + for case in cases: + with self.subTest(case=case["id"]): + policy = q.make_policy(ORIGINS[case["label"]], case["intervals"], case["axis"]) + self.assertEqual(policy["coordinates"], case["expected_coordinate_count"]) + self.assertEqual(policy["plan_basis"], {"rtol": case["basis_rtol"], "component_atol": case["basis_component_atol"]}) + self.assertEqual(policy["max_step"], case["max_step_s"]) + fixture = packet(policy) + controls = q.raw_controls(policy, fixture) + factor = Fraction(*policy["tolerance_factor"])*policy["pre_time_multiplier"] + self.assertLessEqual(Fraction(controls["rtol"]), Fraction(float.fromhex(policy["origin"]["applied_rtol_hex"]))*factor) + self.assertNotEqual(controls["rtol"], case["basis_rtol"]) + for name, (lo, hi) in fixture["variable_offsets"].items(): + ceiling = Fraction(policy["origin"]["field_denominator_ceilings"][name]["applied_atol_SI_exact"])*factor + for index in range(lo, hi): + self.assertLessEqual(Fraction(controls["atol"][index])*Fraction(fixture["column_scaling"][index]), ceiling) + self.assertFalse(policy["native_execution_authorized"]) + + def test_no_arbitrary_mesh_axis_or_n8_reinterpretation(self): + for mesh, axis in [(8, "base"), (128, "base"), (17, "base"), (True, "base"), + (32, "base"), (16, "mesh32"), (64, "joint_finest"), (16, None)]: + with self.subTest(mesh=mesh, axis=axis), self.assertRaises(ValueError): + q.make_policy(ORIGINS["B"], mesh, axis) + + def test_ancestor_and_original_science_cannot_be_relabelled(self): + for mutate in [lambda d: d.update(baseline_request_sha256="0"*64), + lambda d: d["budgets"].update(charge_C=1.0), + lambda d: d["definition"].update(temperature=301.0), + lambda d: d.update(applied_rtol_hex=0.0001.hex())]: + origin = copy.deepcopy(ORIGINS["B"]); mutate(origin) + with self.assertRaisesRegex(ValueError, "unbound_origin"): + q.make_policy(origin, 16, "base") + + def test_policy_tampering_and_extra_fields_reject(self): + good = q.make_policy(ORIGINS["B"], 16, "base") + for field, value in [("coordinates", 84), ("tolerance_factor", [2, 1]), + ("max_step", 0.1), ("native_execution_authorized", True), + ("unbound_override", {})]: + bad = copy.deepcopy(good); bad[field] = value + with self.subTest(field=field), self.assertRaisesRegex(ValueError, "policy_binding"): + q.validate_policy(bad) + + def test_layout_and_geometric_weight_negatives(self): + policy = q.make_policy(ORIGINS["B"], 16, "base") + good = packet(policy) + mutations = [lambda d: d["variable_offsets"].update(f=[0, 17]), + lambda d: d["equation_offsets"].update(z_n_contact=[0, 2]), + lambda d: d.update(nodes=16), + lambda d: d["volumes_m3"].__setitem__(0, d["volumes_m3"][0]*2), + lambda d: d["column_scaling"].__setitem__(0, d["column_scaling"][0]*2), + lambda d: d["row_scaling"].__setitem__(0, math.nan), + lambda d: d["x_m"].__setitem__(1, math.nextafter(d["x_m"][1], math.inf)), + lambda d: d["face_areas_m2"].pop()] + for mutate in mutations: + bad = copy.deepcopy(good); mutate(bad) + with self.assertRaises(ValueError): + q.validate_layout(bad, policy) + + def test_tolerance_axes_are_strict_and_step_axes_do_not_change_weights(self): + base = q.make_policy(ORIGINS["B"], 16, "base") + a = q.raw_controls(base, packet(base)) + for axis in ["step_middle", "step_tight"]: + policy = q.make_policy(ORIGINS["B"], 16, axis) + b = q.raw_controls(policy, packet(policy)) + self.assertEqual({k: v for k, v in a.items() if k != "max_step"}, + {k: v for k, v in b.items() if k != "max_step"}) + for axis, divisor in [("tolerance_middle", 10), ("tolerance_tight", 100)]: + policy = q.make_policy(ORIGINS["B"], 16, axis) + b = q.raw_controls(policy, packet(policy)) + self.assertLessEqual(Fraction(b["rtol"]), Fraction(a["rtol"])/divisor) + self.assertTrue(all(Fraction(x) <= Fraction(y)/divisor for x, y in zip(b["atol"], a["atol"], strict=True))) + + + +def _initialization_metadata(*, framed, count=4): + """Manufactured two-coordinate metadata, never a device or trajectory.""" + size, zero = 2, [0.0.hex()]*2 + first = {"id": "prepared", "start": 0.0, "end": 1.0, + "voltage": [0.5, 1.0], "photons": [2.0, 2.5]} + base = {"physical_model": "b"*64, "physical_reference": "r"*64, + "layout": "l"*64, "columns_hex": [2.0.hex(), 0.5.hex()], + "rows_hex": [1.0.hex()]*size, "lift_hex": [[1.0.hex(), (-0.25).hex()], [(-0.5).hex(), 1.0.hex()]], + "reference_inputs_hex": [0.0.hex(), 1.0.hex()], + "raw_coordinate_meaning": "scaled voltage departures; other fields are scaled physical remainders", + "physical_coordinate_meaning": "Point.y is the first word of S*z+L*(a-a_ref)"} + if count == 12: + base.update(mapped_input_profile="frame-input-expansion12-v1", mapped_input_words=12) + request = {"map_identity": q.digest(base), "voltage_lift_map": base, "segments": [first]} + if framed: + request["segment_frame_policy"] = {"schema": "solarlab.segment-frame-policy.v1"} + context_id = q.digest(request) + rates = [1.0.hex(), 0.5.hex()] + residual = {"high_hex": zero, "low_hex": zero} + parent = {"schema": "solarlab.voltage-lift-initial-input.v1", "source_identity": "manufactured", + "request_sha256": context_id, "map_identity": request["map_identity"], + "point_identity": "p"*64, "predecessor_identity": base["physical_reference"], + "segment_id": first["id"], "segment_sha256": q.digest(first), + "time_hex": first["start"].hex(), "inputs_hex": [0.5.hex(), 2.0.hex()], + "input_rates_hex": [0.5.hex(), 0.5.hex()], + "raw_z_hex": zero, "raw_zdot_hex": rates, + "mapped_physical_rate_words_hex": [[2.375.hex(), 0.5.hex()]] + [list(zero) for _ in range(count-1)], + "desired_tangent_residual_SI": residual, "represented_rate_residual_SI": residual, + "state_changed": False, "native_initialization_performed": False, "native_steps": 0} + record = copy.deepcopy(parent) + initial = None + if framed: + ancestry = {"request_sha256": context_id, "parent_map_identity": request["map_identity"], + "predecessor_identity": base["physical_reference"], "q0_words_hex": [zero]*4} + seed = {"schema": "solarlab.segment-affine-frame.v1", "parent_map_identity": request["map_identity"], + "segment_sha256": q.digest(first), "logical_initialization_index": 1, + "predecessor_identity": base["physical_reference"], "parent_input_sha256": q.digest(ancestry), + "t0_hex": 0.0.hex(), "size": size, "q0_words_hex": [zero]*4, "v0_words_hex": [zero]*4, + "law": "q=Q0+(t-t0)*V0+u;qdot=V0+udot", "weight_rounding": "RN-exact-parent-q_then-unfused-SV-v1"} + def framed_map(frame): + return dict(base, segment_frame=frame, + raw_coordinate_meaning="fixed-segment affine remainder u; native history is u", + physical_coordinate_meaning="Point.y is the first retained word of S*(Q0+(t-t0)*V0+u)+L*(a-a_ref)") + parent["map_identity"] = q.digest(framed_map(seed)) + parent["record_sha256"] = q.digest(parent) + frame = dict(seed, parent_input_sha256=parent["record_sha256"], v0_words_hex=[rates, zero, zero, zero]) + mapping = framed_map(frame) + record = dict(parent, schema="solarlab.voltage-lift-initial-input.v2", map_identity=q.digest(mapping), + raw_zdot_hex=zero, segment_frame_identity=q.digest(frame), parent_coordinate_rate_hex=rates) + record.pop("record_sha256") + initial = {"kind": "voltage_lift_segment_frame", "request_sha256": context_id, + "parent_map_identity": request["map_identity"], "map_identity": q.digest(mapping), + "frame": frame, "frame_identity": q.digest(frame), "map": mapping, + "ancestry": ancestry, "preparation_frame": seed, "parent_input": parent, + "physical_handoff_words_hex": [[0.25.hex(), 0.75.hex()]] + [list(zero) for _ in range(count-1)], + "physical_rate_handoff_words_hex": parent["mapped_physical_rate_words_hex"], + "native_initial_z_hex": zero, "native_initial_zdot_hex": zero, + "requested_h0_unchanged": True, "automatic_h0_parent_rate_limiter_parity": False, + "native_initialization_performed": False} + initial["record_sha256"] = q.digest(initial) + record["record_sha256"] = q.digest(record) + request.update(z0=[0.0]*size, zdot0=[float.fromhex(v) for v in record["raw_zdot_hex"]], + actual_initial_identity=record["point_identity"], initial_preparation=record, + preparation_context_sha256=context_id) + if initial is not None: + request["initial_segment_frame"] = initial + return request, size + + +def _resign_initial_frame(request): + """Keep all envelope identities valid so negatives reach physical checks.""" + initial = request["initial_segment_frame"] + parent, frame, record = initial["parent_input"], initial["frame"], request["initial_preparation"] + parent["record_sha256"] = q.digest({k: v for k, v in parent.items() if k != "record_sha256"}) + frame["parent_input_sha256"] = parent["record_sha256"] + initial["map"]["segment_frame"] = frame + initial["frame_identity"] = q.digest(frame) + initial["map_identity"] = q.digest(initial["map"]) + record.update(map_identity=initial["map_identity"], segment_frame_identity=initial["frame_identity"]) + record["record_sha256"] = q.digest({k: v for k, v in record.items() if k != "record_sha256"}) + initial["record_sha256"] = q.digest({k: v for k, v in initial.items() if k != "record_sha256"}) + + +def _qualified_metadata(label="B", axis="base"): + """Synthetic raw/affine control ancestry; no physical preparation is done.""" + policy = q.make_policy(ORIGINS[label], q.AXES[axis][0], axis) + numeric = packet(policy) + numeric["physical_reference_fields"] = {name: {"high": [0.0]*(hi-lo), "low": [0.0]*(hi-lo)} + for name, (lo, hi) in numeric["variable_offsets"].items()} + numeric.update(layout_identity="a"*64, initial_identity="b"*64, definition_identity="c"*64) + origin = policy["origin"] + common = {key: copy.deepcopy(origin[key]) for key in + ("segments", "observation_times", "quadrature", "budgets", "mandatory", "physical_domain_policy")} + common.update(case_id=origin["case_id"], numeric_packet=numeric, qualification_policy=policy) + raw = dict(common, schema="solarlab.real-device-native-request.v1", controls=q.raw_controls(policy, numeric)) + affine_controls = {k: v for k, v in raw["controls"].items() if k not in ("constraints_idx", "constraints_type")} + affine = dict(common, schema="solarlab.affine-native-request.v1", controls=affine_controls, + qualification_ancestor=raw, prior_request_sha256=q.digest(raw), + weight_certificate={"old_controls_sha256": q.digest(raw["controls"]), + "rtol": affine_controls["rtol"], "atol": affine_controls["atol"]}) + controls = copy.deepcopy(affine_controls) + if label == "B": + controls.update(rtol=controls["rtol"]/1024, atol=[v/1024 for v in controls["atol"]], + nonlin_conv_coef=1.024e-5, nonlin_guard="first-correction-wrms-v1", + nonlin_trace_capacity=4096, first_step=7.8125e-7) + request = dict(common, schema="solarlab.voltage-lift-native-request.v1", qualification_ancestor=affine, + prior_request_sha256=q.digest(affine), previous_controls=affine_controls, controls=controls, + original_budgets=copy.deepcopy(origin["budgets"]), + weight_certificate={"rtol": controls["rtol"], "atol": controls["atol"]}) + if label == "B": + request.update(nonlinear_control_refinement={"value": 1e-8}, + nonlinear_guard_policy={"policy": "first-correction-wrms-v1", "trace_capacity": 4096}, + startup_step_policy={"value": 7.8125e-7}, + time_weight_policy={"schema": "solarlab.voltage-lift-time-weights.v2", + "qualification_policy_sha256": q.digest(policy), "kappa": 1024}, + segment_startup_policy={"schema": "solarlab.voltage-lift-segment-startup.v2", + "qualification_policy_sha256": q.digest(policy), + "overrides": {"slow_state_hold": {"first_step": 2.0**-32}}}) + lift = [[0.0.hex(), 0.0.hex()] for _ in range(policy["coordinates"])] + lo, _ = numeric["variable_offsets"]["phi_V"] + for i, x in enumerate(numeric["x_m"], lo): + lift[i][0] = (-x/numeric["definition"]["length"]).hex() + first = request["segments"][0] + mapping = {"schema": "solarlab.affine-voltage-map.v1", "physical_model": "d"*64, + "physical_reference": numeric["initial_identity"], "layout": numeric["layout_identity"], + "columns_hex": [float(v).hex() for v in numeric["column_scaling"]], + "rows_hex": [float(v).hex() for v in numeric["row_scaling"]], "lift_hex": lift, + "reference_inputs_hex": [float(first["voltage"][0]).hex(), float(first["photons"][0]).hex()], + "mapped_input_profile": "frame-input-expansion12-v1", "mapped_input_words": 12} + request.update(voltage_lift_map=mapping, map_identity=q.digest(mapping)) + return request + + +def _physical_qualified_metadata(label="B", profile=(1e-5, 1e-8)): + """Synthetic complete control ancestry; no model or actual case input.""" + from scripts.benchmarks import physical_tolerance as pt + request = _qualified_metadata(label) + numeric = request["numeric_packet"] + for name, values in numeric["physical_reference_fields"].items(): + value = 0.0 if name == "phi_V" else 0.5 if name == "f" else 1.0 + values["high"] = [value]*len(values["high"]) + numeric["initial_reference"] = {"payload": {"fields": {name: { + key: [v.hex() for v in values] for key, values in pair.items()} + for name, pair in numeric["physical_reference_fields"].items()}}} + affine = request["qualification_ancestor"] + raw = affine["qualification_ancestor"] + scales = list(map(Fraction, numeric["column_scaling"])) + upper = [Fraction(v) for name, (lo, hi) in sorted(numeric["variable_offsets"].items(), key=lambda row: row[1][0]) + for v in numeric["physical_reference_fields"][name]["high"]] + amounts = [s*Fraction(a) for s, a in zip(scales, raw["controls"]["atol"])] + rr = q.downward(min([Fraction(raw["controls"]["rtol"])] + [a/(2*u) for a, u in zip(amounts, upper) if u])) + aa = [q.downward((a-Fraction(rr)*u)/s) for a, u, s in zip(amounts, upper, scales)] + previous = {k: v for k, v in raw["controls"].items() if k not in ("constraints_idx", "constraints_type")} + previous.update(rtol=rr, atol=aa) + affine.update(controls=previous, prior_request_sha256=q.digest(raw), + weight_certificate={"old_controls_sha256": q.digest(raw["controls"]), "rtol": rr, "atol": aa}) + for key in ("nonlinear_control_refinement", "nonlinear_guard_policy", "startup_step_policy", + "time_weight_policy", "segment_startup_policy"): + request.pop(key, None) + policy = pt.make_policy(numeric, {"r": profile[0], "alpha": profile[1]}) + request.update(prior_request_sha256=q.digest(affine), previous_controls=previous, + controls=pt.controls(previous, policy), physical_tolerance_policy=policy, + weight_certificate=policy, native_admission=False) + return request + + +class PhysicalQualifiedControlTests(unittest.TestCase): + def _same_physical_frame_pair(self, label="S0"): + from scripts.benchmarks import coupled_device_prototype as producer + old = _physical_qualified_metadata(label) + for key in ("qualification_policy", "qualification_ancestor"): + old.pop(key) + for key in ("mapped_input_profile", "mapped_input_words"): + old["voltage_lift_map"].pop(key) + old["map_identity"] = q.digest(old["voltage_lift_map"]) + old["segment_frame_policy"] = producer._segment_frame_policy(old, "fixed-affine-state-rate-v1") + failure = {"manufactured_capacity_fixture": True} + parent = {"request_json": json.dumps(old), "native_result_json": json.dumps({ + "request_sha256": q.digest(old), "complete_protocol": False, + "reason": "primitive_expansion_capacity_exceeded", "first_failure": failure}), + "first_failure_json": json.dumps({"kind": "first_callback_failure", "failure": failure})} + current = copy.deepcopy(old) + current["voltage_lift_map"].update(mapped_input_profile="frame-input-expansion12-v1", + mapped_input_words=12, physical_model="d"*64) + current["map_identity"] = q.digest(current["voltage_lift_map"]) + current["frame_input_parent"] = parent + current["segment_frame_policy"] = producer._segment_frame_policy(current, "fixed-affine-state-rate-v1") + current["frame_input_policy"] = producer._frame_input_policy(current, "frame-input-expansion12-v1") + return old, current + + def test_same_physical_capacity_parent_keeps_controls_and_legacy_defaults(self): + import hashlib + from scripts.benchmarks import coupled_device_prototype as producer + from scripts.benchmarks import native_readback as reader + for label in ("S0", "B"): + with self.subTest(label=label): + old, current = self._same_physical_frame_pair(label) + binding = producer._frame_input_parent_binding(current) + self.assertEqual(binding, reader._frame_input_parent(current)) + self.assertNotIn("control_refinement", binding) + self.assertEqual(binding["same_physical_profile"]["physical_tolerance_policy_sha256"], + q.digest(old["physical_tolerance_policy"])) + self.assertFalse(binding["same_physical_profile"]["physical_controls_changed"]) + self.assertEqual(binding["request_file_sha256"], + hashlib.sha256(current["frame_input_parent"]["request_json"].encode()).hexdigest()) + self.assertEqual(current["controls"], old["controls"]) + self.assertEqual(current["budgets"], old["budgets"]) + self.assertEqual(reader.frame_input_word_count(old), 4) + self.assertEqual(reader.frame_input_word_count(current), 12) + producer._validate_segment_frame_policy(current) + + def test_same_physical_raw_policy_and_certificate_reject_boolean_aliases(self): + import hashlib + from scripts.benchmarks import coupled_device_prototype as producer + from scripts.benchmarks import native_readback as reader + _, current = self._same_physical_frame_pair() + for side in ("current", "parent"): + for field in ("physical_tolerance_policy", "weight_certificate"): + bad = copy.deepcopy(current) + if side == "current": + # Detach the fixture's shared policy/certificate object so + # each supplied document is tested independently. + bad[field] = copy.deepcopy(bad[field]) + bad[field]["native_execution_authorized"] = 0 + if field == "weight_certificate": + bad["segment_frame_policy"] = producer._segment_frame_policy( + bad, "fixed-affine-state-rate-v1") + bad["frame_input_policy"]["segment_frame_policy_sha256"] = q.digest(bad["segment_frame_policy"]) + else: + parent = bad["frame_input_parent"] + old = json.loads(parent["request_json"]) + old[field]["native_execution_authorized"] = 0 + parent["request_json"] = json.dumps(old) + result = json.loads(parent["native_result_json"]) + result["request_sha256"] = q.digest(old) + parent["native_result_json"] = json.dumps(result) + # Rebind the exact failed-file receipts, so a stale hash + # cannot hide acceptance of the parent-side type alias. + receipt = bad["frame_input_policy"]["failed_parent"] + receipt["request_sha256"] = q.digest(old) + for key, value in parent.items(): + receipt[key.removesuffix("_json")+"_file_sha256"] = hashlib.sha256(value.encode()).hexdigest() + for role, check, error in (("producer", producer._validate_segment_frame_policy, producer.ContractError), + ("reader", reader.frame_input_word_count, ValueError)): + with self.subTest(side=side, field=field, role=role): + with self.assertRaisesRegex(error, "frame_input_same_physical_raw_policy"): + check(bad) + + def test_same_physical_capacity_parent_rejects_changed_contracts(self): + from scripts.benchmarks import coupled_device_prototype as producer + from scripts.benchmarks import native_readback as reader + from scripts.benchmarks import physical_tolerance as pt + _, current = self._same_physical_frame_pair() + mutations = { + "case": lambda r: r.update(case_id="other"), + "control": lambda r: r["controls"].update(nonlin_conv_coef=1e-7), + "protocol": lambda r: r["segments"][0]["voltage"].__setitem__(0, 0.125), + "history": lambda r: r.update(history_policy="other"), + "projection": lambda r: r.update(projection_policy={"discard_low_words": True}), + "refresh": lambda r: r.update(reference_refresh_policy={"time_hex": 0.25.hex()}), + "map": lambda r: r["voltage_lift_map"]["columns_hex"].__setitem__(0, 1.0.hex()), + "input": lambda r: r["voltage_lift_map"]["reference_inputs_hex"].__setitem__(0, 1.0.hex()), + "float_word_count": lambda r: r["voltage_lift_map"].update(mapped_input_words=12.0), + } + for name, mutate in mutations.items(): + bad = copy.deepcopy(current); mutate(bad) + with self.subTest(change=name): + with self.assertRaises((ValueError, producer.ContractError)): + producer._frame_input_parent_binding(bad) + with self.assertRaises(ValueError): + reader._frame_input_parent(bad) + for name in ("valid_other_profile", "budget", "successful_parent", "wrong_parent_request", "wrong_failure"): + bad = copy.deepcopy(current) + if name == "valid_other_profile": + policy = pt.make_policy(bad["numeric_packet"], {"r": 1e-4, "alpha": 1e-8}) + bad.update(physical_tolerance_policy=policy, weight_certificate=policy, + controls=pt.controls(bad["previous_controls"], policy)) + elif name == "budget": + bad["budgets"]["charge_C"] *= 2 + bad["original_budgets"] = copy.deepcopy(bad["budgets"]) + elif name == "wrong_failure": + bad["frame_input_parent"]["first_failure_json"] = json.dumps({ + "kind": "first_callback_failure", "failure": {"other": True}}) + else: + result = json.loads(bad["frame_input_parent"]["native_result_json"]) + result.update(complete_protocol=True) if name == "successful_parent" else result.update(request_sha256="0"*64) + bad["frame_input_parent"]["native_result_json"] = json.dumps(result) + with self.subTest(change=name): + with self.assertRaises((ValueError, producer.ContractError)): + producer._frame_input_parent_binding(bad) + with self.assertRaises(ValueError): + reader._frame_input_parent(bad) + for name in ("parent_bytes", "marker"): + bad = copy.deepcopy(current) + if name == "parent_bytes": + bad["frame_input_parent"]["request_json"] += "\n" + else: + bad["frame_input_policy"]["failed_parent"]["same_physical_profile"]["raw_parent_words"] = 12 + with self.subTest(change=name): + with self.assertRaises(producer.ContractError): + producer._validate_segment_frame_policy(bad) + with self.assertRaises(ValueError): + reader.frame_input_word_count(bad) + + def test_actual_s0_component24_has_a_nonzero_fifth_mapped_word(self): + import numpy as np + from scripts.benchmarks import coupled_device_prototype as producer + from scripts.benchmarks.precision_prototype import PrimitiveExpansion + words = [float.fromhex(v) for v in ("0x1.4d3ab4fa2ef03p-60", "0x1.1651e1e7fce1dp-114", + "-0x1.e4cd4b8332ff1p-169", "0x1.8000000000000p-223")] + scale = float.fromhex("0x1.a78f25679cb4ep-6") + raw = PrimitiveExpansion(tuple(np.array([w]) for w in words)) + remainder = sum(map(Fraction, words), Fraction())*Fraction(scale) + expected = [] + for _ in range(4): + word = float(remainder); expected.append(word); remainder -= Fraction(word) + self.assertEqual(remainder, Fraction(1, 2**281)) + with self.assertRaisesRegex(producer.ContractError, "primitive_expansion_capacity_exceeded"): + producer._frame_scale(raw, [scale]) + mapped = producer._frame_mapped_input(raw, [scale], [[1., 0.]], [0., 0.], [0., 0.]) + self.assertEqual([float(w[0]) for w in mapped.words[:5]], expected+[float(remainder)]) + self.assertEqual(sum((Fraction(float(w[0])) for w in mapped.words), Fraction()), + sum(map(Fraction, words), Fraction())*Fraction(scale)) + + def test_physical_profiles_return_exact_size_without_old_tolerance_compression(self): + from scripts.benchmarks import physical_tolerance as pt + for label, size in (("S0", 51), ("B", 85)): + for profile in pt.PROFILES: + request = _physical_qualified_metadata(label, profile) + self.assertEqual(q.check_applied_ceiling(request), size) + self.assertIs(type(q.check_applied_ceiling(request)), int) + self.assertEqual(request["controls"]["rtol"], profile[0]) + self.assertEqual(request["controls"]["atol"], [a/s for a, s in zip( + request["physical_tolerance_policy"]["atol_SI"], request["numeric_packet"]["column_scaling"])]) + self.assertEqual(request["controls"]["nonlin_conv_coef"], 1e-8) + self.assertEqual(request["budgets"], request["original_budgets"]) + + def test_physical_qualification_requires_complete_initialization_and_rejects_mixed_controls(self): + for mutate in (lambda r: r.update(z0=[]), lambda r: r.update(initial_preparation={}), + lambda r: r.update(time_weight_policy={}), + lambda r: r["controls"].update(nonlin_conv_coef=65536e-8), + lambda r: r["controls"].update(max_step=0.5)): + request = _physical_qualified_metadata() + mutate(request) + with self.assertRaises((ValueError, KeyError)): + q.check_applied_ceiling(request) + + def test_real_factory_and_reader_select_physical_option_with_all_frame_words(self): + from dataclasses import asdict + import numpy as np + from scripts.benchmarks import coupled_device_prototype as producer + from scripts.benchmarks import native_readback as reader + from scripts.benchmarks import physical_tolerance as pt + from scripts.benchmarks.precision_prototype import PrimitiveExpansion + request = _physical_qualified_metadata() + request["segment_frame_policy"] = producer._segment_frame_policy(request, "fixed-affine-state-rate-v1") + request["frame_input_policy"] = producer._frame_input_policy(request, "frame-input-expansion12-v1") + self.assertEqual(reader.frame_input_word_count(request), 12) + row = request["segments"][0] + segment = producer.ProtocolSegment(row["id"], row["start"], row["end"], tuple(row["voltage"]), tuple(row["photons"])) + size = request["qualification_policy"]["coordinates"] + zero = PrimitiveExpansion(tuple(np.zeros(size) for _ in range(4))) + frame = producer.SegmentAffineFrame(request["map_identity"], q.digest(asdict(segment)), 1, + "a"*64, "b"*64, segment.start, zero, zero) + captured, marker = {}, object() + def constructor(residual, **kwargs): + captured.update(kwargs) + return marker + result, receipt = producer._voltage_lift_segment_solver(constructor, request, segment, 1, + marker, marker, marker, [], frame=frame) + self.assertIs(result, marker) + self.assertNotIn("parent_weight_frame", captured) + self.assertEqual(captured["physical_weight_frame"], pt.weight_option(request, frame.payload(), asdict(segment))) + self.assertEqual(receipt["physical_weight_frame"], captured["physical_weight_frame"]) + self.assertEqual(reader.segment_startup_controls(request, row), receipt["constructor_controls"]) + self.assertEqual(captured["nonlin_conv_coef"], 1e-8) + foreign = asdict(segment) + foreign["photons"] = (foreign["photons"][0]+1.0, foreign["photons"][1]) + rebound_frame = dict(frame.payload(), segment_sha256=q.digest(foreign)) + with self.assertRaisesRegex(ValueError, "segment_binding"): + pt.weight_option(request, rebound_frame, foreign) + # This is an in-memory constructor-argument spy, not IDA or a model. + + def test_physical_profile_binds_the_failed_parent_without_kappa_equivalence(self): + from scripts.benchmarks import coupled_device_prototype as producer + from scripts.benchmarks import native_readback as reader + from scripts.benchmarks import physical_tolerance as pt + old = _physical_qualified_metadata() + for key in ("physical_tolerance_policy", "qualification_policy", "qualification_ancestor"): + old.pop(key) + old["controls"] = copy.deepcopy(old["previous_controls"]) + old["weight_certificate"] = {"rtol": old["controls"]["rtol"], "atol": old["controls"]["atol"]} + old["voltage_lift_map"].pop("mapped_input_profile") + old["voltage_lift_map"].pop("mapped_input_words") + old["map_identity"] = q.digest(old["voltage_lift_map"]) + old["segment_frame_policy"] = producer._segment_frame_policy(old, "fixed-affine-state-rate-v1") + failure = {"manufactured_failure_fixture": True} + parent = {"request_json": json.dumps(old), "native_result_json": json.dumps({ + "request_sha256": q.digest(old), "complete_protocol": False, + "reason": "primitive_expansion_capacity_exceeded", "first_failure": failure}), + "first_failure_json": json.dumps({"kind": "first_callback_failure", "failure": failure})} + current = copy.deepcopy(old) + policy = pt.make_policy(current["numeric_packet"], {"r": 1e-5, "alpha": 1e-8}) + current.update(physical_tolerance_policy=policy, weight_certificate=policy, + controls=pt.controls(current["previous_controls"], policy), frame_input_parent=parent) + current["voltage_lift_map"].update(mapped_input_profile="frame-input-expansion12-v1", mapped_input_words=12) + current["map_identity"] = q.digest(current["voltage_lift_map"]) + current["segment_frame_policy"] = producer._segment_frame_policy(current, "fixed-affine-state-rate-v1") + current["frame_input_policy"] = producer._frame_input_policy(current, "frame-input-expansion12-v1") + a, b = producer._frame_input_parent_binding(current), reader._frame_input_parent(current) + self.assertEqual(a, b) + self.assertEqual(a["control_refinement"]["old_failed_request_sha256"], q.digest(old)) + self.assertFalse(a["control_refinement"]["effective_nonlinear_equivalence"]) + self.assertEqual(reader.frame_input_word_count(current), 12) + self.assertEqual(parent["request_json"], json.dumps(old)) + for kind in ("control", "physics", "successful_parent"): + bad = copy.deepcopy(current) + if kind == "control": + bad["controls"]["nonlin_conv_coef"] *= 65536 + elif kind == "physics": + bad["segments"][0]["voltage"][0] += 1 + else: + result = json.loads(bad["frame_input_parent"]["native_result_json"]) + result["complete_protocol"] = True + bad["frame_input_parent"]["native_result_json"] = json.dumps(result) + with self.assertRaises((ValueError, producer.ContractError)): + producer._frame_input_parent_binding(bad) + with self.assertRaises(ValueError): + reader._frame_input_parent(bad) + + def test_declared_twelve_word_charge_reader_uses_complete_physical_words(self): + from scripts.benchmarks import coupled_device_prototype as producer + from scripts.benchmarks.native_observation import prepare_interval_observation_policy + from scripts.benchmarks.native_readback import PhysicalChargeCheck + from perovskite_sim.constants import Q + request = _physical_qualified_metadata() + request["segment_frame_policy"] = producer._segment_frame_policy(request, "fixed-affine-state-rate-v1") + request["frame_input_policy"] = producer._frame_input_policy(request, "frame-input-expansion12-v1") + request["interval_observation"] = prepare_interval_observation_policy(request, + binding_identity="a"*64, header_sha256="b"*64, backend_modules={}) + check = PhysicalChargeCheck(request) + self.assertEqual(check.input_words, 12) + size = request["qualification_policy"]["coordinates"] + left = {"history": {"physical_cumulative_words_hex": [[0.0.hex()]*size for _ in range(12)]}} + right = copy.deepcopy(left) + index = request["numeric_packet"]["variable_offsets"]["p_m3"][0]+1 + right["history"]["physical_cumulative_words_hex"][0][index] = (2.0**-20).hex() + right["history"]["physical_cumulative_words_hex"][1][index] = (2.0**-80).hex() + expected = Fraction(Q)*Fraction(request["numeric_packet"]["volumes_m3"][1])*(Fraction(1, 2**20)+Fraction(1, 2**80)) + self.assertEqual(check.saved_change(left, right), (expected, Fraction(0), Fraction(0))) + right["history"]["physical_cumulative_words_hex"].pop() + with self.assertRaises(ValueError): + check.saved_change(left, right) + + +class QualifiedControlTests(unittest.TestCase): + def test_original_fourteen_choices_keep_defaults_and_allow_explicit_hold(self): + for label in ("S0", "B"): + for axis, (intervals, _, _) in q.AXES.items(): + policy = q.make_policy(ORIGINS[label], intervals, axis) + original = q.options(policy) + self.assertTrue(q.matches_options(policy, original)) + chosen = copy.deepcopy(original) + chosen["segment_startup_overrides"] = {"slow_state_hold": {"first_step": 2.0**-32}} + self.assertEqual(q.matches_options(policy, chosen), label == "B") + self.assertEqual(q.options(policy), original) + + def test_invalid_hold_and_other_options_are_rejected(self): + policy = q.make_policy(ORIGINS["B"], 16, "base") + for value in (-0.0, False, True, -2.0**-32, 1e-8, math.nan, math.inf, "0"): + chosen = q.options(policy) + chosen["segment_startup_overrides"]["slow_state_hold"]["first_step"] = value + self.assertFalse(q.matches_options(policy, chosen), repr(value)) + for name, value in (("nonlin_conv_coef", 1e-6), ("first_step", 0.0), ("extra", True)): + chosen = q.options(policy) + chosen[name] = value + self.assertFalse(q.matches_options(policy, chosen)) + chosen = q.options(policy) + chosen["segment_startup_overrides"]["extra"] = {} + self.assertFalse(q.matches_options(policy, chosen)) + + def test_framed_and_unframed_initialization_keep_distinct_identities(self): + for framed in (False, True): + request, size = _initialization_metadata(framed=framed) + before = copy.deepcopy(request) + q.check_initialization(request, size) + self.assertEqual(request, before) + if framed: + frame = request["initial_segment_frame"] + self.assertEqual(len({request["map_identity"], frame["frame_identity"], frame["map_identity"]}), 3) + + def test_frame_payload_id_cannot_replace_framed_map_id(self): + request, size = _initialization_metadata(framed=True) + record = request["initial_preparation"] + record["map_identity"] = request["initial_segment_frame"]["frame_identity"] + record["record_sha256"] = q.digest({k: v for k, v in record.items() if k != "record_sha256"}) + with self.assertRaisesRegex(ValueError, "initial_record_binding"): + q.check_initialization(request, size) + + def test_frame_output_context_and_words_are_bound(self): + mutations = [lambda r: r.pop("initial_segment_frame"), + lambda r: r["initial_segment_frame"]["frame"].update(size=3), + lambda r: r["initial_segment_frame"]["frame"].update(logical_initialization_index=True), + lambda r: r["initial_segment_frame"]["frame"].update(predecessor_identity="wrong"), + lambda r: r["initial_segment_frame"]["map"].update(physical_model="wrong"), + lambda r: r["initial_segment_frame"]["frame"]["v0_words_hex"][0].__setitem__(0, 2.0.hex()), + lambda r: r.update(preparation_context_sha256="wrong")] + for mutate in mutations: + request, size = _initialization_metadata(framed=True) + mutate(request) + with self.assertRaises(ValueError): + q.check_initialization(request, size) + request, size = _initialization_metadata(framed=False) + request["initial_segment_frame"] = {} + with self.assertRaisesRegex(ValueError, "unbound_initial_frame"): + q.check_initialization(request, size) + + def test_physical_handoff_accepts_exact_four_and_twelve_words(self): + for count in (4, 12): + request, size = _initialization_metadata(framed=True, count=count) + before = copy.deepcopy(request) + q.check_initialization(request, size) + self.assertEqual(request, before) + + def test_missing_all_matching_rates_cannot_pass(self): + request, size = _initialization_metadata(framed=True) + initial = request["initial_segment_frame"] + initial.pop("physical_rate_handoff_words_hex") + initial["parent_input"].pop("mapped_physical_rate_words_hex") + request["initial_preparation"].pop("mapped_physical_rate_words_hex") + _resign_initial_frame(request) + with self.assertRaisesRegex(ValueError, "initial_frame_word_shape"): + q.check_initialization(request, size) + + def test_matching_rate_arrays_must_be_well_formed_and_physical(self): + wrong = [[3.0.hex(), 0.5.hex()]] + [[0.0.hex()]*2 for _ in range(3)] + noncanonical = [[2.5.hex(), 0.5.hex()], [(-0.125).hex(), 0.0.hex()]] + [[0.0.hex()]*2 for _ in range(2)] + cases = [(None, "word_shape"), ([], "word_shape"), + ([[0.0.hex()]]*4, "vector_shape"), + ([["nan", 0.0.hex()]]*4, "nonfinite_word"), + ([["invalid", 0.0.hex()]]*4, "invalid_hex"), + ([[False, 0.0.hex()]]*4, "vector_shape"), + (noncanonical, "noncanonical_word"), (wrong, "physical_handoff")] + for words, reason in cases: + with self.subTest(reason=reason): + request, size = _initialization_metadata(framed=True) + initial = request["initial_segment_frame"] + initial["physical_rate_handoff_words_hex"] = copy.deepcopy(words) + initial["parent_input"]["mapped_physical_rate_words_hex"] = copy.deepcopy(words) + request["initial_preparation"]["mapped_physical_rate_words_hex"] = copy.deepcopy(words) + _resign_initial_frame(request) + with self.assertRaisesRegex(ValueError, "initial_frame_"+reason): + q.check_initialization(request, size) + + def test_missing_or_wrong_state_handoff_cannot_pass(self): + for value, reason in ((None, "word_shape"), + ([[0.0.hex()]*2 for _ in range(4)], "physical_handoff")): + request, size = _initialization_metadata(framed=True) + initial = request["initial_segment_frame"] + if value is None: + initial.pop("physical_handoff_words_hex") + else: + initial["physical_handoff_words_hex"] = value + _resign_initial_frame(request) + with self.assertRaisesRegex(ValueError, "initial_frame_"+reason): + q.check_initialization(request, size) + + def test_right_sided_initial_inputs_rates_and_time_are_bound(self): + for name, value in (("inputs_hex", [0.0.hex(), 2.0.hex()]), + ("input_rates_hex", [0.0.hex(), 0.5.hex()]), + ("time_hex", 0.5.hex())): + request, size = _initialization_metadata(framed=True) + request["initial_segment_frame"]["parent_input"][name] = copy.deepcopy(value) + request["initial_preparation"][name] = copy.deepcopy(value) + _resign_initial_frame(request) + with self.assertRaisesRegex(ValueError, "initial_frame_input_binding"): + q.check_initialization(request, size) + + def test_qualified_profile_is_non_circular_and_has_an_independent_reader(self): + from scripts.benchmarks import coupled_device_prototype as producer + from scripts.benchmarks import native_readback as reader + for label in ("S0", "B"): + for axis in q.AXES: + request = _qualified_metadata(label, axis) + q.check_applied_ceiling(request) + request["segment_frame_policy"] = producer._segment_frame_policy(request, "fixed-affine-state-rate-v1") + policy = producer._frame_input_policy(request, "frame-input-expansion12-v1") + self.assertEqual(policy["schema"], "solarlab.frame-input-policy.v2") + self.assertNotIn("failed_parent", policy) + request["frame_input_policy"] = policy + before = copy.deepcopy(request) + self.assertEqual(reader.frame_input_word_count(request), 12) + self.assertEqual(request, before) + + def test_qualified_profile_cannot_borrow_a_failed_parent_or_changed_map(self): + from scripts.benchmarks import coupled_device_prototype as producer + from scripts.benchmarks import native_readback as reader + request = _qualified_metadata() + request["segment_frame_policy"] = producer._segment_frame_policy(request, "fixed-affine-state-rate-v1") + request["frame_input_policy"] = producer._frame_input_policy(request, "frame-input-expansion12-v1") + mutations = [lambda r: r.update(frame_input_parent={}), + lambda r: r["frame_input_policy"].update(extra=True), + lambda r: r["frame_input_policy"].update(schema="solarlab.frame-input-policy.v1"), + lambda r: r["voltage_lift_map"].update(physical_model="e"*64), + lambda r: r["voltage_lift_map"]["lift_hex"][0].__setitem__(1, 1.0.hex()), + lambda r: r["controls"].update(max_step=0.1), + lambda r: r["qualification_policy"].update(intervals=32), + lambda r: r["numeric_packet"].update(initial_identity="wrong")] + for mutate in mutations: + changed = copy.deepcopy(request) + mutate(changed) + with self.assertRaises((reader.HistoryVerificationError, ValueError)): + reader.frame_input_word_count(changed) + + def test_both_actual_upper_guards_admit_the_bound_hold_selection(self): + # Manufactured API sentinels isolate the guards, never source/genuine + # model readiness. The actual14-case constructors still need admission. + from dataclasses import asdict + from types import SimpleNamespace + from unittest.mock import patch + from scripts.benchmarks import coupled_device_prototype as producer + class ReachedAfterGuard(Exception): + pass + for step in (0.0, 2.0**-32, 1e-8): + request = _qualified_metadata() + policy = request["qualification_policy"] + selected = q.options(policy) + selected["segment_startup_overrides"] = {"slow_state_hold": {"first_step": step}} + segments = tuple(producer.ProtocolSegment(row["id"], row["start"], row["end"], + tuple(row["voltage"]), tuple(row["photons"])) for row in request["segments"]) + definition = SimpleNamespace(id=request["case_id"]) + def stop(): + raise ReachedAfterGuard + model = SimpleNamespace(definition=definition, intervals=16, + layout=SimpleNamespace(size=85), numeric_packet=stop) + mapping = SimpleNamespace(model=model, mapped_input_profile=None) + outcome = ReachedAfterGuard if step in (0.0, 2.0**-32) else producer.ContractError + with patch.object(producer, "_qualification_scope", return_value=policy): + with self.assertRaises(outcome): + producer.prepare_voltage_lift_native_request(mapping, segments, request["qualification_ancestor"], **selected) + model.numeric_packet = lambda: request["numeric_packet"] + mapping.identity = request["map_identity"] + request["segment_startup_policy"]["overrides"] = selected["segment_startup_overrides"] + self.assertEqual(q.digest([asdict(s) for s in segments]), q.digest(request["segments"])) + with patch.object(q, "check_applied_ceiling", return_value=85), \ + patch.object(producer, "voltage_lift_wrms_policy", side_effect=ReachedAfterGuard): + with self.assertRaises(outcome): + producer.validate_voltage_lift_native_request(mapping, segments, request) + + +if __name__ == "__main__": + unittest.main() diff --git a/tests/numerical_contracts/test_qualification_comparison.py b/tests/numerical_contracts/test_qualification_comparison.py new file mode 100644 index 00000000..04a1a854 --- /dev/null +++ b/tests/numerical_contracts/test_qualification_comparison.py @@ -0,0 +1,575 @@ +"""Tiny synthetic-only qualification analysis tests; no scientific fixtures. + +All metadata, values, message IDs and receipts here are manufactured unit-test +data. None is an operation grant, accepted device run, or reference oracle. +""" +from copy import deepcopy +from fractions import Fraction as F +import gzip +import importlib.util +import json +import os +from pathlib import Path +import tempfile +import unittest + +from scripts.benchmarks import qualification_comparison as q +from scripts.benchmarks.hysteresis_current_bounds import _expm1_bounds + + +class ArithmeticTests(unittest.TestCase): + def test_flat_SG_is_exact_linear_for_both_carriers(self): + for carrier in ("electron", "hole"): + self.assertEqual(q.sg_interpolate(2, 8, 0, F(1, 3), carrier=carrier), q.Span.of(4)) + + def test_sg_constant_field_formula_and_carrier_sign(self): + # expm1(2u)=expm1(u)*(exp(u)+1), giving the independent midpoint weight. + ep = q.Span.of(_expm1_bounds(F(1)))+1 + expected = 2+6*(q.Span.of(1)/(ep+1)) + value = q.sg_interpolate(2, 8, 2, F(1, 2), carrier="electron") + self.assertLessEqual(value.lo, expected.hi) + self.assertGreaterEqual(value.hi, expected.lo) + self.assertLess(value.hi, 5) + hole = q.sg_interpolate(2, 8, 2, F(1, 2), carrier="hole") + self.assertGreater(hole.lo, 5) + + def test_sg_low_word_and_near_zero_cancellation(self): + delta = F(1, 2**120) + value = q.sg_interpolate(1, 1+delta, F(1, 2**140), F(1, 2), carrier="electron") + self.assertGreater(value.lo, 1) + self.assertLess(value.hi, 1+delta) + self.assertLess((value-q.Span.of(1+delta/2)).absolute_upper, delta/1000) + + def test_contacts_exact_and_no_extrapolation(self): + for s, expected in ((0, 2), (1, 8)): + self.assertEqual(q.sg_interpolate(2, 8, 400, s, carrier="electron"), q.Span.of(expected)) + with self.assertRaisesRegex(q.ComparisonError, "sg_scope"): + q.sg_interpolate(2, 8, 0, -1, carrier="electron") + + def test_log_interval_preserves_sub_float_difference(self): + delta = F(1, 2**100) + log = q.log_exact(1+delta) + self.assertGreater(log.lo, 0) + self.assertLessEqual(log.hi, delta) + self.assertGreaterEqual(log.lo, delta-delta*delta/2) + self.assertEqual(q.log_exact(1), q.Span.of(0)) + + def test_same_physical_positions_on_different_meshes(self): + a = {"phi_V": [0, F(1, 3), 1], "n_m3": [2]*3, "p_m3": [3]*3} + b = {"phi_V": [0, F(1, 4), F(1, 2), 1], "n_m3": [2]*4, "p_m3": [3]*4} + left = q.reconstruct([0, F(1, 3), 1], a, 1) + right = q.reconstruct([0, F(1, 4), F(1, 2), 1], b, 1) + self.assertEqual(left, right) + self.assertEqual(len(left), 19) + self.assertEqual(left[1]["phi_V"], q.Span.of(F(1, 18))) + + def test_trap_interpolation_requires_explicit_rule(self): + fields = {"phi_V": [0, 0], "n_m3": [1, 1], "p_m3": [1, 1], "f": [0, 1]} + with self.assertRaisesRegex(q.ComparisonError, "trap_reconstruction"): + q.reconstruct([0, 1], fields, 1) + got = q.reconstruct([0, 1], fields, 1, trap_rule="linear_nodal_occupancy_v1") + self.assertEqual(got[9]["f"], q.Span.of(F(1, 2))) + with self.assertRaisesRegex(q.ComparisonError, "interface"): + q.reconstruct([0, 1], fields, 1, trap_rule="linear_nodal_occupancy_v1", support=("a", "b")) + fields["f"][1] = F(101, 100) + with self.assertRaisesRegex(q.ComparisonError, "no_clipping"): + q.reconstruct([0, 1], fields, 1, trap_rule="linear_nodal_occupancy_v1") + + def test_full_reference_and_all_remainder_words(self): + request = {"z0": [0], "frame_input_policy": {"mapped_input_words": 12}, + "voltage_lift_map": {"physical_model": "test-only-model"}, + "numeric_packet": {"variable_offsets": {"n_m3": [0, 1]}, "initial_reference": { + "payload": {"fields": {"n_m3": {"high": [1.0.hex()], "low": [(2.0**-70).hex()]}}}}}} + words = [[0.0.hex()] for _ in range(12)] + words[0] = [(2.0**-100).hex()] + history = {"physical_model_identity": "test-only-model", "physical_cumulative_words_hex": words, + "physical_rate_words_hex": [[0.0.hex()] for _ in range(12)]} + fields, rates = q.full_state(request, history) + self.assertEqual(fields["n_m3"][0], 1+F(1, 2**70)+F(1, 2**100)) + self.assertEqual(rates["n_m3"], (F(0),)) + broken = deepcopy(history); broken["physical_model_identity"] = "other" + with self.assertRaisesRegex(q.ComparisonError, "physical_source"): + q.full_state(request, broken) + + def test_polynomial_state_rate_exact(self): + fields, rates = q.polynomial_state(((F(1), F(2), F(3)),), 1, F(1, 2), F(3, 4), {"phi_V": (0, 1)}) + self.assertEqual(fields["phi_V"], (F(3, 4),)) + self.assertEqual(rates["phi_V"], (F(-2),)) + + def test_rational_budget_and_independent_shares(self): + args = dict(metric="absolute", budget=F(3, 10), input_error=F(1, 10), reference_error=F(1, 10)) + got = q.compare_metric(F(1, 10), 0, **args) + self.assertTrue(got["passed"]) + self.assertEqual(got["total_upper"], F(3, 10)) + args["input_error"] += F(1, 10**100) + self.assertFalse(q.compare_metric(F(1, 10), 0, **args)["passed"]) + + def test_reference_absence_zero_and_undefined_denominators(self): + args = dict(metric="absolute", budget=0, input_error=0, reference_error=0) + self.assertTrue(q.compare_metric(1, 1, **args)["passed"]) + self.assertFalse(q.compare_metric(1+F(1, 2**100), 1, **args)["passed"]) + args["reference_error"] = None + with self.assertRaisesRegex(q.ComparisonError, "independent_reference"): + q.compare_metric(1, 1, **args) + for metric, scale in (("log_ratio", None), ("declared_scale", 0)): + with self.assertRaises(q.ComparisonError): + q.compare_metric(1, 0, metric=metric, scale=scale, budget=1, input_error=0, reference_error=0) + + def test_charge_prefix_uses_absolute_defects_not_cancellation(self): + first = q.accumulate_charge(((0, 0),)*3, (F(1, 100), 0, 0), (0, 0, 0), F(1, 100)) + self.assertTrue(first[0]["passed"]) + previous = tuple((r["prefix_absolute_bound_C"], r["prefix_uncertainty_C"]) for r in first) + second = q.accumulate_charge(previous, (-F(1, 100), 0, 0), (0, 0, 0), F(1, 100)) + self.assertEqual(second[0]["prefix_absolute_bound_C"], F(1, 50)) + self.assertFalse(second[0]["passed"]) + + def test_event_sides_never_merged(self): + left = {"key": q.observation_key("ramp", 1, "left"), "fields": {"phi_V": []}} + right = {"key": q.observation_key("hold", 1, "right"), "fields": {"phi_V": []}} + with self.assertRaisesRegex(q.ComparisonError, "event_mismatch"): + q.validate_pair_clock(left, right) + + def test_actual_refinement_and_joint_unknown(self): + self.assertFalse(q.actual_refinement("time", [0, 1], [0, 1], [1, 1], [1, 1])["passed"]) + self.assertTrue(q.actual_refinement("space", [0, 1], [0, F(1, 2), 1], [1], [1])["passed"]) + self.assertFalse(q.joint_confirmation(None)["passed"]) + self.assertFalse(q.joint_confirmation({"interaction": True, "independently_accepted": True})["passed"]) + + def test_dimensionless_metrics_preserve_physical_field_units(self): + fields = {"phi_V": [0, 0], "n_m3": [1, 1], "p_m3": [2, 2], "c_m3": [3, 3], "f": [0.5, 0.5]} + currents = {k: [0, 0] for k in ("raw_total_inward_A", "same_state_tangent_total_inward_A")} + snap = {"key": ("test-only", F(0), "continuous"), "mesh": [0, 1], "fields": fields, "observables": currents} + uncertainty = {k: {"input": 0, "reference": 0} for k in (*fields, *currents)} + thresholds = dict(potential_max_abs_V=1, carrier_max_abs_log_ratio=1, + ion_max_abs_change_over_declared_c0=1, trap_max_abs_occupancy_change=1, current_A=1) + result = q.score_clock(snap, snap, thresholds=thresholds, uncertainty=uncertainty, + c0=3, thermal_voltage=1, trap_rule="linear_nodal_occupancy_v1") + for row in result["rows"]: + if row["channel"] in ("n_m3", "p_m3", "c_m3"): + self.assertEqual((row["unit"], row["field_unit"]), ("1", "m^-3")) + elif row["channel"] == "phi_V": + self.assertEqual((row["unit"], row["field_unit"]), ("V", "V")) + + def test_tolerance_tightening_can_keep_the_same_maximum_native_h(self): + coarse = {"rtol": F(1, 10), "atol": [F(1, 20)], "max_step": F(1, 4)} + fine = {**coarse, "rtol": F(1, 100), "atol": [F(1, 200)]} + result = q.actual_refinement("tolerance", [0, 1], [0, 1], [F(1, 4)]*2, + [F(1, 4), F(1, 8), F(1, 8)], tolerance_controls={"coarse": coarse, "fine": fine, "scales": [3]}) + self.assertTrue(result["passed"]) + self.assertEqual(result["coarse_max_h"], result["fine_max_h"]) + self.assertEqual(result["physical_control_tightening"]["largest_physical_atol_ratio"], F(1, 10)) + self.assertFalse(q.actual_refinement("time", [0, 1], [0, 1], [F(1, 4)]*2, + [F(1, 4), F(1, 8), F(1, 8)])["passed"]) + + def test_nominal_ceiling_and_boolean_do_not_prove_pairwise_tightening(self): + coarse = {"rtol": F(1, 10), "atol": [F(1, 20)], "max_step": 1} + fine = {**coarse, "rtol": F(1, 100), "atol": [F(1, 200)]} + for invalid in (coarse, {**fine, "atol": coarse["atol"]}, {**fine, "rtol": coarse["rtol"]}, + {**fine, "max_step": F(1, 2)}): + with self.assertRaises(q.ComparisonError): + q.physical_control_tightening(coarse, invalid, [3]) + for evidence in (None, True): + with self.assertRaises(q.ComparisonError): + q.actual_refinement("tolerance", [0, 1], [0, 1], [1], [1], tolerance_controls=evidence) + + def test_step_summary_storage_is_independent_of_interval_count(self): + steps = q.StepSummary() + for _ in range(1000): + steps.add(F(1, 8), 2) + self.assertEqual(steps.record(), {"count": 1000, "minimum_h": F(1, 8), "maximum_h": F(1, 8), "orders": {"2": 1000}}) + self.assertEqual(len(vars(steps)), 4) + + def test_metadata_only_uniform_physical_laws(self): + packet = {"x_m": [0, F(1, 2), 1], "volumes_m3": [F(1, 4), F(1, 2), F(1, 4)], + "definition": {"id": "S0NeutralPublicDeviceV1", "dynamic": False, + "temperature": 1, "area": 1, "epsilon": 1, "trap_density": 0, + "mu_n": 1, "mu_p": 1}} + fields = {"phi_V": [0, 0, 0], "n_m3": [1, 1, 1], "p_m3": [1, 1, 1]} + rates = {k: [0, 0, 0] for k in fields} + result = q.physical_observables(packet, fields, rates, [0, 0], {"Q": 1, "K_B": 1}) + self.assertEqual(result["raw_total_inward_A"], (q.Span.of(0),)*2) + self.assertEqual(result["same_state_tangent_total_inward_A"], (q.Span.of(0),)*2) + self.assertEqual(result["gauss_defect_C"], 0) + fields["p_m3"][1] += F(1, 2**100) + changed = q.physical_observables(packet, fields, rates, [0, 0], {"Q": 1, "K_B": 1}) + self.assertEqual(changed["body_charge_C"], F(1, 2**101)) + self.assertNotEqual(changed["gauss_defect_C"], 0) + + def test_physical_current_signs_and_finite_gauss_are_independent(self): + packet = {"x_m": [0, 0.5, 1], "volumes_m3": [0.25, 0.5, 0.25], + "definition": {"id": "S0NeutralPublicDeviceV1", "dynamic": False, "temperature": 1, + "area": 1, "epsilon": 1, "trap_density": 0, "mu_n": 1, "mu_p": 1}} + delta = F(1, 2**100) + fields = {"phi_V": [0, 0, 0], "n_m3": [1, 1, 1], "p_m3": [1, 1+delta, 1]} + result = q.physical_observables(packet, fields, {k: [0]*3 for k in fields}, [0, 0], {"Q": 1, "K_B": 1}) + self.assertEqual(result["raw_total_inward_A"], (q.Span.of(-2*delta),)*2) + self.assertEqual(result["same_state_tangent_total_inward_A"], (q.Span.of(0),)*2) + self.assertEqual(result["gauss_defect_C"], delta/2) + + def test_nonfinite_boolean_and_nonpositive_population_rejection(self): + for value in (True, float("nan"), float("inf")): + with self.assertRaises(q.ComparisonError): q.exact(value) + with self.assertRaises(q.ComparisonError): + q.sg_interpolate(0, 1, 1, F(1, 2), carrier="electron") + + def test_manufactured_dynamic_ions_remain_blocking_at_contacts(self): + packet = {"x_m": [0, 0.5, 1], "volumes_m3": [0.25, 0.5, 0.25], + "definition": {"id": "DynamicAcceptorIonPublicDeviceV1", "dynamic": True, "temperature": 1, + "area": 1, "epsilon": 1, "trap_density": 0, "mu_n": 1, "mu_p": 1, + "ion_initial": 1, "ion_capacity": 4, "capture_n": 0, "capture_p": 0, + "n1": 1, "p1": 1, "diffusion_ion": 1}} + fields = {"phi_V": [0, 0, 0], "n_m3": [1]*3, "p_m3": [1]*3, + "c_m3": [F(1), F(3, 2), F(2)], "f": [F(1, 2)]*3} + r = q.physical_observables(packet, fields, {k: [0]*3 for k in fields}, [0, 0], {"Q": 1, "K_B": 1}) + self.assertEqual(r["raw_total_inward_A"], (q.Span.of(0),)*2) + balance = sum(r["same_state_tangent_total_inward_A"], q.Span.of(0)) + self.assertLessEqual(balance.lo, 0) + self.assertGreaterEqual(balance.hi, 0) + self.assertLess(balance.absolute_upper, F(1, 10**80)) + + +class BoundaryTests(unittest.TestCase): + @classmethod + def setUpClass(cls): + directory = os.environ.get("SOLARLAB_QUALIFICATION_ANALYSIS_SOURCE") + if directory is None: + raise unittest.SkipTest("separate prepared source packet path required") + cls.directory = Path(directory) + # Mutable manufactured fixtures belong on local temporary storage. + # The prepared source packet remains in its original evidence directory. + fixtures = tempfile.TemporaryDirectory(prefix="solarlab_qualification_tests_") + cls.addClassCleanup(fixtures.cleanup) + cls.fixture_directory = Path(fixtures.name) + cls.modules = {} + for name in ("Analyze", "ReadCases"): + spec = importlib.util.spec_from_file_location("test_only_"+name, cls.directory/(name+".py")) + module = importlib.util.module_from_spec(spec) + spec.loader.exec_module(module) + cls.modules[name] = module + + def test_loaded_module_requires_declared_path_and_current_bytes(self): + from types import SimpleNamespace + m = self.modules["Analyze"] + with tempfile.TemporaryDirectory(dir=self.fixture_directory) as folder: + reviewed = Path(folder)/"reviewed.py" + shadow = Path(folder)/"shadow.py" + reviewed.write_text("# manufactured module\n") + shadow.write_bytes(reviewed.read_bytes()) + binding = m.pin(reviewed) + m.validate_module_source(SimpleNamespace(__file__=str(reviewed)), binding) + # Equal bytes at an unreviewed import path are not the bound module. + with self.assertRaisesRegex(ValueError, "actual_selected_reader_dependency"): + m.validate_module_source(SimpleNamespace(__file__=str(shadow)), binding) + reviewed.write_text("# changed module body\n") + consumed = m.METADATA_READ_BYTES + with self.assertRaisesRegex(ValueError, "actual_selected_reader_dependency"): + m.validate_module_source(SimpleNamespace(__file__=str(reviewed)), binding) + self.assertGreater(m.METADATA_READ_BYTES, consumed) + + def test_stale_source_int_float_and_signed_zero(self): + m = self.modules["Analyze"] + with tempfile.TemporaryDirectory(dir=self.fixture_directory) as folder: + p = Path(folder)/"synthetic.json" + p.write_text('{"test_only":true,"x":0}') + binding = m.pin(p) + self.assertEqual(m.json_pin(binding)["x"], 0) + for changed in ('{"test_only":true,"x":0.0}', '{"test_only":true,"x":-0.0}', '{"test_only":true,"x":1}'): + p.write_text(changed) + with self.assertRaises(ValueError): m.json_pin(binding) + self.assertNotEqual(m.canonical({"x": 0.0}), m.canonical({"x": -0.0})) + + def test_bound_uncertainty_integer_codec_preserves_large_exact_ratio(self): + m = self.modules["Analyze"] + from scripts.benchmarks.native_history import integer_json_dumps + policy = {"schema": "solarlab.native-integer-io.v1", "codec": "decimal-with-bounded-hex-v1", + "decimal_digits": 4300, "max_integer_bits": 131072} + with tempfile.TemporaryDirectory(dir=self.fixture_directory) as folder: + path = Path(folder)/"test-only-uncertainty.json" + large = 10**4401+1 + path.write_text(integer_json_dumps({"test_only": True, "upper": {"rational": [large, large+2]}}, policy)) + self.assertEqual(m.observation_pin(m.pin(path), policy)["upper"], F(large, large+2)) + + def test_incomplete_and_wrong_request_rejection(self): + m = self.modules["ReadCases"] + request = {"qualification_policy": {"test_only": True}} + result = {"request_sha256": m.reader._digest(request), "status": "completed_bounded_voltage_lift_native_pilot", + "complete_protocol": True, "first_failure": None, "history": {"encoding": "gzip", "closed": True, + "container_complete": True, "error": None, "path": "NativeHistory.jsonl.gz"}} + m.validate_complete(request, result, result["request_sha256"]) + for field, value in (("closed", False), ("container_complete", False), ("error", "test-only-error")): + broken = deepcopy(result); broken["history"][field] = value + with self.assertRaisesRegex(q.ComparisonError, "incomplete_history"): + m.validate_complete(request, broken, result["request_sha256"]) + with self.assertRaisesRegex(q.ComparisonError, "stale_request"): + m.validate_complete(request, result, "test-only-wrong-id") + + def test_tiny_encoded_words_and_partial_tail(self): + m = self.modules["ReadCases"] + with tempfile.TemporaryDirectory(dir=self.fixture_directory) as folder: + p = Path(folder)/"synthetic-window.jsonl" + raw = json.dumps(m.encode({"schema": "solarlab.qualification-window.v1", "test_only": True, + "low_word": F(1, 2**100)})).encode()+b"\n" + p.write_bytes(raw) + limits = {"window_bytes": 4096, "spool_bytes": 4096, "integer_io_policy": None} + from collections import Counter + read = list(m.windows(p, limits, lambda: None, Counter())) + self.assertEqual(read[0]["low_word"], F(1, 2**100)) + p.write_bytes(raw[:-1]) + with self.assertRaisesRegex(q.ComparisonError, "partial_spool"): + list(m.windows(p, limits, lambda: None, Counter())) + + def test_real_boundary_rejects_missing_actor_messages_and_case_proof(self): + m = self.modules["Analyze"] + with self.assertRaises((ValueError, KeyError)): + m.validate_authority({}, {}, {}, operation_pin={}, admission_pin={}, packet_pin={}, + grant_message=None, start_message=None, actor={"role": "test-only"}) + accepted = {"authority": "Root", "case": "test-only", "accepted": True, + "complete_protocol_accepted": False, "request_sha256": "test-only", "source_packet": {}} + with self.assertRaisesRegex(ValueError, "accepted_complete_case"): + m.validate_case_binding("test-only", accepted, {}, {}, "test-only", {}) + + def test_actual_finite_dispatcher_on_manufactured_windows(self): + from collections import Counter + m = self.modules["Analyze"] + material = {"id": "S0NeutralPublicDeviceV1", "dynamic": False, "temperature": 1, + "area": 1, "epsilon": 1, "trap_density": 0, "mu_n": 1, "mu_p": 1, "ion_initial": 0} + packet = {"x_m": [0, 1], "volumes_m3": [0.5, 0.5], "definition": material, + "variable_offsets": {"n_m3": [0, 2], "p_m3": [2, 4], "phi_V": [4, 6]}} + request = {"numeric_packet": packet, "budgets": {"current_A": 1}} + segment = {"id": "test-only-segment", "start": 0, "end": 1, "voltage": [0, 0], "photons": [0, 0]} + def window(left, right): + return {"segment": segment, "ordinal": 1, "left": F(left), "right": F(right), "tn": F(right), + "h": F(right)-F(left), "coefficients": [(F(1),)]*4+[(F(0),)]*2, "samples": []} + thresholds = {"potential_max_abs_V": F(1, 1000), "carrier_max_abs_log_ratio": F(1, 100), + "ion_max_abs_change_over_declared_c0": F(1, 100), "trap_max_abs_occupancy_change": F(1, 100)} + uncertainty = {k: {"input": F(0), "reference": F(0)} for k in + ("phi_V", "n_m3", "p_m3", "raw_total_inward_A", "same_state_tangent_total_inward_A")} + rows, counters = [], Counter() + result = m.compare_pair(iter([window(0, 1)]), iter([window(0, F(1, 2)), window(F(1, 2), 1)]), + request, request, job={"axis": "time", "cases": ["test-only-coarse", "test-only-fine"], "finest_pair": True}, + route={"original_accuracy": {"finest_pair": thresholds}}, uncertainty=uncertainty, + constants={"Q": 1, "K_B": 1}, trap_rule=None, counters=counters, checkpoint=lambda: None, emit=rows.append) + self.assertTrue(result["passed"]) + self.assertEqual(result["clocks"], 3) + self.assertEqual(counters["current_evaluations"], 6) + self.assertFalse(result["scientific_qualification"]) + self.assertEqual(rows[-1]["key"], ("test-only-segment", F(1), "left")) + + def test_authority_contract_pure_manufactured_metadata(self): + m = self.modules["Analyze"] + actor = m.ROOT_ACTOR.copy() + packet = {"test_only": True, "sha256": "a"*64} + op_pin, ad_pin = {"test_only": "operation"}, {"test_only": "admission"} + op = {"test_only": True, "schema": "solarlab.original-twelve-analysis-operation.v1", "actor": actor, + "operation_id": "synthetic-unit-only", "source_packet": packet, + "scope": "original_fourteen_saved_histories_twelve_finite_comparisons"} + ad = {"test_only": True, "actor": actor, "operation_id": op["operation_id"], "operation": op_pin, + "source_packet": packet, "Root_grant_message_id": "msg_aa", "allowed": True, "scientific_producer_calls": 0} + start = {"test_only": True, "actor": actor, "operation_id": op["operation_id"], "operation": op_pin, + "admission": ad_pin, "Root_START_message_id": "msg_bb", "Root_grant_message_id": "msg_aa", "started": True} + kwargs = dict(operation_pin=op_pin, admission_pin=ad_pin, packet_pin=packet, + grant_message="msg_aa", start_message="msg_bb", actor=actor) + m.validate_authority(op, ad, start, **kwargs) + for changed in ({**kwargs, "start_message": "msg_aa"}, {**kwargs, "packet_pin": {"test_only": "stale"}}): + with self.assertRaises(ValueError): m.validate_authority(op, ad, start, **changed) + + def test_source_subclass_keeps_original_predicates(self): + import ast + tree = ast.parse((self.directory/"ReadCases.py").read_text()) + cls = next(n for n in tree.body if isinstance(n, ast.ClassDef) and n.name == "_ExtractingProtocol") + for name in ("_sample", "_certificate", "_interval"): + method = next(n for n in cls.body if isinstance(n, ast.FunctionDef) and n.name == name) + self.assertTrue(any(isinstance(n, ast.Call) and isinstance(n.func, ast.Attribute) and + n.func.attr == name and isinstance(n.func.value, ast.Call) and + isinstance(n.func.value.func, ast.Name) and n.func.value.func.id == "super" + for n in ast.walk(method))) + + def test_every_metadata_pin_and_source_load_is_counted_and_capped(self): + m = self.modules["Analyze"] + original_cap = m.METADATA_CEILING + with tempfile.TemporaryDirectory(dir=self.fixture_directory) as folder: + p = Path(folder)/"test_only.py"; raw = b"value = 'test-only'\n"; p.write_bytes(raw) + before = m.METADATA_READ_BYTES + binding = m.pin(p) + self.assertEqual(m.METADATA_READ_BYTES-before, len(raw)) + cached = m.PinnedMetadata(binding) + read_before = m.METADATA_READ_BYTES + self.assertEqual(cached.read_bytes(), raw) + self.assertEqual(cached.read_text(), raw.decode()) + self.assertEqual(m.METADATA_READ_BYTES, read_before) + self.assertEqual(m.load_path("_qa_test_only_source", binding).value, "test-only") + try: + m.METADATA_CEILING = m.METADATA_READ_BYTES+len(raw)-1 + for read in (lambda: m.pin(p), lambda: m.read_pin(binding), lambda: m.PinnedMetadata(binding), + lambda: m.load_path("_qa_capped_test_source", binding)): + with self.assertRaisesRegex(ValueError, "aggregate_metadata_read_cap"): + read() + finally: + m.METADATA_CEILING = original_cap + + def test_original_delegated_predicates_use_bounded_io(self): + import ast + m = self.modules["Analyze"] + spec = m.json_pin(m.pin(self.directory/"Request.json")) + packet = m.json_pin(spec["qualification_source_packet"]) + before = m.METADATA_READ_BYTES + consumers = m.qualification_consumers(spec, packet) + self.assertGreater(m.METADATA_READ_BYTES, before) + source = m.read_pin(spec["qualification_job_preparer"]) + tree = ast.parse(source) + original = next(n for n in tree.body if isinstance(n, ast.FunctionDef) and n.name == "prepare_jobs") + self.assertEqual(consumers.prepare_jobs.__code__.co_name, original.name) + old_cap = m.METADATA_CEILING + try: + m.METADATA_CEILING = m.METADATA_READ_BYTES+1 + with self.assertRaisesRegex(ValueError, "aggregate_metadata_read_cap"): + consumers.prepare_jobs({}) + finally: + m.METADATA_CEILING = old_cap + with self.assertRaisesRegex(ValueError, "all_fourteen_complete_cases_required"): + consumers.prepare_jobs({}) + + def test_failed_digest_retains_actual_read_prefix(self): + from collections import Counter + m = self.modules["ReadCases"] + with tempfile.TemporaryDirectory(dir=self.fixture_directory) as folder: + p = Path(folder)/"test-only-bytes"; p.write_bytes(b"x"*27) + counters = Counter() + def stop(): raise RuntimeError("test-only-checkpoint") + with self.assertRaisesRegex(RuntimeError, "test-only-checkpoint"): + m.digest_file(p, 32, stop, counters) + self.assertEqual(counters["encoded_hash_bytes"], 27) + self.assertEqual(m.accounting(counters)["encoded_hash_bytes"]["exact_total"], 27) + + def test_failed_decoding_and_oversized_line_keep_incremental_counts(self): + from collections import Counter + m = self.modules["ReadCases"] + with tempfile.TemporaryDirectory(dir=self.fixture_directory) as folder: + p = Path(folder)/"test-only-lines"; p.write_bytes(b"invalid-json\n") + counters = Counter() + with m._CountedHistoryReader(p, encoding="raw", max_record_bytes=64, max_logical_bytes=64, + counters=counters, counter_key="decoded_history_bytes", checkpoint=lambda: None) as stream: + rows = m._ObservedRows(stream, 2, lambda: None, counters=counters) + with self.assertRaises(ValueError): rows.take() + self.assertEqual(counters["decoded_history_bytes"], 13) + self.assertEqual(counters["decoded_records"], 1) + counters = Counter() + with m._CountedHistoryReader(p, encoding="raw", max_record_bytes=2, max_logical_bytes=64, + counters=counters, counter_key="decoded_history_bytes", checkpoint=lambda: None) as stream: + with self.assertRaises(ValueError): next(stream) + self.assertEqual(counters["decoded_history_bytes"], 3) + + def test_interrupted_decoder_reports_unknown_tail_without_zero_total(self): + from collections import Counter + from types import SimpleNamespace + import io + m = self.modules["ReadCases"]; counters = Counter(); raw = io.BytesIO(b"test-only") + class Failure: + def readline(self, size): + raw.read(3) + raise OSError("test-only-decoder-failure") + counted = m._ReadlineCounter(SimpleNamespace(_raw=raw), Failure(), counters, "decoded_history_bytes", lambda: None) + with self.assertRaisesRegex(OSError, "test-only-decoder-failure"): counted.readline(8) + measured = m.accounting(counters) + self.assertIsNone(measured["decoded_history_bytes"]["exact_total"]) + self.assertFalse(measured["decoded_history_bytes"]["complete_measurement"]) + self.assertEqual(measured["history_encoded_scan_bytes"]["exact_total"], 3) + + def test_spool_failure_is_charged_before_json_or_checkpoint(self): + from collections import Counter + m = self.modules["ReadCases"] + with tempfile.TemporaryDirectory(dir=self.fixture_directory) as folder: + p = Path(folder)/"test-only-spool"; p.write_bytes(b"invalid-json\n") + limits = {"window_bytes": 64, "spool_bytes": 64, "integer_io_policy": None} + counters = Counter() + with self.assertRaises(ValueError): list(m.windows(p, limits, lambda: None, counters)) + self.assertEqual(counters["spool_read_bytes"], 13) + def stop(): raise RuntimeError("test-only-stop") + counters = Counter() + with self.assertRaisesRegex(RuntimeError, "test-only-stop"): list(m.windows(p, limits, stop, counters)) + self.assertEqual(counters["spool_read_bytes"], 13) + + def test_serialization_is_bounded_before_materializing_large_JSON(self): + m = self.modules["ReadCases"] + value = {"test_only": True, "low_word": F(1, 2**120)} + self.assertIn(b"rational", m.serialized(value, None, 4096)) + with self.assertRaisesRegex(q.ComparisonError, "serialization_memory_cap"): + m.serialized({"test_only": "x"*1000}, None, 512) + + def test_observed_controls_must_be_complete_and_bound(self): + m = self.modules["Analyze"] + segment = {"id": "test-only-segment", "start": 0, "end": 1} + request = {"controls": {"rtol": 0.1, "atol": [0.02], "max_step": 0.25}, "segments": [segment]} + row = {"segment_sha256": m.canonical(segment), "constructor_controls": request["controls"], + "rtol_hex": 0.1.hex(), "atol_hex": [0.02.hex()], "observed_intervals": 1, + **{k: "c"*64 for k in ("frame_identity", "constructor_record_sha256", "packet_chain_sha256")}} + evidence = {"test_only": True, "complete_original_predicates": True, "request_sha256": m.canonical(request), + "history_sha256": "a"*64, "reader_sha256": "b"*64, "intervals": 1, + "observed_controls": {segment["id"]: row}} + m.validate_control_observations(request, evidence, "a"*64, "b"*64) + for key, value in (("history_sha256", "d"*64), ("reader_sha256", "d"*64), + ("complete_original_predicates", False), ("observed_controls", {})): + bad = deepcopy(evidence); bad[key] = value + with self.assertRaises(ValueError): m.validate_control_observations(request, bad, "a"*64, "b"*64) + + for key, value in (("rtol_hex", 0.01.hex()), ("atol_hex", [0.2.hex()]), ("observed_intervals", 0)): + bad = deepcopy(evidence); bad["observed_controls"][segment["id"]][key] = value + with self.assertRaises(ValueError): m.validate_control_observations(request, bad, "a"*64, "b"*64) + + def test_actual_control_observation_collector_rejects_unobserved_or_changed_weights(self): + from types import SimpleNamespace + import struct + m = self.modules["ReadCases"] + protocol = m._ExtractingProtocol.__new__(m._ExtractingProtocol) + protocol.size, protocol.segment, protocol.control_observations = 2, {"id": "test-only"}, {} + constructor = {"segment_sha256": m.reader._digest(protocol.segment), + "constructor_controls": {"rtol": 0.1, "atol": [0.2, 0.3]}} + protocol.rows = SimpleNamespace(constructor_records={constructor["segment_sha256"]: constructor}) + weights = {"callback_calls": 0, "callback_status": 0, "installed": True, "setter": "IDAWFtolerances", + "setter_status": 0, "frame_identity": "a"*64, "rtol_hex": 0.1.hex(), + "atol": struct.pack("<2d", 0.2, 0.3)} + sf = SimpleNamespace(latest_weights=weights) + with self.assertRaisesRegex(q.ComparisonError, "observed_effective_controls_missing"): + protocol.observe_controls(sf, "b"*64) + weights["callback_calls"] = 1 + protocol.observe_controls(sf, "b"*64) + protocol.observe_controls(sf, "c"*64) + row = protocol.control_observations["test-only"] + self.assertEqual(row["observed_intervals"], 2) + self.assertEqual(row["atol_hex"], [0.2.hex(), 0.3.hex()]) + weights["rtol_hex"] = 0.01.hex() + with self.assertRaisesRegex(q.ComparisonError, "changed_observed_controls"): + protocol.observe_controls(sf, "d"*64) + + def test_metadata_read_error_keeps_prefix_and_unknown_tail(self): + from unittest.mock import patch + m = self.modules["Analyze"] + previous_unknown = m.METADATA_IO_UNKNOWN + with tempfile.TemporaryDirectory(dir=self.fixture_directory) as folder: + p = Path(folder)/"test-only-io"; p.write_bytes(b"test-only-data") + normal_open = Path.open + class Interrupted: + def __init__(self, stream): self.stream, self.calls = stream, 0 + def __enter__(self): return self + def __exit__(self, *args): self.stream.close() + def fileno(self): return self.stream.fileno() + def read(self, size): + self.calls += 1 + if self.calls == 1: return self.stream.read(2) + raise OSError("test-only-primary-IO-error") + def opening(path, *args, **kwargs): + stream = normal_open(path, *args, **kwargs) + return Interrupted(stream) if path == p else stream + before = m.METADATA_READ_BYTES + try: + with patch.object(Path, "open", opening): + with self.assertRaisesRegex(OSError, "test-only-primary-IO-error"): + m.pin(p) + self.assertEqual(m.METADATA_READ_BYTES-before, 2) + self.assertIsNone(m.metadata_accounting()["exact_read_bytes"]) + finally: + m.METADATA_IO_UNKNOWN = previous_unknown + + +if __name__ == "__main__": + unittest.main() diff --git a/tests/numerical_contracts/test_reference_refresh.py b/tests/numerical_contracts/test_reference_refresh.py new file mode 100644 index 00000000..20d4bfd2 --- /dev/null +++ b/tests/numerical_contracts/test_reference_refresh.py @@ -0,0 +1,744 @@ +"""Opt-in reference refresh contracts using manufactured physical metadata only.""" +from dataclasses import asdict +from copy import deepcopy +from fractions import Fraction +import json +from types import SimpleNamespace + +import numpy as np +import pytest + +from .test_native_transfer import diagnostic_transfer_case +from scripts.benchmarks.contract_prototype import ContractError +from scripts.benchmarks.precision_prototype import PrimitiveExpansion, decode_point, encode_point + + +@pytest.fixture +def refresh_case(diagnostic_transfer_case): + c = diagnostic_transfer_case + primitive = lambda rows: PrimitiveExpansion(tuple(np.array([float.fromhex(x) for x in row]) for row in rows)) + frame = c.d.SegmentAffineFrame(c.mapping.identity, c.d.digest(asdict(c.segment)), 1, + c.prior.identity, "b"*64, float(c.segment.start), + primitive(c.seed["frame"]["q0_words_hex"]), primitive(c.seed["frame"]["v0_words_hex"])) + mapping = c.d.AffineVoltageMap(c.model, frame, c.mapping.mapped_input_profile) + time = 0.625 + inputs, input_rate = c.segment.inputs(time) + z, zdot = np.full(10, 2.**-10), np.full(10, -2.**-12) + point, _ = mapping.trial(z, time, inputs, predecessor=c.saved) + return SimpleNamespace(**vars(c), old_mapping=mapping, point=point, z=z, zdot=zdot, + input_rate=input_rate) + + +def test_refresh_preserves_full_point_rate_and_inputs(refresh_case, monkeypatch): + c = refresh_case + before = encode_point(c.point) + def forbidden(*args, **kwargs): + raise AssertionError("refresh must not create a trial or evaluate a physical equation") + monkeypatch.setattr(c.d.AffineVoltageMap, "trial", forbidden) + fresh, z, zdot, record = c.d._voltage_lift_frame_handoff( + c.old_mapping, c.point, c.z, c.zdot, c.input_rate, "c"*64) + assert record["Point"] == before == encode_point(c.point) + assert c.point.identity == record["point_identity"] + assert before["payload"]["authority"]["transition"]["previous_point"] == c.saved.identity + assert record["input_rates_hex"] == [float(v).hex() for v in c.input_rate] + assert np.any(c.input_rate) and np.any(c.old_mapping.lift) + assert record["inputs_hex"] == [float(v).hex() for v in c.point.inputs] + assert np.all(z == 0) and np.all(zdot == 0) + assert fresh.model is c.model and fresh.frame.v0.words[1].any() + assert not record["native_initialization_performed"] + assert fresh.bind_rate(c.point, z, zdot, c.input_rate).point is c.point + + +def test_refresh_repeated_low_words_and_signed_zero(refresh_case): + c = refresh_case + rates = c.input_rate.copy(); rates[1] = -0.0 + first, z, zdot, one = c.d._voltage_lift_frame_handoff( + c.old_mapping, c.point, c.z, c.zdot, rates, "c"*64) + second, _, _, two = c.d._voltage_lift_frame_handoff(first, c.point, z, zdot, rates, "d"*64) + assert one["Point"] == two["Point"] + assert one["physical_state_words_hex"] == two["physical_state_words_hex"] + assert one["physical_rate_words_hex"] == two["physical_rate_words_hex"] + assert one["input_rates_hex"][1] == two["input_rates_hex"][1] == "-0x0.0p+0" + assert second.frame.logical_initialization_index == first.frame.logical_initialization_index+1 + assert any(float.fromhex(v) for row in two["physical_state_words_hex"][1:] for v in row) + + +def test_refresh_rejects_raw_point_mismatch(refresh_case): + c = refresh_case + wrong = c.z.copy(); wrong[0] += 2.**-15 + with pytest.raises(ContractError, match="voltage_lift_point_raw_coordinate_mismatch"): + c.d._voltage_lift_frame_handoff(c.old_mapping, c.point, wrong, c.zdot, c.input_rate, "c"*64) + + +def test_refresh_four_word_capacity_is_not_truncated(refresh_case): + c = refresh_case + tiny = np.nextafter(0., 1.) + raw = PrimitiveExpansion(tuple(np.full(10, x) for x in (1., 2.**-60, 2.**-120, 2.**-180))) + with pytest.raises(ContractError, match="primitive_expansion_capacity_exceeded"): + raw.add(np.full(10, 2.**-240)) + with pytest.raises((ArithmeticError, ContractError)): + c.d._frame_scale(np.full(10, tiny), np.full(10, 0.5)) + assert sum((Fraction(float(w[0])) for w in raw.words), Fraction()) == sum( + map(Fraction, (1., 2.**-60, 2.**-120, 2.**-180))) + + +@pytest.fixture +def admitted_refresh(refresh_case, monkeypatch): + """Real transfer/policy code with explicit manufactured acceptance receipts.""" + from scripts.benchmarks.native_observation import observation_record + c = refresh_case + request = c.request + request.pop("diagnostic_interval") + request.update(segments=[asdict(c.segment)], numeric_packet={ + "layout_identity": c.model.layout.identity, "initial_reference": encode_point(c.model.reference), + "variable_offsets": {name: [value.start, value.stop] for name, value in c.model.layout.offsets.items()}}, + controls={"calc_initcond": None, "rtol": 1e-6, "atol": [1e-10]*10, "first_step": 0.0, + "nonlin_guard": "first-correction-wrms-v1", "nonlin_trace_capacity": 8}, + budgets={"current_A": 1e-9, "constraint_potential_V": 1e-8, "constraint_charge_C": 1e-15, + "contact_relative": 1e-8, "ion_inventory_relative": 1e-8, + "maximum_site_fraction": 1.}, observation_times={c.segment.id: [.5, .75]}, quadrature={}) + request["reference_refresh_policy"] = c.d._reference_refresh_policy(request, c.point.time) + c.context.request_sha256 = c.d.digest(request) + binding = c.d.VoltageLiftSegmentAdapter(c.d.VoltageLiftAdapter(c.old_mapping), c.context, c.segment) + monkeypatch.setattr(c.d, "voltage_lift_rate_projection", lambda *args: {"manufactured_no_projection": True}) + history = c.d.VoltageLiftHistory(c.old_mapping, + parent_reference=c.d.VoltageLiftHistory(c.mapping).reference_record) + point, _, _, h = history.build_sample(c.z, c.point.time, c.point.inputs, c.saved, c.zdot, c.input_rate, origin="native") + assert point.identity == c.point.identity + sample = {"kind": "voltage_lift_rate_pair", "request_sha256": c.context.request_sha256, + "map_identity": c.old_mapping.identity, "history": h, "segment_id": c.segment.id, + "segment_sha256": c.d.digest(asdict(c.segment)), + "state_checks": {"passed": True, "state_identity": point.identity, "state_changed": False, + "constraint_potential_bound_V": 0., "constraint_charge_bound_C": 0., "contact_max_relative": 0., + "ion_inventory_relative": 0., "maximum_site_fraction": .5, "minimum_f": .25, "maximum_f": .25}} + current = {"high_hex": [0.0.hex()]*2, "low_hex": [0.0.hex()]*2} + sample.update(raw={"physical_rate": {"identity": c.old_mapping.bind_rate(point, c.z, c.zdot, c.input_rate).identity}, + "total_inward": current}, physical_tangent={"total_inward": deepcopy(current)}) + sample["record_sha256"] = c.d.digest(sample) + frame_id, path_id = "e"*64, "f"*64 + interval = {"kind": "voltage_lift_interval_charge", "segment_id": c.segment.id, + "right": {"record_sha256": sample["record_sha256"], "point_identity": point.identity, + "time_s": point.time, "origin": "native", "segment_id": c.segment.id}, + "coefficient_frame_identity": frame_id, "normal_query_performed": False, "states_projected": False, + "observation": observation_record({"passed": True, "path_identity": path_id})} + domain = {"kind": "voltage_lift_polynomial_domain", + "evidence": observation_record({"passed": True, "path_identity": path_id, "checks": {"manufactured_inventory": True}})} + certificate = {"kind": "voltage_lift_current_certificate", "sample_record_sha256": sample["record_sha256"], + "evidence": observation_record({"passed": True, "path_identity": path_id, "point_identity": point.identity, + "native_rate_or_state_changed": False, "combined_current_bound_A": (Fraction(0), Fraction(0))})} + ledger = observation_record({"prefixes": {"raw_polynomial": {"absolute_defects": (Fraction(1, 10),)*3, + "reference_errors": (Fraction(1, 100),)*3}}, "sample_cursor": 1, + "upper_accumulator": {"index": 7, "upper_numerators": (11, 13), "rounded_terms": (2, 3)}, + "last_accepted": interval["right"], "physical_reference_identity": c.model.reference.identity, "signed_prefix": None}) + endpoint = {"internal_t": point.time, + "identity": ("manufactured-native-owner", 1, 7, point.time.hex(), point.time.hex(), "a"*64), + "nsteps": 7, + "raw_y": c.z.tobytes(), "raw_yp": c.zdot.tobytes()} + frame = SimpleNamespace(identity=frame_id, owner="manufactured-native-owner", generation=1, + binding_identity="b"*64, snapshot={"endpoint": endpoint, "native_before": {"nsteps": 7}}) + return SimpleNamespace(**vars(c), binding=binding, sample=sample, interval=interval, domain=domain, + certificate=certificate, ledger=ledger, frame=frame) + + +def promote_reference_transfer_v2(c, *, failed=True, observation="online"): + from scripts.benchmarks.physical_tolerance import certificate_failure_policy + c.request["certificate_failure_policy"] = certificate_failure_policy(observation=observation) + c.request["reference_refresh_policy"] = c.d._reference_refresh_policy(c.request, c.point.time) + c.context.request_sha256 = c.d.digest(c.request) + c.binding = c.d.VoltageLiftSegmentAdapter(c.d.VoltageLiftAdapter(c.old_mapping), c.context, c.segment) + c.sample["request_sha256"] = c.context.request_sha256 + if failed: + c.sample["state_checks"].update(passed=False, contact_max_relative=2e-8) + c.sample["record_sha256"] = c.d.digest({k: v for k, v in c.sample.items() if k != "record_sha256"}) + c.interval["right"]["record_sha256"] = c.sample["record_sha256"] + c.interval["kind"] = "voltage_lift_interval_certificate" + c.certificate["sample_record_sha256"] = c.sample["record_sha256"] + progress = c.d._ScientificProgress(c.request["certificate_failure_policy"]) + progress.note("state_accuracy", not failed, c.sample) + c.interval["scientific_progress"] = progress.payload() + c.ledger.update(scientific_progress=progress.payload(), last_accepted=None) + if observation == "sealed-history": + c.interval.update(kind="voltage_lift_interval_deferred", + observation={"path_identity": "f"*64, "charge_observation": "pending"}, + charge_observation={"status": "pending", "deferred_intervals": 7}) + c.ledger.update(prefixes=None, physical_charge=None, upper_accumulator=None, signed_prefix=None, + charge_observation={"status": "pending", "deferred_intervals": 7}) + return c + + +def prepare(c): + return c.d.prepare_voltage_lift_reference_refresh(c.binding, c.point, c.z, c.zdot, + sample=c.sample, interval=c.interval, domain=c.domain, certificate=c.certificate, + ledger=c.ledger, native_frame=c.frame) + + +class NativeSpy: + """Only the public statistics/init_step interface; no native backend.""" + def __init__(self, c, mapping, installed, damage=None): + self.c, self.mapping, self.installed, self.damage = c, mapping, installed, damage + self.calls = 0 + + def statistics(self): + c = self.c + frame = c.old_mapping.frame if not self.calls else self.mapping.frame + gen = 1 if not self.calls or self.damage == "generation" else 2 + owner = "foreign" if not self.calls and self.damage == "old_owner" else c.frame.owner + state = {"schema": "sksundae.ida.parent-affine-weight-state.v1", "owner": owner, "generation": gen, + "frame_identity": ("x"*64 if self.damage == ("old_frame" if not self.calls else "frame") else frame.identity), + "size": 10, "installed": True, "setter": "IDAWFtolerances", "setter_status": 0, + "t0_hex": frame.t0.hex(), "q0_words": tuple(w.tobytes() for w in frame.q0.words), + "v0_words": tuple(w.tobytes() for w in frame.v0.words), "callback_calls": 0 if self.calls else 1, + "callback_status": None if self.calls else 0, "rtol_hex": c.request["controls"]["rtol"].hex(), + "atol": np.array(c.request["controls"]["atol"]).tobytes(), "raw_tolerance_getter": False, + "weight_rounding": frame.payload()["weight_rounding"], "basis_time_hex": None, "basis_u": None, + "rounded_parent": None, "computed_weights": None, "failure_component": None} + guard = {"installed_at_capture": True, "applied_policy": "first-correction-wrms-v1", + "requested_policy": "first-correction-wrms-v1", "delegate_data_verified": True, + "newton_ops_verified": True, "complete": True, "capacity": 8, "owner": owner, + "generation": gen-1 if self.calls and self.damage == "guard_generation" else gen, "build_identity": "f"*64} + return {**{k: 0 for k in c.d._IDA_COUNTER_FIELDS}, "num_steps": 0 if self.calls else 7, + "current_time": c.point.time, "observation_owner": owner, "observation_generation": gen, + "parent_weight_state": state, "nonlinear_guard": guard, "nonlinear_control_state": {"build_identity": "f"*64}} + + def init_step(self, time, z, zdot, *, parent_weight_frame): + assert self.installed[-1].adapter.mapping is self.mapping + assert parent_weight_frame == self.mapping.frame.weight_option() + assert time == self.c.point.time and not np.any(z) and not np.any(zdot) + self.calls += 1 + values = z.copy() + if self.damage == "state": values[0] = 2.**-20 + return SimpleNamespace(t=time, y=values, yp=zdot.copy(), success=True, status=0, message="manufactured init") + + +def initialized(c, damage=None): + fresh, zero, _, prepared = prepare(c) + installed = [] + solver = NativeSpy(c, fresh, installed, damage) + result = c.d.apply_voltage_lift_reference_refresh(solver, c.binding, fresh, zero, prepared, installed.append) + return fresh, prepared, solver, installed, result + + +def independent_reader(c): + from scripts.benchmarks.native_readback import SegmentFrameCheck, reference_refresh_policy + # Existing parent-policy checks have separate fixtures; this component + # starts from an already verified old map and uses the real new policy. + reader = object.__new__(SegmentFrameCheck) + reader.request, reader.request_id = c.request, c.context.request_sha256 + reader.enabled, reader.size, reader.input_words = True, 10, 12 + reader.base = c.mapping.payload() + reader.active, reader.current_map = c.old_mapping.frame.payload(), c.old_mapping.payload() + reader.segment = asdict(c.segment) + reader.refresh_policy, reader.refreshes, reader.frames = reference_refresh_policy(c.request), [], [] + return reader + + +@pytest.mark.parametrize("failed", [False, True]) +@pytest.mark.parametrize("observation", ["online", "sealed-history"]) +def test_v2_transfer_preserves_failed_or_pending_science_and_exact_words(admitted_refresh, failed, observation): + from scripts.benchmarks.native_readback import _decode + c = promote_reference_transfer_v2(admitted_refresh, failed=failed, observation=observation) + old_point, old_ledger = encode_point(c.point), deepcopy(c.ledger) + fresh, prepared, solver, installed, result = initialized(c) + binding, returned, statistics, complete = result + reader = independent_reader(c) + actual = reader.prepare_refresh(prepared, asdict(c.segment), 1, c.sample, c.interval, + c.domain, c.certificate, _decode(c.ledger)) + reader.complete_refresh(prepared, complete, statistics) + assert actual == fresh.payload() + assert complete["schema"] == "solarlab.reference-state-transfer.v2" + assert "acceptance" not in complete and "acceptance_sha256" not in complete["transfer"] + assert complete["state_transfer"]["schema"] == "solarlab.numeric-reference-transfer-evidence.v2" + assert complete["state_transfer"]["scientific_progress"]["status"] == ("failed" if failed else "pending") + assert complete["ledger"] == old_ledger and complete["transfer"]["Point"] == old_point == encode_point(c.point) + assert complete["transfer"]["physical_state_words_hex"] == c.sample["history"]["physical_cumulative_words_hex"] + assert complete["transfer"]["physical_rate_words_hex"] == c.sample["history"]["physical_rate_words_hex"] + assert solver.calls == 1 and complete["new_epoch"]["generation"] == 2 + assert complete["native_multistep_history_discarded"] is True + + +@pytest.mark.parametrize("observation", ["online", "sealed-history"]) +@pytest.mark.parametrize("target", ["interval", "state_transfer", "ledger"]) +@pytest.mark.parametrize("alias", [0, 0.0], ids=["int-zero", "float-zero"]) +def test_v2_reader_rejects_rehashed_progress_alias(admitted_refresh, observation, target, alias): + from scripts.benchmarks.native_readback import HistoryVerificationError, _decode + c = promote_reference_transfer_v2(admitted_refresh, observation=observation) + if target == "interval": + c.interval["scientific_progress"]["passed"] = alias + _, _, _, prepared = prepare(c) + if target in ("state_transfer", "ledger"): + prepared[target]["scientific_progress"]["passed"] = alias + if target == "ledger": + prepared["ledger_sha256"] = c.d.digest(prepared["ledger"]) + prepared["record_sha256"] = c.d.digest({k: v for k, v in prepared.items() if k != "record_sha256"}) + reader = independent_reader(c) + with pytest.raises(HistoryVerificationError, match="scientific_progress|scientific_acceptance"): + reader.prepare_refresh(prepared, asdict(c.segment), 1, c.sample, c.interval, + c.domain, c.certificate, _decode(c.ledger)) + + +@pytest.mark.parametrize("mode", ["absent", "null", "false", "valid"]) +def test_refresh_certificate_policy_mode_is_validated_on_both_ends(admitted_refresh, mode): + from scripts.benchmarks.native_readback import reference_refresh_policy + from scripts.benchmarks.physical_tolerance import certificate_failure_policy + c = admitted_refresh + if mode != "absent": + c.request["certificate_failure_policy"] = {"null": None, "false": False, + "valid": certificate_failure_policy()}[mode] + if mode in ("null", "false"): + with pytest.raises(ValueError, match="certificate_policy_binding"): + c.d._reference_refresh_policy(c.request, c.point.time) + with pytest.raises(ValueError, match="certificate_policy_binding"): + reference_refresh_policy(c.request) + else: + policy = c.d._reference_refresh_policy(c.request, c.point.time) + c.request["reference_refresh_policy"] = policy + assert reference_refresh_policy(c.request) == policy + assert policy["schema"] == ("solarlab.reference-state-transfer-policy.v2" if mode == "valid" + else "solarlab.accepted-reference-refresh-policy.v1") + + +@pytest.mark.parametrize("target", ["state_transfer", "ledger"]) +@pytest.mark.parametrize("value", [None, False]) +def test_v2_reader_rejects_malformed_progress_container(admitted_refresh, target, value): + from scripts.benchmarks.native_readback import HistoryVerificationError, _decode + c = promote_reference_transfer_v2(admitted_refresh) + _, _, _, prepared = prepare(c) + prepared[target] = value + if target == "ledger": + prepared["ledger_sha256"] = c.d.digest(value) + prepared["record_sha256"] = c.d.digest({k: v for k, v in prepared.items() if k != "record_sha256"}) + with pytest.raises(HistoryVerificationError, match="scientific_progress_type"): + independent_reader(c).prepare_refresh(prepared, asdict(c.segment), 1, c.sample, c.interval, + c.domain, c.certificate, _decode(c.ledger)) + + +@pytest.mark.parametrize("damage", ["state", "generation", "old_owner", "guard_generation"]) +def test_v2_scientific_failure_does_not_hide_native_transfer_failure(admitted_refresh, damage): + c = promote_reference_transfer_v2(admitted_refresh) + with pytest.raises(ContractError): + initialized(c, damage=damage) + + +def test_v2_refresh_policy_binds_each_actual_request_not_shared_N16_ancestry(admitted_refresh): + from scripts.benchmarks.native_readback import reference_refresh_policy, HistoryVerificationError + c = promote_reference_transfer_v2(admitted_refresh) + original = c.request["reference_refresh_policy"] + for key, replacement in (("map_identity", "7"*64), ("controls", {**c.request["controls"], "rtol": 1e-5}), + ("budgets", {**c.request["budgets"], "current_A": 2e-9})): + request = deepcopy(c.request); request[key] = replacement + with pytest.raises(HistoryVerificationError): reference_refresh_policy(request) + request["reference_refresh_policy"] = c.d._reference_refresh_policy(request, c.point.time) + current = reference_refresh_policy(request) + assert current != original and current["time_hex"] == original["time_hex"] + assert current["trigger"] == "exact_domain_safe_native_endpoint" + + +def test_refresh_callback_and_weight_epoch_are_coherent(admitted_refresh): + c = admitted_refresh + before_point, before_ledger = encode_point(c.point), deepcopy(c.ledger) + fresh, prepared, solver, installed, result = initialized(c) + binding, returned, statistics, complete = result + assert solver.calls == 1 and len(installed) == 2 and installed[-1] is binding + assert complete["new_epoch"] == {"owner": c.frame.owner, "generation": 2, "nsteps": 0} + assert c.binding.numeric_handoff_json is None and binding.numeric_handoff_json is not None + assert complete["ledger"] == c.ledger == before_ledger + assert encode_point(c.point) == before_point and not np.any(returned["z"]) + assert fresh.frame.v0.words[1].any() + + +@pytest.mark.parametrize("damage", ["native_only", "pending", "failed", "point", "budget", "current", "rate"]) +def test_refresh_requires_complete_acceptance(admitted_refresh, damage): + c = admitted_refresh + if damage == "native_only": c.interval.clear(); c.interval["passed"] = True + if damage == "pending": c.interval["observation"]["passed"] = False + if damage == "failed": c.domain["evidence"]["passed"] = False + if damage == "point": c.sample["state_checks"]["state_identity"] = "d"*64 + if damage == "budget": c.sample["state_checks"]["constraint_charge_bound_C"] = 1. + if damage == "current": c.certificate["sample_record_sha256"] = "d"*64 + if damage == "rate": c.sample["history"]["raw_solver_zdot_hex"][0] = (2.**-20).hex() + c.sample["record_sha256"] = c.d.digest({k: v for k, v in c.sample.items() if k != "record_sha256"}) + with pytest.raises((ContractError, KeyError)): + prepare(c) + + +@pytest.mark.parametrize("damage", ["old_owner", "old_frame", "generation", "frame", "state", "guard_generation"]) +def test_refresh_rejects_stale_native_context(admitted_refresh, damage): + c = admitted_refresh + fresh, zero, _, prepared = prepare(c) + installed = []; solver = NativeSpy(c, fresh, installed, damage) + with pytest.raises(ContractError) as caught: + c.d.apply_voltage_lift_reference_refresh(solver, c.binding, fresh, zero, prepared, installed.append) + assert hasattr(caught.value, "reference_refresh_evidence") + assert solver.calls == (0 if damage.startswith("old_") else 1) + + +def test_refresh_independent_full_word_and_ledger_check(admitted_refresh): + from scripts.benchmarks.native_readback import _decode + c = admitted_refresh + fresh, prepared, _, _, result = initialized(c) + _, _, stats, complete = result + reader = independent_reader(c) + assert reader.prepare_refresh(prepared, asdict(c.segment), 1, c.sample, c.interval, c.domain, + c.certificate, _decode(c.ledger)) == fresh.payload() + reader.weight_state(stats["raw_statistics"]["parent_weight_state"], owner=c.frame.owner, generation=2, initial=True) + reader.complete_refresh(prepared, complete, stats) + assert len(reader.refreshes) == 1 and reader.frames[0]["physical_segment_ordinal"] == 1 + + +@pytest.mark.parametrize("damage", ["erased_prefix", "doubled_prefix", "cursor", "rate_word", "Point", "frame", "acceptance"]) +def test_refresh_reader_rejects_corruption(admitted_refresh, damage): + from scripts.benchmarks.native_readback import _decode, HistoryVerificationError + c = admitted_refresh + _, _, _, record = prepare(c) + if damage in {"erased_prefix", "doubled_prefix"}: + record["ledger"]["prefixes"]["raw_polynomial"]["absolute_defects"] = {"tuple": [{"rational": [0 if damage=="erased_prefix" else 1, 5]}]*3} + record["ledger_sha256"] = c.d.digest(record["ledger"]) + if damage == "cursor": record["ledger"]["sample_cursor"] += 1; record["ledger_sha256"] = c.d.digest(record["ledger"]) + if damage == "rate_word": record["transfer"]["physical_rate_words_hex"][1][0] = (2.**-80).hex() + if damage == "Point": record["transfer"]["Point"]["payload"]["identity"] = "c"*64 + if damage == "frame": record["transfer"]["new_frame"]["q0_words_hex"][0][0] = 0.0.hex() + if damage == "acceptance": record["acceptance"] = {"passed": True} + record["record_sha256"] = c.d.digest({k: v for k, v in record.items() if k != "record_sha256"}) + with pytest.raises((HistoryVerificationError, KeyError)): + independent_reader(c).prepare_refresh(record, asdict(c.segment), 1, c.sample, c.interval, c.domain, c.certificate, _decode(c.ledger)) + + +@pytest.mark.parametrize("serialized", [False, True], ids=["memory", "json"]) +def test_refresh_clock_and_native_epoch_guards(admitted_refresh, serialized): + from scripts.benchmarks.interval_observation import AcceptedClock + from scripts.benchmarks.native_observation import require_frame_successor + c = admitted_refresh + fresh, _, _, _, result = initialized(c) + complete = result[-1] + if serialized: + complete = json.loads(json.dumps(complete)) + before = AcceptedClock(.5, .625, .125, 1, 7, 2, .5, .75, c.segment.id, owner=c.frame.owner) + after = AcceptedClock(.625, .6875, .0625, 2, 1, 1, .5, .75, c.segment.id, owner=c.frame.owner) + before.require_successor(after, numeric_handoff=complete) + with pytest.raises(ContractError): before.require_successor(after) + for start in (.624, .626): + with pytest.raises(ContractError, match="gap_or_overlap"): + before.require_successor(AcceptedClock(start, .6875, .0625, 2, 1, 1, .5, .75, c.segment.id, owner=c.frame.owner), numeric_handoff=complete) + zero = np.zeros(10) + current = SimpleNamespace(identity="c"*64, owner=c.frame.owner, generation=2, binding_identity=c.frame.binding_identity, + snapshot={"predecessor": {"internal_t": c.point.time, "nsteps": 0, "raw_y": zero.tobytes(), "raw_yp": zero.tobytes()}, + "native_before": {"nsteps": 1}}) + require_frame_successor(c.frame, current, previous_segment=c.segment, current_segment=c.segment, + previous_mapping=c.old_mapping, current_mapping=fresh, numeric_handoff=complete) + with pytest.raises(ContractError): + require_frame_successor(c.frame, current, previous_segment=c.segment, current_segment=c.segment, + previous_mapping=c.old_mapping, current_mapping=fresh) + damaged = deepcopy(complete); damaged["transfer"]["physical_rate_words_hex"][1][0] = (2.**-80).hex() + damaged["record_sha256"] = c.d.digest({k: v for k, v in damaged.items() if k != "record_sha256"}) + with pytest.raises(ContractError): + require_frame_successor(c.frame, current, previous_segment=c.segment, current_segment=c.segment, + previous_mapping=c.old_mapping, current_mapping=fresh, numeric_handoff=damaged) + + +@pytest.mark.parametrize("damage", [None, "v1_disguise", "no_homomorphism", "science_erased", "words"]) +def test_v2_clock_and_frame_require_distinct_numerical_evidence(admitted_refresh, damage): + from scripts.benchmarks.interval_observation import AcceptedClock + from scripts.benchmarks.native_observation import require_frame_successor + c = promote_reference_transfer_v2(admitted_refresh) + fresh, _, _, _, (_, _, _, complete) = initialized(c) + before = AcceptedClock(.5, .625, .125, 1, 7, 2, .5, .75, c.segment.id, owner=c.frame.owner) + after = AcceptedClock(.625, .6875, .0625, 2, 1, 1, .5, .75, c.segment.id, owner=c.frame.owner) + zero = np.zeros(10) + current = SimpleNamespace(identity="c"*64, owner=c.frame.owner, generation=2, binding_identity=c.frame.binding_identity, + snapshot={"predecessor": {"internal_t": c.point.time, "nsteps": 0, "raw_y": zero.tobytes(), "raw_yp": zero.tobytes()}, + "native_before": {"nsteps": 1}}) + if damage == "v1_disguise": complete["schema"] = "solarlab.accepted-reference-handoff.v1" + if damage == "no_homomorphism": complete["transfer"].pop("state_transfer_sha256") + if damage == "science_erased": complete["state_transfer"]["scientific_progress"] = {"status": "passed"} + if damage == "words": complete["transfer"]["physical_rate_words_hex"][1][0] = (2.**-80).hex() + complete["record_sha256"] = c.d.digest({k: v for k, v in complete.items() if k != "record_sha256"}) + if damage in {None, "words"}: + before.require_successor(after, numeric_handoff=complete) + else: + with pytest.raises((ContractError, KeyError)): + before.require_successor(after, numeric_handoff=complete) + def frame_check(): + require_frame_successor(c.frame, current, previous_segment=c.segment, current_segment=c.segment, + previous_mapping=c.old_mapping, current_mapping=fresh, numeric_handoff=complete) + if damage is None: + frame_check() + else: + with pytest.raises((ContractError, KeyError)): + frame_check() + + +def test_refresh_legacy_policy_absence_and_single_cap(admitted_refresh): + from scripts.benchmarks.native_readback import reference_refresh_policy, HistoryVerificationError + c = admitted_refresh + legacy = dict(c.request); legacy.pop("reference_refresh_policy") + assert reference_refresh_policy(legacy) is None + assert reference_refresh_policy(c.request) == c.request["reference_refresh_policy"] + for key, value in (("max_refreshes", 2), ("time_hex", c.segment.start.hex()), ("controls_sha256", "a"*64)): + bad = deepcopy(c.request); bad["reference_refresh_policy"][key] = value + with pytest.raises(HistoryVerificationError): reference_refresh_policy(bad) + + +class Rows: + def __init__(self, values): self.values = list(values) + def take(self, kind=None): + from scripts.benchmarks.native_readback import _require + _require(bool(self.values), "manufactured_stream_EOF") + value = self.values.pop(0) + _require(kind is None or value["kind"] == kind, "manufactured_unexpected_record") + return value + + +def protocol_for_refresh(c, records): + from scripts.benchmarks.native_readback import _Protocol, _decode + p = object.__new__(_Protocol) + p.request, p.request_id, p.rows = c.request, c.context.request_sha256, Rows(records) + p.segment, p.ordinal, p.numeric_ordinal = asdict(c.segment), 1, 1 + p.segment_frame, p.mapping, p.map_id = independent_reader(c), c.old_mapping.payload(), c.old_mapping.identity + ledger = _decode(c.ledger) + p.prefix = {k: (v["absolute_defects"], v["reference_errors"]) for k, v in ledger["prefixes"].items()} + p.charge_refinement = SimpleNamespace(summary=lambda: ledger["upper_accumulator"]) + p.physical_charge = None + p.signed_integrals = None + p.frame_id, p.size, p.jacobians, p.diagnostic = c.frame.identity, 10, 0, None + p.refresh_anchor, p.refresh_binding_identity = None, None + return p + + +def rehash_embedded_point(c, prepared, complete, point): + """Keep every enclosing checksum coherent for the malformed-codec tests.""" + point["sha256"] = c.d.digest(point["payload"]) + for record in (prepared, complete): + record["transfer"]["Point"] = deepcopy(point) + prepared["record_sha256"] = c.d.digest({k: v for k, v in prepared.items() if k != "record_sha256"}) + complete["prepared_sha256"] = prepared["record_sha256"] + complete["record_sha256"] = c.d.digest({k: v for k, v in complete.items() if k != "record_sha256"}) + + +@pytest.mark.parametrize("damage", ["ancestry", "field_projection"]) +def test_reader_rejects_rehashed_invalid_complete_point(admitted_refresh, damage): + """Promoted independent R1 failures; all original history and gates remain.""" + from scripts.benchmarks.native_readback import HistoryVerificationError + c = admitted_refresh + _, prepared, _, _, (_, _, statistics, complete) = initialized(c) + bad = deepcopy(prepared["transfer"]["Point"]) + if damage == "ancestry": + bad["payload"]["authority"]["transition"]["previous_point"] = "0"*64 + else: + field = bad["payload"]["fields"]["n_m3"] + field["high"][0] = (float.fromhex(field["high"][0])+1.).hex() + rehash_embedded_point(c, prepared, complete, bad) + assert bad["payload"]["identity"] == c.sample["history"]["point_identity"] + with pytest.raises(ContractError): + decode_point(bad, c.model.layout) + protocol = protocol_for_refresh(c, [prepared, statistics, complete]) + before = deepcopy(protocol.prefix), deepcopy(protocol.segment_frame.active) + frame = dict(c.frame.snapshot, owner=c.frame.owner, generation=c.frame.generation) + with pytest.raises(HistoryVerificationError): + protocol._consume_reference_refresh(c.sample, c.interval, c.domain, c.certificate, 1, frame, + complete["before_statistics"]["raw_statistics"]) + assert (protocol.prefix, protocol.segment_frame.active) == before + assert protocol.numeric_ordinal == 1 and protocol.refresh_anchor is None + + +@pytest.mark.parametrize("damage", ["outer_member", "schema", "low_word", "field_shape", + "noncanonical_zero", "paired_previous", "reference_zero_sign", + "payload_type", "rehash_authority"]) +def test_refresh_reader_rejects_rehashed_malformed_codec(admitted_refresh, damage): + from scripts.benchmarks.native_readback import HistoryVerificationError + c = admitted_refresh + _, prepared, _, _, (_, _, statistics, complete) = initialized(c) + bad = deepcopy(prepared["transfer"]["Point"]) + p = bad["payload"] + if damage == "outer_member": bad["unbound"] = True + if damage == "schema": p["schema"] = "solarlab.precision-point.v1" + if damage == "low_word": + field = p["fields"]["n_m3"] + field["low"][0] = (float.fromhex(field["low"][0])+2.**-70).hex() + if damage == "field_shape": p["fields"]["n_m3"]["shape"] = [1, 2] + if damage == "noncanonical_zero": + p["authority"]["primitives"]["n_m3"]["words"][-1][0] = "0x0p+0" + if damage == "paired_previous": + p["authority"]["transition"]["local_primitives"]["n_m3"]["previous"]["words"][0][0] = 1.0.hex() + if damage == "reference_zero_sign": + reference = p["authority"]["coordinate_contract"]["reference"] + reference["payload"]["fields"]["phi_V"]["low"][0] = (-0.).hex() + reference["sha256"] = c.d.digest(reference["payload"]) + if damage == "payload_type": bad["payload"] = [] + if damage == "rehash_authority": + p["authority"]["transition"]["previous_authority"] = "0"*64 + p["authority_identity"] = c.d.digest(p["authority"]) + rehash_embedded_point(c, prepared, complete, bad) + protocol = protocol_for_refresh(c, [prepared, statistics, complete]) + frame = dict(c.frame.snapshot, owner=c.frame.owner, generation=c.frame.generation) + with pytest.raises(HistoryVerificationError): + protocol._consume_reference_refresh(c.sample, c.interval, c.domain, c.certificate, 1, frame, + complete["before_statistics"]["raw_statistics"]) + assert protocol.numeric_ordinal == 1 and not protocol.segment_frame.refreshes + + +@pytest.mark.parametrize("damage", ["predecessor", "physical_word"]) +def test_refresh_complete_point_requires_matching_history(admitted_refresh, damage): + from scripts.benchmarks.native_readback import _reference_refresh_point, HistoryVerificationError + c = admitted_refresh + point = encode_point(c.point) + assert decode_point(point, c.model.layout).identity == c.point.identity + history = deepcopy(c.sample["history"]) + if damage == "predecessor": history["predecessor_identity"] = c.prior.identity + if damage == "physical_word": history["physical_cumulative_words_hex"][0][0] = 1.0.hex() + with pytest.raises(HistoryVerificationError): + _reference_refresh_point(point, history, c.request) + + +@pytest.mark.parametrize("damage", [None, "missing", "overlapping", "wrong_generation"]) +@pytest.mark.parametrize("serialized", [False, True], ids=["memory", "json"]) +def test_refresh_metadata_stream_requires_exact_handoff(admitted_refresh, damage, serialized): + from scripts.benchmarks.native_readback import HistoryVerificationError + c = admitted_refresh + _, prepared, _, _, (_, _, stats, complete) = initialized(c) + records = [prepared, stats, complete] + if damage == "missing": records.pop(0) + if damage == "overlapping": records.insert(1, deepcopy(prepared)) + if damage == "wrong_generation": + complete["new_epoch"]["generation"] += 1 + complete["record_sha256"] = c.d.digest({k: v for k, v in complete.items() if k != "record_sha256"}) + if serialized: + records = json.loads(json.dumps(records)) + protocol = protocol_for_refresh(c, records) + before = deepcopy(protocol.prefix) + frame = dict(c.frame.snapshot, owner=c.frame.owner, generation=c.frame.generation) + def consume(): + return protocol._consume_reference_refresh(c.sample, c.interval, c.domain, c.certificate, 1, frame, + complete["before_statistics"]["raw_statistics"]) + if damage is None: + raw = consume() + assert raw["num_steps"] == 0 and protocol.numeric_ordinal == 2 and protocol.ordinal == 1 + assert not protocol.rows.values and protocol.refresh_anchor["transfer"]["Point"] == encode_point(c.point) + else: + with pytest.raises((HistoryVerificationError, KeyError)): consume() + assert protocol.prefix == before + + +@pytest.mark.parametrize("damage", ["boolean_generation", "float_generation", "endpoint_generation", + "endpoint_time", "endpoint_digest", "extra_member"]) +def test_refresh_wire_rejects_rehashed_old_epoch(admitted_refresh, damage): + from scripts.benchmarks.native_observation import require_frame_successor + from scripts.benchmarks.native_readback import HistoryVerificationError + c = admitted_refresh + fresh, prepared, _, _, (_, _, statistics, complete) = initialized(c) + prepared, statistics, complete = json.loads(json.dumps([prepared, statistics, complete])) + for record in (prepared, complete): + epoch = record["old_epoch"] + if damage == "boolean_generation": epoch["generation"] = True + if damage == "float_generation": epoch["generation"] = float(epoch["generation"]) + if damage == "endpoint_generation": epoch["endpoint_identity"][1] = True + if damage == "endpoint_time": epoch["endpoint_identity"][3] = .5.hex() + if damage == "endpoint_digest": epoch["endpoint_identity"][-1] = "0"*64 + if damage == "extra_member": epoch["unbound"] = 1 + prepared["record_sha256"] = c.d.digest({k: v for k, v in prepared.items() if k != "record_sha256"}) + complete["prepared_sha256"] = prepared["record_sha256"] + complete["record_sha256"] = c.d.digest({k: v for k, v in complete.items() if k != "record_sha256"}) + protocol = protocol_for_refresh(c, [prepared, statistics, complete]) + frame = dict(c.frame.snapshot, owner=c.frame.owner, generation=c.frame.generation) + with pytest.raises(HistoryVerificationError, match="reference_refresh_old_native_epoch"): + protocol._consume_reference_refresh(c.sample, c.interval, c.domain, c.certificate, 1, frame, + complete["before_statistics"]["raw_statistics"]) + zero = np.zeros(10) + current = SimpleNamespace(identity="c"*64, owner=c.frame.owner, generation=2, + binding_identity=c.frame.binding_identity, + snapshot={"predecessor": {"internal_t": c.point.time, "nsteps": 0, + "raw_y": zero.tobytes(), "raw_yp": zero.tobytes()}, + "native_before": {"nsteps": 1}}) + with pytest.raises(ContractError, match="native_observation_invalid_numeric_handoff"): + require_frame_successor(c.frame, current, previous_segment=c.segment, current_segment=c.segment, + previous_mapping=c.old_mapping, current_mapping=fresh, numeric_handoff=complete) + + +@pytest.mark.parametrize("damage", ["generation_float", "steps_bool", "preserved_generation_bool", + "before_steps_float", "success_int", "weight_size_float", "ordinal_float"]) +def test_refresh_wire_rejects_rehashed_completion_types(admitted_refresh, damage): + from scripts.benchmarks.native_observation import require_frame_successor + from scripts.benchmarks.native_readback import HistoryVerificationError + c = admitted_refresh + fresh, prepared, _, _, (_, _, statistics, complete) = initialized(c) + prepared, statistics, complete = json.loads(json.dumps([prepared, statistics, complete])) + old_statistics = deepcopy(complete["before_statistics"]["raw_statistics"]) + if damage == "generation_float": complete["new_epoch"]["generation"] = 2.0 + if damage == "steps_bool": complete["new_epoch"]["nsteps"] = False + if damage == "preserved_generation_bool": complete["old_epoch"]["generation"] = True + if damage == "before_steps_float": complete["before_statistics"]["raw_statistics"]["num_steps"] = 7.0 + if damage == "success_int": complete["initialization_return"]["success"] = 1 + if damage == "weight_size_float": complete["parent_weight_frame"]["size"] = 10.0 + if damage == "ordinal_float": complete["transfer"]["new_numeric_initialization_ordinal"] = 2.0 + complete["record_sha256"] = c.d.digest({k: v for k, v in complete.items() if k != "record_sha256"}) + protocol = protocol_for_refresh(c, [prepared, statistics, complete]) + frame = dict(c.frame.snapshot, owner=c.frame.owner, generation=c.frame.generation) + with pytest.raises(HistoryVerificationError): + protocol._consume_reference_refresh(c.sample, c.interval, c.domain, c.certificate, 1, frame, + old_statistics) + if damage in {"generation_float", "steps_bool", "preserved_generation_bool"}: + zero = np.zeros(10) + current = SimpleNamespace(identity="c"*64, owner=c.frame.owner, generation=2, + binding_identity=c.frame.binding_identity, + snapshot={"predecessor": {"internal_t": c.point.time, "nsteps": 0, + "raw_y": zero.tobytes(), "raw_yp": zero.tobytes()}, + "native_before": {"nsteps": 1}}) + with pytest.raises(ContractError, match="native_observation_invalid_numeric_handoff"): + require_frame_successor(c.frame, current, previous_segment=c.segment, current_segment=c.segment, + previous_mapping=c.old_mapping, current_mapping=fresh, numeric_handoff=complete) + + +def test_refresh_anchor_recertification_retains_original_history(admitted_refresh): + """Exercise the reader bridge; independent frame algebra has its own test.""" + from scripts.benchmarks.native_observation import observation_record + c = admitted_refresh + _, prepared, _, _, (_, _, stats, complete) = initialized(c) + p = protocol_for_refresh(c, [prepared, stats, complete]) + frame = dict(c.frame.snapshot, owner=c.frame.owner, generation=c.frame.generation) + p._consume_reference_refresh(c.sample, c.interval, c.domain, c.certificate, 1, frame, + complete["before_statistics"]["raw_statistics"]) + h = c.sample["history"]; original = deepcopy(h) + zero = (Fraction(0),)*10; ports = (Fraction(0),)*2 + enclosure = {"center": [0, 1], "absolute_error_bound": [0, 1]} + bytes_of = lambda values: np.array([float.fromhex(v) for v in values], dtype='100 + + +def test_nonlinear_storage_pullback_includes_nonzero_rate_input_and_time(physical): + rep=chart(physical,reference_densities={"n_m3":32}) + _,point,rate=physical + y,yd=state_values(point),rate_values(rate); size=len(y) + i=point.state.layout.offsets["n_m3"].start; j=point.state.layout.offsets["phi_V"].start + n,nd,phi,a,ad,t=y[i],yd[i],y[j],Fraction(float(point.inputs[0])),Fraction(float(rate.input_rate[0])),Fraction(point.time) + # Q=n^3/3+a*n^2/2+t*n; R=n*phi+a^2+t^2. + fy,fd=np.zeros((size,size)),np.zeros((size,size)) + exact_fy=(2*n+a)*nd+n*ad+1-phi; mass=n*n+a*n+t + fy[i,i],fy[i,j],fd[i,i]=float(exact_fy),float(-n),float(mass) + pa,pr,pt=np.zeros((size,2)),np.zeros((size,2)),np.zeros(size) + pa[i,0],pr[i,0],pt[i]=float(n*nd-2*a),float(n*n/2),float(nd-2*t) + physical_partials=Linearization(fy,fd,pa,pr,pt) + out,rounding=rep.pullback(point,rate,physical_partials) + direct=exact_fy*n+mass*nd + input_arithmetic=abs(Fraction(float(fy[i,i]))-exact_fy)*n+abs(Fraction(float(fd[i,i]))-mass)*abs(nd) + assert abs(Fraction(float(out.y[i,i]))-direct)<=input_arithmetic+rounding["y"][i*size+i] + assert abs(Fraction(float(out.y[i,i]))-exact_fy*n)>mass*nd/2 + assert out.inputs is pa and out.input_rate is pr and out.time is pt + assert rounding["B"][i]==nd and rounding["A"][i]==n + # Independent direct joint difference at nonzero rates for several cj. + with localcontext() as ctx: + ctx.prec=100 + N,ND,PH,A,AD,T=map(decimal,(n,nd,phi,a,ad,t)) + def f(x,v): + return (x*x+A*x+T)*v+x*x*AD/2+x-x*PH-A*A-T*T + for cj in (0,3,1000): + h=Decimal(2)**-40; c=Decimal(cj) + xp,xm=N*h.exp(),N*(-h).exp() + vp,vm=xp*(ND/N+c*h),xm*(ND/N-c*h) + difference=(f(xp,vp)-f(xm,vm))/(2*h) + expected=decimal(direct+mass*n*cj) + # The retained100-digit difference resolves the known O(h^2) + # truncation; this is a manufactured derivative check, not a gate. + assert abs(difference-expected)= "2.5.0": + assert len(seen) == 1 + assert issubclass(seen[0].category, DeprecationWarning) + assert "Setting the shape on a NumPy array" in str(seen[0].message) + else: + assert seen == [] + assert image.coordinates.shape==shape + with pytest.raises(ContractError,match="column_dimension"): + chart(physical,column_units={"n_m3":UnitExpression(VOLT,1,"wrong")}) + with pytest.raises(ContractError,match="log_reference_dimension_or_domain"): + chart(physical,reference_densities={"phi_V":1}) + with pytest.raises(ContractError,match="log_reference_dimension_or_domain"): + chart(physical,reference_densities={"n_m3":0}) + with pytest.raises(ContractError,match="foreign_image"): + chart(physical,gauge_offset_V=1).inverse(image) + with pytest.raises(ContractError,match="allowance_binding"): + rep.error_weights(image,replace(allowance(physical),source_identity="8"*64)) + with pytest.raises(ContractError): + rep.forward(point,RateView(point,rate.values,rate.input_rate,source_identity="8"*64, + mapping_identity=rate.mapping_identity,origin=rate.origin,raw_coordinates=rate.raw_coordinates,raw_rate=rate.raw_rate)) + with pytest.raises(ContractError,match="arithmetic_share_exceeded"): + rep.error_weights(image,allowance(physical,Fraction(1,10**100))) + with pytest.raises(ContractError,match="trial_model_mismatch"): + rep.physical_trial(SimpleNamespace(source_identity="8"*64),image) + promise=rep.error_weights(image,allowance(physical)) + z=image.coordinates.copy();z[point.state.layout.offsets["n_m3"].start]+=1 + assert not rep.assess_error(image,promise,coordinates=z)["accepted"] + with pytest.raises(ContractError,match="weight_image_mismatch"): + rep.assess_error(image,replace(promise,image_identity="wrong"),coordinates=image.coordinates) + + +def test_sparse_pullback_preserves_declared_zero_slots_and_units(physical): + from scripts.benchmarks.contract_prototype import SparseLinearization, SparseStructure + model,point,rate=physical + rep=chart(physical,reference_densities={"n_m3":32}, + column_units={"phi_V":UnitExpression(VOLT,Fraction(1,1000),"mV")}) + structure=SparseStructure((4,4),np.tile(np.arange(4),4),np.arange(0,17,4),"manufactured-full-slots",model.layout.identity) + y=np.array([[1.,0.,2.,0.],[0.,3.,0.,4.],[5.,0.,0.,0.],[0.,0.,0.,6.]]) + yd=np.diag([7.,8.,9.,10.]); pa=np.arange(8).reshape(4,2); pr=pa/4; pt=np.arange(4) + dense=Linearization(y,yd,pa,pr,pt) + sparse=SparseLinearization(structure.filled(y.ravel(order="F")),structure.filled(yd.ravel(order="F")), + pa,pr,pt,structure,model.source_identity) + a,ae=rep.pullback(point,rate,dense); b,be=rep.pullback(point,rate,sparse) + assert b.structure.identity==structure.identity and b.y.nnz==b.ydot.nnz==16 + assert np.array_equal(a.y,b.y.toarray()) and np.array_equal(a.ydot,b.ydot.toarray()) + assert tuple(np.asarray(ae["y"],dtype=object).reshape(4,4).ravel(order="F"))==be["y"] + with pytest.raises(ContractError,match="linearization_source_mismatch"): + rep.pullback(point,rate,replace(sparse,source_identity="8"*64)) + + +def test_zero_log_density_rejected_without_floor_and_public_factory(physical): + from scripts.benchmarks.coupled_device_prototype import AffineCoupledSlab + model,point,rate=physical + rep=AffineCoupledSlab.physical_representation(model,reference_densities={"n_m3":32}) + assert rep.reference is model.reference and rep.right_contact_sign==-1 + remainder=np.zeros(4);remainder[model.layout.offsets["n_m3"]]=-8 + zero,_=model.trial(FrameInputExpansion.from_value(remainder),point.time,point.inputs, + predecessor=point,transition_representation="paired-endpoints-v1") + zero_rate=RateView(zero,rate.values,rate.input_rate,source_identity=model.source_identity, + mapping_identity="manufactured-zero-rate-binding",origin="physical-rate",raw_coordinates=zero.y,raw_rate=rate.raw_rate) + assert state_values(zero)[model.layout.offsets["n_m3"].start]==0 + with pytest.raises(ContractError,match="log_nonpositive_density"): + rep.forward(zero,zero_rate) + + +def test_extreme_unit_roundoff_does_not_silently_change_physical_promise(physical): + rep=chart(physical,gauge_offset_V=2**55); _,point,rate=physical + image=rep.forward(point,rate) + with pytest.raises(ContractError,match="arithmetic_share_exceeded"): + rep.error_weights(image,allowance(physical)) + with pytest.raises(ContractError,match="invalid_unit_expression"): + UnitExpression(VOLT,0,"zero-scale") diff --git a/tests/numerical_contracts/test_runtime_timing.py b/tests/numerical_contracts/test_runtime_timing.py new file mode 100644 index 00000000..7e30405a --- /dev/null +++ b/tests/numerical_contracts/test_runtime_timing.py @@ -0,0 +1,419 @@ +"""Synthetic aggregate-clock and recording tests; no model/native/readback calls.""" +import ast +from collections.abc import Mapping +import copy +from hashlib import sha256 +from fractions import Fraction +import json +import math +import os +from pathlib import Path +import shutil +import sys +import tempfile +from types import SimpleNamespace +import unittest +from unittest.mock import patch + +from scripts.benchmarks import native_runner as runner +from scripts.benchmarks.native_history import emit_record +from scripts.benchmarks.runtime_timing import PHASES, RuntimeTiming, reconcile_outer_timing + +ADMISSION_PREFIX_OUTCOMES = [] + + +class FakeClock: + def __init__(self, scale=1): + self.now = 0 + self.scale = scale + + def __call__(self): + return self.now + + def advance(self, amount): + self.now += amount * self.scale + + +class RuntimeTimingTests(unittest.TestCase): + def setUp(self): + self.folder = Path(tempfile.mkdtemp(prefix="timing-", dir=os.environ.get("SOLARLAB_TIMING_TEST_ROOT"))) + if os.environ.get("SOLARLAB_TIMING_KEEP_FIXTURES") != "1": + self.addCleanup(shutil.rmtree, self.folder) + + def read_timing(self, folder=None): + return json.loads(((folder or self.folder) / "RuntimeTiming.json").read_text()) + + def assert_partition(self, result): + phases = result["phases"] + self.assertEqual(tuple(phases), PHASES) + self.assertEqual(result["partition_exclusive_ns"], phases["recorded_run"]["inclusive_ns"]) + for row in phases.values(): + for name in ("calls", "exceptions", "inclusive_ns", "exclusive_ns"): + self.assertIs(type(row[name]), int) + self.assertGreaterEqual(row[name], 0) + self.assertLess(len(json.dumps(result).encode()), 16384) + + def test_nested_and_disjoint_spans_partition_without_double_counting(self): + clock = FakeClock() + timing = RuntimeTiming(clock=clock) + with timing.phase("recorded_run"): + clock.advance(2) + with timing.phase("controller"): + clock.advance(3) + with timing.phase("ida_calls"): + clock.advance(7) + with timing.phase("history_io"): + clock.advance(11) + clock.advance(13) + clock.advance(17) + with timing.phase("observation"): + clock.advance(19) + with timing.phase("history_io"): + clock.advance(23) + clock.advance(29) + clock.advance(31) + clock.advance(37) + with timing.phase("artifact_io"): + clock.advance(41) + clock.advance(43) + result = timing.snapshot("returned_completed") + self.assert_partition(result) + self.assertEqual(result["partition_exclusive_ns"], 276) + self.assertEqual(result["phases"]["controller"]["exclusive_ns"], 51) + self.assertEqual(result["phases"]["ida_calls"]["inclusive_ns"], 31) + self.assertEqual(result["phases"]["ida_calls"]["exclusive_ns"], 20) + self.assertEqual(result["phases"]["history_io"]["calls"], 2) + + def test_exception_closes_each_span_and_preserves_exception_identity(self): + clock = FakeClock() + timing = RuntimeTiming(clock=clock) + sentinel = RuntimeError("synthetic callback failure") + with self.assertRaises(RuntimeError) as caught: + with timing.phase("recorded_run"): + clock.advance(5) + with timing.phase("ida_calls"): + clock.advance(7) + raise sentinel + self.assertIs(caught.exception, sentinel) + result = timing.snapshot("raised") + self.assert_partition(result) + self.assertEqual(result["phases"]["ida_calls"]["exceptions"], 1) + self.assertEqual(result["phases"]["recorded_run"]["exceptions"], 1) + self.assertFalse(result["phases"]["observation"]["entered"]) + + def test_unknown_recursive_and_open_snapshot_are_rejected(self): + timing = RuntimeTiming(clock=FakeClock()) + with self.assertRaises(ValueError): + with timing.phase("unregistered"): + self.fail("unsupported phase entered") + with timing.phase("recorded_run"): + with self.assertRaises(ValueError): + with timing.phase("recorded_run"): + self.fail("recursive phase entered") + with self.assertRaises(ValueError): + timing.snapshot("returned_completed") + self.assert_partition(timing.snapshot("returned_completed")) + + def synthetic_controller(self, timing, clock, events, *, failure=None, returned_failure=False): + def controller(writer): + events.append("controller") + with timing.phase("ida_calls"): + events.append("fake_ida") + clock.advance(2) + with timing.phase("history_io"): + emit_record({"kind": "synthetic_timing_fixture", "value": 7}, writer, + logical_bytes=0, total_output_bytes=2**21) + events.append("history") + clock.advance(3) + clock.advance(5) + if failure is not None: + raise failure + with timing.phase("observation"): + events.append("fake_observation") + clock.advance(11) + clock.advance(13) + result = {"status": runner.COMPLETED_STATUS, "diagnostic": {"exact_input": [0, None, -7]}, + "counts": {"history_bytes": writer.logical_bytes}, "complete_protocol": True} + if returned_failure: + result.update(status="failed_bounded_voltage_lift_native_pilot", complete_protocol=False, + first_failure={"phase": "synthetic", "reason": "retained failure"}) + return result + return controller + + def execute(self, folder, *, scale=1, failure=None, returned_failure=False): + folder.mkdir(exist_ok=True) + clock = FakeClock(scale) + timing = RuntimeTiming(clock=clock) + events = [] + result = runner.run_recorded(folder, self.synthetic_controller( + timing, clock, events, failure=failure, returned_failure=returned_failure), + total_output_bytes=2**21, input_names=(), timing=timing) + return result, events + + def test_clock_values_do_not_change_controller_result_or_call_order(self): + first, events = self.execute(self.folder / "first", scale=1) + second, other_events = self.execute(self.folder / "second", scale=1000) + self.assertEqual(first, second) + self.assertEqual(events, ["controller", "fake_ida", "history", "fake_observation"]) + self.assertEqual(events, other_events) + a = self.read_timing(self.folder / "first") + b = self.read_timing(self.folder / "second") + self.assert_partition(a) + self.assert_partition(b) + self.assertEqual(b["partition_exclusive_ns"], a["partition_exclusive_ns"] * 1000) + self.assertFalse(a["scientific_decisions_use_timing"]) + + def test_controller_exception_publishes_totals_and_original_failure(self): + sentinel = RuntimeError("retained synthetic failure") + with self.assertRaises(RuntimeError) as caught: + self.execute(self.folder, failure=sentinel) + self.assertIs(caught.exception, sentinel) + result = self.read_timing() + self.assert_partition(result) + self.assertEqual(result["recorded_call_outcome"], "raised") + self.assertEqual(result["phases"]["ida_calls"]["inclusive_ns"], 10) + self.assertEqual(result["phases"]["ida_calls"]["exclusive_ns"], 7) + self.assertEqual(json.loads((self.folder / "RunnerFailure.json").read_text())["reason"], str(sentinel)) + + def test_returned_controller_failure_keeps_its_status(self): + result, _ = self.execute(self.folder, returned_failure=True) + self.assertFalse(result["complete_protocol"]) + timing = self.read_timing() + self.assert_partition(timing) + self.assertEqual(timing["recorded_call_outcome"], "returned_other_status") + self.assertTrue((self.folder / "PrimaryFailure.json").exists()) + + def test_history_finalization_exception_retains_aggregate(self): + sentinel = OSError("synthetic footer refusal") + with patch.object(runner.HistoryWriter, "finish", side_effect=sentinel): + with self.assertRaises(OSError) as caught: + self.execute(self.folder) + self.assertIs(caught.exception, sentinel) + timing = self.read_timing() + self.assert_partition(timing) + self.assertEqual(timing["phases"]["history_io"]["exceptions"], 1) + self.assertFalse((self.folder / "NativeResult.json").exists()) + + def test_timing_publication_error_does_not_mask_primary_exception(self): + original = runner._write_document + sentinel = RuntimeError("original synthetic failure") + def publish(folder, name, *args, **kwargs): + if name == "RuntimeTiming.json": + raise OSError("synthetic timing publication refusal") + return original(folder, name, *args, **kwargs) + with patch.object(runner, "_write_document", side_effect=publish): + with self.assertRaises(RuntimeError) as caught: + self.execute(self.folder, failure=sentinel) + self.assertIs(caught.exception, sentinel) + self.assertTrue(any("aggregate timing publication failed" in note for note in sentinel.__notes__)) + self.assertTrue((self.folder / "RunnerFailure.json").exists()) + self.assertFalse((self.folder / "RuntimeTiming.json").exists()) + + def test_existing_timing_artifact_refuses_new_controller_and_is_unchanged(self): + old = b'{"old_timing_evidence":true}\n' + (self.folder / "RuntimeTiming.json").write_bytes(old) + events = [] + with self.assertRaises(FileExistsError): + runner.run_recorded(self.folder, lambda writer: events.append("must_not_run"), + total_output_bytes=2**21, input_names=()) + self.assertEqual(events, []) + self.assertEqual((self.folder / "RuntimeTiming.json").read_bytes(), old) + + def test_timing_binding_and_original_admission_guards_without_model(self): + # Execute only the production admission prefix, stopping before its + # observation imports; material validation/sampling/policy construction + # are explicit metadata stubs. Never import or call the full controller. + controller_path = Path(runner.__file__).with_name("coupled_device_prototype.py") + policy_path = Path(sys.modules[runner.HistoryWriter.__module__].__file__).with_name("native_observation.py") + timing_path = Path(sys.modules[RuntimeTiming.__module__].__file__).resolve() + controller = next(node for node in ast.parse(controller_path.read_text()).body + if isinstance(node, ast.FunctionDef) and node.name == "run_voltage_lift_native_pilot") + wall_policy = next(node for node in ast.parse(controller_path.read_text()).body + if isinstance(node, ast.FunctionDef) and node.name == "voltage_lift_execution_wall_policy") + output_policy = next(node for node in ast.parse(controller_path.read_text()).body + if isinstance(node, ast.FunctionDef) and node.name == "voltage_lift_execution_output_policy") + stop = next(i for i, node in enumerate(controller.body) + if isinstance(node, ast.ImportFrom) and node.module == "scripts.benchmarks.native_observation") + controller.body = controller.body[:stop] + ast.parse("return metadata_policy(request, admission)").body + controller.name = "metadata_prefix" + controller.returns = None + for arg in controller.args.args + controller.args.posonlyargs + controller.args.kwonlyargs: + arg.annotation = None + policy = next(node for node in ast.parse(policy_path.read_text()).body + if isinstance(node, ast.FunctionDef) and node.name == "validate_interval_observation_admission") + class MetadataRejection(ValueError): + pass + digest = lambda value: sha256(json.dumps(value, sort_keys=True, separators=(",", ":"), allow_nan=False).encode()).hexdigest() + policy_scope = {"__file__": str(policy_path), "Mapping": Mapping, "Path": Path, + "sha256": sha256, "digest": digest, "ContractError": MetadataRejection, + "prepare_interval_observation_policy": lambda request, **kwargs: copy.deepcopy(request["interval_observation"])} + exec(compile(ast.fix_missing_locations(ast.Module(body=[policy], type_ignores=[])), + "", "exec"), policy_scope) + scope = {"__file__": str(controller_path), "RuntimeTiming": RuntimeTiming, + "Path": Path, "sys": sys, "sha256": sha256, "digest": digest, + "Mapping": Mapping, "math": math, + "ContractError": MetadataRejection, + "validate_voltage_lift_native_request": lambda *args: None, + "AffineSamplingContext": lambda model, request: SimpleNamespace( + request_sha256=digest(request), request_copy=lambda: copy.deepcopy(request), segments=()), + "metadata_policy": policy_scope["validate_interval_observation_admission"]} + exec(compile(ast.fix_missing_locations(ast.Module(body=[wall_policy, output_policy, controller], type_ignores=[])), + "", "exec"), scope) + paths = {controller_path.resolve(), timing_path, + *(policy_path.with_name(name).resolve() for name in + ("native_observation.py", "interval_observation.py", "coupled_device_prototype.py"))} + pins = {str(path): sha256(path.read_bytes()).hexdigest() for path in paths} + cases = [ + ("missing_timing_pin", False, False, "runtime_timing_executing_source_not_bound"), + ("wrong_timing_pin", True, False, "voltage_lift_native_source_changed"), + ("bound_without_policy", True, False, "full_word_native_observation_policy_unqualified"), + ("bound_policy_without_review", True, True, "native_observation_independent_review_missing"), + ] + for label, bound, with_policy, expected in cases: + with self.subTest(case=label): + request = {"synthetic_metadata_only": True, "segments": [], + "budgets": {"wall_s": 4200, "total_output_bytes": 1024 ** 2}} + admission = {"map_identity": "synthetic-map", "voltage_lift_native_authorized": True, + "coordinator_message": "msg_unit_metadata_no_native_authority", "source_sha256": dict(pins)} + if not bound: + admission["source_sha256"].pop(str(timing_path)) + if label == "wrong_timing_pin": + admission["source_sha256"][str(timing_path)] = "0" * 64 + if with_policy: + request["interval_observation"] = {"binding_identity": "a" * 64, + "header_sha256": "b" * 64, "backend_modules": {}} + admission.update(interval_observation_authorized=True, + interval_observation_policy_sha256=digest(request["interval_observation"])) + admission["request_sha256"] = digest(request) + unchanged = copy.deepcopy(request) + with self.assertRaisesRegex(MetadataRejection, expected): + scope["metadata_prefix"](SimpleNamespace(model=None, identity="synthetic-map"), (), + request, admission, lambda record: self.fail("unadmitted output")) + self.assertEqual(request, unchanged) + ADMISSION_PREFIX_OUTCOMES.append({"case": label, "expected_rejection": expected, + "full_controller_or_model_executed": False}) + + +class OuterTimingReconciliationTests(unittest.TestCase): + def arguments(self, **changes): + identity = {"request_sha256": "a" * 64, "freeze_sha256": "b" * 64, + "tool_operation_sha256": "c" * 64} + values = dict(expected_identity=identity, actual_identity=dict(identity), + clock_names=("time.perf_counter",) * 3, + outer_started_s=100.0, inner_started_s=101.0, + inner_elapsed_s=2.0, observed_interval_s=(103.5, 103.5), + os_elapsed_s=1.9, whole_limit_s=10, + primary_failure=None, prior_failures=(), inner_passed=True, + cleanup_positive=True, returned_code=0) + values.update(changes) + return values + + def test_shared_epoch_bounds_observer_without_using_OS_duration(self): + values = self.arguments() + self.assertGreater(values["inner_elapsed_s"], values["os_elapsed_s"] + .01) + result = reconcile_outer_timing(**values) + self.assertTrue(result["passed"]) + self.assertEqual(result["elapsed_from_tool_epoch_upper_s"], 3.5) + self.assertEqual(result["elapsed_from_tool_epoch_upper_exact_s"], "7/2") + self.assertFalse(result["OS_comparison"]["OS_used_in_counter_bound"]) + self.assertEqual(Fraction(result["OS_comparison"]["inner_elapsed_minus_OS_exact_s"]), + Fraction(2.0) - Fraction(1.9)) + self.assertFalse(result["scientific_qualification"]) + + def test_native_primary_failure_precedes_clock_and_return_diagnostics(self): + primary = {"phase": "native_return", "segment_id": "slow_state_hold", + "status": -3, "success": False, "message": "retained native failure"} + unchanged = copy.deepcopy(primary) + result = reconcile_outer_timing(**self.arguments( + primary_failure=primary, prior_failures=("complete_protocol_not_verified",), + inner_passed=False, returned_code=1, observed_interval_s=(None, None))) + self.assertFalse(result["passed"]) + self.assertEqual(result["first_failure"], unchanged) + self.assertEqual(result["primary_failure"], unchanged) + self.assertEqual(primary, unchanged) + self.assertIn("counter_values", result["later_failures"]) + self.assertIn("tool_returned_zero", result["later_failures"]) + self.assertEqual(result["later_failures"][0], "complete_protocol_not_verified") + + def test_incorrect_identity_or_clock_domain_cannot_pass(self): + for changes, check in (({"actual_identity": {"request_sha256": "wrong"}}, "invocation_identity"), + ({"expected_identity": {}, "actual_identity": {}}, "invocation_identity"), + ({"clock_names": ("time.time",) * 3}, "same_counter_clock")): + with self.subTest(check=check, changes=changes): + result = reconcile_outer_timing(**self.arguments(**changes)) + self.assertFalse(result["passed"]) + self.assertFalse(result["checks"][check]) + + def test_reversed_invalid_or_future_counter_is_rejected(self): + for changes in ({"outer_started_s": 102.0}, {"inner_elapsed_s": -1}, + {"observed_interval_s": (104., 103.)}, {"observed_interval_s": (102., 102.)}, + {"inner_started_s": 110.}, {"inner_elapsed_s": float("nan")}, + {"outer_started_s": float("inf")}, {"outer_started_s": True}, + {"observed_interval_s": (103.5,)}, {"observed_interval_s": ("103", "104")}): + with self.subTest(changes=changes): + result = reconcile_outer_timing(**self.arguments(**changes)) + self.assertFalse(result["passed"]) + json.dumps(result, allow_nan=False) + + def test_matching_absent_empty_or_mistyped_identity_values_cannot_pass(self): + for invalid in (None, "", " ", False, 0, [], {}, b"identity"): + with self.subTest(invalid=invalid): + identity = {"request_sha256": "a" * 64, "admission": invalid} + result = reconcile_outer_timing(**self.arguments( + expected_identity=identity, actual_identity=dict(identity))) + self.assertFalse(result["passed"]) + self.assertFalse(result["checks"]["invocation_identity"]) + for identity in ({None: "value"}, {"": "value"}, {" ": "value"}): + with self.subTest(identity=identity): + result = reconcile_outer_timing(**self.arguments( + expected_identity=identity, actual_identity=dict(identity))) + self.assertFalse(result["checks"]["invocation_identity"]) + + def test_expected_identity_field_cannot_be_missing_from_actual(self): + values = self.arguments() + values["expected_identity"] = {**values["expected_identity"], "start_message": "msg_required"} + result = reconcile_outer_timing(**values) + self.assertFalse(result["passed"]) + self.assertIn("invocation_identity", result["failures"]) + + def test_strict_whole_cap_and_separate_OS_cap_remain_mandatory(self): + for changes, failed in (({"whole_limit_s": 3.5}, "whole_clock_limit"), + ({"os_elapsed_s": 10}, "separate_OS_limit"), + ({"os_elapsed_s": -1}, "closed_OS_receipt"), + ({"os_elapsed_s": float("nan")}, "closed_OS_receipt")): + with self.subTest(failed=failed): + result = reconcile_outer_timing(**self.arguments(**changes)) + self.assertFalse(result["passed"]) + self.assertIn(failed, result["failures"]) + + def test_cleanup_and_actual_return_cannot_be_waived_by_clock_success(self): + for changes, failed in (({"cleanup_positive": False}, "positive_cleanup"), + ({"returned_code": 1}, "tool_returned_zero"), + ({"returned_code": False}, "tool_returned_zero"), + ({"inner_passed": False}, "inner_pipeline_passed")): + with self.subTest(failed=failed): + result = reconcile_outer_timing(**self.arguments(**changes)) + self.assertTrue(result["checks"]["whole_clock_limit"]) + self.assertFalse(result["passed"]) + self.assertIn(failed, result["failures"]) + + def test_rational_observation_enclosure_uses_upper_endpoint_without_rounding_down(self): + low, high = Fraction(310, 3), Fraction(311, 3) + result = reconcile_outer_timing(**self.arguments(observed_interval_s=(low, high))) + self.assertTrue(result["passed"]) + exact = high - 100 + self.assertEqual(Fraction(result["elapsed_from_tool_epoch_upper_exact_s"]), exact) + self.assertGreaterEqual(Fraction(result["elapsed_from_tool_epoch_upper_s"]), exact) + + def test_existing_failure_order_and_no_clock_read_or_input_mutation(self): + values = self.arguments(prior_failures=("earlier_readback_failure",), returned_code=1) + unchanged = copy.deepcopy(values) + with patch("scripts.benchmarks.runtime_timing.perf_counter_ns", side_effect=AssertionError("clock read")): + result = reconcile_outer_timing(**values) + self.assertEqual(values, unchanged) + self.assertEqual(result["first_failure"], "earlier_readback_failure") + self.assertIn("tool_returned_zero", result["later_failures"]) + + +if __name__ == "__main__": + unittest.main() diff --git a/tests/numerical_contracts/test_segment_startup.py b/tests/numerical_contracts/test_segment_startup.py new file mode 100644 index 00000000..b1ce6fe1 --- /dev/null +++ b/tests/numerical_contracts/test_segment_startup.py @@ -0,0 +1,205 @@ +"""Segment startup policy, constructor controls and independent readback.""" + +from dataclasses import asdict, replace +import json +import math + +import pytest + + +def _full_protocol_startup_case(kappa=1024): + """Manufactured binding shapes only; no model, Point or solver is made.""" + from scripts.benchmarks import coupled_device_prototype as d + + segments = tuple(d.ProtocolSegment(name, start, end, (0., 0.), (0., 0.)) + for name, start, end in (("dark_equilibrium_hold", 0., .1), + ("voltage_ramp", .1, .2), + ("slow_state_hold", .2, 9.2))) + request = dict(case_id="DynamicAcceptorIonPublicDeviceV1", prior_request_sha256="a"*64, + map_identity="manufactured-map", segments=[asdict(s) for s in segments], + controls=dict(first_step=7.8125e-7, rtol=1e-6, + atol=[(i+1)*1e-10 for i in range(45)], max_step=.1, + nonlin_conv_coef=1.024e-5, nonlin_guard="first-correction-wrms-v1", + nonlin_trace_capacity=4096), time_weight_policy={"kappa": 1024}) + if kappa == 65536: + request["controls"].update(rtol=math.ldexp(request["controls"]["rtol"], -6), + atol=[math.ldexp(v, -6) for v in request["controls"]["atol"]], + nonlin_conv_coef=math.ldexp(request["controls"]["nonlin_conv_coef"], 6)) + request["time_weight_policy"]["kappa"] = kappa + return d, json.loads(json.dumps(request)), segments + + +def _full_protocol_startup_constructor(d, request, segment, ordinal): + captured, marker = {}, object() + + def constructor_spy(residual, **kwargs): + assert residual is marker + captured.update(kwargs) + return marker + + returned, receipt = d._voltage_lift_segment_solver( + constructor_spy, request, segment, ordinal, marker, marker, marker, [0]) + assert returned is marker + assert captured.pop("jacfn") is marker and captured.pop("sparsity") is marker + assert captured.pop("algebraic_idx") == [0] + return captured, receipt + + +def _full_protocol_startup_stats(segment, ordinal, phase, h0=0., steps=0): + return dict(kind="native_statistics", segment_id=segment.id, phase=phase, + logical_initialization_index=ordinal, + raw_statistics=dict(observation_owner="manufactured-owner", observation_generation=ordinal, + num_steps=steps, initial_step=h0, last_step=2.0**-40)) + + +@pytest.mark.parametrize("kappa", [1024, 65536]) +def test_full_protocol_startup_absent_and_zero_identity(kappa): + from scripts.benchmarks.native_readback import segment_startup_controls + + d, request, segments = _full_protocol_startup_case(kappa) + before = d.digest(request) + for ordinal, segment in enumerate(segments, 1): + controls, receipt = _full_protocol_startup_constructor(d, request, segment, ordinal) + assert receipt is None and controls == request["controls"] + assert segment_startup_controls(request, request["segments"][ordinal-1]) == controls + assert d.digest(request) == before + zero = d._voltage_lift_segment_startup(request, {"slow_state_hold": {"first_step": 0.0}}) + expected = dict(schema="solarlab.voltage-lift-segment-startup.v1", + ancestor_request_sha256=request["prior_request_sha256"], + base_controls_sha256=d.digest(request["controls"]), + segments_sha256=d.digest(request["segments"]), + time_weight_policy_sha256=d.digest(request["time_weight_policy"]), + overrides={"slow_state_hold": {"first_step": 0.0}}, + application="fresh_segment_initialization_before_first_solve") + assert zero == expected and d.digest(zero) == d.digest(expected) + request["segment_startup_policy"] = zero + controls, receipt = _full_protocol_startup_constructor(d, request, segments[-1], 3) + assert controls == dict(request["controls"], first_step=0.0) + assert receipt["requested_first_step_hex"] == "0x0.0p+0" + assert segment_startup_controls(request, request["segments"][-1]) == controls + assert d.digest({k: v for k, v in request.items() if k != "segment_startup_policy"}) == before + + +@pytest.mark.parametrize("kappa", [1024, 65536]) +def test_full_protocol_startup_explicit_hold_constructor_and_readback(kappa): + from scripts.benchmarks.native_readback import SegmentStartupCheck, segment_startup_controls + + d, request, segments = _full_protocol_startup_case(kappa) + policy = d._voltage_lift_segment_startup(request, {"slow_state_hold": {"first_step": 2.0**-32}}) + zero = d._voltage_lift_segment_startup(request, {"slow_state_hold": {"first_step": 0.0}}) + assert {k for k in policy if policy[k] != zero[k]} == {"overrides"} + assert d.digest(policy) != d.digest(zero) + request["segment_startup_policy"] = policy + before, check = d.digest(request), SegmentStartupCheck(request) + for ordinal, segment in enumerate(segments, 1): + controls, receipt = _full_protocol_startup_constructor(d, request, segment, ordinal) + expected = dict(request["controls"], first_step=2.0**-32 if ordinal == 3 else 7.8125e-7) + assert controls == expected == segment_startup_controls(request, request["segments"][ordinal-1]) + assert receipt["request_sha256"] == before + check.consume(receipt) + check.consume(_full_protocol_startup_stats(segment, ordinal, "initialization_return")) + check.consume(_full_protocol_startup_stats(segment, ordinal, "after_onestep", controls["first_step"], 1)) + result = check.finish(complete=True) + assert d.digest(request) == before and len(result["initializations"]) == 3 + assert result["initializations"][-1]["actual_initial_step_hex"] == (2.0**-32).hex() + assert result["native_requested_first_step_getter"] == "unavailable" + + +@pytest.mark.parametrize("kappa", [1024, 65536]) +def test_full_protocol_startup_invalid_or_unbound_policy(kappa): + from copy import deepcopy + from math import inf, nan, nextafter + from scripts.benchmarks.native_readback import HistoryVerificationError, segment_startup_controls + + d, request, segments = _full_protocol_startup_case(kappa) + selected = {"slow_state_hold": {"first_step": 2.0**-32}} + policy = d._voltage_lift_segment_startup(request, selected) + invalid = [{"slow_state_hold": {"first_step": v}} for v in + (False, -0.0, -1., 1e-10, nextafter(2.0**-32, inf), nan, inf, "0.0")] + invalid += [{}, [], {"voltage_ramp": {"first_step": 2.0**-32}}, + {"slow_state_hold": {"first_step": 2.0**-32, "rtol": 1e-12}}, + dict(selected, dark_equilibrium_hold={"first_step": 2.0**-32})] + for overrides in invalid: + with pytest.raises(d.ContractError, match="invalid_segment_startup"): + d._voltage_lift_segment_startup(request, overrides) + altered = dict(request, segment_startup_policy=dict(policy, overrides=overrides)) + with pytest.raises(HistoryVerificationError, match="segment_startup"): + segment_startup_controls(altered, altered["segments"][-1]) + request["segment_startup_policy"] = policy + for field in ("schema", "ancestor_request_sha256", "base_controls_sha256", "segments_sha256", + "time_weight_policy_sha256", "application"): + altered = deepcopy(request) + altered["segment_startup_policy"][field] = "tampered" + with pytest.raises(d.ContractError, match="segment_startup_binding"): + d._voltage_lift_initialization_controls(altered, segments[-1]) + with pytest.raises(HistoryVerificationError, match="segment_startup"): + segment_startup_controls(altered, altered["segments"][-1]) + for mutate in (lambda r: r.update(prior_request_sha256="b"*64), + lambda r: r["controls"].update(rtol=2e-6), + lambda r: r["time_weight_policy"].update(kappa=512), + lambda r: r["segments"][-1].update(end=9.3)): + altered = deepcopy(request) + mutate(altered) + with pytest.raises(d.ContractError, match="segment_startup"): + d._voltage_lift_initialization_controls(altered, segments[-1]) + with pytest.raises(HistoryVerificationError, match="segment_startup"): + segment_startup_controls(altered, altered["segments"][-1]) + with pytest.raises(d.ContractError, match="unbound_segment"): + d._voltage_lift_initialization_controls(request, replace(segments[-1], end=9.3)) + with pytest.raises(HistoryVerificationError, match="unbound_override"): + segment_startup_controls(dict(request, segment_startup_overrides=selected), request["segments"][-1]) + + +@pytest.mark.parametrize("kappa", [1024, 65536]) +def test_full_protocol_startup_reader_rejects_control_or_actual_h0_mismatch(kappa): + from copy import deepcopy + from scripts.benchmarks.native_readback import HistoryVerificationError, SegmentStartupCheck + + d, request, segments = _full_protocol_startup_case(kappa) + request["segment_startup_policy"] = d._voltage_lift_segment_startup( + request, {"slow_state_hold": {"first_step": 2.0**-32}}) + for wrong_h0 in (0.0, 2.0**-40, 7.8125e-7): + check = SegmentStartupCheck(request) + for ordinal, segment in enumerate(segments, 1): + controls, receipt = _full_protocol_startup_constructor(d, request, segment, ordinal) + if ordinal == 3: + forged = deepcopy(receipt) + forged["constructor_controls"]["first_step"] = wrong_h0 + forged["constructor_controls_sha256"] = d.digest(forged["constructor_controls"]) + forged["requested_first_step_hex"] = wrong_h0.hex() + with pytest.raises(HistoryVerificationError, match="constructor_binding"): + check.consume(forged) + check.consume(receipt) + check.consume(_full_protocol_startup_stats(segment, ordinal, "initialization_return")) + row = _full_protocol_startup_stats(segment, ordinal, "after_onestep", controls["first_step"], 1) + if ordinal == 3: + row["raw_statistics"]["initial_step"] = wrong_h0 + with pytest.raises(HistoryVerificationError, match="actual_initial_step|explicit_step_not_applied"): + check.consume(row) + else: + check.consume(row) + + +@pytest.mark.parametrize("kappa", [1024, 65536]) +def test_full_protocol_startup_rejects_rebound_mismatched_accuracy(kappa): + """Reach both numeric guards after rebinding manufactured policy hashes.""" + from copy import deepcopy + from scripts.benchmarks.native_readback import HistoryVerificationError, segment_startup_controls + + d, request, segments = _full_protocol_startup_case(kappa) + overrides = {"slow_state_hold": {"first_step": 2.0**-32}} + request["segment_startup_policy"] = d._voltage_lift_segment_startup(request, overrides) + bad_options = [(kappa, math.ldexp(1e-8, 16 if kappa == 1024 else 10)), + (65536 if kappa == 1024 else 1024, request["controls"]["nonlin_conv_coef"])] + bad_options += [(value, request["controls"]["nonlin_conv_coef"]) + for value in (65536.0, "65536", True, None, 2048, [])] + for selected, coefficient in bad_options: + bad = deepcopy(request) + bad["time_weight_policy"]["kappa"] = selected + bad["controls"]["nonlin_conv_coef"] = coefficient + bad["segment_startup_policy"]["base_controls_sha256"] = d.digest(bad["controls"]) + bad["segment_startup_policy"]["time_weight_policy_sha256"] = d.digest(bad["time_weight_policy"]) + with pytest.raises(d.ContractError, match="invalid_segment_startup"): + d._voltage_lift_segment_startup(bad, overrides) + with pytest.raises(HistoryVerificationError, match="segment_startup"): + segment_startup_controls(bad, bad["segments"][-1]) diff --git a/tests/numerical_contracts/test_sparse.py b/tests/numerical_contracts/test_sparse.py new file mode 100644 index 00000000..a5b227bc --- /dev/null +++ b/tests/numerical_contracts/test_sparse.py @@ -0,0 +1,677 @@ +"""Independent frozen NC07 oracles and negative structural-support checks.""" + +from __future__ import annotations + +import json +import os +from dataclasses import replace +from decimal import Decimal, localcontext +from hashlib import sha256 +from pathlib import Path +from typing import Any + +import numpy as np +import pytest +from scipy.sparse import csc_matrix + +from scripts.benchmarks.contract_prototype import ( + LENGTH, + ONE, + ContractError, + EquationSpec, + Layout, + Support, + VariableSpec, +) +from scripts.benchmarks.sparse_prototype import ( + SparseGraph, + TermSupport, + factorize, + ion_domains, + require_rank_one_invertible, + sparse_solve, +) + +GATE_PATH = Path(__file__).with_name("AnalyticGatesV1.json") +GATE_SHA256 = "43c9ba4ab1b6a95b3e278efcd8eed9a67dc4d5e258295c8e6961c53f7ee57201" +assert sha256(GATE_PATH.read_bytes()).hexdigest() == GATE_SHA256 +GATE = next( + item for item in json.loads(GATE_PATH.read_text())["gates"] if item["id"] == "NC07" +) +INPUT = GATE["fixed_inputs"] +OBSERVATIONS: list[dict[str, Any]] = [] + + +@pytest.fixture(scope="module", autouse=True) +def frozen_attempt(request: pytest.FixtureRequest): + manifest_path = os.environ.get("SOLARLAB_SPARSE_MANIFEST") + if manifest_path: + manifest = json.loads(Path(manifest_path).read_text()) + for path, expected in manifest["source_sha256"].items(): + assert sha256(Path(path).read_bytes()).hexdigest() == expected + assert manifest["gate_sha256"] == GATE_SHA256 + yield + output = os.environ.get("SOLARLAB_SPARSE_METRICS") + if output: + Path(output).write_text( + json.dumps( + { + "gate_id": "NC07", + "gate_sha256": GATE_SHA256, + "observations": OBSERVATIONS, + "pytest_failures": request.session.testsfailed, + }, + indent=2, + allow_nan=False, + ) + + "\n" + ) + + +def D(value: Any) -> Decimal: + return Decimal(str(value)) + + +def decimal_dense_solve( + matrix: list[list[Decimal]], rhs: list[Decimal] +) -> list[Decimal]: + """Independent Decimal80 Gaussian elimination, with no candidate matrices.""" + with localcontext() as context: + context.prec = 80 + work = [list(row) + [value] for row, value in zip(matrix, rhs)] + n = len(rhs) + for column in range(n): + pivot = max(range(column, n), key=lambda row: abs(work[row][column])) + if work[pivot][column] == 0: + raise ValueError("singular decimal reference") + work[column], work[pivot] = work[pivot], work[column] + for row in range(column + 1, n): + multiplier = work[row][column] / work[column][column] + for entry in range(column, n + 1): + work[row][entry] -= multiplier * work[column][entry] + solution = [D(0)] * n + for row in range(n - 1, -1, -1): + solution[row] = ( + work[row][n] + - sum( + work[row][column] * solution[column] for column in range(row + 1, n) + ) + ) / work[row][row] + return solution + + +def decimal_reference(border: str | None = None): + with localcontext() as context: + context.prec = 80 + alpha = D(INPUT["alpha"]) + u, v, rhs = ([D(value) for value in INPUT[name]] for name in ("u", "v", "b")) + n = len(rhs) + matrix = [ + [(alpha if i == j else D(0)) - u[i] * v[j] for j in range(n)] + for i in range(n) + ] + dot_vu, dot_vb = ( + sum(a * b for a, b in zip(v, u)), + sum(a * b for a, b in zip(v, rhs)), + ) + sm = [ + rhs[i] / alpha + u[i] * dot_vb / (alpha * (alpha - dot_vu)) + for i in range(n) + ] + direct = decimal_dense_solve(matrix, rhs) + assert max(abs(a - b) for a, b in zip(sm, direct)) < D("1e-70") + if border == "auxiliary": + matrix = [ + [alpha if i == j else D(0) for j in range(n)] + [-u[i]] + for i in range(n) + ] + matrix.append([-value for value in v] + [D(1)]) + rhs = rhs + [D(0)] + elif border == "inventory": + matrix = [row + [D(1)] for row in matrix] + [[D(1)] * n + [D(0)]] + rhs = rhs + [D(4)] + elif border == "port": + p, q = [D(1), D(0), D(0), D(-1)], [D("0.5"), D(0), D(0), D("-0.5")] + matrix = [row + [p[i]] for i, row in enumerate(matrix)] + [q + [D(-2)]] + rhs = rhs + [D("0.125")] + result = decimal_dense_solve(matrix, rhs) + if border == "auxiliary": + assert max(abs(a - b) for a, b in zip(sm, result[:n])) < D("1e-70") + return matrix, rhs, result + + +def assert_gate(candidate: np.ndarray, matrix, rhs, reference) -> tuple[float, float]: + assert candidate.shape == (len(reference),) and np.isfinite(candidate).all() + with localcontext() as context: + context.prec = 80 + values = [Decimal.from_float(float(value)) for value in candidate] + errors = [abs(value - expected) for value, expected in zip(values, reference)] + assert all( + error <= D(GATE["atol"]) + D(GATE["rtol"]) * abs(expected) + for error, expected in zip(errors, reference) + ) + residual = [ + abs(sum(a * x for a, x in zip(row, values)) - b) + for row, b in zip(matrix, rhs) + ] + assert max(residual) <= D(GATE["atol"]) + return float(max(errors)), float(max(residual)) + + +def small_layout(border: str | None = None, *, tensor: bool = False) -> Layout: + shape = (2, 2) if tensor else (4,) + variables = [VariableSpec("00_state", "bulk", "cells", shape, ONE)] + dependencies = ("00_state",) if border is None else ("00_state", "10_" + border) + equations = [ + EquationSpec( + "00_balance", "bulk", "cells", shape, ONE, derivative_support=dependencies + ) + ] + supports = [Support("cells", "cell", shape)] + if border: + supports.append(Support("global", "global", (1,))) + variables.append( + VariableSpec("10_" + border, border, "global", (1,), ONE, role="constraint") + ) + derivatives = ("00_state",) if border == "inventory" else dependencies + equations.append( + EquationSpec( + "10_" + border, + border, + "global", + (1,), + ONE, + role="constraint", + derivative_support=derivatives, + ) + ) + return Layout(tuple(supports), tuple(variables), tuple(equations)) + + +def small_case(border: str | None = None, *, tensor: bool = False): + alpha, u, v = float(INPUT["alpha"]), np.asarray(INPUT["u"]), np.asarray(INPUT["v"]) + require_rank_one_invertible(alpha, u, v) + nodes = np.arange(4) + layout = small_layout(border, tensor=tensor) + terms = [ + TermSupport( + "diagonal", + "bulk", + "00_balance", + "00_state", + np.column_stack((nodes, nodes)), + ) + ] + values = {"diagonal": np.full(4, alpha)} + if border != "auxiliary": + term = TermSupport.cartesian( + "nonlocal", + "bulk", + "00_balance", + "00_state", + INPUT["declared_u_support"], + INPUT["declared_v_support"], + ) + terms.append(term) + values[term.id] = -u[term.pairs[:, 0]] * v[term.pairs[:, 1]] + if border: + name = "10_" + border + columns = ( + INPUT["declared_u_support"] + if border == "auxiliary" + else (nodes if border == "inventory" else [0, 3]) + ) + rows = INPUT["declared_v_support"] if border == "auxiliary" else columns + kind = "nonlocal" if border == "auxiliary" else border + terms.extend( + ( + TermSupport.cartesian( + "border.column", "bulk", "00_balance", name, columns, [0], kind=kind + ), + TermSupport.cartesian( + "border.row", border, name, "00_state", [0], rows, kind=kind + ), + ) + ) + values["border.column"] = ( + -u + if border == "auxiliary" + else (np.ones(4) if border == "inventory" else np.array([1.0, -1.0])) + ) + values["border.row"] = ( + -v + if border == "auxiliary" + else (np.ones(4) if border == "inventory" else np.array([0.5, -0.5])) + ) + if border != "inventory": + terms.append( + TermSupport("border.scalar", border, name, name, [[0, 0]], kind) + ) + values["border.scalar"] = np.array([1.0 if border == "auxiliary" else -2.0]) + terms = tuple(terms) + return SparseGraph(layout, terms), terms, values + + +@pytest.mark.parametrize("border", [None, "auxiliary", "inventory", "port"]) +def test_nc07_sparse_and_dense_against_independent_decimal80(border): + graph, terms, values = small_case(border) + matrix = graph.assemble(values, supports=terms) + reference_matrix, reference_rhs, reference = decimal_reference(border) + rhs = np.array([float(value) for value in reference_rhs]) + expected = {(i, j) for i in range(4) for j in range(4)} + if border == "auxiliary": + expected = ( + {(i, i) for i in range(4)} + | {(i, 4) for i in range(4)} + | {(4, j) for j in range(4)} + | {(4, 4)} + ) + elif border == "inventory": + expected |= {(i, 4) for i in range(4)} | {(4, j) for j in range(4)} + elif border == "port": + expected |= {(0, 4), (3, 4), (4, 0), (4, 3), (4, 4)} + assert {tuple(pair) for pair in graph.edges()} == expected + assert matrix.nnz == graph.nnz == len(expected) + for method, solution in ( + ("sparse", sparse_solve(matrix, rhs)), + ("dense_candidate", np.linalg.solve(matrix.toarray(), rhs)), + ): + state_error, residual = assert_gate( + solution, reference_matrix, reference_rhs, reference + ) + OBSERVATIONS.append( + { + "case": border or "rank_one", + "method": method, + "structural_nnz": graph.nnz, + "numeric_nnz": int(matrix.count_nonzero()), + "max_state_error": state_error, + "max_independent_residual": residual, + "graph_identity": graph.identity, + } + ) + + +def test_zero_current_coefficient_keeps_all_declared_remote_edges(): + graph, terms, values = small_case() + matrix = graph.assemble(values, supports=terms) + assert matrix.nnz == 16 and matrix.count_nonzero() == 13 + assert {(1, column) for column in range(4)} <= { + tuple(pair) for pair in graph.edges() + } + changed = {name: value.copy() for name, value in values.items()} + changed["nonlocal"][4:8] = -0.75 * np.asarray(INPUT["v"]) + next_matrix = graph.assemble(changed, supports=terms) + assert next_matrix.nnz == next_matrix.count_nonzero() == 16 + assert graph.identity == SparseGraph(graph.layout, terms).identity + + +def test_numeric_nonzero_mask_cannot_replace_a_frozen_support_declaration(): + graph, terms, values = small_case() + bad = tuple( + replace(term, pairs=term.pairs[values[term.id] != 0]) + if term.id == "nonlocal" + else term + for term in terms + ) + with pytest.raises(ContractError, match="structural_recompile_required"): + graph.assemble(values, supports=bad) + + +def test_registration_and_pair_order_are_deterministic(): + graph, terms, values = small_case("auxiliary") + layout = replace( + graph.layout, + supports=graph.layout.supports[::-1], + variables=graph.layout.variables[::-1], + equations=graph.layout.equations[::-1], + ) + reordered = tuple(replace(term, pairs=term.pairs[::-1]) for term in terms[::-1]) + other = SparseGraph(layout, reordered) + assert other.identity == graph.identity + np.testing.assert_array_equal(other.indices, graph.indices) + np.testing.assert_array_equal(other.indptr, graph.indptr) + matrix = graph.assemble( + {name: value[::-1] for name, value in values.items()}, supports=reordered + ) + np.testing.assert_array_equal( + matrix.toarray(), graph.assemble(values, supports=terms).toarray() + ) + + +def test_tensor_support_has_explicit_c_order_flat_indices(): + flat, terms, values = small_case() + tensor, tensor_terms, _ = small_case(tensor=True) + assert flat.identity != tensor.identity + np.testing.assert_array_equal( + flat.assemble(values, supports=terms).toarray(), + tensor.assemble(values, supports=tensor_terms).toarray(), + ) + + +def test_moving_support_forces_recompile_even_with_same_aggregate_graph(): + graph, terms, values = small_case() + first, second = INPUT["moving_support"] + moving = TermSupport( + "moving_wkb", "bulk", "00_balance", "00_state", first, "nonlocal" + ) + original, updated = terms + (moving,), terms + (replace(moving, pairs=second),) + old_graph, new_graph = ( + SparseGraph(graph.layout, original), + SparseGraph(graph.layout, updated), + ) + assert old_graph.identity != new_graph.identity + np.testing.assert_array_equal(old_graph.edges(), new_graph.edges()) + with pytest.raises(ContractError, match="structural_recompile_required"): + old_graph.assemble({**values, "moving_wkb": [0.0]}, supports=updated) + assert ( + new_graph.assemble({**values, "moving_wkb": [0.0]}, supports=updated).nnz == 16 + ) + + +@pytest.mark.parametrize("case", INPUT["domain_cases"]) +def test_exact_blocking_splits_domains_but_tiny_positive_faces_connect(case): + partition = ion_domains(4, [[0, 1], [1, 2], [2, 3]], case["D_faces"]) + assert partition.domains == tuple(tuple(group) for group in case["domains"]) + baseline = ion_domains(4, [[0, 1], [1, 2], [2, 3]], [1.0, 1.0, 1.0]) + assert (partition.identity == baseline.identity) == (case["D_faces"][1] != 0) + graph, terms, values = small_case() + compiled = SparseGraph(graph.layout, terms, topology_identity=baseline.identity) + if partition.identity != baseline.identity: + with pytest.raises(ContractError, match="structural_recompile_required"): + compiled.assemble( + values, supports=terms, topology_identity=partition.identity + ) + OBSERVATIONS.append( + { + "case": "ion_domains", + "D_faces": case["D_faces"], + "domains": partition.domains, + "topology_identity": partition.identity, + } + ) + + +def test_zero_and_subnormal_diffusivity_are_not_collapsed_by_a_threshold(): + zero = ion_domains(2, [[0, 1]], [0.0]) + tiny = ion_domains(2, [[0, 1]], [np.nextafter(0.0, 1.0)]) + assert zero.domains == ((0,), (1,)) and tiny.domains == ((0, 1),) + + +@pytest.mark.parametrize("case", INPUT["domain_cases"]) +def test_each_physical_domain_has_its_own_inventory_border(case): + faces = [[0, 1], [1, 2], [2, 3]] + partition = ion_domains(4, faces, case["D_faces"]) + expected_domains = case["domains"] + globals = tuple("10_inventory_" + str(i) for i in range(len(partition.domains))) + variables = [VariableSpec("00_state", "bulk", "cells", (4,), ONE)] + equations = [ + EquationSpec( + "00_balance", + "bulk", + "cells", + (4,), + ONE, + derivative_support=("00_state",) + globals, + ) + ] + terms = [ + TermSupport( + "mass", + "bulk", + "00_balance", + "00_state", + np.column_stack((np.arange(4), np.arange(4))), + ) + ] + values = {"mass": np.full(4, 2.0)} + for name, members in zip(globals, partition.domains): + variables.append( + VariableSpec(name, name, "global", (1,), ONE, role="constraint") + ) + equations.append( + EquationSpec( + name, + name, + "global", + (1,), + ONE, + role="constraint", + derivative_support=("00_state",), + ) + ) + terms.extend( + ( + TermSupport.cartesian( + name + ".column", + "bulk", + "00_balance", + name, + members, + [0], + kind="inventory", + ), + TermSupport.cartesian( + name + ".row", + name, + name, + "00_state", + [0], + members, + kind="inventory", + ), + ) + ) + values[name + ".column"] = np.ones(len(members)) + values[name + ".row"] = np.ones(len(members)) + by_face = {tuple(pair): value for pair, value in zip(faces, case["D_faces"])} + for index, (left, right) in enumerate(partition.active_faces): + name = "diffusion_" + str(index) + terms.append( + TermSupport( + name, + "bulk", + "00_balance", + "00_state", + [[left, left], [left, right], [right, left], [right, right]], + ) + ) + values[name] = by_face[(left, right)] * np.array([1.0, -1.0, -1.0, 1.0]) + layout = Layout( + (Support("cells", "cell", (4,)), Support("global", "global", (1,))), + tuple(variables), + tuple(equations), + ) + graph = SparseGraph(layout, terms, topology_identity=partition.identity) + matrix = graph.assemble( + values, supports=terms, topology_identity=partition.identity + ) + with localcontext() as context: + context.prec = 80 + size = 4 + len(expected_domains) + reference_matrix = [[D(0) for _ in range(size)] for _ in range(size)] + expected_edges = {(i, i) for i in range(4)} + for i in range(4): + reference_matrix[i][i] = D(2) + for (left, right), diffusion in zip(faces, case["D_faces"]): + if diffusion == 0: + continue + value = D(diffusion) + reference_matrix[left][left] += value + reference_matrix[right][right] += value + reference_matrix[left][right] -= value + reference_matrix[right][left] -= value + expected_edges |= {(left, right), (right, left)} + for column, members in enumerate(expected_domains, 4): + for member in members: + reference_matrix[column][member] = D(1) + reference_matrix[member][column] = D(1) + expected_edges |= {(column, member), (member, column)} + reference_rhs = [D(value) for value in INPUT["b"]] + [ + D(len(members)) for members in expected_domains + ] + reference = decimal_dense_solve(reference_matrix, reference_rhs) + assert {tuple(pair) for pair in graph.edges()} == expected_edges + solution = sparse_solve(matrix, [float(value) for value in reference_rhs]) + error, residual = assert_gate(solution, reference_matrix, reference_rhs, reference) + OBSERVATIONS.append( + { + "case": "domain_inventory_borders", + "D_faces": case["D_faces"], + "domains": partition.domains, + "unknowns": len(solution), + "structural_nnz": graph.nnz, + "max_state_error": error, + "max_independent_residual": residual, + } + ) + + +@pytest.mark.parametrize("attribute", ["indices", "indptr", "keys"]) +def test_graph_arrays_own_values_and_metadata(attribute): + graph, _, _ = small_case() + before = getattr(graph, attribute).copy() + view = getattr(graph, attribute) + with pytest.raises(ValueError): + view.flat[0] = 99 + with pytest.raises(ValueError): + view.setflags(write=True) + view.shape = (1, view.size) + view.dtype = np.uint8 + actual = getattr(graph, attribute) + assert actual.shape == before.shape and actual.dtype == before.dtype + np.testing.assert_array_equal(actual, before) + + +def test_term_domain_and_matrix_arrays_do_not_mutate_owned_graph_state(): + source = np.array([[0, 0], [1, 1]]) + term = TermSupport("term", "bulk", "00_balance", "00_state", source) + source[:] = 3 + view = term.pairs + view.shape = (4,) + view.dtype = np.uint8 + np.testing.assert_array_equal(term.pairs, [[0, 0], [1, 1]]) + partition = ion_domains(4, [[0, 1], [2, 3]], [1, 1]) + labels = partition.labels + labels.shape = (2, 2) + labels.dtype = np.uint8 + np.testing.assert_array_equal(partition.labels, [0, 0, 1, 1]) + graph, terms, values = small_case() + matrix = graph.assemble(values, supports=terms) + before = graph.indices.copy() + matrix.indices[:] = 0 + values["diagonal"][:] = 99 + np.testing.assert_array_equal(graph.indices, before) + + +@pytest.mark.parametrize( + "pairs", + [ + [[0.5, 0]], + [[np.nan, 0]], + [[True, False]], + [[1j, 0]], + [["0", "1"]], + np.array([[np.iinfo(np.uint64).max, 0]], dtype=np.uint64), + [[2**80, 0]], + ], +) +def test_invalid_indices_reuse_core_rejection(pairs): + with pytest.raises(ContractError, match="invalid_index"): + TermSupport("bad", "bulk", "00_balance", "00_state", pairs) + + +@pytest.mark.parametrize("pairs", [[0, 1], [[[0, 1]]], np.empty((2, 0))]) +def test_unsupported_pair_shapes_are_rejected(pairs): + with pytest.raises(ContractError, match="support_pair_shape"): + TermSupport("bad", "bulk", "00_balance", "00_state", pairs) + + +@pytest.mark.parametrize( + "change,reason", + [ + ({"owner": "someone_else"}, "term_owner_mismatch"), + ({"equation": "missing"}, "unknown_equation_or_variable"), + ({"variable": "missing"}, "unknown_equation_or_variable"), + ({"pairs": [[4, 0]]}, "index_outside_support"), + ({"pairs": [[0, -1]]}, "index_outside_support"), + ({"unit": LENGTH}, "jacobian_unit_mismatch"), + ({"kind": "port"}, "global_border_support_required"), + ], +) +def test_unsupported_named_support_or_owner_is_rejected(change, reason): + graph, terms, _ = small_case() + bad = replace(terms[0], **change) + with pytest.raises(ContractError, match=reason): + SparseGraph(graph.layout, (bad,) + terms[1:]) + + +def test_undeclared_derivative_and_duplicate_terms_are_rejected(): + graph, terms, _ = small_case() + layout = replace( + graph.layout, + equations=(replace(graph.layout.equations[0], derivative_support=()),), + ) + with pytest.raises(ContractError, match="undeclared_derivative_support"): + SparseGraph(layout, terms) + with pytest.raises(ContractError, match="duplicate_term"): + SparseGraph(graph.layout, terms + terms[:1]) + with pytest.raises(ContractError, match="duplicate_term_edge"): + replace(terms[0], pairs=[[0, 0], [0, 0]]) + + +@pytest.mark.parametrize( + "coefficient,reason", + [ + (1.0, "coefficient_shape_mismatch"), + (np.ones((4, 1)), "coefficient_shape_mismatch"), + ([1, 2, 3, np.inf], "nonfinite_array"), + ([1, 2, 3, np.nan], "nonfinite_array"), + ([1j] * 4, "unsupported_coefficient_dtype"), + ], +) +def test_coefficient_shape_and_finiteness_fail_closed(coefficient, reason): + graph, terms, values = small_case() + with pytest.raises(ContractError, match=reason): + graph.assemble({**values, "diagonal": coefficient}, supports=terms) + + +def test_missing_coefficient_non_square_layout_and_expansion_are_rejected(): + graph, terms, _ = small_case() + with pytest.raises(ContractError, match="coefficient_terms_mismatch"): + graph.assemble({}, supports=terms) + layout = replace(graph.layout, equations=()) + with pytest.raises(ContractError, match="non_square_or_invalid_layout"): + SparseGraph(layout, ()) + with pytest.raises(ContractError, match="structural_expansion_limit"): + TermSupport.cartesian( + "large", "bulk", "00_balance", "00_state", np.arange(1001), np.arange(1001) + ) + + +@pytest.mark.parametrize( + "diffusion", [[-1.0, 1.0, 1.0], [np.nan, 1.0, 1.0], [[1.0], [1.0], [1.0]]] +) +def test_invalid_diffusion_input_is_rejected(diffusion): + with pytest.raises(ContractError): + ion_domains(4, [[0, 1], [1, 2], [2, 3]], diffusion) + + +@pytest.mark.parametrize("alpha,u,v", [(0.0, [1.0], [1.0]), (2.0, [1.0], [2.0])]) +def test_nc07_invertibility_preconditions_fail_before_factorization(alpha, u, v): + with pytest.raises(ContractError, match="singular_rank_one"): + require_rank_one_invertible(alpha, u, v) + + +def test_native_factorization_failure_is_retained_without_fallback(): + with pytest.raises(RuntimeError, match="singular"): + factorize(csc_matrix((4, 4))) + + +def test_rhs_shape_and_dense_factor_input_are_rejected(): + graph, terms, values = small_case() + matrix = graph.assemble(values, supports=terms) + with pytest.raises(ContractError, match="rhs_shape_mismatch"): + sparse_solve(matrix, np.ones((4, 1))) + with pytest.raises(ContractError, match="square_csc_required"): + factorize(np.eye(4)) diff --git a/tests/numerical_contracts/test_state_authority.py b/tests/numerical_contracts/test_state_authority.py new file mode 100644 index 00000000..9fe264a2 --- /dev/null +++ b/tests/numerical_contracts/test_state_authority.py @@ -0,0 +1,493 @@ +"""Map-authority regressions with independent Decimal physical input oracles. + +These tests adopt the explicit mapped input. They do not relabel the retained +old endpoint-word or stored-increment sign failures as passes. +""" + +from dataclasses import replace +from decimal import Decimal, localcontext +from fractions import Fraction +import hashlib +import json +from pathlib import Path + +import numpy as np +import pytest + +from scripts.benchmarks.contract_prototype import ( + ONE, PARTICLE, VOLT, VOLUME, AcceptedStep, ContractError, + FloatArray, Layout, LinearCoordinates, PhysicalStorage, Point, + StateIncrement, StateView, Support, TerminalPort, VariableSpec, +) +from scripts.benchmarks.precision_prototype import ( + DD, DoubleArithmetic, DoubleArray, InputLiftCoordinates, MappedArray, PrimitiveExpansion, + RelativeCoordinates, bernoulli, decode_point, encode_point, +) + + +TEXTS = ["0", "1e-17", "-1e-17", "1e-16", "-1e-16"] +VT = 0.025851999786435535 + + +def words(value, index=0): + return Decimal.from_float(float(value.high.ravel()[index]))+Decimal.from_float(float(value.low.ravel()[index])) + + +def state_fixture(gauge=0.0): + layout = Layout((Support("cells", "cell", (2,)),), + (VariableSpec("n_m3", "carrier", "cells", (2,), PARTICLE / VOLUME, lower=0), + VariableSpec("phi_V", "electrostatics", "cells", (2,), VOLT)), ()) + coordinates = RelativeCoordinates(layout, {"n_m3": "log", "phi_V": "linear"}) + initial = coordinates.initial(StateView(layout, [("n_m3", DoubleArray([1e22, 1e22])), + ("phi_V", DoubleArray([gauge, gauge]))]), inputs=[0]) + return coordinates, initial + + +def mapped_hole_current(state): + """SG evaluation through the public density/potential map operations.""" + log_density = state.log_ratio("n_m3", [[0, 1]]).as_dd() + xi = state.face_difference("phi_V", [[0, 1]]).as_dd()/VT + right = state.field("n_m3").take([1]).as_dd() + bminus = bernoulli(DoubleArray.from_dd(-xi)).as_dd() + affinity = -log_density-xi + # All frozen weak controls use the stable equivalent backward-flux form. + value = bminus*right*affinity.expm1() + return DoubleArray.from_dd(DD(1.602176634e-19)*1e-4/1e-8*value) + + +@pytest.mark.parametrize("gauge", [0.0, 1.0]) +@pytest.mark.parametrize("text", TEXTS) +def test_ten_mixed_hole_inputs_use_one_map_before_and_after_codec(gauge, text): + coordinates, left = state_fixture(gauge) + x, voltage = float(text), -VT*float(text) + right, increment = coordinates.advance(left, [0, x, 0, voltage], 1, [0]) + restored = decode_point(json.loads(json.dumps(encode_point(right))), right.state.layout) + assert isinstance(right.state.field("n_m3"), MappedArray) + assert right.state.field("n_m3").authority.identity == right.state.authority.identity + assert restored.identity == right.identity + assert StateIncrement.from_points(left, restored).field("n_m3").identity_bytes() == increment.field("n_m3").identity_bytes() + with localcontext() as context: + context.prec = 100 + d = Decimal.from_float(x) + xi = Decimal.from_float(voltage)/Decimal.from_float(VT) + density = Decimal(10**22)*d.exp() + bm = Decimal(1) if xi == 0 else (-xi)/((-xi).exp()-1) + expected = (Decimal.from_float(1.602176634e-19)*Decimal.from_float(1e-4) + / Decimal.from_float(1e-8)*bm*density*((-d-xi).exp()-1)) + for state in (right.state, restored.state): + current = words(mapped_hole_current(state)) + assert abs(current-expected) <= Decimal("1e-40")+abs(expected)*Decimal("1e-12") + assert (current == 0) == (expected == 0) + assert (current > 0) == (expected > 0) + if text == "1e-16": + assert expected < 0 # The retained rounded-endpoint oracle was positive. + difference = right.state.face_difference("n_m3", [[0, 1]]) + assert abs(words(difference)-Decimal(10**22)*(d.exp()-1)) < Decimal("1e-20") + assert words(right.state.log_ratio("n_m3", [[0, 1]])) == d + + +def test_increment_values_cannot_be_forged_for_the_same_float_or_mapped_pair(): + coordinates, left = state_fixture() + right, increment = coordinates.advance(left, [0, 1e-17, 0, 0], 1, [0]) + fields = dict(increment.fields) + fields["n_m3"] = DoubleArray.from_dd(fields["n_m3"].as_dd()+DD([1, 0])) + with pytest.raises(ContractError, match="increment_authority_mismatch"): + StateIncrement(left.identity, right.identity, fields).validate(left, right) + linear = LinearCoordinates(left.state.layout) + a = linear.point([1, 2, 0, 0]) + b, change = linear.advance(a, [1, 0, 0, 0], 1) + fields = dict(change.fields) + fields["n_m3"] = FloatArray([2, 0]) + with pytest.raises(ContractError, match="increment_authority_mismatch"): + StateIncrement(a.identity, b.identity, fields).validate(a, b) + + +def test_map_binding_and_projection_cannot_silently_create_new_authority(): + coordinates, left = state_fixture() + right, _ = coordinates.advance(left, [0, 1e-17, 0, 0], 1, [0]) + for replacement in ({"time": 2}, {"inputs": np.array([1.])}, {"y": np.zeros(4)}, + {"coordinate_reference": "unresolved"}): + with pytest.raises(ContractError, match="point_authority_binding_mismatch"): + replace(right, **replacement) + with pytest.raises(ContractError, match="mapped_field_requires_its_authority"): + StateView(right.state.layout, right.state.fields.items()) + projection = right.state.project_field("n_m3") + assert type(projection.value) is DoubleArray + assert projection.authority_identity == right.state.authority.identity + with pytest.raises(ContractError, match="projection_not_certified"): + projection.require_error([1e10, 1e10]) + with pytest.raises(ContractError, match="projection_not_certified"): + coordinates.rebase(right, {"n_m3": [1e10, 1e10], "phi_V": [1e10, 1e10]}) + rebased = coordinates.rebase(left, {"n_m3": [0, 0], "phi_V": [0, 0]}) + assert rebased.state.authority.root_identity == left.state.authority.root_identity + + +def test_accepted_composition_codec_and_depletion_keep_a_positive_direct_map_endpoint(): + layout = Layout((Support("cell", "global", (1,)),), + (VariableSpec("n", "carrier", "cell", (1,), ONE, lower=0),), ()) + coordinates = RelativeCoordinates(layout, {"n": "log"}) + root = coordinates.initial(StateView(layout, [("n", DoubleArray([1]))])) + weak, _ = coordinates.advance(root, [1e-17], 1) + restored = decode_point(encode_point(weak), layout) + down, delta = coordinates.advance(restored, [-80], 2) + up, _ = coordinates.advance(decode_point(encode_point(down), layout), [80], 3) + with localcontext() as context: + context.prec = 100 + expected = (Decimal.from_float(1e-17)-80).exp() + assert words(down.state.field("n")) > 0 + assert abs(words(down.state.field("n"))-expected) < expected*Decimal("1e-28") + assert words(delta.field("n"))+words(weak.state.project_field("n").value) == 0 + assert abs(words(up.state.field("n"))-Decimal.from_float(1e-17).exp()) < Decimal("1e-28") + assert down.state.authority.root_identity == root.state.authority.root_identity + assert up.state.authority.root_identity == root.state.authority.root_identity + point = root + for step in range(1, 11): + point, _ = coordinates.advance(point, [1e-17], step) + for step in range(11, 21): + point, _ = coordinates.advance(decode_point(encode_point(point), layout), [-1e-17], step) + assert np.all(point.state.authority.primitives["n"].as_dd() == 0) + assert words(point.state.field("n")) == 1 + + +def test_fixed_primitive_expansion_retains_four_words_and_refuses_a_fifth(): + layout = Layout((Support("cell", "global", (1,)),), + (VariableSpec("n", "carrier", "cell", (1,), ONE),), ()) + coordinates = RelativeCoordinates(layout, {"n": "linear"}) + root = coordinates.initial(StateView(layout, [("n", DoubleArray([0]))])) + first, _ = coordinates.advance(root, DoubleArray([1], [2.0**-54]), 1) + second, delta = coordinates.advance(first, [2.0**-108], 2) + third, _ = coordinates.advance(second, [2.0**-162], 3) + np.testing.assert_array_equal([word[0] for word in third.state.authority.primitives["n"].words], + [1, 2.0**-54, 2.0**-108, 2.0**-162]) + assert delta.field("n").high[0] == 2.0**-108 and delta.field("n").low[0] == 0 + with pytest.raises(ContractError, match="primitive_expansion_capacity_exceeded"): + coordinates.advance(third, [2.0**-216], 4) + with pytest.raises(ContractError, match="primitive_projection_would_discard_remainder"): + third.state.authority.primitives["n"].as_dd() + assert first.state.authority.local_primitives["n"].words[1][0] == 2.0**-54 + + +def test_primitive_expansion_owns_word_metadata_and_rejects_invalid_encodings(): + value = PrimitiveExpansion(([1.0, 2.0], [2.0**-54, 2.0**-53], [2.0**-108]*2, [2.0**-162]*2)) + identity = value.identity_bytes() + view = value.words[2] + view.shape = (1, 2) + view.dtype = np.int64 + assert value.words[2].shape == (2,) and value.words[2].dtype == np.float64 + assert value.identity_bytes() == identity + with pytest.raises(ValueError): + value.words[0].setflags(write=True) + with pytest.raises(TypeError, match="primitive projection"): + np.asarray(value) + with pytest.raises(ContractError, match="primitive_word_count"): + PrimitiveExpansion(([1.], [0.])) + with pytest.raises(ContractError, match="unnormalized_primitive_words"): + PrimitiveExpansion(([1.], [1.], [0.], [0.])) + with pytest.raises(ContractError, match="primitive_word_dtype"): + PrimitiveExpansion((["1"], [0.], [0.], [0.])) + with pytest.raises(ContractError, match="inexact_primitive_integer"): + PrimitiveExpansion(([2**53+1], [0.], [0.], [0.])) + + +def test_empty_precision_state_retains_prescribed_input_and_transition_identity(): + layout = Layout((), (), ()) + coordinates = RelativeCoordinates(layout, {}) + left = coordinates.initial(StateView(layout), inputs=[0]) + right, increment = coordinates.advance(left, [], 1, [2]) + assert not increment.fields + restored = decode_point(encode_point(right), layout) + assert restored.identity == right.identity + assert restored.state.authority.previous_point_identity == left.identity + np.testing.assert_array_equal(restored.inputs, [2]) + + +def test_transition_must_resolve_the_actual_previous_primitives_not_only_its_ID(): + layout = Layout((Support("cell", "global", (1,)),), + (VariableSpec("x", "linear", "cell", (1,), ONE),), ()) + coordinates = RelativeCoordinates(layout, {"x": "linear"}) + root = coordinates.initial(StateView(layout, [("x", DoubleArray([0]))])) + left, _ = coordinates.advance(root, [1], 1) + right, _ = coordinates.advance(left, [1], 2) + forged = replace(right.state.authority, previous_primitives={"x": DoubleArray([0])}, + local_primitives={"x": DoubleArray([2])}, coordinates=np.array([2.])) + point = Point(2, np.array([2.]), np.empty(0), StateView(layout, authority=forged), forged.reference) + with pytest.raises(ContractError, match="increment_transition_primitive_mismatch"): + StateIncrement.from_points(left, point) + with pytest.raises(ContractError, match="authority_coordinate_projection_mismatch"): + replace(right.state.authority, coordinates=np.array([9.])) + + +def _resign(record): + record["sha256"] = hashlib.sha256(json.dumps(record["payload"], sort_keys=True, + separators=(",", ":"), allow_nan=False).encode()).hexdigest() + return record + + +@pytest.mark.parametrize("part", ["anchor", "mode", "primitive", "transition", "previous_point", "version", "projection", "role"]) +def test_codec_rejects_changed_meaning_even_with_a_recomputed_outer_digest(part): + coordinates, left = state_fixture() + right, _ = coordinates.advance(left, [0, 1e-17, 0, 0], 1, [0]) + record = json.loads(json.dumps(encode_point(right))) + authority = record["payload"]["authority"] + if part == "anchor": del authority["anchor"]["n_m3"] + elif part == "mode": authority["modes"]["n_m3"] = "linear" + elif part == "primitive": authority["primitives"]["n_m3"]["words"][1][1] = (1e-40).hex() + elif part == "transition": authority["transition"]["previous_authority"] = "unresolved" + elif part == "previous_point": authority["transition"]["previous_point"] = "0"*64 + elif part == "version": authority["version"] = 99 + elif part == "projection": record["payload"]["fields"]["n_m3"]["high"][1] = (2e22).hex() + elif part == "role": record["payload"]["field_role"] = "resolved-input" + with pytest.raises((ContractError, ValueError)): + decode_point(_resign(record), right.state.layout) + + +def test_named_r1_lift_preserves_VT_full_lifts_zero_branches_and_coupled_activity(): + names = ["n_m3", "p_m3", "phi_V", "dqfn_V", "dqfp_V", "positive_m3", "occupancy", + "trace_state_m3", "trace_potential_V"] + volts = {"phi_V", "dqfn_V", "dqfp_V", "trace_potential_V"} + layout = Layout((Support("nodes", "global", (2,)),), tuple( + VariableSpec(name, "frozen-input", "nodes", (2,), VOLT if name in volts else ONE, + lower=0 if name not in volts else None, upper=1 if name == "occupancy" else None) + for name in names), ()) + fields = {name: DoubleArray([0, 0] if name in volts or name == "positive_m3" else [1, 1]) for name in names} + fields["occupancy"] = DoubleArray([0, 1]) + left = Point(0, np.zeros(2), np.array([0.]), StateView(layout, fields.items()), "explicit-r1-input-v1") + coords = InputLiftCoordinates(layout, VT) + drive = np.array([1e-17, -1e-17]) + bulk_lift = DoubleArray.from_dd(-DD(VT)*DD(drive)) + trace_lift = DoubleArray.from_dd(-DD(VT)*DD(drive[::-1])) + right, increment = coords.advance(left, {"electron": -drive, "hole": drive, "potential": drive, + "positive": drive, "occupancy": [-80, 80], + "trace_density": drive, "trace_potential": drive[::-1]}, + 1, bulk_lift, trace_lift, [0]) + for name in ("n_m3", "p_m3", "phi_V", "dqfn_V", "dqfp_V", "positive_m3", "occupancy", "trace_potential_V"): + assert np.all(increment.field(name).as_dd() == 0), name + restored = decode_point(json.loads(json.dumps(encode_point(right))), layout) + assert restored.identity == right.identity + assert restored.state.authority.parameters["thermal_voltage_V"] == VT + assert restored.state.authority.local_primitives["voltage_lift"].identity_bytes() == PrimitiveExpansion.from_value(bulk_lift).identity_bytes() + assert restored.state.authority.local_primitives["trace_voltage_lift"].identity_bytes() == PrimitiveExpansion.from_value(trace_lift).identity_bytes() + assert np.all(restored.state.log_ratio("n_m3", [[0, 1]]).as_dd() == 0) + assert np.all(restored.state.electrochemical_difference("n_m3", "phi_V", [[0, 1]], VT, + potential_sign=-1, arithmetic=DoubleArithmetic()).as_dd() == 0) + for key in ("thermal_voltage_V", "voltage_lift", "trace_voltage_lift"): + record = json.loads(json.dumps(encode_point(right))) + if key == "thermal_voltage_V": record["payload"]["authority"]["parameters"][key] = (VT*2).hex() + else: record["payload"]["authority"]["primitives"][key]["words"][0][0] = (1e-4).hex() + with pytest.raises(ContractError): decode_point(_resign(record), layout) + + +@pytest.mark.parametrize("case_name", ["step183_failed", "step183_accepted", "step309_failed"]) +def test_original_R1_physical_snapshots_roundtrip_the_named_map_without_private_state(case_name): + path = Path(__file__).resolve().parents[1]/"fixtures/refactor/R1FailureWitnessV1.json" + assert hashlib.sha256(path.read_bytes()).hexdigest() == "29e4981bd4d5d11d19f3120febbd47d853d39bfb45a72a44ecec91566757db1d" + case = json.loads(path.read_text())["cases"][case_name] + raw = case["saved_row"]["state"] if case_name == "step183_accepted" else case["saved_witness"]["attempted_state"] + units = {"n_m3": PARTICLE/VOLUME, "p_m3": PARTICLE/VOLUME, "positive_m3": PARTICLE/VOLUME, + "phi_V": VOLT, "occupancy": ONE, "trace_state_m3": PARTICLE/VOLUME, "trace_potential_V": VOLT} + supports, variables, fields = [], [], [] + for name, unit in units.items(): + value = np.asarray(raw[name], dtype=float) + supports.append(Support(name, "global", value.shape)) + variables.append(VariableSpec(name, "original-physical-input", name, value.shape, unit)) + fields.append((name, DoubleArray(value))) + layout = Layout(tuple(supports), tuple(variables), ()) + root = Point(0, np.empty(0), np.array([0.]), StateView(layout, fields), "original-physical-input:"+case_name) + bulk = np.full(root.state.field("n_m3").shape, 1e-17) + trace = np.full(root.state.field("trace_potential_V").shape, 1e-17) + right, increment = InputLiftCoordinates(layout, VT).advance( + root, {"electron": bulk, "potential": -bulk, "trace_potential": trace}, 1, + DoubleArray.from_dd(DD(VT)*DD(bulk)), DoubleArray.from_dd(-DD(VT)*DD(trace)), [0]) + restored = decode_point(json.loads(json.dumps(encode_point(right))), layout) + assert restored.identity == right.identity + for name in units: + assert restored.state.field(name).shape == root.state.field(name).shape + assert restored.state.authority.anchor[name].identity_bytes() == root.state.field(name).identity_bytes() + for name in ("n_m3", "phi_V", "positive_m3", "occupancy", "trace_potential_V"): + assert np.all(increment.field(name).as_dd() == 0), name + with localcontext() as context: + context.prec = 80 + multiplier = Decimal.from_float(1e-17).exp()-1 + for index in range(root.state.field("p_m3").shape[0]): + expected = words(root.state.field("p_m3"), index)*multiplier + actual = words(increment.field("p_m3"), index) + assert abs(actual-expected) <= Decimal("1e-7")+Decimal("1e-12")*abs(expected) + assert (actual > 0) == (expected > 0) + # The independent review's ordinary three-scale rejection, followed by an + # admitted weaker drive, must now compose exactly in the bounded primitive + # representation while the physical delta remains ordinary DD. + point, total = root, Decimal(0) + for step, magnitude in enumerate((0.1, 1e-8, 1e-20, 1e-40), 1): + update = np.zeros(root.state.field("n_m3").shape) + update[-1] = magnitude + following, change = InputLiftCoordinates(layout, VT).advance(point, {"electron": update}, step) + with localcontext() as context: + context.prec = 150 + n0 = words(root.state.field("n_m3"), len(update)-1) + expected = n0*total.exp()*(Decimal.from_float(magnitude).exp()-1) + actual = words(change.field("n_m3"), len(update)-1) + assert actual != 0 and abs(actual-expected) <= abs(expected)*Decimal("1e-12") + total += Decimal.from_float(magnitude) + restored_following = decode_point(json.loads(json.dumps(encode_point(following))), layout) + assert restored_following.identity == following.identity + point = restored_following + assert np.any(point.state.authority.primitives["electron"].words[3] != 0) + represented = sum((Fraction.from_float(float(word[-1])) for word in point.state.authority.primitives["electron"].words), Fraction()) + requested = sum((Fraction.from_float(value) for value in (0.1, 1e-8, 1e-20, 1e-40)), Fraction()) + assert represented == requested + # These are kinematic input/codec controls, not native183/309 or13-channel + # longwindow science qualification; the original failure records stay put. + + +def test_logit_weak_step_and_inactive_and_domain_failures_are_explicit(): + layout = Layout((Support("cell", "global", (3,)),), + (VariableSpec("f", "trap", "cell", (3,), ONE, lower=0, upper=1),), ()) + coords = RelativeCoordinates(layout, {"f": "logit"}) + root = coords.initial(StateView(layout, [("f", DoubleArray([0, 0.5, 1]))])) + right, delta = coords.advance(root, [-80, 1e-17, 80], 1) + assert words(delta.field("f"), 0) == words(delta.field("f"), 2) == 0 + with localcontext() as context: + context.prec = 100 + z = Decimal.from_float(1e-17) + expected = z.exp()/(1+z.exp())-Decimal("0.5") + assert abs(words(delta.field("f"), 1)-expected) < Decimal("1e-45") + inactive = RelativeCoordinates(layout, {"f": "inactive"}) + zero = inactive.initial(StateView(layout, [("f", DoubleArray([0, 0, 0]))])) + with pytest.raises(ContractError, match="inactive_coordinate_change"): + inactive.advance(zero, [0, 1e-17, 0], 1) + logarithmic = RelativeCoordinates(layout, {"f": "log"}) + with pytest.raises(ContractError, match="positive_inventory"): + logarithmic.initial(StateView(layout, [("f", DoubleArray([0, 0.5, 1]))])) + with pytest.raises(ArithmeticError, match="supported precision range"): + coords.advance(root, [0, 700, 0], 1) + + +@pytest.mark.parametrize("density,role,sign", [("n_m3", "electron", -1), ("p_m3", "hole", 1)]) +@pytest.mark.parametrize("weak", [0.0, 1e-40, -1e-40]) +@pytest.mark.parametrize("gauge", [0.0, 1.0]) +@pytest.mark.parametrize("potential", [[0.1, 0.3], [1e-6, 0.017000000000000003], + [0.123456789012345, 3.141592653589793]]) +def test_localized_coupled_activity_cancels_the_shared_primitive_before_rounding(density, role, sign, weak, gauge, potential): + layout = Layout((Support("nodes", "global", (2,)),), + (VariableSpec("n_m3", "carrier", "nodes", (2,), PARTICLE/VOLUME), + VariableSpec("p_m3", "carrier", "nodes", (2,), PARTICLE/VOLUME), + VariableSpec("phi_V", "field", "nodes", (2,), VOLT)), ()) + root = Point(0, np.empty(0), np.empty(0), StateView(layout, [ + ("n_m3", DoubleArray([1e22, 1e22])), ("p_m3", DoubleArray([1e22, 1e22])), + ("phi_V", DoubleArray([gauge, gauge]))]), "localized-r1-physical-input-v1") + right, _ = InputLiftCoordinates(layout, VT).advance( + root, {"potential": potential, role: [0, weak]}, 1) + for point in (right, decode_point(encode_point(right), layout)): + actual = point.state.electrochemical_difference(density, "phi_V", [[0, 1]], VT, + potential_sign=sign, arithmetic=DoubleArithmetic()) + with localcontext() as context: + context.prec = 100 + expected = Decimal.from_float(weak) + assert abs(words(actual)-expected) <= abs(expected)*Decimal("1e-12"), (words(actual), expected) + assert (words(actual) == 0) == (expected == 0) + other_vt = point.state.electrochemical_difference(density, "phi_V", [[0, 1]], 2*VT, + potential_sign=sign, arithmetic=DoubleArithmetic()) + expected_other = expected-Decimal(sign)*(Decimal.from_float(potential[1])-Decimal.from_float(potential[0]))/2 + assert abs(words(other_vt)-expected_other) < Decimal("1e-29") + + +@pytest.mark.parametrize("density,role,coupled_sign", [("n_m3", "electron", 1), ("p_m3", "hole", -1)]) +@pytest.mark.parametrize("weak", [0.0, 1e-40, -1e-40]) +@pytest.mark.parametrize("potential", [[0.1, 0.3], [1e-6, 0.017000000000000003], + [0.123456789012345, 3.141592653589793]]) +def test_localized_full_voltage_lift_retains_weak_activity_through_all_product_words(density, role, coupled_sign, weak, potential): + layout = Layout((Support("nodes", "global", (2,)),), + (VariableSpec("n_m3", "carrier", "nodes", (2,), PARTICLE/VOLUME), + VariableSpec("p_m3", "carrier", "nodes", (2,), PARTICLE/VOLUME), + VariableSpec("phi_V", "field", "nodes", (2,), VOLT)), ()) + root = Point(0, np.empty(0), np.empty(0), StateView(layout, [ + ("n_m3", DoubleArray([1e22, 1e22])), ("p_m3", DoubleArray([1e22, 1e22])), + ("phi_V", DoubleArray([1, 1]))]), "localized-lift-physical-input-v1") + primary = DoubleArray(-coupled_sign*np.asarray(potential), [0, weak]) + lift = DoubleArray.from_dd(-DD(VT)*DD(potential)) + right, _ = InputLiftCoordinates(layout, VT).advance(root, {"potential": potential, role: primary}, 1, lift) + for point in (right, decode_point(encode_point(right), layout)): + result = point.state.electrochemical_difference(density, "phi_V", [[0, 1]], VT, + potential_sign=-coupled_sign, arithmetic=DoubleArithmetic()) + with localcontext() as context: + context.prec = 100 + expected = Decimal.from_float(weak) + assert abs(words(result)-expected) <= abs(expected)*Decimal("1e-12") + assert (words(result) == 0) == (expected == 0) + + +def test_accepted_step_and_physical_storage_preserve_the_same_DD_delta_words(): + coords, left = state_fixture() + right, delta = coords.advance(left, [0, 1e-17, 0, 1e-22], 1, [0]) + a = DoubleArithmetic() + storage = PhysicalStorage(lambda p: p.state.field("n_m3"), lambda l, r, d: d.field("n_m3"), + (PARTICLE / VOLUME, PARTICLE / VOLUME), "authority-example-v1", a) + dq = storage.delta(left, right, delta) + step = AcceptedStep(left, right, delta, dq, delta.field("phi_V"), np.zeros(4), np.zeros(1), + "nonnative-authority-control", "continuous", (("independent_control", 0),), True, a) + assert step.storage_delta.identity_bytes() == dq.identity_bytes() + current = TerminalPort("left", -1, 1).current(dq, DoubleArray.from_dd(-dq.as_dd()+DD([0, 1e-20])), arithmetic=a) + with localcontext() as context: + context.prec = 100 + assert abs(words(current, 1)-Decimal.from_float(1e-20)) < Decimal("1e-27") + with pytest.raises(TypeError, match="implicit precision rounding"): + np.asarray(step.storage_delta) + + +@pytest.mark.parametrize("changed", ["time", "inputs", "reference", "y"]) +@pytest.mark.parametrize("roundtrip", [False, True]) +def test_first_lift_binds_the_complete_predecessor_Point(changed, roundtrip): + layout = Layout((Support("node", "global", (1,)),), + (VariableSpec("n_m3", "carrier", "node", (1,), ONE), + VariableSpec("p_m3", "carrier", "node", (1,), ONE), + VariableSpec("phi_V", "potential", "node", (1,), VOLT)), ()) + left = Point(0, np.array([0.]), np.array([0.]), StateView(layout, [ + ("n_m3", DoubleArray([1])), ("p_m3", DoubleArray([1])), + ("phi_V", DoubleArray([0]))]), "first-r1-root-v1") + right, original = InputLiftCoordinates(layout, VT).advance(left, {"electron": [0.01]}, 1, inputs=[0]) + if roundtrip: + right = decode_point(encode_point(right), layout) + assert right.state.authority.previous_point_identity == left.identity + assert StateIncrement.from_points(left, right).field("n_m3").identity_bytes() == original.field("n_m3").identity_bytes() + kwargs = {"time": {"time": 0.25}, "inputs": {"inputs": np.array([1.])}, + "reference": {"coordinate_reference": "different-root-source"}, "y": {"y": np.array([0.25])}}[changed] + foreign = replace(left, **kwargs) + assert foreign.state.authority.identity == left.state.authority.identity + assert foreign.identity != left.identity + with pytest.raises(ContractError, match="increment_predecessor_point_mismatch"): + StateIncrement.from_points(foreign, right) + forged = StateIncrement(foreign.identity, right.identity, original.fields) + with pytest.raises(ContractError, match="increment_predecessor_point_mismatch"): + forged.validate(foreign, right) + with pytest.raises(ContractError, match="increment_predecessor_point_mismatch"): + AcceptedStep(foreign, right, forged, [0], [0], np.zeros_like(right.y), np.zeros_like(right.inputs), + "binding-only-control", "continuous", (("binding", 0),), True) + + +@pytest.mark.parametrize("density,role,potential_sign", [("n_m3", "electron", 1), ("p_m3", "hole", -1)]) +@pytest.mark.parametrize("weak", [1e-40, -1e-40, 1e-17, -1e-17]) +def test_canonical_inventory_delta_uses_primitives_before_coupled_drive_rounding(density, role, potential_sign, weak): + layout = Layout((Support("nodes", "global", (2,)),), + (VariableSpec("n_m3", "carrier", "nodes", (2,), PARTICLE/VOLUME), + VariableSpec("p_m3", "carrier", "nodes", (2,), PARTICLE/VOLUME), + VariableSpec("phi_V", "potential", "nodes", (2,), VOLT)), ()) + root = Point(0, np.empty(0), np.empty(0), StateView(layout, [ + ("n_m3", DoubleArray([1e22, 1e22])), ("p_m3", DoubleArray([1e22, 1e22])), + ("phi_V", DoubleArray([0, 0]))]), "canonical-inventory-root-v1") + coordinates = InputLiftCoordinates(layout, VT) + first, _ = coordinates.advance(root, {"potential": [0.1, 0.3]}, 1) + left, _ = coordinates.advance(first, {"potential": [1e-8, -1e-8]}, 2) + right, increment = coordinates.advance(left, {role: [0, weak]}, 3) + with localcontext() as context: + context.prec = 140 + z0 = Decimal(potential_sign)*(Decimal.from_float(0.3)-Decimal.from_float(1e-8)) + expected = Decimal(10**22)*z0.exp()*(Decimal.from_float(weak).exp()-1) + for point in (right, decode_point(encode_point(right), layout)): + actual = StateIncrement.from_points(left, point).field(density) + assert abs(words(actual, 1)-expected) <= abs(expected)*Decimal("1e-12") + assert (words(actual, 1) > 0) == (expected > 0) + assert words(actual, 1) != 0 + activity = point.state.electrochemical_difference(density, "phi_V", [[0, 1]], VT, + potential_sign=-potential_sign, arithmetic=DoubleArithmetic()) + assert abs(words(activity)-Decimal.from_float(weak)) <= abs(Decimal.from_float(weak))*Decimal("1e-12") + assert increment.field(density).identity_bytes() == StateIncrement.from_points(left, right).field(density).identity_bytes() diff --git a/tests/numerical_contracts/test_storage.py b/tests/numerical_contracts/test_storage.py new file mode 100644 index 00000000..db1eeb96 --- /dev/null +++ b/tests/numerical_contracts/test_storage.py @@ -0,0 +1,768 @@ +"""Independent NC01--NC05 references for the isolated storage candidate. + +Numerical expectations use Decimal80 scalar equations, matrix elimination or +analytic differentiation. No old device engine or candidate solver supplies an +oracle. When STORAGE_CASE_LOG is set, every case (including failures) appends its +actual evidence before the assertion; the run receipt freezes that log afterward. +""" + +from __future__ import annotations + +from decimal import Decimal, localcontext +from hashlib import sha256 +from itertools import product +from math import fsum +from pathlib import Path +import json +import os +import resource +import time + +import numpy as np +import pytest + +from scripts.benchmarks.contract_prototype import ContractError, ImplicitSystem +from scripts.benchmarks.storage_prototype import ( + CarrierPotentialStorage, ExponentialStorage, SharedCapacityStorage, + conservative_be_step, consistent_initial_state, diffusion_probe, + ida_diffusion_probe, no_constraints, rank_aware_solve, rank_evidence, + trap_exchange_probe, +) + + +GATE_PATH = Path(__file__).with_name("AnalyticGatesV1.json") +GATE_SHA256 = "43c9ba4ab1b6a95b3e278efcd8eed9a67dc4d5e258295c8e6961c53f7ee57201" +assert sha256(GATE_PATH.read_bytes()).hexdigest() == GATE_SHA256 +GATES = {item["id"]: item for item in json.loads(GATE_PATH.read_text())["gates"]} + +# Supplemental diagnostic inputs, frozen with source before execution. They +# extend chain-rule/rank coverage without changing any frozen gate or constant. +SUPPLEMENTAL_INPUTS = { + "full_ic_chain": {"alpha": 0.3, "beta": 0.7, "gamma": 0.2, + "a": 0.1, "time": 0.4, "adot": -0.3, "n": 2}, + "shared_contraction": {"capacity_rate": 0.25, "time": 0.2, "input": 0.95, + "ydot": [0.4, -0.2], "adot": 0.3, + "dy": [0.2, -0.7], "da": 0.6, "dt": -0.4}, + "shared_finite": {"theta": [0.2, 0.3], "capacity_rate": 0.25, + "dy": [0.02, -0.03], "da": 0.01, "dt": 0.005}, + "partial_inactive": [0.0, 0.3], + "saturated": [0.5, 0.5], + "ordinary_log_be": {"maxfev": 100}, + "ida_accepted_step_budget": 100000, +} + + +def d(value) -> Decimal: + """Exact decimal statement of frozen JSON input.""" + return Decimal(str(value)) + + +def binary(value) -> Decimal: + """Exact binary64 input, not its shortened display decimal.""" + return Decimal.from_float(float(value)) + + +def emit(record: dict) -> None: + def json_scalar(value): + if isinstance(value, np.generic): + return value.item() + if isinstance(value, np.ndarray): + return value.tolist() + raise TypeError(f"unsupported evidence value: {type(value).__name__}") + + path = os.environ.get("STORAGE_CASE_LOG") + if path: + with Path(path).open("a") as stream: + stream.write(json.dumps(record, allow_nan=False, separators=(",", ":"), + default=json_scalar) + "\n") + + +def conclude(request, record: dict, checks: dict[str, bool]) -> None: + record.update(test=request.node.nodeid, checks={k: bool(v) for k, v in checks.items()}, + passed=all(checks.values())) + emit(record) + assert all(checks.values()), {k: v for k, v in record["checks"].items() if not v} + + +def comparison(values, references, atol, rtol) -> dict: + values = np.asarray(values).ravel() + references = list(references) + assert len(values) == len(references) + with localcontext() as ctx: + ctx.prec = 80 + errors = [abs(binary(x) - ref) for x, ref in zip(values, references, strict=True)] + budgets = [d(atol) + d(rtol) * abs(ref) for ref in references] + return {"reference_decimal80": [str(x) for x in references], + "absolute_errors": [float(x) for x in errors], + "budgets": [float(x) for x in budgets], + "passed": all(error <= budget for error, budget in zip(errors, budgets, strict=True))} + + +def decimal_linear_step(case: dict, initial: list[Decimal], h: Decimal, precision=80 + ) -> list[Decimal]: + """Independent partial-pivot Decimal elimination of (M-hL)x=M*xold.""" + with localcontext() as ctx: + ctx.prec = precision + n = len(initial) + volumes = [d(v) for v in case["volumes"]] + matrix = [[Decimal(0) for _ in range(n)] for _ in range(n)] + rhs = [volumes[i] * initial[i] for i in range(n)] + for i, volume in enumerate(volumes): + matrix[i][i] = volume + for (i, j), k0 in zip(case["faces"], case["conductance"], strict=True): + k = h * d(k0) + matrix[i][i] += k + matrix[j][j] += k + matrix[i][j] -= k + matrix[j][i] -= k + for col in range(n): + pivot = max(range(col, n), key=lambda row: abs(matrix[row][col])) + assert matrix[pivot][col] != 0 + matrix[col], matrix[pivot] = matrix[pivot], matrix[col] + rhs[col], rhs[pivot] = rhs[pivot], rhs[col] + for row in range(col + 1, n): + factor = matrix[row][col] / matrix[col][col] + for j in range(col, n): + matrix[row][j] -= factor * matrix[col][j] + rhs[row] -= factor * rhs[col] + result = [Decimal(0)] * n + for row in range(n - 1, -1, -1): + result[row] = (rhs[row] - sum(matrix[row][j] * result[j] + for j in range(row + 1, n))) / matrix[row][row] + return result + + +def inventory_record(delta, volumes, domains, initial, cumulative, gate) -> tuple[dict, bool]: + defects, scales, limits = [], [], [] + for domain in domains: + defects.append(abs(fsum(float(volumes[i]) * float(delta[i]) for i in domain))) + scale = fsum(float(volumes[i]) * float(initial[i]) for i in domain) + scales.append(scale if scale != 0 else 1.0) + limits.append(gate["inventory_relative_limit"] * scale if scale != 0 + else gate["zero_inventory_absolute_limit"]) + for i, defect in enumerate(defects): + cumulative[i] += defect + cumulative_limits = [gate["cumulative_absolute_inventory_relative_limit"] * scale + if any(initial[i] != 0 for i in domain) + else gate["zero_inventory_absolute_limit"] + for scale, domain in zip(scales, domains, strict=True)] + passed = all(x <= lim for x, lim in zip(defects, limits, strict=True)) and all( + x <= lim for x, lim in zip(cumulative, cumulative_limits, strict=True)) + return {"absolute_interval_defect": defects, "cumulative_absolute_defect": cumulative.copy(), + "fixed_scales": scales, "interval_limits": limits, + "cumulative_limits": cumulative_limits}, passed + + +BE_CASES = [case for case in GATES["NC01"]["fixed_inputs"] if case["id"].endswith("_be")] + + +@pytest.mark.parametrize("case", BE_CASES, ids=lambda case: case["id"]) +def test_nc01_conservative_be(case, request): + gate = GATES["NC01"] + probe = diffusion_probe(case["volumes"], case["faces"], case["conductance"]) + point = probe.coordinates.point(case["initial"]) + ref80 = [d(x) for x in case["initial"]] + ref100 = ref80.copy() + cumulative = [0.0] * len(case["domains"]) + records, checks = [], {} + for index, h in enumerate(case["step_sizes"]): + step = conservative_be_step(probe.system, probe.coordinates, point, h, + feasible=lambda p: bool(np.all(p.y >= 0))) + ref80 = decimal_linear_step(case, ref80, d(h), 80) + ref100 = decimal_linear_step(case, ref100, d(h), 100) + reference_error = max(abs(a - b) for a, b in zip(ref80, ref100, strict=True)) + state = comparison(step.right.y, ref80, gate["state_atol"], gate["state_rtol"]) + delta = step.increment.field("density").values + inventory, inventory_pass = inventory_record(delta, case["volumes"], case["domains"], + case["initial"], cumulative, gate) + records.append({"time": step.right.time, "h": h, "state": step.right.y.tolist(), + "physical_increment": delta.tolist(), "state_check": state, + "inventory": inventory, "residual": step.residual.tolist(), + "reference_80_vs_100_error": str(reference_error), + "newton_iterations": step.newton_iterations}) + checks[f"state_{index}"] = state["passed"] + checks[f"inventory_{index}"] = inventory_pass + checks[f"reference_{index}"] = reference_error <= d(gate["reference_error_bound"]) / 3 + point = step.right + if case["id"] == "zero_be": + checks["exact_zero_identity"] = np.array_equal(point.y.view(np.uint64), np.zeros_like(point.y).view(np.uint64)) + conclude(request, {"gate": "NC01", "case": case["id"], "route": "physical_conservative_be", + "steps": records, "all_intervals_recorded": True}, checks) + + +def test_nc01_ordinary_log_be_counterexample(request): + """One wrong-coordinate BE equation is an explicit rejected-route control.""" + from scipy.optimize import root + case = BE_CASES[0] + initial = np.asarray(case["initial"], float) + h = case["step_sizes"][0] + + def wrong_equation(q): + n = np.exp(q) + rate = np.array([n[1] - n[0], n[0] - n[1]]) + return (q - np.log(initial)) / h - rate / n + + result = root(wrong_equation, np.log(initial), options=SUPPLEMENTAL_INPUTS["ordinary_log_be"]) + n = np.exp(result.x) + defect = abs(fsum(n) - fsum(initial)) + conclude(request, {"gate": "NC01", "case": "ordinary_transformed_coordinate_BE_counterexample", + "candidate": n.tolist(), "residual": wrong_equation(result.x).tolist(), + "inventory_defect": defect, "solver_calls": result.nfev, + "route_accepted": False}, + {"algebraic_solve_completed": bool(result.success), "positive": bool(np.all(n > 0)), + "nonconservation_exposed": defect > GATES["NC01"]["inventory_relative_limit"] * fsum(initial)}) + + +def decimal_trap_reference(case, precision=80): + with localcontext() as ctx: + ctx.prec = precision + n0, f0, Nt, k, e, h = (d(case[key]) for key in ("n", "f", "Nt", "k", "e", "h")) + S = n0 + Nt * f0 + lo, hi = Decimal(0), min(Decimal(1), S / Nt) + for _ in range(300): + midpoint = (lo + hi) / 2 + r = k * (S - Nt * midpoint) * (1 - midpoint) - e * Nt * midpoint + residual = midpoint - f0 - h / Nt * r + if residual > 0: + hi = midpoint + else: + lo = midpoint + f = (lo + hi) / 2 + return [S - Nt * f, f], hi - lo + + +@pytest.mark.parametrize("case", GATES["NC02"]["fixed_inputs"], ids=lambda case: case["id"]) +def test_nc02_trap_exchange(case, request): + gate = GATES["NC02"] + coordinates, system = trap_exchange_probe(case["Nt"], case["k"], case["e"]) + point = coordinates.point([case["n"], case["f"]]) + feasible = lambda p: bool(p.y[0] >= 0 and 0 <= p.y[1] <= 1) + step = conservative_be_step(system, coordinates, point, case["h"], feasible=feasible) + ref, bracket = decimal_trap_reference(case) + ref100, _ = decimal_trap_reference(case, 100) + reference_error = max(abs(a - b) for a, b in zip(ref, ref100, strict=True)) + bracket + state = comparison(step.right.y, ref, gate["state_atol"], gate["state_rtol"]) + delta = step.right.y - point.y + inventory, inv_pass = inventory_record(delta, [1, case["Nt"]], [[0, 1]], point.y, [0.0], gate) + kind = case["required_direction"] + if kind.startswith("f increases") or kind == "capture": + direction = delta[1] > 0 and delta[0] < 0 + elif kind.startswith("f decreases") or kind == "emission": + direction = delta[1] < 0 and delta[0] > 0 + else: + direction = np.array_equal(step.right.y.view(np.uint64), point.y.view(np.uint64)) + conclude(request, {"gate": "NC02", "case": case["id"], "state": step.right.y.tolist(), + "state_check": state, "inventory": inventory, "delta": delta.tolist(), + "rate_before": system.terms(point).rate.tolist(), + "rate_after": system.terms(step.right).rate.tolist(), + "required_direction": kind, "feasible": feasible(step.right), + "reference_root_iterations": 300, "reference_error": str(reference_error), + "BE_residual": step.residual.tolist()}, + {"state": state["passed"], "inventory": inv_pass, "direction_or_exact_identity": direction, + "feasible": feasible(step.right), "reference": reference_error <= d(gate["reference_error_bound"]) / 3}) + + +IC = GATES["NC03"]["fixed_inputs"] + + +@pytest.mark.parametrize("voltage,slope", list(product([IC["V0"], IC["V1"]], IC["slopes"]))) +def test_nc03_physical_ic_and_history(voltage, slope, request): + gate = GATES["NC03"] + model = CarrierPotentialStorage() + with localcontext() as ctx: + ctx.prec = 80 + logn = d(IC["n0"]).ln() + phi = d(voltage) - d(IC["n0"]) + q = logn - phi + left = model.point([float(logn + d(IC["n0"])), -IC["n0"]], inputs=[IC["V0"]]) + history = (left,) + seed = model.point(left.y, inputs=[voltage]) + result = consistent_initial_state(model.system(), model, seed, [IC["n0"]], [slope], history=history) + state = comparison([model.value(result.point)[0], *result.point.y], [d(IC["n0"]), q, phi], + gate["physical_state_atol"], gate["physical_state_rtol"]) + tangent = comparison(result.derivative, [-d(slope), d(slope)], gate["tangent_absolute_limit"], 0) + first, terms = model.system().evaluate(result.point) + matrix = np.vstack((first.y, terms.gy)) + conclude(request, {"gate": "NC03", "case": "physical_ic", "voltage": voltage, "slope": slope, + "physical_n": model.value(result.point).tolist(), "coordinates": result.point.y.tolist(), + "derivative": result.derivative.tolist(), "state_check": state, + "tangent_check": tangent, "residual": result.residual.tolist(), + "constraint_tangent": result.tangent.tolist(), "rank": result.rank.rank, + "matrix": matrix.tolist(), "determinant": float(np.linalg.det(matrix)), + "history_identity": [p.identity for p in history], "iterations": result.iterations}, + {"state": state["passed"], "tangent": tangent["passed"], + "full_residual": np.max(np.abs(result.residual)) <= gate["residual_absolute_limit"], + "constraint_tangent": np.max(np.abs(result.tangent)) <= gate["tangent_absolute_limit"], + "rank": result.rank.rank == 2, "history_objects_preserved": result.history is history, + "history_bytes_preserved": result.history[0].identity == left.identity}) + + +def test_nc03_holding_coordinate_is_wrong(request): + from scipy.optimize import brentq + model = CarrierPotentialStorage() + qfixed = float(np.log(IC["n0"]) + IC["n0"]) + phi = brentq(lambda phi: phi + np.exp(qfixed + phi) - IC["V1"], -3, 0, xtol=1e-14) + wrong = model.point([qfixed, phi], inputs=[IC["V1"]]) + change = model.value(wrong)[0] - IC["n0"] + conclude(request, {"gate": "NC03", "case": "holding_q_counterexample", + "physical_density_change": change, "coordinates": wrong.y.tolist()}, + {"wrong_projection_exposed": abs(change) > GATES["NC03"]["physical_state_atol"]}) + + +@pytest.mark.parametrize("name", ["dependent_constraint_matrix", "floating_poisson_matrix", "incompatible_capacitor"]) +def test_nc03_rank_rejection_reasons(name, request): + if name == "incompatible_capacitor": + case = IC[name] + matrix, rhs = [[case["C"], 0], [1, 0]], [case["fixed_charge"], case["imposed_voltage"]] + else: + matrix, rhs = IC[name], [0, 0] + with pytest.raises(ContractError) as caught: + rank_aware_solve(matrix, rhs, gauge_nullspace=name == "floating_poisson_matrix") + evidence = rank_evidence(matrix) + expected = GATES["NC03"]["negative_case_results"][name] + conclude(request, {"gate": "NC03", "case": name, "reason": caught.value.reason, + "expected_reason": expected, "rank": evidence.rank, + "singular_values": evidence.singular_values.tolist(), "threshold": evidence.threshold}, + {"exact_reason": caught.value.reason == expected}) + + +def test_nc03_nonzero_input_time_chain(request): + case = SUPPLEMENTAL_INPUTS["full_ic_chain"] + model = CarrierPotentialStorage(case["alpha"], case["beta"], case["gamma"]) + original = model.point([np.log(case["n"]) + case["n"], -case["n"]], inputs=[0.0]) + seed = model.point(original.y, case["time"], [case["a"]]) + history = (original,) + result = consistent_initial_state(model.system(), model, seed, [case["n"]], [case["adot"]], history=history) + with localcontext() as ctx: + ctx.prec = 80 + phi = d(case["a"]) + d(case["gamma"]) * d(case["time"]) - d(case["n"]) + q = d(case["n"]).ln() - phi - d(case["alpha"]) * d(case["a"]) - d(case["beta"]) * d(case["time"]) + phidot = d(case["adot"]) + d(case["gamma"]) + qdot = -phidot - d(case["alpha"]) * d(case["adot"]) - d(case["beta"]) + first, terms = model.system().evaluate(result.point) + gate = GATES["NC03"] + state = comparison(result.point.y, [q, phi], gate["physical_state_atol"], gate["physical_state_rtol"]) + tangent = comparison(result.derivative, [qdot, phidot], gate["tangent_absolute_limit"], 0) + conclude(request, {"gate": "NC03", "case": "supplemental_Qa_Qt_ga_gt", "state_check": state, + "tangent_check": tangent, "Qa": first.inputs.tolist(), "Qt": first.time.tolist(), + "ga": terms.ga.tolist(), "gt": terms.gt.tolist(), "storage_error": result.storage_error.tolist(), + "residual": result.residual.tolist(), "tangent": result.tangent.tolist()}, + {"state": state["passed"], "tangent": tangent["passed"], "history": result.history is history, + "storage": np.max(np.abs(result.storage_error)) <= gate["physical_state_atol"], + "residual": np.max(np.abs(result.residual)) <= gate["residual_absolute_limit"], + "all_four_nonzero": all(np.any(a != 0) for a in (first.inputs, first.time, terms.ga, terms.gt))}) + + +def shared_ic_fixture(): + model = SharedCapacityStorage() + case = GATES["NC05"]["fixed_inputs"]["capacity_change"] + point = model.from_occupancies(case["theta"], inputs=[case["left"]]) + system = ImplicitSystem(model, lambda p: no_constraints(np.zeros(2), np.zeros((2, 2)), 1)) + return model, system, point + + +@pytest.mark.parametrize("shape", [(), (1,), (1, 2), (2, 1)]) +def test_nc03_ic_rejects_broadcast_preserved_storage(shape, request): + model, system, seed = shared_ic_fixture() + invalid_target = np.full(shape, model.value(seed)[0]) + with pytest.raises(ContractError) as caught: + consistent_initial_state(system, model, seed, invalid_target, [0.0]) + conclude(request, {"gate": "NC03", "case": "preserved_storage_shape_guard", + "supplied_shape": list(shape), "required_shape": [2], + "reason": caught.value.reason}, + {"exact_shape_required": caught.value.reason == "preserved_storage_shape_mismatch"}) + + +@pytest.mark.parametrize("shape", [(), (0,), (2,), (1, 1)]) +def test_nc03_ic_rejects_mismatched_input_rate(shape, request): + model, system, seed = shared_ic_fixture() + invalid_rate = np.zeros(shape) + with pytest.raises(ContractError) as caught: + consistent_initial_state(system, model, seed, model.value(seed), invalid_rate) + conclude(request, {"gate": "NC03", "case": "input_rate_shape_guard", + "supplied_shape": list(shape), "required_shape": list(seed.inputs.shape), + "reason": caught.value.reason}, + {"exact_shape_required": caught.value.reason == "input_rate_shape_mismatch"}) + + +@pytest.mark.parametrize("field", ["preserved_storage", "input_rate"]) +@pytest.mark.parametrize("invalid", ["nan", "inf"]) +def test_nc03_ic_rejects_nonfinite_fixed_data(field, invalid, request): + model, system, seed = shared_ic_fixture() + target, rate = model.value(seed).copy(), np.zeros_like(seed.inputs) + value = float(invalid) + if field == "preserved_storage": + target[0] = value + else: + rate[0] = value + with pytest.raises(ContractError) as caught: + consistent_initial_state(system, model, seed, target, rate) + conclude(request, {"gate": "NC03", "case": "finite_fixed_data_guard", "field": field, + "invalid_value_class": invalid, "reason": caught.value.reason}, + {"nonfinite_rejected": caught.value.reason == "nonfinite_array"}) + + +def exponential_reference(y, a, t, ydot, adot, precision=80): + with localcontext() as ctx: + ctx.prec = precision + Q = (2 * y + 3 * a + 5 * t).exp() + F = Q * (2 * ydot + 3 * adot + 5) + return {"Q": Q, "F": F, "Fy": 2 * F, "Fa": 3 * F, "Ft": 5 * F, + "Fydot": 2 * Q, "Fadot": 3 * Q} + + +NC04 = GATES["NC04"] +POINT_RATE = list(product(NC04["fixed_inputs"]["points"], NC04["fixed_inputs"]["rates"])) + + +@pytest.mark.parametrize("point,rate", POINT_RATE) +def test_nc04_complete_analytic_partials(point, rate, request): + model = ExponentialStorage() + p = model.point([point["y"]], point["t"], [point["a"]]) + ydot, adot = np.array([rate["ydot"]]), np.array([rate["adot"]]) + system = model.system() + linear = system.linearize(p, ydot, adot) + reference_inputs = tuple(binary(x) for x in (p.y[0], p.inputs[0], p.time, ydot[0], adot[0])) + ref = exponential_reference(*reference_inputs) + ref100 = exponential_reference(*reference_inputs, precision=100) + values = {"F": system.residual(p, ydot, adot)[0], "Fy": linear.y[0, 0], + "Fydot": linear.ydot[0, 0], "Fa": linear.inputs[0, 0], + "Fadot": linear.input_rate[0, 0], "Ft": linear.time[0]} + checks = {key: comparison([value], [ref[key]], NC04["analytic_atol"], NC04["analytic_rtol"]) + for key, value in values.items()} + ref_error = max(abs(ref[key] - ref100[key]) for key in ref) + matrices = [] + for cj in NC04["fixed_inputs"]["cj"]: + with localcontext() as ctx: + ctx.prec = 80 + expected = ref["Fy"] + d(cj) * ref["Fydot"] + check = comparison(linear.ida_matrix(cj), [expected], NC04["analytic_atol"], NC04["analytic_rtol"]) + matrices.append({"cj": cj, "matrix": linear.ida_matrix(cj).tolist(), "check": check}) + conclude(request, {"gate": "NC04", "case": "analytic_partials", "point": point, "rate": rate, + "values": values, "comparisons": checks, "IDA_matrices": matrices, + "reference_80_vs_100_error": str(ref_error)}, + {**{key: value["passed"] for key, value in checks.items()}, + "IDA_matrices": all(item["check"]["passed"] for item in matrices), + "reference": ref_error <= d(NC04["reference_error_bound"]) / 3}) + + +@pytest.mark.parametrize("point,rate,cj,direction", [(*pair, cj, direction) for pair in POINT_RATE + for cj in NC04["fixed_inputs"]["cj"] for direction in NC04["fixed_inputs"]["directions"]]) +def test_nc04_joint_directions(point, rate, cj, direction, request): + model = ExponentialStorage() + system = model.system() + p = model.point([point["y"]], point["t"], [point["a"]]) + ydot, adot = np.array([rate["ydot"]]), np.array([rate["adot"]]) + vec = np.asarray(direction, float) / np.linalg.norm(direction) + dy, da, dt, dadot = vec + linear = system.linearize(p, ydot, adot) + candidate = float(linear.ida_matrix(cj)[0, 0] * dy + linear.inputs[0, 0] * da + + linear.time[0] * dt + linear.input_rate[0, 0] * dadot) + args = tuple(binary(x) for x in (p.y[0], p.inputs[0], p.time, ydot[0], adot[0])) + with localcontext() as ctx: + ctx.prec = 80 + ref = exponential_reference(*args) + expected = (ref["Fy"] * binary(dy) + ref["Fa"] * binary(da) + ref["Ft"] * binary(dt) + + ref["Fydot"] * binary(cj) * binary(dy) + ref["Fadot"] * binary(dadot)) + analytic = comparison([candidate], [expected], NC04["analytic_atol"], NC04["analytic_rtol"]) + errors = [] + for eps in NC04["joint_direction_steps"]: + plus = model.point(p.y + eps * dy, p.time + eps * dt, p.inputs + eps * da) + minus = model.point(p.y - eps * dy, p.time - eps * dt, p.inputs - eps * da) + fd = (system.residual(plus, ydot + eps * cj * dy, adot + eps * dadot)[0] + - system.residual(minus, ydot - eps * cj * dy, adot - eps * dadot)[0]) / (2 * eps) + with localcontext() as ctx: + ctx.prec = 80 + delta = [binary(eps) * binary(x) for x in (dy, da, dt, cj * dy, dadot)] + rp = exponential_reference(*(x + dx for x, dx in zip(args, delta, strict=True)))["F"] + rm = exponential_reference(*(x - dx for x, dx in zip(args, delta, strict=True)))["F"] + decimal_fd = (rp - rm) / (2 * binary(eps)) + denominator = max(Decimal(1), abs(expected)) + relative_error = abs(binary(fd) - expected) / denominator + reference_truncation = abs(decimal_fd - expected) / denominator + errors.append({"eps": eps, "finite_difference": float(fd), + "normalized_error": float(relative_error), + "independent_decimal80_stencil": str(decimal_fd), + "reference_truncation": float(reference_truncation), + "passed": relative_error <= d(NC04["finite_difference_relative_limit"])}) + adjacent = any(errors[i]["passed"] and errors[i + 1]["passed"] for i in range(len(errors) - 1)) + conclude(request, {"gate": "NC04", "case": "joint_direction", "point": point, "rate": rate, + "cj": cj, "direction": direction, "normalized_direction": vec.tolist(), + "analytic_jvp": candidate, "analytic_check": analytic, "eps_errors": errors}, + {"analytic": analytic["passed"], "adjacent_plateau": adjacent, "all_eps_recorded": len(errors) == 4}) + + +def test_nc04_finite_storage_and_be_jacobian(request): + model = ExponentialStorage() + system = model.system() + case = NC04["fixed_inputs"]["storage_delta"] + l, inc = case["left"], case["increment"] + left = model.point([l["y"]], l["t"], [l["a"]]) + right, increment = model.advance(left, [inc["dy"]], left.time + inc["dt"], left.inputs + inc["da"]) + delta = model.delta(left, right, increment) + with localcontext() as ctx: + ctx.prec = 80 + ql = (2 * binary(left.y[0]) + 3 * binary(left.inputs[0]) + 5 * binary(left.time)).exp() + qr = (2 * binary(right.y[0]) + 3 * binary(right.inputs[0]) + 5 * binary(right.time)).exp() + expected = qr - ql + finite = comparison(delta, [expected], NC04["analytic_atol"], NC04["analytic_rtol"]) + jac = system.conservative_jacobian(left, right)[0, 0] + jaccheck = comparison([jac], [2 * qr], NC04["analytic_atol"], NC04["analytic_rtol"]) + tangent_substitute = model.first(left).y[0, 0] * inc["dy"] + errors = [] + for eps in NC04["joint_direction_steps"]: + rp, ip = model.advance(left, right.y - left.y + eps, right.time, right.inputs) + rm, im = model.advance(left, right.y - left.y - eps, right.time, right.inputs) + fd = (system.conservative_residual(left, rp, ip)[0] - system.conservative_residual(left, rm, im)[0]) / (2 * eps) + err = abs(fd - jac) / max(1.0, abs(jac)) + errors.append({"eps": eps, "normalized_error": err, "passed": err <= NC04["finite_difference_relative_limit"]}) + conclude(request, {"gate": "NC04", "case": "finite_storage_and_fixed_left_BE", + "left_identity": left.identity, "right_identity": right.identity, + "delta": delta.tolist(), "delta_check": finite, "BE_jacobian": jac, + "jacobian_check": jaccheck, "eps_errors": errors, + "incorrect_Qy_dy_only": tangent_substitute}, + {"finite_delta": finite["passed"], "BE_jacobian": jaccheck["passed"], + "input_time_not_omitted": abs(delta[0] - tangent_substitute) > NC04["analytic_atol"], + "BE_plateau": any(errors[i]["passed"] and errors[i + 1]["passed"] for i in range(3))}) + + +@pytest.mark.parametrize("change_input", [False, True]) +def test_nc04_nonlinear_be_retains_or_updates_inputs(change_input, request): + """Exercise the actual BE adapter with a nonempty input vector and Qt.""" + model = ExponentialStorage() + c = NC04["fixed_inputs"]["storage_delta"] + left = model.point([c["left"]["y"]], c["left"]["t"], [c["left"]["a"]]) + inputs = left.inputs + c["increment"]["da"] if change_input else None + step = conservative_be_step(model.system(), model, left, c["increment"]["dt"], inputs=inputs) + with localcontext() as ctx: + ctx.prec = 80 + expected_y = binary(left.y[0]) - ( + 3 * (binary(step.right.inputs[0]) - binary(left.inputs[0])) + + 5 * (binary(step.right.time) - binary(left.time))) / 2 + state = comparison(step.right.y, [expected_y], NC04["analytic_atol"], NC04["analytic_rtol"]) + delta = model.delta(left, step.right, step.increment) + conclude(request, {"gate": "NC04", "case": "nonlinear_BE_input_carry", "change_input": change_input, + "inputs_left": left.inputs.tolist(), "inputs_right": step.right.inputs.tolist(), + "coordinates": step.right.y.tolist(), "state_check": state, + "finite_storage_delta": delta.tolist(), "BE_residual": step.residual.tolist(), + "newton_iterations": step.newton_iterations}, + {"coordinates": state["passed"], "finite_Q_preserved": np.max(np.abs(delta)) <= NC04["analytic_atol"], + "left_history_untouched": step.left is left, + "input_contract": np.array_equal(step.right.inputs, left.inputs if inputs is None else inputs)}) + + +NC05 = GATES["NC05"] + + +def shared_decimal_matrix(theta, C=Decimal(1)): + with localcontext() as ctx: + ctx.prec = 80 + return [[C * ((theta[i] if i == j else Decimal(0)) - theta[i] * theta[j]) + for j in range(len(theta))] for i in range(len(theta))] + + +@pytest.mark.parametrize("theta", NC05["fixed_inputs"]["occupancies"]) +def test_nc05_cross_derivatives_and_rank(theta, request): + model = SharedCapacityStorage() + p = model.from_occupancies(theta, inputs=[NC05["fixed_inputs"]["capacity"]]) + first = model.first(p) + ref = shared_decimal_matrix([d(x) for x in theta], d(NC05["fixed_inputs"]["capacity"])) + check = comparison(first.y, [x for row in ref for x in row], NC05["atol"], NC05["rtol"]) + evidence = rank_evidence(first.y) + reference_matrix = np.array([[float(x) for x in row] for row in ref]) + matrix_inf_error = float(np.linalg.norm(first.y - reference_matrix, ord=np.inf)) + matrix_budget = NC05["atol"] + NC05["rtol"] * float(np.linalg.norm(reference_matrix, ord=np.inf)) + conclude(request, {"gate": "NC05", "case": "cross_derivatives", "theta": theta, + "physical_population": model.value(p).tolist(), "matrix": first.y.tolist(), + "component_check": check, "matrix_inf_error": matrix_inf_error, + "matrix_budget": matrix_budget, "active_rank": evidence.rank, + "singular_values": evidence.singular_values.tolist(), "rank_threshold": evidence.threshold, + "vacancy": 1 - fsum(theta)}, + {"derivatives": check["passed"], "matrix_norm": matrix_inf_error <= matrix_budget, + "off_diagonals_present": first.y[0, 1] < 0 and first.y[1, 0] < 0, + "full_active_rank": evidence.rank == 2}) + + +def test_nc05_exact_inactive_and_joint_feasibility(request): + model = SharedCapacityStorage(active=(False, False)) + theta = NC05["fixed_inputs"]["zero_case"]["occupancies"] + left = model.from_occupancies(theta) + right, increment = model.advance(left, [], 1.0, [2.0]) + values = [model.value(left), model.value(right), model.delta(left, right, increment), + model.first(right).y, model.first(right).inputs, model.first(right).time, + model.rate_jvp(right, np.empty(0), np.array([0.3]), np.empty(0), np.array([0.2]), 0.5)] + inactive_rank = rank_evidence(model.first(right).y) + partial = SharedCapacityStorage(active=(False, True)) + pp = partial.from_occupancies(SUPPLEMENTAL_INPUTS["partial_inactive"]) + partial_rank = rank_evidence(partial.first(pp).y) + with pytest.raises(ContractError) as invalid: + SharedCapacityStorage().from_occupancies(NC05["fixed_inputs"]["invalid_occupancy"]) + with pytest.raises(ContractError) as boundary: + SharedCapacityStorage().from_occupancies(SUPPLEMENTAL_INPUTS["saturated"]) + with pytest.raises(ContractError) as wrong_inactive: + partial.from_occupancies([0.1, 0.3]) + boundary_matrix = np.array([[float(x) for x in row] + for row in shared_decimal_matrix([d(0.5), d(0.5)])]) + boundary_rank = rank_evidence(boundary_matrix) + conclude(request, {"gate": "NC05", "case": "inactive_and_joint_feasibility", + "zero_coordinates": left.y.tolist(), "zero_populations": model.value(left).tolist(), + "inactive_rank": inactive_rank.rank, "partial_rank": partial_rank.rank, + "saturated_matrix": boundary_matrix.tolist(), "saturated_rank": boundary_rank.rank, + "invalid_positive_components_reason": invalid.value.reason, + "boundary_reason": boundary.value.reason, "inactive_mismatch_reason": wrong_inactive.value.reason}, + {"strict_zero_every_storage_path": all(np.array_equal(x, np.zeros_like(x)) for x in values), + "no_finite_log_coordinate": left.y.size == 0, "inactive_rank": inactive_rank.rank == 0, + "partial_active_rank": partial_rank.rank == 1, "partial_zero": model.value(left)[0] == 0 and partial.value(pp)[0] == 0, + "saturated_rank_loss": boundary_rank.rank == 1, + "positive_signs_not_sufficient": invalid.value.reason == "joint_capacity_infeasible", + "singular_init_rejected": boundary.value.reason == "unsupported_singular_capacity_boundary", + "nonzero_inactive_rejected": wrong_inactive.value.reason == "inactive_identity_mismatch"}) + + +@pytest.mark.parametrize("theta", NC05["fixed_inputs"]["occupancies"]) +def test_nc05_full_capacity_hessian_contraction(theta, request): + c = SUPPLEMENTAL_INPUTS["shared_contraction"] + model = SharedCapacityStorage(capacity_rate=c["capacity_rate"]) + p = model.from_occupancies(theta, c["time"], [c["input"]]) + ydot, adot, dy, da = np.array(c["ydot"]), np.array([c["adot"]]), np.array(c["dy"]), np.array([c["da"]]) + candidate = model.rate_jvp(p, ydot, adot, dy, da, c["dt"]) + with localcontext() as ctx: + ctx.prec = 80 + th = [d(x) for x in theta] + J = shared_decimal_matrix(th) + dth = [sum(J[i][j] * d(c["dy"][j]) for j in range(2)) for i in range(2)] + dJ = [[(dth[i] if i == j else Decimal(0)) - dth[i] * th[j] - th[i] * dth[j] + for j in range(2)] for i in range(2)] + C = d(c["input"]) + d(c["capacity_rate"]) * d(c["time"]) + dC = d(c["da"]) + d(c["capacity_rate"]) * d(c["dt"]) + Cdot = d(c["adot"]) + d(c["capacity_rate"]) + expected = [dC * sum(J[i][j] * d(c["ydot"][j]) for j in range(2)) + + C * sum(dJ[i][j] * d(c["ydot"][j]) for j in range(2)) + Cdot * dth[i] + for i in range(2)] + check = comparison(candidate, expected, NC05["atol"], NC05["rtol"]) + system = ImplicitSystem(model, lambda p: no_constraints(np.zeros(2), np.zeros((2, 2)), 1)) + linear = system.linearize(p, ydot, adot) + assembled = linear.y @ dy + linear.inputs @ da + linear.time * c["dt"] + assembled_check = comparison(assembled, expected, NC05["atol"], NC05["rtol"]) + errors = [] + for eps in NC04["joint_direction_steps"]: + plus = model.point(p.y + eps * dy, p.time + eps * c["dt"], p.inputs + eps * da) + minus = model.point(p.y - eps * dy, p.time - eps * c["dt"], p.inputs - eps * da) + fd = (system.residual(plus, ydot, adot) - system.residual(minus, ydot, adot)) / (2 * eps) + err = float(np.max(np.abs(fd - candidate) / np.maximum(1, np.abs(candidate)))) + errors.append({"eps": eps, "normalized_error": err, "passed": err <= NC04["finite_difference_relative_limit"]}) + conclude(request, {"gate": "NC05", "case": "full_capacity_contraction", "theta": theta, + "contraction": candidate.tolist(), "check": check, "assembled_check": assembled_check, + "Fy": linear.y.tolist(), "Fydot": linear.ydot.tolist(), + "Fa": linear.inputs.tolist(), "Fadot": linear.input_rate.tolist(), + "Ft": linear.time.tolist(), "supplemental_fd_gate": "NC04", "eps_errors": errors}, + {"independent_contraction": check["passed"], "public_assembly": assembled_check["passed"], + "adjacent_plateau": any(errors[i]["passed"] and errors[i + 1]["passed"] for i in range(3))}) + + +def test_nc05_capacity_change_and_fixed_populations(request): + case = NC05["fixed_inputs"]["capacity_change"] + model = SharedCapacityStorage() + left = model.from_occupancies(case["theta"], inputs=[case["left"]]) + right, increment = model.advance(left, [0, 0], 1, [case["right"]]) + delta = model.delta(left, right, increment) + delta_check = comparison(delta, [d(x) for x in case["fixed_coordinate_delta_Q"]], NC05["atol"], NC05["rtol"]) + system = ImplicitSystem(model, lambda p: no_constraints(np.zeros(2), np.zeros((2, 2)), 1)) + history = (left,) + ic = consistent_initial_state(system, model, right, model.value(left), [0.0], history=history) + theta_check = comparison(model.theta(ic.point), [d(x) for x in case["fixed_population_new_theta"]], NC05["atol"], NC05["rtol"]) + conclude(request, {"gate": "NC05", "case": "capacity_change", "fixed_coordinate_delta": delta.tolist(), + "delta_check": delta_check, "fixed_population_theta": model.theta(ic.point).tolist(), + "theta_check": theta_check, "storage_error": ic.storage_error.tolist(), + "history_identity": left.identity, "rank": ic.rank.rank}, + {"finite_capacity_delta": delta_check["passed"], "fixed_population": theta_check["passed"], + "history": ic.history is history, "storage_error": np.max(np.abs(ic.storage_error)) <= NC05["atol"]}) + + +def test_nc05_combined_finite_state_input_time_change(request): + c = SUPPLEMENTAL_INPUTS["shared_finite"] + model = SharedCapacityStorage(capacity_rate=c["capacity_rate"]) + left = model.from_occupancies(c["theta"], inputs=[1.0]) + right, inc = model.advance(left, c["dy"], c["dt"], [1 + c["da"]]) + with localcontext() as ctx: + ctx.prec = 80 + def populations(point): + weights = [binary(x).exp() for x in point.y] + denominator = 1 + sum(weights) + C = binary(point.inputs[0]) + binary(c["capacity_rate"]) * binary(point.time) + return [C * w / denominator for w in weights] + qr, ql = populations(right), populations(left) + expected = [a - b for a, b in zip(qr, ql, strict=True)] + delta = model.delta(left, right, inc) + check = comparison(delta, expected, NC05["atol"], NC05["rtol"]) + conclude(request, {"gate": "NC05", "case": "combined_finite_change", "delta": delta.tolist(), + "check": check, "capacity_left": model.capacity(left), "capacity_right": model.capacity(right)}, + {"independent_finite_delta": check["passed"]}) + + +IDA_CASE = next(case for case in GATES["NC01"]["fixed_inputs"] if case["id"] == "equal_ida") +IDA_SETTINGS = list(product(IDA_CASE["max_steps"], IDA_CASE["max_orders"], IDA_CASE["solver_rtols"])) + + +@pytest.mark.parametrize("max_step,max_order,rtol", [ + pytest.param(*setting, marks=pytest.mark.xfail( + strict=True, raises=AssertionError, + reason=("G2 original NC01 IDA order-1 state gate fails; retained by " + "ArchitectureRefactor/NumericalRouteV1/G2Sequence/G2Sequence.json"), + )) if setting[1] == 1 else setting + for setting in IDA_SETTINGS +]) +def test_nc01_ida_all_native_intervals(max_step, max_order, rtol, request): + pytest.importorskip("sksundae") + gate = GATES["NC01"] + tg = next(row for row in IDA_CASE["trajectory_gates"] if row["solver_rtol"] == rtol) + probe = diffusion_probe(IDA_CASE["volumes"], IDA_CASE["faces"], IDA_CASE["conductance"]) + start = time.monotonic() + result = ida_diffusion_probe(probe, IDA_CASE["initial"], IDA_CASE["end_time"], + max_step=max_step, max_order=max_order, rtol=rtol, + atol=IDA_CASE["solver_atol"], + accepted_step_budget=SUPPLEMENTAL_INPUTS["ida_accepted_step_budget"]) + elapsed = time.monotonic() - start + records, cumulative = [], [0.0] + state_pass, inventory_pass = True, True + max_state_budget_ratio, max_residual = 0.0, 0.0 + previous = None + max_step_observed = 0.0 + for observation in result.observations: + point = observation.point + with localcontext() as ctx: + ctx.prec = 80 + relaxation = (-2 * binary(point.time)).exp() / 2 + ref = [d(1.5) - relaxation, d(1.5) + relaxation] + check = comparison(point.y, ref, tg["atol"], tg["rtol"]) + state_pass = state_pass and check["passed"] + ratio = max(error / budget for error, budget in zip(check["absolute_errors"], check["budgets"], strict=True)) + max_state_budget_ratio = max(max_state_budget_ratio, ratio) + inventory = None + if previous is not None: + increment = point.y - previous.y + inventory, passed = inventory_record(increment, IDA_CASE["volumes"], [[0, 1]], + IDA_CASE["initial"], cumulative, gate) + inventory_pass = inventory_pass and passed + max_step_observed = max(max_step_observed, point.time - previous.time) + max_residual = max(max_residual, float(np.max(np.abs(observation.residual)))) + # Every native output has time, state, native derivative, residual, + # independent state errors and every domain's interval/cumulative defect. + records.append({"t": point.time, "y": point.y.tolist(), "yp": observation.derivative.tolist(), + "residual": observation.residual.tolist(), "state_errors": check["absolute_errors"], + "state_budgets": check["budgets"], "inventory": inventory}) + previous = point + conclude(request, {"gate": "NC01", "case": "equal_ida", "options": result.options, + "native_steps": len(records) - 1, "native_observations": records, + "completed": result.completed, "failure_reason": result.failure_reason, + "jacobian_calls": result.jacobian_calls, "residual_calls": result.residual_calls, + "native_run_elapsed_s": elapsed, "process_peak_rss_bytes_so_far": resource.getrusage(resource.RUSAGE_SELF).ru_maxrss, + "trajectory_gate": tg, "max_state_budget_ratio": max_state_budget_ratio, + "max_residual_observed": max_residual, "max_step_observed": max_step_observed, + "cumulative_absolute_inventory_defect": cumulative, + "native_order_observation": "max_order configured; actual accepted order not exposed by this result"}, + {"native_completed": result.completed, "all_states": state_pass, + "all_interval_and_cumulative_inventory": inventory_pass, + "all_published_endpoints_recorded": len(records) == len(result.observations), + "step_cap": max_step_observed <= max_step * (1 + 32 * np.finfo(float).eps), + "jacobian_callback_used": result.jacobian_calls > 0}) diff --git a/tests/numerical_contracts/test_t1_gate.py b/tests/numerical_contracts/test_t1_gate.py new file mode 100644 index 00000000..ec23fbdc --- /dev/null +++ b/tests/numerical_contracts/test_t1_gate.py @@ -0,0 +1,765 @@ +"""Manufactured exact GateSpec V2/V3 evidence; no physical/native simulation.""" +from copy import deepcopy +from fractions import Fraction as F +import hashlib +import json +from pathlib import Path + +import pytest + +from scripts.benchmarks import t1_gate as t +from scripts.benchmarks.g2_route_bindings import sample_labels +from scripts.benchmarks.native_history import HistoryWriter, integer_json_dumps, decode_integer_values + + +SPEC = t.CandidateSpec("manufactured-spec", F(10**8)) # Q0=one normalized charge unit + + +def enc(center, radius=0): + return {"center": t.pair(center), "absolute_error_bound": t.pair(radius)} + + +def op(delta=0, flux=0, *, errors=(0,0,0,0), l1=None, missing_l1=False): + errors = tuple(map(F, errors)) + bound = abs(F(flux)) if l1 is None else F(l1) + return {"delta_Q_enclosure_C": enc(delta, errors[0]), "integral_F_enclosure_C": enc(flux, errors[1]), + "uncertainty_components_C": {k:t.pair(v) for k,v in zip(t.COMPONENTS,errors,strict=True)}, + "quadrature_component_upper_C": t.pair(errors[1]), + "integral_abs_F_lower_C": None if missing_l1 else t.pair(bound), + "integral_abs_F_upper_C": None if missing_l1 else t.pair(bound)} + + +def base_request(): + segments = [dict(id="dark_equilibrium_hold",start=0.,end=.1,voltage=[0,0],photons=[0,0]), + dict(id="voltage_ramp",start=.1,end=.2,voltage=[0,.1],photons=[0,0]), + dict(id="slow_state_hold",start=.2,end=9.2,voltage=[.1,.1],photons=[0,0])] + times = {s["id"]:[s["start"]+(s["end"]-s["start"])*i/(count-1) for i in range(count)] + for s,count in zip(segments,(33,33,65))} + for s in segments: times[s["id"]][-1] = s["end"] + return {"segments":segments,"observation_times":times, + "numeric_packet":{"definition":{"fixture":"manufactured exact charge path"},"x_m":[0,1], + "physical_reference_fields":{"q":{"high":[0.],"low":[-0.]}}}, + "initial_segment_frame": {key:[["0x0.0p+0"] for _ in range(12)] for key in + ("physical_handoff_words_hex","physical_rate_handoff_words_hex")}, + "voltage_lift_map":{"lift_hex":["0x0.0p+0"],"reference_inputs_hex":["0x0.0p+0"]}} + + +def full_data(*, failure=None, missing_l1=False): + request = base_request(); labels = sample_labels(request) + intervals, pieces = [], [] + for i,(left,right,_,_) in enumerate(t.fixed_windows(labels)): + channels = {name:op(missing_l1=missing_l1) for name in t.CHANNELS} + if i == failure: + channels["left_metal"] = op(1,0,missing_l1=missing_l1) + row = {"run_id":"manufactured-run","request_sha256":t.digest(request), + "native_interval_id":f"native-{i}","segment_id":left["segment"],"event_side":right["event_side"], + "t_left_hex":left["time_hex"],"t_right_hex":right["time_hex"], + "source_id":"manufactured-source","frame_id":f"frame-{i}","map_id":"manufactured-map","channels":channels} + intervals.append(row) + pieces.append(dict(deepcopy(row),window_index=i,parent_sha256=t.digest(row))) + return request, labels, intervals, pieces + + +def evaluate(data, **kwargs): + request, labels, intervals, pieces = data + return t.evaluate(intervals,pieces,labels=labels,spec=SPEC,case_id="B_N8_Main_Full",run_id="manufactured-run", + problem_identity=t.physical_problem_identity(request),**kwargs) + + +def pin(path,value): + raw=(json.dumps(value,sort_keys=True,indent=2)+"\n").encode();path.write_bytes(raw) + return {"path":str(path),"bytes":len(raw),"sha256":hashlib.sha256(raw).hexdigest()} + + +def reference_fixture(folder, data, spec=SPEC): + """Independent exact linear toy q=f=t/T, explicitly NOT a B reference.""" + request, labels, _, _ = data + rows = [{"tag":tag,"q_C":enc(F(float.fromhex(tag["time_hex"]))/F(9.2)), + "f_C":enc(F(float.fromhex(tag["time_hex"]))/F(9.2)),"E_q_C":[0,1],"E_f_C":[0,1]} for tag in labels] + proof = {"fixture_only":True,"exact_toy_IVP":"q'=f'=1/T; q(0)=f(0)=0", + "problem_identity":t.physical_problem_identity(request),"kind":"analytic_original_problem", "unit":"C", + "labels_sha256":t.digest(labels),"bound_table_sha256":t.digest(rows), + "error_coverage":["evaluation","initial_and_algebraic","input_clock_parameter","trajectory_nonlinear","stability_reconstruction"]} + reference = {"fixture_only":True,"case_id":"B_N8_Strict_Full","problem_identity":proof["problem_identity"], + "unit":"C","labels":labels,"proof_kind":proof["kind"],"responses":rows, + "proof":pin(folder/"ToyProof.json",proof)} + review = {"fixture_only":True,"accepted":True,"independent_forward_error_review":True, + "evidence_sha256":t.digest(reference),"proof_sha256":reference["proof"]["sha256"],"gate_spec_sha256":spec.sha256} + reference["independent_review"] = pin(folder/"ToyReview.json",review) + return reference + + +def test_R1_common_bias_is_not_qualified_by_old_numeric_band(): + delta=F(1,10**7) + coarse,main,strict,true = 1+3*delta,1+delta,F(1),F(0) + heuristic=2*abs(main-strict) + assert abs(main-strict) <= abs(coarse-main)/2 + assert t.resolution_conditions(1,heuristic,heuristic,SPEC) + assert not t.resolution_conditions(1,abs(strict-true),abs(strict-true),SPEC) + result=t.reference_status({"proof_kind":"2*dMS","accepted":True},spec=SPEC,labels=sample_labels(base_request()),problem_identity="toy") + assert result["reason"] == "unknown_reference_error" + + +def test_R1_upper_upper_false_contraction_and_exact_zero(): + assert F(3,4) <= F(2)/2 # old upper/upper check falsely says contraction + result=t.observed_contraction((1,2),(F(3,4),F(3,4))) + assert result["status"] == "unknown_contraction" and not result["forward_error_qualified"] + assert t.observed_contraction((2,2),(1,1))["status"] == "certified_observed_contraction" + assert t.observed_contraction((0,0),(0,0))["status"] == "exact_zero" + + +def test_R2_turnover_does_not_enlarge_device_net_cap(): + ledger=t.ChargeLedger() + for value in (op(1001,1000),op(999,1000)): + assert t.assess_interval(value,floor=SPEC.eta,epsilon=SPEC.epsilon_device)["status"] == "passed" + ledger.append(t.operands(value),SPEC.eta) + assert ledger.result(floor=SPEC.eta,epsilon=SPEC.epsilon_device)["status"] == "passed" + result=ledger.result(floor=SPEC.eta,epsilon=SPEC.epsilon_device,cap=F(1)) + assert result["status"] == "failed" and t.q(result["defect_C"]) == 2 + + +def test_R3_repeated_floor_and_fixed_window_counterexample(): + ledger=t.ChargeLedger() + for _ in range(100): + value=op(F(1,1000),0) + assert t.assess_interval(value,floor=1,epsilon=SPEC.epsilon_metal)["status"] == "passed" + ledger.append(t.operands(value),F(1)) + assert ledger.D <= SPEC.epsilon_metal*ledger.old_scale_lower + assert ledger.result(floor=1,epsilon=SPEC.epsilon_metal)["status"] == "failed" + assert ledger.result(floor=1,epsilon=SPEC.epsilon_metal,window=True)["status"] == "failed" + + +def test_C2_four_components_once_and_quadrature_is_a_subset(): + value=op(1,1,errors=(F(1,100),F(2,100),F(3,100),F(4,100)),l1=1) + result=t.assess_interval(value,floor=1,epsilon=1) + assert t.q(result["defect_C"]) == F(1,10) + assert t.q(result["quadrature_C"]) == F(2,100) + value["quadrature_component_upper_C"]=[0,1] + with pytest.raises(t.InvalidT1Data,match="inseparable_quadrature"): + t.operands(value) + + +@pytest.mark.parametrize("D,quad,lower,upper,status", [(1,0,1,2,"passed"),(3,0,1,2,"failed"),(F(3,2),0,1,2,"unknown"), + (0,1,1,2,"failed"),(0,F(1,2),1,2,"unknown"),(1,0,1,None,"passed"),(2,0,1,None,"unknown")]) +def test_lower_pass_upper_fail_and_unknown(D,quad,lower,upper,status): + assert t.verdict(D,quad,lower,upper,F(1))["status"] == status + + +def test_valid_lower_proves_pass_even_without_L1_upper(): + assert t.assess_interval(op(0,0,missing_l1=True),floor=1,epsilon=SPEC.epsilon_metal)["status"] == "passed" + assert t.assess_interval(op(1,0,missing_l1=True),floor=1,epsilon=SPEC.epsilon_metal)["status"] == "unknown" + + +def test_reference_proposal_1_5_metals_pass_device_exceeds_cap_1000_times(): + values=(op(2,1),op(999,F(1999,2)),op(-1001,F(-2001,2))) + assert sum(t.operands(v)["dc"] for v in values) == 0 + assert sum(t.operands(v)["fc"] for v in values) == 0 + for value in values[1:]: + assert t.assess_interval(value,floor=SPEC.Q0,epsilon=SPEC.epsilon_metal)["status"] == "passed" + ledger=t.ChargeLedger();ledger.append(t.operands(values[0]),SPEC.eta) + result=ledger.result(floor=SPEC.eta,epsilon=SPEC.epsilon_device,cap=F(1)) + assert result["status"] == "failed" + assert t.q(result["defect_C"])/(SPEC.epsilon_device*t.q(result["scale_upper_C"])) == 1000 + + +def test_all_128_windows_and_unknown_reference_without_reset(): + data=full_data(missing_l1=True) + result=evaluate(data) + assert len(result["native"]) == len(result["fixed_windows"]) == 128 + assert result["channels"]["left_metal"]["status"] == result["channels"]["right_metal"]["status"] == "passed" + assert result["channels"]["device"]["status"] == "unknown" + assert result["reference"]["reason"] == "unknown_reference_error" + assert result["native"][-1]["channels"]["left_metal"]["prefix"]["terms"] == 128 + assert result["scientific_qualification"] is False + + +def test_first_failure_survives_later_windows_events_and_zero_balances(): + result=evaluate(full_data(failure=17)) + assert result["channels"]["left_metal"]["first_failure"]["index"] == 17 + assert result["channels"]["left_metal"]["status"] == "failed" + assert result["native"][-1]["channels"]["left_metal"]["prefix"]["status"] == "failed" + assert len(result["native"]) == 128 + + +def test_missing_pieces_are_unknown_not_whole_interval_balance(): + data=full_data();data[-1].pop(5) + result=evaluate(data) + assert result["fixed_windows"][5]["channels"]["left_metal"]["reason"] == "unknown_missing_window_pieces" + assert result["channels"]["left_metal"]["status"] == "unknown" + + +def test_piece_positive_debt_cannot_cancel_like_its_native_interval(): + data=full_data();parent=data[2][5];original=data[-1].pop(5) + middle=float((F(float.fromhex(parent["t_left_hex"]))+F(float.fromhex(parent["t_right_hex"])))/2).hex() + a,b=deepcopy(original),deepcopy(original);a["t_right_hex"]=middle;b["t_left_hex"]=middle + a["channels"]["left_metal"]=op(1,0);b["channels"]["left_metal"]=op(-1,0) + data[-1][5:5]=[a,b] + result=evaluate(data) + assert result["native"][5]["channels"]["left_metal"]["interval"]["status"] == "passed" + assert result["fixed_windows"][5]["channels"]["left_metal"]["status"] == "failed" + assert t.q(result["fixed_windows"][5]["channels"]["left_metal"]["defect_C"]) == 2 + + +def test_pieces_must_split_refresh_boundary(): + data=full_data();parent=data[2][70] + middle=float((F(float.fromhex(parent["t_left_hex"]))+F(float.fromhex(parent["t_right_hex"])))/2).hex() + with pytest.raises(t.InvalidT1Data,match="piece_crosses_refresh"): + evaluate(data,refresh_times=[middle]) + original=data[-1].pop(70);a,b=deepcopy(original),deepcopy(original) + a["t_right_hex"]=middle;b["t_left_hex"]=middle;data[-1][70:70]=[a,b] + assert evaluate(data,refresh_times=[middle])["fixed_windows"][70]["complete_pieces"] + + +@pytest.mark.parametrize("damage", ["gap","overlap","parent","integral","L1","side","index_bool","request"]) +def test_piece_clock_identity_and_additivity_are_checked(damage): + data=full_data() + if damage == "gap": data[-1][3]["t_left_hex"]=data[-1][3]["t_right_hex"] + elif damage == "overlap": data[-1].insert(3,deepcopy(data[-1][3])) + elif damage == "parent": data[-1][3]["parent_sha256"]="foreign" + elif damage == "integral": data[-1][3]["channels"]["left_metal"]=op(1,0) + elif damage == "L1": data[-1][3]["channels"]["left_metal"]=op(0,0,l1=1) + elif damage == "side": data[1][32]["event_side"]="right" + elif damage == "request": data[-1][3]["request_sha256"]="foreign" + else: data[1][0]["index"]=False + with pytest.raises(t.InvalidT1Data): evaluate(data) + + +def test_bound_reference_contract_and_N16_nonreuse(tmp_path): + data=full_data();ref=reference_fixture(tmp_path,data) + result=evaluate(data,reference=ref) + assert result["reference"]["status"] == "passed" + assert result["reference"]["proof_recomputed_by_this_gate"] is False + assert result["channels"]["device"]["status"] == "passed" and not result["scientific_qualification"] + result=t.evaluate(data[2],data[3],labels=data[1],spec=SPEC,case_id="B_N16_Strict_Full",run_id="manufactured-run", + problem_identity=t.physical_problem_identity(data[0]),reference=ref) + assert result["reference"]["reason"] == "unknown_reference_error" + + +@pytest.mark.parametrize("damage", ["method","table","labels","review","problem"]) +def test_a_label_or_unbound_reference_is_not_qualified(tmp_path,damage): + data=full_data();ref=reference_fixture(tmp_path,data) + if damage == "method": ref["proof_kind"]="2*dMS" + elif damage == "table": ref["responses"][4]["E_q_C"]=[-1,1] + elif damage == "labels": ref["labels"]=deepcopy(ref["labels"]);ref["labels"][4]["index"]=999 + elif damage == "review": Path(ref["independent_review"]["path"]).write_text('{"accepted":true}') + else: ref["problem_identity"]="different_initial_problem" + assert evaluate(data,reference=ref)["reference"]["reason"] == "unknown_reference_error" + + +@pytest.mark.parametrize("bad", [True,False,0.0,float('nan'),[1,0],[True,1]]) +def test_bool_float_and_invalid_rational_are_rejected(bad): + with pytest.raises(t.InvalidT1Data): t.q(bad) + + +def test_low_words_and_existing_integer_codec_are_lossless(tmp_path): + tiny=F(1,2**120)+F(1,2**240) + result=t.assess_interval(op(1+tiny,1),floor=1,epsilon=SPEC.epsilon_metal) + assert t.q(result["signed_balance_C"]) == tiny + value={"ratio":t.pair(F(2**16000,2**16000+1))} + text=integer_json_dumps(value,t.INTEGER_POLICY) + assert decode_integer_values(json.loads(text),t.INTEGER_POLICY) == value + path=tmp_path/"ExactReferenceInteger.json";path.write_text(text) + assert t._pin(path,{"bytes":len(text.encode()),"sha256":hashlib.sha256(text.encode()).hexdigest()}) == value + + +def document(): + return {"schema":t.SPEC_SCHEMA,"version":2,"status":"proposed_not_frozen", + "parameters":{"epsilon_metal":[1,1000],"epsilon_device_proposal":[1,1000], + "device_signal_floor_fraction":[1,100],"quadrature_share":[1,3],"reference_error_share":[1,3],"legacy_absolute_fraction":[1,10**8], + "resolution_multiplier":[3,1],"denominator_partition_max_depth":8,"denominator_partition_max_leaves":256}, + "physical_context":{"Qref_C_exact":str(10**8),"legacy_absolute_C_exact":"1"}} + + +@pytest.mark.parametrize("key,value", [("resolution_multiplier",[4,1]), + ("denominator_partition_max_depth",8.0),("denominator_partition_max_leaves",257)]) +def test_candidate_rejects_changed_resolution_or_partition_parameters(key,value): + doc=document();doc["parameters"][key]=value + with pytest.raises(t.InvalidT1Data): t.CandidateSpec.from_document(doc,"manufactured-spec") + + +def sealed_fixture(folder, *, missing_pieces=False, v3=False): + request,labels,intervals,pieces=data_v3() if v3 else full_data() + if missing_pieces: pieces=[] + writer=HistoryWriter(folder/"Manufactured.jsonl.gz",encoding="gzip",total_output_bytes=4*1024**2,max_record_bytes=16384) + for kind,rows in (("t1_interval_evidence",intervals),("t1_fixed_window_piece",pieces)): + for row in rows: writer.append({"kind":kind,"evidence":row}) + writer.finish() + spec_doc=document() + if v3: spec_doc.update(schema=t.SPEC_SCHEMA_V3,version=3) + manifest={"schema":t.EVIDENCE_SCHEMA,"run_id":"manufactured-run","case_id":"B_N8_Main_Full", + "source_id":"manufactured-source","problem_identity":t.physical_problem_identity(request), + "gate_spec":pin(folder/"SpecFixture.json",spec_doc),"request":pin(folder/"RequestFixture.json",request), + "history":{"path":str(writer.path),"encoding":"gzip","closed":True,"container_complete":True, + "encoded_bytes":writer.encoded_bytes,"logical_bytes":writer.logical_bytes,"records":writer.records, + "logical_sha256":writer.logical_sha256}} + path=folder/"EvidenceFixture.json";pin(path,manifest) + return path,manifest + + +def read_sealed(path, **kwargs): + return t.evaluate_sealed(path,max_record_bytes=16384,max_logical_bytes=4*1024**2,max_records=300,wall_s=10,**kwargs) + + +def test_genuine_HistoryReader_roundtrip_EOF_CRC_all_windows(tmp_path): + path,_=sealed_fixture(tmp_path) + result=read_sealed(path) + assert result["history"]["records"] == 256 and result["history"]["eof_seen"] and result["history"]["crc_verified"] + assert len(result["fixed_windows"]) == 128 and result["channels"]["left_metal"]["status"] == "passed" + assert result["channels"]["device"]["status"] == "unknown" + + +@pytest.mark.parametrize("damage", ["trailer","logical_hash","record_count","source","state_word","retained_limit"]) +def test_sealed_data_identity_and_bounds_fail_closed(tmp_path,damage): + path,manifest=sealed_fixture(tmp_path) + options={} + if damage == "trailer": + p=Path(manifest["history"]["path"]);p.write_bytes(p.read_bytes()[:-5]);manifest["history"]["encoded_bytes"]=p.stat().st_size + elif damage == "logical_hash": manifest["history"]["logical_sha256"]="0"*64 + elif damage == "record_count": manifest["history"]["records"]-=1 + elif damage == "source": manifest["source_id"]="wrong_source" + elif damage == "state_word": + p=Path(manifest["request"]["path"]);request=json.loads(p.read_text());request["initial_segment_frame"]["physical_rate_handoff_words_hex"][-1][0]=(2.**-240).hex() + manifest["request"]=pin(p,request) + else: options["max_output_bytes"]=256 + pin(path,manifest) + with pytest.raises((ValueError,EOFError)): read_sealed(path,**options) + + +def test_current_admission_entry_stays_disconnected(): + from scripts.benchmarks import g2_route + assert g2_route.T1_SPEC_SCHEMA == "solarlab.g2-route.t1-gatespec.v3" + assert "t1_gate.py" in g2_route.EVALUATOR_FILES + assert g2_route._evaluation_blockers({}) == ["evaluation_not_admitted"] + + +def sealed_observer_row(): + from scripts.benchmarks.interval_observation import Enclosure + from scripts.benchmarks.native_observation import observation_record + clock={"predecessor":[0,1],"tn":t.pair(F(.1)),"segment_end":t.pair(F(.1))} + zero=(F(0),)*3 + physical={"schema":"solarlab.native-physical-charge.v1", + "physical_flux_basis":"fixed-uniform-epsilon-Dirichlet-slab-reservoir-carrier-ion-trap-capacitance-v1", + "source_identity":"manufactured-source","map_identity":"map","frame_identity":"frame", + "path_identity":"path","clock":clock,"request_sha256":"request", + "saved_finite_charge_change_C":(Enclosure(0),Enclosure(1),Enclosure(0)), + "physical_flux_integral_C":tuple(Enclosure(0) for _ in range(3)), + "error_components_C":{k:zero for k in ("saved_charge_evaluation","physical_flux_integration","input","clock_strip")}, + "signed_balance_C":(F(999),)*3,"passed":True} # ignored producer claims + observation={"physical_charge":physical,"path_identity":"path","clock":clock, + "raw_tangent_L1_current_bounds":(F(10**9),)*2} + return {"kind":"sealed_voltage_lift_charge","request_sha256":"request","source_interval_sha256":"interval", + "interval":{"segment_id":"dark_equilibrium_hold","left":{"time_s":0.},"right":{"time_s":.1}, + "coefficient_frame_identity":"frame","observation":observation_record(observation)}} + + +def test_actual_observation_codec_adapter_ignores_flags_and_legacy_L1(): + row=sealed_observer_row() + value=t.from_sealed_charge(row,run_id="manufactured-run") + metal=value["channels"]["left_metal"] + assert metal["integral_abs_F_upper_C"] is None + assert t.assess_interval(metal,floor=1,epsilon=SPEC.epsilon_metal)["status"] == "unknown" + assert t.operands(metal)["b"] == 1 # not the claimed producer 999 + scale={"source_record_sha256":t.digest(row),"partition":{"depth":1,"leaves":2}, + "channels":{k:{"lower_C":[1000,1],"upper_C":[1000,1]} for k in t.CHANNELS}} + metal=t.from_sealed_charge(row,run_id="manufactured-run",scale_evidence=scale)["channels"]["left_metal"] + assert t.assess_interval(metal,floor=1,epsilon=SPEC.epsilon_metal)["status"] == "passed" + + +@pytest.mark.parametrize("damage", ["source","depth","leaves","clock","frame","flux_basis"]) +def test_actual_adapter_rejects_unbound_scale_clock_and_partition(damage): + row=sealed_observer_row() + scale={"source_record_sha256":t.digest(row),"partition":{"depth":1,"leaves":2}, + "channels":{k:{"lower_C":[0,1],"upper_C":[0,1]} for k in t.CHANNELS}} + if damage == "source": scale["source_record_sha256"]="foreign" + elif damage == "depth": scale["partition"]["depth"]=9 + elif damage == "leaves": scale["partition"]["leaves"]=257 + elif damage == "clock": row["interval"]["right"]["time_s"] = .09 + elif damage == "frame": row["interval"]["coefficient_frame_identity"]="other" + else: row["interval"]["observation"]["physical_charge"]["physical_flux_basis"]="raw_metal_derivative" + with pytest.raises(t.InvalidT1Data): + t.from_sealed_charge(row,run_id="manufactured-run",scale_evidence=scale) + + +def test_matched_signed_trend_is_not_a_prefix_or_order_proof(): + assert t.matched_growth(1,F(1,10),F(11,10),0)["status"] == "passed" + assert t.matched_growth(1,0,F(11,10),0)["status"] == "failed" + assert t.matched_growth(1,None,1,0)["status"] == "unknown" + assert t.matched_growth(1,0,-1,0)["convergence_order_proved"] is False + + +SPEC3 = t.CandidateSpec("manufactured-V3-spec",F(10**8),version=3) +OWNERSHIP = {k:"manufactured independently bounded "+k for k in (*t.COMPONENTS,"Qquad")} + + +def data_v3(): + request,labels,intervals,pieces=full_data(missing_l1=True) + for i,row in enumerate(intervals): + row.update(case_id="B_N8_Main_Full",input_digest=t.digest(request),path_identity=f"path-{i}", + owner_generation={"owner":"manufactured-owner","generation":1}) + left,right=map(F,(float.fromhex(row["t_left_hex"]),float.fromhex(row["t_right_hex"]))) + row["native_clock"]={"predecessor":t.pair(left),"tn":t.pair(right),"hused":t.pair(right-left)} + for value in row["channels"].values(): + value.update(left_charge_enclosure_C=enc(0),right_charge_enclosure_C=enc(0),coverage_ownership=deepcopy(OWNERSHIP)) + piece=deepcopy(row) + piece.update(schema="solarlab.g2-window-piece.v1",window_index=i,parent_sha256=t.digest(row), + window_key={"left":t.fixed_windows(labels)[i][0],"right":t.fixed_windows(labels)[i][1]}) + piece["piece_id"]=t.digest(piece);pieces[i]=piece + return request,labels,intervals,pieces + + +def evaluate_v3(data,**kwargs): + return t.evaluate(data[2],data[3],labels=data[1],spec=SPEC3,case_id="B_N8_Main_Full",run_id="manufactured-run", + problem_identity=t.physical_problem_identity(data[0]),**kwargs) + + +def typed_reference(folder,data,*,signal=F(1),error=F(0),kind="rigorous_bound"): + from .test_g2_route_bindings import frozen_definition + request,labels,_,_=data;problem=t.physical_problem_identity(request) + method=frozen_definition(folder,"ReferenceMethod","solarlab.g2-reference-method.v1",1) + rows=[{"tag":tag,"q_C":enc(signal*F(float.fromhex(tag["time_hex"]))/F(9.2)), + "f_C":enc(signal*F(float.fromhex(tag["time_hex"]))/F(9.2))} for tag in labels] + proof=pin(folder/"ToyForwardProof.json",{"fixture_only":True,"kind":"analytic_original_problem", + "target_problem_identity":problem,"checked_premises":["manufactured exact observable values and declared error"]}) + axes={axis:pin(folder/(axis+"Toy.json"),{"fixture_only":True,"status":"accepted","axis":axis, + "method_contract_sha256":method["sha256"],"target_problem_identity":problem, + "checked_premises":["manufactured method support, no actual BE trajectory"]}) for axis in ("E1","E2","E3")} + evidence={} + for field,quantity in (("E_q","q"),("E_f","f")): + slot="rigorous_bound_value" if kind == "rigorous_bound" else "conditional_estimate_value" + record={"schema":"solarlab.g2-reference-evidence.v1","status":"accepted","evidence_class":"manufactured", + "claim_kind":kind,"target_problem_identity":problem,"quantity_and_unit":{"quantity":quantity,"unit":"C"}, + "norm_and_coverage":{"norm":"max_abs_tagged131","records":131,"labels_sha256":t.digest(labels)}, + "reference_source_and_run_identity":{"case_id":"B_N8_Strict_Full","run_id":"toy-reference", + "source_identity":"toy-source","request_sha256":t.digest(request)}, + "error_components_and_ownership":[{"id":"all-toy-errors","claim_kind":kind,"value_C":t.pair(error), + "covered_axes":["evaluation","initial_and_algebraic","input_clock_parameter","trajectory_nonlinear","stability_reconstruction"], + "source":proof}],"assumptions_and_checked_premises":["explicit manufactured observable/error"], + "observed_refinement_and_method_independence":axes if kind == "conditional_uncertainty_estimate" else {}, + "unresolved_common_bias_and_model_error":"manufactured scope only; no physical B assertion", + "reviewer_and_decision_authority":"manufactured separate reviewer", + "rigorous_bound_value":None,"conditional_estimate_value":None,"diagnostic_value":None,"proof":proof} + record[slot]=t.pair(error);record["estimated_or_enclosed_value"]={"value_field":slot,"value":record[slot],"unit":"C"} + evidence[field]=record + reference={"fixture_only":True,"case_id":"B_N8_Strict_Full","problem_identity":problem,"unit":"C", + "labels":labels,"responses":rows,"method_contract":method,"error_evidence":evidence} + return review_typed_reference(folder,reference) + + +def review_typed_reference(folder,reference): + reference.pop("independent_review",None) + review={"fixture_only":True,"accepted":True,"independent_reference_error_review":True, + "evidence_sha256":t.digest(reference),"gate_spec_sha256":SPEC3.sha256, + "method_contract_sha256":reference["method_contract"]["sha256"], + "reviewer":"toy-independent-reviewer","evidence_author":"toy-author"} + reference["independent_review"]=pin(folder/"TypedToyReview.json",review) + return reference + + +@pytest.mark.parametrize("kind",["rigorous_bound","conditional_uncertainty_estimate"]) +def test_V3_typed_reference_claim_is_preserved(tmp_path,kind): + data=data_v3();ref=typed_reference(tmp_path,data,kind=kind) + result=evaluate_v3(data,reference=ref) + assert result["channels"]["device"]["status"] == "passed" + assert result["reference"]["claim_kind"] == result["channels"]["device"]["claim_kind"] == kind + assert result["reference"]["E1_E2_E3_recomputed_by_this_gate"] is False + assert result["L_U2"]["eligible"] is False and not result["scientific_qualification"] + + +@pytest.mark.parametrize("damage",["missing","rejected","diagnostic","mixed_slot","boolean","uncovered","same_author","missing_E2"]) +def test_V3_bad_reference_never_becomes_U2_weak_signal(tmp_path,damage): + data=data_v3();ref=typed_reference(tmp_path,data,signal=0,kind="conditional_uncertainty_estimate") + row=ref["error_evidence"]["E_q"] + if damage == "missing": del ref["error_evidence"]["E_q"] + elif damage == "rejected": row["status"]="rejected" + elif damage == "diagnostic": row["claim_kind"]="diagnostic_agreement" + elif damage == "mixed_slot": row["rigorous_bound_value"]=[0,1] + elif damage == "boolean": row["conditional_estimate_value"]=False;row["estimated_or_enclosed_value"]["value"]=False + elif damage == "uncovered": row["error_components_and_ownership"][0]["covered_axes"].pop() + elif damage == "missing_E2": del row["observed_refinement_and_method_independence"]["E2"] + review_typed_reference(tmp_path,ref) + if damage == "same_author": + path=Path(ref["independent_review"]["path"]);value=json.loads(path.read_text());value["reviewer"]=value["evidence_author"] + ref["independent_review"]=pin(path,value) + result=evaluate_v3(data,reference=ref) + assert result["channels"]["device"]["status"] == "unknown_reference_error" + assert not result["L_U2"]["device_signal_eligible"] and not result["L_U2"]["eligible"] + + +@pytest.mark.parametrize("signal,error,status",[(0,0,"unresolved_signal"),(3,1,"unresolved_signal"), + (1,F(1,10000),"failed"),(1,0,"passed")]) +def test_V3_signal_boundary_and_reference_share_are_distinct(tmp_path,signal,error,status): + data=data_v3();ref=typed_reference(tmp_path,data,signal=F(signal),error=error) + result=evaluate_v3(data,reference=ref) + assert result["channels"]["device"]["status"] == status + if status == "unresolved_signal": + assert all(row["channels"]["device"]["prefix"]["status"] == "not_evaluated" for row in result["native"]) + assert result["L_U2"]["device_signal_eligible"] and not result["L_U2"]["eligible"] + + +def test_V3_missing_piece_unknown_precedes_eligible_weak_signal(tmp_path): + data=data_v3();ref=typed_reference(tmp_path,data,signal=0);data[3].pop(5) + result=evaluate_v3(data,reference=ref) + assert result["channels"]["device"]["status"] == "unknown" and not result["L_U2"]["eligible"] + + +def test_V3_failure_is_latched_ahead_of_missing_reference_or_later_weak_signal(tmp_path): + data=data_v3();ref=typed_reference(tmp_path,data,signal=0) + for reference in (None,ref): + result=evaluate_v3(data,reference=reference,known_device_failure={"kind":"manufactured-independent-device-failure","index":3}) + assert result["channels"]["device"]["status"] == "failed" + assert result["channels"]["device"]["first_failure"]["index"] == 3 and not result["L_U2"]["eligible"] + assert t.device_disposition(evaluated=False,reference={"status":"unknown"},non_signal_complete=False)["status"] == "not_evaluated" + + +def test_V3_U2_requires_all_other_checks_review_and_explicit_restriction(tmp_path): + data=data_v3();ref=typed_reference(tmp_path,data,signal=0,kind="conditional_uncertainty_estimate") + result=evaluate_v3(data,reference=ref);scope=result["L_U2"]["result_scope_sha256"] + checks={k:"passed" for k in ("safety","T2","T3","history_identity","matched_growth","port_reference_comparisons","state_reference_comparisons")} + review=pin(tmp_path/"ToyRouteReview.json",{"fixture_only":True,"accepted":True,"independent_route_review":True, + "result_scope_sha256":scope,"checks_sha256":t.digest(checks)}) + restriction=pin(tmp_path/"ToyRestriction.json",{"fixture_only":True,"accepted":True,"id":"L-U2","scope":"G2-R", + "result_scope_sha256":scope,"transfer":"G2-Q","exit_before":"G9P","user_record":"manufactured-not-real-authorization"}) + evidence={"checks":checks,"independent_review":review,"commander_restriction":restriction} + actual=evaluate_v3(data,reference=ref,route_evidence=evidence) + assert actual["L_U2"]["eligible"] and actual["L_U2"]["route_status"] == "passed_with_user_accepted_limitation" + assert actual["L_U2"]["device_scientific_pass"] is actual["L_U2"]["full_scientific_pass"] is False + evidence["checks"]["matched_growth"]="unknown" + assert not evaluate_v3(data,reference=ref,route_evidence=evidence)["L_U2"]["eligible"] + + +def test_V3_piece_requires_independent_window_endpoint_actions(tmp_path): + data=data_v3();ref=typed_reference(tmp_path,data,signal=0) + piece=data[3][2];piece["channels"]["device"]["right_charge_enclosure_C"]=enc(1) + piece["piece_id"]=t.digest({k:v for k,v in piece.items() if k != "piece_id"}) + with pytest.raises(t.InvalidT1Data,match="piece_endpoint_delta"): + evaluate_v3(data,reference=ref) + + +def test_V3_sealed_supplement_cannot_replace_original_signed_operands(): + row=sealed_observer_row();native=t.from_sealed_charge(row,run_id="manufactured-run") + native["native_clock"]=deepcopy(row["interval"]["observation"]["physical_charge"]["clock"]) + row["t1_evidence"]=native + assert t.from_sealed_t1(row,run_id="manufactured-run") == native + native["channels"]["left_metal"]["delta_Q_enclosure_C"]=enc(0) + with pytest.raises(t.InvalidT1Data,match="original_operand_changed"): + t.from_sealed_t1(row,run_id="manufactured-run") + + +def test_L1_retained_cell_proof_detects_rehashed_bound_or_sign_tampering(): + pytest.importorskip("flint") + from scripts.benchmarks.interval_observation import BallIntegrator + from scripts.benchmarks.native_observation import observation_record + a=BallIntegrator();proof=a.absolute_enclosure(lambda z,analytic:a.number(1),-1,0,F(1,10**20)) + value=op(1,1) + value.update(integral_abs_F_lower_C=t.pair(proof["lower"]),integral_abs_F_upper_C=t.pair(proof["upper"]), + integral_abs_F_evidence=observation_record(proof),scale_input_clock_widening_C=[0,1], + L1_scope={"path_identity":"toy","t_left":[0,1],"t_right":[1,1],"hused":[1,1],"native_tn":[1,1]}) + t.operands(value) + broken=deepcopy(value);broken["integral_abs_F_lower_C"]=[2,1] + with pytest.raises(t.InvalidT1Data):t.operands(broken) + broken=deepcopy(value);broken["integral_abs_F_evidence"]["cells"]["tuple"][0]["sign"]="nonpositive" + with pytest.raises(t.InvalidT1Data,match="L1_sign_certificate"):t.operands(broken) + + +def test_V3_sealed_evaluation_needs_reviewed_source_before_opening_history(tmp_path,monkeypatch): + from scripts.benchmarks import native_history + path,manifest=sealed_fixture(tmp_path) + doc=document();doc.update(schema=t.SPEC_SCHEMA_V3,version=3) + manifest["gate_spec"]=pin(tmp_path/"V3Spec.json",doc);pin(path,manifest) + def forbidden(*args,**kwargs):raise AssertionError("unadmitted evaluator opened history") + monkeypatch.setattr(native_history,"HistoryReader",forbidden) + with pytest.raises(t.InvalidT1Data,match="evaluation_admission_required"): + read_sealed(path) + + +@pytest.mark.parametrize("damage", [None,"trailer","logical_hash","record_count","admission_input"]) +def test_V3_manufactured_admission_then_real_HistoryReader_roundtrip(tmp_path,monkeypatch,damage): + from scripts.benchmarks import g2_route,native_history + path,manifest=sealed_fixture(tmp_path,v3=True) + request=json.loads(Path(manifest["request"]["path"]).read_text()) + plan={"fixture_only":True,"definitions":{"gate_spec":manifest["gate_spec"]}, + "cases":[{"id":manifest["case_id"],"execution":{"effective_input_digest":t.digest(request), + "native_admission":{"operation_id":manifest["run_id"]}}}]} + manifest["run_plan"]=pin(tmp_path/"ToyEvaluationContext.json",plan) + calls=[] + def manufactured_admission(plan_path,**kwargs): + assert str(plan_path) == manifest["run_plan"]["path"] + assert kwargs == {"executable":True,"case_id":"B_N8_Main_Full","purpose":"evaluate"} + calls.append(kwargs) + return {"plan":plan} + monkeypatch.setattr(g2_route,"validate",manufactured_admission) + if damage == "trailer": + history=Path(manifest["history"]["path"]) + history.write_bytes(history.read_bytes()[:-5]) + manifest["history"]["encoded_bytes"]=history.stat().st_size + elif damage == "logical_hash": manifest["history"]["logical_sha256"]="0"*64 + elif damage == "record_count": manifest["history"]["records"]-=1 + elif damage == "admission_input": + plan["cases"][0]["execution"]["effective_input_digest"]="wrong-input" + def forbidden(*args,**kwargs): raise AssertionError("unbound input opened history") + monkeypatch.setattr(native_history,"HistoryReader",forbidden) + pin(path,manifest) + if damage is not None: + with pytest.raises((t.InvalidT1Data,EOFError)): read_sealed(path) + else: + result=read_sealed(path) + assert result["history"] == {"records":256,"logical_bytes":manifest["history"]["logical_bytes"], + "logical_sha256":manifest["history"]["logical_sha256"],"eof_seen":True,"crc_verified":True} + assert len(result["fixed_windows"]) == 128 and all(w["complete_pieces"] for w in result["fixed_windows"]) + assert result["channels"]["left_metal"]["status"] == "passed" + assert result["channels"]["device"]["status"] == "unknown_reference_error" + assert result["L_U2"]["eligible"] is False and result["scientific_qualification"] is False + assert len(calls) == 1 + + +def test_sealed_T1_emitter_preserves_C_and_splits_actual_fixed_windows(monkeypatch): + """Exercise the real writer adapter with an explicit exact toy action provider.""" + pytest.importorskip("flint") + from types import SimpleNamespace + from scripts.benchmarks import physical_tolerance + from scripts.benchmarks.native_observation import SealedChargeObserver + request=base_request() + request["interval_observation"]={"arithmetic":{"bits":128,"evaluations":64,"depth":8}} + row=sealed_observer_row();row["request_sha256"]=t.digest(request) + physical=row["interval"]["observation"]["physical_charge"] + physical["request_sha256"]=t.digest(request) + duration=F(.1) + physical["clock"]["hused"]=t.pair(duration) + row["interval"]["observation"]["clock"]["hused"]=t.pair(duration) + original=deepcopy(row);emitted=[];cuts=[] + sealed=object.__new__(SealedChargeObserver) + sealed.request=request;sealed.emit=emitted.append;sealed.checkpoint=lambda:None + sealed.t1_context={"spec_sha256":SPEC3.sha256,"run_id":"manufactured-run","case_id":"B_N8_Main_Full"} + sealed.t1_spec=SPEC3;sealed.t1_windows=t.fixed_windows(sample_labels(request));sealed.t1_pieces=0 + clock=SimpleNamespace(predecessor=F(0),tn=duration,hused=duration,segment_end=duration) + path=SimpleNamespace(clock=clock,identity="path") + observer=SimpleNamespace(prepared=SimpleNamespace(path=path),frame=SimpleNamespace(owner="toy-owner",generation=1)) + def exact_toy_piece(left_pair,right_pair,first,last,**kwargs): + cuts.append((first,last,kwargs)) + channels={} + for name in t.CHANNELS: + left,right=(first/duration,last/duration) if name == "left_metal" else (F(0),F(0)) + value=op(right-left,0,missing_l1=True) + value.update(integral_abs_F_evidence=None,scale_input_clock_widening_C=[0,1],missing_reason=None, + coverage_ownership=deepcopy(OWNERSHIP),left_charge_enclosure_C=enc(left),right_charge_enclosure_C=enc(right), + L1_scope={"path_identity":"path","t_left":t.pair(first),"t_right":t.pair(last), + "hused":t.pair(duration),"native_tn":t.pair(duration)}) + channels[name]=value + return {"channels":channels,"endpoint_action_source":{ + "left":"saved-state" if first == 0 else "exact-retained-polynomial", + "right":"saved-state" if last == duration else "exact-retained-polynomial"}, + "form_identities":{"body_charge":"toy-body","metal_charge":"toy-metal"}, + "path_identity":"path","arithmetic_calls":[],"status":"computed"} + observer.t1_piece_evidence=exact_toy_piece + monkeypatch.setattr(physical_tolerance,"physical_charge_error_allocation",lambda request,length:F(length)/10000) + sealed._emit_t1(row,observer,("toy-left",),("toy-right","toy-increment"),F(1,10000)) + assert {k:v for k,v in emitted[0].items() if k != "t1_evidence"} == original + native=t.from_sealed_t1(emitted[0],run_id="manufactured-run") + assert native["source_record_sha256"] == t.digest(original) + pieces=[record["evidence"] for record in emitted[1:]] + assert sealed.t1_pieces == len(pieces) == 32 and len(cuts) == 33 + assert cuts[0][:2] == (0,duration) and len(cuts[0][2]["scale_deciders"]) == 3 + assert pieces[0]["endpoint_action_source"]["left"] == "saved-state" + assert pieces[1]["endpoint_action_source"]["left"] == "exact-retained-polynomial" + assert pieces[-1]["endpoint_action_source"]["right"] == "saved-state" + assert pieces[-1]["event_side"] == "left" + assert all(p["native_clock"] == physical["clock"] for p in pieces) + assert all(p["owner_generation"] == {"owner":"toy-owner","generation":1} for p in pieces) + for index,piece in enumerate(pieces): + t._piece_v3(piece,native,sealed.t1_windows[index],"B_N8_Main_Full") + result=t.evaluate([native],pieces,labels=sample_labels(request),spec=SPEC3,case_id="B_N8_Main_Full", + run_id="manufactured-run",problem_identity=t.physical_problem_identity(request)) + assert sum(w["complete_pieces"] for w in result["fixed_windows"]) == 32 + assert result["channels"]["device"]["status"] == "unknown_reference_error" + assert result["channels"]["left_metal"]["complete_native_coverage"] is False + + +# Change G: independent D2 review witnesses on manufactured data only. +def three_piece_v3_window(index=5): + data = data_v3() + original = data[3][index] + left, right = map(F, (float.fromhex(original['t_left_hex']), float.fromhex(original['t_right_hex']))) + cuts = [left, F(float(left+(right-left)/4)), F(float(left+3*(right-left)/4)), right] + children = [] + for a, b in zip(cuts, cuts[1:]): + child = deepcopy(original) + child.update(t_left_hex=float(a).hex(), t_right_hex=float(b).hex(), event_side='interior') + child['piece_id'] = t.digest({k: v for k, v in child.items() if k != 'piece_id'}) + children.append(child) + data[3][index:index+1] = children + return data + + +@pytest.mark.parametrize('missing', [0, 1, 2]) +@pytest.mark.parametrize('earlier_failure', [False, True]) +def test_G_missing_first_middle_last_piece_retains_summary(tmp_path, missing, earlier_failure): + data = three_piece_v3_window() + reference = typed_reference(tmp_path, data, signal=0) + assert evaluate_v3(data, reference=reference)['fixed_windows'][5]['complete_pieces'] is True + del data[3][5+missing] + failure = {'kind': 'manufactured_earlier_device_failure', 'index': 1} if earlier_failure else None + result = evaluate_v3(data, reference=reference, known_device_failure=failure) + window = result['fixed_windows'][5] + assert window['complete_pieces'] is False + assert window['signed_device_trend_input'] is None + for name in t.CHANNELS[1:]: + assert window['channels'][name] == {'status': 'unknown', 'reason': 'unknown_missing_window_pieces'} + assert result['channels'][name]['first_unknown']['index'] == 5 + assert len(result['fixed_windows']) == 128 and result['fixed_windows'][6]['complete_pieces'] is True + assert result['channels']['device']['status'] == ('failed' if earlier_failure else 'unknown') + if earlier_failure: + assert result['channels']['device']['first_failure'] == failure + assert result['L_U2']['eligible'] is False + + +@pytest.mark.parametrize('damage', ['duplicate', 'out_of_order', 'identity']) +def test_G_piece_corruption_is_not_classified_as_missing(damage): + data = three_piece_v3_window() + if damage == 'duplicate': + data[3].insert(6, deepcopy(data[3][5])) + elif damage == 'out_of_order': + data[3][5], data[3][6] = data[3][6], data[3][5] + else: + data[3][6]['piece_id'] = 'unbound-piece' + with pytest.raises(t.InvalidT1Data): + evaluate_v3(data) + + +def G_widening_witness(input_error=F(1,2), clock_error=F(0), widening=F(0)): + pytest.importorskip("flint") + from scripts.benchmarks.interval_observation import BallIntegrator + from scripts.benchmarks.native_observation import observation_record + arithmetic = BallIntegrator() + proof = arithmetic.absolute_enclosure(lambda z, analytic: arithmetic.number(1000), -1, 0, F(1,10**20)) + value = op(F(1999,2), 1000, errors=(0,0,input_error,clock_error)) + value.update(integral_abs_F_evidence=observation_record(proof), + integral_abs_F_lower_C=t.pair(max(F(0),proof['lower']-widening)), + integral_abs_F_upper_C=t.pair(proof['upper']+widening), + scale_input_clock_widening_C=t.pair(widening), coverage_ownership=deepcopy(OWNERSHIP), + L1_scope={'path_identity':'manufactured-constant-flux','t_left':[0,1], 't_right':[1,1], + 'hused':[1,1],'native_tn':[1,1]}) + envelope = {'t_left_hex':float(0).hex(),'t_right_hex':float(1).hex(), + 'native_clock':{'predecessor':[0,1],'tn':[1,1],'hused':[1,1]}, + 'path_identity':'manufactured-constant-flux', + 'channels':{name:deepcopy(value) for name in t.CHANNELS}} + t._channels_v3(envelope) + return value + + +@pytest.mark.parametrize('input_error,clock_error', [(F(1,2),F(0)), (F(0),F(1,2)), (F(1,4),F(1,4))]) +@pytest.mark.parametrize('widening', [F(0), F(49,100)]) +def test_G_L1_widening_cannot_omit_input_or_clock(input_error, clock_error, widening): + value = G_widening_witness(input_error, clock_error, widening) + with pytest.raises(t.InvalidT1Data, match='L1_input_clock_coverage'): + t.assess_interval(value, floor=1, epsilon=F(1,1000)) + + +def test_G_correctly_widened_L1_witness_is_unknown(): + value = G_widening_witness(widening=F(1,2)) + result = t.assess_interval(value, floor=1, epsilon=F(1,1000)) + assert result['status'] == 'unknown' + assert t.q(result['defect_C']) == 1 + assert t.q(result['scale_lower_C']) == F(1999,2) + assert t.q(result['scale_upper_C']) == F(2001,2) + assert t.assess_interval(G_widening_witness(widening=F(3,4)), floor=1, + epsilon=F(1,1000))['status'] == 'unknown' diff --git a/tests/numerical_contracts/test_temporal_interface.py b/tests/numerical_contracts/test_temporal_interface.py new file mode 100644 index 00000000..b67b55fc --- /dev/null +++ b/tests/numerical_contracts/test_temporal_interface.py @@ -0,0 +1,352 @@ +"""Endpoint-bound temporal constitutive inputs with independent exact oracles. + +No SG law or integrator is implemented here. Fraction linear forms check the +named binary inputs; Decimal logarithms independently check resolved words. +The 1e-28 contraction check is a local arithmetic diagnostic, not a gate change. +""" + +from dataclasses import replace +from decimal import Decimal, localcontext +from fractions import Fraction +import json + +import numpy as np +import pytest + +from scripts.benchmarks.contract_prototype import ( + ONE, PARTICLE, VOLT, VOLUME, ContractError, FloatArray, Layout, Point, + StateIncrement, StateView, Support, VariableSpec, +) +from scripts.benchmarks.precision_prototype import ( + DoubleArithmetic, DoubleArray, InputLiftCoordinates, RelativeCoordinates, + decode_point, encode_point, +) +from scripts.benchmarks.storage_prototype import ExponentialStorage + + +VT = 0.025851999786435535 +PAIRS = np.array([[0, 1], [1, 2]]) +WEAK = [0.0, 1e-40, -1e-40, 1e-17, -1e-17] + + +def rational(value): + return Fraction.from_float(float(value)) + + +def exact_words(value): + return [rational(h)+rational(l) for h, l in zip(value.high.ravel(), value.low.ravel())] + + +def check_linear_form(value, expected, *, exact=False): + actual = exact_words(value) + assert len(actual) == len(expected) + for got, wanted in zip(actual, expected): + assert (got == 0) == (wanted == 0) + assert (got > 0) == (wanted > 0) + if exact: + assert got == wanted + else: + assert abs(got-wanted) <= abs(wanted)*Fraction(1, 10**28) + + +def root_point(*, zero_node=False, precision=True, trace=False, potential_unit=VOLT): + supports = [Support("nodes", "global", (3,))] + variables = [VariableSpec("n_m3", "carrier", "nodes", (3,), PARTICLE/VOLUME), + VariableSpec("p_m3", "carrier", "nodes", (3,), PARTICLE/VOLUME), + VariableSpec("phi_V", "electrostatics", "nodes", (3,), potential_unit)] + array = DoubleArray if precision else FloatArray + fields = [("n_m3", array([0 if zero_node else 1e22, 1.3e22, 2e22])), + ("p_m3", array([0.7e22, 2e22, 3e22])), ("phi_V", array([0, 0.017, -0.02]))] + if trace: + supports.append(Support("trace", "global", (1, 2))) + variables.append(VariableSpec("trace_state_m3", "trace-population", "trace", (1, 2), PARTICLE/VOLUME)) + fields.append(("trace_state_m3", array([[1e20, 2e20]]))) + layout = Layout(tuple(supports), tuple(variables), ()) + return Point(0, np.empty(0), np.array([0.]), StateView(layout, fields), "temporal-resolved-root-v1") + + +def roundtrip(point): + return decode_point(json.loads(json.dumps(encode_point(point))), point.state.layout) + + +@pytest.mark.parametrize("stage", ["first_root", "mapped"]) +@pytest.mark.parametrize("role,sign", [("electron", -1), ("hole", 1)]) +@pytest.mark.parametrize("common", [0.0, 0.1, 0.3]) +@pytest.mark.parametrize("weak", WEAK) +def test_temporal_log_and_spatial_drive_use_named_inputs(stage, role, sign, common, weak): + left = root_point() + coordinates = InputLiftCoordinates(left.state.layout, VT) + if stage == "mapped": + left, _ = coordinates.advance(left, {"potential": [0.1, 0.3, -0.2], + "electron": [0.02, -0.01, 0.03], + "hole": [-0.01, 0.04, -0.07]}, 1) + before = encode_point(left) + right, change = coordinates.advance(left, {role: [0, weak, -weak], "potential": [common]*3}, left.time+1) + density = "n_m3" if role == "electron" else "p_m3" + temporal = [rational(common)*(-sign)+rational(weak), rational(common)*(-sign)-rational(weak)] + driving = [rational(weak), -2*rational(weak)] + for a, b in ((left, right), (roundtrip(left), roundtrip(right))): + increment = StateIncrement.from_points(a, b) + check_linear_form(increment.log_ratio(a, b, density, indices=[1, 2]), temporal, exact=True) + value = increment.electrochemical_delta(a, b, density, "phi_V", PAIRS, VT, + potential_sign=sign, arithmetic=DoubleArithmetic()) + check_linear_form(value, driving, exact=True) + check_linear_form(increment.face_delta(a, b, "phi_V", PAIRS, arithmetic=DoubleArithmetic()), + [Fraction(), Fraction()], exact=True) + assert encode_point(left) == before + change.validate(left, right) + + +@pytest.mark.parametrize("stage", ["first_root", "mapped"]) +@pytest.mark.parametrize("weak", WEAK) +@pytest.mark.parametrize("observed_VT", [VT, 0.03]) +def test_temporal_face_and_full_lift_contract_before_projection(stage, weak, observed_VT): + left = root_point() + coordinates = InputLiftCoordinates(left.state.layout, VT) + if stage == "mapped": + left, _ = coordinates.advance(left, {"potential": [0.17, -0.02, 0.31]}, 1) + z = DoubleArray([0.3]*3, [0, weak, -weak]) + lift = DoubleArray([0.4]*3, [weak, -weak, 0]) + right, increment = coordinates.advance(left, {"potential": z, "electron": [weak, 0, -weak]}, + left.time+1, voltage_lift_V=lift) + f, vt, measured = rational(weak), rational(VT), rational(observed_VT) + expected_phi = [vt*f-2*f, -2*vt*f+f] + # Independent joint physical input: log(n_j/n_i) changes by delta(e+z), + # and phi_j-phi_i changes by VT*delta(z)+delta(lift). + expected_drive = [-f+f-expected_phi[0]/measured, + -f-2*f-expected_phi[1]/measured] + for a, b in ((left, right), (roundtrip(left), roundtrip(right))): + change = StateIncrement.from_points(a, b) + check_linear_form(change.face_delta(a, b, "phi_V", PAIRS, arithmetic=DoubleArithmetic()), expected_phi) + check_linear_form(change.electrochemical_delta(a, b, "n_m3", "phi_V", PAIRS, observed_VT, + potential_sign=-1, arithmetic=DoubleArithmetic()), expected_drive) + increment.validate(left, right) + + +@pytest.mark.parametrize("weak", WEAK) +def test_relative_map_and_resolved_first_root_share_temporal_contract(weak): + resolved = root_point() + layout = resolved.state.layout + coordinates = RelativeCoordinates(layout, {"n_m3": "log", "p_m3": "log", "phi_V": "linear"}) + left = coordinates.initial(resolved.state, inputs=resolved.inputs) + right, change = coordinates.advance(left, [0, weak, -weak, 0, 0, 0, 0, -VT*weak, VT*weak], 1, [0]) + expected = [rational(weak)+rational(VT*weak)/rational(VT), + -2*rational(weak)-2*rational(VT*weak)/rational(VT)] + check_linear_form(change.electrochemical_delta(left, right, "n_m3", "phi_V", PAIRS, VT, + potential_sign=-1, arithmetic=DoubleArithmetic()), expected) + check_linear_form(change.log_ratio(left, right, "n_m3"), [Fraction(), rational(weak), -rational(weak)], exact=True) + + +@pytest.mark.parametrize("direction", [-1, 0, 1]) +@pytest.mark.parametrize("size", [1e5, 1e-18]) +def test_affine_density_temporal_activity_at_nonzero_affinity(direction, size): + root = root_point() + layout = root.state.layout + coordinates = RelativeCoordinates(layout, {v.id: "linear" for v in layout.variables}) + left = coordinates.initial(root.state, inputs=[0]) + dn = direction*np.array([size, 2*size, -3*size]) + dp = direction*np.array([size*1e-24, -2*size*1e-24, 0]) + dy = np.zeros(layout.size) + dy[layout.offsets["n_m3"]], dy[layout.offsets["phi_V"]] = dn, dp + right, change = coordinates.advance(left, dy, 1, [0]) + with localcontext() as ctx: + ctx.prec = 180 + dec = lambda v: Decimal.from_float(float(v)) + density = [dec(v) for v in [1e22, 1.3e22, 2e22]] + temporal = [((n+dec(delta))/n).ln() for n, delta in zip(density, dn)] + expected = [temporal[j]-temporal[i]-(dec(dp[j])-dec(dp[i]))/dec(VT) for i, j in PAIRS] + for a, b in ((left, right), (roundtrip(left), roundtrip(right))): + initial = a.state.electrochemical_difference("n_m3", "phi_V", PAIRS, VT, + potential_sign=-1, arithmetic=DoubleArithmetic()) + final = b.state.electrochemical_difference("n_m3", "phi_V", PAIRS, VT, + potential_sign=-1, arithmetic=DoubleArithmetic()) + assert all(x != 0 and (x > 0) == (y > 0) for x, y in zip(exact_words(initial), exact_words(final))) + value = StateIncrement.from_points(a, b).electrochemical_delta( + a, b, "n_m3", "phi_V", PAIRS, VT, potential_sign=-1, arithmetic=DoubleArithmetic()) + for actual, wanted in zip(exact_words(value), expected): + represented = Decimal(actual.numerator)/Decimal(actual.denominator) + assert (represented == 0) == (wanted == 0) + assert (represented > 0) == (wanted > 0) + assert abs(represented-wanted) <= abs(wanted)*Decimal("1e-28") + change.validate(left, right) + + +@pytest.mark.parametrize("weak", [1e-18, -1e-18]) +@pytest.mark.parametrize("common", [1e21, -1e21]) +@pytest.mark.parametrize("potential", [0.0, 0.017]) +def test_affine_common_density_step_keeps_existing_weak_spatial_gradient(weak, common, potential): + layout = Layout((Support("nodes", "global", (2,)),), + (VariableSpec("n", "population", "nodes", (2,), PARTICLE/VOLUME), + VariableSpec("phi", "potential", "nodes", (2,), VOLT)), ()) + root = StateView(layout, [("n", DoubleArray([1e22, 1e22], [0, weak])), + ("phi", DoubleArray([0, potential]))]) + coordinates = RelativeCoordinates(layout, {"n": "linear", "phi": "linear"}) + left = coordinates.initial(root) + right, change = coordinates.advance(left, [common, common, 0, 0], 1) + references = [] + for precision in (160, 200): + with localcontext() as ctx: + ctx.prec = precision + base, delta, small = map(Decimal.from_float, [1e22, common, weak]) + references.append(((base+small+delta)/(base+delta)).ln()-((base+small)/base).ln()) + with localcontext() as ctx: + ctx.prec = 200 + budget = abs(references[1])*Decimal("1e-28") + assert abs(references[0]-references[1]) <= budget/3 + for a, b in ((left, right), (roundtrip(left), roundtrip(right))): + value = StateIncrement.from_points(a, b).electrochemical_delta( + a, b, "n", "phi", [[0, 1]], VT, potential_sign=-1, arithmetic=DoubleArithmetic()) + fraction = exact_words(value)[0] + actual = Decimal(fraction.numerator)/Decimal(fraction.denominator) + assert actual != 0 + assert (actual > 0) == (references[1] > 0) + assert abs(actual-references[1]) <= budget + change.validate(left, right) + + +@pytest.mark.parametrize("density_steps", [[2e22, -1e22, 3e22], [-0.5e22, 1e22, -0.75e22]]) +def test_large_affine_spatial_ratio_changes_keep_finite_log_branch(density_steps): + root = root_point() + layout = root.state.layout + coordinates = RelativeCoordinates(layout, {v.id: "linear" for v in layout.variables}) + left = coordinates.initial(root.state) + dy = np.zeros(layout.size); dy[layout.offsets["n_m3"]] = density_steps + right, change = coordinates.advance(left, dy, 1) + value = change.electrochemical_delta(left, right, "n_m3", "phi_V", PAIRS, VT, + potential_sign=-1, arithmetic=DoubleArithmetic()) + with localcontext() as ctx: + ctx.prec = 180 + initial = list(map(Decimal.from_float, [1e22, 1.3e22, 2e22])) + final = [a+Decimal.from_float(b) for a, b in zip(initial, density_steps)] + reference = [(final[j]/final[i]).ln()-(initial[j]/initial[i]).ln() for i, j in PAIRS] + for fraction, expected in zip(exact_words(value), reference): + actual = Decimal(fraction.numerator)/Decimal(fraction.denominator) + assert abs(actual-expected) <= abs(expected)*Decimal("1e-28") + + +@pytest.mark.parametrize("mapped", [False, True]) +def test_temporal_same_point_is_exact_zero(mapped): + point = root_point() + if mapped: + point, _ = InputLiftCoordinates(point.state.layout, VT).advance(point, {"potential": [0.1, 0.3, -0.2]}, 1) + change = StateIncrement.from_points(point, point) + check_linear_form(change.log_ratio(point, point, "n_m3"), [Fraction()]*3, exact=True) + check_linear_form(change.face_delta(point, point, "phi_V", PAIRS, arithmetic=DoubleArithmetic()), [Fraction()]*2, exact=True) + check_linear_form(change.electrochemical_delta(point, point, "n_m3", "phi_V", PAIRS, VT, + potential_sign=-1, arithmetic=DoubleArithmetic()), [Fraction()]*2, exact=True) + + +def test_selected_positive_nodes_do_not_evaluate_inactive_zero_populations(): + left = root_point(zero_node=True) + right, change = InputLiftCoordinates(left.state.layout, VT).advance(left, {"electron": [0, 1e-40, 0]}, 1) + check_linear_form(change.log_ratio(left, right, "n_m3", indices=[1, 2]), [rational(1e-40), Fraction()], exact=True) + check_linear_form(change.electrochemical_delta(left, right, "n_m3", "phi_V", [[1, 2]], VT, + potential_sign=-1, arithmetic=DoubleArithmetic()), [-rational(1e-40)], exact=True) + with pytest.raises(ContractError, match="positive_fields"): + change.log_ratio(left, right, "n_m3") + with pytest.raises(ContractError, match="positive_fields"): + change.electrochemical_delta(left, right, "n_m3", "phi_V", [[0, 1]], VT, + potential_sign=-1, arithmetic=DoubleArithmetic()) + + +def test_trace_log_ratio_keeps_shape_and_first_root_meaning(): + left = root_point(trace=True) + right, change = InputLiftCoordinates(left.state.layout, VT).advance(left, {"trace_density": [[1e-40, -1e-40]]}, 1) + for a, b in ((left, right), (roundtrip(left), roundtrip(right))): + increment = StateIncrement.from_points(a, b) + value = increment.log_ratio(a, b, "trace_state_m3", indices=[0]) + assert value.shape == (1, 2) + check_linear_form(value, [rational(1e-40), -rational(1e-40)], exact=True) + change.validate(left, right) + + +def test_temporal_log_keeps_the_positive_depletion_endpoint(): + root = root_point() + coordinates = InputLiftCoordinates(root.state.layout, VT) + left, _ = coordinates.advance(root, {"electron": [0, 1e-17, 0]}, 1) + right, change = coordinates.advance(left, {"electron": [0, -80, 0]}, 2) + assert right.state.field("n_m3").as_dd()[1] > 0 + for a, b in ((left, right), (roundtrip(left), roundtrip(right))): + check_linear_form(StateIncrement.from_points(a, b).log_ratio(a, b, "n_m3", indices=[1]), + [Fraction(-80)], exact=True) + change.validate(left, right) + + +@pytest.mark.parametrize("precision", [False, True]) +def test_explicit_resolved_fields_have_finite_temporal_meaning(precision): + left = root_point(precision=precision) + array = DoubleArray if precision else FloatArray + values = dict(left.state.fields) + values["n_m3"] = array([2e22, 1e22, 4e22]) + values["phi_V"] = array([0.1, 0.3, -0.4]) + right = Point(1, np.empty(0), np.array([0.]), StateView(left.state.layout, values.items()), "resolved-after-v1") + change = StateIncrement.from_points(left, right) + a = DoubleArithmetic() if precision else None + log = change.log_ratio(left, right, "n_m3") + drive = change.electrochemical_delta(left, right, "n_m3", "phi_V", PAIRS, VT, potential_sign=-1, arithmetic=a) + face = change.face_delta(left, right, "phi_V", PAIRS, arithmetic=a) + with localcontext() as ctx: + ctx.prec = 180 + dec = lambda v: Decimal.from_float(float(v)) + before = [dec(v) for v in [1e22, 1.3e22, 2e22]] + after = [dec(v) for v in [2e22, 1e22, 4e22]] + truth = [(b/a).ln() for a, b in zip(before, after)] + potential = [dec(0.1), dec(0.3)-dec(0.017), dec(-0.4)-dec(-0.02)] + faces = [potential[j]-potential[i] for i, j in PAIRS] + drives = [truth[j]-truth[i]-drop/dec(VT) for (i, j), drop in zip(PAIRS, faces)] + for value, wanted in ((log, truth), (face, faces), (drive, drives)): + got = [Decimal(v.numerator)/Decimal(v.denominator) for v in exact_words(value)] if precision else [dec(v) for v in (value.values if isinstance(value, FloatArray) else value)] + for actual, expected in zip(got, wanted): + assert abs(actual-expected) <= abs(expected)*Decimal("1e-28" if precision else "1e-12") + + +def test_float_storage_map_uses_its_canonical_increment_for_temporal_log(): + coordinates = ExponentialStorage(by=1.0, ba=0.0, bt=0.0) + left = coordinates.point([0.]) + right, change = coordinates.advance(left, [1e-17], 1) + np.testing.assert_array_equal(change.log_ratio(left, right, "storage").values, [1e-17]) + + +def test_temporal_operations_reject_wrong_endpoints_forged_increments_and_roots(): + left = root_point() + right, change = InputLiftCoordinates(left.state.layout, VT).advance(left, {"electron": [0, 1e-40, 0]}, 1) + operations = [lambda inc, a, b: inc.log_ratio(a, b, "n_m3"), + lambda inc, a, b: inc.face_delta(a, b, "phi_V", PAIRS, arithmetic=DoubleArithmetic()), + lambda inc, a, b: inc.electrochemical_delta(a, b, "n_m3", "phi_V", PAIRS, VT, + potential_sign=-1, arithmetic=DoubleArithmetic())] + fields = dict(change.fields); fields["n_m3"] = DoubleArray([0, 0, 0]) + forged = StateIncrement(left.identity, right.identity, fields) + other = replace(left, time=2) + other_fields = dict(left.state.fields); other_fields["n_m3"] = DoubleArray([2e22]*3) + alien = replace(left, state=StateView(left.state.layout, other_fields.items())) + for operation in operations: + for before in (other, alien, right): + with pytest.raises(ContractError, match="increment_endpoint_mismatch"): + operation(change, before, right) + with pytest.raises(ContractError, match="increment_authority_mismatch"): + operation(forged, left, right) + + +def test_temporal_units_shapes_indices_and_implicit_rounding_are_guarded(): + left = root_point() + right, change = InputLiftCoordinates(left.state.layout, VT).advance(left, {"potential": [0, 1e-40, 0]}, 1) + for indices in ([-1], [3], [0.5], [True]): + with pytest.raises(ContractError): + change.log_ratio(left, right, "n_m3", indices=indices) + for pairs in ([0, 1], [[0, 3]], [[-1, 0]], [[0.1, 1]], [[True, False]]): + with pytest.raises(ContractError): + change.face_delta(left, right, "phi_V", pairs, arithmetic=DoubleArithmetic()) + for name in ("missing",): + with pytest.raises(ContractError, match="unknown_variable"): + change.log_ratio(left, right, name) + with pytest.raises(ContractError, match="affine_map"): + change.face_delta(left, right, "n_m3", PAIRS, arithmetic=DoubleArithmetic()) + for vt, sign in ((0, -1), (np.nan, -1), (VT, 0)): + with pytest.raises(ContractError, match="invalid_activity_parameters"): + change.electrochemical_delta(left, right, "n_m3", "phi_V", PAIRS, vt, potential_sign=sign, arithmetic=DoubleArithmetic()) + with pytest.raises(TypeError, match="implicit precision rounding"): + change.face_delta(left, right, "phi_V", PAIRS) + wrong_unit = root_point(potential_unit=ONE) + inc = StateIncrement.from_points(wrong_unit, wrong_unit) + with pytest.raises(ContractError, match="activity_potential_unit_mismatch"): + inc.electrochemical_delta(wrong_unit, wrong_unit, "n_m3", "phi_V", PAIRS, VT, potential_sign=-1, arithmetic=DoubleArithmetic()) diff --git a/tests/numerical_contracts/test_trial_interface.py b/tests/numerical_contracts/test_trial_interface.py new file mode 100644 index 00000000..c279062d --- /dev/null +++ b/tests/numerical_contracts/test_trial_interface.py @@ -0,0 +1,328 @@ +"""Fixed-reference affine trials, separate from local-coordinate advances.""" + +from dataclasses import replace +from decimal import Decimal, localcontext +from fractions import Fraction +import hashlib +import json + +import numpy as np +import pytest + +from scripts.benchmarks.contract_prototype import ( + PARTICLE, VOLT, BalanceTerms, ContractError, ImplicitSystem, Layout, Point, + StateIncrement, StateView, StoragePartials, Support, VariableSpec, +) +from scripts.benchmarks.precision_prototype import ( + DD, DoubleArithmetic, DoubleArray, PrimitiveExpansion, RelativeCoordinates, + decode_point, encode_point, +) + + +def exact(value): + return [Fraction.from_float(float(h))+Fraction.from_float(float(l)) + for h, l in zip(value.high.ravel(), value.low.ravel())] + + +def setup_reference(mapped=False): + layout = Layout((Support("scalar", "global", (1,)),), + (VariableSpec("n", "population", "scalar", (1,), PARTICLE, lower=0), + VariableSpec("phi", "potential", "scalar", (1,), VOLT)), ()) + state = StateView(layout, [("n", DoubleArray([10.], [1e-17])), + ("phi", DoubleArray([0.25]))]) + resolved = Point(0, np.empty(0), np.array([0.5]), state, "original-physical-reference-v1") + coordinates = RelativeCoordinates(layout, {"n": "linear", "phi": "linear"}) + if mapped: + initial = coordinates.initial(state, inputs=[0.5]) + reference, _ = coordinates.advance(initial, [0.5, 0.125], 0.5, [0.5]) + else: + reference = resolved + return coordinates, reference, resolved + + +def roundtrip(point): + return decode_point(json.loads(json.dumps(encode_point(point))), point.state.layout) + + +@pytest.mark.parametrize("mapped", [False, True]) +def test_sibling_trials_bind_predecessor_with_fixed_cumulative_coordinates(mapped): + coordinates, reference, resolved = setup_reference(mapped) + first, _ = coordinates.trial(reference, [1., 0.25], 1, [0.75]) + second, change = coordinates.trial(reference, [1.5, -0.125], 2, [1.25], predecessor=first) + np.testing.assert_array_equal(first.y, [1., 0.25]) + np.testing.assert_array_equal(second.y, [1.5, -0.125]) + assert exact(change.field("n")) == [Fraction(1, 2)] + assert exact(change.field("phi")) == [Fraction(-3, 8)] + assert second.state.authority.root_identity == resolved.state.authority.identity + assert second.state.authority.fixed_reference.identity == reference.identity + assert second.state.authority.coordinate_kind == "fixed-reference" + for a, b in ((first, second), (roundtrip(first), roundtrip(second))): + increment = StateIncrement.from_points(a, b) + assert exact(increment.field("n")) == [Fraction(1, 2)] + assert exact(increment.field("phi")) == [Fraction(-3, 8)] + sibling, _ = coordinates.trial(reference, [1.5, -0.125], 2, [1.25]) + assert exact(sibling.state.field("n")) == exact(second.state.field("n")) + with pytest.raises(ContractError, match="predecessor_point"): + StateIncrement.from_points(first, sibling) + + +@pytest.mark.parametrize("mapped", [False, True]) +@pytest.mark.parametrize("remainder", [[0., 0.], [-0.25, -0.125], [2., 0.5]]) +@pytest.mark.parametrize("policy,schema", [(None, "v5"), ("four-word-v1", "v4")]) +def test_trial_physical_fields_keep_reference_and_valid_negative_remainders(mapped, remainder, policy, schema): + coordinates, reference, _ = setup_reference(mapped) + before = encode_point(reference) + kwargs = {} if policy is None else {"transition_representation": policy} + point, change = coordinates.trial(reference, remainder, 1, reference.inputs, **kwargs) + for index, name in enumerate(("n", "phi")): + expected = exact(reference.state.field(name))[0]+Fraction.from_float(remainder[index]) + assert exact(point.state.field(name)) == [expected] + assert exact(change.field(name)) == [Fraction.from_float(remainder[index])] + assert encode_point(reference) == before + restored = roundtrip(point) + assert restored.identity == point.identity + assert restored.state.authority.fixed_reference.identity == reference.identity + assert restored.state.authority.payload()["schema"] == "solarlab.state-authority."+schema + assert restored.state.authority.payload()["coordinate_contract"]["solver_projection"] == "first-word" + + +def test_trial_keeps_dd_and_four_word_inputs_with_same_solver_projection(): + coordinates, reference, _ = setup_reference() + first, _ = coordinates.trial(reference, DoubleArray([1e5, 0]), 1, [0.5]) + second, change = coordinates.trial(reference, DoubleArray([1e5, 0], [1e-17, 0]), + 1, [0.5], predecessor=first) + np.testing.assert_array_equal(first.y, second.y) + assert exact(change.field("n")) == [Fraction.from_float(1e-17)] + assert StateIncrement.from_points(roundtrip(first), roundtrip(second)).field("n").identity_bytes() == change.field("n").identity_bytes() + words = [np.array([v, 0.]) for v in (1., 2.**-54, 2.**-108, 2.**-162)] + richer = PrimitiveExpansion(words) + a, _ = coordinates.trial(reference, richer, 2, [0.5]) + smaller = PrimitiveExpansion([*words[:3], np.array([2.**-163, 0.])]) + b, increment = coordinates.trial(reference, smaller, 2, [0.5], predecessor=a) + np.testing.assert_array_equal(a.y, b.y) + assert exact(increment.field("n")) == [Fraction.from_float(-2.**-163)] + restored = roundtrip(b) + for actual, supplied in zip(restored.state.authority.primitives["n"].words, smaller.words): + np.testing.assert_array_equal(actual, supplied[:1]) + assert exact(StateIncrement.from_points(roundtrip(a), restored).field("n")) == [Fraction.from_float(-2.**-163)] + + +@pytest.mark.parametrize("mapped", [False, True]) +@pytest.mark.parametrize("form", ["array", "double", "expansion"]) +@pytest.mark.parametrize("values", [[-0.0, 0.25], [0.25, -0.0]]) +def test_trial_canonical_signed_zero_keeps_exact_solver_binding(mapped, form, values): + coordinates, reference, _ = setup_reference(mapped) + raw = np.asarray(values) + value = (raw if form == "array" else DoubleArray(raw) if form == "double" + else PrimitiveExpansion((raw, np.zeros(2), np.zeros(2), np.zeros(2)))) + point, increment = coordinates.trial(reference, value, 1, reference.inputs) + canonical = raw.copy(); canonical[canonical == 0] = 0.0 + assert point.y.tobytes() == canonical.tobytes() + increment.validate(reference, point) + assert roundtrip(point).identity == point.identity + with pytest.raises(ContractError, match="point_authority_binding_mismatch"): + replace(point, y=raw) + record = json.loads(json.dumps(encode_point(point))) + index = int(np.flatnonzero(np.signbit(raw))[0]) + record["payload"]["y"][index] = float(-0.0).hex() + record["payload"]["authority"]["coordinates"][index] = float(-0.0).hex() + reseal(record) + with pytest.raises(ContractError, match="authority_coordinate_projection_mismatch"): + decode_point(record, reference.state.layout) + + +@pytest.mark.parametrize("replacement", ["time", "inputs", "y", "label", "physical_root"]) +def test_trial_rejects_foreign_fixed_reference_even_when_physics_matches(replacement): + coordinates, reference, _ = setup_reference() + first, _ = coordinates.trial(reference, [1., 0.], 1, [0.5]) + if replacement == "time": other = replace(reference, time=3) + elif replacement == "inputs": other = replace(reference, inputs=np.array([2.])) + elif replacement == "y": other = replace(reference, y=np.array([1., 2.])) + elif replacement == "label": other = replace(reference, coordinate_reference="another-reference") + else: + other = replace(reference, state=StateView(reference.state.layout, + [("n", DoubleArray([11.])), ("phi", DoubleArray([0.25]))])) + with pytest.raises(ContractError, match="predecessor_reference"): + coordinates.trial(other, [2., 0.], 2, [0.5], predecessor=first) + with pytest.raises(ContractError, match="predecessor_reference"): + coordinates.trial(reference, [2., 0.], 2, [0.5], predecessor=other) + + +def test_trial_rejects_rebasing_nonlinear_modes_bad_shapes_and_physical_domain(): + coordinates, reference, _ = setup_reference() + first, _ = coordinates.trial(reference, [1., 0.], 1, [0.5]) + with pytest.raises(ContractError, match="rebase_forbidden"): + coordinates.trial(first, [1., 0.], 2, [0.5]) + with pytest.raises(ContractError, match="linear_reference"): + RelativeCoordinates(reference.state.layout, {"n": "log", "phi": "linear"}).trial(reference, [1., 0.], 1) + for remainder in ([1.], [[1., 0.]]): + with pytest.raises(ContractError): + coordinates.trial(reference, remainder, 1) + with pytest.raises(ArithmeticError, match="DD requires finite"): + coordinates.trial(reference, [np.nan, 0.], 1) + with pytest.raises(ContractError, match="physical_state_outside_domain"): + coordinates.trial(reference, [-11., 0.], 1) + with pytest.raises(ContractError, match="coordinate_reference_mismatch"): + coordinates.advance(first, [1., 0.], 2) + + +def test_legacy_trial_exact_transition_capacity_is_bounded_and_nonmutating(): + coordinates, reference, _ = setup_reference() + a = PrimitiveExpansion([np.array([v, 0.]) for v in (1., 2.**-54, 2.**-108, 2.**-162)]) + b = PrimitiveExpansion([np.array([v, 0.]) for v in (2., 2.**-100, 2.**-200, 2.**-300)]) + first, _ = coordinates.trial(reference, a, 1, transition_representation="four-word-v1") + before = encode_point(first) + with pytest.raises(ContractError, match="primitive_expansion_capacity_exceeded"): + coordinates.trial(reference, b, 2, predecessor=first, + transition_representation="four-word-v1") + assert encode_point(first) == before + + +@pytest.mark.parametrize("tiny", [0.0, 1e-40, -1e-40]) +@pytest.mark.parametrize("lower", [None, 0.0]) +def test_trial_joint_affine_projection_preserves_depletion_sign_and_domain(tiny, lower): + layout = Layout((Support("scalar", "global", (1,)),), + (VariableSpec("n", "affine-field", "scalar", (1,), PARTICLE, lower=lower),), ()) + state = StateView(layout, [("n", DoubleArray([1e22], [1e-18]))]) + reference = Point(0, np.empty(0), np.empty(0), state, "depletion-original-reference") + coordinates = RelativeCoordinates(layout, {"n": "linear"}) + remainder = PrimitiveExpansion(tuple(np.array([value]) for value in (-1e22, -1e-18, tiny, 0.))) + before = encode_point(reference) + if lower == 0 and tiny < 0: + with pytest.raises(ContractError, match="physical_state_outside_domain"): + coordinates.trial(reference, remainder, 1) + else: + point, increment = coordinates.trial(reference, remainder, 1) + assert exact(point.state.field("n")) == [Fraction.from_float(tiny)] + assert exact(roundtrip(point).state.field("n")) == [Fraction.from_float(tiny)] + assert point.state.project_field("n").evaluator_identity == "stateless-dd-affine-joint-v1" + increment.validate(reference, point) + if tiny > 0: + damaged = json.loads(json.dumps(encode_point(point))) + damaged["payload"]["fields"]["n"]["high"] = [float(0).hex()] + damaged["payload"]["fields"]["n"]["low"] = [float(0).hex()] + reseal(damaged) + with pytest.raises(ContractError, match="precision_codec_projection_mismatch"): + decode_point(damaged, layout) + assert encode_point(reference) == before + + + +@pytest.mark.parametrize("reverse", [False, True]) +@pytest.mark.parametrize("ratio", [1., 2., 0.5]) +def test_trial_affine_faces_contract_anchor_and_sources_before_dd(reverse, ratio): + layout = Layout((Support("pair", "cell", (2,)),), + (VariableSpec("n", "population", "pair", (2,), PARTICLE, lower=0), + VariableSpec("phi", "potential", "pair", (2,), VOLT)), ()) + reference = Point(0, np.empty(0), np.empty(0), StateView(layout, [ + ("n", DoubleArray([0., 1e22], [0., 1e-18])), + ("phi", DoubleArray(np.zeros(2)))]), "joint-affine-face-reference") + coordinates = RelativeCoordinates(layout, {"n": "linear", "phi": "linear"}) + epsilon = 1e-40 + primitive = PrimitiveExpansion((np.array([epsilon, -1e22, 0., 0.]), + np.array([0., -1e-18, 0., 0.]), + np.array([0., ratio*epsilon, 0., 0.]), np.zeros(4))) + point, _ = coordinates.trial(reference, primitive, 1) + source = [Fraction.from_float(epsilon), Fraction.from_float(ratio*epsilon)] + pair = [[1, 0]] if reverse else [[0, 1]] + i, j = pair[0] + expected_drop = source[j]-source[i] + with localcontext() as context: + context.prec = 100 + expected_log = (Decimal(source[j].numerator)/Decimal(source[j].denominator)).ln()-( + Decimal(source[i].numerator)/Decimal(source[i].denominator)).ln() + for current in (point, roundtrip(point)): + assert exact(current.state.field("n")) == source + assert exact(current.state.face_difference("n", pair)) == [expected_drop] + observed = exact(current.state.log_ratio("n", pair))[0] + observed_log = Decimal(observed.numerator)/Decimal(observed.denominator) + assert abs(observed_log-expected_log) < Decimal("1e-30") + activity = current.state.electrochemical_difference("n", "phi", pair, 0.025, + potential_sign=-1, arithmetic=DoubleArithmetic()) + assert exact(activity) == [observed] + # Zero electric drive leaves a unit-coefficient SG diffusion flux. + # This reads the public face operation, not endpoint subtraction. + flux = -current.state.face_difference("n", pair).as_dd() + assert exact(DoubleArray.from_dd(flux)) == [-expected_drop] + assert (flux != 0).all() == (ratio != 1.) + + +def test_historical_v3_projection_is_not_reinterpreted_as_joint_v4(): + layout = Layout((Support("scalar", "global", (1,)),), + (VariableSpec("n", "legacy-affine-field", "scalar", (1,), PARTICLE),), ()) + state = StateView(layout, [("n", DoubleArray([1e22], [1e-18]))]) + coordinates = RelativeCoordinates(layout, {"n": "linear"}) + reference = coordinates.initial(state) + remainder = PrimitiveExpansion(tuple(np.array([value]) for value in (-1e22, -1e-18, 1e-40, 0.))) + historical, _ = coordinates.advance(reference, remainder, 1) + record = encode_point(historical) + assert record["payload"]["authority"]["schema"] == "solarlab.state-authority.v3" + assert exact(historical.state.field("n")) == [Fraction()] + assert exact(roundtrip(historical).state.field("n")) == [Fraction()] + assert historical.state.project_field("n").evaluator_identity == "stateless-dd-map-v1" + current, _ = coordinates.trial(reference, remainder, 1) + assert exact(current.state.field("n")) == [Fraction.from_float(1e-40)] + + +def reseal(record): + record["sha256"] = hashlib.sha256(json.dumps(record["payload"], sort_keys=True, + separators=(",", ":"), allow_nan=False).encode()).hexdigest() + + +@pytest.mark.parametrize("corruption", ["kind", "projection", "reference", "local_y", "drop_authority"]) +def test_trial_codec_rejects_changed_coordinate_meaning(corruption): + coordinates, reference, _ = setup_reference() + first, _ = coordinates.trial(reference, [1., 0.], 1, [0.5]) + point, _ = coordinates.trial(reference, [1.5, 0.], 2, [0.5], predecessor=first) + record = json.loads(json.dumps(encode_point(point))) + payload = record["payload"]; authority = payload["authority"] + if corruption == "kind": authority["coordinate_contract"]["kind"] = "local" + elif corruption == "projection": authority["coordinate_contract"]["solver_projection"] = "rounded-sum" + elif corruption == "reference": + authority["coordinate_contract"]["reference"] = encode_point(replace(reference, time=4)) + elif corruption == "local_y": + payload["y"][0] = authority["coordinates"][0] = float(0.5).hex() + else: + payload["authority"] = None; payload["field_role"] = "resolved-input" + reseal(record) + with pytest.raises(ContractError): + decode_point(record, reference.state.layout) + + +def test_advance_keeps_its_local_coordinates_and_v3_payload(): + coordinates, _, resolved = setup_reference() + initial = coordinates.initial(resolved.state, inputs=[0.5]) + first, _ = coordinates.advance(initial, [1., 0.25], 1, [0.5]) + second, _ = coordinates.advance(first, [2., 0.125], 2, [0.5]) + np.testing.assert_array_equal(second.y, [2., 0.125]) + payload = encode_point(second)["payload"]["authority"] + assert payload["schema"] == "solarlab.state-authority.v3" + assert "coordinate_contract" not in payload + assert second.state.authority.coordinate_kind == "local" + assert second.state.authority.fixed_reference is None + assert roundtrip(second).identity == second.identity + + +def test_trial_zero_remainder_retains_nonzero_reference_residual_and_affine_jacobian(): + coordinates, reference, _ = setup_reference() + point, _ = coordinates.trial(reference, [0., 0.], reference.time, reference.inputs) + + class Storage: + def value(self, p): return p.state.field("n") + def delta(self, left, right, increment): + increment.validate(left, right) + return increment.field("n") + def first(self, p): + return StoragePartials(DoubleArray([[1., 0.]]), DoubleArray([[0.]]), DoubleArray([0.])) + def rate_jvp(self, p, ydot, adot, dy, da, dt): return DoubleArray([0.]) + + def terms(p): + return BalanceTerms(DoubleArray.from_dd(p.state.field("n").as_dd()+DD([0.25])), + DoubleArray.from_dd(p.state.field("phi").as_dd()-p.inputs), + DoubleArray([[1., 0.]]), DoubleArray([[0.]]), DoubleArray([0.]), + DoubleArray([[0., 1.]]), DoubleArray([[-1.]]), DoubleArray([0.])) + + system = ImplicitSystem(Storage(), terms, DoubleArithmetic()) + residual = system.residual(point, np.zeros(2), np.zeros(1)) + assert exact(residual) == [-Fraction(41, 4)-Fraction.from_float(1e-17), -Fraction(1, 4)] + assert exact(system.linearize(point, np.zeros(2), np.zeros(1)).ida_matrix(2)) == [Fraction(1), Fraction(), Fraction(), Fraction(1)] diff --git a/tests/refactor/case_comparison.py b/tests/refactor/case_comparison.py new file mode 100644 index 00000000..ff721c72 --- /dev/null +++ b/tests/refactor/case_comparison.py @@ -0,0 +1,435 @@ +"""Four prospective P00 adapters over the existing supplied-data comparators. + +Each context contains named (reference, candidate, gate) triples. Gates are +materialized and reviewed before a candidate run; this module creates no gates, +reference errors, physical data or qualification. Extra observations carry +explicit uncertainty and source-branch records, never default zero errors. +""" +from decimal import Decimal, localcontext +from fractions import Fraction as F +import math + +from physical_comparison import compare_physical, definition_fingerprint +from reference_comparison import Rejected, _number, _require, compare + +SCOPES = { + "twod": "scope-benchmark-d84b2405628c3df6", + "lockin": "scope-oracle-23a290eced9bdb76", + "el": "scope-experiment-ddece0c2ae0c1f35", + "eqe": "scope-experiment-d99a1dd374330649", +} +LOWER = F(float.fromhex("0x1.4484bfeebc2a0p-100")) + + +def number(value, name="number"): + return F(_number(value, name)) + + +def validate_case_definition(d): + _require(d.get("schema") == "solarlab.four_case_definition.v1" + and d.get("kind") in SCOPES and d.get("scope_id") == SCOPES[d["kind"]], + "case_definition", "One exact original case is required") + _require(d.get("status") == "prospective_complete" and bool(d.get("case_id")), + "case_definition", "Numeric completeness is separate from eligibility") + _require(d.get("reference_error_bound") is None and d.get("reference_qualified") is False + and d.get("active_comparison") is None and bool(d.get("pending_observables")), + "case_eligibility", "Prospective definitions cannot qualify data") + contexts = d.get("contexts", []) + _require(bool(contexts) and len({c["id"] for c in contexts}) == len(contexts), + "case_coverage", "Unique original contexts are required") + for rule in d["rules"].values(): + _require(bool(rule.get("unit")) and number(rule["atol"]) >= 0 + and number(rule["rtol"]) >= 0, "case_threshold", "Finite dimensional allocations required") + if d["kind"] == "twod": + _require({(c["vertical"], c["horizontal"]) for c in contexts} + == {(16, 2), (32, 2), (64, 2), (32, 4), (32, 8)}, + "case_coverage", "Retain both original independent mesh axes") + elif d["kind"] == "lockin": + expected = {(f, 80, kind) for f in (.001, .01, 1.) + for kind in ("frequency_domain", "time_resolution")} + _require({(c["frequency"], c["samples"], c["phase_kind"]) for c in contexts} == expected, + "case_coverage", "All original final-level frequency and 40-to-80 comparisons") + _require(d["protocol"]["points_per_cycle"] == [20, 40, 80], + "case_coverage", "The original 20/40/80 protocol remains mandatory") + _require(d["phase_limits"] == {"frequency_domain": .00017453292519943296, + "time_resolution": 1.7453292519943296e-5}, + "phase_limit", "Preserve the original strict phase words") + else: + _require([c["id"] for c in contexts] == ["fixture"], "case_coverage", "One original optical fixture") + _require(d["wavelengths_nm"] == ([400, 500, 600, 700, 800, 900] + if d["kind"] == "el" else [400, 500, 600, 700, 800]), + "case_coverage", "No optical channel may disappear") + return True + + +def _guard(d, context, name, triple): + _require(isinstance(triple, (list, tuple)) and len(triple) == 3, + "case_packet", "Use existing reference/candidate/gate triples") + a, b, g = triple + for record in (a, b, g): + _require(record.get("case_id") == d["case_id"] and record.get("case_context") == context["id"] + and record.get("case_definition_sha256") == definition_fingerprint(d), + "case_binding", name) + _require(g.get("scope") == d["scope_id"] and g.get("reference_qualified") is True, + "reference_unqualified", "Actual independently qualified data are required") + _require(g.get("quantity") == name, "case_binding", "Channel names cannot be exchanged") + _require(a.get("definition_sha256") == b.get("definition_sha256") + == g.get("definition_sha256") == definition_fingerprint(g), + "definition_mismatch", "Bind the complete local gate before the candidate") + return a, b, g + + +def _value(table): + points = table.get("points", []) + _require(len(points) == 1 and points[0].get("status") == "ok", + "unresolved_data", "One explicit available scalar is required") + return number(points[0]["value"]) + + +def _error(table, unit): + e = table.get("uncertainty") + _require(isinstance(e, dict) and e.get("bound") is not None and e.get("unit") == unit + and isinstance(e.get("evidence_sha256"), str) and len(e["evidence_sha256"]) == 64 + and all(c in "0123456789abcdef" for c in e["evidence_sha256"]), + "unresolved_error", "A bound with its actual evidence and units is required") + result = number(e["bound"]) + _require(result >= 0, "unresolved_error", "Negative uncertainty") + return result + + +def _measure(checks, name, passed, **details): + checks[name] = {"accepted": bool(passed), **details} + + +def _scalar(d, context, name, triple, rule, checks): + a, b, g = _guard(d, context, name, triple) + _require(g.get("kind") == "scalar" and g.get("rule") == "sum" + and g.get("scale") == "abs_reference" and g.get("unit") == rule["unit"] + and g.get("atol") == rule["atol"] and g.get("rtol") == rule["rtol"], + "case_threshold", name) + result = compare(a, b, g); checks[name] = result + if result["status"] == "rejected": + raise Rejected(result["code"], result["detail"]) + x, y = _value(a), _value(b) + bound = number(g["reference_error_abs"]) + _require(_error(a, rule["unit"]) == bound + and a["uncertainty"]["evidence_sha256"] == g["reference_error_evidence"], + "error_binding", name) + limit = number(rule["atol"]) + number(rule["rtol"])*abs(x) + _measure(checks, name+":total_error", 3*bound <= limit and abs(y-x)+bound <= limit) + return x, y + + +def _physical(d, context, name, triple, rules, checks, scales=None): + a, b, g = _guard(d, context, name, triple) + _require(set(g.get("thresholds", {})) == set(rules), "case_metric_coverage", name) + for metric, rule in rules.items(): + actual = g["thresholds"][metric] + _require(all(actual.get(k) == rule[k] for k in ("atol", "rtol", "unit")) + and actual.get("scale") == (1 if scales is None else scales[metric]), + "case_threshold", name+":"+metric) + result = compare_physical(a, b, g); checks[name] = result + if result["status"] in ("rejected", "unresolved"): + raise Rejected(result.get("code", "unresolved_data"), result.get("detail", name)) + return a, b, g + + +def _coverage(actual, expected, label): + _require(set(actual) == set(expected), "case_coverage", label) + + +def _twod(d, context, block, checks): + channels = block["channels"]; components = d["components"] + grids = block.get("context_grid") + _require(isinstance(grids, dict) and set(grids) == {"reference", "candidate"}, + "geometry", "Actual frozen source grids for both sides are required") + nx, ny = context["horizontal"]+1, 2*context["vertical"]+1 + boundary = number(d["protocol"]["interface_y_m"]) + width = number(d["protocol"]["width_m"]) + interface_rows = {} + for source_side, grid in grids.items(): + _require(isinstance(grid, dict) and grid.get("shape") == [ny, nx] + and grid.get("node_order") == "carrier_local:j*Nx+i" + and len(grid["x_m"]) == nx and len(grid["y_m"]) == ny, + "geometry", "The grid must belong to this exact original mesh context") + x, y = [number(v) for v in grid["x_m"]], [number(v) for v in grid["y_m"]] + _require(x[0] == y[0] == 0 and x[-1] == width and y[-1] == 2*boundary + and all(a < b for a, b in zip(x, x[1:])) and all(a < b for a, b in zip(y, y[1:])) + and y[context["vertical"]] == boundary, + "geometry", "Retain both layers and the source interface node") + # mol.build_material_arrays uses argmin(abs(y-interface)); its TE face + # is idx-1. solver_2d keeps that y-face row and handles columns separately. + row = min(range(ny), key=lambda j: abs(y[j]-boundary)) + _require(grid.get("interface_y_faces") == [row-1] + and type(grid["interface_y_faces"][0]) is int, "interface", "Original TE y-face mapping") + interface_rows[source_side] = row + for triple in channels.values(): + _require(isinstance(triple, (list, tuple)) and len(triple) == 3 + and all(isinstance(record, dict) and record.get("context_grid") == grids for record in triple), + "geometry", "Each frozen channel gate and observation must bind the same actual grids") + traces = [f"trace:{carrier}:{side}:{i}" for carrier in ("n", "p") + for side in ("left", "right") for i in range(context["horizontal"]+1)] + _coverage(channels, [f"{kind}:{c}" for c in components for kind in ("cells", "density")]+traces, + "Every component and lateral interface side is mandatory") + for component in components: + carrier = component.split(":")[0]; name = "cells:"+component + triple = channels[name]; a, b, g = triple + _require(g.get("comparison_target", {}).get("kind") == "fixed_discrete", + "comparison_target", "This migration gate does not certify continuum refinement") + _require(g.get("geometry_dimension") == 2 and g.get("area_unit") == "m2" + and g.get("unit_depth_m") == 1 and g.get("volume_unit") == "m3", + "geometry", "XY areas and explicit unit depth are required") + _require(set(g["reference_components"]) == set(g["candidate_components"]) == {component}, + "component", "No cross-material/component averaging") + for table, key in ((a, "reference_volumes"), (b, "candidate_volumes")): + _require(table.get("areas_m2") == g[key], "geometry", "Unit depth1m must be explicit in data") + _physical(d, context, name, triple, + {"l1": d["rules"][carrier+"_l1"], "inventory:"+component: d["rules"][carrier+"_inventory"]}, checks) + # The log comparison uses exactly the common overlap subcells, not interpolation. + pairs = [(i, j, v) for i, row in enumerate(g["overlap"]) for j, v in enumerate(row) if v > 0] + la, lb, lg = channels["density:"+component] + _require(la["values"] == [a["values"][i] for i, _, _ in pairs] + and lb["values"] == [b["values"][j] for _, j, _ in pairs] + and lg["volumes"] == [v for _, _, v in pairs] + and set(lg["components"]) == {component} and lg.get("zero_cells") == [], + "projection", "Positive-carrier log support must equal the verified overlap") + _physical(d, context, "density:"+component, channels["density:"+component], + {"log_rms": d["rules"]["log"], "log_max": d["rules"]["log"], + "zero_density_max": d["rules"]["zero"], + "inventory:"+component: d["rules"][carrier+"_inventory"]}, checks) + for name in traces: + _, carrier, side, index = name.split(":") + a, b, g = channels[name] + support = g.get("interface_support", {}) + _require(support.get("side") == side and support.get("carrier") == carrier + and support.get("lateral_index") == int(index) + and support.get("material_component") == carrier+":layer_chi"+("4.0" if side == "left" else "3.8") + and support.get("representation") in ("source_stencil_side", "bounded_one_sided_trace") + and support.get("geometry_verified") is True + and len(support.get("evidence_sha256", "")) == 64 + and a.get("interface_support") == b.get("interface_support") == support, + "interface", "Every one-sided source support must be explicitly bound") + for source_side in ("reference", "candidate"): + location = support[source_side] + grid = grids[source_side] + right_row = interface_rows[source_side] + row = right_row-1 if side == "left" else right_row + column = int(index) + _require(type(location.get("state_index")) is int + and location["state_index"] == row*nx+column + and type(location.get("electrical_face")) is int + and location["electrical_face"] == right_row-1 + and location["position_m"] == [grid["x_m"][column], grid["y_m"][row]], + "interface", "Trace node, coordinate and y-face must match the actual context/source side") + _scalar(d, context, name, channels[name], d["rules"][name.split(":")[1]+"_trace"], checks) + _coverage(block["zero_ions"], ("reference", "candidate"), "Both zero-ion states are required") + for zero in block["zero_ions"].values(): + _coverage(zero, ("input_population", "input_background", "state_population"), "Input and observed zeros") + _require(all(number(x) == 0 for x in zero.values()), + "zero_species", "Absent ions/background cannot be inferred from a missing value") + + +def strict_phase(angle, left_error, right_error, theta): + return (left_error >= 0 and right_error >= 0 and left_error <= theta/6 + and right_error <= theta/6 and abs(angle)+left_error+right_error < theta) + + +def _magnitude_lower(pair): + """Materialize a lower binary64 scale; do not enlarge a mixed allowance.""" + x, y = map(number, pair) + value = math.hypot(float(x), float(y)) + _require(math.isfinite(value), "invalid_number", "Unrepresentable complex scale") + while F(value)**2 > x*x+y*y: + value = math.nextafter(value, 0.0) + return value + + +def _lockin(d, context, block, checks): + channels = block["channels"]; _coverage(channels, ("I", "Z"), "Independent I and Z gates are mandatory") + _require(block.get("resolution_levels") == [20, 40, 80], + "case_coverage", "Retain every original extraction level") + theta = number(d["phase_limits"][context["phase_kind"]]); triples = {} + for name in ("I", "Z"): + triple = channels[name]; a, b, g = triple; rule = d["rules"][name] + _require(g.get("kind") == "complex" and g.get("unit") == rule["unit"] + and g.get("zero_indices") == [] and g.get("coordinates") == [context["frequency"]] + and g.get("phase_floor") == d["floors"][name], + "phase_floor", "Per-frequency declared floor and exact coordinate") + x = a["values"][0] + _physical(d, context, name, triple, + {"real": rule, "imag": rule, "difference": rule, + "phase": {"atol": float(theta), "rtol": 0, "unit": "rad"}}, checks, + {"real": abs(x[0]), "imag": abs(x[1]), "difference": _magnitude_lower(x), "phase": 1}) + errors = [] + for side, table in enumerate((a, b)): + radius = _error(table, rule["unit"]); magnitude = number(_magnitude_lower(table["values"][0])) + if side == 0: + _require(radius == number(g["reference_errors"]["difference"]["bound"]), + "error_binding", "One physical complex-error denominator") + phase = _error(table["phase_error"], "rad") + rounding = _error(table["phase_rounding"], "rad") + _require(magnitude > number(d["floors"][name]) and magnitude > radius + and phase >= radius/(magnitude-radius)+rounding and phase <= theta/6, + "unresolved_phase", "Unresolved amplitude/phase error, including evaluation rounding") + if side == 0: + _require(phase == number(g["reference_errors"]["phase"]["bound"]), + "error_binding", "The strict phase gate uses the same reference error") + errors.append(phase) + angle = number(checks[name]["metrics"]["phase"]["value"]) + _measure(checks, name+":strict_phase", strict_phase(angle, *errors, theta)) + triples[name] = triple + for side in (0, 1): + current, impedance = triples["I"][side], triples["Z"][side] + i = number(_magnitude_lower(current["values"][0])); bi = _error(current, "A m-2") + bv = _error(block["voltage_error"][side], "V") + rounding = _error(block["division_error"][side], "ohm m2") + required = (i*bv+number(d["delta_V"])*bi)/(i*(i-bi))+rounding + _require(_error(impedance, "ohm m2") >= required, + "unresolved_error", "Z uncertainty must include voltage/current division error") + re, im = map(number, current["values"][0]); zr, zi = map(number, impedance["values"][0]) + voltage = number(d["delta_V"]); square = re*re+im*im + _measure(checks, "Z_division:"+str(side), + (zr-voltage*re/square)**2+(zi+voltage*im/square)**2 <= rounding**2) + + +def _eqe(d, context, block, checks): + channels = block["channels"]; wavelengths = d["wavelengths_nm"] + _coverage(channels, [f"{k}:{w}" for w in wavelengths for k in ("EQE", "photo_current")], "All signed EQE wavelengths") + scale = F(d["current_scale_exact"]) + for w in wavelengths: + eqe = _scalar(d, context, "EQE:"+str(w), channels["EQE:"+str(w)], d["rules"]["EQE"], checks) + current = _scalar(d, context, "photo_current:"+str(w), channels["photo_current:"+str(w)], d["rules"]["current"], checks) + for side in (0, 1): + raw = block["subtraction"][side]; light = raw["light"][str(w)]; dark = raw["dark"] + bl, bd = _error(light, "A m-2"), _error(dark, "A m-2") + rounding = _error(raw["subtraction_error"][str(w)], "A m-2") + division = _error(raw["division_error"][str(w)], "1") + exact = number(light["value"])-number(dark["value"]) + _measure(checks, f"signed_subtraction:{w}:{side}", abs(current[side]-exact) <= rounding) + _measure(checks, f"EQE_units:{w}:{side}", abs(eqe[side]-current[side]/scale) <= division) + total = bl+bd+rounding + ec = _error(channels["photo_current:"+str(w)][side], "A m-2") + ee = _error(channels["EQE:"+str(w)][side], "1") + _require(ec >= total and ee >= total/scale+division, + "unresolved_error", "Both signed light/dark errors must reach EQE") + if side == 0: + _require(ec == number(channels["photo_current:"+str(w)][2]["reference_error_abs"]) + and ee == number(channels["EQE:"+str(w)][2]["reference_error_abs"]), + "error_binding", "Subtraction and gate reference errors differ") + checks[f"sign_resolution:{w}:{side}"] = {"accepted": True, + "resolved": abs(current[side]) > total, "signed_value": float(current[side])} + + +def _log_interval(value): + if value == 1: + return F(0), F(0) + with localcontext() as ctx: + ctx.prec = 80 + x = Decimal(value.numerator)/Decimal(value.denominator) + return F(x.next_minus().ln().next_minus()), F(x.next_plus().ln().next_plus()) + + +def el_log_domain(emission, signed, emission_error, injection_error, ratio_rounding): + """Complete raw ratio interval; the source floor is a branch, not an error bound.""" + magnitude = abs(signed) + if signed >= 0 or magnitude-injection_error < LOWER or emission-emission_error <= 0: + return None + low = (emission-emission_error)/(magnitude+injection_error)-ratio_rounding + high = (emission+emission_error)/(magnitude-injection_error)+ratio_rounding + return (low, high) if LOWER <= low <= high <= 1 else None + + +def _el(d, context, block, checks): + channels = block["channels"]; wavelengths = d["wavelengths_nm"] + names = [f"{k}:{w}" for w in wavelengths for k in ("spectrum", "absorptance")] + names += ["J_em_rad", "J_inj", "EQE_EL", "delta_V_nr"] + _coverage(channels, names, "Six spectra plus independent currents/ratio/log gates") + values = {} + for name in names: + if name in ("EQE_EL", "delta_V_nr"): + a, b, _ = _guard(d, context, name, channels[name]) + values[name] = _value(a), _value(b) + continue + key = name if name.startswith("spectrum:") else name.split(":")[0] + values[name] = _scalar(d, context, name, channels[name], d["rules"][key], checks) + q, vt = F(d["charge_exact_C"]), F(d["thermal_voltage_exact_V"]) + unresolved = [] + for side in (0, 1): + raw = block["raw"][side] + _coverage(raw["spectrum_per_m"], map(str, wavelengths), "All per-m source channels") + _coverage(raw["raw_absorptance"], map(str, wavelengths), "All unclipped absorptance channels") + integral = F(0); required_e = _error(raw["integration_error"], "A m-2") + for w, weight in zip(wavelengths, d["weights_nm"]): + value = values["spectrum:"+str(w)][side] + _require(value >= 0, "spectrum_domain", "Negative emitted photons") + conversion = _error(raw["conversion_error"][str(w)], "photons m-2 s-1 nm-1") + _measure(checks, f"nm_m:{w}:{side}", abs(value-number(raw["spectrum_per_m"][str(w)])/10**9) <= conversion) + ar = number(raw["raw_absorptance"][str(w)]) + _measure(checks, f"absorptance_clip:{w}:{side}", values["absorptance:"+str(w)][side] == min(max(ar, F(0)), F(1))) + integral += q*weight*value + required_e += q*weight*(_error(channels["spectrum:"+str(w)][side], "photons m-2 s-1 nm-1")+conversion) + emission, signed = values["J_em_rad"][side], values["J_inj"][side] + _require(emission >= 0, "spectrum_domain", "Negative emitted current") + be, bi = _error(channels["J_em_rad"][side], "A m-2"), _error(channels["J_inj"][side], "A m-2") + _measure(checks, f"emission_integral:{side}", abs(emission-integral) <= _error(raw["integration_error"], "A m-2")) + _require(be >= required_e, "unresolved_error", "Independent emission error includes conversion/integration rounding") + ratio = values["EQE_EL"][side]; magnitude = abs(signed) + sentinel = magnitude < LOWER + lower_clip, upper_clip = not sentinel and ratio < LOWER, not sentinel and ratio > 1 + _require(all(type(raw[k]) is bool for k in ("sentinel", "lower_clip", "upper_clip")) + and (raw["sentinel"], raw["lower_clip"], raw["upper_clip"]) == (sentinel, lower_clip, upper_clip), + "source_branch", "Actual raw ratio/clamp/sentinel flags must agree") + ratio_round = _error(raw["ratio_error"], "1"); log_round = _error(raw["log_error"], "V") + conversion_v = _error(raw["loss_conversion_error"], "V") + loss = values["delta_V_nr"][side] + _measure(checks, f"loss_mV_V:{side}", abs(loss-number(raw["loss_mV"])/1000) <= conversion_v) + if sentinel: + _require(ratio == 0 and loss == 0 and raw["clamped_ratio"] is None, + "source_branch", "Preserve the actual zero sentinel outputs") + else: + _measure(checks, f"raw_ratio:{side}", abs(ratio-emission/magnitude) <= ratio_round) + clamped = min(max(ratio, LOWER), F(1)) + _require(number(raw["clamped_ratio"]) == clamped, "source_branch", "Preserve source clamp exactly") + lo, hi = _log_interval(clamped) + _measure(checks, f"legacy_log:{side}", -vt*hi-log_round-conversion_v <= loss <= -vt*lo+log_round+conversion_v) + # Both sides must lie wholly in the source's NON-sentinel, UNCLIPPED domain. + interval = el_log_domain(emission, signed, be, bi, ratio_round) + if interval is None or sentinel or lower_clip or upper_clip: + unresolved.append(side); continue + rlo, rhi = interval + br = _error(channels["EQE_EL"][side], "1") + _require(br >= max(abs(ratio-rlo), abs(rhi-ratio)), "unresolved_error", "Complete ratio uncertainty") + llo = -vt*_log_interval(rhi)[1]; lhi = -vt*_log_interval(rlo)[0] + bl = _error(channels["delta_V_nr"][side], "V") + _require(bl >= max(abs(loss-llo), abs(lhi-loss))+log_round+conversion_v, + "unresolved_error", "Complete logarithmic uncertainty") + if side == 0: + for name, bound in (("J_em_rad", be), ("J_inj", bi), ("EQE_EL", br), ("delta_V_nr", bl)): + _require(bound == number(channels[name][2]["reference_error_abs"]), "error_binding", name) + if unresolved: + checks["physical_unclipped_log"] = {"accepted": False, "status": "unresolved", + "sides": unresolved} + raise Rejected("unresolved_EL_log_domain", "Unclipped log unavailable on sides "+str(unresolved)) + for name in ("EQE_EL", "delta_V_nr"): + _scalar(d, context, name, channels[name], d["rules"][name], checks) + + +def compare_case(definition, supplied): + """Compare complete supplied contexts; actual identity/error/review gates remain mandatory.""" + checks = {} + try: + validate_case_definition(definition) + _require(supplied.get("protocol") == definition["protocol"], "case_protocol", "Original protocol unchanged") + _coverage(supplied["contexts"], (c["id"] for c in definition["contexts"]), "All original contexts required") + operation = {"twod": _twod, "lockin": _lockin, "eqe": _eqe, "el": _el}[definition["kind"]] + for context in definition["contexts"]: + local = {}; checks[context["id"]] = local + operation(definition, context, supplied["contexts"][context["id"]], local) + accepted = all(item["accepted"] for group in checks.values() for item in group.values()) + return {"accepted": accepted, "status": "passed" if accepted else "not_passed", "checks": checks, + "scientific_qualification_granted": False} + except (Rejected, KeyError, IndexError, TypeError, ValueError, OverflowError, ZeroDivisionError) as error: + code = error.code if isinstance(error, Rejected) else "malformed_case" + return {"accepted": False, "status": "unresolved" if code.startswith("unresolved") else "rejected", + "code": code, "detail": str(error), "checks": checks, + "raw_observations": supplied, "scientific_qualification_granted": False} diff --git a/tests/refactor/fixtures/jv_reference_requests.json b/tests/refactor/fixtures/jv_reference_requests.json new file mode 100644 index 00000000..129a0cc3 --- /dev/null +++ b/tests/refactor/fixtures/jv_reference_requests.json @@ -0,0 +1,481 @@ +[ + { + "provenance": { + "label": "ui_nominal", + "source": "/Users/bytedance/Library/Mobile Documents/com~apple~CloudDocs/projects/solarlab/results/CaladoRepro/UiProtocol/WaveformNominalFrontend.json", + "source_sha256": "e0edb9a400d181ba10547dabec63ebfec7a336bf402a3d2bec59230f84ac5093", + "source_bytes": 27533, + "extraction": "exact parsed request member; no numerical result used", + "request_file": "ui_nominal.json", + "request_sha256": "47290655f8cbcbf52b7e468f8a7526ac12eedfcc2b0598296d1ebbd5be097ab1", + "original_kind": "jv" + }, + "request": { + "kind": "jv", + "device": { + "device": { + "V_bi": 1.3, + "Phi": 2.5e+22, + "interfaces": [ + [ + 0, + 0 + ], + [ + 0, + 0 + ] + ], + "T": 300, + "mode": "full" + }, + "layers": [ + { + "name": "p_contact", + "role": "HTL", + "thickness": 2e-07, + "eps_r": 20, + "mu_n": 0.002, + "mu_p": 0.002, + "ni": 3620000000000, + "N_D": 0, + "N_A": 3e+23, + "D_ion": 0, + "P_lim": 1e+30, + "P0": 0, + "tau_n": 2e-15, + "tau_p": 2e-15, + "n1": 305, + "p1": 4.36e+22, + "B_rad": 1e-16, + "C_n": 0, + "C_p": 0, + "alpha": 0, + "chi": 0, + "Eg": 0, + "optical_material": null, + "incoherent": false, + "v_sat_n": 0, + "v_sat_p": 0, + "ct_beta_n": 0, + "ct_beta_p": 0, + "pf_gamma_n": 0, + "pf_gamma_p": 0 + }, + { + "name": "MAPbI3", + "role": "absorber", + "thickness": 4e-07, + "eps_r": 20, + "mu_n": 0.002, + "mu_p": 0.002, + "ni": 3620000000000, + "N_D": 0, + "N_A": 0, + "D_ion": 2.585e-18, + "P_lim": 1e+30, + "P0": 1e+25, + "tau_n": 1, + "tau_p": 1, + "n1": 3620000000000, + "p1": 3620000000000, + "B_rad": 1e-16, + "C_n": 0, + "C_p": 0, + "alpha": 100000, + "chi": 0, + "Eg": 0, + "optical_material": null, + "incoherent": false, + "v_sat_n": 0, + "v_sat_p": 0, + "ct_beta_n": 0, + "ct_beta_p": 0, + "pf_gamma_n": 0, + "pf_gamma_p": 0 + }, + { + "name": "n_contact", + "role": "ETL", + "thickness": 2e-07, + "eps_r": 20, + "mu_n": 0.002, + "mu_p": 0.002, + "ni": 3620000000000, + "N_D": 3e+23, + "N_A": 0, + "D_ion": 0, + "P_lim": 1e+30, + "P0": 0, + "tau_n": 2e-15, + "tau_p": 2e-15, + "n1": 4.36e+22, + "p1": 305, + "B_rad": 1e-16, + "C_n": 0, + "C_p": 0, + "alpha": 0, + "chi": 0, + "Eg": 0, + "optical_material": null, + "incoherent": false, + "v_sat_n": 0, + "v_sat_p": 0, + "ct_beta_n": 0, + "ct_beta_p": 0, + "pf_gamma_n": 0, + "pf_gamma_p": 0 + } + ] + }, + "params": { + "waveform": { + "schema_version": 1, + "start_voltage_V": -1, + "dark_seed_s": 120, + "dark_prep_s": 30, + "branch_dwell_s": 0.5, + "turnaround_s": 3, + "turnaround_dark": true, + "uniform_generation_rate_m3_s": 2.5e+27 + }, + "waveform_controls": { + "rtol": 0.0001, + "atol_m3": 1 + }, + "N_grid": 60, + "n_points": 111, + "v_rate": 0.04, + "V_max": 1.2, + "illuminated": true, + "solver": "transient", + "iface_states": false, + "interface_boundary": false, + "interface_transport_model": "fermi_richardson" + }, + "config_path": null + } + }, + { + "provenance": { + "label": "dense_d0", + "source": "/Users/bytedance/Library/Mobile Documents/com~apple~CloudDocs/projects/solarlab/results/CaladoRepro/DenseIonMatrixV1/Diffusivity/Ratio00.json", + "source_sha256": "3da4e5effd5ef045e86c7c7afda36f319da2c10b94787b5c91628e6ab814cbcc", + "source_bytes": 2949631, + "extraction": "exact parsed request member; no numerical result used", + "request_file": "dense_d0.json", + "request_sha256": "2e9d7161e73ea932f7bc173b57c4db912e0363a0ede206b238043460d3b3ff33", + "original_kind": "spatial" + }, + "request": { + "config_path": null, + "device": { + "device": { + "Phi": 2.5e+22, + "S_n_left": null, + "S_n_right": null, + "S_p_left": null, + "S_p_right": null, + "T": 300, + "V_bi": 1.3, + "interfaces": [ + [ + 0, + 0 + ], + [ + 0, + 0 + ] + ], + "mode": "full" + }, + "layers": [ + { + "B_rad": 1e-16, + "C_n": 0, + "C_p": 0, + "D_ion": 0, + "Eg": 0, + "N_A": 2.9999999999999997e+23, + "N_D": 0, + "P0": 0, + "P_lim": 1e+30, + "alpha": 0, + "chi": 0, + "ct_beta_n": 0, + "ct_beta_p": 0, + "eps_r": 20, + "incoherent": false, + "mu_n": 0.002, + "mu_p": 0.002, + "n1": 305, + "name": "p_contact", + "ni": 3620000000000, + "optical_material": null, + "p1": 4.36e+22, + "pf_gamma_n": 0, + "pf_gamma_p": 0, + "role": "HTL", + "tau_n": 2e-15, + "tau_p": 2e-15, + "thickness": 2e-07, + "v_sat_n": 0, + "v_sat_p": 0 + }, + { + "B_rad": 1e-16, + "C_n": 0, + "C_p": 0, + "D_ion": 0.0, + "Eg": 0, + "N_A": 0, + "N_D": 0, + "P0": 1e+25, + "P_lim": 1e+30, + "alpha": 100000, + "chi": 0, + "ct_beta_n": 0, + "ct_beta_p": 0, + "eps_r": 20, + "incoherent": false, + "mu_n": 0.002, + "mu_p": 0.002, + "n1": 3620000000000, + "name": "MAPbI3", + "ni": 3620000000000, + "optical_material": null, + "p1": 3620000000000, + "pf_gamma_n": 0, + "pf_gamma_p": 0, + "role": "absorber", + "tau_n": 1, + "tau_p": 1, + "thickness": 4e-07, + "v_sat_n": 0, + "v_sat_p": 0 + }, + { + "B_rad": 1e-16, + "C_n": 0, + "C_p": 0, + "D_ion": 0, + "Eg": 0, + "N_A": 0, + "N_D": 2.9999999999999997e+23, + "P0": 0, + "P_lim": 1e+30, + "alpha": 0, + "chi": 0, + "ct_beta_n": 0, + "ct_beta_p": 0, + "eps_r": 20, + "incoherent": false, + "mu_n": 0.002, + "mu_p": 0.002, + "n1": 4.36e+22, + "name": "n_contact", + "ni": 3620000000000, + "optical_material": null, + "p1": 305, + "pf_gamma_n": 0, + "pf_gamma_p": 0, + "role": "ETL", + "tau_n": 2e-15, + "tau_p": 2e-15, + "thickness": 2e-07, + "v_sat_n": 0, + "v_sat_p": 0 + } + ] + }, + "kind": "spatial", + "params": { + "N_grid": 60, + "V_max": 1.2, + "iface_states": false, + "illuminated": true, + "interface_boundary": false, + "interface_transport_model": "fermi_richardson", + "n_points": 111, + "solver": "transient", + "v_rate": 0.04, + "waveform": { + "branch_dwell_s": 0.5, + "dark_prep_s": 30, + "dark_seed_s": 120, + "schema_version": 1, + "start_voltage_V": -1, + "turnaround_dark": true, + "turnaround_s": 3, + "uniform_generation_rate_m3_s": 2.5e+27 + }, + "waveform_controls": { + "atol_m3": 1, + "rtol": 0.0001 + } + } + } + }, + { + "provenance": { + "label": "dense_c0", + "source": "/Users/bytedance/Library/Mobile Documents/com~apple~CloudDocs/projects/solarlab/results/CaladoRepro/DenseIonMatrixV1/Density/Ratio00.json", + "source_sha256": "b5c0685f6e6ea3d03eea7ebcb3d43e4d2d4c455be8bf53dbfcf54461109a5cd9", + "source_bytes": 2940764, + "extraction": "exact parsed request member; no numerical result used", + "request_file": "dense_c0.json", + "request_sha256": "6e755707c134ccce69b57fdadf2b1a54b728491974332651fbd479849a3a10bd", + "original_kind": "spatial" + }, + "request": { + "config_path": null, + "device": { + "device": { + "Phi": 2.5e+22, + "S_n_left": null, + "S_n_right": null, + "S_p_left": null, + "S_p_right": null, + "T": 300, + "V_bi": 1.3, + "interfaces": [ + [ + 0, + 0 + ], + [ + 0, + 0 + ] + ], + "mode": "full" + }, + "layers": [ + { + "B_rad": 1e-16, + "C_n": 0, + "C_p": 0, + "D_ion": 0, + "Eg": 0, + "N_A": 2.9999999999999997e+23, + "N_D": 0, + "P0": 0, + "P_lim": 1e+30, + "alpha": 0, + "chi": 0, + "ct_beta_n": 0, + "ct_beta_p": 0, + "eps_r": 20, + "incoherent": false, + "mu_n": 0.002, + "mu_p": 0.002, + "n1": 305, + "name": "p_contact", + "ni": 3620000000000, + "optical_material": null, + "p1": 4.36e+22, + "pf_gamma_n": 0, + "pf_gamma_p": 0, + "role": "HTL", + "tau_n": 2e-15, + "tau_p": 2e-15, + "thickness": 2e-07, + "v_sat_n": 0, + "v_sat_p": 0 + }, + { + "B_rad": 1e-16, + "C_n": 0, + "C_p": 0, + "D_ion": 2.585e-18, + "Eg": 0, + "N_A": 0, + "N_D": 0, + "P0": 0.0, + "P_lim": 1e+30, + "alpha": 100000, + "chi": 0, + "ct_beta_n": 0, + "ct_beta_p": 0, + "eps_r": 20, + "incoherent": false, + "mu_n": 0.002, + "mu_p": 0.002, + "n1": 3620000000000, + "name": "MAPbI3", + "ni": 3620000000000, + "optical_material": null, + "p1": 3620000000000, + "pf_gamma_n": 0, + "pf_gamma_p": 0, + "role": "absorber", + "tau_n": 1, + "tau_p": 1, + "thickness": 4e-07, + "v_sat_n": 0, + "v_sat_p": 0 + }, + { + "B_rad": 1e-16, + "C_n": 0, + "C_p": 0, + "D_ion": 0, + "Eg": 0, + "N_A": 0, + "N_D": 2.9999999999999997e+23, + "P0": 0, + "P_lim": 1e+30, + "alpha": 0, + "chi": 0, + "ct_beta_n": 0, + "ct_beta_p": 0, + "eps_r": 20, + "incoherent": false, + "mu_n": 0.002, + "mu_p": 0.002, + "n1": 4.36e+22, + "name": "n_contact", + "ni": 3620000000000, + "optical_material": null, + "p1": 305, + "pf_gamma_n": 0, + "pf_gamma_p": 0, + "role": "ETL", + "tau_n": 2e-15, + "tau_p": 2e-15, + "thickness": 2e-07, + "v_sat_n": 0, + "v_sat_p": 0 + } + ] + }, + "kind": "spatial", + "params": { + "N_grid": 60, + "V_max": 1.2, + "iface_states": false, + "illuminated": true, + "interface_boundary": false, + "interface_transport_model": "fermi_richardson", + "n_points": 111, + "solver": "transient", + "v_rate": 0.04, + "waveform": { + "branch_dwell_s": 0.5, + "dark_prep_s": 30, + "dark_seed_s": 120, + "schema_version": 1, + "start_voltage_V": -1, + "turnaround_dark": true, + "turnaround_s": 3, + "uniform_generation_rate_m3_s": 2.5e+27 + }, + "waveform_controls": { + "atol_m3": 1, + "rtol": 0.0001 + } + } + } + } +] diff --git a/tests/refactor/fixtures/r1_common_state_preparation.json b/tests/refactor/fixtures/r1_common_state_preparation.json new file mode 100644 index 00000000..39aef097 --- /dev/null +++ b/tests/refactor/fixtures/r1_common_state_preparation.json @@ -0,0 +1 @@ +{"contact_certificate":{"built_in_potential_mode":"semiconductor_work_function","contact_quasi_fermi_levels_eV":[-4.75,-4.75,-4.75,-4.75],"fermi_level_span_eV":0.0,"message":"carrier reservoirs, Poisson drop, and any explicit metal work functions agree within the fixed internal 0.005 eV gate","metal_work_function_mismatch_eV":null,"potential_mismatch_V":0.0,"status":"certified","tolerance_eV":0.005},"contact_velocities_m_s":[null,null,null,null],"created_utc":"2026-10-14T12:30:52.225401+00:00","dc_state":{"bulk_trap_occupancy":null,"certificate":{"certified":true,"contact_thermodynamics":{"built_in_potential_mode":"semiconductor_work_function","contact_quasi_fermi_levels_eV":[-4.75,-4.75,-4.75,-4.75],"fermi_level_span_eV":0.0,"message":"carrier reservoirs, Poisson drop, and any explicit metal work functions agree within the fixed internal 0.005 eV gate","metal_work_function_mismatch_eV":null,"potential_mismatch_V":0.0,"status":"certified","tolerance_eV":0.005},"electron_continuity_bound_A_m2":1.1884722523649285e-18,"face_current_spread_A_m2":1.3564308165129107e-17,"hole_continuity_bound_A_m2":2.66948328498907e-18,"maximum_bulk_trap_balance_relative_error":0.0,"maximum_interface_gauss_residual":2.9730955593289806e-17,"maximum_interface_residual":1.3827636755928121e-15,"maximum_ion_electrochemical_residual":3.552713678800501e-14,"maximum_ion_inventory_relative_error":3.25e-15,"maximum_ionic_face_current_A_m2":1.0819225542155305e-17,"maximum_normalized_residual":3.552713678800501e-14,"optimizer_nfev":5,"optimizer_success":true,"poisson_residual":2.8560328154994355e-16,"reasons":[]},"electron_density_m3":[2515095827087.2163,1153607227118.4148,7042059078033.982,2515095827087.2163],"electron_qf_increment_V":[0.0,4.3907434182659956e-15,-1.3526508105817649e-15,0.0],"hole_density_m3":[2515095827087.2163,5483414866629.49,898275198963.2432,2515095827087.2163],"hole_qf_increment_V":[0.0,-1.4565744923967636e-15,3.251536552426944e-15,0.0],"interface_occupancy":[7.152881079529094e-05],"negative_ion_density_m3":null,"positive_ion_density_m3":[7.140839205220215e+21,1.0953053598259972e+22,1e+22,1e+22],"potential_V":[0.0,-0.02014949206461468,-0.07338304716536553,-0.09999999999999964],"state_sha256":"bdfa23fa768959f6a002fb714bc549c45144a2e825556ac04abefb32efee0154"},"environment":{"numpy":"2.5.3","platform":"macOS-26.6.2-arm64-arm-64bit-Mach-O","python":"3.13.15 (main, Sep 1 2026, 14:05:45) [Clang 22.1.3 ]","scipy":"1.18.1"},"fixed_reference":{"f_ref":[7.928011033749389e-05],"geometry":"physical_boundary_two_sided_v1","maximum_difference":1e-08,"microscopic_documents":["486dd4d2969cd6d20c1e054c0ace6e892e964173af6af62d3eb736755cbc0d71"],"reference_intervals":512,"rungs":[{"difference":null,"f_ref":[7.954622426871699e-05],"intervals":32},{"difference":1.9901348908252074e-07,"f_ref":[7.934721077963447e-05],"intervals":64},{"difference":5.1012362836127157e-08,"f_ref":[7.929619841679834e-05],"intervals":128},{"difference":1.2861884555017203e-08,"f_ref":[7.928333653224332e-05],"intervals":256},{"difference":3.2261947494337554e-09,"f_ref":[7.928011033749389e-05],"intervals":512}],"schema":"ReferenceBindingV1","scope":"synthetic_300K_dark_fixed_energy_positive_ion_reference","sha256":"0a6532a436dd07e6b27f01da3fc39aef906e6fd882057f0109c1bc5bdf77e39b","stack_sha256":"532ffb44aaf326b597c4d512e5a16548033f5c25e2a3e8fbb4fd079ab6c719ae"},"grid":{"background_positive_m3":[1e+22,1e+22,1e+22,1e+22],"coordinates_m":[0.0,5e-08,1.5e-07,2e-07],"faces_m":[0.0,2.5e-08,1e-07,1.75e-07,2e-07],"interface_positions_m":[1e-07],"positive_components":[[0,1]],"positive_nodes":[0,1],"widths_m":[2.5e-08,7.5e-08,7.5e-08,2.5e-08]},"history":{"duration_reason":"certified equilibrium, not finite-time preparation","duration_s":null,"illuminated":false,"kind":"independent_D_dark_dc","temperature_K":300.0,"voltage_V":0.0},"intervals":4,"kind":"equilibrium_D","physical_stack":{"Phi":0.0,"S_n_left":null,"S_n_right":null,"S_p_left":null,"S_p_right":null,"T":300.0,"V_bi":1.1,"band_grading":false,"built_in_potential_mode":"semiconductor_work_function","contact_phi_B_eV":0.0,"dos_band_potentials":true,"flat_band_contacts":false,"flat_band_metal_contacts":false,"graded_optics":false,"grid_alphas":[2.0,2.0],"grid_interval_weights":[1.0,1.0],"het_recomb_despike":0.0,"interface_charge_closure":"equilibrium_referenced","interface_charge_rebaseline_acknowledged":true,"interface_defects":[{"E_t_eV":0.55,"N_t_cm2":50000000000.0,"calibration_factor":1.0,"iface_state_calibration_factor":1.0,"microscopic_document":{"charge_convention":"equilibrium_referenced_electron_occupancy","degeneracy":1.0,"density_normalization":"integrated_areal_total","energy_reference":"below_reference_conduction_band","kinetics":{"sigma_n_m2":6e-22,"sigma_p_m2":1e-21,"thermal_velocity_n_m_s":100000.0,"thermal_velocity_p_m_s":100000.0},"reference_selection":"absorber_else_lower_gap","schema_version":"solarlab-explicit-interface-defects-v1","total_density_m2":500000000000000.0,"trap_depth_eV":0.55}}],"interface_plane_closure":false,"interface_plane_generation":false,"interface_plane_projection":false,"interface_shared_occupancy":false,"interface_tunneling":false,"interface_two_sided":false,"interfaces":[[0.03,0.049999999999999996]],"ion_steric_diffusion_only":true,"ion_steric_shared_site":true,"jv_solver_policy":"general","layers":[{"name":"left","params":{"A_star_n":1201700.0,"A_star_p":1201700.0,"B_rad":0.0,"B_rad_T_gamma":0.0,"C_n":0.0,"C_p":0.0,"D_ion":1e-14,"D_ion_neg":0.0,"E_a_ion":0.58,"Eg":1.5,"Eg_back":null,"N_A":0.0,"N_A_bulk":null,"N_D":0.0,"N_D_bulk":null,"Nc300":1e+25,"Nv300":1e+25,"P0":1e+22,"P0_neg":0.0,"P_lim":2e+22,"P_lim_neg":1e+30,"acceptor_binding_energy_eV":null,"acceptor_degeneracy":4.0,"alpha":0.0,"band_gap_narrowing_model":"off","bgn_conduction_band_fraction":0.5,"bgn_log_shape":0.5,"bgn_reference_density_m3":1e+23,"bgn_reference_energy_eV":0.009,"bulk_defects":[],"bulk_trap_distribution":null,"carrier_statistics":"maxwell_boltzmann","chi":4.0,"chi_back":null,"cigs_graded_optics":null,"ct_beta_n":2.0,"ct_beta_p":2.0,"defect_model":"effective_lifetime","defect_schema_version":null,"donor_binding_energy_eV":null,"donor_degeneracy":2.0,"dopant_ionization_model":"fully_ionized","doping_decay_length":null,"doping_edge":"front","doping_profile_shape":null,"eps_r":10.0,"grading_N_mult":1,"grading_bowing":0.0,"grading_char_length":null,"grading_direction":"front_to_back","grading_profile":"linear","incoherent":false,"mu_T_gamma":-1.5,"mu_n":0.001,"mu_p":0.001,"n1":2515095827087.2183,"n_optical":null,"ni":2515095827087.2183,"optical_material":null,"p1":2515095827087.2183,"pf_gamma_n":0.0,"pf_gamma_p":0.0,"tau_n":1e-06,"tau_p":1e-06,"trap_N_t_bulk":null,"trap_N_t_interface":null,"trap_decay_length":null,"trap_edge":"both","trap_profile_shape":"exponential","v_sat_n":0.0,"v_sat_p":0.0,"v_th":100000.0,"varshni_alpha":0.0,"varshni_beta":0.0},"role":"absorber","thickness":1e-07},{"name":"right","params":{"A_star_n":1201700.0,"A_star_p":1201700.0,"B_rad":0.0,"B_rad_T_gamma":0.0,"C_n":0.0,"C_p":0.0,"D_ion":0.0,"D_ion_neg":0.0,"E_a_ion":0.58,"Eg":1.5,"Eg_back":null,"N_A":0.0,"N_A_bulk":null,"N_D":0.0,"N_D_bulk":null,"Nc300":1e+25,"Nv300":1e+25,"P0":1e+22,"P0_neg":0.0,"P_lim":2e+22,"P_lim_neg":1e+30,"acceptor_binding_energy_eV":null,"acceptor_degeneracy":4.0,"alpha":0.0,"band_gap_narrowing_model":"off","bgn_conduction_band_fraction":0.5,"bgn_log_shape":0.5,"bgn_reference_density_m3":1e+23,"bgn_reference_energy_eV":0.009,"bulk_defects":[],"bulk_trap_distribution":null,"carrier_statistics":"maxwell_boltzmann","chi":4.1,"chi_back":null,"cigs_graded_optics":null,"ct_beta_n":2.0,"ct_beta_p":2.0,"defect_model":"effective_lifetime","defect_schema_version":null,"donor_binding_energy_eV":null,"donor_degeneracy":2.0,"dopant_ionization_model":"fully_ionized","doping_decay_length":null,"doping_edge":"front","doping_profile_shape":null,"eps_r":10.0,"grading_N_mult":1,"grading_bowing":0.0,"grading_char_length":null,"grading_direction":"front_to_back","grading_profile":"linear","incoherent":false,"mu_T_gamma":-1.5,"mu_n":0.001,"mu_p":0.001,"n1":2515095827087.2183,"n_optical":null,"ni":2515095827087.2183,"optical_material":null,"p1":2515095827087.2183,"pf_gamma_n":0.0,"pf_gamma_p":0.0,"tau_n":1e-06,"tau_p":1e-06,"trap_N_t_bulk":null,"trap_N_t_interface":null,"trap_decay_length":null,"trap_edge":"both","trap_profile_shape":"exponential","v_sat_n":0.0,"v_sat_p":0.0,"v_th":100000.0,"varshni_alpha":0.0,"varshni_beta":0.0},"role":"ETL","thickness":1e-07}],"microstructure":{"grain_boundaries":[]},"mode":"full","phi_left":0.0,"te_physical_norm":false,"tunnel_mass_eff":0.2,"tunnelling_channels":null,"work_function_left_eV":null,"work_function_right_eV":null},"preparation_checks":{"certified":true,"limits":{"dc_current_spread_A_m2":0.0001,"electron_continuity_A_m2":0.0001,"electron_normalized_residual":1e-08,"eliminated_operator_error":1e-06,"full_gauss_normalized":1e-10,"hole_continuity_A_m2":0.0001,"hole_normalized_residual":1e-08,"inventory_relative_error":1e-10,"ion_equilibrium_residual":1e-08,"ionic_face_current_A_m2":1e-06,"local_carrier_residual":1e-07,"local_gauss_residual":1e-07,"nominal_inventory_relative_error":1e-12,"poisson_normalized":1e-10,"trap_storage_rate_A_m2":0.0001},"metrics":{"dc_current_spread_A_m2":1.3573296798458702e-17,"electron_continuity_A_m2":9.76920691310735e-19,"electron_normalized_residual":8.080522568274977e-19,"eliminated_operator_error":1.5906958548636093e-11,"full_gauss_normalized":1.0157853266011525e-16,"hole_continuity_A_m2":2.727538274679383e-18,"hole_normalized_residual":2.668893970817188e-18,"inventory_relative_error":0.0,"ion_equilibrium_residual":3.552713678800501e-14,"ionic_face_current_A_m2":1.0735534393158279e-17,"local_carrier_residual":2.6500440546381113e-15,"local_gauss_residual":1.9343428360014444e-16,"nominal_inventory_relative_error":3.3306690738754696e-15,"poisson_normalized":1.0829780569963483e-16,"trap_storage_rate_A_m2":2.475976908685026e-23},"reasons":[]},"preparation_controls":{"nu_I":1,"nu_t":1},"preparation_policy":{"carrier_storage_atol_m3":0.1,"dc_max_nfev":1000,"interface_algebraic_relative_tolerance":1.0000000000000001e-11,"interface_flux_atol_m2_s":0.1,"interface_gauss_atol_C_m2":1.0000000000000001e-19,"interface_potential_atol_V":1e-15,"interface_storage_atol_m2":0.1,"ion_storage_atol_m3":0.1,"jacobian_check_step":1e-06,"maximum_all_face_current_spread_relative":2e-06,"maximum_charge_balance_relative_error":1e-10,"maximum_current_decomposition_relative_error":1e-14,"maximum_dc_continuity_bound_A_m2":0.0001,"maximum_dc_face_current_spread_A_m2":0.0001,"maximum_dc_inventory_error":1e-10,"maximum_dc_ionic_face_current_A_m2":1e-06,"maximum_dc_normalized_residual":1e-08,"maximum_dc_poisson_residual":1e-08,"maximum_eliminated_operator_relative_error":1e-06,"maximum_ion_inventory_relative_drift":1e-10,"maximum_jacobian_column_relative_error":0.0003,"maximum_line_search_steps":40,"maximum_local_carrier_normalized_residual":1e-07,"maximum_local_gauss_normalized_residual":1e-07,"maximum_near_acceptance_nonmonotone_steps":2,"maximum_newton_iterations":100,"maximum_refinement_current_relative_change":0.05,"maximum_refinement_state_change":0.02,"maximum_scaled_nonlinear_residual":0.05,"maximum_two_sided_interface_total_current_relative_error":2e-06,"poisson_atol_C_m2":1.0000000000000001e-19,"poisson_relative_tolerance":1.0000000000000001e-11,"refinement_substeps":[1,2,4],"site_occupancy_ceiling":0.999,"storage_relative_tolerance":1.0000000000000002e-10},"qf_references_V":{"electron":[-3.261839266691707,-3.261839266691707,-3.2618392666917075,-3.261839266691707],"hole":[6.238160733308293,6.238160733308293,6.238160733308293,6.238160733308293]},"reference_sha256":"0a6532a436dd07e6b27f01da3fc39aef906e6fd882057f0109c1bc5bdf77e39b","schema":"R1CommonStateV1","sha256":"bde90a2913e9c4bdb1c424067a3a1c2b3823c6110cae3fc7b44103622ab29e7f","source":{"files":{"__init__.py":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","_compat/__init__.py":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","_compat/numpy_compat.py":"7ffad9557713ecbbf191d8e684d56c55cdcac029b2b2448077a5bafdd5747d50","_compat/scipy_shim.py":"33ce6c210cd8101db695350a227d6886f99bdaf5acce5e0e4984b3cad2cd1fa3","constants.py":"9ae428b44bbe5f475b638d9c3339e69930249e2b1c39ba0acbfd0764fcaade76","data/__init__.py":"60cca7d1762c831541e6c5b744668e8550d846f807be868cefcff5805a46a1b6","discretization/__init__.py":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","discretization/fe_operators.py":"b3ab0cf0054d5aa1ec7e5fcd27b93d2ed09b137d043080a0310a219d3ff1154f","discretization/grid.py":"7d3ff321c2609efd51a41f29fc7936ba09914ff684f25322a11b8776cf96bfbb","experiments/__init__.py":"e060aec00c05f70d1dc2d433f9c0d922b59ac2da788ffe7fb6dd2bdfb16bad76","experiments/band_diagram.py":"6c413f63586280e9fd768944e525169f54ab07301efdcc60a2b01cafde8aa2e3","experiments/bulk_defect_ion_transient.py":"8ca8b0e93eb8b26efed35acee8da8fb9d3f6b35fdaeeac0ff7b2d8764c7e13c3","experiments/bulk_defect_transient.py":"f8974270a92f5b5aa0564dd748dac870b693c0dac087d8486c77a72a94bff2fd","experiments/cbo_scan.py":"23fbf41f3cfa8aea669bc914d5334b873f3cc0b3edd9a308a52bc432afc27a6a","experiments/dark_jv.py":"7dd01ad1fe88fb0ac2d8d69722aebe8ec5d2cdedd2f5c0f149bad2477759540c","experiments/defect_aware_impedance.py":"7a885ca595e18faad97580730d99280db00c6aacb0b41da41ceecc12ab323600","experiments/defect_ion_combined_impedance.py":"026c14f5e56cb1fa3ad0658535248fb022b0e69e66198c67a802bc62aa4a2038","experiments/degradation.py":"bc5366e74e4d95f69bcb995b134aefa64355850482ae1bd442c4b713bcca5e20","experiments/dynamic_defect_impedance.py":"001cc1766638312035f63ffe7a337facec11f1373ec5fae0707f8b28af0bfb28","experiments/dynamic_defect_transient.py":"393424b5a45726f801e43c16eabeebd950ee8091ef8bbf10c9ef36855eb03ac4","experiments/el_spectrum.py":"ed1244ae4b0247522a9a0e0b1a97a80f27fc7bf588e46d51fd8cc5571439520c","experiments/electrothermal.py":"a9c3c142335afb0fe49346858a8a77ea79103e89af4d73045d0e4024085a6d9f","experiments/eqe.py":"dfcfc051af754ccb58c126728ee80b3bcde86c2c1637ccd0eae3e92d5caf7f99","experiments/external_circuit.py":"0f2a6fa803686536e5626a5144b780012242feed86de44550bcfc12d7b13dec5","experiments/identifiability.py":"fec82a43d7da9e29f0ca43441511e5dcae51c8384f0f0eeac338ff7ad9302f88","experiments/impedance.py":"bc77a24eb7a2eed0ed8cc4a3c3f374378a5654d2906dd88622fe8b5fb19bc11f","experiments/impedance_frequency.py":"a60788b03a859df4529bd67eec5ea1b967c55014063d80a26d706e169c6d9ba8","experiments/interface_charge_jv.py":"fd8cd5a4776d27e753c959a395f78829fadaeb6bb883098f2e7d8d9642b2c446","experiments/interface_defect_aware_impedance.py":"ce8efd94278348e7e05745c59648407c1eed75ba137e8a07c26ac9ea71f5a05f","experiments/interface_defect_ion_transient.py":"8c3298a7b5a1b500a175a7687c33248efeb1a8a36794ffac5a4986a02b22a573","experiments/interface_defect_transient.py":"1858344ffce785e22837c53f5cb0bdceb332666fb26e883bd54b135fdbc27efb","experiments/ion_aware_analytic_reaction.py":"213474f49d2b735c1a96d89974021dbf9c35cb9488b2eb741337fd16aae7c22c","experiments/ion_aware_analytic_transport.py":"072498cc475ceb5bad0f7fc8bc1c60c050efd3e6d2a5cced96288ea2d77755f1","experiments/ion_aware_dc.py":"c3d72e92929e2485c41f2f282e58082ea5415f1ffba176edcd08939d9344f798","experiments/ion_aware_impedance.py":"74af302cd7a071e69d60b01d07371ac0e8ad9036c1ec4063175c442e25b01892","experiments/ion_aware_impedance_grid.py":"f43cb2c7003f230012da25a3cae228bdd37c49a6707a0ad0f75e5d0b967baf5b","experiments/ion_aware_impedance_lockin.py":"8796d2885e7ae3114a6e82afab5edb2f41e78d87345fb3ff282605b88a70053b","experiments/ion_aware_structured_jacobian.py":"c4b6e6953600bcf1f511717c897dc8af9a390e18501091143c18470b086d82e9","experiments/jv_sweep.py":"428fbe1c421192e2495ac94fa171df42f2be94dca7733b7a5ab2e07a9628ef96","experiments/metastable_preparation.py":"cd7efc45fb80d64aa4c669b2752e80cf294a0a7e523791de4fa958839d9d0ff8","experiments/metastable_transient.py":"1579c39f88f6c0df5b69272bd26d01ad949ef591312ca28df3db93338727db1b","experiments/mott_schottky.py":"862b0dcadddd5b2097f313dd64b01e0d49b54219109d510f1cab71ac5d8e280b","experiments/one_dimensional_mechanism_r1.py":"637bc790dc09ec0632b733bc72e3fdcacf20dc017efc88a8fafed7dd927fb116","experiments/one_dimensional_mechanism_r1_admittance.py":"4b1d7ec8961d75a883fc03a7f87c807f36670262921004c0def3af8185703c72","experiments/one_dimensional_mechanism_r1_backend.py":"630c2a686547e269ee406ba301bb44b078de0c2a939ab5f377784d4bf77badb9","experiments/one_dimensional_mechanism_r1_baseline_electrostatics.py":"e902d51d33e407357b9a8b2eec7738604f9d975c5082c46a7c87fd481c45c0ac","experiments/one_dimensional_mechanism_r1_baseline_initial.py":"0878c56a738f64cc51c5ad8907c02650132a31721f278b3faf2a8d12db909b77","experiments/one_dimensional_mechanism_r1_binding.py":"376ce06d1fa83e8c99bd5f69a22eb9778d903c6f20a755078a6a68c0aa562417","experiments/one_dimensional_mechanism_r1_checkout.py":"0ed9fcfbc10a3b6cf44233594fe9c31622fe7a5ae9b3fa0ccf9b71785afd97a5","experiments/one_dimensional_mechanism_r1_convergence.py":"a8e2b9738d551a5b5132cc3d99b57e534a0c5b5d4f7ab94e24f4c464406f1ca8","experiments/one_dimensional_mechanism_r1_dynamics.py":"64d2fbb4bbae8e8e1b887f5ca0e8fd312d4b5cb5bd1faa5ecf31909048f995af","experiments/one_dimensional_mechanism_r1_evidence.py":"4f36080be9a878e6f0cb7be3ebdfdede78a897e34e3912b47a249e607eb04a07","experiments/one_dimensional_mechanism_r1_execution_validation.py":"4b8615e0035e6bf338731183a2bd1ffb613853dae720e6719ecc9dbd9cac3371","experiments/one_dimensional_mechanism_r1_failure_reconstruction.py":"2d6e23142c8586d42f4adf67fb22731eaf2efaacf6cda685df696a32f5d78ecd","experiments/one_dimensional_mechanism_r1_failure_registry.py":"64abad5af4500a9becc2ea36de36b5905a7710a849221ce8a941dbb6498c6a77","experiments/one_dimensional_mechanism_r1_failure_witness.py":"de74434dfc6368a86642a789befbe1dbcdc17c7ca726e237c3328c19b1876d4c","experiments/one_dimensional_mechanism_r1_global_reference.py":"f5ba16b4778827f1321384e3497b73d1cf574e0dfdac93eab09bd49fef2331bd","experiments/one_dimensional_mechanism_r1_history.py":"2921971011ba1aceaf105ffbeceb31f3eb533883d73704293ddf247a631eaad7","experiments/one_dimensional_mechanism_r1_independent_physics.py":"03db33ccf1005c5afa0cad6b86acae52bd60e11c0d36a7df68a7bbdc3f4cbdad","experiments/one_dimensional_mechanism_r1_independent_regular.py":"af4ff60f6e6a573e41a0fb885a5f019ee6c48461f99f0d341058c444a99500b9","experiments/one_dimensional_mechanism_r1_input_lift.py":"65f85c06a38be9cd41ec3ef344af34d1baeb300a012c47df71ab5d658b9e821f","experiments/one_dimensional_mechanism_r1_input_lift_codec.py":"db2ef01419458819ef006488c7924944b6065174ca1c02da24288a66e440f299","experiments/one_dimensional_mechanism_r1_input_lift_continuous.py":"5d76a2cdb27ab4188e2663fd09d08b1cf6e4c936f455cf615fd98da5113036a4","experiments/one_dimensional_mechanism_r1_input_lift_reference.py":"a566ad00c277b1792b61322ab4daa2d2c8a45070bb40b6a4f6de7bb2ba16b0e8","experiments/one_dimensional_mechanism_r1_local_carrier.py":"c6ace0463271ec3d6222300c55d707a61e1cceed1cca5c4b2f869f466cae7ce7","experiments/one_dimensional_mechanism_r1_pair_codec.py":"a2c23d94bdc0023ef24777613e6e5af70867bbd1759071381d64bdd47446b912","experiments/one_dimensional_mechanism_r1_pair_response.py":"a3a8bbba73ede8e23c7d29794bbd9fb28de6138de99f9fb6d7437ef9884a8da5","experiments/one_dimensional_mechanism_r1_pair_spatial.py":"33159889475b12bd7d7f29ba8d0a6cdd6fd8fc91c5c77c5eacc4a6f5392f53fb","experiments/one_dimensional_mechanism_r1_physics_validation.py":"6dd8d4e4fcc22697db717bff075ed1a2f875141cc3396280e7f38e34209f5af7","experiments/one_dimensional_mechanism_r1_precision.py":"aebb040ed5f1319e5541f9104886160a0cd2f63b1ccdd366d9de1739a8e71395","experiments/one_dimensional_mechanism_r1_precision_initial.py":"7350e1bf4bf2c1d14c36b22bd60ec9b844c8b558030c99332489d310af051c17","experiments/one_dimensional_mechanism_r1_precision_physics.py":"c5353e6aff99888175bbce038d6787bd97385526aa228089253350da1fcc657a","experiments/one_dimensional_mechanism_r1_precision_state.py":"1c31475237b2733a6c2d319f34c30bec35277b3fb671cf2f1c993ad42a7e9b1e","experiments/one_dimensional_mechanism_r1_protocol.py":"7b053566d7931c7e16fe60ed46fabd9ca9a6c82461bc6116348ceb69dc8d4974","experiments/one_dimensional_mechanism_r1_qualification.py":"deb20769c349ad495a5f30f4c2420c1b1fedf495581063e832de9ea7d07e9715","experiments/one_dimensional_mechanism_r1_qualification_workflow.py":"bb4057871e5f535f69c10050a19f1f086709caf89797087be7354b862e11fca3","experiments/one_dimensional_mechanism_r1_replay_receipt.py":"be0831fca8efe0ad1fab2dda20c93f8a2db07cc6df9239f794c6ce53de6c2ee1","experiments/one_dimensional_mechanism_r1_response.py":"46c25ab45885c1ed966dc58ee044d55b66ef69070b90184310fc5682670d7b51","experiments/one_dimensional_mechanism_r1_result_contract.py":"5c004525405ed95e4e277e516ff3a95a8009bea230c0e2f5c9ab981000552cd5","experiments/one_dimensional_mechanism_r1_result_validation.py":"bd1e025595c6c2bf538b61bf71af5b4bbecbf89aa5f5fe799c0307a08d213450","experiments/one_dimensional_mechanism_r1_run_record.py":"b51679bc00233a7bd4a5bcda46c61391bb0409aaa8eb4b5953bd2a0f5ed39997","experiments/one_dimensional_mechanism_r1_spatial.py":"25f324db38057202e00f1c4d9cd09e201bdc502b4234c7e7257b95424eac83d0","experiments/one_dimensional_mechanism_r1_standard.py":"73669da8d7f08184dea9e89f19c79442d6032b9ffa1769da449ceaf8da677cba","experiments/one_dimensional_mechanism_r1_state.py":"49bca65cf639024599781bead35db5524e5d61429efdc92bfb84e742af99422f","experiments/one_dimensional_mechanism_r1_step.py":"448d03cf4fd62dcd7f18dc6db5d90634b9650848d2dd31fa2b3fabe9cf1ff44b","experiments/one_dimensional_mechanism_r1_study_request.py":"2697b42197b9d80f78e1b3ddd0dfa697519ac8857a1553eb9e818a7f284b85ee","experiments/one_dimensional_mechanism_r1_study_response.py":"efbc793159c28bc12be9cb44e6ce3e5327fbc04f6eb7bbd186f35c68b4f3aa63","experiments/one_dimensional_mechanism_r1_window.py":"977279c8fded7555f0fc8a879e13fd29c908010e8633640f78500ee9042d7fac","experiments/open_circuit.py":"f02036a172b26ebc7723e350ace7d9a91fc07b7bc04ed7d638d39da54feef798","experiments/protocol.py":"427d372bd2b28bc2c9b6b924ea4cafa42e7315decf5385664f74bcb19137beef","experiments/quasi_fermi_impedance.py":"dbac8e42fc31bc3ba1d42aaa755100b99a627c04667910f6eff2452ee5359e22","experiments/quasi_fermi_steady_state.py":"f8fc4b1f4274fd154e956b42d2d0d715c4b8045ec84ee50de2798023e5b14fc4","experiments/steady_state.py":"55580e14e075de0596e2a8e6e55e0a16f2c9581be380f2bb3bacbae2b5d1edbd","experiments/suns_voc.py":"6bea3aa6645d9cb1d68786f3dbe6aa02d39bef81664f575eff2d43b9c694c887","experiments/tandem_jv.py":"d13960a2114863df754d8102be1c1d098d52d9f7ede1f97c9556b50ad653bff3","experiments/thermal_balance.py":"987516eaef3fa53c96b544e02637076f21478951ecce193441f5b33696b8bcb6","experiments/tpv.py":"4827229c6e7dba18e339ce44611eac3152f9e6b1bdd63de237f17ebc61766cb8","experiments/trap_small_signal.py":"de614e89798d08a7b067bef26bacc68ca6c8dbcfe71f64c3d4ec2e779033b8c1","experiments/voc_t.py":"2ac2c4648a009659879a5a4f0a45b2649140541477ece69d36b2a2d0e5529703","experiments/waveform_jacobian.py":"dbf0f40dc191c75a35d01575c27db0e46daa64af522a6635b4218327c4909226","experiments/waveform_jv.py":"cac7648c136190db6bca65697cdb3200ab7b57e81787736a67d706cda333d1e7","models/__init__.py":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","models/config_loader.py":"f25dd749fec6e2e755cf18d221986efdc323b6f2c22e92ec7297577117442bb2","models/current.py":"483c1d91b0b480ef0394f3e6d201a18983928c17410a9ffebbf9510b5cc73627","models/defects.py":"0bf3cedd435ff8259fb436bbcfcfa3aa586bdee50f89caba161e162c6913159f","models/device.py":"abedb9e39655a5b54997968a7bfa4d1664b7493475dc8e7c55fffa68195330b9","models/el.py":"b239391d045dff27ad44ecbe022dbaab337e6d4584600430dc1a454a1fce5f2d","models/interface_defects.py":"8d0ad0057410b42bde00d2cdd17a765f94a5f2d95ebe51a1cb815d24553084bd","models/mode.py":"7464cf8619401997206fed5b23cded0a361ab6064f6b06a2449fb9f13a700688","models/multivalent_defects.py":"dac4f0e32804b59126a16629b4ccb377fb71e79a8b270b43283df851c97256e6","models/parameters.py":"0555a6c9280431889b34328bf1e513c7e6d6789368ea858ff3e1ea5a60db7d9d","models/spatial.py":"bf64684bff565bc6b26feb49c54ac1b5d2d403df51729f4fb57ddd276307cfb7","models/tandem_config.py":"9aaf4e1fb87f43950c96cabe0ac309cd3416673848b80889fc366be32ad2b595","models/tpv.py":"af4af1e7f4554ccebdcf20ba5a01db3fb3f5656cb47a3de8ecb33816f9ca0d84","models/tunneling_channels.py":"988195babef2c7390bfacd0f849b91a3802abfda3e742332642c1c36a610a114","models/voc_t.py":"e7199c3c9af9d3224a8005d32d3037d34dd53c05c53c2e3562ed1b31b1243e68","physics/__init__.py":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","physics/band_gap_narrowing.py":"ee7fe97002c19364750f4aa07be1dc150c2acb450ad74ee637d5b8cc783e0a78","physics/bulk_traps.py":"4a78fabe85de747b81c03fc32f7095b01a68cafe7921d01806cd314f3cb4801c","physics/cigs_optics.py":"a7f1cac165c04f8f5d21a530987d65d10fa78af04c77b7e1382149aab59ca811","physics/compensated.py":"48235c68776a31db04191347b506222c07f1837960fe0658da4e1c65f25a3204","physics/contacts.py":"a8bc9a2938bd979ea9a5265af8785480b554ef723d4968b0ffdced8b8231709b","physics/continuity.py":"bfbb34a3ea772a798385b8ef083aa9857eee3f0d08e6a3e9f8f1fc0dfcb96df6","physics/defect_closure.py":"e8571cdd4878a75285de44bd9ecadbd9c9c3b296d88c3b62ff5ec1f478da9677","physics/defect_distributions.py":"635b5e5285d0c87de325edff7de745b398705eb8537495435f05f32543542a5e","physics/degenerate_transport.py":"5387116677839a6ecd3ba6ff261d9e8b881e850ab356255551d0c04165445c1f","physics/distributed_defect_closure.py":"1725704eb365858f120727646dcd3b3d8ffd9e69912a04a84b23285367106587","physics/doping.py":"883d705622066585d1e93027105ed9cb6094b0bb94bb28e574f1097a5ef3c599","physics/dynamic_defect_state.py":"0923b57f53583afeb95da7092a45c7ab98a58579177525bcaf210c796d84a6af","physics/dynamic_storage.py":"c0179c0144e9dadfd0abf959b78088eee91d35abf787a280a51079851dc5e006","physics/fermi_dirac.py":"f5cc9d0b9dbbcc80ea51cb8c3c843dbeff722a44eeac732d9b333e2bc0b71878","physics/field_mobility.py":"62ea0880e8aa05cf90dc0928f6bae7aec2caa132d69338661bff856a4d441737","physics/generation.py":"862c097f31bb5bab0e7585a4c361e0e7116010f652d7b6345a9a0de80caeac65","physics/grading.py":"286c5347a808199717740f2366d08bf89a8e615eb16ea399b84e1ddf40d1fe51","physics/interface_plane.py":"7e8e9344d8f96b04b565986879ad9c67bd36d54afa3de90ee39de264a44f9dee","physics/ion_migration.py":"19c0b83485c5e1b61dce5ad8fc05b75202a40c383d964cd4bcf38889a5cbda35","physics/metastable_defect_closure.py":"638ca6b638cb2ea19386b7d5d7c584f056495d9ab2f25e2a88e4807987b0e62d","physics/metastable_defect_device.py":"fea38276765a05be67fe0305cb63c2d148a8b3f06d4bac5ad5f5673132329c68","physics/metastable_dynamic_state.py":"6ef5427bacdabe6172ad33f5b68b4985b255d85fc22e9c8a0aaf54387801aab0","physics/multivalent_defect_closure.py":"57c684618c87d06521e048da20f3fc38dc3dab2c6221e4e88c66d404a8cc5648","physics/multivalent_defect_device.py":"5a631290005479e64529eba52f8273a8453baba1b1be4345d2c0f4e0365fafa3","physics/optical_stack.py":"ef897393af20ce1a3a096e6db2d3a9b3482ca590ad71a294057124ceb6746543","physics/optics.py":"de249b529cbbb1681a886b971e500d442fd3a74cbc48fd97e471cef84bcbe656","physics/photon_recycling.py":"cda651b7fdd7c202ed308d3a0e063c1cedc4ea76d7b0ef61db65e9ffcdc3d9f9","physics/physical_control_volume.py":"7ab20365a9f857169a8b9e2beb3a00c5129440e934e7f9875595c85413dec245","physics/poisson.py":"cc59b0210f019561cfea8903cf7c0c968f4d31ceefffaca6092d09286b02bed5","physics/recombination.py":"ec52279e65616a916c586818d3b6bec9ebe1bb7040a4a451e85e5785222726b9","physics/regularization.py":"32982af462fc430d518017579ea9c403dd3382be2f883464bc088b58a5d84539","physics/statistics.py":"f790b5df608ec54ff64ebd1a3203bcec0a00d1bfbc2677a29ccd34208fc29a01","physics/tandem_optics.py":"cdcdb0bf230b1bb49579c15c1286f29d928328482e75eb66de8a9a733b9d4658","physics/temperature.py":"bd21a92f32802cf228379c1ccdf4600b50290ffd2e78314d099f7fddbdd9fc85","physics/thermionic_constants.py":"729d2c0df0e8c441404af203fd77b057a90c30b67fd268d873c32585067f979c","physics/thermionic_transport.py":"996e4f1d46a10740a28f133a549ef7a2e190e72c0986b7a420a7c8f3fcfdca3d","physics/trap_kinetics.py":"9c3be44d7ef32773db38735cb6cbdd97cae68cfdc46f9ec60154a2b54c25efad","physics/trap_population_response.py":"64f5733bbaddceea323fa63b572abab133eb4c93bb1e88719cb156f483ad4398","physics/trap_transient.py":"a6b762e7120b8aeb557afab5fdc679f7d8c532f48100523edee632fd4b66e998","physics/traps.py":"2b4a2e6aee8471963fa392f295fb805c92a720340d77a757db2702bb65c7c2e6","physics/tunneling.py":"661bfbe9f825c2a23b334efab70452fc1320ca7e791e6bb4cbe810a2847864e4","physics/tunneling_channel_device.py":"8263d4f3675dc9fd775507be11702d5c916e3a4cecb47f57567601ab8e73292e","physics/tunneling_channels.py":"9fb2633b715d57a3e22e08da089ad98e584804a39e7d067c6649b9fd77959a36","physics/two_sided_interface.py":"c5c203480aa72343ccd1753c4fb8f42b5d4c792e81ba896de350fe8c5e272642","physics/two_sided_interface_compensated.py":"1460f59994ec5e66c2c9b0302307d7c114dac1819e10153a28fcea123e5c6bc9","physics/wkb_tunneling.py":"10604094f39fa7cdd50edd72d208e74564c0cf1e4439a57339af75dcf18b58f6","reproducibility.py":"83df5ef085a5ea86f3850aa2dbef10c09b43d3b037f344b1f66f686b2c182cd4","scaps_compat/__init__.py":"907408bc91357313a419c3c816a8351e99d770ded9dfef0a13a03ec56641801b","scaps_compat/defects.py":"afd98b29aa76cf5bdf01f291f6d289cfa7be34859ff2528b82ddcd57a77d2ca5","scaps_compat/distributed_defects.py":"23e0ea44ae438ce57cf8be803ff52ec53ce635cd0904c9a60cf41cd880f82c63","scaps_compat/loader.py":"a03a31b81497df6118592aebce7000befaa1d5de787ad989d880c263000e0cd6","scaps_compat/materials.py":"297634e0f0705a75e7866fcb9ccabacce8ca3feb76de6d7d46deaefcbcf0a424","screening/__init__.py":"5c940f3ec0943fb4706ae84921fb61a127e3acc2ec07a94f18db7ab5ae5fec70","screening/evaluation_report.py":"33746a81a20deb52d71223f69e57028205818bac2f33179ac2deb9e1d070ee5f","screening/solarscale.py":"67db4312f6bb1473e6d3cfd3eabd2b85dbdaf004e9f592c810485ff1a69b0bff","solver/__init__.py":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","solver/bulk_trap_equilibrium.py":"3f7bc1478b70eab82668e3db5b6b5cb457d92aad8f0fe1548c00d07b833d1f55","solver/dae.py":"0836cedbeabd5a211611c217776bc7a045197ee501373e8a2b240b062134d0cf","solver/dae_dual_ion_integrator.py":"32d228da12825ec5fcfcf654935c5a460e89b49e36368ff8f9a6f359c0ec65af","solver/dae_dual_ion_jacobian.py":"53988cfa8f6bd7af1877b5a8e76293b91527d8cd7b93b19389b5491a99b69971","solver/dae_dual_ions.py":"a513f262079d514e1636baac3bba043fe9612c4d0d5cb456adc65ec33dc229e0","solver/dae_integrator.py":"865f6631d2c3946252ab5e1c128b502a5d80f814f83ffa205c00d5f0450aceb5","solver/dae_interface_integrator.py":"b292418064b15fe9e3af51eebe9ef2048076171336742beb4c196d2b30dfa1d2","solver/dae_interface_jacobian.py":"5785e57455da3b882eded59bb9621cb21bcac52a7b68e5e2ba4fc3c0300e8503","solver/dae_interface_states.py":"8771d8e18d570ee3fe1dc9ba176d9580b57b79d9b1df8f00368b7ff54ed0aec2","solver/dae_ion_integrator.py":"32bb220c3928d99a41f0f51155f7fa70fea123b1e5ad3b1f8d58c2181a1343d0","solver/dae_ion_interface_integrator.py":"ab6d6a62e7b196261443381a47bd6f2951191083efb201844ef6d82f3ce1de5c","solver/dae_ion_interface_jacobian.py":"f5736725822e4cb4beb62e7b138e227f51a41b2dc38a8c37c274345f7d942ce9","solver/dae_ion_interface_states.py":"b0dee976889a4b8f237f656b822c017fa1039cdc3d49518251cef237a6dab541","solver/dae_ion_jacobian.py":"5edac1c030aa76e509cc87db8f83edc61280088e2e342b6aecfa00fe2d1d5c94","solver/dae_ions.py":"b594d7a347ce0aea6efa834a17aaa498e687a1d14b100fe7c15f5842e36966ea","solver/dae_jacobian.py":"1b775ae891b2323046742dbdf6ac967a569f3e8a5de2ecab959292fabade5640","solver/degenerate_equilibrium.py":"9a88670d4c8a04669fbad681f6e45a7571c9b8fc90ab10c36750159a562d96df","solver/illuminated_ss.py":"489d3d68dc7e2a6877bc10d91152cf8504f6b878c2a32b19a622f9cf4c1aede7","solver/mol.py":"1c02ff41356cfaf75245e3e9e3a0101064d43a766e9e416053ea1e75ef54b61a","solver/newton.py":"db4c2096108f7c6820dc900ea14bb03cd780d29212ad0fdedd290db84c95d3c2","solver/numerical_diagnostics.py":"4796fc14569386dfa5fda1b2897e1408d9f4865ad411e3faae4196aee32ca22a","solver/small_signal.py":"6b7578321b0fda1ef6ac9a48db44f6306c2bd0c65904a98229e07a0098740adf","solver/tolerances.py":"1a193fb904bfd593e7581c9c3a25f51e245bbb72ce6b9fcf22bdd9196170e0b6","solver/trap_transient.py":"a417a7a2f8c17932a617a7406a412a69cfcd5665ef1f78483a91b569ce209331","sweeps/__init__.py":"213b7f734a96a7052958dd310a26de922d352454f7813297032379c4b071f783","sweeps/device_parameter_sweep.py":"70d4185f1918ecdc041e057c23a7d78380d3c872eaa2a9835acb8d958109fce8","twod/__init__.py":"01dd4fc6ae498e9286352e375b3a4c7a6831c4965aeb0d86b299f904aee08d79","twod/continuity_2d.py":"706f356e8ee40c2de1b5aa52b70bfa3b99911dbb2b1e92c1b4371aa57e75e870","twod/experiments/__init__.py":"0135cf5154cb590920c85b4b914c6b28773ffb1c01b36a1baac285e9fc3c71eb","twod/experiments/jv_protocol_2d.py":"d5b22910f9c7cdfe5dd2eb037f00275f44e2fa3f177a05035de19475ec3f7acc","twod/experiments/jv_sweep_2d.py":"4d57ec5df5599f25237dadfbf202ea24c899454905834245fa498bc459afad69","twod/experiments/voc_grain_sweep.py":"46cd3258d5f9cb603e1b26571d3381ca35ee2ee61277f2b0e5a9e21a62e853ff","twod/field_mobility_2d.py":"137bc63740041a7158be54757e98209d6bdd1dda0d0f6c4e26ab7bec71194a18","twod/flux_2d.py":"43c019705a31430d84bdb888c926be0db9c7b13ed4144e6d3c8fb28ee1601d64","twod/grid_2d.py":"69fbfead2f8011a34665303be19ae7f2bad939cd111bcdfb66b5b7ab57995818","twod/interface_recombination_2d.py":"5a43d3b41b89bc8517939536302d59c272cb282ac0451870ce48b9a66f119388","twod/ion_migration_2d.py":"c4bc37d818b97732dfea3ab44ab305ef047f0381cfd80c1891976ba1e620bc8f","twod/microstructure.py":"60d06d32976305a4c29b04e7f46188e8a916e007048a9c6507c680e6d4b6ab35","twod/mobile_ion_current_2d.py":"9ecdb504fcf7302ee02a5cf00c0312f71547ac76d740d4b0dc700f2031a63c02","twod/poisson_2d.py":"bfb1a98beb235d923a10da172bc77501a21b18faa0ea74865ec78a5b021fe25d","twod/radiative_reabsorption_2d.py":"5dee50750a3fce10f37c53b781f9b3fd5c0920844ddd943cdd97dc2a1fb98434","twod/snapshot.py":"0ec4141f593f29ac71585f3b1bf99ee73ed7ef451298681ad7f734bac9682d11","twod/solver_2d.py":"75630674f85d27e86512affaa5600d344b0da672842f8a53698efc42cd1d1289","validation/__init__.py":"f89bdb1d0e95a5a33b04c6afb9471fc7e5a0bd008c62576eafefb6cfe595cec2","validation/bgn_refinement.py":"f5989e3a00a1f298df257b0b893a965e3778d13c155a1296705aff75de2528f7","validation/bulk_trap_refinement.py":"4415153d3c30a2bda68b1dd54c448bd32f4e1dc21222a91f553601beac1ede0b","validation/charged_defect_refinement.py":"c15eef42f9122d44b87391c243b03d526d22d269fc830389dc89001f7aa11a34","validation/cigs_optics_refinement.py":"c699faacb47b73d18b047af80530f73bfd52619f9ba8136bb2e2ec60488d8b04","validation/dae_dual_ion_refinement.py":"9f8727804890fa6ce487f9302c14d75a8472fb44644f7fd151d3a2b4b2168265","validation/dae_interface_refinement.py":"b99bcf748f7c7321379eb16fe2ec62ee4676dbe200cd0fd9b94b79644eca7159","validation/dae_ion_interface_refinement.py":"9e9ca60cb1b64b20ee3c912753c4ab72c71b7e2f9a5c46952315b2e722fca725","validation/dae_ion_refinement.py":"178482916aa1a7c8cc7af87ce4afdab722da1cd0ee882d336a4cf73e609faea5","validation/dae_refinement.py":"a8cf931308f66c5184d852f4457dd29ba6f5b46d981c21cda7a1ad5104076303","validation/defect_energy_refinement.py":"c6b39d4d5bf977b626ad283a928bc2eea2b0726df4f2a0d178ccb9f7c11dd8c8","validation/degenerate_refinement.py":"46075723655aa34b33663664d5506f813484b3cd1a28aabde585043d13294c57","validation/distributed_defect_refinement.py":"86fae54f0c9e8ab8394ccb7db57ff70b144cc1966b1487ed7d87172028931016","validation/dynamic_defect_transient_refinement.py":"b7b87088a5de7af25bd77a15897f5641dad707da06d4073606b3536595e495c1","validation/electrothermal_refinement.py":"07010dc8c5ff08fa75a88fbff0d8210c8e878c25253bfb4ad942db5ad68477c3","validation/external_circuit_refinement.py":"cb8453da1c93bc1c47ecbd61a70ecffe0d4eba50a8bd42a0c2e162da085143a7","validation/foundation_reference_refinement.py":"aa478f90f055d3dd27e9382c2c7b55d61029f0135672b7d1f2f3358436ee8aa7","validation/grid_convergence.py":"fab7c25a0c3da63768f3c99ad90019888d7da94fdac04d44062e38d9c9004c30","validation/identifiability_refinement.py":"d66f0a39a4e7b2e0af5e4cfc006b53a86f432e3c4273d59c08c3bbfd0e4ced52","validation/incomplete_ionization_refinement.py":"001c0448fae196dbf8f3911ca9277fee11dbe1b5c6a06cf6ed78820b1a1a8ea5","validation/interface_charge_stress.py":"ea765551cf56cbcfd64bd623fa95996b9c789836e8b2c48c2d0b24056a459994","validation/multivalent_defect_refinement.py":"28db6ad6710591d37386b12464a73fe345dedc873ed9d54c8b013b9c70c860e5","validation/numerical_certificate.py":"8adf88571ab94fde3135eb817eb3dc93b8d5d932c02d62ec5338e021df1fb413","validation/refinement_executors.py":"9e9730acefe72cc7dd9991e47f65624f37d875101795e85d2fc63d885ca4d40c","validation/refinement_runner.py":"e4c72b1cfc570ac2106fb031b17aeeb6675810529c78e1699fc074dd1f4d25eb","validation/regularization_certificate.py":"18054fccbd125f04a4dcbe1b3d8d016e70a7c67a87d526a5982c21f85c5a84c4","validation/regularization_executors.py":"23ad49cd022c2fe626fd2124d6d219f1fc90e26dc6d27a67e63ca5ff433959a6","validation/resolved_tunnelling_refinement.py":"f37222cc2d56fc8c900b4fc4f634ff1e16e470eb2843ac1e46fe2138bd10cca0","validation/spatial_defect_refinement.py":"694b96e6718e78daa8b853bc0d2c0a4eb8d4c5d989aecd60102a38e42d2b856e","validation/tunnelling_channel_refinement.py":"86104d6316d81fabddbd7a8a5a5b53412cbbaf8c4e450b4918502e81888bc608"},"run_class":"development","sha256":"f3def67883912d64f17bbb145156e4c8b3afc69ddbc43060041cf875e4cfff47","source_commit":null,"source_content_sha256":null,"study_input":{"path":"reproducibility/OneDimensionalMechanismR1DynamicsInputV1.json","sha256":"3065a31951d4a90e8b0d03d042e3f2c0349cc7d8e792381a275cb05d58a047ca"}},"stack_sha256":"dc528a33fc78fa4ea083aa3ebd25568453f562f68649df508078a02e474fb9db","state":{"capture_m2_s":[[0.008130665479537382,-6.961122516386613e-06,-0.007982642848854552,4.454297620876286e-07]],"local_residual":[0.0,1.771072397116043e-20,11.243576495289947,-31.079632739704646,-16.347767505381746,26.71570388085005],"n_m3":[2515095827087.2163,1153607227118.4148,7042059078033.982,2515095827087.2163],"occupancy":[7.152881079529094e-05],"p_m3":[2515095827087.2163,5483414866629.49,898275198963.2432,2515095827087.2163],"phi_V":[0.0,-0.02014949206461468,-0.07338304716536553,-0.09999999999999964],"poisson_residual_C_m2":[3.4815018922863025e-21,-1.7351221380542692e-20],"positive_inventory_m2":[1000000000000003.2],"positive_m3":[7.140839205220215e+21,1.0953053598259972e+22,1e+22,1e+22],"sheet_charge_C_m2":[6.209475504826228e-10],"trace_potential_V":[[-0.046766094289041715,-0.046766094289041715]],"trace_state_m3":[[412020410646.1692,15352897225441.648,19717179601830.816,320822102713.23944]]},"state_time":"0-","study_spec_sha256":"f140505c3a7ec7c52fe38c46f36d53b876a87c2ee50512568cb62671b05c6a73","verification":{"dc_certificate_evaluation":"saved_QF_and_ion_coordinates_with_QSS_interface","provenance_assurance":"content_bound_claims_not_independently_verified","provenance_only":["environment","created_utc","dc_state.certificate.optimizer_success","dc_state.certificate.optimizer_nfev"],"recomputed":["preparation_checks","dc_state.certificate.maximum_normalized_residual","dc_state.certificate.electron_continuity_bound_A_m2","dc_state.certificate.hole_continuity_bound_A_m2","dc_state.certificate.maximum_ion_electrochemical_residual","dc_state.certificate.maximum_ionic_face_current_A_m2","dc_state.certificate.maximum_ion_inventory_relative_error","dc_state.certificate.face_current_spread_A_m2","dc_state.certificate.poisson_residual","dc_state.certificate.maximum_bulk_trap_balance_relative_error","dc_state.certificate.maximum_interface_residual","dc_state.certificate.maximum_interface_gauss_residual","dc_state.certificate.contact_thermodynamics","dc_state.certificate.certified","dc_state.certificate.reasons"],"schema":"R1PreparationVerificationV1"}} diff --git a/tests/refactor/fixtures/r1_execution_policy.json b/tests/refactor/fixtures/r1_execution_policy.json new file mode 100644 index 00000000..db25ddda --- /dev/null +++ b/tests/refactor/fixtures/r1_execution_policy.json @@ -0,0 +1,41 @@ +{ + "storage_relative_tolerance": 1.0000000000000002e-10, + "carrier_storage_atol_m3": 0.1, + "interface_storage_atol_m2": 0.1, + "poisson_relative_tolerance": 1.0000000000000001e-11, + "poisson_atol_C_m2": 1.0000000000000001e-19, + "interface_algebraic_relative_tolerance": 1.0000000000000001e-11, + "interface_potential_atol_V": 1e-15, + "interface_gauss_atol_C_m2": 1.0000000000000001e-19, + "interface_flux_atol_m2_s": 0.1, + "maximum_scaled_nonlinear_residual": 0.05, + "maximum_newton_iterations": 100, + "maximum_line_search_steps": 40, + "maximum_near_acceptance_nonmonotone_steps": 2, + "jacobian_check_step": 1e-06, + "maximum_jacobian_column_relative_error": 0.0003, + "refinement_substeps": [ + 1, + 2, + 4 + ], + "maximum_refinement_state_change": 0.02, + "maximum_refinement_current_relative_change": 0.05, + "maximum_charge_balance_relative_error": 1e-10, + "maximum_all_face_current_spread_relative": 2e-06, + "maximum_two_sided_interface_total_current_relative_error": 2e-06, + "maximum_eliminated_operator_relative_error": 1e-06, + "maximum_local_carrier_normalized_residual": 1e-07, + "maximum_local_gauss_normalized_residual": 1e-07, + "ion_storage_atol_m3": 0.1, + "maximum_ion_inventory_relative_drift": 1e-10, + "maximum_current_decomposition_relative_error": 1e-14, + "site_occupancy_ceiling": 0.999, + "maximum_dc_normalized_residual": 1e-08, + "maximum_dc_continuity_bound_A_m2": 0.0001, + "maximum_dc_ionic_face_current_A_m2": 1e-06, + "maximum_dc_inventory_error": 1e-10, + "maximum_dc_poisson_residual": 1e-08, + "maximum_dc_face_current_spread_A_m2": 0.0001, + "dc_max_nfev": 1000 +} diff --git a/tests/refactor/fixtures/r1_pair_common_state_preparation.json b/tests/refactor/fixtures/r1_pair_common_state_preparation.json new file mode 100644 index 00000000..c77a9710 --- /dev/null +++ b/tests/refactor/fixtures/r1_pair_common_state_preparation.json @@ -0,0 +1 @@ +{"contact_certificate":{"built_in_potential_mode":"semiconductor_work_function","contact_quasi_fermi_levels_eV":[-4.75,-4.75,-4.75,-4.75],"fermi_level_span_eV":0.0,"message":"carrier reservoirs, Poisson drop, and any explicit metal work functions agree within the fixed internal 0.005 eV gate","metal_work_function_mismatch_eV":null,"potential_mismatch_V":0.0,"status":"certified","tolerance_eV":0.005},"contact_velocities_m_s":[null,null,null,null],"created_utc":"2026-10-14T12:55:55.237278+00:00","dc_state":{"bulk_trap_occupancy":null,"certificate":{"certified":true,"contact_thermodynamics":{"built_in_potential_mode":"semiconductor_work_function","contact_quasi_fermi_levels_eV":[-4.75,-4.75,-4.75,-4.75],"fermi_level_span_eV":0.0,"message":"carrier reservoirs, Poisson drop, and any explicit metal work functions agree within the fixed internal 0.005 eV gate","metal_work_function_mismatch_eV":null,"potential_mismatch_V":0.0,"status":"certified","tolerance_eV":0.005},"electron_continuity_bound_A_m2":1.1884722523649285e-18,"face_current_spread_A_m2":1.3564308165129107e-17,"hole_continuity_bound_A_m2":2.66948328498907e-18,"maximum_bulk_trap_balance_relative_error":0.0,"maximum_interface_gauss_residual":2.9730955593289806e-17,"maximum_interface_residual":1.3827636755928121e-15,"maximum_ion_electrochemical_residual":3.552713678800501e-14,"maximum_ion_inventory_relative_error":3.25e-15,"maximum_ionic_face_current_A_m2":1.0819225542155305e-17,"maximum_normalized_residual":3.552713678800501e-14,"optimizer_nfev":5,"optimizer_success":true,"poisson_residual":2.8560328154994355e-16,"reasons":[]},"electron_density_m3":[2515095827087.2163,1153607227118.4148,7042059078033.982,2515095827087.2163],"electron_qf_increment_V":[0.0,4.3907434182659956e-15,-1.3526508105817649e-15,0.0],"hole_density_m3":[2515095827087.2163,5483414866629.49,898275198963.2432,2515095827087.2163],"hole_qf_increment_V":[0.0,-1.4565744923967636e-15,3.251536552426944e-15,0.0],"interface_occupancy":[7.152881079529094e-05],"negative_ion_density_m3":null,"positive_ion_density_m3":[7.140839205220215e+21,1.0953053598259972e+22,1e+22,1e+22],"potential_V":[0.0,-0.02014949206461468,-0.07338304716536553,-0.09999999999999964],"state_sha256":"bdfa23fa768959f6a002fb714bc549c45144a2e825556ac04abefb32efee0154"},"dc_state_role":"verified_legacy_dc_seed_not_the_fine_physical_state","environment":{"numpy":"2.5.3","platform":"macOS-26.6.2-arm64-arm-64bit-Mach-O","python":"3.13.15 (main, Sep 1 2026, 14:05:45) [Clang 22.1.3 ]","scipy":"1.18.1"},"fixed_reference":{"f_ref":[7.928011033749389e-05],"geometry":"physical_boundary_two_sided_v1","maximum_difference":1e-08,"microscopic_documents":["486dd4d2969cd6d20c1e054c0ace6e892e964173af6af62d3eb736755cbc0d71"],"reference_intervals":512,"rungs":[{"difference":null,"f_ref":[7.954622426871699e-05],"intervals":32},{"difference":1.9901348908252074e-07,"f_ref":[7.934721077963447e-05],"intervals":64},{"difference":5.1012362836127157e-08,"f_ref":[7.929619841679834e-05],"intervals":128},{"difference":1.2861884555017203e-08,"f_ref":[7.928333653224332e-05],"intervals":256},{"difference":3.2261947494337554e-09,"f_ref":[7.928011033749389e-05],"intervals":512}],"schema":"ReferenceBindingV1","scope":"synthetic_300K_dark_fixed_energy_positive_ion_reference","sha256":"0a6532a436dd07e6b27f01da3fc39aef906e6fd882057f0109c1bc5bdf77e39b","stack_sha256":"532ffb44aaf326b597c4d512e5a16548033f5c25e2a3e8fbb4fd079ab6c719ae"},"grid":{"background_positive_m3":[1e+22,1e+22,1e+22,1e+22],"coordinates_m":[0.0,5e-08,1.5e-07,2e-07],"faces_m":[0.0,2.5e-08,1e-07,1.75e-07,2e-07],"interface_positions_m":[1e-07],"positive_components":[[0,1]],"positive_nodes":[0,1],"widths_m":[2.5e-08,7.5e-08,7.5e-08,2.5e-08]},"history":{"duration_reason":"certified equilibrium, not finite-time preparation","duration_s":null,"illuminated":false,"kind":"independent_D_dark_dc","temperature_K":300.0,"voltage_V":0.0},"intervals":4,"kind":"equilibrium_D","physical_stack":{"Phi":0.0,"S_n_left":null,"S_n_right":null,"S_p_left":null,"S_p_right":null,"T":300.0,"V_bi":1.1,"band_grading":false,"built_in_potential_mode":"semiconductor_work_function","contact_phi_B_eV":0.0,"dos_band_potentials":true,"flat_band_contacts":false,"flat_band_metal_contacts":false,"graded_optics":false,"grid_alphas":[2.0,2.0],"grid_interval_weights":[1.0,1.0],"het_recomb_despike":0.0,"interface_charge_closure":"equilibrium_referenced","interface_charge_rebaseline_acknowledged":true,"interface_defects":[{"E_t_eV":0.55,"N_t_cm2":50000000000.0,"calibration_factor":1.0,"iface_state_calibration_factor":1.0,"microscopic_document":{"charge_convention":"equilibrium_referenced_electron_occupancy","degeneracy":1.0,"density_normalization":"integrated_areal_total","energy_reference":"below_reference_conduction_band","kinetics":{"sigma_n_m2":6e-22,"sigma_p_m2":1e-21,"thermal_velocity_n_m_s":100000.0,"thermal_velocity_p_m_s":100000.0},"reference_selection":"absorber_else_lower_gap","schema_version":"solarlab-explicit-interface-defects-v1","total_density_m2":500000000000000.0,"trap_depth_eV":0.55}}],"interface_plane_closure":false,"interface_plane_generation":false,"interface_plane_projection":false,"interface_shared_occupancy":false,"interface_tunneling":false,"interface_two_sided":false,"interfaces":[[0.03,0.049999999999999996]],"ion_steric_diffusion_only":true,"ion_steric_shared_site":true,"jv_solver_policy":"general","layers":[{"name":"left","params":{"A_star_n":1201700.0,"A_star_p":1201700.0,"B_rad":0.0,"B_rad_T_gamma":0.0,"C_n":0.0,"C_p":0.0,"D_ion":1e-14,"D_ion_neg":0.0,"E_a_ion":0.58,"Eg":1.5,"Eg_back":null,"N_A":0.0,"N_A_bulk":null,"N_D":0.0,"N_D_bulk":null,"Nc300":1e+25,"Nv300":1e+25,"P0":1e+22,"P0_neg":0.0,"P_lim":2e+22,"P_lim_neg":1e+30,"acceptor_binding_energy_eV":null,"acceptor_degeneracy":4.0,"alpha":0.0,"band_gap_narrowing_model":"off","bgn_conduction_band_fraction":0.5,"bgn_log_shape":0.5,"bgn_reference_density_m3":1e+23,"bgn_reference_energy_eV":0.009,"bulk_defects":[],"bulk_trap_distribution":null,"carrier_statistics":"maxwell_boltzmann","chi":4.0,"chi_back":null,"cigs_graded_optics":null,"ct_beta_n":2.0,"ct_beta_p":2.0,"defect_model":"effective_lifetime","defect_schema_version":null,"donor_binding_energy_eV":null,"donor_degeneracy":2.0,"dopant_ionization_model":"fully_ionized","doping_decay_length":null,"doping_edge":"front","doping_profile_shape":null,"eps_r":10.0,"grading_N_mult":1,"grading_bowing":0.0,"grading_char_length":null,"grading_direction":"front_to_back","grading_profile":"linear","incoherent":false,"mu_T_gamma":-1.5,"mu_n":0.001,"mu_p":0.001,"n1":2515095827087.2183,"n_optical":null,"ni":2515095827087.2183,"optical_material":null,"p1":2515095827087.2183,"pf_gamma_n":0.0,"pf_gamma_p":0.0,"tau_n":1e-06,"tau_p":1e-06,"trap_N_t_bulk":null,"trap_N_t_interface":null,"trap_decay_length":null,"trap_edge":"both","trap_profile_shape":"exponential","v_sat_n":0.0,"v_sat_p":0.0,"v_th":100000.0,"varshni_alpha":0.0,"varshni_beta":0.0},"role":"absorber","thickness":1e-07},{"name":"right","params":{"A_star_n":1201700.0,"A_star_p":1201700.0,"B_rad":0.0,"B_rad_T_gamma":0.0,"C_n":0.0,"C_p":0.0,"D_ion":0.0,"D_ion_neg":0.0,"E_a_ion":0.58,"Eg":1.5,"Eg_back":null,"N_A":0.0,"N_A_bulk":null,"N_D":0.0,"N_D_bulk":null,"Nc300":1e+25,"Nv300":1e+25,"P0":1e+22,"P0_neg":0.0,"P_lim":2e+22,"P_lim_neg":1e+30,"acceptor_binding_energy_eV":null,"acceptor_degeneracy":4.0,"alpha":0.0,"band_gap_narrowing_model":"off","bgn_conduction_band_fraction":0.5,"bgn_log_shape":0.5,"bgn_reference_density_m3":1e+23,"bgn_reference_energy_eV":0.009,"bulk_defects":[],"bulk_trap_distribution":null,"carrier_statistics":"maxwell_boltzmann","chi":4.1,"chi_back":null,"cigs_graded_optics":null,"ct_beta_n":2.0,"ct_beta_p":2.0,"defect_model":"effective_lifetime","defect_schema_version":null,"donor_binding_energy_eV":null,"donor_degeneracy":2.0,"dopant_ionization_model":"fully_ionized","doping_decay_length":null,"doping_edge":"front","doping_profile_shape":null,"eps_r":10.0,"grading_N_mult":1,"grading_bowing":0.0,"grading_char_length":null,"grading_direction":"front_to_back","grading_profile":"linear","incoherent":false,"mu_T_gamma":-1.5,"mu_n":0.001,"mu_p":0.001,"n1":2515095827087.2183,"n_optical":null,"ni":2515095827087.2183,"optical_material":null,"p1":2515095827087.2183,"pf_gamma_n":0.0,"pf_gamma_p":0.0,"tau_n":1e-06,"tau_p":1e-06,"trap_N_t_bulk":null,"trap_N_t_interface":null,"trap_decay_length":null,"trap_edge":"both","trap_profile_shape":"exponential","v_sat_n":0.0,"v_sat_p":0.0,"v_th":100000.0,"varshni_alpha":0.0,"varshni_beta":0.0},"role":"ETL","thickness":1e-07}],"microstructure":{"grain_boundaries":[]},"mode":"full","phi_left":0.0,"te_physical_norm":false,"tunnel_mass_eff":0.2,"tunnelling_channels":null,"work_function_left_eV":null,"work_function_right_eV":null},"preparation_checks":{"certified":true,"limits":{"dc_current_spread_A_m2":0.0001,"electron_continuity_A_m2":0.0001,"electron_normalized_residual":1e-08,"eliminated_operator_error":1e-06,"full_gauss_normalized":1e-10,"hole_continuity_A_m2":0.0001,"hole_normalized_residual":1e-08,"inventory_relative_error":1e-10,"ion_equilibrium_residual":1e-08,"ionic_face_current_A_m2":1e-06,"local_carrier_residual":1e-07,"local_gauss_residual":1e-07,"nominal_inventory_relative_error":1e-12,"poisson_normalized":1e-10,"trap_storage_rate_A_m2":0.0001},"metrics":{"dc_current_spread_A_m2":1.306014100101857e-17,"electron_continuity_A_m2":3.050159524866138e-19,"electron_normalized_residual":1.898651162467982e-19,"eliminated_operator_error":4.745119438736958e-11,"full_gauss_normalized":1.0157853266011525e-16,"hole_continuity_A_m2":2.3302442407614278e-18,"hole_normalized_residual":2.1988482278474744e-18,"inventory_relative_error":0.0,"ion_equilibrium_residual":3.552713678800501e-14,"ionic_face_current_A_m2":1.0746141936931279e-17,"local_carrier_residual":2.399889757619804e-15,"local_gauss_residual":1.3607223821130375e-32,"nominal_inventory_relative_error":3.3306690738754696e-15,"poisson_normalized":4.462389924519623e-33,"trap_storage_rate_A_m2":2.475976908685026e-23},"reasons":[]},"preparation_controls":{"nu_I":1,"nu_t":1},"preparation_policy":{"carrier_storage_atol_m3":0.1,"dc_max_nfev":1000,"interface_algebraic_relative_tolerance":1.0000000000000001e-11,"interface_flux_atol_m2_s":0.1,"interface_gauss_atol_C_m2":1.0000000000000001e-19,"interface_potential_atol_V":1e-15,"interface_storage_atol_m2":0.1,"ion_storage_atol_m3":0.1,"jacobian_check_step":1e-06,"maximum_all_face_current_spread_relative":2e-06,"maximum_charge_balance_relative_error":1e-10,"maximum_current_decomposition_relative_error":1e-14,"maximum_dc_continuity_bound_A_m2":0.0001,"maximum_dc_face_current_spread_A_m2":0.0001,"maximum_dc_inventory_error":1e-10,"maximum_dc_ionic_face_current_A_m2":1e-06,"maximum_dc_normalized_residual":1e-08,"maximum_dc_poisson_residual":1e-08,"maximum_eliminated_operator_relative_error":1e-06,"maximum_ion_inventory_relative_drift":1e-10,"maximum_jacobian_column_relative_error":0.0003,"maximum_line_search_steps":40,"maximum_local_carrier_normalized_residual":1e-07,"maximum_local_gauss_normalized_residual":1e-07,"maximum_near_acceptance_nonmonotone_steps":2,"maximum_newton_iterations":100,"maximum_refinement_current_relative_change":0.05,"maximum_refinement_state_change":0.02,"maximum_scaled_nonlinear_residual":0.05,"maximum_two_sided_interface_total_current_relative_error":2e-06,"poisson_atol_C_m2":1.0000000000000001e-19,"poisson_relative_tolerance":1.0000000000000001e-11,"refinement_substeps":[1,2,4],"site_occupancy_ceiling":0.999,"storage_relative_tolerance":1.0000000000000002e-10},"qf_references_V":{"electron":[-3.261839266691707,-3.261839266691707,-3.2618392666917075,-3.261839266691707],"hole":[6.238160733308293,6.238160733308293,6.238160733308293,6.238160733308293]},"reference_sha256":"0a6532a436dd07e6b27f01da3fc39aef906e6fd882057f0109c1bc5bdf77e39b","representation":"float64-pair-v1","schema":"R1CommonStatePairV2","seed_preparation":{"contact_certificate":{"built_in_potential_mode":"semiconductor_work_function","contact_quasi_fermi_levels_eV":[-4.75,-4.75,-4.75,-4.75],"fermi_level_span_eV":0.0,"message":"carrier reservoirs, Poisson drop, and any explicit metal work functions agree within the fixed internal 0.005 eV gate","metal_work_function_mismatch_eV":null,"potential_mismatch_V":0.0,"status":"certified","tolerance_eV":0.005},"contact_velocities_m_s":[null,null,null,null],"created_utc":"2026-10-14T12:55:55.237278+00:00","dc_state":{"bulk_trap_occupancy":null,"certificate":{"certified":true,"contact_thermodynamics":{"built_in_potential_mode":"semiconductor_work_function","contact_quasi_fermi_levels_eV":[-4.75,-4.75,-4.75,-4.75],"fermi_level_span_eV":0.0,"message":"carrier reservoirs, Poisson drop, and any explicit metal work functions agree within the fixed internal 0.005 eV gate","metal_work_function_mismatch_eV":null,"potential_mismatch_V":0.0,"status":"certified","tolerance_eV":0.005},"electron_continuity_bound_A_m2":1.1884722523649285e-18,"face_current_spread_A_m2":1.3564308165129107e-17,"hole_continuity_bound_A_m2":2.66948328498907e-18,"maximum_bulk_trap_balance_relative_error":0.0,"maximum_interface_gauss_residual":2.9730955593289806e-17,"maximum_interface_residual":1.3827636755928121e-15,"maximum_ion_electrochemical_residual":3.552713678800501e-14,"maximum_ion_inventory_relative_error":3.25e-15,"maximum_ionic_face_current_A_m2":1.0819225542155305e-17,"maximum_normalized_residual":3.552713678800501e-14,"optimizer_nfev":5,"optimizer_success":true,"poisson_residual":2.8560328154994355e-16,"reasons":[]},"electron_density_m3":[2515095827087.2163,1153607227118.4148,7042059078033.982,2515095827087.2163],"electron_qf_increment_V":[0.0,4.3907434182659956e-15,-1.3526508105817649e-15,0.0],"hole_density_m3":[2515095827087.2163,5483414866629.49,898275198963.2432,2515095827087.2163],"hole_qf_increment_V":[0.0,-1.4565744923967636e-15,3.251536552426944e-15,0.0],"interface_occupancy":[7.152881079529094e-05],"negative_ion_density_m3":null,"positive_ion_density_m3":[7.140839205220215e+21,1.0953053598259972e+22,1e+22,1e+22],"potential_V":[0.0,-0.02014949206461468,-0.07338304716536553,-0.09999999999999964],"state_sha256":"bdfa23fa768959f6a002fb714bc549c45144a2e825556ac04abefb32efee0154"},"environment":{"numpy":"2.5.3","platform":"macOS-26.6.2-arm64-arm-64bit-Mach-O","python":"3.13.15 (main, Sep 1 2026, 14:05:45) [Clang 22.1.3 ]","scipy":"1.18.1"},"fixed_reference":{"f_ref":[7.928011033749389e-05],"geometry":"physical_boundary_two_sided_v1","maximum_difference":1e-08,"microscopic_documents":["486dd4d2969cd6d20c1e054c0ace6e892e964173af6af62d3eb736755cbc0d71"],"reference_intervals":512,"rungs":[{"difference":null,"f_ref":[7.954622426871699e-05],"intervals":32},{"difference":1.9901348908252074e-07,"f_ref":[7.934721077963447e-05],"intervals":64},{"difference":5.1012362836127157e-08,"f_ref":[7.929619841679834e-05],"intervals":128},{"difference":1.2861884555017203e-08,"f_ref":[7.928333653224332e-05],"intervals":256},{"difference":3.2261947494337554e-09,"f_ref":[7.928011033749389e-05],"intervals":512}],"schema":"ReferenceBindingV1","scope":"synthetic_300K_dark_fixed_energy_positive_ion_reference","sha256":"0a6532a436dd07e6b27f01da3fc39aef906e6fd882057f0109c1bc5bdf77e39b","stack_sha256":"532ffb44aaf326b597c4d512e5a16548033f5c25e2a3e8fbb4fd079ab6c719ae"},"grid":{"background_positive_m3":[1e+22,1e+22,1e+22,1e+22],"coordinates_m":[0.0,5e-08,1.5e-07,2e-07],"faces_m":[0.0,2.5e-08,1e-07,1.75e-07,2e-07],"interface_positions_m":[1e-07],"positive_components":[[0,1]],"positive_nodes":[0,1],"widths_m":[2.5e-08,7.5e-08,7.5e-08,2.5e-08]},"history":{"duration_reason":"certified equilibrium, not finite-time preparation","duration_s":null,"illuminated":false,"kind":"independent_D_dark_dc","temperature_K":300.0,"voltage_V":0.0},"intervals":4,"kind":"equilibrium_D","physical_stack":{"Phi":0.0,"S_n_left":null,"S_n_right":null,"S_p_left":null,"S_p_right":null,"T":300.0,"V_bi":1.1,"band_grading":false,"built_in_potential_mode":"semiconductor_work_function","contact_phi_B_eV":0.0,"dos_band_potentials":true,"flat_band_contacts":false,"flat_band_metal_contacts":false,"graded_optics":false,"grid_alphas":[2.0,2.0],"grid_interval_weights":[1.0,1.0],"het_recomb_despike":0.0,"interface_charge_closure":"equilibrium_referenced","interface_charge_rebaseline_acknowledged":true,"interface_defects":[{"E_t_eV":0.55,"N_t_cm2":50000000000.0,"calibration_factor":1.0,"iface_state_calibration_factor":1.0,"microscopic_document":{"charge_convention":"equilibrium_referenced_electron_occupancy","degeneracy":1.0,"density_normalization":"integrated_areal_total","energy_reference":"below_reference_conduction_band","kinetics":{"sigma_n_m2":6e-22,"sigma_p_m2":1e-21,"thermal_velocity_n_m_s":100000.0,"thermal_velocity_p_m_s":100000.0},"reference_selection":"absorber_else_lower_gap","schema_version":"solarlab-explicit-interface-defects-v1","total_density_m2":500000000000000.0,"trap_depth_eV":0.55}}],"interface_plane_closure":false,"interface_plane_generation":false,"interface_plane_projection":false,"interface_shared_occupancy":false,"interface_tunneling":false,"interface_two_sided":false,"interfaces":[[0.03,0.049999999999999996]],"ion_steric_diffusion_only":true,"ion_steric_shared_site":true,"jv_solver_policy":"general","layers":[{"name":"left","params":{"A_star_n":1201700.0,"A_star_p":1201700.0,"B_rad":0.0,"B_rad_T_gamma":0.0,"C_n":0.0,"C_p":0.0,"D_ion":1e-14,"D_ion_neg":0.0,"E_a_ion":0.58,"Eg":1.5,"Eg_back":null,"N_A":0.0,"N_A_bulk":null,"N_D":0.0,"N_D_bulk":null,"Nc300":1e+25,"Nv300":1e+25,"P0":1e+22,"P0_neg":0.0,"P_lim":2e+22,"P_lim_neg":1e+30,"acceptor_binding_energy_eV":null,"acceptor_degeneracy":4.0,"alpha":0.0,"band_gap_narrowing_model":"off","bgn_conduction_band_fraction":0.5,"bgn_log_shape":0.5,"bgn_reference_density_m3":1e+23,"bgn_reference_energy_eV":0.009,"bulk_defects":[],"bulk_trap_distribution":null,"carrier_statistics":"maxwell_boltzmann","chi":4.0,"chi_back":null,"cigs_graded_optics":null,"ct_beta_n":2.0,"ct_beta_p":2.0,"defect_model":"effective_lifetime","defect_schema_version":null,"donor_binding_energy_eV":null,"donor_degeneracy":2.0,"dopant_ionization_model":"fully_ionized","doping_decay_length":null,"doping_edge":"front","doping_profile_shape":null,"eps_r":10.0,"grading_N_mult":1,"grading_bowing":0.0,"grading_char_length":null,"grading_direction":"front_to_back","grading_profile":"linear","incoherent":false,"mu_T_gamma":-1.5,"mu_n":0.001,"mu_p":0.001,"n1":2515095827087.2183,"n_optical":null,"ni":2515095827087.2183,"optical_material":null,"p1":2515095827087.2183,"pf_gamma_n":0.0,"pf_gamma_p":0.0,"tau_n":1e-06,"tau_p":1e-06,"trap_N_t_bulk":null,"trap_N_t_interface":null,"trap_decay_length":null,"trap_edge":"both","trap_profile_shape":"exponential","v_sat_n":0.0,"v_sat_p":0.0,"v_th":100000.0,"varshni_alpha":0.0,"varshni_beta":0.0},"role":"absorber","thickness":1e-07},{"name":"right","params":{"A_star_n":1201700.0,"A_star_p":1201700.0,"B_rad":0.0,"B_rad_T_gamma":0.0,"C_n":0.0,"C_p":0.0,"D_ion":0.0,"D_ion_neg":0.0,"E_a_ion":0.58,"Eg":1.5,"Eg_back":null,"N_A":0.0,"N_A_bulk":null,"N_D":0.0,"N_D_bulk":null,"Nc300":1e+25,"Nv300":1e+25,"P0":1e+22,"P0_neg":0.0,"P_lim":2e+22,"P_lim_neg":1e+30,"acceptor_binding_energy_eV":null,"acceptor_degeneracy":4.0,"alpha":0.0,"band_gap_narrowing_model":"off","bgn_conduction_band_fraction":0.5,"bgn_log_shape":0.5,"bgn_reference_density_m3":1e+23,"bgn_reference_energy_eV":0.009,"bulk_defects":[],"bulk_trap_distribution":null,"carrier_statistics":"maxwell_boltzmann","chi":4.1,"chi_back":null,"cigs_graded_optics":null,"ct_beta_n":2.0,"ct_beta_p":2.0,"defect_model":"effective_lifetime","defect_schema_version":null,"donor_binding_energy_eV":null,"donor_degeneracy":2.0,"dopant_ionization_model":"fully_ionized","doping_decay_length":null,"doping_edge":"front","doping_profile_shape":null,"eps_r":10.0,"grading_N_mult":1,"grading_bowing":0.0,"grading_char_length":null,"grading_direction":"front_to_back","grading_profile":"linear","incoherent":false,"mu_T_gamma":-1.5,"mu_n":0.001,"mu_p":0.001,"n1":2515095827087.2183,"n_optical":null,"ni":2515095827087.2183,"optical_material":null,"p1":2515095827087.2183,"pf_gamma_n":0.0,"pf_gamma_p":0.0,"tau_n":1e-06,"tau_p":1e-06,"trap_N_t_bulk":null,"trap_N_t_interface":null,"trap_decay_length":null,"trap_edge":"both","trap_profile_shape":"exponential","v_sat_n":0.0,"v_sat_p":0.0,"v_th":100000.0,"varshni_alpha":0.0,"varshni_beta":0.0},"role":"ETL","thickness":1e-07}],"microstructure":{"grain_boundaries":[]},"mode":"full","phi_left":0.0,"te_physical_norm":false,"tunnel_mass_eff":0.2,"tunnelling_channels":null,"work_function_left_eV":null,"work_function_right_eV":null},"preparation_checks":{"certified":true,"limits":{"dc_current_spread_A_m2":0.0001,"electron_continuity_A_m2":0.0001,"electron_normalized_residual":1e-08,"eliminated_operator_error":1e-06,"full_gauss_normalized":1e-10,"hole_continuity_A_m2":0.0001,"hole_normalized_residual":1e-08,"inventory_relative_error":1e-10,"ion_equilibrium_residual":1e-08,"ionic_face_current_A_m2":1e-06,"local_carrier_residual":1e-07,"local_gauss_residual":1e-07,"nominal_inventory_relative_error":1e-12,"poisson_normalized":1e-10,"trap_storage_rate_A_m2":0.0001},"metrics":{"dc_current_spread_A_m2":1.3573296798458702e-17,"electron_continuity_A_m2":9.76920691310735e-19,"electron_normalized_residual":8.080522568274977e-19,"eliminated_operator_error":1.5906958548636093e-11,"full_gauss_normalized":1.0157853266011525e-16,"hole_continuity_A_m2":2.727538274679383e-18,"hole_normalized_residual":2.668893970817188e-18,"inventory_relative_error":0.0,"ion_equilibrium_residual":3.552713678800501e-14,"ionic_face_current_A_m2":1.0735534393158279e-17,"local_carrier_residual":2.6500440546381113e-15,"local_gauss_residual":1.9343428360014444e-16,"nominal_inventory_relative_error":3.3306690738754696e-15,"poisson_normalized":1.0829780569963483e-16,"trap_storage_rate_A_m2":2.475976908685026e-23},"reasons":[]},"preparation_controls":{"nu_I":1,"nu_t":1},"preparation_policy":{"carrier_storage_atol_m3":0.1,"dc_max_nfev":1000,"interface_algebraic_relative_tolerance":1.0000000000000001e-11,"interface_flux_atol_m2_s":0.1,"interface_gauss_atol_C_m2":1.0000000000000001e-19,"interface_potential_atol_V":1e-15,"interface_storage_atol_m2":0.1,"ion_storage_atol_m3":0.1,"jacobian_check_step":1e-06,"maximum_all_face_current_spread_relative":2e-06,"maximum_charge_balance_relative_error":1e-10,"maximum_current_decomposition_relative_error":1e-14,"maximum_dc_continuity_bound_A_m2":0.0001,"maximum_dc_face_current_spread_A_m2":0.0001,"maximum_dc_inventory_error":1e-10,"maximum_dc_ionic_face_current_A_m2":1e-06,"maximum_dc_normalized_residual":1e-08,"maximum_dc_poisson_residual":1e-08,"maximum_eliminated_operator_relative_error":1e-06,"maximum_ion_inventory_relative_drift":1e-10,"maximum_jacobian_column_relative_error":0.0003,"maximum_line_search_steps":40,"maximum_local_carrier_normalized_residual":1e-07,"maximum_local_gauss_normalized_residual":1e-07,"maximum_near_acceptance_nonmonotone_steps":2,"maximum_newton_iterations":100,"maximum_refinement_current_relative_change":0.05,"maximum_refinement_state_change":0.02,"maximum_scaled_nonlinear_residual":0.05,"maximum_two_sided_interface_total_current_relative_error":2e-06,"poisson_atol_C_m2":1.0000000000000001e-19,"poisson_relative_tolerance":1.0000000000000001e-11,"refinement_substeps":[1,2,4],"site_occupancy_ceiling":0.999,"storage_relative_tolerance":1.0000000000000002e-10},"qf_references_V":{"electron":[-3.261839266691707,-3.261839266691707,-3.2618392666917075,-3.261839266691707],"hole":[6.238160733308293,6.238160733308293,6.238160733308293,6.238160733308293]},"reference_sha256":"0a6532a436dd07e6b27f01da3fc39aef906e6fd882057f0109c1bc5bdf77e39b","schema":"R1CommonStateV1","sha256":"c5ea1ff0b71ff6a76bec44a682f73c87e6136afe6cb32b603a49b69d6408b4fd","source":{"files":{"__init__.py":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","_compat/__init__.py":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","_compat/numpy_compat.py":"7ffad9557713ecbbf191d8e684d56c55cdcac029b2b2448077a5bafdd5747d50","_compat/scipy_shim.py":"33ce6c210cd8101db695350a227d6886f99bdaf5acce5e0e4984b3cad2cd1fa3","constants.py":"9ae428b44bbe5f475b638d9c3339e69930249e2b1c39ba0acbfd0764fcaade76","data/__init__.py":"60cca7d1762c831541e6c5b744668e8550d846f807be868cefcff5805a46a1b6","discretization/__init__.py":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","discretization/fe_operators.py":"b3ab0cf0054d5aa1ec7e5fcd27b93d2ed09b137d043080a0310a219d3ff1154f","discretization/grid.py":"7d3ff321c2609efd51a41f29fc7936ba09914ff684f25322a11b8776cf96bfbb","experiments/__init__.py":"e060aec00c05f70d1dc2d433f9c0d922b59ac2da788ffe7fb6dd2bdfb16bad76","experiments/band_diagram.py":"6c413f63586280e9fd768944e525169f54ab07301efdcc60a2b01cafde8aa2e3","experiments/bulk_defect_ion_transient.py":"8ca8b0e93eb8b26efed35acee8da8fb9d3f6b35fdaeeac0ff7b2d8764c7e13c3","experiments/bulk_defect_transient.py":"f8974270a92f5b5aa0564dd748dac870b693c0dac087d8486c77a72a94bff2fd","experiments/cbo_scan.py":"23fbf41f3cfa8aea669bc914d5334b873f3cc0b3edd9a308a52bc432afc27a6a","experiments/dark_jv.py":"7dd01ad1fe88fb0ac2d8d69722aebe8ec5d2cdedd2f5c0f149bad2477759540c","experiments/defect_aware_impedance.py":"7a885ca595e18faad97580730d99280db00c6aacb0b41da41ceecc12ab323600","experiments/defect_ion_combined_impedance.py":"026c14f5e56cb1fa3ad0658535248fb022b0e69e66198c67a802bc62aa4a2038","experiments/degradation.py":"bc5366e74e4d95f69bcb995b134aefa64355850482ae1bd442c4b713bcca5e20","experiments/dynamic_defect_impedance.py":"001cc1766638312035f63ffe7a337facec11f1373ec5fae0707f8b28af0bfb28","experiments/dynamic_defect_transient.py":"393424b5a45726f801e43c16eabeebd950ee8091ef8bbf10c9ef36855eb03ac4","experiments/el_spectrum.py":"ed1244ae4b0247522a9a0e0b1a97a80f27fc7bf588e46d51fd8cc5571439520c","experiments/electrothermal.py":"a9c3c142335afb0fe49346858a8a77ea79103e89af4d73045d0e4024085a6d9f","experiments/eqe.py":"dfcfc051af754ccb58c126728ee80b3bcde86c2c1637ccd0eae3e92d5caf7f99","experiments/external_circuit.py":"0f2a6fa803686536e5626a5144b780012242feed86de44550bcfc12d7b13dec5","experiments/identifiability.py":"fec82a43d7da9e29f0ca43441511e5dcae51c8384f0f0eeac338ff7ad9302f88","experiments/impedance.py":"bc77a24eb7a2eed0ed8cc4a3c3f374378a5654d2906dd88622fe8b5fb19bc11f","experiments/impedance_frequency.py":"a60788b03a859df4529bd67eec5ea1b967c55014063d80a26d706e169c6d9ba8","experiments/interface_charge_jv.py":"fd8cd5a4776d27e753c959a395f78829fadaeb6bb883098f2e7d8d9642b2c446","experiments/interface_defect_aware_impedance.py":"ce8efd94278348e7e05745c59648407c1eed75ba137e8a07c26ac9ea71f5a05f","experiments/interface_defect_ion_transient.py":"8c3298a7b5a1b500a175a7687c33248efeb1a8a36794ffac5a4986a02b22a573","experiments/interface_defect_transient.py":"1858344ffce785e22837c53f5cb0bdceb332666fb26e883bd54b135fdbc27efb","experiments/ion_aware_analytic_reaction.py":"213474f49d2b735c1a96d89974021dbf9c35cb9488b2eb741337fd16aae7c22c","experiments/ion_aware_analytic_transport.py":"072498cc475ceb5bad0f7fc8bc1c60c050efd3e6d2a5cced96288ea2d77755f1","experiments/ion_aware_dc.py":"c3d72e92929e2485c41f2f282e58082ea5415f1ffba176edcd08939d9344f798","experiments/ion_aware_impedance.py":"74af302cd7a071e69d60b01d07371ac0e8ad9036c1ec4063175c442e25b01892","experiments/ion_aware_impedance_grid.py":"f43cb2c7003f230012da25a3cae228bdd37c49a6707a0ad0f75e5d0b967baf5b","experiments/ion_aware_impedance_lockin.py":"8796d2885e7ae3114a6e82afab5edb2f41e78d87345fb3ff282605b88a70053b","experiments/ion_aware_structured_jacobian.py":"c4b6e6953600bcf1f511717c897dc8af9a390e18501091143c18470b086d82e9","experiments/jv_sweep.py":"428fbe1c421192e2495ac94fa171df42f2be94dca7733b7a5ab2e07a9628ef96","experiments/metastable_preparation.py":"cd7efc45fb80d64aa4c669b2752e80cf294a0a7e523791de4fa958839d9d0ff8","experiments/metastable_transient.py":"1579c39f88f6c0df5b69272bd26d01ad949ef591312ca28df3db93338727db1b","experiments/mott_schottky.py":"862b0dcadddd5b2097f313dd64b01e0d49b54219109d510f1cab71ac5d8e280b","experiments/one_dimensional_mechanism_r1.py":"637bc790dc09ec0632b733bc72e3fdcacf20dc017efc88a8fafed7dd927fb116","experiments/one_dimensional_mechanism_r1_admittance.py":"4b1d7ec8961d75a883fc03a7f87c807f36670262921004c0def3af8185703c72","experiments/one_dimensional_mechanism_r1_backend.py":"630c2a686547e269ee406ba301bb44b078de0c2a939ab5f377784d4bf77badb9","experiments/one_dimensional_mechanism_r1_baseline_electrostatics.py":"e902d51d33e407357b9a8b2eec7738604f9d975c5082c46a7c87fd481c45c0ac","experiments/one_dimensional_mechanism_r1_baseline_initial.py":"0878c56a738f64cc51c5ad8907c02650132a31721f278b3faf2a8d12db909b77","experiments/one_dimensional_mechanism_r1_binding.py":"376ce06d1fa83e8c99bd5f69a22eb9778d903c6f20a755078a6a68c0aa562417","experiments/one_dimensional_mechanism_r1_checkout.py":"0ed9fcfbc10a3b6cf44233594fe9c31622fe7a5ae9b3fa0ccf9b71785afd97a5","experiments/one_dimensional_mechanism_r1_convergence.py":"a8e2b9738d551a5b5132cc3d99b57e534a0c5b5d4f7ab94e24f4c464406f1ca8","experiments/one_dimensional_mechanism_r1_dynamics.py":"64d2fbb4bbae8e8e1b887f5ca0e8fd312d4b5cb5bd1faa5ecf31909048f995af","experiments/one_dimensional_mechanism_r1_evidence.py":"4f36080be9a878e6f0cb7be3ebdfdede78a897e34e3912b47a249e607eb04a07","experiments/one_dimensional_mechanism_r1_execution_validation.py":"4b8615e0035e6bf338731183a2bd1ffb613853dae720e6719ecc9dbd9cac3371","experiments/one_dimensional_mechanism_r1_failure_reconstruction.py":"2d6e23142c8586d42f4adf67fb22731eaf2efaacf6cda685df696a32f5d78ecd","experiments/one_dimensional_mechanism_r1_failure_registry.py":"64abad5af4500a9becc2ea36de36b5905a7710a849221ce8a941dbb6498c6a77","experiments/one_dimensional_mechanism_r1_failure_witness.py":"de74434dfc6368a86642a789befbe1dbcdc17c7ca726e237c3328c19b1876d4c","experiments/one_dimensional_mechanism_r1_global_reference.py":"f5ba16b4778827f1321384e3497b73d1cf574e0dfdac93eab09bd49fef2331bd","experiments/one_dimensional_mechanism_r1_history.py":"2921971011ba1aceaf105ffbeceb31f3eb533883d73704293ddf247a631eaad7","experiments/one_dimensional_mechanism_r1_independent_physics.py":"03db33ccf1005c5afa0cad6b86acae52bd60e11c0d36a7df68a7bbdc3f4cbdad","experiments/one_dimensional_mechanism_r1_independent_regular.py":"af4ff60f6e6a573e41a0fb885a5f019ee6c48461f99f0d341058c444a99500b9","experiments/one_dimensional_mechanism_r1_input_lift.py":"65f85c06a38be9cd41ec3ef344af34d1baeb300a012c47df71ab5d658b9e821f","experiments/one_dimensional_mechanism_r1_input_lift_codec.py":"db2ef01419458819ef006488c7924944b6065174ca1c02da24288a66e440f299","experiments/one_dimensional_mechanism_r1_input_lift_continuous.py":"5d76a2cdb27ab4188e2663fd09d08b1cf6e4c936f455cf615fd98da5113036a4","experiments/one_dimensional_mechanism_r1_input_lift_reference.py":"a566ad00c277b1792b61322ab4daa2d2c8a45070bb40b6a4f6de7bb2ba16b0e8","experiments/one_dimensional_mechanism_r1_local_carrier.py":"c6ace0463271ec3d6222300c55d707a61e1cceed1cca5c4b2f869f466cae7ce7","experiments/one_dimensional_mechanism_r1_pair_codec.py":"a2c23d94bdc0023ef24777613e6e5af70867bbd1759071381d64bdd47446b912","experiments/one_dimensional_mechanism_r1_pair_response.py":"a3a8bbba73ede8e23c7d29794bbd9fb28de6138de99f9fb6d7437ef9884a8da5","experiments/one_dimensional_mechanism_r1_pair_spatial.py":"33159889475b12bd7d7f29ba8d0a6cdd6fd8fc91c5c77c5eacc4a6f5392f53fb","experiments/one_dimensional_mechanism_r1_physics_validation.py":"6dd8d4e4fcc22697db717bff075ed1a2f875141cc3396280e7f38e34209f5af7","experiments/one_dimensional_mechanism_r1_precision.py":"aebb040ed5f1319e5541f9104886160a0cd2f63b1ccdd366d9de1739a8e71395","experiments/one_dimensional_mechanism_r1_precision_initial.py":"7350e1bf4bf2c1d14c36b22bd60ec9b844c8b558030c99332489d310af051c17","experiments/one_dimensional_mechanism_r1_precision_physics.py":"c5353e6aff99888175bbce038d6787bd97385526aa228089253350da1fcc657a","experiments/one_dimensional_mechanism_r1_precision_state.py":"1c31475237b2733a6c2d319f34c30bec35277b3fb671cf2f1c993ad42a7e9b1e","experiments/one_dimensional_mechanism_r1_protocol.py":"7b053566d7931c7e16fe60ed46fabd9ca9a6c82461bc6116348ceb69dc8d4974","experiments/one_dimensional_mechanism_r1_qualification.py":"deb20769c349ad495a5f30f4c2420c1b1fedf495581063e832de9ea7d07e9715","experiments/one_dimensional_mechanism_r1_qualification_workflow.py":"bb4057871e5f535f69c10050a19f1f086709caf89797087be7354b862e11fca3","experiments/one_dimensional_mechanism_r1_replay_receipt.py":"be0831fca8efe0ad1fab2dda20c93f8a2db07cc6df9239f794c6ce53de6c2ee1","experiments/one_dimensional_mechanism_r1_response.py":"46c25ab45885c1ed966dc58ee044d55b66ef69070b90184310fc5682670d7b51","experiments/one_dimensional_mechanism_r1_result_contract.py":"5c004525405ed95e4e277e516ff3a95a8009bea230c0e2f5c9ab981000552cd5","experiments/one_dimensional_mechanism_r1_result_validation.py":"bd1e025595c6c2bf538b61bf71af5b4bbecbf89aa5f5fe799c0307a08d213450","experiments/one_dimensional_mechanism_r1_run_record.py":"b51679bc00233a7bd4a5bcda46c61391bb0409aaa8eb4b5953bd2a0f5ed39997","experiments/one_dimensional_mechanism_r1_spatial.py":"25f324db38057202e00f1c4d9cd09e201bdc502b4234c7e7257b95424eac83d0","experiments/one_dimensional_mechanism_r1_standard.py":"73669da8d7f08184dea9e89f19c79442d6032b9ffa1769da449ceaf8da677cba","experiments/one_dimensional_mechanism_r1_state.py":"49bca65cf639024599781bead35db5524e5d61429efdc92bfb84e742af99422f","experiments/one_dimensional_mechanism_r1_step.py":"448d03cf4fd62dcd7f18dc6db5d90634b9650848d2dd31fa2b3fabe9cf1ff44b","experiments/one_dimensional_mechanism_r1_study_request.py":"2697b42197b9d80f78e1b3ddd0dfa697519ac8857a1553eb9e818a7f284b85ee","experiments/one_dimensional_mechanism_r1_study_response.py":"efbc793159c28bc12be9cb44e6ce3e5327fbc04f6eb7bbd186f35c68b4f3aa63","experiments/one_dimensional_mechanism_r1_window.py":"977279c8fded7555f0fc8a879e13fd29c908010e8633640f78500ee9042d7fac","experiments/open_circuit.py":"f02036a172b26ebc7723e350ace7d9a91fc07b7bc04ed7d638d39da54feef798","experiments/protocol.py":"427d372bd2b28bc2c9b6b924ea4cafa42e7315decf5385664f74bcb19137beef","experiments/quasi_fermi_impedance.py":"dbac8e42fc31bc3ba1d42aaa755100b99a627c04667910f6eff2452ee5359e22","experiments/quasi_fermi_steady_state.py":"f8fc4b1f4274fd154e956b42d2d0d715c4b8045ec84ee50de2798023e5b14fc4","experiments/steady_state.py":"55580e14e075de0596e2a8e6e55e0a16f2c9581be380f2bb3bacbae2b5d1edbd","experiments/suns_voc.py":"6bea3aa6645d9cb1d68786f3dbe6aa02d39bef81664f575eff2d43b9c694c887","experiments/tandem_jv.py":"d13960a2114863df754d8102be1c1d098d52d9f7ede1f97c9556b50ad653bff3","experiments/thermal_balance.py":"987516eaef3fa53c96b544e02637076f21478951ecce193441f5b33696b8bcb6","experiments/tpv.py":"4827229c6e7dba18e339ce44611eac3152f9e6b1bdd63de237f17ebc61766cb8","experiments/trap_small_signal.py":"de614e89798d08a7b067bef26bacc68ca6c8dbcfe71f64c3d4ec2e779033b8c1","experiments/voc_t.py":"2ac2c4648a009659879a5a4f0a45b2649140541477ece69d36b2a2d0e5529703","experiments/waveform_jacobian.py":"dbf0f40dc191c75a35d01575c27db0e46daa64af522a6635b4218327c4909226","experiments/waveform_jv.py":"cac7648c136190db6bca65697cdb3200ab7b57e81787736a67d706cda333d1e7","models/__init__.py":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","models/config_loader.py":"f25dd749fec6e2e755cf18d221986efdc323b6f2c22e92ec7297577117442bb2","models/current.py":"483c1d91b0b480ef0394f3e6d201a18983928c17410a9ffebbf9510b5cc73627","models/defects.py":"0bf3cedd435ff8259fb436bbcfcfa3aa586bdee50f89caba161e162c6913159f","models/device.py":"abedb9e39655a5b54997968a7bfa4d1664b7493475dc8e7c55fffa68195330b9","models/el.py":"b239391d045dff27ad44ecbe022dbaab337e6d4584600430dc1a454a1fce5f2d","models/interface_defects.py":"8d0ad0057410b42bde00d2cdd17a765f94a5f2d95ebe51a1cb815d24553084bd","models/mode.py":"7464cf8619401997206fed5b23cded0a361ab6064f6b06a2449fb9f13a700688","models/multivalent_defects.py":"dac4f0e32804b59126a16629b4ccb377fb71e79a8b270b43283df851c97256e6","models/parameters.py":"0555a6c9280431889b34328bf1e513c7e6d6789368ea858ff3e1ea5a60db7d9d","models/spatial.py":"bf64684bff565bc6b26feb49c54ac1b5d2d403df51729f4fb57ddd276307cfb7","models/tandem_config.py":"9aaf4e1fb87f43950c96cabe0ac309cd3416673848b80889fc366be32ad2b595","models/tpv.py":"af4af1e7f4554ccebdcf20ba5a01db3fb3f5656cb47a3de8ecb33816f9ca0d84","models/tunneling_channels.py":"988195babef2c7390bfacd0f849b91a3802abfda3e742332642c1c36a610a114","models/voc_t.py":"e7199c3c9af9d3224a8005d32d3037d34dd53c05c53c2e3562ed1b31b1243e68","physics/__init__.py":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","physics/band_gap_narrowing.py":"ee7fe97002c19364750f4aa07be1dc150c2acb450ad74ee637d5b8cc783e0a78","physics/bulk_traps.py":"4a78fabe85de747b81c03fc32f7095b01a68cafe7921d01806cd314f3cb4801c","physics/cigs_optics.py":"a7f1cac165c04f8f5d21a530987d65d10fa78af04c77b7e1382149aab59ca811","physics/compensated.py":"48235c68776a31db04191347b506222c07f1837960fe0658da4e1c65f25a3204","physics/contacts.py":"a8bc9a2938bd979ea9a5265af8785480b554ef723d4968b0ffdced8b8231709b","physics/continuity.py":"bfbb34a3ea772a798385b8ef083aa9857eee3f0d08e6a3e9f8f1fc0dfcb96df6","physics/defect_closure.py":"e8571cdd4878a75285de44bd9ecadbd9c9c3b296d88c3b62ff5ec1f478da9677","physics/defect_distributions.py":"635b5e5285d0c87de325edff7de745b398705eb8537495435f05f32543542a5e","physics/degenerate_transport.py":"5387116677839a6ecd3ba6ff261d9e8b881e850ab356255551d0c04165445c1f","physics/distributed_defect_closure.py":"1725704eb365858f120727646dcd3b3d8ffd9e69912a04a84b23285367106587","physics/doping.py":"883d705622066585d1e93027105ed9cb6094b0bb94bb28e574f1097a5ef3c599","physics/dynamic_defect_state.py":"0923b57f53583afeb95da7092a45c7ab98a58579177525bcaf210c796d84a6af","physics/dynamic_storage.py":"c0179c0144e9dadfd0abf959b78088eee91d35abf787a280a51079851dc5e006","physics/fermi_dirac.py":"f5cc9d0b9dbbcc80ea51cb8c3c843dbeff722a44eeac732d9b333e2bc0b71878","physics/field_mobility.py":"62ea0880e8aa05cf90dc0928f6bae7aec2caa132d69338661bff856a4d441737","physics/generation.py":"862c097f31bb5bab0e7585a4c361e0e7116010f652d7b6345a9a0de80caeac65","physics/grading.py":"286c5347a808199717740f2366d08bf89a8e615eb16ea399b84e1ddf40d1fe51","physics/interface_plane.py":"7e8e9344d8f96b04b565986879ad9c67bd36d54afa3de90ee39de264a44f9dee","physics/ion_migration.py":"19c0b83485c5e1b61dce5ad8fc05b75202a40c383d964cd4bcf38889a5cbda35","physics/metastable_defect_closure.py":"638ca6b638cb2ea19386b7d5d7c584f056495d9ab2f25e2a88e4807987b0e62d","physics/metastable_defect_device.py":"fea38276765a05be67fe0305cb63c2d148a8b3f06d4bac5ad5f5673132329c68","physics/metastable_dynamic_state.py":"6ef5427bacdabe6172ad33f5b68b4985b255d85fc22e9c8a0aaf54387801aab0","physics/multivalent_defect_closure.py":"57c684618c87d06521e048da20f3fc38dc3dab2c6221e4e88c66d404a8cc5648","physics/multivalent_defect_device.py":"5a631290005479e64529eba52f8273a8453baba1b1be4345d2c0f4e0365fafa3","physics/optical_stack.py":"ef897393af20ce1a3a096e6db2d3a9b3482ca590ad71a294057124ceb6746543","physics/optics.py":"de249b529cbbb1681a886b971e500d442fd3a74cbc48fd97e471cef84bcbe656","physics/photon_recycling.py":"cda651b7fdd7c202ed308d3a0e063c1cedc4ea76d7b0ef61db65e9ffcdc3d9f9","physics/physical_control_volume.py":"7ab20365a9f857169a8b9e2beb3a00c5129440e934e7f9875595c85413dec245","physics/poisson.py":"cc59b0210f019561cfea8903cf7c0c968f4d31ceefffaca6092d09286b02bed5","physics/recombination.py":"ec52279e65616a916c586818d3b6bec9ebe1bb7040a4a451e85e5785222726b9","physics/regularization.py":"32982af462fc430d518017579ea9c403dd3382be2f883464bc088b58a5d84539","physics/statistics.py":"f790b5df608ec54ff64ebd1a3203bcec0a00d1bfbc2677a29ccd34208fc29a01","physics/tandem_optics.py":"cdcdb0bf230b1bb49579c15c1286f29d928328482e75eb66de8a9a733b9d4658","physics/temperature.py":"bd21a92f32802cf228379c1ccdf4600b50290ffd2e78314d099f7fddbdd9fc85","physics/thermionic_constants.py":"729d2c0df0e8c441404af203fd77b057a90c30b67fd268d873c32585067f979c","physics/thermionic_transport.py":"996e4f1d46a10740a28f133a549ef7a2e190e72c0986b7a420a7c8f3fcfdca3d","physics/trap_kinetics.py":"9c3be44d7ef32773db38735cb6cbdd97cae68cfdc46f9ec60154a2b54c25efad","physics/trap_population_response.py":"64f5733bbaddceea323fa63b572abab133eb4c93bb1e88719cb156f483ad4398","physics/trap_transient.py":"a6b762e7120b8aeb557afab5fdc679f7d8c532f48100523edee632fd4b66e998","physics/traps.py":"2b4a2e6aee8471963fa392f295fb805c92a720340d77a757db2702bb65c7c2e6","physics/tunneling.py":"661bfbe9f825c2a23b334efab70452fc1320ca7e791e6bb4cbe810a2847864e4","physics/tunneling_channel_device.py":"8263d4f3675dc9fd775507be11702d5c916e3a4cecb47f57567601ab8e73292e","physics/tunneling_channels.py":"9fb2633b715d57a3e22e08da089ad98e584804a39e7d067c6649b9fd77959a36","physics/two_sided_interface.py":"c5c203480aa72343ccd1753c4fb8f42b5d4c792e81ba896de350fe8c5e272642","physics/two_sided_interface_compensated.py":"1460f59994ec5e66c2c9b0302307d7c114dac1819e10153a28fcea123e5c6bc9","physics/wkb_tunneling.py":"10604094f39fa7cdd50edd72d208e74564c0cf1e4439a57339af75dcf18b58f6","reproducibility.py":"83df5ef085a5ea86f3850aa2dbef10c09b43d3b037f344b1f66f686b2c182cd4","scaps_compat/__init__.py":"907408bc91357313a419c3c816a8351e99d770ded9dfef0a13a03ec56641801b","scaps_compat/defects.py":"afd98b29aa76cf5bdf01f291f6d289cfa7be34859ff2528b82ddcd57a77d2ca5","scaps_compat/distributed_defects.py":"23e0ea44ae438ce57cf8be803ff52ec53ce635cd0904c9a60cf41cd880f82c63","scaps_compat/loader.py":"a03a31b81497df6118592aebce7000befaa1d5de787ad989d880c263000e0cd6","scaps_compat/materials.py":"297634e0f0705a75e7866fcb9ccabacce8ca3feb76de6d7d46deaefcbcf0a424","screening/__init__.py":"5c940f3ec0943fb4706ae84921fb61a127e3acc2ec07a94f18db7ab5ae5fec70","screening/evaluation_report.py":"33746a81a20deb52d71223f69e57028205818bac2f33179ac2deb9e1d070ee5f","screening/solarscale.py":"67db4312f6bb1473e6d3cfd3eabd2b85dbdaf004e9f592c810485ff1a69b0bff","solver/__init__.py":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","solver/bulk_trap_equilibrium.py":"3f7bc1478b70eab82668e3db5b6b5cb457d92aad8f0fe1548c00d07b833d1f55","solver/dae.py":"0836cedbeabd5a211611c217776bc7a045197ee501373e8a2b240b062134d0cf","solver/dae_dual_ion_integrator.py":"32d228da12825ec5fcfcf654935c5a460e89b49e36368ff8f9a6f359c0ec65af","solver/dae_dual_ion_jacobian.py":"53988cfa8f6bd7af1877b5a8e76293b91527d8cd7b93b19389b5491a99b69971","solver/dae_dual_ions.py":"a513f262079d514e1636baac3bba043fe9612c4d0d5cb456adc65ec33dc229e0","solver/dae_integrator.py":"865f6631d2c3946252ab5e1c128b502a5d80f814f83ffa205c00d5f0450aceb5","solver/dae_interface_integrator.py":"b292418064b15fe9e3af51eebe9ef2048076171336742beb4c196d2b30dfa1d2","solver/dae_interface_jacobian.py":"5785e57455da3b882eded59bb9621cb21bcac52a7b68e5e2ba4fc3c0300e8503","solver/dae_interface_states.py":"8771d8e18d570ee3fe1dc9ba176d9580b57b79d9b1df8f00368b7ff54ed0aec2","solver/dae_ion_integrator.py":"32bb220c3928d99a41f0f51155f7fa70fea123b1e5ad3b1f8d58c2181a1343d0","solver/dae_ion_interface_integrator.py":"ab6d6a62e7b196261443381a47bd6f2951191083efb201844ef6d82f3ce1de5c","solver/dae_ion_interface_jacobian.py":"f5736725822e4cb4beb62e7b138e227f51a41b2dc38a8c37c274345f7d942ce9","solver/dae_ion_interface_states.py":"b0dee976889a4b8f237f656b822c017fa1039cdc3d49518251cef237a6dab541","solver/dae_ion_jacobian.py":"5edac1c030aa76e509cc87db8f83edc61280088e2e342b6aecfa00fe2d1d5c94","solver/dae_ions.py":"b594d7a347ce0aea6efa834a17aaa498e687a1d14b100fe7c15f5842e36966ea","solver/dae_jacobian.py":"1b775ae891b2323046742dbdf6ac967a569f3e8a5de2ecab959292fabade5640","solver/degenerate_equilibrium.py":"9a88670d4c8a04669fbad681f6e45a7571c9b8fc90ab10c36750159a562d96df","solver/illuminated_ss.py":"489d3d68dc7e2a6877bc10d91152cf8504f6b878c2a32b19a622f9cf4c1aede7","solver/mol.py":"1c02ff41356cfaf75245e3e9e3a0101064d43a766e9e416053ea1e75ef54b61a","solver/newton.py":"db4c2096108f7c6820dc900ea14bb03cd780d29212ad0fdedd290db84c95d3c2","solver/numerical_diagnostics.py":"4796fc14569386dfa5fda1b2897e1408d9f4865ad411e3faae4196aee32ca22a","solver/small_signal.py":"6b7578321b0fda1ef6ac9a48db44f6306c2bd0c65904a98229e07a0098740adf","solver/tolerances.py":"1a193fb904bfd593e7581c9c3a25f51e245bbb72ce6b9fcf22bdd9196170e0b6","solver/trap_transient.py":"a417a7a2f8c17932a617a7406a412a69cfcd5665ef1f78483a91b569ce209331","sweeps/__init__.py":"213b7f734a96a7052958dd310a26de922d352454f7813297032379c4b071f783","sweeps/device_parameter_sweep.py":"70d4185f1918ecdc041e057c23a7d78380d3c872eaa2a9835acb8d958109fce8","twod/__init__.py":"01dd4fc6ae498e9286352e375b3a4c7a6831c4965aeb0d86b299f904aee08d79","twod/continuity_2d.py":"706f356e8ee40c2de1b5aa52b70bfa3b99911dbb2b1e92c1b4371aa57e75e870","twod/experiments/__init__.py":"0135cf5154cb590920c85b4b914c6b28773ffb1c01b36a1baac285e9fc3c71eb","twod/experiments/jv_protocol_2d.py":"d5b22910f9c7cdfe5dd2eb037f00275f44e2fa3f177a05035de19475ec3f7acc","twod/experiments/jv_sweep_2d.py":"4d57ec5df5599f25237dadfbf202ea24c899454905834245fa498bc459afad69","twod/experiments/voc_grain_sweep.py":"46cd3258d5f9cb603e1b26571d3381ca35ee2ee61277f2b0e5a9e21a62e853ff","twod/field_mobility_2d.py":"137bc63740041a7158be54757e98209d6bdd1dda0d0f6c4e26ab7bec71194a18","twod/flux_2d.py":"43c019705a31430d84bdb888c926be0db9c7b13ed4144e6d3c8fb28ee1601d64","twod/grid_2d.py":"69fbfead2f8011a34665303be19ae7f2bad939cd111bcdfb66b5b7ab57995818","twod/interface_recombination_2d.py":"5a43d3b41b89bc8517939536302d59c272cb282ac0451870ce48b9a66f119388","twod/ion_migration_2d.py":"c4bc37d818b97732dfea3ab44ab305ef047f0381cfd80c1891976ba1e620bc8f","twod/microstructure.py":"60d06d32976305a4c29b04e7f46188e8a916e007048a9c6507c680e6d4b6ab35","twod/mobile_ion_current_2d.py":"9ecdb504fcf7302ee02a5cf00c0312f71547ac76d740d4b0dc700f2031a63c02","twod/poisson_2d.py":"bfb1a98beb235d923a10da172bc77501a21b18faa0ea74865ec78a5b021fe25d","twod/radiative_reabsorption_2d.py":"5dee50750a3fce10f37c53b781f9b3fd5c0920844ddd943cdd97dc2a1fb98434","twod/snapshot.py":"0ec4141f593f29ac71585f3b1bf99ee73ed7ef451298681ad7f734bac9682d11","twod/solver_2d.py":"75630674f85d27e86512affaa5600d344b0da672842f8a53698efc42cd1d1289","validation/__init__.py":"f89bdb1d0e95a5a33b04c6afb9471fc7e5a0bd008c62576eafefb6cfe595cec2","validation/bgn_refinement.py":"f5989e3a00a1f298df257b0b893a965e3778d13c155a1296705aff75de2528f7","validation/bulk_trap_refinement.py":"4415153d3c30a2bda68b1dd54c448bd32f4e1dc21222a91f553601beac1ede0b","validation/charged_defect_refinement.py":"c15eef42f9122d44b87391c243b03d526d22d269fc830389dc89001f7aa11a34","validation/cigs_optics_refinement.py":"c699faacb47b73d18b047af80530f73bfd52619f9ba8136bb2e2ec60488d8b04","validation/dae_dual_ion_refinement.py":"9f8727804890fa6ce487f9302c14d75a8472fb44644f7fd151d3a2b4b2168265","validation/dae_interface_refinement.py":"b99bcf748f7c7321379eb16fe2ec62ee4676dbe200cd0fd9b94b79644eca7159","validation/dae_ion_interface_refinement.py":"9e9ca60cb1b64b20ee3c912753c4ab72c71b7e2f9a5c46952315b2e722fca725","validation/dae_ion_refinement.py":"178482916aa1a7c8cc7af87ce4afdab722da1cd0ee882d336a4cf73e609faea5","validation/dae_refinement.py":"a8cf931308f66c5184d852f4457dd29ba6f5b46d981c21cda7a1ad5104076303","validation/defect_energy_refinement.py":"c6b39d4d5bf977b626ad283a928bc2eea2b0726df4f2a0d178ccb9f7c11dd8c8","validation/degenerate_refinement.py":"46075723655aa34b33663664d5506f813484b3cd1a28aabde585043d13294c57","validation/distributed_defect_refinement.py":"86fae54f0c9e8ab8394ccb7db57ff70b144cc1966b1487ed7d87172028931016","validation/dynamic_defect_transient_refinement.py":"b7b87088a5de7af25bd77a15897f5641dad707da06d4073606b3536595e495c1","validation/electrothermal_refinement.py":"07010dc8c5ff08fa75a88fbff0d8210c8e878c25253bfb4ad942db5ad68477c3","validation/external_circuit_refinement.py":"cb8453da1c93bc1c47ecbd61a70ecffe0d4eba50a8bd42a0c2e162da085143a7","validation/foundation_reference_refinement.py":"aa478f90f055d3dd27e9382c2c7b55d61029f0135672b7d1f2f3358436ee8aa7","validation/grid_convergence.py":"fab7c25a0c3da63768f3c99ad90019888d7da94fdac04d44062e38d9c9004c30","validation/identifiability_refinement.py":"d66f0a39a4e7b2e0af5e4cfc006b53a86f432e3c4273d59c08c3bbfd0e4ced52","validation/incomplete_ionization_refinement.py":"001c0448fae196dbf8f3911ca9277fee11dbe1b5c6a06cf6ed78820b1a1a8ea5","validation/interface_charge_stress.py":"ea765551cf56cbcfd64bd623fa95996b9c789836e8b2c48c2d0b24056a459994","validation/multivalent_defect_refinement.py":"28db6ad6710591d37386b12464a73fe345dedc873ed9d54c8b013b9c70c860e5","validation/numerical_certificate.py":"8adf88571ab94fde3135eb817eb3dc93b8d5d932c02d62ec5338e021df1fb413","validation/refinement_executors.py":"9e9730acefe72cc7dd9991e47f65624f37d875101795e85d2fc63d885ca4d40c","validation/refinement_runner.py":"e4c72b1cfc570ac2106fb031b17aeeb6675810529c78e1699fc074dd1f4d25eb","validation/regularization_certificate.py":"18054fccbd125f04a4dcbe1b3d8d016e70a7c67a87d526a5982c21f85c5a84c4","validation/regularization_executors.py":"23ad49cd022c2fe626fd2124d6d219f1fc90e26dc6d27a67e63ca5ff433959a6","validation/resolved_tunnelling_refinement.py":"f37222cc2d56fc8c900b4fc4f634ff1e16e470eb2843ac1e46fe2138bd10cca0","validation/spatial_defect_refinement.py":"694b96e6718e78daa8b853bc0d2c0a4eb8d4c5d989aecd60102a38e42d2b856e","validation/tunnelling_channel_refinement.py":"86104d6316d81fabddbd7a8a5a5b53412cbbaf8c4e450b4918502e81888bc608"},"run_class":"development","sha256":"f3def67883912d64f17bbb145156e4c8b3afc69ddbc43060041cf875e4cfff47","source_commit":null,"source_content_sha256":null,"study_input":{"path":"reproducibility/OneDimensionalMechanismR1DynamicsInputV1.json","sha256":"3065a31951d4a90e8b0d03d042e3f2c0349cc7d8e792381a275cb05d58a047ca"}},"stack_sha256":"dc528a33fc78fa4ea083aa3ebd25568453f562f68649df508078a02e474fb9db","state":{"capture_m2_s":[[0.008130665479537382,-6.961122516386613e-06,-0.007982642848854552,4.454297620876286e-07]],"local_residual":[0.0,1.771072397116043e-20,11.243576495289947,-31.079632739704646,-16.347767505381746,26.71570388085005],"n_m3":[2515095827087.2163,1153607227118.4148,7042059078033.982,2515095827087.2163],"occupancy":[7.152881079529094e-05],"p_m3":[2515095827087.2163,5483414866629.49,898275198963.2432,2515095827087.2163],"phi_V":[0.0,-0.02014949206461468,-0.07338304716536553,-0.09999999999999964],"poisson_residual_C_m2":[3.4815018922863025e-21,-1.7351221380542692e-20],"positive_inventory_m2":[1000000000000003.2],"positive_m3":[7.140839205220215e+21,1.0953053598259972e+22,1e+22,1e+22],"sheet_charge_C_m2":[6.209475504826228e-10],"trace_potential_V":[[-0.046766094289041715,-0.046766094289041715]],"trace_state_m3":[[412020410646.1692,15352897225441.648,19717179601830.816,320822102713.23944]]},"state_time":"0-","study_spec_sha256":"f140505c3a7ec7c52fe38c46f36d53b876a87c2ee50512568cb62671b05c6a73","verification":{"dc_certificate_evaluation":"saved_QF_and_ion_coordinates_with_QSS_interface","provenance_assurance":"content_bound_claims_not_independently_verified","provenance_only":["environment","created_utc","dc_state.certificate.optimizer_success","dc_state.certificate.optimizer_nfev"],"recomputed":["preparation_checks","dc_state.certificate.maximum_normalized_residual","dc_state.certificate.electron_continuity_bound_A_m2","dc_state.certificate.hole_continuity_bound_A_m2","dc_state.certificate.maximum_ion_electrochemical_residual","dc_state.certificate.maximum_ionic_face_current_A_m2","dc_state.certificate.maximum_ion_inventory_relative_error","dc_state.certificate.face_current_spread_A_m2","dc_state.certificate.poisson_residual","dc_state.certificate.maximum_bulk_trap_balance_relative_error","dc_state.certificate.maximum_interface_residual","dc_state.certificate.maximum_interface_gauss_residual","dc_state.certificate.contact_thermodynamics","dc_state.certificate.certified","dc_state.certificate.reasons"],"schema":"R1PreparationVerificationV1"}},"seed_preparation_sha256":"c5ea1ff0b71ff6a76bec44a682f73c87e6136afe6cb32b603a49b69d6408b4fd","sha256":"068fabe88817f325fca0c509c3229a10ec34c1c95bbd9b32652a58ed162e3665","source":{"files":{"__init__.py":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","_compat/__init__.py":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","_compat/numpy_compat.py":"7ffad9557713ecbbf191d8e684d56c55cdcac029b2b2448077a5bafdd5747d50","_compat/scipy_shim.py":"33ce6c210cd8101db695350a227d6886f99bdaf5acce5e0e4984b3cad2cd1fa3","constants.py":"9ae428b44bbe5f475b638d9c3339e69930249e2b1c39ba0acbfd0764fcaade76","data/__init__.py":"60cca7d1762c831541e6c5b744668e8550d846f807be868cefcff5805a46a1b6","discretization/__init__.py":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","discretization/fe_operators.py":"b3ab0cf0054d5aa1ec7e5fcd27b93d2ed09b137d043080a0310a219d3ff1154f","discretization/grid.py":"7d3ff321c2609efd51a41f29fc7936ba09914ff684f25322a11b8776cf96bfbb","experiments/__init__.py":"e060aec00c05f70d1dc2d433f9c0d922b59ac2da788ffe7fb6dd2bdfb16bad76","experiments/band_diagram.py":"6c413f63586280e9fd768944e525169f54ab07301efdcc60a2b01cafde8aa2e3","experiments/bulk_defect_ion_transient.py":"8ca8b0e93eb8b26efed35acee8da8fb9d3f6b35fdaeeac0ff7b2d8764c7e13c3","experiments/bulk_defect_transient.py":"f8974270a92f5b5aa0564dd748dac870b693c0dac087d8486c77a72a94bff2fd","experiments/cbo_scan.py":"23fbf41f3cfa8aea669bc914d5334b873f3cc0b3edd9a308a52bc432afc27a6a","experiments/dark_jv.py":"7dd01ad1fe88fb0ac2d8d69722aebe8ec5d2cdedd2f5c0f149bad2477759540c","experiments/defect_aware_impedance.py":"7a885ca595e18faad97580730d99280db00c6aacb0b41da41ceecc12ab323600","experiments/defect_ion_combined_impedance.py":"026c14f5e56cb1fa3ad0658535248fb022b0e69e66198c67a802bc62aa4a2038","experiments/degradation.py":"bc5366e74e4d95f69bcb995b134aefa64355850482ae1bd442c4b713bcca5e20","experiments/dynamic_defect_impedance.py":"001cc1766638312035f63ffe7a337facec11f1373ec5fae0707f8b28af0bfb28","experiments/dynamic_defect_transient.py":"393424b5a45726f801e43c16eabeebd950ee8091ef8bbf10c9ef36855eb03ac4","experiments/el_spectrum.py":"ed1244ae4b0247522a9a0e0b1a97a80f27fc7bf588e46d51fd8cc5571439520c","experiments/electrothermal.py":"a9c3c142335afb0fe49346858a8a77ea79103e89af4d73045d0e4024085a6d9f","experiments/eqe.py":"dfcfc051af754ccb58c126728ee80b3bcde86c2c1637ccd0eae3e92d5caf7f99","experiments/external_circuit.py":"0f2a6fa803686536e5626a5144b780012242feed86de44550bcfc12d7b13dec5","experiments/identifiability.py":"fec82a43d7da9e29f0ca43441511e5dcae51c8384f0f0eeac338ff7ad9302f88","experiments/impedance.py":"bc77a24eb7a2eed0ed8cc4a3c3f374378a5654d2906dd88622fe8b5fb19bc11f","experiments/impedance_frequency.py":"a60788b03a859df4529bd67eec5ea1b967c55014063d80a26d706e169c6d9ba8","experiments/interface_charge_jv.py":"fd8cd5a4776d27e753c959a395f78829fadaeb6bb883098f2e7d8d9642b2c446","experiments/interface_defect_aware_impedance.py":"ce8efd94278348e7e05745c59648407c1eed75ba137e8a07c26ac9ea71f5a05f","experiments/interface_defect_ion_transient.py":"8c3298a7b5a1b500a175a7687c33248efeb1a8a36794ffac5a4986a02b22a573","experiments/interface_defect_transient.py":"1858344ffce785e22837c53f5cb0bdceb332666fb26e883bd54b135fdbc27efb","experiments/ion_aware_analytic_reaction.py":"213474f49d2b735c1a96d89974021dbf9c35cb9488b2eb741337fd16aae7c22c","experiments/ion_aware_analytic_transport.py":"072498cc475ceb5bad0f7fc8bc1c60c050efd3e6d2a5cced96288ea2d77755f1","experiments/ion_aware_dc.py":"c3d72e92929e2485c41f2f282e58082ea5415f1ffba176edcd08939d9344f798","experiments/ion_aware_impedance.py":"74af302cd7a071e69d60b01d07371ac0e8ad9036c1ec4063175c442e25b01892","experiments/ion_aware_impedance_grid.py":"f43cb2c7003f230012da25a3cae228bdd37c49a6707a0ad0f75e5d0b967baf5b","experiments/ion_aware_impedance_lockin.py":"8796d2885e7ae3114a6e82afab5edb2f41e78d87345fb3ff282605b88a70053b","experiments/ion_aware_structured_jacobian.py":"c4b6e6953600bcf1f511717c897dc8af9a390e18501091143c18470b086d82e9","experiments/jv_sweep.py":"428fbe1c421192e2495ac94fa171df42f2be94dca7733b7a5ab2e07a9628ef96","experiments/metastable_preparation.py":"cd7efc45fb80d64aa4c669b2752e80cf294a0a7e523791de4fa958839d9d0ff8","experiments/metastable_transient.py":"1579c39f88f6c0df5b69272bd26d01ad949ef591312ca28df3db93338727db1b","experiments/mott_schottky.py":"862b0dcadddd5b2097f313dd64b01e0d49b54219109d510f1cab71ac5d8e280b","experiments/one_dimensional_mechanism_r1.py":"637bc790dc09ec0632b733bc72e3fdcacf20dc017efc88a8fafed7dd927fb116","experiments/one_dimensional_mechanism_r1_admittance.py":"4b1d7ec8961d75a883fc03a7f87c807f36670262921004c0def3af8185703c72","experiments/one_dimensional_mechanism_r1_backend.py":"630c2a686547e269ee406ba301bb44b078de0c2a939ab5f377784d4bf77badb9","experiments/one_dimensional_mechanism_r1_baseline_electrostatics.py":"e902d51d33e407357b9a8b2eec7738604f9d975c5082c46a7c87fd481c45c0ac","experiments/one_dimensional_mechanism_r1_baseline_initial.py":"0878c56a738f64cc51c5ad8907c02650132a31721f278b3faf2a8d12db909b77","experiments/one_dimensional_mechanism_r1_binding.py":"376ce06d1fa83e8c99bd5f69a22eb9778d903c6f20a755078a6a68c0aa562417","experiments/one_dimensional_mechanism_r1_checkout.py":"0ed9fcfbc10a3b6cf44233594fe9c31622fe7a5ae9b3fa0ccf9b71785afd97a5","experiments/one_dimensional_mechanism_r1_convergence.py":"a8e2b9738d551a5b5132cc3d99b57e534a0c5b5d4f7ab94e24f4c464406f1ca8","experiments/one_dimensional_mechanism_r1_dynamics.py":"64d2fbb4bbae8e8e1b887f5ca0e8fd312d4b5cb5bd1faa5ecf31909048f995af","experiments/one_dimensional_mechanism_r1_evidence.py":"4f36080be9a878e6f0cb7be3ebdfdede78a897e34e3912b47a249e607eb04a07","experiments/one_dimensional_mechanism_r1_execution_validation.py":"4b8615e0035e6bf338731183a2bd1ffb613853dae720e6719ecc9dbd9cac3371","experiments/one_dimensional_mechanism_r1_failure_reconstruction.py":"2d6e23142c8586d42f4adf67fb22731eaf2efaacf6cda685df696a32f5d78ecd","experiments/one_dimensional_mechanism_r1_failure_registry.py":"64abad5af4500a9becc2ea36de36b5905a7710a849221ce8a941dbb6498c6a77","experiments/one_dimensional_mechanism_r1_failure_witness.py":"de74434dfc6368a86642a789befbe1dbcdc17c7ca726e237c3328c19b1876d4c","experiments/one_dimensional_mechanism_r1_global_reference.py":"f5ba16b4778827f1321384e3497b73d1cf574e0dfdac93eab09bd49fef2331bd","experiments/one_dimensional_mechanism_r1_history.py":"2921971011ba1aceaf105ffbeceb31f3eb533883d73704293ddf247a631eaad7","experiments/one_dimensional_mechanism_r1_independent_physics.py":"03db33ccf1005c5afa0cad6b86acae52bd60e11c0d36a7df68a7bbdc3f4cbdad","experiments/one_dimensional_mechanism_r1_independent_regular.py":"af4ff60f6e6a573e41a0fb885a5f019ee6c48461f99f0d341058c444a99500b9","experiments/one_dimensional_mechanism_r1_input_lift.py":"65f85c06a38be9cd41ec3ef344af34d1baeb300a012c47df71ab5d658b9e821f","experiments/one_dimensional_mechanism_r1_input_lift_codec.py":"db2ef01419458819ef006488c7924944b6065174ca1c02da24288a66e440f299","experiments/one_dimensional_mechanism_r1_input_lift_continuous.py":"5d76a2cdb27ab4188e2663fd09d08b1cf6e4c936f455cf615fd98da5113036a4","experiments/one_dimensional_mechanism_r1_input_lift_reference.py":"a566ad00c277b1792b61322ab4daa2d2c8a45070bb40b6a4f6de7bb2ba16b0e8","experiments/one_dimensional_mechanism_r1_local_carrier.py":"c6ace0463271ec3d6222300c55d707a61e1cceed1cca5c4b2f869f466cae7ce7","experiments/one_dimensional_mechanism_r1_pair_codec.py":"a2c23d94bdc0023ef24777613e6e5af70867bbd1759071381d64bdd47446b912","experiments/one_dimensional_mechanism_r1_pair_response.py":"a3a8bbba73ede8e23c7d29794bbd9fb28de6138de99f9fb6d7437ef9884a8da5","experiments/one_dimensional_mechanism_r1_pair_spatial.py":"33159889475b12bd7d7f29ba8d0a6cdd6fd8fc91c5c77c5eacc4a6f5392f53fb","experiments/one_dimensional_mechanism_r1_physics_validation.py":"6dd8d4e4fcc22697db717bff075ed1a2f875141cc3396280e7f38e34209f5af7","experiments/one_dimensional_mechanism_r1_precision.py":"aebb040ed5f1319e5541f9104886160a0cd2f63b1ccdd366d9de1739a8e71395","experiments/one_dimensional_mechanism_r1_precision_initial.py":"7350e1bf4bf2c1d14c36b22bd60ec9b844c8b558030c99332489d310af051c17","experiments/one_dimensional_mechanism_r1_precision_physics.py":"c5353e6aff99888175bbce038d6787bd97385526aa228089253350da1fcc657a","experiments/one_dimensional_mechanism_r1_precision_state.py":"1c31475237b2733a6c2d319f34c30bec35277b3fb671cf2f1c993ad42a7e9b1e","experiments/one_dimensional_mechanism_r1_protocol.py":"7b053566d7931c7e16fe60ed46fabd9ca9a6c82461bc6116348ceb69dc8d4974","experiments/one_dimensional_mechanism_r1_qualification.py":"deb20769c349ad495a5f30f4c2420c1b1fedf495581063e832de9ea7d07e9715","experiments/one_dimensional_mechanism_r1_qualification_workflow.py":"bb4057871e5f535f69c10050a19f1f086709caf89797087be7354b862e11fca3","experiments/one_dimensional_mechanism_r1_replay_receipt.py":"be0831fca8efe0ad1fab2dda20c93f8a2db07cc6df9239f794c6ce53de6c2ee1","experiments/one_dimensional_mechanism_r1_response.py":"46c25ab45885c1ed966dc58ee044d55b66ef69070b90184310fc5682670d7b51","experiments/one_dimensional_mechanism_r1_result_contract.py":"5c004525405ed95e4e277e516ff3a95a8009bea230c0e2f5c9ab981000552cd5","experiments/one_dimensional_mechanism_r1_result_validation.py":"bd1e025595c6c2bf538b61bf71af5b4bbecbf89aa5f5fe799c0307a08d213450","experiments/one_dimensional_mechanism_r1_run_record.py":"b51679bc00233a7bd4a5bcda46c61391bb0409aaa8eb4b5953bd2a0f5ed39997","experiments/one_dimensional_mechanism_r1_spatial.py":"25f324db38057202e00f1c4d9cd09e201bdc502b4234c7e7257b95424eac83d0","experiments/one_dimensional_mechanism_r1_standard.py":"73669da8d7f08184dea9e89f19c79442d6032b9ffa1769da449ceaf8da677cba","experiments/one_dimensional_mechanism_r1_state.py":"49bca65cf639024599781bead35db5524e5d61429efdc92bfb84e742af99422f","experiments/one_dimensional_mechanism_r1_step.py":"448d03cf4fd62dcd7f18dc6db5d90634b9650848d2dd31fa2b3fabe9cf1ff44b","experiments/one_dimensional_mechanism_r1_study_request.py":"2697b42197b9d80f78e1b3ddd0dfa697519ac8857a1553eb9e818a7f284b85ee","experiments/one_dimensional_mechanism_r1_study_response.py":"efbc793159c28bc12be9cb44e6ce3e5327fbc04f6eb7bbd186f35c68b4f3aa63","experiments/one_dimensional_mechanism_r1_window.py":"977279c8fded7555f0fc8a879e13fd29c908010e8633640f78500ee9042d7fac","experiments/open_circuit.py":"f02036a172b26ebc7723e350ace7d9a91fc07b7bc04ed7d638d39da54feef798","experiments/protocol.py":"427d372bd2b28bc2c9b6b924ea4cafa42e7315decf5385664f74bcb19137beef","experiments/quasi_fermi_impedance.py":"dbac8e42fc31bc3ba1d42aaa755100b99a627c04667910f6eff2452ee5359e22","experiments/quasi_fermi_steady_state.py":"f8fc4b1f4274fd154e956b42d2d0d715c4b8045ec84ee50de2798023e5b14fc4","experiments/steady_state.py":"55580e14e075de0596e2a8e6e55e0a16f2c9581be380f2bb3bacbae2b5d1edbd","experiments/suns_voc.py":"6bea3aa6645d9cb1d68786f3dbe6aa02d39bef81664f575eff2d43b9c694c887","experiments/tandem_jv.py":"d13960a2114863df754d8102be1c1d098d52d9f7ede1f97c9556b50ad653bff3","experiments/thermal_balance.py":"987516eaef3fa53c96b544e02637076f21478951ecce193441f5b33696b8bcb6","experiments/tpv.py":"4827229c6e7dba18e339ce44611eac3152f9e6b1bdd63de237f17ebc61766cb8","experiments/trap_small_signal.py":"de614e89798d08a7b067bef26bacc68ca6c8dbcfe71f64c3d4ec2e779033b8c1","experiments/voc_t.py":"2ac2c4648a009659879a5a4f0a45b2649140541477ece69d36b2a2d0e5529703","experiments/waveform_jacobian.py":"dbf0f40dc191c75a35d01575c27db0e46daa64af522a6635b4218327c4909226","experiments/waveform_jv.py":"cac7648c136190db6bca65697cdb3200ab7b57e81787736a67d706cda333d1e7","models/__init__.py":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","models/config_loader.py":"f25dd749fec6e2e755cf18d221986efdc323b6f2c22e92ec7297577117442bb2","models/current.py":"483c1d91b0b480ef0394f3e6d201a18983928c17410a9ffebbf9510b5cc73627","models/defects.py":"0bf3cedd435ff8259fb436bbcfcfa3aa586bdee50f89caba161e162c6913159f","models/device.py":"abedb9e39655a5b54997968a7bfa4d1664b7493475dc8e7c55fffa68195330b9","models/el.py":"b239391d045dff27ad44ecbe022dbaab337e6d4584600430dc1a454a1fce5f2d","models/interface_defects.py":"8d0ad0057410b42bde00d2cdd17a765f94a5f2d95ebe51a1cb815d24553084bd","models/mode.py":"7464cf8619401997206fed5b23cded0a361ab6064f6b06a2449fb9f13a700688","models/multivalent_defects.py":"dac4f0e32804b59126a16629b4ccb377fb71e79a8b270b43283df851c97256e6","models/parameters.py":"0555a6c9280431889b34328bf1e513c7e6d6789368ea858ff3e1ea5a60db7d9d","models/spatial.py":"bf64684bff565bc6b26feb49c54ac1b5d2d403df51729f4fb57ddd276307cfb7","models/tandem_config.py":"9aaf4e1fb87f43950c96cabe0ac309cd3416673848b80889fc366be32ad2b595","models/tpv.py":"af4af1e7f4554ccebdcf20ba5a01db3fb3f5656cb47a3de8ecb33816f9ca0d84","models/tunneling_channels.py":"988195babef2c7390bfacd0f849b91a3802abfda3e742332642c1c36a610a114","models/voc_t.py":"e7199c3c9af9d3224a8005d32d3037d34dd53c05c53c2e3562ed1b31b1243e68","physics/__init__.py":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","physics/band_gap_narrowing.py":"ee7fe97002c19364750f4aa07be1dc150c2acb450ad74ee637d5b8cc783e0a78","physics/bulk_traps.py":"4a78fabe85de747b81c03fc32f7095b01a68cafe7921d01806cd314f3cb4801c","physics/cigs_optics.py":"a7f1cac165c04f8f5d21a530987d65d10fa78af04c77b7e1382149aab59ca811","physics/compensated.py":"48235c68776a31db04191347b506222c07f1837960fe0658da4e1c65f25a3204","physics/contacts.py":"a8bc9a2938bd979ea9a5265af8785480b554ef723d4968b0ffdced8b8231709b","physics/continuity.py":"bfbb34a3ea772a798385b8ef083aa9857eee3f0d08e6a3e9f8f1fc0dfcb96df6","physics/defect_closure.py":"e8571cdd4878a75285de44bd9ecadbd9c9c3b296d88c3b62ff5ec1f478da9677","physics/defect_distributions.py":"635b5e5285d0c87de325edff7de745b398705eb8537495435f05f32543542a5e","physics/degenerate_transport.py":"5387116677839a6ecd3ba6ff261d9e8b881e850ab356255551d0c04165445c1f","physics/distributed_defect_closure.py":"1725704eb365858f120727646dcd3b3d8ffd9e69912a04a84b23285367106587","physics/doping.py":"883d705622066585d1e93027105ed9cb6094b0bb94bb28e574f1097a5ef3c599","physics/dynamic_defect_state.py":"0923b57f53583afeb95da7092a45c7ab98a58579177525bcaf210c796d84a6af","physics/dynamic_storage.py":"c0179c0144e9dadfd0abf959b78088eee91d35abf787a280a51079851dc5e006","physics/fermi_dirac.py":"f5cc9d0b9dbbcc80ea51cb8c3c843dbeff722a44eeac732d9b333e2bc0b71878","physics/field_mobility.py":"62ea0880e8aa05cf90dc0928f6bae7aec2caa132d69338661bff856a4d441737","physics/generation.py":"862c097f31bb5bab0e7585a4c361e0e7116010f652d7b6345a9a0de80caeac65","physics/grading.py":"286c5347a808199717740f2366d08bf89a8e615eb16ea399b84e1ddf40d1fe51","physics/interface_plane.py":"7e8e9344d8f96b04b565986879ad9c67bd36d54afa3de90ee39de264a44f9dee","physics/ion_migration.py":"19c0b83485c5e1b61dce5ad8fc05b75202a40c383d964cd4bcf38889a5cbda35","physics/metastable_defect_closure.py":"638ca6b638cb2ea19386b7d5d7c584f056495d9ab2f25e2a88e4807987b0e62d","physics/metastable_defect_device.py":"fea38276765a05be67fe0305cb63c2d148a8b3f06d4bac5ad5f5673132329c68","physics/metastable_dynamic_state.py":"6ef5427bacdabe6172ad33f5b68b4985b255d85fc22e9c8a0aaf54387801aab0","physics/multivalent_defect_closure.py":"57c684618c87d06521e048da20f3fc38dc3dab2c6221e4e88c66d404a8cc5648","physics/multivalent_defect_device.py":"5a631290005479e64529eba52f8273a8453baba1b1be4345d2c0f4e0365fafa3","physics/optical_stack.py":"ef897393af20ce1a3a096e6db2d3a9b3482ca590ad71a294057124ceb6746543","physics/optics.py":"de249b529cbbb1681a886b971e500d442fd3a74cbc48fd97e471cef84bcbe656","physics/photon_recycling.py":"cda651b7fdd7c202ed308d3a0e063c1cedc4ea76d7b0ef61db65e9ffcdc3d9f9","physics/physical_control_volume.py":"7ab20365a9f857169a8b9e2beb3a00c5129440e934e7f9875595c85413dec245","physics/poisson.py":"cc59b0210f019561cfea8903cf7c0c968f4d31ceefffaca6092d09286b02bed5","physics/recombination.py":"ec52279e65616a916c586818d3b6bec9ebe1bb7040a4a451e85e5785222726b9","physics/regularization.py":"32982af462fc430d518017579ea9c403dd3382be2f883464bc088b58a5d84539","physics/statistics.py":"f790b5df608ec54ff64ebd1a3203bcec0a00d1bfbc2677a29ccd34208fc29a01","physics/tandem_optics.py":"cdcdb0bf230b1bb49579c15c1286f29d928328482e75eb66de8a9a733b9d4658","physics/temperature.py":"bd21a92f32802cf228379c1ccdf4600b50290ffd2e78314d099f7fddbdd9fc85","physics/thermionic_constants.py":"729d2c0df0e8c441404af203fd77b057a90c30b67fd268d873c32585067f979c","physics/thermionic_transport.py":"996e4f1d46a10740a28f133a549ef7a2e190e72c0986b7a420a7c8f3fcfdca3d","physics/trap_kinetics.py":"9c3be44d7ef32773db38735cb6cbdd97cae68cfdc46f9ec60154a2b54c25efad","physics/trap_population_response.py":"64f5733bbaddceea323fa63b572abab133eb4c93bb1e88719cb156f483ad4398","physics/trap_transient.py":"a6b762e7120b8aeb557afab5fdc679f7d8c532f48100523edee632fd4b66e998","physics/traps.py":"2b4a2e6aee8471963fa392f295fb805c92a720340d77a757db2702bb65c7c2e6","physics/tunneling.py":"661bfbe9f825c2a23b334efab70452fc1320ca7e791e6bb4cbe810a2847864e4","physics/tunneling_channel_device.py":"8263d4f3675dc9fd775507be11702d5c916e3a4cecb47f57567601ab8e73292e","physics/tunneling_channels.py":"9fb2633b715d57a3e22e08da089ad98e584804a39e7d067c6649b9fd77959a36","physics/two_sided_interface.py":"c5c203480aa72343ccd1753c4fb8f42b5d4c792e81ba896de350fe8c5e272642","physics/two_sided_interface_compensated.py":"1460f59994ec5e66c2c9b0302307d7c114dac1819e10153a28fcea123e5c6bc9","physics/wkb_tunneling.py":"10604094f39fa7cdd50edd72d208e74564c0cf1e4439a57339af75dcf18b58f6","reproducibility.py":"83df5ef085a5ea86f3850aa2dbef10c09b43d3b037f344b1f66f686b2c182cd4","scaps_compat/__init__.py":"907408bc91357313a419c3c816a8351e99d770ded9dfef0a13a03ec56641801b","scaps_compat/defects.py":"afd98b29aa76cf5bdf01f291f6d289cfa7be34859ff2528b82ddcd57a77d2ca5","scaps_compat/distributed_defects.py":"23e0ea44ae438ce57cf8be803ff52ec53ce635cd0904c9a60cf41cd880f82c63","scaps_compat/loader.py":"a03a31b81497df6118592aebce7000befaa1d5de787ad989d880c263000e0cd6","scaps_compat/materials.py":"297634e0f0705a75e7866fcb9ccabacce8ca3feb76de6d7d46deaefcbcf0a424","screening/__init__.py":"5c940f3ec0943fb4706ae84921fb61a127e3acc2ec07a94f18db7ab5ae5fec70","screening/evaluation_report.py":"33746a81a20deb52d71223f69e57028205818bac2f33179ac2deb9e1d070ee5f","screening/solarscale.py":"67db4312f6bb1473e6d3cfd3eabd2b85dbdaf004e9f592c810485ff1a69b0bff","solver/__init__.py":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","solver/bulk_trap_equilibrium.py":"3f7bc1478b70eab82668e3db5b6b5cb457d92aad8f0fe1548c00d07b833d1f55","solver/dae.py":"0836cedbeabd5a211611c217776bc7a045197ee501373e8a2b240b062134d0cf","solver/dae_dual_ion_integrator.py":"32d228da12825ec5fcfcf654935c5a460e89b49e36368ff8f9a6f359c0ec65af","solver/dae_dual_ion_jacobian.py":"53988cfa8f6bd7af1877b5a8e76293b91527d8cd7b93b19389b5491a99b69971","solver/dae_dual_ions.py":"a513f262079d514e1636baac3bba043fe9612c4d0d5cb456adc65ec33dc229e0","solver/dae_integrator.py":"865f6631d2c3946252ab5e1c128b502a5d80f814f83ffa205c00d5f0450aceb5","solver/dae_interface_integrator.py":"b292418064b15fe9e3af51eebe9ef2048076171336742beb4c196d2b30dfa1d2","solver/dae_interface_jacobian.py":"5785e57455da3b882eded59bb9621cb21bcac52a7b68e5e2ba4fc3c0300e8503","solver/dae_interface_states.py":"8771d8e18d570ee3fe1dc9ba176d9580b57b79d9b1df8f00368b7ff54ed0aec2","solver/dae_ion_integrator.py":"32bb220c3928d99a41f0f51155f7fa70fea123b1e5ad3b1f8d58c2181a1343d0","solver/dae_ion_interface_integrator.py":"ab6d6a62e7b196261443381a47bd6f2951191083efb201844ef6d82f3ce1de5c","solver/dae_ion_interface_jacobian.py":"f5736725822e4cb4beb62e7b138e227f51a41b2dc38a8c37c274345f7d942ce9","solver/dae_ion_interface_states.py":"b0dee976889a4b8f237f656b822c017fa1039cdc3d49518251cef237a6dab541","solver/dae_ion_jacobian.py":"5edac1c030aa76e509cc87db8f83edc61280088e2e342b6aecfa00fe2d1d5c94","solver/dae_ions.py":"b594d7a347ce0aea6efa834a17aaa498e687a1d14b100fe7c15f5842e36966ea","solver/dae_jacobian.py":"1b775ae891b2323046742dbdf6ac967a569f3e8a5de2ecab959292fabade5640","solver/degenerate_equilibrium.py":"9a88670d4c8a04669fbad681f6e45a7571c9b8fc90ab10c36750159a562d96df","solver/illuminated_ss.py":"489d3d68dc7e2a6877bc10d91152cf8504f6b878c2a32b19a622f9cf4c1aede7","solver/mol.py":"1c02ff41356cfaf75245e3e9e3a0101064d43a766e9e416053ea1e75ef54b61a","solver/newton.py":"db4c2096108f7c6820dc900ea14bb03cd780d29212ad0fdedd290db84c95d3c2","solver/numerical_diagnostics.py":"4796fc14569386dfa5fda1b2897e1408d9f4865ad411e3faae4196aee32ca22a","solver/small_signal.py":"6b7578321b0fda1ef6ac9a48db44f6306c2bd0c65904a98229e07a0098740adf","solver/tolerances.py":"1a193fb904bfd593e7581c9c3a25f51e245bbb72ce6b9fcf22bdd9196170e0b6","solver/trap_transient.py":"a417a7a2f8c17932a617a7406a412a69cfcd5665ef1f78483a91b569ce209331","sweeps/__init__.py":"213b7f734a96a7052958dd310a26de922d352454f7813297032379c4b071f783","sweeps/device_parameter_sweep.py":"70d4185f1918ecdc041e057c23a7d78380d3c872eaa2a9835acb8d958109fce8","twod/__init__.py":"01dd4fc6ae498e9286352e375b3a4c7a6831c4965aeb0d86b299f904aee08d79","twod/continuity_2d.py":"706f356e8ee40c2de1b5aa52b70bfa3b99911dbb2b1e92c1b4371aa57e75e870","twod/experiments/__init__.py":"0135cf5154cb590920c85b4b914c6b28773ffb1c01b36a1baac285e9fc3c71eb","twod/experiments/jv_protocol_2d.py":"d5b22910f9c7cdfe5dd2eb037f00275f44e2fa3f177a05035de19475ec3f7acc","twod/experiments/jv_sweep_2d.py":"4d57ec5df5599f25237dadfbf202ea24c899454905834245fa498bc459afad69","twod/experiments/voc_grain_sweep.py":"46cd3258d5f9cb603e1b26571d3381ca35ee2ee61277f2b0e5a9e21a62e853ff","twod/field_mobility_2d.py":"137bc63740041a7158be54757e98209d6bdd1dda0d0f6c4e26ab7bec71194a18","twod/flux_2d.py":"43c019705a31430d84bdb888c926be0db9c7b13ed4144e6d3c8fb28ee1601d64","twod/grid_2d.py":"69fbfead2f8011a34665303be19ae7f2bad939cd111bcdfb66b5b7ab57995818","twod/interface_recombination_2d.py":"5a43d3b41b89bc8517939536302d59c272cb282ac0451870ce48b9a66f119388","twod/ion_migration_2d.py":"c4bc37d818b97732dfea3ab44ab305ef047f0381cfd80c1891976ba1e620bc8f","twod/microstructure.py":"60d06d32976305a4c29b04e7f46188e8a916e007048a9c6507c680e6d4b6ab35","twod/mobile_ion_current_2d.py":"9ecdb504fcf7302ee02a5cf00c0312f71547ac76d740d4b0dc700f2031a63c02","twod/poisson_2d.py":"bfb1a98beb235d923a10da172bc77501a21b18faa0ea74865ec78a5b021fe25d","twod/radiative_reabsorption_2d.py":"5dee50750a3fce10f37c53b781f9b3fd5c0920844ddd943cdd97dc2a1fb98434","twod/snapshot.py":"0ec4141f593f29ac71585f3b1bf99ee73ed7ef451298681ad7f734bac9682d11","twod/solver_2d.py":"75630674f85d27e86512affaa5600d344b0da672842f8a53698efc42cd1d1289","validation/__init__.py":"f89bdb1d0e95a5a33b04c6afb9471fc7e5a0bd008c62576eafefb6cfe595cec2","validation/bgn_refinement.py":"f5989e3a00a1f298df257b0b893a965e3778d13c155a1296705aff75de2528f7","validation/bulk_trap_refinement.py":"4415153d3c30a2bda68b1dd54c448bd32f4e1dc21222a91f553601beac1ede0b","validation/charged_defect_refinement.py":"c15eef42f9122d44b87391c243b03d526d22d269fc830389dc89001f7aa11a34","validation/cigs_optics_refinement.py":"c699faacb47b73d18b047af80530f73bfd52619f9ba8136bb2e2ec60488d8b04","validation/dae_dual_ion_refinement.py":"9f8727804890fa6ce487f9302c14d75a8472fb44644f7fd151d3a2b4b2168265","validation/dae_interface_refinement.py":"b99bcf748f7c7321379eb16fe2ec62ee4676dbe200cd0fd9b94b79644eca7159","validation/dae_ion_interface_refinement.py":"9e9ca60cb1b64b20ee3c912753c4ab72c71b7e2f9a5c46952315b2e722fca725","validation/dae_ion_refinement.py":"178482916aa1a7c8cc7af87ce4afdab722da1cd0ee882d336a4cf73e609faea5","validation/dae_refinement.py":"a8cf931308f66c5184d852f4457dd29ba6f5b46d981c21cda7a1ad5104076303","validation/defect_energy_refinement.py":"c6b39d4d5bf977b626ad283a928bc2eea2b0726df4f2a0d178ccb9f7c11dd8c8","validation/degenerate_refinement.py":"46075723655aa34b33663664d5506f813484b3cd1a28aabde585043d13294c57","validation/distributed_defect_refinement.py":"86fae54f0c9e8ab8394ccb7db57ff70b144cc1966b1487ed7d87172028931016","validation/dynamic_defect_transient_refinement.py":"b7b87088a5de7af25bd77a15897f5641dad707da06d4073606b3536595e495c1","validation/electrothermal_refinement.py":"07010dc8c5ff08fa75a88fbff0d8210c8e878c25253bfb4ad942db5ad68477c3","validation/external_circuit_refinement.py":"cb8453da1c93bc1c47ecbd61a70ecffe0d4eba50a8bd42a0c2e162da085143a7","validation/foundation_reference_refinement.py":"aa478f90f055d3dd27e9382c2c7b55d61029f0135672b7d1f2f3358436ee8aa7","validation/grid_convergence.py":"fab7c25a0c3da63768f3c99ad90019888d7da94fdac04d44062e38d9c9004c30","validation/identifiability_refinement.py":"d66f0a39a4e7b2e0af5e4cfc006b53a86f432e3c4273d59c08c3bbfd0e4ced52","validation/incomplete_ionization_refinement.py":"001c0448fae196dbf8f3911ca9277fee11dbe1b5c6a06cf6ed78820b1a1a8ea5","validation/interface_charge_stress.py":"ea765551cf56cbcfd64bd623fa95996b9c789836e8b2c48c2d0b24056a459994","validation/multivalent_defect_refinement.py":"28db6ad6710591d37386b12464a73fe345dedc873ed9d54c8b013b9c70c860e5","validation/numerical_certificate.py":"8adf88571ab94fde3135eb817eb3dc93b8d5d932c02d62ec5338e021df1fb413","validation/refinement_executors.py":"9e9730acefe72cc7dd9991e47f65624f37d875101795e85d2fc63d885ca4d40c","validation/refinement_runner.py":"e4c72b1cfc570ac2106fb031b17aeeb6675810529c78e1699fc074dd1f4d25eb","validation/regularization_certificate.py":"18054fccbd125f04a4dcbe1b3d8d016e70a7c67a87d526a5982c21f85c5a84c4","validation/regularization_executors.py":"23ad49cd022c2fe626fd2124d6d219f1fc90e26dc6d27a67e63ca5ff433959a6","validation/resolved_tunnelling_refinement.py":"f37222cc2d56fc8c900b4fc4f634ff1e16e470eb2843ac1e46fe2138bd10cca0","validation/spatial_defect_refinement.py":"694b96e6718e78daa8b853bc0d2c0a4eb8d4c5d989aecd60102a38e42d2b856e","validation/tunnelling_channel_refinement.py":"86104d6316d81fabddbd7a8a5a5b53412cbbaf8c4e450b4918502e81888bc608"},"run_class":"development","sha256":"f3def67883912d64f17bbb145156e4c8b3afc69ddbc43060041cf875e4cfff47","source_commit":null,"source_content_sha256":null,"study_input":{"path":"reproducibility/OneDimensionalMechanismR1DynamicsInputV1.json","sha256":"3065a31951d4a90e8b0d03d042e3f2c0349cc7d8e792381a275cb05d58a047ca"}},"stack_sha256":"dc528a33fc78fa4ea083aa3ebd25568453f562f68649df508078a02e474fb9db","state":{"capture_m2_s":[[0.008130665479537382,-6.961122516386613e-06,-0.007982642848854552,4.454297620876286e-07]],"local_residual":[0.0,1.2458690394718581e-36,10.90830452069814,-28.145831067245396,-12.489433780107005,27.16969741070422],"n_m3":[2515095827087.2163,1153607227118.414,7042059078033.987,2515095827087.2163],"occupancy":[7.152881079529094e-05],"p_m3":[2515095827087.2163,5483414866629.492,898275198963.2446,2515095827087.2163],"phi_V":[0.0,-0.02014949206461468,-0.07338304716536553,-0.09999999999999964],"poisson_residual_C_m2":[3.1746096092190093e-37,-7.149536868862363e-37],"positive_inventory_m2":[1000000000000003.2],"positive_m3":[7.140839205220215e+21,1.0953053598259972e+22,1e+22,1e+22],"precision_boundary_flux_m2_s_hi":[0.0,0.0],"precision_boundary_flux_m2_s_lo":[0.0,0.0],"precision_dqfn_V_hi":[0.0,4.3907434182659956e-15,-1.3526508105817649e-15,0.0],"precision_dqfn_V_lo":[0.0,0.0,0.0,0.0],"precision_dqfp_V_hi":[0.0,-1.4565744923967636e-15,3.251536552426944e-15,0.0],"precision_dqfp_V_lo":[0.0,0.0,0.0,0.0],"precision_electron_current_A_m2_hi":[2.3369364531746294e-17,2.325503646334718e-17,2.3191938674952636e-17],"precision_electron_current_A_m2_lo":[1.8504648837811126e-34,9.564649046363367e-34,1.1738726714180089e-33],"precision_hole_current_A_m2_hi":[1.6902000603434445e-17,1.4702329607746267e-17,1.4989782303211914e-17],"precision_hole_current_A_m2_lo":[-7.337294866131334e-34,4.151095594234852e-34,9.75233024053761e-34],"precision_n_m3_hi":[2515095827087.2163,1153607227118.414,7042059078033.987,2515095827087.2163],"precision_n_m3_lo":[0.0,-4.6784422288999834e-05,0.0003374944659891764,0.0],"precision_occupancy_hi":[7.152881079529094e-05],"precision_occupancy_lo":[0.0],"precision_p_m3_hi":[2515095827087.2163,5483414866629.492,898275198963.2446,2515095827087.2163],"precision_p_m3_lo":[0.0,-9.47874244021337e-05,-1.3885934232781077e-06,0.0],"precision_phi_V_hi":[0.0,-0.02014949206461468,-0.07338304716536553,-0.09999999999999964],"precision_phi_V_lo":[0.0,-9.750634101760468e-19,-6.857230069682466e-18,0.0],"precision_poisson_residual_C_m2_hi":[3.1746096092190093e-37,-7.149536868862363e-37],"precision_poisson_residual_C_m2_lo":[0.0,0.0],"precision_positive_flux_m2_s_hi":[67.07214241479994,0.0,0.0],"precision_positive_flux_m2_s_lo":[4.866616106518546e-15,0.0,0.0],"precision_positive_m3_hi":[7.140839205220215e+21,1.0953053598259972e+22,1e+22,1e+22],"precision_positive_m3_lo":[0.0,0.0,0.0,0.0],"precision_positive_rate_m3_s_hi":[-2682885696.591998,894295232.1973326,0.0,0.0],"precision_positive_rate_m3_s_lo":[1.268318041037213e-07,3.719559166594706e-08,0.0,0.0],"precision_sheet_charge_C_m2_hi":[6.209475504826228e-10],"precision_sheet_charge_C_m2_lo":[-3.825421554496353e-26],"precision_storage_hi":[1153607227118.414,7042059078033.987,5483414866629.492,898275198963.2446,35764405397.64547,7.140839205220215e+21,1.0953053598259972e+22],"precision_storage_lo":[-4.6784422288999834e-05,0.0003374944659891764,-9.47874244021337e-05,-1.3885934232781077e-06,1.7697949070694108e-06,0.0,0.0],"precision_trace_potential_V_hi":[[-0.04676609428904172,-0.04676609428904172]],"precision_trace_potential_V_lo":[[-1.977915894342272e-18,-1.977915894342272e-18]],"precision_trace_state_m3_hi":[[412020410646.1692,15352897225441.648,19717179601830.816,320822102713.23944]],"precision_trace_state_m3_lo":[[0.0,0.0,0.0,0.0]],"sheet_charge_C_m2":[6.209475504826228e-10],"trace_potential_V":[[-0.04676609428904172,-0.04676609428904172]],"trace_state_m3":[[412020410646.1692,15352897225441.648,19717179601830.816,320822102713.23944]]},"state_time":"0-","study_spec_sha256":"f140505c3a7ec7c52fe38c46f36d53b876a87c2ee50512568cb62671b05c6a73","verification":{"fine_route":"explicit_pair_factory_from_verified_legacy_seed","gates":"original_equilibrium_checks_with_declared_preparation_and_consumer_policy","precision":"all_seventeen_normalized_hi_lo_pairs_are_exact_state_identity","provenance_only":["environment","created_utc","dc_state.optimizer_history"],"recomputed":["seed_preparation","state","qf_references_V","preparation_checks"],"representation":"float64-pair-v1","schema":"R1PreparationPairVerificationV2","scientific_scope":"one_common_state_preparation_not_full_R1_2_or_P2_qualification","seed_route":"explicit_legacy_backend_preparation_and_physics_verification"}} diff --git a/tests/refactor/legacy_driver_observer.py b/tests/refactor/legacy_driver_observer.py new file mode 100644 index 00000000..ed61ad46 --- /dev/null +++ b/tests/refactor/legacy_driver_observer.py @@ -0,0 +1,201 @@ +"""Complete bounded old-driver call and read-only return observation. + +No callee is replaced. A profile hook records real returned material/state +objects; the original public driver must return before complete is true. +""" +import argparse +import base64 +from collections import Counter +from dataclasses import fields, is_dataclass, replace +import hashlib +import json +import os +from pathlib import Path +import resource +import struct +import sys +import time +import traceback + + +def words(value): + import numpy as np + if is_dataclass(value): + return {"type": type(value).__qualname__, "fields": {f.name: words(getattr(value, f.name)) for f in fields(value)}} + if isinstance(value, np.ndarray): + if value.dtype.hasobject: + raise TypeError("object arrays are not a physical byte payload") + return {"dtype": value.dtype.str, "shape": list(value.shape), "raw_hex": value.tobytes(order="C").hex()} + if isinstance(value, np.generic): + return {"dtype": value.dtype.str, "raw_hex": value.tobytes().hex()} + if type(value) is float: + return {"binary64_be": struct.pack(">d", value).hex()} + if value is None or type(value) in (str, bool, int): + return value + if type(value) is bytes: + return {"bytes_b64": base64.b64encode(value).decode()} + if isinstance(value, (tuple, list)): + return [words(item) for item in value] + if isinstance(value, dict): + return {str(key): words(item) for key, item in value.items()} + raise TypeError("unhandled returned payload: " + type(value).__qualname__) + + +def main(): + parser = argparse.ArgumentParser() + parser.add_argument("--request", type=Path, required=True) + parser.add_argument("--output", type=Path, required=True) + parser.add_argument("--context", type=Path) + args = parser.parse_args() + request = json.loads(args.request.read_bytes()) + started = time.monotonic() + started_ns = time.monotonic_ns() + supplied_context = None + if args.context is not None: + bundle = json.loads(args.context.read_bytes()) + supplied_context = bundle["document"] + encoded_context = json.dumps(supplied_context, sort_keys=True, separators=(",", ":"), allow_nan=False).encode() + assert hashlib.sha256(encoded_context).hexdigest() == bundle["sha256"] + expected_schema = "solarlab.r1-execution-context.v1" if request["driver"] == "r1_step" else "solarlab.legacy-execution-context.v1" + assert supplied_context["schema"] == expected_schema and supplied_context["driver"] == request["driver"] + for key, path_key in (("input", "input_path"), ("reference", "reference_path"), ("prepared", "prepared_path")): + if key not in supplied_context: + continue + snapshot = supplied_context[key] + raw = base64.b64decode(snapshot["content_b64"], validate=True) + assert hashlib.sha256(raw).hexdigest() == snapshot["sha256"] + assert Path(request[path_key]).read_bytes() == raw + request = {**request, "arguments": supplied_context["arguments"], + "environment": supplied_context["environment"], "argument_form": "driver_keywords"} + for key, value in request["environment"].items(): + assert os.environ.get(key) == value, key + import perovskite_sim + from perovskite_sim.models.config_loader import load_device_from_yaml + from perovskite_sim.scaps_compat.loader import load_scaps_yaml + from perovskite_sim.experiments import jv_sweep, steady_state, waveform_jv + from perovskite_sim.solver import mol + package = Path(perovskite_sim.__file__).resolve().parent + if supplied_context is not None: + bindings = (supplied_context["source_bindings"] if request["driver"] == "r1_step" + else supplied_context["behavior"]["sources"]) + for binding in bindings: + path = (package / binding["id"]).resolve() + assert path.is_relative_to(package) + assert hashlib.sha256(path.read_bytes()).hexdigest() == binding["sha256"] + source = Path(request["input_path"]) + assert hashlib.sha256(source.read_bytes()).hexdigest() == request["input_sha256"] + stack = load_scaps_yaml(source) if request["driver"].startswith("scaps_") else load_device_from_yaml(source) + if request.get("stack_overrides"): + stack = replace(stack, **request["stack_overrides"]) + observed, errors = [], [] + targets = { + ("solver/mol.py", "build_material_arrays"), ("solver/mol.py", "run_transient"), + ("solver/newton.py", "solve_equilibrium"), ("experiments/jv_sweep.py", "build_electrical_grid"), + ("experiments/jv_sweep.py", "_integrate_step"), ("experiments/steady_state.py", "solve_steady_state"), + ("experiments/steady_state.py", "_transient_point_fallback"), + ("experiments/one_dimensional_mechanism_r1.py", "build_r1_material"), + } + filenames = {str(package / name): name for name, _ in targets} + + def observe(frame, event, value): + relative = filenames.get(frame.f_code.co_filename) + if event != "return" or (relative, frame.f_code.co_name) not in targets: + return + try: + if len(observed) >= 2000: + raise ValueError("bounded observation record limit exceeded") + row = {"source": relative, "function": frame.f_code.co_name, "returned": words(value)} + if frame.f_code.co_name in ("solve_steady_state", "run_transient", "_integrate_step"): + row["arguments"] = {name: words(frame.f_locals[name]) for name in + ("V_app", "t_span", "t_eval", "t_start", "t_end", "dt", "illuminated", "rtol", "atol", "y0") + if name in frame.f_locals and not callable(frame.f_locals[name])} + observed.append(row) + except Exception as error: + errors.append({"source": relative, "function": frame.f_code.co_name, "error": str(error)}) + + record = {"schema": "solarlab.complete-old-driver-observation.v1", "complete": False, + "request": request, "stack": words(stack), "observed_returns": observed, + "capture_errors": errors, "profile_does_not_replace_callees": True, + "import_time_policy": {"ss_jacobian_reuse": steady_state._SS_JAC_REUSE, + "ss_gummel": steady_state._SS_GUMMEL, "rhs_finite_check": mol._RHS_FINITE_CHECK, + "QSS_velocity_effective_m_s": words(mol._QSS_V_TH_MS)}} + record["observer_sha256"] = hashlib.sha256(Path(__file__).read_bytes()).hexdigest() + record["context_sha256"] = None if supplied_context is None else bundle["sha256"] + record["driver_started_ns"] = time.monotonic_ns() + sys.setprofile(observe) + try: + arguments = dict(request["arguments"]) + if request["driver"] == "scaps_transient": + result = jv_sweep.run_jv_sweep(stack, **arguments) + elif request["driver"] == "scaps_steady_state": + result = steady_state.solve_voc_ss(stack, **arguments) + elif request["driver"] == "ion_hysteresis": + waveform = waveform_jv.JVWaveform.from_dict(arguments.pop("waveform")) + if request.get("argument_form", "saved_request") == "saved_request": + controls = arguments.pop("waveform_controls") + for name in ("solver", "iface_states", "interface_boundary", "interface_transport_model"): + arguments.pop(name, None) + arguments.update(rtol=controls["rtol"], atol=controls["atol_m3"]) + else: + assert request["argument_form"] == "driver_keywords" + result = waveform_jv.run_waveform_jv(stack, waveform, **arguments) + elif request["driver"] == "r1_step": + from perovskite_sim.experiments.one_dimensional_mechanism_r1_protocol import r1_policy, run_r1_step + from perovskite_sim.experiments.one_dimensional_mechanism_r1_state import prepare_common_state, json_data + from perovskite_sim.experiments.one_dimensional_mechanism_r1_backend import get_backend + from perovskite_sim.experiments.one_dimensional_mechanism_r1_dynamics import R1DynamicsControls + reference_path = Path(request["reference_path"]) + reference = json.loads(reference_path.read_bytes()) + policy = r1_policy(arguments.pop("nonlinear_factor"), time_substeps=tuple(arguments.pop("time_substeps"))) + if supplied_context is not None: + expected_policy = json.loads(base64.b64decode(supplied_context["policy"]["content_b64"], validate=True)) + assert json_data(policy) == expected_policy + controls = arguments.pop("controls") + assert json_data(R1DynamicsControls.from_label(arguments["control"])) == controls + intervals = arguments.pop("intervals") + backend = arguments.get("backend", "legacy") + if request.get("prepared_path"): + prepared = get_backend(backend).decode_prepared(json.loads(Path(request["prepared_path"]).read_bytes())) + else: + prepared = prepare_common_state(stack, intervals, reference, policy=policy, backend=backend) + args.output.with_name("PreparedState.json").write_text(prepared.canonical_json + "\n") + record["prepared"] = prepared.to_dict() + if supplied_context is not None: + assert prepared.sha256 == supplied_context["prepared_sha256"] + result = run_r1_step(stack, intervals, reference, prepared, policy=policy, + expected_prepared_sha256=prepared.sha256, **arguments) + else: + raise ValueError("unknown exact old driver") + record["result"] = words(result) + if errors: + raise ValueError("a required physical return could not be captured") + record["complete"] = True + except Exception as error: + record["failure"] = {"type": type(error).__name__, "message": str(error), "traceback": traceback.format_exc()} + if hasattr(error, "result"): + record["failed_driver_result"] = words(error.result) + finally: + sys.setprofile(None) + record["driver_finished_ns"] = time.monotonic_ns() + record["return_counts"] = dict(Counter(row["source"] + ":" + row["function"] for row in observed)) + record["source_sha256"] = {str(Path(module.__file__).resolve().relative_to(package)): hashlib.sha256(Path(module.__file__).read_bytes()).hexdigest() + for name, module in sorted(sys.modules.items()) if name.startswith("perovskite_sim") and getattr(module, "__file__", None) + and Path(module.__file__).resolve().is_relative_to(package)} + record["elapsed_seconds"] = time.monotonic() - started + record["started_ns"] = started_ns + record["finished_ns"] = time.monotonic_ns() + record["pid"] = os.getpid() + rss = resource.getrusage(resource.RUSAGE_SELF).ru_maxrss + record["rss_bytes"] = rss if sys.platform == "darwin" else rss * 1024 + assert record["rss_bytes"] <= 4 * 1024**3 + encoded = json.dumps(record, indent=2, allow_nan=False).encode() + assert len(encoded) <= 64 * 1024**2 + args.output.write_bytes(encoded + b"\n") + print(json.dumps({key: record[key] for key in ("complete", "elapsed_seconds", "rss_bytes", "return_counts", "capture_errors")}, indent=2)) + if not record["complete"]: + print(json.dumps(record["failure"], indent=2)) + raise SystemExit(1) + + +if __name__ == "__main__": + main() diff --git a/tests/refactor/physical_comparison.py b/tests/refactor/physical_comparison.py new file mode 100644 index 00000000..2caeebb1 --- /dev/null +++ b/tests/refactor/physical_comparison.py @@ -0,0 +1,365 @@ +"""Small, source-bound physical comparisons for prospective P00 gates. + +These functions compare supplied observations, not solutions of a device. +They never choose a scale, floor, gauge, mask, tolerance or reference error. +R1 full-protocol acceptance remains with its original bound comparators. +""" + +from decimal import Decimal, localcontext +from fractions import Fraction +import hashlib +import json +import math +import struct + +from reference_comparison import ( + Rejected, _identity, _number, _require, _timestamp, +) + + +NORMS = { + "potential": "gauge_cv_rms_linf", + "density": "log_cv_rms_linf_component_inventory", + "cells": "conservative_l1_component_inventory_traces", + "complex": "complex_re_im_difference_circular_phase", + "semantic": "exact_structure_and_words", +} +DEFINITION_FIELDS = ("scope", "comparison_target", "quantity", "unit", "norm", + "support", "mask", "zero_policy") + + +def definition_fingerprint(gate): + """Bind the complete gate, including error evidence and review, before data.""" + return hashlib.sha256(json.dumps({k: v for k, v in gate.items() if k != "definition_sha256"}, + sort_keys=True, separators=(",", ":"), allow_nan=False).encode()).hexdigest() + + +def _fraction(value, name): + return Fraction(_number(value, name)) + + +def _vector(value, name): + _require(isinstance(value, (list, tuple)) and bool(value), "shape", name) + return [_fraction(x, name) for x in value] + + +def _hash(value): + return isinstance(value, str) and len(value) == 64 and all(c in "0123456789abcdef" for c in value) + + +def validate_definition(gate): + """Check a numeric rule without granting reference or run eligibility.""" + _require(isinstance(gate, dict), "incomplete_gate", "Gate must be an object") + _require(gate.get("kind") in NORMS, "incomplete_gate", "Unknown physical kind") + for key in DEFINITION_FIELDS: + _require(key in gate and gate[key] is not None, "incomplete_gate", key) + for key in ("scope", "quantity", "unit", "norm", "support", "zero_policy"): + _require(isinstance(gate[key], str) and bool(gate[key]), "incomplete_gate", key) + _require(gate["norm"] == NORMS[gate["kind"]], "wrong_norm", "Kind/norm mismatch") + target = gate["comparison_target"] + _require(isinstance(target, dict) and target.get("kind") in + {"fixed_discrete", "continuum_projected", "analytic_fixture", "engineering_semantics"} + and bool(target.get("id")), "wrong_target", "Explicit comparison target required") + _require(target.get("family") != "R1_full", "R1_contract_required", "Use the original R1 contract") + _require(isinstance(gate.get("thresholds"), dict) and bool(gate["thresholds"]), + "missing_threshold", "Named thresholds are required") + for name, rule in gate["thresholds"].items(): + _require(isinstance(rule, dict), "missing_threshold", name) + for key in ("atol", "rtol", "scale"): + _number(rule.get(key), name+"."+key, True) + _require(bool(rule.get("unit")) and bool(rule.get("basis")), + "missing_threshold", "Each metric needs units and scale/threshold provenance") + _require(isinstance(gate.get("source_bindings"), list) and bool(gate["source_bindings"]), + "missing_source", "Frozen source bindings required") + _require(all(_hash(x.get("sha256")) and x.get("path") for x in gate["source_bindings"]), + "missing_source", "Invalid source binding") + return True + + +def _eligible(reference, candidate, gate): + validate_definition(gate) + expected = definition_fingerprint(gate) + _require(reference.get("definition_sha256") == candidate.get("definition_sha256") + == gate.get("definition_sha256") == expected, + "definition_mismatch", "Frozen numerical rules or geometry have changed") + _require(gate.get("status") == "frozen", "unreviewed_gate", "Gate is not frozen") + review = gate.get("independent_review", {}) + _require(review.get("status") == "approved" and bool(review.get("evidence")), + "unreviewed_gate", "Independent review required") + _require(gate.get("reference_qualified") is True, "reference_unqualified", "Reference is not qualified") + _require(_timestamp(gate.get("frozen_at"), "freeze") < + _timestamp(candidate.get("run_started_at"), "run"), + "posthoc_gate", "Freeze must precede the candidate run") + for side, data in (("reference", reference), ("candidate", candidate)): + _require(_identity(data.get("identity"), side) == _identity(gate.get(side+"_identity"), side), + "identity_mismatch", side) + for key in DEFINITION_FIELDS: + _require(key in data and data[key] == gate[key], "measurement_mismatch", side+"."+key) + errors = gate.get("reference_errors") + _require(isinstance(errors, dict) and set(errors) == set(gate["thresholds"]), + "reference_error_missing", "Every metric needs an error bound") + for name, error in errors.items(): + _number(error.get("bound"), "reference error", True) + _require(error.get("unit") == gate["thresholds"][name]["unit"] + and _hash(error.get("evidence_sha256")), "reference_error_missing", name) + + +def _profile(reference, candidate, gate): + a, b = _vector(reference.get("values"), "reference"), _vector(candidate.get("values"), "candidate") + w = _vector(gate.get("volumes"), "control volumes") + _require(len(a) == len(b) == len(w) and all(v > 0 for v in w), "geometry", "Positive CV weights required") + _require(gate["mask"] == [True]*len(a), "mask", "This comparator covers every declared CV; no hidden exclusions") + _require(reference.get("volumes") == candidate.get("volumes") == gate["volumes"], + "geometry", "CV geometry must match the frozen geometry") + return a, b, w + + +def _potential(reference, candidate, gate): + a, b, w = _profile(reference, candidate, gate) + _require(gate["unit"] == "V" and gate["zero_policy"] == "fixed_physical_scale", + "unit_or_zero_policy", "Potential uses volts and a fixed physical scale") + _require(all(rule["unit"] == "V" for rule in gate["thresholds"].values()), + "metric_unit", "Potential errors are in volts") + gauge = gate.get("gauge", {}) + if gauge.get("kind") == "cv_zero_mean": + _require(gauge.get("physical_gauge_freedom") is True, "gauge", "Floating gauge must be explicit") + am, bm = sum(x*v for x, v in zip(a, w))/sum(w), sum(x*v for x, v in zip(b, w))/sum(w) + a, b = [x-am for x in a], [x-bm for x in b] + elif gauge.get("kind") == "fixed_contact": + i = gauge.get("index") + _require(type(i) is int and 0 <= i < len(a), "gauge", "Missing contact gauge") + value = _fraction(gauge.get("value_V"), "gauge value") + error = _fraction(gauge.get("absolute_limit_V"), "gauge tolerance") + _require(error >= 0 and abs(a[i]-value) <= error and abs(b[i]-value) <= error, + "gauge", "A physical Dirichlet error cannot be removed as a gauge shift") + else: + raise Rejected("gauge", "A common physical gauge is required") + delta = [abs(x-y) for x, y in zip(a, b)] + return {"rms": ("squared", sum(v*x*x for v, x in zip(w, delta))/sum(w)), "max": max(delta)} + + +def _log_absolute_upper(a, b): + if a == b: + return Fraction(0) + # Decimal.ln is correctly rounded; adjacent80-digit values enclose it. + # Rational subtraction/squaring then preserves this arithmetic allowance. + with localcontext() as ctx: + ctx.prec = 80 + # Enclose rational-to-decimal rounding too; large integers must not + # first pass through binary64 and erase a weak but represented change. + left = Decimal(a.numerator)/Decimal(a.denominator) + right = Decimal(b.numerator)/Decimal(b.denominator) + lo = Fraction(right.next_minus().ln().next_minus())-Fraction(left.next_plus().ln().next_plus()) + hi = Fraction(right.next_plus().ln().next_plus())-Fraction(left.next_minus().ln().next_minus()) + return max(abs(lo), abs(hi)) + + +def _density(reference, candidate, gate): + a, b, w = _profile(reference, candidate, gate) + _require((gate["unit"], gate.get("volume_unit"), gate.get("inventory_unit")) in + {("m-3", "m3", "1"), ("m-3", "m", "m-2")}, + "metric_unit", "Density and integration measure units must be explicit") + for name, rule in gate["thresholds"].items(): + unit = "1" if name.startswith("log_") else gate["unit"] if name == "zero_density_max" else gate["inventory_unit"] + _require(rule["unit"] == unit, "metric_unit", name) + _require(gate["zero_policy"] == "explicit_zero_cells_no_floor", "zero_policy", "No density floor is permitted") + zero = gate.get("zero_cells") + components = gate.get("components") + _require(isinstance(zero, list) and len(set(zero)) == len(zero) + and all(type(i) is int and 0 <= i < len(a) for i in zero), "zero_policy", "Explicit zero-cell set required") + _require(isinstance(components, list) and len(components) == len(a) + and all(isinstance(x, str) and x for x in components), "support", "Connected-component identities required") + _require(reference.get("components") == candidate.get("components") == components, + "support", "Connected components differ") + positive = [i for i in range(len(a)) if i not in zero] + _require(all(a[i] == 0 and b[i] >= 0 for i in zero) + and all(a[i] > 0 and b[i] > 0 for i in positive), "density_domain", "Zero species and positive species must be explicit") + logs = [_log_absolute_upper(a[i], b[i]) for i in positive] + weight = sum(w[i] for i in positive) + metrics = {"log_rms": ("squared", sum(w[i]*z*z for i, z in zip(positive, logs))/weight if weight else Fraction(0)), + "log_max": max(logs, default=Fraction(0)), + "zero_density_max": max((abs(b[i]) for i in zero), default=Fraction(0))} + for component in sorted(set(components)): + metrics["inventory:"+component] = abs(sum(v*(y-x) for x, y, v, c in zip(a, b, w, components) if c == component)) + return metrics + + +def _cells(reference, candidate, gate): + _require(gate["zero_policy"] == "absolute_integrals_no_floor", "zero_policy", "Cell integrals need an explicit absolute branch") + _require(gate["mask"] == "all_cells_and_both_interface_sides", "mask", "Every cell and trace is required") + _require(reference.get("representation") == candidate.get("representation") == "cell_average", + "projection", "Only declared piecewise-constant CV averages are supported") + if "overlap" in gate: + return _overlap_cells(reference, candidate, gate) + area = _fraction(gate.get("area"), "cross-sectional area") + _require(area > 0, "geometry", "Area is not a default") + _require(gate.get("area_unit") == "m2" and gate.get("edge_unit") == "m" + and (gate["unit"], gate.get("integral_unit")) in + {("m-3", "1"), ("C m-3", "C"), ("1", "m3")}, + "metric_unit", "The conservative integral must have the declared physical units") + for name, rule in gate["thresholds"].items(): + _require(rule["unit"] == (gate["unit"] if name.startswith("trace:") else gate["integral_unit"]), + "metric_unit", name) + partitions = gate.get("partitions") + _require(isinstance(partitions, list) and bool(partitions), "support", "Frozen connected regions required") + _require(all(isinstance(p.get("id"), str) and p["id"] for p in partitions), "support", "Region identity is missing") + intervals = [(str(p["id"]), _fraction(p["left"], "left"), _fraction(p["right"], "right")) for p in partitions] + _require(len({x[0] for x in intervals}) == len(intervals) and all(a < b for _, a, b in intervals) + and all(x[2] == y[1] for x, y in zip(intervals, intervals[1:])), "support", "Invalid region partition") + edges, values, inventories = [], [], [] + for data in (reference, candidate): + x, y = _vector(data.get("edges"), "CV edges"), _vector(data.get("values"), "CV averages") + _require(len(x) == len(y)+1 and all(a < b for a, b in zip(x, x[1:])) + and x[0] == intervals[0][1] and x[-1] == intervals[-1][2], "geometry", "Grid coverage differs") + _require(all(a in x and b in x for _, a, b in intervals), "interface", "Cells cannot cross a declared interface") + inventories.append({name: sum(v*(b-a)*area for a, b, v in zip(x, x[1:], y) if lo <= a and b <= hi) + for name, lo, hi in intervals}) + edges.append(x); values.append(y) + i = j = 0; l1 = Fraction(0) + while i < len(values[0]) and j < len(values[1]): + lo, hi = max(edges[0][i], edges[1][j]), min(edges[0][i+1], edges[1][j+1]) + if hi > lo: + l1 += (hi-lo)*area*abs(values[0][i]-values[1][j]) + end_a, end_b = edges[0][i+1], edges[1][j+1] + i += end_a <= end_b; j += end_b <= end_a + metrics = {"l1": l1, **{"inventory:"+k: abs(inventories[1][k]-v) for k, v in inventories[0].items()}} + trace_names = [str(p["id"])+":"+side for p in partitions[:-1] for side in ("left", "right")] + for data in (reference, candidate): + _require(isinstance(data.get("traces"), dict) and set(data["traces"]) == set(trace_names), + "interface", "Both interface traces must be independently supplied") + for name in trace_names: + metrics["trace:"+name] = abs(_fraction(candidate["traces"][name], name)-_fraction(reference["traces"][name], name)) + return metrics + + +def _overlap_cells(reference, candidate, gate): + """Any dimension, given an independently verified frozen CV overlap table.""" + projection = gate.get("projection_evidence", {}) + _require(projection.get("status") == "approved" and _hash(projection.get("sha256")) + and projection.get("geometry_verified") is True, + "projection", "Mass sums alone do not establish geometric overlap") + _require(gate.get("volume_unit") == "m3" and (gate["unit"], gate.get("integral_unit")) in + {("m-3", "1"), ("C m-3", "C"), ("1", "m3")}, "metric_unit", "Overlap volumes need physical units") + a, b = _vector(reference.get("values"), "reference averages"), _vector(candidate.get("values"), "candidate averages") + va, vb = _vector(gate.get("reference_volumes"), "reference volumes"), _vector(gate.get("candidate_volumes"), "candidate volumes") + ca, cb = gate.get("reference_components"), gate.get("candidate_components") + _require(len(a) == len(va) == len(ca) and len(b) == len(vb) == len(cb) + and all(v > 0 for v in va+vb), "geometry", "Overlap geometry shape") + _require(reference.get("volumes") == gate["reference_volumes"] and candidate.get("volumes") == gate["candidate_volumes"] + and reference.get("components") == ca and candidate.get("components") == cb, + "geometry", "Observation geometry differs from the frozen overlap table") + overlap = [_vector(row, "overlap row") for row in gate["overlap"]] + _require(len(overlap) == len(a) and all(len(row) == len(b) for row in overlap), "projection", "Overlap shape") + _require(all(v >= 0 for row in overlap for v in row) and [sum(row) for row in overlap] == va + and [sum(row[j] for row in overlap) for j in range(len(b))] == vb, + "projection", "Overlap must exactly conserve each source and destination CV") + _require(all(v == 0 or ca[i] == cb[j] for i, row in enumerate(overlap) for j, v in enumerate(row)), + "interface", "No projection across distinct regions") + metrics = {"l1": sum(v*abs(a[i]-b[j]) for i, row in enumerate(overlap) for j, v in enumerate(row))} + for name in sorted(set(ca+cb)): + metrics["inventory:"+name] = abs(sum(v*x for v, x, c in zip(va, a, ca) if c == name) + -sum(v*x for v, x, c in zip(vb, b, cb) if c == name)) + names = [interface+":"+side for interface in gate.get("interface_ids", []) for side in ("left", "right")] + _require("interface_ids" in gate and all(set(x.get("traces", {})) == set(names) for x in (reference, candidate)), + "interface", "Both sides of every declared interface are required") + for name in names: + metrics["trace:"+name] = abs(_fraction(candidate["traces"][name], name)-_fraction(reference["traces"][name], name)) + for name, rule in gate["thresholds"].items(): + _require(rule["unit"] == (gate["unit"] if name.startswith("trace:") else gate["integral_unit"]), "metric_unit", name) + return metrics + + +def _complex(reference, candidate, gate): + _require(gate["mask"] == "all_frequencies" and gate["zero_policy"] == "explicit_zero_else_resolved_phase", + "mask_or_zero_policy", "All frequencies and a resolved phase policy are required") + _require(reference.get("coordinates") == candidate.get("coordinates") == gate.get("coordinates") + and isinstance(gate.get("coordinates"), list) and bool(gate["coordinates"]), + "coordinates", "Exact frozen frequencies required") + frequencies = _vector(gate["coordinates"], "frequencies") + _require(len(set(frequencies)) == len(frequencies) and all(f > 0 for f in frequencies), + "coordinates", "Frequencies must be positive and unique") + floor = _fraction(gate.get("phase_floor"), "phase resolution floor") + evidence = gate.get("phase_floor_evidence", {}) + _require(floor > 0 and evidence.get("value") == gate["phase_floor"] and _hash(evidence.get("sha256")), + "phase_floor", "A numeric independently bound resolvability floor is required") + zero = gate.get("zero_indices") + _require(isinstance(zero, list) and len(set(zero)) == len(zero), "zero_policy", "Explicit zero frequencies required") + a, b = reference.get("values"), candidate.get("values") + _require(isinstance(a, list) and isinstance(b, list) and len(a) == len(b) == len(gate["coordinates"]), "shape", "Complex vector length") + _require(all(type(i) is int and 0 <= i < len(a) for i in zero), "zero_policy", "Invalid zero frequency") + re, im, squared, phase = [], [], [], [] + for i, (x, y) in enumerate(zip(a, b)): + x, y = _vector(x, "reference complex"), _vector(y, "candidate complex") + _require(len(x) == len(y) == 2, "shape", "Use real/imaginary pairs") + dr, di = y[0]-x[0], y[1]-x[1] + re.append(abs(dr)); im.append(abs(di)); squared.append(dr*dr+di*di) + if i in zero: + _require(x == y == [0, 0], "zero_signal_changed", "A declared exact zero cannot acquire a response") + phase.append(Fraction(0)); continue + if x[0]**2+x[1]**2 <= floor**2 or y[0]**2+y[1]**2 <= floor**2: + raise Rejected("unresolved_phase", "Amplitude is below the frozen resolvability floor") + real, imaginary = y[0]*x[0]+y[1]*x[1], y[1]*x[0]-y[0]*x[1] + scale = max(abs(real), abs(imaginary)) + phase.append(Fraction(abs(math.atan2(float(imaginary/scale), float(real/scale))))) + _require(gate["thresholds"].get("phase", {}).get("unit") == "rad", "phase_unit", "Phase is an absolute angle in radians") + _require(all(gate["thresholds"].get(name, {}).get("unit") == gate["unit"] + for name in ("real", "imag", "difference")), "metric_unit", "Complex component units differ") + _require(gate["thresholds"]["phase"]["rtol"] == 0, "phase_relative_error", "Relative phase error is not meaningful") + return {"real": max(re), "imag": max(im), "difference": ("squared", max(squared)), "phase": max(phase)} + + +def _semantic(reference, candidate, gate): + _require(gate.get("change_kind") == "M", "word_equality_is_M_only", "Only an M migration can use this comparison") + exceptions = gate.get("metadata_exceptions") + _require(isinstance(exceptions, list) and set(exceptions) <= {"source_module", "import_path", "source_location"}, + "metadata_exceptions", "Only explicit nonphysical metadata paths may differ") + for field in reference["identity"]: + if field != "source_sha256": + _require(reference["identity"][field] == candidate["identity"][field], "M_identity", "M requires unchanged effective inputs/numerics") + def words(value, top=False): + if isinstance(value, dict): + return tuple((key, words({k: v for k, v in item.items() if k not in exceptions}) + if top and key == "metadata" and isinstance(item, dict) else words(item)) + for key, item in sorted(value.items())) + if isinstance(value, (list, tuple)): + return (type(value).__name__, tuple(words(x) for x in value)) + if type(value) is float: + _number(value, "numeric payload") + return ("binary64", struct.pack("!d", value)) + _require(type(value) in (str, int, bool, type(None)), "payload_type", "Unsupported payload type") + return (type(value).__name__, value) + _require(gate["zero_policy"] == "exact_words" and all(gate["thresholds"]["mismatch"][k] == 0 for k in ("atol", "rtol")), + "M_threshold", "An M comparison cannot have a tolerance") + return {"mismatch": Fraction(words(reference.get("values"), True) != words(candidate.get("values"), True))} + + +def compare_physical(reference, candidate, gate): + """Return rejected/unresolved metadata or all named physical metric checks.""" + try: + _require(all(isinstance(x, dict) for x in (reference, candidate, gate)), + "malformed_input", "Observations and gate must be objects") + _eligible(reference, candidate, gate) + metrics = {"potential": _potential, "density": _density, "cells": _cells, + "complex": _complex, "semantic": _semantic}[gate["kind"]](reference, candidate, gate) + _require(set(metrics) == set(gate["thresholds"]), "metric_set", "No required metric may be omitted") + checks = {} + for name, metric in metrics.items(): + rule, uncertainty = gate["thresholds"][name], Fraction(gate["reference_errors"][name]["bound"]) + limit = Fraction(rule["atol"])+Fraction(rule["rtol"])*Fraction(rule["scale"]) + _require(3*uncertainty <= limit, "reference_budget", name) + if isinstance(metric, tuple): + passed = metric[1] <= (limit-uncertainty)**2 + shown = math.sqrt(float(metric[1])) + else: + passed = metric+uncertainty <= limit; shown = float(metric) + exact = metric[1] if isinstance(metric, tuple) else metric + checks[name] = {"value": shown, "limit": float(limit), "reference_error": float(uncertainty), + "exact_measure": [str(exact.numerator), str(exact.denominator)], + "decision_uses_exact_squared_metric": isinstance(metric, tuple), "passed": passed} + return {"status": "passed" if all(x["passed"] for x in checks.values()) else "not_passed", + "accepted": all(x["passed"] for x in checks.values()), "metrics": checks, + "scientific_qualification_granted": False} + except (KeyError, TypeError, ValueError, OverflowError, AttributeError, ZeroDivisionError) as exc: + code = exc.code if isinstance(exc, Rejected) else "malformed_input" + return {"status": "unresolved" if code == "unresolved_phase" else "rejected", + "accepted": False, "code": code, "detail": str(exc), "scientific_qualification_granted": False} diff --git a/tests/refactor/reference_comparison.py b/tests/refactor/reference_comparison.py new file mode 100644 index 00000000..e1c72dc9 --- /dev/null +++ b/tests/refactor/reference_comparison.py @@ -0,0 +1,250 @@ +"""Small, solver-independent comparisons for the P00 reference inventory. + +Callers supply an approved gate and two explicitly bound tables. Each table +contains one scalar, one curve, or a two-parameter grid; branches are separate +tables. There is no interpolation, unit conversion, fitting, or solver import. +""" + +from collections import Counter +from datetime import datetime +from decimal import Decimal +from fractions import Fraction +import math +import struct + + +IDENTITY_FIELDS = ( + "source_sha256", "input_sha256", "protocol_sha256", "initial_state_sha256", + "model_sha256", "numerics_sha256", "environment_sha256", "driver", +) +DIMENSIONS = {"scalar": 0, "curve": 1, "parameter_grid": 2} + + +class Rejected(ValueError): + def __init__(self, code, detail): + super().__init__(detail) + self.code = code + + +def _require(condition, code, detail): + if not condition: + raise Rejected(code, detail) + + +def _number(value, label, nonnegative=False): + valid = type(value) in (int, float) + try: + valid = valid and math.isfinite(value) + except OverflowError: + valid = False + _require(valid, "invalid_number", f"{label} must be a finite number") + _require(not nonnegative or value >= 0, "invalid_number", f"{label} must be nonnegative") + return value + + +def _timestamp(value, label): + try: + result = datetime.fromisoformat(value.replace("Z", "+00:00")) + except (AttributeError, TypeError, ValueError): + raise Rejected("invalid_time", f"{label} must be an ISO timestamp") from None + _require(result.tzinfo is not None, "invalid_time", f"{label} must include a timezone") + return result + + +def _identity(value, label): + _require(isinstance(value, dict), "missing_identity", f"{label} must be an identity object") + for field in IDENTITY_FIELDS: + item = value.get(field) + _require(isinstance(item, str) and bool(item.strip()), "missing_identity", f"{label}.{field} is missing") + if field.endswith("sha256"): + _require(len(item) == 64 and all(c in "0123456789abcdef" for c in item), + "invalid_identity", f"{label}.{field} must be a lowercase SHA-256") + return value + + +def _coordinate(raw, dimension): + _require(isinstance(raw, (list, tuple)) and len(raw) == dimension, + "coordinate_mismatch", f"Expected {dimension} coordinates, received {raw!r}") + # Decimal preserves large integer keys; nearby floats are never rounded to + # one another. Any source-declared coordinate mapping happens before here. + return tuple(Decimal(str(_number(v, "coordinate"))) for v in raw) + + +def _points(table, expected, dimension, side): + raw = table.get("points") + _require(isinstance(raw, list), "missing_points", f"{side}.points must be a list") + indexed = {} + statuses = {"ok", "unknown", "reference_missing"} if side == "reference" else {"ok", "unknown", "solver_failed"} + for point in raw: + _require(isinstance(point, dict), "invalid_point", f"Invalid {side} point") + key = _coordinate(point.get("coordinates"), dimension) + _require(key not in indexed, "duplicate_coordinate", f"Duplicate {side} coordinate {point['coordinates']!r}") + status = point.get("status") + _require(status in statuses, "invalid_status", f"Invalid {side} status {status!r}") + if status == "ok": + _number(point.get("value"), f"{side}.value") + origins = {"native", "extracted"} if side == "reference" else {"native"} + _require(point.get("origin") in origins, "unqualified_point", + f"{side} point must be native data or an explicitly extracted reference; interpolated points do not count") + else: + _require(point.get("value") is None, "invalid_status", f"{side} {status} must have null value") + _require(isinstance(point.get("reason"), str) and bool(point["reason"].strip()), + "missing_reason", f"{side} {status} needs an explicit reason") + indexed[key] = point + missing, extra = set(expected) - set(indexed), set(indexed) - set(expected) + _require(not missing and not extra, "coordinate_mismatch", + f"{side} coordinates differ: missing={sorted(missing)!r}, extra={sorted(extra)!r}") + return indexed + + +def compare(reference, candidate, gate): + """Return an auditable report, including rejected or unresolved inputs. + + Thresholds and each side's complete identity are supplied independently in + gate, so a planned source migration is possible but an unexpected source is + rejected. A frozen candidate identity is not inferred from its output. + """ + try: + return _compare(reference, candidate, gate) + except Rejected as exc: + return {"accepted": False, "status": "rejected", "code": exc.code, + "detail": str(exc), "rows": []} + + +def _compare(reference, candidate, gate): + _require(all(isinstance(v, dict) for v in (reference, candidate, gate)), + "invalid_input", "Reference, candidate, and gate must be objects") + for field in ("id", "version", "scope", "quantity", "unit", "evidence_level"): + _require(isinstance(gate.get(field), str) and bool(gate[field].strip()), + "incomplete_gate", f"gate.{field} is required") + _require(gate["evidence_level"] in {"historical", "numerical", "external"}, + "incomplete_gate", "Unknown evidence level") + _require(gate.get("status") == "frozen", "unreviewed_gate", "Gate is not frozen") + review = gate.get("independent_review") + _require(isinstance(review, dict) and review.get("status") == "approved" + and all(isinstance(review.get(k), str) and review[k].strip() for k in ("reviewer", "evidence")), + "unreviewed_gate", "An independent review and its evidence are required") + for field in ("atol", "rtol", "scale", "reference_error_abs", "reference_error_evidence", "rule", "zero_policy"): + _require(field in gate and gate[field] is not None, "missing_threshold", f"gate.{field} is required") + atol = _number(gate["atol"], "atol", True) + rtol = _number(gate["rtol"], "rtol", True) + ref_error = _number(gate["reference_error_abs"], "reference_error_abs", True) + _require(isinstance(gate["reference_error_evidence"], str) and bool(gate["reference_error_evidence"].strip()), + "missing_threshold", "Reference-error evidence is missing") + _require(isinstance(gate["rule"], str) and gate["rule"] in {"sum", "max", "bitwise"}, + "incomplete_gate", "Unknown comparison rule") + _require(gate["zero_policy"] == "absolute_limit", "incomplete_gate", "Zero signals require the explicit absolute limit") + if gate["scale"] != "abs_reference": + _number(gate["scale"], "scale", True) + if gate["rule"] == "bitwise": + _require(atol == rtol == ref_error == 0 and gate["evidence_level"] == "historical", + "invalid_bitwise_gate", "Bitwise migration has zero tolerances and only proves historical payload equivalence") + + frozen = _timestamp(gate.get("frozen_at"), "gate.frozen_at") + started = _timestamp(candidate.get("run_started_at"), "candidate.run_started_at") + created = _timestamp(candidate.get("created_at"), "candidate.created_at") + _require(frozen < started <= created, "posthoc_gate", + "Gate must be frozen before the actual run starts; artifact creation must not precede the run") + kind = gate.get("kind") + _require(isinstance(kind, str) and kind in DIMENSIONS, "incomplete_gate", "Expected scalar, curve, or parameter_grid") + dimension = DIMENSIONS[kind] + axes = gate.get("axes") + _require(isinstance(axes, list) and len(axes) == dimension, + "incomplete_gate", "Gate axes do not match its kind") + _require(all(isinstance(a, dict) and isinstance(a.get("name"), str) and a["name"] + and isinstance(a.get("unit"), str) and a["unit"] for a in axes), + "incomplete_gate", "Every axis needs a name and unit") + _require(len({a["name"] for a in axes}) == dimension, "incomplete_gate", "Axis names must be distinct") + raw_coordinates = gate.get("expected_coordinates") + _require(isinstance(raw_coordinates, list) and bool(raw_coordinates), "incomplete_gate", "Expected coordinates are required") + expected = [_coordinate(c, dimension) for c in raw_coordinates] + _require(len(set(expected)) == len(expected), "duplicate_coordinate", "Gate coordinates must be unique") + _require(kind != "scalar" or len(expected) == 1, "incomplete_gate", "A scalar has exactly one value") + + for side, table in (("reference", reference), ("candidate", candidate)): + identity = _identity(table.get("identity"), f"{side}.identity") + target = _identity(gate.get(f"{side}_identity"), f"gate.{side}_identity") + _require(identity == target, "identity_mismatch", f"{side} identity differs from its frozen binding") + for field in ("scope", "kind", "quantity", "unit", "axes"): + _require(table.get(field) == gate[field], "measurement_mismatch", f"{side}.{field} differs from the gate") + if gate["rule"] == "bitwise": + left, right = gate["reference_identity"], gate["candidate_identity"] + _require(all(left[k] == right[k] for k in IDENTITY_FIELDS if k != "source_sha256"), + "invalid_bitwise_gate", "Bitwise migration requires the same effective inputs, protocol, initial state, models, driver, numerics, and environment") + + refs = _points(reference, expected, dimension, "reference") + candidates = _points(candidate, expected, dimension, "candidate") + rows = [] + for raw, key in zip(raw_coordinates, expected): + ref, new = refs[key], candidates[key] + row = {"coordinates": list(raw), "reference_status": ref["status"], "candidate_status": new["status"], + "reference_value": ref.get("value"), "candidate_value": new.get("value")} + if ref["status"] != "ok" or new["status"] != "ok": + row.update(status="unresolved", reference_reason=ref.get("reason"), candidate_reason=new.get("reason")) + else: + scale = abs(ref["value"]) if gate["scale"] == "abs_reference" else gate["scale"] + limit = max(atol, rtol * scale) if gate["rule"] == "max" else atol + rtol * scale + _number(limit, "computed limit", True) + _require(ref_error <= limit / 3, "reference_budget_exceeded", + f"Reference error exceeds one third of the allowed error at {raw!r}") + error = abs(new["value"] - ref["value"]) + _number(error, "absolute error", True) + equal = error <= limit + if gate["rule"] == "bitwise": + # Do not round arbitrary integers through float64. Preserve + # integer values, float64 bits, and the declared scalar type. + equal = type(new["value"]) is type(ref["value"]) + if equal and type(ref["value"]) is float: + equal = struct.pack("!d", new["value"]) == struct.pack("!d", ref["value"]) + elif equal: + equal = new["value"] == ref["value"] + row.update(status="passed" if equal else "failed", absolute_error=error, + scale=scale, limit=limit, margin=limit - error) + if not equal: + row["reason"] = "numeric_payload_mismatch" if gate["rule"] == "bitwise" else "tolerance_exceeded" + rows.append(row) + accepted = all(r["status"] == "passed" for r in rows) + return {"gate_id": gate["id"], "gate_version": gate["version"], "evidence_level": gate["evidence_level"], + "accepted": accepted, "status": "passed" if accepted else "not_passed", + "counts": dict(Counter(r["status"] for r in rows)), + "reference_status_counts": dict(Counter(p["status"] for p in refs.values())), + "candidate_status_counts": dict(Counter(p["status"] for p in candidates.values())), "rows": rows} + + +def hysteresis_from_power(forward, reverse, definition, *, forward_error_abs=None, reverse_error_abs=None): + """Use supplied absolute power-error bounds, never a fitted denominator floor. + + Bounds use the same power units as the inputs. Missing bounds or a + denominator interval containing zero leave HI unresolved. Exact synthetic + numbers may explicitly supply zero bounds; physical runs need evidence. + """ + _require(definition in {"HI_P", "HI_normalized"}, "unknown_definition", "An explicit HI definition is required") + _number(forward, "forward power", True) + _number(reverse, "reverse power", True) + denominator = forward if definition == "HI_P" else reverse + if denominator == 0: + return {"definition": definition, "status": "unknown", "value": None, "reason": "zero_denominator"} + if forward_error_abs is None or reverse_error_abs is None: + return {"definition": definition, "status": "unknown", "value": None, "reason": "power_uncertainty_missing"} + _number(forward_error_abs, "forward power error", True) + _number(reverse_error_abs, "reverse power error", True) + denominator_error = forward_error_abs if definition == "HI_P" else reverse_error_abs + if denominator <= denominator_error: + return {"definition": definition, "status": "unknown", "value": None, "reason": "denominator_unresolved"} + + def ratio(fwd, rev): + return rev / fwd - 1 if definition == "HI_P" else (rev - fwd) / rev + + # Exact rational endpoints avoid erasing a supplied sub-ULP uncertainty. + forward, reverse = Fraction(forward), Fraction(reverse) + forward_error_abs, reverse_error_abs = Fraction(forward_error_abs), Fraction(reverse_error_abs) + value = float(ratio(forward, reverse)) + _number(value, definition) + corners = [ratio(fwd, rev) for fwd in (forward - forward_error_abs, forward + forward_error_abs) + for rev in (reverse - reverse_error_abs, reverse + reverse_error_abs)] + exact_bound = max(abs(v - Fraction(value)) for v in corners) + bound = float(exact_bound) + if Fraction(bound) < exact_bound: + bound = math.nextafter(bound, math.inf) + _number(bound, "propagated HI error", True) + return {"definition": definition, "status": "ok", "value": value, "absolute_error_bound": bound} diff --git a/tests/refactor/test_behavior_context.py b/tests/refactor/test_behavior_context.py new file mode 100644 index 00000000..787a7498 --- /dev/null +++ b/tests/refactor/test_behavior_context.py @@ -0,0 +1,473 @@ +"""Historical preparation inspection using real config, selections and captures. + +The optional reviewed capture archive is supplied explicitly by the engineering +check. Repository-only checks still exercise the real SCAPS and saved Calado +inputs; they cannot claim the archive-specific acceptance when it is absent. +No legacy import, material builder, numerical solve or trajectory is executed. +""" + +from copy import deepcopy +from dataclasses import FrozenInstanceError, replace +import base64 +import hashlib +import json +import os +from pathlib import Path +import subprocess +import sys + +import pytest + +from solarlab.config.behavior import ( + CapturedPreparation, _verify_words, behavior_source_requirements, inspect_historical_behavior, + inspect_r1_material_behavior, +) +from solarlab.config.device_import import import_standard_device +from solarlab.config.legacy_defaults import read_legacy_default_catalog +from solarlab.config.model_parameters import device_topology, layer_parameter_source +from solarlab.config.resolve_device import resolve_device +from solarlab.config.scaps_input import import_scaps_device +from solarlab.device.inputs import DeviceInput +from solarlab.materials.full_parameters import FullParameterInput +from solarlab.materials.resources import ResourceLibrary, ResourceTable +from solarlab.materials.source import SourceDocument +from solarlab.physics.registry import CapabilityContext, CapabilityRule, EvidenceRef, ModelDefinition, ModelRef, ModelRegistry, Scope +from solarlab.physics.selection import ModelChoice, select_models + +ROOT = Path(__file__).resolve().parents[2] +LEGACY = ROOT / "perovskite-sim/perovskite_sim" +CATALOG_PATHS = ("models/parameters.py", "models/device.py", "models/defects.py", "physics/statistics.py", + "physics/band_gap_narrowing.py", "scaps_compat/loader.py", "constants.py", + "twod/microstructure.py", "models/tandem_config.py") + + +def document(name, data): + return SourceDocument(name, json.dumps(data, allow_nan=False).encode()) + + +@pytest.fixture(scope="module") +def sources(): + return tuple(SourceDocument(name, (LEGACY / name).read_bytes()) for name, _ in behavior_source_requirements()) + + +@pytest.fixture(scope="module") +def defaults(sources): + by_id = {source.id: source for source in sources} + return read_legacy_default_catalog(tuple(by_id[name] for name in CATALOG_PATHS)) + + +@pytest.fixture(scope="module") +def resources(): + return ResourceLibrary(tuple(ResourceTable(path.stem, "nk", SourceDocument(str(path.relative_to(ROOT)), path.read_bytes())) + for path in sorted((LEGACY / "data/nk").glob("*.csv")))) + + +@pytest.fixture(scope="module") +def scaps(defaults, resources): + path = ROOT / "perovskite-sim/configs/scaps_mirror_v2.yaml" + source = SourceDocument(str(path.relative_to(ROOT)), path.read_bytes()) + data = import_scaps_device(source, id="behavior_scaps", defaults=defaults) + return resolve_device(data, defaults, resources, sources=(source,)) + + +@pytest.fixture(scope="module") +def ion(defaults, resources): + path = ROOT / "perovskite-sim/tests/fixtures/IonDiffusivityFigureReference.json" + original = SourceDocument(str(path.relative_to(ROOT)), path.read_bytes()) + request = json.loads(original.content)["request"] + source = document(original.id + "#request.device", request["device"]) + data = import_standard_device(source, id="behavior_ion", defaults=defaults) + prepared = resolve_device(data, defaults, resources, sources=(original, source)) + return prepared, document(original.id + "#request.params", request["params"]) + + +def selection(device, problem="transient"): + # Real source-owned mobility declaration, as in the independently accepted + # identity-preparation fixture. No fake executor is registered or invoked. + source = SourceDocument("physics/temperature.py", (LEGACY / "physics/temperature.py").read_bytes()) + model = ModelRef("transport.temperature_mobility", 1) + rule = CapabilityRule("source_data_only", (1,), ("dc", "transient"), + (EvidenceRef(source.id + "#mu_at_T", source.sha256, "source"),), backends=("metadata_only",)) + definition = ModelDefinition(model, "Temperature-dependent mobility", "transport", ("layer",), "node", + ("mu_n", "mu_p", "mu_T_gamma"), (), (), rule, parameter_schema="full_layer") + registry = ModelRegistry((definition,)) + return select_models(registry, device_topology(device), + CapabilityContext(1, problem, "metadata_only", "maxwell_boltzmann", temperature_K=device.values["settings"]["T"]), + {"layer": (ModelChoice("mobility", model, parameter_schema="full_layer"),)}, + {Scope("layer", (layer.id,)): layer_parameter_source(layer) + for layer in device.layers if layer.role != "substrate"}) + + +def context(device, sources, *, driver="scaps_transient", arguments=None, environment=(), capture=None): + if arguments is None: + arguments = {"N_grid": 30, "iface_states": True} if driver == "scaps_steady_state" else { + "N_grid": 30, "n_points": 40, "v_rate": 5.0, "V_max": 1.6} + source = arguments if isinstance(arguments, SourceDocument) else document("explicit_driver_call", arguments) + return inspect_historical_behavior(device, selection(device, "dc" if driver == "scaps_steady_state" else "transient"), + driver=driver, sources=sources, environment=environment, arguments=source, capture=capture) + + +def receipt(name, value): + target = os.environ.get("SOLARLAB_BEHAVIOR_EXAMPLES") + if target: + with Path(target).open("a") as stream: + stream.write(json.dumps({"case": name, "context_sha256": value.content_sha256, "context": value.export()}, allow_nan=False) + "\n") + + +def edit(device, change): + data = deepcopy(device.to_input().editing_data()) + change(data) + return resolve_device(DeviceInput.model_validate(data), device.defaults, device.resources, sources=device.sources) + + +def test_actual_scaps_driver_preparation_and_glass_semantics_are_distinct(scaps, sources): + transient_context = context(scaps, sources) + steady_context = context(scaps, sources, driver="scaps_steady_state") + transient = transient_context.export() + steady = steady_context.export() + a, b = transient["source_inspection"], steady["source_inspection"] + assert a["te"]["softness"] == 0.0 and b["te"]["softness"] == 0.02 + assert [row["calibration_if_plane_exists"] for row in a["interfaces"]] == [1.0, 1.0] + assert [row["calibration_if_plane_exists"] for row in b["interfaces"]] == [0.02, 0.1] + assert not a["interface_state_requested"] and b["interface_state_requested"] + assert b["interface_state_count"]["status"] == "unobserved" + glass = a["optics"]["incoherence"][0] + assert glass["normalized_configured"] is True and glass["historical_loader_value"] is False + assert a["preparation"]["preconditioner"]["t_settle"] == 0.001 + assert a["preparation"]["preconditioner"]["mat"] is None + assert not a["preparation"]["solver_executed"] + assert transient["selection_sha256"] != steady["selection_sha256"] # transient vs dc metadata context + assert transient["status"] == "prepared_pending_dependencies" and transient["can_execute"] is False + receipt("scaps_transient_source_inspection", transient_context) + receipt("scaps_steady_source_inspection", steady_context) + + +def test_explicit_environment_zero_does_not_turn_off_a_true_default_and_legacy_has_exact_ceiling(scaps, sources): + original = context(scaps, sources) + before = original.content_sha256 + candidate = edit(scaps, lambda d: d["settings"].update(dos_band_potentials=False)) + unset = context(candidate, sources).export() + zero = context(candidate, sources, environment=(("SOLARLAB_DOS_BAND", "0"),)).export() + one = context(candidate, sources, environment=(("SOLARLAB_DOS_BAND", "1"),)).export() + assert unset["source_inspection"]["switches"]["dos_band_potentials"] is False + assert zero["source_inspection"]["switches"]["dos_band_potentials"] is False + assert one["source_inspection"]["switches"]["dos_band_potentials"] is True + assert unset["environment_supplied"] == {} and zero["environment_supplied"] == {"SOLARLAB_DOS_BAND": "0"} + enabled = edit(candidate, lambda d: d["settings"].update(dos_band_potentials=True)) + assert context(enabled, sources, environment=(("SOLARLAB_DOS_BAND", "0"),)).export()["source_inspection"]["switches"]["dos_band_potentials"] is True + legacy = edit(candidate, lambda d: d["settings"].update(mode="legacy", interface_plane_projection=True)) + old = context(legacy, sources, environment=(("SOLARLAB_DOS_BAND", "1"), ("SOLARLAB_ION_STERIC_DIFF", "1"))).export()["source_inspection"] + assert old["switches"]["dos_band_potentials"] is False + assert old["ion_flux_label"] == "whole_flux" + assert old["switches"]["interface_plane_projection"] is True # no blanket mode suppression + assert original.content_sha256 == before + + +def test_omitted_false_null_and_zero_remain_separate_with_provenance(scaps, sources): + omitted = edit(scaps, lambda d: d["settings"].pop("te_physical_norm", None)) + explicit = edit(omitted, lambda d: d["settings"].update(te_physical_norm=False, built_in_potential_mode=None)) + a, b = context(omitted, sources).export(), context(explicit, sources).export() + assert "te_physical_norm" not in a["normalized_supplied"]["settings"] + assert b["normalized_supplied"]["settings"]["te_physical_norm"] is False + assert b["normalized_supplied"]["settings"]["built_in_potential_mode"] is None + assert b["input_sources"] == a["input_sources"] and b["default_catalog"] == a["default_catalog"] + assert b["layer_parameter_origins"] and b["sources"] + cleared = edit(scaps, lambda d: d["contacts"][0].update(S_n=None)) + blocking = edit(scaps, lambda d: d["contacts"][0].update(S_n=0)) + absent = edit(scaps, lambda d: d["contacts"][0].pop("S_n", None)) + # This actual SCAPS input selects FAST, which suppresses selective contacts. + gated = context(blocking, sources).export()["source_inspection"]["contacts"][0] + assert gated["configured_S_m_s"] == 0 and gated["effective_S_m_s"] is None + cleared, blocking, absent = (edit(v, lambda d: d["settings"].update(mode="full")) for v in (cleared, blocking, absent)) + c, z, m = (context(v, sources).export() for v in (cleared, blocking, absent)) + assert c["source_inspection"]["contacts"][0]["condition"] == "density_dirichlet" + assert z["source_inspection"]["contacts"][0]["condition"] == "blocking_robin" + assert z["source_inspection"]["contacts"][0]["effective_S_m_s"] == 0.0 + assert "S_n" not in m["normalized_supplied"]["contacts"][0] + assert c["normalized_supplied"]["contacts"][0]["S_n"] is None + + +def test_flat_contacts_override_mode_without_erasing_signed_electrostatic_uncertainty(scaps, sources): + candidate = edit(scaps, lambda d: d["settings"].update(mode="legacy", flat_band_contacts=True, V_bi=-1.3)) + body = context(candidate, sources).export()["source_inspection"] + assert all(row["effective_S_m_s"] == 1e5 for row in body["contacts"]) + assert body["electrostatics"]["configured_V_bi"] == -1.3 + assert body["electrostatics"]["signed_V_bi_bc"] == {"status": "unobserved"} + assert "junction_polarity" in body["electrostatics"]["rule"] + + +def test_import_time_flags_preserve_exact_strings_and_do_not_leak(scaps, sources): + a = context(scaps, sources, environment=(("SOLARLAB_SS_JAC_REUSE", "0"), ("PEROVSKITE_RHS_FINITE_CHECK", "1"))) + b = context(scaps, sources, environment=(("SOLARLAB_SS_JAC_REUSE", "1"), ("PEROVSKITE_RHS_FINITE_CHECK", "0"))) + assert a.export()["source_inspection"]["import_time_policy"]["ss_jacobian_reuse"] is False + assert b.export()["source_inspection"]["import_time_policy"]["ss_jacobian_reuse"] is True + assert a.export()["source_inspection"]["import_time_policy"]["rhs_finite_check"] is True + assert b.export()["source_inspection"]["import_time_policy"]["rhs_finite_check"] is False + with pytest.raises(ValueError, match="non-string"): + context(scaps, sources, environment=(("SOLARLAB_DOS_BAND", False),)) + with pytest.raises(ValueError, match="unsupported environment"): + context(scaps, sources, environment=(("UNREVIEWED_PHYSICS_OVERRIDE", "1"),)) + + +def test_original_ion_request_preserves_protocol_and_distinguishes_frozen_from_absent_inventory(ion, sources): + prepared, args = ion + original_context = context(prepared, sources, driver="ion_hysteresis", arguments=args) + base = original_context.export() + observed = base["source_inspection"] + assert observed["optics"]["generation"] == "uniform_absorber_override" + assert observed["optics"]["uniform_generation_m3_s"] == 2.5e27 + # The saved request omits this flag. The actually supplied current source + # catalog defaults to diffusion-only; it cannot prove the old run's flags. + assert observed["ion_flux_label"] == "diffusion_only" + explicit_whole = edit(prepared, lambda d: d["settings"].update(ion_steric_diffusion_only=False)) + assert context(explicit_whole, sources, driver="ion_hysteresis", arguments=args).export()["source_inspection"]["ion_flux_label"] == "whole_flux" + call = observed["preparation"]["actual_driver_arguments"] + assert (call["N_grid"], call["n_points"], call["v_rate"], call["V_max"], call["atol"]) == (60, 111, 0.04, 1.2, 1) + assert call["waveform"]["dark_seed_s"] == 120 and call["waveform"]["dark_prep_s"] == 30 + assert call["waveform"]["turnaround_s"] == 3 and call["waveform"]["branch_dwell_s"] == 0.5 + assert not observed["preparation"]["converged_state_observed"] + frozen = edit(prepared, lambda d: d["layers"][1]["parameters"].update(D_ion=0.0)) + empty = edit(prepared, lambda d: d["layers"][1]["parameters"].update(P0=0.0)) + def absorber(device): + rows = context(device, sources, driver="ion_hysteresis", arguments=args).export()["source_inspection"]["ions"] + return next(row for row in rows if row["layer"] == "layer_1" and row["species"] == "positive") + f, e = absorber(frozen), absorber(empty) + assert f["seed_population_and_fixed_background_m3"] == 1e25 + assert f["diffusion_status"] == "frozen_zero_diffusion" and f["inventory_status"] == "population_and_equal_opposite_background_retained" + assert e["seed_population_and_fixed_background_m3"] == 0 and e["D_reference_m2_s"] == 2.585e-18 + assert e["inventory_status"] == "zero_population_and_background" + # P0 is required by the real source catalog; absence must not invent zero + # inventory (or an arbitrary default population). + with pytest.raises(ValueError, match="missing full parameter values.*P0"): + edit(prepared, lambda d: d["layers"][1]["parameters"].pop("P0")) + assert len(base["input_sources"]) == 2 # original saved request and derived device fragment + receipt("original_ion_request_source_inspection", original_context) + + +def test_interface_calibration_changes_remain_input_scoped(scaps, sources): + zero = edit(scaps, lambda d: d["interfaces"][1]["defect"].update(iface_state_calibration_factor=0.0)) + unity = edit(scaps, lambda d: d["interfaces"][1]["defect"].update(iface_state_calibration_factor=1.0)) + a = context(zero, sources, driver="scaps_steady_state").export()["source_inspection"]["interfaces"] + b = context(unity, sources, driver="scaps_steady_state").export()["source_inspection"]["interfaces"] + assert a[0]["calibration_if_plane_exists"] == 0.0 and b[0]["calibration_if_plane_exists"] == 1.0 + assert context(scaps, sources, driver="scaps_steady_state").export()["source_inspection"]["interfaces"][0]["calibration_if_plane_exists"] == 0.02 + + +def test_original_zero_ct_exponents_import_and_roundtrip_without_coercing_omission_or_invalid_values(ion): + prepared, _ = ion + original = json.loads(prepared.sources[0].content)["request"] + assert hashlib.sha256(json.dumps(original, sort_keys=True, separators=(",", ":")).encode()).hexdigest() == "f85b35f9926a85b31bb8c865c91d1ab093abdca5dbcf06a906b940aa0ee13d6d" + for layer in prepared.layers: + values = dict(layer.parameters) + assert values["ct_beta_n"] == values["ct_beta_p"] == values["v_sat_n"] == values["v_sat_p"] == 0.0 + same = resolve_device(prepared.to_input(), prepared.defaults, prepared.resources, sources=prepared.sources) + assert same.content_sha256 == prepared.content_sha256 + assert "ct_beta_n" not in FullParameterInput().editing_data() + assert FullParameterInput(ct_beta_n=0, ct_beta_p=0).editing_data() == {"ct_beta_n": 0, "ct_beta_p": 0} + for invalid in (-1, float("inf"), float("nan"), True, None): + with pytest.raises(ValueError): + FullParameterInput(ct_beta_n=invalid) + + +def test_context_is_deeply_independent_and_unsupported_calls_fail_closed(scaps, sources, ion): + original = context(scaps, sources) + with pytest.raises(FrozenInstanceError): + original.driver = "ion_hysteresis" + with pytest.raises(FrozenInstanceError): + original.sources[0].content = b"changed" + detached = original.export() + detached["source_inspection"]["te"]["softness"] = 55 + assert original.export()["source_inspection"]["te"]["softness"] == 0 + with pytest.raises(ValueError, match="exact audited"): + context(scaps, (replace(sources[0], content=sources[0].content + b"\n"), *sources[1:])) + with pytest.raises(ValueError, match="unknown driver"): + context(scaps, sources, arguments={"magic_physics": True}) + with pytest.raises(ValueError, match="positive integer"): + context(scaps, sources, arguments={"N_grid": False}) + with pytest.raises(ValueError, match="boolean"): + context(scaps, sources, driver="scaps_steady_state", arguments={"iface_states": 0}) + with pytest.raises(ValueError, match="outside this inspection"): + context(scaps, sources, arguments={"rhs_regularization": {"te_cap_relative_width": 0.0}}) + with pytest.raises(ValueError, match="explicit saved waveform"): + context(ion[0], sources, driver="ion_hysteresis", arguments={}) + with pytest.raises(ValueError, match="topology"): + inspect_historical_behavior(scaps, selection(ion[0]), driver="scaps_transient", sources=sources, + environment=(), arguments=document("call", {})) + for value in ({"N_grid": None}, {"N_grid": 0}, {"V_max": False}): + with pytest.raises(ValueError): + context(scaps, sources, arguments=value) + + +def test_driver_argument_null_and_omission_and_signed_zero_are_not_conflated(scaps, sources): + omitted = context(scaps, sources, arguments={}).export() + cleared = context(scaps, sources, arguments={"V_max": None}).export() + assert "V_max" not in omitted["arguments_supplied"] and cleared["arguments_supplied"]["V_max"] is None + signed = document("call_with_exact_zero", {"V_lo": -0.0}) + stored = context(scaps, sources, driver="scaps_steady_state", arguments=signed) + assert stored.arguments.content == signed.content + assert stored.export()["arguments_supplied"]["V_lo"].hex() == "-0x0.0p+0" + + +@pytest.fixture(scope="module") +def archive(): + name = os.environ.get("SOLARLAB_BEHAVIOR_CAPTURE_ROOT") + if not name: + pytest.skip("explicit independently reviewed SCAPS archive not supplied; no capture acceptance") + root = Path(name) + assert root.is_absolute() and (root / "ConditioningCapture02/case.yaml").is_file() + return root + + +def captured(archive, folder): + def read(name): + return SourceDocument(name, (archive / name).read_bytes()) + return CapturedPreparation(read(folder + "/Result.json"), read(folder + "/Freeze.json"), read("ConditioningCapture02/case.yaml")) + + +def captured_device(record, defaults, resources): + data = import_scaps_device(record.case, id="captured_scaps", defaults=defaults) + return resolve_device(data, defaults, resources, sources=(record.case,)) + + +@pytest.mark.parametrize("driver", ["scaps_transient", "scaps_steady_state"]) +def test_real_reviewed_outer_driver_capture_words_survive(archive, defaults, resources, sources, driver): + record = captured(archive, "DriverCapture01") + device = captured_device(record, defaults, resources) + captured_context = context(device, sources, driver=driver, capture=record) + result = captured_context.export() + data = result["captured_preparation"]["payload"]["record"] + material = data["boundary_calls"][0]["kwargs"].get("mat", data["preparation"][0]["material"])["fields"] + assert material["N_iface_state"] == (2 if driver == "scaps_steady_state" else 0) + assert material["iface_state_shared_occ"] is (driver == "scaps_steady_state") + assert float.fromhex(material["te_softness"]["binary64_hex"]) == (0.02 if driver == "scaps_steady_state" else 0.0) + assert float.fromhex(material["V_bi_eff"]["binary64_hex"]) == 1.2939750419068696 + assert float.fromhex(material["V_bi_bc"]["binary64_hex"]) == 1.3 + assert all(material[key] is None for key in ("S_n_L", "S_p_L", "S_n_R", "S_p_R")) + array = material["P_ion0"] + raw = base64.b64decode(array["bytes_b64"]) + assert array["shape"] == [31] and array["dtype"] == "1, clamped_ratio=None if sentinel else float(clamped), + loss_mV=loss*1000, ratio_error=error(abs(ratio)*1e-14, "1")) + + +class CaseComparisonTests(unittest.TestCase): + def setUp(self): + self.defs = definitions() + + def test_complete_synthetic_packets_pass_without_qualification(self): + for kind, make in (("twod", twod_fixture), ("lockin", lockin_fixture), ("el", el_fixture), ("eqe", eqe_fixture)): + with self.subTest(kind=kind): + d = self.defs[kind]; self.assertTrue(validate_case_definition(d)) + data = make(d); before = copy.deepcopy(data); result = compare_case(d, data) + self.assertTrue(result["accepted"], result) + self.assertFalse(result["scientific_qualification_granted"]) + self.assertEqual(data, before) + + def test_missing_component_interface_side_frequency_and_wavelength_fail(self): + for kind, make, missing in (("twod", twod_fixture, "cells:n:layer_chi3.8"), + ("twod", twod_fixture, "trace:p:right:0"), ("lockin", lockin_fixture, "I"), + ("eqe", eqe_fixture, "EQE:800"), ("el", el_fixture, "spectrum:900")): + with self.subTest(kind=kind, missing=missing): + d = self.defs[kind]; data = make(d) + del data["contexts"][d["contexts"][0]["id"]]["channels"][missing] + self.assertEqual(compare_case(d, data)["code"], "case_coverage") + d = self.defs["lockin"]; data = lockin_fixture(d) + del data["contexts"][d["contexts"][-1]["id"]] + self.assertEqual(compare_case(d, data)["code"], "case_coverage") + + def test_empty_complex_vectors_reject_and_retain_failed_observations(self): + d = self.defs["lockin"] + for channel in ("I", "Z"): + for side in (0, 1): + with self.subTest(channel=channel, side=side): + data = lockin_fixture(d) + first = data["contexts"][d["contexts"][0]["id"]] + first["channels"][channel][side]["values"] = [] + original = copy.deepcopy(data) + result = compare_case(d, data) + self.assertFalse(result["accepted"]) + self.assertIn(result["status"], ("rejected", "unresolved")) + self.assertFalse(result["scientific_qualification_granted"]) + self.assertEqual(result["raw_observations"], original) + self.assertEqual(data, original) + + def test_channels_cannot_be_swapped_or_unreviewed_or_missing_error(self): + d = self.defs["eqe"] + for fault in ("swap", "identity", "review", "error", "qualified", "posthoc"): + data = eqe_fixture(d); channels = data["contexts"]["fixture"]["channels"] + a, b, g = channels["EQE:400"] + if fault == "swap": channels["EQE:400"] = channels["EQE:500"] + elif fault == "identity": b["identity"]["input_sha256"] = "b"*64 + elif fault == "review": g["independent_review"]["status"] = "pending" + elif fault == "error": g["reference_error_abs"] = None + elif fault == "qualified": g["reference_qualified"] = False + else: g["frozen_at"] = "2026-10-04T00:00:00Z" + seal((a, b, g)) + self.assertFalse(compare_case(d, data)["accepted"], fault) + + def test_twod_component_integrals_and_one_sided_support_are_not_averaged(self): + d = self.defs["twod"]; data = twod_fixture(d); c = d["contexts"][0]["id"] + triple = data["contexts"][c]["channels"]["cells:n:layer_chi4.0"] + triple[1]["values"] = [triple[0]["values"][0]*1.01, triple[0]["values"][0]*.99] + result = compare_case(d, data) + self.assertFalse(result["checks"][c]["cells:n:layer_chi4.0"]["metrics"]["l1"]["passed"]) + data = twod_fixture(d); channels = data["contexts"][c]["channels"] + channels["trace:n:left:0"][1]["interface_support"]["side"] = "right" + self.assertEqual(compare_case(d, data)["code"], "interface") + data = twod_fixture(d) + data["contexts"][c]["zero_ions"]["candidate"]["state_population"] = 1e-300 + self.assertEqual(compare_case(d, data)["code"], "zero_species") + + def test_twod_trace_indices_faces_and_coordinates_match_actual_context(self): + d = self.defs["twod"] + for source_side in ("reference", "candidate"): + for fault in ("huge_indices", "wrong_in_range_node", "wrong_face", "wrong_coordinate", "wrong_column"): + with self.subTest(source_side=source_side, fault=fault): + data = twod_fixture(d) + c = d["contexts"][0] + triple = data["contexts"][c["id"]]["channels"]["trace:n:left:0"] + for record in triple: + location = record["interface_support"][source_side] + if fault == "huge_indices": + location.update(state_index=10**9, electrical_face=10**9) + elif fault == "wrong_in_range_node": location["state_index"] -= c["horizontal"]+1 + elif fault == "wrong_face": location["electrical_face"] -= 1 + elif fault == "wrong_column": location["state_index"] += 1 + else: location["position_m"][1] *= .99 + seal(triple) + original = copy.deepcopy(data) + result = compare_case(d, data) + self.assertFalse(result["accepted"]) + self.assertEqual(result["code"], "interface") + self.assertEqual(result["raw_observations"], original) + self.assertFalse(result["scientific_qualification_granted"]) + data = twod_fixture(d); block = data["contexts"][d["contexts"][0]["id"]] + block["context_grid"]["reference"]["shape"] = [65, 3] + self.assertEqual(compare_case(d, data)["code"], "geometry") + + def test_strict_phase_equality_and_both_side_errors(self): + for value in self.defs["lockin"]["phase_limits"].values(): + theta = F(value) + self.assertFalse(strict_phase(theta, F(0), F(0), theta)) + self.assertFalse(strict_phase(theta*2/3, theta/6, theta/6, theta)) + self.assertTrue(strict_phase(F(math.nextafter(value, 0)), F(0), F(0), theta)) + d = self.defs["lockin"] + for side in (0, 1): + data = lockin_fixture(d); block = data["contexts"][d["contexts"][0]["id"]] + block["channels"]["Z"][side]["phase_error"]["uncertainty"]["bound"] = None + self.assertEqual(compare_case(d, data)["status"], "unresolved") + data = lockin_fixture(d); block = data["contexts"][d["contexts"][0]["id"]] + block["channels"]["Z"][1]["phase_rounding"]["uncertainty"]["bound"] = 1e-5 + self.assertEqual(compare_case(d, data)["code"], "unresolved_phase") + + def test_eqe_negative_zero_and_both_light_dark_errors_are_retained(self): + d = self.defs["eqe"]; data = eqe_fixture(d) + result = compare_case(d, data); self.assertTrue(result["accepted"], result) + checks = result["checks"]["fixture"] + self.assertLess(checks["sign_resolution:400:1"]["signed_value"], 0) + self.assertFalse(checks["sign_resolution:500:1"]["resolved"]) + for side in (0, 1): + for name in ("light", "dark"): + data = eqe_fixture(d); raw = data["contexts"]["fixture"]["subtraction"][side] + item = raw["light"]["400"] if name == "light" else raw["dark"] + item["uncertainty"]["bound"] = None + self.assertEqual(compare_case(d, data)["code"], "unresolved_error") + data = eqe_fixture(d); data["contexts"]["fixture"]["subtraction"][1]["dark"]["uncertainty"]["bound"] = 1e-4 + self.assertEqual(compare_case(d, data)["code"], "unresolved_error") + data = eqe_fixture(d); data["contexts"]["fixture"]["channels"]["EQE:400"][1]["points"][0]["value"] *= -1 + self.assertFalse(compare_case(d, data)["checks"]["fixture"]["EQE_units:400:1"]["accepted"]) + + def test_el_nm_m_and_independent_emission_gate(self): + d = self.defs["el"]; data = el_fixture(d) + data["contexts"]["fixture"]["raw"][1]["spectrum_per_m"]["900"] /= 1e9 + self.assertFalse(compare_case(d, data)["checks"]["fixture"]["nm_m:900:1"]["accepted"]) + data = el_fixture(d); data["contexts"]["fixture"]["channels"]["J_em_rad"][1]["points"][0]["value"] *= 1.001 + result = compare_case(d, data) + self.assertFalse(result["checks"]["fixture"]["J_em_rad"]["accepted"]) + self.assertTrue(all(result["checks"]["fixture"][f"spectrum:{w}"]["accepted"] for w in d["wavelengths_nm"])) + slack = F(d["rules"]["J_em_rad"]["atol"])-F(d["charge_exact_C"])*sum(F(w)*F(d["rules"][f"spectrum:{l}"]["atol"]) for l,w in zip(d["wavelengths_nm"],d["weights_nm"])) + self.assertEqual(slack, F(d["rounded_spectral_sum_slack_A_m2_exact"])) + self.assertLess(slack, 0) + + def test_el_entire_below_floor_crossing_clamps_and_exact_boundaries(self): + for emission, signed, be, bi in ((LOWER/100, -F(1), LOWER/1000, F(0)), + (LOWER, -F(1), LOWER/10, F(0)), (F(1), -F(1), F(1, 100), F(0)), + (F(1), -LOWER/2, F(0), F(0)), (F(1, 2), F(1), F(0), F(0))): + self.assertIsNone(el_log_domain(emission, signed, be, bi, F(0))) + self.assertEqual(el_log_domain(LOWER, -F(1), F(0), F(0), F(0)), (LOWER, LOWER)) + self.assertEqual(el_log_domain(F(1), -F(1), F(0), F(0), F(0)), (F(1), F(1))) + d = self.defs["el"] + for side in (0, 1): + for branch in ("below", "lower_cross", "upper_cross", "sentinel", "non_injection"): + with self.subTest(side=side, branch=branch): + data = el_fixture(d) + if branch == "below": set_el_branch(d, data, side, ratio=float(LOWER)/100) + elif branch == "lower_cross": set_el_branch(d, data, side, ratio=float(LOWER)*(1+1e-13)) + elif branch == "upper_cross": set_el_branch(d, data, side, ratio=1-1e-13) + elif branch == "sentinel": set_el_branch(d, data, side, signed=-float(LOWER)/2) + else: set_el_branch(d, data, side, signed=1.0) + before = copy.deepcopy(data); result = compare_case(d, data) + self.assertEqual(result.get("code"), "unresolved_EL_log_domain", result) + self.assertIn(side, result["checks"]["fixture"]["physical_unclipped_log"]["sides"]) + self.assertEqual(result["raw_observations"], before) + self.assertEqual(data, before) + + def test_el_flags_and_missing_arithmetic_errors_do_not_pass(self): + d = self.defs["el"]; data = el_fixture(d) + data["contexts"]["fixture"]["raw"][0]["lower_clip"] = True + self.assertEqual(compare_case(d, data)["code"], "source_branch") + for key in ("integration_error", "ratio_error", "log_error", "loss_conversion_error"): + data = el_fixture(d); data["contexts"]["fixture"]["raw"][1][key]["uncertainty"]["bound"] = None + self.assertEqual(compare_case(d, data)["code"], "unresolved_error") + + +if __name__ == "__main__": + unittest.main() diff --git a/tests/refactor/test_complex_configuration_preparation.py b/tests/refactor/test_complex_configuration_preparation.py new file mode 100644 index 00000000..fcad3ab4 --- /dev/null +++ b/tests/refactor/test_complex_configuration_preparation.py @@ -0,0 +1,524 @@ +"""Actual complex declarations, checked against independent old data loaders. + +No test calls a closure, material-array builder, equilibrium or trajectory. +Old model constructors are used only to obtain their existing data contracts. +""" + +from __future__ import annotations + +from dataclasses import asdict, replace +import importlib.util +import json +from pathlib import Path +import subprocess +import sys + +import pytest +import yaml + +from solarlab.config.defect_documents import import_metastable_document, import_metastable_preparation +from solarlab.config.device_import import import_standard_device +from solarlab.config.legacy_defaults import read_legacy_default_catalog +from solarlab.config.resolve_device import resolve_device +from solarlab.config.yaml import load_yaml_mapping +from solarlab.device.defaults import DefaultCatalog +from solarlab.device.defects import LegacyBulkTrapInput +from solarlab.device.inputs import FullLayerInput, NamedMaterialInput +from solarlab.device.tunnelling import TunnellingInput, validate_resolved_tunnelling +from solarlab.materials.full_parameters import FullParameterInput +from solarlab.materials.resources import ResourceLibrary +from solarlab.materials.source import SourceDocument + +ROOT = Path(__file__).resolve().parents[2] +LEGACY = ROOT / "perovskite-sim/perovskite_sim" +FIXTURES = ROOT / "perovskite-sim/tests/fixtures/configs" +DEFAULT_PATHS = ("models/parameters.py", "models/device.py", "models/defects.py", "physics/statistics.py", + "physics/band_gap_narrowing.py", "scaps_compat/loader.py", "constants.py", + "twod/microstructure.py", "models/tandem_config.py") +MODEL_PATHS = ("physics/cigs_optics.py", "models/tunneling_channels.py") +CASES = ( + "scaps_defect_m1_double_donor_p.yaml", "scaps_defect_m2_double_acceptor_n.yaml", + "scaps_defect_m3_amphoteric_i.yaml", "csi_gaussian_bulk_trap_pn_research.yaml", + "cigs_graded_optics.yaml", "wkb_resolved_electron_barrier.yaml", "wkb_tunnelling_intraband_spike.yaml", +) + + +@pytest.fixture(scope="module") +def defaults(): + return read_legacy_default_catalog( + tuple(SourceDocument(name, (LEGACY / name).read_bytes()) for name in DEFAULT_PATHS), + model_sources=tuple(SourceDocument(name, (LEGACY / name).read_bytes()) for name in MODEL_PATHS)) + + +def source(name): + return SourceDocument(name, (FIXTURES / name).read_bytes()) + + +def imported(name, defaults): + item = source(name) + return import_standard_device(item, id="device", defaults=defaults), item + + +def prepare(input, defaults, sources=()): + return resolve_device(input, defaults, ResourceLibrary(), sources=sources) + + +def words(value): + """Exact scalar comparison, including bool/int/float and low ULP changes.""" + if isinstance(value, dict): + return {name: words(part) for name, part in value.items()} + if isinstance(value, (tuple, list)): + return [words(part) for part in value] + return [type(value).__name__, value.hex() if type(value) is float else value] + + +@pytest.mark.parametrize("name", CASES) +def test_actual_documents_roundtrip_and_match_independent_data_loaders(name, defaults): + from perovskite_sim.models.config_loader import material_params_from_dict + from perovskite_sim.models.tunneling_channels import tunnelling_channel_document_from_mapping + + input, item = imported(name, defaults) + output = prepare(input, defaults, (item,)) + assert prepare(output.to_input(), defaults, (item,)).content_sha256 == output.content_sha256 + assert not output.can_execute and output.values["can_execute"] is False + raw = yaml.safe_load(item.content) + for row, declaration, layer in zip(raw["layers"], input.layers, output.layers): + old = material_params_from_dict(row) + assert words(dict(layer.parameters)) == words({field: getattr(old, field) for field in FullParameterInput.model_fields}) + if "bulk_defects" in row: + assert len(old.bulk_defects) == len(layer.defects) + for canonical, prior, resolved in zip(declaration.bulk_defects, old.bulk_defects, layer.defects): + actual = canonical.normalized_data() + actual.pop("id") + assert words(actual) == words(prior.to_dict()) + assert words(resolved.values["configuration"]["transition_energies_eV_above_vb"]) == words(prior.configuration.energy_levels.transition_energies_eV_above_vb) + if "bulk_trap_distribution" in row: + declared = declaration.bulk_trap_distribution.normalized_data() + assert words(declared) == words(asdict(old.bulk_trap_distribution)) + assert layer.bulk_trap_distribution["density_normalization"] == "integrated_total" + assert layer.bulk_trap_distribution["continuous_density_unit"] == "m^-3/eV" + if "cigs_graded_optics" in row: + assert words(dict(layer.material.cigs_graded_optics)) == words(asdict(old.cigs_graded_optics)) + assert layer.material.cigs_source_binding in defaults.evidence + if "tunnelling_channels" in raw["device"]: + prior = tunnelling_channel_document_from_mapping(raw["device"]) + assert words(output.to_mapping()["tunnelling_channels"]) == words(prior.to_dict()) + + +@pytest.fixture(scope="module") +def metastable_sources(): + # Reuse the actual programmatic canonical fixture. Loading this model-only + # test module defines functions; only its two data constructors are called. + path = ROOT / "perovskite-sim/tests/unit/models/test_multivalent_defect_schema.py" + spec = importlib.util.spec_from_file_location("metastable_data_oracle", path) + module = importlib.util.module_from_spec(spec) + spec.loader.exec_module(module) + definition = module._metastable_definition() + protocol = module._preparation() + document = module.MetastableDefectDocument( + schema_version=module.METASTABLE_DEFECT_SCHEMA_VERSION, + defect_model=module.EXPLICIT_METASTABLE_FROZEN, + metastable_defects=(definition,)) + return (SourceDocument("metastable_document", document.canonical_json().encode()), + SourceDocument("preparation_protocol", protocol.canonical_json().encode())) + + +def metastable_input(defaults, metastable_sources): + input, _ = imported(CASES[0], defaults) + layer = input.layers[0].editing_data() + layer.pop("bulk_defects") + layer.pop("defect_schema_version") + layer.pop("defect_model") + layer["parameters"]["Eg"] = "1.04 eV" + layer["metastable_document"] = import_metastable_document(metastable_sources[0]) + layer["metastable_preparation"] = import_metastable_preparation(metastable_sources[1]) + return input.validated_update({"layers": (FullLayerInput.model_validate(layer),)}) + + +def test_actual_metastable_documents_keep_every_field_and_source(defaults, metastable_sources): + from perovskite_sim.models.multivalent_defects import MetastableDefectDocument, MetastablePreparationProtocol + + input = metastable_input(defaults, metastable_sources) + output = prepare(input, defaults, metastable_sources) + document = input.layers[0].metastable_document.normalized_data() + for defect in document["metastable_defects"]: + defect.pop("id") + original_document = MetastableDefectDocument.from_dict(json.loads(metastable_sources[0].content)) + original_protocol = MetastablePreparationProtocol.from_dict(json.loads(metastable_sources[1].content)) + original_document.validate_band_gap(1.04) + assert words(document) == words(original_document.to_dict()) + assert words(input.layers[0].metastable_preparation.normalized_data()) == words(original_protocol.to_dict()) + assert prepare(output.to_input(), defaults, metastable_sources).content_sha256 == output.content_sha256 + layer = output.to_mapping()["layers"][0] + assert layer["metastable_state"] is None + assert layer["defect_model"] == "explicit_metastable_frozen" + assert layer["metastable_document"]["metastable_defects"][0]["total_density_m3"] == 3e21 + assert "metastable_measurement_protocol_bytes_not_supplied" in output.values["capability_gaps"] + assert not output.can_execute + + +def test_protocol_hash_is_a_reference_until_real_bytes_are_supplied(defaults, metastable_sources): + input = metastable_input(defaults, metastable_sources) + measurement = SourceDocument("measurement", b'{"bias_V":[0,0.01]}') + input.layers[0].metastable_preparation.measurement_protocol_sha256 = measurement.sha256 + unbound = prepare(input, defaults) + bound = prepare(input, defaults, (*metastable_sources, measurement)) + assert unbound.content_sha256 != bound.content_sha256 + assert bound.values["metastable_measurement_protocol_bindings"][0]["sha256"] == measurement.sha256 + assert "metastable_measurement_protocol_bytes_not_supplied" not in bound.values["capability_gaps"] + assert bound.values["layers"][0]["metastable_state"] is None + + +@pytest.mark.parametrize("update", [ + {"charge_states_e": (2, 0, -1)}, {"charge_states_e": (True, 1, 0)}, + {"state_degeneracies": (1, 1, 1)}, {"state_degeneracies": (1, float("nan"), 1)}, + {"family": "single_donor"}, {"transition_kinetics": ()}, {"unknown": 1}, +]) +def test_multivalent_transitions_and_unknown_fields_reject(update, defaults): + input, _ = imported(CASES[0], defaults) + with pytest.raises(ValueError): + input.layers[0].bulk_defects[0].configuration.validated_update(update) + + +def test_multivalent_zero_leg_negative_correlation_and_readonly_values(defaults): + input, _ = imported(CASES[0], defaults) + defect = input.layers[0].bulk_defects[0] + defect.configuration.transition_kinetics[0].sigma_n_m2 = 0 + defect.configuration.energy_levels.correlation_energies_eV = ("-0.1 eV",) + output = prepare(input, defaults) + actual = output.layers[0].defects[0].values + assert actual["configuration"]["transition_kinetics"][0]["sigma_n_m2"] == 0 + assert actual["configuration"]["transition_energies_eV_above_vb"] == (0.3, 0.3 - 0.1) + with pytest.raises(TypeError): + actual["configuration"]["charge_states_e"][0] = 4 + defect.configuration.transition_kinetics[0].sigma_p_m2 = 0 + with pytest.raises(ValueError, match="capture leg"): + prepare(input, defaults) + assert output.layers[0].defects[0].values["configuration"]["transition_kinetics"][0]["sigma_p_m2"] > 0 + + +def test_multivalent_gap_edit_and_copied_resolved_object_revalidate(defaults): + input, _ = imported(CASES[0], defaults) + original = prepare(input, defaults) + with pytest.raises(ValueError, match="outside"): + replace(original.layers[0].defects[0], band_gap_eV=0.2) + with pytest.raises(ValueError, match="v4"): + replace(original.layers[0], defects=()) + with pytest.raises(ValueError, match="unique"): + replace(original.layers[0], defects=original.layers[0].defects * 2) + input.layers[0].parameters.Eg = 0.2 + with pytest.raises(ValueError, match="outside"): + prepare(input, defaults) + + +def test_duplicate_display_names_are_distinct_stable_instances(defaults): + input, _ = imported(CASES[0], defaults) + defect = input.layers[0].bulk_defects[0] + input.layers[0].bulk_defects = (defect, defect.validated_update({"id": "second"})) + output = prepare(input, defaults) + assert [value.values["id"] for value in output.layers[0].defects] == ["bulk_0", "second"] + assert len({value.values["name"] for value in output.layers[0].defects}) == 1 + + +@pytest.mark.parametrize(("family", "charges", "degeneracies"), [ + ("single_donor", (1, 0), (1, 1)), ("single_acceptor", (0, -1), (1, 1)), + ("double_donor", (2, 1, 0), (1, 2, 1)), ("double_acceptor", (0, -1, -2), (1, 2, 1)), + ("amphoteric", (1, 0, -1), (1, 2, 1)), ("custom_multilevel", (2, 1, 0, -1, -2), (1, 4, 6, 4, 1)), +]) +def test_all_declared_multivalent_families_match_data_contract(family, charges, degeneracies, defaults): + from perovskite_sim.models.multivalent_defects import MultivalentDefectConfiguration + + input, _ = imported(CASES[0], defaults) + original = input.layers[0].bulk_defects[0].configuration + data = original.normalized_data() + data.update(family=family, charge_states_e=charges, state_degeneracies=degeneracies, + transition_kinetics=[data["transition_kinetics"][0]] * (len(charges) - 1)) + data["energy_levels"]["correlation_energies_eV"] = [0.0] * (len(charges) - 2) + current = type(original).model_validate(data) + prior = MultivalentDefectConfiguration.from_dict(data) + prior.validate_band_gap(0.8) + assert words(current.normalized_data()) == words(prior.to_dict()) + assert words(current.resolved_data(0.8)["transition_energies_eV_above_vb"]) == words(prior.energy_levels.transition_energies_eV_above_vb) + + +@pytest.mark.parametrize("update", [ + {"total_density_m3": 0}, {"total_density_m3": "1e22 m^-3/eV"}, + {"energy_sigma_eV": 0}, {"energy_sigma_eV": None}, {"sigma_n_m2": False}, + {"charge_transition": "amphoteric"}, {"normalization": "peak"}, +]) +def test_bulk_trap_density_width_kinetics_and_normalization_are_strict(update, defaults): + input, _ = imported(CASES[3], defaults) + with pytest.raises(ValueError): + input.layers[0].bulk_trap_distribution.validated_update(update) + + +def test_single_level_bulk_trap_forbids_width_and_inventories_are_exclusive(defaults): + input, _ = imported(CASES[3], defaults) + data = input.layers[0].bulk_trap_distribution.editing_data() + data["distribution"] = "single_level" + with pytest.raises(ValueError, match="forbids"): + LegacyBulkTrapInput.model_validate(data) + data.pop("energy_sigma_eV") + input.layers[0].bulk_trap_distribution = LegacyBulkTrapInput.model_validate(data) + original = prepare(input, defaults) + assert original.layers[0].bulk_trap_distribution["distribution"] == "single_level" + input.layers[0].bulk_trap_distribution = None + assert prepare(input, defaults).layers[0].bulk_trap_distribution is None + explicit, _ = imported(CASES[0], defaults) + explicit.layers[0].bulk_trap_distribution = LegacyBulkTrapInput.model_validate(data) + with pytest.raises(ValueError, match="exclusive"): + prepare(explicit, defaults) + + +def test_complex_field_units_normalize_before_resolution(defaults, metastable_sources): + input, _ = imported(CASES[3], defaults) + original = prepare(input, defaults) + trap = input.layers[0].bulk_trap_distribution + trap.total_density_m3 = "1e16 cm^-3" + trap.sigma_n_m2 = "1e-15 cm^2" + trap.energy_sigma_eV = "80 meV" + assert words(dict(prepare(input, defaults).layers[0].bulk_trap_distribution)) == words(dict(original.layers[0].bulk_trap_distribution)) + meta = metastable_input(defaults, metastable_sources) + original_meta = prepare(meta, defaults) + conversion = meta.layers[0].metastable_document.metastable_defects[0].conversion_kinetics + conversion.capture_n_m3_s = "2e-8 cm^3/s" + conversion.phonon_frequency_Hz = "1e10 kHz" + assert prepare(meta, defaults).to_mapping()["layers"][0]["metastable_document"] == original_meta.to_mapping()["layers"][0]["metastable_document"] + + +@pytest.mark.parametrize("update", [{"slices": True}, {"slices": 0}, {"slices": 513}, {"kk_quadrature_order": 47}, + {"kk_quadrature_order": 2049}, {"cgi": 0.74}, {"ggi_front": float("inf")}, + {"ggi_back": 1.1}, {"model": None}, {"unknown": 0}]) +def test_cigs_ranges_and_explicit_controls_validate(update, defaults): + input, _ = imported(CASES[4], defaults) + with pytest.raises(ValueError): + input.layers[-1].cigs_graded_optics.validated_update(update) + + +def test_cigs_defaults_material_inheritance_clear_and_source_identity(defaults): + input, _ = imported(CASES[4], defaults) + layer = input.layers[-1] + cigs = layer.cigs_graded_optics + data = {name: value for name, value in cigs.editing_data().items() if name in {"ggi_front", "ggi_back", "cgi"}} + layer.cigs_graded_optics = type(cigs).model_validate(data) + first = prepare(input, defaults) + assert dict(first.layers[-1].material.cigs_graded_optics) == cigs.normalized_data() + original_sha = first.layers[-1].material.content_sha256 + model_sources = tuple(SourceDocument(name, (LEGACY / name).read_bytes() + b'\n# source identity control\n') for name in MODEL_PATHS) + changed_defaults = read_legacy_default_catalog(tuple(SourceDocument(name, (LEGACY / name).read_bytes()) for name in DEFAULT_PATHS), model_sources=model_sources) + assert changed_defaults.complex_defaults == defaults.complex_defaults + assert prepare(input, changed_defaults).layers[-1].material.content_sha256 != original_sha + input.materials = (NamedMaterialInput(id="CIGS", name="CIGS", parameters=FullParameterInput(), cigs_graded_optics=cigs),) + data = layer.editing_data() + data.pop("cigs_graded_optics") + data["material"] = "CIGS" + input.layers = (*input.layers[:-1], FullLayerInput.model_validate(data)) + assert prepare(input, defaults).layers[-1].material.cigs_graded_optics is not None + input.layers[-1].cigs_graded_optics = None + input.settings.graded_optics = False + assert prepare(input, defaults).layers[-1].material.cigs_graded_optics is None + assert first.layers[-1].material.content_sha256 == original_sha + + +@pytest.mark.parametrize("change", ["legacy", "no_grade", "no_endpoint", "wrong_role", "no_model", "n_optical"]) +def test_cigs_activation_and_resource_conflicts_are_precise(change, defaults): + input, _ = imported(CASES[4], defaults) + if change == "legacy": + input.settings.mode = "legacy" + elif change == "no_grade": + input.settings.band_grading = False + elif change == "no_endpoint": + input.layers[-1].parameters.Eg_back = None + input.layers[-1].parameters.chi_back = None + elif change == "wrong_role": + input.layers[-1].role = "ETL" + elif change == "no_model": + input.layers[-1].cigs_graded_optics = None + else: + input.layers[-1].parameters.n_optical = 2 + with pytest.raises(ValueError, match="CIGS|cigs|graded_optics"): + prepare(input, defaults) + + +def test_inert_cigs_document_does_not_claim_optical_activation(defaults): + input, _ = imported(CASES[4], defaults) + input.settings.graded_optics = False + input.settings.band_grading = False + input.settings.mode = "legacy" + input.layers[-1].cigs_graded_optics.ggi_front = 0 + output = prepare(input, defaults) + assert output.layers[-1].material.cigs_graded_optics is not None + assert output.layers[-1].material.cigs_graded_optics["ggi_front"] == 0 + assert output.values["settings"]["graded_optics"] is False + assert not output.can_execute + + +def test_tunnelling_defaults_false_zero_clear_and_independent_channels(defaults): + input, _ = imported(CASES[5], defaults) + input.tunnelling_channels = TunnellingInput() + off = prepare(input, defaults) + channels = off.to_mapping()["tunnelling_channels"] + for name in ("band_to_band", "intraband", "interface_defect_assisted", "contact"): + assert channels[name]["enabled"] is False + assert channels["contact"]["barrier_height_eV"] == 0 + input.tunnelling_channels = TunnellingInput.model_validate({"intraband": {"enabled": True, "carrier": "electron"}}) + active = prepare(input, defaults) + assert active.values["tunnelling_channels"]["intraband"]["enabled"] is True + input.tunnelling_channels.intraband.enabled = False + assert prepare(input, defaults).values["tunnelling_channels"]["intraband"]["enabled"] is False + input.tunnelling_channels.intraband = None + assert prepare(input, defaults).values["tunnelling_channels"]["intraband"]["enabled"] is False + input.tunnelling_channels = None + assert "tunnelling_channels" not in prepare(input, defaults).to_mapping() + + +@pytest.mark.parametrize("data", [ + {"contact": {"enabled": True, "barrier_height_eV": 0}}, + {"intraband": {"enabled": 1}}, {"intraband": {"enabled": None}}, + {"intraband": {"energy_quadrature_order": 3}}, {"intraband": {"electron_effective_mass_rel": False}}, + {"interface_defect_assisted": {"requires_explicit_occupancy": False}}, + {"interface_defect_assisted": {"requires_explicit_occupancy": 1}}, + {"band_to_band": {"minimum_field_V_m": float("nan")}}, {"typo": {}}, +]) +def test_channel_invalid_types_and_controls_fail(data): + with pytest.raises(ValueError): + TunnellingInput.model_validate(data) + + +def test_copied_tunnelling_payload_cannot_omit_validation(defaults): + input, _ = imported(CASES[5], defaults) + data = prepare(input, defaults).to_mapping()["tunnelling_channels"] + data["contact"].pop("barrier_height_eV") + with pytest.raises(ValueError, match="incomplete"): + validate_resolved_tunnelling(data) + input.tunnelling_channels = TunnellingInput.model_validate({"contact": {"enabled": True}}) + with pytest.raises(ValueError, match="positive barrier"): + prepare(input, defaults) + + +def test_valid_unqualified_channels_are_preserved_with_explicit_gaps(defaults): + input, _ = imported(CASES[5], defaults) + input.tunnelling_channels = TunnellingInput.model_validate({"intraband": {"enabled": True, "carrier": "hole"}, + "contact": {"enabled": True, "barrier_height_eV": "200 meV"}, "band_to_band": {"enabled": True}, + "interface_defect_assisted": {"enabled": True}}) + output = prepare(input, defaults) + for name in ("intraband", "contact", "band_to_band", "interface_defect_assisted"): + assert "device_tunnelling_coupling_unavailable:" + name in output.values["capability_gaps"] + assert output.values["tunnelling_channels"][name]["enabled"] is True + assert not output.can_execute + + +@pytest.mark.parametrize("change", ["barrier", "charge", "state_index", "gap", "second_inventory", "protocol_without_document"]) +def test_metastable_relations_and_ownership_reject(change, defaults, metastable_sources): + input = metastable_input(defaults, metastable_sources) + layer = input.layers[0] + with pytest.raises(ValueError): + if change == "barrier": + layer.metastable_document.metastable_defects[0].conversion_kinetics.electron_emission_activation_eV = 0.8 + elif change == "charge": + layer.metastable_document.metastable_defects[0].donor_conversion_state_index = 1 + elif change == "state_index": + layer.metastable_document.metastable_defects[0].donor_conversion_state_index = 2 + elif change == "gap": + layer.parameters.Eg = 0.5 + elif change == "second_inventory": + original, _ = imported(CASES[0], defaults) + layer.bulk_defects = original.layers[0].bulk_defects + else: + layer.metastable_document = None + prepare(input, defaults) + + +@pytest.mark.parametrize("update", [ + {"preparation_limit": "finite_time"}, {"freeze_configuration_during_measurement": False}, + {"freeze_configuration_during_measurement": 1}, {"preparation_temperature_K": False}, + {"measurement_protocol_sha256": "not-a-sha"}, {"voltage_continuation_steps": -1}, {"unknown": 0}, +]) +def test_metastable_protocol_revalidates_copies(update, metastable_sources): + protocol = import_metastable_preparation(metastable_sources[1]) + with pytest.raises(ValueError): + protocol.model_copy(update=update) + + +def test_nested_metastable_edits_change_identity_without_mutable_alias(defaults, metastable_sources): + input = metastable_input(defaults, metastable_sources) + before = prepare(input, defaults) + copied = input.model_copy() + copied.layers[0].metastable_preparation.numerics.initial_donor_fraction_guess = 0 + copied.layers[0].metastable_preparation.preparation_illumination_suns = 0 + after = prepare(copied, defaults) + assert before.content_sha256 != after.content_sha256 + assert input.layers[0].metastable_preparation.numerics.initial_donor_fraction_guess == 0.5 + assert after.values["layers"][0]["metastable_preparation"]["numerics"]["initial_donor_fraction_guess"] == 0 + with pytest.raises(TypeError): + before.layers[0].metastable_document["metastable_defects"][0]["donor_configuration"]["charge_states_e"][0] = 3 + damaged = json.loads(before.input_json) + damaged["layers"][0]["metastable_preparation"]["numerics"]["clamping_factor"] = 2 + with pytest.raises(ValueError): + replace(before, input_json=json.dumps(damaged).encode()) + + +def test_data_catalog_roundtrip_effective_values_and_source_bytes(defaults): + assert DefaultCatalog.from_mapping(defaults.to_mapping()).content_sha256 == defaults.content_sha256 + data = defaults.to_mapping() + data["complex_defaults"]["intraband"]["electron_effective_mass_rel"] = 0.3 + changed = DefaultCatalog.from_mapping(data) + assert changed.evidence == defaults.evidence and changed.content_sha256 != defaults.content_sha256 + data["complex_defaults"]["intraband"]["enabled"] = True + with pytest.raises(ValueError, match="enable"): + DefaultCatalog.from_mapping(data) + + +def test_runtime_resolution_uses_only_serialized_injected_data(tmp_path, defaults): + input, item = imported(CASES[4], defaults) + catalog_path = tmp_path / "catalog.json" + input_path = tmp_path / "input.json" + catalog_path.write_text(json.dumps(defaults.to_mapping())) + input_path.write_text(input.model_dump_json(exclude_unset=True)) + code = '''import json,sys +from pathlib import Path +from solarlab.device.defaults import DefaultCatalog +from solarlab.device.inputs import DeviceInput +from solarlab.config.resolve_device import resolve_device +from solarlab.materials.resources import ResourceLibrary +catalog=DefaultCatalog.from_mapping(json.loads(Path(sys.argv[1]).read_text())) +document=DeviceInput.model_validate_json(Path(sys.argv[2]).read_text()) +output=resolve_device(document,catalog,ResourceLibrary()) +assert not output.can_execute +assert not any(name.startswith(("perovskite_sim","solarlab_research","solarlab_server","backend")) for name in sys.modules) +assert "solarlab.config.legacy_defaults" not in sys.modules +print(output.content_sha256) +''' + result = subprocess.run([sys.executable, "-c", code, str(catalog_path), str(input_path)], text=True, capture_output=True, check=True, cwd=tmp_path) + assert result.stdout.strip() == prepare(input, defaults).content_sha256 + + +def test_legacy_device_route_does_not_acquire_metastable_fields(defaults, metastable_sources): + raw = yaml.safe_load(source(CASES[0]).content) + raw["layers"][0]["metastable_document"] = json.loads(metastable_sources[0].content) + with pytest.raises(ValueError, match="unknown"): + import_standard_device(SourceDocument("unavailable_route", json.dumps(raw).encode()), id="bad", defaults=defaults) + + +def test_real_yaml_merge_precedence_and_edit_alias_independence(defaults): + text = "first: &a {mu_n: 1, optical_material: CIGS}\nsecond: &b {mu_n: 3, eps_r: 4}\nmerged: {mu_n: 0, <<: [*a, *b]}\ninherited: {<<: [*a, *b]}" + assert load_yaml_mapping(text) == yaml.safe_load(text) + assert load_yaml_mapping(text)["merged"] == {"mu_n": 0, "optical_material": "CIGS", "eps_r": 4} + assert load_yaml_mapping(text)["inherited"]["mu_n"] == 1 + shallow = "template: &t {parameters: {mu_n: 1, eps_r: 2}}\nlayer: {<<: *t, parameters: {mu_n: 0}}" + assert load_yaml_mapping(shallow)["layer"]["parameters"] == {"mu_n": 0} + input, _ = imported(CASES[5], defaults) + original = input.layers[0].parameters.mu_n + input.layers[1].parameters.mu_n = 0 + assert input.layers[0].parameters.mu_n == original + assert prepare(input, defaults).layers[1].material.values["mu_n"] == 0 + + +@pytest.mark.parametrize("text", [ + "a: &a {x: 1, x: 2}\nb: {<<: *a}", "a: &a {x: 1}\nb: {<<: *a, <<: *a}", + "a: {<<: 2}", "a: {<<: [1, 2]}", "a: &a {<<: *a}", + "a: &a {x: 1}\nb: {<<: *a, x: 2, x: 3}", +]) +def test_merge_does_not_hide_duplicates_bad_shapes_or_cycles(text): + with pytest.raises((ValueError, yaml.YAMLError)): + load_yaml_mapping(text) diff --git a/tests/refactor/test_configuration_input_types.py b/tests/refactor/test_configuration_input_types.py new file mode 100644 index 00000000..50d94902 --- /dev/null +++ b/tests/refactor/test_configuration_input_types.py @@ -0,0 +1,142 @@ +"""Structural TypeScript checks bound to actual prepared DTOs and YAML inputs.""" + +import json +import os +from pathlib import Path +import re +import shutil +import subprocess +import sys + +from solarlab.config.inputs import LayerInput +from solarlab.config.schema import export_configuration_schema +from solarlab.config.yaml import load_yaml_mapping +from solarlab.device.inputs import ContactInput, DeviceInput, FullLayerInput +from solarlab.device.settings import DeviceSettingsInput +from solarlab.device.tunnelling import TunnellingInput +from solarlab.materials.full_parameters import FullParameterInput +from solarlab.materials.optics import CigsOpticsInput +from solarlab.materials.parameters import LayerValuesInput + +import pytest + +pytestmark = pytest.mark.frontend + +ROOT = Path(__file__).resolve().parents[2] +WEB = ROOT / "web" +EXPORTER = ROOT / "scripts/generate_configuration_schema.py" +GENERATOR = WEB / "scripts/generate-configuration-inputs.mjs" +TYPES = WEB / "src/generated/configuration-inputs.ts" +FIXTURES = ROOT / "perovskite-sim/tests/fixtures/configs" + + +def run(command, cwd, expected=0): + result = subprocess.run(command, cwd=cwd, text=True, capture_output=True, + timeout=30, env={**os.environ, "PYTHONPATH": str(ROOT / "src")}) + assert result.returncode == expected, result.stdout + result.stderr + return result + + +def node(): + executable = os.environ.get("SOLARLAB_NODE") or shutil.which("node") + assert executable, "the existing frontend Node runtime is required" + return executable + + +def test_json_mode_matches_public_metadata_and_preserves_default(tmp_path): + result = run([sys.executable, "-B", str(EXPORTER), "--json"], tmp_path) + assert json.loads(result.stdout) == export_configuration_schema() + target = tmp_path / "metadata.ts" + run([sys.executable, "-B", str(EXPORTER), "--output", str(target)], tmp_path) + assert target.read_bytes() == (WEB / "src/generated/configuration-schema.ts").read_bytes() + run([sys.executable, "-B", str(EXPORTER), "--json", "--check"], tmp_path, expected=2) + + +def test_generation_determinism_check_and_isolated_scopes(tmp_path): + command = [node(), str(GENERATOR), "--python", sys.executable] + run([*command, "--check"], tmp_path) + target = tmp_path / "inputs.ts" + run([*command, "--output", str(target)], tmp_path) + assert target.read_bytes() == TYPES.read_bytes() + run([*command, "--output", str(target), "--check"], tmp_path) + changed = target.read_bytes() + b"// stale\n" + target.write_bytes(changed) + run([*command, "--output", str(target), "--check"], tmp_path, expected=1) + assert target.read_bytes() == changed + target.unlink() + run([*command, "--output", str(target), "--check"], tmp_path, expected=1) + assert not target.exists() + names = sorted(export_configuration_schema()["dto_schemas"]) + text = TYPES.read_text() + assert re.findall(r"export declare namespace (\w+)Definitions \{", text) == names + for name in names: + assert f"export type {name} = {name}Definitions.{name};" in text + # Device and tandem really have same-named local definitions; neither graph + # is hoisted into the other document's namespace. + assert text.count("export interface FullLayerInput") >= 3 + + +def test_actual_inputs_and_discriminating_compile_time_negatives(tmp_path): + # These are existing research input fragments, not model defaults or a + # production catalogue. DTO JSON output preserves unit strings/explicit data. + cigs_path = FIXTURES / "cigs_graded_optics.yaml" + wkb_path = FIXTURES / "wkb_resolved_electron_barrier.yaml" + raw_layer = load_yaml_mapping(cigs_path.read_bytes())["layers"][2] + cigs = CigsOpticsInput.model_validate(raw_layer["cigs_graded_optics"]) + tunnelling = TunnellingInput.model_validate( + load_yaml_mapping(wkb_path.read_bytes())["device"]["tunnelling_channels"]) + parameters = FullParameterInput.model_validate( + {key: value for key, value in raw_layer.items() if key in FullParameterInput.model_fields}) + full_layer = FullLayerInput(id=raw_layer["name"], name=raw_layer["name"], role=raw_layer["role"], + thickness=raw_layer["thickness"], parameters=parameters, cigs_graded_optics=cigs) + device = DeviceInput(schema_version="solarlab.device-preparation.v1", id="cigs_type_fixture", + source_format="standard", layers=(full_layer,)) + values = FullParameterInput(mu_n=0, incoherent=False, Nc300=None, optical_material=None) + template_values = LayerValuesInput(mu_n=0, incoherent=False, optical_material=None) + layer = LayerInput(id="input_fixture", name="Input fixture", template="supplied", overrides=template_values) + samples = { + "cigs": ("CigsOpticsInput", cigs), "tunnelling": ("TunnellingInput", tunnelling), + "parameters": ("FullParameterInput", parameters), "zeroFalseNull": ("FullParameterInput", values), + "emptyOverrides": ("FullParameterInput", FullParameterInput()), + "templateOverrides": ("LayerValuesInput", template_values), + "layer": ("LayerInput", layer), "fullLayer": ("FullLayerInput", full_layer), + "device": ("DeviceInput", device), + "contact": ("ContactInput", ContactInput(id="left", side="left", layer=full_layer.id, S_n=None)), + "signedUnit": ("DeviceSettingsInput", DeviceSettingsInput(phi_left="-20 mV")), + } + types_path = TYPES.with_suffix("").as_posix() + lines = [f"import type * as Input from {json.dumps(types_path)};", + f"// Actual fixture sources: {cigs_path.relative_to(ROOT)}, {wkb_path.relative_to(ROOT)}", + "type IsAny = 0 extends (1 & T) ? true : false;", + "type NotAny = T;"] + names = sorted(export_configuration_schema()["dto_schemas"]) + lines.append("export type AllInputTypes = [" + ", ".join(f"Input.{name}" for name in names) + "];") + lines.append("export type AllInputsConstrained = [" + ", ".join(f"NotAny>" for name in names) + "];") + for name, (type_name, value) in samples.items(): + lines.append(f"export const {name}: Input.{type_name} = {value.model_dump_json(exclude_unset=True)};") + negatives = [ + ("unknownField", "FullParameterInput", "{ unknownParameter: 1 }"), + ("booleanQuantity", "FullParameterInput", "{ mu_n: false }"), + ("nullQuantity", "FullParameterInput", "{ mu_n: null }"), + ("numericBoolean", "FullParameterInput", "{ incoherent: 0 }"), + ("missingCgi", "CigsOpticsInput", "{ ggi_front: 0.225, ggi_back: 0.6 }"), + ("nullOptional", "CigsOpticsInput", "{ ...cigs, slices: null }"), + ("badVersion", "TunnellingInput", "{ schema_version: 'unsupported' }"), + ("badCarrier", "TunnellingInput", "{ intraband: { carrier: 'ion' } }"), + ("unknownNested", "TunnellingInput", "{ intraband: { missingChannelField: true } }"), + ("badKind", "LayerInput", "{ ...layer, kind: 'material' }"), + ("missingRequired", "LayerInput", "{ name: 'x', template: 'x' }"), + ("wrongArray", "DeviceInput", "{ ...device, layers: fullLayer }"), + ("wrongContactNull", "ContactInput", "{ ...contact, id: null }"), + ] + for name, type_name, expression in negatives: + lines.extend([f"// @ts-expect-error {name}: Python schema forbids this structural shape", + f"export const {name}: Input.{type_name} = {expression};"]) + source = tmp_path / "actual-inputs.type-test.ts" + source.write_text("\n".join(lines) + "\n") + command = [node(), str(WEB / "node_modules/typescript/bin/tsc"), "--strict", "--noEmit", + "--skipLibCheck", "--target", "es2023", "--module", "esnext", + "--moduleResolution", "bundler", "--erasableSyntaxOnly", str(source)] + run(command, tmp_path) + # The successful run also proves that every @ts-expect-error was used. + # No schema compiler or unsafe casts are substituted for the real toolchain. diff --git a/tests/refactor/test_configuration_migration.py b/tests/refactor/test_configuration_migration.py new file mode 100644 index 00000000..7acdeaee --- /dev/null +++ b/tests/refactor/test_configuration_migration.py @@ -0,0 +1,251 @@ +"""Actual registered inputs through one forward migration and the strict v2 path.""" +from dataclasses import FrozenInstanceError, replace +import hashlib +import json +import os +from pathlib import Path +import struct +import subprocess +import sys + +import pytest + +from solarlab.config.migration import ( + CONFIGURATION_VERSION, migrate_configuration, prepare_v2_legacy_wire, read_configuration_v2, +) +from solarlab.materials.source import SourceDocument +from solarlab.reproducibility.configuration_migration import ( + prepare_configuration_migration, prepare_registered_configuration_v2, publish_configuration_migration, + read_selected_configuration_v2, + load_selected_configuration_v2, +) +from solarlab.reproducibility.preparation import prepare_configuration, read_preparation_context +from solarlab.reproducibility.registry import RegistryDocument, load_registry, mapping +from solarlab.reproducibility.sources import read_sources + +ROOT = Path(__file__).resolve().parents[2] + + +@pytest.fixture(scope="module") +def matrix(): + path = ROOT / "reproducibility/ConfigBenchmarkMatrixV2.yaml" + source = SourceDocument(str(path.relative_to(ROOT)), path.read_bytes()) + spec = RegistryDocument.model_validate(mapping(source)) + return load_registry(source, read_sources(ROOT, spec.sources).documents) + + +@pytest.fixture(scope="module") +def context(matrix): + return read_preparation_context(matrix) + + +@pytest.fixture(scope="module") +def plan(matrix): + return prepare_configuration_migration(matrix) + + +def mutate(document, update): + data = json.loads(document.content) + update(data) + return SourceDocument(document.id, json.dumps(data, allow_nan=False).encode()) + + +def words(value): + if type(value) is float: + return [("binary64", struct.pack(">d", value).hex())] + if isinstance(value, dict): + return [("key", key) for key in sorted(value)] + [item for key in sorted(value) for item in words(value[key])] + if isinstance(value, (tuple, list)): + return [("length", len(value))] + [item for child in value for item in words(child)] + return [(type(value).__name__, value)] + + +def test_all_55_real_configurations_retain_preparation_and_exact_reverse_bytes(matrix, context, plan, record_property): + defaults, resources = context + assert plan.supported and len(plan.files) == 55 + header = json.loads(plan.selection_json) + assert header["reader"].endswith(":read_selected_configuration_v2") + assert header["can_execute"] is False + rows = {row["path"]: row for row in header["configurations"]} + reports = {row["id"]: row for row in plan.export()["rows"]} + total_words = 0 + observed = [] + environment = dict(os.environ) + for name, document in plan.files: + assert json.loads(document.content)["schema_version"] == CONFIGURATION_VERSION + row = rows[name] + original = prepare_configuration(matrix, row["id"], defaults=defaults, resources=resources).prepared + assert original is not None + actual = prepare_registered_configuration_v2(matrix, row["id"], document, defaults=defaults, resources=resources) + assert words(actual.to_mapping()) == words(original.to_mapping()) + assert actual.input_json == original.input_json + count = sum(kind == "binary64" for kind, _ in words(actual.to_mapping())) + total_words += count + inverse = prepare_v2_legacy_wire(document, defaults=defaults, resources=resources, sources=matrix.sources.documents) + source = matrix.sources.document(row["original_source"]["id"]) + assert inverse.supported and inverse.document == source and not inverse.can_execute + for _, reference in inverse.references: + assert reference == matrix.sources.document(reference.id) + entry = matrix.entry(row["id"]) + assert reports[entry.id]["legacy_claim_level"] == entry.legacy_claim_level + assert reports[entry.id]["legacy_status"] == entry.legacy_status + assert not actual.can_execute + observed.append({"id": entry.id, "prepared_sha256": actual.content_sha256, "binary64_words": count, + "v2_sha256": document.sha256, "original_wire_sha256": source.sha256}) + assert dict(os.environ) == environment and total_words > 5000 + record_property("unchanged_binary64_words", total_words) + target = os.environ.get("SOLARLAB_MIGRATION_EVIDENCE") + if target: + Path(target).write_text(json.dumps({"schema": "solarlab.configuration-migration-M.v1", "passed": True, + "configurations": len(observed), "binary64_words": total_words, "rows": observed, + "old_driver_calls": 0, "scientific_gates_awarded": []}, indent=2) + "\n") + + +def test_v2_entry_never_falls_back_to_a_v1_importer(matrix, context, plan, monkeypatch): + import solarlab.config.migration as migration + import solarlab.reproducibility.preparation as preparation + def refused(*args, **kwargs): + raise AssertionError("v1 importer was reached by the formal v2 entry") + for name in ("import_standard_device", "import_scaps_device", "import_tandem"): + monkeypatch.setattr(migration, name, refused) + monkeypatch.setattr(preparation, "prepare_original", refused) + defaults, resources = context + row = json.loads(plan.selection_json)["configurations"][0] + actual = prepare_registered_configuration_v2(matrix, row["id"], plan.files[0][1], defaults=defaults, resources=resources) + assert actual.content_sha256 == row["prepared_content_sha256"] + with pytest.raises(ValueError): + read_configuration_v2(matrix.sources.document(row["original_source"]["id"]), + defaults=defaults, resources=resources, sources=matrix.sources.documents) + + +@pytest.mark.parametrize("mutation", ("schema", "extra", "source", "defaults", "resources", "missing_sources", "duplicate_source", "reference")) +def test_v2_refuses_changed_bindings_and_unknown_fields(matrix, context, plan, mutation): + changes = { + "schema": lambda d: d.update(schema_version="solarlab.configuration.v1"), + "extra": lambda d: d.update(allow_fallback=True), + "source": lambda d: d["source"].update(sha256="0" * 64), + "defaults": lambda d: d.update(default_catalog_sha256="0" * 64), + "resources": lambda d: d.update(resource_library_sha256="0" * 64), + "missing_sources": lambda d: d.update(sources=[]), + "duplicate_source": lambda d: d["sources"].append(d["source"]), + "reference": lambda d: d["references"].update(unexpected=d["source"]), + } + document = mutate(plan.files[0][1], changes[mutation]) + with pytest.raises(ValueError): + read_configuration_v2(document, defaults=context[0], resources=context[1], sources=matrix.sources.documents) + + +def test_duplicate_and_nonfinite_json_and_wrong_trusted_source_are_refused(matrix, context, plan): + source = plan.files[0][1] + for raw in (source.content[:-1] + b',"schema_version":"solarlab.configuration.v2"}', + source.content[:-1] + b',"unexpected":NaN}'): + with pytest.raises(ValueError): + read_configuration_v2(SourceDocument(source.id, raw), defaults=context[0], resources=context[1], sources=matrix.sources.documents) + documents = tuple(replace(item, content=item.content+b"\n") if item.id == json.loads(source.content)["source"]["id"] else item + for item in matrix.sources.documents) + with pytest.raises(ValueError, match="source content"): + read_configuration_v2(source, defaults=context[0], resources=context[1], sources=documents) + + +def test_changes_cannot_inherit_the_original_registered_materialization(matrix, context, plan): + row = json.loads(plan.selection_json)["configurations"][0] + changed = mutate(plan.files[0][1], lambda d: d["input"]["settings"].update(T="310 K")) + actual = read_configuration_v2(changed, defaults=context[0], resources=context[1], sources=matrix.sources.documents) + assert actual.content_sha256 != row["prepared_content_sha256"] + with pytest.raises(ValueError, match="differs from the original"): + prepare_registered_configuration_v2(matrix, row["id"], changed, defaults=context[0], resources=context[1]) + + +def test_failed_dry_run_has_no_partial_v2_configuration(context): + source = SourceDocument("invalid_original", b"device:\n T: false\nlayers: []\n") + result = migrate_configuration(source, format="standard-device-v1", input_id="invalid", defaults=context[0], resources=context[1]) + assert not result.supported and result.document is None and result.export()["issues"] + assert not result.can_execute + + +def test_publication_is_explicit_exact_and_does_not_overwrite(matrix, context, plan, tmp_path): + destination = tmp_path / "not_authorizing_scientific_execution" + with pytest.raises(ValueError, match="matching dry-run"): + publish_configuration_migration(plan, destination, expected_plan_sha256="0" * 64) + assert not destination.exists() + with pytest.raises(ValueError, match="content binding"): + changed = replace(plan, files=((plan.files[0][0], replace(plan.files[0][1], content=b"{}")), *plan.files[1:])) + publish_configuration_migration(changed, destination, expected_plan_sha256=changed.sha256) + assert not destination.exists() + selected_id = json.loads(plan.selection_json)["configurations"][0]["id"] + single = prepare_configuration_migration(matrix, ids=(selected_id,)) + manifest = publish_configuration_migration(single, destination, expected_plan_sha256=single.sha256) + assert manifest.read_bytes() == single.selection_json + for path, document in single.files: + assert (destination / path).read_bytes() == document.content + selected = SourceDocument("actual_temporary_selection", manifest.read_bytes()) + documents = tuple(SourceDocument(document.id, (destination / path).read_bytes()) for path, document in single.files) + actual = read_selected_configuration_v2(matrix, selected, selected_id, documents=documents, + defaults=context[0], resources=context[1]) + assert actual.content_sha256 == json.loads(single.selection_json)["configurations"][0]["prepared_content_sha256"] + broken = mutate(selected, lambda value: value["configurations"][0].update(sha256="0" * 64)) + with pytest.raises(ValueError, match="content binding"): + read_selected_configuration_v2(matrix, broken, selected_id, documents=documents, + defaults=context[0], resources=context[1]) + with pytest.raises(ValueError, match="new explicit"): + publish_configuration_migration(single, destination, expected_plan_sha256=single.sha256) + with pytest.raises(FrozenInstanceError): + single.files = () + with pytest.raises(ValueError, match="unique existing"): + prepare_configuration_migration(matrix, ids=(selected_id, selected_id)) + + +def test_real_cli_dry_run_and_isolated_metadata_import(tmp_path): + report = tmp_path / "dry-run.json" + argv = [sys.executable, "-I", "-B", "-m", "solarlab.reproducibility.configuration_migration", + "--registry", str(ROOT / "reproducibility/ConfigBenchmarkMatrixV2.yaml"), + "--source-root", str(ROOT), "--dry-run", "--report", str(report)] + result = subprocess.run(argv, cwd=tmp_path, capture_output=True, text=True, timeout=90) + assert result.returncode == 0, result.stdout + result.stderr + receipt = json.loads(result.stdout) + assert receipt["supported"] and receipt["configurations"] == 55 and not receipt["can_execute"] + assert hashlib.sha256(report.read_bytes()).hexdigest() == receipt["plan_sha256"] + assert set(tmp_path.iterdir()) == {report} + isolated = subprocess.run([sys.executable, "-I", "-B", "-c", + "import sys; import solarlab.config.migration; import solarlab.reproducibility.configuration_migration; assert not set(sys.modules) & {'perovskite_sim','scipy','sksundae','flint','solarlab_server'}"], + cwd=tmp_path, capture_output=True, text=True, timeout=10) + assert isolated.returncode == 0, isolated.stdout + isolated.stderr + + +def test_actual_matrix_selection_uses_new_files_and_refuses_the_old_reader(matrix, context, plan, tmp_path): + selected_id = json.loads(plan.selection_json)["configurations"][0]["id"] + single = prepare_configuration_migration(matrix, ids=(selected_id,)) + destination = tmp_path / "ConfigurationsV2" + manifest = publish_configuration_migration(single, destination, expected_plan_sha256=single.sha256) + data = matrix.export() + data["configuration_selection"] = {"path": manifest.relative_to(tmp_path).as_posix(), + "sha256": hashlib.sha256(manifest.read_bytes()).hexdigest(), "migration_plan_sha256": single.sha256} + candidate = load_registry(SourceDocument("non_authorizing_switch_fixture", json.dumps(data).encode()), matrix.sources.documents) + actual = load_selected_configuration_v2(candidate, selected_id, source_root=tmp_path, defaults=context[0], resources=context[1]) + assert actual.content_sha256 == matrix.entry(selected_id).preparation.content_sha256 + with pytest.raises(ValueError, match="formal v2 data is selected"): + prepare_configuration(candidate, selected_id, defaults=context[0], resources=context[1]) + path, _ = single.files[0] + (destination / path).write_bytes(b"{}") + with pytest.raises(ValueError, match="content binding"): + load_selected_configuration_v2(candidate, selected_id, source_root=tmp_path, defaults=context[0], resources=context[1]) + + +def test_exact_selected_input_reconciles_derived_metadata_without_relabelling(matrix, context, plan, monkeypatch): + import solarlab.reproducibility.configuration_migration as module + from types import SimpleNamespace + row = json.loads(plan.selection_json)["configurations"][0] + document = next(doc for _, doc in plan.files if doc.id == row["document_id"]) + original = document.content + actual = module.read_configuration_v2(document, defaults=context[0], resources=context[1], sources=matrix.sources.documents) + derived = SimpleNamespace(content_sha256="0" * 64, to_input=actual.to_input) + monkeypatch.setattr(module, "read_configuration_v2", lambda *a, **k: derived) + comparison = {} + with pytest.warns(RuntimeWarning, match="derived preparation metadata"): + reopened = module.read_selected_configuration_v2(matrix, SourceDocument("selection", plan.selection_json), row["id"], + documents=(document,), defaults=context[0], resources=context[1], reconciliation=comparison) + assert reopened is derived and comparison["status"] == "different" + assert comparison["recorded_prepared_sha256"] == row["prepared_content_sha256"] and document.content == original + with pytest.raises(ValueError, match="differs from the original"): + module.read_selected_configuration_v2(matrix, SourceDocument("selection", plan.selection_json), row["id"], + documents=(document,), defaults=context[0], resources=context[1], strict_derived_metadata=True) diff --git a/tests/refactor/test_configuration_preparation.py b/tests/refactor/test_configuration_preparation.py new file mode 100644 index 00000000..fe8b2955 --- /dev/null +++ b/tests/refactor/test_configuration_preparation.py @@ -0,0 +1,264 @@ +"""Real layer-template roundtrips, strict inputs and immutable SI/eV values.""" + +from __future__ import annotations + +from dataclasses import FrozenInstanceError, replace +from decimal import Decimal +import hashlib +import json +import math +from pathlib import Path + +import pytest +from pydantic import ValidationError +import yaml + +from solarlab.config.inputs import LayerInput +from solarlab.config.resolve import ( + layer_input_mapping, load_layer_input, load_template_library, + resolve_layer, resolve_layers, +) +from solarlab.config.yaml import load_yaml_mapping +from solarlab.materials.library import MaterialLibrary +from solarlab.materials.parameters import LayerValuesInput +from solarlab.units import QuantityError, normalize_quantity + +ROOT = Path(__file__).resolve().parents[2] +CATALOG = ROOT / "perovskite-sim/perovskite_sim/data/layer_templates.yaml" + + +@pytest.fixture +def library() -> MaterialLibrary: + return load_template_library(CATALOG.read_bytes(), source_id="shipped.layer_templates") + + +def layer_input(**overrides: object) -> LayerInput: + return LayerInput.model_validate({ + "id": "absorber_1", "name": "absorber", "template": "MAPbI3_absorber", + "overrides": overrides, + }) + + +@pytest.mark.parametrize(("value", "unit", "expected"), [ + ("400 nm", "m", "4e-7"), ("4e-7 m", "m", "4e-7"), + ("1e17 cm^-3", "m^-3", "1e23"), ("1e10 cm^-2", "m^-2", "1e14"), + ("1 us", "s", "1e-6"), ("2 cm^2/Vs", "m^2/(V s)", "2e-4"), + ("1e-12 cm^2/s", "m^2/s", "1e-16"), ("2 cm^3/s", "m^3/s", "2e-6"), + ("2 cm^6/s", "m^6/s", "2e-12"), ("1 ohm cm^2", "ohm m^2", "1e-4"), + ("1 mA/cm^2", "A/m^2", "10"), ("1000 meV", "eV", "1"), + ("1.602176634e-19 J", "eV", "1"), ("1e-320 m^2/s", "m^2/s", "1e-320"), +]) +def test_exact_unit_conversion(value: str, unit: str, expected: str) -> None: + # Independent decimal literals, not the implementation's conversion table. + assert normalize_quantity(value, unit).hex() == float(Decimal(expected)).hex() + + +@pytest.mark.parametrize("value", [True, False, None, float("inf"), float("nan"), + Decimal("NaN"), "nan", "1e999999999 m", "1e-999999999 m", + "1e-400 m", "1e999 m", [], {}, "1 kg", "20 degC"]) +def test_invalid_or_unrepresentable_quantity_is_rejected(value: object) -> None: + with pytest.raises(QuantityError): + normalize_quantity(value, "m") + + +def test_bare_float_is_preserved_and_negative_zero_is_canonical() -> None: + value = math.nextafter(4e-7, 1.0) + assert normalize_quantity(value, "m").hex() == value.hex() + assert normalize_quantity(-0.0, "m").hex() == 0.0.hex() + with pytest.raises(QuantityError): + normalize_quantity("1 cm", "cm") + + +def test_every_actual_template_retains_its_scalar_values(library: MaterialLibrary) -> None: + original = yaml.safe_load(CATALOG.read_bytes()) + assert {item.id for item in library.templates} == set(original) + assert library.source_sha256 == hashlib.sha256(CATALOG.read_bytes()).hexdigest() + for index, (name, record) in enumerate(original.items()): + resolved = resolve_layer(LayerInput(id=f"layer_{index}", name=name, template=name), library) + values = {**resolved.material.values, "thickness": resolved.thickness, + "N_A": resolved.N_A, "N_D": resolved.N_D} + for key, value in record["defaults"].items(): + if key == "incoherent": + assert values[key] is value + else: + assert type(values[key]) is float + assert values[key].hex() == float(value).hex() + assert values["optical_material"] == record["optical_material"] + assert all(origin.kind == "template" for origin in resolved.origins) + + +def test_unit_equivalent_edit_documents_resolve_identically(library: MaterialLibrary) -> None: + left = resolve_layer(layer_input(thickness="400 nm", N_A="1e17 cm^-3"), library) + right = resolve_layer(layer_input(thickness="4e-7 m", N_A="1e23 m^-3"), library) + assert left.to_mapping() == right.to_mapping() + assert left.content_sha256 == right.content_sha256 + assert left.to_mapping()["units"]["chi"] == "eV" + assert {"thickness", "N_A", "N_D"}.isdisjoint(left.material.values) + + +def test_zero_null_and_absence_have_distinct_semantics(library: MaterialLibrary) -> None: + inherited = resolve_layer(layer_input(), library) + zero = resolve_layer(layer_input(mu_n=0), library) + cleared = resolve_layer(layer_input(optical_material=None), library) + assert inherited.material.values["mu_n"] > 0 + assert zero.material.values["mu_n"] == 0.0 + assert inherited.material.values["optical_material"] == "MAPbI3" + assert cleared.material.values["optical_material"] is None + assert next(item.kind for item in zero.origins if item.parameter == "mu_n") == "override" + assert next(item.kind for item in inherited.origins if item.parameter == "mu_n") == "template" + assert layer_input_mapping(layer_input())["overrides"] == {} + assert layer_input_mapping(layer_input(optical_material=None))["overrides"] == {"optical_material": None} + with pytest.raises(ValidationError, match="omit it to inherit"): + layer_input(mu_n=None) + + +@pytest.mark.parametrize("overrides", [ + {"mu_typo": 1}, {"mu_n": True}, {"tau_n": float("nan")}, {"tau_n": -1}, + {"thickness": 0}, {"incoherent": "yes"}, {"incoherent": 1}, + {"optical_material": ""}, {"mu_n": [1, 2]}, {"profile_file": "unimplemented.csv"}, + {"D_ion": "1e-400 m^2/s"}, +]) +def test_invalid_overrides_fail_with_a_field_location(overrides: dict[str, object]) -> None: + with pytest.raises(ValidationError) as error: + layer_input(**overrides) + assert error.value.errors()[0]["loc"][0] == "overrides" + + +def test_edits_and_copy_updates_revalidate(library: MaterialLibrary) -> None: + editable = layer_input(thickness="400 nm") + resolved = resolve_layer(editable, library) + editable.overrides.thickness = "450 nm" + assert resolved.thickness == 4e-7 + assert resolve_layer(editable, library).thickness == 4.5e-7 + with pytest.raises(ValidationError): + editable.overrides.thickness = -1 + with pytest.raises(ValidationError): + editable.overrides.model_copy(update={"tau_n": -1}) + with pytest.raises(ValidationError): + editable.model_copy(update={"unknown": 1}) + broken = LayerInput.model_construct( + id="broken", name="broken", template="MAPbI3_absorber", + overrides=LayerValuesInput.model_construct(mu_n=float("nan")), + ) + with pytest.raises(ValidationError): + resolve_layer(broken, library) + + +def test_typed_input_nesting_preserves_absent_fields(library: MaterialLibrary) -> None: + overrides = LayerValuesInput(mu_n=0) + assert LayerValuesInput.model_validate(overrides).model_fields_set == {"mu_n"} + editable = LayerInput(id="a", name="a", template="MAPbI3_absorber", overrides=overrides) + assert editable.overrides.model_fields_set == {"mu_n"} + assert LayerInput.model_validate(editable).overrides.model_fields_set == {"mu_n"} + assert resolve_layer(editable, library).material.values["mu_n"] == 0.0 + + +def test_editing_default_nested_overrides_is_not_lost(library: MaterialLibrary) -> None: + editable = LayerInput(id="a", name="a", template="MAPbI3_absorber") + assert "overrides" not in layer_input_mapping(editable) + editable.overrides.mu_n = 0 + assert resolve_layer(editable, library).material.values["mu_n"] == 0.0 + restored = LayerInput.model_validate(layer_input_mapping(editable)) + assert restored.overrides.model_fields_set == {"mu_n"} + assert editable.validated_update({"name": "renamed"}).overrides.mu_n == 0 + assert editable.model_copy().overrides.model_fields_set == {"mu_n"} + copied = editable.model_copy(update={"name": "copied"}, deep=True) + assert resolve_layer(copied, library).material.values["mu_n"] == 0.0 + + +def test_input_schema_has_no_fake_physical_defaults_or_numeric_null() -> None: + properties = LayerValuesInput.model_json_schema()["properties"] + assert all("default" not in definition for definition in properties.values()) + for name, definition in properties.items(): + allows_null = {"type": "null"} in definition.get("anyOf", []) + assert allows_null is (name == "optical_material") + + +def test_resolved_values_are_deeply_immutable_and_detached(library: MaterialLibrary) -> None: + raw = {"id": "a", "name": "absorber", "template": "MAPbI3_absorber", + "overrides": {"thickness": "400 nm"}} + editable = LayerInput.model_validate(raw) + resolved = resolve_layer(editable, library) + digest = resolved.content_sha256 + raw["overrides"]["thickness"] = "999 nm" + detached = resolved.to_mapping() + detached["material"]["parameters"]["mu_n"] = 999 + assert resolved.content_sha256 == digest + with pytest.raises(FrozenInstanceError): + resolved.thickness = 1 + with pytest.raises(TypeError): + resolved.material.values["mu_n"] = 1 + with pytest.raises(TypeError): + library.get("MAPbI3_absorber").values["mu_n"] = 1 + with pytest.raises(ValidationError): + replace(resolved, N_A=float("nan")) + + +def test_resolved_unit_metadata_is_owned(library: MaterialLibrary, monkeypatch: pytest.MonkeyPatch) -> None: + resolved = resolve_layer(layer_input(), library) + digest = resolved.content_sha256 + metadata = LayerValuesInput.model_fields["mu_n"].json_schema_extra + assert isinstance(metadata, dict) + monkeypatch.setitem(metadata, "unit", "cm^2/(V s)") + assert resolved.content_sha256 == digest + assert resolved.to_mapping()["units"]["mu_n"] == "m^2/(V s)" + + +def test_display_names_may_repeat_but_stable_layer_ids_may_not(library: MaterialLibrary) -> None: + first = layer_input() + second = first.validated_update({"id": "absorber_2"}) + assert len(resolve_layers([first, second], library)) == 2 + with pytest.raises(ValueError, match="unique stable IDs"): + resolve_layers([first, first], library) + + +def test_source_replacement_changes_identity_even_when_values_match(library: MaterialLibrary) -> None: + altered = load_template_library(CATALOG.read_bytes() + b"\n# source update\n", source_id=library.source_id) + assert altered.get("MAPbI3_absorber").parameters == library.get("MAPbI3_absorber").parameters + assert altered.source_sha256 != library.source_sha256 + assert resolve_layer(layer_input(), altered).content_sha256 != resolve_layer(layer_input(), library).content_sha256 + + +def test_yaml12_and_json_edit_roundtrip(library: MaterialLibrary) -> None: + document = """ +id: absorber_1 +name: absorber +template: MAPbI3_absorber +overrides: + thickness: 400 nm + N_A: 1e17 cm^-3 + mu_n: 0 + optical_material: null + incoherent: false +""" + original = load_layer_input(document) + restored = load_layer_input(json.dumps(layer_input_mapping(original))) + assert resolve_layer(original, library).to_mapping() == resolve_layer(restored, library).to_mapping() + values = load_yaml_mapping("a: 1e-9\nb: 012\nc: 0o12\nd: 0x12\ne: yes\nf: on\ng: true\nh: null\n") + assert values == {"a": Decimal("1e-9"), "b": 12, "c": 10, "d": 18, "e": "yes", "f": "on", "g": True, "h": None} + assert yaml.safe_load("old: yes")["old"] is True # Do not mutate the legacy loader. + + +@pytest.mark.parametrize("document", [ + "x: 1\nx: 2", "true: value", "x: .nan", "x: .inf", "x: !!bool yes", + "x: !!null nope", "x: !!float 1_000", "x: !!int 1:20", "[]", + "x: !!python/object/new:builtins.object {}", "x: &x {self: *x}", + "x: &x [*x]", "x: !!set {a: null}", +]) +def test_ambiguous_unsafe_and_cyclic_yaml_is_rejected(document: str) -> None: + with pytest.raises((ValueError, yaml.YAMLError)): + load_yaml_mapping(document) + + +def test_catalog_unknown_missing_and_competing_fields_reject() -> None: + document = yaml.safe_load(CATALOG.read_bytes()) + document["MAPbI3_absorber"]["defaults"]["extra"] = 1 + with pytest.raises(ValueError, match="MAPbI3_absorber.defaults"): + load_template_library(yaml.safe_dump(document), source_id="invalid") + del document["MAPbI3_absorber"]["defaults"]["extra"] + del document["MAPbI3_absorber"]["defaults"]["N_A"] + with pytest.raises(ValueError, match="missing template parameters"): + load_template_library(yaml.safe_dump(document), source_id="invalid") + document["MAPbI3_absorber"]["defaults"]["optical_material"] = None + with pytest.raises(ValueError, match="competing sources"): + load_template_library(yaml.safe_dump(document), source_id="invalid") diff --git a/tests/refactor/test_configuration_schema_export.py b/tests/refactor/test_configuration_schema_export.py new file mode 100644 index 00000000..897b09b2 --- /dev/null +++ b/tests/refactor/test_configuration_schema_export.py @@ -0,0 +1,187 @@ +"""Source fidelity and metadata-only generation; no device or solver run.""" + +from dataclasses import replace +from hashlib import sha256 +import importlib +import importlib.util +import json +from pathlib import Path +import subprocess +import sys + +import pytest + +from solarlab.config.schema import ( + configuration_schema_representation, export_configuration_schema, +) +from solarlab.config.yaml import load_yaml_mapping +from solarlab.device.settings import DeviceSettingsInput +from solarlab.device.tunnelling import TunnellingInput +from solarlab.materials.full_parameters import FullParameterInput +from solarlab.materials.optics import CigsOpticsInput +from solarlab.materials.parameter_schema import parameter_schema +from solarlab.units import UNIT_SCHEMA_VERSION, supported_units + +ROOT = Path(__file__).resolve().parents[2] +FIXTURES = ROOT / "perovskite-sim/tests/fixtures/configs" + + +def check_local_references(document): + def resolve(reference): + assert reference.startswith("#/"), reference + value = document + for part in reference[2:].split("/"): + value = value[part.replace("~1", "/").replace("~0", "~")] + assert isinstance(value, dict) + + def walk(value): + if isinstance(value, dict): + if "$ref" in value: + resolve(value["$ref"]) + for reference in value.get("discriminator", {}).get("mapping", {}).values(): + resolve(reference) + for child in value.values(): + walk(child) + elif isinstance(value, list): + for child in value: + walk(child) + walk(document) + + +def test_complete_schemas_equal_actual_dtos_with_independent_reference_scope(): + exported = export_configuration_schema() + assert len(exported["dto_schemas"]) == 20 + for entry in exported["dto_schemas"].values(): + module, name = entry["python_type"].split(":") + dto = getattr(importlib.import_module(module), name) + assert entry["schema"] == dto.model_json_schema(mode="validation") + assert entry["representation"] == "editable_input" + check_local_references(entry["schema"]) + device = exported["dto_schemas"]["DeviceInput"]["schema"] + tandem = exported["dto_schemas"]["TandemInput"]["schema"] + assert device["properties"]["layers"]["items"]["$ref"] == "#/$defs/FullLayerInput" + assert tandem["properties"]["top_cell"]["$ref"] == "#/$defs/DeviceInput" + assert len(device["$defs"]["FullLayerInput"]["properties"]["bulk_defects"]["items"]["anyOf"]) == 2 + + +def test_existing_parameter_metadata_units_and_detached_exports(): + exported = export_configuration_schema() + for name in ("scalar_layer", "full_layer"): + assert exported["parameter_schemas"][name] == parameter_schema(name) + check_local_references(exported["parameter_schemas"][name]) + assert exported["unit_schema_version"] == UNIT_SCHEMA_VERSION + for unit, spellings in exported["unit_spellings"].items(): + assert spellings == list(supported_units(unit)) + assert "cm^-3" in exported["unit_spellings"]["m^-3"] + exported["dto_schemas"]["DeviceInput"]["schema"]["$defs"].clear() + assert export_configuration_schema()["dto_schemas"]["DeviceInput"]["schema"]["$defs"] + + +def test_compact_representation_has_exact_identity_and_detached_payload(): + data, digest = configuration_schema_representation() + decoded = json.loads(data) + assert decoded == export_configuration_schema() + assert isinstance(data, bytes) + assert data == json.dumps(decoded, sort_keys=True, separators=(",", ":"), + ensure_ascii=False, allow_nan=False).encode("utf-8") + assert digest == sha256(data).hexdigest() + decoded["dto_schemas"]["DeviceInput"]["schema"]["$defs"].clear() + assert configuration_schema_representation() == (data, digest) + + +def test_omission_null_zero_false_and_signed_unit_semantics(): + fields = export_configuration_schema()["dto_schemas"]["FullParameterInput"]["schema"]["properties"] + assert "default" not in fields["mu_n"] + assert {"type": "null"} not in fields["mu_n"]["anyOf"] + assert {"type": "null"} in fields["Nc300"]["anyOf"] + assert fields["mu_n"]["unit"] == "m^2/(V s)" + assert FullParameterInput().editing_data() == {} + values = FullParameterInput.model_validate({"mu_n": 0, "incoherent": False, "Nc300": None}) + assert values.editing_data() == {"mu_n": 0, "incoherent": False, "Nc300": None} + assert dict(values.normalized_items()) == {"mu_n": 0.0, "incoherent": False, "Nc300": None} + with pytest.raises(ValueError, match="null"): + FullParameterInput.model_validate({"mu_n": None}) + assert dict(DeviceSettingsInput(phi_left="-20 mV").normalized_items())["phi_left"] == -0.02 + + +def test_real_structured_fixture_inputs_and_backend_constraints(): + cigs = load_yaml_mapping((FIXTURES / "cigs_graded_optics.yaml").read_bytes()) + original = cigs["layers"][2]["cigs_graded_optics"] + model = CigsOpticsInput.model_validate(original) + assert model.editing_data() == original + assert model.slices == original["slices"] + with pytest.raises(ValueError, match="cgi"): + model.validated_update({"cgi": "0.5"}) + wkb = load_yaml_mapping((FIXTURES / "wkb_resolved_electron_barrier.yaml").read_bytes()) + channels = TunnellingInput.model_validate(wkb["device"]["tunnelling_channels"]) + assert channels.editing_data() == wkb["device"]["tunnelling_channels"] + assert channels.intraband.enabled is True + zero = channels.validated_update({"contact": {"enabled": False, "barrier_height_eV": 0}}) + assert zero.normalized_data()["contact"] == {"enabled": False, "barrier_height_eV": 0.0} + with pytest.raises(ValueError, match="positive barrier"): + channels.validated_update({"contact": {"enabled": True, "barrier_height_eV": 0}}) + + +def test_supplied_structured_schema_exports_existing_normalization_and_identity(): + # Reuse the reviewed schema-only producer, without constructing a prepared + # device or invoking its resolver. No second normalization/default table. + from solarlab.config.structured_parameters import _schema + + schema = _schema(TunnellingInput, "tunnelling_channels", "device", + TunnellingInput.model_fields["schema_version"].default) + expected = schema.export() + result = export_configuration_schema(structured_schemas=(schema, schema)) + data, _ = configuration_schema_representation(structured_schemas=(schema, schema)) + assert json.loads(data) == result + key = f"{schema.id}@{schema.version}" + assert result["structured_parameter_schemas"] == {key: expected} + for name in ("input_schema", "normalized_parameter_schema"): + check_local_references(result["structured_parameter_schemas"][key][name]) + assert expected["input_schema"] != expected["normalized_parameter_schema"] + assert expected["source"]["sha256"] == schema.source.sha256 + normalized = expected["normalized_parameter_schema"]["$defs"]["IntrabandInput"] + assert normalized["properties"]["electron_effective_mass_rel"]["exclusiveMinimum"] == 0 + result["structured_parameter_schemas"][key]["input_schema"]["$defs"].clear() + assert schema.export() == expected + with pytest.raises(ValueError, match="conflicting structured schema"): + export_configuration_schema(structured_schemas=(schema, replace(schema, document_version="conflict"))) + + +def test_generation_is_deterministic_and_check_rejects_stale_or_missing(tmp_path, capsys): + path = ROOT / "scripts/generate_configuration_schema.py" + spec = importlib.util.spec_from_file_location("schema_generation", path) + generator = importlib.util.module_from_spec(spec) + spec.loader.exec_module(generator) + first = generator.render() + assert first == generator.render() == generator.DEFAULT_OUTPUT.read_bytes() + output = tmp_path / "configuration-schema.ts" + assert generator.main(["--output", str(output)]) == 0 + assert output.read_bytes() == first + assert generator.main(["--check", "--output", str(output)]) == 0 + output.write_bytes(first + b"// stale\n") + assert generator.main(["--check", "--output", str(output)]) == 1 + assert output.read_bytes() == first + b"// stale\n" + missing = tmp_path / "missing.ts" + assert generator.main(["--check", "--output", str(missing)]) == 1 + assert not missing.exists() + assert "stale or missing" in capsys.readouterr().err + + +def test_generation_imports_no_physics_or_numerical_engine(): + code = """ +import importlib.abc, json, sys +class RejectEngine(importlib.abc.MetaPathFinder): + def find_spec(self, fullname, path=None, target=None): + if fullname.split('.')[0] in {'numpy', 'scipy', 'sksundae', 'perovskite_sim', 'solarlab_server'} or fullname.startswith(('solarlab.physics', 'solarlab.numerics')): + raise AssertionError('unexpected engine import: ' + fullname) +sys.meta_path.insert(0, RejectEngine()) +from solarlab.config.schema import export_configuration_schema +value = export_configuration_schema() +assert value['structured_parameter_schemas'] == {} +print(json.dumps({'status': value['status'], 'modules': sorted(m for m in sys.modules if m.startswith('solarlab'))})) +""" + result = subprocess.run([sys.executable, "-B", "-c", code], cwd=ROOT, + text=True, capture_output=True, timeout=10, check=True) + exported = json.loads(result.stdout) + assert exported["status"] == "prepared_pending_dependencies" + assert not any(name.startswith("solarlab.physics") for name in exported["modules"]) diff --git a/tests/refactor/test_device_configuration_preparation.py b/tests/refactor/test_device_configuration_preparation.py new file mode 100644 index 00000000..f88fb38e --- /dev/null +++ b/tests/refactor/test_device_configuration_preparation.py @@ -0,0 +1,514 @@ +"""Real configuration data, source identity, edits and immutable preparation.""" + +from __future__ import annotations + +from dataclasses import FrozenInstanceError, replace +from decimal import Decimal, localcontext +import json +from pathlib import Path +import subprocess +import sys + +import numpy as np +import pytest + +from solarlab.config.device_import import import_standard_device +from solarlab.config.legacy_defaults import read_legacy_default_catalog +from solarlab.config.model_parameters import layer_parameter_source +from solarlab.config.resolve_device import resolve_device, resolve_tandem +from solarlab.config.scaps_input import import_scaps_device +from solarlab.config.tandem_input import import_tandem +from solarlab.config.yaml import load_yaml_mapping +from solarlab.device.defaults import DefaultCatalog +from solarlab.device.inputs import DeviceInput, FullLayerInput, NamedMaterialInput +from solarlab.device.settings import DeviceSettingsInput +from solarlab.device.resolved import PreparedDevice +from solarlab.materials.full_parameters import FullParameterInput +from solarlab.materials.resources import ResourceLibrary, ResourceTable +from solarlab.materials.source import SourceDocument +from solarlab.physics.registry import CapabilityContext, CapabilityRule, ModelDefinition, ModelRef, ModelRegistry, Scope +from solarlab.physics.selection import ModelChoice, Topology, select_models + +ROOT = Path(__file__).resolve().parents[2] +LEGACY = ROOT / "perovskite-sim/perovskite_sim" +CONFIGS = ROOT / "perovskite-sim/tests/fixtures/configs" +CASES = { + "standard": CONFIGS / "nip_MAPbI3.yaml", + "scaps": ROOT / "perovskite-sim/configs/scaps_mirror_v2.yaml", + "defect": CONFIGS / "scaps_defect_s1_acceptor_n.yaml", + "grain": CONFIGS / "twod/nip_MAPbI3_singleGB.yaml", + "distributed": CONFIGS / "distributed_defect_qf_dc_pn.yaml", + "spatial": CONFIGS / "graded_distributed_defect_qf_dc_pn.yaml", +} +DEFAULT_SOURCES = ("models/parameters.py", "models/device.py", "models/defects.py", "physics/statistics.py", + "physics/band_gap_narrowing.py", "scaps_compat/loader.py", "constants.py", + "twod/microstructure.py", "models/tandem_config.py") + + +@pytest.fixture(scope="module") +def defaults(): + return read_legacy_default_catalog(tuple(SourceDocument(name, (LEGACY / name).read_bytes()) for name in DEFAULT_SOURCES)) + + +@pytest.fixture(scope="module") +def resources(): + return ResourceLibrary(tuple(ResourceTable(path.stem, "nk", SourceDocument(str(path.relative_to(ROOT)), path.read_bytes())) + for path in sorted((LEGACY / "data/nk").glob("*.csv")))) + + +def imported(case, defaults): + path = CASES[case] + source = SourceDocument(str(path.relative_to(ROOT)), path.read_bytes()) + loader = import_scaps_device if case == "scaps" else import_standard_device + return loader(source, id=case, defaults=defaults), source + + +def prepared(case, defaults, resources): + input, source = imported(case, defaults) + return resolve_device(input, defaults, resources, sources=(source,)) + + +def edited_source_bytes(raw): + def decimal_string(value): + if isinstance(value, Decimal): + return str(value) + raise TypeError(type(value).__name__) + return json.dumps(raw, default=decimal_string).encode() + + +@pytest.mark.parametrize("case", CASES) +def test_actual_device_inputs_resolve_roundtrip_and_preserve_fields(case, defaults, resources): + input, source = imported(case, defaults) + output = resolve_device(input, defaults, resources, sources=(source,)) + assert resolve_device(output.to_input(), defaults, resources, sources=(source,)).content_sha256 == output.content_sha256 + assert not output.can_execute + raw = load_yaml_mapping(source.content) + assert len(output.layers) == len(raw["layers"]) + if case != "scaps": + for declared, layer in zip(raw["layers"], output.layers): + assert layer.name == declared["name"] and layer.role == declared["role"] + assert layer.thickness.hex() == float(declared["thickness"]).hex() + values = dict(layer.parameters) + for name in FullParameterInput.model_fields: + if name in declared: + expected = float(declared[name]) if isinstance(declared[name], Decimal) else declared[name] + assert values[name] == expected, name + assert all(len(layer.field_origins) == len(layer.parameters) for layer in output.layers) + for layer in output.to_mapping()["layers"]: + assert all("effective_value" in origin for origin in layer["provenance"]) + + +def test_scaps_units_defects_and_glass_diagnostic_are_explicit(defaults, resources): + output = prepared("scaps", defaults, resources) + glass, htl, pvk, etl = output.layers + assert glass.thickness == 1e-3 + assert glass.material.values["incoherent"] is True + assert htl.thickness == 20e-9 and etl.thickness == 25e-9 + assert pvk.material.values["mu_n"] == 0.002 + assert len(pvk.defects) == 2 + assert pvk.local_parameters["tau_n"] == pytest.approx(5e-5, rel=1e-15) + assert {defect.values["charge_transition"] for defect in pvk.defects} == {"unresolved"} + with localcontext() as ctx: + ctx.prec = 80 + voltage = Decimal("1.380649e-23") * 300 / Decimal("1.602176634e-19") + independent = (Decimal("1e25") ** 2 * (-Decimal("1.53") / voltage).exp()).sqrt() + assert pvk.material.values["ni"] == pytest.approx(float(independent), rel=3e-14) + diagnostic, = output.values["diagnostics"] + assert diagnostic["path"] == "layers.layer_0.parameters.incoherent" + assert diagnostic["declared"] is True and diagnostic["historical_effective"] is False + assert diagnostic["loader_bindings"] and diagnostic["source_bindings"] + assert not output.interfaces[0].electrical + assert output.interfaces[1].values["left"] == htl.id + assert output.interfaces[1].values["right"] == pvk.id + assert output.interfaces[2].values["defect"]["partner_metadata"]["distribution"] == "gaussian" + + +def test_scaps_edits_recompute_dos_lifetimes_and_referenced_energy(defaults, resources): + input, source = imported("scaps", defaults) + before = resolve_device(input, defaults, resources, sources=(source,)) + input.layers[2].parameters.Eg = "1.6 eV" + input.layers[2].bulk_defects[0].kinetics.sigma_n_m2 = "2e-19 m^2" + after = resolve_device(input, defaults, resources, sources=(source,)) + pvk = after.layers[2] + assert pvk.defects[0].values["distribution"]["center_eV_above_vb"] == 1.5 + assert pvk.defects[1].values["distribution"]["center_eV_above_vb"] == 0.1 + assert pvk.material.values["ni"] != before.layers[2].material.values["ni"] + assert pvk.local_parameters["tau_n"] == pytest.approx(1 / 30000, rel=1e-15) + assert before.layers[2].defects[0].values["distribution"]["center_eV_above_vb"] == 1.43 + input.layers[2].parameters.ni = 1.0 + with pytest.raises(ValueError, match="SCAPS-derived"): + resolve_device(input, defaults, resources) + + +def test_scaps_legacy_comparison_pins_equal_values_and_exact_conversion_differences(defaults, resources): + # This imports the old data loader only as a comparison oracle. It does + # not build numerical material arrays or call an equilibrium/trajectory. + from perovskite_sim.scaps_compat.loader import load_scaps_yaml + + historical = load_scaps_yaml(CASES["scaps"]) + current = prepared("scaps", defaults, resources) + # These eight differences are explicitly retained W6 exact-unit results, + # not historical M execution parity. P03-04 owns that later projection. + expected = { + ("layer_1", "mu_n"): ("0x1.ad7f29abcaf49p-24", "0x1.ad7f29abcaf48p-24"), + ("layer_1", "mu_p"): ("0x1.ad7f29abcaf49p-24", "0x1.ad7f29abcaf48p-24"), + ("layer_2", "B_rad"): ("0x1.2725dd1d243abp-60", "0x1.2725dd1d243acp-60"), + ("layer_2", "tau_n"): ("0x1.a36e2eb1c432bp-15", "0x1.a36e2eb1c432dp-15"), + ("layer_2", "tau_p"): ("0x1.a36e2eb1c432bp-15", "0x1.a36e2eb1c432dp-15"), + ("layer_2", "thickness"): ("0x1.ad7f29abcaf49p-21", "0x1.ad7f29abcaf48p-21"), + ("layer_3", "mu_n"): ("0x1.0c6f7a0b5ed8ep-20", "0x1.0c6f7a0b5ed8dp-20"), + ("layer_3", "thickness"): ("0x1.ad7f29abcaf49p-26", "0x1.ad7f29abcaf48p-26"), + } + mismatches = {} + unchanged = 0 + for original, layer in zip(historical.layers, current.layers): + pairs = [(name, getattr(original.params, name), value) for name, value in layer.parameters] + pairs.append(("thickness", original.thickness, layer.thickness)) + for name, before, value in pairs: + if layer.role == "substrate" and name == "incoherent": + assert before is False and value is True + continue + before_word = before.hex() if isinstance(before, float) else before + value_word = value.hex() if isinstance(value, float) else value + if type(value) is not type(before) or value_word != before_word: + mismatches[(layer.id, name)] = (before_word, value_word) + else: + unchanged += 1 + for field in ("ni", "n1", "p1"): + assert dict(layer.parameters)[field].hex() == getattr(original.params, field).hex() + assert unchanged == 271 + assert mismatches == expected + + +def test_named_material_inheritance_zero_null_and_duplicate_display_names(defaults, resources): + input, source = imported("standard", defaults) + original = resolve_device(input, defaults, resources) + material_values = dict(original.layers[0].material.parameters) + material_values["optical_material"] = "MAPbI3" + input.materials = (NamedMaterialInput(id="shared", name="Same material", parameters=FullParameterInput.model_validate(material_values)),) + for layer in input.layers[:2]: + layer.name = "Same display name" + layer.material = "shared" + data = input.layers[0].parameters.editing_data() + data.pop("mu_n") + input.layers[0].parameters = FullParameterInput.model_validate(data) + inherited = resolve_device(input, defaults, resources, sources=(source,)) + assert inherited.layers[0].material.values["mu_n"] == original.layers[0].material.values["mu_n"] + assert inherited.layers[0].optical.name == "MAPbI3" + input.layers[0].parameters.mu_n = 0 + input.layers[0].parameters.optical_material = None + changed = resolve_device(input, defaults, resources, sources=(source,)) + assert changed.layers[0].material.values["mu_n"] == 0 + assert changed.layers[0].optical is None + assert changed.layers[0].id != changed.layers[1].id + assert inherited.layers[0].optical.name == "MAPbI3" + with pytest.raises(ValueError): + input.layers[0].parameters.mu_n = None + + +def test_default_child_edits_inside_layer_tuples_survive_validation_and_copy(defaults, resources): + input, _ = imported("standard", defaults) + data = input.layers[0].editing_data() + parameters = data.pop("parameters") + input.layers = (FullLayerInput.model_validate(data), *input.layers[1:]) + for name, value in parameters.items(): + setattr(input.layers[0].parameters, name, value) + input.layers[0].parameters.mu_n = 0 + copied = input.model_copy() + assert dict(resolve_device(copied, defaults, resources).layers[0].parameters)["mu_n"] == 0 + copied.layers[0].parameters.mu_n = "1 cm^2/(V s)" + assert input.layers[0].parameters.mu_n == 0 + assert dict(resolve_device(copied, defaults, resources).layers[0].parameters)["mu_n"] == 1e-4 + + +def test_unit_schema_matches_null_and_omission_rules(defaults): + fields = FullParameterInput.model_json_schema()["properties"] + for name in ("mu_n", "incoherent", "carrier_statistics", "grading_N_mult"): + assert "default" not in fields[name] + assert {"type": "null"} not in fields[name]["anyOf"] + with pytest.raises(ValueError): + FullParameterInput.model_validate({name: None}) + for name in ("optical_material", "Nc300", "trap_decay_length"): + assert {"type": "null"} in fields[name]["anyOf"] + assert dict(FullParameterInput.model_validate({name: None}).normalized_items())[name] is None + setting = DeviceSettingsInput.model_json_schema()["properties"] + assert {"type": "null"} not in setting["Phi"]["anyOf"] + assert {"type": "null"} in setting["built_in_potential_mode"]["anyOf"] + + +def test_explicit_zero_trap_length_and_copied_material_constraints(defaults, resources): + input, _ = imported("standard", defaults) + input.layers[1].parameters.trap_decay_length = 0 + output = resolve_device(input, defaults, resources) + assert output.layers[1].local_parameters["trap_decay_length"] == 0 + original = output.layers[1].material + for replacements in ({"bgn_conduction_band_fraction": 2}, {"P0": 2, "P_lim": 1}, + {"carrier_statistics": "fermi_dirac", "Nc300": None}): + values = {**dict(original.parameters), **replacements} + with pytest.raises(ValueError): + replace(original, parameters=tuple(values.items())) + + +def test_grain_overlap_and_source_default_role_have_explicit_layer_ownership(defaults, resources): + raw = load_yaml_mapping(CASES["grain"].read_bytes()) + raw["microstructure"]["grain_boundaries"][0].pop("layer_role") + input = import_standard_device(SourceDocument("grain-with-default", edited_source_bytes(raw)), id="grain", defaults=defaults) + original = resolve_device(input, defaults, resources) + grain = input.grain_boundaries[0] + assert original.values["grain_boundaries"][0]["source_layer_role"] == dict(defaults.structural)["grain_boundary_layer_role"] + input.grain_boundaries = (grain, grain.model_copy(update={"id": "second"})) + with pytest.raises(ValueError, match="overlapping grain-boundary"): + resolve_device(input, defaults, resources) + input.grain_boundaries[1].layer_ids = (input.layers[0].id,) + assert len(resolve_device(input, defaults, resources).values["grain_boundaries"]) == 2 + + +def test_tandem_uses_supplied_documents_and_keeps_optical_only_layers(defaults, resources): + source = SourceDocument("tandem_lin2019.yaml", (CONFIGS / "tandem_lin2019.yaml").read_bytes()) + refs = {name: SourceDocument(name, (CONFIGS / name).read_bytes()) for name in ("nip_wideGap_FACs_1p77.yaml", "nip_SnPb_1p22.yaml")} + input = import_tandem(source, id="lin2019", references=refs, defaults=defaults) + output = resolve_tandem(input, defaults, resources, sources=(source, *refs.values())) + data = output.to_mapping() + assert len(output.top_cell.layers) == 5 and len(output.bottom_cell.layers) == 4 + assert len(data["optical_layers"]) == 3 + assert data["optical_layers"][-1]["optical_material"] == "Cu" + assert data["benchmark"]["target_jsc_A_m2"] == 156 + assert data["benchmark"]["target_pce_fraction"] == pytest.approx(0.248) + assert data["junction_model"] == "ideal_ohmic" + assert not output.can_execute + assert resolve_tandem(output.to_input(), defaults, resources, sources=(source, *refs.values())).content_sha256 == output.content_sha256 + with pytest.raises(ValueError, match="missing explicitly supplied"): + import_tandem(source, id="lin", references={}, defaults=defaults) + raw = load_yaml_mapping(source.content) + raw["benchmark"] = None + raw["tandem"].pop("light_direction") + edited = import_tandem(replace(source, content=edited_source_bytes(raw)), id="lin", references=refs, defaults=defaults) + assert edited.benchmark is None and edited.light_direction == dict(defaults.structural)["tandem_light_direction"] + + +def test_immutable_nested_values_arrays_and_actual_resource_identity(defaults, resources): + output = prepared("scaps", defaults, resources) + with pytest.raises(TypeError): + output.values["settings"]["T"] = 500 + with pytest.raises(TypeError): + output.layers[2].defects[0].values["kinetics"]["sigma_n_m2"] = 1 + with pytest.raises(FrozenInstanceError): + output.layers[0].thickness = 2 + with pytest.raises((TypeError, ValueError)): + replace(output, layers=()) + table = resources.get("MAPbI3", "nk") + view = table.array + before = view.copy() + with pytest.raises(ValueError): + view[0, 1] = 3 + with pytest.raises(ValueError): + view.setflags(write=True) + view.shape = (view.size,) + view.dtype = np.int64 + np.testing.assert_array_equal(table.array, before) + with pytest.raises(FrozenInstanceError): + table.shape = (1, 2) + with pytest.raises((TypeError, ValueError)): + replace(table, shape=(1, 2)) + replacement = ResourceTable(table.name, table.kind, replace(table.source, content=table.source.content.replace(b"2.6214", b"2.7000", 1))) + assert replacement.source.id == table.source.id + assert replacement.content_sha256 != table.content_sha256 + other = ResourceLibrary(tuple(replacement if item.name == table.name else item for item in resources.tables)) + changed = resolve_device(output.to_input(), defaults, other, sources=output.sources) + assert changed.layers[2].material.content_sha256 != output.layers[2].material.content_sha256 + assert changed.content_sha256 != output.content_sha256 + + +def test_fixed_generation_and_spectrum_bind_only_supplied_data(defaults, resources): + source = SourceDocument("provided-generation", b'{"coordinate_m":[0,0.0000007],"generation_m3_s":[1e25,2e25]}') + generation = ResourceTable("measured-generation", "fixed_generation", source) + spectrum_path = LEGACY / "data/am15g.csv" + spectrum = ResourceTable("am15g", "spectrum", SourceDocument(str(spectrum_path.relative_to(ROOT)), spectrum_path.read_bytes())) + input, _ = imported("standard", defaults) + input.fixed_generation = generation.name + input.spectrum = spectrum.name + output = resolve_device(input, defaults, ResourceLibrary((*resources.tables, generation, spectrum))) + assert {item["kind"] for item in output.values["resource_bindings"]} == {"fixed_generation", "spectrum"} + assert generation.array.shape == (2, 2) + assert generation.array[1, 1] == 2e25 + assert spectrum.units == ("m", "m^-3/s") + with pytest.raises(ValueError, match="missing supplied"): + resolve_device(input, defaults, resources) + + +@pytest.mark.parametrize("content", [ + b'{"coordinate_m":[0,1],"generation_m3_s":[1]}', + b'{"coordinate_m":[0,true],"generation_m3_s":[1,2]}', + b'{"coordinate_m":[0,0],"generation_m3_s":[1,2]}', + b'{"coordinate_m":[0,1],"generation_m3_s":[1,NaN]}', + b'{"coordinate_m":[0,1],"generation_m3_s":[1,2],"profile_file":"missing"}', + b'{"coordinate_m":[0,1],"coordinate_m":[0,2],"generation_m3_s":[1,2]}', +]) +def test_invalid_resource_shape_coordinate_and_unknown_keys_reject(content): + with pytest.raises(ValueError): + ResourceTable("bad", "fixed_generation", SourceDocument("provided", content)) + + +@pytest.mark.parametrize("field,value", [ + ("mu_n", True), ("mu_n", float("nan")), ("mu_n", float("inf")), + ("tau_n", 0), ("mu_n", "1 kg"), ("grading_N_mult", True), + ("grading_N_mult", 1.5), ("incoherent", "false"), ("Nc300", 0), +]) +def test_full_parameters_reject_invalid_units_numbers_and_boolean_aliases(field, value): + with pytest.raises(ValueError): + FullParameterInput.model_validate({field: value}) + + +def test_unknown_nested_paths_and_copied_resolved_inputs_reject(defaults, resources): + input, source = imported("standard", defaults) + document = input.model_dump(mode="json", exclude_unset=True) + document["layers"][0]["parameters"]["profile_file"] = "absent.csv" + with pytest.raises(ValueError, match="profile_file"): + DeviceInput.model_validate(document) + with pytest.raises(ValueError, match="profile_file"): + PreparedDevice(json.dumps(document).encode(), defaults, resources) + output = resolve_device(input, defaults, resources, sources=(source,)) + bad = output.to_input().model_dump(mode="json", exclude_unset=True) + bad["layers"][0]["parameters"]["tau_n"] = 0 + with pytest.raises(ValueError): + replace(output, input_json=json.dumps(bad).encode()) + with pytest.raises(ValueError): + replace(output.layers[0], parameters=tuple((name, value) for name, value in output.layers[0].parameters if name != "mu_n")) + with pytest.raises(ValueError): + input.model_copy(update={"extra_field": 1}) + with pytest.raises(ValueError): + input.settings.model_copy(update={"T": False}) + + +def test_conflicting_contact_aliases_and_explicit_null_or_zero(defaults, resources): + raw = load_yaml_mapping(CASES["standard"].read_bytes()) + raw["device"].update(S_n_left=0, contacts={"left": {"S_n": None}}) + source = SourceDocument("conflict", edited_source_bytes(raw)) + with pytest.raises(ValueError, match="conflicting flat/nested"): + import_standard_device(source, id="conflict", defaults=defaults) + raw["device"]["contacts"]["left"]["S_n"] = 0 + input = import_standard_device(replace(source, content=edited_source_bytes(raw)), id="equal", defaults=defaults) + output = resolve_device(input, defaults, resources) + assert output.values["contacts"][0]["S_n"] == 0 + input.contacts[0].S_n = None + assert resolve_device(input, defaults, resources).values["contacts"][0]["S_n"] is None + + +def test_scope_and_ownership_failures_are_not_hidden_by_ids(defaults, resources): + input, _ = imported("grain", defaults) + input.grain_boundaries[0].layer_ids = ("missing",) + with pytest.raises(ValueError, match="grain boundaries"): + resolve_device(input, defaults, resources) + input, _ = imported("standard", defaults) + input.interfaces[0].left, input.interfaces[0].right = input.interfaces[0].right, input.interfaces[0].left + with pytest.raises(ValueError, match="reversed"): + resolve_device(input, defaults, resources) + input, _ = imported("standard", defaults) + input.layers[1].id = input.layers[0].id + with pytest.raises(ValueError, match="unique layer IDs"): + resolve_device(input, defaults, resources) + input, _ = imported("scaps", defaults) + input.layers[2].scaps_defect_metadata[0].defect_id = "missing" + with pytest.raises(ValueError, match="unknown defect ID"): + resolve_device(input, defaults, resources) + + +def test_resolved_declaration_keeps_all_typed_partner_fields(defaults, resources): + output = prepared("scaps", defaults, resources) + declaration = output.to_mapping()["declaration"] + assert declaration == output.to_input().normalized_data() + assert declaration["layers"][2]["scaps_defect_metadata"][0]["energy_reference"] == "below_conduction_band" + assert declaration["interfaces"][2]["defect"]["partner_metadata"]["E_char_eV"] == 0.1 + assert "P03_04_legacy_unit_conversion_bytes_pending" in output.values["capability_gaps"] + + +@pytest.mark.parametrize("case,version", [("distributed", "v1"), ("spatial", "v2")]) +def test_defect_version_rejects_incompatible_existing_distribution_and_spatial_fields(case, version, defaults, resources): + input, _ = imported(case, defaults) + input.layers[0].defect_schema_version = "solarlab-explicit-bulk-defects-" + version + with pytest.raises(ValueError, match=version): + resolve_device(input, defaults, resources) + + +def test_empty_explicit_inventory_and_invalid_finite_support_reject(defaults, resources): + input, _ = imported("defect", defaults) + layer = resolve_device(input, defaults, resources).layers[0] + with pytest.raises(ValueError, match="nonempty defect inventory"): + replace(layer, defects=()) + with pytest.raises(ValueError, match="requires a schema version"): + replace(layer, defect_schema_version=None) + input.layers[0].bulk_defects = () + with pytest.raises(ValueError, match="nonempty defect inventory"): + resolve_device(input, defaults, resources) + input, _ = imported("distributed", defaults) + input.layers[0].bulk_defects[0].distribution.width_eV = 2 + with pytest.raises(ValueError, match="support lies outside"): + resolve_device(input, defaults, resources) + input, _ = imported("spatial", defaults) + input.layers[0].bulk_defects[0].spatial_profile.knots[0].density_multiplier = 100 + with pytest.raises(ValueError, match="layer-average unity"): + resolve_device(input, defaults, resources) + + +def test_catalog_has_effective_values_and_source_adapter_rejects_code(defaults): + document = defaults.to_mapping() + copied = DefaultCatalog.from_mapping(document) + assert copied.content_sha256 == defaults.content_sha256 + document["material"]["mu_T_gamma"] = -2 + changed = DefaultCatalog.from_mapping(document) + assert changed.evidence == defaults.evidence + assert changed.content_sha256 != defaults.content_sha256 + assert dict(defaults.material)["mu_T_gamma"] == -1.5 + sources = tuple(SourceDocument(name, (LEGACY / name).read_bytes()) for name in DEFAULT_SOURCES) + bad = tuple(replace(source, content=source.content.replace(b"mu_T_gamma: float = -1.5", b"mu_T_gamma: float = forbidden_call()")) + if source.id == "models/parameters.py" else source for source in sources) + with pytest.raises(ValueError, match="unsupported source default expression"): + read_legacy_default_catalog(bad) + + +def test_real_full_layer_values_feed_versioned_registry_without_scalar_escape(defaults, resources): + layer = prepared("scaps", defaults, resources).layers[2] + source = layer_parameter_source(layer) + ref = ModelRef("full.material_transport", 1) + rule = CapabilityRule("full_declaration_only", (1,), ("dc",), (source.evidence,)) + definition = ModelDefinition(ref, "Full typed material data", "transport", ("layer",), "face", + ("mu_n", "mu_p", "Nc300", "Nv300", "Eg"), (), (), rule, + parameter_schema="full_layer") + registry = ModelRegistry((definition,)) + chosen = select_models(registry, Topology((layer.id,)), CapabilityContext(1, "dc", "metadata_only", "maxwell_boltzmann"), + {"layer": (ModelChoice("carrier", ref, parameter_schema="full_layer"),)}, + {Scope("layer", (layer.id,)): source}) + assert dict(chosen.instances[0].parameters)["Nc300"] == layer.material.values["Nc300"] + assert source.parameter_schema == "full_layer" + with pytest.raises(ValueError, match="parameter schema"): + replace(definition, parameter_schema="scalar_layer") + with pytest.raises(ValueError, match="schema binding mismatch"): + select_models(registry, Topology((layer.id,)), chosen.context, + {"layer": (ModelChoice("carrier", ref),)}, {Scope("layer", (layer.id,)): source}) + + +def test_public_resolution_needs_no_source_reader_or_legacy_installation(defaults, resources, tmp_path): + input, _ = imported("standard", defaults) + catalog_path = tmp_path / "catalog.json" + input_path = tmp_path / "input.json" + catalog_path.write_text(json.dumps(defaults.to_mapping())) + input_path.write_text(input.model_dump_json(exclude_unset=True)) + code = '''import importlib.abc,json,sys +from pathlib import Path +class Boundary(importlib.abc.MetaPathFinder): + def find_spec(self, fullname, path=None, target=None): + if fullname.startswith(('perovskite_sim','solarlab_server','solarlab_research','backend','solarlab.config.legacy_defaults')): + raise AssertionError(fullname) +sys.meta_path.insert(0,Boundary()) +from solarlab.device.defaults import DefaultCatalog +from solarlab.device.inputs import DeviceInput +from solarlab.config.resolve_device import resolve_device +from solarlab.materials.resources import ResourceLibrary +catalog=DefaultCatalog.from_mapping(json.loads(Path(sys.argv[1]).read_text())) +input=DeviceInput.model_validate_json(Path(sys.argv[2]).read_text()) +result=resolve_device(input,catalog,ResourceLibrary()) +assert len(result.layers)==3 and result.can_execute is False +''' + result = subprocess.run([sys.executable, "-I", "-B", "-c", code, str(catalog_path), str(input_path)], + cwd=tmp_path, capture_output=True, text=True, timeout=20) + assert result.returncode == 0, result.stdout + result.stderr diff --git a/tests/refactor/test_effective_behavior_identity.py b/tests/refactor/test_effective_behavior_identity.py new file mode 100644 index 00000000..f2aac69a --- /dev/null +++ b/tests/refactor/test_effective_behavior_identity.py @@ -0,0 +1,173 @@ +"""Source-proven physical choices and exact execution-only legacy records.""" +from dataclasses import replace +import json +import subprocess +import sys + +import pytest + +from solarlab.config.identity import ExecutionEngine, execution_identity, input_identity, physics_identity +from solarlab.materials.source import SourceDocument +from test_execution_identity_preparation import changed, identity_inputs +from test_execution_identity_preparation import execution as execution, device as device +from test_behavior_context import context, document, ROOT +from test_behavior_context import defaults as defaults, resources as resources, sources as sources, scaps as scaps +from test_behavior_context import r1_material_inputs as r1_material_inputs +from test_legacy_execution_context import r1 as r1 + + +def bound(device, sources, *, driver="scaps_transient", environment=(), arguments=None): + behavior = context(device, sources, driver=driver, environment=environment, arguments=arguments) + return identity_inputs(device, effective_behavior=behavior, + problem="dc" if driver == "scaps_steady_state" else "transient") + + +def physical(inputs): + return physics_identity(inputs).export()["document"]["payload"] + + +def execute(inputs, description): + return execution_identity(inputs, description, engine=ExecutionEngine("legacy", inputs.effective_behavior)) + + +def test_legacy_execution_automatically_binds_the_effective_projection(device, sources, execution): + original = identity_inputs(device) + behavior = context(device, sources) + explicit = identity_inputs(device, effective_behavior=behavior) + result = execution_identity(original, execution, engine=ExecutionEngine("legacy", behavior)) + assert result.export()["document"]["payload"]["H_physics"] == physics_identity(explicit).sha256 + assert physics_identity(explicit).sha256 != physics_identity(original).sha256 + assert input_identity(explicit).sha256 == input_identity(original).sha256 + assert physical(explicit)["domain"] == "prepared-historical-device-1d.v2" + assert not result.cache_eligible + + +def test_effective_boolean_replaces_shadowed_declaration_but_execution_keeps_it(scaps, sources, execution): + disabled = changed(scaps, lambda data: data["settings"].update(dos_band_potentials=False)) + unset = bound(disabled, sources) + zero = bound(disabled, sources, environment=(("SOLARLAB_DOS_BAND", "0"),)) + one = bound(disabled, sources, environment=(("SOLARLAB_DOS_BAND", "1"),)) + explicit = bound(changed(disabled, lambda data: data["settings"].update(dos_band_potentials=True)), sources) + assert physics_identity(unset).sha256 == physics_identity(zero).sha256 + assert physics_identity(one).sha256 == physics_identity(explicit).sha256 + assert physics_identity(one).sha256 != physics_identity(zero).sha256 + assert input_identity(one).sha256 != input_identity(explicit).sha256 + assert execute(unset, execution).sha256 != execute(zero, execution).sha256 + assert physical(one)["settings"]["dos_band_potentials"] is True + + +def test_scaps_declared_incoherence_keeps_the_actual_legacy_value(scaps, sources): + with pytest.raises(ValueError, match="behavior context"): + identity_inputs(scaps) + first = bound(scaps, sources) + changed_declaration = changed(scaps, lambda data: data["layers"][0]["parameters"].update(incoherent=False)) + second = bound(changed_declaration, sources) + assert input_identity(first).sha256 != input_identity(second).sha256 + assert physics_identity(first).sha256 == physics_identity(second).sha256 + assert physical(first)["layers"][0]["remaining_effective_parameters"]["incoherent"] is False + assert first.effective_behavior.export()["source_inspection"]["optics"]["incoherence"][0]["normalized_configured"] is True + + +def test_legacy_mode_ceiling_is_exact_not_an_interface_blanket(scaps, sources): + legacy = changed(scaps, lambda data: data["settings"].update(mode="legacy", dos_band_potentials=False, + band_grading=False, te_physical_norm=False, ion_steric_diffusion_only=False)) + environment = tuple((key, "1") for key in ("SOLARLAB_DOS_BAND", "SOLARLAB_BAND_GRADING", "SOLARLAB_TE_PHYSICAL", "SOLARLAB_ION_STERIC_DIFF")) + a, b = bound(legacy, sources), bound(legacy, sources, environment=environment) + assert physics_identity(a).sha256 == physics_identity(b).sha256 + c = bound(legacy, sources, environment=(("SOLARLAB_IFACE_PROJ", "1"),)) + assert physics_identity(c).sha256 != physics_identity(a).sha256 + assert physical(c)["effective_behavior"]["ion_flux_label"] == "whole_flux" + + +def test_contact_sentinels_and_old_mode_suppression_remain_distinct(scaps, sources): + null = changed(scaps, lambda data: data["contacts"][0].update(S_n=None)) + zero = changed(scaps, lambda data: data["contacts"][0].update(S_n=0.)) + assert physics_identity(bound(null, sources)).sha256 == physics_identity(bound(zero, sources)).sha256 + full_null = changed(null, lambda data: data["settings"].update(mode="full")) + full_zero = changed(zero, lambda data: data["settings"].update(mode="full")) + a, b = bound(full_null, sources), bound(full_zero, sources) + assert physics_identity(a).sha256 != physics_identity(b).sha256 + assert physical(a)["effective_behavior"]["contacts"][0]["condition"] == "density_dirichlet" + assert physical(b)["effective_behavior"]["contacts"][0]["condition"] == "blocking_robin" + + +@pytest.mark.parametrize("key", ("PEROVSKITE_RHS_FINITE_CHECK", "SOLARLAB_SS_JAC_REUSE", "SOLARLAB_SS_GUMMEL")) +def test_numerical_import_policies_affect_execution_only(scaps, sources, execution, key): + a = bound(scaps, sources, environment=((key, "0"),)) + b = bound(scaps, sources, environment=((key, "1"),)) + assert physics_identity(a).sha256 == physics_identity(b).sha256 + assert execute(a, execution).sha256 != execute(b, execution).sha256 + + +def test_real_driver_settings_and_physical_environment_are_not_protocol(scaps, sources, execution): + a = bound(scaps, sources) + b = bound(scaps, sources, arguments={"N_grid": 30, "n_points": 60, "v_rate": 2., "V_max": 1.6, "rtol": 1e-5}) + assert physics_identity(a).sha256 == physics_identity(b).sha256 + assert execute(a, execution).sha256 != execute(b, execution).sha256 + for key, value in (("SOLARLAB_QSS_VTH", "12345"), ("SOLARLAB_IFACE_QSS", "1"), ("SOLARLAB_IFACE_ALLOW_GEN", "1")): + assert physics_identity(bound(scaps, sources, environment=((key, value),))).sha256 != physics_identity(a).sha256 + steady = bound(scaps, sources, driver="scaps_steady_state") + assert physical(a)["effective_behavior"]["te"]["softness"] == 0. + assert physical(steady)["effective_behavior"]["te"]["softness"] == .02 + assert physics_identity(steady).sha256 != physics_identity(a).sha256 + + +def test_units_zero_and_omitted_default_keep_existing_input_policy(scaps, sources): + a = changed(scaps, lambda data: data["settings"].update(phi_left="-0 V")) + b = changed(a, lambda data: data["settings"].update(phi_left=0.)) + assert physics_identity(bound(a, sources)).sha256 == physics_identity(bound(b, sources)).sha256 + omitted = changed(scaps, lambda data: data["settings"].pop("te_physical_norm", None)) + explicit = changed(omitted, lambda data: data["settings"].update(te_physical_norm=False)) + assert physics_identity(bound(omitted, sources)).sha256 == physics_identity(bound(explicit, sources)).sha256 + assert input_identity(bound(omitted, sources)).sha256 != input_identity(bound(explicit, sources)).sha256 + equivalent = changed(scaps, lambda data: data["settings"].update(T="300 K")) + assert physics_identity(bound(scaps, sources)).sha256 == physics_identity(bound(equivalent, sources)).sha256 + + +def test_r1_pair_state_and_numeric_history_stay_in_execution(r1, execution): + original = r1.export() + a = identity_inputs(r1.device, effective_behavior=r1) + pair = replace(r1, prepared=SourceDocument("actual_pair_state", (ROOT / "tests/refactor/fixtures/r1_pair_common_state_preparation.json").read_bytes()), + arguments=document("pair_call", {**json.loads(r1.arguments.content), "backend": "pair"})) + b = identity_inputs(pair.device, effective_behavior=pair) + assert physics_identity(a).sha256 == physics_identity(b).sha256 + assert execute(a, execution).sha256 != execute(b, execution).sha256 + data = physical(a)["effective_behavior"] + assert data["projection"] == "historical-r1-effective.v1" + assert data["material_interface_charge_closure"] == "off" + assert data["charge_reference"]["f_ref"] == json.loads(r1.reference.content)["f_ref"] + frozen = replace(r1, arguments=document("frozen_ions", {**json.loads(r1.arguments.content), "control": "C"})) + c = identity_inputs(frozen.device, effective_behavior=frozen) + assert physics_identity(c).sha256 != physics_identity(a).sha256 + assert physical(c)["effective_behavior"]["ions"] == data["ions"] + assert frozen.prepared is r1.prepared and r1.export() == original + later = replace(r1, arguments=document("longer_short_protocol", {**json.loads(r1.arguments.content), "times_s": [0., 2e-9]})) + d = identity_inputs(later.device, effective_behavior=later) + assert physics_identity(d).sha256 == physics_identity(a).sha256 + assert execute(d, execution).sha256 != execute(a, execution).sha256 + + +def test_context_source_provenance_is_retained_and_mismatch_cannot_be_relabelled(scaps, sources, execution): + inputs = bound(scaps, sources) + behavior = inputs.effective_behavior + with pytest.raises(ValueError, match="actual source-bound"): + replace(inputs, effective_behavior=behavior.export()) + with pytest.raises(ValueError, match="different prepared"): + identity_inputs(changed(scaps, lambda data: data["settings"].update(Phi=1e21)), effective_behavior=behavior) + with pytest.raises(ValueError, match="engine differs"): + execution_identity(inputs, execution, engine=ExecutionEngine("solarlab")) + altered = replace(behavior, environment=(("SOLARLAB_DOS_BAND", "1"),)) + with pytest.raises(ValueError, match="engine differs"): + execution_identity(inputs, execution, engine=ExecutionEngine("legacy", altered)) + with pytest.raises(ValueError, match="exact audited"): + replace(behavior, sources=(replace(behavior.sources[0], content=behavior.sources[0].content + b"\n"), *behavior.sources[1:])) + result = execute(inputs, execution).export()["document"]["payload"] + assert result["effective_binding"]["effective_behavior"]["context"] == behavior.export() + assert result["implementation"]["build_source_commit"] == execution.implementation.build_source_commit + assert result["documents"]["initial_state"]["sha256"] == execution.initial_state.sha256 + + +def test_effective_identity_import_stays_pure(tmp_path): + code = "import sys; import solarlab.config.identity; assert not set(sys.modules) & {'perovskite_sim','scipy','sksundae','flint','solarlab_server'}" + result = subprocess.run([sys.executable, "-I", "-B", "-c", code], cwd=tmp_path, capture_output=True, text=True, timeout=10) + assert result.returncode == 0, result.stdout + result.stderr diff --git a/tests/refactor/test_execution_identity_preparation.py b/tests/refactor/test_execution_identity_preparation.py new file mode 100644 index 00000000..ea0e959b --- /dev/null +++ b/tests/refactor/test_execution_identity_preparation.py @@ -0,0 +1,409 @@ +"""Identity preparation through actual typed device/selection/resource APIs. + +Only configuration data and source bytes are read. The execution documents are +explicit non-executed provenance fixtures, not a solver or a claimed DAE seed. +""" + +from __future__ import annotations + +from copy import deepcopy +from dataclasses import FrozenInstanceError, replace +from decimal import Decimal +from fractions import Fraction +import hashlib +import importlib.metadata +import json +from pathlib import Path +import platform +import struct +import subprocess +import sys + +import pytest + +from solarlab.config.device_import import import_standard_device +from solarlab.config.identity import ( + BuildSource, CACHE_LAYERS, ExecutionDescription, ExecutionEngine, IdentityInputs, ModelInputs, + RuntimeEnvironment, execution_identity, input_identity, physics_identity, +) +from solarlab.config.legacy_defaults import read_legacy_default_catalog +from solarlab.config.model_parameters import device_topology, layer_parameter_source, structured_parameter_source +from solarlab.config.resolve_device import resolve_device +from solarlab.device.inputs import DeviceInput +from solarlab.materials.resources import ResourceLibrary, ResourceTable +from solarlab.materials.source import SourceDocument +from solarlab.physics.registry import CapabilityContext, CapabilityRule, EvidenceRef, ModelDefinition, ModelRef, ModelRegistry, Scope +from solarlab.physics.selection import ModelChoice, select_models +from solarlab.physics.semantic_projection import SemanticProjection + +ROOT = Path(__file__).resolve().parents[2] +LEGACY = ROOT / "perovskite-sim/perovskite_sim" +CATALOG_PATHS = ("models/parameters.py", "models/device.py", "models/defects.py", "physics/statistics.py", + "physics/band_gap_narrowing.py", "scaps_compat/loader.py", "constants.py", + "twod/microstructure.py", "models/tandem_config.py") + + +@pytest.fixture(scope="module") +def device(): + defaults = read_legacy_default_catalog(tuple(SourceDocument(name, (LEGACY / name).read_bytes()) for name in CATALOG_PATHS)) + original = SourceDocument("fixture:nip_MAPbI3", (ROOT / "perovskite-sim/tests/fixtures/configs/nip_MAPbI3.yaml").read_bytes()) + table = ResourceTable("MAPbI3", "nk", SourceDocument("nk:MAPbI3", (LEGACY / "data/nk/MAPbI3.csv").read_bytes())) + data = import_standard_device(original, id="identity_device", defaults=defaults).editing_data() + data["settings"].update(mode="full", T="300 K") + # Explicit data-only fixture edit binds one real optical table. No optical + # calculation or claim of equality to the old Beer-Lambert run is made. + data["layers"][1]["parameters"].update(optical_material=table.name, n_optical=None) + return resolve_device(DeviceInput.model_validate(data), defaults, ResourceLibrary((table,)), sources=(original,)) + + +def changed(device, edit): + data = deepcopy(device.to_input().editing_data()) + edit(data) + return resolve_device(DeviceInput.model_validate(data), device.defaults, device.resources, sources=device.sources) + + +def identity_inputs(device, *, version=1, label="Temperature-dependent mobility", rule="all_values_v1", overrides=None, + local_id="mobility", parameters=("mu_n", "mu_p", "mu_T_gamma"), + effective_behavior=None, problem="transient"): + source = SourceDocument("physics/temperature.py", (LEGACY / "physics/temperature.py").read_bytes()) + ref = ModelRef("transport.temperature_mobility", version) + capability = CapabilityRule("source_data_only", (1,), ("dc", "transient"), + (EvidenceRef(source.id + "#mu_at_T", source.sha256, "source"),), + backends=("metadata_only",)) + definition = ModelDefinition(ref, label, "transport", ("layer",), "node", parameters, (), (), capability, + parameter_schema="full_layer") + registry = ModelRegistry((definition,)) + defaults = {"layer": (ModelChoice(local_id, ref, parameter_schema="full_layer"),)} + overrides = {} if overrides is None else overrides + sources = {Scope("layer", (layer.id,)): layer_parameter_source(layer) for layer in device.layers + if layer.id in device_topology(device).electrical_layer_ids} + context = CapabilityContext(1, problem, "metadata_only", "maxwell_boltzmann", temperature_K=device.values["settings"]["T"]) + selection = select_models(registry, device_topology(device), context, defaults, sources, overrides) + evidence = () + if rule == "without_display_label_v1": + evidence = tuple(SourceDocument(name, (ROOT / name).read_bytes()) for name in + ("src/solarlab/physics/registry.py", "src/solarlab/physics/selection.py")) + projection = SemanticProjection(ref, rule, (source,), evidence) + return IdentityInputs(device, selection, registry, ModelInputs.from_mappings(defaults=defaults, overrides=overrides), + (projection,), effective_behavior=effective_behavior) + + +@pytest.fixture(scope="module") +def execution(): + commit = subprocess.run(["git", "--no-optional-locks", "rev-parse", "HEAD"], cwd=ROOT, + capture_output=True, text=True, check=True, timeout=2).stdout.strip() + # The declared implementation snapshot comes from immutable Git objects, + # not an uncommitted producer file relabelled as that commit's content. + name = "perovskite-sim/perovskite_sim/physics/temperature.py" + source = subprocess.run(["git", "show", commit + ":" + name], cwd=ROOT, + capture_output=True, check=True, timeout=2).stdout + implementation = BuildSource(commit, (SourceDocument(name, source),)) + environment = RuntimeEnvironment(platform.python_implementation(), platform.python_version(), platform.system(), platform.machine(), + tuple((name, importlib.metadata.version(name)) for name in ("numpy", "pydantic")), + (("scope", "nonexecuted_identity_fixture"),)) + def document(name, value): + return SourceDocument(name, json.dumps(value, sort_keys=True).encode()) + return ExecutionDescription( + document("protocol.fixture.v1", {"schema": "identity-protocol-fixture.v1", "segments": [{"start_s": 0, "end_s": 1, "voltage_V": 0.2}], "events": []}), + document("preparation.fixture.v1", {"schema": "identity-preparation-fixture.v1", "method": "provided_data_only", "history": []}), + document("initial_state.fixture.v1", {"schema": "identity-state-fixture.v1", "qualification": "not_a_DAE_seed", "dtype": "f8"), + lambda: np.eye(8)[::2, ::2], lambda: np.array([[np.inf]]), + lambda: np.array([[np.nan]]), lambda: np.array([1., 2.])) + for make in factories: + owner, original = dense_backend() + cache = hr.ExactDenseLUCache(original) + try: + expected = lu_factor(make(), overwrite_a=True) + except Exception as error: + for _ in range(2): + with self.assertRaises(type(error)) as seen: + cache(make()) + self.assertEqual(str(seen.exception), str(error)) + else: + for _ in range(2): + self.assert_factors(cache(make()), expected) + self.assertEqual(owner.nlu, 2) + self.assertEqual(cache.statistics["bypasses"], 2) + self.assertEqual(cache.statistics["retained_entries"], 0) + + def test_singular_warnings_keep_filters_and_never_become_hits(self): + owner, original = dense_backend() + cache = hr.ExactDenseLUCache(original) + singular = np.array([[1., 2.], [2., 4.]]) + with warnings.catch_warnings(record=True) as seen: + warnings.simplefilter("always", LinAlgWarning) + for _ in range(2): + cache(singular.copy()) + self.assertEqual(len(seen), 2) + self.assertTrue(all(w.category is LinAlgWarning for w in seen)) + self.assertEqual(str(seen[0].message), str(seen[1].message)) + with warnings.catch_warnings(): + warnings.simplefilter("error", LinAlgWarning) + with self.assertRaises(LinAlgWarning): + cache(singular.copy()) + with warnings.catch_warnings(): + warnings.simplefilter("ignore", LinAlgWarning) + cache(singular.copy()) + self.assertEqual(owner.nlu, 4) + self.assertEqual(cache.statistics["hits"], 0) + self.assertEqual(cache.statistics["uncacheable_results"], 3) + self.assertEqual(cache.statistics["retained_entries"], 0) + + def test_failure_and_nonfinite_results_are_not_reused(self): + failure = RuntimeError("backend failure witness") + original = Mock(side_effect=failure) + cache = hr.ExactDenseLUCache(original) + for _ in range(2): + with self.assertRaises(RuntimeError) as seen: + cache(matrix()) + self.assertIs(seen.exception, failure) + self.assertEqual(original.call_count, 2) + self.assertEqual(cache.statistics["retained_entries"], 0) + factors = (np.array([[np.inf]]), np.array([0], dtype=np.int32)) + original = Mock(return_value=factors) + cache = hr.ExactDenseLUCache(original) + for _ in range(2): + self.assertIs(cache(np.array([[1.]])), factors) + self.assertEqual(original.call_count, 2) + self.assertEqual(cache.statistics["uncacheable_results"], 2) + + def test_distinct_solver_caches_have_no_shared_entries(self): + first_owner, first = dense_backend() + second_owner, second = dense_backend() + a, b = hr.ExactDenseLUCache(first), hr.ExactDenseLUCache(second) + a(matrix()) + a(matrix()) + b(matrix()) + self.assertEqual((first_owner.nlu, second_owner.nlu), (1, 1)) + self.assertEqual((a.statistics["hits"], b.statistics["hits"]), (1, 0)) + self.assertFalse(np.shares_memory(a(matrix())[0], b(matrix())[0])) + + +class TestFactorPolicyWiring(unittest.TestCase): + @unittest.skipUnless(ARCHIVE.is_dir(), "Archive-dependent factor policy check requires the source-bound SOLARLAB_ARCHIVE root") + def test_plan_default_stays_absent_and_optin_is_identity_bound(self): + with patch.object(hr, "source_binding", return_value={}), patch.object(hr, "environment_binding", return_value={}): + args = (REPO, ARCHIVE, "hi_diffusivity_00", 240, 2, 2) + default = hr.build_plan(*args, prebias_first_step_s=4e-14) + explicit_none = hr.build_plan(*args, prebias_first_step_s=4e-14, factor_cache_policy=None) + enabled = hr.build_plan(*args, prebias_first_step_s=4e-14, + factor_cache_policy=hr.EXACT_DENSE_FACTOR_POLICY) + self.assertEqual(default, explicit_none) + self.assertNotIn("factor_cache_policy", default["numerics"]) + self.assertEqual(enabled["numerics"]["factor_cache_policy"], hr.EXACT_DENSE_FACTOR_POLICY) + self.assertNotEqual(default["identity_sha256"], enabled["identity_sha256"]) + del enabled["numerics"]["factor_cache_policy"] + for p in (default, enabled): + del p["identity_sha256"] + self.assertEqual(default, enabled) + + def test_invalid_policy_is_rejected_before_construction_or_loading(self): + for value in (True, False, 1, "", "approximate", {}): + with self.subTest(value=value), patch.object(hr, "load_inputs") as load: + with self.assertRaisesRegex(hr.ReferenceError, "factor cache"): + hr.build_plan(REPO, ARCHIVE, "unused", 240, 2, 2, factor_cache_policy=value) + load.assert_not_called() + with patch("scipy.integrate.Radau", Mock()) as constructor: + with self.assertRaises(hr.ReferenceError): + hr.radau_history([1.], factor_cache_policy=value) + constructor.assert_not_called() + + def test_constructor_wraps_only_lu_and_preserves_controller_and_solver_scope(self): + class ConstructorOnly: + def __init__(self, *args, **kwargs): + self.args, self.kwargs = args, kwargs + self.nlu = 0 + def original(a): + self.nlu += 1 + return lu_factor(a, overwrite_a=True) + self.lu = self.original_lu = original + self.solve_lu = self.original_solve_lu = lambda factors, b: lu_solve(factors, b, overwrite_b=True) + def _step_impl(self): + raise AssertionError("mock controller must never be called") + with patch("scipy.integrate.Radau", ConstructorOnly): + default, _, _ = hr.radau_history([1.]) + uncached = default("fun", 0., [1.], 1.) + self.assertIs(uncached.lu, uncached.original_lu) + self.assertEqual(default.factor_cache_reports, []) + method, times, states = hr.radau_history([1.], first_step=4e-14, + factor_cache_policy=hr.EXACT_DENSE_FACTOR_POLICY) + first, second = method("fun", 0., [1.], 1.), method("fun", 0., [1.], 1.) + self.assertIs(method._step_impl, ConstructorOnly._step_impl) + self.assertEqual(first.kwargs, {"first_step": 4e-14}) + self.assertIs(first.solve_lu, first.original_solve_lu) + first.lu(matrix()) + first.lu(matrix()) + second.lu(matrix()) + self.assertEqual((first.nlu, second.nlu), (1, 1)) + self.assertEqual([r["hits"] for r in method.factor_cache_reports], [1, 0]) + self.assertEqual((times, states), ([0.], [(1.,)])) + + @unittest.skipUnless(ARCHIVE.is_dir(), "Archive-dependent factor policy check requires the source-bound SOLARLAB_ARCHIVE root") + def test_bridge_preserves_failure_history_and_factor_counters(self): + bundle = hr.load_inputs(REPO, ARCHIVE, "hi_diffusivity_00") + control = hr.make_timeline(bundle["contract"], bundle["request"], 2)[3].controls[0] + state = (1., 2., 3., 4., 0., 0.) + bridge = hr.ProductionBridge.__new__(hr.ProductionBridge) + bridge.np, bridge.x, bridge.stack = np, np.array([0., 1.]), object() + bridge.mat = SimpleNamespace(P_ion0=np.zeros(2)) + bridge.widths, bridge.initial_inventory = np.array([.5, .5]), 0. + bridge.numerics = {"rtol": 1e-6, "atol_m3": .01, + "factor_cache_policy": hr.EXACT_DENSE_FACTOR_POLICY} + bridge.jacobian = object() + counters = {"requests": 4, "hits": 2, "misses": 2} + method = SimpleNamespace(factor_cache_reports=[counters]) + for raised in (False, True): + solver = Mock(side_effect=RuntimeError("retained failure") if raised else None, + return_value=SimpleNamespace(success=False, t=np.array([]), y=np.array([]), + message="retained failure", nlu=2)) + bridge.jv = SimpleNamespace(run_transient=solver) + with patch.object(hr, "radau_history", return_value=(method, [0., .001], [state, state])) as recorder: + segment = bridge.advance(state, control) + self.assertFalse(segment.success) + self.assertEqual(segment.local_times, (0., .001)) + self.assertEqual(segment.states, (state, state)) + self.assertEqual(segment.diagnostics["factor_cache"]["solvers"], [counters]) + self.assertEqual(recorder.call_args.kwargs, {"factor_cache_policy": hr.EXACT_DENSE_FACTOR_POLICY}) + self.assertEqual(solver.call_args.kwargs["max_step"], control.max_step_s) + self.assertIs(solver.call_args.kwargs["jacobian"], bridge.jacobian) + + def test_cli_and_supervisor_preserve_explicit_policy(self): + with tempfile.TemporaryDirectory() as temporary: + output = Path(temporary)/"plan.json" + with patch.object(hr, "build_plan", return_value={}) as build: + hr.main(["plan", "--repo", str(REPO), "--archive", str(ARCHIVE), + "--case", "hi_diffusivity_00", "--output", str(output), + "--factor-cache-policy", hr.EXACT_DENSE_FACTOR_POLICY]) + self.assertEqual(build.call_args.kwargs["factor_cache_policy"], hr.EXACT_DENSE_FACTOR_POLICY) + args = SimpleNamespace(output=Path(temporary)/"run", repo=REPO, archive=ARCHIVE, + case="hi_diffusivity_00", grid=240, step_level=2, solver_level=2, + admission=Path(temporary)/"Admission.json", prebias_first_step_s=4e-14, + factor_cache_policy=hr.EXACT_DENSE_FACTOR_POLICY) + child = Mock(returncode=0) + child.poll.return_value = 0 + with patch.object(hr.subprocess, "Popen", return_value=child) as launch: + self.assertEqual(hr.supervise(args, {}), 0) + argv = launch.call_args.args[0] + self.assertEqual(argv[argv.index("--factor-cache-policy")+1], hr.EXACT_DENSE_FACTOR_POLICY) + self.assertEqual(argv[argv.index("--prebias-first-step-s")+1], repr(4e-14)) + + +if __name__ == "__main__": + unittest.main() diff --git a/tests/refactor/test_hysteresis_current_bounds.py b/tests/refactor/test_hysteresis_current_bounds.py new file mode 100644 index 00000000..3ca98d94 --- /dev/null +++ b/tests/refactor/test_hysteresis_current_bounds.py @@ -0,0 +1,142 @@ +"""Distinct enclosure and domain checks; no trajectory or production solver.""" +from decimal import Decimal, localcontext +from fractions import Fraction as F +import importlib.util +from pathlib import Path +import sys +import unittest + + +SOURCE = Path(__file__).resolve().parents[2]/'scripts/benchmarks/hysteresis_current_bounds.py' +spec = importlib.util.spec_from_file_location('hi_current_bounds_test_subject', SOURCE) +cb = importlib.util.module_from_spec(spec) +sys.modules[spec.name] = cb +spec.loader.exec_module(cb) + + +class TestDirectedArithmetic(unittest.TestCase): + def contains(self, interval, value): + self.assertLessEqual(F(interval.lo), value) + self.assertGreaterEqual(F(interval.hi), value) + + def test_directed_operations_against_fraction(self): + for a,b in ((F(1,3),F(-5,7)),(F(10)**80,F(1,10**90)), + (F(-3,10**100),F(7,10**80)),(F(1,2),F(1,2))): + with self.subTest(a=a,b=b): + ia,ib = cb._Interval.of(a),cb._Interval.of(b) + self.contains(ia+ib,a+b) + self.contains(ia-ib,a-b) + self.contains(ia*ib,a*b) + self.contains(ia/ib,a/b) + with self.assertRaises(cb.UnsupportedPoint): + cb._Interval.of(1)/cb._Interval(Decimal(-1),Decimal(1)) + + def test_positive_series_tail_encloses_independent_decimal260(self): + for x in (F(0),F(1,10**80),F(-1,10**80),F(1,5),F(-1,5),F(12),F(-12),F(80),F(-80)): + with self.subTest(x=x),localcontext() as context: + context.prec = 260 + value = (Decimal(x.numerator)/Decimal(x.denominator)).exp()-1 + self.contains(cb._expm1_bounds(x),F(value)) + if x: + self.contains(cb.bernoulli_bounds(x),F(Decimal(x.numerator)/Decimal(x.denominator)/value)) + else: + self.assertEqual(cb.bernoulli_bounds(x).record(),['1','1']) + + def test_physical_domains_fail_explicitly(self): + for value in (True,float('nan'),float('inf')): + with self.subTest(value=value),self.assertRaises((cb.UnsupportedPoint,ValueError)): + cb.exact(value) + with self.assertRaises(cb.UnsupportedPoint): + cb.bernoulli_bounds(F(8193)) + with self.assertRaises(cb.UnsupportedPoint): + cb.sg_bounds([0,1],[1,1],[1,1],[0],[1],[1],1,1,1) + + +class TestConditionalPhysicalBounds(unittest.TestCase): + def test_density_box_propagates_through_positive_poisson_inverse(self): + radius=cb.density_to_potential_radius([F(2),F(2)],[F(1)], + [F(0),F(1,10),F(0)],[F(0),F(1,5),F(0)],[F(0)]*3,F(2)) + self.assertEqual(radius,[F(0),F(3,20),F(0)]) + with self.assertRaisesRegex(cb.UnsupportedPoint,'unknown'): + cb.density_to_potential_radius([2,2],[1],None,[0]*3,[0]*3,1) + + def test_one_volume_charge_and_capacitor_rates_with_both_port_signs(self): + for pol in (-1,1): + for slope in (F(-3,10),F(0),F(3,10)): + for charge_rate in (F(0),F(3,7)): + right = -pol*slope + middle = (charge_rate+2*right)/4 + expected = [-2*middle,2*(middle-right)] + dr = cb.poisson_rate_bounds([F(2),F(2)],[F(1)], + [cb._Interval.of(0),cb._Interval.of(charge_rate),cb._Interval.of(0)],slope,pol) + for interval,value in zip(dr,expected,strict=True): + self.assertLessEqual(F(interval.lo),value) + self.assertGreaterEqual(F(interval.hi),value) + if charge_rate == 0: + # area=3; physical left/right electrode rates have opposite signs. + self.assertEqual(F(dr[0].lo)*3,3*pol*slope) + self.assertEqual(F(dr[-1].hi)*-3,-3*pol*slope) + + def test_joint_density_and_potential_sensitivity_uses_explicit_radii(self): + phi,n,p = [F(0),F(0)],[F(2),F(3)],[F(5),F(7)] + phi_error = [F(1,1000)]*2 + nr,pr = [F(1,100)]*2,[F(1,50)]*2 + args = (phi,n,p,[F(1)],[F(2)],[F(3)],F(1),F(1),phi_error) + bounds = cb.sg_sensitivity_bounds(*args,n_radius=nr,p_radius=pr)[0] + with localcontext() as context: + context.prec=160 + d=lambda x:Decimal(x.numerator)/Decimal(x.denominator) + for sp,sn,sh in ((-1,-1,1),(1,1,-1),(1,-1,1),(-1,1,-1)): + ph=[phi[0]+sp*phi_error[0],phi[1]-sp*phi_error[1]] + nn=[n[0]+sn*nr[0],n[1]-sn*nr[1]] + pp=[p[0]+sh*pr[0],p[1]-sh*pr[1]] + xi=d(ph[1]-ph[0]);b=xi/(xi.exp()-1) + current_n=2*(b*(d(nn[0])-d(nn[1]))+xi*d(nn[0])) + current_p=3*(b*(d(pp[1])-d(pp[0]))+xi*d(pp[1])) + self.assertLessEqual(abs(current_n-Decimal(-2)),Decimal(bounds['electron']['box_current_change_upper_A_m2'])) + self.assertLessEqual(abs(current_p-Decimal(6)),Decimal(bounds['hole']['box_current_change_upper_A_m2'])) + with self.assertRaisesRegex(cb.UnsupportedPoint,'unknown'): + cb.sg_sensitivity_bounds(*args,n_radius=None,p_radius=pr) + + @staticmethod + def neutral_fixture(): + arrays={'initial.x_m':[0.,.5,1.]} + for name,value in [('P_ion0',0),('N_A',0),('N_D',0),('chi',0),('Eg',0),('N_t_node',0), + ('ni_sq',4),('tau_n',1),('tau_p',1),('n1',1),('p1',1),('B_rad',0), + ('C_n',0),('C_p',0),('G_optical',0)]: + arrays['material.'+name]=[value]*3 + arrays.update({'material.poisson_factor.C':[2.,2.],'material.poisson_factor.h_cell':[.5], + 'material.dx_cell':[.5,.5,.5],'material.D_ion_face':[0.,0.], + 'material.D_n_face':[.1,.1],'material.D_p_face':[.2,.2]}) + packet={'has_dynamic_traps_or_negative_ions':False, + 'contacts_and_potential':{'effective_S':{'nL':None,'nR':None,'pL':None,'pR':None}, + 'V_T_device':1.,'V_bi_bc':0.}} + point={'n_m3':[2.]*3,'p_m3':[2.]*3,'positive_ions_m3':[0.]*3,'state':[2.]*6+[0.]*3, + 'junction_polarity':1,'voltage_V':0.,'voltage_rate_V_s':0.,'phi_V':[0.]*3, + 'rho_C_m3':[0.]*3,'rho_dot_C_m3_s':[0.]*3,'phi_dot_V_s':[0.]*3,'Ddot_A_m2':[0.]*2, + 'J_n_A_m2':[0.]*2,'J_p_A_m2':[0.]*2,'J_ion_A_m2':[0.]*2,'J_cond_A_m2':[0.]*2, + 'ydot_m3_s':[0.]*9,'illuminated':False,'phase_id':'analytic','time_s':0.,'event_side':'right'} + return point,arrays,packet + + def test_exact_neutral_limit_and_unknown_trajectory_error(self): + point,arrays,packet=self.neutral_fixture() + result=cb.qualify_point(point,arrays,packet,1.) + self.assertEqual(result['max_Ddot_error_upper_A_m2'],0.) + self.assertEqual(result['max_total_current_error_upper_A_m2'],0.) + self.assertIsNone(result['continuous_trajectory_error_bound']) + self.assertFalse(result['reference_eligibility']) + + def test_nonzero_inventory_flux_and_negative_physical_state_rejected(self): + for kind in ('negative','mobile'): + point,arrays,packet=self.neutral_fixture() + if kind=='negative': + point['n_m3'][1]=-1. + else: + arrays['material.D_ion_face']=[1.,1.] + point['positive_ions_m3'][1]=1. + with self.subTest(kind=kind),self.assertRaises(cb.UnsupportedPoint): + cb.qualify_point(point,arrays,packet,1.) + + +if __name__=='__main__': + unittest.main() diff --git a/tests/refactor/test_hysteresis_mobile_bounds.py b/tests/refactor/test_hysteresis_mobile_bounds.py new file mode 100644 index 00000000..5129386d --- /dev/null +++ b/tests/refactor/test_hysteresis_mobile_bounds.py @@ -0,0 +1,170 @@ +"""Manufactured independent checks; no saved physical point is evaluated.""" +from __future__ import annotations + +import copy +from decimal import Context, Decimal, localcontext +from fractions import Fraction +import importlib.util +from pathlib import Path +import sys +import subprocess +import unittest + + +REPO = Path(__file__).resolve().parents[2] + + +def load(name, path): + spec = importlib.util.spec_from_file_location(name, path) + module = importlib.util.module_from_spec(spec) + sys.modules[name] = module + spec.loader.exec_module(module) + return module + + +base = load("bound_base", REPO/"scripts/benchmarks/hysteresis_current_bounds.py") +mobile = load("mobile_bound", REPO/"scripts/benchmarks/hysteresis_mobile_bounds.py") + + +def manufactured(polarity=1, diffusion=1, zero_stock=False): + """Direct 160-digit SG and weighted-current solution on four nodes.""" + with localcontext(Context(prec=160)): + ions = list(map(Decimal, [0,0,0,0] if zero_stock else [1,2,1,0])) + widths = list(map(Decimal, [1, 2, 4])) + cells = [Decimal(1), Decimal("1.5"), Decimal(3), Decimal(4)] + coeff = [Decimal(1), Decimal("0.5"), Decimal("0.25")] + flux = [] + for left,right,width in zip(ions[:-1],ions[1:],widths,strict=True): + vacancy_ratio = (1-left/10)/(1-right/10) + drive = vacancy_ratio.ln() + # Different formula from the implementation: independent exp and + # two Bernoulli evaluations, rather than its series and B(-x) law. + bp = Decimal(1) if not drive else drive/(drive.exp()-1) + bm = Decimal(1) if not drive else (-drive)/((-drive).exp()-1) + flux.append(Decimal(diffusion)*(bp*left-bm*right)/width) + jion = [-polarity*f for f in flux] + current = sum((j/c for j,c in zip(jion,coeff,strict=True)),Decimal(0))/sum((1/c for c in coeff),Decimal(0)) + d_rate = [polarity*(j-current) for j in jion] + phi_rate = [Decimal(0)] + for rate,c in zip(d_rate,coeff,strict=True): + phi_rate.append(phi_rate[-1]-rate/c) + full = [Decimal(0)]+flux+[Decimal(0)] + rate = [-(full[i+1]-full[i])/width for i,width in enumerate(cells)] + assert abs(sum((r*w for r,w in zip(rate,cells,strict=True)),Decimal(0))) < Decimal("1e-150") + point = {"phase_id":"manufactured_ramp","time_s":0.,"event_side":"ramp_start_right", + "voltage_V":0.,"voltage_rate_V_s":0.,"junction_polarity":polarity,"illuminated":False, + "n_m3":[1.]*4,"p_m3":[1.]*4,"positive_ions_m3":list(map(float,ions)), + "negative_ions_m3":None,"trap_occupancy":None,"phi_V":[0.]*4,"rho_C_m3":[0.]*4, + "ydot_m3_s":[0.]*8+list(map(float,rate)),"rho_dot_C_m3_s":list(map(float,rate)), + "phi_dot_V_s":list(map(float,phi_rate)),"Ddot_A_m2":list(map(float,d_rate)), + "J_n_A_m2":[0.]*3,"J_p_A_m2":[0.]*3,"J_ion_A_m2":list(map(float,jion)), + "J_cond_A_m2":list(map(float,jion))} + point["state"] = point["n_m3"]+point["p_m3"]+point["positive_ions_m3"] + arrays = {"initial.x_m":[0.,1.,3.,7.],"material.poisson_factor.C":list(map(float,coeff)), + "material.poisson_factor.h_cell":[1.5,3.],"material.dx_cell":list(map(float,cells)), + "material.P_ion0":list(map(float,ions)),"material.D_n_face":[1.]*3,"material.D_p_face":[1.]*3, + "material.D_ion_face":[float(diffusion)]*3,"material.P_lim_node":[10.]*4} + for key in ("N_A","N_D","chi","Eg","N_t_node","B_rad","C_n","C_p","G_optical"): + arrays["material."+key] = [0.]*4 + for key in ("ni_sq","tau_n","tau_p","n1","p1"): + arrays["material."+key] = [1.]*4 + packet = {"has_dynamic_traps_or_negative_ions":False, + "contacts_and_potential":{"effective_S":dict.fromkeys(("S_n_L","S_p_L","S_n_R","S_p_R")), + "V_T_device":1.,"V_bi_bc":0.,"V_bi_eff":0.,"junction_polarity":polarity,"left_phi_V":0.}, + "ion_transport":{"species":"single_positive","steric_diffusion_only":True, + "effective_shared_site":False,"external_particle_flux":"zero_both_ends", + "clip_upper_binary64":mobile.CLIP_UPPER_HEX}} + return point,arrays,packet,current + + +class BoundsTests(unittest.TestCase): + def test_log_encloses_independent_high_precision_values(self): + for rational in (Fraction(1),Fraction(2),Fraction(3,2),Fraction(1,3),Fraction(1,1000000),Fraction(2**20),Fraction(1000000000001,1000000000000)): + with self.subTest(value=rational), localcontext(Context(prec=160)): + oracle = (Decimal(rational.numerator)/Decimal(rational.denominator)).ln() + result = mobile.log_bounds(base,rational) + self.assertLessEqual(result.lo,oracle) + self.assertGreaterEqual(result.hi,oracle) + self.assertLess(result.hi-result.lo,Decimal("1e-58")) + + def test_log_domain(self): + for value in (0,-1,True,2**34): + with self.subTest(value=value), self.assertRaises(base.UnsupportedPoint): + mobile.log_bounds(base,value) + + def test_zero_diffusion_uniform_and_clipped_cases(self): + cases = [([1,2],[10,10],0,0),([1,1],[10,10],1,0),([10,20],[1,1],1,-10)] + for ions,limits,diffusion,expected in cases: + with self.subTest(ions=ions): + flux,_,_ = mobile.mobile_flux_bounds(base,[0,0],ions,[1],[diffusion],limits,1,Fraction.from_float(.999999)) + self.assertLessEqual(flux[0].lo,Decimal(expected));self.assertGreaterEqual(flux[0].hi,Decimal(expected)) + self.assertEqual(flux[0].lo,flux[0].hi) + + def test_vacancy_log_sign_with_closed_flux(self): + flux,_,_ = mobile.mobile_flux_bounds(base,[0,0],[1,2],[1],[1],[4,4],1,Fraction.from_float(.999999)) + with localcontext(Context(prec=160)): + oracle = -4*Decimal("1.5").ln() + self.assertLessEqual(flux[0].lo,oracle);self.assertGreaterEqual(flux[0].hi,oracle) + + def test_nonuniform_point_and_both_current_signs(self): + results = [] + for polarity in (1,-1): + point,arrays,packet,current = manufactured(polarity) + result = mobile.qualify_point(base,point,arrays,packet,1) + self.assertFalse(result["reference_eligibility"]) + self.assertIsNone(result["continuous_trajectory_error_bound"]) + self.assertLess(result["max_total_current_error_upper_A_m2"],1e-14) + self.assertLess(result["RHS_error_upper_m3_s"]["positive_ion"],1e-14) + self.assertEqual(len(result["ion_rate_reference_m3_s"]),4) + self.assertEqual(len(result["rho_rate_reference_C_m3_s"]),4) + for face in result["faces"]: + lo,hi = map(Decimal,face["Jtotal_reference_A_m2"]) + self.assertLessEqual(lo,current);self.assertGreaterEqual(hi,current) + self.assertEqual(face["pointwise_axis_screen"],"within") + results.append(float(current)) + self.assertEqual(results[0],-results[1]) + + def test_zero_diffusion_full_point(self): + point,arrays,packet,_ = manufactured(diffusion=0) + result = mobile.qualify_point(base,point,arrays,packet,1) + self.assertEqual(result["max_total_current_error_upper_A_m2"],0.) + self.assertEqual(result["RHS_error_upper_m3_s"]["positive_ion"],0.) + + def test_zero_stock_is_separate_from_zero_diffusion(self): + point,arrays,packet,_ = manufactured(diffusion=1,zero_stock=True) + self.assertTrue(all(value == 1 for value in arrays["material.D_ion_face"])) + self.assertTrue(all(value == 0 for value in point["positive_ions_m3"]+arrays["material.P_ion0"])) + result = mobile.qualify_point(base,point,arrays,packet,1) + self.assertEqual(result["max_total_current_error_upper_A_m2"],0.) + + def test_unsupported_branch_and_changed_width(self): + p,a,k,_ = manufactured() + bad = copy.deepcopy(k);bad["ion_transport"]["steric_diffusion_only"] = False + with self.assertRaises(base.UnsupportedPoint):mobile.qualify_point(base,p,a,bad,1) + bad = copy.deepcopy(k);bad["ion_transport"]["effective_shared_site"] = True + with self.assertRaises(base.UnsupportedPoint):mobile.qualify_point(base,p,a,bad,1) + bad = copy.deepcopy(a);bad["material.poisson_factor.h_cell"][0] = 1. + with self.assertRaises(base.UnsupportedPoint):mobile.qualify_point(base,p,bad,k,1) + bad = copy.deepcopy(p);bad["junction_polarity"] = True + with self.assertRaises(base.UnsupportedPoint):mobile.qualify_point(base,bad,a,k,1) + + def test_invalid_ion_domain(self): + for ions,limits in (([-1,1],[10,10]),([1,2],[0,10])): + with self.assertRaises(base.UnsupportedPoint): + mobile.mobile_flux_bounds(base,[0,0],ions,[1],[1],limits,1,Fraction.from_float(.999999)) + + def test_no_production_imports(self): + result = subprocess.run( + [sys.executable, "-I", "-B", "-c", """ +import runpy, sys +runpy.run_path(sys.argv[1], run_name="isolated_bounds_import") +assert not any(name == "perovskite_sim" or name.startswith("perovskite_sim.") + for name in sys.modules) +""", str(Path(__file__).resolve())], + cwd=REPO, capture_output=True, text=True, timeout=30, + ) + self.assertEqual(result.returncode, 0, result.stdout + result.stderr) + + +if __name__ == "__main__": + unittest.main(verbosity=2) diff --git a/tests/refactor/test_hysteresis_reference.py b/tests/refactor/test_hysteresis_reference.py new file mode 100644 index 00000000..936acd35 --- /dev/null +++ b/tests/refactor/test_hysteresis_reference.py @@ -0,0 +1,483 @@ +"""Bounded protocol/current/operator tests; no device integration is performed.""" +from __future__ import annotations + +import copy +import importlib.util +import json +import os +import sys +import tempfile +import unittest +from fractions import Fraction +from pathlib import Path +from types import SimpleNamespace +from unittest.mock import Mock, patch + + +REPO = Path(__file__).resolve().parents[2] +ARCHIVE = Path(os.environ.get("SOLARLAB_ARCHIVE", str( + Path.home()/"Library/Mobile Documents/com~apple~CloudDocs/projects/solarlab"))) +SOURCE = REPO/"scripts/benchmarks/hysteresis_reference.py" +spec = importlib.util.spec_from_file_location("hysteresis_reference_test_subject", SOURCE) +hr = importlib.util.module_from_spec(spec) +sys.modules[spec.name] = hr +spec.loader.exec_module(hr) + + +class RecordingAdapter: + """Analytic synthetic fixture only; seven arbitrary carried state blocks.""" + + def __init__(self): + self.initial_calls = 0 + self.calls = [] + + def initial_state(self): + self.initial_calls += 1 + return tuple(range(1, 8)) + + def advance(self, state, control): + self.calls.append((control.binding(), state)) + end = tuple(x+control.duration for x in state) + return hr.Segment((0., control.duration), (state, end), True, {"fixture": "analytic_synthetic"}) + + def observe(self, state, phase, physical_time, side): + t = float(physical_time) + v = phase.voltage(physical_time) + return {"phase_id": phase.id, "time_s": t, "event_side": side, + "voltage_V": v, "voltage_rate_V_s": phase.voltage_rate, + "state": list(state), "junction_polarity": 1, + "D_C_m2": [t*t+v]*2, "Ddot_A_m2": [2*t+phase.voltage_rate]*2, + "J_n_A_m2": [1., 1.], "J_p_A_m2": [2., 2.], + "J_ion_A_m2": [0., 0.], "J_cond_A_m2": [3., 3.]} + + +class FrozenFixture(unittest.TestCase): + @classmethod + def setUpClass(cls): + cls.contract = hr.checked_json(REPO/hr.CONTRACT, hr.CONTRACT_SHA256) + cls.gates = hr.checked_json(REPO/hr.ANALYTIC, hr.ANALYTIC_SHA256) + cls.manifest = json.loads((REPO/"reproducibility/RefactorReferenceManifestV1.json").read_text()) + cls.request = cls.manifest["hi"]["nominal_request"] + + def timeline(self, rate=.04, level=0): + request = copy.deepcopy(self.request) + request["params"]["v_rate"] = rate + return hr.make_timeline(self.contract, request, level) + + +class TestSourcesAndInput(FrozenFixture): + def test_frozen_gates_are_actual_sources(self): + self.assertEqual(self.contract["status"], "frozen_standard_reference_qualification_pending") + self.assertEqual(self.gates["status"], "frozen") + self.assertIn("NC06", [x["id"] for x in self.gates["gates"]]) + + def test_complete_45_records_and_43_potential_requests(self): + cases = self.manifest["hi"]["cases"] + self.assertEqual(len(cases), 45) + self.assertEqual(len({x["request_sha256"] for x in cases}), 43) + self.assertEqual(hr.digest(cases), self.contract["reference_set"]["cases_payload_sha256"]) + self.assertEqual([x["id"] for x in cases], self.contract["reference_set"]["required_case_ids"]) + + def test_only_registered_coordinate_changes_reproduce_all_saved_request_hashes(self): + for case in self.manifest["hi"]["cases"]: + with self.subTest(case=case["id"]): + request = copy.deepcopy(self.request) + absorber = next(x for x in request["device"]["layers"] if x["role"] == "absorber") + absorber["D_ion"], absorber["P0"] = case["D_ion_m2_s"], case["c0_m3"] + request["params"]["v_rate"] = case["scan_rate_V_s"] + self.assertEqual(hr.digest(request), case["request_sha256"]) + + @unittest.skipUnless(ARCHIVE.is_dir(), "Archive-dependent request check requires the source-bound SOLARLAB_ARCHIVE root") + def test_exact_archived_requests_distinguish_D0_and_c0(self): + d0 = hr.load_inputs(REPO, ARCHIVE, "hi_diffusivity_00") + c0 = hr.load_inputs(REPO, ARCHIVE, "hi_density_00") + for bundle in (d0, c0): + self.assertEqual(bundle["request"]["params"]["waveform_controls"], {"atol_m3": 1, "rtol": .0001}) + self.assertEqual(bundle["request"]["params"]["n_points"], 111) + d_layer = d0["request"]["device"]["layers"][1] + c_layer = c0["request"]["device"]["layers"][1] + self.assertEqual((d_layer["D_ion"], d_layer["P0"]), (0, 1e25)) + self.assertEqual((c_layer["D_ion"], c_layer["P0"]), (2.585e-18, 0)) + self.assertNotEqual(d0["case"]["request_sha256"], c0["case"]["request_sha256"]) + + @unittest.skipUnless(ARCHIVE.is_dir(), "Archive-dependent request check requires the source-bound SOLARLAB_ARCHIVE root") + def test_nominal_saved_request_is_bound(self): + bundle = hr.load_inputs(REPO, ARCHIVE, "hi_rate_40") + self.assertEqual(bundle["request"], self.request) + self.assertEqual(bundle["coverage"]["records"], 45) + + def test_unknown_case_rejected(self): + with self.assertRaisesRegex(hr.ReferenceError, "45 original"): + hr.load_inputs(REPO, ARCHIVE, "unregistered_shorter_protocol") + + def test_wrong_frozen_source_digest_rejected(self): + with self.assertRaisesRegex(hr.ReferenceError, "source mismatch"): + hr.checked_json(REPO/hr.CONTRACT, "0"*64) + + +class TestTimeline(FrozenFixture): + def test_exact_physical_phases_for_all_three_rates(self): + for rate, end in ((.02, 374), (.04, 264), (.08, 209)): + with self.subTest(rate=rate): + phases = self.timeline(rate) + self.assertEqual(tuple(p.id for p in phases), hr.PHASE_IDS) + self.assertEqual([len(p.controls) for p in phases], [1, 1, 1, 440, 1, 1, 440]) + self.assertEqual(phases[0].start, 0) + self.assertEqual(phases[-1].stop, end) + self.assertEqual([float(p.stop-p.start) for p in phases[:3]], [120., 30., .5]) + self.assertEqual(phases[4].stop-phases[4].start, 3) + self.assertEqual(phases[5].stop-phases[5].start, Fraction(1, 2)) + + def test_every_restart_has_local_zero_and_exact_continuity(self): + for phase in self.timeline(): + for index, c in enumerate(phase.controls): + self.assertEqual(c.voltage(0), float(c.v_start)) + self.assertEqual(c.voltage(c.duration), float(c.v_stop)) + self.assertEqual(c.binding()["local_time_origin_s"], 0) + if index: + before = phase.controls[index-1] + self.assertEqual(before.stop, c.start) + self.assertEqual(before.v_stop, c.v_start) + + def test_literal_caps_do_not_follow_observation_count(self): + for level, expected in enumerate((.00625, .003125, .0015625)): + phases = self.timeline(level=level) + self.assertEqual(phases[3].controls[0].max_step_s, expected) + self.assertEqual(phases[6].controls[-1].max_step_s, expected) + self.assertEqual(phases[0].controls[0].max_step_s, (6., 3., 1.5)[level]) + self.assertTrue(all(c.max_rhs_calls == 100000 for p in phases for c in p.controls)) + + def test_only_max_step_changes_across_time_levels(self): + schedules = [] + for level in range(3): + rows = [c.binding() for p in self.timeline(level=level) for c in p.controls] + for row in rows: + del row["max_step_s"] + schedules.append(rows) + self.assertEqual(schedules[0], schedules[1]) + self.assertEqual(schedules[1], schedules[2]) + + def test_observation_grids_are_exact_subsets(self): + for count, step in ((111, 4), (221, 2), (441, 1)): + indices = hr.observation_indices(count) + self.assertEqual(len(indices), count) + self.assertEqual(indices, tuple(range(0, 441, step))) + + def test_unsupported_or_coerced_observations_fail(self): + for count in (True, 111., 112, 442, 0, -1): + with self.subTest(count=count), self.assertRaises(hr.ReferenceError): + hr.observation_indices(count) + + def test_changed_physical_protocol_and_rate_fail(self): + for changes in ({"dark_seed_s": 119}, {"turnaround_s": 0}, {"branch_dwell_s": 0}, + {"uniform_generation_rate_m3_s": 0}, {"start_voltage_V": 0}): + request = copy.deepcopy(self.request) + request["params"]["waveform"].update(changes) + with self.subTest(changes=changes), self.assertRaises(hr.ReferenceError): + hr.make_timeline(self.contract, request, 0) + with self.assertRaises(hr.ReferenceError): + self.timeline(rate=.03) + + def test_invalid_clock_or_step_level_rejected(self): + for level in (True, -1, 3, 1.): + with self.assertRaises(hr.ReferenceError): + self.timeline(level=level) + control = self.timeline()[3].controls[0] + for t in (-1e-8, control.duration+1e-8, float("nan")): + with self.assertRaises(hr.ReferenceError): + control.voltage(t) + + def test_phase_gap_or_missing_phase_rejected(self): + for change in ("gap", "missing"): + contract = copy.deepcopy(self.contract) + profile = contract["refinement_plan"]["future_decoupled_reference_driver"]["phase_profiles"][1] + if change == "gap": + profile["phases"][1]["start_s"] += 1 + else: + profile["phases"].pop() + with self.subTest(change=change), self.assertRaises(hr.ReferenceError): + hr.make_timeline(contract, self.request, 0) + + +class TestHistoryAndObservations(FrozenFixture): + def test_full_state_and_material_history_are_carried_once(self): + adapter = RecordingAdapter() + segments, events = [], [] + phases = self.timeline() + history = hr.collect_history(adapter, phases, lambda c, s: segments.append(s), events.append) + self.assertEqual(adapter.initial_calls, 1) + self.assertEqual(len(adapter.calls), 885) + self.assertEqual(history["initial_state"], tuple(range(1, 8))) + self.assertEqual(history["phases"]["reverse_ramp"]["states"][-1], tuple(i+264 for i in range(1, 8))) + self.assertEqual(len(history["events"]), 6) + self.assertEqual(events[0]["kind"], "initial_state") + self.assertEqual([e["kind"] for e in events if "kind" in e].count("phase_end"), 7) + for before, after in zip(segments, segments[1:]): + self.assertEqual(before.states[-1], after.states[0]) + + def test_all_output_grids_reuse_one_integration_history(self): + adapter = RecordingAdapter() + history = hr.collect_history(adapter, self.timeline(), lambda *x: None, lambda x: None) + identity = hr.digest(adapter.calls) + all_outputs = [hr.observe_branches(adapter, history, n) for n in (111, 221, 441)] + self.assertEqual(len(adapter.calls), 885) + self.assertEqual(hr.digest(adapter.calls), identity) + for count, output in zip((111, 221, 441), all_outputs): + for direction in ("forward", "reverse"): + self.assertEqual(len(output["instantaneous_ramp_side_v1"][direction]), count) + self.assertEqual(len(output["legacy_interval_endpoint"][direction]), 111) + self.assertEqual(all_outputs[0]["legacy_interval_endpoint"], all_outputs[2]["legacy_interval_endpoint"]) + + def test_first_point_is_present_and_named_not_smoothed(self): + adapter = RecordingAdapter() + history = hr.collect_history(adapter, self.timeline(), lambda *x: None, lambda x: None) + output = hr.observe_branches(adapter, history, 111) + instant = output["instantaneous_ramp_side_v1"]["forward"][0] + legacy = output["legacy_interval_endpoint"]["forward"][0] + self.assertEqual(instant["time_s"], 150.5) + self.assertEqual(instant["event_side"], "right") + self.assertAlmostEqual(legacy["left_solar_current_A_m2"]-instant["left_solar_current_A_m2"], .54, places=9) + self.assertIn("missing", legacy["historical_reference"]) + self.assertIsNone(instant["uncertainty_A_m2"]) + + def test_failure_preserves_raw_result_and_does_not_retry(self): + adapter = RecordingAdapter() + adapter.advance = Mock(return_value=hr.Segment((), (), False, {"message": "budget stop"})) + saved = [] + with self.assertRaisesRegex(hr.ReferenceError, "budget stop"): + hr.collect_history(adapter, self.timeline(), lambda c, s: saved.append(s), lambda x: None) + self.assertEqual(len(saved), 1) + self.assertEqual(adapter.advance.call_count, 1) + + def test_reset_or_truncated_state_is_rejected(self): + for reset in (True, False): + adapter = RecordingAdapter() + def bad(state, c): + initial = tuple(x+1 for x in state) if reset else state + final = state if reset else state[:-1] + return hr.Segment((0., c.duration), (initial, final), True, {}) + adapter.advance = bad + with self.subTest(reset=reset), self.assertRaises(hr.ReferenceError): + hr.collect_history(adapter, self.timeline(), lambda *x: None, lambda x: None) + + def test_interval_current_cannot_cross_a_physical_event(self): + adapter = RecordingAdapter() + phases = self.timeline() + before = adapter.observe((1,), phases[0], phases[0].stop, "left") + after = adapter.observe((1,), phases[1], phases[1].stop, "left") + with self.assertRaisesRegex(hr.ReferenceError, "one physical phase"): + hr.current_value(after, previous=before) + + def test_event_charge_is_saved_without_finite_impulse_current(self): + adapter = RecordingAdapter() + phases = self.timeline() + before = adapter.observe((1, 2), phases[0], phases[0].stop, "left") + after = adapter.observe((1, 2), phases[1], phases[1].start, "right") + event = hr.event_record(before, after) + self.assertEqual(event["delta_D_C_m2"], [-1., -1.]) + self.assertEqual(event["electrode_impulse_charge_C_m2"], {"left": -1., "right": 1.}) + self.assertIsNone(event["impulse_current_A_m2"]) + after["state"] = [1, 3] + with self.assertRaises(hr.ReferenceError): + hr.event_record(before, after) + + def test_zero_power_is_unknown_in_each_named_HI_definition(self): + row = {"voltage_V": 0., "left_solar_current_A_m2": 0.} + data = {"instantaneous_ramp_side_v1": {"forward": [row], "reverse": [row]}} + metrics = hr.power_summary(data, "instantaneous_ramp_side_v1") + self.assertIsNone(metrics["HI_P"]) + self.assertIsNone(metrics["HI_normalized"]) + self.assertEqual(metrics["reference_power_precondition"], "unknown") + + +class TestThinBridgeAndAnalyticCurrent(FrozenFixture): + @classmethod + def setUpClass(cls): + super().setUpClass() + sys.path.insert(0, str(REPO/"perovskite-sim")) + + def test_bridge_requests_raw_accepted_mesh_and_literal_cap(self): + import numpy as np + bridge = hr.ProductionBridge.__new__(hr.ProductionBridge) + control = self.timeline()[3].controls[0] + state = (1., 2., 3., 4., 0., 0.) + solve = Mock(return_value=SimpleNamespace(success=True, t=np.array([0., control.duration]), + y=np.array([state, state]).T, message="synthetic", numerical_diagnostics=None)) + bridge.np, bridge.jv = np, SimpleNamespace(run_transient=solve) + bridge.x, bridge.stack = np.array([0., 1.]), object() + bridge.mat = SimpleNamespace(P_ion0=np.zeros(2)) + bridge.widths, bridge.initial_inventory = np.array([.5, .5]), 0. + bridge.jacobian = lambda *args: None + bridge.numerics = {"rtol": 1e-4, "atol_m3": 1} + with patch.object(hr, "radau_history", return_value=(object, [0., control.duration], [state, state])): + result = bridge.advance(state, control) + self.assertTrue(result.success) + kwargs = solve.call_args.kwargs + self.assertIsNone(kwargs["t_eval"]) + self.assertEqual(kwargs["max_step"], .00625) + self.assertEqual(kwargs["max_nfev"], 100000) + self.assertEqual(kwargs["t_span"], (0., .125)) + self.assertEqual(kwargs["atol"], 1) + + def test_inventory_failure_inside_a_control_interval_is_retained(self): + import numpy as np + bridge = hr.ProductionBridge.__new__(hr.ProductionBridge) + control = self.timeline()[3].controls[0] + start = (1., 2., 3., 4., 2., 2.) + # Endpoint inventory recovers: inspecting endpoints alone would miss this. + middle = (1., 2., 3., 4., 3., 3.) + bridge.np = np + bridge.x, bridge.stack = np.array([0., 1.]), object() + bridge.mat = SimpleNamespace(P_ion0=np.full(2, 2.)) + bridge.widths, bridge.initial_inventory = np.array([.5, .5]), 2. + bridge.numerics = {"rtol": 1e-4, "atol_m3": 1} + bridge.jacobian = lambda *args: None + bridge.jv = SimpleNamespace(run_transient=Mock(return_value=SimpleNamespace( + success=True, t=np.array([0., .0625, .125]), y=np.array([start, middle, start]).T, + message="synthetic", numerical_diagnostics=None))) + with patch.object(hr, "radau_history", return_value=(object, [0., .0625, .125], [start, middle, start])): + result = bridge.advance(start, control) + self.assertFalse(result.success) + self.assertEqual(result.states[1], middle) + self.assertEqual(result.diagnostics["max_inventory_relative_drift_over_accepted_knots"], .5) + + def test_frozen_NC06_capacitor_ramps_and_two_orientations(self): + import numpy as np + from perovskite_sim.constants import EPS_0 + from perovskite_sim.physics.poisson import factor_poisson + gate = next(x for x in self.gates["gates"] if x["id"] == "NC06") + case = gate["fixed_inputs"]["capacitor"] + x = np.linspace(0., case["length"], 5) + factor = factor_poisson(x, np.full_like(x, case["epsilon"]/EPS_0)) + for slope in case["slopes"]: + for orientation in (-1, 1): + with self.subTest(slope=slope, orientation=orientation): + _, Ddot, residual = hr.differentiated_poisson(factor, np.zeros_like(x), -orientation*slope) + actual = case["area"]*Ddot + expected = orientation*case["C"]*slope + np.testing.assert_allclose(actual, expected, atol=gate["algebraic_atol"], rtol=gate["algebraic_rtol"]) + np.testing.assert_allclose(residual, 0., atol=gate["algebraic_atol"], rtol=0.) + + def test_differentiated_poisson_includes_full_charge_rate(self): + import numpy as np + from perovskite_sim.constants import EPS_0 + from perovskite_sim.physics.poisson import factor_poisson + x = np.linspace(0., 1., 9) + factor = factor_poisson(x, np.ones_like(x)/EPS_0) + # epsilon=1, rho_dot=2 gives phi_dot=x*(1-x), Ddot=2*x_face-1. + phi, Ddot, residual = hr.differentiated_poisson(factor, np.full_like(x, 2.), 0.) + np.testing.assert_allclose(phi, x*(1-x), atol=1e-13, rtol=1e-12) + np.testing.assert_allclose(Ddot, x[1:]+x[:-1]-1, atol=1e-13, rtol=1e-12) + np.testing.assert_allclose(residual, 0., atol=1e-13, rtol=0.) + + +class TestPrebiasFirstStepPolicy(FrozenFixture): + """Constructor/bridge mocks only; no Radau step or device solve is run.""" + + @unittest.skipUnless(ARCHIVE.is_dir(), "Archive-dependent prebias policy check requires the source-bound SOLARLAB_ARCHIVE root") + def test_default_plan_omits_policy_and_request_stays_exact(self): + with patch.object(hr, "source_binding", return_value={}), patch.object(hr, "environment_binding", return_value={}): + default = hr.build_plan(REPO, ARCHIVE, "hi_diffusivity_00", 60, 2, 2) + explicit_none = hr.build_plan(REPO, ARCHIVE, "hi_diffusivity_00", 60, 2, 2, + prebias_first_step_s=None) + changed = hr.build_plan(REPO, ARCHIVE, "hi_diffusivity_00", 60, 2, 2, + prebias_first_step_s=4e-14) + self.assertEqual(default, explicit_none) + self.assertNotIn("prebias_first_step_s", default["numerics"]) + self.assertEqual(changed["numerics"]["prebias_first_step_s"], 4e-14) + self.assertEqual(default["request"], changed["request"]) + self.assertEqual(default["controls"], changed["controls"]) + self.assertEqual(default["control_sha256"], changed["control_sha256"]) + self.assertNotEqual(default["identity_sha256"], changed["identity_sha256"]) + del changed["numerics"]["prebias_first_step_s"] + for plan in (default, changed): + del plan["identity_sha256"] + self.assertEqual(default, changed) + + def test_invalid_requested_policy_rejected_before_execution(self): + control = self.timeline(level=2)[1].controls[0] + for value in (True, "4e-14", 0., -1., float("inf"), float("nan"), .376): + with self.subTest(value=value), self.assertRaises(hr.ReferenceError): + hr.prebias_first_step(value, control) + + def test_recorder_constructor_preserves_default_and_forwards_only_requested_step(self): + calls = [] + class ConstructorOnly: + def __init__(self, *args, **kwargs): + calls.append((args, kwargs)) + with patch("scipy.integrate.Radau", ConstructorOnly): + method, times, states = hr.radau_history([3.]) + method("fun", 0., [3.], 1., rtol=1e-6) + self.assertEqual(calls[-1][1], {"rtol": 1e-6}) + method, times, states = hr.radau_history([3.], first_step=4e-14) + method("fun", 0., [3.], 1., rtol=1e-6) + self.assertEqual(calls[-1][1], {"rtol": 1e-6, "first_step": 4e-14}) + self.assertEqual((times, states), ([0.], [(3.,)])) + with self.assertRaisesRegex(hr.ReferenceError, "conflicting"): + method("fun", 0., [3.], 1., first_step=1e-10) + + def test_real_installed_method_class_accepts_first_step(self): + import inspect + from scipy.integrate import Radau + self.assertIn("first_step", inspect.signature(Radau).parameters) + + def test_only_dark_prebias_bridge_receives_requested_step(self): + import numpy as np + state = (1., 2., 3., 4., 0., 0.) + for phase in self.timeline(level=2): + control = phase.controls[0] + bridge = hr.ProductionBridge.__new__(hr.ProductionBridge) + bridge.np, bridge.x, bridge.stack = np, np.array([0., 1.]), object() + bridge.mat = SimpleNamespace(P_ion0=np.zeros(2)) + bridge.widths, bridge.initial_inventory = np.array([.5, .5]), 0. + bridge.numerics = {"rtol": 1e-6, "atol_m3": .01, "prebias_first_step_s": 4e-14} + bridge.jacobian = object() + solver = Mock(return_value=SimpleNamespace(success=True, t=np.array([0., control.duration]), + y=np.array([state, state]).T, message="mock", numerical_diagnostics=None)) + bridge.jv = SimpleNamespace(run_transient=solver) + with patch.object(hr, "radau_history", return_value=(object, [0., control.duration], [state, state])) as recorder: + segment = bridge.advance(state, control) + self.assertTrue(segment.success) + requested = phase.id == "dark_prebias" + self.assertEqual(recorder.call_args.kwargs, {"first_step": 4e-14} if requested else {}) + self.assertEqual("requested_first_step_s" in segment.diagnostics, requested) + self.assertEqual(solver.call_args.kwargs["max_step"], control.max_step_s) + self.assertEqual(solver.call_args.kwargs["jacobian"], bridge.jacobian) + self.assertIsNone(solver.call_args.kwargs["t_eval"]) + + def test_supervisor_preserves_requested_policy_in_child_command(self): + with tempfile.TemporaryDirectory() as temporary: + args = SimpleNamespace(output=Path(temporary)/"run", repo=REPO, archive=ARCHIVE, + case="hi_diffusivity_00", grid=60, step_level=2, solver_level=2, + admission=Path(temporary)/"Admission.json", prebias_first_step_s=4e-14) + child = Mock(returncode=0) + child.poll.return_value = 0 + with patch.object(hr.subprocess, "Popen", return_value=child) as launch: + self.assertEqual(hr.supervise(args, {"mock": True}), 0) + argv = launch.call_args.args[0] + self.assertEqual(argv[argv.index("--prebias-first-step-s")+1], repr(4e-14)) + + +class TestAdmission(unittest.TestCase): + def test_missing_or_mismatched_admission_never_executes(self): + plan = {"identity_sha256": "a"*64, "resources": {"wall_s": 600}, + "environment": {"model_environment": {k: "1" for k in hr.THREAD_KEYS}}} + with self.assertRaises(hr.ReferenceError): + hr.verify_admission(plan, {}) + admitted = {"schema": "solarlab.hysteresis_reference_admission.v1", "execution_authorized": True, + "identity_sha256": plan["identity_sha256"], "resources": plan["resources"], + "root_authorization_message": "synthetic_test_only", "bound_analytic_test_receipt_sha256": "b"*64, + "purpose": "unqualified_reference_diagnostic"} + hr.verify_admission(plan, admitted) + for change in ({"identity_sha256": "c"*64}, {"execution_authorized": False}, + {"resources": {"wall_s": 900}}, {"purpose": "candidate_acceptance"}, + {"bound_analytic_test_receipt_sha256": None}): + with self.subTest(change=change), self.assertRaises(hr.ReferenceError): + hr.verify_admission(plan, {**admitted, **change}) + plan["environment"]["model_environment"]["OMP_NUM_THREADS"] = "8" + with self.assertRaisesRegex(hr.ReferenceError, "thread"): + hr.verify_admission(plan, admitted) + + +if __name__ == "__main__": + unittest.main() diff --git a/tests/refactor/test_identity_2d.py b/tests/refactor/test_identity_2d.py new file mode 100644 index 00000000..a2320e60 --- /dev/null +++ b/tests/refactor/test_identity_2d.py @@ -0,0 +1,96 @@ +"""Pure identity regression: explicit 2D geometry, unchanged absent 1D domain.""" +from dataclasses import replace +import json +import os +from pathlib import Path +import subprocess + +import pytest + +from examples.research_1d.process_ionic_transient import source_build +from examples.research_1d.steady import load_device +from examples.research_2d.dc_assembly import spatial_input +from solarlab.config.identity import input_identity, physics_identity +from solarlab.experiments.jv.worker import steady_jv_identity_inputs +from solarlab.experiments.two_dimensional.inputs import JV2DInput +from solarlab.experiments.two_dimensional.steady_worker import _identity_inputs +from solarlab.materials.source import SourceDocument + +ROOT = Path(__file__).resolve().parents[2] + + +@pytest.fixture(scope="module") +def inputs(): + commit = os.environ.get("SOLARLAB_STEADY2D_COMMIT") or subprocess.check_output( + ["git", "rev-parse", "HEAD"], cwd=ROOT, text=True).strip() + archive = os.environ.get("SOLARLAB_STEADY2D_ARCHIVE") + source = source_build(commit, Path(archive) if archive else None) + prepared = load_device() + return prepared, source, steady_jv_identity_inputs(prepared, source), _identity_inputs(prepared, spatial_input(), source) + + +def test_omitted_and_none_preserve_all_three_1d_documents(inputs): + _, _, one, _ = inputs + explicit = replace(one, spatial_geometry=None) + for name in ("_input_document", "_physical_document", "_execution_binding"): + assert getattr(one, name) == getattr(explicit, name) + assert "spatial_geometry" not in json.loads(getattr(one, name)) + assert input_identity(one).sha256 == input_identity(explicit).sha256 + assert physics_identity(one).sha256 == physics_identity(explicit).sha256 + + +def test_dimension_two_requires_actual_geometry_and_survives_child_replace(inputs): + _, _, one, two = inputs + assert two.selection.context.dimension == 2 + assert input_identity(two).sha256 != input_identity(one).sha256 + assert physics_identity(two).sha256 != physics_identity(one).sha256 + assert json.loads(two._physical_document)["model_context"]["dimension"] == 2 + for name in ("_input_document", "_physical_document", "_execution_binding"): + assert getattr(replace(two), name) == getattr(two, name) + assert "spatial_geometry" in json.loads(getattr(two, name)) + with pytest.raises(ValueError, match="explicit uniform lateral"): + replace(two, spatial_geometry=None) + with pytest.raises(ValueError, match="dimension1"): + replace(one, spatial_geometry=two.spatial_geometry) + + +def test_lateral_physics_changes_but_mesh_counts_stay_numerical(inputs): + prepared, source, _, two = inputs + refined = _identity_inputs(prepared, JV2DInput(kind="jv_2d", lateral_length="1 um", Nx=8, + Ny_per_layer=4, lateral_bc="neumann"), source) + wider = _identity_inputs(prepared, JV2DInput(kind="jv_2d", lateral_length="2 um", Nx=4, + Ny_per_layer=4, lateral_bc="neumann"), source) + assert input_identity(refined).sha256 != input_identity(two).sha256 + assert refined._execution_binding != two._execution_binding + assert physics_identity(refined).sha256 == physics_identity(two).sha256 + assert physics_identity(wider).sha256 != physics_identity(two).sha256 + + +@pytest.mark.parametrize("change", ["extra_grain", "missing", "boolean_count", "layer", "boundary", "nonfinite", "policy"]) +def test_unbound_geometry_or_grain_declarations_rejected(inputs, change): + _, _, _, two = inputs + data = json.loads(two.spatial_geometry.content) + if change == "extra_grain": + data["grain_boundaries"] = [] + elif change == "missing": + del data["lateral_length_m"] + elif change == "boolean_count": + data["Nx"] = True + elif change == "layer": + data["electrical_layer_ids"] = ["different"] + elif change == "boundary": + data["lateral_bc"] = "periodic" + elif change == "nonfinite": + data["lateral_length_m"] = float("nan") + else: + data["geometry_policy"] = "unknown" + with pytest.raises(ValueError): + replace(two, spatial_geometry=SourceDocument(two.spatial_geometry.id, json.dumps(data).encode())) + + +def test_duplicate_geometry_keys_rejected(inputs): + _, _, _, two = inputs + data = two.spatial_geometry.content + duplicate = data[:-1] + b',"Nx":4}' + with pytest.raises(ValueError, match="duplicate"): + replace(two, spatial_geometry=SourceDocument(two.spatial_geometry.id, duplicate)) diff --git a/tests/refactor/test_input_domain_closure.py b/tests/refactor/test_input_domain_closure.py new file mode 100644 index 00000000..36a26f7a --- /dev/null +++ b/tests/refactor/test_input_domain_closure.py @@ -0,0 +1,111 @@ +"""Complete current preparation inventory, immutable resources and typed edges.""" +from copy import deepcopy +from decimal import Decimal +from fractions import Fraction +import json +import struct + +import numpy as np +import pytest + +from solarlab.config.resolve_device import resolve_device, resolve_tandem +from solarlab.device.settings import DeviceSettingsInput +from solarlab.materials.full_parameters import FullParameterInput +from solarlab.materials.resources import ResourceTable +from solarlab.materials.source import SourceDocument +from solarlab.reproducibility.preparation import prepare_configuration, read_preparation_context +from solarlab.units import normalize_quantity +from test_registry_migration import registries as registries + + +def encoded(value): + if type(value) is float: + return ["binary64", struct.pack(">d", value).hex()] + if isinstance(value, dict): + return {k: encoded(v) for k, v in value.items()} + if isinstance(value, (tuple, list)): + return [encoded(v) for v in value] + return value + + +def test_all_55_inputs_reopen_without_aliases_or_changed_words(registries): + registry = registries[0] + defaults, resources = read_preparation_context(registry) + checked = [] + for entry in registry.spec.entries: + if entry.section != "configs": + continue + prepared = prepare_configuration(registry, entry.id, defaults=defaults, resources=resources).prepared + assert prepared is not None + before = encoded(prepared.to_mapping()) + original_input = prepared.to_input() + resolver = resolve_tandem if original_input.schema_version == "solarlab.tandem-preparation.v1" else resolve_device + reopened = resolver(original_input, defaults, resources, sources=prepared.sources) + assert encoded(reopened.to_mapping()) == before + assert reopened.input_json == prepared.input_json + assert reopened.content_sha256 == prepared.content_sha256 + # Every returned editing/result object is detached from the immutable + # prepared record, including tandem, defects and microstructure inputs. + exported = prepared.to_mapping() + exported.clear() + detached = original_input.editing_data() + detached.clear() + original_input.id = "detached_copy" + assert prepared.to_input().id != "detached_copy" + assert encoded(prepared.to_mapping()) == before + assert not prepared.can_execute + checked.append(entry.id) + assert len(checked) == 55 + + +def test_all_actual_resources_own_immutable_exact_words(registries): + _, library = read_preparation_context(registries[0]) + for table in library.tables: + first, second = table.array, table.array + before = first.tobytes() + assert first.shape == table.shape and first.dtype == np.dtype("d", normalize_quantity(value, unit)) == struct.pack(">d", float(expected)) + + +@pytest.mark.parametrize("value", [True, None, float("nan"), float("inf"), "1 nm"]) +def test_full_input_copies_still_reject_invalid_temperature_and_energy(value): + settings = DeviceSettingsInput() + with pytest.raises(ValueError): + settings.model_copy(update={"T": value}) + with pytest.raises(ValueError): + FullParameterInput.model_validate({"Eg": value}) + + +@pytest.mark.parametrize("change", [ + lambda x: x.update(extra=1), + lambda x: x.update(coordinate_m=[0, 0]), + lambda x: x.update(generation_m3_s=[1]), + lambda x: x.update(generation_m3_s=[1, True]), + lambda x: x.update(generation_m3_s=[1, float("inf")]), +]) +def test_fixed_generation_shapes_and_types_are_not_silently_repaired(change): + data = {"coordinate_m": [0, 1], "generation_m3_s": [0, 1]} + changed = deepcopy(data) + change(changed) + with pytest.raises(ValueError): + ResourceTable("fixed", "fixed_generation", SourceDocument("fixed.json", json.dumps(changed).encode())) diff --git a/tests/refactor/test_jv_protocol_preparation.py b/tests/refactor/test_jv_protocol_preparation.py new file mode 100644 index 00000000..9b35c800 --- /dev/null +++ b/tests/refactor/test_jv_protocol_preparation.py @@ -0,0 +1,237 @@ +"""Source and archived-request declarations only; no model solver execution.""" +from copy import deepcopy +from dataclasses import asdict, replace +import json +from pathlib import Path +from types import SimpleNamespace + +import pytest +from pydantic import ValidationError + +from solarlab.config.device_import import import_standard_device +from solarlab.config.legacy_defaults import read_legacy_default_catalog +from solarlab.config.resolve_device import resolve_device +from solarlab.device.defaults import DefaultCatalog +from solarlab.experiments.jv.inputs import JVExperimentInput, JVWaveformInput +from solarlab.experiments.jv.preparation import prepare_jv_experiment +from solarlab.materials.source import SourceDocument +from test_device_configuration_preparation import DEFAULT_SOURCES, LEGACY, ROOT, imported +from test_device_configuration_preparation import resources as resources + +REFERENCES = json.loads((Path(__file__).parent / "fixtures/jv_reference_requests.json").read_text()) +JV_SOURCES = ("experiments/jv_sweep.py", "experiments/waveform_jv.py", "experiments/dark_jv.py", "experiments/protocol.py") + + +@pytest.fixture(scope="module") +def defaults(): + return read_legacy_default_catalog(tuple(SourceDocument(name, (LEGACY / name).read_bytes()) for name in DEFAULT_SOURCES), + jv_sources=(SourceDocument("backend/main.py", (ROOT / "perovskite-sim/backend/main.py").read_bytes()), + *(SourceDocument(name, (LEGACY / name).read_bytes()) for name in JV_SOURCES))) + + +def request(defaults, **controls): + device, source = imported("standard", defaults) + return dict(schema_version="solarlab.experiment-preparation.v1", id="jv_test", + device=device.model_dump(mode="json", exclude_unset=True), experiment={"kind": "jv", **controls}), (source,) + + +def reference(defaults, index=0): + item = REFERENCES[index] + raw = item["request"] + source = SourceDocument(item["provenance"]["source"], json.dumps(raw["device"]).encode()) + device = import_standard_device(source, id=item["provenance"]["label"], defaults=defaults) + return dict(schema_version="solarlab.experiment-preparation.v1", id=item["provenance"]["label"], + device=device.model_dump(mode="json", exclude_unset=True), experiment={"kind": "jv", **deepcopy(raw["params"])}), (source,) + + +def prepare(raw, defaults, resources, sources=()): + return prepare_jv_experiment(JVExperimentInput.model_validate(raw), defaults, resources, sources=sources) + + +def words(value): + if isinstance(value, dict): + return {key: words(item) for key, item in value.items()} + if isinstance(value, (list, tuple)): + return [words(item) for item in value] + return [type(value).__name__, value.hex() if type(value) is float else value] + + +def test_distinct_endpoint_dark_and_driver_defaults_from_actual_source(defaults, resources): + assert DefaultCatalog.from_mapping(defaults.to_mapping()) == defaults + raw, sources = request(defaults) + job = prepare(raw, defaults, resources, sources).to_mapping()["experiment"] + assert job["controls"]["N_grid"] == 60 and job["controls"]["n_points"] == 30 + assert job["protocol"]["status"] == "pending_operating_contact_potential" + assert job["protocol"]["declaration"] is None + raw["experiment"]["request_api"] = "jv_endpoint" + endpoint = prepare(raw, defaults, resources).to_mapping()["experiment"] + assert endpoint["controls"]["N_grid"] == 80 and endpoint["controls"]["n_points"] == 40 + raw["experiment"] = {"kind": "dark_jv"} + dark = prepare(raw, defaults, resources).to_mapping()["experiment"] + assert dark["controls"]["n_points"] == 60 and dark["controls"]["V_max"] == 1.2 + assert dark["controls"]["illuminated"] is False + assert dark["legacy_result_scope"] == "forward_curve_and_diode_fit_only_from_transient_dark_sweep" + assert job["numerical_controls"] == dark["numerical_controls"] == {"rtol": 1e-4, "atol": 1e-6} + assert defaults.experiment_defaults_for("jv_waveform_controls")["atol_m3"] == 100 + assert set(JV_SOURCES) <= set(dict(defaults.evidence)) + + +def test_endpoint_and_job_defaults_are_independently_source_bound(defaults): + source = (ROOT / "perovskite-sim/backend/main.py").read_bytes() + original = b' N_grid: int = 80\n n_points: int = 40\n' + assert source.count(original) == 1 + altered = source.replace(original, b' N_grid: int = 81\n n_points: int = 41\n') + # Change only the JVRequest maximum, leaving start_job's explicit None. + begin = altered.index(b'class JVRequest(') + before, after = altered[:begin], altered[begin:] + altered = before + after.replace(b' V_max: Optional[float] = None', b' V_max: Optional[float] = 1.1', 1) + catalog = read_legacy_default_catalog(tuple(SourceDocument(name, (LEGACY / name).read_bytes()) for name in DEFAULT_SOURCES), + jv_sources=(SourceDocument("backend/main.py", altered), *(SourceDocument(name, (LEGACY / name).read_bytes()) for name in JV_SOURCES))) + assert catalog.experiment_defaults_for("jv_endpoint")["V_max"] == 1.1 + assert catalog.experiment_defaults_for("jv_endpoint")["N_grid"] == 81 + assert catalog.experiment_defaults_for("jv_jobs") == defaults.experiment_defaults_for("jv_jobs") + assert catalog.content_sha256 != defaults.content_sha256 + + +@pytest.mark.parametrize("index", [0, 1, 2]) +def test_archived_waveform_words_numerical_settings_and_device_identity(index, defaults, resources): + raw, sources = reference(defaults, index) + before = words(raw) + result = prepare(raw, defaults, resources, sources) + data = result.to_mapping() + assert words(result.to_input().editing_data()) == before + device = resolve_device(result.to_input().device, defaults, resources, sources=sources) + assert words(data["device"]) == words(device.to_mapping()) + assert data["experiment"]["numerical_controls"] == {"rtol": 0.0001, "atol_m3": 1} + assert data["experiment"]["controls"]["v_rate"] == 0.04 + history = data["experiment"]["protocol"]["declaration"]["illumination_history"] + assert [phase["duration_s"] for phase in history] == [120, 30, 0.5, 55, 3, 0.5, 55] + assert [phase["condition"] for phase in history] == ["dark", "dark", "baseline", "baseline", "dark", "baseline", "baseline"] + absorber = next(layer for layer in data["device"]["layers"] if layer["role"] == "absorber") + values = {**absorber["material_parameters"], **absorber["layer_parameters"]} + assert values["D_ion"] == (0 if index == 1 else 2.585e-18) + assert values["P0"] == (0 if index == 2 else 1e25) + assert data["experiment"]["state_history"]["required"] is True + assert not data["experiment"]["state_history"]["generated"] + assert data["identity"]["execution_identity"] is None and not result.can_execute + assert prepare(result.to_input(), defaults, resources, sources).content_sha256 == result.content_sha256 + raw["device"]["layers"].clear() + data["experiment"]["controls"]["v_rate"] = 999 + assert result.to_mapping()["experiment"]["controls"]["v_rate"] == 0.04 + + +def test_genuine_declaration_oracle_preserves_waveform_and_staircase_semantics(defaults, resources, monkeypatch): + from perovskite_sim.experiments import jv_sweep, waveform_jv + def forbidden(*args, **kwargs): + raise AssertionError("Numerical operation forbidden in declaration tests") + for name in ("build_electrical_grid", "build_material_arrays", "solve_equilibrium", "run_transient", "run_jv_sweep"): + monkeypatch.setattr(jv_sweep, name, forbidden) + for raw, sources in (reference(defaults), request(defaults, V_max=1.2, illuminated=False), request(defaults, V_max=-0.0)): + result = prepare(raw, defaults, resources, sources).to_mapping() + values = result["experiment"]["controls"] + stack = SimpleNamespace(T=result["device"]["settings"]["T"]) + if "waveform" in raw["experiment"]: + waveform = waveform_jv.JVWaveform.from_dict(raw["experiment"]["waveform"]) + assert asdict(waveform) == JVWaveformInput.model_validate(raw["experiment"]["waveform"]).normalized_data() + expected = waveform_jv.build_waveform_protocol(stack, waveform, n_points=values["n_points"], v_rate=values["v_rate"], V_max=values["V_max"], illuminated=values["illuminated"]) + else: + expected = jv_sweep.build_jv_experiment_protocol(stack, n_points=values["n_points"], v_rate=values["v_rate"], V_max=values["V_max"], illuminated=values["illuminated"], implicit_legacy_protocol=True) + assert words(result["experiment"]["protocol"]["declaration"]) == words(expected.to_dict()) + assert result["experiment"]["protocol"]["declaration_sha256"] == expected.protocol_hash + + +def test_zero_null_omission_equivalent_units_and_tolerance_inheritance(defaults, resources): + raw, _ = reference(defaults) + raw["experiment"]["v_rate"] = "40 mV/s" + raw["experiment"]["waveform"].update(start_voltage_V=-0.0, dark_seed_s=0, dark_prep_s="0 s", turnaround_s=0, + turnaround_dark=False, uniform_generation_rate_m3_s="0 m^-3/s") + result = prepare(raw, defaults, resources) + assert words(result.to_input().editing_data()) == words(raw) + resolved = result.to_mapping()["experiment"] + assert resolved["controls"]["v_rate"] == 0.04 + assert resolved["waveform"]["uniform_generation_rate_m3_s"] == 0 + assert resolved["protocol"]["declaration"]["dc_settle"]["kind"] == "not_applicable" + ids = [] + for value in ("omitted", None): + if value == "omitted": + raw["experiment"].pop("waveform_controls") + else: + raw["experiment"]["waveform_controls"] = None + result = prepare(raw, defaults, resources) + assert result.to_mapping()["experiment"]["numerical_controls"]["atol_m3"] == 100 + ids.append(result.content_sha256) + assert ids[0] != ids[1] + raw["experiment"]["waveform"]["uniform_generation_rate_m3_s"] = None + assert prepare(raw, defaults, resources).to_mapping()["experiment"]["protocol"]["declaration"]["illumination_history"][2]["source_reference"] == "device_optics" + + +@pytest.mark.parametrize("field,value", [("v_rate", 0), ("v_rate", "1 nm"), ("N_grid", 0), ("N_grid", True), ("n_points", 1), ("illuminated", None)]) +def test_invalid_request_field_paths(field, value, defaults, resources): + raw, _ = request(defaults, **{field: value}) + with pytest.raises(ValidationError) as error: + prepare(raw, defaults, resources) + assert ("experiment", field) in [row["loc"] for row in error.value.errors()] + + +def test_waveform_branch_rules_and_unsupported_dark_input_remain_visible(defaults, resources): + raw, _ = reference(defaults) + for patch, path in [({"solver": "steady_state"}, "solver"), ({"V_max": None}, "V_max"), ({"V_max": 0}, "V_max"), + ({"iface_states": True}, "iface_states"), ({"interface_boundary": True}, "interface_boundary")]: + bad = deepcopy(raw) + bad["experiment"].update(patch) + with pytest.raises(ValidationError) as error: + prepare(bad, defaults, resources) + assert ("experiment", path) in [row["loc"] for row in error.value.errors()] + bad = deepcopy(raw) + bad["experiment"]["kind"] = "dark_jv" + with pytest.raises(ValidationError) as error: + prepare(bad, defaults, resources) + assert ("experiment", "waveform") in [row["loc"] for row in error.value.errors()] + bad = deepcopy(raw) + bad["experiment"]["waveform"] = None + with pytest.raises(ValidationError, match="requires an explicit waveform"): + prepare(bad, defaults, resources) + + +def test_explicit_protocol_order_and_history_mismatch_are_not_repaired(defaults, resources): + raw, _ = reference(defaults) + raw["experiment"]["protocol_mode"] = "research_strict" + explicit = prepare(raw, defaults, resources).to_mapping()["experiment"]["protocol"]["declaration"] + raw["experiment"]["experiment_protocol"] = explicit + assert prepare(raw, defaults, resources).to_mapping()["experiment"]["protocol"]["request_history_compared"] + explicit["illumination_history"][0], explicit["illumination_history"][1] = explicit["illumination_history"][1], explicit["illumination_history"][0] + with pytest.raises(ValidationError) as error: + prepare(raw, defaults, resources) + assert error.value.errors()[0]["loc"][:3] == ("experiment", "experiment_protocol", "illumination_history") + raw, _ = request(defaults, V_max=1.2, protocol_mode="research_strict") + with pytest.raises(ValidationError, match="explicit history"): + prepare(raw, defaults, resources) + + +def test_preserves_nontransient_choice_without_claiming_hysteresis(defaults, resources): + raw, _ = request(defaults, solver="steady_state", V_max=1.2) + output = prepare(raw, defaults, resources).to_mapping()["experiment"] + assert output["history_kind"] == "single_steady_curve" and output["numerical_controls"] is None + assert not output["state_history"]["required"] + raw["experiment"]["request_api"] = "jv_endpoint" + raw["experiment"]["illuminated"] = False + with pytest.raises(ValidationError, match="fixes illuminated=True"): + prepare(raw, defaults, resources) + + +def test_immutable_source_identity_and_no_legacy_import_in_preparation(defaults, resources, monkeypatch): + import builtins + original = builtins.__import__ + def guarded(name, *args, **kwargs): + assert not name.startswith(("perovskite_sim", "backend", "scipy")), name + return original(name, *args, **kwargs) + monkeypatch.setattr(builtins, "__import__", guarded) + raw, sources = reference(defaults) + first = prepare(raw, defaults, resources, sources) + other = prepare(raw, defaults, resources, (*sources, SourceDocument("provenance", b"different"))) + assert first.content_sha256 != other.content_sha256 and not other.can_execute + empty = replace(defaults, experiment_defaults=()) + with pytest.raises(ValueError, match="not supplied"): + prepare(raw, empty, resources) + with pytest.raises(ValidationError): + prepare({**raw, "defaults": defaults.to_mapping()}, defaults, resources) diff --git a/tests/refactor/test_legacy_behavior_execution.py b/tests/refactor/test_legacy_behavior_execution.py new file mode 100644 index 00000000..59a37385 --- /dev/null +++ b/tests/refactor/test_legacy_behavior_execution.py @@ -0,0 +1,153 @@ +"""Opposed contexts run real isolated old material preparation, without a solve. + +This checks the import/environment boundary and every material word. It does +not stand in for the remaining full driver/history comparisons in P03-04. +""" + +from importlib.util import find_spec +import json +import os +from pathlib import Path +import subprocess +import sys + +from test_behavior_context import ROOT, context, edit +from test_behavior_context import defaults as defaults, resources as resources +from test_behavior_context import scaps as scaps, sources as sources + + +_OBSERVER = r''' +from dataclasses import fields, is_dataclass, replace +import hashlib +import json +from pathlib import Path +import os +import resource +import struct +import sys +import time + +started = time.monotonic_ns() +request = json.loads(sys.argv[2]) +assert all(os.environ.get(key) == value for key, value in request.items()) +from perovskite_sim.solver import mol +from perovskite_sim.experiments import steady_state +from perovskite_sim.experiments.jv_sweep import build_electrical_grid +from perovskite_sim.scaps_compat.loader import load_scaps_yaml +import numpy as np + +def words(value): + if is_dataclass(value): + return {"type": type(value).__qualname__, + "fields": {f.name: words(getattr(value, f.name)) for f in fields(value)}} + if isinstance(value, np.ndarray): + return {"dtype": value.dtype.str, "shape": list(value.shape), + "raw_hex": value.tobytes(order="C").hex()} + if isinstance(value, np.generic): + return {"dtype": value.dtype.str, "raw_hex": value.tobytes().hex()} + if type(value) is float: + return {"binary64_be": struct.pack(">d", value).hex()} + if value is None or type(value) in (str, bool, int): + return value + if isinstance(value, (tuple, list)): + return [words(item) for item in value] + if isinstance(value, dict): + return {str(key): words(item) for key, item in value.items()} + raise TypeError(type(value).__qualname__) + +source = Path(sys.argv[1]) +stack = replace(load_scaps_yaml(source), dos_band_potentials=False) +grid = build_electrical_grid(stack, 8) +material = mol.build_material_arrays(grid, stack) +payload = words({"stack": stack, "grid": grid, "material": material}) +rss = resource.getrusage(resource.RUSAGE_SELF).ru_maxrss +if sys.platform != "darwin": + rss *= 1024 +print(json.dumps({ + "payload": payload, + "input_sha256": hashlib.sha256(source.read_bytes()).hexdigest(), + "environment": request, + "imports": {"ss_jacobian_reuse": steady_state._SS_JAC_REUSE, + "ss_gummel": steady_state._SS_GUMMEL, + "rhs_finite_check": mol._RHS_FINITE_CHECK, + "QSS_velocity_effective_m_s": mol._QSS_V_TH_MS.hex()}, + "origins": {name: {"path": str(Path(module.__file__).resolve()), + "sha256": hashlib.sha256(Path(module.__file__).read_bytes()).hexdigest()} + for name, module in (("solver/mol.py", mol), ("experiments/steady_state.py", steady_state))}, + "pid": os.getpid(), "started_ns": started, "finished_ns": time.monotonic_ns(), + "rss_bytes": rss, +}, allow_nan=False)) +''' + + +def test_opposed_contexts_preserve_all_words_in_concurrent_old_material_calls(scaps, sources): + parent_environment = dict(os.environ) + package = find_spec("perovskite_sim") + assert package is not None and len(package.submodule_search_locations) == 1 + package_root = Path(next(iter(package.submodule_search_locations))).resolve() + device = edit(scaps, lambda data: data["settings"].update(dos_band_potentials=False)) + supplied = [ + {"SOLARLAB_DOS_BAND": value, "SOLARLAB_SS_JAC_REUSE": value, + "SOLARLAB_SS_GUMMEL": value, "PEROVSKITE_RHS_FINITE_CHECK": value, + "SOLARLAB_QSS_VTH": "-0" if value == "0" else "1"} + for value in ("0", "1") + ] + contexts = [context(device, sources, environment=tuple(env.items())).export() for env in supplied] + keys = tuple(contexts[0]["environment_effective_snapshot"]) + + def start(snapshot): + child_environment = dict(parent_environment) + for key in keys: + child_environment.pop(key, None) + child_environment.update({key: value for key, value in snapshot.items() if value is not None}) + child_environment.update(OMP_NUM_THREADS="1", OPENBLAS_NUM_THREADS="1", MKL_NUM_THREADS="1", + VECLIB_MAXIMUM_THREADS="1", NUMEXPR_NUM_THREADS="1", PYTHONDONTWRITEBYTECODE="1") + return subprocess.Popen( + [sys.executable, "-I", "-B", "-c", _OBSERVER, + str(ROOT / "perovskite-sim/configs/scaps_mirror_v2.yaml"), json.dumps(snapshot)], + env=child_environment, stdout=subprocess.PIPE, stderr=subprocess.PIPE, text=True, + ) + + def finish(process): + try: + stdout, stderr = process.communicate(timeout=60) + except subprocess.TimeoutExpired: + process.kill() + process.communicate() + raise + assert process.returncode == 0, stdout + stderr + result = json.loads(stdout) + assert result["rss_bytes"] <= 4 * 1024**3 + return {"returncode": process.returncode, "stderr": stderr, "result": result} + + direct = [finish(start({key: env.get(key) for key in keys})) for env in supplied] + children = [start(item["environment_effective_snapshot"]) for item in contexts] + try: + concurrent = [finish(child) for child in children] + finally: + for child in children: + if child.poll() is None: + child.kill() + child.communicate() + assert len({row["result"]["pid"] for row in concurrent}) == 2 + assert max(row["result"]["started_ns"] for row in concurrent) < min(row["result"]["finished_ns"] for row in concurrent) + assert direct[0]["result"]["imports"] != direct[1]["result"]["imports"] + assert direct[0]["result"]["payload"] != direct[1]["result"]["payload"] + for original, actual, expected in zip(direct, concurrent, contexts): + original, actual = original["result"], actual["result"] + assert actual["payload"] == original["payload"] + assert actual["input_sha256"] == original["input_sha256"] + prediction = expected["source_inspection"]["import_time_policy"] + assert actual["imports"] == {key: value.hex() if type(value) is float else value + for key, value in prediction.items() if key in actual["imports"]} + for name, origin in actual["origins"].items(): + assert Path(origin["path"]) == package_root / name + assert origin["sha256"] == next(source.sha256 for source in sources if source.id == name) + assert dict(os.environ) == parent_environment + output = os.environ.get("SOLARLAB_BEHAVIOR_EXECUTION_OUTPUT") + if output: + Path(output).write_text(json.dumps({ + "scope": "real concurrent old material preparation, no state solve or full driver history", + "passed": True, "parent_environment_unchanged": True, + "contexts": contexts, "direct": direct, "concurrent": concurrent, + }, indent=2) + "\n") diff --git a/tests/refactor/test_legacy_consumer_registration.py b/tests/refactor/test_legacy_consumer_registration.py new file mode 100644 index 00000000..6e329875 --- /dev/null +++ b/tests/refactor/test_legacy_consumer_registration.py @@ -0,0 +1,277 @@ +"""Retained consumers must not grow silently beyond the reviewed registry.""" +from __future__ import annotations + +from copy import deepcopy +import hashlib +import json +from pathlib import Path +import subprocess +from typing import Any + +import pytest +import yaml + +from support.legacy_consumers import ( + Consumer, + SCRIPT_SCOPE, + registration_violations, + scan_consumers, +) + + +ROOT = Path(__file__).resolve().parents[2] + + +def write(root: Path, path: str, source: str) -> None: + file = root / path + file.parent.mkdir(parents=True, exist_ok=True) + file.write_text(source) + + +def registry(root: Path) -> dict[str, Any]: + path = "src/solarlab_server/legacy_engine/__init__.py" + write(root, path, "") + return { + "execution_facade": {"path": path, "owner": "WS4", "exit_tasks": ["P06-06"]}, + "consumer_groups": [], + } + + +def p00() -> dict[str, Any]: + return {"sources": [], "capabilities": []} + + +@pytest.fixture(scope="module") +def current() -> tuple[dict[str, Any], dict[str, Any], tuple[Consumer, ...], dict[str, Any]]: + policy = json.loads((ROOT / "reproducibility/RefactorTransitionBoundariesV1.json").read_text()) + previous = json.loads((ROOT / "reproducibility/RefactorCoverageV1.json").read_text()) + paths = subprocess.check_output(["git", "ls-files", "-z"], cwd=ROOT, text=True).split("\0") + lanes = yaml.safe_load( + (ROOT / "perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml").read_text() + )["lanes"] + return policy, previous, scan_consumers(ROOT, paths), lanes + + +def test_all_current_direct_consumers_have_live_registration( + current: tuple[dict[str, Any], dict[str, Any], tuple[Consumer, ...], dict[str, Any]], +) -> None: + policy, previous, consumers, lanes = current + assert consumers # An empty/broken discovery pass is not coverage. + assert registration_violations(ROOT, policy, previous, consumers, lanes) == [] + + +def test_current_inventory_agrees_with_the_accepted_audit( + current: tuple[dict[str, Any], dict[str, Any], tuple[Consumer, ...], dict[str, Any]], +) -> None: + policy, previous, consumers, lanes = current + # Independent AcceptanceV2 / UnregisteredLegacyConsumersV1 inventory: + # 98 direct files (excluding backend-only support), 47 lane/executor pairs. + # Audit sha256: 31c7bbbf8a081000036333de6deb27c735441344470083679390ab9933ea0b55. + # A deliberate inventory change needs a refreshed audit; CI needs no archive. + inventory = { + "consumer_paths": sorted({consumer.path for consumer in consumers}), + "refinement_lanes": sorted((name, lane["executor"]) for name, lane in lanes.items()), + } + encoded = json.dumps(inventory, sort_keys=True, separators=(",", ":")).encode() + assert hashlib.sha256(encoded).hexdigest() == ( + "9d6fa3dadbe97bce10c996ef63117574b93bb6c326bbbe28ef2d4c26941a697c" + ) + assert registration_violations(ROOT, policy, previous, consumers, lanes) == [] + + +@pytest.mark.parametrize("group_id", [ + "legacy-notebooks", "retained-research-benchmark-tools", "legacy-browser-wire", +]) +def test_removing_an_accepted_group_exposes_every_affected_consumer( + current: tuple[dict[str, Any], dict[str, Any], tuple[Consumer, ...], dict[str, Any]], + group_id: str, +) -> None: + policy, previous, consumers, lanes = current + changed = deepcopy(policy) + group = next(g for g in changed["consumer_groups"] if g["id"] == group_id) + changed["consumer_groups"].remove(group) + errors = registration_violations(ROOT, changed, previous, consumers, lanes) + assert sorted(errors) == sorted( + f"unregistered direct legacy consumer: {path}" for path in group["paths"] + ) + + +@pytest.mark.parametrize(("path", "source"), [ + ("src/solarlab/new.py", "import perovskite_sim.models.device as old\n"), + ("scripts/new.py", "def later():\n from perovskite_sim import experiments\n"), + ("examples/new.py", "import backend.main\n"), + ("scripts/new.py", "import importlib\nimportlib.import_module('perovskite_sim.models')\n"), + ("scripts/new.py", "from importlib import import_module as load\nload('backend.main')\n"), + ("scripts/new.py", "__import__('perovskite_sim')\n"), + ("scripts/new.py", "raise AssertionError('must never execute')\nimport perovskite_sim\n"), + ("perovskite-sim/notebooks/New.ipynb", json.dumps({"cells": [ + {"cell_type": "markdown", "source": ["# A notebook"]}, + {"cell_type": "code", "source": ["%matplotlib inline\n", "import perovskite_sim\n"]}, + ]})), + ("web/src/new.ts", "const url = '/api/jobs';\nfetch(\n url,\n)\n"), + ("web/src/new.ts", "new EventSource(\n '/api/jobs/x/events'\n)\n"), + ("web/src/new.ts", "window.fetch('/api/jv')\n"), +]) +def test_new_direct_consumer_is_rejected_until_registered( + tmp_path: Path, path: str, source: str, +) -> None: + policy = registry(tmp_path) + write(tmp_path, path, source) + consumers = scan_consumers(tmp_path, [path]) + assert consumers + assert registration_violations(tmp_path, policy, p00(), consumers) == [ + f"unregistered direct legacy consumer: {path}", + ] + policy["consumer_groups"].append({ + "id": "retained-new", "paths": [path], "owner": "WS4", "exit_tasks": ["P09-02"], + }) + assert registration_violations(tmp_path, policy, p00(), consumers) == [] + + +@pytest.mark.parametrize("path", [ + "tests/new.py", "perovskite-sim/tests/new.py", + "perovskite-sim/perovskite_sim/new.py", + "src/solarlab_server/legacy_engine/new.py", + "web/src/new.test.ts", "web/src/__tests__/new.ts", +]) +def test_reviewed_source_exclusions(tmp_path: Path, path: str) -> None: + source = "fetch('/api/jobs')" if path.endswith(".ts") else "import perovskite_sim" + write(tmp_path, path, source) + assert scan_consumers(tmp_path, [path]) == () + + +@pytest.mark.parametrize("source", [ + "/** Mirrors /api/jobs and fetch(url). */\nexport type Id = string;\n", + "// fetch('/api/jobs')\nexport const value = 1;\n", + "export const description = '/api/jobs';\n", # A wire type/constant is not transport. +]) +def test_browser_comments_and_types_do_not_become_execution( + tmp_path: Path, source: str, +) -> None: + path = "web/src/types.ts" + write(tmp_path, path, source) + assert scan_consumers(tmp_path, [path]) == () + + +def test_backend_internal_support_is_not_a_new_library_consumer(tmp_path: Path) -> None: + path = "perovskite-sim/backend/jobs.py" + write(tmp_path, path, "from backend.progress import ProgressEvent\n") + assert scan_consumers(tmp_path, [path]) == () + + +def test_p00_umbrella_does_not_cover_a_new_script_or_a_notebook(tmp_path: Path) -> None: + policy = registry(tmp_path) + script = "scripts/old.py" + notebook = "perovskite-sim/notebooks/New.ipynb" + write(tmp_path, script, "import perovskite_sim\n") + write(tmp_path, notebook, json.dumps({"cells": [ + {"cell_type": "code", "source": ["import perovskite_sim\n"]}, + ]})) + policy["consumer_groups"].append({ + "id": "legacy-cli-and-registries", "paths": [script], + "owner": "WS2/WS3", "exit_tasks": ["P09-03"], "inventory_scope": SCRIPT_SCOPE, + }) + old = p00() + old["sources"] = [{"current_path": "scripts/known.py"}, {"current_path": notebook}] + write(tmp_path, "scripts/known.py", "import perovskite_sim\n") + write(tmp_path, "scripts/new.py", "import perovskite_sim\n") + consumers = scan_consumers(tmp_path, [script, notebook, "scripts/known.py", "scripts/new.py"]) + assert registration_violations(tmp_path, policy, old, consumers) == [ + f"unregistered direct legacy consumer: {notebook}", + "unregistered direct legacy consumer: scripts/new.py", + ] + + +@pytest.mark.parametrize("historical_marker", [{}, {"historical": True}, {"status": "historical"}]) +def test_missing_registered_path_requires_explicit_historical_status( + tmp_path: Path, historical_marker: dict[str, Any], +) -> None: + policy = registry(tmp_path) + policy["consumer_groups"].append({ + "id": "retained-old", "paths": ["scripts/gone.py"], "owner": "RS", + "exit_tasks": ["P09-03"], **historical_marker, + }) + errors = registration_violations(tmp_path, policy, p00(), []) + assert errors == ([] if historical_marker else [ + "retained-old: registered path missing: scripts/gone.py", + ]) + + +def test_historical_row_cannot_authorize_a_live_consumer(tmp_path: Path) -> None: + policy = registry(tmp_path) + path = "scripts/reactivated.py" + write(tmp_path, path, "import perovskite_sim\n") + policy["consumer_groups"].append({ + "id": "retired", "paths": [path], "owner": "RS", + "exit_tasks": ["P09-03"], "historical": True, + }) + assert registration_violations(tmp_path, policy, p00(), scan_consumers(tmp_path, [path])) == [ + f"unregistered direct legacy consumer: {path}", + ] + + +@pytest.mark.parametrize("field", ["owner", "exit_tasks"]) +def test_an_incomplete_registration_does_not_authorize_access(tmp_path: Path, field: str) -> None: + policy = registry(tmp_path) + path = "scripts/new.py" + write(tmp_path, path, "import perovskite_sim\n") + group: dict[str, Any] = { + "id": "incomplete", "paths": [path], "owner": "RS", "exit_tasks": ["P09-03"], + } + del group[field] + policy["consumer_groups"].append(group) + errors = registration_violations(tmp_path, policy, p00(), scan_consumers(tmp_path, [path])) + assert errors == [ + "incomplete: missing owner or exit tasks", + f"unregistered direct legacy consumer: {path}", + ] + + +@pytest.mark.parametrize("executor", [ + "perovskite_sim.validation.new:run", "backend.main:run_jv", "other_engine.tasks:run", +]) +def test_new_serialized_refinement_executor_needs_registration( + current: tuple[dict[str, Any], dict[str, Any], tuple[Consumer, ...], dict[str, Any]], + executor: str, +) -> None: + policy, previous, consumers, lanes = current + changed = {**lanes, "new-lane": {"executor": executor}} + assert registration_violations( + ROOT, policy, previous, consumers, changed, + ) == [f"unregistered direct legacy refinement executor: new-lane: {executor}"] + + +@pytest.mark.parametrize("executor", [ + "perovskite_sim.validation.new:run", "backend.main:run_jv", "other_engine.tasks:run", +]) +def test_retargeting_only_a_registered_lane_executor_needs_registration( + current: tuple[dict[str, Any], dict[str, Any], tuple[Consumer, ...], dict[str, Any]], + executor: str, +) -> None: + policy, previous, consumers, lanes = current + name = "scaps-mirror-frozen-ion-ss" + changed = deepcopy(lanes) + changed[name]["executor"] = executor + assert changed == {**lanes, name: {**lanes[name], "executor": executor}} + assert registration_violations(ROOT, policy, previous, consumers, changed) == [ + f"unregistered direct legacy refinement executor: {name}: {executor}", + ] + + +def test_registered_refinement_lane_still_passes( + current: tuple[dict[str, Any], dict[str, Any], tuple[Consumer, ...], dict[str, Any]], +) -> None: + policy, previous, consumers, lanes = current + name = "scaps-mirror-frozen-ion-ss" + assert registration_violations( + ROOT, policy, previous, consumers, {name: lanes[name]}, + ) == [] + + +def test_malformed_notebook_python_is_not_silently_dropped(tmp_path: Path) -> None: + path = "perovskite-sim/notebooks/New.ipynb" + write(tmp_path, path, json.dumps({"cells": [ + {"cell_type": "code", "source": ["import perovskite_sim\n", "if (\n"]}, + ]})) + with pytest.raises(SyntaxError): + scan_consumers(tmp_path, [path]) diff --git a/tests/refactor/test_legacy_execution_context.py b/tests/refactor/test_legacy_execution_context.py new file mode 100644 index 00000000..e10f4616 --- /dev/null +++ b/tests/refactor/test_legacy_execution_context.py @@ -0,0 +1,190 @@ +"""Actual saved inputs and R1 preparation bytes; these checks run no model.""" +from dataclasses import FrozenInstanceError, replace +import hashlib +import json +import os +import subprocess +import sys + +import pytest + +from solarlab.config.legacy_execution import LegacyExecutionContext, R1ExecutionContext, r1_execution_source_requirements +from solarlab.materials.source import SourceDocument +from test_behavior_context import LEGACY, ROOT, context, document +from test_behavior_context import defaults as defaults, resources as resources +from test_behavior_context import scaps as scaps, ion as ion, sources as sources +from test_behavior_context import r1_material_inputs as r1_material_inputs + + +def source(path): + return SourceDocument(str(path.relative_to(ROOT)), path.read_bytes()) + + +@pytest.fixture +def r1(r1_material_inputs): + device, _ = r1_material_inputs + documents = tuple(SourceDocument(name, (LEGACY / name).read_bytes()) for name, _ in r1_execution_source_requirements()) + prepared = source(ROOT / "tests/refactor/fixtures/r1_common_state_preparation.json") + policy = source(ROOT / "tests/refactor/fixtures/r1_execution_policy.json") + assert prepared.sha256 == "94017d880119bb151b22e72118f2668721537ad9eb02186c55dcf07adf5a3d46" + assert policy.sha256 == "82c1d4c1115f0ddd4caa4c9fe2885ba36bd394937b3ec6c9a9a0d488d83b87db" + return R1ExecutionContext( + device=device, input_source=device.sources[0], sources=documents, environment=(), + arguments=document("r1_explicit_short_call", {"intervals": 4, "times_s": [0., 1e-9], "backend": "legacy", "physics_evidence": True}), + reference=source(ROOT / "perovskite-sim/tests/fixtures/OneDimensionalMechanismR1ReferenceBindingV1.json"), + study_input=source(ROOT / "perovskite-sim/reproducibility/OneDimensionalMechanismR1DynamicsInputV1.json"), + prepared=prepared, policy=policy, + ) + + +@pytest.mark.parametrize("driver", ("scaps_transient", "scaps_steady_state")) +def test_original_scaps_input_and_supplied_arguments_are_unchanged(scaps, sources, driver): + behavior = context(scaps, sources, driver=driver) + invocation = LegacyExecutionContext(behavior, scaps.sources[0]) + actual = invocation.export() + assert invocation.input_source.content == scaps.sources[0].content + assert actual["arguments"] == json.loads(behavior.arguments.content) + assert actual["environment"] == behavior.export()["environment_effective_snapshot"] + assert actual["behavior"]["source_inspection"]["optics"]["incoherence"][0]["historical_loader_value"] is False + assert actual["existing_driver_validation_required"] and not actual["scientific_qualification"] + with pytest.raises(ValueError, match="original historical input"): + LegacyExecutionContext(behavior, replace(scaps.sources[0], content=scaps.sources[0].content + b"\n")) + + +def test_waveform_bridge_retains_original_controls_and_full_history(ion, sources): + device, original = ion + behavior = context(device, sources, driver="ion_hysteresis", arguments=original) + raw = next(item for item in device.sources if item.id.endswith("#request.device")) + invocation = LegacyExecutionContext(behavior, raw) + result = invocation.export() + supplied = json.loads(original.content) + assert result["arguments"]["waveform"] == supplied["waveform"] + assert result["arguments"]["rtol"] == supplied["waveform_controls"]["rtol"] + assert result["arguments"]["atol"] == supplied["waveform_controls"]["atol_m3"] + assert invocation.behavior.arguments.content == original.content + assert "solver" not in result["arguments"] and "waveform_controls" not in result["arguments"] + inconsistent = document("inconsistent_control", {**supplied, "rtol": 0.1}) + with pytest.raises(ValueError, match="ambiguous waveform"): + LegacyExecutionContext(context(device, sources, driver="ion_hysteresis", arguments=inconsistent), raw) + + +def test_r1_preserves_the_complete_actual_preparation_reference_policy_and_sources(r1): + record = r1.export() + original = json.loads(r1.prepared.content) + assert record["prepared_sha256"] == original["sha256"] + assert record["history"] == original["history"] + assert record["preparation_created_utc"] == original["created_utc"] + assert record["preparation_environment"] == original["environment"] + assert record["arguments"]["control"] == "D" + assert record["arguments"]["controls"] == {"nu_I": 1, "nu_t": 1} + assert record["arguments"]["nonlinear_factor"] == .1 + assert record["arguments"]["time_substeps"] == [1, 2, 4] + assert record["material_behavior"]["declared_interface_charge_closure"] == "equilibrium_referenced" + assert record["material_behavior"]["material_interface_charge_closure"] == "off" + assert record["existing_reader_and_policy_verification_required"] + assert not record["scientific_qualification"] + + +def test_real_pair_preparation_keeps_all_high_low_words_and_original_seed(r1): + paired = source(ROOT / "tests/refactor/fixtures/r1_pair_common_state_preparation.json") + result = replace(r1, prepared=paired, + arguments=document("pair_call", {**json.loads(r1.arguments.content), "backend": "pair"})) + raw = json.loads(paired.content) + assert result.prepared.content == paired.content + assert result.export()["material_behavior"]["backend_representation"] == "float64-pair-v1" + assert raw["seed_preparation_sha256"] == raw["seed_preparation"]["sha256"] + assert len([key for key in raw["state"] if key.startswith("precision_")]) == 34 + changed = json.loads(paired.content) + changed["state"]["precision_phi_V_lo"].pop() + changed["sha256"] = hashlib.sha256(json.dumps({key: value for key, value in changed.items() if key != "sha256"}, + sort_keys=True, separators=(",", ":")).encode()).hexdigest() + with pytest.raises(ValueError, match="shapes differ"): + replace(result, prepared=document("wrong_pair_shape", changed)) + + +@pytest.mark.parametrize("control,pair", [("A", (0, 0)), ("B", (1, 0)), ("C", (0, 1)), ("D", (1, 1))]) +def test_r1_controls_reuse_exact_common_state_and_keep_inventory(r1, control, pair): + args = {**json.loads(r1.arguments.content), "control": control} + result = replace(r1, arguments=document("control", args)) + assert result.prepared is r1.prepared + assert result.reference is r1.reference + assert result.export()["arguments"]["controls"] == dict(zip(("nu_I", "nu_t"), pair)) + assert result.export()["material_behavior"]["ions"] == r1.export()["material_behavior"]["ions"] + + +def test_contexts_are_deeply_detached_and_do_not_change_environment(r1, scaps, sources): + before = dict(os.environ) + original = r1.content_sha256 + a = replace(r1, environment=(("SOLARLAB_SS_GUMMEL", "0"),)) + b = replace(r1, environment=(("SOLARLAB_SS_GUMMEL", "1"),)) + assert a.export()["environment"]["SOLARLAB_SS_GUMMEL"] == "0" + assert b.export()["environment"]["SOLARLAB_SS_GUMMEL"] == "1" + assert a.prepared is b.prepared + mutable = a.export() + mutable["arguments"]["times_s"].append(1.0) + mutable["prepared"].clear() + assert a.export()["arguments"]["times_s"] == [0., 1e-9] + assert r1.content_sha256 == original + with pytest.raises(FrozenInstanceError): + r1.prepared = r1.policy + old = LegacyExecutionContext(context(scaps, sources), scaps.sources[0]) + value = old.export() + value["arguments"].clear() + assert old.export()["arguments"] + assert dict(os.environ) == before + + +@pytest.mark.parametrize("key,value", [ + ("intervals", True), ("control", "Z"), ("control", False), ("amplitude_V", 0.), + ("amplitude_V", float("nan")), ("times_s", [0., 0.]), ("times_s", [False, 1e-9]), + ("times_s", [0., 1e-13]), ("time_substeps", [1, 2]), ("time_substeps", [1, 2, 5]), + ("nonlinear_factor", .2), ("nonlinear_factor", True), ("physics_evidence", 1), +]) +def test_r1_invalid_protocol_is_refused(r1, key, value): + with pytest.raises(ValueError): + replace(r1, arguments=document("invalid", {**json.loads(r1.arguments.content), key: value})) + + +def test_r1_refuses_changed_source_input_reference_and_backend(r1): + with pytest.raises(ValueError, match="exact R1"): + replace(r1, sources=r1.sources[:-1]) + with pytest.raises(ValueError, match="exact R1"): + replace(r1, sources=(replace(r1.sources[0], content=r1.sources[0].content+b"\n"), *r1.sources[1:])) + with pytest.raises(ValueError, match="original historical input"): + replace(r1, input_source=replace(r1.input_source, content=r1.input_source.content+b"\n")) + changed = json.loads(r1.reference.content) + changed["f_ref"][0] += .01 + with pytest.raises(ValueError, match="hash mismatch"): + replace(r1, reference=document("changed_reference", changed)) + with pytest.raises(ValueError, match="pair|binding mismatch"): + replace(r1, arguments=document("wrong_backend", {**json.loads(r1.arguments.content), "backend": "pair"})) + + +@pytest.mark.parametrize("mutation", ("shape", "bool", "nan", "missing_state", "history", "uncertified", "grid")) +def test_resealed_wrong_state_shapes_and_preparation_claims_are_refused(r1, mutation): + data = json.loads(r1.prepared.content) + if mutation == "shape": + data["state"]["n_m3"].pop() + elif mutation == "bool": + data["state"]["n_m3"][0] = True + elif mutation == "nan": + data["state"]["n_m3"][0] = float("nan") + elif mutation == "missing_state": + del data["state"]["capture_m2_s"] + elif mutation == "history": + data["history"]["voltage_V"] = .1 + elif mutation == "uncertified": + data["preparation_checks"]["certified"] = False + elif mutation == "grid": + data["grid"]["coordinates_m"].pop() + body = {key: value for key, value in data.items() if key != "sha256"} + data["sha256"] = hashlib.sha256(json.dumps(body, sort_keys=True, separators=(",", ":")).encode()).hexdigest() + with pytest.raises(ValueError): + replace(r1, prepared=document("resealed_bad_preparation", data)) + + +def test_clean_import_does_not_load_an_old_engine_or_numerical_solver(tmp_path): + code = "import sys; import solarlab.config.legacy_execution; assert not set(sys.modules) & {'perovskite_sim','scipy','sksundae','flint','solarlab_server'}" + result = subprocess.run([sys.executable, "-I", "-B", "-c", code], cwd=tmp_path, + capture_output=True, text=True, timeout=10) + assert result.returncode == 0, result.stdout + result.stderr diff --git a/tests/refactor/test_legacy_input_migration.py b/tests/refactor/test_legacy_input_migration.py new file mode 100644 index 00000000..52436750 --- /dev/null +++ b/tests/refactor/test_legacy_input_migration.py @@ -0,0 +1,726 @@ +"""Legacy input history and data-only reverse wire/dry-run preparation.""" +from __future__ import annotations + +from decimal import Decimal +import builtins +import hashlib +import json +import math +import os +from pathlib import Path, PurePosixPath +import posixpath +import subprocess + +import pytest + +from solarlab.config.device_import import import_standard_device +from solarlab.config.legacy_defaults import read_legacy_default_catalog +from solarlab.config.legacy_wire import LEGACY_WIRE_VERSION, prepare_legacy_wire +from solarlab.config.legacy_fields import ( + INLINE_LOADER_BINDING, JV_HINT_CONSUMER_BINDINGS, STANDARD_LOADER_BINDING, +) +from solarlab.config.resolve_device import resolve_device +from solarlab.config.schema import export_configuration_schema +from solarlab.config.yaml import load_yaml_mapping +from solarlab.device.inputs import DeviceInput +from solarlab.device.settings import DeviceSettingsInput +from solarlab.experiments.jv.declarations import JVSweepHintsInput, JVInput +from solarlab.experiments.jv.inputs import JVExperimentInput +from solarlab.experiments.jv.preparation import prepare_jv_experiment +from solarlab.materials.resources import ResourceLibrary, ResourceTable +from solarlab.materials.source import SourceDocument + +ROOT = Path(__file__).resolve().parents[2] +LEGACY = ROOT / "perovskite-sim/perovskite_sim" +CASES = { + "tpv": "perovskite-sim/tests/fixtures/configs/tpv_physical_reference.yaml", + "driftfusion": "perovskite-sim/tests/fixtures/configs/driftfusion_benchmark_tmm.yaml", + "ionmonger": "perovskite-sim/tests/fixtures/configs/ionmonger_benchmark_tmm.yaml", + "calado": "perovskite-sim/configs/calado2016_ion_sweep.yaml", +} +DEFAULTS = ("models/parameters.py", "models/device.py", "models/defects.py", "physics/statistics.py", + "physics/band_gap_narrowing.py", "scaps_compat/loader.py", "constants.py", + "twod/microstructure.py", "models/tandem_config.py") + + +@pytest.fixture(scope="module") +def defaults(): + return read_legacy_default_catalog( + tuple(SourceDocument(name, (LEGACY / name).read_bytes()) for name in DEFAULTS), + jv_sources=(SourceDocument("backend/main.py", (ROOT / "perovskite-sim/backend/main.py").read_bytes()), + *(SourceDocument(name, (LEGACY / name).read_bytes()) for name in ( + "experiments/jv_sweep.py", "experiments/waveform_jv.py", + "experiments/dark_jv.py", "experiments/protocol.py")))) + + +@pytest.fixture(scope="module") +def resources(): + return ResourceLibrary(tuple(ResourceTable(p.stem, "nk", SourceDocument(str(p.relative_to(ROOT)), p.read_bytes())) + for p in sorted((LEGACY / "data/nk").glob("*.csv")))) + + +def raw_json(value): + if isinstance(value, Decimal): + return float(value) + if isinstance(value, dict): + return {key: raw_json(item) for key, item in value.items()} + if isinstance(value, (tuple, list)): + return [raw_json(item) for item in value] + return value + + +def source(case, edit=None): + path = ROOT / CASES[case] + data = path.read_bytes() + if edit is not None: + raw = raw_json(load_yaml_mapping(data)) + edit(raw) + data = json.dumps(raw, allow_nan=False).encode() + return SourceDocument(CASES[case], data) + + +def prepared(case, defaults, resources, edit=None): + original = source(case, edit) + input = import_standard_device(original, id=case, defaults=defaults) + return resolve_device(input, defaults, resources, sources=(original,)) + + +def diagnostic(value, code): + return next(item for item in value.to_mapping()["diagnostics"] if item["code"] == code) + + +@pytest.mark.parametrize("case", CASES) +def test_original_four_import_resolve_and_reopen_exact_source(case, defaults, resources): + output = prepared(case, defaults, resources) + assert output.sources[0].content == (ROOT / CASES[case]).read_bytes() + assert output.sources[0].sha256 == hashlib.sha256(output.sources[0].content).hexdigest() + assert not output.can_execute + reopened = resolve_device(output.to_input(), defaults, resources, sources=output.sources) + assert reopened.input_json == output.input_json + assert reopened.content_sha256 == output.content_sha256 + assert reopened.to_mapping() == output.to_mapping() + assert output.to_mapping()["settings"]["T"] == 300 + + +@pytest.mark.parametrize("ignored", [0, -0.0, False, None, "900 K", "not an effective temperature"]) +def test_ignored_temperature_never_becomes_T(ignored, defaults, resources, tmp_path): + from perovskite_sim.models.config_loader import load_device_from_yaml + + output = prepared("tpv", defaults, resources, lambda raw: raw["device"].update(temperature=ignored, T=310)) + historical = tmp_path / "temperature.yaml" + historical.write_bytes(output.sources[0].content) + # This is only the actual data loader, not a material-array or state builder. + assert load_device_from_yaml(str(historical)).T == 310 + record = diagnostic(output, "legacy_standard_ignored_temperature") + assert record["effective_setting_T"] == 310 and record["T_origin"] == "input.settings.T" + assert record["historical_effective"] == "ignored; only device.T is read" + value = output.to_input().legacy_fields.temperature + assert type(value) is type(ignored) and value == ignored + if type(ignored) is float: + assert value.hex() == ignored.hex() + assert "temperature" not in output.to_mapping()["settings"] + assert record["source_binding"]["bytes_supplied"] + + +def test_temperature_omission_and_effective_T_validation_remain_distinct(defaults, resources): + value = prepared("tpv", defaults, resources) + assert "T" not in value.to_input().settings.editing_data() + assert diagnostic(value, "legacy_standard_ignored_temperature")["T_origin"] == "default_catalog.device.T" + omitted = prepared("tpv", defaults, resources, lambda raw: raw["device"].pop("temperature")) + assert "legacy_fields" not in omitted.to_input().editing_data() + assert omitted.to_mapping()["settings"] == value.to_mapping()["settings"] + for invalid in (0, None, "300 s"): + with pytest.raises(ValueError): + prepared("tpv", defaults, resources, lambda raw: raw["device"].update(T=invalid)) + with pytest.raises(ValueError, match="temperature"): + DeviceSettingsInput.model_validate({"temperature": 300}) + with pytest.raises(ValueError, match="source_sha256"): + resolve_device(value.to_input(), defaults, resources, + sources=(SourceDocument(value.sources[0].id, value.sources[0].content + b"\n"),)) + tampered = value.to_input() + tampered.legacy_fields.temperature = 999 + with pytest.raises(ValueError, match="original source bytes"): + resolve_device(tampered, defaults, resources, sources=value.sources) + altered = value.to_input().editing_data() + altered["legacy_fields"]["schema_version"] = "corrected-temperature-alias" + with pytest.raises(ValueError, match="schema_version"): + DeviceInput.model_validate(altered) + + +@pytest.mark.parametrize("case,magnitude", [("driftfusion", 1000), ("ionmonger", 300000)]) +def test_tmm_slots_follow_full_raw_layers_and_actual_loader(case, magnitude, defaults, resources): + from perovskite_sim.models.config_loader import load_device_from_yaml + from perovskite_sim.models.device import electrical_interfaces + + output = prepared(case, defaults, resources) + old = load_device_from_yaml(str(ROOT / CASES[case])) + expected = ((magnitude, .1), (.1, magnitude), (0., 0.)) + assert old.interfaces == expected + assert electrical_interfaces(old) == expected[1:] + assert len(output.layers) == 4 and output.layers[0].role == "substrate" + rows = [interface.to_mapping() for interface in output.interfaces] + assert [(row["v_n"], row["v_p"]) for row in rows] == list(expected) + assert [row["electrical"] for row in rows] == [False, True, True] + assert [(row["left"], row["right"]) for row in rows] == [("layer_0", "layer_1"), ("layer_1", "layer_2"), ("layer_2", "layer_3")] + assert output.to_mapping()["contacts"][0]["layer"] == "layer_1" + note = diagnostic(output, "legacy_standard_interface_layout") + assert len(note["declared"]["interfaces"]) == 2 + assert note["historical_effective"][-1]["origin"] == "legacy_trailing_zero_padding" + # An explicit canonical edit does not rewrite the original raw list history. + input = output.to_input() + input.interfaces[1].v_n = "2 cm/s" + changed = resolve_device(input, defaults, resources, sources=output.sources) + assert changed.interfaces[1].values["v_n"] == .02 + assert changed.to_input().legacy_fields == output.to_input().legacy_fields + + +@pytest.mark.parametrize("declaration", [None, [], [[0, -0.0]], [["2 cm/s", "0 m/s"]]]) +def test_short_pairs_null_empty_zero_units_remain_declared(declaration, defaults, resources): + output = prepared("driftfusion", defaults, resources, lambda raw: raw["device"].update(interfaces=declaration)) + retained = json.loads(output.input_json)["legacy_fields"]["interfaces"] + assert retained == declaration + assert type(retained) is type(declaration) + if declaration and declaration[0] == [0, -0.0]: + assert math.copysign(1, retained[0][1]) == -1 + if declaration: + assert output.interfaces[-1].values["v_n"] == 0 + assert output.interfaces[0].values["v_n"] == (.02 if declaration == [["2 cm/s", "0 m/s"]] else 0) + else: + assert all("v_n" not in interface.values for interface in output.interfaces) + note = diagnostic(output, "legacy_standard_interface_layout") + assert note["historical_effective"] == [] and note["historical_return_shape"] == "empty_tuples" + + +@pytest.mark.parametrize("invalid", [[[1]], [[False, 0]], [["1 s", 0]], [[1, 2]] * 4]) +def test_malformed_or_unused_interface_input_rejects_without_reindexing(invalid, defaults, resources): + with pytest.raises(ValueError): + prepared("driftfusion", defaults, resources, lambda raw: raw["device"].update(interfaces=invalid)) + + +def test_short_pairs_and_defect_override_retain_independent_raw_slots(defaults, resources, tmp_path): + from perovskite_sim.models.config_loader import load_device_from_yaml + + def edit(raw): + raw["device"]["interfaces"] = [[4, 5]] + raw["device"]["interface_defects"] = [None, dict( + sigma_n_cm2=1e-15, sigma_p_cm2=2e-15, v_th_cm_s=1e7, + N_t_cm2=1e10, E_t_eV_below_cb=.4)] + output = prepared("tpv", defaults, resources, edit) + path = tmp_path / "defect.yaml" + path.write_bytes(output.sources[0].content) + old = load_device_from_yaml(str(path)) + assert old.interfaces[0] == (4, 5) + assert old.interfaces[1] == pytest.approx((1, 2)) + assert output.interfaces[0].values["v_n"] == 4 + # The canonical declaration retains both authorities and labels precedence; + # it never overwrites the original bare-pair history with capture values. + assert output.interfaces[1].values["v_n"] == 0 + assert output.interfaces[1].values["microscopic_capture_velocities_m_s"] == pytest.approx((1, 2)) + note = diagnostic(output, "legacy_standard_interface_layout") + assert note["declared"]["interface_defect_count"] == 2 + assert note["historical_effective"][1]["pair_before_defect_override"] == [0, 0] + + +@pytest.mark.parametrize("path", [ + "dynamic_interface_defect_ion_transient.yaml", + "dynamic_interface_defect_ion_transient_absorber_only.yaml", + "interface_charge_jv_research.yaml", "interface_charge_research.yaml", + "solarscale_nip_band_aligned_iface.yaml", "twod/combined_mobile_interface_research.yaml", +]) +def test_full_defect_inventory_preserves_bare_pair_omission(path, defaults, resources): + file = ROOT / "perovskite-sim/tests/fixtures/configs" / path + source = SourceDocument(str(file.relative_to(ROOT)), file.read_bytes()) + raw = load_yaml_mapping(source.content) + assert "interfaces" not in raw["device"] + assert len(raw["device"]["interface_defects"]) == len(raw["layers"]) - 1 + input = import_standard_device(source, id="full_defects", defaults=defaults) + value = resolve_device(input, defaults, resources, sources=(source,)) + assert all(not {"v_n", "v_p"} & row.model_fields_set for row in value.to_input().interfaces) + assert all("v_n" not in row.values and "v_p" not in row.values for row in value.interfaces) + original_capture = value.interfaces[0].values.get("microscopic_capture_velocities_m_s") + identities = {value.content_sha256} + for declared in (0, None): + edited = value.to_input() + edited.interfaces[0].v_n = declared + edited.interfaces[0].v_p = declared + prepared = resolve_device(edited, defaults, resources, sources=(source,)) + assert {"v_n", "v_p"} <= prepared.to_input().interfaces[0].model_fields_set + assert prepared.interfaces[0].values["v_n"] == declared + assert prepared.interfaces[0].values.get("microscopic_capture_velocities_m_s") == original_capture + identities.add(prepared.content_sha256) + assert len(identities) == 3 # Omission, explicit zero and clearing stay distinct. + + +def test_complete_calado_history_is_advisory_until_explicit_composition(defaults, resources): + device = prepared("calado", defaults, resources) + raw = load_yaml_mapping(device.sources[0].content)["simulation_hints"]["jv_sweep"] + hints = device.to_input().simulation_hints.jv_sweep + assert json.loads(device.input_json)["simulation_hints"]["jv_sweep"] == raw_json(raw) + assert diagnostic(device, "legacy_jv_sweep_advisory")["implicit_experiment_created"] is False + assert diagnostic(device, "legacy_jv_sweep_advisory")["physical_state_created"] is False + def experiment(fields): + return prepare_jv_experiment(JVExperimentInput.model_validate({ + "schema_version": "solarlab.experiment-preparation.v1", "id": "calado_history", + "device": device.to_input().editing_data(), "experiment": {"kind": "jv", **fields}, + }), defaults, resources, sources=device.sources) + ordinary = experiment({"n_points": 4, "V_max": 1.0}).to_mapping()["experiment"] + assert ordinary["controls"]["n_points"] == 4 and ordinary["waveform"] is None + assert ordinary["history_kind"] == "staircase_forward_reverse" + explicit = experiment(hints.editing_data()) + values = explicit.to_mapping()["experiment"] + assert values["controls"]["N_grid"] == 60 and values["controls"]["n_points"] == 111 + assert values["controls"]["v_rate"] == .04 and values["controls"]["V_max"] == 1.2 + assert values["numerical_controls"] == {"rtol": .0001, "atol_m3": 1.0} + assert defaults.experiment_defaults_for("jv_waveform_controls")["atol_m3"] == 100 + protocol = values["protocol"]["declaration"] + assert [row["phase"] for row in protocol["illumination_history"]] == [ + "dark_seed_at_0V", "dark_prebias_at_scan_start", "forward_start_dwell", + "forward_continuous_ramp", "turnaround_at_scan_stop", "reverse_start_dwell", "reverse_continuous_ramp"] + assert [row["duration_s"] for row in protocol["illumination_history"]] == pytest.approx([120, 30, .5, 55, 3, .5, 55]) + assert [row["condition"] for row in protocol["illumination_history"]] == ["dark", "dark", "baseline", "baseline", "dark", "baseline", "baseline"] + samples = protocol["sampling"]["values"] + assert len(samples) == 222 and samples[:111] == list(reversed(samples[111:])) + assert samples[0] == -1 and samples[110] == 1.2 + assert values["waveform"]["uniform_generation_rate_m3_s"] == 2.5e27 + assert values["state_history"]["continuation"] == "one_state_through_forward_turnaround_reverse" + assert values["state_history"]["generated"] is False and not explicit.can_execute + reopened = prepare_jv_experiment(explicit.to_input(), defaults, resources, sources=device.sources) + assert reopened.input_json == explicit.input_json and reopened.content_sha256 == explicit.content_sha256 + + +def test_hint_units_zero_null_omission_and_ion_inventory_are_independent(defaults, resources): + def edit(raw): + hints = raw["simulation_hints"]["jv_sweep"] + hints["v_rate"] = "40 mV/s" + hints["waveform"].update(dark_seed_s=0, dark_prep_s=-0.0, turnaround_s="0 s", + turnaround_dark=False, uniform_generation_rate_m3_s=0) + raw["layers"][1]["D_ion"] = 0 + output = prepared("calado", defaults, resources, edit) + hints = output.to_input().simulation_hints.jv_sweep + assert hints.editing_data()["v_rate"] == "40 mV/s" + assert hints.normalized_data()["v_rate"] == .04 + assert hints.waveform.dark_seed_s == 0 and math.copysign(1, hints.waveform.dark_prep_s) == -1 + assert hints.waveform.turnaround_dark is False and hints.waveform.uniform_generation_rate_m3_s == 0 + assert dict(output.layers[1].parameters)["D_ion"] == 0 + assert dict(output.layers[1].parameters)["P0"] == 1e25 + depleted = prepared("calado", defaults, resources, lambda raw: raw["layers"][1].update(P0=0)) + assert dict(depleted.layers[1].parameters)["D_ion"] == 2.585e-18 + assert dict(depleted.layers[1].parameters)["P0"] == 0 + assert JVSweepHintsInput.model_validate({}).editing_data() == {} + null = JVSweepHintsInput.model_validate({"waveform": None, "waveform_controls": None, "V_max": None}) + assert null.editing_data() == {"waveform": None, "waveform_controls": None, "V_max": None} + unit_null = hints.waveform.validated_update({"uniform_generation_rate_m3_s": None}) + assert unit_null.editing_data()["uniform_generation_rate_m3_s"] is None + + +@pytest.mark.parametrize("path,value", [(("v_rate",), 0), (("v_rate",), "1 K"), (("N_grid",), False), + (("waveform", "dark_seed_s"), -1), (("waveform", "turnaround_dark"), 0), + (("waveform", "schema_version"), True), (("waveform_controls", "atol_m3"), 0), + (("unknown_evidence",), "retain by error, never silently delete")]) +def test_invalid_history_fields_are_reported_without_default_repair(path, value, defaults, resources): + def edit(raw): + target = raw["simulation_hints"]["jv_sweep"] + for key in path[:-1]: + target = target[key] + target[path[-1]] = value + original = source("calado", edit) + snapshot = original.content + with pytest.raises(ValueError, match=path[-1]): + import_standard_device(original, id="invalid", defaults=defaults) + assert original.content == snapshot + + +def test_source_bindings_and_generated_hints_metadata_have_actual_authorities(): + for binding in (STANDARD_LOADER_BINDING, INLINE_LOADER_BINDING, *JV_HINT_CONSUMER_BINDINGS): + assert hashlib.sha256((ROOT / binding["path"]).read_bytes()).hexdigest() == binding["sha256"] + device = export_configuration_schema()["dto_schemas"]["DeviceInput"]["schema"] + fields = device["$defs"]["JVSweepHintsInput"]["properties"] + assert fields["v_rate"] == JVInput.model_json_schema()["properties"]["v_rate"] + assert fields["v_rate"]["unit"] == "V/s" + assert "kind" not in fields and "request_api" not in fields + assert "temperature" not in device["$defs"]["DeviceSettingsInput"]["properties"] + assert device["$defs"]["LegacyDeviceFieldsInput"]["properties"]["schema_version"]["const"] == "solarlab.standard-loader-fields.v1" + + +@pytest.fixture +def wire_guard(monkeypatch): + """Only new data-only tests use this guard; old loader tests stay intact.""" + original = builtins.__import__ + def guarded(name, *args, **kwargs): + assert not name.startswith(("perovskite_sim", "backend", "scipy", "sksundae")), name + return original(name, *args, **kwargs) + monkeypatch.setattr(builtins, "__import__", guarded) + + +@pytest.fixture(scope="module") +def wire_catalog(): + from solarlab.reproducibility.preparation import prepare_configuration, read_preparation_context + from solarlab.reproducibility.registry import RegistryDocument, load_registry, mapping + from solarlab.reproducibility.sources import SourceSet, read_sources + path = ROOT / "reproducibility/ConfigBenchmarkMatrixV2.yaml" + matrix_source = SourceDocument(str(path.relative_to(ROOT)), path.read_bytes()) + specification = RegistryDocument.model_validate(mapping(matrix_source)) + documentary_path = "tests/refactor/test_legacy_input_migration.py" + historical, = (ref for ref in specification.sources if ref.path == documentary_path) + # This ONE source is documentary input, selected before unchanged SHA + # verification. Matching current bytes also work in shallow CI checkouts; + # development edits use the explicitly declared historical Git object. + blob = (ROOT / historical.path).read_bytes() + if hashlib.sha256(blob).hexdigest() != historical.sha256: + blob = subprocess.run(["git", "show", historical.source_commit + ":" + historical.path], + cwd=ROOT, capture_output=True, check=True, timeout=5).stdout + current = read_sources(ROOT, tuple(ref for ref in specification.sources if ref != historical)) + bundle = SourceSet(specification.sources, (*current.documents, SourceDocument(historical.id, blob))) + matrix = load_registry(matrix_source, bundle.documents) + catalog, tables = read_preparation_context(matrix) + cases = [] + for entry in matrix.spec.entries: + if entry.section != "configs": + continue + prepared = prepare_configuration(matrix, entry.id, defaults=catalog, resources=tables).prepared + assert prepared is not None and not prepared.can_execute + original = matrix.sources.at_path(matrix.spec.original_path_root + "/" + entry.original_key) + references = {} + if prepared.to_input().schema_version == "solarlab.tandem-preparation.v1": + parent = PurePosixPath(matrix.sources.reference(original.id).path).parent + raw = load_yaml_mapping(original.content) + for side in ("top_cell", "bottom_cell"): + ref = raw["tandem"][side] + references[ref] = matrix.sources.at_path(posixpath.normpath(str(parent / ref))) + cases.append((entry.original_key, prepared, original, references)) + return catalog, cases + + +def test_wire_all_55_catalog_sources_roundtrip_without_changing_originals(wire_catalog, wire_guard, record_property): + from solarlab.config.scaps_input import import_scaps_device + from solarlab.config.tandem_input import import_tandem + catalog, cases = wire_catalog + assert len(cases) == 55 + formats = {} + environment = dict(os.environ) + def public_data(value): + data = value.normalized_data() + if isinstance(value, DeviceInput): + if value.legacy_fields is not None: + # Original wire bytes are checked above. Retained evidence uses + # its established JSON serializer across preparation/reopen. + data["legacy_fields"] = value.legacy_fields.model_dump(mode="json", exclude_unset=True) + else: + for side in ("top_cell", "bottom_cell"): + data[side] = public_data(getattr(value, side)) + return data + for name, prepared, original, references in cases: + declaration = prepared.to_input() + snapshot = declaration.model_dump_json(exclude_unset=True) + result = prepare_legacy_wire(declaration, source=original, defaults=catalog, references=references) + assert result.supported, (name, result.export()["unsupported"]) + assert result.document.content == original.content, (name, result.export()["differences"][:8], result.export()["wire_differences"][:8]) + assert result.original_sources[0] == original and not result.can_execute + assert declaration.model_dump_json(exclude_unset=True) == snapshot + if declaration.schema_version == "solarlab.tandem-preparation.v1": + assert dict(result.references) == references + reopened = import_tandem(result.document, id=declaration.id, references=dict(result.references), defaults=catalog) + kind = "tandem" + else: + importer = import_standard_device if declaration.source_format == "standard" else import_scaps_device + reopened = importer(result.document, id=declaration.id, defaults=catalog) + kind = declaration.source_format + assert public_data(reopened) == public_data(declaration) + report = result.export() + assert report["schema"] == LEGACY_WIRE_VERSION and report["strict_roundtrip_passed"] + assert report["default_catalog_sha256"] == catalog.content_sha256 + assert report["differences"] == [] and report["wire_differences"] == [] + assert report["behavior"]["binding"] == "not_supplied" + formats[kind] = formats.get(kind, 0) + 1 + assert dict(os.environ) == environment + record_property("source_catalog_roundtrips", len(cases)) + record_property("wire_formats", json.dumps(formats, sort_keys=True)) + + +def test_wire_material_device_ion_units_presence_and_inheritance_edits(defaults, wire_guard): + original = source("calado") + declaration = import_standard_device(original, id="wire_edit", defaults=defaults) + before = original.content + declaration.layers[1].parameters.mu_n = "3 cm^2/(V s)" + declaration.layers[1].parameters.D_ion = -0.0 + declaration.layers[1].parameters.P0 = 0 + declaration.layers[1].parameters.optical_material = None + declaration.layers[1].parameters.incoherent = False + declaration.layers[1].thickness = "750 nm" + parameters = declaration.layers[1].parameters.editing_data() + parameters.pop("mu_p", None) + declaration.layers[1].parameters = type(declaration.layers[1].parameters).model_validate(parameters) + declaration.settings.phi_left = "-0 V" + declaration.settings.T = "315 K" + declaration.settings.dos_band_potentials = False + snapshot = declaration.model_dump_json(exclude_unset=True) + environment = dict(os.environ) + result = prepare_legacy_wire(declaration, source=original, defaults=defaults) + assert result.supported, result.export()["unsupported"] + raw = load_yaml_mapping(result.document.content) + assert raw["layers"][1]["mu_n"] == Decimal("0.0003") + assert raw["layers"][1]["thickness"] == Decimal("7.5e-7") + assert raw["layers"][1]["D_ion"].is_signed() and raw["layers"][1]["D_ion"] == 0 + assert raw["layers"][1]["P0"] == 0 and not raw["layers"][1]["P0"].is_signed() + assert raw["layers"][1]["optical_material"] is None and raw["layers"][1]["incoherent"] is False + assert "mu_p" not in raw["layers"][1] + assert raw["device"]["T"] == 315 and raw["device"]["phi_left"].is_signed() + assert raw["device"]["dos_band_potentials"] is False + assert result.document.content != before and original.content == before + assert declaration.model_dump_json(exclude_unset=True) == snapshot and dict(os.environ) == environment + report = result.export() + assert "mu_p" in report["inheritance"][declaration.id]["undeclared_layer_parameters"][declaration.layers[1].id] + assert report["differences"] and report["wire_differences"] + report["differences"].clear() + assert result.export()["differences"] # Detached report mutation cannot alter the result. + + # Quantity vectors also cross the editing/prepared JSON boundary. A real + # vector edit must reach the wire after unchanged vectors retain their bytes. + path = ROOT / "perovskite-sim/tests/fixtures/configs/scaps_defect_m1_double_donor_p.yaml" + vector_source = SourceDocument(str(path.relative_to(ROOT)), path.read_bytes()) + vector_input = import_standard_device(vector_source, id="wire_vector", defaults=defaults) + energy = vector_input.layers[0].bulk_defects[0].configuration.energy_levels + energy.correlation_energies_eV = ("0.2 eV",) + vector_result = prepare_legacy_wire(vector_input, source=vector_source, defaults=defaults) + assert vector_result.supported, vector_result.export()["unsupported"] + emitted = load_yaml_mapping(vector_result.document.content)["layers"][0]["bulk_defects"][0] + assert emitted["configuration"]["energy_levels"]["correlation_energies_eV"] == [Decimal("0.2")] + original_vector = load_yaml_mapping(vector_source.content)["layers"][0]["bulk_defects"][0] + assert original_vector["configuration"]["energy_levels"]["correlation_energies_eV"] == [Decimal("0.15")] + + +@pytest.mark.parametrize("ignored", [0, -0.0, False, None, "not a temperature"]) +def test_wire_ignored_temperature_keeps_raw_type_and_word(ignored, defaults, wire_guard): + original = source("tpv", lambda raw: raw["device"].update(temperature=ignored)) + declaration = import_standard_device(original, id="wire_temperature", defaults=defaults) + declaration.settings.T = "310 K" + result = prepare_legacy_wire(declaration, source=original, defaults=defaults) + assert result.supported, result.export()["unsupported"] + raw = load_yaml_mapping(result.document.content) + if type(ignored) is float: + assert float(raw["device"]["temperature"]).hex() == ignored.hex() + else: + assert type(raw["device"]["temperature"]) is type(ignored) + assert raw["device"]["temperature"] == ignored + assert raw["device"]["T"] == 310 + assert result.export()["retained_legacy_evidence"]["source_sha256"] == original.sha256 + assert result.original_sources[0].content == original.content + + +@pytest.mark.parametrize("case", ["driftfusion", "ionmonger"]) +def test_wire_interface_edit_preserves_substrate_slot_and_original_short_list(case, defaults, wire_guard): + original = source(case) + declaration = import_standard_device(original, id="wire_interfaces", defaults=defaults) + retained = declaration.legacy_fields.model_dump(mode="json", exclude_unset=True) + original_pairs = load_yaml_mapping(original.content)["device"]["interfaces"] + declaration.interfaces[1].v_n = "2 cm/s" + declaration.interfaces[1].v_p = -0.0 + result = prepare_legacy_wire(declaration, source=original, defaults=defaults) + assert result.supported, result.export()["unsupported"] + raw = load_yaml_mapping(result.document.content) + assert len(raw["device"]["interfaces"]) == len(original_pairs) == 2 + assert raw["device"]["interfaces"][0] == original_pairs[0] + assert raw["device"]["interfaces"][1][0] == Decimal("0.02") + assert raw["device"]["interfaces"][1][1].is_signed() + assert declaration.legacy_fields.model_dump(mode="json", exclude_unset=True) == retained + reopened = import_standard_device(result.document, id=declaration.id, defaults=defaults) + assert reopened.interfaces[0].left == declaration.layers[0].id + assert reopened.interfaces[-1].v_n == 0 # Original full-layer trailing padding. + + +def test_wire_contact_aliases_and_manual_potential_edits(defaults, wire_guard): + def setup(raw): + raw["device"].pop("V_bi", None) + raw["device"]["built_in_potential_mode"] = "legacy_manual" + raw["device"]["V_bi_override"] = .5 + raw["device"]["S_n_left"] = 4 + raw["device"]["contacts"] = {"left": {"S_n": 4}} + original = source("tpv", setup) + declaration = import_standard_device(original, id="wire_aliases", defaults=defaults) + declaration.settings.V_bi = "600 mV" + declaration.contacts[0].S_n = None + declaration.contacts[1].S_p = 0 + result = prepare_legacy_wire(declaration, source=original, defaults=defaults) + assert result.supported, result.export()["unsupported"] + dev = load_yaml_mapping(result.document.content)["device"] + assert dev["V_bi_override"] == Decimal("0.6") and "V_bi" not in dev + assert dev["S_n_left"] is None and dev["contacts"]["left"]["S_n"] is None + assert dev["S_p_right"] == 0 + + +def test_wire_interface_defect_edit_keeps_independent_bare_pair(defaults, wire_guard): + def setup(raw): + raw["device"]["interfaces"] = [[4, 5]] + raw["device"]["interface_defects"] = [None, { + "sigma_n_cm2": 1e-15, "sigma_p_cm2": 2e-15, "v_th_cm_s": 1e7, + "N_t_cm2": 1e10, "E_t_eV_below_cb": .4}] + original = source("tpv", setup) + declaration = import_standard_device(original, id="wire_defect", defaults=defaults) + declaration.interfaces[1].defect.kinetics.sigma_n_m2 = "2e-15 cm^2" + result = prepare_legacy_wire(declaration, source=original, defaults=defaults) + assert result.supported, result.export()["unsupported"] + raw = load_yaml_mapping(result.document.content)["device"] + assert raw["interfaces"] == [[4, 5]] and raw["interface_defects"][0] is None + assert raw["interface_defects"][1]["sigma_n_cm2"] == Decimal("2e-15") + reopened = import_standard_device(result.document, id=declaration.id, defaults=defaults) + assert reopened.interfaces[1].defect.kinetics.normalized_data()["sigma_n_m2"] == 2e-19 + declaration.interfaces[1].defect.kinetics.thermal_velocity_p_m_s = "2e7 cm/s" + rejected = prepare_legacy_wire(declaration, source=original, defaults=defaults) + assert not rejected.supported + assert rejected.export()["unsupported"][0]["code"] == "single_thermal_velocity" + + +def test_wire_scaps_unit_and_signed_zero_edits_report_existing_normalization(defaults, wire_guard): + from solarlab.config.scaps_input import import_scaps_device + path = ROOT / "perovskite-sim/configs/scaps_mirror_v2.yaml" + original = SourceDocument(str(path.relative_to(ROOT)), path.read_bytes()) + declaration = import_scaps_device(original, id="wire_scaps", defaults=defaults) + declaration.layers[2].parameters.mu_n = "3 cm^2/(V s)" + declaration.layers[2].parameters.D_ion = -0.0 + declaration.layers[2].thickness = "500 nm" + result = prepare_legacy_wire(declaration, source=original, defaults=defaults) + assert result.supported, result.export()["unsupported"] + raw = load_yaml_mapping(result.document.content) + assert raw["layers"][2]["mu_n_cm2"] == 3 and raw["layers"][2]["thickness_nm"] == 500 + assert raw["layers"][2]["D_ion_m2_s"].is_signed() + reopened = import_scaps_device(result.document, id=declaration.id, defaults=defaults) + assert reopened.layers[2].parameters.mu_n == .0003 + assert math.copysign(1, reopened.layers[2].parameters.D_ion) == 1 + assert any(row["path"].endswith("parameters.D_ion") for row in result.export()["existing_import_normalization"]) + + +def test_wire_protocol_hints_retain_complete_history_and_explicit_values(defaults, wire_guard): + original = source("calado") + declaration = import_standard_device(original, id="wire_protocol", defaults=defaults) + hints = declaration.simulation_hints.jv_sweep + hints.v_rate = "20 mV/s" + hints.waveform.dark_seed_s = 0 + hints.waveform.dark_prep_s = -0.0 + hints.waveform.turnaround_dark = False + hints.waveform.uniform_generation_rate_m3_s = None + result = prepare_legacy_wire(declaration, source=original, defaults=defaults) + assert result.supported, result.export()["unsupported"] + raw = load_yaml_mapping(result.document.content)["simulation_hints"]["jv_sweep"] + assert raw["n_points"] == 111 and raw["v_rate"] == Decimal("0.02") + assert raw["waveform"]["dark_seed_s"] == 0 + assert raw["waveform"]["dark_prep_s"].is_signed() + assert raw["waveform"]["turnaround_dark"] is False + assert raw["waveform"]["uniform_generation_rate_m3_s"] is None + original_hints = load_yaml_mapping(original.content)["simulation_hints"]["jv_sweep"] + assert raw["waveform"]["turnaround_s"] == original_hints["waveform"]["turnaround_s"] + assert raw["waveform_controls"] == original_hints["waveform_controls"] + assert not result.can_execute + + +def test_wire_tandem_edit_reaches_referenced_document(wire_catalog, wire_guard): + from solarlab.config.tandem_input import import_tandem + catalog, cases = wire_catalog + _, prepared, original, references = next(row for row in cases if row[1].to_input().schema_version == "solarlab.tandem-preparation.v1") + declaration = prepared.to_input() + declaration.top_cell.layers[1].parameters.D_ion = 0 + declaration.top_cell.layers[1].thickness = "900 nm" + result = prepare_legacy_wire(declaration, source=original, defaults=catalog, references=references) + assert result.supported, result.export()["unsupported"] + emitted = dict(result.references) + assert emitted[declaration.top_cell_reference].content != references[declaration.top_cell_reference].content + assert emitted[declaration.bottom_cell_reference] == references[declaration.bottom_cell_reference] + reopened = import_tandem(result.document, id=declaration.id, references=emitted, defaults=catalog) + assert reopened.top_cell.layers[1].parameters.D_ion == 0 + assert reopened.top_cell.layers[1].normalized_data()["thickness"] == 9e-7 + assert result.export()["reference_differences"][declaration.top_cell_reference] + + +def test_wire_canonical_flat_input_uses_strict_source_family(defaults, wire_guard): + original = source("calado") + declaration = import_standard_device(original, id="wire_canonical", defaults=defaults) + declaration.source_format = "canonical" + declaration.layers[1].parameters.D_ion = 0 + result = prepare_legacy_wire(declaration, source=original, defaults=defaults) + assert result.supported, result.export()["unsupported"] + assert result.export()["source_format_mapping"]["declared"] == "canonical" + assert result.export()["source_format_mapping"]["wire"] == "standard" + assert load_yaml_mapping(result.document.content)["layers"][1]["D_ion"] == 0 + + +def test_wire_shared_tandem_reference_cannot_flatten_distinct_instances(wire_catalog, wire_guard): + from solarlab.config.tandem_input import import_tandem + catalog, cases = wire_catalog + _, prepared, original, references = next(row for row in cases if row[1].to_input().schema_version == "solarlab.tandem-preparation.v1") + raw = raw_json(load_yaml_mapping(original.content)) + raw["tandem"]["bottom_cell"] = raw["tandem"]["top_cell"] + shared_source = SourceDocument("shared-tandem-reference", json.dumps(raw).encode()) + declaration = import_tandem(shared_source, id="shared_tandem", references=references, defaults=catalog) + declaration.top_cell.layers[1].parameters.mu_n = "17 cm^2/(V s)" + result = prepare_legacy_wire(declaration, source=shared_source, references=references, defaults=catalog) + assert not result.supported and result.references == () + assert result.export()["unsupported"][0]["code"] == "shared_reference_conflict" + + +@pytest.mark.parametrize("change,code", [ + ("named_material", "material_inheritance"), ("extra_layer", "source_topology_changed"), + ("reindexed_interface", "interface_identity"), ("unpaired_velocity", "velocity_pair_representation"), + ("spectrum", "roundtrip_loss"), ("retained_temperature", "retained_evidence_changed"), + ("grid", "grid_layer_identity"), +]) +def test_wire_rejects_unrepresentable_edits_with_concrete_differences(change, code, defaults, wire_guard): + from solarlab.device.inputs import GridLayerInput, NamedMaterialInput + original = source("tpv") + declaration = import_standard_device(original, id="wire_reject", defaults=defaults) + if change == "named_material": + declaration.materials = (NamedMaterialInput.model_validate({"id": "shared", "name": "Shared", "parameters": {"mu_n": 0}}),) + declaration.layers[1].material = "shared" + elif change == "extra_layer": + declaration.layers = (*declaration.layers, declaration.layers[-1].validated_update({"id": "extra"})) + elif change == "reindexed_interface": + declaration.interfaces[0].left = declaration.layers[-1].id + elif change == "unpaired_velocity": + declaration.interfaces[0].v_n = None + elif change == "spectrum": + declaration.spectrum = "unencoded-external-spectrum" + elif change == "grid": + declaration.electrical_grid = (GridLayerInput.model_validate({"layer": "unknown", "interval_weight": 1, "alpha": 1}),) + else: + declaration.legacy_fields.temperature = 999 + result = prepare_legacy_wire(declaration, source=original, defaults=defaults) + assert not result.supported and result.document is None and result.references == () + assert result.export()["unsupported"][0]["code"] == code + assert result.export()["differences"] and result.original_sources[0] == original + + +def test_wire_scaps_rejects_missing_negative_ion_field(defaults, wire_guard): + from solarlab.config.scaps_input import import_scaps_device + path = ROOT / "perovskite-sim/configs/scaps_mirror_v2.yaml" + original = SourceDocument(str(path.relative_to(ROOT)), path.read_bytes()) + declaration = import_scaps_device(original, id="wire_scaps_gap", defaults=defaults) + declaration.layers[2].parameters.D_ion_neg = 1e-18 + result = prepare_legacy_wire(declaration, source=original, defaults=defaults) + assert not result.supported + assert result.export()["unsupported"][0]["code"] == "scaps_parameter_not_encodable" + assert result.export()["unsupported"][0]["path"].endswith("parameters.D_ion_neg") + + +def test_wire_behavior_context_stays_source_bound_and_never_mutates_environment(defaults, resources, wire_guard): + from solarlab.config.behavior import behavior_source_requirements + from solarlab.config.scaps_input import import_scaps_device + from test_behavior_context import context + path = ROOT / "perovskite-sim/configs/scaps_mirror_v2.yaml" + original = SourceDocument(str(path.relative_to(ROOT)), path.read_bytes()) + declaration = import_scaps_device(original, id="wire_behavior", defaults=defaults) + device = resolve_device(declaration, defaults, resources, sources=(original,)) + sources = tuple(SourceDocument(name, (LEGACY / name).read_bytes()) for name, _ in behavior_source_requirements()) + historical = context(device, sources, environment=(("SOLARLAB_DOS_BAND", "0"), ("PEROVSKITE_RHS_FINITE_CHECK", "1"))) + before, environment = historical.export(), dict(os.environ) + result = prepare_legacy_wire(declaration, source=original, defaults=defaults, behavior=historical) + assert result.supported, result.export()["unsupported"] + assert result.export()["behavior"]["context"] == before + assert result.export()["behavior"]["binding"] == "edited_declaration" + assert result.export()["behavior"]["selected_models_encoded_as_legacy_controls"] is False + declaration.settings.Phi = 0 + changed = prepare_legacy_wire(declaration, source=original, defaults=defaults, behavior=historical) + assert changed.supported, changed.export()["unsupported"] + assert changed.export()["behavior"]["binding"] == "original_only_requires_reinspection" + assert changed.export()["unsupported_execution"] and not changed.can_execute + assert historical.export() == before and dict(os.environ) == environment + wrong_source = SourceDocument(original.id, original.content + b"\n") + wrong = prepare_legacy_wire(declaration, source=wrong_source, defaults=defaults, behavior=historical) + assert not wrong.supported and wrong.export()["unsupported"][0]["code"] == "behavior_source_binding" diff --git a/tests/refactor/test_numerical_public_imports.py b/tests/refactor/test_numerical_public_imports.py new file mode 100644 index 00000000..3727cdf0 --- /dev/null +++ b/tests/refactor/test_numerical_public_imports.py @@ -0,0 +1,383 @@ +"""Symbol-level numerical import boundary with an explicit existing-debt ledger. + +Import-linter operates on module dependencies; this check inspects the actual +ImportFrom names, including relative imports. The 141 configuration, registry, +serialization and experiment occurrences from AssemblyMigrationInventoryV1 +remain explicit exceptions. Public symbols merely aliased privately are not +part of that historical count; promoted module-level APIs may not keep aliases. + +The two temporary steady helper exceptions are now retired. The five BDF +admission imports already present at f0c1027f have moved to experiment-only +orchestration and are listed separately. The reviewed 141-entry +configuration/registry/experiment ledger remains unchanged. Method calls have +a separate exact ledger for owned callers and unrelated same-name methods. +""" + +from __future__ import annotations + +import ast +from collections import Counter +from importlib import import_module +from importlib.util import resolve_name +from pathlib import Path +from typing import TypeAlias + +import pytest + +ROOT = Path(__file__).resolve().parents[2] +ImportKey: TypeAlias = tuple[str, str, str] +ExceptionGroup: TypeAlias = tuple[str, str, tuple[str, ...]] +CORE_ROOTS = ("contracts", "mesh", "discretization", "physics", "equations", "solvers", "device") + +# Every original occurrence is listed; repeated names retain their multiplicity. +# Source: plans/Specs/AssemblyMigrationInventoryV1.json, SHA-256 +# b05c96b0bf52f3f7770df7f2b34c79400e7e95e4d4b417dc656af18a57846e78. +KNOWN_LATER_IMPORTS: tuple[ExceptionGroup, ...] = ( + ('solarlab.config.defect_documents', 'solarlab.config.device_import', ('_keys', '_mapping', '_sequence')), + ('solarlab.config.identity', 'solarlab.config.behavior', ('_material_switches',)), + ('solarlab.config.identity', 'solarlab.physics.semantic_projection', ('_project_historical_physics', '_project_r1_physics')), + ('solarlab.config.legacy_execution', 'solarlab.config.behavior', ('_binding', '_bytes', '_environment', '_literal', '_mapping', '_signature')), + ('solarlab.config.legacy_wire', 'solarlab.config.scaps_input', ('_FIELDS', '_ROLE_ALIAS')), + ('solarlab.config.migration', 'solarlab.config.behavior', ('_mapping',)), + ('solarlab.config.scaps_input', 'solarlab.config.device_import', ('_common_device', '_flat_defect', '_keys', '_mapping', '_quantity', '_sequence')), + ('solarlab.config.tandem_input', 'solarlab.config.device_import', ('_keys', '_mapping', '_quantity', '_sequence')), + ('solarlab.experiments.execution', 'solarlab.experiments.worker', ('_atomic_json', '_child_main', '_directory_bytes', '_name', '_object', '_process_info', '_regular_bytes', '_sha')), + ('solarlab.experiments.execution', 'solarlab.io.artifacts', ('_parse_document',)), + ('solarlab.experiments.impedance', 'solarlab.experiments.jv.operating_points', ('_verify_point',)), + ('solarlab.experiments.ionic_impedance', 'solarlab.experiments.ionic_transient', ('_admit_evidence', '_same_state')), + ('solarlab.experiments.ionic_initialization', 'solarlab.experiments.ionic_transient', ('_admit_evidence', '_same_state')), + ('solarlab.experiments.ionic_initialization', 'solarlab.experiments.transient_results', ('_decode', '_encode')), + ('solarlab.experiments.ionic_transient_results', 'solarlab.experiments.transient_results', ('_decode', '_digest', '_encode', '_fingerprint', '_same')), + ('solarlab.experiments.ionic_transient_results', 'solarlab.io.artifacts', ('_json_document',)), + ('solarlab.experiments.ionic_transient_worker', 'solarlab.experiments.jv.worker', ('_PACKAGES', '_THREADS', '_adapter_sources', '_document', '_verify_sources')), + ('solarlab.experiments.ionic_transient_worker', 'solarlab.experiments.transient_results', ('_fingerprint', '_decode', '_fingerprint')), + ('solarlab.experiments.ionic_transient_worker', 'solarlab.io.artifacts', ('_json_document', '_parse_document')), + ('solarlab.experiments.jv.ionic_results', 'solarlab.experiments.ionic_transient_results', ('_finite', '_plain')), + ('solarlab.experiments.jv.ionic_results', 'solarlab.experiments.transient_results', ('_decode', '_encode', '_fingerprint', '_same')), + ('solarlab.experiments.jv.ionic_results', 'solarlab.io.artifacts', ('_json_document',)), + ('solarlab.experiments.jv.ionic_steady', 'solarlab.experiments.ionic_transient', ('_admit_evidence', '_same_state')), + ('solarlab.experiments.jv.ionic_steady', 'solarlab.experiments.transient_results', ('_decode', '_encode')), + ('solarlab.experiments.jv.ionic_worker', 'solarlab.experiments.ionic_transient', ('_admit_evidence',)), + ('solarlab.experiments.jv.ionic_worker', 'solarlab.experiments.jv.worker', ('_PACKAGES', '_THREADS', '_adapter_sources', '_document', '_verify_sources')), + ('solarlab.experiments.jv.ionic_worker', 'solarlab.experiments.transient_results', ('_fingerprint',)), + ('solarlab.experiments.jv.steady_2d', 'solarlab.experiments.transient_results', ('_decode', '_encode')), + ('solarlab.experiments.jv.steady_2d', 'solarlab.experiments.worker', ('_atomic_json',)), + ('solarlab.experiments.multiple_ionic_impedance', 'solarlab.experiments.ionic_impedance', ('_decoded', '_encoded', '_finite', '_frequencies')), + ('solarlab.experiments.multiple_ionic_impedance', 'solarlab.experiments.multiple_ionic_transient', ('_admit', '_same_record')), + ('solarlab.experiments.multiple_ionic_impedance', 'solarlab.experiments.transient_results', ('_decode', '_encode')), + ('solarlab.experiments.multiple_ionic_transient', 'solarlab.experiments.ionic_transient', ('_finite_accounting',)), + ('solarlab.experiments.multiple_ionic_transient', 'solarlab.experiments.transient_results', ('_decode', '_encode')), + ('solarlab.experiments.protocol', 'solarlab.io.artifacts', ('_json_document', '_parse_document')), + ('solarlab.experiments.registry', 'solarlab.physics.registry', ('_token', '_verify_evidence_sources')), + ('solarlab.experiments.results', 'solarlab.experiments.protocol', ('_keys', '_reference', '_ref_schema', '_sha', '_strings', '_text')), + ('solarlab.experiments.results', 'solarlab.io.artifacts', ('_json_document', '_parse_document')), + ('solarlab.experiments.transient', 'solarlab.experiments.jv.operating_points', ('_verify_point',)), + ('solarlab.experiments.transient_results', 'solarlab.io.artifacts', ('_json_document', '_parse_document')), + ('solarlab.experiments.transient_worker', 'solarlab.experiments.jv.worker', ('_PACKAGES', '_THREADS', '_adapter_sources', '_document', '_verify_sources')), + ('solarlab.experiments.transient_worker', 'solarlab.experiments.transient_results', ('_payload', '_UNITS', '_decode', '_digest', '_inputs', '_result_digest', '_validate')), + ('solarlab.experiments.transient_worker', 'solarlab.io.artifacts', ('_json_document', '_parse_document')), + ('solarlab.experiments.two_dimensional.steady_results', 'solarlab.experiments.transient_results', ('_decode', '_encode', '_fingerprint', '_same')), + ('solarlab.experiments.two_dimensional.steady_results', 'solarlab.experiments.two_dimensional.steady_worker', ('_request_contract',)), + ('solarlab.experiments.two_dimensional.steady_results', 'solarlab.io.artifacts', ('_json_document',)), + ('solarlab.experiments.worker', 'solarlab.io.artifacts', ('_json_document', '_parse_document')), + ('solarlab.io.run_bundle', 'solarlab.io.artifacts', ('_ArtifactFiles', '_json_document', '_load_npy')), + ('solarlab.io.run_bundle', 'solarlab.io.run_store', ('_identifier', '_public')), + ('solarlab.io.run_store', 'solarlab.io.artifacts', ('_ArtifactFiles', '_json_document', '_load_npy', '_parse_document')), + ('solarlab.physics.presets', 'solarlab.physics.registry', ('_strings', '_token', '_verify_evidence_sources')), + ('solarlab.physics.presets', 'solarlab.physics.selection', ('_choices',)), + ('solarlab.physics.selection', 'solarlab.physics.registry', ('_strings', '_token')), +) + +BDF_EXPERIMENT_IMPORTS: tuple[ExceptionGroup, ...] = ( + ('solarlab.experiments.bdf', 'solarlab.experiments.jv.operating_points', ('_verify_point',)), + ('solarlab.experiments.bdf', 'solarlab.experiments.ionic_transient', ('_admit_evidence', '_finite_accounting', '_newton_settings', '_same_state')), +) + + +PUBLIC_KERNEL_RENAMES: tuple[tuple[str, str, str], ...] = ( + ('solarlab.device.compile_1d', '_unsupported', 'unsupported'), + ('solarlab.device.compile_ionic_1d', '_ION_INPUTS', 'ION_INPUTS'), + ('solarlab.equations.dc_1d', '_quasi_fermi_potential_tangents', 'quasi_fermi_potential_tangents'), + ('solarlab.equations.ionic_small_signal', '_frequency_voltage', 'frequency_voltage'), + ('solarlab.equations.multiple_ionic_small_signal', '_scope', 'scope'), + ('solarlab.solvers.nonlinear.ionic_1d', '_checks', 'checks'), + ('solarlab.solvers.nonlinear.ionic_1d', '_diagnostics', 'diagnostics'), + ('solarlab.solvers.nonlinear.steady_2d', '_checks', 'checks'), + ('solarlab.solvers.nonlinear.steady_2d', '_diagnostics', 'diagnostics'), + ('solarlab.solvers.nonlinear.steady_2d', '_scope', 'scope'), + ('solarlab.solvers.nonlinear.steady_2d', '_sources', 'sources'), + ('solarlab.solvers.time.backward_euler', '_storage_mask', 'storage_mask'), + ('solarlab.solvers.nonlinear.steady_1d', '_physical_gates', 'physical_gates'), + ('solarlab.solvers.nonlinear.steady_1d', '_density_basin_seed', 'density_basin_seed'), +) + + +def exception_counts(groups: tuple[ExceptionGroup, ...]) -> Counter[ImportKey]: + return Counter((importer, provider, name) + for importer, provider, names in groups for name in names) + + +def private_imports(module: str, source: str, *, is_package: bool = False) -> Counter[ImportKey]: + result: Counter[ImportKey] = Counter() + package = module if is_package else module.rpartition(".")[0] + for node in ast.walk(ast.parse(source)): + if not isinstance(node, ast.ImportFrom): + continue + provider = (resolve_name("." * node.level + (node.module or ""), package) + if node.level else node.module) + if not provider or not provider.startswith("solarlab.") or provider == module: + continue + for alias in node.names: + if alias.name.startswith("_"): + result[module, provider, alias.name] += 1 + return result + + +def source_modules() -> list[tuple[str, Path]]: + result = [] + for path in sorted((ROOT / "src/solarlab").rglob("*.py")): + parts = path.relative_to(ROOT / "src").with_suffix("").parts + module = ".".join(parts[:-1] if parts[-1] == "__init__" else parts) + result.append((module, path)) + return result + + +def test_no_unreviewed_private_cross_module_imports() -> None: + found: Counter[ImportKey] = Counter() + for module, path in source_modules(): + found.update(private_imports(module, path.read_text(), is_package=path.name == "__init__.py")) + allowed = exception_counts(KNOWN_LATER_IMPORTS) + exception_counts(BDF_EXPERIMENT_IMPORTS) + unexpected = found - allowed + assert not unexpected, ( + "New private imports require public APIs (numerical roots: " + + ", ".join(CORE_ROOTS) + "): " + repr(dict(unexpected)) + ) + # The reviewed historical debt stays explicit; numerical promotions may not add debt. + assert found == allowed, "Update the explicit ledger when a reviewed later migration retires an exception" + + +@pytest.mark.parametrize(("module", "old", "public"), PUBLIC_KERNEL_RENAMES) +def test_public_helpers_have_exports_and_no_private_alias(module: str, old: str, public: str) -> None: + implementation = import_module(module) + assert public in implementation.__all__ + assert public in vars(implementation) + assert old not in vars(implementation) + + +def promoted_private_aliases(module: str, source: str, *, is_package: bool = False) -> list[tuple[int, str]]: + promoted = {(module, public) for module, _, public in PUBLIC_KERNEL_RENAMES} + package = module if is_package else module.rpartition(".")[0] + failures: list[tuple[int, str]] = [] + for node in ast.walk(ast.parse(source)): + if isinstance(node, ast.ImportFrom): + provider = (resolve_name("." * node.level + (node.module or ""), package) + if node.level else node.module) + for alias in node.names: + if ((provider, alias.name) in promoted + and alias.asname is not None and alias.asname.startswith("_")): + failures.append((node.lineno, alias.asname)) + return failures + + +def test_promoted_helpers_are_not_imported_under_private_aliases() -> None: + failures: list[tuple[str, int, str]] = [] + for module, path in source_modules(): + failures.extend((module, line, name) for line, name in promoted_private_aliases( + module, path.read_text(), is_package=path.name == "__init__.py")) + assert not failures + + +def test_detector_rejects_private_aliases_of_absolute_and_relative_public_helpers() -> None: + assert promoted_private_aliases("solarlab.solvers.time.candidate", + "from solarlab.solvers.time.backward_euler import storage_mask as _hidden") == [(1, "_hidden")] + assert promoted_private_aliases("solarlab.solvers.time.candidate", + "from .backward_euler import storage_mask as _hidden") == [(1, "_hidden")] + assert not promoted_private_aliases("solarlab.solvers.time.candidate", + "from .backward_euler import storage_mask as boundary_storage_mask") + + +def test_only_named_later_debts_are_exempt() -> None: + assert sum(exception_counts(KNOWN_LATER_IMPORTS).values()) == 141 + assert sum(exception_counts(BDF_EXPERIMENT_IMPORTS).values()) == 5 + assert all(provider.startswith("solarlab.experiments.") + for _, provider, _ in BDF_EXPERIMENT_IMPORTS) + assert all(not private_imports("solarlab.equations.candidate", source) <= exception_counts(KNOWN_LATER_IMPORTS) + for source in ("from solarlab.physics.candidate import _new_secret",)) + + +def test_detector_rejects_absolute_relative_and_duplicate_private_imports() -> None: + absolute = private_imports("solarlab.equations.candidate", + "from solarlab.physics.example import _secret\n" + "from solarlab.physics.example import _secret\n") + assert absolute == Counter({("solarlab.equations.candidate", "solarlab.physics.example", "_secret"): 2}) + assert private_imports("solarlab.equations.candidate", "from .example import _secret") == Counter({ + ("solarlab.equations.candidate", "solarlab.equations.example", "_secret"): 1}) + assert private_imports("solarlab.equations", "from .example import _secret", is_package=True) == Counter({ + ("solarlab.equations", "solarlab.equations.example", "_secret"): 1}) + assert not private_imports("solarlab.equations.candidate", + "from solarlab.physics.example import public as _local_alias") + + +# Methods are class APIs, so they do not belong in a module's __all__. +PUBLIC_METHOD_RENAMES = ( + ('solarlab.equations.multiple_ionic_1d', 'CompiledMultipleIonicDevice1D', '_values', 'values'), + ('solarlab.equations.ionic_small_signal', 'IonicSmallSignal1D', '_moving_voltage_partial', 'moving_voltage_partial'), + ('solarlab.equations.dc_1d', 'DC1DProblem', '_contact_exchange', 'contact_exchange'), +) +MethodCallKey: TypeAlias = tuple[str, str, str, str] # module, scope, receiver, method + +# These exact callers are owned by the concurrent production-wiring migration. +# Retire each entry together with its delegating alias when that caller moves. +DEFERRED_PRIVATE_METHOD_CALLS: Counter[MethodCallKey] = Counter({ + ('solarlab.solvers.time.multiple_ionic_backward_euler', + 'MultipleIonicBackwardEuler1DStep.inventory_rates_m2_s', 'device', '_values'): 1, + ('solarlab.solvers.time.backward_euler', 'step_accounting', 'problem', '_contact_exchange'): 1, +}) + +# This is a conservative syntactic guard, not Python type inference. Each +# unrelated receiver with a colliding name is reviewed at this exact scope; +# a module containing a homonym does not exempt its calls on other receivers. +UNRELATED_PRIVATE_METHOD_CALLS: Counter[MethodCallKey] = Counter({ + # A same-module AssembledIonicSmallSignal1D, not IonicSmallSignal1D. + ('solarlab.equations.assembly.small_signal', + 'AssembledMultipleIonicSmallSignal1D._moving_voltage_partial', 'first', '_moving_voltage_partial'): 1, + # DC2DProblem has its own vector-valued contact law. + ('tests.integration.test_contacts_2d', + 'test_contact_flux_sign_units_and_exact_density_jacobian', 'p', '_contact_exchange'): 1, + ('tests.integration.test_contacts_2d', + 'test_zero_velocity_is_blocking_and_near_reservoir_excess_is_not_rounded_away', + 'problem', '_contact_exchange'): 2, + ('tests.integration.test_contacts_2d', + 'test_finite_exchange_has_the_compatible_fixed_reservoir_limit', 'problem', '_contact_exchange'): 1, + # MultipleIonicSmallSignal1D's distinct domain-combining implementation. + ('tests.integration.test_multiple_ionic_small_signal_1d', + 'test_full_J_K_and_actual_moving_voltage_drive_directions', 'operator', '_moving_voltage_partial'): 1, + # Assembled single/multiple operators and the assembled storage adapter. + ('tests.unit.assembly.test_assembly_small_signal', + 'test_moving_lift_drive_and_rate_match_finite_differences', 'operator', '_moving_voltage_partial'): 1, + ('tests.unit.assembly.test_assembly_small_signal', + 'test_invalid_inputs_are_refused_as_before', 'operator', '_moving_voltage_partial'): 1, + ('tests.unit.solvers.time.test_assembled_storage', + 'test_public_exchange_mapping_preserves_bound_channel_law_and_refusals', 'assembled', '_contact_exchange'): 1, +}) + + +def private_method_calls(module: str, source: str) -> Counter[MethodCallKey]: + """Find calls of promoted names; waive only defining modules/local methods.""" + providers = {old: provider for provider, _, old, _ in PUBLIC_METHOD_RENAMES} + found: Counter[MethodCallKey] = Counter() + + class Calls(ast.NodeVisitor): + def __init__(self) -> None: + self.scope: list[str] = [] + self.classes: list[ast.ClassDef] = [] + + def visit_ClassDef(self, node: ast.ClassDef) -> None: + self.scope.append(node.name) + self.classes.append(node) + self.generic_visit(node) + self.classes.pop() + self.scope.pop() + + def visit_FunctionDef(self, node: ast.FunctionDef | ast.AsyncFunctionDef) -> None: + self.scope.append(node.name) + self.generic_visit(node) + self.scope.pop() + + visit_AsyncFunctionDef = visit_FunctionDef + + def visit_Call(self, node: ast.Call) -> None: + if isinstance(node.func, ast.Attribute) and node.func.attr in providers: + receiver, name = node.func.value, node.func.attr + local_method = ( + self.classes and isinstance(receiver, ast.Name) and receiver.id in {'self', 'cls'} + and any(isinstance(item, (ast.FunctionDef, ast.AsyncFunctionDef)) and item.name == name + for item in self.classes[-1].body) + ) + if module != providers[name] and not local_method: + found[module, '.'.join(self.scope) or '', ast.unparse(receiver), name] += 1 + self.generic_visit(node) + + Calls().visit(ast.parse(source)) + return found + + +def test_no_unreviewed_private_cross_module_method_calls() -> None: + found: Counter[MethodCallKey] = Counter() + for directory in ('src', 'tests', 'examples', 'scripts'): + base = ROOT / 'src' if directory == 'src' else ROOT + for path in sorted((ROOT / directory).rglob('*.py')): + parts = path.relative_to(base).with_suffix('').parts + module = '.'.join(parts[:-1] if parts[-1] == '__init__' else parts) + found.update(private_method_calls(module, path.read_text())) + allowed = DEFERRED_PRIVATE_METHOD_CALLS + UNRELATED_PRIVATE_METHOD_CALLS + assert not found - allowed, ( + 'Use the public method, or document an exact unrelated receiver: ' + repr(dict(found - allowed)) + ) + assert found == allowed, 'Retire stale private-method exceptions with their migrated callers' + + +@pytest.mark.parametrize(('module', 'owner', 'old', 'public'), PUBLIC_METHOD_RENAMES) +def test_public_methods_and_only_required_delegating_aliases( + module: str, owner: str, old: str, public: str, monkeypatch: pytest.MonkeyPatch, +) -> None: + implementation = import_module(module) + cls = getattr(implementation, owner) + assert public in vars(cls) and callable(getattr(cls, public)) + assert public not in implementation.__all__ + deferred = {key[-1] for key in DEFERRED_PRIVATE_METHOD_CALLS} + if old not in deferred: + assert not hasattr(cls, old) + return + sentinel = object() + calls: list[tuple[object, tuple[object, ...]]] = [] + + def public_spy(instance: object, *args: object) -> object: + calls.append((instance, args)) + return sentinel + + monkeypatch.setattr(cls, public, public_spy) + instance = object.__new__(cls) + args = (object(),) if old == '_values' else (object(), object(), object()) + assert getattr(instance, old)(*args) is sentinel + assert calls == [(instance, args)] + + +def test_method_detector_rejects_unknown_receivers_aliases_and_repeated_calls() -> None: + source = ( + 'from solarlab.equations.dc_1d import DC1DProblem as Renamed\n' + 'Renamed._contact_exchange(problem, u, channel, node)\n' + 'def evaluate(device):\n' + ' device._values(y)\n' + ' device._values(ydot)\n' + ' operator._moving_voltage_partial()\n' + ) + assert private_method_calls('solarlab.equations.candidate', source) == Counter({ + ('solarlab.equations.candidate', '', 'Renamed', '_contact_exchange'): 1, + ('solarlab.equations.candidate', 'evaluate', 'device', '_values'): 2, + ('solarlab.equations.candidate', 'evaluate', 'operator', '_moving_voltage_partial'): 1, + }) + + +def test_local_homonym_does_not_hide_a_foreign_receiver() -> None: + source = ( + 'class Local:\n' + ' def _moving_voltage_partial(self):\n' + ' return 0\n' + ' def evaluate(self, first):\n' + ' self._moving_voltage_partial()\n' + ' return first._moving_voltage_partial()\n' + ) + assert private_method_calls('solarlab.equations.candidate', source) == Counter({ + ('solarlab.equations.candidate', 'Local.evaluate', 'first', '_moving_voltage_partial'): 1, + }) + assert not private_method_calls('solarlab.equations.ionic_small_signal', source) + assert not private_method_calls('solarlab.equations.candidate', + 'device.values(y)\noperator.moving_voltage_partial()\nproblem.contact_exchange(u, channel, node)') + + +def test_private_method_deferrals_are_limited_to_the_two_owned_callers() -> None: + assert sum(DEFERRED_PRIVATE_METHOD_CALLS.values()) == 2 + assert {key[0] for key in DEFERRED_PRIVATE_METHOD_CALLS} == { + 'solarlab.solvers.time.backward_euler', 'solarlab.solvers.time.multiple_ionic_backward_euler', + } diff --git a/tests/refactor/test_package_boundaries.py b/tests/refactor/test_package_boundaries.py new file mode 100644 index 00000000..1c7fb41b --- /dev/null +++ b/tests/refactor/test_package_boundaries.py @@ -0,0 +1,315 @@ +"""P03-01 public API, future low-level layers and one legacy source tree.""" + +from __future__ import annotations + +import ast +import hashlib +import importlib +from importlib import resources +import inspect +import json +import os +from pathlib import Path +import shutil +import subprocess +import sys + +import pytest + + +ROOT = Path(__file__).resolve().parents[2] +PACKAGES = ("solarlab", "solarlab_research", "solarlab_server") + + +def policy() -> dict: + return json.loads( + resources.files("solarlab.reproducibility").joinpath("PublicAPI.json").read_text() + ) + + +def declared_exports(source: str) -> list[str] | None: + for node in ast.parse(source).body: + if isinstance(node, ast.Assign) and any( + isinstance(target, ast.Name) and target.id == "__all__" + for target in node.targets + ): + return list(ast.literal_eval(node.value)) + if ( + isinstance(node, ast.AnnAssign) + and isinstance(node.target, ast.Name) + and node.target.id == "__all__" + ): + return list(ast.literal_eval(node.value)) + return None + + +def public_import_violations(source: str, allowed: dict) -> list[str]: + """Check named imports/members; module objects cannot escape this check.""" + tree = ast.parse(source) + result = [] + bindings = {} + for node in ast.walk(tree): + if isinstance(node, ast.ImportFrom) and node.module and ( + node.module == "solarlab" or node.module.startswith("solarlab.") + ): + result.extend( + f"{node.module}.{alias.name}" + for alias in node.names + if alias.name not in allowed.get(node.module, ()) + ) + for alias in node.names: + bindings[alias.asname or alias.name] = f"{node.module}.{alias.name}" + if isinstance(node, ast.Import): + result.extend( + alias.name + for alias in node.names + if alias.name.startswith("solarlab.") and alias.name not in allowed + ) + for alias in node.names: + if alias.name == "solarlab" or alias.name.startswith("solarlab."): + bindings[alias.asname or "solarlab"] = alias.name if alias.asname else "solarlab" + + def qualified(node): + if isinstance(node, ast.Name): + return bindings.get(node.id) + if isinstance(node, ast.Attribute): + base = qualified(node.value) + return f"{base}.{node.attr}" if base else None + return None + + parents = {child: parent for parent in ast.walk(tree) for child in ast.iter_child_nodes(parent)} + for node in ast.walk(tree): + if not isinstance(node, (ast.Name, ast.Attribute)) or not isinstance(node.ctx, ast.Load): + continue + name = qualified(node) + if not name: + continue + if name in allowed: + parent = parents.get(node) + if not isinstance(parent, ast.Attribute) or parent.value is not node: + # Passing/storing a module, including getattr/vars calls, + # would permit untracked aliases and dynamic private access. + result.append("module object escapes public-symbol checking: " + name) + continue + if isinstance(node, ast.Attribute): + modules = [module for module in allowed if name.startswith(module + ".")] + if not modules: + result.append(name) + continue + module = max(modules, key=len) + members = name[len(module) + 1:].split(".") + if members[0] not in allowed[module] or any(member.startswith("_") for member in members[1:]): + result.append(name) + return result + + +def test_public_api_policy_is_a_real_package_resource(): + value = policy() + assert value["schema"] == "solarlab.public-api-policy.v1" + assert value["core_root_exports"] == [] + assert value["future_contracts"]["owner"] == "WS3" + assert "solarlab.config.behavior" in value["public_imports"] + + +def test_ws2_declared_exports_match_the_closed_public_interface_list(): + for module, expected in policy()["declared_exports"].items(): + path = ROOT / "src" / module.replace(".", "/") + path = path / "__init__.py" if path.is_dir() else path.with_suffix(".py") + assert declared_exports(path.read_text()) == expected, str(path) + + +def test_companion_consumers_only_use_explicit_public_symbols(): + value = policy() + violations = [] + for package in value["checked_consumers"]: + for path in (ROOT / "src" / package).rglob("*.py"): + violations.extend( + f"{path.relative_to(ROOT)}: {item}" + for item in public_import_violations(path.read_text(), value["public_imports"]) + ) + assert violations == [] + + +@pytest.mark.parametrize("source", [ + "from solarlab.config.legacy_wire import _patch", + "from solarlab.config.behavior import *", + "from solarlab import _private", + "import solarlab.config.unregistered_internal", +]) +def test_unlisted_cross_package_symbols_are_rejected(source): + assert public_import_violations(source, policy()["public_imports"]) + + +@pytest.mark.parametrize("source", [ + "import solarlab.config.legacy_wire as wire\nwire._patch", + "import solarlab.config.legacy_wire\nsolarlab.config.legacy_wire._patch", + "import solarlab.config.legacy_wire as wire\nother = wire\nother._patch", + "import solarlab.config.legacy_wire as wire\ngetattr(wire, '_patch')", + "import solarlab.config.legacy_wire as wire\nwire.prepare_legacy_wire.__globals__", + "from solarlab.config.legacy_wire import LegacyWire as Wire\nWire._private", +]) +def test_module_aliases_cannot_bypass_the_public_symbol_boundary(source): + assert public_import_violations(source, policy()["public_imports"]) + + +@pytest.mark.parametrize("source", [ + "import solarlab.config.legacy_wire as wire\nwire.prepare_legacy_wire", + "import solarlab.config.legacy_wire\nsolarlab.config.legacy_wire.prepare_legacy_wire", + "from solarlab.config.legacy_wire import prepare_legacy_wire as prepare\nprepare", +]) +def test_explicit_public_alias_access_is_supported(source): + assert public_import_violations(source, policy()["public_imports"]) == [] + + +def test_registered_legacy_boundaries_have_real_consumers_and_explicit_exits(): + value = json.loads( + (ROOT / "reproducibility/RefactorTransitionBoundariesV1.json").read_text() + ) + assert value["schema"] == "solarlab.refactor-transition-boundaries.v1" + legacy = value["legacy_package"] + assert (ROOT / legacy["source_root"]).is_dir() + assert not (ROOT / legacy["excluded_alternative"]).exists() + assert legacy["source_copies"] == 1 + facade = value["execution_facade"] + assert facade["owner"] == "WS4" + assert facade["module"] == "solarlab_server.legacy_engine" + assert facade["status"] == "implemented_W03" + module = importlib.import_module(facade["module"]) + assert (ROOT / facade["path"]).is_file() + assert facade["symbol"] == "prepare_legacy_job" + assert facade["symbol"] in module.__all__ + assert tuple(inspect.signature(getattr(module, facade["symbol"])).parameters) == ( + "invocation", "inputs", "execution", "engine", "manifest", "expected_sha256", + ) + assert facade["submission"]["symbol"] == "LegacyJob.submit" + assert "LegacyJob" in module.__all__ and callable(module.LegacyJob.submit) + registration = facade["worker"] + assert registration["factory"] in module.__all__ + binding = getattr(module, registration["factory"])() + assert (binding.id, binding.module, binding.symbol) == ( + registration["id"], facade["module"], registration["symbol"], + ) + assert binding.id == "legacy" and binding.symbol == "_run_legacy" + assert tuple(inspect.signature(getattr(module, binding.symbol)).parameters) == ("request", "worker") + assert binding.source_sha256 == hashlib.sha256(Path(inspect.getfile(module)).read_bytes()).hexdigest() + assert registration["registry"]["document"] == { + "drivers": ["ion_hysteresis", "scaps_steady_state", "scaps_transient"], + "engine": "legacy", "fallback": "forbidden", + } + for name, digest in (("registry", binding.registry_sha256), ("request_schema", binding.schema_sha256)): + record = registration[name] + raw = json.dumps(record["document"], sort_keys=True, separators=(",", ":")).encode() + assert record["sha256"] == hashlib.sha256(raw).hexdigest() == digest + planning = facade["historical_planning"] + assert planning["status"] == "planned_for_M1_not_implemented_by_WS2" + assert planning["symbol"] == "run" and planning["source_commit"] + assert set(facade["exit_tasks"]) == {"P06-06", "P09-03"} + for adapter in value["data_adapters"]: + assert (ROOT / adapter["path"]).is_file() + module = importlib.import_module(adapter["module"]) + assert adapter["symbol"] in module.__all__ + assert callable(getattr(module, adapter["symbol"])) + assert adapter["exit_tasks"] + for group in value["consumer_groups"]: + if group.get("historical") is True or group.get("status") == "historical": + continue + assert group["owner"] and group["exit_tasks"] + assert all((ROOT / path).is_file() for path in group["paths"]) + # Registration is deliberately not an execution or deletion certificate. + assert value["consumer_inventory"]["discovery_record"] == "discovery_evidence" + + +def test_registered_legacy_submission_passes_the_same_request_and_manifest(): + from unittest.mock import Mock + + value = json.loads((ROOT / "reproducibility/RefactorTransitionBoundariesV1.json").read_text()) + facade = value["execution_facade"] + module = importlib.import_module(facade["module"]) + request, manifest, limits, handle = (object() for _ in range(4)) + supervisor = Mock(spec=["submit"]) + supervisor.submit.return_value = handle + job = module.LegacyJob(request, manifest) + assert job.submit(supervisor, "registered-run", limits) is handle + supervisor.submit.assert_called_once_with( + "registered-run", facade["worker"]["id"], request, limits, execution=manifest, + ) + + +def create_package(root: Path, name: str) -> Path: + path = root + for part in name.split("."): + path /= part + path.mkdir(exist_ok=True) + (path / "__init__.py").touch(exist_ok=True) + return path + + +@pytest.mark.parametrize(("source", "forbidden", "indirect"), [ + ("solarlab.physics", "solarlab.equations", False), + ("solarlab.physics", "solarlab.equations", True), + ("solarlab.solvers", "solarlab.device", False), + ("solarlab.solvers", "solarlab.device", True), + ("solarlab.solvers", "solarlab.experiments", False), + ("solarlab.solvers", "solarlab.experiments", True), + ("solarlab.solvers", "solarlab.experiments.two_dimensional", False), + ("solarlab.mesh", "solarlab.experiments.two_dimensional", False), + ("solarlab.mesh", "solarlab.solvers", False), + ("solarlab.contracts", "solarlab.physics", False), + ("solarlab.contracts", "solarlab.device", True), + ("solarlab.contracts", "solarlab_server", False), +]) +def test_actual_linter_rejects_current_and_future_upward_dependencies( + tmp_path, source, forbidden, indirect, +): + for package in PACKAGES: + shutil.copytree(ROOT / "src" / package, tmp_path / package) + source_path = create_package(tmp_path, source) + create_package(tmp_path, forbidden) + if indirect: + (tmp_path / "solarlab/boundary_probe.py").write_text(f"import {forbidden}\n") + code = "from solarlab import boundary_probe\n" + else: + code = f"import {forbidden}\n" + (source_path / "p03_probe.py").write_text(code) + env = dict(os.environ, PYTHONPATH=str(tmp_path), PYTHONDONTWRITEBYTECODE="1") + result = subprocess.run( + [str(Path(sys.executable).with_name("lint-imports")), "--config", + str(ROOT / "pyproject.toml"), "--no-cache"], + cwd=tmp_path, env=env, text=True, capture_output=True, timeout=45, + ) + assert result.returncode == 1, result.stdout + result.stderr + assert "broken" in result.stdout.lower(), result.stdout + result.stderr + + +@pytest.mark.parametrize("source", [ + "import solarlab.experiments.transient\n", + "def solve():\n from solarlab.experiments.transient import TransientOptions\n", +]) +def test_solver_experiment_contract_rejects_global_and_function_local_imports(tmp_path, source): + for package in PACKAGES: + shutil.copytree(ROOT / "src" / package, tmp_path / package) + (tmp_path / "solarlab/solvers/p03_probe.py").write_text(source) + result = subprocess.run( + [str(Path(sys.executable).with_name("lint-imports")), "--config", + str(ROOT / "pyproject.toml"), "--no-cache"], + cwd=tmp_path, env=dict(os.environ, PYTHONPATH=str(tmp_path), PYTHONDONTWRITEBYTECODE="1"), + text=True, capture_output=True, timeout=45, + ) + assert result.returncode == 1, result.stdout + result.stderr + assert "Solvers do not depend on experiment orchestration" in result.stdout + assert "broken" in result.stdout.lower(), result.stdout + result.stderr + + +def test_solver_experiment_contract_allows_experiments_to_use_solver_adapters(tmp_path): + for package in PACKAGES: + shutil.copytree(ROOT / "src" / package, tmp_path / package) + (tmp_path / "solarlab/experiments/p03_probe.py").write_text( + "from solarlab.solvers.time.bdf_1d import BDFDrive\n") + result = subprocess.run( + [str(Path(sys.executable).with_name("lint-imports")), "--config", + str(ROOT / "pyproject.toml"), "--no-cache"], + cwd=tmp_path, env=dict(os.environ, PYTHONPATH=str(tmp_path), PYTHONDONTWRITEBYTECODE="1"), + text=True, capture_output=True, timeout=45, + ) + assert result.returncode == 0, result.stdout + result.stderr + assert "Solvers do not depend on experiment orchestration" in result.stdout diff --git a/tests/refactor/test_package_preparation.py b/tests/refactor/test_package_preparation.py new file mode 100644 index 00000000..bb12c4a3 --- /dev/null +++ b/tests/refactor/test_package_preparation.py @@ -0,0 +1,132 @@ +"""P03 package boundaries; production numerical migration is a separate gate.""" + +from __future__ import annotations + +import os +from pathlib import Path +import shutil +import subprocess +import sys +import tomllib + +import pytest + + +ROOT = Path(__file__).resolve().parents[2] +PACKAGES = ("solarlab", "solarlab_research", "solarlab_server") + + +def test_transition_lock_preserves_every_existing_dependency_record(): + old = tomllib.loads((ROOT / "perovskite-sim/uv.lock").read_text()) + new = tomllib.loads((ROOT / "uv.lock").read_text()) + old_packages = [p for p in old["package"] if p["name"] != "perovskite-sim"] + new_packages = [p for p in new["package"] if p["name"] != "solarlab"] + # The new optional Arb observer is the only additional locked package. + assert [p for p in new_packages if p["name"] != "python-flint"] == old_packages + added = [p for p in new_packages if p["name"] == "python-flint"] + assert len(added) == 1 and added[0]["version"] == "0.8.0" + assert new["requires-python"] == old["requires-python"] + assert new["resolution-markers"] == old["resolution-markers"] + old_metadata = tomllib.loads((ROOT / "perovskite-sim/pyproject.toml").read_text()) + metadata = tomllib.loads((ROOT / "pyproject.toml").read_text()) + assert metadata["project"]["requires-python"] == ">=3.11" + assert metadata["project"]["dependencies"] == [ + *old_metadata["project"]["dependencies"], "pydantic==2.13.5", + ] + previous_extras = old_metadata["project"]["optional-dependencies"] + extras = metadata["project"]["optional-dependencies"] + expected_dev = list(previous_extras["dev"]) + expected_dev.insert(expected_dev.index("httpx==0.28.1") + 1, "jsonschema==4.26.0") + assert extras == {**previous_extras, "dev": expected_dev, "arb": ["python-flint==0.8.0"]} + assert "scripts" not in metadata["project"] + + +def test_only_the_declared_packages_are_selected_for_the_transition_wheel(): + metadata = tomllib.loads((ROOT / "pyproject.toml").read_text()) + wheel = metadata["tool"]["hatch"]["build"]["targets"]["wheel"] + assert set(wheel["only-include"]) == { + *(f"src/{name}" for name in PACKAGES), + "perovskite-sim/perovskite_sim", + } + assert set(wheel["sources"]) == {"src", "perovskite-sim"} + assert not (ROOT / "src/perovskite_sim").exists() + for name in PACKAGES: + assert (ROOT / "src" / name / "py.typed").is_file() + + +def test_actual_core_source_import_rejects_companion_and_legacy_dependencies(tmp_path): + script = """ +import importlib.abc +import sys +class Boundary(importlib.abc.MetaPathFinder): + def find_spec(self, fullname, path=None, target=None): + if fullname.split('.')[0] in {'perovskite_sim', 'backend', 'solarlab_server', 'solarlab_research'}: + raise AssertionError('core crossed package boundary: '+fullname) +sys.meta_path.insert(0, Boundary()) +sys.path.insert(0, sys.argv[1]) +import solarlab +import solarlab.physics.registry +import solarlab.physics.selection +import solarlab.physics.presets +import solarlab.experiments.registry +assert solarlab.__all__ == () +assert not any(name.startswith(('perovskite_sim', 'backend', 'solarlab_server', 'solarlab_research')) for name in sys.modules) +""" + result = subprocess.run( + [sys.executable, "-I", "-B", "-c", script, str(ROOT / "src")], + cwd=tmp_path, capture_output=True, text=True, timeout=30, + ) + assert result.returncode == 0, result.stdout + result.stderr + + +def run_import_contracts(package_root: Path, cwd: Path): + env = os.environ.copy() + env["PYTHONPATH"] = str(package_root) + env["PYTHONDONTWRITEBYTECODE"] = "1" + executable = Path(sys.executable).parent / "lint-imports" + return subprocess.run( + [str(executable), "--config", str(ROOT / "pyproject.toml"), "--no-cache"], + cwd=cwd, env=env, capture_output=True, text=True, timeout=30, + ) + + +def test_import_linter_accepts_actual_package_sources(tmp_path): + result = run_import_contracts(ROOT / "src", tmp_path) + assert result.returncode == 0, result.stdout + result.stderr + + +@pytest.mark.parametrize( + ("source", "forbidden", "indirect"), + [ + ("solarlab", "solarlab_server", False), + ("solarlab", "solarlab_research", False), + ("solarlab", "perovskite_sim", False), + ("solarlab", "backend", False), + ("solarlab", "perovskite_sim", True), + ("solarlab_research", "solarlab_server", False), + ("solarlab_server", "solarlab_research", False), + ("solarlab.materials", "solarlab.config", False), + ("solarlab.materials", "solarlab.device", False), + ("solarlab.units", "solarlab.materials", False), + ("solarlab.materials", "solarlab.physics", False), + ("solarlab.physics", "solarlab.config", False), + ("solarlab.physics", "solarlab.device", False), + ("solarlab.physics", "solarlab.experiments", True), + ], +) +def test_import_linter_rejects_actual_direct_and_indirect_violations( + tmp_path, source, forbidden, indirect, +): + for name in PACKAGES: + shutil.copytree(ROOT / "src" / name, tmp_path / name) + target = tmp_path.joinpath(*source.split(".")) + if target.with_suffix(".py").is_file(): + target.with_suffix(".py").write_text(f"import {forbidden}\n") + elif indirect: + (target / "boundary_probe.py").write_text(f"import {forbidden}\n") + (target / "__init__.py").write_text(f"from {source} import boundary_probe\n") + else: + (target / "__init__.py").write_text(f"import {forbidden}\n") + result = run_import_contracts(tmp_path, tmp_path) + assert result.returncode == 1, result.stdout + result.stderr + assert "broken" in result.stdout.lower(), result.stdout + result.stderr diff --git a/tests/refactor/test_persistence_boundary.py b/tests/refactor/test_persistence_boundary.py new file mode 100644 index 00000000..38c8420f --- /dev/null +++ b/tests/refactor/test_persistence_boundary.py @@ -0,0 +1,12 @@ +"""The existing ninth linter rule includes the new persistence adapter edge.""" + +import pytest + +from test_package_boundaries import ( + test_actual_linter_rejects_current_and_future_upward_dependencies as assert_linter_rejects, +) + + +@pytest.mark.parametrize("indirect", [False, True]) +def test_persistence_contract_cannot_import_its_storage_adapter(tmp_path, indirect): + assert_linter_rejects(tmp_path, "solarlab.contracts", "solarlab.io", indirect) diff --git a/tests/refactor/test_physical_comparison.py b/tests/refactor/test_physical_comparison.py new file mode 100644 index 00000000..fe218a21 --- /dev/null +++ b/tests/refactor/test_physical_comparison.py @@ -0,0 +1,229 @@ +"""Synthetic comparator checks; these are not reference-device qualifications.""" + +import copy +import unittest + +from physical_comparison import ( + DEFINITION_FIELDS, NORMS, compare_physical, definition_fingerprint, +) + + +def rule(limit, unit="1", scale=1.0, relative=0.0): + return {"atol": limit, "rtol": relative, "scale": scale, "unit": unit, + "basis": "Declared exact synthetic fixture; not a device acceptance allocation"} + + +def fixture(kind, values, thresholds, **parameters): + identity = {k+"_sha256": "a"*64 for k in + ("source", "input", "protocol", "initial_state", "model", "numerics", "environment")} + identity["driver"] = "exact_synthetic_comparator_fixture" + gate = {"kind": kind, "scope": "synthetic_fixture", "quantity": "test_observable", + "comparison_target": {"kind": "analytic_fixture", "id": "declared_fixture"}, + "unit": "1", "norm": NORMS[kind], "support": "declared_fixture_support", + "mask": None, "zero_policy": None, "thresholds": thresholds, + "source_bindings": [{"path": __file__, "sha256": "a"*64}], + "status": "frozen", "frozen_at": "2026-10-01T00:00:00Z", + "independent_review": {"status": "approved", "evidence": "synthetic_test_fixture_only"}, + "reference_qualified": True, "reference_identity": identity, + "candidate_identity": {**identity, "source_sha256": "b"*64}, + "reference_errors": {k: {"bound": 0, "unit": v["unit"], "evidence_sha256": "a"*64} + for k, v in thresholds.items()}, **parameters} + gate["definition_sha256"] = definition_fingerprint(gate) + shared = {key: copy.deepcopy(gate[key]) for key in DEFINITION_FIELDS} + shared["definition_sha256"] = gate["definition_sha256"] + for key in ("volumes", "components", "coordinates"): + if key in gate: + shared[key] = copy.deepcopy(gate[key]) + reference = {**copy.deepcopy(shared), "identity": identity, "values": copy.deepcopy(values)} + candidate = {**copy.deepcopy(shared), "identity": gate["candidate_identity"], + "values": copy.deepcopy(values), "run_started_at": "2026-10-02T00:00:00Z"} + return reference, candidate, gate + + +def potential(**kw): + return fixture("potential", [0.0, 1.0, 2.0], {"rms": rule(1e-6, "V"), "max": rule(1e-6, "V")}, + unit="V", mask=[True]*3, volumes=[1, 2, 1], zero_policy="fixed_physical_scale", + gauge=kw.get("gauge", {"kind": "fixed_contact", "index": 0, "value_V": 0.0, "absolute_limit_V": 0.0})) + + +def density(values=(1.0, 2.0, 0.0), volumes=(1, 2, 1), components=("A", "A", "Z"), zero=(2,)): + scales = {c: sum(v*w for v, w, name in zip(values, volumes, components) if name == c) for c in components} + limits = {"log_rms": rule(1e-6), "log_max": rule(1e-6), "zero_density_max": rule(0, "m-3")} + limits.update({"inventory:"+c: rule(0, "1", scale, 1e-6) for c, scale in scales.items()}) + return fixture("density", list(values), limits, unit="m-3", mask=[True]*len(values), volumes=list(volumes), + volume_unit="m3", inventory_unit="1", components=list(components), zero_cells=list(zero), + zero_policy="explicit_zero_cells_no_floor") + + +def complex_fixture(values=None, zero=()): + values = [[1.0, 0.0], [-1.0, 1e-6]] if values is None else values + return fixture("complex", values, + {"real": rule(1e-4, "S m-2"), "imag": rule(1e-4, "S m-2"), + "difference": rule(1e-4, "S m-2"), "phase": rule(1e-3, "rad")}, + unit="S m-2", mask="all_frequencies", coordinates=list(range(1, len(values)+1)), + zero_policy="explicit_zero_else_resolved_phase", zero_indices=list(zero), + phase_floor=1e-8, phase_floor_evidence={"value": 1e-8, "sha256": "c"*64}) + + +class PhysicalComparisonTests(unittest.TestCase): + def test_potential_normal_and_nonuniform_error(self): + a, b, g = potential() + b["values"][1] += 1e-7 + self.assertTrue(compare_physical(a, b, g)["accepted"]) + b["values"][1] += 1e-4 + result = compare_physical(a, b, g) + self.assertFalse(result["accepted"]) + self.assertFalse(result["metrics"]["rms"]["passed"]) + + def test_floating_gauge_shift_and_fixed_contact_are_distinct(self): + a, b, g = potential(gauge={"kind": "cv_zero_mean", "physical_gauge_freedom": True}) + b["values"] = [x+16 for x in b["values"]] + self.assertTrue(compare_physical(a, b, g)["accepted"]) + a, b, g = potential() + b["values"] = [x+16 for x in b["values"]] + self.assertEqual(compare_physical(a, b, g)["code"], "gauge") + + def test_zero_potential_has_no_norm_of_phi_denominator(self): + a, b, g = potential() + a["values"] = b["values"] = [0.0]*3 + self.assertTrue(compare_physical(a, b, g)["accepted"]) + + def test_density_normal_zero_and_negative_branches(self): + a, b, g = density() + b["values"][1] += 1e-7 + self.assertTrue(compare_physical(a, b, g)["accepted"]) + b["values"][2] = 1e-100 + self.assertFalse(compare_physical(a, b, g)["accepted"]) + b["values"][0] = -1 + self.assertEqual(compare_physical(a, b, g)["code"], "density_domain") + + def test_weak_density_has_no_artificial_floor(self): + a, b, g = density((1e-200, 2e-200), (1, 1), ("A", "A"), ()) + b["values"][1] = 2.000001e-200 + self.assertTrue(compare_physical(a, b, g)["accepted"]) + b["values"][1] = 2.1e-200 + self.assertFalse(compare_physical(a, b, g)["accepted"]) + + def test_density_large_integer_motion_is_not_rounded_to_binary64(self): + a, b, g = density((2**60,), (1,), ("A",), ()) + g["thresholds"]["log_max"]["atol"] = 1e-20 + g["definition_sha256"] = definition_fingerprint(g) + a["definition_sha256"] = b["definition_sha256"] = g["definition_sha256"] + b["values"][0] += 1 + self.assertFalse(compare_physical(a, b, g)["accepted"]) + + def test_inventory_cannot_cancel_between_disconnected_components(self): + a, b, g = density((1.0, 1.0), (1, 1), ("A", "B"), ()) + b["values"] = [1.0+5e-7, 1.0-5e-7] + for name in ("inventory:A", "inventory:B"): + g["thresholds"][name]["rtol"] = 1e-8 + g["definition_sha256"] = definition_fingerprint(g) + a["definition_sha256"] = b["definition_sha256"] = g["definition_sha256"] + result = compare_physical(a, b, g) + self.assertTrue(result["metrics"]["log_max"]["passed"]) + self.assertFalse(result["metrics"]["inventory:A"]["passed"]) + self.assertFalse(result["metrics"]["inventory:B"]["passed"]) + + def test_conservative_refinement_preserves_cells_and_both_traces(self): + limits = {"l1": rule(1e-6), "inventory:A": rule(1e-6), "inventory:B": rule(1e-6), + "trace:A:left": rule(1e-6, "m-3"), "trace:A:right": rule(1e-6, "m-3")} + a, b, g = fixture("cells", [1.0, 3.0], limits, unit="m-3", mask="all_cells_and_both_interface_sides", + zero_policy="absolute_integrals_no_floor", area=1.0, area_unit="m2", edge_unit="m", integral_unit="1", + partitions=[{"id": "A", "left": 0, "right": .5}, {"id": "B", "left": .5, "right": 1}]) + a.update(edges=[0, .5, 1], representation="cell_average", traces={"A:left": 1, "A:right": 3}) + b.update(edges=[0, .25, .5, .75, 1], values=[1, 1, 3, 3], representation="cell_average", traces=dict(a["traces"])) + self.assertTrue(compare_physical(a, b, g)["accepted"]) + b["traces"] = {"A:left": 2, "A:right": 2} + self.assertFalse(compare_physical(a, b, g)["accepted"]) + b["edges"] = [0, .25, .6, .75, 1] + self.assertEqual(compare_physical(a, b, g)["code"], "interface") + + def test_complex_circular_phase_crosses_branch_cut(self): + a, b, g = complex_fixture() + b["values"][1][1] = -1e-6 + result = compare_physical(a, b, g) + self.assertTrue(result["accepted"]) + self.assertLess(result["metrics"]["phase"]["value"], 3e-6) + + def test_nd_overlap_requires_geometry_evidence_and_exact_conservation(self): + a, b, g = fixture("cells", [1.0, 3.0], + {"l1": rule(1e-6), "inventory:A": rule(1e-6), "inventory:B": rule(1e-6)}, + unit="m-3", mask="all_cells_and_both_interface_sides", zero_policy="absolute_integrals_no_floor", + volume_unit="m3", integral_unit="1", overlap=[[1, 1, 0], [0, 0, 2]], + reference_volumes=[2, 2], candidate_volumes=[1, 1, 2], + reference_components=["A", "B"], candidate_components=["A", "A", "B"], interface_ids=[], + projection_evidence={"status": "approved", "sha256": "c"*64, "geometry_verified": True}) + a.update(volumes=[2, 2], components=["A", "B"], representation="cell_average", traces={}) + b.update(values=[1, 1, 3], volumes=[1, 1, 2], components=["A", "A", "B"], representation="cell_average", traces={}) + self.assertTrue(compare_physical(a, b, g)["accepted"]) + g["overlap"][0][0] = .5 + g["definition_sha256"] = definition_fingerprint(g) + a["definition_sha256"] = b["definition_sha256"] = g["definition_sha256"] + self.assertEqual(compare_physical(a, b, g)["code"], "projection") + + def test_complex_component_error_cannot_expand_its_scale(self): + a, b, g = complex_fixture() + b["values"][0] = [10.0, 0.0] + self.assertFalse(compare_physical(a, b, g)["accepted"]) + + def test_complex_weak_phase_and_explicit_zero(self): + a, b, g = complex_fixture([[1e-10, 0.0]]) + self.assertEqual(compare_physical(a, b, g)["status"], "unresolved") + a, b, g = complex_fixture([[0.0, 0.0]], (0,)) + self.assertTrue(compare_physical(a, b, g)["accepted"]) + b["values"][0][0] = 1e-100 + self.assertEqual(compare_physical(a, b, g)["code"], "zero_signal_changed") + + def test_phase_relative_error_and_unbound_floor_reject(self): + for field in ("phase_floor", "phase_floor_evidence"): + a, b, g = complex_fixture() + g.pop(field) + self.assertFalse(compare_physical(a, b, g)["accepted"]) + a, b, g = complex_fixture() + g["thresholds"]["phase"]["rtol"] = 0.1 + g["definition_sha256"] = definition_fingerprint(g) + a["definition_sha256"] = b["definition_sha256"] = g["definition_sha256"] + self.assertEqual(compare_physical(a, b, g)["code"], "phase_relative_error") + + def test_every_required_scope_identity_error_and_numeric_field_rejects_missing(self): + for key in DEFINITION_FIELDS: + a, b, g = potential(); b.pop(key) + self.assertFalse(compare_physical(a, b, g)["accepted"], key) + for key in ("reference_identity", "candidate_identity", "reference_errors", "independent_review", "reference_qualified"): + a, b, g = potential(); g.pop(key) + self.assertFalse(compare_physical(a, b, g)["accepted"], key) + for key in ("atol", "rtol", "scale", "unit", "basis"): + a, b, g = potential(); g["thresholds"]["max"].pop(key) + self.assertFalse(compare_physical(a, b, g)["accepted"], key) + + def test_source_unit_rule_mutation_posthoc_and_error_budget_reject(self): + a, b, g = potential(); b["identity"] = {**b["identity"], "input_sha256": "c"*64} + self.assertEqual(compare_physical(a, b, g)["code"], "identity_mismatch") + a, b, g = potential(); b["unit"] = "C" + self.assertEqual(compare_physical(a, b, g)["code"], "measurement_mismatch") + a, b, g = potential(); g["thresholds"]["max"]["scale"] = 100 + self.assertEqual(compare_physical(a, b, g)["code"], "definition_mismatch") + a, b, g = potential(); g["frozen_at"] = b["run_started_at"] + g["definition_sha256"] = definition_fingerprint(g) + a["definition_sha256"] = b["definition_sha256"] = g["definition_sha256"] + self.assertEqual(compare_physical(a, b, g)["code"], "posthoc_gate") + a, b, g = potential(); g["reference_errors"]["max"]["bound"] = 1e-6 + g["definition_sha256"] = definition_fingerprint(g) + a["definition_sha256"] = b["definition_sha256"] = g["definition_sha256"] + self.assertEqual(compare_physical(a, b, g)["code"], "reference_budget") + + def test_M_preserves_signed_zero_types_and_only_declared_metadata_exceptions(self): + values = {"numeric": [1, -0.0], "metadata": {"import_path": "old", "protocol": "fixed"}} + a, b, g = fixture("semantic", values, {"mismatch": rule(0)}, mask="entire_payload", + zero_policy="exact_words", change_kind="M", metadata_exceptions=["import_path"]) + b["values"]["metadata"]["import_path"] = "new" + self.assertTrue(compare_physical(a, b, g)["accepted"]) + b["values"]["numeric"][1] = 0.0 + self.assertFalse(compare_physical(a, b, g)["accepted"]) + a, b, g = fixture("semantic", values, {"mismatch": rule(0)}, mask="entire_payload", + zero_policy="exact_words", change_kind="N", metadata_exceptions=[]) + self.assertEqual(compare_physical(a, b, g)["code"], "word_equality_is_M_only") + + def test_full_R1_is_not_a_generic_physical_comparison(self): + a, b, g = potential(); g["comparison_target"]["family"] = "R1_full" + self.assertEqual(compare_physical(a, b, g)["code"], "R1_contract_required") diff --git a/tests/refactor/test_reference_comparison.py b/tests/refactor/test_reference_comparison.py new file mode 100644 index 00000000..23f389bf --- /dev/null +++ b/tests/refactor/test_reference_comparison.py @@ -0,0 +1,306 @@ +"""Synthetic comparison contract tests; never import or execute a solver.""" + +from copy import deepcopy +import math +import unittest + +from reference_comparison import IDENTITY_FIELDS, compare, hysteresis_from_power + + +def example(kind="scalar", coordinates=None, values=None): + axes = {"scalar": [], "curve": [{"name": "voltage", "unit": "V"}], + "parameter_grid": [{"name": "Nt", "unit": "cm^-3"}, {"name": "CBO", "unit": "eV"}]}[kind] + coordinates = coordinates if coordinates is not None else [[]] + values = values if values is not None else [2.0] + identity = {field: "a" * 64 for field in IDENTITY_FIELDS} + identity["driver"] = "synthetic_recorded_driver_v1" + table = {"identity": identity, "kind": kind, "scope": "synthetic_control", "quantity": "J_total", "unit": "A/m^2", + "axes": axes, "run_started_at": "2026-10-02T00:00:00Z", "created_at": "2026-10-03T00:00:00Z", + "points": [{"coordinates": c, "value": v, "status": "ok", "origin": "native"} + for c, v in zip(coordinates, values)]} + gate = {"id": "synthetic_gate", "version": "1", "status": "frozen", "scope": table["scope"], + "kind": kind, "quantity": table["quantity"], "unit": table["unit"], "axes": axes, + "evidence_level": "numerical", "reference_identity": deepcopy(identity), "candidate_identity": deepcopy(identity), + "expected_coordinates": coordinates, "atol": 0.01, "rtol": 0.001, "scale": "abs_reference", + "reference_error_abs": 0.0, "reference_error_evidence": "exact synthetic numbers; no physical certification", + "rule": "sum", "zero_policy": "absolute_limit", "frozen_at": "2026-10-01T00:00:00Z", + "independent_review": {"status": "approved", "reviewer": "synthetic_fixture", "evidence": "test contract only"}} + return deepcopy(table), deepcopy(table), deepcopy(gate) + + +class ReferenceComparisonTests(unittest.TestCase): + def assert_rejected(self, reference, candidate, gate, code): + result = compare(reference, candidate, gate) + self.assertFalse(result["accepted"]) + self.assertEqual(result["status"], "rejected") + self.assertEqual(result["code"], code, result) + self.assertTrue(result["detail"]) + self.assertEqual(result["rows"], []) + + def test_scalar_mixed_budget_and_margin(self): + ref, new, gate = example() + new["points"][0]["value"] = 2.005 + result = compare(ref, new, gate) + self.assertTrue(result["accepted"]) + row = result["rows"][0] + self.assertAlmostEqual(row["limit"], 0.012) + self.assertAlmostEqual(row["absolute_error"], 0.005) + self.assertAlmostEqual(row["margin"], 0.007) + + def test_limit_is_inclusive(self): + ref, new, gate = example(values=[1.0]) + gate.update(atol=0.125, rtol=0) + new["points"][0]["value"] = 1.125 + self.assertTrue(compare(ref, new, gate)["accepted"]) + new["points"][0]["value"] = math.nextafter(1.125, math.inf) + self.assertFalse(compare(ref, new, gate)["accepted"]) + + def test_candidate_cannot_set_relative_scale(self): + ref, new, gate = example(values=[1.0]) + gate.update(atol=0, rtol=0.1) + new["points"][0]["value"] = 1.11 + result = compare(ref, new, gate) + self.assertFalse(result["accepted"]) + self.assertEqual(result["rows"][0]["limit"], 0.1) + + def test_fixed_physical_scale_is_supported(self): + ref, new, gate = example(values=[0.0]) + gate.update(atol=0, rtol=0.001, scale=100.0) + new["points"][0]["value"] = 0.08 + self.assertTrue(compare(ref, new, gate)["accepted"]) + + def test_curve_is_joined_by_coordinate(self): + ref, new, gate = example("curve", [[-1.0], [0.0], [1.2]], [-4.0, 0.0, 8.0]) + new["points"].reverse() + self.assertTrue(compare(ref, new, gate)["accepted"]) + self.assertEqual([r["coordinates"] for r in compare(ref, new, gate)["rows"]], gate["expected_coordinates"]) + + def test_curve_position_swap_is_not_equivalence(self): + ref, new, gate = example("curve", [[0.0], [1.0]], [1.0, 10.0]) + new["points"][0]["value"], new["points"][1]["value"] = 10.0, 1.0 + result = compare(ref, new, gate) + self.assertEqual(result["counts"], {"failed": 2}) + + def test_two_parameter_grid_joins_both_coordinates(self): + ref, new, gate = example("parameter_grid", [[1e9, -0.2], [1e9, 0.1], [1e10, -0.2], [1e10, 0.1]], [4.0, 8.0, 2.0, 6.0]) + new["points"] = [new["points"][i] for i in [3, 0, 2, 1]] + self.assertTrue(compare(ref, new, gate)["accepted"]) + + def test_cbo_minus_point_two_cannot_be_point_zero_five(self): + ref, new, gate = example("parameter_grid", [[1e9, -0.2]], [4.0]) + new["points"][0]["coordinates"][1] = 0.05 + self.assert_rejected(ref, new, gate, "coordinate_mismatch") + + def test_no_implicit_coordinate_rounding(self): + ref, new, gate = example("curve", [[0.2]], [1.0]) + new["points"][0]["coordinates"] = [math.nextafter(0.2, 0.0)] + self.assert_rejected(ref, new, gate, "coordinate_mismatch") + + def test_large_integer_coordinates_do_not_collapse(self): + ref, new, gate = example("curve", [[2**53], [2**53 + 1]], [1.0, 2.0]) + new["points"].reverse() + self.assertTrue(compare(ref, new, gate)["accepted"]) + + def test_missing_extra_and_duplicate_coordinates_rejected(self): + for change, code in [("missing", "coordinate_mismatch"), ("extra", "coordinate_mismatch"), ("duplicate", "duplicate_coordinate")]: + with self.subTest(change=change): + ref, new, gate = example("curve", [[0.0], [1.0]], [1.0, 2.0]) + if change == "missing": + new["points"].pop() + else: + point = deepcopy(new["points"][0]) + if change == "extra": + point["coordinates"] = [3.0] + new["points"].append(point) + self.assert_rejected(ref, new, gate, code) + + def test_both_table_and_gate_coordinates_must_be_nonempty_unique(self): + ref, new, gate = example("curve", [[0.0]], [1.0]) + gate["expected_coordinates"] = [] + self.assert_rejected(ref, new, gate, "incomplete_gate") + gate["expected_coordinates"] = [[0.0], [0.0]] + self.assert_rejected(ref, new, gate, "duplicate_coordinate") + + def test_source_and_every_execution_identity_field_are_checked(self): + for side in ("reference", "candidate"): + for field in IDENTITY_FIELDS: + with self.subTest(side=side, field=field): + ref, new, gate = example() + table = ref if side == "reference" else new + table["identity"][field] = "other_driver" if field == "driver" else "b" * 64 + self.assert_rejected(ref, new, gate, "identity_mismatch") + + def test_explicitly_bound_new_source_can_be_compared(self): + ref, new, gate = example() + gate["candidate_identity"]["source_sha256"] = "b" * 64 + new["identity"]["source_sha256"] = "b" * 64 + self.assertTrue(compare(ref, new, gate)["accepted"]) + + def test_unknown_identity_is_not_a_wildcard(self): + ref, new, gate = example() + new["identity"]["initial_state_sha256"] = None + gate["candidate_identity"]["initial_state_sha256"] = None + self.assert_rejected(ref, new, gate, "missing_identity") + + def test_missing_thresholds_or_reference_budget_fail_closed(self): + for field in ("atol", "rtol", "scale", "reference_error_abs", "reference_error_evidence", "rule", "zero_policy"): + with self.subTest(field=field): + ref, new, gate = example() + del gate[field] + self.assert_rejected(ref, new, gate, "missing_threshold") + + def test_unreviewed_proposal_cannot_accept(self): + ref, new, gate = example() + gate["status"] = "awaiting_independent_review" + self.assert_rejected(ref, new, gate, "unreviewed_gate") + gate["status"] = "frozen" + gate["independent_review"]["status"] = "pending" + self.assert_rejected(ref, new, gate, "unreviewed_gate") + + def test_results_dependent_gate_and_timezone_ambiguity_rejected(self): + ref, new, gate = example() + gate["frozen_at"] = new["created_at"] + self.assert_rejected(ref, new, gate, "posthoc_gate") + gate["frozen_at"] = "2026-09-01T00:00:00" + self.assert_rejected(ref, new, gate, "invalid_time") + + def test_gate_between_run_start_and_artifact_creation_is_posthoc(self): + ref, new, gate = example() + gate["frozen_at"] = "2026-10-02T12:00:00Z" + self.assert_rejected(ref, new, gate, "posthoc_gate") + del new["run_started_at"] + self.assert_rejected(ref, new, gate, "invalid_time") + + def test_reference_error_must_fit_one_third_budget(self): + ref, new, gate = example(values=[1.0]) + gate.update(atol=0.09, rtol=0, reference_error_abs=0.031) + self.assert_rejected(ref, new, gate, "reference_budget_exceeded") + gate["reference_error_abs"] = 0.03 + self.assertTrue(compare(ref, new, gate)["accepted"]) + + def test_missing_reference_failed_solver_and_unknown_remain_distinct(self): + ref, new, gate = example("curve", [[0.0], [1.0], [2.0], [3.0]], [1.0] * 4) + ref["points"][0].update(status="reference_missing", value=None, reason="blank source cell") + new["points"][0].update(status="solver_failed", value=None, reason="nonlinear convergence") + new["points"][1].update(status="solver_failed", value=None, reason="time budget") + ref["points"][2].update(status="unknown", value=None, reason="unresolved input identity") + result = compare(ref, new, gate) + self.assertFalse(result["accepted"]) + self.assertEqual(result["reference_status_counts"], {"reference_missing": 1, "ok": 2, "unknown": 1}) + self.assertEqual(result["candidate_status_counts"], {"solver_failed": 2, "ok": 2}) + self.assertEqual(result["counts"], {"unresolved": 3, "passed": 1}) + self.assertEqual(result["rows"][0]["candidate_reason"], "nonlinear convergence") + + def test_unknown_needs_reason_and_cannot_carry_zero_fill(self): + ref, new, gate = example() + new["points"][0].update(status="unknown", value=0.0, reason="missing") + self.assert_rejected(ref, new, gate, "invalid_status") + new["points"][0].update(value=None, reason="") + self.assert_rejected(ref, new, gate, "missing_reason") + + def test_nonfinite_values_boolean_and_negative_budget_rejected(self): + for bad in (math.nan, math.inf, -math.inf, True, "1.0"): + with self.subTest(bad=bad): + ref, new, gate = example() + new["points"][0]["value"] = bad + self.assert_rejected(ref, new, gate, "invalid_number") + ref, new, gate = example() + gate["atol"] = -1.0 + self.assert_rejected(ref, new, gate, "invalid_number") + + def test_unit_metric_branch_scope_and_axis_name_mismatches_rejected(self): + for field, value in [("unit", "mA/cm^2"), ("quantity", "HI_normalized"), ("scope", "reverse_branch"), + ("axes", [{"name": "time", "unit": "s"}])]: + with self.subTest(field=field): + ref, new, gate = example("curve", [[0.0]], [1.0]) + new[field] = value + self.assert_rejected(ref, new, gate, "measurement_mismatch") + + def test_interpolation_does_not_count_as_measured_or_computed_points(self): + for side in ("reference", "candidate"): + ref, new, gate = example() + table = ref if side == "reference" else new + table["points"][0]["origin"] = "PCHIP" + self.assert_rejected(ref, new, gate, "unqualified_point") + + def test_zero_signal_uses_declared_absolute_limit(self): + ref, new, gate = example(values=[0.0]) + new["points"][0]["value"] = 0.005 + result = compare(ref, new, gate) + self.assertTrue(result["accepted"]) + self.assertEqual(result["rows"][0]["scale"], 0.0) + new["points"][0]["value"] = 0.02 + self.assertFalse(compare(ref, new, gate)["accepted"]) + + def test_existing_max_envelope_is_not_relaxed_into_sum(self): + ref, new, gate = example(values=[1.0]) + gate.update(atol=0.1, rtol=0.1, rule="max") + new["points"][0]["value"] = 1.15 + self.assertFalse(compare(ref, new, gate)["accepted"]) + gate["rule"] = "sum" + self.assertTrue(compare(ref, new, gate)["accepted"]) + + def test_bitwise_historical_migration_preserves_signed_zero(self): + ref, new, gate = example(values=[0.0]) + gate.update(rule="bitwise", atol=0, rtol=0, evidence_level="historical") + self.assertTrue(compare(ref, new, gate)["accepted"]) + new["points"][0]["value"] = -0.0 + result = compare(ref, new, gate) + self.assertFalse(result["accepted"]) + self.assertEqual(result["rows"][0]["reason"], "numeric_payload_mismatch") + + def test_bitwise_cannot_certify_new_physics_or_different_numerics(self): + ref, new, gate = example() + gate.update(rule="bitwise", atol=0, rtol=0) + self.assert_rejected(ref, new, gate, "invalid_bitwise_gate") + gate["evidence_level"] = "historical" + gate["candidate_identity"]["numerics_sha256"] = new["identity"]["numerics_sha256"] = "b" * 64 + self.assert_rejected(ref, new, gate, "invalid_bitwise_gate") + + def test_bitwise_does_not_round_large_integers_or_change_numeric_type(self): + ref, new, gate = example(values=[2**53]) + gate.update(rule="bitwise", atol=0, rtol=0, evidence_level="historical") + new["points"][0]["value"] = 2**53 + 1 + result = compare(ref, new, gate) + self.assertFalse(result["accepted"]) + self.assertEqual(result["rows"][0]["absolute_error"], 1) + new["points"][0]["value"] = float(2**53) + self.assertFalse(compare(ref, new, gate)["accepted"]) + new["points"][0]["value"] = 2**53 + self.assertTrue(compare(ref, new, gate)["accepted"]) + + def test_hysteresis_definitions_are_separate(self): + paper = hysteresis_from_power(10.0, 20.0, "HI_P", forward_error_abs=0, reverse_error_abs=0) + normalized = hysteresis_from_power(10.0, 20.0, "HI_normalized", forward_error_abs=0, reverse_error_abs=0) + self.assertEqual(paper["value"], 1.0) + self.assertEqual(normalized["value"], 0.5) + + def test_hysteresis_zero_denominators_are_unknown_not_zero(self): + for definition, forward, reverse in [("HI_P", 0.0, 1.0), ("HI_normalized", 1.0, 0.0), ("HI_P", 0.0, 0.0)]: + with self.subTest(definition=definition): + result = hysteresis_from_power(forward, reverse, definition) + self.assertEqual(result["status"], "unknown") + self.assertIsNone(result["value"]) + self.assertEqual(result["reason"], "zero_denominator") + + def test_nonzero_unresolved_power_denominator_is_not_accepted(self): + for definition, fwd, rev, f_error, r_error in [ + ("HI_P", 0.01, 2.0, 0.01, 0.001), + ("HI_normalized", 2.0, 0.01, 0.001, 0.02), + ]: + with self.subTest(definition=definition): + result = hysteresis_from_power(fwd, rev, definition, forward_error_abs=f_error, reverse_error_abs=r_error) + self.assertIsNone(result["value"]) + self.assertEqual(result["reason"], "denominator_unresolved") + + def test_hi_needs_supplied_uncertainty_and_propagates_it(self): + self.assertEqual(hysteresis_from_power(10.0, 20.0, "HI_P")["reason"], "power_uncertainty_missing") + result = hysteresis_from_power(10.0, 20.0, "HI_P", forward_error_abs=1.0, reverse_error_abs=2.0) + self.assertEqual(result["status"], "ok") + self.assertAlmostEqual(result["absolute_error_bound"], 22.0 / 9.0 - 2.0) + tiny = hysteresis_from_power(10.0, 20.0, "HI_P", forward_error_abs=1e-20, reverse_error_abs=1e-20) + self.assertGreater(tiny["absolute_error_bound"], 0) + + +if __name__ == "__main__": + unittest.main() diff --git a/tests/refactor/test_reference_map.py b/tests/refactor/test_reference_map.py new file mode 100644 index 00000000..3317a4bd --- /dev/null +++ b/tests/refactor/test_reference_map.py @@ -0,0 +1,664 @@ +"""Small metadata-only failures; no scientific modules or fixtures are loaded.""" + +import copy +import hashlib +import json +import os +from pathlib import Path +import tempfile +import unittest + +import pytest + +from scripts.benchmarks.reference_map import ( + MapError, check_comparison, digest, validate_comparison_scopes, validate_map, +) + + +class ReferenceMapTests(unittest.TestCase): + def setUp(self): + self.temp = tempfile.TemporaryDirectory() + self.addCleanup(self.temp.cleanup) + self.root = Path(self.temp.name) + (self.root / "reproducibility").mkdir() + coverage = { + "capabilities": [ + {"id": "science", "route_id": "s", "origin_key": "test:science"}, + {"id": "helper", "route_id": "e", "origin_key": "export:helper"}, + ], + "migration_routes": { + "s": {"migration_tasks": ["P05-03"]}, + "e": {"migration_tasks": ["P03-01"]}, + }, + } + manifest = {"scaps": {"groups": []}, "hi": {"cases": []}, + "capability_reconciliation": { + "slice_references": [{"capability_id": "science"}], + "experiment_bindings": []}} + self.sources = {} + self.write_source("coverage", "coverage.json", coverage) + self.write_source("gates", "gates.json", { + "q": {"comparison": "absolute_linf", "limit": 1e-4, "units": "V"}}) + self.write_source("code", "oracle.py", "def compare():\n assert 1 == 1\n") + (self.root / "reproducibility/RefactorReferenceManifestV1.json").write_text(json.dumps(manifest)) + target = {"kind": "original_refinement_lane", "capability_id": "science", + "scope_id": "test:science"} + value = {"comparison": "absolute_linf", "limit": 1e-4, "units": "V"} + binding = {"source_id": "gates", "pointer": "/q", "value_sha256": digest(value)} + self.record = { + "capability_id": "science", "route_id": "s", "origin_key": "test:science", + "target": target, "state": "original_rule_bound_pending_evidence", + "citations": [{"source_id": "code", "symbol": "compare"}], + "rule_ids": ["q"], + "active_contract": None, + "obligations": [{"prospective": True, "artifact": "future/scope.json", + "tasks": ["P05-03"], "missing": ["reference error"]}], + } + self.mapping = { + "schema": "solarlab.refactor_comparison_map.v1", "sources": self.sources, + "inputs": {"coverage_source_id": "coverage", "manifest_payload_hashes": { + "/scaps/groups": digest([]), "/hi/cases": digest([])}}, + "scientific_records": [self.record], "test_link_audit": [], + "rule_catalog": {"q": {"binding": binding, "gate_value": value, + "unit": "V", "norm": "absolute_linf", + "scale": {"kind": "absolute_original_units"}, + "zero_policy": {"kind": "absolute_comparison_no_division"}}}, + "engineering_routes": {"e": {"tasks": ["P03-01"], "physics_qualification": False}}, + } + + def write_source(self, sid, name, content): + raw = content.encode() if isinstance(content, str) else json.dumps(content).encode() + (self.root / name).write_bytes(raw) + self.sources[sid] = {"root": "repository", "path": name, + "sha256": hashlib.sha256(raw).hexdigest()} + + def validate(self, mapping=None): + return validate_map(mapping or self.mapping, self.root, self.root) + + def test_complete_partition_retains_pending_evidence(self): + result = self.validate() + self.assertEqual(result["scientific_records"], 1) + self.assertEqual(result["engineering_capabilities"], 1) + self.assertEqual(result["active_comparisons"], 0) + with self.assertRaisesRegex(MapError, "comparison_blocked"): + check_comparison(self.record, {}) + + def test_dangling_source_symbol_and_pointer(self): + for citation in ({"source_id": "absent"}, {"source_id": "code", "symbol": "absent"}, + {"source_id": "gates", "pointer": "/absent", "value_sha256": "0" * 64}): + with self.subTest(citation=citation): + mapping = copy.deepcopy(self.mapping) + mapping["scientific_records"][0]["citations"] = [citation] + with self.assertRaises(MapError): + self.validate(mapping) + + def test_source_and_protected_payload_mutations_fail(self): + (self.root / "oracle.py").write_text("def compare(): pass\n") + with self.assertRaisesRegex(MapError, "source_hash_mismatch"): + self.validate() + self.write_source("code", "oracle.py", "def compare():\n assert 1 == 1\n") + self.mapping["inputs"]["manifest_payload_hashes"]["/hi/cases"] = "0" * 64 + with self.assertRaisesRegex(MapError, "input_payload_drift"): + self.validate() + + def test_wrong_route_scope_and_obligation_fail(self): + for field, value in (("route_id", "e"), ("origin_key", "other"), + ("target", {"capability_id": "other", "scope_id": "wrong"})): + with self.subTest(field=field): + mapping = copy.deepcopy(self.mapping) + mapping["scientific_records"][0][field] = value + with self.assertRaises(MapError): + self.validate(mapping) + self.record["obligations"][0]["tasks"] = ["P09-01"] + with self.assertRaisesRegex(MapError, "wrong_downstream_tasks"): + self.validate() + + def test_gate_units_norm_scale_zero_and_threshold_cannot_drift(self): + for field in ("unit", "norm", "scale", "zero_policy", "gate_value"): + for value in (None, "wrong"): + with self.subTest(field=field, value=value): + mapping = copy.deepcopy(self.mapping) + mapping["rule_catalog"]["q"][field] = value + with self.assertRaises(MapError): + self.validate(mapping) + + def test_engineering_route_cannot_claim_physics(self): + self.mapping["engineering_routes"]["e"]["physics_qualification"] = True + with self.assertRaisesRegex(MapError, "engineering_claims_physics"): + self.validate() + + def active(self): + identity = {field + "_sha256": "a" * 64 for field in + ("source", "input", "protocol", "initial_state", "model", "numerics", "environment")} + identity["driver"] = "synthetic_fixture_only" + contract = {"target": self.record["target"], "source_identity": identity, + "unit": "V", "norm": "absolute_linf", "scale": "fixed_reference", + "zero_policy": "absolute", "threshold": 1e-4, "review_status": "approved", + "review_evidence": "frozen/gate.json", "reference_qualified": True, + "reference_error": 1e-6, "frozen_at": "2026-10-05T00:00:00Z"} + record = copy.deepcopy(self.record) + record["active_contract"] = contract + request = {**contract, "run_started_at": "2026-10-05T00:00:01Z"} + return record, request + + def test_every_active_identity_quantity_field_is_required_and_exact(self): + record, request = self.active() + self.assertTrue(check_comparison(record, request)["metadata_eligible"]) + for field in ("target", "source_identity", "unit", "norm", "scale", "zero_policy"): + with self.subTest(field=field): + missing = dict(request) + missing.pop(field) + with self.assertRaises(MapError): + check_comparison(record, missing) + wrong = {**request, field: "other"} + with self.assertRaises(MapError): + check_comparison(record, wrong) + + def test_unknown_threshold_error_review_and_posthoc_freeze_fail(self): + for field, value in (("threshold", None), ("reference_error", None), + ("threshold", float("nan")), ("reference_error", 1.0), + ("reference_qualified", False), ("review_status", "pending"), + ("review_evidence", None)): + with self.subTest(field=field): + record, request = self.active() + record["active_contract"][field] = value + with self.assertRaises(MapError): + check_comparison(record, request) + record, request = self.active() + request["run_started_at"] = "2026-10-04T00:00:00Z" + with self.assertRaisesRegex(MapError, "posthoc"): + check_comparison(record, request) + + def test_word_equality_is_only_M_with_metadata_exceptions(self): + record, request = self.active() + record["active_contract"].update(norm="word_equal", threshold=0, reference_error=0, change_kind="N") + request["norm"] = "word_equal" + with self.assertRaisesRegex(MapError, "M_only"): + check_comparison(record, request) + record["active_contract"]["change_kind"] = "M" + with self.assertRaisesRegex(MapError, "metadata_exceptions"): + check_comparison(record, request) + record["active_contract"]["metadata_exceptions"] = ["timestamp"] + self.assertFalse(check_comparison(record, request)["scientific_qualification_granted"]) + + def test_missing_identity_component_and_dangling_rule_fail(self): + record, request = self.active() + record["active_contract"]["source_identity"] = {"source_sha256": "a" * 64} + request["source_identity"] = record["active_contract"]["source_identity"] + with self.assertRaisesRegex(MapError, "source_identity_incomplete"): + check_comparison(record, request) + self.record["rule_ids"] = ["absent"] + with self.assertRaisesRegex(MapError, "dangling_rule"): + self.validate() + + def test_active_contract_must_match_its_frozen_gate_artifact(self): + record, request = self.active() + policy = copy.deepcopy(record["active_contract"]) + self.write_source("active_gate", "active_gate.json", {"gate": policy}) + record["active_contract"]["gate_binding"] = { + "source_id": "active_gate", "pointer": "/gate", "value_sha256": digest(policy)} + record["active_contract"]["validation_run_started_at"] = request["run_started_at"] + record["state"] = "active" + self.mapping["scientific_records"] = [record] + self.assertEqual(self.validate()["active_comparisons"], 1) + record["active_contract"]["threshold"] = 2e-4 + with self.assertRaisesRegex(MapError, "active_gate_content_mismatch"): + self.validate() + + def test_quoted_assertion_cannot_differ_from_bound_source(self): + text = " assert 1 == 1" + rule = self.mapping["rule_catalog"]["q"] + rule.pop("gate_value") + rule["binding"] = {"source_id": "code", "symbol": "compare", "lines": [2, 2], + "text_sha256": hashlib.sha256(text.encode()).hexdigest()} + rule["expression"] = " assert 1 == 2" + with self.assertRaisesRegex(MapError, "assertion_expression_mismatch"): + self.validate() + + def test_configuration_consumer_keeps_its_scientific_parent(self): + path = self.root / "reproducibility/RefactorReferenceManifestV1.json" + manifest = json.loads(path.read_text()) + manifest["capability_reconciliation"]["configured_capability_bindings"] = [{ + "capability_id": "helper", "benchmark_reference_ids": ["science"], + "refinement_reference_ids": []}] + path.write_text(json.dumps(manifest)) + with self.assertRaisesRegex(MapError, "consumer_link_coverage"): + self.validate() + self.mapping["consumer_scientific_links"] = [{ + "capability_id": "helper", "route_id": "e", "scientific_record_ids": ["science"], + "scientific_qualification_granted": False}] + self.assertEqual(self.validate()["consumer_scientific_links"], 1) + self.mapping["consumer_scientific_links"][0]["scientific_record_ids"] = [] + with self.assertRaisesRegex(MapError, "wrong_consumer_science_links"): + self.validate() + + +class ComparisonScopeTests(unittest.TestCase): + def setUp(self): + self.base = ReferenceMapTests("test_complete_partition_retains_pending_evidence") + self.base.setUp() + self.addCleanup(self.base.doCleanups) + self.base.record["comparison_scope_id"] = "scope-science" + self.scopes = { + "schema": "solarlab.refactor_comparison_scopes.v1", "sources": self.base.sources, + "rules": {"exact": { + "id": "exact", "status": "numeric_parameters_frozen", "quantity": "semantic payload", + "unit": "typed payload", "norm": "exact_structure_and_words", "scale": 0, + "zero_policy": "exact", "threshold": 0, "scope_boundary": "synthetic engineering fixture only", + "parameter_justification": "Exact metadata identity; no physical tolerance", + "comparator": {"source_id": "code", "symbol": "compare"}, + }}, + "records": [{"id": "scope-science", "capability_id": "science", "route_id": "s", + "origin_key": "test:science", "disposition": "engineering_only", + "positive_physical_obligation": False, "engineering_expected": {"count": 1}, + "classification_basis": "Synthetic schema-only fixture", + "rule_ids": ["exact"], "active_comparison": None, "scientific_qualification_granted": False, + "remaining_inputs": [{"field": "source bound M output", "needed_from": "fixture", + "blocked_use": "claiming execution was checked"}]}], + } + + def validate(self): + return validate_comparison_scopes(self.scopes, self.base.mapping, self.base.root, self.base.root) + + def test_scoped_partition_keeps_qualification_closed(self): + self.assertEqual(self.validate()["records"], 1) + self.assertEqual(self.validate()["active_new_comparisons"], 0) + + def test_unknown_numeric_field_and_vague_pending_record_reject(self): + for field in ("quantity", "unit", "norm", "scale", "threshold", "zero_policy"): + saved = self.scopes["rules"]["exact"].pop(field) + with self.assertRaises(MapError): + self.validate() + self.scopes["rules"]["exact"][field] = saved + self.scopes["records"][0]["remaining_inputs"][0].pop("needed_from") + with self.assertRaisesRegex(MapError, "scope_vague_missing_input"): + self.validate() + + def test_changed_source_wrong_scope_and_unadmitted_active_gate_reject(self): + self.scopes["sources"]["code"]["sha256"] = "0"*64 + with self.assertRaisesRegex(MapError, "scope_source_changed"): + self.validate() + self.base.write_source("code", "oracle.py", "def compare():\n assert 1 == 1\n") + self.scopes["records"][0]["route_id"] = "other" + with self.assertRaisesRegex(MapError, "scope_wrong_route"): + self.validate() + self.scopes["records"][0]["route_id"] = "s" + self.scopes["records"][0]["active_comparison"] = {"threshold": 1} + with self.assertRaisesRegex(MapError, "scope_unadmitted_active_comparison"): + self.validate() + + def test_dangling_comparator_and_unmarked_missing_parameters_reject(self): + rule = self.scopes["rules"]["exact"] + rule["comparator"]["symbol"] = "absent" + with self.assertRaisesRegex(MapError, "scope_dangling_symbol"): + self.validate() + rule["comparator"]["symbol"] = "compare" + rule["status"] = "missing_parameters" + with self.assertRaisesRegex(MapError, "scope_unmarked_missing_parameters"): + self.validate() + rule.update(active=False, missing_fields=["numeric reference scale"]) + self.assertEqual(self.validate()["rules"], 1) + + def test_original_rule_value_is_not_silently_rebound(self): + rule = self.scopes["rules"]["exact"] + rule.update(status="original_contract_only", original_rule_ids=["q"], + original_rules_sha256=digest({"q": self.base.mapping["rule_catalog"]["q"]})) + self.assertEqual(self.validate()["rules"], 1) + self.base.mapping["rule_catalog"]["q"]["gate_value"]["limit"] = 0.1 + with self.assertRaisesRegex(MapError, "scope_original_rule_changed"): + self.validate() + + @pytest.mark.xfail( + strict=True, + raises=MapError, + reason="OI-RefMapPin: archived comparison scope source pin drift remains unresolved", + ) + def test_actual_scope_links_and_protected_payloads(self): + repo = Path(__file__).resolve().parents[2] + scopes = json.loads((repo/"reproducibility/RefactorComparisonScopesV1.json").read_text()) + mapping = json.loads((repo/"reproducibility/RefactorComparisonMapV1.json").read_text()) + archive = Path(os.environ.get("SOLARLAB_ARCHIVE", str( + Path.home()/"Library/Mobile Documents/com~apple~CloudDocs/projects/solarlab"))) + if not archive.is_dir(): + self.skipTest("Source-bound archive is verified separately when available") + result = validate_comparison_scopes(scopes, mapping, repo, archive) + self.assertEqual(result["records"], 170) + manifest = json.loads((repo/"reproducibility/RefactorReferenceManifestV1.json").read_text()) + self.assertEqual(digest(manifest["scaps"]["groups"]), scopes["protected_manifest_payload_sha256"]["/scaps/groups"]) + self.assertEqual(digest(manifest["hi"]["cases"]), scopes["protected_manifest_payload_sha256"]["/hi/cases"]) + self.assertEqual(sum(r["disposition"] == "engineering_only" for r in scopes["records"]), 2) + + def test_actual_short_R1_source_is_bound_without_inventing_a_test(self): + import ast + repo = Path(__file__).resolve().parents[2] + scopes = json.loads((repo/"reproducibility/RefactorComparisonScopesV1.json").read_text()) + rule = scopes["rules"]["R1_short_original"] + source = scopes["sources"]["r1_short"] + raw = (repo/source["path"]).read_bytes() + self.assertEqual(hashlib.sha256(raw).hexdigest(), source["sha256"]) + function = next(n for n in ast.parse(raw).body if isinstance(n, ast.FunctionDef) and n.name == "run_coupled") + limits = next(ast.literal_eval(n.value) for n in ast.walk(function) + if isinstance(n, ast.Assign) and any(isinstance(t, ast.Name) and t.id == "limits" for t in n.targets)) + self.assertEqual(rule["source_limits"], limits) + self.assertIsNone(rule["existing_test_for_wrapper"]) + self.assertEqual(rule["times_s"], [0, 1e-8, 1e-6, 1e-4]) + self.assertIn("Not R1-1", rule["scope_boundary"]) + + +class NumericParameterPreparationTests(unittest.TestCase): + """Actual source-bound parameters stay separate from reference admission.""" + + @classmethod + def setUpClass(cls): + cls.repo = Path(__file__).resolve().parents[2] + cls.scopes_path = cls.repo / "reproducibility/RefactorComparisonScopesV1.json" + cls.scopes = json.loads(cls.scopes_path.read_text()) + cls.mapping_path = cls.repo / "reproducibility/RefactorComparisonMapV1.json" + cls.mapping = json.loads(cls.mapping_path.read_text()) + cls.manifest = json.loads((cls.repo / "reproducibility/RefactorReferenceManifestV1.json").read_text()) + cls.analytic = json.loads((cls.repo / "reproducibility/RefactorAnalyticReferencesV1.json").read_text()) + cls.packets = [p for row in cls.scopes["records"] for p in row.get("parameter_bindings", [])] + + def test_parameter_sources_and_analytic_pointers_are_bound(self): + import ast + for packet in self.packets: + self.assertIn(packet["family_rule_id"], self.scopes["rules"]) + self.assertTrue(packet["applicability"]) + self.assertTrue(packet["remaining_parameters"]) + for citation in packet["citations"]: + source = self.scopes["sources"][citation["source_id"]] + if source["root"] != "repository": + continue # The existing archive-aware scope test checks the plan. + raw = (self.repo / source["path"]).read_bytes() + self.assertEqual(hashlib.sha256(raw).hexdigest(), source["sha256"]) + if "lines" in citation: + lo, hi = citation["lines"] + text = "\n".join(raw.decode().splitlines()[lo - 1:hi]) + self.assertEqual(hashlib.sha256(text.encode()).hexdigest(), citation["text_sha256"]) + if "symbol" in citation: + self.assertIn(citation["symbol"], {n.name for n in ast.walk(ast.parse(raw)) + if isinstance(n, (ast.FunctionDef, ast.ClassDef))}) + if "analytic_reference_binding" in packet: + binding = packet["analytic_reference_binding"] + index = int(binding["pointer"].rsplit("/", 1)[1]) + original = self.analytic["definitions"][index] + self.assertEqual(original["id"], binding["definition_id"]) + self.assertEqual(digest(original), binding["value_sha256"]) + + def test_limits_are_finite_with_named_units_and_fixed_scales(self): + import math + + def check(value): + if isinstance(value, dict): + if "atol" in value: + self.assertTrue(value["unit"]) + for key in ("atol", "rtol"): + self.assertIn(type(value[key]), (int, float)) + self.assertTrue(math.isfinite(value[key]) and value[key] >= 0) + scale = value.get("scale", value.get("fixed_reference_scale")) + self.assertIn(type(scale), (int, float)) + self.assertTrue(math.isfinite(scale) and scale >= 0) + for child in value.values(): + check(child) + elif isinstance(value, list): + for child in value: + check(child) + + for packet in self.packets: + check(packet["limits"]) + eligibility = packet["reference_eligibility"] + self.assertIsNone(eligibility["reference_error_bound"]) + self.assertFalse(eligibility["reference_qualified"]) + self.assertIsNone(eligibility["active_comparison"]) + self.assertEqual(eligibility["default_reference_error_share"], "1/3") + self.assertEqual({p["family_rule_id"] for p in self.packets}, { + "potential_packet", "density_inventory_packet", "current_packet", + "operator_packet", "JV_metric_packet", "complex_packet", + "projection_packet", "spectrum_packet", "transient_packet", "thermal_packet", + }) + + def test_affine_geometry_is_original_and_numeric_definition_does_not_admit_use(self): + from physical_comparison import compare_physical, definition_fingerprint, validate_definition + from reference_comparison import Rejected + original = next(d for d in self.analytic["definitions"] + if d["id"] == "poisson_affine_51_stored_nodes") + for packet in self.packets: + if "physical_definition" not in packet: + continue + gate = copy.deepcopy(packet["physical_definition"]) + self.assertTrue(validate_definition(gate)) + self.assertEqual(gate["coordinates_m"], original["inputs"]["x_m"]["values"]) + weights = original["inputs"]["CV_weights"]["binary64"] + self.assertEqual(gate["volumes"], weights["values"] if isinstance(weights, dict) else weights) + self.assertEqual(len(gate["volumes"]), 51) + self.assertTrue(all(gate["mask"])) + self.assertEqual(gate["gauge"]["value_V"], 0.0) + gate["definition_sha256"] = definition_fingerprint(gate) + table = {"definition_sha256": gate["definition_sha256"]} + result = compare_physical(table, table, gate) + self.assertFalse(result["accepted"]) + self.assertEqual(result["code"], "unreviewed_gate") + gate.pop("thresholds") + with self.assertRaises(Rejected): + validate_definition(gate) + + def test_source_inventory_zero_and_phase_branches_remain_distinct(self): + import math + cases = {p["case_id"]: p for p in self.packets} + inventory = cases["mobile_single_and_dual_absorber_inventory"] + values = inventory["known_parameters"] + self.assertEqual(values["positive_inventory_m2"], 4e15) + self.assertEqual(values["negative_inventory_m2_dual"], 2.8e15) + self.assertEqual(inventory["limits"]["positive_drift"]["scale"], 4e15) + self.assertEqual(inventory["limits"]["negative_drift_dual"]["scale"], 2.8e15) + self.assertEqual(inventory["limits"]["inactive_density"]["atol"], 0.0) + self.assertEqual(inventory["limits"]["positive_drift"]["operator"], "lt") + lockin = cases["ion_aware_lockin_three_frequencies"] + self.assertEqual(lockin["limits"]["frequency_phase"]["atol"], 0.01 * math.pi / 180.0) + self.assertEqual(lockin["limits"]["frequency_phase"]["unit"], "rad") + self.assertEqual(lockin["limits"]["frequency_phase"]["rtol"], 0.0) + self.assertEqual(lockin["numeric_parameter_status"], "prospective_complete") + transient = cases["original_clean_exponential_fit_and_zero_perturbation"] + self.assertIsNone(transient["known_parameters"]["zero_case_lifetime"]) + self.assertEqual(transient["known_parameters"]["zero_case_samples"], 100) + + def test_links_and_protected_payloads_match_and_every_scope_stays_closed(self): + scopes_hash = hashlib.sha256(self.scopes_path.read_bytes()).hexdigest() + map_hash = hashlib.sha256(self.mapping_path.read_bytes()).hexdigest() + self.assertEqual(self.mapping["comparison_scopes"]["sha256"], scopes_hash) + self.assertEqual(self.manifest["capability_reconciliation"]["comparison_scopes"]["sha256"], scopes_hash) + self.assertEqual(self.manifest["capability_reconciliation"]["comparison_map"]["sha256"], map_hash) + protected = self.scopes["protected_manifest_payload_sha256"] + self.assertEqual(digest(self.manifest["scaps"]["groups"]), protected["/scaps/groups"]) + self.assertEqual(digest(self.manifest["hi"]["cases"]), protected["/hi/cases"]) + self.assertEqual(sum(r["status"] == "missing_parameters" for r in self.scopes["rules"].values()), 10) + for row in self.mapping["scientific_records"]: + with self.assertRaisesRegex(MapError, "comparison_blocked"): + check_comparison(row, {}) + + +class ComparisonScaleClosureTests(unittest.TestCase): + """Concrete source geometry/operators, without importing the old engine.""" + + @classmethod + def setUpClass(cls): + cls.repo = Path(__file__).resolve().parents[2] + cls.scopes = json.loads((cls.repo / "reproducibility/RefactorComparisonScopesV1.json").read_text()) + cls.mapping = json.loads((cls.repo / "reproducibility/RefactorComparisonMapV1.json").read_text()) + cls.closures = {c["id"]: c for row in cls.scopes["records"] for c in row.get("scale_closures", [])} + + def test_original_full_endpoint_measure_and_signed_boundary_are_bound(self): + import ast + from fractions import Fraction + from physical_comparison import _potential, validate_definition + + item = self.closures["foundation_v1_uniform44_potential"] + gate = item["physical_definition"] + self.assertTrue(validate_definition(gate)) + x, w = gate["coordinates_m"], gate["volumes"] + self.assertEqual(len(x), 45) + self.assertEqual(w[0], x[1] - x[0]) + self.assertEqual(w[-1], x[-1] - x[-2]) + self.assertNotEqual(w[0], (x[1] - x[0]) / 2) + self.assertGreater(sum(w), x[-1] - x[0]) + source = self.scopes["sources"]["legacy_dual_measure"] + raw = (self.repo / source["path"]).read_bytes() + self.assertEqual(hashlib.sha256(raw).hexdigest(), source["sha256"]) + function = next(n for n in ast.parse(raw).body + if isinstance(n, ast.FunctionDef) and n.name == "dual_cell_widths") + self.assertIn("w[0] = dx[0]", ast.unparse(function)) + self.assertIn("w[-1] = dx[-1]", ast.unparse(function)) + material = self.scopes["sources"]["legacy_material_geometry"] + tree = ast.parse((self.repo / material["path"]).read_bytes()) + boundary = next(n for n in tree.body if isinstance(n, ast.FunctionDef) + and n.name == "poisson_right_boundary") + self.assertIn("mat.V_bi_bc - mat.junction_polarity * float(V_app)", ast.unparse(boundary)) + # A right-end perturbation discriminates the full and half measures. + reference = {"values": [0.0] * 45, "volumes": w} + candidate = {"values": [0.0] * 44 + [1e-8], "volumes": w} + measured = _potential(reference, candidate, gate) + expected_squared = Fraction(w[-1]) * Fraction(1e-8) ** 2 / sum(map(Fraction, w)) + self.assertEqual(measured["rms"][1], expected_squared) + affine = next(p["physical_definition"] for row in self.scopes["records"] + for p in row.get("parameter_bindings", []) if "physical_definition" in p) + self.assertNotEqual(affine["comparison_target"], gate["comparison_target"]) + self.assertEqual(len(affine["volumes"]), 51) + self.assertEqual(affine["zero_policy"], "fixed_physical_scale") + + def test_zero_species_definition_and_unreviewed_use_are_separate(self): + from fractions import Fraction + from physical_comparison import _density, compare_physical, definition_fingerprint, validate_definition + + gate = copy.deepcopy(self.closures["foundation_v1_uniform44_zero_positive_ion"]["physical_definition"]) + self.assertTrue(validate_definition(gate)) + reference = {"values": [0.0] * 45, "volumes": gate["volumes"], "components": gate["components"]} + candidate = copy.deepcopy(reference) + candidate["values"][10] = 0.25 + metrics = _density(reference, candidate, gate) + self.assertEqual(metrics["zero_density_max"], Fraction(0.25)) + self.assertEqual(metrics["inventory:positive_ion_device"], Fraction(gate["volumes"][10]) / 4) + self.assertEqual(gate["thresholds"]["zero_density_max"]["atol"], 0) + gate["definition_sha256"] = definition_fingerprint(gate) + for table in (reference, candidate): + table["definition_sha256"] = gate["definition_sha256"] + result = compare_physical(reference, candidate, gate) + self.assertFalse(result["accepted"]) + self.assertEqual(result["code"], "unreviewed_gate") + + def test_all47_original_lane_definitions_reuse_exact_operators_and_limits(self): + from collections import Counter + lanes = [r for r in self.scopes["records"] if r["origin_key"].startswith("lane:")] + self.assertEqual(len(lanes), 47) + counts = Counter() + for row in lanes: + definition = row["original_numeric_definition"] + group = self.scopes["rules"][definition["rule_group_id"]] + self.assertEqual(definition["original_rules_sha256"], group["original_rules_sha256"]) + ids = [rid for values in definition["operators"].values() for rid in values] + self.assertCountEqual(ids, group["original_rule_ids"]) + self.assertEqual(len(ids), len(set(ids))) + self.assertEqual(definition["remaining_numeric_parameters_for_original_target"], []) + self.assertFalse(definition["new_N_applicability_approved"]) + self.assertIsNone(definition["eligibility"]["reference_error_bound"]) + for operator, values in definition["operators"].items(): + for rid in values: + bound = self.mapping["rule_catalog"][rid]["gate_value"] + self.assertEqual(operator, bound.get("comparison", bound.get("operator"))) + self.assertTrue(bound["units"]) + counts[operator] += 1 + self.assertEqual(dict(counts), self.scopes["comparison_scale_closure"]["original_lane_operator_counts"]) + self.assertEqual(counts["absolute_linf"], 299) + self.assertEqual(counts["relative_linf"] + counts["pointwise_relative_linf"], 78) + + def test_reference_only_TPV_scale_units_and_gap_categories(self): + import ast + tpv = self.closures["original_tpv_reference_amplitude_waveform"] + definition = tpv["definition"] + self.assertEqual(definition["amplitude_scale_formula"], "A_ref=max(abs(reference.delta_V))") + self.assertFalse(definition["scale_depends_on_candidate_output"]) + self.assertEqual(definition["reference_terminal_charge_voltage_error"]["limit_formula"], "min(1e-6,0.01*A_ref)") + source = self.scopes["sources"]["original_tpv_refinement"] + tree = ast.parse((self.repo / source["path"]).read_bytes()) + fn = next(n for n in tree.body if isinstance(n, ast.FunctionDef) + and n.name == "_require_converged_waveform") + amplitude = next(n for n in fn.body if isinstance(n, ast.Assign) + and any(isinstance(t, ast.Name) and t.id == "amplitude" for t in n.targets)) + self.assertIn("fine.delta_V", ast.unparse(amplitude.value)) + self.assertNotIn("coarse", ast.unparse(amplitude.value)) + units = self.closures["EL_exact_output_units"]["definition"] + self.assertEqual(units["spectrum_output_unit"], "photons m-2 s-1 nm-1") + self.assertEqual(units["per_nm_to_per_m_multiplier"], 1e9) + self.assertEqual(units["lambda_nm_to_m_multiplier"], 1e-9) + self.assertEqual(len(self.scopes["records"]), 170) + for row in self.scopes["records"]: + gap = row["gap_classification"] + self.assertIsNone(gap["reference_error_bound"]) + self.assertFalse(gap["fixed_discrete_target_requires_continuum_qualification"]) + self.assertTrue(gap["reference_eligibility_is_separate"]) + for need in gap["scope_specific_prior_gaps"]: + self.assertTrue(need["categories"]) + self.assertTrue(need["needed_from"]) + for closure in self.closures.values(): + self.assertFalse(closure["eligibility"]["reference_qualified"]) + self.assertIsNone(closure["eligibility"]["reference_error_bound"]) + + +class FourCaseDefinitionIntegrationTests(unittest.TestCase): + """Numeric completeness and original coverage do not activate comparisons.""" + + @classmethod + def setUpClass(cls): + cls.repo = Path(__file__).resolve().parents[2] + cls.scopes = json.loads((cls.repo / "reproducibility/RefactorComparisonScopesV1.json").read_text()) + cls.packets = {p["case_definition"]["kind"]: p for row in cls.scopes["records"] + for p in row.get("parameter_bindings", []) if "case_definition" in p} + + def test_four_original_cases_have_callable_definitions_but_no_eligible_data(self): + import ast + from case_comparison import validate_case_definition + + self.assertEqual(set(self.packets), {"twod", "lockin", "el", "eqe"}) + for packet in self.packets.values(): + definition = packet["case_definition"] + self.assertTrue(validate_case_definition(definition)) + self.assertEqual(definition["protocol"], packet["known_parameters"]) + self.assertIsNone(packet["reference_eligibility"]["reference_error_bound"]) + self.assertFalse(packet["reference_eligibility"]["reference_qualified"]) + self.assertIsNone(packet["reference_eligibility"]["active_comparison"]) + self.assertTrue(packet["remaining_parameters"]) + for key in ("comparator", "definition_validator"): + source = self.scopes["sources"][packet[key]["source_id"]] + raw = (self.repo/source["path"]).read_bytes() + self.assertEqual(hashlib.sha256(raw).hexdigest(), source["sha256"]) + self.assertIn(packet[key]["symbol"], {x.name for x in ast.parse(raw).body if isinstance(x, ast.FunctionDef)}) + + def test_source_words_protocols_and_engineering_rounding_remain_exact(self): + from fractions import Fraction + import math + + d = {k: p["case_definition"] for k, p in self.packets.items()} + self.assertEqual({(c["vertical"], c["horizontal"]) for c in d["twod"]["contexts"]}, + {(16, 2), (32, 2), (64, 2), (32, 4), (32, 8)}) + self.assertEqual(d["twod"]["rules"]["log"]["atol"], 1e-6) + self.assertIn("continuum", d["twod"]["comparison_target"]) + self.assertEqual(d["lockin"]["protocol"]["points_per_cycle"], [20, 40, 80]) + self.assertEqual(len(d["lockin"]["contexts"]), 6) + for key, value in (("frequency_domain", .01*math.pi/180), ("time_resolution", .001*math.pi/180)): + self.assertEqual(d["lockin"]["phase_limits"][key].hex(), value.hex()) + self.assertEqual(d["lockin"]["phase_operator"], "lt") + self.assertEqual(d["el"]["source_log_floor_hex"], (1e-30).hex()) + self.assertTrue(d["el"]["mandatory_independent_emission_gate"]) + self.assertEqual(d["eqe"]["wavelengths_nm"], [400, 500, 600, 700, 800]) + self.assertEqual(d["el"]["wavelengths_nm"], [400, 500, 600, 700, 800, 900]) + self.assertEqual(Fraction(d["eqe"]["current_scale_exact"]), Fraction("640.8706536")) + self.assertEqual(d["eqe"]["protocol"]["incident_photon_flux_m2_s"], 4e21) + for definition in d.values(): + for rule in definition["rules"].values(): + for name in ("atol", "rtol"): + if "nominal_"+name+"_exact" in rule: + self.assertLessEqual(Fraction(rule[name]), Fraction(rule["nominal_"+name+"_exact"])) + self.assertFalse(self.scopes["four_case_definition_closure"]["G0_awarded"]) + + +if __name__ == "__main__": + unittest.main() diff --git a/tests/refactor/test_registry_mapping.py b/tests/refactor/test_registry_mapping.py new file mode 100644 index 00000000..a2ff5829 --- /dev/null +++ b/tests/refactor/test_registry_mapping.py @@ -0,0 +1,196 @@ +"""Complete real registry/data mapping, with every unprovided identity pending.""" +from dataclasses import FrozenInstanceError, replace +import hashlib +import json +import subprocess + +import pytest +import yaml + +from solarlab.materials.source import SourceDocument +from solarlab.reproducibility.configuration_migration import prepare_configuration_migration +from solarlab.reproducibility.registry import canonical, load_registry, validate_registry_pair +from solarlab.reproducibility.registry_mapping import prepare_registry_mapping, read_registry_mapping +from solarlab.reproducibility.sources import SourceRef, SourceSet +from test_registry_migration import ROOT, registries as registries + +# The bound consumer is an installed-code admission consistency fixture. +# Ordinary saved mapping readback is covered below with current capture forbidden. +pytestmark = pytest.mark.requires_clean_core + + +@pytest.fixture(scope="module") +def consumer_sources(): + refs, documents = [], [] + for path in ("src/solarlab/config/migration.py", "src/solarlab/reproducibility/configuration_migration.py"): + commit = subprocess.run(["git", "log", "-1", "--format=%H", "--", path], cwd=ROOT, + check=True, capture_output=True, text=True).stdout.strip() + content = subprocess.run(["git", "show", commit+":"+path], cwd=ROOT, check=True, capture_output=True).stdout + assert content == (ROOT/path).read_bytes() + document = SourceDocument(path, content) + refs.append(SourceRef(id=path, path=path, sha256=document.sha256, source_commit=commit)) + documents.append(document) + return SourceSet(tuple(refs), tuple(documents)) + + +@pytest.fixture(scope="module") +def migration(registries): + return prepare_configuration_migration(registries[0]) + + +@pytest.fixture(scope="module") +def prepared(registries, migration, consumer_sources): + return prepare_registry_mapping(*registries, migration=migration, + expected_migration_sha256=migration.sha256, consumer_sources=consumer_sources) + + +def bind(registries, source, plan_sha256): + results = [] + for registry in registries: + data = registry.export() + data["preparation_mapping"] = {"path": source.id, "sha256": source.sha256, + "migration_plan_sha256": plan_sha256} + results.append(load_registry(SourceDocument(registry.source.id, yaml.safe_dump(data).encode()), registry.sources.documents)) + return tuple(results) + + +def read(registries, prepared, migration, consumer_sources, source=None): + source = prepared.document if source is None else source + selected = bind(registries, source, migration.sha256) + return read_registry_mapping(*selected, source, migration=migration, + expected_migration_sha256=migration.sha256, expected_sha256=source.sha256, consumer_sources=consumer_sources) + + +def test_complete_original_mapping_has_exact_data_and_honest_context_gaps(registries, migration, prepared): + value = prepared.export() + assert value["inventory_counts"] == {"configs": 55, "benchmarks": 44, "lanes": 47} + assert value["migration_plan_sha256"] == migration.sha256 + assert value["configuration_selection_sha256"] == hashlib.sha256(migration.selection_json).hexdigest() + assert value["activation"] == "pending_migration" and not value["can_execute"] + assert value["scientific_gates_awarded"] == [] + original = {entry.id: (registry, entry) for registry in registries for entry in registry.spec.entries} + for row in value["entries"]: + registry, entry = original[row["id"]] + assert row["original_record"] == registry.original(entry.id) + assert row["original_record_sha256"] == entry.original_record_sha256 + assert row["legacy_evidence"]["semantic_sha256"] == entry.legacy_semantic_sha256 + assert row["old_test_nodes"] == list(entry.test_nodes) + assert row["physical"] == dict(status="pending", H_input=None, H_physics=None, contexts=[]) + assert row["protocol"]["status"] == "pending" and row["protocol"]["sha256"] is None + assert row["execution"] == dict(status="pending", H_execution=None, new_executor=None, manifest=None) + assert not row["can_execute"] and row["new_scientific_test_nodes"] == [] + fields = {item["field"]: item for item in row["missing_fields"]} + assert set(fields) == {"model_registry", "model_inputs", "selection", "semantic_projections", "driver", + "effective_behavior", "protocol", "preparation", "initial_state", "grid", "numeric_controls", + "engine", "runtime_environment", "release_bundle", "execution_manifest", "new_executor_and_tests"} + assert all(item["status"] == "pending" and item["owner"] and item["source_dependency"] for item in fields.values()) + assert "W03" in fields["driver"]["source_dependency"] and fields["driver"]["owner"] == "WS4" + assert "P05" in fields["initial_state"]["owner"] + assert all(item["data_verified"] and item["publication"].startswith("pending") for item in row["configurations"]) + assert all(item["kind"] == "data_preparation_only" and not item["can_execute"] for item in row["preparation_consumers"]) + for registry in registries: + assert registry.spec.preparation_mapping is None + assert registry.spec.configuration_selection is None + assert (ROOT/registry.source.id).read_bytes() == registry.source.content + + +def test_saved_mapping_checks_inputs_without_current_preparation(registries, prepared, migration, consumer_sources, record_property, monkeypatch): + import solarlab.reproducibility.registry_mapping as module + monkeypatch.setattr(module, "prepare_registry_mapping", lambda *a, **k: pytest.fail("reader reran preparation")) + monkeypatch.setattr(module, "read_preparation_context", lambda *a, **k: pytest.fail("reader rebuilt defaults")) + monkeypatch.setattr(module, "verify_loaded_source", lambda *a, **k: pytest.fail("reader checked installed sources")) + result = read(registries, prepared, migration, consumer_sources) + assert result.document == prepared.document + assert result.reference() == {"path": prepared.document.id, "sha256": prepared.sha256, "migration_plan_sha256": migration.sha256} + with pytest.raises(FrozenInstanceError): + result.document = SourceDocument("other.json", b"{}") + row = result.entry("config:configs/scaps_mirror_v2.yaml") + row["missing_fields"].clear() + assert result.entry(row["id"])["missing_fields"] + with pytest.raises(ValueError, match="unknown"): + result.entry("absent") + record_property("mapping_check", json.dumps(dict(sha256=result.sha256, rows=146, configurations=55, + all_real_inputs_consumed=True, exact_mapping_bytes_equal=True, identities_pending=True, activated=False))) + + +@pytest.mark.parametrize("change", ["missing_entry", "evidence", "configuration", "physics", "protocol", "execution", "missing_field", "test_node"]) +def test_relabelled_or_incomplete_mapping_refuses_even_after_metadata_repin(registries, prepared, migration, consumer_sources, change): + value = prepared.export() + row = value["entries"][0] + if change == "missing_entry": + value["entries"].pop() + elif change == "evidence": + row["legacy_evidence"]["claim_level"] = "qualified_new_engine" + elif change == "configuration": + row["configurations"][0]["sha256"] = "0" * 64 + elif change == "physics": + row["physical"].update(status="verified", H_physics="1" * 64) + elif change == "protocol": + row["protocol"].update(status="verified", sha256="1" * 64) + elif change == "execution": + row["execution"]["new_executor"] = "guessed:run" + elif change == "missing_field": + row["missing_fields"].pop() + else: + row["old_test_nodes"] = ["invented_test.py::test_qualified"] + source = SourceDocument(prepared.document.id, canonical(value)) + with pytest.raises(ValueError, match="actual configurations"): + read(registries, prepared, migration, consumer_sources, source) + + +def test_two_registry_and_external_source_pins_are_required(registries, prepared, migration, consumer_sources): + selected = bind(registries, prepared.document, migration.sha256) + with pytest.raises(ValueError, match="same non-activating"): + validate_registry_pair(selected[0], registries[1]) + with pytest.raises(ValueError, match="external expected"): + read_registry_mapping(*selected, prepared.document, migration=migration, + expected_migration_sha256=migration.sha256, expected_sha256="0"*64, consumer_sources=consumer_sources) + with pytest.raises(ValueError, match="external expected"): + read_registry_mapping(*registries, prepared.document, migration=migration, + expected_migration_sha256=migration.sha256, expected_sha256=prepared.sha256, consumer_sources=consumer_sources) + + +@pytest.mark.parametrize("change", ["missing", "duplicate", "wrong_path", "changed_input"]) +def test_actual_configuration_file_inventory_and_bytes_are_checked(registries, migration, consumer_sources, change): + files = list(migration.files) + if change == "missing": + files.pop() + elif change == "duplicate": + files[-1] = files[0] + elif change == "wrong_path": + files[0] = ("retargeted.json", files[0][1]) + else: + files[0] = (files[0][0], replace(files[0][1], content=files[0][1].content+b"\n")) + wrong = replace(migration, files=tuple(files)) + with pytest.raises(ValueError, match="file paths/content"): + prepare_registry_mapping(*registries, migration=wrong, + expected_migration_sha256=migration.sha256, consumer_sources=consumer_sources) + + +def test_current_reader_source_is_verified_without_a_guessed_commit(registries, migration, consumer_sources): + missing = SourceSet(consumer_sources.references[:1], consumer_sources.documents[:1]) + with pytest.raises(ValueError, match="exact current"): + prepare_registry_mapping(*registries, migration=migration, + expected_migration_sha256=migration.sha256, consumer_sources=missing) + refs, documents = list(consumer_sources.references), list(consumer_sources.documents) + documents[0] = replace(documents[0], content=documents[0].content+b"\n") + refs[0] = refs[0].model_copy(update={"sha256": documents[0].sha256}) + altered = SourceSet(tuple(refs), tuple(documents)) + with pytest.raises(ValueError, match="loaded v2 consumer"): + prepare_registry_mapping(*registries, migration=migration, + expected_migration_sha256=migration.sha256, consumer_sources=altered) + + +def test_source_drift_mapping_reconciliation_is_explicit_and_strict(registries, prepared, migration, consumer_sources, monkeypatch): + import solarlab.reproducibility.registry_mapping as module + original = prepared.document.content + monkeypatch.setattr(module, "verify_loaded_source", lambda *a, **k: (_ for _ in ()).throw(ValueError("changed installed consumer"))) + selected = bind(registries, prepared.document, migration.sha256) + kwargs = dict(migration=migration, expected_migration_sha256=migration.sha256, + expected_sha256=prepared.sha256, consumer_sources=consumer_sources) + saved = read_registry_mapping(*selected, prepared.document, **kwargs) + assert saved.document.content == original and saved.reconciliation is None + reconciled = read_registry_mapping(*selected, prepared.document, reconcile_current=True, **kwargs) + assert reconciled.document.content == original and reconciled.reconciliation["status"] == "different" + with pytest.raises(ValueError, match="strict_same_source"): + read_registry_mapping(*selected, prepared.document, strict_same_source=True, **kwargs) diff --git a/tests/refactor/test_registry_migration.py b/tests/refactor/test_registry_migration.py new file mode 100644 index 00000000..a9a88deb --- /dev/null +++ b/tests/refactor/test_registry_migration.py @@ -0,0 +1,295 @@ +"""Real V1 records, detached source bundles and public preparation boundaries.""" +from __future__ import annotations + +import builtins +from collections import Counter +from copy import deepcopy +from dataclasses import replace +import hashlib +import json +import os +from pathlib import Path +import subprocess +import sys + +import pytest +import yaml + +from solarlab.config.resolve_device import resolve_device, resolve_tandem +from solarlab.materials.source import SourceDocument +from solarlab.reproducibility.preparation import prepare_configuration, read_preparation_context +from solarlab.reproducibility.registry import RegistryDocument, config_id, load_registry, mapping, validate_registry_pair +from solarlab.reproducibility.sources import SourceRef, SourceSet, read_sources + +ROOT = Path(__file__).resolve().parents[2] +V1_MATRIX = ROOT / 'perovskite-sim/reproducibility/ConfigBenchmarkMatrix.yaml' +V1_REFINEMENT = ROOT / 'perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml' +MATRIX = ROOT / 'reproducibility/ConfigBenchmarkMatrixV2.yaml' +REFINEMENT = ROOT / 'reproducibility/NumericalRefinementRegistryV2.yaml' + + +def document(path): + return SourceDocument(str(path.relative_to(ROOT)), path.read_bytes()) + + +@pytest.fixture(scope='module') +def registries(): + matrix_source, refinement_source = document(MATRIX), document(REFINEMENT) + matrix_spec = RegistryDocument.model_validate(mapping(matrix_source)) + refinement_spec = RegistryDocument.model_validate(mapping(refinement_source)) + matrix = load_registry(matrix_source, read_sources(ROOT, matrix_spec.sources).documents) + refinement = load_registry(refinement_source, read_sources(ROOT, refinement_spec.sources).documents) + validate_registry_pair(matrix, refinement) + return matrix, refinement + + +def changed(registry, edit): + raw = registry.export() + edit(raw) + return load_registry(SourceDocument(registry.source.id, yaml.safe_dump(raw).encode()), registry.sources.documents) + + +def test_complete_original_inventory_preserves_current_and_historical_records(registries): + matrix, refinement = registries + old_matrix = mapping(document(V1_MATRIX)) + old_refinement = mapping(document(V1_REFINEMENT)) + assert Counter(entry.section for entry in matrix.spec.entries) == {'configs': 55, 'benchmarks': 44} + assert len(refinement.spec.entries) == 47 + assert len(old_matrix['resources']) == 21 + assert matrix.original_bytes() == V1_MATRIX.read_bytes() + assert refinement.original_bytes() == V1_REFINEMENT.read_bytes() + assert {entry.original_key for entry in refinement.spec.entries} == set(old_refinement['lanes']) + for row in old_matrix['configs']: + entry = matrix.entry(config_id(row['path'])) + assert matrix.original(entry.id) == row + assert entry.legacy_semantic_sha256 == row['semantic_sha256'] + assert entry.legacy_status == row['status'] + assert entry.new_executor is None and entry.identities.H_physics is None + assert entry.identities.protocol_sha256 is None + assert entry.identities.dependencies + for id, row in old_matrix['benchmarks'].items(): + assert matrix.original('benchmark:' + id) == row + for id, row in old_refinement['lanes'].items(): + assert refinement.original('lane:' + id) == row + certified = matrix.original('benchmark:interface-charge-jv-api-integration') + assert any('b08bd323e50c8efb9ee7f51428c35a480960c0c39edc65b8500831c4eee5a52d' in value and '3fa71d6' in value for value in certified['limitations']) + historical = refinement.original('lane:ionmonger-ion-aware-dc-resolved-v2') + assert any('v1 partial certificate' in value for value in historical['limitations']) + historical['limitations'].clear() + assert refinement.original('lane:ionmonger-ion-aware-dc-resolved-v2')['limitations'] + for registry in registries: + assert not registry.can_execute and registry.spec.activation == 'pending_migration' + assert registry.sources.reference(registry.spec.original_registry).source_commit == 'e3eee454b1cf61ff43e2cb668035be0527dacdd3' + + +def test_all_supported_configurations_reach_actual_public_preparation_without_numerical_imports(registries, monkeypatch): + original_import = builtins.__import__ + def guarded(name, *args, **kwargs): + assert not name.startswith(('perovskite_sim', 'backend', 'scipy.integrate')), name + return original_import(name, *args, **kwargs) + monkeypatch.setattr(builtins, '__import__', guarded) + matrix = registries[0] + defaults, resources = read_preparation_context(matrix) + prepared, blocked = {}, {} + for entry in matrix.spec.entries: + if entry.section != 'configs': + continue + result = prepare_configuration(matrix, entry.id, defaults=defaults, resources=resources) + assert not result.can_execute + if result.prepared is None: + blocked[entry.original_key] = [issue.model_dump(mode='json') for issue in result.declaration.issues] + continue + value = result.prepared + prepared[entry.original_key] = value + assert not value.can_execute + assert value.content_sha256 == entry.preparation.content_sha256 + input = value.to_input() + resolver = resolve_tandem if input.schema_version == 'solarlab.tandem-preparation.v1' else resolve_device + assert resolver(input, defaults, resources, sources=value.sources).content_sha256 == value.content_sha256 + assert len(prepared) == 55 and blocked == {} + tpv = prepared['tests/fixtures/configs/tpv_physical_reference.yaml'] + assert tpv.to_mapping()['settings']['T'] == 300 + assert tpv.to_input().legacy_fields.temperature == 300 + for name in ('driftfusion_benchmark_tmm', 'ionmonger_benchmark_tmm'): + value = prepared[f'tests/fixtures/configs/{name}.yaml'] + assert value.interfaces[0].electrical is False + assert value.interfaces[-1].values['v_n'] == 0 + assert len(value.to_input().legacy_fields.interfaces) == 2 + calado = prepared['configs/calado2016_ion_sweep.yaml'] + assert calado.to_input().simulation_hints.jv_sweep.waveform.turnaround_s == 3 + assert calado.to_input().simulation_hints.jv_sweep.waveform_controls.atol_m3 == 1 + scaps = prepared['configs/scaps_mirror_v2.yaml'] + assert scaps.layers[2].material.values['chi'] == 3.94 + assert scaps.to_mapping()['diagnostics'] # Historical effective behavior is retained, not repaired. + assert prepared['tests/fixtures/configs/tandem_lin2019.yaml'].to_input().top_cell_reference == 'nip_wideGap_FACs_1p77.yaml' + + +@pytest.mark.parametrize('target', ['registry', 'configuration', 'executor']) +def test_missing_or_tampered_source_is_rejected(registries, target): + matrix, refinement = registries + selected = refinement if target == 'executor' else matrix + if target == 'registry': + id = selected.spec.original_registry + elif target == 'configuration': + id = 'perovskite-sim/configs/scaps_mirror_v2.yaml' + else: + id = selected.spec.entries[0].executor.source_id + original = selected.sources.document(id) + missing = tuple(source for source in selected.sources.documents if source.id != id) + with pytest.raises(ValueError, match='missing'): + load_registry(selected.source, missing) + changed_sources = tuple(replace(source, content=original.content + b'\n# tampered bytes\n') if source.id == id else source for source in selected.sources.documents) + with pytest.raises(ValueError, match='source SHA-256 mismatch'): + load_registry(selected.source, changed_sources) + + +@pytest.mark.parametrize('edit,match', [ + (lambda raw: raw['entries'].pop(), 'inventory'), + (lambda raw: raw['entries'].append(deepcopy(raw['entries'][0])), 'inventory'), + (lambda raw: raw['entries'][0].update(id='config:wrong.yaml'), 'stable identity'), + (lambda raw: raw['entries'][0].update(original_record_sha256='0'*64), 'record digest'), + (lambda raw: raw['entries'][0].update(legacy_semantic_sha256='0'*64), 'evidence/semantic'), + (lambda raw: raw['entries'][0].update(configurations=['config:configs/scaps_mirror_v2.yaml']), 'configuration link'), + (lambda raw: raw['entries'][55].update(test_nodes=['tests/reproducibility/test_matrix.py::other']), 'test/node'), + (lambda raw: raw['entries'][0]['preparation']['resolver'].update(symbol='resolve_tandem'), 'reader binding'), + (lambda raw: raw['entries'][0]['preparation'].update(input_id='registry.retargeted'), 'configuration identity'), +]) +def test_broken_old_to_new_and_test_reader_bindings_fail_closed(registries, edit, match): + with pytest.raises(ValueError, match=match): + changed(registries[0], edit) + + +def test_executor_location_version_and_cross_registry_bindings_are_exact(registries): + matrix, refinement = registries + with pytest.raises(ValueError, match='binding'): + changed(refinement, lambda raw: raw['entries'][0]['executor'].update(symbol='run_mobile_ion_transient_jv')) + with pytest.raises(ValueError, match='executor binding'): + changed(refinement, lambda raw: raw['entries'][0].update(executor_version='new')) + with pytest.raises(ValueError, match='configuration link'): + changed(refinement, lambda raw: raw['entries'][0].update(configurations=['config:missing.yaml'])) + with pytest.raises(ValueError, match='required'): + validate_registry_pair(refinement, matrix) + + +@pytest.mark.parametrize('edit', [ + lambda raw: raw.update(activation='active'), + lambda raw: raw['entries'][0].update(new_executor='solarlab.fake:run'), + lambda raw: raw['entries'][0]['identities'].update(H_physics='1'*64), + lambda raw: raw['entries'][0]['identities'].update(H_execution='2'*64), + lambda raw: raw['entries'][0]['identities'].update(protocol_sha256='3'*64), + lambda raw: raw['entries'][0]['identities'].update(dependencies=[]), + lambda raw: raw['entries'][55].update(new_test_nodes=['tests/migrated.py::test_pass']), +]) +def test_no_premature_activation_executor_certificate_or_identity_claim(registries, edit): + with pytest.raises(ValueError): + changed(registries[0], edit) + + +def test_forged_prepared_content_or_default_context_cannot_be_advertised(registries): + original = registries[0] + defaults, resources = read_preparation_context(original) + altered = changed(original, lambda raw: raw['entries'][0]['preparation'].update(content_sha256='0'*64)) + with pytest.raises(ValueError, match='actual public reader'): + prepare_configuration(altered, altered.spec.entries[0].id, defaults=defaults, resources=resources) + altered = changed(original, lambda raw: raw['preparation_context'].update(default_catalog_sha256='0'*64)) + with pytest.raises(ValueError, match='context identity'): + read_preparation_context(altered) + + +def test_duplicate_keys_ambiguous_source_paths_and_path_escape_rejected(registries, tmp_path): + matrix = registries[0] + with pytest.raises(ValueError, match='unique strings'): + load_registry(SourceDocument('duplicate', matrix.source.content + b'\nactivation: active\n'), matrix.sources.documents) + ref = matrix.spec.sources[0] + raw = ref.model_dump() + for path in ('../ConfigBenchmarkMatrix.yaml', '/absolute.yaml', 'a/../b.yaml', 'a\\b', 'a//b'): + with pytest.raises(ValueError, match='bundle-relative'): + SourceRef.model_validate(dict(raw, path=path)) + duplicate = SourceRef.model_validate(dict(raw, id='second', source_commit='0'*40)) + one = matrix.sources.document(ref.id) + ambiguous = SourceSet((ref,duplicate),(one,SourceDocument('second',one.content))) + with pytest.raises(ValueError, match='ambiguous'): + ambiguous.at_path(ref.path) + outside = tmp_path/'outside' + outside.write_bytes(one.content) + base=tmp_path/'bundle' + base.mkdir() + link=base/'ref' + link.symlink_to(outside) + with pytest.raises(ValueError, match='escapes'): + read_sources(base,(SourceRef.model_validate(dict(raw,path='ref')),)) + + +def test_relocated_bundle_and_detached_sources_need_no_checkout_or_working_directory(registries, tmp_path, monkeypatch): + matrix = registries[0] + for ref in matrix.spec.sources: + path=tmp_path/ref.path + path.parent.mkdir(parents=True,exist_ok=True) + path.write_bytes(matrix.sources.document(ref.id).content) + sources = read_sources(tmp_path,matrix.spec.sources) + monkeypatch.chdir(tmp_path) + detached = load_registry(SourceDocument('caller-supplied-v2',matrix.source.content),sources.documents) + def forbidden(*args, **kwargs): + raise AssertionError('Detached preparation must use supplied bytes') + monkeypatch.setattr(Path,'read_bytes',forbidden) + defaults, resources = read_preparation_context(detached) + result = prepare_configuration(detached,'config:configs/scaps_mirror_v2.yaml',defaults=defaults,resources=resources) + assert result.prepared is not None and not result.can_execute + assert detached.original_bytes() == matrix.original_bytes() + + +def test_unchanged_legitimate_readers_and_preparation_consumers_import(tmp_path): + code = ''' +import json +from pathlib import Path +import perovskite_sim.reproducibility as legacy +from perovskite_sim.validation.numerical_certificate import load_refinement_registry +from solarlab.config.resolve_device import resolve_device +from solarlab.experiments.jv.preparation import prepare_jv_experiment +from solarlab.experiments.two_dimensional.preparation import prepare_spatial_experiment +from solarlab.sweeps.preparation import prepare_sweep +from solarlab.reproducibility.registry import load_registry +root=Path(__import__('sys').argv[1]) +value=load_refinement_registry(root/'perovskite-sim/reproducibility/NumericalRefinementRegistry.yaml',project_root=root/'perovskite-sim') +assert len(value.lanes)==47 +print(json.dumps(dict(lanes=len(value.lanes),legacy_reader=legacy.__file__,new_reader=__import__('inspect').getfile(load_registry),scientific_calls=0))) +''' + env=dict(os.environ,PYTHONPATH=str(ROOT/'src')+os.pathsep+str(ROOT/'perovskite-sim'),PYTHONDONTWRITEBYTECODE='1') + result=subprocess.run([sys.executable,'-B','-c',code,str(ROOT)],cwd=tmp_path,env=env,text=True,capture_output=True,timeout=30) + assert result.returncode==0,result.stderr + receipt=json.loads(result.stdout) + assert receipt['lanes']==47 and receipt['scientific_calls']==0 + assert Path(receipt['new_reader']).resolve()==ROOT/'src/solarlab/reproducibility/registry.py' + assert Path(receipt['legacy_reader']).resolve()==ROOT/'perovskite-sim/perovskite_sim/reproducibility.py' + + +def test_export_and_input_source_byte_identities_are_independent(registries): + matrix=registries[0] + source=SourceDocument('reopened',json.dumps(matrix.export()).encode()) + reopened=load_registry(source,matrix.sources.documents) + assert reopened.content_sha256==matrix.content_sha256 + assert reopened.original_bytes()==matrix.original_bytes() + assert hashlib.sha256(reopened.original_bytes()).hexdigest()==matrix.sources.reference(matrix.spec.original_registry).sha256 + assert source.sha256!=matrix.source.sha256 + + +def test_migrated_input_mappings_preserve_actual_legacy_behavior_and_future_obligation(registries): + matrix = registries[0] + tpv = matrix.entry('config:tests/fixtures/configs/tpv_physical_reference.yaml') + assert tpv.migration_status == 'prepared_only' + assert {item.source.symbol for item in tpv.migration_notes} == {'load_device_from_yaml', 'stack_from_dict'} + assert all('temperature is ignored, not an established alias' in item.note for item in tpv.migration_notes) + for name in ('driftfusion_benchmark_tmm', 'ionmonger_benchmark_tmm'): + entry = matrix.entry(f'config:tests/fixtures/configs/{name}.yaml') + assert entry.migration_status == 'prepared_only' + note, = entry.migration_notes + assert note.source.symbol == 'interfaces_from_device_dict' + assert 'raw index' in note.note and 'pads remaining slots with (0,0)' in note.note + assert 'no automatic pair shift' in note.note and 'distinct physical correction' in note.note + hints = matrix.entry('config:configs/calado2016_ion_sweep.yaml') + assert hints.migration_status == 'prepared_only' + note, = hints.migration_notes + assert note.source.symbol == 'load_simulation_hints' + assert 'lossless typed migration' in note.note and 'deleting them' in note.note + with pytest.raises(ValueError, match='missing or ambiguous symbol'): + changed(matrix, lambda raw: next(entry for entry in raw['entries'] if entry['id'] == tpv.id)['migration_notes'][0]['source'].update(symbol='invented_alias_converter')) diff --git a/tests/refactor/test_registry_preparation.py b/tests/refactor/test_registry_preparation.py new file mode 100644 index 00000000..4ce6a520 --- /dev/null +++ b/tests/refactor/test_registry_preparation.py @@ -0,0 +1,534 @@ +"""P03 metadata against real scalar inputs and explicitly scoped source contracts. + +These tests execute no physics or legacy runner. Context facts are declarations +awaiting the gated physical validators; even compatible metadata stays unable +to run. Source evidence below is read from the checkout, never imported. +""" + +from __future__ import annotations + +import ast +from dataclasses import FrozenInstanceError, replace +import hashlib +from pathlib import Path + +import pytest + +from solarlab.config.inputs import LayerInput +from solarlab.config.resolve import load_template_library, resolve_layers +from solarlab.experiments.registry import ExperimentDefinition, ExperimentRegistry +from solarlab.materials.parameters import LayerValuesInput +from solarlab.physics.presets import HistoricalDisable, NamedPreset, select_preset +from solarlab.physics.registry import ( + CapabilityContext, CapabilityRule, EvidenceRef, ModelDefinition, ModelRef, + ModelRegistry, OwnedVariable, Requirement, Scope, metadata_value, +) +from solarlab.physics.selection import ( + ModelChoice, ParameterSource, Topology, select_models, validate_selection, +) + +ROOT = Path(__file__).resolve().parents[2] +LEGACY = "perovskite-sim/perovskite_sim/" +TRANSPORT = ModelRef("transport.constant", 1) +SRH = ModelRef("recombination.srh", 1) +INTERFACE = ModelRef("interface.two_sided", 1) +LEFT = Scope("layer", ("left",)) +RIGHT = Scope("layer", ("right",)) +JOIN = Scope("interface", ("left", "right")) + + +def evidence(path: str, symbol: str = "") -> EvidenceRef: + return EvidenceRef(path + ("#" + symbol if symbol else ""), + hashlib.sha256((ROOT / path).read_bytes()).hexdigest(), "source") + + +def declared_rule(**changes: object) -> CapabilityRule: + rule = CapabilityRule( + "scalar_metadata", (1, 2), ("dc", "transient"), + (evidence(LEGACY + "models/parameters.py"),), + statistics=("maxwell_boltzmann",), + ) + return replace(rule, **changes) + + +@pytest.fixture +def inputs(): + document = (ROOT / (LEGACY + "data/layer_templates.yaml")).read_bytes() + library = load_template_library(document, source_id="shipped.layer_templates") + # Deliberately repeated display names; stable IDs define topology. + layers = resolve_layers(tuple(LayerInput.model_validate({ + "id": id, "name": "absorber", "template": "MAPbI3_absorber", + }) for id in ("left", "right")), library) + sources = {Scope("layer", (layer.id,)): ParameterSource( + layer.id, (*layer.material.parameters, ("thickness", layer.thickness), + ("N_A", layer.N_A), ("N_D", layer.N_D)), + EvidenceRef(layer.source_id, layer.source_sha256, "source"), + ) for layer in layers} + return Topology(("left", "right"), (("anode", "left"), ("cathode", "right"))), sources + + +@pytest.fixture +def registry() -> ModelRegistry: + transport = ModelDefinition( + TRANSPORT, "Constant carrier mobility", "transport", ("layer",), "face", + ("mu_n", "mu_p"), ("phi",), + (OwnedVariable("n", "m^-3", "node", ("node",)), OwnedVariable("p", "m^-3", "node", ("node",))), + declared_rule(), + ) + srh = ModelDefinition( + SRH, "Effective lifetime SRH", "recombination", ("layer",), "node", + ("tau_n", "tau_p", "n1", "p1", "ni"), ("n", "p"), (), + declared_rule(evidence=(evidence(LEGACY + "physics/recombination.py"),)), + composition="additive", requires=(Requirement(TRANSPORT),), + ) + interface = ModelDefinition( + INTERFACE, "Directed two-sided trace metadata", "interface", ("interface",), + "interface_left", (), ("left_n", "right_n"), + (OwnedVariable("trace_n", "m^-3", "interface_left", ()),), + declared_rule(evidence=(evidence(LEGACY + "physics/two_sided_interface.py"),)), + requires=(Requirement(TRANSPORT, "left"), Requirement(TRANSPORT, "right")), + ) + return ModelRegistry((transport, srh, interface)) + + +def context(**changes: object) -> CapabilityContext: + return replace(CapabilityContext(1, "dc", "metadata_only", "maxwell_boltzmann", + available_variables=("phi",)), **changes) + + +def srh_choice(id: str = "srh", layer: str = "left") -> ModelChoice: + return ModelChoice(id, SRH, field_bindings=( + ("n", f"layer/{layer}/carrier:n"), ("p", f"layer/{layer}/carrier:p"), + )) + + +def selection(registry, inputs, **changes): + topology, sources = inputs + kwargs = dict(registry=registry, topology=topology, context=context(), + defaults={"layer": (ModelChoice("carrier", TRANSPORT),)}, + parameter_sources=sources) + kwargs.update(changes) + return select_models(**kwargs) + + +def jv_definition() -> ExperimentDefinition: + return ExperimentDefinition( + "jv", 1, "J–V source contract awaiting runner migration", + evidence("perovskite-sim/backend/main.py", "JVRequest"), + evidence("perovskite-sim/backend/api_schema.py", "JVResultOut"), + evidence(LEGACY + "experiments/protocol.py", "resolve_experiment_protocol"), + evidence(LEGACY + "experiments/jv_sweep.py", "run_jv_sweep"), + "jv", evidence("web/src/panels/jv.ts", "renderJVResults"), + declared_rule(), (TRANSPORT,), + ) + + +def test_real_templates_select_scoped_models_and_preflight_without_executor(registry, inputs): + selected = selection(registry, inputs, overrides={ + LEFT: {"recombination": (srh_choice(),)}, + JOIN: {"interface": (ModelChoice("trace", INTERFACE, field_bindings=( + ("left_n", "layer/left/carrier:n"), ("right_n", "layer/right/carrier:n"), + )),)}, + }) + assert {item.id for item in selected.instances} == { + "layer/left/carrier", "layer/right/carrier", "layer/left/srh", "interface/left/right/trace", + } + assert selected.evaluation_order.index("layer/left/carrier") < selected.evaluation_order.index("layer/left/srh") + assert selected.evaluation_order.index("layer/right/carrier") < selected.evaluation_order.index("interface/left/right/trace") + srh = next(item for item in selected.instances if item.model == SRH) + assert dict(srh.parameters)["tau_n"] == dict(inputs[1][LEFT].values)["tau_n"] + assert srh.parameter_source_sha256 == inputs[1][LEFT].content_sha256 + assert srh.read_variables == ("layer/left/carrier:n", "layer/left/carrier:p") + experiments = ExperimentRegistry((jv_definition(),)) + result = experiments.preflight("jv", 1, selected, registry) + assert result.declared_compatible + assert not result.can_execute + assert result.availability_problems == ("qualified_executor_not_registered",) + assert experiments.export()["registered_executors"] == [] + assert not hasattr(experiments, "run") + + +def test_selection_replaces_families_and_explicit_empty_clears(registry, inputs): + transport = replace(registry.get(TRANSPORT), ref=ModelRef("transport.other", 1)) + expanded = ModelRegistry((*registry.definitions, transport)) + selected = selection(expanded, inputs, overrides={ + LEFT: {"transport": (ModelChoice("replacement", transport.ref, (("mu_n", 0.0),)),)}, + RIGHT: {"transport": ()}, + }) + assert len(selected.instances) == 1 + instance = selected.instances[0] + assert instance.id == "layer/left/replacement" + assert dict(instance.parameters)["mu_n"] == 0 + assert instance.overridden_parameters == ("mu_n",) + assert len(instance.owned_variables) == 2 # Zero does not erase support. + positive = selection(expanded, inputs, overrides={ + LEFT: {"transport": (ModelChoice("replacement", transport.ref, (("mu_n", 1e-320),)),)}, + RIGHT: {"transport": ()}, + }) + assert selected.content_sha256 != positive.content_sha256 + assert selected.instances[0].owned_variables == positive.instances[0].owned_variables + + +def test_defaults_and_topology_bindings_are_snapshotted_once(registry, inputs): + normal = selection(registry, inputs) + one_pass = selection(registry, inputs, defaults={ + "layer": (choice for choice in (ModelChoice("carrier", TRANSPORT),)), + }) + assert one_pass.export() == normal.export() + assert {item.scope for item in one_pass.instances} == {LEFT, RIGHT} + contacts = (("anode", "left"), ("cathode", "right")) + interfaces, sides = (("junction", "left", "right"),), (("anode", "left"), ("cathode", "right")) + expected = Topology(("left", "right"), contacts, interfaces, sides, "device") + actual = Topology(("left", "right"), contacts, + (item for item in interfaces), (item for item in sides), "device") + assert actual == expected + with pytest.raises(ValueError, match="directed adjacent"): + Topology(("left", "right"), contacts, (item for item in (("bad", "right", "left"),))) + + +def source_documents(refs): + paths = sorted({ref.id.partition("#")[0] for ref in refs}) + return tuple((path, (ROOT / path).read_bytes()) for path in paths) + + +def test_frozen_model_registry_checks_actual_source_bytes_and_keeps_metadata(registry): + references = tuple(ref for model in registry.definitions for ref in model.capability.evidence) + sources = source_documents(references) + before = registry.export() + registry.verify_sources(iter(sources), expected_sha256=registry.content_sha256) + assert registry.export() == before + with pytest.raises(ValueError, match="frozen identity"): + registry.verify_sources(sources, expected_sha256="0" * 64) + with pytest.raises(ValueError, match="missing evidence"): + registry.verify_sources(sources[:-1], expected_sha256=registry.content_sha256) + altered = ((sources[0][0], sources[0][1] + b"\n"), *sources[1:]) + with pytest.raises(ValueError, match="content mismatch"): + registry.verify_sources(altered, expected_sha256=registry.content_sha256) + with pytest.raises(ValueError, match="duplicate evidence source"): + registry.verify_sources((*sources, sources[0]), expected_sha256=registry.content_sha256) + + +def test_frozen_preset_keeps_all_real_historical_disable_evidence(registry, inputs): + preset = NamedPreset("legacy_observed", 1, "Observed legacy metadata", + (("layer", (ModelChoice("carrier", TRANSPORT),)),), + (evidence(LEGACY + "models/mode.py", "LEGACY"),), historical_disables()) + refs = (*preset.evidence, *(item.evidence for item in preset.historical_disables)) + sources = source_documents(refs) + preset.verify_sources(sources, expected_sha256=preset.content_sha256) + selected = select_preset(preset, registry, inputs[0], context(), inputs[1]) + assert len(selected.preset.historical_disables) == 12 + assert not selected.reenabled_historical_mechanisms + assert selected.selection.export()["status"] == "prepared_pending_dependencies" + assert selected.selection.export()["can_execute"] is False + with pytest.raises(ValueError, match="frozen identity"): + replace(preset, label="Other display label").verify_sources(sources, expected_sha256=preset.content_sha256) + with pytest.raises(ValueError, match="missing evidence"): + preset.verify_sources(sources[:-1], expected_sha256=preset.content_sha256) + + +def test_additive_instances_and_deterministic_declaration_order(registry, inputs): + overrides = {LEFT: {"recombination": (srh_choice("second"), srh_choice("first"))}} + selected = selection(registry, inputs, overrides=overrides) + reordered = ModelRegistry(tuple(reversed(registry.definitions))) + other = selection(reordered, inputs, overrides={LEFT: { + "recombination": tuple(reversed(overrides[LEFT]["recombination"])), + }}) + assert len([x for x in selected.instances if x.model == SRH]) == 2 + assert reordered.content_sha256 == registry.content_sha256 + assert selected.content_sha256 == other.content_sha256 + jv = jv_definition() + second = replace(jv, id="jv_other") + assert ExperimentRegistry((jv, second)).content_sha256 == ExperimentRegistry((second, jv)).content_sha256 + assert replace(jv, label="Another display name").id == jv.id + exported = registry.export() + exported["models"].clear() + assert registry.export()["models"] + with pytest.raises(FrozenInstanceError): + selected.instances[0].local_id = "changed" + + +@pytest.mark.parametrize("overrides,match", [ + ({LEFT: {"transport": (ModelChoice("dup", TRANSPORT), ModelChoice("dup", TRANSPORT))}}, "duplicate model instance"), + ({LEFT: {"transport": (ModelChoice("one", TRANSPORT), ModelChoice("two", TRANSPORT))}}, "exclusive"), + ({LEFT: {"transport": (ModelChoice("wrong", SRH),)}}, "does not belong"), + ({LEFT: {"unknown_family": ()}}, "unknown model family"), + ({Scope("interface", ("right", "left")): {}}, "directed electrical topology"), + ({Scope("layer", ("absorber",)): {}}, "directed electrical topology"), + ({LEFT: {"transport": None}}, None), +]) +def test_invalid_scoped_overrides_reject(registry, inputs, overrides, match): + with pytest.raises((ValueError, TypeError), match=match): + selection(registry, inputs, overrides=overrides) + + +def test_unknown_unconsumed_missing_and_invalid_parameter_values(registry, inputs): + with pytest.raises(ValueError, match="unconsumed"): + selection(registry, inputs, overrides={LEFT: {"transport": ( + ModelChoice("carrier", TRANSPORT, (("D_ion", 0),)), + )}}) + with pytest.raises(ValueError, match="missing consumed"): + selection(registry, inputs, parameter_sources={}) + with pytest.raises(ValueError, match="parameter schema"): + replace(registry.get(TRANSPORT), parameters=("Nc300",)) + for value in (True, None, float("nan"), float("inf"), -1.0, "1 kg"): + with pytest.raises(ValueError): + ModelChoice("carrier", TRANSPORT, (("mu_n", value),)) + with pytest.raises(ValueError): + ModelChoice("carrier", TRANSPORT, (("unknown", 1.0),)) + + +def test_missing_dependency_and_cycle_reject(registry, inputs): + with pytest.raises(ValueError, match="missing dependency"): + selection(registry, inputs, overrides={LEFT: { + "transport": (), "recombination": (ModelChoice("srh", SRH),), + }}, context=context(available_variables=("phi", "n", "p"))) + base = replace(registry.get(TRANSPORT), owns=(), reads=(), parameters=()) + a = replace(base, ref=ModelRef("a", 1), family="a", requires=(Requirement(ModelRef("b", 1)),)) + b = replace(base, ref=ModelRef("b", 1), family="b", requires=(Requirement(ModelRef("a", 1)),)) + cyclic = ModelRegistry((a, b)) + with pytest.raises(ValueError, match="cyclic"): + selection(cyclic, inputs, defaults={"layer": (ModelChoice("a", a.ref), ModelChoice("b", b.ref))}) + + +def test_conflicting_models_ownership_and_unbound_fields_reject(registry, inputs): + conflicting = ModelRegistry(tuple( + replace(item, conflicts=(TRANSPORT,)) if item.ref == SRH else item + for item in registry.definitions + )) + with pytest.raises(ValueError, match="conflicting model"): + selection(conflicting, inputs, overrides={LEFT: {"recombination": (srh_choice(),)}}) + with pytest.raises(ValueError, match="duplicate ownership"): + selection(registry, inputs, defaults={"layer": (ModelChoice("carrier", TRANSPORT, + field_bindings=(("n", "shared_n"),)),)}) + with pytest.raises(ValueError, match="missing required physical variable"): + selection(registry, inputs, context=context(available_variables=())) + with pytest.raises(ValueError, match="unused field binding"): + selection(registry, inputs, overrides={LEFT: {"transport": ( + ModelChoice("carrier", TRANSPORT, field_bindings=(("typo", "phi"),)), + )}}) + + +def test_registry_duplicate_unknown_versions_and_schema_drift(registry, inputs, monkeypatch): + with pytest.raises(ValueError, match="duplicate model ID/version"): + ModelRegistry((*registry.definitions, registry.get(TRANSPORT))) + with pytest.raises(ValueError, match="unknown model ID/version"): + registry.get(ModelRef(TRANSPORT.id, 2)) + with pytest.raises(ValueError, match="unknown dependency"): + ModelRegistry((registry.get(SRH),)) + with pytest.raises(ValueError, match="unknown conflict"): + ModelRegistry((replace(registry.get(TRANSPORT), conflicts=(ModelRef("absent", 1),)),)) + original = LayerValuesInput.model_json_schema() + monkeypatch.setattr(LayerValuesInput, "model_json_schema", classmethod(lambda cls: {**original, "changed": True})) + with pytest.raises(ValueError, match="schema changed"): + selection(registry, inputs) + + +@pytest.mark.parametrize("build", [ + lambda: ModelRef("x", True), lambda: ModelRef("x", 0), lambda: ModelRef("a/b", 1), + lambda: Scope("interface", ("same", "same")), lambda: Scope("layer", ("x", "y")), + lambda: Scope("layer", "x"), lambda: EvidenceRef("source", "bad"), + lambda: OwnedVariable("n", "m^-3", "node", ()), + lambda: OwnedVariable("n", "m^-3", "node", ("x", "x")), + lambda: OwnedVariable("n", "kilogram", "node", ("x",)), + lambda: Topology(("same", "same")), + lambda: Topology(("a", "b", "c"), (("contact", "b"),)), + lambda: ModelChoice("carrier", TRANSPORT, field_bindings=(("n", "x"), ("n", "y"))), + lambda: ModelChoice("carrier", TRANSPORT, field_bindings=("np",)), + lambda: context(dimension=True), lambda: context(temperature_K=0), + lambda: declared_rule(required_facts=("dark",), forbidden_facts=("dark",)), +]) +def test_malformed_metadata_rejects(build): + with pytest.raises(ValueError): + build() + + +def test_one_pass_input_sequences_are_snapshotted_once(): + topology = Topology(("a", "b"), (("c", x) for x in ("a",))) + assert topology.contacts == (("c", "a"),) + choice = ModelChoice("carrier", TRANSPORT, field_bindings=(("n", x) for x in ("target",))) + assert choice.field_bindings == (("n", "target"),) + + +def historical_disables() -> tuple[HistoricalDisable, ...]: + # Derive the actual flag IDs; no duplicate default table in new core. + path = LEGACY + "models/mode.py" + tree = ast.parse((ROOT / path).read_text()) + call = next(node.value for node in tree.body if isinstance(node, ast.Assign) + and any(isinstance(target, ast.Name) and target.id == "LEGACY" for target in node.targets)) + flags = [item.arg for item in call.keywords if isinstance(item.value, ast.Constant) and item.value.value is False] + result = tuple(HistoricalDisable(flag, (ModelRef("legacy." + flag, 1),), evidence(path, "LEGACY")) for flag in flags) + # The MOL policy adds suppressions not represented by those nine flags. + policy = evidence("reproducibility/RefactorCoverageV1.json", "driver:mol") + return (*result, *(HistoricalDisable(name, (ModelRef("legacy." + name, 1),), policy) + for name in ("dos", "physical_te", "steric_diffusion"))) + + +def test_named_preset_preserves_historical_disables_without_a_ceiling(registry, inputs): + disabled = historical_disables() + assert len(disabled) == 12 + preset = NamedPreset("legacy_observed", 1, "Observed legacy metadata", ( + ("layer", (ModelChoice("carrier", TRANSPORT),)), + ), (evidence(LEGACY + "models/mode.py", "LEGACY"),), disabled, + ("driver_environment_resolution_pending_P03_04",)) + result = select_preset(preset, registry, inputs[0], context(), inputs[1]) + assert result.reenabled_historical_mechanisms == () + assert result.preset.unresolved_behavior + ref = next(item.models[0] for item in disabled if item.id == "use_field_dependent_mobility") + planned = replace(registry.get(TRANSPORT), ref=ref) + expanded = ModelRegistry((*registry.definitions, planned)) + changed = select_preset(preset, expanded, inputs[0], context(), inputs[1], { + LEFT: {"transport": (ModelChoice("explicit", ref),)}, + }) + assert changed.reenabled_historical_mechanisms == ("use_field_dependent_mobility",) + assert len(changed.preset.historical_disables) == 12 + with pytest.raises(ValueError, match="historically disabled"): + replace(preset, defaults=(("layer", (ModelChoice("bad", ref),)),)) + + +def narrow_rules() -> dict[str, CapabilityRule]: + docs = "perovskite-sim/docs/" + return { + "fd": CapabilityRule("fd_equilibrium", (1,), ("equilibrium",), + (evidence(docs + "DegenerateSemiconductorClosure.md"),), + statistics=("fermi_dirac",), required_facts=("dark", "uniform_DOS", "homojunction", "ohmic", "recombination_off", "positive_Eg_Nc300_Nv300"), + forbidden_facts=("illumination", "spatial_doping", "heterojunction", "interface_defects", "mobile_ions", "selective_contacts", "field_mobility", "advanced_interfaces", "environment_override"), + required_resources=("semiconductor_work_function_contacts",)), + "wkb": CapabilityRule("wkb_electron_dc", (1,), ("dc",), + (evidence(docs + "ResolvedIntrabandTunnellingContractV2.md"),), + backends=("qf",), statistics=("maxwell_boltzmann",), temperature_K=300, + required_facts=("dark", "one_isolated_material_barrier", "adjacent_reservoirs", "electron_intraband"), + forbidden_facts=("mobile_ions", "illumination", "multiple_barriers", "interface_plane", "hole_channel", "contact_channel", "band_to_band", "defect_assisted")), + "dynamic_interface": CapabilityRule("interface_only_ac", (1,), ("ac",), + (evidence(docs + "DynamicInterfaceDefectDeviceAc.md"),), + required_facts=("two_sided",), forbidden_facts=("bulk_explicit_defects", "mobile_ions", "selective_contacts", "field_mobility", "photon_recycling")), + "twod_combined": CapabilityRule("twod_mobile_interface", (2,), ("transient",), + (evidence(docs + "TwodTransportContract.md"),), + required_facts=("neumann_x", "two_sided", "single_positive_ion"), + forbidden_facts=("field_mobility", "photon_recycling", "periodic_x", "dual_ions", "dynamic_interface_occupancy")), + } + + +@pytest.mark.parametrize(("name", "change", "issue"), [ + ("fd", {"mode": "dc"}, "mode"), ("fd", {"facts": ("illumination",)}, "forbidden_fact:illumination"), + ("fd", {"resources": ()}, "missing_resource:semiconductor_work_function_contacts"), + ("fd", {"facts": ("mobile_ions",)}, "forbidden_fact:mobile_ions"), + ("wkb", {"mode": "ac"}, "mode"), ("wkb", {"dimension": 2}, "dimension"), + ("wkb", {"temperature_K": 301}, "temperature"), ("wkb", {"backend": "mol"}, "backend"), + ("wkb", {"facts": ("hole_channel",)}, "forbidden_fact:hole_channel"), + ("wkb", {"facts": ("mobile_ions",)}, "forbidden_fact:mobile_ions"), + ("wkb", {"facts": ("multiple_barriers",)}, "forbidden_fact:multiple_barriers"), + ("dynamic_interface", {"facts": ("bulk_explicit_defects",)}, "forbidden_fact:bulk_explicit_defects"), + ("dynamic_interface", {"facts": ("mobile_ions",)}, "forbidden_fact:mobile_ions"), + ("dynamic_interface", {"dimension": 2}, "dimension"), + ("twod_combined", {"facts": ("periodic_x",)}, "forbidden_fact:periodic_x"), + ("twod_combined", {"facts": ("dynamic_interface_occupancy",)}, "forbidden_fact:dynamic_interface_occupancy"), + ("twod_combined", {"facts": ("dual_ions",)}, "forbidden_fact:dual_ions"), +]) +def test_narrow_scope_conditions_reject_without_promoting_metadata(name, change, issue, registry, inputs): + rule = narrow_rules()[name] + baseline = CapabilityContext(rule.dimensions[0], rule.modes[0], + rule.backends[0] if rule.backends else "metadata_only", + rule.statistics[0] if rule.statistics else "maxwell_boltzmann", + facts=rule.required_facts, resources=rule.required_resources, + temperature_K=rule.temperature_K) + assert rule.problems(baseline, ()) == () # Necessary declarations only. + assert issue in rule.problems(replace(baseline, **change), ()) + experiment = replace(jv_definition(), capability=rule, required_models=()) + metadata_only = select_models(registry, inputs[0], baseline, {}, {}) + result = ExperimentRegistry((experiment,)).preflight("jv", 1, metadata_only, registry) + assert result.declared_compatible + assert not result.can_execute + + +def test_experiment_source_names_exist_without_importing_them(): + definition = jv_definition() + for item in (definition.parameter_schema, definition.result_schema, + definition.protocol_builder, definition.executor_source): + path, symbol = item.id.split("#") + names = {node.name for node in ast.parse((ROOT / path).read_text()).body + if isinstance(node, (ast.FunctionDef, ast.ClassDef))} + assert symbol in names + path, symbol = definition.renderer_source.id.split("#") + assert f"export function {symbol}(" in (ROOT / path).read_text() + + +def test_experiment_duplicate_missing_models_and_identity_mismatch(registry, inputs): + experiment = jv_definition() + with pytest.raises(ValueError, match="duplicate experiment"): + ExperimentRegistry((experiment, experiment)) + experiments = ExperimentRegistry((experiment,)) + with pytest.raises(ValueError, match="unknown experiment"): + experiments.get("jv", 2) + empty = select_models(registry, inputs[0], context(), {}, {}) + assert experiments.preflight("jv", 1, empty, registry).declared_problems == ( + "experiment:missing_model:transport.constant/1", + ) + changed = ModelRegistry(tuple(replace(item, label="changed") for item in registry.definitions)) + with pytest.raises(ValueError, match="identity mismatch"): + experiments.preflight("jv", 1, empty, changed) + with pytest.raises(TypeError): + replace(experiment, executor="pretend.available.runner") + assert metadata_value(experiment)["executor_source"]["sha256"] + + +@pytest.mark.parametrize("change", [ + "removed_dependency", "reversed_order", "missing_parameters", "duplicate_ownership", + "wrong_owned_spec", "wrong_scope", "unconsumed_parameters", "missing_read", + "exclusive_family", "stale_diagnostics", +]) +def test_preflight_revalidates_edited_selection(registry, inputs, change): + selected = selection(registry, inputs, overrides={LEFT: {"recombination": (srh_choice(),)}}) + items = list(selected.instances) + left = next(i for i, item in enumerate(items) if item.id == "layer/left/carrier") + right = next(i for i, item in enumerate(items) if item.id == "layer/right/carrier") + if change == "removed_dependency": + removed = items.pop(left) + edited = replace(selected, instances=tuple(items), evaluation_order=tuple( + id for id in selected.evaluation_order if id != removed.id + )) + elif change == "reversed_order": + edited = replace(selected, evaluation_order=tuple(reversed(selected.evaluation_order))) + elif change == "stale_diagnostics": + edited = replace(selected, context=replace(selected.context, statistics="fermi_dirac")) + else: + if change == "missing_parameters": + items[left] = replace(items[left], parameters=()) + elif change == "duplicate_ownership": + items[right] = replace(items[right], owned_variables=items[left].owned_variables) + elif change == "wrong_owned_spec": + owned = list(items[left].owned_variables) + owned[0] = (owned[0][0], replace(owned[0][1], unit="V")) + items[left] = replace(items[left], owned_variables=tuple(owned)) + elif change == "wrong_scope": + items[left] = replace(items[left], scope=Scope("device")) + elif change == "unconsumed_parameters": + items[left] = replace(items[left], parameters=(*items[left].parameters, ("D_ion", 0.0))) + elif change == "missing_read": + items[left] = replace(items[left], read_variables=()) + elif change == "exclusive_family": + extra = replace(items[left], local_id="another", owned_variables=tuple( + (target + ":other", variable) for target, variable in items[left].owned_variables + )) + items.append(extra) + # Preserve the original relative order where possible; the validators + # must independently check the edited declaration, not merely its IDs. + order = tuple(item.id for item in items) + edited = replace(selected, instances=tuple(items), evaluation_order=order) + with pytest.raises(ValueError): + validate_selection(edited, registry) + with pytest.raises(ValueError): + ExperimentRegistry((jv_definition(),)).preflight("jv", 1, edited, registry) + + +def test_simultaneous_state_reads_do_not_create_implicit_dependency_cycles(registry, inputs): + base = replace(registry.get(TRANSPORT), parameters=(), owns=(), reads=(), requires=()) + a = replace(base, ref=ModelRef("coupled_a", 1), family="a", reads=("b",), + owns=(OwnedVariable("a", "1", "node", ("node",)),)) + b = replace(base, ref=ModelRef("coupled_b", 1), family="b", reads=("a",), + owns=(OwnedVariable("b", "1", "node", ("node",)),)) + coupled = ModelRegistry((a, b)) + choices = (ModelChoice("a", a.ref, field_bindings=(("a", "state_a"), ("b", "state_b"))), + ModelChoice("b", b.ref, field_bindings=(("a", "state_a"), ("b", "state_b")))) + result = select_models(coupled, Topology(("left",)), context(), {"layer": choices}, {}) + assert result.evaluation_order == ("layer/left/a", "layer/left/b") + assert validate_selection(result, coupled) == () diff --git a/tests/refactor/test_release_bundle.py b/tests/refactor/test_release_bundle.py new file mode 100644 index 00000000..11933b8c --- /dev/null +++ b/tests/refactor/test_release_bundle.py @@ -0,0 +1,278 @@ +"""Genuine frozen Git sources, wheel installation and complete content checks. + +The working authoring validator is not relabelled as part of an older commit. +The isolated package is built exclusively from the real named Git snapshot; +the current validator independently checks the resulting bytes and origins. +""" +from dataclasses import FrozenInstanceError, replace +import hashlib +import io +import json +from pathlib import Path +import shutil +import subprocess +import sys +import tarfile + +import pytest + +from solarlab.materials.source import SourceDocument +from solarlab.config.identity import ExecutionEngine, execution_identity, execution_manifest, verify_execution_manifest +from solarlab.reproducibility.release import ( + ReleaseFile, read_release_bundle, snapshot_release_bundle, + verify_release_installation, write_release_bundle, +) +from test_execution_identity_preparation import device as device, execution as execution, identity_inputs + +ROOT = Path(__file__).resolve().parents[2] +REQUIRED = ( + ("uv.lock", "dependency_lock"), ("pyproject.toml", "build_configuration"), + ("src/solarlab/config/identity.py", "validator"), + ("src/solarlab/reproducibility/sources.py", "validator"), + ("src/solarlab/reproducibility/PublicAPI.json", "contract"), + ("reproducibility/RefactorTransitionBoundariesV1.json", "contract"), + ("perovskite-sim/perovskite_sim/data/nk/MAPbI3.csv", "resource"), + ("scripts/generate_configuration_schema.py", "build_configuration"), + ("generated/configuration-schema.json", "generated_schema"), +) +MODULES = ("solarlab.config.identity", "solarlab.config.schema", "solarlab.experiments.jv.preparation", + "solarlab.sweeps.preparation", "solarlab_server", "solarlab_research") + + +def command(args, cwd): + result = subprocess.run([str(item) for item in args], cwd=cwd, capture_output=True, timeout=120) + assert result.returncode == 0, result.stdout.decode() + result.stderr.decode() + return result.stdout + + +@pytest.fixture(scope="module") +def frozen(tmp_path_factory): + root = tmp_path_factory.mktemp("actual-build-source") + commit = command(["git", "rev-parse", "HEAD"], ROOT).decode().strip() + paths = ("src", "perovskite-sim/perovskite_sim", "uv.lock", "pyproject.toml", + "reproducibility/RefactorTransitionBoundariesV1.json", "scripts/generate_configuration_schema.py") + archive = command(["git", "archive", commit, "--", *paths], ROOT) + with tarfile.open(fileobj=io.BytesIO(archive)) as tar: + for member in tar.getmembers(): + path = root / member.name + assert path.resolve().is_relative_to(root) and (member.isdir() or member.isfile()) + if member.isfile(): + path.parent.mkdir(parents=True, exist_ok=True) + path.write_bytes(tar.extractfile(member).read()) + content = command([sys.executable, "-I", "-B", "-c", """ +import sys +sys.path.insert(0, sys.argv[1]) +from solarlab.config.schema import configuration_schema_representation +sys.stdout.buffer.write(configuration_schema_representation()[0]) +""", root / "src"], root) + (root / "generated").mkdir() + (root / "generated/configuration-schema.json").write_bytes(content) + bundle = snapshot_release_bundle(root, build_source_commit=commit, profile="transition", required_files=REQUIRED) + return root, bundle + + +def test_complete_actual_source_bundle_is_immutable_and_preserves_commit_meaning(frozen): + source, bundle = frozen + records = bundle.export() + assert records["build_source_commit"] == bundle.build_source_commit + assert records["historical_source_algorithms"] == "unchanged" and not records["scientific_qualification"] + assert hashlib.sha256(bundle.canonical_json).hexdigest() == bundle.sha256 + assert not bundle.can_execute + expected = {path.relative_to(source).as_posix() for name in ("solarlab", "solarlab_server", "solarlab_research") + for path in (source / "src" / name).rglob("*") if path.is_file()} + assert expected <= {item.source_path for item in bundle.files} + assert all(item.content == (source / item.source_path).read_bytes() for item in bundle.files) + assert any(item.path.endswith("/py.typed") and item.content == b"" for item in bundle.files) + build = bundle.implementation() + assert build.build_source_commit == bundle.build_source_commit + assert any(item.id == "src/solarlab/config/identity.py" for item in build.files) + assert next(item.content for item in build.files if item.id == "release:content-manifest.v1") == bundle.canonical_json + assert any(item.id == "generated/configuration-schema.json" for item in build.files) + assert {item.role for item in bundle.files} == {role for _, role in REQUIRED} | {"package"} + with pytest.raises(FrozenInstanceError): + bundle.profile = "target" + assert replace(bundle, build_source_commit="3" * 40).sha256 != bundle.sha256 + records["files"].clear() + assert bundle.export()["files"] + + +def test_complete_release_implementation_fits_the_real_execution_manifest(frozen, device, execution): + bundle = frozen[1] + description = replace(execution, implementation=bundle.implementation()) + inputs, engine = identity_inputs(device), ExecutionEngine("solarlab") + manifest = execution_manifest(inputs, description, engine=engine) + assert len(manifest.canonical_json) > 2**23 + assert len(manifest.export()["document"]["implementation_content"]) == len(description.implementation.files) + result = verify_execution_manifest(manifest, inputs, description, engine=engine, + environment=description.environment, expected_sha256=manifest.sha256) + assert result.sha256 == manifest.execution_sha256 and not result.cache_eligible + + +def test_generated_schema_and_empty_marker_records_remain_execution_bound(frozen, device, execution): + bundle = frozen[1] + changed = replace(bundle, files=tuple(replace(item, content=item.content+b"\n") + if item.role == "generated_schema" else item for item in bundle.files)) + inputs, engine = identity_inputs(device), ExecutionEngine("solarlab") + first = execution_identity(inputs, replace(execution, implementation=bundle.implementation()), engine=engine) + second = execution_identity(inputs, replace(execution, implementation=changed.implementation()), engine=engine) + assert first.sha256 != second.sha256 + assert {item["source_path"] for item in bundle.export()["files"] if item["bytes"] == 0} + + +def test_bundle_roundtrip_preserves_every_byte_and_rejects_existing_destination(frozen, tmp_path): + bundle = frozen[1] + output = tmp_path / "release" + write_release_bundle(bundle, output) + manifest = SourceDocument("ReleaseBundle.json", (output / "ReleaseBundle.json").read_bytes()) + loaded = read_release_bundle(manifest, output, expected_sha256=bundle.sha256) + assert loaded == bundle + with pytest.raises(FileExistsError): + write_release_bundle(bundle, output) + with pytest.raises(ValueError, match="expected"): + read_release_bundle(manifest, output, expected_sha256="0" * 64) + + +@pytest.mark.parametrize("role", ["dependency_lock", "generated_schema", "validator", "contract", "resource"]) +def test_missing_required_role_refuses(frozen, role): + bundle = frozen[1] + with pytest.raises(ValueError, match="missing"): + replace(bundle, files=tuple(item for item in bundle.files if item.role != role)) + + +def test_target_profile_excludes_legacy_and_paths_are_explicit(frozen): + bundle = frozen[1] + with pytest.raises(ValueError, match="legacy"): + replace(bundle, profile="target") + for source, path in (("../code.py", "share/code.py"), ("src/solarlab/a.py", "site/solarlab/b.py")): + with pytest.raises(ValueError): + ReleaseFile(source, path, "package", b"pass\n") + with pytest.raises(ValueError, match="duplicate"): + replace(bundle, files=(*bundle.files, bundle.files[0])) + + +@pytest.fixture(scope="module") +def installation(frozen, tmp_path_factory): + source, bundle = frozen + root = tmp_path_factory.mktemp("isolated-wheel") + uv = shutil.which("uv") + if uv is None: + pytest.skip("release installation requires uv on PATH; CI installs the pinned uv build tool") + command([uv, "build", "--offline", "--wheel", "--python", sys.executable, "--out-dir", root / "wheels", source], root) + wheel, = (root / "wheels").glob("*.whl") + installed = root / "installed" + command([uv, "pip", "install", "--offline", "--no-deps", "--python", sys.executable, + "--target", installed / "site", wheel], root) + for item in bundle.files: + if item.path.startswith("share/"): + path = installed / item.path + path.parent.mkdir(parents=True, exist_ok=True) + path.write_bytes(item.content) + script = """ +import hashlib, importlib, importlib.metadata, json, pathlib, sys +site = pathlib.Path(sys.argv[1]) +sys.path.insert(0, str(site)) +for name in json.loads(sys.argv[2]): importlib.import_module(name) +from solarlab.config.schema import configuration_schema_representation +assert pathlib.Path(importlib.metadata.distribution('solarlab').locate_file('')).resolve() == site.resolve() +roots = {'solarlab', 'solarlab_research', 'solarlab_server', 'perovskite_sim'} +origins = sorted((name, str(pathlib.Path(module.__file__).resolve())) for name, module in sys.modules.items() + if name.split('.')[0] in roots) +print(json.dumps(dict(module_origins=origins, schema_sha256=hashlib.sha256(configuration_schema_representation()[0]).hexdigest()))) +""" + actual = json.loads(command([sys.executable, "-I", "-B", "-c", script, installed / "site", json.dumps(MODULES)], root)) + return installed, actual, wheel + + +def test_actual_wheel_installed_outside_checkout_matches_every_source_and_schema(frozen, installation, record_property): + bundle = frozen[1] + root, actual, _ = installation + maintained_head = command(["git", "rev-parse", "HEAD"], ROOT).decode().strip() + result = verify_release_installation(bundle, root, expected_sha256=bundle.sha256, + module_origins=tuple(map(tuple, actual["module_origins"])), required_modules=MODULES, + current_repository_head=maintained_head) + assert result["source_installation_verified"] and not result["scientific_qualification"] + assert result["build_source_commit"] == bundle.build_source_commit + assert result["current_repository_head"] == maintained_head + assert result["files_verified"] == len(bundle.files) + schema, = (item for item in bundle.files if item.role == "generated_schema") + assert actual["schema_sha256"] == hashlib.sha256(schema.content).hexdigest() + assert all(not Path(origin).is_relative_to(ROOT) for _, origin in actual["module_origins"]) + record_property("release_check", json.dumps({**result, "bundle": bundle.export(), + "wheel_sha256": hashlib.sha256(installation[2].read_bytes()).hexdigest(), + "schema_sha256": actual["schema_sha256"], "all_source_bytes_equal": True})) + + +def test_maintenance_head_observation_cannot_replace_the_build_commit(frozen, installation): + bundle = frozen[1] + root, actual, _ = installation + previous = command(["git", "rev-parse", "HEAD^"], ROOT).decode().strip() + result = verify_release_installation(bundle, root, expected_sha256=bundle.sha256, + module_origins=tuple(map(tuple, actual["module_origins"])), required_modules=MODULES, + current_repository_head=previous) + assert result["current_repository_head"] == previous + assert result["bundle_sha256"] == bundle.sha256 and result["build_source_commit"] == bundle.build_source_commit + + +def test_checkout_fallback_and_missing_entry_origin_refuse(frozen, installation): + bundle = frozen[1] + root, actual, _ = installation + origins = dict(actual["module_origins"]) + origins["solarlab.config.identity"] = str(ROOT / "src/solarlab/config/identity.py") + with pytest.raises(ValueError, match="editable/unbound"): + verify_release_installation(bundle, root, expected_sha256=bundle.sha256, + module_origins=tuple(origins.items()), required_modules=MODULES) + del origins["solarlab.config.identity"] + with pytest.raises(ValueError, match="required module"): + verify_release_installation(bundle, root, expected_sha256=bundle.sha256, + module_origins=tuple(origins.items()), required_modules=MODULES) + + +@pytest.mark.parametrize("change", ["package", "lock", "schema", "resource", "contract", "extra", "bytecode", "symlink"]) +def test_changed_installed_source_data_and_unbound_content_refuse(frozen, tmp_path, change): + bundle = frozen[1] + root = tmp_path / "installed" + write_release_bundle(bundle, root) + selected = {"package": "site/solarlab/config/identity.py", "lock": "share/uv.lock", + "schema": "share/generated/configuration-schema.json", + "resource": "site/perovskite_sim/data/nk/MAPbI3.csv", + "contract": "share/reproducibility/RefactorTransitionBoundariesV1.json"} + if change in selected: + path = root / selected[change] + path.write_bytes(path.read_bytes() + b"\n") + elif change in {"extra", "bytecode"}: + path = root / "site/solarlab" / ("unbound.py" if change == "extra" else "unbound.pyc") + path.write_bytes(b"unbound") + else: + path = root / "site/solarlab/config/identity.py" + path.unlink() + path.symlink_to(ROOT / "src/solarlab/config/identity.py") + with pytest.raises(ValueError, match="changed|unbound|escapes"): + verify_release_installation(bundle, root, expected_sha256=bundle.sha256, + module_origins=(("solarlab", str(root / "site/solarlab/__init__.py")),), required_modules=("solarlab",)) + + +def test_release_job_provenance_keeps_full_pins_and_strict_source_policy(frozen, tmp_path): + bundle = frozen[1] + original = bundle.canonical_json + recorded = bundle.job_provenance({"declared_input": "source-only test"}, operator="test.release") + assert recorded.export()["git_commit"] == bundle.build_source_commit + assert recorded.export()["dirty_policy"] == "refuse" + assert len(recorded.export()["source_files"]) == len(bundle.files) + from solarlab.experiments.worker import observe_environment + root = tmp_path / "installed" + write_release_bundle(bundle, root) + environment = observe_environment(("numpy",), ("OMP_NUM_THREADS",)) + checks = dict(installation_root=root, expected_bundle_sha256=bundle.sha256, + module_origins=(("solarlab.config.identity", str(root / "site/solarlab/config/identity.py")),), + required_modules=("solarlab.config.identity",), environment=environment) + verified = bundle.verify_job_provenance(recorded.envelope(), recorded, **checks) + assert verified["status"] == "same" and verified["scientific_qualification"] is False + with pytest.raises(ValueError, match="environment"): + bundle.verify_job_provenance(recorded.envelope(), recorded, + **{**checks, "environment": replace(environment, python_version="0.0.0")}) + changed = replace(bundle, files=tuple(replace(item, content=item.content+b"\n") + if item.source_path == "src/solarlab/config/identity.py" else item for item in bundle.files)) + current = changed.job_provenance({}, operator="test.release") + with pytest.raises(ValueError, match="strict_same_source"): + bundle.verify_job_provenance(recorded.envelope(), current, **checks) + assert bundle.canonical_json == original diff --git a/tests/refactor/test_scaps_reference.py b/tests/refactor/test_scaps_reference.py new file mode 100644 index 00000000..cf046cbd --- /dev/null +++ b/tests/refactor/test_scaps_reference.py @@ -0,0 +1,229 @@ +"""SCAPS case coverage and exact input targeting, without a physics solve.""" +from copy import deepcopy +from decimal import Decimal +import json +from pathlib import Path + +import pytest +import yaml + +from scripts.benchmarks import scaps_reference as sr + + +REPO = Path(__file__).resolve().parents[2] + + +@pytest.fixture(scope="module") +def inventory(): + manifest = json.loads((REPO / sr.MANIFEST).read_text()) + contract = json.loads((REPO / sr.CONTRACT).read_text()) + assert sr.file_digest(REPO / sr.CONTRACT) == sr.CONTRACT_SHA256 + assert sr.digest(manifest["scaps"]["groups"]) == contract["reference_set"]["manifest_groups_payload_sha256"] + return manifest["scaps"]["groups"] + + +@pytest.fixture(scope="module") +def template(): + return yaml.safe_load((REPO / sr.TEMPLATE).read_text()) + + +def named(items, name, key="name"): + return next(item for item in items if item[key] == name) + + +def differences(before, after, path=()): + if isinstance(before, dict) and isinstance(after, dict): + assert before.keys() == after.keys() + return [change for key in before for change in differences(before[key], after[key], (*path, key))] + if isinstance(before, list) and isinstance(after, list): + assert len(before) == len(after) + return [change for i, (left, right) in enumerate(zip(before, after, strict=True)) + for change in differences(left, right, (*path, i))] + return [] if type(before) is type(after) and before == after else [path] + + +def test_every_reported_coordinate_and_missing_row_is_retained(template, inventory): + original = sr.digest(template) + cases = sr.build_cases(template, inventory) + assert len(cases) == 262 + assert len({case["id"] for case in cases}) == 262 + assert sum(case["reference_status"] == "ok" for case in cases) == 247 + assert sum(case["reference_status"] == "reference_missing" for case in cases) == 14 + assert sum(case["group_id"] == "scaps_pvk_donor" for case in cases) == 6 + assert sum(case["group_id"] == "scaps_nt_et" for case in cases) == 56 + assert sum(case["group_id"] == "scaps_nt_cbo" for case in cases) == 112 + for group in inventory: + expected = {tuple(Decimal(str(v)) for v in point["coordinates"]) for point in group["points"]} + actual = {tuple(Decimal(str(v)) for v in case["coordinates"]) + for case in cases if case["group_id"] == group["id"]} + assert actual == expected + assert sr.digest(template) == original + + +@pytest.mark.parametrize("group,target,field,value", [ + ("scaps_nt_pvk_cb", "Perovskite-CB", "N_t_cm3", 1e9), + ("scaps_nt_pvk_vb", "Perovskite-VB", "N_t_cm3", 1e15), + ("scaps_et_pvk_cb", "Perovskite-CB", "E_t_eV_below_cb", 0.05), + ("scaps_et_pvk_vb", "Perovskite-VB", "E_t_eV_above_vb", 0.6), +]) +def test_bulk_scans_change_one_named_defect_only(template, group, target, field, value): + result, edits = sr.case_document(template, group, [value]) + defects = named(result["layers"], "SCAPS_PVK")["bulk_defects"] + assert named(defects, target)[field] == value + assert len(defects) == 2 + assert len(differences(template, result)) == 1 + assert len(edits) == 1 and edits[0]["selector"] == target + assert edits[0]["field"] == field + other = "Perovskite-VB" if target == "Perovskite-CB" else "Perovskite-CB" + assert named(defects, other) == named(named(template["layers"], "SCAPS_PVK")["bulk_defects"], other) + + +@pytest.mark.parametrize("group,target", [("scaps_etl_donor", "SCAPS_ETL"), + ("scaps_pvk_donor", "SCAPS_PVK")]) +def test_donor_scans_preserve_other_doping_and_layers(template, group, target): + result, edits = sr.case_document(template, group, [1e10]) + assert named(result["layers"], target)["N_D_cm3"] == 1e10 + assert named(result["layers"], target)["N_A_cm3"] == named(template["layers"], target)["N_A_cm3"] + assert len(differences(template, result)) == 1 + assert edits[0]["effective_unit"] == "cm^-3" + + +@pytest.mark.parametrize("group,target,field,value", [ + ("scaps_nt_htl_pvk", "HTL/PVK", "N_t_cm2", 1e9), + ("scaps_nt_pvk_etl", "PVK/ETL", "N_t_cm2", 1e15), + ("scaps_et_htl_pvk", "HTL/PVK", "E_t_eV_below_cb", 0.05), + ("scaps_et_pvk_etl", "PVK/ETL", "E_t_eV_below_cb", 0.4), +]) +def test_interface_scans_preserve_all_other_parameters(template, group, target, field, value): + result, edits = sr.case_document(template, group, [value]) + assert named(result["interfaces"], target, "target")[field] == value + assert len(differences(template, result)) == 1 + assert edits[0]["container"] == "interface" + assert result["device"] == template["device"] + + +@pytest.mark.parametrize("cbo", [-1, -0.2, -0.16, 0, 0.5, 0.7]) +def test_cbo_uses_reported_coordinate_and_pvk_affinity(template, cbo): + result, edits = sr.case_document(template, "scaps_cbo", [cbo]) + expected = float(Decimal("3.94") - Decimal(str(cbo))) + assert named(result["layers"], "SCAPS_ETL")["chi_eV"] == expected + assert named(result["layers"], "SCAPS_PVK") == named(template["layers"], "SCAPS_PVK") + assert edits[0]["axis"] == "CBO" and edits[0]["value"] == expected + + +@pytest.mark.parametrize("group,coordinates", [("scaps_nt_et", [1e9, 0.1]), + ("scaps_nt_cbo", [1e9, -0.2])]) +def test_pair_scans_compose_two_targeted_changes(template, group, coordinates): + result, edits = sr.case_document(template, group, coordinates) + assert len(differences(template, result)) == 2 + assert len(edits) == 2 + assert named(result["interfaces"], "PVK/ETL", "target")["N_t_cm2"] == 1e9 + + +def test_case_roundtrip_keeps_reference_answers_out_of_solver_inputs(template, inventory): + plan = {"template": template, "template_document_sha256": sr.digest(template), + "cases": sr.build_cases(template, inventory)} + reviewed_identity = sr.digest(plan) + plan["identity_sha256"] = reviewed_identity + restored = json.loads(json.dumps(plan)) + for case in restored["cases"]: + document = sr.materialize_case(restored, case["id"], expected_plan_identity=reviewed_identity) + assert sr.digest(document) == case["input_document_sha256"] + assert "values" not in case + assert all(metric not in json.dumps(case) for metric in + ("Voc_V", "Jsc_mA_cm2", "FF_percent", "PCE_percent")) + # Full execution identity has not been established, so aliases stay present. + assert len({case["input_document_sha256"] for case in restored["cases"]}) < len(restored["cases"]) + + +def test_effective_areal_hypothesis_is_explicit(template, inventory): + cases = sr.build_cases(template, inventory) + for case in cases: + for edit in case["updates"]: + if edit["container"] == "interface" and edit["axis"] == "Nt": + assert edit["reported_coordinate_unit"] == "cm^-3" + assert edit["effective_unit"] == "cm^-2" + assert "no thickness conversion" in edit["unit_interpretation"] + + +@pytest.mark.parametrize("bad", [True, "1e9", float("nan"), float("inf"), -1]) +def test_invalid_donor_value_is_rejected(template, bad): + with pytest.raises(sr.ReferenceError): + sr.case_document(template, "scaps_pvk_donor", [bad]) + + +@pytest.mark.parametrize("mutation", ["missing_group", "duplicate_group", "duplicate_coordinate", "axis_order", "missing_point", "unknown_status"]) +def test_incomplete_or_ambiguous_reference_coverage_is_rejected(template, inventory, mutation): + groups = deepcopy(inventory) + if mutation == "missing_group": + groups.pop() + elif mutation == "duplicate_group": + groups.append(deepcopy(groups[0])) + elif mutation == "duplicate_coordinate": + groups[0]["points"][1]["coordinates"] = groups[0]["points"][0]["coordinates"] + elif mutation == "axis_order": + groups[-1]["axes"].reverse() + elif mutation == "missing_point": + groups[0]["points"].pop() + else: + groups[0]["points"][0]["status"] = "filled_from_pixels" + with pytest.raises(sr.ReferenceError): + sr.build_cases(template, groups) + + +@pytest.mark.parametrize("mutation", ["duplicate_target", "missing_field", "renamed_defect"]) +def test_template_drift_cannot_retarget_a_defect(template, mutation): + changed = deepcopy(template) + defects = named(changed["layers"], "SCAPS_PVK")["bulk_defects"] + if mutation == "duplicate_target": + defects.append(deepcopy(defects[0])) + elif mutation == "missing_field": + del defects[0]["N_t_cm3"] + else: + defects[0]["name"] = "unknown" + with pytest.raises(sr.ReferenceError): + sr.case_document(changed, "scaps_nt_pvk_cb", [1e9]) + + +@pytest.mark.parametrize("mutation", ["template", "coordinate", "annotation", "input_hash"]) +def test_materialization_checks_template_coordinate_and_display_binding(template, inventory, mutation): + plan = {"template": deepcopy(template), "template_document_sha256": sr.digest(template), + "cases": sr.build_cases(template, inventory)} + reviewed_identity = sr.digest(plan) + plan["identity_sha256"] = reviewed_identity + case = next(case for case in plan["cases"] if case["group_id"] == "scaps_pvk_donor") + if mutation == "template": + plan["template"]["device"]["V_bi"] = 2.0 + elif mutation == "coordinate": + case["coordinates"][0] = 3e9 + elif mutation == "annotation": + case["updates"][0]["selector"] = "SCAPS_ETL" + else: + case["input_document_sha256"] = "0" * 64 + with pytest.raises(sr.ReferenceError): + sr.materialize_case(plan, case["id"], expected_plan_identity=reviewed_identity) + + +@pytest.mark.parametrize("mutation", ["reported_unit", "interpretation", "axis_unit", "source_row", "status"]) +@pytest.mark.parametrize("reseal", [False, True]) +def test_materialization_binds_complete_provenance_to_reviewed_plan(template, inventory, mutation, reseal): + plan = {"template": template, "template_document_sha256": sr.digest(template), + "cases": sr.build_cases(template, inventory)} + reviewed_identity = sr.digest(plan) + plan["identity_sha256"] = reviewed_identity + case = next(case for case in plan["cases"] if case["id"] == "scaps_nt_pvk_etl:row2") + if mutation == "reported_unit": + case["updates"][0]["reported_coordinate_unit"] = "m^-3" + elif mutation == "interpretation": + case["updates"][0]["unit_interpretation"] = "converted using an unreported thickness" + elif mutation == "axis_unit": + case["axes"][0]["unit_as_reported"] = "m^-3" + elif mutation == "source_row": + case["source"]["worksheet_row"] = 999999 + else: + case["reference_status"] = "reference_missing" + if reseal: + plan["identity_sha256"] = sr.digest({key: value for key, value in plan.items() + if key != "identity_sha256"}) + with pytest.raises(sr.ReferenceError, match="independently reviewed identity"): + sr.materialize_case(plan, case["id"], expected_plan_identity=reviewed_identity) diff --git a/tests/refactor/test_segment_startup.py b/tests/refactor/test_segment_startup.py new file mode 100644 index 00000000..121f9692 --- /dev/null +++ b/tests/refactor/test_segment_startup.py @@ -0,0 +1,312 @@ +"""Real-input request checks and synthetic constructor/reader discriminants. + +No IDA import or native trajectory is used. Synthetic statistics test readback +rejection, not the physical or numerical validity of an initial step. +""" +from copy import deepcopy +from dataclasses import asdict +import json +import os +from pathlib import Path + +import pytest + +from scripts.benchmarks import coupled_device_prototype as device +from scripts.benchmarks.native_readback import ( + HistoryVerificationError, SegmentStartupCheck, segment_startup_controls, +) + + +@pytest.fixture(scope="module") +def requests(): + bound_inputs = os.environ.get("LIFT_PREVIOUS_REQUESTS") + if bound_inputs is None: + pytest.skip("real-input SegmentStartup checks require LIFT_PREVIOUS_REQUESTS; absence is not qualification") + paths = json.loads(Path(bound_inputs).read_text()) + previous = json.loads(Path(paths["DynamicAcceptorIonPublicDeviceV1"]).read_text()) + model = device.AffineCoupledSlab(device.SlabDefinition(**previous["numeric_packet"]["definition"]), 8) + mapping = device.AffineVoltageMap(model) + segments = tuple(device.ProtocolSegment(**row) for row in previous["segments"]) + options = dict(nonlin_conv_coef=1e-8, nonlin_guard="first-correction-wrms-v1", + first_step=7.8125e-7, time_weight_kappa=1024) + parent = device.prepare_voltage_lift_native_request(mapping, segments, previous, **options) + selected = device.prepare_voltage_lift_native_request( + mapping, segments, previous, **options, + segment_startup_overrides={"slow_state_hold": {"first_step": 0.0}}) + return mapping, segments, previous, options, parent, selected + + +def test_absent_and_explicit_zero_preserve_the_physical_request(requests): + mapping, segments, previous, options, parent, selected = requests + default = device.prepare_voltage_lift_native_request( + mapping, segments, previous, **options, segment_startup_overrides=None) + assert default == parent and "segment_startup_policy" not in parent + for request in (parent, selected): + device.validate_voltage_lift_native_request(mapping, segments, request) + changed = {key for key in selected if selected[key] != parent.get(key)} + assert changed == {"segment_startup_policy", "preparation_context_sha256", "initial_preparation"} + assert selected["controls"] == parent["controls"] + assert selected["previous_controls"] == previous["controls"] + assert selected["segments"][-1]["end"] == 9.2 + assert len(selected["controls"]["atol"]) == 45 + assert sum(map(len, selected["observation_times"].values())) == 131 + assert set(selected["quadrature"]) == {"8", "16", "32"} + for key in ("point_identity", "raw_z_hex", "raw_zdot_hex", "inputs_hex", "input_rates_hex", + "desired_physical_tangent_hex", "mapped_physical_rate_words_hex", + "desired_tangent_residual_SI", "represented_rate_residual_SI"): + assert selected["initial_preparation"][key] == parent["initial_preparation"][key], key + assert device.digest(selected) != device.digest(parent) + assert selected["initial_preparation"]["request_sha256"] == selected["preparation_context_sha256"] + + +@pytest.mark.parametrize("overrides", [ + {}, True, [], {"voltage_ramp": {"first_step": 0.0}}, + {"slow_state_hold": {}}, {"slow_state_hold": {"max_step": 0.0}}, + {"slow_state_hold": {"first_step": False}}, {"slow_state_hold": {"first_step": -0.0}}, + {"slow_state_hold": {"first_step": -1.0}}, {"slow_state_hold": {"first_step": 1e-10}}, + {"slow_state_hold": {"first_step": float("inf")}}, + {"slow_state_hold": {"first_step": "0.0"}}, + {"slow_state_hold": {"first_step": 0.0, "rtol": 1e-12}}, + {"slow_state_hold": {"first_step": 0.0}, "dark_equilibrium_hold": {"first_step": 0.0}}, +]) +def test_invalid_policy_rejected_by_constructor(requests, overrides): + mapping, segments, previous, options, _, _ = requests + with pytest.raises(device.ContractError, match="invalid_segment_startup"): + device.prepare_voltage_lift_native_request( + mapping, segments, previous, **options, segment_startup_overrides=overrides) + + +def test_tampered_policy_and_unrelated_controls_rejected(requests): + mapping, segments, _, _, _, selected = requests + policy = selected["segment_startup_policy"] + for field in policy: + altered = deepcopy(selected) + altered["segment_startup_policy"][field] = {} if field == "overrides" else "forged" + with pytest.raises(device.ContractError, match="segment_startup"): + device.validate_voltage_lift_native_request(mapping, segments, altered) + with pytest.raises(HistoryVerificationError, match="segment_startup"): + SegmentStartupCheck(altered) + for malformed in (None, {}, [], True): + altered = deepcopy(selected) + altered["segment_startup_policy"] = malformed + with pytest.raises(device.ContractError, match="segment_startup"): + device.validate_voltage_lift_native_request(mapping, segments, altered) + altered = deepcopy(selected) + altered["segment_startup_overrides"] = {"slow_state_hold": {"first_step": 0.0}} + with pytest.raises(device.ContractError, match="unbound_override"): + device.validate_voltage_lift_native_request(mapping, segments, altered) + for field, value in (("first_step", 0.0), ("max_step", 0.2), ("rtol", 1e-12), + ("nonlin_conv_coef", 1e-8), ("max_order", 1)): + altered = deepcopy(selected) + altered["controls"][field] = value + with pytest.raises(device.ContractError, match="native_controls_changed"): + device.validate_voltage_lift_native_request(mapping, segments, altered) + altered = deepcopy(selected) + altered["controls"]["atol"][0] *= 2 + with pytest.raises(device.ContractError, match="native_controls_changed|time_weights_binding"): + device.validate_voltage_lift_native_request(mapping, segments, altered) + with pytest.raises(device.ContractError, match="unbound_segment"): + device._voltage_lift_initialization_controls( + selected, device.ProtocolSegment(**dict(asdict(segments[-1]), end=9.3))) + + +def constructor(request, segment, ordinal): + captured = {} + + def fake_ida(residual, **kwargs): + captured.update(kwargs) + return captured + + marker = object() + solver, receipt = device._voltage_lift_segment_solver( + fake_ida, request, segment, ordinal, marker, marker, marker, [0]) + assert solver is captured + assert captured.pop("jacfn") is marker and captured.pop("sparsity") is marker + assert captured.pop("algebraic_idx") == [0] + return captured, receipt + + +def stats(segment, ordinal, phase, steps=0, h0=0.0): + return {"kind": "native_statistics", "segment_id": segment.id, + "logical_initialization_index": ordinal, "phase": phase, + "raw_statistics": {"observation_owner": "synthetic-owner", "observation_generation": ordinal, + "num_steps": steps, "initial_step": h0}} + + +def test_actual_constructor_kwargs_and_independent_reader(requests): + _, segments, _, _, parent, selected = requests + before = deepcopy(selected) + check = SegmentStartupCheck(selected) + for ordinal, segment in enumerate(segments, 1): + original, absent = constructor(parent, segment, ordinal) + assert absent is None and original == parent["controls"] + effective, receipt = constructor(selected, segment, ordinal) + expected = dict(parent["controls"], first_step=0.0 if ordinal == 3 else 7.8125e-7) + assert effective == expected == segment_startup_controls(selected, asdict(segment)) + assert receipt["constructor_controls"] == effective + check.consume(receipt) + check.consume(stats(segment, ordinal, "initialization_return")) + check.consume(stats(segment, ordinal, "after_onestep", 1, 1e-15 if ordinal == 3 else 7.8125e-7)) + assert selected == before + result = check.finish(complete=True) + assert len(result["initializations"]) == 3 + assert result["initializations"][-1]["requested_first_step_hex"] == "0x0.0p+0" + assert result["native_requested_first_step_getter"] == "unavailable" + + +def test_plan_factory_constructor_reader_binding(requests): + """Keep the real factory's tuple pairs through the production constructor.""" + from dataclasses import replace + from math import inf, nextafter + + mapping, _, previous, options, _, selected = requests + plan = os.environ.get("REAL_DEVICE_PLAN") + if plan is None: + pytest.skip("typed protocol factory check requires the explicitly bound REAL_DEVICE_PLAN") + typed = device.protocol_from_plan(Path(plan), selected["case_id"]) + assert all(type(segment.voltage) is tuple and type(segment.photons) is tuple for segment in typed) + assert all(asdict(segment) not in selected["segments"] for segment in typed) + constructed = device.prepare_voltage_lift_native_request( + mapping, typed, previous, **options, + segment_startup_overrides={"slow_state_hold": {"first_step": 0.0}}) + device.validate_voltage_lift_native_request(mapping, typed, constructed) + # Certificates also retain their input container forms until serialization. + assert device.digest(constructed) == device.digest(selected) + check = SegmentStartupCheck(constructed) + for ordinal, segment in enumerate(typed, 1): + controls, receipt = constructor(constructed, segment, ordinal) + expected = dict(constructed["controls"], first_step=0.0 if ordinal == 3 else 7.8125e-7) + assert controls == expected + check.consume(receipt) + check.consume(stats(segment, ordinal, "initialization_return")) + check.consume(stats(segment, ordinal, "after_onestep", 1, 1e-15 if ordinal == 3 else 7.8125e-7)) + assert len(check.finish(complete=True)["initializations"]) == 3 + for changed in (replace(typed[-1], end=9.3), replace(typed[-1], id="voltage_ramp"), + replace(typed[-1], voltage=(typed[-1].voltage[0], nextafter(typed[-1].voltage[1], inf)))): + with pytest.raises(device.ContractError, match="unbound_segment"): + device._voltage_lift_initialization_controls(constructed, changed) + with pytest.raises(device.ContractError, match="native_request_binding"): + device.validate_voltage_lift_native_request(mapping, tuple(reversed(typed)), constructed) + + +def test_reader_rejects_missing_forged_or_misapplied_controls(requests): + _, segments, _, _, parent, selected = requests + _, receipt = constructor(selected, segments[0], 1) + for field, value in (("segment_id", "slow_state_hold"), ("constructor_controls_sha256", "0"*64), + ("requested_first_step_hex", "0x0.0p+0"), + ("segment_startup_policy_sha256", "0"*64)): + altered = dict(receipt, **{field: value}) + with pytest.raises(HistoryVerificationError, match="constructor_binding"): + SegmentStartupCheck(selected).consume(altered) + altered = deepcopy(receipt) + altered["constructor_controls"]["first_step"] = 0.0 + altered["constructor_controls_sha256"] = device.digest(altered["constructor_controls"]) + altered["requested_first_step_hex"] = "0x0.0p+0" + with pytest.raises(HistoryVerificationError, match="constructor_binding"): + SegmentStartupCheck(selected).consume(altered) + with pytest.raises(HistoryVerificationError, match="unexpected_constructor"): + SegmentStartupCheck(parent).consume(receipt) + with pytest.raises(HistoryVerificationError, match="missing_constructor"): + SegmentStartupCheck(selected).consume(stats(segments[0], 1, "initialization_return")) + check = SegmentStartupCheck(selected) + check.consume(receipt) + check.consume(stats(segments[0], 1, "initialization_return")) + with pytest.raises(HistoryVerificationError, match="explicit_step_not_applied"): + check.consume(stats(segments[0], 1, "after_onestep", 1, 1e-15)) + check.consume(stats(segments[0], 1, "after_onestep", 0, 0.0)) + partial = check.finish(complete=False) + assert partial["initializations"][0]["actual_initial_step_hex"] is None + with pytest.raises(HistoryVerificationError, match="incomplete_application"): + check.finish(complete=True) + + +def test_segment_frame_exact_45_state_rate_and_capacity(): + from fractions import Fraction + import numpy as np + from scripts.benchmarks.precision_prototype import PrimitiveExpansion + + q0 = PrimitiveExpansion.from_value(np.full(45, 2.0**20)).add(np.full(45, 2.0**-60)) + v0 = np.array([0.0 if i % 7 == 0 else (-1.0)**i*2.0**(-8+i % 3) for i in range(45)]) + frame = device.SegmentAffineFrame("a"*64, "b"*64, 1, "c"*64, "d"*64, 2.0**-60, q0, v0) + u, udot = np.full(45, 2.0**-100), np.full(45, -2.0**-90) + state, rate = frame.parent_state(1.0, u), frame.parent_rate(udot) + for i in range(45): + source = sum((Fraction(float(w[i])) for w in q0.words), Fraction(0)) + assert sum((Fraction(float(w[i])) for w in state.words), Fraction(0)) == ( + source+(Fraction(1)-Fraction(frame.t0))*Fraction(float(v0[i]))+Fraction(float(u[i]))) + assert sum((Fraction(float(w[i])) for w in rate.words), Fraction(0)) == Fraction(float(v0[i]))+Fraction(float(udot[i])) + assert frame.identity == device.digest(frame.payload()) + assert frame.weight_option()["q0_words_hex"] == frame.payload()["q0_words_hex"] + assert np.array_equal(frame.q0.high, q0.high) + crowded = PrimitiveExpansion.from_value([1.0]) + for exponent in (-60, -120, -180): + crowded = crowded.add([2.0**exponent]) + full = device.SegmentAffineFrame("a"*64, "b"*64, 1, "c"*64, "d"*64, 0.0, crowded, [0.0]) + with pytest.raises(device.ContractError, match="capacity"): + full.parent_state(0.0, [2.0**-240]) + # The existing DD provider rejects this source before the new product. + with pytest.raises(ArithmeticError, match="below the supported precision range"): + device._frame_scale([float.fromhex("0x0.0000000000001p-1022")], 0.5) + with pytest.raises(device.ContractError, match="shape"): + frame.parent_state(0.0, [0.0]) + with pytest.raises(device.ContractError, match="time_or_generation"): + device.SegmentAffineFrame("a"*64, "b"*64, True, "c"*64, "d"*64, 0.0, q0, v0) + + +def test_segment_frame_request_default_and_exact_constructor(requests): + import numpy as np + from scripts.benchmarks.native_readback import SegmentFrameCheck + + mapping, segments, previous, options, _, selected = requests + kwargs = dict(options, segment_startup_overrides={"slow_state_hold": {"first_step": 0.0}}) + assert device.prepare_voltage_lift_native_request(mapping, segments, previous, **kwargs, segment_frame=None) == selected + framed = device.prepare_voltage_lift_native_request(mapping, segments, previous, **kwargs, + segment_frame="fixed-affine-state-rate-v1") + device.validate_voltage_lift_native_request(mapping, segments, framed) + for key in ("controls", "previous_controls", "numeric_packet", "budgets", "original_budgets", "mandatory", + "segments", "observation_times", "quadrature", "weight_certificate", "segment_startup_policy"): + assert framed[key] == selected[key], key + assert framed["actual_initial_identity"] == selected["actual_initial_identity"] + assert framed["initial_preparation"]["mapped_physical_rate_words_hex"] == selected["initial_preparation"]["mapped_physical_rate_words_hex"] + assert framed["initial_segment_frame"]["frame"]["v0_words_hex"][0] == selected["initial_preparation"]["raw_zdot_hex"] + assert all(v == 0 for v in (*framed["z0"], *framed["zdot0"])) + context = device.AffineSamplingContext(mapping.model, framed) + binding, u, up, proof, record = device.voltage_lift_segment_initialization( + mapping, context, segments[0], 1, np.zeros(45), mapping.model.reference) + check = SegmentFrameCheck(framed) + assert check.begin(record, asdict(segments[0]), 1, mapping.reference_identity) == binding.adapter.mapping.payload() + captured = {} + def fake_ida(residual, **options): + captured.update(options) + return captured + _, receipt = device._voltage_lift_segment_solver(fake_ida, framed, segments[0], 1, + object(), object(), object(), [], frame=binding.adapter.mapping.frame) + assert captured["parent_weight_frame"] == binding.adapter.mapping.frame.weight_option() + assert captured["first_step"] == selected["controls"]["first_step"] + check.constructor(receipt) + with pytest.raises(device.ContractError, match="constructor_binding"): + device._voltage_lift_segment_solver(fake_ida, framed, segments[0], 1, None, None, None, []) + with pytest.raises(device.ContractError, match="unbound_option"): + device._voltage_lift_segment_solver(fake_ida, selected, segments[0], 1, None, None, None, [], + frame=binding.adapter.mapping.frame) + for key, value in (("t0_hex", "0x1.0000000000000p+0"), ("size", 44), ("frame_identity", "e"*64)): + forged = deepcopy(receipt) + forged["parent_weight_frame"][key] = value + forged["parent_weight_frame_sha256"] = device.digest(forged["parent_weight_frame"]) + with pytest.raises(HistoryVerificationError, match="constructor_weight_binding"): + check.constructor(forged) + + +@pytest.mark.parametrize("policy", [True, False, {}, [], "automatic", "fixed-affine-state-rate-v2"]) +def test_segment_frame_invalid_and_tampered_policy(requests, policy): + from scripts.benchmarks.native_readback import SegmentFrameCheck + + mapping, segments, previous, options, _, selected = requests + with pytest.raises(device.ContractError, match="segment_frame"): + device.prepare_voltage_lift_native_request(mapping, segments, previous, **options, segment_frame=policy) + forged = deepcopy(selected) + forged["segment_frame_policy"] = {"name": "fixed-affine-state-rate-v1", "forged": policy} + with pytest.raises(device.ContractError, match="segment_frame"): + device.validate_voltage_lift_native_request(mapping, segments, forged) + with pytest.raises(HistoryVerificationError, match="segment_frame"): + SegmentFrameCheck(forged) diff --git a/tests/refactor/test_spatial_protocol_preparation.py b/tests/refactor/test_spatial_protocol_preparation.py new file mode 100644 index 00000000..dcb6433b --- /dev/null +++ b/tests/refactor/test_spatial_protocol_preparation.py @@ -0,0 +1,303 @@ +"""Data-only 2D preparation against source defaults and protocol declarations.""" +from copy import deepcopy +from dataclasses import FrozenInstanceError, replace +import hashlib +import json +import math +import sys + +import pytest +from pydantic import ValidationError + +from solarlab.config.legacy_defaults import read_legacy_default_catalog +from solarlab.config.resolve_device import resolve_device +from solarlab.device.defaults import DefaultCatalog +from solarlab.device.inputs import DeviceInput +from solarlab.experiments.two_dimensional.inputs import ( + ComponentwiseAtolInput, GrainSweepInput, JV2DInput, JV2DProtocolInput, SpatialExperimentInput, +) +from solarlab.experiments.two_dimensional.preparation import PreparedSpatialExperiment, prepare_spatial_experiment +from solarlab.materials.source import SourceDocument +from solarlab.units import normalize_quantity +from test_device_configuration_preparation import DEFAULT_SOURCES, LEGACY, ROOT, imported, resources + + +@pytest.fixture(scope="module") +def defaults(): + return read_legacy_default_catalog( + tuple(SourceDocument(name, (LEGACY / name).read_bytes()) for name in DEFAULT_SOURCES), + experiment_sources=(SourceDocument("backend/main.py", (ROOT / "perovskite-sim/backend/main.py").read_bytes()), + SourceDocument("solver/tolerances.py", (LEGACY / "solver/tolerances.py").read_bytes()))) + + +def request(defaults, case="standard", **controls): + device, source = imported(case, defaults) + return {"schema_version": "solarlab.experiment-preparation.v1", "id": "spatial", + "device": device.model_dump(mode="json", exclude_unset=True), + "experiment": {"kind": "jv_2d", **controls}}, (source,) + + +def prepare(data, defaults, resources, sources=()): + return prepare_spatial_experiment(SpatialExperimentInput.model_validate(data), defaults, resources, sources=sources) + + +def words(value): + if isinstance(value, dict): + return {name: words(item) for name, item in value.items()} + if isinstance(value, (tuple, list)): + return [words(item) for item in value] + return [type(value).__name__, value.hex() if type(value) is float else value] + + +def locations(error): + return [entry["loc"] for entry in error.value.errors()] + + +def test_actual_source_defaults_distinct_controls_and_catalog_roundtrip(defaults, resources): + catalog = DefaultCatalog.from_mapping(defaults.to_mapping()) + assert catalog == defaults + jv, sweep = catalog.experiment_defaults_for("jv_2d"), catalog.experiment_defaults_for("voc_grain_sweep") + assert jv["lateral_length"] == 5e-7 and jv["Nx"] == sweep["Nx"] == 10 + assert jv["Ny_per_layer"] == 20 and sweep["Ny_per_layer"] == 10 + assert jv["settle_t"] == 1e-7 and sweep["settle_t"] == 1e-3 + assert "backend/main.py" in dict(defaults.evidence) + assert "solver/tolerances.py" in dict(defaults.evidence) + untouched = read_legacy_default_catalog(tuple(SourceDocument(name, (LEGACY / name).read_bytes()) for name in DEFAULT_SOURCES)) + assert "experiment_defaults" not in untouched.to_mapping() + data, _ = request(defaults) + with pytest.raises(ValueError, match="experiment defaults not supplied"): + prepare(data, untouched, resources) + with pytest.raises(ValueError, match="incomplete experiment defaults"): + replace(defaults, experiment_defaults=(("jv_2d", ()), *defaults.experiment_defaults[1:])) + + +@pytest.mark.parametrize("case", ["standard", "scaps", "grain"]) +def test_actual_device_composition_declared_counts_no_mesh_or_execution(case, defaults, resources): + data, sources = request(defaults, case) + result = prepare(data, defaults, resources, sources) + resolved = result.to_mapping() + device = resolve_device(DeviceInput.model_validate(data["device"]), defaults, resources, sources=sources) + assert words(resolved["device"]) == words(device.to_mapping()) + assert words(result.to_input().editing_data()) == words(data) + geometry = resolved["experiment"]["geometry"] + assert geometry["lateral_interval_count"] == 10 and geometry["expected_lateral_node_count"] == 11 + assert geometry["expected_vertical_node_count"] == 20 * len(geometry["electrical_layer_ids"]) + 1 + assert geometry["x_coordinates_m"] is geometry["y_coordinates_m"] is None + assert not geometry["mesh_generated"] and not geometry["device_electrical_grid_applied"] + assert not result.can_execute and resolved["identity"]["execution_identity"] is None + assert set(device.to_mapping()["capability_gaps"]) <= set(resolved["capability_gaps"]) + assert prepare(result.to_input(), defaults, resources, sources).content_sha256 == result.content_sha256 + + +def test_exact_input_signed_zero_null_empty_and_detached_output(defaults, resources): + data, sources = request(defaults, V_max=-0.0, illuminated=False, save_snapshots=False, + lateral_length="500.000000000000000000 nm", lateral_bc=None, microstructure={}) + data["device"]["settings"]["phi_left"] = -0.0 + before = words(data) + result = prepare(data, defaults, resources, sources) + assert words(result.to_input().editing_data()) == before + data["experiment"]["Nx"] = 12 + output = result.to_mapping() + output["experiment"]["controls"]["Nx"] = 200 + output["device"]["layers"].clear() + assert result.to_mapping()["experiment"]["controls"]["Nx"] == 10 + assert "Nx" not in result.to_input().editing_data()["experiment"] + assert result.to_mapping()["experiment"]["controls"]["V_max"] == 0 + assert math.copysign(1, result.to_input().experiment.V_max) == -1 + with pytest.raises(FrozenInstanceError): + result.can_execute = True + + +@pytest.mark.parametrize("controls,path", [ + ({"lateral_length": 0}, ("experiment", "lateral_length")), + ({"lateral_length": "5 ns"}, ("experiment", "lateral_length")), + ({"Nx": 0}, ("experiment", "Nx")), ({"Nx": True}, ("experiment", "Nx")), + ({"Ny_per_layer": 1.5}, ("experiment", "Ny_per_layer")), + ({"Nx": "10"}, ("experiment", "Nx")), ({"V_step": 0}, ("experiment", "V_step")), + ({"illuminated": "false"}, ("experiment", "illuminated")), + ({"rtol": None}, ("experiment", "rtol")), + ({"lateral_bc": "open"}, ("experiment", "lateral_bc")), + ({"alpha_x": 2}, ("experiment", "alpha_x")), +]) +def test_strict_errors_locate_supplied_field(controls, path, defaults): + data, _ = request(defaults, **controls) + with pytest.raises(ValidationError) as error: + SpatialExperimentInput.model_validate(data) + assert path in locations(error) + + +def test_empty_override_preserves_legacy_truthy_policy_and_domain_validation(defaults, resources): + outputs = [] + for extra in ({}, {"microstructure": None}, {"microstructure": {}}, {"microstructure": {"grain_boundaries": []}}): + data, _ = request(defaults, "grain", **extra) + output = prepare(data, defaults, resources) + outputs.append(output) + assert words(output.to_input().editing_data()) == words(data) + for output in outputs[:3]: + resolved = output.to_mapping()["experiment"] + assert resolved["microstructure"]["grain_boundaries"] + assert resolved["controls"]["lateral_bc"] == "neumann" + assert resolved["microstructure"]["effective_origin"] == "device.grain_boundaries" + assert not outputs[3].to_mapping()["experiment"]["microstructure"]["grain_boundaries"] + assert outputs[3].to_mapping()["experiment"]["controls"]["lateral_bc"] == "periodic" + assert len({output.content_sha256 for output in outputs}) == 4 + data, _ = request(defaults, "grain", lateral_length="10 nm") + # Device-only preparation has no upper lateral bound; context adds it. + resolve_device(DeviceInput.model_validate(data["device"]), defaults, resources) + with pytest.raises(ValidationError) as error: + prepare(data, defaults, resources) + assert ("device", "grain_boundaries", 0, "width") in locations(error) + data["experiment"]["lateral_length"] = "500 nm" + data["experiment"]["lateral_bc"] = "periodic" + with pytest.raises(ValidationError) as error: + prepare(data, defaults, resources) + assert ("experiment", "lateral_bc") in locations(error) + + +def test_override_reference_duplicate_and_overlap_errors(defaults, resources): + data, _ = request(defaults, "grain") + row = deepcopy(data["device"]["grain_boundaries"][0]) + data["experiment"]["microstructure"] = {"grain_boundaries": [row]} + prepare(data, defaults, resources) + for field, value in (("layer_ids", ["missing"]), ("width", "1000 nm")): + bad = deepcopy(data) + bad["experiment"]["microstructure"]["grain_boundaries"][0][field] = value + with pytest.raises(ValidationError) as error: + prepare(bad, defaults, resources) + assert locations(error)[0][:5] == ("experiment", "microstructure", "grain_boundaries", 0, field) + data["experiment"]["microstructure"]["grain_boundaries"].append(deepcopy(row)) + with pytest.raises(ValidationError) as error: + prepare(data, defaults, resources) + assert locations(error)[0][-1] == "id" + data["experiment"]["microstructure"]["grain_boundaries"][1]["id"] = "other" + with pytest.raises(ValidationError, match="overlapping"): + prepare(data, defaults, resources) + + +def test_sweep_units_alias_empty_precedence_and_distinct_defaults(defaults, resources): + data, _ = request(defaults) + data["experiment"] = {"kind": "voc_grain_sweep", "grain_sizes_nm": [500, "1 um"], "grain_sizes": [777]} + output = prepare(data, defaults, resources).to_mapping()["experiment"] + assert output["controls"]["grain_sizes_m"] == [5e-7, 1e-6] + assert output["controls"]["Ny_per_layer"] == 10 + assert output["controls"]["lateral_bc"] == "neumann" + assert output["sweep_domains"][0]["band_declaration"]["x_position_m"] == 2.5e-7 + data["experiment"]["grain_sizes_nm"] = [] + assert prepare(data, defaults, resources).to_mapping()["experiment"]["controls"]["grain_sizes_m"] == [777e-9] + data["experiment"]["grain_sizes"] = None + with pytest.raises(ValidationError) as error: + prepare(data, defaults, resources) + assert ("experiment", "grain_sizes_nm") in locations(error) + for sizes in ([0], [500, "5 s"]): + with pytest.raises(ValidationError): + GrainSweepInput(kind="voc_grain_sweep", grain_sizes_nm=sizes) + + +def declared_protocol(defaults, resources): + data, _ = request(defaults, Nx=2, illuminated=False) + controls = prepare(data, defaults, resources).to_mapping()["experiment"] + values = controls["controls"] + return { + "schema_version": "jv-2d-execution-protocol-v1", "temperature_K": dict(defaults.device)["T"], + "illuminated": False, "illumination_source": None, + "initial_state_source": "one_dimensional_dark_equilibrium", "initial_state_voltage_V": -0.0, + "initial_state_settle_s": None, "voltage_values_V": [0, "100 mV"], + "dwell_time_per_voltage_s": values["settle_t"], "state_topology": "frozen_ion_background", + "ion_boundary_condition": "frozen", "carrier_boundary_condition": controls["carrier_boundary_condition"], + "interface_srh": "off", "lateral_bc": "periodic", "x_coordinates_m": [0, "250 nm", "500 nm"], + "y_coordinates_m": [0, "200 nm", "400 nm"], "grain_boundaries": [], + "current_composition": "electron_hole_conduction", "current_sampling": "instantaneous_dwell_endpoint", + "applied_voltage_rate_at_sampling_V_s": "-0 mV/s", "solver_method": "Radau", + "solver_rtol": values["rtol"], "solver_atol": values["solver_atol"], "solver_max_step_divisor": 50, + "max_nfev_per_solve": values["max_nfev_per_solve"], "max_bisect": values["max_bisect"], + "ion_inventory_rtol": values["ion_inventory_rtol"], "save_snapshots": values["save_snapshots"], + "implicit_legacy_protocol": False, + } + + +def test_protocol_matches_genuine_declaration_constructor_without_building_grid(defaults, resources): + # Constructor validates only supplied arrays/scalars; no grid builder, + # initial state, material assembly, solver or trajectory is called. + from perovskite_sim.twod.experiments.jv_protocol_2d import JV2DProtocol + raw = declared_protocol(defaults, resources) + normalized = JV2DProtocolInput.model_validate(raw).normalized_data() + expected = JV2DProtocol.from_dict(normalized) + assert words(expected.to_dict()) == words(normalized) + data, _ = request(defaults, Nx=2, illuminated=False, protocol_mode="research_strict", jv_2d_protocol=raw) + result = prepare(data, defaults, resources).to_mapping()["experiment"]["protocol"] + assert result["declaration_sha256"] == expected.protocol_hash + assert result["status"] == "supplied_declaration_only" and "pending" in result["execution_binding"] + assert normalize_quantity("1 mV/s", "V/s") == 0.001 + for field, value in (("applied_voltage_rate_at_sampling_V_s", "1 mV/s"), ("x_coordinates_m", [0, 1, 1]), + ("initial_state_settle_s", 1), ("ion_boundary_condition", "blocking")): + bad = {**raw, field: value} + with pytest.raises(ValidationError) as error: + JV2DProtocolInput.model_validate(bad) + assert (field,) in locations(error) + data["experiment"]["jv_2d_protocol"]["solver_rtol"] = 0.01 + with pytest.raises(ValidationError) as error: + prepare(data, defaults, resources) + assert ("experiment", "jv_2d_protocol", "solver_rtol") in locations(error) + + +def test_extended_topology_and_source_identity_do_not_grant_execution(defaults, resources): + data, _ = request(defaults, ion_dynamics="single_mobile", lateral_bc="periodic") + with pytest.raises(ValidationError) as error: + prepare(data, defaults, resources) + assert ("experiment", "lateral_bc") in locations(error) + data, _ = request(defaults, protocol_mode="research_strict") + with pytest.raises(ValidationError) as error: + prepare(data, defaults, resources) + assert ("experiment", "jv_2d_protocol") in locations(error) + data, _ = request(defaults) + first = prepare(data, defaults, resources) + second = prepare(data, defaults, resources, (SourceDocument("declaration-source", b"declared"),)) + assert first.content_sha256 != second.content_sha256 + assert second.to_mapping()["identity"]["input_source_bindings"][0]["sha256"] == hashlib.sha256(b"declared").hexdigest() + assert second.to_mapping()["identity"]["execution_identity"] is None + with pytest.raises(ValidationError): + JV2DInput(kind="jv_2d", atol=1, componentwise_atol=defaults.experiment_defaults_for("jv_2d_componentwise_atol")) + + +def test_preparation_imports_no_legacy_or_numerical_execution(defaults, resources, monkeypatch): + import builtins + original = builtins.__import__ + def guarded(name, *args, **kwargs): + assert not name.startswith(("perovskite_sim", "backend", "scipy")), name + return original(name, *args, **kwargs) + monkeypatch.setattr(builtins, "__import__", guarded) + data, _ = request(defaults) + assert prepare(data, defaults, resources).can_execute is False + + +def test_declared_vertical_count_skips_substrate_prefix_and_retains_grid(defaults, resources): + data, _ = request(defaults, Nx=3, Ny_per_layer=4) + layers = data["device"]["layers"] + electrical = [row["id"] for row in layers if row["role"] != "substrate"] + substrate = {**deepcopy(layers[0]), "id": "optical_only", "role": "substrate"} + data["device"]["layers"] = [substrate, *layers] + data["device"]["electrical_grid"] = [{"layer": id, "interval_weight": "7", "alpha": 9} for id in electrical] + output = prepare(data, defaults, resources).to_mapping()["experiment"]["geometry"] + assert output["electrical_layer_ids"] == electrical + assert output["expected_vertical_node_count"] == len(electrical) * 4 + 1 + assert output["expected_lateral_node_count"] == 4 + assert output["retained_electrical_grid"] and not output["device_electrical_grid_applied"] + data["device"]["layers"] = [*layers, substrate] + with pytest.raises(ValueError, match="substrates.*prefix"): + prepare(data, defaults, resources) + + +def test_strict_api_differences_and_direct_json_guard_are_explicit(defaults, resources): + data, _ = request(defaults, "grain") + output = prepare(data, defaults, resources).to_mapping() + assert output["validation_contract"]["scope"] == "strict_new_preparation_input_not_legacy_request_equivalence" + assert output["validation_contract"]["legacy_numerical_sources_changed"] is False + row = deepcopy(data["device"]["grain_boundaries"][0]) + row.update(x_position=4.99999999999999e-9, width=1e-8) + data["experiment"]["microstructure"] = {"grain_boundaries": [row]} + with pytest.raises(ValidationError, match="strict declaration") as error: + prepare(data, defaults, resources) + assert locations(error)[0] == ("experiment", "microstructure", "grain_boundaries", 0, "width") + raw = json.dumps(data).replace('"kind": "jv_2d"', '"kind": "jv_2d", "kind": "jv_2d"') + with pytest.raises(ValueError, match="duplicate experiment JSON"): + PreparedSpatialExperiment(raw.encode(), defaults, resources) diff --git a/tests/refactor/test_structured_registry_preparation.py b/tests/refactor/test_structured_registry_preparation.py new file mode 100644 index 00000000..5f849a82 --- /dev/null +++ b/tests/refactor/test_structured_registry_preparation.py @@ -0,0 +1,447 @@ +"""Actual closed DTOs in canonical model selection; no model is executed. + +An injected accepted input packet avoids rebuilding prior source/default +evidence in the supervised run. A checkout can instead use the same existing +fixtures and data-only importers. Neither path calls a solver or equilibrium. +""" + +from __future__ import annotations + +from dataclasses import FrozenInstanceError, replace +from copy import deepcopy +from functools import lru_cache +import hashlib +import importlib.util +import json +import os +from pathlib import Path + +import pytest + +from solarlab.config.defect_documents import import_metastable_document, import_metastable_preparation +from solarlab.config.device_import import import_standard_device +from solarlab.config.legacy_defaults import read_legacy_default_catalog +from solarlab.config.model_parameters import ( + device_topology, resolve_structured_edit, structured_parameter_source, + structured_parameter_sources, update_structured_source, +) +from solarlab.config.resolve_device import resolve_device +from solarlab.config.scaps_input import import_scaps_device +from solarlab.device.defaults import DefaultCatalog +from solarlab.device.inputs import DeviceInput +from solarlab.materials.resources import ResourceLibrary, ResourceTable +from solarlab.materials.source import SourceDocument +from solarlab.physics.presets import NamedPreset, select_preset +from solarlab.physics.registry import ( + CapabilityContext, CapabilityRule, ModelDefinition, ModelRef, ModelRegistry, + OwnedVariable, Scope, +) +from solarlab.physics.selection import ModelChoice, select_models, validate_selection + +ROOT = Path(__file__).resolve().parents[2] +LEGACY = ROOT / "perovskite-sim/perovskite_sim" +FIXTURES = ROOT / "perovskite-sim/tests/fixtures/configs" +COMPLEX = ( + "scaps_defect_m1_double_donor_p.yaml", "scaps_defect_m2_double_acceptor_n.yaml", + "scaps_defect_m3_amphoteric_i.yaml", "csi_gaussian_bulk_trap_pn_research.yaml", + "cigs_graded_optics.yaml", "wkb_resolved_electron_barrier.yaml", + "wkb_tunnelling_intraband_spike.yaml", "programmatic_metastable", +) +MONOVALENT = ("scaps_defect_s1_acceptor_n.yaml", "distributed_defect_qf_dc_pn.yaml", + "graded_distributed_defect_qf_dc_pn.yaml", "scaps_mirror_v2.yaml") + + +@pytest.fixture(scope="module") +def prepared_case(): + packet_path = os.environ.get("SOLARLAB_STRUCTURED_INPUT_PACKET") + packet = json.loads(Path(packet_path).read_text()) if packet_path else None + if packet is not None: + defaults = DefaultCatalog.from_mapping(packet["catalog"]) + else: + paths = ("models/parameters.py", "models/device.py", "models/defects.py", "physics/statistics.py", + "physics/band_gap_narrowing.py", "scaps_compat/loader.py", "constants.py", + "twod/microstructure.py", "models/tandem_config.py") + defaults = read_legacy_default_catalog( + tuple(SourceDocument(name, (LEGACY / name).read_bytes()) for name in paths), + model_sources=tuple(SourceDocument(name, (LEGACY / name).read_bytes()) for name in + ("physics/cigs_optics.py", "models/tunneling_channels.py"))) + resources = ResourceLibrary(tuple(ResourceTable(path.stem, "nk", SourceDocument(str(path.relative_to(ROOT)), path.read_bytes())) + for path in sorted((LEGACY / "data/nk").glob("*.csv")))) + + @lru_cache(maxsize=None) + def prepare(name): + if packet is not None and name in packet["cases"]: + entry = packet["cases"][name] + sources = tuple(SourceDocument(item["id"], item["content"].encode()) for item in entry["sources"]) + assert [item.sha256 for item in sources] == [item["sha256"] for item in entry["sources"]] + result = resolve_device(DeviceInput.model_validate(entry["input"]), defaults, resources, sources=sources) + # Reuse, rather than rerun, the accepted DTO/legacy equality gate. + assert result.content_sha256 == entry["resolved_sha256"] + return result + if name == "programmatic_metastable": + path = ROOT / "perovskite-sim/tests/unit/models/test_multivalent_defect_schema.py" + spec = importlib.util.spec_from_file_location("structured_metastable_data", path) + module = importlib.util.module_from_spec(spec) + spec.loader.exec_module(module) + doc = module.MetastableDefectDocument(schema_version=module.METASTABLE_DEFECT_SCHEMA_VERSION, + defect_model=module.EXPLICIT_METASTABLE_FROZEN, metastable_defects=(module._metastable_definition(),)) + sources = (SourceDocument("metastable_document", doc.canonical_json().encode()), + SourceDocument("preparation_protocol", module._preparation().canonical_json().encode())) + data = prepare(COMPLEX[0]).to_input().editing_data() + layer = data["layers"][0] + for key in ("bulk_defects", "defect_schema_version", "defect_model"): + layer.pop(key) + layer["parameters"]["Eg"] = "1.04 eV" + layer["metastable_document"] = import_metastable_document(sources[0]) + layer["metastable_preparation"] = import_metastable_preparation(sources[1]) + return resolve_device(DeviceInput.model_validate(data), defaults, resources, sources=sources) + path = ROOT / "perovskite-sim/configs" / name if name == "scaps_mirror_v2.yaml" else FIXTURES / name + source = SourceDocument(str(path.relative_to(ROOT)), path.read_bytes()) + loader = import_scaps_device if name == "scaps_mirror_v2.yaml" else import_standard_device + return resolve_device(loader(source, id="device", defaults=defaults), defaults, resources, sources=(source,)) + + return prepare + + +def selection_for(prepared, sources=None): + sources = structured_parameter_sources(prepared) if sources is None else tuple(sources) + definitions, overrides = {}, {} + for source in sources: + record = source.structured.data + schema = record.schema + ref = ModelRef("parameters." + schema.family, schema.version) + # This necessary metadata context says nothing about physical support. + rule = CapabilityRule("data_preparation_only", (1,), ("dc",), (schema.source,), + backends=("metadata_only",), required_facts=("data_preparation",)) + definitions[ref] = ModelDefinition(ref, schema.family, schema.family, (schema.scope_kind,), + {"layer": "node", "interface": "interface_left", "contact": "port", "device": "global"}[schema.scope_kind], + schema.parameter_names, (), (), rule, composition="additive", + parameter_schema=schema.id, structured_schema=schema) + families = overrides.setdefault(record.scope, {}) + families.setdefault(schema.family, []).append(ModelChoice(record.local_id, ref, parameter_schema=schema.id)) + registry = ModelRegistry(tuple(definitions.values())) + context = CapabilityContext(1, "dc", "metadata_only", "maxwell_boltzmann", facts=("data_preparation",)) + per_instance = {source.structured.data.instance_id: source for source in sources} + selected = select_models(registry, device_topology(prepared), context, {}, {}, overrides, + instance_parameter_sources=per_instance) + return registry, selected, overrides, per_instance + + +def source_for(prepared, family): + return next(source for source in structured_parameter_sources(prepared) if source.structured.data.schema.family == family) + + +@pytest.mark.parametrize("name", (*COMPLEX, *MONOVALENT)) +def test_frozen_structured_registry_requires_actual_closed_schema_bytes(name, prepared_case): + registry, selected, _, _ = selection_for(prepared_case(name)) + documents = {} + for definition in registry.definitions: + schema = definition.structured_schema + assert schema is not None + key = schema.source.id.partition("#")[0] + content = json.dumps(json.loads(schema.input_json), sort_keys=True, separators=(",", ":"), allow_nan=False).encode() + if key in documents: + assert documents[key] == content + documents[key] = content + before = selected.content_sha256 + registry.verify_sources(tuple(documents.items()), expected_sha256=registry.content_sha256) + assert selected.content_sha256 == before + if documents: + key = next(iter(documents)) + documents[key] += b"\n" + with pytest.raises(ValueError, match="content mismatch"): + registry.verify_sources(tuple(documents.items()), expected_sha256=registry.content_sha256) + + +def by_id(value, path): + for item in path: + value = next(row for row in value if row["id"] == item) if isinstance(value, list) else value.get(item) + return value + + +@pytest.mark.parametrize("name", (*COMPLEX, *MONOVALENT)) +def test_actual_structured_documents_select_and_export_without_lost_fields(name, prepared_case): + prepared = prepared_case(name) + registry, selected, _, _ = selection_for(prepared) + exported = selected.export() + assert exported["status"] == "prepared_pending_dependencies" and not exported["can_execute"] + assert validate_selection(selected, registry) == () + assert list(exported["parameter_schemas"]) == sorted(exported["parameter_schemas"]) + assert [item.id for item in selected.instances] == sorted(item.id for item in selected.instances) + for instance in selected.instances: + record = instance.structured + output = record.export() + assert output["resolved_reference"]["projection"] == by_id(prepared.to_mapping(), output["resolved_reference"]["path_by_id"]) + assert output["source"]["sha256"] == prepared.content_sha256 + assert set(output["capability_gaps"]) == set(prepared.to_mapping()["capability_gaps"]) + assert not output["can_execute"] + assert record.data.schema.parameter_names == registry.get(instance.model).parameters + # Input/projection are separate: referenced energies and extra derived + # fields must never be relabelled as the same editing schema. + assert record.data.schema.input_json != record.data.schema.normalized_json + if record.data.presence == "value": + original = by_id(prepared.to_input().model_dump(mode="json", exclude_unset=True), output["resolved_reference"]["path_by_id"]) + assert output["input"] == original + assert ModelRegistry(tuple(reversed(registry.definitions))).export() == registry.export() + assert json.loads(json.dumps(exported, sort_keys=True)) == exported + + +def test_multiple_real_species_keep_ids_scopes_and_independent_sources(prepared_case): + prepared = prepared_case("scaps_mirror_v2.yaml") + editing = prepared.to_input() + editing.layers[2].bulk_defects = tuple(item.validated_update({"name": "same display name"}) for item in editing.layers[2].bulk_defects) + prepared = resolve_device(editing, prepared.defaults, prepared.resources, sources=prepared.sources) + registry, selected, overrides, sources = selection_for(prepared) + defects = [item for item in selected.instances if item.structured.data.schema.family == "bulk_defect" and item.scope.ids == ("layer_2",)] + assert len(defects) == 2 and len({item.model for item in defects}) == 1 + assert len({item.id for item in defects}) == len({item.parameter_source_sha256 for item in defects}) == 2 + source = sources[defects[0].id] + data = source.structured.export()["input"] + data["kinetics"]["sigma_n_m2"] = "0 m^2" + updated = update_structured_source(source, data) + mixed = dict(sources) + mixed[defects[0].id] = updated + with pytest.raises(ValueError, match="distinct prepared-device"): + select_models(registry, selected.topology, selected.context, {}, {}, overrides, instance_parameter_sources=mixed) + fresh = resolve_structured_edit(source, data) + _, rebound, _, _ = selection_for(fresh) + assert [item.id for item in rebound.instances] == [item.id for item in selected.instances] + target = next(item for item in rebound.instances if item.id == defects[0].id) + assert target.structured.export()["normalized_parameters"]["kinetics"]["sigma_n_m2"] == 0.0 + assert source.structured.export()["normalized_parameters"]["kinetics"]["sigma_n_m2"] > 0 + + +def test_units_preserve_input_identity_separately_from_normalized_identity(prepared_case): + prepared = prepared_case(COMPLEX[0]) + source = source_for(prepared, "bulk_defect") + data = source.structured.export()["input"] + data["total_density_m3"] = "2e15 cm^-3" + data["configuration"]["energy_levels"]["correlation_energies_eV"] = ["150 meV"] + data["configuration"]["state_degeneracies"] = [1, 2, 1] + edited = update_structured_source(source, data) + assert edited.structured.input_sha256 != source.structured.input_sha256 + assert edited.structured.normalized_sha256 == source.structured.normalized_sha256 + assert edited.structured.export()["normalized_parameters"]["total_density_m3"] == 2e21 + normalized = json.loads(edited.structured.data.schema.normalized_json) + energy = normalized["$defs"]["MultivalentEnergyInput"]["properties"]["correlation_energies_eV"] + assert energy["items"] == {"type": "number", "unit": "eV"} + degeneracy = normalized["$defs"]["MultivalentConfigurationInput"]["properties"]["state_degeneracies"] + assert degeneracy["items"]["type"] == "number" and degeneracy["items"]["exclusiveMinimum"] == 0 + assert source.structured.data.schema.source.sha256 == hashlib.sha256( + json.dumps(json.loads(source.structured.data.schema.input_json), sort_keys=True, separators=(",", ":")).encode()).hexdigest() + + +@pytest.mark.parametrize("mutation", ("unknown", "boolean", "infinite", "gap", "transition", "variant", "rename", "zero_legs")) +def test_nested_edits_revalidate_closed_variant_and_parent_constraints(mutation, prepared_case): + source = source_for(prepared_case(COMPLEX[0]), "bulk_defect") + data = source.structured.export()["input"] + configuration = data["configuration"] + if mutation == "unknown": + configuration["energy_levels"]["profile_file"] = "ignored.csv" + elif mutation == "boolean": + data["total_density_m3"] = True + elif mutation == "infinite": + configuration["energy_levels"]["correlation_energies_eV"] = [float("inf")] + elif mutation == "gap": + configuration["energy_levels"]["first_transition_eV_above_vb"] = "3 eV" + elif mutation == "transition": + configuration["charge_states_e"] = [2, 0, -1] + elif mutation == "variant": + data = source_for(prepared_case(MONOVALENT[0]), "bulk_defect").structured.export()["input"] + elif mutation == "rename": + data["id"] = "different_species" + else: + configuration["transition_kinetics"][0].update(sigma_n_m2=0, sigma_p_m2=0) + before = source.content_sha256 + with pytest.raises(ValueError): + update_structured_source(source, data) + assert source.content_sha256 == before + + +def test_cigs_inheritance_null_clear_and_reinherit_keep_one_default_authority(prepared_case): + prepared = prepared_case("cigs_graded_optics.yaml") + data = prepared.to_input().editing_data() + layer = next(row for row in data["layers"] if row.get("cigs_graded_optics")) + cigs = layer.pop("cigs_graded_optics") + layer["material"] = "graded_material" + data["materials"] = [{"id": "graded_material", "name": "CIGS", "parameters": {}, "cigs_graded_optics": cigs}] + data["settings"]["graded_optics"] = False + inherited = resolve_device(DeviceInput.model_validate(data), prepared.defaults, prepared.resources, sources=prepared.sources) + source = source_for(inherited, "cigs_graded_optics") + assert source.structured.data.presence == "absent" + assert source.structured.export()["input"] is None + assert source.structured.export()["normalized_parameters"]["slices"] == 25 + cleared = update_structured_source(source, None) + assert cleared.structured.data.presence == "null" and cleared.structured.export()["normalized_parameters"] is None + restored = update_structured_source(cleared) + assert restored.structured.content_sha256 == source.structured.content_sha256 + explicit = update_structured_source(source, {"ggi_front": 0, "ggi_back": "0.6", "cgi": "0.9"}) + assert explicit.structured.export()["normalized_parameters"]["ggi_front"] == 0.0 + assert explicit.structured.export()["normalized_parameters"]["slices"] == dict(prepared.defaults.model_defaults("cigs_graded_optics"))["slices"] + + +def test_tunnelling_false_zero_omission_and_clear_are_distinct(prepared_case): + source = source_for(prepared_case("wkb_tunnelling_intraband_spike.yaml"), "tunnelling_channels") + update = update_structured_source(source, {"intraband": {"enabled": False}, "contact": {"barrier_height_eV": 0}}) + exported = update.structured.export() + assert exported["normalized_parameters"]["intraband"]["enabled"] is False + assert exported["normalized_parameters"]["contact"]["barrier_height_eV"] == 0.0 + assert set(exported["input"]) == {"intraband", "contact"} + assert len(exported["normalized_parameters"]) == 5 + assert update_structured_source(source, None).structured.data.presence == "null" + assert update_structured_source(source).structured.data.presence == "absent" + # The accepted document uses a null channel as a reset to its supplied + # defaults; null on the channel's enabled field itself is not allowed. + reset = update_structured_source(source, {"intraband": None}) + omitted = update_structured_source(source, {}) + assert reset.structured.export()["input"]["intraband"] is None + assert reset.structured.normalized_sha256 == omitted.structured.normalized_sha256 + assert reset.structured.input_sha256 != omitted.structured.input_sha256 + for invalid in ({"intraband": {"enabled": 0}}, {"intraband": {"enabled": None}}, {"unexpected": {}}): + with pytest.raises(ValueError): + update_structured_source(source, invalid) + + +def test_metastable_protocol_and_legacy_energy_density_remain_data(prepared_case): + prepared = prepared_case("programmatic_metastable") + source = source_for(prepared, "metastable_preparation") + data = source.structured.export()["input"] + data["voltage_continuation_steps"] = 0 + data["preparation_voltage_V"] = "0 mV" + updated = update_structured_source(source, data) + assert updated.structured.export()["normalized_parameters"]["preparation_voltage_V"] == 0.0 + assert "metastable_state_not_prepared_no_stationary_or_dynamic_evaluation" in updated.structured.data.capability_gaps + assert update_structured_source(source, None).structured.data.presence == "null" + data["freeze_configuration_during_measurement"] = False + with pytest.raises(ValueError): + update_structured_source(source, data) + trap = source_for(prepared_case("csi_gaussian_bulk_trap_pn_research.yaml"), "bulk_trap_distribution") + projection = trap.structured.export()["resolved_reference"]["projection"] + assert projection["density_normalization"] == "integrated_total" and projection["continuous_density_unit"] == "m^-3/eV" + data = trap.structured.export()["input"] + data["distribution"] = "single_level" + data.pop("energy_sigma_eV") + single = update_structured_source(trap, data) + assert single.structured.export()["normalized_parameters"]["distribution"] == "single_level" + assert "energy_sigma_eV" not in single.structured.export()["normalized_parameters"] + + +def test_topology_canonical_ids_orientation_and_scope_rejections(prepared_case): + prepared = prepared_case("scaps_mirror_v2.yaml") + registry, selected, overrides, sources = selection_for(prepared) + topology = selected.topology + assert topology.interface_ids == (("interface_1", "layer_1", "layer_2"), ("interface_2", "layer_2", "layer_3")) + assert topology.contact_sides == (("contact_left", "left"), ("contact_right", "right")) + for wrong in (replace(topology, device_id="other"), replace(topology, interface_ids=()), replace(topology, contact_sides=())): + with pytest.raises(ValueError): + select_models(registry, wrong, selected.context, {}, {}, overrides, instance_parameter_sources=sources) + with pytest.raises(ValueError): + replace(topology, interface_ids=(("interface_1", "layer_2", "layer_1"),)) + source = next(item for item in sources.values() if item.structured.data.schema.family == "interface") + data = source.structured.export()["input"] + data["left"], data["right"] = data["right"], data["left"] + with pytest.raises(ValueError): + update_structured_source(source, data) + with pytest.raises(ValueError, match="optical-only"): + structured_parameter_source(prepared, "interface", "interface_0") + with pytest.raises(ValueError, match="unknown layer"): + structured_parameter_source(prepared, "bulk_defect", "missing", instance_id="bulk_0") + editing = prepared.to_input() + editing.layers[0].bulk_trap_distribution = None + optical = resolve_device(editing, prepared.defaults, prepared.resources, sources=prepared.sources) + with pytest.raises(ValueError, match="optical-only layers"): + structured_parameter_sources(optical) + + +def test_validated_records_cannot_be_copied_with_forged_resolved_values(prepared_case): + prepared = prepared_case(COMPLEX[0]) + registry, selected, _, _ = selection_for(prepared) + source = source_for(prepared, "bulk_defect") + structured = source.structured + before = structured.content_sha256 + exported = structured.export() + exported["normalized_parameters"]["configuration"]["state_degeneracies"][0] = 123 + assert structured.content_sha256 == before + with pytest.raises(FrozenInstanceError): + structured.data.normalized_json = "{}" + with pytest.raises((ValueError, TypeError), match="init=False"): + replace(structured, data=replace(structured.data, normalized_json="{}")) + with pytest.raises(ValueError, match="stale"): + replace(next(item for item in selected.instances if item.structured.data.schema.family == "bulk_defect"), parameter_source_sha256="0" * 64) + with pytest.raises(ValueError, match="schema/family/scope"): + replace(registry.get(ModelRef("parameters.bulk_defect", 4)), scopes=("device",)) + with pytest.raises(ValueError, match="complete closed DTO"): + replace(registry.get(ModelRef("parameters.bulk_defect", 4)), parameters=("id",)) + with pytest.raises(ValueError): + replace(source, parameter_schema="scalar_layer") + + +def test_presets_inherit_complete_instances_and_explicitly_clear_families(prepared_case): + prepared = prepared_case(COMPLEX[0]) + source = source_for(prepared, "bulk_defect") + registry, selected, _, sources = selection_for(prepared, (source,)) + item, = selected.instances + choice = ModelChoice(item.local_id, item.model, parameter_schema=item.parameter_schema) + preset = NamedPreset("actual_m1", 1, "M1 declarations", (("layer", (choice,)),), (source.evidence,)) + base = select_preset(preset, registry, selected.topology, selected.context, {}, instance_parameter_sources=sources) + assert base.selection.content_sha256 == selected.content_sha256 + document = source.structured.export()["input"] + document["total_density_m3"] = "2e15 cm^-3" + updated = update_structured_source(source, document) + explicit = replace(choice, structured=updated.structured) + replaced = select_preset(preset, registry, selected.topology, selected.context, {}, + {item.scope: {"bulk_defect": (explicit,)}}, instance_parameter_sources=sources) + replaced_item, = replaced.selection.instances + assert replaced_item.overridden_parameters == registry.get(item.model).parameters + assert replaced_item.structured.input_sha256 == updated.structured.input_sha256 + empty = select_preset(preset, registry, selected.topology, selected.context, {}, + {item.scope: {"bulk_defect": ()}}, instance_parameter_sources=sources) + assert empty.selection.instances == () and not empty.selection.export()["can_execute"] + for wrong in ({item.scope: {"bulk_defect": None}}, {item.scope: {"missing": ()}}): + with pytest.raises(ValueError): + select_preset(preset, registry, selected.topology, selected.context, {}, wrong, instance_parameter_sources=sources) + + +def test_multiple_species_ownership_conflict_is_checked(prepared_case): + prepared = prepared_case("scaps_mirror_v2.yaml") + sources = tuple(item for item in structured_parameter_sources(prepared) + if item.structured.data.scope == Scope("layer", ("layer_2",)) and item.structured.data.schema.family == "bulk_defect") + registry, selected, overrides, per_instance = selection_for(prepared, sources) + definition, = registry.definitions + with_ownership = ModelRegistry((replace(definition, owns=(OwnedVariable("occupancy", "1", "node", ("node",)),)),)) + scope = sources[0].structured.data.scope + choices = overrides[scope]["bulk_defect"] + same_owner = {scope: {"bulk_defect": tuple(replace(choice, field_bindings=(("occupancy", "one_physical_inventory"),)) for choice in choices)}} + with pytest.raises(ValueError, match="duplicate ownership"): + select_models(with_ownership, selected.topology, selected.context, {}, {}, same_owner, instance_parameter_sources=per_instance) + + +def test_unsupported_versions_and_instance_source_keys_reject(prepared_case): + prepared = prepared_case(COMPLEX[0]) + registry, selected, overrides, sources = selection_for(prepared) + source = source_for(prepared, "bulk_defect") + with pytest.raises(ValueError, match="canonical instance"): + select_models(registry, selected.topology, selected.context, {}, {}, overrides, + instance_parameter_sources={"wrong": source}) + instance = source.structured.data + with pytest.raises(ValueError, match="unknown model"): + select_models(registry, selected.topology, selected.context, {}, {}, + {instance.scope: {"bulk_defect": (ModelChoice(instance.local_id, ModelRef("parameters.bulk_defect", 99), parameter_schema=source.parameter_schema),)}}, + instance_parameter_sources=sources) + with pytest.raises(ValueError, match="unavailable structured"): + structured_parameter_source(prepared, "spectral_profile", "device") + + +def test_delimiters_in_valid_ids_cannot_alias_parameter_sources(prepared_case): + prepared = prepared_case(COMPLEX[0]) + data = prepared.to_input().editing_data() + first, second = deepcopy(data["layers"][0]), deepcopy(data["layers"][0]) + first["id"], first["bulk_defects"][0]["id"] = "layer:a", "b" + second["id"], second["bulk_defects"][0]["id"] = "layer", "a:b" + data.update(layers=(first, second), contacts=()) + device = resolve_device(DeviceInput.model_validate(data), prepared.defaults, prepared.resources, sources=prepared.sources) + records = [item for item in structured_parameter_sources(device) if item.structured.data.schema.family == "bulk_defect"] + assert len({item.id for item in records}) == 2 + assert len({item.structured.data.instance_id for item in records}) == 2 + _, selected, _, _ = selection_for(device) + assert len({item.id for item in selected.instances}) == len(selected.instances) diff --git a/tests/refactor/test_sweep_preparation.py b/tests/refactor/test_sweep_preparation.py new file mode 100644 index 00000000..564e6e29 --- /dev/null +++ b/tests/refactor/test_sweep_preparation.py @@ -0,0 +1,276 @@ +"""Stable serial declarations against actual SCAPS coordinates and resolvers.""" +from copy import deepcopy +from dataclasses import replace +import json +import math + +import pytest +from pydantic import ValidationError +from solarlab.device.inputs import DeviceInput +from solarlab.experiments.jv.inputs import JVExperimentInput +from solarlab.materials.source import SourceDocument +from solarlab.sweeps.inputs import SweepInput +from solarlab.sweeps.preparation import prepare_sweep, prepare_point, digest +from solarlab.sweeps.scaps import scaps_sweeps +from solarlab.sweeps.reference import baseline_signature +from test_device_configuration_preparation import ROOT, imported +from test_device_configuration_preparation import resources as resources +from test_jv_protocol_preparation import defaults as defaults, reference, words + + +@pytest.fixture(scope="module") +def scaps(defaults): + device, source = imported("scaps", defaults) + manifest = SourceDocument("P00.reference_manifest", (ROOT / "reproducibility/RefactorReferenceManifestV1.json").read_bytes()) + contract = SourceDocument("P00.scaps_contract", (ROOT / "reproducibility/ScapsComparisonContractV1.json").read_bytes()) + sweeps, refs = scaps_sweeps(device, manifest, contract, interface_density_interpretation="historical_areal_input") + return device, (source,), sweeps, refs + + +def single(base, family="layer_parameter", owner_id="layer_2", parameter=("D_ion",), values=(0,), **target): + return dict(schema_version="solarlab.sweep-preparation.v1", id="scan", base=base.model_dump(mode="json", exclude_unset=True), + axes=[dict(id="axis", target=dict(family=family, parameter=parameter, **({"owner_id": owner_id} if owner_id is not None else {}), **target), + coordinates=[dict(kind="value", value=value) for value in values])]) + + +def prepare(raw, defaults, resources, sources=(), references=()): + return prepare_sweep(SweepInput.model_validate(raw), defaults, resources, sources=sources, references=references) + + +def test_all_thirteen_original_groups_and_missing_coordinates_prepare_without_solver(scaps, defaults, resources, monkeypatch): + import builtins + original = builtins.__import__ + def guarded(name, *args, **kwargs): + assert not name.startswith(("perovskite_sim", "backend", "scipy.integrate")), name + return original(name, *args, **kwargs) + monkeypatch.setattr(builtins, "__import__", guarded) + device, sources, sweeps, refs = scaps + results = {sweep.id: prepare_sweep(sweep, defaults, resources, sources=sources, references=refs).to_mapping() for sweep in sweeps} + assert len(results) == 13 + assert sum(len(value["points"]) for value in results.values()) == 261 + assert sum(point["reference"]["status"] == "reference_missing" for value in results.values() for point in value["points"]) == 14 + for value in results.values(): + assert not value["can_execute"] and value["expansion"]["numerical_calls"] == 0 + assert value["summary"]["unresolved"] == 0, value["points"][0] + assert not value["expansion"]["truncated"] + assert all(point["simulation_status"] == "not_started" and point["execution_identity"] is None for point in value["points"]) + interpretation = value["reference_scope"]["interpretation"] + assert interpretation["interface_density_choice"] == "historical_areal_input" + density_axes = interpretation["interface_density_axes"] + assert bool(density_axes) == (value["id"] in {"scaps_nt_htl_pvk", "scaps_nt_pvk_etl", "scaps_nt_et", "scaps_nt_cbo"}) + for axis in density_axes: + assert axis == dict(axis_id="Nt", reported_unit="cm^-3", input_unit="cm^-2", resolved_unit="m^-2", thickness_conversion=False, native_input_verified=False) + assert results["scaps_nt_et"]["expansion"]["declared_points"] == 7 * 8 + pair = results["scaps_nt_cbo"] + assert pair["expansion"]["declared_points"] == 7 * 16 + assert sum(point["reference"]["status"] == "available" for point in pair["points"]) == 100 + missing = [point for point in pair["points"] if point["reference"]["status"] == "reference_missing"] + assert all(point["reference"]["reason"] == "four_blank_metric_cells_in_original_workbook" for point in missing) + assert all(point["reference"]["solver_execution_status"] == "unknown" for point in missing) + output = json.dumps(results) + assert not any(metric in output for metric in ("PCE_percent", "Voc_V", "Jsc_mA_cm2", "FF_percent")) + assert device.model_dump(mode="json", exclude_unset=True) == pair["points"][0]["applied_input"] | {"layers": device.model_dump(mode="json", exclude_unset=True)["layers"], "interfaces": device.model_dump(mode="json", exclude_unset=True)["interfaces"]} + + +@pytest.mark.parametrize("group", ["scaps_nt_pvk_cb", "scaps_nt_pvk_vb", "scaps_et_pvk_cb", "scaps_et_pvk_vb", "scaps_nt_htl_pvk", "scaps_nt_pvk_etl", "scaps_et_htl_pvk", "scaps_et_pvk_etl"]) +def test_four_defect_locations_update_only_their_named_field(group, scaps, defaults, resources): + _, sources, sweeps, refs = scaps + raw = next(sweep for sweep in sweeps if sweep.id == group).model_dump(mode="json", exclude_unset=True) + raw["axes"][0]["coordinates"] = raw["axes"][0]["coordinates"][:1] + baseline = deepcopy(raw["base"]) + result = prepare(raw, defaults, resources, sources, refs).to_mapping() + point = result["points"][0] + expected = prepare_point(point["applied_input"], defaults, resources, sources) + assert point["content_sha256"] == expected.content_sha256 + def differences(left, right, path=()): + if isinstance(left, dict) and isinstance(right, dict): + assert left.keys() == right.keys() + return [d for key in left for d in differences(left[key], right[key], (*path, key))] + if isinstance(left, list) and isinstance(right, list): + assert len(left) == len(right) + return [d for i, (a, b) in enumerate(zip(left, right)) for d in differences(a, b, (*path, i))] + return [] if type(left) is type(right) and left == right else [path] + delta = differences(baseline, point["applied_input"]) + assert len(delta) == 1 + if "pvk_cb" in group or "pvk_vb" in group: + expected_index = 0 if "pvk_cb" in group else 1 + assert delta[0][:4] == ("layers", 2, "bulk_defects", expected_index) + assert point["applied_input"]["layers"][2]["scaps_defect_metadata"] == baseline["layers"][2]["scaps_defect_metadata"] + else: + expected_index = 1 if "htl_pvk" in group else 2 + assert delta[0][:3] == ("interfaces", expected_index, "defect") + assert point["applied_input"]["interfaces"][expected_index]["defect"]["partner_metadata"] == baseline["interfaces"][expected_index]["defect"]["partner_metadata"] + + +def test_coordinate_and_axis_order_do_not_retarget_reference_or_point_identity(scaps, defaults, resources): + _, sources, sweeps, refs = scaps + raw = next(s for s in sweeps if s.id == "scaps_nt_et").model_dump(mode="json", exclude_unset=True) + for axis in raw["axes"]: + axis["coordinates"] = axis["coordinates"][:2] + first = prepare(raw, defaults, resources, sources, refs).to_mapping() + raw["axes"].reverse() + for axis in raw["axes"]: + axis["coordinates"].reverse() + second = prepare(raw, defaults, resources, sources, refs).to_mapping() + assert {p["id"]: p for p in first["points"]} == {p["id"]: p for p in second["points"]} + raw["base"]["layers"][2]["bulk_defects"].reverse() + target = single(DeviceInput.model_validate(raw["base"]), family="bulk_defect", parameter=("energy_level", "value_eV"), values=("50 meV",), local_id="bulk_0") + point = prepare(target, defaults, resources).to_mapping()["points"][0] + assert point["applied_input"]["layers"][2]["bulk_defects"][1]["id"] == "bulk_0" + assert point["applied_input"]["layers"][2]["bulk_defects"][1]["energy_level"]["value_eV"] == "50 meV" + + +def test_cbo_uses_effective_pvk_affinity_and_rejects_ambiguous_dependencies(scaps, defaults, resources): + device, _, sweeps, _ = scaps + raw = next(s for s in sweeps if s.id == "scaps_cbo").model_dump(mode="json", exclude_unset=True) + raw["axes"][0]["coordinates"] = [dict(kind="value", value="-200 meV")] + raw["base"]["layers"][2]["parameters"]["chi"] = "4.0 eV" + output = prepare(raw, defaults, resources).to_mapping()["points"][0] + assert output["effective_targets"]["CBO"]["value"] == 4.2 + assert output["effective_targets"]["CBO"]["offset_eV"] == -0.2 + assert output["applied_input"]["settings"] == raw["base"]["settings"] + raw["axes"].append(single(device, parameter=("chi",), values=(4.1,))["axes"][0]) + with pytest.raises(ValidationError, match="reference affinity"): + prepare(raw, defaults, resources) + raw["axes"][1] = deepcopy(raw["axes"][0]) + raw["axes"][1]["id"] = "alias" + with pytest.raises(ValidationError, match="same parameter"): + prepare(raw, defaults, resources) + + +def test_d0_c0_null_omission_and_unit_words_remain_distinct(scaps, defaults, resources): + device = scaps[0] + raw = single(device, values=(-0.0, "1e-18 m^2/s")) + original = words(raw) + result = prepare(raw, defaults, resources) + assert words(result.to_input().model_dump(mode="json", exclude_unset=True)) == words(SweepInput.model_validate(raw).model_dump(mode="json", exclude_unset=True)) + assert words(raw) == original + points = result.to_mapping()["points"] + assert words(points[0]["applied_input"]["layers"][2]["parameters"]["D_ion"]) == words(-0.0) + assert points[1]["applied_input"]["layers"][2]["parameters"]["D_ion"] == "1e-18 m^2/s" + assert all(p["applied_input"]["layers"][2]["parameters"].get("P0") == raw["base"]["layers"][2]["parameters"].get("P0") for p in points) + c0 = single(device, parameter=("P0",), values=(0,)) + assert prepare(c0, defaults, resources).to_mapping()["points"][0]["id"] != points[0]["id"] + raw = single(device, family="setting", owner_id=None, parameter=("work_function_left_eV",), values=(None,)) + raw["axes"][0]["coordinates"].append({"kind": "omit"}) + points = prepare(raw, defaults, resources).to_mapping()["points"] + assert points[0]["applied_input"]["settings"]["work_function_left_eV"] is None + assert "work_function_left_eV" not in points[1]["applied_input"]["settings"] + assert points[0]["id"] != points[1]["id"] + + +@pytest.mark.parametrize("values", [(0, -0.0), ("1000 nm", "1 um")]) +def test_duplicate_equivalent_coordinates_are_rejected(values, scaps, defaults, resources): + field = "D_ion" if values[0] == 0 else "trap_decay_length" + with pytest.raises(ValidationError, match="duplicate physical coordinate"): + prepare(single(scaps[0], parameter=(field,), values=values), defaults, resources) + + +def test_invalid_coordinates_targets_bounds_and_reference_states(scaps, defaults, resources): + raw = single(scaps[0], values=("1 nm",)) + point = prepare(raw, defaults, resources).to_mapping()["points"][0] + assert point["status"] == "unresolved" and point["field_errors"][0]["loc"] == ["layers", 2, "parameters", "D_ion"] + for value in (float("inf"), float("nan")): + with pytest.raises(ValidationError): + prepare(single(scaps[0], values=(value,)), defaults, resources) + for owner in ("missing", "layer_0"): + raw = single(scaps[0], family="bulk_defect", owner_id=owner, local_id="bulk_0", parameter=("energy_level", "value_eV")) + with pytest.raises(ValidationError, match="target"): + prepare(raw, defaults, resources) + raw = single(scaps[0], values=tuple(range(129))) + with pytest.raises(ValidationError, match="not truncated"): + prepare(raw, defaults, resources) + raw = single(scaps[0]) + raw["reference_id"] = "unknown" + assert prepare(raw, defaults, resources).to_mapping()["points"][0]["reference"]["status"] == "reference_unavailable" + raw["reference_id"] = "scaps_nt_pvk_cb" + assert prepare(raw, defaults, resources, references=scaps[3]).to_mapping()["points"][0]["reference"]["status"] == "target_mismatch" + + +def test_jv_base_protocol_and_unrelated_history_are_retained(defaults, resources): + raw_jv, sources = reference(defaults) + base = JVExperimentInput.model_validate(raw_jv) + raw = single(base, family="jv", owner_id=None, parameter=("v_rate",), values=("40 mV/s", "0 V/s")) + result = prepare(raw, defaults, resources, sources) + points = result.to_mapping()["points"] + assert points[0]["status"] == "prepared_pending_dependencies" and points[1]["status"] == "unresolved" + assert points[0]["effective_targets"]["axis"]["value"] == 0.04 + assert points[0]["applied_input"]["experiment"]["waveform"] == raw_jv["experiment"]["waveform"] + direct = prepare_point(points[0]["applied_input"], defaults, resources, sources) + assert points[0]["resolved_sha256"] == digest(direct.to_mapping()) + assert prepare(result.to_input(), defaults, resources, sources).content_sha256 == result.content_sha256 + + +def test_reference_metadata_is_source_bound_and_contains_no_result_answers(scaps, defaults): + manifest = SourceDocument("manifest", (ROOT / "reproducibility/RefactorReferenceManifestV1.json").read_bytes()) + contract = SourceDocument("contract", (ROOT / "reproducibility/ScapsComparisonContractV1.json").read_bytes()) + changed = json.loads(manifest.content) + changed["scaps"]["groups"][0]["points"][0]["coordinates"] = [999] + with pytest.raises(ValueError, match="frozen comparison"): + scaps_sweeps(scaps[0], replace(manifest, content=json.dumps(changed).encode()), contract, interface_density_interpretation="historical_areal_input") + for ref in scaps[3]: + assert "values" not in ref.to_mapping() + assert "PCE" not in ref.document_json.decode() + + +def test_scaps_requires_an_explicit_known_interface_density_channel(scaps): + manifest = SourceDocument("manifest", (ROOT / "reproducibility/RefactorReferenceManifestV1.json").read_bytes()) + contract = SourceDocument("contract", (ROOT / "reproducibility/ScapsComparisonContractV1.json").read_bytes()) + with pytest.raises(TypeError, match="interface_density_interpretation"): + scaps_sweeps(scaps[0], manifest, contract) + for choice in (None, "", "native_volume", "thickness_conversion"): + with pytest.raises(ValueError, match="explicit historical_areal_input"): + scaps_sweeps(scaps[0], manifest, contract, interface_density_interpretation=choice) + + +def test_named_material_inheritance_conflicts_and_duplicate_owner_ids(scaps, defaults, resources): + raw = single(scaps[0], parameter=("mu_n",), values=("2 cm^2/(V s)",)) + raw["base"]["materials"] = [{"id": "named", "name": "Declared material", "parameters": {"mu_n": "3 cm^2/(V s)", "chi": "4 eV"}}] + raw["base"]["layers"][2]["material"] = "named" + raw["base"]["layers"][2]["parameters"].pop("mu_n") + raw["axes"][0]["coordinates"].append({"kind": "omit"}) + points = prepare(raw, defaults, resources).to_mapping()["points"] + assert points[1]["effective_targets"]["axis"]["value"] == 0.0003 + assert points[1]["effective_targets"]["axis"]["origin"] == "material:named" + raw["base"]["layers"].append(deepcopy(raw["base"]["layers"][2])) + with pytest.raises(ValidationError, match="ambiguous"): + prepare(raw, defaults, resources) + raw = next(s for s in scaps[2] if s.id == "scaps_cbo").model_dump(mode="json", exclude_unset=True) + raw["base"]["materials"] = [{"id": "named", "name": "Declared material", "parameters": {"chi": "4 eV"}}] + raw["base"]["layers"][2]["material"] = "named" + raw["base"]["layers"][2]["parameters"].pop("chi") + raw["axes"][0]["coordinates"] = raw["axes"][0]["coordinates"][:1] + raw["axes"].append(dict(id="affinity", target=dict(family="material_parameter", owner_id="named", parameter=["chi"]), coordinates=[dict(kind="value", value="4.1 eV")])) + with pytest.raises(ValidationError, match="reference affinity"): + prepare(raw, defaults, resources) + + +def test_reference_baseline_difference_does_not_claim_equivalent_comparison(scaps, defaults, resources): + raw = next(s for s in scaps[2] if s.id == "scaps_cbo").model_dump(mode="json", exclude_unset=True) + raw["axes"][0]["coordinates"] = raw["axes"][0]["coordinates"][:1] + raw["base"]["layers"][2]["parameters"]["chi"] = "4 eV" + ref = prepare(raw, defaults, resources, references=scaps[3]).to_mapping()["points"][0]["reference"] + assert ref["status"] == "available" and ref["baseline_matches"] is False + assert ref["comparison_qualified"] is False and ref["scope"] == "coordinate_and_target_coverage_only" + + +def test_reference_baseline_survives_json_number_spelling_without_erasing_input_types(scaps, defaults, resources): + raw = next(s for s in scaps[2] if s.id == "scaps_cbo").model_dump(mode="json", exclude_unset=True) + raw["axes"][0]["coordinates"] = raw["axes"][0]["coordinates"][:1] + def browser_numbers(value): + if isinstance(value, dict): + return {key: browser_numbers(part) for key, part in value.items()} + if isinstance(value, list): + return [browser_numbers(part) for part in value] + if type(value) is float and value.is_integer() and (value != 0 or math.copysign(1, value) > 0): + return int(value) + return value + transported = browser_numbers(raw) + before = words(transported) + assert baseline_signature(raw["base"]) == baseline_signature(transported["base"]) + ref = prepare(transported, defaults, resources, references=scaps[3]).to_mapping()["points"][0]["reference"] + assert ref["baseline_matches"] is True and ref["comparison_qualified"] is False + assert words(transported) == before + for left, right in [(-0.0, 0), (False, 0), (None, ""), (1, "1"), ("1 eV", "1000 meV"), (9007199254740993, float(9007199254740993))]: + assert baseline_signature({"value": left}) != baseline_signature({"value": right}) + assert baseline_signature({"value": None}) != baseline_signature({}) diff --git a/tests/refactor/test_transient_history.py b/tests/refactor/test_transient_history.py new file mode 100644 index 00000000..bdc55029 --- /dev/null +++ b/tests/refactor/test_transient_history.py @@ -0,0 +1,137 @@ +"""Accepted Radau histories with an analytic RHS, never a device simulation.""" + +from fractions import Fraction +from types import SimpleNamespace + +import numpy as np +import pytest + +from scripts.benchmarks import hysteresis_reference as reference +from perovskite_sim.solver import mol + + +@pytest.fixture +def bridge(monkeypatch): + calls = [0] + + def rhs(_time, values, *_args, **_kwargs): + calls[0] += 1 + rates = np.zeros_like(values) + rates[:4] = -values[:4] + return rates + + monkeypatch.setattr(mol, "assemble_rhs", rhs) + item = reference.ProductionBridge.__new__(reference.ProductionBridge) + item.np = np + item.jv = SimpleNamespace(run_transient=mol.run_transient) + item.x = np.array([0., 1.]) + item.stack = object() + item.mat = SimpleNamespace( + P_ion0=np.array([5., 6.]), has_dual_ions=False, N_iface_state=0, + ) + item.widths = np.array([.5, .5]) + item.initial_inventory = 5.5 + item.numerics = {"rtol": 1e-7, "atol_m3": 1e-9} + item.jacobian = lambda _time, _values: np.diag([-1., -1., -1., -1., 0., 0.]) + return item, calls + + +def control(max_calls): + return reference.Control("analytic", 0, Fraction(0), Fraction(1), + Fraction(0), Fraction(0), False, .02, max_calls) + + +def test_budget_failure_retains_native_accepted_prefix(bridge): + item, _ = bridge + state = (1., 2., 3., 4., 5., 6.) + result = item.advance(state, control(20)) + assert not result.success + assert len(result.states) >= 2 + assert result.states[0] == state + assert 0 < result.local_times[-1] < 1 + assert result.local_times[0] == 0 + assert all(b > a for a, b in zip(result.local_times, result.local_times[1:])) + for time, values in zip(result.local_times, result.states, strict=True): + np.testing.assert_allclose(values[:4], np.asarray(state[:4])*np.exp(-time), rtol=1e-7) + assert values[4:] == state[4:] + + +def test_default_engine_failure_behavior_is_unchanged(bridge): + item, _ = bridge + result = mol.run_transient( + item.x, np.arange(1., 7.), (0., 1.), None, item.stack, + mat=item.mat, max_step=.02, max_nfev=20, + rtol=1e-7, atol=1e-9, jacobian=item.jacobian, + ) + assert not result.success + assert result.t.size == 0 and result.y.shape == (6, 0) + + +def test_observer_preserves_complete_radau_mesh_and_counts(bridge): + item, calls = bridge + state = (1., 2., 3., 4., 5., 6.) + protocol = control(10000) + original = mol.run_transient( + item.x, np.asarray(state), (0., 1.), None, item.stack, + mat=item.mat, illuminated=False, V_app=protocol.voltage, + max_step=.02, max_nfev=10000, rtol=1e-7, atol=1e-9, + jacobian=item.jacobian, + ) + original_calls = calls[0] + calls[0] = 0 + observed = [] + item.accepted_observer = lambda segment, time, values: observed.append((segment, time, values)) + result = item.advance(state, protocol) + assert original.success and result.success + np.testing.assert_array_equal(result.local_times, original.t) + np.testing.assert_array_equal(np.asarray(result.states).T, original.y) + assert calls[0] == original_calls + assert result.diagnostics["nfev"] == original.nfev + assert result.diagnostics["njev"] == original.njev + assert result.diagnostics["nlu"] == original.nlu + assert len(observed) == len(result.local_times)-1 + assert all(segment is protocol and isinstance(values, tuple) for segment, _, values in observed) + assert [time for _, time, _ in observed] == list(result.local_times[1:]) + assert [values for _, _, values in observed] == list(result.states[1:]) + + +def test_nonfinite_failure_retains_last_accepted_state(bridge, monkeypatch): + item, _ = bridge + original = mol.assemble_rhs + + def fail_after_acceptance(time, values, *args, **kwargs): + if time > .05: + raise mol._RhsNonFinite("controlled analytic failure") + return original(time, values, *args, **kwargs) + + monkeypatch.setattr(mol, "assemble_rhs", fail_after_acceptance) + state = (1., 2., 3., 4., 5., 6.) + result = item.advance(state, control(10000)) + assert not result.success and len(result.states) >= 2 + assert 0 < result.local_times[-1] <= .05 + assert result.diagnostics["last_accepted_local_time_s"] == result.local_times[-1] + assert "controlled analytic failure" in result.diagnostics["message"] + np.testing.assert_allclose(result.states[-1][:4], + np.asarray(state[:4])*np.exp(-result.local_times[-1]), rtol=1e-7) + + +def test_accepted_stream_survives_interrupted_control(tmp_path, monkeypatch): + protocol = control(10000) + phases = (reference.Phase("analytic", (protocol,)),) + bridge = SimpleNamespace(stack={}, mat={}, x=np.array([0., 1.])) + monkeypatch.setattr(reference, "ProductionBridge", lambda *_args: bridge) + monkeypatch.setattr(reference, "make_timeline", lambda *_args: phases) + state = (1., 2., 3., 4., 5., 6.) + + def interrupted(item, _phases, _save_segment, _save_event): + item.accepted_observer(protocol, .01, state) + raise RuntimeError("controlled interruption after accepted state") + + monkeypatch.setattr(reference, "collect_history", interrupted) + with pytest.raises(RuntimeError, match="controlled interruption"): + reference.execute({"numerics": {"max_step_level": 0}}, + {"request": {}, "contract": {}}, tmp_path) + path = tmp_path/"Raw/Interval0000Accepted.npy" + with path.open("rb") as stream: + np.testing.assert_array_equal(np.load(stream, allow_pickle=False), (.01, *state)) + assert stream.read() == b"" diff --git a/tests/runtime/control_workers.py b/tests/runtime/control_workers.py new file mode 100644 index 00000000..9215dfd3 --- /dev/null +++ b/tests/runtime/control_workers.py @@ -0,0 +1,16 @@ +"""Durable barriers for supervisor-control tests; no scientific computation.""" + +import os +from pathlib import Path +import time + +from solarlab.experiments.worker import WorkerResult, _atomic_json + + +def barrier(request, context): + context.counters(accepted_steps=0, calls=0) + _atomic_json(Path("ready.json"), {"pid": os.getpid()}) + while not Path("release").exists(): + context.check_cancel() + time.sleep(0.005) + return WorkerResult.from_dict({"ok": True}) diff --git a/tests/runtime/execution_workers.py b/tests/runtime/execution_workers.py new file mode 100644 index 00000000..de898dad --- /dev/null +++ b/tests/runtime/execution_workers.py @@ -0,0 +1,172 @@ +"""Only infrastructure fixtures; these are not scientific registry entries.""" + +import json +import multiprocessing +import os +from pathlib import Path +import resource +import signal +import struct +import sys +import time + +from solarlab.experiments.worker import WorkerResult +from solarlab.experiments.worker import _atomic_json +from solarlab.io.artifacts import bytes_artifact + + +def _ready(context): + forbidden = {"scipy", "sksundae", "flint", "perovskite_sim"} & set(sys.modules) + if forbidden: + raise AssertionError("unexpected scientific import: " + repr(forbidden)) + context.counters(accepted_steps=0, calls=0) + context.progress({"stage": "ready", "pid": os.getpid(), "forbidden_modules_loaded": sorted(forbidden)}) + + +def normal(request, context): + _ready(context) + payload = json.loads(request.request.content) + count = payload.get("progress_count", 100) + for index in range(count): + context.counters(accepted_steps=index + 1, calls=index + 1) + context.progress({"stage": "fixture", "current": index + 1, "total": count}) + artifact = bytes_artifact(struct.pack("<2d", 0.0, -0.0), metadata={"unit": "fixture_words", "missing_reason": None}) + return WorkerResult.from_dict({"ok": True, "explicit_null": None, "negative_zero": -0.0}, + artifacts=(("raw_words", artifact),)) + + +def supervised_client(request, context): + """Real durable-client fixture with an observed release/cancel boundary.""" + forbidden = {"scipy", "sksundae", "flint", "perovskite_sim"} & set(sys.modules) + if forbidden: + raise AssertionError("unexpected scientific import: " + repr(forbidden)) + # Intentionally report no cumulative counters. Unobserved values must remain + # null through the supervisor, store, HTTP client and panel. + context.progress({"stage": "ready", "pid": os.getpid(), + "forbidden_modules_loaded": sorted(forbidden), "zero": 0, + "negative_zero": -0.0, "unobserved": None, + "large_integer": 18446744073709551617, + "scientific_qualification": False}) + while not Path("release").exists(): + context.check_cancel() + time.sleep(0.005) + if json.loads(request.request.content)["outcome"] == "failed": + raise ValueError("supervised client infrastructure failure") + artifact = bytes_artifact(struct.pack("<2d", 0.0, -0.0) + b"\x00supervised", + metadata={"unit": "fixture_words", "missing_reason": None, "scientific_qualification": False}) + return WorkerResult.from_dict({"zero": 0, "negative_zero": -0.0, "tau": None, + "large_integer": 18446744073709551617, "scientific_qualification": False}, + artifacts=(("raw_words", artifact),)) + + +def cooperative(request, context): + _ready(context) + # Durable readiness survives progress coalescing and precedes the stop loop. + _atomic_json(Path("cooperative_ready.json"), {"pid": os.getpid()}) + while True: + context.check_cancel() + time.sleep(0.005) + + +def uncooperative(request, context): + signal.signal(signal.SIGTERM, signal.SIG_IGN) + _ready(context) + while True: + time.sleep(0.005) + + +def delayed_success(request, context): + _ready(context) + # Deliberately return success after a soft cancellation: the parent must win. + time.sleep(0.18) + return WorkerResult.from_dict({"returned_after_delay": True}) + + +def barrier_success(request, context): + _ready(context) + # Ignore soft stop deliberately; return only after the test has established + # the cancellation/generation ordering, never after a guessed sleep. + while not Path("release").exists(): + time.sleep(0.005) + return WorkerResult.from_dict({"returned_after_release": True}) + + +def returned_failure(request, context): + """Guard fixture without importing the scientific transient test module.""" + body = json.loads(request.request.content) + context.progress({"stage": "ready"}) + if body.get("wait"): + while not Path("release").exists(): + # Deliberately return late after the parent cancellation. + time.sleep(.005) + return WorkerResult.from_dict({"reason": "fixture_numerical_failure"}, + artifacts=(("prefix", bytes_artifact(b"retained fixture prefix", metadata={"fixture": True})),), state="failed") + + +def exception(request, context): + _ready(context) + raise ValueError("infrastructure fixture exception") + + +def crash(request, context): + _ready(context) + os._exit(17) + + +def counter_limit(request, context): + _ready(context) + context.counters(accepted_steps=3, calls=2) + return WorkerResult.from_dict({"unreachable": True}) + + +def missing_counters(request, context): + return WorkerResult.from_dict({"counts_were_not_observed": True}) + + +def disk_limit(request, context): + _ready(context) + remaining = b"x" * 32768 + while remaining: + remaining = remaining[os.write(1, remaining):] + return WorkerResult.from_dict({"log_written": True}) + + +def nested_pool(request, context): + _ready(context) + child = multiprocessing.get_context("spawn").Process(target=os.getpid) + child.start() # A daemonic worker must reject nested worker creation. + child.join(0.2) + return WorkerResult.from_dict({"unexpected_nested_worker": True}) + + +def malformed_terminal(request, context): + """Deliberately bypass the normal encoder to exercise parent validation.""" + _ready(context) + body = json.loads(request.request.content) + if body.get("wait"): + while not Path("release").exists(): + context.check_cancel() + time.sleep(.005) + source = json.loads(Path("launch.json").read_text()) + kind = body["malformed"] + entry = None if kind == "not_mapping" else {"file": "artifact-0.bin"} + peak = resource.getrusage(resource.RUSAGE_SELF).ru_maxrss + _atomic_json(Path("terminal.json"), {"token": source["token"], + "worker_source_sha256": source["binding"]["source_sha256"], "state": "succeeded", "result": {}, + "artifacts": [entry], "counters": {"accepted_steps": 0, "calls": 0}, + "child_peak_rss_bytes": peak if sys.platform == "darwin" else peak * 1024}) + os._exit(0) + + +def finalize_after_release(request, context): + """Small real output, paused so the parent can set an exact retained load.""" + _ready(context) + while not Path("release").exists(): + context.check_cancel() + time.sleep(0.005) + config = json.loads(request.request.content) + data = b"x" * config["bytes"] + if config["kind"] == "artifact": + return WorkerResult.from_dict({"large_output": "artifact"}, + artifacts=(("payload", bytes_artifact(data, metadata={"scope": "infrastructure"})),)) + return WorkerResult.from_dict({"large_output": data.decode("ascii")}) diff --git a/tests/runtime/fixtures/ionic_jv_failed_prefix.tar.gz b/tests/runtime/fixtures/ionic_jv_failed_prefix.tar.gz new file mode 100644 index 00000000..fa2d1fb3 Binary files /dev/null and b/tests/runtime/fixtures/ionic_jv_failed_prefix.tar.gz differ diff --git a/tests/runtime/fixtures/ionic_jv_saved_results.tar.gz b/tests/runtime/fixtures/ionic_jv_saved_results.tar.gz new file mode 100644 index 00000000..ff5fdd0f Binary files /dev/null and b/tests/runtime/fixtures/ionic_jv_saved_results.tar.gz differ diff --git a/tests/runtime/fixtures/ionic_jv_wall_composition_baseline.json b/tests/runtime/fixtures/ionic_jv_wall_composition_baseline.json new file mode 100644 index 00000000..c6cc749f --- /dev/null +++ b/tests/runtime/fixtures/ionic_jv_wall_composition_baseline.json @@ -0,0 +1,41 @@ +{ + "admitted": { + "ion_free/ionic_steady_jv/128": false, + "ion_free/ionic_steady_jv/30": true, + "ion_free/ionic_steady_jv/60": false, + "ion_free/ionic_steady_jv/61": false, + "ion_free/steady_jv/128": false, + "ion_free/steady_jv/30": true, + "ion_free/steady_jv/60": true, + "ion_free/steady_jv/61": false, + "ion_free/transient_1d/128": false, + "ion_free/transient_1d/30": true, + "ion_free/transient_1d/60": true, + "ion_free/transient_1d/61": false, + "ionic_transient/ionic_steady_jv/128": false, + "ionic_transient/ionic_steady_jv/30": true, + "ionic_transient/ionic_steady_jv/31": false, + "ionic_transient/ionic_transient_1d/128": false, + "ionic_transient/ionic_transient_1d/30": true, + "ionic_transient/ionic_transient_1d/31": false, + "legacy/ionic_steady_jv/128": false, + "legacy/ionic_steady_jv/30": true, + "legacy/ionic_steady_jv/31": false, + "legacy/jv/128": false, + "legacy/jv/30": true, + "legacy/jv/31": false, + "two_dimensional/ionic_steady_jv/128": false, + "two_dimensional/ionic_steady_jv/30": true, + "two_dimensional/ionic_steady_jv/31": false, + "two_dimensional/steady_2d/128": false, + "two_dimensional/steady_2d/30": true, + "two_dimensional/steady_2d/31": false + }, + "base_commit": "cbec4788a0f83ae5c6c4719b1fd95c0fc037d09d", + "ordinary_ceilings": { + "ion_free": 60.0, + "ionic_transient": 30.0, + "legacy": 30.0, + "two_dimensional": 30.0 + } +} diff --git a/tests/runtime/fixtures/steady_2d_process_saved.tar.gz b/tests/runtime/fixtures/steady_2d_process_saved.tar.gz new file mode 100644 index 00000000..5956c6d6 Binary files /dev/null and b/tests/runtime/fixtures/steady_2d_process_saved.tar.gz differ diff --git a/tests/runtime/ionic_jv_wall_fixtures.py b/tests/runtime/ionic_jv_wall_fixtures.py new file mode 100644 index 00000000..bbb71677 --- /dev/null +++ b/tests/runtime/ionic_jv_wall_fixtures.py @@ -0,0 +1,72 @@ +"""Actual catalog compositions shared by the base oracle and V3 regressions.""" +from dataclasses import replace + + +METHODS = ("ionic_base", "other_base", "constructor") +KINDS = ("legacy", "ion_free", "ionic_transient", "two_dimensional") + + +def companions(implementation): + import job_route_fixtures + from examples.research_1d.ionic_transient_service import installed_catalog as ionic_transient + from examples.research_1d.transient_service import installed_catalog as ion_free + from examples.research_2d.http_steady import installed_catalog as two_dimensional + + head = implementation.build_source_commit + return {"legacy": job_route_fixtures.catalog()[0], + "ion_free": ion_free(implementation, head), + "ionic_transient": ionic_transient(implementation, head), + "two_dimensional": two_dimensional(implementation, head)} + + +def compose(ionic, other, method, reverse, *, wall_seconds=None): + from solarlab.experiments.registry import ExperimentRegistry + from solarlab_server.job_service import ExecutionCatalog + + catalogs = (other, ionic) if reverse else (ionic, other) + sources = {source.id: source for catalog in catalogs for source in catalog.sources} + registry = ExperimentRegistry(tuple(d for catalog in catalogs for d in catalog.registry.definitions)) + ceiling = replace(ionic.ceiling, wall_seconds=( + max(ionic.ceiling.wall_seconds, other.ceiling.wall_seconds) if wall_seconds is None else wall_seconds)) + common = dict(registry=registry, models=other.models, expected_registry_sha256=registry.content_sha256, + expected_model_sha256=other.models.content_sha256, sources=tuple(sources.values()), + registrations=tuple(r for catalog in catalogs for r in catalog.registrations), ceiling=ceiling) + if method == "constructor": + return ExecutionCatalog(**common) + return replace(ionic if method == "ionic_base" else other, **common) + + +def submissions(kind): + import job_route_fixtures + from examples.research_1d.ionic_jv_service import example_submission as ionic_jv + from examples.research_1d.ionic_transient_service import example_submission as ionic_transient + from examples.research_1d.transient_service import example_submission as transient + from examples.research_2d.http_steady import example_submission as two_dimensional + + bodies = [ionic_jv()] + if kind == "legacy": + bodies.append(job_route_fixtures.request()) + elif kind == "ion_free": + bodies.append(transient()) + steady = ionic_jv() + steady.update(experiment_id="steady_jv", input={"device_id": "research_1d", "voltage_V": [0., .05, .1], + "intervals_per_layer": 12, "generation_scale": 1., "incident_power_W_m2": None}) + bodies.append(steady) + else: + bodies.append(ionic_transient() if kind == "ionic_transient" else two_dimensional()) + walls = (30., 60., 61., 128.) if kind == "ion_free" else (30., 31., 128.) + return [(f"{kind}/{body['experiment_id']}/{int(wall)}", + {**body, "limits": {**body["limits"], "wall_seconds": wall}}) + for body in bodies for wall in walls] + + +def admit(catalog, body): + from solarlab_server.job_service import JobSubmission + try: + spec, _ = catalog.prepare(JobSubmission.model_validate(body)) + except ValueError as error: + if not any(word in str(error) for word in ("wall", "ceiling", "requires <=30s")): + raise + return False + assert spec.limits.wall_seconds == body["limits"]["wall_seconds"] + return True diff --git a/tests/runtime/job_route_fixtures.py b/tests/runtime/job_route_fixtures.py new file mode 100644 index 00000000..6e75a330 --- /dev/null +++ b/tests/runtime/job_route_fixtures.py @@ -0,0 +1,65 @@ +"""Source-bound short legacy input registration for real HTTP/worker tests.""" +from typing import Literal +import hashlib +import json + +from pydantic import BaseModel, ConfigDict, Field + +from solarlab.experiments.registry import ExperimentDefinition, ExperimentRegistry +from solarlab.experiments.worker import ResourceLimits +from solarlab.materials.source import SourceDocument +from solarlab.physics.registry import CapabilityRule, EvidenceRef +from solarlab_server.job_service import ExecutionCatalog, LegacyRegistration +from legacy_fixtures import LEGACY, ROOT, make_job + + +class Parameters(BaseModel): + model_config = ConfigDict(extra="forbid", strict=True) + N_grid: int = Field(default=8, ge=4, le=8) + n_points: int = Field(default=3, ge=1, le=3) + V_max: float = Field(default=.02, ge=0., le=.03) + v_rate: float = Field(default=1000., gt=0.) + + +class LegacyInput(BaseModel): + model_config = ConfigDict(extra="forbid", strict=True) + device: None + config_path: Literal["fixture:scaps"] + params: Parameters + + +def prepare_jv(input: LegacyInput): + # The input model permits only this explicit source and bounded test range. + return make_job(arguments=input.params.model_dump())[0] + + +def catalog(*, denied=False, wall_seconds=30., ceiling=None): + job = make_job()[0] + documents = {} + def reference(path, symbol=""): + documents[path] = (ROOT / path).read_bytes() + return EvidenceRef(path + ("#" + symbol if symbol else ""), hashlib.sha256(documents[path]).hexdigest(), "source") + factory = reference("tests/runtime/job_route_fixtures.py", "prepare_jv") + schema = json.dumps(LegacyInput.model_json_schema(), sort_keys=True, separators=(",", ":"), allow_nan=False).encode() + documents["schema:legacy-http-fixture"] = schema + schema_ref = EvidenceRef("schema:legacy-http-fixture", hashlib.sha256(schema).hexdigest(), "source") + definition = ExperimentDefinition("jv", 1, "Short source-bound legacy J-V test", schema_ref, + reference("src/solarlab/experiments/worker.py", "WorkerResult"), factory, + reference("src/solarlab_server/legacy_engine/__init__.py", "_run_legacy"), "jv", + reference("web/src/workstation/panes/main-plot-pane.ts", "renderJV"), + CapabilityRule("legacy-http-fixture", (2,) if denied else (1,), ("transient",), (factory,), backends=("metadata_only",))) + documents["physics/temperature.py"] = (LEGACY / "physics/temperature.py").read_bytes() + registry = ExperimentRegistry((definition,)) + models = job.execution.inputs.registry + registration = LegacyRegistration("jv", 1, "scaps_transient", LegacyInput, prepare_jv, + legacy_kinds=("jv",), synchronous_paths=("/api/jv",)) + cap = ceiling or ResourceLimits(wall_seconds, 1024**3, 64 * 1024**2, None, None) + return ExecutionCatalog(registry, models, tuple(SourceDocument(k, v) for k, v in documents.items()), + (registration,), expected_registry_sha256=registry.content_sha256, expected_model_sha256=models.content_sha256, ceiling=cap), job + + +def request(run_id="http-case", **parameters): + return {"schema_version": "solarlab.job-submission.v1", "run_id": run_id, "experiment_id": "jv", "version": 1, + "engine": "legacy", "input": {"device": None, "config_path": "fixture:scaps", "params": parameters}, + "limits": {"wall_seconds": 30., "rss_bytes": 1024**3, "output_bytes": 64 * 1024**2, + "accepted_steps": None, "calls": None}} diff --git a/tests/runtime/job_workers.py b/tests/runtime/job_workers.py new file mode 100644 index 00000000..1da513ea --- /dev/null +++ b/tests/runtime/job_workers.py @@ -0,0 +1,23 @@ +"""Actual process barriers before the production registered legacy worker.""" +from pathlib import Path +import time + + +def gated_legacy(request, context): + context.progress({"stage": "ready"}) + deadline = time.monotonic() + 8 + while not Path("release").exists() and time.monotonic() < deadline: + context.check_cancel() + time.sleep(.005) + from solarlab_server.registered_worker import run_legacy + return run_legacy(request, context) + + +def stuck_legacy(request, context): + import signal + signal.signal(signal.SIGTERM, signal.SIG_IGN) + context.progress({"stage": "ready"}) + deadline = time.monotonic() + 8 + while time.monotonic() < deadline: + time.sleep(.01) + raise RuntimeError("orphaned test worker ended its independent bound") diff --git a/tests/runtime/legacy_fixtures.py b/tests/runtime/legacy_fixtures.py new file mode 100644 index 00000000..ebfaee32 --- /dev/null +++ b/tests/runtime/legacy_fixtures.py @@ -0,0 +1,75 @@ +"""Real bounded old-driver inputs; no mock executor or numerical replacement.""" + +from dataclasses import replace +import json +from pathlib import Path +import subprocess +import sys + +from solarlab.config.behavior import behavior_source_requirements, inspect_historical_behavior +from solarlab.config.device_import import import_standard_device +from solarlab.config.identity import BuildSource, ExecutionEngine, execution_manifest +from solarlab.config.legacy_defaults import read_legacy_default_catalog +from solarlab.config.legacy_execution import LegacyExecutionContext +from solarlab.config.resolve_device import resolve_device +from solarlab.config.scaps_input import import_scaps_device +from solarlab.materials.resources import ResourceLibrary, ResourceTable +from solarlab.materials.source import SourceDocument +from solarlab_server.legacy_engine import legacy_description, legacy_environment, prepare_legacy_job + +ROOT = Path(__file__).resolve().parents[2] +LEGACY = ROOT / "perovskite-sim/perovskite_sim" +sys.path.insert(0, str(ROOT / "tests/refactor")) +from test_execution_identity_preparation import identity_inputs # noqa: E402 +from test_behavior_context import selection # noqa: E402 + +_CATALOG = ("models/parameters.py", "models/device.py", "models/defects.py", "physics/statistics.py", + "physics/band_gap_narrowing.py", "scaps_compat/loader.py", "constants.py", + "twod/microstructure.py", "models/tandem_config.py") + + +def make_job(driver="scaps_transient", *, arguments=None, environment=(), runtime_change=None, changed_resource=False): + sources = tuple(SourceDocument(name, (LEGACY / name).read_bytes()) for name, _ in behavior_source_requirements()) + default = read_legacy_default_catalog(tuple(SourceDocument(name, (LEGACY / name).read_bytes()) for name in _CATALOG)) + tables = ResourceLibrary(tuple(ResourceTable(path.stem, "nk", SourceDocument(path.name, path.read_bytes())) + for path in sorted((LEGACY / "data/nk").glob("*.csv")))) + if changed_resource: + first = tables.tables[0] + tables = ResourceLibrary((replace(first, source=replace(first.source, content=first.source.content + b"\n# changed resource\n")), + *tables.tables[1:])) + if driver == "ion_hysteresis": + raw = json.loads((ROOT / "perovskite-sim/tests/fixtures/IonDiffusivityFigureReference.json").read_bytes())["request"] + original = SourceDocument("ion-original.json", json.dumps(raw["device"]).encode()) + supplied = {**raw["params"], "N_grid": 8, "V_max": .02, "v_rate": 1000., "n_points": 3, + "save_snapshots": True, "decompose_currents": True, + "waveform": {**raw["params"]["waveform"], "branch_dwell_s": 1e-6, "dark_prep_s": 1e-6, + "dark_seed_s": 1e-6, "turnaround_s": 1e-6}} + editable = import_standard_device(original, id="legacy_job", defaults=default) + else: + original = SourceDocument("scaps-original.yaml", (ROOT / "perovskite-sim/configs/scaps_mirror_v2.yaml").read_bytes()) + supplied = ({"N_grid": 30, "V_hi": 1.3, "tol_v": .02, "iface_states": False} + if driver == "scaps_steady_state" else + {"N_grid": 8, "n_points": 3, "v_rate": 1000., "V_max": .02, + "save_snapshots": True, "decompose_currents": True}) + editable = import_scaps_device(original, id="legacy_job", defaults=default) + supplied.update(arguments or {}) + device = resolve_device(editable, default, tables, sources=(original,)) + problem = "dc" if driver == "scaps_steady_state" else "transient" + behavior = inspect_historical_behavior(device, selection(device, problem), driver=driver, sources=sources, + environment=environment, arguments=SourceDocument("original-arguments.json", json.dumps(supplied).encode())) + inputs = identity_inputs(device, problem=problem, effective_behavior=behavior) + invocation = LegacyExecutionContext(behavior, original) + commit = subprocess.check_output(["git", "rev-parse", "HEAD"], cwd=ROOT, text=True).strip() + # All old Python source bytes, with their real unchanged build association. + subprocess.run(["git", "diff", "--exit-code", "HEAD", "--", "perovskite-sim/perovskite_sim"], + cwd=ROOT, check=True, capture_output=True) + build = BuildSource(commit, tuple(SourceDocument("perovskite_sim/" + str(path.relative_to(LEGACY)), path.read_bytes()) + for path in sorted(LEGACY.rglob("*.py")) if path.stat().st_size)) + runtime = legacy_environment(invocation) + if runtime_change: + runtime = replace(runtime, **runtime_change) + description = legacy_description(invocation, implementation=build, environment=runtime, current_repository_head=commit) + engine = ExecutionEngine("legacy", behavior) + manifest = execution_manifest(inputs, description, engine=engine) + job = prepare_legacy_job(invocation, inputs, description, engine=engine, manifest=manifest, expected_sha256=manifest.sha256) + return job, invocation diff --git a/tests/runtime/ps_timeout_workers.py b/tests/runtime/ps_timeout_workers.py new file mode 100644 index 00000000..89b12225 --- /dev/null +++ b/tests/runtime/ps_timeout_workers.py @@ -0,0 +1,41 @@ +"""Inject only the child's startup identity query, leaving parent sampling real.""" +import os +from pathlib import Path +import subprocess +import time +from unittest.mock import patch + +from solarlab.experiments import worker + + +def identity_timeout(*args, misses): + directory = Path(args[3]) + original = subprocess.run + argv = ["ps", "-p", str(os.getpid()), "-o", "pid=,ppid=,lstart=,rss="] + observations = [] + + def observed(command, *positional, **options): + if command != argv: + return original(command, *positional, **options) + assert options["timeout"] == 0.5 + row = {"pid": os.getpid(), "ppid": os.getppid(), "argv": command, + "timeout": options["timeout"], "started_record_exists": (directory / "started.json").exists()} + observations.append(row) + began = time.monotonic() + try: + if len(observations) <= misses: + # Spend the real subprocess deadline, then raise its exact exception. + time.sleep(options["timeout"]) + row["outcome"] = "injected_timeout" + raise subprocess.TimeoutExpired(command, options["timeout"]) + # A deterministic parser fixture separates this retry contract from + # unrelated natural sampler misses under load; parent RSS stays real. + row["outcome"] = "controlled_success" + return subprocess.CompletedProcess(command, 0, + stdout=f"{os.getpid()} {os.getppid()} Mon Jan 01 00:00:00 2024 1024\n", stderr="") + finally: + row["seconds"] = time.monotonic() - began + worker._atomic_json(directory / "identity-probe.json", {"observations": observations}) + + with patch.object(subprocess, "run", observed): + worker._child_main(*args) diff --git a/tests/runtime/runtime_evidence.py b/tests/runtime/runtime_evidence.py new file mode 100644 index 00000000..9bef6b06 --- /dev/null +++ b/tests/runtime/runtime_evidence.py @@ -0,0 +1,82 @@ +"""Retain infrastructure failures without replacing their original exception.""" +from __future__ import annotations + +from dataclasses import asdict +import hashlib +import json +import os +from pathlib import Path +import time +from typing import Any + +from solarlab.experiments.execution import ProcessSupervisor +from solarlab.io.run_store import RunStore + + +def record_resource_samples(supervisor: ProcessSupervisor, monkeypatch: Any) -> list[dict[str, Any]]: + """Observe the real sampler; do not replace or retry its measurements.""" + samples: list[dict[str, Any]] = [] + original = supervisor._sample + + def sampled() -> None: + try: + original() + finally: + now = time.monotonic() + samples.append({"monotonic": now, "rss_observation": supervisor._rss_observation(), + "parent_rss_bytes": supervisor._parent_rss, + "shared_rss_bytes": supervisor._shared_rss, + "sampled_family_pids": list(supervisor._sampled_family_pids), + "jobs": [{"run_id": job.handle.run_id, "attempt_id": job.handle.attempt_id, + "limits": asdict(job.limits), "started_monotonic": job.started, + "owned_wall_seconds": None if job.started is None else now - job.started, + "child_peak_rss_bytes": job.peak_rss, "output_peak_bytes": job.output_peak, + "counters": dict(job.counts), "stop_reason": job.stop_reason, + "signals": list(job.signals)} for job in supervisor._active.values()]}) + + monkeypatch.setattr(supervisor, "_sample", sampled) + return samples + + +def preserve_runtime_evidence(root: Path, store_name: str, label: str, + samples: list[dict[str, Any]]) -> str: + """Called after owner cleanup so every available final receipt is retained.""" + value: dict[str, Any] = {"store": str(root / store_name), "work": str(root / "work"), + "resource_samples": samples, "workers": {}, "events": []} + for directory in sorted((root / "work").glob("*")): + if not directory.is_dir(): + continue + documents: dict[str, Any] = {} + for name in ("launch.json", "started.json", "spawned.json", "receipt.json", + "terminal.json", "stop.json", "finalization.json", "fixture-clock.json", "worker.log"): + path = directory / name + if not path.exists(): + documents[name] = {"missing": True} + continue + try: + data = path.read_bytes() + except OSError as error: + documents[name] = {"path": str(path), "read_error": str(error)} + continue + try: + content: Any = json.loads(data) + except (ValueError, UnicodeError): + content = {"unparsed_text": data.decode("utf-8", errors="replace")} + documents[name] = {"path": str(path), "sha256": hashlib.sha256(data).hexdigest(), "content": content} + value["workers"][directory.name] = documents + try: + with RunStore(root / store_name, read_only=True) as store: + value["events"] = store.events(limit=1000) + except Exception as error: + value["store_read_error"] = f"{type(error).__name__}: {error}" + output = Path(os.environ.get("SCHEDULED_RUNTIME_EVIDENCE_DIR") or str(root)) + path = output / (label + ".json") + value["evidence_path"] = str(path) + text = json.dumps(value, indent=2, allow_nan=False) + try: + output.mkdir(parents=True, exist_ok=True) + path.write_text(text + "\n") + except OSError as error: + value["evidence_write_error"] = str(error) + text = json.dumps(value, indent=2, allow_nan=False) + return text diff --git a/tests/runtime/scan_workers.py b/tests/runtime/scan_workers.py new file mode 100644 index 00000000..2ddc05d7 --- /dev/null +++ b/tests/runtime/scan_workers.py @@ -0,0 +1,77 @@ +"""Real spawned infrastructure probes; none is a scientific executor.""" + +import json +import os +from pathlib import Path +import signal +import time + +from solarlab.experiments.worker import WorkerResult +from solarlab.io.artifacts import bytes_artifact + +_LOCAL_MUTATIONS = [] + + +def point(request, context): + payload = json.loads(request.request.content) + action = payload.get("action", "normal") + # Arm the uncooperative fixture before admission or progress can block. + if action == "stuck": + signal.signal(signal.SIGTERM, signal.SIG_IGN) + binding = context.consume_manifest(request, engine="solarlab") + if binding.execution.protocol.content != request.request.content: + raise ValueError("fixture protocol differs from actual request") + if _LOCAL_MUTATIONS: + raise AssertionError("state leaked between points") + _LOCAL_MUTATIONS.append(payload["point"]) + assert os.environ["OMP_NUM_THREADS"] == os.environ["OPENBLAS_NUM_THREADS"] == "1" + context.counters(accepted_steps=0, calls=0) + context.progress({"stage": "ready", "pid": os.getpid(), "signals_ignored": action == "stuck", + "ready_monotonic": time.monotonic()}) + if action == "exception": + raise ValueError("point-local deliberate failure after state mutation") + if action == "crash": + os._exit(17) + if action in {"stuck", "late", "release"}: + deadline = time.monotonic() + 8 # Even an orphaned test worker is bounded. + while not Path("release").exists() and time.monotonic() < deadline: + if action == "release": + context.check_cancel() + time.sleep(.005) + if action == "counter": + context.counters(accepted_steps=3, calls=3) + if action == "nested_scan": + from solarlab.experiments.execution import ScanRunner + ScanRunner(None, None, (), max_in_flight=1) + context.counters(accepted_steps=1, calls=1) + initial = binding.execution.initial_state + words = bytes.fromhex(json.loads(initial.content)["words"]) + if action == "provenance": + with context.admit_provenance(request, operator="non_scientific_scan_fixture"): + return WorkerResult.from_dict({"point": payload["point"], "manifest_sha256": binding.expected_sha256, + "initial_state_sha256": initial.sha256, "scientific_qualification": False}, + artifacts=(("words", bytes_artifact(words, metadata={"unit": "fixture", "missing_reason": None})),)) + return WorkerResult.from_dict({"point": payload["point"], "initial_state_sha256": initial.sha256, + "scientific_qualification": False, "evidence_level": "unclassified", "fresh_process_state": True}, + artifacts=(("words", bytes_artifact(words, metadata={"unit": "fixture", "missing_reason": None})),)) + + +def crash_coordinator(database, work, raw, bindings, executions, checkpoint): + """Abrupt real parent exit leaves a running intent and a queued child.""" + from solarlab.experiments.execution import ProcessSupervisor, ScanSpec + from solarlab.io.run_store import RunStore + + store = RunStore(Path(database)) + pool = ProcessSupervisor(store, Path(work), bindings, max_active=1, max_pending=1, + shared_rss_bytes=2 * 1024**3, shared_output_bytes=64 * 1024**2, poll_seconds=.01) + scan = pool.scan(ScanSpec.from_bytes(raw), executions=executions, max_in_flight=2) + deadline = time.monotonic() + 6 + while time.monotonic() < deadline: + status = scan.advance() + if status["points"][0]["state"] == "succeeded" and status["points"][1]["state"] == "running": + run_id = status["points"][1]["run_id"] + if any(e["payload"].get("ui_progress", {}).get("stage") == "ready" for e in store.events(run_id=run_id)): + Path(checkpoint).write_text(json.dumps(status)) + os._exit(72) + time.sleep(.01) + os._exit(73) diff --git a/tests/runtime/test_configuration_preview.py b/tests/runtime/test_configuration_preview.py new file mode 100644 index 00000000..5a760d07 --- /dev/null +++ b/tests/runtime/test_configuration_preview.py @@ -0,0 +1,315 @@ +"""Actual prepared configuration POSTs; RunStore/HTTP fixtures are infrastructure.""" + +from __future__ import annotations + +import builtins +from copy import deepcopy +import json +from pathlib import Path +import subprocess + +from fastapi.testclient import TestClient +import pytest + +from solarlab.config.device_import import import_standard_device +from solarlab.config.legacy_defaults import read_legacy_default_catalog +from solarlab.config.resolve_device import resolve_device, resolve_tandem +from solarlab.config.scaps_input import import_scaps_device +from solarlab.config.tandem_input import import_tandem +from solarlab.device.inputs import DeviceInput, NamedMaterialInput, TandemInput +from solarlab.materials.full_parameters import FullParameterInput +from solarlab.materials.resources import ResourceLibrary, ResourceTable +from solarlab.materials.source import SourceDocument +from solarlab.io.run_store import RunStore +from solarlab_server.app import create_app +from solarlab_server.configuration import ConfigurationPreviewContext +from test_event_service import _HTTPServer + +pytestmark = pytest.mark.frontend + +ROOT = Path(__file__).resolve().parents[2] +LEGACY = ROOT / "perovskite-sim/perovskite_sim" +CONFIGS = ROOT / "perovskite-sim/tests/fixtures/configs" +DEFAULT_PATHS = ("models/parameters.py", "models/device.py", "models/defects.py", + "physics/statistics.py", "physics/band_gap_narrowing.py", + "scaps_compat/loader.py", "constants.py", "twod/microstructure.py", + "models/tandem_config.py") + + +@pytest.fixture(autouse=True) +def forbid_legacy_model_imports(monkeypatch): + original = builtins.__import__ + + def guarded(name, *args, **kwargs): + assert not name.startswith(("perovskite_sim", "backend", "scipy.integrate")), name + return original(name, *args, **kwargs) + + monkeypatch.setattr(builtins, "__import__", guarded) + + +@pytest.fixture(scope="module") +def catalog(): + return read_legacy_default_catalog(tuple( + SourceDocument(name, (LEGACY / name).read_bytes()) for name in DEFAULT_PATHS)) + + +@pytest.fixture(scope="module") +def resources(): + return ResourceLibrary(tuple(ResourceTable(path.stem, "nk", SourceDocument( + str(path.relative_to(ROOT)), path.read_bytes())) + for path in sorted((LEGACY / "data/nk").glob("*.csv")))) + + +def case(name, catalog): + if name == "tandem": + source = SourceDocument("tandem_lin2019.yaml", (CONFIGS / "tandem_lin2019.yaml").read_bytes()) + refs = {name: SourceDocument(name, (CONFIGS / name).read_bytes()) for name in + ("nip_wideGap_FACs_1p77.yaml", "nip_SnPb_1p22.yaml")} + return import_tandem(source, id="lin2019", references=refs, defaults=catalog), (source, *refs.values()) + path = ROOT / "perovskite-sim/configs/scaps_mirror_v2.yaml" if name == "scaps" else CONFIGS / "nip_MAPbI3.yaml" + source = SourceDocument(str(path.relative_to(ROOT)), path.read_bytes()) + importer = import_scaps_device if name == "scaps" else import_standard_device + return importer(source, id=name, defaults=catalog), (source,) + + +def prepared(input, context): + resolver = resolve_tandem if isinstance(input, TandemInput) else resolve_device + return resolver(input, context.defaults, context.resources, sources=context.sources) + + +def wire_input(input): + # Use the resolver's existing DTO JSON export. Imported YAML quantities can + # be Decimal; the generated number|string contract preserves these as text. + return type(input).model_validate(input).model_dump(mode="json", exclude_unset=True) + + +def words(value): + if isinstance(value, dict): + return {name: words(part) for name, part in value.items()} + if isinstance(value, (tuple, list)): + return [words(part) for part in value] + return [type(value).__name__, value.hex() if type(value) is float else value] + + +@pytest.fixture +def writer(tmp_path): + with RunStore((tmp_path / "infrastructure-store").resolve()) as store: + store.enqueue("untouched", opaque_identity={"H_input": "infrastructure", + "H_physics": "unused", "H_execution": "not-a-simulation"}, + input_metadata={"purpose": "configuration preview infrastructure", "zero": 0}) + yield store + + +def client(writer, context=None): + return TestClient(create_app(writer.root, configuration_preview=context)) + + +def assert_preview(data, expected, context, kind): + assert data["schema"] == "solarlab.configuration-preview.v1" + assert data["kind"] == kind and data["status"] == "prepared_pending_dependencies" + assert data["can_execute"] is False + assert words(data["input"]) == words(expected.to_input().editing_data()) + assert words(data["resolved"]) == words(expected.to_mapping()) + assert data["identity"] == {"scope": "configuration_content", "content_sha256": expected.content_sha256, + "default_catalog_sha256": context.defaults.content_sha256, + "resource_library_sha256": context.resources.content_sha256} + assert "H_execution" not in data["identity"] + + +@pytest.mark.parametrize("name", ["standard", "scaps", "tandem"]) +def test_actual_dtos_post_matches_prepared_resolver(name, catalog, resources, writer): + input, sources = case(name, catalog) + context = ConfigurationPreviewContext(catalog, resources, sources) + expected = prepared(input, context) + kind = "tandem" if name == "tandem" else "device" + raw = wire_input(input) + before = words(raw) + run, events = writer.get_run("untouched"), writer.events() + with client(writer, context) as http: + response = http.post(f"/configuration-preview/{kind}", json=raw) + assert response.status_code == 200, response.text + assert response.headers["cache-control"] == "no-store" + assert_preview(response.json(), expected, context, kind) + assert words(raw) == before + assert http.get("/runs/untouched").json() == run + assert http.get("/configuration-schema").status_code == 200 + assert writer.get_run("untouched") == run and writer.events() == events + + +def test_zero_signed_zero_presence_null_and_isolation(catalog, resources, writer): + input, sources = case("standard", catalog) + raw = wire_input(input) + raw.pop("description", None) + raw["settings"]["phi_left"] = -0.0 + raw["layers"][0]["parameters"].update(D_ion=0, optical_material=None) + context = ConfigurationPreviewContext(catalog, resources, sources) + expected = prepared(DeviceInput.model_validate(raw), context) + with client(writer, context) as http: + first = http.post("/configuration-preview/device", json=raw).json() + assert_preview(first, expected, context, "device") + assert first["input"]["settings"]["phi_left"].hex() == "-0x0.0p+0" + # The existing unit normalizer owns the effective sign; the input sign + # must survive independently, without changing that resolver behavior. + assert first["resolved"]["settings"]["phi_left"].hex() == expected.to_mapping()["settings"]["phi_left"].hex() + assert first["input"]["layers"][0]["parameters"]["D_ion"] == 0 + assert first["input"]["layers"][0]["parameters"]["optical_material"] is None + assert "description" not in first["input"] + first["resolved"]["settings"]["T"] = 999 + first["input"]["layers"].clear() + again = http.post("/configuration-preview/device", json=raw).json() + assert_preview(again, expected, context, "device") + explicit = deepcopy(raw) + explicit["description"] = None + cleared = http.post("/configuration-preview/device", json=explicit).json() + assert cleared["input"]["description"] is None + assert cleared["identity"]["content_sha256"] != again["identity"]["content_sha256"] + negative_integer_token = json.dumps(raw).replace('"phi_left": -0.0', '"phi_left": -0') + special = http.post("/configuration-preview/device", content=negative_integer_token, + headers={"Content-Type": "application/json"}).json() + assert special["input"]["settings"]["phi_left"].hex() == "-0x0.0p+0" + + +def test_equivalent_units_and_material_inheritance(catalog, resources, writer): + input, sources = case("standard", catalog) + input.materials = (NamedMaterialInput(id="shared", name="shared material", parameters= + FullParameterInput(mu_n="2 cm^2/(V s)", optical_material="MAPbI3")),) + raw = wire_input(input) + raw["layers"][0]["material"] = "shared" + raw["layers"][0]["parameters"].pop("mu_n", None) + raw["layers"][0]["parameters"].pop("optical_material", None) + raw["layers"][0]["thickness"] = "400 nm" + context = ConfigurationPreviewContext(catalog, resources, sources) + with client(writer, context) as http: + inherited = http.post("/configuration-preview/device", json=raw).json() + assert_preview(inherited, prepared(DeviceInput.model_validate(raw), context), context, "device") + equivalent = deepcopy(raw) + equivalent["layers"][0]["thickness"] = 4e-7 + same = http.post("/configuration-preview/device", json=equivalent).json() + assert_preview(same, prepared(DeviceInput.model_validate(equivalent), context), context, "device") + assert inherited["resolved"]["layers"][0]["thickness_m"] == same["resolved"]["layers"][0]["thickness_m"] + raw["layers"][0]["parameters"].update(mu_n=0, optical_material=None) + overridden = http.post("/configuration-preview/device", json=raw).json() + assert_preview(overridden, prepared(DeviceInput.model_validate(raw), context), context, "device") + assert overridden["input"]["layers"][0]["parameters"]["mu_n"] == 0 + assert overridden["identity"]["default_catalog_sha256"] == catalog.content_sha256 + + +def test_missing_context_and_client_cannot_replace_catalog(catalog, resources, writer): + input, _ = case("standard", catalog) + with client(writer) as http: + response = http.post("/configuration-preview/device", json=wire_input(input)) + assert response.status_code == 503 + assert response.json()["detail"]["code"] == "configuration_context_missing" + assert http.get("/configuration-schema").status_code == 200 + with pytest.raises(TypeError, match="ConfigurationPreviewContext"): + create_app(writer.root, configuration_preview={"defaults": "request"}) + with client(writer, ConfigurationPreviewContext(catalog, resources)) as http: + data = {**wire_input(input), "defaults": {"identity": "replacement"}, "resources": {}} + error = http.post("/configuration-preview/device", json=data) + assert error.status_code == 422 + assert {row["loc"][0] for row in error.json()["detail"]["field_errors"]} == {"defaults", "resources"} + + +def test_field_errors_and_unresolved_capability_gaps(catalog, resources, writer, monkeypatch): + input, _ = case("standard", catalog) + data = wire_input(input) + context = ConfigurationPreviewContext(catalog, resources) + with client(writer, context) as http: + bad = deepcopy(data) + bad["layers"][0]["parameters"]["mu_n"] = None + response = http.post("/configuration-preview/device", json=bad) + assert response.status_code == 422 + assert ["layers", 0, "parameters", "mu_n"] in [v["loc"] for v in response.json()["detail"]["field_errors"]] + bad = deepcopy(data) + bad["layers"][0]["material"] = "missing" + response = http.post("/configuration-preview/device", json=bad) + assert response.status_code == 422 + assert response.json()["detail"]["code"] == "configuration_resolution" + assert "unknown named material" in response.json()["detail"]["message"] + data["fixed_generation"] = "/a/user/supplied/server/path.json" + monkeypatch.setattr(Path, "read_bytes", lambda *_: pytest.fail("request must not read a server path")) + response = http.post("/configuration-preview/device", json=data) + assert response.status_code == 422 and "missing supplied" in response.json()["detail"]["message"] + data.pop("fixed_generation") + data["settings"]["built_in_potential_mode"] = "semiconductor_work_function" + result = http.post("/configuration-preview/device", json=data) + assert result.status_code == 200, result.text + assert "contact_potential_requires_behavior_or_physical_model_evaluation" in result.json()["resolved"]["capability_gaps"] + assert result.json()["can_execute"] is False + + +@pytest.mark.parametrize("payload", [b'{', b'\xff', b'{"id":"a","id":"b"}', b'{"x":NaN}', b'{"x":1e999}']) +def test_malformed_json_is_structured(payload, catalog, resources, writer): + with client(writer, ConfigurationPreviewContext(catalog, resources)) as http: + response = http.post("/configuration-preview/device", content=payload, + headers={"Content-Type": "application/json"}) + assert response.status_code == 400 and response.json()["detail"]["can_execute"] is False + + +def test_transport_type_and_limit(catalog, resources, writer): + with client(writer, ConfigurationPreviewContext(catalog, resources, max_input_bytes=8)) as http: + assert http.post("/configuration-preview/device", content="{}").status_code == 415 + assert http.post("/configuration-preview/device", json={"oversized": True}).status_code == 413 + + +@pytest.fixture(scope="module") +def node_client(tmp_path_factory): + target = tmp_path_factory.mktemp("compiled-preview-client") / "configuration-client.mjs" + script = """ +import fs from 'node:fs'; +import ts from 'typescript'; +const source = fs.readFileSync(process.argv[1], 'utf8'); +const result = ts.transpileModule(source, {compilerOptions: { + module: ts.ModuleKind.ESNext, target: ts.ScriptTarget.ES2023, verbatimModuleSyntax: true +}}); +fs.writeFileSync(process.argv[2], result.outputText.replace('./generated/configuration-schema', './configuration-schema.mjs')); +const metadata = ts.transpileModule(fs.readFileSync(process.argv[3], 'utf8'), {compilerOptions: { + module: ts.ModuleKind.ESNext, target: ts.ScriptTarget.ES2023 +}}); +fs.writeFileSync(process.argv[2].replace('configuration-client.mjs', 'configuration-schema.mjs'), metadata.outputText); +""" + subprocess.run(["node", "--input-type=module", "-e", script, + str(ROOT / "web/src/configuration-client.ts"), str(target), + str(ROOT / "web/src/generated/configuration-schema.ts")], + cwd=ROOT / "web", check=True, timeout=15, capture_output=True) + return target + + +@pytest.mark.parametrize("name", ["standard", "scaps", "tandem"]) +def test_real_loopback_generated_input_client(name, catalog, resources, writer, node_client, tmp_path): + input, sources = case(name, catalog) + if isinstance(input, DeviceInput): + input.settings.phi_left = -0.0 + context = ConfigurationPreviewContext(catalog, resources, sources) + raw = tmp_path / "input.json" + wire = tmp_path / "wire.json" + result = tmp_path / "response.json" + raw.write_text(json.dumps(wire_input(input))) + kind = "tandem" if name == "tandem" else "device" + script = """ +import fs from 'node:fs'; +import { pathToFileURL } from 'node:url'; +const client = await import(pathToFileURL(process.argv[1])); +const input = JSON.parse(fs.readFileSync(process.argv[2], 'utf8')); +const nativeFetch = globalThis.fetch; +globalThis.fetch = (endpoint, init) => { + fs.writeFileSync(process.argv[3], init.body); + return nativeFetch(endpoint, init); +}; +const preview = process.argv[6] === 'device' ? client.previewDeviceConfiguration : client.previewTandemConfiguration; +const response = await preview(process.argv[5], input, AbortSignal.timeout(10000)); +if (response.value.can_execute !== false) throw Error('unexpected execution'); +if (process.argv[6] === 'device' && !Object.is(response.value.input.settings.phi_left, -0)) throw Error('signed zero lost'); +fs.writeFileSync(process.argv[4], response.json); +""" + with _HTTPServer(writer.root, configuration_preview=context) as server: + endpoint = f"http://127.0.0.1:{server.port}/configuration-preview/{kind}" + result_process = subprocess.run(["node", "--input-type=module", "-e", script, + str(node_client), str(raw), str(wire), str(result), endpoint, kind], + cwd=ROOT / "web", text=True, capture_output=True, timeout=20) + assert result_process.returncode == 0, result_process.stderr + sent = json.loads(wire.read_text()) + dto = (TandemInput if kind == "tandem" else DeviceInput).model_validate(sent) + assert_preview(json.loads(result.read_text()), prepared(dto, context), context, kind) + assert writer.get_run("untouched")["state"] == "queued" + assert server.stopped diff --git a/tests/runtime/test_configuration_schema_service.py b/tests/runtime/test_configuration_schema_service.py new file mode 100644 index 00000000..029d4ecc --- /dev/null +++ b/tests/runtime/test_configuration_schema_service.py @@ -0,0 +1,45 @@ +"""Prepared schema bytes over the actual local app; no scientific worker.""" + +from hashlib import sha256 +from pathlib import Path +import re + +from fastapi.testclient import TestClient + +from solarlab.config.schema import ( + configuration_schema_representation, export_configuration_schema, +) +from solarlab.io.run_store import RunStore +from solarlab_server.app import create_app + +ROOT = Path(__file__).resolve().parents[2] + + +def test_schema_route_exact_bytes_generated_identity_and_read_only_lifecycle(tmp_path): + root = (tmp_path / "store").resolve() + with RunStore(root) as writer: + identity = {name: "infrastructure:unused" for name in + ("H_input", "H_physics", "H_execution")} + writer.enqueue("untouched", opaque_identity=identity, + input_metadata={"zero": 0, "false": False, "null": None}) + run, events = writer.get_run("untouched"), writer.events() + app = create_app(root) + with TestClient(app) as client: + response = client.get("/configuration-schema") + data, digest = configuration_schema_representation() + assert response.status_code == 200 + assert response.headers["content-type"] == "application/json" + assert response.content == data + assert response.json() == export_configuration_schema() + generated = (ROOT / "web/src/generated/configuration-schema.ts").read_text() + match = re.search(r'export const configurationSchemaSha256 = "([a-f0-9]{64})";', generated) + assert match is not None + assert sha256(response.content).hexdigest() == digest == match[1] + assert response.headers["etag"] == f'"{digest}"' + detached = response.json() + detached["dto_schemas"].clear() + assert client.get("/configuration-schema").content == data + assert client.post("/configuration-schema", json={"change": True}).status_code == 405 + assert app.state.run_store is None + assert writer.get_run("untouched") == run + assert writer.events() == events diff --git a/tests/runtime/test_event_service.py b/tests/runtime/test_event_service.py new file mode 100644 index 00000000..c9b34abf --- /dev/null +++ b/tests/runtime/test_event_service.py @@ -0,0 +1,492 @@ +"""Infrastructure-only SQLite + loopback HTTP contracts; no scientific worker. + +The clients consume actual Uvicorn socket streams. Thread events and consumed +frames establish ordering; no sleep is used to infer disconnect or commit. +""" + +from __future__ import annotations + +import asyncio +from contextlib import contextmanager +from dataclasses import dataclass, field +import hashlib +import json +import math +import os +from pathlib import Path +import socket +import sqlite3 +import threading +import time + +import httpx +import numpy as np +import pytest +import uvicorn + +from solarlab.io.artifacts import array_artifact, bytes_artifact +from solarlab.io.run_store import RunStore +from solarlab_server import app as service_app +from solarlab_server.app import create_app + + +IDENTITY = {"H_input": "infrastructure:input", "H_physics": "infrastructure:unused", + "H_execution": "infrastructure:execution", "schema": "fixture.v1"} + + +def _receipt(data): + destination = os.environ.get("SOLARLAB_HTTP_RECEIPT") + if destination: + with open(destination, "a", encoding="utf-8") as stream: + stream.write(json.dumps({"test": os.environ.get("PYTEST_CURRENT_TEST"), **data}) + "\n") + + +@dataclass +class _Subscription: + started: threading.Event = field(default_factory=threading.Event) + finished: threading.Event = field(default_factory=threading.Event) + + +class _ObservedApp: + """Test-only ASGI lifecycle barriers; the actual app/store are unchanged.""" + + def __init__(self, app): + self.app = app + self.subscribers = {} + + async def __call__(self, scope, receive, send): + label = dict(scope.get("headers", [])).get(b"x-test-subscriber", b"").decode() + observation = self.subscribers.get(label) + + async def observed_send(message): + await send(message) + if observation and message["type"] == "http.response.start": + observation.started.set() + + try: + await self.app(scope, receive, observed_send) + finally: + if observation: + observation.finished.set() + + +class _ReadyServer(uvicorn.Server): + def __init__(self, config): + super().__init__(config) + self.ready = threading.Event() + + async def startup(self, sockets=None): + try: + await super().startup(sockets=sockets) + finally: + self.ready.set() + + +class _HTTPServer: + def __init__(self, root, **options): + self.app = create_app(root, event_page_size=2, poll_interval=0.01, + keepalive_interval=0.04, **options) + self.observed = _ObservedApp(self.app) + self.socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM) + self.socket.bind(("127.0.0.1", 0)) + self.port = self.socket.getsockname()[1] + self.server = _ReadyServer(uvicorn.Config( + self.observed, host="127.0.0.1", port=self.port, log_config=None, + access_log=False, lifespan="on", loop="asyncio", http="h11", + timeout_graceful_shutdown=0.2, + )) + self.errors = [] + self.before_threads = set(threading.enumerate()) + self.thread = threading.Thread(target=self._run, name="event-service-http") + self.stopped = False + + def _run(self): + try: + asyncio.run(self.server.serve(sockets=[self.socket])) + except BaseException as error: + self.errors.append(error) + self.server.ready.set() + + def __enter__(self): + self.thread.start() + try: + assert self.server.ready.wait(3), "server startup was not observed" + assert self.server.started and not self.errors + except BaseException: + self.stop() + raise + return self + + def observe(self, name): + observation = _Subscription() + self.observed.subscribers[name] = observation + return observation + + def client(self): + return httpx.Client(base_url=f"http://127.0.0.1:{self.port}", timeout=2, trust_env=False) + + def stop(self): + if self.stopped: + return + self.server.should_exit = True + self.thread.join(3) + self.socket.close() + assert not self.thread.is_alive(), "owned server thread did not exit" + # asyncio/AnyIO owns worker threads used by the synchronous readers. + # Observe those exits as well, instead of relying on daemon teardown. + other_owned = set(threading.enumerate()) - self.before_threads - {self.thread} + deadline = time.monotonic() + 1 + for thread in other_owned: + thread.join(max(0, deadline - time.monotonic())) + assert not any(thread.is_alive() for thread in other_owned) + assert not self.errors + assert self.socket.fileno() == -1 + assert not self.server.server_state.connections + assert not self.server.server_state.tasks + assert self.app.state.run_store is None + assert all(item.finished.is_set() for item in self.observed.subscribers.values()) + self.stopped = True + _receipt({"kind": "server_cleanup", "port": self.port, + "thread_joined": True, "socket_closed": True, "store_closed": True, + "remaining_connections": 0, "remaining_asgi_tasks": 0, + "subscriber_count": len(self.observed.subscribers), + "all_subscribers_finished": True, "worker_threads_joined": len(other_owned)}) + + def __exit__(self, *error): + self.stop() + + +@pytest.fixture +def store(tmp_path): + with RunStore((tmp_path / "store").resolve()) as value: + yield value + + +def _enqueue(store, run_id="fixture", **metadata): + return store.enqueue(run_id, opaque_identity=IDENTITY, input_metadata=metadata) + + +def _claim(store, run_id="fixture"): + queued = store.get_run(run_id) + return store.claim(run_id, expected_attempt_id=queued["current_attempt_id"], + expected_generation=queued["generation"], owner_id="fixture-writer") + + +def _url(token): + return f"/runs/{token.run_id}/attempts/{token.attempt_id}/events" + + +def _blocks(response): + assert response.status_code == 200 + assert response.headers["content-type"].startswith("text/event-stream") + block = {} + for line in response.iter_lines(): + if not line: + if block: + yield block + block = {} + elif line.startswith(":"): + block["comment"] = line + else: + key, value = line.split(":", 1) + block[key] = value.lstrip(" ") + assert not block, "truncated SSE frame" + + +def _next_event(blocks): + for block in blocks: + if "data" in block: + record = json.loads(block["data"]) + assert int(block["id"]) == record["sequence"] + assert block["event"] == record["kind"] + return record + raise AssertionError("stream ended before the expected committed event") + + +def _all_events(response): + records = [] + for block in _blocks(response): + if "data" in block: + record = json.loads(block["data"]) + assert int(block["id"]) == record["sequence"] + assert block["event"] == record["kind"] + records.append(record) + return records + + +def test_two_subscribers_keepalive_disconnect_reconnect_and_terminal(store): + _enqueue(store, zero=0, negative_zero=-0.0, explicit_null=None) + token = _claim(store) + with _HTTPServer(store.root) as server, server.client() as first, server.client() as second: + first_observed = server.observe("first") + second_observed = server.observe("second") + with first.stream("GET", _url(token), headers={"X-Test-Subscriber": "first"}) as one: + with second.stream("GET", _url(token), headers={"X-Test-Subscriber": "second"}) as two: + assert first_observed.started.wait(2) and second_observed.started.wait(2) + a, b = _blocks(one), _blocks(two) + baseline = store.events(run_id="fixture") + assert [_next_event(a), _next_event(a)] == baseline + assert [_next_event(b), _next_event(b)] == baseline + keepalive = next(a) + assert keepalive == {"comment": ": keepalive"} + progress = store.append_event(token, event_id="first", payload={"zero": 0, "null": None}) + assert _next_event(a) == _next_event(b) == store.events(after=progress - 1)[0] + one.close() + assert first_observed.finished.wait(2), "disconnect did not end its subscriber" + assert store.get_run("fixture")["state"] == "running" + later = store.append_event(token, event_id="later", payload={"value": -0.0}) + assert _next_event(b)["sequence"] == later + with server.client() as reconnect: + reconnected = server.observe("reconnected") + with reconnect.stream("GET", _url(token), headers={ + "Last-Event-ID": str(progress), "X-Test-Subscriber": "reconnected", + }) as three: + c = _blocks(three) + assert _next_event(c)["sequence"] == later + result = {"value": -0.0, "zero": 0, "missing": None, + "metadata": {"identity": IDENTITY, "qualification": None}} + terminal = store.complete(token, state="succeeded", result=result) + final_b, final_c = _next_event(b), _next_event(c) + assert final_b == final_c == store.events(after=terminal - 1)[0] + assert final_b["payload"]["result"] == result + assert math.copysign(1, final_b["payload"]["result"]["value"]) == -1 + assert list(b) == [] and list(c) == [] + assert reconnected.finished.wait(2) + assert second_observed.finished.wait(2) + assert [e["kind"] for e in store.events()].count("terminal") == 1 + + +def test_bounded_pages_terminal_replay_and_server_restart(store): + expected_run = _enqueue(store, explicit_null=None, negative_zero=-0.0) + token = _claim(store) + _enqueue(store, "other") # Real global-sequence gap within this run's pages. + progress = store.append_event(token, event_id="p", payload={"label": "infrastructure"}) + terminal = store.complete(token, state="succeeded", result={"zero": 0, "null": None}) + expected = store.events(run_id="fixture") + with _HTTPServer(store.root) as server, server.client() as client: + cursor, obtained = 0, [] + while True: + response = client.get("/runs/fixture/events", params={"after": cursor, "limit": 2}) + assert response.status_code == 200 + page = response.json() + assert page["store_id"] == response.headers["X-RunStore-ID"] == store.store_id + assert len(page["events"]) <= 2 + if not page["events"]: + assert page["next_cursor"] == cursor + break + obtained.extend(page["events"]) + cursor = page["next_cursor"] + assert obtained == expected + assert client.get("/runs/fixture/events?limit=3").status_code == 422 + assert client.get("/runs/fixture/events?after=-1").status_code == 422 + assert client.get("/runs/unknown/events").status_code == 404 + root = store.root + store.close() + with _HTTPServer(root) as restarted, restarted.client() as client: + response = client.get("/runs/fixture") + assert response.headers["X-RunStore-ID"] == store.store_id + run = response.json() + assert run["request"] == expected_run["request"] + assert run["state"] == "succeeded" + response = client.get(f"/runs/fixture/attempts/{token.attempt_id}") + assert response.headers["X-RunStore-ID"] == store.store_id + attempt = response.json() + assert attempt["terminal"]["result"] == {"zero": 0, "null": None} + with client.stream("GET", _url(token) + "?after=0", headers={"Last-Event-ID": str(progress)}) as response: + assert _all_events(response) == expected[-1:] + acknowledged = client.get(_url(token), headers={"Last-Event-ID": str(terminal)}) + assert acknowledged.status_code == 204 and acknowledged.content == b"" + assert acknowledged.headers["X-RunStore-ID"] == store.store_id + with client.stream("GET", _url(token)) as response: + assert _all_events(response) == expected + + +def test_retry_scope_and_foreign_malformed_or_future_cursors(store): + _enqueue(store) + old = _claim(store) + old_terminal = store.cancel("fixture", expected_attempt_id=old.attempt_id, + expected_generation=old.generation, reason="fixture_cancel") + store.retry("fixture", expected_attempt_id=old.attempt_id, expected_generation=old.generation) + current = _claim(store) + store.complete(current, state="failed", result={"reason": "fixture_timeout", "calls": None}) + _enqueue(store, "foreign") + foreign_sequence = store.events(run_id="foreign")[0]["sequence"] + expected = store.events(run_id="fixture") + with _HTTPServer(store.root) as server, server.client() as client: + for token in (old, current): + with client.stream("GET", _url(token)) as response: + assert _all_events(response) == [e for e in expected if e["attempt_id"] == token.attempt_id] + for bad in (str(old_terminal), str(foreign_sequence), "99999", "-1", "1.0", str(2**63)): + assert client.get(_url(current), headers={"Last-Event-ID": bad}).status_code == 400 + assert client.get("/runs/fixture/attempts/unknown/events").status_code == 404 + current_record = client.get(f"/runs/fixture/attempts/{current.attempt_id}").json() + assert current_record["result"] == {"reason": "fixture_timeout", "calls": None} + assert current_record["generation"] != old.generation + + +def test_artifacts_exact_array_words_publication_and_later_integrity_errors(store): + _enqueue(store) + token = _claim(store) + words = np.array([0, 0x8000000000000000, 0x7FF8000000000001], dtype=np.uint64) + payload = array_artifact(words.view(np.float64), unit="fixture-unit", metadata={"missing_reason": None}) + array = store.publish(token, "array", payload) + raw = store.publish(token, "bytes", bytes_artifact(b"\x00\x80exact\x00", metadata={"null": None})) + with _HTTPServer(store.root) as server, server.client() as client: + for record in (array, raw): + assert client.get(f"/artifacts/{record['artifact_id']}").status_code == 409 + assert client.get(f"/artifacts/{record['artifact_id']}/content").status_code == 409 + pending = client.get(f"/runs/fixture/attempts/{token.attempt_id}").json() + assert pending["result"] is None and pending["terminal"] is None + store.complete(token, state="succeeded", result={"label": "raw infrastructure words"}, + artifacts=[array["artifact_id"], raw["artifact_id"]]) + meta = client.get(f"/artifacts/{array['artifact_id']}") + body = client.get(f"/artifacts/{array['artifact_id']}/content") + assert meta.status_code == body.status_code == 200 + assert meta.headers["X-RunStore-ID"] == body.headers["X-RunStore-ID"] == store.store_id + assert meta.json() == store.artifact(array["artifact_id"]) + assert meta.json()["metadata"]["missing_reason"] is None + assert body.content == payload.data + assert body.headers["etag"] == '"' + hashlib.sha256(payload.data).hexdigest() + '"' + assert client.get(f"/artifacts/{raw['artifact_id']}/content").content == b"\x00\x80exact\x00" + # Only the fixture's committed objects are deliberately damaged. + (store.root / array["relative_path"]).write_bytes(b"corrupt") + (store.root / raw["relative_path"]).unlink() + for record in (array, raw): + for suffix in ("", "/content"): + response = client.get(f"/artifacts/{record['artifact_id']}{suffix}") + assert response.status_code == 409 + assert response.json()["detail"]["code"] == "artifact_integrity" + assert client.get("/artifacts/unknown").status_code == 404 + assert client.get("/runs/fixture").json()["state"] == "succeeded" + assert store.attempts("fixture")[0]["terminal"]["state"] == "succeeded" + + +def test_artifact_transport_cap_does_not_serve_partial_or_unverified_bytes(store): + _enqueue(store) + token = _claim(store) + record = store.publish(token, "bytes", bytes_artifact(b"x" * 32, metadata={})) + store.complete(token, state="succeeded", result={}, artifacts=[record["artifact_id"]]) + with _HTTPServer(store.root, max_artifact_bytes=8) as server, server.client() as client: + for suffix in ("", "/content"): + response = client.get(f"/artifacts/{record['artifact_id']}{suffix}") + assert response.status_code == 413 + assert "byte limit" in response.json()["detail"] + assert store.read_artifact(record["artifact_id"]) == b"x" * 32 + + +def test_each_successful_read_captures_one_store_for_body_and_header(store, tmp_path, monkeypatch): + _enqueue(store) + token = _claim(store) + artifact = store.publish(token, "bytes", bytes_artifact(b"fixture", metadata={})) + terminal = store.complete(token, state="succeeded", result={}, artifacts=[artifact["artifact_id"]]) + expected_events = store.events(run_id="fixture") + with RunStore((tmp_path / "other-store").resolve()) as other: + assert other.store_id != store.store_id + resolutions = [] + + def changing_store(request): + # A second lookup within this request would see another store. + selected = store if not resolutions else other + resolutions.append(selected.store_id) + return selected + + monkeypatch.setattr(service_app, "_store", changing_store) + cases = [ + ("/runs/fixture", {}, store.get_run("fixture")), + (f"/runs/fixture/attempts/{token.attempt_id}", {}, store.attempts("fixture")[0]), + ("/runs/fixture/events", {}, {"store_id": store.store_id, "events": expected_events[:2], + "next_cursor": expected_events[1]["sequence"]}), + (f"/artifacts/{artifact['artifact_id']}", {}, store.artifact(artifact["artifact_id"])), + (f"/artifacts/{artifact['artifact_id']}/content", {}, b"fixture"), + (_url(token), {"Last-Event-ID": str(terminal)}, b""), + ] + with _HTTPServer(store.root) as server, server.client() as client: + for path, headers, expected in cases: + resolutions.clear() + response = client.get(path, headers=headers) + assert response.status_code == (204 if expected == b"" else 200) + assert response.headers["X-RunStore-ID"] == store.store_id + assert resolutions == [store.store_id] + assert (response.content if isinstance(expected, bytes) else response.json()) == expected + + +def test_rolled_back_terminal_is_not_published_then_real_failure_is_replayed(store, monkeypatch): + _enqueue(store) + token = _claim(store) + artifact = store.publish(token, "ready", bytes_artifact(b"ready", metadata={})) + original_transaction = store._transaction + + @contextmanager + def fail_before_commit(): + store._db.execute("BEGIN IMMEDIATE") + try: + yield + raise sqlite3.OperationalError("fixture failure before terminal commit") + finally: + store._db.execute("ROLLBACK") + + with _HTTPServer(store.root) as server, server.client() as client: + with client.stream("GET", _url(token)) as response: + blocks = _blocks(response) + assert [_next_event(blocks)["kind"], _next_event(blocks)["kind"]] == ["queued", "running"] + monkeypatch.setattr(store, "_transaction", fail_before_commit) + with pytest.raises(sqlite3.OperationalError, match="before terminal commit"): + store.complete(token, state="succeeded", result={"uncommitted": True}, + artifacts=[artifact["artifact_id"]]) + monkeypatch.setattr(store, "_transaction", original_transaction) + assert client.get("/runs/fixture").json()["state"] == "running" + assert store.artifact(artifact["artifact_id"])["phase"] == "published" + assert not any(e["kind"] == "terminal" for e in store.events()) + terminal = store.complete(token, state="failed", result={"reason": "fixture_original_failure", "calls": None}) + record = _next_event(blocks) + assert record["sequence"] == terminal + assert record["payload"]["state"] == "failed" + assert record["payload"]["result"] == {"reason": "fixture_original_failure", "calls": None} + assert list(blocks) == [] + _receipt({"kind": "terminal_commit_boundary", "uncommitted_terminal_rolled_back": True, + "terminal_sequence": terminal, "one_committed_terminal_observed": True}) + + +def test_reader_restart_does_not_recover_queued_or_running_work(store): + _enqueue(store, "queued") + _enqueue(store, "running") + _claim(store, "running") + before = store.events() + for _ in range(2): + with _HTTPServer(store.root) as server, server.client() as client: + assert client.get("/runs/queued").json()["state"] == "queued" + assert client.get("/runs/running").json()["state"] == "running" + assert store.events() == before + + +def test_server_shutdown_ends_open_subscriber_without_cancelling_run(store): + _enqueue(store) + token = _claim(store) + with _HTTPServer(store.root) as server, server.client() as client: + observed = server.observe("shutdown") + with client.stream("GET", _url(token), headers={"X-Test-Subscriber": "shutdown"}) as response: + assert _next_event(_blocks(response))["kind"] == "queued" + server.stop() + assert observed.finished.is_set() + assert store.get_run("fixture")["state"] == "running" + assert all(e["kind"] != "terminal" for e in store.events()) + + +def test_factory_requires_explicit_existing_store_and_has_no_construction_io(tmp_path): + absent = (tmp_path / "absent").resolve() + app = create_app(absent) + assert not absent.exists() and app.state.run_store is None + + async def start(): + async with app.router.lifespan_context(app): + pytest.fail("a reader must not create an empty store") + + with pytest.raises(ValueError, match="existing RunStore"): + asyncio.run(start()) + assert not absent.exists() + with pytest.raises(ValueError, match="absolute"): + create_app(Path("relative")) + with pytest.raises(ValueError, match="event_page_size"): + create_app(absent, event_page_size=1001) + with pytest.raises(ValueError, match="positive and finite"): + create_app(absent, keepalive_interval=float("nan")) diff --git a/tests/runtime/test_execution.py b/tests/runtime/test_execution.py new file mode 100644 index 00000000..f7d0c916 --- /dev/null +++ b/tests/runtime/test_execution.py @@ -0,0 +1,458 @@ +"""Actual spawn/SQLite/file checks for the infrastructure preparation only.""" + +from contextlib import ExitStack +from dataclasses import FrozenInstanceError, asdict, replace +import hashlib +import json +import os +from pathlib import Path +import signal +import sqlite3 +import struct +import time + +import pytest + +import execution_workers as workers +from runtime_evidence import preserve_runtime_evidence, record_resource_samples +import solarlab.experiments.execution as execution_module +from solarlab.experiments.execution import ProcessSupervisor, QueueFull +from solarlab.experiments.worker import ResourceLimits, WorkerBinding, WorkerRequest, _directory_bytes, _process_info +from solarlab.io.run_store import RunStore, StateConflict +from solarlab.materials.source import SourceDocument + +REGISTRY = SourceDocument("infrastructure-registry.v1", b'{"scope":"infrastructure-only"}') +SCHEMA = SourceDocument("infrastructure-request.v1", b'{"type":"opaque infrastructure fixture"}') + + +def request(**values): + source = SourceDocument("request", json.dumps(values, sort_keys=True).encode()) + execution = SourceDocument("execution-identity", b'{"scope":"non-scientific identity fixture"}') + return WorkerRequest(source, REGISTRY, SCHEMA, execution, source.sha256, hashlib.sha256(b"no physical model").hexdigest()) + + +def limits(**changes): + return replace(ResourceLimits(3.0, 256 * 1024**2, 256 * 1024, 10000, 10000), **changes) + + +def bindings(): + return tuple(WorkerBinding.from_function(name, getattr(workers, name), registry_sha256=REGISTRY.sha256, + schema_sha256=SCHEMA.sha256) for name in + ("normal", "cooperative", "uncooperative", "delayed_success", "barrier_success", "exception", "crash", + "counter_limit", "missing_counters", "disk_limit", "nested_pool", "malformed_terminal", "finalize_after_release")) + + +def supervisor(store, root, **changes): + values = dict(max_active=1, max_pending=2, shared_rss_bytes=768 * 1024**2, + shared_output_bytes=16 * 1024**2, soft_grace_seconds=0.1, + terminate_grace_seconds=0.1, poll_seconds=0.01) + values.update(changes) + return ProcessSupervisor(store, root, bindings(), **values) + + +def ready(store, handle): + deadline = time.monotonic() + 2.0 + while time.monotonic() < deadline: + for event in store.events(run_id=handle.run_id): + if event["attempt_id"] == handle.attempt_id and event["payload"].get("ui_progress", {}).get("stage") == "ready": + return event["payload"]["ui_progress"]["pid"] + time.sleep(0.005) + raise AssertionError("owned fixture child did not reach its ready boundary") + + +def terminal_events(store, run_id): + return [event for event in store.events(run_id=run_id, limit=1000) if event["kind"] == "terminal"] + + +def release(tmp_path, store, handle): + (tmp_path / "work" / (store.store_id + "-" + handle.attempt_id) / "release").touch() + + +def assert_reaped(receipt): + value = receipt.data + assert value["process_started"] and value["process_exit_observed"] and value["process_joined"] + assert type(value["pid"]) is int and type(value["exitcode"]) is int + with pytest.raises(ChildProcessError): + os.waitpid(value["pid"], os.WNOHANG) + return value + + +def test_actual_spawn_coalesces_ui_progress_and_commits_independent_artifact(tmp_path): + with RunStore(tmp_path / "db") as store, supervisor(store, tmp_path / "work") as pool: + handle = pool.submit("normal", "normal", request(progress_count=1500), limits()) + receipt = pool.wait(handle, 4) + value = assert_reaped(receipt) + assert value["store_state"] == "succeeded" and value["terminal_committed"] + assert value["resources"]["accepted_steps"] == value["resources"]["calls"] == 1500 + assert value["resources"]["child_peak_rss_bytes"] > 0 + events = store.events(run_id="normal", limit=1000) + progress = [e for e in events if "ui_progress" in e["payload"]] + assert 0 < len(progress) < 1500 + assert len(terminal_events(store, "normal")) == 1 + assert events[-1]["kind"] == "terminal" + artifact = store.artifact(value["terminal_artifacts"][0]) + assert store.read_artifact(artifact["artifact_id"]) == struct.pack("<2d", 0.0, -0.0) + assert artifact["metadata"]["missing_reason"] is None + data = store.attempts("normal")[0]["result"]["worker_result"] + assert data["explicit_null"] is None and struct.pack("d", data["negative_zero"]) == struct.pack("d", -0.0) + assert pool.accounting()["counter_totals"] == {"accepted_steps": 1500, "calls": 1500} + family = pool.accounting() + assert os.getpid() in family["sampled_family_pids"] and len(family["sampled_family_pids"]) >= 3 + assert family["rss_scope"] == "conservative_parent_process_family_and_located_prior_intents" + detached = receipt.data + detached["store_state"] = "forged" + assert receipt.data["store_state"] == "succeeded" + + +def test_shared_bounded_queue_duplicates_and_both_cancellation_paths(tmp_path): + # Allow slow runners to schedule, fsync and reap a cooperative child. The + # uncooperative-worker test separately exercises the short escalation timers. + caps = limits(wall_seconds=30.0) + with RunStore(tmp_path / "db") as store, ExitStack() as cleanup: + pool = supervisor(store, tmp_path / "work", max_pending=1, soft_grace_seconds=10.0) + cleanup.callback(pool.close, timeout=15.0) + first = pool.submit("running", "cooperative", request(), caps) + directory = tmp_path / "work" / (store.store_id + "-" + first.attempt_id) + ready_path = directory / "cooperative_ready.json" + deadline = time.monotonic() + 15.0 + while not ready_path.exists(): + assert time.monotonic() < deadline, "cooperative child did not reach its durable ready boundary" + time.sleep(0.01) + ready_pid = json.loads(ready_path.read_text())["pid"] + queued = pool.submit("queued", "normal", request(), caps) + assert pool.submit("queued", "normal", request(), caps) == queued + with pytest.raises(QueueFull): + pool.submit("full", "normal", request(), caps) + with pytest.raises(KeyError): + store.get_run("full") + assert pool.cancel(queued) + assert not pool.wait(queued, 1).data["process_started"] + assert store.get_run("queued")["state"] == "cancelled" + assert pool.cancel(first) + result = assert_reaped(pool.wait(first, 15)) + assert result["store_state"] == "cancelled" and result["signals"] == ["soft_stop"] + assert result["pid"] == ready_pid and result["exitcode"] == 0 + # The child's durable terminal acknowledges check_cancel; a parent-only + # cancelled state would also be possible after forcibly killing it. + terminal = json.loads((directory / "terminal.json").read_text()) + assert terminal["token"] == result["token"] + assert terminal["state"] == "cancelled" and terminal["result"]["reason"] == "cooperative_stop" + assert result["terminal_committed"] + assert result["worker_result"] == {"reason": "cancel_requested", "discarded_terminal_state": "cancelled"} + assert store.get_run("running")["state"] == "cancelled" + assert not pool.cancel(first) + follow = pool.submit("next", "normal", request(), caps) + assert assert_reaped(pool.wait(follow, 15))["store_state"] == "succeeded" + assert len(terminal_events(store, "running")) == len(terminal_events(store, "queued")) == 1 + + +def test_uncooperative_worker_requires_kill_and_holds_slot_until_join(tmp_path): + with RunStore(tmp_path / "db") as store, supervisor(store, tmp_path / "work") as pool: + stuck = pool.submit("stuck", "uncooperative", request(), limits()) + ready(store, stuck) + following = pool.submit("after-stuck", "normal", request(), limits()) + assert pool.cancel(stuck) + assert pool.accounting()["active"] == 1 + assert store.get_run("after-stuck")["state"] == "queued" + value = assert_reaped(pool.wait(stuck, 3)) + assert value["store_state"] == "cancelled" and value["exitcode"] == -signal.SIGKILL + assert value["signals"] == ["soft_stop", "terminate", "kill"] + assert assert_reaped(pool.wait(following, 3))["store_state"] == "succeeded" + + +def test_timeout_records_full_cleanup_cost_and_allows_next_job(tmp_path): + with RunStore(tmp_path / "db") as store, supervisor(store, tmp_path / "work") as pool: + handle = pool.submit("timeout", "uncooperative", request(), limits(wall_seconds=0.4)) + value = assert_reaped(pool.wait(handle, 3)) + assert value["store_state"] == "failed" and value["worker_result"]["reason"] == "wall_limit" + assert value["resources"]["owned_wall_seconds"] >= 0.4 + following = pool.submit("after-timeout", "normal", request(), limits()) + assert pool.wait(following, 3).data["store_state"] == "succeeded" + + +@pytest.mark.parametrize("worker, reason", [("exception", "worker_exception"), ("crash", "child_crash"), ("nested_pool", "worker_exception")]) +def test_child_exception_crash_and_nested_worker_rejection_are_terminal(tmp_path, worker, reason): + with RunStore(tmp_path / "db") as store, supervisor(store, tmp_path / "work") as pool: + handle = pool.submit("broken", worker, request(), limits()) + value = assert_reaped(pool.wait(handle, 3)) + assert value["store_state"] == "failed" and value["worker_result"]["reason"] == reason + if worker == "crash": + assert value["exitcode"] == 17 + if worker == "nested_pool": + assert value["worker_result"]["exception_type"] == "AssertionError" + assert len(terminal_events(store, "broken")) == 1 + assert pool.wait(pool.submit("after-broken", "normal", request(), limits()), 3).data["store_state"] == "succeeded" + + +def test_cumulative_counter_failure_and_missing_counter_are_not_zero_qualified(tmp_path): + with RunStore(tmp_path / "db") as store, supervisor(store, tmp_path / "work") as pool: + handle = pool.submit("counter", "counter_limit", request(), limits(accepted_steps=2)) + value = assert_reaped(pool.wait(handle, 3)) + assert value["store_state"] == "failed" and value["resources"]["accepted_steps"] == 3 + assert value["worker_result"]["reason"] == "accepted_steps_limit" + missing = pool.wait(pool.submit("missing", "missing_counters", request(), limits(calls=0)), 3).data + assert missing["store_state"] == "failed" and missing["resources"]["calls"] is None + assert "unobserved" in missing["worker_result"].get("detail", "") + assert pool.accounting()["counter_totals"]["calls"] is None + + +@pytest.mark.parametrize("worker, caps, reason", [ + ("normal", {"rss_bytes": 1}, "rss_limit"), + ("disk_limit", {"output_bytes": 16384}, "output_limit"), +]) +def test_actual_bounded_rss_and_disk_failures_preserve_observed_usage(tmp_path, worker, caps, reason): + with RunStore(tmp_path / "db") as store, supervisor(store, tmp_path / "work") as pool: + value = assert_reaped(pool.wait(pool.submit("cap", worker, request(), limits(**caps)), 3)) + assert value["store_state"] == "failed" and value["worker_result"]["reason"] == reason + if reason == "rss_limit": + assert value["resources"]["child_peak_rss_bytes"] > 1 + else: + assert value["resources"]["output_bytes"] > 16384 + assert (tmp_path / "work" / (store.store_id + "-" + value["attempt_id"]) / "worker.log").stat().st_size == 16384 + + +def test_external_cancel_and_new_generation_reject_late_success(tmp_path): + with RunStore(tmp_path / "db") as store, supervisor(store, tmp_path / "work", soft_grace_seconds=0.4) as pool: + payload = request() + first = pool.submit("retry", "barrier_success", payload, limits()) + ready(store, first) + old = store.get_run("retry") + store.cancel("retry", expected_attempt_id=first.attempt_id, expected_generation=old["generation"], reason="external authority") + queued = store.retry("retry", expected_attempt_id=first.attempt_id, expected_generation=old["generation"]) + release(tmp_path, store, first) + following = pool.submit("retry", "barrier_success", payload, limits()) + assert following.attempt_id == queued["current_attempt_id"] != first.attempt_id + value = assert_reaped(pool.wait(first, 3)) + assert value["store_state"] == "cancelled" and not value["terminal_committed"] + assert value["worker_result"]["discarded_terminal_state"] == "succeeded" + ready(store, following) + release(tmp_path, store, following) + assert assert_reaped(pool.wait(following, 3))["store_state"] == "succeeded" + assert [a["state"] for a in store.attempts("retry")] == ["cancelled", "succeeded"] + assert len(terminal_events(store, "retry")) == 2 + + +def test_cancel_decision_wins_over_success_terminal_file(tmp_path): + with RunStore(tmp_path / "db") as store, supervisor(store, tmp_path / "work", soft_grace_seconds=0.4) as pool: + handle = pool.submit("late", "barrier_success", request(), limits()) + ready(store, handle) + pool.cancel(handle) + release(tmp_path, store, handle) + value = assert_reaped(pool.wait(handle, 3)) + directory = tmp_path / "work" / (store.store_id + "-" + handle.attempt_id) + assert json.loads((directory / "terminal.json").read_text())["state"] == "succeeded" + assert value["store_state"] == "cancelled" and value["worker_result"]["reason"] == "cancel_requested" + assert len(terminal_events(store, "late")) == 1 + + +def test_control_failure_repairs_terminal_commit_and_requires_explicit_retry(tmp_path, monkeypatch): + database, work = tmp_path / "db", tmp_path / "work" + store = RunStore(database) + pool = supervisor(store, work) + current = pool.submit("interrupted", "cooperative", request(), limits()) + ready(store, current) + queued = pool.submit("queued-restart", "normal", request(), limits()) + def fail_commit(*args, **kwargs): + raise sqlite3.OperationalError("injected after actual child join before terminal commit") + monkeypatch.setattr(store, "complete", fail_commit) + with pytest.raises(RuntimeError, match="supervisor failed"): + pool.close() + first = assert_reaped(pool.wait(current, 1)) + assert first["terminal_committed"] and first["store_state"] == "failed" + assert first["worker_result"]["reason"] == "supervisor_control_failure" + assert store.get_run("queued-restart")["state"] == "failed" + assert len(terminal_events(store, "interrupted")) == len(terminal_events(store, "queued-restart")) == 1 + store.close() + with RunStore(database) as reopened, supervisor(reopened, work) as recovered: + assert recovered.accounting()["unresolved_owned_slots"] == 0 + recovery = recovered.reconcile_interrupted() + assert recovery["released_owned_reservations"] == [] + assert recovery["invalidated_owned_attempts"] == [] + assert reopened.get_run("interrupted")["state"] == "failed" + old = reopened.get_run("queued-restart") + reopened.retry("queued-restart", expected_attempt_id=queued.attempt_id, expected_generation=old["generation"]) + resumed = recovered.submit("queued-restart", "normal", request(), limits()) + assert resumed.attempt_id != queued.attempt_id + assert assert_reaped(recovered.wait(resumed, 3))["store_state"] == "succeeded" + assert len(reopened.attempts("interrupted")) == 1 + assert [attempt["state"] for attempt in reopened.attempts("queued-restart")] == ["failed", "succeeded"] + assert len(terminal_events(reopened, "interrupted")) == 1 + assert len(terminal_events(reopened, "queued-restart")) == 2 + # Positive reconciliation remains deterministic on another reopen. + with RunStore(database) as reopened, supervisor(reopened, work) as recovered: + assert recovered.accounting()["unresolved_owned_slots"] == 0 + + +def make_uncertain_intent(store, work, *, reused): + """Manufactured metadata exercises PID safety; it does not claim a spawned child.""" + row = store.enqueue("old-owner", opaque_identity={"H_input": "i", "H_physics": "p", "H_execution": "e"}, + input_metadata={"fixture": "metadata-only restored PID counterexample"}) + token = store.claim("old-owner", expected_attempt_id=row["current_attempt_id"], expected_generation=row["generation"], owner_id="old-owner") + work.mkdir() + directory = work / (store.store_id + "-" + token.attempt_id) + directory.mkdir() + identity = _process_info([os.getpid()])[os.getpid()] + if reused: + identity = {**identity, "start_lstart": "different former process start"} + (directory / "launch.json").write_text(json.dumps({"token": asdict(token)})) + (directory / "started.json").write_text(json.dumps({"token": asdict(token), "pid": os.getpid(), "os_identity": identity})) + return token + + +@pytest.mark.parametrize("reused", [False, True]) +def test_recovery_never_kills_a_restored_pid_and_only_reserves_affected_slot(tmp_path, monkeypatch, reused): + with RunStore(tmp_path / "db") as store: + token = make_uncertain_intent(store, tmp_path / "work", reused=reused) + calls = [] + real_kill = os.kill + restored_pid = os.getpid() + def presence_only(pid, sig): + if pid == restored_pid: + calls.append((pid, sig)) + assert sig == 0, "an unowned restored PID must never be signalled" + return real_kill(pid, sig) + monkeypatch.setattr(os, "kill", presence_only) + with supervisor(store, tmp_path / "work", max_active=2) as pool: + recovery = pool.reconcile_interrupted() + assert recovery["invalidated_owned_attempts"] == [token.attempt_id] + assert pool.accounting()["unresolved_owned_slots"] == (0 if reused else 1) + following = pool.submit("unrelated", "normal", request(), limits()) + assert pool.wait(following, 3).data["store_state"] == "succeeded" + assert pool.accounting()["counter_totals"]["calls"] is None + assert calls and all(sig == 0 for _, sig in calls) + + +def test_request_allowlist_source_schema_and_immutable_transport(tmp_path): + original = request(value=-0.0, clear=None) + assert WorkerRequest.from_bytes(original.to_bytes()) == original + with pytest.raises(FrozenInstanceError): + original.H_input = "forged" + malformed = json.loads(original.to_bytes()) + malformed["module"] = "os" + with pytest.raises(ValueError, match="fields"): + WorkerRequest.from_bytes(json.dumps(malformed).encode()) + def closure(a, b): + return (a, b) + with pytest.raises(ValueError, match="closures"): + WorkerBinding.from_function("nested", closure, registry_sha256=REGISTRY.sha256, schema_sha256=SCHEMA.sha256) + with RunStore(tmp_path / "db") as store, supervisor(store, tmp_path / "work") as pool: + with pytest.raises(ValueError, match="allowlist"): + pool.submit("bad", "os.system", original, limits()) + with pytest.raises(ValueError, match="registry/schema"): + pool.submit("bad", "normal", replace(original, schema=SourceDocument("same-name", b"changed")), limits()) + assert store.events() == [] + h = pool.submit("valid", "normal", original, limits()) + with pytest.raises(StateConflict): + pool.submit("valid", "normal", request(value=2), limits()) + assert pool.wait(h, 3).data["store_state"] == "succeeded" + + +def test_changed_trusted_worker_source_digest_is_rejected_in_the_spawn_child(tmp_path): + with RunStore(tmp_path / "db") as store: + bad = replace(bindings()[0], source_sha256="0" * 64) + with ProcessSupervisor(store, tmp_path / "work", (bad,), max_active=1, max_pending=0, + shared_rss_bytes=768 * 1024**2, shared_output_bytes=16 * 1024**2) as pool: + value = assert_reaped(pool.wait(pool.submit("source", bad.id, request(), limits()), 3)) + assert value["store_state"] == "failed" and "source content changed" in value["worker_result"]["detail"] + + +@pytest.mark.parametrize("malformed", ["not_mapping", "missing_name"]) +def test_malformed_terminal_is_isolated_and_independent_jobs_continue(tmp_path, monkeypatch, malformed): + samples = [] + try: + with RunStore(tmp_path / "db") as store, supervisor(store, tmp_path / "work", max_active=2) as pool: + samples = record_resource_samples(pool, monkeypatch) + independent = pool.submit("independent", "barrier_success", request(), limits()) + # Start both cold interpreters together. The malformed writer stays + # behind its barrier until the independent child is known to run. + bad = pool.submit("bad-terminal", "malformed_terminal", request(malformed=malformed, wait=True), limits()) + ready(store, independent) + ready(store, bad) + following = pool.submit("following", "normal", request(), limits()) + assert store.get_run(independent.run_id)["state"] == "running" + assert store.get_run(following.run_id)["state"] == "queued" + release(tmp_path, store, bad) + value = assert_reaped(pool.wait(bad, 4)) + assert value["store_state"] == "failed" and value["worker_result"]["reason"] == "invalid_terminal" + release(tmp_path, store, independent) + assert pool.wait(independent, 3).data["store_state"] == "succeeded" + assert pool.wait(following, 3).data["store_state"] == "succeeded" + assert len(terminal_events(store, "bad-terminal")) == 1 + except BaseException as error: + error.add_note(preserve_runtime_evidence(tmp_path, "db", "malformed-" + malformed, samples)) + raise + preserve_runtime_evidence(tmp_path, "db", "malformed-" + malformed, samples) + + +@pytest.mark.parametrize("kind, size", [("artifact", 98304), ("result", 65536)]) +def test_shared_output_reserve_covers_publication_and_terminal_growth(tmp_path, kind, size): + cap = 1024 * 1024 + with RunStore(tmp_path / "db") as store, supervisor(store, tmp_path / "work", shared_output_bytes=cap) as pool: + handle = pool.submit("near-cap", "finalize_after_release", request(kind=kind, bytes=size), limits(output_bytes=512 * 1024)) + ready(store, handle) + existing = pool.accounting()["retained_output_peak_bytes"] + # Simulate concurrently retained output: the child result alone fits, + # but its parent publication/terminal copies cannot fit the shared cap. + retained = cap - 3 * size // 2 - existing + assert retained > 0 + (tmp_path / "work" / "retained-output.bin").write_bytes(b"r" * retained) + directory = tmp_path / "work" / (store.store_id + "-" + handle.attempt_id) + (directory / "release").touch() + value = assert_reaped(pool.wait(handle, 4)) + assert value["store_state"] == "failed" + assert value["worker_result"]["reason"].startswith("shared_output_") + assert not value["terminal_artifacts"] + assert (directory / "terminal.json").exists() and (directory / "finalization.json").exists() + finalization = value["finalization"] + assert finalization["shared_output_after_finalization_record_bytes"] <= pool.accounting()["retained_output_peak_bytes"] + assert finalization["finalization_overrun"] == (finalization["shared_output_after_finalization_record_bytes"] > cap) + assert (tmp_path / "work" / "retained-output.bin").stat().st_size == retained + + +def test_post_spawn_setup_failure_reaps_only_affected_child(tmp_path, monkeypatch): + real_write = execution_module._atomic_json + def fail_one_spawn(path, value): + if path.name == "spawned.json" and value["token"]["run_id"] == "setup-error": + raise OSError("injected after actual process.start") + return real_write(path, value) + monkeypatch.setattr(execution_module, "_atomic_json", fail_one_spawn) + with RunStore(tmp_path / "db") as store, supervisor(store, tmp_path / "work", max_active=2) as pool: + independent = pool.submit("setup-independent", "barrier_success", request(), limits()) + ready(store, independent) + bad = pool.submit("setup-error", "cooperative", request(), limits()) + value = assert_reaped(pool.wait(bad, 4)) + assert value["store_state"] == "failed" and value["worker_result"]["reason"] == "spawn_setup_failed" + assert "injected" in value["worker_result"]["setup_error"] + release(tmp_path, store, independent) + assert pool.wait(independent, 3).data["store_state"] == "succeeded" + + +def test_directory_census_reobserves_an_atomic_publication(tmp_path, monkeypatch): + partial, published = tmp_path / "started.json.part", tmp_path / "started.json" + payload = b'{"state":"ready"}' + partial.write_bytes(payload) + (tmp_path / "stable.bin").write_bytes(b"stable") + original = Path.lstat + renamed = False + def publish_before_stat(path, *args, **kwargs): + nonlocal renamed + if path == partial and not renamed: + partial.replace(published) + renamed = True + return original(path, *args, **kwargs) + monkeypatch.setattr(Path, "lstat", publish_before_stat) + assert _directory_bytes(tmp_path) == len(payload) + len(b"stable") + assert renamed and published.read_bytes() == payload and not partial.exists() + + +def test_directory_census_preserves_other_stat_errors(tmp_path, monkeypatch): + target = tmp_path / "unreadable.bin" + target.write_bytes(b"data") + original = Path.lstat + def denied(path, *args, **kwargs): + if path == target: + raise PermissionError("fixture access denied") + return original(path, *args, **kwargs) + monkeypatch.setattr(Path, "lstat", denied) + with pytest.raises(PermissionError, match="fixture access denied"): + _directory_bytes(tmp_path) diff --git a/tests/runtime/test_experiment_schemas.py b/tests/runtime/test_experiment_schemas.py new file mode 100644 index 00000000..1decc1ae --- /dev/null +++ b/tests/runtime/test_experiment_schemas.py @@ -0,0 +1,200 @@ +"""Draft schema/serialization checks only; no state or model is executed.""" + +from copy import deepcopy +from dataclasses import FrozenInstanceError +import hashlib +import json + +import numpy as np +import pytest +from jsonschema import Draft202012Validator + +from solarlab.experiments.protocol import Protocol, WorkingPoint, protocol_schema, working_point_schema +from solarlab.experiments.results import ( + EVIDENCE_LABELS, ExperimentResult, array_schema, decode_array, encode_array, result_schema, +) + + +def ref(name): + return {"id": "serialization-fixture:" + name, "sha256": hashlib.sha256(name.encode()).hexdigest()} + + +def protocol(): + return {"schema": "solarlab.protocol.v1", "id": "schema-test", "version": 1, "experiment_id": "jv", + "preparation": {"schema": "test.preparation.v1", "hold_s": 1e-6, "initial_voltage_V": -0.0}, + "waveform": {"schema": "test.waveform.v1", "nodes": [[0., 0.], [1e-6, .02]], "illuminated": True}, + "switches": {"schema": "test.switches.v1", "events": []}, + "sampling": {"schema": "test.sampling.v1", "times_s": [0., 1e-6]}, + "control_mode": "voltage", "phases": ["preparation", "scan"], "transfers": [{ + "from": "preparation", "to": "scan", "working_point": ref("initial-working-point"), + "preserve": ["state", "inventories", "coordinate_reference", "materials", "damage", "grid", "history"]}]} + + +def point(): + return {"schema": "solarlab.working-point.v1", "id": "initial", "engine": "legacy", "owner_epoch": "test.epoch1", + "state_encoding": "test.raw-f64", "physical_identity": ref("physical")["sha256"], + **{name: ref(name) for name in ("state", "inventories", "coordinate_reference", "materials", "damage", "grid", "history", "qualification")}} + + +def result(outcome="completed", label="FIRST_SLICE"): + return {"schema": "solarlab.experiment-result.v1", "header": { + "run_id": "schema-test", "attempt_id": "attempt1", "experiment_id": "impedance", "engine": "legacy", + "manifest_sha256": ref("manifest")["sha256"], "outcome": outcome, + "reason": None if outcome == "completed" else "explicit_test_failure", + "bindings": {key: ref(key) for key in ("source", "schema", "registry", "physics", "protocol", "initial", "numerics", "resources")}, + "evidence": [{"label": label, "scope": ["serialization_fixture"], "sources": [ref("test-contract")], + "limitations": ["No physical execution or qualification"]}]}, + "payload_schema": "test.impedance.v1", "payload": {"raw_unknown_experiment_field": {"present": None}, + "impedance": encode_array(np.array([1 - 2j, complex(-0., 0.)]), unit="ohm m^2")}, + "metrics": {"tau": {"status": "unidentified", "value": None, "reason": "no_identified_peak"}, + "voltage": {"status": "identified", "value": -0.0, "reason": None}}} + + +def test_protocol_roundtrip_keeps_all_sections_presence_and_signed_zero(): + raw = protocol() + item = Protocol.from_document(raw) + Draft202012Validator(protocol_schema()).validate(item.export()) + assert Protocol(item.canonical_json) == item + assert item.export() == raw + raw["sampling"]["times_s"].append(1.) + assert item.export()["sampling"]["times_s"] == [0., 1e-6] + assert np.signbit(item.export()["preparation"]["initial_voltage_V"]) + changed = item.export() + changed["preparation"]["initial_voltage_V"] = 0.0 + assert Protocol.from_document(changed).sha256 != item.sha256 + with pytest.raises(FrozenInstanceError): + item.canonical_json = "{}" + + +@pytest.mark.parametrize("edit", [ + lambda x: x.pop("switches"), lambda x: x.update(version=True), lambda x: x.update(schema="unknown"), + lambda x: x["transfers"][0].update(to="unknown_phase"), + lambda x: x["transfers"][0].update(preserve=["automatically_reset_to_steady_state"]), + lambda x: x["preparation"].update(hold_s=float("inf")), +]) +def test_bad_protocol_declarations_refuse(edit): + raw = protocol() + edit(raw) + with pytest.raises(ValueError): + Protocol.from_document(raw) + + +def test_working_point_keeps_physical_and_encoding_ids_and_damage_history_separate(): + a = WorkingPoint.from_document(point()) + Draft202012Validator(working_point_schema()).validate(a.export()) + other = a.export() + other.update(state=ref("alternate-encoded-words"), state_encoding="test.pair-words") + b = WorkingPoint.from_document(other) + assert a.sha256 != b.sha256 + assert a.export()["physical_identity"] == b.export()["physical_identity"] + # Identity equality alone performs no physical equivalence/state transfer. + assert not hasattr(a, "advance") and not hasattr(a, "rebind") + for field in ("materials", "damage", "grid", "history", "owner_epoch"): + changed = a.export() + changed[field] = "epoch2" if field == "owner_epoch" else ref("changed-" + field) + assert WorkingPoint.from_document(changed).sha256 != a.sha256 + missing = point() + del missing["inventories"] + with pytest.raises(ValueError): + WorkingPoint.from_document(missing) + + +@pytest.mark.parametrize("outcome", ("completed", "failed", "partial")) +@pytest.mark.parametrize("label", EVIDENCE_LABELS) +def test_results_preserve_original_scoped_labels_and_partial_unknown_metrics(outcome, label): + raw = result(outcome, label) + item = ExperimentResult.from_document(raw) + Draft202012Validator(result_schema()).validate(item.export()) + assert item.export() == raw + assert ExperimentResult(item.canonical_json) == item + assert item.export()["header"]["evidence"][0]["label"] == label + raw["payload"].clear() + assert item.export()["payload"] + assert np.signbit(item.export()["metrics"]["voltage"]["value"]) + + +@pytest.mark.parametrize("edit", [ + lambda x: x["header"]["bindings"].pop("initial"), + lambda x: x["header"]["evidence"][0].update(label="PASSED"), + lambda x: x["header"]["evidence"][0].update(scope=[]), + lambda x: x["header"].update(outcome="failed", reason=None), + lambda x: x["metrics"]["tau"].update(value=1.), + lambda x: x["metrics"]["voltage"].update(value=float("nan")), +]) +def test_false_or_incomplete_result_claims_refuse(edit): + raw = result() + edit(raw) + with pytest.raises(ValueError): + ExperimentResult.from_document(raw) + + +@pytest.mark.parametrize("dtype", ["f4", "f8", "c8", "c16", "u8", "|b1"]) +def test_array_roundtrip_is_bitwise_and_endian_exact(dtype): + array = np.array([0, 1, 2, 3], dtype=dtype).reshape(2, 2) + if array.dtype.kind in "fc": + array.real[0, 0] = -0. + array.real[0, 1] = np.inf + array.real[1, 0] = np.nan + if array.dtype.kind == "c": + array.imag[1, 1] = -np.inf + array.imag[0, 0] = -0. + encoded = encode_array(array, unit="1") + Draft202012Validator(array_schema()).validate(encoded) + decoded = decode_array(json.loads(json.dumps(encoded, allow_nan=False))) + assert decoded.dtype == array.dtype and decoded.shape == array.shape + assert decoded.tobytes() == array.tobytes() + + +def test_nonfinite_payload_words_empty_arrays_and_noncontiguous_inputs_survive(): + array = np.array([0x7FF8000000000001, 0xFFF8000000000123, 0x8000000000000000, 0], dtype=" array_schema()["properties"]["shape"]["maxItems"]: + with pytest.raises(ValueError, match="rank"): + encode_array(array, unit="1") + else: + encoded = encode_array(array, unit="1") + Draft202012Validator(array_schema()).validate(encoded) + decoded = decode_array(json.loads(json.dumps(encoded))) + assert decoded.shape == array.shape and decoded.tobytes() == array.tobytes() + + +@pytest.mark.parametrize("edit", [ + lambda x: x.update(shape=[100000000000]), lambda x: x.update(dtype="|O"), + lambda x: x["real"]["mask"].__setitem__(0, False), + lambda x: x["real"]["reasons"].__setitem__(0, None), + lambda x: x["real"]["nonfinite_words"].__setitem__(0, "0000000000000000"), + lambda x: x["real"]["values"].__setitem__(1, None), + lambda x: x.update(imag=deepcopy(x["real"])), +]) +def test_inconsistent_array_masks_reasons_shapes_and_words_refuse(edit): + encoded = encode_array(np.array([np.nan, 1.]), unit="V") + edit(encoded) + with pytest.raises((ValueError, TypeError)): + decode_array(encoded) + + +def test_exported_schemas_are_valid_draft202012_documents(): + for schema in (protocol_schema(), working_point_schema(), result_schema(), array_schema()): + Draft202012Validator.check_schema(schema) diff --git a/tests/runtime/test_ionic_jv_curve_measurement.py b/tests/runtime/test_ionic_jv_curve_measurement.py new file mode 100644 index 00000000..cfab1bcb --- /dev/null +++ b/tests/runtime/test_ionic_jv_curve_measurement.py @@ -0,0 +1,196 @@ +"""Source-bound diagnostic admission and HTTP refusal owned by backend CI.""" +from copy import deepcopy +from dataclasses import replace +import hashlib +import json +from pathlib import Path +import subprocess +from types import SimpleNamespace + +from fastapi.testclient import TestClient +import pytest + +from scripts.ci import ionic_jv_timing as timing + + +@pytest.fixture(scope="module") +def installed(): + from examples.research_1d.ionic_jv_service import example_submission, installed_catalog + from examples.research_1d.process_ionic_transient import source_build + from solarlab_server.job_service import JobSubmission + + commit = subprocess.check_output(["git", "rev-parse", "HEAD"], cwd=timing.ROOT, text=True).strip() + catalog = installed_catalog(source_build(commit), commit) + submission = example_submission() + spec, execution = catalog.prepare(JobSubmission.model_validate(submission)) + return catalog, submission, spec, execution + + +@pytest.fixture(scope="module") +def diagnostic(installed): + return timing.prepare_curve_measurement(installed[2].request, installed[3]) + + +def test_only_curve_and_diagnostic_identity_change(installed, diagnostic): + from solarlab.experiments.jv import ionic_worker as core + + _, submission, spec, execution = installed + expected = json.loads(spec.request.request.content) + expected["schema"] = timing._diagnostic_documents()[0].id + expected["controls"]["wall_s"] = 64. + assert json.loads(diagnostic.request.request.content) == expected + assert submission["input"]["controls"]["wall_s"] == 25. + assert expected["controls"]["steady"]["wall_s"] == 30. + assert expected["initial"]["wall_s"] == 25. + assert diagnostic.request.H_input == spec.request.H_input + assert diagnostic.request.H_physics == spec.request.H_physics + assert diagnostic.execution.expected_sha256 != execution.expected_sha256 + diagnostic.execution.validate_request(diagnostic.request) + preparation = json.loads(diagnostic.execution.execution.preparation.content) + source = preparation["diagnostic_measurement"]["source"] + raw = (timing.ROOT / source["id"]).read_bytes() + assert bytes.fromhex(source["content_hex"]) == raw + assert source["sha256"] == hashlib.sha256(raw).hexdigest() + assert preparation["diagnostic_measurement"]["recommendation"] is False + assert core.run_ionic_jv_worker.__globals__["_validate"] is core._validate + assert core.prepare_ionic_jv_job.__globals__["_roles"] is core._roles + assert core.run_ionic_jv_worker.__globals__["REQUEST_SCHEMA"] is core.REQUEST_SCHEMA + assert core.REQUEST_SCHEMA != diagnostic.request.schema + assert core.REGISTRY != diagnostic.request.registry + + +def test_http_and_registered_admission_refuse_the_measurement_recipe(tmp_path, monkeypatch, installed, diagnostic): + from solarlab.experiments.execution import ProcessSupervisor + from solarlab.experiments.jv.ionic_worker import ionic_jv_worker_binding + from solarlab.io.run_store import RunStore + from solarlab_server.app import create_app + from solarlab_server.ionic_jv_preparation import execute_registered_ionic_jv + from solarlab_server.job_service import JobService, JobSubmission + + catalog, submission, _, _ = installed + changed = deepcopy(submission) + changed["input"]["controls"]["wall_s"] = 64. + with pytest.raises(ValueError, match="unchanged full controls"): + catalog.prepare(JobSubmission.model_validate(changed)) + for binding in (catalog.worker_binding("solarlab"), ionic_jv_worker_binding()): + with pytest.raises(ValueError, match="registry/schema"): + binding.validate_request(diagnostic.request) + with pytest.raises(ValueError, match="installed route"): + execute_registered_ionic_jv(diagnostic.request, SimpleNamespace(check_cancel=lambda: None)) + with RunStore(tmp_path / "store") as store, ProcessSupervisor( + store, tmp_path / "work", catalog.worker_bindings(), max_active=1, max_pending=1, + shared_rss_bytes=3 * 1024**3, shared_output_bytes=384 * 1024**2, + ) as owner: + monkeypatch.setattr(owner, "submit", lambda *args, **kwargs: pytest.fail("refusal must precede enqueue")) + with TestClient(create_app(store.root, job_service=JobService(catalog, owner))) as client: + headers = {"X-Solarlab-Registry": catalog.document.sha256, "X-Solarlab-Job-Schema": catalog.schema.sha256} + response = client.post("/jobs", json=changed, headers=headers) + assert response.status_code == 422 and "unchanged full controls" in response.text + assert client.get("/experiments").json()["bindings"][0]["preparation_context"]["fixed_numerical_policy"][ + "controls"]["wall_s"] == 25. + assert store.events() == [] + assert catalog.prepare(JobSubmission.model_validate(submission))[0].limits.wall_seconds == 128. + + +@pytest.mark.parametrize("change", ["curve", "point", "initial", "iterations", "tolerance", "grid", "voltages", "device"]) +def test_diagnostic_admits_no_other_recipe_change(installed, change): + from examples.research_1d.shared_site_ionic_fixture import prepare_confined_shared_site_ion_device + from solarlab.experiments.jv.ionic_worker import IonicJVProtocol + from solarlab_server.ionic_jv_preparation import _initial, _options + + prepared = installed[3].inputs.prepared + body = json.loads(installed[2].request.request.content) + protocol = IonicJVProtocol(**body["protocol"]) + intervals, initial, options = (12, 12, 12), _initial(), replace(_options(), wall_s=64.) + if change == "curve": + options = replace(options, wall_s=65.) + elif change == "point": + options = replace(options, steady=replace(options.steady, wall_s=31.)) + elif change == "initial": + initial = replace(initial, wall_s=26.) + elif change == "iterations": + options = replace(options, steady=replace(options.steady, budget=replace(options.steady.budget, max_iterations=61))) + elif change == "tolerance": + options = replace(options, steady=replace(options.steady, inventory_relative_tolerance=1e-3)) + elif change == "grid": + intervals = (13, 12, 12) + elif change == "voltages": + protocol = replace(protocol, voltage_V=(0., .026, *protocol.voltage_V[2:])) + else: + prepared = prepare_confined_shared_site_ion_device(positive_diffusivity_m2_s=2e-16) + with pytest.raises(ValueError): + timing._diagnostic_validate(prepared, protocol, intervals, "absorber", ("blocking", "blocking"), options, initial) + + +def test_core_admission_still_rejects_64_after_diagnostic_preparation(installed, diagnostic): + from solarlab.experiments.jv import ionic_worker as core + from solarlab_server.ionic_jv_preparation import _initial, _options + + body = json.loads(diagnostic.request.request.content) + with pytest.raises(ValueError, match="curve wall ceiling >25s"): + core._validate(installed[3].inputs.prepared, core.IonicJVProtocol(**body["protocol"]), + (12, 12, 12), "absorber", ("blocking", "blocking"), replace(_options(), wall_s=64.), _initial()) + + +def test_changed_diagnostic_source_refuses_before_worker_execution(monkeypatch, diagnostic): + from solarlab.materials.source import SourceDocument + + source = timing._diagnostic_source() + monkeypatch.setattr(timing, "_diagnostic_source", lambda: SourceDocument(source.id, source.content + b"\n# changed\n")) + with pytest.raises(ValueError, match="registry/schema"): + timing.run_curve_measurement(diagnostic.request, None) + + +def test_production_sources_do_not_import_diagnostic_override(): + for path in (timing.ROOT / "src").rglob("*.py"): + assert "ionic_jv_timing" not in path.read_text(), path + code = ("import sys; from examples.research_1d.ionic_jv_service import installed_catalog; " + "import solarlab_server.app; assert 'scripts.ci.ionic_jv_timing' not in sys.modules") + subprocess.run([timing.sys.executable, "-c", code], cwd=timing.ROOT, check=True) + + +def history(): + return {"controls": {"steady": {"wall_s": 30.}}, "dark_steady": { + "wall_s": .1, "accepted": True, "termination": "converged", "error": None}, + "illumination": {"wall_s": .2, "accepted": True, "termination": "converged", "error": None}, + "curve": {"wall_s": 64.001, "attempts": {"$tuple": [{ + "index": 50, "voltage_V": 1.25, "accepted": False, "termination": "wall_budget_exhausted", + "solver_called": True, "wall_s": .501, "error": "_WaveWallLimit", + "solution": {"wall_s": .5005, "termination": "wall_budget_exhausted", "error": "_WallLimit", + "solver_controls": {"wall_s": .5}}}]}}} + + +@pytest.mark.parametrize("curve_measurement", [False, True]) +def test_failed_child_receipt_is_read_before_success_checks(tmp_path, monkeypatch, installed, curve_measurement): + import multiprocessing + + class Child: + exitcode = 0 + + def __init__(self, args): + self.directory = Path(args[3]) + + def start(self): + raw = json.dumps(history()).encode() + (self.directory / "diagnostics.bin").write_bytes(raw) + terminal = {"state": "failed", "child_peak_rss_bytes": 100, "artifacts": [ + {"name": "ionic_jv_diagnostics", "file": "diagnostics.bin", + "bytes": len(raw), "sha256": hashlib.sha256(raw).hexdigest()}], + "result": {"reason": "wall_budget_exhausted", "ionic_jv_result": { + "outcome": "partial", "accepted_count": 50, "requested_count": 51}}} + (self.directory / "terminal.json").write_text(json.dumps(terminal)) + + def join(self): + pass + + def is_alive(self): + return False + + context = SimpleNamespace(Event=lambda: None, Lock=lambda: None, RawArray=lambda *args: None, + Process=lambda **kwargs: Child(kwargs["args"])) + monkeypatch.setattr(multiprocessing, "get_context", lambda method: context) + result = timing.measure(tmp_path, curve_measurement=curve_measurement) + assert result["status"] == "failed" and result["reason"] == "wall_budget_exhausted" + assert result["artifact_integrity_verified"] is True + assert result["numerical_seconds"] == {"dark_steady": .1, "illumination": .2, "curve": 64.001} + assert len(result["point_timings"]) == 1 and result["censoring"]["numerical_wall"] is True diff --git a/tests/runtime/test_ionic_jv_job_service.py b/tests/runtime/test_ionic_jv_job_service.py new file mode 100644 index 00000000..913c7673 --- /dev/null +++ b/tests/runtime/test_ionic_jv_job_service.py @@ -0,0 +1,793 @@ +"""One HTTP solve; historical failures are exact saved data, never recomputed.""" +from dataclasses import replace +import hashlib +import io +import json +import os +from pathlib import Path +import shutil +import signal +import socket +import subprocess +import sys +import tarfile +import time + +from fastapi.testclient import TestClient +import httpx +import numpy as np +import pytest + + +from examples.research_1d.ionic_jv_service import example_submission, installed_catalog, resource_limits +from examples.research_1d.process_ionic_transient import source_build +from solarlab.experiments.execution import JobHandle +from solarlab.experiments.jv.ionic_worker import read_ionic_jv_job +from solarlab.experiments.worker import WorkerBinding, WorkerRequest +from solarlab.io.artifacts import ArtifactPayload, _json_document +from solarlab.io.run_store import RunStore +from solarlab.materials.source import SourceDocument +from solarlab_server.app import create_app +from solarlab_server.ionic_jv_preparation import ( + IonicJVJobInput, ionic_jv_execution_catalog, prepare_ionic_jv_input, read_registered_ionic_jv_job, +) +from solarlab_server.job_service import JobService, JobSubmission, canonical +from test_ionic_transient_job_service import _hold +from test_ionic_jv_worker import extract_saved_ionic_jv_fixture +from test_transient_job_service import pool, port_closed, ready, terminal_events + +pytestmark = pytest.mark.requires_clean_core + +ROOT = Path(__file__).resolve().parents[2] +FAILED_RUN = "ionic-jv-failed-prefix" +FAILED_ATTEMPT = "08b9019bf98a4978b72ed612279742bd" +FIXTURE_SHA256 = "aff127aec623125b52468e6bd9e96c15f04beef86acaa45099009a27015db738" + + +def save(name, value): + if directory := os.environ.get("SOLARLAB_IONIC_JV_HTTP_EVIDENCE"): + target = Path(directory) + target.mkdir(parents=True, exist_ok=True) + (target / name).write_text(json.dumps(value, indent=2, allow_nan=False)) + + +@pytest.fixture(scope="module") +def implementation(): + commit = os.environ.get("SOLARLAB_IONIC_JV_HTTP_COMMIT") or subprocess.check_output( + ["git", "rev-parse", "HEAD"], cwd=ROOT, text=True, timeout=5).strip() + archive = os.environ.get("SOLARLAB_IONIC_JV_HTTP_ARCHIVE") + return source_build(commit, Path(archive) if archive else None) + + +@pytest.fixture(scope="module") +def catalog(implementation): + return installed_catalog(implementation, implementation.build_source_commit) + + +@pytest.fixture(scope="module") +def historical(tmp_path_factory): + archive = Path(__file__).parent / "fixtures/ionic_jv_failed_prefix.tar.gz" + assert hashlib.sha256(archive.read_bytes()).hexdigest() == FIXTURE_SHA256 + folder = tmp_path_factory.mktemp("ionic-jv-historical") + with tarfile.open(archive) as bundle: + assert sum(m.size for m in bundle.getmembers()) < 8 * 1024**2 + bundle.extractall(folder, filter="data") + proof = json.loads((folder / "Fixture.json").read_text()) + assert proof["derived_sqlite_subset"] and not proof["whole_original_store_byte_identity"] + assert proof["run_id"] == FAILED_RUN and proof["attempt_id"] == FAILED_ATTEMPT + for name, sha in proof["files"].items(): + assert hashlib.sha256((folder / name).read_bytes()).hexdigest() == sha + assert (folder / "Store/partial").is_dir() and (folder / "Store/.writer.lock").is_file() + return folder / "Store", proof + + +def publication_failure(store_root, run_id, attempt_id, result, events, *, work): + """Preserve the original failure even if an auxiliary diagnostic read fails.""" + diagnostic = {"run_id": run_id, "attempt_id": attempt_id, "result": result, "events": events} + outcome = result.get("result") or {} + diagnostic["terminal_reason"] = (outcome.get("worker_result") or {}).get("reason", outcome.get("reason")) + try: + with RunStore(store_root, read_only=True) as store: + run = store.get_run(run_id) + diagnostic["run_state"] = {key: run[key] for key in ( + "run_id", "state", "current_attempt_id", "generation")} + diagnostic["attempt_state"] = next(a for a in store.attempts(run_id) if a["attempt_id"] == attempt_id) + if work is not None: + directory = Path(work) / (store.store_id + "-" + attempt_id) + receipt = directory / "receipt.json" + # Store commit precedes the final receipt fsync. This wait is + # only for diagnostics on an already-failed artifact assertion. + deadline = time.monotonic() + 5 + while not receipt.exists() and time.monotonic() < deadline: + time.sleep(.01) + diagnostic["receipt_path"] = str(receipt) + diagnostic["receipt"] = json.loads(receipt.read_text()) if receipt.exists() else None + except Exception as error: + diagnostic["read_error"] = f"{type(error).__name__}: {error}" + target = Path(os.environ.get("SOLARLAB_IONIC_JV_HTTP_EVIDENCE") or Path(store_root).parent) + path = target / f"PublicationFailure-{attempt_id}.json" + diagnostic["evidence_path"] = str(path) + try: + target.mkdir(parents=True, exist_ok=True) + path.write_text(json.dumps(diagnostic, indent=2, allow_nan=False)) + except Exception as error: + diagnostic["write_error"] = f"{type(error).__name__}: {error}" + return json.dumps(diagnostic, sort_keys=True, allow_nan=False) + + +def observe_http_case(client, store_root, run_id, attempt_id, *, registered, work=None): + result_url = f"/results/{run_id}/attempts/{attempt_id}" + events_url = f"/runs/{run_id}/attempts/{attempt_id}/events" + streamed = client.get(events_url) + assert streamed.status_code == 200 + events = [json.loads(line[6:]) for line in streamed.text.splitlines() if line.startswith("data: ")] + response = client.get(result_url) + assert response.status_code == 200, response.text + result = response.json() + payloads, arrays = {}, {} + assert len(result["artifacts"]) == 15, publication_failure( + store_root, run_id, attempt_id, result, events, work=work) + for item in result["artifacts"]: + content = client.get(item["content_url"]) + record = client.get("/artifacts/" + item["artifact_id"]) + assert content.status_code == record.status_code == 200 + assert hashlib.sha256(content.content).hexdigest() == item["sha256"] + assert content.headers["etag"].strip('"') == item["sha256"] + payloads[item["name"]] = {"sha256": item["sha256"], "bytes": len(content.content), "metadata": record.json()} + if item["format"] == "npy": + arrays[item["name"]] = np.load(io.BytesIO(content.content), allow_pickle=False) + terminal = [e for e in events if e["kind"] == "terminal"] + assert len(terminal) == 1 + replay = client.get(events_url + "?after=" + str(events[-1]["sequence"]), headers={"Last-Event-ID": str(events[0]["sequence"])}) + acknowledged = client.get(events_url, headers={"Last-Event-ID": str(events[-1]["sequence"])}) + assert replay.status_code == 200 and acknowledged.status_code == 204 + assert '"kind":"terminal"' in replay.text.replace(" ", "") + with RunStore(store_root, read_only=True) as store: + reader = read_registered_ionic_jv_job if registered else read_ionic_jv_job + loaded = reader(store, run_id, attempt_id=attempt_id) + assert len(arrays) == 12 and len(loaded["arrays"]) == 23 + assert result["state"] == loaded["run_state"] + for name, array in arrays.items(): + assert array.tobytes() == loaded["stored_arrays"][name].tobytes() + case = {"run_id": run_id, "attempt_id": attempt_id, "registered_http": registered, + "result": result, "events": events, "terminal_count": len(terminal_events(store, run_id)), + "payloads": payloads, "replay_status": replay.status_code, "terminal_ack_status": acknowledged.status_code, + "accepted_voltage_V": loaded["arrays"]["voltage_V"].tolist(), "first_failure": loaded["document"]["first_failure"], + "logical_arrays": {k: {"sha256": hashlib.sha256(a.tobytes()).hexdigest(), "shape": list(a.shape), + "unit": loaded["document"]["logical_array_units"][k]} for k, a in loaded["arrays"].items()}} + assert case["terminal_count"] == 1 + if work is not None: + directory = Path(work) / (store.store_id + "-" + attempt_id) + deadline = time.monotonic() + 5 + while not (directory / "receipt.json").exists(): + assert time.monotonic() < deadline + time.sleep(.01) + receipt = json.loads((directory / "receipt.json").read_text()) + assert receipt["process_joined"] and receipt["process_exit_observed"] and receipt["exitcode"] == 0 + assert receipt["signals"] == [] and receipt["resources"]["owned_wall_seconds"] <= resource_limits().wall_seconds + child = json.loads((directory / "terminal.json").read_text()) + for item in child["artifacts"]: + assert hashlib.sha256((directory / item["file"]).read_bytes()).hexdigest() == payloads[item["name"]]["sha256"] + case["receipt"] = receipt + return case + + +@pytest.fixture(scope="module") +def actual(tmp_path_factory, implementation, historical): + if saved := os.environ.get("SOLARLAB_IONIC_JV_HTTP_SAVED"): + return json.loads(Path(saved).read_text()) + folder = tmp_path_factory.mktemp("ionic-jv-http") + root, work = folder / "store", folder / "work" + shutil.copytree(historical[0], root) + with socket.socket() as probe: + probe.bind(("127.0.0.1", 0)) + port = probe.getsockname()[1] + assert port_closed(port) + command = [sys.executable, "-B", "-m", "examples.research_1d.ionic_jv_service", "--store", str(root), "--work", str(work), + "--build-source-commit", implementation.build_source_commit, "--current-repository-head", implementation.build_source_commit, + "--port", str(port)] + if archive := os.environ.get("SOLARLAB_IONIC_JV_HTTP_ARCHIVE"): + command += ["--source-archive", archive] + env = dict(os.environ) + env.update({k: "1" for k in ("OMP_NUM_THREADS", "OPENBLAS_NUM_THREADS", "MKL_NUM_THREADS", "VECLIB_MAXIMUM_THREADS", "NUMEXPR_NUM_THREADS", "BLIS_NUM_THREADS")}) + out_path, err_path = folder / "http.stdout.log", folder / "http.stderr.log" + evidence = {"command": command, "store": str(root), "work": str(work), "port": port, + "port_closed_before_start": True, "source_commit": implementation.build_source_commit, "cases": []} + with out_path.open("x") as out, err_path.open("x") as err: + process = subprocess.Popen(command, cwd=ROOT, env=env, stdout=out, stderr=err, start_new_session=True) + evidence["service_pid"] = process.pid + try: + with httpx.Client(base_url=f"http://127.0.0.1:{port}", timeout=resource_limits().wall_seconds + 15) as client: + advertised = ready(client, process) + headers = {k: advertised.headers[k] for k in ("x-solarlab-registry", "x-solarlab-job-schema")} + evidence.update(catalog=advertised.json(), submission_headers=headers) + evidence["cases"].append(observe_http_case(client, root, FAILED_RUN, FAILED_ATTEMPT, registered=False)) + body = example_submission() + response = client.post("/jobs", json=body, headers=headers) + evidence.update(request=body, post_status=response.status_code, post=response.json()) + save("ActualHTTP.json", evidence) + assert response.status_code == 202, response.text + submitted = response.json() + case = observe_http_case(client, root, submitted["run_id"], submitted["attempt_id"], registered=True, work=work) + evidence["cases"].append(case) + reopened = client.get("/runs/" + submitted["run_id"]) + assert reopened.status_code == 200 and reopened.json()["current_attempt_id"] == submitted["attempt_id"] + evidence["reopened_attempt_id"] = reopened.json()["current_attempt_id"] + evidence["new_numerical_submissions"] = 1 + finally: + if process.poll() is None: + process.send_signal(signal.SIGINT) + code = process.wait(timeout=20) + evidence.update(service_exit_code=code, port_closed=port_closed(port), stdout_log=str(out_path), stderr_log=str(err_path)) + messages = [json.loads(line) for line in out_path.read_text().splitlines() if line.startswith("{")] + evidence["closure"] = messages[-1] if messages else None + save("ActualHTTP.json", evidence) + assert code == 0 and evidence["port_closed"], err_path.read_text() + return evidence + + +@pytest.mark.parametrize("reason", ["wall_limit", "wall_limit_during_publication", "supervisor_control_failure"]) +def test_missing_publication_preserves_terminal_diagnosis_and_still_refuses(tmp_path, monkeypatch, reason): + evidence = tmp_path / "evidence" + monkeypatch.setenv("SOLARLAB_IONIC_JV_HTTP_EVIDENCE", str(evidence)) + with RunStore(tmp_path / "store") as store: + run = store.enqueue("missing-publication", opaque_identity={ + "H_input": "diagnostic-input", "H_physics": "diagnostic-physics", "H_execution": "diagnostic-execution", + }, input_metadata={}) + token = store.claim(run["run_id"], expected_attempt_id=run["current_attempt_id"], + expected_generation=run["generation"], owner_id="test") + result = {"worker_result": {"reason": reason, "control_reason": "injected"}, + "resources": {"owned_wall_seconds": 30.1}} + store.complete(token, state="failed", result=result) + work = tmp_path / "work" + directory = work / (store.store_id + "-" + token.attempt_id) + directory.mkdir(parents=True) + receipt = {"store_state": "failed", "worker_result": result["worker_result"], "terminal_committed": True} + (directory / "receipt.json").write_text(json.dumps(receipt)) + with TestClient(create_app(store.root)) as client: + with pytest.raises(AssertionError, match=reason) as failure: + observe_http_case(client, store.root, run["run_id"], token.attempt_id, registered=True, work=work) + observed = json.loads((evidence / f"PublicationFailure-{token.attempt_id}.json").read_text()) + assert observed["result"]["state"] == "failed" and observed["result"]["artifacts"] == [] + assert observed["result"]["result"] == result + assert observed["run_state"]["state"] == observed["attempt_state"]["state"] == "failed" + assert observed["terminal_reason"] == reason and observed["receipt"] == receipt + assert json.dumps(observed, sort_keys=True) in str(failure.value) + terminal = [event for event in observed["events"] if event["kind"] == "terminal"] + assert len(terminal) == 1 and terminal[0]["payload"]["state"] == "failed" + + +def test_prepared_request_routes_to_existing_worker_without_changing_body(catalog): + body = example_submission() + spec, execution = catalog.prepare(JobSubmission.model_validate(body)) + original = prepare_ionic_jv_input(IonicJVJobInput.model_validate(body["input"]), catalog.registrations[0].context) + assert spec.worker_id == "registered_ionic_jv" and spec.request.request == original.request.request + assert spec.request.registry == catalog.document and spec.request.schema == catalog.schema + execution.validate_request(spec.request) + schema = catalog.document + entry = json.loads(schema.content)["bindings"][0] + assert entry["input_schema"]["properties"]["controls"]["const"] == body["input"]["controls"] + assert entry["scientific_qualification"] is False + + +def test_fixed_policy_accepts_equal_json_numbers_without_replacing_input(catalog): + original = example_submission()["input"] + + def javascript_numbers(value): + if isinstance(value, dict): + return {key: javascript_numbers(item) for key, item in value.items()} + if isinstance(value, list): + return [javascript_numbers(item) for item in value] + return int(value) if type(value) is float and value.is_integer() else value + + supplied = javascript_numbers(original) + assert canonical(supplied["controls"]) != canonical(original["controls"]) + parsed = IonicJVJobInput.model_validate(supplied) + assert canonical(parsed.controls) == canonical(supplied["controls"]) + assert type(parsed.controls["steady"]["ion_logit_step"]) is int + context = catalog.registrations[0].context + before = prepare_ionic_jv_input(IonicJVJobInput.model_validate(original), context) + after = prepare_ionic_jv_input(parsed, context) + assert before.request.request == after.request.request + assert before.request.H_input == after.request.H_input and before.request.H_physics == after.request.H_physics + + +@pytest.mark.parametrize("change", ["boolean", "numeric_value", "nonfinite", "missing_key", "extra_key"]) +def test_fixed_policy_rejects_changed_values_or_structure(change): + body = example_submission()["input"] + steady = body["controls"]["steady"] + if change == "boolean": + steady["ion_logit_step"] = True # True == 1.0 in Python, but is not a JSON number. + elif change == "numeric_value": + steady["ion_logit_step"] = 1.0000000000000002 + elif change == "nonfinite": + steady["ion_logit_step"] = float("nan") + elif change == "missing_key": + del steady["ion_logit_step"] + else: + steady["unexpected_control"] = 1 + with pytest.raises(ValueError): + IonicJVJobInput.model_validate(body) + + +def test_request_rejections_happen_before_enqueue(tmp_path, catalog): + with RunStore(tmp_path / "store") as store, pool(store, tmp_path / "work", catalog) as owner: + with TestClient(create_app(store.root, job_service=JobService(catalog, owner))) as client: + headers = {"X-Solarlab-Registry": catalog.document.sha256, "X-Solarlab-Job-Schema": catalog.schema.sha256} + assert client.post("/jobs", json=example_submission()).status_code == 428 + for key in headers: + assert client.post("/jobs", json=example_submission(), headers={**headers, key: "0" * 64}).status_code == 409 + for update in ({"engine": "legacy"}, {"experiment_id": "ionic_transient_1d"}, {"version": 2}, {"source_commit": "claim"}): + assert client.post("/jobs", json={**example_submission(), **update}, headers=headers).status_code == 422 + for update in ({"device_id": "absent"}, {"voltage_V": [0., .025]}, {"generation_scale": 0.}, + {"generation_scale": True}, {"incident_power_W_m2": 1000.}, {"intervals_per_layer": [13, 12, 12]}, + {"intervals_per_layer": [True, 12, 12]}, {"python_function": "os.system"}, {"config_path": "/tmp/x"}, + {"initial": {"policy": "saved_accepted", "voltage_V": .002, "wall_s": 25.}}, {"initial_state": [0.]}, + {"controls": {}}, {"ion_domain_layer": "other"}): + body = example_submission() + body["input"].update(update) + assert client.post("/jobs", json=body, headers=headers).status_code == 422 + body = example_submission() + body["input"]["controls"]["steady"]["inventory_relative_tolerance"] = 1e-3 + assert client.post("/jobs", json=body, headers=headers).status_code == 422 + body = example_submission() + body["input"]["voltage_V"][1] = .026 + assert client.post("/jobs", json=body, headers=headers).status_code == 422 + for key, value in (("wall_seconds", resource_limits().wall_seconds + 1), ("rss_bytes", 2 * 1024**3), ("calls", 1), ("accepted_steps", 1)): + body = example_submission() + body["limits"][key] = value + assert client.post("/jobs", json=body, headers=headers).status_code == 422 + assert store.events() == [] + + +def test_registered_wall_allowance_keeps_the_ordinary_catalog_ceiling(catalog): + registration = catalog.registrations[0] + context = registration.context + assert registration.wall_profile_sha256 == context.registered_wall_profile() + assert catalog.ceiling.wall_seconds == 30. + document = json.loads(catalog.document.content) + assert document["resource_ceiling"]["wall_seconds"] == 30. + assert "default_wall_ceiling_seconds" not in document + assert context.wall_ceiling_seconds("research_1d_shared") == 30. + assert context.wall_ceiling_seconds("research_1d_shared", + wall_profile_sha256=registration.wall_profile_sha256) == resource_limits().wall_seconds == 128. + assert document["bindings"][0]["whole_job_wall_allowance"] == { + "profile_sha256": registration.wall_profile_sha256, "wall_seconds": 128.} + spec, _ = catalog.prepare(JobSubmission.model_validate(example_submission())) + assert spec.limits == resource_limits() + assert spec.limits.rss_bytes == 1536 * 1024**2 and spec.limits.output_bytes == 96 * 1024**2 + assert spec.limits.accepted_steps is spec.limits.calls is None + + with pytest.raises(ValueError, match="ordinary job ceiling"): + ionic_jv_execution_catalog(context, ceiling=resource_limits(), + wall_profile_sha256=registration.wall_profile_sha256) + ordinary_catalog = ionic_jv_execution_catalog(context, ceiling=catalog.ceiling) + assert ordinary_catalog.registrations[0].wall_profile_sha256 is None + assert "whole_job_wall_allowance" not in json.loads(ordinary_catalog.document.content)["bindings"][0] + # Even a wider global service ceiling cannot grant an unapproved request + # this device-specific allowance. + ordinary_catalog = replace(ordinary_catalog, ceiling=resource_limits()) + body = example_submission() + body["limits"]["wall_seconds"] = 31. + with pytest.raises(ValueError, match="installed request wall ceiling"): + ordinary_catalog.prepare(JobSubmission.model_validate(body)) + body["limits"]["wall_seconds"] = 30. + assert ordinary_catalog.prepare(JobSubmission.model_validate(body))[0].limits.wall_seconds == 30. + + +@pytest.mark.parametrize("profile", [True, False, 128, "0" * 64, "another-profile"]) +def test_registered_wall_allowance_rejects_unapproved_profiles(catalog, profile): + with pytest.raises(ValueError, match="wall profile"): + replace(catalog.registrations[0], wall_profile_sha256=profile) + + +@pytest.mark.parametrize("change", ["name", "content", "both"]) +def test_wall_profile_cannot_authorize_another_prepared_device(tmp_path, catalog, change): + from examples.research_1d.shared_site_ionic_fixture import prepare_confined_shared_site_ion_device + registration = catalog.registrations[0] + device_id = "other_shared" if change in {"name", "both"} else "research_1d_shared" + prepared = (prepare_confined_shared_site_ion_device(positive_diffusivity_m2_s=2e-16) + if change in {"content", "both"} else registration.context.devices[0][1]) + context = replace(registration.context, devices=((device_id, prepared),)) + with pytest.raises(ValueError): + replace(registration, context=context) + with pytest.raises(ValueError): + ionic_jv_execution_catalog(context, ceiling=catalog.ceiling, + wall_profile_sha256=registration.wall_profile_sha256) + ordinary = replace(ionic_jv_execution_catalog(context, ceiling=catalog.ceiling), ceiling=resource_limits()) + body = example_submission() + body["input"]["device_id"] = device_id + body["limits"]["wall_seconds"] = 30. + assert ordinary.prepare(JobSubmission.model_validate(body))[0].limits.wall_seconds == 30. + body["limits"]["wall_seconds"] = 31. + with pytest.raises(ValueError, match="installed request wall ceiling"): + ordinary.prepare(JobSubmission.model_validate(body)) + with RunStore(tmp_path / "store") as store, pool(store, tmp_path / "work", ordinary) as owner: + with TestClient(create_app(store.root, job_service=JobService(ordinary, owner))) as client: + headers = {"X-Solarlab-Registry": ordinary.document.sha256, "X-Solarlab-Job-Schema": ordinary.schema.sha256} + for wall in (31., 128.): + body["limits"]["wall_seconds"] = wall + assert client.post("/jobs", json=body, headers=headers).status_code == 422 + assert store.events() == [] + + +def test_other_device_in_the_opted_in_catalog_keeps_its_default(catalog): + from examples.research_1d.shared_site_ionic_fixture import prepare_confined_shared_site_ion_device + registration = catalog.registrations[0] + context = replace(registration.context, devices=(*registration.context.devices, + ("other_shared", prepare_confined_shared_site_ion_device(positive_diffusivity_m2_s=2e-16)))) + combined = ionic_jv_execution_catalog(context, ceiling=catalog.ceiling, + wall_profile_sha256=registration.wall_profile_sha256) + body = example_submission() + assert combined.prepare(JobSubmission.model_validate(body))[0].limits.wall_seconds == 128. + body["input"]["device_id"] = "other_shared" + body["limits"]["wall_seconds"] = 31. + with pytest.raises(ValueError, match="wall_seconds"): + combined.prepare(JobSubmission.model_validate(body)) + body["limits"]["wall_seconds"] = 30. + assert combined.prepare(JobSubmission.model_validate(body))[0].limits.wall_seconds == 30. + + +def test_wall_profile_normalizes_locations_without_changing_prepared_identity(tmp_path, monkeypatch, catalog): + from examples.research_1d.shared_site_ionic_fixture import prepare_confined_shared_site_ion_device + from examples.research_1d.steady import load_device + registration = catalog.registrations[0] + source = tmp_path / "relocated-device.json" + source.write_bytes((ROOT / "examples/research_1d/device.json").read_bytes()) + monkeypatch.setattr("examples.research_1d.ionic_multilayer.load_device", lambda: load_device(source)) + prepared = prepare_confined_shared_site_ion_device() + original_sha = prepared.content_sha256 + assert original_sha != registration.context.devices[0][1].content_sha256 + context = replace(registration.context, devices=(("research_1d_shared", prepared),)) + assert context.registered_wall_profile() == registration.wall_profile_sha256 + relocated = ionic_jv_execution_catalog(context, ceiling=catalog.ceiling, + wall_profile_sha256=registration.wall_profile_sha256) + assert relocated.prepare(JobSubmission.model_validate(example_submission()))[0].limits.wall_seconds == 128. + assert prepared.content_sha256 == original_sha + + +@pytest.fixture(scope="module") +def wall_companions(implementation): + from ionic_jv_wall_fixtures import companions + return companions(implementation) + + +@pytest.mark.parametrize("kind", ["legacy", "ion_free", "ionic_transient", "two_dimensional"]) +@pytest.mark.parametrize("method", ["ionic_base", "other_base", "constructor"]) +@pytest.mark.parametrize("reverse", [False, True]) +def test_catalog_compositions_match_the_base_wall_oracle(catalog, wall_companions, kind, method, reverse): + from ionic_jv_wall_fixtures import admit, compose, submissions + oracle = json.loads((ROOT / "tests/runtime/fixtures/ionic_jv_wall_composition_baseline.json").read_text()) + assert oracle["base_commit"] == "cbec4788a0f83ae5c6c4719b1fd95c0fc037d09d" + combined = compose(catalog, wall_companions[kind], method, reverse) + assert combined.ceiling.wall_seconds == oracle["ordinary_ceilings"][kind] + for key, body in submissions(kind): + expected = oracle["admitted"][key] + if body["experiment_id"] == "ionic_steady_jv": + expected = True # The sole approved request; all sampled walls are <=128. + assert admit(combined, body) is expected, (method, reverse, key) + + +def test_historical_failed_fixture_retains_original_store_identity_and_http_reads(historical): + root, proof = historical + with RunStore(root, read_only=True) as store, TestClient(create_app(root)) as client: + assert store.store_id == proof["source_store_id"] + loaded = read_ionic_jv_job(store, FAILED_RUN, attempt_id=FAILED_ATTEMPT) + assert loaded["run_state"] == "failed" and loaded["document"]["accepted_count"] == 9 + assert loaded["document"]["first_failure"]["voltage_V"] == .225 + assert loaded["worker_result"].get("execution_catalog_sha256") is None + response = client.get(f"/results/{FAILED_RUN}/attempts/{FAILED_ATTEMPT}") + assert response.status_code == 200 and response.json()["state"] == "failed" + assert len(response.json()["artifacts"]) == 15 + with pytest.raises(ValueError, match="installed route"): + read_registered_ionic_jv_job(store, FAILED_RUN) + + +def test_coinstalled_steady_transient_and_ionic_routes_are_unchanged(catalog, implementation): + from examples.research_1d.ionic_transient_service import example_submission as ionic_submission, installed_catalog as ionic_catalog + from examples.research_1d.transient_service import installed_catalog as transient_catalog + from solarlab.experiments.registry import ExperimentRegistry + others = [ionic_catalog(implementation, implementation.build_source_commit), transient_catalog(implementation, implementation.build_source_commit)] + all_catalogs = [catalog, *others] + sources = {s.id: s for c in all_catalogs for s in c.sources} + registry = ExperimentRegistry(tuple(d for c in all_catalogs for d in c.registry.definitions)) + combined = replace(catalog, registry=registry, expected_registry_sha256=registry.content_sha256, + sources=tuple(sources.values()), registrations=tuple(r for c in all_catalogs for r in c.registrations)) + assert {b.id for b in combined.worker_bindings()} == {"registered_ionic_jv", "registered_ionic_transient", "registered_transient", "registered_steady"} + with pytest.raises(ValueError, match="explicit experiment_id"): + combined.worker_binding("solarlab") + body = example_submission() + body.update(experiment_id="steady_jv", input={"device_id": "research_1d", "voltage_V": [0., .05, .1], + "intervals_per_layer": 12, "generation_scale": 1., "incident_power_W_m2": None}) + body["limits"]["wall_seconds"] = 30. + spec, _ = combined.prepare(JobSubmission.model_validate(body)) + assert spec.worker_id == "registered_steady" + body["limits"]["wall_seconds"] = 31. + with pytest.raises(ValueError, match="service ceiling: wall_seconds"): + combined.prepare(JobSubmission.model_validate(body)) + other = ionic_submission() + other["limits"]["wall_seconds"] = 31. + with pytest.raises(ValueError, match="service ceiling: wall_seconds"): + combined.prepare(JobSubmission.model_validate(other)) + # The ion-free service has an existing 60 s policy; it is unchanged too. + assert others[0].ceiling.wall_seconds == 30. and others[1].ceiling.wall_seconds == 60. + + +@pytest.mark.parametrize("change", ["server", "model", "policy", "wall", "wall_profile", "wall_type"]) +def test_child_refuses_changed_registration_before_numerical_work(tmp_path, catalog, change): + spec, execution = catalog.prepare(JobSubmission.model_validate(example_submission())) + data = json.loads(catalog.document.content) + entry = data["bindings"][0] + if change == "server": + entry["preparation_context"]["server_sources"][0]["sha256"] = "0" * 64 + elif change == "model": + entry["model_registry_sha256"] = "0" * 64 + elif change == "policy": + entry["preparation_context"]["fixed_numerical_policy"]["controls"]["wall_s"] = 1. + elif change == "wall": + entry["whole_job_wall_allowance"]["wall_seconds"] = resource_limits().wall_seconds + 1 + elif change == "wall_profile": + entry["whole_job_wall_allowance"]["profile_sha256"] = "0" * 64 + else: + entry["whole_job_wall_allowance"]["wall_seconds"] = True + document = SourceDocument("changed-catalog", canonical(data)) + binding = replace(catalog.worker_binding("solarlab"), registry_sha256=document.sha256) + with RunStore(tmp_path / "store") as store, pool(store, tmp_path / "work", catalog, bindings=(binding,)) as owner: + handle = owner.submit("invalid", binding.id, replace(spec.request, registry=document), spec.limits, execution=execution) + receipt = owner.wait(handle, 15).data + assert receipt["store_state"] == "failed" and receipt["terminal_artifacts"] == [] + assert receipt["process_joined"] and receipt["process_exit_observed"] + assert not any(e["payload"].get("ui_progress", {}).get("stage", "").startswith("ionic_jv") for e in store.events(run_id="invalid", limit=1000)) + + +@pytest.mark.parametrize("change", ["name", "content", "absent_profile"]) +def test_child_rechecks_profile_authorization_before_numerical_work(tmp_path, catalog, change): + from examples.research_1d.shared_site_ionic_fixture import prepare_confined_shared_site_ion_device + registration = catalog.registrations[0] + device_id = "other_shared" if change == "name" else "research_1d_shared" + prepared = (prepare_confined_shared_site_ion_device(positive_diffusivity_m2_s=2e-16) + if change == "content" else registration.context.devices[0][1]) + context = replace(registration.context, devices=((device_id, prepared),)) + ordinary = ionic_jv_execution_catalog(context, ceiling=catalog.ceiling) + body = example_submission() + body["input"]["device_id"] = device_id + body["limits"]["wall_seconds"] = 30. + spec, execution = ordinary.prepare(JobSubmission.model_validate(body)) + data = json.loads(ordinary.document.content) + if change != "absent_profile": + data["bindings"][0]["whole_job_wall_allowance"] = { + "profile_sha256": registration.wall_profile_sha256, "wall_seconds": 128.} + document = SourceDocument("unapproved-wall-catalog", canonical(data)) + binding = replace(ordinary.worker_binding("solarlab"), registry_sha256=document.sha256) + with RunStore(tmp_path / "store") as store, pool(store, tmp_path / "work", ordinary, bindings=(binding,)) as owner: + handle = owner.submit("unapproved", binding.id, replace(spec.request, registry=document), + resource_limits(), execution=execution) + receipt = owner.wait(handle, 15).data + assert receipt["store_state"] == "failed" and receipt["terminal_artifacts"] == [] + assert receipt["process_joined"] and receipt["process_exit_observed"] + assert not any(e["payload"].get("ui_progress", {}).get("stage", "").startswith("ionic_jv") + for e in store.events(run_id="unapproved", limit=1000)) + directory = tmp_path / "work" / (store.store_id + "-" + handle.attempt_id) + result = json.loads((directory / "terminal.json").read_text())["result"] + assert result["reason"] == "worker_exception" and result["exception_type"] == "ValueError" + expected = "approved prepared device and recipe" if change == "content" else "wall<=30s" + assert expected in result["detail"] + save("ChildProfile-" + change + ".json", {"result": result, "receipt": receipt}) + + +def test_registered_child_rejects_a_different_v1_recipe(tmp_path, catalog): + from solarlab.config.identity import ExecutionEngine + from solarlab.experiments.jv.ionic_worker import IonicJVProtocol, prepare_ionic_jv_job + from solarlab_server.ionic_jv_preparation import _initial, _options + registration = catalog.registrations[0] + context = registration.context + declared = IonicJVJobInput.model_validate(example_submission()["input"]) + job = prepare_ionic_jv_job(context.device(declared.device_id), + IonicJVProtocol(tuple(declared.voltage_V), 2., declared.incident_power_W_m2), + intervals_per_layer=tuple(declared.intervals_per_layer), ion_domain_layer=context.ion_domain_layer, + ion_domain_endpoints=("blocking", "blocking"), options=_options(), initial=_initial(), + implementation=context.implementation, current_repository_head=context.current_repository_head, + engine=ExecutionEngine("solarlab")) + request = replace(job.request, registry=catalog.document, schema=catalog.schema) + with RunStore(tmp_path / "store") as store, pool(store, tmp_path / "work", catalog) as owner: + handle = owner.submit("wrong-recipe", catalog.worker_binding("solarlab").id, request, + resource_limits(), execution=job.execution) + receipt = owner.wait(handle, 15).data + assert receipt["store_state"] == "failed" and receipt["terminal_artifacts"] == [] + assert receipt["process_joined"] and receipt["process_exit_observed"] + directory = tmp_path / "work" / (store.store_id + "-" + handle.attempt_id) + result = json.loads((directory / "terminal.json").read_text())["result"] + assert result["reason"] == "worker_exception" and result["exception_type"] == "ValidationError" + assert "generation_scale" in result["detail"] + assert not any(e["payload"].get("ui_progress", {}).get("stage", "").startswith("ionic_jv") + for e in store.events(run_id="wrong-recipe", limit=1000)) + save("ChildRecipe.json", {"result": result, "receipt": receipt}) + + +def test_direct_submit_and_raw_binding_keep_the_30_second_ceiling(tmp_path, catalog): + from solarlab.experiments.jv.ionic_worker import ionic_jv_worker_binding + job = prepare_ionic_jv_input(IonicJVJobInput.model_validate(example_submission()["input"]), + catalog.registrations[0].context) + for wall in (31., 128.): + with pytest.raises(ValueError, match="wall<=30s"): + job.submit(None, "direct-too-large", replace(resource_limits(), wall_seconds=wall)) + binding = ionic_jv_worker_binding() + with RunStore(tmp_path / "store") as store, pool(store, tmp_path / "work", catalog, bindings=(binding,)) as owner: + handle = owner.submit("raw-too-large", binding.id, job.request, resource_limits(), execution=job.execution) + receipt = owner.wait(handle, 15).data + assert receipt["store_state"] == "failed" and receipt["terminal_artifacts"] == [] + assert receipt["process_joined"] and receipt["process_exit_observed"] + directory = tmp_path / "work" / (store.store_id + "-" + handle.attempt_id) + result = json.loads((directory / "terminal.json").read_text())["result"] + assert result["reason"] == "worker_exception" and result["exception_type"] == "ValueError" + assert "wall<=30s" in result["detail"] + assert not any(e["payload"].get("ui_progress", {}).get("stage", "").startswith("ionic_jv") + for e in store.events(run_id="raw-too-large", limit=1000)) + save("RawBinding.json", {"result": result, "receipt": receipt}) + + +def test_existing_exact_queue_cancellation_has_no_ionic_curve(tmp_path, catalog): + spec, execution = catalog.prepare(JobSubmission.model_validate(example_submission())) + hold = WorkerBinding.from_function("queue_fixture", _hold, registry_sha256=catalog.document.sha256, schema_sha256=catalog.schema.sha256) + with RunStore(tmp_path / "store") as store, pool(store, tmp_path / "work", catalog, bindings=(*catalog.worker_bindings(), hold)) as owner: + blocker = owner.submit("blocker", hold.id, spec.request, spec.limits, execution=execution) + deadline = time.monotonic() + 10 + while not any(e["payload"].get("ui_progress", {}).get("stage") == "queue_fixture_ready" for e in store.events(run_id="blocker", limit=1000)): + assert time.monotonic() < deadline + time.sleep(.01) + with TestClient(create_app(store.root, job_service=JobService(catalog, owner))) as client: + headers = {"X-Solarlab-Registry": catalog.document.sha256, "X-Solarlab-Job-Schema": catalog.schema.sha256} + response = client.post("/jobs", json=example_submission("queued-jv"), headers=headers) + assert response.status_code == 202 + selected = response.json() + row = store.get_run("queued-jv") + url = f"/jobs/queued-jv/attempts/{row['current_attempt_id']}/cancel" + assert client.post(url, json={"expected_generation": row["generation"] + 1, "reason": "stale"}).status_code == 409 + assert client.post(url, json={"expected_generation": row["generation"], "reason": "cancel queued"}).status_code == 200 + receipt = owner.wait(JobHandle(store.store_id, "queued-jv", row["current_attempt_id"]), 5).data + result = client.get(selected["result_url"]).json() + assert result["state"] == "cancelled" and result["artifacts"] == [] and not receipt["process_started"] + assert len(terminal_events(store, "queued-jv")) == 1 + assert owner.cancel(blocker) + closed = owner.wait(blocker, 5).data + assert closed["process_joined"] and closed["process_exit_observed"] + save("QueuedCancellation.json", {"receipt": receipt, "hold_receipt": closed, "new_numerical_jobs": 0}) + + +def test_actual_fixed51_http_outcome_and_historical_failure_truth(actual): + """A fixed25s wave may preserve a budget prefix on a slower CI host.""" + assert actual["new_numerical_submissions"] == 1 and actual["service_exit_code"] == 0 and actual["port_closed"] + assert actual["closure"] == {"service_closed": True, "read_handle_closed": True, "process_owner_closed": True} + failed, current = actual["cases"] + assert failed["run_id"] == FAILED_RUN and failed["attempt_id"] == FAILED_ATTEMPT + assert failed["result"]["state"] == "failed" and len(failed["accepted_voltage_V"]) == 9 + assert failed["first_failure"]["voltage_V"] == .225 and not failed["registered_http"] + assert failed["result"]["result"]["worker_result"].get("execution_catalog_sha256") is None + worker = current["result"]["result"]["worker_result"] + assert worker["execution_catalog_sha256"] == actual["submission_headers"]["x-solarlab-registry"] + with RunStore(Path(actual["store"]), read_only=True) as store: + loaded = read_registered_ionic_jv_job(store, current["run_id"], attempt_id=current["attempt_id"]) + summary, raw = loaded["document"], loaded["diagnostics"] + requested = [tick / 40. for tick in range(51)] + count = summary["accepted_count"] + assert loaded["arrays"]["requested_voltage_V"].tolist() == requested + assert loaded["arrays"]["voltage_V"].tolist() == requested[:count] == current["accepted_voltage_V"] + assert raw["controls"]["wall_s"] == 25. and raw["controls"]["max_points"] == 51 + assert raw["initial_recipe"]["policy"] == "dark_direct_density_seed_v1" + attempts = raw["curve"]["attempts"] + assert all(point["index"] == i and point["voltage_V"] == requested[i] + and point["accepted"] == (i < count) for i, point in enumerate(attempts)) + counts = summary["computation_counts"] + assert counts["cold_steady"]["solver_calls"] == counts["illumination"]["coupled_solver_calls"] == 1 + assert counts["illumination"]["component_solver_calls"] == 0 and counts["illumination"]["density_preparation_calls"] == 1 + if current["result"]["state"] == "succeeded": + assert count == len(attempts) == 51 and summary["outcome"] == "completed" + assert summary["first_failure"] is None and counts["curve"]["solver_calls"] == 51 + else: + # Only this diagnosed computation limit is an admissible partial result. + # Numerical errors, initialization failures and unknown causes still fail. + assert current["result"]["state"] == "failed" and summary["outcome"] == "partial" + assert worker["reason"] == summary["reason"] == "wall_budget_exhausted", summary + assert 0 < count < 51 and len(attempts) == count + 1 + first = summary["first_failure"] + assert first["index"] == count and first["voltage_V"] == requested[count] + assert first["termination"] == "wall_budget_exhausted" and attempts[-1]["termination"] == "wall_budget_exhausted" + assert first["solver_called"] in (True, False) + assert counts["curve"]["solver_calls"] == count + int(first["solver_called"]) + assert len(requested[len(attempts):]) == 51 - count - 1 + assert counts["total_solver_calls"] == counts["curve"]["solver_calls"] + 2 + assert worker["ionic_jv_result"]["physical_certificate_status"] == "not_evaluated" + assert worker["ionic_jv_result"]["metrics"]["efficiency"] is None + assert worker["scientific_qualification"] is False + assert current["attempt_id"] == actual["reopened_attempt_id"] + receipt = current["receipt"] + assert receipt["proposed_state"] == receipt["store_state"] == current["result"]["state"] + assert receipt["commit_error"] is None and receipt["publication_error"] is None + assert receipt["resources"]["observed_limit_violations"] == [] and receipt["resources"]["owned_wall_seconds"] <= resource_limits().wall_seconds + assert all(c["terminal_count"] == 1 and len(c["payloads"]) == 15 and len(c["logical_arrays"]) == 23 for c in actual["cases"]) + + +def test_saved_full51_http_success_remains_readable(tmp_path_factory): + """A genuine complete HTTP result stays covered independent of host speed.""" + folder, proof = extract_saved_ionic_jv_fixture(tmp_path_factory) + original, = [case for case in proof["cases"] if case["registered_http"]] + root = folder / "Store" + with TestClient(create_app(root)) as client: + observed = observe_http_case(client, root, original["run_id"], original["attempt_id"], registered=True) + assert observed["result"]["state"] == original["state"] == "succeeded" + assert len(observed["accepted_voltage_V"]) == original["accepted_count"] == 51 and observed["first_failure"] is None + worker = observed["result"]["result"]["worker_result"] + assert worker["capture"]["result_sha256"] == original["result_sha256"] + assert worker["manifest_sha256"] == original["manifest_sha256"] + assert worker["ionic_jv_result"]["computation_counts"]["total_solver_calls"] == 53 + assert worker["scientific_qualification"] is False and worker["ionic_jv_result"]["metrics"]["efficiency"] is None + for name, actual_array in observed["logical_arrays"].items(): + assert all(actual_array[key] == original["logical_arrays"][name][key] for key in ("sha256", "shape", "unit")) + + +def test_registered_and_historical_http_readers_forbid_numerical_imports(actual, tmp_path): + code = ''' +import hashlib,importlib.abc,json,pathlib,sys +sys.path.insert(0,sys.argv[1]) +class NoSolver(importlib.abc.MetaPathFinder): + def find_spec(self,fullname,path=None,target=None): + if any(fullname==n or fullname.startswith(n+'.') for n in ('solarlab.solvers','solarlab.equations', + 'solarlab.device.compile_1d','solarlab.device.compile_ionic_1d','solarlab.experiments.ionic_transient', + 'solarlab.experiments.ionic_initialization','solarlab.experiments.jv.ionic_steady','perovskite_sim')): + raise AssertionError('saved reader imported solver: '+fullname) +sys.meta_path.insert(0,NoSolver()) +from fastapi.testclient import TestClient +from solarlab.io.run_store import RunStore +from solarlab.experiments.jv.ionic_worker import read_ionic_jv_job +from solarlab_server.ionic_jv_preparation import read_registered_ionic_jv_job +from solarlab_server.app import create_app +root=pathlib.Path(sys.argv[2]) +with RunStore(root,read_only=True) as store,TestClient(create_app(root)) as client: + for name,registered in json.loads(sys.argv[3]): + reader=read_registered_ionic_jv_job if registered else read_ionic_jv_job + loaded=reader(store,name) + attempt=loaded['document']['attempt_id'] + assert client.get('/results/'+name+'/attempts/'+attempt).json()['state']==loaded['run_state'] + print(json.dumps({'run_id':name,'arrays':{k:hashlib.sha256(a.tobytes()).hexdigest() for k,a in loaded['arrays'].items()}})) +''' + names = [[c["run_id"], c["registered_http"]] for c in actual["cases"]] + result = subprocess.run([sys.executable, "-I", "-B", "-c", code, str(ROOT / "src"), actual["store"], json.dumps(names)], + cwd=tmp_path, capture_output=True, text=True, timeout=25) + assert result.returncode == 0, result.stderr + for line, case in zip(result.stdout.splitlines(), actual["cases"], strict=True): + assert json.loads(line)["arrays"] == {k: v["sha256"] for k, v in case["logical_arrays"].items()} + save("SolverFreeRead.json", {"exit_code": result.returncode, "stdout": result.stdout, "stderr": result.stderr, "new_numerical_jobs": 0}) + + +@pytest.mark.parametrize("change", ["model", "implementation", "context_head"]) +def test_coherent_catalog_claims_cannot_override_computation_manifest(actual, tmp_path, change): + """Alter both catalog/wrapper claims; the original computation stays pinned.""" + success = actual["cases"][1] + with RunStore(Path(actual["store"]), read_only=True) as original: + run = original.get_run(success["run_id"]) + attempt = next(a for a in original.attempts(success["run_id"]) if a["attempt_id"] == success["attempt_id"]) + result = attempt["result"] + objects = [(original.artifact(r["artifact_id"]), original.read_artifact(r["artifact_id"])) for r in attempt["terminal"]["artifacts"]] + metadata = run["request"]["input_metadata"] + transport = WorkerRequest.from_bytes(canonical(metadata["transport"])) + catalog = json.loads(transport.registry.content) + entry = next(e for e in catalog["bindings"] if e["driver"] == "ionic_steady_jv") + if change == "model": + entry["model_registry_sha256"] = "0" * 64 + result["worker_result"]["registered_model_registry_sha256"] = "0" * 64 + elif change == "implementation": + entry["preparation_context"]["implementation"]["build_source_commit"] = "0" * 40 + else: + entry["preparation_context"]["current_repository_head"] = "0" * 40 + document = SourceDocument(transport.registry.id, canonical(catalog)) + transport = replace(transport, registry=document) + metadata["transport"] = transport.to_document() + result["worker_result"]["execution_catalog_sha256"] = document.sha256 + with RunStore(tmp_path / "tampered") as store: + row = store.enqueue("tampered", opaque_identity=run["request"]["identity"], input_metadata=metadata) + token = store.claim("tampered", expected_attempt_id=row["current_attempt_id"], expected_generation=row["generation"], owner_id="read-fixture") + ids = [store.publish(token, item["name"], ArtifactPayload(raw, item["format"], _json_document(item["metadata"])))["artifact_id"] + for item, raw in objects] + store.complete(token, state="succeeded", result=result, artifacts=ids) + with pytest.raises(ValueError): + read_registered_ionic_jv_job(store, "tampered") diff --git a/tests/runtime/test_ionic_jv_worker.py b/tests/runtime/test_ionic_jv_worker.py new file mode 100644 index 00000000..625f98d3 --- /dev/null +++ b/tests/runtime/test_ionic_jv_worker.py @@ -0,0 +1,398 @@ +"""Pinned full curves for readback; one small fresh process for lifecycle checks.""" +from dataclasses import replace +import hashlib +import json +import os +from pathlib import Path +import subprocess +import sys +import time +import shutil +import tarfile + +import numpy as np +import pytest + + +from examples.research_1d.process_ionic_jv import example_job, source_build +from solarlab.experiments.execution import ProcessSupervisor +from solarlab.experiments.jv.ionic_results import INITIAL, RAW, _diagnostic_payload, _parse_diagnostics, result_digest +from solarlab.experiments.jv.ionic_worker import IonicJVInitial, IonicJVProtocol, ionic_jv_worker_binding, read_ionic_jv_job +from solarlab.experiments.transient_results import _decode, _encode +from solarlab.experiments.worker import ResourceLimits, WorkerBinding, WorkerRequest +from solarlab.io.artifacts import ArtifactIntegrityError, ArtifactPayload, _json_document +from solarlab.io.run_store import RunStore +from solarlab.materials.source import SourceDocument + +pytestmark = pytest.mark.requires_clean_core + +ROOT = Path(__file__).resolve().parents[2] +NAMES = ("ionic-jv-completed-v2", "ionic-jv-failed-prefix") +SAVED_FIXTURE_SHA256 = "a6943873f88889bf29b63e5a863031ce178b97f953df60bfd33e4007759d91ed" + + +def limits(): + return ResourceLimits(30., 1536 * 1024**2, 96 * 1024**2, None, None) + + +def pool(store, work, bindings=None): + return ProcessSupervisor(store, work, bindings or (ionic_jv_worker_binding(),), max_active=1, max_pending=1, + shared_rss_bytes=3 * 1024**3, shared_output_bytes=384 * 1024**2, + poll_seconds=.01, soft_grace_seconds=.1, terminate_grace_seconds=.1) + + +def unexpected_outcome(receipt, work): + """Retain the actual child reason before pytest abbreviates a large receipt.""" + worker = receipt.get("worker_result") or {} + curve = worker.get("ionic_jv_result") or {} + diagnostic = {key: receipt.get(key) for key in ( + "run_id", "attempt_id", "store_state", "proposed_state", "exitcode", + "process_joined", "process_exit_observed", "commit_error", "publication_error", "resources", "signals")} + diagnostic["worker_reason"] = worker.get("reason") + diagnostic["curve"] = {key: curve.get(key) for key in ( + "outcome", "reason", "accepted_count", "attempt_count", "first_failure", "computation_counts")} + text = json.dumps(diagnostic, indent=2, sort_keys=True) + if target := os.environ.get("SOLARLAB_IONIC_JV_DIAGNOSTICS"): + destination = Path(target) / receipt["attempt_id"] + destination.mkdir(parents=True, exist_ok=True) + (destination / "outcome.json").write_text(text + "\n") + for directory in Path(work).glob("*-" + receipt["attempt_id"]): + for name in ("receipt.json", "terminal.json"): + if (directory / name).is_file(): + shutil.copyfile(directory / name, destination / name) + return text + + +@pytest.fixture(scope="module") +def implementation(): + commit = os.environ.get("SOLARLAB_IONIC_JV_COMMIT") or subprocess.check_output( + ["git", "rev-parse", "HEAD"], cwd=ROOT, text=True, timeout=5).strip() + archive = os.environ.get("SOLARLAB_IONIC_JV_ARCHIVE") + return source_build(commit, Path(archive) if archive else None) + + +@pytest.fixture(scope="module") +def job(implementation): + return example_job(implementation) + + +def extract_saved_ionic_jv_fixture(tmp_path_factory): + """Extract original process/HTTP results without starting a worker.""" + archive = Path(__file__).parent / "fixtures/ionic_jv_saved_results.tar.gz" + assert hashlib.sha256(archive.read_bytes()).hexdigest() == SAVED_FIXTURE_SHA256 + folder = tmp_path_factory.mktemp("ionic-jv-saved").resolve() + with tarfile.open(archive) as bundle: + assert sum(item.size for item in bundle.getmembers()) < 64 * 1024**2 + bundle.extractall(folder, filter="data") + proof = json.loads((folder / "Fixture.json").read_text()) + assert proof["derived_sqlite_subset"] and not proof["whole_original_store_byte_identity"] + assert proof["new_solver_calls"] == 0 + for name, digest in proof["files"].items(): + assert hashlib.sha256((folder / name).read_bytes()).hexdigest() == digest + assert (folder / "Store/partial").is_dir() and (folder / "Store/.writer.lock").is_file() + return folder, proof + + +@pytest.fixture(scope="module") +def saved(tmp_path_factory): + if path := os.environ.get("SOLARLAB_IONIC_JV_STORE"): + root = Path(path).resolve() + return root, Path(os.environ.get("SOLARLAB_IONIC_JV_WORK", str(root.parent / "work"))) + root, proof = extract_saved_ionic_jv_fixture(tmp_path_factory) + assert [(case["run_id"], case["attempt_id"]) for case in proof["cases"][:2]] == [ + (NAMES[0], "a4819e294bc14674bbe9638a823179ec"), + (NAMES[1], "08b9019bf98a4978b72ed612279742bd"), + ] + return root / "Store", root / "Work" + + +def test_small_actual_process_lifecycle(tmp_path, implementation): + """Three explicit voltages exercise execution, not full51 host performance.""" + from examples.research_1d.ionic_steady import controls + from examples.research_1d.shared_site_ionic_fixture import prepare_confined_shared_site_ion_device + from solarlab.config.identity import ExecutionEngine + from solarlab.experiments.jv.ionic_steady import IonicSteadyJVOptions + from solarlab.experiments.jv.ionic_worker import prepare_ionic_jv_job + + requested = (0., .025, .05) + job = prepare_ionic_jv_job(prepare_confined_shared_site_ion_device(), IonicJVProtocol(requested, 1., None), + intervals_per_layer=(12, 12, 12), ion_domain_layer="absorber", ion_domain_endpoints=("blocking", "blocking"), + options=IonicSteadyJVOptions(controls(13), max_points=51, wall_s=25.), + initial=IonicJVInitial("dark_direct_density_seed_v1", .002, 25.), implementation=implementation, + current_repository_head=implementation.build_source_commit, engine=ExecutionEngine("solarlab")) + with RunStore(tmp_path / "store") as store: + with pool(store, tmp_path / "work") as supervisor: + handle = job.submit(supervisor, "ionic-jv-three-point-lifecycle", limits()) + receipt = supervisor.wait(handle, 40).data + assert receipt["store_state"] == "succeeded", unexpected_outcome(receipt, tmp_path / "work") + assert receipt["process_started"] and receipt["process_joined"] and receipt["process_exit_observed"] + assert receipt["exitcode"] == 0 and receipt["signals"] == [] and receipt["terminal_committed"] + assert receipt["commit_error"] is None and receipt["publication_error"] is None + assert receipt["resources"]["owned_wall_seconds"] <= 30 and receipt["resources"]["observed_limit_violations"] == [] + with pytest.raises(ChildProcessError): + os.waitpid(receipt["pid"], os.WNOHANG) + loaded = read_ionic_jv_job(store, handle.run_id, attempt_id=handle.attempt_id) + assert loaded["arrays"]["requested_voltage_V"].tolist() == list(requested) + assert loaded["arrays"]["voltage_V"].tolist() == list(requested) + assert loaded["document"]["accepted_count"] == 3 and loaded["document"]["first_failure"] is None + counts = loaded["document"]["computation_counts"] + assert counts["cold_steady"]["solver_calls"] == counts["illumination"]["coupled_solver_calls"] == 1 + assert counts["illumination"]["component_solver_calls"] == 0 and counts["illumination"]["density_preparation_calls"] == 1 + assert counts["curve"]["solver_calls"] == 3 and counts["total_solver_calls"] == 5 + assert loaded["worker_result"]["scientific_qualification"] is False + assert loaded["document"]["physical_certificate_status"] == "not_evaluated" + assert len(loaded["arrays"]) == 23 and len(loaded["stored_arrays"]) == 12 + attempt, = store.attempts(handle.run_id) + assert len(attempt["terminal"]["artifacts"]) == 15 + assert len([event for event in store.events(run_id=handle.run_id, limit=1000) if event["kind"] == "terminal"]) == 1 + + +@pytest.mark.parametrize("name,state", [(NAMES[0], "succeeded"), (NAMES[1], "failed")]) +def test_saved_full_curve_exact_arrays_metrics_initial_calls_and_single_terminal(saved, name, state): + root, work = saved + with RunStore(root, read_only=True) as store: + loaded = read_ionic_jv_job(store, name) + attempt, = store.attempts(name) + directory = work / (store.store_id + "-" + attempt["attempt_id"]) + receipt = json.loads((directory / "receipt.json").read_text()) + assert loaded["run_state"] == receipt["store_state"] == state and receipt["exitcode"] == 0 + assert receipt["process_joined"] and receipt["process_exit_observed"] and receipt["terminal_committed"] + assert receipt["resources"]["owned_wall_seconds"] <= 30 and receipt["signals"] == [] + # Historical receipts describe the original process; their PIDs are not + # evidence about processes running on the current test host. + assert len([e for e in store.events(run_id=name, limit=1000) if e["kind"] == "terminal"]) == 1 + assert len(attempt["terminal"]["artifacts"]) == 15 + assert len(loaded["stored_arrays"]) == 12 and len(loaded["arrays"]) == 23 + curve, summary, arrays = loaded["diagnostics"]["curve"], loaded["document"], loaded["arrays"] + count = summary["accepted_count"] + assert arrays["requested_voltage_V"].tolist() == [tick / 40. for tick in range(51)] + assert arrays["potential_V"].shape == (count, 37) and arrays["state_coordinates"].shape == (count, 137) + for species in ("positive", "negative"): + assert arrays[species + "_ion_density_m3"].shape == (count, 13) + assert arrays[species + "_ion_inventory_m2"].shape == (count,) + assert arrays["total_current_density_A_m2"].shape == (count, 38) + assert arrays["terminal_total_current_density_A_m2"].shape == (count, 2) + assert np.array_equal(arrays["output_current_A_m2"], -curve["voltage_polarity"] * arrays["total_current_density_A_m2"][:, 0]) + assert summary["ion_site_contract"] == "shared_finite_sites" + assert summary["physical_certificate_status"] == summary["voltage_grid_qualification"] == "not_evaluated" + assert summary["incident_power_W_m2"] is None and summary["metrics"]["efficiency"] is None + assert loaded["worker_result"]["scientific_qualification"] is False and not loaded["manifest"]["can_execute"] + counts = summary["computation_counts"] + assert counts["illumination"]["component_solver_calls"] == 0 + if state == "succeeded": + assert count == 51 and summary["first_failure"] is None + assert counts["cold_steady"]["solver_calls"] == counts["illumination"]["coupled_solver_calls"] == 1 + assert counts["illumination"]["density_preparation_calls"] == 1 + assert counts["total_solver_calls"] == 53 + assert summary["metrics"]["open_circuit_voltage_V"] is not None + else: + assert 0 < count < 51 and len(curve["attempts"]) == count + 1 + assert curve["attempts"][-1]["accepted"] is False + assert summary["first_failure"]["termination"] == "wall_budget_exhausted" + assert summary["initial_policy"] == "saved_accepted" + assert counts["cold_steady"]["solver_calls"] == counts["illumination"]["coupled_solver_calls"] == 0 + assert counts["total_solver_calls"] == curve["solver_calls"] + child = json.loads((directory / "terminal.json").read_text()) + by_name = {store.artifact(ref["artifact_id"])["name"]: store.artifact(ref["artifact_id"]) for ref in attempt["terminal"]["artifacts"]} + for payload in child["artifacts"]: + item = by_name[payload["name"]] + original = (directory / payload["file"]).read_bytes() + assert original == store.read_artifact(item["artifact_id"]) + assert hashlib.sha256(original).hexdigest() == payload["sha256"] == item["sha256"] + if state == "succeeded": + # Regression: full raw51-point history is an artifact, not1MiB metadata. + assert len(store.read_artifact(by_name[RAW]["artifact_id"])) > 2**20 + with pytest.raises(ValueError, match="committed"): + read_ionic_jv_job(store, name, attempt_id="absent-attempt") + + +def test_saved_initial_is_exact_and_not_relabelled(saved): + with RunStore(saved[0], read_only=True) as store: + success, failed = (read_ionic_jv_job(store, name) for name in NAMES) + assert success["initial_bytes"] == failed["initial_bytes"] + assert success["document"]["compiled_identity"] == failed["document"]["compiled_identity"] + assert success["diagnostics"]["controls"]["steady"] == failed["diagnostics"]["controls"]["steady"] + assert success["diagnostics"]["controls"]["wall_s"] == 25. + assert failed["diagnostics"]["controls"]["wall_s"] == 1. + + +def test_fresh_solver_blocked_reader_preserves_every_array_word(saved, tmp_path): + code = ''' +import hashlib, importlib.abc, json, pathlib, sys +sys.path.insert(0,sys.argv[1]) +class NoSolver(importlib.abc.MetaPathFinder): + def find_spec(self,fullname,path=None,target=None): + if any(fullname==n or fullname.startswith(n+'.') for n in ( + 'solarlab.solvers','solarlab.equations','solarlab.device.compile_1d','solarlab.device.compile_ionic_1d', + 'solarlab.experiments.ionic_transient','solarlab.experiments.ionic_initialization', + 'solarlab.experiments.jv.ionic_steady','perovskite_sim')): + raise AssertionError('solver import: '+fullname) +sys.meta_path.insert(0,NoSolver()) +from solarlab.experiments.jv.ionic_worker import read_ionic_jv_job +from solarlab.io.run_store import RunStore +with RunStore(pathlib.Path(sys.argv[2]),read_only=True) as store: + for name in sys.argv[3:]: + loaded=read_ionic_jv_job(store,name) + print(json.dumps({'run_id':name,'state':loaded['run_state'],'arrays':{ + k:hashlib.sha256(a.tobytes()).hexdigest() for k,a in loaded['arrays'].items()}})) +''' + result = subprocess.run([sys.executable, "-I", "-B", "-c", code, str(ROOT / "src"), str(saved[0]), *NAMES], + cwd=tmp_path, capture_output=True, text=True, timeout=20) + assert result.returncode == 0, result.stderr + with RunStore(saved[0], read_only=True) as store: + for line in result.stdout.splitlines(): + read = json.loads(line) + loaded = read_ionic_jv_job(store, read["run_id"]) + assert read["arrays"] == {k: hashlib.sha256(a.tobytes()).hexdigest() for k, a in loaded["arrays"].items()} + + +def reseal(saved, target, change): + with RunStore(saved[0], read_only=True) as original: + run = original.get_run(NAMES[1]) + attempt, = original.attempts(NAMES[1]) + result = attempt["result"] + items = [(original.artifact(ref["artifact_id"]), original.read_artifact(ref["artifact_id"])) for ref in attempt["terminal"]["artifacts"]] + with RunStore(target) as store: + row = store.enqueue("fixture", opaque_identity=run["request"]["identity"], input_metadata=run["request"]["input_metadata"]) + token = store.claim("fixture", expected_attempt_id=row["current_attempt_id"], expected_generation=row["generation"], owner_id="reader-fixture") + ids, payloads = [], {} + for item, data in items: + if change == "unit" and item["name"] == "potential_V": + item["metadata"]["unit"] = "wrong" + if change == "component-order" and item["name"] == "current_density_A_m2": + item["metadata"]["components"].reverse() + if item["name"] == RAW and change in {"counts", "nonfinite-accepted", "metrics", "protocol", "initial-controls", "polarity"}: + raw = _decode(json.loads(data)) + if change == "counts": + raw["curve"]["solver_calls"] += 1 + elif change == "nonfinite-accepted": + raw["curve"]["attempts"][0]["solution"]["diagnostics"]["current_spread_A_m2"] = float("nan") + elif change == "metrics": + raw["curve"]["metrics"]["efficiency"] = .9 + elif change == "protocol": + raw["protocol"]["generation_scale"] = 2. + elif change == "initial-controls": + raw["controls"]["steady"]["budget"]["max_iterations"] = 1 + elif change == "polarity": + raw["curve"]["voltage_polarity"] *= -1 + data = json.dumps(_encode(raw), allow_nan=False).encode() + payload = ArtifactPayload(data, item["format"], _json_document(item["metadata"])) + if item["name"] != "execution_manifest": + payloads[item["name"]] = payload + result["worker_result"]["payloads"][item["name"]] = {"sha256": payload.sha256, "format": payload.format, "metadata": item["metadata"]} + ids.append(store.publish(token, item["name"], payload)["artifact_id"]) + worker = result["worker_result"] + worker["capture"]["result_sha256"] = result_digest(worker["ionic_jv_result"], payloads) + if change == "initial-binding": + worker["capture"]["initial_artifact_sha256"] = "0" * 64 + if change == "source-binding": + worker["capture"]["source_sha256"]["solarlab/experiments/jv/ionic_steady.py"] = "0" * 64 + store.complete(token, state="succeeded" if change == "false-success" else "failed", result=result, artifacts=ids) + if change == "terminal-reference": + terminal = store.attempts("fixture")[0]["terminal"] + terminal["artifacts"][0]["manifest_sha256"] = "0" * 64 + store._db.execute("UPDATE attempts SET terminal_json=? WHERE attempt_id=?", (_json_document(terminal), token.attempt_id)) + if change == "corrupt-bytes": + path = target / store.artifact(ids[0])["relative_path"] + data = bytearray(path.read_bytes()) + data[-1] ^= 1 + path.write_bytes(data) + + +@pytest.mark.parametrize("change", ["unit", "component-order", "counts", "nonfinite-accepted", "metrics", "protocol", + "initial-controls", "initial-binding", "source-binding", "false-success", "terminal-reference", "corrupt-bytes", "polarity"]) +def test_resealed_or_corrupt_curve_is_rejected(saved, tmp_path, change): + reseal(saved, tmp_path / "store", change) + with RunStore(tmp_path / "store", read_only=True) as store, pytest.raises((ValueError, ArtifactIntegrityError)): + read_ionic_jv_job(store, "fixture") + + +def test_lossless_failed_words_remain_distinct_from_missing(): + words = np.asarray([np.nan, np.inf, -np.inf, -0.]) + data = _decode(json.loads(json.dumps(_encode({"failed_trial": words, "missing": None}), allow_nan=False))) + assert data["failed_trial"].tobytes() == words.tobytes() and data["missing"] is None + + +def test_raw_artifact_above_metadata_ceiling_roundtrips_without_computation(tmp_path): + raw = {"codec_fixture": [np.arange(20000, dtype=np.float64) for _ in range(10)], + "failed_words": np.asarray([np.nan, np.inf, -0.]), "missing": None} + payload = _diagnostic_payload(raw, {"schema": "codec_fixture_only"}) + assert len(payload.data) > 2**20 + with pytest.raises(ValueError, match="metadata"): + _json_document({"large": "x" * 2**20}) + with RunStore(tmp_path / "store") as store: + identity = {"H_input": "1" * 64, "H_physics": "2" * 64, "H_execution": "3" * 64} + row = store.enqueue("codec-fixture", opaque_identity=identity, input_metadata={"fixture_only": True}) + token = store.claim("codec-fixture", expected_attempt_id=row["current_attempt_id"], expected_generation=row["generation"], owner_id="codec-fixture") + artifact = store.publish(token, "raw-fixture", payload) + store.complete(token, state="succeeded", result={"fixture_only": True, "solver_calls": 0}, artifacts=[artifact["artifact_id"]]) + data = store.read_artifact(artifact["artifact_id"]) + assert data == payload.data and hashlib.sha256(data).hexdigest() == payload.sha256 + decoded = _parse_diagnostics(data) + assert all(a.tobytes() == b.tobytes() for a, b in zip(decoded["codec_fixture"], raw["codec_fixture"])) + assert decoded["failed_words"].tobytes() == raw["failed_words"].tobytes() and decoded["missing"] is None + + +@pytest.mark.parametrize("data", [b'{"x":1,"x":2}', b'{"x":NaN}', b'{"x":Infinity}', b'{"x":1e999}', b'{"x":"\\ud800"}']) +def test_raw_json_duplicate_or_nonfinite_words_are_refused(data): + with pytest.raises(ValueError): + _parse_diagnostics(data) + + +def _hold_slot(request, context): + """Ownership fixture only; never a substitute for a native computation.""" + context.progress({"stage": "hold_ready"}) + while True: + context.check_cancel() + time.sleep(.005) + + +def test_queued_cancel_has_one_terminal_and_no_curve(tmp_path, job): + data = SourceDocument("hold", b'{"hold":true}') + request = WorkerRequest(data, data, data, data, data.sha256, data.sha256) + held = WorkerBinding.from_function("ionic_jv_hold", _hold_slot, registry_sha256=data.sha256, schema_sha256=data.sha256) + with RunStore(tmp_path / "store") as store, pool(store, tmp_path / "work", (held, ionic_jv_worker_binding())) as owner: + blocker = owner.submit("blocker", held.id, request, limits()) + deadline = time.monotonic() + 8 + while not any(e["payload"].get("ui_progress", {}).get("stage") == "hold_ready" for e in store.events(run_id="blocker", limit=1000)): + assert time.monotonic() < deadline + time.sleep(.01) + queued = job.submit(owner, "queued", limits()) + assert store.get_run(queued.run_id)["state"] == "queued" and owner.cancel(queued) + receipt = owner.wait(queued, 5).data + assert receipt["store_state"] == "cancelled" and receipt["process_started"] is False + attempt, = store.attempts(queued.run_id) + assert attempt["terminal"]["artifacts"] == [] + assert len([e for e in store.events(run_id=queued.run_id, limit=1000) if e["kind"] == "terminal"]) == 1 + assert not owner.cancel(queued) + with pytest.raises(ValueError, match="committed"): + read_ionic_jv_job(store, queued.run_id) + assert owner.cancel(blocker) + closed = owner.wait(blocker, 5).data + assert closed["process_joined"] and closed["process_exit_observed"] + + +def test_explicit_protocol_initial_hash_and_whole_job_limits(job): + job.execution.validate_request(job.request) + assert len(job.execution.manifest.canonical_json) > 4 * 1024**2 + for values in ((0., 0.), (0., float("nan")), ()): + with pytest.raises(ValueError): + IonicJVProtocol(values, 1., None) + with pytest.raises(ValueError): + IonicJVProtocol((0., .025), 0., None) + with pytest.raises(ValueError, match="SHA-256"): + IonicJVInitial("saved_accepted", .002, 25., b'{}', "0" * 64) + for bound in (replace(limits(), calls=1), replace(limits(), accepted_steps=1), replace(limits(), wall_seconds=31.)): + with pytest.raises(ValueError, match="wall<=30s"): + job.submit(None, "invalid", bound) + + +def test_initial_artifact_is_not_a_synthesized_complete_curve(saved): + with RunStore(saved[0], read_only=True) as store: + loaded = read_ionic_jv_job(store, NAMES[1]) + refs = store.attempts(NAMES[1])[0]["terminal"]["artifacts"] + initial = next(store.artifact(r["artifact_id"]) for r in refs if store.artifact(r["artifact_id"])["name"] == INITIAL) + assert store.read_artifact(initial["artifact_id"]) == loaded["initial_bytes"] + value = json.loads(loaded["initial_bytes"]) + assert value["summary"]["generation_scale"] == 1. and value["summary"]["voltage_V"] == .002 + assert loaded["document"]["outcome"] == "partial" and loaded["document"]["first_failure"] is not None diff --git a/tests/runtime/test_ionic_transient_job_service.py b/tests/runtime/test_ionic_transient_job_service.py new file mode 100644 index 00000000..d5c74076 --- /dev/null +++ b/tests/runtime/test_ionic_transient_job_service.py @@ -0,0 +1,344 @@ +"""One real ionic HTTP pair; reuse its exact attempts for all saved reads.""" +from dataclasses import replace +import hashlib +import io +import json +import os +from pathlib import Path +import signal +import socket +import subprocess +import sys +import time + +from fastapi.testclient import TestClient +import httpx +import numpy as np +import pytest + + +from examples.research_1d.ionic_transient_service import ROOT, example_submission, installed_catalog +from examples.research_1d.process_ionic_transient import example_job, source_build +from solarlab.experiments.execution import JobHandle +from solarlab.experiments.worker import WorkerBinding +from solarlab.io.run_store import RunStore +from solarlab.materials.source import SourceDocument +from solarlab_server.app import create_app +from solarlab_server.ionic_transient_preparation import ( + IonicTransientPreparationContext, read_registered_ionic_transient_job, +) +from solarlab_server.job_service import JobService, JobSubmission, canonical +from test_transient_job_service import live_http, pool, port_closed, ready, terminal_events + +pytestmark = pytest.mark.requires_clean_core + + +def save(name, data): + if value := os.environ.get("SOLARLAB_IONIC_HTTP_EVIDENCE"): + target = Path(value) + target.mkdir(parents=True, exist_ok=True) + (target / name).write_text(json.dumps(data, indent=2, allow_nan=False) + "\n") + + +@pytest.fixture(scope="module") +def implementation(): + commit = os.environ.get("SOLARLAB_IONIC_HTTP_COMMIT") or subprocess.check_output( + ["git", "rev-parse", "HEAD"], cwd=ROOT, text=True, timeout=5).strip() + archive = os.environ.get("SOLARLAB_IONIC_HTTP_ARCHIVE") + return source_build(commit, Path(archive) if archive else None) + + +@pytest.fixture(scope="module") +def catalog(implementation): + return installed_catalog(implementation, implementation.build_source_commit) + + +@pytest.fixture(scope="module") +def actual(tmp_path_factory, implementation): + if existing := os.environ.get("SOLARLAB_IONIC_HTTP_SAVED"): + return json.loads(Path(existing).read_text()) + folder = tmp_path_factory.mktemp("ionic-http") + root = Path(os.environ.get("SOLARLAB_IONIC_HTTP_STORE", str(folder / "store"))).resolve() + work = Path(os.environ.get("SOLARLAB_IONIC_HTTP_WORK", str(root.parent / "work"))).resolve() + root.parent.mkdir(parents=True, exist_ok=True) + with socket.socket() as probe: + probe.bind(("127.0.0.1", 0)) + port = probe.getsockname()[1] + assert port_closed(port) + command = [sys.executable, "-B", "-m", "examples.research_1d.ionic_transient_service", "--store", str(root), + "--work", str(work), "--build-source-commit", implementation.build_source_commit, + "--current-repository-head", implementation.build_source_commit, "--port", str(port)] + if archive := os.environ.get("SOLARLAB_IONIC_HTTP_ARCHIVE"): + command += ["--source-archive", archive] + env = dict(os.environ) + names = ("OPENBLAS_NUM_THREADS", "OMP_NUM_THREADS", "MKL_NUM_THREADS", "BLIS_NUM_THREADS", + "VECLIB_MAXIMUM_THREADS", "NUMEXPR_NUM_THREADS") + env.update({name: "1" for name in names}) + stdout, stderr = root.parent / "http.stdout.log", root.parent / "http.stderr.log" + evidence = {"command": command, "cwd": str(ROOT), "store": str(root), "work": str(work), "port": port, + "source_commit": implementation.build_source_commit, "port_closed_before_start": True, + "thread_environment": {name: env[name] for name in names}, "cases": []} + with stdout.open("x") as out, stderr.open("x") as err: + process = subprocess.Popen(command, cwd=ROOT, env=env, stdout=out, stderr=err, start_new_session=True) + evidence["service_pid"] = process.pid + try: + with httpx.Client(base_url=f"http://127.0.0.1:{port}", timeout=45) as client: + advertised = ready(client, process) + headers = {name: advertised.headers[name] for name in ("x-solarlab-registry", "x-solarlab-job-schema")} + evidence.update(catalog=advertised.json(), submission_headers=headers) + for run_id, failure, state in (("http-ionic-completed", False, "succeeded"), + ("http-ionic-failed-prefix", True, "failed")): + body = example_submission(run_id, failure=failure) + response = client.post("/jobs", json=body, headers=headers) + case = {"request": body, "post_status": response.status_code, "post_body": response.json()} + evidence["cases"].append(case) + save("ActualHTTP.json", evidence) + assert response.status_code == 202, response.text + accepted = response.json() + streamed = client.get(accepted["events_url"]) + events = [json.loads(line[6:]) for line in streamed.text.splitlines() if line.startswith("data: ")] + case.update(events=events, event_status=streamed.status_code) + result_response = client.get(accepted["result_url"]) + result = result_response.json() + case.update(result_status=result_response.status_code, result=result) + save("ActualHTTP.json", evidence) + assert result_response.status_code == 200 and result["state"] == state, result + assert len(result["artifacts"]) == 16 + arrays, payloads = {}, {} + for item in result["artifacts"]: + content = client.get(item["content_url"]) + metadata = client.get("/artifacts/" + item["artifact_id"]) + assert content.status_code == metadata.status_code == 200 + assert hashlib.sha256(content.content).hexdigest() == item["sha256"] + assert content.headers["etag"].strip('"') == item["sha256"] + payloads[item["name"]] = {"sha256": item["sha256"], "http_status": content.status_code, + "etag": content.headers["etag"], "bytes": len(content.content), "metadata": metadata.json()} + if item["format"] == "npy": + arrays[item["name"]] = np.load(io.BytesIO(content.content), allow_pickle=False) + replay = client.get(accepted["events_url"] + "?after=" + str(events[-1]["sequence"]), + headers={"Last-Event-ID": str(events[0]["sequence"])}) + acknowledged = client.get(accepted["events_url"], headers={"Last-Event-ID": str(events[-1]["sequence"])}) + repeated = client.post("/jobs", json=body, headers=headers) + assert repeated.status_code == 202 and repeated.json()["attempt_id"] == accepted["attempt_id"] + assert replay.status_code == 200 and acknowledged.status_code == 204 + assert '"kind":"terminal"' in replay.text.replace(" ", "") + with RunStore(root, read_only=True) as store: + attempt, = store.attempts(run_id) + directory = work / (store.store_id + "-" + attempt["attempt_id"]) + deadline = time.monotonic() + 5 + while not (directory / "receipt.json").exists(): + assert time.monotonic() < deadline + time.sleep(.01) + receipt = json.loads((directory / "receipt.json").read_text()) + loaded = read_registered_ionic_transient_job(store, run_id, attempt_id=accepted["attempt_id"]) + assert len(arrays) == 13 and len(loaded["arrays"]) == 26 + for name, array in arrays.items(): + assert array.tobytes() == loaded["stored_arrays"][name].tobytes() + raw = json.loads((directory / "terminal.json").read_text()) + for item in raw["artifacts"]: + assert hashlib.sha256((directory / item["file"]).read_bytes()).hexdigest() == payloads[item["name"]]["sha256"] + case.update(receipt=receipt, terminal_count=len(terminal_events(store, run_id)), + accepted_times_s=loaded["arrays"]["accepted_times_s"].tolist(), + first_failure=None if state == "succeeded" else {k: loaded["diagnostics"]["history"]["attempts"][-1][k] + for k in ("start_s", "end_s", "termination", "accepted")}, + logical_arrays={name: {"sha256": hashlib.sha256(a.tobytes()).hexdigest(), "shape": list(a.shape), + "unit": loaded["document"]["logical_array_units"][name]} for name, a in loaded["arrays"].items()}) + case.update(payloads=payloads, replay_status=replay.status_code, terminal_acknowledgement_status=acknowledged.status_code, + repeated_attempt_id=repeated.json()["attempt_id"]) + assert receipt["process_joined"] and receipt["process_exit_observed"] and receipt["exitcode"] == 0 + assert case["terminal_count"] == sum(e["kind"] == "terminal" for e in events) == 1 + save("ActualHTTP.json", evidence) + finally: + if process.poll() is None: + process.send_signal(signal.SIGINT) + try: + code = process.wait(timeout=20) + except subprocess.TimeoutExpired: + process.terminate() + code = process.wait(timeout=5) + evidence.update(service_exit_code=code, port_closed=port_closed(port), stdout_log=str(stdout), stderr_log=str(stderr)) + messages = [json.loads(line) for line in stdout.read_text().splitlines() if line.startswith("{")] + evidence["closure"] = messages[-1] if messages else None + save("ActualHTTP.json", evidence) + assert code == 0 and evidence["port_closed"], stderr.read_text() + assert evidence["closure"] == {"service_closed": True, "read_handle_closed": True, "process_owner_closed": True} + return evidence + + +def test_actual_http_pair_retains_terminal_truth_and_exact_packed_arrays(actual): + assert len(actual["cases"]) == 2 and actual["service_exit_code"] == 0 and actual["port_closed"] + for case, state, times in zip(actual["cases"], ("succeeded", "failed"), ([0., .25, .5, .75, 1.], [0., .25]), strict=True): + assert case["result"]["state"] == state and case["accepted_times_s"] == times + worker = case["result"]["result"]["worker_result"] + assert worker["registered_device_id"] == "research_1d_shared" + assert worker["execution_catalog_sha256"] == actual["submission_headers"]["x-solarlab-registry"] + assert worker["capture"]["build_source_commit"] == actual["source_commit"] + assert not worker["scientific_qualification"] and worker["ionic_result"]["physical_certificate_status"] == "not_evaluated" + assert len(case["logical_arrays"]) == 26 and len(case["payloads"]) == 16 and case["terminal_count"] == 1 + assert case["logical_arrays"]["potential_V"]["shape"] == [len(times), 37] + assert case["logical_arrays"]["positive_ion_density_m3"]["shape"] == [len(times), 13] + assert case["logical_arrays"]["total_current_density_A_m2"]["shape"] == [len(times) - 1, 38] + if state == "failed": + assert case["first_failure"] == {"start_s": .25, "end_s": .5, "termination": "budget_exhausted", "accepted": False} + + +def test_saved_http_reader_and_get_routes_forbid_solvers(actual, tmp_path): + code = ''' +import hashlib,importlib.abc,json,pathlib,sys +sys.path.insert(0,sys.argv[1]) +class NoSolver(importlib.abc.MetaPathFinder): + def find_spec(self,fullname,path=None,target=None): + if any(fullname==n or fullname.startswith(n+'.') for n in ('solarlab.solvers','solarlab.equations', + 'solarlab.device.compile_1d','solarlab.device.compile_ionic_1d','solarlab.experiments.ionic_transient', + 'solarlab.experiments.transient','perovskite_sim')): + raise AssertionError('saved reader imported solver: '+fullname) +sys.meta_path.insert(0,NoSolver()) +from fastapi.testclient import TestClient +from solarlab.io.run_store import RunStore +from solarlab_server.app import create_app +from solarlab_server.ionic_transient_preparation import read_registered_ionic_transient_job +root=pathlib.Path(sys.argv[2]).resolve() +with RunStore(root,read_only=True) as store,TestClient(create_app(root)) as client: + for name in ('http-ionic-completed','http-ionic-failed-prefix'): + loaded=read_registered_ionic_transient_job(store,name) + attempt,=store.attempts(name) + response=client.get('/results/'+name+'/attempts/'+attempt['attempt_id']) + assert response.status_code==200 and response.json()['state']==loaded['run_state'] + print(json.dumps({'run_id':name,'state':loaded['run_state'],'arrays':{ + key:hashlib.sha256(a.tobytes()).hexdigest() for key,a in loaded['arrays'].items()}})) +''' + result = subprocess.run([sys.executable, "-I", "-B", "-c", code, str(ROOT / "src"), actual["store"]], + cwd=tmp_path, text=True, capture_output=True, timeout=20) + assert result.returncode == 0, result.stderr + for row, case in zip(result.stdout.splitlines(), actual["cases"], strict=True): + assert json.loads(row)["arrays"] == {name: value["sha256"] for name, value in case["logical_arrays"].items()} + save("SolverFreeHTTPRead.json", {"argv": result.args, "exit_code": result.returncode, "stdout": result.stdout, + "stderr": result.stderr, "new_numerical_jobs": 0}) + + +def test_explicit_admission_refuses_headers_scope_code_and_budgets(tmp_path, catalog): + with RunStore(tmp_path / "store") as store, pool(store, tmp_path / "work", catalog) as owner: + with TestClient(create_app(store.root, job_service=JobService(catalog, owner))) as client: + headers = {"X-Solarlab-Registry": catalog.document.sha256, "X-Solarlab-Job-Schema": catalog.schema.sha256} + assert client.post("/jobs", json=example_submission()).status_code == 428 + for key in headers: + assert client.post("/jobs", json=example_submission(), headers={**headers, key: "0" * 64}).status_code == 409 + for updates in ({"engine": "legacy"}, {"experiment_id": "transient_1d"}, {"version": 2}, {"source_commit": "claim"}): + assert client.post("/jobs", json={**example_submission(), **updates}, headers=headers).status_code == 422 + for updates in ({"device_id": "unknown"}, {"times_s": [0., 0.]}, {"times_s": [0., 2.]}, + {"voltage_V": [.1] * 5}, {"generation_scale": [1.] * 5}, {"intervals_per_layer": [12, 12]}, + {"intervals_per_layer": [True, 12, 12]}, {"intervals_per_layer": [65, 12, 12]}, + {"ion_domain_layer": "other"}, {"D_ion": 0.}, {"initial_state": [0.]}, {"python_function": "os.system"}, + {"source_bytes": "x"}, {"config_path": "/tmp/config"}): + body = example_submission() + body["input"].update(updates) + assert client.post("/jobs", json=body, headers=headers).status_code == 422 + body = example_submission() + body["input"]["controls"]["transient"]["poisson_tolerance"] = 1. + assert client.post("/jobs", json=body, headers=headers).status_code == 422 + for name, value in (("wall_seconds", 31.), ("rss_bytes", 2 * 1024**3), ("output_bytes", 128 * 1024**2), + ("calls", 1), ("accepted_steps", 1)): + body = example_submission() + body["limits"][name] = value + assert client.post("/jobs", json=body, headers=headers).status_code == 422 + assert store.events() == [] + + +def test_ionic_preparation_is_exact_and_existing_steady_route_is_preserved(catalog, implementation): + for failure in (False, True): + spec, _ = catalog.prepare(JobSubmission.model_validate(example_submission(failure=failure))) + original = example_job(implementation, failure=failure, current_repository_head=implementation.build_source_commit) + assert spec.request.request.content == original.request.request.content + from examples.research_1d.transient_service import installed_catalog as existing_catalog + from solarlab.experiments.registry import ExperimentRegistry + other = existing_catalog(implementation, implementation.build_source_commit) + sources = {s.id: s for s in (*catalog.sources, *other.sources)} + registry = ExperimentRegistry((*catalog.registry.definitions, *other.registry.definitions)) + combined = replace(catalog, registry=registry, expected_registry_sha256=registry.content_sha256, + sources=tuple(sources.values()), registrations=(*catalog.registrations, *other.registrations)) + assert {b.id for b in combined.worker_bindings()} == {"registered_ionic_transient", "registered_steady", "registered_transient"} + with pytest.raises(ValueError, match="explicit experiment_id"): + combined.worker_binding("solarlab") + body = example_submission() + body.update(experiment_id="steady_jv", input={"device_id": "research_1d", "voltage_V": [0., .05, .1], + "intervals_per_layer": 12, "generation_scale": 1., "incident_power_W_m2": None}) + spec, _ = combined.prepare(JobSubmission.model_validate(body)) + assert spec.worker_id == "registered_steady" + + +@pytest.mark.parametrize("change", ["device", "server", "model", "policy"]) +def test_ionic_child_rejects_changed_registration_before_native(tmp_path, catalog, change): + spec, execution = catalog.prepare(JobSubmission.model_validate(example_submission())) + data = json.loads(catalog.document.content) + entry = data["bindings"][0] + if change == "device": + next(d for d in entry["preparation_context"]["devices"] if d["device_id"] == "research_1d_shared")["prepared_sha256"] = "0" * 64 + elif change == "server": + entry["preparation_context"]["server_sources"][0]["sha256"] = "0" * 64 + elif change == "policy": + entry["preparation_context"]["fixed_numerical_policy"]["transient"]["ion_logit_step"] = 2. + else: + entry["model_registry_sha256"] = "0" * 64 + document = SourceDocument("changed-ionic-catalog", canonical(data)) + binding = replace(catalog.worker_binding("solarlab"), registry_sha256=document.sha256) + with RunStore(tmp_path / "store") as store, pool(store, tmp_path / "work", catalog, bindings=(binding,)) as owner: + handle = owner.submit("invalid", binding.id, replace(spec.request, registry=document), spec.limits, execution=execution) + receipt = owner.wait(handle, 15).data + assert receipt["store_state"] == "failed" and not receipt["terminal_artifacts"] + assert receipt["process_joined"] and receipt["process_exit_observed"] + assert not any(e["payload"].get("ui_progress", {}).get("stage", "").startswith("ionic_") for e in store.events(run_id="invalid", limit=1000)) + + +def _hold(request, context): + """Queue ownership fixture only; no scientific computation.""" + context.consume_manifest(request, engine="solarlab") + context.progress({"stage": "queue_fixture_ready"}) + while True: + context.check_cancel() + time.sleep(.005) + + +def test_http_exact_queued_cancel_has_no_ionic_history(tmp_path, catalog): + spec, execution = catalog.prepare(JobSubmission.model_validate(example_submission())) + hold = WorkerBinding.from_function("queue_fixture", _hold, registry_sha256=catalog.document.sha256, schema_sha256=catalog.schema.sha256) + with RunStore(tmp_path / "store") as store, pool(store, tmp_path / "work", catalog, + bindings=(*catalog.worker_bindings(), hold)) as owner: + blocker = owner.submit("blocker", hold.id, spec.request, spec.limits, execution=execution) + deadline = time.monotonic() + 10 + while not any(e["payload"].get("ui_progress", {}).get("stage") == "queue_fixture_ready" for e in store.events(run_id="blocker", limit=1000)): + assert time.monotonic() < deadline + time.sleep(.01) + app = create_app(store.root, job_service=JobService(catalog, owner)) + with live_http(app) as (client, port): + headers = {"X-Solarlab-Registry": catalog.document.sha256, "X-Solarlab-Job-Schema": catalog.schema.sha256} + response = client.post("/jobs", json=example_submission("cancelled-ionic"), headers=headers) + assert response.status_code == 202, response.text + accepted = response.json() + row = store.get_run("cancelled-ionic") + url = f"/jobs/{row['run_id']}/attempts/{row['current_attempt_id']}/cancel" + assert client.post(url, json={"expected_generation": row["generation"] + 1, "reason": "stale"}).status_code == 409 + assert client.post(url, json={"expected_generation": row["generation"], "reason": "cancel this queued attempt"}).status_code == 200 + receipt = owner.wait(JobHandle(store.store_id, row["run_id"], row["current_attempt_id"]), 5).data + result = client.get(accepted["result_url"]).json() + assert result["state"] == "cancelled" and result["artifacts"] == [] and not receipt["process_started"] + assert len(terminal_events(store, row["run_id"])) == 1 + with pytest.raises(ValueError, match="committed"): + read_registered_ionic_transient_job(store, row["run_id"]) + assert store.get_run("blocker")["state"] == "running" + assert owner.cancel(blocker) + closed = owner.wait(blocker, 5).data + assert closed["process_exit_observed"] and closed["process_joined"] + save("CancellationHTTP.json", {"store": str(store.root), "result": result, "receipt": receipt, + "control_fixture_receipt": closed, "port_closed": port_closed(port), "reader_closed": app.state.run_store is None, + "new_ionic_numerical_jobs": 0}) + + +def test_registration_refuses_ambiguous_or_immobile_device(catalog): + from examples.research_1d.ionic_multilayer import prepare_confined_dual_ion_device + context = catalog.registrations[0].context + name, prepared = context.devices[0] + with pytest.raises(ValueError, match="unique"): + replace(context, devices=((name, prepared), ("alias", prepared))) + immobile = prepare_confined_dual_ion_device(positive_diffusivity_m2_s=0.) + with pytest.raises(ValueError, match="D0"): + IonicTransientPreparationContext(((name, immobile),), "absorber", context.implementation, context.current_repository_head) diff --git a/tests/runtime/test_ionic_transient_worker.py b/tests/runtime/test_ionic_transient_worker.py new file mode 100644 index 00000000..2090f25c --- /dev/null +++ b/tests/runtime/test_ionic_transient_worker.py @@ -0,0 +1,270 @@ +"""One real shared-site pair; reuse its committed data for read/lifecycle checks.""" +from dataclasses import replace +import hashlib +import json +import os +from pathlib import Path +import subprocess +import sys +import time + +import numpy as np +import pytest + + +from examples.research_1d.process_ionic_transient import example_job, source_build +from solarlab.experiments.ionic_transient_worker import ( + ionic_transient_worker_binding, read_ionic_transient_job, +) +from solarlab.experiments.execution import ProcessSupervisor +from solarlab.experiments.transient_results import _decode, _encode +from solarlab.experiments.worker import ResourceLimits, WorkerBinding, WorkerRequest +from solarlab.io.artifacts import ArtifactIntegrityError, ArtifactPayload, _json_document +from solarlab.io.run_store import RunStore +from solarlab.materials.source import SourceDocument + +pytestmark = pytest.mark.requires_clean_core + +ROOT = Path(__file__).resolve().parents[2] +NAMES = ("ionic-transient-completed", "ionic-transient-failed-prefix") + + +def limits(): + return ResourceLimits(30., 1536 * 1024**2, 96 * 1024**2, None, None) + + +def pool(store, work, bindings=None): + return ProcessSupervisor(store, work, bindings or (ionic_transient_worker_binding(),), + max_active=1, max_pending=1, shared_rss_bytes=3 * 1024**3, shared_output_bytes=384 * 1024**2, + poll_seconds=.01, soft_grace_seconds=.1, terminate_grace_seconds=.1) + + +def evidence(name, value): + if target := os.environ.get("SOLARLAB_IONIC_PROCESS_EVIDENCE"): + folder = Path(target) + folder.mkdir(parents=True, exist_ok=True) + with (folder / name).open("x") as stream: + json.dump(value, stream, indent=2, allow_nan=False) + + +@pytest.fixture(scope="module") +def implementation(): + commit = os.environ.get("SOLARLAB_IONIC_PROCESS_COMMIT") or subprocess.check_output( + ["git", "rev-parse", "HEAD"], cwd=ROOT, text=True, timeout=5).strip() + archive = os.environ.get("SOLARLAB_IONIC_PROCESS_ARCHIVE") + return source_build(commit, Path(archive) if archive else None) + + +@pytest.fixture(scope="module") +def job(implementation): + return example_job(implementation, current_repository_head=implementation.build_source_commit) + + +@pytest.fixture(scope="module") +def saved(tmp_path_factory, implementation): + if path := os.environ.get("SOLARLAB_IONIC_PROCESS_STORE"): + root = Path(path).resolve() + work = Path(os.environ.get("SOLARLAB_IONIC_PROCESS_WORK", str(root.parent / "work"))) + return root, work + root = tmp_path_factory.mktemp("ionic-transient") + with RunStore(root / "store") as store, pool(store, root / "work") as supervisor: + for name, failure in zip(NAMES, (False, True), strict=True): + prepared = example_job(implementation, failure=failure, + current_repository_head=implementation.build_source_commit) + handle = prepared.submit(supervisor, name, limits()) + receipt = supervisor.wait(handle, 40).data + assert receipt["store_state"] == ("failed" if failure else "succeeded"), receipt + assert receipt["process_joined"] and receipt["process_exit_observed"] + return root / "store", root / "work" + + +@pytest.mark.parametrize("name,count,state", [(NAMES[0], 5, "succeeded"), (NAMES[1], 2, "failed")]) +def test_actual_cold_histories_source_payload_words_and_single_terminal(saved, name, count, state): + root, work = saved + with RunStore(root, read_only=True) as store: + loaded = read_ionic_transient_job(store, name) + attempt, = store.attempts(name) + directory = work / (store.store_id + "-" + attempt["attempt_id"]) + receipt = json.loads((directory / "receipt.json").read_text()) + assert loaded["run_state"] == receipt["store_state"] == state and receipt["exitcode"] == 0 + assert receipt["process_joined"] and receipt["process_exit_observed"] and receipt["terminal_committed"] + with pytest.raises(ChildProcessError): + os.waitpid(receipt["pid"], os.WNOHANG) + terminal = [event for event in store.events(run_id=name, limit=1000) if event["kind"] == "terminal"] + assert len(terminal) == 1 and len(attempt["terminal"]["artifacts"]) == 16 + assert len(loaded["stored_arrays"]) == 13 and len(loaded["arrays"]) == 26 + assert loaded["arrays"]["potential_V"].shape == (count, 37) + assert loaded["arrays"]["state_coordinates"].shape == (count, 137) + assert loaded["arrays"]["positive_ion_density_m3"].shape == (count, 13) + assert loaded["arrays"]["negative_ion_density_m3"].shape == (count, 13) + assert loaded["arrays"]["total_current_density_A_m2"].shape == (count - 1, 38) + assert loaded["arrays"]["terminal_total_current_density_A_m2"].shape == (count - 1, 2) + assert loaded["arrays"]["accepted_times_s"].tolist() == [0., .25, .5, .75, 1.][:count] + assert loaded["arrays"]["requested_times_s"].tolist() == [0., .25, .5, .75, 1.] + assert loaded["document"]["ion_site_contract"] == "shared_finite_sites" + assert loaded["document"]["physical_certificate_status"] == "not_evaluated" + assert not loaded["worker_result"]["scientific_qualification"] and not loaded["manifest"]["can_execute"] + assert receipt["resources"]["calls"] is None and receipt["resources"]["accepted_steps"] is None + history = loaded["diagnostics"]["history"] + if state == "failed": + assert loaded["document"]["reason"] == "budget_exhausted" + assert [a["accepted"] for a in history["attempts"]] == [True, False] + assert history["attempts"][-1]["end_s"] == .5 + child = json.loads((directory / "terminal.json").read_text()) + by_name = {store.artifact(ref["artifact_id"])["name"]: store.artifact(ref["artifact_id"]) + for ref in attempt["terminal"]["artifacts"]} + for original in child["artifacts"]: + item = by_name[original["name"]] + raw = (directory / original["file"]).read_bytes() + assert raw == store.read_artifact(item["artifact_id"]) + assert hashlib.sha256(raw).hexdigest() == original["sha256"] == item["sha256"] + with pytest.raises(ValueError, match="committed"): + read_ionic_transient_job(store, name, attempt_id="other-attempt") + + +def test_fresh_reader_forbids_all_solver_compiler_and_equation_imports(saved, tmp_path): + code = ''' +import hashlib, importlib.abc, json, pathlib, sys +sys.path.insert(0, sys.argv[1]) +class NoSolver(importlib.abc.MetaPathFinder): + def find_spec(self, fullname, path=None, target=None): + if any(fullname == name or fullname.startswith(name + '.') for name in ( + 'solarlab.solvers', 'solarlab.equations', 'solarlab.device.compile_1d', + 'solarlab.device.compile_ionic_1d', 'solarlab.experiments.ionic_transient', + 'solarlab.experiments.transient', 'perovskite_sim')): + raise AssertionError('solver-free reader imported: ' + fullname) +sys.meta_path.insert(0, NoSolver()) +from solarlab.experiments.ionic_transient_worker import read_ionic_transient_job +from solarlab.io.run_store import RunStore +with RunStore(pathlib.Path(sys.argv[2]), read_only=True) as store: + for name in ('ionic-transient-completed', 'ionic-transient-failed-prefix'): + result = read_ionic_transient_job(store, name) + assert len(result['arrays']) == 26 + print(json.dumps({'run_id': name, 'state': result['run_state'], 'arrays': { + key: hashlib.sha256(a.tobytes()).hexdigest() for key, a in result['arrays'].items()}})) +''' + check = subprocess.run([sys.executable, "-I", "-B", "-c", code, str(ROOT / "src"), str(saved[0])], + cwd=tmp_path, capture_output=True, text=True, timeout=20) + assert check.returncode == 0, check.stderr + with RunStore(saved[0], read_only=True) as store: + for line in check.stdout.splitlines(): + document = json.loads(line) + expected = read_ionic_transient_job(store, document["run_id"]) + assert document["arrays"] == {name: hashlib.sha256(a.tobytes()).hexdigest() for name, a in expected["arrays"].items()} + evidence("SolverFreeRead.json", {"argv": check.args, "exit_code": check.returncode, "stdout": check.stdout, "stderr": check.stderr}) + + +def reseal(saved, target, change): + with RunStore(saved[0], read_only=True) as original: + run = original.get_run(NAMES[1]) + attempt, = original.attempts(NAMES[1]) + result = attempt["result"] + items = [(original.artifact(ref["artifact_id"]), original.read_artifact(ref["artifact_id"])) + for ref in attempt["terminal"]["artifacts"]] + with RunStore(target) as store: + row = store.enqueue("fixture", opaque_identity=run["request"]["identity"], input_metadata=run["request"]["input_metadata"]) + token = store.claim("fixture", expected_attempt_id=row["current_attempt_id"], expected_generation=row["generation"], owner_id="reader-fixture") + ids = [] + for item, raw in items: + if change == "unit" and item["name"] == "potential_V": + item["metadata"]["unit"] = "wrong" + if change == "component-order" and item["name"] == "carrier_density_m3": + item["metadata"]["components"].reverse() + if change in {"nonfinite-accepted-accounting", "protocol"} and item["name"] == "ionic_transient_diagnostics": + data = _decode(json.loads(raw)) + if change == "protocol": + data["history"]["protocol"]["voltage_V"] = data["history"]["protocol"]["voltage_V"].copy() + data["history"]["protocol"]["voltage_V"][1] += .001 + else: + data["history"]["attempts"][0]["accounting"]["maxwell_spread_A_m2"] = float("nan") + raw = _json_document(_encode(data)).encode() + payload = ArtifactPayload(raw, item["format"], _json_document(item["metadata"])) + if item["name"] != "execution_manifest": + result["worker_result"]["payloads"][item["name"]] = { + "sha256": payload.sha256, "format": payload.format, "metadata": item["metadata"]} + record = store.publish(token, item["name"], payload) + ids.append(record["artifact_id"]) + for key, label in (("initial_artifact_sha256", "initial-binding"), ("request_sha256", "request-binding"), + ("result_sha256", "result-binding")): + if change == label: + result["worker_result"]["capture"][key] = "0" * 64 + if change == "source-binding": + result["worker_result"]["capture"]["source_sha256"]["solarlab/experiments/ionic_transient.py"] = "0" * 64 + store.complete(token, state="succeeded" if change == "false-success" else "failed", result=result, artifacts=ids) + if change == "terminal-reference": + terminal = store.attempts("fixture")[0]["terminal"] + terminal["artifacts"][0]["manifest_sha256"] = "0" * 64 + store._db.execute("UPDATE attempts SET terminal_json=? WHERE attempt_id=?", (_json_document(terminal), token.attempt_id)) + if change == "corrupt-bytes": + path = target / store.artifact(ids[0])["relative_path"] + raw = bytearray(path.read_bytes()) + raw[-1] ^= 1 + path.write_bytes(raw) + + +@pytest.mark.parametrize("change", ["unit", "component-order", "initial-binding", "request-binding", "result-binding", + "source-binding", "false-success", "terminal-reference", "corrupt-bytes", "protocol", "nonfinite-accepted-accounting"]) +def test_resealed_or_corrupt_history_refuses_false_payloads(saved, tmp_path, change): + reseal(saved, tmp_path / "store", change) + with RunStore(tmp_path / "store", read_only=True) as store, pytest.raises((ValueError, ArtifactIntegrityError)): + read_ionic_transient_job(store, "fixture") + + +def test_lossless_failed_diagnostic_words_do_not_become_finite_or_unknown(): + words = np.asarray([np.nan, np.inf, -np.inf, -0.0]) + decoded = _decode(json.loads(_json_document(_encode({"failed_candidate": words, "missing": None})))) + assert decoded["failed_candidate"].tobytes() == words.tobytes() and decoded["missing"] is None + + +def _hold_slot(request, context): + """Queue ownership fixture only; not a computation witness.""" + context.progress({"stage": "hold_ready"}) + while True: + context.check_cancel() + time.sleep(.005) + + +def test_exact_queued_cancel_creates_no_ionic_history(tmp_path, job): + data = SourceDocument("control-fixture", b'{"hold":true}') + request = WorkerRequest(data, data, data, data, data.sha256, data.sha256) + held = WorkerBinding.from_function("ionic_queue_fixture", _hold_slot, registry_sha256=data.sha256, schema_sha256=data.sha256) + with RunStore(tmp_path / "store") as store, pool(store, tmp_path / "work", (held, ionic_transient_worker_binding())) as owner: + blocker = owner.submit("blocker", held.id, request, limits()) + deadline = time.monotonic() + 8 + while not any(event["payload"].get("ui_progress", {}).get("stage") == "hold_ready" for event in store.events(run_id="blocker", limit=1000)): + assert time.monotonic() < deadline + time.sleep(.01) + queued = job.submit(owner, "queued-ionic", limits()) + assert store.get_run(queued.run_id)["state"] == "queued" + assert owner.cancel(queued) + receipt = owner.wait(queued, 5).data + attempt, = store.attempts(queued.run_id) + assert receipt["store_state"] == "cancelled" and not receipt["process_started"] + assert attempt["terminal"]["artifacts"] == [] + assert len([e for e in store.events(run_id=queued.run_id, limit=1000) if e["kind"] == "terminal"]) == 1 + assert not owner.cancel(queued) + with pytest.raises(ValueError, match="committed"): + read_ionic_transient_job(store, queued.run_id) + assert owner.cancel(blocker) + hold_receipt = owner.wait(blocker, 5).data + assert hold_receipt["process_joined"] and hold_receipt["process_exit_observed"] + evidence("QueuedCancellation.json", {"queued": receipt, "control_fixture": hold_receipt, + "new_ionic_numerical_processes": 0, "terminal_count": 1}) + + +def test_bad_request_and_unobserved_caps_refuse_before_native(tmp_path, job): + with RunStore(tmp_path / "store") as store, pool(store, tmp_path / "work") as owner: + for name in ("calls", "accepted_steps"): + with pytest.raises(ValueError, match="counter budgets"): + job.submit(owner, name, replace(limits(), **{name: 1})) + with pytest.raises(ValueError, match="wall ceiling"): + job.submit(owner, "long", replace(limits(), wall_seconds=31)) + body = json.loads(job.request.request.content) + body["protocol"]["voltage_V"][1] += .001 + changed = replace(job.request, request=SourceDocument(job.request.request.id, _json_document(body).encode())) + handle = owner.submit("invalid", "ionic_transient_1d", changed, limits(), execution=job.execution) + receipt = owner.wait(handle, 15).data + assert receipt["store_state"] == "failed" and not receipt["terminal_artifacts"] + assert "differ" in receipt["worker_result"]["detail"] + assert not any(e["payload"].get("ui_progress", {}).get("stage", "").startswith("ionic_") + for e in store.events(run_id=handle.run_id, limit=1000)) diff --git a/tests/runtime/test_job_route_client.py b/tests/runtime/test_job_route_client.py new file mode 100644 index 00000000..bf1e3c9c --- /dev/null +++ b/tests/runtime/test_job_route_client.py @@ -0,0 +1,70 @@ +"""Existing TypeScript client against the shared loopback job service.""" +import json +import subprocess + +import pytest + +from solarlab.experiments.execution import JobHandle +from solarlab.io.run_store import RunStore +from solarlab_server.job_service import JobService, legacy_job_target +from job_route_fixtures import ROOT +from test_job_routes import _HTTPServer, registered as registered, supervisor + +pytestmark = pytest.mark.frontend + + +def test_actual_old_typescript_client_consumes_the_live_new_adapter(tmp_path, registered): + registration, _ = registered + with RunStore(tmp_path / "store") as store, supervisor(store, tmp_path / "work", registration) as pool: + with _HTTPServer(store.root, job_service=JobService(registration, pool, allow_legacy_routes=True)) as server: + # Only the test module's BASE import is bound to the actual loopback + # socket. The production TS client source is transpiled unchanged. + code = ''' +import {readFile, writeFile} from 'node:fs/promises'; +import {pathToFileURL} from 'node:url'; +import assert from 'node:assert/strict'; +const ts = (await import(pathToFileURL(process.argv[2]))).default; +const source = await readFile(process.argv[3], 'utf8'); +const output = ts.transpileModule(source, {compilerOptions:{target:ts.ScriptTarget.ES2023,module:ts.ModuleKind.ES2022}}).outputText; +await writeFile(process.argv[4], output.replace("from './api'", "from './base.mjs'")); +await writeFile(new URL('./base.mjs',pathToFileURL(process.argv[4])), `export const BASE=${JSON.stringify(process.argv[5])};`); +globalThis.EventSource = class { + constructor(url) { this.events={}; this.abort=new AbortController(); this.run(url); } + addEventListener(name, fn) { (this.events[name]??=[]).push(fn); } + emit(name, value) { for (const fn of this.events[name]??[]) fn(value); } + close() { this.abort.abort(); } + async run(url) { + try { + const response=await fetch(url,{signal:this.abort.signal}); assert.equal(response.status,200); + const reader=response.body.getReader(), decoder=new TextDecoder(); let buffer=''; + for (;;) { + const {done,value}=await reader.read(); if(done) break; buffer+=decoder.decode(value,{stream:true}); + let at; while((at=buffer.indexOf('\\n\\n'))>=0) { + const block=buffer.slice(0,at); buffer=buffer.slice(at+2); + const fields=Object.fromEntries(block.split('\\n').filter(x=>!x.startsWith(':')).map(x=>{const p=x.indexOf(':');return [x.slice(0,p),x.slice(p+1).trimStart()]})); + if(fields.event) this.emit(fields.event,{data:fields.data}); + } + } + } catch(error) { if(error.name!=='AbortError') this.emit('error',{}); } + } +}; +const {startJob,streamJobEvents}=await import(pathToFileURL(process.argv[4])); +const job=await startJob('jv',null,{},'fixture:scaps'); +let progress=0,result; let timer; +await new Promise((resolve,reject)=>{ + timer=setTimeout(()=>reject(Error('bounded client wait expired')),15000); + streamJobEvents(job,{onProgress:()=>progress++,onResult:value=>result=value,onError:reject,onDone:resolve}); +}).finally(()=>clearTimeout(timer)); +assert(progress>0); assert(result.artifacts.length>0); assert.equal(result.execution.worker_result.scientific_qualification,false); +console.log(JSON.stringify({job,progress,result_received:true,done_received:true})); +''' + program = tmp_path / "client-check.mjs" + program.write_text(code) + command = ["node", str(program), str(ROOT / "web/node_modules/typescript/lib/typescript.js"), + str(ROOT / "web/src/job-stream.ts"), str(tmp_path / "job-stream.mjs"), f"http://127.0.0.1:{server.port}"] + actual = subprocess.run(command, capture_output=True, text=True, timeout=25) + assert actual.returncode == 0, actual.stdout + actual.stderr + record = json.loads(actual.stdout) + run_id, attempt_id = legacy_job_target(record["job"]) + assert store.get_run(run_id)["state"] == "succeeded" + assert pool.wait(JobHandle(store.store_id, run_id, attempt_id), 3).data["process_joined"] diff --git a/tests/runtime/test_job_routes.py b/tests/runtime/test_job_routes.py new file mode 100644 index 00000000..8c25f522 --- /dev/null +++ b/tests/runtime/test_job_routes.py @@ -0,0 +1,347 @@ +"""Real loopback submissions, registry refusals and complete durable streams.""" +from dataclasses import replace +import hashlib +import json +import os +from pathlib import Path +import time + +import pytest + +from solarlab.experiments.execution import JobHandle, ProcessSupervisor +from solarlab.experiments.registry import ExperimentRegistry +from solarlab.experiments.worker import ResourceLimits, WorkerBinding +from solarlab.io.run_store import RunStore +from solarlab_server.job_service import JobService, JobSubmission, canonical, legacy_job_id, legacy_job_target +from solarlab.materials.source import SourceDocument +from solarlab.io.artifacts import bytes_artifact +from solarlab_server.configuration import ConfigurationPreviewContext +from solarlab_server.legacy_engine import legacy_worker_binding +from test_event_service import _HTTPServer as _BaseHTTPServer, _all_events, _blocks, _next_event +from job_route_fixtures import catalog, request as declaration +import job_workers + + +class _HTTPServer(_BaseHTTPServer): + def client(self): + client = super().client() + client.timeout = 15. + return client + + +@pytest.fixture(scope="module") +def registered(): + return catalog() + + +def supervisor(store, work, registration, *, gated=None, bad_binding=False, max_pending=1): + binding = registration.worker_binding() + if gated is not None: + binding = WorkerBinding.from_function(binding.id, gated, + registry_sha256=binding.registry_sha256, schema_sha256=binding.schema_sha256) + if bad_binding: + binding = replace(binding, source_sha256="0" * 64) + return ProcessSupervisor(store, work, (binding, legacy_worker_binding()), max_active=1, max_pending=max_pending, + shared_rss_bytes=4 * 1024**3, shared_output_bytes=512 * 1024**2, + soft_grace_seconds=.1, terminate_grace_seconds=.1, poll_seconds=.01) + + +def headers(registration): + return {"X-Solarlab-Registry": registration.document.sha256, + "X-Solarlab-Job-Schema": registration.schema.sha256} + + +def handle(store, response): + return JobHandle(store.store_id, response["run_id"], response["attempt_id"]) + + +def ready(store, run_id): + until = time.monotonic() + 4 + while time.monotonic() < until: + if any(e["payload"].get("ui_progress", {}).get("stage") == "ready" for e in store.events(run_id=run_id)): + return + time.sleep(.005) + raise AssertionError("child did not reach the observed ready barrier") + + +def test_real_registry_submit_full_stream_verified_result_and_read_only_restart(tmp_path, registered): + registration, job = registered + data = job.execution.inputs.prepared + preview = ConfigurationPreviewContext(data.defaults, data.resources, data.sources) + database, work = tmp_path / "store", tmp_path / "work" + with RunStore(database) as store, supervisor(store, work, registration) as pool: + services = JobService(registration, pool) + with _HTTPServer(database, job_service=services, configuration_preview=preview) as server, server.client() as http: + advertised = http.get("/experiments") + assert advertised.status_code == 200 + assert advertised.headers["x-solarlab-registry"] == registration.document.sha256 + assert advertised.json()["registry"]["registered_executors"] == [] + assert advertised.json()["bindings"][0]["scientific_qualification"] is False + assert http.get("/schema").json()["array"]["properties"]["shape"]["maxItems"] == 32 + assert http.get("/configs").json()["sources"] + source = data.sources[0] + assert http.get("/configs/" + source.id).content == source.content + table = data.resources.tables[0] + assert http.get("/materials").json()["resource_library_sha256"] == data.resources.content_sha256 + assert http.get("/materials/" + table.name).content == table.source.content + response = http.post("/jobs", json=declaration(), headers=headers(registration)) + assert response.status_code == 202, response.text + submitted = response.json() + duplicate = http.post("/jobs", json=declaration(), headers=headers(registration)) + assert duplicate.status_code == 202 and duplicate.json()["attempt_id"] == submitted["attempt_id"] + with http.stream("GET", submitted["events_url"]) as stream: + events = _all_events(stream) + assert events[-1]["kind"] == "terminal" and events[-1]["payload"]["state"] == "succeeded" + assert sum(e["kind"] == "terminal" for e in events) == 1 + receipt = pool.wait(handle(store, submitted), 5).data + assert receipt["process_joined"] and receipt["process_exit_observed"] + result = http.get(submitted["result_url"]).json() + assert result["result"]["worker_result"]["experiment_id"] == "jv" + assert result["result"]["worker_result"]["scientific_qualification"] is False + payload = next(a for a in result["artifacts"] if a["name"] == "legacy_result") + raw = http.get(payload["content_url"]).content + assert hashlib.sha256(raw).hexdigest() == payload["sha256"] + assert raw == store.read_artifact(payload["artifact_id"]) + manifest = next(a for a in result["artifacts"] if a["name"] == "execution_manifest") + assert manifest["sha256"] == receipt["worker_result"]["manifest_sha256"] + control = job.submit(pool, "direct-control", ResourceLimits(**declaration()["limits"])) + control_receipt = pool.wait(control, 8).data + assert control_receipt["store_state"] == "succeeded" + control_records = [store.artifact(x) for x in control_receipt["terminal_artifacts"]] + original = next(a for a in control_records if a["name"] == "legacy_result") + assert raw == store.read_artifact(original["artifact_id"]) + evidence_path = os.environ.get("SOLARLAB_HTTP_JOB_EVIDENCE") + if evidence_path: + Path(evidence_path).write_text(json.dumps({"bitwise_equal": True, + "routed_payload_sha256": payload["sha256"], "direct_facade_payload_sha256": original["sha256"], + "routed": receipt, "direct_facade": control_receipt, + "scientific_qualification": False}, indent=2) + "\n") + with _HTTPServer(database) as server, server.client() as http: + assert http.get(submitted["result_url"]).json() == result + with http.stream("GET", submitted["events_url"]) as stream: + assert _all_events(stream) == events + assert http.post("/jobs", json=declaration(), headers=headers(registration)).status_code == 503 + + +def test_headers_input_engine_and_capability_refuse_before_enqueue(tmp_path, registered): + registration, _ = registered + with RunStore(tmp_path / "store") as store, supervisor(store, tmp_path / "work", registration) as pool: + with _HTTPServer(store.root, job_service=JobService(registration, pool)) as server, server.client() as http: + assert http.post("/jobs", json=declaration()).status_code == 428 + for field in headers(registration): + invalid = {**headers(registration), field: "0" * 64} + assert http.post("/jobs", json=declaration(), headers=invalid).status_code == 409 + for change in ({"engine": "solarlab"}, {"experiment_id": "impedance"}, {"version": 99}): + assert http.post("/jobs", json={**declaration(), **change}, headers=headers(registration)).status_code == 422 + raw = declaration() + raw["input"]["params"]["ignored_extra"] = True + assert http.post("/jobs", json=raw, headers=headers(registration)).status_code == 422 + raw = declaration() + raw["limits"]["wall_seconds"] = 31. + assert http.post("/jobs", json=raw, headers=headers(registration)).status_code == 422 + assert store.events() == [] + denied, _ = catalog(denied=True) + with RunStore(tmp_path / "denied") as store, supervisor(store, tmp_path / "denied-work", denied) as pool: + with _HTTPServer(store.root, job_service=JobService(denied, pool)) as server, server.client() as http: + result = http.post("/jobs", json=declaration(), headers=headers(denied)) + assert result.status_code == 422 and "capability refused" in result.text + assert store.events() == [] + + +def test_two_live_subscribers_disconnect_queued_cancel_and_following_job(tmp_path, registered): + registration, _ = registered + with RunStore(tmp_path / "store") as store, supervisor(store, tmp_path / "work", registration, gated=job_workers.gated_legacy) as pool: + with _HTTPServer(store.root, job_service=JobService(registration, pool, allow_legacy_routes=True)) as server: + with server.client() as first, server.client() as second: + item = first.post("/jobs", json=declaration(), headers=headers(registration)).json() + ready(store, item["run_id"]) + one_observed, two_observed = server.observe("one"), server.observe("two") + with first.stream("GET", item["events_url"], headers={"X-Test-Subscriber": "one"}) as one: + with second.stream("GET", item["events_url"], headers={"X-Test-Subscriber": "two"}) as two: + a, b = _blocks(one), _blocks(two) + assert _next_event(a) == _next_event(b) + one.close() + assert one_observed.finished.wait(2) + assert store.get_run(item["run_id"])["state"] == "running" + queued = first.post("/jobs", json=declaration("queued"), headers=headers(registration)).json() + full = first.post("/jobs", json=declaration("full"), headers=headers(registration)) + assert full.status_code == 429 + for selected in (queued, item): + row = store.get_run(selected["run_id"]) + target = f"/jobs/{selected['run_id']}/attempts/{selected['attempt_id']}/cancel" + assert first.post(target, json={"expected_generation": row["generation"] + 10, "reason": "stale"}).status_code == 409 + response = first.post(target, json={"expected_generation": row["generation"], "reason": "explicit HTTP cancellation"}) + assert response.status_code == 200 + assert not pool.wait(handle(store, queued), 3).data["process_started"] + later = [json.loads(frame["data"]) for frame in b if "data" in frame] + assert later[-1]["payload"]["state"] == "cancelled" + assert two_observed.finished.wait(2) + terminal = str(later[-1]["sequence"]) + assert first.get(item["events_url"], headers={"Last-Event-ID": terminal}).status_code == 204 + next_job = first.post("/jobs", json=declaration("after"), headers=headers(registration)).json() + ready(store, "after") + (tmp_path / "work" / (store.store_id + "-" + next_job["attempt_id"]) / "release").touch() + assert pool.wait(handle(store, next_job), 8).data["store_state"] == "succeeded" + + +def test_cancel_rechecks_generation_atomically_after_the_http_read(tmp_path, registered, monkeypatch): + registration, _ = registered + with RunStore(tmp_path / "store") as store, supervisor(store, tmp_path / "work", registration, gated=job_workers.gated_legacy) as pool: + with _HTTPServer(store.root, job_service=JobService(registration, pool)) as server, server.client() as http: + first = http.post("/jobs", json=declaration("hold"), headers=headers(registration)).json() + ready(store, first["run_id"]) + queued = http.post("/jobs", json=declaration("race"), headers=headers(registration)).json() + original = store.cancel + changed = [] + def changed_generation(run_id, **kwargs): + if run_id == "race" and not changed: + # Storage-only concurrency witness: another owner claims + # this queued attempt after the HTTP handler's read. + changed.append(store.claim(run_id, expected_attempt_id=kwargs["expected_attempt_id"], + expected_generation=kwargs["expected_generation"], owner_id="metadata-race-fixture")) + return original(run_id, **kwargs) + monkeypatch.setattr(store, "cancel", changed_generation) + response = http.post(f"/jobs/race/attempts/{queued['attempt_id']}/cancel", + json={"expected_generation": 0, "reason": "stale after read"}) + assert response.status_code == 409 + assert store.get_run("race")["state"] == "running" + monkeypatch.setattr(store, "cancel", original) + store.complete(changed[0], state="failed", result={"reason": "metadata-only fixture complete", "process_started": False}) + pool.cancel(handle(store, first)) + + +@pytest.mark.parametrize("field", ["job_schema_sha256", "model_registry_sha256", "legacy_facade_sha256"]) +def test_real_worker_rejects_internally_wrong_registry_schema_or_facade(tmp_path, registered, field): + registration, _ = registered + spec, binding = registration.prepare(JobSubmission.model_validate(declaration())) + claimed = json.loads(registration.document.content) + claimed[field] = "0" * 64 + altered = SourceDocument("explicit-inconsistent-registry-fixture", canonical(claimed)) + # The fixture deliberately binds a new transport digest, so the actual + # worker must check the content's relation to the manifest/schema/source. + worker = replace(registration.worker_binding(), registry_sha256=altered.sha256) + with RunStore(tmp_path / "store") as store, ProcessSupervisor(store, tmp_path / "work", (worker,), + max_active=1, max_pending=0, shared_rss_bytes=4 * 1024**3, shared_output_bytes=256 * 1024**2) as pool: + result = pool.wait(pool.submit("bad-registry", worker.id, replace(spec.request, registry=altered), spec.limits, + execution=binding), 8).data + assert result["store_state"] == "failed" and result["worker_result"]["reason"] == "worker_exception" + assert "registry" in result["worker_result"]["detail"] + assert not result["terminal_artifacts"] and result["process_joined"] + + +@pytest.mark.parametrize("failure", ["timeout", "worker_source", "driver_failure"]) +def test_real_worker_failures_produce_business_error_then_done(tmp_path, registered, failure): + registration, _ = registered + gated = job_workers.stuck_legacy if failure == "timeout" else None + with RunStore(tmp_path / "store") as store, supervisor(store, tmp_path / "work", registration, + gated=gated, bad_binding=failure == "worker_source") as pool: + with _HTTPServer(store.root, job_service=JobService(registration, pool, allow_legacy_routes=True)) as server, server.client() as http: + data = declaration(n_points=1) if failure == "driver_failure" else declaration() + if failure == "timeout": + data["limits"]["wall_seconds"] = .5 + response = http.post("/jobs", json=data, headers=headers(registration)) + assert response.status_code == 202, response.text + item = response.json() + with http.stream("GET", f"/api/jobs/{item['job_id']}/events") as response: + frames = [f for f in _blocks(response) if "data" in f] + assert [f["event"] for f in frames[-2:]] == ["error", "done"] + assert frames[-2]["id"] != frames[-1]["id"] + error = json.loads(frames[-2]["data"]) + assert error["message"] == ("wall_limit" if failure == "timeout" else "worker_exception") + receipt = pool.wait(handle(store, item), 4).data + assert receipt["store_state"] == "failed" and receipt["process_joined"] + with http.stream("GET", f"/api/jobs/{item['job_id']}/events", headers={"Last-Event-ID": frames[-2]["id"]}) as replay: + assert [f["event"] for f in _blocks(replay) if "data" in f] == ["done"] + assert http.get(f"/api/jobs/{item['job_id']}/events", headers={"Last-Event-ID": frames[-1]["id"]}).status_code == 204 + + +def test_legacy_submit_terminal_phase_replay_and_synchronous_adapter(tmp_path, registered): + registration, _ = registered + with RunStore(tmp_path / "store") as store, supervisor(store, tmp_path / "work", registration) as pool: + with _HTTPServer(store.root, job_service=JobService(registration, pool, allow_legacy_routes=True, + synchronous_wait_seconds=8.)) as server, server.client() as http: + wire = {"kind": "jv", "device": None, "config_path": "fixture:scaps", "params": {}} + result = http.post("/api/jobs", json=wire) + assert result.status_code == 202, result.text + item = result.json() + run_id, attempt_id = legacy_job_target(item["job_id"]) + assert (run_id, attempt_id) == (item["run_id"], item["attempt_id"]) + with http.stream("GET", item["legacy_events_url"]) as stream: + frames = [f for f in _blocks(stream) if "data" in f] + assert [f["event"] for f in frames[-2:]] == ["result", "done"] + payload = json.loads(frames[-2]["data"]) + assert payload["artifacts"] and payload["execution"]["worker_result"]["scientific_qualification"] is False + assert any(isinstance(value, list) and value for value in payload.values()) + with http.stream("GET", item["legacy_events_url"], headers={"Last-Event-ID": frames[-2]["id"]}) as stream: + assert [f["event"] for f in _blocks(stream) if "data" in f] == ["done"] + assert http.get(item["legacy_events_url"], headers={"Last-Event-ID": frames[-1]["id"]}).status_code == 204 + for invalid in ("999999.event", frames[-1]["id"].replace("done", "error"), "1", "-1.result"): + assert http.get(item["legacy_events_url"], headers={"Last-Event-ID": invalid}).status_code == 400 + unknown = http.post("/api/jobs", json={**wire, "kind": "impedance"}) + assert unknown.status_code == 422 and "original entry" in unknown.text + sync = http.post("/api/jv", json={"device": None, "config_path": "fixture:scaps"}, timeout=12) + assert sync.status_code == 200 and sync.json()["status"] == "ok" + + +def test_versioned_synchronous_alias_matches_canonical_and_kind_workers(tmp_path, registered): + original, _ = registered + version1 = original.registry.get("jv", 1) + registry = ExperimentRegistry((version1, replace(version1, version=2))) + first = replace(original.registrations[0], legacy_kinds=("jv1",), synchronous_paths=("/api/jv1",)) + second = replace(first, version=2, legacy_kinds=("jv2",), synchronous_paths=("/api/jv2",)) + registration = replace(original, registry=registry, registrations=(first, second), + expected_registry_sha256=registry.content_sha256) + observed = {} + with RunStore(tmp_path / "store") as store, supervisor(store, tmp_path / "work", registration) as pool: + services = JobService(registration, pool, allow_legacy_routes=True, synchronous_wait_seconds=8.) + with _HTTPServer(store.root, job_service=services) as server, server.client() as http: + canonical = http.post("/jobs", json={**declaration("canonical-v2"), "version": 2}, + headers=headers(registration)) + assert canonical.status_code == 202, canonical.text + kind = http.post("/api/jobs", json={"kind": "jv2", "device": None, + "config_path": "fixture:scaps", "params": {}}) + assert kind.status_code == 202, kind.text + for name, response in (("canonical_v2", canonical), ("kind_v2", kind)): + item = response.json() + receipt = pool.wait(handle(store, item), 12).data + assert receipt["process_joined"] and receipt["store_state"] == "succeeded" + result = http.get(item["result_url"]) + assert result.status_code == 200, result.text + observed[name] = result.json()["result"]["worker_result"] + for version in (1, 2): + response = http.post(f"/api/jv{version}", json={"device": None, "config_path": "fixture:scaps"}) + assert response.status_code == 200, response.text + result = response.json()["result"] + receipt = pool.wait(JobHandle(store.store_id, result["run_id"], result["attempt_id"]), 1).data + assert receipt["process_joined"] and receipt["store_state"] == "succeeded" + observed[f"synchronous_v{version}"] = result["execution"]["worker_result"] + evidence_path = os.environ.get("SOLARLAB_ALIAS_EVIDENCE") + if evidence_path: + Path(evidence_path).write_text(json.dumps({"actual_workers": observed, + "scientific_qualification": False}, indent=2) + "\n") + assert {key: value["experiment_version"] for key, value in observed.items()} == { + "canonical_v2": 2, "kind_v2": 2, "synchronous_v1": 1, "synchronous_v2": 2} + + + +def test_large_result_uses_verified_references_and_corruption_does_not_rewrite_history(tmp_path): + with RunStore(tmp_path / "store") as store: + queued = store.enqueue("large", opaque_identity={"H_input": "fixture", "H_physics": "fixture", "H_execution": "fixture"}, + input_metadata={"scope": "serialization-only; no physical execution"}) + token = store.claim("large", expected_attempt_id=queued["current_attempt_id"], expected_generation=0, owner_id="fixture") + data = canonical({"dtype": "= 2", + "installed_source": "installed legacy implementation content differs", + "installed_resource": "installed legacy resource content differs"} + assert expected[change] in value["worker_result"]["detail"], value + assert not value["terminal_artifacts"] + terminal = [event for event in store.events(run_id=change) if event["kind"] == "terminal"] + assert len(terminal) == 1 and terminal[0]["payload"]["state"] == "failed" + + +def test_preparation_refuses_wrong_engine_changed_roles_and_manifest_pin(): + job, invocation = make_job() + binding = job.execution + for changes, message in (({"engine": ExecutionEngine("solarlab")}, "explicit legacy"), + ({"expected_sha256": "0" * 64}, "frozen")): + args = dict(engine=binding.engine, manifest=binding.manifest, expected_sha256=binding.expected_sha256) + args.update(changes) + with pytest.raises(ValueError, match=message): + prepare_legacy_job(invocation, binding.inputs, binding.execution, **args) + changed = replace(binding.execution, grid=SourceDocument("wrong-grid", b"{}")) + with pytest.raises(ValueError, match="roles differ"): + prepare_legacy_job(invocation, binding.inputs, changed, engine=binding.engine, + manifest=binding.manifest, expected_sha256=binding.expected_sha256) + + +def test_isolated_import_does_not_load_an_engine_or_open_a_store(tmp_path): + code = "import sys; import solarlab_server.legacy_engine; assert not set(sys.modules) & {'perovskite_sim', 'scipy', 'sksundae', 'flint'}" + completed = subprocess.run([sys.executable, "-I", "-B", "-c", code], cwd=tmp_path, + capture_output=True, text=True, timeout=10) + assert completed.returncode == 0, completed.stderr + assert list(tmp_path.iterdir()) == [] diff --git a/tests/runtime/test_legacy_wire_preview.py b/tests/runtime/test_legacy_wire_preview.py new file mode 100644 index 00000000..c760d293 --- /dev/null +++ b/tests/runtime/test_legacy_wire_preview.py @@ -0,0 +1,340 @@ +"""Real local API/client/panel legacy exports; all fixtures are data only.""" + +from __future__ import annotations + +from copy import deepcopy +import hashlib +import json +from pathlib import Path +import subprocess + +import pytest + +from solarlab.config.device_import import import_standard_device +from solarlab.config.scaps_input import import_scaps_device +from solarlab.config.tandem_input import import_tandem +from solarlab.config.schema import configuration_schema_representation +from solarlab.config.yaml import load_yaml_mapping +from solarlab.device.inputs import TandemInput +from solarlab.io.run_store import RunStore +from solarlab.materials.source import SourceDocument +from solarlab_server.configuration import ConfigurationPreviewContext +import test_configuration_preview as existing + +pytestmark = pytest.mark.frontend + +ROOT = existing.ROOT +catalog = existing.catalog +resources = existing.resources +node_client = existing.node_client +forbid_legacy_model_imports = existing.forbid_legacy_model_imports + + +@pytest.fixture +def wire_store(tmp_path): + with RunStore((tmp_path / "empty-preview-store").resolve()) as store: + yield store + assert store.events() == [] # No job, progress or terminal event was invented. + + +def headers(): + return {"Content-Type": "application/json", + "X-Solarlab-Configuration-Schema": configuration_schema_representation()[1]} + + +def binding(source): + return {"id": source.id, "sha256": source.sha256} + + +def request(input, sources): + return {"schema_version": "solarlab.legacy-wire-preview-request.v1", + "input": existing.wire_input(input), "source": binding(sources[0]), + "references": {source.id: binding(source) for source in sources[1:]}} + + +def edit(input): + child = input.top_cell if isinstance(input, TandemInput) else input + index = 2 if child.source_format == "scaps" else 0 + child.layers[index].parameters.mu_n = "3 cm^2/(V s)" + child.layers[index].parameters.D_ion = -0.0 + child.layers[index].parameters.optical_material = None + child.layers[index].parameters.incoherent = False + child.settings.phi_left = -0.0 + child.description = None + + +def reimport(result, input, sources, catalog): + documents = result["documents"] + assert result["can_execute"] is False and result["status"] == "prepared_data_only" + assert result["report"]["strict_roundtrip_passed"] is True + assert result["identity"]["source"] == binding(sources[0]) + assert result["identity"]["configuration_schema_sha256"] == configuration_schema_representation()[1] + emitted = {} + for document in documents: + data = document["utf8"].encode("utf-8") + assert len(data) == document["size_bytes"] + assert hashlib.sha256(data).hexdigest() == document["sha256"] + emitted[document["reference"]] = SourceDocument(document["source_id"], data) + original = emitted.pop(None) + if isinstance(input, TandemInput): + return import_tandem(original, id=input.id, references=emitted, defaults=catalog) + importer = import_scaps_device if input.source_format == "scaps" else import_standard_device + return importer(original, id=input.id, defaults=catalog) + + +@pytest.mark.parametrize("name", ["standard", "scaps", "tandem"]) +@pytest.mark.parametrize("edited", [False, True]) +def test_bound_source_export_and_strict_reimport(name, edited, catalog, resources, wire_store): + input, sources = existing.case(name, catalog) + original_bytes = tuple(source.content for source in sources) + if edited: + edit(input) + payload = request(input, sources) + before = existing.words(payload) + context = ConfigurationPreviewContext(catalog, resources, sources) + with existing.client(wire_store, context) as http: + response = http.post("/configuration-preview/legacy-wire", json=payload, headers=headers()) + assert response.status_code == 200, response.text + assert response.headers["cache-control"] == "no-store" + result = response.json() + reopened = reimport(result, input, sources, catalog) + assert reopened.id == input.id + if not edited: + assert {row["source_id"]: row["utf8"].encode() for row in result["documents"]} == { + source.id: source.content for source in sources} + assert result["report"]["differences"] == [] + else: + child = reopened.top_cell if isinstance(reopened, TandemInput) else reopened + index = 2 if child.source_format == "scaps" else 0 + assert dict(child.layers[index].parameters.normalized_items())["mu_n"] == .0003 + assert child.layers[index].parameters.optical_material is None + assert child.layers[index].parameters.incoherent is False + assert child.description is None + assert result["report"]["differences"] + original = next(row for row in result["documents"] if row["reference"] == + (input.top_cell_reference if isinstance(input, TandemInput) else None)) + assert "-0.0" in original["utf8"] + assert http.get("/configuration-schema").status_code == 200 + assert existing.words(payload) == before + assert tuple(source.content for source in sources) == original_bytes + + +def test_no_edit_keeps_utf8_bom_and_crlf(catalog, resources, wire_store): + _, sources = existing.case("standard", catalog) + original = SourceDocument("line-endings.yaml", b"\xef\xbb\xbf" + sources[0].content.replace(b"\n", b"\r\n")) + input = import_standard_device(original, id="line_endings", defaults=catalog) + with existing.client(wire_store, ConfigurationPreviewContext(catalog, resources, (original,))) as http: + response = http.post("/configuration-preview/legacy-wire", json=request(input, (original,)), headers=headers()) + assert response.status_code == 200, response.text + assert response.json()["documents"][0]["utf8"].encode() == original.content + + +def test_omission_null_and_integer_negative_zero_are_distinct(catalog, resources, wire_store): + input, sources = existing.case("standard", catalog) + payload = request(input, sources) + payload["input"].pop("description", None) + payload["input"]["layers"][0]["parameters"].pop("mu_p", None) + payload["input"]["settings"]["phi_left"] = -0.0 + with existing.client(wire_store, ConfigurationPreviewContext(catalog, resources, sources)) as http: + raw = json.dumps(payload).replace('"phi_left": -0.0', '"phi_left": -0') + response = http.post("/configuration-preview/legacy-wire", content=raw, headers=headers()) + assert response.status_code == 200, response.text + result = response.json() + assert "description" not in result["input"] + assert "mu_p" not in result["input"]["layers"][0]["parameters"] + wire = load_yaml_mapping(result["documents"][0]["utf8"].encode()) + assert "description" not in wire and "mu_p" not in wire["layers"][0] + assert wire["device"]["phi_left"].is_signed() + payload["input"]["description"] = None + cleared = http.post("/configuration-preview/legacy-wire", json=payload, headers=headers()).json() + assert cleared["input"]["description"] is None + assert load_yaml_mapping(cleared["documents"][0]["utf8"].encode())["description"] is None + + +@pytest.mark.parametrize("failure,status,path", [ + ("unknown", 422, ["source", "id"]), + ("mismatch", 409, ["source", "sha256"]), + ("extra_source", 422, ["source", "path"]), + ("extra_reference", 422, ["references"]), + ("catalog", 422, ["defaults"]), +]) +def test_source_selection_never_discovers_paths(failure, status, path, catalog, resources, wire_store, monkeypatch): + input, sources = existing.case("standard", catalog) + payload = request(input, sources) + if failure == "unknown": + payload["source"]["id"] = "/a/client/supplied/path.yaml" + elif failure == "mismatch": + payload["source"]["sha256"] = "0" * 64 + elif failure == "extra_source": + payload["source"]["path"] = "/read/me.yaml" + elif failure == "extra_reference": + payload["references"]["unused.yaml"] = binding(sources[0]) + else: + payload["defaults"] = {"replacement": True} + expected_headers = headers() + with existing.client(wire_store, ConfigurationPreviewContext(catalog, resources, sources)) as http: + monkeypatch.setattr(Path, "read_bytes", lambda *_: pytest.fail("preview attempted server file discovery")) + response = http.post("/configuration-preview/legacy-wire", json=payload, headers=expected_headers) + assert response.status_code == status, response.text + assert path in [row["loc"] for row in response.json()["detail"]["field_errors"]] + assert "documents" not in response.json() + + +@pytest.mark.parametrize("failure", ["missing", "wrong_identity", "wrong_hash", "swapped"]) +def test_tandem_requires_exact_reference_bindings(failure, catalog, resources, wire_store): + input, sources = existing.case("tandem", catalog) + payload = request(input, sources) + refs = list(payload["references"]) + if failure == "missing": + payload["references"].pop(refs[0]) + elif failure == "wrong_identity": + payload["references"][refs[0]]["id"] = "unknown.yaml" + elif failure == "wrong_hash": + payload["references"][refs[0]]["sha256"] = "0" * 64 + else: + payload["references"][refs[0]], payload["references"][refs[1]] = payload["references"][refs[1]], payload["references"][refs[0]] + with existing.client(wire_store, ConfigurationPreviewContext(catalog, resources, sources)) as http: + response = http.post("/configuration-preview/legacy-wire", json=payload, headers=headers()) + if failure == "swapped": + assert response.status_code == 200, response.text + assert response.json()["report"]["supported"] is False + assert response.json()["documents"] == [] + else: + assert response.status_code in {409, 422}, response.text + assert response.json()["detail"]["can_execute"] is False + + +@pytest.mark.parametrize("failure", ["material", "spectrum", "wrong_original"]) +def test_lossy_edit_returns_field_report_and_no_partial_document(failure, catalog, resources, wire_store): + input, sources = existing.case("standard", catalog) + payload = request(input, sources) + if failure == "material": + payload["input"]["materials"] = [{"id": "shared", "name": "Shared", "parameters": {"mu_n": 0}}] + payload["input"]["layers"][0]["material"] = "shared" + elif failure == "spectrum": + payload["input"]["spectrum"] = "/not/a/server/read.json" + else: + _, other = existing.case("scaps", catalog) + sources = (*sources, *other) + payload["source"] = binding(other[0]) + with existing.client(wire_store, ConfigurationPreviewContext(catalog, resources, sources)) as http: + response = http.post("/configuration-preview/legacy-wire", json=payload, headers=headers()) + assert response.status_code == 200, response.text + value = response.json() + assert value["status"] == "unsupported" and value["can_execute"] is False + assert value["documents"] == [] and value["report"]["unsupported"] + assert all(row["path"].startswith("$") for row in value["report"]["unsupported"]) + + +def test_context_schema_and_existing_transport_errors(catalog, resources, wire_store): + input, sources = existing.case("standard", catalog) + payload = request(input, sources) + with existing.client(wire_store) as http: + assert http.post("/configuration-preview/legacy-wire", json=payload, headers=headers()).status_code == 503 + with existing.client(wire_store, ConfigurationPreviewContext(catalog, resources, sources)) as http: + assert http.post("/configuration-preview/legacy-wire", json=payload).status_code == 428 + assert http.post("/configuration-preview/legacy-wire", json=payload, + headers={**headers(), "X-Solarlab-Configuration-Schema": "0" * 64}).status_code == 409 + for content in ('{"input": 1, "input": 2}', '{"x":NaN}', '{"x":1e999}'): + assert http.post("/configuration-preview/legacy-wire", content=content, headers=headers()).status_code == 400 + bad = deepcopy(payload) + bad["input"]["layers"][0]["parameters"]["mu_n"] = None + response = http.post("/configuration-preview/legacy-wire", json=bad, headers=headers()) + assert response.status_code == 422 + assert any("mu_n" in field["loc"] for field in response.json()["detail"]["field_errors"]) + bad = deepcopy(payload) + bad["input"]["schema_version"] = "unknown-input-schema" + assert http.post("/configuration-preview/legacy-wire", json=bad, headers=headers()).status_code == 422 + + +@pytest.fixture(scope="module") +def node_panel(node_client): + target = node_client.parent / "configuration-preview.mjs" + script = """ +import fs from 'node:fs'; +import ts from 'typescript'; +const source = fs.readFileSync(process.argv[1], 'utf8'); +const result = ts.transpileModule(source, {compilerOptions: { + module: ts.ModuleKind.ESNext, target: ts.ScriptTarget.ES2023, verbatimModuleSyntax: true +}}); +fs.writeFileSync(process.argv[2], result.outputText.replace('../configuration-client', './configuration-client.mjs')); +""" + subprocess.run(["node", "--input-type=module", "-e", script, + str(ROOT / "web/src/panels/configuration-preview.ts"), str(target)], + cwd=ROOT / "web", check=True, timeout=15, capture_output=True) + return target + + +@pytest.mark.parametrize("name", ["standard", "scaps", "tandem"]) +@pytest.mark.parametrize("edited", [False, True]) +def test_real_http_client_panel_download_reimports(name, edited, catalog, resources, wire_store, node_panel, tmp_path, record_property): + input, sources = existing.case(name, catalog) + if edited: + edit(input) + payload = request(input, sources) + request_path, result_path = tmp_path / "request.json", tmp_path / "wire-result.json" + request_path.write_text(json.dumps(payload)) + context = ConfigurationPreviewContext(catalog, resources, sources) + script = """ +import assert from 'node:assert/strict'; +import fs from 'node:fs'; +import { pathToFileURL } from 'node:url'; +import { JSDOM } from 'jsdom'; +const { mountConfigurationPreviewPanel } = await import(pathToFileURL(process.argv[1])); +const request = JSON.parse(fs.readFileSync(process.argv[2], 'utf8')); +const kind = request.input.schema_version === 'solarlab.tandem-preparation.v1' ? 'tandem' : 'device'; +const dom = new JSDOM('
', { url: process.argv[4] }); +globalThis.document = dom.window.document; +const root = document.getElementById('preview'); +const downloads = []; +dom.window.HTMLAnchorElement.prototype.click = function () { downloads.push({ href: this.href, name: this.download }); }; +const panel = mountConfigurationPreviewPanel(root, { + endpoint: process.argv[4] + '/configuration-preview/' + kind, kind, input: request.input, + legacyWire: { endpoint: process.argv[4] + '/configuration-preview/legacy-wire', source: request.source, references: request.references }, +}); +try { + await panel.ready; + assert.equal(root.querySelector('[data-panel]').dataset.state, 'ready'); + const button = label => [...root.querySelectorAll('button')].find(item => item.textContent === label); + button('Preview legacy YAML').click(); + await panel.wireReady; + assert.equal(root.querySelector('[data-section=legacy-wire]').dataset.state, 'ready', root.textContent); + assert.equal(panel.wireDocument.value.can_execute, false); + assert.equal(panel.wireDocument.value.report.strict_roundtrip_passed, true); + assert.equal(panel.wireDocument.value.input.id, request.input.id); + fs.writeFileSync(process.argv[3], panel.wireDocument.json); + for (const item of root.querySelectorAll('[data-role=legacy-document] button')) item.click(); + assert.equal(downloads.length, panel.wireDocument.value.documents.length); + const records = []; + for (const [index, download] of downloads.entries()) { + const bytes = new Uint8Array(await (await fetch(download.href)).arrayBuffer()); + const target = process.argv[3] + '.' + index + '.yaml'; + fs.writeFileSync(target, bytes); + records.push({ filename: download.name, path: target }); + } + fs.writeFileSync(process.argv[3] + '.downloads.json', JSON.stringify(records)); + console.log(JSON.stringify({ actual_HTTP: true, actual_client: true, actual_panel: true, + download_sink: 'jsdom anchor with actual Blob bytes', real_browser: false, scientific_calls: 0, documents: downloads.length })); +} finally { panel.dispose(); dom.window.close(); } +""" + with existing._HTTPServer(wire_store.root, configuration_preview=context) as server: + endpoint = f"http://127.0.0.1:{server.port}" + completed = subprocess.run(["node", "--input-type=module", "-e", script, + str(node_panel), str(request_path), str(result_path), endpoint], + cwd=ROOT / "web", text=True, capture_output=True, timeout=25) + assert completed.returncode == 0, completed.stdout + completed.stderr + result = json.loads(result_path.read_text()) + reopened = reimport(result, input, sources, catalog) + assert reopened.id == input.id + downloads = json.loads(Path(str(result_path) + ".downloads.json").read_text()) + for row, document in zip(downloads, result["documents"], strict=True): + assert Path(row["path"]).read_bytes() == document["utf8"].encode() + if not edited: + assert {row["source_id"]: row["utf8"].encode() for row in result["documents"]} == { + source.id: source.content for source in sources} + assert server.stopped + record_property("legacy_source_kind", name) + record_property("edited", edited) + record_property("actual_local_API_client_panel", True) + record_property("strict_reimport_passed", True) + record_property("real_browser", False) diff --git a/tests/runtime/test_persistence_injection.py b/tests/runtime/test_persistence_injection.py new file mode 100644 index 00000000..df12fb2d --- /dev/null +++ b/tests/runtime/test_persistence_injection.py @@ -0,0 +1,80 @@ +"""Real event consumers accept a structural port without constructing RunStore.""" + +import asyncio +import inspect +import json +from typing import Any, get_type_hints + +import pytest +from starlette.requests import Request + +from solarlab.contracts.persistence import PersistenceReader +from solarlab_server import events + + +class RecordedEvents: + """Small read-only test adapter; neither inherits nor wraps RunStore.""" + + store_id = "injected" + + def __init__(self): + self.reads = [] + self.records = [ + {"sequence": 1, "run_id": "run", "attempt_id": "attempt", "kind": "progress", "payload": {"n": 1}}, + {"sequence": 2, "run_id": "run", "attempt_id": "attempt", "kind": "terminal", "payload": {"state": "failed"}}, + ] + + def get_run(self, run_id: str) -> dict[str, Any]: + assert run_id == "run" + return {"run_id": run_id, "state": "failed", "current_attempt_id": "attempt"} + + def attempts(self, run_id: str) -> list[dict[str, Any]]: + assert run_id == "run" + return [{"attempt_id": "attempt", "state": "failed", "result": {"reason": "original_failure"}}] + + def events(self, *, after: int = 0, limit: int = 100, run_id: str | None = None) -> list[dict[str, Any]]: + self.reads.append((after, limit, run_id)) + return [row for row in self.records if row["sequence"] > after + and (run_id is None or row["run_id"] == run_id)][:limit] + + +@pytest.mark.parametrize("consumer", [events.attempt_record, events.replay_cursor, events.event_stream]) +def test_consumers_declare_the_low_level_port(consumer): + # Protocol imports are static-only to preserve the solver-free read path. + assert get_type_hints(consumer, localns={"PersistenceReader": PersistenceReader})["store"] is PersistenceReader + assert "from solarlab.io.run_store import" not in inspect.getsource(events) + + +def test_injected_reader_preserves_failure_and_cursor_validation(): + port: PersistenceReader = RecordedEvents() + assert isinstance(port, PersistenceReader) + assert events.attempt_record(port, "run", "attempt")["result"] == {"reason": "original_failure"} + assert events.replay_cursor(port, "run", "attempt", 0, "1") == (1, False) + assert events.replay_cursor(port, "run", "attempt", 0, "2") == (2, True) + with pytest.raises(KeyError): + events.attempt_record(port, "run", "foreign") + with pytest.raises(ValueError, match="does not identify"): + events.replay_cursor(port, "run", "foreign", 0, "2") + + +def test_event_stream_uses_only_injected_port_and_retains_wire_bytes(): + adapter = RecordedEvents() + port: PersistenceReader = adapter + + async def receive(): + return {"type": "http.request"} + + async def collect(): + request = Request({"type": "http"}, receive=receive) + return [frame async for frame in events.event_stream( + request, port, "run", "attempt", after=0, page_size=1, + poll_interval=0.01, keepalive_interval=1.0, + )] + + frames = asyncio.run(collect()) + assert frames == [ + f"id: {row['sequence']}\nevent: {row['kind']}\ndata: " + + json.dumps(row, ensure_ascii=True, allow_nan=False, separators=(",", ":")) + "\n\n" + for row in adapter.records + ] + assert adapter.reads == [(0, 1, "run"), (1, 1, "run")] diff --git a/tests/runtime/test_run_bundle.py b/tests/runtime/test_run_bundle.py new file mode 100644 index 00000000..c678bd50 --- /dev/null +++ b/tests/runtime/test_run_bundle.py @@ -0,0 +1,375 @@ +"""Real archive/filesystem/SQLite faults, read-only history and bounded IO.""" + +from copy import deepcopy +import hashlib +import json +import shutil +import sqlite3 +import subprocess +import sys +import zipfile +from unittest.mock import patch + +import numpy as np +import pytest + +from solarlab.io.artifacts import ArtifactIntegrityError, array_artifact, bytes_artifact +from solarlab.io.run_bundle import RunBundle +from solarlab.io.run_store import RunStore, StateConflict +from solarlab.io.storage import require_local_storage +import solarlab.io.run_bundle as bundle_module +from test_run_store import IDENTITY, claim, enqueue +from test_run_store import store as store + + +def complete(store, *, retry=False): + enqueue(store, old_schema="unrecognized_historical_result_v0", evidence="FIRST_SLICE") + token = claim(store) + if retry: + store.complete(token, state="failed", result={"original_failure": True, "raw_signed_zero": -0.0}) + store.retry("run", expected_attempt_id=token.attempt_id, expected_generation=token.generation) + token = claim(store) + words = np.array([0x8000000000000000, 0x7FF8000000000123, 0x3FF0000000000000], dtype=" dict: + node = shutil.which("node") + assert node is not None, "the locked web toolchain needs Node" + started = time.perf_counter() + result = subprocess.run( + [node, "--input-type=module", "-"], input=script, text=True, + cwd=directory, capture_output=True, timeout=20, check=False, + ) + elapsed = time.perf_counter() - started + _receipt({"kind": "run_client_node", "command": [node, "--input-type=module", "-"], + "wall_seconds": elapsed, "exit_code": result.returncode, + "stdout": result.stdout, "stderr": result.stderr, + "real_browser": False, "scientific_fixture": False}) + assert result.returncode == 0, result.stdout + result.stderr + return json.loads(result.stdout) + + +def _claim(store: RunStore, run_id: str): + run = store.get_run(run_id) + return store.claim(run_id, expected_attempt_id=run["current_attempt_id"], + expected_generation=run["generation"], owner_id="client-fixture") + + +def test_typescript_client_reads_actual_local_stored_run(tmp_path): + # Both the database and the transpiled test module stay in this new temp dir. + module = tmp_path / "run-client.mjs" + compiler = REPOSITORY / "web/node_modules/typescript/lib/typescript.js" + assert compiler.is_file(), "use the installed locked TypeScript toolchain" + prepare = f""" +import ts from {json.dumps(compiler.as_uri())}; +import {{ readFile, writeFile }} from 'node:fs/promises'; +const source = await readFile({json.dumps(str(REPOSITORY / 'web/src/run-client.ts'))}, 'utf8'); +const result = ts.transpileModule(source, {{ compilerOptions: {{ target: ts.ScriptTarget.ES2023, module: ts.ModuleKind.ES2022 }} }}); +await writeFile({json.dumps(str(module))}, result.outputText); +""" + with RunStore((tmp_path / "store").resolve()) as store: + run_id = "run-client-fixture" + metadata = {"zero": 0, "negative_zero": -0.0, "null_value": None, + "large_integer": 18446744073709551617, + "qualification": "infrastructure_only", "enabled": False} + store.enqueue(run_id, opaque_identity=IDENTITY, input_metadata=metadata) + old = _claim(store, run_id) + store.complete(old, state="failed", result={"reason": "old infrastructure failure"}) + store.retry(run_id, expected_attempt_id=old.attempt_id, expected_generation=old.generation) + token = _claim(store, run_id) + store.enqueue("foreign", opaque_identity=IDENTITY, input_metadata={}) + store.append_event(token, event_id="zero", payload={"value": 0, "null_value": None}) + payload = b"\x00\x80\xffexact-words\x00" + artifact = store.publish(token, "bytes", bytes_artifact(payload, metadata={"zero": 0, "missing_reason": None})) + result = {"zero": 0, "tau": None, "reason": None, "qualification": "not_evaluated"} + store.complete(token, state="succeeded", result=result, artifacts=[artifact["artifact_id"]]) + store.enqueue("still-running", opaque_identity=IDENTITY, input_metadata={}) + running = _claim(store, "still-running") + expected = store.events(run_id=run_id) + selection = { + "storeId": store.store_id, "target": {"runId": run_id, "attemptId": token.attempt_id}, + "oldAttemptId": old.attempt_id, + "running": {"runId": running.run_id, "attemptId": running.attempt_id}, + "artifact": {"artifact_id": artifact["artifact_id"], "manifest_sha256": artifact["manifest_sha256"]}, + "payload": list(payload), "identity": IDENTITY, "result": result, + "sequences": [event["sequence"] for event in expected], + "attemptSequences": [event["sequence"] for event in expected if event["attempt_id"] == token.attempt_id], + } + with _HTTPServer(store.root) as server: + selection["endpoint"] = f"http://127.0.0.1:{server.port}/" + script = prepare + f""" +import assert from 'node:assert/strict'; +const {{ StoredRunClient }} = await import({json.dumps(module.as_uri())}); +const fixture = {json.dumps(selection)}; +const client = new StoredRunClient(fixture.endpoint, fixture.storeId); +const run = await client.getRun(fixture.target.runId); +assert.deepEqual(run.value.request.identity, fixture.identity); +const input = run.value.request.input_metadata; +assert.equal(input.large_integer, 18446744073709551617n); +assert(Object.is(input.negative_zero, -0)); +assert.equal(input.zero, 0); assert.equal(input.null_value, null); +assert.equal(Object.hasOwn(input, 'omitted'), false); +assert.equal(typeof run.value.created_ns, 'bigint'); +const attempt = await client.getAttempt(fixture.target); +assert.deepEqual(attempt.value.result, fixture.result); +const old = await client.getAttempt({{ runId: fixture.target.runId, attemptId: fixture.oldAttemptId }}); +assert.equal(old.value.state, 'failed'); +assert.equal(old.value.result.reason, 'old infrastructure failure'); +const obtained = []; +let after = '0'; +while (true) {{ + const page = await client.getEvents(fixture.target.runId, after, 2); + if (!page.value.events.length) break; + obtained.push(...page.value.events); + after = page.value.next_cursor.toString(); +}} +assert.deepEqual(obtained.map(event => event.sequence), fixture.sequences); +const downloaded = await client.getArtifact(fixture.target, fixture.artifact); +assert.deepEqual([...downloaded.bytes], fixture.payload); +assert.deepEqual(downloaded.record.value.metadata, {{ zero: 0, missing_reason: null }}); +const received = []; +let first; +first = client.subscribe(fixture.target, record => {{ received.push(record.value); first.unsubscribe(); }}); +assert.equal((await first.done).reason, 'unsubscribed'); +const resumed = client.subscribe(fixture.target, record => {{ received.push(record.value); }}, first.cursor); +assert.equal((await resumed.done).reason, 'terminal'); +assert.deepEqual(received.map(event => event.sequence), fixture.attemptSequences); +assert.deepEqual(received.at(-1).payload.result, fixture.result); +const ack = client.subscribe(fixture.target, () => assert.fail('204 must not synthesize an event'), resumed.cursor); +assert.equal((await ack.done).reason, 'terminal_acknowledged'); +let active; +active = client.subscribe(fixture.running, () => active.unsubscribe()); +assert.equal((await active.done).reason, 'unsubscribed'); +assert.equal((await client.getAttempt(fixture.running)).value.state, 'running'); +await assert.rejects(new StoredRunClient(fixture.endpoint, 'foreign-store').getRun(fixture.target.runId), + error => error.code === 'identity_mismatch'); +console.log(JSON.stringify({{ real_http: true, native_fetch_stream: true, real_browser: false, + pages_and_attempts: true, exact_metadata_and_bytes: true, unsubscribe_did_not_cancel: true, + terminal_acknowledgement: true, event_count: received.length, cursor: resumed.cursor.sequence }})); +""" + receipt = _node(script, tmp_path) + assert receipt["native_fetch_stream"] and receipt["unsubscribe_did_not_cancel"] + assert store.get_run("still-running")["state"] == "running" + assert store.attempts(run_id)[-1]["result"] == result + # Deliberately corrupt only this newly created infrastructure object. + (store.root / artifact["relative_path"]).write_bytes(b"corrupt fixture") + receipt = _node(f""" +import assert from 'node:assert/strict'; +import {{ StoredRunClient }} from {json.dumps(module.as_uri())}; +const fixture = {json.dumps(selection)}; +const client = new StoredRunClient(fixture.endpoint, fixture.storeId); +await assert.rejects(client.getArtifact(fixture.target, fixture.artifact), + error => error.code === 'http' && error.status === 409 && error.detail.detail.code === 'artifact_integrity'); +assert.equal((await client.getRun(fixture.target.runId)).value.state, 'succeeded'); +console.log(JSON.stringify({{ corrupt_artifact_rejected: true, historical_terminal_unchanged: true }})); +""", tmp_path) + assert receipt["corrupt_artifact_rejected"] + assert server.stopped + + +def _supervised_modules(directory): + """Use the same locked transpiler and DOM implementation as existing tests.""" + compiler = REPOSITORY / "web/node_modules/typescript/lib/typescript.js" + panel_source = REPOSITORY / "web/src/panels/stored-run.ts" + client_source = REPOSITORY / "web/src/run-client.ts" + client = directory / "run-client.mjs" + panel = directory / "stored-run.mjs" + _node(f""" +import ts from {json.dumps(compiler.as_uri())}; +import {{ readFile, writeFile }} from 'node:fs/promises'; +for (const [source, destination, panel] of {json.dumps([[str(client_source), str(client), False], [str(panel_source), str(panel), True]])}) {{ + let code = await readFile(source, 'utf8'); + if (panel) code = code.replace("'../run-client'", "'./run-client.mjs'"); + const result = ts.transpileModule(code, {{ compilerOptions: {{ target: ts.ScriptTarget.ES2023, module: ts.ModuleKind.ES2022 }} }}); + await writeFile(destination, result.outputText); +}} +console.log(JSON.stringify({{ transpiled: 2, production_sources_changed: false }})); +""", directory) + return client, panel + + +def _supervised_terminal_read(directory, modules, fixture): + """Read real committed output using the client and the unmocked panel.""" + client_module, panel_module = modules + jsdom = REPOSITORY / "web/node_modules/jsdom/lib/api.js" + return _node(rf""" +import assert from 'node:assert/strict'; +import {{ JSDOM }} from {json.dumps(jsdom.as_uri())}; +import {{ StoredRunClient }} from {json.dumps(client_module.as_uri())}; +import {{ mountStoredRunPanel }} from {json.dumps(panel_module.as_uri())}; +const fixture = {json.dumps(fixture)}; +const client = new StoredRunClient(fixture.endpoint, fixture.storeId); +const run = await client.getRun(fixture.target.runId); +const attempt = await client.getAttempt(fixture.target); +assert.equal(run.value.current_attempt_id, fixture.target.attemptId); +assert.equal(run.value.generation, fixture.generation); +assert.equal(attempt.value.generation, fixture.generation); +assert.equal(attempt.value.state, fixture.state); +assert.equal(attempt.value.result.status, 'prepared_pending_dependencies'); +assert.equal(attempt.value.result.process.process_joined, true); +assert.equal(attempt.value.result.process.process_exit_observed, true); +assert.equal(attempt.value.result.resources.calls, null); +assert.equal(attempt.value.result.resources.accepted_steps, null); +assert.equal(attempt.value.result.counter_observation_kind, 'worker_reported_or_null_unobserved'); +assert.equal(attempt.value.result.process.token.attempt_id, fixture.target.attemptId); +assert.equal(attempt.value.result.process.token.generation, fixture.generation); +assert.equal(run.value.request.input_metadata.transport.H_execution, fixture.H_execution); +if (fixture.state === 'succeeded') {{ + assert.equal(attempt.value.result.worker_result.large_integer, 18446744073709551617n); + assert(Object.is(attempt.value.result.worker_result.negative_zero, -0)); + assert.equal(attempt.value.result.worker_result.tau, null); + assert.equal(attempt.value.result.worker_result.scientific_qualification, false); +}} else {{ + assert.equal(attempt.value.result.worker_result.reason, fixture.reason); +}} +const received = []; +const subscription = client.subscribe(fixture.target, record => received.push(record.value), fixture.cursor ?? undefined); +assert.equal((await subscription.done).reason, 'terminal'); +assert.deepEqual([...(fixture.seen ?? []), ...received.map(event => event.sequence.toString())], fixture.sequences); +assert(received.every(event => event.attempt_id === fixture.target.attemptId && + event.generation === fixture.eventGenerations[event.sequence.toString()])); +assert.equal(received.filter(event => event.kind === 'terminal').length, 1); +assert.equal(received.at(-1).payload.state, fixture.state); +assert.equal((await client.subscribe(fixture.target, () => assert.fail('terminal replay synthesized a duplicate'), subscription.cursor).done).reason, 'terminal_acknowledged'); + +const dom = new JSDOM('
', {{ url: fixture.endpoint }}); +globalThis.document = dom.window.document; +const root = document.getElementById('panel'); +const downloads = []; +// Capture the panel's generated downloads, without replacing its client or HTTP. +dom.window.HTMLAnchorElement.prototype.click = function () {{ downloads.push({{ href: this.href, name: this.download }}); }}; +const field = role => root.querySelector(`[data-role="${{role}}"]`); +const until = async predicate => {{ + const end = Date.now() + 3000; + while (!predicate()) {{ assert(Date.now() < end, 'panel did not reach its observed boundary'); await new Promise(resolve => setTimeout(resolve, 5)); }} +}}; +let panel; +try {{ + panel = mountStoredRunPanel(root, {{ endpoint: fixture.endpoint, storeId: fixture.storeId, ...fixture.target }}); + await panel.ready; + await until(() => field('transport').textContent === 'Terminal event received; stream closed'); + assert.equal(field('attempt-state').textContent, fixture.state); + assert(root.textContent.includes(fixture.target.attemptId)); + assert(root.textContent.includes('prepared_pending_dependencies')); + const original = [...field('documents').querySelectorAll('pre')].map(node => node.textContent); + assert(original.includes(run.json)); + assert(original.includes(attempt.json)); + assert(original.some(text => /"calls"\s*:\s*null/.test(text))); + assert(field('events').textContent.includes('scientific_qualification')); + assert(field('events').textContent.includes('18446744073709551617')); + const buttons = () => [...root.querySelectorAll('button')]; + buttons().find(button => button.textContent === 'Download original JSON').click(); + await until(() => downloads.length === 1); + assert.equal(await (await fetch(downloads[0].href)).text(), run.json); + if (fixture.state === 'succeeded') {{ + const direct = await client.getArtifact(fixture.target, fixture.artifact); + assert.deepEqual([...direct.bytes], fixture.payload); + assert.equal(direct.record.value.metadata.scientific_qualification, false); + const download = buttons().find(button => button.textContent === 'Verify and download artifact'); + assert(download, 'committed artifact download is unavailable'); + download.click(); + await until(() => downloads.length === 2); + assert.deepEqual([...new Uint8Array(await (await fetch(downloads[1].href)).arrayBuffer())], fixture.payload); + }} else {{ + assert(field('artifacts').textContent.includes('No committed artifact references')); + assert(root.textContent.includes(fixture.reason)); + }} + const cursor = panel.cursor.sequence; + panel.reconnect(); + await until(() => field('transport').textContent === 'Terminal already acknowledged (HTTP 204)'); + assert.equal(panel.cursor.sequence, cursor); + assert.equal(field('attempt-state').textContent, fixture.state); + if (fixture.oldAttemptId) {{ + await panel.select({{ endpoint: fixture.endpoint, storeId: fixture.storeId, runId: fixture.target.runId, attemptId: fixture.oldAttemptId }}); + await until(() => field('transport').textContent === 'Terminal event received; stream closed'); + assert.equal(field('run-state').textContent, `succeeded; current attempt ${{fixture.target.attemptId}}`); + assert.equal(field('attempt-state').textContent, 'cancelled'); + assert(root.textContent.includes(fixture.oldAttemptId)); + }} + panel.dispose(); + assert.equal(root.childNodes.length, 0); + panel = mountStoredRunPanel(root, {{ endpoint: fixture.endpoint, storeId: fixture.storeId, ...fixture.target }}); + await panel.ready; + await until(() => field('transport').textContent === 'Terminal event received; stream closed'); + assert.equal(field('attempt-state').textContent, fixture.state); + console.log(JSON.stringify({{ real_http: true, real_client: true, real_panel: true, DOM: 'jsdom', real_browser: false, + state: fixture.state, generation: fixture.generation, calls: null, scientific_qualification: false, + original_json_preserved: true, positive_process_exit_in_store: true, replay_and_panel_reopen: true, + artifact_download: fixture.state === 'succeeded', terminal_events: 1 }})); +}} finally {{ panel?.dispose(); dom.window.close(); }} +""", directory) + + +@pytest.mark.parametrize("outcome", ["succeeded", "failed", "cancelled"]) +def test_supervised_attempt_reaches_durable_client_and_panel(tmp_path, outcome): + """Compose actual process/store/service/TS consumers; no terminal injection.""" + tmp_path = tmp_path.resolve() + modules = _supervised_modules(tmp_path) + payload = request(outcome=outcome, scope="supervised-client-infrastructure", scientific_qualification=False) + binding = WorkerBinding.from_function("supervised_client", workers.supervised_client, + registry_sha256=REGISTRY.sha256, schema_sha256=SCHEMA.sha256) + cap = limits(wall_seconds=20.0, output_bytes=1024**2, accepted_steps=None, calls=None) + old_attempt = None + old_generation = None + with RunStore(tmp_path / "db") as store, ProcessSupervisor(store, tmp_path / "work", (binding,), + max_active=1, max_pending=1, shared_rss_bytes=768*1024**2, shared_output_bytes=16*1024**2, + soft_grace_seconds=0.1, terminate_grace_seconds=0.1, poll_seconds=0.01) as pool: + run_id = "supervised-" + outcome + if outcome == "succeeded": + previous = pool.submit(run_id, binding.id, payload, cap) + ready(store, previous) + assert pool.cancel(previous, reason="earlier_infrastructure_attempt") + assert assert_reaped(pool.wait(previous, 3))["store_state"] == "cancelled" + prior = store.get_run(run_id) + old_generation = prior["generation"] + store.retry(run_id, expected_attempt_id=previous.attempt_id, expected_generation=prior["generation"]) + old_attempt = previous.attempt_id + handle = pool.submit(run_id, binding.id, payload, cap) + pid = ready(store, handle) + run = store.get_run(run_id) + assert handle.attempt_id != old_attempt + assert isinstance(run["generation"], int) and run["generation"] > 0 + if old_generation is not None: + assert run["generation"] > old_generation + fixture = {"storeId": store.store_id, "target": {"runId": run_id, "attemptId": handle.attempt_id}, + "generation": run["generation"], "state": outcome, "oldAttemptId": old_attempt, + "H_execution": payload.execution_identity.sha256, + "eventGenerations": {str(event["sequence"]): event["generation"] + for event in store.events(run_id=run_id, limit=1000) + if event["attempt_id"] == handle.attempt_id}} + with _HTTPServer(store.root) as server: + fixture["endpoint"] = f"http://127.0.0.1:{server.port}/" + observed = _node(f""" +import assert from 'node:assert/strict'; +import {{ StoredRunClient }} from {json.dumps(modules[0].as_uri())}; +const fixture = {json.dumps(fixture)}; +const client = new StoredRunClient(fixture.endpoint, fixture.storeId); +const seen = []; +let stream; +stream = client.subscribe(fixture.target, record => {{ + const event = record.value; + assert.equal(event.attempt_id, fixture.target.attemptId); + assert.equal(event.generation, fixture.eventGenerations[event.sequence.toString()]); + seen.push(event.sequence.toString()); + if (event.payload.ui_progress?.stage === 'ready') {{ + const progress = event.payload.ui_progress; + assert.equal(progress.large_integer, 18446744073709551617n); + assert(Object.is(progress.negative_zero, -0)); + assert.equal(progress.unobserved, null); + assert.equal(progress.scientific_qualification, false); + assert.deepEqual(progress.forbidden_modules_loaded, []); + stream.unsubscribe(); + }} +}}); +assert.equal((await stream.done).reason, 'unsubscribed'); +assert.equal((await client.getAttempt(fixture.target)).value.state, 'running'); +console.log(JSON.stringify({{ cursor: stream.cursor, seen, running_after_unsubscribe: true }})); +""", tmp_path) + assert observed["running_after_unsubscribe"] + assert store.get_run(run_id)["state"] == "running" and pool.accounting()["active"] == 1 + if outcome == "cancelled": + assert pool.cancel(handle, reason="supervised_fixture_cancelled") + else: + release(tmp_path, store, handle) + receipt = assert_reaped(pool.wait(handle, 4)) + assert receipt["pid"] == pid and receipt["terminal_committed"] + assert receipt["store_state"] == outcome + assert receipt["resources"]["accepted_steps"] is None and receipt["resources"]["calls"] is None + if outcome != "cancelled": + assert receipt["exitcode"] == 0 + else: + assert "soft_stop" in receipt["signals"] + events = [event for event in store.events(run_id=run_id, limit=1000) if event["attempt_id"] == handle.attempt_id] + # Enqueue/retry events precede claim and retain their own generation. + assert events[-1]["generation"] == run["generation"] + assert [event["generation"] for event in events] == sorted(event["generation"] for event in events) + assert sum(event["kind"] == "terminal" for event in events) == 1 and events[-1]["kind"] == "terminal" + fixture.update(cursor=observed["cursor"], seen=observed["seen"], sequences=[str(event["sequence"]) for event in events], + eventGenerations={str(event["sequence"]): event["generation"] for event in events}) + if outcome == "succeeded": + artifact = store.artifact(receipt["terminal_artifacts"][0]) + fixture.update(artifact={"artifact_id": artifact["artifact_id"], "manifest_sha256": artifact["manifest_sha256"]}, + payload=list(struct.pack("<2d", 0.0, -0.0) + b"\x00supervised")) + else: + fixture["reason"] = "worker_exception" if outcome == "failed" else "supervised_fixture_cancelled" + assert receipt["worker_result"]["reason"] == fixture["reason"] + assert receipt["terminal_artifacts"] == [] + observed = _supervised_terminal_read(tmp_path, modules, fixture) + assert observed["real_client"] and observed["real_panel"] and observed["calls"] is None + _receipt({"kind": "supervised_client_process", "outcome": outcome, "generation": run["generation"], + "receipt": receipt, "scientific_qualification": False}) + assert server.stopped + expected_attempts = store.attempts(run_id) + assert pool.accounting()["active"] == 0 + # A new store connection and new real service must read the same committed + # output. Its explicit new endpoint starts its own source-bound cursor. + with RunStore(tmp_path / "db") as reopened, _HTTPServer(tmp_path / "db") as server: + assert reopened.store_id == fixture["storeId"] + assert reopened.attempts(run_id) == expected_attempts + fixture.update(endpoint=f"http://127.0.0.1:{server.port}/", cursor=None, seen=[]) + assert _supervised_terminal_read(tmp_path, modules, fixture)["replay_and_panel_reopen"] + assert server.stopped diff --git a/tests/runtime/test_run_store.py b/tests/runtime/test_run_store.py new file mode 100644 index 00000000..4e473b18 --- /dev/null +++ b/tests/runtime/test_run_store.py @@ -0,0 +1,612 @@ +"""Real local SQLite/filesystem contracts; no solver, service or scheduler. + +Faults are injected at actual file/SQL boundaries. Numerical arrays here are +only small serialization fixtures, including signed zeros and raw NaN words. +""" + +from __future__ import annotations + +from concurrent.futures import ThreadPoolExecutor +from dataclasses import FrozenInstanceError, replace +import hashlib +import io +import json +import math +import os +from pathlib import Path +import sqlite3 +import subprocess +import sys +import threading + +import numpy as np +import pytest + +from solarlab.io.artifacts import ( + ArtifactIntegrityError, ArtifactPayload, array_artifact, bytes_artifact, +) +from solarlab.io.run_store import RunStore, StateConflict, StaleAttempt + +ROOT = Path(__file__).resolve().parents[2] +IDENTITY = {"H_input": "upstream:input", "H_physics": "upstream:physics", + "H_execution": "upstream:execution", "registry": {"id": "caller.v1"}} + + +@pytest.fixture +def store(tmp_path): + with RunStore((tmp_path / "store").resolve()) as value: + yield value + + +def enqueue(store, run_id="run", **metadata): + return store.enqueue(run_id, opaque_identity=IDENTITY, input_metadata=metadata) + + +def claim(store, run_id="run", owner="coordinator"): + queued = store.get_run(run_id) + return store.claim(run_id, owner_id=owner, + expected_attempt_id=queued["current_attempt_id"], + expected_generation=queued["generation"]) + + +def cancel(store, run_id="run", reason="user_request"): + current = store.get_run(run_id) + return store.cancel(run_id, reason=reason, + expected_attempt_id=current["current_attempt_id"], + expected_generation=current["generation"]) + + +def terminal_events(store, run_id="run"): + return [event for event in store.events(run_id=run_id) if event["kind"] == "terminal"] + + +def test_request_idempotence_detaches_metadata_and_preserves_presence_types_and_zero(store): + metadata = {"zero_int": 0, "positive": 0.0, "negative": -0.0, "nullable": None, + "false": False, "nested": {"values": [1, None, -0.0]}} + original = store.enqueue("r", opaque_identity=IDENTITY, input_metadata=metadata) + assert store.enqueue("r", opaque_identity=IDENTITY, input_metadata=metadata) == original + metadata["nested"]["values"][0] = 77 + value = store.get_run("r")["request"]["input_metadata"] + assert "omitted" not in value and value["nullable"] is None + assert type(value["zero_int"]) is int and type(value["positive"]) is float + assert value["nested"]["values"][0] == 1 and value["false"] is False + assert math.copysign(1, value["negative"]) == -1 + assert math.copysign(1, value["positive"]) == 1 + value["negative"] = 0.0 + with pytest.raises(StateConflict): + store.enqueue("r", opaque_identity=IDENTITY, input_metadata=value) + assert len(store.events(run_id="r")) == 1 + + +def test_owner_generation_and_store_identity_fence_real_claims(store, tmp_path): + queued = enqueue(store) + token = claim(store) + assert token.generation > queued["generation"] + with pytest.raises(FrozenInstanceError): + token.owner_id = "someone_else" + for wrong in (replace(token, generation=token.generation + 1), + replace(token, owner_id="someone_else"), + replace(token, attempt_id="not_current")): + with pytest.raises(StaleAttempt): + store.complete(wrong, state="succeeded", result={}) + with RunStore((tmp_path / "other").resolve()) as other: + with pytest.raises(StaleAttempt): + other.complete(token, state="succeeded", result={}) + with pytest.raises(StaleAttempt): + store.claim("run", owner_id="other", expected_attempt_id=queued["current_attempt_id"], + expected_generation=queued["generation"]) + assert store.get_run("run")["state"] == "running" + + +def test_terminal_event_atomic_idempotence_and_persistent_cursor(store): + enqueue(store) + token = claim(store) + progress = store.append_event(token, event_id="sample1", payload={"value": -0.0}) + assert store.append_event(token, event_id="sample1", payload={"value": -0.0}) == progress + with pytest.raises(StateConflict): + store.append_event(token, event_id="sample1", payload={"value": 0.0}) + terminal = store.complete(token, state="succeeded", result={"optional": None}) + assert store.complete(token, state="succeeded", result={"optional": None}) == terminal + with pytest.raises(StateConflict): + store.complete(token, state="failed", result={"optional": None}) + with pytest.raises(StateConflict): + store.append_event(token, event_id="late", payload={}) + path = store.root + before = store.events() + store.close() + with RunStore(path) as reopened: + assert reopened.events() == before + assert reopened.events(after=progress, limit=1)[0]["sequence"] == terminal + assert reopened.complete(token, state="succeeded", result={"optional": None}) == terminal + assert len(terminal_events(reopened)) == 1 + assert reopened.events(after=terminal) == [] + + +def test_cancel_queued_retry_preserves_attempt_and_rejects_old_cancellation(store): + original = enqueue(store) + sequence = cancel(store) + assert cancel(store) == sequence + old = store.attempts("run")[0] + assert old["owner_id"] is None and old["state"] == "cancelled" + assert old["result"]["process_exit_observed"] is False + queued = store.retry("run", expected_attempt_id=original["current_attempt_id"], + expected_generation=original["generation"]) + assert queued["current_attempt_id"] != old["attempt_id"] + with pytest.raises(StaleAttempt): + store.cancel("run", expected_attempt_id=old["attempt_id"], + expected_generation=old["generation"], reason="user_request") + new = claim(store) + store.complete(new, state="succeeded", result={}) + assert store.attempts("run")[0] == old + assert len(terminal_events(store)) == 2 # Exactly one for each preserved attempt. + with pytest.raises(StateConflict): + store.retry("run", expected_attempt_id=new.attempt_id, expected_generation=new.generation) + + +def test_interrupted_owner_retry_with_same_name_still_fences_old_attempt(store): + enqueue(store) + old = claim(store, owner="same-owner") + record = store.publish(old, "old", bytes_artifact(b"old", metadata={})) + store.recover_interrupted() + previous = store.attempts("run")[0] + store.retry("run", expected_attempt_id=old.attempt_id, expected_generation=old.generation) + new = claim(store, owner="same-owner") + assert new.owner_id == old.owner_id and new.generation > old.generation + assert new.attempt_id != old.attempt_id + with pytest.raises(StaleAttempt): + store.complete(old, state="succeeded", result={}, artifacts=[record["artifact_id"]]) + with pytest.raises(StaleAttempt): + store.publish(old, "late", bytes_artifact(b"late", metadata={})) + with pytest.raises(StaleAttempt): + store.complete(new, state="succeeded", result={}, artifacts=[record["artifact_id"]]) + assert store.get_run("run")["state"] == "running" + store.complete(new, state="succeeded", result={}) + assert store.attempts("run")[0] == previous + assert len(terminal_events(store)) == 2 + + +@pytest.mark.parametrize("first", ["cancel", "success"]) +def test_cancel_and_success_cannot_overwrite_each_other(store, first): + enqueue(store) + token = claim(store) + if first == "cancel": + sequence = cancel(store) + with pytest.raises(StateConflict): + store.complete(token, state="succeeded", result={}) + assert cancel(store) == sequence + else: + store.complete(token, state="succeeded", result={}) + with pytest.raises(StateConflict): + cancel(store) + assert len(terminal_events(store)) == 1 + + +def test_two_real_connections_race_cancel_against_success(store): + enqueue(store) + token = claim(store) + barrier = threading.Barrier(2) + with RunStore(store.root) as other: + def finish(): + barrier.wait(timeout=2) + try: + return store.complete(token, state="succeeded", result={}) + except StateConflict: + return "rejected" + + def stop(): + barrier.wait(timeout=2) + try: + return other.cancel("run", expected_attempt_id=token.attempt_id, + expected_generation=token.generation, reason="user_request") + except StateConflict: + return "rejected" + + with ThreadPoolExecutor(max_workers=2) as pool: + a, b = pool.submit(finish), pool.submit(stop) + results = [a.result(timeout=5), b.result(timeout=5)] + assert results.count("rejected") == 1 + assert store.get_run("run") == other.get_run("run") + assert len(terminal_events(other)) == 1 + + +def test_byte_publication_is_independent_exact_and_non_overwriting(store): + enqueue(store) + token = claim(store) + raw = b"\x00\xff\x80-0\nnull\n" + metadata = {"unit": None, "missing_reason": None, "zero": -0.0} + payload = bytes_artifact(raw, metadata=metadata) + metadata["zero"] = 9 + published = store.publish(token, "raw", payload) + assert store.publish(token, "raw", payload) == published + assert (store.root / published["relative_path"]).read_bytes() == raw + assert len(list((store.root / "objects").iterdir())) == 1 + with pytest.raises(StateConflict): + store.read_artifact(published["artifact_id"]) + for changed in (bytes_artifact(raw + b"x", metadata={}), + bytes_artifact(raw, metadata={"unit": None})): + with pytest.raises(StateConflict): + store.publish(token, "raw", changed) + sequence = store.complete(token, state="succeeded", result={}, artifacts=[published["artifact_id"]]) + assert store.read_artifact(published["artifact_id"]) == raw + assert math.copysign(1, store.artifact(published["artifact_id"])["metadata"]["zero"]) == -1 + assert store.complete(token, state="succeeded", result={}, artifacts=[published["artifact_id"]]) == sequence + + +@pytest.mark.parametrize("array", [ + np.array([0, 0x8000000000000000, 0x7FF8000000000042, 0xFFF8000000000019], dtype=">u8").view(">f8"), + np.arange(12, dtype="f8"}, {"unit": None}): + info = {**json.loads(payload.metadata_json), **change} + with pytest.raises(ArtifactIntegrityError): + replace(payload, metadata_json=json.dumps(info)) + with pytest.raises(ArtifactIntegrityError): + replace(payload, data=payload.data + b"trailing") + with pytest.raises(ValueError): + ArtifactPayload(b"bytes", "pickle", "{}") + with pytest.raises(ValueError): + ArtifactPayload(b"bytes", "bytes", '{"duplicate":0,"duplicate":1}') + stream = io.BytesIO() + np.save(stream, np.array([{}], dtype=object), allow_pickle=True) + with pytest.raises(ArtifactIntegrityError): + ArtifactPayload(stream.getvalue(), "npy", payload.metadata_json) + + +def test_publication_sql_failure_leaves_traceable_orphan_and_never_success(store): + enqueue(store) + enqueue(store, "queued") + token = claim(store) + store._db.execute("""CREATE TEMP TRIGGER publication_failure BEFORE UPDATE OF phase ON artifacts + WHEN NEW.phase='published' BEGIN SELECT RAISE(ABORT,'injected after publication'); END""") + with pytest.raises(sqlite3.DatabaseError, match="injected after publication"): + store.publish(token, "raw", bytes_artifact(b"original", metadata={})) + record = dict(store._db.execute("SELECT * FROM artifacts").fetchone()) + assert record["phase"] == "reserved" + assert (store.root / record["relative_path"]).read_bytes() == b"original" + assert terminal_events(store) == [] + path = store.root + store.close() + with RunStore(path) as reopened: + assert reopened.get_run("run")["state"] == "running" # Opening is not recovery. + assert reopened.recover_artifacts(cleanup=True)["removed_paths"] == [] + recovery = reopened.recover_interrupted() + assert recovery["interrupted_attempts"] == [token.attempt_id] + assert recovery["process_exit_observed"] is False + assert reopened.get_run("queued")["state"] == "queued" + assert reopened.recover_artifacts(cleanup=True)["removed_paths"] == [record["relative_path"]] + assert reopened.artifact(record["artifact_id"])["phase"] == "collected" + assert reopened.recover_artifacts(cleanup=True)["removed_paths"] == [] + with pytest.raises(StateConflict): + reopened.complete(token, state="succeeded", result={}) + + +def test_terminal_sql_failure_rolls_back_all_db_references_then_matching_retry_commits(store): + enqueue(store) + token = claim(store) + record = store.publish(token, "raw", bytes_artifact(b"data", metadata={})) + store._db.execute("""CREATE TEMP TRIGGER terminal_failure AFTER INSERT ON events + WHEN NEW.kind='terminal' BEGIN SELECT RAISE(ABORT,'injected before commit'); END""") + with pytest.raises(sqlite3.DatabaseError, match="injected before commit"): + store.complete(token, state="succeeded", result={"value": 0}, artifacts=[record["artifact_id"]]) + assert store.get_run("run")["state"] == "running" + assert store.artifact(record["artifact_id"])["phase"] == "published" + assert terminal_events(store) == [] + assert store.attempts("run")[0]["finished_ns"] is None + store._db.execute("DROP TRIGGER terminal_failure") + sequence = store.complete(token, state="succeeded", result={"value": 0}, artifacts=[record["artifact_id"]]) + assert store.complete(token, state="succeeded", result={"value": 0}, artifacts=[record["artifact_id"]]) == sequence + assert store.read_artifact(record["artifact_id"]) == b"data" + assert len(terminal_events(store)) == 1 + + +def test_partial_write_cleanup_is_registered_and_keeps_user_files(store, monkeypatch): + enqueue(store) + token = claim(store) + user = store.root / "objects" / "user.bin" + user.write_bytes(b"do not delete") + unrelated_partial = store.root / "partial" / ("f" * 32 + ".part") + unrelated_partial.write_bytes(b"user partial") + + def short_write(fd, data): + os.write(fd, data[:3]) + raise OSError("injected partial write") + + monkeypatch.setattr(store._files, "_write", short_write) + with pytest.raises(OSError, match="injected partial write"): + store.publish(token, "raw", bytes_artifact(b"full data", metadata={})) + record = dict(store._db.execute("SELECT * FROM artifacts").fetchone()) + partial = store.root / "partial" / (record["artifact_id"] + ".part") + assert partial.read_bytes() == b"ful" + assert not (store.root / record["relative_path"]).exists() + assert store.recover_artifacts(cleanup=True)["removed_paths"] == [] + store.recover_interrupted() + report = store.recover_artifacts(cleanup=True) + assert report["removed_paths"] == ["partial/" + partial.name] + assert user.read_bytes() == b"do not delete" + assert unrelated_partial.read_bytes() == b"user partial" + + +def test_crash_after_atomic_link_before_partial_unlink_recovers_both_generated_links(store, monkeypatch): + enqueue(store) + token = claim(store) + + def interrupted_unlink(directory, name): + raise OSError("injected after atomic link") + + with monkeypatch.context() as patch: + patch.setattr(store._files, "_unlink_regular", interrupted_unlink) + with pytest.raises(OSError, match="injected after atomic link"): + store.publish(token, "raw", bytes_artifact(b"both links", metadata={})) + record = dict(store._db.execute("SELECT * FROM artifacts").fetchone()) + final = store.root / record["relative_path"] + partial = store.root / "partial" / (record["artifact_id"] + ".part") + assert final.stat().st_ino == partial.stat().st_ino and final.stat().st_nlink == 2 + assert final.read_bytes() == partial.read_bytes() == b"both links" + assert record["phase"] == "reserved" + store.recover_interrupted() + assert set(store.recover_artifacts(cleanup=True)["removed_paths"]) == { + record["relative_path"], "partial/" + partial.name, + } + assert not final.exists() and not partial.exists() + + +def test_actual_process_exit_without_close_reopens_wal_and_recovers_only_generated_orphan(tmp_path): + path = (tmp_path / "crash").resolve() + script = """ +import os, sys +sys.path.insert(0, sys.argv[1]) +from solarlab.io.run_store import RunStore +from solarlab.io.artifacts import bytes_artifact +s = RunStore(sys.argv[2]) +q = s.enqueue('crashed', opaque_identity={'H_input':'i','H_physics':'p','H_execution':'e'}, input_metadata={}) +t = s.claim('crashed', expected_attempt_id=q['current_attempt_id'], expected_generation=q['generation'], owner_id='child') +s.publish(t, 'raw', bytes_artifact(b'published', metadata={})) +os._exit(23) +""" + child = subprocess.run([sys.executable, "-I", "-B", "-c", script, str(ROOT / "src"), str(path)], + capture_output=True, text=True, timeout=5) + assert child.returncode == 23, child.stdout + child.stderr + with RunStore(path) as recovered: + assert recovered.get_run("crashed")["state"] == "running" + assert len(recovered.recover_interrupted()["interrupted_attempts"]) == 1 + assert len(recovered.recover_artifacts(cleanup=True)["removed_paths"]) == 1 + assert recovered.attempts("crashed")[0]["result"]["reason"] == "interrupted" + + +@pytest.mark.parametrize("damage", ["missing", "corrupt", "metadata"]) +def test_damaged_pending_artifact_fails_without_first_reporting_success(store, damage): + enqueue(store) + token = claim(store) + record = store.publish(token, "raw", bytes_artifact(b"valid", metadata={})) + path = store.root / record["relative_path"] + if damage == "missing": + path.unlink() + elif damage == "corrupt": + path.write_bytes(b"wrong") + else: + store._db.execute("UPDATE artifacts SET metadata_json=? WHERE artifact_id=?", + ('{"unit":"wrong"}', record["artifact_id"])) + with pytest.raises(ArtifactIntegrityError): + store.complete(token, state="succeeded", result={}, artifacts=[record["artifact_id"]]) + assert store.get_run("run")["state"] == "failed" + assert terminal_events(store)[0]["payload"]["result"]["reason"] == "artifact_integrity" + + +@pytest.mark.parametrize("damage", ["missing", "corrupt", "metadata"]) +def test_damaged_committed_result_is_reported_and_never_deleted_or_relabelled(store, damage): + enqueue(store) + token = claim(store) + record = store.publish(token, "raw", bytes_artifact(b"valid", metadata={"unit": None})) + store.complete(token, state="succeeded", result={}, artifacts=[record["artifact_id"]]) + path = store.root / record["relative_path"] + if damage == "missing": + path.unlink() + elif damage == "corrupt": + path.write_bytes(b"wrong") + else: + store._db.execute("UPDATE artifacts SET metadata_json='{}' WHERE artifact_id=?", (record["artifact_id"],)) + with pytest.raises(ArtifactIntegrityError): + store.read_artifact(record["artifact_id"]) + audit = store.recover_artifacts(cleanup=True) + assert len(audit["issues"]) == 1 and audit["removed_paths"] == [] + assert store.get_run("run")["state"] == "succeeded" # Historical terminal is immutable. + assert len(terminal_events(store)) == 1 + if damage != "missing": + assert path.exists() + + +def test_cleanup_preserves_committed_and_active_publications(store): + enqueue(store, "done") + good = claim(store, "done") + valid = store.publish(good, "valid", bytes_artifact(b"valid", metadata={})) + store.complete(good, state="succeeded", result={}, artifacts=[valid["artifact_id"]]) + enqueue(store, "active") + active = claim(store, "active") + pending = store.publish(active, "pending", bytes_artifact(b"pending", metadata={})) + report = store.recover_artifacts(cleanup=True) + assert report["issues"] == [] and report["removed_paths"] == [] + assert report["retained_unreferenced"] == [pending["artifact_id"]] + assert store.read_artifact(valid["artifact_id"]) == b"valid" + assert (store.root / pending["relative_path"]).read_bytes() == b"pending" + + +@pytest.mark.parametrize("name", ["../escape", "/absolute", "a/b", "", "a\\b"]) +def test_caller_names_cannot_become_write_paths(store, name): + with pytest.raises(ValueError): + enqueue(store, name) + enqueue(store) + with pytest.raises(ValueError): + store.publish(claim(store), name, bytes_artifact(b"x", metadata={})) + assert list((store.root / "objects").iterdir()) == [] + + +@pytest.mark.parametrize("target", ["objects", "partial", "store.sqlite3", "store.sqlite3-wal", + "store.sqlite3-shm", "store.sqlite3-journal", ".writer.lock"]) +def test_reserved_symlinks_cannot_write_or_delete_outside_root(tmp_path, target): + root, outside = (tmp_path / "store").resolve(), (tmp_path / "outside").resolve() + root.mkdir() + outside.mkdir() + sentinel = outside / "sentinel" + sentinel.write_bytes(b"user data") + (root / target).symlink_to(outside if target in {"objects", "partial"} else sentinel) + with pytest.raises((OSError, ValueError)): + RunStore(root) + assert sentinel.read_bytes() == b"user data" + assert list(outside.iterdir()) == [sentinel] + + +def test_root_symlink_and_noncanonical_or_relative_paths_rejected(tmp_path): + outside = (tmp_path / "outside").resolve() + outside.mkdir() + link = tmp_path / "link" + link.symlink_to(outside, target_is_directory=True) + with pytest.raises(ValueError): + RunStore(link) + with pytest.raises(ValueError): + RunStore(Path("relative")) + assert list(outside.iterdir()) == [] + + +def test_registered_artifact_symlink_is_not_followed_or_collected(store, tmp_path): + outside = tmp_path / "user.dat" + outside.write_bytes(b"valid") + enqueue(store) + token = claim(store) + record = store.publish(token, "raw", bytes_artifact(b"valid", metadata={})) + path = store.root / record["relative_path"] + path.unlink() + path.symlink_to(outside) + with pytest.raises(ArtifactIntegrityError): + store.complete(token, state="succeeded", result={}, artifacts=[record["artifact_id"]]) + assert store.recover_artifacts(cleanup=True)["issues"] + assert path.is_symlink() and outside.read_bytes() == b"valid" + + +def test_sweep_association_binds_complete_opaque_execution_and_preserves_coordinates(store): + enqueue(store) + point = store.bind_sweep_point("sweep", "point", run_id="run", coordinates={"x": -0.0, "y": None}) + assert store.bind_sweep_point("sweep", "point", run_id="run", coordinates={"x": -0.0, "y": None}) == point + assert point["opaque_execution_identity"] == IDENTITY["H_execution"] + with pytest.raises(StateConflict): + store.bind_sweep_point("sweep", "point", run_id="run", coordinates={"x": 0.0, "y": None}) + different = {**IDENTITY, "H_execution": "other-protocol"} + store.enqueue("different", opaque_identity=different, input_metadata={}) + with pytest.raises(StateConflict): + store.bind_sweep_point("sweep", "point", run_id="different", coordinates={"x": -0.0, "y": None}) + token = claim(store) + store.complete(token, state="succeeded", result={}) + assert store.sweep_points("sweep")[0]["state"] == "succeeded" + assert store.sweep_points("absent") == [] + + +def test_schema_states_and_foreign_keys_are_enforced_without_destructive_upgrade(store): + enqueue(store) + with pytest.raises(sqlite3.IntegrityError): + store._db.execute("UPDATE runs SET state='done'") + with pytest.raises(sqlite3.IntegrityError): + store._db.execute("UPDATE runs SET current_attempt_id='foreign'") + assert store.get_run("run")["state"] == "queued" + path = store.root + store._db.execute("PRAGMA user_version=2") + store.close() + with pytest.raises(StateConflict, match="schema"): + RunStore(path) + with sqlite3.connect(path / "store.sqlite3") as connection: + assert connection.execute("PRAGMA user_version").fetchone()[0] == 2 + assert connection.execute("SELECT state FROM runs").fetchone()[0] == "queued" + + +def test_unknown_database_is_not_repurposed(tmp_path): + path = (tmp_path / "store").resolve() + path.mkdir() + db = path / "store.sqlite3" + with sqlite3.connect(db) as connection: + connection.execute("CREATE TABLE user_data(value)") + connection.execute("INSERT INTO user_data VALUES('preserve')") + before = hashlib.sha256(db.read_bytes()).hexdigest() + with pytest.raises(StateConflict): + RunStore(path) + assert hashlib.sha256(db.read_bytes()).hexdigest() == before + + +def test_lock_wait_is_bounded_and_released_after_contention(store): + import fcntl + + with RunStore(store.root, timeout=0.03) as other: + fcntl.flock(store._files.lock_fd, fcntl.LOCK_EX) + try: + with pytest.raises(TimeoutError): + other.events() + finally: + fcntl.flock(store._files.lock_fd, fcntl.LOCK_UN) + assert other.events() == [] + + +def test_package_import_has_no_store_environment_or_solver_side_effect(tmp_path): + script = """ +import importlib.abc, os, pathlib, sys +sys.path.insert(0, sys.argv[1]) +class Boundary(importlib.abc.MetaPathFinder): + def find_spec(self, fullname, path=None, target=None): + if fullname.split('.')[0] in {'numpy','scipy','sksundae','flint','perovskite_sim','backend','solarlab_server','solarlab_research'}: + raise AssertionError('unexpected import: ' + fullname) +sys.meta_path.insert(0, Boundary()) +def audit(event, args): + if event == 'sqlite3.connect' or event in {'os.mkdir','subprocess.Popen','socket.connect'}: + raise AssertionError('import side effect: ' + event) + if event == 'open' and (args[2] & (os.O_WRONLY | os.O_RDWR | os.O_CREAT | os.O_TRUNC)): + raise AssertionError('import write: ' + str(args)) +sys.addaudithook(audit) +import solarlab.io +import solarlab.io.run_store +import solarlab.io.artifacts +assert solarlab.io.__all__ == () +assert not list(pathlib.Path('.').iterdir()) +""" + child = subprocess.run([sys.executable, "-I", "-B", "-c", script, str(ROOT / "src")], + cwd=tmp_path, capture_output=True, text=True, timeout=5) + assert child.returncode == 0, child.stdout + child.stderr diff --git a/tests/runtime/test_scan_execution.py b/tests/runtime/test_scan_execution.py new file mode 100644 index 00000000..00087f8c --- /dev/null +++ b/tests/runtime/test_scan_execution.py @@ -0,0 +1,529 @@ +"""P06-05 real spawn, bounded shared capacity, resume and exact result reuse.""" + +from dataclasses import FrozenInstanceError, replace +import hashlib +import json +import multiprocessing +import os +from pathlib import Path +import random +import struct +import sys +import time +from types import SimpleNamespace + +import pytest + +from solarlab.config.identity import ExecutionEngine, execution_manifest +from solarlab.experiments.execution import SCAN_BYTES, JobHandle, ProcessSupervisor, QueueFull, ScanPoint, ScanSpec +from solarlab.experiments.worker import ManifestBinding, ResourceLimits, RunSpec, WorkerBinding, WorkerRequest, observe_environment +from solarlab.io.artifacts import ArtifactIntegrityError +from solarlab.io.run_store import RunStore, StateConflict +from solarlab.materials.source import SourceDocument +import scan_workers + +ROOT = Path(__file__).resolve().parents[2] +sys.path.insert(0, str(ROOT / "tests/refactor")) +from test_execution_identity_preparation import device as device, execution as execution, identity_inputs # noqa: E402 + +REGISTRY = SourceDocument("scan-infrastructure-registry.v1", b'{"scope":"non-scientific runtime fixture"}') +SCHEMA = SourceDocument("scan-infrastructure-schema.v1", b'{"point":"integer","action":"fixture enum"}') +THREADS = (("OMP_NUM_THREADS", "1"), ("OPENBLAS_NUM_THREADS", "1")) + + +def canonical(value): + return json.dumps(value, sort_keys=True, separators=(",", ":"), allow_nan=False).encode() + + +@pytest.fixture +def make_spec(device, execution): + inputs = identity_inputs(device) + runtime = replace(observe_environment(("pydantic",), tuple(k for k, _ in THREADS)), + settings=tuple((k, json.dumps(v)) for k, v in THREADS)) + + def make(point=0, *, action="normal", **caps): + payload = SourceDocument("runtime-fixture-protocol", canonical({"point": point, "action": action})) + initial = SourceDocument("runtime-fixture-initial-state", canonical({"qualification": "not_a_DAE_seed", + "words": (struct.pack("<2d", point + .25, -0.0) + bytes.fromhex("010000000000f87f")).hex()})) + description = replace(execution, protocol=payload, initial_state=initial, environment=runtime) + engine = ExecutionEngine("solarlab") + manifest = execution_manifest(inputs, description, engine=engine) + binding = ManifestBinding(manifest, inputs, description, engine, manifest.sha256, THREADS) + identity = manifest.export()["document"]["execution_identity"] + request = WorkerRequest(payload, REGISTRY, SCHEMA, SourceDocument("execution", canonical(identity)), + identity["payload"]["H_input"], identity["payload"]["H_physics"]) + limits = replace(ResourceLimits(5., 512 * 1024**2, 4 * 1024**2, 10, 10), **caps) + return RunSpec.from_binding("point", request, limits, binding), binding + return make + + +def bindings(): + return (WorkerBinding.from_function("point", scan_workers.point, + registry_sha256=REGISTRY.sha256, schema_sha256=SCHEMA.sha256),) + + +def pool(store, root, **changes): + values = dict(max_active=1, max_pending=1, shared_rss_bytes=2 * 1024**3, + shared_output_bytes=64 * 1024**2, soft_grace_seconds=.1, terminate_grace_seconds=.1, poll_seconds=.01) + values.update(changes) + return ProcessSupervisor(store, root, bindings(), **values) + + +def declaration(name, records, *, order=None, run_prefix=None): + order = list(range(len(records))) if order is None else order + prefix = name if run_prefix is None else run_prefix + points = tuple(ScanPoint(f"p{i}", f"{prefix}-{i}", canonical({"index": i, "zero": -0.0, "optional": None}).decode(), records[i][0]) for i in order) + return ScanSpec(name, points), tuple(records[i][1] for i in order) + + +def ready(store, run_id): + deadline = time.monotonic() + 4 + while time.monotonic() < deadline: + for event in store.events(run_id=run_id): + if event["payload"].get("ui_progress", {}).get("stage") == "ready": + return event["attempt_id"] + time.sleep(.005) + raise AssertionError("bounded fixture never reached its real ready boundary") + + +def release(store, work, attempt): + (work / (store.store_id + "-" + attempt) / "release").touch() + + +def artifact(store, run_id, name="words"): + attempt = store.attempts(run_id)[-1] + records = [store.artifact(item["artifact_id"]) for item in attempt["terminal"]["artifacts"]] + item = next(item for item in records if item["name"] == name) + return store.read_artifact(item["artifact_id"]), item + + +def terminals(store, run_id): + return [e for e in store.events(run_id=run_id, limit=1000) if e["kind"] == "terminal"] + + +def test_runspec_roundtrip_binds_actual_sources_limits_and_requires_trusted_reconstruction(make_spec): + spec, binding = make_spec() + assert RunSpec.from_bytes(spec.to_bytes()) == spec + spec.validate(binding) + assert spec.initial_state_sha256 == binding.execution.initial_state.sha256 + assert spec.to_document()["request"]["H_execution"] == binding.manifest.execution_sha256 + with pytest.raises(FrozenInstanceError): + spec.worker_id = "another" + for changes in ({"manifest_sha256": "0" * 64}, {"initial_state_sha256": "0" * 64}, {"initial_state_id": "different-source"}): + with pytest.raises(ValueError, match="actual binding"): + replace(spec, **changes).validate(binding) + with pytest.raises(ValueError, match="independently"): + spec.validate(None) + raw = spec.to_document() + raw["module"] = "os" + with pytest.raises(ValueError, match="fields"): + RunSpec.from_bytes(canonical(raw)) + for bad in (float("inf"), -1, True): + with pytest.raises(ValueError): + replace(spec.limits, wall_seconds=bad) + scan, _ = declaration("serialize", [(spec, binding)]) + assert ScanSpec.from_bytes(scan.to_bytes()) == scan + with pytest.raises(ValueError, match="unique"): + ScanSpec("duplicate", (scan.points[0], scan.points[0])) + with pytest.raises(ValueError, match="canonical"): + ScanSpec.from_bytes(scan.to_bytes() + b"\n") + + +def test_server_and_scan_share_one_bounded_pool_without_a_coordinator_slot(tmp_path, make_spec): + blocker, execution = make_spec(9, action="release") + records = [make_spec(i) for i in range(3)] + spec, executions = declaration("shared", records) + work = tmp_path / "work" + with RunStore(tmp_path / "db") as store, pool(store, work, max_pending=0) as supervisor: + server = supervisor.submit("server", blocker.worker_id, blocker.request, blocker.limits, execution=execution) + ready(store, "server") + scan = supervisor.scan(spec, executions=executions, max_in_flight=1) + assert scan.advance()["points"][0]["state"] == "declared" + assert supervisor.accounting()["active"] == 1 and supervisor.accounting()["pending"] == 0 + with pytest.raises(KeyError): + store.get_run("shared-0") + with pytest.raises(QueueFull): + supervisor.submit("full", records[0][0].worker_id, records[0][0].request, records[0][0].limits, execution=records[0][1]) + with pytest.raises(TimeoutError, match="not execution cancellation"): + scan.wait(.01) + release(store, work, server.attempt_id) + assert supervisor.wait(server, 6).data["store_state"] == "succeeded" + result = scan.wait(12) + assert result["state"] == "succeeded" and not result["coordinator_uses_process_slot"] + assert len(store.sweep_points("shared")) == 3 + assert all(p["reason"] == "completed" and p["initial_state"]["sha256"] == records[i][0].initial_state_sha256 + for i, p in enumerate(result["points"])) + + +def test_scan_transport_matches_the_metadata_limit_without_truncation(make_spec): + spec, _ = make_spec(0) + points = [ScanPoint(f"p{i}", f"r{i}", canonical({"pad": ""}).decode(), spec) for i in range(64)] + + def document(): + return canonical({"schema": "solarlab.scan-spec.v1", "scan_id": "size-limit", + "points": [p.to_document() for p in points]}) + + limit = 1024**2 + remaining = limit - len(document()) + assert 0 < remaining <= len(points) * 15000 + for index, point in enumerate(points): + size = min(15000, remaining) + points[index] = replace(point, coordinates_json=canonical({"pad": "x" * size}).decode()) + remaining -= size + exact = document() + assert remaining == 0 and len(exact) == limit + scan = ScanSpec("size-limit", tuple(points)) + assert scan.to_bytes() == exact and ScanSpec.from_bytes(exact) == scan + points[-1] = replace(points[-1], coordinates_json=canonical({"pad": "x"}).decode()) + assert len(document()) == limit + 1 + with pytest.raises(ValueError, match="1 MiB|bounded"): + ScanSpec("size-limit", tuple(points)) + with pytest.raises(ValueError, match="1 MiB|bounded"): + ScanSpec.from_bytes(document()) + assert SCAN_BYTES == limit # The published bound must match both actual codec entries. + + +def test_stuck_fixture_ignores_sigterm_before_admission_or_progress(monkeypatch): + installed = [] + monkeypatch.setattr(scan_workers.signal, "signal", lambda *args: installed.append(args)) + + def stop_at_admission(request, *, engine): + assert installed == [(scan_workers.signal.SIGTERM, scan_workers.signal.SIG_IGN)] + raise RuntimeError("admission boundary reached with SIGTERM ignored") + + request = SimpleNamespace(request=SimpleNamespace(content=b'{"action":"stuck"}')) + with pytest.raises(RuntimeError, match="admission boundary reached"): + scan_workers.point(request, SimpleNamespace(consume_manifest=stop_at_admission)) + + +@pytest.mark.parametrize("action,reason,caps", [ + ("exception", "worker_exception", {}), ("crash", "child_crash", {}), + # CI 40923590700 needed up to 2.53 s for a two-point failure/normal pair. + # The old 0.8 s cap could kill Python/NumPy startup before point() armed + # SIG_IGN. Allow >2x that entire-pair bound for this one child, while + # staying below the fixture's 8 s escape deadline. Production defaults + # and the three-signal ladder are unchanged. + ("stuck", "wall_limit", {"wall_seconds": 6.}), + ("counter", "accepted_steps_limit", {"accepted_steps": 2}), + ("nested_scan", "worker_exception", {}), +]) +def test_point_failure_budget_or_nested_scan_does_not_pollute_following_point(tmp_path, make_spec, action, reason, caps, request): + records = [make_spec(0, action=action, **caps), make_spec(1)] + spec, executions = declaration("isolation", records) + work = tmp_path / "work" + with RunStore(tmp_path / "db") as store, pool(store, work) as supervisor: + result = supervisor.scan(spec, executions=executions, max_in_flight=1).wait(16 if action == "stuck" else 12) + first, second = result["points"] + assert result["state"] == "failed" and first["reason"] == reason + assert second["state"] == "succeeded" and second["result"]["worker_result"]["fresh_process_state"] + assert all(len(terminals(store, p["run_id"])) == 1 for p in result["points"]) + assert artifact(store, "isolation-1")[0] == bytes.fromhex(json.loads(executions[1].execution.initial_state.content)["words"]) + receipt = supervisor.wait(JobHandle(store.store_id, first["run_id"], first["attempt_id"]), 1).data + assert receipt["process_exit_observed"] and receipt["process_joined"] + if action == "stuck": + progress = [event["payload"]["ui_progress"] for event in store.events(run_id=first["run_id"]) + if event["payload"].get("ui_progress", {}).get("stage") == "ready"] + assert progress and progress[-1]["signals_ignored"], "wall budget expired before the stuck fixture was ready" + launch = json.loads((work / (store.store_id + "-" + first["attempt_id"]) / "launch.json").read_bytes()) + startup = progress[-1]["ready_monotonic"] - launch["started_monotonic"] + assert 0 <= startup < caps["wall_seconds"] + assert receipt["signals"] == ["soft_stop", "terminate", "kill"] + request.node.user_properties.append(("stuck_startup", {"seconds": startup, + "wall_cap_seconds": caps["wall_seconds"], "signals": receipt["signals"], + "process_exit_observed": receipt["process_exit_observed"], "process_joined": receipt["process_joined"]})) + if action == "nested_scan": + assert "nested supervisors or scans" in first["result"]["worker_result"]["detail"] + + +def test_cancel_running_queued_and_unsubmitted_points_and_reject_late_success(tmp_path, make_spec): + records = [make_spec(0, action="late"), make_spec(1), make_spec(2)] + spec, executions = declaration("cancel", records) + work = tmp_path / "work" + with RunStore(tmp_path / "db") as store, pool(store, work, soft_grace_seconds=.6) as supervisor: + scan = supervisor.scan(spec, executions=executions, max_in_flight=2) + scan.advance() + current = ready(store, "cancel-0") + assert store.get_run("cancel-1")["state"] == "queued" + with pytest.raises(KeyError): + store.get_run("cancel-2") + assert scan.cancel(reason="explicit scan cancellation") + assert store.get_run("cancel-1")["state"] == store.get_run("cancel-2")["state"] == "cancelled" + assert supervisor.accounting()["active"] == 1 + release(store, work, current) + result = scan.wait(6) + assert result["state"] == "cancelled" and all(p["state"] == "cancelled" for p in result["points"]) + assert all(p["reason"] == "explicit scan cancellation" for p in result["points"]) + receipt = supervisor.wait(JobHandle(store.store_id, "cancel-0", current), 1).data + assert receipt["worker_result"]["discarded_terminal_state"] == "succeeded" + assert not scan.cancel(reason="same completed scan") + assert all(len(terminals(store, p["run_id"])) == 1 for p in result["points"]) + with pytest.raises(StateConflict, match="stays cancelled"): + scan.retry("p0", expected_attempt_id=current) + following, binding = make_spec(9) + h = supervisor.submit("after-cancel", "point", following.request, following.limits, execution=binding) + assert supervisor.wait(h, 6).data["store_state"] == "succeeded" + with RunStore(tmp_path / "db") as store, pool(store, work) as supervisor: + count = len(store.events(limit=1000)) + restored = supervisor.scan(ScanSpec.from_bytes(spec.to_bytes()), executions=executions, max_in_flight=1).wait(1) + assert restored["state"] == "cancelled" and len(store.events(limit=1000)) == count + + +def test_serial_parallel_random_order_and_restart_preserve_exact_payload_and_evidence(tmp_path, make_spec): + records = [make_spec(i) for i in range(3)] + order = [0, 1, 2] + random.Random(1847).shuffle(order) + outputs = [] + with RunStore(tmp_path / "db") as store, pool(store, tmp_path / "work", max_active=2) as supervisor: + for name, positions, width in (("serial", None, 1), ("parallel", None, 2), ("random", order, 2)): + spec, executions = declaration(name, records, order=positions) + result = supervisor.scan(spec, executions=executions, max_in_flight=width).wait(15) + assert result["state"] == "succeeded" and not any(p["reused"] for p in result["points"]) + outputs.append({p["point_id"]: (artifact(store, p["run_id"])[0], p["result"]["worker_result"]) for p in result["points"]}) + assert outputs[0] == outputs[1] == outputs[2] + events = store.events(limit=1000) + with RunStore(tmp_path / "db") as store, pool(store, tmp_path / "work") as supervisor: + spec, executions = declaration("serial", records) + saved = next((tmp_path / "work").glob("scan-*-serial.json")).read_bytes() + restored = supervisor.scan(ScanSpec.from_bytes(saved), executions=executions, max_in_flight=1).wait(2) + assert restored["state"] == "succeeded" and all(p["reused"] for p in restored["points"]) + assert store.events(limit=1000) == events and supervisor.accounting()["active"] == 0 + assert not any(p["result"]["worker_result"]["scientific_qualification"] for p in restored["points"]) + + +@pytest.mark.parametrize("change", ["initial", "protocol", "budget", "worker", "corrupt_artifact"]) +def test_completed_reuse_refuses_incomplete_identity_or_corrupt_artifact_without_replay(tmp_path, make_spec, change): + records = [make_spec(0)] + spec, executions = declaration("original", records) + with RunStore(tmp_path / "db") as store, pool(store, tmp_path / "work") as supervisor: + assert supervisor.scan(spec, executions=executions, max_in_flight=1).wait(6)["state"] == "succeeded" + events = store.events(limit=1000) + original, binding = records[0] + replacement = original + if change == "initial": + replacement = replace(original, initial_state_sha256="0" * 64) + elif change == "protocol": + replacement, binding = make_spec(1) + elif change == "budget": + replacement = replace(original, limits=replace(original.limits, wall_seconds=6.)) + elif change == "worker": + replacement = replace(original, worker_id="not_allowlisted") + else: + _, item = artifact(store, "original-0") + (store.root / item["relative_path"]).write_bytes(b"corrupt") + changed, bindings_ = declaration("reuse", [(replacement, binding)], run_prefix="original") + with pytest.raises((ValueError, StateConflict, ArtifactIntegrityError)): + supervisor.scan(changed, executions=bindings_, max_in_flight=1).wait(3) + assert store.events(limit=1000) == events + assert store.get_run("original-0")["state"] == "succeeded" # Historical success is never rewritten. + + +@pytest.mark.parametrize("damage", ["missing_audit", "wall_overrun"]) +def test_completed_reuse_requires_positive_final_resource_audit(tmp_path, make_spec, damage): + spec, executions = declaration("audit", [make_spec(0)]) + work = tmp_path / "work" + with RunStore(tmp_path / "db") as store, pool(store, work) as supervisor: + result = supervisor.scan(spec, executions=executions, max_in_flight=1).wait(6) + path = work / (store.store_id + "-" + result["points"][0]["attempt_id"]) / "finalization.json" + events = store.events(limit=1000) + # Explicitly damaged local receipt fixture, never a claimed new observation. + if damage == "missing_audit": + path.unlink() + else: + audit = json.loads(path.read_bytes()) + audit["owned_wall_after_audit_seconds"] = 6. + path.write_bytes(canonical(audit)) + with RunStore(tmp_path / "db") as store, pool(store, work) as supervisor: + with pytest.raises(StateConflict, match="resource audit|in-budget"): + supervisor.scan(spec, executions=executions, max_in_flight=1).wait(2) + assert store.get_run("audit-0")["state"] == "succeeded" + assert store.events(limit=1000) == events + + +@pytest.mark.parametrize("phase", ["normal", "before_record", "after_record", "wrong_token"]) +def test_restart_reuse_checks_both_finalization_overrun_records(tmp_path, make_spec, phase): + spec, executions = declaration("finalization", [make_spec(0)]) + work = tmp_path / "work" + with RunStore(tmp_path / "db") as store, pool(store, work) as supervisor: + result = supervisor.scan(spec, executions=executions, max_in_flight=1).wait(6) + point = result["points"][0] + handle = JobHandle(store.store_id, point["run_id"], point["attempt_id"]) + receipt = supervisor.wait(handle, 1).data + assert result["state"] == "succeeded" and receipt["process_joined"] is True + assert receipt["finalization"]["finalization_overrun"] is False + directory = work / (store.store_id + "-" + handle.attempt_id) + events, attempts = store.events(limit=1000), store.attempts(handle.run_id) + words = artifact(store, handle.run_id)[0] + + # These are explicit persisted-receipt fixtures following a real child exit; + # they do not claim that this short worker actually exhausted disk space. + path = directory / "finalization.json" + cap = 64 * 1024**2 + if phase == "before_record": + audit = json.loads(path.read_bytes()) + audit.update(finalization_overrun=True, shared_output_peak_bytes=cap + 1) + path.write_bytes(canonical(audit)) + elif phase in {"after_record", "wrong_token"}: + path = directory / "finalization_overrun.json" + token = dict(receipt["token"]) + if phase == "wrong_token": + token["generation"] += 1 + path.write_bytes(canonical({"token": token, "observed_bytes": cap + 1, "limit_bytes": cap, + "measurement_phase": "after_finalization_record_write", "store_terminal_is_historical": True})) + persisted = path.read_bytes() + with RunStore(tmp_path / "db") as store: + if phase == "wrong_token": + with pytest.raises(ValueError, match="finalization overrun belongs to a different attempt"): + pool(store, work) + else: + with pool(store, work) as supervisor: + loaded = supervisor.wait(handle, 1).data + if phase == "after_record": + assert loaded["finalization"]["finalization_overrun"] is False + assert loaded["finalization_overrun"]["token"] == receipt["token"] + assert supervisor.accounting()["retained_output_peak_bytes"] >= cap + 1 + if phase == "normal": + restored = supervisor.scan(spec, executions=executions, max_in_flight=1).wait(2) + assert restored["state"] == "succeeded" and restored["points"][0]["reused"] is True + else: + with pytest.raises(StateConflict, match="resource receipt|resource audit"): + supervisor.scan(spec, executions=executions, max_in_flight=1).wait(2) + assert supervisor.accounting()["active"] == supervisor.accounting()["pending"] == 0 + assert store.get_run(handle.run_id)["state"] == "succeeded" + assert store.events(limit=1000) == events and store.attempts(handle.run_id) == attempts + assert artifact(store, handle.run_id)[0] == words and path.read_bytes() == persisted + + +def test_association_failure_never_starts_the_affected_child(tmp_path, make_spec, monkeypatch): + spec, executions = declaration("association", [make_spec(0)]) + with RunStore(tmp_path / "db") as store, pool(store, tmp_path / "work") as supervisor: + scan = supervisor.scan(spec, executions=executions, max_in_flight=1) + original = store.bind_sweep_point + def conflicting(*args, **kwargs): + raise StateConflict("injected conflicting point association") + monkeypatch.setattr(store, "bind_sweep_point", conflicting) + with pytest.raises(StateConflict, match="conflicting"): + scan.advance() + row = store.get_run("association-0") + receipt = supervisor.wait(JobHandle(store.store_id, row["run_id"], row["current_attempt_id"]), 1).data + assert row["state"] == "cancelled" and receipt["process_started"] is False + assert receipt["reason"] == "scan_association_failed" + monkeypatch.setattr(store, "bind_sweep_point", original) + following, bindings_ = declaration("independent", [make_spec(1)]) + assert supervisor.scan(following, executions=bindings_, max_in_flight=1).wait(6)["state"] == "succeeded" + + +def test_real_parent_crash_preserves_completed_and_queued_points_and_explicit_new_attempt(tmp_path, make_spec): + records = [make_spec(0), make_spec(1, action="late"), make_spec(2)] + spec, executions = declaration("restart", records) + database, work, checkpoint = tmp_path / "db", tmp_path / "work", tmp_path / "checkpoint.json" + process = multiprocessing.get_context("spawn").Process(target=scan_workers.crash_coordinator, + args=(str(database), str(work), spec.to_bytes(), bindings(), executions, str(checkpoint))) + process.start() + process.join(10) + assert process.exitcode == 72 + old = json.loads(checkpoint.read_bytes()) + old_ids = [p["attempt_id"] for p in old["points"]] + with RunStore(database) as store, pool(store, work) as supervisor: + scan = supervisor.scan(ScanSpec.from_bytes(spec.to_bytes()), executions=executions, max_in_flight=2) + with pytest.raises(StateConflict, match="reconciliation"): + scan.advance() + recovery = supervisor.reconcile_interrupted() + assert recovery["invalidated_owned_attempts"] == [old_ids[1]] + assert recovery["unowned_processes_signalled"] is False + release(store, work, old_ids[1]) + deadline = time.monotonic() + 6 + while supervisor.accounting()["unresolved_owned_slots"] and time.monotonic() < deadline: + time.sleep(.025) + supervisor.reconcile_interrupted() + assert supervisor.accounting()["unresolved_owned_slots"] == 0 + result = scan.wait(8) + assert [p["state"] for p in result["points"]] == ["succeeded", "failed", "succeeded"] + assert result["points"][0]["reused"] and result["points"][1]["reason"] == "interrupted" + assert [p["attempt_id"] for p in result["points"]] == old_ids + old_terminal = terminals(store, "restart-1") + next_attempt = scan.retry("p1", expected_attempt_id=old_ids[1]) + assert next_attempt.attempt_id != old_ids[1] + scan.advance() + ready(store, "restart-1") + # Match the new ready attempt, not the old durable ready event. + directory = work / (store.store_id + "-" + next_attempt.attempt_id) + deadline = time.monotonic() + 4 + while not (directory / "started.json").exists() and time.monotonic() < deadline: + time.sleep(.005) + release(store, work, next_attempt.attempt_id) + completed = scan.wait(8) + assert completed["state"] == "succeeded" + assert [a["state"] for a in store.attempts("restart-1")] == ["failed", "succeeded"] + assert terminals(store, "restart-1")[:1] == old_terminal + assert artifact(store, "restart-1")[0] == bytes.fromhex(json.loads(executions[1].execution.initial_state.content)["words"]) + + +def test_real_legacy_facade_scan_matches_single_runs_serial_and_random_parallel(tmp_path): + from legacy_fixtures import make_job + from solarlab_server.legacy_engine import legacy_worker_binding + + jobs = [make_job(arguments={"V_max": voltage})[0] for voltage in (.02, .03)] + limits = ResourceLimits(60., 1024**3, 64 * 1024**2, None, None) + records = [(RunSpec.from_binding("legacy", job.request, limits, job.execution), job.execution) for job in jobs] + evidence = [] + with RunStore(tmp_path / "db") as store, ProcessSupervisor(store, tmp_path / "work", (legacy_worker_binding(),), + max_active=2, max_pending=1, shared_rss_bytes=4 * 1024**3, shared_output_bytes=512 * 1024**2) as supervisor: + originals = [] + for i, job in enumerate(jobs): + h = job.submit(supervisor, f"single-{i}", limits) + returned = supervisor.wait(h, 65).data + assert returned["store_state"] == "succeeded", returned + originals.append(artifact(store, h.run_id, "legacy_result")[0]) + for name, order, width in (("legacy-serial", [0, 1], 1), ("legacy-random", [1, 0], 2)): + spec, executions = declaration(name, records, order=order) + result = supervisor.scan(spec, executions=executions, max_in_flight=width).wait(125) + assert result["state"] == "succeeded", result + for point in result["points"]: + i = int(point["point_id"][1:]) + content, _ = artifact(store, point["run_id"], "legacy_result") + assert content == originals[i] + assert point["initial_state"]["sha256"] == jobs[i].execution.execution.initial_state.sha256 + assert point["result"]["worker_result"]["scientific_qualification"] is False + receipt = supervisor.wait(JobHandle(store.store_id, point["run_id"], point["attempt_id"]), 1).data + evidence.append({"scan": name, "point": point["point_id"], "bitwise_equal": True, + "payload_sha256": hashlib.sha256(content).hexdigest(), "H_execution": point["H_execution"], + "initial_state": point["initial_state"], "process": point["result"]["process"], + "resources": receipt["resources"], "scientific_qualification": False}) + path = os.environ.get("SOLARLAB_SCAN_EVIDENCE") + if path: + Path(path).write_bytes(canonical({"real_legacy_points": evidence}) + b"\n") + + +def test_job_provenance_is_sealed_to_the_actual_manifest_and_claimed_attempt(make_spec, tmp_path): + from copy import deepcopy + from solarlab.reproducibility.job_provenance import JobProvenance, worker_result_provenance + spec, execution = make_spec(action="provenance") + with RunStore(tmp_path / "store") as store, pool(store, tmp_path / "work") as owner: + handle = owner.submit("provenance", "point", spec.request, spec.limits, execution=execution) + receipt = owner.wait(handle, 8).data + assert receipt["store_state"] == "succeeded", receipt + assert receipt["process_exit_observed"] and receipt["process_joined"] + attempt = store.attempts("provenance")[0] + result = attempt["result"]["worker_result"] + records = {store.artifact(ref["artifact_id"])["name"]: store.artifact(ref["artifact_id"]) + for ref in attempt["terminal"]["artifacts"]} + assert set(records) == {"words", "execution_manifest"} and len(terminals(store, "provenance")) == 1 + manifest = records["execution_manifest"] + assert store.read_artifact(manifest["artifact_id"]) == execution.manifest.canonical_json + expected = bytes.fromhex(json.loads(execution.execution.initial_state.content)["words"]) + assert store.read_artifact(records["words"]["artifact_id"]) == expected + reference = manifest["metadata"]["job_provenance_sha256"] + kwargs = dict(store_id=store.store_id, provenance_ref=reference, + execution_document=execution.manifest.export()["document"]) + loaded = worker_result_provenance(result, store.get_run("provenance"), attempt, **kwargs) + record = loaded["producer_identity"]["record"] + assert record["attempt_ref"]["owner_id"] == attempt["owner_id"] + assert record["execution_manifest_sha256"] == execution.expected_sha256 + assert record["assembler"]["unified_assembler"] is False + swapped = deepcopy(result) + other = dict(record) + other["git_commit"] = "0" * 40 + swapped["job_provenance"] = JobProvenance.from_record(other).envelope() + with pytest.raises(ValueError, match="publication reference"): + worker_result_provenance(swapped, store.get_run("provenance"), attempt, **kwargs) + assert store.read_artifact(records["words"]["artifact_id"]) == expected diff --git a/tests/runtime/test_spatial_configuration_preview.py b/tests/runtime/test_spatial_configuration_preview.py new file mode 100644 index 00000000..934a2854 --- /dev/null +++ b/tests/runtime/test_spatial_configuration_preview.py @@ -0,0 +1,116 @@ +"""Trusted experiment preview over the existing service, including loopback HTTP.""" +import builtins +from copy import deepcopy +import json +from urllib.error import HTTPError +from urllib.request import Request, urlopen + +from fastapi.testclient import TestClient +import pytest + +from solarlab.config.legacy_defaults import read_legacy_default_catalog +from solarlab.config.schema import configuration_schema_representation +from solarlab.experiments.two_dimensional.inputs import SpatialExperimentInput +from solarlab.experiments.two_dimensional.preparation import prepare_spatial_experiment +from solarlab.materials.source import SourceDocument +from solarlab_server.app import create_app +from solarlab_server.configuration import ConfigurationPreviewContext +from test_configuration_preview import DEFAULT_PATHS, LEGACY, ROOT, case, resources, writer, wire_input, words +from test_event_service import _HTTPServer + + +@pytest.fixture(scope="module") +def catalog(): + return read_legacy_default_catalog(tuple(SourceDocument(name, (LEGACY / name).read_bytes()) for name in DEFAULT_PATHS), + experiment_sources=(SourceDocument("backend/main.py", (ROOT / "perovskite-sim/backend/main.py").read_bytes()), + SourceDocument("solver/tolerances.py", (LEGACY / "solver/tolerances.py").read_bytes()))) + + +def payload(catalog, name="standard", **fields): + device, sources = case(name, catalog) + return {"schema_version": "solarlab.experiment-preparation.v1", "id": "spatial_http", + "device": wire_input(device), "experiment": {"kind": "jv_2d", **fields}}, sources + + +def headers(): + return {"Content-Type": "application/json", "X-Solarlab-Configuration-Schema": configuration_schema_representation()[1]} + + +def assert_prepared(body, data, context): + expected = prepare_spatial_experiment(SpatialExperimentInput.model_validate(data), context.defaults, + context.resources, sources=context.sources) + assert body["kind"] == "experiment" and body["can_execute"] is False + assert body["status"] == "prepared_pending_dependencies" + assert words(body["input"]) == words(expected.to_input().editing_data()) + assert words(body["resolved"]) == words(expected.to_mapping()) + assert body["identity"]["content_sha256"] == expected.content_sha256 + assert body["identity"]["configuration_schema_sha256"] == configuration_schema_representation()[1] + + +@pytest.mark.parametrize("name", ["standard", "scaps"]) +def test_actual_service_composition_and_schema_binding(name, catalog, resources, writer, monkeypatch): + original = builtins.__import__ + def guarded(name, *args, **kwargs): + assert not name.startswith(("perovskite_sim", "backend", "scipy.integrate")), name + return original(name, *args, **kwargs) + monkeypatch.setattr(builtins, "__import__", guarded) + data, sources = payload(catalog, name, lateral_length="0.5 um", V_max=-0.0, microstructure={}, lateral_bc=None) + context = ConfigurationPreviewContext(catalog, resources, sources) + run, events = writer.get_run("untouched"), writer.events() + with TestClient(create_app(writer.root, configuration_preview=context)) as http: + result = http.post("/configuration-preview/experiment", json=data, headers=headers()) + assert result.status_code == 200, result.text + assert_prepared(result.json(), data, context) + result.json()["resolved"]["device"]["layers"].clear() + assert_prepared(http.post("/configuration-preview/experiment", json=data, headers=headers()).json(), data, context) + old = http.post("/configuration-preview/device", json=data["device"]) + assert old.status_code == 200 and old.json()["kind"] == "device" + assert http.get("/configuration-schema").content == configuration_schema_representation()[0] + assert writer.get_run("untouched") == run and writer.events() == events + + +def test_missing_trusted_defaults_schema_mismatch_and_precise_errors(catalog, resources, writer): + data, _ = payload(catalog) + with TestClient(create_app(writer.root)) as http: + assert http.post("/configuration-preview/experiment", json=data, headers=headers()).status_code == 503 + old_catalog = read_legacy_default_catalog(tuple(SourceDocument(name, (LEGACY / name).read_bytes()) for name in DEFAULT_PATHS)) + with TestClient(create_app(writer.root, configuration_preview=ConfigurationPreviewContext(old_catalog, resources))) as http: + response = http.post("/configuration-preview/experiment", json=data, headers=headers()) + assert response.status_code == 503 and response.json()["detail"]["code"] == "configuration_experiment_context_missing" + with TestClient(create_app(writer.root, configuration_preview=ConfigurationPreviewContext(catalog, resources))) as http: + assert http.post("/configuration-preview/experiment", json=data).status_code == 428 + stale = http.post("/configuration-preview/experiment", json=data, + headers={**headers(), "X-Solarlab-Configuration-Schema": "0" * 64}) + assert stale.status_code == 409 and stale.json()["detail"]["code"] == "configuration_schema_mismatch" + for field, value in (("Nx", 0), ("lateral_length", "1 ns"), ("atol", None)): + bad = deepcopy(data); bad["experiment"][field] = value + response = http.post("/configuration-preview/experiment", json=bad, headers=headers()) + assert response.status_code == 422 + detail = response.json()["detail"] + assert ["experiment", field] in [error["loc"] for error in detail["field_errors"]] + assert detail["status"] == "unresolved" and detail["can_execute"] is False + bad = {**data, "defaults": catalog.to_mapping(), "server_path": "/tmp"} + assert http.post("/configuration-preview/experiment", json=bad, headers=headers()).status_code == 422 + + +def test_bounded_real_loopback_with_actual_preparation_and_grain_defaults(catalog, resources, writer): + data, sources = payload(catalog) + data["experiment"] = {"kind": "voc_grain_sweep", "grain_sizes_nm": [500, "1 um"], "illuminated": False} + context = ConfigurationPreviewContext(catalog, resources, sources) + server = _HTTPServer(writer.root, configuration_preview=context) + with server: + endpoint = f"http://127.0.0.1:{server.port}/configuration-preview/experiment" + request = Request(endpoint, data=json.dumps(data, allow_nan=False).encode(), headers=headers(), method="POST") + with urlopen(request, timeout=10) as response: + raw = response.read() + assert response.status == 200 + result = json.loads(raw) + assert_prepared(result, data, context) + assert result["resolved"]["experiment"]["controls"]["Ny_per_layer"] == 10 + bad = deepcopy(data); bad["experiment"]["grain_sizes_nm"] = [0] + with pytest.raises(HTTPError) as error: + urlopen(Request(endpoint, data=json.dumps(bad).encode(), headers=headers(), method="POST"), timeout=10) + assert error.value.code == 422 + detail = json.loads(error.value.read())["detail"] + assert ["experiment", "grain_sizes_nm", 0] in [row["loc"] for row in detail["field_errors"]] + assert server.stopped diff --git a/tests/runtime/test_steady_2d_http.py b/tests/runtime/test_steady_2d_http.py new file mode 100644 index 00000000..379ad506 --- /dev/null +++ b/tests/runtime/test_steady_2d_http.py @@ -0,0 +1,387 @@ +"""One genuine HTTP success; original failed process data is reused exactly.""" +from copy import deepcopy +from dataclasses import replace +import hashlib +import io +import json +import os +from pathlib import Path +import shutil +import signal +import socket +import subprocess +import sys +import tarfile +import time + +from fastapi.testclient import TestClient +import httpx +import numpy as np +import pytest + + +from examples.research_1d.process_ionic_transient import source_build +from examples.research_2d.http_steady import example_submission, installed_catalog, resource_limits +from solarlab.experiments.execution import ProcessSupervisor +from solarlab.experiments.two_dimensional.steady_results import read_steady_2d_job +from solarlab.experiments.two_dimensional.steady_worker import _request_contract, steady_2d_worker_binding +from solarlab.experiments.worker import WorkerRequest +from solarlab.io.run_store import RunStore +from solarlab.materials.source import SourceDocument +from solarlab_server.app import create_app +from solarlab_server.job_service import ExecutionCatalog, JobService, JobSubmission, canonical +from solarlab_server.steady_2d_preparation import ( + Steady2DJobInput, execute_registered_steady_2d, prepare_steady_2d_input, read_registered_steady_2d_job, +) +from test_transient_job_service import port_closed, ready + +pytestmark = pytest.mark.requires_clean_core + +ROOT = Path(__file__).resolve().parents[2] +FIXTURE_SHA256 = "98f6e3c174106153ec72564e117e316f6395a065353ecee89449faa5abedbaa2" +FAILED_RUN = "steady2d-failed" +FAILED_ATTEMPT = "f553077fc14c4d2ba163b33926dcf3e2" + + +def extract_historical(folder): + archive = Path(__file__).parent / "fixtures/steady_2d_process_saved.tar.gz" + assert hashlib.sha256(archive.read_bytes()).hexdigest() == FIXTURE_SHA256 + with tarfile.open(archive) as bundle: + assert sum(item.size for item in bundle.getmembers()) < 16 * 1024**2 + bundle.extractall(folder, filter="data") + proof = json.loads((folder / "Fixture.json").read_text()) + assert proof["original_full_store_snapshot"] and not proof["derived_sqlite_subset"] + assert proof["new_numerical_jobs"] == 0 + for name, sha in proof["files"].items(): + assert hashlib.sha256((folder / name).read_bytes()).hexdigest() == sha + assert (folder / "Store/partial").is_dir() and (folder / "Store/.writer.lock").is_file() + return folder / "Store", proof + + +@pytest.fixture(scope="module") +def implementation(): + commit = os.environ.get("SOLARLAB_STEADY2D_HTTP_COMMIT") or subprocess.check_output( + ["git", "rev-parse", "HEAD"], cwd=ROOT, text=True, timeout=5).strip() + archive = os.environ.get("SOLARLAB_STEADY2D_HTTP_ARCHIVE") + return source_build(commit, Path(archive) if archive else None) + + +@pytest.fixture(scope="module") +def catalog(implementation): + return installed_catalog(implementation, implementation.build_source_commit) + + +@pytest.fixture(scope="module") +def historical(tmp_path_factory): + return extract_historical(tmp_path_factory.mktemp("steady2d-historical")) + + +def owner(store, work, catalog): + return ProcessSupervisor(store, work, catalog.worker_bindings(), max_active=1, max_pending=2, + shared_rss_bytes=3 * 1024**3, shared_output_bytes=384 * 1024**2) + + +def test_preflight_preserves_core_body_and_actual_dimension2(catalog): + body = example_submission() + spec, binding = catalog.prepare(JobSubmission.model_validate(body)) + original = prepare_steady_2d_input(Steady2DJobInput.model_validate(body["input"]), catalog.registrations[0].context) + assert spec.worker_id == "registered_steady_2d" and spec.request.request == original.request.request + assert spec.request.registry == catalog.document and spec.request.schema == catalog.schema + assert binding.inputs.selection.context.dimension == 2 + assert binding.inputs.spatial_geometry is not None + assert json.loads(binding.inputs.spatial_geometry.content)["Nx"] == 4 + assert _request_contract(spec.request, steady_2d_worker_binding().source_sha256) + assert _request_contract(original.request, steady_2d_worker_binding().source_sha256) + binding.validate_request(spec.request) + entry = json.loads(catalog.document.content)["bindings"][0] + assert entry["driver"] == "steady_2d" and entry["scientific_qualification"] is False + assert entry["preparation_context"]["fixed_numerical_policy"]["numerical_coordinates"] == 195 + + +def test_registered_dispatch_reaches_unchanged_request_without_numerical_call(catalog, monkeypatch): + import solarlab_server.steady_2d_preparation as adapter + spec, binding = catalog.prepare(JobSubmission.model_validate(example_submission())) + seen = [] + + class ReachedNumericalBoundary(Exception): + pass + + def stop_before_solve(request, context): + seen.append(request) + raise ReachedNumericalBoundary() + + class Context: + def check_cancel(self): + pass + def consume_manifest(self, request, *, engine): + assert engine == "solarlab" + binding.validate_request(request) + return binding + + monkeypatch.setattr(adapter, "run_steady_2d_worker", stop_before_solve) + with pytest.raises(ReachedNumericalBoundary): + execute_registered_steady_2d(spec.request, Context()) + assert seen == [spec.request] + broken = json.loads(spec.request.registry.content) + broken["bindings"][0]["worker_source_sha256"] = "0" * 64 + changed = replace(spec.request, registry=SourceDocument(spec.request.registry.id, canonical(broken))) + assert not _request_contract(changed, steady_2d_worker_binding().source_sha256) + with pytest.raises(ValueError, match="source"): + execute_registered_steady_2d(changed, Context()) + assert len(seen) == 1 + + +@pytest.mark.parametrize("failure", [False, True]) +def test_full_controls_accept_only_the_two_explicit_policies(failure): + body = example_submission(insufficient_budget=failure)["input"] + parsed = Steady2DJobInput.model_validate(body) + assert parsed.options().electronic.max_iterations == (1 if failure else 100) + assert parsed.controls["auxiliary_1d"] == example_submission()["input"]["controls"]["auxiliary_1d"] + for changed in (True, 1.000001, float("nan")): + broken = deepcopy(body) + broken["controls"]["full_2d"]["electronic"]["potential_step_V"] = changed + with pytest.raises(ValueError): + Steady2DJobInput.model_validate(broken) + + +def test_invalid_requests_refused_before_enqueue_and_catalog_get(tmp_path, catalog): + with RunStore(tmp_path / "Store") as store, owner(store, tmp_path / "Work", catalog) as supervisor: + with TestClient(create_app(store.root, job_service=JobService(catalog, supervisor))) as client: + advertised = client.get("/experiments") + assert advertised.status_code == 200 + headers = {key: advertised.headers[key] for key in ("x-solarlab-registry", "x-solarlab-job-schema")} + assert client.post("/jobs", json=example_submission()).status_code == 428 + for key in headers: + assert client.post("/jobs", json=example_submission(), headers={**headers, key: "0" * 64}).status_code == 409 + for update in ({"engine": "legacy"}, {"experiment_id": "steady_jv"}, {"version": 2}, {"source_commit": "fake"}): + assert client.post("/jobs", json={**example_submission(), **update}, headers=headers).status_code == 422 + for update in ({"device_id": "missing"}, {"voltage_V": .003}, {"generation_scales": [1., 0.]}, + {"generation_scales": [True]}, {"generation_scales": [2.]}, {"controls": {}}, {"initial": {}}, + {"config_path": "/tmp/a"}, {"python_function": "os.system"}, {"initial_state": [0.]}): + body = example_submission() + body["input"].update(update) + assert client.post("/jobs", json=body, headers=headers).status_code == 422 + for key, value in (("Nx", True), ("Nx", 5), ("lateral_length_m", 2e-6), ("lateral_bc", "periodic"), + ("microstructure", {}), ("geometry_policy", "other")): + body = example_submission() + body["input"]["spatial"][key] = value + assert client.post("/jobs", json=body, headers=headers).status_code == 422 + for key, value in (("wall_seconds", 31.), ("rss_bytes", 2 * 1024**3), ("calls", 1), ("accepted_steps", 1)): + body = example_submission() + body["limits"][key] = value + assert client.post("/jobs", json=body, headers=headers).status_code == 422 + assert store.events() == [] + + +def test_coinstalled_1d_catalog_keeps_its_own_worker_and_model(implementation, catalog, tmp_path): + from examples.research_1d.steady import load_device + from solarlab.experiments.registry import ExperimentRegistry + from solarlab_server.steady_preparation import SteadyPreparationContext, steady_execution_catalog + one = steady_execution_catalog(SteadyPreparationContext((("one", load_device()),), implementation, + implementation.build_source_commit), ceiling=resource_limits()) + registry = ExperimentRegistry((*one.registry.definitions, *catalog.registry.definitions)) + sources = {s.id: s for s in (*one.sources, *catalog.sources)} + mixed = ExecutionCatalog(registry, one.models, tuple(sources.values()), (*one.registrations, *catalog.registrations), + registry.content_sha256, one.models.content_sha256, resource_limits()) + assert {b.id for b in mixed.worker_bindings()} == {"registered_steady", "registered_steady_2d"} + with RunStore(tmp_path / "Store") as store, owner(store, tmp_path / "Work", mixed) as supervisor: + with TestClient(create_app(store.root, job_service=JobService(mixed, supervisor))) as client: + entries = client.get("/experiments").json()["bindings"] + assert {e["driver"] for e in entries} == {"steady_jv", "steady_2d"} + assert entries[0]["model_registry_sha256"] != entries[1]["model_registry_sha256"] + assert store.events() == [] + + +def observe_http_case(client, store_root, run_id, attempt_id, *, registered, work=None): + events_url = f"/runs/{run_id}/attempts/{attempt_id}/events" + streamed = client.get(events_url) + assert streamed.status_code == 200, streamed.text + events = [json.loads(line[6:]) for line in streamed.text.splitlines() if line.startswith("data: ")] + response = client.get(f"/results/{run_id}/attempts/{attempt_id}") + assert response.status_code == 200, response.text + result = response.json() + assert result["steady_2d"]["origin"] == ("registered_http" if registered else "original_process") + payloads, arrays = {}, {} + assert len(result["artifacts"]) == 14 + for item in result["artifacts"]: + content = client.get(item["content_url"]) + record = client.get("/artifacts/" + item["artifact_id"]) + assert content.status_code == record.status_code == 200 + assert hashlib.sha256(content.content).hexdigest() == item["sha256"] + assert content.headers["etag"].strip('"') == item["sha256"] + payloads[item["name"]] = {"sha256": item["sha256"], "bytes": len(content.content), "metadata": record.json()} + if item["format"] == "npy": + arrays[item["name"]] = np.load(io.BytesIO(content.content), allow_pickle=False) + terminal = [e for e in events if e["kind"] == "terminal"] + assert len(terminal) == 1 + replay = client.get(events_url, headers={"Last-Event-ID": str(events[0]["sequence"])}) + acknowledged = client.get(events_url, headers={"Last-Event-ID": str(events[-1]["sequence"])}) + assert replay.status_code == 200 and acknowledged.status_code == 204 + assert '"kind":"terminal"' in replay.text.replace(" ", "") + with RunStore(store_root, read_only=True) as store: + reader = read_registered_steady_2d_job if registered else read_steady_2d_job + loaded = reader(store, run_id, attempt_id=attempt_id) + assert len(arrays) == 12 and len(loaded["arrays"]) == 22 + assert result["state"] == loaded["run_state"] + assert result["steady_2d"]["array_fingerprints"] == loaded["array_fingerprints"] + for name, array in arrays.items(): + assert array.tobytes() == loaded["stored_arrays"][name].tobytes() + case = {"run_id": run_id, "attempt_id": attempt_id, "registered_http": registered, + "result": result, "events": events, "terminal_count": len(terminal), "payloads": payloads, + "replay_status": replay.status_code, "terminal_ack_status": acknowledged.status_code, + "logical_arrays": loaded["array_fingerprints"], "document": loaded["document"]} + if work is not None: + directory = Path(work) / (store.store_id + "-" + attempt_id) + deadline = time.monotonic() + 5 + while not (directory / "receipt.json").exists(): + assert time.monotonic() < deadline + time.sleep(.01) + receipt = json.loads((directory / "receipt.json").read_text()) + assert receipt["process_joined"] and receipt["process_exit_observed"] and receipt["exitcode"] == 0 + assert receipt["signals"] == [] and receipt["resources"]["owned_wall_seconds"] <= 30 + child = json.loads((directory / "terminal.json").read_text()) + for item in child["artifacts"]: + assert hashlib.sha256((directory / item["file"]).read_bytes()).hexdigest() == payloads[item["name"]]["sha256"] + case["receipt"] = receipt + return case + + +def test_historical_process_http_reads_keep_original_identity(historical): + root, proof = historical + with TestClient(create_app(root)) as client: + for original in proof["cases"]: + case = observe_http_case(client, root, original["run_id"], original["attempt_id"], registered=False) + assert case["result"]["state"] == original["state"] + assert case["document"]["accepted_count"] == (2 if original["state"] == "succeeded" else 0) + if original["state"] == "failed": + assert case["document"]["unattempted_count"] == 1 and case["document"]["reason"] == "budget_exhausted" + assert case["logical_arrays"] == original["array_fingerprints"] + assert case["result"]["result"]["worker_result"]["capture"]["build_source_commit"] == proof["source_commit"] + + +def run_http_witness(folder, implementation, historical_root, *, archive=None, evidence_path=None, review_pause=False): + root, work = folder / "Store", folder / "Work" + shutil.copytree(historical_root, root) + with socket.socket() as probe: + probe.bind(("127.0.0.1", 0)) + port = probe.getsockname()[1] + assert port_closed(port) + command = [sys.executable, "-B", "-m", "examples.research_2d.http_steady", "--store", str(root), "--work", str(work), + "--build-source-commit", implementation.build_source_commit, "--current-repository-head", implementation.build_source_commit, + "--port", str(port)] + if archive: + command += ["--source-archive", str(archive)] + env = dict(os.environ) + env.update({k: "1" for k in ("OMP_NUM_THREADS", "OPENBLAS_NUM_THREADS", "MKL_NUM_THREADS", "VECLIB_MAXIMUM_THREADS", "NUMEXPR_NUM_THREADS", "BLIS_NUM_THREADS")}) + out_path, err_path = folder / "http.stdout.log", folder / "http.stderr.log" + evidence = {"command": command, "store": str(root), "work": str(work), "port": port, + "port_closed_before_start": True, "source_commit": implementation.build_source_commit, "cases": [], + "new_numerical_submissions": 0} + + def save(): + if evidence_path is not None: + Path(evidence_path).write_text(json.dumps(evidence, indent=2, allow_nan=False)) + + with out_path.open("x") as out, err_path.open("x") as err: + process = subprocess.Popen(command, cwd=ROOT, env=env, stdout=out, stderr=err, start_new_session=True) + evidence["service_pid"] = process.pid + try: + with httpx.Client(base_url=f"http://127.0.0.1:{port}", timeout=45) as client: + advertised = ready(client, process) + headers = {k: advertised.headers[k] for k in ("x-solarlab-registry", "x-solarlab-job-schema")} + evidence.update(catalog=advertised.json(), submission_headers=headers) + evidence["cases"].append(observe_http_case(client, root, FAILED_RUN, FAILED_ATTEMPT, registered=False)) + body = example_submission() + response = client.post("/jobs", json=body, headers=headers) + evidence.update(request=body, post_status=response.status_code, post=response.json(), new_numerical_submissions=1) + save() + assert response.status_code == 202, response.text + target = response.json() + evidence["cases"].append(observe_http_case(client, root, target["run_id"], target["attempt_id"], registered=True, work=work)) + assert evidence["cases"][-1]["result"]["state"] == "succeeded" + reopened = client.get("/runs/" + target["run_id"]) + assert reopened.status_code == 200 and reopened.json()["current_attempt_id"] == target["attempt_id"] + evidence["reopened_attempt_id"] = reopened.json()["current_attempt_id"] + save() + if review_pause: + print(json.dumps({"review_ready": True, "port": port, "service_pid": process.pid, + "run_id": target["run_id"], "attempt_id": target["attempt_id"], "evidence": str(evidence_path)}), flush=True) + input("GET-only review window; press Enter to close owned service: ") + finally: + if process.poll() is None: + process.send_signal(signal.SIGINT) + code = process.wait(timeout=20) + evidence.update(service_exit_code=code, port_closed=port_closed(port), stdout_log=str(out_path), stderr_log=str(err_path)) + messages = [json.loads(line) for line in out_path.read_text().splitlines() if line.startswith("{")] + evidence["closure"] = messages[-1] if messages else None + save() + assert code == 0 and evidence["port_closed"], err_path.read_text() + return evidence + + +@pytest.fixture(scope="module") +def actual(tmp_path_factory, implementation, historical): + if saved := os.environ.get("SOLARLAB_STEADY2D_HTTP_SAVED"): + return json.loads(Path(saved).read_text()) + return run_http_witness(tmp_path_factory.mktemp("steady2d-http"), implementation, historical[0], + archive=os.environ.get("SOLARLAB_STEADY2D_HTTP_ARCHIVE")) + + +def test_actual_http_success_and_original_failed_prefix(actual): + assert actual["new_numerical_submissions"] == 1 + assert actual["post_status"] == 202 and actual["service_exit_code"] == 0 and actual["port_closed"] + assert actual["closure"] == {"service_closed": True, "read_handle_closed": True, "process_owner_closed": True} + old, new = actual["cases"] + assert old["result"]["state"] == "failed" and old["document"]["accepted_count"] == 0 + assert new["result"]["state"] == "succeeded" and new["document"]["accepted_count"] == 2 + assert new["document"]["computation_counts"]["auxiliary_1d_seed_calls"] == 2 + assert new["document"]["computation_counts"]["full_2d_newton_calls"] == 2 + assert new["document"]["shape_Ny_Nx"] == [13, 5] and new["document"]["photovoltaic_metrics"] is None + assert old["terminal_count"] == new["terminal_count"] == 1 + assert len(old["logical_arrays"]) == len(new["logical_arrays"]) == 22 + + +def test_saved_registered_reader_forbids_numerical_imports(actual): + code = """import importlib.abc,json,sys +from pathlib import Path +class Block(importlib.abc.MetaPathFinder): + def find_spec(self,fullname,path=None,target=None): + if fullname.startswith(('solarlab.solvers','solarlab.equations','solarlab.device.compile_','perovskite_sim')): + raise AssertionError('forbidden numerical read import: '+fullname) +sys.meta_path.insert(0,Block()) +from solarlab.io.run_store import RunStore +from solarlab_server.steady_2d_preparation import read_registered_steady_2d_job +with RunStore(Path(sys.argv[1]),read_only=True) as store: + loaded=read_registered_steady_2d_job(store,sys.argv[2],attempt_id=sys.argv[3]) + print(json.dumps(loaded['array_fingerprints'])) +""" + case = actual["cases"][-1] + result = subprocess.run([sys.executable, "-B", "-c", code, actual["store"], case["run_id"], case["attempt_id"]], + cwd=ROOT, capture_output=True, text=True, timeout=20) + assert result.returncode == 0, result.stderr + assert json.loads(result.stdout) == case["logical_arrays"] + + +@pytest.mark.parametrize("change", ["source", "geometry", "schema"]) +def test_saved_http_catalog_tamper_rejected(actual, change): + case = actual["cases"][-1] + with RunStore(Path(actual["store"]), read_only=True) as store: + class Changed: + def __getattr__(self, name): + return getattr(store, name) + def get_run(self, run_id): + row = deepcopy(store.get_run(run_id)) + request = WorkerRequest.from_bytes(canonical(row["request"]["input_metadata"]["transport"])) + catalog = json.loads(request.registry.content) + entry = catalog["bindings"][0] + if change == "source": + entry["worker_source_sha256"] = "0" * 64 + elif change == "geometry": + entry["preparation_context"]["fixed_numerical_policy"]["spatial"]["Nx"] = 6 + else: + entry["input_schema"]["title"] = "changed" + request = replace(request, registry=SourceDocument(request.registry.id, canonical(catalog))) + row["request"]["input_metadata"]["transport"] = json.loads(request.to_bytes()) + return row + with pytest.raises(ValueError): + read_registered_steady_2d_job(Changed(), case["run_id"], attempt_id=case["attempt_id"]) diff --git a/tests/runtime/test_steady_2d_worker.py b/tests/runtime/test_steady_2d_worker.py new file mode 100644 index 00000000..cf7237bf --- /dev/null +++ b/tests/runtime/test_steady_2d_worker.py @@ -0,0 +1,228 @@ +"""The sole completed/insufficient-budget pair, then exact read/tamper checks.""" +from copy import deepcopy +from dataclasses import replace +import hashlib +import json +import os +from pathlib import Path +import shutil +import subprocess +import sys + +import numpy as np +import pytest + +from examples.research_1d.steady import load_device +from examples.research_2d.dc_assembly import spatial_input +from solarlab.device.compile_2d import compile_device_2d +from solarlab.experiments.two_dimensional.steady_results import ( + STORED_UNITS, _arrays, _load_raw, _summary, _validate, read_steady_2d_job, steady_2d_payload, +) +from solarlab.experiments.two_dimensional.steady_worker import ( + INITIAL_POLICY, Steady2DProtocol, _body, _lateral_initial, _validate as validate_input, +) +from solarlab.io.run_store import RunStore +from solarlab.solvers.nonlinear.steady_1d import SteadyOptions +from solarlab.solvers.nonlinear.steady_2d import Steady2DOptions + +pytestmark = pytest.mark.requires_clean_core + +ROOT = Path(__file__).resolve().parents[2] + + +@pytest.fixture(scope="module") +def geometry_only(): + prepared, spatial = load_device(), spatial_input() + return prepared, spatial, compile_device_2d(prepared, spatial) + + +def test_original_lateral_initial_formula_keeps_exact_195_words(geometry_only): + from examples.research_2d.steady import lateral_initial + prepared, spatial, device = geometry_only + column = np.r_[device.column.reference_potential_V, np.zeros(2 * device.geometry.ny)] + actual = _lateral_initial(device, column, voltage_V=.002) + expected = lateral_initial(device, column, voltage_V=.002) + assert actual.u.shape == (195,) and actual.potential_V.shape == (13, 5) + assert actual.u.tobytes() == expected.u.tobytes() + assert INITIAL_POLICY["auxiliary_seed_is_2d_completion"] is False + assert INITIAL_POLICY["cross_target_seed_reuse"] is False + + +@pytest.mark.parametrize("scales", [(True,), (2.,), (1., 0.), (), (0., 0.)]) +def test_nonexplicit_targets_refused(scales): + with pytest.raises(ValueError, match="dark/G1"): + Steady2DProtocol(.002, scales) + + +def test_failure_budget_changes_only_full_2d_counts(geometry_only): + prepared, spatial, _ = geometry_only + base = SteadyOptions() + failure = replace(base, max_iterations=1, max_residual_evaluations=1, max_jacobian_evaluations=1) + validate_input(prepared, spatial, Steady2DOptions(failure)) + body = _body(prepared, spatial, Steady2DProtocol(.002, (0., 1.)), Steady2DOptions(failure)) + assert body["controls"]["auxiliary_1d"]["max_residual_evaluations"] == base.max_residual_evaluations + assert body["controls"]["full_2d"]["electronic"]["max_residual_evaluations"] == 1 + assert body["controls"]["full_2d"]["electronic"]["poisson_tolerance"] == base.poisson_tolerance + with pytest.raises(ValueError, match="physical gates"): + validate_input(prepared, spatial, Steady2DOptions(replace(base, poisson_tolerance=1e-4))) + with pytest.raises(ValueError, match="positive integer"): + validate_input(prepared, spatial, Steady2DOptions(replace(base, max_iterations=True))) + + +def test_empty_accepted_prefix_is_unavailable_fields_not_completion(geometry_only): + prepared, spatial, device = geometry_only + body = _body(prepared, spatial, Steady2DProtocol(.002, (0., 1.)), Steady2DOptions()) + # Serialization-only fixture. No seed or Newton call occurred. + attempt = {"target": {"voltage_V": .002, "generation_scale": 0.}, "accepted": False, + "termination": "synthetic_preparation_failure", "error": "payload validation fixture only", + "auxiliary_1d_seed_called": False, "full_2d_adapter_called": False, + "auxiliary_1d_seed": None, "failed_auxiliary_seed_newton": None, "result_2d": None, + "auxiliary_seed_is_2d_completion": False} + summary, payloads = steady_2d_payload(device, prepared, body, [attempt], .0) + assert not summary["completed"] and summary["accepted_count"] == 0 and summary["unattempted_count"] == 1 + assert len(payloads) == 13 and len(STORED_UNITS) == 12 + raw = _load_raw(payloads["steady_2d_diagnostics"].data) + arrays = _arrays(raw) + assert len(arrays) == 22 and arrays["potential_V"].shape == (0, 13, 5) + assert arrays["face_current_density_A_m2"].shape == (0, 112) + assert arrays["terminal_mean_current_density_A_m2"].shape == (0, 2) + broken = dict(summary, completed=True) + with pytest.raises(ValueError, match="outcome"): + _validate(raw, broken, arrays) + broken_raw = deepcopy(raw) + broken_raw["geometry"]["face_pairs"][0] = [0, 5] + with pytest.raises(ValueError, match="connectivity"): + _validate(broken_raw, _summary(broken_raw), _arrays(broken_raw)) + + +@pytest.fixture(scope="module") +def actual_cases(tmp_path_factory): + if saved := os.environ.get("SOLARLAB_STEADY2D_WORKER_SAVED"): + return json.loads(Path(saved).read_text()) + # CI is self-contained. Local reruns use the exact saved pair above. + root = tmp_path_factory.mktemp("steady-2d-worker") + commit = os.environ.get("SOLARLAB_STEADY2D_COMMIT") or subprocess.check_output( + ["git", "rev-parse", "HEAD"], cwd=ROOT, text=True).strip() + archive = Path(os.environ.get("SOLARLAB_STEADY2D_ARCHIVE", root / "source.tar")) + if not archive.exists(): + subprocess.run(["git", "archive", "--format=tar", "--output", str(archive), commit, "--", "src/solarlab"], + cwd=ROOT, check=True) + env = dict(os.environ) + for key in ("OMP_NUM_THREADS", "OPENBLAS_NUM_THREADS", "MKL_NUM_THREADS", "VECLIB_MAXIMUM_THREADS", "NUMEXPR_NUM_THREADS", "BLIS_NUM_THREADS"): + env[key] = "1" + cases = [] + for failure in (False, True): + name = "steady2d-failed" if failure else "steady2d-completed" + receipt = root / (name + ".json") + argv = [sys.executable, "-B", "-m", "examples.research_2d.process_steady", "run", + "--store", str(root / "Store"), "--work", str(root / "Work"), "--run-id", name, + "--build-source-commit", commit, "--source-archive", str(archive), "--current-repository-head", commit, + "--receipt-json", str(receipt)] + if failure: + argv.append("--insufficient-budget") + result = subprocess.run(argv, cwd=ROOT, env=env, capture_output=True, text=True, timeout=45) + (root / (name + ".stdout")).write_text(result.stdout) + (root / (name + ".stderr")).write_text(result.stderr) + assert result.returncode == (2 if failure else 0), result.stderr + result.stdout[-2000:] + cases.append(json.loads(receipt.read_text())) + evidence = {"store": str(root / "Store"), "work": str(root / "Work"), "source_commit": commit, "cases": cases} + (root / "ActualCases.json").write_text(json.dumps(evidence, indent=2)) + return evidence + + +def test_actual_pair_preserves_2d_states_counts_sources_and_one_terminal(actual_cases): + with RunStore(Path(actual_cases["store"]), read_only=True) as store: + for case in actual_cases["cases"]: + loaded = read_steady_2d_job(store, case["run_id"], attempt_id=case["attempt_id"]) + summary, arrays = loaded["document"], loaded["arrays"] + complete = case["state"] == "succeeded" + assert loaded["run_state"] == case["state"] and summary["dimension"] == 2 + assert summary["accepted_count"] == (2 if complete else 0) + assert summary["computation_counts"]["auxiliary_1d_seed_calls"] == (2 if complete else 1) + assert summary["computation_counts"]["full_2d_newton_calls"] == (2 if complete else 1) + assert arrays["potential_V"].shape == (2 if complete else 0, 13, 5) + assert summary["physical_certificate_status"] == "not_evaluated" + attempt = next(a for a in store.attempts(case["run_id"]) if a["attempt_id"] == case["attempt_id"]) + records = [store.artifact(ref["artifact_id"]) for ref in attempt["terminal"]["artifacts"]] + assert len(records) == 14 + terminals = [e for e in store.events(run_id=case["run_id"], limit=1000) if e["kind"] == "terminal"] + assert len(terminals) == 1 + receipt = case["receipt"] + assert receipt["process_started"] and receipt["process_joined"] and receipt["process_exit_observed"] + assert receipt["exitcode"] == 0 and not receipt["signals"] + assert receipt["resources"]["owned_wall_seconds"] <= 30 + for attempt in loaded["diagnostics"]["attempts"]: + raw = attempt["result_2d"] + assert attempt["auxiliary_1d_seed"]["newton"]["accepted"] + assert raw["solver_controls"]["full_2d_newton_calls"] == 1 + assert np.any(raw["initial_diagnostics"]["lateral_current_density_A_m2"] != 0) + if not complete: + assert not raw["newton"]["accepted"] and raw["termination"] == "budget_exhausted" + assert raw["candidate_coordinates"].shape == (195,) + directory = Path(actual_cases["work"]) / (store.store_id + "-" + case["attempt_id"]) + terminal = json.loads((directory / "terminal.json").read_text()) + by_name = {r["name"]: r for r in records} + for item in terminal["artifacts"]: + assert hashlib.sha256((directory / item["file"]).read_bytes()).hexdigest() == by_name[item["name"]]["sha256"] + + +def test_actual_pair_solver_imports_forbidden_and_all_44_arrays_exact(actual_cases): + code = """ +import importlib.abc,json,sys +from pathlib import Path +class Block(importlib.abc.MetaPathFinder): + def find_spec(self,fullname,path=None,target=None): + if fullname.startswith(('solarlab.solvers','solarlab.equations','solarlab.device.compile_','perovskite_sim')): + raise AssertionError('forbidden numerical read import: '+fullname) +sys.meta_path.insert(0,Block()) +from solarlab.experiments.two_dimensional.steady_results import read_steady_2d_job +from solarlab.io.run_store import RunStore +with RunStore(Path(sys.argv[1]),read_only=True) as store: + loaded=read_steady_2d_job(store,sys.argv[2],attempt_id=sys.argv[3]) + print(json.dumps(dict(state=loaded['run_state'],arrays=loaded['array_fingerprints']))) +""" + for case in actual_cases["cases"]: + result = subprocess.run([sys.executable, "-B", "-c", code, actual_cases["store"], case["run_id"], case["attempt_id"]], + cwd=ROOT, capture_output=True, text=True, timeout=20) + assert result.returncode == 0, result.stderr + returned = json.loads(result.stdout) + assert returned["state"] == case["state"] + assert returned["arrays"] == case["readback"]["array_fingerprints"] + assert len(returned["arrays"]) == 22 + + +@pytest.mark.parametrize("change", ["unit", "ownership", "generation"]) +def test_saved_artifact_metadata_tamper_rejected(actual_cases, change): + case = actual_cases["cases"][0] + with RunStore(Path(actual_cases["store"]), read_only=True) as store: + class ChangedRecord: + def __getattr__(self, name): + return getattr(store, name) + def artifact(self, artifact_id): + data = deepcopy(store.artifact(artifact_id)) + if data["name"] == "potential_V": + if change == "unit": + data["metadata"]["unit"] = "mV" + elif change == "ownership": + data["attempt_id"] = "wrong_attempt" + else: + data["generation"] += 1 + return data + with pytest.raises(ValueError): + read_steady_2d_job(ChangedRecord(), case["run_id"], attempt_id=case["attempt_id"]) + + +def test_saved_raw_bytes_tamper_rejected_without_touching_original(actual_cases, tmp_path): + case = actual_cases["cases"][0] + clone = tmp_path / "Store" + shutil.copytree(actual_cases["store"], clone) + with RunStore(clone, read_only=True) as store: + attempt = next(a for a in store.attempts(case["run_id"]) if a["attempt_id"] == case["attempt_id"]) + record = next(store.artifact(ref["artifact_id"]) for ref in attempt["terminal"]["artifacts"] + if store.artifact(ref["artifact_id"])["name"] == "steady_2d_diagnostics") + path = clone / record["relative_path"] + raw = bytearray(path.read_bytes()) + raw[len(raw) // 2] ^= 1 + path.write_bytes(raw) + with pytest.raises(ValueError): + read_steady_2d_job(store, case["run_id"], attempt_id=case["attempt_id"]) diff --git a/tests/runtime/test_steady_job_routes.py b/tests/runtime/test_steady_job_routes.py new file mode 100644 index 00000000..a74ff667 --- /dev/null +++ b/tests/runtime/test_steady_job_routes.py @@ -0,0 +1,324 @@ +"""Installed steady jobs through the existing local ASGI/owner/store paths.""" +from dataclasses import replace +import hashlib +import io +import json +import os +from pathlib import Path +import subprocess +import sys +import time + +from fastapi.testclient import TestClient +import numpy as np +import pytest + + +from examples.research_1d.service import ROOT, committed_implementation +from examples.research_1d.steady import load_device +from solarlab.experiments.execution import JobHandle, ProcessSupervisor +from solarlab.experiments.jv.worker import read_steady_jv_job +from solarlab.experiments.worker import ResourceLimits, WorkerBinding +from solarlab.io.run_store import RunStore +from solarlab.materials.source import SourceDocument +from solarlab_server.app import create_app +from solarlab_server.job_service import JobService, JobSubmission, canonical +from solarlab_server.steady_preparation import SteadyPreparationContext, steady_execution_catalog + +pytestmark = pytest.mark.requires_clean_core + + +@pytest.fixture(scope="module") +def context(): + head = subprocess.check_output(["git", "rev-parse", "HEAD"], cwd=ROOT, text=True).strip() + commit = os.environ.get("SOLARLAB_STEADY_SERVICE_COMMIT", head) + return SteadyPreparationContext((("research_1d", load_device()),), committed_implementation(commit), head) + + +def limits(): + return ResourceLimits(60.0, 1536 * 1024**2, 96 * 1024**2, None, None) + + +@pytest.fixture(scope="module") +def catalog(context): + return steady_execution_catalog(context, ceiling=limits()) + + +def submission(run_id="http-steady"): + return {"schema_version": "solarlab.job-submission.v1", "run_id": run_id, + "experiment_id": "steady_jv", "version": 1, "engine": "solarlab", + "input": {"device_id": "research_1d", "voltage_V": [0.0, 0.05, 0.1], + "intervals_per_layer": 12, "generation_scale": 1.0, "incident_power_W_m2": None}, + "limits": {"wall_seconds": 60.0, "rss_bytes": 1536 * 1024**2, "output_bytes": 96 * 1024**2, + "accepted_steps": None, "calls": None}} + + +def headers(catalog): + return {"X-Solarlab-Registry": catalog.document.sha256, "X-Solarlab-Job-Schema": catalog.schema.sha256} + + +def pool(store, work, catalog, *, bindings=None): + return ProcessSupervisor(store, work, bindings or (catalog.worker_binding("solarlab"),), + max_active=1, max_pending=2, shared_rss_bytes=3 * 1024**3, shared_output_bytes=384 * 1024**2, + soft_grace_seconds=0.1, terminate_grace_seconds=0.1, poll_seconds=0.01) + + +def terminal_events(store, run_id): + return [event for event in store.events(run_id=run_id, limit=1000) if event["kind"] == "terminal"] + + +def test_real_steady_post_reads_eight_arrays_manifest_and_one_terminal(tmp_path, catalog, context): + root = Path(os.environ.get("SOLARLAB_STEADY_SERVICE_STORE", str(tmp_path / "store"))) + root.parent.mkdir(parents=True, exist_ok=True) + with RunStore(root) as store, pool(store, root.with_name(root.name + "-work"), catalog) as supervisor: + with TestClient(create_app(root, job_service=JobService(catalog, supervisor))) as http: + advertised = http.get("/experiments") + assert advertised.status_code == 200 and advertised.headers["x-solarlab-registry"] == catalog.document.sha256 + entry = advertised.json()["bindings"][0] + assert entry["engine"] == "solarlab" and entry["scientific_qualification"] is False + assert entry["scope"] == "static_classical_ion_free_1d_dc" + assert entry["preparation_context"] == context.export() + assert entry["legacy_kinds"] == [] and entry["synchronous_paths"] == [] + assert advertised.json()["registry"]["registered_executors"] == [] + response = http.post("/jobs", json=submission(), headers=headers(catalog)) + assert response.status_code == 202, response.text + accepted = response.json() + duplicate = http.post("/jobs", json=submission(), headers=headers(catalog)) + assert duplicate.status_code == 202 and duplicate.json()["attempt_id"] == accepted["attempt_id"] + handle = JobHandle(store.store_id, accepted["run_id"], accepted["attempt_id"]) + receipt = supervisor.wait(handle, 75).data + assert receipt["store_state"] == "succeeded", receipt + assert receipt["process_started"] and receipt["process_joined"] and receipt["process_exit_observed"] + assert len(terminal_events(store, handle.run_id)) == 1 + result_response = http.get(accepted["result_url"]) + assert result_response.status_code == 200 + result = result_response.json() + assert result["state"] == "succeeded" and len(result["artifacts"]) == 9 + loaded = read_steady_jv_job(store, handle.run_id, attempt_id=handle.attempt_id) + assert len(loaded["arrays"]) == 8 and loaded["arrays"]["potential_V"].shape == (3, 37) + assert loaded["arrays"]["voltage_V"].tolist() == [0.0, 0.05, 0.1] + worker_result = result["result"]["worker_result"] + assert worker_result["registered_device_id"] == "research_1d" + assert worker_result["execution_catalog_sha256"] == catalog.document.sha256 + assert worker_result["scientific_qualification"] is False + assert loaded["document"]["metrics"]["open_circuit_voltage_V"] is None + assert loaded["document"]["metrics"]["limitation"] == "open_circuit_not_bracketed" + assert all(point["accepted"] for point in loaded["document"]["solver_evidence"]) + fingerprints = {} + for item in result["artifacts"]: + response = http.get(item["content_url"]) + assert response.status_code == 200 + assert hashlib.sha256(response.content).hexdigest() == item["sha256"] + assert response.content == store.read_artifact(item["artifact_id"]) + if item["name"] == "execution_manifest": + assert item["sha256"] == worker_result["manifest_sha256"] + else: + array = np.load(io.BytesIO(response.content), allow_pickle=False) + assert array.tobytes() == loaded["arrays"][item["name"]].tobytes() + fingerprints[item["name"]] = {"shape": list(array.shape), "dtype": array.dtype.str, + "payload_sha256": item["sha256"], "word_sha256": hashlib.sha256(array.tobytes()).hexdigest()} + stream = http.get(accepted["events_url"]) + events = [json.loads(line[6:]) for line in stream.text.splitlines() if line.startswith("data: ")] + assert events[-1]["kind"] == "terminal" and events[-1]["payload"]["state"] == "succeeded" + assert sum(event["kind"] == "terminal" for event in events) == 1 + assert http.get(accepted["events_url"], headers={"Last-Event-ID": str(events[-1]["sequence"])}).status_code == 204 + archive = os.environ.get("SOLARLAB_STEADY_SERVICE_EVIDENCE") + if archive: + path = Path(archive) + path.mkdir(parents=True, exist_ok=True) + (path / "ActualService.json").write_text(json.dumps({"accepted": accepted, + "http_status": 202, "catalog": advertised.json(), "store": str(root), + "source_pin": context.implementation.build_source_commit, + "current_repository_head": context.current_repository_head, + "receipt": receipt, "arrays": fingerprints, "terminal_count": 1, + "readback": "HTTP NPY bytes independently decoded; existing steady reader also verified", + "scientific_qualification": False}, indent=2) + "\n") + with TestClient(create_app(root)) as reader: + assert reader.get(accepted["result_url"]).json() == result + assert reader.post("/jobs", json=submission(), headers=headers(catalog)).status_code == 503 + + +def test_steady_refuses_headers_schema_engine_capability_and_budgets_before_enqueue(tmp_path, catalog, context, monkeypatch): + import solarlab.device.compile_1d as compiler + import solarlab.solvers.nonlinear.steady_1d as solver + + def forbidden(*args, **kwargs): + raise AssertionError("refused input reached a compiler or solver") + + monkeypatch.setattr(compiler, "compile_device_1d", forbidden) + monkeypatch.setattr(solver, "solve_steady_state", forbidden) + with RunStore(tmp_path / "store") as store, pool(store, tmp_path / "work", catalog) as supervisor: + with TestClient(create_app(store.root, job_service=JobService(catalog, supervisor))) as http: + assert http.post("/jobs", json=submission()).status_code == 428 + for header in headers(catalog): + assert http.post("/jobs", json=submission(), headers={**headers(catalog), header: "0" * 64}).status_code == 409 + for changes in ({"engine": "legacy"}, {"engine": "invented"}, {"experiment_id": "impedance"}, + {"version": 2}, {"schema_version": "solarlab.job-submission.v2"}, + {"source_commit": context.implementation.build_source_commit}): + response = http.post("/jobs", json={**submission(), **changes}, headers=headers(catalog)) + assert response.status_code == 422, response.text + for changes in ({"device_id": "/tmp/device.json"}, {"device_id": "unregistered"}, + {"voltage_V": [0.0, 0.0]}, {"voltage_V": [0.0]}, + {"voltage_V": [float(i) for i in range(102)]}, + {"intervals_per_layer": 257}, {"intervals_per_layer": True}, + {"generation_scale": -1.0}, {"incident_power_W_m2": 0.0}, + {"source_bytes": "arbitrary"}, {"config_path": "/tmp/device.json"}, + {"python_function": "os.system"}, {"dimension": 2}, {"mobile_ions": True}): + request = submission() + request["input"].update(changes) + response = http.post("/jobs", json=request, headers=headers(catalog)) + assert response.status_code == 422, response.text + request = submission() + del request["input"]["generation_scale"] + assert http.post("/jobs", json=request, headers=headers(catalog)).status_code == 422 + for key, value in (("wall_seconds", 61.0), ("rss_bytes", 2 * 1024**3), + ("output_bytes", 128 * 1024**2), ("output_bytes", 0), + ("accepted_steps", 1), ("calls", 1)): + request = submission() + request["limits"][key] = value + assert http.post("/jobs", json=request, headers=headers(catalog)).status_code == 422 + assert http.post("/jobs", content=canonical(submission()).replace(b'"generation_scale":1.0', + b'"generation_scale":NaN'), headers={**headers(catalog), "Content-Type": "application/json"}).status_code == 400 + assert store.events() == [] + + from solarlab.experiments.registry import ExperimentRegistry + definition = catalog.registry.get("steady_jv", 1) + denied_registry = ExperimentRegistry((replace(definition, capability=replace(definition.capability, dimensions=(2,))),)) + denied = replace(catalog, registry=denied_registry, expected_registry_sha256=denied_registry.content_sha256) + with RunStore(tmp_path / "denied") as store, pool(store, tmp_path / "denied-work", denied) as supervisor: + with TestClient(create_app(store.root, job_service=JobService(denied, supervisor))) as http: + response = http.post("/jobs", json=submission(), headers=headers(denied)) + assert response.status_code == 422 and "capability refused" in response.text + assert store.events() == [] + + +def test_unsupported_installed_physics_and_mutable_factory_are_not_admitted(context): + from solarlab.config.resolve_device import resolve_device + from solarlab.device.inputs import DeviceInput + from solarlab_server.job_service import SteadyRegistration + + prepared = context.device("research_1d") + value = prepared.to_input().editing_data() + value["layers"][1]["parameters"]["D_ion"] = 1e-15 + ions = resolve_device(DeviceInput.model_validate(value), prepared.defaults, prepared.resources, sources=prepared.sources) + with pytest.raises(ValueError, match="D_ion"): + replace(context, devices=(("ions", ions),)) + with pytest.raises(ValueError, match="unique registered IDs"): + replace(context, devices=(("research_1d", prepared), ("research_1d", prepared))) + with pytest.raises(TypeError): + SteadyRegistration("steady_jv", 1, context, prepare=lambda input: None) + + +@pytest.mark.parametrize("field", ["device", "implementation", "model", "worker"]) +def test_spawned_route_rechecks_installed_binding_before_native_work(tmp_path, catalog, field): + spec, execution = catalog.prepare(JobSubmission.model_validate(submission())) + claimed = json.loads(catalog.document.content) + entry = claimed["bindings"][0] + if field == "device": + entry["preparation_context"]["devices"][0]["defaults_sha256"] = "0" * 64 + elif field == "implementation": + entry["preparation_context"]["implementation"]["source_manifest_sha256"] = "0" * 64 + else: + entry["model_registry_sha256" if field == "model" else "worker_source_sha256"] = "0" * 64 + altered = SourceDocument("explicit-inconsistent-steady-catalog-fixture", canonical(claimed)) + # Rebind transport deliberately: the child must check the relation to its + # trusted manifest and installed worker, not merely the outer byte digest. + worker = replace(catalog.worker_binding("solarlab"), registry_sha256=altered.sha256) + with RunStore(tmp_path / "store") as store, pool(store, tmp_path / "work", catalog, bindings=(worker,)) as supervisor: + handle = supervisor.submit("bad-binding", worker.id, replace(spec.request, registry=altered), + spec.limits, execution=execution) + receipt = supervisor.wait(handle, 15).data + assert receipt["store_state"] == "failed" and receipt["process_joined"] + assert receipt["worker_result"]["exception_type"] == "ValueError" + assert "steady" in receipt["worker_result"]["detail"] + assert not receipt["terminal_artifacts"] and len(terminal_events(store, handle.run_id)) == 1 + assert not any(e["payload"].get("ui_progress", {}).get("stage") == "steady_jv_native" + for e in store.events(run_id=handle.run_id, limit=1000)) + + +def _hold(request, context): + """Source-bound, non-numerical queue occupancy using the existing stop.""" + context.consume_manifest(request, engine="solarlab") + context.progress({"stage": "http_queue_ready"}) + while True: + context.check_cancel() + time.sleep(0.005) + + +def test_http_cancel_fences_attempt_and_stops_only_the_shared_owner(tmp_path, catalog): + hold = WorkerBinding.from_function("http_queue_fixture", _hold, + registry_sha256=catalog.document.sha256, schema_sha256=catalog.schema.sha256) + spec, execution = catalog.prepare(JobSubmission.model_validate(submission())) + with RunStore(tmp_path / "store") as store, pool(store, tmp_path / "work", catalog, + bindings=(catalog.worker_binding("solarlab"), hold)) as supervisor: + first = supervisor.submit("queue-owner", hold.id, spec.request, spec.limits, execution=execution) + until = time.monotonic() + 10 + while time.monotonic() < until: + if any(e["payload"].get("ui_progress", {}).get("stage") == "http_queue_ready" + for e in store.events(run_id=first.run_id, limit=1000)): + break + time.sleep(0.005) + else: + raise AssertionError("queue owner did not reach the observed barrier") + with TestClient(create_app(store.root, job_service=JobService(catalog, supervisor))) as http: + response = http.post("/jobs", json=submission("queued-steady"), headers=headers(catalog)) + assert response.status_code == 202, response.text + accepted = response.json() + queued = JobHandle(store.store_id, accepted["run_id"], accepted["attempt_id"]) + row = store.get_run(queued.run_id) + url = f"/jobs/{queued.run_id}/attempts/{queued.attempt_id}/cancel" + assert http.post(url, json={"expected_generation": row["generation"] + 1, "reason": "stale"}).status_code == 409 + assert http.post(url.replace(queued.attempt_id, "different-attempt"), + json={"expected_generation": row["generation"], "reason": "wrong attempt"}).status_code == 409 + response = http.post(url, json={"expected_generation": row["generation"], "reason": "explicit HTTP stop"}) + assert response.status_code == 200 and response.json()["state"] == "cancelled" + stopped = supervisor.wait(queued, 5).data + assert stopped["store_state"] == "cancelled" and not stopped["process_started"] + assert len(terminal_events(store, queued.run_id)) == 1 + assert store.attempts(queued.run_id)[0]["terminal"]["artifacts"] == [] + assert store.get_run(first.run_id)["state"] == "running" + owner = store.get_run(first.run_id) + response = http.post(f"/jobs/{first.run_id}/attempts/{first.attempt_id}/cancel", + json={"expected_generation": owner["generation"], "reason": "stop the observed owner"}) + assert response.status_code == 200 + receipt = supervisor.wait(first, 10).data + assert receipt["store_state"] == "cancelled" and receipt["process_joined"] + assert receipt["process_exit_observed"] and len(terminal_events(store, first.run_id)) == 1 + + +def test_mixed_catalog_keeps_legacy_and_steady_model_and_engine_bindings_separate(catalog): + from job_route_fixtures import catalog as legacy_catalog, request as legacy_request + from solarlab.experiments.registry import ExperimentRegistry + + legacy, _ = legacy_catalog() + sources = {source.id: source for source in (*legacy.sources, *catalog.sources)} + declarations = ExperimentRegistry((*legacy.registry.definitions, *catalog.registry.definitions)) + mixed = replace(legacy, registry=declarations, registrations=(*legacy.registrations, *catalog.registrations), + sources=tuple(sources.values()), expected_registry_sha256=declarations.content_sha256, ceiling=limits()) + legacy_spec, old = mixed.prepare(JobSubmission.model_validate(legacy_request())) + steady_spec, new = mixed.prepare(JobSubmission.model_validate(submission())) + assert legacy_spec.worker_id == "registered_legacy" and old.engine.name == "legacy" + assert steady_spec.worker_id == "registered_steady" and new.engine.name == "solarlab" + assert old.inputs.registry.content_sha256 != new.inputs.registry.content_sha256 + assert not old.manifest.can_execute and not new.manifest.can_execute + for engine in ("legacy", "solarlab"): + assert mixed.worker_binding(engine).registry_sha256 == mixed.document.sha256 + for data in ({**submission(), "engine": "legacy"}, {**legacy_request(), "engine": "solarlab"}): + with pytest.raises(ValueError, match="fallback is forbidden"): + mixed.prepare(JobSubmission.model_validate(data)) + + +def test_local_service_script_keeps_engine_imports_after_worker_isolation(tmp_path): + code = ''' +import importlib.abc, runpy, sys +class NoEarlyEngine(importlib.abc.MetaPathFinder): + def find_spec(self, fullname, path=None, target=None): + if fullname in {"scipy", "perovskite_sim"}: + raise AssertionError("engine imported during spawn main reconstruction: " + fullname) +sys.meta_path.insert(0, NoEarlyEngine()) +runpy.run_path(sys.argv[1], run_name="__mp_main__") +assert not ({"scipy", "perovskite_sim"} & set(sys.modules)) +''' + process = subprocess.run([sys.executable, "-I", "-B", "-c", code, str(ROOT / "examples/research_1d/service.py")], + cwd=tmp_path, capture_output=True, text=True, timeout=10) + assert process.returncode == 0, process.stderr diff --git a/tests/runtime/test_steady_jv_worker.py b/tests/runtime/test_steady_jv_worker.py new file mode 100644 index 00000000..e9c3f5d4 --- /dev/null +++ b/tests/runtime/test_steady_jv_worker.py @@ -0,0 +1,243 @@ +"""Real new-core spawn, exact publication, and bounded failure/cancellation.""" +from dataclasses import replace +import hashlib +import io +import json +import os +from pathlib import Path +import subprocess +import tarfile +import time + +import pytest + + +from solarlab.config.identity import BuildSource, ExecutionEngine +from solarlab.experiments.execution import ProcessSupervisor +from solarlab.experiments.jv.worker import ( + SteadyJVProtocol, prepare_steady_jv_job, read_steady_jv_job, steady_jv_worker_binding, +) +from solarlab.experiments.worker import ResourceLimits, WorkerBinding +from solarlab.io.run_store import RunStore +from solarlab.materials.source import SourceDocument + +pytestmark = pytest.mark.requires_clean_core + +ROOT = Path(__file__).resolve().parents[2] + + +@pytest.fixture(scope="module") +def prepared(): + from examples.research_1d.steady import load_device + return load_device() + + +@pytest.fixture(scope="module") +def implementation(): + commit = subprocess.check_output(["git", "rev-parse", "HEAD"], cwd=ROOT, text=True).strip() + content = subprocess.check_output(["git", "archive", commit, "--", "src/solarlab"], cwd=ROOT) + sources = [] + with tarfile.open(fileobj=io.BytesIO(content)) as archive: + for item in archive.getmembers(): + if item.isfile() and item.name.endswith(".py") and item.size: + sources.append(SourceDocument(item.name.removeprefix("src/"), archive.extractfile(item).read())) + return BuildSource(commit, tuple(sources)) + + +@pytest.fixture(scope="module") +def job(prepared, implementation): + return prepare_steady_jv_job(prepared, SteadyJVProtocol((0.0, 0.05, 0.1), 12, 1.0, None), + implementation=implementation, current_repository_head=implementation.build_source_commit, + engine=ExecutionEngine("solarlab")) + + +def limits(): + return ResourceLimits(45.0, 1536 * 1024**2, 96 * 1024**2, None, None) + + +def pool(store, work, bindings=None): + return ProcessSupervisor(store, work, bindings or (steady_jv_worker_binding(),), max_active=1, max_pending=2, + shared_rss_bytes=3 * 1024**3, shared_output_bytes=384 * 1024**2, + soft_grace_seconds=0.2, terminate_grace_seconds=0.2, poll_seconds=0.02) + + +def terminal_events(store, run_id): + return [event for event in store.events(run_id=run_id, limit=1000) if event["kind"] == "terminal"] + + +def _hold(request, context): + """Non-numerical queue-occupancy fixture using the actual runtime stop.""" + context.consume_manifest(request, engine="solarlab") + context.progress({"stage": "queue_fixture_ready"}) + while True: + context.check_cancel() + time.sleep(0.005) + + +def test_real_steady_jv_job_has_one_terminal_and_original_publication_bytes(tmp_path, job, prepared): + root = Path(os.environ.get("SOLARLAB_STEADY_WORKER_STORE", str(tmp_path / "store"))) + work = root.with_name(root.name + "-work") + root.parent.mkdir(parents=True, exist_ok=True) + with RunStore(root) as store, pool(store, work) as supervisor: + handle = job.submit(supervisor, "steady-case", limits()) + receipt = supervisor.wait(handle, 60).data + assert receipt["process_started"] and receipt["process_joined"] and receipt["process_exit_observed"] + assert receipt["store_state"] == "succeeded", receipt + assert receipt["terminal_committed"] and receipt["exitcode"] == 0 + assert len(terminal_events(store, handle.run_id)) == 1 + assert len(receipt["terminal_artifacts"]) == 9 # Eight arrays plus the existing manifest artifact. + assert receipt["resources"]["calls"] is None and receipt["resources"]["accepted_steps"] is None + loaded = read_steady_jv_job(store, handle.run_id, attempt_id=handle.attempt_id) + assert len(loaded["arrays"]) == 8 + assert loaded["arrays"]["potential_V"].shape == (3, 37) + assert loaded["document"]["metrics"]["open_circuit_voltage_V"] is None + assert loaded["document"]["metrics"]["limitation"] == "open_circuit_not_bracketed" + assert all(point["accepted"] and "density_basin_stages" in point for point in loaded["document"]["solver_evidence"]) + assert not job.execution.manifest.can_execute and not loaded["worker_result"]["scientific_qualification"] + assert loaded["worker_result"]["H_execution"] == job.execution.manifest.execution_sha256 + + # A short direct reference verifies the public publisher retains its + # existing output and exact numerical bytes across the transport change. + from solarlab.device.compile_1d import compile_device_1d + from solarlab.experiments.jv.steady import publish_steady_jv, read_steady_jv, run_steady_jv, steady_jv_payload + from threadpoolctl import threadpool_limits + with threadpool_limits(limits=1): + reference = run_steady_jv(compile_device_1d(prepared, intervals_per_layer=12), (0.0, 0.05, 0.1)) + row = store.enqueue("direct-reference", opaque_identity=store.get_run(handle.run_id)["request"]["identity"], + input_metadata={"scope": "real direct publisher parity reference"}) + token = store.claim("direct-reference", expected_attempt_id=row["current_attempt_id"], + expected_generation=row["generation"], owner_id="publisher-parity-test") + published = publish_steady_jv(store, token, reference) + store.complete(token, state="succeeded", result=published, artifacts=published["artifact_ids"]) + metadata, named = steady_jv_payload(reference) + assert metadata == loaded["worker_result"]["steady_result"] + assert {name: payload.sha256 for name, payload in named} == loaded["worker_result"]["array_payloads"] + arrays = read_steady_jv(store, published) + for name, value in loaded["arrays"].items(): + assert value.dtype == arrays[name].dtype and value.shape == arrays[name].shape + assert value.tobytes() == arrays[name].tobytes() + with pytest.raises(ValueError, match="attempt of this run"): + read_steady_jv_job(store, handle.run_id, attempt_id=token.attempt_id) + code = ''' +import importlib.abc, pathlib, sys +class NoSolver(importlib.abc.MetaPathFinder): + def find_spec(self, fullname, path=None, target=None): + if any(fullname == p or fullname.startswith(p + '.') for p in ( + 'solarlab.solvers', 'solarlab.equations', 'solarlab.device.compile_1d', 'perovskite_sim')): + raise AssertionError('readback imported numerical execution: ' + fullname) +sys.meta_path.insert(0, NoSolver()) +from solarlab.io.run_store import RunStore +from solarlab.experiments.jv.worker import read_steady_jv_job +with RunStore(pathlib.Path(sys.argv[1]), read_only=True) as store: + result = read_steady_jv_job(store, 'steady-case') + assert len(result['arrays']) == 8 and result['arrays']['potential_V'].shape == (3, 37) +''' + import sys + readback = subprocess.run([sys.executable, "-I", "-B", "-c", code, str(root)], cwd=tmp_path, + capture_output=True, text=True, timeout=15) + assert readback.returncode == 0, readback.stderr + archive = os.environ.get("SOLARLAB_STEADY_WORKER_EVIDENCE") + if archive: + path = Path(archive) + path.mkdir(parents=True, exist_ok=True) + evidence = {"actual_store": str(root), "work": str(work), "receipt": receipt, + "run_id": handle.run_id, "attempt_id": handle.attempt_id, + "manifest_sha256": job.execution.manifest.sha256, + "core_build_source_commit": job.execution.execution.implementation.build_source_commit, + "transport_bytes": len(job.request.to_bytes()), + "manifest_bytes": len(job.execution.manifest.canonical_json), + "array_fingerprints": {name: {"shape": list(value.shape), "dtype": value.dtype.str, + "sha256": hashlib.sha256(value.tobytes()).hexdigest()} for name, value in loaded["arrays"].items()}, + "original_publisher_bitwise_match": True, "terminal_count": len(terminal_events(store, handle.run_id)), + "fresh_solver_free_reader": {"exit_code": readback.returncode, "stderr": readback.stderr}} + (path / "ActualWorker.json").write_text(json.dumps(evidence, indent=2) + "\n") + + +def test_invalid_request_is_one_failed_terminal_before_native_work(tmp_path, job): + body = json.loads(job.request.request.content) + body["engine"] = "legacy" + request = replace(job.request, request=SourceDocument(job.request.request.id, + json.dumps(body, sort_keys=True, separators=(",", ":")).encode())) + with RunStore(tmp_path / "store") as store, pool(store, tmp_path / "work") as supervisor: + handle = supervisor.submit("invalid", "steady_jv", request, limits(), execution=job.execution) + receipt = supervisor.wait(handle, 60).data + assert receipt["store_state"] == "failed" and receipt["terminal_committed"] + assert receipt["worker_result"]["exception_type"] == "ValueError" + assert "request differs" in receipt["worker_result"]["detail"] + assert not receipt["terminal_artifacts"] and len(terminal_events(store, "invalid")) == 1 + assert not any(e["payload"].get("ui_progress", {}).get("stage") == "steady_jv_native" + for e in store.events(run_id="invalid", limit=1000)) + + +def test_unsupported_ions_and_bad_protocol_refuse_before_native_work(prepared, implementation, monkeypatch): + from solarlab.config.resolve_device import resolve_device + from solarlab.device.inputs import DeviceInput + import solarlab.device.compile_1d as compiler + import solarlab.solvers.nonlinear.steady_1d as solver + + def forbidden(*args, **kwargs): + raise AssertionError("invalid preparation reached a native operation") + monkeypatch.setattr(compiler, "compile_device_1d", forbidden) + monkeypatch.setattr(solver, "solve_steady_state", forbidden) + value = prepared.to_input().editing_data() + value["layers"][1]["parameters"]["D_ion"] = 1e-15 + unsupported = resolve_device(DeviceInput.model_validate(value), prepared.defaults, prepared.resources, + sources=prepared.sources) + with pytest.raises(ValueError, match="D_ion"): + prepare_steady_jv_job(unsupported, SteadyJVProtocol((0., .05), 12, 1., None), + implementation=implementation, current_repository_head=implementation.build_source_commit, + engine=ExecutionEngine("solarlab")) + for voltages in ((0.0,), (0.0, 0.0), (0.0, float("nan"))): + with pytest.raises(ValueError, match="monotonic"): + SteadyJVProtocol(voltages, 12, 1.0, None) + + +def test_queued_steady_cancellation_uses_existing_unique_terminal(tmp_path, job): + blocking = WorkerBinding.from_function("queue_fixture", _hold, + registry_sha256=job.request.registry.sha256, schema_sha256=job.request.schema.sha256) + with RunStore(tmp_path / "store") as store, pool(store, tmp_path / "work", + (steady_jv_worker_binding(), blocking)) as supervisor: + first = supervisor.submit("queue-owner", "queue_fixture", job.request, limits(), execution=job.execution) + deadline = time.monotonic() + 15 + while time.monotonic() < deadline: + if any(e["payload"].get("ui_progress", {}).get("stage") == "queue_fixture_ready" + for e in store.events(run_id="queue-owner", limit=1000)): + break + time.sleep(.01) + else: + raise AssertionError("queue fixture did not become ready") + queued = job.submit(supervisor, "cancelled-steady", limits()) + assert supervisor.cancel(queued) + receipt = supervisor.wait(queued, 5).data + assert not receipt["process_started"] and receipt["store_state"] == "cancelled" + assert len(terminal_events(store, "cancelled-steady")) == 1 + assert not supervisor.cancel(queued) + assert supervisor.cancel(first) + assert supervisor.wait(first, 10).data["store_state"] == "cancelled" + + +def test_running_steady_cancellation_discards_late_output(tmp_path, prepared, implementation): + job = prepare_steady_jv_job(prepared, SteadyJVProtocol(tuple(i * .025 for i in range(51)), 12, 1., None), + implementation=implementation, current_repository_head=implementation.build_source_commit, + engine=ExecutionEngine("solarlab")) + with RunStore(tmp_path / "store") as store, pool(store, tmp_path / "work") as supervisor: + handle = job.submit(supervisor, "cancel-native", limits()) + deadline = time.monotonic() + 15 + while time.monotonic() < deadline: + if any(e["payload"].get("ui_progress", {}).get("stage") == "steady_jv_native" + for e in store.events(run_id=handle.run_id, limit=1000)): + break + time.sleep(.005) + else: + raise AssertionError("steady child did not reach native work") + assert supervisor.cancel(handle) + receipt = supervisor.wait(handle, 10).data + assert receipt["process_started"] and receipt["process_exit_observed"] and receipt["process_joined"] + assert receipt["store_state"] == "cancelled" and receipt["terminal_committed"] + assert not receipt["terminal_artifacts"] and len(terminal_events(store, handle.run_id)) == 1 + assert not supervisor.cancel(handle) + archive = os.environ.get("SOLARLAB_STEADY_WORKER_EVIDENCE") + if archive: + path = Path(archive) + path.mkdir(parents=True, exist_ok=True) + (path / "NativeCancellation.json").write_text(json.dumps(receipt, indent=2) + "\n") diff --git a/tests/runtime/test_steady_sweep_worker.py b/tests/runtime/test_steady_sweep_worker.py new file mode 100644 index 00000000..cff1fc46 --- /dev/null +++ b/tests/runtime/test_steady_sweep_worker.py @@ -0,0 +1,230 @@ +"""Real cold process points, bounded lifecycle, and solver-free stored mapping.""" +from dataclasses import replace +import json +import os +from pathlib import Path +import subprocess +import sys +import time + +import pytest + + +from solarlab.config.identity import ExecutionEngine +from solarlab.experiments.execution import JobHandle, ProcessSupervisor, ScanSpec +from solarlab.experiments.jv.worker import SteadyJVProtocol, steady_jv_worker_binding +from solarlab.experiments.worker import ResourceLimits, WorkerBinding +from solarlab.io.run_store import RunStore, StateConflict +from solarlab.sweeps.inputs import SweepInput +from solarlab.sweeps.preparation import prepare_sweep +from solarlab.sweeps.steady_worker import ( + SteadySweepJobs, prepare_steady_sweep_jobs, read_steady_sweep_jobs, +) + +pytestmark = pytest.mark.requires_clean_core + +ROOT = Path(__file__).resolve().parents[2] +LIMITS = ResourceLimits(60., 1536 * 1024**2, 96 * 1024**2, None, None) +PROTOCOL = SteadyJVProtocol((0., .05, .1), 12, 1., None) + + +@pytest.fixture(scope="module") +def implementation(): + from examples.research_1d.service import committed_implementation + commit = os.environ.get("SOLARLAB_PROCESS_SWEEP_SOURCE_PIN") or subprocess.check_output( + ["git", "rev-parse", "HEAD"], cwd=ROOT, text=True, timeout=5).strip() + # The full suite has loaded non-DC modules too; bind their committed bytes. + return committed_implementation(commit) + + +@pytest.fixture(scope="module") +def sweep(): + from examples.research_1d.jv_scan import make_sweep + return make_sweep(ROOT / "examples/research_1d/device.json", study_id="process-worker-test", + parameter="tau_n", values=["1 us", "2 us"]) + + +@pytest.fixture(scope="module") +def jobs(sweep, implementation): + return prepare_steady_sweep_jobs(sweep, PROTOCOL, limits=LIMITS, implementation=implementation, + current_repository_head=implementation.build_source_commit, engine=ExecutionEngine("solarlab")) + + +def pool(store, work, extra=()): + return ProcessSupervisor(store, work, (steady_jv_worker_binding(), *extra), max_active=1, max_pending=1, + shared_rss_bytes=3 * 1024**3, shared_output_bytes=384 * 1024**2, poll_seconds=.01) + + +def terminals(store, run_id): + return [event for event in store.events(run_id=run_id, limit=1000) if event["kind"] == "terminal"] + + +@pytest.fixture(scope="module") +def completed(tmp_path_factory, jobs): + root = tmp_path_factory.mktemp("steady-process-sweep") + with RunStore(root / "store") as store, pool(store, root / "work") as supervisor: + scan = jobs.submit(supervisor) + status = scan.wait(150) + assert status["state"] == "succeeded", status + receipts = [supervisor.wait(JobHandle(store.store_id, point["run_id"], point["attempt_id"]), 5).data + for point in status["points"]] + declaration = scan.declaration_path + return root, declaration, status, receipts + + +def test_real_two_point_cold_scan_commits_distinct_manifests_and_eight_arrays(completed, jobs, sweep): + root, declaration, status, receipts = completed + assert not sweep.can_execute and not status["scientific_qualification_inferred"] + assert status["max_in_flight"] == 1 and not status["coordinator_uses_process_slot"] + assert ScanSpec.from_bytes(declaration.read_bytes()) == jobs.spec + assert jobs.executions[0].inputs.prepared is not jobs.executions[1].inputs.prepared + assert jobs.spec.points[0].spec.manifest_sha256 != jobs.spec.points[1].spec.manifest_sha256 + assert jobs.spec.points[0].spec.initial_state_sha256 != jobs.spec.points[1].spec.initial_state_sha256 + for binding in jobs.executions: + assert json.loads(binding.execution.initial_state.content)["cross_job_reuse"] is False + preparation = json.loads(binding.execution.preparation.content) + assert preparation["cold_compile_per_job"] is True + assert any(item["id"] == "solarlab/sweeps/steady_worker.py" for item in preparation["adapter_sources"]) + assert all(r["process_joined"] and r["process_exit_observed"] and r["exitcode"] == 0 for r in receipts) + with RunStore(root / "store", read_only=True) as store: + points = read_steady_sweep_jobs(store, jobs.spec) + assert [p["point_id"] for p in points] == [p["id"] for p in sweep.to_mapping()["points"]] + assert [p["coordinates"]["normalized_coordinates"]["tau_n"]["value"] for p in points] == [1e-6, 2e-6] + for point in points: + assert point["state"] == "succeeded" and len(point["attempts"]) == 1 + assert len(terminals(store, point["run_id"])) == 1 + assert len(point["attempts"][0]["terminal"]["artifacts"]) == 9 + result = point["result"] + assert len(result["arrays"]) == 8 and result["arrays"]["potential_V"].shape == (3, 37) + assert result["arrays"]["voltage_V"].tolist() == [0., .05, .1] + assert all(item["accepted"] for item in result["document"]["solver_evidence"]) + assert result["document"]["metrics"]["open_circuit_voltage_V"] is None + assert result["document"]["metrics"]["efficiency"] is None + assert result["document"]["metrics"]["limitation"] == "open_circuit_not_bracketed" + assert points[0]["result"]["document"]["compiled_identity"] != points[1]["result"]["document"]["compiled_identity"] + assert points[0]["result"]["arrays"]["output_current_A_m2"].tobytes() != points[1]["result"]["arrays"]["output_current_A_m2"].tobytes() + + +def test_independent_reader_never_imports_solver_and_refuses_changed_point(completed, jobs, tmp_path): + root, declaration, _, _ = completed + code = ''' +import importlib.abc, json, pathlib, sys +class NoSolver(importlib.abc.MetaPathFinder): + def find_spec(self, fullname, path=None, target=None): + if any(fullname == p or fullname.startswith(p + '.') for p in ( + 'solarlab.solvers', 'solarlab.equations', 'solarlab.device.compile_1d', 'perovskite_sim')): + raise AssertionError('reader attempted numerical import: ' + fullname) +sys.meta_path.insert(0, NoSolver()) +from solarlab.experiments.execution import ScanSpec +from solarlab.io.run_store import RunStore +from solarlab.sweeps.steady_worker import read_steady_sweep_jobs +with RunStore(pathlib.Path(sys.argv[1]), read_only=True) as store: + points = read_steady_sweep_jobs(store, ScanSpec.from_bytes(pathlib.Path(sys.argv[2]).read_bytes())) + assert all(p['state'] == 'succeeded' and len(p['result']['arrays']) == 8 for p in points) + print(json.dumps([p['result']['worker_result']['array_payloads'] for p in points], sort_keys=True)) +''' + readback = subprocess.run([sys.executable, "-I", "-B", "-c", code, str(root / "store"), str(declaration)], + cwd=tmp_path, capture_output=True, text=True, timeout=20) + assert readback.returncode == 0, readback.stderr + with RunStore(root / "store", read_only=True) as store: + points = read_steady_sweep_jobs(store, jobs.spec) + assert json.loads(readback.stdout) == [p["result"]["worker_result"]["array_payloads"] for p in points] + coordinates = json.loads(jobs.spec.points[0].coordinates_json) + coordinates["normalized_coordinates"]["tau_n"]["value"] = 3e-6 + changed = replace(jobs.spec.points[0], coordinates_json=json.dumps(coordinates)) + with pytest.raises(ValueError, match="association differs"): + read_steady_sweep_jobs(store, replace(jobs.spec, points=(changed, jobs.spec.points[1]))) + + +def test_wall_failure_preserves_attempt_and_next_point_runs_cold(tmp_path, jobs): + first = jobs.spec.points[0] + timed = replace(first, spec=replace(first.spec, limits=replace(LIMITS, wall_seconds=.000001))) + bounded = SteadySweepJobs(replace(jobs.spec, points=(timed, jobs.spec.points[1])), jobs.executions) + with RunStore(tmp_path / "store") as store, pool(store, tmp_path / "work") as supervisor: + status = bounded.submit(supervisor).wait(90) + assert status["complete"] and status["state"] == "failed" + points = read_steady_sweep_jobs(store, bounded.spec) + assert [p["state"] for p in points] == ["failed", "succeeded"] + assert points[0]["result"] is None and points[0]["reason"] == "wall_limit" + assert points[0]["attempts"][0]["terminal"]["artifacts"] == [] + assert len(points[1]["result"]["arrays"]) == 8 + assert all(len(terminals(store, p["run_id"])) == 1 for p in points) + + +def _hold(request, context): + """Non-numerical fixture occupying the shared owner's one process slot.""" + context.consume_manifest(request, engine="solarlab") + context.progress({"stage": "shared_slot_ready"}) + while True: + context.check_cancel() + time.sleep(.005) + + +def test_shared_capacity_exact_cancel_and_explicit_retry_keep_prior_attempts(tmp_path, jobs): + request, execution = jobs.spec.points[0].spec.request, jobs.executions[0] + blocker = WorkerBinding.from_function("shared_slot", _hold, + registry_sha256=request.registry.sha256, schema_sha256=request.schema.sha256) + with RunStore(tmp_path / "store") as store, pool(store, tmp_path / "work", (blocker,)) as supervisor: + held = supervisor.submit("other-owner", "shared_slot", request, LIMITS, execution=execution) + deadline = time.monotonic() + 15 + while not any(e["payload"].get("ui_progress", {}).get("stage") == "shared_slot_ready" + for e in store.events(run_id=held.run_id, limit=1000)): + if time.monotonic() >= deadline: + pytest.fail("bounded shared-slot fixture never became ready") + time.sleep(.01) + scan = jobs.submit(supervisor) + status = scan.advance() + assert [p["state"] for p in status["points"]] == ["queued", "declared"] + assert supervisor.accounting()["active"] == 1 + first = status["points"][0] + handle = JobHandle(store.store_id, first["run_id"], first["attempt_id"]) + assert supervisor.cancel(handle, reason="point_cancel") + assert supervisor.wait(handle, 5).data["process_started"] is False + retry = scan.retry(first["point_id"], expected_attempt_id=handle.attempt_id) + assert retry.attempt_id != handle.attempt_id + assert not supervisor.cancel(handle) # An old handle cannot cancel the new attempt. + assert scan.cancel(reason="study_cancel") + assert scan.wait(5)["state"] == "cancelled" + points = read_steady_sweep_jobs(store, jobs.spec) + assert all(p["state"] == "cancelled" and p["result"] is None for p in points) + assert [a["state"] for a in points[0]["attempts"]] == ["cancelled", "cancelled"] + assert points[0]["attempts"][0]["reason"] == "point_cancel" + assert points[0]["attempts"][1]["reason"] == "study_cancel" + assert len(terminals(store, first["run_id"])) == 2 + assert len(terminals(store, points[1]["run_id"])) == 1 + assert not scan.cancel(reason="duplicate") + with pytest.raises(StateConflict, match="cancelled scan"): + scan.retry(first["point_id"], expected_attempt_id=retry.attempt_id) + assert store.get_run(held.run_id)["state"] == "running" + assert supervisor.cancel(held) and supervisor.wait(held, 10).data["process_joined"] + + +@pytest.mark.parametrize("counter", ["accepted_steps", "calls"]) +def test_unsupported_counter_caps_refuse_before_preparing_any_job(sweep, implementation, monkeypatch, counter): + import solarlab.sweeps.steady_worker as adapter + def forbidden(*args, **kwargs): + raise AssertionError("unsupported counters reached point preparation") + monkeypatch.setattr(adapter, "prepare_steady_jv_job", forbidden) + with pytest.raises(ValueError, match="counter caps are unsupported"): + prepare_steady_sweep_jobs(sweep, PROTOCOL, limits=replace(LIMITS, **{counter: 1}), + implementation=implementation, current_repository_head=implementation.build_source_commit, + engine=ExecutionEngine("solarlab")) + + +def test_unsupported_ions_and_unresolved_points_refuse_without_native_work(sweep, implementation, monkeypatch): + import solarlab.device.compile_1d as compiler + def forbidden(*args, **kwargs): + raise AssertionError("invalid sweep reached native compilation") + monkeypatch.setattr(compiler, "compile_device_1d", forbidden) + raw = sweep.to_input().model_dump(mode="json", exclude_unset=True) + raw["base"]["layers"][1]["parameters"]["D_ion"] = 1e-15 + unsupported = prepare_sweep(SweepInput.model_validate(raw), sweep.defaults, sweep.resources, sources=sweep.sources) + with pytest.raises(ValueError, match="D_ion"): + prepare_steady_sweep_jobs(unsupported, PROTOCOL, limits=LIMITS, implementation=implementation, + current_repository_head=implementation.build_source_commit, engine=ExecutionEngine("solarlab")) + raw = sweep.to_input().model_dump(mode="json", exclude_unset=True) + raw["axes"][0]["coordinates"][0]["value"] = "-1 us" + unresolved = prepare_sweep(SweepInput.model_validate(raw), sweep.defaults, sweep.resources, sources=sweep.sources) + with pytest.raises(ValueError, match="unresolved sweep point"): + prepare_steady_sweep_jobs(unresolved, PROTOCOL, limits=LIMITS, implementation=implementation, + current_repository_head=implementation.build_source_commit, engine=ExecutionEngine("solarlab")) diff --git a/tests/runtime/test_supervisor_control_failure.py b/tests/runtime/test_supervisor_control_failure.py new file mode 100644 index 00000000..9d85edfe --- /dev/null +++ b/tests/runtime/test_supervisor_control_failure.py @@ -0,0 +1,948 @@ +"""Real process, store and SSE contracts for unavailable resource sampling.""" + +from contextlib import contextmanager +import json +import os +from pathlib import Path +import sqlite3 +import subprocess +import time + +import pytest + +import control_workers +import test_event_service as events +import test_execution as fixtures +import solarlab.experiments.execution as execution +import solarlab.experiments.worker as worker_module +from solarlab.experiments.worker import WorkerBinding +from solarlab.io.run_store import RunStore, StateConflict + + +# These are observation budgets for real spawn/fsync/reap work on busy runners, +# not changes to the supervisor's RSS, sampling or escalation limits. +WAIT_SECONDS = 30.0 + + +@contextmanager +def runtime(tmp_path, *, fatal=False): + binding = WorkerBinding.from_function("barrier", control_workers.barrier, + registry_sha256=fixtures.REGISTRY.sha256, schema_sha256=fixtures.SCHEMA.sha256) + with RunStore(tmp_path / "store") as store: + pool = execution.ProcessSupervisor(store, tmp_path / "work", (binding,), max_active=1, max_pending=3, + shared_rss_bytes=768 * 1024**2, shared_output_bytes=16 * 1024**2, + poll_seconds=0.01) + try: + yield store, pool + except BaseException as error: + # A setup/assertion failure may precede the intended fault. Keep its + # evidence instead of replacing it with a false DID NOT RAISE. + try: + pool.close(timeout=WAIT_SECONDS) + except BaseException as cleanup: + error.add_note(f"supervisor cleanup: {type(cleanup).__name__}: {cleanup}") + raise + else: + if fatal: + with pytest.raises(RuntimeError, match="supervisor failed"): + pool.close(timeout=WAIT_SECONDS) + else: + pool.close(timeout=WAIT_SECONDS) + + +def submit(pool, name): + return pool.submit(name, "barrier", fixtures.request(), fixtures.limits(wall_seconds=4 * WAIT_SECONDS)) + + +def ready(pool, handle): + directory = pool.work_root / (handle.store_id + "-" + handle.attempt_id) + deadline = time.monotonic() + WAIT_SECONDS + with pool._condition: + while True: + receipt = pool._done.get(handle.attempt_id) + if receipt is not None: + value = receipt.data + pytest.fail("owned child ended before the durable barrier: " + json.dumps({ + key: value.get(key) for key in ("store_state", "worker_result", "resources") + })) + path = directory / "ready.json" + if path.exists(): + assert json.loads(path.read_text())["pid"] == pool._known[handle.attempt_id].pid + return directory + remaining = deadline - time.monotonic() + assert remaining > 0, "owned child did not reach the durable barrier" + # The file is the child's fsynced acknowledgement, not coalescible + # progress; polling yields the lock to the real monitor each time. + pool._condition.wait(min(remaining, 0.01)) + + +def timeout_sample(*args, **kwargs): + raise subprocess.TimeoutExpired(["ps", "-axo", "pid=,ppid=,lstart=,rss="], 0.5) + + +def controlled_sample(pids, **kwargs): + """Known OS input for retry-policy tests; the supervisor and child stay real.""" + return {pid: {"pid": pid, "ppid": os.getppid() if pid == os.getpid() else os.getpid(), + "start_lstart": "Fri Oct 30 00:00:00 2026", "start_precision": "seconds", "rss_bytes": 1024} + for pid in pids} + + +def test_early_resource_stop_is_reported_without_masking_the_test_failure(tmp_path, monkeypatch): + original = execution._process_info + + def over_budget(pids, **kwargs): + information = original(pids, **kwargs) + information[pids[0]]["rss_bytes"] = 768 * 1024**2 + 1 + return information + + monkeypatch.setattr(execution, "_process_info", over_budget) + # The real resource stop precedes fault arming: preserve that diagnosis even + # in a fixture whose successful body would require fatal supervisor cleanup. + with pytest.raises(pytest.fail.Exception, match="shared_rss_limit"): + with runtime(tmp_path, fatal=True) as (store, pool): + ready(pool, submit(pool, "early-stop")) + with RunStore(tmp_path / "store", read_only=True) as store: + assert store.get_run("early-stop")["state"] == "failed" + assert len(fixtures.terminal_events(store, "early-stop")) == 1 + + +def failed(store, pool, handle, *, started=True): + receipt = pool.wait(handle, WAIT_SECONDS).data + assert receipt["store_state"] == store.get_run(handle.run_id)["state"] == "failed" + assert receipt["terminal_committed"] + assert receipt["worker_result"]["reason"] == "supervisor_control_failure" + assert receipt["process_started"] is started + terminal = fixtures.terminal_events(store, handle.run_id) + assert len(terminal) == 1 and terminal[0]["payload"]["state"] == "failed" + assert terminal[0]["payload"]["result"]["worker_result"]["reason"] == "supervisor_control_failure" + if started: + fixtures.assert_reaped(pool.wait(handle, 1)) + return receipt + + +def test_repeated_sampler_timeout_commits_one_terminal_and_ends_live_sse(tmp_path, monkeypatch): + with runtime(tmp_path, fatal=True) as (store, pool): + first = submit(pool, "running") + ready(pool, first) + queued = submit(pool, "queued") + with events._HTTPServer(store.root) as server, server.client() as client: + observer = server.observe("control-failure") + url = f"/runs/{first.run_id}/attempts/{first.attempt_id}/events" + with client.stream("GET", url, headers={"X-Test-Subscriber": "control-failure"}) as response: + assert observer.started.wait(WAIT_SECONDS) + blocks = events._blocks(response) + assert [events._next_event(blocks)["kind"] for _ in range(2)] == ["queued", "running"] + with pool._condition: + monkeypatch.setattr(execution, "_process_info", timeout_sample) + pool._condition.notify_all() + value = failed(store, pool, first) + failed(store, pool, queued, started=False) + assert store.attempts("queued")[0]["started_ns"] is None + assert value["worker_result"]["control_reason"] == "rss_measurement_unavailable" + assert value["resources"]["rss_observation"]["consecutive_missing_samples"] == 3 + streamed = [json.loads(block["data"]) for block in blocks if "data" in block] + terminal = [record for record in streamed if record["kind"] == "terminal"] + assert terminal == fixtures.terminal_events(store, "running") + assert observer.finished.wait(WAIT_SECONDS) + assert client.get(url, headers={"Last-Event-ID": str(terminal[0]["sequence"])}).status_code == 204 + + +@pytest.mark.parametrize("misses,native_miss", [ + pytest.param(1, None, id="1"), + pytest.param(2, None, id="2"), + pytest.param(1, "before-launch", id="native-before-launch"), + pytest.param(1, "after-launch", id="native-after-launch"), +]) +def test_bounded_missing_samples_retry_before_launch_and_recover(tmp_path, monkeypatch, misses, native_miss): + original_sample = execution._process_info + calls = [] + natural_misses = [] + launched_after = [] + original_start = execution.ProcessSupervisor._start + + def native_timeout(argv, **kwargs): + # Exercise the real _process_info exception path at its subprocess seam. + assert argv == ["ps", "-axo", "pid=,ppid=,lstart=,rss="] + assert kwargs["timeout"] == 0.5 + raise subprocess.TimeoutExpired(argv, kwargs["timeout"]) + + def sample(*args, **kwargs): + calls.append(True) + if len(calls) <= misses: + timeout_sample() + if (native_miss is not None and not natural_misses + and bool(launched_after) == (native_miss == "after-launch")): + try: + with monkeypatch.context() as fault: + fault.setattr(worker_module.subprocess, "run", native_timeout) + original_sample(*args, **kwargs) + except subprocess.TimeoutExpired: + natural_misses.append(len(calls)) + raise + pytest.fail("the real sampler did not propagate the forced native timeout") + # A real ps call here could add a third consecutive miss after the two + # scripted misses, legitimately exhausting the production retry bound. + return controlled_sample(*args, **kwargs) + + def start(pool, job): + launched_after.append(len(calls)) + return original_start(pool, job) + + monkeypatch.setattr(execution, "_process_info", sample) + monkeypatch.setattr(execution.ProcessSupervisor, "_start", start) + with runtime(tmp_path) as (store, pool): + handle = submit(pool, "recovers") + directory = ready(pool, handle) + with pool._condition: + assert len(launched_after) == 1 + before_launch = sum(call < launched_after[0] for call in natural_misses) + assert launched_after == [misses + before_launch + 1] + (directory / "release").touch() + value = fixtures.assert_reaped(pool.wait(handle, WAIT_SECONDS)) + assert value["store_state"] == "succeeded" and value["signals"] == [] + observation = pool.accounting()["rss_observation"] + assert len(natural_misses) == int(native_miss is not None) # Exactly zero or one; never unbounded. + if natural_misses: + assert (natural_misses[0] < launched_after[0]) == (native_miss == "before-launch") + assert observation["missing_samples_total"] == misses + len(natural_misses) + assert observation["consecutive_missing_samples"] == 0 + assert observation["missing_since_monotonic"] is None + assert len(fixtures.terminal_events(store, handle.run_id)) == 1 + (tmp_path / "SamplerAccounting.json").write_text(json.dumps({ + "injected_misses": misses, "native_timeout_phase": native_miss, + "native_timeout_calls": natural_misses, "launch_calls": launched_after, + "missing_samples_total": observation["missing_samples_total"], + }, indent=2)) + + +@pytest.mark.parametrize("kind", ["empty", "unavailable", "failed-command"]) +def test_impossible_measurement_fails_closed_without_launch(tmp_path, monkeypatch, kind): + calls = [] + + def missing(*args, **kwargs): + calls.append(True) + if kind == "unavailable": + raise FileNotFoundError("no resource sampler") + if kind == "failed-command": + raise subprocess.CalledProcessError(1, ["ps"]) + return {} + + monkeypatch.setattr(execution, "_process_info", missing) + with runtime(tmp_path, fatal=True) as (store, pool): + handle = submit(pool, "no-measurement") + value = failed(store, pool, handle, started=False) + assert len(calls) == 3 + assert value["resources"]["child_peak_rss_bytes"] is None + assert store.attempts(handle.run_id)[0]["started_ns"] is None + assert not list(pool.work_root.glob("*/started.json")) + assert pool.accounting()["known_family_rss_last_observed_bytes"] is None + + +@pytest.mark.parametrize("late_success", [False, True]) +def test_elapsed_measurement_bound_cannot_be_reset_by_a_late_sample(tmp_path, monkeypatch, late_success): + with runtime(tmp_path, fatal=True) as (store, pool): + handle = submit(pool, "gap") + ready(pool, handle) + + def late(*args, **kwargs): + pool._rss_missing_since = time.monotonic() - execution._RSS_MAX_GAP_SECONDS - 0.01 + # This branch must deliver a late success, not an incidental ps timeout. + return controlled_sample(*args, **kwargs) + + with pool._condition: + if late_success: + monkeypatch.setattr(execution, "_process_info", late) + else: + pool._rss_missing_since = time.monotonic() - execution._RSS_MAX_GAP_SECONDS - 0.01 + pool._condition.notify_all() + value = failed(store, pool, handle) + assert value["worker_result"]["control_reason"] == "rss_measurement_unavailable" + assert "interval" in value["worker_result"]["detail"] + + +@pytest.mark.parametrize("point", ["before-claim", "after-claim", "after-spawn", "progress", "resource", "finalize"]) +def test_unexpected_control_paths_terminalize_active_and_pending_attempts(tmp_path, monkeypatch, point): + def broken(*args, **kwargs): + raise RuntimeError("injected " + point) + + with runtime(tmp_path, fatal=True) as (store, pool): + with pool._condition: + if point == "before-claim": + monkeypatch.setattr(pool, "_start", broken) + elif point == "after-claim": + monkeypatch.setattr(pool._context, "Event", broken) + elif point == "after-spawn": + original = execution._atomic_json + + def audit(path, value): + if path.name == "spawned.json": + broken() + return original(path, value) + + monkeypatch.setattr(execution, "_atomic_json", audit) + first = submit(pool, "first") + second = submit(pool, "second") + started = point not in {"before-claim", "after-claim"} + if point in {"progress", "resource", "finalize"}: + directory = ready(pool, first) + method = {"progress": "_progress", "resource": "_resource_reason", "finalize": "_output_guard"}[point] + with pool._condition: + monkeypatch.setattr(pool, method, broken) + if point == "finalize": + (directory / "release").touch() + pool._condition.notify_all() + failed(store, pool, first, started=started) + failed(store, pool, second, started=False) + assert len(store.attempts("first")) == len(store.attempts("second")) == 1 + + +def test_broken_original_writer_uses_fenced_fresh_connection(tmp_path, monkeypatch): + with runtime(tmp_path, fatal=True) as (store, pool): + handle = submit(pool, "writer") + directory = ready(pool, handle) + + def broken(*args, **kwargs): + raise sqlite3.OperationalError("original writer connection failed") + + with pool._condition: + monkeypatch.setattr(store, "complete", broken) + (directory / "release").touch() + pool._condition.notify_all() + failed(store, pool, handle) + with RunStore(store.root, read_only=True) as reopened: + assert reopened.get_run(handle.run_id)["state"] == "failed" + assert len(fixtures.terminal_events(reopened, handle.run_id)) == 1 + + +def test_failure_audit_errors_do_not_block_store_terminal(tmp_path, monkeypatch): + with runtime(tmp_path, fatal=True) as (store, pool): + handle = submit(pool, "audit") + directory = ready(pool, handle) + + def broken(*args, **kwargs): + raise OSError("audit filesystem unavailable") + + monkeypatch.setattr(execution, "_atomic_json", broken) + with pytest.raises(RuntimeError, match="during cancellation"): + pool.cancel(handle) + failed(store, pool, handle) + assert not (directory / "receipt.json").exists() + assert pool.accounting()["control_cleanup_errors"] + + +def test_receipt_stat_failure_cannot_strand_other_admitted_runs(tmp_path, monkeypatch): + original = Path.exists + + def denied(path, *args, **kwargs): + if path.name == "receipt.json": + raise PermissionError("receipt directory cannot be inspected") + return original(path, *args, **kwargs) + + with runtime(tmp_path, fatal=True) as (store, pool): + first = submit(pool, "first") + ready(pool, first) + queued = submit(pool, "queued") + with pool._condition: + monkeypatch.setattr(Path, "exists", denied) + monkeypatch.setattr(execution, "_process_info", timeout_sample) + pool._condition.notify_all() + failed(store, pool, first) + failed(store, pool, queued, started=False) + assert any("receipt.json: PermissionError" in error for error in pool.accounting()["control_cleanup_errors"]) + + +def test_post_commit_failure_preserves_terminal_and_saved_receipt_bytes(tmp_path, monkeypatch): + original = execution._atomic_json + captured = {} + + def audit(path, value): + original(path, value) + if path.name == "receipt.json" and value["store_state"] == "succeeded": + captured["receipt"] = path.read_bytes() + captured["exit"] = (path.parent / "exit.json").read_bytes() + raise RuntimeError("after successful terminal and receipt publication") + + with runtime(tmp_path, fatal=True) as (store, pool): + handle = submit(pool, "completed") + directory = ready(pool, handle) + with pool._condition: + monkeypatch.setattr(execution, "_atomic_json", audit) + (directory / "release").touch() + pool._condition.notify_all() + result = pool.wait(handle, WAIT_SECONDS).data + assert result["store_state"] == store.get_run(handle.run_id)["state"] == "succeeded" + assert store.attempts(handle.run_id)[0]["result"]["worker_result"] == {"ok": True} + assert len(fixtures.terminal_events(store, handle.run_id)) == 1 + assert (directory / "receipt.json").read_bytes() == captured["receipt"] + assert (directory / "exit.json").read_bytes() == captured["exit"] + + +def test_control_failure_does_not_replace_cancelled_or_newer_attempt(tmp_path, monkeypatch): + with runtime(tmp_path, fatal=True) as (store, pool): + first = submit(pool, "retry") + ready(pool, first) + with pool._condition: + current = store.get_run("retry") + store.cancel("retry", expected_attempt_id=first.attempt_id, + expected_generation=current["generation"], reason="external cancel") + following = store.retry("retry", expected_attempt_id=first.attempt_id, + expected_generation=current["generation"]) + monkeypatch.setattr(execution, "_process_info", timeout_sample) + pool._condition.notify_all() + result = fixtures.assert_reaped(pool.wait(first, WAIT_SECONDS)) + assert result["store_state"] == "cancelled" + assert store.get_run("retry") == following + assert len(fixtures.terminal_events(store, "retry")) == 1 + + +def test_fail_queued_is_idempotent_and_cannot_bypass_claimed_owner(tmp_path): + with RunStore(tmp_path / "store") as store: + queued = store.enqueue("queued", opaque_identity=events.IDENTITY, input_metadata={}) + result = {"reason": "supervisor_control_failure"} + args = {"expected_attempt_id": queued["current_attempt_id"], "expected_generation": queued["generation"]} + sequence = store.fail_queued("queued", result=result, **args) + assert store.fail_queued("queued", result=result, **args) == sequence + assert store.attempts("queued")[0]["started_ns"] is None + assert len(fixtures.terminal_events(store, "queued")) == 1 + another = store.retry("queued", **args) + token = store.claim("queued", expected_attempt_id=another["current_attempt_id"], + expected_generation=another["generation"], owner_id="another-owner") + with pytest.raises(StateConflict): + store.fail_queued("queued", expected_attempt_id=token.attempt_id, + expected_generation=token.generation, result=result) + with pytest.raises(StateConflict): + store.fail_queued("queued", result=result, **args) + assert store.get_run("queued")["state"] == "running" + + +def test_reconciliation_measurement_failure_still_fences_prior_run_without_releasing_slot(tmp_path, monkeypatch): + with RunStore(tmp_path / "store") as store: + work = tmp_path / "work" + token = fixtures.make_uncertain_intent(store, work, reused=False) + monkeypatch.setattr(execution, "_process_info", timeout_sample) + with fixtures.supervisor(store, work, max_active=2) as pool: + recovery = pool.reconcile_interrupted() + assert recovery["invalidated_owned_attempts"] == [token.attempt_id] + assert recovery["released_owned_reservations"] == [] + assert not recovery["unowned_processes_signalled"] + assert recovery["unresolved_owned_slots"][0]["method"] == "unowned_pid_measurement_unavailable" + assert store.get_run(token.run_id)["state"] == "failed" + assert len(fixtures.terminal_events(store, token.run_id)) == 1 + assert pool.accounting()["unresolved_owned_slots"] == 1 + + +def test_ps_failure_rejects_partial_family_rows_and_keeps_the_half_second_cap(monkeypatch): + observed = [] + + def failed_query(argv, **kwargs): + observed.append((argv, kwargs)) + return subprocess.CompletedProcess(argv, 1, "1 0 Fri Oct 30 00:00:00 2026 10\n", "partial result") + + monkeypatch.setattr(worker_module.subprocess, "run", failed_query) + with pytest.raises(subprocess.CalledProcessError): + worker_module._process_info([1], include_descendants=True) + assert observed[0][1]["timeout"] == 0.5 + + +def test_recovered_sample_still_enforces_the_unchanged_shared_rss_budget(tmp_path, monkeypatch): + with runtime(tmp_path) as (store, pool): + handle = submit(pool, "rss-limit") + ready(pool, handle) + count = 0 + + def sample(pids, **kwargs): + nonlocal count + count += 1 + if count <= 2: + timeout_sample() + found = controlled_sample(pids, **kwargs) + found[pids[0]]["rss_bytes"] = 768 * 1024**2 + 1 + return found + + with pool._condition: + # Start the scripted burst from a successful sample, so a setup + # miss cannot consume its retry allowance before the fault is armed. + monkeypatch.setattr(execution, "_process_info", controlled_sample) + pool._sample() + monkeypatch.setattr(execution, "_process_info", sample) + pool._condition.notify_all() + receipt = fixtures.assert_reaped(pool.wait(handle, WAIT_SECONDS)) + assert receipt["store_state"] == "failed" + assert receipt["worker_result"]["reason"] == "shared_rss_limit" + assert len(fixtures.terminal_events(store, handle.run_id)) == 1 + + +@pytest.mark.parametrize("error_type", [RuntimeError, OSError, StateConflict]) +def test_claim_commit_followed_by_exception_fails_the_exact_owned_generation(tmp_path, monkeypatch, error_type): + with runtime(tmp_path, fatal=True) as (store, pool): + claim = store.claim + + def broken(*args, **kwargs): + claim(*args, **kwargs) + raise error_type("claim returned no token after its transaction committed") + + monkeypatch.setattr(store, "claim", broken) + handle = submit(pool, "claimed") + receipt = failed(store, pool, handle, started=False) + assert receipt["token"]["generation"] == store.attempts(handle.run_id)[0]["generation"] == 1 + assert receipt["token"]["owner_id"] == pool.owner_id + + +def test_unwritable_store_retains_failure_intents_and_blocks_replay_until_reconciled(tmp_path, monkeypatch): + with runtime(tmp_path, fatal=True) as (store, pool): + first = submit(pool, "running") + ready(pool, first) + queued = submit(pool, "queued") + + def unavailable(*args, **kwargs): + raise sqlite3.OperationalError("storage remains unavailable on both writer connections") + + with monkeypatch.context() as faults: + with pool._condition: + faults.setattr(RunStore, "complete", unavailable) + faults.setattr(RunStore, "fail_queued", unavailable) + faults.setattr(execution, "_process_info", timeout_sample) + pool._condition.notify_all() + one = pool.wait(first, WAIT_SECONDS).data + two = pool.wait(queued, WAIT_SECONDS).data + assert one["process_joined"] and not two["process_started"] + assert not one["terminal_committed"] and not two["terminal_committed"] + assert "storage remains unavailable" in one["commit_error"] + assert pool.accounting()["uncommitted_control_failures"] == 2 + with runtime(tmp_path) as (store, recovered): + assert recovered.accounting()["uncommitted_control_failures"] == 2 + with pytest.raises(RuntimeError, match="explicit reconciliation"): + submit(recovered, "queued") + outcome = recovered.reconcile_interrupted() + assert set(outcome["invalidated_owned_attempts"]) == {first.attempt_id, queued.attempt_id} + assert outcome["released_owned_reservations"] == [first.attempt_id] + for handle in (first, queued): + assert store.get_run(handle.run_id)["state"] == "failed" + terminal = fixtures.terminal_events(store, handle.run_id) + assert len(terminal) == 1 + assert terminal[0]["payload"]["result"]["worker_result"]["reason"] == "supervisor_control_failure" + assert recovered.accounting()["uncommitted_control_failures"] == 0 + assert recovered.reconcile_interrupted()["invalidated_owned_attempts"] == [] + + +def test_terminal_failure_does_not_release_an_unobserved_native_exit_on_reopen(tmp_path, monkeypatch): + with runtime(tmp_path, fatal=True) as (store, pool): + handle = submit(pool, "unreaped") + ready(pool, handle) + process = pool._active[handle.attempt_id].process + try: + with monkeypatch.context() as faults: + with pool._condition: + faults.setattr(process, "kill", lambda: None) + faults.setattr(process, "join", lambda timeout=None: None) + faults.setattr(execution, "_process_info", timeout_sample) + pool._condition.notify_all() + receipt = pool.wait(handle, WAIT_SECONDS).data + assert receipt["store_state"] == "failed" and receipt["terminal_committed"] + assert not receipt["process_joined"] and not receipt["process_exit_observed"] + assert process.is_alive() and pool.accounting()["active"] == 1 + finally: + if process.is_alive(): + process.kill() + process.join(timeout=WAIT_SECONDS) + with runtime(tmp_path) as (store, recovered): + assert recovered.accounting()["unresolved_owned_slots"] == 1 + outcome = recovered.reconcile_interrupted() + assert outcome["released_owned_reservations"] == [handle.attempt_id] + assert len(fixtures.terminal_events(store, handle.run_id)) == 1 + + +@pytest.mark.parametrize("resource", ["rss", "output"]) +def test_measured_shared_limit_before_launch_fails_queue_instead_of_stranding_it(tmp_path, monkeypatch, resource): + with runtime(tmp_path) as (store, pool): + original = execution._process_info + + def sample(pids, **kwargs): + information = original(pids, **kwargs) + information[pids[0]]["rss_bytes"] = pool._rss_cap + 1 + return information + + with pool._condition: + if resource == "rss": + monkeypatch.setattr(execution, "_process_info", sample) + else: + pool._shared_output_peak = pool._output_cap + 1 + handle = submit(pool, "no-capacity") + value = pool.wait(handle, WAIT_SECONDS).data + assert value["store_state"] == "failed" and not value["process_started"] + assert value["worker_result"]["reason"] == f"shared_{resource}_limit" + assert store.attempts(handle.run_id)[0]["started_ns"] is None + assert len(fixtures.terminal_events(store, handle.run_id)) == 1 + + +def test_emergency_writer_is_bound_to_the_original_store(tmp_path): + with runtime(tmp_path) as (store, pool), RunStore(tmp_path / "foreign") as foreign: + handle = submit(pool, "owned") + directory = ready(pool, handle) + with pytest.raises(StateConflict, match="different store"): + pool._failure_commit(foreign, pool._known[handle.attempt_id], {}) + assert foreign.events() == [] + (directory / "release").touch() + assert pool.wait(handle, WAIT_SECONDS).data["store_state"] == "succeeded" + + +def retain_control_outage(tmp_path, monkeypatch, *, denied_intent=False, outage_partials=False): + """Science's two-writer outage: one reaped child and one admitted queue row.""" + with runtime(tmp_path, fatal=True) as (store, pool): + active = submit(pool, "active") + ready(pool, active) + queued = submit(pool, "queued") + atomic = execution._atomic_json + + def unavailable(*args, **kwargs): + raise sqlite3.OperationalError("both control-failure writers are unavailable") + + def audit(path, value): + if denied_intent and path.name == "control-failure.json": + raise PermissionError("control intent publication denied") + if outage_partials and path.name == "receipt.json": + path.with_suffix(".json.part").write_bytes(b'{"interrupted":') + return atomic(path, value) + + with monkeypatch.context() as fault: + # Publish the complete outage before the next sampler call can + # trigger cleanup; no monitor can see a partially armed fault. + with pool._condition: + fault.setattr(RunStore, "complete", unavailable) + fault.setattr(RunStore, "fail_queued", unavailable) + fault.setattr(execution, "_atomic_json", audit) + fault.setattr(execution, "_process_info", timeout_sample) + pool._condition.notify_all() + receipts = [pool.wait(handle, WAIT_SECONDS).data for handle in (active, queued)] + assert not any(receipt["terminal_committed"] for receipt in receipts) + assert receipts[0]["process_joined"] and not receipts[1]["process_started"] + assert pool.accounting()["uncommitted_control_failures"] == 2 + assert len(list(pool.work_root.glob("*/receipt.json"))) == 2 + if denied_intent: + assert not list(pool.work_root.glob("*/control-failure.json")) + return active, queued + + +@pytest.mark.parametrize("denied_intent", [False, True]) +@pytest.mark.parametrize("stale_partial", [False, True]) +def test_recovery_isolates_audits_and_discovers_fallback_receipts( + tmp_path, monkeypatch, denied_intent, stale_partial): + """RTC-B1/B2, including their combined fault and an unchanged positive control.""" + handles = retain_control_outage(tmp_path, monkeypatch, denied_intent=denied_intent) + with runtime(tmp_path) as (store, pool): + assert pool.accounting()["uncommitted_control_failures"] == 2 + with pytest.raises(RuntimeError, match="explicit reconciliation"): + submit(pool, "queued") + with pytest.raises(RuntimeError, match="explicit reconciliation"): + pool.wait(handles[1], 1) + entry = next(iter(pool._control_recovery.values())) + partial = entry["directory"] / "receipt.json.part" + if stale_partial: + partial.write_bytes(b'{"interrupted":') + for _ in range(2): + pool.reconcile_interrupted() + for handle in handles: + failed(store, pool, handle, started=handle == handles[0]) + assert len(store.attempts(handle.run_id)) == 1 + if stale_partial: + assert partial.read_bytes() == b'{"interrupted":' + assert any("FileExistsError" in error for error in + pool.accounting()["control_audit_errors"][partial.parent.name[len(store.store_id) + 1:]]) + assert pool.accounting()["uncommitted_control_failures"] == 0 + duplicate = submit(pool, "queued") + assert duplicate == handles[1] + assert pool.wait(duplicate, 1).data["terminal_committed"] + assert len(list(pool.work_root.glob("*/started.json"))) == 1 + with runtime(tmp_path) as (store, pool): + assert pool.reconcile_interrupted()["invalidated_owned_attempts"] == [] + for handle in handles: + failed(store, pool, handle, started=handle == handles[0]) + + +@pytest.mark.parametrize("fault_kind", ["write", "stat", "fsync", "replace"]) +def test_recovery_publication_failures_are_per_attempt_and_retryable(tmp_path, monkeypatch, fault_kind): + handles = retain_control_outage(tmp_path, monkeypatch) + with runtime(tmp_path) as (store, pool): + attempt_id, entry = next(iter(pool._control_recovery.items())) + directory = entry["directory"] + receipt_path = directory / "receipt.json" + atomic, exists, fsync, replace = execution._atomic_json, Path.exists, os.fsync, os.replace + directory_inode = directory.stat().st_ino + + def write(path, value): + if path == receipt_path: + raise PermissionError("recovery receipt write denied") + return atomic(path, value) + + def stat(path): + if path == receipt_path: + raise PermissionError("recovery receipt stat denied") + return exists(path) + + def sync(fd): + if os.fstat(fd).st_ino == directory_inode: + raise OSError("recovery directory fsync failed") + return fsync(fd) + + def publish(source, target): + if Path(target) == receipt_path: + raise OSError("recovery receipt rename failed") + return replace(source, target) + + with monkeypatch.context() as fault: + target, attribute, replacement = { + "write": (execution, "_atomic_json", write), + "stat": (Path, "exists", stat), + "fsync": (os, "fsync", sync), + "replace": (os, "replace", publish), + }[fault_kind] + fault.setattr(target, attribute, replacement) + for _ in range(2): + outcome = pool.reconcile_interrupted() + assert outcome["uncommitted_control_failures"] == [] + assert outcome["pending_control_audits"] == [attempt_id] + for handle in handles: + failed(store, pool, handle, started=handle == handles[0]) + assert pool.accounting()["control_audit_errors"][attempt_id] + partial = receipt_path.with_suffix(".json.part") + partial_bytes = partial.read_bytes() if partial.exists() else None + outcome = pool.reconcile_interrupted() + assert outcome["invalidated_owned_attempts"] == [] + assert outcome["pending_control_audits"] == [] + if partial_bytes is not None: + assert partial.read_bytes() == partial_bytes + with runtime(tmp_path) as (store, pool): + assert pool.reconcile_interrupted()["invalidated_owned_attempts"] == [] + assert pool.accounting()["uncommitted_control_failures"] == 0 + for handle in handles: + failed(store, pool, handle, started=handle == handles[0]) + + +@pytest.mark.parametrize("evidence", ["v1_receipts", "receipt_part", "intent_part", "recovery_stage", "exit_only"]) +def test_reopen_discovers_bound_fallback_and_partial_control_evidence(tmp_path, monkeypatch, evidence): + handles = retain_control_outage(tmp_path, monkeypatch, denied_intent=evidence != "intent_part") + expected_resources = {} + for handle in handles: + directory = tmp_path / "work" / (handle.store_id + "-" + handle.attempt_id) + path = directory / "receipt.json" + receipt = json.loads(path.read_text()) + expected_resources[handle.attempt_id] = receipt["resources"] + if evidence == "v1_receipts": + del receipt["control_intent"] + path.write_text(json.dumps(receipt)) + elif evidence in {"receipt_part", "recovery_stage"}: + path.rename(directory / ("receipt.json.part" if evidence == "receipt_part" + else "receipt.json.recovery-crash.part")) + elif evidence == "intent_part": + (directory / "control-failure.json").rename(directory / "control-failure.json.part") + path.rename(directory / "receipt.fixture-hidden") + elif handle == handles[0]: + path.rename(directory / "receipt.fixture-hidden") + with runtime(tmp_path) as (store, pool): + assert pool.accounting()["uncommitted_control_failures"] == 2 + assert not pool._done + pool.reconcile_interrupted() + for handle in handles: + receipt = failed(store, pool, handle, started=handle == handles[0]) + if evidence == "exit_only" and handle == handles[0]: + assert all(value is None for value in receipt["resources"].values()) + assert pool.accounting()["counter_totals"] == {"accepted_steps": None, "calls": None} + else: + assert receipt["resources"] == expected_resources[handle.attempt_id] + assert pool.accounting()["uncommitted_control_failures"] == 0 + + +def test_unresolved_control_failure_is_not_relabelled_by_interrupted_recovery(tmp_path, monkeypatch): + handles = retain_control_outage(tmp_path, monkeypatch, denied_intent=True) + complete = RunStore.complete + + def unavailable(store, token, *, state, result): + if result.get("worker_result", {}).get("reason") == "supervisor_control_failure": + raise sqlite3.OperationalError("control terminal remains unavailable") + return complete(store, token, state=state, result=result) + + with runtime(tmp_path) as (store, pool): + with monkeypatch.context() as fault: + fault.setattr(RunStore, "complete", unavailable) + outcome = pool.reconcile_interrupted() + assert outcome["invalidated_owned_attempts"] == [handles[1].attempt_id] + assert outcome["uncommitted_control_failures"] == [handles[0].attempt_id] + assert store.get_run("active")["state"] == "running" + assert fixtures.terminal_events(store, "active") == [] + assert pool.accounting()["unresolved_owned_slots"] == 1 + failed(store, pool, handles[1], started=False) + pool.reconcile_interrupted() + failed(store, pool, handles[0]) + + +def test_recovery_audit_does_not_release_an_uncertain_native_slot(tmp_path, monkeypatch): + active, queued = retain_control_outage(tmp_path, monkeypatch) + with runtime(tmp_path) as (store, pool): + directory = pool._recovery[active.attempt_id]["directory"] + partial = directory / "reconciled.json.part" + partial.write_bytes(b'{"exit":') + atomic = execution._atomic_json + + def denied(path, value): + if path.name.startswith("reconciled.json"): + raise PermissionError("exit audit temporarily unavailable") + return atomic(path, value) + + with monkeypatch.context() as fault: + fault.setattr(execution, "_atomic_json", denied) + result = pool.reconcile_interrupted() + assert result["released_owned_reservations"] == [] + assert pool.accounting()["unresolved_owned_slots"] == 1 + failed(store, pool, active) + failed(store, pool, queued, started=False) + assert pool.reconcile_interrupted()["released_owned_reservations"] == [active.attempt_id] + assert partial.read_bytes() == b'{"exit":' + assert pool.reconcile_interrupted()["released_owned_reservations"] == [] + + +@pytest.mark.parametrize("change", ["success", "retry", "foreign_claim"]) +def test_recovery_preserves_existing_terminals_and_cannot_take_foreign_authority(tmp_path, monkeypatch, change): + active, queued = retain_control_outage(tmp_path, monkeypatch) + with RunStore(tmp_path / "store") as store: + if change == "foreign_claim": + current = store.get_run("queued") + store.claim("queued", expected_attempt_id=queued.attempt_id, + expected_generation=current["generation"], owner_id="different-supervisor") + elif change == "retry": + current = store.get_run("active") + store.cancel("active", expected_attempt_id=active.attempt_id, + expected_generation=current["generation"], reason="external terminal") + store.retry("active", expected_attempt_id=active.attempt_id, expected_generation=current["generation"]) + else: + path = tmp_path / "work" / (active.store_id + "-" + active.attempt_id) / "control-failure.json" + token = execution.AttemptToken(**json.loads(path.read_text())["token"]) + store.complete(token, state="succeeded", result={"external": "already committed"}) + preserved = store.get_run("queued" if change == "foreign_claim" else "active") + history = fixtures.terminal_events(store, "active") + with runtime(tmp_path) as (store, pool): + for _ in range(2): + pool.reconcile_interrupted() + assert store.get_run(preserved["run_id"]) == preserved + if change == "foreign_claim": + failed(store, pool, active) + assert fixtures.terminal_events(store, "queued") == [] + assert pool.accounting()["administrative_fencing_required"] == [queued.attempt_id] + with pytest.raises(RuntimeError, match="explicit reconciliation"): + submit(pool, "queued") + with pytest.raises(RuntimeError, match="explicit reconciliation"): + pool.wait(queued, 1) + else: + assert fixtures.terminal_events(store, "active") == history + failed(store, pool, queued, started=False) + assert pool.wait(active, 1).data["store_state"] == ("succeeded" if change == "success" else "cancelled") + + +def test_no_durable_channel_reports_memory_only_recovery(tmp_path, monkeypatch): + with runtime(tmp_path, fatal=True) as (store, pool): + active = submit(pool, "active") + ready(pool, active) + queued = submit(pool, "queued") + + def denied(*args, **kwargs): + raise OSError("no durable writer available") + + with monkeypatch.context() as fault: + with pool._condition: + fault.setattr(RunStore, "complete", denied) + fault.setattr(RunStore, "fail_queued", denied) + fault.setattr(execution, "_atomic_json", denied) + fault.setattr(execution, "_process_info", timeout_sample) + pool._condition.notify_all() + for handle in (active, queued): + receipt = pool.wait(handle, WAIT_SECONDS).data + assert not receipt["terminal_committed"] + assert receipt["control_recovery_retention"] == { + "confirmed_records": [], "memory_only": True, "administrative_fencing_required": True} + assert set(pool.accounting()["administrative_fencing_required"]) == {active.attempt_id, queued.attempt_id} + pool.reconcile_interrupted() # The live owner can still use its in-memory fenced intent. + failed(store, pool, active) + failed(store, pool, queued, started=False) + + +def test_constructor_census_error_releases_the_work_area_lock(tmp_path, monkeypatch): + census = execution._directory_bytes + calls = 0 + + def denied(path): + nonlocal calls + calls += 1 + if calls == 1: + raise PermissionError("initial directory census denied") + return census(path) + + with monkeypatch.context() as fault: + fault.setattr(execution, "_directory_bytes", denied) + with pytest.raises(PermissionError, match="census denied"), runtime(tmp_path): + pass + with runtime(tmp_path) as (store, pool): + handle = submit(pool, "reopened") + (ready(pool, handle) / "release").touch() + assert pool.wait(handle, WAIT_SECONDS).data["store_state"] == "succeeded" + + +@pytest.mark.parametrize("denied_intent", [False, True]) +def test_outage_retains_fallback_receipts_despite_existing_partial_writes(tmp_path, monkeypatch, denied_intent): + handles = retain_control_outage(tmp_path, monkeypatch, denied_intent=denied_intent, outage_partials=True) + with runtime(tmp_path) as (store, pool): + assert pool.accounting()["uncommitted_control_failures"] == 2 + pool.reconcile_interrupted() + for handle in handles: + failed(store, pool, handle, started=handle == handles[0]) + directory = pool.work_root / (handle.store_id + "-" + handle.attempt_id) + assert (directory / "receipt.json.part").read_bytes() == b'{"interrupted":' + + +def test_recovered_control_failures_finish_both_live_sse_streams(tmp_path, monkeypatch): + active, queued = retain_control_outage(tmp_path, monkeypatch, denied_intent=True) + with runtime(tmp_path) as (store, pool), events._HTTPServer(store.root) as server: + entry = next(iter(pool._control_recovery.values())) + (entry["directory"] / "receipt.json.part").write_bytes(b'{"interrupted":') + active_observer, queued_observer = server.observe("active-recovery"), server.observe("queued-recovery") + active_url = f"/runs/{active.run_id}/attempts/{active.attempt_id}/events" + queued_url = f"/runs/{queued.run_id}/attempts/{queued.attempt_id}/events" + with server.client() as first, server.client() as second: + with first.stream("GET", active_url, headers={"X-Test-Subscriber": "active-recovery"}) as active_response: + with second.stream("GET", queued_url, headers={"X-Test-Subscriber": "queued-recovery"}) as queued_response: + assert active_observer.started.wait(WAIT_SECONDS) and queued_observer.started.wait(WAIT_SECONDS) + active_blocks, queued_blocks = events._blocks(active_response), events._blocks(queued_response) + assert [events._next_event(active_blocks)["kind"] for _ in range(2)] == ["queued", "running"] + assert events._next_event(queued_blocks)["kind"] == "queued" + pool.reconcile_interrupted() + for handle, blocks, observer in ((active, active_blocks, active_observer), + (queued, queued_blocks, queued_observer)): + records = [json.loads(block["data"]) for block in blocks if "data" in block] + assert [record for record in records if record["kind"] == "terminal"] == fixtures.terminal_events(store, handle.run_id) + assert observer.finished.wait(WAIT_SECONDS) + for handle, url in ((active, active_url), (queued, queued_url)): + sequence = fixtures.terminal_events(store, handle.run_id)[0]["sequence"] + assert first.get(url, headers={"Last-Event-ID": str(sequence)}).status_code == 204 + assert pool.reconcile_interrupted()["invalidated_owned_attempts"] == [] + + +def test_reopen_refreshes_committed_store_truth_even_when_the_receipt_write_failed(tmp_path, monkeypatch): + handles = retain_control_outage(tmp_path, monkeypatch) + atomic = execution._atomic_json + + def denied(path, value): + if path.name == "receipt.json": + raise PermissionError("terminal receipt publication denied") + return atomic(path, value) + + with runtime(tmp_path) as (store, pool), monkeypatch.context() as fault: + fault.setattr(execution, "_atomic_json", denied) + pool.reconcile_interrupted() + assert pool.accounting()["uncommitted_control_failures"] == 0 + assert pool.accounting()["pending_control_audits"] == 2 + with runtime(tmp_path) as (store, pool): + assert pool.accounting()["uncommitted_control_failures"] == 0 + assert pool.accounting()["pending_control_audits"] == 2 + assert submit(pool, "queued") == handles[1] + for handle in handles: + failed(store, pool, handle, started=handle == handles[0]) + assert pool.reconcile_interrupted()["invalidated_owned_attempts"] == [] + assert pool.accounting()["pending_control_audits"] == 0 diff --git a/tests/runtime/test_sweep_configuration_preview.py b/tests/runtime/test_sweep_configuration_preview.py new file mode 100644 index 00000000..89cb2c7f --- /dev/null +++ b/tests/runtime/test_sweep_configuration_preview.py @@ -0,0 +1,108 @@ +"""Real trusted sweep service and coordinate-specific error/preview transport.""" +from copy import deepcopy +import json +from urllib.error import HTTPError +from urllib.request import Request, urlopen + +from fastapi.testclient import TestClient +import pytest + +from solarlab.materials.source import SourceDocument +from solarlab.sweeps.inputs import SweepInput +from solarlab.sweeps.preparation import prepare_sweep +from solarlab.sweeps.scaps import scaps_sweeps +from solarlab_server.app import create_app +from solarlab_server.configuration import ConfigurationPreviewContext +from test_configuration_preview import ROOT, case, words +from test_configuration_preview import resources as resources, writer as writer, forbid_legacy_model_imports as forbid_legacy_model_imports +from test_jv_configuration_preview import catalog as catalog +from test_spatial_configuration_preview import headers +from test_event_service import _HTTPServer + + +@pytest.fixture(scope="module") +def fixtures(catalog, resources): + device, sources = case("scaps", catalog) + declarations, refs = scaps_sweeps(device, + SourceDocument("P00.manifest", (ROOT / "reproducibility/RefactorReferenceManifestV1.json").read_bytes()), + SourceDocument("P00.contract", (ROOT / "reproducibility/ScapsComparisonContractV1.json").read_bytes()), + interface_density_interpretation="historical_areal_input") + context = ConfigurationPreviewContext(catalog, resources, sources, sweep_references=refs) + return {item.id: item.model_dump(mode="json", exclude_unset=True) for item in declarations}, context + + +def test_point_input_content_and_reference_status_match_the_actual_resolver(fixtures, writer): + values, context = fixtures + raw = deepcopy(values["scaps_nt_cbo"]) + raw["axes"][0]["coordinates"] = raw["axes"][0]["coordinates"][-1:] + raw["axes"][1]["coordinates"] = raw["axes"][1]["coordinates"][-2:] + before = writer.get_run("untouched"), writer.events() + with TestClient(create_app(writer.root, configuration_preview=context)) as http: + result = http.post("/configuration-preview/sweep", json=raw, headers=headers()) + assert result.status_code == 200, result.text + body = result.json() + expected = prepare_sweep(SweepInput.model_validate(raw), context.defaults, context.resources, sources=context.sources, references=context.sweep_references) + assert words(body["input"]) == words(expected.to_input().editing_data()) + assert words(body["resolved"]) == words(expected.to_mapping()) + assert body["identity"]["content_sha256"] == expected.content_sha256 + assert body["kind"] == "sweep" and body["can_execute"] is False + assert body["resolved"]["reference_scope"]["interpretation"]["interface_density_choice"] == "historical_areal_input" + assert all(p["reference"]["status"] == "reference_missing" for p in body["resolved"]["points"]) + point = body["resolved"]["points"][0] + actual = http.post("/configuration-preview/device", json=point["applied_input"]) + assert actual.status_code == 200 + assert actual.json()["identity"]["content_sha256"] == point["content_sha256"] + assert http.get("/configuration-schema").status_code == 200 + assert (writer.get_run("untouched"), writer.events()) == before + + +def test_schema_limits_target_and_coordinate_failures_remain_truthful(fixtures, writer): + values, context = fixtures + raw = deepcopy(values["scaps_nt_pvk_cb"]) + with TestClient(create_app(writer.root, configuration_preview=context)) as http: + assert http.post("/configuration-preview/sweep", json=raw).status_code == 428 + assert http.post("/configuration-preview/sweep", json=raw, headers={**headers(), "X-Solarlab-Configuration-Schema": "0" * 64}).status_code == 409 + bad = deepcopy(raw) + bad["axes"][0]["target"]["local_id"] = "missing" + result = http.post("/configuration-preview/sweep", json=bad, headers=headers()) + assert result.status_code == 422 + assert result.json()["detail"]["field_errors"][0]["loc"] == ["axes", 0, "target"] + bad = deepcopy(raw) + bad["axes"][0]["coordinates"] = [{"kind": "value", "value": "1 nm"}] + result = http.post("/configuration-preview/sweep", json=bad, headers=headers()) + assert result.status_code == 200 + point = result.json()["resolved"]["points"][0] + assert point["status"] == "unresolved" and point["simulation_status"] == "not_started" + actual = http.post("/configuration-preview/device", json=point["applied_input"]) + assert actual.status_code == 422 + # Extra-field union errors follow JSON object key order; compare the + # complete path/error records independently of transport key ordering. + assert sorted(json.dumps(field, sort_keys=True) for field in point["field_errors"]) == sorted( + json.dumps(field, sort_keys=True) for field in actual.json()["detail"]["field_errors"]) + location = point["field_errors"][0]["loc"] + assert location[:4] == ["layers", 2, "bulk_defects", 0] + assert location[-2:] == ["distribution", "total_density_m3"] + assert point["applied_input"]["layers"][2]["bulk_defects"][0]["distribution"]["total_density_m3"] == "1 nm" + bad["axes"][0]["coordinates"] *= 2 + result = http.post("/configuration-preview/sweep", json=bad, headers=headers()) + assert result.status_code == 422 and "duplicate" in result.text + + +def test_real_loopback_sweep_and_missing_trusted_context(fixtures, writer): + values, context = fixtures + raw = deepcopy(values["scaps_cbo"]) + raw["axes"][0]["coordinates"] = [{"kind": "value", "value": "-200 meV"}] + server = _HTTPServer(writer.root, configuration_preview=context) + with server: + endpoint = f"http://127.0.0.1:{server.port}/configuration-preview/sweep" + with urlopen(Request(endpoint, data=json.dumps(raw).encode(), headers=headers(), method="POST"), timeout=10) as response: + body = json.loads(response.read()) + assert response.status == 200 + assert body["resolved"]["points"][0]["effective_targets"]["CBO"]["value"] == 4.14 + raw["axes"][0]["target"]["owner_id"] = "unknown" + with pytest.raises(HTTPError) as error: + urlopen(Request(endpoint, data=json.dumps(raw).encode(), headers=headers(), method="POST"), timeout=10) + assert error.value.code == 422 + assert server.stopped + with TestClient(create_app(writer.root)) as http: + assert http.post("/configuration-preview/sweep", json=raw, headers=headers()).status_code == 503 diff --git a/tests/runtime/test_transient_job_service.py b/tests/runtime/test_transient_job_service.py new file mode 100644 index 00000000..c862eaa2 --- /dev/null +++ b/tests/runtime/test_transient_job_service.py @@ -0,0 +1,358 @@ +"""Real loopback transient HTTP jobs, bounded admission and exact owner cleanup.""" +from contextlib import contextmanager +from dataclasses import replace +import hashlib +import io +import json +import os +from pathlib import Path +import signal +import socket +import subprocess +import sys +import threading +import time + +from fastapi.testclient import TestClient +import httpx +import numpy as np +import pytest + +import uvicorn + +from examples.research_1d.transient_service import ROOT, example_submission, installed_catalog +from solarlab.experiments.execution import JobHandle, ProcessSupervisor +from solarlab.experiments.transient_worker import read_transient_job +from solarlab.experiments.worker import WorkerBinding +from solarlab.io.run_store import RunStore +from solarlab.materials.source import SourceDocument +from solarlab_server.app import create_app +from solarlab_server.job_service import JobService, JobSubmission, canonical + +pytestmark = pytest.mark.requires_clean_core + + +def terminal_events(store, run_id): + return [e for e in store.events(run_id=run_id, limit=1000) if e["kind"] == "terminal"] + + +def save(name, data): + if target := os.environ.get("SOLARLAB_TRANSIENT_SERVICE_EVIDENCE"): + folder = Path(target) + folder.mkdir(parents=True, exist_ok=True) + (folder / name).write_text(json.dumps(data, indent=2, allow_nan=False) + "\n") + + +def ready(client, process=None): + until = time.monotonic() + 20 + while time.monotonic() < until: + if process is not None and process.poll() is not None: + raise AssertionError("service process exited before its HTTP catalog became available") + try: + response = client.get("/experiments") + if response.status_code == 200: + return response + except httpx.HTTPError: + pass + time.sleep(.02) + raise AssertionError("local service did not become ready") + + +def port_closed(port): + with socket.socket() as probe: + probe.settimeout(.5) + return probe.connect_ex(("127.0.0.1", port)) != 0 + + +@pytest.fixture(scope="module") +def commit(): + return os.environ.get("SOLARLAB_TRANSIENT_SERVICE_COMMIT") or subprocess.check_output( + ["git", "rev-parse", "HEAD"], cwd=ROOT, text=True, timeout=5).strip() + + +@pytest.fixture(scope="module") +def catalog(commit): + # Full committed core is the shared-suite default, including modules that + # earlier AC/ionic test collection may have imported. An isolated local + # witness can opt into the example's narrower immutable scope explicitly. + if os.environ.get("SOLARLAB_TRANSIENT_SERVICE_ISOLATED_SOURCES") == "1": + from examples.research_1d.process_transient import source_build + implementation = source_build(commit) + else: + from examples.research_1d.service import committed_implementation + implementation = committed_implementation(commit) + head = subprocess.check_output(["git", "rev-parse", "HEAD"], cwd=ROOT, text=True, timeout=5).strip() + return installed_catalog(implementation, head) + + +def pool(store, work, catalog, *, bindings=None): + return ProcessSupervisor(store, work, bindings or catalog.worker_bindings(), max_active=1, max_pending=2, + shared_rss_bytes=3 * 1024**3, shared_output_bytes=384 * 1024**2, + soft_grace_seconds=.1, terminate_grace_seconds=.1, poll_seconds=.01) + + +@contextmanager +def live_http(app): + listener = socket.socket() + listener.bind(("127.0.0.1", 0)) + port = listener.getsockname()[1] + server = uvicorn.Server(uvicorn.Config(app, log_level="error", lifespan="on", loop="asyncio", http="h11")) + thread = threading.Thread(target=lambda: server.run(sockets=[listener]), daemon=True) + thread.start() + try: + with httpx.Client(base_url=f"http://127.0.0.1:{port}", timeout=20) as client: + ready(client) + yield client, port + finally: + server.should_exit = True + thread.join(timeout=15) + listener.close() + assert not thread.is_alive() and app.state.run_store is None and port_closed(port) + + +def test_real_loopback_completed_failed_steady_reconnect_and_normal_shutdown(tmp_path, commit): + root = Path(os.environ.get("SOLARLAB_TRANSIENT_SERVICE_STORE", str(tmp_path / "store"))).resolve() + work = root.parent / "work" + root.parent.mkdir(parents=True, exist_ok=True) + stdout, stderr = root.parent / "server.stdout.log", root.parent / "server.stderr.log" + with socket.socket() as probe: + probe.bind(("127.0.0.1", 0)) + port = probe.getsockname()[1] + command = [sys.executable, "-B", str(ROOT / "examples/research_1d/transient_service.py"), + "--store", str(root), "--work", str(work), "--build-source-commit", commit, "--port", str(port)] + env = dict(os.environ) + thread_names = ("OPENBLAS_NUM_THREADS", "OMP_NUM_THREADS", "MKL_NUM_THREADS", + "VECLIB_MAXIMUM_THREADS", "NUMEXPR_NUM_THREADS", "BLIS_NUM_THREADS") + env.update({name: "1" for name in thread_names}) + evidence = {"command": command, "store": str(root), "work": str(work), "port": port, + "source_commit": commit, "cases": [], "thread_environment": {n: env[n] for n in thread_names}} + with stdout.open("x") as out, stderr.open("x") as err: + process = subprocess.Popen(command, cwd=ROOT, env=env, stdout=out, stderr=err, start_new_session=True) + evidence["service_pid"] = process.pid + try: + with httpx.Client(base_url=f"http://127.0.0.1:{port}", timeout=75) as client: + advertised = ready(client, process) + catalog = advertised.json() + evidence["catalog"] = catalog + headers = {name: advertised.headers[name] for name in ("x-solarlab-registry", "x-solarlab-job-schema")} + assert {r["driver"] for r in catalog["bindings"]} == {"steady_jv", "transient_1d"} + assert all(not r["scientific_qualification"] for r in catalog["bindings"]) + assert catalog["registry"]["registered_executors"] == [] + entries = {r["driver"]: r for r in catalog["bindings"]} + assert entries["transient_1d"]["preparation_context"]["implementation"]["build_source_commit"] == commit + assert entries["transient_1d"]["model_registry_sha256"] != entries["steady_jv"]["model_registry_sha256"] + steady = {"schema_version": "solarlab.job-submission.v1", "run_id": "http-steady-regression", + "experiment_id": "steady_jv", "version": 1, "engine": "solarlab", + "input": {"device_id": "research_1d", "voltage_V": [0., .05, .1], "intervals_per_layer": 12, + "generation_scale": 1., "incident_power_W_m2": None}, + "limits": example_submission()["limits"]} + for body, state, count in [(example_submission("http-transient-completed"), "succeeded", 16), + (example_submission("http-transient-failed", failure=True), "failed", 16), + (steady, "succeeded", 9)]: + response = client.post("/jobs", json=body, headers=headers) + assert response.status_code == 202, response.text + accepted = response.json() + event_response = client.get(accepted["events_url"]) + assert event_response.status_code == 200 + events = [json.loads(line[6:]) for line in event_response.text.splitlines() if line.startswith("data: ")] + assert events[-1]["kind"] == "terminal" and events[-1]["payload"]["state"] == state + assert sum(e["kind"] == "terminal" for e in events) == 1 + replay = client.get(accepted["events_url"] + "?after=" + str(events[-1]["sequence"]), + headers={"Last-Event-ID": str(events[0]["sequence"])}) + assert replay.status_code == 200 and '"kind":"terminal"' in replay.text.replace(" ", "") + assert client.get(accepted["events_url"], headers={"Last-Event-ID": str(events[-1]["sequence"])}).status_code == 204 + result_response = client.get(accepted["result_url"]) + assert result_response.status_code == 200, result_response.text + result = result_response.json() + assert result["state"] == state and len(result["artifacts"]) == count + worker = result["result"]["worker_result"] + assert worker["registered_device_id"] == "research_1d" + assert worker["execution_catalog_sha256"] == advertised.headers["x-solarlab-registry"] + assert not worker["scientific_qualification"] + arrays = {} + for item in result["artifacts"]: + content = client.get(item["content_url"]) + assert content.status_code == 200 and hashlib.sha256(content.content).hexdigest() == item["sha256"] + assert content.headers["etag"].strip('"') == item["sha256"] + if item["format"] == "npy": + arrays[item["name"]] = np.load(io.BytesIO(content.content), allow_pickle=False) + assert client.post("/jobs", json=body, headers=headers).json()["attempt_id"] == accepted["attempt_id"] + with RunStore(root, read_only=True) as store: + attempt, = store.attempts(body["run_id"]) + assert len(terminal_events(store, body["run_id"])) == 1 + directory = work / (store.store_id + "-" + attempt["attempt_id"]) + until = time.monotonic() + 5 + while not (directory / "receipt.json").exists(): + assert time.monotonic() < until + time.sleep(.01) + receipt = json.loads((directory / "receipt.json").read_text()) + assert receipt["process_joined"] and receipt["process_exit_observed"] and receipt["exitcode"] == 0 + if body["experiment_id"] == "transient_1d": + loaded = read_transient_job(store, body["run_id"], attempt_id=accepted["attempt_id"]) + assert len(arrays) == 14 + for name, value in loaded["arrays"].items(): + assert arrays[name].tobytes() == value.tobytes() + assert loaded["document"]["physical_certificate_status"] == "not_evaluated" + assert arrays["potential_V"].shape == (3 if state == "succeeded" else 2, 37) + if state == "failed": + assert worker["transient_result"]["reason"] == "budget_exhausted" + assert arrays["accepted_times_s"].tolist() == [0., 1e-7] + assert len(arrays["requested_times_s"]) == 4 + assert [a["accepted"] for a in loaded["diagnostics"]["attempts"]] == [True, False] + else: + assert len(arrays) == 8 and arrays["potential_V"].shape == (3, 37) + assert worker["steady_result"]["metrics"]["open_circuit_voltage_V"] is None + evidence["cases"].append({"request": body, "accepted": accepted, "result": result, + "events": events, "receipt": receipt, "terminal_reconnect_status": 204, + "array_fingerprints": {name: {"shape": list(value.shape), "dtype": value.dtype.str, + "sha256": hashlib.sha256(value.tobytes()).hexdigest()} for name, value in arrays.items()}}) + finally: + if process.poll() is None: + process.send_signal(signal.SIGINT) + try: + code = process.wait(timeout=20) + except subprocess.TimeoutExpired: + process.terminate() + code = process.wait(timeout=5) + evidence.update(service_exit_code=code, port_closed=port_closed(port), + stdout_log=str(stdout), stderr_log=str(stderr)) + save("ActualHTTP.json", evidence) + assert code == 0 and evidence["port_closed"], stderr.read_text() + messages = [json.loads(line) for line in stdout.read_text().splitlines() if line.startswith("{")] + assert messages[-1] == {"service_closed": True, "read_handle_closed": True, "process_owner_closed": True} + evidence["closure"] = messages[-1] + save("ActualHTTP.json", evidence) + + +def test_transient_header_schema_scope_and_budget_rejection_has_no_enqueue(tmp_path, catalog): + with RunStore(tmp_path / "store") as store, pool(store, tmp_path / "work", catalog) as supervisor: + with TestClient(create_app(store.root, job_service=JobService(catalog, supervisor))) as client: + advertised = client.get("/experiments") + headers = {name: advertised.headers[name] for name in ("x-solarlab-registry", "x-solarlab-job-schema")} + assert client.post("/jobs", json=example_submission()).status_code == 428 + for key in headers: + assert client.post("/jobs", json=example_submission(), headers={**headers, key: "0" * 64}).status_code == 409 + for changes in ({"engine": "legacy"}, {"engine": "unknown"}, {"experiment_id": "ionic_transient"}, + {"version": 2}, {"schema_version": "unknown"}, {"source_commit": "user-claim"}): + assert client.post("/jobs", json={**example_submission(), **changes}, headers=headers).status_code == 422 + for changes in ({"device_id": "/tmp/device.json"}, {"device_id": "unknown"}, {"dimension": 2}, + {"times_s": [0., 0., 1e-7]}, {"times_s": [0., 2.]}, {"times_s": [float(i)/100 for i in range(34)]}, + {"voltage_V": [0., 0.]}, {"generation_scale": [1., -1., 1.]}, {"intervals_per_layer": 257}, + {"intervals_per_layer": True}, {"mobile_ions": True}, {"python_function": "os.system"}, + {"source_bytes": "x"}, {"config_path": "/tmp/device.json"}, {"initial_state": [0.]}, + {"controls": {"max_steps": 32, "wall_s": 30., "tolerance": 1.}}): + body = example_submission() + body["input"].update(changes) + assert client.post("/jobs", json=body, headers=headers).status_code == 422 + for control, value in (("max_steps", 1), ("max_steps", 33), ("wall_s", 31.)): + body = example_submission() + body["input"]["controls"][control] = value + assert client.post("/jobs", json=body, headers=headers).status_code == 422 + for field, value in (("max_iterations", 51), ("max_residual_evaluations", 1001), + ("max_jacobian_evaluations", 51), ("max_backtracks", 25)): + body = example_submission() + body["input"]["controls"]["newton_budget"][field] = value + assert client.post("/jobs", json=body, headers=headers).status_code == 422 + for key, value in (("wall_seconds", 61.), ("rss_bytes", 2*1024**3), + ("output_bytes", 128*1024**2), ("calls", 1), ("accepted_steps", 1)): + body = example_submission() + body["limits"][key] = value + assert client.post("/jobs", json=body, headers=headers).status_code == 422 + assert store.events() == [] + + +def test_coinstalled_workers_require_unambiguous_selection(catalog): + with pytest.raises(ValueError, match="explicit experiment_id"): + catalog.worker_binding("solarlab") + assert catalog.worker_binding("solarlab", experiment_id="steady_jv").id == "registered_steady" + assert catalog.worker_binding("solarlab", experiment_id="transient_1d").id == "registered_transient" + assert {b.id for b in catalog.worker_bindings()} == {"registered_steady", "registered_transient"} + + +@pytest.mark.parametrize("change", ["device", "server", "model", "worker", "policy"]) +def test_transient_child_rejects_inconsistent_installed_bindings(tmp_path, catalog, change): + spec, execution = catalog.prepare(JobSubmission.model_validate(example_submission())) + data = json.loads(catalog.document.content) + entry = next(item for item in data["bindings"] if item["driver"] == "transient_1d") + if change == "device": + entry["preparation_context"]["devices"][0]["prepared_sha256"] = "0" * 64 + elif change == "server": + entry["preparation_context"]["server_sources"][0]["sha256"] = "0" * 64 + elif change == "policy": + entry["preparation_context"]["fixed_numerical_policy"]["transient"]["poisson_tolerance"] = 1. + else: + entry["model_registry_sha256" if change == "model" else "worker_source_sha256"] = "0" * 64 + changed = SourceDocument("inconsistent-transient-test-catalog", canonical(data)) + binding = replace(catalog.worker_binding("solarlab", experiment_id="transient_1d"), registry_sha256=changed.sha256) + with RunStore(tmp_path / "store") as store, pool(store, tmp_path / "work", catalog, bindings=(binding,)) as supervisor: + handle = supervisor.submit("invalid", binding.id, replace(spec.request, registry=changed), spec.limits, execution=execution) + receipt = supervisor.wait(handle, 20).data + assert receipt["store_state"] == "failed" and not receipt["terminal_artifacts"] + assert receipt["process_joined"] and len(terminal_events(store, handle.run_id)) == 1 + assert "transient" in receipt["worker_result"]["detail"] + assert not any(e["payload"].get("ui_progress", {}).get("stage", "").startswith("transient_") + for e in store.events(run_id=handle.run_id, limit=1000)) + + +def _hold(request, context): + """Non-numerical occupancy fixture; no model execution is claimed.""" + context.consume_manifest(request, engine="solarlab") + context.progress({"stage": "queue_fixture_ready"}) + while True: + context.check_cancel() + time.sleep(.005) + + +def test_loopback_exact_cancel_keeps_cancelled_history_empty(tmp_path, catalog): + root = Path(os.environ.get("SOLARLAB_TRANSIENT_CANCEL_STORE", str(tmp_path / "store"))).resolve() + root.parent.mkdir(parents=True, exist_ok=True) + hold = WorkerBinding.from_function("queue_fixture", _hold, registry_sha256=catalog.document.sha256, + schema_sha256=catalog.schema.sha256) + spec, execution = catalog.prepare(JobSubmission.model_validate(example_submission())) + with RunStore(root) as store, pool(store, root.parent / "cancel-work", catalog, + bindings=(*catalog.worker_bindings(), hold)) as supervisor: + owner = supervisor.submit("queue-owner", hold.id, spec.request, spec.limits, execution=execution) + until = time.monotonic() + 15 + while not any(e["payload"].get("ui_progress", {}).get("stage") == "queue_fixture_ready" + for e in store.events(run_id=owner.run_id, limit=1000)): + assert time.monotonic() < until + time.sleep(.01) + app = create_app(root, job_service=JobService(catalog, supervisor)) + with live_http(app) as (client, port): + headers = {"X-Solarlab-Registry": catalog.document.sha256, "X-Solarlab-Job-Schema": catalog.schema.sha256} + accepted = client.post("/jobs", json=example_submission("cancelled-transient"), headers=headers).json() + handle = JobHandle(store.store_id, accepted["run_id"], accepted["attempt_id"]) + row = store.get_run(handle.run_id) + cancel_url = f"/jobs/{handle.run_id}/attempts/{handle.attempt_id}/cancel" + assert client.post(cancel_url, json={"expected_generation": row["generation"] + 1, "reason": "stale"}).status_code == 409 + assert client.post(cancel_url, json={"expected_generation": row["generation"], "reason": "explicit cancellation"}).status_code == 200 + receipt = supervisor.wait(handle, 10).data + result = client.get(accepted["result_url"]).json() + assert result["state"] == "cancelled" and result["artifacts"] == [] + assert not receipt["process_started"] and len(terminal_events(store, handle.run_id)) == 1 + with pytest.raises(ValueError, match="committed"): + read_transient_job(store, handle.run_id) + assert store.get_run(owner.run_id)["state"] == "running" + row = store.get_run(owner.run_id) + assert client.post(f"/jobs/{owner.run_id}/attempts/{owner.attempt_id}/cancel", + json={"expected_generation": row["generation"], "reason": "close fixture owner"}).status_code == 200 + closed = supervisor.wait(owner, 10).data + assert closed["process_joined"] and closed["process_exit_observed"] + save("CancellationHTTP.json", {"store": str(root), "cancelled_result": result, "receipt": receipt, + "fixture_owner_receipt": closed, "port": port, "port_closed": port_closed(port), + "reader_closed": app.state.run_store is None, "scope": "real queued HTTP cancellation; non-numerical occupancy fixture"}) + + +def test_transient_service_main_reconstruction_does_not_import_engine(tmp_path): + code = ''' +import importlib.abc,runpy,sys +class NoEngine(importlib.abc.MetaPathFinder): + def find_spec(self, fullname, path=None, target=None): + if fullname in ('scipy','perovskite_sim'): + raise AssertionError('early engine import: '+fullname) +sys.meta_path.insert(0,NoEngine()) +runpy.run_path(sys.argv[1],run_name='__mp_main__') +''' + result = subprocess.run([sys.executable, "-I", "-B", "-c", code, + str(ROOT / "examples/research_1d/transient_service.py")], cwd=tmp_path, capture_output=True, text=True, timeout=10) + assert result.returncode == 0, result.stderr diff --git a/tests/runtime/test_transient_worker.py b/tests/runtime/test_transient_worker.py new file mode 100644 index 00000000..9d92fa91 --- /dev/null +++ b/tests/runtime/test_transient_worker.py @@ -0,0 +1,355 @@ +"""Real cold transient jobs; reuse their saved histories for reader regressions.""" +from dataclasses import replace +import hashlib +import json +import os +from pathlib import Path +import subprocess +import sys +import time + +import pytest + +import execution_workers as workers +from runtime_evidence import preserve_runtime_evidence, record_resource_samples + +from examples.research_1d.process_transient import example_job, source_build +from examples.research_1d.service import committed_implementation +from solarlab.experiments.execution import ProcessSupervisor +from solarlab.experiments.transient_worker import read_transient_job, transient_worker_binding +from solarlab.experiments.worker import ResourceLimits, WorkerBinding, WorkerRequest, WorkerResult +from solarlab.io.artifacts import ArtifactIntegrityError, ArtifactPayload, _json_document +from solarlab.io.run_store import RunStore +from solarlab.materials.source import SourceDocument + +pytestmark = pytest.mark.requires_clean_core + +ROOT = Path(__file__).resolve().parents[2] + + +def limits(): + return ResourceLimits(60., 1536 * 1024**2, 96 * 1024**2, None, None) + + +def pool(store, work, bindings=None, **changes): + settings = {"max_active": 1, "max_pending": 1, "shared_rss_bytes": 3 * 1024**3, + "shared_output_bytes": 384 * 1024**2, "soft_grace_seconds": .3, + "terminate_grace_seconds": .1, "poll_seconds": .01} + settings.update(changes) + return ProcessSupervisor(store, work, bindings or (transient_worker_binding(),), **settings) + + +def terminals(store, run_id): + return [e for e in store.events(run_id=run_id, limit=1000) if e["kind"] == "terminal"] + + +def evidence(name, value): + if path := os.environ.get("SOLARLAB_TRANSIENT_PROCESS_EVIDENCE"): + target = Path(path) + target.mkdir(parents=True, exist_ok=True) + (target / name).write_text(json.dumps(value, indent=2, allow_nan=False) + "\n") + + +@pytest.fixture(scope="module") +def implementation(): + commit = os.environ.get("SOLARLAB_TRANSIENT_SOURCE_COMMIT") + if commit is None: + commit = subprocess.check_output(["git", "rev-parse", "HEAD"], cwd=ROOT, text=True, timeout=5).strip() + archive = os.environ.get("SOLARLAB_TRANSIENT_SOURCE_ARCHIVE") + if archive or os.environ.get("SOLARLAB_TRANSIENT_SOURCE_COMMIT"): + return source_build(commit, Path(archive) if archive else None) + # Shared pytest collection also loads AC and ionic modules. Bind the whole + # committed installation rather than the standalone example subset. + return committed_implementation(commit) + + +@pytest.fixture(scope="module") +def job(implementation): + return example_job(implementation) + + +@pytest.fixture(scope="module") +def saved(tmp_path_factory, implementation): + if root := os.environ.get("SOLARLAB_TRANSIENT_PROCESS_STORE"): + # Explicit evidence-reuse mode, never represented as a new computation. + store_path = Path(root).resolve() + work = store_path.parent / "work" + with RunStore(store_path, read_only=True) as store: + for run_id in ("transient-completed", "transient-failed-prefix"): + read_transient_job(store, run_id) + return store_path, work + root = tmp_path_factory.mktemp("transient-process") + with RunStore(root / "store") as store, pool(store, root / "work") as supervisor: + for name, failure in (("transient-completed", False), ("transient-failed-prefix", True)): + handle = example_job(implementation, failure=failure).submit(supervisor, name, limits()) + receipt = supervisor.wait(handle, 90).data + assert receipt["store_state"] == ("failed" if failure else "succeeded"), receipt + assert receipt["process_joined"] and receipt["process_exit_observed"] + return root / "store", root / "work" + + +@pytest.mark.parametrize("name,count,outcome", [("transient-completed", 3, "succeeded"), ("transient-failed-prefix", 2, "failed")]) +def test_actual_histories_have_exact_artifacts_one_terminal_and_closed_process(saved, name, count, outcome): + import numpy as np + + root, work = saved + with RunStore(root, read_only=True) as store: + loaded = read_transient_job(store, name) + attempt, = store.attempts(name) + receipt = json.loads((work / (store.store_id + "-" + attempt["attempt_id"]) / "receipt.json").read_text()) + assert receipt["store_state"] == outcome and receipt["exitcode"] == 0 + assert receipt["process_joined"] and receipt["process_exit_observed"] and receipt["terminal_committed"] + with pytest.raises(ChildProcessError): + os.waitpid(receipt["pid"], os.WNOHANG) + assert len(terminals(store, name)) == 1 and len(attempt["terminal"]["artifacts"]) == 16 + assert receipt["resources"]["accepted_steps"] is None and receipt["resources"]["calls"] is None + assert loaded["arrays"]["potential_V"].shape == (count, 37) + assert loaded["arrays"]["total_current_density_A_m2"].shape == (count - 1, 36) + assert loaded["arrays"]["terminal_total_current_density_A_m2"].shape == (count - 1, 2) + assert len(loaded["arrays"]) == 14 and all(np.isfinite(a).all() for a in loaded["arrays"].values()) + assert np.array_equal(loaded["arrays"]["accepted_times_s"], [0., 1e-7, 2e-7][:count]) + assert loaded["document"]["physical_certificate_status"] == "not_evaluated" + assert not loaded["manifest"]["can_execute"] and not loaded["worker_result"]["scientific_qualification"] + assert loaded["worker_result"]["cold_start"]["inputs"] == loaded["worker_result"]["transient_capture"]["description"]["inputs"] + if outcome == "failed": + assert loaded["document"]["reason"] == "budget_exhausted" + assert loaded["arrays"]["requested_times_s"].tolist() == [0., 1e-7, 2e-7, 3e-7] + assert [a["accepted"] for a in loaded["diagnostics"]["attempts"]] == [True, False] + assert loaded["diagnostics"]["attempts"][-1]["end_s"] == 2e-7 + assert loaded["diagnostics"]["attempts"][-1]["newton"] is not None + child = json.loads((work / (store.store_id + "-" + attempt["attempt_id"]) / "terminal.json").read_text()) + for record in child["artifacts"]: + saved_record = next(store.artifact(ref["artifact_id"]) for ref in attempt["terminal"]["artifacts"] + if store.artifact(ref["artifact_id"])["name"] == record["name"]) + original = (work / (store.store_id + "-" + attempt["attempt_id"]) / record["file"]).read_bytes() + assert original == store.read_artifact(saved_record["artifact_id"]) + assert hashlib.sha256(original).hexdigest() == record["sha256"] == saved_record["sha256"] + with pytest.raises(ValueError, match="committed"): + read_transient_job(store, name, attempt_id="different-attempt") + + +def _fresh_reader_process(store_path, tmp_path, *, expected_reader_sha256=None): + # -I deliberately reads the installed package, ignoring PYTHONPATH. Diagnose + # a mixed installation before an old reader can misreport a capture error. + reader_path = Path(read_transient_job.__code__.co_filename).resolve() + expected = expected_reader_sha256 or hashlib.sha256(reader_path.read_bytes()).hexdigest() + code = ''' +import hashlib, importlib.abc, pathlib, sys +class NoSolver(importlib.abc.MetaPathFinder): + def find_spec(self, fullname, path=None, target=None): + if any(fullname == p or fullname.startswith(p + '.') for p in ( + 'solarlab.solvers', 'solarlab.equations', 'solarlab.device.compile_1d', + 'solarlab.experiments.transient', 'perovskite_sim')): + raise AssertionError('reader imported numerical execution: ' + fullname) +sys.meta_path.insert(0, NoSolver()) +from solarlab.experiments.transient_worker import read_transient_job +from solarlab.io.run_store import RunStore +reader_path = pathlib.Path(read_transient_job.__code__.co_filename).resolve() +assert hashlib.sha256(reader_path.read_bytes()).hexdigest() == sys.argv[2], ( + 'fresh-reader installation differs from tested source: ' + str(reader_path)) +with RunStore(pathlib.Path(sys.argv[1]), read_only=True) as store: + for name in ('transient-completed', 'transient-failed-prefix'): + result = read_transient_job(store, name) + assert len(result['arrays']) == 14 + print(name, result['run_state'], result['arrays']['accepted_times_s'].tolist()) +''' + return subprocess.run([sys.executable, "-I", "-B", "-c", code, str(store_path), expected], cwd=tmp_path, + capture_output=True, text=True, timeout=20) + + +def test_fresh_reader_process_imports_no_numerical_execution(saved, tmp_path): + check = _fresh_reader_process(saved[0], tmp_path) + assert check.returncode == 0, check.stderr + evidence("SolverFreeRead.json", {"returncode": check.returncode, "stdout": check.stdout, "stderr": check.stderr}) + + +def test_fresh_reader_reports_mixed_installation_before_opening_store(tmp_path): + check = _fresh_reader_process(tmp_path / "not-a-store", tmp_path, expected_reader_sha256="0" * 64) + assert check.returncode != 0 + assert "fresh-reader installation differs from tested source:" in check.stderr + assert "transient computation capture differs" not in check.stderr + + +def reseal(saved, target, change): + with RunStore(saved[0], read_only=True) as original: + run = original.get_run("transient-failed-prefix") + attempt, = original.attempts(run["run_id"]) + result = attempt["result"] + items = [(original.artifact(ref["artifact_id"]), original.read_artifact(ref["artifact_id"])) + for ref in attempt["terminal"]["artifacts"]] + with RunStore(target) as store: + row = store.enqueue("fixture", opaque_identity=run["request"]["identity"], input_metadata=run["request"]["input_metadata"]) + token = store.claim("fixture", expected_attempt_id=row["current_attempt_id"], expected_generation=row["generation"], owner_id="reader-fixture") + ids = [] + for item, raw in items: + if change == "unit" and item["name"] == "potential_V": + item["metadata"]["unit"] = "wrong" + result["worker_result"]["payloads"]["potential_V"]["metadata"]["unit"] = "wrong" + record = store.publish(token, item["name"], ArtifactPayload(raw, item["format"], _json_document(item["metadata"]))) + ids.append(record["artifact_id"]) + if change == "cold-capture": + result["worker_result"]["cold_start"]["compiled_identity"] = "0" * 64 + if change == "capture-digest": + result["worker_result"]["transient_capture"]["result_sha256"] = "0" * 64 + store.complete(token, state="succeeded" if change == "false-success" else "failed", result=result, artifacts=ids) + if change == "terminal-reference": + terminal = store.attempts("fixture")[0]["terminal"] + terminal["artifacts"][0]["manifest_sha256"] = "0" * 64 + store._db.execute("UPDATE attempts SET terminal_json=? WHERE attempt_id=?", (_json_document(terminal), token.attempt_id)) + if change == "corrupt-bytes": + path = target / store.artifact(ids[0])["relative_path"] + data = bytearray(path.read_bytes()) + data[-1] ^= 1 + path.write_bytes(data) + + +@pytest.mark.parametrize("change", ["unit", "cold-capture", "capture-digest", "false-success", "terminal-reference", "corrupt-bytes"]) +def test_resealed_or_corrupt_transient_history_is_rejected(saved, tmp_path, change): + target = tmp_path / "store" + reseal(saved, target, change) + with RunStore(target, read_only=True) as store, pytest.raises((ValueError, ArtifactIntegrityError)): + read_transient_job(store, "fixture") + + +def test_invalid_request_and_unobserved_caps_fail_before_native_work(tmp_path, job): + body = json.loads(job.request.request.content) + body["protocol"]["generation_scale"][1] = 1.5 + request = replace(job.request, request=SourceDocument(job.request.request.id, _json_document(body).encode())) + with RunStore(tmp_path / "store") as store, pool(store, tmp_path / "work") as supervisor: + for cap in ("calls", "accepted_steps"): + with pytest.raises(ValueError, match="counter budgets"): + job.submit(supervisor, "unsupported-" + cap, replace(limits(), **{cap: 1})) + handle = supervisor.submit("invalid", "transient_1d", request, limits(), execution=job.execution) + receipt = supervisor.wait(handle, 20).data + assert receipt["store_state"] == "failed" and receipt["terminal_committed"] + assert "differ" in receipt["worker_result"]["detail"] and not receipt["terminal_artifacts"] + assert len(terminals(store, handle.run_id)) == 1 + assert not any(e["payload"].get("ui_progress", {}).get("stage", "").startswith("transient_") + for e in store.events(run_id=handle.run_id, limit=1000)) + + +def test_actual_running_transient_cancellation_closes_owner_without_publication(tmp_path, job): + from solarlab.experiments.transient import TransientOptions, TransientProtocol + from solarlab.experiments.transient_worker import prepare_transient_job + from solarlab.solvers.nonlinear.problem import SolveBudget + from solarlab.solvers.nonlinear.steady_1d import SteadyOptions + + # Keep a real calculation running after coalesced progress reaches the + # parent. The two-step smoke case can finish before cancellation is issued. + body = json.loads(job.request.request.content) + times = [i * 1e-7 for i in range(33)] + options = TransientOptions(**{**body["transient_options"], + "newton_budget": SolveBudget(**body["transient_options"]["newton_budget"])}) + job = prepare_transient_job(job.execution.inputs.prepared, + TransientProtocol(times, [0.] * 33, [1. + .01 * (i / 32) ** 2 for i in range(33)]), + intervals_per_layer=body["intervals_per_layer"], options=options, + initial_options=SteadyOptions(**body["initial_options"]), + implementation=job.execution.execution.implementation, + current_repository_head=job.execution.execution.current_repository_head, + engine=job.execution.engine) + root = Path(os.environ.get("SOLARLAB_TRANSIENT_PROCESS_CANCEL_STORE", str(tmp_path / "store"))) + with RunStore(root) as store, pool(store, root.parent / "cancel-work", soft_grace_seconds=.05) as supervisor: + handle = job.submit(supervisor, "transient-cancelled", limits()) + deadline = time.monotonic() + 15 + while time.monotonic() < deadline: + if any(e["payload"].get("ui_progress", {}).get("stage") in {"transient_initial_dc", "transient_time_steps"} + for e in store.events(run_id=handle.run_id, limit=1000)): + break + time.sleep(.005) + else: + raise AssertionError("real child did not expose numerical progress before cancellation") + assert supervisor.cancel(handle) + receipt = supervisor.wait(handle, 10).data + assert receipt["store_state"] == "cancelled" and receipt["terminal_committed"] + assert receipt["process_joined"] and receipt["process_exit_observed"] + assert not receipt["terminal_artifacts"] and len(terminals(store, handle.run_id)) == 1 + assert not supervisor.cancel(handle) + with pytest.raises(ValueError, match="committed"): + read_transient_job(store, handle.run_id) + evidence("Cancellation.json", {"store": str(root.resolve()), "receipt": receipt, + "terminal_count": len(terminals(store, handle.run_id))}) + + +def fixture_request(**body): + source = SourceDocument("fixture", _json_document(body).encode()) + binding = WorkerBinding.from_function("fixture_failure", workers.returned_failure, registry_sha256=source.sha256, + schema_sha256=source.sha256) + return WorkerRequest(source, source, source, source, source.sha256, source.sha256), binding + + +def test_worker_result_defaults_and_refuses_cancelled_or_unknown_state(): + assert WorkerResult.from_dict({}).state == "succeeded" + for state in ("cancelled", "partial", True): + with pytest.raises(ValueError, match="succeed or fail"): + WorkerResult.from_dict({}, state=state) + + +@pytest.mark.parametrize("override", ["cancel", "publication-error", "publication-wall", "missing-counter"]) +def test_failed_payloads_cannot_bypass_parent_cancellation_or_resource_guards(tmp_path, monkeypatch, override): + request, binding = fixture_request(wait=True) + cap = replace(limits(), wall_seconds=2., calls=1 if override == "missing-counter" else None) + samples = [] + try: + with RunStore(tmp_path / "store") as store, pool(store, tmp_path / "work", (binding,), soft_grace_seconds=.8) as supervisor: + samples = record_resource_samples(supervisor, monkeypatch) + guard_ready = False + resource_reason = supervisor._resource_reason + def guard_resource_reason(job, now): + # This fixture's two-second guard window starts at release. + # Cold startup has its own unchanged real readiness deadline; + # RSS, output and counters still use the real guard throughout. + assert job.started is not None + return resource_reason(job, now if guard_ready else job.started) + monkeypatch.setattr(supervisor, "_resource_reason", guard_resource_reason) + if override == "publication-error": + def broken(*args, **kwargs): + raise OSError("injected publication failure") + monkeypatch.setattr(store, "publish", broken) + if override == "publication-wall": + original = store.publish + def expired_after_publish(*args, **kwargs): + record = original(*args, **kwargs) + # Cross the existing deadline at this exact phase, instead + # of spending the fixture's time budget on a real sleep. + job = supervisor._known[handle.attempt_id] + assert job.started is not None + guard_elapsed = time.monotonic() - job.started + assert guard_elapsed < cap.wall_seconds + job.started -= cap.wall_seconds + clock.update(elapsed_offset_seconds=cap.wall_seconds, + guard_elapsed_before_step=guard_elapsed, + real_elapsed_before_step=time.monotonic() - real_started) + clock_path.write_text(json.dumps(clock)) + return record + monkeypatch.setattr(store, "publish", expired_after_publish) + handle = supervisor.submit("guarded", binding.id, request, cap) + deadline = time.monotonic() + 2 + while not any(e["payload"].get("ui_progress", {}).get("stage") == "ready" + for e in store.events(run_id=handle.run_id, limit=1000)): + assert time.monotonic() < deadline + time.sleep(.005) + with supervisor._condition: + job = supervisor._known[handle.attempt_id] + assert job.started is not None and job.stop_reason is None + real_started = job.started + job.started = time.monotonic() + guard_ready = True + clock = {"scope": "fixture_only_guard_phase_wall_clock", + "real_job_started_monotonic": real_started, "guard_started_monotonic": job.started, + "excluded_bootstrap_seconds": job.started - real_started, "elapsed_offset_seconds": 0.0} + clock_path = tmp_path / "work" / (store.store_id + "-" + handle.attempt_id) / "fixture-clock.json" + clock_path.write_text(json.dumps(clock)) + if override == "cancel": + assert supervisor.cancel(handle) + (tmp_path / "work" / (store.store_id + "-" + handle.attempt_id) / "release").touch() + receipt = supervisor.wait(handle, 8).data + assert receipt["store_state"] == ("cancelled" if override == "cancel" else "failed") + assert not receipt["terminal_artifacts"] and len(terminals(store, handle.run_id)) == 1 + assert receipt["process_joined"] and receipt["process_exit_observed"] + reason = receipt["worker_result"]["reason"] + assert reason == {"cancel": "cancel_requested", "publication-error": "artifact_publication", + "publication-wall": "wall_limit_during_publication", "missing-counter": "worker_exception"}[override] + except BaseException as error: + error.add_note(preserve_runtime_evidence(tmp_path, "store", "guard-" + override, samples)) + raise + preserve_runtime_evidence(tmp_path, "store", "guard-" + override, samples) diff --git a/tests/runtime/test_worker_equation_selection.py b/tests/runtime/test_worker_equation_selection.py new file mode 100644 index 00000000..72a4d964 --- /dev/null +++ b/tests/runtime/test_worker_equation_selection.py @@ -0,0 +1,282 @@ +"""Process workers run the equation selection of the parent that prepared them (Science PW-C2). + +Preparation resolves the selection (the innermost ``equation_implementation`` +scope, else ``NEWCORE_EQUATIONS``, else assembled) and records +``NEWCORE_EQUATIONS=`` among the execution manifest's child +settings, so it is part of the execution identity. The spawned child installs +those settings before any engine import, refuses a selection that differs, +and admits its job under the Q6 binding of that implementation, which the +saved result records. A queued job keeps its manifest's selection. A bare +scope is local to its execution context: a job prepared in a new thread +follows that thread's own selection unless the thread runs a copied context. +The saved array payloads of both selections are byte-identical; full result +and reader parity is pinned in process by tests/unit/assembly, and the +saved documents of the process examples by the examples harness. +""" + +from __future__ import annotations + +from collections.abc import Callable +import contextvars +import io +import subprocess +import tarfile +import threading +from pathlib import Path +from typing import Any + +import pytest + +from solarlab.config.identity import BuildSource, ExecutionEngine +from solarlab.equations.implementation import ASSEMBLED, ENVIRONMENT, LEGACY, equation_implementation +from solarlab.experiments.execution import ProcessSupervisor +from solarlab.experiments.worker import ResourceLimits +from solarlab.io.run_store import RunStore +from solarlab.materials.source import SourceDocument +from solarlab.reproducibility.job_provenance import read_provenance + +pytestmark = pytest.mark.requires_clean_core + +ROOT = Path(__file__).resolve().parents[2] + + +@pytest.fixture(scope="module") +def commit() -> str: + return subprocess.check_output(["git", "rev-parse", "HEAD"], cwd=ROOT, text=True, timeout=5).strip() + + +@pytest.fixture(scope="module") +def steady_source(commit: str) -> BuildSource: + content = subprocess.check_output(["git", "archive", commit, "--", "src/solarlab"], cwd=ROOT, timeout=10) + sources = [] + with tarfile.open(fileobj=io.BytesIO(content)) as archive: + for item in archive.getmembers(): + stream = archive.extractfile(item) if item.isfile() and item.name.endswith(".py") and item.size else None + if stream is not None: + sources.append(SourceDocument(item.name.removeprefix("src/"), stream.read())) + return BuildSource(commit, tuple(sources)) + + +def steady_job(source: BuildSource) -> Any: + from examples.research_1d.steady import load_device + from solarlab.experiments.jv.worker import SteadyJVProtocol, prepare_steady_jv_job + + return prepare_steady_jv_job(load_device(), SteadyJVProtocol((0.0, 0.05), 12, 1.0, None), implementation=source, + current_repository_head=source.build_source_commit, engine=ExecutionEngine("solarlab")) + + +def transient_job(commit: str) -> Any: + from examples.research_1d.process_transient import example_job + from examples.research_1d.service import committed_implementation + + # Shared pytest collection also loads ionic modules: bind the whole committed installation. + return example_job(committed_implementation(commit), current_repository_head=commit) + + +def ionic_transient_job(commit: str) -> Any: + from examples.research_1d.process_ionic_transient import example_job, source_build + + return example_job(source_build(commit), current_repository_head=commit) + + +def ionic_jv_job(commit: str) -> Any: + from examples.research_1d.ionic_steady import controls + from examples.research_1d.process_ionic_jv import source_build + from examples.research_1d.shared_site_ionic_fixture import prepare_confined_shared_site_ion_device + from solarlab.experiments.jv.ionic_steady import IonicSteadyJVOptions + from solarlab.experiments.jv.ionic_worker import IonicJVInitial, IonicJVProtocol, prepare_ionic_jv_job + + source = source_build(commit) + return prepare_ionic_jv_job(prepare_confined_shared_site_ion_device(), IonicJVProtocol((0.0, 0.025), 1.0, None), + intervals_per_layer=(12, 12, 12), ion_domain_layer="absorber", ion_domain_endpoints=("blocking", "blocking"), + options=IonicSteadyJVOptions(controls(13), max_points=51, wall_s=25.0), + initial=IonicJVInitial("dark_direct_density_seed_v1", 0.002, 25.0), implementation=source, + current_repository_head=commit, engine=ExecutionEngine("solarlab")) + + +def bindings() -> tuple[Any, ...]: + from solarlab.experiments.ionic_transient_worker import ionic_transient_worker_binding + from solarlab.experiments.jv.ionic_worker import ionic_jv_worker_binding + from solarlab.experiments.jv.worker import steady_jv_worker_binding + from solarlab.experiments.transient_worker import transient_worker_binding + + return (steady_jv_worker_binding(), transient_worker_binding(), ionic_transient_worker_binding(), + ionic_jv_worker_binding()) + + +def pool(store: RunStore, work: Path) -> ProcessSupervisor: + return ProcessSupervisor(store, work, bindings(), max_active=1, max_pending=3, + shared_rss_bytes=3 * 1024**3, shared_output_bytes=384 * 1024**2, + poll_seconds=0.02, soft_grace_seconds=0.2, terminate_grace_seconds=0.2) + + +def declared(job: Any) -> str: + """The selection a prepared job's manifest binds for its child.""" + settings = dict(job.execution.environment) + assert dict(job.execution.execution.environment.settings)[ENVIRONMENT] == '"' + settings[ENVIRONMENT] + '"' + return settings[ENVIRONMENT] + + +def run(jobs: dict[str, Any], tmp_path: Path) -> dict[str, dict[str, Any]]: + """Submit every job to one single-slot pool (so all but the first queue); each saved worker result. + + Each result also carries the bytes of its saved array payloads. + """ + limits = ResourceLimits(30.0, 1536 * 1024**2, 96 * 1024**2, None, None) + results = {} + with RunStore(tmp_path / "store") as store, pool(store, tmp_path / "work") as supervisor: + handles = {name: job.submit(supervisor, name, limits) for name, job in jobs.items()} + for name, handle in handles.items(): + receipt = supervisor.wait(handle, 90).data + assert receipt["store_state"] == "succeeded", receipt + attempt, = store.attempts(name) + results[name] = attempt["result"]["worker_result"] + manifest = next(store.artifact(ref["artifact_id"]) for ref in attempt["terminal"]["artifacts"] + if store.artifact(ref["artifact_id"])["name"] == "execution_manifest") + assert manifest["metadata"]["job_provenance_sha256"] == read_provenance(results[name]["job_provenance"]).sha256 + records = [store.artifact(ref["artifact_id"]) for ref in attempt["terminal"]["artifacts"]] + results[name]["saved_words"] = {record["name"]: store.read_artifact(record["artifact_id"]) + for record in records if record["format"] == "npy"} + return results + + +def binding(result: dict[str, Any]) -> dict[str, Any]: + return read_provenance(result["job_provenance"]).export()["assembler"] + + +def test_preparation_records_the_resolved_selection_and_fails_closed( + steady_source: BuildSource, monkeypatch: pytest.MonkeyPatch, +) -> None: + from solarlab.equations.implementation import verify_selection + + monkeypatch.delenv(ENVIRONMENT, raising=False) + default = steady_job(steady_source) + with equation_implementation(LEGACY): + scoped = steady_job(steady_source) + monkeypatch.setenv(ENVIRONMENT, LEGACY) + process = steady_job(steady_source) + monkeypatch.delenv(ENVIRONMENT) + assert (declared(default), declared(scoped), declared(process)) == (ASSEMBLED, LEGACY, LEGACY) + # The selection is part of the execution identity, not of the input or physics identity. + assert default.request.H_input == scoped.request.H_input and default.request.H_physics == scoped.request.H_physics + assert default.execution.manifest.execution_sha256 != scoped.execution.manifest.execution_sha256 + assert scoped.execution.manifest.execution_sha256 == process.execution.manifest.execution_sha256 + + def prepared_in_thread(target: Callable[[], Any]) -> str: + found: list[Any] = [] + thread = threading.Thread(target=lambda: found.append(target())) + thread.start() + thread.join() + return declared(found[0]) + + with equation_implementation(LEGACY): + assert prepared_in_thread(lambda: steady_job(steady_source)) == ASSEMBLED + context = contextvars.copy_context() + assert prepared_in_thread(lambda: context.run(steady_job, steady_source)) == LEGACY + monkeypatch.setenv(ENVIRONMENT, "Legacy") + with pytest.raises(ValueError, match="unknown equation implementation"): + steady_job(steady_source) + monkeypatch.delenv(ENVIRONMENT) + verify_selection(default.execution.environment) + with equation_implementation(LEGACY), pytest.raises(ValueError, match="differs from its execution manifest"): + verify_selection(default.execution.environment) + with pytest.raises(ValueError, match="differs from its execution manifest"): + verify_selection(scoped.execution.environment) + + +def test_spawned_and_queued_steady_workers_run_their_prepared_selection( + steady_source: BuildSource, tmp_path: Path, monkeypatch: pytest.MonkeyPatch, +) -> None: + from examples.research_1d.steady import load_device + from solarlab.device.compile_1d import compile_device_1d + from support.equation_provenance import expected + + monkeypatch.delenv(ENVIRONMENT, raising=False) + with equation_implementation(LEGACY): + scoped = steady_job(steady_source) + jobs = {"assembled-default": steady_job(steady_source), "legacy-scope": scoped} + monkeypatch.setenv(ENVIRONMENT, LEGACY) + jobs["legacy-process"] = steady_job(steady_source) + monkeypatch.delenv(ENVIRONMENT) + with equation_implementation(ASSEMBLED): # the submitting context does not select; the manifest does + results = run(jobs, tmp_path) + device = compile_device_1d(load_device(), intervals_per_layer=12) + for name, result in results.items(): + implementation = declared(jobs[name]) + assert binding(result) == expected("DC1DProblem.steady_jv", device, implementation), name + assert results["legacy-scope"]["steady_result"] == results["assembled-default"]["steady_result"] + assert results["legacy-scope"]["saved_words"] == results["assembled-default"]["saved_words"] + assert binding(results["legacy-scope"]) == binding(results["legacy-process"]) + + +@pytest.mark.parametrize("family", ("transient", "ionic_transient", "ionic_jv")) +def test_every_1d_worker_family_records_its_parent_selection(family: str, commit: str, tmp_path: Path, + monkeypatch: pytest.MonkeyPatch) -> None: + from support.equation_provenance import expected + + monkeypatch.delenv(ENVIRONMENT, raising=False) + prepare = {"transient": transient_job, "ionic_transient": ionic_transient_job, "ionic_jv": ionic_jv_job}[family] + jobs = {} + for implementation in (ASSEMBLED, LEGACY): + with equation_implementation(implementation): + jobs[implementation] = prepare(commit) + assert declared(jobs[implementation]) == implementation + results = run(jobs, tmp_path) + device, operator, closure = device_of(family) + for implementation, result in results.items(): + assert binding(result) == expected(operator, device, implementation, closure), implementation + assert results[ASSEMBLED]["saved_words"] and results[ASSEMBLED]["saved_words"] == results[LEGACY]["saved_words"] + + +def device_of(family: str) -> tuple[Any, str, int | None]: + """The compiled device, original operator and closure node of each example worker job.""" + from examples.research_1d.ionic_steady import controls + from examples.research_1d.shared_site_ionic_fixture import prepare_confined_shared_site_ion_device + from examples.research_1d.steady import load_device + from solarlab.device.compile_1d import compile_device_1d + from solarlab.device.compile_ionic_1d import compile_ionic_device_1d + + if family == "transient": + return compile_device_1d(load_device(), intervals_per_layer=12), "BackwardEuler1DStep", None + device = compile_ionic_device_1d(prepare_confined_shared_site_ion_device(), intervals_per_layer=(12, 12, 12), + ion_domain_layer="absorber", ion_domain_endpoints=("blocking", "blocking")) + operator = "IonicBackwardEuler1DStep" if family == "ionic_transient" else "Ionic1DProblem.steady_jv" + return device, operator, controls(13).inventory_row_node + + +def test_the_2d_steady_worker_records_its_parent_selection(commit: str, tmp_path: Path, + monkeypatch: pytest.MonkeyPatch) -> None: + """The 2D process example, spawned under each process setting, admits that selection's binding.""" + import json + import os + import sys + + from examples.research_1d.steady import load_device + from examples.research_2d.dc_assembly import spatial_input + from solarlab.device.compile_2d import compile_device_2d + from support.equation_provenance import expected + + archive = tmp_path / "source.tar" + subprocess.run(["git", "archive", "--format=tar", "--output", str(archive), commit, "--", "src/solarlab"], + cwd=ROOT, check=True, timeout=30) + device = compile_device_2d(load_device(), spatial_input()) + readbacks = {} + for implementation in (ASSEMBLED, LEGACY): + env = {key: value for key, value in os.environ.items() if key != ENVIRONMENT} + env.update({name: "1" for name in ("OMP_NUM_THREADS", "OPENBLAS_NUM_THREADS", "MKL_NUM_THREADS", + "VECLIB_MAXIMUM_THREADS", "NUMEXPR_NUM_THREADS", "BLIS_NUM_THREADS")}) + if implementation == LEGACY: + env[ENVIRONMENT] = LEGACY + receipt = tmp_path / (implementation + ".json") + result = subprocess.run([sys.executable, "-B", "-m", "examples.research_2d.process_steady", "run", + "--store", str(tmp_path / implementation / "Store"), "--work", str(tmp_path / implementation / "Work"), + "--run-id", "steady2d-" + implementation, "--build-source-commit", commit, "--source-archive", + str(archive), "--current-repository-head", commit, "--targets", "dark", "--receipt-json", str(receipt)], + cwd=ROOT, env=env, capture_output=True, text=True, timeout=60) + assert result.returncode == 0, result.stderr + result.stdout[-2000:] + saved = json.loads(receipt.read_text()) + worker = saved["receipt"]["worker_result"] + assert binding(worker) == expected("DC2DProblem.steady", device, implementation), implementation + assert [ENVIRONMENT, json.dumps(implementation)] in [list(item) for item in worker["capture"]["runtime"]["settings"]] + readbacks[implementation] = saved["readback"]["array_fingerprints"] + assert readbacks[ASSEMBLED] and readbacks[ASSEMBLED] == readbacks[LEGACY] diff --git a/tests/runtime/test_worker_identity.py b/tests/runtime/test_worker_identity.py new file mode 100644 index 00000000..ab0d1a84 --- /dev/null +++ b/tests/runtime/test_worker_identity.py @@ -0,0 +1,176 @@ +"""A missing startup identity cannot become the registered worker's failure.""" +from dataclasses import asdict, replace +from functools import partial +import json +import os +from types import SimpleNamespace + +import pytest + +from solarlab.experiments import execution, worker +from solarlab.io.run_store import AttemptToken, RunStore, StateConflict +from solarlab.materials.source import SourceDocument +from solarlab_server.job_service import JobSubmission, canonical +from job_route_fixtures import catalog, request as declaration +from ps_timeout_workers import identity_timeout + + +# Caller patience only: the four CPU-hog pilot's slowest case took 12.84 s. +# Use 6x the measured maximum, with a 30 s floor, rounded up to 30 s. +# Job limits stay unchanged, so hung workers still fail the assertions. +_LIVE_WORKER_WAIT_SECONDS = 90 + + +@pytest.fixture(scope="module") +def registered(): + return catalog()[0] + + +def assert_identity_readback(tmp_path, bound, handle, result, *, unavailable): + directory = tmp_path / "work" / (handle.store_id + "-" + handle.attempt_id) + terminal = json.loads((directory / "terminal.json").read_text()) + started = json.loads((directory / "started.json").read_text()) + disk_receipt = json.loads((directory / "receipt.json").read_text()) + expected = {"scope": "child_start_identity_only", "status": "unavailable", "missing_samples": 3} + with RunStore(tmp_path / "store") as store, execution.ProcessSupervisor(store, tmp_path / "work", (bound,), + max_active=1, max_pending=0, shared_rss_bytes=4 * 1024**3, shared_output_bytes=256 * 1024**2) as pool: + recovered = pool.wait(handle, 1).data + persisted = store.attempts(handle.run_id)[0]["result"] + events = [event for event in store.events(run_id=handle.run_id) if event["kind"] == "terminal"] + assert len(events) == 1 + for record in (result, disk_receipt, recovered, persisted, events[0]["payload"]["result"]): + if unavailable: + assert record["child_start_identity_observation"] == expected + else: + assert "child_start_identity_observation" not in record + assert record["worker_result"] == terminal["result"] + assert "child_start_identity_observation" not in record["worker_result"] + process = persisted["process"] + # Parent sampling stays real even when the child's startup query failed. + assert process["os_identity"]["pid"] == started["pid"] == result["pid"] + assert "child_start_identity_observation" not in process + assert started["token"] == terminal["token"] == result["token"] == process["token"] + assert process["process_joined"] and process["process_exit_observed"] + assert result["terminal_committed"] and result["signals"] == process["signals"] == [] + with pytest.raises(ChildProcessError): + os.waitpid(result["pid"], os.WNOHANG) + token = AttemptToken(**result["token"]) + for stale in (replace(token, generation=token.generation + 1), replace(token, owner_id="other-owner")): + with pytest.raises(StateConflict): + store.complete(stale, state=result["store_state"], result=persisted, + artifacts=result["terminal_artifacts"]) + assert store.attempts(handle.run_id)[0]["result"] == persisted + assert [event for event in store.events(run_id=handle.run_id) if event["kind"] == "terminal"] == events + + +@pytest.mark.parametrize("field", ["job_schema_sha256", "model_registry_sha256", "legacy_facade_sha256"]) +@pytest.mark.parametrize("misses", [1, 3]) +def test_startup_ps_timeout_preserves_real_registry_refusal(tmp_path, registered, monkeypatch, field, misses): + spec, binding = registered.prepare(JobSubmission.model_validate(declaration())) + claimed = json.loads(registered.document.content) + claimed[field] = "0" * 64 + altered = SourceDocument("explicit-inconsistent-registry-fixture", canonical(claimed)) + bound = replace(registered.worker_binding(), registry_sha256=altered.sha256) + monkeypatch.setattr(execution, "_child_main", partial(identity_timeout, misses=misses)) + with RunStore(tmp_path / "store") as store, execution.ProcessSupervisor(store, tmp_path / "work", (bound,), + max_active=1, max_pending=0, shared_rss_bytes=4 * 1024**3, shared_output_bytes=256 * 1024**2) as pool: + handle = pool.submit("bad-registry", bound.id, replace(spec.request, registry=altered), spec.limits, + execution=binding) + result = pool.wait(handle, _LIVE_WORKER_WAIT_SECONDS).data + directory = tmp_path / "work" / (store.store_id + "-" + handle.attempt_id) + terminal = json.loads((directory / "terminal.json").read_text()) + assert result["store_state"] == "failed" and result["worker_result"]["reason"] == "worker_exception" + assert "registry" in result["worker_result"]["detail"], result + assert result["worker_result"]["exception_type"] == "ValueError" + assert not result["terminal_artifacts"] and result["process_joined"] + assert result["process_exit_observed"] and result["pid"] != os.getpid() + assert result["worker_result"] == terminal["result"] + events = [event for event in store.events(run_id="bad-registry") if event["kind"] == "terminal"] + assert len(events) == 1 + assert events[0]["payload"]["result"]["worker_result"] == terminal["result"] + started = json.loads((directory / "started.json").read_text()) + observation = started["os_identity_observation"] + assert observation["missing_samples"] == misses + assert observation["attempts"] == (2 if misses == 1 else 3) + assert (started["os_identity"] is None) == (misses == 3) + assert started["pid"] == result["pid"] + probes = json.loads((directory / "identity-probe.json").read_text())["observations"] + assert len(probes) == observation["attempts"] + assert all(row["pid"] == result["pid"] and row["ppid"] == os.getpid() for row in probes) + assert all(row["timeout"] == 0.5 and not row["started_record_exists"] for row in probes) + assert [row["outcome"] for row in probes] == ["injected_timeout"] * misses + (["controlled_success"] if misses == 1 else []) + assert_identity_readback(tmp_path, bound, handle, result, unavailable=misses == 3) + + +@pytest.mark.parametrize("misses", [0, 3]) +def test_successful_worker_retains_only_degraded_startup_observation(tmp_path, registered, monkeypatch, misses): + spec, binding = registered.prepare(JobSubmission.model_validate(declaration())) + bound = registered.worker_binding() + monkeypatch.setattr(execution, "_child_main", partial(identity_timeout, misses=misses)) + with RunStore(tmp_path / "store") as store, execution.ProcessSupervisor(store, tmp_path / "work", (bound,), + max_active=1, max_pending=0, shared_rss_bytes=4 * 1024**3, shared_output_bytes=256 * 1024**2) as pool: + handle = pool.submit("identity-success", bound.id, spec.request, spec.limits, execution=binding) + result = pool.wait(handle, _LIVE_WORKER_WAIT_SECONDS).data + assert result["store_state"] == result["proposed_state"] == "succeeded", result + assert result["terminal_artifacts"] and result["process_joined"] + directory = tmp_path / "work" / (store.store_id + "-" + handle.attempt_id) + started = json.loads((directory / "started.json").read_text()) + assert started["os_identity_observation"]["missing_samples"] == misses + assert (started["os_identity"] is None) == (misses == 3) + assert_identity_readback(tmp_path, bound, handle, result, unavailable=misses == 3) + + +@pytest.mark.parametrize("case", ["matching", "token", "bool_generation", "pid", "scope", "observed", "bool_count", + "negative_count", "too_many", "malformed", "missing"]) +def test_startup_diagnostic_requires_own_fence_and_unavailable_observation(tmp_path, case): + token = AttemptToken("store", "run", "attempt", "owner", 1) + observation = {"scope": "child_start_identity_only", "status": "unavailable", "missing_samples": 3} + started = {"token": asdict(token), "pid": 123, "os_identity": None, "os_identity_observation": observation} + if case == "token": + started["token"]["generation"] += 1 + elif case == "bool_generation": + started["token"]["generation"] = True + elif case == "pid": + started["pid"] = 456 + elif case == "scope": + observation["scope"] = "parent_rss" + elif case == "observed": + observation["status"] = "observed" + elif case in {"bool_count", "negative_count", "too_many"}: + observation["missing_samples"] = {"bool_count": True, "negative_count": -1, "too_many": 4}[case] + if case != "missing": + (tmp_path / "started.json").write_text("{" if case == "malformed" else json.dumps(started)) + pool = object.__new__(execution.ProcessSupervisor) + job = SimpleNamespace(directory=tmp_path, token=token, pid=123) + diagnostic = pool._child_start_identity_diagnostic(job) + assert diagnostic == ({"child_start_identity_observation": observation} if case == "matching" else {}) + + +def test_startup_identity_bounds_match_supervisor_rss_sampler(): + assert worker._STARTUP_IDENTITY_MAX_MISSING_SAMPLES == execution._RSS_MAX_MISSING_SAMPLES == 3 + assert worker._STARTUP_IDENTITY_MAX_GAP_SECONDS == execution._RSS_MAX_GAP_SECONDS == 2.0 + + +@pytest.mark.parametrize("mode", ["missing", "late_success", "late_retry"]) +def test_child_identity_observation_stops_at_existing_bounds(monkeypatch, mode): + clock = [0.0] + calls = [] + + def sample(pids): + calls.append(pids) + if mode == "missing": + return {} + if mode == "late_retry" and len(calls) == 1: + clock[0] = 0.5 + return {} + clock[0] = 2.0 + return {123: {"pid": 123, "start_lstart": "too late", "rss_bytes": 1}} + + monkeypatch.setattr(worker, "time", SimpleNamespace(monotonic=lambda: clock[0])) + monkeypatch.setattr(worker, "_process_info", sample) + identity, observation = worker._observe_child_identity(123) + assert identity is None + assert len(calls) == {"missing": 3, "late_success": 1, "late_retry": 2}[mode] + assert observation["status"] == "unavailable" + assert observation["max_missing_samples"] == execution._RSS_MAX_MISSING_SAMPLES == 3 + assert observation["max_gap_seconds"] == execution._RSS_MAX_GAP_SECONDS == 2.0 diff --git a/tests/suite_support.py b/tests/suite_support.py new file mode 100644 index 00000000..4ec19532 --- /dev/null +++ b/tests/suite_support.py @@ -0,0 +1,30 @@ +"""Test prerequisites; production source admission remains authoritative.""" +from __future__ import annotations + +from pathlib import Path +import subprocess + + +def changed_bound_core_sources(root: Path) -> tuple[str, ...]: + """List changed Python sources that the runtime binds to committed core.""" + commands = ( + ["git", "diff", "--name-only", "-z", "HEAD", "--", "src/solarlab"], + ["git", "ls-files", "--others", "--exclude-standard", "-z", "--", "src/solarlab"], + ) + changed: set[str] = set() + for command in commands: + result = subprocess.run(command, cwd=root, capture_output=True, text=True, timeout=10) + if result.returncode: + raise RuntimeError("a Git checkout is required to verify committed core sources") + changed.update(path for path in result.stdout.split("\0") if path.endswith(".py")) + return tuple(sorted(changed)) + + +def clean_core_skip_reason(paths: tuple[str, ...]) -> str | None: + if not paths: + return None + return ( + "requires clean committed core sources; uncommitted bound files: " + + ", ".join(paths) + + "; run this source-binding test in a clean checkout" + ) diff --git a/tests/support/__init__.py b/tests/support/__init__.py new file mode 100644 index 00000000..3ccb097c --- /dev/null +++ b/tests/support/__init__.py @@ -0,0 +1 @@ +"""Test-only adapters shared by numerical migration checks.""" diff --git a/tests/support/assembly_baselines.json b/tests/support/assembly_baselines.json new file mode 100644 index 00000000..75dc3c76 --- /dev/null +++ b/tests/support/assembly_baselines.json @@ -0,0 +1 @@ +{"capture":{"kind":"initial","machine":"arm64","numpy":"2.5.3","numpy_blas":"accelerate","numpy_lapack":"accelerate","python":"3.13.15","review_reference":"","scipy":"1.18.1","scipy_blas":"accelerate","scipy_lapack":"accelerate","source_commit":"2ec8d1ba017d98174287124790d58770299dbcb0","system":"Darwin"},"encoding":"row-block sorted CSR; int64 indices, float64/complex128 words little-endian; bool uint8; stored zeros retained","factories":{"be:contacts":{"blocks":[["phi",0,13],["n",13,26],["p",26,39]],"states":{"equilibrium_reference":{"alpha":0.0,"coordinate_form":"moving_boundary_lift_v1","dt_s":1e-08,"frequency_Hz":0.0,"generation_scale":0.0,"history_sha256":510,"previous_voltage_V":0.0,"quantities":{"F":{"blocks":[{"nnz":11,"shape":[13],"values_sha256":512},{"nnz":9,"shape":[13],"values_sha256":513},{"nnz":9,"shape":[13],"values_sha256":829}],"dtype":" slice: + return slice(self.start, self.stop) + + +def _dense(value: Any) -> np.ndarray: + if issparse(value): + entries = value.tocoo(copy=True) + entries.sum_duplicates() + result = np.zeros(entries.shape, dtype=entries.dtype) + # Assignment preserves explicitly stored signed zeros. Sparse toarray + # may instead add each entry to +0, concealing a bitwise difference. + result[entries.row, entries.col] = entries.data + else: + result = np.asarray(value) + if result.dtype.kind not in "biufc" or not np.all(np.isfinite(result)): + raise ValueError("assembly quantities must be finite numeric arrays") + return result + + +def _vector(value: Any, size: int) -> np.ndarray: + array = _dense(value) + if array.shape == (size, 1): + array = array[:, 0] + if array.shape != (size,): + raise ValueError("assembly vector shape differs from the block layout") + result = np.array(array, copy=True) + result.setflags(write=False) + return result + + +def _matrix(value: Any, size: int) -> Any: + if getattr(value, "shape", np.shape(value)) != (size, size): + raise ValueError("assembly matrix shape differs from the block layout") + if not issparse(value): + dense = np.array(_dense(value), copy=True) + dense.setflags(write=False) + return dense + result = csc_matrix(value, copy=True) + # Coalesce only the represented matrix entries, without numerical rounding + # policy changes, dropping small values, or eliminating signed zeros. + result.sum_duplicates() + result.sort_indices() + if not np.all(np.isfinite(result.data)): + raise ValueError("assembly quantities must be finite") + for array in (result.data, result.indices, result.indptr): + array.setflags(write=False) + return result + + +@dataclass(frozen=True) +class Extraction: + """A capture usable without importing any eventual production Assembler. + + ``blocks`` accepts either Block records or ``{name: (start, stop)}``. + S_u is exposed as both ``dS_du`` and the ``S_u`` property. Quantities absent + from the original interface stay None. ``extra`` carries the original + step residual/Jacobian or AC system quantities. Boundary masks are global + row vectors and are compared just as strictly as numerical coefficients. + """ + + F: Any + J: Any + blocks: tuple[Block, ...] | Mapping[str, tuple[int, int]] + S: Any = None + dS_du: Any = None + M: Any = None + extra: Mapping[str, Any] = field(default_factory=dict) + boundary_masks: Mapping[str, Any] = field(default_factory=dict) + provenance: Mapping[str, str] = field(default_factory=dict) + + def __post_init__(self) -> None: + blocks = (tuple(Block(name, *bounds) for name, bounds in self.blocks.items()) + if isinstance(self.blocks, Mapping) else tuple(self.blocks)) + end, names = 0, set() + for block in blocks: + if (not block.name or block.name in names or type(block.start) is not int + or type(block.stop) is not int or block.start != end or block.stop <= block.start): + raise ValueError("blocks must be unique, contiguous named half-open ranges") + names.add(block.name) + end = block.stop + if not blocks: + raise ValueError("at least one variable block is required") + object.__setattr__(self, "blocks", blocks) + object.__setattr__(self, "F", _vector(self.F, end)) + object.__setattr__(self, "J", _matrix(self.J, end)) + if self.S is not None: + object.__setattr__(self, "S", _vector(self.S, end)) + for name in ("dS_du", "M"): + value = getattr(self, name) + if value is not None: + object.__setattr__(self, name, _matrix(value, end)) + extra = {} + for name, value in self.extra.items(): + if name in {"F", "J", "S", "dS_du", "M"} or name.startswith("mask:"): + raise ValueError("extra quantity name shadows a canonical quantity") + shape = getattr(value, "shape", np.shape(value)) + extra[name] = _matrix(value, end) if shape == (end, end) else _vector(value, end) + masks = {} + for name, value in self.boundary_masks.items(): + mask = _vector(value, end) + if mask.dtype != np.dtype(bool): + raise ValueError("boundary-row masks must be explicit boolean vectors") + masks[name] = mask + object.__setattr__(self, "extra", MappingProxyType(extra)) + object.__setattr__(self, "boundary_masks", MappingProxyType(masks)) + object.__setattr__(self, "provenance", MappingProxyType(dict(self.provenance))) + + @property + def S_u(self) -> Any: + return self.dS_du + + @property + def size(self) -> int: + return int(self.F.size) + + def quantities(self) -> dict[str, Any]: + values = {name: getattr(self, name) for name in ("F", "J", "S", "dS_du", "M") + if getattr(self, name) is not None} + values.update(self.extra) + values.update({"mask:" + name: mask for name, mask in self.boundary_masks.items()}) + return values + + +@dataclass(frozen=True) +class Tolerance: + """An explicit exception for one quantity; zero defaults retain every bit.""" + + atol: float = 0.0 + rtol: float = 0.0 + justification: str = "" + + def __post_init__(self) -> None: + if any(not math.isfinite(value) or value < 0 for value in (self.atol, self.rtol)): + raise ValueError("parity tolerances must be finite and nonnegative") + if (self.atol or self.rtol) and not self.justification.strip(): + raise ValueError("every nonzero parity tolerance requires a stated justification") + + @property + def bitwise(self) -> bool: + return self.atol == self.rtol == 0.0 + + +@dataclass(frozen=True) +class BlockDifference: + quantity: str + row_block: str + column_block: str | None + max_absolute: float + max_relative: float + changed_entries: int + bitwise_equal: bool + passed: bool + tolerance: Tolerance + + +@dataclass(frozen=True) +class Comparison: + differences: tuple[BlockDifference, ...] + issues: tuple[str, ...] + + @property + def passed(self) -> bool: + return not self.issues and all(item.passed for item in self.differences) + + def assert_equal(self) -> None: + failures = [f"{item.quantity}:{item.row_block}/{item.column_block} " + f"abs={item.max_absolute:.17g}, rel={item.max_relative:.17g}, " + f"changed={item.changed_entries}" for item in self.differences if not item.passed] + if not self.passed: + raise AssertionError("assembly parity failed: " + "; ".join((*self.issues, *failures))) + + +def _difference(reference: np.ndarray, candidate: np.ndarray, quantity: str, + row: str, column: str | None, tolerance: Tolerance) -> BlockDifference: + a, b = np.ascontiguousarray(reference), np.ascontiguousarray(candidate) + same_dtype = a.dtype == b.dtype + if same_dtype: + words_a = a.reshape(-1).view(np.uint8).reshape(a.size, a.dtype.itemsize) + words_b = b.reshape(-1).view(np.uint8).reshape(b.size, b.dtype.itemsize) + changed = int(np.count_nonzero(np.any(words_a != words_b, axis=1))) + else: + changed = a.size + dtype = np.result_type(a.dtype, b.dtype, np.float64) + delta = abs(b.astype(dtype) - a.astype(dtype)) + denominator = np.maximum(abs(a.astype(dtype)), abs(b.astype(dtype))) + relative = np.divide(delta, denominator, out=np.zeros_like(delta), where=denominator != 0) + exact = same_dtype and changed == 0 + passed = exact if tolerance.bitwise else same_dtype and bool(np.all( + delta <= tolerance.atol + tolerance.rtol * abs(a.astype(dtype)))) + return BlockDifference(quantity, row, column, float(np.max(delta, initial=0.0)), + float(np.max(relative, initial=0.0)), changed, exact, passed, tolerance) + + +def compare(reference: Extraction, candidate: Extraction, + *, tolerances: Mapping[str, Tolerance] | None = None) -> Comparison: + """Report every vector block/matrix block pair without a hidden epsilon. + + Relative differences use |candidate-reference|/max(|candidate|,|reference|), + with 0/0 reported as zero. Explicit tolerances use the usual reference- + scaled bound atol+rtol*|reference|. Bitwise mode also detects signed zeros, + dtype changes and a one-ulp difference. Layout/quantity mismatches always + fail, regardless of numeric tolerances. Source provenance may differ. + """ + left, right = reference.quantities(), candidate.quantities() + chosen = {} if tolerances is None else dict(tolerances) + if set(chosen) - set(left): + raise ValueError("tolerance names must identify an extracted reference quantity") + if any(not isinstance(value, Tolerance) for value in chosen.values()): + raise TypeError("each per-quantity tolerance must be an explicit Tolerance") + issues = [] + if reference.blocks != candidate.blocks: + issues.append("named block layout differs") + if left.keys() != right.keys(): + issues.append("quantity inventory differs") + if reference.size != candidate.size: + return Comparison((), tuple((*issues, "global coordinate count differs"))) + differences = [] + for name in sorted(left.keys() & right.keys()): + a, b = _dense(left[name]), _dense(right[name]) + if a.shape != b.shape: + issues.append(name + " shape differs") + continue + tolerance = chosen.get(name, Tolerance()) + for row in reference.blocks: + if not isinstance(row, Block): # Narrow the public mapping/tuple input type. + raise TypeError("normalized block records required") + if a.ndim == 1: + differences.append(_difference(a[row.indices], b[row.indices], name, row.name, None, tolerance)) + else: + for column in reference.blocks: + if not isinstance(column, Block): + raise TypeError("normalized block records required") + region = (row.indices, column.indices) + differences.append(_difference(a[region], b[region], name, row.name, column.name, tolerance)) + return Comparison(tuple(differences), tuple(issues)) diff --git a/tests/support/assembly_references.py b/tests/support/assembly_references.py new file mode 100644 index 00000000..5f154e54 --- /dev/null +++ b/tests/support/assembly_references.py @@ -0,0 +1,343 @@ +"""Live reference factories for later M-class assembly migrations. + +These are finite mathematical probes, not accepted steady/transient/AC results. +No nonlinear or frequency solve is called. Steppers retain their actual +physical-inventory secants and expose R_step/J_step beside canonical F/J. +Small-signal cases retain their actual constrained system, drives and masks. +""" + +from __future__ import annotations + +from collections.abc import Mapping +from dataclasses import dataclass +import hashlib +from pathlib import Path +import sys +from types import MappingProxyType +from typing import Any, TypeAlias + +import numpy as np + +from examples.research_1d.field_transport import prepare_case as prepare_ct_1d +from examples.research_1d.immobile_ions import prepare_immobile_ion_device +from examples.research_1d.ionic_multilayer import prepare_confined_dual_ion_device, prepare_confined_ion_device +from examples.research_1d.ionic_residual import prepare_single_ion_device +from examples.research_1d.multiple_ionic_domains import DOMAINS, INTERVALS, prepare_multiple_ionic_device +from examples.research_1d.shared_site_ionic_fixture import prepare_confined_shared_site_ion_device +from examples.research_1d.steady import load_device +from examples.research_2d.contacts import contact_device +from examples.research_2d.dc_assembly import spatial_input +from examples.research_2d.field_transport import prepare_case as prepare_ct_2d +from examples.research_2d.grains import spatial_input as grain_input +from solarlab.device.compile_1d import compile_device_1d +from solarlab.device.compile_2d import compile_device_2d +from solarlab.device.compile_ionic_1d import compile_ionic_device_1d +from solarlab.device.compile_multiple_ionic_1d import compile_multiple_ionic_device_1d +from solarlab.equations.dc_1d import CompiledDevice1D, DC1DProblem +from solarlab.equations.dc_2d import CompiledDevice2D, DC2DProblem +from solarlab.equations.ionic_1d import CompiledIonicDevice1D, Ionic1DProblem +from solarlab.equations.ionic_small_signal import IonicSmallSignal1D +from solarlab.equations.multiple_ionic_1d import CompiledMultipleIonicDevice1D, MultipleIonic1DProblem +from solarlab.equations.multiple_ionic_small_signal import MultipleIonicSmallSignal1D +from solarlab.solvers.nonlinear.ionic_1d import ConstrainedIonic1DProblem +from solarlab.solvers.nonlinear.multiple_ionic_1d import ConstrainedMultipleIonic1DProblem +from solarlab.solvers.time.backward_euler import BackwardEuler1DStep, storage_mask, inventory_m2 as carrier_inventory +from solarlab.solvers.time.ionic_backward_euler import IonicBackwardEuler1DStep, inventory_m2 as ion_inventory +from solarlab.solvers.time.multiple_ionic_backward_euler import MultipleIonicBackwardEuler1DStep +from .assembly_parity import Block, Extraction + +ROOT = Path(__file__).resolve().parents[2] +STATE_NAMES = ("equilibrium_reference", "forward_bias", "illuminated", "seeded_perturbation") +Device: TypeAlias = CompiledDevice1D | CompiledDevice2D | CompiledIonicDevice1D | CompiledMultipleIonicDevice1D + + +def _frozen(value: Any) -> np.ndarray: + result = np.array(value, copy=True) + result.setflags(write=False) + return result + + +@dataclass(frozen=True) +class Probe: + name: str + voltage_V: float + generation_scale: float + u: np.ndarray + udot: np.ndarray + alpha: float + previous_u: np.ndarray + previous_voltage_V: float + dt_s: float + frequency_Hz: float + coordinate_form: str + ac_perturbation: np.ndarray + + def __post_init__(self) -> None: + for name in ("u", "udot", "previous_u", "ac_perturbation"): + object.__setattr__(self, name, _frozen(getattr(self, name))) + + +@dataclass(frozen=True) +class ReferenceCase: + name: str + family: str + variant: str + target_class: str + device: Device + blocks: tuple[Block, ...] + states: tuple[Probe, ...] + fixture_sources: tuple[str, ...] + + def extract(self, state: Probe | str) -> Extraction: + selected = next(p for p in self.states if p.name == state) if isinstance(state, str) else state + if not any(selected is probe for probe in self.states): + raise ValueError("the probe must belong to this independently built reference case") + return extract(self, selected) + + +@dataclass(frozen=True) +class ReferenceFactory: + name: str + family: str + variant: str + target_class: str + + def __call__(self) -> ReferenceCase: + device, fixtures = _device(self.family, self.variant) + blocks = _blocks(device) + return ReferenceCase(self.name, self.family, self.variant, self.target_class, + device, blocks, _probes(device, self.family), fixtures) + + +def _device(family: str, variant: str) -> tuple[Device, tuple[str, ...]]: + if family == "dc2d": + ct, contacts, grain = variant in {"ct", "composed"}, variant in {"contacts", "composed"}, variant in {"grain", "composed"} + prepared = prepare_ct_2d() if ct else load_device() + if contacts: + prepared = contact_device(prepared=prepared) + sources = ["examples/research_1d/steady.py", "examples/research_2d/dc_assembly.py"] + sources.extend("examples/research_2d/" + name + ".py" for active, name in + ((ct, "field_transport"), (contacts, "contacts"), (grain, "grains")) if active) + return compile_device_2d(prepared, grain_input() if grain else spatial_input()), tuple(sources) + if family in {"electronic", "be"}: + prepared = prepare_ct_1d() if variant == "ct" else load_device() + if variant == "contacts": + prepared = contact_device(prepared=prepared) + sources = ["examples/research_1d/steady.py"] + if variant == "ct": + sources.append("examples/research_1d/field_transport.py") + if variant == "contacts": + sources.append("examples/research_2d/contacts.py") + return compile_device_1d(prepared, intervals_per_layer=(4, 4, 4)), tuple(sources) + if family.startswith("multiple"): + prepared = prepare_multiple_ionic_device(kind="positive" if variant == "immobile" else variant, + right_immobile=variant == "immobile") + return compile_multiple_ionic_device_1d(prepared, intervals_per_layer=INTERVALS, ion_domains=DOMAINS), ( + "examples/research_1d/multiple_ionic_domains.py", "examples/research_1d/ionic_multilayer.py") + sources = ["examples/research_1d/ionic_multilayer.py"] + if variant in {"single", "immobile_single"}: + prepared = prepare_single_ion_device(diffusion_only=True) if variant == "single" else prepare_immobile_ion_device("single") + sources += ["examples/research_1d/ionic_residual.py", "examples/research_1d/immobile_ions.py"] + return compile_ionic_device_1d(prepared, intervals_per_layer=12), tuple(sources) + if variant == "confined": + prepared = prepare_confined_ion_device() + elif variant == "dual": + prepared = prepare_confined_dual_ion_device() + elif variant == "shared": + prepared = prepare_confined_shared_site_ion_device() + sources.append("examples/research_1d/shared_site_ionic_fixture.py") + elif variant == "immobile": + prepared = prepare_immobile_ion_device("shared_mixed") + sources += ["examples/research_1d/immobile_ions.py", "examples/research_1d/shared_site_ionic_fixture.py"] + else: + raise ValueError("unknown current reference variant: " + variant) + return compile_ionic_device_1d(prepared, intervals_per_layer=(4, 4, 4), + ion_domain_layer="absorber", ion_domain_endpoints=("blocking", "blocking")), tuple(sources) + + +def _blocks(device: Device) -> tuple[Block, ...]: + n = device.node_count + blocks = [Block("phi", 0, n), Block("n", n, 2 * n), Block("p", 2 * n, 3 * n)] + if isinstance(device, CompiledIonicDevice1D): + blocks.extend(Block(f"ion:{device.domain_layer_id}:{name}", part.start, part.stop) + for name, part in zip(device.ion_species_names, device.ion_species_slices)) + elif isinstance(device, CompiledMultipleIonicDevice1D): + blocks.extend(Block(f"ion:{domain}:{name}", part.start, part.stop) + for domain, species in device.ion_species_slices.items() for name, part in species.items()) + return tuple(blocks) + + +def _coordinates(device: Device, voltage: float) -> np.ndarray: + if isinstance(device, (CompiledIonicDevice1D, CompiledMultipleIonicDevice1D)): + return device.initial_state(voltage_V=voltage).u.copy() + column = device.column if isinstance(device, CompiledDevice2D) else device + reference = np.r_[column.reference_potential_V, np.zeros(2 * column.node_count)] + values = column.rebase_coordinates(reference, 0.0, voltage) + return device.extrude_coordinates(values) if isinstance(device, CompiledDevice2D) else values + + +def _probes(device: Device, family: str) -> tuple[Probe, ...]: + previous = _coordinates(device, 0.0) + size, n = previous.size, device.node_count + generator = np.random.default_rng(471903) + direction = np.r_[3e-5 * generator.normal(size=n), .012 * generator.normal(size=size - n)] + ac = (generator.normal(size=size) + 1j * generator.normal(size=size)) * 1e-4 + result = [] + for index, name in enumerate(STATE_NAMES): + voltage, generation = (0.0 if index == 0 else .002), (0.0 if index < 2 else 1.0) + u = _coordinates(device, voltage) + derivative = np.zeros(size) + if index == 3: + u += direction + derivative = direction * .1 + result.append(Probe(name, voltage, generation, u, derivative, 3.0 if index == 3 else 0.0, + previous, 0.0, 1e-8 if family == "be" else 1e-3, (0.0, 1e3, 1e4, 37.0)[index], + "moving_boundary_lift_v1" if index % 2 == 0 else "fixed_reference_v1", ac)) + return tuple(result) + + +def _problem(device: Device, state: Probe) -> Any: + cls: Any = (DC2DProblem if isinstance(device, CompiledDevice2D) else + MultipleIonic1DProblem if isinstance(device, CompiledMultipleIonicDevice1D) else + Ionic1DProblem if isinstance(device, CompiledIonicDevice1D) else DC1DProblem) + return cls(device, state.voltage_V, state.generation_scale) + + +def _physical_storage(problem: Any, u: np.ndarray) -> np.ndarray: + """Reuse existing physical inventory readers and the actual algebraic mask.""" + device, n = problem.device, problem.device.node_count + if isinstance(problem, MultipleIonic1DProblem): + return np.asarray(problem.physical_storage(u)) + state = device.state(u, voltage_V=problem.voltage_V) + if isinstance(problem, Ionic1DProblem): + carrier, _ = ion_inventory(device, state) + component = device.electronic_component + ions = [ion_inventory(device, state, species=name)[1] for name in device.ion_species_names] + else: + carrier, component, ions = carrier_inventory(device, state), device, [] + carrier = np.where(storage_mask(component), carrier, 0.0) + return np.concatenate((np.zeros(n), carrier.ravel(), *ions)) + + +def _boundary_masks(device: Device, blocks: tuple[Block, ...]) -> dict[str, np.ndarray]: + size, n = blocks[-1].stop, device.node_count + potential: np.ndarray + carrier: np.ndarray + ion: np.ndarray + potential, carrier, ion = (np.zeros(size, dtype=bool) for _ in range(3)) + if isinstance(device, CompiledDevice2D): + potential[device.geometry.contact_nodes] = True + carrier[n:3 * n] = device.fixed_carrier_mask.ravel() + else: + potential[[0, n - 1]] = True + component = device if isinstance(device, CompiledDevice1D) else device.electronic_component + for channel in component.channels: + if channel.kind == "fixed_reservoir": + offset = n if channel.carrier == "n" else 2 * n + carrier[offset + (0 if channel.side == "left" else n - 1)] = True + for block in blocks[3:]: + ion[[block.start, block.stop - 1]] = True + return {"potential_fixed": potential, "carrier_fixed": carrier, "ion_boundary": ion} + + +def _mark_rows(value: Any, mask: np.ndarray) -> None: + if isinstance(value, Mapping): + for part in value.values(): + _mark_rows(part, mask) + elif isinstance(value, (tuple, list)): + for part in value: + _mark_rows(part, mask) + else: + mask[int(value)] = True + + +def extract(case: ReferenceCase, state: Probe) -> Extraction: + problem, device = _problem(case.device, state), case.device + masks = _boundary_masks(device, case.blocks) + extra: dict[str, Any] = {} + storage = mass = tangent = None + target: Any = problem + if case.family in {"ionic_constrained", "multiple_constrained"}: + cls = ConstrainedMultipleIonic1DProblem if case.family == "multiple_constrained" else ConstrainedIonic1DProblem + target = cls(problem, 1) + masks["inventory_constraint"] = np.zeros(state.u.size, dtype=bool) + masks["immobile_profile_constraint"] = np.zeros(state.u.size, dtype=bool) + _mark_rows(target.constraint_rows, masks["inventory_constraint"]) + _mark_rows(target.profile_constraint_rows, masks["immobile_profile_constraint"]) + masks["inventory_constraint"] &= ~masks["immobile_profile_constraint"] + F, J = target.residual(state.u), target.jacobian(state.u) + else: + F, J = problem.residual(state.u), problem.jacobian(state.u) + if not isinstance(problem, DC2DProblem): + storage, mass = _physical_storage(problem, state.u), problem.storage_jacobian(state.u) + tangent = -mass + extra["R_implicit"] = problem.residual(state.u, state.udot) + extra["J_implicit"] = problem.jacobian(state.u, state.udot, alpha=state.alpha) + if case.family in {"be", "ionic_be", "multiple_be"}: + cls = {"be": BackwardEuler1DStep, "ionic_be": IonicBackwardEuler1DStep, + "multiple_be": MultipleIonicBackwardEuler1DStep}[case.family] + target = cls(problem, device.state(state.previous_u, voltage_V=state.previous_voltage_V), state.dt_s) + extra.update(R_step=target.residual(state.u), J_step=target.jacobian(state.u)) + if case.family in {"ionic_ac", "multiple_ac"}: + operator: Any = IonicSmallSignal1D if case.family == "ionic_ac" else MultipleIonicSmallSignal1D + target = operator(problem, device.state(state.u, voltage_V=state.voltage_V), state.coordinate_form) + mode = "frozen" if case.family == "ionic_ac" and state.name == "seeded_perturbation" else "mobile" + system = target.system(state.frequency_Hz, voltage_phasor_V=complex(.01, .002), ion_mode=mode) + omega = 2 * np.pi * state.frequency_Hz + matrix = system.jacobian + 1j * omega * system.storage_jacobian + rhs = system.rhs + 1j * omega * system.rhs_rate + known: np.ndarray = np.zeros(state.u.size, dtype=complex) + masks["ac_fixed"] = np.zeros(state.u.size, dtype=bool) + for row, value in system.fixed_coordinates.items(): + known[row], masks["ac_fixed"][row] = value, True + masks["ac_original_enforced"] = np.zeros(state.u.size, dtype=bool) + masks["ac_original_enforced"][list(system.original_rows_enforced)] = True + masks["ac_inventory_constraint"] = np.zeros(state.u.size, dtype=bool) + masks["ac_immobile_constraint"] = np.zeros(state.u.size, dtype=bool) + _mark_rows(system.constraint_rows, masks["ac_inventory_constraint"]) + _mark_rows(getattr(system, "immobile_constraint_rows", {}), masks["ac_immobile_constraint"]) + extra.update(J_ac=system.jacobian, M_ac=system.storage_jacobian, A_ac=matrix, + R_ac=matrix @ state.ac_perturbation - rhs, rhs_ac=system.rhs, rhs_rate_ac=system.rhs_rate, + fixed_ac=known, lift_ac=system.coordinate_lift_per_V, + original_R_ac=target.original_residual(state.ac_perturbation, state.frequency_Hz, + voltage_phasor_V=complex(.01, .002))) + # Capture the actual class-owned linearization, not a re-evaluation + # that could hide a future AC migration error. + J, mass, tangent = target.jacobian, target.storage_jacobian, -target.storage_jacobian + module = sys.modules[type(target).__module__] + if module.__file__ is None: + raise ValueError("reference classes require actual source files") + source = Path(module.__file__).resolve() + if not source.is_relative_to(ROOT / "src"): + raise ValueError("reference production class was imported outside this checkout") + provenance = {"factory": case.name, "state": state.name, "compiled_identity": device.identity, + "target_class": type(target).__module__ + "." + type(target).__name__, + "target_source": str(source.relative_to(ROOT)), "target_sha256": hashlib.sha256(source.read_bytes()).hexdigest(), + "state_sha256": hashlib.sha256(state.u.tobytes()).hexdigest(), + "interpretation": "mathematical reference input; no nonlinear solve or accepted-state claim"} + provenance.update({"fixture:" + name: hashlib.sha256((ROOT / name).read_bytes()).hexdigest() + for name in case.fixture_sources}) + return Extraction(F, J, case.blocks, storage, tangent, mass, extra, masks, provenance) + + +def _registry() -> Mapping[str, ReferenceFactory]: + records: list[ReferenceFactory] = [] + groups = ( + ("ionic", "Ionic1DProblem", ("single", "confined", "dual", "shared", "immobile", "immobile_single")), + ("ionic_constrained", "ConstrainedIonic1DProblem", ("confined", "dual", "shared", "immobile", "immobile_single")), + ("multiple", "MultipleIonic1DProblem", ("positive", "independent", "shared", "immobile")), + ("multiple_constrained", "ConstrainedMultipleIonic1DProblem", ("positive", "independent", "shared", "immobile")), + ("electronic", "DC1DProblem[field_transport]", ("ct",)), + ("dc2d", "DC2DProblem", ("fixed", "contacts", "ct", "grain", "composed")), + ("ionic_ac", "IonicSmallSignal1D", ("confined", "shared", "immobile")), + ("multiple_ac", "MultipleIonicSmallSignal1D", ("positive",)), + ("be", "BackwardEuler1DStep", ("fixed", "contacts", "ct")), + ("ionic_be", "IonicBackwardEuler1DStep", ("confined", "dual", "shared", "immobile")), + ("multiple_be", "MultipleIonicBackwardEuler1DStep", ("positive", "independent", "shared", "immobile")), + ) + for family, target, variants in groups: + records.extend(ReferenceFactory(family + ":" + variant, family, variant, target) for variant in variants) + return MappingProxyType({record.name: record for record in records}) + + +REFERENCE_FACTORIES = _registry() diff --git a/tests/support/density_seed_activation.py b/tests/support/density_seed_activation.py new file mode 100644 index 00000000..6c60f00f --- /dev/null +++ b/tests/support/density_seed_activation.py @@ -0,0 +1,108 @@ +"""Test-only BE activation: no production constructor/driver file is edited.""" + +from contextlib import contextmanager +import hashlib +from typing import Any + +import numpy as np + +from solarlab.equations.dc_1d import CompiledDevice1D +from solarlab.experiments import transient +from solarlab.solvers.nonlinear.problem import CallableProblem +from solarlab.solvers.time.bdf_1d import BDFDrive +from solarlab.solvers.time.carrier_seed import DensitySeedContext, recover_density_seed, stagnation_basin_signature + + +def _closure(function: Any) -> dict[str, Any]: + return dict(zip(function.__code__.co_freevars, (cell.cell_contents for cell in function.__closure__ or ()))) + + +@contextmanager +def injected_BE_density_recovery(request, drive: BDFDrive, ledger: list[dict[str, Any]], *, enabled: bool): + """Bind the exact original step/deadline through test-only closure inspection. + + Production hooks must pass that context explicitly; this shim is evidence + only. It runs the original seed first and adds accounting only on recovery. + """ + old_step, old_newton, old_accounting = transient.BackwardEuler1DStep, transient.solve_newton, transient.step_accounting + current = None + index = 0 + records: dict[int, list[dict[str, Any]]] = {} + + class BoundStep(old_step): + def __post_init__(self): + nonlocal current, index + super().__post_init__() + current = self + index += 1 + + def perform(problem, guess, settings, **kwargs): + original = old_newton(problem, guess, settings, **kwargs) + if not enabled or not stagnation_basin_signature(original, settings.tolerance): + return original + step = current + if step is None or index >= len(request.times_s): + raise ValueError("test-only BE context has no matching physical step") + end = float(request.times_s[index]) + exact = np.flatnonzero(drive.times_s == end) + if exact.size != 1: + return original + left, right = drive.left_values[int(exact[0])], drive.right_values[int(exact[0])] + if (left[1] != 0.0 or right[1] <= 0.0 or left[0] != right[0] + or request.generation_scale[index - 1] != 0.0 + or step.endpoint.generation_scale != right[1] + or step.previous.voltage_V != right[0] or step.endpoint.voltage_V != right[0]): + return original + if not isinstance(problem, CallableProblem): + raise ValueError("BE recovery requires the original counted callable target") + enclosing = _closure(problem.residual_function) + if enclosing.get("step") is not step: + raise ValueError("BE recovery target differs from the original complete step") + checkpoint = _closure(enclosing["evaluate"])["checkpoint"] + device = step.endpoint.device + + def validate(): + if (type(device) is not CompiledDevice1D or step.previous.device_sha256 != device.identity + or step.previous.u.shape != (3 * device.node_count,) + or not {"ion_free", "classical_1d_dc", "maxwell_boltzmann"} <= set(device.capabilities) + or step.dt_s != end - float(request.times_s[index - 1])): + raise ValueError("BE recovery device/reference/full-step binding differs") + + def fingerprint(): + digest = hashlib.sha256() + for values in (step.previous.u, step.previous.potential_V, + step.previous.electron_density_m3, step.previous.hole_density_m3): + digest.update(values.tobytes()) + digest.update(step.previous.device_sha256.encode()) + digest.update(float(step.previous.voltage_V).hex().encode()) + return digest.hexdigest() + + context = DensitySeedContext(device, step.endpoint.voltage_V, + {"policy": "dark_generation_stagnation_density_v1", "device_identity": device.identity, + "coordinate_form": "electrode_quasi_fermi_1d_v1", "source_knot_s": end, + "left_source": left.copy(), "right_source": right.copy(), + "complete_target": "original BackwardEuler1DStep; frozen right-endpoint source convention"}, + validate, fingerprint, checkpoint, + deadline_exceptions=(TimeoutError, transient._WallBudgetExceeded)) + record = {"stage": "BE_main", "physical_attempt_index": index - 1, + "start_s": float(request.times_s[index - 1]), "end_s": end, + "order": 1, "coefficients": np.array([1.0, -1.0])} + ledger.append(record) + records.setdefault(id(step), []).append(record) + return recover_density_seed(problem, guess, original, settings, context, record, + convergence_norm=kwargs.get("convergence_norm")) + + def accounting(step, u): + data = old_accounting(step, u) + attached = records.get(id(step)) + if attached: + data["density_seed_recoveries"] = tuple(attached) + data["density_seed_work_totals"] = {key: sum(r["seed_work"][key] for r in attached) + for key in attached[0]["seed_work"]} + return data + + transient.BackwardEuler1DStep, transient.solve_newton, transient.step_accounting = BoundStep, perform, accounting + try: + yield + finally: + transient.BackwardEuler1DStep, transient.solve_newton, transient.step_accounting = old_step, old_newton, old_accounting diff --git a/tests/support/equation_provenance.py b/tests/support/equation_provenance.py new file mode 100644 index 00000000..5afa543e --- /dev/null +++ b/tests/support/equation_provenance.py @@ -0,0 +1,186 @@ +"""The reviewed equation-binding specification and the one mask it permits (PW-C1, PW-C5). + +A legacy and an assembled run of one job admit the same Q6 record except its +``assembler`` binding; the envelope digest covers that binding too. ``split`` +verifies an envelope, then separates exactly that binding from the rest of +the record, which stays compared. ``expected`` states the binding from this +specification and Core's binding functions, independently of the production +helper that writes it. +""" + +from __future__ import annotations + +from collections.abc import Iterator, Mapping +from contextlib import ExitStack, contextmanager +import copy +from typing import Any +from unittest import mock + +from solarlab.equations.assembly.classical_1d import classical_dc_1d +from solarlab.equations.dc_1d import CompiledDevice1D +from solarlab.reproducibility.job_provenance import digest, read_provenance + +SCHEMA = "solarlab.equation-binding.v1" +# Original operator label: analysis kind, assembled operator, Assemblers evaluated besides the system. +OPERATORS: dict[str, tuple[str, str, tuple[str, ...]]] = { + "DC1DProblem.steady_jv": ("steady", "AssembledDC1DProblem.steady_jv", ()), + "BackwardEuler1DStep": ("transient", "BackwardEuler1DStep(AssembledStorage1D)", ()), + "DC1DProblem.small_signal": ("ac", "AssembledDC1DProblem.small_signal", ()), + "Ionic1DProblem.steady_jv": ("steady", "AssembledIonic1DProblem.steady_jv", ("closure", "electronic")), + "Ionic1DProblem.initialization": ("initialization", "AssembledIonic1DProblem.initialization", + ("closure", "electronic")), + "IonicBackwardEuler1DStep": ("transient", "AssembledIonicBackwardEuler1DStep", ("closure", "electronic")), + "IonicSmallSignal1D": ("ac", "AssembledIonicSmallSignal1D", ("closure", "electronic")), + "MultipleIonicBackwardEuler1DStep": ("transient", "AssembledMultipleIonicBackwardEuler1DStep", + ("closure", "electronic")), + "MultipleIonicSmallSignal1D": ("ac", "AssembledMultipleIonicSmallSignal1D", ("closure", "electronic", "domains")), + "DC2DProblem.steady_jv": ("steady", "AssembledDC2DProblem.steady_jv", ()), + "DC2DProblem.steady": ("steady", "AssembledDC2DProblem.steady", ("column",)), +} +BINDING_KEYS = frozenset({"operator", "unified_assembler", "identity", "analysis_identity"}) + + +def assemblers(device: Any, roles: tuple[str, ...], closure: int | None) -> dict[str, str]: + """Each role's Assembler identity, from Core's binding functions.""" + if isinstance(device, CompiledDevice1D): + return {"system": classical_dc_1d(device).identity} + from solarlab.equations.dc_2d import CompiledDevice2D + + if isinstance(device, CompiledDevice2D): + from solarlab.equations.assembly.two_dimensional import classical_dc_2d + + two = {"system": classical_dc_2d(device).identity} + return {**two, "column": classical_dc_1d(device.column).identity} if "column" in roles else two + from solarlab.equations.assembly.ionic_1d import ionic_system, multiple_ionic_system + from solarlab.equations.multiple_ionic_1d import CompiledMultipleIonicDevice1D + + bind = multiple_ionic_system if isinstance(device, CompiledMultipleIonicDevice1D) else ionic_system + system = bind(device) + result = {"system": system.identity} + if "closure" in roles: + result["closure"] = bind(device, inventory_row_node=closure).identity + if "electronic" in roles: + result["electronic"] = classical_dc_1d(device.electronic_component).identity + if "domains" in roles: + result.update(("domain:" + domain.domain_layer_id, ionic_system(domain).identity) for domain in device.domains) + return result + + +def expected(operator: str, device: Any, implementation: str, closure: int | None = None) -> dict[str, Any]: + """The Q6 ``assembler`` record the job must admit under ``implementation``.""" + analysis, assembled, roles = OPERATORS[operator] + label, bound = (operator, {}) if implementation == "legacy" else (assembled, assemblers(device, roles, closure)) + return {"operator": label, "unified_assembler": bool(bound), "identity": bound.get("system"), + "analysis_identity": digest({"schema": SCHEMA, "implementation": implementation, "analysis": analysis, + "operator": label, "assemblers": bound})} + + +def split(envelope: Mapping[str, Any]) -> tuple[dict[str, Any], dict[str, Any]]: + """The verified record without its ``assembler`` binding, and that binding.""" + record = read_provenance(envelope).export() + binding = record.pop("assembler") + assert set(binding) == BINDING_KEYS + return record, binding + + +def allowed(operator: str, device: Any, closure: int | None = None) -> set[str]: + """Every Assembler identity the assembled analysis may evaluate.""" + return set(assemblers(device, OPERATORS[operator][2], closure).values()) + + +def checked(result: Any, operator: str, device: Any, implementation: str, closure: int | None = None) -> Any: + """``result`` with its admitted binding asserted, then set aside; the rest of its Q6 record stays compared.""" + record, binding = split(result.job_provenance) + assert binding == expected(operator, device, implementation, closure), binding + other = copy.copy(result) + object.__setattr__(other, "job_provenance", record) + return other + + +def checked_document(document: Any, operator: str, device: Any, implementation: str, + closure: int | None = None) -> tuple[Any, int]: + """A saved document with each Q6 envelope's binding asserted and set aside, and how many there were.""" + found = 0 + + def walk(value: Any) -> Any: + nonlocal found + if isinstance(value, dict): + if set(value) == {"sha256", "record"} and isinstance(value["record"], dict) \ + and value["record"].get("schema") == "solarlab.job-provenance.v1": + record, binding = split(value) + assert binding == expected(operator, device, implementation, closure), binding + found += 1 + return record + return {key: walk(item) for key, item in value.items()} + if isinstance(value, list): + return [walk(item) for item in value] + return value + + return walk(document), found + + +class Evaluations: + """Original-class and Assembler evaluations inside one ``counted`` block.""" + + def __init__(self) -> None: + self.original = 0 + self.assembled = 0 + self.identities: set[str] = set() + + +@contextmanager +def counted() -> Iterator[Evaluations]: + """Count the original equation residual/Jacobian calls and the Assembler evaluations (with identities).""" + from solarlab.equations.assembly.assembler import Assembler + from solarlab.equations.dc_1d import DC1DProblem + from solarlab.equations.dc_2d import DC2DProblem + from solarlab.equations.ionic_1d import Ionic1DProblem + from solarlab.equations.multiple_ionic_1d import MultipleIonic1DProblem + + observed = Evaluations() + with ExitStack() as stack: + for cls in (DC1DProblem, Ionic1DProblem, MultipleIonic1DProblem, DC2DProblem): + for name in ("residual", "jacobian"): + def original(self: Any, *args: Any, __method: Any = getattr(cls, name), **kwargs: Any) -> Any: + observed.original += 1 + return __method(self, *args, **kwargs) + stack.enter_context(mock.patch.object(cls, name, original)) + evaluate = Assembler.evaluate + + def assembled(self: Any, *args: Any, **kwargs: Any) -> Any: + observed.assembled += 1 + observed.identities.add(self.identity) + return evaluate(self, *args, **kwargs) + + stack.enter_context(mock.patch.object(Assembler, "evaluate", assembled)) + yield observed + + +@contextmanager +def one_ulp_residual() -> Iterator[list[int]]: + """Move every nonzero entry of each assembled residual one ulp toward +inf (assembled side only). + + The original classes never call ``Assembler.evaluate``, so a legacy + reference is unchanged; yields the count of perturbed systems. + """ + import dataclasses + + import numpy as np + + from solarlab.equations.assembly.assembler import Assembler + + evaluate = Assembler.evaluate + perturbed: list[int] = [] + + def mutated(self: Any, *args: Any, **kwargs: Any) -> Any: + system = evaluate(self, *args, **kwargs) + if not system.admissible: + return system + values = np.array(system.F, dtype=float, copy=True) + nonzero = values != 0.0 + values[nonzero] = np.nextafter(values[nonzero], np.inf) + perturbed.append(1) + return dataclasses.replace(system, F=values) + + with mock.patch.object(Assembler, "evaluate", mutated): + yield perturbed diff --git a/tests/support/legacy_consumers.py b/tests/support/legacy_consumers.py new file mode 100644 index 00000000..26e2945e --- /dev/null +++ b/tests/support/legacy_consumers.py @@ -0,0 +1,191 @@ +"""Solver-free retained-consumer checks derived from MilestoneA/RegenerateV1. + +Keep its source scope: non-test Python/notebook files under src, examples, +scripts and perovskite-sim, excluding the legacy library and W03 internals. +Inspect named and literal dynamic imports, plus literal browser wire transports. +Computed import/URL targets are not an execution or whole-program proof. +Unlike the archival renderer, this guard needs no archive files or Node install. +""" +from __future__ import annotations + +import ast +from dataclasses import dataclass +import json +from pathlib import Path +import re +from typing import Any, Iterable + + +SCRIPT_SCOPE = ( + "All active script and registry executor entries in the P00 graph, " + "not just these representative paths" +) +RESEARCH_SCOPE = ( + "All precision, backend, replay, certificate and archive consumers in the P00 graph" +) +_JS_COMMENTS = re.compile( + r"""('(?:\\.|[^'\\])*'|"(?:\\.|[^"\\])*"|""" + + chr(96) + r"(?:\\.|[^" + chr(96) + r"\\])*" + chr(96) + + r")|//[^\n]*|/\*[\s\S]*?\*/" +) +_TRANSPORT = re.compile(r"\b(?:fetch|EventSource)\s*(?:<[^;{}()]*>)?\s*\(") +_WIRE = re.compile(r"/api/[A-Za-z0-9_./-]+") + + +@dataclass(frozen=True) +class Consumer: + path: str + line: int + target: str + cell: int | None = None + + +def python_scope(path: str) -> bool: + """Same path exclusions as the acceptance audit; .py notebooks are scripts.""" + return ( + path.endswith((".py", ".ipynb")) + and path.startswith(("src/", "examples/", "scripts/", "perovskite-sim/")) + and not path.startswith(( + "perovskite-sim/tests/", "perovskite-sim/perovskite_sim/", + "src/solarlab_server/legacy_engine/", + )) + ) + + +def browser_scope(path: str) -> bool: + return ( + path.startswith("web/src/") and path.endswith((".ts", ".tsx")) + and ".test." not in path and "/__tests__/" not in path + ) + + +def import_consumers(path: str, source: str, cell: int | None = None) -> list[Consumer]: + """Parse source, never import it; include literal importlib aliases.""" + if not any(word in source for word in ("perovskite_sim", "backend")): + return [] + tree = ast.parse(source, filename=path) + loaders = {"import_module", "__import__"} + for node in ast.walk(tree): + if isinstance(node, ast.ImportFrom) and node.module == "importlib": + loaders.update(a.asname or a.name for a in node.names if a.name == "import_module") + found: list[Consumer] = [] + for node in ast.walk(tree): + targets: list[str] = [] + if isinstance(node, ast.ImportFrom) and node.level == 0 and node.module: + targets = [node.module + "." + name.name for name in node.names] + elif isinstance(node, ast.Import): + targets = [name.name for name in node.names] + elif isinstance(node, ast.Call) and node.args: + function = node.func + loader = (isinstance(function, ast.Name) and function.id in loaders + or isinstance(function, ast.Attribute) + and function.attr in {"import_module", "__import__"}) + argument = node.args[0] + if loader and isinstance(argument, ast.Constant) and isinstance(argument.value, str): + targets = [argument.value] + for target in targets: + if target.split(".")[0] not in {"perovskite_sim", "backend"}: + continue + # backend/jobs.py -> backend/progress.py is internal app support, + # not a second direct legacy-library consumer (AcceptanceV2). + if path.startswith("perovskite-sim/backend/") and target.split(".")[0] == "backend": + continue + found.append(Consumer(path, getattr(node, "lineno"), target, cell)) + return found + + +def scan_consumers(root: Path, paths: Iterable[str]) -> tuple[Consumer, ...]: + found: list[Consumer] = [] + for path in sorted(set(paths)): + if not python_scope(path) and not browser_scope(path): + continue + file = root / path + if not file.is_file(): + continue # Explicit registered deletions are checked independently. + source = file.read_text() + if browser_scope(path): + # Preserve strings/templates while removing comments. Transport + # calls and URL literals may occur on separate lines in the file. + code = _JS_COMMENTS.sub( + lambda match: match.group(1) or "\n" * match.group().count("\n"), source + ) + if _TRANSPORT.search(code): + found.extend(Consumer(path, code.count("\n", 0, m.start()) + 1, m.group()) + for m in _WIRE.finditer(code)) + elif path.endswith(".ipynb"): + for index, cell in enumerate(json.loads(source).get("cells", [])): + if cell.get("cell_type") != "code": + continue + code = cell.get("source", []) + code = "".join(code) if isinstance(code, list) else code + # The audit excludes IPython shell/magic directives. Preserve + # line numbering and parse all remaining Python, failing closed + # on malformed code instead of silently dropping a whole cell. + code = "\n".join("" if line.lstrip().startswith(("%", "!")) else line + for line in code.splitlines()) + found.extend(import_consumers(path, code, index)) + else: + found.extend(import_consumers(path, source)) + return tuple(sorted(set(found), key=lambda c: (c.path, c.cell or -1, c.line, c.target))) + + +def historical(row: dict[str, Any]) -> bool: + return row.get("historical") is True or row.get("status") == "historical" + + +def registration_violations( + root: Path, + registry: dict[str, Any], + p00: dict[str, Any], + consumers: Iterable[Consumer], + lanes: dict[str, Any] | None = None, +) -> list[str]: + """Require live path/owner/exit records or a proved frozen-P00 umbrella.""" + errors = [] + active = [g for g in registry["consumer_groups"] if not historical(g)] + for row in (registry["consumer_groups"] + registry.get("data_adapters", []) + + [registry["execution_facade"]]): + if historical(row): + continue + identity = row.get("id", row.get("module", "unnamed registration")) + if not row.get("owner") or not row.get("exit_tasks"): + errors.append(f"{identity}: missing owner or exit tasks") + paths = row.get("paths", [row["path"]] if "path" in row else []) + for path in paths: + if not (root / path).is_file(): + errors.append(f"{identity}: registered path missing: {path}") + explicit = {path for group in active if group.get("owner") and group.get("exit_tasks") + for path in group.get("paths", [])} + scripts = any(g.get("id") == "legacy-cli-and-registries" + and g.get("inventory_scope") == SCRIPT_SCOPE + and g.get("owner") and g.get("exit_tasks") for g in active) + research = any(g.get("id") == "retained-r1-and-reverse-research-consumers" + and g.get("inventory_scope") == RESEARCH_SCOPE + and g.get("owner") and g.get("exit_tasks") for g in active) + old_scripts = {s["current_path"] for s in p00["sources"] + if s.get("path_base") != "archive"} + missing = set() + for consumer in consumers: + path = consumer.path + covered_script = ( + scripts and path in old_scripts and path.endswith(".py") + and path.startswith(("scripts/", "perovskite-sim/scripts/", + "perovskite-sim/notebooks/")) + ) + if path not in explicit and not covered_script: + missing.add(path) + errors.extend(f"unregistered direct legacy consumer: {path}" for path in sorted(missing)) + if lanes is not None: + old_lanes = { + c["origin_key"].removeprefix("lane:"): c + for c in p00["capabilities"] if c.get("origin_key", "").startswith("lane:") + } + for name, lane in sorted(lanes.items()): + executor = str(lane.get("executor", "")) + # The accepted audit covers every configured refinement lane; + # a module prefix cannot exempt it from its exact P00 registration. + old = old_lanes.get(name, {}) + if not ((scripts or research) + and executor == old.get("registered_contract", {}).get("executor")): + errors.append(f"unregistered direct legacy refinement executor: {name}: {executor}") + return errors diff --git a/tests/support/provenance.py b/tests/support/provenance.py new file mode 100644 index 00000000..e0de95f1 --- /dev/null +++ b/tests/support/provenance.py @@ -0,0 +1,37 @@ +"""Explicit admission for fixtures that require a known checkout source record.""" +from __future__ import annotations + +from collections.abc import Iterator +from contextlib import contextmanager +import importlib.util +from pathlib import Path +import subprocess + +from solarlab.reproducibility.job_provenance import provenance_owner + + +@contextmanager +def checked_provenance_owner() -> Iterator[None]: + """Verify installed bytes before the test supplies its checkout and lock. + + Ordinary installed producers still have unknown source history unless a + caller explicitly supplies admission. Each use owns a separate job so + distinct fixture inputs cannot accidentally reuse the preceding record. + """ + root = Path(__file__).resolve().parents[2] + for package in ("solarlab", "solarlab_research", "solarlab_server"): + spec = importlib.util.find_spec(package) + if spec is None or spec.origin is None: + raise ValueError("fixture package has no source origin: " + package) + installed = Path(spec.origin).resolve().parent + names = subprocess.check_output( + ["git", "ls-files", "--cached", "--others", "--exclude-standard", "-z", + "--", "src/" + package], cwd=root, + ).decode().split("\0") + for name in filter(None, names): + source = root / name + target = installed / source.relative_to(root / "src" / package) + if not target.is_file() or target.read_bytes() != source.read_bytes(): + raise ValueError("installed fixture source differs from test checkout: " + name) + with provenance_owner(source_root=root, dirty_policy="record"): + yield diff --git a/tests/unit/assembly/conftest.py b/tests/unit/assembly/conftest.py new file mode 100644 index 00000000..52d526cc --- /dev/null +++ b/tests/unit/assembly/conftest.py @@ -0,0 +1,44 @@ +"""Local support-package import and Main's frozen digests for the assembly migration tests.""" + +from __future__ import annotations + +from collections.abc import Callable +import importlib.util +import json +from pathlib import Path +import sys +from types import ModuleType +from typing import Any + +import pytest + +# The parity harness lives in tests/support; import it as ``support.*`` without +# depending on an installed package named ``tests`` (as tests/unit/assembly_parity). +sys.path.insert(0, str(Path(__file__).resolve().parents[2])) + +ORACLE = Path(__file__).resolve().parents[1] / "assembly_parity" / "test_frozen_baselines.py" + + +@pytest.fixture(scope="session") +def frozen_oracle() -> ModuleType: + """Load the existing capture-environment guard and digest implementation.""" + spec = importlib.util.spec_from_file_location("assembly_frozen_oracle", ORACLE) + assert spec is not None and spec.loader is not None + module = importlib.util.module_from_spec(spec) + spec.loader.exec_module(module) + return module + + +@pytest.fixture(scope="session") +def frozen_digests(frozen_oracle: ModuleType) -> tuple[Callable[[Any], dict[str, Any]], dict[str, Any]]: + """Frozen outputs apply only to their recorded numerical environment. + + Live old-vs-new tests must not request this fixture. The shared guard is + also used for decoded historical seed fields, whose floating-point words + are tied to the same supported capture stack. + """ + module = frozen_oracle + document = json.loads(module.BASELINE_PATH.read_bytes()) + assert document["schema"] == module.SCHEMA + module.require_capture_environment(document["capture"]) + return module.extraction_digest, module.expand_digests(document["factories"], document["sha256"]) diff --git a/tests/unit/assembly/fixtures/dc2d_steady_seeds_v1.json b/tests/unit/assembly/fixtures/dc2d_steady_seeds_v1.json new file mode 100644 index 00000000..b49b8496 --- /dev/null +++ b/tests/unit/assembly/fixtures/dc2d_steady_seeds_v1.json @@ -0,0 +1,95 @@ +{ + "schema": "solarlab.assembly_2d.saved_numerical_seeds.v1", + "historical_state_scope": "Exact archived accepted fields; current-source physical gates are rechecked before use as a test guess; no curve or cold seed solve is repeated.", + "qualification": false, + "points": { + "dark": { + "artifact_relative_path": "Steady.json", + "artifact_sha256": "f9048faec6ba7699859e41f1e0276ffd5bd6689787ecea64b22f08941795083b", + "compiled_identity": "5ea99ca08f7520f72d15cafba1f3cedf0f98881308a19ef709f975339f28a647", + "voltage_V": 0.002, + "generation_scale": 0.0, + "u_words_le_hex": "00603fbec9dc603a0002ef1d2606d03a000070cc588e72ba00006dbe527e7c3a00c01cc197bfbbbae93e7a0c20b8813e464a790c20b8813e13fe7a0c20b8813e09d57a0c20b8813e500f790c20b8813ecc08c5014309f93e180fc5014309f93e88e9c4014309f93ed60bc5014309f93e68fac4014309f93ed58ea1e3ed637e3fcc8ea1e3ed637e3fd38ea1e3ed637e3fe78ea1e3ed637e3fee8ea1e3ed637e3fdb1801cc3899b13fdb1801cc3899b13fdc1801cc3899b13fdd1801cc3899b13fdd1801cc3899b13f9b030ac01034be3f9b030ac01034be3f9c030ac01034be3f9d030ac01034be3f9d030ac01034be3fa0b705faf29ee33fa0b705faf29ee33fa0b705faf29ee33fa0b705faf29ee33fa0b705faf29ee33fd72505eeb1bbf13fd72505eeb1bbf13fd72505eeb1bbf13fd72505eeb1bbf13fd72505eeb1bbf13f840362cab638f33f840362cab638f33f840362cab638f33f840362cab638f33f840362cab638f33f20b9b9540667f33f20b9b9540667f33f20b9b9540667f33f20b9b9540667f33f20b9b9540667f33f4ae3cb6b5c6ff33f4ae3cb6b5c6ff33f4ae3cb6b5c6ff33f4ae3cb6b5c6ff33f4ae3cb6b5c6ff33f5179b7a7706ff33f5179b7a7706ff33f5179b7a7706ff33f5179b7a7706ff33f5179b7a7706ff33fef476bf5706ff33fef476bf5706ff33fef476bf5706ff33fef476bf5706ff33fef476bf5706ff33fa2e0736117ceb3bfa2e0736117ceb3bfa2e0736117ceb3bfa2e0736117ceb3bfa2e0736117ceb3bfc196b3397fc5b2bfbf96b3397fc5b2bfbf96b3397fc5b2bfc096b3397fc5b2bfc196b3397fc5b2bf1d6dbdc04d30a1bf376dbdc04d30a1bf3b6dbdc04d30a1bf326dbdc04d30a1bf366dbdc04d30a1bfd56cc0e083dc1cbfe15dc0e083dc1cbf7a6bc0e083dc1cbf976bc0e083dc1cbf336bc0e083dc1cbfbde42b929993b4be193028929993b4be99b42b929993b4be8db82b929993b4beaea32b929993b4be2c6c51ca4c46b3beb48b4dca4c46b3bea03951ca4c46b3bea24451ca4c46b3be992b51ca4c46b3be91475acd64cc96beda7d3acd64cc96befe8f57cd64cc96be999c59cd64cc96beac5b59cd64cc96be0000928d885104bd00000c30b14904bd00003e8d265004bd0000b044565004bd00804247ae4f04bd000020a4d96f97bc00000068e3ba95bc00004091394b97bc0000706d265097bc00004054444297bc00000090c10c96bc000000809ac294bc0000c0754bea95bc000090c35cee95bc000040cb70e195bc0000e0abf19786bc00008082137c86bc000040c9888586bc00001892898786bc0000a060438586bc000070bd0a5250bc0000a8c5ed4250bc00002873134650bc0000e0437c4750bc00002812844650bc00808ad5ef5b18bb0000a8693e52efba00006b87251ef63a00c0e2101cce04bb000080a9cc1de83a0080b8f57d3cd3ba0080fd9544caecba0000b0e6abc0c5ba0000ff80b01ed83a00100a4b2efa173b0000a4828847503c0000d5d31047503c0000fcea1547503c000000866248503c0000f866d044503c000050e72f88863c0000f2655f87863c000090676587863c0000a8c64d89863c00008006cb55863c000080599f29973c00800b2a0022973c0000603a8621973c00006c168f24973c000000e0be5e883c000058a7c101c53c00508624b500c53c0000e8399800c53c000038e19400c53c000080066036c33c00002852b9ede33c0064615779ede33c000014395fede33c0060683120ede33c00004007d906e33c3d8d345dbbc79a3eb305385dbbc79a3e268b375dbbc79a3ebe9f375dbbc79a3e761e575cbbc79a3ed3a67b60cf0ab43e4d717c60cf0ab43ecc727c60cf0ab43e513e7c60cf0ab43ee49c5d60cf0ab43edd213f719597273fa2243f719597273f21253f719597273faf233f719597273fc7e83e719597273f0378236949d4663f1278236949d4663fad77236949d4663fd077236949d4663f6074236949d4663f29ae66f34feda23f3eae66f34feda23f3bae66f34feda23f11ae66f34feda23f08ae66f34feda23f0da7f43b68dab23f08a7f43b68dab23f0aa7f43b68dab23f0ca7f43b68dab23f0da7f43b68dab23fa6e0736117ceb33fa6e0736117ceb33fa6e0736117ceb33fa6e0736117ceb33fa6e0736117ceb33f", + "u_sha256": "f94a022c64adf2a2f2d638e4c297fac6b4ff54e3cf6f229865241bc701ddb63e", + "field_sha256": { + "potential_V": "506bde546adc34a3fdbc47086f261997cadc56bbb9d54929bc599d6eded18f2f", + "electron_density_m3": "452b363287df4781c62b956a5095e39319f1272455ff3491f4223a414d038876", + "hole_density_m3": "f45c674c583a6c971d47e76080440f513f1588ae03bf4b8eb31578bf6e7fea09" + }, + "original_source_sha256": { + "solarlab.solvers.nonlinear.steady_2d": "323d321df8545c3ceac51bbba58bc93913cd28a067811625cf2e26df8f02b7e0", + "solarlab.equations.dc_2d": "b008dedd92880c3d7c3b11100f7ae2b8acc10e3a450cd555ad448c0ade9c20cb", + "solarlab.equations.dc_1d": "bd5f9b8480b4089373d4432fbbc06973eb4e7722caeb35997b5f2b4a26425fc6", + "solarlab.mesh.geometry_2d": "04dbdad74a2e6a4a9c1eb5e08645f925e040e77098c9e9fdbb21b75af977667b", + "solarlab.physics.transport.electrochemical_flux": "e5ba083ac749c46a66e4a2b1fcef0c53868d9a5445050951167f44b7a2112dc5", + "solarlab.physics.recombination.reaction": "1930741c7962b8ac6c4f558647406b82d48b5fdb6edb00c1a975ed0ece98ca3c", + "solarlab.contracts.terms": "9abdd18a94994adc4330ac93be0757eab9d83d219573bba88ead38a64a38448d", + "solarlab.solvers.nonlinear.newton": "e0851b0e6243e7fe3e43e2e3645ca1fb3a0186a36c0cc420ba4943dfe966d4b0", + "solarlab.solvers.nonlinear.problem": "13ab9d002c37952bec0faeab031bd930302f719d7e3e27ddcdce4b94d3b47b6b" + }, + "original_controls": { + "electronic": { + "poisson_tolerance": 1e-11, + "continuity_tolerance_A_m2": 1e-08, + "current_spread_tolerance_A_m2": 1e-08, + "equilibrium_current_tolerance_A_m2": 1e-10, + "contact_log_tolerance": 1e-11, + "potential_step_V": 0.1, + "quasi_fermi_step": 2.0, + "max_iterations": 100, + "max_residual_evaluations": 10000, + "max_jacobian_evaluations": 2000, + "max_backtracks": 40, + "max_bias_step_V": 0.1, + "max_continuation_steps": 100, + "convergence_policy": "historical_max_row_v1" + }, + "wall_s": 29.96596287493594 + } + }, + "light": { + "artifact_relative_path": "IlluminatedCompletion/Steady.json", + "artifact_sha256": "af7dcf6b7f6adad7254666971c87c33357f7b91600ac5a2ca27e62b638784c05", + "compiled_identity": "5ea99ca08f7520f72d15cafba1f3cedf0f98881308a19ef709f975339f28a647", + "voltage_V": 0.002, + "generation_scale": 1.0, + "u_words_le_hex": "0040e11dcd52803a0060d60f714f31ba0000c237a70d4fba00e045bb17f7773a0040e3277d40b0bae4cec78be0e58c3ecc76c78be0e58c3ee11cc88be0e58c3ee349c98be0e58c3edf26c78be0e58c3e1baf1f31e300fa3ee4a81f31e300fa3e46ad1f31e300fa3e8ea91f31e300fa3edda81f31e300fa3e22874a40e2657e3f1b874a40e2657e3f38874a40e2657e3f29874a40e2657e3f18874a40e2657e3f8a0cef685599b13f8b0cef685599b13f8c0cef685599b13f8b0cef685599b13f8a0cef685599b13f2d15d5eb2a34be3f2e15d5eb2a34be3f2f15d5eb2a34be3f2e15d5eb2a34be3f2e15d5eb2a34be3f7f1d98b6f19ee33f7f1d98b6f19ee33f7f1d98b6f19ee33f7f1d98b6f19ee33f7f1d98b6f19ee33f17ff124aafbbf13f17ff124aafbbf13f17ff124aafbbf13f17ff124aafbbf13f17ff124aafbbf13fc01f13bdb438f33fc01f13bdb438f33fc01f13bdb438f33fc01f13bdb438f33fc01f13bdb438f33f15a8a66f0467f33f15a8a66f0467f33f15a8a66f0467f33f15a8a66f0467f33f15a8a66f0467f33fd6d228745b6ff33fd6d228745b6ff33fd6d228745b6ff33fd6d228745b6ff33fd6d228745b6ff33fb7745b91706ff33fb7745b91706ff33fb7745b91706ff33fb7745b91706ff33fb7745b91706ff33fef476bf5706ff33fef476bf5706ff33fef476bf5706ff33fef476bf5706ff33fef476bf5706ff33fa2e0736117ceb3bfa2e0736117ceb3bfa2e0736117ceb3bfa2e0736117ceb3bfa2e0736117ceb3bf88b68fd8173b434088b68fd8173b434089b68fd8173b434088b68fd8173b434087b68fd8173b43402568fd2fc76e44402568fd2fc76e44402568fd2fc76e44402568fd2fc76e44402568fd2fc76e44407c0d26fe98b944407d0d26fe98b944407d0d26fe98b944407c0d26fe98b944407c0d26fe98b944406e9a3d708f393f406e9a3d708f393f406e9a3d708f393f406e9a3d708f393f406e9a3d708f393f402847e9ae47bc3e402747e9ae47bc3e402747e9ae47bc3e402747e9ae47bc3e402747e9ae47bc3e40bf189192f7d62840c0189192f7d62840be189192f7d62840bf189192f7d62840c0189192f7d62840e7258ea1aea7803ffb258ea1aea7803ff0258ea1aea7803fe3258ea1aea7803fde258ea1aea7803f710db6b69a59133f320fb6b69a59133fa90db6b69a59133fa50db6b69a59133fb80db6b69a59133ff89ab59af933123f579cb59af933123f369bb59af933123f2c9bb59af933123f3f9bb59af933123f627f9abe52b3023f6a7f9abe52b3023f867f9abe52b3023f9c7f9abe52b3023fd87f9abe52b3023f7110ef8c6c06cb3eaa10ef8c6c06cb3ea310ef8c6c06cb3e6710ef8c6c06cb3e6110ef8c6c06cb3e00004722b702d93a00a08a7a145f21bb0000a15d2b92f5ba000068600866d9ba00c083acb376d5ba00c0306757b7d3ba00a05547fdf9843a000094c7adcba23a0030be6235fdccba00a0a0978aa6033b2e6d7ffd4d06cbbe5b6d7ffd4d06cbbeba6c7ffd4d06cbbede6c7ffd4d06cbbee36c7ffd4d06cbbe7027701d9ab302bf7727701d9ab302bfb427701d9ab302bfab27701d9ab302bfd027701d9ab302bf5d976d91ff3313bf45976d91ff3313bf80976d91ff3313bf5f976d91ff3313bf5da26d91ff3313bf7a72cdcbb35e41bf8972cdcbb35e41bf7072cdcbb35e41bf7d72cdcbb35e41bf5374cdcbb35e41bf7dff9c8fee0b60bf63ff9c8fee0b60bf88ff9c8fee0b60bf7eff9c8fee0b60bf7d009d8fee0b60bf5c2a7e2877c328c05c2a7e2877c328c05d2a7e2877c328c05d2a7e2877c328c06a2a7e2877c328c048da18a2335b3ec049da18a2335b3ec049da18a2335b3ec049da18a2335b3ec049da18a2335b3ec080481049df1a49c080481049df1a49c080481049df1a49c080481049df1a49c080481049df1a49c0267d59424e1649c0267d59424e1649c0267d59424e1649c0267d59424e1649c0267d59424e1649c091411cfc9fc548c092411cfc9fc548c092411cfc9fc548c090411cfc9fc548c08f411cfc9fc548c0355ea32bee9147c0365ea32bee9147c0355ea32bee9147c0355ea32bee9147c0375ea32bee9147c0a6e0736117ceb33fa6e0736117ceb33fa6e0736117ceb33fa6e0736117ceb33fa6e0736117ceb33f", + "u_sha256": "b42ff047f5e0c914fde80d079c09c0b632064141f7430615146cdb3a025d1bc8", + "field_sha256": { + "potential_V": "b2dd4c0918c2ceb5857c85c65157014c5c221b8f2185fb4605b0eb0a96205311", + "electron_density_m3": "810a7dd5902a6f5071fed1d75f82e2586fbfddc019d08763f146fe124114603c", + "hole_density_m3": "e8149efe192f372bdc8bcea2f8bef0690158d755a98264eaf59f4043fa6c164b" + }, + "original_source_sha256": { + "solarlab.solvers.nonlinear.steady_2d": "323d321df8545c3ceac51bbba58bc93913cd28a067811625cf2e26df8f02b7e0", + "solarlab.equations.dc_2d": "b008dedd92880c3d7c3b11100f7ae2b8acc10e3a450cd555ad448c0ade9c20cb", + "solarlab.equations.dc_1d": "bd5f9b8480b4089373d4432fbbc06973eb4e7722caeb35997b5f2b4a26425fc6", + "solarlab.mesh.geometry_2d": "04dbdad74a2e6a4a9c1eb5e08645f925e040e77098c9e9fdbb21b75af977667b", + "solarlab.physics.transport.electrochemical_flux": "e5ba083ac749c46a66e4a2b1fcef0c53868d9a5445050951167f44b7a2112dc5", + "solarlab.physics.recombination.reaction": "1930741c7962b8ac6c4f558647406b82d48b5fdb6edb00c1a975ed0ece98ca3c", + "solarlab.contracts.terms": "9abdd18a94994adc4330ac93be0757eab9d83d219573bba88ead38a64a38448d", + "solarlab.solvers.nonlinear.newton": "e0851b0e6243e7fe3e43e2e3645ca1fb3a0186a36c0cc420ba4943dfe966d4b0", + "solarlab.solvers.nonlinear.problem": "13ab9d002c37952bec0faeab031bd930302f719d7e3e27ddcdce4b94d3b47b6b" + }, + "original_controls": { + "electronic": { + "poisson_tolerance": 1e-11, + "continuity_tolerance_A_m2": 1e-08, + "current_spread_tolerance_A_m2": 1e-08, + "equilibrium_current_tolerance_A_m2": 1e-10, + "contact_log_tolerance": 1e-11, + "potential_step_V": 0.1, + "quasi_fermi_step": 2.0, + "max_iterations": 100, + "max_residual_evaluations": 10000, + "max_jacobian_evaluations": 2000, + "max_backtracks": 40, + "max_bias_step_V": 0.1, + "max_continuation_steps": 100, + "convergence_policy": "historical_max_row_v1" + }, + "wall_s": 29.92687079194002 + } + } + } +} diff --git a/tests/unit/assembly/test_assembly_assembler.py b/tests/unit/assembly/test_assembly_assembler.py new file mode 100644 index 00000000..ba81eb66 --- /dev/null +++ b/tests/unit/assembly/test_assembly_assembler.py @@ -0,0 +1,544 @@ +"""The Assembler on synthetic Terms: 1D, 2D and embedded node sets. + +The toy binding is a nonlinear diffusion-reaction pair (``c`` with storage, +``phi`` algebraic) with a Robin port and a Dirichlet constraint, so every +contribution kind and the cross-block tangents are exercised without device +physics. Checks: finite-difference J and S_u, the TermSink (P02-02) residual +order, exact linearity in each measure (geometry applied once), discrete +conservation, constraint ownership and the declared-contract rejections. +""" + +from __future__ import annotations + +from dataclasses import dataclass, field, fields as fields_of, replace +from typing import Any, Callable, Mapping, TypeAlias, cast + +import numpy as np +from numpy.typing import NDArray +import pytest + +from solarlab.contracts import ( + AREA, LENGTH, ONE, PARTICLE, SECOND, VOLUME, CellSource, EquationSpec, FaceFlux, Geometry, + Layout, Support, TermSink, Unit, +) +from solarlab.contracts.errors import ContractError +from solarlab.equations.assembly import ( + CELL_SOURCE, CONSTRAINT, FACE_FLUX, MEASURE, PORT_FLUX, STORAGE, Assembler, Block, + ConstraintRows, EvaluationState, FaceValue, FieldValues, LocalValue, Mesh, NodeSet, + OperatingInputs, Port, SupportGeometry, SystemLayout, +) +from solarlab.equations.assembly.terms import Contribution, TermValue +from solarlab.equations.assembly.weighted import Weighted +from solarlab.mesh.geometry import half_endpoint_geometry, integer_endpoint_geometry +from solarlab.mesh.geometry_2d import RectangularGeometry2D + +Vector: TypeAlias = NDArray[np.float64] +FLUX = PARTICLE / (AREA * SECOND) +SOURCE = PARTICLE / (VOLUME * SECOND) +DENSITY = PARTICLE / VOLUME + + +@dataclass(frozen=True) +class Identity: + """Field map returning the block coordinates themselves.""" + + blocks: tuple[str, ...] + identity: str = "toy.identity" + + def evaluate(self, layout: SystemLayout, u: Vector, inputs: OperatingInputs) -> FieldValues: + return FieldValues({block: layout.view(u, block) for block in self.blocks}, True) + + +@dataclass(frozen=True) +class ToyTerm: + """A Term from plain functions; ``value(state, derivatives)`` returns its mapping.""" + + id: str + kind: str + support: str + equations: tuple[str, ...] + dependencies: tuple[str, ...] + unit: Unit + value: Callable[[EvaluationState, bool], Mapping[str, TermValue]] = field(compare=False) + port: str | None = None + identity: str = "toy" + increment_function: Callable[[EvaluationState, EvaluationState], Mapping[str, Contribution]] | None = \ + field(default=None, compare=False) + + def evaluate(self, state: EvaluationState, *, derivatives: bool) -> Mapping[str, TermValue]: + return self.value(state, derivatives) + + def increment(self, state: EvaluationState, previous: EvaluationState) -> Mapping[str, Contribution]: + assert self.increment_function is not None + return self.increment_function(state, previous) + + +def toy_terms(support: str, pairs: NDArray[np.int64], spacing: Vector, flux_unit: Unit, + source_unit: Unit, port: tuple[str, tuple[int, ...]], + dirichlet: tuple[int, ...]) -> list[ToyTerm]: + left, right = pairs[:, 0], pairs[:, 1] + k = 1.0 / spacing + port_id, port_nodes = port + + def diffusion(state: EvaluationState, derivatives: bool) -> Mapping[str, TermValue]: + c, phi = state.field("c"), state.field("phi") + a, b = c[left], c[right] + drift = phi[right] - phi[left] + flux = k * ((a - b) * (1.0 + a * b) + 0.3 * drift * (a + b)) + if not derivatives: + return {"c": FaceValue(flux)} + return {"c": FaceValue(flux, {"c": k * ((1.0 + a * b) + (a - b) * b + 0.3 * drift), + "phi": -0.3 * k * (a + b)}, + {"c": k * (-(1.0 + a * b) + (a - b) * a + 0.3 * drift), + "phi": 0.3 * k * (a + b)})} + + def reaction(state: EvaluationState, derivatives: bool) -> Mapping[str, TermValue]: + c, phi = state.field("c"), state.field("phi") + source = 0.7 - c ** 3 + 0.2 * phi * c + if not derivatives: + return {"c": LocalValue(source)} + # A weighted tangent keeps an explicit product order. + return {"c": LocalValue(source, {"c": MEASURE * (-3.0 * c ** 2 + 0.2 * phi), "phi": 0.2 * c})} + + def potential(state: EvaluationState, derivatives: bool) -> Mapping[str, TermValue]: + phi = state.field("phi") + flux = -k * (phi[right] - phi[left]) + if not derivatives: + return {"phi": FaceValue(flux)} + return {"phi": FaceValue(flux, {"phi": k}, {"phi": -k})} + + def charge(state: EvaluationState, derivatives: bool) -> Mapping[str, TermValue]: + c = state.field("c") + value = c - 0.5 + return {"phi": LocalValue(value, {"c": np.ones_like(c)} if derivatives else {})} + + def robin(state: EvaluationState, derivatives: bool) -> Mapping[str, TermValue]: + c = state.field("c")[np.asarray(port_nodes, dtype=np.intp)] + value = -2.0 * (c - 0.25) * (1.0 + c) + return {"c": LocalValue(value, {"c": -2.0 * ((1.0 + c) + (c - 0.25))} if derivatives else {})} + + def storage(state: EvaluationState, derivatives: bool) -> Mapping[str, TermValue]: + c = state.field("c") + value = c + 0.5 * c * c + return {"c": LocalValue(value, {"c": MEASURE * (1.0 + c)} if derivatives else {})} + + def storage_increment(state: EvaluationState, previous: EvaluationState) -> Mapping[str, Contribution]: + c, old = state.field("c"), previous.field("c") + return {"c": (c - old) * (1.0 + 0.5 * (c + old))} + + terms = [ + ToyTerm("c.diffusion", FACE_FLUX, support, ("c",), ("c", "phi"), flux_unit, diffusion), + ToyTerm("c.reaction", CELL_SOURCE, support, ("c",), ("c", "phi"), source_unit, reaction), + ToyTerm("c.robin", PORT_FLUX, support, ("c",), ("c",), flux_unit, robin, port=port_id), + ToyTerm("c.storage", STORAGE, support, ("c",), ("c",), DENSITY, storage, + increment_function=storage_increment), + ToyTerm("phi.potential", FACE_FLUX, support, ("phi",), ("phi",), flux_unit, potential), + ToyTerm("phi.charge", CELL_SOURCE, support, ("phi",), ("c",), source_unit, charge), + ] + def fixed(state: EvaluationState, derivatives: bool) -> Mapping[str, TermValue]: + phi = state.field("phi")[np.asarray(dirichlet, dtype=np.intp)] + return {"phi": LocalValue(phi - 0.1, {"phi": np.ones(len(dirichlet))} if derivatives else {})} + + terms.append(ToyTerm("phi.dirichlet", CONSTRAINT, support, ("phi",), ("phi",), ONE, fixed)) + return terms + + +@dataclass(frozen=True) +class Toy: + assembler: Assembler + count: int + + +def toy_1d(nodes: Vector | None = None) -> Toy: + x = np.array([0.0, 0.3, 0.45, 1.0, 1.7, 2.0]) if nodes is None else nodes + geometry = integer_endpoint_geometry(x) + contract = geometry.to_contract_geometry(cell_support="nodes", face_support="faces") + count = x.size + ports = (Port("left", (0,), -1, np.array([1.0]), ONE), Port("right", (count - 1,), 1, np.array([1.0]), ONE)) + layout = SystemLayout((NodeSet("nodes", count),), + (Block("phi", "nodes", ONE, FLUX), Block("c", "nodes", ONE, FLUX)), + (ConstraintRows("phi", (count - 1,), "phi.dirichlet", ONE),)) + terms = toy_terms("nodes", contract.pairs, np.diff(x), FLUX, SOURCE, ("left", (0,)), (count - 1,)) + return Toy(Assembler(layout, Mesh((SupportGeometry("nodes", contract, ports),)), + Identity(("phi", "c")), terms), count) + + +def toy_2d() -> Toy: + rect = RectangularGeometry2D(np.array([0.0, 0.4, 1.0, 1.3]), half_endpoint_geometry(np.array([0.0, 0.5, 0.8, 1.6]))) + contract = rect.contract_geometry + count = rect.node_count + bottom, top = tuple(range(rect.nx)), tuple(range(count - rect.nx, count)) + ports = (Port("bottom", bottom, -1, rect.x_widths_m, LENGTH), Port("top", top, 1, rect.x_widths_m, LENGTH)) + balance = PARTICLE / (LENGTH * SECOND) + layout = SystemLayout((NodeSet("nodes", count),), + (Block("phi", "nodes", ONE, balance), Block("c", "nodes", ONE, balance)), + (ConstraintRows("phi", top, "phi.dirichlet", ONE),)) + terms = toy_terms("nodes", contract.pairs, rect.face_spacing_m, FLUX, SOURCE, ("bottom", bottom), top) + return Toy(Assembler(layout, Mesh((SupportGeometry("nodes", contract, ports),)), + Identity(("phi", "c")), terms), count) + + +def numerical_jacobian(function: Callable[[Vector], Vector], u: Vector, step: float = 1e-6) -> NDArray[np.float64]: + columns = [] + for index in range(u.size): + def central(h: float) -> Vector: + plus, minus = u.copy(), u.copy() + plus[index] += h + minus[index] -= h + result: Vector = (function(plus) - function(minus)) / (2.0 * h) + return result + columns.append((4.0 * central(0.5 * step) - central(step)) / 3.0) + return np.column_stack(columns) + + +def state_vector(toy: Toy, seed: int) -> Vector: + rng = np.random.default_rng(seed) + result: Vector = 0.5 + 0.3 * rng.standard_normal(2 * toy.count) + return result + + +@pytest.mark.parametrize("build", [toy_1d, toy_2d], ids=["1d", "2d"]) +def test_jacobian_and_storage_tangent_match_finite_differences(build: Callable[[], Toy]) -> None: + toy = build() + inputs = OperatingInputs() + for seed in range(3): + u = state_vector(toy, seed) + system = toy.assembler.evaluate(u, inputs, storage=True) + assert system.J is not None and system.S_u is not None and system.M is not None + F = lambda v: np.asarray(toy.assembler.evaluate(v, inputs, derivatives=False).F) # noqa: E731 + S = lambda v: np.asarray(toy.assembler.evaluate(v, inputs, derivatives=False, storage=True).S) # noqa: E731 + np.testing.assert_allclose(system.J.toarray(), numerical_jacobian(F, u), rtol=1e-8, atol=1e-8) + np.testing.assert_allclose(system.S_u.toarray(), numerical_jacobian(S, u), rtol=1e-8, atol=1e-8) + np.testing.assert_array_equal(system.M.toarray(), -system.S_u.toarray()) + old = state_vector(toy, 100 + seed) + increment = toy.assembler.storage_increment(u, inputs, old, inputs) + S_old = toy.assembler.evaluate(old, inputs, derivatives=False, storage=True).S + assert system.S is not None and S_old is not None + np.testing.assert_allclose(increment, system.S - S_old, rtol=1e-13, atol=1e-15) + + +@pytest.mark.parametrize("build", [toy_1d, toy_2d], ids=["1d", "2d"]) +def test_constraint_rows_are_owned_by_one_term(build: Callable[[], Toy]) -> None: + toy = build() + u = state_vector(toy, 5) + system = toy.assembler.evaluate(u, OperatingInputs(), storage=True) + assert system.J is not None and system.S is not None and system.S_u is not None + rows = np.flatnonzero(system.boundary_rows) + J = system.J.toarray() + for row in rows: + assert system.F[row] == u[row] - 0.1 + assert np.flatnonzero(J[row]).tolist() == [row] and J[row, row] == 1.0 + assert np.all(system.S[rows] == 0.0) and system.S_u.toarray()[rows].sum() == 0.0 + # The dropped balance stays observable as the boundary defect. + assert np.any(system.balance[rows] != system.F[rows]) + + +def test_residual_follows_the_term_sink_contract() -> None: + """Face and cell values assemble exactly as the P02-02 TermSink orders them.""" + toy = toy_1d() + u = state_vector(toy, 9) + count = toy.count + state = toy.assembler.state(u, OperatingInputs()) + assert state is not None + terms = {term.id: term for term in toy.assembler.terms} + flux = terms["c.diffusion"].evaluate(state, derivatives=False)["c"] + source = terms["c.reaction"].evaluate(state, derivatives=False)["c"] + assert isinstance(flux, FaceValue) and isinstance(source, LocalValue) + support = toy.assembler.mesh.support("nodes") + contract = Layout((Support("nodes", "cell", (count,)), Support("faces", "face", (count - 1,))), (), + (EquationSpec("c", "c", "nodes", (count,), FLUX),)) + sink = TermSink(contract, "c", support.geometry) + sink.add(FaceFlux("flux", "faces", np.asarray(flux.flux), FLUX)) + sink.add(CellSource("source", "nodes", np.asarray(source.value), SOURCE)) + expected = np.array(sink.value(), copy=True) + expected[0] += 1.0 * float(np.asarray(terms["c.robin"].evaluate(state, derivatives=False)["c"].value)[0]) # type: ignore[union-attr] + balance = toy.assembler.evaluate(u, OperatingInputs(), derivatives=False).balance + np.testing.assert_array_equal(balance[toy.assembler.layout.offsets["c"]], expected) + + +def test_each_measure_enters_exactly_once() -> None: + """Doubling cell (face) measures doubles exactly the source (flux) pieces.""" + toy = toy_1d() + u = state_vector(toy, 11) + support = toy.assembler.mesh.support("nodes") + g = support.geometry + + def rebuilt(volumes: Vector, faces: Vector) -> Assembler: + geometry = Geometry(volumes, g.pairs, faces, g.volume_unit, g.face_unit, g.cell_support, g.face_support) + return Assembler(toy.assembler.layout, Mesh((replace(support, geometry=geometry),)), + toy.assembler.fields, toy.assembler.terms) + + def pieces(assembler: Assembler) -> tuple[Vector, Vector]: + state = assembler.state(u, OperatingInputs()) + assert state is not None + only = {"c.diffusion": FACE_FLUX, "c.reaction": CELL_SOURCE} + results = assembler._evaluate(state, False, tuple(only.values())) + face = assembler._balance("c", [r for r in results if r[0].id == "c.diffusion"]) + cell = assembler._balance("c", [r for r in results if r[0].id == "c.reaction"]) + return face, cell + + face, cell = pieces(toy.assembler) + face_cells, cell_cells = pieces(rebuilt(2.0 * g.volumes, g.face_measures)) + face_faces, cell_faces = pieces(rebuilt(g.volumes, 2.0 * g.face_measures)) + np.testing.assert_array_equal(cell_cells, 2.0 * cell) + np.testing.assert_array_equal(face_cells, face) + np.testing.assert_array_equal(face_faces, 2.0 * face) + np.testing.assert_array_equal(cell_faces, cell) + # J entries scale the same way (one cell measure in the weighted tangent). + J = toy.assembler.evaluate(u, OperatingInputs()).J + J2 = rebuilt(2.0 * g.volumes, g.face_measures).evaluate(u, OperatingInputs()).J + assert J is not None and J2 is not None + rows = toy.assembler.layout.offsets["c"] + diagonal = np.arange(rows.start, rows.stop) + reaction = J2.toarray()[diagonal, diagonal] - J.toarray()[diagonal, diagonal] + state = toy.assembler.state(u, OperatingInputs()) + assert state is not None + c, phi = state.field("c"), state.field("phi") + np.testing.assert_allclose(reaction, g.volumes * (-3.0 * c ** 2 + 0.2 * phi), rtol=1e-12) + + +@pytest.mark.parametrize("build", [toy_1d, toy_2d], ids=["1d", "2d"]) +def test_discrete_conservation_of_the_balance_block(build: Callable[[], Toy]) -> None: + """Sum of c rows = integrated source + port inflow: face fluxes telescope.""" + toy = build() + u = state_vector(toy, 13) + assembler = toy.assembler + state = assembler.state(u, OperatingInputs()) + assert state is not None + support = assembler.mesh.support("nodes") + terms = {term.id: term for term in assembler.terms} + source = np.asarray(terms["c.reaction"].evaluate(state, derivatives=False)["c"].value) # type: ignore[union-attr] + port = next(p for p in support.ports if p.id == terms["c.robin"].port) + exchange = np.asarray(terms["c.robin"].evaluate(state, derivatives=False)["c"].value) # type: ignore[union-attr] + expected = np.sum(source * support.geometry.volumes) + np.sum(-port.outward_normal * exchange * port.measures) + total = np.sum(assembler.evaluate(u, OperatingInputs(), derivatives=False).balance[assembler.layout.offsets["c"]]) + assert total == pytest.approx(expected, rel=1e-13, abs=1e-13) + + +def embedded_toy() -> Assembler: + """``q`` lives on an embedded domain with its own measures and reads ``c``.""" + x = np.array([0.0, 0.2, 0.5, 0.9, 1.4, 2.0]) + parent = integer_endpoint_geometry(x).to_contract_geometry(cell_support="nodes", face_support="faces") + inside = (1, 2, 3, 4) + child = half_endpoint_geometry(x[list(inside)]).to_contract_geometry(cell_support="domain", + face_support="domain.faces") + layout = SystemLayout((NodeSet("nodes", x.size), NodeSet("domain", len(inside), "nodes", inside)), + (Block("c", "nodes", ONE, FLUX), Block("q", "domain", ONE, FLUX))) + pairs, spacing = child.pairs, np.diff(x[list(inside)]) + embedded = np.zeros(x.size, dtype=bool) + embedded[list(inside)] = True + + def c_reaction(state: EvaluationState, derivatives: bool) -> Mapping[str, TermValue]: + c = state.field("c") + q = np.zeros(x.size) + q[list(inside)] = state.field("q") + value = 1.0 - c * c - q * c + tangents: dict[str, Contribution] = {"c": -2.0 * c - q, "q": np.where(embedded, -c, 0.0)} + return {"c": LocalValue(value, tangents if derivatives else {})} + + def c_flux(state: EvaluationState, derivatives: bool) -> Mapping[str, TermValue]: + c = state.field("c") + k = 1.0 / np.diff(x) + flux = k * (c[:-1] - c[1:]) + return {"c": FaceValue(flux, {"c": k}, {"c": -k}) if derivatives else FaceValue(flux)} + + def q_flux(state: EvaluationState, derivatives: bool) -> Mapping[str, TermValue]: + q, c = state.field("q"), state.field("c")[list(inside)] + a, b = pairs[:, 0], pairs[:, 1] + k = 1.0 / spacing + flux = k * (q[a] - q[b]) * (1.0 + c[a] * c[b]) + if not derivatives: + return {"q": FaceValue(flux)} + return {"q": FaceValue(flux, {"q": k * (1.0 + c[a] * c[b]), "c": k * (q[a] - q[b]) * c[b]}, + {"q": -k * (1.0 + c[a] * c[b]), "c": k * (q[a] - q[b]) * c[a]})} + + def q_reaction(state: EvaluationState, derivatives: bool) -> Mapping[str, TermValue]: + q, c = state.field("q"), state.field("c")[list(inside)] + value = c - q ** 3 + return {"q": LocalValue(value, {"q": -3.0 * q ** 2, "c": np.ones_like(c)} if derivatives else {})} + + terms = [ + ToyTerm("c.flux", FACE_FLUX, "nodes", ("c",), ("c",), FLUX, c_flux), + ToyTerm("c.reaction", CELL_SOURCE, "nodes", ("c",), ("c", "q"), SOURCE, c_reaction), + ToyTerm("q.flux", FACE_FLUX, "domain", ("q",), ("q", "c"), FLUX, q_flux), + ToyTerm("q.reaction", CELL_SOURCE, "domain", ("q",), ("q", "c"), SOURCE, q_reaction), + ] + mesh = Mesh((SupportGeometry("nodes", parent), SupportGeometry("domain", child))) + return Assembler(layout, mesh, Identity(("c", "q")), terms) + + +def test_embedded_node_sets_couple_through_their_embedding() -> None: + assembler = embedded_toy() + assert assembler.layout.block_ranges() == {"c": (0, 6), "q": (6, 10)} + np.testing.assert_array_equal(assembler.layout.column_map("domain", "c"), [1, 2, 3, 4]) + np.testing.assert_array_equal(assembler.layout.column_map("nodes", "q"), [-1, 0, 1, 2, 3, -1]) + rng = np.random.default_rng(3) + u = 0.6 + 0.2 * rng.standard_normal(10) + J = assembler.evaluate(u, OperatingInputs()).J + assert J is not None + F = lambda v: np.asarray(assembler.evaluate(v, OperatingInputs(), derivatives=False).F) # noqa: E731 + np.testing.assert_allclose(J.toarray(), numerical_jacobian(F, u), rtol=1e-8, atol=1e-9) + # The child's own (half-endpoint) measures weight its rows. + child = assembler.mesh.support("domain").geometry + assert child.volumes[0] != assembler.mesh.support("nodes").geometry.volumes[1] + + +def test_inadmissible_state_has_nan_residual_and_no_jacobian() -> None: + toy = toy_1d() + + @dataclass(frozen=True) + class Closed(Identity): + def evaluate(self, layout: SystemLayout, u: Vector, inputs: OperatingInputs) -> FieldValues: + values = super().evaluate(layout, u, inputs) + return FieldValues(values.fields, bool(np.all(u > 0.0))) + + assembler = Assembler(toy.assembler.layout, toy.assembler.mesh, Closed(("phi", "c")), toy.assembler.terms) + u = state_vector(toy, 0) + u[3] = -1.0 + system = assembler.evaluate(u, OperatingInputs(), derivatives=False) + assert not system.admissible and np.all(np.isnan(system.F)) + with pytest.raises(FloatingPointError): + assembler.evaluate(u, OperatingInputs()) + + +def test_declared_contract_violations_are_rejected() -> None: + toy = toy_1d() + layout, mesh, fields = toy.assembler.layout, toy.assembler.mesh, toy.assembler.fields + terms = [cast(ToyTerm, term) for term in toy.assembler.terms] + by_id = {term.id: term for term in terms} + + def build(changed: list[ToyTerm], new_layout: SystemLayout = layout) -> Assembler: + return Assembler(new_layout, mesh, fields, changed) + + others = [term for term in terms if term.id != "c.reaction"] + with pytest.raises(ContractError, match="unit_mismatch"): + build(others + [replace(by_id["c.reaction"], unit=FLUX)]) + with pytest.raises(ContractError, match="duplicate_or_empty_term_id"): + build(terms + [by_id["c.reaction"]]) + with pytest.raises(ContractError, match="unknown_dependency_block"): + build(others + [replace(by_id["c.reaction"], dependencies=("c", "missing"))]) + with pytest.raises(ContractError, match="declared_constraint_rows_without_owner"): + build([term for term in terms if term.kind != CONSTRAINT]) + with pytest.raises(ContractError, match="constraint_term_without_declared_rows"): + build(terms, SystemLayout(layout.node_sets, layout.blocks, ())) + with pytest.raises(ContractError, match="port_term_needs_port"): + build([term for term in terms if term.id != "c.robin"] + [replace(by_id["c.robin"], port=None)]) + with pytest.raises(ContractError, match="unknown_port"): + build([term for term in terms if term.id != "c.robin"] + [replace(by_id["c.robin"], port="top")]) + with pytest.raises(ContractError, match="storage_term_without_increment"): + Assembler(layout, mesh, fields, [term for term in terms if term.id != "c.storage"] + [_NoIncrement()]) + u = state_vector(toy, 1) + + def undeclared(state: EvaluationState, derivatives: bool) -> Mapping[str, TermValue]: + return {"c": LocalValue(state.field("c"), {"phi": np.ones(toy.count)})} + + with pytest.raises(ContractError, match="tangent_with_undeclared_dependency"): + build(others + [replace(by_id["c.reaction"], dependencies=("c",), value=undeclared)]).evaluate( + u, OperatingInputs()) + + def twice(state: EvaluationState, derivatives: bool) -> Mapping[str, TermValue]: + return {"c": LocalValue(MEASURE * MEASURE * state.field("c"))} + + with pytest.raises(ContractError, match="exactly_one_measure"): + build(others + [replace(by_id["c.reaction"], value=twice)]).evaluate( + u, OperatingInputs(), derivatives=False) + + +class _NoIncrement: + """Storage-kind object without an increment method (rejected).""" + + id = "c.storage" + kind = STORAGE + support = "nodes" + equations = ("c",) + dependencies = ("c",) + unit = DENSITY + port = None + identity = "toy" + + def evaluate(self, state: EvaluationState, *, derivatives: bool) -> Mapping[str, TermValue]: + return {"c": LocalValue(state.field("c"))} + + +def test_slot_parts_keep_their_declaration_order() -> None: + """R03: plain runs and weighted parts are added in Term order, not regrouped. + + ``1e16, -1e16*w, 1`` gives ``w``; summing the plain parts first would give + ``(1e16 + 1)*w - 1e16*w = 0``. + """ + toy = toy_1d() + fixed = next(term for term in toy.assembler.terms if term.kind == CONSTRAINT) + + def part(value: object) -> Callable[[EvaluationState, bool], Mapping[str, TermValue]]: + return lambda state, derivatives: {"c": LocalValue(value if isinstance(value, Weighted) + else np.full(toy.count, value))} + + terms = [ToyTerm(f"c.part{index}", CELL_SOURCE, "nodes", ("c",), ("c",), SOURCE, part(value)) + for index, value in enumerate((1.0e16, -1.0e16 * MEASURE, 1.0))] + assembler = Assembler(toy.assembler.layout, toy.assembler.mesh, toy.assembler.fields, [*terms, fixed]) + F = assembler.evaluate(state_vector(toy, 2), OperatingInputs(), derivatives=False).F + volumes = toy.assembler.mesh.support("nodes").geometry.volumes + assert F[assembler.layout.offsets["c"]].tobytes() == volumes.tobytes() + + +def test_divergence_and_constraint_measure_options_are_validated() -> None: + toy = toy_1d() + terms = [cast(ToyTerm, term) for term in toy.assembler.terms] + by_id = {term.id: term for term in terms} + others = [term for term in terms if term.id not in ("c.diffusion", "phi.dirichlet")] + + @dataclass(frozen=True) + class Optioned(ToyTerm): + divergence: str = "scatter" + measure: str | None = None + + def with_options(term: ToyTerm, **options: str) -> Optioned: + values: dict[str, Any] = {item.name: getattr(term, item.name) for item in fields_of(ToyTerm)} + return Optioned(**{**values, **options}) + + def build(*changed: ToyTerm) -> Assembler: + return Assembler(toy.assembler.layout, toy.assembler.mesh, toy.assembler.fields, [*others, *changed]) + + diffusion, dirichlet = by_id["c.diffusion"], by_id["phi.dirichlet"] + build(with_options(diffusion, divergence="chain"), dirichlet) + with pytest.raises(ContractError, match="unknown_divergence"): + build(with_options(diffusion, divergence="upwind"), dirichlet) + with pytest.raises(ContractError, match="divergence_option_on_non_face_term"): + build(diffusion, with_options(dirichlet, divergence="chain")) + with pytest.raises(ContractError, match="chain_face_term_must_be_the_only_face_term"): + build(with_options(diffusion, divergence="chain"), replace(diffusion, id="c.second"), dirichlet) + with pytest.raises(ContractError, match="unknown_constraint_measure"): + build(diffusion, with_options(dirichlet, measure="face")) + with pytest.raises(ContractError, match="measure_option_on_non_constraint_term"): + build(with_options(diffusion, measure="cell"), dirichlet) + with pytest.raises(ContractError, match="unit_mismatch"): + build(diffusion, with_options(dirichlet, measure="cell")) + + +def test_storage_only_evaluation_and_replaced_row_finiteness() -> None: + toy = toy_1d() + u = state_vector(toy, 4) + full = toy.assembler.evaluate(u, OperatingInputs(), storage=True) + S, S_u = toy.assembler.storage(u, OperatingInputs()) + assert full.S is not None and full.S_u is not None and S_u is not None + assert S.tobytes() == full.S.tobytes() + assert (S_u != full.S_u).nnz == 0 + assert full.replaced_nonfinite_rows is not None and not np.any(full.replaced_nonfinite_rows) + terms = [cast(ToyTerm, term) for term in toy.assembler.terms] + + def poisoned(state: EvaluationState, derivatives: bool) -> Mapping[str, TermValue]: + phi = state.field("phi") + tangent = np.zeros(toy.count - 1) + tangent[-1] = np.nan # on the last face: reaches the constrained last phi row only via its left node + flux = -(phi[1:] - phi[:-1]) + return {"phi": FaceValue(flux, {"phi": np.ones(toy.count - 1)}, {"phi": tangent})} + + changed = [replace(term, value=poisoned) if term.id == "phi.potential" else term for term in terms] + system = Assembler(toy.assembler.layout, toy.assembler.mesh, toy.assembler.fields, changed).evaluate( + u, OperatingInputs()) + assert system.J is not None and system.replaced_nonfinite_rows is not None + expected: NDArray[np.bool_] = np.zeros(system.layout.size, dtype=bool) + expected[system.layout.rows("phi", [toy.count - 1])] = True + np.testing.assert_array_equal(system.replaced_nonfinite_rows, expected) + # The second-to-last row keeps its own (unreplaced) NaN entry. + assert not np.all(np.isfinite(system.J.data)) diff --git a/tests/unit/assembly/test_assembly_classical_1d.py b/tests/unit/assembly/test_assembly_classical_1d.py new file mode 100644 index 00000000..32b63c09 --- /dev/null +++ b/tests/unit/assembly/test_assembly_classical_1d.py @@ -0,0 +1,374 @@ +"""Assembled classical 1D DC versus the existing DC1DProblem, bit for bit. + +States are real accepted operating points (dark equilibrium, dark and +illuminated forward bias reached by the production continuation) and seeded +perturbations of them, which are not solutions. Every comparison is on the +represented entries: identical sparsity and identical binary64 words, +including the sign of every zero. There is no tolerance. +""" + +from __future__ import annotations + +from collections.abc import Iterator +from typing import TypeAlias + +import numpy as np +from numpy.typing import NDArray +import pytest +from scipy.sparse import csc_matrix +from threadpoolctl import threadpool_limits + +from examples.research_1d.field_transport import prepare_case as field_transport_case +from examples.research_1d.steady import SaturatingRecombination, load_device +from solarlab.config.resolve_device import resolve_device +from solarlab.device.compile_1d import compile_device_1d +from solarlab.device.inputs import DeviceInput +from solarlab.device.resolved import PreparedDevice +from solarlab.equations.assembly.classical_1d import AssembledDC1DProblem, classical_dc_1d +from solarlab.equations.dc_1d import CapabilityError, CompiledDevice1D, DC1DProblem, State1D +from solarlab.solvers.nonlinear.steady_1d import solve_equilibrium, solve_steady_state +from solarlab.physics.contacts.exchange import CarrierExchangeChannel +from solarlab.solvers.time.backward_euler import BackwardEuler1DStep, inventory_m2, step_accounting + +Vector: TypeAlias = NDArray[np.float64] +BLOCKS = ("potential", "electron", "hole") + + +@pytest.fixture(scope="module", autouse=True) +def blas1() -> Iterator[None]: + with threadpool_limits(limits=1): + yield + + +def edited(prepared: PreparedDevice, change: dict[str, object]) -> PreparedDevice: + document = prepared.to_input().editing_data() + document.update(change) + return resolve_device(DeviceInput.model_validate(document), prepared.defaults, + prepared.resources, sources=prepared.sources) + + +def finite_contacts(kind: str) -> CompiledDevice1D: + prepared = load_device() + if kind == "robin": + settings = dict(prepared.to_input().editing_data()["settings"]) + settings["flat_band_contacts"] = True + return compile_device_1d(edited(prepared, {"settings": settings}), intervals_per_layer=12) + contacts = [dict(id="left", side="left", layer="htl", S_n=0.0, S_p=200.0), + dict(id="right", side="right", layer="etl", S_n=200.0, S_p=0.0)] + return compile_device_1d(edited(prepared, {"contacts": contacts}), intervals_per_layer=12) + + +def saturating(device: CompiledDevice1D) -> SaturatingRecombination: + return SaturatingRecombination( + np.full(device.node_count, 1.0e-17), device.recombination.coefficients.ni_sq_m6, 1.0e22) + + +@pytest.fixture(scope="module") +def research() -> CompiledDevice1D: + return compile_device_1d(load_device()) + + +def continuation(device: CompiledDevice1D, voltages: tuple[float, ...], + generation_scale: float) -> list[tuple[str, State1D, float, float]]: + """Accepted points of the production driver along a 50 mV bias continuation.""" + start = solve_steady_state(device, generation_scale=generation_scale) if generation_scale else \ + solve_equilibrium(device) + label = "light" if generation_scale else "dark" + states = [(f"{label}_V0", start.state, 0.0, generation_scale)] + state = start.state + for step in range(1, int(round(max(voltages) / 0.05)) + 1): + voltage = round(0.05 * step, 10) + point = solve_steady_state(device, initial_state=state, voltage_V=voltage, + generation_scale=generation_scale) + state = point.state + if any(abs(voltage - target) < 1e-9 for target in voltages): + states.append((f"{label}_V{voltage:g}", state, voltage, generation_scale)) + return states + + +def perturbed(device: CompiledDevice1D, state: State1D, seed: int, size: float = 1.0e-2) -> Vector: + """Seeded off-solution coordinates around an accepted state (not a solution).""" + rng = np.random.default_rng(seed) + count = device.node_count + scale = np.r_[np.full(count, device.thermal_voltage_V), np.ones(2 * count)] + result: Vector = state.u + size * scale * rng.standard_normal(3 * count) + return result + + +@pytest.fixture(scope="module") +def research_states(research: CompiledDevice1D) -> list[tuple[str, Vector, float, float]]: + states = continuation(research, (0.3, 0.6, 0.9), 0.0) + states += continuation(research, (0.3, 0.6, 0.9), 1.0) + cases = [(label, state.u, voltage, light) for label, state, voltage, light in states] + for seed, (label, state, voltage, light) in enumerate(states): + if label in ("dark_V0", "light_V0.6", "light_V0.9"): + cases.append((label + "_perturbed", perturbed(research, state, seed), voltage, light)) + return cases + + +def assert_bits(reference: object, candidate: object) -> None: + """Identical binary64 words (signed zeros and NaN payloads included).""" + left = np.ascontiguousarray(reference, dtype=np.float64) + right = np.ascontiguousarray(candidate, dtype=np.float64) + assert left.shape == right.shape + assert left.tobytes() == right.tobytes() + + +def assert_same_matrix(reference: csc_matrix, candidate: csc_matrix) -> None: + """Identical represented entries and identical binary64 values.""" + left, right = csc_matrix(reference), csc_matrix(candidate) + left.sum_duplicates() + right.sum_duplicates() + left.sort_indices() + right.sort_indices() + assert left.shape == right.shape + np.testing.assert_array_equal(left.indptr, right.indptr) + np.testing.assert_array_equal(left.indices, right.indices) + assert_bits(left.data, right.data) + + +def storage_mask(device: CompiledDevice1D) -> NDArray[np.bool_]: + mask: NDArray[np.bool_] = np.ones((2, device.node_count), dtype=bool) + for index, carrier in enumerate(("n", "p")): + for side, node in (("left", 0), ("right", device.node_count - 1)): + if device.channel(carrier, side).kind == "fixed_reservoir": + mask[index, node] = False + return mask + + +def legacy_storage(device: CompiledDevice1D, u: Vector, voltage_V: float) -> Vector: + """The BE/BDF storage vector: zero Gauss rows, masked carrier inventories.""" + inventory = inventory_m2(device, device.state(u, voltage_V=voltage_V)) + result: Vector = np.r_[np.zeros(device.node_count), np.where(storage_mask(device), inventory, 0.0).ravel()] + return result + + +def check_point(device: CompiledDevice1D, u: Vector, voltage_V: float, light: float) -> None: + reference = DC1DProblem(device, voltage_V, light) + candidate = AssembledDC1DProblem(device, voltage_V, light) + assert_bits(reference.residual(u), candidate.residual(u)) + assert_same_matrix(reference.jacobian(u), candidate.jacobian(u)) + assert_same_matrix(reference.storage_jacobian(u), candidate.storage_jacobian(u)) + assert_same_matrix(-reference.storage_jacobian(u), candidate.storage_tangent(u)) + assert_bits(legacy_storage(device, u, voltage_V), candidate.storage(u)) + for alpha in (0.25, -3.0e7): + assert_same_matrix(reference.jacobian(u, alpha=alpha), candidate.jacobian(u, alpha=alpha)) + assert_bits(reference.current_density(u), candidate.current_density(u)) + assert_bits(reference.contact_current_density(u), candidate.contact_current_density(u)) + ref_fluxes, new_fluxes = reference.fluxes(u), candidate.fluxes(u) + for carrier in ("electron", "hole"): + for name in ("flux", "left_density_derivative", "right_density_derivative", + "left_potential_derivative", "right_potential_derivative"): + assert_bits(getattr(getattr(ref_fluxes, carrier), name), + getattr(getattr(new_fluxes, carrier), name)) + + +def test_research_device_layout_and_identity(research: CompiledDevice1D) -> None: + system = classical_dc_1d(research) + count = research.node_count + assert system.layout.block_ranges() == { + "potential": (0, count), "electron": (count, 2 * count), "hole": (2 * count, 3 * count)} + mask = system.layout.constraint_mask() + assert np.flatnonzero(mask).tolist() == [0, count - 1, count, 2 * count - 1, 2 * count, 3 * count - 1] + assert classical_dc_1d(research).identity == system.identity + assert len(system.identity) == 64 and system.identity != research.identity + + +def test_research_states_are_bitwise_equal(research: CompiledDevice1D, + research_states: list[tuple[str, Vector, float, float]]) -> None: + assert len(research_states) == 11 + for _label, u, voltage, light in research_states: + check_point(research, u, voltage, light) + + +@pytest.mark.parametrize("kind", ["robin", "selective"]) +def test_finite_and_blocking_contacts_are_bitwise_equal(kind: str) -> None: + device = finite_contacts(kind) + kinds = sorted(channel.kind for channel in device.channels) + assert kinds == (["robin"] * 4 if kind == "robin" else ["blocking", "blocking", "robin", "robin"]) + system = classical_dc_1d(device) + # No carrier reservoir rows: all four channels are port exchange Terms. + assert len(system.exchanges) == 4 and len(system.layout.constraints) == 1 + dark = solve_equilibrium(device) + light = solve_steady_state(device, voltage_V=0.2, generation_scale=1.0) + for seed, (state, voltage, scale) in enumerate(((dark.state, 0.0, 0.0), (light.state, 0.2, 1.0))): + check_point(device, state.u, voltage, scale) + check_point(device, perturbed(device, state, 10 + seed), voltage, scale) + + +def test_field_dependent_transport_is_bitwise_equal() -> None: + device = compile_device_1d(field_transport_case(), intervals_per_layer=(12, 12, 12)) + assert device.field_transport is not None + point = solve_steady_state(device, voltage_V=0.002, generation_scale=1.0) + check_point(device, point.state.u, 0.002, 1.0) + check_point(device, perturbed(device, point.state, 21), 0.002, 1.0) + + +def test_injected_local_recombination_is_bitwise_equal() -> None: + base = compile_device_1d(load_device(), intervals_per_layer=12) + device = compile_device_1d(load_device(), intervals_per_layer=12, + additional_recombination=saturating(base)) + point = solve_steady_state(device, voltage_V=0.4, generation_scale=1.0) + check_point(device, point.state.u, 0.4, 1.0) + check_point(device, perturbed(device, point.state, 31), 0.4, 1.0) + + +def test_inadmissible_state_matches_the_nan_residual(research: CompiledDevice1D) -> None: + u = np.zeros(3 * research.node_count) + u[research.node_count:2 * research.node_count] = 800.0 # n overflows + reference = DC1DProblem(research, 0.0, 1.0).residual(u) + candidate = AssembledDC1DProblem(research, 0.0, 1.0).residual(u) + assert np.all(np.isnan(reference)) and np.all(np.isnan(candidate)) + + +def test_backward_euler_step_in_storage_difference_form(research: CompiledDevice1D) -> None: + """R = F(u) - (S(u) - S(u_old))/dt and J - S_u/dt equal BackwardEuler1DStep.""" + old = solve_steady_state(research, voltage_V=0.5, generation_scale=1.0) + system = classical_dc_1d(research) + old_problem = AssembledDC1DProblem(research, 0.5, 1.0, system) + rows = system.layout.constraint_mask() + for voltage, dt in ((0.5, 1.0e-9), (0.55, 1.0e-7), (0.45, 1.0e-6)): + step = BackwardEuler1DStep(DC1DProblem(research, voltage, 1.0), old.state, dt) + problem = old_problem.at(voltage, 1.0) + for seed in range(2): + u = perturbed(research, State1D(step.initial_coordinates(), old.state.potential_V, + old.state.electron_density_m3, old.state.hole_density_m3, + research.sha256, voltage), 40 + seed, 1.0e-3) + increment = problem.storage_increment(u, old_problem, old.state.u) + rate = step.inventory_rate_m2_s(u) + # Masked rows are x * 0, as the original storage adapters' ``*= storage_mask``. + assert_bits(np.r_[np.zeros(research.node_count), (rate * storage_mask(research)).ravel()], + increment / dt) + # The original step never writes its algebraic rows: R = F there. + residual = problem.residual(u) + assert_bits(step.residual(u), np.where(rows, residual, residual - increment / dt)) + assert_same_matrix(step.jacobian(u), csc_matrix(problem.jacobian(u) - problem.storage_tangent(u) / dt)) + + +def test_udot_form_is_refused(research: CompiledDevice1D) -> None: + problem = AssembledDC1DProblem(research, 0.0, 0.0) + reference = DC1DProblem(research, 0.0, 0.0) + u = solve_equilibrium(research).state.u + assert_bits(problem.residual(u), problem.residual(u, np.zeros_like(u))) + assert_same_matrix(problem.jacobian(u), problem.jacobian(u, np.zeros_like(u))) + with pytest.raises(CapabilityError): + problem.residual(u, np.ones_like(u)) + with pytest.raises(CapabilityError): + problem.jacobian(u, np.ones_like(u)) + # R02: shape and finiteness are admitted exactly as DC1DProblem admits them. + for bad in (0.0, np.zeros(1), np.zeros(u.size + 1), np.full(u.size, np.nan)): + with pytest.raises(ValueError): + reference.residual(u, bad) + with pytest.raises(ValueError): + problem.residual(u, bad) + with pytest.raises(ValueError): + problem.jacobian(u, bad) + + +def test_problem_rejects_invalid_drive(research: CompiledDevice1D) -> None: + with pytest.raises(ValueError): + AssembledDC1DProblem(research, 0.0, -1.0) + with pytest.raises(ValueError): + AssembledDC1DProblem(research, float("nan"), 0.0) + other = compile_device_1d(load_device(), intervals_per_layer=6) + with pytest.raises(ValueError): + AssembledDC1DProblem(research, 0.0, 0.0, classical_dc_1d(other)) + + +class _LegacyNamedEndpoint(AssembledDC1DProblem): + """Test-only alias of the private name the unchanged BE accounting calls.""" + + def _contact_exchange(self, u: Vector, channel: CarrierExchangeChannel, node: int) -> tuple[float, float]: + return self.contact_exchange(u, channel, node) + + +def observation_states(device: CompiledDevice1D) -> list[tuple[Vector, float, float]]: + dark = solve_equilibrium(device) + light = solve_steady_state(device, voltage_V=0.4, generation_scale=1.0) + return [(dark.state.u, 0.0, 0.0), (light.state.u, 0.4, 1.0), + (perturbed(device, dark.state, 5), 0.0, 0.0), (perturbed(device, light.state, 6), 0.4, 1.0)] + + +@pytest.mark.parametrize("kind", ["fixed", "robin", "selective", "ct", "injected"]) +def test_observation_kernels_equal_dc1d(kind: str) -> None: + """``recombination_rate`` and ``contact_exchange`` return the DC1DProblem words.""" + if kind == "ct": + device = compile_device_1d(field_transport_case(), intervals_per_layer=(4, 4, 4)) + elif kind in ("robin", "selective"): + device = finite_contacts(kind) + elif kind == "injected": + base = compile_device_1d(load_device(), intervals_per_layer=12) + device = compile_device_1d(load_device(), intervals_per_layer=12, additional_recombination=saturating(base)) + else: + device = compile_device_1d(load_device()) + exchanged = 0 + for u, voltage, light in observation_states(device): + reference = DC1DProblem(device, voltage, light) + candidate = AssembledDC1DProblem(device, voltage, light) + _, n, p = device.fields(u, voltage_V=voltage) + for derivatives in (True, False): + old = reference.recombination_rate(n, p, derivatives=derivatives) + new = candidate.recombination_rate(n, p, derivatives=derivatives) + assert new.has_derivatives == old.has_derivatives == derivatives + for name in ("rate", "d_rate_dn", "d_rate_dp"): + if derivatives: + assert_bits(getattr(old, name), getattr(new, name)) + for channel in device.channels: + node = 0 if channel.side == "left" else device.node_count - 1 + if channel.kind == "fixed_reservoir": + with pytest.raises(ValueError, match="no bound exchange"): + candidate.contact_exchange(u, channel, node) + continue + exchanged += 1 + assert_bits(reference.contact_exchange(u, channel, node), candidate.contact_exchange(u, channel, node)) + with pytest.raises(ValueError, match="no bound exchange"): + candidate.contact_exchange(u, channel, device.node_count - 1 - node) + with pytest.raises(ValueError, match="coordinate vector"): + candidate.contact_exchange(u[:-1], device.channels[0], 0) + assert (exchanged > 0) == (kind in ("robin", "selective")) + + +@pytest.mark.parametrize("kind", ["fixed", "robin", "selective"]) +def test_backward_euler_accounting_on_the_assembled_endpoint(kind: str) -> None: + """The unchanged BE step accounting reads only the public observation surface.""" + device = finite_contacts(kind) if kind != "fixed" else compile_device_1d(load_device()) + old = solve_steady_state(device, voltage_V=0.4, generation_scale=1.0) + system = classical_dc_1d(device) + for voltage, dt in ((0.4, 1.0e-9), (0.45, 1.0e-7)): + legacy = BackwardEuler1DStep(DC1DProblem(device, voltage, 1.0), old.state, dt) + assembled = BackwardEuler1DStep(_LegacyNamedEndpoint(device, voltage, 1.0, system), old.state, dt) + u = perturbed(device, State1D(legacy.initial_coordinates(), old.state.potential_V, + old.state.electron_density_m3, old.state.hole_density_m3, + device.sha256, voltage), 70, 1.0e-3) + reference, candidate = step_accounting(legacy, u), step_accounting(assembled, u) + assert reference.keys() == candidate.keys() + for name, value in reference.items(): + if isinstance(value, (np.ndarray, float)): + assert_bits(value, candidate[name]) + else: + assert value == candidate[name], name + + +def test_masked_storage_increment_keeps_the_original_signed_zeros(research: CompiledDevice1D) -> None: + """Constraint rows of the increment are ``x * 0``, byte for byte as ``*= storage_mask``. + + A falling boundary inventory gives a negative zero there; a positive zero + would be value-equal but not byte-identical to the original storage path. + """ + old = solve_steady_state(research, voltage_V=0.5, generation_scale=1.0) + system = classical_dc_1d(research) + old_problem = AssembledDC1DProblem(research, 0.5, 1.0, system) + rows = system.layout.constraint_mask() + negative = 0 + for voltage in (0.45, 0.5, 0.55): + step = BackwardEuler1DStep(DC1DProblem(research, voltage, 1.0), old.state, 1.0) + for seed in range(3): + u = perturbed(research, State1D(step.initial_coordinates(), old.state.potential_V, + old.state.electron_density_m3, old.state.hole_density_m3, + research.sha256, voltage), 80 + seed, 1.0e-3) + change = np.r_[np.zeros(research.node_count), step.inventory_rate_m2_s(u).ravel()] + change[research.node_count:] *= storage_mask(research).ravel() + increment = old_problem.at(voltage, 1.0).storage_increment(u, old_problem, old.state.u) + assert_bits(change, increment) + negative += int(np.count_nonzero(np.signbit(increment[rows]))) + assert negative > 0 diff --git a/tests/unit/assembly/test_assembly_finite_difference.py b/tests/unit/assembly/test_assembly_finite_difference.py new file mode 100644 index 00000000..60db2f30 --- /dev/null +++ b/tests/unit/assembly/test_assembly_finite_difference.py @@ -0,0 +1,137 @@ +"""Finite-difference checks of the assembled Jacobian and storage tangent. + +The small research mesh (14 nodes) is evaluated at accepted dark and +illuminated points and at seeded perturbations, for fixed-reservoir, +finite-rate/blocking and field-dependent-transport bindings. Each column is +a fourth-order Richardson central difference of ``F`` (and ``S``) along one +coordinate. An entry error is normalized by its row's largest Jacobian +entry, the scale of the cancellation inside one balance row. +""" + +from __future__ import annotations + +from collections.abc import Callable, Iterator +from typing import TypeAlias + +import numpy as np +from numpy.typing import NDArray +import pytest +from threadpoolctl import threadpool_limits + +from examples.research_1d.field_transport import prepare_case as field_transport_case +from examples.research_1d.steady import load_device +from solarlab.config.resolve_device import resolve_device +from solarlab.device.compile_1d import compile_device_1d +from solarlab.device.inputs import DeviceInput +from solarlab.equations.assembly.classical_1d import AssembledDC1DProblem, classical_dc_1d +from solarlab.equations.dc_1d import CompiledDevice1D +from solarlab.solvers.nonlinear.steady_1d import solve_equilibrium, solve_steady_state + +Vector: TypeAlias = NDArray[np.float64] +Matrix: TypeAlias = NDArray[np.float64] +BLOCKS = ("potential", "electron", "hole") +# Richardson-extrapolated central differences of smooth rows reach ~1e-9 of +# the row scale here; a missing or wrong-sign tangent term is O(1). +ROW_TOLERANCE = 1.0e-6 + + +@pytest.fixture(scope="module", autouse=True) +def blas1() -> Iterator[None]: + with threadpool_limits(limits=1): + yield + + +def small(kind: str) -> CompiledDevice1D: + if kind == "ct": + return compile_device_1d(field_transport_case(), intervals_per_layer=(4, 4, 4)) + prepared = load_device() + document = prepared.to_input().editing_data() + if kind == "robin": + document["settings"]["flat_band_contacts"] = True + elif kind == "selective": + document["contacts"] = [dict(id="left", side="left", layer="htl", S_n=0.0, S_p=200.0), + dict(id="right", side="right", layer="etl", S_n=200.0, S_p=0.0)] + if kind != "fixed": + prepared = resolve_device(DeviceInput.model_validate(document), prepared.defaults, + prepared.resources, sources=prepared.sources) + return compile_device_1d(prepared, intervals_per_layer=4) + + +def richardson(function: Callable[[Vector], Vector], u: Vector, steps: Vector) -> Matrix: + """Fourth-order central-difference Jacobian, one coordinate at a time.""" + columns = [] + for index, step in enumerate(steps): + def central(h: float) -> Vector: + plus, minus = u.copy(), u.copy() + plus[index] += h + minus[index] -= h + result: Vector = (function(plus) - function(minus)) / (2.0 * h) + return result + columns.append((4.0 * central(0.5 * step) - central(step)) / 3.0) + return np.column_stack(columns) + + +def row_errors(exact: Matrix, estimate: Matrix, count: int) -> dict[tuple[str, str], float]: + """Max |exact - estimate| per block pair, normalized by each row's largest entry.""" + scale = np.max(np.abs(exact), axis=1) + scale[scale == 0.0] = 1.0 + normalized = np.abs(exact - estimate) / scale[:, None] + return {(row, column): float(np.max(normalized[i * count:(i + 1) * count, j * count:(j + 1) * count])) + for i, row in enumerate(BLOCKS) for j, column in enumerate(BLOCKS)} + + +def states(device: CompiledDevice1D) -> list[tuple[str, Vector, float, float]]: + dark = solve_equilibrium(device) + light = solve_steady_state(device, voltage_V=0.4, generation_scale=1.0) + rng = np.random.default_rng(20261029) + count = device.node_count + scale = np.r_[np.full(count, device.thermal_voltage_V), np.ones(2 * count)] + return [ + ("dark_V0", dark.state.u, 0.0, 0.0), + ("light_V0.4", light.state.u, 0.4, 1.0), + ("dark_perturbed", dark.state.u + 0.05 * scale * rng.standard_normal(3 * count), 0.0, 0.0), + ("light_perturbed", light.state.u + 0.05 * scale * rng.standard_normal(3 * count), 0.4, 1.0), + ] + + +@pytest.mark.parametrize("kind", ["fixed", "robin", "selective", "ct"]) +def test_jacobian_and_storage_tangent_match_finite_differences(kind: str) -> None: + device = small(kind) + system = classical_dc_1d(device) + count = device.node_count + steps = np.r_[np.full(count, 1.0e-5 * device.thermal_voltage_V), np.full(2 * count, 1.0e-5)] + worst: dict[tuple[str, str], float] = {} + for _label, u, voltage, light in states(device): + problem = AssembledDC1DProblem(device, voltage, light, system) + J = problem.jacobian(u).toarray() + FD = richardson(problem.residual, u, steps) + S_u = problem.storage_tangent(u).toarray() + FD_S = richardson(problem.storage, u, steps) + for errors in (row_errors(J, FD, count), row_errors(S_u, FD_S, count)): + for key, value in errors.items(): + worst[key] = max(worst.get(key, 0.0), value) + assert np.all(np.isfinite(FD)) + assert max(worst.values()) < ROW_TOLERANCE, worst + + +def test_storage_increment_is_the_exact_storage_difference() -> None: + """The cancellation-free increment equals S(u) - S(u_old) and has slope S_u.""" + device = small("fixed") + system = classical_dc_1d(device) + old = solve_steady_state(device, voltage_V=0.4, generation_scale=1.0) + old_problem = AssembledDC1DProblem(device, 0.4, 1.0, system) + problem = old_problem.at(0.45, 1.0) + rng = np.random.default_rng(7) + u = device.rebase_coordinates(old.state.u, 0.4, 0.45) + 1.0e-3 * rng.standard_normal(old.state.u.size) + increment = problem.storage_increment(u, old_problem, old.state.u) + difference = problem.storage(u) - old_problem.storage(old.state.u) + scale = np.maximum(np.abs(problem.storage(u)), np.abs(old_problem.storage(old.state.u))) + # The subtraction inherits the rounding of each density's exponent + # (|exponent| <= ~50, so <= ~1.1e-14 of the inventory); the increment + # forms the exponent difference once and does not cancel. + np.testing.assert_array_less(np.abs(increment - difference), 1.0e-13 * scale + 1e-300) + count = device.node_count + steps = np.r_[np.full(count, 1.0e-5 * device.thermal_voltage_V), np.full(2 * count, 1.0e-5)] + slope = richardson(lambda v: problem.storage_increment(v, old_problem, old.state.u), u, steps) + errors = row_errors(problem.storage_tangent(u).toarray(), slope, count) + assert max(errors.values()) < ROW_TOLERANCE, errors diff --git a/tests/unit/assembly/test_assembly_ionic_1d.py b/tests/unit/assembly/test_assembly_ionic_1d.py new file mode 100644 index 00000000..b3b53e0c --- /dev/null +++ b/tests/unit/assembly/test_assembly_ionic_1d.py @@ -0,0 +1,595 @@ +"""Finite-site ionic 1D on the shared Assembler, against the original classes. + +Every ionic factory of the integrated parity harness (tests/support) is +captured from the original implementation and from the assembled bindings +at all four probes, then compared in every binary64 word, signed zeros +included: F, J, S, S_u, M, the backward-Euler step residual/Jacobian (here +in storage-difference form, ``F - dS/dt`` and ``J + M/dt``), every AC +operator (from the assembled small-signal analysis), and the boundary and +constraint row masks; the assembled captures also match Main's frozen digests. The sparse matrices must also share their canonical CSC +structure, so a sparse LU sees the same pattern and ordering. The udot form +(R/J_implicit) is compared at zero rate and is refused otherwise (Q2). +The masked storage increment keeps the original storage adapters' ``x * 0`` +signed zeros on algebraic rows; a step residual leaves those rows at F. + +Finite differences then check J and S_u of each binding independently, and +measure-scaling checks show that the Assembler applies each measure once. +""" + +from __future__ import annotations + +from collections.abc import Callable, Iterator +from dataclasses import replace +import math +from typing import Any, TypeAlias + +import numpy as np +from numpy.typing import NDArray +import pytest +from scipy.sparse import csc_matrix, issparse +from threadpoolctl import threadpool_limits + +from examples.research_1d.ionic_steady import controls as ionic_steady_controls +from solarlab.contracts.errors import ContractError +from solarlab.equations.assembly.assembler import Assembler, Mesh +from solarlab.equations.assembly.classical_1d import AssembledDC1DProblem +from solarlab.equations.assembly.ionic_1d import ( + AssembledConstrainedIonic1DProblem, AssembledConstrainedMultipleIonic1DProblem, AssembledIonic1DProblem, + AssembledMultipleIonic1DProblem, IonicSystem, ionic_system, multiple_ionic_system, +) +from solarlab.equations.assembly.small_signal import ( + AssembledIonicSmallSignal1D, AssembledMultipleIonicSmallSignal1D, +) +from solarlab.equations.assembly.terms import OperatingInputs +from solarlab.equations.dc_1d import CapabilityError +from solarlab.equations.ionic_1d import Ionic1DProblem +from solarlab.equations.multiple_ionic_1d import CompiledMultipleIonicDevice1D, MultipleIonic1DProblem +from solarlab.solvers.nonlinear.ionic_1d import ConstrainedIonic1DProblem, solve_ionic_steady_state +from solarlab.solvers.time.backward_euler import storage_mask +from solarlab.solvers.time.ionic_backward_euler import IonicBackwardEuler1DStep +from solarlab.solvers.time.multiple_ionic_backward_euler import MultipleIonicBackwardEuler1DStep +from solarlab.solvers.nonlinear.multiple_ionic_1d import ( + ConstrainedMultipleIonic1DProblem, solve_multiple_ionic_steady_state, +) +from support.assembly_parity import Extraction, compare +from support.assembly_references import REFERENCE_FACTORIES, Probe, ReferenceCase, _mark_rows + +Vector: TypeAlias = NDArray[np.float64] +Problem: TypeAlias = AssembledIonic1DProblem | AssembledMultipleIonic1DProblem +FAMILIES = ("ionic", "ionic_constrained", "multiple", "multiple_constrained", + "ionic_be", "multiple_be", "ionic_ac", "multiple_ac") +IONIC = tuple(name for name, factory in REFERENCE_FACTORIES.items() if factory.family in FAMILIES) +SEEDED = "seeded_perturbation" +# Richardson central differences of smooth rows reach ~1e-7 of the row scale +# here (h = 1e-4: the coordinate-to-density maps round like ~1e-11 |S|, which +# a smaller h amplifies as 1/h); a missing or wrong-sign tangent term is O(1). +ROW_TOLERANCE = 1.0e-6 +FD_STEP = 1.0e-4 + + +@pytest.fixture(scope="module", autouse=True) +def blas1() -> Iterator[None]: + with threadpool_limits(limits=1): + yield + + +def assembled(case: ReferenceCase, state: Probe) -> Problem: + device = case.device + if isinstance(device, CompiledMultipleIonicDevice1D): + return AssembledMultipleIonic1DProblem(device, state.voltage_V, state.generation_scale) + return AssembledIonic1DProblem(device, state.voltage_V, state.generation_scale) + + +def constrained(problem: Problem, node: int) -> AssembledConstrainedIonic1DProblem | \ + AssembledConstrainedMultipleIonic1DProblem: + if isinstance(problem, AssembledMultipleIonic1DProblem): + return AssembledConstrainedMultipleIonic1DProblem(problem, node) + return AssembledConstrainedIonic1DProblem(problem, node) + + +def owned(system: IonicSystem, suffix: str) -> NDArray[np.bool_]: + """Global rows of the constraint Terms whose id ends with ``suffix``.""" + layout = system.layout + mask: NDArray[np.bool_] = np.zeros(layout.size, dtype=bool) + for rows in layout.constraints: + if rows.owner.endswith(suffix): + mask[layout.rows(rows.block, rows.nodes)] = True + return mask + + +def candidate(case: ReferenceCase, state: Probe) -> Extraction: + """The harness quantities of ``case`` at ``state``, from the assembled bindings only.""" + device, problem = case.device, assembled(case, state) + system = problem.binding + masks = {"potential_fixed": owned(system, "potential.contacts"), + "carrier_fixed": owned(system, ".reservoirs"), + "ion_boundary": np.zeros(system.layout.size, dtype=bool)} + for block in system.layout.blocks[3:]: + span = system.layout.offsets[block.id] + masks["ion_boundary"][[span.start, span.stop - 1]] = True + extra: dict[str, Any] = {} + S = S_u = M = None + if case.family.endswith("constrained"): + target = constrained(problem, 1) + masks["inventory_constraint"] = owned(target.system, ".inventory") + masks["immobile_profile_constraint"] = owned(target.system, ".profile") + F, J = target.residual(state.u), target.jacobian(state.u) + else: + F, J = problem.residual(state.u), problem.jacobian(state.u) + S, S_u, M = problem.physical_storage(state.u), problem.storage_tangent(state.u), problem.storage_jacobian(state.u) + if state.name != SEEDED: + extra["R_implicit"] = problem.residual(state.u, state.udot) + extra["J_implicit"] = problem.jacobian(state.u, state.udot, alpha=state.alpha) + if case.family.endswith("_be"): + previous = problem.at(state.previous_voltage_V, state.generation_scale) + increment = problem.storage_increment(state.u, previous, state.previous_u) + # The original step never writes its algebraic rows (R = F there), so the + # masked increment's signed zeros never enter R. + algebraic = system.layout.constraint_mask() + extra.update(R_step=np.where(algebraic, F, F - increment / state.dt_s), J_step=J + M / state.dt_s) + if case.family.endswith("_ac"): + operating = device.state(state.u, voltage_V=state.voltage_V) + operator: Any = (AssembledMultipleIonicSmallSignal1D(problem, operating, state.coordinate_form) + if isinstance(problem, AssembledMultipleIonic1DProblem) + else AssembledIonicSmallSignal1D(problem, operating, state.coordinate_form)) + mode = "frozen" if case.family == "ionic_ac" and state.name == SEEDED else "mobile" + ac = operator.system(state.frequency_Hz, voltage_phasor_V=complex(.01, .002), ion_mode=mode) + omega = 2 * np.pi * state.frequency_Hz + matrix = ac.jacobian + 1j * omega * ac.storage_jacobian + known = np.zeros(state.u.size, dtype=complex) + for name in ("ac_fixed", "ac_original_enforced", "ac_inventory_constraint", "ac_immobile_constraint"): + masks[name] = np.zeros(state.u.size, dtype=bool) + for row, value in ac.fixed_coordinates.items(): + known[row], masks["ac_fixed"][row] = value, True + masks["ac_original_enforced"][list(ac.original_rows_enforced)] = True + _mark_rows(ac.constraint_rows, masks["ac_inventory_constraint"]) + _mark_rows(ac.immobile_constraint_rows, masks["ac_immobile_constraint"]) + extra.update(J_ac=ac.jacobian, M_ac=ac.storage_jacobian, A_ac=matrix, + R_ac=matrix @ state.ac_perturbation - (ac.rhs + 1j * omega * ac.rhs_rate), + rhs_ac=ac.rhs, rhs_rate_ac=ac.rhs_rate, fixed_ac=known, lift_ac=ac.coordinate_lift_per_V, + original_R_ac=operator.original_residual(state.ac_perturbation, state.frequency_Hz, + voltage_phasor_V=complex(.01, .002))) + J, M, S_u = operator.jacobian, operator.storage_jacobian, -operator.storage_jacobian + return Extraction(F, J, case.blocks, S, S_u, M, extra, masks, {"candidate": type(problem).__name__}) + + +def reference(case: ReferenceCase, state: Probe) -> Extraction: + """The original capture; the nonzero-rate udot form is not migrated (Q2).""" + captured = case.extract(state) + if state.name != SEEDED: + return captured + extra = {name: value for name, value in captured.extra.items() if name not in ("R_implicit", "J_implicit")} + return replace(captured, extra=extra) + + +def canonical(matrix: Any) -> csc_matrix: + result = csc_matrix(matrix, copy=True) + result.sum_duplicates() + result.sort_indices() + return result + + +@pytest.mark.parametrize("name", IONIC) +def test_every_quantity_is_bitwise_equal(name: str, request: pytest.FixtureRequest) -> None: + case = REFERENCE_FACTORIES[name]() + words, blocks = 0, 0 + for state in case.states: + left, right = reference(case, state), candidate(case, state) + comparison = compare(left, right) + comparison.assert_equal() + assert all(item.bitwise_equal and item.changed_entries == 0 for item in comparison.differences) + for quantity, value in left.quantities().items(): + if issparse(value): + a, b = canonical(value), canonical(right.quantities()[quantity]) + assert (a.indptr.tobytes(), a.indices.tobytes(), a.data.tobytes()) == \ + (b.indptr.tobytes(), b.indices.tobytes(), b.data.tobytes()), quantity + blocks += len(comparison.differences) + words += sum(int(np.prod(np.shape(value))) for value in left.quantities().values()) + request.node.user_properties.append(("ionic_parity", {"factory": name, "block_pairs": blocks, + "words": words, "changed_words": 0})) + + +@pytest.mark.platform_bound +@pytest.mark.parametrize("name", IONIC) +def test_assembled_captures_match_the_frozen_digests(name: str, frozen_digests: tuple[Any, dict[str, Any]]) -> None: + """Main's frozen digests of the original captures (cd4b4d28) also hold the assembled ones.""" + case = REFERENCE_FACTORIES[name]() + digest, factories = frozen_digests + for state in case.states: + expected = factories[name]["states"][state.name]["quantities"] + if state.name == SEEDED: + expected = {key: value for key, value in expected.items() if key not in ("R_implicit", "J_implicit")} + assert digest(candidate(case, state)) == expected, name + "/" + state.name + + +def test_nonzero_rate_udot_form_is_refused() -> None: + case = REFERENCE_FACTORIES["ionic:shared"]() + state = next(probe for probe in case.states if probe.name == SEEDED) + problem = assembled(case, state) + legacy = Ionic1DProblem(case.device, state.voltage_V, state.generation_scale) + with pytest.raises(CapabilityError): + problem.residual(state.u, state.udot) + with pytest.raises(CapabilityError): + problem.jacobian(state.u, state.udot, alpha=state.alpha) + for bad in (0.0, np.zeros(1), np.zeros(state.u.size + 1), np.full(state.u.size, np.nan)): + with pytest.raises(ValueError): + legacy.residual(state.u, bad) + with pytest.raises(ValueError): + problem.residual(state.u, bad) + multiple = REFERENCE_FACTORIES["multiple:shared"]() + probe = multiple.states[0] + target = assembled(multiple, probe) + original = MultipleIonic1DProblem(multiple.device, probe.voltage_V, probe.generation_scale) + for rate in (np.zeros(probe.u.size, dtype=complex), np.zeros(probe.u.size + 1)): + for function in (original.residual, target.residual): + with pytest.raises(ValueError): + function(probe.u, rate) + with pytest.raises(ValueError, match="finite real scalar"): + target.jacobian(probe.u, alpha=float("nan")) + + +@pytest.mark.parametrize("name", ["ionic:dual", "ionic:shared", "multiple:independent", "multiple:shared"]) +def test_observation_surface_equals_the_original_classes(name: str) -> None: + case = REFERENCE_FACTORIES[name]() + for state in case.states: + problem = assembled(case, state) + if isinstance(problem, AssembledMultipleIonic1DProblem): + original: Any = MultipleIonic1DProblem(case.device, state.voltage_V, state.generation_scale) + selectors = [dict(domain_id=domain.domain_layer_id, species=species) + for domain in case.device.domains for species in domain.ion_species_names] + gradients = original.inventory_gradients(state.u), problem.inventory_gradients(state.u) + for domain, species in gradients[0].items(): + for key, value in species.items(): + assert value.tobytes() == gradients[1][domain][key].tobytes() + assert problem.physical_storage(state.u).tobytes() == original.physical_storage(state.u).tobytes() + else: + original = Ionic1DProblem(case.device, state.voltage_V, state.generation_scale) + selectors = [dict(species=species) for species in case.device.ion_species_names] + for selector in selectors: + assert problem.ion_fluxes(state.u, **selector).tobytes() == original.ion_fluxes(state.u, **selector).tobytes() + assert (problem.ion_fluxes_on_electronic_faces(state.u, **selector).tobytes() + == original.ion_fluxes_on_electronic_faces(state.u, **selector).tobytes()) + assert problem.ion_current_density_A_m2(state.u).tobytes() == original.ion_current_density_A_m2(state.u).tobytes() + electronic = problem.electronic_problem + assert isinstance(electronic, AssembledDC1DProblem) + u = state.u[:3 * case.device.node_count] + for carrier in ("electron", "hole"): + old = getattr(original.electronic_problem.fluxes(u), carrier) + new = getattr(electronic.fluxes(u), carrier) + assert old.flux.tobytes() == new.flux.tobytes() + for alpha in (0.25, -3.0e7): + a, b = canonical(original.jacobian(state.u, alpha=alpha)), canonical(problem.jacobian(state.u, alpha=alpha)) + assert (a.indptr.tobytes(), a.indices.tobytes(), a.data.tobytes()) == \ + (b.indptr.tobytes(), b.indices.tobytes(), b.data.tobytes()) + + +@pytest.mark.parametrize("name", [name for name in IONIC if name.split(":")[0].endswith("constrained")]) +def test_constrained_bookkeeping_equals_the_original_wrappers(name: str) -> None: + case = REFERENCE_FACTORIES[name]() + state = case.states[1] + problem = assembled(case, state) + target = constrained(problem, 1) + names: tuple[str, ...] + if isinstance(problem, AssembledMultipleIonic1DProblem): + original: Any = ConstrainedMultipleIonic1DProblem( + MultipleIonic1DProblem(case.device, state.voltage_V, state.generation_scale), 1) + names = ("immobile_species", "profile_constraint_rows", "constraint_rows") + else: + original = ConstrainedIonic1DProblem(Ionic1DProblem(case.device, state.voltage_V, state.generation_scale), 1) + names = ("constraint_row", "immobile_species", "profile_constraint_rows", "inventory_target_m2", + "constraint_rows", "inventory_targets_m2") + for attribute in names: + assert getattr(target, attribute) == getattr(original, attribute), attribute + closure = owned(target.system, ".inventory") | owned(target.system, ".profile") + np.testing.assert_array_equal(closure, target.system.closure_rows) + for node in (-1, case.device.node_count * 99, True): + with pytest.raises(ValueError, match="inventory_row_node"): + constrained(problem, node) # type: ignore[arg-type] + + +def test_inadmissible_and_invalid_inputs_are_refused_as_before() -> None: + case = REFERENCE_FACTORIES["ionic:confined"]() + state = case.states[0] + problem = AssembledIonic1DProblem(case.device, state.voltage_V, state.generation_scale) + legacy = Ionic1DProblem(case.device, state.voltage_V, state.generation_scale) + u = np.array(state.u, copy=True) + u[case.device.node_count] = 800.0 # n overflows + for function in (legacy.residual, problem.residual, legacy.jacobian, problem.jacobian): + with pytest.raises(ValueError, match="outside the finite positive domain"): + function(u) + with pytest.raises(ValueError, match="alpha must be finite"): + problem.jacobian(state.u, alpha=float("inf")) + with pytest.raises(TypeError): + AssembledIonic1DProblem(REFERENCE_FACTORIES["multiple:positive"]().device) # type: ignore[arg-type] + with pytest.raises(ValueError): + AssembledIonic1DProblem(case.device, 0.0, -1.0) + with pytest.raises(ValueError, match="original rows"): + AssembledIonic1DProblem(case.device, 0.0, 0.0, ionic_system(case.device, inventory_row_node=1)) + with pytest.raises(ValueError, match="requested ion species"): + problem.ion_fluxes(state.u, species="negative") + + +def richardson(function: Callable[[Vector], Vector], u: Vector, steps: Vector) -> NDArray[np.float64]: + """Fourth-order central-difference Jacobian, one coordinate at a time.""" + columns = [] + for index, step in enumerate(steps): + def central(h: float) -> Vector: + plus, minus = u.copy(), u.copy() + plus[index] += h + minus[index] -= h + result: Vector = (function(plus) - function(minus)) / (2.0 * h) + return result + columns.append((4.0 * central(0.5 * step) - central(step)) / 3.0) + return np.column_stack(columns) + + +def block_errors(exact: NDArray[np.float64], estimate: NDArray[np.float64], case: ReferenceCase, + level: Vector, steps: Vector) -> dict[tuple[str, str], float]: + """Max |exact - estimate| per block pair, beyond the difference quotient's round-off. + + The probes are off-solution, so a row value ``|F_i|`` can exceed its + tangents by ~1e5 (constant generation); a central difference then carries + ``~eps |F_i| / h_j`` of rounding. That floor (x8) is removed before the + error is normalized by the row's largest exact entry. + """ + scale = np.max(np.abs(exact), axis=1) + scale[scale == 0.0] = 1.0 + floor = 8.0 * np.finfo(float).eps * np.abs(level)[:, None] / steps[None, :] + normalized = np.maximum(np.abs(exact - estimate) - floor, 0.0) / scale[:, None] + return {(row.name, column.name): float(np.max(normalized[row.indices, column.indices])) + for row in case.blocks for column in case.blocks} + + +FD_CASES = ("ionic:single", "ionic:confined", "ionic:dual", "ionic:shared", "ionic:immobile", + "ionic_constrained:confined", "ionic_constrained:shared", "ionic_constrained:immobile", + "ionic_constrained:immobile_single", "multiple:positive", "multiple:independent", "multiple:shared", + "multiple_constrained:independent", "multiple_constrained:shared", "multiple_constrained:immobile") + + +def steps_of(case: ReferenceCase) -> Vector: + thermal = case.device.electronic_component.thermal_voltage_V + count = case.device.node_count + result: Vector = np.r_[np.full(count, FD_STEP * thermal), np.full(case.device.state_size - count, FD_STEP)] + return result + + +def fd_states(case: ReferenceCase) -> list[tuple[str, Vector, float, float]]: + """The four harness probes plus, with a closure, an accepted steady state and a perturbation. + + (The original solver stagnates on ``multiple_constrained:immobile``; that + case is checked at the four probes.) + """ + states = [(state.name, np.array(state.u, copy=True), state.voltage_V, state.generation_scale) + for state in case.states] + if case.family.endswith("constrained"): + device = case.device + multiple = isinstance(device, CompiledMultipleIonicDevice1D) + domain = device.domains[0] if isinstance(device, CompiledMultipleIonicDevice1D) else device + solve: Any = solve_multiple_ionic_steady_state if multiple else solve_ionic_steady_state + point = solve(device, voltage_V=0.002, generation_scale=0.0, options=ionic_steady_controls(domain.ion_node_count)) + if not point.accepted or point.state is None: + return states + rng = np.random.default_rng(20261029) + count = device.node_count + scale = np.r_[np.full(count, device.electronic_component.thermal_voltage_V), np.ones(device.state_size - count)] + states += [("solved", np.array(point.state.u, copy=True), 0.002, 0.0), + ("solved_perturbed", point.state.u + 1.0e-2 * scale * rng.standard_normal(device.state_size), 0.002, 0.0)] + return states + + +@pytest.mark.parametrize("name", FD_CASES) +def test_jacobian_and_storage_tangent_match_finite_differences(name: str, request: pytest.FixtureRequest) -> None: + case = REFERENCE_FACTORIES[name]() + steps = steps_of(case) + worst: dict[str, float] = {} + for label, u, voltage, light in fd_states(case): + problem: Problem = (AssembledMultipleIonic1DProblem(case.device, voltage, light) + if isinstance(case.device, CompiledMultipleIonicDevice1D) + else AssembledIonic1DProblem(case.device, voltage, light)) + rows: Any = constrained(problem, 1) if case.family.endswith("constrained") else problem + quantities = [("J", rows.jacobian(u).toarray(), rows.residual)] + if rows is problem: + quantities.append(("S_u", problem.storage_tangent(u).toarray(), problem.storage)) + for quantity, exact, function in quantities: + estimate = richardson(function, u, steps) + assert np.all(np.isfinite(estimate)) + errors = block_errors(exact, estimate, case, function(u), steps) + worst[quantity] = max(worst.get(quantity, 0.0), max(errors.values())) + assert max(errors.values()) < ROW_TOLERANCE, (quantity, label, errors) + request.node.user_properties.append(("ionic_fd", {"factory": name, "states": len(fd_states(case)), **worst})) + + +@pytest.mark.parametrize("name", ["ionic_be:dual", "ionic_be:shared", "multiple_be:shared"]) +def test_storage_increment_is_the_storage_difference(name: str) -> None: + """The site-law secant equals S(u) - S(u_old) to rounding and has slope S_u.""" + case = REFERENCE_FACTORIES[name]() + state = case.states[3] + problem = assembled(case, state) + previous = problem.at(state.previous_voltage_V, state.generation_scale) + increment = problem.storage_increment(state.u, previous, state.previous_u) + difference = problem.storage(state.u) - previous.storage(state.previous_u) + scale = np.maximum(np.abs(problem.storage(state.u)), np.abs(previous.storage(state.previous_u))) + np.testing.assert_array_less(np.abs(increment - difference), 1.0e-13 * scale + 1e-300) + steps = steps_of(case) + slope = richardson(lambda v: problem.storage_increment(v, previous, state.previous_u), + np.array(state.u, copy=True), steps) + errors = block_errors(problem.storage_tangent(state.u).toarray(), slope, case, increment, steps) + assert max(errors.values()) < ROW_TOLERANCE, errors + + +def scaled(system: IonicSystem, *, volumes: float = 1.0, faces: float = 1.0) -> Assembler: + """The same declaration on a mesh whose ion-domain measures are scaled exactly.""" + supports = [] + for support in system.assembler.mesh.supports: + if support.node_set.startswith("ion:"): + g = support.geometry + support = replace(support, geometry=replace(g, volumes=volumes * g.volumes, + face_measures=faces * g.face_measures)) + supports.append(support) + assembler = system.assembler + return Assembler(assembler.layout, Mesh(tuple(supports)), assembler.fields, assembler.terms) + + +@pytest.mark.parametrize("name", ["ionic_constrained:immobile", "multiple_constrained:shared"]) +def test_each_ion_measure_enters_its_kinds_exactly_once(name: str) -> None: + """R06: doubling one measure doubles exactly the pieces that own it, bit for bit. + + Doubling is exact in binary64, so a Term that pre-multiplied a measure (or + one weighted twice) breaks the equalities. + """ + case = REFERENCE_FACTORIES[name]() + state = case.states[3] + multiple = isinstance(case.device, CompiledMultipleIonicDevice1D) + inputs = OperatingInputs(state.voltage_V, state.generation_scale) + for closure in (None, 1): + system = (multiple_ionic_system if multiple else ionic_system)(case.device, inventory_row_node=closure) + layout = system.layout + base = system.assembler.evaluate(state.u, inputs, storage=True) + cells = scaled(system, volumes=2.0).evaluate(state.u, inputs, storage=True) + faces = scaled(system, faces=2.0).evaluate(state.u, inputs, storage=True) + ion: NDArray[np.bool_] = np.zeros(layout.size, dtype=bool) + for block in layout.blocks[3:]: + ion[layout.offsets[block.id]] = True + closed = system.closure_rows + transport = ion & ~closed + assert base.J is not None and cells.J is not None and faces.J is not None + J, J_cells, J_faces = (matrix.toarray() for matrix in (base.J, cells.J, faces.J)) + # Ion balance rows carry only face pieces; closure rows only cell-weighted pieces. + assert (2.0 * base.F[transport]).tobytes() == faces.F[transport].tobytes() + assert (2.0 * J[transport]).tobytes() == J_faces[transport].tobytes() + assert base.F[transport].tobytes() == cells.F[transport].tobytes() + assert (2.0 * base.F[closed]).tobytes() == cells.F[closed].tobytes() + assert (2.0 * J[closed]).tobytes() == J_cells[closed].tobytes() + assert base.F[~transport].tobytes() == faces.F[~transport].tobytes() + # Storage: S and S_u on ion rows are cell pieces. + assert base.S is not None and cells.S is not None and base.S_u is not None and cells.S_u is not None + assert (2.0 * base.S[ion & ~closed]).tobytes() == cells.S[ion & ~closed].tobytes() + assert (2.0 * base.S_u.toarray()[ion]).tobytes() == cells.S_u.toarray()[ion].tobytes() + # Gauss rows: ion charge tangents carry the Mesh ratio W_i/W_e (doubled); + # rho is the compiled ledger, bound to the Mesh by the ratio contract. + gauss: NDArray[np.bool_] = np.zeros(layout.size, dtype=bool) + gauss[layout.offsets["potential"]] = True + assert (2.0 * J[np.ix_(gauss, ion)]).tobytes() == J_cells[np.ix_(gauss, ion)].tobytes() + assert J[np.ix_(gauss, ~ion)].tobytes() == J_cells[np.ix_(gauss, ~ion)].tobytes() + + +def test_embedded_charge_needs_the_compiled_deposition_ratio(monkeypatch: pytest.MonkeyPatch) -> None: + """The ledger deposits with the compiled W_i/W_e; a different Mesh ratio is refused.""" + device = REFERENCE_FACTORIES["ionic:confined"]().device + system = ionic_system(device) + ratio = system.assembler.embedding_ratio("ion:" + device.domain_layer_id) + assert ratio.tobytes() == device.ion_charge_weight_ratio.tobytes() + original = Mesh.embedding_ratio + monkeypatch.setattr(Mesh, "embedding_ratio", + lambda self, layout, node_set: np.nextafter(original(self, layout, node_set), np.inf)) + with pytest.raises(CapabilityError, match="deposition weights"): + ionic_system(device) + + +def test_reduction_rows_keep_the_historical_fsum_grouping() -> None: + """K1 rows are ``fsum(W P) - fsum(W P0)``; KM rows are ``fsum(W (P - P0))``.""" + case = REFERENCE_FACTORIES["ionic_constrained:dual"]() + multiple = REFERENCE_FACTORIES["multiple_constrained:independent"]() + for current, form in ((case, "k1"), (multiple, "km")): + state = current.states[3] + target = constrained(assembled(current, state), 1) + F = target.residual(state.u) + for rows in target.system.layout.constraints: + if not rows.owner.endswith(".inventory"): + continue + domain = next(d for d in (current.device.domains if form == "km" else (current.device,)) + if rows.block.startswith("ion:" + d.domain_layer_id + ":")) + species = rows.block.rsplit(":", 1)[1] + density = target.system.assembler.state(state.u, target.original.inputs).field(rows.block) # type: ignore[union-attr] + reference = getattr(domain, species + "_ion_reference_m3") + W = domain.ion_geometry.cell_measures_m + expected = (math.fsum((W * density).tolist()) - math.fsum((W * reference).tolist()) if form == "k1" + else math.fsum((W * (density - reference)).tolist())) + row = target.system.layout.rows(rows.block, rows.nodes)[0] + assert np.float64(F[row]).tobytes() == np.float64(expected).tobytes() + + +def test_reduction_constraint_contract_is_enforced() -> None: + device = REFERENCE_FACTORIES["ionic:confined"]().device + system = ionic_system(device, inventory_row_node=1) + layout = system.layout + rows = next(item for item in layout.constraints if item.owner.endswith(".inventory")) + widened = replace(rows, nodes=(1, 2)) + others = tuple(item for item in layout.constraints if item is not rows) + bad = Assembler(replace(layout, constraints=others + (widened,)), system.assembler.mesh, + system.assembler.fields, system.assembler.terms) + state = REFERENCE_FACTORIES["ionic:confined"]().states[0] + with pytest.raises(ContractError, match="reduction_constraint_owns_one_row"): + bad.evaluate(state.u, OperatingInputs(state.voltage_V, state.generation_scale)) + + +def test_nonfinite_original_rows_are_refused_before_their_replacement(monkeypatch: pytest.MonkeyPatch) -> None: + """The original wrappers check every original row, then replace the closure rows. + + On ``immobile_single`` every ion row is a profile row, so a nonfinite ion + transport value or tangent survives only in the replaced rows. + """ + import solarlab.equations.assembly.ionic_1d as assembled_module + import solarlab.equations.ionic_1d as original_module + + flux_kernel, tangent_kernel = original_module.ion_face_flux, original_module.ion_face_flux_jacobian + + def poisoned_flux(*args: Any, **kwargs: Any) -> Any: + flux = np.array(flux_kernel(*args, **kwargs), copy=True) + flux[0] = np.nan + return flux + + def poisoned_tangent(*args: Any, **kwargs: Any) -> Any: + tangent = tangent_kernel(*args, **kwargs) + derivative = np.array(tangent.potential_left_derivative, copy=True) + derivative[0] = np.nan + return replace(tangent, potential_left_derivative=derivative) + + case = REFERENCE_FACTORIES["ionic_constrained:immobile_single"]() + state = case.states[1] + for module in (original_module, assembled_module): + monkeypatch.setattr(module, "ion_face_flux_jacobian", poisoned_tangent) + original = ConstrainedIonic1DProblem(Ionic1DProblem(case.device, state.voltage_V, state.generation_scale), 1) + target = AssembledConstrainedIonic1DProblem( + AssembledIonic1DProblem(case.device, state.voltage_V, state.generation_scale), 1) + for problem in (original, target): + with pytest.raises(FloatingPointError, match="Jacobian is outside the finite"): + problem.jacobian(state.u) + system = target.assemble(state.u) + assert system.J is not None and system.replaced_nonfinite_rows is not None + assert np.all(np.isfinite(system.J.data)) and np.any(system.replaced_nonfinite_rows) + for module in (original_module, assembled_module): + monkeypatch.setattr(module, "ion_face_flux_jacobian", tangent_kernel) + monkeypatch.setattr(module, "ion_face_flux", poisoned_flux) + for problem in (original, target): + with pytest.raises(FloatingPointError, match="residual is outside the finite"): + problem.residual(state.u) + assert np.all(np.isfinite(target.assemble(state.u, derivatives=False).F)) + + +@pytest.mark.parametrize("name", ["ionic_be:confined", "ionic_be:dual", "ionic_be:shared", "multiple_be:shared"]) +def test_masked_storage_increment_keeps_the_original_signed_zeros(name: str) -> None: + """Increments equal the original secants with ``[carrier rows] *= storage_mask``, byte for byte.""" + case = REFERENCE_FACTORIES[name]() + device, count = case.device, case.device.node_count + negative = 0 + for state in case.states: + problem = assembled(case, state) + previous = problem.at(state.previous_voltage_V, state.generation_scale) + increment = problem.storage_increment(state.u, previous, state.previous_u) + old = device.state(state.previous_u, voltage_V=state.previous_voltage_V) + ions: list[Vector] + if isinstance(device, CompiledMultipleIonicDevice1D): + step: Any = MultipleIonicBackwardEuler1DStep( + MultipleIonic1DProblem(device, state.voltage_V, state.generation_scale), old, 1.0) + carrier, rates = step.inventory_rates_m2_s(state.u) + ions = [rates[domain][species] for domain, blocks in device.ion_species_slices.items() for species in blocks] + else: + step = IonicBackwardEuler1DStep(Ionic1DProblem(device, state.voltage_V, state.generation_scale), old, 1.0) + carrier, local = step.inventory_rates_m2_s(state.u) + ions = list(local) + change = np.r_[np.zeros(count), carrier.ravel(), *ions] + change[count:3 * count] *= storage_mask(device.electronic_component).ravel() + assert increment.tobytes() == change.tobytes() + negative += int(np.count_nonzero(np.signbit(increment[problem.binding.layout.constraint_mask()]))) + assert negative > 0 diff --git a/tests/unit/assembly/test_assembly_ionic_drivers.py b/tests/unit/assembly/test_assembly_ionic_drivers.py new file mode 100644 index 00000000..26cf81ee --- /dev/null +++ b/tests/unit/assembly/test_assembly_ionic_drivers.py @@ -0,0 +1,206 @@ +"""The ionic drivers on the assembled ionic system, word for word. + +The ionic steady drivers (single-domain and per-domain closures with their +row weights, step limits, diagnostics and numerical checks) and the ionic +backward-Euler transient drivers (evidence admission, voltage-lift seeds, +Newton steps, step accounting) run twice: under the legacy opt-out, and +under the assembled production selection. During the assembled run every +evaluation method of the original classes raises, so the second history +comes from the Assembler alone. Every result field must then have the same +binary64 words, except the wall-clock ``wall_s``. +""" + +from __future__ import annotations + +from collections.abc import Iterator +from contextlib import ExitStack +import dataclasses +import enum +import hashlib +import json +from pathlib import Path +from typing import Any, NoReturn +from unittest import mock + +import numpy as np +import pytest +from threadpoolctl import threadpool_limits + +from examples.research_1d.ionic_steady import controls as steady_controls +from examples.research_1d.ionic_transient import controls as transient_controls, protocol +from examples.research_1d.transient import json_value +import solarlab.experiments.ionic_transient as ionic_transient +import solarlab.experiments.multiple_ionic_transient as multiple_transient +from solarlab.equations.assembly.assembler import Assembler +from solarlab.equations.dc_1d import DC1DProblem +from solarlab.equations.implementation import ASSEMBLED, LEGACY, equation_implementation +from solarlab.equations.ionic_1d import Ionic1DProblem +from solarlab.equations.multiple_ionic_1d import CompiledMultipleIonicDevice1D, MultipleIonic1DProblem +from solarlab.experiments.transient_results import _encode +import solarlab.solvers.nonlinear.ionic_1d as ionic_steady +import solarlab.solvers.nonlinear.multiple_ionic_1d as multiple_steady +from support.assembly_references import REFERENCE_FACTORIES +from support import equation_provenance + +SINGLE = ("ionic_constrained:confined", "ionic_constrained:dual", "ionic_constrained:shared", + "ionic_constrained:immobile", "ionic_constrained:immobile_single") +MULTIPLE = ("multiple_constrained:positive", "multiple_constrained:independent", + "multiple_constrained:shared", "multiple_constrained:immobile") +WALL_CLOCK = frozenset({"wall_s"}) +ORIGINAL_EVALUATIONS = ( + # contact_exchange is the evaluation; _contact_exchange, its alias for the pending accounting migration. + (DC1DProblem, ("residual", "jacobian", "storage_jacobian", "fluxes", "recombination_rate", "contact_exchange", + "_contact_exchange")), + (Ionic1DProblem, ("residual", "jacobian", "storage_jacobian", "ion_fluxes")), + (MultipleIonic1DProblem, ("residual", "jacobian", "storage_jacobian", "ion_fluxes", "physical_storage")), + (ionic_steady.ConstrainedIonic1DProblem, ("residual", "jacobian")), + (multiple_steady.ConstrainedMultipleIonic1DProblem, ("residual", "jacobian")), +) + + +@pytest.fixture(scope="module", autouse=True) +def blas1() -> Iterator[None]: + with threadpool_limits(limits=1): + yield + + +class Substituted: + """The assembled production selection, with original evaluations forbidden.""" + + def __init__(self) -> None: + self.evaluations = 0 + self._stack = ExitStack() + + def __enter__(self) -> Substituted: + def forbidden(*args: object, **kwargs: object) -> NoReturn: + raise AssertionError("an original evaluation ran during the substituted history") + + self._stack.enter_context(equation_implementation(ASSEMBLED)) + for cls, methods in ORIGINAL_EVALUATIONS: + for method in methods: + self._stack.enter_context(mock.patch.object(cls, method, forbidden)) + original = Assembler.evaluate + + def counted(assembler: Assembler, *args: Any, **kwargs: Any) -> Any: + self.evaluations += 1 + return original(assembler, *args, **kwargs) + + self._stack.enter_context(mock.patch.object(Assembler, "evaluate", counted)) + return self + + def __exit__(self, *exc: object) -> None: + self._stack.close() + + +def words(value: Any) -> Any: + """Every result leaf; floats and arrays as their binary64 words, wall clock dropped.""" + if dataclasses.is_dataclass(value) and not isinstance(value, type): + return (type(value).__name__, tuple((item.name, words(getattr(value, item.name))) + for item in dataclasses.fields(value) if item.name not in WALL_CLOCK)) + if isinstance(value, dict): + return ("dict", tuple((key, words(item)) for key, item in value.items() if key not in WALL_CLOCK)) + if isinstance(value, (list, tuple)): + return (type(value).__name__, tuple(words(item) for item in value)) + if isinstance(value, np.ndarray): + return ("array", value.dtype.str, value.shape, np.ascontiguousarray(value).tobytes()) + if isinstance(value, (float, np.floating)): + return ("float", np.float64(value).tobytes()) + if isinstance(value, enum.Enum): + return ("enum", type(value).__name__, value.value) + return ("value", value) + + +def steady(device: Any) -> Any: + if isinstance(device, CompiledMultipleIonicDevice1D): + return multiple_steady.solve_multiple_ionic_steady_state( + device, voltage_V=0.002, generation_scale=0.0, options=steady_controls(device.domains[0].ion_node_count)) + return ionic_steady.solve_ionic_steady_state( + device, voltage_V=0.002, generation_scale=0.0, options=steady_controls(device.ion_node_count)) + + +def evidence(device: Any, point: Any, directory: Path) -> tuple[Path, str]: + """The steady evidence document each transient driver admits.""" + if isinstance(device, CompiledMultipleIonicDevice1D): + document: Any = _encode({"schema": "solarlab.multiple_ionic_steady.v1", "result": point, + "source_sha256": {}, "qualification": False}) + raw = (json.dumps(document, indent=2, allow_nan=False) + "\n").encode() + else: + document = json_value({"summary": {"accepted": point.accepted, "compiled_identity": device.identity, + "voltage_V": 0.002, "generation_scale": 0.0}, "result": point}) + raw = (json.dumps(document, allow_nan=False) + "\n").encode() + path = directory / "Steady.json" + path.write_bytes(raw) + return path, hashlib.sha256(raw).hexdigest() + + +def bound(result: Any, device: Any, implementation: str) -> Any: + """A transient history with its Q6 equation binding asserted and set aside (two-domain results record one).""" + if not isinstance(device, CompiledMultipleIonicDevice1D): + return result + closure = steady_controls(device.domains[0].ion_node_count).inventory_row_node + return equation_provenance.checked(result, "MultipleIonicBackwardEuler1DStep", device, implementation, closure) + + +def transient(device: Any, path: Path, digest: str) -> Any: + if isinstance(device, CompiledMultipleIonicDevice1D): + controls = steady_controls(device.domains[0].ion_node_count) + initial = multiple_transient.load_multiple_ionic_steady_initial(device, path, digest, controls=controls) + return multiple_transient.solve_multiple_ionic_transient(device, initial, protocol(4), + options=transient_controls()) + initial = ionic_transient.load_ionic_steady_initial(device, path, digest, + controls=steady_controls(device.ion_node_count)) + return ionic_transient.solve_ionic_transient(device, initial, protocol(4), options=transient_controls()) + + +@pytest.mark.parametrize("name", SINGLE + MULTIPLE) +def test_steady_and_transient_histories_are_identical(name: str, tmp_path: Path, + request: pytest.FixtureRequest) -> None: + device = REFERENCE_FACTORIES[name]().device + with equation_implementation(LEGACY): + legacy = steady(device) + with Substituted() as run: + candidate = steady(device) + assert run.evaluations > 0 + assert words(candidate) == words(legacy) + record: dict[str, Any] = {"factory": name, "steady_accepted": legacy.accepted, + "steady_termination": legacy.termination, + "steady_iterations": None if legacy.newton is None else len(legacy.newton.iterations), + "steady_assembled_evaluations": run.evaluations} + if legacy.accepted: + path, digest = evidence(device, legacy, tmp_path) + with equation_implementation(LEGACY): + before = transient(device, path, digest) + with Substituted() as run: + after = transient(device, path, digest) + assert run.evaluations > 0 + assert len(before.states) == protocol(4).times_s.size + assert words(bound(after, device, ASSEMBLED)) == words(bound(before, device, LEGACY)) + record.update(transient_states=len(before.states), transient_assembled_evaluations=run.evaluations, + transient_iterations=[None if attempt.newton is None else len(attempt.newton.iterations) + for attempt in before.attempts]) + request.node.user_properties.append(("ionic_driver_parity", record)) + + +def test_a_changed_history_is_detected() -> None: + """The word comparison distinguishes signed zeros and one-ulp changes.""" + assert words(0.0) != words(-0.0) + assert words(np.array([1.0])) != words(np.array([np.nextafter(1.0, 2.0)])) + assert words({"wall_s": 1.0, "value": 2.0}) == words({"wall_s": 3.0, "value": 2.0}) + + +def test_every_guarded_original_evaluation_is_refused_before_its_body() -> None: + """Under Substituted each listed method, and the public contact exchange by name, raises on entry. + + An uninitialized instance has no device: a body that ran would fail with another error. + """ + refused = "an original evaluation ran during the substituted history" + with Substituted(): + for cls, methods in ORIGINAL_EVALUATIONS: + probe = object.__new__(cls) + for method in methods: + with pytest.raises(AssertionError, match=refused): + getattr(probe, method)(None, None, 0) + with pytest.raises(AssertionError, match=refused): + object.__new__(DC1DProblem).contact_exchange(None, None, 0) + with pytest.raises(AttributeError): + object.__new__(DC1DProblem).contact_exchange(None, None, 0) diff --git a/tests/unit/assembly/test_assembly_layout.py b/tests/unit/assembly/test_assembly_layout.py new file mode 100644 index 00000000..a37ccce1 --- /dev/null +++ b/tests/unit/assembly/test_assembly_layout.py @@ -0,0 +1,114 @@ +"""SystemLayout indexing, identity and constraint ownership; MEASURE expressions.""" + +from __future__ import annotations + +import numpy as np +import pytest + +from solarlab.contracts import ONE, VOLT +from solarlab.contracts.errors import ContractError +from solarlab.equations.assembly import MEASURE, Block, ConstraintRows, NodeSet, SystemLayout +from solarlab.equations.assembly.weighted import evaluate, measure_count + + +def electronic(count: int = 5, *, reservoirs: bool = True) -> SystemLayout: + constraints = [ConstraintRows("potential", (0, count - 1), "potential.contacts", VOLT)] + if reservoirs: + constraints.append(ConstraintRows("electron", (count - 1,), "electron.reservoirs", ONE)) + return SystemLayout((NodeSet("nodes", count),), + (Block("potential", "nodes", VOLT, ONE), Block("electron", "nodes", ONE, ONE), + Block("hole", "nodes", ONE, ONE)), tuple(constraints)) + + +def test_declared_order_gives_half_open_ranges_and_global_rows() -> None: + layout = electronic() + assert layout.size == 15 + assert layout.block_ranges() == {"potential": (0, 5), "electron": (5, 10), "hole": (10, 15)} + np.testing.assert_array_equal(layout.rows("hole", [0, 4]), [10, 14]) + np.testing.assert_array_equal(np.flatnonzero(layout.constraint_mask()), [0, 4, 9]) + u = np.arange(15.0) + view = layout.view(u, "electron") + np.testing.assert_array_equal(view, [5, 6, 7, 8, 9]) + assert not view.flags.writeable + with pytest.raises(ContractError): + layout.rows("hole", [5]) + + +def test_identity_is_content_addressed_and_order_sensitive() -> None: + assert electronic().identity == electronic().identity + assert electronic().identity != electronic(reservoirs=False).identity + assert electronic().identity != electronic(6).identity + swapped = SystemLayout((NodeSet("nodes", 5),), + (Block("electron", "nodes", ONE, ONE), Block("potential", "nodes", VOLT, ONE), + Block("hole", "nodes", ONE, ONE)), + electronic().constraints) + assert swapped.identity != electronic().identity + assert swapped.block_ranges()["potential"] == (5, 10) + # Constraint declaration order is not part of the meaning. + reordered = SystemLayout(electronic().node_sets, electronic().blocks, tuple(reversed(electronic().constraints))) + assert reordered.identity == electronic().identity + + +def test_constraint_rows_have_exactly_one_owner() -> None: + nodes, blocks = electronic().node_sets, electronic().blocks + with pytest.raises(ContractError, match="constraint_row_owned_twice"): + SystemLayout(nodes, blocks, (ConstraintRows("potential", (0,), "a", VOLT), + ConstraintRows("potential", (0, 4), "b", VOLT))) + with pytest.raises(ContractError, match="duplicate_constraint_owner"): + SystemLayout(nodes, blocks, (ConstraintRows("potential", (0,), "a", VOLT), + ConstraintRows("hole", (0,), "a", ONE))) + with pytest.raises(ContractError, match="constraint_outside_block"): + SystemLayout(nodes, blocks, (ConstraintRows("potential", (5,), "a", VOLT),)) + with pytest.raises(ContractError, match="invalid_constraint_rows"): + ConstraintRows("potential", (3, 1), "a", VOLT) + with pytest.raises(ContractError, match="duplicate_layout_id"): + SystemLayout(nodes, blocks + (Block("hole", "nodes", ONE, ONE),)) + + +def test_embedded_node_sets_map_columns_both_ways() -> None: + layout = SystemLayout((NodeSet("nodes", 6), NodeSet("ions", 3, "nodes", (2, 3, 4))), + (Block("potential", "nodes", VOLT, ONE), Block("ion", "ions", ONE, ONE))) + assert layout.block_ranges() == {"potential": (0, 6), "ion": (6, 9)} + np.testing.assert_array_equal(layout.column_map("ions", "potential"), [2, 3, 4]) + np.testing.assert_array_equal(layout.column_map("nodes", "ion"), [-1, -1, 0, 1, 2, -1]) + np.testing.assert_array_equal(layout.column_map("ions", "ion"), [0, 1, 2]) + with pytest.raises(ContractError, match="embedding_indices_must_increase"): + NodeSet("ions", 3, "nodes", (4, 3, 2)) + with pytest.raises(ContractError, match="embedding_outside_parent"): + SystemLayout((NodeSet("nodes", 3), NodeSet("ions", 2, "nodes", (2, 3))), + (Block("ion", "ions", ONE, ONE),)) + + +def test_measure_expressions_keep_the_written_product_order() -> None: + rng = np.random.default_rng(2) + w, n, p = (np.exp(rng.uniform(-40, 40, 64)) for _ in range(3)) + q, vt = 1.602176634e-19, 0.025852 + expression = -q * MEASURE * (n + p) / vt + assert measure_count(expression) == 1 + assert evaluate(expression, w).tobytes() == (-q * w * (n + p) / vt).tobytes() + # The same value with the measure applied last generally differs in its last bits. + assert evaluate(MEASURE * (-q * (n + p) / vt), w).tobytes() == (w * (-q * (n + p) / vt)).tobytes() + assert evaluate(-(MEASURE * p) / vt, w).tobytes() == (-(w * p) / vt).tobytes() + with pytest.raises(ContractError, match="weighted_sum_not_allowed"): + _ = MEASURE * n + p + with pytest.raises(ContractError, match="measure_in_denominator"): + _ = n / MEASURE + assert measure_count(MEASURE * MEASURE * n) == 2 + + +def test_negative_and_fractional_node_indices_are_refused() -> None: + """R01: a port, constraint or embedding never wraps to the last node.""" + from solarlab.equations.assembly import Port + + with pytest.raises(ContractError, match="invalid_index"): + Port("left", (-1,), -1, np.array([1.0]), ONE) + with pytest.raises(ContractError, match="invalid_index"): + Port("left", (0.5,), -1, np.array([1.0]), ONE) # type: ignore[arg-type] + with pytest.raises(ContractError, match="invalid_index"): + ConstraintRows("potential", (-1,), "a", VOLT) + with pytest.raises(ContractError, match="invalid_index"): + ConstraintRows("potential", (1.5,), "a", VOLT) # type: ignore[arg-type] + with pytest.raises(ContractError, match="invalid_index"): + NodeSet("ions", 2, "nodes", (-1, 0)) + assert Port("left", (np.int64(0),), -1, np.array([1.0]), ONE).nodes == (0,) # type: ignore[arg-type] + assert ConstraintRows("potential", (0.0, 4.0), "a", VOLT).nodes == (0, 4) # type: ignore[arg-type] diff --git a/tests/unit/assembly/test_assembly_ordered_readout.py b/tests/unit/assembly/test_assembly_ordered_readout.py new file mode 100644 index 00000000..0045ebff --- /dev/null +++ b/tests/unit/assembly/test_assembly_ordered_readout.py @@ -0,0 +1,289 @@ +"""The ordered port readout against the original 2D contact readout. + +The five 2D harness factories at their four probes (Core's 2D-gate probes, +cross-checked against the gate's frozen ``Baseline4c7fb353.npz`` states) are +read out through :meth:`Assembler.reaction_flux_ordered`. The Terms here +return the original constitutive values (SG/CT face fluxes, generation and +the bound recombination as two plain cell parts), so only the readout +arithmetic is under test, not a 2D F/J binding. Every fixed-reservoir port +must equal ``DC2DProblem.contact_particle_fluxes`` in every word, signed zeros +included. The plain ``reaction_flux`` quotient does not, which is why the +ordered observer exists. +""" + +from __future__ import annotations + +from collections.abc import Iterator, Mapping +from dataclasses import dataclass, field, replace +from pathlib import Path +from typing import Any, Callable, TypeAlias + +import numpy as np +from numpy.typing import NDArray +import pytest +from threadpoolctl import threadpool_limits + +from solarlab.contracts.errors import ContractError +from solarlab.contracts.units import AREA, LENGTH, ONE, PARTICLE, SECOND, VOLUME, Unit +from solarlab.equations.assembly import ( + CELL_SOURCE, CONSTRAINT, FACE_FLUX, MEASURE, PORT_FLUX, Assembler, Block, ConstraintRows, + EvaluationState, FaceValue, FieldValues, LocalValue, Mesh, NodeSet, OperatingInputs, Port, + SupportGeometry, SystemLayout, +) +from solarlab.equations.assembly.terms import TermValue +from solarlab.equations.dc_2d import CompiledDevice2D, DC2DProblem +from support.assembly_references import REFERENCE_FACTORIES + +Vector: TypeAlias = NDArray[np.float64] +FACTORIES = ("dc2d:fixed", "dc2d:contacts", "dc2d:ct", "dc2d:grain", "dc2d:composed") +BLOCKS = ("potential", "electron", "hole") +FLUX = PARTICLE / (AREA * SECOND) +SOURCE = PARTICLE / (VOLUME * SECOND) +BALANCE = PARTICLE / (LENGTH * SECOND) +GATE = Path("/Users/bytedance/Intern/SolarLab/.worktrees/assembly_2d/artifacts/Assembly2DGateV1/Baseline4c7fb353.npz") + + +@pytest.fixture(scope="module", autouse=True) +def blas1() -> Iterator[None]: + with threadpool_limits(limits=1): + yield + + +@dataclass(frozen=True) +class Coordinates: + identity: str = "test.coordinates" + + def evaluate(self, layout: SystemLayout, u: Vector, inputs: OperatingInputs) -> FieldValues: + return FieldValues({}, True) + + +@dataclass(frozen=True) +class Original: + """A Term returning one original 2D constitutive value at the evaluated state.""" + + id: str + kind: str + equations: tuple[str, ...] + unit: Unit + value: Callable[[DC2DProblem, Vector], Any] = field(compare=False) + device: CompiledDevice2D = field(compare=False, repr=False) + support: str = "nodes" + dependencies: tuple[str, ...] = () + port: str | None = None + identity: str = "test.original" + + def evaluate(self, state: EvaluationState, *, derivatives: bool) -> Mapping[str, TermValue]: + problem = DC2DProblem(self.device, state.inputs.voltage_V, state.inputs.generation_scale) + values = self.value(problem, np.asarray(state.u)) + wrap = FaceValue if self.kind == FACE_FLUX else LocalValue + return {block: wrap(item) for block, item in zip(self.equations, values)} + + +@dataclass(frozen=True) +class Zeros: + """Placeholder constraint values: the readout reads only the balance rows.""" + + size: int + + def __call__(self, problem: DC2DProblem, u: Vector) -> tuple[Vector]: + return (np.zeros(self.size),) + + +def rate(problem: DC2DProblem, u: Vector) -> Vector: + _, n, p = problem.device.fields(u, voltage_V=problem.voltage_V) + result: Vector = np.asarray(problem.recombination_rate(n, p, derivatives=False).rate) + return result + + +def readout_binding(device: CompiledDevice2D) -> Assembler: + """The 2D carrier rows of ``device`` with its fixed channels as constraint rows.""" + g = device.geometry + count = g.node_count + sides = g.contact_nodes.reshape(2, g.nx) + ports = tuple(Port(side, tuple(int(node) for node in nodes), normal, g.x_widths_m, LENGTH) + for side, nodes, normal in zip(("y_min", "y_max"), sides, (-1, 1))) + constraints = [] + terms: list[Any] = [ + Original("carrier.transport", FACE_FLUX, ("electron", "hole"), FLUX, + lambda problem, u: (problem.fluxes(u).electron.flux, problem.fluxes(u).hole.flux), device), + Original("carrier.generation", CELL_SOURCE, ("electron", "hole"), SOURCE, + lambda problem, u: (problem.generation_scale * device.generation_source_m3_s,) * 2, device), + Original("carrier.recombination", CELL_SOURCE, ("electron", "hole"), SOURCE, + lambda problem, u: (-rate(problem, u),) * 2, device), + ] + for block, carrier in (("electron", "n"), ("hole", "p")): + nodes = tuple(int(node) for side, part in zip(("left", "right"), sides) + if device.column.channel(carrier, side).kind == "fixed_reservoir" for node in part) + if nodes: + constraints.append(ConstraintRows(block, tuple(sorted(nodes)), block + ".reservoirs", ONE)) + terms.append(Original(block + ".reservoirs", CONSTRAINT, (block,), ONE, Zeros(len(nodes)), device)) + layout = SystemLayout((NodeSet("nodes", count),), tuple(Block(name, "nodes", ONE, BALANCE) for name in BLOCKS), + tuple(constraints)) + return Assembler(layout, Mesh((SupportGeometry("nodes", g.contract_geometry, ports),)), Coordinates(), terms) + + +def stencils(device: CompiledDevice2D, side: int) -> tuple[NDArray[np.intp], NDArray[np.intp]]: + """The y faces leaving one contact row and every x face, in the global face order.""" + g = device.geometry + first = g.x_face_count + (0 if side == 0 else (g.ny - 2) * g.nx) + return np.arange(first, first + g.nx), np.arange(g.x_face_count) + + +def bits(value: object) -> bytes: + return np.ascontiguousarray(value, dtype=np.float64).tobytes() + + +def test_twenty_probes_read_out_every_fixed_port_bitwise(request: pytest.FixtureRequest) -> None: + gate = np.load(GATE) if GATE.exists() else None + compared = changed_plain = probes = 0 + for name in FACTORIES: + case = REFERENCE_FACTORIES[name]() + device = case.device + assembler = readout_binding(device) + for state in case.states: + probes += 1 + if gate is not None: + assert bits(gate[f"{name}__{state.name}_u"]) == bits(state.u) + inputs = OperatingInputs(state.voltage_V, state.generation_scale) + original = DC2DProblem(device, state.voltage_V, state.generation_scale).contact_particle_fluxes(state.u) + system = assembler.evaluate(state.u, inputs, derivatives=False) + for carrier, block, expected in zip(("n", "p"), ("electron", "hole"), original): + for side, (port, channel_side) in enumerate((("y_min", "left"), ("y_max", "right"))): + if device.column.channel(carrier, channel_side).kind != "fixed_reservoir": + with pytest.raises(ContractError, match="requires_constraint_rows"): + assembler.reaction_flux_ordered(state.u, inputs, block, port, + normal_faces=stencils(device, side)[0], + transverse_faces=stencils(device, side)[1]) + continue + normal, transverse = stencils(device, side) + flux = assembler.reaction_flux_ordered(state.u, inputs, block, port, normal_faces=normal, + transverse_faces=transverse) + assert bits(flux) == bits(expected[side]) + # Only the faces incident to the port: the same words. + g = device.geometry + nodes = g.contact_nodes.reshape(2, g.nx)[side] + incident = np.flatnonzero(np.isin(g.contract_geometry.pairs[:g.x_face_count], nodes).any(axis=1)) + local = assembler.reaction_flux_ordered(state.u, inputs, block, port, normal_faces=normal, + transverse_faces=incident) + assert bits(local) == bits(flux) + plain = assembler.reaction_flux(system, block, port) + changed_plain += int(np.count_nonzero(np.frombuffer(bits(plain), np.uint64) + != np.frombuffer(bits(expected[side]), np.uint64))) + compared += 1 + assert probes == 20 and compared == 56 + request.node.user_properties.append(("ordered_readout", { + "probes": probes, "fixed_port_vectors": compared, "changed_words": 0, + "plain_reaction_flux_changed_words": changed_plain, "gate_states_checked": gate is not None})) + + +def test_the_readout_identity_records_the_operation_and_both_stencils() -> None: + device = REFERENCE_FACTORIES["dc2d:fixed"]().device + assembler = readout_binding(device) + normal, transverse = stencils(device, 0) + first = assembler.reaction_flux_ordered_identity("electron", "y_min", normal_faces=normal, + transverse_faces=transverse) + assert first == assembler.reaction_flux_ordered_identity("electron", "y_min", normal_faces=normal, + transverse_faces=transverse) + g = device.geometry + incident = np.flatnonzero(np.isin(g.contract_geometry.pairs[:g.x_face_count], g.contact_nodes[:g.nx]).any(axis=1)) + assert first != assembler.reaction_flux_ordered_identity("electron", "y_min", normal_faces=normal, + transverse_faces=incident) + assert first != assembler.reaction_flux_ordered_identity("hole", "y_min", normal_faces=normal, + transverse_faces=transverse) + + +def test_invalid_stencils_and_bindings_are_refused() -> None: + case = REFERENCE_FACTORIES["dc2d:fixed"]() + device, state = case.device, case.states[3] + g = device.geometry + assembler = readout_binding(device) + inputs = OperatingInputs(state.voltage_V, state.generation_scale) + normal, transverse = stencils(device, 0) + top, _ = stencils(device, 1) + + def read(normal_faces: Any, transverse_faces: Any, port: str = "y_min", + binding: Assembler = assembler) -> Vector: + return binding.reaction_flux_ordered(state.u, inputs, "electron", port, normal_faces=normal_faces, + transverse_faces=transverse_faces) + + cases = { + "normal_faces_need_one_face_per_port_node": (normal[:-1], transverse), + "normal_faces_must_leave_the_port_nodes_in_port_order": (normal[::-1], transverse), + "transverse_faces_must_keep_the_face_order": (normal, transverse[::-1]), + "transverse_faces_overlap_normal_faces": (normal, np.r_[transverse, normal[:1]]), + "transverse_faces_miss_an_incident_face": (normal, transverse[1:]), + "invalid_face_stencil": (normal, np.r_[transverse, g.contract_geometry.pairs.shape[0]]), + } + for reason, (normal_faces, transverse_faces) in cases.items(): + with pytest.raises(ContractError, match=reason): + read(normal_faces, transverse_faces) + with pytest.raises(ContractError, match="normal_faces_must_leave"): + read(top, transverse) + with pytest.raises(ContractError, match="invalid_index"): + read(normal + 0.5, transverse) + with pytest.raises(ContractError, match="unknown_port"): + read(normal, transverse, port="x_min") + # Weighted parts and exchanges on the port are refused (chains: 1D test below). + terms: list[Any] = list(assembler.terms) + weighted = replace(terms[1], value=lambda problem, u: (MEASURE * np.ones(g.node_count),) * 2) + binding = Assembler(assembler.layout, assembler.mesh, assembler.fields, [terms[0], weighted, *terms[2:]]) + with pytest.raises(ContractError, match="plain_contributions"): + read(normal, transverse, binding=binding) + exchange = Original("electron.exchange", PORT_FLUX, ("electron",), FLUX, + lambda problem, u: (np.zeros(g.nx),), device, port="y_min") + binding = Assembler(assembler.layout, assembler.mesh, assembler.fields, [*terms, exchange]) + with pytest.raises(ContractError, match="port_has_an_exchange_term"): + read(normal, transverse, binding=binding) + # A port measured in another unit than the faces cannot be a face-flux quotient. + support = assembler.mesh.support("nodes") + ports = tuple(replace(port, measure_unit=ONE) if port.id == "y_min" else port for port in support.ports) + mesh = Mesh((replace(support, ports=ports),)) + with pytest.raises(ContractError, match="face_unit_port_measures"): + read(normal, transverse, binding=Assembler(assembler.layout, mesh, assembler.fields, terms)) + + +@dataclass(frozen=True) +class Toy: + """A plain or chain face Term on a 1D chain, for the dimension-free checks.""" + + id: str + kind: str + value: Callable[[EvaluationState], TermValue] = field(compare=False) + unit: Unit = FLUX + divergence: str = "scatter" + support: str = "nodes" + equations: tuple[str, ...] = ("c",) + dependencies: tuple[str, ...] = () + port: str | None = None + identity: str = "test.toy" + + def evaluate(self, state: EvaluationState, *, derivatives: bool) -> Mapping[str, TermValue]: + return {"c": self.value(state)} + + +def chain(divergence: str) -> Assembler: + from solarlab.mesh.geometry import integer_endpoint_geometry + + x = np.array([0.0, 0.3, 0.45, 1.0]) + contract = integer_endpoint_geometry(x).to_contract_geometry(cell_support="nodes", face_support="faces") + ports = (Port("left", (0,), -1, np.array([1.0]), ONE), Port("right", (3,), 1, np.array([1.0]), ONE)) + layout = SystemLayout((NodeSet("nodes", 4),), (Block("c", "nodes", ONE, FLUX),), + (ConstraintRows("c", (0, 3), "c.ends", ONE),)) + terms = [Toy("c.flux", FACE_FLUX, lambda state: FaceValue(np.diff(state.u) ** 2 - 0.3), divergence=divergence), + Toy("c.source", CELL_SOURCE, lambda state: LocalValue(1.0 + state.u), unit=SOURCE), + Toy("c.ends", CONSTRAINT, lambda state: LocalValue(state.u[[0, 3]]), unit=ONE)] + return Assembler(layout, Mesh((SupportGeometry("nodes", contract, ports),)), Coordinates(), terms) + + +def test_in_one_dimension_the_readout_closes_the_end_cells() -> None: + """No transverse faces: ``f -+ c/w`` agrees with the balance quotient to rounding.""" + assembler = chain("scatter") + u = np.array([0.2, -0.4, 0.9, 0.1]) + system = assembler.evaluate(u, OperatingInputs(), derivatives=False) + for port, normal in (("left", [0]), ("right", [2])): + ordered = assembler.reaction_flux_ordered(u, OperatingInputs(), "c", port, normal_faces=normal, + transverse_faces=[]) + np.testing.assert_allclose(ordered, assembler.reaction_flux(system, "c", port), rtol=1e-14, atol=0.0) + with pytest.raises(ContractError, match="scatter_face_terms"): + chain("chain").reaction_flux_ordered(u, OperatingInputs(), "c", "left", normal_faces=[0], + transverse_faces=[]) diff --git a/tests/unit/assembly/test_assembly_small_signal.py b/tests/unit/assembly/test_assembly_small_signal.py new file mode 100644 index 00000000..a36b5f44 --- /dev/null +++ b/tests/unit/assembly/test_assembly_small_signal.py @@ -0,0 +1,372 @@ +"""Small-signal analysis on the assembled ionic systems, against the originals. + +The AC operators of :mod:`solarlab.equations.assembly.small_signal` run on the +assembled problems only (every evaluation method of the original problem and +AC classes raises while they run). They are compared with the original +``IonicSmallSignal1D``/``MultipleIonicSmallSignal1D`` in every binary64 word: + +* the harness AC captures (operator J/M, system J/M/rhs/rate, prescribed + coordinates, lift, constraint-row masks, the residual operators), also + against Main's frozen digests, which outlive the original classes; +* every system at 0 to 1e8 Hz, both coordinate forms, both ion responses and + two phasors, its frequency solve, its ``observe`` record and + ``original_residual``. + +The analytic voltage drive ``F_V + J c`` and storage rate of the moving lift +are checked by finite differences of the assembled residual and storage, and +every system records its row operations and identity. +""" + +from __future__ import annotations + +from collections.abc import Iterator +from contextlib import ExitStack +from dataclasses import replace +import itertools +from typing import Any, NoReturn +from unittest import mock + +import numpy as np +from numpy.typing import NDArray +import pytest +from scipy.sparse import csc_matrix, issparse +from threadpoolctl import threadpool_limits + +from solarlab.equations.assembly.ionic_1d import AssembledIonic1DProblem, AssembledMultipleIonic1DProblem +from solarlab.equations.assembly.small_signal import ( + AssembledACSystem, AssembledIonicSmallSignal1D, AssembledMultipleIonicSmallSignal1D, +) +from solarlab.equations.dc_1d import DC1DProblem +from solarlab.equations.ionic_1d import Ionic1DProblem +from solarlab.equations.ionic_small_signal import IonicSmallSignal1D +from solarlab.equations.multiple_ionic_1d import CompiledMultipleIonicDevice1D, MultipleIonic1DProblem +from solarlab.equations.multiple_ionic_small_signal import MultipleIonicSmallSignal1D +from solarlab.solvers.linear.frequency_domain import solve_frequency_systems +from support.assembly_parity import Extraction, compare +from support.assembly_references import REFERENCE_FACTORIES, Probe, ReferenceCase, _mark_rows + +AC = ("ionic_ac:confined", "ionic_ac:shared", "ionic_ac:immobile", "multiple_ac:positive") +FREQUENCIES = (0.0, 37.0, 1.0e2, 1.0e3, 1.0e4, 1.0e5, 1.0e8) +PHASORS = (complex(0.01, 0.002), 1.0 + 0.0j) +FORMS = ("moving_boundary_lift_v1", "fixed_reference_v1") +SEEDED = "seeded_perturbation" +PROVENANCE = frozenset({"source_sha256", "analysis_identity", "ac_system_identity", "ac_row_operations"}) +FD_STEP_V = 1.0e-4 +FD_TOLERANCE = 1.0e-6 + + +@pytest.fixture(scope="module", autouse=True) +def blas1() -> Iterator[None]: + with threadpool_limits(limits=1): + yield + + +def originals_forbidden() -> ExitStack: + """Every evaluation of the original problem and AC classes raises.""" + def forbidden(*args: object, **kwargs: object) -> NoReturn: + raise AssertionError("an original evaluation ran inside the assembled AC analysis") + + stack = ExitStack() + for cls, methods in ( + (DC1DProblem, ("residual", "jacobian", "storage_jacobian", "fluxes", "recombination_rate")), + (Ionic1DProblem, ("residual", "jacobian", "storage_jacobian", "ion_fluxes")), + (MultipleIonic1DProblem, ("residual", "jacobian", "storage_jacobian", "ion_fluxes")), + (IonicSmallSignal1D, ("system", "observe", "original_residual", "_carrier_particles", + "moving_voltage_partial")), + (MultipleIonicSmallSignal1D, ("system", "observe", "original_residual", "_moving_voltage_partial")), + ): + for method in methods: + stack.enter_context(mock.patch.object(cls, method, forbidden)) + return stack + + +def assembled_operator(case: ReferenceCase, state: Probe, form: str) -> Any: + """The assembled AC operator of one probe.""" + device = case.device + operating = device.state(state.u, voltage_V=state.voltage_V) + if isinstance(device, CompiledMultipleIonicDevice1D): + return AssembledMultipleIonicSmallSignal1D( + AssembledMultipleIonic1DProblem(device, state.voltage_V, state.generation_scale), operating, form) + return AssembledIonicSmallSignal1D(AssembledIonic1DProblem(device, state.voltage_V, state.generation_scale), + operating, form) + + +def operators(case: ReferenceCase, state: Probe, form: str) -> tuple[Any, Any]: + """The original and the assembled AC operator of one probe.""" + device = case.device + operating = device.state(state.u, voltage_V=state.voltage_V) + if isinstance(device, CompiledMultipleIonicDevice1D): + original: Any = MultipleIonicSmallSignal1D( + MultipleIonic1DProblem(device, state.voltage_V, state.generation_scale), operating, form) + else: + original = IonicSmallSignal1D(Ionic1DProblem(device, state.voltage_V, state.generation_scale), operating, form) + return original, assembled_operator(case, state, form) + + +def words(value: Any) -> Any: + """Every leaf as binary64 words (sparse: canonical CSC structure and data).""" + if isinstance(value, dict): + return ("dict", tuple((key, words(item)) for key, item in value.items())) + if isinstance(value, (list, tuple)): + return (type(value).__name__, tuple(words(item) for item in value)) + if issparse(value): + matrix = csc_matrix(value, copy=True) + matrix.sum_duplicates() + matrix.sort_indices() + return ("sparse", matrix.shape, matrix.indptr.tobytes(), matrix.indices.tobytes(), matrix.data.tobytes()) + if isinstance(value, np.ndarray): + return ("array", value.dtype.str, value.shape, np.ascontiguousarray(value).tobytes()) + if isinstance(value, (complex, np.complexfloating)): + return ("complex", np.complex128(value).tobytes()) + if isinstance(value, (float, np.floating)): + return ("float", np.float64(value).tobytes()) + return ("value", value) + + +SYSTEM_FIELDS = ("frequency_Hz", "voltage_phasor_V", "ion_mode", "jacobian", "storage_jacobian", "rhs", "rhs_rate", + "fixed_coordinates", "constraint_rows", "original_rows_enforced", "coordinate_form", + "coordinate_lift_per_V") + + +def system_words(system: Any) -> Any: + fields = {name: getattr(system, name) for name in SYSTEM_FIELDS} + fields["immobile_constraint_rows"] = getattr(system, "immobile_constraint_rows", {}) + return words(fields) + + +def candidate(case: ReferenceCase, state: Probe) -> Extraction: + """The harness AC capture of one probe, from the assembled operators only.""" + operator = assembled_operator(case, state, state.coordinate_form) + problem = operator.problem + layout = problem.binding.layout + masks: dict[str, NDArray[np.bool_]] = {} + for name, suffix in (("potential_fixed", "potential.contacts"), ("carrier_fixed", ".reservoirs")): + masks[name] = np.zeros(layout.size, dtype=bool) + for rows in layout.constraints: + if rows.owner.endswith(suffix): + masks[name][layout.rows(rows.block, rows.nodes)] = True + masks["ion_boundary"] = np.zeros(layout.size, dtype=bool) + for block in layout.blocks[3:]: + span = layout.offsets[block.id] + masks["ion_boundary"][[span.start, span.stop - 1]] = True + extra: dict[str, Any] = {} + F, S = problem.residual(state.u), problem.physical_storage(state.u) + if state.name != SEEDED: + extra["R_implicit"] = problem.residual(state.u, state.udot) + extra["J_implicit"] = problem.jacobian(state.u, state.udot, alpha=state.alpha) + mode = "frozen" if case.family == "ionic_ac" and state.name == SEEDED else "mobile" + system = operator.system(state.frequency_Hz, voltage_phasor_V=complex(.01, .002), ion_mode=mode) + omega = 2 * np.pi * state.frequency_Hz + matrix = system.jacobian + 1j * omega * system.storage_jacobian + known: NDArray[np.complex128] = np.zeros(state.u.size, dtype=complex) + for name in ("ac_fixed", "ac_original_enforced", "ac_inventory_constraint", "ac_immobile_constraint"): + masks[name] = np.zeros(state.u.size, dtype=bool) + for row, value in system.fixed_coordinates.items(): + known[row], masks["ac_fixed"][row] = value, True + masks["ac_original_enforced"][list(system.original_rows_enforced)] = True + _mark_rows(system.constraint_rows, masks["ac_inventory_constraint"]) + _mark_rows(system.immobile_constraint_rows, masks["ac_immobile_constraint"]) + extra.update(J_ac=system.jacobian, M_ac=system.storage_jacobian, A_ac=matrix, + R_ac=matrix @ state.ac_perturbation - (system.rhs + 1j * omega * system.rhs_rate), + rhs_ac=system.rhs, rhs_rate_ac=system.rhs_rate, fixed_ac=known, lift_ac=system.coordinate_lift_per_V, + original_R_ac=operator.original_residual(state.ac_perturbation, state.frequency_Hz, + voltage_phasor_V=complex(.01, .002))) + J, M = operator.jacobian, operator.storage_jacobian + return Extraction(F, J, case.blocks, S, -M, M, extra, masks, {"candidate": type(operator).__name__}) + + +def reference(case: ReferenceCase, state: Probe) -> Extraction: + captured = case.extract(state) + if state.name != SEEDED: + return captured + return replace(captured, extra={name: value for name, value in captured.extra.items() + if name not in ("R_implicit", "J_implicit")}) + + +@pytest.mark.parametrize("name", AC) +def test_harness_ac_captures_are_bitwise_equal(name: str) -> None: + case = REFERENCE_FACTORIES[name]() + for state in case.states: + with originals_forbidden(): + assembled = candidate(case, state) + comparison = compare(reference(case, state), assembled) + comparison.assert_equal() + assert all(item.bitwise_equal for item in comparison.differences) + + +@pytest.mark.platform_bound +@pytest.mark.parametrize("name", AC) +def test_harness_ac_captures_match_the_frozen_digests( + name: str, frozen_digests: tuple[Any, dict[str, Any]]) -> None: + case = REFERENCE_FACTORIES[name]() + digest, factories = frozen_digests + frozen = factories[name] + for state in case.states: + with originals_forbidden(): + assembled = candidate(case, state) + digests = digest(assembled) + expected = frozen["states"][state.name]["quantities"] + if state.name == SEEDED: + expected = {key: value for key, value in expected.items() if key not in ("R_implicit", "J_implicit")} + assert digests == expected, name + "/" + state.name + + +@pytest.mark.parametrize("name", AC) +def test_every_frequency_system_solve_and_observation_is_bitwise_equal(name: str, + request: pytest.FixtureRequest) -> None: + case = REFERENCE_FACTORIES[name]() + multiple = isinstance(case.device, CompiledMultipleIonicDevice1D) + systems = 0 + for state, form in itertools.product(case.states, FORMS): + original, assembled = operators(case, state, form) + for attribute in ("jacobian", "storage_jacobian", "reference_direction_per_V", "coordinate_lift_per_V", + "working_state_digest", "working_state_identity"): + assert words(getattr(original, attribute)) == words(getattr(assembled, attribute)), attribute + for mode, frequency, phasor in itertools.product(("mobile",) if multiple else ("mobile", "frozen"), + FREQUENCIES, PHASORS): + before = original.system(frequency, voltage_phasor_V=phasor, ion_mode=mode) + with originals_forbidden(): + after = assembled.system(frequency, voltage_phasor_V=phasor, ion_mode=mode) + assert system_words(after) == system_words(before), (state.name, form, mode, frequency) + solved = [solve_frequency_systems(item.jacobian, item.storage_jacobian, item.rhs, [frequency], + fixed_coordinates=item.fixed_coordinates, rhs_rate=item.rhs_rate)[0] + for item in (before, after)] + assert words([(item.solution, item.residual, item.componentwise_backward_error, item.refinement_steps) + for item in solved[:1]]) == words( + [(item.solution, item.residual, item.componentwise_backward_error, item.refinement_steps) + for item in solved[1:]]) + seen = original.observe(solved[0].solution, frequency, voltage_phasor_V=phasor, ion_mode=mode) + with originals_forbidden(): + observed = assembled.observe(solved[1].solution, frequency, voltage_phasor_V=phasor, ion_mode=mode, + system=after) + plain = assembled.observe(solved[1].solution, frequency, voltage_phasor_V=phasor, ion_mode=mode) + residual = assembled.original_residual(solved[1].solution, frequency, voltage_phasor_V=phasor) + assert set(seen) - PROVENANCE == set(observed) - PROVENANCE == set(plain) - PROVENANCE + for key in sorted(set(seen) - PROVENANCE): + assert words(observed[key]) == words(seen[key]) == words(plain[key]), (state.name, form, mode, + frequency, key) + assert observed["analysis_identity"] == plain["analysis_identity"] == assembled.identity + assert observed["ac_system_identity"] == after.identity and "ac_system_identity" not in plain + assert observed["ac_row_operations"] == tuple((item.kind, item.identity) for item in after.row_operations) + assert words(residual) == words(original.original_residual(solved[0].solution, frequency, + voltage_phasor_V=phasor)) + systems += 1 + request.node.user_properties.append(("ac_parity", {"factory": name, "systems_solves_observations": systems})) + + +@pytest.mark.parametrize("name", AC) +def test_moving_lift_drive_and_rate_match_finite_differences(name: str) -> None: + """``F_V + J c`` and ``dS/dV`` along the lift, against the assembled residual and storage.""" + case = REFERENCE_FACTORIES[name]() + eps = np.finfo(float).eps + for state in case.states: + _, operator = operators(case, state, "moving_boundary_lift_v1") + problem = operator.problem + lift = np.asarray(operator.coordinate_lift_per_V) + partial, drive = operator._moving_voltage_partial(lift) + for exact, quantity in ((partial, "residual"), (drive, "storage")): + def along(step: float) -> NDArray[np.float64]: + moved = problem.at(state.voltage_V + step, state.generation_scale) + result: NDArray[np.float64] = getattr(moved, quantity)(state.u + step * lift) + return result + + def central(step: float) -> NDArray[np.float64]: + result: NDArray[np.float64] = (along(step) - along(-step)) / (2.0 * step) + return result + + estimate = (4.0 * central(0.5 * FD_STEP_V) - central(FD_STEP_V)) / 3.0 + floor = 8.0 * eps * np.abs(along(0.0)) / FD_STEP_V + for block in case.blocks: + scale = max(float(np.max(np.abs(exact[block.indices]))), 1e-300) + error = np.max(np.maximum(np.abs(exact - estimate)[block.indices] - floor[block.indices], 0.0)) / scale + assert error < FD_TOLERANCE, (state.name, quantity, block.name, error) + + +def operation_kinds(system: AssembledACSystem) -> list[str]: + return [operation.kind for operation in system.row_operations] + + +def test_row_operations_and_identities_are_recorded() -> None: + case = REFERENCE_FACTORIES["ionic_ac:immobile"]() + state = case.states[1] + _, moving = operators(case, state, "moving_boundary_lift_v1") + _, fixed = operators(case, state, "fixed_reference_v1") + zero = moving.system(0.0) + assert operation_kinds(zero) == ["contact_drive", "known_contact_coordinates", "moving_boundary_lift", + "zero_hz_inventory_rows", "zero_hz_immobile_profile_rows"] + assert operation_kinds(moving.system(1.0e3)) == ["contact_drive", "known_contact_coordinates", + "moving_boundary_lift"] + assert operation_kinds(fixed.system(1.0e3)) == ["contact_drive", "known_contact_coordinates"] + frozen = moving.system(0.0, ion_mode="frozen") + assert operation_kinds(frozen)[-1] == "frozen_ion_rows" + N, size = case.device.node_count, case.device.state_size + assert frozen.row_operations[-1].rows == tuple(range(3 * N, size)) + assert (frozen.jacobian[3 * N:, :] != csc_matrix(np.eye(size))[3 * N:, :]).nnz == 0 + # The replaced zero-Hz rows are the physical storage gradients (their nonzero entries). + inventory, profile = zero.row_operations[3:] + storage = moving.storage_jacobian + + def entries(row: int) -> tuple[bytes, bytes]: + part = csc_matrix(zero.jacobian[row, :]).tocsr() + part.sort_indices() + return part.indices.astype(np.int64).tobytes(), part.data.tobytes() + + def nonzero(gradient: NDArray[np.float64]) -> tuple[bytes, bytes]: + columns = np.flatnonzero(gradient) + return columns.astype(np.int64).tobytes(), gradient[columns].tobytes() + + for row in inventory.rows: + block = next(part for part in case.device.ion_species_slices if part.start == row) + assert entries(row) == nonzero(-np.asarray(storage[block, :].sum(axis=0)).ravel()) + assert zero.storage_jacobian[row, :].nnz == 0 + for row in profile.rows: + assert entries(row) == nonzero(-storage[row, :].toarray().ravel()) + assert zero.storage_jacobian[row, :].nnz == 0 + identities = {system.identity for system in (zero, frozen, moving.system(1.0e3), fixed.system(1.0e3), + moving.system(1.0e3, voltage_phasor_V=2.0))} + assert len(identities) == 5 + assert moving.system(1.0e3).identity == moving.system(1.0e3).identity + _, other = operators(case, case.states[2], "moving_boundary_lift_v1") + assert other.identity != moving.identity + assert other.system(1.0e3).identity != moving.system(1.0e3).identity + + +def test_invalid_inputs_are_refused_as_before() -> None: + case = REFERENCE_FACTORIES["ionic_ac:confined"]() + state = case.states[1] + device = case.device + operating = device.state(state.u, voltage_V=state.voltage_V) + problem = AssembledIonic1DProblem(device, state.voltage_V, state.generation_scale) + with pytest.raises(ValueError, match="coordinate representation"): + AssembledIonicSmallSignal1D(problem, operating, "lifted") + with pytest.raises(ValueError, match="same complete device and operating voltage"): + AssembledIonicSmallSignal1D(problem.at(state.voltage_V + 0.01, state.generation_scale), operating) + with pytest.raises(ValueError, match="full ionic problem"): + AssembledIonicSmallSignal1D(Ionic1DProblem(device, state.voltage_V, 0.0), operating) # type: ignore[arg-type] + operator = AssembledIonicSmallSignal1D(problem, operating) + for frequency, phasor, mode in ((-1.0, 1.0, "mobile"), (1.0, 0.0, "mobile"), (1.0, 1.0, "both")): + with pytest.raises(ValueError): + operator.system(frequency, voltage_phasor_V=phasor, ion_mode=mode) + perturbation = np.zeros(device.state_size, dtype=complex) + perturbation[-1] = 1.0 + with pytest.raises(ValueError, match="frozen-ion response"): + operator.observe(perturbation, 1.0, ion_mode="frozen") + with pytest.raises(ValueError, match="cannot change ion coordinates"): + operator._moving_voltage_partial(perturbation.real) + multiple = REFERENCE_FACTORIES["multiple_ac:positive"]() + probe = multiple.states[0] + target = AssembledMultipleIonicSmallSignal1D( + AssembledMultipleIonic1DProblem(multiple.device, probe.voltage_V, probe.generation_scale), + multiple.device.state(probe.u, voltage_V=probe.voltage_V)) + from solarlab.equations.dc_1d import CapabilityError + + with pytest.raises(CapabilityError, match="only mobile positive ions"): + target.system(1.0, ion_mode="frozen") + # An observation records a system only if it is that solve's system. + zero = np.zeros(device.state_size, dtype=complex) + for other in (operator.system(2.0), operator.system(1.0, voltage_phasor_V=2.0), operator.system(1.0, ion_mode="frozen"), + AssembledIonicSmallSignal1D(problem, operating, "fixed_reference_v1").system(1.0)): + with pytest.raises(ValueError, match="belongs to another"): + operator.observe(zero, 1.0, system=other) + record = operator.observe(operator.system(1.0), zero) + assert record["ac_system_identity"] == operator.system(1.0).identity diff --git a/tests/unit/assembly/test_assembly_steady_2d.py b/tests/unit/assembly/test_assembly_steady_2d.py new file mode 100644 index 00000000..0c12af2c --- /dev/null +++ b/tests/unit/assembly/test_assembly_steady_2d.py @@ -0,0 +1,189 @@ +"""Unmodified steady_2d driver: original and assembled Newton paths, bitwise. + +The two saved numerical seeds are the exact historical dark/light fields. +They must pass the current original gates before a small lateral +perturbation is applied. No cold preparation or voltage curve is repeated. +The factory substitution is test only; the driver and its controls are +untouched. Every callback state/F/J, Newton record, gate and physical +readout is compared, including signed zeros. Only elapsed wall time differs. +""" + +from __future__ import annotations + +from collections.abc import Iterator +from dataclasses import asdict, is_dataclass +import hashlib +import json +import os +from pathlib import Path +from typing import Any + +import numpy as np +import pytest +from scipy.sparse import csc_matrix +from threadpoolctl import threadpool_limits + +from examples.research_1d.steady import load_device +from examples.research_2d.dc_assembly import spatial_input +from solarlab.device.compile_2d import compile_device_2d +from solarlab.equations.assembly.two_dimensional import ( + AssembledDC2DProblem, assembled_problem_factory_2d, +) +from solarlab.equations.dc_2d import CompiledDevice2D, DC2DProblem +from solarlab.equations.implementation import LEGACY, equation_implementation +from solarlab.experiments.transient_results import _encode +from solarlab.solvers.nonlinear import steady_2d + +SEEDS = Path(__file__).with_name("fixtures") / "dc2d_steady_seeds_v1.json" + + +@pytest.fixture(scope="module", autouse=True) +def blas1() -> Iterator[None]: + with threadpool_limits(limits=1): + yield + + +@pytest.fixture(scope="module") +def device() -> CompiledDevice2D: + return compile_device_2d(load_device(), spatial_input()) + + +def words(value: Any) -> Any: + if isinstance(value, np.ndarray): + return (value.dtype.str, value.shape, value.tobytes()) + if isinstance(value, (float, np.floating)): + return np.float64(value).tobytes() + if is_dataclass(value) and not isinstance(value, type): + return words(asdict(value)) + if isinstance(value, dict): + return tuple((key, words(item)) for key, item in sorted(value.items())) + if isinstance(value, (list, tuple)): + return tuple(words(item) for item in value) + return value + + +def matrix_words(matrix: csc_matrix) -> Any: + return (matrix.shape, words(matrix.data), matrix.indices.tobytes(), matrix.indptr.tobytes()) + + +def saved_seed(name: str) -> tuple[dict[str, Any], np.ndarray]: + """Portable input words; decoding derived fields is checked separately.""" + document = json.loads(SEEDS.read_bytes()) + assert document["schema"] == "solarlab.assembly_2d.saved_numerical_seeds.v1" + assert document["qualification"] is False + seed = document["points"][name] + u = np.frombuffer(bytes.fromhex(seed["u_words_le_hex"]), dtype=" None: + seed, u = saved_seed(name) + state = device.state(u, voltage_V=seed["voltage_V"]) + for field, digest in seed["field_sha256"].items(): + assert hashlib.sha256(np.ascontiguousarray(getattr(state, field), dtype=" None: + seed, u = saved_seed(name) + # Compiled identity changed with the contact/source migration. The + # saved acceptance remains attached to the historical identity; these + # are numerical coordinates until the current original gates admit them. + assert seed["compiled_identity"] + voltage, light = seed["voltage_V"], seed["generation_scale"] + controls = steady_2d.Steady2DOptions() + assert asdict(controls.electronic) == seed["original_controls"]["electronic"] + original = DC2DProblem(device, voltage, light) + admitted = steady_2d.diagnostics(original, u, controls) + assert all(gate.passed for gate in steady_2d.checks(admitted, controls)) + assert admitted["original_rows"] == tuple(range(195)) + g, count = device.geometry, device.node_count + y = (device.column.nodes_m - device.column.nodes_m[0]) / np.ptp(device.column.nodes_m) + x = (g.x_m - g.x_m[0]) / g.lateral_length_m + envelope = np.sin(np.pi * y) + envelope[[0, -1]] = 0.0 + u[:count] += (1e-4 * envelope[:, None] * np.cos(np.pi * x)[None, :]).ravel() + u[count:2 * count] += (.002 * envelope[:, None] * np.sin(np.pi * x)[None, :]).ravel() + u[2 * count:] += (-.0015 * envelope[:, None] * np.cos(2 * np.pi * x)[None, :]).ravel() + initial = device.state(u, voltage_V=voltage) + assert np.max(abs(original.fluxes(u).electron.flux[:g.x_face_count])) > 0.0 + assert not all(gate.passed for gate in steady_2d.checks(steady_2d.diagnostics(original, u, controls), controls)) + provenance = {"kind": "current-gate-admitted archived fields with an explicit lateral test perturbation", + "seed_artifact_sha256": seed["artifact_sha256"], "seed_state_sha256": seed["u_sha256"], + "seed_compiled_identity": seed["compiled_identity"], "current_compiled_identity": device.identity, + "historical_acceptance_transferred": False, + "cold_preparation_calls": 0, "qualification": False} + reference_trace: list[Any] = [] + candidate_trace: list[Any] = [] + old_residual, old_jacobian = DC2DProblem.residual, DC2DProblem.jacobian + new_residual, new_jacobian = AssembledDC2DProblem.residual, AssembledDC2DProblem.jacobian + assembly_calls = [] + assemble = AssembledDC2DProblem.assemble + + def reference_residual(self: DC2DProblem, values: Any) -> Any: + output = old_residual(self, values) + reference_trace.append(("F", words(np.asarray(values)), words(output))) + return output + + def reference_jacobian(self: DC2DProblem, values: Any) -> Any: + output = old_jacobian(self, values) + reference_trace.append(("J", words(np.asarray(values)), matrix_words(output))) + return output + + def candidate_residual(self: AssembledDC2DProblem, values: Any) -> Any: + output = new_residual(self, values) + candidate_trace.append(("F", words(np.asarray(values)), words(output))) + return output + + def candidate_jacobian(self: AssembledDC2DProblem, values: Any) -> Any: + output = new_jacobian(self, values) + candidate_trace.append(("J", words(np.asarray(values)), matrix_words(output))) + return output + + def counted_assemble(self: AssembledDC2DProblem, values: Any, *, derivatives: bool = True) -> Any: + assembly_calls.append(derivatives) + return assemble(self, values, derivatives=derivatives) + + # The reference runs the legacy opt-out: under the assembled default it would compare it with itself. + with monkeypatch.context() as patch, equation_implementation(LEGACY): + patch.setattr(DC2DProblem, "residual", reference_residual) + patch.setattr(DC2DProblem, "jacobian", reference_jacobian) + reference = steady_2d.solve_steady_state_2d(device, voltage_V=voltage, generation_scale=light, + options=controls, initial_state=initial, initial_provenance=provenance) + with monkeypatch.context() as patch: + patch.setattr(steady_2d, "DC2DProblem", assembled_problem_factory_2d(device)) + patch.setattr(AssembledDC2DProblem, "residual", candidate_residual) + patch.setattr(AssembledDC2DProblem, "jacobian", candidate_jacobian) + patch.setattr(AssembledDC2DProblem, "assemble", counted_assemble) + candidate = steady_2d.solve_steady_state_2d(device, voltage_V=voltage, generation_scale=light, + options=controls, initial_state=initial, initial_provenance=provenance) + evidence = {"case": name, "rows": 195, "reference": asdict(reference), "candidate": asdict(candidate), + "seed_admission": admitted, "qualification": False} + output_directory = os.environ.get("SOLARLAB_ASSEMBLY_2D_EVIDENCE") + if output_directory is not None: + path = Path(output_directory) / f"Steady_{name}.json" + with path.open("x") as stream: + json.dump(_encode(evidence), stream, allow_nan=False, indent=2) + stream.write("\n") + assert reference.accepted and candidate.accepted, (reference.termination, candidate.termination) + assert reference.newton is not None and len(reference.newton.iterations) > 1 + assert reference_trace == candidate_trace + assert assembly_calls and any(assembly_calls) and not all(assembly_calls) + old_result, new_result = asdict(reference), asdict(candidate) + del old_result["wall_s"], new_result["wall_s"] + assert words(old_result) == words(new_result) + request.node.user_properties.append(("steady_parity", {"case": name, "rows": 195, + "accepted": True, "iterations": len(reference.newton.iterations), + "residual_evaluations": reference.newton.residual_evaluations, + "jacobian_evaluations": reference.newton.jacobian_evaluations, + "callback_arrays": len(reference_trace), "assembly_calls": len(assembly_calls), + "callback_changed_words": 0, "newton_and_readout_changed_words": 0, + "reference_wall_s": reference.wall_s, "candidate_wall_s": candidate.wall_s, + "cold_preparation_calls": 0, "qualification": False})) diff --git a/tests/unit/assembly/test_assembly_steady_driver.py b/tests/unit/assembly/test_assembly_steady_driver.py new file mode 100644 index 00000000..cfa674c1 --- /dev/null +++ b/tests/unit/assembly/test_assembly_steady_driver.py @@ -0,0 +1,176 @@ +"""Analyses run only against the assembled system, with unchanged results. + +The steady driver (Poisson-Boltzmann preparation, light and bias +continuation, density-basin seeds, physical gates) is run twice: under the +legacy opt-out, and under the assembled production selection. Every +accepted state, every Newton iteration record, every gate value and every +current must be identical. The frequency operator J + i omega M and a sparse +solve against it are checked the same way. +""" + +from __future__ import annotations + +from collections.abc import Iterator + +import numpy as np +import pytest +from scipy.sparse.linalg import splu +from threadpoolctl import threadpool_limits + +from examples.research_1d.steady import load_device +from solarlab.device.compile_1d import compile_device_1d +from solarlab.equations.assembly.classical_1d import AssembledDC1DProblem +from solarlab.equations.assembly.quasi_fermi import quasi_fermi_potential_tangents +from solarlab.equations.dc_1d import CompiledDevice1D, DC1DProblem, quasi_fermi_potential_tangents as reference_quasi_fermi_potential_tangents +from solarlab.equations.implementation import ASSEMBLED, LEGACY, equation_implementation +from solarlab.solvers.nonlinear.newton import NewtonResult +from solarlab.solvers.nonlinear.steady_1d import SteadyState1D, solve_equilibrium, solve_steady_state + + +@pytest.fixture(scope="module", autouse=True) +def blas1() -> Iterator[None]: + with threadpool_limits(limits=1): + yield + + +@pytest.fixture(scope="module") +def device() -> CompiledDevice1D: + return compile_device_1d(load_device()) + + +@pytest.fixture +def assembled() -> Iterator[None]: + """The assembled production selection.""" + with equation_implementation(ASSEMBLED): + yield + + +def bits(value: float) -> bytes: + """The binary64 word of one scalar (distinguishes +0 from -0).""" + return np.float64(value).tobytes() + + +def newton_words(result: NewtonResult) -> tuple[object, ...]: + """Every Newton record field, with each float as its binary64 word.""" + iterations = tuple((record.iteration, bits(record.scaled_residual), bits(record.step_inf), + bits(record.damping), record.backtracks, record.fresh_jacobian) + for record in result.iterations) + gates = tuple((gate.name, gate.passed, bits(gate.value), bits(gate.limit), gate.message) + for gate in result.gates) + return (result.state.tobytes(), result.accepted, result.termination, bits(result.scaled_residual), + iterations, gates, result.residual_evaluations, result.jacobian_evaluations, + result.start_digest, result.message) + + +def assert_same_newton(reference: NewtonResult, candidate: NewtonResult) -> None: + assert newton_words(candidate) == newton_words(reference) + + +def assert_same_point(reference: SteadyState1D, candidate: SteadyState1D) -> None: + assert_same_newton(reference.newton, candidate.newton) + assert len(candidate.preparation) == len(reference.preparation) + for left, right in zip(reference.preparation, candidate.preparation): + assert_same_newton(left, right) + assert candidate.state.u.tobytes() == reference.state.u.tobytes() + for name in ("current_density_A_m2", "contact_current_density_A_m2"): + assert getattr(candidate, name).tobytes() == getattr(reference, name).tobytes() + assert candidate.density_basin_stages == reference.density_basin_stages + + +CASES = [(0.0, 0.0), (0.0, 1.0), (0.6, 1.0), (0.9, 0.0), (-0.2, 1.0)] + + +@pytest.fixture(scope="module") +def references(device: CompiledDevice1D) -> dict[tuple[float, float], SteadyState1D]: + with equation_implementation(LEGACY): + return {case: solve_steady_state(device, voltage_V=case[0], generation_scale=case[1]) for case in CASES} + + +@pytest.mark.parametrize("voltage, light", CASES) +def test_steady_driver_history_is_identical(device: CompiledDevice1D, references: dict[tuple[float, float], SteadyState1D], + assembled: None, voltage: float, light: float) -> None: + candidate = solve_steady_state(device, voltage_V=voltage, generation_scale=light) + assert isinstance(candidate.newton, NewtonResult) + assert_same_point(references[(voltage, light)], candidate) + assert all(gate.passed for gate in candidate.physical_gates) + + +def test_substitution_really_routes_through_the_assembler(device: CompiledDevice1D, assembled: None) -> None: + calls = [] + original = AssembledDC1DProblem.assemble + + def counted(self: AssembledDC1DProblem, *args: object, **kwargs: object) -> object: + calls.append(1) + return original(self, *args, **kwargs) # type: ignore[arg-type] + + with pytest.MonkeyPatch.context() as patch: + patch.setattr(AssembledDC1DProblem, "assemble", counted) + solve_equilibrium(device) + assert calls + + +@pytest.fixture(scope="module") +def reference_sweep(device: CompiledDevice1D) -> list[SteadyState1D]: + with equation_implementation(LEGACY): + points = [solve_steady_state(device)] + for voltage in np.round(np.arange(0.05, 1.01, 0.05), 2): + points.append(solve_steady_state(device, initial_state=points[-1].state, voltage_V=float(voltage))) + return points + + +def test_continuation_from_an_accepted_state_is_identical(device: CompiledDevice1D, + reference_sweep: list[SteadyState1D], + assembled: None) -> None: + candidate = solve_steady_state(device) + assert_same_point(reference_sweep[0], candidate) + for reference, voltage in zip(reference_sweep[1:], np.round(np.arange(0.05, 1.01, 0.05), 2)): + candidate = solve_steady_state(device, initial_state=candidate.state, voltage_V=float(voltage)) + assert_same_point(reference, candidate) + + +def test_equilibrium_entry_point_is_identical(device: CompiledDevice1D) -> None: + with equation_implementation(LEGACY): + reference = solve_equilibrium(device) + with equation_implementation(ASSEMBLED): + candidate = solve_equilibrium(device) + assert_same_point(reference, candidate) + + +def test_frequency_operator_and_solve_are_identical(device: CompiledDevice1D) -> None: + """(J + i omega M) and its sparse solve, for a consistent right-hand side.""" + point = solve_steady_state(device, voltage_V=0.6, generation_scale=1.0) + u = point.state.u + reference, candidate = DC1DProblem(device, 0.6, 1.0), AssembledDC1DProblem(device, 0.6, 1.0) + J, M = reference.jacobian(u), reference.storage_jacobian(u) + J_new, M_new = candidate.jacobian(u), candidate.storage_jacobian(u) + rng = np.random.default_rng(17) + count = device.node_count + direction = np.r_[1.0e-3 * rng.standard_normal(count), 1.0e-2 * rng.standard_normal(2 * count)] + for frequency in (0.0, 1.0e2, 1.0e5, 1.0e8): + omega = 2.0 * np.pi * frequency + A = (J + 1j * omega * M).tocsc() + A_new = (J_new + 1j * omega * M_new).tocsc() + A.sort_indices() + A_new.sort_indices() + assert A_new.indptr.tobytes() == A.indptr.tobytes() + assert A_new.indices.tobytes() == A.indices.tobytes() + assert A_new.data.tobytes() == A.data.tobytes() + b = A @ direction + assert (A_new @ direction).tobytes() == b.tobytes() + assert splu(A_new).solve(b).tobytes() == splu(A).solve(b).tobytes() + + +def test_public_quasi_fermi_chain_equals_the_private_one(device: CompiledDevice1D) -> None: + point = solve_steady_state(device, voltage_V=0.3, generation_scale=1.0) + rng = np.random.default_rng(5) + for scale in (0.0, 1.0e-3, 1.0): + u = point.state.u + scale * rng.standard_normal(point.state.u.size) + problem = DC1DProblem(device, 0.3, 1.0) + fluxes = problem.fluxes(u) + count = device.node_count + for flux, offset, sign in ((fluxes.electron, count, 1.0), (fluxes.hole, 2 * count, -1.0)): + drive = sign * np.diff(u[offset:offset + count]) + public = quasi_fermi_potential_tangents(flux, drive, sign, device.thermal_voltage_V) + private = reference_quasi_fermi_potential_tangents(flux, drive, sign, device.thermal_voltage_V) + for left, right in zip(public, private): + assert left.tobytes() == right.tobytes() diff --git a/tests/unit/assembly/test_assembly_two_dimensional.py b/tests/unit/assembly/test_assembly_two_dimensional.py new file mode 100644 index 00000000..ff3153dc --- /dev/null +++ b/tests/unit/assembly/test_assembly_two_dimensional.py @@ -0,0 +1,325 @@ +"""Bitwise DC2D migration, against frozen oracles and the unchanged readouts. + +The twenty harness states are algebra probes, not accepted steady results. +Set SOLARLAB_ASSEMBLY_2D_BASELINE to the pinned gate NPZ to additionally +compare the raw arrays captured at 4c7fb353; the repository's frozen digest +oracle is checked on its capture environment. Live old-vs-new comparisons +run on every platform. No baseline is rewritten and no solver is called. +""" + +from __future__ import annotations + +from collections.abc import Callable, Iterator +from dataclasses import asdict, replace +import hashlib +import os +from pathlib import Path +from typing import Any + +import numpy as np +import pytest +from scipy.sparse import csc_matrix +from threadpoolctl import threadpool_limits + +from examples.research_2d import dc_assembly +from examples.research_1d.optical_generation import prepare_case as prepare_optical +from solarlab.contracts.errors import ContractError +from solarlab.contracts.units import COULOMB, LENGTH, ONE, PARTICLE, SECOND, VOLT +from solarlab.device.compile_2d import compile_device_2d +from solarlab.equations.assembly.terms import STORAGE +from solarlab.equations.assembly.two_dimensional import ( + AssembledDC2DProblem, classical_dc_2d, +) +from solarlab.equations.dc_2d import CompiledDevice2D, DC2DProblem +from support.assembly_parity import Extraction +from support.assembly_references import Probe, REFERENCE_FACTORIES, ReferenceCase + +FACTORIES = ("dc2d:fixed", "dc2d:contacts", "dc2d:ct", "dc2d:grain", "dc2d:composed") +BASELINE_SHA256 = "dee5eae717fbba920fa0d8ddd1dc7d657beb7d33dca34ad594d00031fd687345" + + +@pytest.fixture(scope="module", autouse=True) +def blas1() -> Iterator[None]: + with threadpool_limits(limits=1): + yield + + +@pytest.fixture(scope="module") +def cases() -> dict[str, ReferenceCase]: + return {name: REFERENCE_FACTORIES[name]() for name in FACTORIES} + + +@pytest.fixture(scope="module") +def gate_baseline(frozen_digests: tuple[Callable[[Any], dict[str, Any]], dict[str, Any]]) -> Iterator[Any]: + filename = os.environ.get("SOLARLAB_ASSEMBLY_2D_BASELINE") + if filename is None: + yield None + return + path = Path(filename) + assert hashlib.sha256(path.read_bytes()).hexdigest() == BASELINE_SHA256 + with np.load(path, allow_pickle=False) as baseline: + yield baseline + + +def assert_bits(reference: Any, candidate: Any) -> None: + left = np.ascontiguousarray(reference, dtype=np.float64) + right = np.ascontiguousarray(candidate, dtype=np.float64) + assert left.shape == right.shape + assert left.tobytes() == right.tobytes() + + +def assert_matrix(reference: csc_matrix, candidate: csc_matrix) -> None: + assert reference.shape == candidate.shape + assert np.array_equal(reference.indptr, candidate.indptr) + assert np.array_equal(reference.indices, candidate.indices) + assert_bits(reference.data, candidate.data) + + +def assembled_capture(case: ReferenceCase, state: Probe) -> Extraction: + device = case.device + assert isinstance(device, CompiledDevice2D) + result = AssembledDC2DProblem(device, state.voltage_V, state.generation_scale).assemble(state.u) + potential = np.zeros(result.layout.size, dtype=bool) + potential[:device.node_count] = result.boundary_rows[:device.node_count] + carrier = result.boundary_rows.copy() + carrier[:device.node_count] = False + return Extraction(result.F, result.J, case.blocks, result.S, result.S_u, result.M, + boundary_masks={"potential_fixed": potential, "carrier_fixed": carrier, + "ion_boundary": np.zeros(result.layout.size, dtype=bool)}) + + +@pytest.mark.parametrize("name", FACTORIES) +def test_all_twenty_states_are_live_bitwise_equal( + name: str, cases: dict[str, ReferenceCase], request: pytest.FixtureRequest, +) -> None: + case = cases[name] + for state in case.states: + candidate = assembled_capture(case, state) + assert candidate.S is None and candidate.S_u is None and candidate.M is None + original = case.extract(state) + assert_bits(original.F, candidate.F) + assert_matrix(original.J, candidate.J) + request.node.user_properties.append(("parity", {"factory": name, "states": len(case.states), + "F_changed_words": 0, "J_changed_words": 0, + "S_Su_M": "absent in both original and candidate"})) + + +@pytest.mark.platform_bound +@pytest.mark.parametrize("name", FACTORIES) +def test_all_twenty_states_match_frozen_original_arrays( + name: str, cases: dict[str, ReferenceCase], gate_baseline: Any, + frozen_digests: tuple[Callable[[Any], dict[str, Any]], dict[str, Any]], + request: pytest.FixtureRequest, +) -> None: + case = cases[name] + digest, expected = frozen_digests + for state in case.states: + candidate = assembled_capture(case, state) + assert candidate.S is None and candidate.S_u is None and candidate.M is None + assert digest(candidate) == expected[name]["states"][state.name]["quantities"] + if gate_baseline is not None: + prefix = f"{name}__{state.name}" + assert_bits(gate_baseline[prefix + "_u"], state.u) + assert_bits(gate_baseline[prefix + "_F"], candidate.F) + assert_bits(gate_baseline[prefix + "_J_data"], candidate.J.data) + assert np.array_equal(gate_baseline[prefix + "_J_indices"], candidate.J.indices) + assert np.array_equal(gate_baseline[prefix + "_J_indptr"], candidate.J.indptr) + request.node.user_properties.append(("frozen_parity", {"factory": name, "states": len(case.states), + "F_changed_words": 0, "J_changed_words": 0, "gate_NPZ": gate_baseline is not None})) + + +@pytest.mark.parametrize("name", FACTORIES) +def test_every_flux_and_port_current_readout_is_bitwise( + name: str, cases: dict[str, ReferenceCase], request: pytest.FixtureRequest, +) -> None: + case = cases[name] + device = case.device + assert isinstance(device, CompiledDevice2D) + system = classical_dc_2d(device) + vectors = fixed_ports = exchange_ports = 0 + for state in case.states: + original = DC2DProblem(device, state.voltage_V, state.generation_scale) + candidate = AssembledDC2DProblem(device, state.voltage_V, state.generation_scale, system) + for name in ("displacement", "current_density", "cross_section_current_A_m", + "terminal_current_A_m", "terminal_current_density_A_m2"): + assert_bits(getattr(original, name)(state.u), getattr(candidate, name)(state.u)) + vectors += 1 + old_fluxes, new_fluxes = asdict(original.fluxes(state.u)), asdict(candidate.fluxes(state.u)) + for carrier in old_fluxes: + for key in old_fluxes[carrier]: + assert_bits(old_fluxes[carrier][key], new_fluxes[carrier][key]) + vectors += 1 + _, n, p = device.fields(state.u, voltage_V=state.voltage_V) + for derivatives in (False, True): + old_rate = asdict(original.recombination_rate(n, p, derivatives=derivatives)) + new_rate = asdict(candidate.recombination_rate(n, p, derivatives=derivatives)) + for key in old_rate: + if old_rate[key] is None: + assert new_rate[key] is None + else: + assert_bits(old_rate[key], new_rate[key]) + vectors += 1 + old_contact, new_contact = original.contact_particle_fluxes(state.u), candidate.contact_particle_fluxes(state.u) + for block, old, new in zip(("electron", "hole"), old_contact, new_contact): + assert_bits(old, new) + vectors += 1 + for port_index, port in enumerate(("y_min", "y_max")): + key = (block, port) + if key in system.exchanges: + exchange_ports += 1 + assert_bits(system.exchanges[key].exchange(candidate._state(state.u))[0], old[port_index]) + with pytest.raises(ContractError, match="requires_constraint_rows"): + system.assembler.reaction_flux_ordered(state.u, candidate.inputs, block, port, + normal_faces=system.geometry.normal_faces(port), + transverse_faces=system.geometry.transverse_faces) + else: + fixed_ports += 1 + assert_bits(system.assembler.reaction_flux_ordered(state.u, candidate.inputs, block, port, + normal_faces=system.geometry.normal_faces(port), + transverse_faces=system.geometry.transverse_faces), old[port_index]) + request.node.user_properties.append(("readouts", {"factory": case.name, "vectors": vectors, + "fixed_port_vectors": fixed_ports, "exchange_port_vectors": exchange_ports, "changed_words": 0})) + + +@pytest.mark.parametrize("name", FACTORIES) +def test_geometry_layout_binding_and_ordered_readout_identity(name: str, cases: dict[str, ReferenceCase]) -> None: + device = cases[name].device + assert isinstance(device, CompiledDevice2D) + system = classical_dc_2d(device) + g, count = device.geometry, device.node_count + assert system.layout.block_ranges() == {"potential": (0, count), "electron": (count, 2 * count), + "hole": (2 * count, 3 * count)} + assert tuple(block.variable_unit for block in system.layout.blocks) == (VOLT, ONE, ONE) + assert tuple(block.balance_unit for block in system.layout.blocks) == ( + COULOMB / LENGTH, PARTICLE / (LENGTH * SECOND), PARTICLE / (LENGTH * SECOND)) + support = system.geometry.mesh.support("nodes") + assert support.geometry is g.contract_geometry + assert_bits(support.geometry.volumes, g.contract_geometry.volumes) + assert_bits(support.geometry.face_measures, g.contract_geometry.face_measures) + assert np.array_equal(support.geometry.pairs, g.contract_geometry.pairs) + ids = np.arange(count).reshape(g.shape) + assert np.array_equal(support.geometry.pairs[:g.x_face_count], + np.column_stack((ids[:, :-1].ravel(), ids[:, 1:].ravel()))) + assert np.array_equal(support.geometry.pairs[g.x_face_count:], + np.column_stack((ids[:-1].ravel(), ids[1:].ravel()))) + assert tuple(port.id for port in support.ports) == ("y_min", "y_max") + for port in support.ports: + assert port.measure_unit == LENGTH + assert_bits(port.measures, g.x_widths_m) + assert np.array_equal(system.layout.constraint_mask()[count:].reshape(2, count), device.fixed_carrier_mask) + assert system.recombination.device.grain_recombination is device.grain_recombination + assert all(term.kind != STORAGE for term in system.assembler.terms) + assert classical_dc_2d(device).identity == system.identity + assert AssembledDC2DProblem(device, system=system).at(.002, 1.0).binding is system + for block, carrier in (("electron", "n"), ("hole", "p")): + for side, port in (("left", "y_min"), ("right", "y_max")): + if device.column.channel(carrier, side).kind == "fixed_reservoir": + observer = system.assembler.reaction_flux_ordered_identity(block, port, + normal_faces=system.geometry.normal_faces(port), transverse_faces=system.geometry.transverse_faces) + assert len(observer) == 64 + assert observer == system.assembler.reaction_flux_ordered_identity(block, port, + normal_faces=system.geometry.normal_faces(port), transverse_faces=system.geometry.transverse_faces) + with pytest.raises(ValueError, match="y_min or y_max"): + system.geometry.normal_faces("x_min") + with pytest.raises(ValueError, match="bound to this device"): + AssembledDC2DProblem(replace(device), system=system) + + +@pytest.mark.parametrize("name", FACTORIES) +@pytest.mark.parametrize("axis", ("x", "y")) +def test_x_and_y_directional_jacobians( + name: str, axis: str, cases: dict[str, ReferenceCase], request: pytest.FixtureRequest, +) -> None: + device = cases[name].device + assert isinstance(device, CompiledDevice2D) + _, u = dc_assembly.coordinates(device, lateral=True) + problem = AssembledDC2DProblem(device, dc_assembly.VOLTAGE_V, 0.0) + matrix = problem.jacobian(u) + g = device.geometry + coordinate = g.x_m / g.lateral_length_m if axis == "x" else device.column.nodes_m / device.column.nodes_m[-1] + # A nonzero offset prevents the symmetric x midpoint from making the + # constraint-row direction (and its relative FD scale) nearly zero. + wave = .37 + np.cos(np.pi * coordinate) + nodal = np.tile(wave, g.ny) if axis == "x" else np.repeat(wave, g.nx) + direction = np.r_[.02 * nodal, nodal, -.8 * nodal] + h = dc_assembly.DIRECTIONAL_STEP + numerical = (problem.residual(u - 2 * h * direction) - 8 * problem.residual(u - h * direction) + + 8 * problem.residual(u + h * direction) - problem.residual(u + 2 * h * direction)) / (12 * h) + scale = np.maximum(abs(matrix) @ abs(direction), 1e-20) + errors = np.abs(numerical - matrix @ direction) / scale + assert float(np.max(errors)) < dc_assembly.DIRECTIONAL_RTOL + # Actual off-diagonal couplings exist in the requested direction. + node = g.nx + 1 + neighbor = node + (1 if axis == "x" else g.nx) + for offset in (0, device.node_count, 2 * device.node_count): + assert matrix[offset + node, offset + neighbor] != 0.0 + request.node.user_properties.append(("directional", {"factory": name, "axis": axis, + "h": h, "unchanged_limit": dc_assembly.DIRECTIONAL_RTOL, + "max_relative_by_block": np.max(errors.reshape(3, device.node_count), axis=1).tolist()})) + + +def test_original_domain_and_drive_refusals(cases: dict[str, ReferenceCase]) -> None: + device = cases["dc2d:fixed"].device + assert isinstance(device, CompiledDevice2D) + with pytest.raises(TypeError, match="CompiledDevice2D"): + classical_dc_2d(device.column) # type: ignore[arg-type] + for light in (-1.0, np.inf, np.nan): + with pytest.raises(ValueError, match="generation_scale"): + AssembledDC2DProblem(device, generation_scale=light) + problem = AssembledDC2DProblem(device) + u = cases["dc2d:fixed"].states[0].u.copy() + u[device.node_count] = 1e3 + assert_bits(DC2DProblem(device).residual(u), problem.residual(u)) + with pytest.raises(FloatingPointError, match="admissible domain"): + problem.jacobian(u) + + +def test_residual_jacobian_and_readouts_do_not_delegate_to_dc2d( + cases: dict[str, ReferenceCase], monkeypatch: pytest.MonkeyPatch, +) -> None: + case = cases["dc2d:composed"] + device = case.device + assert isinstance(device, CompiledDevice2D) + state = case.states[3] + reference = case.extract(state) + original = DC2DProblem(device, state.voltage_V, state.generation_scale) + current = original.terminal_current_A_m(state.u) + + def forbidden(*args: Any, **kwargs: Any) -> Any: + raise AssertionError("the Term binding called the old DC2D implementation") + + for name in ("residual", "jacobian", "fluxes", "recombination_rate", "displacement", + "_contact_exchange", "contact_particle_fluxes", "terminal_current_A_m"): + monkeypatch.setattr(DC2DProblem, name, forbidden) + candidate = AssembledDC2DProblem(device, state.voltage_V, state.generation_scale) + assert_bits(reference.F, candidate.residual(state.u)) + assert_matrix(reference.J, candidate.jacobian(state.u)) + assert_bits(current, candidate.terminal_current_A_m(state.u)) + + +def test_compiled_optical_source_uses_the_same_plain_source_run(request: pytest.FixtureRequest) -> None: + device = compile_device_2d(prepare_optical(), dc_assembly.spatial_input()) + assert device.generation_y.method == "transfer_matrix" + assert device.geometry.shape == (13, 5) + _, u = dc_assembly.coordinates(device, lateral=True) + system = classical_dc_2d(device) + for light in (0.0, .25, 1.0): + original = DC2DProblem(device, dc_assembly.VOLTAGE_V, light) + candidate = AssembledDC2DProblem(device, dc_assembly.VOLTAGE_V, light, system) + assert_bits(original.residual(u), candidate.residual(u)) + assert_matrix(original.jacobian(u), candidate.jacobian(u)) + assert_bits(original.terminal_current_A_m(u), candidate.terminal_current_A_m(u)) + light = AssembledDC2DProblem(device, dc_assembly.VOLTAGE_V, 1.0, system) + dark = light.at(dc_assembly.VOLTAGE_V, 0.0) + increment = light.residual(u) - dark.residual(u) + expected = (device.generation_source_m3_s * device.geometry.contract_geometry.volumes) + # Only unconstrained carrier rows receive the integrated pair source. + for carrier_index, part in enumerate(increment.reshape(3, device.node_count)[1:]): + mask = ~device.fixed_carrier_mask[carrier_index] + # This subtraction check has cancellation from F; direct source and + # full original/candidate arithmetic above are bitwise comparisons. + np.testing.assert_allclose(part[mask], expected[mask], rtol=1e-14, atol=0.0) + assert np.all(part[~mask] == 0.0) + request.node.user_properties.append(("optical", {"method": device.generation_y.method, + "source_identity": device.generation_y.binding_sha256, "scales": [0.0, .25, 1.0], + "F_J_ports_changed_words": 0, "qualification": False})) diff --git a/tests/unit/assembly/test_production_provenance.py b/tests/unit/assembly/test_production_provenance.py new file mode 100644 index 00000000..5ead96f1 --- /dev/null +++ b/tests/unit/assembly/test_production_provenance.py @@ -0,0 +1,330 @@ +"""Q6 job provenance names the equation implementation that ran (Science PW-C1, PW-C2). + +For every in-process 1D producer family the same job runs under the legacy +opt-out and under the assembled selection. Before any numerical comparison, +each run's admitted binding must equal the reviewed specification +(support.equation_provenance): the legacy run records the original operator +and no Assembler, the assembled run its operator, its system Assembler and an +analysis identity over every Assembler it may evaluate. The original classes +must evaluate only in the legacy run, and only those Assemblers in the +assembled one. The two records differ in that binding alone, in the result, +the saved artifact and the reader output. A stage inside an admitted job is +admitted only under the job's own implementation; every mismatch is refused. +""" + +from __future__ import annotations + +from collections.abc import Callable, Iterator +from dataclasses import replace +import hashlib +import json +from pathlib import Path +from typing import Any + +import pytest +from threadpoolctl import threadpool_limits + +from examples.research_1d.ionic_initialization import compile_shared_case +from examples.research_1d.ionic_steady import controls as steady_controls +from examples.research_1d.steady import load_device +from examples.research_1d.transient import controls as transient_controls, json_value +from solarlab.device.compile_1d import compile_device_1d +from solarlab.equations.implementation import ( + ASSEMBLED, ENVIRONMENT, LEGACY, equation_implementation, provenance_binding, selection_setting, substage_binding, +) +from solarlab.experiments import ionic_initialization as initialization +from solarlab.experiments.impedance import solve_impedance +from solarlab.experiments.ionic_transient import load_ionic_steady_initial +from solarlab.experiments.jv.ionic_steady import ( + IonicSteadyJVOptions, read_ionic_steady_jv, run_ionic_steady_jv, write_ionic_steady_jv, +) +from solarlab.experiments.transient import TransientProtocol +from solarlab.experiments.transient_results import run_transient_for_publication +from solarlab.reproducibility.job_provenance import job_provenance +from solarlab.solvers.nonlinear.ionic_1d import solve_ionic_steady_state +from solarlab.solvers.nonlinear.steady_1d import SteadyOptions, solve_steady_state +from support.equation_provenance import allowed, checked_document, counted, expected, split + + +@pytest.fixture(scope="module", autouse=True) +def blas1() -> Iterator[None]: + with threadpool_limits(limits=1): + yield + + +@pytest.fixture(scope="module") +def dc_device() -> Any: + return compile_device_1d(load_device(), intervals_per_layer=12) + + +@pytest.fixture(scope="module") +def ac_cases(tmp_path_factory: pytest.TempPathFactory) -> dict[str, tuple[Any, Any, Any]]: + """Admitted dark states of the single- and two-domain AC examples.""" + from examples.research_1d.ionic_impedance import compile_case + from examples.research_1d.multiple_ionic_domains import DOMAINS, INTERVALS, prepare_multiple_ionic_device + from solarlab.device.compile_multiple_ionic_1d import compile_multiple_ionic_device_1d + from solarlab.experiments.multiple_ionic_transient import load_multiple_ionic_steady_initial + from solarlab.experiments.transient_results import _encode + from solarlab.solvers.nonlinear.multiple_ionic_1d import solve_multiple_ionic_steady_state + + folder = tmp_path_factory.mktemp("ac") + single = compile_case("shared") + controls = steady_controls(single.ion_node_count) + with equation_implementation(LEGACY): + point = solve_ionic_steady_state(single, voltage_V=0.002, generation_scale=0.0, options=controls) + summary = {"accepted": True, "compiled_identity": single.identity, "voltage_V": 0.002, "generation_scale": 0.0} + raw = (json.dumps(json_value({"summary": summary, "result": point}), allow_nan=False) + "\n").encode() + (folder / "Single.json").write_bytes(raw) + cases = {"single": (single, controls, load_ionic_steady_initial( + single, folder / "Single.json", hashlib.sha256(raw).hexdigest(), controls=controls))} + device = compile_multiple_ionic_device_1d(prepare_multiple_ionic_device(), intervals_per_layer=INTERVALS, + ion_domains=DOMAINS) + controls = steady_controls(device.domains[0].ion_node_count) + with equation_implementation(LEGACY): + point = solve_multiple_ionic_steady_state(device, voltage_V=0.002, generation_scale=0.0, options=controls) + raw = (json.dumps(_encode({"schema": "solarlab.multiple_ionic_steady.v1", "result": point, "source_sha256": {}, + "qualification": False}), indent=2, allow_nan=False) + "\n").encode() + (folder / "Multiple.json").write_bytes(raw) + cases["multiple"] = (device, controls, load_multiple_ionic_steady_initial( + device, folder / "Multiple.json", hashlib.sha256(raw).hexdigest(), controls=controls)) + return cases + + +@pytest.fixture(scope="module") +def ionic_case(tmp_path_factory: pytest.TempPathFactory) -> tuple[Any, Any, Any]: + compiled = compile_shared_case() + controls = steady_controls(compiled.ion_node_count) + with equation_implementation(LEGACY): + dark = solve_ionic_steady_state(compiled, voltage_V=0.002, generation_scale=0.0, options=controls) + assert dark.accepted + summary = {"accepted": True, "compiled_identity": compiled.identity, "voltage_V": 0.002, "generation_scale": 0.0} + raw = (json.dumps(json_value({"summary": summary, "result": dark}), allow_nan=False) + "\n").encode() + path = tmp_path_factory.mktemp("ionic") / "Dark.json" + path.write_bytes(raw) + initial = load_ionic_steady_initial(compiled, path, hashlib.sha256(raw).hexdigest(), controls=controls) + return compiled, controls, initial + + +def pair(run: Callable[[], Any], envelope: Callable[[Any], dict[str, Any]], operator: str, device: Any, + closure: int | None = None) -> dict[str, Any]: + """Run once per implementation; assert each binding and evaluation, then that only the binding differs.""" + results, records = {}, {} + for implementation in (LEGACY, ASSEMBLED): + with equation_implementation(implementation), counted() as observed: + results[implementation] = run() + record, binding = split(envelope(results[implementation])) + assert binding == expected(operator, device, implementation, closure) + if implementation == LEGACY: + assert observed.original > 0 and observed.assembled == 0 + else: + assert observed.assembled > 0 and observed.original == 0 + assert binding["identity"] in observed.identities <= allowed(operator, device, closure) + records[implementation] = (record, binding) + (left, legacy), (right, assembled) = records[LEGACY], records[ASSEMBLED] + assert legacy["unified_assembler"] is False and assembled["unified_assembler"] is True + assert legacy["analysis_identity"] != assembled["analysis_identity"] and legacy["operator"] != assembled["operator"] + assert right == left + return results + + +def test_dc_small_signal_admits_the_implementation_that_ran(dc_device: Any) -> None: + with equation_implementation(LEGACY): + point = solve_steady_state(dc_device, voltage_V=0.6, generation_scale=1.0) + pair(lambda: solve_impedance(dc_device, point, [0.0, 1e3], steady_options=SteadyOptions()), + lambda result: result.job_provenance, "DC1DProblem.small_signal", dc_device) + + +def test_dc_transient_publication_admits_the_implementation_that_ran(dc_device: Any) -> None: + with equation_implementation(LEGACY): + initial = solve_steady_state(dc_device, voltage_V=0.0, generation_scale=1.0, options=SteadyOptions()) + protocol = TransientProtocol([0, 1e-7, 2e-7], [0, 0, 0], [1, 1.0025, 1.01]) + pair(lambda: run_transient_for_publication(dc_device, initial, protocol, options=transient_controls(), + initial_options=SteadyOptions()), + lambda capture: json.loads(capture.capture_json)["description"]["job_provenance"], + "BackwardEuler1DStep", dc_device) + + +def test_ionic_steady_jv_result_saved_artifact_and_reader_admit_the_implementation( + ionic_case: tuple[Any, Any, Any], tmp_path: Path, +) -> None: + compiled, controls, _ = ionic_case + options = IonicSteadyJVOptions(controls) + results = pair(lambda: run_ionic_steady_jv(compiled, (0.001, 0.002), generation_scale=0.0, options=options, + initial=None, initial_policy="compiled_cold"), + lambda result: result.job_provenance, "Ionic1DProblem.steady_jv", compiled, + controls.inventory_row_node) + documents = {} + for implementation, result in results.items(): + path = tmp_path / f"{implementation}.json" + digest = write_ionic_steady_jv(result, path) + saved, found = checked_document(json.loads(path.read_bytes()), "Ionic1DProblem.steady_jv", compiled, + implementation, controls.inventory_row_node) + assert found == 1 + read = read_ionic_steady_jv(path, digest)["provenance_comparison"]["producer_identity"] + assert split(read)[1] == expected("Ionic1DProblem.steady_jv", compiled, implementation, + controls.inventory_row_node) + documents[implementation] = saved + assert documents[LEGACY]["result"]["job_provenance"] == documents[ASSEMBLED]["result"]["job_provenance"] + + +def test_standalone_initialization_admits_the_implementation_that_ran(ionic_case: tuple[Any, Any, Any]) -> None: + compiled, controls, initial = ionic_case + options = initialization.IonicInitializationOptions(controls, initialization.DIRECT_POLICY, 25.0) + pair(lambda: initialization.initialize_ionic_steady_state(compiled, initial=initial, voltage_V=0.002, + generation_scale=1.0, options=options), + lambda result: result.job_provenance, "Ionic1DProblem.initialization", compiled, controls.inventory_row_node) + + +@pytest.mark.parametrize("implementation", (LEGACY, ASSEMBLED)) +def test_initialization_inside_a_job_is_bound_to_the_job(ionic_case: tuple[Any, Any, Any], implementation: str) -> None: + compiled, controls, initial = ionic_case + options = initialization.IonicInitializationOptions(controls, initialization.DIRECT_POLICY, 25.0) + closure = controls.inventory_row_node + with equation_implementation(implementation): + binding = provenance_binding("Ionic1DProblem.steady_jv", compiled, inventory_row_node=closure) + with job_provenance({"parent": "ionic steady J-V"}, **binding) as parent: + assert substage_binding(compiled, inventory_row_node=closure) == binding + result = initialization.initialize_ionic_steady_state( + compiled, initial=initial, voltage_V=0.002, generation_scale=1.0, options=options) + assert result.accepted + assert result.job_provenance == parent.envelope() + assert split(parent.envelope())[1] == expected("Ionic1DProblem.steady_jv", compiled, implementation, closure) + + +@pytest.mark.parametrize("parent,stage", ((ASSEMBLED, LEGACY), (LEGACY, ASSEMBLED))) +def test_a_stage_of_the_other_implementation_is_refused(ionic_case: tuple[Any, Any, Any], parent: str, + stage: str) -> None: + compiled, controls, initial = ionic_case + options = initialization.IonicInitializationOptions(controls, initialization.DIRECT_POLICY, 25.0) + with equation_implementation(parent), job_provenance({"parent": "ionic steady J-V"}, **provenance_binding( + "Ionic1DProblem.steady_jv", compiled, inventory_row_node=controls.inventory_row_node)): + with equation_implementation(stage), counted() as observed, \ + pytest.raises(ValueError, match="declared provenance binding differs from the admitted job"): + initialization.initialize_ionic_steady_state(compiled, initial=initial, voltage_V=0.002, + generation_scale=1.0, options=options) + assert observed.original == observed.assembled == 0 + + +def test_a_stage_of_another_closure_or_device_or_an_unknown_job_is_refused(ionic_case: tuple[Any, Any, Any]) -> None: + compiled, controls, initial = ionic_case + options = initialization.IonicInitializationOptions(controls, initialization.DIRECT_POLICY, 25.0) + other = replace(controls, inventory_row_node=controls.inventory_row_node - 1) + with equation_implementation(ASSEMBLED): + with job_provenance({"parent": 1}, **provenance_binding( + "Ionic1DProblem.steady_jv", compiled, inventory_row_node=other.inventory_row_node)), \ + pytest.raises(ValueError, match="declared provenance binding differs"): + initialization.initialize_ionic_steady_state(compiled, initial=initial, voltage_V=0.002, + generation_scale=1.0, options=options) + with job_provenance({"parent": 2}, operator="test.unknown_operator"), \ + pytest.raises(ValueError, match="no equation binding is defined for the admitted operator"): + initialization.initialize_ionic_steady_state(compiled, initial=initial, voltage_V=0.002, + generation_scale=1.0, options=options) + with pytest.raises(ValueError, match="requires an admitted job"): + substage_binding(compiled, inventory_row_node=controls.inventory_row_node) + + +def test_a_producer_inside_a_job_of_the_other_implementation_is_refused(dc_device: Any) -> None: + with equation_implementation(LEGACY): + point = solve_steady_state(dc_device, voltage_V=0.6, generation_scale=1.0) + legacy_binding = provenance_binding("DC1DProblem.small_signal", dc_device) + with job_provenance({"parent": 1}, **legacy_binding), equation_implementation(ASSEMBLED), counted() as observed, \ + pytest.raises(ValueError, match="declared provenance binding differs from the admitted job"): + solve_impedance(dc_device, point, [1.0], steady_options=SteadyOptions()) + assert observed.assembled == 0 + + +def test_bindings_are_explicit_distinct_and_fail_closed(dc_device: Any, monkeypatch: pytest.MonkeyPatch) -> None: + bindings = {} + for implementation in (LEGACY, ASSEMBLED): + with equation_implementation(implementation): + bindings[implementation] = provenance_binding("BackwardEuler1DStep", dc_device) + assert selection_setting() == (ENVIRONMENT, implementation) + assert bindings[LEGACY]["assembler_identity"] is None and bindings[LEGACY]["analysis_identity"] is not None + assert bindings[ASSEMBLED]["assembler_identity"] is not None + assert len({value["analysis_identity"] for value in bindings.values()}) == 2 + with pytest.raises(ValueError, match="no equation binding is defined for operator"): + provenance_binding("DC2DProblem.unbound", dc_device) + monkeypatch.setenv(ENVIRONMENT, "Assembled") + for call in (lambda: provenance_binding("BackwardEuler1DStep", dc_device), selection_setting): + with pytest.raises(ValueError, match="unknown equation implementation"): + call() + + +@pytest.mark.parametrize("implementation", (LEGACY, ASSEMBLED)) +def test_every_producer_admits_its_binding_before_evaluating_an_equation( + dc_device: Any, ionic_case: tuple[Any, Any, Any], ac_cases: dict[str, tuple[Any, Any, Any]], implementation: str, +) -> None: + from examples.research_1d.ionic_transient import controls as ionic_transient_controls + from solarlab.experiments.ionic_impedance import solve_ionic_impedance + from solarlab.experiments.multiple_ionic_impedance import solve_multiple_ionic_impedance + from solarlab.experiments.multiple_ionic_transient import solve_multiple_ionic_transient + from solarlab.reproducibility import job_provenance as provenance + + compiled, controls, initial = ionic_case + single, _, single_initial = ac_cases["single"] + multiple, _, multiple_initial = ac_cases["multiple"] + with equation_implementation(LEGACY): + ac_point = solve_steady_state(dc_device, voltage_V=0.6, generation_scale=1.0) + dc_initial = solve_steady_state(dc_device, voltage_V=0.0, generation_scale=1.0, options=SteadyOptions()) + producers = { + "DC1DProblem.small_signal": lambda: solve_impedance(dc_device, ac_point, [1.0], steady_options=SteadyOptions()), + "BackwardEuler1DStep": lambda: run_transient_for_publication( + dc_device, dc_initial, TransientProtocol([0, 1e-7], [0, 0], [1, 1.0025]), + options=transient_controls(), initial_options=SteadyOptions()), + "Ionic1DProblem.steady_jv": lambda: run_ionic_steady_jv( + compiled, (0.001,), generation_scale=0.0, options=IonicSteadyJVOptions(controls), + initial=None, initial_policy="compiled_cold"), + "Ionic1DProblem.initialization": lambda: initialization.initialize_ionic_steady_state( + compiled, initial=initial, voltage_V=0.002, generation_scale=1.0, + options=initialization.IonicInitializationOptions(controls, initialization.DIRECT_POLICY, 25.0)), + "IonicSmallSignal1D": lambda: solve_ionic_impedance(single, single_initial, [1.0]), + "MultipleIonicSmallSignal1D": lambda: solve_multiple_ionic_impedance( + multiple, multiple_initial, [1.0], voltage_phasor_V=2e-6 + 1e-6j), + "MultipleIonicBackwardEuler1DStep": lambda: solve_multiple_ionic_transient( + multiple, multiple_initial, TransientProtocol([0, 1e-3], [0.002, 0.002], [0, 0]), + options=ionic_transient_controls()), + } + capture = provenance.capture_job_provenance + for operator, run in producers.items(): + at_capture: list[tuple[int, int]] = [] + with equation_implementation(implementation), counted() as observed: + def admitted(*args: Any, **kwargs: Any) -> Any: + at_capture.append((observed.original, observed.assembled)) + return capture(*args, **kwargs) + with pytest.MonkeyPatch.context() as patch: + patch.setattr(provenance, "capture_job_provenance", admitted) + run() + assert at_capture == [(0, 0)], operator + assert observed.original + observed.assembled > 0, operator + + +def test_device_compilation_evaluates_no_equation() -> None: + """Workers compile before admission, so that they can name the bound system.""" + from examples.research_1d.shared_site_ionic_fixture import prepare_confined_shared_site_ion_device + from solarlab.device.compile_ionic_1d import compile_ionic_device_1d + + with counted() as observed: + compile_device_1d(load_device(), intervals_per_layer=12) + compile_ionic_device_1d(prepare_confined_shared_site_ion_device(), intervals_per_layer=(12, 12, 12), + ion_domain_layer="absorber", ion_domain_endpoints=("blocking", "blocking")) + assert observed.original == observed.assembled == 0 + + +def test_2d_jv_admits_the_implementation_that_ran(tmp_path: Path) -> None: + import numpy as np + + from examples.research_2d import dc_assembly, steady as steady_example + from solarlab.device.compile_2d import compile_device_2d + from solarlab.experiments.jv import steady_2d as jv_2d + + device = compile_device_2d(steady_example.load_device(), dc_assembly.spatial_input()) + with equation_implementation(LEGACY): + assert steady_example.run_case(tmp_path / "Steady.json")["completed"] + path = tmp_path / "Steady.json" + controls = jv_2d.SteadyJV2DOptions() + initial = jv_2d.load_steady_jv_2d_initial(device, path, hashlib.sha256(path.read_bytes()).hexdigest(), + options=controls.steady) + runs = iter(("legacy", "assembled")) + pair(lambda: jv_2d.run_steady_jv_2d(device, initial, np.array([0.0]), options=controls, + checkpoint_directory=tmp_path / next(runs)), + lambda result: result.job_provenance, "DC2DProblem.steady_jv", device) diff --git a/tests/unit/assembly/test_production_wiring.py b/tests/unit/assembly/test_production_wiring.py new file mode 100644 index 00000000..f75eff30 --- /dev/null +++ b/tests/unit/assembly/test_production_wiring.py @@ -0,0 +1,420 @@ +"""The production entry points under the assembled default and the legacy opt-out. + +The selection is checked first: assembled by default, the legacy opt-out by +scope or process setting, unknown values refused. Then each 1D production +entry point runs once per implementation on a research example: steady J-V, +DC transient, DC small signal, single- and two-domain ionic AC and the ionic +initialization (the ionic steady and transient drivers are compared field by +field in test_assembly_ionic_drivers). Every result array has the same +binary64 words, every saved artifact has the same bytes outside wall-clock +fields and the AC observations' code identities, and each reader returns the +same record for either producer. + +Each job's Q6 binding is asserted first, against the reviewed specification +in support.equation_provenance: the legacy run records the original +operator and no Assembler, the assembled run its operator, the identity of +its system Assembler and an analysis identity over every Assembler it may +evaluate, and the Assemblers that did evaluate are among those. Only that +binding (and the envelope digest over it) is then set aside; the rest of +each Q6 record is compared like any other field. +""" + +from __future__ import annotations + +from collections.abc import Iterator +from contextlib import ExitStack, contextmanager +import dataclasses +import enum +import hashlib +import json +import os +from pathlib import Path +import subprocess +import sys +from typing import Any +from unittest import mock + +import numpy as np +import pytest +from threadpoolctl import threadpool_limits + +from examples.research_1d.ionic_impedance import compile_case +from examples.research_1d.ionic_initialization import compile_shared_case +from examples.research_1d.ionic_steady import controls as steady_controls +from examples.research_1d.multiple_ionic_domains import DOMAINS, INTERVALS, prepare_multiple_ionic_device +from examples.research_1d.steady import load_device +from examples.research_1d.transient import controls as transient_controls, json_value +from solarlab.device.compile_1d import compile_device_1d +from solarlab.device.compile_multiple_ionic_1d import compile_multiple_ionic_device_1d +from solarlab.equations.assembly.assembler import Assembler +from solarlab.equations.dc_1d import DC1DProblem +from solarlab.equations.implementation import ( + ASSEMBLED, ENVIRONMENT, LEGACY, equation_implementation, implementation_source_modules, + selected_implementation, use_assembled, +) +from solarlab.equations.ionic_1d import Ionic1DProblem +from solarlab.equations.multiple_ionic_1d import MultipleIonic1DProblem +from solarlab.experiments import ionic_initialization as initialization +from solarlab.experiments.impedance import solve_impedance +from solarlab.experiments.ionic_impedance import ( + read_ionic_impedance_result, solve_ionic_impedance, write_ionic_impedance_result, +) +from solarlab.experiments.ionic_transient import load_ionic_steady_initial +from solarlab.experiments.jv.steady import run_steady_jv, steady_jv_payload +from solarlab.experiments.multiple_ionic_impedance import ( + read_multiple_ionic_impedance_result, solve_multiple_ionic_impedance, write_multiple_ionic_impedance_result, +) +from solarlab.experiments.multiple_ionic_transient import load_multiple_ionic_steady_initial +from solarlab.experiments.transient import TransientProtocol, solve_transient +from solarlab.experiments.transient_results import _encode, _payload +from solarlab.reproducibility.job_provenance import admitted_source_pins, job_provenance +from solarlab.solvers.nonlinear.ionic_1d import solve_ionic_steady_state +from solarlab.solvers.nonlinear.multiple_ionic_1d import solve_multiple_ionic_steady_state +from solarlab.solvers.nonlinear.steady_1d import SteadyOptions, solve_steady_state +from support import equation_provenance +from support.provenance import checked_provenance_owner + +WALL_CLOCK = frozenset({"wall_s"}) +# The original AC operators pin their source files in each observation; the +# assembled operators record content identities instead (job-layer Q6). +LEGACY_IDENTITIES = frozenset({"source_sha256"}) +ASSEMBLED_IDENTITIES = frozenset({"analysis_identity", "ac_system_identity", "ac_row_operations"}) +ORIGINAL_EVALUATIONS = ( + # contact_exchange is the evaluation; _contact_exchange, its alias for the pending accounting migration. + (DC1DProblem, ("residual", "jacobian", "storage_jacobian", "fluxes", "recombination_rate", "contact_exchange", + "_contact_exchange")), + (Ionic1DProblem, ("residual", "jacobian", "storage_jacobian", "ion_fluxes")), + (MultipleIonic1DProblem, ("residual", "jacobian", "storage_jacobian", "ion_fluxes", "physical_storage")), +) + + +@pytest.fixture(scope="module", autouse=True) +def blas1() -> Iterator[None]: + with threadpool_limits(limits=1): + yield + + +@contextmanager +def assembled_only() -> Iterator[list[str]]: + """The assembled selection with every original evaluation forbidden; the evaluated Assembler identities.""" + def forbidden(*args: object, **kwargs: object) -> None: + raise AssertionError("an original evaluation ran under the assembled selection") + + calls: list[str] = [] + original = Assembler.evaluate + + def counted(assembler: Assembler, *args: Any, **kwargs: Any) -> Any: + calls.append(assembler.identity) + return original(assembler, *args, **kwargs) + + with ExitStack() as stack: + for cls, methods in ORIGINAL_EVALUATIONS: + for method in methods: + stack.enter_context(mock.patch.object(cls, method, forbidden)) + stack.enter_context(mock.patch.object(Assembler, "evaluate", counted)) + stack.enter_context(equation_implementation(ASSEMBLED)) + yield calls + + +def words(value: Any) -> Any: + """Every result leaf; floats and arrays as their binary64 words, wall clock dropped.""" + if dataclasses.is_dataclass(value) and not isinstance(value, type): + return (type(value).__name__, tuple((item.name, words(getattr(value, item.name))) + for item in dataclasses.fields(value) if item.name not in WALL_CLOCK)) + if isinstance(value, dict): + return ("dict", tuple((key, words(item)) for key, item in value.items() if key not in WALL_CLOCK)) + if isinstance(value, (list, tuple)): + return (type(value).__name__, tuple(words(item) for item in value)) + if isinstance(value, np.ndarray): + return ("array", value.dtype.str, value.shape, np.ascontiguousarray(value).tobytes()) + if isinstance(value, (float, np.floating)): + return ("float", np.float64(value).tobytes()) + if isinstance(value, (complex, np.complexfloating)): + return ("complex", np.complex128(value).tobytes()) + if isinstance(value, enum.Enum): + return ("enum", type(value).__name__, value.value) + return ("value", value) + + +def masked(document: Any, identities: frozenset[str] = frozenset()) -> tuple[Any, set[str]]: + """A saved document without wall-clock fields and the AC observations' named identities (returned).""" + found: set[str] = set() + + def strip(value: Any, observation: bool = False) -> Any: + if isinstance(value, dict): + dropped = WALL_CLOCK | (identities if observation else frozenset()) + found.update(key for key in value if observation and key in identities) + return {key: strip(item, key == "observation") for key, item in value.items() if key not in dropped} + if isinstance(value, (list, tuple)): + return type(value)(strip(item) for item in value) + return value + + return strip(document), found + + +Binding = tuple[str, Any, "int | None"] + + +def bound(document: Any, binding: Binding, implementation: str) -> Any: + """A saved or read document with every Q6 binding asserted for ``implementation``, then set aside.""" + operator, device, closure = binding + result, found = equation_provenance.checked_document(document, operator, device, implementation, closure) + assert found + return result + + +def evaluated(calls: list[str], binding: Binding) -> None: + """The assembled run evaluated its system Assembler and only Assemblers its binding names.""" + operator, device, closure = binding + assert equation_provenance.expected(operator, device, ASSEMBLED, closure)["identity"] in calls + assert set(calls) <= equation_provenance.allowed(operator, device, closure) + + +def same_read(legacy: dict[str, Any], assembled: dict[str, Any], binding: Binding) -> None: + """Two decoded reader records agree word for word outside wall clock and the observation identities.""" + assert words(masked(bound(assembled, binding, ASSEMBLED), ASSEMBLED_IDENTITIES)[0]) == words( + masked(bound(legacy, binding, LEGACY), LEGACY_IDENTITIES)[0]) + + +def same_saved(legacy: bytes, assembled: bytes, binding: Binding | None = None, *, ac: bool = False) -> None: + """The saved bytes agree outside wall clock (and, for AC, the observations' code identities). + + A saved Q6 record's binding is asserted and set aside first (``binding``). + """ + left_document, right_document = json.loads(legacy), json.loads(assembled) + if binding is not None: + left_document, right_document = bound(left_document, binding, LEGACY), bound(right_document, binding, ASSEMBLED) + left, legacy_found = masked(left_document, LEGACY_IDENTITIES if ac else frozenset()) + right, assembled_found = masked(right_document, ASSEMBLED_IDENTITIES if ac else frozenset()) + # JSON numbers are the shortest round-trip repr, so equal text is equal binary64 words. + assert json.dumps(right, sort_keys=False) == json.dumps(left, sort_keys=False) + if ac: + assert legacy_found == LEGACY_IDENTITIES and assembled_found == ASSEMBLED_IDENTITIES + + +def test_every_guarded_original_evaluation_is_refused_before_its_body() -> None: + """Under assembled_only each listed method, and the public contact exchange by name, raises on entry. + + An uninitialized instance has no device: a body that ran would fail with another error. + """ + refused = "an original evaluation ran under the assembled selection" + with assembled_only(): + for cls, methods in ORIGINAL_EVALUATIONS: + probe = object.__new__(cls) + for method in methods: + with pytest.raises(AssertionError, match=refused): + getattr(probe, method)(None, None, 0) + with pytest.raises(AssertionError, match=refused): + object.__new__(DC1DProblem).contact_exchange(None, None, 0) + with pytest.raises(AttributeError): + object.__new__(DC1DProblem).contact_exchange(None, None, 0) + + +def test_the_assembled_system_is_the_default_and_legacy_an_explicit_opt_out(monkeypatch: pytest.MonkeyPatch) -> None: + monkeypatch.delenv(ENVIRONMENT, raising=False) + assert selected_implementation() == ASSEMBLED and use_assembled() + with equation_implementation(LEGACY): + assert selected_implementation() == LEGACY and not use_assembled() + with equation_implementation(ASSEMBLED): + assert use_assembled() + assert not use_assembled() + assert use_assembled() + monkeypatch.setenv(ENVIRONMENT, LEGACY) + assert selected_implementation() == LEGACY + with equation_implementation(ASSEMBLED): + assert selected_implementation() == ASSEMBLED + with pytest.raises(RuntimeError), equation_implementation(ASSEMBLED): + raise RuntimeError("the scope is restored on errors") + assert selected_implementation() == LEGACY + for value in ("", "Assembled", "original", "unified"): + monkeypatch.setenv(ENVIRONMENT, value) + with pytest.raises(ValueError, match="unknown equation implementation"): + selected_implementation() + with pytest.raises(ValueError, match="unknown equation implementation"), equation_implementation("new"): + pass + + +def test_source_maps_cover_both_implementations_and_do_not_depend_on_the_selection() -> None: + names = implementation_source_modules("small_signal") + assert names[0] == "solarlab.equations.implementation" + assert {"solarlab.equations.assembly.classical_1d", "solarlab.equations.assembly.ionic_1d", + "solarlab.equations.assembly.small_signal"} <= set(names) + assert set(implementation_source_modules("dc")) < set(implementation_source_modules("ionic")) < set(names) + # Job admission (Q6) pins the whole source tree, whichever implementation is selected. + pins = {} + for implementation in (LEGACY, ASSEMBLED): + with equation_implementation(implementation), checked_provenance_owner(), \ + job_provenance({"source_map": True}, operator="test.source_map"): + pins[implementation] = admitted_source_pins() + assert list(pins[LEGACY].items()) == list(pins[ASSEMBLED].items()) + assert {*names, "solarlab.equations.dc_1d", "solarlab.solvers.time.assembled_storage"} <= set(pins[ASSEMBLED]) + + +@pytest.fixture(scope="module") +def dc_device() -> Any: + return compile_device_1d(load_device(), intervals_per_layer=12) + + +def test_steady_jv_arrays_and_saved_payload(dc_device: Any) -> None: + voltages = np.round(np.arange(0.0, 0.61, 0.15), 2) + with assembled_only() as calls: + candidate = run_steady_jv(dc_device, voltages, generation_scale=1.0) + assert calls + with equation_implementation(LEGACY): + reference = run_steady_jv(dc_device, voltages, generation_scale=1.0) + assert words(candidate) == words(reference) + (left, left_payloads), (right, right_payloads) = steady_jv_payload(reference), steady_jv_payload(candidate) + assert json.dumps(_encode(right)) == json.dumps(_encode(left)) + assert [(name, item.data, item.format) for name, item in right_payloads] == [ + (name, item.data, item.format) for name, item in left_payloads] + + +def test_dc_transient_arrays_and_saved_payload(dc_device: Any) -> None: + with equation_implementation(LEGACY): + initial = solve_steady_state(dc_device, voltage_V=0.0, generation_scale=1.0, options=SteadyOptions()) + protocol = TransientProtocol([0, 1e-7, 2e-7, 4e-7], [0, 0.001, 0.002, 0.002], [1, 1.0025, 1.01, 1.01]) + with assembled_only() as calls: + candidate = solve_transient(dc_device, initial, protocol, options=transient_controls(), + initial_options=SteadyOptions()) + assert calls and candidate.completed + with equation_implementation(LEGACY): + reference = solve_transient(dc_device, initial, protocol, options=transient_controls(), + initial_options=SteadyOptions()) + assert words(candidate) == words(reference) + (left, left_payloads), (right, right_payloads) = (_payload(result, dc_device.nodes_m) + for result in (reference, candidate)) + assert masked(right)[0] == masked(left)[0] + assert set(right_payloads) == set(left_payloads) + for name, item in left_payloads.items(): + if name != "transient_diagnostics": + assert right_payloads[name].data == item.data, name + same_saved(left_payloads["transient_diagnostics"].data, right_payloads["transient_diagnostics"].data) + + +def test_dc_small_signal_arrays(dc_device: Any) -> None: + with equation_implementation(LEGACY): + point = solve_steady_state(dc_device, voltage_V=0.6, generation_scale=1.0) + frequencies = [0.0, 1.0, 1e3, 1e6] + with assembled_only() as calls: + candidate = solve_impedance(dc_device, point, frequencies, steady_options=SteadyOptions()) + evaluated(calls, ("DC1DProblem.small_signal", dc_device, None)) + with equation_implementation(LEGACY): + reference = solve_impedance(dc_device, point, frequencies, steady_options=SteadyOptions()) + assert words(equation_provenance.checked(candidate, "DC1DProblem.small_signal", dc_device, ASSEMBLED)) == words( + equation_provenance.checked(reference, "DC1DProblem.small_signal", dc_device, LEGACY)) + assert "solarlab.equations.assembly.classical_1d" in candidate.source_sha256 + + +def written(writer: Any, result: Any, path: Path) -> tuple[bytes, str]: + digest = writer(result, path) + return path.read_bytes(), digest + + +def test_single_domain_ionic_ac_saved_results_and_readers(tmp_path: Path) -> None: + compiled = compile_case("shared") + controls = steady_controls(compiled.ion_node_count) + with equation_implementation(LEGACY): + point = solve_ionic_steady_state(compiled, voltage_V=0.002, generation_scale=0.0, options=controls) + assert point.accepted + summary = {"accepted": True, "compiled_identity": compiled.identity, "voltage_V": 0.002, "generation_scale": 0.0} + raw = (json.dumps(json_value({"summary": summary, "result": point}), allow_nan=False) + "\n").encode() + (tmp_path / "Steady.json").write_bytes(raw) + initial = load_ionic_steady_initial(compiled, tmp_path / "Steady.json", hashlib.sha256(raw).hexdigest(), + controls=controls) + binding: Binding = ("IonicSmallSignal1D", compiled, controls.inventory_row_node) + for mode in ("mobile", "frozen"): + with equation_implementation(LEGACY): + reference = solve_ionic_impedance(compiled, initial, [0.0, 0.01, 1.0, 1e3], ion_mode=mode) + left, left_sha = written(write_ionic_impedance_result, reference, tmp_path / f"{mode}Legacy.json") + with assembled_only() as calls: + candidate = solve_ionic_impedance(compiled, initial, [0.0, 0.01, 1.0, 1e3], ion_mode=mode) + evaluated(calls, binding) + right, right_sha = written(write_ionic_impedance_result, candidate, tmp_path / f"{mode}Assembled.json") + assert reference.completed and candidate.completed + assert words(candidate.source_sha256) == words(reference.source_sha256) + for a, b in zip(reference.attempts, candidate.attempts): + assert words(b.linear_solution) == words(a.linear_solution) + assert words(b.checks) == words(a.checks) + same_saved(left, right, binding, ac=True) + for implementation in (LEGACY, ASSEMBLED): + with equation_implementation(implementation): + same_read(read_ionic_impedance_result(tmp_path / f"{mode}Legacy.json", left_sha), + read_ionic_impedance_result(tmp_path / f"{mode}Assembled.json", right_sha), binding) + + +def test_two_domain_ionic_ac_saved_results_and_readers(tmp_path: Path) -> None: + device = compile_multiple_ionic_device_1d(prepare_multiple_ionic_device(), + intervals_per_layer=INTERVALS, ion_domains=DOMAINS) + controls = steady_controls(device.domains[0].ion_node_count) + with equation_implementation(LEGACY): + point = solve_multiple_ionic_steady_state(device, voltage_V=0.002, generation_scale=0.0, options=controls) + assert point.accepted + raw = (json.dumps(_encode({"schema": "solarlab.multiple_ionic_steady.v1", "result": point, + "source_sha256": {}, "qualification": False}), indent=2, allow_nan=False) + "\n").encode() + (tmp_path / "Steady.json").write_bytes(raw) + initial = load_multiple_ionic_steady_initial(device, tmp_path / "Steady.json", hashlib.sha256(raw).hexdigest(), + controls=controls) + frequencies = [0.0, 0.01, 1.0, 1e3] + with equation_implementation(LEGACY): + reference = solve_multiple_ionic_impedance(device, initial, frequencies, voltage_phasor_V=2e-6 + 1e-6j) + with assembled_only() as calls: + candidate = solve_multiple_ionic_impedance(device, initial, frequencies, voltage_phasor_V=2e-6 + 1e-6j) + binding: Binding = ("MultipleIonicSmallSignal1D", device, controls.inventory_row_node) + evaluated(calls, binding) + assert reference.completed and candidate.completed + assert list(candidate.source_sha256.items()) == list(reference.source_sha256.items()) + left, left_sha = written(write_multiple_ionic_impedance_result, reference, tmp_path / "Legacy.json") + right, right_sha = written(write_multiple_ionic_impedance_result, candidate, tmp_path / "Assembled.json") + same_saved(left, right, binding, ac=True) + same_read(read_multiple_ionic_impedance_result(tmp_path / "Legacy.json", left_sha), + read_multiple_ionic_impedance_result(tmp_path / "Assembled.json", right_sha), binding) + + +def test_ionic_initialization_saved_results_and_reader(tmp_path: Path) -> None: + compiled = compile_shared_case() + controls = steady_controls(compiled.ion_node_count) + with equation_implementation(LEGACY): + dark = solve_ionic_steady_state(compiled, voltage_V=0.002, generation_scale=0.0, options=controls) + assert dark.accepted + summary = {"accepted": True, "compiled_identity": compiled.identity, "voltage_V": 0.002, "generation_scale": 0.0} + raw = (json.dumps(json_value({"summary": summary, "result": dark}), allow_nan=False) + "\n").encode() + (tmp_path / "Dark.json").write_bytes(raw) + initial = load_ionic_steady_initial(compiled, tmp_path / "Dark.json", hashlib.sha256(raw).hexdigest(), + controls=controls) + options = initialization.IonicInitializationOptions(controls, initialization.DIRECT_POLICY, 25.0) + binding: Binding = ("Ionic1DProblem.initialization", compiled, controls.inventory_row_node) + saved = {} + for implementation in (LEGACY, ASSEMBLED): + calls: list[str] = [] + with equation_implementation(LEGACY) if implementation == LEGACY else assembled_only() as observed: + result = initialization.initialize_ionic_steady_state( + compiled, initial=initial, voltage_V=0.002, generation_scale=1.0, options=options) + calls = observed or calls + if implementation == ASSEMBLED: + evaluated(calls, binding) + assert result.accepted, result.termination + path = tmp_path / f"{implementation}.json" + saved[implementation] = (initialization.write_ionic_initialization(result, path), path) + same_saved(saved[LEGACY][1].read_bytes(), saved[ASSEMBLED][1].read_bytes(), binding) + read = {name: initialization.read_ionic_initialization(path, digest) for name, (digest, path) in saved.items()} + assert masked(bound(_encode(read[ASSEMBLED]), binding, ASSEMBLED))[0] == masked( + bound(_encode(read[LEGACY]), binding, LEGACY))[0] + counts = read[ASSEMBLED]["result"]["evaluation_counts"] + assert counts["density_residual"] == counts["density_jacobian"] == 1 + + +def test_the_process_setting_is_not_a_legacy_engine_override() -> None: + """The legacy engine refuses research topologies under any active SOLARLAB_* variable.""" + assert not ENVIRONMENT.startswith("SOLARLAB_") + assert ENVIRONMENT not in {"PYTHONPATH", "PYTHONHOME", "LD_PRELOAD", "DYLD_INSERT_LIBRARIES"} + + +def test_a_child_process_reads_the_process_selection() -> None: + code = "from solarlab.equations.implementation import selected_implementation as s; print(s())" + for value in (None, LEGACY, ASSEMBLED): + env = {key: item for key, item in os.environ.items() if key != ENVIRONMENT} + if value is not None: + env[ENVIRONMENT] = value + result = subprocess.run([sys.executable, "-c", code], env=env, capture_output=True, text=True, timeout=60) + assert result.returncode == 0, result.stderr + assert result.stdout.strip() == (value or ASSEMBLED) diff --git a/tests/unit/assembly/test_production_wiring_2d.py b/tests/unit/assembly/test_production_wiring_2d.py new file mode 100644 index 00000000..adb582a5 --- /dev/null +++ b/tests/unit/assembly/test_production_wiring_2d.py @@ -0,0 +1,447 @@ +"""The 2D steady production entry under the assembled default and the legacy opt-out. + +At Core's 20 DC2D probe states (5 harness factories x 4 states) the selected production problem +gives the same diagnostics, checks and every readout (the 500 vectors of the binding test, the +fixed-port values through ``Assembler.reaction_flux_ordered``) in every binary64 word. Bounded +``solve_steady_state_2d`` histories from every probe, the research-example dark/light path and a +three-point 2D J-V wave with its saved artifact and reader are identical outside wall-clock +fields. Every assembled run forbids all original DC2D evaluation methods and counts Assembler +calls. The J-V job's Q6 equation binding is asserted for each selection (support.equation_provenance) +before it is set aside; admitted source pins do not depend on the selection. + +An explicit wall-prefix continuation admits its job before it readmits the prefix (Science PW2-C1): +under the default and under ``NEWCORE_EQUATIONS=legacy``, a wave, its continuation and its final +endpoint each admit their binding with no equation evaluated, and every diagnostics call runs the +selected class under that exact binding. Continuing one saved prefix gives the same tail and +endpoint under either selection. +""" + +from __future__ import annotations + +from collections.abc import Callable, Iterator +from contextlib import ExitStack, contextmanager +import dataclasses +from dataclasses import asdict, replace +import enum +import json +from pathlib import Path +import time +from typing import Any +from unittest import mock + +import numpy as np +import pytest +from threadpoolctl import threadpool_limits + +from examples.research_2d import dc_assembly, steady as steady_example +from solarlab.device.compile_2d import compile_device_2d +from solarlab.equations.assembly.assembler import Assembler +from solarlab.equations.assembly.two_dimensional import AssembledDC2DProblem +from solarlab.equations.dc_2d import CompiledDevice2D, DC2DProblem +from solarlab.equations.implementation import ASSEMBLED, ENVIRONMENT, LEGACY, equation_implementation +from solarlab.experiments.jv import steady_2d as jv_2d +from solarlab.experiments.transient_results import _encode +from solarlab.reproducibility.job_provenance import current_provenance +from solarlab.solvers.nonlinear import steady_2d +from solarlab.solvers.nonlinear.steady_1d import SteadyOptions +from support import equation_provenance +from support.assembly_references import REFERENCE_FACTORIES +from support.provenance import checked_provenance_owner + +FACTORIES = ("dc2d:fixed", "dc2d:contacts", "dc2d:ct", "dc2d:grain", "dc2d:composed") +WALL_CLOCK = frozenset({"wall_s"}) +ORIGINAL_EVALUATIONS = ("residual", "jacobian", "fluxes", "recombination_rate", "displacement", "current_density", + "cross_section_current_A_m", "contact_particle_fluxes", "terminal_current_A_m", + "terminal_current_density_A_m2") +READOUTS = ("displacement", "current_density", "cross_section_current_A_m", "terminal_current_A_m", + "terminal_current_density_A_m2") +JV = "DC2DProblem.steady_jv" +WAVE = np.array([0.0, 0.025, 0.05, 0.075, 0.1]) + + +@pytest.fixture(scope="module", autouse=True) +def blas1() -> Iterator[None]: + with threadpool_limits(limits=1): + yield + + +@contextmanager +def originals_forbidden() -> Iterator[None]: + """Every original DC2D evaluation method raises.""" + def forbidden(*args: object, **kwargs: object) -> None: + raise AssertionError("an original DC2D evaluation ran under the assembled selection") + + with ExitStack() as stack: + for method in ORIGINAL_EVALUATIONS: + stack.enter_context(mock.patch.object(DC2DProblem, method, forbidden)) + yield + + +@contextmanager +def assembled_only() -> Iterator[list[int]]: + """The assembled selection with every original DC2D evaluation forbidden; counts Assembler calls.""" + calls: list[int] = [] + original = Assembler.evaluate + + def counted(assembler: Assembler, *args: Any, **kwargs: Any) -> Any: + calls.append(1) + return original(assembler, *args, **kwargs) + + with ExitStack() as stack: + stack.enter_context(originals_forbidden()) + stack.enter_context(mock.patch.object(Assembler, "evaluate", counted)) + stack.enter_context(equation_implementation(ASSEMBLED)) + yield calls + + +def words(value: Any) -> Any: + """Every result leaf; floats and arrays as their binary64 words, wall clock dropped.""" + if dataclasses.is_dataclass(value) and not isinstance(value, type): + return (type(value).__name__, tuple((item.name, words(getattr(value, item.name))) + for item in dataclasses.fields(value) if item.name not in WALL_CLOCK)) + if isinstance(value, dict): + return ("dict", tuple((key, words(item)) for key, item in value.items() if key not in WALL_CLOCK)) + if isinstance(value, (list, tuple)): + return (type(value).__name__, tuple(words(item) for item in value)) + if isinstance(value, np.ndarray): + return ("array", value.dtype.str, value.shape, np.ascontiguousarray(value).tobytes()) + if isinstance(value, (float, np.floating)): + return ("float", np.float64(value).tobytes()) + if isinstance(value, enum.Enum): + return ("enum", type(value).__name__, value.value) + return ("value", value) + + +def masked(document: Any) -> Any: + if isinstance(document, dict): + return {key: masked(item) for key, item in document.items() if key not in WALL_CLOCK} + if isinstance(document, list): + return [masked(item) for item in document] + return document + + +def bits(value: Any) -> bytes: + return np.ascontiguousarray(value, dtype=np.float64).tobytes() + + +def readouts(problem: Any, u: np.ndarray, device: CompiledDevice2D, voltage: float) -> list[bytes]: + """The binding test's readout vectors, in its order, as binary64 words.""" + vectors = [bits(getattr(problem, name)(u)) for name in READOUTS] + for carrier in asdict(problem.fluxes(u)).values(): + vectors.extend(bits(item) for item in carrier.values()) + _, n, p = device.fields(u, voltage_V=voltage) + for derivatives in (False, True): + vectors.extend(bits(item) for item in asdict(problem.recombination_rate(n, p, derivatives=derivatives)).values() + if item is not None) + vectors.extend(bits(item) for item in problem.contact_particle_fluxes(u)) + return vectors + + +def test_the_twenty_probes_give_the_same_diagnostics_readouts_and_ordered_ports() -> None: + options = steady_2d.Steady2DOptions() + probes = vectors = ordered_ports = 0 + for name in FACTORIES: + case = REFERENCE_FACTORIES[name]() + device = case.device + for state in case.states: + probes += 1 + with equation_implementation(LEGACY): + legacy = steady_2d._problem(device, state.voltage_V, state.generation_scale) + legacy_values = steady_2d.diagnostics(legacy, state.u, options) + legacy_readouts = readouts(legacy, state.u, device, state.voltage_V) + legacy_ports = legacy.contact_particle_fluxes(state.u) + assert type(legacy) is DC2DProblem + with assembled_only() as calls: + candidate = steady_2d._problem(device, state.voltage_V, state.generation_scale) + candidate_values = steady_2d.diagnostics(candidate, state.u, options) + candidate_readouts = readouts(candidate, state.u, device, state.voltage_V) + assert type(candidate) is AssembledDC2DProblem + # Fixed-reservoir ports read out through the ordered-port API, word for word. + system = candidate.binding + for index, (block, carrier) in enumerate((("electron", "n"), ("hole", "p"))): + for side, (port, channel_side) in enumerate((("y_min", "left"), ("y_max", "right"))): + if device.column.channel(carrier, channel_side).kind != "fixed_reservoir": + continue + ordered = system.assembler.reaction_flux_ordered( + state.u, candidate.inputs, block, port, normal_faces=system.geometry.normal_faces(port), + transverse_faces=system.geometry.transverse_faces) + assert bits(ordered) == bits(legacy_ports[index][side]) + ordered_ports += 1 + assert calls + assert words(candidate_values) == words(legacy_values) + assert words(steady_2d.checks(candidate_values, options)) == words(steady_2d.checks(legacy_values, options)) + assert candidate_readouts == legacy_readouts + vectors += len(candidate_readouts) + assert (probes, vectors) == (20, 500) and ordered_ports > 0 + + +@pytest.mark.parametrize("name", FACTORIES) +def test_bounded_production_solves_from_every_probe_are_identical(name: str) -> None: + case = REFERENCE_FACTORIES[name]() + device = case.device + options = steady_2d.Steady2DOptions(replace(SteadyOptions(), max_iterations=4), 30.0) + for state in case.states: + initial = device.state(state.u, voltage_V=state.voltage_V) + with equation_implementation(LEGACY): + reference = steady_2d.solve_steady_state_2d(device, voltage_V=state.voltage_V, + generation_scale=state.generation_scale, options=options, initial_state=initial) + with assembled_only() as calls: + candidate = steady_2d.solve_steady_state_2d(device, voltage_V=state.voltage_V, + generation_scale=state.generation_scale, options=options, initial_state=initial) + assert calls and candidate.newton is not None and candidate.newton.iterations + assert words(candidate) == words(reference) + + +def test_research_steady_path_saved_artifact_and_reader(tmp_path: Path) -> None: + saved = {} + for implementation in (LEGACY, ASSEMBLED): + output = tmp_path / f"{implementation}.json" + with equation_implementation(LEGACY) if implementation == LEGACY else assembled_only(): + record = steady_example.run_case(output) + assert record["completed"] + saved[implementation] = output + left, right = (json.loads(saved[name].read_bytes()) for name in (LEGACY, ASSEMBLED)) + assert json.dumps(masked(right)) == json.dumps(masked(left)) + for implementation in (LEGACY, ASSEMBLED): + with equation_implementation(implementation): + reads = [steady_example.read_result(path, _sha256(path)) for path in saved.values()] + assert json.dumps(masked(_encode(reads[1]))) == json.dumps(masked(_encode(reads[0]))) + + +def _sha256(path: Path) -> str: + import hashlib + + return hashlib.sha256(path.read_bytes()).hexdigest() + + +def test_jv_wave_admission_points_saved_artifact_and_reader(tmp_path: Path) -> None: + device = compile_device_2d(steady_example.load_device(), dc_assembly.spatial_input()) + with equation_implementation(LEGACY): + dark = steady_example.run_case(tmp_path / "Steady.json") + assert dark["completed"] + initial_path = tmp_path / "Steady.json" + controls = jv_2d.SteadyJV2DOptions() + initial = jv_2d.load_steady_jv_2d_initial(device, initial_path, _sha256(initial_path), options=controls.steady) + voltages = np.array([0.0, 0.025, 0.05]) + saved = {} + for implementation in (LEGACY, ASSEMBLED): + with equation_implementation(LEGACY) if implementation == LEGACY else assembled_only(): + result = jv_2d.run_steady_jv_2d(device, initial, voltages, options=controls, + checkpoint_directory=tmp_path / f"{implementation}.checkpoints") + assert len(result.attempts) == voltages.size and all(attempt.accepted for attempt in result.attempts) + path = tmp_path / f"{implementation}Jv.json" + saved[implementation] = (jv_2d.write_steady_jv_2d(result, path), path, result) + operator = "DC2DProblem.steady_jv" + assert words(equation_provenance.checked(saved[ASSEMBLED][2], operator, device, ASSEMBLED)) == words( + equation_provenance.checked(saved[LEGACY][2], operator, device, LEGACY)) + documents = {} + for implementation in (LEGACY, ASSEMBLED): + document, found = equation_provenance.checked_document( + json.loads(saved[implementation][1].read_bytes()), operator, device, implementation) + assert found + documents[implementation] = document + assert json.dumps(masked(documents[ASSEMBLED])) == json.dumps(masked(documents[LEGACY])) + reads = {} + for implementation, (digest, path, _) in saved.items(): + reads[implementation], found = equation_provenance.checked_document( + _encode(jv_2d.read_steady_jv_2d(path, digest)), operator, device, implementation) + assert found + assert json.dumps(masked(reads[ASSEMBLED])) == json.dumps(masked(reads[LEGACY])) + + +def test_2d_admitted_source_pins_cover_both_implementations_and_do_not_depend_on_the_selection() -> None: + from solarlab.reproducibility.job_provenance import job_provenance + + device = compile_device_2d(steady_example.load_device(), dc_assembly.spatial_input()) + maps = {} + for implementation in (LEGACY, ASSEMBLED): + with equation_implementation(implementation), checked_provenance_owner(), \ + job_provenance({"device": device.identity}, operator="test.source_map"): + maps[implementation] = list(steady_2d.sources(device).items()) + assert maps[LEGACY] == maps[ASSEMBLED] + assert {"solarlab.equations.implementation", "solarlab.equations.assembly.two_dimensional", + "solarlab.equations.assembly.rectangular_2d", "solarlab.equations.dc_2d", + "solarlab.experiments.jv.steady_2d"} <= set(dict(maps[ASSEMBLED])) + + +@pytest.fixture(scope="module") +def jv_case(tmp_path_factory: pytest.TempPathFactory) -> tuple[CompiledDevice2D, jv_2d.SteadyJV2DInitial]: + """The research device and its accepted saved initial (the research dark/light example).""" + path = tmp_path_factory.mktemp("jv2d") / "Steady.json" + with equation_implementation(LEGACY): + assert steady_example.run_case(path)["completed"] + device = compile_device_2d(steady_example.load_device(), dc_assembly.spatial_input()) + return device, jv_2d.load_steady_jv_2d_initial(device, path, _sha256(path), + options=jv_2d.SteadyJV2DOptions().steady) + + +@contextmanager +def wall_stop(count: int, controls: jv_2d.SteadyJV2DOptions) -> Iterator[Callable[[jv_2d.SteadyJV2DAttempt], None]]: + """An ``on_point`` that moves the driver's clock past the wave's wall budget after ``count`` points. + + The next point then stops before its solver call, as a wave whose wall budget ran out does. + """ + offset = [0.0] + + class Clock: + @staticmethod + def monotonic() -> float: + return time.monotonic() + offset[0] + + def on_point(attempt: jv_2d.SteadyJV2DAttempt) -> None: + if attempt.index + 1 == count: + offset[0] = controls.wall_s + + with pytest.MonkeyPatch.context() as patch: + patch.setattr(jv_2d, "time", Clock) + yield on_point + + +@contextmanager +def admitted_first(device: CompiledDevice2D, implementation: str, diagnostics: int) -> Iterator[None]: + """The J-V producer called inside admits its job before evaluating any equation or diagnostics. + + Then each of its ``diagnostics`` calls evaluates the selected class, and each equation evaluation + runs, under the exact selected binding; the other implementation evaluates nothing. + """ + from solarlab.reproducibility import job_provenance as provenance + + binding = equation_provenance.expected(JV, device, implementation) + events: list[tuple[Any, ...]] = [] + equations: list[Any] = [] + capture, diagnosed = provenance.capture_job_provenance, jv_2d.steady_diagnostics + + def admitted_binding() -> Any: + active = current_provenance() + return None if active is None else active["record"]["assembler"] + + with ExitStack() as stack: + if implementation == ASSEMBLED: + stack.enter_context(originals_forbidden()) + observed = stack.enter_context(equation_provenance.counted()) + for owner, name in ((Assembler, "evaluate"), (DC2DProblem, "residual"), (DC2DProblem, "jacobian")): + def evaluated(self: Any, *args: Any, __method: Any = getattr(owner, name), **kwargs: Any) -> Any: + equations.append(admitted_binding()) + return __method(self, *args, **kwargs) + stack.enter_context(mock.patch.object(owner, name, evaluated)) + patch = stack.enter_context(pytest.MonkeyPatch.context()) + + def admitted(*args: Any, **kwargs: Any) -> Any: + events.append(("admitted", observed.original, observed.assembled)) + return capture(*args, **kwargs) + + def spied(problem: Any, *args: Any, **kwargs: Any) -> Any: + events.append(("diagnostics", type(problem), admitted_binding())) + return diagnosed(problem, *args, **kwargs) + + patch.setattr(provenance, "capture_job_provenance", admitted) + patch.setattr(jv_2d, "steady_diagnostics", spied) + yield + selected = AssembledDC2DProblem if implementation == ASSEMBLED else DC2DProblem + assert events == [("admitted", 0, 0)] + [("diagnostics", selected, binding)] * diagnostics + assert equations and all(item == binding for item in equations) + if implementation == ASSEMBLED: + assert observed.original == 0 and observed.assembled > 0 + assert observed.identities <= equation_provenance.allowed(JV, device) + else: + assert observed.assembled == 0 and observed.original > 0 + + +def saved(result: jv_2d.SteadyJV2DResult, path: Path) -> tuple[Path, str]: + return path, jv_2d.write_steady_jv_2d(result, path) + + +@pytest.mark.parametrize("legacy", (False, True), ids=("default", "NEWCORE_EQUATIONS=legacy")) +def test_explicit_continuation_admits_its_binding_before_readmitting_its_prefix( + jv_case: tuple[CompiledDevice2D, jv_2d.SteadyJV2DInitial], legacy: bool, monkeypatch: pytest.MonkeyPatch, + tmp_path: Path, +) -> None: + """A wave stopped by its wall budget, its continuation (stopped again) and its final original endpoint. + + The process setting selects. Each continuation readmits the original initial and every accepted + prefix row inside its job, after admitting the selected binding (Science PW2-C1). + """ + device, initial = jv_case + if legacy: + monkeypatch.setenv(ENVIRONMENT, LEGACY) + else: + monkeypatch.delenv(ENVIRONMENT, raising=False) + implementation = LEGACY if legacy else ASSEMBLED + controls = jv_2d.SteadyJV2DOptions() + # The saved initial is readmitted, then two new points are checked. + with admitted_first(device, implementation, 1 + 2), wall_stop(2, controls) as on_point: + prefix = jv_2d.run_steady_jv_2d(device, initial, WAVE, options=controls, on_point=on_point) + prefix_path, prefix_sha = saved(prefix, tmp_path / "Prefix.json") + # The original initial and both prefix rows are readmitted, then two new points are checked. + with admitted_first(device, implementation, 1 + 2 + 2), wall_stop(2, controls) as on_point: + tail = jv_2d.continue_steady_jv_2d(device, prefix_path, prefix_sha, options=controls, on_point=on_point) + tail_path, tail_sha = saved(tail, tmp_path / "Tail.json") + # The original initial and the four accepted rows of both artifacts, then the endpoint. + with admitted_first(device, implementation, 1 + 4 + 1): + endpoint = jv_2d.continue_steady_jv_2d(device, tail_path, tail_sha, options=controls) + endpoint_path, endpoint_sha = saved(endpoint, tmp_path / "Endpoint.json") + for stopped in (prefix, tail): + assert len(stopped.voltage_V) == 2 and not stopped.attempts[-1].solver_called + assert stopped.attempts[-1].termination == "wave_wall_budget_exhausted" + assert endpoint.completed and tail.attempts[0].seed_provenance["kind"] == "accepted_wall_prefix" + np.testing.assert_array_equal(jv_2d.read_steady_jv_2d(endpoint_path, endpoint_sha)["continuation"]["combined_voltage_V"], + WAVE) + for path, envelopes in ((prefix_path, 1), (tail_path, 3), (endpoint_path, 3)): + assert equation_provenance.checked_document(json.loads(path.read_bytes()), JV, device, implementation)[1] == envelopes + + +def continuation_document(document: Any, device: CompiledDevice2D, implementation: str, + envelopes: int) -> tuple[Any, str]: + """A continuation of a legacy artifact with every Q6 binding asserted and set aside. + + The continued artifact's binding is legacy and the others are ``implementation``'s. Also + returns, set aside, the source comparison between the two, which follows from their bindings. + """ + producers = document["continuation"]["producer_provenance"] + record, binding = equation_provenance.split(producers.pop("prefix")) + assert binding == equation_provenance.expected(JV, device, LEGACY) + checked, found = equation_provenance.checked_document(document, JV, device, implementation) + assert found == envelopes + checked["continuation"]["producer_provenance"]["prefix"] = record + return checked, checked["continuation"].pop("source_comparison") + + +def test_one_saved_prefix_continues_to_the_same_tail_and_endpoint_under_either_selection( + jv_case: tuple[CompiledDevice2D, jv_2d.SteadyJV2DInitial], tmp_path: Path, +) -> None: + """One saved legacy prefix, and then one stopped legacy tail, continued under each selection. + + The results are equal in every binary64 word outside the admitted binding. The saved documents + and the reader outputs also differ only in it, and in the source comparison against the legacy + artifact that follows from it. + """ + device, initial = jv_case + controls = jv_2d.SteadyJV2DOptions() + with equation_implementation(LEGACY), wall_stop(2, controls) as on_point: + prefix = jv_2d.run_steady_jv_2d(device, initial, WAVE, options=controls, on_point=on_point) + prefix_path, prefix_sha = saved(prefix, tmp_path / "Prefix.json") + tails, endpoints = {}, {} + for implementation in (LEGACY, ASSEMBLED): + with equation_implementation(LEGACY) if implementation == LEGACY else assembled_only(), \ + wall_stop(2, controls) as on_point: + tails[implementation] = jv_2d.continue_steady_jv_2d(device, prefix_path, prefix_sha, options=controls, + on_point=on_point) + tail_path, tail_sha = saved(tails[LEGACY], tmp_path / "Tail.json") + for implementation in (LEGACY, ASSEMBLED): + with equation_implementation(LEGACY) if implementation == LEGACY else assembled_only(): + endpoints[implementation] = jv_2d.continue_steady_jv_2d(device, tail_path, tail_sha, options=controls) + assert len(tails[LEGACY].voltage_V) == 2 and endpoints[LEGACY].completed + for name, results in (("Tail", tails), ("Endpoint", endpoints)): + assert words(equation_provenance.checked(results[ASSEMBLED], JV, device, ASSEMBLED)) == words( + equation_provenance.checked(results[LEGACY], JV, device, LEGACY)) + documents, reads, comparisons = {}, {}, {} + for implementation, result in results.items(): + path, digest = saved(result, tmp_path / f"{implementation}{name}.json") + documents[implementation], comparisons[implementation] = continuation_document( + json.loads(path.read_bytes()), device, implementation, 2) + reads[implementation], _ = continuation_document( + _encode(jv_2d.read_steady_jv_2d(path, digest)), device, implementation, 3) + assert json.dumps(masked(documents[ASSEMBLED])) == json.dumps(masked(documents[LEGACY])) + assert json.dumps(masked(reads[ASSEMBLED])) == json.dumps(masked(reads[LEGACY])) + assert comparisons[LEGACY] in {"same", "unknown"} + assert comparisons[ASSEMBLED] == ("unknown" if comparisons[LEGACY] == "unknown" else "different") diff --git a/tests/unit/assembly_parity/conftest.py b/tests/unit/assembly_parity/conftest.py new file mode 100644 index 00000000..99efa2f4 --- /dev/null +++ b/tests/unit/assembly_parity/conftest.py @@ -0,0 +1,47 @@ +"""Local support-package import and a hard budget for the no-solve harness.""" + +from __future__ import annotations + +from collections.abc import Iterator +from pathlib import Path +import sys +import time +from typing import NoReturn + +import pytest +from threadpoolctl import threadpool_limits + +# Avoid depending on an installed package named ``tests`` or changing its +# namespace outside this owned directory. +sys.path.insert(0, str(Path(__file__).resolve().parents[2])) + + +@pytest.fixture(scope="session", autouse=True) +def assembly_budget() -> Iterator[list[float]]: + elapsed = [0.0] + with threadpool_limits(limits=1): + yield elapsed + assert elapsed[0] < 60.0, f"assembly parity self-test exceeded 60 s: {elapsed[0]:.3f} s" + + +@pytest.fixture(autouse=True) +def assembly_case_time(assembly_budget: list[float]) -> Iterator[None]: + """Charge only this harness; unrelated tests may follow it in the session.""" + started = time.perf_counter() + try: + yield + finally: + assembly_budget[0] += time.perf_counter() - started + + +@pytest.fixture(autouse=True) +def forbid_numerical_solves(monkeypatch: pytest.MonkeyPatch) -> None: + def forbidden(*args: object, **kwargs: object) -> NoReturn: + raise AssertionError("the live assembly parity harness must not run a solver") + + for name, module in tuple(sys.modules.items()): + if name.startswith(("solarlab.solvers", "examples.research_")): + for function in ("solve_newton", "solve_frequency_systems", "solve_steady_state", "solve_ionic_steady_state", + "solve_multiple_ionic_steady_state", "solve_steady_state_2d"): + if hasattr(module, function): + monkeypatch.setattr(module, function, forbidden) diff --git a/tests/unit/assembly_parity/test_comparator.py b/tests/unit/assembly_parity/test_comparator.py new file mode 100644 index 00000000..11432c7a --- /dev/null +++ b/tests/unit/assembly_parity/test_comparator.py @@ -0,0 +1,134 @@ +"""Independent adversarial checks of the M-class parity decision.""" + +from __future__ import annotations + +from dataclasses import replace + +import numpy as np +import pytest +from scipy.sparse import csc_matrix, csr_matrix + +from support.assembly_parity import Block, Extraction, Tolerance, compare + + +def reference() -> Extraction: + vector = np.array([1.0, 2.0, 4.0, 8.0]) + matrix = np.arange(1.0, 17.0).reshape(4, 4) + return Extraction(vector, csc_matrix(matrix), {"phi": (0, 2), "n": (2, 4)}, + S=vector / 2, dS_du=csc_matrix(matrix / 2), M=csc_matrix(-matrix / 2), + boundary_masks={"fixed": np.array([True, False, False, True])}) + + +@pytest.mark.parametrize("quantity", ("F", "J", "S", "dS_du", "M")) +def test_comparator_detects_one_ulp_in_each_canonical_quantity(quantity: str) -> None: + old = reference() + values = getattr(old, quantity) + changed = values.toarray() if hasattr(values, "toarray") else values.copy() + changed.flat[-1] = np.nextafter(changed.flat[-1], np.inf) + result = compare(old, replace(old, **{quantity: changed})) + assert not result.passed + failures = [item for item in result.differences if not item.passed] + assert len(failures) == 1 and failures[0].quantity == quantity + assert failures[0].row_block == "n" and failures[0].changed_entries == 1 + with pytest.raises(AssertionError, match="assembly parity failed"): + result.assert_equal() + + +def test_block_permutation_is_reported_by_semantic_block() -> None: + old = reference() + permutation = np.array([2, 3, 0, 1]) + candidate = replace(old, F=old.F[permutation], J=old.J.toarray()[np.ix_(permutation, permutation)]) + result = compare(old, candidate) + assert not result.passed + assert {item.row_block for item in result.differences if not item.passed} == {"phi", "n"} + assert {item.quantity for item in result.differences if not item.passed} == {"F", "J"} + + +def test_layout_permutation_fails_even_with_identical_values() -> None: + old = reference() + changed = replace(old, blocks=(Block("n", 0, 2), Block("phi", 2, 4))) + result = compare(old, changed) + assert not result.passed and result.issues == ("named block layout differs",) + assert all(item.bitwise_equal for item in result.differences) + + +def test_dense_sparse_and_column_vector_inputs_have_the_same_entries() -> None: + old = reference() + candidate = replace(old, F=csr_matrix(old.F[:, None]), J=old.J.toarray(), + M=csr_matrix(old.M), dS_du=old.dS_du.toarray()) + compare(old, candidate).assert_equal() + + +def test_tolerance_exception_must_be_explicit_and_quantity_specific() -> None: + with pytest.raises(ValueError, match="justification"): + Tolerance(rtol=1e-12) + old = reference() + changed = old.F.copy() + changed[-1] = np.nextafter(changed[-1], np.inf) + policy = Tolerance(rtol=float(2 * np.finfo(float).eps), + justification="Synthetic comparator test only; no migration tolerance is authorized") + result = compare(old, replace(old, F=changed), tolerances={"F": policy}) + assert result.passed + delta = next(item for item in result.differences if item.quantity == "F" and item.row_block == "n") + assert not delta.bitwise_equal and delta.tolerance == policy + with pytest.raises(ValueError, match="reference quantity"): + compare(old, old, tolerances={"unknown": policy}) + + +def test_relative_difference_has_no_hidden_epsilon() -> None: + old = reference() + changed = old.F.copy() + changed[1] = 3.0 + result = compare(old, replace(old, F=changed)) + delta = next(item for item in result.differences if item.quantity == "F" and item.row_block == "phi") + assert delta.max_absolute == 1.0 and delta.max_relative == 1 / 3 + + +def test_masks_missing_storage_and_dtype_changes_cannot_hide() -> None: + old = reference() + assert not compare(old, replace(old, S=None)).passed + assert not compare(old, replace(old, F=old.F.astype(np.float32))).passed + masks = {"fixed": ~old.boundary_masks["fixed"]} + result = compare(old, replace(old, boundary_masks=masks)) + assert not result.passed + assert {item.quantity for item in result.differences if not item.passed} == {"mask:fixed"} + + +def test_signed_zero_complex_values_and_input_ownership() -> None: + vector: np.ndarray = np.zeros(4, dtype=complex) + matrix = np.eye(4) + captured = Extraction(vector, matrix, {"all": (0, 4)}) + vector[0] = 1.0 + matrix[0, 0] = 9.0 + assert captured.F[0] == 0.0 and captured.J[0, 0] == 1.0 + negative_zero = captured.F.copy() + negative_zero.real[0] = -0.0 + assert not compare(captured, replace(captured, F=negative_zero)).passed + changed = captured.F.copy() + changed.imag[0] = np.nextafter(0.0, 1.0) + assert not compare(captured, replace(captured, F=changed)).passed + + +def test_sparse_stored_signed_zero_is_not_erased_by_dense_conversion() -> None: + matrix = csc_matrix((np.array([1.0, 0.0]), ([0, 1], [0, 1])), shape=(2, 2)) + old = Extraction(np.zeros(2), matrix, {"all": (0, 2)}) + changed = matrix.copy() + changed.data[1] = -0.0 + result = compare(old, replace(old, J=changed)) + assert not result.passed + delta = next(item for item in result.differences if item.quantity == "J") + assert delta.max_absolute == delta.max_relative == 0.0 and delta.changed_entries == 1 + + +@pytest.mark.parametrize("blocks", ({"phi": (0, 2), "n": (3, 4)}, {"phi": (0, 3), "n": (2, 4)})) +def test_missing_or_overlapping_block_ranges_are_rejected(blocks: dict[str, tuple[int, int]]) -> None: + with pytest.raises(ValueError, match="contiguous"): + replace(reference(), blocks=blocks) + + +def test_nonfinite_outputs_are_not_parity_evidence() -> None: + old = reference() + bad = old.F.copy() + bad[0] = np.nan + with pytest.raises(ValueError, match="finite"): + replace(old, F=bad) diff --git a/tests/unit/assembly_parity/test_frozen_baselines.py b/tests/unit/assembly_parity/test_frozen_baselines.py new file mode 100644 index 00000000..45d30a64 --- /dev/null +++ b/tests/unit/assembly_parity/test_frozen_baselines.py @@ -0,0 +1,348 @@ +"""Frozen M-class oracles, independent of the lifetime of the old classes. + +Normal tests only read assembly_baselines.json. Never re-freeze to make an +M-class failure pass: a new baseline requires a reviewed P-class change, +its review reference, and an explanation of every changed quantity. + +From the checkout root, with BLAS pinned to one thread and PYTHONPATH set to +"$PWD/src:$PWD/tests:$PWD", use the project Python to run this file with +--initial for the first authorized capture at 2ec8d1ba. Subsequent captures +require --refreeze --p-class-review ; that argument records +the operator's review attestation, not an automatic approval mechanism. + +Vectors hash raw little-endian float64 words (complex extras use interleaved +float64 real/imaginary words; masks use uint8). Matrices use sorted, duplicate- +coalesced CSR row blocks, with raw little-endian int64 indptr/indices and +float64 values. Explicit stored zeros are retained. Shapes and nnz are part +of the oracle. Identical SHA-256 strings are interned solely to keep the JSON +below 1 MB; comparison expands them and names the failing state/quantity/block. +Source hashes are historical provenance, not required to equal migrated code. +""" + +from __future__ import annotations + +import argparse +from collections.abc import Mapping +from copy import deepcopy +import hashlib +import json +from pathlib import Path +import platform +import subprocess +import time +from typing import Any + +import numpy as np +import pytest +import scipy +from scipy.sparse import csr_matrix +from threadpoolctl import threadpool_limits + +from support.assembly_parity import Block, Extraction +from support.assembly_references import REFERENCE_FACTORIES, STATE_NAMES + +ROOT = Path(__file__).resolve().parents[3] +BASELINE_PATH = ROOT / "tests/support/assembly_baselines.json" +REFERENCE_COMMIT = "2ec8d1ba017d98174287124790d58770299dbcb0" +SCHEMA = "solarlab.assembly_baselines.v1" +MAX_BYTES = 1_000_000 +CAPTURE_FIELDS = ("system", "machine", "python", "numpy", "scipy", + "numpy_blas", "numpy_lapack", "scipy_blas", "scipy_lapack") + + +def capture_environment() -> dict[str, str]: + """Observe the numerical stack; Accelerate is not listed by threadpoolctl.""" + result = {"system": platform.system(), "machine": platform.machine(), + "python": platform.python_version(), "numpy": np.__version__, "scipy": scipy.__version__} + for name, library in (("numpy", np), ("scipy", scipy)): + configuration = library.show_config(mode="dicts") + dependencies = configuration.get("Build Dependencies", {}) if isinstance(configuration, Mapping) else {} + for role in ("blas", "lapack"): + dependency = dependencies.get(role, {}) + vendor = dependency.get("name") if dependency.get("found") else None + result[f"{name}_{role}"] = vendor.casefold() if isinstance(vendor, str) and vendor else "unknown" + return result + + +def require_capture_environment(capture: Mapping[str, Any]) -> None: + missing = [field for field in CAPTURE_FIELDS if not capture.get(field) or capture[field] == "unknown"] + assert not missing, f"frozen capture environment is incomplete: {missing}" + current = capture_environment() + differences = [f"{field}: captured={capture[field]!r}, current={current[field]!r}" + for field in CAPTURE_FIELDS if current[field] == "unknown" or current[field] != capture[field]] + if differences: + pytest.skip("platform-bound frozen assembly baseline; " + "; ".join(differences) + + "; live old-vs-new assembly parity remains enabled") + + +def words_digest(value: Any, dtype: str) -> str: + """Hash a specified byte order, without changing the represented precision.""" + array = np.ascontiguousarray(value, dtype=np.dtype(dtype)) + return hashlib.sha256(array.tobytes()).hexdigest() + + +def quantity_digest(value: Any, blocks: tuple[Block, ...]) -> dict[str, Any]: + shape = tuple(value.shape) + dtype = np.dtype(value.dtype) + if dtype.kind == "b": + encoded_dtype = "|u1" + elif dtype.kind == "f" and dtype.itemsize == 8: + encoded_dtype = " dict[str, Any]: + assert isinstance(extraction.blocks, tuple) + return {name: quantity_digest(value, extraction.blocks) + for name, value in sorted(extraction.quantities().items())} + + +def factory_digest(name: str) -> tuple[dict[str, Any], dict[str, str]]: + case = REFERENCE_FACTORIES[name]() + states: dict[str, Any] = {} + sources = {} + for state in case.states: + extracted = case.extract(state) + states[state.name] = { + "state_sha256": words_digest(state.u, " Any: + if isinstance(value, dict): + result = {} + for key, item in value.items(): + if key.endswith("_sha256") and isinstance(item, str): + if item not in lookup: + lookup[item] = len(pool) + pool.append(item) + result[key] = lookup[item] + else: + result[key] = intern_digests(item, pool, lookup) + return result + if isinstance(value, list): + return [intern_digests(item, pool, lookup) for item in value] + return value + + +def expand_digests(value: Any, pool: list[str]) -> Any: + if isinstance(value, dict): + return {key: pool[item] if key.endswith("_sha256") and type(item) is int + else expand_digests(item, pool) for key, item in value.items()} + if isinstance(value, list): + return [expand_digests(item, pool) for item in value] + return value + + +def compare_factory(name: str, actual: Mapping[str, Any], expected: Mapping[str, Any]) -> None: + assert actual["blocks"] == expected["blocks"], f"{name}: named layout changed" + assert actual["states"].keys() == expected["states"].keys(), f"{name}: state inventory changed" + for state_name, state in actual["states"].items(): + old = expected["states"][state_name] + assert {key: value for key, value in state.items() if key != "quantities"} == { + key: value for key, value in old.items() if key != "quantities" + }, f"{name}/{state_name}: probe inputs changed" + assert state["quantities"].keys() == old["quantities"].keys(), f"{name}/{state_name}: quantities changed" + for quantity, current in state["quantities"].items(): + reference = old["quantities"][quantity] + label = f"{name}/{state_name}/{quantity}" + assert {key: value for key, value in current.items() if key != "blocks"} == { + key: value for key, value in reference.items() if key != "blocks" + }, label + ": shape/dtype/nnz changed" + assert len(current["blocks"]) == len(reference["blocks"]) == len(actual["blocks"]) + for block, now, before in zip(actual["blocks"], current["blocks"], reference["blocks"]): + assert now == before, label + "/" + block[0] + ": frozen words or pattern changed" + + +@pytest.fixture(scope="module") +def baselines() -> dict[str, Any]: + raw = BASELINE_PATH.read_bytes() + assert len(raw) <= MAX_BYTES + document = json.loads(raw) + assert document["schema"] == SCHEMA + assert len(document["sha256"]) == len(set(document["sha256"])) + assert all(len(digest) == 64 and set(digest) <= set("0123456789abcdef") for digest in document["sha256"]) + document["factories"] = expand_digests(document["factories"], document["sha256"]) + return document + + +@pytest.mark.platform_bound +def test_frozen_inventory(baselines: dict[str, Any]) -> None: + assert set(baselines["factories"]) == set(REFERENCE_FACTORIES) + assert len(baselines["factories"]) == 40 + assert sum(len(item["states"]) for item in baselines["factories"].values()) == 160 + for item in baselines["factories"].values(): + assert set(item["states"]) == set(STATE_NAMES) + if baselines["capture"]["kind"] == "initial": + assert baselines["capture"]["source_commit"] == REFERENCE_COMMIT + else: + assert baselines["capture"]["kind"] == "reviewed_p_class" + assert baselines["capture"]["review_reference"].strip() + + +@pytest.mark.platform_bound +@pytest.mark.parametrize("name", tuple(REFERENCE_FACTORIES)) +def test_frozen_factory(name: str, baselines: dict[str, Any]) -> None: + require_capture_environment(baselines["capture"]) + current, _ = factory_digest(name) + compare_factory(name, current, baselines["factories"][name]) + + +@pytest.mark.platform_bound +@pytest.mark.parametrize("field", CAPTURE_FIELDS) +def test_foreign_environment_skips_before_factory_evaluation(field, baselines, monkeypatch): + current = {key: baselines["capture"][key] for key in CAPTURE_FIELDS} + current[field] = "different-" + current[field] + monkeypatch.setitem(globals(), "capture_environment", lambda: current) + + def forbidden(name): + pytest.fail("a foreign frozen capture must skip before evaluating a factory") + + monkeypatch.setitem(globals(), "factory_digest", forbidden) + with pytest.raises(pytest.skip.Exception) as skipped: + test_frozen_factory("not-evaluated", baselines) + assert f"{field}: captured=" in str(skipped.value) + assert repr(current[field]) in str(skipped.value) + + +@pytest.mark.platform_bound +def test_matching_environment_keeps_a_frozen_word_failure_visible(baselines, monkeypatch): + current = {key: baselines["capture"][key] for key in CAPTURE_FIELDS} + monkeypatch.setitem(globals(), "capture_environment", lambda: current) + name = next(iter(baselines["factories"])) + changed = deepcopy(baselines["factories"][name]) + state = next(iter(changed["states"].values())) + quantity = next(iter(state["quantities"].values())) + quantity["blocks"][0]["values_sha256"] = "0" * 64 + monkeypatch.setitem(globals(), "factory_digest", lambda name: (changed, {})) + with pytest.raises(AssertionError, match="frozen words or pattern changed"): + test_frozen_factory(name, baselines) + + +def test_vendor_detection_distinguishes_numpy_scipy_and_unknown_configuration(monkeypatch): + monkeypatch.setattr(np, "show_config", lambda **kwargs: {"Build Dependencies": { + "blas": {"found": True, "name": "OpenBLAS"}, "lapack": {"found": True, "name": "OpenBLAS"}}}) + monkeypatch.setattr(scipy, "show_config", lambda **kwargs: {"Build Dependencies": { + "blas": {"found": True, "name": "Accelerate"}}}) + current = capture_environment() + assert current["numpy_blas"] == current["numpy_lapack"] == "openblas" + assert current["scipy_blas"] == "accelerate" and current["scipy_lapack"] == "unknown" + + +@pytest.mark.platform_bound +@pytest.mark.parametrize("field", CAPTURE_FIELDS[-4:]) +def test_unobserved_vendor_is_an_explicit_skip(field, baselines, monkeypatch): + current = {key: baselines["capture"][key] for key in CAPTURE_FIELDS} + current[field] = "unknown" + monkeypatch.setitem(globals(), "capture_environment", lambda: current) + with pytest.raises(pytest.skip.Exception, match=field + ": captured="): + require_capture_environment(baselines["capture"]) + + +def test_digest_detects_one_ulp_signed_zero_and_pattern() -> None: + blocks = (Block("a", 0, 2), Block("b", 2, 4)) + values = np.array([1.0, 0.0, 2.0, 0.0]) + before = quantity_digest(values, blocks) + changed = values.copy() + changed[0] = np.nextafter(changed[0], np.inf) + assert quantity_digest(changed, blocks)["blocks"][0] != before["blocks"][0] + changed = values.copy() + changed[3] = -0.0 + assert quantity_digest(changed, blocks)["blocks"][1] != before["blocks"][1] + diagonal = csr_matrix(np.eye(4)) + permuted = csr_matrix(np.eye(4)[:, [1, 0, 2, 3]]) + first, second = quantity_digest(diagonal, blocks), quantity_digest(permuted, blocks) + assert first["blocks"][0]["values_sha256"] == second["blocks"][0]["values_sha256"] + assert first["blocks"][0]["indices_sha256"] != second["blocks"][0]["indices_sha256"] + assert first == quantity_digest(diagonal.tocsc(), blocks) + assert words_digest(values, "f8"), " None: + digest = hashlib.sha256(b"fixture").hexdigest() + record = {"values_sha256": digest, "nested": [{"state_sha256": digest, "nnz": 2}]} + pool: list[str] = [] + packed = intern_digests(record, pool, {}) + assert pool == [digest] + assert expand_digests(packed, pool) == record + + +def freeze(*, initial: bool, review_reference: str = "") -> dict[str, Any]: + head = subprocess.check_output(["git", "rev-parse", "HEAD"], cwd=ROOT, text=True).strip() + if initial: + if BASELINE_PATH.exists() or head != REFERENCE_COMMIT: + raise ValueError("initial freeze requires the untouched 2ec8d1ba reference and no existing baseline") + subprocess.run(["git", "diff", "--quiet", "HEAD", "--", "src"], cwd=ROOT, check=True) + elif not BASELINE_PATH.exists() or not review_reference.strip(): + raise ValueError("re-freeze requires an existing baseline and a reviewed P-class reference") + started = time.perf_counter() + factories, sources = {}, {} + with threadpool_limits(limits=1): + for name in REFERENCE_FACTORIES: + factories[name], source = factory_digest(name) + sources.update(source) + pool: list[str] = [] + packed = intern_digests(factories, pool, {}) + document = { + "schema": SCHEMA, + "capture": {"kind": "initial" if initial else "reviewed_p_class", "source_commit": head, + "review_reference": review_reference, **capture_environment()}, + "encoding": "row-block sorted CSR; int64 indices, float64/complex128 words little-endian; bool uint8; stored zeros retained", + "source_files": dict(sorted(sources.items())), "sha256": pool, "factories": packed, + } + encoded = (json.dumps(document, sort_keys=True, separators=(",", ":"), allow_nan=False) + "\n").encode() + if len(encoded) > MAX_BYTES: + raise ValueError("frozen baseline exceeds the 1 MB limit") + BASELINE_PATH.write_bytes(encoded) + return {"path": str(BASELINE_PATH), "sha256": hashlib.sha256(encoded).hexdigest(), + "bytes": len(encoded), "factories": len(factories), "states": sum(len(item["states"]) for item in factories.values()), + "wall_s": time.perf_counter() - started} + + +if __name__ == "__main__": + parser = argparse.ArgumentParser(description=__doc__) + mode = parser.add_mutually_exclusive_group(required=True) + mode.add_argument("--initial", action="store_true") + mode.add_argument("--refreeze", action="store_true") + parser.add_argument("--p-class-review", default="") + arguments = parser.parse_args() + print(json.dumps(freeze(initial=arguments.initial, review_reference=arguments.p_class_review), indent=2)) diff --git a/tests/unit/assembly_parity/test_references.py b/tests/unit/assembly_parity/test_references.py new file mode 100644 index 00000000..7fb17379 --- /dev/null +++ b/tests/unit/assembly_parity/test_references.py @@ -0,0 +1,61 @@ +"""Every current factory is finite and deterministic under independent builds.""" + +from __future__ import annotations + +import hashlib +import json +import time + +import numpy as np +import pytest +from scipy.sparse import issparse + +from support.assembly_parity import compare +from support.assembly_references import REFERENCE_FACTORIES, STATE_NAMES + + +@pytest.mark.parametrize("name", tuple(REFERENCE_FACTORIES)) +def test_independent_reference_evaluations(name: str, request: pytest.FixtureRequest) -> None: + started = time.perf_counter() + first, second = REFERENCE_FACTORIES[name](), REFERENCE_FACTORIES[name]() + assert first.device is not second.device + assert tuple(state.name for state in first.states) == STATE_NAMES + assert first.blocks == second.blocks + assert first.device.node_count == (65 if first.family == "dc2d" else 13) + for state, other in zip(first.states, second.states): + assert state.u is not other.u and state.u.tobytes() == other.u.tobytes() + before = state.u.tobytes(), state.previous_u.tobytes(), state.udot.tobytes() + left, right = first.extract(state), second.extract(other) + assert left.provenance == right.provenance + assert left.provenance["target_class"].rsplit(".", 1)[-1] == first.target_class.split("[")[0] + assert left.provenance["state_sha256"] == hashlib.sha256(state.u.tobytes()).hexdigest() + for quantity in left.quantities().values(): + values = quantity.data if issparse(quantity) else quantity + assert np.all(np.isfinite(values)) + compare(left, right).assert_equal() + assert before == (state.u.tobytes(), state.previous_u.tobytes(), state.udot.tobytes()) + if left.M is not None: + np.testing.assert_array_equal(left.S_u.toarray(), -left.M.toarray()) + if first.family.endswith("constrained"): + assert left.S is left.M is left.dS_du is None + if first.family in {"be", "ionic_be", "multiple_be"}: + assert {"R_step", "J_step"} <= left.quantities().keys() + if first.family in {"ionic_ac", "multiple_ac"}: + assert {"A_ac", "R_ac", "J_ac", "M_ac", "rhs_ac", "rhs_rate_ac", "fixed_ac"} <= left.quantities().keys() + assert "ac_fixed" in left.boundary_masks + # Small JSON metadata only; no physical arrays are stored in the harness. + request.node.user_properties.append(("assembly_factory", json.dumps({ + "factory": name, "target": first.target_class, "states": len(first.states), + "layout": [[block.name, block.start, block.stop] for block in first.blocks], + "runtime_s": time.perf_counter() - started, "nonlinear_solves": 0, + }, sort_keys=True))) + + +def test_registry_covers_the_existing_model_families() -> None: + assert {factory.family for factory in REFERENCE_FACTORIES.values()} == { + "ionic", "ionic_constrained", "multiple", "multiple_constrained", "electronic", "dc2d", + "ionic_ac", "multiple_ac", "be", "ionic_be", "multiple_be", + } + assert REFERENCE_FACTORIES["electronic:ct"].target_class == "DC1DProblem[field_transport]" + assert not any(factory.family == "electronic" and factory.variant == "fixed" + for factory in REFERENCE_FACTORIES.values()) diff --git a/tests/unit/contracts/test_contract_subset.py b/tests/unit/contracts/test_contract_subset.py new file mode 100644 index 00000000..42031d20 --- /dev/null +++ b/tests/unit/contracts/test_contract_subset.py @@ -0,0 +1,286 @@ +"""Route-independent public contract subset (P02-02) in ``solarlab.contracts``. + +The prototype in ``scripts/benchmarks/contract_prototype.py`` remains the +qualified P02-02 reference; these checks bind the migrated subset to it +(bit-identical identities and assembly values: M class) and repeat the +negative contract checks that apply to the subset. +""" + +from __future__ import annotations + +import ast +from dataclasses import replace +from pathlib import Path + +import numpy as np +import pytest + +import scripts.benchmarks.contract_prototype as prototype +import solarlab.contracts as contracts +from solarlab.contracts import ( + AREA, COULOMB, ONE, PARTICLE, SECOND, VOLT, VOLUME, + AlgebraicTerm, CellSource, ContractError, EquationSpec, FaceFlux, FloatArray, Geometry, + Layout, LinearCoordinates, StateIncrement, StateView, Support, SurfaceCharge, + TerminalPort, TermSink, Unit, VariableSpec, +) +from solarlab.contracts import pending + +SRC = Path(contracts.__file__).parent + + +def cell_layout(module=contracts, count=2, face_count=1, *, reverse=False, dimensionless=True): + density_unit = module.ONE if dimensionless else module.PARTICLE / module.VOLUME + rate_unit = module.ONE / module.SECOND if dimensionless else module.PARTICLE / module.SECOND + supports = (module.Support("cells", "cell", (count,)), + module.Support("faces", "face", (face_count,))) + variables = (module.VariableSpec("ions.n", "ions", "cells", (count,), density_unit, lower=0),) + equations = (module.EquationSpec("ions.balance", "assembly", "cells", (count,), rate_unit, + derivative_support=("ions.n",)),) + return module.Layout(supports[::-1] if reverse else supports, + variables[::-1] if reverse else variables, + equations[::-1] if reverse else equations) + + +def test_layout_and_point_identities_match_the_p02_02_prototype_bitwise(): + for reverse in (False, True): + new, old = cell_layout(reverse=reverse), cell_layout(prototype, reverse=reverse) + assert new.identity == old.identity + assert dict(new.offsets) == dict(old.offsets) + new_point = LinearCoordinates(new).point([1.5, 2.25], 0.5, [3.0]) + old_point = prototype.LinearCoordinates(old).point([1.5, 2.25], 0.5, [3.0]) + assert new_point.identity == old_point.identity + new_right, new_inc = LinearCoordinates(new).advance(new_point, [0.25, -0.5], 1.0, [3.5]) + old_right, old_inc = prototype.LinearCoordinates(old).advance(old_point, [0.25, -0.5], + 1.0, [3.5]) + assert new_right.identity == old_right.identity + assert (new_inc.field("ions.n").identity_bytes() + == old_inc.field("ions.n").identity_bytes()) + + +def test_term_sink_values_match_the_prototype_bitwise(): + rng = np.random.default_rng(20261014) + volumes, measures = rng.uniform(0.1, 3.0, 5), rng.uniform(0.1, 3.0, 4) + pairs = np.column_stack((np.arange(4), np.arange(1, 5))) + flux, source = rng.normal(size=4), rng.normal(size=5) + values = [] + for module in (contracts, prototype): + layout = cell_layout(module, 5, 4, dimensionless=False) + sink = module.TermSink(layout, "ions.balance", module.Geometry(volumes, pairs, measures)) + sink.add(module.FaceFlux("t", "faces", flux, module.PARTICLE / module.AREA / module.SECOND)) + sink.add(module.CellSource("g", "cells", source, + module.PARTICLE / module.VOLUME / module.SECOND)) + values.append(np.asarray(sink.value())) + assert values[0].tobytes() == values[1].tobytes() + + +def test_registration_order_does_not_change_layout_or_offsets(): + supports = (Support("nodes", "cell", (2,)), Support("contact", "global", (1,))) + variables = (VariableSpec("p", "holes", "nodes", (2,), PARTICLE / VOLUME), + VariableSpec("n", "electrons", "nodes", (2,), PARTICLE / VOLUME), + VariableSpec("port", "contact", "contact", (1,), COULOMB, role="constraint")) + equations = (EquationSpec("poisson", "electrostatics", "nodes", (2,), COULOMB, + role="constraint", derivative_support=("n", "p", "port")),) + forward = Layout(supports, variables, equations) + reverse = Layout(supports[::-1], variables[::-1], equations[::-1]) + assert forward.identity == reverse.identity + assert tuple(forward.offsets) == ("n", "p", "port") + + +@pytest.mark.parametrize("change,reason", [ + (lambda x: replace(x, variables=x.variables + x.variables), "duplicate_owner"), + (lambda x: replace(x, supports=x.supports + x.supports), "duplicate_support"), + (lambda x: replace(x, variables=(replace(x.variables[0], support="missing"),)), + "unknown_support"), + (lambda x: replace(x, variables=(replace(x.variables[0], shape=(1,)),)), + "support_shape_mismatch"), + (lambda x: replace(x, equations=(replace(x.equations[0], derivative_support=("missing",)),)), + "unknown_derivative_support"), + (lambda x: replace(x, variables=(replace(x.variables[0], lower=2, upper=1),)), + "invalid_feasible_domain"), + (lambda x: replace(x, variables=(replace(x.variables[0], role="free"),)), "invalid_role"), +]) +def test_invalid_layout_rejected_before_assembly(change, reason): + with pytest.raises(ContractError, match=reason): + change(cell_layout()) + + +def test_state_ownership_shape_and_immutable_snapshots(): + layout = cell_layout() + values = np.array([1.0, 2.0]) + state = StateView(layout, [("ions.n", FloatArray(values))]) + values[:] = 99 + np.testing.assert_array_equal(state.field("ions.n").values, [1, 2]) + with pytest.raises(ValueError): + state.field("ions.n").values.setflags(write=True) + with pytest.raises(TypeError): + state.fields["ions.n"] = FloatArray([3, 4]) + for fields, reason in (([("ions.n", FloatArray([1, 2]))] * 2, "duplicate_state_write"), + ([("ions.n", FloatArray([1]))], "state_shape_mismatch"), + ([("other", FloatArray([1, 2]))], "unknown_variable"), + ([], "incomplete_state")): + with pytest.raises(ContractError, match=reason): + StateView(layout, fields) + with pytest.raises(ContractError, match="nonfinite_array"): + FloatArray([np.nan, 1.0]) + + +def test_state_view_differences_and_electrochemical_difference(): + layout = Layout((Support("cells", "cell", (3,)),), + (VariableSpec("n", "carrier", "cells", (3,), PARTICLE / VOLUME, lower=0), + VariableSpec("phi", "electrostatics", "cells", (3,), VOLT)), ()) + state = StateView(layout, [("n", FloatArray([1e22, 2e22, 4e22])), + ("phi", FloatArray([0.0, 0.1, 0.3]))]) + pairs = [[0, 1], [1, 2]] + np.testing.assert_array_equal(state.face_difference("phi", pairs).values, + [0.1 - 0.0, 0.3 - 0.1]) + # Ratio 2 takes the log(a)-log(b) branch: error ~ eps*log(1e22)/log(2). + np.testing.assert_allclose(state.log_ratio("n", pairs).values, np.log([2.0, 2.0]), + rtol=4e-14) + vt = 0.025 + value = state.electrochemical_difference("n", "phi", pairs, vt, potential_sign=-1) + np.testing.assert_allclose(value, np.log(2.0) - np.array([0.1, 0.2]) / vt, rtol=4e-14) + with pytest.raises(ContractError, match="activity_potential_unit_mismatch"): + state.electrochemical_difference("n", "n", pairs, vt, potential_sign=1) + with pytest.raises(ContractError, match="invalid_activity_parameters"): + state.electrochemical_difference("n", "phi", pairs, -1.0, potential_sign=1) + with pytest.raises(ContractError, match="face_outside_support"): + state.face_difference("phi", [[0, 3]]) + + +@pytest.mark.parametrize("indices", [[[0.9, 1.9]], [[0, np.nan]], [[0, np.inf]], [[0, 2**64]]]) +def test_topology_cannot_silently_truncate_indices(indices): + with pytest.raises(ContractError, match="invalid_index"): + Geometry([1, 1], indices, [1], ONE, ONE) + point = LinearCoordinates(cell_layout()).point([1, 2]) + with pytest.raises(ContractError, match="invalid_index"): + point.state.face_difference("ions.n", indices) + + +def test_increment_cannot_be_reused_or_forged(): + coordinates = LinearCoordinates(cell_layout()) + left = coordinates.point([1, 2]) + right, increment = coordinates.advance(left, [0.1, -0.1], 0.5) + increment.validate(left, right) + assert StateIncrement.from_points(left, right).field("ions.n").identity_bytes() == \ + increment.field("ions.n").identity_bytes() + with pytest.raises(ContractError, match="increment_endpoint_mismatch"): + increment.validate(left, coordinates.point([1.2, 1.8], 0.5)) + with pytest.raises(ContractError, match="incomplete_increment"): + StateIncrement(left.identity, right.identity, {}).validate(left, right) + forged = StateIncrement(left.identity, right.identity, {"ions.n": FloatArray([0.2, -0.1])}) + with pytest.raises(ContractError, match="increment_authority_mismatch"): + forged.validate(left, right) + with pytest.raises(ContractError, match="coordinate_reference_mismatch"): + replace(coordinates, reference="different").advance(left, [0, 0], 0.1) + + +def test_temporal_log_ratio_and_face_delta(): + layout = Layout((Support("cells", "cell", (2,)),), + (VariableSpec("n", "carrier", "cells", (2,), PARTICLE / VOLUME, lower=0), + VariableSpec("phi", "electrostatics", "cells", (2,), VOLT)), ()) + coordinates = LinearCoordinates(layout) + left = coordinates.point([1e22, 2e22, 0.0, 0.1]) + right, increment = coordinates.advance(left, [1e21, 0.0, 0.0, 0.05], 1.0) + np.testing.assert_allclose(increment.log_ratio(left, right, "n").values, + [np.log1p(0.1), 0.0], rtol=1e-15) + np.testing.assert_allclose(increment.face_delta(left, right, "phi", [[0, 1]]), [0.05], + rtol=1e-12) + delta = increment.electrochemical_delta(left, right, "n", "phi", [[0, 1]], 0.025, + potential_sign=1) + np.testing.assert_allclose(delta, [-np.log1p(0.1) + 0.05 / 0.025], rtol=1e-12) + + +def test_typed_flux_and_source_apply_geometry_once(): + layout = cell_layout(dimensionless=False) + sink = TermSink(layout, "ions.balance", Geometry([2, 5], [[0, 1]], [3])) + sink.add(FaceFlux("transport", "faces", [7], PARTICLE / AREA / SECOND)) + sink.add(CellSource("generation", "cells", [11, 13], PARTICLE / VOLUME / SECOND)) + np.testing.assert_array_equal(sink.value(), [-21 + 22, 21 + 65]) + with pytest.raises(ContractError, match="duplicate_contribution"): + sink.add(CellSource("generation", "cells", [11, 13], PARTICLE / VOLUME / SECOND)) + + +@pytest.mark.parametrize("term,reason", [ + (CellSource("bad", "cells", [1, 2], COULOMB), "unit_mismatch"), + (CellSource("bad", "missing", [1, 2], ONE), "unknown_support"), + (CellSource("bad", "cells", [1], ONE), "term_shape_mismatch"), + (CellSource("bad", "faces", [1], ONE), "wrong_source_support"), + (FaceFlux("bad", "cells", [1, 2], ONE), "wrong_flux_support"), + (AlgebraicTerm("bad", "cells", [1, 2], ONE), "wrong_algebraic_support"), +]) +def test_wrong_term_units_locations_and_broadcasts_rejected(term, reason): + sink = TermSink(cell_layout(), "ions.balance", Geometry([1, 2], [[0, 1]], [1], ONE, ONE)) + with pytest.raises(ContractError, match=reason): + sink.add(term) + np.testing.assert_array_equal(sink.value(), [0, 0]) + + +def test_surface_charge_and_algebraic_terms_have_distinct_geometry_rules(): + layout = Layout((Support("cells", "cell", (2,)), Support("surface", "face", (1,))), (), + (EquationSpec("gauss", "electrostatics", "surface", (1,), COULOMB, + role="constraint"),)) + sink = TermSink(layout, "gauss", Geometry([1, 1], [[0, 1]], [3], face_support="surface")) + sink.add(SurfaceCharge("sheet", "surface", [2], COULOMB / AREA)) + sink.add(AlgebraicTerm("electrode", "surface", [-1], COULOMB)) + np.testing.assert_array_equal(sink.value(), [5]) + + +def test_equal_shape_does_not_authorize_a_different_face_support(): + layout = cell_layout() + layout = replace(layout, supports=layout.supports + (Support("other_faces", "face", (1,)),)) + sink = TermSink(layout, "ions.balance", Geometry([1, 1], [[0, 1]], [1], ONE, ONE)) + with pytest.raises(ContractError, match="geometry_support_mismatch"): + sink.add(FaceFlux("other-domain-flux", "other_faces", [9], ONE / SECOND)) + + +@pytest.mark.parametrize("normal", [-1, 1]) +def test_port_capacitor_feedthrough_signs(normal): + area, epsilon, length, voltage, slope = 2.0, 3.0, 0.5, 0.7, 4.0 + port = TerminalPort("left" if normal == -1 else "right", normal, area) + capacitance = epsilon * area / length + np.testing.assert_allclose(port.charge([epsilon * voltage / length]), + [-normal * capacitance * voltage], rtol=1e-15) + np.testing.assert_allclose(port.current([0.0], [epsilon * slope / length]), + [-normal * capacitance * slope], rtol=1e-15) + with pytest.raises(ContractError, match="port_unit_mismatch"): + port.charge([1.0], unit=COULOMB) + with pytest.raises(ContractError, match="port_shape_mismatch"): + port.current([1.0], [1.0, 2.0]) + with pytest.raises(ContractError, match="invalid_port"): + TerminalPort("bad", 0, 1.0) + + +def test_units_are_exact_dimensions(): + assert (PARTICLE / VOLUME / SECOND) * VOLUME == PARTICLE / SECOND + assert (COULOMB / AREA) * AREA == COULOMB + with pytest.raises(ContractError, match="invalid_unit"): + Unit((1, 2)) + + +@pytest.mark.parametrize("name", sorted(pending.PENDING_G2R)) +def test_g2r_dependent_interfaces_are_named_placeholders_that_fail_closed(name): + placeholder = getattr(pending, name) + assert placeholder.reason == pending.PENDING_G2R[name] + with pytest.raises(ContractError, match=f"pending_g2r:{name}"): + placeholder() + with pytest.raises(ContractError, match=f"pending_g2r:{name}"): + placeholder.residual # noqa: B018 - attribute access must fail closed + assert getattr(placeholder, "__deepcopy__", None) is None # protocol lookups stay normal + assert name not in contracts.__all__ + + +def test_contract_modules_import_no_product_legacy_or_server_layer(): + forbidden = {"perovskite_sim", "backend", "solarlab_server", "solarlab_research", "scripts"} + forbidden_solarlab = {"config", "device", "materials", "experiments", "physics", "mesh", + "discretization", "equations", "solvers", "io", "sweeps"} + for path in SRC.glob("*.py"): + tree = ast.parse(path.read_text()) + modules = [node.module for node in ast.walk(tree) if isinstance(node, ast.ImportFrom)] + modules += [alias.name for node in ast.walk(tree) if isinstance(node, ast.Import) + for alias in node.names] + for module in filter(None, modules): + parts = module.split(".") + assert parts[0] not in forbidden, (path.name, module) + if parts[0] == "solarlab": + assert parts[1] == "contracts", (path.name, module) + assert parts[1] not in forbidden_solarlab diff --git a/tests/unit/contracts/test_persistence_port.py b/tests/unit/contracts/test_persistence_port.py new file mode 100644 index 00000000..6a7548c2 --- /dev/null +++ b/tests/unit/contracts/test_persistence_port.py @@ -0,0 +1,59 @@ +"""The low-level port uses RunStore's existing fenced, byte-preserving API.""" + +import hashlib +import json +from typing import Any + +import pytest + +from solarlab.contracts.persistence import PersistencePort, PersistenceReader +from solarlab.io.artifacts import ArtifactPayload, bytes_artifact +from solarlab.io.run_store import AttemptToken, RunStore, StateConflict + + +IDENTITY = {"H_input": "port:input", "H_physics": "port:physics", "H_execution": "port:execution"} + + +def publish_result(port: PersistencePort[AttemptToken, ArtifactPayload]) -> dict[str, Any]: + run = port.enqueue("run", opaque_identity=IDENTITY, input_metadata={"original": None}) + token = port.claim("run", expected_attempt_id=run["current_attempt_id"], + expected_generation=run["generation"], owner_id="owner") + port.append_event(token, event_id="progress", payload={"completed": 1}) + artifact = port.publish(token, "result", bytes_artifact(b"\x00\xffunchanged\n", metadata={"unit": "1"})) + terminal = port.complete(token, state="succeeded", result={"original_failure": None}, + artifacts=(artifact["artifact_id"],)) + assert port.complete(token, state="succeeded", result={"original_failure": None}, + artifacts=(artifact["artifact_id"],)) == terminal + return port.artifact(artifact["artifact_id"]) + + +def test_run_store_conforms_and_publishes_exact_bytes_through_port(tmp_path): + with RunStore(tmp_path / "store") as store: + port: PersistencePort[AttemptToken, ArtifactPayload] = store + assert isinstance(store, PersistencePort) + assert isinstance(store, PersistenceReader) + artifact = publish_result(port) + assert port.read_artifact(artifact["artifact_id"]) == b"\x00\xffunchanged\n" + assert artifact["sha256"] == hashlib.sha256(b"\x00\xffunchanged\n").hexdigest() + assert port.get_run("run")["request"]["identity"] == IDENTITY + attempt, = port.attempts("run") + assert attempt["state"] == "succeeded" + assert attempt["terminal"]["artifacts"] == [{ + "artifact_id": artifact["artifact_id"], "manifest_sha256": artifact["manifest_sha256"], + }] + assert [row["kind"] for row in port.events(run_id="run")] == ["queued", "running", "progress", "terminal"] + + +def test_read_only_port_preserves_stored_records_and_refuses_writes(tmp_path): + root = tmp_path / "store" + with RunStore(root) as store: + artifact = publish_result(store) + recorded = json.dumps(store.attempts("run"), sort_keys=True) + before = hashlib.sha256((root / "store.sqlite3").read_bytes()).hexdigest() + with RunStore(root, read_only=True, immutable=True) as reader: + port: PersistencePort[AttemptToken, ArtifactPayload] = reader + assert json.dumps(port.attempts("run"), sort_keys=True) == recorded + assert port.read_artifact(artifact["artifact_id"]) == b"\x00\xffunchanged\n" + with pytest.raises(StateConflict, match="read-only RunStore"): + port.enqueue("other", opaque_identity=IDENTITY, input_metadata={}) + assert hashlib.sha256((root / "store.sqlite3").read_bytes()).hexdigest() == before diff --git a/tests/unit/discretization/test_discretization_legacy_kernels.py b/tests/unit/discretization/test_discretization_legacy_kernels.py new file mode 100644 index 00000000..8dd92c0c --- /dev/null +++ b/tests/unit/discretization/test_discretization_legacy_kernels.py @@ -0,0 +1,89 @@ +"""Historical Bernoulli, Scharfetter-Gummel, face-mean and divergence kernels. + +M class: every kernel here is compared bit-for-bit with the legacy engine +(read-only import). The N-class stable evaluations have their own test file. +""" + +from __future__ import annotations + +import numpy as np +import pytest + +from perovskite_sim.discretization import fe_operators as legacy +from perovskite_sim.physics import physical_control_volume as legacy_physical +from perovskite_sim.solver import mol as legacy_mol +from perovskite_sim.twod import poisson_2d as legacy_poisson_2d + +from solarlab.discretization import ( + arithmetic_face_mean, bernoulli, bernoulli_derivative, flux_divergence, + guarded_harmonic_face_mean, harmonic_face_mean, harmonic_mean, legacy_sg_current_n, + legacy_sg_current_n_jacobian, legacy_sg_current_p, legacy_sg_current_p_jacobian, + series_face_capacitance, +) +from solarlab.discretization.face_average import VACUUM_PERMITTIVITY_F_M + +SPECIAL = np.array([0.0, 5e-9, 1e-8, 2e-8, 9.99e-5, 1e-4, 1.01e-4, 1e-3, 0.1, 0.5, 1.0, 2.0, + 10.0, 36.0, 49.9, 50.0, 50.1, 100.0, 300.0, 699.0, 700.0, 701.0, 745.0]) +ARGUMENTS = np.concatenate([SPECIAL, -SPECIAL, np.geomspace(1e-10, 740.0, 300), + -np.geomspace(1e-10, 740.0, 300)]) + + +def same_bits(a, b): + a, b = np.asarray(a, dtype=float), np.asarray(b, dtype=float) + return a.shape == b.shape and a.tobytes() == b.tobytes() + + +def test_historical_bernoulli_value_and_derivative_are_bit_identical(): + assert same_bits(bernoulli(ARGUMENTS), legacy.bernoulli(ARGUMENTS)) + assert same_bits(bernoulli_derivative(ARGUMENTS), legacy.bernoulli_derivative(ARGUMENTS)) + + +def test_historical_sg_currents_and_jacobians_are_bit_identical(): + rng = np.random.default_rng(7) + phi = np.cumsum(rng.normal(scale=0.08, size=12)) + n = 10.0 ** rng.uniform(14, 24, size=12) + dx = rng.uniform(1e-9, 5e-8, size=11) + D = rng.uniform(1e-6, 1e-3, size=11) + vt = 0.025851999786435535 + assert same_bits(legacy_sg_current_n(phi, n, dx, D, vt), legacy.sg_fluxes_n(phi, n, dx, D, vt)) + assert same_bits(legacy_sg_current_p(phi, n, dx, D, vt), legacy.sg_fluxes_p(phi, n, dx, D, vt)) + for new, old in ((legacy_sg_current_n_jacobian(phi, n, dx, D, vt), + legacy.sg_fluxes_n_jacobian(phi, n, dx, D, vt)), + (legacy_sg_current_p_jacobian(phi, n, dx, 2e-4, vt), + legacy.sg_fluxes_p_jacobian(phi, n, dx, 2e-4, vt))): + for name in ("flux", "density_left_derivative", "density_right_derivative", + "potential_left_derivative", "potential_right_derivative"): + assert same_bits(getattr(new, name), getattr(old, name)), name + with pytest.raises(ValueError, match="positive spacing"): + legacy_sg_current_n_jacobian(phi, n, -dx, D, vt) + + +def test_face_means_and_divergence_match_their_historical_expressions(): + rng = np.random.default_rng(3) + values = rng.uniform(1.0, 30.0, 9) + assert same_bits(harmonic_face_mean(values), + 2.0 * values[:-1] * values[1:] / (values[:-1] + values[1:])) + assert same_bits(harmonic_mean(values[:-1], values[1:]), + legacy_poisson_2d._harmonic_mean(values[:-1], values[1:])) + with_zero = np.array([0.0, 0.0, 2.0, 0.0, 3.0]) + assert same_bits(guarded_harmonic_face_mean(with_zero), + legacy_mol._harmonic_face_average(with_zero)) + assert np.array_equal(guarded_harmonic_face_mean(with_zero)[:2], [0.0, 0.0]) + assert same_bits(arithmetic_face_mean(values), 0.5 * (values[:-1] + values[1:])) + flux, widths = rng.normal(size=8), rng.uniform(0.1, 1.0, 9) + assert same_bits(flux_divergence(flux, widths, left_flux=0.3, right_flux=-0.2), + legacy_physical.flux_divergence(flux, widths, left_flux=0.3, right_flux=-0.2)) + with pytest.raises(ValueError, match="must align"): + flux_divergence(flux, widths[:-1]) + + +def test_series_capacitance_reduces_to_the_harmonic_mean_at_the_face_midpoint(): + h, eps_l, eps_r = 4.0e-9, 3.0, 24.0 + series = series_face_capacitance(h / 2, eps_l, h / 2, eps_r) + harmonic = VACUUM_PERMITTIVITY_F_M * harmonic_mean(eps_l, eps_r) / h + assert series == pytest.approx(float(harmonic), rel=4e-16) + off_midpoint = series_face_capacitance(h / 4, eps_l, 3 * h / 4, eps_r) + assert off_midpoint == pytest.approx( + VACUUM_PERMITTIVITY_F_M / (h / 4 / eps_l + 3 * h / 4 / eps_r), rel=4e-16) + with pytest.raises(ValueError, match="positive"): + series_face_capacitance(0.0, eps_l, h, eps_r) diff --git a/tests/unit/discretization/test_stable_bernoulli_flux.py b/tests/unit/discretization/test_stable_bernoulli_flux.py new file mode 100644 index 00000000..2a9963c9 --- /dev/null +++ b/tests/unit/discretization/test_stable_bernoulli_flux.py @@ -0,0 +1,173 @@ +"""Stable paired Bernoulli evaluation and unified SG particle flux (N class). + +Checked against an independent 80-digit Decimal oracle; the difference from the +historical element-wise values and electrical currents is bounded explicitly. +""" + +from __future__ import annotations + +from decimal import Decimal, localcontext + +import numpy as np +import pytest + +from perovskite_sim.discretization import fe_operators as legacy + +from solarlab.discretization.particle_flux import sg_particle_flux +from solarlab.discretization.stable_bernoulli import bernoulli_pair + +Q = 1.602176634e-19 +TINY = np.finfo(float).tiny +SPECIAL = np.array([0.0, 5e-9, 1e-8, 2e-8, 9.99e-5, 1e-4, 1.01e-4, 1e-3, 0.1, 0.5, 1.0, 2.0, + 10.0, 36.0, 49.9, 50.0, 50.1, 100.0, 300.0, 699.0, 700.0, 701.0, 745.0]) +ARGUMENTS = np.concatenate([SPECIAL, -SPECIAL, np.geomspace(1e-10, 740.0, 300), + -np.geomspace(1e-10, 740.0, 300)]) + + +def same_bits(a, b): + a, b = np.asarray(a, dtype=float), np.asarray(b, dtype=float) + return a.shape == b.shape and a.tobytes() == b.tobytes() + + +def decimal_bernoulli(x): + """Independent oracle: B(x) and B'(x) at the exact binary64 argument.""" + with localcontext() as context: + context.prec = 80 + value = Decimal(float(x)) + if value == 0: + return Decimal(1), Decimal(-1) / 2 + e = value.exp() + t = e - 1 + return value / t, (t - value * e) / (t * t) + + +def relative_error(computed, reference): + with localcontext() as context: + context.prec = 80 + return float(abs((Decimal(float(computed)) - reference) / reference)) + + +@pytest.mark.parametrize("x", ARGUMENTS[::7]) +def test_bernoulli_pair_matches_the_decimal_oracle_in_both_directions(x): + pair = bernoulli_pair(np.array([x])) + for computed, argument, index in ((pair.forward[0], x, 0), (pair.backward[0], -x, 0), + (pair.forward_derivative[0], x, 1), + (pair.backward_derivative[0], -x, 1)): + reference = decimal_bernoulli(argument)[index] + if abs(reference) >= Decimal(TINY): + assert relative_error(computed, reference) <= 8e-16, (x, index) + else: # subnormal small branch: absolute accuracy at the subnormal spacing + assert abs(Decimal(float(computed)) - reference) <= Decimal(4 * 5e-324) + + +def test_small_branch_first_keeps_b_of_50_where_large_branch_subtraction_loses_it(): + x = np.array([50.0, 100.0, 300.0, 700.0]) + pair = bernoulli_pair(x) + # Differencing the large branch cannot recover the small one in binary64... + assert np.all(legacy.bernoulli(-x) - x == 0.0) + # ...while the pair evaluates it first and keeps its normal-range value. + for value, argument in zip(pair.forward, x): + assert value > 0.0 + assert relative_error(value, decimal_bernoulli(argument)[0]) <= 6e-16 + # The large branch is recovered by one stable addition of positives. + assert np.array_equal(pair.backward, x + pair.forward) + + +def test_bernoulli_pair_parity_identities_and_direction_swap(): + pair = bernoulli_pair(ARGUMENTS) + swapped = bernoulli_pair(-ARGUMENTS) + assert same_bits(swapped.forward, pair.backward) + assert same_bits(swapped.backward, pair.forward) + assert same_bits(swapped.forward_derivative, pair.backward_derivative) + # B(-x) - B(x) = x up to the rounding of the large branch. + gap = np.abs((pair.backward - pair.forward) - ARGUMENTS) + assert np.all(gap <= np.spacing(np.maximum(pair.backward, pair.forward))) + # B'(-x) = -1 - B'(x), exactly as constructed on the large branch. + large = ARGUMENTS < 0 + assert np.array_equal(pair.forward_derivative[large], -(1.0 + pair.backward_derivative[large])) + assert pair.forward[ARGUMENTS == 0][0] == 1.0 + assert pair.forward_derivative[ARGUMENTS == 0][0] == -0.5 + with pytest.raises(ValueError, match="finite"): + bernoulli_pair(np.array([np.inf])) + + +def test_bernoulli_pair_differs_from_the_historical_values_only_within_n_class_bounds(): + """N-class comparison: record the actual deviation from the legacy evaluation.""" + pair = bernoulli_pair(ARGUMENTS) + old_forward, old_backward = legacy.bernoulli(ARGUMENTS), legacy.bernoulli(-ARGUMENTS) + cut = ARGUMENTS > 700.0 # historical value is exactly 0 there + assert np.all(old_forward[cut] == 0.0) and np.all(pair.forward[cut] > 0.0) + keep = ~cut & (np.abs(old_forward) >= TINY) + ulps = np.abs(pair.forward[keep] - old_forward[keep]) / np.spacing(np.abs(old_forward[keep])) + assert ulps.max() <= 4.0 + keep_b = ~(-ARGUMENTS > 700.0) & (np.abs(old_backward) >= TINY) + ulps_b = (np.abs(pair.backward[keep_b] - old_backward[keep_b]) + / np.spacing(np.abs(old_backward[keep_b]))) + assert ulps_b.max() <= 4.0 + old_derivative = legacy.bernoulli_derivative(ARGUMENTS) + relative = (np.abs(pair.forward_derivative - old_derivative) + / np.maximum(np.abs(old_derivative), TINY)) + normal = np.abs(old_derivative) >= TINY + # The historical quotient loses ~1e-12 near |x| = 1e-4; the pair does not. + assert relative[normal].max() <= 4e-12 + + +def test_bernoulli_derivative_matches_a_centered_difference_of_the_pair(): + for x in (-30.0, -3.0, -0.2, -1e-3, 1e-3, 0.2, 3.0, 30.0): + h = 1e-6 * max(1.0, abs(x)) + pair = bernoulli_pair(np.array([x - h, x, x + h])) + central = (pair.forward[2] - pair.forward[0]) / (2 * h) + assert central == pytest.approx(pair.forward_derivative[1], rel=1e-7, abs=1e-12) + + +def test_unified_particle_flux_limits_signs_and_legacy_currents(): + vt = 0.025851999786435535 + rng = np.random.default_rng(11) + left, right = 10.0 ** rng.uniform(15, 23, 40), 10.0 ** rng.uniform(15, 23, 40) + step = rng.uniform(-60, 60, 40) + k = rng.uniform(1e-2, 1e3, 40) + flux = sg_particle_flux(left, right, step, k) + # Zero field: pure diffusion, exactly k*(c_L - c_R). + zero = sg_particle_flux(left, right, np.zeros(40), k) + assert np.array_equal(zero.flux, k * (left - right)) + # Reversing the face orientation reverses the flux exactly. + reverse = sg_particle_flux(right, left, -step, k) + assert np.array_equal(reverse.flux, -flux.flux) + # Thermal equilibrium c_R = c_L*exp(-D) carries no net flux. + equilibrium = sg_particle_flux(left, left * np.exp(-step / 4), step / 4, k) + scale = k * (bernoulli_pair(step / 4).forward * left) + assert np.all(np.abs(equilibrium.flux) <= 1e-13 * scale) + # Unified fluxes against the historical electrical currents (N class). + phi = np.cumsum(rng.normal(scale=0.1, size=41)) + n, dx, D = 10.0 ** rng.uniform(15, 23, 41), rng.uniform(1e-9, 1e-8, 40), 1e-4 + xi = (phi[1:] - phi[:-1]) / vt + electrons = sg_particle_flux(n[:-1], n[1:], -xi, D / dx).flux + holes = sg_particle_flux(n[:-1], n[1:], xi, D / dx).flux + j_n, j_p = legacy.sg_fluxes_n(phi, n, dx, D, vt), legacy.sg_fluxes_p(phi, n, dx, D, vt) + magnitude_n = Q * D / dx * (legacy.bernoulli(xi) * n[1:] + legacy.bernoulli(-xi) * n[:-1]) + magnitude_p = Q * D / dx * (legacy.bernoulli(xi) * n[:-1] + legacy.bernoulli(-xi) * n[1:]) + assert np.all(np.abs(-Q * electrons - j_n) <= 1e-14 * magnitude_n) + assert np.all(np.abs(Q * holes - j_p) <= 1e-14 * magnitude_p) + + +def test_unified_particle_flux_derivatives_against_a_decimal_oracle(): + left, right, step, k = 3.0e20, 7.0e21, 2.5, 40.0 + flux = sg_particle_flux(np.array([left]), np.array([right]), np.array([step]), k) + b_plus, d_plus = decimal_bernoulli(step) + b_minus, d_minus = decimal_bernoulli(-step) + with localcontext() as context: + context.prec = 80 + L, R, K = Decimal(left), Decimal(right), Decimal(k) + expected = { + "flux": K * (b_plus * L - b_minus * R), + "left_density_derivative": K * b_plus, + "right_density_derivative": -K * b_minus, + "energy_step_derivative": K * (d_plus * L + d_minus * R), + "coefficient_derivative": b_plus * L - b_minus * R, + } + for name, reference in expected.items(): + assert relative_error(getattr(flux, name)[0], reference) <= 1e-14, name + with pytest.raises(ValueError, match="non-negative"): + sg_particle_flux(np.ones(1), np.ones(1), np.zeros(1), -1.0) + with pytest.raises(ValueError, match="one face shape"): + sg_particle_flux(np.ones(2), np.ones(1), np.zeros(2), 1.0) diff --git a/tests/unit/experiments/test_operating_points.py b/tests/unit/experiments/test_operating_points.py new file mode 100644 index 00000000..b1768a44 --- /dev/null +++ b/tests/unit/experiments/test_operating_points.py @@ -0,0 +1,310 @@ +"""Actual DC brackets, direct V_oc states, and bounded recovery evidence.""" + +from __future__ import annotations + +from copy import copy +from dataclasses import asdict, replace +import math + +import numpy as np +import pytest +from threadpoolctl import threadpool_limits + +from examples.research_1d.steady import load_device +from solarlab.config.resolve_device import resolve_device +from solarlab.device.compile_1d import compile_device_1d +from solarlab.device.inputs import DeviceInput +from solarlab.equations.dc_1d import DC1DProblem +from solarlab.experiments.jv import operating_points as points +from solarlab.experiments.jv.steady import run_steady_jv +from solarlab.solvers.nonlinear.newton import NewtonResult, Termination +from solarlab.solvers.nonlinear.problem import state_digest +from solarlab.solvers.nonlinear.production import HISTORICAL_MAX_ROW_V1, POISSON_CONTACT_BALANCE_V1 +from solarlab.solvers.nonlinear.steady_1d import ( + SteadyOptions, + SteadyStateError, + solve_steady_state, +) + + +@pytest.fixture(scope="module", autouse=True) +def blas1(): + with threadpool_limits(limits=1): + yield + + +@pytest.fixture(scope="module", params=[12, 24], ids=["37_nodes", "73_nodes"]) +def actual_bracket(request): + compiled = compile_device_1d(load_device(), intervals_per_layer=request.param) + # The actual known sign interval; only two operating points are requested. + # Smaller preparation steps change no final residual/current acceptance gate. + controls = SteadyOptions(max_bias_step_V=0.05) + bracket = run_steady_jv(compiled, [1.2, 1.225], options=controls) + assert bracket.output_current_A_m2[0] > 0.0 + assert bracket.output_current_A_m2[1] < 0.0 + return compiled, bracket, controls + + +@pytest.fixture(scope="module") +def direct_result(actual_bracket): + compiled, bracket, _ = actual_bracket + return points.solve_direct_voc(compiled, bracket) + + +def test_real_direct_voc_is_a_solved_point_in_an_actual_bracket(actual_bracket, direct_result): + compiled, bracket, controls = actual_bracket + result = direct_result + assert result.compiled_identity == compiled.identity + assert result.voltage_polarity == compiled.voltage_polarity + assert result.solver_controls == asdict(controls) + assert result.interval_width_V <= 1e-6 + assert result.lower.voltage_V <= result.voltage_V <= result.upper.voltage_V + assert result.initial_endpoints[0] is bracket.solutions[0] + assert result.initial_endpoints[1] is bracket.solutions[1] + assert any(result.solution is point for point in result.solutions) + assert 0 < result.solve_calls <= 64 + for point in result.solutions: + assert point.converged and point.state.device_sha256 == compiled.identity + assert all(gate.passed for gate in point.physical_gates) + for endpoint in (result.lower, result.upper): + measured = DC1DProblem(compiled, endpoint.voltage_V, bracket.generation_scale).current_density(endpoint.state.u) + np.testing.assert_array_equal(measured, endpoint.current_density_A_m2) + left = -compiled.voltage_polarity * result.lower.current_density_A_m2[0] + right = -compiled.voltage_polarity * result.upper.current_density_A_m2[0] + assert left == 0.0 or right == 0.0 or np.sign(left) != np.sign(right) + assert result.output_current_A_m2 == -compiled.voltage_polarity * result.solution.current_density_A_m2[0] + + +def test_independent_finer_solved_endpoints_enclose_the_same_root(actual_bracket, direct_result): + compiled, bracket, controls = actual_bracket + lower, upper = direct_result.lower, direct_result.upper + left_sign = np.sign(-compiled.voltage_polarity * lower.current_density_A_m2[0]) + while upper.voltage_V - lower.voltage_V > 1e-7: + voltage = (lower.voltage_V + upper.voltage_V) / 2 + seed = min((lower, upper), key=lambda point: abs(point.voltage_V - voltage)) + point = solve_steady_state( + compiled, initial_state=seed.state, voltage_V=voltage, + generation_scale=bracket.generation_scale, options=controls, + ) + sign = np.sign(-compiled.voltage_polarity * point.current_density_A_m2[0]) + if sign == 0: + lower = upper = point + elif sign == left_sign: + lower = point + else: + upper = point + assert direct_result.lower.voltage_V <= lower.voltage_V + assert upper.voltage_V <= direct_result.upper.voltage_V + assert abs(direct_result.voltage_V - (lower.voltage_V + upper.voltage_V) / 2) <= direct_result.interval_width_V + assert all(gate.passed for endpoint in (lower, upper) for gate in endpoint.physical_gates) + + +def test_descending_actual_bracket_has_the_same_direct_root(actual_bracket, direct_result): + compiled, bracket, _ = actual_bracket + reversed_bracket = replace( + bracket, voltage_V=bracket.voltage_V[::-1], + current_density_A_m2=bracket.current_density_A_m2[::-1], + output_current_A_m2=bracket.output_current_A_m2[::-1], + solutions=bracket.solutions[::-1], + ) + result = points.solve_direct_voc(compiled, reversed_bracket) + assert result.interval_V == direct_result.interval_V + assert result.voltage_V == direct_result.voltage_V + + +def test_forged_current_identity_or_controls_are_not_an_actual_bracket(actual_bracket): + compiled, bracket, controls = actual_bracket + forged = replace(bracket, output_current_A_m2=np.array([1.0, -1.0])) + with pytest.raises(points.VocBracketError, match="actual solved outputs"): + points.solve_direct_voc(compiled, forged) + with pytest.raises(points.VocBracketError, match="same compiled device"): + points.solve_direct_voc(compiled, replace(bracket, compiled_identity="0" * 64)) + with pytest.raises(points.VocBracketError, match="retain"): + points.solve_direct_voc(compiled, bracket, options=replace(controls, max_iterations=2)) + + +def test_solve_budget_failure_preserves_accepted_endpoints(actual_bracket): + compiled, bracket, _ = actual_bracket + with pytest.raises(points.DirectVocError, match="solve-call budget") as error: + points.solve_direct_voc(compiled, bracket, max_solve_calls=1) + result = error.value + assert result.solve_calls == 1 + assert len(result.solutions) == len(bracket.solutions) + 1 + assert result.lower.converged and result.upper.converged + assert not result.failed_attempts + + +def _injected_failure(seed): + # A deliberately unusable failed state makes any unsafe seed reuse visible. + failed = NewtonResult( + np.full(seed.u.shape, np.nan), False, Termination.LINE_SEARCH_FAILED, + math.inf, (), (), 1, 1, state_digest(seed.u), "injected control-path failure", + ) + return SteadyStateError("test step", failed) + + +def test_failed_midpoint_uses_finer_same_equation_and_never_failed_state(actual_bracket, monkeypatch): + compiled, bracket, _ = actual_bracket + target = (bracket.voltage_V[0] + bracket.voltage_V[1]) / 2 + large_distance = 0.4 * float(np.ptp(bracket.voltage_V)) + genuine = points.solve_steady_state + attempts = [] + + def controlled(device, *, initial_state, voltage_V, generation_scale, options): + assert np.all(np.isfinite(initial_state.u)) + attempts.append((voltage_V, initial_state)) + if voltage_V == target and abs(initial_state.voltage_V - target) > large_distance: + raise _injected_failure(initial_state) + return genuine( + device, initial_state=initial_state, voltage_V=voltage_V, + generation_scale=generation_scale, options=options, + ) + + monkeypatch.setattr(points, "solve_steady_state", controlled) + result = points.solve_direct_voc(compiled, bracket) + assert result.interval_width_V <= 1e-6 + assert result.solve_calls == len(attempts) + assert result.failed_attempts + failure = result.failed_attempts[0] + assert failure.voltage_V == target + assert failure.subdivisions == 0 + assert not failure.newton_result.accepted + assert np.all(np.isnan(failure.newton_result.state)) + assert all(any(seed is point.state for point in result.solutions) for _, seed in attempts) + # Each seed is the nearest previously accepted physical point, not a failed iterate. + assert abs(attempts[1][1].voltage_V - attempts[1][0]) < abs(failure.seed_voltage_V - target) + + +def test_persistent_step_failures_are_bounded_and_all_recorded(actual_bracket, monkeypatch): + compiled, bracket, _ = actual_bracket + attempts = [] + + def failing(device, *, initial_state, voltage_V, generation_scale, options): + assert np.all(np.isfinite(initial_state.u)) + attempts.append(voltage_V) + raise _injected_failure(initial_state) + + monkeypatch.setattr(points, "solve_steady_state", failing) + with pytest.raises(points.DirectVocError, match="budget") as error: + points.solve_direct_voc(compiled, bracket, max_solve_calls=3) + assert error.value.solve_calls == len(attempts) == 3 + assert len(error.value.failed_attempts) == 3 + assert len(error.value.solutions) == len(bracket.solutions) + assert all(not failure.newton_result.accepted for failure in error.value.failed_attempts) + + +@pytest.mark.parametrize("current, expected", [ + ([1.0, -1.0], (0, 1)), ([-1.0, 1.0], (0, 1)), + ([1.0, 0.0, -1.0], (1, 1)), +]) +def test_unique_root_selection_policy(current, expected): + assert points._unique_root_indices(np.array(current)) == expected + + +@pytest.mark.parametrize("current", [[1.0, 2.0], [1.0, -1.0, 1.0], [1.0, 0.0, 0.0, -1.0]]) +def test_missing_or_multiple_roots_are_explicit_scope(current): + with pytest.raises(points.VocBracketError): + points._unique_root_indices(np.array(current)) + + +@pytest.mark.parametrize("controls", [ + {"voltage_tolerance_V": 0.0}, {"voltage_tolerance_V": math.nan}, + {"max_solve_calls": 0}, {"max_continuation_subdivisions": 1}, +]) +def test_invalid_root_controls_are_rejected(actual_bracket, controls): + compiled, bracket, _ = actual_bracket + with pytest.raises(ValueError): + points.solve_direct_voc(compiled, bracket, **controls) + + +def test_reversed_junction_retains_the_terminal_current_polarity(): + prepared = load_device() + data = prepared.to_input().editing_data() + data["layers"] = list(reversed(data["layers"])) + reverse = resolve_device(DeviceInput.model_validate(data), prepared.defaults, prepared.resources, sources=prepared.sources) + compiled = compile_device_1d(reverse, intervals_per_layer=12) + bracket = run_steady_jv(compiled, [1.2, 1.225], options=SteadyOptions(max_bias_step_V=0.05)) + result = points.solve_direct_voc(compiled, bracket) + assert compiled.voltage_polarity == -1.0 + assert result.interval_width_V <= 1e-6 + assert result.output_current_A_m2 == result.solution.current_density_A_m2[0] + + +def test_exact_solved_zero_is_an_endpoint_without_interpolated_state(): + compiled = compile_device_1d(load_device(), intervals_per_layer=12) + bracket = run_steady_jv(compiled, [0.0, 0.05], generation_scale=0.0) + result = points.solve_direct_voc(compiled, bracket) + assert result.solution is bracket.solutions[0] + assert result.voltage_V == result.interval_width_V == 0.0 + assert result.solve_calls == 0 + + +def test_opt_in_balance_policy_is_recorded_and_retained_by_direct_voc(): + compiled = compile_device_1d(load_device(), intervals_per_layer=12) + controls = SteadyOptions( + max_bias_step_V=0.05, convergence_policy=POISSON_CONTACT_BALANCE_V1, + ) + # A fresh cold solve prepares this bracket; no saved failed state is used. + bracket = run_steady_jv(compiled, [1.2, 1.225], options=controls) + assert bracket.solver_controls["convergence_policy"] == POISSON_CONTACT_BALANCE_V1 + result = points.solve_direct_voc(compiled, bracket) + assert result.solver_controls == asdict(controls) + assert result.interval_width_V <= 1e-6 + assert all(gate.passed for point in result.solutions for gate in point.physical_gates) + for point in result.solutions: + points._verify_point(compiled, point, bracket.generation_scale, controls) + with pytest.raises(points.VocBracketError, match="retain"): + points.solve_direct_voc( + compiled, bracket, options=replace(controls, convergence_policy=HISTORICAL_MAX_ROW_V1), + ) + + +def test_old_control_records_default_to_historical_row_policy(actual_bracket): + compiled, bracket, controls = actual_bracket + old_record = dict(bracket.solver_controls) + assert old_record.pop("convergence_policy") == HISTORICAL_MAX_ROW_V1 + restored = SteadyOptions(**old_record) + assert restored == controls + points._verify_point(compiled, bracket.solutions[0], bracket.generation_scale, restored) + + +@pytest.mark.parametrize("policy", [HISTORICAL_MAX_ROW_V1, POISSON_CONTACT_BALANCE_V1]) +def test_changing_policy_never_resigns_a_failed_saved_point(actual_bracket, policy): + compiled, bracket, controls = actual_bracket + failed_point = copy(bracket.solutions[0]) + failure = _injected_failure(failed_point.state) + # Represent a failed saved record without changing any accepted fixture. + object.__setattr__(failed_point, "newton", failure.result) + with pytest.raises(points.VocBracketError, match="accepted steady solve"): + points._verify_point( + compiled, failed_point, bracket.generation_scale, + replace(controls, convergence_policy=policy), + ) + assert not failure.result.accepted + assert all(point.converged for point in bracket.solutions) + + +@pytest.mark.parametrize("policy", [HISTORICAL_MAX_ROW_V1, POISSON_CONTACT_BALANCE_V1]) +def test_saved_points_recompute_gates_independently_of_stored_passes(actual_bracket, monkeypatch, policy): + compiled, bracket, controls = actual_bracket + point = bracket.solutions[0] + genuine = points.physical_gates + calls = [] + + def guarded(problem, options, *, equilibrium): + gates = genuine(problem, options, equilibrium=equilibrium) + + def rejected(u): + calls.append(u) + original = gates[0](u) + return replace(original, passed=False, message="injected independent gate rejection") + + return (rejected, *gates[1:]) + + monkeypatch.setattr(points, 'physical_gates', guarded) + assert all(gate.passed for gate in point.physical_gates) + with pytest.raises(points.VocBracketError, match="recomputed production physical gate"): + points._verify_point( + compiled, point, bracket.generation_scale, replace(controls, convergence_policy=policy), + ) + assert calls and point.converged diff --git a/tests/unit/experiments/test_r1_saved_failure_refactor.py b/tests/unit/experiments/test_r1_saved_failure_refactor.py new file mode 100644 index 00000000..53bc96eb --- /dev/null +++ b/tests/unit/experiments/test_r1_saved_failure_refactor.py @@ -0,0 +1,228 @@ +"""Portable input/guard regressions; no DC preparation or trajectory solve.""" +from __future__ import annotations + +import copy +from dataclasses import replace +import importlib.util +import json +from pathlib import Path +import sys +from types import SimpleNamespace + +import numpy as np +import pytest + + +ROOT = Path(__file__).resolve().parents[3] +sys.path.insert(0, str(ROOT / "perovskite-sim")) +SPEC = importlib.util.spec_from_file_location( + "r1_saved_failure_diagnostic", ROOT / "scripts/benchmarks/diagnose_r1_saved_failure.py", +) +diagnostic = importlib.util.module_from_spec(SPEC) +sys.modules[SPEC.name] = diagnostic +SPEC.loader.exec_module(diagnostic) + +from perovskite_sim.experiments.one_dimensional_mechanism_r1_dynamics import ControlledPhysicalInterfaceIonSystem +from perovskite_sim.experiments.one_dimensional_mechanism_r1_local_carrier import LocalCarrierInputs +from perovskite_sim.experiments.one_dimensional_mechanism_r1_state import R1PreparedState, physical_preparation_identity +from perovskite_sim.physics.compensated import DD + + +@pytest.fixture(scope="module") +def frozen(): + return diagnostic.load_fixture() + + +def test_frozen_input_identity_is_pinned_and_historical_failures_remain(frozen): + assert diagnostic.file_sha256(diagnostic.FIXTURE) == "29e4981bd4d5d11d19f3120febbd47d853d39bfb45a72a44ecec91566757db1d" + assert frozen["source_commit"] == "12869a4f90d6d08af2d24af902838d8a4d5c00c4" + assert len(frozen["request"]["certificate_limits"]) == 16 + assert len(frozen["operator_channels"]) == 13 + assert frozen["prefix"]["accepted_rows"] == 309 + assert frozen["prefix"]["finite_accepted_steps"] == 308 + assert frozen["prefix"]["expected_rows"] == frozen["request"]["expected_rows"] == 3727 + assert not frozen["prefix"]["bilateral_100s_qualified"] + assert not frozen["prefix"]["compensated_admitted"] + limit = frozen["request"]["certificate_limits"]["nonlinear_residual"] + for name, sign in (("step183_failed", -1), ("step309_failed", 1)): + residual = np.asarray(frozen["cases"][name]["saved_witness"]["scaled_residual_vector"]) + assert np.flatnonzero(np.abs(residual) > limit).tolist() == [895] + assert np.sign(residual[895]) == sign + accepted = frozen["cases"]["step183_accepted"] + assert accepted["saved_row"]["solver_accepted"] + assert accepted["saved_row"]["physics_reconstruction"]["scaled_nonlinear_residual"] == accepted["historical_validation"]["scaled_nonlinear_residual"] + + +def test_preparation_artifact_identity_is_distinct_from_shared_physics(frozen): + first = R1PreparedState.from_dict(frozen["prepared_v52"]) + second = R1PreparedState.from_dict(frozen["prepared"]) + assert first.sha256 != second.sha256 + assert physical_preparation_identity(first) == physical_preparation_identity(second) + assert first.to_dict()["source"] != second.to_dict()["source"] + + +def test_one_bit_changed_input_is_rejected_without_resealing(tmp_path, frozen): + changed = copy.deepcopy(frozen) + coordinate = changed["cases"]["step309_failed"]["saved_witness"]["coordinate"] + coordinate[895] = float(np.nextafter(coordinate[895], np.inf)) + path = tmp_path / "CorruptedInput.json" + path.write_text(json.dumps(changed)) + with pytest.raises(ValueError, match="content hash mismatch"): + diagnostic.load_fixture(path) + + +@pytest.mark.parametrize("name", ["step183_failed", "step183_accepted", "step309_failed"]) +def test_direct_predecessor_copies_original_words_without_reencoding(frozen, name): + row = frozen["cases"][name]["previous_row"] + state = diagnostic.direct_saved_reference(None, row) + for attribute, field in (("n", "n_m3"), ("p", "p_m3"), ("positive", "positive_m3"), + ("phi", "phi_V"), ("occupancy", "occupancy")): + assert getattr(state, attribute).tobytes() == np.asarray(row["state"][field], dtype=float).tobytes() + assert state.dqfn.tobytes() == np.asarray(row["physics_reconstruction"]["electron_qf_increment_V"]).tobytes() + assert state.local[0].state_m3.tobytes() == np.asarray(row["state"]["trace_state_m3"][0]).tobytes() + assert state.negative is None + with pytest.raises(AttributeError): + _ = state.storage_jacobian # An unstored Jacobian must not be fabricated. + + +def guard_case(frozen, sign): + """Isolate the real production guard at an asymmetric binary64 bin boundary.""" + system = object.__new__(ControlledPhysicalInterfaceIonSystem) + system.interface_count, system.dimension, system.local_slice = 1, 8, slice(2, 8) + physical = np.array([1.e12, 2.e12, float(2**44), 3.e12]) + system._step_reference = SimpleNamespace(local=(SimpleNamespace(state_m3=physical.copy()),)) + inputs = LocalCarrierInputs( + DD(physical), DD([-.04, -.04]), DD([1.e13] * 4), DD([-.03, -.05]), DD(.3), + ) + state = SimpleNamespace(local=(SimpleNamespace(state_m3=physical, carrier_data=SimpleNamespace(inputs=inputs)),)) + coordinate, direction, residual = np.zeros(8), np.zeros(8), np.zeros(8) + limit = frozen["request"]["certificate_limits"]["nonlinear_residual"] + residual[6] = sign * 1.1 * limit + target = np.nextafter(physical[2], np.inf if sign > 0 else -np.inf) + direction[6] = np.log1p((target - physical[2]) / physical[2]) + return system, state, coordinate, direction, residual, [np.ones(1), np.ones(1), np.ones(6)], limit + + +@pytest.mark.parametrize("sign", [-1, 1]) +def test_directional_neighbor_preserves_all_other_words(frozen, sign): + system, state, coordinate, direction, residual, scales, limit = guard_case(frozen, sign) + original = state.local[0].state_m3.copy() + before_words = diagnostic.local_input_words(state) + candidate = system.representable_line_search_candidate(state, state, coordinate, direction, residual, *scales, limit) + assert candidate is not None + assert np.flatnonzero(candidate != coordinate).tolist() == [6] + expected = original.copy() + expected[2] = np.nextafter(original[2], np.inf if sign > 0 else -np.inf) + np.testing.assert_array_equal(system._trace_density_coordinates(candidate), [expected]) + np.testing.assert_array_equal(state.local[0].state_m3, original) + assert diagnostic.local_input_words(state) == before_words + assert not np.shares_memory(candidate, coordinate) + upward = np.nextafter(original[2], np.inf) - original[2] + downward = original[2] - np.nextafter(original[2], -np.inf) + assert upward == 2 * downward # A fixed, sign-independent ULP would be wrong here. + + +@pytest.mark.parametrize("sign", [-1, 1]) +@pytest.mark.parametrize("reason", [ + "zero", "negative_zero", "tiny", "large", "nan", "inf", "at_limit", "below_limit", + "multiple_rows", "bulk_row", "no_reference", "two_interfaces", "coordinate_shape", + "direction_shape", "residual_shape", "local_shape", "nonpositive_limit", "reference_zero", + "wrong_map_direction", "reference_too_far", +]) +def test_production_guard_rejects_ineligible_candidate(frozen, sign, reason): + system, state, coordinate, direction, residual, scales, limit = guard_case(frozen, sign) + if reason in ("zero", "negative_zero", "nan", "inf"): + direction[6] = {"zero": 0., "negative_zero": -0., "nan": np.nan, "inf": np.inf}[reason] + elif reason in ("tiny", "large"): + direction[6] *= .1 if reason == "tiny" else 4. + elif reason == "at_limit": + residual[6] = sign * limit + elif reason == "below_limit": + residual[6] = sign * np.nextafter(limit, 0.) + elif reason == "multiple_rows": + residual[5] = 2 * limit + elif reason == "bulk_row": + residual[0] = 2 * limit + elif reason == "no_reference": + system._step_reference = None + elif reason == "two_interfaces": + system.interface_count = 2 + elif reason == "coordinate_shape": + coordinate = coordinate[:-1] + elif reason == "direction_shape": + direction = direction[:-1] + elif reason == "residual_shape": + residual = residual[:-1] + elif reason == "local_shape": + scales[-1] = np.ones(5) + elif reason == "nonpositive_limit": + limit = 0. + elif reason == "reference_zero": + system._step_reference.local[0].state_m3[2] = 0. + elif reason == "wrong_map_direction": + coordinate[6] = 2 * direction[6] + elif reason == "reference_too_far": + system._step_reference.local[0].state_m3[2] *= .1 + assert system.representable_line_search_candidate( + state, state, coordinate, direction, residual, *scales, limit, + ) is None + + +@pytest.mark.parametrize("field", ["state_density", "trace_potential", "bulk_density", "bulk_potential", "occupancy"]) +@pytest.mark.parametrize("word", ["hi", "lo"]) +def test_every_support_field_including_low_word_must_match(frozen, field, word): + system, state, coordinate, direction, residual, scales, limit = guard_case(frozen, 1) + original = state.local[0].carrier_data.inputs + value = getattr(original, field) + high, low = value.hi.copy(), value.lo.copy() + if word == "hi": + high.reshape(-1)[0] = np.nextafter(high.reshape(-1)[0], np.inf) + else: + low.reshape(-1)[0] = 1.e-30 + changed = replace(original, **{field: DD._trusted_parts(high, low)}) + rejected = SimpleNamespace(local=(SimpleNamespace(carrier_data=SimpleNamespace(inputs=changed)),)) + assert system.representable_line_search_candidate( + state, rejected, coordinate, direction, residual, *scales, limit, + ) is None + + +@pytest.mark.parametrize("metric", ["nonlinear_residual", "charge_balance_relative", "all_face_current_relative", "interface_current_relative"]) +def test_each_original_solver_limit_including_conservation_is_binding(frozen, metric): + limits = frozen["request"]["certificate_limits"] + settings = { + "maximum_scaled_nonlinear_residual": limits["nonlinear_residual"], + "maximum_charge_balance_relative_error": limits["charge_balance_relative"], + "maximum_all_face_current_spread_relative": limits["all_face_current_relative"], + "maximum_two_sided_interface_total_current_relative_error": limits["interface_current_relative"], + } + values = {name: 0. for name in ("nonlinear_residual", "charge_balance_relative", "all_face_current_relative", "interface_current_relative")} + system = SimpleNamespace( + solver_current_metrics=lambda *args: (None, None, None, None, values["all_face_current_relative"], values["interface_current_relative"]), + charge_balance_metrics=lambda *args: (0., values["charge_balance_relative"]), + ) + values[metric] = limits[metric] + result = diagnostic.original_acceptance_metrics(system, None, None, 1., np.array([values["nonlinear_residual"]]), settings) + assert result["all_original_solver_gates_passed"] + values[metric] = float(np.nextafter(limits[metric], np.inf)) + result = diagnostic.original_acceptance_metrics(system, None, None, 1., np.array([values["nonlinear_residual"]]), settings) + assert not result["all_original_solver_gates_passed"] + assert result["passed"][metric] is False + + +def test_ulp_report_counts_signed_zero_and_adjacent_float_words(): + expected = np.array([0., 1., -1.]) + actual = np.array([-0., np.nextafter(1., np.inf), np.nextafter(-1., -np.inf)]) + compared = diagnostic.array_comparison(actual, expected) + assert compared["different_words"] == 3 + assert compared["maximum_ulp"] == 1 + assert not compared["exact_bytes"] + + +def test_diagnostic_scope_rejects_accidental_dc_and_native_step_calls(): + from perovskite_sim.experiments import one_dimensional_mechanism_r1_state as state + from perovskite_sim.experiments import interface_defect_transient as transient + + with diagnostic.forbid_trajectory_work(): + for function in (state.prepare_common_state, state.solve_r1_dc, transient._solve_step): + with pytest.raises(AssertionError, match="cannot prepare DC or advance time"): + function() diff --git a/tests/unit/experiments/test_steady_jv_metrics.py b/tests/unit/experiments/test_steady_jv_metrics.py new file mode 100644 index 00000000..94f874e2 --- /dev/null +++ b/tests/unit/experiments/test_steady_jv_metrics.py @@ -0,0 +1,48 @@ +"""Manufactured curve tests; these do not establish solver/physical accuracy.""" +import numpy as np +import pytest + +from solarlab.experiments.jv.steady import steady_jv_metrics + + +@pytest.mark.parametrize('descending', [False, True]) +def test_linear_curve_has_exact_piecewise_linear_maximum(descending): + v = np.array([0.0, 0.2, 0.8, 1.2]) + j = 100.0 * (1.0 - v) + if descending: + v, j = v[::-1], j[::-1] + metrics = steady_jv_metrics(v, j, incident_power_W_m2=1000.0) + assert metrics.short_circuit_current_A_m2 == 100.0 + assert metrics.open_circuit_voltage_V == 1.0 + assert metrics.maximum_power_W_m2 == pytest.approx(25.0) + assert metrics.fill_factor == pytest.approx(0.25) + assert metrics.efficiency == pytest.approx(0.025) + + +def test_unbracketed_metrics_are_missing_not_zero_sentinels(): + metrics = steady_jv_metrics([0.0, 0.5], [100.0, 50.0]) + assert metrics.short_circuit_current_A_m2 == 100.0 + assert metrics.open_circuit_voltage_V is None + assert metrics.fill_factor is None and metrics.efficiency is None + assert metrics.limitation == 'open_circuit_not_bracketed' + + +def test_missing_zero_and_nonpositive_output_are_explicit(): + metrics = steady_jv_metrics([0.2, 1.0], [80.0, 0.0]) + assert metrics.short_circuit_current_A_m2 is None + assert metrics.limitation == 'zero_voltage_not_bracketed' + metrics = steady_jv_metrics([0.0, 1.0], [0.0, -100.0]) + assert metrics.open_circuit_voltage_V is None + assert metrics.limitation == 'no_positive_short_circuit_output' + + +def test_incident_power_is_required_for_efficiency_only(): + metrics = steady_jv_metrics([0.0, 1.0], [100.0, 0.0]) + assert metrics.maximum_power_W_m2 == pytest.approx(25.0) + assert metrics.efficiency is None + + +@pytest.mark.parametrize('v,j', [([0, 0], [1, 2]), ([0, 1], [1]), ([0, np.nan], [1, 2])]) +def test_invalid_curves_rejected(v, j): + with pytest.raises(ValueError): + steady_jv_metrics(v, j) diff --git a/tests/unit/mesh/test_mesh_geometry.py b/tests/unit/mesh/test_mesh_geometry.py new file mode 100644 index 00000000..4249db0f --- /dev/null +++ b/tests/unit/mesh/test_mesh_geometry.py @@ -0,0 +1,329 @@ +"""Mesh geometry: grids, ownership, named control volumes and substrate alignment. + +M-class checks compare the migrated arrays bit-for-bit with the legacy engine +(read-only import). Total measures are checked against an exact rational +oracle built from the binary64 node positions. +""" + +from __future__ import annotations + +from dataclasses import dataclass, field +from fractions import Fraction +from pathlib import Path +from types import SimpleNamespace + +import numpy as np +import pytest + +from perovskite_sim.discretization import grid as legacy_grid +from perovskite_sim.models import device as legacy_device +from perovskite_sim.physics import generation as legacy_generation +from perovskite_sim.physics import physical_control_volume as legacy_physical +from perovskite_sim.physics import two_sided_interface as legacy_two_sided +from perovskite_sim.solver import mol as legacy_mol +from perovskite_sim.twod import poisson_2d as legacy_poisson_2d +from perovskite_sim.twod import solver_2d as legacy_solver_2d +from perovskite_sim.twod.grid_2d import Grid2D + +from solarlab.contracts import LENGTH, ONE, CellSource, EquationSpec, FaceFlux, Layout, Support +from solarlab.contracts import PARTICLE, SECOND, TermSink +from solarlab.mesh import ( + GEOMETRY_NAMES, HALF_ENDPOINT_V1, INTEGER_ENDPOINT_V1, LEFT_LAYER_WINS, + PHYSICAL_BOUNDARY_TWO_SIDED_V1, RIGHT_LAYER_WINS, TWO_SIDED_TRACE_V1, ElectricalStack, + StackLayer, build_geometry, build_interface_stencils, multilayer_grid, node_owner, + remove_shared_interface_nodes, tanh_grid, +) +from solarlab.mesh.geometry import ( + dual_cell_faces, half_endpoint_widths, integer_endpoint_widths, physical_cell_faces, + two_sided_trace_widths, +) +from solarlab.physics.electrostatics import PoissonOperator1D + +ROOT = Path(__file__).resolve().parents[3] +THICKNESSES = (2.0e-7, 4.0e-7, 1.5e-7) +INTERVALS = (7, 11, 5) + + +def same_bits(a, b): + a, b = np.asarray(a, dtype=float), np.asarray(b, dtype=float) + return a.shape == b.shape and a.tobytes() == b.tobytes() + + +def stack_grid(alpha=3.0): + return multilayer_grid(list(zip(THICKNESSES, INTERVALS)), alpha=alpha) + + +def interface_positions(): + return ElectricalStack.from_layers( + [StackLayer(f"L{i}", t, "absorber") for i, t in enumerate(THICKNESSES)] + ).interface_positions_m + + +@pytest.mark.parametrize("alpha", [3.0, 1.5, (2.0, 3.5, 1.0)]) +def test_grid_constructors_match_legacy_bitwise(alpha): + assert same_bits(tanh_grid(9, 3.0e-7, 2.5), legacy_grid.tanh_grid(9, 3.0e-7, 2.5)) + legacy = legacy_grid.multilayer_grid( + [legacy_grid.Layer(t, n) for t, n in zip(THICKNESSES, INTERVALS)], alpha=alpha) + assert same_bits(stack_grid(alpha), legacy) + with pytest.raises(ValueError, match="one value per layer"): + multilayer_grid(list(zip(THICKNESSES, INTERVALS)), alpha=(1.0, 2.0)) + + +def test_node_ownership_conventions_match_their_historical_consumers(): + x = stack_grid() + layers = [SimpleNamespace(thickness=t) for t in THICKNESSES] + legacy_masks = legacy_mol._layer_node_masks(x, layers) + owner = node_owner(x, THICKNESSES, RIGHT_LAYER_WINS) + for index, mask in enumerate(legacy_masks): + assert np.array_equal(owner == index, mask) + stack = SimpleNamespace(layers=[SimpleNamespace(thickness=t, role=f"r{i}") + for i, t in enumerate(THICKNESSES)]) + roles = legacy_solver_2d._layer_role_at_each_y(x, stack) + left_owner = node_owner(x, THICKNESSES, LEFT_LAYER_WINS) + assert [f"r{i}" for i in left_owner] == roles + # The two conventions differ exactly on the shared interface nodes. + shared = [s.shared_boundary_node for s in build_interface_stencils(x, interface_positions())] + differing = np.flatnonzero(owner != left_owner).tolist() + assert differing == shared + assert all(owner[node] == left_owner[node] + 1 for node in shared) + with pytest.raises(ValueError, match="unknown node ownership"): + node_owner(x, THICKNESSES, "middle") + + +def test_interface_stencils_and_node_removal_match_legacy_bitwise(): + x = stack_grid() + positions = interface_positions() + new = build_interface_stencils(x, positions) + old = legacy_two_sided.build_two_sided_interface_stencils(x, positions) + assert [tuple(vars(s).values()) for s in new] == [tuple(vars(s).values()) for s in old] + assert all(s.shared_boundary_node is not None for s in new) + reduced = remove_shared_interface_nodes(x, positions) + assert same_bits(reduced, legacy_two_sided.remove_shared_interface_nodes(x, positions)) + gap = build_interface_stencils(reduced, positions) + old_gap = legacy_two_sided.build_two_sided_interface_stencils(reduced, positions) + assert [tuple(vars(s).values()) for s in gap] == [tuple(vars(s).values()) for s in old_gap] + assert all(s.shared_boundary_node is None and s.right_bulk_node == s.left_bulk_node + 1 + for s in gap) + for bad in ([x[0]], [positions[1], positions[0]]): + with pytest.raises(ValueError): + build_interface_stencils(x, bad) + + +def test_control_volume_arrays_match_their_legacy_sources_bitwise(): + x = stack_grid() + reduced = remove_shared_interface_nodes(x, interface_positions()) + assert same_bits(integer_endpoint_widths(x), legacy_generation.dual_cell_widths(x)) + assert same_bits(dual_cell_faces(x), legacy_generation.dual_cell_faces(x)) + assert same_bits(physical_cell_faces(reduced, interface_positions()), + legacy_physical.physical_cell_faces(reduced, interface_positions())) + # 2D: the Neumann x-axis cells and interior y-cells form the Poisson cell area. + # The legacy 2D builder extrudes the 1D (right-owned) material arrays, so eps + # is built with the geometry's material owner, not its role owner. + y, lateral = x, np.linspace(0.0, 4.0e-7, 6) + geometry = build_geometry(HALF_ENDPOINT_V1, y, interface_positions()) + assert geometry.material_owner_convention == RIGHT_LAYER_WINS + assert geometry.role_owner_convention == LEFT_LAYER_WINS + eps_1d = np.where(node_owner(y, THICKNESSES, geometry.material_owner_convention) == 1, + 25.0, 3.0) + eps = np.broadcast_to(eps_1d[:, None], (y.size, lateral.size)).copy() + factor = legacy_poisson_2d.build_poisson_2d_factor(Grid2D(x=lateral, y=y), eps, "neumann") + expected_area = half_endpoint_widths(y)[1:-1][:, None] * half_endpoint_widths(lateral)[None, :] + assert same_bits(expected_area, factor.cell_area) + operator = PoissonOperator1D.from_harmonic_nodes(y, eps_1d, geometry_name=HALF_ENDPOINT_V1) + for column in range(lateral.size): + assert same_bits(operator.face_capacitance_F_m2, factor.C_y[:, column]) + + +def test_half_endpoint_material_owner_reproduces_the_legacy_2d_builder_bitwise(): + """The 2D builder's eps (and so C_y) is right-owned; role tagging is left-owned.""" + from perovskite_sim.discretization.grid import Layer + from perovskite_sim.models.config_loader import load_device_from_yaml + from perovskite_sim.twod.grid_2d import build_grid_2d + from perovskite_sim.twod.microstructure import Microstructure + + preset = ROOT / "perovskite-sim/tests/fixtures/configs/nip_MAPbI3.yaml" + stack = load_device_from_yaml(str(preset)) + layers = legacy_device.electrical_layers(stack) + grid = build_grid_2d([Layer(layer.thickness, 6) for layer in layers], 4.0e-7, 5) + material = legacy_solver_2d.build_material_arrays_2d( + grid, stack, Microstructure(), lateral_bc="neumann") + thicknesses = [layer.thickness for layer in layers] + eps_layers = np.array([layer.params.eps_r for layer in layers]) + geometry = build_geometry(HALF_ENDPOINT_V1, grid.y, + np.cumsum(thicknesses)[:-1]) + material_eps = eps_layers[node_owner(grid.y, thicknesses, + geometry.material_owner_convention)] + role_eps = eps_layers[node_owner(grid.y, thicknesses, geometry.role_owner_convention)] + assert same_bits(material.eps_r[:, 0], material_eps) + assert not same_bits(material_eps, role_eps) # the shared rows really differ + operator = PoissonOperator1D.from_harmonic_nodes(grid.y, material_eps, + geometry_name=HALF_ENDPOINT_V1) + role_operator = PoissonOperator1D.from_harmonic_nodes(grid.y, role_eps, + geometry_name=HALF_ENDPOINT_V1) + for column in range(grid.x.size): + assert same_bits(operator.face_capacitance_F_m2, material.poisson_factor.C_y[:, column]) + assert not same_bits(role_operator.face_capacitance_F_m2, + material.poisson_factor.C_y[:, column]) + roles = legacy_solver_2d._layer_role_at_each_y(grid.y, stack) + assert roles == [layers[i].role for i in node_owner(grid.y, thicknesses, + geometry.role_owner_convention)] + + +@dataclass(frozen=True) +class _LegacyMaterialStub: + """Only the fields ``_prepare_two_sided_material`` reads or replaces.""" + + dx_cell: np.ndarray + eps_r: np.ndarray + poisson_factor: object + interface_V_partition_2: tuple + interface_faces: tuple = () + iface_qss_two_sided_trace: bool = False + iface_qss_interface_faces: tuple = () + iface_qss_left_nodes: tuple = () + iface_qss_right_nodes: tuple = () + iface_qss_interface_positions_m: tuple = () + iface_qss_left_distances_m: tuple = () + iface_qss_right_distances_m: tuple = () + physical_cell_faces_m: object = field(default=None) + + +@pytest.mark.parametrize("physical", [False, True]) +def test_two_sided_geometries_match_the_qf_material_preparation_bitwise(physical): + from perovskite_sim.experiments import quasi_fermi_steady_state as legacy_qf + from perovskite_sim.physics.poisson import factor_poisson + + positions = interface_positions() + reduced = remove_shared_interface_nodes(stack_grid(), positions) + owner = node_owner(reduced, THICKNESSES, RIGHT_LAYER_WINS) + eps = np.array([3.0, 25.0, 9.0])[owner] + stack = SimpleNamespace(layers=[SimpleNamespace(thickness=t, role="absorber") + for t in THICKNESSES]) + material = _LegacyMaterialStub(legacy_generation.dual_cell_widths(reduced), eps, + factor_poisson(reduced, eps), (None,) * len(positions)) + prepared = legacy_qf._prepare_two_sided_material(reduced, stack, material, + physical_boundary_volumes=physical) + name = PHYSICAL_BOUNDARY_TWO_SIDED_V1 if physical else TWO_SIDED_TRACE_V1 + geometry = build_geometry(name, reduced, positions) + assert same_bits(geometry.cell_measures_m, prepared.dx_cell) + operator = PoissonOperator1D.for_geometry(geometry, eps) + assert same_bits(operator.face_capacitance_F_m2, prepared.poisson_factor.C) + assert same_bits(operator.interior_widths_m, prepared.poisson_factor.h_cell) + assert tuple(p.position_m for p in geometry.interfaces) == prepared.iface_qss_interface_positions_m + assert tuple(p.left_node for p in geometry.interfaces) == prepared.iface_qss_left_nodes + assert tuple(p.left_distance_m for p in geometry.interfaces) == \ + prepared.iface_qss_left_distances_m + assert tuple(p.right_distance_m for p in geometry.interfaces) == \ + prepared.iface_qss_right_distances_m + if physical: + assert same_bits(geometry.cell_faces_m, prepared.physical_cell_faces_m) + assert same_bits(two_sided_trace_widths(reduced, positions), + build_geometry(TWO_SIDED_TRACE_V1, reduced, positions).cell_measures_m) + + +def _exact(values): + return [Fraction(float(v)) for v in np.asarray(values, dtype=float)] + + +@pytest.mark.parametrize("name", GEOMETRY_NAMES) +def test_every_named_geometry_has_its_exact_total_measure(name): + positions = interface_positions() + x = stack_grid() + if name in {TWO_SIDED_TRACE_V1, PHYSICAL_BOUNDARY_TWO_SIDED_V1}: + x = remove_shared_interface_nodes(x, positions) + geometry = build_geometry(name, x, positions) + nodes = _exact(x) + length = nodes[-1] - nodes[0] + endpoint_excess = ((nodes[1] - nodes[0]) + (nodes[-1] - nodes[-2])) / 2 + expected = length + endpoint_excess if name in {INTEGER_ENDPOINT_V1, TWO_SIDED_TRACE_V1} \ + else length + exact_sum = sum(_exact(geometry.cell_measures_m), Fraction(0)) + # Each measure carries a few roundings of node-scale numbers. + allowance = Fraction(8 * len(x)) * Fraction(np.spacing(float(x[-1]))) + assert abs(exact_sum - expected) <= allowance, name + assert abs(Fraction(geometry.total_measure_m) - exact_sum) <= Fraction(np.spacing(1e-6)) + assert geometry.geometric_cells == (expected == length) + assert geometry.name == name + left, right = geometry.ports + assert (left.outward_normal, right.outward_normal) == (-1, 1) + assert (left.node, right.node) == (0, geometry.node_count - 1) + assert left.area_m2 == right.area_m2 == 1.0 and geometry.face_normal == 1 + assert left.terminal_port().outward_normal == -1 + assert [p.position_m for p in geometry.interfaces] == list(positions) + for plane in geometry.interfaces: + assert plane.left_distance_m > 0 and plane.right_distance_m > 0 + assert geometry.nodes_m[plane.left_node] < plane.position_m < geometry.nodes_m[plane.right_node] + assert (plane.shared_node is None) == (name in {TWO_SIDED_TRACE_V1, + PHYSICAL_BOUNDARY_TWO_SIDED_V1}) + + +def test_geometry_builders_reject_mismatched_topologies(): + positions = interface_positions() + x = stack_grid() + reduced = remove_shared_interface_nodes(x, positions) + with pytest.raises(ValueError, match="without shared interface nodes"): + build_geometry(PHYSICAL_BOUNDARY_TWO_SIDED_V1, x, positions) + with pytest.raises(ValueError, match="keeps a node on every interface"): + build_geometry(INTEGER_ENDPOINT_V1, reduced, positions) + with pytest.raises(ValueError, match="unknown historical geometry"): + build_geometry("unified_endpoint", x, positions) + + +def test_contract_geometry_applies_lengths_once_for_a_unit_cross_section(): + geometry = build_geometry(HALF_ENDPOINT_V1, stack_grid(), interface_positions()) + contract = geometry.to_contract_geometry() + assert contract.volume_unit == LENGTH and contract.face_unit == ONE + n = geometry.node_count + layout = Layout((Support("cells", "cell", (n,)), Support("faces", "face", (n - 1,))), (), + (EquationSpec("balance", "carriers", "cells", (n,), + PARTICLE / (LENGTH * LENGTH) / SECOND),)) + sink = TermSink(layout, "balance", contract) + sink.add(CellSource("uniform", "cells", np.ones(n), PARTICLE / (LENGTH * LENGTH * LENGTH) / SECOND)) + sink.add(FaceFlux("zero-flux", "faces", np.zeros(n - 1), PARTICLE / (LENGTH * LENGTH) / SECOND)) + assert sink.value().sum() == pytest.approx(geometry.extent_m, rel=1e-14) + + +@pytest.mark.parametrize("prefix", [0, 1, 2]) +def test_substrate_prefix_aligns_interfaces_with_the_legacy_helpers(prefix): + substrate = [StackLayer(f"glass{i}", 1.0e-3 * (i + 1), "substrate") for i in range(prefix)] + electrical = [StackLayer(f"L{i}", t, role) for i, (t, role) + in enumerate(zip(THICKNESSES, ("HTL", "absorber", "ETL")))] + layers = substrate + electrical + pairs = tuple((float(i), float(10 * i)) for i in range(len(layers) - 1)) + defects = tuple(f"defect{i}" for i in range(len(layers) - 2)) # one short: padding case + stack = ElectricalStack.from_layers(layers) + legacy_stack = SimpleNamespace( + layers=[SimpleNamespace(name=layer.name, thickness=layer.thickness_m, role=layer.role) + for layer in layers], + interfaces=pairs, interface_defects=defects) + assert [layer.name for layer in stack.electrical] == \ + [layer.name for layer in legacy_device.electrical_layers(legacy_stack)] + assert stack.substrate_prefix == prefix + assert stack.electrical_interface_data(pairs) == legacy_device.electrical_interfaces(legacy_stack) + assert stack.electrical_interface_data(defects, pad_missing=True) == \ + legacy_device.electrical_interface_defects(legacy_stack) + assert stack.full_interface_index(0) == prefix + assert stack.optical_offset_m == sum(layer.thickness for layer in legacy_stack.layers + if layer.role == "substrate") + from perovskite_sim.experiments.quasi_fermi_steady_state import _interface_positions + assert stack.interface_positions_m == _interface_positions(legacy_stack) + x = multilayer_grid([(layer.thickness_m, n) for layer, n in zip(stack.electrical, INTERVALS)]) + stencils = build_interface_stencils(x, stack.interface_positions_m) + for stencil in stencils: + assert stencil.shared_boundary_node is not None + assert x[stencil.shared_boundary_node] == stencil.interface_position_m + assert stack.optical_coordinates(x[0]) == stack.optical_offset_m + + +def test_substrate_must_be_a_contiguous_prefix(): + for layers in ([StackLayer("a", 1e-7, "absorber"), StackLayer("g", 1e-3, "substrate")], + [StackLayer("g", 1e-3, "substrate"), StackLayer("a", 1e-7, "absorber"), + StackLayer("g2", 1e-3, "substrate"), StackLayer("b", 1e-7, "ETL")]): + with pytest.raises(ValueError, match="contiguous prefix"): + ElectricalStack.from_layers(layers) + with pytest.raises(ValueError, match="no electrical layers"): + ElectricalStack.from_layers([StackLayer("g", 1e-3, "substrate")]) + with pytest.raises(IndexError): + ElectricalStack.from_layers([StackLayer("a", 1e-7, "absorber")]).full_interface_index(0) + with pytest.raises(ValueError, match="finite and positive"): + StackLayer("bad", 0.0, "absorber") diff --git a/tests/unit/physics/band_structure/band_structure_test_support.py b/tests/unit/physics/band_structure/band_structure_test_support.py new file mode 100644 index 00000000..4554805b --- /dev/null +++ b/tests/unit/physics/band_structure/band_structure_test_support.py @@ -0,0 +1,136 @@ +"""Test support: legacy presets mapped onto the P04-11 parameter binding. + +Only tests import this module. The mapping reads legacy ``MaterialParams`` +attribute names and resolves the legacy tier switches exactly as +``solver/mol.build_material_arrays`` does; the product code never sees them. +""" + +from __future__ import annotations + +import dataclasses +import os +from pathlib import Path + +import numpy as np + +from solarlab.physics.band_structure import ( + BandGapNarrowingSpec, + DopingProfileSpec, + GradingSpec, + LayerParameterInput, + TemperatureLawSpec, + compile_layer_parameters, +) + +LEGACY_ROOT = Path(__file__).resolve().parents[4] / "perovskite-sim" +CONFIGS = LEGACY_ROOT / "tests" / "fixtures" / "configs" + + +def load_stack(name: str, temperature_K: float | None = None): + from perovskite_sim.models.config_loader import load_device_from_yaml + from perovskite_sim.scaps_compat.loader import load_scaps_yaml + + if name == "scaps_mirror_v2.yaml": + stack = load_scaps_yaml(str(LEGACY_ROOT / "configs" / name)) + else: + stack = load_device_from_yaml(str(CONFIGS / name)) + if temperature_K is not None: + stack = dataclasses.replace(stack, T=temperature_K) + return stack + + +def electrical_grid(stack, n_grid: int = 60) -> np.ndarray: + from perovskite_sim.discretization.grid import Layer, multilayer_grid + from perovskite_sim.experiments.jv_sweep import _layer_node_counts + from perovskite_sim.models.device import electrical_layers + + elec = electrical_layers(stack) + return multilayer_grid([Layer(layer.thickness, n) for layer, n in zip(elec, _layer_node_counts(stack, n_grid))]) + + +def legacy_material_arrays(x, stack): + from perovskite_sim.solver.mol import ( + DEGENERATE_TRANSPORT_RESEARCH_RECOMBINATION_OFF, + build_material_arrays, + ) + from perovskite_sim.models.device import electrical_layers + + research = any( + layer.params.band_gap_narrowing_model != "off" + or layer.params.carrier_statistics == "fermi_dirac" + or layer.params.dopant_ionization_model == "discrete_level" + for layer in electrical_layers(stack) + ) + if research: + return build_material_arrays(x, stack, carrier_statistics_transport=DEGENERATE_TRANSPORT_RESEARCH_RECOMBINATION_OFF) + return build_material_arrays(x, stack) + + +def layer_input(layer) -> LayerParameterInput: + p = layer.params + return LayerParameterInput( + name=layer.name, + role=layer.role, + thickness_m=layer.thickness, + electron_affinity_eV=p.chi, + band_gap_eV=p.Eg, + intrinsic_density_m3=p.ni, + srh_n1_m3=p.n1, + srh_p1_m3=p.p1, + electron_mobility_m2_V_s=p.mu_n, + hole_mobility_m2_V_s=p.mu_p, + radiative_coefficient_m3_s=p.B_rad, + doping=DopingProfileSpec( + p.N_A, p.N_D, p.N_A_bulk, p.N_D_bulk, p.doping_profile_shape, p.doping_decay_length, p.doping_edge + ), + thermal_velocity_m_s=p.v_th, + ion_diffusivity_m2_s=p.D_ion, + negative_ion_diffusivity_m2_s=p.D_ion_neg, + conduction_dos_300_m3=p.Nc300, + valence_dos_300_m3=p.Nv300, + temperature_laws=TemperatureLawSpec(p.mu_T_gamma, p.E_a_ion, p.B_rad_T_gamma, p.varshni_alpha, p.varshni_beta), + grading=GradingSpec( + p.Eg_back, p.chi_back, p.grading_profile, p.grading_direction, p.grading_bowing, p.grading_char_length + ), + narrowing=BandGapNarrowingSpec( + p.band_gap_narrowing_model, + p.bgn_reference_energy_eV, + p.bgn_reference_density_m3, + p.bgn_log_shape, + p.bgn_conduction_band_fraction, + ), + ) + + +def tier_switches(stack) -> dict[str, bool]: + """The legacy material build's resolved switches (mode gates and env overrides).""" + + from perovskite_sim.models.mode import resolve_mode + + mode = resolve_mode(getattr(stack, "mode", "full")) + return { + "temperature_scaling": bool(mode.use_temperature_scaling), + "band_grading": bool( + getattr(stack, "band_grading", False) or os.environ.get("SOLARLAB_BAND_GRADING") == "1" + ) + and mode.name != "legacy", + "dos_band_potentials": bool( + getattr(stack, "dos_band_potentials", True) or os.environ.get("SOLARLAB_DOS_BAND") == "1" + ) + and mode.name != "legacy", + "dual_ions": bool(mode.use_dual_ions), + } + + +def binding_for(stack, x): + from perovskite_sim.models.device import electrical_layers + + return compile_layer_parameters( + x, [layer_input(layer) for layer in electrical_layers(stack)], temperature_K=stack.T, **tier_switches(stack) + ) + + +def same(a, b) -> bool: + a = np.asarray(a, dtype=float) + b = np.asarray(b, dtype=float) + return a.shape == b.shape and a.tobytes() == b.tobytes() diff --git a/tests/unit/physics/band_structure/test_band_structure_legacy_parity.py b/tests/unit/physics/band_structure/test_band_structure_legacy_parity.py new file mode 100644 index 00000000..ba87eceb --- /dev/null +++ b/tests/unit/physics/band_structure/test_band_structure_legacy_parity.py @@ -0,0 +1,297 @@ +"""M-class parity: P04-11 band-structure laws and binding against the legacy engine. + +Bitwise comparisons only (``struct`` bits for scalars, ``tobytes`` for arrays); +the legacy package is imported here as the frozen reference. +""" + +from __future__ import annotations + +import math +import struct +from types import SimpleNamespace + +import numpy as np +import pytest + +import band_structure_test_support as support +from perovskite_sim.physics import band_gap_narrowing as legacy_bgn +from perovskite_sim.physics import doping as legacy_doping +from perovskite_sim.physics import grading as legacy_grading +from perovskite_sim.physics import temperature as legacy_temperature +from solarlab.physics import band_structure as new +from solarlab.physics.band_structure import temperature as new_temperature + +TEMPERATURES = (150.0, 250.0, 299.99999, 300.0, 300.00001, 320.0, 350.0, 450.0) + + +def _bits(value: float) -> bytes: + return struct.pack(" bool: + return all(support.same(x, y) for x, y in zip(_arrays(a), _arrays(b))) + + +def test_reference_temperature_returns_the_declared_values(): + binding = compile_layer_parameters(_grid(), _stack(), temperature_K=300.0, **_SWITCHES) + absorber = binding.layer_masks[1] + assert np.all(binding.intrinsic_product_m6[absorber] == 8.05e10**2) + assert np.all(binding.srh_n1_m3[absorber] == 8.05e10) + assert np.all(binding.radiative_coefficient_m3_s[absorber] == 4e-17) + assert np.all(binding.electron_mobility_m2_V_s[absorber] == 2e-4) + assert np.all(binding.band_structure.physical_band_gap_eV[absorber] == 1.6) + assert np.all(binding.conduction_dos_m3[absorber] == 2.2e24) + assert binding.thermal_voltage_V == new.device_temperature(300.0, temperature_scaling=False)[1] + + +def test_disabled_temperature_scaling_freezes_every_law_at_300_K(): + hot = compile_layer_parameters(_grid(), _stack(), temperature_K=350.0, temperature_scaling=False, + band_grading=True, dos_band_potentials=True) + reference = compile_layer_parameters(_grid(), _stack(), temperature_K=300.0, **_SWITCHES) + assert hot.temperature_K == 300.0 and hot.requested_temperature_K == 350.0 + assert _bitwise_equal(hot, reference) + assert hot.sha256 != reference.sha256 # the request differs, so the identity does + + +def test_flat_grade_is_bitwise_the_ungraded_layer(): + layers = list(_stack()) + flat = list(layers) + flat[1] = dataclasses.replace(layers[1], grading=GradingSpec(band_gap_back_eV=1.6, electron_affinity_back_eV=3.9, + profile="parabolic")) + for T in (300.0, 335.0): + ungraded = compile_layer_parameters(_grid(), layers, temperature_K=T, **_SWITCHES) + graded = compile_layer_parameters(_grid(), flat, temperature_K=T, **_SWITCHES) + assert graded.layer_states[1].graded + assert _bitwise_equal(graded, ungraded) + + +def test_grading_switch_off_ignores_the_back_endpoints(): + layers = list(_stack()) + layers[1] = dataclasses.replace(layers[1], grading=GradingSpec(band_gap_back_eV=1.3)) + off = compile_layer_parameters(_grid(), layers, temperature_K=320.0, temperature_scaling=True, + band_grading=False, dos_band_potentials=True) + plain = compile_layer_parameters(_grid(), _stack(), temperature_K=320.0, temperature_scaling=True, + band_grading=False, dos_band_potentials=True) + assert _bitwise_equal(off, plain) and not off.layer_states[1].graded + + +def test_rebind_is_a_cold_compile_and_never_reuses_coefficients(): + cold_320 = compile_layer_parameters(_grid(), _stack(), temperature_K=320.0, **_SWITCHES) + cold_350 = compile_layer_parameters(_grid(), _stack(), temperature_K=350.0, **_SWITCHES) + rebound = cold_320.rebind(temperature_K=350.0) + assert _bitwise_equal(rebound, cold_350) and rebound.sha256 == cold_350.sha256 + back = rebound.rebind(temperature_K=320.0) + assert _bitwise_equal(back, cold_320) and back.sha256 == cold_320.sha256 + assert cold_320.sha256 != cold_350.sha256 + # Compounding the 320 K values as if they were 300 K inputs would differ: + compounded = new.mobility_at_temperature(float(cold_320.electron_mobility_m2_V_s[30]), 350.0 * 350.0 / 320.0) + assert compounded != float(cold_350.electron_mobility_m2_V_s[30]) + + +def test_composition_rebind_recompiles_the_layer(): + graded = list(_stack()) + graded[1] = dataclasses.replace(graded[1], grading=GradingSpec(band_gap_back_eV=1.3, electron_affinity_back_eV=4.0)) + base = compile_layer_parameters(_grid(), _stack(), temperature_K=320.0, **_SWITCHES) + rebound = base.rebind(layers=graded) + cold = compile_layer_parameters(_grid(), graded, temperature_K=320.0, **_SWITCHES) + assert _bitwise_equal(rebound, cold) and rebound.inputs_sha256 != base.inputs_sha256 + with pytest.raises(StaleParameterBindingError): + base.require(temperature_K=320.0, inputs_sha256=cold.inputs_sha256) + + +def test_a_binding_refuses_a_different_temperature_request(): + binding = compile_layer_parameters(_grid(), _stack(), temperature_K=320.0, **_SWITCHES) + binding.require(temperature_K=320.0, inputs_sha256=binding.inputs_sha256) + with pytest.raises(StaleParameterBindingError, match="rebind"): + binding.require(temperature_K=321.0) + + +def test_binding_arrays_are_read_only_and_state_free(): + binding = compile_layer_parameters(_grid(), _stack(), temperature_K=320.0, **_SWITCHES) + with pytest.raises(ValueError): + binding.intrinsic_product_m6[0] = 1.0 + with pytest.raises(ValueError): + binding.layer_masks[0][0] = False + fields = {field.name for field in dataclasses.fields(binding)} + assert not {"phi", "electron_density_m3", "field_V_m", "face_mobility"} & fields + + +def test_time_domain_temperature_is_declared_but_refused(): + assert new.TIME_DOMAIN_TEMPERATURE_QUALIFIED is False + with pytest.raises(TemperatureCapabilityError, match="pending_p04b"): + new.require_time_domain_temperature() + + +@pytest.mark.parametrize( + "build", + [ + lambda: GradingSpec(band_gap_back_eV=1.3, profile="Linear"), # never silently read as linear + lambda: GradingSpec(band_gap_back_eV=1.3, direction="sideways"), + lambda: DopingProfileSpec(1e22, 0.0, 1e20, None, "erfc", 1e-8), + lambda: _layer(thickness_m=0.0), + lambda: _layer(conduction_dos_300_m3=-1.0), + ], +) +def test_rejections_at_binding_time(build): + with pytest.raises(ValueError): + build() + + +def test_grid_must_be_covered_by_the_layers(): + with pytest.raises(ValueError, match="cover"): + compile_layer_parameters(np.linspace(0.0, 700e-9, 30), _stack(), temperature_K=300.0, **_SWITCHES) + with pytest.raises(ValueError): + compile_layer_parameters(_grid(), _stack(), temperature_K=0.0, **_SWITCHES) + + +def test_reference_calibrated_terms_are_declared_not_scaled(): + owners = {term.term: term.owner for term in new.REFERENCE_CALIBRATED_TERMS} + assert "interface_plane_thermal_velocity" in owners and "interface_defect_reference_densities" in owners + assert len(new.TEMPERATURE_LAWS) == len({law_id for _, law_id in new.TEMPERATURE_LAWS}) diff --git a/tests/unit/physics/band_structure/test_parameter_tangents.py b/tests/unit/physics/band_structure/test_parameter_tangents.py new file mode 100644 index 00000000..01ba3718 --- /dev/null +++ b/tests/unit/physics/band_structure/test_parameter_tangents.py @@ -0,0 +1,243 @@ +"""N class: temperature and composition tangents of the P04-11 parameter laws. + +Oracles are independent of the analytic forms: complex-step or central +differences of the M-class value laws, and differences of cold-compiled +bindings at neighbouring temperatures. +""" + +from __future__ import annotations + +import dataclasses +import math + +import numpy as np +import pytest + +from solarlab.physics import band_structure as laws +from solarlab.physics.band_structure import ( + DopingProfileSpec, + GradingSpec, + LayerParameterInput, + TemperatureCapabilityError, + TemperatureLawSpec, + compile_layer_parameters, +) +from solarlab.physics.band_structure import sensitivity as tangents + +K_B = 1.380649e-23 +Q = 1.602176634e-19 +NON_REFERENCE = (250.0, 320.0, 350.0, 420.0) + + +def _central(function, T, h=1e-3): + return (function(T + h) - function(T - h)) / (2.0 * h) + + +@pytest.mark.parametrize("T", NON_REFERENCE) +def test_scalar_law_tangents_match_central_differences(T): + cases = [ + (lambda t: laws.mobility_at_temperature(2e-4, t, -1.5), + tangents.mobility_temperature_derivative(2e-4, T, -1.5)), + (lambda t: laws.ion_diffusivity_at_temperature(1e-16, t, 0.58), + tangents.ion_diffusivity_temperature_derivative(1e-16, T, 0.58)), + (lambda t: laws.radiative_coefficient_at_temperature(4e-17, t, -1.2), + tangents.radiative_coefficient_temperature_derivative(4e-17, T, -1.2)), + (lambda t: laws.band_gap_at_temperature(1.12, t, 4.73e-4, 636.0), + tangents.band_gap_temperature_derivative(T, 4.73e-4, 636.0)), + (lambda t: laws.band_gap_at_temperature(1.6, t, -3e-4, 200.0), + tangents.band_gap_temperature_derivative(T, -3e-4, 200.0)), + (lambda t: laws.band_edge_dos_at_temperature(2.8e25, t), + tangents.band_edge_dos_temperature_derivative(2.8e25, T)), + (lambda t: laws.thermal_velocity_at_temperature(1e5, t), + tangents.thermal_velocity_temperature_derivative(1e5, T)), + ] + for function, analytic in cases: + assert analytic == pytest.approx(_central(function, T), rel=2e-6) + + +@pytest.mark.parametrize("T", NON_REFERENCE) +@pytest.mark.parametrize("dos", [(2.8e25, 1.04e25), (None, None)]) +def test_intrinsic_density_partials(T, dos): + ni, d_t, d_eg = tangents.intrinsic_density_temperature_partials(1e16, 1.12, T, *dos) + assert ni == laws.intrinsic_density_at_temperature(1e16, 1.12, T, *dos) + assert d_t == pytest.approx(_central(lambda t: laws.intrinsic_density_at_temperature(1e16, 1.12, t, *dos), T), rel=2e-6) + h = 1e-6 + fd_eg = (laws.intrinsic_density_at_temperature(1e16, 1.12 + h, T, *dos) + - laws.intrinsic_density_at_temperature(1e16, 1.12 - h, T, *dos)) / (2 * h) + assert d_eg == pytest.approx(fd_eg, rel=2e-6) + + +def test_disabled_laws_have_exactly_zero_tangents(): + assert tangents.radiative_coefficient_temperature_derivative(4e-17, 330.0, 0.0) == 0.0 + assert tangents.radiative_coefficient_temperature_derivative(0.0, 330.0, -1.5) == 0.0 + assert tangents.ion_diffusivity_temperature_derivative(0.0, 330.0, 0.58) == 0.0 + assert tangents.band_gap_temperature_derivative(330.0, 0.0, 636.0) == 0.0 + assert tangents.band_gap_temperature_derivative(330.0, 1e-4, -300.0) == 0.0 # degenerate reference: constant law + with pytest.raises(TemperatureCapabilityError): + tangents.band_gap_temperature_derivative(250.0, 1e-4, -250.0) # Varshni pole + + +def test_thermal_equilibrium_relation_holds_away_from_the_reference(): + Nc, Nv = 2.8e25, 1.04e25 + for T in NON_REFERENCE: + gap = laws.band_gap_at_temperature(1.12, T, 4.73e-4, 636.0) + ni = laws.intrinsic_density_at_temperature(1e16, gap, T, Nc, Nv) + expected = laws.band_edge_dos_at_temperature(Nc, T) * laws.band_edge_dos_at_temperature(Nv, T) * math.exp( + -gap * Q / (K_B * T) + ) + assert ni * ni == pytest.approx(expected, rel=1e-14) + + +def test_reference_jump_of_an_inconsistent_ni_declaration_is_measured_and_refused(): + # silicon-like declaration: ni_300 = 1e16 m^-3 is not the DOS formula's value + jump = tangents.intrinsic_density_reference_jump(1e16, 1.12, 2.8e25, 1.04e25) + formula = tangents.intrinsic_density_temperature_partials(1e16, 1.12, 300.0, 2.8e25, 1.04e25)[0] + assert jump == formula - 1e16 and abs(jump) > 1e-3 * 1e16 + with pytest.raises(TemperatureCapabilityError, match="discontinuous at 300 K"): + tangents.require_continuous_reference(1e16, 1.12, 2.8e25, 1.04e25) + consistent = tangents.intrinsic_density_temperature_partials(1e16, 1.12, 300.0, 2.8e25, 1.04e25)[0] + tangents.require_continuous_reference(consistent, 1.12, 2.8e25, 1.04e25) + tangents.require_continuous_reference(8.05e10, 1.6) # scaled branch is continuous by construction + + +def test_inverse_maps_round_trip(): + for T in NON_REFERENCE + (300.0,): + for alpha, beta in ((4.73e-4, 636.0), (-3e-4, 200.0), (0.0, 0.0)): + shifted = laws.band_gap_at_temperature(1.12, T, alpha, beta) + assert tangents.band_gap_at_reference(shifted, T, alpha, beta) == pytest.approx(1.12, abs=4e-16) + x = np.linspace(0.0, 500e-9, 101) + for profile, length in (("linear", None), ("parabolic", None), ("exponential", 80e-9), ("exponential", None)): + for direction in ("front_to_back", "back_to_front"): + y = laws.grading_coordinate(x, 500e-9, profile, length, direction) + back = tangents.grading_position(y, 500e-9, profile, length, direction) + np.testing.assert_allclose(back, x, rtol=0.0, atol=2e-21) + + +@pytest.mark.parametrize("direction", ["front_to_back", "back_to_front"]) +def test_exponential_inverse_keeps_steep_profile_endpoints(direction): + from decimal import Decimal, localcontext + + y = np.array([0.0, 0.5, np.nextafter(1.0, 0.0), 1.0]) + thickness, length = 300e-9, 5e-9 + position = tangents.grading_position(y, thickness, "exponential", length, direction) + with localcontext() as context: + context.prec = 100 + t, ell = Decimal(thickness), Decimal(length) + u = 1.0 - y if direction == "back_to_front" else y + expected = [float(-ell * (1 - Decimal(float(v)) + Decimal(float(v)) * (-t / ell).exp()).ln()) for v in u] + assert np.all(np.isfinite(position)) + np.testing.assert_allclose(position, expected, rtol=3e-15, atol=0.0) + assert position[-1 if direction == "front_to_back" else 0] == thickness + + +def test_reverse_exponential_inverse_preserves_small_supplied_composition(): + from decimal import Decimal, localcontext + + y = np.array([1e-20, 1e-16, 1e-8]) + thickness, length = 300e-9, 5e-9 + actual = tangents.grading_position(y, thickness, "exponential", length, "back_to_front") + with localcontext() as context: + context.prec = 120 + t, ell = Decimal(thickness), Decimal(length) + expected = [float(-ell * (Decimal(float(v)) + (1 - Decimal(float(v))) * (-t / ell).exp()).ln()) for v in y] + np.testing.assert_allclose(actual, expected, rtol=3e-15, atol=0.0) + with pytest.raises(ValueError, match="composition"): + tangents.grading_position(np.array([-1e-20]), thickness, "exponential", length, "back_to_front") + + +@pytest.mark.parametrize("profile, length", [("linear", None), ("parabolic", None), ("exponential", 80e-9)]) +@pytest.mark.parametrize("direction", ["front_to_back", "back_to_front"]) +def test_composition_coordinate_slope(profile, length, direction): + x = np.linspace(10e-9, 490e-9, 25) + h = 1e-12 + fd = (laws.grading_coordinate(x + h, 500e-9, profile, length, direction) + - laws.grading_coordinate(x - h, 500e-9, profile, length, direction)) / (2 * h) + np.testing.assert_allclose(tangents.grading_coordinate_slope(x, 500e-9, profile, length, direction), fd, rtol=1e-6) + + +def test_composition_law_tangents(): + y = np.linspace(0.0, 1.0, 21) + h = 1e-7 + for front, back, bowing in ((1.04, 1.68, 0.2), (1.6, 1.1, -0.15)): + fd = (laws.band_gap_profile(y + h, front, back, bowing) - laws.band_gap_profile(y - h, front, back, bowing)) / (2 * h) + np.testing.assert_allclose(tangents.band_gap_composition_derivative(y, front, back, bowing), fd, rtol=1e-7, atol=1e-9) + assert np.all(tangents.band_gap_composition_derivative(y, 1.2, 1.2, 0.0) == 0.0) + assert np.all(tangents.affinity_composition_derivative(y, 4.1, 4.4) == pytest.approx(0.3)) + + +def _layers(*, graded: bool, narrowed: bool): + from solarlab.physics.band_structure import BandGapNarrowingSpec + + absorber = LayerParameterInput( + name="absorber", role="absorber", thickness_m=400e-9, electron_affinity_eV=3.9, band_gap_eV=1.6, + intrinsic_density_m3=8.05e10, srh_n1_m3=3e9, srh_p1_m3=2.1e12, electron_mobility_m2_V_s=2e-4, + hole_mobility_m2_V_s=1e-4, radiative_coefficient_m3_s=4e-17, doping=DopingProfileSpec(1e22, 0.0), + ion_diffusivity_m2_s=1e-16, negative_ion_diffusivity_m2_s=3e-17, + temperature_laws=TemperatureLawSpec(-1.5, 0.58, -1.2, -3e-4, 200.0), + grading=GradingSpec(band_gap_back_eV=1.3, electron_affinity_back_eV=4.0, bowing_eV=0.1) if graded else GradingSpec(), + narrowing=BandGapNarrowingSpec("slotboom") if narrowed else BandGapNarrowingSpec(), + ) + contact = LayerParameterInput( + name="htl", role="htl", thickness_m=100e-9, electron_affinity_eV=2.1, band_gap_eV=3.0, + intrinsic_density_m3=1e5, srh_n1_m3=1e5, srh_p1_m3=1e5, electron_mobility_m2_V_s=1e-6, + hole_mobility_m2_V_s=1e-6, radiative_coefficient_m3_s=0.0, doping=DopingProfileSpec(1e24, 0.0), + conduction_dos_300_m3=1e26, valence_dos_300_m3=1e26, + ) + return (contact, dataclasses.replace(absorber, conduction_dos_300_m3=2.2e24, valence_dos_300_m3=1.8e25)) + + +_FIELDS = ( + ("physical_band_gap_eV_K", lambda b: b.band_structure.physical_band_gap_eV), + ("transport_band_gap_eV_K", lambda b: b.band_structure.transport_band_gap_eV), + ("transport_electron_affinity_eV_K", lambda b: b.band_structure.transport_electron_affinity_eV), + ("intrinsic_product_m6_K", lambda b: b.intrinsic_product_m6), + ("srh_n1_m3_K", lambda b: b.srh_n1_m3), + ("srh_p1_m3_K", lambda b: b.srh_p1_m3), + ("radiative_coefficient_m3_s_K", lambda b: b.radiative_coefficient_m3_s), + ("electron_diffusivity_K", lambda b: b.electron_diffusivity_m2_s), + ("hole_mobility_K", lambda b: b.hole_mobility_m2_V_s), + ("ion_diffusivity_K", lambda b: b.ion_diffusivity_m2_s), + ("negative_ion_diffusivity_K", lambda b: b.negative_ion_diffusivity_m2_s), + ("conduction_dos_m3_K", lambda b: b.conduction_dos_m3), + ("thermal_velocity_K", lambda b: b.thermal_velocity_m_s), +) + + +@pytest.mark.parametrize("graded, narrowed", [(False, False), (True, False), (False, True)]) +@pytest.mark.parametrize("T", [320.0, 350.0]) +def test_binding_sensitivity_matches_differences_of_cold_compiles(graded, narrowed, T): + x = np.linspace(0.0, 500e-9, 61) + layers = _layers(graded=graded, narrowed=narrowed) + switches = dict(temperature_scaling=True, band_grading=True, dos_band_potentials=True) + binding = compile_layer_parameters(x, layers, temperature_K=T, **switches) + sensitivity = tangents.binding_temperature_sensitivity(binding) + h = 1e-3 + plus = binding.rebind(temperature_K=T + h) + minus = binding.rebind(temperature_K=T - h) + assert sensitivity.temperature_dependent and not sensitivity.time_domain_qualified + for name, read in _FIELDS: + analytic = getattr(sensitivity, name) + fd = (np.asarray(read(plus)) - np.asarray(read(minus))) / (2 * h) + finite = np.isfinite(fd) + assert np.array_equal(finite, np.isfinite(analytic)), name + scale = np.max(np.abs(fd[finite])) if np.any(finite) else 0.0 + np.testing.assert_allclose(analytic[finite], fd[finite], rtol=1e-5, atol=1e-6 * scale + 1e-300, err_msg=name) + assert np.all(sensitivity.physical_electron_affinity_eV_K == 0.0) + assert sensitivity.thermal_voltage_V_K == K_B / Q + + +def test_binding_sensitivity_without_temperature_scaling_is_zero(): + binding = compile_layer_parameters(np.linspace(0.0, 500e-9, 31), _layers(graded=False, narrowed=False), + temperature_K=350.0, temperature_scaling=False, band_grading=True, + dos_band_potentials=True) + sensitivity = tangents.binding_temperature_sensitivity(binding) + assert not sensitivity.temperature_dependent + assert all(np.all(getattr(sensitivity, name) == 0.0) for name, _ in _FIELDS) + + +def test_binding_sensitivity_at_300_K_refuses_a_discontinuous_declaration(): + layers = list(_layers(graded=False, narrowed=False)) + binding = compile_layer_parameters(np.linspace(0.0, 500e-9, 31), layers, temperature_K=300.0, + temperature_scaling=True, band_grading=True, dos_band_potentials=True) + with pytest.raises(TemperatureCapabilityError, match="discontinuous"): + tangents.binding_temperature_sensitivity(binding) diff --git a/tests/unit/physics/band_structure/test_thermal_equilibrium_relations.py b/tests/unit/physics/band_structure/test_thermal_equilibrium_relations.py new file mode 100644 index 00000000..511057ed --- /dev/null +++ b/tests/unit/physics/band_structure/test_thermal_equilibrium_relations.py @@ -0,0 +1,153 @@ +"""M class: thermal-equilibrium relations and independent closed forms of the value laws. + +These tests read the migrated (M-class) laws and binding only. The closed +forms are evaluated in 50-digit decimal arithmetic, independently of NumPy. +""" + +from __future__ import annotations + +from decimal import Decimal, getcontext + +import numpy as np +import pytest + +from solarlab.physics import band_structure as laws +from solarlab.physics.band_structure import ( + BandGapNarrowingSpec, + DopingProfileSpec, + GradingSpec, + LayerParameterInput, + TemperatureLawSpec, + compile_layer_parameters, +) + +getcontext().prec = 50 +K_B = Decimal("1.380649e-23") +Q = Decimal("1.602176634e-19") +T_REF = Decimal(300) +NON_REFERENCE = (320.0, 350.0) +EPS = np.finfo(float).eps + + +def _close(value: float, exact: Decimal, ulps: int) -> bool: + return abs(Decimal(value) - exact) <= ulps * Decimal(EPS) * abs(exact) + + +@pytest.mark.parametrize("T", NON_REFERENCE) +def test_two_non_reference_temperatures_match_decimal_closed_forms(T): + t = Decimal(T) + r = t / T_REF + Nc, Nv, gap = Decimal("2.8e25"), Decimal("1.04e25"), Decimal("1.12") + exact_dos_ni = (Nc * Nv * r**3).sqrt() * (-(gap * Q) / (2 * K_B * t)).exp() + assert _close(laws.intrinsic_density_at_temperature(1e16, 1.12, T, 2.8e25, 1.04e25), exact_dos_ni, 16) + exact_scaled_ni = Decimal("8.05e10") * r ** Decimal("1.5") * (-(Decimal("1.6") * Q) / (2 * K_B) * (1 / t - 1 / T_REF)).exp() + assert _close(laws.intrinsic_density_at_temperature(8.05e10, 1.6, T), exact_scaled_ni, 16) + assert _close(laws.mobility_at_temperature(2e-4, T, -1.5), Decimal("2e-4") * r ** Decimal("-1.5"), 8) + exact_D = Decimal("1e-16") * (-(Decimal("0.58") * Q) / K_B * (1 / t - 1 / T_REF)).exp() + assert _close(laws.ion_diffusivity_at_temperature(1e-16, T, 0.58), exact_D, 64) + assert _close(laws.radiative_coefficient_at_temperature(4e-17, T, -1.2), Decimal("4e-17") * r ** Decimal("-1.2"), 8) + alpha, beta = Decimal("4.73e-4"), Decimal(636) + exact_gap = Decimal("1.12") - alpha * (t * t / (t + beta) - T_REF * T_REF / (T_REF + beta)) + assert _close(laws.band_gap_at_temperature(1.12, T, 4.73e-4, 636.0), exact_gap, 8) + assert _close(laws.band_edge_dos_at_temperature(2.8e25, T), Nc * r ** Decimal("1.5"), 8) + assert _close(laws.thermal_velocity_at_temperature(1e5, T), Decimal("1e5") * r.sqrt(), 8) + + +@pytest.mark.parametrize("T", NON_REFERENCE + (250.0,)) +def test_dos_branch_satisfies_mass_action_away_from_the_reference(T): + gap = laws.band_gap_at_temperature(1.12, T, 4.73e-4, 636.0) + ni = laws.intrinsic_density_at_temperature(1e16, gap, T, 2.8e25, 1.04e25) + product = laws.band_edge_dos_at_temperature(2.8e25, T) * laws.band_edge_dos_at_temperature(1.04e25, T) + assert ni * ni == pytest.approx(product * np.exp(-gap * 1.602176634e-19 / (1.380649e-23 * T)), rel=32 * EPS) + + +def test_declared_ni_is_kept_at_the_reference_even_when_the_dos_formula_differs(): + """The historical 300 K semantics: the law jumps when the declaration is inconsistent. + + The silicon research presets declare ni_300 = 1e16 m^-3 with Nc/Nv/Eg whose + DOS formula gives 6.18e15 m^-3; just above 300 K the law switches to the + formula, a -38.2 % jump. Kept on purpose (changing it is a physics revision). + """ + + # csi_*_pn_research.yaml: ni = 1.0e16, Eg = 1.124, Nc300 = 2.8e25, Nv300 = 1.04e25 + at_reference = laws.intrinsic_density_at_temperature(1e16, 1.124, 300.0, 2.8e25, 1.04e25) + just_above = laws.intrinsic_density_at_temperature(1e16, 1.124, 300.0 + 1e-9, 2.8e25, 1.04e25) + assert at_reference == 1e16 + assert just_above / 1e16 - 1.0 == pytest.approx(-0.3821, abs=5e-5) + consistent = laws.intrinsic_density_at_temperature(8.05e10, 1.6, 300.0 + 1e-9) + assert consistent / 8.05e10 - 1.0 == pytest.approx(0.0, abs=1e-6) + + +def _layer(**overrides): + values = dict( + name="absorber", role="absorber", thickness_m=400e-9, electron_affinity_eV=4.05, band_gap_eV=1.12, + intrinsic_density_m3=6.0e15, srh_n1_m3=6.0e15 * 3.0, srh_p1_m3=6.0e15 / 3.0, electron_mobility_m2_V_s=0.14, + hole_mobility_m2_V_s=0.045, radiative_coefficient_m3_s=1.1e-20, doping=DopingProfileSpec(3e24, 0.0), + conduction_dos_300_m3=2.8e25, valence_dos_300_m3=1.04e25, + temperature_laws=TemperatureLawSpec(-1.5, 0.58, -1.5, 4.73e-4, 636.0), + ) + values.update(overrides) + return LayerParameterInput(**values) + + +@pytest.mark.parametrize( + "layer", + [ + _layer(), + _layer(narrowing=BandGapNarrowingSpec("slotboom")), + _layer(grading=GradingSpec(band_gap_back_eV=1.3, electron_affinity_back_eV=3.95, profile="parabolic", bowing_eV=0.05)), + _layer(grading=GradingSpec(band_gap_back_eV=1.3), narrowing=BandGapNarrowingSpec("slotboom")), + ], +) +@pytest.mark.parametrize("T", (300.0,) + NON_REFERENCE) +def test_srh_references_keep_mass_action_and_einstein_holds(layer, T): + x = np.linspace(0.0, 400e-9, 41) + binding = compile_layer_parameters(x, (layer,), temperature_K=T, temperature_scaling=True, band_grading=True, + dos_band_potentials=True) + np.testing.assert_allclose(binding.srh_n1_m3 * binding.srh_p1_m3, binding.intrinsic_product_m6, rtol=16 * EPS) + assert np.array_equal(binding.electron_diffusivity_m2_s, binding.electron_mobility_m2_V_s * binding.thermal_voltage_V) + assert np.array_equal(binding.hole_diffusivity_m2_s, binding.hole_mobility_m2_V_s * binding.thermal_voltage_V) + + +def test_graded_intrinsic_product_follows_the_local_gap(): + layer = _layer(grading=GradingSpec(band_gap_back_eV=1.3, profile="linear")) + x = np.linspace(0.0, 400e-9, 41) + for T in NON_REFERENCE: + binding = compile_layer_parameters(x, (layer,), temperature_K=T, temperature_scaling=True, band_grading=True, + dos_band_potentials=True) + state = binding.layer_states[0] + gap = binding.band_structure.physical_band_gap_eV + expected = state.intrinsic_density_m3**2 * np.exp(-(gap - state.band_gap_front_eV) / binding.thermal_voltage_V) + np.testing.assert_allclose(binding.intrinsic_product_m6, expected, rtol=4 * EPS) + # Both endpoints carry the same Varshni shift, so the grade itself is temperature independent. + reference = compile_layer_parameters(x, (layer,), temperature_K=300.0, temperature_scaling=True, + band_grading=True, dos_band_potentials=True) + shift = laws.band_gap_at_temperature(1.12, T, 4.73e-4, 636.0) - 1.12 + np.testing.assert_allclose(gap - reference.band_structure.physical_band_gap_eV, shift, atol=8 * EPS) + + +def test_band_gap_narrowing_lowers_the_gap_and_raises_the_affinity(): + plain = compile_layer_parameters(np.linspace(0.0, 400e-9, 21), (_layer(),), temperature_K=320.0, + temperature_scaling=True, band_grading=True, dos_band_potentials=True) + narrowed = compile_layer_parameters(np.linspace(0.0, 400e-9, 21), (_layer(narrowing=BandGapNarrowingSpec("slotboom")),), + temperature_K=320.0, temperature_scaling=True, band_grading=True, + dos_band_potentials=True) + dEg = narrowed.band_gap_narrowing_eV + assert np.all(dEg > 0.0) + np.testing.assert_allclose(plain.band_structure.physical_band_gap_eV - narrowed.band_structure.physical_band_gap_eV, + dEg, atol=4 * EPS) + np.testing.assert_allclose(narrowed.band_structure.physical_electron_affinity_eV + - plain.band_structure.physical_electron_affinity_eV, 0.5 * dEg, atol=8 * EPS) + np.testing.assert_allclose(narrowed.intrinsic_product_m6 / plain.intrinsic_product_m6, + np.exp(dEg / narrowed.thermal_voltage_V), rtol=8 * EPS) + + +def test_doping_profile_forward_and_edge_values(): + spec = DopingProfileSpec(1e25, 0.0, 1e21, None, "gaussian", 50e-9, "front") + assert laws.doping_at_position(spec, 0.0, 400e-9)[0] == 1e25 + deep = laws.doping_at_position(spec, 400e-9, 400e-9)[0] + assert deep == pytest.approx(1e21, rel=1e-12) + one_e = laws.doping_at_position(spec, 50e-9, 400e-9)[0] + assert one_e == pytest.approx(1e21 + (1e25 - 1e21) * np.exp(-1.0), rel=1e-15) + back = DopingProfileSpec(1e25, 0.0, 1e21, None, "gaussian", 50e-9, "back") + assert laws.doping_at_position(back, 400e-9, 400e-9)[0] == 1e25 diff --git a/tests/unit/physics/contacts/test_contact_boundary_flux.py b/tests/unit/physics/contacts/test_contact_boundary_flux.py new file mode 100644 index 00000000..5ebe19c8 --- /dev/null +++ b/tests/unit/physics/contacts/test_contact_boundary_flux.py @@ -0,0 +1,77 @@ +"""Unified contact boundary particle flux (N class). + +``F = n_out S (c - c_eq)`` for both carriers, with the historical currents +recovered through the output-channel signs ``J_n = -q F_n`` and +``J_p = +q F_p`` (one rounding of the product order apart). Blocking returns an +exact zero; a fixed reservoir is a constraint, not a flux. +""" + +from __future__ import annotations + +import math + +import numpy as np +import pytest + +from solarlab.physics.contacts import CarrierExchangeChannel, legacy_selective_contact_current +from solarlab.physics.contacts.boundary_flux import boundary_particle_flux, reservoir_constraint + +Q = 1.602176634e-19 +EPS = float(np.finfo(float).eps) + + +@pytest.mark.parametrize("carrier", ["n", "p"]) +@pytest.mark.parametrize("side", ["left", "right"]) +def test_unified_boundary_flux_matches_the_historical_robin_current(carrier, side): + rng = np.random.default_rng(29) + charge = -Q if carrier == "n" else Q + for _ in range(300): + S = float(10.0 ** rng.uniform(-3.0, 9.0)) + density = float(10.0 ** rng.uniform(-5.0, 26.0)) + reservoir = float(10.0 ** rng.uniform(-5.0, 26.0)) + channel = CarrierExchangeChannel(carrier, side, S, reservoir) + flux = boundary_particle_flux(channel, density) + legacy = legacy_selective_contact_current(density, reservoir, S, carrier=carrier, + side=side) + assert abs(charge * flux.flux - legacy) <= 4.0 * EPS * abs(legacy) + assert flux.density_derivative == channel.outward_normal * S + + +def test_finite_exchange_relaxes_the_boundary_toward_its_reservoir(): + """Excess carriers leave through the contact face; deficits are refilled.""" + for side in ("left", "right"): + channel = CarrierExchangeChannel("n", side, 1.0e4, 1.0e20) + excess = boundary_particle_flux(channel, 3.0e20).flux + deficit = boundary_particle_flux(channel, 1.0e19).flux + inflow_sign = 1.0 if side == "left" else -1.0 # +F enters at the left face + assert inflow_sign * excess < 0.0 and inflow_sign * deficit > 0.0 + assert boundary_particle_flux(channel, 1.0e20).flux == 0.0 + + +def test_blocking_and_fixed_reservoir_channels(): + blocked = CarrierExchangeChannel("p", "right", 0.0, 1.0e10) + result = boundary_particle_flux(blocked, 7.0e22) + assert result.flux == 0.0 and not math.copysign(1.0, result.flux) < 0 + assert result.density_derivative == 0.0 + fixed = CarrierExchangeChannel("n", "left", None, 2.0e18) + assert reservoir_constraint(fixed, 2.0e18) == 0.0 + assert reservoir_constraint(fixed, 3.0e18) == 1.0e18 + with pytest.raises(ValueError, match="constraint"): + boundary_particle_flux(fixed, 1.0) + with pytest.raises(ValueError, match="pins"): + reservoir_constraint(blocked, 1.0) + + +def test_large_exchange_velocity_approaches_the_fixed_reservoir(): + """S -> infinity: the boundary balance forces c -> c_eq, the gap closing as 1/S.""" + supply = 1.0e22 # particle flux the interior delivers to the right contact face + reservoir = 1.0e16 + gaps = [] + for S in (1e2, 1e4, 1e6, 1e8): + # DC balance of the contact cell: supply = F_out = S (c - c_eq). + density = reservoir + supply / S + channel = CarrierExchangeChannel("n", "right", S, reservoir) + assert boundary_particle_flux(channel, density).flux == pytest.approx(supply, rel=1e-12) + gaps.append(density - reservoir) + ratios = np.asarray(gaps[:-1]) / np.asarray(gaps[1:]) + np.testing.assert_allclose(ratios, 100.0, rtol=1e-6) diff --git a/tests/unit/physics/contacts/test_contact_channels.py b/tests/unit/physics/contacts/test_contact_channels.py new file mode 100644 index 00000000..0000a59b --- /dev/null +++ b/tests/unit/physics/contacts/test_contact_channels.py @@ -0,0 +1,72 @@ +"""Contact exchange channels and reservoir sources (M class). + +Each carrier/side channel independently chooses a fixed reservoir, a +blocking (S = 0) or a finite Robin exchange; the reservoir source (doping, +statistics closure, Schottky barrier, metal floor) is declared separately and +never selects the Poisson potential. The unified boundary particle flux (N +class) is tested in ``test_contact_boundary_flux.py``. +""" + +from __future__ import annotations + +import math + +import pytest + +from solarlab.physics.contacts import ( + BLOCKING, FIXED_RESERVOIR, ROBIN, CarrierExchangeChannel, doping_equilibrium_densities, + exchange_kind, metal_reservoir_floor, schottky_equilibrium_n, schottky_equilibrium_p, +) + + +def test_each_channel_declares_its_own_exchange_kind(): + assert exchange_kind(None) == FIXED_RESERVOIR + assert exchange_kind(0.0) == BLOCKING + assert exchange_kind(1.0e-12) == ROBIN and exchange_kind(1.0e9) == ROBIN + for bad in (-1.0, math.nan, math.inf): + with pytest.raises(ValueError, match="finite and non-negative"): + exchange_kind(bad) + channel = CarrierExchangeChannel("n", "right", 1.0e3, 1.0e24, "schottky_barrier") + assert channel.kind == ROBIN and channel.outward_normal == 1.0 + assert CarrierExchangeChannel("p", "left", None, 1.0e24).outward_normal == -1.0 + for bad in (dict(carrier="e"), dict(side="top"), dict(reservoir_source="guess"), + dict(reservoir_density_m3=-1.0), dict(velocity_m_s=-5.0)): + args = dict(carrier="n", side="left", velocity_m_s=1.0, reservoir_density_m3=1.0, + reservoir_source="doping_equilibrium") + args.update(bad) + with pytest.raises(ValueError): + CarrierExchangeChannel(**args) + + +def test_schottky_and_metal_reservoirs(): + N_c, V_T = 2.2e24, 0.025852 + assert schottky_equilibrium_n(N_c, 0.0, V_T) == N_c + assert schottky_equilibrium_n(N_c, 0.5, V_T) == pytest.approx(N_c * math.exp(-0.5 / V_T)) + assert schottky_equilibrium_p(1.8e25, 0.3, V_T) == pytest.approx( + 1.8e25 * math.exp(-0.3 / V_T)) + ni_sq = 1.0e20 + # Heavily doped n contact: the metal floor is dormant (bit-identical pass-through). + n_heavy, p_heavy = doping_equilibrium_densities(1.0e24, 0.0, ni_sq) + assert metal_reservoir_floor(n_heavy, p_heavy, intrinsic_density_squared_m6=ni_sq, + donor_density_m3=1.0e24, acceptor_density_m3=0.0, + conduction_dos_m3=N_c, valence_dos_m3=1.8e25, + barrier_eV=0.3, thermal_voltage_V=V_T) == (n_heavy, p_heavy) + # Lightly doped n contact: the floor supplies N_c exp(-phi_B/V_T) and keeps n p = ni^2. + n_light, p_light = doping_equilibrium_densities(1.0e12, 0.0, ni_sq) + n_floor, p_floor = metal_reservoir_floor( + n_light, p_light, intrinsic_density_squared_m6=ni_sq, donor_density_m3=1.0e12, + acceptor_density_m3=0.0, conduction_dos_m3=N_c, valence_dos_m3=1.8e25, + barrier_eV=0.3, thermal_voltage_V=V_T) + assert n_floor == N_c * math.exp(-0.3 / V_T) and n_floor > n_light + assert n_floor * p_floor == pytest.approx(ni_sq, rel=1e-15) + # p-type contact floors the hole reservoir; a missing DOS leaves it untouched. + n_p, p_p = doping_equilibrium_densities(0.0, 1.0e12, ni_sq) + floored = metal_reservoir_floor(n_p, p_p, intrinsic_density_squared_m6=ni_sq, + donor_density_m3=0.0, acceptor_density_m3=1.0e12, + conduction_dos_m3=N_c, valence_dos_m3=1.8e25, + barrier_eV=0.3, thermal_voltage_V=V_T) + assert floored[1] == 1.8e25 * math.exp(-0.3 / V_T) + assert metal_reservoir_floor(n_p, p_p, intrinsic_density_squared_m6=ni_sq, + donor_density_m3=0.0, acceptor_density_m3=1.0e12, + conduction_dos_m3=N_c, valence_dos_m3=None, barrier_eV=0.3, + thermal_voltage_V=V_T) == (n_p, p_p) diff --git a/tests/unit/physics/contacts/test_contact_legacy_parity.py b/tests/unit/physics/contacts/test_contact_legacy_parity.py new file mode 100644 index 00000000..f635279d --- /dev/null +++ b/tests/unit/physics/contacts/test_contact_legacy_parity.py @@ -0,0 +1,370 @@ +"""Contacts: potential sources, reservoirs, exchange and thermodynamics (M class). + +Every value is compared bitwise with the legacy engine (read-only import) on +shipped presets: the Poisson contact potential for each source (and the old +compatibility sentinel), junction polarity and the right boundary, the +doping/metal-floor reservoirs, the Robin current sign table (signed zero +included), the exchange-velocity resolution, the semiconductor contact +closures (MB/FD x fully/discrete) and the four-QFL thermodynamic assessment. +The device-to-input adaptation lives in this test, never in the product. +""" + +from __future__ import annotations + +import dataclasses +import math +from pathlib import Path +import warnings + +import numpy as np +import pytest + +from perovskite_sim.experiments.jv_sweep import build_electrical_grid +from perovskite_sim.models import device as legacy_device +from perovskite_sim.models.config_loader import load_device_from_yaml +from perovskite_sim.models.mode import resolve_mode +from perovskite_sim.physics import contacts as legacy_contacts +from perovskite_sim.physics import temperature as legacy_temperature +from perovskite_sim.scaps_compat import load_scaps_yaml +from perovskite_sim.solver import mol as legacy_mol + +from solarlab.physics.contacts import ( + BuiltInPotentialSources, ContactClosureCapabilityError, ContactEndpoint, ContactMaterial, + ContactPotentialBoundary, LegacyBandContact, assess_contact_thermodynamics, + doping_equilibrium_densities, junction_polarity, legacy_band_fermi_level, + legacy_selective_contact_current, metal_reservoir_floor, resolve_built_in_potential_mode, + resolve_exchange_velocities, schottky_equilibrium_n, schottky_equilibrium_p, + semiconductor_contact_state, semiconductor_work_function, +) + +ROOT = Path(__file__).resolve().parents[4] / "perovskite-sim" +SCAPS = ("configs/scaps_mirror_v2.yaml", "tests/fixtures/configs/scaps_mirror.yaml", + "tests/fixtures/configs/scaps_mirror_v2_robin_moderate.yaml", + "tests/fixtures/configs/interface_charge_reference.yaml") +STANDARD = ("tests/fixtures/configs/nip_MAPbI3.yaml", + "tests/fixtures/configs/ionmonger_benchmark.yaml", + "tests/fixtures/configs/cigs_baseline.yaml", + "tests/fixtures/configs/cSi_homojunction.yaml", + "tests/fixtures/configs/tpv_physical_reference.yaml", + "tests/fixtures/configs/solarscale_nip_band_aligned_iface.yaml", + "tests/fixtures/configs/selective_contacts_demo.yaml") +FD_PRESETS = ("tests/fixtures/configs/csi_degenerate_pn_research.yaml", + "tests/fixtures/configs/csi_incomplete_ionization_pn_research.yaml") + + +def load(path): + return (load_scaps_yaml if path in SCAPS else load_device_from_yaml)(str(ROOT / path)) + + +def same(a, b): + return repr(a) == repr(b) + + +def material_arrays(stack, N=40, **kwargs): + x = build_electrical_grid(stack, N) + with warnings.catch_warnings(): + warnings.simplefilter("ignore") + return legacy_mol.build_material_arrays(x, stack, **kwargs) + + +def nan_if_missing(value): + return math.nan if value is None else float(value) + + +def contact_material(params, *, temperature, scaling): + """The temperature resolution the legacy contact closures apply internally.""" + band_gap = (legacy_temperature.eg_at_T(params.Eg, temperature, params.varshni_alpha, + params.varshni_beta) if scaling else float(params.Eg)) + dos_scale = (temperature / 300.0) ** 1.5 if scaling else 1.0 + return ContactMaterial( + temperature_K=temperature, electron_affinity_eV=float(params.chi), + band_gap_eV=band_gap, + conduction_dos_m3=float(params.Nc300) * dos_scale if params.Nc300 else nan_if_missing( + params.Nc300), + valence_dos_m3=float(params.Nv300) * dos_scale if params.Nv300 else nan_if_missing( + params.Nv300), + donor_density_m3=float(params.N_D), acceptor_density_m3=float(params.N_A), + carrier_statistics=params.carrier_statistics, + dopant_ionization_model=params.dopant_ionization_model, + donor_binding_energy_eV=params.donor_binding_energy_eV, + acceptor_binding_energy_eV=params.acceptor_binding_energy_eV, + donor_degeneracy=float(params.donor_degeneracy), + acceptor_degeneracy=float(params.acceptor_degeneracy), + band_gap_narrowing_model=params.band_gap_narrowing_model, + bulk_trap_distribution=params.bulk_trap_distribution is not None, + explicit_defects=charged_explicit_defects(params), + ) + + +def charged_explicit_defects(params): + """The legacy dispatch: only charged, distributed or multivalent species reroute.""" + from perovskite_sim.models.multivalent_defects import MULTIVALENT_DEFECT_SCHEMA_VERSION + + multivalent = params.defect_schema_version == MULTIVALENT_DEFECT_SCHEMA_VERSION + return multivalent or any( + item.charge_transition in {"acceptor", "donor"} or item.distribution.kind != "single_level" + for item in params.bulk_defects) + + +def potential_sources(stack): + layers = legacy_device.electrical_layers(stack) + sim_mode = resolve_mode(stack.mode) + scaling = sim_mode.use_temperature_scaling + temperature = float(stack.T) if scaling else 300.0 + historical_grading = getattr(stack, "band_grading", False) + strict_grading = bool(stack.band_grading) and sim_mode.name != "legacy" + left_h = legacy_device._edge_params(layers[0], "front", historical_grading) + right_h = legacy_device._edge_params(layers[-1], "back", historical_grading) + left_s = legacy_device._edge_params(layers[0], "front", strict_grading) + right_s = legacy_device._edge_params(layers[-1], "back", strict_grading) + + def band(params): + return LegacyBandContact(params.chi, params.Eg, params.N_D, params.N_A, params.ni) + + return BuiltInPotentialSources( + mode=stack.built_in_potential_mode, manual_V_bi=stack.V_bi, + flat_band_contacts=stack.flat_band_contacts, + left_band=band(left_h), right_band=band(right_h), + electrical_layer_bands=tuple((layer.params.chi, layer.params.Eg) for layer in layers + if layer.params is not None), + left_material=contact_material(left_s, temperature=temperature, scaling=scaling), + right_material=contact_material(right_s, temperature=temperature, scaling=scaling), + work_function_left_eV=stack.work_function_left_eV, + work_function_right_eV=stack.work_function_right_eV, + ) + + +def outcome(call): + try: + return repr(call()) + except Exception as error: # noqa: BLE001 - compare the legacy failure exactly + return f"{type(error).__name__}: {error}" + + +def variants(stack): + """The loaded stack plus every contact-potential source the legacy stack accepts.""" + yield stack + changes = ( + dict(built_in_potential_mode=None, flat_band_contacts=True), + dict(built_in_potential_mode=None, flat_band_contacts=False), + dict(built_in_potential_mode="legacy_manual", V_bi=0.91), + dict(built_in_potential_mode="metal_work_function", work_function_left_eV=5.1, + work_function_right_eV=4.2), + dict(built_in_potential_mode="semiconductor_work_function"), + dict(built_in_potential_mode="semiconductor_work_function", T=250.0), + dict(built_in_potential_mode="semiconductor_work_function", T=350.0), + ) + for change in changes: + try: # e.g. FD layers already refuse every source but the semiconductor one + variant = dataclasses.replace(stack, **change) + except ValueError: + continue + yield variant + + +@pytest.mark.parametrize("path", SCAPS + STANDARD + FD_PRESETS) +def test_contact_potential_sources_match_the_legacy_resolution_bitwise(path): + for stack in variants(load(path)): + sources = potential_sources(stack) + assert sources.resolved_mode == stack.resolved_built_in_potential_mode() + assert outcome(sources.poisson_potential) == outcome(stack.poisson_built_in_potential) + assert outcome(sources.operating_potential) == outcome( + stack.operating_built_in_potential) + assert outcome(sources.historical_estimate) == outcome(stack.compute_V_bi) + if stack.built_in_potential_mode != "metal_work_function": + assert outcome(sources.semiconductor_potential) == outcome( + stack.compute_semiconductor_V_bi) + + +@pytest.mark.parametrize("path", SCAPS + STANDARD) +def test_poisson_boundary_and_junction_polarity_match_the_material_arrays(path): + stack = load(path) + mat = material_arrays(stack) + sources = potential_sources(stack) + boundary = ContactPotentialBoundary(sources.poisson_potential()) + assert same(boundary.V_bi_bc, mat.V_bi_bc) + assert boundary.junction_polarity == mat.junction_polarity + for V in (0.0, 0.3, -0.2, 1.05, 2.0): + assert same(boundary.right(V), legacy_mol.poisson_right_boundary(mat, V)) + assert boundary.values(0.0)[0] == 0.0 + assert junction_polarity(-0.0) == 1.0 and junction_polarity(-1e-300) == -1.0 + + +def test_historical_fermi_level_matches_the_legacy_helper(): + rng = np.random.default_rng(13) + for _ in range(500): + params = dataclasses.replace( + load("tests/fixtures/configs/nip_MAPbI3.yaml").layers[0].params, + chi=float(rng.uniform(2.0, 5.0)), Eg=float(rng.uniform(0.5, 3.0)), + N_D=float(rng.choice([0.0, 10 ** rng.uniform(10, 26)])), + N_A=float(rng.choice([0.0, 10 ** rng.uniform(10, 26)])), + ni=float(10 ** rng.uniform(0, 18))) + contact = LegacyBandContact(params.chi, params.Eg, params.N_D, params.N_A, params.ni) + assert same(legacy_band_fermi_level(contact), legacy_device._fermi_level(params)) + + +@pytest.mark.parametrize("path", SCAPS + STANDARD) +def test_reservoir_densities_match_the_material_arrays_bitwise(path): + for flat_band_metal in (False, True): + stack = dataclasses.replace(load(path), flat_band_metal_contacts=flat_band_metal, + contact_phi_B_eV=0.12 if flat_band_metal else 0.0) + mat = material_arrays(stack) + n_L, p_L = doping_equilibrium_densities(mat.N_D[0], mat.N_A[0], mat.ni_sq[0]) + n_R, p_R = doping_equilibrium_densities(mat.N_D[-1], mat.N_A[-1], mat.ni_sq[-1]) + if flat_band_metal and resolve_mode(stack.mode).name != "legacy": + layers = legacy_device.electrical_layers(stack) + for side, params, node in (("right", layers[-1].params, -1), + ("left", layers[0].params, 0)): + floored = metal_reservoir_floor( + *(n_R, p_R) if side == "right" else (n_L, p_L), + intrinsic_density_squared_m6=float(mat.ni_sq[node]), + donor_density_m3=mat.N_D[node], acceptor_density_m3=mat.N_A[node], + conduction_dos_m3=params.Nc300, valence_dos_m3=params.Nv300, + barrier_eV=stack.contact_phi_B_eV, thermal_voltage_V=mat.V_T_device) + if side == "right": + n_R, p_R = floored + else: + n_L, p_L = floored + assert same((n_L, p_L, n_R, p_R), (mat.n_L, mat.p_L, mat.n_R, mat.p_R)) + + +def test_selective_contact_current_matches_the_legacy_sign_table_bitwise(): + rng = np.random.default_rng(19) + for carrier in ("n", "p"): + for side in ("left", "right"): + for S in (0.0, 1e-3, 1.0e5, 3.7e7): + for _ in range(50): + density = float(10 ** rng.uniform(-5, 25)) + reservoir = float(10 ** rng.uniform(-5, 25)) + new = legacy_selective_contact_current(density, reservoir, S, + carrier=carrier, side=side) + old = legacy_contacts.selective_contact_flux(density, reservoir, S, + carrier=carrier, side=side) + assert same(new, old) and type(new) is type(old) + array = 10 ** rng.uniform(0, 20, size=6) + new = legacy_selective_contact_current(array, 1e10, S, carrier=carrier, side=side) + old = legacy_contacts.selective_contact_flux(array, 1e10, S, carrier=carrier, + side=side) + assert np.asarray(new).tobytes() == np.asarray(old).tobytes() + # S = 0 keeps the historical signed zero. + assert math.copysign(1.0, legacy_selective_contact_current(1.0, 2.0, 0.0, carrier="n", + side="left")) == -1.0 + for bad in ({"carrier": "x", "side": "left"}, {"carrier": "n", "side": "top"}): + with pytest.raises(ValueError): + legacy_selective_contact_current(1.0, 1.0, 1.0, **bad) + + +def test_schottky_densities_match_the_legacy_helpers_bitwise(): + for args in ((1.0e25, 0.6, 0.025852), (2.2e24, 0.0, 0.03), (8e25, 1.4, 0.0258)): + assert same(schottky_equilibrium_n(*args), legacy_contacts.schottky_equilibrium_n(*args)) + assert same(schottky_equilibrium_p(*args), legacy_contacts.schottky_equilibrium_p(*args)) + + +@pytest.mark.parametrize("path", SCAPS + STANDARD) +def test_exchange_velocity_resolution_matches_the_legacy_rule(path): + base = load(path) + for flat_band in (False, True): + for mode in ("legacy", "fast", "full"): + for velocities in ((None, None, None, None), (1e3, None, 0.0, 2e5)): + stack = dataclasses.replace(base, flat_band_contacts=flat_band, mode=mode, + S_n_left=velocities[0], S_p_left=velocities[1], + S_n_right=velocities[2], S_p_right=velocities[3]) + assert resolve_exchange_velocities( + velocities, flat_band_contacts=stack.flat_band_contacts, + selective_contacts_enabled=resolve_mode(stack.mode).use_selective_contacts, + ) == legacy_contacts.resolved_contact_velocities(stack) + + +def state_fields(state): + return (state.statistics, state.electron_affinity_eV, state.band_gap_eV, + state.work_function_eV, repr(state.neutrality), state.band_gap_narrowing_eV, + state.conduction_band_shift_eV, state.valence_band_shift_eV) + + +@pytest.mark.parametrize("path", FD_PRESETS + SCAPS[:2] + ("tests/fixtures/configs/tpv_physical_reference.yaml",)) +@pytest.mark.parametrize("temperature, scaling", [(300.0, False), (350.0, True), (250.0, True)]) +def test_semiconductor_contact_closures_match_the_legacy_engine_bitwise(path, temperature, + scaling): + for layer in legacy_device.electrical_layers(load(path)): + params = layer.params + if not (params.Nc300 and params.Nv300 and params.chi > 0 and params.Eg > 0): + continue + material = contact_material(params, temperature=temperature, scaling=scaling) + old = legacy_contacts.build_semiconductor_contact_state( + params, temperature_K=temperature, use_temperature_scaling=scaling) + new = semiconductor_contact_state(material) + assert same(state_fields(new), state_fields(old)) + assert same(semiconductor_work_function(material), legacy_device._semiconductor_work_function( + params, temperature, scaling)) + + +def test_unowned_contact_closures_are_rejected_not_dropped(): + stack = load("tests/fixtures/configs/csi_incomplete_ionization_bgn_pn_research.yaml") + params = legacy_device.electrical_layers(stack)[0].params + assert params.band_gap_narrowing_model != "off" + legacy_contacts.build_semiconductor_contact_state(params, temperature_K=300.0, + use_temperature_scaling=False) + material = contact_material(params, temperature=300.0, scaling=False) + with pytest.raises(ContactClosureCapabilityError, match="P04-11"): + semiconductor_contact_state(material) + with pytest.raises(ContactClosureCapabilityError, match="P04-11"): + semiconductor_work_function(material) + for flags in ({"bulk_trap_distribution": True}, {"explicit_defects": True}): + traps = dataclasses.replace(contact_material( + legacy_device.electrical_layers(load(FD_PRESETS[0]))[0].params, + temperature=300.0, scaling=False), **flags) + with pytest.raises(ContactClosureCapabilityError, match="P04-10"): + semiconductor_contact_state(traps) + with pytest.raises(ValueError, match="unknown built-in-potential mode"): + resolve_built_in_potential_mode("flat_band", flat_band_contacts=False) + + +def assessment_inputs(stack, mat): + sources = potential_sources(stack) + try: + semiconductor = sources.semiconductor_potential() + if not np.isfinite(float(mat.V_bi_bc - semiconductor)): + semiconductor = None + except (AttributeError, TypeError, ValueError, OverflowError): + semiconductor = None + + def endpoint(node, n, p): + def pick(array): + return None if array is None else float(np.asarray(array, dtype=float)[node]) + return ContactEndpoint(float(n), float(p), pick(mat.N_C_physical), pick(mat.N_V_physical), + pick(mat.chi_phys), pick(mat.Eg_phys)) + + mode = stack.resolved_built_in_potential_mode() + layers = legacy_device.electrical_layers(stack) + return dict( + built_in_potential_mode=mode, left=endpoint(0, mat.n_L, mat.p_L), + right=endpoint(-1, mat.n_R, mat.p_R), V_bi_bc=float(mat.V_bi_bc), + thermal_voltage_V=mat.V_T_device, statistics=mat.carrier_statistics, + semiconductor_potential_V=semiconductor, + metal_work_functions_eV=(stack.work_function_left_eV, stack.work_function_right_eV) + if mode == "metal_work_function" else None, + has_band_reference=any(layer.params is not None and ( + layer.params.chi != 0.0 or layer.params.Eg != 0.0) for layer in layers), + ) + + +def certificate_fields(value): + return (value.status, value.built_in_potential_mode, value.tolerance_eV, + value.fermi_level_span_eV, value.potential_mismatch_V, + value.metal_work_function_mismatch_eV, value.contact_quasi_fermi_levels_eV, + value.message) + + +@pytest.mark.parametrize("path", SCAPS + STANDARD) +def test_contact_thermodynamic_assessment_matches_the_legacy_certificate(path): + assessed = 0 + for stack in variants(load(path)): + try: + mat = material_arrays(stack, 24) + except ValueError: # legacy cannot build this source (e.g. no endpoint DOS) + continue + assessed += 1 + old = legacy_contacts.assess_contact_thermodynamics(stack, mat) + new = assess_contact_thermodynamics(**assessment_inputs(stack, mat)) + assert same(certificate_fields(new), certificate_fields(old)) + assert assessed >= 5 diff --git a/tests/unit/physics/contacts/test_contact_thermodynamics_label.py b/tests/unit/physics/contacts/test_contact_thermodynamics_label.py new file mode 100644 index 00000000..22c3f404 --- /dev/null +++ b/tests/unit/physics/contacts/test_contact_thermodynamics_label.py @@ -0,0 +1,118 @@ +"""Contact thermodynamics: the fixed 5 meV gate and the historical 6.025 meV label. + +V1 P04-03: the historical scaps inconsistency keeps its label and the +threshold cannot be changed to certify it. On ``scaps_mirror_v2`` (manual +``V_bi = 1.300 V`` against the band-derived 1.29398 V) the four contact +quasi-Fermi levels span exactly that offset; the assessment stays +``inconsistent`` with the label ``legacy_manual_v_bi_contact_offset``, the +gate stays 5e-3 eV and a looser caller tolerance is refused. The compatible +semiconductor work-function source on the same reservoirs is certified. +""" + +from __future__ import annotations + +import dataclasses +from pathlib import Path +import warnings + +import pytest + +from perovskite_sim.experiments.jv_sweep import build_electrical_grid +from perovskite_sim.scaps_compat import load_scaps_yaml +from perovskite_sim.solver.mol import build_material_arrays + +from solarlab.physics.contacts import ( + CONTACT_THERMODYNAMIC_TOLERANCE_EV, LEGACY_MANUAL_CONTACT_OFFSET, ContactEndpoint, + ContactThermodynamicError, assess_contact_thermodynamics, + require_contact_thermodynamic_certificate, +) + +PRESET = Path(__file__).resolve().parents[4] / "perovskite-sim/configs/scaps_mirror_v2.yaml" + + +def inputs(stack, **override): + x = build_electrical_grid(stack, 24) + with warnings.catch_warnings(): + warnings.simplefilter("ignore") + mat = build_material_arrays(x, stack) + + def endpoint(node, n, p): + return ContactEndpoint(float(n), float(p), float(mat.N_C_physical[node]), + float(mat.N_V_physical[node]), float(mat.chi_phys[node]), + float(mat.Eg_phys[node])) + + mode = stack.resolved_built_in_potential_mode() + values = dict( + built_in_potential_mode=mode, left=endpoint(0, mat.n_L, mat.p_L), + right=endpoint(-1, mat.n_R, mat.p_R), V_bi_bc=float(mat.V_bi_bc), + thermal_voltage_V=mat.V_T_device, statistics=mat.carrier_statistics, + semiconductor_potential_V=stack.compute_semiconductor_V_bi(), + metal_work_functions_eV=(stack.work_function_left_eV, stack.work_function_right_eV) + if mode == "metal_work_function" else None, + has_band_reference=True, + ) + values.update(override) + return stack, mat, values + + +def test_the_historical_scaps_inconsistency_keeps_its_label_and_status(): + stack, mat, values = inputs(load_scaps_yaml(str(PRESET))) + assessment = assess_contact_thermodynamics(**values) + assert CONTACT_THERMODYNAMIC_TOLERANCE_EV == 5.0e-3 + assert assessment.built_in_potential_mode == "legacy_manual" + assert assessment.status == "inconsistent" and not assessment.certified + assert assessment.historical_label == LEGACY_MANUAL_CONTACT_OFFSET + assert assessment.tolerance_eV == 5.0e-3 + # 6.025 meV, and it is exactly the manual-vs-band contact offset (an identity). + # The recorded value is a macOS capture; the span is quantized to ulp(5.5 eV) ~ 9e-16, + # so compare at the identity tolerance below rather than at one ulp (libm differs). + assert assessment.fermi_level_span_eV == pytest.approx(6.024958093130e-3, abs=1e-12) + offset = abs(float(mat.V_bi_bc) - stack.compute_V_bi()) + assert abs(assessment.fermi_level_span_eV - offset) <= 1e-12 + levels = assessment.contact_quasi_fermi_levels_eV + assert abs(levels[0] - levels[1]) <= 1e-12 and abs(levels[2] - levels[3]) <= 1e-12 + assert "0.00602496 eV equilibrium quasi-Fermi-level span" in assessment.message + with pytest.raises(ContactThermodynamicError, match=LEGACY_MANUAL_CONTACT_OFFSET): + require_contact_thermodynamic_certificate(assessment) + + +@pytest.mark.parametrize("tolerance", [5.0e-3 * (1 + 1e-15), 6.1e-3, 0.2, float("inf")]) +def test_the_gate_cannot_be_relaxed_to_certify_it(tolerance): + _, _, values = inputs(load_scaps_yaml(str(PRESET)), tolerance_eV=tolerance) + with pytest.raises(ValueError, match="cannot exceed|finite and positive"): + assess_contact_thermodynamics(**values) + + +def test_a_tighter_gate_keeps_it_inconsistent_and_labelled(): + _, _, values = inputs(load_scaps_yaml(str(PRESET)), tolerance_eV=1.0e-3) + assessment = assess_contact_thermodynamics(**values) + assert assessment.status == "inconsistent" + assert assessment.historical_label == LEGACY_MANUAL_CONTACT_OFFSET + + +def test_the_compatible_source_on_the_same_reservoirs_is_certified_without_a_label(): + stack = dataclasses.replace(load_scaps_yaml(str(PRESET)), + built_in_potential_mode="semiconductor_work_function") + _, _, values = inputs(stack) + assessment = require_contact_thermodynamic_certificate(assess_contact_thermodynamics(**values)) + assert assessment.certified and assessment.historical_label is None + assert assessment.fermi_level_span_eV < 1.0e-12 + + +def test_other_inconsistencies_are_not_given_the_historical_label(): + stack = dataclasses.replace(load_scaps_yaml(str(PRESET)), + built_in_potential_mode="metal_work_function", + work_function_left_eV=5.2, work_function_right_eV=4.1) + _, _, values = inputs(stack) + assessment = assess_contact_thermodynamics(**values) + assert assessment.status == "inconsistent" and assessment.historical_label is None + # Missing endpoint DOS: the band-derived mismatch alone disproves compatibility. + _, _, values = inputs(load_scaps_yaml(str(PRESET))) + values["left"] = dataclasses.replace(values["left"], conduction_dos_m3=None) + partial = assess_contact_thermodynamics(**values) + assert partial.status == "inconsistent" and partial.fermi_level_span_eV is None + assert partial.historical_label is None + values["semiconductor_potential_V"] = values["V_bi_bc"] + assert assess_contact_thermodynamics(**values).status == "compatible_unverified" + values["has_band_reference"] = False + assert assess_contact_thermodynamics(**values).status == "not_assessable" diff --git a/tests/unit/physics/electrostatics/test_gauss_term_sink_assembly.py b/tests/unit/physics/electrostatics/test_gauss_term_sink_assembly.py new file mode 100644 index 00000000..3bee7f93 --- /dev/null +++ b/tests/unit/physics/electrostatics/test_gauss_term_sink_assembly.py @@ -0,0 +1,75 @@ +"""Gauss law through the public TermSink (N class: same rows, contract accumulation). + +The rows are bitwise equal to the historical residual and contact +displacements on every finite state; the only byte difference is the sign of +an exact zero, because the contract accumulator starts from ``+0.0``. +""" + +from __future__ import annotations + +import numpy as np +import pytest + +from solarlab.mesh import ( + HALF_ENDPOINT_V1, INTEGER_ENDPOINT_V1, PHYSICAL_BOUNDARY_TWO_SIDED_V1, RIGHT_LAYER_WINS, + TWO_SIDED_TRACE_V1, build_geometry, multilayer_grid, node_owner, + remove_shared_interface_nodes, +) +from solarlab.physics.electrostatics import PoissonOperator1D, contact_displacement +from solarlab.physics.electrostatics.gauss_assembly import gauss_balance_with_term_sink + +THICKNESSES = (2.0e-7, 4.0e-7, 1.5e-7) +EPS_LAYERS = (3.0, 25.0, 9.0) +POSITIONS = [THICKNESSES[0], THICKNESSES[0] + THICKNESSES[1]] +FULL_GRID = multilayer_grid(list(zip(THICKNESSES, (9, 14, 7)))) +GEOMETRY_GRIDS = { + INTEGER_ENDPOINT_V1: FULL_GRID, + HALF_ENDPOINT_V1: FULL_GRID, + TWO_SIDED_TRACE_V1: remove_shared_interface_nodes(FULL_GRID, POSITIONS), + PHYSICAL_BOUNDARY_TWO_SIDED_V1: remove_shared_interface_nodes(FULL_GRID, POSITIONS), +} + + +def same_bits(a, b): + a, b = np.asarray(a, dtype=float), np.asarray(b, dtype=float) + return a.shape == b.shape and a.tobytes() == b.tobytes() + + +def operator_for(name): + grid = GEOMETRY_GRIDS[name] + geometry = build_geometry(name, grid, POSITIONS) + eps = np.asarray(EPS_LAYERS)[node_owner(grid, THICKNESSES, RIGHT_LAYER_WINS)] + return geometry, PoissonOperator1D.for_geometry(geometry, eps) + + +@pytest.mark.parametrize("name", sorted(GEOMETRY_GRIDS)) +def test_term_sink_gauss_rows_equal_the_residual_and_contact_displacements_bitwise(name): + geometry, operator = operator_for(name) + rng = np.random.default_rng(17) + for case in range(60): + size = geometry.node_count + phi = rng.normal(scale=10.0 ** rng.uniform(-6.0, 1.0), size=size) + rho = rng.normal(scale=10.0 ** rng.uniform(-3.0, 7.0), size=size) + if case % 10 == 0: + phi[:] = phi[0] # flat potential: displacement rows are exact zeros + if case % 13 == 0: + rho[:] = 0.0 + balance = gauss_balance_with_term_sink(operator, geometry, phi, rho) + assert same_bits(balance[1:-1], operator.interior_residual(phi, rho)) + contacts = contact_displacement(operator.face_displacement(phi), rho, + geometry.cell_measures_m) + assert same_bits([balance[0], balance[-1]], [-contacts[0], contacts[1]]) + + +@pytest.mark.parametrize("name", sorted(GEOMETRY_GRIDS)) +def test_term_sink_gauss_differs_only_in_the_sign_of_an_exact_zero(name): + """The N-class reason: a historical ``-0.0`` row is returned as ``+0.0``.""" + geometry, operator = operator_for(name) + phi = np.zeros(geometry.node_count) + phi[::2] = -0.0 + rho = np.full(geometry.node_count, -0.0) + balance = gauss_balance_with_term_sink(operator, geometry, phi, rho) + legacy = operator.interior_residual(phi, rho) + np.testing.assert_array_equal(balance[1:-1], legacy) # equal values (0 == -0) + assert np.all(balance[1:-1] == 0.0) + assert np.any(np.signbit(legacy)) and not np.any(np.signbit(balance[1:-1])) diff --git a/tests/unit/physics/electrostatics/test_poisson_electrostatics.py b/tests/unit/physics/electrostatics/test_poisson_electrostatics.py new file mode 100644 index 00000000..fc11624d --- /dev/null +++ b/tests/unit/physics/electrostatics/test_poisson_electrostatics.py @@ -0,0 +1,419 @@ +"""Electrostatics: shared charge ledger, Poisson algebraic residual, Gauss traces. + +M class (bit-identical to the legacy engine, read-only import): Poisson face +capacitances/control widths per channel, the LAPACK elimination, the interior +residual, the space-charge expression, face/contact displacement, trace +residual/solution and the sheet-charge row weights. + +Physics acceptance (V1 P04-01): layered capacitance, constant-charge analytic +potential, MMS, Gauss/port charge balance and two-sided Gauss jumps. Geometry +differences (legacy node-at-interface harmonic face) are reported separately +from algorithm error. +""" + +from __future__ import annotations + +from fractions import Fraction +from types import SimpleNamespace + +import numpy as np +import pytest + +from perovskite_sim.experiments import quasi_fermi_steady_state as legacy_qf +from perovskite_sim.physics import physical_control_volume as legacy_physical +from perovskite_sim.physics import poisson as legacy_poisson +from perovskite_sim.physics import two_sided_interface as legacy_two_sided +from perovskite_sim.solver import degenerate_equilibrium as legacy_equilibrium +from perovskite_sim.solver import mol as legacy_mol + +from solarlab.contracts import VOLT, VariableSpec +from solarlab.mesh import ( + INTEGER_ENDPOINT_V1, PHYSICAL_BOUNDARY_TWO_SIDED_V1, RIGHT_LAYER_WINS, TWO_SIDED_TRACE_V1, + build_geometry, multilayer_grid, node_owner, remove_shared_interface_nodes, +) +from solarlab.physics.electrostatics import ( + ChargeEntry, ChargeLedger, PoissonFactorization, PoissonOperator1D, SheetChargeEntry, + TraceElectrostatics, add_sheet_charge_to_interior_residual, contact_displacement, + electrostatic_trace_residual_and_jacobian, + interface_trace_layout, require_carrier_trace, require_occupancy, sheet_charge_row_weights, + solve_electrostatic_traces, +) + +EPS0 = 8.854187817e-12 +Q = 1.602176634e-19 +THICKNESSES = (2.0e-7, 4.0e-7, 1.5e-7) +INTERVALS = (9, 14, 7) +EPS_LAYERS = (3.0, 25.0, 9.0) + + +def same_bits(a, b): + a, b = np.asarray(a, dtype=float), np.asarray(b, dtype=float) + return a.shape == b.shape and a.tobytes() == b.tobytes() + + +def positions(): + out, total = [], 0.0 + for t in THICKNESSES[:-1]: + total += t + out.append(total) + return out + + +def stack_grid(intervals=INTERVALS, alpha=3.0): + return multilayer_grid(list(zip(THICKNESSES, intervals)), alpha=alpha) + + +def nodal_eps(x): + return np.asarray(EPS_LAYERS)[node_owner(x, THICKNESSES, RIGHT_LAYER_WINS)] + + +# ---------------------------------------------------------------- M class + + +@pytest.mark.parametrize("n_nodes", [3, 4, 5, 31]) +def test_harmonic_channel_and_lapack_elimination_match_legacy_bitwise(n_nodes): + rng = np.random.default_rng(n_nodes) + x = np.cumsum(rng.uniform(1e-9, 3e-8, n_nodes)) + eps = rng.uniform(2.0, 30.0, n_nodes) + rho = rng.normal(scale=1e3, size=n_nodes) + operator = PoissonOperator1D.from_harmonic_nodes(x, eps) + legacy_factor = legacy_poisson.factor_poisson(x, eps) + assert same_bits(operator.face_capacitance_F_m2, legacy_factor.C) + assert same_bits(operator.interior_widths_m, legacy_factor.h_cell) + factor = PoissonFactorization.factor(operator) + for name in ("dl", "d", "du", "du2"): + assert same_bits(getattr(factor, name), getattr(legacy_factor, name)) + assert np.array_equal(factor.ipiv, legacy_factor.ipiv) + assert same_bits(factor.solve(rho, 0.1, -0.7), + legacy_poisson.solve_poisson_prefactored(legacy_factor, rho, 0.1, -0.7)) + explicit = PoissonOperator1D.from_finite_volume(legacy_factor.C, legacy_factor.h_cell, + geometry_name="explicit") + legacy_explicit = legacy_poisson.factor_poisson_from_finite_volume(legacy_factor.C, + legacy_factor.h_cell) + assert same_bits(PoissonFactorization.factor(explicit).solve(rho, 0.0, 1.0), + legacy_poisson.solve_poisson_prefactored(legacy_explicit, rho, 0.0, 1.0)) + + +def test_interior_residual_and_displacements_match_legacy_bitwise(): + x = stack_grid() + eps = nodal_eps(x) + rng = np.random.default_rng(5) + phi, rho = rng.normal(size=x.size), rng.normal(scale=1e4, size=x.size) + operator = PoissonOperator1D.from_harmonic_nodes(x, eps) + material = SimpleNamespace(poisson_factor=legacy_poisson.factor_poisson(x, eps)) + assert same_bits(operator.interior_residual(phi, rho), + legacy_equilibrium._poisson_residual(phi, rho, material)) + displacement = operator.face_displacement(phi) + assert same_bits(displacement, -material.poisson_factor.C * np.diff(phi)) + widths = build_geometry(INTEGER_ENDPOINT_V1, x, positions()).cell_measures_m + assert same_bits(contact_displacement(displacement, rho, widths), + legacy_physical.physical_contact_displacement(displacement, rho, widths)) + full = operator.residual(phi, rho, 0.25, -0.5) + assert full[0] == phi[0] - 0.25 and full[-1] == phi[-1] + 0.5 + assert same_bits(full[1:-1], operator.interior_residual(phi, rho)) + + +@pytest.mark.parametrize("dual_ion", [False, True]) +def test_shared_charge_ledger_reproduces_the_legacy_space_charge(dual_ion): + rng = np.random.default_rng(9) + n_nodes = 25 + p, n = 10.0 ** rng.uniform(10, 24, n_nodes), 10.0 ** rng.uniform(10, 24, n_nodes) + ion, ion0 = 10.0 ** rng.uniform(20, 24, n_nodes), 10.0 ** rng.uniform(20, 24, n_nodes) + acceptors, donors = 10.0 ** rng.uniform(15, 23, n_nodes), 10.0 ** rng.uniform(15, 23, n_nodes) + ledger = ChargeLedger(n_nodes) + for entry in (ChargeEntry("carriers.p", "drift_diffusion", 1, p), + ChargeEntry("carriers.n", "drift_diffusion", -1, n), + ChargeEntry("ions.positive", "ions", 1, ion, ion0), + ChargeEntry("doping.acceptors", "doping", -1, acceptors), + ChargeEntry("doping.donors", "doping", 1, donors)): + ledger = ledger.with_entry(entry) + expected = legacy_mol._charge_density(p, n, ion, ion0, acceptors, donors) + if dual_ion: + neg, neg0 = 10.0 ** rng.uniform(20, 24, n_nodes), 10.0 ** rng.uniform(20, 24, n_nodes) + ledger = ledger.with_entry(ChargeEntry("ions.negative", "ions", -1, neg, neg0, + group="negative_ions")) + expected = legacy_mol._charge_density(p, n, ion, ion0, acceptors, donors, neg, neg0) + assert same_bits(ledger.space_charge_C_m3(), expected) + assert ledger.space_charge_derivative("carriers.n") == -Q + assert ledger.space_charge_derivative("ions.positive") == Q + with pytest.raises(ValueError, match="duplicate"): + ledger.with_entry(ChargeEntry("carriers.p", "other", 1, p)) + with pytest.raises(ValueError, match="node count"): + ledger.with_entry(ChargeEntry("short", "other", 1, p[:-1])) + with pytest.raises(ValueError, match="non-negative"): + ChargeEntry("negative", "other", 1, -p) + with pytest.raises(ValueError, match="nonzero integer"): + ChargeEntry("neutral", "other", 0, p) + + +def test_trace_electrostatics_match_legacy_bitwise(): + geometry = TraceElectrostatics(3.0e-9, 7.0e-9, 4.0, 22.0, 0.031, -2.0e-4) + legacy_geometry = legacy_two_sided.TwoSidedInterfaceGeometry(3.0e-9, 7.0e-9, 4.0, 22.0, + 0.031, -2.0e-4) + bulk = legacy_two_sided.TwoSidedBulkState(0.12, 0.47, 1e20, 1e10, 1e15, 1e16) + traces = np.array([0.2, 0.25]) + new_r, new_j = electrostatic_trace_residual_and_jacobian(traces, geometry, 0.12, 0.47) + old_r, old_j = legacy_two_sided.electrostatic_trace_residual_and_jacobian( + traces, legacy_geometry, bulk) + assert same_bits(new_r, old_r) and same_bits(new_j, old_j) + solved = solve_electrostatic_traces(geometry, 0.12, 0.47) + legacy_solved = legacy_two_sided.solve_electrostatic_traces(legacy_geometry, bulk) + assert solved == (legacy_solved.phi_left_V, legacy_solved.phi_right_V) + + +def test_sheet_charge_row_weights_match_the_qf_poisson_assembly_bitwise(): + reduced = remove_shared_interface_nodes(stack_grid(), positions()) + geometry = build_geometry(PHYSICAL_BOUNDARY_TWO_SIDED_V1, reduced, positions()) + eps = nodal_eps(reduced) + sheets = np.array([3.0e-4, -1.5e-4]) + rng = np.random.default_rng(13) + raw = rng.normal(size=reduced.size - 2) + legacy_raw = raw.copy() + planes = geometry.interfaces + system = SimpleNamespace( + node_count=reduced.size, + mat=SimpleNamespace( + iface_qss_left_nodes=tuple(p.left_node for p in planes), + iface_qss_right_nodes=tuple(p.right_node for p in planes), + iface_qss_left_distances_m=tuple(p.left_distance_m for p in planes), + iface_qss_right_distances_m=tuple(p.right_distance_m for p in planes), + eps_r=eps, + ), + ) + legacy_qf._QuasiFermiSystem._add_interface_sheet_charge_to_poisson( + system, legacy_raw, SimpleNamespace(incremental_sheet_charge_C_m2=sheets)) + add_sheet_charge_to_interior_residual(raw, planes, eps, sheets) + assert same_bits(raw, legacy_raw) + w_l, w_r = sheet_charge_row_weights(eps[planes[0].left_node], planes[0].left_distance_m, + eps[planes[0].right_node], planes[0].right_distance_m) + assert w_l + w_r == pytest.approx(1.0, abs=2e-16) + + +# ---------------------------------------------------------------- physics + + +def series_capacitance_exact(): + return Fraction(1) / sum(Fraction(t) / (Fraction(EPS0) * Fraction(e)) + for t, e in zip(THICKNESSES, EPS_LAYERS)) + + +def test_layered_capacitance_physical_geometry_is_exact(): + """Zero charge, three dielectrics: uniform D = C_series*V on every face.""" + voltage = 0.85 + reduced = remove_shared_interface_nodes(stack_grid(), positions()) + for name in (PHYSICAL_BOUNDARY_TWO_SIDED_V1, TWO_SIDED_TRACE_V1): + geometry = build_geometry(name, reduced, positions()) + operator = PoissonOperator1D.for_geometry(geometry, nodal_eps(reduced)) + rho = np.zeros(reduced.size) + phi = PoissonFactorization.factor(operator).solve(rho, voltage, 0.0) + displacement = operator.face_displacement(phi) + expected = float(series_capacitance_exact() * Fraction(voltage)) + np.testing.assert_allclose(displacement, expected, rtol=2e-13) + assert np.max(np.abs(operator.residual(phi, rho, voltage, 0.0))) <= 1e-12 * expected + # Electrode charge through the declared ports: Q_left = +C V, Q_right = -C V. + left, right = (port.terminal_port() for port in geometry.ports) + contacts = contact_displacement(displacement, rho, geometry.cell_measures_m) + np.testing.assert_allclose(left.charge([contacts[0]]), [expected], rtol=2e-13) + np.testing.assert_allclose(right.charge([contacts[1]]), [-expected], rtol=2e-13) + + +def test_layered_capacitance_legacy_channel_is_its_discrete_series_and_converges_first_order(): + """The node-at-interface harmonic face is a geometry difference, not solver error.""" + voltage = 0.85 + exact = series_capacitance_exact() + deviations = [] + for scale in (1, 2, 4, 8): + x = stack_grid(tuple(scale * n for n in INTERVALS), alpha=1e-6) + operator = PoissonOperator1D.for_geometry(build_geometry(INTEGER_ENDPOINT_V1, x, + positions()), nodal_eps(x)) + phi = PoissonFactorization.factor(operator).solve(np.zeros(x.size), voltage, 0.0) + displacement = operator.face_displacement(phi) + # Independent rational oracle of this channel's discrete series capacitance. + eps = [Fraction(float(e)) for e in nodal_eps(x)] + nodes = [Fraction(float(v)) for v in x] + inverse = sum((nodes[i + 1] - nodes[i]) * (eps[i] + eps[i + 1]) + / (2 * eps[i] * eps[i + 1] * Fraction(EPS0)) for i in range(len(x) - 1)) + discrete = Fraction(1) / inverse + np.testing.assert_allclose(displacement, float(discrete * Fraction(voltage)), rtol=2e-12) + deviations.append(float(abs(discrete - exact) / exact)) + ratios = np.array(deviations[:-1]) / np.array(deviations[1:]) + assert deviations[0] > 1e-3 # a real geometric difference at coarse resolution + assert np.all(np.abs(ratios - 2.0) < 0.1), ratios # first order in the interface cell + + +@pytest.mark.parametrize("name", [INTEGER_ENDPOINT_V1, PHYSICAL_BOUNDARY_TWO_SIDED_V1]) +def test_constant_charge_gives_the_analytic_parabola_on_a_nonuniform_grid(name): + length, eps_r, rho0 = 5.0e-7, 12.0, 4.0e4 + x = multilayer_grid([(length, 37)], alpha=2.5) + geometry = build_geometry(name, x, ()) + operator = PoissonOperator1D.for_geometry(geometry, np.full(x.size, eps_r)) + phi_left, phi_right = 0.2, -0.4 + phi = PoissonFactorization.factor(operator).solve(np.full(x.size, rho0), phi_left, phi_right) + exact = (phi_left + (phi_right - phi_left) * x / length + + rho0 / (2 * EPS0 * eps_r) * x * (length - x)) + scale = max(abs(phi_left), abs(phi_right), rho0 * length**2 / (8 * EPS0 * eps_r)) + assert np.max(np.abs(phi - exact)) <= 1e-12 * scale + + +def _mms_error(name, scale, two_layers): + l1, l2 = (3e-7, 2e-7) if two_layers else (5e-7, 0.0) + eps1, eps2 = 4.0, (20.0 if two_layers else 4.0) + length = l1 + l2 + d0, d1 = 1e-3, 5e-4 + + def displacement(x): + return d0 + d1 * np.sin(np.pi * x / length) + + def phi_exact(x): + def integral(a, b, eps): + return (d0 * (b - a) - d1 * length / np.pi + * (np.cos(np.pi * b / length) - np.cos(np.pi * a / length))) / (EPS0 * eps) + if not two_layers: + return 0.3 - integral(0.0, x, eps1) + return 0.3 - np.where(x <= l1, integral(0.0, np.minimum(x, l1), eps1), + integral(0.0, l1, eps1) + integral(l1, x, eps2)) + + layers = [(l1, 3 * scale), (l2, 2 * scale)] if two_layers else [(l1, 5 * scale)] + x = multilayer_grid(layers, alpha=1e-6) + planes = [l1] if two_layers else [] + if name == PHYSICAL_BOUNDARY_TWO_SIDED_V1 and two_layers: + x = remove_shared_interface_nodes(x, planes) + geometry = build_geometry(name, x, planes) + thickness = (l1, l2) if two_layers else (l1,) + eps = np.array([eps1, eps2])[node_owner(x, thickness, RIGHT_LAYER_WINS)] + operator = PoissonOperator1D.for_geometry(geometry, eps) + faces = geometry.cell_faces_m + cell_charge = displacement(faces[1:]) - displacement(faces[:-1]) # exact cell integral + rho = np.zeros(x.size) + rho[1:-1] = cell_charge[1:-1] / operator.interior_widths_m + phi = PoissonFactorization.factor(operator).solve(rho, phi_exact(x[0]), phi_exact(x[-1])) + return float(np.max(np.abs(phi - phi_exact(x)))) + + +@pytest.mark.parametrize("name,two_layers,order", [ + (INTEGER_ENDPOINT_V1, False, 2.0), + (PHYSICAL_BOUNDARY_TWO_SIDED_V1, False, 2.0), + (PHYSICAL_BOUNDARY_TWO_SIDED_V1, True, 2.0), + (INTEGER_ENDPOINT_V1, True, 1.0), # geometry difference at the dielectric jump +]) +def test_mms_observed_order(name, two_layers, order): + errors = np.array([_mms_error(name, scale, two_layers) for scale in (8, 16, 32, 64)]) + observed = np.log2(errors[:-1] / errors[1:]) + # Asymptotic order on the two finest pairs; no pair may fall far below it. + assert np.all(np.abs(observed[1:] - order) < 0.1), observed + assert np.all(observed > order - 0.25), observed + + +def test_jacobian_agrees_with_the_direct_residual(): + reduced = remove_shared_interface_nodes(stack_grid(), positions()) + geometry = build_geometry(PHYSICAL_BOUNDARY_TWO_SIDED_V1, reduced, positions()) + operator = PoissonOperator1D.for_geometry(geometry, nodal_eps(reduced)) + rng = np.random.default_rng(17) + phi, rho = rng.normal(scale=0.3, size=reduced.size), rng.normal(scale=3e4, size=reduced.size) + direction = rng.normal(size=reduced.size) + jacobian = operator.jacobian() + base = operator.residual(phi, rho, 0.1, 0.2) + moved = operator.residual(phi + direction, rho, 0.1, 0.2) + np.testing.assert_allclose(jacobian @ direction, moved - base, + atol=1e-9 * np.max(np.abs(operator.face_capacitance_F_m2))) + assert np.array_equal(operator.charge_jacobian()[1:-1], operator.interior_widths_m) + + +def test_gauss_total_charge_balances_the_electrode_charges(): + reduced = remove_shared_interface_nodes(stack_grid(), positions()) + geometry = build_geometry(PHYSICAL_BOUNDARY_TWO_SIDED_V1, reduced, positions()) + operator = PoissonOperator1D.for_geometry(geometry, nodal_eps(reduced)) + rng = np.random.default_rng(23) + ledger = ChargeLedger(reduced.size, interface_count=2) + ledger = ledger.with_entry(ChargeEntry("doping.donors", "doping", 1, + 10.0 ** rng.uniform(20, 22, reduced.size))) + ledger = ledger.with_entry(ChargeEntry("doping.acceptors", "doping", -1, + 10.0 ** rng.uniform(20, 22, reduced.size))) + rho = ledger.space_charge_C_m3() + phi = PoissonFactorization.factor(operator).solve(rho, 0.6, 0.0) + contacts = contact_displacement(operator.face_displacement(phi), rho, geometry.cell_measures_m) + left, right = (port.terminal_port() for port in geometry.ports) + electrodes = float(left.charge([contacts[0]])[0] + right.charge([contacts[1]])[0]) + device = ledger.total_charge_C_m2(geometry.cell_measures_m) + scale = float(np.sum(np.abs(rho) * geometry.cell_measures_m)) + assert abs(device + electrodes) <= 1e-12 * scale + with pytest.raises(ValueError, match="interface outside"): + ledger.with_sheet(SheetChargeEntry("sheet", "interface", 2, 1e-4)) + + +def test_two_sided_gauss_jump_equals_series_elimination_with_weighted_sheet_charge(): + reduced = remove_shared_interface_nodes(stack_grid(), positions()) + geometry = build_geometry(PHYSICAL_BOUNDARY_TWO_SIDED_V1, reduced, positions()) + eps = nodal_eps(reduced) + operator = PoissonOperator1D.for_geometry(geometry, eps) + rng = np.random.default_rng(29) + phi = rng.normal(scale=0.2, size=reduced.size) + ledger = ChargeLedger(reduced.size, interface_count=2) + ledger = ledger.with_sheet(SheetChargeEntry("traps.0", "interface_traps", 0, 2.0e-4)) + ledger = ledger.with_sheet(SheetChargeEntry("traps.1", "interface_traps", 1, -7.0e-5)) + ledger = ledger.with_sheet(SheetChargeEntry("fixed.1", "interface_fixed", 1, 1.0e-5)) + sigma = ledger.sheet_charge_C_m2() + assert np.array_equal(sigma, [2.0e-4, -7.0e-5 + 1.0e-5]) + # Explicit traces: solve the Gauss jump at each plane, then form each side's flux. + folded = operator.interior_residual(phi, np.zeros(reduced.size)) + add_sheet_charge_to_interior_residual(folded, geometry.interfaces, eps, sigma) + for plane, sheet in zip(geometry.interfaces, sigma): + traces = TraceElectrostatics.from_plane(plane, eps[plane.left_node], eps[plane.right_node], + sheet_charge_C_m2=sheet) + phi_ls, phi_rs = solve_electrostatic_traces(traces, phi[plane.left_node], + phi[plane.right_node]) + c_l = EPS0 * eps[plane.left_node] / plane.left_distance_m + c_r = EPS0 * eps[plane.right_node] / plane.right_distance_m + d_left = c_l * (phi[plane.left_node] - phi_ls) # D just left of the plane + d_right = c_r * (phi_rs - phi[plane.right_node]) # D just right of the plane + assert d_right - d_left == pytest.approx(sheet, rel=1e-12, abs=1e-12 * abs(d_left)) + # The folded rows see exactly the eliminated series face plus w*sigma. + series = operator.face_capacitance_F_m2[plane.left_node] + w_l, w_r = sheet_charge_row_weights(eps[plane.left_node], plane.left_distance_m, + eps[plane.right_node], plane.right_distance_m) + assert -d_left == pytest.approx( + -series * (phi[plane.left_node] - phi[plane.right_node]) + w_l * sheet, rel=1e-11) + assert d_right == pytest.approx( + series * (phi[plane.left_node] - phi[plane.right_node]) + w_r * sheet, rel=1e-11) + assert np.all(np.isfinite(folded)) + + +def test_interface_traces_declare_carriers_potentials_and_occupancy_separately(): + declaration = interface_trace_layout(2) + supports = {spec.id: spec.support for spec in declaration.layout.variables} + assert {s.id for s in declaration.carrier_traces} == { + "interfaces.n_left", "interfaces.p_left", "interfaces.n_right", "interfaces.p_right"} + assert all(spec.unit == declaration.carrier_traces[0].unit and spec.lower == 0.0 + for spec in declaration.carrier_traces) + assert all(spec.unit == VOLT for spec in declaration.potential_traces) + occupancy = declaration.trap_occupancy + assert (occupancy.lower, occupancy.upper) == (0.0, 1.0) + assert supports["interfaces.n_left"] != supports["interfaces.n_right"] + assert supports["interfaces.trap_occupancy"] not in {supports["interfaces.n_left"], + supports["interfaces.n_right"]} + require_occupancy(occupancy) + for carrier in declaration.carrier_traces: + require_carrier_trace(carrier) + with pytest.raises(ValueError, match="not a trap occupancy"): + require_occupancy(carrier) + with pytest.raises(ValueError, match="not a carrier trace"): + require_carrier_trace(occupancy) + unbounded = VariableSpec("f", "x", "interfaces.plane", (2,), occupancy.unit, lower=0.0) + with pytest.raises(ValueError, match="not a trap occupancy"): + require_occupancy(unbounded) + with pytest.raises(ValueError, match="at least one interface"): + interface_trace_layout(0) + with pytest.raises(ValueError, match="finite and positive"): + TraceElectrostatics(0.0, 1e-9, 3.0, 4.0) + + +def test_poisson_operator_rejects_invalid_channels(): + with pytest.raises(ValueError, match="positive vector"): + PoissonOperator1D(np.array([1.0, -1.0]), np.array([1.0]), "bad") + with pytest.raises(ValueError, match="match faces"): + PoissonOperator1D(np.array([1.0, 1.0]), np.array([1.0, 1.0]), "bad") + with pytest.raises(ValueError, match="name its geometry"): + PoissonOperator1D(np.array([1.0, 1.0]), np.array([1.0]), "") + operator = PoissonOperator1D.from_harmonic_nodes(np.array([0.0, 1.0, 2.0]), np.ones(3)) + with pytest.raises(ValueError, match="finite array"): + operator.residual(np.ones(4), np.zeros(3), 0.0, 0.0) diff --git a/tests/unit/physics/field_mobility/field_mobility_test_support.py b/tests/unit/physics/field_mobility/field_mobility_test_support.py new file mode 100644 index 00000000..ee21cbf7 --- /dev/null +++ b/tests/unit/physics/field_mobility/field_mobility_test_support.py @@ -0,0 +1,35 @@ +"""Test support: legacy preset loaders for the field-mobility parity tests. + +Only tests import this module; it reads legacy presets through the legacy +loaders, which stay the frozen reference. +""" + +from __future__ import annotations + +from pathlib import Path + +import numpy as np + +LEGACY_ROOT = Path(__file__).resolve().parents[4] / "perovskite-sim" +CONFIGS = LEGACY_ROOT / "tests" / "fixtures" / "configs" + + +def load_stack(name: str): + from perovskite_sim.models.config_loader import load_device_from_yaml + + return load_device_from_yaml(str(CONFIGS / name)) + + +def electrical_grid(stack, n_grid: int = 60) -> np.ndarray: + from perovskite_sim.discretization.grid import Layer, multilayer_grid + from perovskite_sim.experiments.jv_sweep import _layer_node_counts + from perovskite_sim.models.device import electrical_layers + + elec = electrical_layers(stack) + return multilayer_grid([Layer(layer.thickness, n) for layer, n in zip(elec, _layer_node_counts(stack, n_grid))]) + + +def legacy_material_arrays(x, stack): + from perovskite_sim.solver.mol import build_material_arrays + + return build_material_arrays(x, stack) diff --git a/tests/unit/physics/field_mobility/test_field_mobility_identities.py b/tests/unit/physics/field_mobility/test_field_mobility_identities.py new file mode 100644 index 00000000..49f5d9d6 --- /dev/null +++ b/tests/unit/physics/field_mobility/test_field_mobility_identities.py @@ -0,0 +1,65 @@ +"""M class: identities of the field-dependent mobility composition.""" + +from __future__ import annotations + +import numpy as np + +from solarlab.physics.transport import field_mobility as fm + + +def test_zero_field_is_the_exact_identity(): + mu0 = np.array([2e-4, 1e-6, 3e-3]) + zero = np.zeros(3) + for width in (0.0, 1e4): + result = fm.apply_field_mobility(mu0, zero, np.array([1e5, 0.0, 3e4]), np.array([2.0, 1.0, 0.5]), + np.array([3e-4, -1e-4, 0.0]), pf_field_regularization_width_V_m=width) + assert np.array_equal(result, mu0) + + +def test_disabled_laws_return_the_low_field_mobility_bitwise(): + rng = np.random.default_rng(1) + mu0 = 10.0 ** rng.uniform(-6, -2, 50) + E = rng.normal(0.0, 1e7, 50) + assert np.array_equal(fm.apply_field_mobility(mu0, E, 0.0, 2.0, 0.0), mu0) + assert np.array_equal(fm.caughey_thomas(mu0, E, 1e5, 0.0), mu0) # beta <= 0 disables CT + + +def test_poole_frenkel_precedes_caughey_thomas(): + mu0 = np.array([2e-4]) + E = np.array([4e6]) + v_sat, beta, gamma = np.array([1e3]), np.array([2.0]), np.array([3e-4]) + composed = fm.apply_field_mobility(mu0, E, v_sat, beta, gamma) + pf_then_ct = fm.caughey_thomas(fm.poole_frenkel(mu0, E, gamma), E, v_sat, beta) + ct_then_pf = fm.poole_frenkel(fm.caughey_thomas(mu0, E, v_sat, beta), E, gamma) + assert np.array_equal(composed, pf_then_ct) + assert not np.allclose(composed, ct_then_pf, rtol=1e-3) + assert fm.COMPOSITION_ORDER == ("poole_frenkel", "caughey_thomas") + + +def test_laws_depend_on_the_field_magnitude_only(): + mu0 = np.full(5, 2e-4) + E = np.array([1e3, 1e5, 3e6, 7e7, 2e9]) + args = (np.full(5, 1e4), np.full(5, 1.0), np.full(5, 2e-4)) + assert np.array_equal(fm.apply_field_mobility(mu0, E, *args), fm.apply_field_mobility(mu0, -E, *args)) + + +def test_face_evaluation_is_recomputed_and_never_cached(): + parameters = fm.FieldMobilityFaceParameters.from_nodes(np.full(6, 1e4), np.full(6, 2.0), np.full(6, 3e-4)) + D = np.full(5, 5e-6) + first = fm.field_dependent_face_diffusivity(D, 0.0259, np.full(5, 1e6), parameters) + other = fm.field_dependent_face_diffusivity(D, 0.0259, np.full(5, 3e7), parameters) + again = fm.field_dependent_face_diffusivity(D, 0.0259, np.full(5, 1e6), parameters) + assert first is not again and np.array_equal(first, again) and not np.array_equal(first, other) + assert not hasattr(parameters, "__dict__") # frozen, slot-free state: nothing to memoize into + for name in ("saturation_velocity_m_s", "ct_exponent", "pf_gamma_sqrt_m_V"): + assert not getattr(parameters, name).flags.writeable + + +def test_einstein_relation_is_preserved_by_the_face_recompute(): + parameters = fm.FieldMobilityFaceParameters(np.array([1e4, 0.0]), np.array([2.0, 2.0]), np.array([0.0, 3e-4])) + D = np.array([5e-6, 2e-7]) + V_T = 0.0302 + E = np.array([2e6, -4e5]) + mobility = fm.apply_field_mobility(D / V_T, E, parameters.saturation_velocity_m_s, parameters.ct_exponent, + parameters.pf_gamma_sqrt_m_V) + assert np.array_equal(fm.field_dependent_face_diffusivity(D, V_T, E, parameters), mobility * V_T) diff --git a/tests/unit/physics/field_mobility/test_field_mobility_legacy_parity.py b/tests/unit/physics/field_mobility/test_field_mobility_legacy_parity.py new file mode 100644 index 00000000..3f81f9c3 --- /dev/null +++ b/tests/unit/physics/field_mobility/test_field_mobility_legacy_parity.py @@ -0,0 +1,139 @@ +"""M-class parity: migrated field-dependent mobility against the legacy engine.""" + +from __future__ import annotations + +import dataclasses + +import numpy as np +import pytest + +from perovskite_sim.physics import field_mobility as legacy +from perovskite_sim.physics.regularization import compact_sqrt_abs as legacy_compact_sqrt_abs +from solarlab.physics.transport import field_mobility as new + + +def _same(a, b) -> bool: + a = np.asarray(a) + b = np.asarray(b) + return a.shape == b.shape and a.dtype == b.dtype and a.tobytes() == b.tobytes() + + +def _faces(seed=3, n=257): + rng = np.random.default_rng(seed) + E = np.concatenate([ + rng.normal(0.0, 1e6, n), [0.0, -0.0, 1e-300, -1e-12, 5e4, -5e4, 1e9, -1e9, 7.1e10], + ]) + m = E.size + mu0 = 10.0 ** rng.uniform(-6.0, -2.0, m) + mu0[:5] = 0.0 + v_sat = np.where(rng.random(m) < 0.3, 0.0, 10.0 ** rng.uniform(2.0, 6.0, m)) + beta = rng.choice([0.0, 0.5, 1.0, 2.0, 1.7, -1.0], m) + gamma = np.where(rng.random(m) < 0.3, 0.0, rng.choice([-1.0, 1.0], m) * 10.0 ** rng.uniform(-5.0, -2.0, m)) + return mu0, E, v_sat, beta, gamma + + +@pytest.mark.parametrize("width", [0.0, 1e2, 3e5]) +def test_compact_sqrt_abs_is_bitwise_legacy(width): + _, E, *_ = _faces() + assert _same(new.compact_sqrt_abs(E, width), legacy_compact_sqrt_abs(E, width)) + with pytest.raises(ValueError) as old_error: + legacy_compact_sqrt_abs(E, -1.0) + with pytest.raises(ValueError) as new_error: + new.compact_sqrt_abs(E, -1.0) + assert str(new_error.value) == str(old_error.value) + + +@pytest.mark.parametrize("width", [0.0, 2e4]) +def test_laws_and_composition_are_bitwise_legacy(width): + mu0, E, v_sat, beta, gamma = _faces() + assert _same(new.caughey_thomas(mu0, E, v_sat, beta), legacy.caughey_thomas(mu0, E, v_sat, beta)) + assert _same( + new.poole_frenkel(mu0, E, gamma, field_regularization_width_V_m=width), + legacy.poole_frenkel(mu0, E, gamma, field_regularization_width_V_m=width), + ) + assert _same( + new.apply_field_mobility(mu0, E, v_sat, beta, gamma, pf_field_regularization_width_V_m=width), + legacy.apply_field_mobility(mu0, E, v_sat, beta, gamma, pf_field_regularization_width_V_m=width), + ) + + +@pytest.mark.parametrize("width", [0.0, 2e4]) +def test_linearization_is_bitwise_legacy(width): + mu0, E, v_sat, beta, gamma = _faces(seed=8) + beta = np.abs(beta) # the legacy tangent check rejects nothing here, but keep CT active-or-off + mine = new.linearize_field_mobility(mu0, E, v_sat, beta, gamma, pf_field_regularization_width_V_m=width) + old = legacy.linearize_field_mobility(mu0, E, v_sat, beta, gamma, pf_field_regularization_width_V_m=width) + assert _same(mine.mobility_m2_V_s, old.mobility_m2_V_s) + assert _same(mine.field_derivative_m3_V2_s, old.field_derivative_m3_V2_s) + assert _same(mine.differentiable, old.differentiable) + + +def test_linearization_rejections_match_legacy(): + for args in ( + (np.array([-1.0]), np.array([1.0]), 0.0, 2.0, 0.0), + (np.array([1.0]), np.array([np.nan]), 0.0, 2.0, 0.0), + (np.ones(3), np.ones(2), 0.0, 2.0, 0.0), + ): + with pytest.raises(ValueError) as old_error: + legacy.linearize_field_mobility(*args) + with pytest.raises(ValueError) as new_error: + new.linearize_field_mobility(*args) + assert str(new_error.value) == str(old_error.value) + + +def test_face_diffusivity_and_face_parameters_are_bitwise_the_legacy_rhs(): + """``mol.build_material_arrays`` face means and the ``assemble_rhs`` recompute.""" + + import field_mobility_test_support as support + from perovskite_sim.models.device import electrical_layers + from perovskite_sim.solver.mol import _layer_node_masks + + stack = support.load_stack("field_mobility_demo.yaml") + x = support.electrical_grid(stack, 60) + mat = support.legacy_material_arrays(x, stack) + assert mat.has_field_mobility + layers = electrical_layers(stack) + masks = _layer_node_masks(x, layers) + nodes = {name: np.zeros(x.size) for name in ("v_n", "v_p", "b_n", "b_p", "g_n", "g_p")} + for layer, mask in zip(layers, masks): + p = layer.params + for key, value in (("v_n", p.v_sat_n), ("v_p", p.v_sat_p), ("b_n", p.ct_beta_n), ("b_p", p.ct_beta_p), + ("g_n", p.pf_gamma_n), ("g_p", p.pf_gamma_p)): + nodes[key][mask] = value + electrons = new.FieldMobilityFaceParameters.from_nodes(nodes["v_n"], nodes["b_n"], nodes["g_n"]) + holes = new.FieldMobilityFaceParameters.from_nodes(nodes["v_p"], nodes["b_p"], nodes["g_p"]) + assert _same(electrons.saturation_velocity_m_s, mat.v_sat_n_face) + assert _same(electrons.ct_exponent, mat.ct_beta_n_face) + assert _same(electrons.pf_gamma_sqrt_m_V, mat.pf_gamma_n_face) + assert _same(holes.saturation_velocity_m_s, mat.v_sat_p_face) + assert electrons.opted_in or holes.opted_in + + phi = np.linspace(0.0, 1.1, x.size) ** 2 + E_face = new.face_electric_field(phi, x) + assert _same(E_face, -(phi[1:] - phi[:-1]) / np.diff(x)) + for width in (0.0, 5e3): + mine = new.field_dependent_face_diffusivity( + mat.D_n_face, mat.V_T_device, E_face, electrons, pf_field_regularization_width_V_m=width + ) + old = legacy.apply_field_mobility( + mat.D_n_face / mat.V_T_device, E_face, mat.v_sat_n_face, mat.ct_beta_n_face, mat.pf_gamma_n_face, + pf_field_regularization_width_V_m=width, + ) * mat.V_T_device + assert _same(mine, old) + + +def test_legacy_rhs_face_diffusivity_matches_on_the_live_material_build(): + import field_mobility_test_support as support + from perovskite_sim.solver.mol import build_material_arrays + + stack = support.load_stack("field_mobility_demo.yaml") + x = support.electrical_grid(stack, 40) + mat = build_material_arrays(x, stack) + stack_off = dataclasses.replace(stack, mode="legacy") + assert not build_material_arrays(x, stack_off).has_field_mobility + parameters = new.FieldMobilityFaceParameters(mat.v_sat_p_face, mat.ct_beta_p_face, mat.pf_gamma_p_face) + E_face = np.linspace(-3e7, 3e7, x.size - 1) + old = legacy.apply_field_mobility( + mat.D_p_face / mat.V_T_device, E_face, mat.v_sat_p_face, mat.ct_beta_p_face, mat.pf_gamma_p_face + ) * mat.V_T_device + assert _same(new.field_dependent_face_diffusivity(mat.D_p_face, mat.V_T_device, E_face, parameters), old) diff --git a/tests/unit/physics/field_mobility/test_field_mobility_tangents.py b/tests/unit/physics/field_mobility/test_field_mobility_tangents.py new file mode 100644 index 00000000..d1da1405 --- /dev/null +++ b/tests/unit/physics/field_mobility/test_field_mobility_tangents.py @@ -0,0 +1,142 @@ +"""N class: one-sided directional derivatives and field-measure capabilities. + +Oracle: one-sided difference quotients ``[mu(E + h d) - mu(E)] / h`` of the +M-class composition for shrinking ``h``; infinite slopes are identified by +their growth rate, never by trusting the analytic sign alone. +""" + +from __future__ import annotations + +import numpy as np +import pytest + +from solarlab.physics.transport import field_mobility as fm +from solarlab.physics.transport import field_mobility_tangents as tangents + + +def _quotient(mu0, E, d, v_sat, beta, gamma, h, width=0.0): + mu0, E, d, v_sat, beta, gamma = (np.atleast_1d(np.asarray(value, dtype=float)) for value in (mu0, E, d, v_sat, beta, gamma)) + base = fm.apply_field_mobility(mu0, E, v_sat, beta, gamma, pf_field_regularization_width_V_m=width) + step = fm.apply_field_mobility(mu0, E + h * d, v_sat, beta, gamma, pf_field_regularization_width_V_m=width) + return (step - base) / h + + +def _derivative(mu0, E, d, v_sat, beta, gamma, width=0.0): + return tangents.field_mobility_directional_derivative( + np.array([mu0]), np.array([E]), np.array([d]), np.array([v_sat]), np.array([beta]), np.array([gamma]), + pf_field_regularization_width_V_m=width, + ) + + +@pytest.mark.parametrize("E", [-3e7, -2e5, 4e3, 6e6]) +@pytest.mark.parametrize("d", [1.0, -2.5]) +@pytest.mark.parametrize("v_sat, beta, gamma", [(1e4, 2.0, 3e-4), (0.0, 2.0, -2e-4), (3e3, 1.0, 0.0), (1e4, 0.7, 1e-4)]) +def test_smooth_faces_give_the_linear_directional_derivative(E, d, v_sat, beta, gamma): + result = _derivative(2e-4, E, d, v_sat, beta, gamma) + assert result.smooth[0] and result.finite[0] + h = 1e-7 * max(abs(E), 1.0) + fd = _quotient(2e-4, E, d, v_sat, beta, gamma, h)[0] + assert result.derivative_m3_V2_s[0] == pytest.approx(fd, rel=1e-5, abs=1e-30) + linear = fm.linearize_field_mobility(2e-4, E, v_sat, beta, gamma).field_derivative_m3_V2_s + assert result.derivative_m3_V2_s[0] == pytest.approx(float(linear) * d, rel=1e-15) + + +@pytest.mark.parametrize("gamma", [3e-4, -3e-4]) +@pytest.mark.parametrize("d", [1.0, -1.0]) +def test_zero_field_poole_frenkel_cusp_has_a_signed_infinite_slope(gamma, d): + result = _derivative(2e-4, 0.0, d, 1e4, 2.0, gamma) + assert not result.smooth[0] and result.derivative_m3_V2_s[0] == np.sign(gamma) * np.inf + quotients = [_quotient(2e-4, 0.0, d, 1e4, 2.0, gamma, h)[0] for h in (1e-2, 1e-4, 1e-6)] + assert all(np.sign(q) == np.sign(gamma) for q in quotients) + assert abs(quotients[2]) / abs(quotients[0]) == pytest.approx(100.0, rel=0.05) # ~ h^(-1/2) + with pytest.raises(tangents.FieldMobilityCapabilityError, match="no finite one-sided derivative"): + tangents.require_finite_directional_derivative(result) + + +def test_regularized_poole_frenkel_is_smooth_at_zero_field(): + result = _derivative(2e-4, 0.0, 1.0, 0.0, 2.0, 3e-4, width=1e4) + assert result.smooth[0] and result.derivative_m3_V2_s[0] == 0.0 + + +@pytest.mark.parametrize("d", [1.0, -3.0]) +def test_zero_field_caughey_thomas_beta_one_has_a_finite_kink(d): + mu0, v_sat = 2e-4, 3e3 + result = _derivative(mu0, 0.0, d, v_sat, 1.0, 0.0) + expected = -mu0 * mu0 * abs(d) / v_sat + assert not result.smooth[0] and result.derivative_m3_V2_s[0] == pytest.approx(expected, rel=1e-15) + for h in (1e-3, 1e-6): + assert _quotient(mu0, 0.0, d, v_sat, 1.0, 0.0, h)[0] == pytest.approx(expected, rel=10 * h * mu0 / v_sat + 1e-9) + assert tangents.require_finite_directional_derivative(result)[0] == pytest.approx(expected, rel=1e-15) + + +def test_zero_field_caughey_thomas_beta_below_one_is_infinite_and_above_one_is_flat(): + below = _derivative(2e-4, 0.0, 1.0, 3e3, 0.6, 0.0) + assert below.derivative_m3_V2_s[0] == -np.inf + quotients = [abs(_quotient(2e-4, 0.0, 1.0, 3e3, 0.6, 0.0, h)[0]) for h in (1e-2, 1e-6)] + assert quotients[1] > 10.0 * quotients[0] + above = _derivative(2e-4, 0.0, 1.0, 3e3, 2.0, 0.0) + assert above.smooth[0] and above.derivative_m3_V2_s[0] == 0.0 + + +@pytest.mark.parametrize("d", [0.0, 1.0, -3.0]) +@pytest.mark.parametrize("mu0, v_sat, gamma", [(1.0, 1.0, 2.0), (4.0, 1.0, 4.0)]) +def test_cancelling_pf_ct_cusps_have_finite_directional_derivative(d, mu0, v_sat, gamma): + from decimal import Decimal, localcontext + + result = _derivative(mu0, 0.0, d, v_sat, 0.5, gamma) + expected = -mu0 * mu0 * abs(d) / v_sat + assert tangents.require_finite_directional_derivative(result)[0] == expected + # Independent high-precision quotient of the value law, avoiding binary64 cancellation. + with localcontext() as context: + context.prec = 70 + h = Decimal("1e-20") + field = h * abs(Decimal(d)) + pf = Decimal(mu0) * (Decimal(gamma) * field.sqrt()).exp() + value = pf / (1 + (pf * field / Decimal(v_sat)).sqrt()) ** 2 + quotient = float((value - Decimal(mu0)) / h) + assert quotient == pytest.approx(expected, rel=2e-9, abs=0.0) + + +def test_rounded_square_root_is_not_an_exact_cusp_cancellation(): + gamma = float(2.0 * np.sqrt(2.0)) + above = _derivative(2.0, 0.0, 1.0, 1.0, 0.5, gamma) + below = _derivative(2.0, 0.0, 1.0, 1.0, 0.5, np.nextafter(gamma, 0.0)) + assert above.derivative_m3_V2_s[0] == np.inf + assert below.derivative_m3_V2_s[0] == -np.inf + with pytest.raises(tangents.FieldMobilityCapabilityError): + tangents.require_finite_directional_derivative(above) + + +@pytest.mark.parametrize("beta", [1.0, 2.0]) +def test_exp_clip_surface_takes_the_side_of_the_direction(beta): + gamma = 1e-2 + E = (80.0 / gamma) ** 2 # gamma * sqrt|E| == 80 exactly + assert gamma * np.sqrt(E) == 80.0 + mu0, v_sat = 1e-40, 1e4 # keeps mu finite and CT barely active + into = _derivative(mu0, E, 1.0, v_sat, beta, gamma) # |E| grows: enters the clipped region + out = _derivative(mu0, E, -1.0, v_sat, beta, gamma) + assert not into.smooth[0] and not out.smooth[0] + h = 1e-6 * E + assert into.derivative_m3_V2_s[0] == pytest.approx(_quotient(mu0, E, 1.0, v_sat, beta, gamma, h)[0], rel=1e-4) + assert out.derivative_m3_V2_s[0] == pytest.approx(_quotient(mu0, E, -1.0, v_sat, beta, gamma, h)[0], rel=1e-4) + assert abs(out.derivative_m3_V2_s[0]) > abs(into.derivative_m3_V2_s[0]) + + +def test_directional_derivative_is_positively_homogeneous_and_zero_along_zero(): + result = tangents.field_mobility_directional_derivative( + np.full(3, 2e-4), np.array([0.0, 0.0, 5e5]), np.array([0.0, 0.0, 0.0]), 3e3, np.array([1.0, 0.5, 2.0]), 3e-4 + ) + assert np.array_equal(result.derivative_m3_V2_s, np.zeros(3)) + single = _derivative(2e-4, 0.0, 1.0, 3e3, 1.0, 0.0).derivative_m3_V2_s[0] + double = _derivative(2e-4, 0.0, 2.0, 3e3, 1.0, 0.0).derivative_m3_V2_s[0] + assert double == pytest.approx(2.0 * single, rel=1e-15) + + +def test_field_measure_capabilities(): + one_d = tangents.require_field_measure(tangents.FACE_FIELD_1D) + two_d = tangents.require_field_measure(tangents.FACE_NORMAL_COMPONENT_2D) + assert one_d.exact and one_d.dimension == 1 + assert not two_d.exact and two_d.dimension == 2 and "|E_x|" in two_d.description + for label in ("total_field_magnitude", "face_normal_component_2d_v2", ""): + with pytest.raises(tangents.FieldMobilityCapabilityError, match="model change"): + tangents.require_field_measure(label) diff --git a/tests/unit/physics/generation/generation_test_support.py b/tests/unit/physics/generation/generation_test_support.py new file mode 100644 index 00000000..136f1896 --- /dev/null +++ b/tests/unit/physics/generation/generation_test_support.py @@ -0,0 +1,88 @@ +"""Test support: legacy presets mapped onto the new optical binding. + +Only tests import this module. Optical constants are read from the shipped +legacy CSV tables with the legacy reader's own ``np.loadtxt`` calls and +sampled by the NEW ``sample_nk_table``; the layer-to-spec rules (table, +constant index, ``sqrt(eps_r)`` fallback, substrate = optical-only) are the +new binding's. Graded CIGS slices take their n, k from the legacy optical +stack because composition binding is P04-11. +""" + +from __future__ import annotations + +from pathlib import Path + +import numpy as np + +from solarlab.physics.generation import ( + OpticalLayerSpec, + OpticalStackBinding, + SpectralPhotonFlux, + constant_index_optical_constants, + sample_nk_table, +) + +LEGACY_ROOT = Path(__file__).resolve().parents[4] / "perovskite-sim" +DATA = LEGACY_ROOT / "perovskite_sim" / "data" +CONFIGS = LEGACY_ROOT / "tests" / "fixtures" / "configs" +#: The wavelength window ``_compute_tmm_generation`` models. +WAVELENGTHS_NM = np.linspace(300.0, 1000.0, 200) + + +def config(name: str) -> str: + return str(CONFIGS / name) + + +def load_stack(name: str): + from perovskite_sim.models.config_loader import load_device_from_yaml + + return load_device_from_yaml(config(name)) + + +def electrical_grid(stack, n_grid: int) -> np.ndarray: + from perovskite_sim.discretization.grid import Layer, multilayer_grid + from perovskite_sim.experiments.jv_sweep import _layer_node_counts + from perovskite_sim.models.device import electrical_layers + + elec = electrical_layers(stack) + return multilayer_grid([Layer(layer.thickness, n) for layer, n in zip(elec, _layer_node_counts(stack, n_grid))]) + + +def am15g(wavelengths_nm: np.ndarray = WAVELENGTHS_NM) -> SpectralPhotonFlux: + table = np.loadtxt(DATA / "am15g.csv", delimiter=",", comments="#") + return SpectralPhotonFlux.from_table(table[:, 0], table[:, 1], wavelengths_nm, source_id="ASTM-G173-03-photon-flux") + + +def nk_table(material: str) -> np.ndarray: + return np.loadtxt(DATA / "nk" / f"{material}.csv", delimiter=",", skiprows=1) + + +def binding_from_stack(stack, wavelengths_nm: np.ndarray = WAVELENGTHS_NM, **kwargs) -> OpticalStackBinding: + specs = [] + for layer in stack.layers: + params = layer.params + if params.optical_material is not None: + table = nk_table(params.optical_material) + n, k = sample_nk_table(table[:, 0], table[:, 1], table[:, 2], wavelengths_nm, + material=params.optical_material) + else: + n, k = constant_index_optical_constants( + wavelengths_nm, + absorption_coefficient_m1=params.alpha, + refractive_index=params.n_optical, + relative_permittivity=params.eps_r, + ) + specs.append(OpticalLayerSpec(layer.name, layer.thickness, n, k, bool(params.incoherent), + layer.role != "substrate")) + return OpticalStackBinding(tuple(specs), am15g(wavelengths_nm), **kwargs) + + +def binding_from_legacy_optical_stack(stack, wavelengths_nm: np.ndarray = WAVELENGTHS_NM) -> OpticalStackBinding: + from perovskite_sim.physics.optical_stack import build_device_optical_stack + + optical = build_device_optical_stack(stack, wavelengths_nm) + specs = [] + for layer, part in zip(stack.layers, optical.physical_layer_slices): + for tmm in optical.layers[part]: + specs.append(OpticalLayerSpec(layer.name, tmm.d, tmm.n, tmm.k, tmm.incoherent, layer.role != "substrate")) + return OpticalStackBinding(tuple(specs), am15g(wavelengths_nm)) diff --git a/tests/unit/physics/generation/test_beer_lambert_control_volumes.py b/tests/unit/physics/generation/test_beer_lambert_control_volumes.py new file mode 100644 index 00000000..a9259a35 --- /dev/null +++ b/tests/unit/physics/generation/test_beer_lambert_control_volumes.py @@ -0,0 +1,203 @@ +"""Analytic checks of the per-control-volume Beer-Lambert integration.""" + +from __future__ import annotations + +import math +from types import SimpleNamespace + +import numpy as np +import pytest + +from solarlab.mesh.geometry import ( + half_endpoint_geometry, + integer_endpoint_geometry, + physical_boundary_two_sided_geometry, + two_sided_trace_geometry, +) +from solarlab.mesh.grid import multilayer_grid, remove_shared_interface_nodes +from solarlab.physics.generation import ( + BeerLambertBinding, + StaleGenerationProfileError, + beer_lambert_absorbed_photon_flux, + beer_lambert_generation, + beer_lambert_optical_depth, +) + +#: Floating-point round-off of a telescoped sum over <= ~1000 cells. +RTOL_FP = 1e-14 +PHI = 2.5e21 + + +def _layered(counts=(12, 40, 15)): + thicknesses = (100e-9, 400e-9, 150e-9) + alphas = (0.0, 1.3e7, 2.0e5) + x = multilayer_grid(list(zip(thicknesses, counts))) + edges = np.concatenate([[0.0], np.cumsum(thicknesses)]) + alpha = np.empty_like(x) + for k, a in enumerate(alphas): + # The material build assigns a shared boundary node to the right layer. + alpha[(x >= edges[k] - 1e-15) & (x <= edges[k + 1] + 1e-15)] = a + return x, alpha, thicknesses, alphas, edges + + +@pytest.mark.parametrize("n_nodes", [2, 3, 5, 10, 50, 200, 1000]) +@pytest.mark.parametrize("builder", [integer_endpoint_geometry, half_endpoint_geometry]) +def test_uniform_slab_absorbs_exactly_the_closed_form_budget(n_nodes, builder): + L, alpha = 400e-9, 1.0e7 + geometry = builder(np.linspace(0.0, L, n_nodes)) + absorbed = beer_lambert_absorbed_photon_flux(geometry, alpha, PHI) + expected = PHI * (1.0 - math.exp(-alpha * L)) + assert math.fsum(absorbed) == pytest.approx(expected, rel=RTOL_FP) + generation = beer_lambert_generation(geometry, alpha, PHI) + np.testing.assert_allclose(generation * geometry.cell_measures_m, absorbed, rtol=4e-16, atol=0.0) + assert np.all(absorbed > 0.0) + + +def test_layered_budget_telescopes_to_the_discrete_optical_depth_on_any_mesh(): + for counts in ((3, 5, 4), (12, 40, 15), (60, 200, 80)): + x, alpha, *_ = _layered(counts) + geometry = integer_endpoint_geometry(x) + absorbed = beer_lambert_absorbed_photon_flux(geometry, alpha, PHI) + tau_total = beer_lambert_optical_depth(x, alpha)[-1] + assert math.fsum(absorbed) == pytest.approx(PHI * -math.expm1(-tau_total), rel=RTOL_FP) + assert math.fsum(absorbed) < PHI + + +def test_non_absorbing_front_layer_generates_exactly_zero(): + x, alpha, _, _, edges = _layered() + generation = beer_lambert_generation(integer_endpoint_geometry(x), alpha, PHI) + interior = x < edges[1] - 1e-12 + # Both faces of every cell inside the transparent layer carry tau = 0. + assert np.all(generation[interior][:-1] == 0.0) + + +def test_layer_budgets_converge_to_the_analytic_layer_integrals(): + """The residual mesh error is the O(h) trapezoid across material steps.""" + + errors = [] + for scale in (1, 2, 4, 8): + x, alpha, thicknesses, alphas, edges = _layered(tuple(scale * c for c in (12, 40, 15))) + absorbed = beer_lambert_absorbed_photon_flux(integer_endpoint_geometry(x), alpha, PHI) + faces = integer_endpoint_geometry(x).cell_faces_m + centre = 0.5 * (faces[:-1] + faces[1:]) + tau_front = np.concatenate([[0.0], np.cumsum(np.multiply(alphas, thicknesses))]) + analytic = [PHI * math.exp(-tau_front[k]) * -math.expm1(-alphas[k] * thicknesses[k]) for k in range(3)] + numeric = [math.fsum(absorbed[(centre >= edges[k]) & (centre < edges[k + 1])]) for k in range(3)] + errors.append(max(abs(a - b) for a, b in zip(analytic, numeric))) + assert all(later < earlier for earlier, later in zip(errors, errors[1:])) + + +@pytest.mark.parametrize("builder", [two_sided_trace_geometry, physical_boundary_two_sided_geometry]) +def test_two_sided_geometries_conserve_photons_with_faces_on_the_true_plane(builder): + x, alpha, thicknesses, alphas, edges = _layered() + positions = edges[1:-1] + reduced = remove_shared_interface_nodes(x, positions) + keep = np.isin(x, reduced) + geometry = builder(reduced, positions) + absorbed = beer_lambert_absorbed_photon_flux(geometry, alpha[keep], PHI) + tau_total = math.fsum(a * d for a, d in zip(alphas, thicknesses)) + assert math.fsum(absorbed) == pytest.approx(PHI * -math.expm1(-tau_total), rel=RTOL_FP) + assert np.all(absorbed >= 0.0) + assert np.all(beer_lambert_generation(geometry, alpha[keep], PHI) * geometry.cell_measures_m + == pytest.approx(absorbed, rel=4e-16)) + + +def _two_sided_manufactured(case): + if case == "science_mr1": + thicknesses = np.array((200e-9, 400e-9, 100e-9)) + alphas = np.array((2e5, 1.3e7, 4e6)) + points, offset = [0.0], 0.0 + for thickness, count in zip(thicknesses, (9, 17, 5)): + coordinate = np.linspace(-1.0, 1.0, count + 1) + edges = thickness * (1.0 + np.tanh(2.0 * coordinate) / np.tanh(2.0)) / 2.0 + offset + points.extend(0.5 * (edges[:-1] + edges[1:])) + offset += thickness + points.append(offset) + nodes = np.asarray(points) + else: + nodes = np.array((0, 2, 6, 17, 26, 29, 44, 63, 86, 93, 105, 127)) * 1e-9 + thicknesses = np.array((30e-9, 60e-9, 37e-9)) + alphas = np.array((1.7e7, 3e5, 9.2e6)) + positions = np.cumsum(thicknesses)[:-1] + owner = np.searchsorted(positions, nodes, side="right") + return nodes, thicknesses, alphas, positions, owner + + +@pytest.mark.parametrize("builder", [two_sided_trace_geometry, physical_boundary_two_sided_geometry]) +@pytest.mark.parametrize("case", ["science_mr1", "unequal_spacing"]) +def test_two_sided_layer_integrals_match_piecewise_material_oracle(builder, case): + nodes, thicknesses, alphas, positions, owner = _two_sided_manufactured(case) + geometry = builder(nodes, positions) + profile = BeerLambertBinding(nodes, alphas[owner], PHI).generation_profile(geometry) + depth_front = np.concatenate(([0.0], np.cumsum(alphas * thicknesses))) + expected = [ + PHI * math.exp(-depth_front[layer]) * -math.expm1(-alphas[layer] * thicknesses[layer]) + for layer in range(3) + ] + actual = [math.fsum(profile.absorbed_m2_s[owner == layer]) for layer in range(3)] + # The frozen P0407-BL-LAYER limit; total conservation alone is insufficient. + np.testing.assert_allclose(actual, expected, rtol=1e-13, atol=0.0) + assert math.fsum(actual) == pytest.approx(PHI * -math.expm1(-depth_front[-1]), rel=RTOL_FP) + np.testing.assert_allclose( + profile.source_m3_s * geometry.cell_measures_m, + profile.absorbed_m2_s, rtol=4e-16, atol=0.0, + ) + assert np.all(profile.source_m3_s >= 0.0) + assert math.fsum(actual) <= PHI + assert np.min(np.diff(nodes)) != np.max(np.diff(nodes)) + + +@pytest.mark.parametrize("builder", [two_sided_trace_geometry, physical_boundary_two_sided_geometry]) +def test_two_sided_unspecified_varying_layer_absorption_is_rejected(builder): + nodes, _, alphas, positions, owner = _two_sided_manufactured("unequal_spacing") + geometry = builder(nodes, positions) + alpha = alphas[owner].copy() + alpha[1] *= 1.1 + with pytest.raises(ValueError, match="piecewise-constant"): + BeerLambertBinding(nodes, alpha, PHI).generation_profile(geometry) + incomplete = SimpleNamespace( + name=geometry.name, nodes_m=geometry.nodes_m, + cell_faces_m=geometry.cell_faces_m, cell_measures_m=geometry.cell_measures_m, + ) + with pytest.raises(ValueError, match="explicit interface planes"): + beer_lambert_generation(incomplete, alphas[owner], PHI) + + +@pytest.mark.parametrize("builder", [two_sided_trace_geometry, physical_boundary_two_sided_geometry]) +def test_two_sided_uniform_absorption_is_referenced_to_the_first_node(builder): + origin, width, alpha = 120e-9, 300e-9, 1.3e7 + nodes = origin + np.array((0.0, 0.07, 0.3, 0.8, 1.0)) * width + geometry = builder(nodes, ()) + absorbed = beer_lambert_absorbed_photon_flux(geometry, alpha, PHI) + assert math.fsum(absorbed) == pytest.approx(PHI * -math.expm1(-alpha * width), rel=RTOL_FP) + + +@pytest.mark.parametrize( + "alpha, phi", + [(-1.0, PHI), (np.nan, PHI), (1e7, -1.0), (1e7, math.inf), (np.ones(3), PHI)], +) +def test_invalid_optical_inputs_are_rejected(alpha, phi): + geometry = integer_endpoint_geometry(np.linspace(0.0, 1e-7, 5)) + with pytest.raises(ValueError): + beer_lambert_absorbed_photon_flux(geometry, alpha, phi) + + +def test_binding_identity_and_stale_profile_rejection(): + x = np.linspace(0.0, 4e-7, 31) + alpha = np.full(31, 1e7) + binding = BeerLambertBinding(x, alpha, PHI) + geometry = integer_endpoint_geometry(x) + profile = binding.generation_profile(geometry) + profile.require_inputs(binding.sha256, geometry) + assert BeerLambertBinding(x.copy(), alpha.copy(), PHI).sha256 == binding.sha256 + changed = [BeerLambertBinding(x, alpha * 1.01, PHI), BeerLambertBinding(x, alpha, PHI * 0.5), + BeerLambertBinding(x * 1.001, alpha, PHI)] + assert len({binding.sha256, *(item.sha256 for item in changed)}) == 4 + with pytest.raises(StaleGenerationProfileError): + profile.require_inputs(changed[0].sha256, geometry) + with pytest.raises(StaleGenerationProfileError): + profile.require_inputs(binding.sha256, half_endpoint_geometry(x)) + with pytest.raises(StaleGenerationProfileError): + binding.generation_profile(integer_endpoint_geometry(x * 1.001)) + assert profile.geometry_name == "legacy_mol_integer_endpoint_v1" + assert profile.areal_generation_m2_s == pytest.approx(PHI * -math.expm1(-1e7 * 4e-7), rel=RTOL_FP) diff --git a/tests/unit/physics/generation/test_generation_legacy_parity.py b/tests/unit/physics/generation/test_generation_legacy_parity.py new file mode 100644 index 00000000..cbdaed98 --- /dev/null +++ b/tests/unit/physics/generation/test_generation_legacy_parity.py @@ -0,0 +1,208 @@ +"""M-class parity: migrated generation and optics against the legacy engine. + +Every comparison is bitwise (``tobytes``). Control volumes come from W3a's +named ``legacy_mol_integer_endpoint_v1`` geometry, never from a copied +``dual_cell_widths``; the legacy functions are called only as references. +""" + +from __future__ import annotations + +import numpy as np +import pytest + +import generation_test_support as support +from perovskite_sim.data import load_am15g, load_nk +from perovskite_sim.experiments.jv_sweep import _fixed_generation_reference +from perovskite_sim.physics import generation as legacy_generation +from perovskite_sim.physics import optics as legacy_optics +from perovskite_sim.solver.mol import _compute_tmm_generation, build_material_arrays +from solarlab.mesh.geometry import half_endpoint_geometry, integer_endpoint_geometry +from solarlab.physics import generation as new + +Q = 1.602176634e-19 +MESHES = (10, 15, 31, 60, 100) +TMM_PRESETS = ("ionmonger_benchmark_tmm.yaml", "nip_MAPbI3_tmm.yaml", "pin_MAPbI3_tmm.yaml", + "driftfusion_benchmark_tmm.yaml") +BL_PRESETS = ("ionmonger_benchmark.yaml", "nip_MAPbI3.yaml", "pin_MAPbI3.yaml", "driftfusion_benchmark.yaml", + "cSi_homojunction.yaml", "cigs_baseline.yaml") + + +def _same(a, b) -> bool: + a = np.asarray(a) + b = np.asarray(b) + return a.shape == b.shape and a.dtype == b.dtype and a.tobytes() == b.tobytes() + + +def _scaps(name): + from perovskite_sim.scaps_compat.loader import load_scaps_yaml + + path = support.CONFIGS / name if name == "scaps_mirror.yaml" else support.LEGACY_ROOT / "configs" / name + return load_scaps_yaml(str(path)) + + +@pytest.fixture(scope="module") +def tmm_stacks(): + stacks = {name: support.load_stack(name) for name in TMM_PRESETS} + stacks["scaps_mirror.yaml"] = _scaps("scaps_mirror.yaml") + stacks["scaps_mirror_v2.yaml"] = _scaps("scaps_mirror_v2.yaml") + return stacks + + +@pytest.mark.parametrize("name", TMM_PRESETS + ("scaps_mirror.yaml", "scaps_mirror_v2.yaml")) +def test_tmm_generation_is_bitwise_the_legacy_material_build(tmm_stacks, name): + stack = tmm_stacks[name] + binding = support.binding_from_stack(stack) + for n_grid in MESHES: + x = support.electrical_grid(stack, n_grid) + profile = binding.generation_profile(integer_endpoint_geometry(x)) + assert _same(profile.source_m3_s, _compute_tmm_generation(x, stack)), (name, n_grid) + assert profile.geometry_name == "legacy_mol_integer_endpoint_v1" + + +def test_graded_cigs_slices_reproduce_the_legacy_generation(): + stack = support.load_stack("cigs_graded_optics.yaml") + binding = support.binding_from_legacy_optical_stack(stack) + assert any(part.stop - part.start > 1 for _, part in binding.physical_layer_slices) + for n_grid in (10, 40, 100): + x = support.electrical_grid(stack, n_grid) + assert _same(binding.generation_profile(integer_endpoint_geometry(x)).source_m3_s, + _compute_tmm_generation(x, stack)) + + +def test_graded_slice_geometry_is_the_legacy_one(): + from perovskite_sim.physics.optical_stack import build_device_optical_stack + + stack = support.load_stack("cigs_graded_optics.yaml") + optical = build_device_optical_stack(stack, support.WAVELENGTHS_NM) + for layer, part in zip(stack.layers, optical.physical_layer_slices): + model = layer.params.cigs_graded_optics + if model is None or part.stop - part.start == 1: + continue + centres, thickness = new.graded_slice_centres(layer.thickness, model.slices) + assert all(tmm.d == thickness for tmm in optical.layers[part]) + assert _same(centres, (np.arange(model.slices, dtype=float) + 0.5) * (layer.thickness / model.slices)) + + +@pytest.mark.parametrize("name", BL_PRESETS) +def test_beer_lambert_generation_is_bitwise_legacy(name): + stack = support.load_stack(name) + for n_grid in MESHES: + x = support.electrical_grid(stack, n_grid) + mat = build_material_arrays(x, stack) + legacy = legacy_generation.beer_lambert_generation(x, mat.alpha, stack.Phi) + geometry = integer_endpoint_geometry(x) + assert _same(new.beer_lambert_generation(geometry, mat.alpha, stack.Phi), legacy) + profile = new.BeerLambertBinding(x, mat.alpha, stack.Phi).generation_profile(geometry) + assert _same(profile.source_m3_s, legacy) + + +def test_scalar_absorption_beer_lambert_is_bitwise_legacy(): + for n_nodes in (2, 3, 7, 50, 401): + x = np.linspace(0.0, 4e-7, n_nodes) + assert _same(new.beer_lambert_generation(integer_endpoint_geometry(x), 1.3e7, 2.5e21), + legacy_generation.beer_lambert_generation(x, 1.3e7, 2.5e21)) + + +def test_half_endpoint_geometry_equals_the_legacy_2d_boundary_rescale(): + """2D rows: the legacy rescale ``G1d * dx/(dx/2)`` equals ``absorbed / (dx/2)``.""" + + from perovskite_sim.twod.solver_2d import _to_2d_dual_cell + + stack = support.load_stack("cSi_homojunction.yaml") + x = support.electrical_grid(stack, 61) + mat = build_material_arrays(x, stack) + legacy_1d = legacy_generation.beer_lambert_generation(x, mat.alpha, stack.Phi) + expected = _to_2d_dual_cell(legacy_1d) + assert _same(new.beer_lambert_generation(half_endpoint_geometry(x), mat.alpha, stack.Phi), expected) + + +def _test_stacks(): + rng = np.random.default_rng(17) + n_wl = 37 + wl_nm = np.linspace(320.0, 940.0, n_wl) + coherent = [ + legacy_optics.TMMLayer(d=60e-9, n=2.0 + 0.2 * rng.random(n_wl), k=0.02 * rng.random(n_wl)), + legacy_optics.TMMLayer(d=350e-9, n=np.full(n_wl, 2.5), k=0.5 * np.exp(-(wl_nm - 320.0) / 160.0)), + legacy_optics.TMMLayer(d=120e-9, n=np.full(n_wl, 1.9), k=np.zeros(n_wl)), + ] + glass = legacy_optics.TMMLayer(d=1e-3, n=np.full(n_wl, 1.5), k=np.full(n_wl, 1e-7), incoherent=True) + return wl_nm * 1e-9, [coherent, [glass, *coherent]] + + +@pytest.mark.parametrize("which", [0, 1]) +def test_transfer_matrix_primitives_are_bitwise_legacy(which): + wl_m, stacks = _test_stacks() + old_layers = stacks[which] + new_layers = [new.TMMLayer(d=lyr.d, n=lyr.n, k=lyr.k, incoherent=lyr.incoherent) for lyr in old_layers] + boundaries = np.concatenate([[0.0], np.cumsum([lyr.d for lyr in old_layers])]) + x = np.linspace(boundaries[0], boundaries[-1], 233) + flux = np.linspace(1e27, 4e27, wl_m.size) + assert _same(new.tmm_reflectance(new_layers, wl_m), legacy_optics.tmm_reflectance(old_layers, wl_m)) + assert _same(new.tmm_absorption_profile(new_layers, wl_m, x, boundaries), + legacy_optics.tmm_absorption_profile(old_layers, wl_m, x, boundaries)) + assert _same(new.tmm_cumulative_absorptance(new_layers, wl_m, x, boundaries), + legacy_optics.tmm_cumulative_absorptance(old_layers, wl_m, x, boundaries)) + assert _same(new.tmm_absorbed_photon_flux_per_cell(new_layers, wl_m, flux, x, boundaries), + legacy_optics.tmm_absorbed_photon_flux_per_cell(old_layers, wl_m, flux, x, boundaries)) + point, absorbance = new.tmm_point_generation(new_layers, wl_m, flux, x, boundaries, return_absorbance=True) + old_point, old_absorbance = legacy_optics.tmm_generation(old_layers, wl_m, flux, x, boundaries, + return_absorbance=True) + assert _same(point, old_point) and _same(absorbance, old_absorbance) + + +def test_spectrum_sampling_is_bitwise_the_legacy_loader(): + table = np.loadtxt(support.DATA / "am15g.csv", delimiter=",", comments="#") + for grid in (support.WAVELENGTHS_NM, np.linspace(280.0, 1500.0, 977), np.array([500.0, 777.7])): + _, legacy_flux = load_am15g(grid) + assert _same(new.sample_tabulated(table[:, 0], table[:, 1], grid, name="am15g"), legacy_flux) + assert _same(new.SpectralPhotonFlux.from_table(table[:, 0], table[:, 1], grid, source_id="am15g").flux_m2_s_m, + legacy_flux) + with pytest.raises(ValueError, match="outside the native range"): + new.sample_tabulated(table[:, 0], table[:, 1], np.array([270.0, 500.0]), name="am15g") + + +@pytest.mark.parametrize("material", sorted(p.stem for p in (support.DATA / "nk").glob("*.csv"))) +def test_optical_constant_sampling_is_bitwise_the_legacy_loader(material): + table = support.nk_table(material) + lo, hi = max(table[0, 0], 300.0), min(table[-1, 0], 1000.0) + grid = np.linspace(lo, hi, 157) + _, legacy_n, legacy_k = load_nk(material, grid) + n, k = new.sample_nk_table(table[:, 0], table[:, 1], table[:, 2], grid, material=material) + assert _same(n, legacy_n) and _same(k, legacy_k) + with pytest.raises(ValueError, match="outside the native range"): + new.sample_nk_table(table[:, 0], table[:, 1], table[:, 2], np.array([table[0, 0] - 1.0]), material=material) + + +def test_fixed_generation_provenance_is_the_legacy_string(): + rng = np.random.default_rng(2) + values = rng.random(37) * 1e27 + assert new.fixed_generation_reference(None) == _fixed_generation_reference(None) + assert new.fixed_generation_reference(values) == _fixed_generation_reference(values) + assert new.FixedGenerationProfile(values, 37).source_reference == _fixed_generation_reference(values) + with pytest.raises(ValueError, match="only finite values"): + new.fixed_generation_reference(np.array([1.0, np.inf])) + + +def test_documented_photon_budgets_are_reproduced(): + """Values quoted by the legacy sources, reproduced by the new path. + + ``optics.py`` / ``mol.py`` quote 225.001 A/m^2 absorbed and 226.672 A/m^2 + for ``q Phi (1-R-T)`` on ionmonger_benchmark_tmm; CLAUDE.md quotes the + mesh-independent 219.01 A/m^2 electrical budget of scaps_mirror; the + Beer-Lambert ionmonger ceiling is q Phi = 224.30473 A/m^2. + """ + + stack = support.load_stack("ionmonger_benchmark_tmm.yaml") + budget = support.binding_from_stack(stack).photon_budget() + assert round(Q * budget.electrical_absorbed_m2_s, 3) == 225.001 + ceiling = Q * (budget.incident_m2_s - budget.reflected_m2_s - budget.transmitted_m2_s) + assert 226.672 <= ceiling < 226.673 # quoted truncated as 226.672 + scaps = support.binding_from_stack(_scaps("scaps_mirror.yaml")).photon_budget() + assert round(Q * scaps.electrical_absorbed_m2_s, 2) == 219.01 + bl = support.load_stack("ionmonger_benchmark.yaml") + assert round(Q * bl.Phi, 5) == 224.30473 + for n_grid in (10, 60, 100): + x = support.electrical_grid(bl, n_grid) + mat = build_material_arrays(x, bl) + areal = float(np.sum(new.beer_lambert_absorbed_photon_flux(integer_endpoint_geometry(x), mat.alpha, bl.Phi))) + assert Q * areal < Q * bl.Phi diff --git a/tests/unit/physics/generation/test_optical_binding_identity.py b/tests/unit/physics/generation/test_optical_binding_identity.py new file mode 100644 index 00000000..46a05d67 --- /dev/null +++ b/tests/unit/physics/generation/test_optical_binding_identity.py @@ -0,0 +1,179 @@ +"""Optical binding: declared inputs, rejection predicates and stale-profile identity.""" + +from __future__ import annotations + +import math + +import numpy as np +import pytest + +from solarlab.mesh.geometry import half_endpoint_geometry, integer_endpoint_geometry +from solarlab.physics.generation import ( + FixedGenerationProfile, + OpticalLayerSpec, + OpticalStackBinding, + SpectralPhotonFlux, + StaleGenerationProfileError, + constant_index_optical_constants, + graded_slice_centres, +) + +WL = np.linspace(400.0, 800.0, 41) + + +def _spectrum(scale=1.0): + return SpectralPhotonFlux(WL, scale * np.full(WL.size, 3e27), "flat") + + +def _layer(name="absorber", thickness=300e-9, n=2.5, k=0.1, **kwargs): + return OpticalLayerSpec(name, thickness, np.full(WL.size, n), np.full(WL.size, k), **kwargs) + + +def _binding(**kwargs): + layers = kwargs.pop("layers", (_layer("glass", 1e-3, 1.5, 0.0, incoherent=True, electrical=False), + _layer("etl", 50e-9, 2.1, 0.0), _layer())) + return OpticalStackBinding(layers, kwargs.pop("spectrum", _spectrum()), **kwargs) + + +def test_identity_is_reproducible_and_tracks_every_declared_input(): + base = _binding() + assert _binding().sha256 == base.sha256 + variants = { + "thickness": _binding(layers=(_layer("glass", 1e-3, 1.5, 0.0, incoherent=True, electrical=False), + _layer("etl", 50e-9, 2.1, 0.0), _layer(thickness=301e-9))), + "n": _binding(layers=(_layer("glass", 1e-3, 1.5, 0.0, incoherent=True, electrical=False), + _layer("etl", 50e-9, 2.1, 0.0), _layer(n=2.51))), + "k": _binding(layers=(_layer("glass", 1e-3, 1.5, 0.0, incoherent=True, electrical=False), + _layer("etl", 50e-9, 2.1, 0.0), _layer(k=0.11))), + "spectrum": _binding(spectrum=_spectrum(1.01)), + "temperature": _binding(dependencies={"temperature_K": 310.0}), + "composition": _binding(dependencies={"composition:absorber:ggi": 0.3}), + "ambient": _binding(ambient_index=1.33), + "coherence": _binding(layers=(_layer("glass", 1e-3, 1.5, 0.0, electrical=False), + _layer("etl", 50e-9, 2.1, 0.0), _layer())), + } + digests = {name: item.sha256 for name, item in variants.items()} + assert len(set(digests.values()) | {base.sha256}) == len(digests) + 1 + assert _binding(dependencies={"temperature_K": 310.0}).sha256 == digests["temperature"] + + +def test_a_profile_is_never_reused_after_its_inputs_change(): + base = _binding() + x = np.linspace(0.0, base.electrical_thickness_m, 25) + geometry = integer_endpoint_geometry(x) + profile = base.generation_profile(geometry) + profile.require_inputs(base.sha256, geometry) + hotter = _binding(dependencies={"temperature_K": 350.0}) + with pytest.raises(StaleGenerationProfileError): + profile.require_inputs(hotter.sha256, geometry) + with pytest.raises(StaleGenerationProfileError): + profile.require_inputs(base.sha256, half_endpoint_geometry(x)) + with pytest.raises(StaleGenerationProfileError): + profile.require_inputs(base.sha256, integer_endpoint_geometry(np.linspace(0.0, base.electrical_thickness_m, 26))) + + +def test_geometry_convention_is_recorded_and_changes_only_the_contact_cells(): + base = _binding() + x = np.linspace(0.0, base.electrical_thickness_m, 25) + whole = base.generation_profile(integer_endpoint_geometry(x)) + half = base.generation_profile(half_endpoint_geometry(x)) + assert whole.geometry_name == "legacy_mol_integer_endpoint_v1" + assert half.geometry_name == "legacy_twod_half_endpoint_v1" + assert whole.absorbed_m2_s.tobytes() == half.absorbed_m2_s.tobytes() + assert np.array_equal(whole.source_m3_s[1:-1], half.source_m3_s[1:-1]) + # Integer endpoint: the contact cell's photons spread over the full dx. + assert np.array_equal(half.source_m3_s[[0, -1]], 2.0 * whole.source_m3_s[[0, -1]]) + + +@pytest.mark.parametrize( + "layers, message", + [ + ((_layer("etl", electrical=True), _layer("glass", 1e-3, 1.5, 0.0, electrical=False)), "contiguous front prefix"), + ((_layer("etl"), _layer("glass", 1e-3, 1.5, 0.0, incoherent=True)), "only the first"), + ((_layer("glass", 1e-3, 1.5, 0.0, electrical=False),), "at least one electrical"), + ((_layer("a"), _layer("b"), _layer("a")), "contiguous"), + ], +) +def test_stack_level_rejections(layers, message): + with pytest.raises(ValueError, match=message): + OpticalStackBinding(layers, _spectrum()) + + +@pytest.mark.parametrize( + "kwargs", + [dict(incidence="back"), dict(ambient_index=0.0), dict(exit_index=math.nan), + dict(dependencies={"temperature_K": math.inf}), dict(dependencies={"flag": True})], +) +def test_declaration_level_rejections(kwargs): + with pytest.raises(ValueError): + _binding(**kwargs) + + +@pytest.mark.parametrize( + "spec", + [ + dict(thickness=0.0), + dict(n=0.0), + dict(k=-1e-3), + dict(n=math.nan), + ], +) +def test_layer_level_rejections(spec): + with pytest.raises(ValueError): + _layer(**spec) + + +def test_optical_constants_must_share_the_spectrum_grid(): + short = OpticalLayerSpec("a", 1e-7, np.full(5, 2.0), np.zeros(5)) + with pytest.raises(ValueError, match="wavelength grid"): + OpticalStackBinding((short,), _spectrum()) + + +def test_spectrum_declares_its_unit_and_rejects_irradiance(): + with pytest.raises(ValueError, match="m\\^-2 s\\^-1 m\\^-1"): + SpectralPhotonFlux(WL, np.ones(WL.size), "am15g", unit="W m^-2 nm^-1") + with pytest.raises(ValueError): + SpectralPhotonFlux(WL, -np.ones(WL.size), "bad") + flat = _spectrum() + assert flat.integrated_photon_flux_m2_s() == pytest.approx(3e27 * 400e-9, rel=1e-14) + + +def test_faces_outside_the_electrical_window_are_rejected(): + base = _binding() + too_long = np.linspace(0.0, 1.01 * base.electrical_thickness_m, 11) + with pytest.raises(ValueError, match="electrical window"): + base.generation_profile(integer_endpoint_geometry(too_long)) + + +def test_constant_index_constants_reproduce_the_absorption_coefficient(): + n, k = constant_index_optical_constants(WL, absorption_coefficient_m1=1e7, refractive_index=2.2) + assert np.all(n == 2.2) + np.testing.assert_allclose(4.0 * np.pi * k / (WL * 1e-9), 1e7, rtol=1e-15) + n_eps, _ = constant_index_optical_constants(WL, absorption_coefficient_m1=0.0, relative_permittivity=6.25) + assert np.all(n_eps == 2.5) + with pytest.raises(ValueError): + constant_index_optical_constants(WL, absorption_coefficient_m1=0.0) + + +def test_graded_slices_partition_the_layer(): + centres, thickness = graded_slice_centres(500e-9, 8) + assert thickness * 8 == pytest.approx(500e-9, rel=1e-15) + assert centres[0] == pytest.approx(thickness / 2) and np.all(np.diff(centres) > 0) + with pytest.raises(ValueError): + graded_slice_centres(500e-9, 0) + + +def test_fixed_generation_is_injected_verbatim_with_its_provenance(): + values = np.linspace(1e26, 3e27, 15) + fixed = FixedGenerationProfile(values, 15) + geometry = integer_endpoint_geometry(np.linspace(0.0, 4e-7, 15)) + profile = fixed.generation_profile(geometry) + assert profile.source_m3_s.tobytes() == values.tobytes() + assert np.array_equal(profile.absorbed_m2_s, values * geometry.cell_measures_m) + assert profile.binding_sha256 == fixed.source_reference and fixed.source_reference.startswith("sha256:") + with pytest.raises(ValueError): + FixedGenerationProfile(values, 14) + with pytest.raises(ValueError): + FixedGenerationProfile(np.array([1.0, np.nan]), 2) + with pytest.raises(ValueError): + fixed.generation_profile(integer_endpoint_geometry(np.linspace(0.0, 4e-7, 16))) diff --git a/tests/unit/physics/generation/test_transfer_matrix_budget.py b/tests/unit/physics/generation/test_transfer_matrix_budget.py new file mode 100644 index 00000000..5f055f59 --- /dev/null +++ b/tests/unit/physics/generation/test_transfer_matrix_budget.py @@ -0,0 +1,150 @@ +"""Analytic and conservation checks of the transfer-matrix optics and photon budget.""" + +from __future__ import annotations + +import math + +import numpy as np +import pytest + +from solarlab.mesh.geometry import half_endpoint_geometry, integer_endpoint_geometry +from solarlab.physics.generation import ( + OpticalLayerSpec, + OpticalStackBinding, + SpectralPhotonFlux, + TMMLayer, + dropped_multipass_fraction, + tmm_absorption_profile, + tmm_cumulative_absorptance, + tmm_reflectance, + tmm_transmittance, +) + +WL_NM = np.linspace(350.0, 780.0, 60) +WL_M = WL_NM * 1e-9 + + +def _spectrum(wavelengths_nm=WL_NM): + return SpectralPhotonFlux(wavelengths_nm, np.linspace(2e27, 4e27, wavelengths_nm.size), "synthetic") + + +def _coherent_specs(): + n_wl = WL_NM.size + return ( + OpticalLayerSpec("etl", 50e-9, np.full(n_wl, 2.4), np.where(WL_NM < 380, 0.05, 0.001)), + OpticalLayerSpec("absorber", 400e-9, np.full(n_wl, 2.5), 0.4 * np.exp(-(WL_NM - 400) / 150)), + OpticalLayerSpec("htl", 150e-9, np.full(n_wl, 1.8), np.where(WL_NM < 420, 0.02, 0.001)), + ) + + +def _glass(k=1e-6): + n_wl = WL_NM.size + return OpticalLayerSpec("glass", 1e-3, np.full(n_wl, 1.52), np.full(n_wl, k), incoherent=True, electrical=False) + + +def test_lossless_slab_matches_the_airy_formula(): + n, d = 2.3, 410e-9 + layers = [TMMLayer(d=d, n=np.full(WL_M.size, n), k=np.zeros(WL_M.size))] + r = (1.0 - n) / (1.0 + n) + cos2 = np.cos(4.0 * np.pi * n * d / WL_M) + airy = 2.0 * r**2 * (1.0 - cos2) / (1.0 + r**4 - 2.0 * r**2 * cos2) + np.testing.assert_allclose(tmm_reflectance(layers, WL_M), airy, rtol=0.0, atol=1e-13) + np.testing.assert_allclose(tmm_transmittance(layers, WL_M), 1.0 - airy, rtol=0.0, atol=1e-13) + assert np.all(tmm_cumulative_absorptance(layers, WL_M, np.linspace(0, d, 21), np.array([0.0, d])) == 0.0) + + +def test_quarter_wave_coating_cancels_reflection_at_its_design_wavelength(): + n_ambient, n_exit, lam = 1.0, 2.25, 550e-9 + n_coat = math.sqrt(n_ambient * n_exit) + layers = [TMMLayer(d=lam / (4.0 * n_coat), n=np.array([n_coat]), k=np.array([0.0]))] + R = tmm_reflectance(layers, np.array([lam]), n_ambient=n_ambient, n_substrate=n_exit) + T = tmm_transmittance(layers, np.array([lam]), n_ambient=n_ambient, n_substrate=n_exit) + assert R[0] < 1e-30 and T[0] == pytest.approx(1.0, abs=1e-14) + + +def test_coherent_photon_budget_closes_to_round_off(): + budget = OpticalStackBinding(_coherent_specs(), _spectrum()).photon_budget() + assert np.max(np.abs(budget.spectral_closure_residual())) < 1e-12 + assert np.all(budget.dropped_multipass == 0.0) + assert np.all(budget.layer_absorptance >= 0.0) + assert budget.parasitic_absorbed_m2_s == 0.0 + total = budget.reflected_m2_s + budget.transmitted_m2_s + float(np.sum(budget.layer_absorbed_m2_s)) + assert total == pytest.approx(budget.incident_m2_s, rel=1e-12) + + +def test_incoherent_substrate_budget_books_the_dropped_round_trips(): + binding = OpticalStackBinding((_glass(k=2e-7), *_coherent_specs()), _spectrum()) + budget = binding.photon_budget() + assert np.max(np.abs(budget.spectral_closure_residual())) < 1e-12 + assert np.all(budget.dropped_multipass > 0.0) + assert budget.parasitic_absorbed_m2_s > 0.0 + # The substrate is optical-only: its absorption is parasitic, never generation. + glass_alpha = 4.0 * np.pi * 2e-7 / WL_M + r0 = (1.0 - 1.52) / (1.0 + 1.52) + analytic_glass = (1.0 - r0**2) * -np.expm1(-glass_alpha * 1e-3) + np.testing.assert_allclose(budget.layer_absorptance[0], analytic_glass, rtol=1e-12) + layers = list(binding.tmm_layers) + np.testing.assert_array_equal(budget.dropped_multipass, dropped_multipass_fraction(layers, WL_M)) + + +def test_cumulative_absorptance_is_the_exact_antiderivative_of_the_absorption_rate(): + layers = [TMMLayer(d=s.thickness_m, n=s.n, k=s.k) for s in _coherent_specs()] + boundaries = np.array([0.0, 50e-9, 450e-9, 600e-9]) + # Strictly inside the absorber, beyond the 1e-15 m boundary-snapping + # tolerance of the layer map, so the reference never straddles a jump of A. + inset = 1e-6 * 400e-9 + xa, xb = 50e-9 + inset, 450e-9 - inset + C = tmm_cumulative_absorptance(layers, WL_M, np.array([xa, xb]), boundaries) + exact = C[1] - C[0] + errors = [] + for n_pts in (2001, 8001): + xs = np.linspace(xa, xb, n_pts) + errors.append(float(np.max(np.abs(exact - np.trapezoid(tmm_absorption_profile(layers, WL_M, xs, boundaries), + xs, axis=0))))) + # Second-order trapezoid convergence onto the closed form (x16 per 4x refinement). + assert errors[1] < errors[0] / 8.0 + assert errors[1] < 1e-7 + + +def test_float64_window_guards_still_raise(): + n_wl = 20 + wl = np.linspace(400e-9, 700e-9, n_wl) + huge = [TMMLayer(d=20e-6, n=np.full(n_wl, 3.0), k=np.full(n_wl, 2.0))] + with pytest.raises(ValueError, match="not representable in float64"): + tmm_cumulative_absorptance(huge, wl, np.linspace(0.0, 20e-6, 51), np.array([0.0, 20e-6])) + lam = np.array([500e-9]) + k = 90.0 * 500e-9 / (4.0 * np.pi * 20e-6) # alpha * d = 90: past the ~70 accuracy limit + lossy = [TMMLayer(d=20e-6, n=np.array([3.0]), k=np.array([k]))] + with pytest.raises(ValueError, match="above the physical"): + tmm_cumulative_absorptance(lossy, lam, np.linspace(0.0, 20e-6, 41), np.array([0.0, 20e-6])) + + +def test_only_the_first_layer_may_be_incoherent(): + layers = [TMMLayer(d=1e-7, n=np.ones(WL_M.size) * 2, k=np.zeros(WL_M.size)), + TMMLayer(d=1e-3, n=np.ones(WL_M.size) * 1.5, k=np.zeros(WL_M.size), incoherent=True)] + with pytest.raises(ValueError, match="only the first layer"): + tmm_reflectance(layers, WL_M) + + +@pytest.mark.parametrize("builder", [integer_endpoint_geometry, half_endpoint_geometry]) +def test_cell_absorbed_photons_are_mesh_independent_and_equal_the_electrical_budget(builder): + binding = OpticalStackBinding((_glass(), *_coherent_specs()), _spectrum()) + budget = binding.photon_budget() + reference = budget.electrical_absorbed_m2_s + ceiling = budget.incident_m2_s - budget.reflected_m2_s - budget.transmitted_m2_s + for n_nodes in (4, 9, 31, 120, 400): + x = np.linspace(0.0, binding.electrical_thickness_m, n_nodes) + profile = binding.generation_profile(builder(x)) + assert profile.areal_generation_m2_s == pytest.approx(reference, rel=1e-12) + assert profile.areal_generation_m2_s <= ceiling * (1.0 + 1e-12) + np.testing.assert_allclose(profile.source_m3_s * builder(x).cell_measures_m, profile.absorbed_m2_s, + rtol=4e-16, atol=0.0) + assert np.all(profile.absorbed_m2_s >= 0.0) + + +def test_absorption_profile_reads_the_electrical_coordinate(): + binding = OpticalStackBinding((_glass(), *_coherent_specs()), _spectrum()) + x = np.linspace(0.0, binding.electrical_thickness_m, 11) + layers = list(binding.tmm_layers) + expected = tmm_absorption_profile(layers, WL_M, x + 1e-3, binding.boundaries_m) + np.testing.assert_array_equal(binding.absorption_profile(x), expected) diff --git a/tests/unit/physics/ions/test_finite_site_parity.py b/tests/unit/physics/ions/test_finite_site_parity.py new file mode 100644 index 00000000..6ea849c7 --- /dev/null +++ b/tests/unit/physics/ions/test_finite_site_parity.py @@ -0,0 +1,153 @@ +"""M parity for extracted finite-site mappings, without running legacy DAE.""" + +from __future__ import annotations + +from types import SimpleNamespace + +import numpy as np +import pytest +from threadpoolctl import threadpool_limits + +from perovskite_sim.solver.dae_dual_ions import DualIonDAE, _shifted_logistic_density +from perovskite_sim.solver.dae_ions import SinglePositiveIonDAE +from solarlab.physics.ions.finite_site import ( + shared_site_densities, shared_site_fractions, + shifted_logistic_density, single_site_density, +) + + +@pytest.fixture(scope="module", autouse=True) +def blas1(): + with threadpool_limits(limits=1): + yield + + +def same(actual, expected): + actual, expected = np.asarray(actual), np.asarray(expected) + assert actual.shape == expected.shape + assert actual.dtype == expected.dtype + assert actual.tobytes() == expected.tobytes() + + +def single_reference(reference, capacity, logit_reference, coordinate): + count = coordinate.size + layout = SimpleNamespace( + size=4 * count, electron_reference_m3=np.full(count, 1e20), + hole_reference_m3=np.full(count, 2e20), + electron_slice=slice(0, count), hole_slice=slice(count, 2 * count), + positive_ion_slice=slice(2 * count, 3 * count), + potential_slice=slice(3 * count, 4 * count), + positive_ion_reference_m3=reference, + positive_ion_site_limit_m3=capacity, + positive_ion_logit_reference=logit_reference, + ) + packed = np.r_[np.zeros(2 * count), coordinate, np.zeros(count)] + return SinglePositiveIonDAE.physical_fields(SimpleNamespace(layout=layout), packed)[2] + + +def shared_reference(capacity, positive_reference, negative_reference, positive, negative): + count = positive.size + layout = SimpleNamespace( + size=5 * count, node_count=count, shared_site=True, + electron_reference_m3=np.full(count, 1e20), hole_reference_m3=np.full(count, 2e20), + electron_slice=slice(0, count), hole_slice=slice(count, 2 * count), + positive_ion_slice=slice(2 * count, 3 * count), + negative_ion_slice=slice(3 * count, 4 * count), + potential_slice=slice(4 * count, 5 * count), + positive_ion_coordinate_reference=positive_reference, + negative_ion_coordinate_reference=negative_reference, + positive_ion_site_limit_m3=capacity, + ) + packed = np.r_[np.zeros(2 * count), positive, negative, np.zeros(count)] + source = SimpleNamespace(layout=layout) + source._shared_site_fractions = lambda value: DualIonDAE._shared_site_fractions(source, value) + fractions = DualIonDAE._shared_site_fractions(source, packed) + densities = DualIonDAE.physical_fields(source, packed)[2:4] + return fractions, densities + + +@pytest.mark.parametrize("count", [1, 5, 37]) +@pytest.mark.parametrize("coordinate_kind", ["zero", "tiny", "mixed", "near_saturation"]) +def test_single_and_distinct_site_maps_are_bitwise(count, coordinate_kind): + capacity = np.geomspace(1e23, 1e28, count) + occupancy = np.linspace(0.001, 0.45, count) + reference = capacity * occupancy + logit_reference = np.log(occupancy) - np.log1p(-occupancy) + coordinate = { + "zero": np.zeros(count), + "tiny": np.linspace(-1e-16, 1e-16, count), + "mixed": np.linspace(-10.0, 10.0, count), + "near_saturation": np.linspace(-35.0, 30.0, count), + }[coordinate_kind] + actual = single_site_density(reference, capacity, logit_reference, coordinate) + same(actual, single_reference(reference, capacity, logit_reference, coordinate)) + for label in ("positive-ion", "negative-ion", "custom-species"): + same( + shifted_logistic_density(reference, capacity, logit_reference, coordinate, label=label), + _shifted_logistic_density(reference, capacity, logit_reference, coordinate, label=label), + ) + if coordinate_kind == "zero": + same(actual, reference) + + +@pytest.mark.parametrize("count", [1, 5, 37]) +@pytest.mark.parametrize("coordinate_kind", ["zero", "tiny", "mixed", "near_saturation"]) +def test_shared_site_fractions_and_common_capacity_are_bitwise(count, coordinate_kind): + capacity = np.geomspace(1e23, 1e28, count) + positive_fraction = np.linspace(1e-5, 0.3, count) + negative_fraction = np.linspace(0.03, 0.2, count) + vacancy_fraction = 1.0 - positive_fraction - negative_fraction + positive_reference = np.log(positive_fraction / vacancy_fraction) + negative_reference = np.log(negative_fraction / vacancy_fraction) + positive = { + "zero": np.zeros(count), "tiny": np.linspace(-1e-16, 1e-16, count), + "mixed": np.linspace(-20.0, 20.0, count), + "near_saturation": np.linspace(-700.0, 700.0, count), + }[coordinate_kind] + negative = -positive / 4.0 + # Keep all three fractions representable at the extreme shared-site input. + if coordinate_kind == "near_saturation": + negative = positive / 2.0 + args = (positive_reference, negative_reference, positive, negative) + expected_fractions, expected_densities = shared_reference(capacity, *args) + for actual, expected in zip(shared_site_fractions(*args), expected_fractions): + same(actual, expected) + for actual, expected in zip(shared_site_densities(capacity, *args), expected_densities): + same(actual, expected) + + +def test_distinct_sublattices_keep_unequal_capacities(): + positive_limit = np.array([1e24, 3e26, 1e28]) + negative_limit = np.array([9e27, 2e25, 5e23]) + coordinate = np.array([-3.0, 0.0, 2.0]) + for capacity, occupancy, label in ( + (positive_limit, 0.1, "positive-ion"), + (negative_limit, 0.2, "negative-ion"), + ): + reference = capacity * occupancy + logit_reference = np.full(3, np.log(occupancy) - np.log1p(-occupancy)) + same( + shifted_logistic_density(reference, capacity, logit_reference, coordinate, label=label), + _shifted_logistic_density(reference, capacity, logit_reference, coordinate, label=label), + ) + + +@pytest.mark.parametrize("coordinate_value", [-1000.0, 1000.0]) +def test_existing_single_distinct_and_shared_saturation_refusals_are_retained(coordinate_value): + capacity = np.full(2, 1e27) + reference = capacity * 0.1 + logit_reference = np.full(2, np.log(0.1) - np.log1p(-0.1)) + coordinate = np.full(2, coordinate_value) + for actual, expected in ( + (lambda: single_site_density(reference, capacity, logit_reference, coordinate), + lambda: single_reference(reference, capacity, logit_reference, coordinate)), + (lambda: shifted_logistic_density(reference, capacity, logit_reference, coordinate, label="negative-ion"), + lambda: _shifted_logistic_density(reference, capacity, logit_reference, coordinate, label="negative-ion")), + (lambda: shared_site_fractions(logit_reference, logit_reference, coordinate, coordinate), + lambda: shared_reference(capacity, logit_reference, logit_reference, coordinate, coordinate)), + ): + with pytest.raises(ValueError) as source_error: + expected() + with pytest.raises(type(source_error.value)) as new_error: + actual() + assert str(new_error.value) == str(source_error.value) diff --git a/tests/unit/physics/ions/test_kernel_isolation.py b/tests/unit/physics/ions/test_kernel_isolation.py new file mode 100644 index 00000000..77738b90 --- /dev/null +++ b/tests/unit/physics/ions/test_kernel_isolation.py @@ -0,0 +1,75 @@ +"""Callable ion kernels and inherited semantics without legacy imports.""" + +from __future__ import annotations + +import os +from pathlib import Path +import subprocess +import sys + +import numpy as np +import pytest +from threadpoolctl import threadpool_limits + +from solarlab.physics import ions + + +@pytest.fixture(scope="module", autouse=True) +def blas1(): + with threadpool_limits(limits=1): + yield + + +@pytest.mark.parametrize("diffusion_only", [False, True]) +def test_uniform_equilibrium_zero_diffusivity_and_shared_zero_partner(diffusion_only): + x = np.array([0.0, 1e-9, 4e-9, 1e-8]) + density = np.full(4, 3e26) + phi = np.zeros(4) + kwargs = dict(steric_diffusion_only=diffusion_only, P_lim_node=1.6e27) + for function in (ions.ion_continuity_rhs, ions.ion_continuity_rhs_neg): + np.testing.assert_array_equal(function(x, phi, density, 1e-16, 0.025852, 1.6e27, **kwargs), 0.0) + np.testing.assert_array_equal( + function(x, np.array([0.0, 0.1, -0.1, 0.2]), density, 0.0, 0.025852, 1.6e27, **kwargs), 0.0, + ) + own = function(x, phi, density, 1e-16, 0.025852, 1.6e27, **kwargs) + shared = function(x, phi, density, 1e-16, 0.025852, 1.6e27, P_other_node=np.zeros(4), **kwargs) + assert own.tobytes() == shared.tobytes() + + +def test_fresh_process_runs_all_kernel_families_with_legacy_and_tests_blocked(): + script = """ +import importlib.abc, sys +class BlockImports(importlib.abc.MetaPathFinder): + def find_spec(self, fullname, path=None, target=None): + if fullname.split('.')[0] in {'perovskite_sim', 'backend', 'tests'}: + raise RuntimeError('forbidden core dependency: ' + fullname) +sys.meta_path.insert(0, BlockImports()) +import numpy as np +from solarlab.physics import ions +x=np.array([0., 1e-8, 3e-8]); dx=np.diff(x) +phi=np.array([0., .01, .03]); P=np.array([1e24, 2e24, 3e24]) +for mode in (False, True): + for sign in (-1., 1.): + assert np.all(np.isfinite(ions.ion_face_flux(phi,P,dx,1e-16,.025852,1.6e27,steric_diffusion_only=mode,drift_sign=sign))) + assert np.all(np.isfinite(ions.ion_face_flux_jacobian(phi,P,dx,1e-16,.025852,1.6e27,steric_diffusion_only=mode,drift_sign=sign).flux)) + for rhs in (ions.ion_continuity_rhs, ions.ion_continuity_rhs_neg): + assert np.all(np.isfinite(rhs(x,phi,P,1e-16,.025852,1.6e27,steric_diffusion_only=mode,cell_widths_m=np.array([.5e-8,1.5e-8,1e-8])))) +assert np.isfinite(ions.ion_flux_steric(phi[:2],P[:2],dx[0],1e-16,.025852,1.6e27)) +capacity=np.full(3,1e27); reference=.1*capacity +logit=np.full(3,np.log(.1)-np.log1p(-.1)); coordinate=np.array([-.1,0.,.1]) +assert np.all(np.isfinite(ions.single_site_density(reference,capacity,logit,coordinate))) +assert np.all(np.isfinite(ions.shifted_logistic_density(reference,capacity,logit,coordinate,label='positive-ion'))) +assert all(np.all(np.isfinite(v)) for v in ions.shared_site_densities(capacity,logit,logit,coordinate,-coordinate)) +assert not any(name.split('.')[0] in {'perovskite_sim','backend','tests'} for name in sys.modules) +print('all ionic constitutive kernel families ran with legacy/tests imports blocked') +""" + environment = { + **os.environ, "PYTHONDONTWRITEBYTECODE": "1", "OPENBLAS_NUM_THREADS": "1", + "OMP_NUM_THREADS": "1", "MKL_NUM_THREADS": "1", "VECLIB_MAXIMUM_THREADS": "1", + } + result = subprocess.run( + [sys.executable, "-c", script], cwd=Path(__file__).resolve().parents[4], + env=environment, text=True, capture_output=True, timeout=30, + ) + assert result.returncode == 0, result.stdout + result.stderr + assert "kernel families ran" in result.stdout diff --git a/tests/unit/physics/ions/test_legacy_parity.py b/tests/unit/physics/ions/test_legacy_parity.py new file mode 100644 index 00000000..8d002136 --- /dev/null +++ b/tests/unit/physics/ions/test_legacy_parity.py @@ -0,0 +1,192 @@ +"""Bitwise M evidence against the immutable implemented ion source.""" + +from __future__ import annotations + +from dataclasses import fields +import inspect + +import numpy as np +import pytest +from threadpoolctl import threadpool_limits + +from perovskite_sim.physics import ion_migration as old +from solarlab.physics.ions import migration as new + +V_T = 0.025852 + + +@pytest.fixture(scope="module", autouse=True) +def blas1(): + with threadpool_limits(limits=1): + yield + + +def same(actual, expected): + actual, expected = np.asarray(actual), np.asarray(expected) + assert actual.shape == expected.shape + assert actual.dtype == expected.dtype + assert actual.tobytes() == expected.tobytes() + + +@pytest.mark.parametrize("count", [2, 13, 73]) +@pytest.mark.parametrize("diffusion_only", [False, True]) +@pytest.mark.parametrize("array_parameters", [False, True]) +@pytest.mark.parametrize("partner_kind", ["none", "zero", "shared"]) +@pytest.mark.parametrize("sign", [-1.0, 1.0]) +def test_normal_single_dual_flux_rates_and_existing_jacobian_are_bitwise( + count, diffusion_only, array_parameters, partner_kind, sign, +): + rng = np.random.default_rng(20261028 + count) + x = np.r_[0.0, np.cumsum(rng.uniform(1e-10, 2e-8, count - 1))] + dx = np.diff(x) + phi = np.cumsum(rng.uniform(-0.05, 0.05, count)) + density = rng.uniform(1e24, 3e26, count) + limit = rng.uniform(1e27, 2e27, count) if array_parameters else 1.6e27 + face_limit = 0.5 * (limit[:-1] + limit[1:]) if array_parameters else limit + diffusion = rng.uniform(1e-18, 2e-16, count - 1) if array_parameters else 1e-16 + partner = { + "none": None, + "zero": np.zeros(count), + "shared": rng.uniform(1e24, 3e26, count), + }[partner_kind] + kwargs = dict( + steric_diffusion_only=diffusion_only, P_lim_node=limit, + P_other_node=partner, drift_sign=sign, + ) + inputs = [np.array(value, copy=True) for value in (x, phi, density)] + actual = new.ion_face_flux(phi, density, dx, diffusion, V_T, face_limit, **kwargs) + same(actual, old.ion_face_flux(phi, density, dx, diffusion, V_T, face_limit, **kwargs)) + actual_j = new.ion_face_flux_jacobian(phi, density, dx, diffusion, V_T, face_limit, **kwargs) + expected_j = old.ion_face_flux_jacobian(phi, density, dx, diffusion, V_T, face_limit, **kwargs) + for field in fields(actual_j): + same(getattr(actual_j, field.name), getattr(expected_j, field.name)) + widths = np.r_[dx[0] / 2, 0.5 * (dx[:-1] + dx[1:]), dx[-1] / 2] + for current, original in ( + (new.ion_continuity_rhs, old.ion_continuity_rhs), + (new.ion_continuity_rhs_neg, old.ion_continuity_rhs_neg), + ): + for explicit_widths in (None, widths, widths * 1.25): + options = {key: value for key, value in kwargs.items() if key != "drift_sign"} + options["cell_widths_m"] = explicit_widths + same( + current(x, phi, density, diffusion, V_T, face_limit, **options), + original(x, phi, density, diffusion, V_T, face_limit, **options), + ) + for value, before in zip((x, phi, density), inputs): + same(value, before) + + +@pytest.mark.parametrize("occupancy", [ + -0.1, 0.0, np.nextafter(0.0, 1.0), 0.5, + np.nextafter(0.999999, 0.0), 0.999999, + np.nextafter(0.999999, 1.0), 1.0, 1.3, +]) +@pytest.mark.parametrize("diffusion_only", [False, True]) +@pytest.mark.parametrize("sign", [-1.0, 1.0]) +def test_clips_floors_and_differentiability_masks_remain_bitwise(occupancy, diffusion_only, sign): + density = np.full(3, occupancy) + phi = np.array([0.0, 0.03, -0.01]) + kwargs = dict( + steric_diffusion_only=diffusion_only, P_lim_node=1.0, + P_other_node=np.zeros(3), drift_sign=sign, + ) + arguments = (phi, density, np.array([1e-9, 2e-9]), np.array([0.0, 1e-16]), V_T, 1.0) + same(new.ion_face_flux(*arguments, **kwargs), old.ion_face_flux(*arguments, **kwargs)) + actual, expected = ( + model.ion_face_flux_jacobian(*arguments, **kwargs) for model in (new, old) + ) + for field in fields(actual): + same(getattr(actual, field.name), getattr(expected, field.name)) + + +@pytest.mark.parametrize("xi", [ + -800.0, -701.0, -700.0, -1e-8, -1e-10, 0.0, + 1e-10, 1e-8, 700.0, 701.0, 800.0, +]) +def test_scalar_flux_and_historical_bernoulli_branches_are_bitwise(xi): + phi = np.array([0.0, xi * V_T]) + density = np.array([1e24, 3e24]) + same( + new.ion_flux_steric(phi, density, 1e-8, 1e-16, V_T, 1.6e27), + old.ion_flux_steric(phi, density, 1e-8, 1e-16, V_T, 1.6e27), + ) + for sign in (-1.0, 1.0): + same( + new.ion_face_flux(phi, density, np.array([1e-8]), 1e-16, V_T, 1.6e27, drift_sign=sign), + old.ion_face_flux(phi, density, np.array([1e-8]), 1e-16, V_T, 1.6e27, drift_sign=sign), + ) + + +@pytest.mark.parametrize("diffusion_only", [False, True]) +def test_node_limit_fallback_and_historically_ignored_arguments_are_preserved(diffusion_only): + phi = np.array([0.0, 0.01, 0.05]) + density = np.array([1e24, 2e24, 4e24]) + args = (phi, density, np.array([1e-8, 2e-8]), 1e-16, V_T, 1.6e27) + kwargs = dict(steric_diffusion_only=diffusion_only) + same(new.ion_face_flux(*args, **kwargs), old.ion_face_flux(*args, **kwargs)) + if not diffusion_only: + ignored = dict(P_lim_node=np.array([1.0]), P_other_node=np.array([9.0])) + same(new.ion_face_flux(*args, **ignored), old.ion_face_flux(*args, **ignored)) + else: + same( + new.ion_face_flux(*args, P_lim_node=1.6e27, **kwargs), + new.ion_face_flux(*args, **kwargs), + ) + + +@pytest.mark.parametrize("diffusion_only", [False, True]) +@pytest.mark.parametrize("sign", [-1.0, 1.0]) +def test_float32_inputs_retain_historical_promotion_and_bytes(diffusion_only, sign): + phi = np.array([0.0, 0.01, -0.05], dtype=np.float32) + density = np.array([1e24, 2e24, 3e24], dtype=np.float32) + dx = np.array([1e-9, 2e-9], dtype=np.float32) + diffusion = np.array([1e-16, 2e-16], dtype=np.float32) + kwargs = dict(steric_diffusion_only=diffusion_only, drift_sign=sign) + same( + new.ion_face_flux(phi, density, dx, diffusion, V_T, 1.6e27, **kwargs), + old.ion_face_flux(phi, density, dx, diffusion, V_T, 1.6e27, **kwargs), + ) + + +@pytest.mark.parametrize("diffusion_only", [False, True]) +def test_infinite_capacity_flux_semantics_are_preserved(diffusion_only): + phi = np.array([0.0, 0.01, -0.05]) + density = np.array([1e24, 2e24, 3e24]) + args = (phi, density, np.array([1e-9, 2e-9]), 1e-16, V_T, np.inf) + same( + new.ion_face_flux(*args, steric_diffusion_only=diffusion_only), + old.ion_face_flux(*args, steric_diffusion_only=diffusion_only), + ) + + +@pytest.mark.parametrize("name", [ + "ion_face_flux", "ion_face_flux_jacobian", "ion_flux_steric", + "ion_continuity_rhs", "ion_continuity_rhs_neg", +]) +def test_original_callable_parameters_and_defaults_are_retained(name): + actual, expected = (inspect.signature(getattr(model, name)) for model in (new, old)) + assert actual == expected + + +@pytest.mark.parametrize("invalid", ["spacing", "sign", "diffusion", "partner", "node_limit", "face_limit"]) +def test_existing_jacobian_refusals_retain_exception_type_and_message(invalid): + args = [np.array([0.0, 0.01]), np.array([1e24, 2e24]), np.array([1e-8]), 1e-16, V_T, 1.6e27] + kwargs = {} + if invalid == "spacing": + args[2] = np.array([0.0]) + elif invalid == "sign": + kwargs["drift_sign"] = 0.0 + elif invalid == "diffusion": + args[3] = -1e-16 + elif invalid == "partner": + kwargs["P_other_node"] = np.array([np.nan, 1.0]) + elif invalid == "node_limit": + kwargs.update(steric_diffusion_only=True, P_lim_node=0.0) + else: + args[5] = -1.0 + with np.errstate(all="ignore"): + with pytest.raises(ValueError) as expected: + old.ion_face_flux_jacobian(*args, **kwargs) + with pytest.raises(type(expected.value)) as actual: + new.ion_face_flux_jacobian(*args, **kwargs) + assert str(actual.value) == str(expected.value) diff --git a/tests/unit/physics/recombination/test_recombination_legacy_parity.py b/tests/unit/physics/recombination/test_recombination_legacy_parity.py new file mode 100644 index 00000000..a9c2ef86 --- /dev/null +++ b/tests/unit/physics/recombination/test_recombination_legacy_parity.py @@ -0,0 +1,334 @@ +"""M-class parity: the migrated recombination layer against the legacy engine. + +Same inputs must give bit-identical payloads (``tobytes`` equality, so even +the sign of zero is compared). The legacy package is imported here only, +as the frozen reference; the new package never imports it. +""" + +from __future__ import annotations + +import dataclasses +from pathlib import Path + +import numpy as np +import pytest + +from perovskite_sim.physics import bulk_traps as legacy_traps +from perovskite_sim.physics import recombination as legacy +from perovskite_sim.physics import traps as legacy_profile +from solarlab.physics import recombination as new + +LEGACY_ROOT = Path(__file__).resolve().parents[4] / "perovskite-sim" +DIGEST_A = "a1" * 32 +DIGEST_B = "b2" * 32 + + +def _same(a, b) -> bool: + a = np.asarray(a) + b = np.asarray(b) + return a.shape == b.shape and a.dtype == b.dtype and a.tobytes() == b.tobytes() + + +def _random_state(n_nodes, seed): + rng = np.random.default_rng(seed) + n = 10.0 ** rng.uniform(4.0, 25.0, n_nodes) + p = 10.0 ** rng.uniform(4.0, 25.0, n_nodes) + coefficients = dict( + ni_sq=10.0 ** rng.uniform(8.0, 22.0, n_nodes), + tau_n=10.0 ** rng.uniform(-10.0, -4.0, n_nodes), + tau_p=10.0 ** rng.uniform(-10.0, -4.0, n_nodes), + n1=10.0 ** rng.uniform(0.0, 20.0, n_nodes), + p1=10.0 ** rng.uniform(0.0, 20.0, n_nodes), + B_rad=10.0 ** rng.uniform(-18.0, -15.0, n_nodes), + C_n=10.0 ** rng.uniform(-43.0, -39.0, n_nodes), + C_p=10.0 ** rng.uniform(-43.0, -39.0, n_nodes), + ) + return n, p, coefficients + + +def _bound(n_nodes, c, model=None): + coefficients = new.BulkRecombinationCoefficients( + n_nodes, c["ni_sq"], c["tau_n"], c["tau_p"], c["n1"], c["p1"], c["B_rad"], c["C_n"], c["C_p"] + ) + return new.BulkRecombinationReaction(coefficients, model) + + +def _legacy_args(c): + return (c["ni_sq"], c["tau_n"], c["tau_p"], c["n1"], c["p1"]) + + +@pytest.mark.parametrize("seed", [0, 1, 2, 3]) +def test_lifetime_srh_radiative_auger_and_total_are_bitwise_legacy(seed): + n, p, c = _random_state(257, seed) + evaluation = _bound(257, c).evaluate(n, p) + srh = legacy.srh_recombination_derivatives(n, p, *_legacy_args(c)) + rad = legacy.radiative_recombination_derivatives(n, p, c["ni_sq"], c["B_rad"]) + aug = legacy.auger_recombination_derivatives(n, p, c["ni_sq"], c["C_n"], c["C_p"]) + tot = legacy.total_recombination_derivatives(n, p, *_legacy_args(c), c["B_rad"], c["C_n"], c["C_p"]) + for new_term, old_term in ((evaluation.srh, srh), (evaluation.radiative, rad), (evaluation.auger, aug), + (evaluation.total, tot)): + assert _same(new_term.rate, old_term.rate) + assert _same(new_term.d_rate_dn, old_term.electron_density_derivative) + assert _same(new_term.d_rate_dp, old_term.hole_density_derivative) + assert _same(evaluation.srh.rate, legacy.srh_recombination(n, p, *_legacy_args(c))) + assert _same(evaluation.total.rate, + legacy.total_recombination(n, p, *_legacy_args(c), c["B_rad"], c["C_n"], c["C_p"])) + assert _same(evaluation.srh_denominators_s_m3, + legacy.bulk_recombination_denominators(n, p, c["tau_n"], c["tau_p"], c["n1"], c["p1"])) + + +def test_scalar_coefficients_broadcast_bitwise(): + n, p, _ = _random_state(64, 9) + scalars = dict(ni_sq=2.1e18, tau_n=3e-7, tau_p=8e-9, n1=4e7, p1=6e11, B_rad=3e-17, C_n=2e-41, C_p=7e-42) + evaluation = _bound(64, scalars).evaluate(n, p) + old = legacy.total_recombination_derivatives(n, p, 2.1e18, 3e-7, 8e-9, 4e7, 6e11, 3e-17, 2e-41, 7e-42) + assert _same(evaluation.total.rate, old.rate) + assert _same(evaluation.total.d_rate_dn, old.electron_density_derivative) + assert _same(evaluation.total.d_rate_dp, old.hole_density_derivative) + + +def _species_pair(mask_a, mask_b, n_nodes, *, tau_b=(4e-9, 9e-10)): + rng = np.random.default_rng(5) + fields = [] + for mask, digest, taus, ident in ((mask_a, DIGEST_A, (2e-8, 3e-9), "layer[1]/a"), + (mask_b, DIGEST_B, tau_b, "layer[2]/b")): + n1 = np.where(mask, 10.0 ** rng.uniform(2, 16, n_nodes), 0.0) + p1 = np.where(mask, 10.0 ** rng.uniform(2, 16, n_nodes), 0.0) + fields.append((ident, digest, mask, taus[0], taus[1], n1, p1)) + old_species = tuple(legacy.CompiledNeutralDefectSpecies(*f) for f in fields) + new_species = tuple(new.NeutralDefectSpecies(*f) for f in fields) + return old_species, new_species + + +@pytest.mark.parametrize("case", ["one_species", "two_disjoint", "two_overlapping", "one_blocked"]) +def test_explicit_neutral_partition_is_bitwise_legacy(case): + n_nodes = 41 + n, p, c = _random_state(n_nodes, 4) + mask_a = np.zeros(n_nodes, dtype=bool) + mask_a[5:20] = True + mask_b = np.zeros(n_nodes, dtype=bool) + mask_b[12:30] = True if case == "two_overlapping" else False + if case in ("two_disjoint", "one_blocked", "one_species"): + mask_b[25:35] = True + tau_b = (np.inf, 9e-10) if case == "one_blocked" else (4e-9, 9e-10) + old_species, new_species = _species_pair(mask_a, mask_b, n_nodes, tau_b=tau_b) + if case == "one_species": + old_species, new_species = old_species[:1], new_species[:1] + union = np.logical_or.reduce([s.active_nodes for s in old_species]) + documents = tuple(sorted({(s.identifier.split("/")[0], s.document_sha256) for s in old_species})) + old_model = legacy.NeutralBulkDefectModel(old_species, union, documents) + new_model = new.NeutralExplicitDefectModel(new_species, union, documents) + evaluation = _bound(n_nodes, c, new_model).evaluate(n, p) + + old_value = legacy.srh_recombination(n, p, *_legacy_args(c), neutral_bulk_defects=old_model) + old_srh = legacy.srh_recombination_derivatives(n, p, *_legacy_args(c), neutral_bulk_defects=old_model) + old_total = legacy.total_recombination_derivatives( + n, p, *_legacy_args(c), c["B_rad"], c["C_n"], c["C_p"], neutral_bulk_defects=old_model + ) + old_total_value = legacy.total_recombination( + n, p, *_legacy_args(c), c["B_rad"], c["C_n"], c["C_p"], neutral_bulk_defects=old_model + ) + assert _same(evaluation.srh.rate, old_value) + assert _same(evaluation.srh.rate, old_srh.rate) + assert _same(evaluation.srh.d_rate_dn, old_srh.electron_density_derivative) + assert _same(evaluation.srh.d_rate_dp, old_srh.hole_density_derivative) + assert _same(evaluation.total.rate, old_total.rate) + assert _same(evaluation.total.rate, old_total_value) + assert _same(evaluation.total.d_rate_dn, old_total.electron_density_derivative) + assert _same(evaluation.total.d_rate_dp, old_total.hole_density_derivative) + assert _same( + evaluation.srh_denominators_s_m3, + legacy.bulk_recombination_denominators( + n, p, c["tau_n"], c["tau_p"], c["n1"], c["p1"], neutral_bulk_defects=old_model + ), + ) + + old_eval = legacy.evaluate_neutral_bulk_defects(n, p, c["ni_sq"], old_model) + new_eval = evaluation.explicit + assert new_eval.model_identity_sha256 == old_eval.model_identity_sha256 == old_model.identity_sha256 + assert _same(new_eval.per_species_rate_m3_s, old_eval.per_species_rate_m3_s) + assert _same(new_eval.per_species_d_rate_dn_s1, old_eval.per_species_electron_derivative_s1) + assert _same(new_eval.per_species_d_rate_dp_s1, old_eval.per_species_hole_derivative_s1) + assert new_eval.minimum_denominator_s_m3 == old_eval.minimum_denominator_s_m3 + assert new_eval.to_dict() == old_eval.to_dict() + + +def test_def1_species_compile_is_bitwise_the_legacy_material_build(): + from perovskite_sim.discretization.grid import Layer, multilayer_grid + from perovskite_sim.experiments.jv_sweep import _layer_node_counts + from perovskite_sim.models.config_loader import load_device_from_yaml + from perovskite_sim.models.device import electrical_layers + from perovskite_sim.physics.temperature import thermal_voltage + from perovskite_sim.solver.mol import build_material_arrays + + stack = load_device_from_yaml(str(LEGACY_ROOT / "tests/fixtures/configs/scaps_defect_s0_neutral.yaml")) + elec = electrical_layers(stack) + x = multilayer_grid([Layer(layer.thickness, count) for layer, count in zip(elec, _layer_node_counts(stack, 40))]) + mat = build_material_arrays(x, stack) + old_model = mat.neutral_bulk_defects + assert old_model is not None + compiled = [] + documents = [] + for index, layer in enumerate(elec): + document = layer.params.defect_document + if document is None: + continue + layer_id = f"layer[{index}]/{layer.name}" + documents.append((layer_id, document.sha256)) + for species, old in zip(document.bulk_defects, (s for s in old_model.species if s.identifier.startswith(layer_id))): + compiled.append( + new.compile_neutral_defect_species( + identifier=f"{layer_id}/{species.name}", + document_sha256=document.sha256, + active_nodes=old.active_nodes, + ni_sq_m6=mat.ni_sq, + band_gap_eV=mat.Eg_phys, + thermal_voltage_V=thermal_voltage(stack.T), + total_density_m3=species.distribution.total_density_m3, + center_eV_above_vb=species.distribution.center_eV_above_vb, + sigma_n_m2=species.kinetics.sigma_n_m2, + sigma_p_m2=species.kinetics.sigma_p_m2, + thermal_velocity_n_m_s=species.kinetics.thermal_velocity_n_m_s, + thermal_velocity_p_m_s=species.kinetics.thermal_velocity_p_m_s, + charge_transition=species.charge_transition, + distribution=species.distribution.kind, + degeneracy=species.degeneracy, + ) + ) + assert len(compiled) == len(old_model.species) + for mine, old in zip(compiled, old_model.species): + assert mine.identifier == old.identifier + assert mine.tau_n_s == old.tau_n_s and mine.tau_p_s == old.tau_p_s + assert _same(mine.n1_m3, old.n1_m3) and _same(mine.p1_m3, old.p1_m3) + assert _same(mine.active_nodes, old.active_nodes) + model = new.NeutralExplicitDefectModel(tuple(compiled), old_model.explicit_node_mask, tuple(documents)) + assert model.identity_sha256 == old_model.identity_sha256 + + +@pytest.mark.parametrize("edge", ["both", "left", "right"]) +@pytest.mark.parametrize("length", [0.0, 2e-9, 25e-9, 400e-9, 5e-6]) +@pytest.mark.parametrize("shape", ["exponential", "gaussian"]) +def test_trap_profiles_and_lifetime_rule_are_bitwise_legacy(edge, length, shape): + thickness = 300e-9 + x_local = np.linspace(0.0, thickness, 73) ** 1.0 + x_local = np.sort(np.concatenate([x_local, [1e-12, thickness - 1e-12, 0.37 * thickness]])) + args = (x_local, thickness, 1e23, 1e20, length) + if shape == "exponential": + old_density = legacy_profile.exponential_edge_profile(*args, edge=edge) + new_density = new.exponential_edge_profile(*args, edge=edge) + else: + old_density = legacy_profile.gaussian_edge_profile(*args, edge=edge) + new_density = new.gaussian_edge_profile(*args, edge=edge) + assert _same(new_density, old_density) + tau = np.full(x_local.shape, 1e-6) + assert _same(new.tau_from_trap_density(tau, new_density, 1e20), + legacy_profile.tau_from_trap_density(tau, old_density, 1e20)) + binding = new.TrapProfile(1e23, 1e20, length, shape=shape, edge=edge).bind(x_local, thickness, tau, 2 * tau) + assert _same(binding.trap_density_m3, old_density) + assert _same(binding.tau_n_s, legacy_profile.tau_from_trap_density(tau, old_density, 1e20)) + assert _same(binding.tau_p_s, legacy_profile.tau_from_trap_density(2 * tau, old_density, 1e20)) + + +@pytest.mark.parametrize("shape", ["exponential", "gaussian"]) +def test_trap_profile_binding_matches_the_legacy_material_build(shape): + from perovskite_sim.discretization.grid import Layer, multilayer_grid + from perovskite_sim.experiments.jv_sweep import _layer_node_counts + from perovskite_sim.models.config_loader import load_device_from_yaml + from perovskite_sim.models.device import electrical_layers + from perovskite_sim.solver.mol import _layer_node_masks, build_material_arrays + + stack = load_device_from_yaml(str(LEGACY_ROOT / "tests/fixtures/configs/nip_MAPbI3.yaml")) + layers = list(stack.layers) + index = next(i for i, layer in enumerate(layers) if layer.role == "absorber") + params = dataclasses.replace( + layers[index].params, + trap_N_t_interface=5e22, + trap_N_t_bulk=1e20, + trap_decay_length=20e-9, + trap_profile_shape=shape, + trap_edge="right", + ) + layers[index] = dataclasses.replace(layers[index], params=params) + stack = dataclasses.replace(stack, layers=tuple(layers)) + elec = electrical_layers(stack) + x = multilayer_grid([Layer(layer.thickness, count) for layer, count in zip(elec, _layer_node_counts(stack, 60))]) + mat = build_material_arrays(x, stack) + absorber = next(k for k, layer in enumerate(elec) if layer.role == "absorber") + mask = _layer_node_masks(x, elec)[absorber] + offset = 0.0 + for layer in elec[:absorber]: + offset += layer.thickness # the material build's own accumulation order + binding = new.TrapProfile(5e22, 1e20, 20e-9, shape=shape, edge="right").bind( + x[mask] - offset, elec[absorber].thickness, params.tau_n, params.tau_p + ) + assert mat.has_trap_profile + assert _same(binding.trap_density_m3, mat.N_t_node[mask]) + assert _same(binding.tau_n_s, mat.tau_n[mask]) + assert _same(binding.tau_p_s, mat.tau_p[mask]) + + +_DISTRIBUTIONS = [ + dict(distribution="single_level", total_density_m3=1e21, center_eV_above_vb=0.8, sigma_n_m2=1e-19, + sigma_p_m2=3e-20, thermal_velocity_m_s=1e5, charge_transition="acceptor"), + dict(distribution="single_level", total_density_m3=4e20, center_eV_above_vb=0.3, sigma_n_m2=2e-20, + sigma_p_m2=7e-19, thermal_velocity_m_s=2e5, charge_transition="donor"), + dict(distribution="gaussian", total_density_m3=2e22, center_eV_above_vb=0.75, sigma_n_m2=1e-19, + sigma_p_m2=1e-19, thermal_velocity_m_s=1e5, charge_transition="acceptor", energy_sigma_eV=0.1), + dict(distribution="gaussian", total_density_m3=1e21, center_eV_above_vb=0.05, sigma_n_m2=5e-20, + sigma_p_m2=1e-21, thermal_velocity_m_s=1e5, charge_transition="donor", energy_sigma_eV=0.03), +] + + +@pytest.mark.parametrize("spec", _DISTRIBUTIONS) +def test_energy_resolved_trap_state_is_bitwise_legacy(spec): + old_distribution = legacy_traps.bulk_trap_distribution_from_mapping(spec) + new_distribution = new.bulk_trap_distribution_from_mapping(spec) + old_q = legacy_traps.build_bulk_trap_quadrature(old_distribution, band_gap_eV=1.6, order=48) + new_q = new.build_bulk_trap_quadrature(new_distribution, band_gap_eV=1.6, order=48) + assert new_q.energy_levels_eV == old_q.energy_levels_eV + assert new_q.density_weights_m3 == old_q.density_weights_m3 + rng = np.random.default_rng(3) + for n, p in ((1e15, 3e12), (10.0 ** rng.uniform(5, 24, 33), 10.0 ** rng.uniform(5, 24, 33))): + kwargs = dict(band_gap_eV=1.6, effective_conduction_dos_m3=2.2e24, effective_valence_dos_m3=1.8e25, + temperature_K=310.0, quadrature_order=48) + old = legacy_traps.evaluate_bulk_trap_state(n, p, old_distribution, **kwargs) + mine = new.evaluate_bulk_trap_state(n, p, new_distribution, **kwargs) + for field in dataclasses.fields(old): + assert _same(getattr(mine, field.name), getattr(old, field.name)), field.name + + +@pytest.mark.parametrize("spec", _DISTRIBUTIONS) +@pytest.mark.parametrize("doping", [(0.0, 0.0), (1e22, 0.0), (0.0, 3e23), (5e21, 2e21)]) +def test_trap_aware_neutrality_is_bitwise_legacy(spec, doping): + kwargs = dict(temperature_K=300.0, band_gap_eV=1.6, effective_conduction_dos_m3=2.2e24, + effective_valence_dos_m3=1.8e25, acceptor_density_m3=doping[0], donor_density_m3=doping[1]) + old = legacy_traps.solve_bulk_trap_charge_neutrality( + distribution=legacy_traps.bulk_trap_distribution_from_mapping(spec), **kwargs + ) + mine = new.solve_bulk_trap_charge_neutrality(distribution=new.bulk_trap_distribution_from_mapping(spec), **kwargs) + state = old.neutrality + for name in ("temperature_K", "thermal_voltage_V", "band_gap_eV", "acceptor_density_m3", "donor_density_m3", + "reduced_electron_fermi_level", "reduced_hole_fermi_level", "electron_density_m3", + "hole_density_m3", "normalized_charge_residual"): + assert getattr(mine, name) == getattr(state, name), name + for field in dataclasses.fields(old.trap_state): + assert _same(getattr(mine.trap_state, field.name), getattr(old.trap_state, field.name)), field.name + + +@pytest.mark.parametrize( + "spec", + [ + {}, + {**_DISTRIBUTIONS[0], "unexpected": 1}, + {**_DISTRIBUTIONS[0], "energy_sigma_eV": 0.1}, + {**_DISTRIBUTIONS[2], "energy_sigma_eV": None}, + {**_DISTRIBUTIONS[0], "charge_transition": "neutral"}, + {**_DISTRIBUTIONS[0], "total_density_m3": True}, + ], +) +def test_bulk_trap_schema_rejections_match_legacy(spec): + with pytest.raises(ValueError) as old_error: + legacy_traps.bulk_trap_distribution_from_mapping(spec) + with pytest.raises(ValueError) as new_error: + new.bulk_trap_distribution_from_mapping(spec) + assert str(new_error.value) == str(old_error.value) diff --git a/tests/unit/physics/recombination/test_recombination_rate_laws.py b/tests/unit/physics/recombination/test_recombination_rate_laws.py new file mode 100644 index 00000000..92bcaed9 --- /dev/null +++ b/tests/unit/physics/recombination/test_recombination_rate_laws.py @@ -0,0 +1,366 @@ +"""Independent checks of the bulk recombination laws and the bound reaction. + +Oracles are analytic limits, exact rational arithmetic and complex-step +differentiation of the value kernels; none of them re-uses the analytic +derivative expressions under test. +""" + +from __future__ import annotations + +from fractions import Fraction +import math + +import numpy as np +import pytest + +from solarlab.physics.recombination import ( + BulkRecombinationCoefficients, + BulkRecombinationReaction, + NeutralDefectSpecies, + NeutralExplicitDefectModel, + RecombinationDomainError, + auger_recombination, + lifetime_srh_recombination, + radiative_recombination, +) + +DIGEST = "ab" * 32 + + +def _coefficients(n_nodes, **overrides): + values = dict( + ni_sq_m6=1.0e20, + tau_n_s=2.0e-7, + tau_p_s=5.0e-8, + n1_m3=3.0e9, + p1_m3=4.0e8, + radiative_m3_s=2.0e-17, + auger_n_m6_s=1.0e-40, + auger_p_m6_s=3.0e-41, + ) + values.update(overrides) + return BulkRecombinationCoefficients(n_nodes, **values) + + +def _states(n_nodes, seed=7): + rng = np.random.default_rng(seed) + return 10.0 ** rng.uniform(8.0, 23.0, n_nodes), 10.0 ** rng.uniform(8.0, 23.0, n_nodes) + + +# --- equilibrium: net reaction -------------------------------------------- + + +def test_every_channel_vanishes_exactly_at_mass_action(): + n, p = _states(40) + ni_sq = n * p # mass action holds exactly in binary64 by construction + coefficients = BulkRecombinationCoefficients( + 40, ni_sq, 2e-7, 5e-8, np.sqrt(ni_sq) * 3.0, np.sqrt(ni_sq) / 3.0, 2e-17, 1e-40, 3e-41 + ) + evaluation = BulkRecombinationReaction(coefficients).evaluate(n, p) + for term in (evaluation.srh, evaluation.radiative, evaluation.auger, evaluation.total): + assert np.all(term.rate == 0.0) + + +@pytest.mark.parametrize("factor", [1.0e-3, 0.5, 2.0, 1.0e3]) +def test_rate_sign_follows_detailed_balance(factor): + n = np.full(5, 1.0e15) + p = np.full(5, 1.0e5) * factor + evaluation = BulkRecombinationReaction(_coefficients(5)).evaluate(n, p) + expected = np.sign(factor - 1.0) + for term in (evaluation.srh, evaluation.radiative, evaluation.auger, evaluation.total): + assert np.all(np.sign(term.rate) == expected) + + +# --- low and high injection ------------------------------------------------- + + +def test_low_injection_limits_in_p_type_material(): + tau_n, tau_p, ni_sq, n1, p1 = 1.0e-6, 1.0e-6, 1.0e20, 1.0e10, 1.0e10 + B, C_n, C_p = 2.0e-17, 1.0e-40, 3.0e-41 + p0 = 1.0e23 + n0 = ni_sq / p0 + dn = 1.0e14 + n = np.array([n0 + dn]) + p = np.array([p0 + dn]) + srh = lifetime_srh_recombination(n, p, ni_sq, tau_n, tau_p, n1, p1).rate[0] + rad = radiative_recombination(n, p, ni_sq, B).rate[0] + aug = auger_recombination(n, p, ni_sq, C_n, C_p).rate[0] + # Neglected relative terms of each expansion, from the parameters alone. + eps = (n0 + dn) / p0 + (tau_p / tau_n) * (n[0] + n1) / p0 + (dn + p1) / p0 + assert srh == pytest.approx(dn / tau_n, rel=2.0 * eps) + assert rad == pytest.approx(B * p0 * dn, rel=2.0 * (n0 + dn) / p0) + assert aug == pytest.approx(C_p * p0**2 * dn, rel=3.0 * ((n0 + dn) / p0 + C_n * n[0] / (C_p * p0))) + + +def test_high_injection_limits(): + tau_n, tau_p, ni_sq, n1, p1 = 1.0e-6, 2.5e-7, 1.0e20, 1.0e10, 1.0e10 + B, C_n, C_p = 2.0e-17, 1.0e-40, 3.0e-41 + p0 = 1.0e16 + n0 = ni_sq / p0 + dn = 1.0e24 + n = np.array([n0 + dn]) + p = np.array([p0 + dn]) + eps = (p0 + n1 + p1) / dn + srh = lifetime_srh_recombination(n, p, ni_sq, tau_n, tau_p, n1, p1).rate[0] + assert srh == pytest.approx(dn / (tau_n + tau_p), rel=3.0 * eps) + assert radiative_recombination(n, p, ni_sq, B).rate[0] == pytest.approx(B * dn**2, rel=3.0 * eps) + assert auger_recombination(n, p, ni_sq, C_n, C_p).rate[0] == pytest.approx( + (C_n + C_p) * dn**3, rel=4.0 * eps + ) + + +# --- zero channels are strict identities ------------------------------------- + + +def test_zero_band_to_band_channels_leave_srh_bitwise(): + n, p = _states(30) + evaluation = BulkRecombinationReaction( + _coefficients(30, radiative_m3_s=0.0, auger_n_m6_s=0.0, auger_p_m6_s=0.0) + ).evaluate(n, p) + assert np.array_equal(evaluation.total.rate, evaluation.srh.rate) + assert np.array_equal(evaluation.total.d_rate_dn, evaluation.srh.d_rate_dn) + assert np.array_equal(evaluation.total.d_rate_dp, evaluation.srh.d_rate_dp) + + +def test_blocked_capture_leg_switches_srh_off_exactly(): + n, p = _states(20) + evaluation = BulkRecombinationReaction(_coefficients(20, tau_n_s=math.inf)).evaluate(n, p) + assert np.all(evaluation.srh.rate == 0.0) + assert np.all(evaluation.srh.d_rate_dn == 0.0) + assert np.all(evaluation.srh.d_rate_dp == 0.0) + + +def test_unowned_nodes_are_bitwise_the_pure_lifetime_law(): + n, p = _states(12) + coefficients = _coefficients(12) + owned = np.zeros(12, dtype=bool) + owned[4:8] = True + species = NeutralDefectSpecies("layer[1]/x", DIGEST, owned, 1e-8, 2e-8, + np.where(owned, 1e12, 0.0), np.where(owned, 1e8, 0.0)) + model = NeutralExplicitDefectModel((species,), owned, (("layer[1]/x", DIGEST),)) + mixed = BulkRecombinationReaction(coefficients, model).evaluate(n, p) + pure = BulkRecombinationReaction(coefficients).evaluate(n, p) + free = ~owned + for name in ("rate", "d_rate_dn", "d_rate_dp"): + assert getattr(mixed.total, name)[free].tobytes() == getattr(pure.total, name)[free].tobytes() + + +def test_explicit_nodes_replace_lifetime_srh_instead_of_adding_it(): + n, p = _states(10) + owned = np.ones(10, dtype=bool) + tau_n, tau_p, n1, p1 = 3e-8, 7e-9, 2e11, 5e9 + # One explicit species with the lifetime law's own parameters must give + # exactly the lifetime law: if both were counted the rate would double. + species = NeutralDefectSpecies("layer[0]/a", DIGEST, owned, tau_n, tau_p, + np.full(10, n1), np.full(10, p1)) + model = NeutralExplicitDefectModel((species,), owned, (("layer[0]/a", DIGEST),)) + coefficients = _coefficients(10, tau_n_s=tau_n, tau_p_s=tau_p, n1_m3=n1, p1_m3=p1) + explicit = BulkRecombinationReaction(coefficients, model).evaluate(n, p) + lifetime = BulkRecombinationReaction(coefficients).evaluate(n, p) + assert explicit.srh.rate.tobytes() == lifetime.srh.rate.tobytes() + assert explicit.total.rate.tobytes() == lifetime.total.rate.tobytes() + assert not np.any(explicit.lifetime_nodes) + + +def test_two_species_on_one_node_add_in_declaration_order(): + n, p = np.full(3, 1.0e18), np.full(3, 2.0e17) + owned = np.ones(3, dtype=bool) + a = NeutralDefectSpecies("l/a", DIGEST, owned, 1e-8, 2e-8, np.full(3, 1e10), np.full(3, 1e10)) + b = NeutralDefectSpecies("l/b", DIGEST, owned, 4e-9, 1e-9, np.full(3, 1e12), np.full(3, 1e8)) + model = NeutralExplicitDefectModel((a, b), owned, (("l", DIGEST),)) + evaluation = BulkRecombinationReaction(_coefficients(3), model).evaluate(n, p) + single_a = lifetime_srh_recombination(n, p, 1e20, 1e-8, 2e-8, 1e10, 1e10).rate + single_b = lifetime_srh_recombination(n, p, 1e20, 4e-9, 1e-9, 1e12, 1e8).rate + assert evaluation.srh.rate.tobytes() == (single_a + single_b).tobytes() + + +# --- derivatives ------------------------------------------------------------- + + +def _complex_step(function, n, p, *, wrt): + h_n = 1.0e-20 * n if wrt == "n" else 0.0 * n + h_p = 1.0e-20 * p if wrt == "p" else 0.0 * p + value = function(n + 1j * h_n, p + 1j * h_p) + return np.imag(value) / (h_n if wrt == "n" else h_p) + + +@pytest.mark.parametrize("law", ["srh", "radiative", "auger"]) +def test_analytic_tangents_match_complex_step(law): + n, p = _states(64, seed=11) + ni_sq, tau_n, tau_p, n1, p1 = 1.0e20, 2e-7, 5e-8, 3e9, 4e8 + + def value(nn, pp): + if law == "srh": + return lifetime_srh_recombination(nn, pp, ni_sq, tau_n, tau_p, n1, p1, derivatives=False).rate + if law == "radiative": + return radiative_recombination(nn, pp, ni_sq, 2e-17, derivatives=False).rate + return auger_recombination(nn, pp, ni_sq, 1e-40, 3e-41, derivatives=False).rate + + eps = np.finfo(float).eps + if law == "srh": + exact = lifetime_srh_recombination(n, p, ni_sq, tau_n, tau_p, n1, p1) + # The historical quotient-rule form (p - R tau_p)/D cancels when + # R tau_p ~ p; its honest error bound scales with the cancelling terms. + D = tau_p * (n + n1) + tau_n * (p + p1) + bound_n = 32 * eps * (p + np.abs(exact.rate) * tau_p) / D + bound_p = 32 * eps * (n + np.abs(exact.rate) * tau_n) / D + elif law == "radiative": + exact = radiative_recombination(n, p, ni_sq, 2e-17) + bound_n = bound_p = None + else: + exact = auger_recombination(n, p, ni_sq, 1e-40, 3e-41) + numerator = np.abs(n * p - ni_sq) + coefficient = 1e-40 * n + 3e-41 * p + bound_n = 32 * eps * (1e-40 * numerator + coefficient * p) + bound_p = 32 * eps * (3e-41 * numerator + coefficient * n) + step_n = _complex_step(value, n, p, wrt="n") + step_p = _complex_step(value, n, p, wrt="p") + if bound_n is None: + np.testing.assert_allclose(exact.d_rate_dn, step_n, rtol=4e-15, atol=0.0) + np.testing.assert_allclose(exact.d_rate_dp, step_p, rtol=4e-15, atol=0.0) + else: + assert np.all(np.abs(exact.d_rate_dn - step_n) <= bound_n) + assert np.all(np.abs(exact.d_rate_dp - step_p) <= bound_p) + + +def test_cancellation_regime_of_the_historical_srh_tangent_is_bounded_and_documented(): + """Where R tau_p ~ p the historical tangent keeps only its absolute accuracy. + + Measured, not asserted away: at n >> p the relative error of dR/dn can + reach ~1e-5 while the absolute error stays at the round-off of the + cancelling terms. Recorded as a conditioning property of the M-class + expression; a cancellation-free form is a separate N decision. + """ + + n = np.array([1.0e23]) + p = np.array([1.0e9]) + exact = lifetime_srh_recombination(n, p, 1.0e10, 1e-6, 1e-6, 1e5, 1e5) + F = Fraction + D = F(1e-6) * (F(1e23) + F(1e5)) + F(1e-6) * (F(1e9) + F(1e5)) + N = F(1e23) * F(1e9) - F(1e10) + # d/dn (N/D) = (p D - N tau_p) / D^2, evaluated exactly. + true = (F(1e9) * D - N * F(1e-6)) / D**2 + scale = (F(1e9) + abs(F(exact.rate[0])) * F(1e-6)) / D + assert abs(F(exact.d_rate_dn[0]) - true) <= 32 * scale * F(2) ** -52 + + +def test_total_tangent_is_the_sum_of_channel_tangents(): + n, p = _states(25) + evaluation = BulkRecombinationReaction(_coefficients(25)).evaluate(n, p) + assert np.array_equal( + evaluation.total.d_rate_dn, + evaluation.srh.d_rate_dn + evaluation.radiative.d_rate_dn + evaluation.auger.d_rate_dn, + ) + + +def test_srh_value_matches_exact_rational_arithmetic(): + # Points far from mass action, so the float error is a few ulp of R. + cases = [(1e17, 3e15), (2.5e21, 7e8), (4e9, 6e22), (1e12, 1e12)] + ni_sq, tau_n, tau_p, n1, p1 = 1.0e10, 3e-7, 4e-8, 2e5, 5e4 + for n, p in cases: + rate = lifetime_srh_recombination(np.array([n]), np.array([p]), ni_sq, tau_n, tau_p, n1, p1).rate[0] + F = Fraction + exact = (F(n) * F(p) - F(ni_sq)) / (F(tau_p) * (F(n) + F(n1)) + F(tau_n) * (F(p) + F(p1))) + assert abs(F(rate) - exact) <= 8 * abs(exact) * F(2) ** -52 + + +# --- reaction instance -------------------------------------------------------- + + +def test_carrier_sources_come_from_one_rate_array(): + n, p = _states(9) + evaluation = BulkRecombinationReaction(_coefficients(9)).evaluate(n, p) + sources = evaluation.carrier_sources() + assert sources.electron is sources.hole + assert np.array_equal(sources.electron, -evaluation.total.rate) + assert np.array_equal(sources.d_source_dn, -evaluation.total.d_rate_dn) + assert sources.stoichiometry == (("electron", -1), ("hole", -1)) + assert sources.unit == "m^-3 s^-1" + + +def test_value_only_evaluation_matches_the_full_one(): + n, p = _states(15) + reaction = BulkRecombinationReaction(_coefficients(15)) + assert reaction.evaluate(n, p, derivatives=False).total.rate.tobytes() == reaction.evaluate(n, p).total.rate.tobytes() + assert reaction.evaluate(n, p, derivatives=False).total.d_rate_dn is None + + +def test_observed_denominators_and_domain_predicate(): + n, p = _states(6) + evaluation = BulkRecombinationReaction(_coefficients(6)).evaluate(n, p) + assert evaluation.srh_denominators_s_m3.shape == (6,) + assert evaluation.minimum_srh_denominator_s_m3 == float(np.min(evaluation.srh_denominators_s_m3)) + evaluation.require_domain() + negative = BulkRecombinationReaction(_coefficients(6)).evaluate(-n, p) + assert not negative.in_domain() + with pytest.raises(RecombinationDomainError): + negative.require_domain() + + +def test_evaluation_outputs_are_read_only(): + n, p = _states(4) + evaluation = BulkRecombinationReaction(_coefficients(4)).evaluate(n, p) + with pytest.raises(ValueError): + evaluation.total.rate[0] = 1.0 + with pytest.raises(ValueError): + evaluation.srh_denominators_s_m3[0] = 1.0 + + +@pytest.mark.parametrize( + "override", + [ + {"tau_n_s": 0.0}, + {"tau_p_s": -1e-9}, + {"tau_n_s": math.nan}, + {"radiative_m3_s": -1e-17}, + {"auger_n_m6_s": math.inf}, + {"n1_m3": -1.0}, + {"ni_sq_m6": math.nan}, + {"tau_n_s": np.ones(3)}, + ], +) +def test_invalid_coefficients_are_rejected_at_binding(override): + with pytest.raises(ValueError): + _coefficients(5, **override) + + +def test_state_shape_and_finiteness_are_checked(): + reaction = BulkRecombinationReaction(_coefficients(4)) + with pytest.raises(ValueError): + reaction.evaluate(np.ones(3), np.ones(3)) + with pytest.raises(ValueError): + reaction.evaluate(np.array([1.0, np.nan, 1.0, 1.0]), np.ones(4)) + + +def test_explicit_model_must_share_the_grid(): + owned = np.ones(3, dtype=bool) + species = NeutralDefectSpecies("l/a", DIGEST, owned, 1e-8, 1e-8, np.ones(3), np.ones(3)) + model = NeutralExplicitDefectModel((species,), owned, (("l", DIGEST),)) + with pytest.raises(ValueError): + BulkRecombinationReaction(_coefficients(4), model) + + +def test_neutral_model_rejects_inconsistent_ownership(): + owned = np.array([True, False, True]) + species = NeutralDefectSpecies("l/a", DIGEST, owned, 1e-8, 1e-8, np.ones(3), np.ones(3)) + with pytest.raises(ValueError): + NeutralExplicitDefectModel((species,), np.ones(3, dtype=bool), (("l", DIGEST),)) + with pytest.raises(ValueError): + NeutralExplicitDefectModel((species, species), owned, (("l", DIGEST),)) + + +def test_finite_lifetime_overflow_is_not_a_disabled_srh_channel(): + value = np.array([float(2**600)]) + with np.errstate(over='ignore'): + with pytest.raises(FloatingPointError, match='finite-lifetime SRH'): + lifetime_srh_recombination(value, value, 1.0, value, value, 1.0, 1.0) + + +def test_nonfinite_reaction_output_cannot_pass_the_domain_guard(): + from dataclasses import replace + coefficients = replace(_coefficients(1), radiative_m3_s=np.array([1e300])) + with np.errstate(over='ignore', invalid='ignore'): + evaluation = BulkRecombinationReaction(coefficients).evaluate(np.array([1e20]), np.array([1e20])) + assert not evaluation.in_domain() + with pytest.raises(ValueError, match='finite'): + evaluation.require_domain() diff --git a/tests/unit/physics/recombination/test_trap_closures.py b/tests/unit/physics/recombination/test_trap_closures.py new file mode 100644 index 00000000..30f5fb7d --- /dev/null +++ b/tests/unit/physics/recombination/test_trap_closures.py @@ -0,0 +1,215 @@ +"""Analytic checks of trap profiles and the energy-resolved bulk-trap closure.""" + +from __future__ import annotations + +import math + +import numpy as np +import pytest + +from solarlab.physics.recombination import ( + BulkTrapDistribution, + TrapProfile, + build_bulk_trap_quadrature, + evaluate_bulk_trap_state, + exponential_edge_profile, + gaussian_edge_profile, + solve_bulk_trap_charge_neutrality, + tau_from_trap_density, +) + +Q = 1.602176634e-19 +K_B = 1.380649e-23 + + +# --- position-dependent trap profiles ----------------------------------------- + + +@pytest.mark.parametrize("profile", [exponential_edge_profile, gaussian_edge_profile]) +def test_profile_saturates_at_the_interface_density_and_recovers_the_bulk(profile): + d = 500e-9 + x = np.linspace(0.0, d, 2001) + density = profile(x, d, 1e22, 1e20, 10e-9) + assert density[0] == pytest.approx(1e22, rel=1e-12) + assert density[-1] == pytest.approx(1e22, rel=1e-12) + assert density[1000] == pytest.approx(1e20, rel=1e-6) + assert np.all(np.diff(density[:1000]) <= 0.0) + + +def test_thin_layer_profile_never_overshoots_the_interface_density(): + """F-05: the two-face sum is normalised by its closed-form supremum.""" + + for ratio in (1e-2, 0.1, 0.64, 1.0, 10.0, 100.0): + d = 100e-9 + x = np.linspace(0.0, d, 4001) + exponential = exponential_edge_profile(x, d, 1e22, 1e20, ratio * d) + gaussian = gaussian_edge_profile(x, d, 1e22, 1e20, ratio * d) + assert np.max(exponential) <= 1e22 * (1.0 + 1e-12) + # The Gaussian candidate pair under-estimates the true peak by < 3 %. + assert np.max(gaussian) <= 1.03e22 + + +def test_gaussian_tail_decays_faster_than_exponential(): + d, length = 1e-6, 20e-9 + x = np.array([3.0 * length]) + assert gaussian_edge_profile(x, d, 1e22, 0.0, length, edge="left")[0] < ( + exponential_edge_profile(x, d, 1e22, 0.0, length, edge="left")[0] + ) + + +def test_single_face_profiles_attach_to_one_face_only(): + d = 400e-9 + x = np.array([0.0, d]) + left = exponential_edge_profile(x, d, 1e22, 1e20, 5e-9, edge="left") + right = exponential_edge_profile(x, d, 1e22, 1e20, 5e-9, edge="right") + assert left[0] == 1e22 and right[-1] == 1e22 + assert left[-1] == pytest.approx(1e20, rel=1e-12) and right[0] == pytest.approx(1e20, rel=1e-12) + + +def test_zero_decay_length_is_the_uniform_bulk_sentinel(): + x = np.linspace(0.0, 1e-7, 11) + assert np.all(exponential_edge_profile(x, 1e-7, 1e22, 1e20, 0.0) == 1e20) + assert np.all(gaussian_edge_profile(x, 1e-7, 1e22, 1e20, 0.0) == 1e20) + + +def test_inverse_density_rule_and_its_passivation_floor(): + tau = tau_from_trap_density(1e-6, np.array([1e20, 1e21, 1e22, 1e19]), 1e20) + np.testing.assert_allclose(tau[:3], [1e-6, 1e-7, 1e-8], rtol=1e-15) + assert tau[3] == 1e-6 # N_t below the bulk never lengthens the lifetime + + +@pytest.mark.parametrize("kwargs", [dict(shape="cubic"), dict(edge="middle"), dict(decay_length_m=-1.0)]) +def test_trap_profile_declaration_rejects_unknown_choices(kwargs): + base = dict(interface_density_m3=1e22, bulk_density_m3=1e20, decay_length_m=1e-8) + base.update(kwargs) + with pytest.raises(ValueError): + TrapProfile(**base) + + +def test_binding_returns_read_only_per_node_lifetimes(): + binding = TrapProfile(1e22, 1e20, 1e-8).bind(np.linspace(0, 1e-7, 5), 1e-7, 1e-6, 2e-6) + assert binding.tau_n_s.shape == (5,) and binding.tau_p_s[2] > binding.tau_p_s[0] + with pytest.raises(ValueError): + binding.tau_n_s[0] = 0.0 + + +# --- energy-resolved bulk traps ------------------------------------------------- + + +def _single(transition="acceptor"): + return BulkTrapDistribution("single_level", 1e21, 0.9, 1e-19, 3e-20, 1e5, transition) + + +def test_single_level_state_matches_the_closed_form(): + gap, Nc, Nv, T = 1.5, 2e24, 3e25, 300.0 + V_T = K_B * T / Q + n, p = 1e18, 4e13 + state = evaluate_bulk_trap_state(n, p, _single(), band_gap_eV=gap, effective_conduction_dos_m3=Nc, + effective_valence_dos_m3=Nv, temperature_K=T) + cn, cp = 1e-19 * 1e5, 3e-20 * 1e5 + n1 = Nc * math.exp(-(gap - 0.9) / V_T) + p1 = Nv * math.exp(-0.9 / V_T) + denominator = cn * (n + n1) + cp * (p + p1) + occupancy = (cn * n + cp * p1) / denominator + ni_sq = Nc * Nv * math.exp(-gap / V_T) + rate = 1e21 * cn * cp * (n * p - ni_sq) / denominator + assert float(state.occupancy) == pytest.approx(occupancy, rel=1e-14) + assert float(state.recombination_rate_m3_s) == pytest.approx(rate, rel=1e-14) + assert float(state.charge_density_C_m3) == pytest.approx(-Q * 1e21 * occupancy, rel=1e-14) + donor = evaluate_bulk_trap_state(n, p, _single("donor"), band_gap_eV=gap, effective_conduction_dos_m3=Nc, + effective_valence_dos_m3=Nv, temperature_K=T) + assert float(donor.signed_charge_number_density_m3) == pytest.approx(1e21 * (1.0 - occupancy), rel=1e-12) + + +def test_rate_and_charge_come_from_one_population_and_vanish_at_mass_action(): + gap, Nc, Nv, T = 1.5, 2e24, 3e25, 300.0 + V_T = K_B * T / Q + ni_sq = Nc * Nv * math.exp(-gap / V_T) + n = 1e15 + p = ni_sq / n + state = evaluate_bulk_trap_state(n, p, _single(), band_gap_eV=gap, effective_conduction_dos_m3=Nc, + effective_valence_dos_m3=Nv, temperature_K=T) + doubled = evaluate_bulk_trap_state(n, 2.0 * p, _single(), band_gap_eV=gap, effective_conduction_dos_m3=Nc, + effective_valence_dos_m3=Nv, temperature_K=T) + # R is proportional to n p - ni^2: at mass action only the rounding of + # p = ni^2 / n survives, a few ulp of the rate at a unit excess. + eps = np.finfo(float).eps + assert abs(float(state.recombination_rate_m3_s)) <= 8 * eps * abs(float(doubled.recombination_rate_m3_s)) + assert float(state.charge_density_C_m3) == pytest.approx(-Q * float(state.occupied_density_m3), rel=1e-15) + + +def test_gaussian_quadrature_is_normalised_and_confined_to_the_gap(): + distribution = BulkTrapDistribution("gaussian", 2e22, 0.75, 1e-19, 1e-19, 1e5, "acceptor", 0.4) + quadrature = build_bulk_trap_quadrature(distribution, band_gap_eV=1.5, order=64) + assert math.fsum(quadrature.density_weights_m3) == pytest.approx(2e22, rel=1e-14) + assert min(quadrature.energy_levels_eV) >= 0.0 and max(quadrature.energy_levels_eV) <= 1.5 + + +def test_narrow_gaussian_reduces_to_the_single_level(): + kwargs = dict(band_gap_eV=1.5, effective_conduction_dos_m3=2e24, effective_valence_dos_m3=3e25, + temperature_K=300.0) + single = evaluate_bulk_trap_state(1e17, 1e15, _single(), **kwargs) + narrow = evaluate_bulk_trap_state( + 1e17, 1e15, BulkTrapDistribution("gaussian", 1e21, 0.9, 1e-19, 3e-20, 1e5, "acceptor", 1e-5), **kwargs + ) + assert float(narrow.recombination_rate_m3_s) == pytest.approx(float(single.recombination_rate_m3_s), rel=1e-3) + assert float(narrow.occupancy) == pytest.approx(float(single.occupancy), rel=1e-3) + + +def test_charge_and_rate_tangents_match_finite_differences(): + kwargs = dict(band_gap_eV=1.5, effective_conduction_dos_m3=2e24, effective_valence_dos_m3=3e25, + temperature_K=300.0) + distribution = BulkTrapDistribution("gaussian", 2e21, 0.6, 1e-19, 3e-20, 1e5, "donor", 0.08) + n, p = 3e17, 2e16 + base = evaluate_bulk_trap_state(n, p, distribution, **kwargs) + for name, rate_d, charge_d in (("n", "recombination_derivative_n_s", "charge_number_derivative_n"), + ("p", "recombination_derivative_p_s", "charge_number_derivative_p")): + h = 1e-6 * (n if name == "n" else p) + plus = evaluate_bulk_trap_state(n + h if name == "n" else n, p + h if name == "p" else p, distribution, **kwargs) + minus = evaluate_bulk_trap_state(n - h if name == "n" else n, p - h if name == "p" else p, distribution, **kwargs) + rate_fd = (float(plus.recombination_rate_m3_s) - float(minus.recombination_rate_m3_s)) / (2 * h) + charge_fd = (float(plus.signed_charge_number_density_m3) - float(minus.signed_charge_number_density_m3)) / (2 * h) + assert float(getattr(base, rate_d)) == pytest.approx(rate_fd, rel=1e-7) + assert float(getattr(base, charge_d)) == pytest.approx(charge_fd, rel=1e-6) + + +@pytest.mark.parametrize("doping", [(0.0, 0.0), (1e22, 0.0), (0.0, 3e23)]) +def test_trap_aware_neutrality_closes_the_charge_balance(doping): + distribution = BulkTrapDistribution("gaussian", 5e21, 0.7, 1e-19, 1e-19, 1e5, "acceptor", 0.1) + result = solve_bulk_trap_charge_neutrality( + temperature_K=300.0, band_gap_eV=1.6, effective_conduction_dos_m3=2.2e24, effective_valence_dos_m3=1.8e25, + acceptor_density_m3=doping[0], donor_density_m3=doping[1], distribution=distribution, + ) + residual = (result.hole_density_m3 - result.electron_density_m3 + doping[1] - doping[0] + + float(result.trap_state.signed_charge_number_density_m3)) + scale = max(result.electron_density_m3, result.hole_density_m3, *doping, 5e21, 1.0) + assert abs(residual) / scale <= 1e-12 + assert result.normalized_charge_residual <= 1e-12 + V_T = K_B * 300.0 / Q + assert result.reduced_electron_fermi_level + result.reduced_hole_fermi_level == pytest.approx(-1.6 / V_T, rel=1e-15) + + +@pytest.mark.parametrize( + "kwargs", + [ + dict(distribution="box"), + dict(charge_transition="neutral"), + dict(total_density_m3=0.0), + dict(center_eV_above_vb=-0.1), + dict(energy_sigma_eV=0.1), + ], +) +def test_distribution_rejects_invalid_declarations(kwargs): + base = dict(distribution="single_level", total_density_m3=1e21, center_eV_above_vb=0.8, sigma_n_m2=1e-19, + sigma_p_m2=1e-19, thermal_velocity_m_s=1e5, charge_transition="acceptor") + base.update(kwargs) + with pytest.raises(ValueError): + BulkTrapDistribution(**base) + + +def test_state_rejects_negative_densities_and_levels_outside_the_gap(): + kwargs = dict(effective_conduction_dos_m3=2e24, effective_valence_dos_m3=3e25, temperature_K=300.0) + with pytest.raises(ValueError): + evaluate_bulk_trap_state(-1.0, 1.0, _single(), band_gap_eV=1.5, **kwargs) + with pytest.raises(ValueError): + evaluate_bulk_trap_state(1.0, 1.0, _single(), band_gap_eV=0.5, **kwargs) diff --git a/tests/unit/physics/statistics/test_band_potentials.py b/tests/unit/physics/statistics/test_band_potentials.py new file mode 100644 index 00000000..df8421c4 --- /dev/null +++ b/tests/unit/physics/statistics/test_band_potentials.py @@ -0,0 +1,149 @@ +"""Physical band edges vs DOS-folded transport potentials (M class + LD-05). + +M class: the folded transport affinity/gap equal the legacy +``build_material_arrays`` ``chi``/``Eg`` bitwise and the physical edges equal +its ``chi_phys``/``Eg_phys``, on DOS-carrying presets (with and without a +substrate prefix) and on DOS-free presets (no fold). The shared interface node +takes the right layer's correction (LD-05, kept explicitly). +""" + +from __future__ import annotations + +from pathlib import Path +import math +import warnings + +import numpy as np +import pytest + +from perovskite_sim.experiments.jv_sweep import build_electrical_grid +from perovskite_sim.models.config_loader import load_device_from_yaml +from perovskite_sim.models.device import electrical_layers +from perovskite_sim.scaps_compat import load_scaps_yaml +from perovskite_sim.solver.mol import build_material_arrays + +from solarlab.mesh import LEFT_LAYER_WINS, RIGHT_LAYER_WINS, multilayer_grid, node_owner +from solarlab.mesh.grid import layer_node_masks +from solarlab.physics.statistics import ( + BandStructure, LayerBandInput, dos_fold_reference_layer, fold_dos_into_transport_bands, + layered_band_structure, +) + +ROOT = Path(__file__).resolve().parents[4] +PRESETS = ROOT / "perovskite-sim" +SCAPS_PRESETS = ("configs/scaps_mirror_v2.yaml", "tests/fixtures/configs/scaps_mirror.yaml", + "tests/fixtures/configs/scaps_mirror_v2_robin_strong.yaml", + "tests/fixtures/configs/interface_charge_reference.yaml") +STANDARD_PRESETS = ("tests/fixtures/configs/nip_MAPbI3.yaml", + "tests/fixtures/configs/ionmonger_benchmark.yaml", + "tests/fixtures/configs/cigs_baseline.yaml", + "tests/fixtures/configs/tpv_physical_reference.yaml", + "tests/fixtures/configs/scaps_defect_s0_neutral.yaml") + + +def same(a, b): + a, b = np.asarray(a, dtype=float), np.asarray(b, dtype=float) + return a.shape == b.shape and a.tobytes() == b.tobytes() + + +def legacy_material(path, N): + loader = load_scaps_yaml if path in SCAPS_PRESETS else load_device_from_yaml + stack = loader(str(PRESETS / path)) + x = build_electrical_grid(stack, N) + with warnings.catch_warnings(): + warnings.simplefilter("ignore") + return stack, x, build_material_arrays(x, stack) + + +def fold_like_the_legacy_builder(stack, x, mat): + layers = electrical_layers(stack) + masks = layer_node_masks(x, [layer.thickness for layer in layers], RIGHT_LAYER_WINS) + return fold_dos_into_transport_bands( + mat.chi_phys, mat.Eg_phys, masks, + [(layer.params.Nc300, layer.params.Nv300) for layer in layers], + reference_layer=dos_fold_reference_layer([layer.role for layer in layers]), + thermal_voltage_V=mat.V_T_device) + + +@pytest.mark.parametrize("N", [40, 97]) +@pytest.mark.parametrize("path", SCAPS_PRESETS + STANDARD_PRESETS) +def test_dos_fold_matches_the_legacy_material_arrays_bitwise(path, N): + stack, x, mat = legacy_material(path, N) + bands = fold_like_the_legacy_builder(stack, x, mat) + assert same(bands.transport_electron_affinity_eV, mat.chi) + assert same(bands.transport_band_gap_eV, mat.Eg) + assert same(bands.physical_electron_affinity_eV, mat.chi_phys) + assert same(bands.physical_band_gap_eV, mat.Eg_phys) + if path in SCAPS_PRESETS: # DOS contrast: the transport arrays really moved + assert bands.dos_folded and not same(mat.chi, mat.chi_phys) + phi = np.linspace(0.0, 1.0, x.size) + psi_n, psi_p = bands.transport_potentials(phi) + assert same(psi_n, phi + mat.chi) and same(psi_p, phi + mat.chi + mat.Eg) + + +def test_physical_edges_and_transport_potentials_are_never_interchanged(): + stack, x, mat = legacy_material("configs/scaps_mirror_v2.yaml", 60) + bands = fold_like_the_legacy_builder(stack, x, mat) + phi = np.linspace(0.0, 1.3, x.size) + conduction, valence = bands.physical_band_edges(phi) + assert same(conduction, -phi - mat.chi_phys) + assert same(valence, -phi - mat.chi_phys - mat.Eg_phys) + # The fold is a transport term: chi_t + Eg_t shifts by -dV, never the edges. + reference = dos_fold_reference_layer([layer.role for layer in electrical_layers(stack)]) + layers = electrical_layers(stack) + owner = node_owner(x, [layer.thickness for layer in layers], RIGHT_LAYER_WINS) + ref = layers[reference].params + for node in range(x.size): + params = layers[owner[node]].params + dC = mat.V_T_device * math.log(params.Nc300 / ref.Nc300) + assert bands.transport_electron_affinity_eV[node] == pytest.approx( + mat.chi_phys[node] + dC, abs=1e-15) + with pytest.raises(ValueError, match="reuse the physical edges"): + BandStructure(mat.chi_phys, mat.Eg_phys, mat.chi, mat.Eg, dos_folded=False, + reference_layer=None) + + +def test_shared_interface_node_takes_the_right_layer_correction_ld05(): + thicknesses = (1.0e-7, 2.0e-7) + x = multilayer_grid([(thicknesses[0], 6), (thicknesses[1], 8)]) + layers = [LayerBandInput(thicknesses[0], 3.6, 1.8, 4.0e25, 1.0e25, "HTL"), + LayerBandInput(thicknesses[1], 3.9, 1.6, 1.0e25, 2.0e25, "absorber")] + bands = layered_band_structure(x, layers, thermal_voltage_V=0.025852, fold_dos=True) + shared = int(np.argmin(np.abs(x - thicknesses[0]))) + right_owner = node_owner(x, thicknesses, RIGHT_LAYER_WINS) + left_owner = node_owner(x, thicknesses, LEFT_LAYER_WINS) + assert right_owner[shared] == 1 and left_owner[shared] == 0 + # The absorber is the reference: its nodes, the shared node included, are unshifted. + assert bands.transport_electron_affinity_eV[shared] == 3.9 + assert bands.physical_electron_affinity_eV[shared] == 3.9 + assert bands.transport_electron_affinity_eV[shared - 1] == pytest.approx( + 3.6 + 0.025852 * math.log(4.0), abs=1e-15) + assert dos_fold_reference_layer([layer.role for layer in layers]) == 1 + + +def test_fold_skips_missing_dos_and_needs_a_reference_with_dos(): + x = np.linspace(0.0, 3.0e-7, 7) + masks = layer_node_masks(x, [1.0e-7, 1.0e-7, 1.0e-7], RIGHT_LAYER_WINS) + chi = np.array([3.6, 3.6, 3.9, 3.9, 4.0, 4.0, 4.0]) + gap = np.array([1.8, 1.8, 1.6, 1.6, 2.0, 2.0, 2.0]) + skipped = fold_dos_into_transport_bands( + chi, gap, masks, [(None, None), (1e25, 1e25), (2e25, 0.0)], reference_layer=1, + thermal_voltage_V=0.025) + assert skipped.dos_folded and same(skipped.transport_electron_affinity_eV, chi) + no_reference = fold_dos_into_transport_bands( + chi, gap, masks, [(2e25, 2e25), (None, 1e25), (2e25, 2e25)], reference_layer=1, + thermal_voltage_V=0.025) + assert not no_reference.dos_folded + assert same(no_reference.transport_electron_affinity_eV, chi) + assert dos_fold_reference_layer(["HTL", "ETL"]) == 0 + overlapping = [np.ones(7, dtype=bool), np.zeros(7, dtype=bool), np.ones(7, dtype=bool)] + with pytest.raises(ValueError, match="partition"): + fold_dos_into_transport_bands(chi, gap, overlapping, [(1e25, 1e25)] * 3, + reference_layer=0, thermal_voltage_V=0.025) + with pytest.raises(ValueError, match="reference_layer"): + fold_dos_into_transport_bands(chi, gap, masks, [(1e25, 1e25)] * 3, reference_layer=3, + thermal_voltage_V=0.025) + with pytest.raises(ValueError, match="math domain|positive"): + fold_dos_into_transport_bands(chi, gap, masks, [(1e25, 1e25), (1e25, 1e25), + (-1e25, 1e25)], + reference_layer=0, thermal_voltage_V=0.025) diff --git a/tests/unit/physics/statistics/test_statistics_legacy_parity.py b/tests/unit/physics/statistics/test_statistics_legacy_parity.py new file mode 100644 index 00000000..7d2acb8c --- /dev/null +++ b/tests/unit/physics/statistics/test_statistics_legacy_parity.py @@ -0,0 +1,245 @@ +"""Carrier statistics: one MB/restricted-FD definition (M class) and the FD MB limit. + +M class: every value is compared with the legacy engine (read-only import) by +``tobytes()`` on the same inputs; error types and messages are compared too. +Acceptance (V1 P04-03): Fermi-Dirac reduces to Maxwell-Boltzmann in the +non-degenerate limit -- bitwise for ``eta <= -40`` and within the table's own +interpolation/rounding error above. +""" + +from __future__ import annotations + +import itertools +import math + +import numpy as np +import pytest + +from perovskite_sim import constants as legacy_constants +from perovskite_sim.physics import fermi_dirac as legacy_fd +from perovskite_sim.physics import statistics as legacy_statistics +from perovskite_sim.physics import temperature as legacy_temperature + +from solarlab.physics import statistics as statistics +from solarlab.physics.statistics import ( + FERMI_DIRAC, MAXWELL_BOLTZMANN, fermi_dirac_half, fermi_dirac_half_log_derivative, + fermi_dirac_half_table, generalized_einstein_factor, inverse_fermi_dirac_half, + mass_action_carrier_densities, reduced_fermi_level_from_density, thermal_voltage, +) + +ETAS = np.concatenate(( + np.linspace(-60.0, 40.0, 4001), + np.linspace(-40.0, 20.0, 241), # table nodes (step 0.25 = 50 table steps) + [-40.0, 20.0, np.nextafter(-40.0, 0.0), np.nextafter(20.0, 0.0), 0.0, -0.0, 1e-300, + -1e-300, -40.000000001, 19.999999999, -39.995, 19.995, 5e-3, -5e-3], +)) +RATIOS = np.concatenate((np.logspace(-30.0, 12.0, 3001), [0.0, 1.0, math.inf, 4.25e-18, + 4.25e-18 * (1 + 1e-15)])) + + +def same(a, b): + return np.asarray(a, dtype=float).tobytes() == np.asarray(b, dtype=float).tobytes() + + +def same_outcome(new, old, *args, **kwargs): + """Equal value bytes, or the same exception type and message.""" + try: + expected = old(*args, **kwargs) + except Exception as error: # noqa: BLE001 - compare the legacy failure exactly + with pytest.raises(type(error)) as caught: + new(*args, **kwargs) + return str(caught.value) == str(error) + return repr(new(*args, **kwargs)) == repr(expected) + + +def test_thermal_voltage_and_reference_constants_match_the_legacy_engine(): + assert statistics.REFERENCE_THERMAL_VOLTAGE_V == legacy_constants.V_T + assert statistics.BOLTZMANN_CONSTANT_J_K == legacy_constants.K_B + for temperature in (300.0, 250.0, 333.3, 77, 1e-3, 1.0e4): + assert same(thermal_voltage(temperature), legacy_temperature.thermal_voltage(temperature)) + for bad in (0.0, -1.0, math.nan, math.inf): + with pytest.raises(ValueError): + thermal_voltage(bad) + + +def test_fermi_dirac_table_is_the_legacy_table_bitwise(): + for new, old in zip(fermi_dirac_half_table(), legacy_fd._half_table()): + assert same(new, old) + eta, values, log_values = fermi_dirac_half_table() + assert not values.flags.writeable and not log_values.flags.writeable + + +def test_fermi_dirac_half_family_matches_the_legacy_engine_bitwise(): + for eta in ETAS: + assert same(fermi_dirac_half(eta), legacy_fd.fermi_dirac_half(eta)) + assert same(fermi_dirac_half_log_derivative(eta), + legacy_fd.fermi_dirac_half_log_derivative(eta)) + for special in (math.nan, math.inf, -math.inf): + assert same(fermi_dirac_half(special), legacy_fd.fermi_dirac_half(special)) + assert same(fermi_dirac_half_log_derivative(special), + legacy_fd.fermi_dirac_half_log_derivative(special)) + for ratio in RATIOS: + assert same(inverse_fermi_dirac_half(ratio), legacy_fd.inverse_fermi_dirac_half(ratio)) + for bad in (-1.0, math.nan): + assert same_outcome(inverse_fermi_dirac_half, legacy_fd.inverse_fermi_dirac_half, bad) + + +@pytest.mark.parametrize("model", [MAXWELL_BOLTZMANN, FERMI_DIRAC, " Fermi_Dirac "]) +def test_carrier_maps_share_one_definition_and_match_the_legacy_engine(model): + for eta in np.concatenate((np.linspace(-50.0, 30.0, 801), [-745.5, 709.0, 710.0])): + for name in ("carrier_occupation", "carrier_logarithmic_compressibility", + "generalized_einstein_factor"): + assert same_outcome(getattr(statistics, name), getattr(legacy_statistics, name), + eta, statistics=model) + for dos in (1.0e24, 2.5e26): + for name in ("carrier_density_from_reduced_fermi_level", + "carrier_density_derivative_reduced_fermi_level"): + assert same_outcome(getattr(statistics, name), + getattr(legacy_statistics, name), eta, dos, + statistics=model) + for density in np.concatenate((np.logspace(-10.0, 28.0, 400), [0.0])): + assert same_outcome(statistics.reduced_fermi_level_from_density, + legacy_statistics.reduced_fermi_level_from_density, + density, 1.0e25, statistics=model) + + +@pytest.mark.parametrize("call", [ + ("carrier_occupation", (math.nan,), {}), + ("carrier_occupation", (0.0,), {"statistics": "blakemore"}), + ("carrier_occupation", (0.0,), {"statistics": 3}), + ("carrier_logarithmic_compressibility", (math.inf,), {}), + ("carrier_density_from_reduced_fermi_level", (0.0, 0.0), {}), + ("reduced_fermi_level_from_density", (-1.0, 1e25), {}), + ("reduced_fermi_level_from_density", (1.0, math.inf), {}), +]) +def test_carrier_map_rejections_match_the_legacy_messages(call): + name, args, kwargs = call + assert same_outcome(getattr(statistics, name), getattr(legacy_statistics, name), + *args, **kwargs) + + +def test_dopant_ionization_matches_the_legacy_engine_bitwise(): + rng = np.random.default_rng(3) + for _ in range(400): + eta_n, eta_p = rng.uniform(-60.0, 40.0, size=2) + binding = float(rng.choice([0.0, 0.005, 0.05, 0.3])) + thermal = float(rng.choice([0.0258, 0.01, 0.04])) + for name, degeneracy in (("ionized_donor_fraction", 2.0), + ("ionized_acceptor_fraction", 4.0)): + assert same_outcome(getattr(statistics, name), getattr(legacy_statistics, name), + eta_n if "donor" in name else eta_p, + binding_energy_eV=binding, thermal_voltage_V=thermal, + degeneracy=degeneracy) + for model in ("fully_ionized", "discrete_level"): + kwargs = dict(reduced_electron_fermi_level=eta_n, reduced_hole_fermi_level=eta_p, + donor_density_m3=float(rng.choice([0.0, 1e22, 1e26])), + acceptor_density_m3=float(rng.choice([0.0, 3e21, 2e25])), + thermal_voltage_V=thermal, model=model) + if model == "discrete_level": + kwargs.update(donor_binding_energy_eV=0.045, acceptor_binding_energy_eV=0.12) + assert same_outcome(statistics.dopant_charge_state, + legacy_statistics.dopant_charge_state, **kwargs) + for bad in ({"model": "fully_ionized", "donor_binding_energy_eV": 0.1}, + {"model": "discrete_level", "donor_density_m3": 1e20}, + {"model": "partial"}): + kwargs = dict(reduced_electron_fermi_level=0.0, reduced_hole_fermi_level=0.0, + donor_density_m3=0.0, acceptor_density_m3=0.0, thermal_voltage_V=0.0258) + kwargs.update(bad) + assert same_outcome(statistics.dopant_charge_state, + legacy_statistics.dopant_charge_state, **kwargs) + + +NEUTRALITY_CASES = list(itertools.product( + (MAXWELL_BOLTZMANN, FERMI_DIRAC), (300.0, 250.0, 400.0), (0.0, 0.5, 1.12, 1.55, 3.4), + (0.0, 1e15, 1e22, 1e26), (0.0, 1e16, 1e23, 3e26), +)) + + +@pytest.mark.parametrize("ionization", ["fully_ionized", "discrete_level"]) +def test_charge_neutrality_matches_the_legacy_engine_bitwise(ionization): + for model, temperature, gap, acceptors, donors in NEUTRALITY_CASES: + kwargs = dict(temperature_K=temperature, band_gap_eV=gap, + effective_conduction_dos_m3=2.2e24, effective_valence_dos_m3=1.8e25, + acceptor_density_m3=acceptors, donor_density_m3=donors, + statistics=model, dopant_ionization_model=ionization) + if ionization == "discrete_level": + kwargs.update(donor_binding_energy_eV=0.05 if donors else None, + acceptor_binding_energy_eV=0.12 if acceptors else None) + assert same_outcome(statistics.solve_charge_neutrality, + legacy_statistics.solve_charge_neutrality, **kwargs) + + +@pytest.mark.parametrize("kwargs", [ + {"dopant_ionization_model": "fully_ionized", "donor_degeneracy": 3.0}, + {"dopant_ionization_model": "fully_ionized", "acceptor_binding_energy_eV": 0.1}, + {"dopant_ionization_model": "nope"}, + {"temperature_K": -1.0}, + {"band_gap_eV": -0.1}, + {"effective_conduction_dos_m3": 0.0}, +]) +def test_charge_neutrality_rejections_match_the_legacy_messages(kwargs): + call = dict(temperature_K=300.0, band_gap_eV=1.1, effective_conduction_dos_m3=1e25, + effective_valence_dos_m3=1e25, donor_density_m3=1e22) + call.update(kwargs) + assert same_outcome(statistics.solve_charge_neutrality, + legacy_statistics.solve_charge_neutrality, **call) + + +def legacy_equilibrium_np(N_D_val, N_A_val, ni_val): + """Verbatim copy of the closure inside ``solver.mol.build_material_arrays``.""" + net = 0.5 * (N_D_val - N_A_val) + disc = np.sqrt(net ** 2 + ni_val ** 2) + if net >= 0: + n_val = net + disc + p_val = ni_val ** 2 / n_val + else: + p_val = -net + disc + n_val = ni_val ** 2 / p_val + return float(n_val), float(p_val) + + +def test_mass_action_closure_matches_the_historical_contact_closure_bitwise(): + rng = np.random.default_rng(11) + for _ in range(3000): + donors = float(10.0 ** rng.uniform(-5.0, 27.0)) * float(rng.integers(0, 2)) + acceptors = float(10.0 ** rng.uniform(-5.0, 27.0)) * float(rng.integers(0, 2)) + ni_sq = float(10.0 ** rng.uniform(-60.0, 40.0)) + ni = np.sqrt(ni_sq) + expected = legacy_equilibrium_np(np.float64(donors), np.float64(acceptors), ni) + assert same(mass_action_carrier_densities(donors, acceptors, float(ni)), expected) + assert same(mass_action_carrier_densities(1e22, 0.0, 0.0), legacy_equilibrium_np( + np.float64(1e22), np.float64(0.0), np.float64(0.0))) + with pytest.raises(ValueError, match="compensated"): + mass_action_carrier_densities(1e20, 1e20, 0.0) + + +def test_mass_action_closure_is_the_mb_neutrality_solution(): + """Same statistics definition: the closed form and the bisection agree.""" + for donors, acceptors in ((1e23, 0.0), (0.0, 4e22), (2e21, 1e21), (0.0, 0.0)): + state = statistics.solve_charge_neutrality( + temperature_K=300.0, band_gap_eV=1.2, effective_conduction_dos_m3=2e24, + effective_valence_dos_m3=3e25, donor_density_m3=donors, acceptor_density_m3=acceptors) + ni = math.sqrt(2e24 * 3e25 * math.exp(-1.2 / thermal_voltage(300.0))) + n, p = mass_action_carrier_densities(donors, acceptors, ni) + assert n == pytest.approx(state.electron_density_m3, rel=1e-11) + assert p == pytest.approx(state.hole_density_m3, rel=1e-11) + + +def test_fermi_dirac_reduces_to_maxwell_boltzmann_in_the_non_degenerate_limit(): + # Bitwise identical at and below the table edge. + for eta in (-40.0, -45.0, -60.0, -200.0): + assert same(fermi_dirac_half(eta), math.exp(eta)) + assert same(generalized_einstein_factor(eta, statistics=FERMI_DIRAC), 1.0) + density = 1.0e25 * math.exp(eta) + assert same(reduced_fermi_level_from_density(density, 1.0e25, statistics=FERMI_DIRAC), + reduced_fermi_level_from_density(density, 1.0e25)) + # Above it: F_1/2 = e^eta (1 - e^eta / 2^1.5 + ...), up to the table's + # linear-in-log interpolation error h^2/8 |(log F)''| <= 1e-8 e^eta-scale. + for eta in np.linspace(-39.99, -5.0, 2001): + series = sum((-1) ** (k + 1) * math.exp(k * eta) / k ** 1.5 for k in range(1, 40)) + assert abs(fermi_dirac_half(eta) / series - 1.0) <= 1.0e-8 + assert abs(inverse_fermi_dirac_half(fermi_dirac_half(eta)) - eta) <= 4.0 * np.spacing(40.0) + # The Einstein factor is a table secant: |g - 1| is e^eta / 2^1.5 plus the + # secant's own rounding eps*|log F|/h. + g = generalized_einstein_factor(eta, statistics=FERMI_DIRAC) + assert abs(g - 1.0) <= math.exp(eta) + 64.0 * np.finfo(float).eps * 40.0 / 5.0e-3 diff --git a/tests/unit/physics/transport/p0403_dc_scaffold.py b/tests/unit/physics/transport/p0403_dc_scaffold.py new file mode 100644 index 00000000..806a3cdd --- /dev/null +++ b/tests/unit/physics/transport/p0403_dc_scaffold.py @@ -0,0 +1,370 @@ +"""Test-local DC drift-diffusion scaffold for the P04-03 acceptance tests. + +This is NOT a production solver (the equilibrium/steady Newton belongs to +P04-04). It only composes the P04-03 kernels into a 1D DC system so the V1 +acceptance can be exercised end to end: + +* bands: :func:`solarlab.physics.statistics.layered_band_structure` + (DOS folded, right-layer ownership); +* carrier balance: :class:`solarlab.contracts.TermSink` over the + ``INTEGER_ENDPOINT_V1`` control volumes with the N-class + :func:`~solarlab.physics.transport.electrochemical_flux.carrier_particle_fluxes`; +* contacts: fixed reservoirs (Dirichlet rows) or blocking/Robin channels with + :func:`~solarlab.physics.contacts.boundary_flux.boundary_particle_flux`; +* Poisson: :class:`solarlab.physics.electrostatics.PoissonOperator1D` with the + semiconductor work-function contact potential. + +The unknowns are ``(phi, ln n, ln p)``; the Jacobian is assembled from the +analytic face-flux derivatives, so quadratic convergence is itself a check of +those derivatives. Recombination is a test-local SRH law (P04-07 owns the +production one). +""" + +from __future__ import annotations + +from collections.abc import Sequence +from dataclasses import dataclass, field + +import numpy as np + +from solarlab.contracts import ( + AREA, LENGTH, PARTICLE, SECOND, VOLUME, CellSource, EquationSpec, FaceFlux, Layout, + Support, TermSink, +) +from solarlab.mesh import INTEGER_ENDPOINT_V1, RIGHT_LAYER_WINS, build_geometry, multilayer_grid +from solarlab.mesh.grid import layer_node_masks +from solarlab.physics.contacts import ( + SEMICONDUCTOR_WORK_FUNCTION, BuiltInPotentialSources, CarrierExchangeChannel, + ContactMaterial, doping_equilibrium_densities, +) +from solarlab.physics.contacts.boundary_flux import boundary_particle_flux +from solarlab.physics.electrostatics import PoissonOperator1D +from solarlab.physics.statistics import ( + BandStructure, LayerBandInput, layered_band_structure, thermal_voltage, +) +from solarlab.physics.transport import legacy_face_diffusivity +from solarlab.physics.transport.electrochemical_flux import carrier_particle_fluxes + +Q = 1.602176634e-19 +FLUX_UNIT = PARTICLE / (AREA * SECOND) +SOURCE_UNIT = PARTICLE / (VOLUME * SECOND) +assert SOURCE_UNIT * LENGTH == FLUX_UNIT + + +@dataclass(frozen=True) +class ScaffoldLayer: + thickness_m: float + intervals: int + chi_eV: float + Eg_eV: float + Nc_m3: float + Nv_m3: float + N_D_m3: float + N_A_m3: float + D_n_m2_s: float + D_p_m2_s: float + eps_r: float + generation_m3_s: float = 0.0 + tau_s: float = 1.0e-6 + role: str = "" + + +# p-HTL / intrinsic absorber / n-ETL heterojunction with DOS contrasts. +PIN_LAYERS = ( + ScaffoldLayer(8.0e-8, 16, 3.6, 1.8, 2.0e25, 3.0e25, 0.0, 1.0e24, 1.0e-6, 1.0e-6, 3.0, + role="HTL"), + ScaffoldLayer(3.0e-7, 40, 3.9, 1.6, 1.0e25, 1.0e25, 0.0, 0.0, 5.0e-5, 5.0e-5, 25.0, + generation_m3_s=1.0e27, tau_s=1.0e-6, role="absorber"), + ScaffoldLayer(8.0e-8, 16, 4.0, 2.0, 4.0e25, 2.0e25, 1.0e24, 0.0, 1.0e-6, 1.0e-6, 9.0, + role="ETL"), +) + + +@dataclass +class ScaffoldDevice: + layers: tuple[ScaffoldLayer, ...] + x: np.ndarray + bands: BandStructure + V_T: float + Nc: np.ndarray + Nv: np.ndarray + N_D: np.ndarray + N_A: np.ndarray + ni_sq: np.ndarray + generation: np.ndarray + tau: np.ndarray + D_n_face: np.ndarray + D_p_face: np.ndarray + poisson: PoissonOperator1D + widths: np.ndarray + V_bi_bc: float + fermi_level_eV: float + n_eq: tuple[float, float] + p_eq: tuple[float, float] + channels: dict[str, CarrierExchangeChannel] = field(default_factory=dict) + + @property + def size(self) -> int: + return int(self.x.size) + + @property + def generation_limit_A_m2(self) -> float: + """``q * sum(w G)``: the photocurrent if every generated pair is collected.""" + return float(Q * np.sum(self.widths * self.generation)) + + +def build_device(layers: Sequence[ScaffoldLayer] = PIN_LAYERS, *, fold_dos: bool = True, + temperature_K: float = 300.0, + velocities: dict[str, float | None] | None = None) -> ScaffoldDevice: + layers = tuple(layers) + x = multilayer_grid([(layer.thickness_m, layer.intervals) for layer in layers]) + thicknesses = [layer.thickness_m for layer in layers] + masks = layer_node_masks(x, thicknesses, RIGHT_LAYER_WINS) + V_T = thermal_voltage(temperature_K) + + def paint(name: str) -> np.ndarray: + values = np.zeros(x.shape) + for layer, mask in zip(layers, masks): + values[mask] = getattr(layer, name) + return values + + bands = layered_band_structure( + x, [LayerBandInput(layer.thickness_m, layer.chi_eV, layer.Eg_eV, layer.Nc_m3, + layer.Nv_m3, layer.role) for layer in layers], + thermal_voltage_V=V_T, fold_dos=fold_dos) + Nc, Nv, Eg = paint("Nc_m3"), paint("Nv_m3"), bands.physical_band_gap_eV + ni_sq = Nc * Nv * np.exp(-Eg / V_T) + geometry = build_geometry(INTEGER_ENDPOINT_V1, x, np.cumsum(thicknesses)[:-1]) + poisson = PoissonOperator1D.from_harmonic_nodes(x, paint("eps_r"), + geometry_name=INTEGER_ENDPOINT_V1) + + def material(layer: ScaffoldLayer) -> ContactMaterial: + return ContactMaterial(temperature_K, layer.chi_eV, layer.Eg_eV, layer.Nc_m3, + layer.Nv_m3, layer.N_D_m3, layer.N_A_m3) + + sources = BuiltInPotentialSources(mode=SEMICONDUCTOR_WORK_FUNCTION, manual_V_bi=0.0, + left_material=material(layers[0]), + right_material=material(layers[-1])) + from solarlab.physics.contacts import semiconductor_work_function + W_left = semiconductor_work_function(material(layers[0])) + N_D, N_A = paint("N_D_m3"), paint("N_A_m3") + n_left, p_left = doping_equilibrium_densities(N_D[0], N_A[0], ni_sq[0]) + n_right, p_right = doping_equilibrium_densities(N_D[-1], N_A[-1], ni_sq[-1]) + device = ScaffoldDevice( + layers=layers, x=x, bands=bands, V_T=V_T, Nc=Nc, Nv=Nv, N_D=N_D, N_A=N_A, + ni_sq=ni_sq, generation=paint("generation_m3_s"), tau=paint("tau_s"), + D_n_face=legacy_face_diffusivity(paint("D_n_m2_s")), + D_p_face=legacy_face_diffusivity(paint("D_p_m2_s")), + poisson=poisson, widths=geometry.cell_measures_m.copy(), + V_bi_bc=sources.poisson_potential(), fermi_level_eV=-W_left, + n_eq=(n_left, n_right), p_eq=(p_left, p_right), + ) + velocities = velocities or {} + for carrier, side in (("n", "left"), ("p", "left"), ("n", "right"), ("p", "right")): + index = 0 if side == "left" else 1 + reservoir = (device.n_eq if carrier == "n" else device.p_eq)[index] + device.channels[carrier + "_" + side] = CarrierExchangeChannel( + carrier, side, velocities.get(carrier + "_" + side), reservoir) + return device + + +def equilibrium_densities(device: ScaffoldDevice, phi: np.ndarray) -> tuple[np.ndarray, np.ndarray]: + """Boltzmann densities of one common Fermi level from the physical band edges.""" + chi = device.bands.physical_electron_affinity_eV + gap = device.bands.physical_band_gap_eV + E_F = device.fermi_level_eV + n = device.Nc * np.exp((E_F + phi + chi) / device.V_T) + p = device.Nv * np.exp(-(E_F + phi + chi + gap) / device.V_T) + return n, p + + +def _charge(device: ScaffoldDevice, n: np.ndarray, p: np.ndarray) -> np.ndarray: + return Q * (p - n + device.N_D - device.N_A) + + +def solve_equilibrium(device: ScaffoldDevice, *, iterations: int = 200) -> np.ndarray: + """Poisson-Boltzmann equilibrium potential (dense damped Newton on phi).""" + x = device.x + phi = device.V_bi_bc * (x - x[0]) / (x[-1] - x[0]) + C = device.poisson.face_capacitance_F_m2 + widths = device.poisson.interior_widths_m + for _ in range(iterations): + n, p = equilibrium_densities(device, phi) + residual = device.poisson.residual(phi, _charge(device, n, p), 0.0, device.V_bi_bc) + jacobian = device.poisson.jacobian().toarray() + drho = -Q * (n + p) / device.V_T + jacobian[np.arange(1, device.size - 1), np.arange(1, device.size - 1)] += widths * drho[1:-1] + step = np.linalg.solve(jacobian, -residual) + largest = np.max(np.abs(step)) + phi = phi + step * min(1.0, 0.1 / largest) if largest > 0 else phi + if largest < 1e-14: + return phi + raise AssertionError("scaffold Poisson-Boltzmann did not converge; C=%r" % (C[:1],)) + + +@dataclass +class DcState: + phi: np.ndarray + log_n: np.ndarray + log_p: np.ndarray + + @property + def n(self) -> np.ndarray: + return np.exp(self.log_n) + + @property + def p(self) -> np.ndarray: + return np.exp(self.log_p) + + def vector(self) -> np.ndarray: + return np.concatenate((self.phi, self.log_n, self.log_p)) + + @classmethod + def from_vector(cls, values: np.ndarray, size: int) -> DcState: + return cls(values[:size].copy(), values[size:2 * size].copy(), values[2 * size:].copy()) + + +def equilibrium_state(device: ScaffoldDevice) -> DcState: + phi = solve_equilibrium(device) + n, p = equilibrium_densities(device, phi) + return DcState(phi, np.log(n), np.log(p)) + + +def _srh(device: ScaffoldDevice, n: np.ndarray, p: np.ndarray): + ni = np.sqrt(device.ni_sq) + denominator = device.tau * (n + ni) + device.tau * (p + ni) + excess = n * p - device.ni_sq + rate = excess / denominator + d_n = (p * denominator - excess * device.tau) / denominator**2 + d_p = (n * denominator - excess * device.tau) / denominator**2 + return rate, d_n, d_p + + +def _layout(size: int) -> Layout: + supports = (Support("cells", "cell", (size,)), Support("faces", "face", (size - 1,))) + equations = ( + EquationSpec("electron", "electron", "cells", (size,), FLUX_UNIT), + EquationSpec("hole", "hole", "cells", (size,), FLUX_UNIT), + ) + return Layout(supports, (), equations) + + +def residual_and_jacobian(device: ScaffoldDevice, state: DcState, *, V_app: float, + generation_scale: float): + """Scaled-free DC residual ``[Poisson, electron, hole]`` and its Jacobian.""" + size = device.size + n, p = state.n, state.p + fluxes = carrier_particle_fluxes(device.x, state.phi, n, p, device.D_n_face, + device.D_p_face, device.V_T, device.bands) + G = generation_scale * device.generation + R, dR_dn, dR_dp = _srh(device, n, p) + geometry = build_geometry(INTEGER_ENDPOINT_V1, device.x) + contract = geometry.to_contract_geometry() + layout = _layout(size) + rows = {} + for carrier, flux in (("electron", fluxes.electron), ("hole", fluxes.hole)): + sink = TermSink(layout, carrier, contract) + sink.add(FaceFlux(carrier + ".sg", "faces", flux.flux, FLUX_UNIT)) + sink.add(CellSource(carrier + ".net_generation", "cells", G - R, SOURCE_UNIT)) + rows[carrier] = np.array(sink.value(), copy=True) + + residual = np.zeros(3 * size) + jacobian = np.zeros((3 * size, 3 * size)) + phi_cols = np.arange(size) + n_cols = size + np.arange(size) + p_cols = 2 * size + np.arange(size) + + # Poisson rows. + rho = _charge(device, n, p) + phi_right = device.V_bi_bc - (-1.0 if device.V_bi_bc < 0.0 else 1.0) * V_app + residual[:size] = device.poisson.residual(state.phi, rho, 0.0, phi_right) + jacobian[:size, :size] = device.poisson.jacobian().toarray() + interior = np.arange(1, size - 1) + widths = device.poisson.interior_widths_m + jacobian[interior, n_cols[interior]] = -Q * widths * n[1:-1] + jacobian[interior, p_cols[interior]] = Q * widths * p[1:-1] + + faces = np.arange(size - 1) + for offset, carrier, flux, density, columns, d_rate, other_columns, d_rate_other in ( + (size, "electron", fluxes.electron, n, n_cols, dR_dn, p_cols, dR_dp), + (2 * size, "hole", fluxes.hole, p, p_cols, dR_dp, n_cols, dR_dn), + ): + block = rows[carrier] + rows_index = offset + np.arange(size) + # Face flux removes from the left cell and adds to the right cell. + for sign, cell in ((-1.0, faces), (1.0, faces + 1)): + np.add.at(jacobian, (rows_index[cell], columns[faces]), + sign * flux.left_density_derivative * density[:-1]) + np.add.at(jacobian, (rows_index[cell], columns[faces + 1]), + sign * flux.right_density_derivative * density[1:]) + np.add.at(jacobian, (rows_index[cell], phi_cols[faces]), + sign * flux.left_potential_derivative) + np.add.at(jacobian, (rows_index[cell], phi_cols[faces + 1]), + sign * flux.right_potential_derivative) + jacobian[rows_index, columns] -= device.widths * d_rate * density + jacobian[rows_index, other_columns] -= device.widths * d_rate_other * ( + p if carrier == "electron" else n) + for side, node in (("left", 0), ("right", size - 1)): + channel = device.channels[("n" if carrier == "electron" else "p") + "_" + side] + if channel.kind == "fixed_reservoir": + jacobian[rows_index[node], :] = 0.0 + jacobian[rows_index[node], columns[node]] = 1.0 + block[node] = np.log(density[node]) - np.log(channel.reservoir_density_m3) + else: + exchange = boundary_particle_flux(channel, density[node]) + # Inflow through the contact face: +F at the left, -F at the right. + inflow_sign = 1.0 if side == "left" else -1.0 + block[node] += inflow_sign * exchange.flux + jacobian[rows_index[node], columns[node]] += ( + inflow_sign * exchange.density_derivative * density[node]) + residual[offset:offset + size] = block + return residual, jacobian + + +def solve_dc(device: ScaffoldDevice, state: DcState, *, V_app: float = 0.0, + generation_scale: float = 1.0, iterations: int = 80) -> tuple[DcState, int]: + """Damped Newton on ``(phi, ln n, ln p)``; returns the state and iteration count.""" + vector = state.vector() + size = device.size + for iteration in range(1, iterations + 1): + residual, jacobian = residual_and_jacobian( + device, DcState.from_vector(vector, size), V_app=V_app, + generation_scale=generation_scale) + scale = 1.0 / np.max(np.abs(jacobian), axis=1) + step = np.linalg.solve(jacobian * scale[:, None], -residual * scale) + largest_phi = np.max(np.abs(step[:size])) + largest_log = np.max(np.abs(step[size:])) + damping = min(1.0, 0.2 / max(largest_phi, 1e-300), 2.0 / max(largest_log, 1e-300)) + vector = vector + damping * step + if damping == 1.0 and largest_phi < 1e-13 and largest_log < 1e-11: + return DcState.from_vector(vector, size), iteration + raise AssertionError("scaffold DC Newton did not converge") + + +def illuminated_state(device: ScaffoldDevice, *, V_app: float = 0.0) -> DcState: + """Continuation in the generation scale from the dark equilibrium.""" + state = equilibrium_state(device) + for scale in (1e-8, 1e-6, 1e-4, 1e-2, 1.0): + state, _ = solve_dc(device, state, V_app=V_app, generation_scale=scale) + return state + + +def terminal_current_density(device: ScaffoldDevice, state: DcState) -> np.ndarray: + """Total carrier current ``J_n + J_p`` [A/m^2] on every face, along +x.""" + fluxes = carrier_particle_fluxes(device.x, state.phi, state.n, state.p, device.D_n_face, + device.D_p_face, device.V_T, device.bands) + return fluxes.electron_current() + fluxes.hole_current() + + +def contact_currents(device: ScaffoldDevice, state: DcState) -> tuple[float, float]: + """Current through the left and right contact faces (Robin/blocking channels).""" + totals = [] + for side, node in (("left", 0), ("right", device.size - 1)): + total = 0.0 + for carrier, density, charge in (("n", state.n, -Q), ("p", state.p, Q)): + channel = device.channels[carrier + "_" + side] + if channel.kind == "fixed_reservoir": + return (float("nan"), float("nan")) + total += charge * boundary_particle_flux(channel, density[node]).flux + totals.append(total) + return totals[0], totals[1] diff --git a/tests/unit/physics/transport/test_dc_acceptance.py b/tests/unit/physics/transport/test_dc_acceptance.py new file mode 100644 index 00000000..c555a3aa --- /dev/null +++ b/tests/unit/physics/transport/test_dc_acceptance.py @@ -0,0 +1,237 @@ +"""V1 P04-03 acceptance on a test-local DC scaffold (P04-A, DC only). + +* same-temperature thermal equilibrium has zero net flux (exactly with the + QFL step, within an a-priori rounding bound from densities, and the M-class + two-term currents within theirs); +* a DOS-ratio change leaves a spurious ``kT ln(N ratio)`` quasi-Fermi step only + when the DOS terms are left out of the transport potentials; +* illumination at zero bias gives a nonzero, conserved short-circuit current + bounded by the generation, and the dark equilibrium carries none; +* the contact channels reach their limits in the assembled device: fixed + reservoirs pin the boundary, Robin approaches them as ``1/S``, a blocked + channel exchanges exactly nothing and blocking only the minority carrier + cannot lose current (the FD non-degenerate limit and the Schottky/metal + reservoirs are M-class tests elsewhere). + +The Newton in ``p0403_dc_scaffold`` is test scaffolding, not the P04-04 solver. +""" + +from __future__ import annotations + +import math + +import numpy as np +import pytest + +import p0403_dc_scaffold as scaffold +from solarlab.physics.contacts import ContactEndpoint, assess_contact_thermodynamics +from solarlab.physics.transport import legacy_carrier_face_currents +from solarlab.physics.transport.electrochemical_flux import ( + carrier_particle_fluxes, electrochemical_step_from_densities, +) + +EPS = float(np.finfo(float).eps) +Q = scaffold.Q + + +@pytest.fixture(scope="module") +def device(): + return scaffold.build_device() + + +@pytest.fixture(scope="module") +def equilibrium(device): + return scaffold.equilibrium_state(device) + + +@pytest.fixture(scope="module") +def illuminated(device): + return scaffold.illuminated_state(device) + + +def one_sided_scale(flux, density): + """``k (B(D) c_L + B(-D) c_R)`` per face, from the flux derivatives.""" + return (np.abs(flux.left_density_derivative) * density[:-1] + + np.abs(flux.right_density_derivative) * density[1:]) + + +def drive_rounding_bound(device, state, flux, density): + """A-priori absolute rounding of the electrochemical step on each face. + + The equilibrium densities are ``N exp((E_F + phi + chi [+ Eg])/V_T)``, so ``ln c`` + carries ``eps`` times those reduced energies; the transport step adds the + same for ``(phi + chi_t [+ Eg_t])/V_T``. + """ + energies = (abs(device.fermi_level_eV) + np.abs(state.phi) + + np.abs(device.bands.physical_electron_affinity_eV) + + np.abs(device.bands.physical_band_gap_eV) + + np.abs(device.bands.transport_band_gap_eV)) / device.V_T + per_node = energies + np.abs(np.log(density)) + return 16.0 * EPS * (1.0 + per_node[:-1] + per_node[1:] + np.abs(flux.energy_step)) + + +def test_thermal_equilibrium_has_zero_net_flux(device, equilibrium): + n, p, phi = equilibrium.n, equilibrium.p, equilibrium.phi + # The equilibrium reservoirs and the semiconductor contact potential agree. + assert n[0] == pytest.approx(device.n_eq[0], rel=1e-13) + assert p[-1] == pytest.approx(device.p_eq[1], rel=1e-13) + fluxes = carrier_particle_fluxes(device.x, phi, n, p, device.D_n_face, device.D_p_face, + device.V_T, device.bands) + faces = device.size - 1 + # 1. A common Fermi level is an exactly zero electrochemical step: zero flux. + exact = carrier_particle_fluxes(device.x, phi, n, p, device.D_n_face, device.D_p_face, + device.V_T, device.bands, + electron_electrochemical_step=np.zeros(faces), + hole_electrochemical_step=np.zeros(faces)) + assert np.all(exact.electron.flux == 0.0) and np.all(exact.hole.flux == 0.0) + # 2. From the rounded densities: |F| <= |m| k B c_upwind, with |m| bounded a priori. + for flux, density in ((fluxes.electron, n), (fluxes.hole, p)): + scale = one_sided_scale(flux, density) + assert np.all(np.abs(flux.flux) <= drive_rounding_bound(device, equilibrium, flux, + density) * scale) + assert np.max(np.abs(flux.flux) / scale) < 1e-12 + # 3. The M-class two-term currents within the same bound (two terms, one more ulp each). + J_n, J_p = legacy_carrier_face_currents(device.x, phi, n, p, device.D_n_face, + device.D_p_face, device.V_T, device.bands) + for current, flux, density in ((J_n, fluxes.electron, n), (J_p, fluxes.hole, p)): + scale = Q * one_sided_scale(flux, density) + bound = (drive_rounding_bound(device, equilibrium, flux, density) + 4.0 * EPS) * scale + assert np.all(np.abs(current) <= bound) + # 4. The dark DC residual vanishes and the contacts certify (5 meV gate). + residual, _ = scaffold.residual_and_jacobian(device, equilibrium, V_app=0.0, + generation_scale=0.0) + assessment = assess_contact_thermodynamics( + built_in_potential_mode="semiconductor_work_function", + left=ContactEndpoint(n[0], p[0], device.Nc[0], device.Nv[0], + device.bands.physical_electron_affinity_eV[0], + device.bands.physical_band_gap_eV[0]), + right=ContactEndpoint(n[-1], p[-1], device.Nc[-1], device.Nv[-1], + device.bands.physical_electron_affinity_eV[-1], + device.bands.physical_band_gap_eV[-1]), + V_bi_bc=device.V_bi_bc, thermal_voltage_V=device.V_T, has_band_reference=True, + semiconductor_potential_V=device.V_bi_bc) + assert assessment.certified and assessment.fermi_level_span_eV < 1e-12 + current_scale = np.max(Q * one_sided_scale(fluxes.electron, n) + + Q * one_sided_scale(fluxes.hole, p)) + assert np.max(np.abs(scaffold.terminal_current_density(device, equilibrium))) < ( + 1e-12 * current_scale) + assert np.max(np.abs(residual[device.size:])) < 1e-12 * current_scale / Q + + +@pytest.mark.parametrize("ratio", [1.0, 3.0, 10.0, 100.0]) +def test_dos_ratio_fold_removes_the_spurious_quasi_fermi_step(ratio): + layers = list(scaffold.PIN_LAYERS) + absorber = layers[1] + layers[0] = scaffold.ScaffoldLayer(**{**layers[0].__dict__, + "Nc_m3": absorber.Nc_m3 * ratio, + "Nv_m3": absorber.Nv_m3 * ratio ** 0.5}) + folded = scaffold.build_device(layers, fold_dos=True) + unfolded = scaffold.build_device(layers, fold_dos=False) + state = scaffold.equilibrium_state(folded) + n, p, phi = state.n, state.p, state.phi + shared = int(np.argmin(np.abs(folded.x - layers[0].thickness_m))) + hetero = shared - 1 # face (shared-1, shared): HTL node -> absorber-owned node + for device, folded_view in ((folded, True), (unfolded, False)): + fluxes = carrier_particle_fluxes(device.x, phi, n, p, device.D_n_face, + device.D_p_face, device.V_T, device.bands) + m_n = electrochemical_step_from_densities(n[:-1], n[1:], fluxes.electron.energy_step) + m_p = electrochemical_step_from_densities(p[:-1], p[1:], fluxes.hole.energy_step) + bound_n = drive_rounding_bound(device, state, fluxes.electron, n) + bound_p = drive_rounding_bound(device, state, fluxes.hole, p) + if folded_view: + assert np.all(np.abs(m_n) <= bound_n) and np.all(np.abs(m_p) <= bound_p) + continue + # Bare band edges: a spurious step m = ln(N_R/N_L) on every DOS-contrast face, + # i.e. a quasi-Fermi step V_T ln(ratio), and a flux down that step. + np.testing.assert_allclose(m_n, np.log(device.Nc[1:] / device.Nc[:-1]), rtol=0, + atol=float(np.max(bound_n))) + np.testing.assert_allclose(m_p, np.log(device.Nv[1:] / device.Nv[:-1]), rtol=0, + atol=float(np.max(bound_p))) + assert m_n[hetero] == pytest.approx(-math.log(ratio), abs=1e-11) + assert m_p[hetero] == pytest.approx(-0.5 * math.log(ratio), abs=1e-11) + if ratio != 1.0: + scale = one_sided_scale(fluxes.electron, n)[hetero] + assert fluxes.electron.flux[hetero] > 1e6 * bound_n[hetero] * scale + # The physical edges carry a flat electron QFL in both views (band diagrams). + E_C, _ = folded.bands.physical_band_edges(phi) + E_Fn = E_C + folded.V_T * np.log(n / folded.Nc) + assert np.ptp(E_Fn) < 1e-12 + + +def test_illuminated_zero_bias_gives_a_nonzero_short_circuit_current(device, equilibrium, + illuminated): + J = scaffold.terminal_current_density(device, illuminated) + limit = device.generation_limit_A_m2 + # p contact on the left: electrons leave right, holes left -> J < 0 along +x. + assert np.all(J < 0.0) + J_sc = float(np.median(J)) + assert 0.5 * limit < -J_sc <= limit * (1.0 + 1e-12) + # DC conservation: the total current is the same on every face. + fluxes = carrier_particle_fluxes(device.x, illuminated.phi, illuminated.n, illuminated.p, + device.D_n_face, device.D_p_face, device.V_T, device.bands) + scale = Q * np.max(np.abs(fluxes.electron.left_density_derivative) * illuminated.n[:-1] + + np.abs(fluxes.hole.left_density_derivative) * illuminated.p[:-1]) + assert np.ptp(J) <= 1e-12 * scale + # The M-class currents agree on the converged state through the channel signs. + J_n, J_p = legacy_carrier_face_currents(device.x, illuminated.phi, illuminated.n, + illuminated.p, device.D_n_face, device.D_p_face, + device.V_T, device.bands) + assert np.max(np.abs((J_n + J_p) - J)) <= 1e-12 * scale + # Dark at the same bias: no current beyond rounding of the same scale. + dark, iterations = scaffold.solve_dc(device, equilibrium, generation_scale=0.0) + assert iterations <= 3 + assert np.max(np.abs(scaffold.terminal_current_density(device, dark))) <= 1e-12 * scale + assert np.max(np.abs(scaffold.terminal_current_density(device, dark))) < 1e-6 * abs(J_sc) + + +def solve_with(velocities): + device = scaffold.build_device(velocities=velocities) + state = scaffold.illuminated_state(device) + return device, state, float(np.median(scaffold.terminal_current_density(device, state))) + + +def current_scale(device, state): + """``q k (B c_L + B c_R)`` summed over both carriers: the rounding scale of J.""" + fluxes = carrier_particle_fluxes(device.x, state.phi, state.n, state.p, device.D_n_face, + device.D_p_face, device.V_T, device.bands) + return float(np.max(Q * one_sided_scale(fluxes.electron, state.n) + + Q * one_sided_scale(fluxes.hole, state.p))) + + +def test_contact_channel_limits_in_the_assembled_dc_device(illuminated, device): + J_fixed = float(np.median(scaffold.terminal_current_density(device, illuminated))) + channels = ("n_left", "p_left", "n_right", "p_right") + # Robin -> fixed reservoir: every boundary density approaches its reservoir as 1/S + # (the contact face carries F = S (c - c_eq) at a fixed supply), and the current + # approaches the fixed-reservoir current. + excess = [] + for S in (1e3, 1e4, 1e5, 1e6): + robin_device, state, J = solve_with({key: S for key in channels}) + left, right = scaffold.contact_currents(robin_device, state) + tolerance = 1e-12 * current_scale(robin_device, state) + assert abs(left - J) <= tolerance and abs(right - J) <= tolerance + assert abs(J - J_fixed) <= 1e-9 * abs(J_fixed) + excess.append([abs(state.n[0] - robin_device.n_eq[0]), + abs(state.p[0] - robin_device.p_eq[0]), + abs(state.n[-1] - robin_device.n_eq[1]), + abs(state.p[-1] - robin_device.p_eq[1])]) + excess = np.asarray(excess) + np.testing.assert_allclose(excess[:-1] / excess[1:], 10.0, rtol=0.05) + # Fixed reservoirs pin the boundary densities exactly (Dirichlet constraint rows). + assert illuminated.n[0] == pytest.approx(device.n_eq[0], rel=4 * EPS) + assert illuminated.p[-1] == pytest.approx(device.p_eq[1], rel=4 * EPS) + # S = 0: the blocked carrier exchanges nothing through its face, exactly, while the + # other channels stay Robin. Blocking only the minority carrier at each contact + # (electrons at the hole contact, holes at the electron contact) removes the + # surface loss, so the collected current cannot drop. (Blocking all four channels + # leaves no reservoir to fix the DC carrier inventory: that system is singular.) + selective = {"n_left": 0.0, "p_left": 1e5, "n_right": 1e5, "p_right": 0.0} + selective_device, state, J_selective = solve_with(selective) + from solarlab.physics.contacts.boundary_flux import boundary_particle_flux + blocked_n = boundary_particle_flux(selective_device.channels["n_left"], state.n[0]) + blocked_p = boundary_particle_flux(selective_device.channels["p_right"], state.p[-1]) + assert blocked_n.flux == 0.0 and blocked_p.flux == 0.0 + left, right = scaffold.contact_currents(selective_device, state) + tolerance = 1e-12 * current_scale(selective_device, state) + assert abs(left - J_selective) <= tolerance and abs(right - J_selective) <= tolerance + assert abs(J_selective) >= abs(J_fixed) * (1.0 - 1e-12) diff --git a/tests/unit/physics/transport/test_electrochemical_flux.py b/tests/unit/physics/transport/test_electrochemical_flux.py new file mode 100644 index 00000000..c70258eb --- /dev/null +++ b/tests/unit/physics/transport/test_electrochemical_flux.py @@ -0,0 +1,283 @@ +"""Unified directed particle flux in stable electrochemical form (N class). + +Not bitwise with the historical two-term currents (new evaluation order), so +each property is checked against an independent 60-digit Decimal oracle with +an a-priori rounding bound, and against the M-class currents through the +explicit output-channel adapters ``J_n = -q F_n`` and ``J_p = +q F_p``. +""" + +from __future__ import annotations + +from decimal import Decimal, getcontext +import math + +import numpy as np +import pytest + +from solarlab.contracts import PARTICLE, VOLT, VOLUME, FloatArray, Layout, StateView, Support +from solarlab.contracts import VariableSpec +from solarlab.discretization import legacy_sg_current_n, legacy_sg_current_p +from solarlab.discretization.particle_flux import sg_particle_flux +from solarlab.physics.statistics import BandStructure +from solarlab.physics.transport import legacy_carrier_face_currents +from solarlab.physics.transport.electrochemical_flux import ( + carrier_particle_fluxes, electrochemical_step_from_densities, + electron_current_from_particle_flux, hole_current_from_particle_flux, + stable_sg_particle_flux, +) + +getcontext().prec = 60 +EPS = float(np.finfo(float).eps) +Q = 1.602176634e-19 + + +def dec(value): + return Decimal(float(value)) + + +def bernoulli_dec(x): + x = dec(x) + if x == 0: + return Decimal(1) + return x / (x.exp() - 1) + + +def bernoulli_derivative_dec(x): + x = dec(x) + if abs(x) < Decimal("1e-20"): + return Decimal(-1) / 2 + e = x.exp() + return (e - 1 - x * e) / (e - 1) ** 2 + + +def flux_dec(c_left, c_right, step, k): + return dec(k) * (bernoulli_dec(step) * dec(c_left) - bernoulli_dec(-step) * dec(c_right)) + + +def one_sided(c_left, c_right, step, k): + return float(dec(k) * (bernoulli_dec(step) * dec(c_left) + bernoulli_dec(-step) * dec(c_right))) + + +def random_faces(rng, count, step_scale=40.0): + c_left = 10.0 ** rng.uniform(-10.0, 27.0, size=count) + c_right = 10.0 ** rng.uniform(-10.0, 27.0, size=count) + step = rng.normal(scale=step_scale, size=count) + k = 10.0 ** rng.uniform(-3.0, 5.0, size=count) + return c_left, c_right, step, k + + +def test_stable_flux_matches_the_decimal_oracle_within_its_rounding_bound(): + rng = np.random.default_rng(31) + c_left, c_right, step, k = random_faces(rng, 600) + step[:20] = rng.uniform(-700.0, 700.0, size=20) + result = stable_sg_particle_flux(c_left, c_right, step, k) + for i in range(c_left.size): + reference = flux_dec(c_left[i], c_right[i], step[i], k[i]) + # The step rebuilt from binary64 densities carries an absolute rounding of + # at most ~eps (|ln c_L| + |ln c_R| + |D|); the rest is a few product roundings. + drive_error = abs(math.log(c_left[i])) + abs(math.log(c_right[i])) + abs(step[i]) + bound = 16.0 * EPS * (1.0 + drive_error) * one_sided( + c_left[i], c_right[i], step[i], k[i]) + assert abs(Decimal(float(result.flux[i])) - reference) <= Decimal(bound) + Decimal(1e-300) + + +def exact_step(c_left, c_right, step): + return float((dec(c_right) / dec(c_left)).ln() + dec(step)) + + +@pytest.mark.parametrize("reverse", [False, True]) +@pytest.mark.parametrize("coefficient", [1.0, 1e200]) +def test_extreme_barrier_retains_representable_flux_and_derivatives(reverse, coefficient): + # N03-F01: B(800) itself underflows, while B(800)*1e50 does not. + left, right, step = (1e-300, 1e50, -800.0) + if reverse: + left, right, step = right, left, -step + result = stable_sg_particle_flux(np.array([left]), np.array([right]), np.array([step]), + coefficient, electrochemical_step=np.array([exact_step(left, right, step)])) + reference = flux_dec(left, right, step, coefficient) + derivative = dec(coefficient) * (bernoulli_derivative_dec(step) * dec(left) + + bernoulli_derivative_dec(-step) * dec(right)) + assert result.flux[0] != 0.0 + assert result.flux[0] == pytest.approx(float(reference), rel=4e-13, abs=0.0) + assert result.energy_step_derivative[0] == pytest.approx(float(derivative), rel=4e-13, abs=0.0) + + +def test_extreme_scalar_flux_and_exact_equilibrium(): + m = exact_step(1e-300, 1e50, -800.0) + result = stable_sg_particle_flux(1e-300, 1e50, -800.0, 1.0, electrochemical_step=m) + assert result.flux == pytest.approx(float(flux_dec(1e-300, 1e50, -800.0, 1.0)), rel=4e-13, abs=0.0) + zero = stable_sg_particle_flux(1e300, 1e300, -800.0, 1e300, electrochemical_step=0.0) + assert zero.flux == 0.0 and zero.coefficient_derivative == 0.0 + + +def test_supplied_electrochemical_step_gives_relative_accuracy_even_for_weak_drives(): + rng = np.random.default_rng(37) + stable_errors, two_term_errors = [], [] + for drive in (1e-2, 1e-6, 1e-10, 1e-14): + for _ in range(10): + c_left = float(10.0 ** rng.uniform(10.0, 26.0)) + step = float(rng.normal(scale=10.0)) + c_right = float(dec(c_left) * (dec(drive) - dec(step)).exp()) + m = exact_step(c_left, c_right, step) + reference = flux_dec(c_left, c_right, step, 1.0) + stable = stable_sg_particle_flux(np.array([c_left]), np.array([c_right]), + np.array([step]), 1.0, + electrochemical_step=np.array([m])).flux[0] + two_term = sg_particle_flux(np.array([c_left]), np.array([c_right]), + np.array([step]), 1.0).flux[0] + stable_errors.append(abs(float((dec(stable) - reference) / reference))) + two_term_errors.append(abs(float((dec(two_term) - reference) / reference))) + # Rounding m to binary64 costs one relative ulp of m; the products a few more. + assert max(stable_errors) <= 8.0 * EPS + # The two-term difference cancels: its relative error grows like eps/|m|. + assert max(two_term_errors) > 1e-6 + + +def test_zero_electrochemical_step_is_exactly_zero_flux(): + rng = np.random.default_rng(41) + c_left, c_right, step, k = random_faces(rng, 200) + zero = stable_sg_particle_flux(c_left, c_right, step, k, + electrochemical_step=np.zeros_like(step)) + assert np.all(zero.flux == 0.0) and not np.any(np.signbit(zero.flux)) + assert np.all(stable_sg_particle_flux(c_left, c_left, np.zeros_like(step), k).flux == 0.0) + negative_zero = stable_sg_particle_flux(c_left, c_right, step, k, + electrochemical_step=np.full_like(step, -0.0)) + assert np.all(negative_zero.flux == 0.0) and not np.any(np.signbit(negative_zero.flux)) + + +def test_reversing_a_face_negates_the_flux_exactly(): + rng = np.random.default_rng(43) + c_left, c_right, step, k = random_faces(rng, 300) + m = electrochemical_step_from_densities(c_left, c_right, step) + forward = stable_sg_particle_flux(c_left, c_right, step, k, electrochemical_step=m) + backward = stable_sg_particle_flux(c_right, c_left, -step, k, electrochemical_step=-m) + assert np.array_equal(forward.flux, -backward.flux) + + +def test_analytic_derivatives_match_the_decimal_oracle(): + rng = np.random.default_rng(47) + c_left, c_right, step, k = random_faces(rng, 300, step_scale=8.0) + result = stable_sg_particle_flux(c_left, c_right, step, k) + for i in range(c_left.size): + d_left = dec(k[i]) * bernoulli_dec(step[i]) + d_right = -dec(k[i]) * bernoulli_dec(-step[i]) + d_step = dec(k[i]) * (bernoulli_derivative_dec(step[i]) * dec(c_left[i]) + + bernoulli_derivative_dec(-step[i]) * dec(c_right[i])) + for value, reference in ((result.left_density_derivative[i], d_left), + (result.right_density_derivative[i], d_right), + (result.energy_step_derivative[i], d_step)): + assert abs(dec(value) - reference) <= abs(reference) * Decimal(16.0 * EPS) + assert result.coefficient_derivative[i] * k[i] == pytest.approx(result.flux[i], + rel=4 * EPS, abs=0.0) + + +def grid_state(rng, size=24): + x = np.cumsum(np.concatenate(([0.0], rng.uniform(1e-9, 2e-8, size=size - 1)))) + phi = np.linspace(0.0, 1.1, size) + rng.normal(scale=0.03, size=size) + n = 10.0 ** rng.uniform(5.0, 25.0, size=size) + p = 10.0 ** rng.uniform(5.0, 25.0, size=size) + chi = np.where(np.arange(size) < size // 2, 3.9, 4.1) + gap = np.where(np.arange(size) < size // 2, 1.6, 2.0) + bands = BandStructure(chi, gap, chi + 0.02, gap - 0.05, dos_folded=True, reference_layer=0) + D_n = rng.uniform(1e-6, 1e-4, size=size - 1) + D_p = rng.uniform(1e-6, 1e-4, size=size - 1) + return x, phi, n, p, bands, D_n, D_p + + +def test_potential_derivatives_follow_each_carriers_energy_sign(): + rng = np.random.default_rng(53) + x, phi, n, p, bands, D_n, D_p = grid_state(rng) + V_T = 0.025852 + fluxes = carrier_particle_fluxes(x, phi, n, p, D_n, D_p, V_T, bands) + for carrier, flux in (("electron", fluxes.electron), ("hole", fluxes.hole)): + sign = -1.0 if carrier == "electron" else 1.0 + np.testing.assert_array_equal(flux.right_potential_derivative, + sign / V_T * stable_sg_particle_flux( + (n if carrier == "electron" else p)[:-1], + (n if carrier == "electron" else p)[1:], + flux.energy_step, flux.coefficient, + ).energy_step_derivative) + np.testing.assert_array_equal(flux.left_potential_derivative, + -flux.right_potential_derivative) + # Central differences in phi at one node confirm the assembled sign. + node, h = 7, 1e-7 + for carrier in ("electron", "hole"): + bumped = [] + for delta in (h, -h): + shifted = phi.copy() + shifted[node] += delta + result = carrier_particle_fluxes(x, shifted, n, p, D_n, D_p, V_T, bands) + bumped.append(getattr(result, carrier).flux) + numeric = (bumped[0] - bumped[1]) / (2 * h) + flux = getattr(fluxes, carrier) + assert numeric[node] == pytest.approx(flux.left_potential_derivative[node], rel=1e-6) + assert numeric[node - 1] == pytest.approx(flux.right_potential_derivative[node - 1], + rel=1e-6) + + +def test_default_step_equals_the_state_view_electrochemical_difference(): + rng = np.random.default_rng(59) + x, phi, n, p, bands, D_n, D_p = grid_state(rng) + V_T = 0.025852 + psi_n, psi_p = bands.transport_potentials(phi) + size = x.size + layout = Layout((Support("nodes", "cell", (size,)),), ( + VariableSpec("n", "carrier", "nodes", (size,), PARTICLE / VOLUME, lower=0), + VariableSpec("p", "carrier", "nodes", (size,), PARTICLE / VOLUME, lower=0), + VariableSpec("psi_n", "transport", "nodes", (size,), VOLT), + VariableSpec("psi_p", "transport", "nodes", (size,), VOLT)), ()) + state = StateView(layout, [("n", FloatArray(n)), ("p", FloatArray(p)), + ("psi_n", FloatArray(psi_n)), ("psi_p", FloatArray(psi_p))]) + pairs = np.column_stack((np.arange(size - 1), np.arange(1, size))) + fluxes = carrier_particle_fluxes(x, phi, n, p, D_n, D_p, V_T, bands) + m_n = state.electrochemical_difference("n", "psi_n", pairs, V_T, potential_sign=-1) + m_p = state.electrochemical_difference("p", "psi_p", pairs, V_T, potential_sign=1) + assert m_n.tobytes() == electrochemical_step_from_densities( + n[:-1], n[1:], fluxes.electron.energy_step).tobytes() + assert m_p.tobytes() == electrochemical_step_from_densities( + p[:-1], p[1:], fluxes.hole.energy_step).tobytes() + supplied = carrier_particle_fluxes(x, phi, n, p, D_n, D_p, V_T, bands, + electron_electrochemical_step=m_n, + hole_electrochemical_step=m_p) + assert supplied.electron.flux.tobytes() == fluxes.electron.flux.tobytes() + assert supplied.hole.flux.tobytes() == fluxes.hole.flux.tobytes() + + +def test_output_channels_keep_their_own_signs_against_the_historical_currents(): + rng = np.random.default_rng(61) + V_T = 0.025852 + for _ in range(30): + x, phi, n, p, bands, D_n, D_p = grid_state(rng) + fluxes = carrier_particle_fluxes(x, phi, n, p, D_n, D_p, V_T, bands) + J_n, J_p = legacy_carrier_face_currents(x, phi, n, p, D_n, D_p, V_T, bands) + dx = np.diff(x) + psi_n, psi_p = bands.transport_potentials(phi) + for current, legacy, step, density, k in ( + (fluxes.electron_current(), J_n, fluxes.electron.energy_step, n, D_n / dx), + (fluxes.hole_current(), J_p, fluxes.hole.energy_step, p, D_p / dx), + ): + scale = np.array([Q * one_sided(density[i], density[i + 1], step[i], k[i]) + for i in range(step.size)]) + log_ratio = np.abs(np.log(density[1:]) - np.log(density[:-1])) + bound = 64.0 * EPS * (1.0 + log_ratio + np.abs(step)) * scale + assert np.all(np.abs(current - legacy) <= bound) + assert np.array_equal(electron_current_from_particle_flux(fluxes.electron.flux), + -Q * fluxes.electron.flux) + assert np.array_equal(hole_current_from_particle_flux(fluxes.hole.flux), + Q * fluxes.hole.flux) + assert np.array_equal(legacy_sg_current_n(psi_n, n, dx, D_n, V_T), J_n) + assert np.array_equal(legacy_sg_current_p(psi_p, p, dx, D_p, V_T), J_p) + + +@pytest.mark.parametrize("bad", [ + dict(c_left=[0.0]), dict(c_right=[-1.0]), dict(step=[math.nan]), dict(k=[-1.0]), + dict(k=[math.nan]), dict(m=[math.inf]), +]) +def test_invalid_inputs_fail_closed(bad): + args = dict(c_left=[1e20], c_right=[1e21], step=[0.5], k=[10.0], m=None) + args.update(bad) + with pytest.raises(ValueError): + stable_sg_particle_flux(np.array(args["c_left"]), np.array(args["c_right"]), + np.array(args["step"]), np.array(args["k"]), + electrochemical_step=None if args["m"] is None + else np.array(args["m"])) diff --git a/tests/unit/physics/transport/test_transport_legacy_parity.py b/tests/unit/physics/transport/test_transport_legacy_parity.py new file mode 100644 index 00000000..7e6f41b3 --- /dev/null +++ b/tests/unit/physics/transport/test_transport_legacy_parity.py @@ -0,0 +1,297 @@ +"""Historical MB/FD drift-diffusion face quantities and the FD gate (M class). + +Bitwise against the legacy engine (read-only import): the carrier face +diffusivity (LD-03 NaN kept), the MB face currents on DOS-folded transport +potentials (before the thermionic cap, which belongs to P04-09), the +generalized FD currents and their face statistics, and the FD branch of +``carrier_face_currents`` on the qualified research preset. The capability +gate reproduces the legacy accept/reject decision on that preset and its +disqualified variants. Acceptance: the restricted FD SG reduces to the MB SG +in the non-degenerate limit. +""" + +from __future__ import annotations + +import dataclasses +from pathlib import Path +import warnings + +import numpy as np +import pytest + +from perovskite_sim.discretization.fe_operators import sg_fluxes_n, sg_fluxes_p +from perovskite_sim.experiments.jv_sweep import build_electrical_grid +from perovskite_sim.models.config_loader import load_device_from_yaml +from perovskite_sim.models.device import electrical_layers +from perovskite_sim.physics import continuity as legacy_continuity +from perovskite_sim.physics import degenerate_transport as legacy_degenerate +from perovskite_sim.scaps_compat import load_scaps_yaml +from perovskite_sim.solver import mol as legacy_mol + +from solarlab.discretization import legacy_sg_current_n, legacy_sg_current_p +from solarlab.mesh import RIGHT_LAYER_WINS +from solarlab.mesh.grid import layer_node_masks +from solarlab.physics.statistics import BandStructure, dos_fold_reference_layer, fold_dos_into_transport_bands +from solarlab.physics.transport import ( + TransportCapabilityError, TransportCapabilityRequest, generalized_carrier_face_statistics, + legacy_carrier_face_currents, legacy_face_diffusivity, legacy_fermi_dirac_face_currents, + legacy_generalized_sg_current_n, legacy_generalized_sg_current_p, require_carrier_transport, +) + +ROOT = Path(__file__).resolve().parents[4] / "perovskite-sim" +FD_PRESET = ROOT / "tests/fixtures/configs/csi_degenerate_pn_research.yaml" +EPS = float(np.finfo(float).eps) +Q = 1.602176634e-19 + + +def same(a, b): + a, b = np.asarray(a, dtype=float), np.asarray(b, dtype=float) + return a.shape == b.shape and a.tobytes() == b.tobytes() + + +def material(path, loader, N, **kwargs): + stack = loader(str(path)) + x = build_electrical_grid(stack, N) + with warnings.catch_warnings(): + warnings.simplefilter("ignore") + return stack, x, legacy_mol.build_material_arrays(x, stack, **kwargs) + + +def bands_of(stack, x, mat): + layers = electrical_layers(stack) + masks = layer_node_masks(x, [layer.thickness for layer in layers], RIGHT_LAYER_WINS) + return fold_dos_into_transport_bands( + mat.chi_phys, mat.Eg_phys, masks, + [(layer.params.Nc300, layer.params.Nv300) for layer in layers], + reference_layer=dos_fold_reference_layer([layer.role for layer in layers]), + thermal_voltage_V=mat.V_T_device) + + +def random_state(x, rng, V): + phi = V * (x - x[0]) / (x[-1] - x[0]) + rng.normal(scale=0.05, size=x.size) + n = 10.0 ** rng.uniform(-5.0, 25.0, size=x.size) + p = 10.0 ** rng.uniform(-5.0, 25.0, size=x.size) + return phi, n, p + + +@pytest.mark.parametrize("path", ["configs/scaps_mirror_v2.yaml", + "tests/fixtures/configs/scaps_mirror.yaml"]) +def test_face_diffusivity_and_mb_face_currents_match_the_legacy_engine_bitwise(path): + stack, x, mat = material(ROOT / path, load_scaps_yaml, 60) + layers = electrical_layers(stack) + masks = layer_node_masks(x, [layer.thickness for layer in layers], RIGHT_LAYER_WINS) + D_n, D_p = np.zeros(x.size), np.zeros(x.size) + for layer, mask in zip(layers, masks): + D_n[mask] = layer.params.mu_n * mat.V_T_device + D_p[mask] = layer.params.mu_p * mat.V_T_device + assert same(legacy_face_diffusivity(D_n), mat.D_n_face) + assert same(legacy_face_diffusivity(D_p), mat.D_p_face) + bands = bands_of(stack, x, mat) + params = dict(mat.carrier_params) + params.pop("interface_faces", None) # no thermionic cap: P04-09 + rng = np.random.default_rng(7) + dx = np.diff(x) + for _ in range(40): + phi, n, p = random_state(x, rng, mat.V_bi_bc) + J_n, J_p = legacy_carrier_face_currents(x, phi, n, p, mat.D_n_face, mat.D_p_face, + mat.V_T_device, bands) + assert same(J_n, sg_fluxes_n(phi + mat.chi, n, dx, mat.D_n_face, mat.V_T_device)) + assert same(J_p, sg_fluxes_p(phi + mat.chi + mat.Eg, p, dx, mat.D_p_face, + mat.V_T_device)) + old_n, old_p = legacy_continuity.carrier_face_currents(x, phi, n, p, params) + assert same(J_n, old_n) and same(J_p, old_p) + + +def test_carrier_face_diffusivity_keeps_the_zero_zero_nan_ld03(): + with np.errstate(invalid="ignore"): + new = legacy_face_diffusivity(np.array([0.0, 0.0, 2.0e-4, 2.0e-4, 0.0])) + old_node = np.array([0.0, 0.0, 2.0e-4, 2.0e-4, 0.0]) + old = 2.0 * old_node[:-1] * old_node[1:] / (old_node[:-1] + old_node[1:]) + assert np.isnan(new[0]) and same(new, old) + assert new[1] == 0.0 and new[3] == 0.0 + assert new[2] == pytest.approx(2.0e-4, rel=2e-16) # 2ab/(a+b) of equal values, rounded + + +def test_generalized_fd_currents_and_face_statistics_match_the_legacy_engine_bitwise(): + rng = np.random.default_rng(23) + for _ in range(60): + size = int(rng.integers(2, 30)) + x = np.cumsum(np.concatenate(([0.0], rng.uniform(1e-9, 2e-8, size=size - 1)))) + potential = rng.normal(scale=0.3, size=size) + dos = float(10.0 ** rng.uniform(24.0, 26.0)) + density = dos * 10.0 ** rng.uniform(-12.0, 2.5, size=size) + if rng.random() < 0.3: + density[1:] = density[0] # removable equal-state faces + mobility = float(10.0 ** rng.uniform(-5.0, -2.0)) + for model in ("maxwell_boltzmann", "fermi_dirac"): + new_face = generalized_carrier_face_statistics(density, dos, statistics=model) + old_face = legacy_degenerate.generalized_carrier_face_statistics( + density, dos, statistics=model) + for name in ("reduced_fermi_level", "log_occupation", "diffusion_enhancement"): + assert same(getattr(new_face, name), getattr(old_face, name)) + args = (potential, density, np.diff(x), mobility, 0.025852, dos) + assert same(legacy_generalized_sg_current_n(*args, statistics=model), + legacy_degenerate.generalized_sg_fluxes_n(*args, statistics=model)) + assert same(legacy_generalized_sg_current_p(*args, statistics=model), + legacy_degenerate.generalized_sg_fluxes_p(*args, statistics=model)) + with pytest.raises(ValueError, match="finite positive"): + generalized_carrier_face_statistics(np.array([1.0, 0.0]), 1e25, statistics="fermi_dirac") + + +def test_fd_face_currents_match_the_legacy_research_branch_bitwise(): + stack, x, mat = material(FD_PRESET, load_device_from_yaml, 40, + carrier_statistics_transport="research_recombination_off") + bands = bands_of(stack, x, mat) + params = mat.carrier_params + assert params["carrier_statistics"] == "fermi_dirac" + rng = np.random.default_rng(5) + for _ in range(20): + phi = rng.normal(scale=0.2, size=x.size) + n = float(mat.N_C_physical[0]) * 10.0 ** rng.uniform(-8.0, 1.5, size=x.size) + p = float(mat.N_V_physical[0]) * 10.0 ** rng.uniform(-8.0, 1.5, size=x.size) + new = legacy_fermi_dirac_face_currents( + x, phi, n, p, mat.D_n_face, mat.D_p_face, mat.V_T_device, bands, + conduction_dos_m3=params["N_C"], valence_dos_m3=params["N_V"], + recombination_closure=params["degenerate_recombination_model"]) + old = legacy_continuity.carrier_face_currents(x, phi, n, p, params) + assert same(new[0], old[0]) and same(new[1], old[1]) + # FD is never auto-paired with the MB recombination law. + with pytest.raises(TransportCapabilityError, match="explicit compatible recombination"): + legacy_fermi_dirac_face_currents( + x, phi, n, p, mat.D_n_face, mat.D_p_face, mat.V_T_device, bands, + conduction_dos_m3=params["N_C"], valence_dos_m3=params["N_V"], + recombination_closure="maxwell_boltzmann") + old_params = dict(params, degenerate_recombination_model="maxwell_boltzmann") + with pytest.raises(ValueError, match="explicit compatible recombination"): + legacy_continuity.carrier_face_currents(x, phi, n, p, old_params) + + +def request_for(stack, *, recombination_closure, illuminated=None): + layers = electrical_layers(stack) + homogeneous = ("eps_r", "chi", "Eg", "Nc300", "Nv300", "bgn_reference_energy_eV", + "bgn_reference_density_m3", "bgn_log_shape", "bgn_conduction_band_fraction") + reference = layers[0].params + return TransportCapabilityRequest( + carrier_statistics=tuple(layer.params.carrier_statistics for layer in layers), + dopant_ionization=tuple(layer.params.dopant_ionization_model for layer in layers), + band_gap_narrowing=tuple(layer.params.band_gap_narrowing_model for layer in layers), + recombination_closure=recombination_closure, + built_in_potential_mode=stack.built_in_potential_mode, + inhomogeneous_fields=tuple(name for name in homogeneous if any( + getattr(layer.params, name) != getattr(reference, name) for layer in layers[1:])), + optical_generation=float(stack.Phi) != 0.0 if illuminated is None else illuminated, + band_grading=bool(stack.band_grading), + contact_floors=bool(stack.flat_band_contacts or stack.flat_band_metal_contacts), + selective_contacts=any(value is not None for value in ( + stack.S_n_left, stack.S_p_left, stack.S_n_right, stack.S_p_right)), + ) + + +@pytest.mark.parametrize("change, reason", [ + ({}, None), + ({"Phi": 1.0e21}, "optical generation"), + ({"flat_band_metal_contacts": True}, "calibrated contact floors"), + ({"S_n_left": 1.0e3}, "selective contacts"), +]) +def test_capability_gate_reproduces_the_legacy_research_decision(change, reason): + stack = dataclasses.replace(load_device_from_yaml(str(FD_PRESET)), **change) + x = build_electrical_grid(stack, 30) + request = request_for(stack, recombination_closure="off") + if reason is None: + legacy_mol.build_material_arrays( + x, stack, carrier_statistics_transport="research_recombination_off") + assert require_carrier_transport(request) == "fermi_dirac" + return + with pytest.raises(legacy_mol.BulkCarrierStatisticsCapabilityError) as legacy_error: + legacy_mol.build_material_arrays( + x, stack, carrier_statistics_transport="research_recombination_off") + with pytest.raises(TransportCapabilityError) as new_error: + require_carrier_transport(request) + assert reason in str(legacy_error.value) and reason in str(new_error.value) + assert str(new_error.value).startswith("research degenerate transport topology rejected") + + +def test_fd_requires_the_semiconductor_work_function_contact_potential(): + stack = load_device_from_yaml(str(FD_PRESET)) + # The legacy stack already refuses FD with any other contact-potential source. + with pytest.raises(ValueError, match="semiconductor_work_function"): + dataclasses.replace(stack, built_in_potential_mode="legacy_manual", V_bi=0.9) + request = dataclasses.replace(request_for(stack, recombination_closure="off"), + built_in_potential_mode="legacy_manual") + with pytest.raises(TransportCapabilityError, match="non-thermodynamic contact potential"): + require_carrier_transport(request) + + +def test_capability_gate_rejects_unqualified_statistics_sources(): + stack = load_device_from_yaml(str(FD_PRESET)) + x = build_electrical_grid(stack, 30) + # Default path with FD layers: rejected by both (no MB recombination pairing). + with pytest.raises(legacy_mol.BulkCarrierStatisticsCapabilityError): + legacy_mol.build_material_arrays(x, stack) + with pytest.raises(TransportCapabilityError, match="never paired with the MB"): + require_carrier_transport(request_for(stack, recombination_closure="maxwell_boltzmann")) + base = request_for(stack, recombination_closure="off") + for change, message in ( + ({"carrier_statistics": ("blakemore", "blakemore")}, "Blakemore"), + ({"carrier_statistics": ("fermi_dirac", "maxwell_boltzmann")}, "one carrier-statistics"), + ({"inhomogeneous_fields": ("Nc300",)}, "non-homojunction fields=Nc300"), + ({"mobile_ions": True}, "mobile ions"), + ({"environment_overrides": ("SOLARLAB_DOS_BAND",)}, "environment overrides"), + ({"dopant_ionization": ("fully_ionized",)}, "every electrical layer"), + ({"recombination_closure": "srh_degenerate"}, "unknown bulk recombination"), + ): + with pytest.raises(TransportCapabilityError, match=message): + require_carrier_transport(dataclasses.replace(base, **change)) + default = TransportCapabilityRequest(("maxwell_boltzmann",) * 3, ("fully_ionized",) * 3, + ("off",) * 3, "maxwell_boltzmann", None, + optical_generation=True, mobile_ions=True) + assert require_carrier_transport(default) == "maxwell_boltzmann" + + +def test_fd_face_currents_use_physical_edges_not_the_transport_fold(): + """FD transport reads the physical edges; the fold belongs to MB transport only.""" + x = np.linspace(0.0, 2.0e-7, 9) + chi = np.full(x.size, 4.05) + gap = np.full(x.size, 1.12) + folded = BandStructure(chi, gap, chi + 0.01, gap - 0.02, dos_folded=True, reference_layer=0) + unfolded = BandStructure.without_dos_fold(chi, gap) + phi = np.linspace(0.0, 0.3, x.size) + n = np.geomspace(1e20, 1e25, x.size) + p = np.geomspace(1e24, 1e19, x.size) + D = np.full(x.size - 1, 3e-3) + kwargs = dict(conduction_dos_m3=2.8e25, valence_dos_m3=1.0e25, recombination_closure="off") + a = legacy_fermi_dirac_face_currents(x, phi, n, p, D, D, 0.025852, folded, **kwargs) + b = legacy_fermi_dirac_face_currents(x, phi, n, p, D, D, 0.025852, unfolded, **kwargs) + assert same(a[0], b[0]) and same(a[1], b[1]) + + +def test_restricted_fd_sg_reduces_to_mb_sg_in_the_non_degenerate_limit(): + rng = np.random.default_rng(71) + for _ in range(40): + size = int(rng.integers(3, 20)) + x = np.cumsum(np.concatenate(([0.0], rng.uniform(1e-9, 2e-8, size=size - 1)))) + potential = rng.normal(scale=0.2, size=size) + dos = 1.0e25 + V_T = 0.025852 + D = float(10 ** rng.uniform(-6, -3)) + dx = np.diff(x) + for decades, rtol in ((-25.0, 4e-11), (-18.0, 4e-8)): + density = dos * 10.0 ** (decades + rng.uniform(-0.5, 0.5, size=size)) + fd_n = legacy_generalized_sg_current_n(potential, density, dx, D / V_T, V_T, dos, + statistics="fermi_dirac") + mb_n = legacy_sg_current_n(potential, density, dx, D, V_T) + fd_p = legacy_generalized_sg_current_p(potential, density, dx, D / V_T, V_T, dos, + statistics="fermi_dirac") + mb_p = legacy_sg_current_p(potential, density, dx, D, V_T) + for fd, mb in ((fd_n, mb_n), (fd_p, mb_p)): + scale = np.abs(mb) + Q * D / dx * density.max() * 1e-14 + assert np.all(np.abs(fd - mb) <= rtol * scale) + # Below the table (eta <= -40) the FD face statistics are exactly MB. + deep = dos * np.exp(-41.0 - rng.uniform(0.0, 3.0, size=size)) + fd = legacy_generalized_sg_current_n(potential, deep, dx, D / V_T, V_T, dos, + statistics="fermi_dirac") + mb = legacy_generalized_sg_current_n(potential, deep, dx, D / V_T, V_T, dos, + statistics="maxwell_boltzmann") + assert fd.tobytes() == mb.tobytes() + assert np.all(np.abs(fd - legacy_sg_current_n(potential, deep, dx, D, V_T)) + <= 8 * EPS * (np.abs(fd) + Q * D / dx * deep.max())) diff --git a/tests/unit/reproducibility/fixtures/q6_readback_witnesses.tar.gz b/tests/unit/reproducibility/fixtures/q6_readback_witnesses.tar.gz new file mode 100644 index 00000000..0d128c85 Binary files /dev/null and b/tests/unit/reproducibility/fixtures/q6_readback_witnesses.tar.gz differ diff --git a/tests/unit/reproducibility/test_job_provenance.py b/tests/unit/reproducibility/test_job_provenance.py new file mode 100644 index 00000000..49e4487b --- /dev/null +++ b/tests/unit/reproducibility/test_job_provenance.py @@ -0,0 +1,346 @@ +"""Source drift is metadata; artifact corruption and strict checks still fail.""" +from __future__ import annotations + +from copy import deepcopy +import hashlib +from pathlib import Path +from typing import Any + +import pytest + +from solarlab.reproducibility import job_provenance as provenance + + +def admitted(content: bytes = b"source", **changes: Any) -> provenance.JobProvenance: + options = {"git_commit": "a" * 40, "source_files": (("solarlab/source.py", content),), + "environment_lock": b"locked environment", "source_attested": True, + "operator": "test.bound_operator", "assembler_identity": "b" * 64, "analysis_identity": "c" * 64, + "dirty_policy": "record"} + options.update(changes) + return provenance.capture_job_provenance({"input": "original"}, **options) + + +def test_record_is_canonical_immutable_and_keeps_separate_input_and_tree_digests(): + record = admitted() + envelope = record.envelope() + assert provenance.read_provenance(envelope) == record + assert envelope["sha256"] == hashlib.sha256(record.canonical_json).hexdigest() + assert envelope["record"]["input_sha256"] == provenance.digest({"input": "original"}) + assert envelope["record"]["source_tree_sha256"] == provenance.digest(envelope["record"]["source_files"]) + envelope["record"]["source_files"].clear() + assert record.export()["source_files"] + + +def test_source_drift_never_relabels_record_or_looks_up_files_during_comparison(monkeypatch): + producer, current = admitted(), admitted(b"refactored source") + original = producer.canonical_json + monkeypatch.setattr(Path, "read_bytes", lambda *_: pytest.fail("readback consulted current source")) + monkeypatch.setattr(provenance, "_git", lambda *_: pytest.fail("readback called Git")) + result = provenance.compare_provenance(producer.envelope(), current) + assert result["status"] == "different" + assert "source_tree_sha256" in result["different_fields"] + assert producer.canonical_json == original + with pytest.raises(ValueError, match="strict_same_source"): + provenance.compare_provenance(producer.envelope(), current, strict_same_source=True) + assert provenance.compare_provenance(producer.envelope(), producer, strict_same_source=True)["status"] == "same" + + +@pytest.mark.parametrize("mutation", ["outer_digest", "source_record", "tree_digest", "commit"]) +def test_producer_record_tampering_is_not_treated_as_current_source_drift(mutation): + value = admitted().envelope() + if mutation == "outer_digest": + value["sha256"] = "0" * 64 + elif mutation == "source_record": + value["record"]["source_files"][0]["sha256"] = "0" * 64 + elif mutation == "tree_digest": + value["record"]["source_tree_sha256"] = "0" * 64 + else: + value["record"]["git_commit"] = "guessed-HEAD" + with pytest.raises(ValueError): + provenance.compare_provenance(value) + + +def test_unrecorded_historical_identity_and_missing_lock_are_unknown_not_certified(): + assert provenance.compare_provenance(None)["status"] == "unknown" + for record in (admitted(environment_lock=None), admitted(source_attested=False)): + assert provenance.compare_provenance(record.envelope(), record)["status"] == "unknown" + with pytest.raises(ValueError, match="strict_same_source"): + provenance.compare_provenance(record.envelope(), record, strict_same_source=True) + with pytest.raises(ValueError, match="actual source inventory"): + admitted(source_files=()) + + +def test_observed_runtime_mismatch_is_reported_and_refused_only_in_strict_mode(): + producer = admitted() + data = producer.export() + data["runtime_observed"]["python"] = "different" + current = provenance.JobProvenance.from_record(data) + assert provenance.compare_provenance(producer.envelope(), current)["different_fields"] == ["runtime_observed"] + with pytest.raises(ValueError, match="strict_same_source"): + provenance.compare_provenance(producer.envelope(), current, strict_same_source=True) + + +def test_dirty_admission_records_actual_bytes_or_refuses_and_nested_capture_is_once(tmp_path, monkeypatch): + source = tmp_path / "src/solarlab/a.py" + source.parent.mkdir(parents=True) + source.write_bytes(b"original") + (tmp_path / "uv.lock").write_bytes(b"locked") + + def git(root, *args): + if args == ("rev-parse", "HEAD"): + return "a" * 40 + "\n" + if args[0] == "diff": + return "src/solarlab/a.py\0" + if "--cached" in args: + return "src/solarlab/a.py\0" + return "" + + monkeypatch.setattr(provenance, "_git", git) + with pytest.raises(ValueError, match="clean attested"): + provenance.capture_job_provenance({}, source_root=tmp_path, dirty_policy="refuse", operator="test") + captures = [] + original_capture = provenance.capture_job_provenance + + def capture(*args, **kwargs): + result = original_capture(*args, **kwargs) + captures.append(result) + return result + + monkeypatch.setattr(provenance, "capture_job_provenance", capture) + with provenance.provenance_owner(source_root=tmp_path, dirty_policy="record"): + with provenance.job_provenance({"job": 1}, operator="outer") as original: + assert original.export()["source_state"] == "dirty_recorded" + assert provenance.current_provenance_ref() == original.sha256 + envelope = deepcopy(provenance.current_provenance()) + source.write_bytes(b"edited after admission") + with provenance.job_provenance({"nested": True}, operator=None) as inner: + assert inner is original + assert provenance.current_provenance() == envelope + assert len(captures) == 1 + assert provenance.current_provenance() is None + + +def test_supplied_installed_snapshot_does_not_require_a_checkout(monkeypatch): + monkeypatch.setattr(provenance, "execution_checkout", lambda: pytest.fail("installed snapshot consulted checkout")) + with provenance.provenance_owner(source_files=(("installed/a.py", b"body"),), + git_commit="a" * 40, environment_lock=b"lock", source_attested=True, dirty_policy="refuse"): + with provenance.job_provenance({"input": 1}, operator="installed") as record: + assert record.export()["source_state"] == "clean" + + +def test_outer_owner_captures_once_for_sequential_producers(monkeypatch): + record = admitted(operator="initial", assembler_identity=None, analysis_identity=None) + captures = [] + def capture(inputs, **kwargs): + captures.append((inputs, kwargs)) + return record + monkeypatch.setattr(provenance, "capture_job_provenance", capture) + with provenance.provenance_owner(input_record={"whole_job": True}): + with provenance.job_provenance({"stage": 1}, operator="initial") as first: + pass + with provenance.job_provenance({"stage": 2}, operator=None) as second: + assert provenance.current_provenance_ref() == first.sha256 + assert first == second and len(captures) == 1 + assert captures[0][0] == {"whole_job": True} + assert provenance.current_provenance() is None + + +def test_incomplete_or_inconsistent_assembler_identity_never_passes_strict(): + data = admitted().export() + data["assembler"]["identity"] = None + with pytest.raises(ValueError, match="Assembler identity"): + provenance.JobProvenance.from_record(data) + data = admitted().export() + data["assembler"]["analysis_identity"] = None + incomplete = provenance.JobProvenance.from_record(data) + with pytest.raises(ValueError, match="strict_same_source"): + provenance.compare_provenance(incomplete.envelope(), incomplete, strict_same_source=True) + + +def test_job_receipt_is_bound_to_unchanged_transport_and_attempt(): + transport = {"H_input": "1" * 64, "H_physics": "2" * 64, + "documents": {"request": {"sha256": "3" * 64}}} + token = {"store_id": "s", "run_id": "r", "attempt_id": "a", "owner_id": "owner", "generation": 1} + value = admitted().export() + value["attempt_ref"] = token + value["execution_manifest_sha256"] = "5" * 64 + document = {"content_roles": {k: {"sha256": "9" * 64} for k in ("protocol", "initial_state", "grid", "numeric_controls")}} + value["input_sha256"] = provenance.digest(provenance.worker_input_record(transport, document)) + producer = {"job_provenance": provenance.JobProvenance.from_record(value).envelope(), "manifest_sha256": "5" * 64} + run = {"run_id": "r", "request": {"input_metadata": {"transport": transport, + "execution_manifest": {"manifest_sha256": "5" * 64}}}} + attempt = {"attempt_id": "a", "owner_id": "owner", "generation": 1} + assert provenance.worker_result_provenance(producer, run, attempt, store_id="s", provenance_ref=producer["job_provenance"]["sha256"], execution_document=document)["status"] == "unknown" + assert provenance.worker_result_provenance(producer, run, attempt, store_id="s", + provenance_ref=producer["job_provenance"]["sha256"], execution_document=document, + current=producer["job_provenance"], strict_same_source=True)["status"] == "same" + with pytest.raises(ValueError, match="RunStore"): + provenance.result_provenance(producer, producer["job_provenance"], strict_same_source=True) + with pytest.raises(ValueError, match="another attempt"): + provenance.worker_result_provenance(producer, run, {**attempt, "generation": 2}, store_id="s", provenance_ref=producer["job_provenance"]["sha256"], execution_document=document) + transport["documents"]["request"]["sha256"] = "4" * 64 + with pytest.raises(ValueError, match="input differs"): + provenance.worker_result_provenance(producer, run, attempt, store_id="s", provenance_ref=producer["job_provenance"]["sha256"], execution_document=document) + + +def test_saved_legacy_pin_cannot_be_relabelled_under_a_valid_new_envelope(): + record = admitted() + original = {"source_sha256": {"solarlab.source": hashlib.sha256(b"source").hexdigest()}, + "job_provenance": record.envelope()} + assert provenance.result_provenance(original)["producer_identity"] == record.envelope() + original["source_sha256"]["solarlab.source"] = "0" * 64 + with pytest.raises(ValueError, match="producer provenance"): + provenance.result_provenance(original) + + +def test_capture_refuses_a_mutating_snapshot_before_computation(tmp_path, monkeypatch): + path = tmp_path / "src/solarlab/example.py" + path.parent.mkdir(parents=True) + path.write_bytes(b"before") + def git(root, *args): + if args == ("rev-parse", "HEAD"): + return "a" * 40 + if "--cached" in args: + return "src/solarlab/example.py\0" + return "" + monkeypatch.setattr(provenance, "_git", git) + original = Path.read_bytes + def changing(self): + data = original(self) + if self == path: + path.write_bytes(b"changed during capture") + return data + monkeypatch.setattr(Path, "read_bytes", changing) + with pytest.raises(ValueError, match="changed during admission"): + provenance.capture_job_provenance({}, operator="test", source_root=tmp_path, dirty_policy="record") + + +def test_missing_git_makes_implicit_execution_checkout_unknown(monkeypatch): + def missing(*args): + raise FileNotFoundError("git is not installed") + monkeypatch.setattr(provenance, "_git", missing) + assert provenance.execution_checkout() is None + with provenance.job_provenance({}, operator="ordinary published experiment") as record: + assert record.export()["source_state"] == "unknown" + + +def test_late_dirty_source_cannot_be_mislabelled_clean(tmp_path, monkeypatch): + path = tmp_path / "src/solarlab/example.py" + path.parent.mkdir(parents=True) + path.write_bytes(b"snapshot") + calls = [] + def git(root, *args): + if args == ("rev-parse", "HEAD"): + return "a" * 40 + if args[0] == "diff": + calls.append(args) + return "" if len(calls) == 1 else "src/solarlab/example.py\0" + if "--cached" in args: + return "src/solarlab/example.py\0" + return "" + monkeypatch.setattr(provenance, "_git", git) + with pytest.raises(ValueError, match="changed during admission"): + provenance.capture_job_provenance({}, operator="test", source_root=tmp_path, dirty_policy="record") + + +@pytest.mark.parametrize("change", ["owner", "generation", "manifest", "inputs", "swapped_valid_record"]) +def test_valid_provenance_cannot_be_swapped_across_publication_bindings(change): + record = admitted().export() + token = {"store_id": "s", "run_id": "r", "attempt_id": "a", "owner_id": "owner", "generation": 1} + transport = {"H_input": "1" * 64, "H_physics": "2" * 64, "documents": {"request": {"sha256": "3" * 64}}} + document = {"content_roles": {k: {"sha256": "9" * 64} for k in ("protocol", "initial_state", "grid", "numeric_controls")}} + inputs = provenance.worker_input_record(transport, document) + record.update(attempt_ref=token.copy(), execution_manifest_sha256="4" * 64, input_sha256=provenance.digest(inputs)) + original = provenance.JobProvenance.from_record(record) + if change in {"owner", "generation"}: + record["attempt_ref"]["owner_id" if change == "owner" else "generation"] = "different" if change == "owner" else 2 + elif change == "manifest": + record["execution_manifest_sha256"] = "5" * 64 + elif change == "inputs": + record["input_sha256"] = "6" * 64 + else: + record["git_commit"] = "d" * 40 + changed = provenance.JobProvenance.from_record(record) + result = {"job_provenance": changed.envelope(), "manifest_sha256": "4" * 64} + run = {"run_id": "r", "request": {"input_metadata": {"transport": transport, + "execution_manifest": {"manifest_sha256": "4" * 64}}}} + # Even a freshly recomputed local envelope checksum cannot replace the + # reference sealed into the independently checked execution artifact. + reference = original.sha256 if change == "swapped_valid_record" else changed.sha256 + with pytest.raises(ValueError): + provenance.worker_result_provenance(result, run, token, store_id="s", provenance_ref=reference, execution_document=document) + + +def test_standalone_producer_inputs_and_publication_owner_are_separate(): + record = admitted() + producer = {"job_provenance": record.envelope()} + provenance.result_provenance(producer, expected_inputs={"input": "original"}) + with pytest.raises(ValueError, match="different inputs"): + provenance.result_provenance(producer, expected_inputs={"input": "changed"}) + owner = {"store_id": "s", "run_id": "r", "attempt_id": "a", "owner_id": "o", "generation": 1} + first = provenance.publication_binding(record.envelope(), owner=owner, + request_identity={"H_input": "original"}, result_sha256="a" * 64) + second = provenance.publication_binding(record.envelope(), owner={**owner, "owner_id": "changed"}, + request_identity={"H_input": "original"}, result_sha256="a" * 64) + assert first["sha256"] != second["sha256"] + assert first["record"]["admission_sha256"] == second["record"]["admission_sha256"] == record.sha256 + assert provenance.digest(first["record"]) == first["sha256"] + + +def test_strict_source_requires_known_scope_and_explicit_assembled_analysis(): + value = admitted().export() + value["source_scope"] = "unrecognized-future-algorithm" + unknown = provenance.JobProvenance.from_record(value) + with pytest.raises(ValueError, match="strict_same_source"): + provenance.compare_provenance(unknown.envelope(), unknown, strict_same_source=True) + with pytest.raises(ValueError, match="analysis-operation"): + admitted(analysis_identity=None) + legacy = admitted(assembler_identity=None, analysis_identity=None) + assert legacy.export()["assembler"]["unified_assembler"] is False + assert legacy.export()["assembler"]["identity"] is None + changed = admitted(analysis_identity="d" * 64) + with pytest.raises(ValueError, match="strict_same_source"): + provenance.compare_provenance(admitted().envelope(), changed, strict_same_source=True) + + +def test_installed_overlays_are_explicitly_dirty_not_committed_clean(): + record = admitted(source_dirty_paths=("solarlab/source.py",)) + assert record.export()["source_state"] == "dirty_recorded" + assert record.export()["dirty_paths"] == ["solarlab/source.py"] + with pytest.raises(ValueError, match="clean attested"): + admitted(source_dirty_paths=("solarlab/source.py",), dirty_policy="refuse") + + +def test_public_steady_2d_sources_only_returns_admitted_metadata(monkeypatch): + from solarlab.solvers.nonlinear.steady_2d import sources + + assert sources() == {} + with provenance.provenance_owner(input_record={"input": "original"}, + git_commit="a" * 40, source_files=(("solarlab/source.py", b"source"),), + environment_lock=b"locked environment", source_attested=True, dirty_policy="record"): + with provenance.job_provenance({}, operator="test.bound_operator"): + expected = provenance.admitted_source_pins() + assert expected + monkeypatch.setattr(Path, "read_bytes", lambda *_: pytest.fail("public accessor inspected source")) + monkeypatch.setattr(provenance, "capture_job_provenance", lambda *a, **k: pytest.fail("public accessor recaptured provenance")) + assert sources() == expected + emitted = sources() + emitted.clear() + assert sources() == expected + assert sources() == {} + + +def test_fixture_admission_refuses_foreign_installed_bytes_before_capture(monkeypatch, tmp_path): + from types import SimpleNamespace + from support import provenance as fixture + + foreign = tmp_path / "solarlab" / "__init__.py" + foreign.parent.mkdir() + foreign.write_text("# unrelated installed source\n") + real_find_spec = fixture.importlib.util.find_spec + monkeypatch.setattr(fixture.importlib.util, "find_spec", lambda name: + SimpleNamespace(origin=str(foreign)) if name == "solarlab" else real_find_spec(name)) + monkeypatch.setattr(fixture, "provenance_owner", lambda **kw: pytest.fail("unverified admission")) + with pytest.raises(ValueError, match="installed fixture source differs"): + with fixture.checked_provenance_owner(): + pytest.fail("foreign installed source was admitted") diff --git a/tests/unit/reproducibility/test_provenance_review_regressions.py b/tests/unit/reproducibility/test_provenance_review_regressions.py new file mode 100644 index 00000000..7747ff81 --- /dev/null +++ b/tests/unit/reproducibility/test_provenance_review_regressions.py @@ -0,0 +1,180 @@ +"""Exact Q6 implementation-review witnesses; no numerical recomputation.""" +from __future__ import annotations + +from contextlib import contextmanager +import hashlib +import json +from pathlib import Path +import tarfile + +import pytest + +from solarlab.reproducibility import job_provenance as provenance + + +FIXTURE = Path(__file__).with_name("fixtures") / "q6_readback_witnesses.tar.gz" +FIXTURE_SHA256 = "7fb7643022cfd15880efe747af6be01d30d19421b0a8bc8460f89f661e4abaf9" +WITNESSES = { + "OriginalCurve.json": "4402897c96366099f6e02a73eafc67db454632392c232daeb4ef589069ebc6a2", + "wrong_input_no_attempt.json": "f0388fdade31c77b33e1a9d34370ce49cfae30f70ce8858cff7a0c33ab49d097", + "wrong_input_unvalidated_attempt.json": "cbd52a420317dc9ffd7f074aa24597bd1b3c003af03a285ace1c8f2d0b683e78", + "wrong_input_full_foreign_attempt.json": "a09ced7c9142359f8f2897afa39802aa7bf1911451d80284547db4fc3e1f18ad", +} + + +@pytest.fixture +def saved_witnesses(tmp_path, monkeypatch): + from solarlab.experiments.jv import ionic_steady + + def forbidden(*args, **kwargs): + pytest.fail("saved witness must not solve or inspect current source") + + monkeypatch.setattr(ionic_steady, "solve_ionic_steady_state", forbidden) + monkeypatch.setattr(provenance, "capture_job_provenance", forbidden) + monkeypatch.setattr(provenance, "_git", forbidden) + assert hashlib.sha256(FIXTURE.read_bytes()).hexdigest() == FIXTURE_SHA256 + files = {} + with tarfile.open(FIXTURE) as archive: + assert set(archive.getnames()) == set(WITNESSES) + for name, expected in WITNESSES.items(): + member = archive.getmember(name) + assert member.isfile() and member.size < 2 * 1024**2 + stream = archive.extractfile(member) + assert stream is not None + with stream: + content = stream.read() + assert hashlib.sha256(content).hexdigest() == expected + path = tmp_path / name + path.write_bytes(content) + files[name] = path + original = json.loads(files["OriginalCurve.json"].read_bytes()) + return ionic_steady, files, original + + +@pytest.mark.parametrize("strict", [False, True]) +def test_review_original_curve_keeps_exact_identity_and_bytes(saved_witnesses, strict): + reader, files, original = saved_witnesses + path = files["OriginalCurve.json"] + before = path.read_bytes() + current = original["result"]["job_provenance"] + result = reader.read_ionic_steady_jv(path, WITNESSES[path.name], + current_identity=current, strict_same_source=strict) + assert result["completed"] is True + assert result["provenance_comparison"]["status"] == "same" + assert result["provenance_comparison"]["producer_identity"] == current + assert path.read_bytes() == before + + +@pytest.mark.parametrize("strict", [False, True]) +@pytest.mark.parametrize("name", [name for name in WITNESSES if name != "OriginalCurve.json"]) +def test_review_wrong_input_cannot_be_admitted_by_an_attempt_claim(saved_witnesses, name, strict): + reader, files, original = saved_witnesses + path = files[name] + before = path.read_bytes() + with pytest.raises(ValueError, match="different inputs|RunStore"): + reader.read_ionic_steady_jv(path, WITNESSES[name], + current_identity=original["result"]["job_provenance"], strict_same_source=strict) + assert path.read_bytes() == before + + +@pytest.mark.parametrize("strict", [False, True]) +def test_correct_input_does_not_authenticate_a_foreign_attempt(saved_witnesses, tmp_path, strict): + reader, files, original = saved_witnesses + record = json.loads(files["wrong_input_full_foreign_attempt.json"].read_bytes()) + value = record["result"]["job_provenance"]["record"] + value["input_sha256"] = original["result"]["job_provenance"]["record"]["input_sha256"] + record["result"]["job_provenance"] = provenance.JobProvenance.from_record(value).envelope() + content = json.dumps(record).encode() + path = tmp_path / "foreign_attempt_with_correct_input.json" + path.write_bytes(content) + with pytest.raises(ValueError, match="RunStore"): + reader.read_ionic_steady_jv(path, hashlib.sha256(content).hexdigest(), + current_identity=original["result"]["job_provenance"], strict_same_source=strict) + + +@contextmanager +def admitted_owner(): + with provenance.provenance_owner(source_files=(("solarlab/source.py", b"body"),), + git_commit="a" * 40, environment_lock=b"lock", source_attested=True, dirty_policy="refuse"): + yield + + +@pytest.mark.parametrize("nested", [False, True]) +@pytest.mark.parametrize("changed", ["operator", "assembler_identity", "analysis_identity"]) +def test_review_owner_refuses_changed_declared_binding(nested, changed): + binding = {"operator": "outer", "assembler_identity": "b" * 64, "analysis_identity": "c" * 64} + second = {**binding, changed: "different" if changed == "operator" else "d" * 64} + + def refuse(): + with pytest.raises(ValueError, match="binding"): + with provenance.job_provenance({}, **second): + pytest.fail("incompatible operation entered the admitted job") + + with admitted_owner(): + with provenance.job_provenance({}, **binding): + if nested: + refuse() + if not nested: + refuse() + + +@pytest.mark.parametrize("nested", [False, True]) +def test_identical_declared_binding_reuses_the_one_admission(nested): + binding = {"operator": "outer", "assembler_identity": "b" * 64, "analysis_identity": "c" * 64} + with admitted_owner(): + with provenance.job_provenance({}, **binding) as first: + if nested: + with provenance.job_provenance({}, **binding) as second: + assert second is first + if not nested: + with provenance.job_provenance({}, **binding) as second: + assert second is first + assert provenance.compare_provenance(first.envelope(), second, strict_same_source=True)["status"] == "same" + + +def test_assembled_context_cannot_be_reused_without_a_binding_declaration(): + with admitted_owner(): + with provenance.job_provenance({}, operator="outer", assembler_identity="b" * 64, analysis_identity="c" * 64): + with pytest.raises(ValueError, match="binding"): + with provenance.job_provenance({}, operator=None): + pytest.fail("an assembled stage inherited an undeclared binding") + + +@pytest.mark.parametrize("declaration", [ + {"operator": "outer"}, + {"operator": "outer", "assembler_identity": "b" * 64}, + {"operator": None, "assembler_identity": "b" * 64, "analysis_identity": "c" * 64}, +]) +def test_reuse_cannot_omit_an_admitted_assembler_or_its_analysis(declaration): + with admitted_owner(): + with provenance.job_provenance({}, operator="outer", assembler_identity="b" * 64, analysis_identity="c" * 64): + with pytest.raises(ValueError, match="binding"): + with provenance.job_provenance({}, **declaration): + pytest.fail("incomplete declaration entered the admitted job") + + +def test_explicit_inheritance_needs_an_existing_unassembled_job(): + with admitted_owner(): + with pytest.raises(ValueError, match="binding"): + with provenance.job_provenance({}, operator=None): + pytest.fail("inheritance created an undeclared admission") + with provenance.job_provenance({}, operator="initial") as first: + with pytest.raises(ValueError, match="binding"): + with provenance.job_provenance({}, operator="different"): + pytest.fail("changed unassembled operator was silently reused") + with provenance.job_provenance({}, operator=None) as inherited: + assert inherited is first + + +@pytest.mark.parametrize("strict", [False, True]) +def test_manifest_without_attempt_cannot_claim_standalone_admission(saved_witnesses, tmp_path, strict): + reader, _, original = saved_witnesses + value = original["result"]["job_provenance"]["record"] + value["execution_manifest_sha256"] = "d" * 64 + original["result"]["job_provenance"] = provenance.JobProvenance.from_record(value).envelope() + content = json.dumps(original).encode() + path = tmp_path / "unverified_manifest.json" + path.write_bytes(content) + with pytest.raises(ValueError, match="RunStore"): + reader.read_ionic_steady_jv(path, hashlib.sha256(content).hexdigest(), + current_identity=original["result"]["job_provenance"], strict_same_source=strict) diff --git a/tests/unit/solvers/dc_device_support.py b/tests/unit/solvers/dc_device_support.py new file mode 100644 index 00000000..a2f7bf40 --- /dev/null +++ b/tests/unit/solvers/dc_device_support.py @@ -0,0 +1,220 @@ +"""Test-local DC device problems for the nonlinear layer (not a production binding). + +The P04-03 DC scaffold (``tests/unit/physics/transport/p0403_dc_scaffold.py``, +read only) supplies the residual and analytic Jacobian of a p-HTL / absorber / +n-ETL device in the test's own coordinates ``(phi, ln n, ln p)``. This module +adds what the solver layer needs from a caller -- row weights, step limits, +staged preparation and physical gates -- without choosing anything inside the +solver. Gates measure every face (maximum or spread), never a median. +""" + +from __future__ import annotations + +from pathlib import Path +import sys + +import numpy as np + +from solarlab.physics.contacts import ContactEndpoint, assess_contact_thermodynamics +from solarlab.physics.transport.electrochemical_flux import carrier_particle_fluxes +from solarlab.solvers.nonlinear import legacy_normalized_poisson_residual +from solarlab.solvers.nonlinear.constraints import DcPortProblem +from solarlab.solvers.nonlinear.newton import NewtonSettings, gate_from +from solarlab.solvers.nonlinear.problem import ( + CallableProblem, GateOutcome, ResidualScaling, SolveBudget, StepControl, +) + +sys.path.insert(0, str(Path(__file__).resolve().parents[1] / "physics" / "transport")) +import p0403_dc_scaffold as scaffold # noqa: E402 + +Q = scaffold.Q +POTENTIAL_STEP_V = 0.1 +LOG_DENSITY_STEP = 2.0 + + +def polarity(device): + return -1.0 if device.V_bi_bc < 0.0 else 1.0 + + +# ---- stage A: Poisson-Boltzmann equilibrium on phi -------------------------------------- + +def boltzmann_problem(device): + def charge_and_slope(phi): + n, p = scaffold.equilibrium_densities(device, phi) + return Q * (p - n + device.N_D - device.N_A), -Q * (n + p) / device.V_T + + def residual(phi): + rho, _ = charge_and_slope(phi) + return device.poisson.residual(phi, rho, 0.0, device.V_bi_bc) + + def jacobian(phi): + _, slope = charge_and_slope(phi) + matrix = device.poisson.jacobian().toarray() + inner = np.arange(1, device.size - 1) + matrix[inner, inner] += device.poisson.interior_widths_m * slope[1:-1] + return matrix + return CallableProblem(residual, jacobian) + + +def boltzmann_weights(device): + """The legacy normalized-Poisson scale (interior) and 1/V_ref (contact rows).""" + size = device.size + reference = max(abs(device.V_bi_bc), device.V_T) + probe = np.zeros(size - 2) + weights = np.empty(size) + for i in range(size - 2): # 1 / scale_i, recovered row by row from the M criterion + probe[:] = 0.0 + probe[i] = 1.0 + weights[i + 1] = legacy_normalized_poisson_residual( + probe, face_capacitance_F_m2=device.poisson.face_capacitance_F_m2, + interior_widths_m=device.poisson.interior_widths_m, + acceptor_density_m3=device.N_A, donor_density_m3=device.N_D, + V_bi_bc=device.V_bi_bc, thermal_voltage_V=device.V_T) + weights[0] = weights[-1] = 1.0 / reference + return weights + + +def boltzmann_settings(device, *, iterations=80): + size = device.size + return NewtonSettings(ResidualScaling(boltzmann_weights(device)), 1e-12, + StepControl(np.full(size, POTENTIAL_STEP_V)), + SolveBudget(iterations, 20_000, 2_000, 30), (), False) + + +def linear_potential(device, V=0.0): + x = device.x + return (device.V_bi_bc - polarity(device) * V) * (x - x[0]) / (x[-1] - x[0]) + + +def boltzmann_state(device, phi): + n, p = scaffold.equilibrium_densities(device, phi) + return np.r_[phi, np.log(n), np.log(p)] + + +# ---- stage B: the coupled DC system --------------------------------------------------------- + +def dc_problem(device, V=0.0, generation_scale=0.0): + size = device.size + + def evaluate(u): + return scaffold.residual_and_jacobian(device, scaffold.DcState.from_vector(u, size), + V_app=V, generation_scale=generation_scale) + return CallableProblem(lambda u: evaluate(u)[0], lambda u: evaluate(u)[1]) + + +def flux_scale(device): + """``k_max c_ref`` [m^-2 s^-1]: the rounding scale of every carrier row.""" + k = max(np.max(device.D_n_face), np.max(device.D_p_face)) / np.min(np.diff(device.x)) + return k * max(device.n_eq + device.p_eq) + + +def current_scale(device): + return Q * flux_scale(device) + + +def dc_weights(device): + size = device.size + weights = np.ones(3 * size) + weights[:size] = boltzmann_weights(device) + weights[size:] = 1.0 / flux_scale(device) + for carrier, offset in (("n", size), ("p", 2 * size)): + for side, node in (("left", 0), ("right", size - 1)): + if device.channels[carrier + "_" + side].kind == "fixed_reservoir": + weights[offset + node] = 1.0 # ln c - ln c_eq is dimensionless + return weights + + +def dc_settings(device, *, gates=(), iterations=60, tolerance=1e-10, backtracks=30): + size = device.size + step = np.r_[np.full(size, POTENTIAL_STEP_V), np.full(2 * size, LOG_DENSITY_STEP)] + return NewtonSettings(ResidualScaling(dc_weights(device)), tolerance, StepControl(step), + SolveBudget(iterations, 20_000, 2_000, backtracks), tuple(gates), + False) + + +def state_of(device, u): + return scaffold.DcState.from_vector(np.asarray(u, dtype=float), device.size) + + +def face_currents(device, u): + return scaffold.terminal_current_density(device, state_of(device, u)) + + +# ---- physical gates (every face) -------------------------------------------------------------- + +def zero_current_gate(device, relative=1e-12): + """Dark equilibrium: max over faces |J_n + J_p| within rounding of the current scale.""" + return gate_from("zero_equilibrium_current", + lambda u: float(np.max(np.abs(face_currents(device, u)))) + / current_scale(device), relative, "every face, no median") + + +def uniform_current_gate(device, relative=1e-10): + """DC conservation: the spread of J over all faces, relative to the current scale.""" + return gate_from("face_current_spread", + lambda u: float(np.ptp(face_currents(device, u))) / current_scale(device), + relative, "max - min over every face") + + +def generation_limit_gate(device, slack=1e-9): + """|J| on every face cannot exceed q * integral(G): collected pairs <= generated pairs.""" + return gate_from("generation_limit", + lambda u: float(np.max(np.abs(face_currents(device, u)))) + / device.generation_limit_A_m2, 1.0 + slack, "every face") + + +def contact_certificate_gate(device): + def endpoint(node, n, p): + return ContactEndpoint(n, p, float(device.Nc[node]), float(device.Nv[node]), + float(device.bands.physical_electron_affinity_eV[node]), + float(device.bands.physical_band_gap_eV[node])) + + def gate(u): + state = state_of(device, u) + assessment = assess_contact_thermodynamics( + built_in_potential_mode="semiconductor_work_function", + left=endpoint(0, float(state.n[0]), float(state.p[0])), + right=endpoint(-1, float(state.n[-1]), float(state.p[-1])), + V_bi_bc=float(state.phi[-1] - state.phi[0]), thermal_voltage_V=device.V_T, + has_band_reference=True) + span = assessment.fermi_level_span_eV + return GateOutcome("contact_thermodynamics", + assessment.certified, float("inf") if span is None else span, + assessment.tolerance_eV, assessment.status) + return gate + + +# ---- direct V_oc: the DC terminal current at the left contact face ------------------------------ + +def direct_voc_problem(device, generation_scale=1.0): + size = device.size + + def fluxes(u): + state = state_of(device, u) + return state, carrier_particle_fluxes(device.x, state.phi, state.n, state.p, + device.D_n_face, device.D_p_face, device.V_T, + device.bands) + + def current(u, V): + _, f = fluxes(u) + return float(-Q * f.electron.flux[0] + Q * f.hole.flux[0]) + + def gradient(u, V): + state, f = fluxes(u) + grad = np.zeros(3 * size) + for sign, flux, offset, density in ((-Q, f.electron, size, state.n), + (Q, f.hole, 2 * size, state.p)): + grad[0] += sign * flux.left_potential_derivative[0] + grad[1] += sign * flux.right_potential_derivative[0] + grad[offset] += sign * flux.left_density_derivative[0] * density[0] + grad[offset + 1] += sign * flux.right_density_derivative[0] * density[1] + return grad + + def dresidual_dV(u, V): + column = np.zeros(3 * size) + column[size - 1] = polarity(device) # phi[-1] - (V_bi_bc - polarity * V) + return column + + return DcPortProblem(lambda V: dc_problem(device, V, generation_scale), dresidual_dV, + current, gradient, lambda u, V: 0.0, + current_scale=device.generation_limit_A_m2) diff --git a/tests/unit/solvers/test_balance_convergence.py b/tests/unit/solvers/test_balance_convergence.py new file mode 100644 index 00000000..98efbde7 --- /dev/null +++ b/tests/unit/solvers/test_balance_convergence.py @@ -0,0 +1,230 @@ +"""Opt-in carrier-balance convergence with unchanged merit and final gates.""" + +from __future__ import annotations + +from dataclasses import asdict +import math + +import numpy as np +import pytest +from threadpoolctl import threadpool_limits + +from examples.research_1d.steady import load_device +from solarlab.config.resolve_device import resolve_device +from solarlab.device.compile_1d import compile_device_1d +from solarlab.device.inputs import DeviceInput +from solarlab.solvers.nonlinear.newton import NewtonSettings, Termination, gate_from, solve_newton +from solarlab.solvers.nonlinear.problem import CallableProblem, ResidualScaling, SolveBudget, StepControl +from solarlab.solvers.nonlinear.production import ( + HISTORICAL_MAX_ROW_V1, POISSON_CONTACT_BALANCE_V1, + production_convergence_norm, production_residual_scaling, +) +from solarlab.solvers.nonlinear.steady_1d import SteadyOptions + + +@pytest.fixture(scope="module", autouse=True) +def blas1(): + with threadpool_limits(limits=1): + yield + + +@pytest.fixture(scope="module") +def compiled(): + return compile_device_1d(load_device(), intervals_per_layer=12) + + +@pytest.fixture(scope="module", params=["robin", "selective"]) +def finite_contacts(request): + prepared = load_device() + document = prepared.to_input().editing_data() + if request.param == "robin": + document["settings"]["flat_band_contacts"] = True + else: + document["contacts"] = [ + dict(id="left", side="left", layer="htl", S_n=0.0, S_p=200.0), + dict(id="right", side="right", layer="etl", S_n=200.0, S_p=0.0), + ] + prepared = resolve_device( + DeviceInput.model_validate(document), prepared.defaults, + prepared.resources, sources=prepared.sources, + ) + return compile_device_1d(prepared, intervals_per_layer=12) + + +def balance_norm(device): + return production_convergence_norm(device, convergence_policy=POISSON_CONTACT_BALANCE_V1) + + +def fixed_rows(device): + count = device.node_count + rows = [] + for carrier, offset in (("n", count), ("p", 2 * count)): + for side, node in (("left", 0), ("right", count - 1)): + if device.channel(carrier, side).kind == "fixed_reservoir": + rows.append(offset + node) + return rows + + +def test_default_policy_and_every_existing_limit_are_preserved(compiled): + original = SteadyOptions() + explicit = SteadyOptions(convergence_policy=POISSON_CONTACT_BALANCE_V1) + assert original.convergence_policy == HISTORICAL_MAX_ROW_V1 + assert production_convergence_norm(compiled) is None + old_controls, new_controls = asdict(original), asdict(explicit) + assert old_controls.pop("convergence_policy") == HISTORICAL_MAX_ROW_V1 + assert new_controls.pop("convergence_policy") == POISSON_CONTACT_BALANCE_V1 + assert old_controls == new_controls + assert original.budget() == explicit.budget() + + +@pytest.mark.parametrize("row_kind", ["poisson_contact", "poisson_interior", "n_left", "n_right", "p_left", "p_right"]) +def test_poisson_and_fixed_contact_rows_are_never_diluted(compiled, row_kind): + count = compiled.node_count + row = { + "poisson_contact": 0, "poisson_interior": count // 2, + "n_left": count, "n_right": 2 * count - 1, + "p_left": 2 * count, "p_right": 3 * count - 1, + }[row_kind] + residual = np.zeros(3 * count) + residual[row] = 1.01 + assert balance_norm(compiled)(residual) == 1.01 + assert balance_norm(compiled)(residual) > 1.0 + + +def test_both_carriers_share_one_absolute_balance_budget_without_cancellation(compiled): + count = compiled.node_count + residual = np.zeros(3 * count) + residual[count:2 * count] = 1.1 * 2 * count / (2 * count - len(fixed_rows(compiled))) + residual[2 * count:] = -residual[count:2 * count] + residual[fixed_rows(compiled)] = 0.0 + assert np.sum(residual) == pytest.approx(0.0, abs=1e-13) + measured = balance_norm(compiled)(residual) + assert measured == pytest.approx(1.1, rel=2e-15) + assert measured > 1.0 + # Each species separately fits one tolerance, but their joint total fails. + assert np.sum(abs(residual[count:2 * count])) / (2 * count) < 1.0 + assert np.sum(abs(residual[2 * count:])) / (2 * count) < 1.0 + + +def test_fixed_algebraic_contacts_are_excluded_only_from_the_charge_sum(compiled): + count = compiled.node_count + residual = np.zeros(3 * count) + residual[count:] = 0.99 * 2 * count / (2 * count - len(fixed_rows(compiled))) + residual[fixed_rows(compiled)] = 0.75 + measured = balance_norm(compiled)(residual) + assert measured == pytest.approx(0.99, rel=2e-15) + assert measured < 1.0 + assert np.sum(abs(residual[count:])) / (2 * count) > 1.0 + + +@pytest.mark.parametrize("carrier, side", [("n", "left"), ("n", "right"), ("p", "left"), ("p", "right")]) +def test_finite_and_blocking_boundary_cells_remain_in_balance_sum(finite_contacts, carrier, side): + device = finite_contacts + count = device.node_count + assert device.channel(carrier, side).kind != "fixed_reservoir" + row = (count if carrier == "n" else 2 * count) + (0 if side == "left" else count - 1) + raw = np.zeros(3 * count) + raw[row] = 1.01 * SteadyOptions().continuity_tolerance_A_m2 / 1.602176634e-19 + scaled = production_residual_scaling(device).scaled(raw) + measured = balance_norm(device)(scaled) + assert measured == pytest.approx(1.01, rel=2e-15) + assert measured > 1.0 + + +def test_single_overbudget_row_can_meet_the_global_physical_budget(compiled): + count = compiled.node_count + residual = np.zeros(3 * count) + residual[count + count // 2] = 1.25 + assert np.max(abs(residual)) > 1.0 + assert balance_norm(compiled)(residual) == 1.25 / (2 * count) + + +@pytest.mark.parametrize("value", [math.nan, math.inf, -math.inf]) +def test_nonfinite_rows_fail_closed_in_every_block(compiled, value): + for row in (0, compiled.node_count, compiled.node_count + 2, 2 * compiled.node_count + 2): + residual = np.zeros(3 * compiled.node_count) + residual[row] = value + assert balance_norm(compiled)(residual) == math.inf + + +def controls(*, gates=()): + return NewtonSettings( + ResidualScaling(np.array([1.0, 3.0])), 1e-12, + StepControl(np.full(2, math.inf)), SolveBudget(60, 10000, 1000, 30), + tuple(gates), True, + ) + + +def coupled_problem(calls): + root = np.array([0.3, -1.2]) + matrix = np.array([[4.0, 1.0], [1.0, 3.0]]) + + def residual(u): + calls.append(u.copy()) + delta = u - root + return matrix @ delta + 0.5 * delta**2 + np.sin(delta) + + def jacobian(u): + delta = u - root + return matrix + np.diag(delta + np.cos(delta)) + + return CallableProblem(residual, jacobian) + + +def test_explicit_norm_cannot_mutate_merit_or_default_newton_trace(): + original_calls, callback_calls = [], [] + start = np.array([1.8, -2.2]) + original = solve_newton(coupled_problem(original_calls), start, controls()) + + def norm(values): + measured = float(np.max(abs(values))) + values[:] = math.nan + return measured + + explicit = solve_newton(coupled_problem(callback_calls), start, controls(), convergence_norm=norm) + assert original.accepted and explicit.accepted + assert original.iterations == explicit.iterations + assert original.residual_evaluations == explicit.residual_evaluations + assert original.jacobian_evaluations == explicit.jacobian_evaluations + assert original.state.tobytes() == explicit.state.tobytes() + assert len(original_calls) == len(callback_calls) + assert all(a.tobytes() == b.tobytes() for a, b in zip(original_calls, callback_calls)) + + +def test_different_stopping_norm_preserves_armijo_trials_and_row_max_refresh(): + original_calls, callback_calls = [], [] + start = np.array([1.8, -2.2]) + original = solve_newton(coupled_problem(original_calls), start, controls()) + explicit = solve_newton( + coupled_problem(callback_calls), start, controls(), + convergence_norm=lambda values: float(np.sum(abs(values))), + ) + assert original.accepted and explicit.accepted + assert len(callback_calls) >= len(original_calls) + assert all(a.tobytes() == b.tobytes() for a, b in zip(original_calls, callback_calls)) + raw = coupled_problem([]).residual(explicit.state) + assert explicit.scaled_residual == float(np.sum(abs(controls().scaling.scaled(raw)))) + + +def test_final_physical_gate_cannot_be_bypassed_by_a_norm_callback(): + gate = gate_from("wrong_branch", lambda u: 2.0, 1.0) + result = solve_newton( + coupled_problem([]), np.array([1.8, -2.2]), controls(gates=(gate,)), + convergence_norm=lambda values: 0.0, + ) + assert not result.accepted + assert result.termination == Termination.GATE_REJECTED + assert not result.gates[0].passed + + +@pytest.mark.parametrize("value", [math.nan, math.inf, -1.0]) +def test_invalid_norm_callback_outputs_cannot_accept(value): + with pytest.raises(ValueError, match="finite nonnegative"): + solve_newton(coupled_problem([]), np.zeros(2), controls(), convergence_norm=lambda values: value) + + +def test_unknown_policy_is_not_an_implicit_new_route(compiled): + with pytest.raises(ValueError, match="unknown"): + SteadyOptions(convergence_policy="unknown") + with pytest.raises(ValueError, match="unknown"): + production_convergence_norm(compiled, convergence_policy="unknown") diff --git a/tests/unit/solvers/test_frequency_domain.py b/tests/unit/solvers/test_frequency_domain.py new file mode 100644 index 00000000..b75ffdb2 --- /dev/null +++ b/tests/unit/solvers/test_frequency_domain.py @@ -0,0 +1,103 @@ +"""Small analytic complex systems, full residuals and bounded refusals.""" + +from __future__ import annotations + +import math + +import numpy as np +import pytest +from scipy.sparse import csc_matrix +from threadpoolctl import threadpool_limits + +from solarlab.solvers.linear import FrequencyOptions, FrequencySolveError, solve_frequency_systems + + +@pytest.fixture(scope="module", autouse=True) +def blas1(): + with threadpool_limits(limits=1): + yield + + +def test_parallel_resistor_capacitor_has_positive_admittance_parts(): + frequencies = np.array([0.0, 1.0, 1000.0]) + solutions = solve_frequency_systems(csc_matrix([[2.0]]), csc_matrix([[0.25]]), [1.0], frequencies) + for frequency, result in zip(frequencies, solutions): + admittance = 1.0 / result.solution[0] + np.testing.assert_allclose(admittance, 2.0 + 1j * 2 * math.pi * frequency * 0.25, rtol=3e-15) + assert admittance.real > 0.0 and admittance.imag >= 0.0 + assert result.componentwise_backward_error < 1e-14 + assert np.iscomplexobj(result.solution) and not result.solution.flags.writeable + + +def test_voltage_rate_forcing_is_retained(): + solutions = solve_frequency_systems( + csc_matrix([[2.0]]), csc_matrix([[0.25]]), [2.0], [0.0, 1000.0], rhs_rate=[0.25], + ) + for result in solutions: + np.testing.assert_allclose(result.solution, 1.0, rtol=3e-15) + + +def test_exact_algebraic_elimination_checks_all_original_rows(): + J = csc_matrix([[1.0, 0.0], [-1.0, 2.0]]) + K = csc_matrix([[0.0, 0.0], [0.0, 0.25]]) + for result in solve_frequency_systems(J, K, [0.0, 1.0], [0.0, 1000.0], fixed_coordinates={0: 0.0}): + assert result.solution[0] == 0.0 + residual = (J + 1j * 2 * math.pi * result.frequency_Hz * K) @ result.solution - [0.0, 1.0] + np.testing.assert_array_equal(result.residual, residual) + assert result.componentwise_backward_error < 1e-14 + + +def test_complex_rhs_and_large_row_scales_are_preserved(): + J = csc_matrix([[1e-20, 0.0], [0.0, 1e20]]) + b = np.array([1e-20 * (1 + 2j), 1e20 * (3 - 4j)]) + result = solve_frequency_systems(J, csc_matrix((2, 2)), b, [0.0])[0] + np.testing.assert_allclose(result.solution, [1 + 2j, 3 - 4j], rtol=3e-15) + + +def test_zero_frequency_singularity_is_explicit_without_regularization(): + with pytest.raises(FrequencySolveError, match="singular"): + solve_frequency_systems(csc_matrix([[0.0]]), csc_matrix([[1.0]]), [1.0], [0.0]) + result = solve_frequency_systems(csc_matrix([[0.0]]), csc_matrix([[1.0]]), [1.0], [1.0])[0] + np.testing.assert_allclose(result.solution[0], 1.0 / (2j * math.pi), rtol=3e-15) + + +@pytest.mark.parametrize("frequencies", [[], [-1.0], [math.nan], [math.inf], [1.0, 1.0], [1 + 2j], [1e308]]) +def test_invalid_frequencies_and_angular_overflow_are_rejected(frequencies): + with pytest.raises(ValueError): + solve_frequency_systems(csc_matrix([[1.0]]), csc_matrix([[1.0]]), [1.0], frequencies) + + +def test_frequency_count_is_bounded(): + with pytest.raises(ValueError, match="bounded"): + solve_frequency_systems( + csc_matrix([[1.0]]), csc_matrix([[1.0]]), [1.0], [0.0, 1.0], + options=FrequencyOptions(max_frequencies=1), + ) + + +@pytest.mark.parametrize("settings", [ + dict(max_frequencies=0), dict(relative_tolerance=0.0), + dict(relative_tolerance=math.nan), dict(max_refinements=-1), +]) +def test_numerical_controls_are_explicit_and_valid(settings): + with pytest.raises(ValueError): + FrequencyOptions(**settings) + + +def test_dynamic_or_coupled_rows_cannot_be_dropped_as_constraints(): + with pytest.raises(ValueError, match="algebraic"): + solve_frequency_systems( + csc_matrix(np.eye(2)), csc_matrix(np.eye(2)), [0.0, 1.0], [1.0], fixed_coordinates={0: 0.0}, + ) + with pytest.raises(ValueError, match="no free variables"): + solve_frequency_systems( + csc_matrix([[1.0, 1.0], [0.0, 1.0]]), csc_matrix((2, 2)), + [0.0, 1.0], [0.0], fixed_coordinates={0: 0.0}, + ) + + +def test_wrong_prescribed_values_fail_full_equations(): + with pytest.raises(FrequencySolveError): + solve_frequency_systems( + csc_matrix([[1.0]]), csc_matrix([[0.0]]), [1.0], [0.0], fixed_coordinates={0: 0.0}, + ) diff --git a/tests/unit/solvers/test_legacy_solver_parity.py b/tests/unit/solvers/test_legacy_solver_parity.py new file mode 100644 index 00000000..4f5865d7 --- /dev/null +++ b/tests/unit/solvers/test_legacy_solver_parity.py @@ -0,0 +1,230 @@ +"""Historical Newton loops, criteria and preparation (M class, bitwise). + +Every value is compared with the legacy engine (read-only import) on the same +inputs by ``tobytes()``; failures compare type family and message. The legacy +loops are called directly: ``_damped_newton`` with the same residual callable, +``_solve_newton_stage`` with a stub system wrapping the same residual. +""" + +from __future__ import annotations + +import math +from pathlib import Path +from types import SimpleNamespace +import warnings + +import numpy as np +import pytest + +from perovskite_sim.experiments import quasi_fermi_steady_state as legacy_qf +from perovskite_sim.experiments import steady_state as legacy_ss +from perovskite_sim.experiments.jv_sweep import build_electrical_grid +from perovskite_sim.models.config_loader import load_device_from_yaml +from perovskite_sim.scaps_compat import load_scaps_yaml +from perovskite_sim.solver import degenerate_equilibrium as legacy_degenerate +from perovskite_sim.solver import mol as legacy_mol +from perovskite_sim.solver import newton as legacy_newton + +from solarlab.solvers.nonlinear import ( + LEGACY_DEFAULT_ILLUMINATION_STAGES, LEGACY_INTERFACE_FALLBACK_ILLUMINATION_STAGES, + LegacyNewtonStageError, legacy_continuity_current_bound, legacy_damped_fd_newton, + legacy_illumination_stages, legacy_newton_stage, legacy_normalized_poisson_residual, + legacy_quasi_neutral_seed, legacy_steady_state_tolerances, +) + +ROOT = Path(__file__).resolve().parents[3] / "perovskite-sim" + + +def same(a, b): + a, b = np.asarray(a, dtype=float), np.asarray(b, dtype=float) + return a.shape == b.shape and a.tobytes() == b.tobytes() + + +def residual_family(rng, size): + """Smooth coupled systems with a known root, plus a matrix seed for variety.""" + A = rng.normal(size=(size, size)) + 3.0 * np.eye(size) + root = rng.normal(size=size) + scale = 10.0 ** rng.uniform(-2.0, 2.0) + + def F(z): + return scale * (A @ (z - root) + 0.3 * np.sin(z - root) + 0.05 * (z - root) ** 3) + return F, root + + +@pytest.mark.parametrize("seed", range(12)) +def test_damped_newton_matches_the_legacy_helper_bitwise(seed): + rng = np.random.default_rng(seed) + size = int(rng.integers(1, 7)) + F, root = residual_family(rng, size) + z0 = root + rng.normal(scale=float(rng.choice([0.1, 2.0, 8.0])), size=size) + for max_it, tol, tol_step in ((60, 1e-12, 1e-9), (2, 1e-12, 1e-9), (40, 1e-3, 1e-1)): + new = legacy_damped_fd_newton(F, z0, size, max_it=max_it, tol=tol, tol_step=tol_step) + old = legacy_ss._damped_newton(F, z0, size, max_it=max_it, tol=tol, tol_step=tol_step) + assert same(new[0], old[0]) and same(new[1], old[1]) + + +def test_damped_newton_matches_the_legacy_ridge_and_stall_paths(): + def singular(z): # column 1 never moves F: exact singular Jacobian + return np.array([z[0] ** 2 - 4.0, z[0] - 2.0]) + + def flat(z): # minimum away from a root: the line search stalls + return np.array([z[0] ** 2 + 1.0]) + + for F, z0, size in ((singular, np.array([3.0, 1.0]), 2), (flat, np.array([0.5]), 1)): + new = legacy_damped_fd_newton(F, z0, size, max_it=20, tol=1e-12) + old = legacy_ss._damped_newton(F, z0, size, max_it=20, tol=1e-12) + assert same(new[0], old[0]) and same(new[1], old[1]) + + +def stage_systems(rng, size): + F, root = residual_family(rng, size) + + def evaluate(z, fraction): + return F(z) + fraction * 0.1 + + legacy_system = SimpleNamespace(evaluate=lambda z, f: SimpleNamespace(residual=evaluate(z, f))) + return evaluate, legacy_system, root + + +def outcome(call): + try: + z, iterations = call() + return ("ok", np.asarray(z).tobytes(), iterations) + except RuntimeError as error: + return ("error", str(error)) + + +@pytest.mark.parametrize("seed", range(10)) +@pytest.mark.parametrize("rank_deficient", [False, True]) +def test_newton_stage_matches_the_legacy_qf_stage_bitwise(seed, rank_deficient): + rng = np.random.default_rng(100 + seed) + size = int(rng.integers(1, 6)) + evaluate, system, root = stage_systems(rng, size) + for fraction, start_scale, max_iterations, factor in ( + (1.0, 0.2, 40, 1.0), (1e-3, 4.0, 40, 1.0), (0.5, 4.0, 1, 1.0), + (0.0, 30.0, 3, 2.0)): + z0 = root + rng.normal(scale=start_scale, size=size) + kwargs = dict(finite_difference_step=1e-7, residual_tolerance=1e-10, + max_iterations=max_iterations, rank_deficient=rank_deficient, + near_tolerance_stagnation_factor=factor) + new = outcome(lambda: legacy_newton_stage(evaluate, z0, fraction, **kwargs)) + old = outcome(lambda: legacy_qf._solve_newton_stage(system, z0, fraction, **kwargs)) + assert new == old + + +def test_newton_stage_failure_messages_match_the_legacy_stage(): + def singular(z, fraction): + return np.array([z[0] ** 2 - 4.0 + fraction, 0.0 * z[1] + 1.0]) + + system = SimpleNamespace(evaluate=lambda z, f: SimpleNamespace(residual=singular(z, f))) + z0 = np.array([3.0, 1.0]) + kwargs = dict(finite_difference_step=1e-7, residual_tolerance=1e-10, max_iterations=10) + with pytest.raises(LegacyNewtonStageError) as new: + legacy_newton_stage(singular, z0, 0.25, **kwargs) + with pytest.raises(legacy_qf.QuasiFermiSteadyStateError) as old: + legacy_qf._solve_newton_stage(system, z0, 0.25, **kwargs) + assert str(new.value) == str(old.value) + zero = SimpleNamespace(evaluate=lambda z, f: SimpleNamespace(residual=np.ones(2))) + with pytest.raises(LegacyNewtonStageError) as new: + legacy_newton_stage(lambda z, f: np.ones(2), z0, 1.0, rank_deficient=True, **kwargs) + with pytest.raises(legacy_qf.QuasiFermiSteadyStateError) as old: + legacy_qf._solve_newton_stage(zero, z0, 1.0, rank_deficient=True, **kwargs) + assert str(new.value) == str(old.value) + + +@pytest.mark.parametrize("values", [ + LEGACY_DEFAULT_ILLUMINATION_STAGES, LEGACY_INTERFACE_FALLBACK_ILLUMINATION_STAGES, + (1.0,), (0.0, 0.5, 1.0), (), (0.0, 0.5), (0.5, 0.5, 1.0), (-0.1, 1.0), (0.0, math.nan, 1.0), +]) +@pytest.mark.parametrize("illuminated", [True, False]) +def test_illumination_stages_match_the_legacy_validation(values, illuminated): + def run(function): + try: + return ("ok", function(illuminated, values)) + except ValueError as error: + return ("error", str(error)) + assert run(legacy_illumination_stages) == run(legacy_qf._validate_illumination_steps) + assert LEGACY_DEFAULT_ILLUMINATION_STAGES == legacy_qf.DEFAULT_ILLUMINATION_STEPS + assert (LEGACY_INTERFACE_FALLBACK_ILLUMINATION_STAGES + == legacy_qf.INTERFACE_FALLBACK_ILLUMINATION_STEPS) + + +def stack_of(path): + loader = load_scaps_yaml if "scaps_mirror" in path else load_device_from_yaml + return loader(str(ROOT / path)) + + +@pytest.mark.parametrize("path", [ + "configs/scaps_mirror_v2.yaml", "tests/fixtures/configs/nip_MAPbI3.yaml", + "tests/fixtures/configs/ionmonger_benchmark.yaml", "tests/fixtures/configs/cigs_baseline.yaml", + "tests/fixtures/configs/cSi_homojunction.yaml", "tests/fixtures/configs/dual_ion_demo.yaml", +]) +def test_quasi_neutral_seed_matches_the_legacy_equilibrium_seed_bitwise(path): + stack = stack_of(path) + x = build_electrical_grid(stack, 40) + with warnings.catch_warnings(): + warnings.simplefilter("ignore") + mat = legacy_mol.build_material_arrays(x, stack) + y = legacy_newton.solve_equilibrium(x, stack) + state = legacy_mol.StateVec.unpack(y, x.size, mat.N_iface_state) + n, p = legacy_quasi_neutral_seed(mat.N_D, mat.N_A, mat.ni_sq, n_left=mat.n_L, + n_right=mat.n_R, p_left=mat.p_L, p_right=mat.p_R) + assert same(n, state.n) and same(p, state.p) + + +def test_normalized_poisson_residual_matches_the_degenerate_lane_bitwise(): + stack = load_device_from_yaml( + str(ROOT / "tests/fixtures/configs/csi_degenerate_pn_research.yaml")) + x = build_electrical_grid(stack, 40) + mat = legacy_mol.build_material_arrays( + x, stack, carrier_statistics_transport="research_recombination_off") + rng = np.random.default_rng(3) + for _ in range(50): + residual = rng.normal(scale=10.0 ** rng.uniform(-12, -2), size=x.size - 2) + new = legacy_normalized_poisson_residual( + residual, face_capacitance_F_m2=mat.poisson_factor.C, + interior_widths_m=mat.poisson_factor.h_cell, acceptor_density_m3=mat.N_A, + donor_density_m3=mat.N_D, V_bi_bc=mat.V_bi_bc, thermal_voltage_V=mat.V_T_device) + assert same(new, legacy_degenerate._normalized_poisson_residual(residual, mat)) + # The bulk-trap lane adds the trap density to the reference (same expression). + trap = legacy_normalized_poisson_residual( + residual, face_capacitance_F_m2=mat.poisson_factor.C, + interior_widths_m=mat.poisson_factor.h_cell, acceptor_density_m3=mat.N_A, + donor_density_m3=mat.N_D, V_bi_bc=mat.V_bi_bc, thermal_voltage_V=mat.V_T_device, + trap_density_m3=0.0) + assert same(trap, legacy_degenerate._normalized_poisson_residual(residual, mat)) + + +def test_steady_state_tolerances_and_current_bound_match_a_legacy_solve(): + stack = load_device_from_yaml(str(ROOT / "tests/fixtures/configs/nip_MAPbI3.yaml")) + x = build_electrical_grid(stack, 24) + with warnings.catch_warnings(): + warnings.simplefilter("ignore") + mat = legacy_mol.build_material_arrays(x, stack) + y0 = legacy_newton.solve_equilibrium(x, stack) + # The legacy driver takes n_ref after its QFL-preserving Poisson relaxation. + relaxed = legacy_ss._qfl_poisson_relax(x, mat, y0, 0.0) + try: # without transient assists the legacy Newton may stall from this seed + result = legacy_ss.solve_steady_state(x, stack, 0.0, illuminated=False, y0=y0, + mat=mat, assist_times=()) + residual, bound = result.residual, result.continuity_current_bound + except legacy_ss.SteadyStateError as error: + result = None + residual, bound = error.best_residual, error.continuity_current_bound + N = x.size + tolerances = legacy_steady_state_tolerances( + tol=1.0e-6, tol_accept=0.5, max_continuity_current_error=0.1, + n_ref=float(np.max(relaxed[: 2 * N])), device_width_m=float(x[-1] - x[0])) + assert residual is not None and math.isfinite(residual) + assert same(legacy_continuity_current_bound(tolerances, residual), bound) + if result is not None and result.acceptance == "residual_converged": + assert result.residual < tolerances.residual_tolerance + for bad in (0.0, -1.0, math.nan, math.inf): + with pytest.raises(ValueError, match="max_continuity_current_error must be finite"): + legacy_steady_state_tolerances(tol=1e-6, tol_accept=0.5, + max_continuity_current_error=bad, n_ref=1e24, + device_width_m=1e-7) + with pytest.raises(RuntimeError, match="finite continuity-current"): + legacy_steady_state_tolerances(tol=1e-6, tol_accept=0.5, + max_continuity_current_error=0.1, n_ref=0.0, + device_width_m=1e-7) diff --git a/tests/unit/solvers/test_nonlinear_analytic.py b/tests/unit/solvers/test_nonlinear_analytic.py new file mode 100644 index 00000000..93ca7dbe --- /dev/null +++ b/tests/unit/solvers/test_nonlinear_analytic.py @@ -0,0 +1,385 @@ +"""Unified DC nonlinear layer on analytic problems (N class, V1 P04-04 'analytic basis'). + +Quadratic convergence, damping of overshooting steps, direction-preserving +step limits, feasible bounds, Jacobian reuse with rebuild, explicit failure +reasons and budgets, gate (wrong-branch) rejection, bounded continuation with +traceable starts, bounded PTC, domain inventories, frozen fields, the DC port +constraint and the fail-closed P04-B switch points. +""" + +from __future__ import annotations + +import math + +import numpy as np +import pytest +from scipy.sparse import csc_matrix + +from solarlab.discretization import bernoulli +from solarlab.solvers.nonlinear import production +from solarlab.solvers.nonlinear.constraints import ( + TRANSIENT_CONDUCTION_CURRENT, DcPortProblem, DomainInventory, FrozenVariables, + InventoryConstrainedProblem, PortConstraintError, augmented_start, +) +from solarlab.solvers.nonlinear.continuation import ( + PREVIOUS, SECANT, ContinuationSettings, solve_continuation, +) +from solarlab.solvers.nonlinear.newton import NewtonSettings, Termination, gate_from, solve_newton +from solarlab.solvers.nonlinear.problem import ( + CallableProblem, ResidualScaling, SolveBudget, StepControl, state_digest, +) +from solarlab.solvers.nonlinear.ptc import PtcResult, PtcSettings, solve_ptc + +EPS = float(np.finfo(float).eps) + + +def settings(size, *, tol=1e-12, max_step=math.inf, lower=None, upper=None, gates=(), + reuse=False, iterations=60, backtracks=30, weights=None): + return NewtonSettings( + ResidualScaling(np.ones(size) if weights is None else weights), tol, + StepControl(np.full(size, max_step), lower, upper), + SolveBudget(iterations, 100_000, 1_000, backtracks), tuple(gates), reuse) + + +def problem(F, J): + return CallableProblem(lambda u: np.atleast_1d(F(u)), lambda u: np.atleast_2d(J(u))) + + +def coupled(root): + A = np.array([[4.0, 1.0, 0.0], [1.0, 3.0, 0.5], [0.0, 0.5, 2.0]]) + + def F(u): + d = u - root + return A @ d + 0.5 * d ** 2 + np.sin(d) + + def J(u): + d = u - root + return A + np.diag(d + np.cos(d)) + return problem(F, J) + + +def test_newton_converges_quadratically_on_a_smooth_system(): + root = np.array([0.3, -1.2, 2.5]) + result = solve_newton(coupled(root), root + np.array([0.4, -0.3, 0.5]), settings(3)) + assert result.accepted and result.termination is Termination.CONVERGED + np.testing.assert_allclose(result.state, root, rtol=0, atol=8 * EPS * 3) + norms = [record.scaled_residual for record in result.iterations] + pairs = [(a, b) for a, b in zip(norms[:-1], norms[1:]) if 1e-12 < a < 1e-2 and b > 0] + assert pairs and all(b <= 20.0 * a * a for a, b in pairs) + assert all(record.backtracks == 0 for record in result.iterations[1:]) + + +def test_damping_controls_an_overshooting_newton_step(): + arctan = problem(np.arctan, lambda u: 1.0 / (1.0 + u * u)) + damped = solve_newton(arctan, np.array([10.0]), settings(1)) + assert damped.accepted and abs(damped.state[0]) < 1e-14 + assert damped.iterations[0].backtracks > 0 + undamped = solve_newton(arctan, np.array([10.0]), settings(1, backtracks=0)) + assert not undamped.accepted and undamped.termination is Termination.LINE_SEARCH_FAILED + + +def test_step_limit_shortens_the_whole_step_and_keeps_its_direction(): + target = np.array([3.0, 6.0]) + linear = problem(lambda u: u - target, lambda u: np.eye(2)) + result = solve_newton(linear, np.zeros(2), settings(2, max_step=1.0)) + assert result.accepted and result.iteration_count == 6 + np.testing.assert_allclose([r.damping for r in result.iterations], + [1 / 6, 1 / 5, 1 / 4, 1 / 3, 1 / 2, 1.0], rtol=1e-14) + np.testing.assert_allclose(result.state, target, rtol=0, atol=8 * EPS) + + +def test_feasible_bounds_keep_every_trial_inside_the_domain(): + calls = [] + + def F(u): + calls.append(float(u[0])) + return np.log(u) + 18.420680743952367 # root 1e-8, undefined for u <= 0 + + result = solve_newton(problem(F, lambda u: 1.0 / u), np.array([1.0]), + settings(1, lower=np.zeros(1), iterations=200)) + assert result.accepted and result.state[0] == pytest.approx(1e-8, rel=1e-12) + assert min(calls) > 0.0 + infeasible = solve_newton(problem(F, lambda u: 1.0 / u), np.array([-1.0]), + settings(1, lower=np.zeros(1))) + assert infeasible.termination is Termination.INFEASIBLE_START + + +def test_jacobian_reuse_rebuilds_a_stale_factor_and_matches_full_newton(): + root = np.array([0.3, -1.2, 2.5]) + start = root + np.array([1.5, -1.0, 1.2]) + full = solve_newton(coupled(root), start, settings(3)) + reused = solve_newton(coupled(root), start, settings(3, reuse=True)) + assert full.accepted and reused.accepted + # Both stop at |F| <= 1e-12; the states then agree within tol / sigma_min(J) < 1e-12. + np.testing.assert_allclose(reused.state, full.state, rtol=0, atol=1e-12) + assert reused.jacobian_evaluations < full.jacobian_evaluations + assert reused.jacobian_evaluations > 1 # a stale factor was rebuilt + assert any(not record.fresh_jacobian for record in reused.iterations) + + +def test_failures_are_explicit_and_bounded(): + arctan = problem(np.arctan, lambda u: 1.0 / (1.0 + u * u)) + budget = solve_newton(arctan, np.array([10.0]), settings(1, iterations=2)) + assert budget.termination is Termination.BUDGET_EXHAUSTED and "budget" in budget.message + singular = problem(lambda u: np.array([u[0] ** 2 - 4.0, u[0] - 2.0]), + lambda u: np.array([[2.0 * u[0], 0.0], [1.0, 0.0]])) + result = solve_newton(singular, np.array([3.0, 1.0]), settings(2)) + assert result.termination is Termination.SINGULAR_JACOBIAN and not result.accepted + nan_start = solve_newton(problem(lambda u: np.sqrt(u - 1.0), lambda u: 1.0), + np.array([0.0]), settings(1)) + assert nan_start.termination is Termination.NONFINITE_RESIDUAL + + +def test_nonfinite_trials_are_backtracked_not_accepted(): + def F(u): # defined only below 5; the first full Newton step lands at 10 + return np.where(u < 5.0, u - 2.0 + 0.0 * np.sqrt(5.0 - u), np.nan) + + result = solve_newton(problem(F, lambda u: 1.0), np.array([-6.0]), settings(1)) + assert result.accepted and result.state[0] == pytest.approx(2.0, abs=1e-14) + + +def test_a_converged_residual_on_the_wrong_branch_is_rejected_by_its_gate(): + square = problem(lambda u: u * u - 4.0, lambda u: 2.0 * u) + positive = gate_from("positive_root", lambda u: -float(u[0]), 0.0, "physical root is u>0") + wrong = solve_newton(square, np.array([-3.0]), settings(1, gates=[positive])) + assert wrong.termination is Termination.GATE_REJECTED and not wrong.accepted + assert wrong.scaled_residual <= 1e-12 and wrong.state[0] == pytest.approx(-2.0) + assert "positive_root" in wrong.message and not wrong.gates[0].passed + right = solve_newton(square, np.array([3.0]), settings(1, gates=[positive])) + assert right.accepted and right.gates[0].passed + + +def test_controls_have_no_defaults_and_validate_their_inputs(): + with pytest.raises(TypeError): + NewtonSettings(ResidualScaling(np.ones(2)), 1e-10) # type: ignore[call-arg] + with pytest.raises(ValueError): + ResidualScaling(np.array([1.0, 0.0])) + with pytest.raises(ValueError): + StepControl(np.ones(2), lower=np.zeros(3)) + with pytest.raises(ValueError): + settings(2, tol=0.0) + # Acceptance follows the caller's weights: a heavier row needs a smaller residual. + linear = problem(lambda u: u - 1.0 + 1e-9, lambda u: np.eye(1)) + loose = solve_newton(linear, np.array([1.0]), settings(1, tol=1e-8, iterations=0 + 1)) + assert loose.accepted and loose.iteration_count == 0 + heavy = solve_newton(linear, np.array([1.0]), settings(1, tol=1e-8, weights=np.array([1e3]))) + assert heavy.accepted and heavy.iteration_count == 1 + + +def test_sparse_jacobians_are_supported(): + root = np.array([0.3, -1.2, 2.5]) + dense = coupled(root) + sparse = CallableProblem(dense.residual, lambda u: csc_matrix(dense.jacobian(u))) + a = solve_newton(dense, root + 0.4, settings(3)) + b = solve_newton(sparse, root + 0.4, settings(3)) + assert a.accepted and b.accepted + np.testing.assert_allclose(a.state, b.state, rtol=0, atol=8 * EPS * 3) + + +def arctan_family(s): + return problem(lambda u: np.arctan(u - s), lambda u: 1.0 / (1.0 + (u - s) ** 2)) + + +def undamped_newton(target_problem, guess): + return solve_newton(target_problem, guess, settings(1, backtracks=0, iterations=40)) + + +def continuation(max_step=4.0, min_step=0.05, cuts=6, attempts=40, predictor=PREVIOUS): + return ContinuationSettings(max_step, min_step, cuts, attempts, predictor, 2.0) + + +def test_continuation_recovers_by_cutting_and_never_seeds_from_a_failure(): + result = solve_continuation(arctan_family, np.array([0.0]), 0.0, [4.0], undamped_newton, + continuation()) + assert result.completed and result.failure is None + assert result.points[-1].parameter == 4.0 and result.points[-1].requested + assert any(not attempt.accepted for attempt in result.attempts) + accepted_digests = {state_digest(point.state) for point in result.points} + for attempt in result.attempts[1:]: + # Every attempt was built from an accepted state and (previous predictor) + # started exactly there. + assert attempt.base_digest in accepted_digests + assert attempt.start_digest == attempt.base_digest + for point in result.points: + assert point.result.accepted + + +def test_continuation_failure_is_bounded_and_diagnosed(): + result = solve_continuation(arctan_family, np.array([0.0]), 0.0, [4.0], undamped_newton, + continuation(min_step=2.0, cuts=1)) + assert not result.completed and "consecutive cuts" in result.failure + assert result.points[-1].parameter == 0.0 + assert all(attempt.termination is not Termination.CONVERGED + for attempt in result.attempts[1:]) + budget = solve_continuation(arctan_family, np.array([0.0]), 0.0, [4.0], undamped_newton, + continuation(attempts=2)) + assert not budget.completed and "attempt budget" in budget.failure + + +def test_secant_predictor_only_uses_accepted_states(): + family = lambda s: problem(lambda u: u - s * s, lambda u: np.eye(1)) # noqa: E731 + result = solve_continuation(family, np.array([0.0]), 0.0, [0.5, 1.0, 1.5], undamped_newton, + continuation(max_step=0.5, predictor=SECANT)) + assert result.completed + secant = [attempt for attempt in result.attempts if attempt.predictor == SECANT] + assert secant and all(attempt.start_digest != attempt.base_digest for attempt in secant) + np.testing.assert_allclose([p.state[0] for p in result.requested_points()], + [0.0, 0.25, 1.0, 2.25], rtol=0, atol=1e-14) + + +def test_staged_preparation_relaxes_only_intermediate_stages(): + family = lambda s: problem(lambda u: np.arctan(u - s) + 1e-11, lambda u: 1.0 / ( # noqa: E731 + 1.0 + (u - s) ** 2)) + stages = [1e-6, 1e-3, 1.0] + + def newton(target, guess): + return solve_newton(target, guess, settings(1, tol=1e-12, iterations=40)) + + result = solve_continuation(family, np.array([0.0]), 0.0, stages, newton, + continuation(max_step=1.0)) + assert result.completed + assert [point.parameter for point in result.requested_points()] == [0.0, *stages] + assert result.points[-1].result.scaled_residual <= 1e-12 + + +def cubic(): + return problem(lambda u: u ** 3 - 2.0 * u + 2.0, lambda u: 3.0 * u * u - 2.0) + + +def ptc_settings(steps=200, max_dtau=1e6): + return PtcSettings(np.ones(1), 0.1, 1e-8, max_dtau, steps, 1e-3, ResidualScaling(np.ones(1)), + StepControl(np.full(1, math.inf))) + + +def test_ptc_reaches_a_steady_state_that_newton_misses_and_records_a_numerical_path(): + newton = solve_newton(cubic(), np.array([0.0]), settings(1, iterations=40)) + assert not newton.accepted # the merit has a local minimum near u = 0.8 + result = solve_ptc(cubic(), np.array([0.0]), ptc_settings(), + lambda target, guess: solve_newton(target, guess, settings(1))) + assert result.accepted and result.newton is not None and result.newton.accepted + root = result.state[0] + assert root ** 3 - 2.0 * root + 2.0 == pytest.approx(0.0, abs=1e-12) + assert result.pseudo_history and result.physical_history is False + with pytest.raises(ValueError, match="never a physical"): + PtcResult(True, "converged", None, (), "", "", physical_history=True) + bounded = solve_ptc(cubic(), np.array([0.0]), ptc_settings(steps=3, max_dtau=0.1), + lambda target, guess: solve_newton(target, guess, settings(1))) + assert not bounded.accepted and bounded.termination == "budget_exhausted" + + +def ion_problem(potential, blocking_faces, V_T=0.025852, k=1.0): + """Steady single positive species in a fixed potential; u = ln c.""" + size = potential.size + D = (potential[1:] - potential[:-1]) / V_T + kf = np.where(np.isin(np.arange(size - 1), blocking_faces), 0.0, k) + + def flux(c): + return kf * (bernoulli(D) * c[:-1] - bernoulli(-D) * c[1:]) + + def residual(u): + c = np.exp(u) + F = flux(c) + r = np.zeros(size) + r[:-1] -= F + r[1:] += F + return r + + def jacobian(u): + c = np.exp(u) + J = np.zeros((size, size)) + left, right = kf * bernoulli(D) * c[:-1], -kf * bernoulli(-D) * c[1:] + faces = np.arange(size - 1) + for sign, cell in ((-1.0, faces), (1.0, faces + 1)): + J[cell, faces] += sign * left + J[cell, faces + 1] += sign * right + return J + return CallableProblem(residual, jacobian) + + +def test_domain_inventories_close_the_rank_deficient_ion_steady_state(): + x = np.linspace(0.0, 1.0, 13) + potential = 0.1 * np.sin(3.0 * x) + 0.05 * x + base = ion_problem(potential, blocking_faces=[6]) # face 6 splits two closed domains + weights = np.full(13, 1.0 / 12) + domains = (DomainInventory("left", np.arange(0, 7), weights[:7], 3.0e23, 3), + DomainInventory("right", np.arange(7, 13), weights[7:], 1.0e23, 9)) + constrained = InventoryConstrainedProblem(base, domains, np.exp, np.exp) + u0 = np.full(13, math.log(2.0e24)) + plain = solve_newton(base, u0, settings(13)) + assert not plain.accepted # singular: profile scale is undetermined + result = solve_newton(constrained, u0, settings(13, weights=np.full(13, 1e-24))) + assert result.accepted + c = np.exp(result.state) + for domain in domains: + boltzmann = np.exp(-potential[domain.indices] / 0.025852) + expected = domain.inventory * boltzmann / np.dot(domain.weights, boltzmann) + np.testing.assert_allclose(c[domain.indices], expected, rtol=1e-12) + for name, value in constrained.inventories(result.state).items(): + target = {"left": 3.0e23, "right": 1.0e23}[name] + assert value == pytest.approx(target, rel=1e-13) + with pytest.raises(ValueError, match="overlap"): + InventoryConstrainedProblem(base, (domains[0], DomainInventory( + "x", np.arange(5, 9), weights[5:9], 1e23, 6)), np.exp, np.exp) + with pytest.raises(ValueError, match="belong to the domain"): + DomainInventory("bad", np.arange(0, 3), weights[:3], 1e23, 5) + + +def test_frozen_variables_keep_the_complete_profile_bitwise(): + x = np.linspace(0.0, 1.0, 13) + potential = 0.1 * np.sin(3.0 * x) + base = ion_problem(potential, blocking_faces=[6]) + frozen_profile = np.log(np.geomspace(1e22, 5e23, 6)) + weights = np.full(13, 1.0 / 12) + left = InventoryConstrainedProblem( + base, (DomainInventory("left", np.arange(0, 7), weights[:7], 3.0e23, 3),), + np.exp, np.exp) + frozen = FrozenVariables(left, np.arange(7, 13), frozen_profile, 13) + result = solve_newton(frozen, np.full(7, math.log(1e24)), + settings(7, weights=np.full(7, 1e-24))) + assert result.accepted + full = frozen.expand(result.state) + assert full[7:].tobytes() == frozen_profile.tobytes() + assert frozen.restrict(full).tobytes() == result.state.tobytes() + + +def diode(J0=1e-9, J_ph=200.0, V_T=0.025852): + def problem_at(V): + return CallableProblem(lambda u: u - V, lambda u: np.eye(1)) + + def current(u, V): + return J0 * math.expm1(u[0] / V_T) - J_ph + + return DcPortProblem( + problem_at, lambda u, V: np.array([-1.0]), current, + lambda u, V: np.array([J0 * math.exp(u[0] / V_T) / V_T]), lambda u, V: 0.0, + current_scale=J_ph) + + +def test_direct_voc_closes_on_the_dc_terminal_current(): + port = diode() + result = solve_newton(port, augmented_start(np.array([0.5]), 0.5), + settings(2, max_step=0.1, iterations=80)) + assert result.accepted + expected = 0.025852 * math.log1p(200.0 / 1e-9) + assert result.state[-1] == pytest.approx(expected, rel=1e-13) + with pytest.raises(PortConstraintError, match="TPV"): + DcPortProblem(port.problem_at, port.dresidual_dV, port.terminal_current, + port.terminal_current_gradient, port.terminal_current_dV, 1.0, + kind=TRANSIENT_CONDUCTION_CURRENT) + with pytest.raises(PortConstraintError, match="unknown"): + DcPortProblem(port.problem_at, port.dresidual_dV, port.terminal_current, + port.terminal_current_gradient, port.terminal_current_dV, 1.0, + kind="median_current") + + +@pytest.mark.parametrize("name", [ + "production_steady_problem", + "production_steady_linearization", + "production_residual_scaling", + "production_coordinates", +]) +def test_production_bindings_require_an_explicit_compiled_problem(name): + # Positive physical bindings are exercised by integration/test_core_1d.py; + # calling them without a compiled device/problem cannot select a fallback. + with pytest.raises(TypeError, match="required"): + getattr(production, name)() diff --git a/tests/unit/solvers/test_runtime_import_boundary.py b/tests/unit/solvers/test_runtime_import_boundary.py new file mode 100644 index 00000000..ed5a7cc2 --- /dev/null +++ b/tests/unit/solvers/test_runtime_import_boundary.py @@ -0,0 +1,105 @@ +"""Solver imports stay below experiment orchestration in a fresh process.""" +from __future__ import annotations + +import json +import os +from pathlib import Path +import subprocess +import sys + + +ROOT = Path(__file__).resolve().parents[3] +PROBE = """ +import importlib +import json +from pathlib import Path +import pkgutil +import sys + +import solarlab + +expected = Path(sys.argv[1]).resolve() +actual = Path(solarlab.__file__).resolve() +assert actual == expected, (actual, expected) + +import solarlab.solvers as solvers + +if len(sys.argv) > 2: + solvers.__path__.append(sys.argv[2]) + +modules = [] +for module in pkgutil.walk_packages(solvers.__path__, solvers.__name__ + "."): + importlib.import_module(module.name) + modules.append(module.name) + +forbidden = sorted(name for name in sys.modules if name.startswith("solarlab.experiments")) +print(json.dumps({"solarlab": str(actual), "modules": modules, "forbidden": forbidden})) +assert not forbidden, "solver imports loaded experiment modules: " + repr(forbidden) +""" + + +def run_guard(extra_path: Path | None = None) -> subprocess.CompletedProcess[str]: + command = [sys.executable, "-B", "-c", PROBE, str(ROOT / "src/solarlab/__init__.py")] + if extra_path is not None: + command.append(str(extra_path)) + # Keep the caller's interpreter and installation binding; -I discards + # environment-based checkout bindings used by ordinary CI. + return subprocess.run(command, cwd=ROOT, env=dict(os.environ), text=True, + capture_output=True, timeout=60, check=False) + + +def test_solver_imports_do_not_load_experiments(): + result = run_guard() + assert result.returncode == 0, result.stdout + result.stderr + document = json.loads(result.stdout) + assert document["modules"] + assert document["forbidden"] == [] + + +def test_solver_import_guard_detects_injected_experiment_import(tmp_path): + (tmp_path / "boundary_probe.py").write_text("import solarlab.experiments\n") + result = run_guard(tmp_path) + assert result.returncode != 0 + document = json.loads(result.stdout) + assert "solarlab.solvers.boundary_probe" in document["modules"] + assert "solarlab.experiments" in document["forbidden"] + assert "solver imports loaded experiment modules" in result.stderr + + +def test_reproducibility_exports_are_lazy_and_keep_identity(): + probe = """ +import importlib +from pathlib import Path +import sys + +import solarlab +import solarlab.reproducibility as package + +assert Path(solarlab.__file__).resolve() == Path(sys.argv[1]).resolve() +assert "solarlab.reproducibility.registry" not in sys.modules +assert "solarlab.reproducibility.sources" not in sys.modules +assert not any(name.startswith("solarlab.experiments") for name in sys.modules) +assert set(package.__all__) <= set(dir(package)) +providers = { + "MigrationRegistry": "registry", + "load_registry": "registry", + "validate_registry_pair": "registry", + "SourceRef": "sources", + "SourceSet": "sources", + "read_sources": "sources", +} +assert package.__all__ == list(providers) +for name, provider in providers.items(): + value = getattr(package, name) + assert value is getattr(importlib.import_module(package.__name__ + "." + provider), name) + assert package.__dict__[name] is value +namespace = {} +exec("from solarlab.reproducibility import *", namespace) +assert all(namespace[name] is getattr(package, name) for name in providers) +assert not hasattr(package, "missing_export") +""" + result = subprocess.run( + [sys.executable, "-B", "-c", probe, str(ROOT / "src/solarlab/__init__.py")], + cwd=ROOT, env=dict(os.environ), text=True, capture_output=True, timeout=60, check=False, + ) + assert result.returncode == 0, result.stdout + result.stderr diff --git a/tests/unit/solvers/time/bdf_benchmark.py b/tests/unit/solvers/time/bdf_benchmark.py new file mode 100644 index 00000000..dc9d5400 --- /dev/null +++ b/tests/unit/solvers/time/bdf_benchmark.py @@ -0,0 +1,313 @@ +"""Bounded reproducible fit data and work-precision evidence (no legacy solve). + +Run one mode per supervised command with BLAS1. Each result is updated after +every solve, preserving the first failure and all completed measurements. +""" + +from dataclasses import fields, replace +import argparse +import hashlib +import json +from pathlib import Path +import subprocess +import sys +import time +import types + +import numpy as np +from threadpoolctl import threadpool_limits + +from examples.research_1d.steady import load_device +from examples.research_1d.transient import controls as electronic_controls, json_value +from examples.research_1d.ionic_transient import controls as ionic_controls +from examples.research_1d.ionic_multilayer import prepare_confined_ion_device +from examples.research_1d.ionic_steady import controls as steady_ionic_controls +from solarlab.device.compile_1d import compile_device_1d +from solarlab.device.compile_ionic_1d import compile_ionic_device_1d +from solarlab.equations.dc_1d import DC1DProblem +from solarlab.equations.ionic_1d import Ionic1DProblem +from solarlab.experiments.transient import TransientProtocol, solve_transient +from solarlab.experiments.ionic_transient import load_ionic_steady_initial, solve_ionic_transient +from solarlab.solvers.nonlinear.steady_1d import SteadyOptions, solve_steady_state +from solarlab.solvers.nonlinear.ionic_1d import solve_ionic_steady_state +from solarlab.solvers.time.bdf import BDFOptions, solve_bdf +from solarlab.solvers.time.bdf_1d import BDFDrive, ElectronicStorage1D, IonicStorage1D +from solarlab.solvers.nonlinear.newton import NewtonSettings +from solarlab.solvers.nonlinear.newton import NewtonResult, IterationRecord, Termination +from solarlab.solvers.nonlinear.problem import ResidualScaling, StepControl, SolveBudget, GateOutcome + + +def generic_controls(step): + count = len(step.history[0].u) + return NewtonSettings(ResidualScaling(np.ones(count)), 1e-12, + StepControl(np.full(count, 1e30)), SolveBudget(20, 100, 20, 10), (), False) + + +def baseline_driver(name): + """Actual base-commit driver source with byte-verified unchanged BE laws.""" + base = "c7b3fa61e2011b534774a49b0562ad437acb2253" + for file in ("backward_euler.py", "ionic_backward_euler.py", "multiple_ionic_backward_euler.py"): + path = "src/solarlab/solvers/time/" + file + raw = subprocess.check_output(["git", "show", base + ":" + path]) + assert raw == Path(path).read_bytes(), "BE baseline source changed" + path = "src/solarlab/experiments/" + name + ".py" + raw = subprocess.check_output(["git", "show", base + ":" + path]) + module = types.ModuleType("base_c7_" + name) + module.__file__ = "c7b3fa61:" + path + sys.modules[module.__name__] = module + exec(compile(raw, module.__file__, "exec"), module.__dict__) + return module, hashlib.sha256(raw).hexdigest() + + +def restore_electronic_initial(device, raw): + def newton(item): + data = dict(item) + data["state"] = np.asarray(data["state"]) + data["termination"] = Termination(data["termination"]) + data["gates"] = tuple(GateOutcome(**g) for g in data["gates"]) + data["iterations"] = tuple(IterationRecord(**g) for g in data["iterations"]) + return NewtonResult(**data) + from solarlab.solvers.nonlinear.steady_1d import SteadyState1D + data = dict(raw) + state = device.state(np.asarray(data["state"]["u"]), voltage_V=data["voltage_V"]) + for name in ("potential_V", "electron_density_m3", "hole_density_m3"): + np.testing.assert_array_equal(getattr(state, name), data["state"][name]) + data["state"] = state + data["newton"] = newton(data["newton"]) + data["preparation"] = tuple(newton(g) for g in data["preparation"]) + return SteadyState1D(**data) + + +def write(path, record): + path.write_text(json.dumps(json_value(record), indent=2, allow_nan=False) + "\n") + + +def fit(ns, values): + h = 1 / np.asarray(ns, dtype=float) + error = np.asarray(values, dtype=float) + return {"h_relative": h, "errors": error, "observed_order": float(np.polyfit(np.log(h), np.log(error), 1)[0])} + + +def analytic(output): + class Modes: + weights = np.array([1.0, 2.0, .5]) + rates = np.array([1.0, 3.0, 7.0]) + def storage(self, u): + return self.weights * u + def storage_tangent(self, u): + return np.diag(self.weights) + def residual(self, u): + return -self.rates * self.storage(u) + def jacobian(self, u): + return -np.diag(self.rates * self.weights) + model = Modes() + record = {"case": "three analytic RC/diffusion modes", "rates_s1": model.rates, + "capacity_weights": model.weights, "runs": [], "fits": {}, "qualification": False} + for order in (1, 2): + errors, ns = [], [16, 32, 64, 128] + for n in ns: + result = solve_bdf(lambda t, side: model, np.ones(3), (0.0, 1.0), + options=BDFOptions(1 / n, max_order=order, adaptive=False), settings=generic_controls) + error = float(np.max(abs(result.accepted_coordinates[-1] - np.exp(-model.rates)))) + errors.append(error) + record["runs"].append({"method": "BDF" + str(order), "n": n, "error": error, "result": result}) + write(output, record) + if not result.completed: + raise RuntimeError("first analytic failure retained") + record["fits"][str(order)] = fit(ns, errors) + write(output, record) + return record + + +class QuadraticDrive(BDFDrive): + def values(self, t, side="right"): + return 0.0, 1.0 + .01 * (t / 4e-7)**2 + + +class CubicDiagnosticDrive(BDFDrive): + def values(self, t, side="right"): + return 0.0, 1.0 + .1 * (t / 4e-7)**3 + + +def diagnostic(output): + original_path = output.with_name("Electronic.json") + original = json.loads(original_path.read_bytes()) + device = compile_device_1d(load_device(), intervals_per_layer=12) + initial = restore_electronic_initial(device, original["initial"]) + admission = SteadyOptions() + controls = replace(electronic_controls(), max_steps=4096, wall_s=90.0) + drive = CubicDiagnosticDrive(np.array([0, 4e-7]), np.array([[0, 1], [0, 1.1]]), np.array([[0, 1], [0, 1.1]])) + request = TransientProtocol([0, 4e-7], [0, 0], [1, 1.1]) + record = {"case": "same37-node400ns device; labelled smooth cubic diagnostic", "runs": [], + "diagnostic_manufactured_forcing": "generation_scale=1+0.1*(t/4e-7)^3; not a product protocol", + "initial_layer_policy": "reuse accepted steady g=1; g_prime(0)=g_second(0)=0", + "initial_source_sha256": hashlib.sha256(original_path.read_bytes()).hexdigest(), + "new_initial_solves": 0, "physical_controls": controls, "fits": {}, "qualification": False} + finals = [] + ns = [2, 4, 8, 16, 32, 64, 128] + for n in ns: + result = solve_transient(device, initial, request, options=controls, initial_options=admission, + method="bdf", bdf_options=BDFOptions(4e-7 / n, adaptive=False, max_order=2, + wall_s=90, min_step_s=1e-23), bdf_drive=drive) + value = ElectronicStorage1D(DC1DProblem(device, 0, 1.1)).physical_storage(result.accepted_coordinates[-1]) + finals.append(value) + record["runs"].append({"n": n, "final_inventory": value, "result": result}) + write(output, record) + if not result.completed: + raise RuntimeError("first diagnostic failure retained: " + result.termination) + differences = [float(np.max(abs(a - b))) for a, b in zip(finals[:-1], finals[1:])] + floor = max(float(original["fits"]["2"]["errors"][-1]), differences[-1]) + eligible = [index for index, error in enumerate(differences) if error >= 10 * floor] + record["precision_floor_inventory_units"] = floor + record["all_refinement_differences"] = differences + record["eligible_step_counts"] = [ns[index] for index in eligible] + record["order_interpretation_gate"] = "differences must exceed measured floor by>=10x" + if len(eligible) >= 3: + record["fits"]["2"] = fit([ns[index] for index in eligible], [differences[index] for index in eligible]) + else: + record["order_unresolved"] = "fewer than three differences above10x measured floor" + record["original_quadratic_status"] = "order_unresolved: final precision floor and startup/stiff reduction; neither passed nor failed" + baseline, source_sha = baseline_driver("transient") + t = np.linspace(0, 4e-7, 5) + protocol = baseline.TransientProtocol(t, np.zeros(5), 1 + .01 * (t / t[-1])**2) + old_controls = baseline.TransientOptions(**{f.name: getattr(controls, f.name) for f in fields(controls)}) + old = baseline.solve_transient(device, initial, protocol, options=old_controls, initial_options=admission) + candidate_coordinates = original["BE_parity"]["candidate"]["accepted_coordinates"] + record["c7_electronic_BE_parity"] = {"baseline_driver_sha256": source_sha, + "steppers_byte_verified_unchanged": True, + "maximum_coordinate_difference": max(float(np.max(abs(a.u - np.asarray(b)))) for a, b in zip(old.states, candidate_coordinates)), + "bitwise_coordinates": all(a.u.tobytes() == np.asarray(b,dtype=float).tobytes() for a,b in zip(old.states,candidate_coordinates)), + "baseline": old} + write(output, record) + return record + + +def electronic(output): + device = compile_device_1d(load_device(), intervals_per_layer=12) + admission = SteadyOptions() + initial = solve_steady_state(device, voltage_V=0.0, generation_scale=1.0, options=admission) + control = replace(electronic_controls(), max_steps=4096, wall_s=90.0) + drive = QuadraticDrive(np.array([0.0, 4e-7]), np.array([[0, 1], [0, 1.01]]), np.array([[0, 1], [0, 1.01]])) + record = {"case": "existing37-node electronic400ns light transient", "initial": initial, + "compiled_identity": device.identity, "exact_generation_law": "1+0.01*(t/4e-7)^2 evaluated at every endpoint/trial", + "physical_controls": control, "runs": [], "fits": {}, "qualification": False} + finals = {1: [], 2: []} + ns = [8, 16, 32, 64] + for order in (1, 2): + for n in ns: + requested = TransientProtocol([0.0, 4e-7], [0, 0], [1, 1.01]) + result = solve_transient(device, initial, requested, options=control, initial_options=admission, + method="bdf", bdf_options=BDFOptions(4e-7 / n, max_order=order, adaptive=False, + min_step_s=1e-23, wall_s=90), bdf_drive=drive) + adapter = ElectronicStorage1D(DC1DProblem(device, 0.0, 1.01)) + final = adapter.physical_storage(result.accepted_coordinates[-1]) + finals[order].append(final) + record["runs"].append({"method": "BDF" + str(order), "n": n, "final_physical_inventory": final, "result": result}) + write(output, record) + if not result.completed: + raise RuntimeError("first electronic failure retained: " + result.termination) + differences = [float(np.max(abs(a - b))) for a, b in zip(finals[order][:-1], finals[order][1:])] + record["fits"][str(order)] = fit(ns[:-1], differences) + times = np.linspace(0, 4e-7, 5) + requested = TransientProtocol(times, np.zeros(5), 1 + .01 * (times / times[-1])**2) + baseline = solve_transient(device, initial, requested, options=control, initial_options=admission) + candidate = solve_transient(device, initial, requested, options=control, initial_options=admission, + method="bdf", bdf_options=BDFOptions(1e-7, max_order=1, adaptive=False)) + differences = [float(np.max(abs(a.u - b))) for a, b in zip(baseline.states, candidate.accepted_coordinates)] + record["BE_parity"] = {"maximum_coordinate_difference": max(differences), + "bitwise_coordinates": all(a.u.tobytes() == b.tobytes() for a, b in zip(baseline.states, candidate.accepted_coordinates)), + "baseline": baseline, "candidate": candidate} + write(output, record) + return record + + +def ionic(output): + device = compile_ionic_device_1d(prepare_confined_ion_device(diffusion_only=True), intervals_per_layer=(12, 12, 12), + ion_domain_layer="absorber", ion_domain_endpoints=("blocking", "blocking")) + admission = steady_ionic_controls(device.ion_node_count) + point = solve_ionic_steady_state(device, voltage_V=.002, generation_scale=0.0, options=admission) + raw = (json.dumps(json_value({"summary": {"accepted": point.accepted, "compiled_identity": device.identity, + "voltage_V": .002, "generation_scale": 0.0}, "result": point}), allow_nan=False) + "\n").encode() + initial_path = output.with_name("IonicInitial.json") + with initial_path.open("xb") as stream: + stream.write(raw) + initial = load_ionic_steady_initial(device, initial_path, hashlib.sha256(raw).hexdigest(), controls=admission) + control = replace(ionic_controls(), electronic=replace(ionic_controls().electronic, max_steps=4096, wall_s=90.0)) + drive = BDFDrive(np.array([0.0, 1.0]), np.array([[.002, 0], [.004, 0]]), np.array([[.002, 0], [.004, 0]])) + sample = TransientProtocol([0.0, 1.0], [.002, .004], [0, 0]) + adapter = IonicStorage1D(Ionic1DProblem(device, .004, 0.0)) + record = {"case": "existing37/13 confined-ion2-to4mV/1s transient", "compiled_identity": device.identity, + "initial_path": str(initial_path), "initial_sha256": hashlib.sha256(raw).hexdigest(), + "physical_controls": control, "references": [], "work_precision": [], "qualification": False} + baseline, baseline_sha = baseline_driver("ionic_transient") + baseline_initial = baseline.IonicTransientInitial(**{f.name: getattr(initial, f.name) for f in fields(initial)}) + baseline_control = baseline.IonicTransientOptions(control.electronic, control.ion_balance_tolerance_m2_s, control.ion_logit_step) + record["BE_baseline"] = {"commit": "c7b3fa61e2011b534774a49b0562ad437acb2253", "driver_sha256": baseline_sha, + "steppers_verified_byte_unchanged": True} + references = [] + for n in (64, 128): + result = solve_ionic_transient(device, initial, sample, options=control, method="bdf", + bdf_options=BDFOptions(1 / n, adaptive=False, max_order=2, wall_s=90, min_step_s=1e-23), bdf_drive=drive) + final = adapter.physical_storage(result.accepted_coordinates[-1]) + references.append(final) + record["references"].append({"method": "fixed BDF2", "n": n, "final_inventory": final, "result": result}) + write(output, record) + if not result.completed: + raise RuntimeError("first ionic reference failure retained: " + result.termination) + reference = references[-1] + scales = np.maximum(abs(reference), 1.0) + record["reference_refinement_difference_relative"] = float(np.max(abs(references[-1] - references[-2]) / scales)) + record["reference_kind"] = "accepted128-step BDF2;64/128 refinement uncertainty retained, no extrapolated state accepted" + for n in (4, 8, 16, 32): + t = np.linspace(0, 1, n + 1) + protocol = TransientProtocol(t, .002 + .002 * t, np.zeros(n + 1)) + result = baseline.solve_ionic_transient(device, baseline_initial, protocol, options=baseline_control) + final = adapter.physical_storage(result.states[-1].u) + error = float(np.max(abs(final - reference) / scales)) + record["work_precision"].append({"method": "fixed BE", "requested_steps": n, + "accepted_steps": len(result.states) - 1, "wall_s": result.wall_s, "achieved_relative_inventory_error": error, + "result": result}) + write(output, record) + if not result.completed: + raise RuntimeError("first fixed BE comparison failure retained") + if n == 4: + parity = solve_ionic_transient(device, initial, protocol, options=control, method="bdf", + bdf_options=BDFOptions(.25, adaptive=False, max_order=1)) + record["BE_parity"] = {"maximum_coordinate_difference": max(float(np.max(abs(a.u - b))) + for a, b in zip(result.states, parity.accepted_coordinates)), "bitwise_coordinates": all(a.u.tobytes() == b.tobytes() + for a, b in zip(result.states, parity.accepted_coordinates)), "candidate": parity} + for tolerance in (1e-4, 1e-5, 1e-6): + result = solve_ionic_transient(device, initial, sample, options=control, method="bdf", + bdf_options=BDFOptions(.1, relative_tolerance=tolerance, max_step_s=.5, wall_s=90), bdf_drive=drive) + final = adapter.physical_storage(result.accepted_coordinates[-1]) + error = float(np.max(abs(final - reference) / scales)) + record["work_precision"].append({"method": "adaptive BDF1/2", "error_rtol": tolerance, + "accepted_steps": len(result.accepted_steps), "rejected_steps": len(result.rejected_steps), + "nonlinear_calls": result.nonlinear_calls, "wall_s": result.wall_s, + "achieved_relative_inventory_error": error, "result": result}) + write(output, record) + if not result.completed: + raise RuntimeError("first adaptive ionic comparison failure retained: " + result.termination) + return record + + +def main(): + parser = argparse.ArgumentParser(description=__doc__) + parser.add_argument("--mode", choices=("analytic", "electronic", "ionic", "diagnostic"), required=True) + parser.add_argument("--output", type=Path, required=True) + args = parser.parse_args() + if args.output.exists(): + raise FileExistsError("preserve the first benchmark result") + args.output.parent.mkdir(parents=True, exist_ok=True) + t = time.monotonic() + with threadpool_limits(limits=1): + value = {"analytic": analytic, "electronic": electronic, "ionic": ionic, "diagnostic": diagnostic}[args.mode](args.output) + print(json.dumps({"case": value["case"], "fits": json_value(value.get("fits", {})), + "work_precision": [{k: v for k, v in row.items() if k != "result"} for row in value.get("work_precision", [])], + "BE_parity": {k: v for k, v in value.get("BE_parity", {}).items() if k not in ("baseline", "candidate")}, + "reference_uncertainty": value.get("reference_refinement_difference_relative"), + "wall_s": time.monotonic() - t}, indent=2)) + + +if __name__ == "__main__": + main() diff --git a/tests/unit/solvers/time/bdf_bridge_saved_read.py b/tests/unit/solvers/time/bdf_bridge_saved_read.py new file mode 100644 index 00000000..ba764e29 --- /dev/null +++ b/tests/unit/solvers/time/bdf_bridge_saved_read.py @@ -0,0 +1,121 @@ +"""No-solve parity/readback of the retained assembled BDF bridge witnesses.""" + +import argparse +import json +from pathlib import Path + +import numpy as np +from scipy.sparse import csc_matrix + + +def _without_runtime(value): + if isinstance(value, dict): + return {key: _without_runtime(part) for key, part in value.items() + if key not in ("wall_s", "controls", "assembled_full_residual")} + if isinstance(value, list): + return [_without_runtime(part) for part in value] + return value + + +def _bits(left, right): + left, right = np.asarray(left), np.asarray(right) + assert left.shape == right.shape and left.dtype == right.dtype + assert left.tobytes() == right.tobytes() + return left.size + + +def _matrix_bits(left, right): + left, right = csc_matrix(left), csc_matrix(right) + left.sort_indices() + right.sort_indices() + assert left.shape == right.shape + return sum(_bits(getattr(left, name), getattr(right, name)) + for name in ("data", "indices", "indptr")) + + +def read(root): + import solarlab.solvers.nonlinear.newton as newton + def forbidden(*args, **kwargs): + raise AssertionError("saved bridge read must not solve") + newton.solve_newton = forbidden + from examples.research_1d.steady import load_device + from solarlab.device.compile_1d import compile_device_1d + from solarlab.equations.assembly.classical_1d import AssembledDC1DProblem + from solarlab.equations.dc_1d import DC1DProblem + from solarlab.solvers.time.assembled_storage import AssembledStorage1D + from solarlab.solvers.time.bdf import BDFStep, HistoryPoint + from solarlab.solvers.time.bdf_1d import BDFDrive, ElectronicStorage1D, bdf_accounting + first = json.loads((root / "NativeParity01.json").read_text()) + second = json.loads((root / "NativeParityLight01.json").read_text()) + cases = {**first, **second} + device = compile_device_1d(load_device(), intervals_per_layer=12) + comparisons = [] + words = 0 + for generation in (0.0, 1.0): + suffix = str(generation) + for kind in ("BDF1", "adaptive"): + original = cases[kind + "_legacy_" + suffix] + assembled = cases[kind + "_assembled_" + suffix] + assert json.dumps(_without_runtime(original), sort_keys=True) == json.dumps( + _without_runtime(assembled), sort_keys=True), (kind, generation) + assert original["controls"]["compiled_identity"] == device.identity + drive_data = original["controls"]["drive"] + drive = BDFDrive(np.array(drive_data["times_s"]), np.array(drive_data["left_values"]), + np.array(drive_data["right_values"])) + histories, assembled_histories = [], [] + for time, coordinates in zip(original["accepted_times_s"], original["accepted_coordinates"]): + u = np.asarray(coordinates) + voltage, light = drive.values(time) + old = ElectronicStorage1D(DC1DProblem(device, voltage, light)) + new = AssembledStorage1D(AssembledDC1DProblem(device, voltage, light)) + words += _bits(old.storage(u), new.storage(u)) + words += _matrix_bits(old.storage_tangent(u), new.storage_tangent(u)) + histories.append(HistoryPoint(time, u, old.storage(u), old)) + assembled_histories.append(HistoryPoint(time, u, new.storage(u), new)) + accepted = [a for a in original["attempts"] if a["accepted"]] + accepted_new = [a for a in assembled["attempts"] if a["accepted"]] + for index, (a, b) in enumerate(zip(accepted, accepted_new), start=1): + h, h_new = histories[index], assembled_histories[index] + previous = tuple(reversed(histories[max(0, index - 3):index])) + previous_new = tuple(reversed(assembled_histories[max(0, index - 3):index])) + step = BDFStep(h.problem, previous, h.time_s, a["order"]) + native = BDFStep(h_new.problem, previous_new, h_new.time_s, b["order"]) + words += _bits(step.residual(h.u), native.residual(h_new.u)) + words += _bits(native.residual(h_new.u), np.asarray(b["assessment"]["accounting"]["assembled_full_residual"])) + words += _matrix_bits(step.jacobian(h.u), native.jacobian(h_new.u)) + info = bdf_accounting(step, h.u) + saved = a["assessment"]["accounting"] + for key, value in info.items(): + if isinstance(value, np.ndarray): + words += _bits(value, np.asarray(saved[key], dtype=value.dtype)) + comparisons.append({"case": kind + "_" + suffix, "completed": original["completed"], + "termination": original["termination"], "accepted_steps": len(accepted), + "rejected_steps": sum(not a["accepted"] for a in original["attempts"]), + "samples": len(original["samples"]), "identical_step_sequence": True, + "Newton_records_and_accounting_serialized_bitwise": True, + "current_source_original_rows_and_J_bitwise": True}) + be = cases["BE_" + suffix] + be_new = cases["BE_assembled_" + suffix] + assert json.dumps(_without_runtime(be), sort_keys=True) == json.dumps( + _without_runtime(be_new), sort_keys=True), ("BE", generation) + return {"case_comparisons": comparisons, "rechecked_array_entries": int(words), + "changed_words": 0, "new_solver_calls": 0, "qualification": False, + "dense_sample_qualification": "fixed endpoints checked; adaptive histories stopped before sampling"} + + +def main(): + parser = argparse.ArgumentParser(description=__doc__) + parser.add_argument("--root", type=Path, required=True) + args = parser.parse_args() + value = read(args.root) + output = args.root / "SavedRead01.json" + text = json.dumps(value, indent=2) + "\n" + if output.exists(): + assert output.read_text() == text + else: + output.write_text(text) + print(text, end="") + + +if __name__ == "__main__": + main() diff --git a/tests/unit/solvers/time/bdf_light_replay.py b/tests/unit/solvers/time/bdf_light_replay.py new file mode 100644 index 00000000..ff5f6b93 --- /dev/null +++ b/tests/unit/solvers/time/bdf_light_replay.py @@ -0,0 +1,142 @@ +"""One N-method attempt of the original frozen adaptive LIGHT protocol. + +The exact saved initial is read, physically admitted by the public driver +and never cold-solved. The M failure is retained under its original SHA256. +No waveform, controller, Newton or physical tolerance is changed. +""" + +from __future__ import annotations + +import argparse +from dataclasses import asdict +import hashlib +import json +from pathlib import Path +import runpy +import sys +import time +from typing import Any + +import numpy as np + +from examples.research_1d.steady import load_device +from examples.research_1d.transient import controls, json_value +from solarlab.device.compile_1d import compile_device_1d +from solarlab.experiments.transient import solve_transient +from solarlab.solvers.nonlinear.steady_1d import SteadyOptions, solve_steady_state +from solarlab.solvers.time.bdf import BDFOptions + +ORIGINAL_SHA256 = "4e04d2812a8aa5a2f7d54c50acbd5bdd4d60562e8dbf709890432a8d1f60b87d" + + +def source_pins() -> dict[str, str]: + result = {} + for name, module in tuple(sys.modules.items()): + if name.startswith(("solarlab.", "examples.research_1d.")): + filename = getattr(module, "__file__", None) + if filename: + result[name] = hashlib.sha256(Path(filename).read_bytes()).hexdigest() + result[__file__] = hashlib.sha256(Path(__file__).read_bytes()).hexdigest() + return result + + +def main() -> int: + parser = argparse.ArgumentParser(description=__doc__) + parser.add_argument("--original", type=Path, required=True) + parser.add_argument("--output", type=Path, required=True) + args = parser.parse_args() + if args.output.exists(): + raise FileExistsError("preserve the first N light attempt") + args.output.mkdir(parents=True) + started = time.monotonic() + raw = args.original.read_bytes() + assert hashlib.sha256(raw).hexdigest() == ORIGINAL_SHA256 + saved = json.loads(raw) + old = saved["adaptive_legacy_1.0"] + assert old["completed"] is False and old["termination"] == "rejection_budget_exhausted" + assert sum(item["accepted"] for item in old["attempts"]) == 7 + assert sum(not item["accepted"] for item in old["attempts"]) == 15 + restore = runpy.run_path("tests/unit/solvers/time/bdf_robustness_witness.py")["restore_initial"] + protocol = runpy.run_path("tests/unit/solvers/time/test_assembled_bdf.py")["protocol"] + device = compile_device_1d(load_device(), intervals_per_layer=12) + saved_initial = saved["initial_1.0"] + admission = SteadyOptions() + warm_admission = None + if saved_initial["state"]["device_sha256"] == device.identity: + initial = restore(device, saved_initial) + else: + # The historical acceptance stays with its old identity. Obtain + # actual current-source acceptance from the exact numerical fields; + # no cold preparation, coordinate change or new tolerance is allowed. + previous_u = np.array(saved_initial["state"]["u"]) + guess = device.state(previous_u, voltage_V=saved_initial["voltage_V"]) + for field in ("potential_V", "electron_density_m3", "hole_density_m3"): + assert getattr(guess, field).tobytes() == np.array(saved_initial["state"][field]).tobytes() + warm_started = time.monotonic() + initial = solve_steady_state(device, voltage_V=saved_initial["voltage_V"], + generation_scale=saved_initial["generation_scale"], options=admission, initial_state=guess) + warm_admission = {"kind": "actual current-source steady acceptance of historical numerical coordinates", + "historical_compiled_identity": saved_initial["state"]["device_sha256"], + "current_compiled_identity": device.identity, "result": initial, + "wall_s": time.monotonic() - warm_started, "cold_preparation_calls": 0, + "historical_acceptance_transferred": False, + "initial_coordinates_unchanged": initial.state.u.tobytes() == previous_u.tobytes()} + with (args.output / "WarmAdmission.json").open("x") as stream: + json.dump(json_value(warm_admission), stream, indent=2, allow_nan=False) + stream.write("\n") + assert warm_admission["initial_coordinates_unchanged"], "fresh acceptance changed the frozen initial; no light replay" + requested, drive = protocol(1.0, np.array([0.0, .13, .31, 1.0]) * 4e-7) + physical = controls() + options = BDFOptions(1e-7, max_step_s=2e-7, relative_tolerance=1e-5) + assert asdict(physical) == old["controls"]["physical_controls"] + assert asdict(admission) == old["controls"]["initial_controls"] + assert json_value(drive) == old["controls"]["drive"] + assert requested.times_s.tobytes() == np.array(old["requested_output_times_s"]).tobytes() + for name, value in asdict(options).items(): + if name not in {"wall_s", "max_steps"}: + assert value == old["controls"][name] + pins = source_pins() + receipt: dict[str, Any] = {"schema": "solarlab.bdf_n_original_light_attempt.v1", + "method_class": "N: accepted slope-knot restart and algebraic-zero handling", + "original_artifact": str(args.original.resolve()), "original_sha256": ORIGINAL_SHA256, + "original_M": {"completed": False, "termination": old["termination"], + "accepted_steps": 7, "rejected_steps": 15}, + "compiled_identity": device.identity, "initial": initial, + "initial_state_sha256": hashlib.sha256(initial.state.u.tobytes()).hexdigest(), + "physical_controls": physical, "initial_controls": admission, "BDF_options": options, + "requested": requested, "drive": drive, "source_sha256": pins, + "warm_admission": warm_admission, "cold_preparation_calls": 0, "new_adaptive_light_calls": 0, + "physical_certificate_status": "not_evaluated", "qualification": False} + with (args.output / "Started.json").open("x") as stream: + json.dump(json_value(receipt), stream, indent=2, allow_nan=False) + stream.write("\n") + # Exactly one invocation. A failed result is saved without a retry. + result = solve_transient(device, initial, requested, options=physical, initial_options=admission, + method="bdf", bdf_options=options, bdf_drive=drive) + receipt.update(result=result, new_adaptive_light_calls=1, source_pins_unchanged=source_pins() == pins, + process_wall_s=time.monotonic() - started) + with (args.output / "LightAttempt.json").open("x") as stream: + json.dump(json_value(receipt), stream, indent=2, allow_nan=False) + stream.write("\n") + summary = {"completed": result.completed, "termination": result.termination, + "accepted_steps": len(result.accepted_steps), "rejected_steps": len(result.rejected_steps), + "accepted_orders": [item.order for item in result.accepted_steps], + "restarts_s": [event.time_s for event in result.restarts], "samples": len(result.samples), + "accepted_final_s": float(result.accepted_times_s[-1]), "requested_final_s": result.final_time_s, + "solver_wall_s": result.wall_s, "process_wall_s": receipt["process_wall_s"], + "nonlinear_calls": result.nonlinear_calls, "new_adaptive_light_calls": 1, + "warm_admission_calls": int(warm_admission is not None), + "warm_admission_wall_s": 0.0 if warm_admission is None else warm_admission["wall_s"], + "cold_preparation_calls": 0, "original_M_failure_sha256": ORIGINAL_SHA256, + "result_sha256": hashlib.sha256((args.output / "LightAttempt.json").read_bytes()).hexdigest(), + "error": result.error, "qualification": False} + with (args.output / "Summary.json").open("x") as stream: + json.dump(summary, stream, indent=2, allow_nan=False) + stream.write("\n") + print(json.dumps(summary, indent=2)) + assert receipt["source_pins_unchanged"] + return 0 if result.completed else 2 + + +if __name__ == "__main__": + raise SystemExit(main()) diff --git a/tests/unit/solvers/time/bdf_robustness_witness.py b/tests/unit/solvers/time/bdf_robustness_witness.py new file mode 100644 index 00000000..c7a0e587 --- /dev/null +++ b/tests/unit/solvers/time/bdf_robustness_witness.py @@ -0,0 +1,78 @@ +"""One N-method replay of the frozen dark drive, using its saved DC initial.""" + +import argparse +import hashlib +import json +import os +from pathlib import Path +import runpy + +import numpy as np + + +def restore_initial(device, raw): + from solarlab.solvers.nonlinear.newton import IterationRecord, NewtonResult, Termination + from solarlab.solvers.nonlinear.problem import GateOutcome + from solarlab.solvers.nonlinear.steady_1d import SteadyState1D + def newton(value): + return NewtonResult(**{**value, "state": np.array(value["state"]), + "termination": Termination(value["termination"]), + "gates": tuple(GateOutcome(**gate) for gate in value["gates"]), + "iterations": tuple(IterationRecord(**row) for row in value["iterations"])}) + data = raw["state"] + assert data["device_sha256"] == device.identity + state = device.state(np.array(data["u"]), voltage_V=data["voltage_V"]) + for field in ("potential_V", "electron_density_m3", "hole_density_m3"): + assert getattr(state, field).tobytes() == np.array(data[field]).tobytes() + return SteadyState1D(**{**raw, "state": state, "newton": newton(raw["newton"]), + "preparation": tuple(newton(value) for value in raw["preparation"]), + "current_density_A_m2": np.array(raw["current_density_A_m2"]), + "contact_current_density_A_m2": np.array(raw["contact_current_density_A_m2"])}) + + +def main(): + parser = argparse.ArgumentParser(description=__doc__) + parser.add_argument("--root", type=Path, required=True) + args = parser.parse_args() + from examples.research_1d.steady import load_device + from solarlab.device.compile_1d import compile_device_1d + from solarlab.solvers.time.bdf import BDFOptions + from solarlab.experiments.transient import solve_transient + from examples.research_1d.transient import controls + from solarlab.solvers.nonlinear.steady_1d import SteadyOptions + raw_bytes = (args.root / "NativeParity01.json").read_bytes() + raw = json.loads(raw_bytes) + device = compile_device_1d(load_device(), intervals_per_layer=12) + initial = restore_initial(device, raw["initial_0.0"]) + module = runpy.run_path("tests/unit/solvers/time/test_assembled_bdf.py") + output = args.root / "NMethod/DarkReplay01.json" + if output.exists(): + raise FileExistsError("preserve the first N-method dark attempt") + os.environ["SOLARLAB_BDF_ASSEMBLY_OUTPUT"] = str(output.resolve()) + module["record"]("initial_provenance", { + "original_raw_sha256": hashlib.sha256(raw_bytes).hexdigest(), + "compiled_identity": device.identity, "new_cold_solves": 0, + "method_class": "N: slope-knot history restart and algebraic residual words", + "original_failure_preserved": True}) + requested, drive = module["protocol"](0.0, np.array([0.0, .13, .31, 1.0]) * 4e-7) + settings = BDFOptions(1e-7, max_step_s=2e-7, relative_tolerance=1e-5) + original = solve_transient(device, initial, requested, options=controls(), initial_options=SteadyOptions(), + method="bdf", bdf_options=settings, bdf_drive=drive) + module["record"]("N_legacy_dark", original) + assembled = module["run_assembled"](device, initial, requested, drive, settings) + module["record"]("N_assembled_dark", assembled) + module["assert_bdf"](original, assembled, device, drive) + summary = {"completed": assembled.completed, "termination": assembled.termination, + "accepted_steps": len(assembled.accepted_steps), "rejected_steps": len(assembled.rejected_steps), + "accepted_orders": [step.order for step in assembled.accepted_steps], + "restarts": [{"time_s": event.time_s, "name": event.name, + "unchanged_state": event.left_u.tobytes() == event.right_u.tobytes()} + for event in assembled.restarts], + "dense_samples": len(assembled.samples), "identical_legacy_assembled": True, + "new_cold_solves": 0, "qualification": False} + module["record"]("N_summary", summary) + print(json.dumps(summary, indent=2)) + + +if __name__ == "__main__": + main() diff --git a/tests/unit/solvers/time/bdf_saved_read.py b/tests/unit/solvers/time/bdf_saved_read.py new file mode 100644 index 00000000..5a8568a1 --- /dev/null +++ b/tests/unit/solvers/time/bdf_saved_read.py @@ -0,0 +1,90 @@ +"""Solver-free readback of the retained BDF ionic histories and fit receipts.""" + +import argparse +import json +from pathlib import Path + +import numpy as np + + +def read_evidence(root): + import solarlab.solvers.nonlinear.newton as newton + def forbidden(*args, **kwargs): + raise AssertionError("saved BDF evidence read must not solve") + newton.solve_newton = forbidden + from examples.research_1d.ionic_multilayer import prepare_confined_ion_device + from solarlab.device.compile_ionic_1d import compile_ionic_device_1d + from solarlab.equations.ionic_1d import Ionic1DProblem + from solarlab.solvers.time.bdf import BDFStep, HistoryPoint + from solarlab.solvers.time.bdf_1d import IonicStorage1D, bdf_accounting + ionic = json.loads((root / "Ionic.json").read_bytes()) + device = compile_ionic_device_1d(prepare_confined_ion_device(diffusion_only=True), + intervals_per_layer=(12, 12, 12), ion_domain_layer="absorber", ion_domain_endpoints=("blocking", "blocking")) + assert device.identity == ionic["compiled_identity"] + compared = 0 + maximum_residual_difference = 0.0 + maximum_maxwell_identity = 0.0 + for row in ionic["work_precision"]: + if row["method"] != "adaptive BDF1/2": + continue + result = row["result"] + assert result["completed"] and not result["restarts"] + times = result["accepted_times_s"] + coordinates = result["accepted_coordinates"] + history = [] + for t, u in zip(times, coordinates): + adapter = IonicStorage1D(Ionic1DProblem(device, .002 + .002 * t, 0.0)) + value = np.asarray(u) + history.append(HistoryPoint(t, value, adapter.storage(value), adapter)) + accepted = [step for step in result["attempts"] if step["accepted"]] + assert len(accepted) + 1 == len(history) + for index, attempt in enumerate(accepted, start=1): + endpoint = history[index] + prior = tuple(reversed(history[max(0, index - 3):index])) + step = BDFStep(endpoint.problem, prior, endpoint.time_s, attempt["order"]) + info = bdf_accounting(step, endpoint.u) + saved = attempt["assessment"]["accounting"] + key = "backward_euler_residual" if step.order == 1 else "bdf_residual" + residual_difference = float(np.max(abs(np.asarray(info[key]) - np.asarray(saved[key])))) + maximum_residual_difference = max(maximum_residual_difference, residual_difference) + np.testing.assert_array_equal(info[key], saved[key]) + np.testing.assert_array_equal(info["ion_inventory_rate_m2_s"], saved["ion_inventory_rate_m2_s"]) + np.testing.assert_array_equal(info["total_current_density_A_m2"], saved["total_current_density_A_m2"]) + maximum_maxwell_identity = max(maximum_maxwell_identity, + float(np.max(abs(info["maxwell_identity_error_A_m2"])))) + if step.order == 2: + np.testing.assert_array_equal(info["total_current_density_A_m2"], + info["conduction_current_density_A_m2"] + info["displacement_current_density_A_m2"]) + # Separate rounded readbacks include their explicit compensations. + np.testing.assert_allclose(info["maxwell_cell_jump_A_m2"], + info["readback_predicted_maxwell_cell_jump_A_m2"], atol=1e-12, rtol=1e-10) + compared += 1 + fits = json.loads((root / "CubicDiagnosticFits.json").read_bytes()) + assert all(value >= 10 * fits["measured_precision_floor_inventory"] for value in fits["eligible_differences"]) + assert abs(fits["observed_order"] - 2) < .1 + assert fits["first_failed_grid"] == 64 and fits["failed_candidate_preserved"] + parity = json.loads((root / "C7ElectronicParity.json").read_bytes()) + assert all(parity["per_quantity_bitwise"].values()) + assert max(parity["per_quantity_maximum_differences"].values()) == 0 + return {"saved_ionic_steps_rechecked": compared, "maximum_original_residual_difference": maximum_residual_difference, + "maximum_maxwell_identity_error_A_m2": maximum_maxwell_identity, + "electronic_c7_parity": "bitwise all represented arrays", "cubic_observed_order": fits["observed_order"], + "new_solver_calls": 0, "qualification": False} + + +def main(): + parser = argparse.ArgumentParser(description=__doc__) + parser.add_argument("--root", type=Path, required=True) + args = parser.parse_args() + value = read_evidence(args.root) + output = args.root / "SavedRead.json" + text = json.dumps(value, indent=2) + "\n" + if output.exists(): + assert output.read_text() == text + else: + output.write_text(text) + print(text, end="") + + +if __name__ == "__main__": + main() diff --git a/tests/unit/solvers/time/conftest.py b/tests/unit/solvers/time/conftest.py new file mode 100644 index 00000000..5548989a --- /dev/null +++ b/tests/unit/solvers/time/conftest.py @@ -0,0 +1,6 @@ +"""Use the repository's independent assembly parity helpers in time tests.""" + +from pathlib import Path +import sys + +sys.path.insert(0, str(Path(__file__).resolve().parents[3])) diff --git a/tests/unit/solvers/time/ionic_immobile_preparation.py b/tests/unit/solvers/time/ionic_immobile_preparation.py new file mode 100644 index 00000000..e189bd6e --- /dev/null +++ b/tests/unit/solvers/time/ionic_immobile_preparation.py @@ -0,0 +1,90 @@ +"""One authorized warm initial for the positive/right-D0 BE parity case. + +The already accepted positive-case coordinates supply only a numerical +guess. Right-D0 coordinates are set to the declared zero profile before one +current-source steady solve under the original controls. No failed state, +different shared-site fixture, gate change or retry is used. +""" + +from __future__ import annotations + +import argparse +from dataclasses import asdict +import hashlib +import json +from pathlib import Path +import runpy +from typing import Any + +import numpy as np + +from solarlab.experiments.transient_results import _decode, _encode +from solarlab.solvers.nonlinear.multiple_ionic_1d import solve_multiple_ionic_steady_state +from support.assembly_references import REFERENCE_FACTORIES + +POSITIVE_SHA256 = "880b6437ac39e49c8e39d0d3fd557374343dcca3f053cd257db121d6b5b7f856" + + +def main() -> int: + parser = argparse.ArgumentParser(description=__doc__) + parser.add_argument("--positive", type=Path, required=True) + parser.add_argument("--output", type=Path, required=True) + args = parser.parse_args() + if args.output.exists(): + raise FileExistsError("preserve the one warm preparation attempt") + args.output.mkdir(parents=True) + raw = args.positive.read_bytes() + assert hashlib.sha256(raw).hexdigest() == POSITIVE_SHA256 + saved = _decode(json.loads(raw)) + assert saved["factory"] == "multiple_be:positive" + before = saved["steady_initial"] + assert before["accepted"] is True and before["newton"]["accepted"] is True + assert all(item["passed"] for item in before["checks"]) + positive = REFERENCE_FACTORIES["multiple_be:positive"]().device + device = REFERENCE_FACTORIES["multiple_be:immobile"]().device + assert before["compiled_identity"] == positive.identity + assert device.state_size == positive.state_size + assert np.array_equal(device.electronic_component.nodes_m, positive.electronic_component.nodes_m) + u = np.array(before["state"]["u"], copy=True) + domain = next(item for item in device.domains if item.domain_layer_id == "absorber_right") + assert domain.ion_species_names == ("positive",) + assert np.all(domain.positive_ion_diffusivity_faces_m2_s == 0.0) + profile = device.ion_species_slices["absorber_right"]["positive"] + u[profile] = 0.0 + guess = device.state(u, voltage_V=.002) + helpers = runpy.run_path("tests/unit/assembly/test_assembly_ionic_drivers.py") + controls = helpers["steady_controls"](device.domains[0].ion_node_count) + receipt: dict[str, Any] = {"schema": "solarlab.ionic_assembly.immobile_warm_preparation.v1", + "coordinator_approval": "msg_b678da9af1a1: one warm preparation, then one BE pair only if accepted; no retries", + "source_positive_sha256": POSITIVE_SHA256, "source_positive_compiled_identity": positive.identity, + "current_immobile_compiled_identity": device.identity, "source_role": "numerical guess only", + "historical_acceptance_transferred": False, "right_D0_profile_coordinate": 0.0, + "guess": guess, "controls": asdict(controls), "cold_preparation_calls": 0, + "warm_preparation_calls": 0, "qualification": False} + with (args.output / "Started.json").open("x") as stream: + json.dump(_encode(receipt), stream, indent=2, allow_nan=False) + stream.write("\n") + result = solve_multiple_ionic_steady_state(device, voltage_V=.002, generation_scale=0.0, + options=controls, initial_state=guess) + receipt.update(result=result, warm_preparation_calls=1) + with (args.output / "Preparation.json").open("x") as stream: + json.dump(_encode(receipt), stream, indent=2, allow_nan=False) + stream.write("\n") + summary = {"accepted": result.accepted, "termination": result.termination, + "every_original_gate_passed": bool(result.checks and all(item.passed for item in result.checks)), + "newton_iterations": None if result.newton is None else len(result.newton.iterations), + "wall_s": result.wall_s, "warm_preparation_calls": 1, "cold_preparation_calls": 0, + "preparation_sha256": hashlib.sha256((args.output / "Preparation.json").read_bytes()).hexdigest(), + "error": result.error, "qualification": False} + if result.accepted: + path, digest = helpers["evidence"](device, result, args.output) + summary.update(accepted_initial_path=str(path.resolve()), accepted_initial_sha256=digest) + with (args.output / "Summary.json").open("x") as stream: + json.dump(summary, stream, indent=2, allow_nan=False) + stream.write("\n") + print(json.dumps(summary, indent=2)) + return 0 if result.accepted else 2 + + +if __name__ == "__main__": + raise SystemExit(main()) diff --git a/tests/unit/solvers/time/radau_enclose_saved.py b/tests/unit/solvers/time/radau_enclose_saved.py new file mode 100644 index 00000000..2817635c --- /dev/null +++ b/tests/unit/solvers/time/radau_enclose_saved.py @@ -0,0 +1,265 @@ +"""Enclose the pinned stage-2b polynomials; never prepare or integrate a state. + +Explicit invocation only. The two saved fine grids, PWL drives and initial +inventories are immutable inputs. Failed inclusion is saved as blocked with +no error bound. A closed comparison tube still needs the reference review. + +Invoke with runpy from the worktree root so the existing research-example +namespace is available alongside the explicit PYTHONPATH pointing to src. + +Integration conditions: optional, unqualified reference infrastructure for +restricted declared E/I inputs and analytic unit fixtures only. Independence +is static-only: no BDF stepping, history, interpolation or accounting is used. +Retained failed attempts stay failures and qualification flags stay false. +Any future nonzero initial uncertainty must be expressed in the selected +weighted log norm; a numerical trajectory alone does not qualify a reference. +""" + +from __future__ import annotations + +import argparse +from dataclasses import asdict +from hashlib import sha256 +import json +from pathlib import Path +import subprocess +from time import perf_counter +from typing import Any +from zipfile import ZipFile + +from flint import ctx +import numpy as np +from threadpoolctl import threadpool_info, threadpool_limits + +from examples.research_1d.ionic_multilayer import prepare_confined_ion_device +from examples.research_1d.steady import load_device +from solarlab.device.compile_1d import compile_device_1d +from solarlab.device.compile_ionic_1d import compile_ionic_device_1d +from solarlab.equations.assembly.classical_1d import AssembledDC1DProblem +from solarlab.equations.assembly.ionic_1d import AssembledIonic1DProblem +from solarlab.solvers.time.radau_enclosure import ( + NonlinearInventoryEnclosure, + PolynomialPath, + PWLDrive, + positive_polynomial_tube, +) + +BASE = "cd4b4d286e1974b9cccfd8c22e2b2cfee545fe6b" +RESULT_SHA256 = "f1e109ccfbab8c2a991d0867fe8843972da2c3e31b19d9b2978b3a7ecf31a506" +PACKET_SHA256 = "053b825ceff415d537cd73deb623629bfcfee7b42a39495f00ddb738e3c7279b" +HISTORY_SHA256 = { + "E_L": "bad2dc554066e59fd35d483c8a81fe6cdf950200d2e4835070d38d3154611fed", + "I_V": "6bb2d63f162952fc7be9e083c3bb03a14cac60812ea794ceec6139cb1e22c6ec", +} +CHANGED_SOURCE = "src/solarlab/solvers/time/radau_enclosure.py" + + +def pin(path: Path) -> dict[str, Any]: + return { + "path": str(path.resolve()), + "sha256": sha256(path.read_bytes()).hexdigest(), + "bytes": path.stat().st_size, + } + + +def require_hash(path: Path, expected: str) -> dict[str, Any]: + result = pin(path) + if result["sha256"] != expected: + raise ValueError(f"saved_source_hash_mismatch:{path}") + return result + + +def load_path(path: Path, case: dict[str, Any]) -> PolynomialPath: + with ZipFile(path) as archive: + if archive.testzip() is not None: + raise ValueError("saved_history_CRC_failure") + with np.load(path, allow_pickle=False) as data: + result = PolynomialPath( + data["step_times"], + data["coefficients_high"], + data["coefficients_low"], + data["initial_inventory_high"], + data["initial_inventory_low"], + data["initial_u"], + data["endpoint_u"], + data["component_scale"], + ) + for actual, key in ( + (result.initial_high, "initial_inventory_high"), + (result.initial_low, "initial_inventory_low"), + (result.original_scale, "component_scale"), + ): + expected = np.asarray(case[key], dtype=float) + if actual.shape != expected.shape or actual.tobytes() != expected.tobytes(): + raise ValueError(f"saved_history_packet_mismatch:{key}") + # The packet stores prepared coordinates. The pinned split producer + # separately reconstructs its initial point from these same inventory + # words (radau_split.py, integrate_split_radau); the NPZ stores that point. + if result.initial_u.shape != np.asarray(case["initial"]["u"]).shape: + raise ValueError("saved_history_initial_coordinate_shape_mismatch") + grid = np.linspace( + float(case["short_window_s"][0]), float(case["short_window_s"][1]), 9 + ) + if not np.array_equal(result.step_times_s, np.stack((grid[:-1], grid[1:]), axis=1)): + raise ValueError("saved_history_grid_mismatch") + return result + + +def run_case(root: Path, case: dict[str, Any]) -> dict[str, Any]: + start = perf_counter() + scope = case["scope"] + fine = next(row for row in case["histories"] if row["steps"] == 8) + history = root / ".artifacts/RadauReferenceV1/Stage2b/Short03" / f"{scope}_8.npz" + saved = require_hash(history, HISTORY_SHA256[scope]) + if fine["sha256"] != saved["sha256"]: + raise ValueError("saved_history_packet_pin_mismatch") + path = load_path(history, case) + drive = PWLDrive(**{key: tuple(value) for key, value in case["drive"].items()}) + if { + key: [value.hex() for value in values] for key, values in asdict(drive).items() + } != case["drive_hex"]: + raise ValueError("saved_drive_encoding_mismatch") + inputs = drive(float(path.step_times_s[0, 0])) + if scope == "E_L": + electronic = compile_device_1d(load_device(), intervals_per_layer=(12, 12, 12)) + problem: AssembledDC1DProblem | AssembledIonic1DProblem = AssembledDC1DProblem( + electronic, inputs.voltage_V, inputs.generation_scale + ) + elif scope == "I_V": + ionic = compile_ionic_device_1d( + prepare_confined_ion_device(), + intervals_per_layer=(12, 12, 12), + ion_domain_layer="absorber", + ion_domain_endpoints=("blocking", "blocking"), + ) + problem = AssembledIonic1DProblem( + ionic, inputs.voltage_V, inputs.generation_scale + ) + else: + raise ValueError("unapproved_saved_scope") + if problem.device.identity != case["device_identity"]: + raise ValueError("saved_compiled_device_identity_mismatch") + enclosure = NonlinearInventoryEnclosure( + problem, drive, path.original_scale, branch_aware=True + ) + result = positive_polynomial_tube( + enclosure, + path, + initial_log_error=0.0, + log_radius=1e-6, + subdivisions=2, + ) + rows = asdict(result) + for slab in rows["slabs"]: + index = slab.get("dominant_log_row_approx") + if index is not None: + slab["dominant_block"] = ( + "electron" if index < 35 else "hole" if index < 70 else "positive_ion" + ) + slab["dominant_block_index"] = ( + index if index < 35 else index - 35 if index < 70 else index - 70 + ) + return { + "scope": scope, + "electrical_nodes": 37, + "ion_nodes": case.get("ion_nodes", 0), + "window_s": case["short_window_s"], + "saved_history": saved, + "device_identity": problem.device.identity, + "observed_refinement_delta": case["observed_refinement_delta"], + "observation_meaning": case["observations"]["meaning"], + "initial_error_semantics": case["initial_error_semantics"], + "initial_coordinates_origin": "saved reconstructed split point", + "prepared_to_reconstructed_coordinate_max_abs": float( + np.max(np.abs(path.initial_u - np.asarray(case["initial"]["u"]))) + ), + "bound_attempt": rows, + "status": result.status, + "reason": result.reason, + "wall_s": perf_counter() - start, + "new_steady_solves": 0, + "new_transient_solves": 0, + "admission_run": False, + } + + +def main() -> None: + parser = argparse.ArgumentParser(description=__doc__) + parser.add_argument("--output", type=Path, required=True) + arguments = parser.parse_args() + root = Path(__file__).resolve().parents[4] + output = arguments.output.resolve() + if not output.is_relative_to(root): + raise ValueError("output_must_stay_in_reference_worktree") + output.mkdir(parents=True, exist_ok=False) + start = perf_counter() + context: dict[str, Any] = { + "schema": "solarlab.radau.saved-positive-enclosure.v1", + "base_commit": BASE, + "cases": [], + "new_steady_solves": 0, + "new_transient_solves": 0, + "admission_runs": 0, + "qualification": False, + "tube": { + "coordinates": "log(z_i/p_i)", + "log_radius": 1e-6, + "log_weights": "all_one", + "subdivisions": 2, + "initial_log_error": 0.0, + "initial_error_scope": "exact encoded initial-inventory IVP only", + "retained_branch_difference": "separately enclosed forcing", + }, + } + try: + head = subprocess.check_output( + ["git", "rev-parse", "HEAD"], cwd=root, text=True + ).strip() + if head != BASE: + raise ValueError("reference_base_commit_mismatch") + subprocess.run( + ["git", "diff", "--exit-code", BASE, "--", "src", "examples"], + cwd=root, + check=True, + capture_output=True, + ) + prior = root / ".artifacts/RadauReferenceV1/Stage2b" + context["previous_result"] = require_hash(prior / "Result.json", RESULT_SHA256) + packet_path = prior / "Short03/ShortWindows.json" + context["saved_packet"] = require_hash(packet_path, PACKET_SHA256) + packet = json.loads(packet_path.read_text()) + context["saved_trajectory_source_pins"] = packet["source_pins"] + for file, expected in packet["source_pins"].items(): + if file != CHANGED_SOURCE: + require_hash(root / file, expected) + context["enclosure_source_pins"] = { + file: pin(root / file)["sha256"] + for file in ( + CHANGED_SOURCE, + str(Path(__file__).resolve().relative_to(root)), + ) + } + ctx.threads = 1 + with threadpool_limits(limits=1), ctx.workprec(192): + context["threadpools"] = threadpool_info() + for case in packet["cases"]: + result = run_case(root, case) + context["cases"].append(result) + print(json.dumps(result, allow_nan=False), flush=True) + context["input_pins_unchanged_after_evaluation"] = all( + pin(Path(row["saved_history"]["path"]))["sha256"] + == row["saved_history"]["sha256"] + for row in context["cases"] + ) + except Exception as error: + context["fatal_error"] = f"{type(error).__name__}: {error}" + raise + finally: + context["whole_wall_s"] = perf_counter() - start + (output / "SavedEnclosures.json").write_text( + json.dumps(context, indent=2, allow_nan=False) + "\n" + ) + + +if __name__ == "__main__": + main() diff --git a/tests/unit/solvers/time/radau_short_windows.py b/tests/unit/solvers/time/radau_short_windows.py new file mode 100644 index 00000000..50b091ab --- /dev/null +++ b/tests/unit/solvers/time/radau_short_windows.py @@ -0,0 +1,448 @@ +"""Explicitly invoked short E_L/I_V probe; never part of routine pytest discovery. + +One 4/8-step pair per 37/73-node case, shared finite solver/enclosure budget. +This is not an admission run. A refinement difference is only an observation, +never a substitute for a proved error bound. Every stopped case is retained. + +Integration conditions: optional, unqualified reference infrastructure for +restricted declared E/I inputs and analytic unit fixtures only. Independence +is static-only: no BDF stepping, history, interpolation or accounting is used. +Retained failed attempts stay failures and qualification flags stay false. +Any future nonzero initial uncertainty must be expressed in the selected +weighted log norm; a numerical trajectory alone does not qualify a reference. +""" + +from __future__ import annotations + +import argparse +from dataclasses import asdict, fields, is_dataclass +from hashlib import sha256 +import json +import math +from pathlib import Path +import signal +import time +from typing import Any, Callable, TypeVar + +import numpy as np +from flint import ctx + +from examples.research_1d.ionic_multilayer import prepare_confined_ion_device +from examples.research_1d.ionic_steady import controls as ionic_controls +from examples.research_1d.steady import load_device +from solarlab.device.compile_1d import compile_device_1d +from solarlab.device.compile_ionic_1d import compile_ionic_device_1d +from solarlab.equations.assembly.classical_1d import AssembledDC1DProblem +from solarlab.equations.assembly.ionic_1d import AssembledIonic1DProblem +from solarlab.solvers.nonlinear.ionic_1d import solve_ionic_steady_state +from solarlab.solvers.nonlinear.steady_1d import solve_steady_state +from solarlab.solvers.time.radau_enclosure import ( + NonlinearInventoryEnclosure, + PWLDrive, + enclosed_inventory_dae, + nonlinear_tube_bound, +) +from solarlab.solvers.time.radau_reference import ( + RadauControls, + RadauFailure, + RadauTrajectory, + assembled_inventory_dae, + integrate_radau, +) + +T = TypeVar("T") + + +def serializable(value: Any) -> Any: + if is_dataclass(value) and not isinstance(value, type): + return { + item.name: serializable(getattr(value, item.name)) for item in fields(value) + } + if isinstance(value, np.ndarray): + return value.tolist() + if isinstance(value, dict): + return {str(k): serializable(v) for k, v in value.items()} + if isinstance(value, (tuple, list)): + return [serializable(x) for x in value] + if isinstance(value, np.generic): + return serializable(value.item()) + if isinstance(value, float) and not math.isfinite(value): + return {"nonfinite": repr(value)} + return value + + +class Budget: + def __init__(self, seconds: float): + if not 0 < seconds <= 240: + raise ValueError( + "one probe is capped at 240 s, within the task's shared 300 s cap" + ) + self.limit = seconds + self.used = 0.0 + self.calls: list[dict[str, Any]] = [] + + def call(self, name: str, function: Callable[[], T]) -> T: + remaining = self.limit - self.used + if remaining <= 0: + raise TimeoutError("shared_solver_budget_exhausted") + + def expired(signum: int, frame: Any) -> None: + raise TimeoutError("shared_solver_budget_exhausted") + + before = signal.signal(signal.SIGALRM, expired) + started = time.perf_counter() + signal.setitimer(signal.ITIMER_REAL, remaining) + record: dict[str, Any] = {"operation": name, "completed": False} + try: + value = function() + record["completed"] = True + return value + except Exception as error: + record["error_type"], record["error"] = type(error).__name__, str(error) + raise + finally: + signal.setitimer(signal.ITIMER_REAL, 0.0) + signal.signal(signal.SIGALRM, before) + elapsed = time.perf_counter() - started + self.used += elapsed + record["wall_s"] = elapsed + self.calls.append(record) + + +def save_trajectory(path: Path, value: RadauTrajectory) -> dict[str, Any]: + np.savez_compressed( + path, + initial_u=value.initial.u, + initial_inventory=value.initial.inventory, + times=np.array([value.initial.time_s, *(s.right_s for s in value.steps)]), + coefficients=np.array([s.coefficients for s in value.steps]), + endpoint_u=np.array([s.endpoint.u for s in value.steps]), + endpoint_inventory=np.array([s.endpoint.inventory for s in value.steps]), + stage_u=np.array([[p.u for p in s.stages] for s in value.steps]), + stage_inventory=np.array( + [[p.inventory for p in s.stages] for s in value.steps] + ), + stage_rhs=np.array([[p.rhs for p in s.stages] for s in value.steps]), + stage_residual=np.array([s.stage_residual for s in value.steps]), + ) + return { + "path": str(path), + "sha256": sha256(path.read_bytes()).hexdigest(), + "steps": len(value.steps), + "counters": asdict(value.counters), + "qualified": False, + } + + +def run_case( + scope: str, + intervals: int, + output: Path, + budget: Budget, + *, + enclosed: bool = False, + initial_case: dict[str, Any] | None = None, +) -> dict[str, Any]: + label = f"{scope}_{3 * intervals + 1}" + result: dict[str, Any] = { + "scope": scope, + "electrical_nodes": 3 * intervals + 1, + "status": "reference_blocked", + "tube_proved": False, + "error_bound": None, + "observed_refinement_delta": None, + "histories": [], + "admission_run": False, + } + result["point_evaluator"] = ( + "verified_enclosure_midpoint" if enclosed else "floating_projection" + ) + ionic = scope == "I_V" + duration = 1e-4 if ionic else 1e-8 + drive = ( + PWLDrive((0.0, 1.0), (0.002, 0.004), (0.0, 0.0)) + if ionic + else PWLDrive( + tuple(4e-7 * j / 16 for j in range(17)), + (0.0,) * 17, + tuple(1 + 0.01 * (j / 16) ** 2 for j in range(17)), + ) + ) + result["short_window_s"] = [0.0, duration] + result["drive"] = asdict(drive) + result["drive_hex"] = { + key: [x.hex() for x in value] for key, value in asdict(drive).items() + } + try: + if ionic: + device = compile_ionic_device_1d( + prepare_confined_ion_device(), + intervals_per_layer=(intervals,) * 3, + ion_domain_layer="absorber", + ion_domain_endpoints=("blocking", "blocking"), + ) + problem: Any = AssembledIonic1DProblem(device, 0.002, 0.0) + initial = budget.call( + label + ":initial", + lambda: solve_ionic_steady_state( + device, + voltage_V=0.002, + generation_scale=0.0, + options=ionic_controls(device.ion_node_count), + ), + ) + result["initial"] = { + "accepted": initial.accepted, + "termination": initial.termination, + "checks": serializable(initial.checks), + "error": initial.error, + } + if not initial.accepted or initial.state is None: + result["reason"] = "initial_preparation_failed" + return result + u = initial.state.u + result["ion_nodes"] = device.ion_node_count + else: + electronic = compile_device_1d( + load_device(), intervals_per_layer=(intervals,) * 3 + ) + problem = AssembledDC1DProblem(electronic, 0.0, 1.0) + if initial_case is not None: + if ( + initial_case["device_identity"] != electronic.identity + or initial_case["initial"]["accepted"] is not True + ): + raise ValueError("saved_initial_identity_or_acceptance_mismatch") + u = np.asarray(initial_case["initial"]["newton"]["state"], dtype=float) + result["initial"] = initial_case["initial"] + result["initial_reused"] = True + else: + prepared = budget.call( + label + ":initial", + lambda: solve_steady_state( + electronic, voltage_V=0.0, generation_scale=1.0 + ), + ) + u = prepared.state.u + result["initial"] = { + "accepted": True, + "newton": serializable(prepared.newton), + } + result["device_identity"] = problem.device.identity + mask = problem.binding.layout.constraint_mask() + mask[problem.binding.layout.rows("potential")] = True + initial_z = problem.storage(u)[~mask] + scale = np.maximum(np.abs(initial_z), 1.0) + result["component_scale"] = scale.tolist() + result["initial_error_semantics"] = ( + "unit IVP defined by exact stored binary64 inventories; no bound on departure from true steady initial state" + ) + result["initial"]["u"] = u.tolist() + factory = enclosed_inventory_dae if enclosed else assembled_inventory_dae + model = factory( + problem, + drive, + inventory_scale=scale, + algebraic_scale=np.ones(np.count_nonzero(mask)), + ) + options = RadauControls() + trajectories = [] + for count in (4, 8): + try: + trajectory = budget.call( + label + f":radau_{count}", + lambda: integrate_radau( + model, + u, + np.linspace(0.0, duration, count + 1), + controls=options, + ), + ) + except RadauFailure as failure: + result["failure"] = { + "code": failure.code, + "cause": str(failure.__cause__), + "failed_step": failure.failed_step, + "completed_steps": len(failure.completed_steps), + "time_s": failure.time_s, + "trial": failure.trial.tolist(), + } + if failure.completed_steps: + np.savez_compressed( + output / (label + f"_{count}_failed_prefix.npz"), + coefficients=np.array( + [s.coefficients for s in failure.completed_steps] + ), + endpoint_u=np.array( + [s.endpoint.u for s in failure.completed_steps] + ), + times=np.array([s.right_s for s in failure.completed_steps]), + ) + result["reason"] = "radau_numerical_prefix_failed" + return result + trajectories.append(trajectory) + result["histories"].append( + save_trajectory(output / (label + f"_{count}.npz"), trajectory) + ) + + def observations() -> float: + return max( + float( + np.max( + np.abs( + trajectories[0].sample(float(t)).inventory + - trajectories[1].sample(float(t)).inventory + ) + / scale + ) + ) + for t in np.linspace(0.0, duration, 9) + ) + + result["observed_refinement_delta"] = budget.call( + label + ":outputs", observations + ) + result["observation_kind"] = ( + "scaled 4-versus-8-step inventory difference; not an exact error or certificate" + ) + + def bound() -> Any: + encloser = NonlinearInventoryEnclosure(problem, drive, scale) + return nonlinear_tube_bound( + encloser, + trajectories[-1], + initial_error=0.0, + tube_radius=1e-6, + subdivisions=2, + ) + + proof = budget.call(label + ":enclosure", bound) + result["bound_attempt"] = asdict(proof) + result["tube_proved"] = proof.tube_proved + result["error_bound"] = proof.error_upper + result["status"] = proof.status + result["reason"] = proof.reason + result["qualification"] = False + return result + except Exception as error: + result["reason"] = type(error).__name__ + ": " + str(error) + return result + + +def main() -> int: + parser = argparse.ArgumentParser(description=__doc__) + parser.add_argument("--output", type=Path, required=True) + parser.add_argument("--seconds", type=float, default=240.0) + parser.add_argument("--enclosed", action="store_true") + parser.add_argument("--case", choices=("E_L_37", "I_V_37", "E_L_73", "I_V_73")) + parser.add_argument("--initial-packet", type=Path) + arguments = parser.parse_args() + if arguments.output.exists(): + raise FileExistsError("preserve the existing short-window packet") + arguments.output.mkdir(parents=True) + ctx.threads = 1 + budget = Budget(arguments.seconds) + cases: list[dict[str, Any]] = [] + root = Path(__file__).resolve().parents[4] + files = [ + "src/solarlab/solvers/time/radau_reference.py", + "src/solarlab/solvers/time/radau_enclosure.py", + "tests/unit/solvers/time/radau_short_windows.py", + ] + report: dict[str, Any] = { + "source_pins": { + path: sha256((root / path).read_bytes()).hexdigest() for path in files + }, + "admission_runs": 0, + "qualification": False, + "cases": cases, + "solver_wall_cap_s": budget.limit, + "purpose": "short prefix unit validation; separate prospective review and authorization required for admission", + } + initial_cases: dict[tuple[str, int], dict[str, Any]] = {} + if arguments.initial_packet is not None: + packet = json.loads(arguments.initial_packet.read_text()) + source = "src/solarlab/solvers/time/radau_reference.py" + if packet["source_pins"][source] != report["source_pins"][source]: + raise ValueError("saved_initial_packet_has_a_different_Radau_source") + initial_cases = { + (c["scope"], c["electrical_nodes"]): c for c in packet["cases"] + } + report["initial_packet"] = { + "path": str(arguments.initial_packet), + "sha256": sha256(arguments.initial_packet.read_bytes()).hexdigest(), + } + report["point_evaluator"] = ( + "verified_enclosure_midpoint" if arguments.enclosed else "floating_projection" + ) + (arguments.output / "Plan.json").write_text( + json.dumps( + { + **report, + "planned_cases": [ + { + "scope": scope, + "nodes": 3 * m + 1, + "end_s": 1e-8 if scope == "E_L" else 1e-4, + "step_counts": [4, 8], + "tube_radius": 1e-6, + "subdivisions": 2, + } + for m in (12, 24) + for scope in ("E_L", "I_V") + if arguments.case is None + or arguments.case == f"{scope}_{3 * m + 1}" + ], + }, + indent=2, + ) + + "\n" + ) + for intervals in (12, 24): + for scope in ("E_L", "I_V"): + if ( + arguments.case is not None + and arguments.case != f"{scope}_{3 * intervals + 1}" + ): + continue + result = run_case( + scope, + intervals, + arguments.output, + budget, + enclosed=arguments.enclosed, + initial_case=initial_cases.get((scope, 3 * intervals + 1)), + ) + cases.append(result) + report["solver_wall_s"] = budget.used + report["operations"] = budget.calls + (arguments.output / "ShortWindows.json").write_text( + json.dumps(serializable(report), indent=2, allow_nan=False) + "\n" + ) + print( + json.dumps( + { + key: value + for key, value in result.items() + if key + in { + "scope", + "electrical_nodes", + "status", + "reason", + "tube_proved", + "error_bound", + "observed_refinement_delta", + "short_window_s", + "bound_attempt", + } + }, + indent=2, + ), + flush=True, + ) + return 0 + + +if __name__ == "__main__": + raise SystemExit(main()) diff --git a/tests/unit/solvers/time/radau_split_short_windows.py b/tests/unit/solvers/time/radau_split_short_windows.py new file mode 100644 index 00000000..448c9d66 --- /dev/null +++ b/tests/unit/solvers/time/radau_split_short_windows.py @@ -0,0 +1,463 @@ +"""One E37 split-stage attempt, then I37 only after numerical E completion. + +Explicit invocation only. The original windows, 4/8 grids, drives and controls +remain fixed. A numerical completion does not qualify a reference or turn a +refinement difference into an error estimate. Every result stays on disk. + +Integration conditions: optional, unqualified reference infrastructure for +restricted declared E/I inputs and analytic unit fixtures only. Independence +is static-only: no BDF stepping, history, interpolation or accounting is used. +Retained failed attempts stay failures and qualification flags stay false. +Any future nonzero initial uncertainty must be expressed in the selected +weighted log norm; a numerical trajectory alone does not qualify a reference. +""" + +from __future__ import annotations + +import argparse +from dataclasses import asdict +from fractions import Fraction +from hashlib import sha256 +import json +import math +from pathlib import Path +import runpy +from typing import Any + +from flint import arb, ctx, fmpq +import numpy as np + +from examples.research_1d.ionic_multilayer import prepare_confined_ion_device +from examples.research_1d.ionic_steady import controls as ionic_controls +from examples.research_1d.steady import load_device +from solarlab.device.compile_1d import compile_device_1d +from solarlab.device.compile_ionic_1d import compile_ionic_device_1d +from solarlab.equations.assembly.classical_1d import AssembledDC1DProblem +from solarlab.equations.assembly.ionic_1d import AssembledIonic1DProblem +from solarlab.solvers.nonlinear.ionic_1d import solve_ionic_steady_state +from solarlab.solvers.time.radau_enclosure import NonlinearInventoryEnclosure, PWLDrive +from solarlab.solvers.time.radau_reference import RadauControls, assembled_inventory_dae +from solarlab.solvers.time.radau_split import ( + SplitRadauFailure, + SplitRadauModel, + SplitRadauStep, + SplitRadauTrajectory, + integrate_split_radau, +) + +# The already tested local budget/JSON helpers contain no temporal algorithm. +_helpers = runpy.run_path(str(Path(__file__).with_name("radau_short_windows.py"))) +Budget, serializable = _helpers["Budget"], _helpers["serializable"] + + +def pin(path: Path) -> dict[str, Any]: + return { + "path": str(path.resolve()), + "sha256": sha256(path.read_bytes()).hexdigest(), + "bytes": path.stat().st_size, + } + + +def step_arrays(steps: tuple[SplitRadauStep, ...]) -> dict[str, Any]: + return { + "step_times": np.array([(s.left_s, s.right_s) for s in steps]), + "coefficients_high": np.array([s.coefficients_high for s in steps]), + "coefficients_low": np.array([s.coefficients_low for s in steps]), + "coefficient_encoding_error_upper": np.array( + [s.coefficient_encoding_error_upper for s in steps] + ), + "stage_departures": np.array([s.stage_departures for s in steps]), + "scaled_stage_residual": np.array([s.scaled_stage_residual for s in steps]), + "scaled_stage_residual_upper": np.array( + [s.scaled_stage_residual_upper for s in steps] + ), + "stage_u": np.array([[p.u for p in s.stages] for s in steps]), + "stage_inventory_high": np.array( + [[p.inventory.high for p in s.stages] for s in steps] + ), + "stage_inventory_low": np.array( + [[p.inventory.low for p in s.stages] for s in steps] + ), + "stage_inventory_encoding_error_upper": np.array( + [[p.inventory_encoding_error_upper for p in s.stages] for s in steps] + ), + "stage_static_residual_upper": np.array( + [[p.scaled_reconstruction_residual for p in s.stages] for s in steps] + ), + "endpoint_u": np.array([s.endpoint.u for s in steps]), + "endpoint_inventory_high": np.array([s.endpoint.inventory.high for s in steps]), + "endpoint_inventory_low": np.array([s.endpoint.inventory.low for s in steps]), + "endpoint_static_residual_upper": np.array( + [s.endpoint.scaled_reconstruction_residual for s in steps] + ), + } + + +def save_trajectory(path: Path, trajectory: SplitRadauTrajectory) -> dict[str, Any]: + np.savez_compressed( + path, + initial_u=trajectory.initial.u, + initial_inventory_high=trajectory.initial.inventory.high, + initial_inventory_low=trajectory.initial.inventory.low, + component_scale=trajectory.model.scale, + **step_arrays(trajectory.steps), + ) + return { + **pin(path), + "steps": len(trajectory.steps), + "counters": asdict(trajectory.counters), + "max_scaled_stage_residual": max( + s.scaled_stage_residual_upper for s in trajectory.steps + ), + "max_scaled_reconstruction_residual": max( + p.scaled_reconstruction_residual + for s in trajectory.steps + for p in (*s.stages, s.endpoint) + ), + "qualified": False, + } + + +def run_case( + scope: str, old: dict[str, Any], output: Path, budget: Any +) -> dict[str, Any]: + result: dict[str, Any] = { + "scope": scope, + "electrical_nodes": 37, + "status": "reference_blocked", + "numerical_short_window_completed": False, + "tube_proved": False, + "error_bound": None, + "observed_refinement_delta": None, + "histories": [], + "qualification": False, + "admission_run": False, + } + try: + if scope == "E_L": + e = compile_device_1d(load_device(), intervals_per_layer=(12, 12, 12)) + problem: Any = AssembledDC1DProblem(e, 0.0, 1.0) + if ( + old["device_identity"] != e.identity + or old["initial"]["accepted"] is not True + ): + raise ValueError("saved_E_initial_identity_or_acceptance_mismatch") + u = np.asarray(old["initial"]["newton"]["state"], dtype=float) + result["initial"] = { + "accepted": True, + "reuse": "exact accepted Short01 E37 packet", + "u": u.tolist(), + } + else: + ion = compile_ionic_device_1d( + prepare_confined_ion_device(), + intervals_per_layer=(12, 12, 12), + ion_domain_layer="absorber", + ion_domain_endpoints=("blocking", "blocking"), + ) + problem = AssembledIonic1DProblem(ion, 0.002, 0.0) + if old["device_identity"] != ion.identity: + raise ValueError("saved_I_device_identity_mismatch") + prepared = budget.call( + "I_V:initial", + lambda: solve_ionic_steady_state( + ion, + voltage_V=0.002, + generation_scale=0.0, + options=ionic_controls(ion.ion_node_count), + ), + ) + result["initial"] = { + "accepted": prepared.accepted, + "termination": prepared.termination, + "checks": serializable(prepared.checks), + "error": prepared.error, + "reuse": "new original-control preparation; Short01 I initial coordinates were not retained", + } + if not prepared.accepted or prepared.state is None: + result["reason"] = "I_initial_preparation_failed" + return result + u = prepared.state.u + result["initial"]["u"] = u.tolist() + result["ion_nodes"] = ion.ion_node_count + duration = 1e-8 if scope == "E_L" else 1e-4 + result["short_window_s"] = [0.0, duration] + drive = PWLDrive(**{key: tuple(value) for key, value in old["drive"].items()}) + result["drive"] = asdict(drive) + result["drive_hex"] = { + key: [value.hex() for value in values] + for key, values in asdict(drive).items() + } + result["device_identity"] = problem.device.identity + mask = problem.binding.layout.constraint_mask() + mask[problem.binding.layout.rows("potential")] = True + z0 = problem.storage(u)[~mask] + scale = np.maximum(np.abs(z0), 1.0) + if scope == "E_L" and not np.array_equal( + scale, np.asarray(old["component_scale"]) + ): + raise ValueError("saved_E_scale_mismatch") + result["component_scale"] = scale.tolist() + result["initial_inventory_high"] = z0.tolist() + result["initial_inventory_low"] = np.zeros_like(z0).tolist() + result["initial_error_semantics"] = ( + "exact encoded initial-inventory IVP only; departure from a true steady state is not enclosed" + ) + static = assembled_inventory_dae( + problem, + drive, + inventory_scale=scale, + algebraic_scale=np.ones(np.count_nonzero(mask)), + ) + model = SplitRadauModel( + static, NonlinearInventoryEnclosure(problem, drive, scale) + ) + controls = RadauControls() + result["controls"] = asdict(controls) + histories = [] + for count in (4, 8): + try: + history = budget.call( + scope + f":split_radau_{count}", + lambda: integrate_split_radau( + model, + u, + np.linspace(0.0, duration, count + 1), + controls=controls, + ), + ) + except SplitRadauFailure as error: + path = output / (scope + f"_{count}_failed.npz") + np.savez_compressed( + path, + initial_u=u, + initial_inventory_high=z0, + component_scale=scale, + failed_start_high=error.step_start.high, + failed_start_low=error.step_start.low, + failed_trial_departures=( + np.empty((0, scale.size)) + if error.trial_departures is None + else error.trial_departures + ), + **step_arrays(error.completed_steps), + ) + result["failure"] = { + "code": error.code, + "cause": str(error.__cause__), + "failed_step": error.failed_step, + "completed_steps": len(error.completed_steps), + "time_s": error.time_s, + "scaled_residual_upper": error.scaled_residual_upper, + "trial_available": error.trial_departures is not None, + "counters": asdict(error.counters) + if error.counters is not None + else None, + "artifact": pin(path), + } + result["reason"] = "split_Radau_numerical_prefix_failed" + return result + histories.append(history) + result["histories"].append( + save_trajectory(output / (scope + f"_{count}.npz"), history) + ) + + def observations() -> dict[str, Any]: + times = np.linspace(0.0, duration, 9) + difference = 0.0 + output_norm = 0.0 + saved: dict[str, Any] = {"times_s": times} + with ctx.workprec(192): + for count, history in zip((4, 8), histories): + points = [history.sample(float(t)) for t in times] + saved[f"u_{count}"] = np.array([p.u for p in points]) + saved[f"inventory_high_{count}"] = np.array( + [p.inventory.high for p in points] + ) + saved[f"inventory_low_{count}"] = np.array( + [p.inventory.low for p in points] + ) + saved[f"inventory_encoding_error_upper_{count}"] = np.array( + [p.inventory_encoding_error_upper for p in points] + ) + output_norm = max( + output_norm, *(p.scaled_reconstruction_residual for p in points) + ) + for t in times: + steps = [ + next(s for s in history.steps if s.left_s <= t <= s.right_s) + for history in histories + ] + left, right = (step.polynomial(float(t)) for step in steps) + for a, b, s in zip(left, right, scale): + fraction = Fraction(float(s)) + value = abs(a - b) / arb( + fmpq(fraction.numerator, fraction.denominator) + ) + upper = float(value.upper()) + difference = max( + difference, + 0.0 if value.is_zero() else math.nextafter(upper, math.inf), + ) + path = output / (scope + "_outputs.npz") + np.savez_compressed(path, **saved) + return { + "artifact": pin(path), + "refinement_delta_upper_at_9_clocks": difference, + "max_scaled_output_reconstruction_residual": output_norm, + "meaning": "upper bound on the two encoded polynomials' sampled difference; not error relative to the unknown exact device solution", + } + + observed = budget.call(scope + ":outputs", observations) + result["observations"] = observed + result["observed_refinement_delta"] = observed[ + "refinement_delta_upper_at_9_clocks" + ] + result["numerical_short_window_completed"] = True + proof = budget.call( + scope + ":fine_tube", + lambda: histories[-1].bound( + initial_error=0.0, tube_radius=1e-6, subdivisions=2 + ), + ) + result["bound_attempt"] = asdict(proof) + result["tube_proved"], result["error_bound"] = ( + proof.tube_proved, + proof.error_upper, + ) + result["status"], result["reason"] = proof.status, proof.reason + return result + except Exception as error: + result["reason"] = type(error).__name__ + ": " + str(error) + return result + + +def main() -> int: + parser = argparse.ArgumentParser(description=__doc__) + parser.add_argument("--output", type=Path, required=True) + parser.add_argument("--seconds", type=float, required=True) + parser.add_argument("--previous-result", type=Path, required=True) + parser.add_argument("--initial-packet", type=Path, required=True) + arguments = parser.parse_args() + if arguments.output.exists(): + raise FileExistsError("preserve every prior attempt") + if ( + sha256(arguments.previous_result.read_bytes()).hexdigest() + != "5cf571ac4abb0956249dd64da1666472460fa68f8d545544df5ce40bc6ac03d6" + ): + raise ValueError("unrecognized_previous_stage2_result") + previous = json.loads(arguments.previous_result.read_text()) + expected = next( + row["packet"]["sha256"] + for row in previous["short_window_table"] + if row["attempt"] == "Short01" + ) + if sha256(arguments.initial_packet.read_bytes()).hexdigest() != expected: + raise ValueError("unrecognized_saved_initial_packet") + packet = json.loads(arguments.initial_packet.read_text()) + root = Path(__file__).resolve().parents[4] + sources = [ + "src/solarlab/solvers/time/radau_reference.py", + "src/solarlab/solvers/time/radau_enclosure.py", + "src/solarlab/solvers/time/radau_split.py", + "tests/unit/solvers/time/radau_short_windows.py", + "tests/unit/solvers/time/radau_split_short_windows.py", + ] + pins = {p: sha256((root / p).read_bytes()).hexdigest() for p in sources} + if pins[sources[0]] != packet["source_pins"][sources[0]]: + raise ValueError("original_Radau_source_changed") + if ( + not 0 + < arguments.seconds + <= min(240.0, 300.0 - previous["budget"]["rounded_charge_s"]) + ): + raise ValueError("requested_budget_exceeds_remaining_allowance") + arguments.output.mkdir(parents=True) + ctx.threads = 1 + budget = Budget(arguments.seconds) + report: dict[str, Any] = { + "schema": "solarlab.radau_split_short_windows.v1", + "source_pins": pins, + "previous_result": pin(arguments.previous_result), + "initial_packet": pin(arguments.initial_packet), + "solver_wall_cap_s": budget.limit, + "previous_conservative_charge_s": previous["budget"]["rounded_charge_s"], + "controls": asdict(RadauControls()), + "qualification": False, + "admission_runs": 0, + "cases": [], + "conditional_I_rule": "I37 only after both E37 grids and all sampled static/output checks complete; tube failure does not masquerade as qualification", + "planned": [ + {"scope": "E_L", "electrical_nodes": 37, "end_s": 1e-8, "steps": [4, 8]}, + { + "scope": "I_V", + "electrical_nodes": 37, + "ion_nodes": 13, + "end_s": 1e-4, + "steps": [4, 8], + "conditional": True, + }, + ], + "tube": { + "radius": 1e-6, + "subdivisions": 2, + "initial_error": 0.0, + "initial_error_scope": "encoded unit IVP", + }, + } + (arguments.output / "Plan.json").write_text(json.dumps(report, indent=2) + "\n") + for scope in ("E_L", "I_V"): + if ( + scope == "I_V" + and not report["cases"][0]["numerical_short_window_completed"] + ): + report["cases"].append( + { + "scope": "I_V", + "status": "reference_blocked", + "reason": "not_started_E37_numerical_condition_not_met", + "qualification": False, + } + ) + break + old = next( + c + for c in packet["cases"] + if c["scope"] == scope and c["electrical_nodes"] == 37 + ) + result = run_case(scope, old, arguments.output, budget) + report["cases"].append(result) + report["solver_wall_s"], report["operations"] = budget.used, budget.calls + (arguments.output / "ShortWindows.json").write_text( + json.dumps(serializable(report), indent=2, allow_nan=False) + "\n" + ) + print( + json.dumps( + { + k: v + for k, v in result.items() + if k + in { + "scope", + "status", + "reason", + "numerical_short_window_completed", + "tube_proved", + "error_bound", + "observed_refinement_delta", + "bound_attempt", + } + }, + indent=2, + ), + flush=True, + ) + report["solver_wall_s"], report["operations"] = budget.used, budget.calls + (arguments.output / "ShortWindows.json").write_text( + json.dumps(serializable(report), indent=2, allow_nan=False) + "\n" + ) + return 0 + + +if __name__ == "__main__": + raise SystemExit(main()) diff --git a/tests/unit/solvers/time/radau_weight_saved.py b/tests/unit/solvers/time/radau_weight_saved.py new file mode 100644 index 00000000..e504f27b --- /dev/null +++ b/tests/unit/solvers/time/radau_weight_saved.py @@ -0,0 +1,237 @@ +"""One bounded diagonal-weight check of pinned saved Radau polynomials. + +Invoke through runpy from the reference worktree root. No steady or time +integrator is called. Floating eigen/linear algebra only proposes weights; +the propagation bounds use full-slab Arb enclosures and exact weight words. + +Integration conditions: optional, unqualified reference infrastructure for +restricted declared E/I inputs and analytic unit fixtures only. Independence +is static-only: no BDF stepping, history, interpolation or accounting is used. +Retained failed attempts stay failures and qualification flags stay false. +Any future nonzero initial uncertainty must be expressed in the selected +weighted log norm; a numerical trajectory alone does not qualify a reference. +""" + +from __future__ import annotations + +import argparse +from dataclasses import asdict +import json +from pathlib import Path +import runpy +import subprocess +from time import perf_counter +from typing import Any + +from flint import ctx +import numpy as np +from threadpoolctl import threadpool_info, threadpool_limits + +from examples.research_1d.ionic_multilayer import prepare_confined_ion_device +from examples.research_1d.steady import load_device +from solarlab.device.compile_1d import compile_device_1d +from solarlab.device.compile_ionic_1d import compile_ionic_device_1d +from solarlab.equations.assembly.classical_1d import AssembledDC1DProblem +from solarlab.equations.assembly.ionic_1d import AssembledIonic1DProblem +from solarlab.solvers.time.radau_enclosure import ( + NonlinearInventoryEnclosure, + PWLDrive, + weighted_positive_polynomial_tube, +) + +_reader = runpy.run_path(str(Path(__file__).with_name("radau_enclose_saved.py"))) +pin, require_hash, load_path = ( + _reader["pin"], + _reader["require_hash"], + _reader["load_path"], +) +BASE: str = _reader["BASE"] +DELIVERY_SHA256 = "18908fe2241838551c95c0db4eba8375d7f0d90098fef5d0467ae15b71036fa2" +READER_SHA256 = "e13d01969b92417e27857dbdec7021ba02c4cac8ba0c8ed6cf81c8061caf1908" + + +def run_case(root: Path, case: dict[str, Any], output: Path) -> dict[str, Any]: + start = perf_counter() + scope = case["scope"] + history = root / ".artifacts/RadauReferenceV1/Stage2b/Short03" / f"{scope}_8.npz" + saved = require_hash(history, _reader["HISTORY_SHA256"][scope]) + fine = next(row for row in case["histories"] if row["steps"] == 8) + if fine["sha256"] != saved["sha256"]: + raise ValueError("saved_history_packet_pin_mismatch") + path = load_path(history, case) + drive = PWLDrive(**{key: tuple(value) for key, value in case["drive"].items()}) + if { + key: [value.hex() for value in values] for key, values in asdict(drive).items() + } != case["drive_hex"]: + raise ValueError("saved_drive_encoding_mismatch") + inputs = drive(float(path.step_times_s[0, 0])) + if scope == "E_L": + electronic = compile_device_1d(load_device(), intervals_per_layer=(12, 12, 12)) + problem: AssembledDC1DProblem | AssembledIonic1DProblem = AssembledDC1DProblem( + electronic, inputs.voltage_V, inputs.generation_scale + ) + elif scope == "I_V": + ionic = compile_ionic_device_1d( + prepare_confined_ion_device(), + intervals_per_layer=(12, 12, 12), + ion_domain_layer="absorber", + ion_domain_endpoints=("blocking", "blocking"), + ) + problem = AssembledIonic1DProblem( + ionic, inputs.voltage_V, inputs.generation_scale + ) + else: + raise ValueError("unapproved_saved_scope") + if problem.device.identity != case["device_identity"]: + raise ValueError("saved_compiled_device_identity_mismatch") + field = NonlinearInventoryEnclosure( + problem, drive, path.original_scale, branch_aware=True + ) + bound = weighted_positive_polynomial_tube( + field, + path, + initial_log_error=0.0, + log_radius=1e-6, + subdivisions=2, + ) + data = asdict(bound) + matrices = data.pop("comparison_matrices") + matrix_path = output / f"{scope}_comparisons.npz" + np.savez_compressed( + matrix_path, + comparison_matrices=matrices, + selected_weights=np.array(bound.selected_weights), + step_times=path.step_times_s, + original_scale=path.original_scale, + ) + result = { + "scope": scope, + "electrical_nodes": 37, + "ion_nodes": case.get("ion_nodes", 0), + "window_s": case["short_window_s"], + "saved_history": saved, + "device_identity": problem.device.identity, + "observed_refinement_delta": case["observed_refinement_delta"], + "observation_meaning": case["observations"]["meaning"], + "initial_error_semantics": case["initial_error_semantics"], + "bound_attempt": data, + "comparison_artifact": pin(matrix_path), + "status": bound.status, + "reason": bound.reason, + "cap_cleared": bound.best_exponent_upper is not None + and bound.best_exponent_upper <= 50, + "whole_window_error_bound": None + if bound.tube_bound is None + else bound.tube_bound.error_upper, + "wall_s": perf_counter() - start, + "new_steady_solves": 0, + "new_transient_solves": 0, + "admission_run": False, + } + print( + json.dumps( + { + "scope": scope, + "status": result["status"], + "reason": result["reason"], + "candidate": bound.selected_candidate, + "best_exponent_upper": bound.best_exponent_upper, + "best_first_slab_exponent_upper": bound.best_first_slab_exponent_upper, + "enclosed_slabs": bound.enclosed_slabs, + "wall_s": result["wall_s"], + }, + allow_nan=False, + ), + flush=True, + ) + return result + + +def main() -> None: + parser = argparse.ArgumentParser(description=__doc__) + parser.add_argument("--output", type=Path, required=True) + arguments = parser.parse_args() + root = Path(__file__).resolve().parents[4] + output = arguments.output.resolve() + if not output.is_relative_to(root): + raise ValueError("output_must_stay_in_reference_worktree") + output.mkdir(parents=True, exist_ok=False) + start = perf_counter() + context: dict[str, Any] = { + "schema": "solarlab.radau.saved-weighted-enclosure.v1", + "base_commit": BASE, + "cases": [], + "new_steady_solves": 0, + "new_transient_solves": 0, + "admission_runs": 0, + "qualification": False, + "norm": "constant D=diag(1/w) on log-inventory deviations", + "tube": { + "log_radius": 1e-6, + "subdivisions": 2, + "initial_log_error": 0.0, + "exponent_cap": 50, + }, + "matrix_scope": "whole polynomial subslab and entire positive outer tube; no point-only Jacobians", + } + try: + head = subprocess.check_output( + ["git", "rev-parse", "HEAD"], cwd=root, text=True + ).strip() + if head != BASE: + raise ValueError("reference_base_commit_mismatch") + subprocess.run( + ["git", "diff", "--exit-code", BASE, "--", "src", "examples"], + cwd=root, + check=True, + capture_output=True, + ) + prior = root / ".artifacts/RadauReferenceV1/Stage2c/Delivery.json" + context["prior_delivery"] = require_hash(prior, DELIVERY_SHA256) + delivery = json.loads(prior.read_text()) + context["prior_result"] = require_hash( + Path(delivery["result"]["path"]), delivery["result"]["sha256"] + ) + reader_path = Path(__file__).with_name("radau_enclose_saved.py") + context["saved_reader"] = require_hash(reader_path, READER_SHA256) + for row in delivery["all_files_to_integrate"]: + if Path(row["path"]) != root / _reader["CHANGED_SOURCE"]: + require_hash(Path(row["path"]), row["sha256"]) + packet_path = ( + root / ".artifacts/RadauReferenceV1/Stage2b/Short03/ShortWindows.json" + ) + context["saved_packet"] = require_hash(packet_path, _reader["PACKET_SHA256"]) + packet = json.loads(packet_path.read_text()) + context["saved_trajectory_source_pins"] = packet["source_pins"] + context["enclosure_source_pins"] = { + file: pin(root / file)["sha256"] + for file in ( + _reader["CHANGED_SOURCE"], + str(Path(__file__).resolve().relative_to(root)), + ) + } + ctx.threads = 1 + with threadpool_limits(limits=1), ctx.workprec(192): + context["threadpools"] = threadpool_info() + for case in packet["cases"]: + context["cases"].append(run_case(root, case, output)) + (output / "SavedWeights.json").write_text( + json.dumps(context, indent=2, allow_nan=False) + "\n" + ) + context["input_pins_unchanged_after_evaluation"] = all( + pin(Path(row["saved_history"]["path"]))["sha256"] + == row["saved_history"]["sha256"] + for row in context["cases"] + ) + except Exception as error: + context["fatal_error"] = f"{type(error).__name__}: {error}" + raise + finally: + context["whole_wall_s"] = perf_counter() - start + (output / "SavedWeights.json").write_text( + json.dumps(context, indent=2, allow_nan=False) + "\n" + ) + + +if __name__ == "__main__": + main() diff --git a/tests/unit/solvers/time/test_assembled_bdf.py b/tests/unit/solvers/time/test_assembled_bdf.py new file mode 100644 index 00000000..0c986268 --- /dev/null +++ b/tests/unit/solvers/time/test_assembled_bdf.py @@ -0,0 +1,326 @@ +"""Unchanged electronic BE/BDF controls applied to the assembled storage system. + +The original diagnostics receive only an assembled endpoint, with the public +observation names mapped by AssembledStorage1D. Missing phase-2a observations +are strict expected failures before any nonlinear solve, never legacy fallbacks. +Each original reference runs under the legacy opt-out and is shown to evaluate +the original classes only; each candidate runs explicitly assembled. A one-ulp +change to the assembled residuals alone makes the comparison fail. +""" + +from dataclasses import asdict, replace +import json +import math +import os +from pathlib import Path + +import numpy as np +import pytest +from threadpoolctl import threadpool_limits + +from examples.research_1d.steady import load_device +from examples.research_1d.transient import controls, json_value +from solarlab.device.compile_1d import compile_device_1d +from solarlab.equations.assembly.classical_1d import AssembledDC1DProblem, classical_dc_1d +from solarlab.equations.dc_1d import DC1DProblem +from solarlab.equations.implementation import ASSEMBLED, LEGACY, equation_implementation +from solarlab.experiments.ionic_transient import _finite_accounting +from solarlab.experiments.jv.operating_points import _verify_point +from solarlab.experiments.transient import TransientProtocol, solve_transient +from solarlab.solvers.nonlinear.newton import NewtonSettings +from solarlab.solvers.nonlinear.problem import GateOutcome +from solarlab.solvers.nonlinear.production import ( + production_convergence_norm, production_coordinates, production_residual_scaling, +) +from solarlab.solvers.nonlinear.steady_1d import SteadyOptions, solve_steady_state +from solarlab.solvers.time.assembled_storage import AssembledStorage1D +from solarlab.solvers.time.backward_euler import BackwardEuler1DStep, step_accounting +from solarlab.solvers.time.bdf import Assessment, BDFEvent, BDFOptions, BDFStep, HistoryPoint, solve_bdf +from solarlab.solvers.time.bdf_1d import BDFDrive, ElectronicStorage1D, bdf_accounting +from solarlab.experiments.bdf import _events +from support.equation_provenance import counted, one_ulp_residual + + +INITIALS = {} +RECORDS = {} + + +@pytest.fixture(scope="module", autouse=True) +def blas1(): + with threadpool_limits(limits=1): + yield + + +@pytest.fixture(scope="module") +def device(): + return compile_device_1d(load_device(), intervals_per_layer=12) + + +def require_observations(): + for name in ("recombination_rate", "contact_exchange"): + assert callable(getattr(AssembledDC1DProblem, name, None)), name + + +def record(name, value): + RECORDS[name] = json_value(value) + output = os.environ.get("SOLARLAB_BDF_ASSEMBLY_OUTPUT") + if output: + Path(output).write_text(json.dumps(RECORDS, indent=2, allow_nan=False) + "\n") + + +def initial(device, generation): + key = (device.identity, generation) + if key not in INITIALS: + point = solve_steady_state(device, voltage_V=0.0, generation_scale=generation, options=SteadyOptions()) + record("initial_" + str(generation), point) + assert point.converged + INITIALS[key] = point + return INITIALS[key] + + +def protocol(generation, output=None): + times = np.linspace(0.0, 4e-7, 5) + voltage = np.zeros(5) if generation else .002 * (times / times[-1])**2 + light = 1.0 + .01 * (times / times[-1])**2 if generation else np.zeros(5) + drive = BDFDrive.from_protocol(TransientProtocol(times, voltage, light)) + if output is None: + return TransientProtocol(times, voltage, light), drive + values = np.array([drive.values(t) for t in output]) + return TransientProtocol(output, values[:, 0], values[:, 1]), drive + + +def electronic_view(step): + """Only the unchanged diagnostic helper's endpoint interface is adapted.""" + endpoint = ElectronicStorage1D(step.endpoint) + history = tuple(HistoryPoint(point.time_s, point.u, point.storage_value, + ElectronicStorage1D(point.problem)) for point in step.history) + return BDFStep(endpoint, history, step.end_s, step.order) + + +def run_assembled(device, point, requested, drive, options): + """Bind the existing controls, predictor and accounting to solve_bdf.""" + physical = controls() + admission = SteadyOptions() + _verify_point(device, point, point.generation_scale, admission) + base = NewtonSettings(production_residual_scaling(device, + poisson_tolerance=physical.poisson_tolerance, + continuity_tolerance_A_m2=physical.continuity_tolerance_A_m2, + contact_log_tolerance=physical.contact_log_tolerance), 1.0, + production_coordinates(device, potential_step_V=physical.potential_step_V, + quasi_fermi_step=physical.quasi_fermi_step), physical.newton_budget, (), False) + norm = production_convergence_norm(device, convergence_policy=physical.convergence_policy) + binding = classical_dc_1d(device) + def factory(t, side): + voltage, generation = drive.values(t, side) + return AssembledStorage1D(AssembledDC1DProblem(device, voltage, generation, binding)) + def assessment(step, u): + data = bdf_accounting(electronic_view(step), u) + data["assembled_full_residual"] = step.residual(u) + finite = _finite_accounting(data) + return Assessment(data, (GateOutcome("finite_original_accounting", finite, + 0.0 if finite else math.inf, 0.0),)) + def seed(step): + old = step.history[0] + previous = device.state(old.u, voltage_V=old.problem.voltage_V) + return BackwardEuler1DStep(step.endpoint, previous, step.dt_s).initial_coordinates( + physical.predictor, voltage_lift=True) + events = [] + for event in _events(drive, lambda t, side: ElectronicStorage1D(factory(t, side)), physical): + def restart(old, new, u, callback=event.restart): + return callback(ElectronicStorage1D(old), ElectronicStorage1D(new), u) + events.append(BDFEvent(event.time_s, restart, event.name)) + return solve_bdf(factory, point.state.u, + (float(requested.times_s[0]), float(requested.times_s[-1])), + options=replace(options, wall_s=min(options.wall_s, physical.wall_s), + max_steps=min(options.max_steps, physical.max_steps)), + settings=lambda step: base, convergence_norm=norm, assess=assessment, seed=seed, + breakpoints_s=tuple(float(t) for t in drive.times_s[1:-1]), + events=tuple(events), + output_times_s=requested.times_s) + + +def assert_bits(left, right): + left, right = np.asarray(left), np.asarray(right) + assert left.shape == right.shape and left.dtype == right.dtype + assert left.tobytes() == right.tobytes() + + +def assert_newton(left, right): + if left is None or right is None: + assert left is right + return + assert_bits(left.state, right.state) + assert left.accepted == right.accepted and left.termination == right.termination + assert left.iterations == right.iterations and left.gates == right.gates + for a, b in zip(left.iterations, right.iterations): + assert_bits(np.array([a.scaled_residual, a.step_inf, a.damping]), + np.array([b.scaled_residual, b.step_inf, b.damping])) + assert left.start_digest == right.start_digest and left.message == right.message + assert_bits(np.array([left.scaled_residual]), np.array([right.scaled_residual])) + assert left.residual_evaluations == right.residual_evaluations + assert left.jacobian_evaluations == right.jacobian_evaluations + + +def assert_accounting(left, right): + for key, value in left.items(): + if isinstance(value, np.ndarray): + assert_bits(value, right[key]) + elif isinstance(value, dict): + assert_accounting(value, right[key]) + else: + assert value == right[key] + + +def assert_bdf(left, right, device, drive): + assert left.completed == right.completed, (left.termination, right.termination, right.error) + assert left.termination == right.termination and left.error == right.error + assert_bits(left.accepted_times_s, right.accepted_times_s) + assert left.nonlinear_calls == right.nonlinear_calls + assert left.evaluation_counts == right.evaluation_counts + assert len(left.attempts) == len(right.attempts) + for a, b in zip(left.attempts, right.attempts): + assert (a.start_s, a.end_s, a.order, a.accepted, a.termination, a.estimator) == ( + b.start_s, b.end_s, b.order, b.accepted, b.termination, b.estimator) + assert_bits(a.initial_coordinates, b.initial_coordinates) + assert_bits(a.candidate_coordinates, b.candidate_coordinates) + assert_bits(a.coefficients, b.coefficients) + assert_bits(np.array([a.error_norm]), np.array([b.error_norm])) + assert_newton(a.newton, b.newton) + assert len(a.auxiliary_newton) == len(b.auxiliary_newton) + for original, assembled in zip(a.auxiliary_newton, b.auxiliary_newton): + assert_newton(original, assembled) + if a.assessment is not None: + assert a.assessment.checks == b.assessment.checks + assert_accounting(a.assessment.accounting, b.assessment.accounting) + for t, a, b in zip(left.accepted_times_s, left.accepted_coordinates, right.accepted_coordinates): + assert_bits(a, b) + voltage, _ = drive.values(t) + old, new = device.state(a, voltage_V=voltage), device.state(b, voltage_V=voltage) + for field in ("potential_V", "electron_density_m3", "hole_density_m3"): + assert_bits(getattr(old, field), getattr(new, field)) + assert len(left.samples) == len(right.samples) + for a, b in zip(left.samples, right.samples): + assert (a.time_s, a.interpolant_order, a.accepted_step_endpoint) == ( + b.time_s, b.interpolant_order, b.accepted_step_endpoint) + assert_bits(a.u, b.u) + assert_bits(a.storage_value, b.storage_value) + assert_newton(a.projection, b.projection) + assert len(left.restarts) == len(right.restarts) + for a, b in zip(left.restarts, right.restarts): + assert (a.time_s, a.name, a.accepted) == (b.time_s, b.name, b.accepted) + for field in ("left_u", "right_u", "left_storage", "right_storage"): + assert_bits(getattr(a, field), getattr(b, field)) + assert a.assessment.checks == b.assessment.checks + assert_accounting(a.assessment.accounting, b.assessment.accounting) + + +def test_original_accounting_uses_assembled_public_observations(device): + require_observations() + n = device.node_count + old_u = np.r_[device.reference_potential_V, np.zeros(2 * n)] + u = old_u.copy() + u[n + 1:2 * n - 1] += .01 + u[2 * n + 1:-1] -= .02 + previous = device.state(old_u, voltage_V=0.0) + original = BackwardEuler1DStep(DC1DProblem(device, 0.0, 1.0), previous, 1e-7) + assembled = BackwardEuler1DStep(AssembledStorage1D(AssembledDC1DProblem(device, 0.0, 1.0)), previous, 1e-7) + assert_accounting(step_accounting(original, u), step_accounting(assembled, u)) + + +def legacy_reference(run): + """An original reference: the legacy opt-out, evaluating the original classes and no Assembler.""" + # Under the assembled default it would compare the assembled path with itself. + with equation_implementation(LEGACY), counted() as observed: + result = run() + assert observed.original > 0 and observed.assembled == 0 + return result + + +def assembled_candidate(run): + """A candidate run explicitly assembled, evaluating no original class.""" + with equation_implementation(ASSEMBLED), counted() as observed: + result = run() + assert observed.assembled > 0 and observed.original == 0 + return result + + +def assert_be(original_BE, assembled_BE, assembled_BDF): + assert original_BE.completed and assembled_BE.completed + assert_bits(original_BE.accepted_times_s, assembled_BE.accepted_times_s) + for a, b, u in zip(original_BE.states, assembled_BE.states, assembled_BDF.accepted_coordinates): + assert_bits(a.u, b.u) + assert_bits(a.u, u) + for field in ("potential_V", "electron_density_m3", "hole_density_m3"): + assert_bits(getattr(a, field), getattr(b, field)) + for a, b, c in zip(original_BE.attempts, assembled_BE.attempts, assembled_BDF.accepted_steps): + assert_newton(a.newton, b.newton) + assert_newton(a.newton, c.newton) + assert_accounting(a.accounting, b.accounting) + assert_accounting(a.accounting, c.assessment.accounting) + + +@pytest.mark.parametrize("generation", [0.0, 1.0]) +def test_fixed_step_assembled_BE_and_BDF1_are_bitwise(device, generation): + require_observations() + point = initial(device, generation) + requested, drive = protocol(generation) + settings = BDFOptions(1e-7, max_step_s=1e-7, max_order=1, adaptive=False) + original_BE = legacy_reference(lambda: solve_transient(device, point, requested, options=controls(), + initial_options=SteadyOptions())) + record("BE_" + str(generation), original_BE) + original_BDF = legacy_reference(lambda: solve_transient(device, point, requested, options=controls(), + initial_options=SteadyOptions(), method="bdf", bdf_options=settings)) + record("BDF1_legacy_" + str(generation), original_BDF) + assembled_BDF = assembled_candidate(lambda: run_assembled(device, point, requested, drive, settings)) + record("BDF1_assembled_" + str(generation), assembled_BDF) + assert_bdf(original_BDF, assembled_BDF, device, drive) + # The production BE driver on its assembled storage system (one binding per history). + assembled_BE = assembled_candidate(lambda: solve_transient(device, point, requested, options=controls(), + initial_options=SteadyOptions())) + record("BE_assembled_" + str(generation), assembled_BE) + assert_be(original_BE, assembled_BE, assembled_BDF) + + +def test_a_one_ulp_assembled_residual_change_fails_both_comparisons(device): + """The comparisons are not degenerate: the mutation reaches the assembled side only.""" + require_observations() + point = initial(device, 1.0) + requested, drive = protocol(1.0) + settings = BDFOptions(1e-7, max_step_s=1e-7, max_order=1, adaptive=False) + original_BE = legacy_reference(lambda: solve_transient(device, point, requested, options=controls(), + initial_options=SteadyOptions())) + original_BDF = legacy_reference(lambda: solve_transient(device, point, requested, options=controls(), + initial_options=SteadyOptions(), method="bdf", bdf_options=settings)) + with one_ulp_residual() as perturbed: + assembled_BDF = assembled_candidate(lambda: run_assembled(device, point, requested, drive, settings)) + assembled_BE = assembled_candidate(lambda: solve_transient(device, point, requested, options=controls(), + initial_options=SteadyOptions())) + assert perturbed + with pytest.raises(AssertionError): + assert_bdf(original_BDF, assembled_BDF, device, drive) + with pytest.raises(AssertionError): + assert_be(original_BE, assembled_BE, assembled_BDF) + # Unperturbed, the same references and candidates agree. + assert_bdf(original_BDF, assembled_candidate(lambda: run_assembled(device, point, requested, drive, settings)), + device, drive) + + +@pytest.mark.parametrize("generation", [0.0, 1.0]) +def test_adaptive_assembled_history_orders_rejections_and_dense_samples_are_bitwise(device, generation): + require_observations() + point = initial(device, generation) + requested, drive = protocol(generation, np.array([0.0, .13, .31, 1.0]) * 4e-7) + settings = BDFOptions(1e-7, max_step_s=2e-7, relative_tolerance=1e-5) + original = legacy_reference(lambda: solve_transient(device, point, requested, options=controls(), + initial_options=SteadyOptions(), method="bdf", bdf_options=settings, bdf_drive=drive)) + record("adaptive_legacy_" + str(generation), original) + assembled = assembled_candidate(lambda: run_assembled(device, point, requested, drive, settings)) + record("adaptive_assembled_" + str(generation), assembled) + assert_bdf(original, assembled, device, drive) + record("parity_" + str(generation), { + "completed": assembled.completed, "termination": assembled.termination, + "accepted_steps": len(assembled.accepted_steps), "rejected_steps": len(assembled.rejected_steps), + "samples": len(assembled.samples), "identical_step_sequence": True, + "all_compared_arrays_bitwise": True, "maximum_ulp_difference": 0, + "physical_controls": asdict(controls()), "LTE_controls": asdict(settings), + "qualification": False}) diff --git a/tests/unit/solvers/time/test_assembled_ionic_bdf_adapters.py b/tests/unit/solvers/time/test_assembled_ionic_bdf_adapters.py new file mode 100644 index 00000000..c20318dd --- /dev/null +++ b/tests/unit/solvers/time/test_assembled_ionic_bdf_adapters.py @@ -0,0 +1,248 @@ +"""Canonical storage and every domain/species of the new ionic BDF adapters.""" + +from dataclasses import asdict, is_dataclass +import hashlib +import json + +import numpy as np +import pytest + +from examples.research_1d.dual_ionic import compile_case as dual +from examples.research_1d.shared_site_ionic import compile_case as shared +from examples.research_1d.immobile_ions import prepare_immobile_ion_device +from examples.research_1d.multiple_ionic_domains import DOMAINS, INTERVALS, prepare_multiple_ionic_device +from examples.research_1d.multiple_ionic_steady import prepare_mixed_immobile_device +from examples.research_1d.steady import load_device +from examples.research_1d.transient import controls, json_value +from examples.research_1d.ionic_residual import prepare_single_ion_device +from examples.research_1d.ionic_steady import controls as steady_ionic_controls +from examples.research_1d.ionic_transient import controls as time_ionic_controls +from solarlab.contracts.units import ELEMENTARY_CHARGE_C as Q +from solarlab.device.compile_1d import compile_device_1d +from solarlab.device.compile_ionic_1d import compile_ionic_device_1d +from solarlab.device.compile_multiple_ionic_1d import compile_multiple_ionic_device_1d +from solarlab.equations.assembly.ionic_1d import ( + AssembledIonic1DProblem, AssembledMultipleIonic1DProblem, + AssembledConstrainedIonic1DProblem, AssembledConstrainedMultipleIonic1DProblem, +) +from solarlab.equations.ionic_1d import CompiledIonicDevice1D +from solarlab.experiments.ionic_transient import load_ionic_steady_initial +from solarlab.experiments.transient import TransientProtocol +from solarlab.experiments.transient_results import _encode +from solarlab.solvers.nonlinear.steady_1d import SteadyOptions, solve_steady_state +from solarlab.solvers.nonlinear.ionic_1d import solve_ionic_steady_state +from solarlab.solvers.time.assembled_ionic_backward_euler import ( + AssembledIonicBackwardEuler1DStep, AssembledMultipleIonicBackwardEuler1DStep, +) +from solarlab.solvers.time.assembled_ionic_bdf import assembled_ionic_bdf_accounting, assembled_ionic_bdf_seed +from solarlab.solvers.time.assembled_storage import AssembledIonicStorage1D +from solarlab.solvers.time.bdf import BDFOptions, BDFStep, HistoryPoint +from solarlab.experiments.bdf import solve_electronic_bdf, solve_ionic_bdf + +CASES = ("ionic_dual37", "ionic_shared37", "ionic_shared_mixed37", "ionic_shared_full37", + "multiple_positive", "multiple_independent", "multiple_shared", "multiple_mixed") + + +@pytest.fixture(scope="module") +def devices(): + result = {"ionic_dual37": dual(), "ionic_shared37": shared()} + for name, kind in (("ionic_shared_mixed37", "shared_mixed"), ("ionic_shared_full37", "shared_full")): + result[name] = compile_ionic_device_1d(prepare_immobile_ion_device(kind), + intervals_per_layer=(12, 12, 12), ion_domain_layer="absorber", ion_domain_endpoints=("blocking", "blocking")) + for name in CASES[4:]: + prepared = prepare_mixed_immobile_device() if name == "multiple_mixed" else prepare_multiple_ionic_device(kind=name.split("_")[1]) + result[name] = compile_multiple_ionic_device_1d(prepared, intervals_per_layer=INTERVALS, ion_domains=DOMAINS) + return result + + +def adapter(device, voltage=.002): + cls = AssembledIonic1DProblem if isinstance(device, CompiledIonicDevice1D) else AssembledMultipleIonic1DProblem + return AssembledIonicStorage1D(cls(device, voltage, 0.0)) + + +def domains(device): + if isinstance(device, CompiledIonicDevice1D): + return ((device, dict(zip(device.ion_species_names, device.ion_species_slices))),) + return tuple((d, device.ion_species_slices[d.domain_layer_id]) for d in device.domains) + + +def step(device, order): + a0, a1, a2 = adapter(device, .002), adapter(device, .003), adapter(device, .004) + u0 = np.zeros(device.state_size) + h0 = HistoryPoint(0.0, u0, a0.storage(u0), a0) + first = BDFStep(a1, (h0,), .2, 1) + u1 = assembled_ionic_bdf_seed(first) + u1[3 * device.node_count:] += .001 + h1 = HistoryPoint(.2, u1, a1.storage(u1), a1) + result = BDFStep(a2, (h1, h0), .45, order) + u = assembled_ionic_bdf_seed(result) + u[3 * device.node_count:] += .002 + return result, u + + +@pytest.mark.parametrize("name", CASES) +def test_every_species_physical_inventory_and_algebraic_storage_rows(devices, name): + device = devices[name] + a = adapter(device) + u = np.zeros(device.state_size) + state = device.state(u, voltage_V=.002) + physical = a.physical_storage(u) + equation = a.storage(u) + tangent = a.storage_tangent(u) + n = device.node_count + np.testing.assert_array_equal(equation[:n], np.zeros(n)) + assert tangent[:n].nnz == 0 + component = device.electronic_component + for species, offset in (("n", n), ("p", 2 * n)): + for side, index in (("left", 0), ("right", n - 1)): + if component.channel(species, side).kind == "fixed_reservoir": + assert equation[offset + index] == 0 + assert tangent[offset + index].nnz == 0 + for domain, blocks in domains(device): + local = state if isinstance(device, CompiledIonicDevice1D) else state.domain_component_states[device.domain_ids.index(domain.domain_layer_id)] + for species, block in blocks.items(): + expected = domain.ion_geometry.cell_measures_m * getattr(local, species + "_ion_density_m3") + assert physical[block].tobytes() == expected.tobytes() + assert equation[block].tobytes() == expected.tobytes() + # D0 is not a massless transient constraint: canonical BE keeps S_u. + assert tangent[block].nnz > 0 and np.all(expected > 0) + + +@pytest.mark.parametrize("name", CASES) +@pytest.mark.parametrize("order", [1, 2]) +def test_full_storage_and_BDF_Jacobians_match_represented_directional_derivatives(devices, name, order): + s, u = step(devices[name], order) + direction = np.random.default_rng(761).normal(size=len(u)) + direction[:devices[name].node_count] *= .01 + epsilon = 2e-5 + analytic = s.jacobian(u) + numeric = (s.residual(u + epsilon * direction) - s.residual(u - epsilon * direction)) / (2 * epsilon) + scale = np.maximum(abs(analytic) @ abs(direction), 1.0) + assert np.max(abs(numeric - analytic @ direction) / scale) < 3e-8 + tangent = s.endpoint.storage_tangent(u) + difference = (s.endpoint.storage(u + epsilon * direction) - s.endpoint.storage(u - epsilon * direction)) / (2 * epsilon) + scale = np.maximum(abs(tangent) @ abs(direction), 1.0) + assert np.max(abs(difference - tangent @ direction) / scale) < 3e-8 + + +@pytest.mark.parametrize("name", CASES) +def test_order_one_accounting_reuses_the_exact_assembled_BE_reader(devices, name): + device = devices[name] + s, u = step(device, 1) + old = s.history[0] + previous = device.state(old.u, voltage_V=old.problem.voltage_V) + be = (AssembledIonicBackwardEuler1DStep(s.endpoint.problem, previous, s.dt_s) + if isinstance(device, CompiledIonicDevice1D) else AssembledMultipleIonicBackwardEuler1DStep(s.endpoint.problem, previous, s.dt_s)) + original, actual = be.accounting(u), assembled_ionic_bdf_accounting(s, u) + for key, value in original.items(): + assert _encode(actual[key]) == _encode(value), key + assert be.residual(u).tobytes() == s.residual(u).tobytes() + assert be.jacobian(u).data.tobytes() == s.jacobian(u).data.tobytes() + assert actual["domains"].keys() == {d.domain_layer_id for d, _ in domains(device)} + + +@pytest.mark.parametrize("name", CASES) +def test_order_two_per_domain_rates_balances_and_Maxwell_identity(devices, name): + device = devices[name] + s, u = step(device, 2) + a, old, older = s.endpoint, s.history[0], s.history[1] + rate = (s.coefficients[0] * a.physical_increment(u, old.problem, old.u) + - s.coefficients[2] * old.problem.physical_increment(old.u, older.problem, older.u)) / s.dt_s + data = assembled_ionic_bdf_accounting(s, u) + np.testing.assert_array_equal(data["bdf_physical_inventory_rate_m2_s"], rate) + for domain, blocks in domains(device): + for species, block in blocks.items(): + record = data["domains"][domain.domain_layer_id]["species"][species] + np.testing.assert_array_equal(record["inventory_rate_m2_s"], rate[block]) + expected = -np.diff(record["domain_flux_m2_s"]) - rate[block] + np.testing.assert_array_equal(record["balance_m2_s"], expected) + scale = max(np.max(abs(data["conduction_current_density_A_m2"])), np.max(abs(data["bdf_displacement_rate_A_m2"])), 1.0) + assert np.max(abs(data["maxwell_identity_error_A_m2"])) < 64 * np.finfo(float).eps * scale + np.testing.assert_array_equal(data["terminal_total_current_density_A_m2"], data["total_current_density_A_m2"][[0, -1]]) + + +@pytest.mark.parametrize("name", CASES) +def test_order_two_readback_prediction_matches_the_reported_BDF2_identity(devices, name): + s, u = step(devices[name], 2) + data = assembled_ionic_bdf_accounting(s, u) + ion_balance = np.zeros(devices[name].node_count) + for domain in data["domains"].values(): + for species, record in domain["species"].items(): + sign = 1.0 if species == "positive" else -1.0 + ion_balance[domain["electrical_node_indices"]] += sign * record["balance_m2_s"] + carrier = data["carrier_balance_m2_s"] + defect = Q * (carrier[1] - carrier[0] + ion_balance) + rounded_gauss = data["rounded_gauss_defect_rate_A_m2"] + charge_error = data["charge_readback_error_A_m2"] + displacement_error = data["bdf_displacement_readback_error_A_m2"] + prediction = defect + rounded_gauss + charge_error + displacement_error[:-1] - displacement_error[1:] + np.testing.assert_array_equal( + data["readback_predicted_maxwell_cell_jump_A_m2"].view(np.uint64), prediction.view(np.uint64)) + jump = data["maxwell_cell_jump_A_m2"] + residual = jump - defect - rounded_gauss - charge_error - displacement_error[:-1] + displacement_error[1:] + np.testing.assert_array_equal(data["readback_maxwell_identity_error_A_m2"].view(np.uint64), residual.view(np.uint64)) + # The stored residual keeps its original arithmetic; grouping the prediction + # first differs only by roundoff, not by an inherited BE readback term. + scale = np.max(abs(jump) + abs(defect) + abs(rounded_gauss) + abs(charge_error) + + abs(displacement_error[:-1]) + abs(displacement_error[1:])) + assert np.max(abs(jump - prediction - residual)) <= 8 * np.finfo(float).eps * scale + + +@pytest.mark.parametrize("name", CASES) +def test_explicit_steady_Z_and_inventory_constraint_rows_have_zero_storage(devices, name): + device = devices[name] + original = adapter(device).problem + closed = (AssembledConstrainedIonic1DProblem(original, 0) if isinstance(device, CompiledIonicDevice1D) + else AssembledConstrainedMultipleIonic1DProblem(original, 0)) + u = np.zeros(device.state_size) + storage, tangent = closed.system.assembler.storage(u, original.inputs) + mask = closed.system.closure_rows + assert np.any(mask) + np.testing.assert_array_equal(storage[mask], np.zeros(np.count_nonzero(mask))) + assert tangent[mask].nnz == 0 + + +def strip_time(value): + if is_dataclass(value): + value = asdict(value) + if isinstance(value, dict): + return {key: strip_time(item) for key, item in value.items() if key not in {"wall_s", "initial_admission_wall_s"}} + if isinstance(value, (list, tuple)): + return tuple(strip_time(item) for item in value) + return value + + +@pytest.mark.parametrize("kind", ["electronic", "single"]) +def test_existing_BDF_paths_are_bitwise_before_and_after_new_adapter_evaluation(tmp_path, devices, kind): + bdf_options = BDFOptions(1e-7 if kind == "electronic" else .25, adaptive=False, max_order=1) + if kind == "electronic": + device = compile_device_1d(load_device(), intervals_per_layer=12) + admitted = SteadyOptions() + initial = solve_steady_state(device, voltage_V=0.0, generation_scale=1.0, options=admitted) + assert initial.converged + protocol = TransientProtocol([0, 1e-7, 2e-7], [0, 0, 0], [1, 1.0025, 1.01]) + def run(): + return solve_electronic_bdf(device, initial, protocol, options=controls(), + initial_options=admitted, bdf_options=bdf_options) + else: + device = compile_ionic_device_1d(prepare_single_ion_device(diffusion_only=True), intervals_per_layer=12) + admitted = steady_ionic_controls(device.ion_node_count) + point = solve_ionic_steady_state(device, voltage_V=.002, generation_scale=0.0, options=admitted) + assert point.accepted + content = json.dumps(json_value({"summary": {"accepted": True, "compiled_identity": device.identity, + "voltage_V": .002, "generation_scale": 0.0}, "result": point}), allow_nan=False).encode() + path = tmp_path / "Initial.json" + path.write_bytes(content) + initial = load_ionic_steady_initial(device, path, hashlib.sha256(content).hexdigest(), controls=admitted) + protocol = TransientProtocol([0, .25, .5], [.002, .0025, .003], [0, 0, 0]) + def run(): + return solve_ionic_bdf(device, initial, protocol, options=time_ionic_controls(), + bdf_options=bdf_options) + before = run() + assert before.completed + for name in CASES: + s, u = step(devices[name], 2) + assembled_ionic_bdf_accounting(s, u) + after = run() + assert after.completed + assert _encode(strip_time(before)) == _encode(strip_time(after)) diff --git a/tests/unit/solvers/time/test_assembled_ionic_drivers.py b/tests/unit/solvers/time/test_assembled_ionic_drivers.py new file mode 100644 index 00000000..99d80e90 --- /dev/null +++ b/tests/unit/solvers/time/test_assembled_ionic_drivers.py @@ -0,0 +1,145 @@ +"""Unmodified ionic BE drivers on the assembled physical-storage step adapters. + +One current-source accepted steady preparation is shared by each paired +history. The production driver source, waveform and controls stay untouched. +The reference runs under the legacy opt-out and is shown to evaluate the +original classes only. The substituted run selects the assembled system and +forbids every original equation and step evaluation; all accepted states, +Newton records, gates and accounting must be bitwise, after the two-domain +job's Q6 equation binding is asserted for each side. A one-ulp change to the +assembled residuals alone makes the comparison fail. +""" + +from __future__ import annotations + +from collections.abc import Iterator +from dataclasses import asdict +import json +import hashlib +import os +from pathlib import Path +import runpy +from typing import Any, NoReturn +from unittest import mock + +import pytest +from threadpoolctl import threadpool_limits + +from solarlab.equations.implementation import ASSEMBLED, LEGACY, equation_implementation +from solarlab.equations.multiple_ionic_1d import CompiledMultipleIonicDevice1D +from solarlab.experiments import ionic_transient, multiple_ionic_transient +from solarlab.experiments.transient_results import _decode, _encode +from solarlab.solvers.time.assembled_ionic_backward_euler import ( + AssembledIonicBackwardEuler1DStep, AssembledMultipleIonicBackwardEuler1DStep, +) +from solarlab.solvers.time.ionic_backward_euler import IonicBackwardEuler1DStep +from solarlab.solvers.time.multiple_ionic_backward_euler import MultipleIonicBackwardEuler1DStep +from support.assembly_references import REFERENCE_FACTORIES +from support.equation_provenance import counted, one_ulp_residual + +FACTORIES = ("ionic_be:confined", "ionic_be:dual", "ionic_be:shared", "ionic_be:immobile", + "multiple_be:positive", "multiple_be:independent", "multiple_be:shared", "multiple_be:immobile") +ROOT = Path(__file__).resolve().parents[4] + + +@pytest.fixture(scope="module", autouse=True) +def blas1() -> Iterator[None]: + with threadpool_limits(limits=1): + yield + + +@pytest.fixture(scope="module") +def helpers() -> dict[str, Any]: + return runpy.run_path(str(ROOT / "tests/unit/assembly/test_assembly_ionic_drivers.py")) + + +def legacy_reference(helpers: dict[str, Any], device: Any, path: Path, digest: str) -> Any: + """The original reference: the legacy opt-out, evaluating the original classes and no Assembler.""" + # Under the assembled default it would compare the assembled path with itself. + with equation_implementation(LEGACY), counted() as observed: + reference = helpers["transient"](device, path, digest) + assert observed.original > 0 and observed.assembled == 0 + return reference + + +def substituted(helpers: dict[str, Any], device: Any, path: Path, digest: str) -> tuple[Any, int]: + """The assembled history with every original step evaluation forbidden, and its Assembler evaluations.""" + def forbidden(*args: Any, **kwargs: Any) -> NoReturn: + raise AssertionError("an original BE step was evaluated during the assembled-storage history") + + with helpers["Substituted"]() as run, mock.patch.object( + ionic_transient, "IonicBackwardEuler1DStep", AssembledIonicBackwardEuler1DStep, + ), mock.patch.object( + multiple_ionic_transient, "MultipleIonicBackwardEuler1DStep", AssembledMultipleIonicBackwardEuler1DStep, + ), mock.patch.multiple( + IonicBackwardEuler1DStep, residual=forbidden, jacobian=forbidden, inventory_rates_m2_s=forbidden, + ), mock.patch.multiple( + MultipleIonicBackwardEuler1DStep, residual=forbidden, jacobian=forbidden, inventory_rates_m2_s=forbidden, + ): + candidate = helpers["transient"](device, path, digest) + return candidate, run.evaluations + + +@pytest.mark.parametrize("name", FACTORIES) +def test_ionic_BE_driver_states_histories_gates_and_accounting_are_bitwise( + name: str, helpers: dict[str, Any], tmp_path: Path, request: pytest.FixtureRequest, +) -> None: + device = REFERENCE_FACTORIES[name]().device + admitted_path = os.environ.get("SOLARLAB_IMMOBILE_ASSEMBLY_INITIAL") if name == "multiple_be:immobile" else None + if admitted_path: + path = Path(admitted_path) + digest = hashlib.sha256(path.read_bytes()).hexdigest() + initial_record = _decode(json.loads(path.read_bytes()))["result"] + assert initial_record["accepted"] is True and initial_record["compiled_identity"] == device.identity + assert all(item["passed"] for item in initial_record["checks"]) + preparation_calls = 0 + else: + initial = helpers["steady"](device) + initial_record = asdict(initial) + if not initial.accepted and name == "multiple_be:immobile": + pytest.xfail("original immobile cold initializer failed; use an explicitly admitted current-source warm artifact") + assert initial.accepted, (initial.termination, initial.error) + path, digest = helpers["evidence"](device, initial, tmp_path) + preparation_calls = 1 + reference = legacy_reference(helpers, device, path, digest) + candidate, evaluations = substituted(helpers, device, path, digest) + output = os.environ.get("SOLARLAB_IONIC_ASSEMBLY_EVIDENCE") + if output: + saved = Path(output) / (name.replace(":", "_") + ".json") + with saved.open("x") as stream: + json.dump(_encode({"factory": name, "steady_initial": initial_record, + "reference": asdict(reference), "candidate": asdict(candidate), + "cold_preparation_calls": preparation_calls, "qualification": False}), stream, indent=2, allow_nan=False) + stream.write("\n") + assert evaluations > 0 + assert helpers["words"](helpers["bound"](reference, device, LEGACY)) == helpers["words"]( + helpers["bound"](candidate, device, ASSEMBLED)) + assert reference.completed and candidate.completed + assert len(reference.states) == helpers["protocol"](4).times_s.size + record = {"factory": name, "multiple_domains": isinstance(device, CompiledMultipleIonicDevice1D), + "completed": True, "states": len(reference.states), "attempts": len(reference.attempts), + "steady_initial_iterations": len(initial_record["newton"]["iterations"]), + "Newton_iterations": [len(item.newton.iterations) for item in reference.attempts], + "assembled_evaluations": evaluations, "all_histories_and_readouts_changed_words": 0, + "steady_preparation_calls": preparation_calls, "steady_wall_s": initial_record["wall_s"], "reference_wall_s": reference.wall_s, + "candidate_wall_s": candidate.wall_s, "qualification": False} + request.node.user_properties.append(("ionic_driver_parity", record)) + + +@pytest.mark.parametrize("name", ("ionic_be:shared", "multiple_be:positive")) +def test_a_one_ulp_assembled_residual_change_fails_the_comparison( + name: str, helpers: dict[str, Any], tmp_path: Path, +) -> None: + """The comparison is not degenerate: the mutation reaches the assembled side only.""" + device = REFERENCE_FACTORIES[name]().device + initial = helpers["steady"](device) + assert initial.accepted, (initial.termination, initial.error) + path, digest = helpers["evidence"](device, initial, tmp_path) + reference = legacy_reference(helpers, device, path, digest) + with one_ulp_residual() as perturbed: + candidate, evaluations = substituted(helpers, device, path, digest) + assert perturbed and evaluations > 0 + left = helpers["words"](helpers["bound"](reference, device, LEGACY)) + assert helpers["words"](helpers["bound"](candidate, device, ASSEMBLED)) != left + unperturbed, _ = substituted(helpers, device, path, digest) + assert helpers["words"](helpers["bound"](unperturbed, device, ASSEMBLED)) == left diff --git a/tests/unit/solvers/time/test_assembled_ionic_steps.py b/tests/unit/solvers/time/test_assembled_ionic_steps.py new file mode 100644 index 00000000..fd448fee --- /dev/null +++ b/tests/unit/solvers/time/test_assembled_ionic_steps.py @@ -0,0 +1,204 @@ +"""Frozen BE F/J, physical secants and accounting on eight ionic factories. + +All probes are algebra states, not accepted time steps. The frozen digest +oracle is independent of the old implementation's lifetime; the original +accounting is also compared word for word, including signed zeros. +""" + +from __future__ import annotations + +from collections.abc import Iterator +from dataclasses import replace +from pathlib import Path +import runpy +from typing import Any + +import numpy as np +import pytest +from scipy.sparse import csc_matrix +from threadpoolctl import threadpool_limits + +from solarlab.equations.assembly.ionic_1d import AssembledIonic1DProblem, AssembledMultipleIonic1DProblem +from solarlab.equations.ionic_1d import CompiledIonicDevice1D, Ionic1DProblem +from solarlab.equations.multiple_ionic_1d import CompiledMultipleIonicDevice1D, MultipleIonic1DProblem +from solarlab.solvers.time.assembled_ionic_backward_euler import ( + AssembledIonicBackwardEuler1DStep, AssembledMultipleIonicBackwardEuler1DStep, +) +from solarlab.solvers.time.assembled_storage import AssembledIonicStorage1D +from solarlab.solvers.time.backward_euler import inventory_m2 as carrier_inventory +from solarlab.solvers.time.ionic_backward_euler import IonicBackwardEuler1DStep, step_accounting +from solarlab.solvers.time.multiple_ionic_backward_euler import MultipleIonicBackwardEuler1DStep, multiple_ionic_step_accounting +from support.assembly_parity import Extraction +from support.assembly_references import REFERENCE_FACTORIES, ReferenceCase + +SINGLE = ("ionic_be:confined", "ionic_be:dual", "ionic_be:shared", "ionic_be:immobile") +MULTIPLE = ("multiple_be:positive", "multiple_be:independent", "multiple_be:shared", "multiple_be:immobile") +FACTORIES = SINGLE + MULTIPLE +ROOT = Path(__file__).resolve().parents[4] + + +@pytest.fixture(scope="module", autouse=True) +def blas1() -> Iterator[None]: + with threadpool_limits(limits=1): + yield + + +@pytest.fixture(scope="module") +def cases() -> dict[str, ReferenceCase]: + return {name: REFERENCE_FACTORIES[name]() for name in FACTORIES} + + +@pytest.fixture(scope="module") +def frozen() -> tuple[Any, dict[str, Any]]: + import json + oracle = runpy.run_path(str(ROOT / "tests/unit/assembly_parity/test_frozen_baselines.py")) + document = json.loads(oracle["BASELINE_PATH"].read_bytes()) + assert document["schema"] == oracle["SCHEMA"] + oracle["require_capture_environment"](document["capture"]) + return oracle["extraction_digest"], oracle["expand_digests"](document["factories"], document["sha256"]) + + +def words(value: Any) -> Any: + if isinstance(value, np.ndarray): + return (value.dtype.str, value.shape, np.ascontiguousarray(value).tobytes()) + if isinstance(value, (float, np.floating)): + return np.float64(value).tobytes() + if isinstance(value, dict): + return tuple((key, words(item)) for key, item in value.items()) + if isinstance(value, (list, tuple)): + return tuple(words(item) for item in value) + return value + + +def assert_matrix(left: csc_matrix, right: csc_matrix) -> None: + assert left.shape == right.shape + assert np.array_equal(left.indptr, right.indptr) + assert np.array_equal(left.indices, right.indices) + assert left.data.tobytes() == right.data.tobytes() + + +def steps(case: ReferenceCase, state: Any, dt_s: float | None = None) -> tuple[Any, Any, AssembledIonicStorage1D]: + device, dt = case.device, state.dt_s if dt_s is None else dt_s + previous = device.state(state.previous_u, voltage_V=state.previous_voltage_V) + if isinstance(device, CompiledIonicDevice1D): + original = IonicBackwardEuler1DStep(Ionic1DProblem(device, state.voltage_V, state.generation_scale), previous, dt) + problem = AssembledIonic1DProblem(device, state.voltage_V, state.generation_scale) + candidate = AssembledIonicBackwardEuler1DStep(problem, previous, dt) + else: + assert isinstance(device, CompiledMultipleIonicDevice1D) + original = MultipleIonicBackwardEuler1DStep(MultipleIonic1DProblem(device, state.voltage_V, state.generation_scale), previous, dt) + problem = AssembledMultipleIonic1DProblem(device, state.voltage_V, state.generation_scale) + candidate = AssembledMultipleIonicBackwardEuler1DStep(problem, previous, dt) + return original, candidate, AssembledIonicStorage1D(problem) + + +def full_rate(step: Any, u: np.ndarray) -> np.ndarray: + carrier, ions = step.inventory_rates_m2_s(u) + if isinstance(ions, dict): + parts = [rate for species in ions.values() for rate in species.values()] + else: + parts = list(ions) + return np.r_[np.zeros(step.endpoint.device.node_count), carrier.ravel(), *parts] + + +def original_accounting(step: Any, u: np.ndarray) -> dict[str, Any]: + return multiple_ionic_step_accounting(step, u) if isinstance(step, MultipleIonicBackwardEuler1DStep) else step_accounting(step, u) + + +@pytest.mark.platform_bound +@pytest.mark.parametrize("name", FACTORIES) +def test_all_32_probes_match_frozen_step_and_storage_arrays( + name: str, cases: dict[str, ReferenceCase], frozen: tuple[Any, dict[str, Any]], request: pytest.FixtureRequest, +) -> None: + case = cases[name] + digest, expected = frozen + count = 0 + for state in case.states: + _, candidate, storage = steps(case, state) + assembled = storage.problem.assemble(state.u, storage=True) + captured = Extraction(assembled.F, assembled.J, case.blocks, assembled.S, assembled.S_u, assembled.M, + extra={"R_step": candidate.residual(state.u), "J_step": candidate.jacobian(state.u)}) + actual = digest(captured) + oracle = expected[name]["states"][state.name]["quantities"] + assert actual == {key: oracle[key] for key in actual} + count += 1 + request.node.user_properties.append(("frozen_step_parity", {"factory": name, "states": count, + "F_J_S_Su_M_Rstep_Jstep_changed_words": 0})) + + +@pytest.mark.parametrize("name", FACTORIES) +def test_all_32_probes_match_live_step_and_storage_arrays( + name: str, cases: dict[str, ReferenceCase], request: pytest.FixtureRequest, +) -> None: + """Live parity must execute even when the stored capture stack differs.""" + case = cases[name] + count = 0 + for state in case.states: + original, candidate, _ = steps(case, state) + assert words(original.residual(state.u)) == words(candidate.residual(state.u)) + assert_matrix(original.jacobian(state.u), candidate.jacobian(state.u)) + assert words(original.inventory_rates_m2_s(state.u)) == words(candidate.inventory_rates_m2_s(state.u)) + old_raw, raw_step, _ = steps(case, state, 1.0) + assert words(full_rate(old_raw, state.u)) == words(raw_step.physical_increment(state.u)) + assert words(original.initial_coordinates()) == words(candidate.initial_coordinates()) + count += 1 + request.node.user_properties.append(("step_parity", {"factory": name, "states": count, + "Rstep_Jstep_changed_words": 0, "physical_increment_changed_words": 0, + "rate_and_predictor_changed_words": 0})) + + +@pytest.mark.parametrize("name", FACTORIES) +def test_every_accounting_readout_is_bitwise( + name: str, cases: dict[str, ReferenceCase], request: pytest.FixtureRequest, +) -> None: + case = cases[name] + arrays = 0 + def count_arrays(value: Any) -> int: + if isinstance(value, np.ndarray): + return 1 + if isinstance(value, dict): + return sum(count_arrays(item) for item in value.values()) + if isinstance(value, (tuple, list)): + return sum(count_arrays(item) for item in value) + return 0 + for state in case.states: + original, candidate, storage = steps(case, state) + reference, actual = original_accounting(original, state.u), candidate.accounting(state.u) + assert words(reference) == words(actual) + arrays += count_arrays(reference) + physical = storage.physical_storage(state.u) + new_state = case.device.state(state.u, voltage_V=state.voltage_V) + carriers = carrier_inventory(case.device.electronic_component, new_state.electronic_state).ravel() + assert physical[case.device.node_count:3 * case.device.node_count].tobytes() == carriers.tobytes() + request.node.user_properties.append(("accounting_parity", {"factory": name, + "states": len(case.states), "array_vectors": arrays, "all_numeric_changed_words": 0})) + + +@pytest.mark.parametrize("name", FACTORIES) +def test_site_secants_retain_motion_hidden_by_rounded_fields(name: str, cases: dict[str, ReferenceCase]) -> None: + case = cases[name] + state = case.states[0] + _, candidate, _ = steps(case, state, 1.0) + u = state.previous_u.copy() + u[3 * case.device.node_count:] += 1e-18 + raw = candidate.physical_increment(u)[3 * case.device.node_count:] + assert np.any(raw != 0.0) + before = case.device.state(state.previous_u, voltage_V=state.previous_voltage_V) + after = case.device.state(u, voltage_V=state.previous_voltage_V) + if isinstance(case.device, CompiledIonicDevice1D): + for species in case.device.ion_species_names: + assert getattr(before, species + "_ion_density_m3").tobytes() == getattr(after, species + "_ion_density_m3").tobytes() + else: + for domain, old, new in zip(case.device.domains, before.domain_component_states, after.domain_component_states): + for species in domain.ion_species_names: + assert getattr(old, species + "_ion_density_m3").tobytes() == getattr(new, species + "_ion_density_m3").tobytes() + + +def test_history_admission_refuses_another_domain_binding(cases: dict[str, ReferenceCase]) -> None: + first, second = cases[SINGLE[0]], cases[MULTIPLE[0]] + _, step, storage = steps(first, first.states[0]) + _, _, other = steps(second, second.states[0]) + with pytest.raises(ValueError, match="same bound domain system"): + storage.storage_increment(first.states[0].u, other, second.states[0].u) + with pytest.raises(ValueError, match="same complete ionic device"): + AssembledIonicBackwardEuler1DStep(step.endpoint, replace(step.previous, device_sha256="wrong"), step.dt_s) diff --git a/tests/unit/solvers/time/test_assembled_storage.py b/tests/unit/solvers/time/test_assembled_storage.py new file mode 100644 index 00000000..a701b883 --- /dev/null +++ b/tests/unit/solvers/time/test_assembled_storage.py @@ -0,0 +1,152 @@ +"""Assembler-owned F/J/storage, stable increments and the BDF sign contract.""" + +import numpy as np +import pytest +from scipy.sparse import csc_matrix +from threadpoolctl import threadpool_limits + +from examples.research_1d.steady import load_device +from solarlab.config.resolve_device import resolve_device +from solarlab.device.compile_1d import compile_device_1d +from solarlab.device.inputs import DeviceInput +from solarlab.equations.assembly.classical_1d import AssembledDC1DProblem +from solarlab.equations.dc_1d import DC1DProblem +from solarlab.solvers.time.assembled_storage import AssembledStorage1D +from solarlab.solvers.time.backward_euler import BackwardEuler1DStep, storage_mask +from solarlab.solvers.time.bdf import BDFStep, HistoryPoint +from solarlab.solvers.time.bdf_1d import ElectronicStorage1D + + +@pytest.fixture(scope="module", autouse=True) +def blas1(): + with threadpool_limits(limits=1): + yield + + +@pytest.fixture(scope="module") +def device(): + return compile_device_1d(load_device(), intervals_per_layer=12) + + +def bits(reference, candidate): + assert candidate.shape == reference.shape + assert candidate.dtype == reference.dtype + assert candidate.tobytes() == reference.tobytes() + + +def matrix_bits(reference, candidate): + reference, candidate = csc_matrix(reference), csc_matrix(candidate) + reference.sort_indices() + candidate.sort_indices() + for field in ("indptr", "indices", "data"): + bits(getattr(reference, field), getattr(candidate, field)) + + +def coordinates(device, voltage): + count = device.node_count + old = np.r_[device.reference_potential_V, np.zeros(2 * count)] + new = device.rebase_coordinates(old, 0.0, voltage) + new[count + 1:2 * count - 1] += .001 + new[2 * count + 1:-1] -= .002 + return old, new + + +@pytest.mark.parametrize("voltage,generation", [(0.0, 0.0), (0.0, 1.0), (.002, 0.0), (.002, 1.0)]) +def test_assembled_protocol_values_are_bitwise_electronic_values(device, voltage, generation): + _, u = coordinates(device, voltage) + original = ElectronicStorage1D(DC1DProblem(device, voltage, generation)) + assembled = AssembledStorage1D(AssembledDC1DProblem(device, voltage, generation)) + bits(original.residual(u), assembled.residual(u)) + matrix_bits(original.jacobian(u), assembled.jacobian(u)) + bits(original.storage(u), assembled.storage(u)) + matrix_bits(original.storage_tangent(u), assembled.storage_tangent(u)) + matrix_bits(-assembled.storage_tangent(u), assembled.mass_matrix(u)) + bits(original.physical_storage(u), assembled.physical_storage(u)) + + +@pytest.mark.parametrize("voltage", [0.0, .002]) +def test_masked_physical_secants_and_assembled_BDF_rows_are_bitwise(device, voltage): + old_u, new_u = coordinates(device, voltage) + original_old = ElectronicStorage1D(DC1DProblem(device, 0.0, 0.0)) + original_new = ElectronicStorage1D(DC1DProblem(device, voltage, 1.0)) + assembled_old = AssembledStorage1D(AssembledDC1DProblem(device, 0.0, 0.0)) + assembled_new = AssembledStorage1D(assembled_old.problem.at(voltage, 1.0)) + bits(original_new.physical_increment(new_u, original_old, old_u), + assembled_new.physical_increment(new_u, assembled_old, old_u)) + history = HistoryPoint(0.0, old_u, assembled_old.storage(old_u), assembled_old) + reference_history = HistoryPoint(0.0, old_u, original_old.storage(old_u), original_old) + for h in (1e-7, 2e-7): + step = BDFStep(assembled_new, (history,), h, 1) + reference_step = BDFStep(original_new, (reference_history,), h, 1) + be = BackwardEuler1DStep(original_new.problem, device.state(old_u, voltage_V=0.0), h) + bits(reference_step.residual(new_u), step.residual(new_u)) + matrix_bits(be.jacobian(new_u), step.jacobian(new_u)) + bits(original_new.storage_increment(new_u, original_old, old_u), + assembled_new.storage_increment(new_u, assembled_old, old_u)) + + +def test_stable_secant_resolves_motion_below_rounded_inventory_precision(device): + count = device.node_count + u = np.r_[device.reference_potential_V, np.zeros(2 * count)] + new_u = u.copy() + new_u[count + 1] = 1e-17 + assembled = AssembledStorage1D(AssembledDC1DProblem(device)) + change = assembled.storage_increment(new_u, assembled, u) + rounded = assembled.storage(new_u) - assembled.storage(u) + assert change[count + 1] != 0.0 and rounded[count + 1] == 0.0 + mask = storage_mask(device).ravel() + assert not np.any(change[count:][~mask]) + + +def test_history_must_keep_its_assembled_binding(device): + assembled = AssembledStorage1D(AssembledDC1DProblem(device)) + u = np.r_[device.reference_potential_V, np.zeros(2 * device.node_count)] + with pytest.raises(TypeError, match="same adapter"): + assembled.storage_increment(u, ElectronicStorage1D(DC1DProblem(device)), u) + different = compile_device_1d(load_device(), intervals_per_layer=4) + with pytest.raises(ValueError, match="same bound system"): + assembled.storage_increment(u, AssembledStorage1D(AssembledDC1DProblem(different)), u) + with pytest.raises(TypeError, match="AssembledDC1DProblem"): + AssembledStorage1D(DC1DProblem(device)) + + +def test_adapter_never_evaluates_the_legacy_equation_class(device, monkeypatch): + _, u = coordinates(device, .002) + assembled = AssembledStorage1D(AssembledDC1DProblem(device, .002, 1.0)) + def forbidden(*args, **kwargs): + raise AssertionError("assembled StorageProblem must evaluate the assembler") + for name in ("residual", "jacobian", "storage_jacobian"): + monkeypatch.setattr(DC1DProblem, name, forbidden) + assembled.residual(u) + assembled.jacobian(u) + assembled.storage(u) + assembled.storage_tangent(u) + assembled.mass_matrix(u) + assembled.storage_increment(u, assembled, u) + + +def test_public_exchange_mapping_preserves_bound_channel_law_and_refusals(device): + prepared = load_device() + document = prepared.to_input().editing_data() + document["contacts"] = [dict(id="left", side="left", layer="htl", S_n=0.0, S_p=200.0), + dict(id="right", side="right", layer="etl", S_n=200.0, S_p=0.0)] + prepared = resolve_device(DeviceInput.model_validate(document), prepared.defaults, + prepared.resources, sources=prepared.sources) + bound = compile_device_1d(prepared, intervals_per_layer=4) + original = DC1DProblem(bound, .002, 1.0) + assembled = AssembledStorage1D(AssembledDC1DProblem(bound, .002, 1.0)) + _, u = coordinates(bound, .002) + for carrier in ("n", "p"): + for side, node in (("left", 0), ("right", bound.node_count - 1)): + channel = bound.channel(carrier, side) + expected = np.array(original.contact_exchange(u, channel, node)) + bits(expected, np.array(assembled.contact_exchange(u, channel, node))) + bits(expected, np.array(assembled._contact_exchange(u, channel, node))) + with pytest.raises(ValueError, match="no bound exchange"): + assembled.contact_exchange(u, channel, bound.node_count - 1 - node) + with pytest.raises(ValueError, match="coordinate vector"): + assembled.contact_exchange(u[:-1], bound.channel("n", "left"), 0) + fixed = AssembledStorage1D(AssembledDC1DProblem(device)) + fixed_u = np.r_[device.reference_potential_V, np.zeros(2 * device.node_count)] + with pytest.raises(ValueError, match="no bound exchange"): + fixed.contact_exchange(fixed_u, device.channel("n", "left"), 0) diff --git a/tests/unit/solvers/time/test_bdf.py b/tests/unit/solvers/time/test_bdf.py new file mode 100644 index 00000000..fa3b254f --- /dev/null +++ b/tests/unit/solvers/time/test_bdf.py @@ -0,0 +1,200 @@ +"""Device-free BDF moments, physical storage, orders and event semantics.""" + +from dataclasses import dataclass + +import numpy as np +import pytest + +from solarlab.solvers.nonlinear.newton import NewtonSettings +from solarlab.solvers.nonlinear.problem import GateOutcome, ResidualScaling, SolveBudget, StepControl +from solarlab.solvers.time.bdf import ( + Assessment, BDFEvent, BDFOptions, BDFStep, HistoryPoint, bdf_coefficients, solve_bdf, +) + + +@dataclass +class RC: + logarithmic: bool = False + + def residual(self, u): + return -self.storage(u) + + def jacobian(self, u): + return -self.storage_tangent(u) + + def storage(self, u): + return np.exp(u) if self.logarithmic else np.array(u, copy=True) + + def storage_tangent(self, u): + return np.diag(np.exp(u)) if self.logarithmic else np.eye(len(u)) + + +def controls(step): + n = len(step.history[0].u) + return NewtonSettings(ResidualScaling(np.ones(n)), 1e-12, StepControl(np.full(n, 1e30)), + SolveBudget(20, 100, 20, 10), (), False) + + +def fixed(n, order, logarithmic=False, output=None): + problem = RC(logarithmic) + return solve_bdf(lambda t, side: problem, np.array([0.0 if logarithmic else 1.0]), (0.0, 1.0), + options=BDFOptions(1 / n, max_step_s=1 / n, max_order=order, adaptive=False), + settings=controls, output_times_s=output) + + +@pytest.mark.parametrize("ratio", [.25, .7, 1.0, 2.0]) +def test_variable_step_coefficients_differentiate_degree_two_exactly(ratio): + h = .2 + previous = h / ratio + nodes = np.array([1.0, 1.0 - h, 1.0 - h - previous]) + coefficients = bdf_coefficients(h, previous, 2) + for degree in (0, 1, 2): + assert coefficients @ nodes**degree / h == pytest.approx(float(degree), abs=2e-14) + + +def test_residual_differences_physical_storage_and_full_tangent(): + p = RC(logarithmic=True) + old = HistoryPoint(0.0, np.array([.7]), p.storage(np.array([.7])), p) + step = BDFStep(p, (old,), .1, 1) + u = np.array([.8]) + expected = -np.exp(u) - (np.exp(u) - np.exp(old.u)) / .1 + np.testing.assert_array_equal(step.residual(u), expected) + np.testing.assert_array_equal(step.jacobian(u), np.diag(-np.exp(u) * 11)) + assert abs(step.residual(u)[0] - (-np.exp(u)[0] - (u[0] - old.u[0]) / .1)) > 1.0 + + +@pytest.mark.parametrize("order", [1, 2]) +def test_observed_rc_order_and_logarithmic_physical_storage(order): + ns = np.array([16, 32, 64]) + errors = [] + for n in ns: + result = fixed(int(n), order) + assert result.completed, (result.termination, result.error) + errors.append(abs(result.accepted_coordinates[-1][0] - np.exp(-1))) + observed = np.polyfit(np.log(1 / ns), np.log(errors), 1)[0] + assert abs(observed - order) < .15, (observed, errors) + transformed = fixed(32, order, logarithmic=True) + assert transformed.completed + plain = fixed(32, order) + assert np.exp(transformed.accepted_coordinates[-1][0]) == pytest.approx(plain.accepted_coordinates[-1][0], rel=2e-12) + + +def test_error_rejection_and_adaptive_order_selection_preserve_accepted_prefix(): + p = RC() + result = solve_bdf(lambda t, side: p, np.array([1.0]), (0.0, 1.0), + options=BDFOptions(.7, relative_tolerance=1e-4), settings=controls) + assert result.completed, (result.termination, result.error) + assert result.rejected_steps and {step.order for step in result.accepted_steps} == {1, 2} + assert len(result.accepted_times_s) == len(result.accepted_steps) + 1 + assert all(step.error_norm <= 1 for step in result.accepted_steps) + assert result.accepted_coordinates[-1][0] == pytest.approx(np.exp(-1), rel=2e-3) + for rejected in result.rejected_steps: + assert rejected.candidate_coordinates is not result.accepted_coordinates[0] + + +def test_samples_are_storage_interpolants_and_do_not_restart_the_trajectory(): + endpoints = fixed(16, 2) + dense = fixed(16, 2, output=np.array([0.0, .13, .31, .77, 1.0])) + assert dense.completed, (dense.termination, dense.error) + np.testing.assert_array_equal(dense.accepted_times_s, endpoints.accepted_times_s) + for a, b in zip(dense.accepted_coordinates, endpoints.accepted_coordinates): + np.testing.assert_array_equal(a, b) + assert len(dense.samples) == 5 and len(dense.accepted_steps) == 16 + assert all(abs(sample.u[0] - np.exp(-sample.time_s)) < .003 for sample in dense.samples) + assert not dense.restarts + assert dense.evaluation_counts["sample_residual"] == sum( + sample.projection.residual_evaluations for sample in dense.samples if sample.projection is not None) + assert dense.evaluation_counts["sample_jacobian"] == sum( + sample.projection.jacobian_evaluations for sample in dense.samples if sample.projection is not None) + + +def test_nonlinear_storage_dense_samples_evaluate_projection_jacobian(): + output = np.array([0.0, .13, .31, 1.0]) + dense = fixed(8, 2, logarithmic=True, output=output) + assert dense.completed, (dense.termination, dense.error) + assert len(dense.accepted_steps) == 8 and len(dense.samples) == 4 + projected = [sample for sample in dense.samples if not sample.accepted_step_endpoint] + assert all(sample.projection is not None and sample.projection.jacobian_evaluations > 0 + for sample in projected) + plain = fixed(8, 2, output=output) + assert plain.completed + for transformed, physical in zip(dense.samples, plain.samples): + np.testing.assert_allclose(transformed.storage_value, physical.storage_value, rtol=2e-12, atol=0) + projections = [sample.projection for sample in projected] + main = [result for attempt in dense.attempts + for result in (attempt.newton, *attempt.auxiliary_newton) if result is not None] + for key, attribute in (("residual", "residual_evaluations"), ("jacobian", "jacobian_evaluations")): + assert dense.evaluation_counts["sample_" + key] == sum(getattr(result, attribute) for result in projections) + assert dense.evaluation_counts[key] == sum(getattr(result, attribute) for result in (*main, *projections)) + + +def test_voltage_discontinuity_has_exact_left_right_state_and_order_restart(): + class Driven: + def __init__(self, voltage): + self.voltage = voltage + def residual(self, u): + return np.array([self.voltage - u[0], u[1] - self.voltage]) + def jacobian(self, u): + return np.diag([-1.0, 1.0]) + def storage(self, u): + return np.array([u[0], 0.0]) + def storage_tangent(self, u): + return np.diag([1.0, 0.0]) + def factory(t, side): + return Driven(0.0 if t < .5 or (t == .5 and side == "left") else 1.0) + def restart(old, new, u): + value = u.copy() + value[1] = new.voltage + return value, Assessment({"electrode_charge_impulse": new.voltage - old.voltage}, + (GateOutcome("frozen_inventory", value[0] == u[0], 0.0, 0.0),)) + result = solve_bdf(factory, np.array([0.0, 0.0]), (0.0, 1.0), + options=BDFOptions(.125, max_step_s=.125, adaptive=False), settings=controls, + events=(BDFEvent(.5, restart, "voltage_step"),), output_times_s=np.array([0, .5, 1])) + assert result.completed, (result.termination, result.error) + event = result.restarts[0] + assert event.time_s == .5 and event.left_u[1] == 0 and event.right_u[1] == 1 + np.testing.assert_array_equal(event.left_storage, event.right_storage) + assert event.assessment.accounting["electrode_charge_impulse"] == 1 + first_after = next(step for step in result.accepted_steps if step.start_s == .5) + assert first_after.order == 1 + assert result.samples[1].u[1] == 1 + + +def test_physical_gate_failure_is_recorded_and_never_retried_as_lte(): + p = RC() + result = solve_bdf(lambda t, side: p, np.array([1.0]), (0.0, 1.0), + options=BDFOptions(.1), settings=controls, + assess=lambda step, u: Assessment({}, (GateOutcome("injected_physical_refusal", False, 2.0, 1.0),))) + assert not result.completed and result.termination == "physical_gate_rejected" + assert len(result.attempts) == 1 and len(result.accepted_times_s) == 1 + + +@pytest.mark.parametrize("order", [1, 2]) +def test_sample_interpolant_has_the_integrator_convergence_order(order): + ns = np.array([16, 32, 64]) + output = np.array([.13, .31, .77]) + errors = [] + for n in ns: + result = fixed(int(n), order, output=output) + assert result.completed + errors.append(max(abs(sample.storage_value[0] - np.exp(-sample.time_s)) for sample in result.samples)) + observed = np.polyfit(np.log(1 / ns), np.log(errors), 1)[0] + assert abs(observed - order) < .15, (observed, errors) + + +def test_failed_sample_preserves_requested_samples_and_complete_step_history(): + class BadSample(RC): + def jacobian(self, u): + return np.array([[np.nan]]) + def storage_tangent(self, u): + return np.array([[np.nan]]) + good = RC(logarithmic=True) + result = solve_bdf(lambda t, side: BadSample(logarithmic=True) if t == .31 else good, np.array([0.0]), (0, 1), + options=BDFOptions(.125, adaptive=False), settings=controls, output_times_s=np.array([0, .13, .31, 1])) + assert not result.completed and result.termination == "sample_projection_failed" + assert result.accepted_times_s[-1] == 1 and len(result.accepted_steps) == 8 + np.testing.assert_array_equal(result.requested_output_times_s, [0, .13, .31, 1]) + assert result.sample_failure is not None and result.sample_failure["time_s"] == .31 + assert len(result.samples) == 2 + assert result.samples[1].projection is not None and result.samples[1].projection.jacobian_evaluations > 0 + assert result.sample_failure["newton"] is None diff --git a/tests/unit/solvers/time/test_bdf_1d.py b/tests/unit/solvers/time/test_bdf_1d.py new file mode 100644 index 00000000..23cdc1d4 --- /dev/null +++ b/tests/unit/solvers/time/test_bdf_1d.py @@ -0,0 +1,278 @@ +"""Real electronic/positive-ion protocol adapters, BE parity and BDF tangents.""" + +from dataclasses import replace +import hashlib +import json + +import numpy as np +import pytest +from threadpoolctl import threadpool_limits + +from examples.research_1d.steady import load_device +from examples.research_1d.transient import controls, json_value +from examples.research_1d.ionic_residual import prepare_single_ion_device +from examples.research_1d.ionic_steady import controls as ionic_steady_controls +from examples.research_1d.ionic_transient import controls as ionic_controls +from solarlab.device.compile_1d import compile_device_1d +from solarlab.device.compile_ionic_1d import compile_ionic_device_1d +from solarlab.equations.dc_1d import DC1DProblem +from solarlab.equations.implementation import ASSEMBLED, LEGACY, equation_implementation +from solarlab.equations.ionic_1d import Ionic1DProblem +from solarlab.experiments.transient import TransientProtocol, solve_transient +from solarlab.experiments.ionic_transient import load_ionic_steady_initial, solve_ionic_transient +from solarlab.solvers.nonlinear.steady_1d import SteadyOptions, solve_steady_state +from solarlab.solvers.nonlinear.ionic_1d import solve_ionic_steady_state +from solarlab.solvers.time.backward_euler import BackwardEuler1DStep +from solarlab.solvers.time.ionic_backward_euler import IonicBackwardEuler1DStep +from solarlab.solvers.time.bdf import BDFOptions, BDFStep, HistoryPoint +from solarlab.solvers.time.bdf_1d import ( + BDFDrive, ElectronicStorage1D, IonicStorage1D, _displacement, bdf_accounting, +) +from solarlab.experiments.bdf import _adapter_step_budget, solve_electronic_bdf, solve_ionic_bdf +from solarlab.experiments.bdf_results import _canonical, _decode, _encode +from support.equation_provenance import counted, one_ulp_residual + + +@pytest.fixture(scope="module", autouse=True) +def blas1(): + with threadpool_limits(limits=1): + yield + + +@pytest.fixture(scope="module") +def electronic(): + device = compile_device_1d(load_device(), intervals_per_layer=12) + initial_options = SteadyOptions() + initial = solve_steady_state(device, voltage_V=0.0, generation_scale=1.0, options=initial_options) + return device, initial, initial_options + + +@pytest.fixture(scope="module") +def ionic(tmp_path_factory): + device = compile_ionic_device_1d(prepare_single_ion_device(diffusion_only=True), intervals_per_layer=12) + steady_options = ionic_steady_controls(device.ion_node_count) + point = solve_ionic_steady_state(device, voltage_V=.002, generation_scale=0.0, options=steady_options) + assert point.accepted + record = {"summary": {"accepted": True, "compiled_identity": device.identity, + "voltage_V": .002, "generation_scale": 0.0}, "result": point} + raw = (json.dumps(json_value(record), allow_nan=False) + "\n").encode() + path = tmp_path_factory.mktemp("bdf_ionic") / "Steady.json" + path.write_bytes(raw) + initial = load_ionic_steady_initial(device, path, hashlib.sha256(raw).hexdigest(), controls=steady_options) + return device, initial + + +@pytest.mark.parametrize("voltage", [0.0, .002]) +def test_electronic_order1_original_residual_and_J_are_identical(electronic, voltage): + device, initial, _ = electronic + old = ElectronicStorage1D(DC1DProblem(device, 0.0, 1.0)) + new = ElectronicStorage1D(DC1DProblem(device, voltage, 1.01)) + history = HistoryPoint(0.0, initial.state.u, old.storage(initial.state.u), old) + step = BDFStep(new, (history,), 1e-7, 1) + be = BackwardEuler1DStep(new.problem, initial.state, 1e-7) + trial = be.initial_coordinates(voltage_lift=True) + trial[device.node_count:2 * device.node_count] += .01 + np.testing.assert_array_equal(step.residual(trial), be.residual(trial)) + np.testing.assert_array_equal(step.jacobian(trial).toarray(), be.jacobian(trial).toarray()) + + +def test_electronic_fixed_step_BDF1_matches_real_BE_trajectory(electronic): + device, initial, admission = electronic + times = np.linspace(0, 4e-7, 5) + protocol = TransientProtocol(times, np.zeros(5), 1 + .01 * (times / times[-1])**2) + old = solve_transient(device, initial, protocol, options=controls(), initial_options=admission) + new = solve_transient(device, initial, protocol, options=controls(), initial_options=admission, + method="bdf", bdf_options=BDFOptions(1e-7, adaptive=False, max_order=1)) + assert old.completed and new.completed, (new.termination, new.error) + for state, point in zip(old.states, new.accepted_coordinates): + np.testing.assert_array_equal(state.u, point) + for prior, candidate in zip(old.attempts, new.accepted_steps): + assert candidate.assessment is not None + for name, value in prior.accounting.items(): + if isinstance(value, np.ndarray): + np.testing.assert_array_equal(value, candidate.assessment.accounting[name]) + + +def test_single_ion_fixed_step_BDF1_matches_real_BE_trajectory(ionic): + device, initial = ionic + times = np.linspace(0, 1, 5) + protocol = TransientProtocol(times, .002 + .002 * times, np.zeros(5)) + old = solve_ionic_transient(device, initial, protocol, options=ionic_controls()) + new = solve_ionic_transient(device, initial, protocol, options=ionic_controls(), method="bdf", + bdf_options=BDFOptions(.25, adaptive=False, max_order=1)) + assert old.completed and new.completed, (new.termination, new.error) + for state, point in zip(old.states, new.accepted_coordinates): + np.testing.assert_array_equal(state.u, point) + for prior, candidate in zip(old.attempts, new.accepted_steps): + assert candidate.assessment is not None + for name, value in prior.accounting.items(): + if isinstance(value, np.ndarray): + np.testing.assert_array_equal(value, candidate.assessment.accounting[name]) + + +def test_ionic_BDF2_original_rows_directional_J_and_Maxwell_identity(ionic): + device, initial = ionic + old0 = IonicStorage1D(Ionic1DProblem(device, .002, 0.0)) + old1 = IonicStorage1D(Ionic1DProblem(device, .003, 0.0)) + new = IonicStorage1D(Ionic1DProblem(device, .004, 0.0)) + u0 = initial.state.u.copy() + be1 = IonicBackwardEuler1DStep(old1.problem, initial.state, .25) + u1 = be1.initial_coordinates(voltage_lift=True) + u1[3 * device.node_count:] += .001 + h0 = HistoryPoint(0.0, u0, old0.storage(u0), old0) + h1 = HistoryPoint(.25, u1, old1.storage(u1), old1) + step = BDFStep(new, (h1, h0), .75, 2) + trial = IonicBackwardEuler1DStep(new.problem, device.state(u1, voltage_V=.003), .5).initial_coordinates(voltage_lift=True) + trial[3 * device.node_count:] += .002 + direction = np.random.default_rng(590).normal(size=len(trial)) + direction[:device.node_count] *= .01 + eps = 2e-5 + numeric = (step.residual(trial + eps * direction) - step.residual(trial - eps * direction)) / (2 * eps) + matrix = step.jacobian(trial) + scale = np.maximum(abs(matrix) @ abs(direction), 1.0) + assert np.max(abs(numeric - matrix @ direction) / scale) < 3e-8 + data = bdf_accounting(step, trial) + assert data["bdf_residual"].shape == (device.state_size,) + current_scale = max(np.max(abs(data["bdf_conduction_current_A_m2"])), + np.max(abs(data["bdf_displacement_rate_A_m2"])), 1.0) + assert np.max(abs(data["maxwell_identity_error_A_m2"])) < 64 * np.finfo(float).eps * current_scale + endpoint_increment = _displacement(new, trial)[0] - _displacement(old1, u1)[0] + np.testing.assert_array_equal(data["actual_endpoint_displacement_increment_C_m2"], endpoint_increment) + np.testing.assert_array_equal(data["bdf_weighted_displacement_increment_C_m2"], + step.dt_s * data["bdf_displacement_rate_A_m2"]) + assert np.max(abs(endpoint_increment - data["bdf_weighted_displacement_increment_C_m2"])) > 1e-12 + np.testing.assert_array_equal(data["interval_displacement_C_m2"], + data["backward_euler_comparison"]["interval_displacement_C_m2"]) + order1 = BDFStep(new, (h1,), .75, 1) + read1 = bdf_accounting(order1, trial) + np.testing.assert_array_equal(read1["interval_displacement_C_m2"], + order1.dt_s * read1["displacement_current_density_A_m2"]) + + +def test_real_electronic_voltage_jump_preserves_inventory_and_restarts(electronic): + device, initial, admission = electronic + drive = BDFDrive(np.array([0, 2e-7, 4e-7]), np.array([[0, 1], [0, 1], [.002, 1]]), + np.array([[0, 1], [.002, 1], [.002, 1]])) + protocol = TransientProtocol([0, 2e-7, 4e-7], [0, .002, .002], [1, 1, 1]) + result = solve_transient(device, initial, protocol, options=controls(), initial_options=admission, + method="bdf", bdf_options=BDFOptions(1e-7, adaptive=False), bdf_drive=drive) + assert result.completed, (result.termination, result.error) + assert result.restarts and result.restarts[0].accepted + assert result.restarts[0].assessment.accounting["relative_inventory_change"] < 1e-11 + assert next(step for step in result.accepted_steps if step.start_s == 2e-7).order == 1 + + +def test_selection_and_unsupported_population_refusals_are_explicit(electronic): + device, initial, admission = electronic + protocol = TransientProtocol([0, 1e-7], [0, 0], [1, 1]) + with pytest.raises(ValueError, match="explicit BDFOptions"): + solve_transient(device, initial, protocol, options=controls(), initial_options=admission, method="bdf") + with pytest.raises(ValueError, match="unknown"): + solve_transient(device, initial, protocol, options=controls(), initial_options=admission, method="bogus") + + +def _numerical_bdf_bytes(result): + saved = _decode(_encode(result)) + del saved["wall_s"] + del saved["controls"]["wall_s"] + del saved["controls"]["initial_admission_wall_s"] + for attempt in saved["attempts"]: + del attempt["wall_s"] + return _canonical(_encode(saved)) + + +@pytest.mark.parametrize("family", ["electronic", "single-ion"]) +def test_public_assembled_BDF2_history_is_bitwise_and_uses_only_its_selected_equations(electronic, ionic, family): + if family == "electronic": + device, initial, admission = electronic + request = TransientProtocol([0., 1e-7, 2e-7, 4e-7], [0.] * 4, [1.] * 4) + + def run(): + return solve_transient(device, initial, request, options=controls(), initial_options=admission, + method="bdf", bdf_options=BDFOptions(1e-7)) + else: + device, initial = ionic + request = TransientProtocol([0., .25, .5, 1.], [.002] * 4, [0.] * 4) + + def run(): + return solve_ionic_transient(device, initial, request, options=ionic_controls(), method="bdf", + bdf_options=BDFOptions(.25)) + results = [] + for implementation in (LEGACY, ASSEMBLED): + with equation_implementation(implementation), counted() as observed: + result = run() + assert result.completed and any(step.order == 2 for step in result.accepted_steps) + assert (observed.original > 0 and observed.assembled == 0) if implementation == LEGACY else ( + observed.original == 0 and observed.assembled > 0) + results.append(result) + assert _numerical_bdf_bytes(results[0]) == _numerical_bdf_bytes(results[1]) + + +def test_public_BDF_does_not_fall_back_after_an_assembled_only_word_change(electronic): + device, initial, admission = electronic + request = TransientProtocol([0., 1e-7, 2e-7], [0.] * 3, [1., 1.001, 1.004]) + + def run(): + return solve_transient(device, initial, request, options=controls(), initial_options=admission, + method="bdf", bdf_options=BDFOptions(1e-7, adaptive=False, max_order=1)) + with equation_implementation(LEGACY): + reference = run() + with equation_implementation(ASSEMBLED), counted() as observed, one_ulp_residual() as mutations: + candidate = run() + assert mutations[0] > 0 and observed.original == 0 and observed.assembled > 0 + assert _numerical_bdf_bytes(reference) != _numerical_bdf_bytes(candidate) + + +@pytest.mark.parametrize("invalid", [True, 0, -1, 4.0]) +def test_explicit_adaptive_work_budget_is_validated_and_keeps_sample_admission(invalid): + protocol = TransientProtocol([0, 1], [0, 0], [0, 0]) + bdf_options = BDFOptions(.25, max_steps=8) + with pytest.raises(ValueError, match="explicit positive integer"): + _adapter_step_budget(protocol, 1, bdf_options, invalid) + assert _adapter_step_budget(protocol, 1, bdf_options, None) == 1 + assert _adapter_step_budget(protocol, 1, bdf_options, 4) == 4 + assert _adapter_step_budget(protocol, 1, bdf_options, 100) == 8 + extra_samples = TransientProtocol([0, .5, 1], [0, 0, 0], [0, 0, 0]) + with pytest.raises(ValueError, match="sample admission"): + _adapter_step_budget(extra_samples, 1, bdf_options, 4) + + +def test_electronic_explicit_work_budget_changes_work_admission_only(electronic): + device, initial, admission = electronic + protocol = TransientProtocol([0, 2e-8], [0, 0], [1, 1]) + physical = replace(controls(), max_steps=1) + bdf_options = BDFOptions(5e-9, adaptive=False, max_order=1, max_steps=8) + default = solve_electronic_bdf(device, initial, protocol, options=physical, + initial_options=admission, bdf_options=bdf_options) + explicit = solve_electronic_bdf(device, initial, protocol, options=physical, + initial_options=admission, bdf_options=bdf_options, adaptive_max_steps=4) + assert not default.completed and default.termination == "step_budget_exhausted" + assert len(default.accepted_steps) == default.controls["max_steps"] == 1 + assert "adapter_adaptive_max_steps" not in default.controls + assert explicit.completed and len(explicit.accepted_steps) == explicit.controls["max_steps"] == 4 + assert explicit.controls["physical_controls"] == default.controls["physical_controls"] + assert explicit.controls["adapter_sample_interval_limit"] == 1 + assert explicit.controls["adapter_adaptive_max_steps"] == 4 + for result in (default, explicit): + for u in result.accepted_coordinates: + assert u.tobytes() == initial.state.u.tobytes() + + +def test_single_ion_explicit_work_budget_keeps_the_default_and_physical_checks(ionic): + device, initial = ionic + protocol = TransientProtocol([0, .2], [.002, .002], [0, 0]) + original = ionic_controls() + physical = replace(original, electronic=replace(original.electronic, max_steps=1)) + bdf_options = BDFOptions(.05, adaptive=False, max_order=1, max_steps=8) + default = solve_ionic_bdf(device, initial, protocol, options=physical, bdf_options=bdf_options) + explicit = solve_ionic_bdf(device, initial, protocol, options=physical, + bdf_options=bdf_options, adaptive_max_steps=4) + assert not default.completed and default.termination == "step_budget_exhausted" + assert len(default.accepted_steps) == default.controls["max_steps"] == 1 + assert "adapter_adaptive_max_steps" not in default.controls + assert explicit.completed and len(explicit.accepted_steps) == explicit.controls["max_steps"] == 4 + assert explicit.controls["physical_controls"] == default.controls["physical_controls"] + assert explicit.controls["adapter_sample_interval_limit"] == 1 + assert explicit.controls["adapter_adaptive_max_steps"] == 4 + assert default.accepted_coordinates[1].tobytes() == explicit.accepted_coordinates[1].tobytes() + assert all(all(check.passed for check in a.assessment.checks) for a in explicit.accepted_steps) diff --git a/tests/unit/solvers/time/test_bdf_boundary.py b/tests/unit/solvers/time/test_bdf_boundary.py new file mode 100644 index 00000000..bffb02c1 --- /dev/null +++ b/tests/unit/solvers/time/test_bdf_boundary.py @@ -0,0 +1,56 @@ +"""The relocated experiment backend keeps the lower storage layer independent.""" + +import importlib +import os +from pathlib import Path +import subprocess +import sys +from types import SimpleNamespace + +import numpy as np +import pytest + +from solarlab.experiments.transient import TransientProtocol +from solarlab.solvers.time.bdf_1d import BDFDrive + + +@pytest.mark.parametrize("module", [ + "solarlab.solvers.time.bdf_1d", "solarlab.solvers.time.assembled_ionic_bdf", +]) +def test_lower_bdf_modules_import_with_experiments_forbidden(module): + source = """import importlib, importlib.abc, sys +class Forbidden(importlib.abc.MetaPathFinder): + def find_spec(self, fullname, path=None, target=None): + if fullname.startswith('solarlab.experiments'): + raise AssertionError('upward runtime import: ' + fullname) +sys.meta_path.insert(0, Forbidden()) +importlib.import_module(sys.argv[1]) +assert not any(name.startswith('solarlab.experiments') for name in sys.modules) +""" + root = Path(__file__).resolve().parents[4] + result = subprocess.run([sys.executable, "-c", source, module], cwd=root, + env=dict(os.environ, PYTHONPATH=str(root / "src"), PYTHONDONTWRITEBYTECODE="1"), + text=True, capture_output=True, timeout=30) + assert result.returncode == 0, result.stdout + result.stderr + + +def test_backend_entries_are_only_in_the_experiment_layer(): + backend = importlib.import_module("solarlab.experiments.bdf") + classical = importlib.import_module("solarlab.solvers.time.bdf_1d") + assembled = importlib.import_module("solarlab.solvers.time.assembled_ionic_bdf") + for name, old in (("solve_electronic_bdf", classical), ("solve_ionic_bdf", classical), + ("solve_assembled_ionic_bdf", assembled), ("solve_assembled_multiple_ionic_bdf", assembled)): + assert name in backend.__all__ and callable(getattr(backend, name)) + assert getattr(backend, name).__module__ == "solarlab.experiments.bdf" + assert name not in vars(old) + + +def test_drive_accepts_the_unchanged_public_protocol_and_structural_arrays_bitwise(): + protocol = TransientProtocol(np.array([0.0, 0.25, 1.0]), np.array([0.0, 0.1, 0.2]), np.array([0.0, 0.5, 1.0])) + structural = SimpleNamespace(times_s=protocol.times_s, voltage_V=protocol.voltage_V, + generation_scale=protocol.generation_scale) + old = BDFDrive.from_protocol(protocol) + new = BDFDrive.from_protocol(structural) + for name in ("times_s", "left_values", "right_values"): + assert getattr(old, name).tobytes() == getattr(new, name).tobytes() + assert type(protocol).__module__ == "solarlab.experiments.transient" diff --git a/tests/unit/solvers/time/test_bdf_density_activation.py b/tests/unit/solvers/time/test_bdf_density_activation.py new file mode 100644 index 00000000..2e9d71a1 --- /dev/null +++ b/tests/unit/solvers/time/test_bdf_density_activation.py @@ -0,0 +1,333 @@ +"""Failure-only density recovery, original budgets, history and gate contracts.""" + +from dataclasses import asdict, replace + +import numpy as np +import pytest +from scipy.sparse import diags + +from solarlab.solvers.nonlinear.newton import IterationRecord, NewtonResult, NewtonSettings, Termination +from solarlab.solvers.nonlinear.problem import GateOutcome, ResidualScaling, SolveBudget, StepControl, state_digest +from solarlab.solvers.time import bdf as module +from solarlab.solvers.time import carrier_seed as recovery +from solarlab.solvers.time.bdf import Assessment, BDFOptions, solve_bdf +from solarlab.solvers.time.carrier_seed import DensitySeedContext, recover_density_seed, stagnation_basin_signature + + +class Device: + node_count = 1 + + def fields(self, u, *, voltage_V=0.0): + return u[:1], np.exp(u[1:2]), np.exp(-u[2:3]) + + +class Mass: + def __init__(self, source=1.0): + self.source = source + + def residual(self, u): + return np.array([u[0], self.source, self.source]) + + def jacobian(self, u): + return diags([1.0, 0.0, 0.0], format="csc") + + def storage(self, u): + return np.r_[0.0, np.exp(u[1]), np.exp(-u[2])] + + def storage_tangent(self, u): + return diags([0.0, np.exp(u[1]), -np.exp(-u[2])], format="csc") + + +class Target: + def __init__(self, matrix="normal", source=1.0): + self.matrix, self.source = matrix, source + + def residual(self, u): + return np.r_[u[0], np.exp(u[1]) - 1.0 - self.source, np.exp(-u[2]) - 1.0 - self.source] + + def jacobian(self, u): + if self.matrix == "singular": + return diags([1.0, 0.0, 0.0], format="csc") + if self.matrix == "nonfinite": + return diags([1.0, np.nan, 1.0], format="csc") + if self.matrix == "invalid": + return np.zeros((1, 1)) + return diags([1.0, np.exp(u[1]), -np.exp(-u[2])], format="csc") + + +def controls(budget=None, gates=()): + return NewtonSettings(ResidualScaling(np.ones(3)), 1e-10, StepControl(np.full(3, 2.0)), + SolveBudget(50, 1000, 50, 24) if budget is None else budget, gates, False) + + +def failed(u, termination=Termination.STAGNATED): + rows = tuple(IterationRecord(i, 10.0, 1e18, 2e-18, 0, True) for i in (1, 2, 3)) + return NewtonResult(u.copy(), False, termination, 10.0, (), rows, 4, 3, state_digest(u), "recorded plateau") + + +def context(guard=lambda: "unchanged", validate=lambda: None, checkpoint=lambda: None): + return DensitySeedContext(Device(), 0.0, {"test_scope": True}, validate, guard, checkpoint) + + +@pytest.mark.parametrize("termination", [t for t in Termination if t != Termination.STAGNATED]) +def test_non_stagnation_results_are_never_recoverable(termination): + assert not stagnation_basin_signature(failed(np.zeros(3), termination), 1.0) + + +@pytest.mark.parametrize("change", ["accepted", "backtracking", "stale", "large_alpha", "converged", "short"]) +def test_signature_is_specific_to_the_frozen_machine_precision_plateau(change): + f = failed(np.zeros(3)) + if change == "accepted": + f = replace(f, accepted=True) + elif change == "short": + f = replace(f, iterations=f.iterations[:2]) + else: + kwargs = {"backtracking": {"backtracks": 1}, "stale": {"fresh_jacobian": False}, + "large_alpha": {"damping": 2 * np.finfo(float).eps}, "converged": {"scaled_residual": .5}}[change] + f = replace(f, iterations=tuple(replace(row, **kwargs) for row in f.iterations)) + assert not stagnation_basin_signature(f, 1.0) + + +def test_original_failure_seed_retry_and_remaining_budget_are_separate(): + u = np.zeros(3) + original = failed(u) + record = {} + result = recover_density_seed(Target(), u, original, controls(), context(), record) + assert result.accepted + assert record["original_newton"] is original and record["retry_newton"] is result + assert record["remaining_budget"] == asdict(SolveBudget(47, 995, 46, 24)) + assert record["seed_work"] == {"residual": 1, "jacobian": 1, "field_map": 1, + "factorization": 1, "linear_solve": 1, "conversion": 1} + assert record["history_before"] == record["history_after"] == "unchanged" + np.testing.assert_array_equal(u, np.zeros(3)) + assert np.max(abs(Target().residual(result.state))) <= controls().tolerance + + +@pytest.mark.parametrize("budget", [SolveBudget(3, 1000, 50, 24), SolveBudget(50, 5, 50, 24), SolveBudget(50, 1000, 4, 24)]) +def test_no_seed_or_retry_after_remaining_work_is_exhausted(budget): + u = np.zeros(3) + original = failed(u) + record = {} + assert recover_density_seed(Target(), u, original, controls(budget), context(), record) is original + assert record["status"] == "remaining_budget_exhausted" and not record["retry_attempted"] + assert sum(record["seed_work"].values()) == 0 + + +@pytest.mark.parametrize("matrix", ["singular", "nonfinite", "invalid"]) +def test_seed_matrix_failures_are_retained_without_an_alternate_initializer(matrix): + u = np.zeros(3) + original = failed(u) + record = {} + assert recover_density_seed(Target(matrix), u, original, controls(), context(), record) is original + assert record["status"] == "seed_or_binding_failed" and record["error"] + assert not record["retry_attempted"] and record["retry_newton"] is None + assert record["seed_work"]["residual"] == record["seed_work"]["jacobian"] == 1 + + +@pytest.mark.parametrize("log_value", [-1000.0, 1000.0, np.nan]) +def test_nonfinite_or_underflowed_input_population_cannot_be_clipped(log_value): + u = np.array([0.0, log_value, 0.0]) + original = failed(u) + record = {} + with np.errstate(over="ignore", under="ignore", invalid="ignore"): + assert recover_density_seed(Target(), u, original, controls(), context(), record) is original + assert record["status"] == "seed_or_binding_failed" and not record["retry_attempted"] + + +def test_nonpositive_seed_candidate_fails_without_newton(): + u = np.zeros(3) + original = failed(u) + record = {} + assert recover_density_seed(Target(source=-2.0), u, original, controls(), context(), record) is original + assert record["seed_work"]["factorization"] == 1 and record["seed_work"]["conversion"] == 0 + assert not record["retry_attempted"] + + +@pytest.mark.parametrize("reason", ["device mismatch", "voltage reference mismatch", "not a complete target"]) +def test_invalid_binding_refuses_before_seed_work(reason): + def refuse(): + raise ValueError(reason) + record = {} + u = np.zeros(3) + original = failed(u) + assert recover_density_seed(Target(), u, original, controls(), context(validate=refuse), record) is original + assert reason in record["error"] and sum(record["seed_work"].values()) == 0 + + +def test_deadline_is_not_reset(): + def expired(): + raise TimeoutError("original deadline") + record = {} + with pytest.raises(TimeoutError, match="original deadline"): + recover_density_seed(Target(), np.zeros(3), failed(np.zeros(3)), controls(), context(checkpoint=expired), record) + assert record["status"] == "wall_budget_exhausted" and not record["retry_attempted"] + + +@pytest.mark.parametrize("phase", ["before_seed", "during_seed", "during_retry", "after_retry"]) +def test_actual_be_deadline_preserves_exception_failure_work_and_history(monkeypatch, phase): + from solarlab.experiments.transient import _WallBudgetExceeded + + u = np.zeros(3) + before = u.tobytes() + original = failed(u) + record = {} + deadline = _WallBudgetExceeded("original BE deadline") + elapsed = phase == "before_seed" + calls = {"seed": 0, "retry": 0} + following = None + + def checkpoint(): + if elapsed: + raise deadline + + def seed(problem, initial, *, device, voltage_V, work_observer): + nonlocal elapsed + calls["seed"] += 1 + work_observer("field_map") + problem.residual(initial) + if phase == "during_seed": + elapsed = True + work_observer("checkpoint") + problem.jacobian(initial) + for work in ("factorization", "linear_solve", "conversion"): + work_observer(work) + return np.array([0.0, np.log(2.0), -np.log(2.0)]) + + def retry(problem, initial, settings, **kwargs): + nonlocal elapsed, following + calls["retry"] += 1 + assert settings.budget == SolveBudget(47, 995, 46, 24) + assert settings.tolerance == controls().tolerance + assert settings.gates == controls().gates + elapsed = True + if phase == "during_retry": + checkpoint() + following = replace(failed(initial), accepted=True, termination=Termination.CONVERGED) + return following + + monkeypatch.setattr(recovery, "transient_density_basin_seed", seed) + monkeypatch.setattr(recovery, "solve_newton", retry) + bound = replace(context(checkpoint=checkpoint), + deadline_exceptions=(TimeoutError, _WallBudgetExceeded)) + with pytest.raises(_WallBudgetExceeded) as caught: + recover_density_seed(Target(), u, original, controls(), bound, record) + assert caught.value is deadline + assert isinstance(caught.value, RuntimeError) and not isinstance(caught.value, TimeoutError) + assert record["status"] == "wall_budget_exhausted" + assert record["original_newton"] is original and not original.accepted + assert record["history_before"] == record["history_after"] == "unchanged" + assert u.tobytes() == record["original_initial"].tobytes() == before + assert record["retry_attempted"] == (phase in ("during_retry", "after_retry")) + assert record["retry_newton"] is following + if phase == "before_seed": + assert calls == {"seed": 0, "retry": 0} + assert sum(record["seed_work"].values()) == 0 and record["seed"] is None + elif phase == "during_seed": + assert calls == {"seed": 1, "retry": 0} + assert record["seed_work"] == {"residual": 1, "jacobian": 0, "field_map": 1, + "factorization": 0, "linear_solve": 0, "conversion": 0} + assert record["seed"] is None + else: + assert calls == {"seed": 1, "retry": 1} + assert all(work == 1 for work in record["seed_work"].values()) + assert record["remaining_budget"] == asdict(SolveBudget(47, 995, 46, 24)) + assert record["seed"].tobytes() != before + + +@pytest.mark.parametrize("be_deadline_binding", [False, True]) +def test_history_mutation_terminates_before_any_acceptance(be_deadline_binding): + from solarlab.experiments.transient import _WallBudgetExceeded + + values = iter(["before", "after", "after"]) + record = {} + bound = context(guard=lambda: next(values)) + if be_deadline_binding: + bound = replace(bound, deadline_exceptions=(TimeoutError, _WallBudgetExceeded)) + with pytest.raises(RuntimeError, match="frozen initial/history"): + recover_density_seed(Target(), np.zeros(3), failed(np.zeros(3)), controls(), bound, record) + assert record["status"] == "frozen_history_violation" and not record["retry_attempted"] + + +@pytest.mark.parametrize("termination", [Termination.BUDGET_EXHAUSTED, Termination.LINE_SEARCH_FAILED, Termination.GATE_REJECTED]) +def test_positive_seed_does_not_promote_a_failed_retry(monkeypatch, termination): + def reject(problem, u, settings, **kwargs): + assert settings.gates == (gate,) + return failed(u, termination) + def gate(u): + return GateOutcome("original", False, 2.0, 1.0) + monkeypatch.setattr(recovery, "solve_newton", reject) + record = {} + result = recover_density_seed(Target(), np.zeros(3), failed(np.zeros(3)), controls(gates=(gate,)), context(), record) + assert not result.accepted and record["status"] == "retry_rejected" + + +@pytest.mark.parametrize("mode", ["accepted", "physical_gate", "LTE"]) +def test_bdf_history_and_original_gates_follow_recovered_main_and_auxiliary_calls(monkeypatch, mode): + def stagnant(problem, u, settings, **kwargs): + for _ in range(4): + problem.residual(u) + for _ in range(3): + problem.jacobian(u) + return failed(u) + monkeypatch.setattr(module, "solve_newton", stagnant) + u = np.zeros(3) + budget = controls() + opts = BDFOptions(1.0, relative_tolerance=1e-10, absolute_tolerance=1e-10, + max_steps=1, max_attempts=2, max_consecutive_rejections=1) + def binding(step, original): + return context(guard=lambda: state_digest(step.history[0].u) + state_digest(step.history[0].storage_value)) + result = solve_bdf(lambda t, side: Mass(t if mode == "LTE" else 1.0), u, (0.0, 1.0), + options=opts, settings=lambda step: budget, density_seed_context=binding, + assess=lambda step, value: Assessment({}, (GateOutcome("original physical", mode != "physical_gate", 0, 0),)), + output_times_s=np.array([0.0, 1.0])) + records = result.controls["density_seed_recoveries"] + assert records and all(r["original_newton"].termination == Termination.STAGNATED for r in records) + assert all(r["seed"] is not None and r["retry_newton"].accepted for r in records) + assert result.nonlinear_calls == 2 * len(records) + if mode == "accepted": + assert result.completed and len(records) == 3 + assert len(result.attempts[0].auxiliary_newton) == 2 and result.attempts[0].error_norm <= 1 + assert {r["stage"] for r in records} == {"main", "startup_half_1", "startup_half_2"} + else: + assert not result.completed and len(result.accepted_times_s) == 1 + assert result.accepted_coordinates[0].tobytes() == u.tobytes() + assert result.termination == ("physical_gate_rejected" if mode == "physical_gate" else "rejection_budget_exhausted") + + +@pytest.fixture(scope="module") +def compiled_device(): + from examples.research_1d.steady import load_device + from solarlab.device.compile_1d import compile_device_1d + return compile_device_1d(load_device(), intervals_per_layer=2) + + +@pytest.mark.parametrize("mode", ["valid", "BDF2", "ramp", "already_light", "voltage", "away_from_knot", "wrong_generation"]) +def test_real_adapter_scope_only_admits_complete_fixed_voltage_dark_jump_BDF1(compiled_device, mode): + from solarlab.equations.dc_1d import DC1DProblem + from solarlab.solvers.time.bdf import BDFStep, HistoryPoint + from solarlab.solvers.time.bdf_1d import BDFDrive, ElectronicStorage1D + from solarlab.experiments.bdf import _generation_density_context + values = np.array([[0.0, 0.0], [0.0, 0.0], [0.0, 1.0]]) + right = values.copy() + right[1, 1] = 1.0 + if mode == "ramp": + values[1] = right[1] + if mode == "already_light": + values[1, 1], right[1, 1] = 1.0, 2.0 + if mode == "voltage": + right[1, 0] = .1 + drive = BDFDrive(np.array([0.0, .5, 1.0]), values, right) + old = ElectronicStorage1D(DC1DProblem(compiled_device, float(right[1, 0]), float(right[1, 1]))) + endpoint = ElectronicStorage1D(DC1DProblem(compiled_device, 0.0, .5 if mode == "wrong_generation" else 1.0)) + u = np.zeros(3 * compiled_device.node_count) + point = HistoryPoint(.4 if mode == "away_from_knot" else .5, u, old.storage(u), old) + history = (point, HistoryPoint(.3, u, old.storage(u), old)) if mode == "BDF2" else (point,) + step = BDFStep(endpoint, history, .6, 2 if mode == "BDF2" else 1) + scoped = _generation_density_context(drive, step) + if mode == "valid": + assert scoped is not None + scoped.validate() + assert scoped.scope["device_identity"] == compiled_device.identity + assert scoped.history_fingerprint() == scoped.history_fingerprint() + else: + assert scoped is None diff --git a/tests/unit/solvers/time/test_bdf_restart_record.py b/tests/unit/solvers/time/test_bdf_restart_record.py new file mode 100644 index 00000000..8f7b5ac9 --- /dev/null +++ b/tests/unit/solvers/time/test_bdf_restart_record.py @@ -0,0 +1,71 @@ +"""Accepted-coordinate records use the same jump side as history and samples.""" + +import numpy as np +import pytest + +from solarlab.solvers.nonlinear.newton import NewtonSettings +from solarlab.solvers.nonlinear.problem import GateOutcome, ResidualScaling, SolveBudget, StepControl +from solarlab.solvers.time.bdf import Assessment, BDFEvent, BDFOptions, solve_bdf + + +class Driven: + def __init__(self, voltage): + self.voltage = voltage + + def residual(self, u): + return np.array([self.voltage - u[0], u[1] - self.voltage]) + + def jacobian(self, u): + return np.diag([-1.0, 1.0]) + + def storage(self, u): + return np.array([u[0], 0.0]) + + def storage_tangent(self, u): + return np.diag([1.0, 0.0]) + + +def settings(step): + return NewtonSettings(ResidualScaling(np.ones(2)), 1e-12, + StepControl(np.full(2, 1e30)), SolveBudget(20, 100, 20, 10), (), False) + + +@pytest.mark.parametrize("event_time", [0.0, .5]) +def test_accepted_coordinate_at_value_jump_is_the_right_state_without_changing_left_record(event_time): + def factory(t, side): + return Driven(0.0 if t < event_time or (t == event_time and side == "left") else 1.0) + + def restart(old, new, u): + right = u.copy() + right[1] = new.voltage + return right, Assessment({}, (GateOutcome("frozen_inventory", right[0] == u[0], 0.0, 0.0),)) + + result = solve_bdf(factory, np.zeros(2), (0, 1), options=BDFOptions(.125, adaptive=False), + settings=settings, events=(BDFEvent(event_time, restart),), + output_times_s=np.array([0.0, event_time, 1.0])) + assert result.completed, (result.termination, result.error) + event = result.restarts[0] + index = int(np.flatnonzero(result.accepted_times_s == event_time)[0]) + assert result.accepted_coordinates[index].tobytes() == event.right_u.tobytes() + assert event.left_u[1] == 0 and event.right_u[1] == 1 + assert event.left_storage.tobytes() == event.right_storage.tobytes() + first_after = next(step for step in result.accepted_steps if step.start_s == event_time) + assert first_after.order == 1 and first_after.initial_coordinates.tobytes() == event.right_u.tobytes() + assert all(s.u.tobytes() == event.right_u.tobytes() for s in result.samples if s.time_s == event_time) + + +def test_failed_restart_keeps_the_left_accepted_coordinate(): + def factory(t, side): + return Driven(0.0 if t < .5 or (t == .5 and side == "left") else 1.0) + + def restart(old, new, u): + right = u.copy() + right[1] = new.voltage + return right, Assessment({}, (GateOutcome("explicit_physical_refusal", False, 2.0, 1.0),)) + + result = solve_bdf(factory, np.zeros(2), (0, 1), options=BDFOptions(.125, adaptive=False), + settings=settings, events=(BDFEvent(.5, restart),)) + assert not result.completed and result.termination == "restart_physical_gate_rejected" + assert not result.restarts[0].accepted + assert result.accepted_coordinates[-1].tobytes() == result.restarts[0].left_u.tobytes() + assert result.accepted_coordinates[-1].tobytes() != result.restarts[0].right_u.tobytes() diff --git a/tests/unit/solvers/time/test_bdf_robustness.py b/tests/unit/solvers/time/test_bdf_robustness.py new file mode 100644 index 00000000..5add4825 --- /dev/null +++ b/tests/unit/solvers/time/test_bdf_robustness.py @@ -0,0 +1,90 @@ +"""N-method contracts: algebraic words and consistent slope-knot restarts.""" + +import numpy as np + +from examples.research_1d.transient import controls +from solarlab.solvers.nonlinear.newton import NewtonSettings +from solarlab.solvers.nonlinear.problem import ResidualScaling, SolveBudget, StepControl +from solarlab.solvers.time.bdf import Assessment, BDFEvent, BDFOptions, BDFStep, HistoryPoint, solve_bdf +from solarlab.solvers.time.bdf_1d import BDFDrive +from solarlab.experiments.bdf import _events + + +def test_algebraic_residual_signed_zero_is_preserved(): + class Problem: + def residual(self, u): + return np.array([-u[0], u[1]]) + def jacobian(self, u): + return np.diag([-1.0, 1.0]) + def storage(self, u): + return np.array([u[0], 0.0]) + def storage_tangent(self, u): + return np.diag([1.0, 0.0]) + problem = Problem() + old_u, u = np.array([1.0, -0.0]), np.array([.9, -0.0]) + old = HistoryPoint(0.0, old_u, problem.storage(old_u), problem) + result = BDFStep(problem, (old,), .1, 1).residual(u) + assert result[1:].tobytes() == problem.residual(u)[1:].tobytes() + assert np.signbit(result[1]) + + +def test_nonzero_history_rate_is_retained_at_a_zero_storage_tangent(): + class Degenerate: + def residual(self, u): + return -np.ones(1) + def jacobian(self, u): + return np.zeros((1, 1)) + def storage(self, u): + return u**3 + def storage_tangent(self, u): + return np.diag(3 * u**2) + problem = Degenerate() + old_u, u = np.ones(1), np.zeros(1) + history = HistoryPoint(0.0, old_u, problem.storage(old_u), problem) + step = BDFStep(problem, (history,), .1, 1) + np.testing.assert_array_equal(step.residual(u), [9.0]) + + +def test_slope_knots_are_explicit_events_without_duplicate_jump_events(): + values = np.array([[0.0, 0.0], [.5, 0.0], [1.5, 0.0]]) + drive = BDFDrive(np.array([0.0, .5, 1.0]), values, values) + events = _events(drive, None, controls()) + assert drive.slope_breakpoints_s == (.5,) + assert [(e.time_s, e.name) for e in events] == [(.5, "drive_slope_discontinuity")] + linear = np.array([[0.0, 0.0], [.5, 0.0], [1.0, 0.0]]) + assert not BDFDrive(drive.times_s, linear, linear).slope_breakpoints_s + right = values.copy() + right[1, 0] += .1 + jumped = BDFDrive(drive.times_s, values, right) + assert not jumped.slope_breakpoints_s + assert [e.name for e in _events(jumped, None, controls())] == ["voltage_generation_protocol_jump"] + + +def test_generic_restart_at_a_continuous_slope_knot_keeps_state_and_order_one(): + values = np.array([[0.0, 0.0], [.5, 0.0], [1.5, 0.0]]) + drive = BDFDrive(np.array([0.0, .5, 1.0]), values, values) + class Driven: + def __init__(self, value): + self.value = value + def residual(self, u): + return self.value - u + def jacobian(self, u): + return -np.eye(1) + def storage(self, u): + return u.copy() + def storage_tangent(self, u): + return np.eye(1) + def settings(step): + return NewtonSettings(ResidualScaling(np.ones(1)), 1e-12, + StepControl(np.full(1, 1e30)), SolveBudget(20, 100, 20, 10), (), False) + def restart(old, new, u): + return u.copy(), Assessment() + result = solve_bdf(lambda t, side: Driven(drive.values(t, side)[0]), np.zeros(1), (0.0, 1.0), + options=BDFOptions(.125, max_step_s=.125, adaptive=False), settings=settings, + events=(BDFEvent(.5, restart, "drive_slope_discontinuity"),), + output_times_s=np.array([0.0, .5, 1.0])) + assert result.completed + event = result.restarts[0] + assert event.left_u.tobytes() == event.right_u.tobytes() + assert event.left_storage.tobytes() == event.right_storage.tobytes() + assert next(a for a in result.accepted_steps if a.start_s == .5).order == 1 diff --git a/tests/unit/solvers/time/test_bdf_startup_rejection.py b/tests/unit/solvers/time/test_bdf_startup_rejection.py new file mode 100644 index 00000000..33d3c64c --- /dev/null +++ b/tests/unit/solvers/time/test_bdf_startup_rejection.py @@ -0,0 +1,90 @@ +"""Auxiliary startup failures retain trial records and the original budgets.""" + +from dataclasses import replace + +import numpy as np +import pytest + +from solarlab.solvers.nonlinear.newton import NewtonSettings, Termination +from solarlab.solvers.nonlinear.problem import ResidualScaling, SolveBudget, StepControl +from solarlab.solvers.time import bdf + + +class ConstantInventory: + def residual(self, u): + return np.zeros_like(u) + + def jacobian(self, u): + return np.zeros((len(u), len(u))) + + def storage(self, u): + return u.copy() + + def storage_tangent(self, u): + return np.eye(len(u)) + + +def settings(step): + return NewtonSettings(ResidualScaling(np.ones(1)), 1e-12, StepControl(np.ones(1)), + SolveBudget(20, 100, 20, 10), (), False) + + +def inject_failure(monkeypatch, failed_call=None): + original = bdf.solve_newton + calls = [] + + def wrapped(problem, seed, control, **kwargs): + result = original(problem, seed, control, **kwargs) + if len(calls) + 1 == failed_call or (failed_call is None and len(calls) % 2 == 1): + result = replace(result, accepted=False, termination=Termination.LINE_SEARCH_FAILED, + state=np.array([999.0]), message="injected auxiliary nonlinear failure") + calls.append(result) + return result + + monkeypatch.setattr(bdf, "solve_newton", wrapped) + return calls + + +@pytest.mark.parametrize("failed_call", [2, 3]) +def test_each_half_step_failure_is_a_recorded_rejection_without_accepting_auxiliary_history(monkeypatch, failed_call): + calls = inject_failure(monkeypatch, failed_call) + problem = ConstantInventory() + result = bdf.solve_bdf(lambda t, side: problem, np.ones(1), (0.0, 1.0), + options=bdf.BDFOptions(.5), settings=settings) + assert result.completed, (result.termination, result.error) + rejected = result.rejected_steps + assert len(rejected) == 1 + failure = rejected[0] + assert failure.start_s == 0 and failure.end_s == .5 + assert failure.termination == "startup_newton_line_search_failed" + assert len(failure.auxiliary_newton) == failed_call - 1 + assert failure.newton.accepted and not failure.auxiliary_newton[-1].accepted + np.testing.assert_array_equal(failure.auxiliary_newton[-1].state, [999.0]) + assert result.accepted_steps[0].start_s == 0 and result.accepted_steps[0].end_s == .25 + for u in result.accepted_coordinates: + np.testing.assert_array_equal(u, [1.0]) + recorded = [value for a in result.attempts for value in (a.newton, *a.auxiliary_newton) if value is not None] + assert len(recorded) == result.nonlinear_calls == len(calls) + assert result.evaluation_counts["residual"] == sum(n.residual_evaluations for n in recorded) + assert result.evaluation_counts["jacobian"] == sum(n.jacobian_evaluations for n in recorded) + + +@pytest.mark.parametrize("max_attempts, consecutive, expected_trials, termination", [ + (20000, 2, 3, "rejection_budget_exhausted"), + (1, 12, 1, "step_budget_exhausted"), +]) +def test_repeated_auxiliary_failure_obeys_unchanged_trial_and_rejection_budgets( + monkeypatch, max_attempts, consecutive, expected_trials, termination, +): + calls = inject_failure(monkeypatch) + problem = ConstantInventory() + result = bdf.solve_bdf(lambda t, side: problem, np.ones(1), (0.0, 1.0), + options=bdf.BDFOptions(.5, max_attempts=max_attempts, max_consecutive_rejections=consecutive), + settings=settings) + assert not result.completed and result.termination == termination + assert len(result.attempts) == len(result.rejected_steps) == expected_trials + assert result.nonlinear_calls == len(calls) == 2 * expected_trials + np.testing.assert_array_equal(result.accepted_times_s, [0.0]) + assert all(a.start_s == 0 and a.termination == "startup_newton_line_search_failed" for a in result.attempts) + assert result.controls["max_attempts"] == max_attempts + assert result.controls["max_consecutive_rejections"] == consecutive diff --git a/tests/unit/solvers/time/test_radau_enclosure.py b/tests/unit/solvers/time/test_radau_enclosure.py new file mode 100644 index 00000000..f03f10ef --- /dev/null +++ b/tests/unit/solvers/time/test_radau_enclosure.py @@ -0,0 +1,393 @@ +"""Nonlinear enclosure tests; short real-device integrations are a separate runner. + +Integration conditions: optional, unqualified reference infrastructure for +restricted declared E/I inputs and analytic unit fixtures only. Independence +is static-only: no BDF stepping, history, interpolation or accounting is used. +Retained failed attempts stay failures and qualification flags stay false. +Any future nonzero initial uncertainty must be expressed in the selected +weighted log norm; a numerical trajectory alone does not qualify a reference. +""" + +from __future__ import annotations + +from collections.abc import Callable, Iterator +import ast +from dataclasses import replace +from fractions import Fraction +import inspect +from typing import Any, cast + +import numpy as np +import pytest +from scipy.sparse import csc_matrix +from threadpoolctl import threadpool_limits + +pytest.importorskip("flint") +from flint import arb, ctx + +from examples.research_1d.ionic_multilayer import prepare_confined_ion_device +from examples.research_1d.steady import load_device +from solarlab.contracts.units import ONE +from solarlab.device.compile_1d import compile_device_1d +from solarlab.device.compile_ionic_1d import compile_ionic_device_1d +from solarlab.equations.assembly.assembler import AssembledSystem, Assembler +import solarlab.equations.assembly.ionic_1d as ionic_assembly +from solarlab.equations.assembly.classical_1d import AssembledDC1DProblem +from solarlab.equations.assembly.ionic_1d import AssembledIonic1DProblem +from solarlab.equations.assembly.layout import Block, NodeSet, SystemLayout +import solarlab.solvers.time.radau_enclosure as enclosure_module +from solarlab.solvers.time.radau_enclosure import ( + EnclosureBlocked, + NonlinearInventoryEnclosure, + PWLDrive, + enclosed_inventory_dae, + nonlinear_tube_bound, +) +from solarlab.solvers.time.radau_reference import ( + InventoryDAE, + RadauControls, + RadauCounters, + integrate_radau, +) +import solarlab.solvers.time.ionic_backward_euler as ionic_be +import solarlab.solvers.time.radau_reference as radau_source + + +@pytest.fixture(scope="module", autouse=True) +def one_thread() -> Iterator[None]: + old_threads = ctx.threads + ctx.threads = 1 + with threadpool_limits(limits=1), ctx.workprec(192): + yield + ctx.threads = old_threads + + +def ball(value: float | int | Fraction) -> Any: + return enclosure_module._q(value) + + +def test_exact_polynomial_derivative_does_not_round_the_integer_product() -> None: + p = np.array([[0.0], [0.0], [0.0], [np.nextafter(1.0, np.inf)]]) + value = enclosure_module._polynomial_range( + p, Fraction(1), Fraction(1), derivative=True + )[0] + exact = ball(Fraction(float(p[3, 0])) * 3) + assert value.contains(exact) + assert not value.contains(ball(float(p[3, 0] * 3))) + + +def test_maximum_uses_enclosed_endpoints_not_float_ranking() -> None: + larger = ball(Fraction(1) + Fraction(1, 2**100)) + assert float(larger) == 1.0 + maximum = enclosure_module._maximum([arb(1), larger]) + assert maximum >= larger + + +@pytest.mark.parametrize("historical", [False, True]) +@pytest.mark.parametrize("x", [-0.3, 0.3, 1e-9]) +def test_bernoulli_interval_derivative_matches_exact_formula( + x: float, historical: bool +) -> None: + q = ball(x) + jet = enclosure_module._Jet(q, (arb(1),)) + value = enclosure_module._bernoulli(jet, historical=historical) + if abs(x) < 1e-8: + exact, derivative = 1 - q / 2 + q * q / 12, -ball(Fraction(1, 2)) + q / 6 + else: + exact = q / q.expm1() + derivative = (q.expm1() - q * q.exp()) / (q.expm1() ** 2) + assert value.value.overlaps(exact) + assert value.gradient[0].overlaps(derivative) + + +def test_non_lipschitz_approximation_branch_is_refused() -> None: + cut = ball(1e-8) + value = (cut - ball(1e-12)).union(cut + ball(1e-12)) + with pytest.raises(EnclosureBlocked, match="bernoulli_value_branch_crossing"): + enclosure_module._bernoulli(enclosure_module._Jet(value, (arb(1),))) + + +def test_unimplemented_carrier_extreme_product_branch_is_refused() -> None: + jet = enclosure_module._Jet + with pytest.raises(EnclosureBlocked, match="carrier_extreme_product_branch"): + enclosure_module._carrier_flux( + jet(arb(1)), jet(arb(1)), jet(arb(501)), jet(arb(0)), jet(arb(1)) + ) + + +def test_frozen_PWL_interpolation_and_knot_refusal() -> None: + drive = PWLDrive((0.0, 0.5, 1.0), (0.0, 2.0, 3.0), (1.0, 2.0, 1.0)) + V, g = drive.enclose(Fraction(1, 8), Fraction(1, 4)) + assert V.contains(ball(Fraction(1, 2))) and V.contains(arb(1)) + assert g.contains(ball(Fraction(5, 4))) and g.contains(ball(Fraction(3, 2))) + with pytest.raises(EnclosureBlocked, match="drive_knot"): + drive.enclose(Fraction(1, 4), Fraction(3, 4)) + + +@pytest.mark.parametrize("ionic", [False, True]) +def test_actual_E_I_nonlinear_value_and_jacobian_enclosures(ionic: bool) -> None: + if ionic: + ion = compile_ionic_device_1d( + prepare_confined_ion_device(), + intervals_per_layer=(4, 4, 4), + ion_domain_layer="absorber", + ion_domain_endpoints=("blocking", "blocking"), + ) + problem: Any = AssembledIonic1DProblem(ion) + e = ion.electronic_component + u = np.r_[ + e.reference_potential_V, np.zeros(2 * e.node_count + ion.ion_node_count) + ] + else: + e = compile_device_1d(load_device(), intervals_per_layer=(4, 4, 4)) + problem = AssembledDC1DProblem(e) + u = np.r_[e.reference_potential_V, np.zeros(2 * e.node_count)] + mask = problem.binding.layout.constraint_mask() + mask[problem.binding.layout.rows("potential")] = True + z = problem.storage(u)[~mask] + drive = PWLDrive((0.0, 1.0), (0.0, 0.002), (1.0, 1.0)) + enclosure = NonlinearInventoryEnclosure(problem, drive, z) + epsilon = ball(Fraction(1, 10**8)) + boxes = tuple( + (ball(value) * (1 - epsilon)).union(ball(value) * (1 + epsilon)) for value in z + ) + result = enclosure.evaluate(Fraction(0), Fraction(0), boxes) + assert len(result.rhs) == z.size and len(result.coordinates) == u.size + # Mean-value check against independent high-precision directional secants + # across actual physical-inventory boxes; no binary64 Jacobian is assumed. + for column in (0, z.size // 2, z.size - 1): + plus, minus = [ball(value) for value in z], [ball(value) for value in z] + delta = epsilon * ball(z[column]) / 2 + plus[column] += delta + minus[column] -= delta + a = enclosure.evaluate(Fraction(0), Fraction(0), tuple(plus), derivatives=False) + b = enclosure.evaluate( + Fraction(0), Fraction(0), tuple(minus), derivatives=False + ) + for row, (left, right) in enumerate(zip(a.rhs, b.rhs)): + secant = (left - right) / epsilon / ball(z[row]) + assert result.scaled_jacobian[row][column].overlaps(secant), ( + ionic, + row, + column, + ) + if ionic: + assert ( + np.max(ion.positive_ion_reference_m3 / ion.positive_ion_site_limit_m3) + < 0.999999 + ) + + +def test_enclosed_point_evaluation_has_no_reconstruction_tolerance_dead_zone() -> None: + e = compile_device_1d(load_device(), intervals_per_layer=(4, 4, 4)) + problem = AssembledDC1DProblem(e) + u = np.r_[e.reference_potential_V, np.zeros(2 * e.node_count)] + mask = problem.binding.layout.constraint_mask() + mask[problem.binding.layout.rows("potential")] = True + z = problem.storage(u)[~mask] + drive = PWLDrive((0.0, 1.0), (0.0, 0.0), (1.0, 1.0)) + model = enclosed_inventory_dae( + problem, drive, inventory_scale=z, algebraic_scale=np.ones(e.node_count + 4) + ) + controls, counters = RadauControls(), RadauCounters() + point = model.reconstruct(0.0, z, u, controls, counters) + changed = z.copy() + changed[0] *= 1 + 1e-13 + moved = model.reconstruct(0.0, changed, point.u, controls, counters) + assert np.max(np.abs((changed - z) / z)) < controls.scaled_newton_tolerance + assert np.any(point.rhs != moved.rhs) + assert moved.scaled_reconstruction_residual <= controls.scaled_newton_tolerance + + +def test_transitive_BE_secant_is_unreachable_on_reference_paths( + monkeypatch: pytest.MonkeyPatch, +) -> None: + # Static reachability: the only secant call is inside IonStorage.increment; + # the only dispatch to a storage increment is Assembler.storage_increment. + tree = ast.parse(inspect.getsource(ionic_assembly)) + sites = [] + for node in tree.body: + if isinstance(node, ast.ClassDef): + for method in node.body: + if isinstance(method, ast.FunctionDef) and any( + isinstance(call, ast.Call) + and isinstance(call.func, ast.Name) + and call.func.id == "finite_site_secant_m3" + for call in ast.walk(method) + ): + sites.append((node.name, method.name)) + assert sites == [("IonStorage", "increment")] + methods = ast.parse(inspect.getsource(Assembler)).body[0] + assert isinstance(methods, ast.ClassDef) + dispatches = [ + method.name + for method in methods.body + if isinstance(method, ast.FunctionDef) + and any( + isinstance(call, ast.Call) + and isinstance(call.func, ast.Attribute) + and call.func.attr == "increment" + for call in ast.walk(method) + ) + ] + assert dispatches == ["storage_increment"] + reference_tree = ast.parse(inspect.getsource(radau_source)) + assert not any( + isinstance(node, ast.Attribute) + and node.attr in {"increment", "storage_increment"} + for node in ast.walk(reference_tree) + ) + calls = [] + + def forbidden(*args: Any, **kwargs: Any) -> Any: + calls.append("BE_secant_or_increment") + raise AssertionError("reference attempted to use a BE secant/increment") + + monkeypatch.setattr(ionic_assembly, "finite_site_secant_m3", forbidden) + monkeypatch.setattr(ionic_be, "finite_site_secant_m3", forbidden) + monkeypatch.setattr(ionic_assembly.IonStorage, "increment", forbidden) + monkeypatch.setattr(Assembler, "storage_increment", forbidden) + ion = compile_ionic_device_1d( + prepare_confined_ion_device(), + intervals_per_layer=(4, 4, 4), + ion_domain_layer="absorber", + ion_domain_endpoints=("blocking", "blocking"), + ) + problem = AssembledIonic1DProblem(ion) + e = ion.electronic_component + u = np.r_[e.reference_potential_V, np.zeros(2 * e.node_count + ion.ion_node_count)] + mask = problem.binding.layout.constraint_mask() + mask[problem.binding.layout.rows("potential")] = True + z = problem.storage(u)[~mask] + drive = PWLDrive((0.0, 1.0), (0.0, 0.002), (0.0, 0.0)) + for factory in (radau_source.assembled_inventory_dae, enclosed_inventory_dae): + model = factory( + problem, drive, inventory_scale=z, algebraic_scale=np.ones(e.node_count + 4) + ) + model.assembled(0.0, u, RadauCounters()) + model.reconstruct(0.0, z, u, RadauControls(), RadauCounters(), derivatives=True) + assert not calls + + +def test_nonlinear_tube_against_exact_logistic_decay( + record_property: Callable[[str, object], None], +) -> None: + layout = SystemLayout( + (NodeSet("one", 1),), (Block("a", "one", ONE, ONE), Block("z", "one", ONE, ONE)) + ) + + def evaluate(t: float, u: Any) -> AssembledSystem: + z = np.exp(u[1]) + F = np.array([u[0] - z, -z * z]) + return AssembledSystem( + layout, + True, + F, + F.copy(), + csc_matrix([[1, -z], [0, -2 * z * z]]), + np.array([0.0, z]), + csc_matrix([[0, 0], [0, z]]), + ) + + model = InventoryDAE(layout, evaluate, (1,), np.ones(1), np.ones(1)) + result = integrate_radau( + model, + [1.0, 0.0], + np.linspace(0.0, 0.1, 9), + controls=RadauControls(scaled_newton_tolerance=1e-13), + ) + + class ExactLogistic: + size = 1 + scale = np.ones(1) + evaluations = 0 + + def evaluate( + self, + left: Fraction, + right: Fraction, + inventories: tuple[Any, ...], + *, + derivatives: bool = True, + ) -> Any: + self.evaluations += 1 + z = inventories[0] + return enclosure_module._Evaluation( + (-z * z,), ((-2 * z,),) if derivatives else ((),), (z, z.log()), (z,) + ) + + bound = nonlinear_tube_bound( + cast(NonlinearInventoryEnclosure, ExactLogistic()), + result, + initial_error=0.0, + tube_radius=0.01, + subdivisions=2, + ) + assert ( + bound.tube_proved + and bound.error_upper is not None + and not bound.reference_qualified + ) + assert bound.status == "reference_blocked" + observed, floating_observed, output_roundoff = Fraction(0), Fraction(0), Fraction(0) + for t in np.linspace(0.0, 0.1, 65): + step = next(s for s in result.steps if s.left_s <= t <= s.right_s) + theta = (Fraction(float(t)) - Fraction(step.left_s)) / ( + Fraction(step.right_s) - Fraction(step.left_s) + ) + polynomial = sum( + (Fraction(float(step.coefficients[k, 0])) * theta**k for k in range(4)), + Fraction(0), + ) + exact = 1 / (1 + Fraction(float(t))) + floating = Fraction(float(result.sample(float(t)).inventory[0])) + observed = max(observed, abs(polynomial - exact)) + floating_observed = max(floating_observed, abs(floating - exact)) + output_roundoff = max(output_roundoff, abs(floating - polynomial)) + assert Fraction(bound.error_upper) >= observed + assert Fraction(bound.error_upper) + output_roundoff >= floating_observed + record_property("polynomial_error_bound", bound.error_upper) + record_property("observed_polynomial_error", float(observed)) + record_property("observed_floating_output_error", float(floating_observed)) + record_property( + "sampled_output_roundoff_upper", enclosure_module._upper(ball(output_roundoff)) + ) + record_property("completed_slabs", bound.completed_slabs) + record_property("scope_status", bound.status) + blocked = nonlinear_tube_bound( + cast(NonlinearInventoryEnclosure, ExactLogistic()), + result, + initial_error=0.0, + tube_radius=1e-14, + subdivisions=2, + ) + assert blocked.status == "reference_blocked" and blocked.error_upper is None + for altered, reason in ( + (replace(result, steps=()), "empty_trajectory_has_no_time_tube"), + ( + replace( + result, steps=(replace(result.steps[0], coefficients=np.zeros((4, 2))),) + ), + "trajectory_polynomial_shape_mismatch", + ), + ( + replace( + result, + steps=( + replace( + result.steps[0], + endpoint=replace(result.steps[0].endpoint, time_s=1.0), + ), + ), + ), + "trajectory_endpoint_mismatch", + ), + ): + invalid = nonlinear_tube_bound( + cast(NonlinearInventoryEnclosure, ExactLogistic()), + altered, + initial_error=0.0, + tube_radius=0.01, + ) + assert not invalid.tube_proved and invalid.error_upper is None + assert invalid.reason == reason diff --git a/tests/unit/solvers/time/test_radau_positive_enclosure.py b/tests/unit/solvers/time/test_radau_positive_enclosure.py new file mode 100644 index 00000000..53bc779e --- /dev/null +++ b/tests/unit/solvers/time/test_radau_positive_enclosure.py @@ -0,0 +1,271 @@ +"""Branch and positive-tube proofs on explicit polynomials; no time solves. + +Integration conditions: optional, unqualified reference infrastructure for +restricted declared E/I inputs and analytic unit fixtures only. Independence +is static-only: no BDF stepping, history, interpolation or accounting is used. +Retained failed attempts stay failures and qualification flags stay false. +Any future nonzero initial uncertainty must be expressed in the selected +weighted log norm; a numerical trajectory alone does not qualify a reference. +""" + +from __future__ import annotations + +from collections.abc import Callable, Iterator +from fractions import Fraction +from pathlib import Path +import runpy +from types import SimpleNamespace +from typing import Any, cast + +import numpy as np +import pytest +from threadpoolctl import threadpool_limits + +pytest.importorskip("flint") +from flint import arb, ctx, fmpq + +from solarlab.solvers.time.radau_enclosure import ( + NonlinearInventoryEnclosure, + PolynomialPath, + bernoulli_branch_enclosure, + positive_polynomial_tube, +) +import solarlab.solvers.time.radau_enclosure as source + + +@pytest.fixture(scope="module", autouse=True) +def one_thread() -> Iterator[None]: + before = ctx.threads + ctx.threads = 1 + with threadpool_limits(limits=1), ctx.workprec(192): + yield + ctx.threads = before + + +def q(value: float | int | Fraction) -> Any: + f = Fraction(value) + return arb(fmpq(f.numerator, f.denominator)) + + +@pytest.mark.parametrize("historical", [False, True]) +def test_bernoulli_switch_encloses_both_retained_branches(historical: bool) -> None: + limit = q(1e-8) + whole = (-2 * limit).union(2 * limit) + envelope = bernoulli_branch_enclosure(whole, historical=historical) + assert envelope.retained_error_upper > 0 + assert envelope.retained_error_upper < q(1e-32) + for multiplier in (-2, -1, -0.5, 0, 0.5, 1, 2): + x = limit * q(multiplier) + original = source._bernoulli(source._Jet(x), historical=historical).value + assert envelope.retained_value.contains(original) + assert envelope.analytic_derivative.contains(q(Fraction(-1, 2))) + + +def test_small_branch_error_is_nonzero_and_included() -> None: + x = q(1e-9) + envelope = bernoulli_branch_enclosure(x) + quadratic = 1 - x / 2 + x * x / 12 + difference = abs(quadratic - envelope.analytic_value) + assert difference > 0 + assert envelope.retained_error_upper >= difference.upper() + assert envelope.retained_value.contains(quadratic) + + +def test_historical_700_cutoff_is_included() -> None: + envelope = bernoulli_branch_enclosure(arb(699).union(arb(701)), historical=True) + assert envelope.retained_value.contains(0) + for x in (699, 700, 701): + actual = source._bernoulli(source._Jet(arb(x)), historical=True).value + assert envelope.retained_value.contains(actual) + assert envelope.retained_error_upper > 0 + + +def test_wide_zero_crossing_analytic_envelope() -> None: + value = bernoulli_branch_enclosure(arb(-5).union(arb(5))) + assert value.analytic_value.contains(1) + assert value.analytic_derivative.contains(q(Fraction(-1, 2))) + # Arb's union may round the radius outward; test containment, not inward + # equality with the exact mathematical range [-1, 0]. + assert value.analytic_derivative.contains(-1) + assert value.analytic_derivative.contains(0) + for x in (-4, 4): + assert value.analytic_value.contains(arb(x) / arb(x).expm1()) + slope = (arb(x).expm1() - x * arb(x).exp()) / arb(x).expm1() ** 2 + assert value.analytic_derivative.contains(slope) + + +class Oracle: + branch_aware = True + size = 1 + scale = np.ones(1) + + def __init__(self, *, constant: float | None = None, forcing_error: float = 0.0): + self.constant = constant + self.forcing_error = forcing_error + self.evaluations = 0 + self.positive = True + + def evaluate( + self, + left: Fraction, + right: Fraction, + inventories: tuple[Any, ...], + *, + derivatives: bool = True, + ) -> Any: + self.evaluations += 1 + z = inventories[0] + self.positive = self.positive and bool(z > 0) + f = -z * z if self.constant is None else q(self.constant) + jac = -2 * z if self.constant is None else arb(0) + return SimpleNamespace( + rhs=(f,), + scaled_jacobian=((jac,),) if derivatives else ((),), + coordinates=(z, z), + densities=(z,), + kernel_error_bound=(q(self.forcing_error),), + ) + + +def path(coefficients: list[float], end: float) -> PolynomialPath: + high = np.asarray(coefficients).reshape(1, 4, 1) + endpoint = float(sum((Fraction(x) for x in coefficients), Fraction(0))) + return PolynomialPath( + np.array([[0.0, end]]), + high, + np.zeros_like(high), + np.array([coefficients[0]]), + np.zeros(1), + np.array([coefficients[0]] * 2), + np.array([[endpoint] * 2]), + np.ones(1), + ) + + +def test_positive_tube_keeps_tiny_carriers_without_clipping() -> None: + tiny = 1e-30 + duration = 0.125 + data = path([tiny, tiny * duration, 0.0, 0.0], duration) + field = Oracle(constant=tiny) + result = positive_polynomial_tube( + cast(NonlinearInventoryEnclosure, field), + data, + initial_log_error=0.0, + log_radius=1e-6, + subdivisions=2, + ) + assert result.tube_proved and result.error_upper == 0.0 + assert result.log_error_upper == 0.0 and field.positive + assert not result.reference_qualified + + +def test_explicit_polynomial_logistic_bound_against_exact_solution( + record_property: Callable[[str, object], None], +) -> None: + T = 1 / 16 + data = path([1.0, -T, T * T, -(T**3)], T) + result = positive_polynomial_tube( + cast(NonlinearInventoryEnclosure, Oracle()), + data, + initial_log_error=0.0, + log_radius=0.02, + subdivisions=2, + ) + assert result.tube_proved and result.error_upper is not None + observed = Fraction(0) + for k in range(65): + t = Fraction(k, 64) * Fraction(T) + p = 1 - t + t * t - t**3 + observed = max(observed, abs(p - 1 / (1 + t))) + assert Fraction(result.error_upper) >= observed + record_property("polynomial_error_bound", result.error_upper) + record_property("observed_exact_polynomial_error", float(observed)) + record_property("log_error_bound", result.log_error_upper) + failed = positive_polynomial_tube( + cast(NonlinearInventoryEnclosure, Oracle()), + data, + initial_log_error=0.0, + log_radius=1e-12, + subdivisions=2, + ) + assert not failed.tube_proved and failed.error_upper is None + + +def test_retained_kernel_gap_is_propagated_as_positive_forcing() -> None: + duration = 0.125 + epsilon = 0.001 + data = path([1.0, 0.0, 0.0, 0.0], duration) + field = Oracle(constant=0.0, forcing_error=epsilon) + result = positive_polynomial_tube( + cast(NonlinearInventoryEnclosure, field), + data, + initial_log_error=0.0, + log_radius=0.01, + subdivisions=2, + ) + assert result.tube_proved and result.error_upper is not None + assert Fraction(result.error_upper) >= Fraction(epsilon) * Fraction(duration) + assert all( + row["retained_kernel_perturbation_upper"] >= epsilon for row in result.slabs + ) + + +def test_nonpositive_center_and_missing_kernel_error_are_refused() -> None: + data = path([1.0, -2.0, 0.0, 0.0], 1.0) + result = positive_polynomial_tube( + cast(NonlinearInventoryEnclosure, Oracle(constant=-2.0)), + data, + initial_log_error=0.0, + log_radius=0.01, + ) + assert ( + not result.tube_proved + and result.reason == "saved_polynomial_range_not_positive" + ) + field = Oracle(constant=0.0, forcing_error=-1.0) + result = positive_polynomial_tube( + cast(NonlinearInventoryEnclosure, field), + path([1.0, 0.0, 0.0, 0.0], 0.125), + initial_log_error=0.0, + log_radius=0.01, + ) + assert ( + not result.tube_proved + and result.reason == "missing_or_invalid_retained_kernel_error" + ) + + +def test_saved_reader_binds_inventories_and_retains_reconstructed_coordinates( + tmp_path: Path, +) -> None: + reader = runpy.run_path(str(Path(__file__).with_name("radau_enclose_saved.py"))) + grid = np.linspace(0.0, 1.0, 9) + initial_u = np.array([1.0, np.nextafter(1.0, 2.0)]) + high = np.tile(np.array([1.0, 0.0, 0.0, 0.0])[None, :, None], (8, 1, 1)) + history = tmp_path / "saved.npz" + np.savez_compressed( + history, + step_times=np.stack((grid[:-1], grid[1:]), axis=1), + coefficients_high=high, + coefficients_low=np.zeros_like(high), + initial_inventory_high=np.ones(1), + initial_inventory_low=np.zeros(1), + initial_u=initial_u, + endpoint_u=np.tile(initial_u, (8, 1)), + component_scale=np.ones(1), + ) + case = { + "initial_inventory_high": [1.0], + "initial_inventory_low": [0.0], + "component_scale": [1.0], + "initial": {"u": [1.0, 1.0]}, + "short_window_s": [0.0, 1.0], + } + data = reader["load_path"](history, case) + assert data.initial_u.tobytes() == initial_u.tobytes() + assert data.initial_high.tobytes() == np.ones(1).tobytes() + case["initial_inventory_high"] = [np.nextafter(1.0, 2.0)] + with pytest.raises(ValueError, match="saved_history_packet_mismatch"): + reader["load_path"](history, case) + with pytest.raises(ValueError, match="saved_source_hash_mismatch"): + reader["require_hash"](history, "0" * 64) diff --git a/tests/unit/solvers/time/test_radau_reference.py b/tests/unit/solvers/time/test_radau_reference.py new file mode 100644 index 00000000..23acfbb9 --- /dev/null +++ b/tests/unit/solvers/time/test_radau_reference.py @@ -0,0 +1,378 @@ +"""Unit-only independent Radau tests; no admission protocol or native campaign. + +Integration conditions: optional, unqualified reference infrastructure for +restricted declared E/I inputs and analytic unit fixtures only. Independence +is static-only: no BDF stepping, history, interpolation or accounting is used. +Retained failed attempts stay failures and qualification flags stay false. +Any future nonzero initial uncertainty must be expressed in the selected +weighted log norm; a numerical trajectory alone does not qualify a reference. +""" + +from __future__ import annotations + +import ast +from collections.abc import Callable, Iterator +from dataclasses import replace +from decimal import Decimal, localcontext +import inspect +import math +from pathlib import Path +import subprocess +import sys +from textwrap import dedent +from typing import TypeAlias + +import numpy as np +from numpy.typing import NDArray +import pytest +from scipy.sparse import csc_matrix +from threadpoolctl import threadpool_limits + +from examples.research_1d.ionic_multilayer import prepare_confined_ion_device +from examples.research_1d.steady import load_device +from solarlab.contracts.units import ONE +from solarlab.device.compile_1d import compile_device_1d +from solarlab.device.compile_ionic_1d import compile_ionic_device_1d +from solarlab.equations.assembly.assembler import AssembledSystem +from solarlab.equations.assembly.classical_1d import AssembledDC1DProblem +from solarlab.equations.assembly.ionic_1d import AssembledIonic1DProblem +from solarlab.equations.assembly.layout import Block, ConstraintRows, NodeSet, SystemLayout +from solarlab.equations.assembly.terms import OperatingInputs +import solarlab.solvers.time.radau_reference as module +from solarlab.solvers.time.radau_reference import ( + InventoryDAE, RadauControls, RadauCounters, RadauFailure, RadauTrajectory, + assembled_inventory_dae, integrate_radau, linear_tube_bound, +) + + +def test_optional_arb_modules_import_without_python_flint() -> None: + """Core imports stay usable; only an explicit Arb operation needs the extra.""" + source_root = Path(module.__file__).resolve().parents[3] + program = dedent( + """ + import importlib.abc + import sys + + class AbsentFlint(importlib.abc.MetaPathFinder): + def find_spec(self, fullname, path=None, target=None): + if fullname == "flint" or fullname.startswith("flint."): + raise ModuleNotFoundError("flint deliberately unavailable", name="flint") + return None + + sys.meta_path.insert(0, AbsentFlint()) + sys.path.insert(0, sys.argv[1]) + import solarlab + from solarlab.solvers.time import radau_reference, radau_enclosure, radau_split + + assert "flint" not in sys.modules + assert radau_reference.RadauControls().scaled_newton_tolerance == 1e-12 + parts = radau_split.SplitInventory([1.0], [0.0]) + for operation in (parts.values, lambda: radau_enclosure.bernoulli_branch_enclosure(0.0)): + try: + operation() + except ImportError as error: + assert "optional python-flint backend" in str(error) + assert "solarlab[arb]" in str(error) + else: + raise AssertionError("Arb operation did not report its missing dependency") + assert "flint" not in sys.modules + """ + ) + result = subprocess.run( + [sys.executable, "-I", "-B", "-c", program, str(source_root)], + capture_output=True, + text=True, + check=False, + ) + assert result.returncode == 0, result.stdout + result.stderr + +Vector: TypeAlias = NDArray[np.float64] +CONTROLS = RadauControls(scaled_newton_tolerance=2.0e-14) + + +@pytest.fixture(scope="module", autouse=True) +def blas_one() -> Iterator[None]: + with threadpool_limits(limits=1): + yield + + +def affine_dae(matrix: Vector, inventories: Vector, weights: Vector | None = None, + forcing: Vector | None = None, *, coordinate_shift_per_s: float = 0.0) -> tuple[InventoryDAE, Vector]: + """Exact affine inventory dynamics behind nonlinear log-density coordinates. + + Two algebraic rows mimic Poisson response and a time-varying reservoir: + a0=sum((j+1) z_j)+sin(t), a1=1+cos(t); z_j=W_j exp(u_j). + These constraints cannot be obtained by interpolating endpoint a values. + """ + n = inventories.size + W = np.ones(n) if weights is None else weights + b = np.zeros(n) if forcing is None else forcing + coupling = np.arange(1, n + 1, dtype=float) + layout = SystemLayout((NodeSet("algebraic", 2), NodeSet("cells", n)), + (Block("a", "algebraic", ONE, ONE), Block("log_density", "cells", ONE, ONE)), + (ConstraintRows("a", (0, 1), "algebraic.constraints", ONE),)) + + def evaluate(time_s: float, u: Vector) -> AssembledSystem: + with np.errstate(over="raise", invalid="raise"): + z = W * np.exp(u[2:] + coordinate_shift_per_s * time_s) + F = np.r_[u[0] - coupling @ z - math.sin(time_s), + u[1] - 1.0 - math.cos(time_s), matrix @ z + b] + J = np.zeros((n + 2, n + 2)) + J[0, 0], J[1, 1] = 1.0, 1.0 + J[0, 2:] = -coupling * z + J[2:, 2:] = matrix * z[None, :] + Su = np.zeros_like(J) + Su[2:, 2:] = np.diag(z) + return AssembledSystem(layout, True, F, F.copy(), csc_matrix(J), np.r_[np.zeros(2), z], csc_matrix(Su)) + + model = InventoryDAE(layout, evaluate, tuple(range(2, n + 2)), np.ones(n), np.ones(2)) + # Deliberately inconsistent algebraic seed; initial inventories remain fixed. + return model, np.r_[0.0, 0.0, np.log(inventories / W)] + + +def decay(time_s: float, rate: float = -2.0) -> float: + """Independent 80-digit analytic exponential, not a time integrator.""" + with localcontext() as context: + context.prec = 80 + return float((Decimal.from_float(rate) * Decimal.from_float(time_s)).exp()) + + +def trajectory(rate: float = -2.0, steps: int = 16) -> RadauTrajectory: + model, u = affine_dae(np.array([[rate]]), np.array([1.0]), np.array([2.0])) + return integrate_radau(model, u, np.linspace(0.0, 1.0, steps + 1), controls=CONTROLS) + + +@pytest.mark.parametrize("kind", ["rc", "diffusion"]) +def test_fifth_order_at_endpoints(kind: str, record_property: Callable[[str, object], None]) -> None: + if kind == "rc": + A, z0, weights = np.array([[-2.0]]), np.array([1.0]), np.array([2.0]) + exact = np.array([decay(1.0)]) + else: + # Two closed cells with unequal CV measures and one diffusive face. + # F=[g(n1-n0), -g(n1-n0)], eigenvalues 0 and -2 s^-1. + weights = np.array([0.25, 0.75]) + A = 0.375 * np.array([[-1 / weights[0], 1 / weights[1]], + [1 / weights[0], -1 / weights[1]]]) + z0 = np.array([0.5, 0.5]) + exact = weights + np.array([0.25, -0.25]) * decay(1.0) + errors = [] + for count in (4, 8, 16): + model, u = affine_dae(A, z0, weights) + result = integrate_radau(model, u, np.linspace(0, 1, count + 1), controls=CONTROLS) + errors.append(float(np.max(np.abs(result.steps[-1].endpoint.inventory - exact)))) + if kind == "diffusion": + assert all(abs(float(np.sum(step.endpoint.inventory)) - 1.0) < 3e-14 for step in result.steps) + orders = np.log2(np.asarray(errors[:-1]) / errors[1:]) + assert np.all((orders > 4.7) & (orders < 5.4)), (errors, orders) + record_property("radau_order", {"case": kind, "step_counts": [4, 8, 16], + "errors": errors, "observed_orders": orders.tolist()}) + + +def test_every_stage_and_output_reconstructs_constraints_and_inventories() -> None: + result = trajectory(steps=5) + history = [step.coefficients.tobytes() for step in result.steps] + stage_words = [[point.u.tobytes() for point in step.stages] for step in result.steps] + outputs = [0.0, 0.037, 0.11, 0.401, 0.713, 0.92, 1.0] + points = [point for step in result.steps for point in (*step.stages, step.endpoint)] + points += [result.sample(t) for t in outputs] + for point in points: + value = result.model.evaluate(point.time_s, point.u) + assert value.S is not None + np.testing.assert_allclose(value.F[:2], 0.0, atol=3e-14, rtol=0) + np.testing.assert_allclose(value.S[2:], point.inventory, atol=3e-14, rtol=0) + assert point.scaled_reconstruction_residual <= CONTROLS.scaled_newton_tolerance + assert all(np.max(np.abs(step.stage_residual)) <= CONTROLS.scaled_newton_tolerance for step in result.steps) + assert result.counters.output_reconstructions == len(outputs) + assert history == [step.coefficients.tobytes() for step in result.steps] + assert stage_words == [[point.u.tobytes() for point in step.stages] for step in result.steps] + with pytest.raises(ValueError): + result.steps[0].coefficients[0, 0] = 1.0 + assert not result.qualified + + +def test_elimination_jacobian_and_full_row_rate_mapping() -> None: + A = np.array([[-2.0, 0.5], [0.25, -1.0]]) + z = np.array([1.2, 0.7]) + shift = 0.4 + model, u = affine_dae(A, z, coordinate_shift_per_s=shift) + counters = RadauCounters() + point = model.reconstruct(0.2, z, u, CONTROLS, counters, derivatives=True) + np.testing.assert_allclose(point.rhs_jacobian, A, atol=3e-15, rtol=0) + for column in range(2): + delta = np.zeros(2) + delta[column] = 1e-5 + plus = model.reconstruct(0.2, z + delta, point.u, CONTROLS, counters).rhs + minus = model.reconstruct(0.2, z - delta, point.u, CONTROLS, counters).rhs + np.testing.assert_allclose((plus - minus) / (2e-5), A[:, column], atol=4e-11, rtol=0) + system = model.evaluate(0.2, point.u) + assert system.J is not None and system.S_u is not None + B = np.vstack((system.S_u[2:, :].toarray(), system.J[:2, :].toarray())) + # Voltage-referenced coordinates can give S explicit time dependence. + S_t = np.r_[np.zeros(2), shift * z] + g_t = np.array([-np.arange(1, 3) @ (shift * z) - math.cos(0.2), math.sin(0.2)]) + udot = np.linalg.solve(B, np.r_[point.rhs - S_t[2:], -g_t]) + np.testing.assert_allclose(system.S_u[2:, :] @ udot + S_t[2:], system.F[2:], atol=1e-15, rtol=0) + np.testing.assert_allclose(system.J[:2, :] @ udot + g_t, 0.0, atol=1e-15, rtol=0) + np.testing.assert_allclose(system.F - system.S_u @ udot - S_t, 0.0, atol=3e-14, rtol=0) + + +@pytest.mark.parametrize("rate", [-2.0, 0.0, 2.0]) +def test_exact_rational_tube_bounds_analytic_solution(rate: float, record_property: Callable[[str, object], None]) -> None: + result = trajectory(rate) + times = np.linspace(0, 1, 97).tolist() + certificate = linear_tube_bound(result, [[rate]], [1.0], component_scale=[1.0], + initial_radius=[0.0], tube_radius=0.01, + reference_budget=0.01, output_times_s=times) + actual = float(max(abs(result.sample(t).inventory[0] - decay(t, rate)) for t in times)) + assert actual <= certificate.scaled_error_upper + assert certificate.scaled_error_upper < 0.01 + assert certificate.tube_validated and certificate.within_budget + assert certificate.log_norm_upper == rate + assert certificate.full_state_reconstruction_bound is None + assert not certificate.reference_qualified + record_property("radau_tube", {"rate": rate, "sampled_exact_error": actual, + "whole_interval_error_upper": certificate.scaled_error_upper, + "max_defect_upper": max(certificate.defect_upper), + "tube_validated": certificate.tube_validated, + "inventory_budget_met": certificate.within_budget, + "device_reference_qualified": False}) + + +def test_loose_or_unproved_device_bound_never_qualifies() -> None: + result = trajectory() + args = dict(component_scale=[1.0], initial_radius=[0.0]) + loose = linear_tube_bound(result, [[-2.0]], [1.0], tube_radius=0.01, reference_budget=1e-15, **args) + outside = linear_tube_bound(result, [[-2.0]], [1.0], tube_radius=1e-15, reference_budget=0.01, **args) + assert loose.tube_validated and not loose.within_budget and loose.status == "reference_budget_exceeded" + assert not outside.tube_validated and not outside.within_budget and outside.status == "tube_radius_exceeded" + assert not loose.reference_qualified and loose.full_state_reconstruction_bound is None + with pytest.raises(ValueError, match="invalid_affine_data"): + linear_tube_bound(result, [[float("nan")]], [1.0], tube_radius=1, reference_budget=1, **args) + + +def test_initial_uncertainty_scaling_and_stored_polynomial_jump_are_carried() -> None: + result = trajectory() + uncertain = linear_tube_bound(result, [[-2.0]], [1.0], component_scale=[1.0], initial_radius=[1e-4], + tube_radius=0.01, reference_budget=0.01) + scaled = linear_tube_bound(result, [[-2.0]], [1.0], component_scale=[10.0], initial_radius=[1e-4], + tube_radius=0.01, reference_budget=0.01) + assert uncertain.scaled_error_upper >= 1e-4 + assert scaled.scaled_error_upper == pytest.approx(uncertain.scaled_error_upper / 10, rel=3e-15) + p = result.steps[3].coefficients.copy() + p[0, 0] += 1e-3 + changed = replace(result.steps[3], coefficients=p) + shifted = replace(result, steps=result.steps[:3] + (changed,) + result.steps[4:]) + jump = linear_tube_bound(shifted, [[-2.0]], [1.0], component_scale=[1.0], initial_radius=[0.0], + tube_radius=0.01, reference_budget=0.01) + assert jump.interval_error_upper[3] >= 1e-3 + + +@pytest.mark.parametrize("ionic", [False, True]) +def test_public_assembled_E_I_partition_and_reconstruction(ionic: bool) -> None: + # 13 electronic / 5 ionic nodes, never the 37/73-node admission runs. + if ionic: + device = compile_ionic_device_1d(prepare_confined_ion_device(), intervals_per_layer=(4, 4, 4), + ion_domain_layer="absorber", ion_domain_endpoints=("blocking", "blocking")) + problem: AssembledDC1DProblem | AssembledIonic1DProblem = AssembledIonic1DProblem(device) + u = device.initial_state().u + else: + electronic = compile_device_1d(load_device(), intervals_per_layer=(4, 4, 4)) + problem = AssembledDC1DProblem(electronic) + left, right = electronic.contact_potentials(0.0) + position = (electronic.nodes_m - electronic.nodes_m[0]) / electronic.geometry.extent_m + u = np.r_[left + (right - left) * position, np.zeros(2 * electronic.node_count)] + layout = problem.binding.layout + raw = problem.assemble(u, storage=True) + mask = layout.constraint_mask() + mask[layout.rows("potential")] = True + rows = np.flatnonzero(~mask) + assert raw.S is not None + scale = np.maximum(np.abs(raw.S[rows]), 1.0) # Numerical row scaling, particles/m2. + model = assembled_inventory_dae(problem, lambda t: OperatingInputs(1e-5 * t, 0.0), + inventory_scale=scale, algebraic_scale=np.ones(np.count_nonzero(mask))) + assert model.differential_rows == tuple(rows) + assert len(model.algebraic_rows) == 13 + 4 + if ionic: + assert len(model.differential_rows) == 2 * 11 + 5 + assert all(row in model.differential_rows for row in range(39, 44)) + assert model.inventory_capacity is not None + np.testing.assert_array_equal(model.inventory_capacity[-5:], + device.ion_geometry.cell_measures_m * device.positive_ion_site_limit_m3) + counters = RadauCounters() + copied = model.assembled(0.0, u, counters) + for name in ("F", "S"): + assert getattr(raw, name).tobytes() == getattr(copied, name).tobytes() + for name in ("J", "S_u"): + first, second = getattr(raw, name), getattr(copied, name) + assert (first.data.tobytes(), first.indices.tobytes(), first.indptr.tobytes()) == \ + (second.data.tobytes(), second.indices.tobytes(), second.indptr.tobytes()) + controls = RadauControls(scaled_newton_tolerance=2e-12) + point = model.reconstruct(0.0, raw.S[rows], u, controls, counters) + moved = model.reconstruct(1.0, point.inventory, point.u, controls, counters) + assert moved.scaled_reconstruction_residual <= controls.scaled_newton_tolerance + assert np.max(np.abs(moved.inventory_residual / scale)) <= controls.scaled_newton_tolerance + assert np.max(np.abs(moved.algebraic_residual)) <= controls.scaled_newton_tolerance + + +def test_failed_step_retains_prefix_and_original_cause() -> None: + model, u = affine_dae(np.array([[-2.0]]), np.array([1.0])) + original = model.evaluate + + def stopped(time_s: float, value: Vector) -> AssembledSystem: + if time_s > 0.5: + raise FloatingPointError("deliberate_unit_failure") + return original(time_s, value) + + with pytest.raises(RadauFailure) as caught: + integrate_radau(replace(model, evaluate=stopped), u, [0.0, 0.25, 0.5, 0.75], controls=CONTROLS) + assert caught.value.failed_step == 2 + assert len(caught.value.completed_steps) == 2 + assert caught.value.__cause__ is not None + assert str(caught.value.__cause__) == "deliberate_unit_failure" + + +def test_segment_bridge_holds_inventories_when_the_coordinate_reference_changes() -> None: + A = np.array([[-2.0]]) + model, u = affine_dae(A, np.array([1.0])) + left = integrate_radau(model, u, [0.0, 0.25, 0.5], controls=CONTROLS) + held = left.steps[-1].endpoint.inventory + after, _ = affine_dae(A, held, coordinate_shift_per_s=1.0) + right = integrate_radau(after, left.steps[-1].endpoint.u, [0.5, 0.75, 1.0], + controls=CONTROLS, initial_inventory=held) + assert right.initial.inventory.tobytes() == held.tobytes() + assert right.initial.scaled_reconstruction_residual <= CONTROLS.scaled_newton_tolerance + np.testing.assert_allclose(right.initial.u[2:], left.steps[-1].endpoint.u[2:] - 0.5, + atol=3e-14, rtol=0) + assert not right.qualified # No terminal impulse or event certificate is implied. + + +def test_no_time_route_imports_and_finite_work_controls() -> None: + tree = ast.parse(inspect.getsource(module)) + imported = [node.module or "" for node in ast.walk(tree) if isinstance(node, ast.ImportFrom)] + assert not any(name.startswith("solarlab.solvers") for name in imported) + assert not any("bdf" in name or "backward_euler" in name for name in imported) + model, u = affine_dae(np.array([[-2.0]]), np.array([1.0])) + with pytest.raises(ValueError, match="increasing_grid"): + integrate_radau(model, u, [0, 0]) + with pytest.raises(ValueError, match="step_cap"): + integrate_radau(model, u, [0, 0.5, 1], controls=RadauControls(max_steps=1)) + with pytest.raises(ValueError, match="positive_row_scales"): + replace(model, inventory_scale=np.zeros(1)) + assert np.all(u == np.r_[0.0, 0.0, 0.0]) + + +@pytest.mark.parametrize("target", [-1e-100, 0.0, 1.0, np.nextafter(1.0, np.inf)]) +def test_newton_tolerance_cannot_bypass_physical_inventory_domain(target: float) -> None: + model, u = affine_dae(np.array([[-2.0]]), np.array([0.5])) + bounded = replace(model, inventory_capacity=np.ones(1)) + counters = RadauCounters() + with pytest.raises(FloatingPointError, match="inventory_outside_physical_domain"): + bounded.reconstruct(0.0, [target], u, CONTROLS, counters) + assert counters.assembly_evaluations == 0 + + +def test_collapsed_stage_clocks_are_refused_with_retained_failure() -> None: + model, u = affine_dae(np.array([[-2.0]]), np.array([1.0])) + with pytest.raises(RadauFailure, match="stage_clock_resolution") as caught: + integrate_radau(model, u, [1e16, np.nextafter(1e16, np.inf)], controls=CONTROLS) + assert caught.value.failed_step == 0 and not caught.value.completed_steps diff --git a/tests/unit/solvers/time/test_radau_split.py b/tests/unit/solvers/time/test_radau_split.py new file mode 100644 index 00000000..4b624bcb --- /dev/null +++ b/tests/unit/solvers/time/test_radau_split.py @@ -0,0 +1,287 @@ +"""Split-reference arithmetic and retained constraints; no device time runs. + +Integration conditions: optional, unqualified reference infrastructure for +restricted declared E/I inputs and analytic unit fixtures only. Independence +is static-only: no BDF stepping, history, interpolation or accounting is used. +Retained failed attempts stay failures and qualification flags stay false. +Any future nonzero initial uncertainty must be expressed in the selected +weighted log norm; a numerical trajectory alone does not qualify a reference. +""" + +from __future__ import annotations + +import ast +from collections.abc import Callable, Iterator +from fractions import Fraction +import inspect +from types import SimpleNamespace +from typing import Any, cast + +import numpy as np +import pytest +from scipy.sparse import csc_matrix +from threadpoolctl import threadpool_limits + +pytest.importorskip("flint") +from flint import arb, ctx, fmpq + +from solarlab.contracts.units import ONE +from solarlab.equations.assembly.assembler import AssembledSystem +from solarlab.equations.assembly.layout import Block, NodeSet, SystemLayout +from solarlab.solvers.time.radau_enclosure import ( + EnclosureBlocked, + NonlinearInventoryEnclosure, +) +import solarlab.solvers.time.radau_enclosure as enclosure_source +from solarlab.solvers.time.radau_reference import ( + InventoryDAE, + RadauControls, + RadauFailure, + integrate_radau, +) +import solarlab.solvers.time.radau_reference as stage1 +from solarlab.solvers.time.radau_split import ( + SplitInventory, + SplitRadauFailure, + SplitRadauModel, + integrate_split_radau, +) +import solarlab.solvers.time.radau_split as split + + +@pytest.fixture(scope="module", autouse=True) +def one_thread() -> Iterator[None]: + old = ctx.threads + ctx.threads = 1 + with threadpool_limits(limits=1), ctx.workprec(192): + yield + ctx.threads = old + + +def q(value: float | int | Fraction) -> Any: + f = Fraction(value) + return arb(fmpq(f.numerator, f.denominator)) + + +class AffineEnclosure: + size = 1 + scale = np.ones(1) + + def __init__(self, rate: float, source: float, reference: float): + self.rate, self.source, self.reference = rate, source, reference + self.evaluations = 0 + self.fail_after: Fraction | None = None + + def evaluate( + self, + left: Fraction, + right: Fraction, + inventories: tuple[Any, ...], + *, + derivatives: bool = True, + ) -> Any: + self.evaluations += 1 + if self.fail_after is not None and right > self.fail_after: + raise EnclosureBlocked("test_enclosure_stopped") + z = inventories[0] + return SimpleNamespace( + rhs=(q(self.rate) * (z - q(self.reference)) + q(self.source),), + scaled_jacobian=((q(self.rate),),) if derivatives else ((),), + coordinates=(z, z), + densities=(z,), + ) + + +def model(rate: float, source: float = 0.0, reference: float = 0.0) -> SplitRadauModel: + layout = SystemLayout( + (NodeSet("one", 1),), + (Block("constraint", "one", ONE, ONE), Block("inventory", "one", ONE, ONE)), + ) + + def evaluate(time_s: float, u: Any) -> AssembledSystem: + F = np.array([u[0] - u[1], rate * (u[1] - reference) + source]) + return AssembledSystem( + layout, + True, + F, + F.copy(), + csc_matrix([[1.0, -1.0], [0.0, rate]]), + np.array([0.0, u[1]]), + csc_matrix([[0.0, 0.0], [0.0, 1.0]]), + ) + + static = InventoryDAE(layout, evaluate, (1,), np.ones(1), np.ones(1)) + return SplitRadauModel( + static, + cast(NonlinearInventoryEnclosure, AffineEnclosure(rate, source, reference)), + ) + + +def test_original_tableau_and_controls_are_unchanged() -> None: + for name in ("_A", "_C", "_BASIS"): + assert getattr(split, name).tobytes() == getattr(stage1, name).tobytes() + assert RadauControls().scaled_newton_tolerance == 1e-12 + + +def test_split_reference_and_scaled_departure_preserve_subulp_words() -> None: + high, low = np.ones(1), np.array([2.0**-60]) + parts = SplitInventory(high, low) + high[0], low[0] = 2.0, 0.0 + assert not parts.high.flags.writeable and not parts.low.flags.writeable + assert parts.values()[0].contains(q(Fraction(1) + Fraction(1, 2**60))) + shifted = parts.shifted(np.array([2.0**-80]), np.ones(1))[0] + assert shifted.contains(q(Fraction(1) + Fraction(1, 2**60) + Fraction(1, 2**80))) + assert not shifted.contains(parts.values()[0]) + encoded, error = SplitInventory.from_values((shifted,)) + assert error[0] == 0 and encoded.values()[0].contains(shifted) + + +def test_stiff_subulp_update_completes_without_relaxing_tolerance( + record_property: Callable[[str, object], None], +) -> None: + bound_model = model(-1e12, 1e-5, 1.0) + grid = np.linspace(0.0, 0.1, 5) + with pytest.raises(RadauFailure, match="radau_stage_line_search"): + integrate_radau(bound_model.static, [1.0, 1.0], grid) + result = integrate_split_radau(bound_model, [1.0, 1.0], grid) + assert len(result.steps) == 4 and not result.qualified + assert result.steps[-1].endpoint.inventory.high[0] == 1.0 + assert result.steps[-1].endpoint.inventory.low[0] > 0.0 + assert result.counters.changed_departures_with_unchanged_high_word > 0 + maximum = max(s.scaled_stage_residual_upper for s in result.steps) + assert maximum <= RadauControls().scaled_newton_tolerance + for point in ( + result.initial, + *(p for s in result.steps for p in (*s.stages, s.endpoint)), + *(result.sample(float(t)) for t in np.linspace(0.0, 0.1, 9)), + ): + assert np.array_equal(point.algebraic_residual, np.zeros(1)) + assert ( + point.scaled_reconstruction_residual + <= RadauControls().scaled_newton_tolerance + ) + record_property("max_scaled_stage_residual", maximum) + record_property( + "endpoint_inventory_high", result.steps[-1].endpoint.inventory.high[0] + ) + record_property( + "endpoint_inventory_low", result.steps[-1].endpoint.inventory.low[0] + ) + record_property( + "updates_lost_by_unsplit_high_word", + result.counters.changed_departures_with_unchanged_high_word, + ) + + +def test_split_endpoint_order_and_bound_against_exact_RC( + record_property: Callable[[str, object], None], +) -> None: + errors, trajectories = [], [] + for count in (4, 8, 16): + trajectory = integrate_split_radau( + model(-2.0), [1.0, 1.0], np.linspace(0.0, 1.0, count + 1) + ) + trajectories.append(trajectory) + errors.append( + float(abs(trajectory.steps[-1].polynomial(1.0)[0] - q(-2).exp()).mid()) + ) + orders = np.log2(np.array(errors[:-1]) / errors[1:]) + assert np.all((orders > 4.8) & (orders < 5.2)) + finest = trajectories[-1] + proof = finest.bound(initial_error=0.0, tube_radius=0.1, subdivisions=2) + assert ( + proof.tube_proved + and proof.error_upper is not None + and not proof.reference_qualified + ) + observed = arb(0) + for t in np.linspace(0.0, 1.0, 65): + step = next(s for s in finest.steps if s.left_s <= t <= s.right_s) + error = abs(step.polynomial(float(t))[0] - (q(-2) * q(float(t))).exp()) + observed = observed.union(error) + assert q(proof.error_upper) >= observed.upper() + record_property("endpoint_errors", errors) + record_property("endpoint_orders", orders.tolist()) + record_property("polynomial_error_bound", proof.error_upper) + record_property("observed_polynomial_error_upper", split._upper(observed.upper())) + + +def test_low_polynomial_word_and_initial_word_are_used_in_tube_proof() -> None: + parts = SplitInventory(np.ones(1), np.array([2.0**-80])) + trajectory = integrate_split_radau( + model(0.0), [1.0, 1.0], [0.0, 0.1], initial_inventory=parts + ) + assert trajectory.steps[0].coefficients_low[0, 0] == 2.0**-80 + bound = trajectory.bound(initial_error=0.0, tube_radius=0.01) + assert bound.tube_proved and bound.error_upper == 0.0 + assert bound.reconstruction_error_upper[0] >= 2.0**-80 + high = np.zeros((4, 1)) + high[0, 0] = 1.0 + low = np.zeros((4, 1)) + low[0, 0] = 2.0**-80 + low[3, 0] = 2.0**-100 + value = enclosure_source._polynomial_range( + high, Fraction(1), Fraction(1), correction=low + )[0] + derivative = enclosure_source._polynomial_range( + high, Fraction(1), Fraction(1), derivative=True, correction=low + )[0] + assert value.contains(q(Fraction(1) + Fraction(1, 2**80) + Fraction(1, 2**100))) + assert derivative.contains(q(Fraction(3, 2**100))) + + +def test_failure_keeps_exact_start_departures_and_completed_prefix() -> None: + bound_model = model(-2.0) + cast(AffineEnclosure, bound_model.enclosure).fail_after = Fraction(1, 16) + with pytest.raises(SplitRadauFailure) as info: + integrate_split_radau(bound_model, [1.0, 1.0], [0.0, 0.0625, 0.125]) + error = info.value + assert error.failed_step == 1 and len(error.completed_steps) == 1 + assert ( + error.step_start.high.tobytes() + == error.completed_steps[0].endpoint.inventory.high.tobytes() + ) + assert ( + error.step_start.low.tobytes() + == error.completed_steps[0].endpoint.inventory.low.tobytes() + ) + assert error.trial_departures is not None + assert not error.trial_departures.flags.writeable and error.counters is not None + + +def test_budget_stop_keeps_prefix_without_inventing_a_trial() -> None: + bound_model = model(-2.0) + original = bound_model.enclosure.evaluate + + def expired( + left: Fraction, + right: Fraction, + inventories: tuple[Any, ...], + *, + derivatives: bool = True, + ) -> Any: + if right > Fraction(1, 16): + raise TimeoutError("test deadline") + return original(left, right, inventories, derivatives=derivatives) + + bound_model.enclosure.evaluate = expired # type: ignore[method-assign] + with pytest.raises(SplitRadauFailure) as info: + integrate_split_radau(bound_model, [1.0, 1.0], [0.0, 0.0625, 0.125]) + assert info.value.code == "radau_split_budget_exhausted" + assert info.value.failed_step == 1 and len(info.value.completed_steps) == 1 + assert info.value.trial_departures is None + + +def test_split_route_has_no_BDF_BE_or_storage_increment_calls() -> None: + tree = ast.parse(inspect.getsource(split)) + for node in ast.walk(tree): + if isinstance(node, ast.ImportFrom): + assert "bdf" not in (node.module or "") and "backward_euler" not in ( + node.module or "" + ) + if isinstance(node, ast.Attribute): + assert node.attr not in { + "increment", + "storage_increment", + "finite_site_secant_m3", + } diff --git a/tests/unit/solvers/time/test_radau_weighted_enclosure.py b/tests/unit/solvers/time/test_radau_weighted_enclosure.py new file mode 100644 index 00000000..0f35816a --- /dev/null +++ b/tests/unit/solvers/time/test_radau_weighted_enclosure.py @@ -0,0 +1,163 @@ +"""Verified diagonal norms on explicit interval matrices; no time solves. + +Integration conditions: optional, unqualified reference infrastructure for +restricted declared E/I inputs and analytic unit fixtures only. Independence +is static-only: no BDF stepping, history, interpolation or accounting is used. +Retained failed attempts stay failures and qualification flags stay false. +Any future nonzero initial uncertainty must be expressed in the selected +weighted log norm; a numerical trajectory alone does not qualify a reference. +""" + +from __future__ import annotations + +from collections.abc import Iterator +from fractions import Fraction +from types import SimpleNamespace +from typing import Any, cast + +import numpy as np +import pytest +from threadpoolctl import threadpool_limits + +pytest.importorskip("flint") +from flint import arb, ctx, fmpq + +from solarlab.solvers.time.radau_enclosure import ( + NonlinearInventoryEnclosure, + PolynomialPath, + weighted_logarithmic_norm_upper, + weighted_positive_polynomial_tube, +) + + +@pytest.fixture(scope="module", autouse=True) +def one_thread() -> Iterator[None]: + previous = ctx.threads + ctx.threads = 1 + with threadpool_limits(limits=1), ctx.workprec(192): + yield + ctx.threads = previous + + +def q(value: float | int) -> Any: + f = Fraction(value) + return arb(fmpq(f.numerator, f.denominator)) + + +def test_diagonal_scaling_of_known_metzler_matrix() -> None: + matrix = ((arb(-4), arb(16)), (q(0.25), arb(-4))) + assert weighted_logarithmic_norm_upper(matrix, [1.0, 1.0]) >= 12 + # D=diag(1,8) gives row sums -2 exactly and the leading eigenvalue is -2. + bound = weighted_logarithmic_norm_upper(matrix, [1.0, 0.125]) + assert -2 <= bound < -1.999999999999 + + +def test_interval_norm_covers_unsampled_matrix_values() -> None: + matrix = ( + (arb(-2), arb(0).union(arb(300))), + (arb(0).union(q(0.03)), arb(-2)), + ) + weights = [1.0, 0.01] + bound = weighted_logarithmic_norm_upper(matrix, weights) + assert bound >= 1 + for upper, lower in ((0.0, 0.0), (150.0, 0.015), (300.0, 0.03)): + actual = weighted_logarithmic_norm_upper( + ((arb(-2), q(upper)), (q(lower), arb(-2))), weights + ) + assert bound >= actual + sampled_center = weighted_logarithmic_norm_upper( + ((arb(-2), arb(150)), (q(0.015), arb(-2))), weights + ) + assert sampled_center < 0 # A point-only certificate would be misleading. + + +@pytest.mark.parametrize("weights", [[0.0, 1.0], [-1.0, 1.0], [np.nan, 1.0], [1.0]]) +def test_invalid_diagonal_weights_are_refused(weights: list[float]) -> None: + with pytest.raises(ValueError, match="invalid_diagonal_norm_inputs"): + weighted_logarithmic_norm_upper(((arb(1), arb(0)), (arb(0), arb(1))), weights) + + +class LinearField: + """G(z)=A(z-1); constant polynomial z=1 is the exact solution.""" + + branch_aware = True + scale = np.ones(2) + size = 2 + + def __init__(self, diagonal: float): + self.matrix = ((q(diagonal), arb(16)), (q(0.25), q(diagonal))) + self.evaluations = 0 + + def evaluate( + self, + left: Fraction, + right: Fraction, + inventories: tuple[Any, ...], + *, + derivatives: bool = True, + ) -> Any: + self.evaluations += 1 + return SimpleNamespace( + rhs=tuple( + sum((a * (z - 1) for a, z in zip(row, inventories)), arb(0)) + for row in self.matrix + ), + scaled_jacobian=self.matrix if derivatives else ((), ()), + coordinates=inventories, + densities=inventories, + kernel_error_bound=(arb(0), arb(0)), + ) + + +def constant_path(end: float) -> PolynomialPath: + coefficients = np.zeros((1, 4, 2)) + coefficients[0, 0] = 1.0 + return PolynomialPath( + np.array([[0.0, end]]), + coefficients, + np.zeros_like(coefficients), + np.ones(2), + np.zeros(2), + np.ones(2), + np.ones((1, 2)), + np.ones(2), + ) + + +def test_verified_weight_selection_enables_full_positive_tube() -> None: + result = weighted_positive_polynomial_tube( + cast(NonlinearInventoryEnclosure, LinearField(-4.0)), + constant_path(16.0), + initial_log_error=0.0, + log_radius=1e-6, + ) + uniform = next(c for c in result.candidates if c["candidate"] == "uniform") + assert uniform["worst_exponent_upper"] > 50 + assert result.enclosed_slabs == 2 + assert result.best_exponent_upper is not None and result.best_exponent_upper < 0 + assert max(result.selected_weights) == 1 and min(result.selected_weights) > 0 + assert result.tube_bound is not None and result.tube_bound.tube_proved + assert result.tube_bound.error_upper == 0.0 + assert not result.reference_qualified + assert not result.comparison_matrices.flags.writeable + + +def test_diagonal_scaling_does_not_bypass_propagation_cap() -> None: + field = LinearField(1.0) + result = weighted_positive_polynomial_tube( + cast(NonlinearInventoryEnclosure, field), + constant_path(40.0), + initial_log_error=0.0, + log_radius=1e-6, + ) + assert result.best_exponent_upper is not None and result.best_exponent_upper > 50 + assert result.reason == "weighted_log_norm_propagation_exponent_exceeds_50" + assert result.tube_bound is None and field.evaluations == 2 + selected = next( + c for c in result.candidates if c["candidate"] == result.selected_candidate + ) + assert selected["global_comparison_abscissa_lower"] > 2.9 + assert ( + selected["global_comparison_abscissa_upper"] + >= selected["global_comparison_abscissa_lower"] + ) diff --git a/tests/unit/solvers/time/test_transient_density_seed.py b/tests/unit/solvers/time/test_transient_density_seed.py new file mode 100644 index 00000000..4cda16ed --- /dev/null +++ b/tests/unit/solvers/time/test_transient_density_seed.py @@ -0,0 +1,83 @@ +"""Closed-form physical mass roots for the unwired transient seed proposal.""" + +from dataclasses import dataclass + +import numpy as np +import pytest +from scipy.sparse import diags + +from solarlab.solvers.time.carrier_seed import transient_density_basin_seed + + +@dataclass(frozen=True) +class DensityDevice: + node_count: int = 2 + + def fields(self, u, *, voltage_V=0.0): + n = self.node_count + return u[:n], np.exp(u[n:2 * n]), np.exp(-u[2 * n:]) + + +@dataclass(frozen=True) +class PhysicalMassStep: + device: DensityDevice + old: np.ndarray + older: np.ndarray + coefficients: np.ndarray + dt: float + generation: np.ndarray + phi: np.ndarray + + def residual(self, u): + phi, n, p = self.device.fields(u) + populations = np.stack((n, p)) + rate = (self.coefficients[0] * populations + self.coefficients[1] * self.old + + self.coefficients[2] * self.older) / self.dt + return np.r_[phi - self.phi, (self.generation - rate).ravel()] + + def jacobian(self, u): + _, n, p = self.device.fields(u) + return diags(np.r_[np.ones(self.device.node_count), + -self.coefficients[0] * n / self.dt, + self.coefficients[0] * p / self.dt], format="csc") + + +def problem(order, dt=1e-7, generation=1.0): + device = DensityDevice() + old = np.array([[1e-20, 2e-18], [4e-21, 5e-19]]) + older = .5 * old + phi = np.array([-.1, .2]) + u = np.r_[phi, np.log(old[0]), -np.log(old[1])] + coefficients = np.array([1.0, -1.0, 0.0]) if order == 1 else np.array([1.5, -2.0, .5]) + return PhysicalMassStep(device, old, older, coefficients, dt, + generation * np.array([2e7, 1e6]), phi), u + + +@pytest.mark.parametrize("order", [1, 2]) +@pytest.mark.parametrize("dt", [1e-7, 2.5e-8]) +def test_seed_uses_complete_BE_or_BDF2_mass_and_preserves_phi_and_old_history(order, dt): + target, u = problem(order, dt) + before = u.tobytes(), target.old.tobytes(), target.older.tobytes() + seed = transient_density_basin_seed(target, u, device=target.device, voltage_V=0.0) + phi, n, p = target.device.fields(seed) + expected = (dt * target.generation - target.coefficients[1] * target.old + - target.coefficients[2] * target.older) / target.coefficients[0] + np.testing.assert_allclose(np.stack((n, p)), expected, rtol=64 * np.finfo(float).eps, atol=0.0) + assert phi.tobytes() == u[:target.device.node_count].tobytes() + assert before == (u.tobytes(), target.old.tobytes(), target.older.tobytes()) + assert np.max(abs(target.residual(seed)[target.device.node_count:])) <= ( + 64 * np.finfo(float).eps * np.max(abs(target.generation))) + + +def test_nonpositive_density_candidate_is_rejected_without_clipping_or_fallback(): + target, u = problem(1, generation=-1.0) + before = u.tobytes() + with pytest.raises(ValueError, match="finite positive carriers"): + transient_density_basin_seed(target, u, device=target.device, voltage_V=0.0) + assert u.tobytes() == before + + +def test_non_electronic_state_shape_is_rejected(): + target, u = problem(1) + with pytest.raises(ValueError, match="electronic 3N"): + transient_density_basin_seed(target, np.r_[u, 0.0], device=target.device, voltage_V=0.0) diff --git a/uv.lock b/uv.lock new file mode 100644 index 00000000..a98ba49d --- /dev/null +++ b/uv.lock @@ -0,0 +1,3867 @@ +version = 1 +revision = 3 +requires-python = ">=3.11" +resolution-markers = [ + "python_full_version == '3.14.*'", + "python_full_version >= '3.12' and python_full_version < '3.14'", + "python_full_version < '3.12'", +] +supported-markers = [ + "python_full_version < '3.15'", +] + +[options] +exclude-newer = "2026-10-05T08:33:47Z" + +[manifest] +constraints = [ + { name = "annotated-doc", specifier = "==0.0.5" }, + { name = "annotated-types", specifier = "==0.8.0" }, + { name = "anyio", specifier = "==4.15.1" }, + { name = "certifi", specifier = "==2026.7.22" }, + { name = "click", specifier = "==8.5.0" }, + { name = "contourpy", marker = "python_full_version >= '3.12'", specifier = "==1.4.0" }, + { name = "coverage", specifier = "==7.16.0" }, + { name = "cycler", specifier = "==0.12.1" }, + { name = "fonttools", specifier = "==4.65.0" }, + { name = "h11", specifier = "==0.16.0" }, + { name = "httpcore", specifier = "==1.0.9" }, + { name = "idna", specifier = "==3.19" }, + { name = "iniconfig", specifier = "==2.3.0" }, + { name = "kiwisolver", specifier = "==1.5.1" }, + { name = "packaging", specifier = "==26.3" }, + { name = "pillow", specifier = "==12.3.0" }, + { name = "pluggy", specifier = "==1.6.0" }, + { name = "pydantic-core", specifier = "==2.46.5" }, + { name = "pygments", specifier = "==2.21.0" }, + { name = "pyparsing", specifier = "==3.3.2" }, + { name = "python-dateutil", specifier = "==2.9.0.post0" }, + { name = "six", specifier = "==1.17.0" }, + { name = "starlette", specifier = "==1.6.0" }, + { name = "typing-extensions", specifier = "==4.16.0" }, + { name = "typing-inspection", specifier = "==0.4.4" }, +] + +[[package]] +name = "amqp" +version = "5.4.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "vine" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/b2/a7/787f067b237d4b3bfefa8d67ead64a7d807feafe85ad516afb284fb1587f/amqp-5.4.0.tar.gz", hash = "sha256:aaa33987dcb6a7893955d3b4f537c5d4755addce1009929e63e5d18c1b51a0a7", size = 131733, upload-time = "2026-09-19T08:39:40.147Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/07/99/6b965aa99a32630c1c61ce57c9dcf81cec6fec354274a87f14525302b7f7/amqp-5.4.0-py3-none-any.whl", hash = "sha256:5d931d8442a403b6d4a5725a868a55edaa40734eae37d282b16be9fa710bd8ee", size = 51856, upload-time = "2026-09-19T08:39:38.404Z" }, +] + +[[package]] +name = "annotated-doc" +version = "0.0.5" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/5a/8e/38aa427ed5402449e226975b649c5dc73ccadfefeb95e6aecb8f8ea4b6b6/annotated_doc-0.0.5.tar.gz", hash = "sha256:c7e58ce09192557605d8bbd92836d7e1d520ac9580096042c0bfd197efacf1bb", size = 10758, upload-time = "2026-07-28T13:50:58.129Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/3e/30/e900b21425a860e195f32e37657aa1f7c7f2b1bfb26f03ca209b90933c06/annotated_doc-0.0.5-py3-none-any.whl", hash = "sha256:117bac03a25ede5df5440e855b32d556049ca169ead221505badf432fed4b101", size = 5302, upload-time = "2026-07-28T13:50:57.239Z" }, +] + +[[package]] +name = "annotated-types" +version = "0.8.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/5f/56/a8120250d128bed162cd73c76d45f6ef9991f3e068f62a8ee060afa3104a/annotated_types-0.8.0.tar.gz", hash = "sha256:13b2beaad985e05e2d6407ee4c4f35590b11f8d693a258a561055cac8f64cab7", size = 15893, upload-time = "2026-07-23T20:16:13.995Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/99/91/8acff4f5e50511b911bbccb72b8628a49c68ce14148cd9f6431094859a90/annotated_types-0.8.0-py3-none-any.whl", hash = "sha256:f072f4d804ea359e4eaf198b1af7a8b0943881a87f31bb764f8bf219bb9419e0", size = 13427, upload-time = "2026-07-23T20:16:12.938Z" }, +] + +[[package]] +name = "anyio" +version = "4.15.1" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "idna" }, + { name = "typing-extensions" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/a9/d2/f4d173e22df740bc37b1db102b386ba719b66e95b0f0d751f556b387e6d2/anyio-4.15.1.tar.gz", hash = "sha256:9f28306018cbd6d329e64a36d58256edff76dd996fe423bc957326e578b82a94", size = 276966, upload-time = "2026-09-05T10:42:39.44Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/12/b8/4bd346e22b28902df4d651910f5242c28d84e4a5c2435ca5c3f797ed7e2e/anyio-4.15.1-py3-none-any.whl", hash = "sha256:6152fdbbf9a77fdec97731721bebf7c4c44f7c29b424b0065826173efc7ed101", size = 132079, upload-time = "2026-09-05T10:42:37.923Z" }, +] + +[[package]] +name = "appnope" +version = "1.0.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/11/f7/a82489c2b6ebe32d3e2831895ae19c77861f0eadf3bb16034484d965dbb2/appnope-1.0.0.tar.gz", hash = "sha256:685db59cb6043c3c2e528adc0b3bce3a5f8d09bcf7492c6ea650d1b7421f3c49", size = 5454, upload-time = "2026-08-20T21:36:13.748Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/46/c7/6b687cb0f83d2a51017d47953f2ee430ffad6fec2a8ebc964e0718a33eb1/appnope-1.0.0-py3-none-any.whl", hash = "sha256:6fe0c04218aab65c54c4ff81638cdbf848d89f5653b74d68638a137f200dd16e", size = 4158, upload-time = "2026-08-20T21:36:12.444Z" }, +] + +[[package]] +name = "argon2-cffi" +version = "25.1.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "argon2-cffi-bindings" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/0e/89/ce5af8a7d472a67cc819d5d998aa8c82c5d860608c4db9f46f1162d7dab9/argon2_cffi-25.1.0.tar.gz", hash = "sha256:694ae5cc8a42f4c4e2bf2ca0e64e51e23a040c6a517a85074683d3959e1346c1", size = 45706, upload-time = "2025-06-03T06:55:32.073Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/4f/d3/a8b22fa575b297cd6e3e3b0155c7e25db170edf1c74783d6a31a2490b8d9/argon2_cffi-25.1.0-py3-none-any.whl", hash = "sha256:fdc8b074db390fccb6eb4a3604ae7231f219aa669a2652e0f20e16ba513d5741", size = 14657, upload-time = "2025-06-03T06:55:30.804Z" }, +] + +[[package]] +name = "argon2-cffi-bindings" +version = "26.1.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "cffi" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/0b/43/bb8b6e8708d49a5ab36781333af092d9f483b198a2710d01281204640055/argon2_cffi_bindings-26.1.0.tar.gz", hash = "sha256:63505c71542a44b68b1e38060450fb006404170da375feb31af153e7f9c6205d", size = 1790807, upload-time = "2026-08-20T07:44:22.492Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/e7/d2/0ae991f1b2181e5be49007c574710a800ad36c2978683addb3e67c474e55/argon2_cffi_bindings-26.1.0-cp310-abi3-macosx_11_0_arm64.whl", hash = "sha256:21ca0396fe5ec995dd54431c32698189666f9224810acfa752e50d2bd94d9df2", size = 25521, upload-time = "2026-08-20T07:32:43.019Z" }, + { url = "https://files.pythonhosted.org/packages/7e/e4/ad91d8297638aa2258aad4501c306aca99480dfe76ccd638173fa3702db9/argon2_cffi_bindings-26.1.0-cp310-abi3-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:78de2d65e0b9ea7ce9d1b1c3e87297b2d7305a02c266ee2a2d6910daddd7ee69", size = 27177, upload-time = "2026-08-20T07:32:44.158Z" }, + { url = "https://files.pythonhosted.org/packages/6f/86/5363df11b86d02cf3662208e7406496327649cc90eb365bf6f4e8a54a41f/argon2_cffi_bindings-26.1.0-cp310-abi3-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:27f1821903e2ceadcb88ec2b45ef190897b7682449c772f4d9b53e42c520cf29", size = 26597, upload-time = "2026-08-20T07:32:45.172Z" }, + { url = "https://files.pythonhosted.org/packages/f4/b5/a14dcc592652347dad23ee93b278a4da5d2a25c9ed3ebd10d68eea823a4f/argon2_cffi_bindings-26.1.0-cp310-abi3-manylinux_2_34_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:d88e5f7e60f28ae0b0cc6b2f16c43e87cd642a196a86f85e0d8bb6fe016fc16d", size = 27403, upload-time = "2026-08-20T07:32:46.13Z" }, + { url = "https://files.pythonhosted.org/packages/b3/81/b4a20d4902af7f796390bf9245ff83c5217dfa7367efa1d14986956c482b/argon2_cffi_bindings-26.1.0-cp310-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:34b7d9c24a4165a2c61cc8ae11d44d48c9ce2830fb536cb7914e11fdd9962728", size = 27132, upload-time = "2026-08-20T07:32:47.13Z" }, + { url = "https://files.pythonhosted.org/packages/7e/1b/c8de358af07b1c490e0fcb863ef98e46ddb486e45567aca5a60bd68d9daa/argon2_cffi_bindings-26.1.0-cp310-abi3-musllinux_1_2_riscv64.whl", hash = "sha256:224865cbbcb7a2bd1356741dff12b0134df726b6d44bb7b500df8e303cbd9e81", size = 27588, upload-time = "2026-08-20T07:32:48.087Z" }, + { url = "https://files.pythonhosted.org/packages/48/2f/7ee62a6e79f9309f9d9982d301b22a00010adb580c05c8109b94d7b33de0/argon2_cffi_bindings-26.1.0-cp310-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:ffff613aaa9ce6236766e2fc6dc560bb5abde7a2e2416e3db1f9ae395a2b4dd4", size = 26785, upload-time = "2026-08-20T07:32:48.977Z" }, + { url = "https://files.pythonhosted.org/packages/e9/10/960d0ee93d4897741bcaf4799c697dae2d81499f66fd1ed042a7dd54c1f4/argon2_cffi_bindings-26.1.0-cp310-abi3-win32.whl", hash = "sha256:a86c069c91a747a2c4e5c51473590aeb48172fff9b2130d23729a42d98665ecb", size = 23898, upload-time = "2026-08-20T07:32:50.114Z" }, + { url = "https://files.pythonhosted.org/packages/6d/3a/0cc14a05810e6add9bce5e87693334baa2222de5f647fa31781885b6573f/argon2_cffi_bindings-26.1.0-cp310-abi3-win_amd64.whl", hash = "sha256:2c36ff87b5dfaa477d0bd51e9d7f6abdae7c8955d2983c97419085d842154b3e", size = 25730, upload-time = "2026-08-20T07:32:51.091Z" }, + { url = "https://files.pythonhosted.org/packages/4e/db/d83cf2af140547f0b9cdaece05b2dc2dcbf991be4667331d073eff771435/argon2_cffi_bindings-26.1.0-cp310-abi3-win_arm64.whl", hash = "sha256:f9c4420a7a864fe1b86ce35befc95b8e39fb852493b81cf798671ddc265de638", size = 24478, upload-time = "2026-08-20T07:32:52.111Z" }, + { url = "https://files.pythonhosted.org/packages/bb/5f/f652055e18d2627e2eed94c7f31a792127cfe38df786635395d742321674/argon2_cffi_bindings-26.1.0-cp313-cp313-pyemscripten_2025_0_wasm32.whl", hash = "sha256:af11ac37a7c53dc16cb7950a6190851b0870fe218b6c60c0bb7ac355234e3083", size = 15434, upload-time = "2026-08-20T07:32:53.143Z" }, + { url = "https://files.pythonhosted.org/packages/76/38/de696045960f5b846d428c0fb6c130ed3da87aac2af209b05c193815404c/argon2_cffi_bindings-26.1.0-cp314-cp314-pyemscripten_2026_0_wasm32.whl", hash = "sha256:db0fcd827ca61622a01b220aadfbece01939acf53888f2cb98cd93e9b1e2c97e", size = 15449, upload-time = "2026-08-20T07:32:54.075Z" }, + { url = "https://files.pythonhosted.org/packages/91/0a/c25af768f6b75a5a71e31207f87c540656b2808c015260444a22763221ad/argon2_cffi_bindings-26.1.0-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:28524438cd3e723f25412f63d4fd516ff5bae9ae5aa56acbe2a1404398a0cf31", size = 25683, upload-time = "2026-08-20T07:32:55.05Z" }, + { url = "https://files.pythonhosted.org/packages/a8/7e/be212c751ab0bcea7f646615f933bf262e8e50b3f7bef32f861d0a2d066b/argon2_cffi_bindings-26.1.0-cp314-cp314t-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:ac82fc756a446b6ccd7139ce70efa9d8bbe541e7ad579a12dcb52764b7175c5f", size = 27311, upload-time = "2026-08-20T07:32:56.166Z" }, + { url = "https://files.pythonhosted.org/packages/a6/ee/f84b28e4afd13d3cac36c1d8fa8c239d2dc2c51cd978d02ee5d5ad98d9bb/argon2_cffi_bindings-26.1.0-cp314-cp314t-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:6a4e68eed961a8de6928d1c17ff3dc2a547e0e923c17f8f1cd79fb7bc9502f98", size = 26771, upload-time = "2026-08-20T07:32:57.206Z" }, + { url = "https://files.pythonhosted.org/packages/21/c3/95c07a023691ecd529da9cb6a8f0779e13ebc1bdfaa86d145fdc1c6e7e79/argon2_cffi_bindings-26.1.0-cp314-cp314t-manylinux_2_34_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:151dfaad9de753f4af2a7854e707e4784f2acc434340ade64239c5b104b2d605", size = 27568, upload-time = "2026-08-20T07:32:58.361Z" }, + { url = "https://files.pythonhosted.org/packages/e6/31/3a18e31406d8694b4d6a31573c3e572fff6bed318bb744453eb653766d22/argon2_cffi_bindings-26.1.0-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:061a6919145bbf282ebf1f9c59d3135d4833c25313c8595c0d68cf7712ddfce2", size = 27280, upload-time = "2026-08-20T07:32:59.343Z" }, + { url = "https://files.pythonhosted.org/packages/0b/39/d4be4577e178b2397aa5b5575c8a309bf0da2afe05fe0c72c8f398662d63/argon2_cffi_bindings-26.1.0-cp314-cp314t-musllinux_1_2_riscv64.whl", hash = "sha256:62ff20cd130c956c7c9144d5fe35228f98b51c579b2439e988b27ef93e16c02a", size = 27776, upload-time = "2026-08-20T07:33:00.325Z" }, + { url = "https://files.pythonhosted.org/packages/71/47/78f4dd96f7411339f723b96fe24039c1bd5835102b8a5ba71ac4ec712ac7/argon2_cffi_bindings-26.1.0-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:19423e5d7ac1cc354baab59eaabf18db2ec04ef6593b5abe5a34f323c4a8f87a", size = 26932, upload-time = "2026-08-20T07:33:01.272Z" }, + { url = "https://files.pythonhosted.org/packages/3b/cd/96bfd37434cc0a848a9066c291d84b28846c4c9ea289ed9866b1164d622b/argon2_cffi_bindings-26.1.0-cp314-cp314t-win32.whl", hash = "sha256:4f84cdd868978d7b7350a566c254042d44216d9e37f241f3a6d3b1dfebeede35", size = 24878, upload-time = "2026-08-20T07:33:02.189Z" }, + { url = "https://files.pythonhosted.org/packages/f1/42/d8b6810abd9b1bd2f47ebbccf460da59c9f32e94888bea4f7b137d998797/argon2_cffi_bindings-26.1.0-cp314-cp314t-win_amd64.whl", hash = "sha256:2b741888c93147444fdfc851abd81cc207f37f7f7da42062a00deb3888e57da8", size = 26656, upload-time = "2026-08-20T07:33:03.222Z" }, + { url = "https://files.pythonhosted.org/packages/a9/d1/095d95eaf2ed1d9f77268cf3291bde148c6cd56121f8db2c74c1ba618a0e/argon2_cffi_bindings-26.1.0-cp314-cp314t-win_arm64.whl", hash = "sha256:6ab674f668d5962a3a4136ae0812519b0f1586874263723a32181d60d64137e1", size = 25378, upload-time = "2026-08-20T07:33:04.332Z" }, + { url = "https://files.pythonhosted.org/packages/66/cb/214092c39c4dbcb72cf98b12234ddac2221f8fe2c0acf29c6a70fa83be53/argon2_cffi_bindings-26.1.0-cp315-cp315t-macosx_11_0_arm64.whl", hash = "sha256:1d98e33bd8bd67d7206c124e200bf2229c4cfa8c9c19f7b44a897f0fc71837eb", size = 25683, upload-time = "2026-08-20T07:33:05.337Z" }, + { url = "https://files.pythonhosted.org/packages/83/e5/02015b83e9b05ccb85ff2ced424cf6e83a12d3810bc7f66d679a92b69ffb/argon2_cffi_bindings-26.1.0-cp315-cp315t-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:ccaf0a46cbb380f1fd102a874e32aa629fd3cb0c0e94f4943fa1f6d5edc5dac6", size = 27310, upload-time = "2026-08-20T07:33:06.344Z" }, + { url = "https://files.pythonhosted.org/packages/c3/4a/85e612787d0796878b3b4f6bd53dcd5484b6fe7b64cc6fc7b6e6a04cf835/argon2_cffi_bindings-26.1.0-cp315-cp315t-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:f0c3103fcff20183e593459cfea6e012281c0e76ae3ed8b5565ad1b92eac3990", size = 26771, upload-time = "2026-08-20T07:33:07.429Z" }, + { url = "https://files.pythonhosted.org/packages/f6/84/ccb003b6f9969820e87656398f4d49c857def71a85ca1588a0e809afd7ce/argon2_cffi_bindings-26.1.0-cp315-cp315t-manylinux_2_34_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:c49e853a3bef9dd10329f31f702e7fa9b5c58229ff9c2ff6d069efaf09177c08", size = 27569, upload-time = "2026-08-20T07:33:08.598Z" }, + { url = "https://files.pythonhosted.org/packages/88/07/c26b76debf0998ee08fbe947ab2058ac5de37d4b9d46b06c17abaa6c4ce9/argon2_cffi_bindings-26.1.0-cp315-cp315t-musllinux_1_2_aarch64.whl", hash = "sha256:6376d4b3aca039375ca8bf92f770da0ec424a1ce3a37077a8d3c557411aa56ca", size = 27279, upload-time = "2026-08-20T07:33:09.518Z" }, + { url = "https://files.pythonhosted.org/packages/ee/0d/ead6ddc029f91bc9b9390686dad3c808ab08100d348f6266b5f93f8970ee/argon2_cffi_bindings-26.1.0-cp315-cp315t-musllinux_1_2_riscv64.whl", hash = "sha256:9bacedc04b0402837586a17f0919e3dfdd95291f441f1f56bd80ec274c2840a1", size = 27774, upload-time = "2026-08-20T07:33:10.728Z" }, + { url = "https://files.pythonhosted.org/packages/7d/47/c108530d9eb86036b78d3af4de28b83b4a2d9a70512bd10ff8e59966aab4/argon2_cffi_bindings-26.1.0-cp315-cp315t-musllinux_1_2_x86_64.whl", hash = "sha256:76ae29acace5d33355344612844d588e19deaaba4639d8bb01601e4b1418ef36", size = 26933, upload-time = "2026-08-20T07:33:11.661Z" }, + { url = "https://files.pythonhosted.org/packages/a9/02/0bfc59e781c89acf64c31c388aade9d9d1c1ea38aa1ba1292fe07f607fe9/argon2_cffi_bindings-26.1.0-cp315-cp315t-win32.whl", hash = "sha256:df612391feca41c44d20118f3b88d1b86419465cd1f5496859f715ca60ec2210", size = 24875, upload-time = "2026-08-20T07:33:12.616Z" }, + { url = "https://files.pythonhosted.org/packages/61/c7/c3e46068cddffccecb8ad94d71135e9bf62bbc789589e7dfadc7c6f59214/argon2_cffi_bindings-26.1.0-cp315-cp315t-win_amd64.whl", hash = "sha256:1a0a29ed86960e44eaace7e081bdfab4f08b012fd96ec8edba71e2ad020939e4", size = 26655, upload-time = "2026-08-20T07:33:13.521Z" }, + { url = "https://files.pythonhosted.org/packages/f4/ca/18b9c8c45fecf34b9100ec6d7946057f14a158f2eaa20ea123a3e82351cb/argon2_cffi_bindings-26.1.0-cp315-cp315t-win_arm64.whl", hash = "sha256:d157ddfab1e8b21f2f1dedda9c09645d98b5ed0b667b0626be600a345d426440", size = 25376, upload-time = "2026-08-20T07:33:14.491Z" }, + { url = "https://files.pythonhosted.org/packages/a0/b9/97f0370f99611b14efd384918613dd5cbda75f28d9bb1b677aacfeaa17df/argon2_cffi_bindings-26.1.0-pp311-pypy311_pp73-macosx_11_0_arm64.whl", hash = "sha256:19b562b1de4b9052ef1214a2821c44b6e6f22945daa102c32ae4eff929d8b6d8", size = 23055, upload-time = "2026-08-20T07:33:19.716Z" }, + { url = "https://files.pythonhosted.org/packages/ae/70/7eb3fe7bf00103cbbb569c51aef150661f22b734a782673a600ff0f52309/argon2_cffi_bindings-26.1.0-pp311-pypy311_pp73-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:49d525938467d52c923a890153c99087c9d5a937d1f6b585dbdba34ec82e397a", size = 24869, upload-time = "2026-08-20T07:33:20.671Z" }, + { url = "https://files.pythonhosted.org/packages/5b/4b/9d5919c6cb1f15df7406af0f99b048bd93936f112e3e8f4c8077bc2a9110/argon2_cffi_bindings-26.1.0-pp311-pypy311_pp73-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:1b0bcac4d490a237e18cf91f57352920c29f77f2fa39efd0813fb81298bf17ba", size = 24216, upload-time = "2026-08-20T07:33:21.653Z" }, + { url = "https://files.pythonhosted.org/packages/a3/34/32109943bace7729233cc4ee78530baa306d8cc3c6501a64ba8cb3b58129/argon2_cffi_bindings-26.1.0-pp311-pypy311_pp73-win_amd64.whl", hash = "sha256:0cc40f7b4050bb93eb67de95d2d759322fc7ce4930b9d645581ecf4913ec651e", size = 23584, upload-time = "2026-08-20T07:33:22.613Z" }, +] + +[[package]] +name = "arrow" +version = "1.4.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "python-dateutil" }, + { name = "tzdata" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/b9/33/032cdc44182491aa708d06a68b62434140d8c50820a087fac7af37703357/arrow-1.4.0.tar.gz", hash = "sha256:ed0cc050e98001b8779e84d461b0098c4ac597e88704a655582b21d116e526d7", size = 152931, upload-time = "2025-10-18T17:46:46.761Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/ed/c9/d7977eaacb9df673210491da99e6a247e93df98c715fc43fd136ce1d3d33/arrow-1.4.0-py3-none-any.whl", hash = "sha256:749f0769958ebdc79c173ff0b0670d59051a535fa26e8eba02953dc19eb43205", size = 68797, upload-time = "2025-10-18T17:46:45.663Z" }, +] + +[[package]] +name = "ast-serialize" +version = "0.12.1" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/c2/1c/7257e6ec9382843915ce475558ce4492ccb5ed39122c256bb369c27e2ebf/ast_serialize-0.12.1.tar.gz", hash = "sha256:5285a390caf1c44368ae270f037f797b91427d138b7d43cad0f1fda4c83518d9", size = 954408, upload-time = "2026-10-03T12:25:00.221Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/4a/f7/e976169da322c009bb083a52d21e88fbfe5f071e1806e8c8361ab4ac477a/ast_serialize-0.12.1-cp314-cp314-pyemscripten_2026_0_wasm32.whl", hash = "sha256:e73255c9227fd74eac8a9b55c4049e8ad7b66d1f690bf827c98a86b2e594def7", size = 897232, upload-time = "2026-10-03T12:23:21.945Z" }, + { url = "https://files.pythonhosted.org/packages/e1/89/5545f6f4d38dd41b4e2a20050967ccd722508bc90fab0dfba463d8c8b994/ast_serialize-0.12.1-cp314-cp314t-macosx_10_12_x86_64.whl", hash = "sha256:4655ef993e69e01bb47d2d99647de9bbb74af03938438656832cd010d95de348", size = 1235397, upload-time = "2026-10-03T12:23:23.835Z" }, + { url = "https://files.pythonhosted.org/packages/22/19/e9b839ef9b57626e15e20dd7cf764a9a6b50f9750f86d0a49bc3a971fb72/ast_serialize-0.12.1-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:bac5a99a2c91dd823be9b8c44645694fccbb0750773cc5b27889a9f6f22fce89", size = 1216331, upload-time = "2026-10-03T12:23:25.557Z" }, + { url = "https://files.pythonhosted.org/packages/26/2a/d054d4ff8ba42472a22e3da6eb6dee0e69a32c477b5077eefdbada99f554/ast_serialize-0.12.1-cp314-cp314t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:6485e681625ed7a094221f16a7ff2ef154946112266a05cf83bde50c959ef345", size = 1281194, upload-time = "2026-10-03T12:23:27.349Z" }, + { url = "https://files.pythonhosted.org/packages/7e/0c/c73eddfa180a7a4c1613c0f3d3ef020b05dca9b922ac08212463c33ad11f/ast_serialize-0.12.1-cp314-cp314t-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:a513bc6f60980d01767f7cbe39b17ce0373e722824a74ce28d6cea49ee3c8460", size = 1287170, upload-time = "2026-10-03T12:23:29.333Z" }, + { url = "https://files.pythonhosted.org/packages/94/77/39dc75d8b718844859b64a9067c9df0cfce218ca45ea215fb24a1fda3cf7/ast_serialize-0.12.1-cp314-cp314t-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:82866f3523d53ffca8d2a69a750bec52908b69f728012e40959bebce2620453c", size = 1531238, upload-time = "2026-10-03T12:23:30.954Z" }, + { url = "https://files.pythonhosted.org/packages/b9/c0/6a6a6f94f45a288c4bac2eb8379a3d9654574a0f9249380ce3b07f6d64bb/ast_serialize-0.12.1-cp314-cp314t-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:243054a05a5190f5d087b5c8b16423e7f1cefa4991bac26e9c8ace18074b75b6", size = 1307154, upload-time = "2026-10-03T12:23:32.645Z" }, + { url = "https://files.pythonhosted.org/packages/f9/3d/80f843892bd0f7c0d95ec5422ba3dc315c1ce011e6f08b06d5f71bd82c25/ast_serialize-0.12.1-cp314-cp314t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:7d9fbe5a3e8acddfc2fddff3dbbc7ea0e9798b3df3428f851b8abc52a3806f31", size = 1301506, upload-time = "2026-10-03T12:23:34.63Z" }, + { url = "https://files.pythonhosted.org/packages/df/cc/49a5fe852706f545e3e005584c5be89456bc637a8c9179aeaa8b9f26e8e4/ast_serialize-0.12.1-cp314-cp314t-manylinux_2_31_riscv64.whl", hash = "sha256:d3d516da3463071d27e64caf54d88cba25cf4ad4afcc807e0bcf67743719f03e", size = 1297616, upload-time = "2026-10-03T12:23:36.377Z" }, + { url = "https://files.pythonhosted.org/packages/49/5c/1208c91d6e00cc43cc276bd6233c40c9b4ec3ef8537c83281dd5372cbdb8/ast_serialize-0.12.1-cp314-cp314t-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:8d6711adf11136c77e3a35517de9488a5081d1012874fae99c2876b64f4daace", size = 1354884, upload-time = "2026-10-03T12:23:38.035Z" }, + { url = "https://files.pythonhosted.org/packages/a9/80/2b5fc912ff0be64d8d61ff5dc7dc405c6311297a0e2039b848b7d14333f2/ast_serialize-0.12.1-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:cbe239bee4bd609186daf60b95b7b0f47146c7f7f55f6da83807d747d6fe753f", size = 1457911, upload-time = "2026-10-03T12:23:39.679Z" }, + { url = "https://files.pythonhosted.org/packages/b2/f8/d720429bf8933efbd0cc2038c0a50b6267a585d503500845c44bc6c8ff66/ast_serialize-0.12.1-cp314-cp314t-musllinux_1_2_armv7l.whl", hash = "sha256:5bbf582286c9dc6b4c544ef645dc99e4b3aa09db28892bc60344141f6926641f", size = 1563023, upload-time = "2026-10-03T12:23:41.585Z" }, + { url = "https://files.pythonhosted.org/packages/7e/0a/99e6cc92bdbae5db60f84a14a0fb1ae77b6087e451d77808d87558162c9a/ast_serialize-0.12.1-cp314-cp314t-musllinux_1_2_i686.whl", hash = "sha256:99e33c93efb5254a70c525b46038212371dfe5693d48eb2d0d5f17d936a263d7", size = 1556601, upload-time = "2026-10-03T12:23:43.361Z" }, + { url = "https://files.pythonhosted.org/packages/7a/05/59de9e16a2e333da534f30776d0f5e426034b64c67c17843425e3cc827d1/ast_serialize-0.12.1-cp314-cp314t-musllinux_1_2_ppc64le.whl", hash = "sha256:aa6c17a2b7f07e81fa8cfcc4aa7c832b3e57733853aebea113ab502f9b0963db", size = 1665039, upload-time = "2026-10-03T12:23:45.257Z" }, + { url = "https://files.pythonhosted.org/packages/33/83/35ed67a127167b484b42a071df440f84b14c0d20ea8f69dbed5cc96bfd98/ast_serialize-0.12.1-cp314-cp314t-musllinux_1_2_riscv64.whl", hash = "sha256:f896fa38e0af38821e1ab1425c5dee89e359623e165765bdeae7d0eb6909e76d", size = 1472263, upload-time = "2026-10-03T12:23:46.811Z" }, + { url = "https://files.pythonhosted.org/packages/c4/b0/3ab8613bbb690297f1bb687d780a248c486df0f4131b6a82044fcb49e438/ast_serialize-0.12.1-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:af699e81fd7ce80b8b03945826d8ea23dd36d072f10d4613402da597ba4ee9c6", size = 1499242, upload-time = "2026-10-03T12:23:48.531Z" }, + { url = "https://files.pythonhosted.org/packages/9d/a0/a28894d3b06f8775cea8989f371bd9f72ce562c32bc807770e7fb920ce17/ast_serialize-0.12.1-cp314-cp314t-win32.whl", hash = "sha256:10b59afc108eb285146acb23d1b5ec0fc58bb3c09cb2ab8876402df06c373c3b", size = 1119488, upload-time = "2026-10-03T12:23:50.419Z" }, + { url = "https://files.pythonhosted.org/packages/c1/b2/0c44952f4ba4e14bb7f60a5858e2960dfefb9884e6ff007aaf64337dba5c/ast_serialize-0.12.1-cp314-cp314t-win_amd64.whl", hash = "sha256:72e871f6995a066c1b19104f8a6b5832b1163adb9a8267c2aa4711fbb0f4d1f3", size = 1157434, upload-time = "2026-10-03T12:23:52.383Z" }, + { url = "https://files.pythonhosted.org/packages/1f/1e/cb594c63f46a01d53629af1c4f9e42cd02afcea1c2fe483e12f22743ebac/ast_serialize-0.12.1-cp314-cp314t-win_arm64.whl", hash = "sha256:3398e458047d21c9bc1b323fe5aab77c608dc9ddb65b2d44deebaff503a1f1eb", size = 1129094, upload-time = "2026-10-03T12:23:54.133Z" }, + { url = "https://files.pythonhosted.org/packages/16/05/ca16884f9498386f3646bb18be59f0e31d44e992d252d7d6f5e4f8ae1ee2/ast_serialize-0.12.1-cp315-abi3.abi3t-macosx_10_12_x86_64.whl", hash = "sha256:410233de149ab8414cb27c6fc73e9d2baa35d6f971672d540d752060d980ffb4", size = 1235686, upload-time = "2026-10-03T12:23:55.863Z" }, + { url = "https://files.pythonhosted.org/packages/29/f2/34e87ed30e292cf365523712c4bcfef1967d9c3c2749de21b1f93b1fe0f3/ast_serialize-0.12.1-cp315-abi3.abi3t-macosx_11_0_arm64.whl", hash = "sha256:b9a2310845302f1a6bd45ae8a67d5760211103a8d66410b854bfa440d107e093", size = 1215598, upload-time = "2026-10-03T12:23:57.48Z" }, + { url = "https://files.pythonhosted.org/packages/f8/dc/c498f41c957b6ff31b97ed8ceccf3a84f85af7debca1125183cab95bb58b/ast_serialize-0.12.1-cp315-abi3.abi3t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:6ff65f40f49d5e1a1a043ba366081d59a4e26a9f5c1b07eb1170e172115da7ca", size = 1281911, upload-time = "2026-10-03T12:23:58.954Z" }, + { url = "https://files.pythonhosted.org/packages/dc/60/70ccefae9d88058c4c234bf0aed93f54aca36eb74087736e76e9515aee96/ast_serialize-0.12.1-cp315-abi3.abi3t-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:536d783c4d91331f094e0a892221e619be5ffbe6fb6640885f14d7f226ec90ca", size = 1287296, upload-time = "2026-10-03T12:24:00.429Z" }, + { url = "https://files.pythonhosted.org/packages/08/e9/4fc697879c7128e29f9dab2ed19a9b586a56b621e5ea4aee2ae28c18e116/ast_serialize-0.12.1-cp315-abi3.abi3t-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:c42d2d65f388d1960c5796231eb9bf5a988c46228633eb489605c4549ad16c52", size = 1532339, upload-time = "2026-10-03T12:24:02.053Z" }, + { url = "https://files.pythonhosted.org/packages/8a/9e/9e2bd489731602a94dbd0c576ebe1cc487a2d0f6127be743f44711166f0d/ast_serialize-0.12.1-cp315-abi3.abi3t-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:a5628a12acc875fe7a167910f18d101dd101c2a7b1e6c2b6f7289ffaff25805c", size = 1308988, upload-time = "2026-10-03T12:24:03.61Z" }, + { url = "https://files.pythonhosted.org/packages/3f/69/e9cae837bd766a66db6953ffb5fc7f04b1945e02b0a9e4c6a0b6acb08f17/ast_serialize-0.12.1-cp315-abi3.abi3t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:9e855adfa5bb982b2e6fe09056b2d584f6dd4fce085d91a07d1155683751b6b5", size = 1303412, upload-time = "2026-10-03T12:24:05.62Z" }, + { url = "https://files.pythonhosted.org/packages/b2/1e/5ef8c62d5031d93187ed0d8dade5d942de9920c3fbd678c7652362b9a7a2/ast_serialize-0.12.1-cp315-abi3.abi3t-manylinux_2_31_riscv64.whl", hash = "sha256:fafe1471e8aca6c87b4913b7b54ff97197adf702fbe28692284b929dfa62ff96", size = 1298466, upload-time = "2026-10-03T12:24:07.242Z" }, + { url = "https://files.pythonhosted.org/packages/c2/f3/25ded60844a1a437edc840e597b6f81daf91dc4a26035416e14298d3a091/ast_serialize-0.12.1-cp315-abi3.abi3t-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:a5cac246474d2a703147d1605a6ac5ba0fa9e0a443cf1cf42513adf4df02686f", size = 1355617, upload-time = "2026-10-03T12:24:09.125Z" }, + { url = "https://files.pythonhosted.org/packages/05/68/a0d3cc8d8042208a2cbef7b26483f4941b44dd5dd717bb19f20e4a4c0d66/ast_serialize-0.12.1-cp315-abi3.abi3t-musllinux_1_2_aarch64.whl", hash = "sha256:6e25cd319fb0d7b39fcac666784ec86708ccbc78d07a698b1400cf5ed40c045b", size = 1458949, upload-time = "2026-10-03T12:24:10.772Z" }, + { url = "https://files.pythonhosted.org/packages/df/a0/5e4d355c48a9f125b8bec7b1b98d4d2dcd8324ff1d4dfcb03678a03c1414/ast_serialize-0.12.1-cp315-abi3.abi3t-musllinux_1_2_armv7l.whl", hash = "sha256:657a7354ea16ed4d29f8127ed477c6fee3915c111d135f020ca835a991438e90", size = 1562328, upload-time = "2026-10-03T12:24:12.404Z" }, + { url = "https://files.pythonhosted.org/packages/8a/5f/3d40f6a7908200f2f0ed9ce1bad130d00e06d0405baa7918d4a4299b25dd/ast_serialize-0.12.1-cp315-abi3.abi3t-musllinux_1_2_i686.whl", hash = "sha256:9eb9de7e59621acdb3e66984f374272b33d56d15a04763e2fd0604211e1c8303", size = 1557751, upload-time = "2026-10-03T12:24:14.455Z" }, + { url = "https://files.pythonhosted.org/packages/3f/13/d53e5a7e299d6dbaeab23a424eea2c98c821b46ed7b05abbe14743beeb63/ast_serialize-0.12.1-cp315-abi3.abi3t-musllinux_1_2_ppc64le.whl", hash = "sha256:09cc4d3103c1fc97f6845ba307af1db9cde5226bef47f8843220dde83f2276ba", size = 1666238, upload-time = "2026-10-03T12:24:16.171Z" }, + { url = "https://files.pythonhosted.org/packages/37/5b/7638ee3ae35a64e4467160a37dc7565cddfe2a87f06cef2fd07c93cfd503/ast_serialize-0.12.1-cp315-abi3.abi3t-musllinux_1_2_riscv64.whl", hash = "sha256:c9e2a592706fd791c2271ce9c8f4e38c98d3ea0b4a86b511e09a4fe3ac44ab37", size = 1472620, upload-time = "2026-10-03T12:24:18.053Z" }, + { url = "https://files.pythonhosted.org/packages/fc/e7/6e9e621e0e4a3be5a9a5f8b6961982964d2367013dbe64feb5adaa43e56d/ast_serialize-0.12.1-cp315-abi3.abi3t-musllinux_1_2_x86_64.whl", hash = "sha256:f4ac042e95a575432c1730ca4cb9183066a2074886a599f46c1f1b0955fb8198", size = 1500141, upload-time = "2026-10-03T12:24:20.036Z" }, + { url = "https://files.pythonhosted.org/packages/4a/4f/3217da5b671711c09cc6be580095839cad539983662a6599405bd75c1a19/ast_serialize-0.12.1-cp315-abi3.abi3t-win32.whl", hash = "sha256:b3cd105995942cc6163a229674a86161ba1305f646493efd59bd6723a357ee14", size = 1118382, upload-time = "2026-10-03T12:24:21.599Z" }, + { url = "https://files.pythonhosted.org/packages/80/1e/6074cf29dca8ceff27d50e845c88e7a2eaaa7f0b6f3972909e878d844737/ast_serialize-0.12.1-cp315-abi3.abi3t-win_amd64.whl", hash = "sha256:a9cd24a26126088693ca054547ea0a391398a29cf1a3a2bec1009b4b6acc8b82", size = 1158034, upload-time = "2026-10-03T12:24:23.316Z" }, + { url = "https://files.pythonhosted.org/packages/92/a0/81ce428f9f3f1ca45f8b62c9711c30452bf8190476e8685cea0f72d8d008/ast_serialize-0.12.1-cp315-abi3.abi3t-win_arm64.whl", hash = "sha256:9649cd903db0dc047906c6dd740784a2ba665d54f7e43ba31457edbce76c9493", size = 1129437, upload-time = "2026-10-03T12:24:25.044Z" }, + { url = "https://files.pythonhosted.org/packages/3a/d9/1c08adb90728607d0d07d188df4558ae863d688b4458087efe9fafeca458/ast_serialize-0.12.1-cp315-cp315-pyemscripten_2026_5_wasm32.whl", hash = "sha256:5ef62601db3ce5c23445132262a193075e211fb2fc87b46b7550dd351fac0976", size = 897419, upload-time = "2026-10-03T12:24:26.699Z" }, + { url = "https://files.pythonhosted.org/packages/80/fb/1eabd2c0673283054468b1c6cb539aeb877636d6c84b280279f2d7a177a9/ast_serialize-0.12.1-cp39-abi3-macosx_10_12_x86_64.whl", hash = "sha256:98d91cd3a6cb76a39512ee090a539d1e3206b732ad8150eb38918cffa1ddf515", size = 1241515, upload-time = "2026-10-03T12:24:28.493Z" }, + { url = "https://files.pythonhosted.org/packages/1b/d7/c56955934a431a0fa3e4e9aa7af4a53ceab2a61241005427545208945eb4/ast_serialize-0.12.1-cp39-abi3-macosx_11_0_arm64.whl", hash = "sha256:8a32f184ce3e4b1d0b06d642a1243281cf55b99e0323680b1b8f904029fd7700", size = 1228048, upload-time = "2026-10-03T12:24:30.556Z" }, + { url = "https://files.pythonhosted.org/packages/1e/4e/2b2ca4602baf92f842316ea617423402089df4fbd2ea42571ba28725ba46/ast_serialize-0.12.1-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:e62126ac2be2d9340ac1b3ee7a0466a883ecbed634cff0929c88ca0b671483b7", size = 1292087, upload-time = "2026-10-03T12:24:32.45Z" }, + { url = "https://files.pythonhosted.org/packages/d9/49/9ebd05218a87ca31f4f855d5e3df14239bba3c58f2aed9d02c7cba5d94f5/ast_serialize-0.12.1-cp39-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:0f93a70fa9826c04ea9f2c3a880f87f4cca09a828144ed5084682abd28110980", size = 1295355, upload-time = "2026-10-03T12:24:34.423Z" }, + { url = "https://files.pythonhosted.org/packages/dc/09/6db7c4327e7a56aba805f7190d377a159fc0bf6bdefb410dc7860624dfa3/ast_serialize-0.12.1-cp39-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:1858887be56a64a2aea899423dfe43787c34c75c18b0d7497de8e618d54b2790", size = 1541231, upload-time = "2026-10-03T12:24:36.05Z" }, + { url = "https://files.pythonhosted.org/packages/ed/85/7ab6097e5fe23cd4657b0e5a2fabb4f789f91e441a3ee40b3ca8b79be238/ast_serialize-0.12.1-cp39-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:89a2bc39a820bc7785b60c53a5742b4e8dd4c1a599294e2dd68fae545883d44a", size = 1317324, upload-time = "2026-10-03T12:24:37.737Z" }, + { url = "https://files.pythonhosted.org/packages/c0/60/58961e7fd129e226ce36788fe328d20034f3105f5d3380df690050517737/ast_serialize-0.12.1-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:50a9eaedf1db4857dad7cc47dd757ed70bfcc40b89d44d516c4a2f0d5033bd76", size = 1311809, upload-time = "2026-10-03T12:24:39.306Z" }, + { url = "https://files.pythonhosted.org/packages/15/c7/09d973db87d4575cba470fd80a3fa489322f7d6882546e43a4b21012468e/ast_serialize-0.12.1-cp39-abi3-manylinux_2_31_riscv64.whl", hash = "sha256:c30b609e8fea426b310543126de876592236a25aa8ebd59f1e2b323dd52a4085", size = 1306678, upload-time = "2026-10-03T12:24:40.891Z" }, + { url = "https://files.pythonhosted.org/packages/84/27/84f69c22bcdaa5256b4fe43ff972fc117668fff8e68495807d5792eadcce/ast_serialize-0.12.1-cp39-abi3-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:7b1ad06513022cfa1337744959255af0ef16119d2beb1e547b67f37ad9433d4a", size = 1362009, upload-time = "2026-10-03T12:24:42.809Z" }, + { url = "https://files.pythonhosted.org/packages/43/46/76ee342ef22cd6d82ccd6089d5e2f7163246de73d1816ccb4b6ec0550db6/ast_serialize-0.12.1-cp39-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:6add54b495e37ae3cf3a1f0d5eaba364814eb72e93026adc41b7791e4b0d45d3", size = 1467959, upload-time = "2026-10-03T12:24:44.496Z" }, + { url = "https://files.pythonhosted.org/packages/31/4d/18e48154bbf6058eed8d9b54fcebb2e130f8a380db1a2a202b4faac48626/ast_serialize-0.12.1-cp39-abi3-musllinux_1_2_armv7l.whl", hash = "sha256:5fc136cd08001b817ad0b3e7426f50a7d2b8982dc7c6491f0af78af4c3dd8672", size = 1571157, upload-time = "2026-10-03T12:24:46.156Z" }, + { url = "https://files.pythonhosted.org/packages/34/76/6b16ddf0510e713613a5f5441b13407c1bde6158df04946b9f1fdc65add3/ast_serialize-0.12.1-cp39-abi3-musllinux_1_2_i686.whl", hash = "sha256:45a9e6b700bbd973d49942668a5cdbeffa693f2e250b8a5409abd1fa9d351854", size = 1566873, upload-time = "2026-10-03T12:24:48.542Z" }, + { url = "https://files.pythonhosted.org/packages/75/33/9f6169ae7f60c2da4baec03450073d3f1edb39e95ab538be0d25a7d2f72e/ast_serialize-0.12.1-cp39-abi3-musllinux_1_2_ppc64le.whl", hash = "sha256:a1d8267f83c613ea0a31f2518df074bd62e98a4b3a4892f6a529d74e08e02dba", size = 1673030, upload-time = "2026-10-03T12:24:50.566Z" }, + { url = "https://files.pythonhosted.org/packages/11/51/0d78755bd61d6cf8980f0cfdc7fa8ede38df46a5423c9f7a3da0cff587ec/ast_serialize-0.12.1-cp39-abi3-musllinux_1_2_riscv64.whl", hash = "sha256:9a0cbab9796e6ce841197feeba4008faa96b4cc7741129542fd81c882d7a4f01", size = 1480052, upload-time = "2026-10-03T12:24:52.277Z" }, + { url = "https://files.pythonhosted.org/packages/01/ae/ad4c0e5129991f2761f388420c5ded37cb134ec5882e3e59043d33c1ad87/ast_serialize-0.12.1-cp39-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:b4282695f1d51a3c6ef76560351bad5af880eff7d755aefea325bffb9bf68c25", size = 1508940, upload-time = "2026-10-03T12:24:53.846Z" }, + { url = "https://files.pythonhosted.org/packages/38/6b/3299182794d38815ae6e9c7ede9bb8f2e4aa93c3578bed201c1ea746643a/ast_serialize-0.12.1-cp39-abi3-win32.whl", hash = "sha256:119d1b0cadaba4a6e475f9bbe79eecc79351e373142eabe7c353f0250d70aebb", size = 1125618, upload-time = "2026-10-03T12:24:55.405Z" }, + { url = "https://files.pythonhosted.org/packages/86/14/5d4fb733c18a1d69e237c067b183842f3a7ea1c999a51ddc87093a281c88/ast_serialize-0.12.1-cp39-abi3-win_amd64.whl", hash = "sha256:3d6ed63d4fc1ec867b8cb522d58c36df0e8f05e487bea0ffd102043a37636d72", size = 1165798, upload-time = "2026-10-03T12:24:57.052Z" }, + { url = "https://files.pythonhosted.org/packages/f1/f4/b54123680025c0b7253117418f023d1b2487f1102552acbdd9d8ee96b622/ast_serialize-0.12.1-cp39-abi3-win_arm64.whl", hash = "sha256:610a41351de68199de9a1434499083b4256c0df7658ec1cfc0a0a7b20b08d317", size = 1136560, upload-time = "2026-10-03T12:24:58.689Z" }, +] + +[[package]] +name = "asttokens" +version = "3.0.2" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/25/1e/faf0f247f6f881b98fc4d6d07e14085cb89d13665084e6d6ac1dc2c03d0b/asttokens-3.0.2.tar.gz", hash = "sha256:3ecdbd8f2cc195f53ccada3a613538bb5f9ef6f6869129f13e03c30a677b8fe2", size = 63136, upload-time = "2026-07-12T03:31:49.084Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/d4/2b/04b8a15f3a1c77bc79ddf5c73875327f34b4fa75982df2b76e45e402d364/asttokens-3.0.2-py3-none-any.whl", hash = "sha256:9da13157f5b28becde0bd374fc677dcd3c290614264eff096f167c469cd9f933", size = 28702, upload-time = "2026-07-12T03:31:47.542Z" }, +] + +[[package]] +name = "async-lru" +version = "2.3.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/e8/1f/989ecfef8e64109a489fff357450cb73fa73a865a92bd8c272170a6922c2/async_lru-2.3.0.tar.gz", hash = "sha256:89bdb258a0140d7313cf8f4031d816a042202faa61d0ab310a0a538baa1c24b6", size = 16332, upload-time = "2026-03-19T01:04:32.413Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/e5/e2/c2e3abf398f80732e58b03be77bde9022550d221dd8781bf586bd4d97cc1/async_lru-2.3.0-py3-none-any.whl", hash = "sha256:eea27b01841909316f2cc739807acea1c623df2be8c5cfad7583286397bb8315", size = 8403, upload-time = "2026-03-19T01:04:30.883Z" }, +] + +[[package]] +name = "async-timeout" +version = "5.0.1" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/a5/ae/136395dfbfe00dfc94da3f3e136d0b13f394cba8f4841120e34226265780/async_timeout-5.0.1.tar.gz", hash = "sha256:d9321a7a3d5a6a5e187e824d2fa0793ce379a202935782d555d6e9d2735677d3", size = 9274, upload-time = "2024-11-06T16:41:39.6Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/fe/ba/e2081de779ca30d473f21f5b30e0e737c438205440784c7dfc81efc2b029/async_timeout-5.0.1-py3-none-any.whl", hash = "sha256:39e3809566ff85354557ec2398b55e096c8364bacac9405a7a1fa429e77fe76c", size = 6233, upload-time = "2024-11-06T16:41:37.9Z" }, +] + +[[package]] +name = "attrs" +version = "26.1.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/9a/8e/82a0fe20a541c03148528be8cac2408564a6c9a0cc7e9171802bc1d26985/attrs-26.1.0.tar.gz", hash = "sha256:d03ceb89cb322a8fd706d4fb91940737b6642aa36998fe130a9bc96c985eff32", size = 952055, upload-time = "2026-03-19T14:22:25.026Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/64/b4/17d4b0b2a2dc85a6df63d1157e028ed19f90d4cd97c36717afef2bc2f395/attrs-26.1.0-py3-none-any.whl", hash = "sha256:c647aa4a12dfbad9333ca4e71fe62ddc36f4e63b2d260a37a8b83d2f043ac309", size = 67548, upload-time = "2026-03-19T14:22:23.645Z" }, +] + +[[package]] +name = "babel" +version = "2.18.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/7d/b2/51899539b6ceeeb420d40ed3cd4b7a40519404f9baf3d4ac99dc413a834b/babel-2.18.0.tar.gz", hash = "sha256:b80b99a14bd085fcacfa15c9165f651fbb3406e66cc603abf11c5750937c992d", size = 9959554, upload-time = "2026-02-01T12:30:56.078Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/77/f5/21d2de20e8b8b0408f0681956ca2c69f1320a3848ac50e6e7f39c6159675/babel-2.18.0-py3-none-any.whl", hash = "sha256:e2b422b277c2b9a9630c1d7903c2a00d0830c409c59ac8cae9081c92f1aeba35", size = 10196845, upload-time = "2026-02-01T12:30:53.445Z" }, +] + +[[package]] +name = "beautifulsoup4" +version = "4.15.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "soupsieve" }, + { name = "typing-extensions" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/43/65/318323f98dbee45d42dff61d8f047181bc6f2268a9068cfad035a46be5af/beautifulsoup4-4.15.0.tar.gz", hash = "sha256:288e3ca7d54b06f2ac191970bc275c1939cb46d450b255bf6718b04aa37ab4f7", size = 632571, upload-time = "2026-06-07T16:44:20.453Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/88/c6/92fcd42f1ba33e1184263f25bfabf3d27c383410470f169e4b8163bf9c17/beautifulsoup4-4.15.0-py3-none-any.whl", hash = "sha256:d6f88de62e1d4e38ecb1077eb9724cd0eff29d2a08ca16a401e9b9e93f117cf9", size = 109924, upload-time = "2026-06-07T16:44:21.566Z" }, +] + +[[package]] +name = "billiard" +version = "4.3.1" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/ea/0d/8921e960be19fa226358bf933509f57ec679d9b35a1e7ea43460af4b7fef/billiard-4.3.1.tar.gz", hash = "sha256:c88559b306ee5dc93f8d5f843d07da15d795d67af26720d14ee9d09f09eb0b22", size = 166478, upload-time = "2026-10-05T06:38:30.496Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/bb/b1/360936699597063a2d9863aa94ccc3a6951e906ced032a9a1d8e562fc56b/billiard-4.3.1-py3-none-any.whl", hash = "sha256:2c7075283191d9c0add66cf8fca8e06ba599e75fe7319b67186759f8877dfdaf", size = 90178, upload-time = "2026-10-05T06:38:28.373Z" }, +] + +[[package]] +name = "bleach" +version = "6.4.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "webencodings" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/48/3c/e12ac860709702bd5ebeb9b56a4fe334f1001246ee1b8f2b7ee28912df7d/bleach-6.4.0.tar.gz", hash = "sha256:4202482733d85cedd04e59fcb2f89f4e4c7c385a78d3c3c23c30446843a37452", size = 204857, upload-time = "2026-06-05T13:01:13.734Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/58/9d/40b6267367182187139a4000b82a3b287d84d745bccd808e75d916920e9d/bleach-6.4.0-py3-none-any.whl", hash = "sha256:4b6b6a54fff2e69a3dde9d21cc6301220bee3c3cb792187d11403fd795031081", size = 165109, upload-time = "2026-06-05T13:01:12.504Z" }, +] + +[package.optional-dependencies] +css = [ + { name = "tinycss2" }, +] + +[[package]] +name = "celery" +version = "5.5.3" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "billiard" }, + { name = "click" }, + { name = "click-didyoumean" }, + { name = "click-plugins" }, + { name = "click-repl" }, + { name = "kombu" }, + { name = "python-dateutil" }, + { name = "vine" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/bb/7d/6c289f407d219ba36d8b384b42489ebdd0c84ce9c413875a8aae0c85f35b/celery-5.5.3.tar.gz", hash = "sha256:6c972ae7968c2b5281227f01c3a3f984037d21c5129d07bf3550cc2afc6b10a5", size = 1667144, upload-time = "2025-06-01T11:08:12.563Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/c9/af/0dcccc7fdcdf170f9a1585e5e96b6fb0ba1749ef6be8c89a6202284759bd/celery-5.5.3-py3-none-any.whl", hash = "sha256:0b5761a07057acee94694464ca482416b959568904c9dfa41ce8413a7d65d525", size = 438775, upload-time = "2025-06-01T11:08:09.94Z" }, +] + +[package.optional-dependencies] +redis = [ + { name = "kombu", extra = ["redis"] }, +] + +[[package]] +name = "certifi" +version = "2026.7.22" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/a3/c2/24167ea9858356b47a87a50d39908bfdb72ceeefe0041586e704e5376b3a/certifi-2026.7.22.tar.gz", hash = "sha256:741e2c3b351ddf169a738da9f2c048608ff7f2c5cc02f1ebc6b118bb090d5d55", size = 138112, upload-time = "2026-07-22T03:35:12.644Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/0b/a7/71ac2cff56fec219ed242bb11b8efb69fcc4bec75db06fb7bfe35de520e6/certifi-2026.7.22-py3-none-any.whl", hash = "sha256:62f22742b58a1a33014a2b6b706588a8d7e2a88ae7bd1a6ebe8c992928483775", size = 136983, upload-time = "2026-07-22T03:35:11.276Z" }, +] + +[[package]] +name = "cffi" +version = "2.1.1" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "pycparser", marker = "implementation_name != 'PyPy'" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/9e/ef/008a1939e372c06329a3fce4279c02f328488f3526744906eeec3da7ad5f/cffi-2.1.1.tar.gz", hash = "sha256:dd31f52ea1086513bb9df30f8fcee9b8918323ae067a3d5b78bc826a000712be", size = 530807, upload-time = "2026-08-03T21:21:18.939Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/70/d2/16d99a0c4948febc0ebd133a13b2f688ff7f8cb04da971e1128872ce0c03/cffi-2.1.1-cp311-cp311-macosx_10_15_x86_64.whl", hash = "sha256:c8d2c9fd1f2d16f780d15127abb050d13d1a76c03a4bd87d7e4980e45e511e12", size = 183838, upload-time = "2026-08-03T21:19:29.637Z" }, + { url = "https://files.pythonhosted.org/packages/cd/95/31b535a9f0220ae9f357de4a08d57ce89cb417653c2fd9f075f50822a388/cffi-2.1.1-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:398aff33cee2767e3e781d2554c54bd0dff386bb437581e0d8011fde1a942ec1", size = 184168, upload-time = "2026-08-03T21:19:30.764Z" }, + { url = "https://files.pythonhosted.org/packages/ad/5a/4707a0dc1f203f5dde5a907b0d4e3c25d71120241048bd5bc6f1bb9d4e71/cffi-2.1.1-cp311-cp311-manylinux1_i686.manylinux2014_i686.manylinux_2_17_i686.manylinux_2_5_i686.whl", hash = "sha256:154852545011f779917b11c78db2358d095da62a9a172b78ad0a583ee5adc0d0", size = 211805, upload-time = "2026-08-03T21:19:31.867Z" }, + { url = "https://files.pythonhosted.org/packages/ad/66/c19feabb28485b6e0bbaaafa90837a1ef5d302e90f2178bd33f17a49879b/cffi-2.1.1-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:3311ed60d36f83378794e1009ac6258bafbf81f7888b4caa7b35a521e3f95813", size = 218716, upload-time = "2026-08-03T21:19:32.896Z" }, + { url = "https://files.pythonhosted.org/packages/a7/92/500760486c8baab49a7a8a58ba7fc3355ec3974b454b8a09e528efde9e1d/cffi-2.1.1-cp311-cp311-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl", hash = "sha256:6e192623c49c94421616a5778fba35cf0d5a8d000650c1967ef4448ee5cdd990", size = 205569, upload-time = "2026-08-03T21:19:34.142Z" }, + { url = "https://files.pythonhosted.org/packages/a5/a7/a67c733254d6e7373f7822f8082d8d6beade791e0cf12a7611f376fa61c7/cffi-2.1.1-cp311-cp311-manylinux2014_s390x.manylinux_2_17_s390x.whl", hash = "sha256:a6e721d4b0e45d5b65e87534470e67b18dcd092c83f68fba09f152b9cbc061af", size = 204907, upload-time = "2026-08-03T21:19:35.174Z" }, + { url = "https://files.pythonhosted.org/packages/f7/a4/4399daaf8f7dfee9d7c3327fdb0426ee041cc63edc358b93911ceb2bfc7a/cffi-2.1.1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:34e261f78cb6ceaaa36f42f2613f4380d94d9c759a9c73c769ee6e0247364632", size = 217807, upload-time = "2026-08-03T21:19:36.286Z" }, + { url = "https://files.pythonhosted.org/packages/28/f7/dabe6da2466ecbd82dc62e7342dc6b1065dad990c06f00f0ede9ebf2a0ed/cffi-2.1.1-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:7225e4514edb64eb6740324353e0da0711954fd8d7da4576755b1c6e09b697cd", size = 221252, upload-time = "2026-08-03T21:19:37.416Z" }, + { url = "https://files.pythonhosted.org/packages/ce/87/616202d8e51342c07d2534c510111c4cc37201775ce8f60802c9335d1edd/cffi-2.1.1-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:df913725b79db7bcf03448f36b7bf8815363417d5b58deecf9305e3e30f0f21a", size = 214214, upload-time = "2026-08-03T21:19:38.507Z" }, + { url = "https://files.pythonhosted.org/packages/b4/c6/ab025d75d2c26c19b087c0124e75ee31cb65032f4fe345d356d8c507ab97/cffi-2.1.1-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:f5cfbc5fe74540d335175b656c725d74d90e3730c626d92575eea35029d9afaa", size = 219408, upload-time = "2026-08-03T21:19:39.809Z" }, + { url = "https://files.pythonhosted.org/packages/db/e2/7e8109f65445bdc673a7b54f02c677de462db75674220fd1335efc8eb598/cffi-2.1.1-cp311-cp311-win32.whl", hash = "sha256:f8ec5e643a9a937f64e1999eb9f75d072263751912dc5cd06d3c85f8f44be7c3", size = 174470, upload-time = "2026-08-03T21:19:41.246Z" }, + { url = "https://files.pythonhosted.org/packages/73/c0/77ba02423c2f7d7091143c45cd49e0e6575c4c1967394bb542bd923a9b74/cffi-2.1.1-cp311-cp311-win_amd64.whl", hash = "sha256:42f6930c31dc7f50732c9ae793c2786c7b6b044195967bbdde40bb9be81c4cc0", size = 185096, upload-time = "2026-08-03T21:19:42.615Z" }, + { url = "https://files.pythonhosted.org/packages/7c/47/9f1f85f9672ceda4984dc6c4f8824e8558992a2972c3d3c81fb8eb28d4ba/cffi-2.1.1-cp311-cp311-win_arm64.whl", hash = "sha256:c7659f22557c5a0bc4855cd635f55edec690cc008a40768527762cb9fb263455", size = 179941, upload-time = "2026-08-03T21:19:43.747Z" }, + { url = "https://files.pythonhosted.org/packages/10/69/43965eccfdead3b9220015fd1320e117be8c6ed01a62ffab76eeb752f5d5/cffi-2.1.1-cp312-cp312-macosx_10_15_x86_64.whl", hash = "sha256:c8c69575568085ba0b1b10c0249d779a214aea6f6522e949a0fc9fb0fcb449d0", size = 184821, upload-time = "2026-08-03T21:19:44.887Z" }, + { url = "https://files.pythonhosted.org/packages/54/7d/16e5a096677b5e313ca80cd5e5170efa3ea44624a82bb111925522da64b1/cffi-2.1.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:f81b3b8f3d4e343550fa4baa0e479bba9f2d29ce9c2e9b51d1ce1718d7442fcf", size = 184719, upload-time = "2026-08-03T21:19:46.129Z" }, + { url = "https://files.pythonhosted.org/packages/56/e6/8941622732edec876dd17d0453dce07317ae96db34f2ec1436c9d3785986/cffi-2.1.1-cp312-cp312-manylinux1_i686.manylinux2014_i686.manylinux_2_17_i686.manylinux_2_5_i686.whl", hash = "sha256:811bd1e21d32de12efca32393a0ab3f5133b54fce9bd44b8bd77ab07da14bf6a", size = 214799, upload-time = "2026-08-03T21:19:47.218Z" }, + { url = "https://files.pythonhosted.org/packages/44/de/f98430906df1545ffde0d543dd124a7a439bc2cd32b36b9c53f805df7333/cffi-2.1.1-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:68e62fe11f30d5ca8289242866f0a5291402d8529ca2178ab8afc5c9694ae890", size = 222389, upload-time = "2026-08-03T21:19:48.331Z" }, + { url = "https://files.pythonhosted.org/packages/6a/5b/717f1526b9957b34456313c31645c5b82b8fb5c3fe9e4752999be7128bfc/cffi-2.1.1-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl", hash = "sha256:4a7c934f7360e8cd64fe9efadcbd10c7c6364f531e432b9a4bf5ccbc9e0e8b50", size = 210249, upload-time = "2026-08-03T21:19:49.543Z" }, + { url = "https://files.pythonhosted.org/packages/64/b3/f8aa4f3e34986c7e4ec45072d1b1b9dd295b6b18007b45518d79726dd725/cffi-2.1.1-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.whl", hash = "sha256:3143d81e29e1e20a9ce10901ec369012947876596f75a222235965f2b7ae832e", size = 208775, upload-time = "2026-08-03T21:19:50.918Z" }, + { url = "https://files.pythonhosted.org/packages/b1/db/dceb9dd5b231e1da801793f8acc9f3c52a7e1afe40bb1aae37e02b0faad5/cffi-2.1.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:c1453022f490d2459a11819d83ad1d586e9ff65a12ac3e705ffebd46d3685dcf", size = 221822, upload-time = "2026-08-03T21:19:52.054Z" }, + { url = "https://files.pythonhosted.org/packages/a0/d2/6cd24ae3be000a634109c247d1475d62e5616d0dc78c82770942ec384248/cffi-2.1.1-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:208f941bb9d18e768138677f0a6d2ce01f590df56043dda1df1535ac57c88517", size = 225232, upload-time = "2026-08-03T21:19:53.109Z" }, + { url = "https://files.pythonhosted.org/packages/cb/52/3fa190537004dd7f0ab860a6dc7c0175b8667f68d1e618a46f5498d30250/cffi-2.1.1-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:210019b6c7cf07f081b4c54635c8cf744377001350e29cc0f81c4377b4797735", size = 223597, upload-time = "2026-08-03T21:19:54.515Z" }, + { url = "https://files.pythonhosted.org/packages/80/fb/0bb75b7039588c074b37ae99f40d9bfddf990ecb2fbc346ebccd2e56b9be/cffi-2.1.1-cp312-cp312-win32.whl", hash = "sha256:046bfc24911b37851ee1b51aab8bffe713d89c68c6a057b09484ce9fd5f69b4e", size = 175292, upload-time = "2026-08-03T21:19:55.566Z" }, + { url = "https://files.pythonhosted.org/packages/d9/79/615cc094e2fb508cade7de88d3b4f6c4ec2bab695c97bce9153dc65aadf5/cffi-2.1.1-cp312-cp312-win_amd64.whl", hash = "sha256:f53e442b08449d42821fa4a4fba000095af9f62742a500f978a9f557ec44339a", size = 185919, upload-time = "2026-08-03T21:19:56.89Z" }, + { url = "https://files.pythonhosted.org/packages/70/c6/d0ea84713fe46b243a436a18fcd47d639732747e21635c8a27191b06dc30/cffi-2.1.1-cp312-cp312-win_arm64.whl", hash = "sha256:7bde5e4cc5c10140859842b9d383af292b22639a4dffb725314baf45968cef80", size = 180093, upload-time = "2026-08-03T21:19:58.155Z" }, + { url = "https://files.pythonhosted.org/packages/9d/f4/035513d4117049066b4779dc3b7c0c0fdad175fa13731c9f4003f1cd1478/cffi-2.1.1-cp313-cp313-ios_13_0_arm64_iphoneos.whl", hash = "sha256:b5bdfd1c873d4e093aabc0ca84c4ca6dbc4f752afb5c86f146d9742580c9da2e", size = 194248, upload-time = "2026-08-03T21:19:59.399Z" }, + { url = "https://files.pythonhosted.org/packages/76/af/2aeb4dbb5fc41a04161ae9ff1518de7cec08e164f44a8ce6a4cf7fd2cd1d/cffi-2.1.1-cp313-cp313-ios_13_0_arm64_iphonesimulator.whl", hash = "sha256:31348097ff5bbe827ccc41795d4dd099d9f0625e7def00ee653c137a490c2a6c", size = 196908, upload-time = "2026-08-03T21:20:00.746Z" }, + { url = "https://files.pythonhosted.org/packages/a7/46/2e5fdde8555706dd98139a910ca11be02809f3f605ce956f655d0214e100/cffi-2.1.1-cp313-cp313-macosx_10_15_x86_64.whl", hash = "sha256:9d2055050ea716bd38b7f7f1579c275386646b4894c155a3e2f3cd62ed41b7c6", size = 184805, upload-time = "2026-08-03T21:20:02.02Z" }, + { url = "https://files.pythonhosted.org/packages/55/41/4c7042f317b9217502988f0873af87e16ad606dc20f84e546e3e6ce9764c/cffi-2.1.1-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:19ee6127ee34de7d83ce3d371ebc5ed91addbdcc39f9ab15ce4eb35a4e534971", size = 184764, upload-time = "2026-08-03T21:20:03.141Z" }, + { url = "https://files.pythonhosted.org/packages/43/1f/1c3d90d91811c8f86ced9ed637956c54bfe5b79ca98fe976d7f8c8979f6b/cffi-2.1.1-cp313-cp313-manylinux1_i686.manylinux2014_i686.manylinux_2_17_i686.manylinux_2_5_i686.whl", hash = "sha256:6a8dddef476fab96d066d578fc88526767b836ab5ab21754e1d5bf3879c31c7c", size = 214722, upload-time = "2026-08-03T21:20:04.377Z" }, + { url = "https://files.pythonhosted.org/packages/37/6f/3b5ce4c3b2192d250f04908f2bfd91ef34552ec8f7716a5d4abdb8d67bb2/cffi-2.1.1-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:f16c709686a78c727bbbf059f92b0bf41c6fc60deec706d2dc19f529175a6125", size = 222369, upload-time = "2026-08-03T21:20:05.544Z" }, + { url = "https://files.pythonhosted.org/packages/02/10/4b3c75dde3d9663c9e02ba05c2668b954f671d4bbe346413ca8c696b295a/cffi-2.1.1-cp313-cp313-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl", hash = "sha256:fcd22650c908d7b7da162bbfaab594a1227a15d1643a98c68b122ac642fa2264", size = 210175, upload-time = "2026-08-03T21:20:06.75Z" }, + { url = "https://files.pythonhosted.org/packages/df/62/14f74b9543e605d17701dc797b815958b8bb70b7624ce1b832ddad48ed6c/cffi-2.1.1-cp313-cp313-manylinux2014_s390x.manylinux_2_17_s390x.whl", hash = "sha256:aa9511c62d14da7aacc9b4bf51f3f697a621e83b2d6919008243c3aad168eea3", size = 208670, upload-time = "2026-08-03T21:20:08.04Z" }, + { url = "https://files.pythonhosted.org/packages/95/95/86342356ff5953b3fb06f7ef7c5bee212d45e770abc7218d451b9148313c/cffi-2.1.1-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:a931079504ecc49efed7744c476a5c343a92fabf66dec2db95edb1b2fdc770e2", size = 221824, upload-time = "2026-08-03T21:20:09.274Z" }, + { url = "https://files.pythonhosted.org/packages/eb/ff/7b3429ff53aafe931ed8a5fc69f481bbef7ba6de87ddcbb63d08f483f613/cffi-2.1.1-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:a2d7755bef5a12ed488f4ef1f1b69ee9191d7396083b755a5d2295f6edb4768b", size = 225148, upload-time = "2026-08-03T21:20:10.7Z" }, + { url = "https://files.pythonhosted.org/packages/34/34/a95870b9221e09cf4f2ce3178b1a210abdfe63a1bd357da940418d7b8d15/cffi-2.1.1-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:e0bcb7e0f677f543555d2adff3bf19c05f66cdb4796e5ff602442ab2fe3c4ef7", size = 223564, upload-time = "2026-08-03T21:20:12.165Z" }, + { url = "https://files.pythonhosted.org/packages/70/ea/839b50531021a647fb5e929f72cf97bc1ff702b5472166164b5b6e76b851/cffi-2.1.1-cp313-cp313-win32.whl", hash = "sha256:334644fbac4eff73d985a17a91226df55d0f394160c4cfb880e084c8f7161cac", size = 175263, upload-time = "2026-08-03T21:20:13.559Z" }, + { url = "https://files.pythonhosted.org/packages/60/a6/8b149b2c3f2e11aaa1618ef64500b45f50f22c57a977a4dff1aff1f91042/cffi-2.1.1-cp313-cp313-win_amd64.whl", hash = "sha256:1aa5645c30469b09530c4ebca77ebf8f17618293c58f8549cb1a543a50236e7d", size = 185688, upload-time = "2026-08-03T21:20:14.69Z" }, + { url = "https://files.pythonhosted.org/packages/01/9a/11f687cb39d6a3504060d5242f04f48c735afb4d3d533958a20594890cb2/cffi-2.1.1-cp313-cp313-win_arm64.whl", hash = "sha256:63bbfd5ded17c4840ac07cd8f1c21ba9d9708141f840b324f422f41b207e3973", size = 180078, upload-time = "2026-08-03T21:20:15.917Z" }, + { url = "https://files.pythonhosted.org/packages/d3/7b/d6bbf82b8b96e7391438898c42f5bd96dd02030fd5b64937d248220003e2/cffi-2.1.1-cp314-cp314-ios_13_0_arm64_iphoneos.whl", hash = "sha256:7dbb61fe3a7699468030f71bbe5f8a0e326a151daa91beb11a6fc1f980c55e1c", size = 194064, upload-time = "2026-08-03T21:20:17.148Z" }, + { url = "https://files.pythonhosted.org/packages/94/e6/bcc91b283be94735e268487a054004f0aa19947b6348fa367db53230abc8/cffi-2.1.1-cp314-cp314-ios_13_0_arm64_iphonesimulator.whl", hash = "sha256:f24fb43132a4c6b4cb4eb029492919b2db645be6808d738f244fd146c03c32cb", size = 196720, upload-time = "2026-08-03T21:20:18.268Z" }, + { url = "https://files.pythonhosted.org/packages/d9/99/c4b0c17cacdc9c3b8f280026286a9826d6a208c0f047591a3c3ce99b91fd/cffi-2.1.1-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:d28630f5854ab07ab1fd4aba756de52326c82e6be15d414b12793f1975048b54", size = 184964, upload-time = "2026-08-03T21:20:19.708Z" }, + { url = "https://files.pythonhosted.org/packages/b3/a9/9db617d05d7367c1ad0ab00b3aa6e6f9281edd689b4ee9ea0e5a84e89c97/cffi-2.1.1-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:661c298b4821edebead0c91edd2b00374d67ad7c5a1f7a91d4442633b79d6a72", size = 184962, upload-time = "2026-08-03T21:20:20.833Z" }, + { url = "https://files.pythonhosted.org/packages/67/b8/b42132ca113dc567d37684437b46ca1dafc885902b02a110a02d5b511857/cffi-2.1.1-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:58acb8ab8e295e6c5ea12f888cbb13cf21511ef2a3303a23f4325c29d17fe5c1", size = 222328, upload-time = "2026-08-03T21:20:22.118Z" }, + { url = "https://files.pythonhosted.org/packages/80/10/c5c0cbf0a657aecf59ef511409734230bf556f05a0d6c9eed7aa5c0a0166/cffi-2.1.1-cp314-cp314-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl", hash = "sha256:456a61fa52d579ebf9df2e9552ead5129855dbaff6c1e5a9b1bc408809bdc062", size = 209985, upload-time = "2026-08-03T21:20:23.401Z" }, + { url = "https://files.pythonhosted.org/packages/d5/6c/bfa0b87b03b9238148beca990292843c9396ba069b54496596594173de7b/cffi-2.1.1-cp314-cp314-manylinux2014_s390x.manylinux_2_17_s390x.whl", hash = "sha256:a4f00aa42f75d6e4595e8866e748cc1705adc0cddfeb2ca86d0d03993d63ba03", size = 208530, upload-time = "2026-08-03T21:20:24.628Z" }, + { url = "https://files.pythonhosted.org/packages/e9/02/4e7d553a7ac4b4238b38b3c1b80d486e9d4436f8d2acbf87a0997fe3f402/cffi-2.1.1-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:b0431303acaea1089ad4b3e9ce4e6518193def1118d4073ca848635ee4ea2e96", size = 221525, upload-time = "2026-08-03T21:20:25.758Z" }, + { url = "https://files.pythonhosted.org/packages/82/1d/a4aaf9babd75acb4d5f223bff71533bee748dd770a382619a798960ee9ba/cffi-2.1.1-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:64faea20f4e2613363a1a9b9c7dd73058f3ecd00133a511e72ad7c511658f527", size = 225053, upload-time = "2026-08-03T21:20:26.985Z" }, + { url = "https://files.pythonhosted.org/packages/81/10/5dc0e7bdd18e22107054288283380fc97a06ae3f1656a106908d666a3c88/cffi-2.1.1-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:5c58fe613dc5e5336357eff555824a314d8e43282600435c8d1cb6a7a2fedd13", size = 223213, upload-time = "2026-08-03T21:20:28.277Z" }, + { url = "https://files.pythonhosted.org/packages/0b/e9/d0061c364cde06ee43168a0d076ac1da512cbc380d44767b844ba34fe2b6/cffi-2.1.1-cp314-cp314-win32.whl", hash = "sha256:1a18a57b58cfb21fc28d72e876acf10eaed67a1ed96226f92af4df681d571c4c", size = 177682, upload-time = "2026-08-03T21:20:44.288Z" }, + { url = "https://files.pythonhosted.org/packages/a7/06/1c3e01e3ba14c39f6d10bfbac52753b7e22259e38088e5cfe1d704918690/cffi-2.1.1-cp314-cp314-win_amd64.whl", hash = "sha256:3222ba5d678f80a030e6afbcc33dc1ae5cb45facabb61cee2c7016b8432fde48", size = 187949, upload-time = "2026-08-03T21:20:45.623Z" }, + { url = "https://files.pythonhosted.org/packages/87/5b/da4e39efe18eeb89cf580ea9cfc66b6a7c3eadb808fc0cc1d3a295cb5a5d/cffi-2.1.1-cp314-cp314-win_arm64.whl", hash = "sha256:ab36d55f9ed2d067327667c2fea18dda018eb628dd6347aa01dda6cf1f5d3836", size = 182947, upload-time = "2026-08-03T21:20:46.955Z" }, + { url = "https://files.pythonhosted.org/packages/23/59/40338bf421c5accea1d45158170c87006ef1cd371b05c077e76476949728/cffi-2.1.1-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:7750c6449dff7864bb9bb27ddfb0267756189201a3afc911d82b3caacd70dfc3", size = 188504, upload-time = "2026-08-03T21:20:29.495Z" }, + { url = "https://files.pythonhosted.org/packages/7d/47/5ecf1023850036e674c77ec4de86182d309ae344e39e7cba984b7df5d647/cffi-2.1.1-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:0beceaabe56af686895136a2de78db54ecd8e4046b236b8fd6d6cb61389e9bf2", size = 188259, upload-time = "2026-08-03T21:20:31.291Z" }, + { url = "https://files.pythonhosted.org/packages/2a/9c/92934c3bea9f785b23eba304538c0b4d37a2a96d2431eb3a1bc87a11aa19/cffi-2.1.1-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:49cbc70e6542d4ccccb936558d1064a8012541e78f821f955cff24e357776c94", size = 223864, upload-time = "2026-08-03T21:20:32.571Z" }, + { url = "https://files.pythonhosted.org/packages/4d/45/ba4c93527bc38616a8bd36488acb69a2212d60486794f0c1f318949bbb76/cffi-2.1.1-cp314-cp314t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl", hash = "sha256:e2d65b31f36619cda3999b78b2aa9632e76b78448e7a56fc4240824200e7c4fc", size = 211538, upload-time = "2026-08-03T21:20:33.808Z" }, + { url = "https://files.pythonhosted.org/packages/80/e9/b6ef565e452acb932fb0cb5443f44a78efbd1233e566f02b5a83855e9115/cffi-2.1.1-cp314-cp314t-manylinux2014_s390x.manylinux_2_17_s390x.whl", hash = "sha256:28907ab9bfb6aa13184cfc17c6b8e1023c5ab6fd7076d8c20a35e59fe04f8f29", size = 210688, upload-time = "2026-08-03T21:20:34.974Z" }, + { url = "https://files.pythonhosted.org/packages/9a/95/eff5f0cee78d2eabc7eebffec40d3fc1876b5f3c95582e018bb4b99601f2/cffi-2.1.1-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:51b31d1c98274844cfd7838ce00bfc27c7423a4dc00fc0772fc3331c2cc90676", size = 223803, upload-time = "2026-08-03T21:20:36.564Z" }, + { url = "https://files.pythonhosted.org/packages/fa/01/579d39fb8bef00a335a23d83757b44feb24cd6345a2c451b64cb67b9c362/cffi-2.1.1-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:5e7cecbaadb83884793e05828cee59b210b24583b9c7425d0ba6a754fe22eb4e", size = 226763, upload-time = "2026-08-03T21:20:37.816Z" }, + { url = "https://files.pythonhosted.org/packages/8d/b0/0b44f47c60b01b57b6e2bbd92343f13a85a1d93bc46ccf6e47e244acd99c/cffi-2.1.1-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:25792eac27877609e7bb06d42ff88278a6624fff2ba9bbb523c09616b117e80f", size = 225688, upload-time = "2026-08-03T21:20:38.959Z" }, + { url = "https://files.pythonhosted.org/packages/eb/d2/3b7176cb570a1d3e27faf67b72f591af508036e0d8b2be2ef9af9e8c84bb/cffi-2.1.1-cp314-cp314t-win32.whl", hash = "sha256:8ef53b2de9bcb9197d31854256575d59dbac0cba72ac627bb291ef5eceb74be4", size = 182868, upload-time = "2026-08-03T21:20:40.388Z" }, + { url = "https://files.pythonhosted.org/packages/56/78/31f00c1bcd97c9bbf55f1bfdf5bc809a5de8887473e90bb9960dca825e80/cffi-2.1.1-cp314-cp314t-win_amd64.whl", hash = "sha256:616f097f2fe415bc92a247f02e11f634e1f9e9a83d327e3c915c15089c87869e", size = 194104, upload-time = "2026-08-03T21:20:41.725Z" }, + { url = "https://files.pythonhosted.org/packages/7b/1b/58496f2ed0a35de575250c02a43ab3cc2c04d494a88fed31c1cabc0fd176/cffi-2.1.1-cp314-cp314t-win_arm64.whl", hash = "sha256:ad2c86c495b899d862ea0f4b42891b8713a3bd45dd4105c7fd51c2a72f39f3a5", size = 186402, upload-time = "2026-08-03T21:20:43.042Z" }, + { url = "https://files.pythonhosted.org/packages/c1/8f/9ebe220eab48a093d1a5a5e339ab0dc7316eef3bb04d63c42f0251b61f50/cffi-2.1.1-cp315-cp315-ios_13_0_arm64_iphoneos.whl", hash = "sha256:dddad92b554513a31f272570678ba307fb9f618f05e3d4a5eacafff9eae03e1d", size = 194043, upload-time = "2026-08-03T21:20:48.179Z" }, + { url = "https://files.pythonhosted.org/packages/ff/69/844bad3ece306c4782c2ecb93597035b6690d48704b803914c199da1e8b3/cffi-2.1.1-cp315-cp315-ios_13_0_arm64_iphonesimulator.whl", hash = "sha256:da0e573f9f97159390c89d9f1a9e41908b66d408cc5b58d08cf3847d844c531b", size = 196737, upload-time = "2026-08-03T21:20:49.457Z" }, + { url = "https://files.pythonhosted.org/packages/1b/8a/af668013284634733f02d683458a0728739c7d6ddb5e14cb0c20832266fe/cffi-2.1.1-cp315-cp315-macosx_10_15_x86_64.whl", hash = "sha256:fb92203a88b3d3053034db775110081c49d28be6551923805e039924093761e4", size = 184933, upload-time = "2026-08-03T21:20:50.639Z" }, + { url = "https://files.pythonhosted.org/packages/0c/75/2f5207ff6d1a613133b23a5203cc0c2a628313b5eb3974d7956ae3c57950/cffi-2.1.1-cp315-cp315-macosx_11_0_arm64.whl", hash = "sha256:2ae64be792b8966f2c69538199728b290e34726562896df1e5dc8ffd8d8188e8", size = 185002, upload-time = "2026-08-03T21:20:52.173Z" }, + { url = "https://files.pythonhosted.org/packages/e2/31/9e1313b0a6e30e91b3b3d3fff51ae99c857c07738e3afcce1f7334e1b7ab/cffi-2.1.1-cp315-cp315-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:507a24c282e0f42f8ed737cf048572cbf580468da5555764a8331735e9c736b6", size = 222271, upload-time = "2026-08-03T21:20:53.462Z" }, + { url = "https://files.pythonhosted.org/packages/50/e3/f6234a833e6e08c7007003074723c406559eecf9b48dfc97471e5a8eb7a0/cffi-2.1.1-cp315-cp315-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl", hash = "sha256:246fa40ce8645a614ff682e0b70f37134e460eaf93a775e0cbe3cca585a67a80", size = 209919, upload-time = "2026-08-03T21:20:54.783Z" }, + { url = "https://files.pythonhosted.org/packages/0d/fc/5f74e293fced6edb51af3a46c4ccf6c23c9943774ecb375ddbd522c76add/cffi-2.1.1-cp315-cp315-manylinux2014_s390x.manylinux_2_17_s390x.whl", hash = "sha256:471cee653ae88de62096552e6d24ccb4a5adb8c8c9f10b5054d0122c15bf2779", size = 208529, upload-time = "2026-08-03T21:20:56.066Z" }, + { url = "https://files.pythonhosted.org/packages/44/16/29e6d01b388bef055ecd6ca8244b3f4d336bd09e92d5d892187b9601084e/cffi-2.1.1-cp315-cp315-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:aeae0e330c9f6acd681f647d46cefd30c29f93e3392882e792e82080c9691399", size = 221630, upload-time = "2026-08-03T21:20:57.336Z" }, + { url = "https://files.pythonhosted.org/packages/a4/18/fa7f1f6857d5eb88a4ca99ffcbfb7c387a287ccc154c64a73e86314745d7/cffi-2.1.1-cp315-cp315-musllinux_1_2_aarch64.whl", hash = "sha256:42a494cee34437f05546455144f2b5d9ac09b1face62bcfce597d2e521066688", size = 225134, upload-time = "2026-08-03T21:20:58.675Z" }, + { url = "https://files.pythonhosted.org/packages/e0/9f/e8e3dfa04a1b4c241f8c91faacad872b4d4efd051d49764ad4e2fd4b9fea/cffi-2.1.1-cp315-cp315-musllinux_1_2_x86_64.whl", hash = "sha256:cc572dace3f60ef98d7b12ff411d20f5362feb31a0439eab0085bbfd349982d7", size = 223197, upload-time = "2026-08-03T21:20:59.968Z" }, + { url = "https://files.pythonhosted.org/packages/f8/7e/8debeb04f1ab9fe2a6963964cd6f1aaf7192627b83926586a6a4e089c9fa/cffi-2.1.1-cp315-cp315-win32.whl", hash = "sha256:4f42141fc14250de6dde5ee7ea4432be017252d91f19c5ad043c084cea629cac", size = 177683, upload-time = "2026-08-03T21:21:14.901Z" }, + { url = "https://files.pythonhosted.org/packages/e0/31/5158704cc474ab65c1647932e88be78dc0873f47130e253be38bcaf13d01/cffi-2.1.1-cp315-cp315-win_amd64.whl", hash = "sha256:e6e8cff14d6fb0be70a09c0bdc58096f501952d04624ebf867e0e56da2df8960", size = 187897, upload-time = "2026-08-03T21:21:16.108Z" }, + { url = "https://files.pythonhosted.org/packages/cc/4b/b3a2da8570c704ffc0f9762cdc3ec0f02c8573798e0b5cf7f11c82bbb70f/cffi-2.1.1-cp315-cp315-win_arm64.whl", hash = "sha256:27350daa11d4f10c540e6e89dada4c54feb7256ad03e9a4dc075ebad7ba360d1", size = 182935, upload-time = "2026-08-03T21:21:17.271Z" }, + { url = "https://files.pythonhosted.org/packages/d0/ef/5443574510a1207e6f6bc38ba6e1f1de36cb48fef07b2728bb896a21f430/cffi-2.1.1-cp315-cp315t-macosx_10_15_x86_64.whl", hash = "sha256:c26608d2222fb1e94487e4a387d85f13eb55d5ed725cb25a0c589ac4ee60e7bc", size = 188464, upload-time = "2026-08-03T21:21:01.163Z" }, + { url = "https://files.pythonhosted.org/packages/7e/ae/a56fa8c4686ad50e148fcbc8d3ae0d03915ff5c30d795058988c24118cef/cffi-2.1.1-cp315-cp315t-macosx_11_0_arm64.whl", hash = "sha256:4be96343e422f2dfcd12ab5c9f5aebe03f82f737c6bffeca6830b3875cb44aab", size = 188262, upload-time = "2026-08-03T21:21:02.382Z" }, + { url = "https://files.pythonhosted.org/packages/53/b2/6187f46f2912276a3ae284076109cc5c8680482f11f766ccf26db4a86427/cffi-2.1.1-cp315-cp315t-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:937c0052c05a31ca1daf18de3158eed4dbfcb9cc107adbea227728d647be701e", size = 223779, upload-time = "2026-08-03T21:21:03.553Z" }, + { url = "https://files.pythonhosted.org/packages/8a/f6/c3ad28bd19f77047a03084424fbd4cbe997303267c14423737324be0385d/cffi-2.1.1-cp315-cp315t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl", hash = "sha256:df423d40ee8654634421812bc3b196da3f9bd7d32929da813f8394c4348a5358", size = 211520, upload-time = "2026-08-03T21:21:04.863Z" }, + { url = "https://files.pythonhosted.org/packages/a0/cd/ccac9013a5bd9fd764de118674ab9c805b5ca10c19270d90ee273f8b2240/cffi-2.1.1-cp315-cp315t-manylinux2014_s390x.manylinux_2_17_s390x.whl", hash = "sha256:a730a083190634c65cca36ba5f489531576ebd79bcd5c8e172130f6453127231", size = 210673, upload-time = "2026-08-03T21:21:06.223Z" }, + { url = "https://files.pythonhosted.org/packages/52/86/2976131c639aead931c5bee5aba67e4b09fbeb8018b6f282f70803f923a7/cffi-2.1.1-cp315-cp315t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:363e05fa78e15116c3c32c210ee36884fd6b9afa6d440e47112c3bd511d64cb6", size = 223835, upload-time = "2026-08-03T21:21:07.539Z" }, + { url = "https://files.pythonhosted.org/packages/ac/0c/33a7aeab2f9c76918c52e084beb39c570db3588133412929e8ec06fab90b/cffi-2.1.1-cp315-cp315t-musllinux_1_2_aarch64.whl", hash = "sha256:770de9db11e84213beec501cfcaa013b019820ca881e03344dea5844f7876d94", size = 226705, upload-time = "2026-08-03T21:21:08.774Z" }, + { url = "https://files.pythonhosted.org/packages/e3/26/2cde30fdde421130bfc18f70395731a6e6b2053c6a1978a5258ff04e72fa/cffi-2.1.1-cp315-cp315t-musllinux_1_2_x86_64.whl", hash = "sha256:7da0c5eff80f0197f3b3d1232ec5a682a9325f4ae9016a78f5f5ca35f9ced1f5", size = 225539, upload-time = "2026-08-03T21:21:09.911Z" }, + { url = "https://files.pythonhosted.org/packages/6d/cd/a361394c94b2129d604bb846f624a8e88255a3ee33129c434a00d715e64f/cffi-2.1.1-cp315-cp315t-win32.whl", hash = "sha256:06c72bb76605a4b0cd0aad6930b69d4baf7dd5d806cfc409b824191099700e66", size = 182707, upload-time = "2026-08-03T21:21:11.226Z" }, + { url = "https://files.pythonhosted.org/packages/9b/b5/ba2b299993c26577d529b6ae29841f9e15b9fcf004d65f423f4fcf94ade9/cffi-2.1.1-cp315-cp315t-win_amd64.whl", hash = "sha256:d9c275eaacd24aa73f94ffd6de08fc3f932424d8b6c376f4bed7cde376fe7bc3", size = 193772, upload-time = "2026-08-03T21:21:12.39Z" }, + { url = "https://files.pythonhosted.org/packages/aa/29/35e016098c814cd93de9cd320c66b5bfba14dc6ecedd3cb518fa7c408c69/cffi-2.1.1-cp315-cp315t-win_arm64.whl", hash = "sha256:d18e5ac0f2f03f4f518d3e23db0f0cad7faa1da8620e9c09461d443bbf6e6692", size = 186360, upload-time = "2026-08-03T21:21:13.636Z" }, +] + +[[package]] +name = "charset-normalizer" +version = "3.5.2" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/33/1c/f41d4e74c28ab327ff3acd36053f7ea506c55872d7a90b0fa71aa3ab0c89/charset_normalizer-3.5.2.tar.gz", hash = "sha256:39de2a259fc954455c57274dc94c79d5842774e1247a016aff30bc0efed0f4ef", size = 172659, upload-time = "2026-09-30T04:39:23.398Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/22/67/6a0b94a7960d5e1b5eacd2fb529f3fccc47db4644f7f0a7cfdcfc3be578a/charset_normalizer-3.5.2-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:3d21b8b13c7592db2ac5e544a6d83187b995257472b0c9e8351b6d507ae37ed6", size = 370642, upload-time = "2026-09-30T04:35:06.91Z" }, + { url = "https://files.pythonhosted.org/packages/fb/94/01009e13b94041599004edf32e56e382c24e570f60f79bab8efe45cfe1eb/charset_normalizer-3.5.2-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:d760fe2a4d7c3b226cb9026d6a842868d52a7901bd98420e1baf14e80da85cf5", size = 259280, upload-time = "2026-09-30T04:35:08.448Z" }, + { url = "https://files.pythonhosted.org/packages/66/85/3b5358f60a13210f0b67d3755c168ef758701b021e655d88d4da28554467/charset_normalizer-3.5.2-cp311-cp311-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:c9790464842f85f437dbbb54417eda1e0e6bfc52dd8d22d6fd1c994b73b2dc74", size = 245335, upload-time = "2026-09-30T04:35:10.104Z" }, + { url = "https://files.pythonhosted.org/packages/74/75/77c1c479b09ecd751d1e767b251ea5c14d4d50ff757bf404afab2692f600/charset_normalizer-3.5.2-cp311-cp311-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:4685902cf26edf013ed7a3da0f426ebba7a00ebb9541386d835afbf002c11cab", size = 291707, upload-time = "2026-09-30T04:35:11.575Z" }, + { url = "https://files.pythonhosted.org/packages/0b/0d/363f78cacb70f58f15f4b083961bbd9d292f335d3f5c66fc4f1cfe69cb90/charset_normalizer-3.5.2-cp311-cp311-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:4495c5002a7b28557e7e222e77e0b661183e432b7d6d2e788101e3f240e05b8c", size = 286747, upload-time = "2026-09-30T04:35:13.022Z" }, + { url = "https://files.pythonhosted.org/packages/e4/ed/cf505d3011ffceb12c2067a7a5d3cfe92b875d4d44bb0ff0d69375e2c184/charset_normalizer-3.5.2-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:211d5a3eb6af8f513b8d4ca19a8c1b7accab1b5f0d3175f9826b03c1a920dc1f", size = 269972, upload-time = "2026-09-30T04:35:14.606Z" }, + { url = "https://files.pythonhosted.org/packages/15/d8/f0a93a431d170e7ca681d4f6650fee3de934d18560e474e7267eb4b0f987/charset_normalizer-3.5.2-cp311-cp311-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:ef4fcbf3327382cd4c9f540babd61248208af7b93eec4de397b4d5f58a09e288", size = 269339, upload-time = "2026-09-30T04:35:16.087Z" }, + { url = "https://files.pythonhosted.org/packages/86/bd/9b2bd1c5b7af02462c9752d33994834ff972a96b4c483eefde9e594488e2/charset_normalizer-3.5.2-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:bd16aabe4a02a297c23417aa17ac6299dbd8c49f673bcd645b4929b11f5a4400", size = 261683, upload-time = "2026-09-30T04:35:17.488Z" }, + { url = "https://files.pythonhosted.org/packages/76/a5/cac540ab0fd61f3fec88ad3dbb64509e71424593d73cfdfff5ab3e4db279/charset_normalizer-3.5.2-cp311-cp311-musllinux_1_2_armv7l.whl", hash = "sha256:fb9e68df06293761f9fe66ade60a9bc6d0f5e42b8acf2939a9158af86ab0e5bd", size = 248143, upload-time = "2026-09-30T04:35:18.849Z" }, + { url = "https://files.pythonhosted.org/packages/71/7a/ff467301deef2089fad87f72df9e000a26a78fec7acbb18e1999371b8369/charset_normalizer-3.5.2-cp311-cp311-musllinux_1_2_ppc64le.whl", hash = "sha256:59f63901b0031c3136cf64704dcb21de0bbae62ce2c9529bc39d27665463de37", size = 292358, upload-time = "2026-09-30T04:35:20.326Z" }, + { url = "https://files.pythonhosted.org/packages/ad/77/22d7e785d1e210afc2e2f58600dd1799d17a35665faf84383f002826c5f8/charset_normalizer-3.5.2-cp311-cp311-musllinux_1_2_riscv64.whl", hash = "sha256:304d5463e65a35d7bb0850550e0780395395f6fcf452f04db7d5ca7cecc425ac", size = 268766, upload-time = "2026-09-30T04:35:21.72Z" }, + { url = "https://files.pythonhosted.org/packages/ae/91/e8e946267f1c2d9e2bd651726e2fbd2addf02c4d36cea5069e32ca9d7bb5/charset_normalizer-3.5.2-cp311-cp311-musllinux_1_2_s390x.whl", hash = "sha256:9cf9b1a857e25c4baceeb3624e92a56df3668f398c4acba74e174d81fb4d1d3a", size = 287432, upload-time = "2026-09-30T04:35:23.273Z" }, + { url = "https://files.pythonhosted.org/packages/4e/88/7561d8a88d555e7df6623abe7c0070b4baf47549b9408783a2ae0a1a6cf7/charset_normalizer-3.5.2-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:114e4d0c92d618409ed82a99e22b5c5e768fe995f2973f78265f4524f49d4640", size = 272470, upload-time = "2026-09-30T04:35:24.655Z" }, + { url = "https://files.pythonhosted.org/packages/35/7e/578c702301ec036f01455f30744a08d2b42f6ab35b9b2d4bf8cae0ef2a80/charset_normalizer-3.5.2-cp311-cp311-win32.whl", hash = "sha256:2625388c6c754520c37abaf3b41eb34d1cc4a373f457898f08606c8e362b891d", size = 186688, upload-time = "2026-09-30T04:35:26.225Z" }, + { url = "https://files.pythonhosted.org/packages/e8/fc/fdf8cf52ff21cd5bf158f20978991cf985325842f74283eb6df26c8a39d8/charset_normalizer-3.5.2-cp311-cp311-win_amd64.whl", hash = "sha256:87e50a3e7cb90af586b6c5faf23e302a970415ac73bd7bd90a515a04b427ef96", size = 214932, upload-time = "2026-09-30T04:35:27.796Z" }, + { url = "https://files.pythonhosted.org/packages/97/66/3e45a506d8110b632541faf9a9470185aa9878f1ed44020f31346c1c5e5b/charset_normalizer-3.5.2-cp311-cp311-win_arm64.whl", hash = "sha256:254eb48b9fa5ee9898a3c445825a1f340fe53712a098904b39b0bddba8ea3cb1", size = 202828, upload-time = "2026-09-30T04:35:29.259Z" }, + { url = "https://files.pythonhosted.org/packages/e7/c8/693809898870237d82785a03f3b2b58fe4c9f14669f84a7d4e623c92a59e/charset_normalizer-3.5.2-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:ed2a239c0ea213acc1908150a3037257083c7c083128f1a4cec2ec4b97dca491", size = 367780, upload-time = "2026-09-30T04:35:30.888Z" }, + { url = "https://files.pythonhosted.org/packages/c9/87/2fea8c13dc24b3ca9c6f803a5b2dfdeae73eb4f9e12c7885ed908ff0433c/charset_normalizer-3.5.2-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:b91363207bd9dc966a691e959bb47f64b30f7ac4b072be9968b366982f7db77c", size = 246730, upload-time = "2026-09-30T04:35:32.286Z" }, + { url = "https://files.pythonhosted.org/packages/a8/9e/09efac30b937722f46d3110ba30b875b24b2e3a266ed746cc4e376a94d80/charset_normalizer-3.5.2-cp312-cp312-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:38a873987f3be698494da8b2e3085e29da02da7b633dce73e79c699a113d7bf0", size = 237707, upload-time = "2026-09-30T04:35:33.709Z" }, + { url = "https://files.pythonhosted.org/packages/9e/18/70d76670b13686237863a379928d60bd10e021f17d243ab3d7014c4a5f4e/charset_normalizer-3.5.2-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:355ad8011081dec5412240c087a9a0c9d4d5039f3ed11a3f13e18c2b29b56c51", size = 273050, upload-time = "2026-09-30T04:35:35.138Z" }, + { url = "https://files.pythonhosted.org/packages/54/e2/77a8b09d5adc013ed07b95b01b8b8fa5441c4e810e83ee7e4aae2fa4d91a/charset_normalizer-3.5.2-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:ee21e28f0430bd6dc9086c6e525d5e818a44a5ad19720c8a0ef766792f3eb5e5", size = 270345, upload-time = "2026-09-30T04:35:36.502Z" }, + { url = "https://files.pythonhosted.org/packages/7f/c5/38806a25ab5e65fc178f39affeda20858efafede2fce1ffc2556cfc9fe73/charset_normalizer-3.5.2-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:3d31298449090ab8d47b7b1b2a555ff73cac7ed438a08b7ac160980c7ebed649", size = 257601, upload-time = "2026-09-30T04:35:37.919Z" }, + { url = "https://files.pythonhosted.org/packages/ae/8d/213565184708fdb263ae55e2c04ee1ff748129dd65d48ed0e3502da9c85a/charset_normalizer-3.5.2-cp312-cp312-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:5cde776b7cc66e4f6c99612cea4aa7269aa65863f7a15841b2c264f103822f4e", size = 252222, upload-time = "2026-09-30T04:35:39.544Z" }, + { url = "https://files.pythonhosted.org/packages/7e/24/76d2cefc25472531e4c5c7dfff68865eb1c39b78482f0fdc15b46f047830/charset_normalizer-3.5.2-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:ae4f5fea5b8b8ccff88238cc8569303e5ee95efae67fa62922a311397a71f346", size = 248482, upload-time = "2026-09-30T04:35:41.088Z" }, + { url = "https://files.pythonhosted.org/packages/7d/dc/65a801b66ab4c197e22c433ab25e7ac24324ac6f45a2269aca42cce309bf/charset_normalizer-3.5.2-cp312-cp312-musllinux_1_2_armv7l.whl", hash = "sha256:f7d486c83842422badd511868fd8a9a20e9407ace71564b6af47ce7e60a336c1", size = 241206, upload-time = "2026-09-30T04:35:42.59Z" }, + { url = "https://files.pythonhosted.org/packages/a7/95/ca9b5eabde673002c6f1e7ada1b223916fe18f6d661da7aabd4d643718f1/charset_normalizer-3.5.2-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:11a4d68a6ecda3292cb1e50239e111543ba5d709bb62a6b4ea1afcfa729d8875", size = 273190, upload-time = "2026-09-30T04:35:44.347Z" }, + { url = "https://files.pythonhosted.org/packages/2d/8b/803b4d2a3f6e1740f63f1e87b04d14b42f3d4fdfe6ed7d4db2d34102b14f/charset_normalizer-3.5.2-cp312-cp312-musllinux_1_2_riscv64.whl", hash = "sha256:d6734d2ef8a50fbf8445c139477da401f50d62a0606bf00e20ec6d87773fefb1", size = 253527, upload-time = "2026-09-30T04:35:45.915Z" }, + { url = "https://files.pythonhosted.org/packages/a9/55/93c0e5dbd085ae0471346026abbe7e0db9ea2d6fea74e51f0b5a46f233a7/charset_normalizer-3.5.2-cp312-cp312-musllinux_1_2_s390x.whl", hash = "sha256:a815775b6c38d4e0ff7bcffbeba67feded90202bb6a226b8dd35f1c855217413", size = 271285, upload-time = "2026-09-30T04:35:47.49Z" }, + { url = "https://files.pythonhosted.org/packages/95/69/0dbd0e0b9b16cfa816cdfcb3e2e3854a1f680dc07fb1245ea125e7448060/charset_normalizer-3.5.2-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:23851fb4e1b85ed3f6c2a27b777cdfe2e19fb5b38429a8faf38c7542b7665869", size = 260010, upload-time = "2026-09-30T04:35:48.996Z" }, + { url = "https://files.pythonhosted.org/packages/58/9d/e7b88e7b1bf403590c3b573277b5e1e488c68c7a6fbacca310a2c324e90c/charset_normalizer-3.5.2-cp312-cp312-win32.whl", hash = "sha256:db19d07e2e0129e974a0e65d0064fc222a446cd5122c2fd4184d2af9fc734a9e", size = 184125, upload-time = "2026-09-30T04:35:50.777Z" }, + { url = "https://files.pythonhosted.org/packages/eb/e6/e6e083884cbcfd49c64865af05027fe7011be7b2d9179524f099a1b611f3/charset_normalizer-3.5.2-cp312-cp312-win_amd64.whl", hash = "sha256:780fbe7cab297b81dad9fb8dc5eb003c0468ffb0d9e5f65068c53a34661a96bc", size = 207486, upload-time = "2026-09-30T04:35:52.194Z" }, + { url = "https://files.pythonhosted.org/packages/c4/e3/017aea0911ada7405a825c7d937eb3a13009664e2f5b38e8c4bbf2abf894/charset_normalizer-3.5.2-cp312-cp312-win_arm64.whl", hash = "sha256:e2af3aad578aa6bd1384bcf4750fc285e5a9de53f40b7d41e5a0bf748edeb2b3", size = 196734, upload-time = "2026-09-30T04:35:53.636Z" }, + { url = "https://files.pythonhosted.org/packages/c5/34/68292d68512768591aaff07c59bb53ee31341c87759433a859c4641a50c2/charset_normalizer-3.5.2-cp313-cp313-android_24_arm64_v8a.whl", hash = "sha256:ed905975ab14056a2e5eb1c376cb2e1ebc5396baf84163939c518556fccde9f5", size = 225946, upload-time = "2026-09-30T04:35:55.313Z" }, + { url = "https://files.pythonhosted.org/packages/e3/80/bee0b01b90ccd5322ae1d0abb33fab1bd95b7c2eadaf02aeccf22e04ee83/charset_normalizer-3.5.2-cp313-cp313-android_24_x86_64.whl", hash = "sha256:a66c3bc5ab1f0ff2164fc9965ddd611ff0802173f4b9d24554c563f6ab7e1d6e", size = 238619, upload-time = "2026-09-30T04:35:56.863Z" }, + { url = "https://files.pythonhosted.org/packages/78/6e/60ce52a85a7fd631ae8482ae6d74521014ca2f255892679484dc04d7ef56/charset_normalizer-3.5.2-cp313-cp313-ios_13_0_arm64_iphoneos.whl", hash = "sha256:d2374b62878abb00cd8309b32af6c0b715cd02dec0ca74ef12e5069bdc64144a", size = 206701, upload-time = "2026-09-30T04:35:58.639Z" }, + { url = "https://files.pythonhosted.org/packages/36/8c/71aafad23f971afc84c2b295bc0c560739ce1dac558aad9fec22e39f3639/charset_normalizer-3.5.2-cp313-cp313-ios_13_0_arm64_iphonesimulator.whl", hash = "sha256:d376bbd28b3a8999db1a103b3b388aee6f1ddeb3e51bc2172993efdcd86e064d", size = 210506, upload-time = "2026-09-30T04:36:00.147Z" }, + { url = "https://files.pythonhosted.org/packages/91/da/3c5a7798c046df7d2d68ad653cf5b6c5a8bfee225055a843c6f2f42aac1a/charset_normalizer-3.5.2-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:6045373d5a89a5ec71afde535db987ca28e76dfa276c2d4c818265b375d4b055", size = 366626, upload-time = "2026-09-30T04:36:01.77Z" }, + { url = "https://files.pythonhosted.org/packages/e1/16/710ac3de2ee354e2bd1a9c94efe45a2d27b5c6ad39b2d6a905be2c094b6c/charset_normalizer-3.5.2-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:849df64e889b2e17230d58410a03dba311a65b163508fd33679b2b737d4b7858", size = 244624, upload-time = "2026-09-30T04:36:03.389Z" }, + { url = "https://files.pythonhosted.org/packages/d6/39/45c7439f5b63d24f7d5b2a1d760f34af7628782d7144b4cc8ded45c2d4bc/charset_normalizer-3.5.2-cp313-cp313-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:15c44f7edfd477b06f517a5cc317fc1707edb9de2c865f43d4b6513907473234", size = 235731, upload-time = "2026-09-30T04:36:04.987Z" }, + { url = "https://files.pythonhosted.org/packages/4d/34/38f3154785ce92e9f56eb226f4d35bdfae6b008480dd055f58837a89c810/charset_normalizer-3.5.2-cp313-cp313-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:a89012d6d5476ee112d20d998570ed58df2260a852afb1758809cd6900411d21", size = 270352, upload-time = "2026-09-30T04:36:06.412Z" }, + { url = "https://files.pythonhosted.org/packages/04/f3/859f74e7babc977705026b30593b3be04049632a522fb7000f83c033d747/charset_normalizer-3.5.2-cp313-cp313-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:0c951d5e6dd9c2ff60609476752bee49da4206adde960ebc247766937f72e718", size = 267393, upload-time = "2026-09-30T04:36:07.865Z" }, + { url = "https://files.pythonhosted.org/packages/4b/85/41d27f234b82e47c167a5f6c0f62501dc0c640585ff4aba79e08a390336a/charset_normalizer-3.5.2-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:7218e8f32b0956cfcd048fd42d9d5779809745ca1d86113ca56f66e7ae1549c4", size = 254660, upload-time = "2026-09-30T04:36:09.248Z" }, + { url = "https://files.pythonhosted.org/packages/58/ca/5d1a997587febe5b26d8daffe363b5c1a091cece19828eec6502fd09c5ef/charset_normalizer-3.5.2-cp313-cp313-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:a19a731138fc27d5682277d3b9df22855cea1239bce7fcec5f78f42ef2d1f3c3", size = 249996, upload-time = "2026-09-30T04:36:10.73Z" }, + { url = "https://files.pythonhosted.org/packages/b3/1f/d1e78246f7ed60c8c8d606b4ac27f66ce49cc3e95f24893ccbeba9f77302/charset_normalizer-3.5.2-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:62603db9a7caa0802eaa28c1c46fecd7b3a263a774069c24c3c28c302448721c", size = 247028, upload-time = "2026-09-30T04:36:12.294Z" }, + { url = "https://files.pythonhosted.org/packages/8e/37/eba316edd4f0c4d3a5d945924c4eeeae59abac4056aa815d8a4268f863a2/charset_normalizer-3.5.2-cp313-cp313-musllinux_1_2_armv7l.whl", hash = "sha256:b6856554c4f44d79fc2307d5768854310a8f0096e501c75637542c82292b0429", size = 240562, upload-time = "2026-09-30T04:36:13.887Z" }, + { url = "https://files.pythonhosted.org/packages/c8/8e/aaa037d40ca9ef045977f1a661048b1aa33f223adfce3452fe9be9f79d14/charset_normalizer-3.5.2-cp313-cp313-musllinux_1_2_ppc64le.whl", hash = "sha256:1bc0baf5ef96b6ede57d47f4b8fe4d9d84019c3bfcbeb20a41edc6a6ee341f1f", size = 271699, upload-time = "2026-09-30T04:36:15.41Z" }, + { url = "https://files.pythonhosted.org/packages/26/19/1c1c9f75974adf523b87f34b8a2adc5a435cd65916812bcbd0dfa45f9a29/charset_normalizer-3.5.2-cp313-cp313-musllinux_1_2_riscv64.whl", hash = "sha256:56bc200a365efb37383b7852e4cc5898d3b2da5987289b543956cf8cad71018a", size = 252030, upload-time = "2026-09-30T04:36:16.839Z" }, + { url = "https://files.pythonhosted.org/packages/bc/90/0660ef18e18df0a4d2a1a0edff7dfbba42d4e50ef2425557a5bb7051f77b/charset_normalizer-3.5.2-cp313-cp313-musllinux_1_2_s390x.whl", hash = "sha256:2c9ad19a6cfcd5ea5c0d41161d22f9df1dcc277e9bef2751391334546a314c00", size = 268565, upload-time = "2026-09-30T04:36:18.468Z" }, + { url = "https://files.pythonhosted.org/packages/79/ba/57adc269824e8658f1a0f97a9e514c247445a9632b3419b97e0ba37f16dc/charset_normalizer-3.5.2-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:e243bd13217235fc7290c621941c3f5cc8b66e4872495be821d7436ba2fb838d", size = 257627, upload-time = "2026-09-30T04:36:19.938Z" }, + { url = "https://files.pythonhosted.org/packages/9a/85/33abd4315c052d3d4f54c92b1ee49bfbc0dc7115a981e462a793b6d2ab87/charset_normalizer-3.5.2-cp313-cp313-pyemscripten_2025_0_wasm32.whl", hash = "sha256:a090bb2c68df85450502e3e20d665e3a5af9c65a84d6508ed477badd49166fd3", size = 143407, upload-time = "2026-09-30T04:36:21.376Z" }, + { url = "https://files.pythonhosted.org/packages/4f/de/6435e18d1aaa5d910b896d551411c96af1f42a0c56c29afc2016c61ccc2e/charset_normalizer-3.5.2-cp313-cp313-win32.whl", hash = "sha256:2b7b3bbfb4fe8ef40600792d762fbaa9057559f9d3fad209525b7a22b99e91fd", size = 183207, upload-time = "2026-09-30T04:36:22.776Z" }, + { url = "https://files.pythonhosted.org/packages/9c/76/b8ec57f4e9ee3253541abf95e4a462c0175fe8032dcd070f1f2421240942/charset_normalizer-3.5.2-cp313-cp313-win_amd64.whl", hash = "sha256:78456a747de8dc58360ffa581f30a002baf5aa28cb262536545e91f113ed7639", size = 206489, upload-time = "2026-09-30T04:36:24.306Z" }, + { url = "https://files.pythonhosted.org/packages/3e/60/c647c6ae47480221e875ea5d743ff94946f7416e3c69415ab772928e8d32/charset_normalizer-3.5.2-cp313-cp313-win_arm64.whl", hash = "sha256:11912e4bb14baae7c5d8791aa55ba0a3a03ec6729073307b0f57270abaa713d3", size = 195501, upload-time = "2026-09-30T04:36:25.846Z" }, + { url = "https://files.pythonhosted.org/packages/58/ca/7aa91362a2f77ac8e9e28a9b902a74f7d0e11a851ef0d27a74308da8cd90/charset_normalizer-3.5.2-cp314-cp314-android_24_arm64_v8a.whl", hash = "sha256:1afb975bd5d68d5ce9f6b6d44fdf2f7e34b895a35e95708a7a91b20a3b51d187", size = 226010, upload-time = "2026-09-30T04:36:27.669Z" }, + { url = "https://files.pythonhosted.org/packages/a8/cf/ac8878d0322cf88a1aad4c7b147db32ca0bd806eb0060957b2e31486dbe6/charset_normalizer-3.5.2-cp314-cp314-android_24_x86_64.whl", hash = "sha256:bbbfc8e28816f19d7c0f1816664980c0a9875d01b27cdf8eedddb639d9e108ad", size = 239266, upload-time = "2026-09-30T04:36:29.434Z" }, + { url = "https://files.pythonhosted.org/packages/c9/6d/9a08d7e0b29b7208e2c6c01dc56c8e0520e7c7beadbbfb024b58fd69c8a5/charset_normalizer-3.5.2-cp314-cp314-ios_13_0_arm64_iphoneos.whl", hash = "sha256:7967d08cf06dee78443b874f98c98036f624f3a4e73e11f9f64f5be4d25393cf", size = 206783, upload-time = "2026-09-30T04:36:30.872Z" }, + { url = "https://files.pythonhosted.org/packages/82/44/b0aa350280e6ff5a5492d17cf10460dd39d5ee848f872f7ba2df10607f60/charset_normalizer-3.5.2-cp314-cp314-ios_13_0_arm64_iphonesimulator.whl", hash = "sha256:4c2b5031f63e331e3839b40aed2dd6f191e9c07edbde303e7876846ea1946995", size = 210449, upload-time = "2026-09-30T04:36:32.625Z" }, + { url = "https://files.pythonhosted.org/packages/7c/8a/40db9aa9f5907bb0e6f8b6d64064bf8852fb33d4b813ff9414911df7647c/charset_normalizer-3.5.2-cp314-cp314-macosx_10_15_universal2.whl", hash = "sha256:fcff63213e8e6e47770541a4607175404f47cbb3ebea7b6058cc82d524a0e424", size = 367815, upload-time = "2026-09-30T04:36:34.197Z" }, + { url = "https://files.pythonhosted.org/packages/7f/72/9c5e7707b57c8ddfa9ddf7b0b1d009d7fbab9e9e887d5b721060f37e307d/charset_normalizer-3.5.2-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:8d86d6fc60743dc916eb79e2eb1ec4818e21e427731543af40a3021851174a13", size = 247095, upload-time = "2026-09-30T04:36:35.803Z" }, + { url = "https://files.pythonhosted.org/packages/83/09/71e453691e927de4ddf792770cfaab3f49d494e222f66ea5e404bbd5e39c/charset_normalizer-3.5.2-cp314-cp314-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:7a881931aa470808df94a8c380eed2bbbc76cd9dc622310f99665658c821eb6d", size = 233942, upload-time = "2026-09-30T04:36:37.407Z" }, + { url = "https://files.pythonhosted.org/packages/9f/86/85c84e4da8b27dd409577d9437926ff581c5f9d3c66038dc68c1a526de51/charset_normalizer-3.5.2-cp314-cp314-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:8024d00c3faf3fc0c16e07a69f4405e8eac7cc0ab15f65fe6cf43827c4cf72b4", size = 273762, upload-time = "2026-09-30T04:36:38.904Z" }, + { url = "https://files.pythonhosted.org/packages/92/08/564955a4b5f2ccb410ab480bbe8c6a18063ff27f2d35458731c4a5335df9/charset_normalizer-3.5.2-cp314-cp314-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:4d48f2d08b9de5864e2c8744d4461b862fb149a18274abc8b698c45975573438", size = 269514, upload-time = "2026-09-30T04:36:40.469Z" }, + { url = "https://files.pythonhosted.org/packages/18/24/bad3ac4271589df29cf5ce2f5ae490518a5739358052bd0d61209e6fea54/charset_normalizer-3.5.2-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:34276fd796040bf0993ab33a369aa572e6979c7aab225a88893667ad8eac8f7a", size = 255056, upload-time = "2026-09-30T04:36:42.02Z" }, + { url = "https://files.pythonhosted.org/packages/d6/3e/350d89ad49916b86554d6f5f2d03ec1152148f87e5ff735106c6a03b1a36/charset_normalizer-3.5.2-cp314-cp314-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:0521c5665880b33d603717defa76c094048900010897909952397feb3039da56", size = 251311, upload-time = "2026-09-30T04:36:43.577Z" }, + { url = "https://files.pythonhosted.org/packages/56/5b/4970a2d154df502e133402906dd04e3ae7cada7b3011283c88d0479a2585/charset_normalizer-3.5.2-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:eff0ac9dbe711a4aee69bf04a83896aa9b85f19641264053a9f6d48573abb7dd", size = 250190, upload-time = "2026-09-30T04:36:45.185Z" }, + { url = "https://files.pythonhosted.org/packages/88/8c/f1a91bddc8fb47c2889e29ea7ea49a194eb0d9868675d786806519c00d76/charset_normalizer-3.5.2-cp314-cp314-musllinux_1_2_armv7l.whl", hash = "sha256:1503bccbeb36d5527790c3930327704c39af22de3112f1b1666a9f3ce15ee204", size = 237098, upload-time = "2026-09-30T04:36:46.689Z" }, + { url = "https://files.pythonhosted.org/packages/24/0e/bb5dace3cc7e79068425386a6589c19b5a2ab5fefc2a46abea6919683332/charset_normalizer-3.5.2-cp314-cp314-musllinux_1_2_ppc64le.whl", hash = "sha256:52aa6992700996af31f375de0c6bacd402b0097fe40b53c426b9f51a90ebabc7", size = 274228, upload-time = "2026-09-30T04:36:48.31Z" }, + { url = "https://files.pythonhosted.org/packages/9d/79/b849ad523017ea9f5a45581bbebed91439e0cf42fd2860a6f64e358eb5a6/charset_normalizer-3.5.2-cp314-cp314-musllinux_1_2_riscv64.whl", hash = "sha256:e09a3942ecbdee5cce73ea9d42da82b81b72ac1bf031ce069b93b5adf4eac8cd", size = 252401, upload-time = "2026-09-30T04:36:50.091Z" }, + { url = "https://files.pythonhosted.org/packages/89/8c/75469d690cf47200bce8f6cad7655724fc23148e147abfc5ce78b5f65863/charset_normalizer-3.5.2-cp314-cp314-musllinux_1_2_s390x.whl", hash = "sha256:c7c9ab723cde841fefb34efbad91e87f00a674b1fe1cd0784fde742bf2c154dc", size = 271846, upload-time = "2026-09-30T04:36:51.719Z" }, + { url = "https://files.pythonhosted.org/packages/26/cd/6d52d3c7437cdcf2e310ce9f28f282e733d4ef60ed19105d1819c356255f/charset_normalizer-3.5.2-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:ddc7dacc8ece3a182e7f15cb862d1fd616b46d076cb1ae9dd232b2c38b655874", size = 258151, upload-time = "2026-09-30T04:36:53.234Z" }, + { url = "https://files.pythonhosted.org/packages/f7/4c/070b38bdb5f49a70199fce923ec0726a49536a63ab262abbfcaaf351110b/charset_normalizer-3.5.2-cp314-cp314-pyemscripten_2026_0_wasm32.whl", hash = "sha256:ee43c17b173d46a3212baa6ead3ae258eeabdae48c263a01ccf0218c366dd655", size = 143570, upload-time = "2026-09-30T04:36:54.816Z" }, + { url = "https://files.pythonhosted.org/packages/81/84/9ebfc8ed6c8c4fcd8e726ff6bf220cc8deb3966e31dce9be8dd8aa017e64/charset_normalizer-3.5.2-cp314-cp314-win32.whl", hash = "sha256:4f87960d57feabfb618e4e0af6e7371645fa26a277860739d6e5d6e0012c92f0", size = 186412, upload-time = "2026-09-30T04:36:56.643Z" }, + { url = "https://files.pythonhosted.org/packages/d1/78/5ed86f743d4bc350db307e7636419a0a5ee1d91806d30c7f667bd5c80dae/charset_normalizer-3.5.2-cp314-cp314-win_amd64.whl", hash = "sha256:e4e81e09c1578b8df602e3db08b0b3ea0a6947ad612f52bf8dc5ea8d47691f0c", size = 210965, upload-time = "2026-09-30T04:36:58.205Z" }, + { url = "https://files.pythonhosted.org/packages/53/94/a3a7698e9b1a395e1eb99ccd9a324be9347973bff4e72db2a06496d7cd27/charset_normalizer-3.5.2-cp314-cp314-win_arm64.whl", hash = "sha256:80d02b6f04e92601a081dd97b23d3128033098bff5d35d392ddcc0476ea11253", size = 200406, upload-time = "2026-09-30T04:36:59.764Z" }, + { url = "https://files.pythonhosted.org/packages/c1/48/c5dd00d5ef7791f02666de250a5bb6071e29b7e133cf4b835800b6d3bc27/charset_normalizer-3.5.2-cp314-cp314t-macosx_10_15_universal2.whl", hash = "sha256:dca9ab98072a5a54ebacebdc45f53e645336b320c667410b061be1ca588ae709", size = 396871, upload-time = "2026-09-30T04:37:01.543Z" }, + { url = "https://files.pythonhosted.org/packages/12/c8/8379554b42e8368161d898476686947a0fdbd3e8865170d7909dcabfdee8/charset_normalizer-3.5.2-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:f0aa869112ef88429ae17820d99c3dd9504c9e9c671d3c246f3d7442cb051084", size = 249711, upload-time = "2026-09-30T04:37:03.111Z" }, + { url = "https://files.pythonhosted.org/packages/4a/eb/2ddb1035d17320caa9f41682935123a9a250277b261c3efc86b2d2a21343/charset_normalizer-3.5.2-cp314-cp314t-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:c0afc6800ba57ccc350374c5bd6150419915d95ce93cdbab2d783d75eaf30ecb", size = 231146, upload-time = "2026-09-30T04:37:04.721Z" }, + { url = "https://files.pythonhosted.org/packages/4a/24/2ecb4bde104322cd7859d6594fcfa74649f8d90b3221c9feecbef149875b/charset_normalizer-3.5.2-cp314-cp314t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:7dcd882da75ef9adf94903b1e3b9419e8aa8fb4c7396822b834b9ef7fb96954f", size = 271552, upload-time = "2026-09-30T04:37:06.295Z" }, + { url = "https://files.pythonhosted.org/packages/3f/98/9d5f6ebc3aee9fef5d30b4aff11fb2ab7a1222b4064f8ef2c7c87cde217a/charset_normalizer-3.5.2-cp314-cp314t-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:2e06a3a98f916dd41d27f3105e02e7a40181c98c94b9158733d03a6f80506c09", size = 269810, upload-time = "2026-09-30T04:37:07.905Z" }, + { url = "https://files.pythonhosted.org/packages/09/e1/a3b06a10461b1b7628853c934c644e03bc28e42767116afb52f19a56519b/charset_normalizer-3.5.2-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:6bd128f206a7752ae1f2ab6c61bf8a24ba28913a10df8b14c2637b973ff97a80", size = 259845, upload-time = "2026-09-30T04:37:09.554Z" }, + { url = "https://files.pythonhosted.org/packages/fd/d3/6f561f74a296cf27d61775a1dc665ad13f3bff6a798810ca05907f37a7c4/charset_normalizer-3.5.2-cp314-cp314t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:c8f3d67aeaf55f017982b73683f0e7342ba2f6635a78f69ce89ebb26aa411e5c", size = 252825, upload-time = "2026-09-30T04:37:11.274Z" }, + { url = "https://files.pythonhosted.org/packages/26/9f/69e13ca3b18f43e0eafcd34c04a45b732ae22a43b54a5fc9e119103356eb/charset_normalizer-3.5.2-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:fe9753dfee015c570d73df76f899f18444d41388bffcde097deba51c4fadbb9f", size = 252659, upload-time = "2026-09-30T04:37:12.941Z" }, + { url = "https://files.pythonhosted.org/packages/73/a9/ace29806a0dae18939919c76ba526472d83214afa101105fabff2cf30625/charset_normalizer-3.5.2-cp314-cp314t-musllinux_1_2_armv7l.whl", hash = "sha256:92888bb3187c5ba50500b00b3b310c9f2c651709d28036077680cb5255450a03", size = 238819, upload-time = "2026-09-30T04:37:14.659Z" }, + { url = "https://files.pythonhosted.org/packages/f8/c1/6116d52a2e3311ec80f21f5fb5e17b27405f10b9608af8f6e69516841a1b/charset_normalizer-3.5.2-cp314-cp314t-musllinux_1_2_ppc64le.whl", hash = "sha256:d008d90a7f2471519aef0c90dfbe73b3e6e4d5e66ac48e19154c17e89e98b604", size = 272973, upload-time = "2026-09-30T04:37:16.346Z" }, + { url = "https://files.pythonhosted.org/packages/19/aa/9955c7e93bba10a9c7e8f7a5031b7ced66f3a1883a55c00712b8d5850ff3/charset_normalizer-3.5.2-cp314-cp314t-musllinux_1_2_riscv64.whl", hash = "sha256:31f3930700408d211f13378ccbe1c40845d8da54bd0681fac3a9b5aae81c7aa8", size = 253692, upload-time = "2026-09-30T04:37:18.212Z" }, + { url = "https://files.pythonhosted.org/packages/bb/33/2a6ae7fdc1b10cb581cef91addd8cdfc5f40d50abb5702309369d5834579/charset_normalizer-3.5.2-cp314-cp314t-musllinux_1_2_s390x.whl", hash = "sha256:2a925889534b3748302dae5dead07cc13480de1dac3aea80a941b729b471ef93", size = 268757, upload-time = "2026-09-30T04:37:19.877Z" }, + { url = "https://files.pythonhosted.org/packages/a2/22/80992720a0282cd39bba1db35868e6b9c22f41281160143a836544bc1d8a/charset_normalizer-3.5.2-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:f5ec61164adcec446f8969a3358ec3f9b26bbda3b9213e5586d219afa8df2915", size = 262220, upload-time = "2026-09-30T04:37:21.583Z" }, + { url = "https://files.pythonhosted.org/packages/92/9f/181fd07e1bffea1d95cd80c84ac537354f50699c22cfc4d3c02b6fc16208/charset_normalizer-3.5.2-cp314-cp314t-win32.whl", hash = "sha256:598a11a2c7ebaa5334bf698bf29568c9c390abac6a154d8170fedecd1cea38c5", size = 197797, upload-time = "2026-09-30T04:37:23.235Z" }, + { url = "https://files.pythonhosted.org/packages/49/1c/25d8415ec1c4f2f41f1680435e4c87cfb378ff2f677d950946f2a45d0632/charset_normalizer-3.5.2-cp314-cp314t-win_amd64.whl", hash = "sha256:7fdde2c9fd9e3eca40631e024664cf2584272cc8f96308cbe5fdfc930f51d8bc", size = 222765, upload-time = "2026-09-30T04:37:24.891Z" }, + { url = "https://files.pythonhosted.org/packages/3e/b4/46b48f013dadfc0d0d33b375438e31bdf5a989dc68389c6bf627054d4df9/charset_normalizer-3.5.2-cp314-cp314t-win_arm64.whl", hash = "sha256:d1befeed746d247c81127bb14de9dc3d30edb6e5976d34f83f86ed262b1d9105", size = 210985, upload-time = "2026-09-30T04:37:26.634Z" }, + { url = "https://files.pythonhosted.org/packages/ca/e9/34e597dee616d0b8ee4b34d29399e85c2204ade174157a48505d42baa4ff/charset_normalizer-3.5.2-cp315-cp315-macosx_10_15_universal2.whl", hash = "sha256:87475fabc8d9996fd9c27debb395e642e8c838d78a00b6e932227a0e06b81e26", size = 367676, upload-time = "2026-09-30T04:37:28.329Z" }, + { url = "https://files.pythonhosted.org/packages/60/9f/a5d1c91c0263745e2cd344c5a4415d787c575501ab1d449f1148ac6b495d/charset_normalizer-3.5.2-cp315-cp315-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:9409a8bf35cf78353942504b24a57de3d75b708997a1e4bd8db71ac8633ce364", size = 248414, upload-time = "2026-09-30T04:37:30.167Z" }, + { url = "https://files.pythonhosted.org/packages/26/79/e697f77464748a3ee3cf490c83d592459400d4898380d66c38366b03080c/charset_normalizer-3.5.2-cp315-cp315-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:498dc3188ca05a68231ac3fdbfc7f57eb67e1343c30e0fea17f8218c1599b253", size = 244775, upload-time = "2026-09-30T04:37:31.964Z" }, + { url = "https://files.pythonhosted.org/packages/ca/87/3d42a42e18ea066e2513936fd678a00696e77878b5ae04528976abdbcb83/charset_normalizer-3.5.2-cp315-cp315-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:e242bb1c5e76e97dfa9e7f209a71e93a01d7f19ffdd5cfbb2e2d55b4f08f8ab0", size = 273877, upload-time = "2026-09-30T04:37:33.661Z" }, + { url = "https://files.pythonhosted.org/packages/c3/76/8a28136f3938ba9836f84280ce0c4d61ed1cf15a036b2034900c62634162/charset_normalizer-3.5.2-cp315-cp315-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:def79fa35ef0cef8d2accec024f4fdc7ead3012ff02f5215c783f39f03ef8cfc", size = 269455, upload-time = "2026-09-30T04:37:35.573Z" }, + { url = "https://files.pythonhosted.org/packages/a0/a1/4fbf5d0f0f1b2a080474c1cf9a2f12c4c6531bb0e8ba591055e846d2b4e9/charset_normalizer-3.5.2-cp315-cp315-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:3df041de8887954562c9b261cba85ca0e9ded74048daf125f45edcfaa4832229", size = 257336, upload-time = "2026-09-30T04:37:37.397Z" }, + { url = "https://files.pythonhosted.org/packages/ba/a2/8b50aa320adb880ad579518e6f718f24944804b42a88b83d267d5d444125/charset_normalizer-3.5.2-cp315-cp315-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:04851f73ae72b8413dddadb16a49dfee95263553741fd42d546f7d66907e6be5", size = 257584, upload-time = "2026-09-30T04:37:39.522Z" }, + { url = "https://files.pythonhosted.org/packages/a5/57/50e3fed84e175f40349bd0da7a4fce94c87f0378f52d74f511d89e0bdc20/charset_normalizer-3.5.2-cp315-cp315-musllinux_1_2_aarch64.whl", hash = "sha256:183b88127acdb4fabe59d951ab424faf1af7b63cdbb5f776186c1ea2ffcaed98", size = 251854, upload-time = "2026-09-30T04:37:41.23Z" }, + { url = "https://files.pythonhosted.org/packages/d6/54/f7fbb3493c9f49091213b9c2d6dd65800696f1ce1a3f196a4205f50417b1/charset_normalizer-3.5.2-cp315-cp315-musllinux_1_2_armv7l.whl", hash = "sha256:16fa0eccf81304b79c5cd87f9271c3b85dd9dd99245e4422ae9c0dd45e0f99d3", size = 248767, upload-time = "2026-09-30T04:37:42.883Z" }, + { url = "https://files.pythonhosted.org/packages/d9/37/b3a6385acc5a1e45b39ae9c90bfb9cf838a09b9dd37ef2740ab4c6b4a2eb/charset_normalizer-3.5.2-cp315-cp315-musllinux_1_2_ppc64le.whl", hash = "sha256:7441d755b7ab94f8d4eb3e43ec05482d760842fd263d003a99102d742cd835e2", size = 274479, upload-time = "2026-09-30T04:37:44.658Z" }, + { url = "https://files.pythonhosted.org/packages/89/44/809913e2cfd279e635a9294fdbbfb1b1dc62a8189d473d561f649fce98d8/charset_normalizer-3.5.2-cp315-cp315-musllinux_1_2_riscv64.whl", hash = "sha256:ca403d7e4798f525fdfc78e258820419cbbd0f0ecbab9de7840e3c017cf6b8cf", size = 258310, upload-time = "2026-09-30T04:37:46.529Z" }, + { url = "https://files.pythonhosted.org/packages/af/a2/f28400ab13359d91bd39179df8e149376b9bf36588e739a3a4f9de2b84b2/charset_normalizer-3.5.2-cp315-cp315-musllinux_1_2_s390x.whl", hash = "sha256:df29a0a7107f7011e77f4eebdddec4c7331e24d787a0b21a46d63bdf7445da95", size = 271100, upload-time = "2026-09-30T04:37:48.399Z" }, + { url = "https://files.pythonhosted.org/packages/e9/89/9bab37955edf0adb3b66f8a3a6617d9f2f487e0d56f295a6a286cb640aa6/charset_normalizer-3.5.2-cp315-cp315-musllinux_1_2_x86_64.whl", hash = "sha256:f3c96f633825733f735c5a9cf21d21a257d8e1edf0b1cee0a064b9c424ca0f7d", size = 259936, upload-time = "2026-09-30T04:37:50.023Z" }, + { url = "https://files.pythonhosted.org/packages/23/b5/4459e08d45a679f903d50fea08bc52cfa728cca4d7bd02c757b5e5abda2e/charset_normalizer-3.5.2-cp315-cp315-win32.whl", hash = "sha256:281cb91036248400f4cc957495cccd44c275c2e0c5854f7e45ac5cf7dc193847", size = 186301, upload-time = "2026-09-30T04:37:51.722Z" }, + { url = "https://files.pythonhosted.org/packages/98/e8/55d5fd3935b4bce6da4fe0df61898e8c82653e317e677bd58aceb9c60f13/charset_normalizer-3.5.2-cp315-cp315-win_amd64.whl", hash = "sha256:89b53f3cda69831909888e0494f4fa0bcd3537e3e138dabeb620bd6ad946bae8", size = 210858, upload-time = "2026-09-30T04:37:53.427Z" }, + { url = "https://files.pythonhosted.org/packages/a9/5b/974423c2fd8e524c7a7f64318c1e02240ef954912fa2b4d70344107b9c68/charset_normalizer-3.5.2-cp315-cp315-win_arm64.whl", hash = "sha256:6be488a102b8cf28d0391d8c4ba7748938ae28b78ad901f8585520fca33ead1a", size = 200309, upload-time = "2026-09-30T04:37:55.015Z" }, + { url = "https://files.pythonhosted.org/packages/ee/f9/00ee0195db1013d8f7c416fd770fbeb560bb46eb2e36b054d05cb56f6cfa/charset_normalizer-3.5.2-cp315-cp315t-macosx_10_15_universal2.whl", hash = "sha256:915563965d418f986e7e145accc592eae9e1a1be3566ff98a05d7a9ec42a76e1", size = 395343, upload-time = "2026-09-30T04:37:56.743Z" }, + { url = "https://files.pythonhosted.org/packages/04/3a/c00b50e94c964cf934c7899cd47c97952fc11dad71cc5884b3c61795b09b/charset_normalizer-3.5.2-cp315-cp315t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:65cd72beeeca9d3aaea1201e5923859f308f952f9c71de93f06063c79f0f7a3b", size = 250114, upload-time = "2026-09-30T04:37:58.607Z" }, + { url = "https://files.pythonhosted.org/packages/50/27/d102dc880bbcffd0479ab64dfc1fb96777a854355a55e2bda72a71efadcb/charset_normalizer-3.5.2-cp315-cp315t-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:b7fd005a73d9e657273b7a10dc71a9e03c8fb9ee6999798d6918ce095b81ac7f", size = 239997, upload-time = "2026-09-30T04:38:00.511Z" }, + { url = "https://files.pythonhosted.org/packages/a5/4a/bf7ef45794dd293fab5f98a9309817977fbb845b9998f171b8cc5d8437a3/charset_normalizer-3.5.2-cp315-cp315t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:e54da4baf05720032d527874d40b65fa4d7e5c6c6a43d0c3adbeffcaf275a2b3", size = 272313, upload-time = "2026-09-30T04:38:02.509Z" }, + { url = "https://files.pythonhosted.org/packages/e8/ee/008a2837737991474c5754bb3191010007663860979701990982a502cbaf/charset_normalizer-3.5.2-cp315-cp315t-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:124fbf1a8ff966d87ae05bb8bd45a71f966055ed8bba320d0c7cf450bc5f4d0e", size = 269986, upload-time = "2026-09-30T04:38:04.435Z" }, + { url = "https://files.pythonhosted.org/packages/93/ad/bd74a283940dc910c5b14f8e4f80a248082bc9c0fcbe1f54530cb6d9cc5e/charset_normalizer-3.5.2-cp315-cp315t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:28b4f0d66fb834ff90f28209ac7bce77868c45d8c93e26f906709d9b7c2e1af9", size = 260202, upload-time = "2026-09-30T04:38:06.549Z" }, + { url = "https://files.pythonhosted.org/packages/8a/7b/ed341c66f69f688723501fac752be3d63c7159ca0d0d4174fc611e5710bb/charset_normalizer-3.5.2-cp315-cp315t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:58ca3755ee7ff7f59b57789ec9833c9de9ea275405cdd240eda1f193112e398a", size = 259083, upload-time = "2026-09-30T04:38:08.311Z" }, + { url = "https://files.pythonhosted.org/packages/cc/9d/e41588b777965e5031a43128a1e96173ebb35ac75fc53ec3b517e7c21cd4/charset_normalizer-3.5.2-cp315-cp315t-musllinux_1_2_aarch64.whl", hash = "sha256:443eae2bf318abeaf6f15d785138f71fd6de770e99a92158b8b814265e079115", size = 253081, upload-time = "2026-09-30T04:38:10.402Z" }, + { url = "https://files.pythonhosted.org/packages/81/35/b761eb6d8c1eb218b9b42b9b4d5ac902afdc399fb6dac6f9a9aac7bda589/charset_normalizer-3.5.2-cp315-cp315t-musllinux_1_2_armv7l.whl", hash = "sha256:58f361dcbab699cf8f42db3f47c8e7fd1036f138c23a5d08de9fde5f425a730c", size = 248712, upload-time = "2026-09-30T04:38:12.317Z" }, + { url = "https://files.pythonhosted.org/packages/4d/2c/147169a041b747759f37405c0a97157e8e92de967968373101ff14915cba/charset_normalizer-3.5.2-cp315-cp315t-musllinux_1_2_ppc64le.whl", hash = "sha256:1b4cbc7c3491ccb4aa17fcd8165649d01cf39f76de1696da8631b5f71b85401d", size = 274176, upload-time = "2026-09-30T04:38:14.138Z" }, + { url = "https://files.pythonhosted.org/packages/f0/2d/0ff8db0d373ba8538db686db11cd7e8912031490b9e4f383b41912e8d594/charset_normalizer-3.5.2-cp315-cp315t-musllinux_1_2_riscv64.whl", hash = "sha256:ba0b1d2620edf869789c3879223f52bf2afc5d31b3cb47cc57b3a12c05e2aa9d", size = 259413, upload-time = "2026-09-30T04:38:15.841Z" }, + { url = "https://files.pythonhosted.org/packages/8a/8e/b4a085fb47c9d3a7e43576a4784fdd8fe23f907514a972de8086edaf7a48/charset_normalizer-3.5.2-cp315-cp315t-musllinux_1_2_s390x.whl", hash = "sha256:5e2b6b57e9733d39f0c9fd3185efa6b8e29652c4cd8fe94180272cf6ed9a78c4", size = 269434, upload-time = "2026-09-30T04:38:17.626Z" }, + { url = "https://files.pythonhosted.org/packages/83/1c/d8d8d7322a7c3eecdf3237a4a419cf41d2eaad8e006ce7dfdd9d4c8fa2eb/charset_normalizer-3.5.2-cp315-cp315t-musllinux_1_2_x86_64.whl", hash = "sha256:51cf45226a9b588d0d2b4880c62d686934b63ab0bd79ca23ab0e9762eb27441b", size = 262716, upload-time = "2026-09-30T04:38:19.214Z" }, + { url = "https://files.pythonhosted.org/packages/a0/16/0e4c6ba9b44e97a2da150e52d331e8f9c968b21b358fbffa6c856cebcd89/charset_normalizer-3.5.2-cp315-cp315t-win32.whl", hash = "sha256:5fb29fb8cd1a46c27a1bf9613ad5ec2599310d46b4025d9556404a6b6a292800", size = 197159, upload-time = "2026-09-30T04:38:21.037Z" }, + { url = "https://files.pythonhosted.org/packages/be/33/e90bc2b1374f7f36ef106f56620de5a783907e19ca857efe2277e31cac3e/charset_normalizer-3.5.2-cp315-cp315t-win_amd64.whl", hash = "sha256:a192e2c40070d92c3ccf777e3a5c4ff515573cd2bb7ed0c537fdadbbec5bbf21", size = 221322, upload-time = "2026-09-30T04:38:22.886Z" }, + { url = "https://files.pythonhosted.org/packages/66/89/dfa6dcb08c200b7830ab56439e8c1890f2971d51aafbb3937894a2e7fcfc/charset_normalizer-3.5.2-cp315-cp315t-win_arm64.whl", hash = "sha256:749e97e1b32313717a565abbe321bc2190bc8b35f1a67e4cdbc7c56c8d8ffe58", size = 209192, upload-time = "2026-09-30T04:38:24.648Z" }, + { url = "https://files.pythonhosted.org/packages/8c/ab/176fbfd5b64939c55d652366aa5b9ef1d767af207a3aa6ebeb0d226c484d/charset_normalizer-3.5.2-cp37-abi3-macosx_10_9_universal2.whl", hash = "sha256:4275811936e2f06feff5e598fb42a1b7ae852da8e39605211892b56b81a34efd", size = 331815, upload-time = "2026-09-30T04:38:26.216Z" }, + { url = "https://files.pythonhosted.org/packages/7e/84/371eac6b30bdbcbf2d632a1a01809103459216fcaae61b8b8d922c1bfb8a/charset_normalizer-3.5.2-cp37-abi3-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:1c50fe28bbc2ced33386f298650d91218076c05420e6cbd790b913adc41659e7", size = 253276, upload-time = "2026-09-30T04:38:28.032Z" }, + { url = "https://files.pythonhosted.org/packages/43/6f/c4fbae58febff71709c51bc7e18fdfa55341dc382704740f9f0cbf03817b/charset_normalizer-3.5.2-cp37-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:d19fbd981a488e22cd04883659ca6b08f50b5974f9fd7c95655ef6a043e5893f", size = 241239, upload-time = "2026-09-30T04:38:29.732Z" }, + { url = "https://files.pythonhosted.org/packages/61/71/458c3f42164a07d0c5210798e9e704b39e540a6793b05aba67f3a35243a9/charset_normalizer-3.5.2-cp37-abi3-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:0fed1d06615f022ee3b13caf5e8b180cfea32bb2c5aded8a9d44277afc040f93", size = 231121, upload-time = "2026-09-30T04:38:31.462Z" }, + { url = "https://files.pythonhosted.org/packages/09/54/ab9e89367076f6331bb6c65c4bf14a5361fa5191cb6561bf534f18504e1b/charset_normalizer-3.5.2-cp37-abi3-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:838dcc90063569a0448120554591a1d6c4a4ffe11babf048908793154ab86ade", size = 260350, upload-time = "2026-09-30T04:38:33.239Z" }, + { url = "https://files.pythonhosted.org/packages/7c/c1/061431ecc688d9d76602502cb57cc01e691e682c18f1beb45f9673b5bbd2/charset_normalizer-3.5.2-cp37-abi3-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:2ce45c6627b22c47e390bc91a41c3d13032192e699fa0bea96e9671b373d69b0", size = 255430, upload-time = "2026-09-30T04:38:34.865Z" }, + { url = "https://files.pythonhosted.org/packages/8d/1f/20c8949f0676f7ab811abdeb7f4d7f1cbc6e61ff20bef08b44edeb092bc8/charset_normalizer-3.5.2-cp37-abi3-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:0774bf9bf620249fee3e0b8b9fd3065de213be30f3aa94ce2494b3b638949e26", size = 250612, upload-time = "2026-09-30T04:38:36.649Z" }, + { url = "https://files.pythonhosted.org/packages/2b/9e/46f2fa4c431fc98c4ae76a8cb5bdca54e0341e3cfc3fcfd8e82740250818/charset_normalizer-3.5.2-cp37-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:1db38f4c5496827c1a501846d64d14c3b80c7e6714e406cd7dc36a9899fa1011", size = 242083, upload-time = "2026-09-30T04:38:38.26Z" }, + { url = "https://files.pythonhosted.org/packages/bd/39/559be29a0c0f086e0bba6922babd38916cc5e0b58ced4de13ee01ea05508/charset_normalizer-3.5.2-cp37-abi3-musllinux_1_2_armv7l.whl", hash = "sha256:304d8e4d493af723536393eee0c689eb7813f4a474c8b479dee63f1fdd98f621", size = 232738, upload-time = "2026-09-30T04:38:39.81Z" }, + { url = "https://files.pythonhosted.org/packages/ff/6c/387b0e4f756a282831c1d9fc6aeb6c51ca4507ca202767c8de15ce9b12e2/charset_normalizer-3.5.2-cp37-abi3-musllinux_1_2_ppc64le.whl", hash = "sha256:9b7f416ff0978e2f2249330527f0ad6fa02f4932e6199692d3b52da2048c19e4", size = 260703, upload-time = "2026-09-30T04:38:41.346Z" }, + { url = "https://files.pythonhosted.org/packages/96/92/1fdf015f09ef449f50d3ac4b67c90887c9c318b727daa95cc4f866e6521d/charset_normalizer-3.5.2-cp37-abi3-musllinux_1_2_riscv64.whl", hash = "sha256:01077390b03f7988f11d700a2194e69b119741a86b1a638b1db88891e3eced8e", size = 247622, upload-time = "2026-09-30T04:38:42.937Z" }, + { url = "https://files.pythonhosted.org/packages/dc/3c/8e7b8a5671ad5d433669fb2a76f1a0164df2d9b1718b0206bc2a16d840cc/charset_normalizer-3.5.2-cp37-abi3-musllinux_1_2_s390x.whl", hash = "sha256:7e841fb9010836c992c9f12fcbd43a831de93a5f726fc1ccd8ca1d0268c5014c", size = 257500, upload-time = "2026-09-30T04:38:44.604Z" }, + { url = "https://files.pythonhosted.org/packages/b4/f0/45b579df5cabc1d5d53ea1cc35e8437d3ca768c0acccc7041517cb6fbb32/charset_normalizer-3.5.2-cp37-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:9cae88599c7219005d879f98e5ed53341e9a122af585e1091200358a3003d2a0", size = 255100, upload-time = "2026-09-30T04:38:46.289Z" }, + { url = "https://files.pythonhosted.org/packages/31/68/fdec18a343f5fb3f310588dd478b09ac4799e0b187dbade3a8cd776f03ef/charset_normalizer-3.5.2-cp37-abi3-win32.whl", hash = "sha256:01b0c0d2262a9e28e8484a278c7e1b5d650e3ac8cf2683d2967e25899f208bdf", size = 174499, upload-time = "2026-09-30T04:38:47.999Z" }, + { url = "https://files.pythonhosted.org/packages/9d/8a/b618149cc5207943a0242068d7a27897f56a62947b5a039085f2a22029f8/charset_normalizer-3.5.2-cp37-abi3-win_amd64.whl", hash = "sha256:9f56f72050826f63dcee7a7f55b0a77168cb3bfc553fd405e7f8f9ece75a4036", size = 200092, upload-time = "2026-09-30T04:38:49.707Z" }, + { url = "https://files.pythonhosted.org/packages/03/cf/4c66866fa9e2b1c78e3c911516d1de497a677b7ac60f1eceda74ce777ca3/charset_normalizer-3.5.2-cp37-abi3-win_arm64.whl", hash = "sha256:40ab6bffa02ae10a0581e6c198be7d2d8ca5c2a0c64e4ed3465d766df457573e", size = 294363, upload-time = "2026-09-30T04:38:51.312Z" }, + { url = "https://files.pythonhosted.org/packages/fc/ad/d07d7862a62ffa6d79d68074d14823243dd235a77c45262acbf6adeb28bf/charset_normalizer-3.5.2-py3-none-any.whl", hash = "sha256:b6b751274acb69d77b3323d6b7dbaa3c7fdfc1eb829b7eb61d262f32e1af9685", size = 68872, upload-time = "2026-09-30T04:39:21.828Z" }, +] + +[[package]] +name = "click" +version = "8.5.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/c7/0e/7fa0ef50764b67090eca4114772a2abf8b6148198475e54c660b97caeee6/click-8.5.0.tar.gz", hash = "sha256:ba0d2089de75ea0310e2dde03160e6ca10009947fb95a182f9b54021bb272e34", size = 382235, upload-time = "2026-08-26T13:33:14.56Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/58/50/6c0d534c5f134586a8e1ba4e330569e32f057e33372ae556463212fb4cd3/click-8.5.0-py3-none-any.whl", hash = "sha256:255bc9599cf7748b4b1a446ccc735421bd08a2ae529a8b88597d3de5664ee360", size = 125251, upload-time = "2026-08-26T13:33:12.928Z" }, +] + +[[package]] +name = "click-didyoumean" +version = "0.3.1" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "click" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/30/ce/217289b77c590ea1e7c24242d9ddd6e249e52c795ff10fac2c50062c48cb/click_didyoumean-0.3.1.tar.gz", hash = "sha256:4f82fdff0dbe64ef8ab2279bd6aa3f6a99c3b28c05aa09cbfc07c9d7fbb5a463", size = 3089, upload-time = "2024-03-24T08:22:07.499Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/1b/5b/974430b5ffdb7a4f1941d13d83c64a0395114503cc357c6b9ae4ce5047ed/click_didyoumean-0.3.1-py3-none-any.whl", hash = "sha256:5c4bb6007cfea5f2fd6583a2fb6701a22a41eb98957e63d0fac41c10e7c3117c", size = 3631, upload-time = "2024-03-24T08:22:06.356Z" }, +] + +[[package]] +name = "click-plugins" +version = "1.1.1.2" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "click" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/c3/a4/34847b59150da33690a36da3681d6bbc2ec14ee9a846bc30a6746e5984e4/click_plugins-1.1.1.2.tar.gz", hash = "sha256:d7af3984a99d243c131aa1a828331e7630f4a88a9741fd05c927b204bcf92261", size = 8343, upload-time = "2025-06-25T00:47:37.555Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/3d/9a/2abecb28ae875e39c8cad711eb1186d8d14eab564705325e77e4e6ab9ae5/click_plugins-1.1.1.2-py2.py3-none-any.whl", hash = "sha256:008d65743833ffc1f5417bf0e78e8d2c23aab04d9745ba817bd3e71b0feb6aa6", size = 11051, upload-time = "2025-06-25T00:47:36.731Z" }, +] + +[[package]] +name = "click-repl" +version = "0.4.1" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "click" }, + { name = "prompt-toolkit" }, + { name = "typing-extensions" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/28/50/bea78619ff1fc0fbd61882f64a1302a8abb2ea0b3db92907042d0e362df2/click_repl-0.4.1.tar.gz", hash = "sha256:c32a1cf6f95e5bd6e92076f81ce24eafd33f2f0ffb0135887e335b8e446d1c0b", size = 16403, upload-time = "2026-10-05T06:01:57.607Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/a4/f6/12dc0f2e0159c2b416818b7fedcda15b520043773364a81d7389809a5af5/click_repl-0.4.1-py3-none-any.whl", hash = "sha256:5cb10881d4c5ebaa8695eceb69911af3062ee78342812b713564b17aad333eb5", size = 14988, upload-time = "2026-10-05T06:01:55.611Z" }, +] + +[[package]] +name = "colorama" +version = "0.4.6" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/d8/53/6f443c9a4a8358a93a6792e2acffb9d9d5cb0a5cfd8802644b7b1c9a02e4/colorama-0.4.6.tar.gz", hash = "sha256:08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44", size = 27697, upload-time = "2022-10-25T02:36:22.414Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/d1/d6/3965ed04c63042e047cb6a3e6ed1a63a35087b6a609aa3a15ed8ac56c221/colorama-0.4.6-py2.py3-none-any.whl", hash = "sha256:4f1d9991f5acc0ca119f9d443620b77f9d6b33703e51011c16baf57afb285fc6", size = 25335, upload-time = "2022-10-25T02:36:20.889Z" }, +] + +[[package]] +name = "comm" +version = "0.2.3" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/4c/13/7d740c5849255756bc17888787313b61fd38a0a8304fc4f073dfc46122aa/comm-0.2.3.tar.gz", hash = "sha256:2dc8048c10962d55d7ad693be1e7045d891b7ce8d999c97963a5e3e99c055971", size = 6319, upload-time = "2025-07-25T14:02:04.452Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/60/97/891a0971e1e4a8c5d2b20bbe0e524dc04548d2307fee33cdeba148fd4fc7/comm-0.2.3-py3-none-any.whl", hash = "sha256:c615d91d75f7f04f095b30d1c1711babd43bdc6419c1be9886a85f2f4e489417", size = 7294, upload-time = "2025-07-25T14:02:02.896Z" }, +] + +[[package]] +name = "contourpy" +version = "1.3.3" +source = { registry = "https://pypi.org/simple" } +resolution-markers = [ + "python_full_version < '3.12'", +] +dependencies = [ + { name = "numpy", version = "2.3.5", source = { registry = "https://pypi.org/simple" } }, +] +sdist = { url = "https://files.pythonhosted.org/packages/58/01/1253e6698a07380cd31a736d248a3f2a50a7c88779a1813da27503cadc2a/contourpy-1.3.3.tar.gz", hash = "sha256:083e12155b210502d0bca491432bb04d56dc3432f95a979b429f2848c3dbe880", size = 13466174, upload-time = "2025-07-26T12:03:12.549Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/91/2e/c4390a31919d8a78b90e8ecf87cd4b4c4f05a5b48d05ec17db8e5404c6f4/contourpy-1.3.3-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:709a48ef9a690e1343202916450bc48b9e51c049b089c7f79a267b46cffcdaa1", size = 288773, upload-time = "2025-07-26T12:01:02.277Z" }, + { url = "https://files.pythonhosted.org/packages/0d/44/c4b0b6095fef4dc9c420e041799591e3b63e9619e3044f7f4f6c21c0ab24/contourpy-1.3.3-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:23416f38bfd74d5d28ab8429cc4d63fa67d5068bd711a85edb1c3fb0c3e2f381", size = 270149, upload-time = "2025-07-26T12:01:04.072Z" }, + { url = "https://files.pythonhosted.org/packages/30/2e/dd4ced42fefac8470661d7cb7e264808425e6c5d56d175291e93890cce09/contourpy-1.3.3-cp311-cp311-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:929ddf8c4c7f348e4c0a5a3a714b5c8542ffaa8c22954862a46ca1813b667ee7", size = 329222, upload-time = "2025-07-26T12:01:05.688Z" }, + { url = "https://files.pythonhosted.org/packages/f2/74/cc6ec2548e3d276c71389ea4802a774b7aa3558223b7bade3f25787fafc2/contourpy-1.3.3-cp311-cp311-manylinux_2_26_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:9e999574eddae35f1312c2b4b717b7885d4edd6cb46700e04f7f02db454e67c1", size = 377234, upload-time = "2025-07-26T12:01:07.054Z" }, + { url = "https://files.pythonhosted.org/packages/03/b3/64ef723029f917410f75c09da54254c5f9ea90ef89b143ccadb09df14c15/contourpy-1.3.3-cp311-cp311-manylinux_2_26_s390x.manylinux_2_28_s390x.whl", hash = "sha256:0bf67e0e3f482cb69779dd3061b534eb35ac9b17f163d851e2a547d56dba0a3a", size = 380555, upload-time = "2025-07-26T12:01:08.801Z" }, + { url = "https://files.pythonhosted.org/packages/5f/4b/6157f24ca425b89fe2eb7e7be642375711ab671135be21e6faa100f7448c/contourpy-1.3.3-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:51e79c1f7470158e838808d4a996fa9bac72c498e93d8ebe5119bc1e6becb0db", size = 355238, upload-time = "2025-07-26T12:01:10.319Z" }, + { url = "https://files.pythonhosted.org/packages/98/56/f914f0dd678480708a04cfd2206e7c382533249bc5001eb9f58aa693e200/contourpy-1.3.3-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:598c3aaece21c503615fd59c92a3598b428b2f01bfb4b8ca9c4edeecc2438620", size = 1326218, upload-time = "2025-07-26T12:01:12.659Z" }, + { url = "https://files.pythonhosted.org/packages/fb/d7/4a972334a0c971acd5172389671113ae82aa7527073980c38d5868ff1161/contourpy-1.3.3-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:322ab1c99b008dad206d406bb61d014cf0174df491ae9d9d0fac6a6fda4f977f", size = 1392867, upload-time = "2025-07-26T12:01:15.533Z" }, + { url = "https://files.pythonhosted.org/packages/75/3e/f2cc6cd56dc8cff46b1a56232eabc6feea52720083ea71ab15523daab796/contourpy-1.3.3-cp311-cp311-win32.whl", hash = "sha256:fd907ae12cd483cd83e414b12941c632a969171bf90fc937d0c9f268a31cafff", size = 183677, upload-time = "2025-07-26T12:01:17.088Z" }, + { url = "https://files.pythonhosted.org/packages/98/4b/9bd370b004b5c9d8045c6c33cf65bae018b27aca550a3f657cdc99acdbd8/contourpy-1.3.3-cp311-cp311-win_amd64.whl", hash = "sha256:3519428f6be58431c56581f1694ba8e50626f2dd550af225f82fb5f5814d2a42", size = 225234, upload-time = "2025-07-26T12:01:18.256Z" }, + { url = "https://files.pythonhosted.org/packages/d9/b6/71771e02c2e004450c12b1120a5f488cad2e4d5b590b1af8bad060360fe4/contourpy-1.3.3-cp311-cp311-win_arm64.whl", hash = "sha256:15ff10bfada4bf92ec8b31c62bf7c1834c244019b4a33095a68000d7075df470", size = 193123, upload-time = "2025-07-26T12:01:19.848Z" }, + { url = "https://files.pythonhosted.org/packages/be/45/adfee365d9ea3d853550b2e735f9d66366701c65db7855cd07621732ccfc/contourpy-1.3.3-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:b08a32ea2f8e42cf1d4be3169a98dd4be32bafe4f22b6c4cb4ba810fa9e5d2cb", size = 293419, upload-time = "2025-07-26T12:01:21.16Z" }, + { url = "https://files.pythonhosted.org/packages/53/3e/405b59cfa13021a56bba395a6b3aca8cec012b45bf177b0eaf7a202cde2c/contourpy-1.3.3-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:556dba8fb6f5d8742f2923fe9457dbdd51e1049c4a43fd3986a0b14a1d815fc6", size = 273979, upload-time = "2025-07-26T12:01:22.448Z" }, + { url = "https://files.pythonhosted.org/packages/d4/1c/a12359b9b2ca3a845e8f7f9ac08bdf776114eb931392fcad91743e2ea17b/contourpy-1.3.3-cp312-cp312-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:92d9abc807cf7d0e047b95ca5d957cf4792fcd04e920ca70d48add15c1a90ea7", size = 332653, upload-time = "2025-07-26T12:01:24.155Z" }, + { url = "https://files.pythonhosted.org/packages/63/12/897aeebfb475b7748ea67b61e045accdfcf0d971f8a588b67108ed7f5512/contourpy-1.3.3-cp312-cp312-manylinux_2_26_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:b2e8faa0ed68cb29af51edd8e24798bb661eac3bd9f65420c1887b6ca89987c8", size = 379536, upload-time = "2025-07-26T12:01:25.91Z" }, + { url = "https://files.pythonhosted.org/packages/43/8a/a8c584b82deb248930ce069e71576fc09bd7174bbd35183b7943fb1064fd/contourpy-1.3.3-cp312-cp312-manylinux_2_26_s390x.manylinux_2_28_s390x.whl", hash = "sha256:626d60935cf668e70a5ce6ff184fd713e9683fb458898e4249b63be9e28286ea", size = 384397, upload-time = "2025-07-26T12:01:27.152Z" }, + { url = "https://files.pythonhosted.org/packages/cc/8f/ec6289987824b29529d0dfda0d74a07cec60e54b9c92f3c9da4c0ac732de/contourpy-1.3.3-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:4d00e655fcef08aba35ec9610536bfe90267d7ab5ba944f7032549c55a146da1", size = 362601, upload-time = "2025-07-26T12:01:28.808Z" }, + { url = "https://files.pythonhosted.org/packages/05/0a/a3fe3be3ee2dceb3e615ebb4df97ae6f3828aa915d3e10549ce016302bd1/contourpy-1.3.3-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:451e71b5a7d597379ef572de31eeb909a87246974d960049a9848c3bc6c41bf7", size = 1331288, upload-time = "2025-07-26T12:01:31.198Z" }, + { url = "https://files.pythonhosted.org/packages/33/1d/acad9bd4e97f13f3e2b18a3977fe1b4a37ecf3d38d815333980c6c72e963/contourpy-1.3.3-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:459c1f020cd59fcfe6650180678a9993932d80d44ccde1fa1868977438f0b411", size = 1403386, upload-time = "2025-07-26T12:01:33.947Z" }, + { url = "https://files.pythonhosted.org/packages/cf/8f/5847f44a7fddf859704217a99a23a4f6417b10e5ab1256a179264561540e/contourpy-1.3.3-cp312-cp312-win32.whl", hash = "sha256:023b44101dfe49d7d53932be418477dba359649246075c996866106da069af69", size = 185018, upload-time = "2025-07-26T12:01:35.64Z" }, + { url = "https://files.pythonhosted.org/packages/19/e8/6026ed58a64563186a9ee3f29f41261fd1828f527dd93d33b60feca63352/contourpy-1.3.3-cp312-cp312-win_amd64.whl", hash = "sha256:8153b8bfc11e1e4d75bcb0bff1db232f9e10b274e0929de9d608027e0d34ff8b", size = 226567, upload-time = "2025-07-26T12:01:36.804Z" }, + { url = "https://files.pythonhosted.org/packages/d1/e2/f05240d2c39a1ed228d8328a78b6f44cd695f7ef47beb3e684cf93604f86/contourpy-1.3.3-cp312-cp312-win_arm64.whl", hash = "sha256:07ce5ed73ecdc4a03ffe3e1b3e3c1166db35ae7584be76f65dbbe28a7791b0cc", size = 193655, upload-time = "2025-07-26T12:01:37.999Z" }, + { url = "https://files.pythonhosted.org/packages/68/35/0167aad910bbdb9599272bd96d01a9ec6852f36b9455cf2ca67bd4cc2d23/contourpy-1.3.3-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:177fb367556747a686509d6fef71d221a4b198a3905fe824430e5ea0fda54eb5", size = 293257, upload-time = "2025-07-26T12:01:39.367Z" }, + { url = "https://files.pythonhosted.org/packages/96/e4/7adcd9c8362745b2210728f209bfbcf7d91ba868a2c5f40d8b58f54c509b/contourpy-1.3.3-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:d002b6f00d73d69333dac9d0b8d5e84d9724ff9ef044fd63c5986e62b7c9e1b1", size = 274034, upload-time = "2025-07-26T12:01:40.645Z" }, + { url = "https://files.pythonhosted.org/packages/73/23/90e31ceeed1de63058a02cb04b12f2de4b40e3bef5e082a7c18d9c8ae281/contourpy-1.3.3-cp313-cp313-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:348ac1f5d4f1d66d3322420f01d42e43122f43616e0f194fc1c9f5d830c5b286", size = 334672, upload-time = "2025-07-26T12:01:41.942Z" }, + { url = "https://files.pythonhosted.org/packages/ed/93/b43d8acbe67392e659e1d984700e79eb67e2acb2bd7f62012b583a7f1b55/contourpy-1.3.3-cp313-cp313-manylinux_2_26_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:655456777ff65c2c548b7c454af9c6f33f16c8884f11083244b5819cc214f1b5", size = 381234, upload-time = "2025-07-26T12:01:43.499Z" }, + { url = "https://files.pythonhosted.org/packages/46/3b/bec82a3ea06f66711520f75a40c8fc0b113b2a75edb36aa633eb11c4f50f/contourpy-1.3.3-cp313-cp313-manylinux_2_26_s390x.manylinux_2_28_s390x.whl", hash = "sha256:644a6853d15b2512d67881586bd03f462c7ab755db95f16f14d7e238f2852c67", size = 385169, upload-time = "2025-07-26T12:01:45.219Z" }, + { url = "https://files.pythonhosted.org/packages/4b/32/e0f13a1c5b0f8572d0ec6ae2f6c677b7991fafd95da523159c19eff0696a/contourpy-1.3.3-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:4debd64f124ca62069f313a9cb86656ff087786016d76927ae2cf37846b006c9", size = 362859, upload-time = "2025-07-26T12:01:46.519Z" }, + { url = "https://files.pythonhosted.org/packages/33/71/e2a7945b7de4e58af42d708a219f3b2f4cff7386e6b6ab0a0fa0033c49a9/contourpy-1.3.3-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:a15459b0f4615b00bbd1e91f1b9e19b7e63aea7483d03d804186f278c0af2659", size = 1332062, upload-time = "2025-07-26T12:01:48.964Z" }, + { url = "https://files.pythonhosted.org/packages/12/fc/4e87ac754220ccc0e807284f88e943d6d43b43843614f0a8afa469801db0/contourpy-1.3.3-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:ca0fdcd73925568ca027e0b17ab07aad764be4706d0a925b89227e447d9737b7", size = 1403932, upload-time = "2025-07-26T12:01:51.979Z" }, + { url = "https://files.pythonhosted.org/packages/a6/2e/adc197a37443f934594112222ac1aa7dc9a98faf9c3842884df9a9d8751d/contourpy-1.3.3-cp313-cp313-win32.whl", hash = "sha256:b20c7c9a3bf701366556e1b1984ed2d0cedf999903c51311417cf5f591d8c78d", size = 185024, upload-time = "2025-07-26T12:01:53.245Z" }, + { url = "https://files.pythonhosted.org/packages/18/0b/0098c214843213759692cc638fce7de5c289200a830e5035d1791d7a2338/contourpy-1.3.3-cp313-cp313-win_amd64.whl", hash = "sha256:1cadd8b8969f060ba45ed7c1b714fe69185812ab43bd6b86a9123fe8f99c3263", size = 226578, upload-time = "2025-07-26T12:01:54.422Z" }, + { url = "https://files.pythonhosted.org/packages/8a/9a/2f6024a0c5995243cd63afdeb3651c984f0d2bc727fd98066d40e141ad73/contourpy-1.3.3-cp313-cp313-win_arm64.whl", hash = "sha256:fd914713266421b7536de2bfa8181aa8c699432b6763a0ea64195ebe28bff6a9", size = 193524, upload-time = "2025-07-26T12:01:55.73Z" }, + { url = "https://files.pythonhosted.org/packages/c0/b3/f8a1a86bd3298513f500e5b1f5fd92b69896449f6cab6a146a5d52715479/contourpy-1.3.3-cp313-cp313t-macosx_10_13_x86_64.whl", hash = "sha256:88df9880d507169449d434c293467418b9f6cbe82edd19284aa0409e7fdb933d", size = 306730, upload-time = "2025-07-26T12:01:57.051Z" }, + { url = "https://files.pythonhosted.org/packages/3f/11/4780db94ae62fc0c2053909b65dc3246bd7cecfc4f8a20d957ad43aa4ad8/contourpy-1.3.3-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:d06bb1f751ba5d417047db62bca3c8fde202b8c11fb50742ab3ab962c81e8216", size = 287897, upload-time = "2025-07-26T12:01:58.663Z" }, + { url = "https://files.pythonhosted.org/packages/ae/15/e59f5f3ffdd6f3d4daa3e47114c53daabcb18574a26c21f03dc9e4e42ff0/contourpy-1.3.3-cp313-cp313t-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:e4e6b05a45525357e382909a4c1600444e2a45b4795163d3b22669285591c1ae", size = 326751, upload-time = "2025-07-26T12:02:00.343Z" }, + { url = "https://files.pythonhosted.org/packages/0f/81/03b45cfad088e4770b1dcf72ea78d3802d04200009fb364d18a493857210/contourpy-1.3.3-cp313-cp313t-manylinux_2_26_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:ab3074b48c4e2cf1a960e6bbeb7f04566bf36b1861d5c9d4d8ac04b82e38ba20", size = 375486, upload-time = "2025-07-26T12:02:02.128Z" }, + { url = "https://files.pythonhosted.org/packages/0c/ba/49923366492ffbdd4486e970d421b289a670ae8cf539c1ea9a09822b371a/contourpy-1.3.3-cp313-cp313t-manylinux_2_26_s390x.manylinux_2_28_s390x.whl", hash = "sha256:6c3d53c796f8647d6deb1abe867daeb66dcc8a97e8455efa729516b997b8ed99", size = 388106, upload-time = "2025-07-26T12:02:03.615Z" }, + { url = "https://files.pythonhosted.org/packages/9f/52/5b00ea89525f8f143651f9f03a0df371d3cbd2fccd21ca9b768c7a6500c2/contourpy-1.3.3-cp313-cp313t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:50ed930df7289ff2a8d7afeb9603f8289e5704755c7e5c3bbd929c90c817164b", size = 352548, upload-time = "2025-07-26T12:02:05.165Z" }, + { url = "https://files.pythonhosted.org/packages/32/1d/a209ec1a3a3452d490f6b14dd92e72280c99ae3d1e73da74f8277d4ee08f/contourpy-1.3.3-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:4feffb6537d64b84877da813a5c30f1422ea5739566abf0bd18065ac040e120a", size = 1322297, upload-time = "2025-07-26T12:02:07.379Z" }, + { url = "https://files.pythonhosted.org/packages/bc/9e/46f0e8ebdd884ca0e8877e46a3f4e633f6c9c8c4f3f6e72be3fe075994aa/contourpy-1.3.3-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:2b7e9480ffe2b0cd2e787e4df64270e3a0440d9db8dc823312e2c940c167df7e", size = 1391023, upload-time = "2025-07-26T12:02:10.171Z" }, + { url = "https://files.pythonhosted.org/packages/b9/70/f308384a3ae9cd2209e0849f33c913f658d3326900d0ff5d378d6a1422d2/contourpy-1.3.3-cp313-cp313t-win32.whl", hash = "sha256:283edd842a01e3dcd435b1c5116798d661378d83d36d337b8dde1d16a5fc9ba3", size = 196157, upload-time = "2025-07-26T12:02:11.488Z" }, + { url = "https://files.pythonhosted.org/packages/b2/dd/880f890a6663b84d9e34a6f88cded89d78f0091e0045a284427cb6b18521/contourpy-1.3.3-cp313-cp313t-win_amd64.whl", hash = "sha256:87acf5963fc2b34825e5b6b048f40e3635dd547f590b04d2ab317c2619ef7ae8", size = 240570, upload-time = "2025-07-26T12:02:12.754Z" }, + { url = "https://files.pythonhosted.org/packages/80/99/2adc7d8ffead633234817ef8e9a87115c8a11927a94478f6bb3d3f4d4f7d/contourpy-1.3.3-cp313-cp313t-win_arm64.whl", hash = "sha256:3c30273eb2a55024ff31ba7d052dde990d7d8e5450f4bbb6e913558b3d6c2301", size = 199713, upload-time = "2025-07-26T12:02:14.4Z" }, + { url = "https://files.pythonhosted.org/packages/72/8b/4546f3ab60f78c514ffb7d01a0bd743f90de36f0019d1be84d0a708a580a/contourpy-1.3.3-cp314-cp314-macosx_10_13_x86_64.whl", hash = "sha256:fde6c716d51c04b1c25d0b90364d0be954624a0ee9d60e23e850e8d48353d07a", size = 292189, upload-time = "2025-07-26T12:02:16.095Z" }, + { url = "https://files.pythonhosted.org/packages/fd/e1/3542a9cb596cadd76fcef413f19c79216e002623158befe6daa03dbfa88c/contourpy-1.3.3-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:cbedb772ed74ff5be440fa8eee9bd49f64f6e3fc09436d9c7d8f1c287b121d77", size = 273251, upload-time = "2025-07-26T12:02:17.524Z" }, + { url = "https://files.pythonhosted.org/packages/b1/71/f93e1e9471d189f79d0ce2497007731c1e6bf9ef6d1d61b911430c3db4e5/contourpy-1.3.3-cp314-cp314-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:22e9b1bd7a9b1d652cd77388465dc358dafcd2e217d35552424aa4f996f524f5", size = 335810, upload-time = "2025-07-26T12:02:18.9Z" }, + { url = "https://files.pythonhosted.org/packages/91/f9/e35f4c1c93f9275d4e38681a80506b5510e9327350c51f8d4a5a724d178c/contourpy-1.3.3-cp314-cp314-manylinux_2_26_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:a22738912262aa3e254e4f3cb079a95a67132fc5a063890e224393596902f5a4", size = 382871, upload-time = "2025-07-26T12:02:20.418Z" }, + { url = "https://files.pythonhosted.org/packages/b5/71/47b512f936f66a0a900d81c396a7e60d73419868fba959c61efed7a8ab46/contourpy-1.3.3-cp314-cp314-manylinux_2_26_s390x.manylinux_2_28_s390x.whl", hash = "sha256:afe5a512f31ee6bd7d0dda52ec9864c984ca3d66664444f2d72e0dc4eb832e36", size = 386264, upload-time = "2025-07-26T12:02:21.916Z" }, + { url = "https://files.pythonhosted.org/packages/04/5f/9ff93450ba96b09c7c2b3f81c94de31c89f92292f1380261bd7195bea4ea/contourpy-1.3.3-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:f64836de09927cba6f79dcd00fdd7d5329f3fccc633468507079c829ca4db4e3", size = 363819, upload-time = "2025-07-26T12:02:23.759Z" }, + { url = "https://files.pythonhosted.org/packages/3e/a6/0b185d4cc480ee494945cde102cb0149ae830b5fa17bf855b95f2e70ad13/contourpy-1.3.3-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:1fd43c3be4c8e5fd6e4f2baeae35ae18176cf2e5cced681cca908addf1cdd53b", size = 1333650, upload-time = "2025-07-26T12:02:26.181Z" }, + { url = "https://files.pythonhosted.org/packages/43/d7/afdc95580ca56f30fbcd3060250f66cedbde69b4547028863abd8aa3b47e/contourpy-1.3.3-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:6afc576f7b33cf00996e5c1102dc2a8f7cc89e39c0b55df93a0b78c1bd992b36", size = 1404833, upload-time = "2025-07-26T12:02:28.782Z" }, + { url = "https://files.pythonhosted.org/packages/e2/e2/366af18a6d386f41132a48f033cbd2102e9b0cf6345d35ff0826cd984566/contourpy-1.3.3-cp314-cp314-win32.whl", hash = "sha256:66c8a43a4f7b8df8b71ee1840e4211a3c8d93b214b213f590e18a1beca458f7d", size = 189692, upload-time = "2025-07-26T12:02:30.128Z" }, + { url = "https://files.pythonhosted.org/packages/7d/c2/57f54b03d0f22d4044b8afb9ca0e184f8b1afd57b4f735c2fa70883dc601/contourpy-1.3.3-cp314-cp314-win_amd64.whl", hash = "sha256:cf9022ef053f2694e31d630feaacb21ea24224be1c3ad0520b13d844274614fd", size = 232424, upload-time = "2025-07-26T12:02:31.395Z" }, + { url = "https://files.pythonhosted.org/packages/18/79/a9416650df9b525737ab521aa181ccc42d56016d2123ddcb7b58e926a42c/contourpy-1.3.3-cp314-cp314-win_arm64.whl", hash = "sha256:95b181891b4c71de4bb404c6621e7e2390745f887f2a026b2d99e92c17892339", size = 198300, upload-time = "2025-07-26T12:02:32.956Z" }, + { url = "https://files.pythonhosted.org/packages/1f/42/38c159a7d0f2b7b9c04c64ab317042bb6952b713ba875c1681529a2932fe/contourpy-1.3.3-cp314-cp314t-macosx_10_13_x86_64.whl", hash = "sha256:33c82d0138c0a062380332c861387650c82e4cf1747aaa6938b9b6516762e772", size = 306769, upload-time = "2025-07-26T12:02:34.2Z" }, + { url = "https://files.pythonhosted.org/packages/c3/6c/26a8205f24bca10974e77460de68d3d7c63e282e23782f1239f226fcae6f/contourpy-1.3.3-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:ea37e7b45949df430fe649e5de8351c423430046a2af20b1c1961cae3afcda77", size = 287892, upload-time = "2025-07-26T12:02:35.807Z" }, + { url = "https://files.pythonhosted.org/packages/66/06/8a475c8ab718ebfd7925661747dbb3c3ee9c82ac834ccb3570be49d129f4/contourpy-1.3.3-cp314-cp314t-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:d304906ecc71672e9c89e87c4675dc5c2645e1f4269a5063b99b0bb29f232d13", size = 326748, upload-time = "2025-07-26T12:02:37.193Z" }, + { url = "https://files.pythonhosted.org/packages/b4/a3/c5ca9f010a44c223f098fccd8b158bb1cb287378a31ac141f04730dc49be/contourpy-1.3.3-cp314-cp314t-manylinux_2_26_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:ca658cd1a680a5c9ea96dc61cdbae1e85c8f25849843aa799dfd3cb370ad4fbe", size = 375554, upload-time = "2025-07-26T12:02:38.894Z" }, + { url = "https://files.pythonhosted.org/packages/80/5b/68bd33ae63fac658a4145088c1e894405e07584a316738710b636c6d0333/contourpy-1.3.3-cp314-cp314t-manylinux_2_26_s390x.manylinux_2_28_s390x.whl", hash = "sha256:ab2fd90904c503739a75b7c8c5c01160130ba67944a7b77bbf36ef8054576e7f", size = 388118, upload-time = "2025-07-26T12:02:40.642Z" }, + { url = "https://files.pythonhosted.org/packages/40/52/4c285a6435940ae25d7410a6c36bda5145839bc3f0beb20c707cda18b9d2/contourpy-1.3.3-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:b7301b89040075c30e5768810bc96a8e8d78085b47d8be6e4c3f5a0b4ed478a0", size = 352555, upload-time = "2025-07-26T12:02:42.25Z" }, + { url = "https://files.pythonhosted.org/packages/24/ee/3e81e1dd174f5c7fefe50e85d0892de05ca4e26ef1c9a59c2a57e43b865a/contourpy-1.3.3-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:2a2a8b627d5cc6b7c41a4beff6c5ad5eb848c88255fda4a8745f7e901b32d8e4", size = 1322295, upload-time = "2025-07-26T12:02:44.668Z" }, + { url = "https://files.pythonhosted.org/packages/3c/b2/6d913d4d04e14379de429057cd169e5e00f6c2af3bb13e1710bcbdb5da12/contourpy-1.3.3-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:fd6ec6be509c787f1caf6b247f0b1ca598bef13f4ddeaa126b7658215529ba0f", size = 1391027, upload-time = "2025-07-26T12:02:47.09Z" }, + { url = "https://files.pythonhosted.org/packages/93/8a/68a4ec5c55a2971213d29a9374913f7e9f18581945a7a31d1a39b5d2dfe5/contourpy-1.3.3-cp314-cp314t-win32.whl", hash = "sha256:e74a9a0f5e3fff48fb5a7f2fd2b9b70a3fe014a67522f79b7cca4c0c7e43c9ae", size = 202428, upload-time = "2025-07-26T12:02:48.691Z" }, + { url = "https://files.pythonhosted.org/packages/fa/96/fd9f641ffedc4fa3ace923af73b9d07e869496c9cc7a459103e6e978992f/contourpy-1.3.3-cp314-cp314t-win_amd64.whl", hash = "sha256:13b68d6a62db8eafaebb8039218921399baf6e47bf85006fd8529f2a08ef33fc", size = 250331, upload-time = "2025-07-26T12:02:50.137Z" }, + { url = "https://files.pythonhosted.org/packages/ae/8c/469afb6465b853afff216f9528ffda78a915ff880ed58813ba4faf4ba0b6/contourpy-1.3.3-cp314-cp314t-win_arm64.whl", hash = "sha256:b7448cb5a725bb1e35ce88771b86fba35ef418952474492cf7c764059933ff8b", size = 203831, upload-time = "2025-07-26T12:02:51.449Z" }, + { url = "https://files.pythonhosted.org/packages/a5/29/8dcfe16f0107943fa92388c23f6e05cff0ba58058c4c95b00280d4c75a14/contourpy-1.3.3-pp311-pypy311_pp73-macosx_10_15_x86_64.whl", hash = "sha256:cd5dfcaeb10f7b7f9dc8941717c6c2ade08f587be2226222c12b25f0483ed497", size = 278809, upload-time = "2025-07-26T12:02:52.74Z" }, + { url = "https://files.pythonhosted.org/packages/85/a9/8b37ef4f7dafeb335daee3c8254645ef5725be4d9c6aa70b50ec46ef2f7e/contourpy-1.3.3-pp311-pypy311_pp73-macosx_11_0_arm64.whl", hash = "sha256:0c1fc238306b35f246d61a1d416a627348b5cf0648648a031e14bb8705fcdfe8", size = 261593, upload-time = "2025-07-26T12:02:54.037Z" }, + { url = "https://files.pythonhosted.org/packages/0a/59/ebfb8c677c75605cc27f7122c90313fd2f375ff3c8d19a1694bda74aaa63/contourpy-1.3.3-pp311-pypy311_pp73-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:70f9aad7de812d6541d29d2bbf8feb22ff7e1c299523db288004e3157ff4674e", size = 302202, upload-time = "2025-07-26T12:02:55.947Z" }, + { url = "https://files.pythonhosted.org/packages/3c/37/21972a15834d90bfbfb009b9d004779bd5a07a0ec0234e5ba8f64d5736f4/contourpy-1.3.3-pp311-pypy311_pp73-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:5ed3657edf08512fc3fe81b510e35c2012fbd3081d2e26160f27ca28affec989", size = 329207, upload-time = "2025-07-26T12:02:57.468Z" }, + { url = "https://files.pythonhosted.org/packages/0c/58/bd257695f39d05594ca4ad60df5bcb7e32247f9951fd09a9b8edb82d1daa/contourpy-1.3.3-pp311-pypy311_pp73-win_amd64.whl", hash = "sha256:3d1a3799d62d45c18bafd41c5fa05120b96a28079f2393af559b843d1a966a77", size = 225315, upload-time = "2025-07-26T12:02:58.801Z" }, +] + +[[package]] +name = "contourpy" +version = "1.4.0" +source = { registry = "https://pypi.org/simple" } +resolution-markers = [ + "python_full_version == '3.14.*'", + "python_full_version >= '3.12' and python_full_version < '3.14'", +] +dependencies = [ + { name = "numpy", version = "2.5.3", source = { registry = "https://pypi.org/simple" } }, +] +sdist = { url = "https://files.pythonhosted.org/packages/83/5a/a55177dd22553a277388e8a1b3220e92de91bacb28356cdc73caa240121d/contourpy-1.4.0.tar.gz", hash = "sha256:20156f5a1ac4f8ce02656e39a61e82164a3d359796dc8026f75b062783d500e1", size = 13323726, upload-time = "2026-09-11T19:05:05.808Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/97/ba/01bde9753bdbba04a6da9d2bff3881f021bc708f654655e95fae26d3b3a3/contourpy-1.4.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:186ba929df36d61b6127da2e89cd1357e4cb79aca647381ab1a6feb0b152877b", size = 297302, upload-time = "2026-09-11T19:02:45.103Z" }, + { url = "https://files.pythonhosted.org/packages/dd/f5/c5bf67522d49a2222f3154fe46879451d26f0e35ece41770758a64ea78cb/contourpy-1.4.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:c76f3a5318164db7d9401132fc1b5364b784c613c93fa506e3b5e6d1bf353ec8", size = 284921, upload-time = "2026-09-11T19:02:48.049Z" }, + { url = "https://files.pythonhosted.org/packages/0f/cc/cb989599eec12fda312e127eb8e04a8b21a7a6c94bf7ff1bc68273334a42/contourpy-1.4.0-cp312-cp312-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:43c3ccbb32c6294b183dcc8e8c46dacf5ecef809497e3d48a5be298eef185ad0", size = 356332, upload-time = "2026-09-11T19:02:51.408Z" }, + { url = "https://files.pythonhosted.org/packages/47/fb/6f620d7602507817b0b4c21dd790ed68688f1f4ae9c29aacf21f08db5cf1/contourpy-1.4.0-cp312-cp312-manylinux_2_26_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:86d05cec773c9507a3950122e0e40ce77c23c75ceeb2fc189514e71893cbb34b", size = 405878, upload-time = "2026-09-11T19:02:54.093Z" }, + { url = "https://files.pythonhosted.org/packages/32/4e/693c6d6bdece679f0953775eef3a1b66d56be55478d936e7deb1f3004422/contourpy-1.4.0-cp312-cp312-manylinux_2_26_s390x.manylinux_2_28_s390x.whl", hash = "sha256:2deb580178ca19437a84bd77e4bc2cd91a8ccad212413a83c273900868b5978c", size = 408296, upload-time = "2026-09-11T19:02:56.528Z" }, + { url = "https://files.pythonhosted.org/packages/78/f9/b6831508960d559581c448532ba4df312217072975486dbf2b24fcc5b76f/contourpy-1.4.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:875f42444c9cf48d56f724f2637e60d0f73b3b12c9041e1484580a233edf9591", size = 383243, upload-time = "2026-09-11T19:02:58.638Z" }, + { url = "https://files.pythonhosted.org/packages/f2/21/52903825a0ae7bb625e8bd30a09816d4c3c5d6174a469c10a616166cf780/contourpy-1.4.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:f863c6100bf926cf47d13f3cd75f9bb8ebd98aaab230eeb4468b91f98f39a6b3", size = 1357306, upload-time = "2026-09-11T19:03:01.036Z" }, + { url = "https://files.pythonhosted.org/packages/d8/79/d68b1ce8539e4071518fed9523f558398f34dcd078b8927b109c72dad2ef/contourpy-1.4.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:3863ef2e2b13fe93f8c0ebb08ee400cb07153b8b0e91c5acb26e4537f283634f", size = 1427243, upload-time = "2026-09-11T19:03:03.866Z" }, + { url = "https://files.pythonhosted.org/packages/ac/f0/b75a10e9d0616b97a30de277b6dfe83f1879880854c7330337309530eb48/contourpy-1.4.0-cp312-cp312-win32.whl", hash = "sha256:5450f091ac1be0be3ad3a2a3b3f23b5e443e78c670ced4fd347d626f92a28fd2", size = 347345, upload-time = "2026-09-11T19:03:06.192Z" }, + { url = "https://files.pythonhosted.org/packages/50/a9/dab08786bb4d77ef9a046b3c1be923be4e73c5d07d91f5a54e8ea9b09e41/contourpy-1.4.0-cp312-cp312-win_amd64.whl", hash = "sha256:6e697d94e69f499ff6bebb899cae97a58d5d14f0e1fe9568b43a0248d2f9af8c", size = 234083, upload-time = "2026-09-11T19:03:08.122Z" }, + { url = "https://files.pythonhosted.org/packages/47/b9/3ba509755a970dbde5948e7142ac21f266be72f38017cc4087a05fdceee1/contourpy-1.4.0-cp312-cp312-win_arm64.whl", hash = "sha256:0c7a4c2716a4e98342221954416a836cca77c996c14ddbf22b5f01d5d93ca09c", size = 559521, upload-time = "2026-09-11T19:03:10.047Z" }, + { url = "https://files.pythonhosted.org/packages/b7/8b/62a6eacea08ea0b6ab0159a7783df7ed421ff9c1ff58fef7c31f58fa5e52/contourpy-1.4.0-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:e21d1d4a9db5b3a793649c7ab0ddb4697f2818929eec871a7b9c45fce7b2a1ea", size = 297330, upload-time = "2026-09-11T19:03:11.809Z" }, + { url = "https://files.pythonhosted.org/packages/3f/2f/103cdc5b7077cd569989d3ddb99ee3d4e96ee31bde8df2a6e426b2dc6195/contourpy-1.4.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:196759a3e4db60e1546167e361090ebb6d199aa3aafc9e34ea17a5ac3b23e814", size = 285037, upload-time = "2026-09-11T19:03:13.781Z" }, + { url = "https://files.pythonhosted.org/packages/bf/25/97001d1fdf940e6f5adfc592d4f5899fff95daf7dceead3988fe09987d2d/contourpy-1.4.0-cp313-cp313-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:9c0e07c691f3b3321913ed9b8161c50ea5f77fadd006f52f5e755359b0dcbfc5", size = 356675, upload-time = "2026-09-11T19:03:15.374Z" }, + { url = "https://files.pythonhosted.org/packages/a6/5e/9a7241a89e2f74402aefa2569e1349ad2750ff77823c04c788eaaedb7fdd/contourpy-1.4.0-cp313-cp313-manylinux_2_26_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:7f861af508fca2384eef392bc1d8377cfa349b2b854cb11b45d89c75780e2561", size = 406990, upload-time = "2026-09-11T19:03:17.44Z" }, + { url = "https://files.pythonhosted.org/packages/36/81/3a4fbbf6a806eada5453a6d16f6c7d96b9f4b3e57a3127368fb545986b8a/contourpy-1.4.0-cp313-cp313-manylinux_2_26_s390x.manylinux_2_28_s390x.whl", hash = "sha256:a03b32c2e7eda8b17757c022162c13c86f5c3d6f937dddf9ba3c3ff7b513953b", size = 407271, upload-time = "2026-09-11T19:03:19.523Z" }, + { url = "https://files.pythonhosted.org/packages/68/77/8f93ecbde1a4d11dfd460cd19a0c159f5487352e751fa87f5d78cc9db08e/contourpy-1.4.0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:f1219a8898523cba821085f2da8a1b962cc696325763f09d7f93538ba43b2d70", size = 384707, upload-time = "2026-09-11T19:03:21.208Z" }, + { url = "https://files.pythonhosted.org/packages/05/07/e5cdf94d68961ee464de6b4fedd3d2f666584f59ccd124bb1290597122ab/contourpy-1.4.0-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:20da2f86bfaed60dbba729fe738c8241b1dd22b6cf7e8cbbf30df290bd04ba28", size = 1356741, upload-time = "2026-09-11T19:03:23.621Z" }, + { url = "https://files.pythonhosted.org/packages/fd/8a/2301d07accb257ac08daeb631875fada06fedd019c20ff7b00ee07e9d211/contourpy-1.4.0-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:6ced1670fafee703b8277ab1645072a226e74f167166eae146fb743916119b67", size = 1426793, upload-time = "2026-09-11T19:03:25.955Z" }, + { url = "https://files.pythonhosted.org/packages/7d/5d/a62648f06259d15c139b14eb8cf3c58fe53cb970a55f2bb77d1070e80a41/contourpy-1.4.0-cp313-cp313-pyemscripten_2025_0_wasm32.whl", hash = "sha256:abd0f7e51ecc52bf8c95713bd80b1c17c516a71fa391c54475308a4377903c2b", size = 117961, upload-time = "2026-09-11T19:03:27.713Z" }, + { url = "https://files.pythonhosted.org/packages/71/31/c5b7771ba6982f319ec90c0cf5c425b36891adfeee2d9f667f90b2d0c166/contourpy-1.4.0-cp313-cp313-win32.whl", hash = "sha256:510f7d93d94cf6ebf4e2cd0640bea16ab8affac7547230175b6745b596ce0599", size = 347438, upload-time = "2026-09-11T19:03:29.829Z" }, + { url = "https://files.pythonhosted.org/packages/68/c1/a59df0754bf83a6f3e153cc19d550a5b01f607e389b1c4d57f436f9139e0/contourpy-1.4.0-cp313-cp313-win_amd64.whl", hash = "sha256:6507a016976a75a15aee47809a34605de6244ccc056e6164bf9fb14b27eecad4", size = 234084, upload-time = "2026-09-11T19:03:31.657Z" }, + { url = "https://files.pythonhosted.org/packages/41/48/97224f5decb1efa5a610f912195deb45321f73ec9b9dac485cd6fe2d5a6a/contourpy-1.4.0-cp313-cp313-win_arm64.whl", hash = "sha256:423bd5f4b3f11d54a8c597234e513382e3454bb106b8ec7ae32ba4ed63f8d99b", size = 559559, upload-time = "2026-09-11T19:03:33.528Z" }, + { url = "https://files.pythonhosted.org/packages/75/b0/b548628c8dddf6e5e0a981b7fa8e4c008024df09c7d17c6a9e271edfa0b3/contourpy-1.4.0-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:a3e67bc1a6a4618a1dac7c3053a9ffece5ddfa2046b2670b342cf430bb0b87d1", size = 297354, upload-time = "2026-09-11T19:03:35.017Z" }, + { url = "https://files.pythonhosted.org/packages/04/5a/513484208742f65af2648c519f0b7ab034616e183c4403538024c136a1ab/contourpy-1.4.0-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:072a702e2e178f4fcf96f04775d0c059e4c917925abf0d3208ebb6865df3c23d", size = 283729, upload-time = "2026-09-11T19:03:36.818Z" }, + { url = "https://files.pythonhosted.org/packages/35/da/5a6562febc994b2c4bf9d01e57a50458ef8a2051bb3e7b35a00333e0fc26/contourpy-1.4.0-cp314-cp314-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:404dbcd9233513dfd1323b66ea593fef90e899f658f6b8a9ed8e93bd0ca669db", size = 357819, upload-time = "2026-09-11T19:03:39.058Z" }, + { url = "https://files.pythonhosted.org/packages/6d/99/7b358ce888aaa426f755daa096c99c59d17c352037344e836f20e5d3b957/contourpy-1.4.0-cp314-cp314-manylinux_2_26_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:61624f6722480aa7e168fd746164e7bfdf48f8ccb6542f1613741200dc37e2b1", size = 407795, upload-time = "2026-09-11T19:03:41.293Z" }, + { url = "https://files.pythonhosted.org/packages/be/02/34d7548adf08c60967435d79d7a90882eacc84f5093435287974c7e99943/contourpy-1.4.0-cp314-cp314-manylinux_2_26_s390x.manylinux_2_28_s390x.whl", hash = "sha256:2e741a39dfc96babe1722561e81351aeec104526c57dbe91c167c1db606c2d55", size = 408552, upload-time = "2026-09-11T19:03:42.728Z" }, + { url = "https://files.pythonhosted.org/packages/cf/8c/9677dad226e5aaac5b823d5b09d881ebc32ff1648af417597649841e516c/contourpy-1.4.0-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:e439ab450c93455feb0218532ded3e946ec7a9b5f459069f122cfa44b89229f6", size = 384850, upload-time = "2026-09-11T19:03:44.402Z" }, + { url = "https://files.pythonhosted.org/packages/08/f5/e3fbeaa489c223629fbb434737cb3de4ecaca9cae4825e77b92490f640f8/contourpy-1.4.0-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:417be048f7e122cefbe2a34c51a1f2b0410f8eb35796f794d45475ddb7872d9d", size = 1357601, upload-time = "2026-09-11T19:03:46.746Z" }, + { url = "https://files.pythonhosted.org/packages/88/be/55fec293d342c222ed58a5d4056df4362e192af2e59527a3d5d822de8828/contourpy-1.4.0-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:43d80072a32299bf945de0a6dd4e034ea0162e832261de2e07a274a5adbba9c9", size = 1427340, upload-time = "2026-09-11T19:03:48.745Z" }, + { url = "https://files.pythonhosted.org/packages/86/40/0faabf453edf59b0e3633381d7ca72c3414fb9b72b5cbb08b06ed792d3e5/contourpy-1.4.0-cp314-cp314-pyemscripten_2026_0_wasm32.whl", hash = "sha256:fa1b787362a3856e63dd2b89449f6c384d55ee1beb8f94f4bcc871b40f02462c", size = 118355, upload-time = "2026-09-11T19:03:50.047Z" }, + { url = "https://files.pythonhosted.org/packages/38/0c/7ea75aa3559ae8a6805015e15a19c92b6480752ecc92526361e5776e88c5/contourpy-1.4.0-cp314-cp314-win32.whl", hash = "sha256:738c44fa71735a617f36da58e32810512407d283d5d1bb5b1cecb00d7eeba7cf", size = 356977, upload-time = "2026-09-11T19:04:11.401Z" }, + { url = "https://files.pythonhosted.org/packages/15/41/3df8cc14bb572c8b447f9dfbc876703f0f2f2896058285b5c87a1d4a638d/contourpy-1.4.0-cp314-cp314-win_amd64.whl", hash = "sha256:181bea01bc742734ae672fa00c717d855dd35e1f029536406538c52e7b0cd73d", size = 240101, upload-time = "2026-09-11T19:04:12.772Z" }, + { url = "https://files.pythonhosted.org/packages/66/01/ee6830a5aa4565662a345172f6f35eeeed625d20f1c9d4ecd35318fe4ade/contourpy-1.4.0-cp314-cp314-win_arm64.whl", hash = "sha256:64039341e2d8804f1a13bda8c69083eab935167bbd7e856cf096241f17d5bd45", size = 576359, upload-time = "2026-09-11T19:04:14.983Z" }, + { url = "https://files.pythonhosted.org/packages/51/af/49ee9c9cf012699e505c1b63c531cc99f19df50f205173092c4d541e3ec7/contourpy-1.4.0-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:ef47fef9a912c77e3d84b014f701e5a9340f25703e9ed3bcebe37f91fb69dc49", size = 313601, upload-time = "2026-09-11T19:03:51.452Z" }, + { url = "https://files.pythonhosted.org/packages/ad/59/ce411ab2be0f805038626d8f4ca9ce563487ff51ff6c363e7512271564ed/contourpy-1.4.0-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:96019f059bcb3774acc0104be3360a57b36d33eaaa2e1d7f77c800ca8e07618b", size = 302812, upload-time = "2026-09-11T19:03:53.022Z" }, + { url = "https://files.pythonhosted.org/packages/95/b0/390915f9af14c1e2d3b2a9ad99d85b98df4352346a51e368cbb825f813c3/contourpy-1.4.0-cp314-cp314t-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:ddf5a2596d716fd3793434844caf31abc7a40b1e8718431420c89858268fb909", size = 348996, upload-time = "2026-09-11T19:03:54.594Z" }, + { url = "https://files.pythonhosted.org/packages/c7/85/e0952576d54322f3e9983b1e049a7a31f42ce82c5c29d01821e6dd3780d7/contourpy-1.4.0-cp314-cp314t-manylinux_2_26_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:dd59df9e2fb0aff8bd7fd1adb9f349b7c835245a9d0f18c2f2deeb537190f2b1", size = 400272, upload-time = "2026-09-11T19:03:56.822Z" }, + { url = "https://files.pythonhosted.org/packages/d6/7d/f13543a5e1598e4a4ad01d9d5e2d65f9c09c37660616429913d606c5977d/contourpy-1.4.0-cp314-cp314t-manylinux_2_26_s390x.manylinux_2_28_s390x.whl", hash = "sha256:b7794ea07cab575633daad8d6e963b662053391022294d3aacc1d9ba9ef54114", size = 412895, upload-time = "2026-09-11T19:03:58.487Z" }, + { url = "https://files.pythonhosted.org/packages/c5/a8/6e5eaff53507dfd2dfc428240eecda32453067277d4b3e7ca71210b2d611/contourpy-1.4.0-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:a1c8a74744fa746eeaa12f0f9ed7f8b4add9d8f1b14d95e3b5e133675eac888f", size = 377060, upload-time = "2026-09-11T19:04:00.122Z" }, + { url = "https://files.pythonhosted.org/packages/16/a3/d00e44d35511b3cead5bd794ee672d4eecf30d9de4ceac57a49d6204064f/contourpy-1.4.0-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:107ec46f7aa1664266d69b1181aadc953d58d39f7d8d648fa5b795d4a060b0de", size = 1345688, upload-time = "2026-09-11T19:04:02.705Z" }, + { url = "https://files.pythonhosted.org/packages/1e/01/1e533b0cae32c8edd63fe40435ec3b29345dab87321afcd28722d7f957d1/contourpy-1.4.0-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:5a4c89c7f38a0d7a94356d74e3391073c4325c4d47ad2fd065c3fe7dbae16c0c", size = 1416140, upload-time = "2026-09-11T19:04:04.77Z" }, + { url = "https://files.pythonhosted.org/packages/6d/0c/4ee66759f00d6a5d6909782f14f441d639fa18a4a43142e334351efc47f8/contourpy-1.4.0-cp314-cp314t-win32.whl", hash = "sha256:912c6afaa106e2f74ba22b30416b77ef7eb94e3bdc5a4df51ab147845dba9b6d", size = 371982, upload-time = "2026-09-11T19:04:06.233Z" }, + { url = "https://files.pythonhosted.org/packages/e6/ac/b3e5324138c3e3741f526663f4f265f4f69dfdf26415a39428940864a5f6/contourpy-1.4.0-cp314-cp314t-win_amd64.whl", hash = "sha256:ef9440f6f8506246269a82734f5ff9e2e4c5e775b3996fc883cc491c5257eca6", size = 262907, upload-time = "2026-09-11T19:04:07.882Z" }, + { url = "https://files.pythonhosted.org/packages/19/37/c9aa45e47819dc15a38fc5c81a2fb987fde55e9d3b991fbde514e3b6b5f5/contourpy-1.4.0-cp314-cp314t-win_arm64.whl", hash = "sha256:fc9feef8f1f001c5b87decadc67c4a5d1eebb62ca39c4763d1237ff62cf2b707", size = 587071, upload-time = "2026-09-11T19:04:09.898Z" }, + { url = "https://files.pythonhosted.org/packages/cc/74/66d4e6fbea3bcb3fd4e5ae21c039ba31b8fc408b35884b4bc09b88016dce/contourpy-1.4.0-cp315-cp315-macosx_10_15_x86_64.whl", hash = "sha256:79b06c60d5e569ce12c5da8f0c51217cdc484386e2349fa717c30fafb56d2871", size = 297358, upload-time = "2026-09-11T19:04:16.718Z" }, + { url = "https://files.pythonhosted.org/packages/2e/8d/8f7f25e71d73f15d7859943189900d2d348e740388c9ef52a0180d284762/contourpy-1.4.0-cp315-cp315-macosx_11_0_arm64.whl", hash = "sha256:6f963ea9f0d68d2b6a02d861e3c0aae09ae25ba21f243fcf281e9fed468b078d", size = 283732, upload-time = "2026-09-11T19:04:18.087Z" }, + { url = "https://files.pythonhosted.org/packages/f0/90/957549e3b03c407c670e3e191db63f4aef60dab6605bc967af3a806b543e/contourpy-1.4.0-cp315-cp315-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:5545ff38229c15d11d822fc6f7415b932da9f4975f53e305b7b96ebfb01f889c", size = 357820, upload-time = "2026-09-11T19:04:20.077Z" }, + { url = "https://files.pythonhosted.org/packages/56/4c/fa8de87d907b41b05d03f4945a51675cd67319650d01b4c927d209ffa6ee/contourpy-1.4.0-cp315-cp315-manylinux_2_26_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:630d32f06cedf37b7f1dd2b6a12e4492826bd477a4c9c7b2e2fee6ce3a2cea76", size = 407804, upload-time = "2026-09-11T19:04:21.781Z" }, + { url = "https://files.pythonhosted.org/packages/04/e7/96bd4f4a4ae285727befbdb4b332d53a2654cc5da4585d2525b47a063e1f/contourpy-1.4.0-cp315-cp315-manylinux_2_26_s390x.manylinux_2_28_s390x.whl", hash = "sha256:be85d160e7c795113c2a93254dde2fc7e86b375322570eee78b420969426973c", size = 408559, upload-time = "2026-09-11T19:04:23.432Z" }, + { url = "https://files.pythonhosted.org/packages/ae/94/39660e8dc309f96bf7971eb4ec5659f272f84e42b34c9990a96ecce8442c/contourpy-1.4.0-cp315-cp315-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:018227e134b73090b06f911e773a526c77c9af426be29065500ce096a5accd4c", size = 384861, upload-time = "2026-09-11T19:04:25.198Z" }, + { url = "https://files.pythonhosted.org/packages/ab/7b/411dccbf73d5d19da49bf7735786b3baf4ddb1456412d48ae4d4ab1fc761/contourpy-1.4.0-cp315-cp315-musllinux_1_2_aarch64.whl", hash = "sha256:4bffcb2e8cc5c0e837631acab59dd04265fdac376550e7c3e310523877c68cb7", size = 1357612, upload-time = "2026-09-11T19:04:27.614Z" }, + { url = "https://files.pythonhosted.org/packages/a0/39/bf2442130e7d5aae75a4de4504f0c8aca3ef3da3feac3940ee27ca985d83/contourpy-1.4.0-cp315-cp315-musllinux_1_2_x86_64.whl", hash = "sha256:cc87f2ffa84a49a77d76cb792f28a48ff3b05a222aa0b2bddbd839ba78e1d5ca", size = 1427345, upload-time = "2026-09-11T19:04:29.646Z" }, + { url = "https://files.pythonhosted.org/packages/96/60/e5d9196dd83ccd7dd103762982b10ef19a4f72e8ef67ae7157699b9be0bb/contourpy-1.4.0-cp315-cp315-pyemscripten_2026_5_wasm32.whl", hash = "sha256:c8be3392b84cf43373a488874dc1ebf46f60784a70977f92586e18019d71c7ed", size = 118157, upload-time = "2026-09-11T19:04:31.091Z" }, + { url = "https://files.pythonhosted.org/packages/1a/b2/ae3d90f08ba2ed82189d93b55ffbd41e559760e89af4f9ef54d51869f41d/contourpy-1.4.0-cp315-cp315-win32.whl", hash = "sha256:618137ec5778fb76d494c9ec854b104a377fddba0d128bef7136cce2c3bf0df8", size = 356982, upload-time = "2026-09-11T19:04:52.913Z" }, + { url = "https://files.pythonhosted.org/packages/02/a0/36648fff407dcf8b8482985d33367ffc0fe90be72383869312cd0bd00a1b/contourpy-1.4.0-cp315-cp315-win_amd64.whl", hash = "sha256:ea09dc704029930cbd097f75cb0cc1db9852adbcf1a151fac7e9559f7bcbfd19", size = 240101, upload-time = "2026-09-11T19:04:54.587Z" }, + { url = "https://files.pythonhosted.org/packages/07/09/49e987a96706b8f877596cee00d558d7880793a833addc6b33f80805e5dc/contourpy-1.4.0-cp315-cp315-win_arm64.whl", hash = "sha256:a5e2bb871b90cd7a52bdee63bf80ef7acb46398d27efc66d7679240016efc5aa", size = 576375, upload-time = "2026-09-11T19:04:56.515Z" }, + { url = "https://files.pythonhosted.org/packages/e3/18/820ba24a070fe2a834af73e52245c501960746f5c1777ebc64ec0c0dec12/contourpy-1.4.0-cp315-cp315t-macosx_10_15_x86_64.whl", hash = "sha256:432e89f835cf01f8d2123a130a3126b17ee6e0348e4d62c0973872b30aa873bf", size = 313543, upload-time = "2026-09-11T19:04:32.582Z" }, + { url = "https://files.pythonhosted.org/packages/d3/4c/f61a63d8107e0c1c3fa47d30ce45abad90b2ad48a1a9a4510332db7e0176/contourpy-1.4.0-cp315-cp315t-macosx_11_0_arm64.whl", hash = "sha256:3e0a2392533e5e2abdf277c951047516acc8d2f3c42b2dd9dc34c907c9ebabf2", size = 302702, upload-time = "2026-09-11T19:04:34.257Z" }, + { url = "https://files.pythonhosted.org/packages/9d/93/5af95cb5113ecc6e780ca0c6c79756a2cea8833f971bbae112dd4ad73ded/contourpy-1.4.0-cp315-cp315t-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:758e7496cec3195fc28a28945eab3ceef348c47fb95c7afc2eca2f3901209c8c", size = 354370, upload-time = "2026-09-11T19:04:36.158Z" }, + { url = "https://files.pythonhosted.org/packages/47/75/5a9942446647202beb7b4d150891bfcb78fb112c73862484bbe4cc031092/contourpy-1.4.0-cp315-cp315t-manylinux_2_26_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:bee6ff96653e0807cd0f8eaef00174a031e3a2effa5c20f49a5a8d574b05af23", size = 402340, upload-time = "2026-09-11T19:04:37.914Z" }, + { url = "https://files.pythonhosted.org/packages/c3/4f/bfdb0c67775a584f957211936661289789c4d0ec3e988bca2c8c02f8090e/contourpy-1.4.0-cp315-cp315t-manylinux_2_26_s390x.manylinux_2_28_s390x.whl", hash = "sha256:a58b5f130afec61a093d743cdda435cc4047748b6791627e34a68f41ec3a9b07", size = 410721, upload-time = "2026-09-11T19:04:39.925Z" }, + { url = "https://files.pythonhosted.org/packages/65/d3/dddf13d6bb26e145c99debd1f2695018b5f3e24452dd9bfc9904c9d2ec89/contourpy-1.4.0-cp315-cp315t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:b9dc493e7924e5aa32d89d0b8e50986280f3d4b284968a792787bd7bcffd3cad", size = 382604, upload-time = "2026-09-11T19:04:41.793Z" }, + { url = "https://files.pythonhosted.org/packages/37/b4/89f0a5f6c6ccd322eae2704c7e933c82a4e594a61773933b4b0a18646866/contourpy-1.4.0-cp315-cp315t-musllinux_1_2_aarch64.whl", hash = "sha256:c927ec747633e68c9920bcaad48b0bcefe648812b822f18c34e2d0e2270a3d2a", size = 1354996, upload-time = "2026-09-11T19:04:43.856Z" }, + { url = "https://files.pythonhosted.org/packages/5d/29/fc91cc1ac6f3b591a269f4357b656d6ed0c39eb17c148f41f6da2f9729b9/contourpy-1.4.0-cp315-cp315t-musllinux_1_2_x86_64.whl", hash = "sha256:80c7fc8e7ac217777ce7ba2db3cf8478652b5a4b335283111012ff9eaac9d842", size = 1425030, upload-time = "2026-09-11T19:04:45.981Z" }, + { url = "https://files.pythonhosted.org/packages/d8/b8/bb129f524210c5d3eb8616876e02af280fba8b5554e0ac1afad80b51e06b/contourpy-1.4.0-cp315-cp315t-win32.whl", hash = "sha256:90feb8da006803a95ba573fddc9536357d0c3faddc3a4c9e22816ca49af52878", size = 371854, upload-time = "2026-09-11T19:04:48.106Z" }, + { url = "https://files.pythonhosted.org/packages/d8/b1/bc774d9d200cfc4f073bba78b1bb1cb3b55bf1c8c345eae41fc2db510459/contourpy-1.4.0-cp315-cp315t-win_amd64.whl", hash = "sha256:de503609fdb71f597634ca64fb4bd2f13d27c97f140e912b1e8ed93544840df0", size = 262450, upload-time = "2026-09-11T19:04:49.502Z" }, + { url = "https://files.pythonhosted.org/packages/54/bf/eb4ff492e1c3d027617b5a20e4e6d63a035b41b8cf77a95950159556a3a5/contourpy-1.4.0-cp315-cp315t-win_arm64.whl", hash = "sha256:78ed5c5f962b3e156109f0531b174a65ba80d13cc681a70227b12524c162e184", size = 587064, upload-time = "2026-09-11T19:04:51.148Z" }, +] + +[[package]] +name = "coverage" +version = "7.16.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/d1/f5/deb1a27aa20746c0278ac998c4179e272004699b2d33959ce020c5ac1615/coverage-7.16.0.tar.gz", hash = "sha256:077f0964087883176ff6ab9b074694cae29f8c708273b13ca62c183c6ed716cd", size = 945620, upload-time = "2026-08-28T21:54:37.74Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/53/d2/c76bf165ff01664ca8b1ca7f2b2b5f311353d3959dbac1187dd21c6cc7f8/coverage-7.16.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:22d8802827404be32f5a4d6ddc037f6fa0074b7d06702c0224cb598def8b665d", size = 223019, upload-time = "2026-08-28T21:51:02.021Z" }, + { url = "https://files.pythonhosted.org/packages/16/7d/a47cebf71cb789b6e25de07035d350bff110d02f9c28bf32f92b4c818874/coverage-7.16.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:a739bf08cdca0fad51b73322e4fade0102dd87794e278450b5ee87ef827954db", size = 223524, upload-time = "2026-08-28T21:51:03.632Z" }, + { url = "https://files.pythonhosted.org/packages/51/b3/42e46d7e247ba33758156a0cc88dc64715f7e7b04640fbe430c4da437ab1/coverage-7.16.0-cp311-cp311-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:f99d12f8234c00b88b8077fedf288b25c77f746de312053b7db90fa756ecbdb3", size = 253934, upload-time = "2026-08-28T21:51:05.365Z" }, + { url = "https://files.pythonhosted.org/packages/9a/27/ade10badacc00076854f0c5086fcf8975bb1a379d5288b587509e6ee9763/coverage-7.16.0-cp311-cp311-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:7cae7715afa51dd7c9c42e6603bb46daf424c3449fdf06519cc658aa8d46e2e4", size = 255846, upload-time = "2026-08-28T21:51:06.922Z" }, + { url = "https://files.pythonhosted.org/packages/c5/50/38e5d8cf45af5db7419e9580bba4017113f8f1e2697cb6c52213bf7e7e40/coverage-7.16.0-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:55957d350452017f523b9b03ffac078f9a214e23c04a3d0a674569203550c719", size = 257953, upload-time = "2026-08-28T21:51:08.51Z" }, + { url = "https://files.pythonhosted.org/packages/9b/bb/2f44b99723d0306095dacdf90f994631e299ff8f087a384b42ecc2d1ccb9/coverage-7.16.0-cp311-cp311-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:b670bd5fa93d9b6855b2837217b45a90863118e2de5e9e033aebd46d07cd08d3", size = 259915, upload-time = "2026-08-28T21:51:10.155Z" }, + { url = "https://files.pythonhosted.org/packages/ab/7d/3f1c312944d88b2d3cae8af72007c15dcf5f92bda6da6d433c2d5f050ee7/coverage-7.16.0-cp311-cp311-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:fe5aa402d02318db2f41e471320b2ecca6085b8f595a034c037085732e49c04a", size = 254028, upload-time = "2026-08-28T21:51:11.845Z" }, + { url = "https://files.pythonhosted.org/packages/7e/f6/52a7e26baeeca7f3114b15da5e840bebcfe6491eb234f6922d33c79ee8fc/coverage-7.16.0-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:fddd26ed9a2527a7e23f7e4c1fd0734c4a5b45f77b261da1c536b20a7d2e6f0c", size = 255648, upload-time = "2026-08-28T21:51:13.614Z" }, + { url = "https://files.pythonhosted.org/packages/c2/d1/0673e78d9ca29d56f663623791338647753c673f0bc964e860086da07bce/coverage-7.16.0-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:b2af58ecdcec37fe633d4865fccbc8c00d8aa3b31c099bcacb2720c9a0be6ab9", size = 253708, upload-time = "2026-08-28T21:51:15.19Z" }, + { url = "https://files.pythonhosted.org/packages/6c/23/b74c87828369059415b20884b6f48260f049bff750d6eb454be8554732ab/coverage-7.16.0-cp311-cp311-musllinux_1_2_ppc64le.whl", hash = "sha256:a3cd34b9025d62180ce2b5dae8a985bfa6cb8c05ecd57fd34ffc1ff751b5a74d", size = 257479, upload-time = "2026-08-28T21:51:16.988Z" }, + { url = "https://files.pythonhosted.org/packages/a9/b4/09e172472c45a956e226dddf82d449f245764208b7cea47b32a73df955a3/coverage-7.16.0-cp311-cp311-musllinux_1_2_riscv64.whl", hash = "sha256:ebaf39dd13f8af65fe5f0316b81046228ef4d91d3c3766192b418753649896d6", size = 253428, upload-time = "2026-08-28T21:51:18.803Z" }, + { url = "https://files.pythonhosted.org/packages/62/22/e378e4f7ffa290ea4775b34e319fa182640bba650a2c6781af791b66b79a/coverage-7.16.0-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:5dad64d9c17cb1983adef07998e6e2e1cf870a156f1ea80f81ce1970f4c545ce", size = 254337, upload-time = "2026-08-28T21:51:20.785Z" }, + { url = "https://files.pythonhosted.org/packages/51/6f/9a6ca653d86e46c3383a905f726a28bcf7bb2528088794d30a53687b381c/coverage-7.16.0-cp311-cp311-win32.whl", hash = "sha256:38b8e1e73750b8965d1154ed733f5303acd4e24ee2d5ee872bb1bfab744a31ce", size = 225103, upload-time = "2026-08-28T21:51:22.685Z" }, + { url = "https://files.pythonhosted.org/packages/08/0c/6d4627be89ac02f579d88806875a5d6e328c59d7d79c594643c7a4460ef6/coverage-7.16.0-cp311-cp311-win_amd64.whl", hash = "sha256:cc12e5e32acdd62fe5895939695579560639853219288519685c75b7e968d63a", size = 225577, upload-time = "2026-08-28T21:51:24.334Z" }, + { url = "https://files.pythonhosted.org/packages/f2/3d/d7be38564d00a17775426685776b4bf18e8a6048a085eccf65d75eb0fa5a/coverage-7.16.0-cp311-cp311-win_arm64.whl", hash = "sha256:17fc3628f99812fec24f40092af34c1c73274d331babab3d1d768a75de650cf7", size = 225126, upload-time = "2026-08-28T21:51:26.101Z" }, + { url = "https://files.pythonhosted.org/packages/bc/9c/8d2688694f53dc0b0f0e4783c7eb3c4bb1e79beaf1411879f6dabedf4607/coverage-7.16.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:d1c77c3579ac42798f8b7eed6d3dd258debacca32c8753fc8a1f6eaf1db644f5", size = 223194, upload-time = "2026-08-28T21:51:27.767Z" }, + { url = "https://files.pythonhosted.org/packages/ca/11/f002163dd688aa3fa49ac6a424b7c2705c7fcf80fba18ec9f586d77827ca/coverage-7.16.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:1f81cb1554c3712e41649ed5dc98656b50b958e4da12f0f5adb681ce3db92831", size = 223553, upload-time = "2026-08-28T21:51:29.46Z" }, + { url = "https://files.pythonhosted.org/packages/81/65/f9d469e97c4554372a710650a109004a2434dfc56f577142e5d6057fa0cc/coverage-7.16.0-cp312-cp312-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:6e701938ec9081d3e400a0c9a9a8ae0f7ca44214741daeac4454b1c6ef6dbd19", size = 255054, upload-time = "2026-08-28T21:51:31.54Z" }, + { url = "https://files.pythonhosted.org/packages/95/29/dd89fd39af1a3b6e9a9c3eddeaf03f6376ba517d43d6cbf8b519177e2a10/coverage-7.16.0-cp312-cp312-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:719a3feb6220dd32ed932d4c3676d17fb8739e2643b29c0e7c3af400ff80ac44", size = 257790, upload-time = "2026-08-28T21:51:33.374Z" }, + { url = "https://files.pythonhosted.org/packages/0a/64/208d26cedc525d6b5db9c492cf9130784c42d9eb08d22badaa7b806005ad/coverage-7.16.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:87771ecf986cff55e87413238cd5e4f54d949c2074bd6fc1657d26a56314ee24", size = 258904, upload-time = "2026-08-28T21:51:35.096Z" }, + { url = "https://files.pythonhosted.org/packages/1f/98/28e2752aa9a8baee5798edade9c95602ca200f4e7eeb503eb64df42e5921/coverage-7.16.0-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:47d5e1fc0b321c8308a2aacee0497c435b08acaa629b7059798fdf6fc3006352", size = 261165, upload-time = "2026-08-28T21:51:36.744Z" }, + { url = "https://files.pythonhosted.org/packages/eb/77/fa6ae699a0ea2bc12acb38a85d96b786fea0f833c12b5756056350e0e547/coverage-7.16.0-cp312-cp312-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:01b18b8a6c9cec8d5f45550e2501426ed982cf2c35016b0acd2ba9b5d8b2fb06", size = 255416, upload-time = "2026-08-28T21:51:38.495Z" }, + { url = "https://files.pythonhosted.org/packages/89/c8/5ee46d1de7d34cb00ba08b5c50da1971114dbc09ca9898ccc32975ec74dd/coverage-7.16.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:32c56b5b47c50635081445ac404dd08c2d591b9c837c22570aa9e182c3b42cd4", size = 256825, upload-time = "2026-08-28T21:51:40.27Z" }, + { url = "https://files.pythonhosted.org/packages/15/f6/d59e1c0693ad48855fe20169fbf6ee5befefe5887a7fabf5f0bcb464a2dc/coverage-7.16.0-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:6ad3bbad240ab937512156bc944fdee63ac4dd34a7558a3094548fd4c1150c02", size = 254970, upload-time = "2026-08-28T21:51:43.136Z" }, + { url = "https://files.pythonhosted.org/packages/df/7b/b51bbe05b3a7565927fccfb1be42b8b3c1f4ab15e53d91b303e9923969aa/coverage-7.16.0-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:4c1f16d5555a195295d0dc9c902612270e3dfed6a11f3bf7bc470b7b6a79ed3c", size = 259039, upload-time = "2026-08-28T21:51:44.983Z" }, + { url = "https://files.pythonhosted.org/packages/fa/04/d513f816456a8a43c1859abe88a37d01d7d2515b6c3e24ebb3c9b1dd44ec/coverage-7.16.0-cp312-cp312-musllinux_1_2_riscv64.whl", hash = "sha256:f6c9c21a8bf0d19788f3c5f3e020c90317a0a63ef60521b376003801e21250fb", size = 254539, upload-time = "2026-08-28T21:51:46.733Z" }, + { url = "https://files.pythonhosted.org/packages/dc/54/5542190ceb97e0d1333a4ce0c8f95b2ef2efe790f1ad018a4b61766f849e/coverage-7.16.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:06f20145a9eb5bf1fd1dde3c0bc2af2e7c22135ab07ca6284d6ada7cc3904c4e", size = 256410, upload-time = "2026-08-28T21:51:48.363Z" }, + { url = "https://files.pythonhosted.org/packages/ee/28/78643f361ff6bb5b2ade90f8bfc8395fe9ca367a18c101f8991215b4c65b/coverage-7.16.0-cp312-cp312-win32.whl", hash = "sha256:916cf8d25c1ce148f7eceb1d45afc9724841200110adc4e53250391852debd91", size = 225239, upload-time = "2026-08-28T21:51:50.22Z" }, + { url = "https://files.pythonhosted.org/packages/67/61/8e76b36c36b1a033dc933dd2480db96b04ce3be975793ce3fad122e7174d/coverage-7.16.0-cp312-cp312-win_amd64.whl", hash = "sha256:78f8b56261d608be102c62edd3a60b66bcd0b581f3f86fdcabaf8b8d95adc950", size = 225775, upload-time = "2026-08-28T21:51:51.912Z" }, + { url = "https://files.pythonhosted.org/packages/c8/f3/bb4787a4b81c1792ca69b502f5f730dbbb609f73fed552ab074c6b92cb8b/coverage-7.16.0-cp312-cp312-win_arm64.whl", hash = "sha256:577c2ac8c0036f6f8edd3a7783a9e67302b17771d1abf0fd2ed246e3158be51b", size = 225159, upload-time = "2026-08-28T21:51:53.667Z" }, + { url = "https://files.pythonhosted.org/packages/54/c5/e62c87f4799d1e3647d5b2ae16ea1d12205d72fde1ea8529e13fe050f678/coverage-7.16.0-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:1545c52ce756b8a97007f439a220297f1cd72a2cbbcdffccdf1c1f70e74f9a42", size = 223215, upload-time = "2026-08-28T21:51:55.628Z" }, + { url = "https://files.pythonhosted.org/packages/89/e9/5e62fda9397175fb206f75368b6e85da06d831c181b6d0f67ca073cd2f89/coverage-7.16.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:0598aadae641f30a0796b75b45c0b9c5de8619bd5cfb251bb0cc254e86e6dd13", size = 223585, upload-time = "2026-08-28T21:51:57.355Z" }, + { url = "https://files.pythonhosted.org/packages/b9/40/bede08621b1ba67e88c4d3336c22b52cb7911ff1fa4ef055344b6670e58a/coverage-7.16.0-cp313-cp313-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:4080ad6bad9f14690e6b2104f5e8d137ccc65a4b5427a36662090637d4bd16d5", size = 254575, upload-time = "2026-08-28T21:51:59.233Z" }, + { url = "https://files.pythonhosted.org/packages/12/d8/ab0bdaa45dfd6b8cbf1a3ec548fdf827684b1997f9724375c5b3e89144fb/coverage-7.16.0-cp313-cp313-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:e9883a2f8206ce3af59117dc278e5d043fea06912bca3f199816129e5e2de354", size = 257172, upload-time = "2026-08-28T21:52:01.015Z" }, + { url = "https://files.pythonhosted.org/packages/1d/bb/135de81784bbd7dfedcab2b92b03d71d75b09b0815b42d6dabb052def5a6/coverage-7.16.0-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:984e5430fc6f858385009e92549955157d79335b1f3e13e1031e0f89d1284261", size = 258410, upload-time = "2026-08-28T21:52:02.76Z" }, + { url = "https://files.pythonhosted.org/packages/ad/72/ce44ecc062fb2e43d9447bb76154d091c2139232f20c125297c4b58f4c6a/coverage-7.16.0-cp313-cp313-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:b1374099dd1ad0d31fbb6c95d00a56a3c5e85fb3343dca14fc12f78323a2b42a", size = 260539, upload-time = "2026-08-28T21:52:04.821Z" }, + { url = "https://files.pythonhosted.org/packages/e7/c4/9389c36a41e59406ca2bba493807c2294d2e5186a7e9ebcc2e63a0f2a711/coverage-7.16.0-cp313-cp313-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:34d8686bce035c8465b318a8c2890e69ba14a00801a27f4eb6bdc97c23944d87", size = 254756, upload-time = "2026-08-28T21:52:06.68Z" }, + { url = "https://files.pythonhosted.org/packages/ad/0f/7762447b15e01fb84263608540123c4d9941f06303265ee74d801ccbec0e/coverage-7.16.0-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:857fceba6ff4b507ee0ad98798a33d544a8473df0c542bf04251ee4ed5ee6292", size = 256540, upload-time = "2026-08-28T21:52:08.529Z" }, + { url = "https://files.pythonhosted.org/packages/e6/fa/c60dc75a8346c1dbebebc7279b19971c88f70dd575f0bc10bc0cb16f92d5/coverage-7.16.0-cp313-cp313-musllinux_1_2_i686.whl", hash = "sha256:bbf08d951abaa1ce89e28c998361d56b952413846b459cd017f116ad4c9adbfa", size = 254508, upload-time = "2026-08-28T21:52:10.323Z" }, + { url = "https://files.pythonhosted.org/packages/c3/f0/4e0834f3a1fccaa8bf625a2a1d73bde0fa32577dc3249853c0dd0e7f2b20/coverage-7.16.0-cp313-cp313-musllinux_1_2_ppc64le.whl", hash = "sha256:1a03e78f53e4d2ab13adac19958a89322d1829913e5623d642627bf60b35da21", size = 258659, upload-time = "2026-08-28T21:52:12.124Z" }, + { url = "https://files.pythonhosted.org/packages/b4/ec/fe712d3a11fd6e874565a5fa5497c48b8ece561d9611da040b44cdcf8386/coverage-7.16.0-cp313-cp313-musllinux_1_2_riscv64.whl", hash = "sha256:dcd3dafcdd78305d27c59a1006b53a4990acb89e68d8fbe0992f4f83503c827f", size = 254326, upload-time = "2026-08-28T21:52:14.181Z" }, + { url = "https://files.pythonhosted.org/packages/e7/78/093e12072e01034c65ff380f76c74b79dd83e44fa92b689a2154389be734/coverage-7.16.0-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:c1bcfe470a796fbea6234accd81d258a31574dc0b7bf569e16be757572c4de17", size = 256102, upload-time = "2026-08-28T21:52:16.003Z" }, + { url = "https://files.pythonhosted.org/packages/9b/c0/265176117ca5d06e3f65575842884cdda96cf213350a31e9d41c80d65854/coverage-7.16.0-cp313-cp313-win32.whl", hash = "sha256:1420370276f1694b663207b8245c3628aafb9624fe3cebf313a13d860e55ee67", size = 225250, upload-time = "2026-08-28T21:52:17.82Z" }, + { url = "https://files.pythonhosted.org/packages/1f/01/8a87f2c04fde322430b45d16d8f543693e9894c5b2d2ca238a287c00beca/coverage-7.16.0-cp313-cp313-win_amd64.whl", hash = "sha256:496277c8d7beed695e02c7be53516a0152e4caef8738a0feab6a638546cce449", size = 225790, upload-time = "2026-08-28T21:52:19.641Z" }, + { url = "https://files.pythonhosted.org/packages/23/40/c21feacd9edfe7063195bf9cc84d650e9938fc6a23063e4f027199b160e1/coverage-7.16.0-cp313-cp313-win_arm64.whl", hash = "sha256:181c2906b9b3759955c1c33c51fbb91c754fbd0b82ea49e2c81061f5a052082c", size = 225180, upload-time = "2026-08-28T21:52:21.613Z" }, + { url = "https://files.pythonhosted.org/packages/ea/73/850675f262391b322c4c988b6cdc32cdc6629288f0fb158687b587a393a8/coverage-7.16.0-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:54b7fba6a74d010de34319a0419d5b65af8c00f539ad0b6f39fc6f342ab99697", size = 223258, upload-time = "2026-08-28T21:52:23.558Z" }, + { url = "https://files.pythonhosted.org/packages/61/c1/4f54c6d47c80d1cc58ef8fe6b74e6eb50f9e2c0f6e2de6cf38dbca2937b8/coverage-7.16.0-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:fa4ff0b3dd52208d2b30903022d5087f82000507b504753dfeee83e4f32d6883", size = 223587, upload-time = "2026-08-28T21:52:25.627Z" }, + { url = "https://files.pythonhosted.org/packages/3c/be/298f2456230fb44e272a4e53a41b3f3c39f0821c242d7b7daa9787b4d6f7/coverage-7.16.0-cp314-cp314-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:35a9676bf86097f790113ebd9fb67681804ef54d40941d2f10ba68c02239e575", size = 254632, upload-time = "2026-08-28T21:52:27.689Z" }, + { url = "https://files.pythonhosted.org/packages/a3/9c/a1bda6439c19c4783d50df896142b67b9e7d432db36675d339a32778669d/coverage-7.16.0-cp314-cp314-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:f98d438add63546745e5e847192e3e9ab897ed6f2ca96f8281e2f5a15958ae62", size = 257139, upload-time = "2026-08-28T21:52:29.741Z" }, + { url = "https://files.pythonhosted.org/packages/f8/cd/cd735c9be757f97237c305f36897a5e5b348bdbc12ebed3b2b80060dd8a9/coverage-7.16.0-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:151855767480be14db595cbc2040f6a4db965cdfeebd354d79b0256742b029e0", size = 258484, upload-time = "2026-08-28T21:52:31.68Z" }, + { url = "https://files.pythonhosted.org/packages/e4/04/84b2e1e8aae9db3f549782f28ce25bba5fd6a9c7bfba3782ffe8b4cd2559/coverage-7.16.0-cp314-cp314-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:183613f664718b340589d7f005c7e92b4b601cffd20a8a4117cfda3e983b080f", size = 260798, upload-time = "2026-08-28T21:52:33.642Z" }, + { url = "https://files.pythonhosted.org/packages/8a/4f/e04cf52483619a4dc5dd6367b30c9a8ac52243567fdfacec9b11a441565c/coverage-7.16.0-cp314-cp314-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:785b114356c99c0dd5b3f57b9696cfd57b7704f4c53847df8dc88c6cc0d9bcb6", size = 254612, upload-time = "2026-08-28T21:52:35.543Z" }, + { url = "https://files.pythonhosted.org/packages/da/33/627c4113f66bfffd43807f54dbf080c4632ecf12e4ef7a3bdd4ec38e46a2/coverage-7.16.0-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:30f5aee6d1d517abcdfd4f9cad027969ff79a1440a22da263f9514e31b5b66e9", size = 256495, upload-time = "2026-08-28T21:52:37.485Z" }, + { url = "https://files.pythonhosted.org/packages/3c/38/aaca432f4e008a88f2bc4d1459aa7016d8d1bbbe801f7e4fa3cf2746557b/coverage-7.16.0-cp314-cp314-musllinux_1_2_i686.whl", hash = "sha256:190ffa0f5af966254c249fb3aeaca2cef389785e3e287fd577d39e134d20f8a3", size = 254454, upload-time = "2026-08-28T21:52:39.425Z" }, + { url = "https://files.pythonhosted.org/packages/cc/db/8430aa87ef0a508f4c17c1b8fa7e0cf80231988d9081aa36c194036592d6/coverage-7.16.0-cp314-cp314-musllinux_1_2_ppc64le.whl", hash = "sha256:0ccc37c00e1a5d30840902c54557e104d04aead872cedf6d2281c8725a467e06", size = 258728, upload-time = "2026-08-28T21:52:41.32Z" }, + { url = "https://files.pythonhosted.org/packages/76/88/cd8aa8c82493ffbd291d3ef5554452fffc634c6c6098a04ac848c79c98f3/coverage-7.16.0-cp314-cp314-musllinux_1_2_riscv64.whl", hash = "sha256:6c60cde430c0e7e3be612973af39b4cff90ec2e2defe7b2b701daea3a0ffff04", size = 254271, upload-time = "2026-08-28T21:52:43.278Z" }, + { url = "https://files.pythonhosted.org/packages/a8/49/fe16c811ea9314a84b48f34e4bf5a3d9013091093b285a74b2272fc863d7/coverage-7.16.0-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:c5297028c8df849a61b29129cadfe682f90b5b396f528eb319a57d7678eefdad", size = 255927, upload-time = "2026-08-28T21:52:45.461Z" }, + { url = "https://files.pythonhosted.org/packages/d1/45/d0bd410e78cfbf768acc8099b335e1d5c0d5c26103c796d2bebdee001715/coverage-7.16.0-cp314-cp314-win32.whl", hash = "sha256:136988df5bc5a48795d9c42c75c4bbda5d9a78e750a080c1233010edff93a1af", size = 225424, upload-time = "2026-08-28T21:52:47.658Z" }, + { url = "https://files.pythonhosted.org/packages/17/78/1ce6ce4646822e9308dcdb1942eaf31bfd7da43247b8886338b0d6fe3767/coverage-7.16.0-cp314-cp314-win_amd64.whl", hash = "sha256:ce2ba5e9f1842fe09165825abfb3bc6b527c71a27bc2eb3a10f2284ced64506d", size = 225918, upload-time = "2026-08-28T21:52:49.692Z" }, + { url = "https://files.pythonhosted.org/packages/f9/cd/e1323fe3a7dfcdd709451a43fe708ca1dfd36a7fc07b34eb7bd1dfdfb52d/coverage-7.16.0-cp314-cp314-win_arm64.whl", hash = "sha256:a89d07e48d9baead9a15599923a02f62c6df6c3d85aa84ef34be3c9fd6aeb91f", size = 225344, upload-time = "2026-08-28T21:52:51.665Z" }, + { url = "https://files.pythonhosted.org/packages/39/fb/1c15460d4cf915f09ae3ad3862fef4f901838991c5641b0cec545050d810/coverage-7.16.0-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:6e2854b62601c89a63814ad5def3b90d99c6724cc4cb977f75b725e5fca4b1e3", size = 223986, upload-time = "2026-08-28T21:52:53.572Z" }, + { url = "https://files.pythonhosted.org/packages/9f/73/347d2d0009ac211f79ee2a2364fd2aa19d6b9628dc22ed13a9b9386097ab/coverage-7.16.0-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:f093faf23df888518d273be6da65f0ec5a25b5d8b670231e4d87de07361042e7", size = 224254, upload-time = "2026-08-28T21:52:55.59Z" }, + { url = "https://files.pythonhosted.org/packages/5a/2f/51442e6ad9d705369596f08496021647e276d5b57311818fd4312d93509b/coverage-7.16.0-cp314-cp314t-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:b7dbbbf6551eb94618e7bc76ab61cc2740a5b3d13294171bd6adb36e12346c3c", size = 265619, upload-time = "2026-08-28T21:52:57.645Z" }, + { url = "https://files.pythonhosted.org/packages/ea/8e/0f752276f6d13efbd019ab6d90792e20d6272c44cda039dc5c6d27b91e7f/coverage-7.16.0-cp314-cp314t-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:51e7d0e311d2fba3915f971236cbdd4ad821fc7a23988221c0b33c964b0eba22", size = 267734, upload-time = "2026-08-28T21:52:59.611Z" }, + { url = "https://files.pythonhosted.org/packages/fa/02/4df3baef8029881c9d1a380859f2be73f90080d430def567d182e8566a35/coverage-7.16.0-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:0bb04ee77e557d7476471969d35fbbfb5fc8a4152e9409aa5811780c36d9b23e", size = 270156, upload-time = "2026-08-28T21:53:01.658Z" }, + { url = "https://files.pythonhosted.org/packages/9f/30/ce10fdb74055ebbfb5c8a025d8845dc19c76e4b2c42bb5c755b56678990c/coverage-7.16.0-cp314-cp314t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:c72c9b201dc0e8c2c8821d49858fd865010d08181bf877d2320971b6464ebfd5", size = 271279, upload-time = "2026-08-28T21:53:03.698Z" }, + { url = "https://files.pythonhosted.org/packages/71/19/c7e1fc9504d90da848493bad4018dd235c713a80633e48c5f0a41b63d45e/coverage-7.16.0-cp314-cp314t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:0fca700cae4635656668ba6e2b66a85aac9f2622d7b2bcf82e844c409eaa1313", size = 264677, upload-time = "2026-08-28T21:53:05.741Z" }, + { url = "https://files.pythonhosted.org/packages/a4/f3/4021519dd41583ab396c81955387f927779641f6bac26818b6918a45aafc/coverage-7.16.0-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:584896fb8b650e999e24ef57e9513e482c12f8e15a73ee9d4584e23c99465867", size = 267610, upload-time = "2026-08-28T21:53:07.763Z" }, + { url = "https://files.pythonhosted.org/packages/55/fc/df65aac93938d8f506434c8e96440c1d696f6be0a6a01d3c6bfe5d49403e/coverage-7.16.0-cp314-cp314t-musllinux_1_2_i686.whl", hash = "sha256:949eae7e0f562b1518355aaef4b03523e49a6d3fea12aa3542d9e36c863f8267", size = 265217, upload-time = "2026-08-28T21:53:09.786Z" }, + { url = "https://files.pythonhosted.org/packages/32/2d/dc9a5e62715165fcb4c715f965f411e324917c9daeddde16536e9d36ce3f/coverage-7.16.0-cp314-cp314t-musllinux_1_2_ppc64le.whl", hash = "sha256:64f0611ee05364fc85cc3e5bc371804117a76fd337720e6017332fc7c534257a", size = 268948, upload-time = "2026-08-28T21:53:11.866Z" }, + { url = "https://files.pythonhosted.org/packages/8b/4e/fe73a5560f25fca52acda76fc1554f30de081793ae4de97e920f8ab161d7/coverage-7.16.0-cp314-cp314t-musllinux_1_2_riscv64.whl", hash = "sha256:050a291b3cfe5e0df5999ef2fa5a7aff6e2db329f069d47eb63f02bde2e7e96b", size = 264061, upload-time = "2026-08-28T21:53:13.996Z" }, + { url = "https://files.pythonhosted.org/packages/b3/f7/bb78cc4b97085ebbd77fa18cbc25abfab462814efa3e2363b4e50885c775/coverage-7.16.0-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:a336b1e2990a64f5c356a9b8380fb9c029d56c832b801255250c44d603271bfd", size = 266371, upload-time = "2026-08-28T21:53:16.233Z" }, + { url = "https://files.pythonhosted.org/packages/aa/ec/84b4af5cd4ad498477b3bfb2217e47b048da919451053790efda66f7383c/coverage-7.16.0-cp314-cp314t-win32.whl", hash = "sha256:058631257350b31784ed43ceb808298b6f074edf4ebca4c7ce5082e6bf873a61", size = 225736, upload-time = "2026-08-28T21:53:18.632Z" }, + { url = "https://files.pythonhosted.org/packages/7e/43/50fc0e6c675c3ef14895a74bab2d6120cb5d6f4b562a3d3f5046797758dc/coverage-7.16.0-cp314-cp314t-win_amd64.whl", hash = "sha256:ed35097438dfa980c1ec75bc83edf8acbe7a374d7007e571957a257fbd0e2fb3", size = 226570, upload-time = "2026-08-28T21:53:20.754Z" }, + { url = "https://files.pythonhosted.org/packages/fc/24/9effce7bcd3c6eeb4da3561905837509e582dcdde7a7f07d6ef2c8512f76/coverage-7.16.0-cp314-cp314t-win_arm64.whl", hash = "sha256:0466f4a5c0370461b7d8c7eb259d7d1db0b5756f13d66230b04d22a1d380ee11", size = 225879, upload-time = "2026-08-28T21:53:22.747Z" }, + { url = "https://files.pythonhosted.org/packages/4a/2c/318e4379106bc8047ba235e3732ddc87d1b393ac3db9776f5405ff14f322/coverage-7.16.0-cp315-cp315-macosx_10_15_x86_64.whl", hash = "sha256:80d7d5d744a041f08637df743ac086204ec5acbcd8432a42b00b49e607358024", size = 223257, upload-time = "2026-08-28T21:53:25.376Z" }, + { url = "https://files.pythonhosted.org/packages/81/4d/a5c54d9144e9db6505749758ba50a28be624148873751728a59cbb72d27a/coverage-7.16.0-cp315-cp315-macosx_11_0_arm64.whl", hash = "sha256:c5feffce90c3d602e149de1c477578efc34dee5f069f9764cc15808ce01ee15c", size = 223596, upload-time = "2026-08-28T21:53:27.461Z" }, + { url = "https://files.pythonhosted.org/packages/bc/97/38e93a10899c9315964c0a4e729b3e5867f8f46e977808f9c6fbda52525a/coverage-7.16.0-cp315-cp315-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:acadbf2f2a18d7f9c7f119ac798c00c540d7c79c93abd71ed648c87891303633", size = 254699, upload-time = "2026-08-28T21:53:29.715Z" }, + { url = "https://files.pythonhosted.org/packages/fa/7a/acddda030b4630f68167f3daa94b41d22071847822a70d8178d43dcf678e/coverage-7.16.0-cp315-cp315-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:4212cec9b42fd9929e70b462732fefd8b13406371871c82f3c14397499d6550b", size = 257614, upload-time = "2026-08-28T21:53:31.948Z" }, + { url = "https://files.pythonhosted.org/packages/15/7e/225b182497c1ce6d3f0d76a3074a4dbc9f272300e92bb100df53b03de0aa/coverage-7.16.0-cp315-cp315-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:1c5a43cc0ef101637ae920a9eed24cf0549ef815621eae68b3ad577ec5a7ad2f", size = 259236, upload-time = "2026-08-28T21:53:34.291Z" }, + { url = "https://files.pythonhosted.org/packages/2e/19/76641ddc50cb2410ebbd0ed7fe1052614d0e5612e802a2817521adb9febb/coverage-7.16.0-cp315-cp315-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:c76a9b50a344261fe4a9bd20c322b48d3913cc48e8c37f78c21a596008296e68", size = 261433, upload-time = "2026-08-28T21:53:36.401Z" }, + { url = "https://files.pythonhosted.org/packages/12/9e/5f89de8b7c2017f36b68b4e4a25940723a748b21474820bf61e8bce0891c/coverage-7.16.0-cp315-cp315-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:80cf547379ad6b1878fd03b033b51188beab4b41824c96e7839e014a4cb947be", size = 255182, upload-time = "2026-08-28T21:53:38.496Z" }, + { url = "https://files.pythonhosted.org/packages/1a/c1/ce94b2ec502e79775efb5efa22c741ebb0bd2be10bdd29650825ff57bdcb/coverage-7.16.0-cp315-cp315-musllinux_1_2_aarch64.whl", hash = "sha256:4b1d09cb5d8dc2c7164450f5217e6f0717497de9c588806a0780d352abef904a", size = 257329, upload-time = "2026-08-28T21:53:40.87Z" }, + { url = "https://files.pythonhosted.org/packages/86/8d/3f5374df3a6ca19ee5f98a6bd21dbb05f1e9d399bd9978e9821d260eab5e/coverage-7.16.0-cp315-cp315-musllinux_1_2_i686.whl", hash = "sha256:cd1e85abed2d2499c16664137ac802356316f92b4e2bf3c150bdf0c45f5dd9ae", size = 255210, upload-time = "2026-08-28T21:53:43.393Z" }, + { url = "https://files.pythonhosted.org/packages/8e/b8/1bc5751496d0be6fd9dde8ca547d9a8a9f07847856aba3f3ae5ac594cd81/coverage-7.16.0-cp315-cp315-musllinux_1_2_ppc64le.whl", hash = "sha256:360967a6fd77794c167529eec2d16ff8e38216110619d23acc3fd466a1648bee", size = 259442, upload-time = "2026-08-28T21:53:45.725Z" }, + { url = "https://files.pythonhosted.org/packages/7a/dc/8aca78e47e1e6fcc761cd28a20daf4a84bd847a7369e2701a93ccfc3d1fd/coverage-7.16.0-cp315-cp315-musllinux_1_2_riscv64.whl", hash = "sha256:92cbc2bf4f7f67c79f1d3ca4fe8c50faddf48e852a3d07eaaf02dc014889832f", size = 254618, upload-time = "2026-08-28T21:53:48.292Z" }, + { url = "https://files.pythonhosted.org/packages/73/fd/787842cdf6ce16ac5c1bd8a26549bab3b3f27b02500075bc540dc7853bca/coverage-7.16.0-cp315-cp315-musllinux_1_2_x86_64.whl", hash = "sha256:cce4dc8528453128c6fae523b15f3887fbea1d4d7c9eb9639d3d4fdcbe570c73", size = 256541, upload-time = "2026-08-28T21:53:50.805Z" }, + { url = "https://files.pythonhosted.org/packages/ef/79/8df302cbef373dd1f3401044cdb94dfc74517e5af2af27b4d0e721557e0e/coverage-7.16.0-cp315-cp315-win32.whl", hash = "sha256:5205baea687133613dced668a3d0168ea1479349615bfc255849a7944988c889", size = 225429, upload-time = "2026-08-28T21:53:53.177Z" }, + { url = "https://files.pythonhosted.org/packages/85/87/5bad7ac45f76b3728ca211028ee561c2ede3ba44da401129e28bb8737291/coverage-7.16.0-cp315-cp315-win_amd64.whl", hash = "sha256:4fcb5f07a9b7083bfb715115d27ce263ba2b5b89dddeee536b295ba0e3c2c627", size = 225903, upload-time = "2026-08-28T21:53:55.535Z" }, + { url = "https://files.pythonhosted.org/packages/cc/ea/67d84b11caf240f059ec313f616d82212df5004e8bc85802c1edfc50bb3d/coverage-7.16.0-cp315-cp315-win_arm64.whl", hash = "sha256:d568a8adcec0eda42ec23e5e65dfb8c184fc255120f9e99b484f7c869d923fb9", size = 225334, upload-time = "2026-08-28T21:53:57.769Z" }, + { url = "https://files.pythonhosted.org/packages/65/21/a88349cce3ff720729b754916ac47e2e3646a8137552e4fa7cdd5967cc7f/coverage-7.16.0-cp315-cp315t-macosx_10_15_x86_64.whl", hash = "sha256:3e8037e8213adf882e9d7eedd2c5c557933ab0b9632c42d98fe98ec9bcdb4025", size = 223980, upload-time = "2026-08-28T21:54:00.082Z" }, + { url = "https://files.pythonhosted.org/packages/fd/02/4d54abf3e6a4d8b7675921b20e91163b1064a5a9dbefebb71c05065dd136/coverage-7.16.0-cp315-cp315t-macosx_11_0_arm64.whl", hash = "sha256:289f2ed4d56eebf029b649e7dfc3c1153b111962a75e294cdd8e4a1598a04cc3", size = 224276, upload-time = "2026-08-28T21:54:02.381Z" }, + { url = "https://files.pythonhosted.org/packages/f6/39/10dbc96d95d20b9b041045d293480bd49e536180e93af62dd7662376284d/coverage-7.16.0-cp315-cp315t-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:9b83f6ac575530783771c8dcf05284f7c8b5b12f1e7cb226d63445aac4497a3a", size = 265135, upload-time = "2026-08-28T21:54:04.558Z" }, + { url = "https://files.pythonhosted.org/packages/e7/3b/6b326544afd1a8aef3a495bbae109a7ab5baf23e04a2741d8d64e2df2ba2/coverage-7.16.0-cp315-cp315t-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:2c3ff6580f2dfc5bec34717b85b2e6cf5ec993b721e7bb58a794babd525a8178", size = 268216, upload-time = "2026-08-28T21:54:06.97Z" }, + { url = "https://files.pythonhosted.org/packages/54/34/1dc8265f3ed990690e24d5f31ff79bc9fb9b25d54f9f89bebad5a6a8b7a1/coverage-7.16.0-cp315-cp315t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:507596cee23e9968b1934fe86d799b76166541af0a293930918b1b48a5c84bd2", size = 270772, upload-time = "2026-08-28T21:54:09.234Z" }, + { url = "https://files.pythonhosted.org/packages/66/a7/3a8463713a402b44044ec832f4a76e442ce4b3a207804303f4d1dc1a9bb4/coverage-7.16.0-cp315-cp315t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:edc2be98e6c55ccc5ff7832bb64f023a4b03dba39dfa84b850046cf08a8249b0", size = 271752, upload-time = "2026-08-28T21:54:11.701Z" }, + { url = "https://files.pythonhosted.org/packages/25/3b/dd5e795cfbe1842f69899189089ae289a96d6a68de312960ea668542e33c/coverage-7.16.0-cp315-cp315t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:9c0690994b84a15a53bdd39e0b2fdb539b22533820623eb86ba75b93760c645b", size = 265589, upload-time = "2026-08-28T21:54:14.12Z" }, + { url = "https://files.pythonhosted.org/packages/1b/b6/fd90636cbd95cb018312f6ca1ca2bbd70fbe8e4ee6f3992fc36a4230364e/coverage-7.16.0-cp315-cp315t-musllinux_1_2_aarch64.whl", hash = "sha256:de24c62bf798940a14674a47489a81b79915ec4134f556d5199830e065225dd0", size = 268596, upload-time = "2026-08-28T21:54:16.303Z" }, + { url = "https://files.pythonhosted.org/packages/91/10/ef2d59264f3b3b358cc5885ca375e6cdbda7c195e78304d5aae800a72d9d/coverage-7.16.0-cp315-cp315t-musllinux_1_2_i686.whl", hash = "sha256:69474d81f198774c9d2937599ca5da04c9e1c5de5032da23c607ce4960ce360e", size = 265072, upload-time = "2026-08-28T21:54:18.597Z" }, + { url = "https://files.pythonhosted.org/packages/3f/5b/400891c364c0170408d172501b340b18611800f4c42d8fbb16f9f5497c24/coverage-7.16.0-cp315-cp315t-musllinux_1_2_ppc64le.whl", hash = "sha256:72a0795cc6d34acc2b03dfeabdc82b61b72087f2737018b56ac92c1cf5446c54", size = 269768, upload-time = "2026-08-28T21:54:20.985Z" }, + { url = "https://files.pythonhosted.org/packages/98/93/9792c80271df04d287d21ed5d662fd8fa58b1737888d817679b1ce5d2fab/coverage-7.16.0-cp315-cp315t-musllinux_1_2_riscv64.whl", hash = "sha256:d9a218d3f9c7d6916684ed5ba94f620661117a730e733cd6ef5e87accc5872eb", size = 265211, upload-time = "2026-08-28T21:54:23.344Z" }, + { url = "https://files.pythonhosted.org/packages/81/67/5b8f827cfa6616e6bd7ba9397acfe7e3c4fd5b9fca4125511d5089f55d5a/coverage-7.16.0-cp315-cp315t-musllinux_1_2_x86_64.whl", hash = "sha256:49fa72ead28c8216f8916398a4f3c4669acb30a061822810ee20a727a1be2897", size = 267170, upload-time = "2026-08-28T21:54:25.85Z" }, + { url = "https://files.pythonhosted.org/packages/5c/ee/c135d2d2cb617d744bc3e13c922f2fae66964494176ddef225dc4656bd2c/coverage-7.16.0-cp315-cp315t-win32.whl", hash = "sha256:27461af9f3ed7d2cf2411eb083784f87055ebf42211789ae3a216c48609bc743", size = 225731, upload-time = "2026-08-28T21:54:28.151Z" }, + { url = "https://files.pythonhosted.org/packages/8a/4d/dc3d53eadf155916e183bf5dfacbfc4aa5bfb7f13b7da11c01caa7a05cbc/coverage-7.16.0-cp315-cp315t-win_amd64.whl", hash = "sha256:c5612cc20ca76abc883e50269af47c1494b42958bb63dbb9aa79729a1ab5f7d3", size = 226562, upload-time = "2026-08-28T21:54:30.42Z" }, + { url = "https://files.pythonhosted.org/packages/2f/00/ac9da1a60a4e84c3ad0f7db4723fd327154a8f9add210c0dcd2db3ec5156/coverage-7.16.0-cp315-cp315t-win_arm64.whl", hash = "sha256:2ddaa9e2af4760a329d80008b7a3b4762fbb0dbcb169199360f9a5179c32f2dc", size = 225872, upload-time = "2026-08-28T21:54:32.806Z" }, + { url = "https://files.pythonhosted.org/packages/b1/5a/234e8fadf85c3cc48cb31c247b9e8e0c7f06ece80f5b29f9b8c241f9da4c/coverage-7.16.0-py3-none-any.whl", hash = "sha256:245f7de6d023a5bba375dbec9f2e0869bfa26ac0cc639bbb7b4c814884000b73", size = 214977, upload-time = "2026-08-28T21:54:35.189Z" }, +] + +[package.optional-dependencies] +toml = [ + { name = "tomli", marker = "python_full_version <= '3.11' or python_full_version >= '3.15'" }, +] + +[[package]] +name = "cycler" +version = "0.12.1" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/a9/95/a3dbbb5028f35eafb79008e7522a75244477d2838f38cbb722248dabc2a8/cycler-0.12.1.tar.gz", hash = "sha256:88bb128f02ba341da8ef447245a9e138fae777f6a23943da4540077d3601eb1c", size = 7615, upload-time = "2023-10-07T05:32:18.335Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/e7/05/c19819d5e3d95294a6f5947fb9b9629efb316b96de511b418c53d245aae6/cycler-0.12.1-py3-none-any.whl", hash = "sha256:85cef7cff222d8644161529808465972e51340599459b8ac3ccbac5a854e0d30", size = 8321, upload-time = "2023-10-07T05:32:16.783Z" }, +] + +[[package]] +name = "debugpy" +version = "1.8.22" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/44/9d/3cb6693342acf96802dba89934a5b8da43c201d764ebd1f2c0514a3d42bd/debugpy-1.8.22.tar.gz", hash = "sha256:e489c7268e1c7b41e13b438d9c533d2a7af73fb59bf8cd30fead8286c1c39c4e", size = 1710877, upload-time = "2026-09-15T21:44:02.578Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/26/4a/8c24c588088c622df6dacdc0110e9cc81b44781fe7a408113441e76aa955/debugpy-1.8.22-cp311-cp311-macosx_15_0_universal2.whl", hash = "sha256:66e4ac3d6e7026e83e7d93d7ee2f51dd4a4e8dff673578d424e60796893e5b2c", size = 2217799, upload-time = "2026-09-15T21:44:11.57Z" }, + { url = "https://files.pythonhosted.org/packages/c7/14/1c9ff33eba51da70a8dfe2277cc13153bb3ffec79282b9acfcdbe1641d30/debugpy-1.8.22-cp311-cp311-manylinux_2_34_x86_64.whl", hash = "sha256:192b73e8d53bbd60225220c0943627bf249ac93d0ea3090e23c45f3e0ceb6a35", size = 3074375, upload-time = "2026-09-15T21:44:13.349Z" }, + { url = "https://files.pythonhosted.org/packages/10/e8/1fa16a94af7d8b86c3ca336d7d32b78cb2c475266d0bb889732d2bc50310/debugpy-1.8.22-cp311-cp311-win32.whl", hash = "sha256:745e1800ec2961e5660c1a317c0a20e28c0fef4de36c04f17a21c33f2b37a92a", size = 5258392, upload-time = "2026-09-15T21:44:15.182Z" }, + { url = "https://files.pythonhosted.org/packages/32/1a/c086b883a4561017bfdd83c1bc70bf2b05ab6540ff767dedf207cadab938/debugpy-1.8.22-cp311-cp311-win_amd64.whl", hash = "sha256:1e76339d5510bc17e9181dba9577508afcb21aad5728f1a55ef74d7d97d255f3", size = 5277955, upload-time = "2026-09-15T21:44:16.986Z" }, + { url = "https://files.pythonhosted.org/packages/73/21/5c7f5c66eaeee57c9dadb0bbff22efddc8d99cdbd3d036c806175f1828cc/debugpy-1.8.22-cp312-cp312-macosx_15_0_universal2.whl", hash = "sha256:4ad076f4f66cb8acb79e4384d48b1ea60a0b1957aa0b1112d4887ea3a4df60e0", size = 2499375, upload-time = "2026-09-15T21:44:18.478Z" }, + { url = "https://files.pythonhosted.org/packages/7e/ec/7389798843643ea5bc6a08480ba1b855377c70e2ed90189c0a03594e401e/debugpy-1.8.22-cp312-cp312-manylinux_2_34_x86_64.whl", hash = "sha256:8a697acec45dbc70d17fb5d9f4f61989fc294d273c69de487fd10cb35fdd75eb", size = 4000941, upload-time = "2026-09-15T21:44:20.245Z" }, + { url = "https://files.pythonhosted.org/packages/20/f4/64ce7a2499550929e08654360b270409eeda3e321b7c27027d9c919aa36b/debugpy-1.8.22-cp312-cp312-win32.whl", hash = "sha256:12bc7f368182b517cf26c76a2393fff65354e365fa1552b6241e66edff17997b", size = 5359040, upload-time = "2026-09-15T21:44:22.218Z" }, + { url = "https://files.pythonhosted.org/packages/4b/fe/e7d3b72874cdd327bda295d1995a01e426857ae9cbaaba74fd997bc3afbc/debugpy-1.8.22-cp312-cp312-win_amd64.whl", hash = "sha256:371a4ba4a5975eb958393903f3254cf983da7b1c7c178b3f987ee427f42515e3", size = 5398304, upload-time = "2026-09-15T21:44:24.119Z" }, + { url = "https://files.pythonhosted.org/packages/6b/f4/fee6d40f5865aa84e1100c9df1a0f2cf8991776b61f11f433ff277df4415/debugpy-1.8.22-cp313-cp313-macosx_15_0_universal2.whl", hash = "sha256:c21dd7e1ec22556bb41dc3bf6b86c603e440ec889c4acb27d7206354b2106c54", size = 2493531, upload-time = "2026-09-15T21:44:25.835Z" }, + { url = "https://files.pythonhosted.org/packages/bc/4f/8df91270afbf61fc5ab202951f28451194a7eb093704b26da11cb0ecd308/debugpy-1.8.22-cp313-cp313-manylinux_2_34_x86_64.whl", hash = "sha256:c1ffb9953708b648ecf6acd2e5ad2c002bf68785ed618197dd4463a2a7226f39", size = 3994351, upload-time = "2026-09-15T21:44:27.31Z" }, + { url = "https://files.pythonhosted.org/packages/4f/11/2e34a4f21d6155b0c58003fd6fca9819df7d6fe7d7acd83b146b648a57ee/debugpy-1.8.22-cp313-cp313-win32.whl", hash = "sha256:ba810a66b437e3c43ca0ce0892404f010338286263ca8e5108442d76a9485337", size = 5359071, upload-time = "2026-09-15T21:44:29.064Z" }, + { url = "https://files.pythonhosted.org/packages/d0/f5/c2b3e8260388d7b76bc4e5a3a29648a0ca47dca6a2721d6549ff2d944eee/debugpy-1.8.22-cp313-cp313-win_amd64.whl", hash = "sha256:f49b1d6cecf326b63c06d7f517e4a6642777f758c58cb799e7bc5a6dd74721c2", size = 5400362, upload-time = "2026-09-15T21:44:30.857Z" }, + { url = "https://files.pythonhosted.org/packages/ea/95/d97240bb68b86db8d0a07602be068aae9e50f17063d696a4c6f619975311/debugpy-1.8.22-cp314-cp314-macosx_15_0_universal2.whl", hash = "sha256:e6744ac1850c73c2ba7b29a126cf9ab74efd1831190720e8fee17ef5389c8f5d", size = 2493148, upload-time = "2026-09-15T21:44:32.518Z" }, + { url = "https://files.pythonhosted.org/packages/70/9e/994fe1fb23dd4a5a8d059a0dc95da4b0821907200a61c2d5a4fdc21b6cf8/debugpy-1.8.22-cp314-cp314-manylinux_2_34_x86_64.whl", hash = "sha256:0c1104233340196e5cbf5514e7dfdbb98968e730cfd7fdd6f3d72a082be838a9", size = 3961025, upload-time = "2026-09-15T21:44:34.387Z" }, + { url = "https://files.pythonhosted.org/packages/37/e0/66319918883cf6dd6dea3805210c3cafd9e65dfaa6f8b852482cff10a026/debugpy-1.8.22-cp314-cp314-win32.whl", hash = "sha256:feea785c7bbeb8cfd5b01a63f9061c899dc468c8be81671141a29305774fa294", size = 5359408, upload-time = "2026-09-15T21:44:36.128Z" }, + { url = "https://files.pythonhosted.org/packages/94/53/5b4d91f7fffb9393ac907133201d1da0c070d57e463ee8e2ec1db3cb63b6/debugpy-1.8.22-cp314-cp314-win_amd64.whl", hash = "sha256:d593a330297332ec435f3965c448b6d500e03f33675cf2063178bc76377a788e", size = 5397429, upload-time = "2026-09-15T21:44:38.429Z" }, + { url = "https://files.pythonhosted.org/packages/24/71/580df4aed96c9b23c9cbb049907d8ac1347050afdb8f450df20649d51578/debugpy-1.8.22-cp315-cp315-macosx_15_0_universal2.whl", hash = "sha256:a9eca6ab09a61534e923064400081e016f7e1d8430cc6e8b7a9cecd2f59e2b07", size = 2493380, upload-time = "2026-09-15T21:44:40.074Z" }, + { url = "https://files.pythonhosted.org/packages/b0/10/a323945b0966e560c40fe48470d2847bfc7692a8f550d7086e9a28f5b623/debugpy-1.8.22-cp315-cp315-manylinux_2_34_x86_64.whl", hash = "sha256:b7dbde1fb822d100802d505b2aed6d0813b1a0a2015d495cb8798b2215d5d1e5", size = 3975456, upload-time = "2026-09-15T21:44:41.623Z" }, + { url = "https://files.pythonhosted.org/packages/ef/f9/4383635281999c3eaa44bf327de523ba42240b35eb87c1130adac4a829c6/debugpy-1.8.22-cp315-cp315-win32.whl", hash = "sha256:225d063f81708c2546999e7edfac0198b2d5c2f144797dc64858f867948633e0", size = 5359469, upload-time = "2026-09-15T21:44:43.234Z" }, + { url = "https://files.pythonhosted.org/packages/7b/14/4fe9f46a9c825c8cbc6dc4aebc2a885b0bceb37ce2a37699c170482e7a40/debugpy-1.8.22-cp315-cp315-win_amd64.whl", hash = "sha256:b17a4896520f1c6da09ce76ec8215df0b85b0b6f3617526a4c65c2315340875a", size = 5397869, upload-time = "2026-09-15T21:44:44.783Z" }, + { url = "https://files.pythonhosted.org/packages/56/3d/c7dc9f35bc9e22cdb53679f844bee40fd5cff871862f60595869a433400d/debugpy-1.8.22-py2.py3-none-any.whl", hash = "sha256:a9e9d3550e15ca479c59333e90845029190531f0cacfedab3b815a57bd913947", size = 5374857, upload-time = "2026-09-15T21:44:54.454Z" }, +] + +[[package]] +name = "defusedxml" +version = "0.7.1" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/0f/d5/c66da9b79e5bdb124974bfe172b4daf3c984ebd9c2a06e2b8a4dc7331c72/defusedxml-0.7.1.tar.gz", hash = "sha256:1bb3032db185915b62d7c6209c5a8792be6a32ab2fedacc84e01b52c51aa3e69", size = 75520, upload-time = "2021-03-08T10:59:26.269Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/07/6c/aa3f2f849e01cb6a001cd8554a88d4c77c5c1a31c95bdf1cf9301e6d9ef4/defusedxml-0.7.1-py2.py3-none-any.whl", hash = "sha256:a352e7e428770286cc899e2542b6cdaedb2b4953ff269a210103ec58f6198a61", size = 25604, upload-time = "2021-03-08T10:59:24.45Z" }, +] + +[[package]] +name = "et-xmlfile" +version = "2.0.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/d3/38/af70d7ab1ae9d4da450eeec1fa3918940a5fafb9055e934af8d6eb0c2313/et_xmlfile-2.0.0.tar.gz", hash = "sha256:dab3f4764309081ce75662649be815c4c9081e88f0837825f90fd28317d4da54", size = 17234, upload-time = "2024-10-25T17:25:40.039Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/c1/8b/5fe2cc11fee489817272089c4203e679c63b570a5aaeb18d852ae3cbba6a/et_xmlfile-2.0.0-py3-none-any.whl", hash = "sha256:7a91720bc756843502c3b7504c77b8fe44217c85c537d85037f0f536151b2caa", size = 18059, upload-time = "2024-10-25T17:25:39.051Z" }, +] + +[[package]] +name = "executing" +version = "2.2.1" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/cc/28/c14e053b6762b1044f34a13aab6859bbf40456d37d23aa286ac24cfd9a5d/executing-2.2.1.tar.gz", hash = "sha256:3632cc370565f6648cc328b32435bd120a1e4ebb20c77e3fdde9a13cd1e533c4", size = 1129488, upload-time = "2025-09-01T09:48:10.866Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/c1/ea/53f2148663b321f21b5a606bd5f191517cf40b7072c0497d3c92c4a13b1e/executing-2.2.1-py2.py3-none-any.whl", hash = "sha256:760643d3452b4d777d295bb167ccc74c64a81df23fb5e08eff250c425a4b2017", size = 28317, upload-time = "2025-09-01T09:48:08.5Z" }, +] + +[[package]] +name = "fastapi" +version = "0.141.1" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "annotated-doc" }, + { name = "pydantic" }, + { name = "starlette" }, + { name = "typing-extensions" }, + { name = "typing-inspection" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/8a/02/91e3416a8fdd715abb903a952a6bec7cdd8d14eed55d415fc8595524c319/fastapi-0.141.1.tar.gz", hash = "sha256:e8822fc40db1e1858054d7a949a888695bc9bdce70139178e33bd2871a453ca1", size = 425799, upload-time = "2026-07-29T17:18:05.568Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/cb/03/10388a42375ee7e4ac9b94eb2c5c569c8b5795e377e701c9ac3ad63de890/fastapi-0.141.1-py3-none-any.whl", hash = "sha256:bfb91aa2d334c61cb35ba9a116fc123b3d3df31640b801cf57a7a78ec3f603b3", size = 131954, upload-time = "2026-07-29T17:18:04.364Z" }, +] + +[[package]] +name = "fastjsonschema" +version = "2.22.2" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/33/a4/9473c7c3b87009d9c1d74034e4a0f6a35ff0d42dd0f9866d0c3ec4e9217b/fastjsonschema-2.22.2.tar.gz", hash = "sha256:72064e12356a7d6ef02165be2946b9abadbdf238536e07eb587e3dbaa33099cf", size = 385171, upload-time = "2026-08-15T19:47:08.853Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/49/82/2755c7c982086f00d4dab85bc120ec35045a9fc2191893a6ce79afe94443/fastjsonschema-2.22.2-py3-none-any.whl", hash = "sha256:0fb3915616adac85ccfdd737d26be1089845d2019819505b42d39888458f74d4", size = 27413, upload-time = "2026-08-15T19:47:04.406Z" }, +] + +[[package]] +name = "fonttools" +version = "4.65.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/77/51/d63c7e52163ac14393a35bd14bd7c0da95f8f74be5d7cc988092f9965129/fonttools-4.65.0.tar.gz", hash = "sha256:762ba5431358d0dbd4a01982484a1d494fb267e91f974cdcf20b80eab8560f6f", size = 3674467, upload-time = "2026-09-10T15:35:54.955Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/62/9e/58250cdc54d96fcfacb544e12997a6390fa4e6b71ae2241cfcfe5b341803/fonttools-4.65.0-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:06273c71e692caf5989c0437ca50875a5e49e216ddf653228fe9bb35bdc82c0f", size = 3089141, upload-time = "2026-09-10T15:33:24.509Z" }, + { url = "https://files.pythonhosted.org/packages/3e/67/0f0416069e38da0a1327a847a2e8dd1edb425d0043d8a3e63eb940070209/fonttools-4.65.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:ca2b02d74e9ad7e21a1d11e4701425800a4b0c63cf90486e60258262feccbcbf", size = 2584298, upload-time = "2026-09-10T15:33:26.598Z" }, + { url = "https://files.pythonhosted.org/packages/99/0d/7e40e9957359afc0bab081131c215370a6d2d203361bb6f945ab595e924c/fonttools-4.65.0-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:7830e9fa3bebc44dbc27ff44d8201def30ea5c48a773696d58e69e6bcd9cd5d4", size = 5498163, upload-time = "2026-09-10T15:33:29.071Z" }, + { url = "https://files.pythonhosted.org/packages/a1/e6/e48cf0a272a5d4d17a09d44f92727e67f975ddfa94acc8464763d19a654d/fonttools-4.65.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:a3991732c87b3f054a2a8cf86dd0d602833fa8cb37c911503173771646e1013d", size = 5457456, upload-time = "2026-09-10T15:33:31.918Z" }, + { url = "https://files.pythonhosted.org/packages/e4/8a/a5c67ddeda82ee5e4ec3bc52ac1cbb685f0bb7a0516badc55643b454ab0d/fonttools-4.65.0-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:6031e77b3fb8c765055ba2b8bd8dcb17030f3bf2484c448b472fdedf4460ba80", size = 5464334, upload-time = "2026-09-10T15:33:34.605Z" }, + { url = "https://files.pythonhosted.org/packages/d7/16/294e77383b2d39c9f8f25144a7ba23fe1cbbc05227cc72545097785ff07c/fonttools-4.65.0-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:6813cc1e2e883bd6c15b3e04f72c78dc65fdc4ca861063adf5f341fbaec2ca62", size = 5595597, upload-time = "2026-09-10T15:33:37.591Z" }, + { url = "https://files.pythonhosted.org/packages/80/01/8e74ce8626c734959c782f2d89af8e9f14d078fd3d4ddf8b5a51401ae475/fonttools-4.65.0-cp311-cp311-win32.whl", hash = "sha256:4a5db8442453da4b6f43ad325879381b726bf2238a2253efd9584be21a2cefc2", size = 2441114, upload-time = "2026-09-10T15:33:40.592Z" }, + { url = "https://files.pythonhosted.org/packages/37/3e/835dc6c658426e2670b7f38c38295492fcbaeb06080e9dce89ce8105993c/fonttools-4.65.0-cp311-cp311-win_amd64.whl", hash = "sha256:9f201796c8e24e657be77c16fa664e798a46122144217f90838982937a964f0a", size = 2498823, upload-time = "2026-09-10T15:33:43.402Z" }, + { url = "https://files.pythonhosted.org/packages/58/db/242fa4fce7f632c5f7ab15585343393b25792510c0c32bd218ad24d59f1c/fonttools-4.65.0-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:e844a45c9e5ced6536f184cf1a65b5d65e8f7e711993b413e10500a8223622e5", size = 3097120, upload-time = "2026-09-10T15:33:46Z" }, + { url = "https://files.pythonhosted.org/packages/a0/b6/42fa4d373416675f74446421cf0b2badb82a4245c60745f05f424f75c649/fonttools-4.65.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:b30e953de049bf43fc0a63c7d0c44d205c923e4bbf24716aae1518c0e65f977c", size = 2584658, upload-time = "2026-09-10T15:33:48.473Z" }, + { url = "https://files.pythonhosted.org/packages/75/6f/d589b9d62280a846c77a2c383d852c6dcb79ae8aa02bf0fa46c8577af145/fonttools-4.65.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:09c34bdeed8915bfb53bee0c8ed2254dbd8ec69c0014b7f3702f347c049bf358", size = 5425737, upload-time = "2026-09-10T15:33:51.473Z" }, + { url = "https://files.pythonhosted.org/packages/b5/09/de2c0c20a42c18e565a2617932beb08c06697bbdd0d3f62b108262e11583/fonttools-4.65.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:05595385ae99f4b9626cebb973bf171b8fe38a8f40708e6e42abba0ed7537778", size = 5402463, upload-time = "2026-09-10T15:33:54.907Z" }, + { url = "https://files.pythonhosted.org/packages/79/2e/bc0f5c9dce21821454bb5812d3b23410bca33c8bbd5468386d0327aa0cff/fonttools-4.65.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:d95b34dd68fbfc0e4a1740c421597656117f979ed8dc85de66e08f9f9981806e", size = 5362168, upload-time = "2026-09-10T15:33:57.481Z" }, + { url = "https://files.pythonhosted.org/packages/1f/0d/2116763ade7e71e0e5d421babe1785d745be9b3d605bf914792ce1c97f79/fonttools-4.65.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:924d06e6130429168318db71c40174a765ad016fc4b56ca811287e3d7373b3a6", size = 5524117, upload-time = "2026-09-10T15:34:00.021Z" }, + { url = "https://files.pythonhosted.org/packages/e2/5e/f9600553b9f645e3068553831685ff1dab6259536a23b38d2e048de38f17/fonttools-4.65.0-cp312-cp312-win32.whl", hash = "sha256:04f73dd01005752a6e75cf4a8dc6b70dc724d1d4bc34cc89522153f4a2f07680", size = 2432089, upload-time = "2026-09-10T15:34:02.803Z" }, + { url = "https://files.pythonhosted.org/packages/3a/02/e436a6a1863b9862bab9f82d6da33055dd7aa3738017edd902a163525dc2/fonttools-4.65.0-cp312-cp312-win_amd64.whl", hash = "sha256:3b5d9ba89edf778b376e669b879ae33a198bf45cf5a23c3f6514f935cf9d0d9d", size = 2483475, upload-time = "2026-09-10T15:34:05.09Z" }, + { url = "https://files.pythonhosted.org/packages/c4/5c/343a4225e83eb06f82c1d8bf41fc5e5f71eab2f62bc7ca215c764722c0a9/fonttools-4.65.0-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:8b7bb52817a24731d2e4f4df0e71fdde05e6c806c8f8f1517b015d142fdacfa5", size = 3094663, upload-time = "2026-09-10T15:34:07.235Z" }, + { url = "https://files.pythonhosted.org/packages/9b/c9/49b2401be932741d9218181c08948c96db32eab21ecaaf79283b752e13e7/fonttools-4.65.0-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:e2c21772fcf70325189707b19f346812690bb1b0bd7e207e6ac205244806b303", size = 2584521, upload-time = "2026-09-10T15:34:09.648Z" }, + { url = "https://files.pythonhosted.org/packages/51/c9/48b07e6c5cf44fa56f758a04c3772a66c0e9ba82bbe22077e4076746a62b/fonttools-4.65.0-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:64c9b26816415b5e3d899e9077109d327b22140fe3c4066644d8cdbad5bb1569", size = 5395399, upload-time = "2026-09-10T15:34:12.38Z" }, + { url = "https://files.pythonhosted.org/packages/fa/2d/5cc5a10c8ed56079d6c2e9e3e5920622529a2ae045c9f47a6055ccb1a319/fonttools-4.65.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:6dd6243f60e2d6160c2966e1e14020dc261ffd741b69a2e4ca8bfd051592e4b7", size = 5376659, upload-time = "2026-09-10T15:34:15.239Z" }, + { url = "https://files.pythonhosted.org/packages/ab/6f/ccf33739d936bb3afa1655a225be7ee5d63d6d3c8b7d0e570bc5a2a7b899/fonttools-4.65.0-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:834962fd7cf21c58e81ac50a59e6ed2306f9df5e3dd481dad1cd7d2c4c60b773", size = 5336795, upload-time = "2026-09-10T15:34:17.817Z" }, + { url = "https://files.pythonhosted.org/packages/7e/c1/ffd17483f2094f0f4118974295b514b5b82afd4f6e3c80c23f01684e97a6/fonttools-4.65.0-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:580eb68ff7bd6954a7a76afddd864bfc66eaaf5f5c20dd6ead9186d0055a4ffe", size = 5496530, upload-time = "2026-09-10T15:34:20.241Z" }, + { url = "https://files.pythonhosted.org/packages/b1/19/9aca7712d0676ba5f8d1530ce20478a9bb09cccd0153d56693337379cdcf/fonttools-4.65.0-cp313-cp313-win32.whl", hash = "sha256:7a18b2ffd44249fe84289253197aa65ad4f2de554c0d381f18b1f5939bc6bc60", size = 2430392, upload-time = "2026-09-10T15:34:22.906Z" }, + { url = "https://files.pythonhosted.org/packages/1f/6f/f015dea0f4354e0798751b657cea2dee482914737f88bf1a078349ce92cf/fonttools-4.65.0-cp313-cp313-win_amd64.whl", hash = "sha256:8ae1846b0f192fd485d26a455af19b8f5cf05aff08f9836f533913d8fcea133c", size = 2481620, upload-time = "2026-09-10T15:34:25.816Z" }, + { url = "https://files.pythonhosted.org/packages/64/29/606365ef601668bfebed14cfe3dc72bb7fcd1e23011bbb2833f17fea3065/fonttools-4.65.0-cp314-cp314-macosx_10_15_universal2.whl", hash = "sha256:dc87a9f846bec83c3795804f62b4632716d46e3522869a3dd9cd44a5d245b006", size = 3098393, upload-time = "2026-09-10T15:34:28.472Z" }, + { url = "https://files.pythonhosted.org/packages/c7/61/11412939d6b7abf5ac7ce0d61d7f94a0a4fbabc9f1ab0a04fa622e0fc11c/fonttools-4.65.0-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:aa50dd7b9baf75e2bbd43401fc0d237f7a94a8ad2e0c57ea97160fc631af5eb0", size = 2585766, upload-time = "2026-09-10T15:34:31.207Z" }, + { url = "https://files.pythonhosted.org/packages/db/17/734921d8aee8309801da42590375d32d4d46f771b73373ec9520d5d4220b/fonttools-4.65.0-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:0d2a9892fdb3b7e2d0f4174e3b907d226ff83698249762eeefce08ec5b2de1dd", size = 5380679, upload-time = "2026-09-10T15:34:33.933Z" }, + { url = "https://files.pythonhosted.org/packages/cf/eb/2a4d78d60d978e694cfa04c98e4d8ddbf7f028fd768ddef470bb9da5d69e/fonttools-4.65.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:6d815734e7fede0ad1f233f23f0f191cbe8fc64762ff041e589bc0f78e0b2397", size = 5321833, upload-time = "2026-09-10T15:34:36.295Z" }, + { url = "https://files.pythonhosted.org/packages/d9/ca/1cd48b5c11ef9658732787bf2362e1bf3871dad5945d2f6cc8f675ca769c/fonttools-4.65.0-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:71e4c67b6196a2f447f46476fd2302604721617f5e0a21b0988bdd87b6bb9687", size = 5320938, upload-time = "2026-09-10T15:34:38.992Z" }, + { url = "https://files.pythonhosted.org/packages/c6/0d/90e6051bded926cccabe9dd0bce3b6ca012f4d5779d61167afbf4989ceb6/fonttools-4.65.0-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:b11d8a4a0c3ca74bbd4c105b7ef82501945c939e6096d9934ec7d288cdf5aaa9", size = 5451747, upload-time = "2026-09-10T15:34:41.387Z" }, + { url = "https://files.pythonhosted.org/packages/18/74/23e0268e48029ff0752083f69312c49b738163d5af919add9dc4ac81e907/fonttools-4.65.0-cp314-cp314-win32.whl", hash = "sha256:8e44a34d91b3c793879767eb115867ced74d2eb94974e64e72fe9e2eea71cf1a", size = 2434246, upload-time = "2026-09-10T15:34:44.385Z" }, + { url = "https://files.pythonhosted.org/packages/a1/2d/ee69affecd4bc81cb932a213438d4199fb48bf8ca6d664438ccc7f623c2a/fonttools-4.65.0-cp314-cp314-win_amd64.whl", hash = "sha256:0aa8901db22875c831d6a91796549590d7e747da37438f38b69d771b668be445", size = 2486706, upload-time = "2026-09-10T15:34:46.842Z" }, + { url = "https://files.pythonhosted.org/packages/8e/9c/edee5f785198ce3327e1ddeace91c773122d47f086a67e0a84b800f4a940/fonttools-4.65.0-cp314-cp314t-macosx_10_15_universal2.whl", hash = "sha256:2e4a380ca40d3a5372e31b340f0da0d53b4583aadbb8e41f6a516afa69c509a4", size = 3172027, upload-time = "2026-09-10T15:34:49.269Z" }, + { url = "https://files.pythonhosted.org/packages/9c/c6/252ec9884381089bc30da75978b072593920249de60219817f16cbc9145f/fonttools-4.65.0-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:661bd91c4be13721408b2d4b67a9b3fa7736713adc9a6c9780c9c60fc7959f90", size = 2619020, upload-time = "2026-09-10T15:34:51.453Z" }, + { url = "https://files.pythonhosted.org/packages/42/79/f71b0d202b8473bb45b07876c08a474de9fe560ed2c0cde642812a81e22a/fonttools-4.65.0-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:62c5e42c79449def957adf8a9a65a43018efa7e2a6bc6baa3afe955e0d5fb2ab", size = 5545942, upload-time = "2026-09-10T15:34:54.804Z" }, + { url = "https://files.pythonhosted.org/packages/4a/bd/52e1bf33e0aebfe22ecc9a85c634db707c1dd9f6b1b438efeed98c55b959/fonttools-4.65.0-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:36fca8efc46b5adfca327c666e739fc05b7a7a6ef17840230f81b22f53230f61", size = 5351477, upload-time = "2026-09-10T15:34:57.514Z" }, + { url = "https://files.pythonhosted.org/packages/5c/76/8c6b2ad20beec95cd446f3a8bdc753c7e4a4fd69ef3e66704c0f7c8cb0b5/fonttools-4.65.0-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:8aa1291e4c767abf1b0b79ca2d6895f7c0b661d9d95d03b5791c883a9d1e1f08", size = 5412271, upload-time = "2026-09-10T15:35:00.895Z" }, + { url = "https://files.pythonhosted.org/packages/79/49/fadbf11bbbd2d699d88a5498a0634280206e01e3bd5da9a4e0c504953ce9/fonttools-4.65.0-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:fcf39949f56911348514b466714efa9118bec3d2be249e1c487263f7cda6edab", size = 5446450, upload-time = "2026-09-10T15:35:03.369Z" }, + { url = "https://files.pythonhosted.org/packages/df/77/5fda646d3a6d5ee26465865c00319cc0925cf484a3b42dd8232d5b39f973/fonttools-4.65.0-cp314-cp314t-win32.whl", hash = "sha256:ffc918702661f1d74d2fbb2f5551036b64f6d2d743139e105289b694bcd16f54", size = 2467858, upload-time = "2026-09-10T15:35:05.744Z" }, + { url = "https://files.pythonhosted.org/packages/ae/0f/afa0f3de70ebe02bba46b32cccb30b1de52624472b14ac2e7cd403d08db9/fonttools-4.65.0-cp314-cp314t-win_amd64.whl", hash = "sha256:5a977e3645dbffaee924209828aa702a215f7ff68bc08010740c10c723787e62", size = 2518248, upload-time = "2026-09-10T15:35:07.846Z" }, + { url = "https://files.pythonhosted.org/packages/86/54/b273cf5712b36a381c13284fbf244e811e1e1d7081aed20f200f0a191ffa/fonttools-4.65.0-cp315-cp315-macosx_10_15_universal2.whl", hash = "sha256:7aa0518b45ff5286ad56f063938db3add3816e899aab58d782b3f9a252523caa", size = 3092770, upload-time = "2026-09-10T15:35:10.868Z" }, + { url = "https://files.pythonhosted.org/packages/36/1d/d3e4511475954d4ec4f3c254e81f0fcc1ade504cb7381eeca48b8c44b8a6/fonttools-4.65.0-cp315-cp315-macosx_10_15_x86_64.whl", hash = "sha256:673e2b3ac4ac8e4f3607d390ecc5a606e5db5c4e88fb4cb2999593efb65afea2", size = 2584364, upload-time = "2026-09-10T15:35:13.54Z" }, + { url = "https://files.pythonhosted.org/packages/e5/3f/7cfaba467bdd1d3d04be21ba7b5bd75c6ca58ba280e0519707ca96a43c4d/fonttools-4.65.0-cp315-cp315-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:7a03cff943b204a90bf3d1c04c97b9509a8aa0ee99e2e544084ca43ad995975b", size = 5377819, upload-time = "2026-09-10T15:35:15.839Z" }, + { url = "https://files.pythonhosted.org/packages/25/17/a68d9b19a97bb2ee37e8098fea50657073df97c7e5392afbe1b9d7c0c581/fonttools-4.65.0-cp315-cp315-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:41f684ee6212e411196ab054f8308faf6605f154950e6f4686fb8f2103d624b0", size = 5341296, upload-time = "2026-09-10T15:35:18.527Z" }, + { url = "https://files.pythonhosted.org/packages/ad/8d/d744653ed607a241339015d4af6743ca3d85a74a2045a02cc06ea0383c71/fonttools-4.65.0-cp315-cp315-musllinux_1_2_aarch64.whl", hash = "sha256:52ea9d2a8385075770db74d5e5718fa80b2222bb4fc62856a377dd2865ca8848", size = 5315310, upload-time = "2026-09-10T15:35:20.853Z" }, + { url = "https://files.pythonhosted.org/packages/f0/c8/1ca6dc69cbaa0e394ff70d9e266777124d3ce3c6433026a6b4de50b890ae/fonttools-4.65.0-cp315-cp315-musllinux_1_2_x86_64.whl", hash = "sha256:d0d25027ade65ec46b13c0436e51bcb7c5171a4ea255a5e7a8d0d1d3ab4cffd7", size = 5463840, upload-time = "2026-09-10T15:35:24.022Z" }, + { url = "https://files.pythonhosted.org/packages/07/97/d374df38a14f2ac04ba9ed96bca89d4988e7d63aa5ed85c54fd8f2badd7d/fonttools-4.65.0-cp315-cp315-win32.whl", hash = "sha256:22cb846d35d278235ef3b7e947c6040b2057d72e8305a314f21d5342eca49040", size = 2433149, upload-time = "2026-09-10T15:35:26.59Z" }, + { url = "https://files.pythonhosted.org/packages/62/c5/eb8f7506faf6a70c5a8f2eccbeea3cd826c748a6fd78c7b4b3effb5a3a11/fonttools-4.65.0-cp315-cp315-win_amd64.whl", hash = "sha256:aecc899fdbf9ecbf728f8977977e2e1043ee4d70c257124c8fa4cbcf796fcd83", size = 2485725, upload-time = "2026-09-10T15:35:28.945Z" }, + { url = "https://files.pythonhosted.org/packages/f1/a4/2df0d97514feb8d857d5de854cd8d660d9a7ee1fd081bc98497124f515a8/fonttools-4.65.0-cp315-cp315t-macosx_10_15_universal2.whl", hash = "sha256:6275863dad195ee34b6e0ca3fc61c74096bc37e5d6fb8e049f4d68d65865a2b7", size = 3164065, upload-time = "2026-09-10T15:35:31.197Z" }, + { url = "https://files.pythonhosted.org/packages/15/33/e09661c09e6c8a3b0bd50da0e72918df7576dede31f39c948cc245011434/fonttools-4.65.0-cp315-cp315t-macosx_10_15_x86_64.whl", hash = "sha256:d8ffd2f62b402180b0edae8f86a071f583970e2177143117db5cf4c52da60079", size = 2615195, upload-time = "2026-09-10T15:35:33.569Z" }, + { url = "https://files.pythonhosted.org/packages/64/d7/114b05f4193679d0935272220083ec43de7f918b5a777018c5ac5c1ae39e/fonttools-4.65.0-cp315-cp315t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:830f91327ca83bfc1278e7060068a498938f84d05dc4869675486f84f55d4fe1", size = 5521239, upload-time = "2026-09-10T15:35:36.291Z" }, + { url = "https://files.pythonhosted.org/packages/ba/10/67d615939f859ffe75663a67bca3593966febbcd0109ec72f20f73cbb4cc/fonttools-4.65.0-cp315-cp315t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:9db2cb95847c18eef74a4ef0fe257a893ae3f4b0395f4866e2f426ab07f3d804", size = 5343802, upload-time = "2026-09-10T15:35:38.82Z" }, + { url = "https://files.pythonhosted.org/packages/d1/06/faa793a806da03acce862fbed353f76026b28103d43860d69be9a6a1f0fd/fonttools-4.65.0-cp315-cp315t-musllinux_1_2_aarch64.whl", hash = "sha256:be9b9a95ed0af03375e99020e921c4bc6b41fad10e053dea7acad370521a3c46", size = 5388482, upload-time = "2026-09-10T15:35:41.616Z" }, + { url = "https://files.pythonhosted.org/packages/53/d2/eb7258df60e634db60c9a8cd72bc9eaf8dea409d1b1ceec3b9fb49531ad2/fonttools-4.65.0-cp315-cp315t-musllinux_1_2_x86_64.whl", hash = "sha256:bbd9faf777a9deb6790df4f2b0be611857c45fe86605e840d7154a028d828af7", size = 5435088, upload-time = "2026-09-10T15:35:44.639Z" }, + { url = "https://files.pythonhosted.org/packages/00/6a/58597f16e1265fe9205de3069e338a339e3eef0b1daf049ee08269458091/fonttools-4.65.0-cp315-cp315t-win32.whl", hash = "sha256:c779d838815b91889c95ed64c9be5950ad5a683279f91aeb23384cb757ddc6a3", size = 2464925, upload-time = "2026-09-10T15:35:47.224Z" }, + { url = "https://files.pythonhosted.org/packages/4b/95/122fc172006db747f4968e08c710f52a94f55eb007173b859b3f80b5b810/fonttools-4.65.0-cp315-cp315t-win_amd64.whl", hash = "sha256:d9484b7ee1b49b6b8a0231c849f3983723dec29e3a7366d9b1b02f4036f71944", size = 2513945, upload-time = "2026-09-10T15:35:49.895Z" }, + { url = "https://files.pythonhosted.org/packages/e6/35/f894ceb867118c0261d0f69a9bd516b045a3754238f76c88a49513ac7a83/fonttools-4.65.0-py3-none-any.whl", hash = "sha256:3060b8c1fc2329fa20265b7c138614143ea7c1624e26c5c180c76aeb74deae6f", size = 1196441, upload-time = "2026-09-10T15:35:52.347Z" }, +] + +[[package]] +name = "fqdn" +version = "1.6.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/02/01/248d44fbda9e78fa1a7b5a475194bef4c4a3e285db286419f3bb42f2efdf/fqdn-1.6.0.tar.gz", hash = "sha256:e39bf62e2a9481aa2cb780554fdfd944dd8ee5f230eb831684d539cbafed8de2", size = 130737, upload-time = "2026-09-28T05:43:35.482Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/15/d5/a8f9149b97cced9e1f4bff92ff0b6206120e2c853ae774d7020d6ecd8fa8/fqdn-1.6.0-py3-none-any.whl", hash = "sha256:6c793c312ccfa29981e1135b3ef5e1277ebe639731a6b0f7350d90e96e63f0b4", size = 12569, upload-time = "2026-09-28T05:43:33.951Z" }, +] + +[[package]] +name = "grimp" +version = "3.17" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/ad/2e/95736b7c984705ff5ee376f07c6e71bb80fcbb22c8fa3b8c1cfbfa919d5c/grimp-3.17.tar.gz", hash = "sha256:5161e03c6f518fe4da43b06c97ff49a1e224ecb0e4b9fd6ef48235373d1b7b33", size = 832923, upload-time = "2026-09-04T11:28:54.609Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/75/7f/99365747c992a97e775829e859bde28993a1771fa932a5b160e3e629769e/grimp-3.17-cp311-cp311-macosx_10_12_x86_64.whl", hash = "sha256:aa1b4d439d18372390a61926a3c33d5de2f5dff7ac7a71b8b5a665644ce81bc6", size = 2143022, upload-time = "2026-09-04T11:28:09.761Z" }, + { url = "https://files.pythonhosted.org/packages/39/38/84eb297e570f0eceb916f3d11fc399de78309e837f4a1c5fcff36af5e800/grimp-3.17-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:fe6c3c9f111e900a43a3657d3b1d35b920af6ff943bc417bca4ebcd6140e1e50", size = 2101124, upload-time = "2026-09-04T11:28:01.64Z" }, + { url = "https://files.pythonhosted.org/packages/d8/3c/abc9de477962e071480cd7f2fa4fbd171e1f3f2d2ebf7aeb704138b28f94/grimp-3.17-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:5834e34cbf5ef52877dd6f6a3bcda137d0f07d44c65084d63913931b21951b2f", size = 2283264, upload-time = "2026-09-04T11:26:59.045Z" }, + { url = "https://files.pythonhosted.org/packages/12/2c/07f824f3d3776265831d555b458380fa32214b3ff1534a11b2d22b292c78/grimp-3.17-cp311-cp311-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:d97de5133ae1588230d9c9c9724526e48e62be79caf32a85b8ce970db8ce46de", size = 2223945, upload-time = "2026-09-04T11:27:08.711Z" }, + { url = "https://files.pythonhosted.org/packages/c1/c0/bcb08d1a5446a5618f129f0789fc2ea38d643974db1094d7eb68adb09508/grimp-3.17-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:c3cbb0a6c5e8bf38ecd2e6d051e9d0992f3cf4c65bb01d3ccf525f48586f456b", size = 2375571, upload-time = "2026-09-04T11:27:37.307Z" }, + { url = "https://files.pythonhosted.org/packages/b2/f7/0a81e9cac29af4c88e73d7bf4d250bd01b04894b0bffa70ad5026846eaf3/grimp-3.17-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:c423bcd7fd139553d184f194486e1a718e816b5898ff688c436456151eb70c61", size = 2633241, upload-time = "2026-09-04T11:27:17.639Z" }, + { url = "https://files.pythonhosted.org/packages/05/71/c2d80fab1af8bf92ce86b18d30b9a7f1d2315e72e4205774590fb8d7ac55/grimp-3.17-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:42ffb9e69af7bd09cab96786bc3f21716dced76d9daf6d553ef6eb4437b4cd7b", size = 2352338, upload-time = "2026-09-04T11:27:27.439Z" }, + { url = "https://files.pythonhosted.org/packages/ba/a2/0e5aa9fc7b3d18620b36b68c2645b9cb12364e316bc827452e2447c90709/grimp-3.17-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:c615cd6f08965831adb5383c9214054003eb2b5ee2f4c466c388a9b87835cb0e", size = 2288519, upload-time = "2026-09-04T11:27:49.095Z" }, + { url = "https://files.pythonhosted.org/packages/5e/3b/d874409b8deacc419e847bff13e1706e7b45772cc2ad80fdf44d79f0d337/grimp-3.17-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:f6cc4ba9510691dd56111894da83bca78e407037f8149f808012dd67f0b5272d", size = 2460716, upload-time = "2026-09-04T11:28:17.05Z" }, + { url = "https://files.pythonhosted.org/packages/c1/08/667c2af86cdb8ed210e42ec4dfb4d0c3dd0f9e08818dfba6435742a14f60/grimp-3.17-cp311-cp311-musllinux_1_2_armv7l.whl", hash = "sha256:bd72e76528837b634057689179aac014e3995f41d142c2e9eff8bf46f82c96e5", size = 2499499, upload-time = "2026-09-04T11:28:26.764Z" }, + { url = "https://files.pythonhosted.org/packages/6a/81/5d93258181d6333ab01014884a2beca1ac39c25ddea3492b12364041eca8/grimp-3.17-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:58ce75a40a0817bf5725f7a67cb5cc38f76f23a028e624b1125959d06db76a36", size = 2533771, upload-time = "2026-09-04T11:28:36.204Z" }, + { url = "https://files.pythonhosted.org/packages/21/52/d82b1c772509c80e1f0988694e30fb4fc4888c983273c2249a82effc15b0/grimp-3.17-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:5e4dc31f50d695091fef8013e562470cd759123bd06fad2ebb91251850ba97a4", size = 2543062, upload-time = "2026-09-04T11:28:46.493Z" }, + { url = "https://files.pythonhosted.org/packages/8f/f6/fec538a49b3297c0aba0386971e478522ec4b2f8fc25d6575f9579e57a36/grimp-3.17-cp311-cp311-win32.whl", hash = "sha256:802ea10b9d9e7b422c83f1277286be4225402bb4d2ab31b17ab43f3e850639d4", size = 1875122, upload-time = "2026-09-04T11:29:19.003Z" }, + { url = "https://files.pythonhosted.org/packages/27/a4/b1a2a1d7c53e6f0976bc33e3225b82e8d45ad32ec528ac3e251d94172bc4/grimp-3.17-cp311-cp311-win_amd64.whl", hash = "sha256:11533e4afad7a516a4c2a6b8b3b24383fba9901c8fa0072b33450603eedc0649", size = 2002060, upload-time = "2026-09-04T11:29:07.629Z" }, + { url = "https://files.pythonhosted.org/packages/b0/a5/3fb3e39ba1a34231bcdf27922121f864307f6b9a2f8145f17e285749d092/grimp-3.17-cp311-cp311-win_arm64.whl", hash = "sha256:488c0a70118c3600dd344455f280ab8d8894583f76e4091de770b019d9e30cde", size = 1926777, upload-time = "2026-09-04T11:28:55.767Z" }, + { url = "https://files.pythonhosted.org/packages/63/ba/e2e37adeac007a42b074c9156b3a155692fc5a1a32008fb8385546e5c92f/grimp-3.17-cp312-cp312-macosx_10_12_x86_64.whl", hash = "sha256:7375c3aea01495839360947df321d26dcebd037ef34a641627456f23fd91c63e", size = 2146861, upload-time = "2026-09-04T11:28:10.923Z" }, + { url = "https://files.pythonhosted.org/packages/97/d0/3ac947eb15b7c6fe615e01cdfef8152e8b2509c6d5439f7799fae1ca024c/grimp-3.17-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:c7e75804d1d7f11813082b30a0cd7cf84f553c55d7c1edc28cde23656f1d1a40", size = 2090629, upload-time = "2026-09-04T11:28:03.234Z" }, + { url = "https://files.pythonhosted.org/packages/89/df/53d3eb18c3197ae2bb6c8be118026870cb89b2c33f99c7157345bc5e0734/grimp-3.17-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:62f61d14aedfc0df57db6f7bc826df0f77f3c7115a2a5525aa76531ce2cb9fa6", size = 2277265, upload-time = "2026-09-04T11:27:00.481Z" }, + { url = "https://files.pythonhosted.org/packages/3e/a7/6615a81f83d8ee31c96b1d8fa9a5d12fceb82acc17a9e71b28768b8185b5/grimp-3.17-cp312-cp312-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:76b1517920dd93df17f6cf0bb79a1ddf193993e87a60dec30bbe67a5139187f0", size = 2220699, upload-time = "2026-09-04T11:27:10.074Z" }, + { url = "https://files.pythonhosted.org/packages/39/60/487bb910bb5092a392f8b23ae8c5fde6d766bfe02e2c7a064ae9a14da30a/grimp-3.17-cp312-cp312-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:8d55d03f5dc704b18fa7da04e7eebcc3b16b998b1e18818fb750e291b2991900", size = 2371257, upload-time = "2026-09-04T11:27:38.482Z" }, + { url = "https://files.pythonhosted.org/packages/73/52/5a280d6a9154b1f13a0c74082581cb699825535fdc194ae9ebc5d42c2252/grimp-3.17-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:79b0be412bc19bf298290713e5a2b459fe2a518f921591046b85ba90425bff20", size = 2627111, upload-time = "2026-09-04T11:27:19.036Z" }, + { url = "https://files.pythonhosted.org/packages/ab/5a/5ef678b3f89a887a9e045dbfb5505876678323f8cf5a26f8b98d9ace875a/grimp-3.17-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:2c03a30879a80950e268f03e81603b8c51dc141c944700a0a9d72b2d7484ab24", size = 2347083, upload-time = "2026-09-04T11:27:28.976Z" }, + { url = "https://files.pythonhosted.org/packages/1e/77/06e46d5682745570d16c051734a7edf7b3c045ad620440f635dbd86447c3/grimp-3.17-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:ecf26d99a35ab7b5966af56118bb9344d1fd1b972d3c45dd5012effc7a68c844", size = 2284554, upload-time = "2026-09-04T11:27:50.665Z" }, + { url = "https://files.pythonhosted.org/packages/eb/22/c00c7073a0fce1f9494c564e12705b42a1c421a50515dcf7ffd8e1543024/grimp-3.17-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:e205949a5fe6b83ac1ea28525bea2b4867f2b230a851e6dfcdfcfcee1e3dda09", size = 2455050, upload-time = "2026-09-04T11:28:18.529Z" }, + { url = "https://files.pythonhosted.org/packages/5b/23/f2b0bffa2a62a73ca8736b550161eab2b88f66e6a3c9f7def18310c2d087/grimp-3.17-cp312-cp312-musllinux_1_2_armv7l.whl", hash = "sha256:7e2b4d8aebae7142c401231043113910773f289a8d6f9d719273eb719f732b83", size = 2496303, upload-time = "2026-09-04T11:28:28.147Z" }, + { url = "https://files.pythonhosted.org/packages/02/54/b4dfc51d8c628f700512953c78656305a21ead767956a7fd7aa46f1021b1/grimp-3.17-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:5abd95dc0a8f816d2816e847adb0ab09a7e3571fd0942ea31cf5248505862bac", size = 2528584, upload-time = "2026-09-04T11:28:37.526Z" }, + { url = "https://files.pythonhosted.org/packages/b5/60/73c088e1bee1a95a61cc3523abff149b0c211405834ca74996c76e6a3afa/grimp-3.17-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:0ae6360f6b4f711abf97b8888c0269de3756ea484c829615e0c567c7bb1ce944", size = 2538538, upload-time = "2026-09-04T11:28:47.701Z" }, + { url = "https://files.pythonhosted.org/packages/9d/66/0ff96f79bb1c4ffff621f7b50babbea6151fbaad461327af961f1fa2e49e/grimp-3.17-cp312-cp312-win32.whl", hash = "sha256:b1ab648732d03fa2ec4d7619d934409399bf827009c4c50f429c8d0bdd0709fb", size = 1874539, upload-time = "2026-09-04T11:29:20.342Z" }, + { url = "https://files.pythonhosted.org/packages/a7/72/e2544f4ba4f42f7732bdc13d60c344fd9da30eb083eb8cba2e7c155d222e/grimp-3.17-cp312-cp312-win_amd64.whl", hash = "sha256:d10ae67a1ee0af6dee937e032f3acf707741d866a67f3c71e5ec6df3b758e5c0", size = 1999174, upload-time = "2026-09-04T11:29:09.19Z" }, + { url = "https://files.pythonhosted.org/packages/dd/9d/9b2da1ff2951e13b636673814ec7df699660f892f284bf2f3d53e991283c/grimp-3.17-cp312-cp312-win_arm64.whl", hash = "sha256:ff161c9aed2ca3db9bc592157a36914ae8440d8d8f3c6986843dec11523cd700", size = 1923198, upload-time = "2026-09-04T11:28:57.051Z" }, + { url = "https://files.pythonhosted.org/packages/10/7a/b1c76982a239347bfccd2ae95b9f79d3390cd14170f62e7eb822a17d786d/grimp-3.17-cp313-cp313-macosx_10_12_x86_64.whl", hash = "sha256:eb8f09da4302f05fc92fe7564f27731c0b43789d8893ae5e6be5df2b01668923", size = 2145452, upload-time = "2026-09-04T11:28:12.121Z" }, + { url = "https://files.pythonhosted.org/packages/cb/ab/2a1a9574b391c0ee62cb33a633c0d377dce1b7d19d04a7ac5d5e6872d395/grimp-3.17-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:0f11566bcf388db4c79f1c7f1051f6ef150f778306350bb7d86d0c9aab32d297", size = 2091654, upload-time = "2026-09-04T11:28:04.635Z" }, + { url = "https://files.pythonhosted.org/packages/e6/12/7dc086132ac10a2409f158f0b0d7cc528a2ebe0a4e95bca895afe7452fa6/grimp-3.17-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:bfda3e2ebb4e51beec4a3cb09bb771440f3192163107d9320e6d9ce8fe064e64", size = 2277300, upload-time = "2026-09-04T11:27:01.844Z" }, + { url = "https://files.pythonhosted.org/packages/5b/62/2e16a54580fa76fb7e64e8e8e2ebb899c709a764cb29149a88eb03f2eea7/grimp-3.17-cp313-cp313-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:b0ab1ab71d807fc6f56d82f1ab24acf2f2e0e5000e37b5540af9449e28c6830c", size = 2220417, upload-time = "2026-09-04T11:27:11.418Z" }, + { url = "https://files.pythonhosted.org/packages/73/c0/e1b0ad0d0b3d9dff996bad306542f3cf000cb86c368bfe3ac6a8bb1e2e2f/grimp-3.17-cp313-cp313-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:187b092664e882d10b9f2c3da99251d0aeb99186d407ed5d20f52005832045f6", size = 2370754, upload-time = "2026-09-04T11:27:39.995Z" }, + { url = "https://files.pythonhosted.org/packages/36/0f/015e48ad8029f788eaa3df71b66859b2b5dc63abb8d7a2014a2b5a581040/grimp-3.17-cp313-cp313-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:75da770aeee97d26b202d7251fe7f6562e7f2793e348501b0a64ca5c50e881b5", size = 2628257, upload-time = "2026-09-04T11:27:20.491Z" }, + { url = "https://files.pythonhosted.org/packages/eb/d3/66da78504a1731237ed8befd9c66fb91037a7b82816443ca772107acf8fe/grimp-3.17-cp313-cp313-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:f5cc64f891f71f538d3d032d6e7193f69c3a2e0ceac72c55114faee5aa161f9f", size = 2347569, upload-time = "2026-09-04T11:27:30.282Z" }, + { url = "https://files.pythonhosted.org/packages/cb/a2/6474d008fa49cc650d626798cb3b6e3fa7b0daaad24884fd6bb4288f6154/grimp-3.17-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:6dbf2d93b0ba7f6c1efba9f5b3e07a3da0a157392c650316a5c1478b0ef7e503", size = 2284227, upload-time = "2026-09-04T11:27:52.462Z" }, + { url = "https://files.pythonhosted.org/packages/c5/b5/91cd378c08494fd0130e5cc2e54d60d12f53b21850e0dbccf668b6e73d91/grimp-3.17-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:7a22b5dcbf55f1c348885e09cbe91e63baedf6ce0f89c60bb01a0475c7d0a90b", size = 2454655, upload-time = "2026-09-04T11:28:19.837Z" }, + { url = "https://files.pythonhosted.org/packages/f1/d0/b582238247ce51857c7ac770c3be10203c992696f3dc9153f1a979c011dc/grimp-3.17-cp313-cp313-musllinux_1_2_armv7l.whl", hash = "sha256:73aa9459a604554b1dc1618148312036679f3974bf8b0285588220307147060b", size = 2495852, upload-time = "2026-09-04T11:28:29.606Z" }, + { url = "https://files.pythonhosted.org/packages/8f/99/e0690b02be70f346aadfe2aa8bd7e496c773298ac58c0d0fa6376c1298b2/grimp-3.17-cp313-cp313-musllinux_1_2_i686.whl", hash = "sha256:c31660d30e79569faac05033637c1eef4595542f44ec2323af54e900030164a6", size = 2527887, upload-time = "2026-09-04T11:28:38.828Z" }, + { url = "https://files.pythonhosted.org/packages/69/7a/33e41d9b08e63cf398d8194a9208b21788c76916b5ac6d90146e8e2ebf95/grimp-3.17-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:8f395c5ab2cf554504f46680b9269b769939ab5d7ea58f93e5c341e55b1affbd", size = 2539000, upload-time = "2026-09-04T11:28:49.037Z" }, + { url = "https://files.pythonhosted.org/packages/69/f5/7af1dd74b9608a85274414fc423a7162844492b198ece3fe31f4e1f88237/grimp-3.17-cp313-cp313-win32.whl", hash = "sha256:34369739ed293accbb674494ae932351516b316e8e85d1d333d4c51796af846a", size = 1874244, upload-time = "2026-09-04T11:29:21.693Z" }, + { url = "https://files.pythonhosted.org/packages/8b/d4/af497adddfcf11f9bd4ab273625a49022bf5ba4f5fc389589f4e6edc67b9/grimp-3.17-cp313-cp313-win_amd64.whl", hash = "sha256:d21b859c50418bdb48b403a84450650fa7aab3102f3212d00d3c21c76a982167", size = 1998225, upload-time = "2026-09-04T11:29:10.5Z" }, + { url = "https://files.pythonhosted.org/packages/e2/2a/07fd537997281049af2390fc8641de5ae063ae4972cb6fcec85873674595/grimp-3.17-cp313-cp313-win_arm64.whl", hash = "sha256:206cd9f7c757b97934f48ba2b8ec6d649725fd6314d6b182dd327b19b4f35707", size = 1922071, upload-time = "2026-09-04T11:28:58.34Z" }, + { url = "https://files.pythonhosted.org/packages/39/e0/e11ea5aeb62534c9706e17952d142aa844ce5659e2d66b4b8ba9377407d6/grimp-3.17-cp314-cp314-macosx_10_12_x86_64.whl", hash = "sha256:0100ff6f08067c8eb8a77dd1433af5e173aea8dbf6a6b76f5372a3b49f2e0a43", size = 2161696, upload-time = "2026-09-11T10:36:49.104Z" }, + { url = "https://files.pythonhosted.org/packages/4b/d6/ddf82f4428d8bdc54ced0db244cbf5d8e5638490c3ed6a8b9f5db55dfa51/grimp-3.17-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:67ada40a5c1cf4321183c0b0cd0393658ccd04b845caed002ac81dc2fdef828e", size = 2107301, upload-time = "2026-09-11T10:36:46.459Z" }, + { url = "https://files.pythonhosted.org/packages/86/1a/1dd0d9d2751e8078547e1cb7131e13d9624a2ea60700d926b3d624c15825/grimp-3.17-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:baa385915a4c17948bfb25f77509cbbfb33795f321d1c5ca7cc602e34ed58e99", size = 2278433, upload-time = "2026-09-04T11:27:03.075Z" }, + { url = "https://files.pythonhosted.org/packages/58/71/3768fd253e7455a83d668193055691c82d3a4d434047116c572a27d2bd39/grimp-3.17-cp314-cp314-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:8322a435b5ee97ff3db823df36cbefea569faec505cc0ca66223c27b4b44cca6", size = 2221152, upload-time = "2026-09-04T11:27:12.642Z" }, + { url = "https://files.pythonhosted.org/packages/b4/4f/907a130e87554d57be14c2a7cedeb818d0ef519064877297d19636735f6b/grimp-3.17-cp314-cp314-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:cb953c21beb6ac85a59b5b54128be7fdddd89396d34b3c5705cf59829a85b431", size = 2371546, upload-time = "2026-09-04T11:27:41.195Z" }, + { url = "https://files.pythonhosted.org/packages/7e/4f/a3bf534aa7c582a47d8cfefab5fccb50e6f4dcd327ed6a8552d344a04ffe/grimp-3.17-cp314-cp314-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:c34b904c25359f98e3f20771256d62329ed17f1e26a254a4f5c74bacc1f3bd21", size = 2628467, upload-time = "2026-09-04T11:27:21.818Z" }, + { url = "https://files.pythonhosted.org/packages/32/d3/2b2ab7b3a4e2c17bb1e10ec37e7ee8eecce7f72b1bf6c8019dd439943884/grimp-3.17-cp314-cp314-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:f69ce8be301299f15ca99843e89991c240a231836cf45a11c6bfc54fb9fbeaa9", size = 2347520, upload-time = "2026-09-04T11:27:31.73Z" }, + { url = "https://files.pythonhosted.org/packages/72/da/6bc1f783a739afa51ffa2e235791487b5d09202501b25843ecae9833a3ff/grimp-3.17-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:566411d1ac97e1f3a3f00a13ae33aebb9abda9787d3d9914f62f73b589d84fe2", size = 2284007, upload-time = "2026-09-04T11:27:53.889Z" }, + { url = "https://files.pythonhosted.org/packages/63/06/a08f1b16aec11f32bbc86f60e24986659ab4cfab79388c8d4b79f6a6723e/grimp-3.17-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:5f89948029f3c7339a20bab007977194d3dbdddb27edae5c74b948d8f13191c7", size = 2455301, upload-time = "2026-09-04T11:28:21.177Z" }, + { url = "https://files.pythonhosted.org/packages/ff/c1/d55e9686f3797d1a2c6403d2ffec3020c67591c004304a414fe8d7a9755c/grimp-3.17-cp314-cp314-musllinux_1_2_armv7l.whl", hash = "sha256:5a895bc27105ada9b0e76a80bf9cc898409e5cc3689e73e64ca1cbd71dc87dce", size = 2497158, upload-time = "2026-09-04T11:28:30.984Z" }, + { url = "https://files.pythonhosted.org/packages/7f/85/a2d2e70c4f272752c395cc35b3732d82ff92c55e229d7bbd6777fd9868ff/grimp-3.17-cp314-cp314-musllinux_1_2_i686.whl", hash = "sha256:e80b57a7d03f53e96eb0a5b0844340f99f17eede184042fb73e3ef010176ab35", size = 2528862, upload-time = "2026-09-04T11:28:40.251Z" }, + { url = "https://files.pythonhosted.org/packages/cb/03/fc3a58d9b22b011c1c3377c1ecee127a5f642de9b20de32d3ad7213ab71a/grimp-3.17-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:5c0cac76283679fe9c1fd761e63deb9bbc7ba46b32988113ecef4b13742f31b9", size = 2538240, upload-time = "2026-09-04T11:28:50.248Z" }, + { url = "https://files.pythonhosted.org/packages/58/13/d7666cf03c79c275020bad40ea1df8597af7877083ef5a84b5d8b566029a/grimp-3.17-cp314-cp314-win32.whl", hash = "sha256:c8982f4fa1276e059665947156740a55a4e8e6b5a4d7f40730a7511afb608762", size = 1874930, upload-time = "2026-09-04T11:29:23.152Z" }, + { url = "https://files.pythonhosted.org/packages/59/ce/abb9ccb50972351461065ca72cd0f528837a2f398621147dfaf1013698f0/grimp-3.17-cp314-cp314-win_amd64.whl", hash = "sha256:0b97dc29bdca523932bbbcb425fc3df3547cf970396b293bfa960b910f3932d1", size = 1999405, upload-time = "2026-09-04T11:29:11.832Z" }, + { url = "https://files.pythonhosted.org/packages/9f/1d/93c12ff4ce9ede9f91aa03df66128d223a4c824a13de6ab702c973fcae0d/grimp-3.17-cp314-cp314-win_arm64.whl", hash = "sha256:80b5b25b8d8ed6cc68dc39ae9e4c2fb64acd1a3e66434d9cf4d68c72e46d505d", size = 1923324, upload-time = "2026-09-04T11:29:00.004Z" }, + { url = "https://files.pythonhosted.org/packages/d2/59/f94dd90757a2195415736f0e2be667ac4cd375fe86d875d4298661751fce/grimp-3.17-cp314-cp314t-macosx_10_12_x86_64.whl", hash = "sha256:e15340ee11e34bfaaee496cff53f8287dc9f417a94e5bdf3d6b4204305d004cc", size = 2145199, upload-time = "2026-09-04T11:28:13.287Z" }, + { url = "https://files.pythonhosted.org/packages/ce/83/9d7cb22fc136ad6a61bff3b74cf0b31b13fdf94e224d46ff1edd9b5b8c86/grimp-3.17-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:cbccf2a6cd3f89bfdfd683d9b000bd61f6936e16b6d4d6619da592c54f79f272", size = 2090761, upload-time = "2026-09-04T11:28:05.984Z" }, + { url = "https://files.pythonhosted.org/packages/e2/6b/b70add79e9e315d111bb1643b44e1b9e1ded82888856e1ad68bc484cd635/grimp-3.17-cp314-cp314t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:5332893955688759a9f7868c3c9e56b19bc1694ee251852d3daf54876b35c115", size = 2279005, upload-time = "2026-09-04T11:27:04.543Z" }, + { url = "https://files.pythonhosted.org/packages/d3/4c/f5f001e592f8e8820086604db98373ca129e2831facad81ec0d1820a749f/grimp-3.17-cp314-cp314t-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:848a92d8a63a38d79c89ab1e68fb5429d90079f39c07533ffd45ce756e7f210f", size = 2220430, upload-time = "2026-09-04T11:27:13.814Z" }, + { url = "https://files.pythonhosted.org/packages/83/13/cc57724307c22060e193a1dc9bc99fa14d46584c534a3936319ec579c599/grimp-3.17-cp314-cp314t-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:c89cfe49f822a2cc9c42cc7b0f3975ecb1281970735ea31610bfa06a7e04c460", size = 2370318, upload-time = "2026-09-04T11:27:42.535Z" }, + { url = "https://files.pythonhosted.org/packages/50/1b/05d9964d4b47ffe0ef826bfe04b3f4b713fd623c90e424ff002cb0d8a917/grimp-3.17-cp314-cp314t-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:541c9a2b7f1ad5d4f5d1597740e51058fba8ca0c1a225d6ccc6d11a8364fa563", size = 2629127, upload-time = "2026-09-04T11:27:23.18Z" }, + { url = "https://files.pythonhosted.org/packages/ce/ea/186a3087623f1556eb8b9d02baa00300003bb84b7b35677e3fcec34691b6/grimp-3.17-cp314-cp314t-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:66b4a13edb3fe63be6f7dbbc2576786f501af9d386a5a1f60b2938f270aef97c", size = 2348453, upload-time = "2026-09-04T11:27:32.964Z" }, + { url = "https://files.pythonhosted.org/packages/e8/6c/a718328adc50529135510b515c5ff1d9f94ab26ab8df9057bb1ef5ab8993/grimp-3.17-cp314-cp314t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:160abad142e168545be8d4cc91b2a95b4565f7571fc56f7fced69ce3589e5111", size = 2287338, upload-time = "2026-09-04T11:27:55.16Z" }, + { url = "https://files.pythonhosted.org/packages/ea/ed/bf67bc6749abee0a1e97f8f14ee2cb19ccc435b306e22bcaac6118d402a4/grimp-3.17-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:cd76fb13a534209c1777c807092f51b1570854eb49948d65cd5e1d94d80e981d", size = 2455299, upload-time = "2026-09-04T11:28:22.505Z" }, + { url = "https://files.pythonhosted.org/packages/83/8a/6c954092306e21c93c744432c3d47491c3264d3cc4b465941de5164a1cb3/grimp-3.17-cp314-cp314t-musllinux_1_2_armv7l.whl", hash = "sha256:1688e2dbe382b6644ecc3f55053e319de70034d9dfe0809d21d441a590c320e6", size = 2496813, upload-time = "2026-09-04T11:28:32.303Z" }, + { url = "https://files.pythonhosted.org/packages/ea/a8/cf0aa245ace55dd2f6bdd3bb646ec50c294bdfe623fd51327bd27efaa585/grimp-3.17-cp314-cp314t-musllinux_1_2_i686.whl", hash = "sha256:0433d177f327c31410f21845322282c832d887f1a42cbdfa176133d8422d84b2", size = 2527052, upload-time = "2026-09-04T11:28:41.869Z" }, + { url = "https://files.pythonhosted.org/packages/75/b8/90cd11e346f12fb5269ff050ae825083410d3bdb54d82a3b8e955e4f9d26/grimp-3.17-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:790d68157e034e7848257ef46b37550040c9e4692cea17372d3d9f87cef1d84b", size = 2541238, upload-time = "2026-09-04T11:28:51.786Z" }, + { url = "https://files.pythonhosted.org/packages/48/92/10cc37db6149030c8cfc80fa5287f739c1e9620c8a05d1ba8dfdfc0a6c4f/grimp-3.17-cp314-cp314t-win32.whl", hash = "sha256:37e6333ca54d4d80b5c4f2eae324774b223dbdc65994dc9bccda2985a9261dd8", size = 1872673, upload-time = "2026-09-04T11:29:24.514Z" }, + { url = "https://files.pythonhosted.org/packages/ac/cc/b257d8da079a87e65d0f1b0e004fd50f31ba25e7136a3b36f896e0e338f8/grimp-3.17-cp314-cp314t-win_amd64.whl", hash = "sha256:91e4bbbed4d934369b83071380e1ad5f37b7f5c80b80ffa924627db8d66fea11", size = 2000197, upload-time = "2026-09-04T11:29:13.138Z" }, + { url = "https://files.pythonhosted.org/packages/29/d0/feebddf766448932f2f1e40324fe75cf50ce6d3a21bdf87fc0eae263218a/grimp-3.17-cp314-cp314t-win_arm64.whl", hash = "sha256:28ae2ff57a9ef535c2e7054dcb18baf0cdc2dee3982367512bff34eaecb85cf0", size = 1920856, upload-time = "2026-09-04T11:29:01.498Z" }, + { url = "https://files.pythonhosted.org/packages/83/39/bb07084f0b97da66b0aa38077bd656c4f831b4aa3f167b1c060f6a65ea5e/grimp-3.17-cp315-cp315-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:fe3e2285a2bd4e62ddb8825de37152d2dc842394d419786d3d5a803b07bb84eb", size = 2372594, upload-time = "2026-09-04T11:27:43.884Z" }, + { url = "https://files.pythonhosted.org/packages/e6/a9/905a484659749f40ed797963147202cb74c3b68d8e90a7a600af55de47ee/grimp-3.17-cp315-cp315-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:a377d5935ae9a62ccbb59e492e16624cec97cc7244c4a964b0c6f83940440626", size = 2284577, upload-time = "2026-09-04T11:27:56.428Z" }, + { url = "https://files.pythonhosted.org/packages/30/6a/40fb12b111c95b94db4930f35661a629532d9d12fb484db5b5ef1a6c3da3/grimp-3.17-cp315-cp315-win32.whl", hash = "sha256:65a1dc2741bef8a96ff3ff71252db8e99eac2a32e09d5e2b63597474706186ca", size = 1876437, upload-time = "2026-09-04T11:29:25.725Z" }, + { url = "https://files.pythonhosted.org/packages/71/98/79af8d51961611e13b3dabc7a3b356b27aa696e5549bb439f1d6002be31a/grimp-3.17-cp315-cp315-win_amd64.whl", hash = "sha256:d20fbe5aab8b013b351313f8eaa3a46f4ac57677e357cb1c3d1012c606b565b4", size = 1999947, upload-time = "2026-09-04T11:29:14.623Z" }, + { url = "https://files.pythonhosted.org/packages/96/d6/e1922c4c7e001210f98e0cf89bd76fea8564f590be3e9ccfe99435cfcd59/grimp-3.17-cp315-cp315-win_arm64.whl", hash = "sha256:a0288dc0e8947dead5c02a246e16f3f5e5cb486348171bdf1289885a13de36c1", size = 1923774, upload-time = "2026-09-04T11:29:02.897Z" }, + { url = "https://files.pythonhosted.org/packages/85/f6/f4f84e44a9237350c41e7c77343498cb1ad843491c18f29d6811021c617d/grimp-3.17-cp315-cp315t-macosx_10_12_x86_64.whl", hash = "sha256:1bf67cb05a80796be99d1bf87e12d4421de101950c5246a8220b6c839cbf27c2", size = 2145245, upload-time = "2026-09-04T11:28:14.537Z" }, + { url = "https://files.pythonhosted.org/packages/71/98/822287270c41360f66c4b5638e040afc6bbf11e9f04cf5005bbd5f3e4830/grimp-3.17-cp315-cp315t-macosx_11_0_arm64.whl", hash = "sha256:d058fdb980475eb9e0143792d63757ddff86c5776e792866e8208cfe5e8413f9", size = 2090367, upload-time = "2026-09-04T11:28:07.277Z" }, + { url = "https://files.pythonhosted.org/packages/ac/76/32d303603157a0d98cb8bde8757e6ae8fa02d41f1d62cdf843fb2e7fe727/grimp-3.17-cp315-cp315t-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:92f1989ce9f9ce26b7d45381df164c62aff783add84cd7a4216a6ebba0f9f03a", size = 2371543, upload-time = "2026-09-04T11:27:45.108Z" }, + { url = "https://files.pythonhosted.org/packages/7b/68/4551e23ab9422e2ead806c1fec9f4b3acd21a267e43bfe8e8cd7f4640dce/grimp-3.17-cp315-cp315t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:7e275cee07826cf36db1914427e68afac87588f759e1dec676870234d4a250ae", size = 2288003, upload-time = "2026-09-04T11:27:57.605Z" }, + { url = "https://files.pythonhosted.org/packages/20/64/79161f05c900f7f7f1b0acd22a730b1be9f96680dd44efeef90aa45e6998/grimp-3.17-cp315-cp315t-win32.whl", hash = "sha256:a7235ccffb0350647ae2b01969f552a9859fea7027032f6cfed110801269a439", size = 1873249, upload-time = "2026-09-04T11:29:27.094Z" }, + { url = "https://files.pythonhosted.org/packages/94/b7/6f9cdeba2c1263fb91b791ddd5e924d6c91c2485f4f16b56698802fdd540/grimp-3.17-cp315-cp315t-win_amd64.whl", hash = "sha256:473d0e0c016ca429b9ec17f34d276db454ba4d467e3c915a46279d86ab004716", size = 2000579, upload-time = "2026-09-04T11:29:15.961Z" }, + { url = "https://files.pythonhosted.org/packages/ac/16/8ae9028f046bf8f48cc13f6de2de40adbcbf38fa79a3a5f265753b248da0/grimp-3.17-cp315-cp315t-win_arm64.whl", hash = "sha256:478aa0b696e5dd79373943e75b998fbb4ef3d146f24fe3569fa9d106ce84991b", size = 1921829, upload-time = "2026-09-04T11:29:04.403Z" }, + { url = "https://files.pythonhosted.org/packages/15/22/e89d58bc1c96ec118e371abca8c07d4c6ad53b263e9f00e552b93aa34797/grimp-3.17-pp311-pypy311_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:645f17b80f61e33969d5e8ab30c1fb1247b44d6372c64fc6b50703f438f18186", size = 2287565, upload-time = "2026-09-04T11:27:05.979Z" }, + { url = "https://files.pythonhosted.org/packages/9c/13/e1679bdcb44a2ae72300fb7358d2a9fe84de5b96d8d5ef4a605287f73613/grimp-3.17-pp311-pypy311_pp73-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:047955683b4113ce265b00fa4704f92b93e248390768bb45f5968aaafff0c5be", size = 2225542, upload-time = "2026-09-04T11:27:15.167Z" }, + { url = "https://files.pythonhosted.org/packages/99/9d/b53c545f8bb34988d26a1f690ad18228d58fa0dfad29c0353193bf99fab6/grimp-3.17-pp311-pypy311_pp73-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:28e88c83f3772681e3aff138fd7865b551d436d25e30d85fbed05f92cf05fefd", size = 2380060, upload-time = "2026-09-04T11:27:46.477Z" }, + { url = "https://files.pythonhosted.org/packages/73/90/2d291b17529adb5fb3fc579dfeb0c7ec5e662e6a9d5eb77d3ea12300daf0/grimp-3.17-pp311-pypy311_pp73-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:8129c210bdc73547ec78d11b1dfa48bd74e9da62157b0458c0ed5fe698d6c403", size = 2631413, upload-time = "2026-09-04T11:27:24.742Z" }, + { url = "https://files.pythonhosted.org/packages/23/0d/a069e17c524d04f9a01d97ad8f2bacd3947af300e5d968dc6854278424b1/grimp-3.17-pp311-pypy311_pp73-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:935beb0f0b920d3629b9da4fcc457f70e76a9fd159eefd7d2c57ab99e712d80e", size = 2351953, upload-time = "2026-09-04T11:27:34.314Z" }, + { url = "https://files.pythonhosted.org/packages/fe/af/8ff5b3ffeb062a5337a8e124a0909cb2866e6448858ffa14bef8cfb8e27d/grimp-3.17-pp311-pypy311_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:788d5ecf1ab806e18b788952cb205e135e4da4ae00882f552dada144bc6f9b68", size = 2291463, upload-time = "2026-09-04T11:27:58.839Z" }, + { url = "https://files.pythonhosted.org/packages/ae/b1/64de4ca73e8c9bd8eed7f6019f18e96f4f8e02417bdb1f9208a3b55662bb/grimp-3.17-pp311-pypy311_pp73-musllinux_1_2_aarch64.whl", hash = "sha256:ff7dcc4746fd8f8b8e8104db19cd15665c61c6bd56dc492e632ac336b07efd77", size = 2463481, upload-time = "2026-09-04T11:28:23.798Z" }, + { url = "https://files.pythonhosted.org/packages/79/7a/dd2c5ef860cecfbcee7cc6eb00c1a2185a8ce12227aa4015b189d7ee1796/grimp-3.17-pp311-pypy311_pp73-musllinux_1_2_armv7l.whl", hash = "sha256:8575b7a82983f138fd06ebcafce89797fce36f69b6381f79b05714b8b9fcf2fe", size = 2500644, upload-time = "2026-09-04T11:28:33.544Z" }, + { url = "https://files.pythonhosted.org/packages/7a/f7/9f3c7f2bef0fdde9a4a3627cf2c9c79e0f6fc3f637d694b384e3fd0237ff/grimp-3.17-pp311-pypy311_pp73-musllinux_1_2_i686.whl", hash = "sha256:a88e38dc9e5410a951fd97595816396e3e6f05d2c2a43665a777a9558ba5dde5", size = 2537284, upload-time = "2026-09-04T11:28:43.262Z" }, + { url = "https://files.pythonhosted.org/packages/16/d6/acf7dc5d08ecb24700071c6e807b396603148b98f111df412ea1502606c4/grimp-3.17-pp311-pypy311_pp73-musllinux_1_2_x86_64.whl", hash = "sha256:1334e8ba5d1b57dec70e8990ba4c8c829fc7e999ac4345da45348488dc84b814", size = 2545938, upload-time = "2026-09-04T11:28:53.196Z" }, +] + +[[package]] +name = "h11" +version = "0.16.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/01/ee/02a2c011bdab74c6fb3c75474d40b3052059d95df7e73351460c8588d963/h11-0.16.0.tar.gz", hash = "sha256:4e35b956cf45792e4caa5885e69fba00bdbc6ffafbfa020300e549b208ee5ff1", size = 101250, upload-time = "2025-04-24T03:35:25.427Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/04/4b/29cac41a4d98d144bf5f6d33995617b185d14b22401f75ca86f384e87ff1/h11-0.16.0-py3-none-any.whl", hash = "sha256:63cf8bbe7522de3bf65932fda1d9c2772064ffb3dae62d55932da54b31cb6c86", size = 37515, upload-time = "2025-04-24T03:35:24.344Z" }, +] + +[[package]] +name = "httpcore" +version = "1.0.9" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "certifi" }, + { name = "h11" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/06/94/82699a10bca87a5556c9c59b5963f2d039dbd239f25bc2a63907a05a14cb/httpcore-1.0.9.tar.gz", hash = "sha256:6e34463af53fd2ab5d807f399a9b45ea31c3dfa2276f15a2c3f00afff6e176e8", size = 85484, upload-time = "2025-04-24T22:06:22.219Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/7e/f5/f66802a942d491edb555dd61e3a9961140fd64c90bce1eafd741609d334d/httpcore-1.0.9-py3-none-any.whl", hash = "sha256:2d400746a40668fc9dec9810239072b40b4484b640a8c38fd654a024c7a1bf55", size = 78784, upload-time = "2025-04-24T22:06:20.566Z" }, +] + +[[package]] +name = "httpx" +version = "0.28.1" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "anyio" }, + { name = "certifi" }, + { name = "httpcore" }, + { name = "idna" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/b1/df/48c586a5fe32a0f01324ee087459e112ebb7224f646c0b5023f5e79e9956/httpx-0.28.1.tar.gz", hash = "sha256:75e98c5f16b0f35b567856f597f06ff2270a374470a5c2392242528e3e3e42fc", size = 141406, upload-time = "2024-12-06T15:37:23.222Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/2a/39/e50c7c3a983047577ee07d2a9e53faf5a69493943ec3f6a384bdc792deb2/httpx-0.28.1-py3-none-any.whl", hash = "sha256:d909fcccc110f8c7faf814ca82a9a4d816bc5a6dbfea25d6591d6985b8ba59ad", size = 73517, upload-time = "2024-12-06T15:37:21.509Z" }, +] + +[[package]] +name = "idna" +version = "3.19" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/5f/f7/abb373e5757eaec4b922b92f97ec8d6d7e057cf06778247604fbc4e7c3f3/idna-3.19.tar.gz", hash = "sha256:5e0811a4383b21dc5838069f801c4fb62113b7447663d2530d2bd6e77b49bf15", size = 215237, upload-time = "2026-08-18T05:14:24.27Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/57/b0/0e52c878c53f245edd3a11020f20979b3f490f245af532c7cae3027754b5/idna-3.19-py3-none-any.whl", hash = "sha256:815e7be7a7806d54abb586dc943addc79e8b2ee16915059658cbeff4b1b43bf4", size = 68550, upload-time = "2026-08-18T05:14:22.343Z" }, +] + +[[package]] +name = "import-linter" +version = "2.15" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "click" }, + { name = "grimp" }, + { name = "rich" }, + { name = "typing-extensions" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/3c/81/1bb414f8c8bcd024499e91f112d317c36a86bc264da1fd43f9797fc2b7b0/import_linter-2.15.tar.gz", hash = "sha256:1da912bea5e172a82a3ce617b5543f75cf64dc0d8f4d9b46c5578b68ccb81590", size = 1405973, upload-time = "2026-09-04T14:47:56.097Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/08/31/4571c20652a4002ed9e500046386f3731a77e23d95a608ae8a87f1fbb2da/import_linter-2.15-py3-none-any.whl", hash = "sha256:9aaf16a88ac1e99d5a464cd7f66b6a05f7060bfa761162e0ed441773a267ed3b", size = 640512, upload-time = "2026-09-04T14:47:54.878Z" }, +] + +[[package]] +name = "iniconfig" +version = "2.3.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/72/34/14ca021ce8e5dfedc35312d08ba8bf51fdd999c576889fc2c24cb97f4f10/iniconfig-2.3.0.tar.gz", hash = "sha256:c76315c77db068650d49c5b56314774a7804df16fee4402c1f19d6d15d8c4730", size = 20503, upload-time = "2025-10-18T21:55:43.219Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/cb/b1/3846dd7f199d53cb17f49cba7e651e9ce294d8497c8c150530ed11865bb8/iniconfig-2.3.0-py3-none-any.whl", hash = "sha256:f631c04d2c48c52b84d0d0549c99ff3859c98df65b3101406327ecc7d53fbf12", size = 7484, upload-time = "2025-10-18T21:55:41.639Z" }, +] + +[[package]] +name = "ipykernel" +version = "7.4.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "appnope", marker = "sys_platform == 'darwin'" }, + { name = "comm" }, + { name = "debugpy" }, + { name = "ipython" }, + { name = "jupyter-client" }, + { name = "jupyter-core" }, + { name = "matplotlib-inline" }, + { name = "nest-asyncio2" }, + { name = "packaging" }, + { name = "pyzmq" }, + { name = "tornado" }, + { name = "traitlets" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/7a/05/e5499c8b762387d83926bf0389e8fff888c9bf6e7af30566a8527bc12f4a/ipykernel-7.4.0.tar.gz", hash = "sha256:4330114d22b9b33575b2c7c68753fc8faabbbcfbc60b0cdff9f14dd4ce63742f", size = 192731, upload-time = "2026-09-29T16:33:11.468Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/a5/f8/8b5c10c7f36ab5a3b5c4703669e5b14e44e98782b58e535dd30670e8799a/ipykernel-7.4.0-py3-none-any.whl", hash = "sha256:a6757f790ddc5a6006b813d82da1a9dbb65b3a00f2b6607df776418c6566ec1c", size = 123184, upload-time = "2026-09-29T16:33:09.612Z" }, +] + +[[package]] +name = "ipython" +version = "9.17.1" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "colorama", marker = "sys_platform == 'win32'" }, + { name = "ipython-pygments-lexers" }, + { name = "jedi" }, + { name = "matplotlib-inline" }, + { name = "pexpect", marker = "sys_platform != 'emscripten' and sys_platform != 'win32'" }, + { name = "prompt-toolkit" }, + { name = "psutil", marker = "sys_platform != 'cygwin' and sys_platform != 'emscripten'" }, + { name = "pygments" }, + { name = "stack-data" }, + { name = "traitlets" }, + { name = "typing-extensions", marker = "python_full_version < '3.12' or python_full_version >= '3.15'" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/b9/32/99451b1283ec5d92ad77073f12e1c667dc10775384d8f15c2914207149dd/ipython-9.17.1.tar.gz", hash = "sha256:8919be8c27f20a6f4423145028063f6637b42a03ce57665bb12015ee1f073529", size = 4539289, upload-time = "2026-09-01T08:29:32.6Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/2d/1e/65b59cf518c106aa755e7f7da3099027738687a862ec785060702a481320/ipython-9.17.1-py3-none-any.whl", hash = "sha256:6d1645743cfd1a07eb695d85aa2b5fa66721f8cbae9431d4049f7084bbf06509", size = 639038, upload-time = "2026-09-01T08:29:30.673Z" }, +] + +[[package]] +name = "ipython-pygments-lexers" +version = "1.1.1" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "pygments" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/ef/4c/5dd1d8af08107f88c7f741ead7a40854b8ac24ddf9ae850afbcf698aa552/ipython_pygments_lexers-1.1.1.tar.gz", hash = "sha256:09c0138009e56b6854f9535736f4171d855c8c08a563a0dcd8022f78355c7e81", size = 8393, upload-time = "2025-01-17T11:24:34.505Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/d9/33/1f075bf72b0b747cb3288d011319aaf64083cf2efef8354174e3ed4540e2/ipython_pygments_lexers-1.1.1-py3-none-any.whl", hash = "sha256:a9462224a505ade19a605f71f8fa63c2048833ce50abc86768a0d81d876dc81c", size = 8074, upload-time = "2025-01-17T11:24:33.271Z" }, +] + +[[package]] +name = "isoduration" +version = "20.11.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "arrow" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/7c/1a/3c8edc664e06e6bd06cce40c6b22da5f1429aa4224d0c590f3be21c91ead/isoduration-20.11.0.tar.gz", hash = "sha256:ac2f9015137935279eac671f94f89eb00584f940f5dc49462a0c4ee692ba1bd9", size = 11649, upload-time = "2020-11-01T11:00:00.312Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/7b/55/e5326141505c5d5e34c5e0935d2908a74e4561eca44108fbfb9c13d2911a/isoduration-20.11.0-py3-none-any.whl", hash = "sha256:b2904c2a4228c3d44f409c8ae8e2370eb21a26f7ac2ec5446df141dde3452042", size = 11321, upload-time = "2020-11-01T10:59:58.02Z" }, +] + +[[package]] +name = "jedi" +version = "0.20.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "parso" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/46/b7/a3635f6a2d7cf5b5dd98064fc1d5fbbafcb25477bcea204a3a92145d158b/jedi-0.20.0.tar.gz", hash = "sha256:c3f4ccbd276696f4b19c54618d4fb18f9fc24b0aef02acf704b23f487daa1011", size = 3119416, upload-time = "2026-05-01T23:38:47.814Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/9a/93/242e2eab5fe682ffcb8b0084bde703a41d51e17ee0f3a31ff0d9d813620a/jedi-0.20.0-py2.py3-none-any.whl", hash = "sha256:7bdd9c2634f56713299976f4cbd59cb3fa92165cc5e05ea811fb253480728b67", size = 4884812, upload-time = "2026-05-01T23:38:43.919Z" }, +] + +[[package]] +name = "jinja2" +version = "3.1.6" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "markupsafe" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/df/bf/f7da0350254c0ed7c72f3e33cef02e048281fec7ecec5f032d4aac52226b/jinja2-3.1.6.tar.gz", hash = "sha256:0137fb05990d35f1275a587e9aee6d56da821fc83491a0fb838183be43f66d6d", size = 245115, upload-time = "2025-03-05T20:05:02.478Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/62/a1/3d680cbfd5f4b8f15abc1d571870c5fc3e594bb582bc3b64ea099db13e56/jinja2-3.1.6-py3-none-any.whl", hash = "sha256:85ece4451f492d0c13c5dd7c13a64681a86afae63a5f347908daf103ce6d2f67", size = 134899, upload-time = "2025-03-05T20:05:00.369Z" }, +] + +[[package]] +name = "json5" +version = "0.15.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/e4/7d/05c46a96a78147ae3bf99c2f4169ce144a70220b8d6fcd56f6ec368b8ce9/json5-0.15.0.tar.gz", hash = "sha256:7424d1f1eb1d56da6e3d70643f53619862b4ce81440bdb8ecfd6f875e5ba4a71", size = 53278, upload-time = "2026-06-19T20:08:27.716Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/eb/be/59527c99478aade6bb33a68d72e6e18dd4e6ff6eacfc7d01bdb15bc76912/json5-0.15.0-py3-none-any.whl", hash = "sha256:56636a30c0e8a4665fe2179c0212f32eae3796dea89ea6f649b9436ecdb39618", size = 36570, upload-time = "2026-06-19T20:08:26.748Z" }, +] + +[[package]] +name = "jsonpointer" +version = "3.1.1" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/18/c7/af399a2e7a67fd18d63c40c5e62d3af4e67b836a2107468b6a5ea24c4304/jsonpointer-3.1.1.tar.gz", hash = "sha256:0b801c7db33a904024f6004d526dcc53bbb8a4a0f4e32bfd10beadf60adf1900", size = 9068, upload-time = "2026-03-23T22:32:32.458Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/9e/6a/a83720e953b1682d2d109d3c2dbb0bc9bf28cc1cbc205be4ef4be5da709d/jsonpointer-3.1.1-py3-none-any.whl", hash = "sha256:8ff8b95779d071ba472cf5bc913028df06031797532f08a7d5b602d8b2a488ca", size = 7659, upload-time = "2026-03-23T22:32:31.568Z" }, +] + +[[package]] +name = "jsonschema" +version = "4.26.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "attrs" }, + { name = "jsonschema-specifications" }, + { name = "referencing" }, + { name = "rpds-py" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/b3/fc/e067678238fa451312d4c62bf6e6cf5ec56375422aee02f9cb5f909b3047/jsonschema-4.26.0.tar.gz", hash = "sha256:0c26707e2efad8aa1bfc5b7ce170f3fccc2e4918ff85989ba9ffa9facb2be326", size = 366583, upload-time = "2026-01-07T13:41:07.246Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/69/90/f63fb5873511e014207a475e2bb4e8b2e570d655b00ac19a9a0ca0a385ee/jsonschema-4.26.0-py3-none-any.whl", hash = "sha256:d489f15263b8d200f8387e64b4c3a75f06629559fb73deb8fdfb525f2dab50ce", size = 90630, upload-time = "2026-01-07T13:41:05.306Z" }, +] + +[package.optional-dependencies] +format-nongpl = [ + { name = "fqdn" }, + { name = "idna" }, + { name = "isoduration" }, + { name = "jsonpointer" }, + { name = "rfc3339-validator" }, + { name = "rfc3986-validator" }, + { name = "rfc3987-syntax" }, + { name = "uri-template" }, + { name = "webcolors" }, +] + +[[package]] +name = "jsonschema-specifications" +version = "2025.9.1" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "referencing" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/19/74/a633ee74eb36c44aa6d1095e7cc5569bebf04342ee146178e2d36600708b/jsonschema_specifications-2025.9.1.tar.gz", hash = "sha256:b540987f239e745613c7a9176f3edb72b832a4ac465cf02712288397832b5e8d", size = 32855, upload-time = "2025-09-08T01:34:59.186Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/41/45/1a4ed80516f02155c51f51e8cedb3c1902296743db0bbc66608a0db2814f/jsonschema_specifications-2025.9.1-py3-none-any.whl", hash = "sha256:98802fee3a11ee76ecaca44429fda8a41bff98b00a0f2838151b113f210cc6fe", size = 18437, upload-time = "2025-09-08T01:34:57.871Z" }, +] + +[[package]] +name = "jupyter-builder" +version = "1.2.3" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "jupyter-core" }, + { name = "traitlets" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/75/3e/56f593e6a664cd14d441724654ce8243f3cac7d3e45867cf084749c8bc75/jupyter_builder-1.2.3.tar.gz", hash = "sha256:01aba6794eb9b19e0e29ae21137ca60ba4135c70347d4b9f664a586822b8c809", size = 1024218, upload-time = "2026-09-04T18:54:09.411Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/84/aa/be79e87c50698673f196d0633fc1664607da2289f9688d1de7a1c9db9e71/jupyter_builder-1.2.3-py3-none-any.whl", hash = "sha256:c5ea5a7190c2a7b082494abade98eece1b2b5bd5dbd7d610606cbcd10a1d08b3", size = 947541, upload-time = "2026-09-04T18:54:07.644Z" }, +] + +[[package]] +name = "jupyter-client" +version = "8.10.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "jupyter-core" }, + { name = "python-dateutil" }, + { name = "pyzmq" }, + { name = "tornado" }, + { name = "traitlets" }, + { name = "typing-extensions" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/c5/2a/906772148a06e48885039e0250c340b770a55bbf37b08d6ee0449df369c3/jupyter_client-8.10.0.tar.gz", hash = "sha256:9f7116294dca55f1785be880057d44544db9b1567718d92cb33c58886afb9497", size = 360653, upload-time = "2026-08-28T12:17:10.854Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/0f/88/7c548de1f6c2ade7c931a3282da73f9274fa6a1531091be682f89c85efb9/jupyter_client-8.10.0-py3-none-any.whl", hash = "sha256:5f73f24f22fa25192cfff6b23c051932a2473a797b05734aff495b392103e14e", size = 110184, upload-time = "2026-08-28T12:17:09.028Z" }, +] + +[[package]] +name = "jupyter-core" +version = "5.9.1" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "platformdirs" }, + { name = "traitlets" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/02/49/9d1284d0dc65e2c757b74c6687b6d319b02f822ad039e5c512df9194d9dd/jupyter_core-5.9.1.tar.gz", hash = "sha256:4d09aaff303b9566c3ce657f580bd089ff5c91f5f89cf7d8846c3cdf465b5508", size = 89814, upload-time = "2025-10-16T19:19:18.444Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/e7/e7/80988e32bf6f73919a113473a604f5a8f09094de312b9d52b79c2df7612b/jupyter_core-5.9.1-py3-none-any.whl", hash = "sha256:ebf87fdc6073d142e114c72c9e29a9d7ca03fad818c5d300ce2adc1fb0743407", size = 29032, upload-time = "2025-10-16T19:19:16.783Z" }, +] + +[[package]] +name = "jupyter-events" +version = "0.12.1" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "jsonschema", extra = ["format-nongpl"] }, + { name = "packaging" }, + { name = "python-json-logger" }, + { name = "pyyaml" }, + { name = "referencing" }, + { name = "rfc3339-validator" }, + { name = "rfc3986-validator" }, + { name = "traitlets" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/18/f8/475c4241b2b75af0deaae453ed003c6c851766dbc44d332d8baf245dc931/jupyter_events-0.12.1.tar.gz", hash = "sha256:faff25f77218335752f35f23c5fe6e4a392a7bd99a5939ccb9b8fbf594636cf3", size = 62854, upload-time = "2026-04-20T23:17:50.66Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/eb/6c/6fcde0c8f616ed360ffd3587f7db9e225a7e62b583a04494d2f069cf64ea/jupyter_events-0.12.1-py3-none-any.whl", hash = "sha256:c366585253f537a627da52fa7ca7410c5b5301fe893f511e7b077c2d93ec8bcf", size = 19512, upload-time = "2026-04-20T23:17:48.927Z" }, +] + +[[package]] +name = "jupyter-lsp" +version = "2.3.1" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "jupyter-server" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/36/ff/1e4a61f5170a9a1d978f3ac3872449de6c01fc71eaf89657824c878b1549/jupyter_lsp-2.3.1.tar.gz", hash = "sha256:fdf8a4aa7d85813976d6e29e95e6a2c8f752701f926f2715305249a3829805a6", size = 55677, upload-time = "2026-04-02T08:10:06.749Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/23/e8/9d61dcbd1dce8ef418f06befd4ac084b4720429c26b0b1222bc218685eff/jupyter_lsp-2.3.1-py3-none-any.whl", hash = "sha256:71b954d834e85ff3096400554f2eefaf7fe37053036f9a782b0f7c5e42dadb81", size = 77513, upload-time = "2026-04-02T08:10:01.753Z" }, +] + +[[package]] +name = "jupyter-server" +version = "2.21.1" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "anyio" }, + { name = "argon2-cffi" }, + { name = "jinja2" }, + { name = "jupyter-client" }, + { name = "jupyter-core" }, + { name = "jupyter-events" }, + { name = "jupyter-server-terminals" }, + { name = "nbconvert" }, + { name = "nbformat" }, + { name = "overrides", marker = "python_full_version < '3.12' or python_full_version >= '3.15'" }, + { name = "packaging" }, + { name = "prometheus-client" }, + { name = "pywinpty", marker = "os_name == 'nt'" }, + { name = "pyzmq" }, + { name = "send2trash" }, + { name = "terminado" }, + { name = "tornado" }, + { name = "traitlets" }, + { name = "websocket-client" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/65/3d/3c9f8bce5d5448107bd285cd80185e76c9c871d076b580dfd90997e52904/jupyter_server-2.21.1.tar.gz", hash = "sha256:a8960aa29263f6041283e97d4756b099fb49b767baab6371891ecb1bd40a63df", size = 761651, upload-time = "2026-09-15T16:00:07.853Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/1d/39/91bc08650cc8e3efeb7a83c25e20ebddcc9b70d28b4eb6f51a4fb55da7a4/jupyter_server-2.21.1-py3-none-any.whl", hash = "sha256:2a6467606af7dbae2e7e31640030025969e15db6a649eae334af90415dc71dca", size = 394641, upload-time = "2026-09-15T16:00:05.526Z" }, +] + +[[package]] +name = "jupyter-server-terminals" +version = "0.5.4" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "pywinpty", marker = "os_name == 'nt'" }, + { name = "terminado" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/f4/a7/bcd0a9b0cbba88986fe944aaaf91bfda603e5a50bda8ed15123f381a3b2f/jupyter_server_terminals-0.5.4.tar.gz", hash = "sha256:bbda128ed41d0be9020349f9f1f2a4ab9952a73ed5f5ac9f1419794761fb87f5", size = 31770, upload-time = "2026-01-14T16:53:20.213Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/d1/2d/6674563f71c6320841fc300911a55143925112a72a883e2ca71fba4c618d/jupyter_server_terminals-0.5.4-py3-none-any.whl", hash = "sha256:55be353fc74a80bc7f3b20e6be50a55a61cd525626f578dcb66a5708e2007d14", size = 13704, upload-time = "2026-01-14T16:53:18.738Z" }, +] + +[[package]] +name = "jupyterlab" +version = "4.6.4" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "async-lru" }, + { name = "httpx" }, + { name = "ipykernel" }, + { name = "jinja2" }, + { name = "jupyter-builder" }, + { name = "jupyter-core" }, + { name = "jupyter-lsp" }, + { name = "jupyter-server" }, + { name = "jupyterlab-server" }, + { name = "notebook-shim" }, + { name = "packaging" }, + { name = "tornado" }, + { name = "traitlets" }, + { name = "typing-extensions", marker = "python_full_version < '3.12' or python_full_version >= '3.15'" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/33/8d/995cc142f6083346b35e7d3eadc5a6717ee89ce64ea53577010ac493bc3c/jupyterlab-4.6.4.tar.gz", hash = "sha256:404f49b081819378524886c9db66dba57a5565981eff885830df1baba3a17df5", size = 28335647, upload-time = "2026-09-21T15:25:18.779Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/3b/e4/072bc0d3c6d45d414062a06af7ee81c02a2c12d769c358ec9919f9995ffd/jupyterlab-4.6.4-py3-none-any.whl", hash = "sha256:15b13f991d3985129c797eb84d9949eeb8b6615e14b444868e642411f2c418b2", size = 17171596, upload-time = "2026-09-21T15:25:14.123Z" }, +] + +[[package]] +name = "jupyterlab-pygments" +version = "0.3.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/90/51/9187be60d989df97f5f0aba133fa54e7300f17616e065d1ada7d7646b6d6/jupyterlab_pygments-0.3.0.tar.gz", hash = "sha256:721aca4d9029252b11cfa9d185e5b5af4d54772bb8072f9b7036f4170054d35d", size = 512900, upload-time = "2023-11-23T09:26:37.44Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/b1/dd/ead9d8ea85bf202d90cc513b533f9c363121c7792674f78e0d8a854b63b4/jupyterlab_pygments-0.3.0-py3-none-any.whl", hash = "sha256:841a89020971da1d8693f1a99997aefc5dc424bb1b251fd6322462a1b8842780", size = 15884, upload-time = "2023-11-23T09:26:34.325Z" }, +] + +[[package]] +name = "jupyterlab-server" +version = "2.28.1" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "babel" }, + { name = "jinja2" }, + { name = "json5" }, + { name = "jsonschema" }, + { name = "jupyter-server" }, + { name = "packaging" }, + { name = "requests" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/16/c5/08946a10b81bd64408d8b78cb352e17fe52d3ee11c2aef00a0f06e506938/jupyterlab_server-2.28.1.tar.gz", hash = "sha256:0c3c2418d51021ce280916e63dfe4cba8386b4e2787be5c25433c98f560ddb31", size = 78141, upload-time = "2026-09-15T19:22:09.935Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/23/d3/996332fe24f3c2458b9c353b998570dfa2631763e9a8674ba3f94c0877d0/jupyterlab_server-2.28.1-py3-none-any.whl", hash = "sha256:4bd36c7c11d872e15cefa4951e12380a47e6901687165332dd50a007cb367ad9", size = 60197, upload-time = "2026-09-15T19:22:08.201Z" }, +] + +[[package]] +name = "kiwisolver" +version = "1.5.1" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/ba/07/bd78e6a8fae171ea041ef5bba3ed21a003522fa088834b069b1909981f30/kiwisolver-1.5.1.tar.gz", hash = "sha256:f1303ef2eec81262a4b708c3e858afe58d7c75ad91c1c05266eda7673369859a", size = 104395, upload-time = "2026-08-28T10:28:27.153Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/94/7b/2de6908edc668427c149af5f93112e931f87e1fa4cab80bac32c5844dccc/kiwisolver-1.5.1-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:b3d78f7bb2b9d9a30345be1474b9aaa8685430b54afb51ba3639b5c6c11e9ed6", size = 123364, upload-time = "2026-08-28T10:25:04.359Z" }, + { url = "https://files.pythonhosted.org/packages/8a/24/e70914415c77c97be7e22c80a0740869cb7428768cc380fdcdf6703e7084/kiwisolver-1.5.1-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:5025e36fb4fb275cef0a4e30dbb11cb4ae61d1c83deb90189cb5d7e4cafd6b55", size = 66558, upload-time = "2026-08-28T10:25:05.506Z" }, + { url = "https://files.pythonhosted.org/packages/e8/2b/8b08b11833db4d475b8ef1f36174f8d8a7abd31bedd7e794be78e8814b48/kiwisolver-1.5.1-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:dc1a26b8e53395a01c2c611e58602fa47461f136fba7cd5542e6db6d64be1839", size = 64071, upload-time = "2026-08-28T10:25:06.7Z" }, + { url = "https://files.pythonhosted.org/packages/89/00/05c2d0369ac322d22d5c05f84b5c4a6856fa6207fbae42869108a28f0383/kiwisolver-1.5.1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:95a02752aa032eef4aed01cda6d9b687c669bd0396bf4519eef8bba22a286720", size = 1438206, upload-time = "2026-08-28T10:25:08.254Z" }, + { url = "https://files.pythonhosted.org/packages/c0/05/c941a139f27438c1910d630fdc3ccfdab7c8407c72052299ead12ece086e/kiwisolver-1.5.1-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:719a35fa1156db3640555f95ebb94f60a444e64d1c69626b0edef5df78eba225", size = 1248975, upload-time = "2026-08-28T10:25:10.053Z" }, + { url = "https://files.pythonhosted.org/packages/58/a1/2669ee5512e39b9d4de25faacaedf788c957f93730c5f7c63993ec4f5933/kiwisolver-1.5.1-cp311-cp311-manylinux_2_24_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:febcce10f2bcdbb80b4ea919238a6a4ac13dbc4c7cadbe8d5d75c3682f8b5404", size = 1266301, upload-time = "2026-08-28T10:25:11.754Z" }, + { url = "https://files.pythonhosted.org/packages/28/b8/353f52f2c7f861a9e90cd2e8f90f85b3ad03060835f823e08298d094c463/kiwisolver-1.5.1-cp311-cp311-manylinux_2_24_s390x.manylinux_2_28_s390x.whl", hash = "sha256:1d852545c4d0e35a72728d072cbaa59e2fa7dd84bdf01e068d670dd0ceb58eb6", size = 1319708, upload-time = "2026-08-28T10:25:13.559Z" }, + { url = "https://files.pythonhosted.org/packages/21/0e/14b83200eadc2c1d63b76bac01c1813bf072aecf567429f303e00b70258e/kiwisolver-1.5.1-cp311-cp311-manylinux_2_39_riscv64.whl", hash = "sha256:2e10ae1bba1899188b33557c10d73affcc12033edd18adddb57d209039976a4c", size = 971720, upload-time = "2026-08-28T10:25:14.934Z" }, + { url = "https://files.pythonhosted.org/packages/86/91/9d43d84d23b1cbff72a142d387ead1ea03db0cba8ff86ed5335addad3cc9/kiwisolver-1.5.1-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:b69602970994a2ed8bbfa78c2f0394a7435226c6040489702d9f0a0ad0c07052", size = 2200119, upload-time = "2026-08-28T10:25:16.636Z" }, + { url = "https://files.pythonhosted.org/packages/ff/7c/f2bd9616f27ffb5e17cecc0baa5d0bbcee7e55aeddc0ccc871d69e2fc3ee/kiwisolver-1.5.1-cp311-cp311-musllinux_1_2_ppc64le.whl", hash = "sha256:d50de98e8d807dc31822fff96f50293163a62418eb65487a21b42713d72ed0b7", size = 2295005, upload-time = "2026-08-28T10:25:18.374Z" }, + { url = "https://files.pythonhosted.org/packages/ba/17/ee671b72bf8f46a08379d4392c65582541759a542428197562f2898294ad/kiwisolver-1.5.1-cp311-cp311-musllinux_1_2_riscv64.whl", hash = "sha256:3221f78211074f561c44ca42eac0619828171bec15a2c4cf6f7747d07df76e8e", size = 1960982, upload-time = "2026-08-28T10:25:19.893Z" }, + { url = "https://files.pythonhosted.org/packages/2e/f7/0e26b4c05bee3bdb0f048dfa305e4fe701999ea17b51e9c616ef91035bbe/kiwisolver-1.5.1-cp311-cp311-musllinux_1_2_s390x.whl", hash = "sha256:0ba9527afc80ae3d7814ed98b6572d02bf85eaf48065678342c5f0c6dab7a8c7", size = 2464918, upload-time = "2026-08-28T10:25:21.65Z" }, + { url = "https://files.pythonhosted.org/packages/ae/62/6eb431133d30ce656ac1e5ff72fac70dd34d54c3984f4011b9ac8bf77d54/kiwisolver-1.5.1-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:e12dfea7f5fc2a34a9080efbf79c4c44eb380ec5b9c6fea09407e08f0d1e941d", size = 2270967, upload-time = "2026-08-28T10:25:23.643Z" }, + { url = "https://files.pythonhosted.org/packages/bf/9f/6f9e489c188200e6fb3193935501894811e8c97577c8ffe9033589bf3521/kiwisolver-1.5.1-cp311-cp311-win_amd64.whl", hash = "sha256:1a7587dc335f2c0f5bd577fd0540bd16c66006bdb60f759a1059f025e6c4f071", size = 70744, upload-time = "2026-08-28T10:25:25.061Z" }, + { url = "https://files.pythonhosted.org/packages/c6/6d/dfc430d1d43957061599adea3f08ea982bb6f4ab601a8c974bedcf2ba850/kiwisolver-1.5.1-cp311-cp311-win_arm64.whl", hash = "sha256:e4e4523d6f336708d732516e6cfca7796cf3d96c9474eb5aecf6165f2f1fefc3", size = 68404, upload-time = "2026-08-28T10:25:26.186Z" }, + { url = "https://files.pythonhosted.org/packages/6b/9b/65b302742389c6f96f2956bef5decf26011309feb2fc5d79613af18adea4/kiwisolver-1.5.1-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:63fb7294b768f444eb4b068965f2662f28c2fd4161e23bd60fcf3ff27b74c046", size = 123876, upload-time = "2026-08-28T10:25:27.44Z" }, + { url = "https://files.pythonhosted.org/packages/71/74/c21f339956f6f691b2ed7e31d5f3ae767304df6c460192739fc830853051/kiwisolver-1.5.1-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:0ebdef3eae5336568147c39a55be6a2036ffde53faa9ca2d978989ae7c2da12c", size = 66487, upload-time = "2026-08-28T10:25:28.728Z" }, + { url = "https://files.pythonhosted.org/packages/84/e5/bdb34e21523e01dceda064d63713f3bdec91388af24fba1eca7ea5e85864/kiwisolver-1.5.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:1798e83840c3f627246104c4d8a9639c60fa068adf9ce92b61791781fa8a68c1", size = 64660, upload-time = "2026-08-28T10:25:30.071Z" }, + { url = "https://files.pythonhosted.org/packages/fc/f4/dadfec469313c7f428efa7e84b4aba9732f813c13ea7131a24b7b008ef57/kiwisolver-1.5.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:34633ecf50d16187ab8e5528b7a2530f2feb4e23f300db4672538b51cfc5cd38", size = 1477929, upload-time = "2026-08-28T10:25:31.495Z" }, + { url = "https://files.pythonhosted.org/packages/6f/35/09c58daac34e6f6ea5c6dee0094b422118e5a7c265586008a95fd135ac5f/kiwisolver-1.5.1-cp312-cp312-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:d27c2123977cb9269c30a49ba45f03a4323017ef693e19db4ec9dbe1299a3002", size = 1278499, upload-time = "2026-08-28T10:25:33.375Z" }, + { url = "https://files.pythonhosted.org/packages/19/32/739765e24fbad29d13f83e546ea4abc215a78cea9d677ca09025b027724d/kiwisolver-1.5.1-cp312-cp312-manylinux_2_24_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:6a797a1cefc8b9c93170db580337e1fe3d011ad18b1299943231279406342048", size = 1296677, upload-time = "2026-08-28T10:25:35.059Z" }, + { url = "https://files.pythonhosted.org/packages/df/32/03304d1010e2cc45e5b3b52cef7e43fed3a2a5cd6c87a89b4a88e1d85b5d/kiwisolver-1.5.1-cp312-cp312-manylinux_2_24_s390x.manylinux_2_28_s390x.whl", hash = "sha256:2551cf9917af48ee7c4b29cc82320489508cf96fd26a51f6fc124de661cd44c7", size = 1346037, upload-time = "2026-08-28T10:25:36.705Z" }, + { url = "https://files.pythonhosted.org/packages/3e/57/4c49377bfd274450dd72ecaa13eaac32ea804a03363e4d1db0c5aa999ceb/kiwisolver-1.5.1-cp312-cp312-manylinux_2_39_riscv64.whl", hash = "sha256:38f6e0deb4d0a4615efe0c4efc5990b06ae450ab50a0b321c0b078b6d238c083", size = 988248, upload-time = "2026-08-28T10:25:38.299Z" }, + { url = "https://files.pythonhosted.org/packages/cb/c3/38df144a08b6c5d75ca4504e5cc3141bb3bfef64c04f4ef48204f42711b6/kiwisolver-1.5.1-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:bfd1de989b3330420e29de39352f5c049905c9e3ee67233a50d550e3d652c148", size = 2228722, upload-time = "2026-08-28T10:25:40.038Z" }, + { url = "https://files.pythonhosted.org/packages/e7/11/3221838a89cd64d9b386353e000cd8a296069a20fbe3584507fdfd5bebae/kiwisolver-1.5.1-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:1209042a623ddfda5497e4066c7b77651dde8e1d3a9dd97599dc7e97f3b9b78c", size = 2325216, upload-time = "2026-08-28T10:25:41.699Z" }, + { url = "https://files.pythonhosted.org/packages/83/d4/075c219230697bb5db910d37262b9bacf880f92b4811a02ab81ed073a253/kiwisolver-1.5.1-cp312-cp312-musllinux_1_2_riscv64.whl", hash = "sha256:26e8268480be5061d509e29669d59103c067a26377a56491630ece11762e3858", size = 1977689, upload-time = "2026-08-28T10:25:43.559Z" }, + { url = "https://files.pythonhosted.org/packages/bb/08/1d219c3c2dd960983d0d4da623d916e9de6385df2b0bab3d1af0e9b8fccc/kiwisolver-1.5.1-cp312-cp312-musllinux_1_2_s390x.whl", hash = "sha256:d79308fa689fac89cbcfbd4dbfc80b5f95c54c5a7fd4d194be221f9d33d026e6", size = 2491443, upload-time = "2026-08-28T10:25:45.242Z" }, + { url = "https://files.pythonhosted.org/packages/ba/d3/024208ec1079d273f1047468d1bdffbf38bb75b7b268090fd3a0301b9d9a/kiwisolver-1.5.1-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:b03af77d77e50edba2030fd5f7c352ff209314b09030a3cba7c14edf9a09a444", size = 2295200, upload-time = "2026-08-28T10:25:46.984Z" }, + { url = "https://files.pythonhosted.org/packages/6e/7c/7b210498f9f92e1cd7855f260fa69ef056881087b199ee20c208f0e4189a/kiwisolver-1.5.1-cp312-cp312-win_amd64.whl", hash = "sha256:06a6917674de9e0fe3f66f5430787f59a9f2ddb64af9b714eaec547e29ef5c19", size = 70748, upload-time = "2026-08-28T10:25:48.444Z" }, + { url = "https://files.pythonhosted.org/packages/94/61/ef0daa157c8bb23672f7423e0d14c39db1dc6ef8ed47e6bc54c9c1bef3bf/kiwisolver-1.5.1-cp312-cp312-win_arm64.whl", hash = "sha256:ad8b9671348d7c8716715652ae11f85ed0eb99e265a2df2ca490577d69860b2c", size = 68324, upload-time = "2026-08-28T10:25:49.81Z" }, + { url = "https://files.pythonhosted.org/packages/08/c1/88018321d976f53c421e379c43bc6993e70ce0c8a3ec5edc4bfe102257f6/kiwisolver-1.5.1-cp313-cp313-ios_13_0_arm64_iphoneos.whl", hash = "sha256:b6ae6a0328f0bc035741820fdeecdcd67bf4694eee03972e843663107122f450", size = 62272, upload-time = "2026-08-28T10:25:51.02Z" }, + { url = "https://files.pythonhosted.org/packages/85/d2/712bc17ea4f1d216034928069d612defbc6c95a471c55a7203a39faecb1a/kiwisolver-1.5.1-cp313-cp313-ios_13_0_arm64_iphonesimulator.whl", hash = "sha256:886fc26012f0e8b5f69d1cfe6d711f6b11f194621539bf8e6bb1c25c5dc82724", size = 64481, upload-time = "2026-08-28T10:25:52.22Z" }, + { url = "https://files.pythonhosted.org/packages/1b/e6/6c5380d676f43b6d918033962ea5e72360ca69e5a404154bc496b598ffdb/kiwisolver-1.5.1-cp313-cp313-ios_13_0_x86_64_iphonesimulator.whl", hash = "sha256:aefe930d113798330e9462f7874542977869c0613cba3262e2de3a8d5dee8f3a", size = 66260, upload-time = "2026-08-28T10:25:53.387Z" }, + { url = "https://files.pythonhosted.org/packages/92/6a/7087f5822cc8bb272679641404b1966a42504dac9ee74e2b33840475a0aa/kiwisolver-1.5.1-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:a5ca5aebae78a0bc13c1943af4af615d4966c5b650b05d5aa83b50e427196fee", size = 123876, upload-time = "2026-08-28T10:25:54.644Z" }, + { url = "https://files.pythonhosted.org/packages/5c/4b/9f385087ca09ee5ab9c09c6832561a7d2f7c78d3e5661d511e669f70e439/kiwisolver-1.5.1-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:1ed0f5e49d0ceff8b72190824d9e59c062fbbc02c231b853112c78474b3f5ec2", size = 66487, upload-time = "2026-08-28T10:25:55.899Z" }, + { url = "https://files.pythonhosted.org/packages/47/8b/40d33ffd2f378094ed462e9a9a0907e59d4de9845e65a59561272da350d4/kiwisolver-1.5.1-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:77a4c8187a5948d7f8795adb765a3c7b553d07d86d88e43038fc32fc1fb9a3f3", size = 64673, upload-time = "2026-08-28T10:25:57.048Z" }, + { url = "https://files.pythonhosted.org/packages/ab/43/86aacc027959108b4c66eeae8b73cedb057dfa6eb3a335d05ad65197081c/kiwisolver-1.5.1-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:74ad5c3dad54a4641b4c28cd15ded70899d04459c6c7aeacafea716be97cce6d", size = 1477992, upload-time = "2026-08-28T10:25:58.479Z" }, + { url = "https://files.pythonhosted.org/packages/ed/40/b1d0369048c79733a32c8abb0f2718532e6630641368e33a81384246e844/kiwisolver-1.5.1-cp313-cp313-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:21e46b23a2da695c364124817bc01d970effd5483147f8d66a6a7167e3f6b851", size = 1278821, upload-time = "2026-08-28T10:26:00.121Z" }, + { url = "https://files.pythonhosted.org/packages/61/a1/fa71c1792272ff9461432715ae60ffb7e11a4d7ac3bf68961b9cab6c60cf/kiwisolver-1.5.1-cp313-cp313-manylinux_2_24_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:75d9b1cf8258462dbdc1eeda718c96ea7f079324c09067f6daabfcf37712b7fe", size = 1296805, upload-time = "2026-08-28T10:26:01.868Z" }, + { url = "https://files.pythonhosted.org/packages/a3/49/3f0bd94af8e06ecc47eb834b195a06f05d48711ceb2352c56d6835160f0e/kiwisolver-1.5.1-cp313-cp313-manylinux_2_24_s390x.manylinux_2_28_s390x.whl", hash = "sha256:8fca690b00c4c48f6c2a547b0160ed511357093a4e4c9b47e0fadf3128066d89", size = 1346109, upload-time = "2026-08-28T10:26:03.59Z" }, + { url = "https://files.pythonhosted.org/packages/a4/44/3afe6ef9cf06d61220953a8963e94eca978491be1d9547cb01d82a1efa08/kiwisolver-1.5.1-cp313-cp313-manylinux_2_39_riscv64.whl", hash = "sha256:876bbfd276473d3daffe30e8c975df4ed9429967b41a6cb362dbb5155b6f13ad", size = 988252, upload-time = "2026-08-28T10:26:05.306Z" }, + { url = "https://files.pythonhosted.org/packages/e4/30/a12bd7a7285a211e1747c3eec77b8c614dbfcc1dad942f7611a1a6921ae5/kiwisolver-1.5.1-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:f942903fde7363d1d879057ec5de01310efda2597161784d752fa9953a01a71a", size = 2228846, upload-time = "2026-08-28T10:26:07.312Z" }, + { url = "https://files.pythonhosted.org/packages/a1/6b/233e2958abf0dab7b18d07e52f286e02e519d7651bfbbe97af9347564109/kiwisolver-1.5.1-cp313-cp313-musllinux_1_2_ppc64le.whl", hash = "sha256:c90d3022d8a94778939cda8638c6c8da8fa757b8958dad7ec868ce29c87681b8", size = 2325583, upload-time = "2026-08-28T10:26:09.093Z" }, + { url = "https://files.pythonhosted.org/packages/42/8e/7673060a27b01405b580058510adef34687069d229800239f5e44682d4d0/kiwisolver-1.5.1-cp313-cp313-musllinux_1_2_riscv64.whl", hash = "sha256:8a34616dc2521cc8dc1d7d081734da63539f021ac0450ce950908340c6e7aa2f", size = 1978221, upload-time = "2026-08-28T10:26:11.127Z" }, + { url = "https://files.pythonhosted.org/packages/3f/7b/1b882fc1a8b4a0bb8084e7d1d85004116d08c92c0705d31f2928dec607f2/kiwisolver-1.5.1-cp313-cp313-musllinux_1_2_s390x.whl", hash = "sha256:8bf4df63592c2a66b4f8edc5df2544998c288aa02f96ce0acd880cd1de8c8127", size = 2491819, upload-time = "2026-08-28T10:26:13.348Z" }, + { url = "https://files.pythonhosted.org/packages/39/9c/426deb49e62c5f69464b64bbeca064d3b758a7506b8913d986ef34f4619c/kiwisolver-1.5.1-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:d09037ca068d784ebc4aec290ef952ca27ac15dd9c0b5801a88c6e1096b83e6b", size = 2295520, upload-time = "2026-08-28T10:26:15.042Z" }, + { url = "https://files.pythonhosted.org/packages/f5/22/deabbb3ad6d918d74b7831b2d8ae7151b09d21c87974e5ee8a456f58c94c/kiwisolver-1.5.1-cp313-cp313-win_amd64.whl", hash = "sha256:dc23390afe9f4ef9ac3bcc72a03a56eebbde03f4c571a32cb38f859cff9a6524", size = 70758, upload-time = "2026-08-28T10:26:16.504Z" }, + { url = "https://files.pythonhosted.org/packages/b9/71/02fa5c2fd92068bb8952847e70ee6c5cb280e7febe11653d17812acc53dd/kiwisolver-1.5.1-cp313-cp313-win_arm64.whl", hash = "sha256:186884a58486651e3c217b6acea0a53eaa9498fdd472057c46f2f0fb5c25aad5", size = 68329, upload-time = "2026-08-28T10:26:17.658Z" }, + { url = "https://files.pythonhosted.org/packages/dd/87/2d5dfad0daf17dcc18d98c48ed2332fc3f051cf599e60be6182a30dd4cf1/kiwisolver-1.5.1-cp314-cp314-ios_13_0_arm64_iphoneos.whl", hash = "sha256:0324cd2567259b7a095f6cf18a52b0ffc6f3de9e69528ff1bc0e7a37bd43ff1a", size = 62337, upload-time = "2026-08-28T10:26:18.778Z" }, + { url = "https://files.pythonhosted.org/packages/08/c8/83e1624f15d6262b470dbcc80b09979fd4d5b2ea3ddfc6b6e3327e235726/kiwisolver-1.5.1-cp314-cp314-ios_13_0_arm64_iphonesimulator.whl", hash = "sha256:74ea337e0ec3f6f342a36a4f1b5cd94dd9affddcd28ba9aae2905af932ee8c6b", size = 64513, upload-time = "2026-08-28T10:26:19.909Z" }, + { url = "https://files.pythonhosted.org/packages/c9/2d/827ec30eb07f528c08d8459ffb318ae91a56d793ee8acbea8b491f0ff906/kiwisolver-1.5.1-cp314-cp314-ios_13_0_x86_64_iphonesimulator.whl", hash = "sha256:ee9df1f0d77b9c6e94f4ac0fec533fbddd5ea3a327807f18d7b069ae019ded80", size = 66287, upload-time = "2026-08-28T10:26:21.078Z" }, + { url = "https://files.pythonhosted.org/packages/53/11/5c43a562529dad8def4b81e5e1877c612a7e0298105a5939b3b409d2079c/kiwisolver-1.5.1-cp314-cp314-macosx_10_15_universal2.whl", hash = "sha256:fc271a6f0a2126958f4090e5507b9da5848927dae331f8f763bd4aa642b3d2cd", size = 123940, upload-time = "2026-08-28T10:26:22.475Z" }, + { url = "https://files.pythonhosted.org/packages/64/db/9bd6c505c95128c258a55236bfbb3a7a3fb6023f863316b6d7d9f3c69052/kiwisolver-1.5.1-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:9b3092d8992a1d69b7a59c3e39f35e1b9be327a17f68a7c35fc17329e337d6f2", size = 66493, upload-time = "2026-08-28T10:26:23.743Z" }, + { url = "https://files.pythonhosted.org/packages/e1/f4/b3007a3ed5c9be73f81161140684cf7d9bdb9c4b632f5f484d2a1c713fb9/kiwisolver-1.5.1-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:c2306e8bb53601979fcb3fa09cc65e031876d9ae01eff2fcbcd7a84ef94d5bc1", size = 64720, upload-time = "2026-08-28T10:26:24.95Z" }, + { url = "https://files.pythonhosted.org/packages/a1/13/08188f0cafa3a800403e4ff62b9aad4e7a17f9c4c7e080dc8f18c64794cf/kiwisolver-1.5.1-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:18a0cfb124546a4c2e6087c5f3029c7f44b37c85b142e0ced71f73a7599ac208", size = 1475867, upload-time = "2026-08-28T10:26:26.393Z" }, + { url = "https://files.pythonhosted.org/packages/8a/3e/053bdc3c9abdb8f2606225eda398adca25c0c91ab90add8222a69db65ee0/kiwisolver-1.5.1-cp314-cp314-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:34ec467940442c9943016fb2d4c81d1ba84351eeca2f1a78f8bc87f1ba0d414c", size = 1282865, upload-time = "2026-08-28T10:26:28.118Z" }, + { url = "https://files.pythonhosted.org/packages/5e/64/a44c341b36b610588cc2f1e89b3cae072a3119aa8be578e90987cd640751/kiwisolver-1.5.1-cp314-cp314-manylinux_2_24_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:a83ee7107df13abe42a54a6654670eef9bb39425cf2e27f65e0007465e1286ab", size = 1300865, upload-time = "2026-08-28T10:26:30.125Z" }, + { url = "https://files.pythonhosted.org/packages/60/5e/7e7d716dca38c714478b741257a5b4a321d9932b8d851551a136dcaf3984/kiwisolver-1.5.1-cp314-cp314-manylinux_2_24_s390x.manylinux_2_28_s390x.whl", hash = "sha256:bebb89489b279b2f5661bbbb2abcc87bcd4a46607bb4a5c966f04f1db6b8df9a", size = 1348071, upload-time = "2026-08-28T10:26:31.829Z" }, + { url = "https://files.pythonhosted.org/packages/10/1a/2b98fdda8bf45b7be317e48ed12393d44334394d315c74b81f4a14c0e31b/kiwisolver-1.5.1-cp314-cp314-manylinux_2_39_riscv64.whl", hash = "sha256:509735237ae0d849e8a843551d423d2500d2e0a9ac1611a145658b29c0fb9f85", size = 992191, upload-time = "2026-08-28T10:26:33.544Z" }, + { url = "https://files.pythonhosted.org/packages/b6/55/d893f5ede0e50f9e3fcf01f6015f42ec7d9cd221e26772701fe4a98745f9/kiwisolver-1.5.1-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:824c3d763a05ea9e9003610145186b0e9848c7584a5575c79bac5a8e7cd80bad", size = 2233854, upload-time = "2026-08-28T10:26:35.282Z" }, + { url = "https://files.pythonhosted.org/packages/b1/82/f85f6279555a6ee1639fef7bfe83adb037a03e11a6fc9eaa54b8d0380339/kiwisolver-1.5.1-cp314-cp314-musllinux_1_2_ppc64le.whl", hash = "sha256:1fff05e239575b1481b6ed1a782f6fad616efbf1f0b1f44e6e85c4dfe426e483", size = 2330621, upload-time = "2026-08-28T10:26:36.9Z" }, + { url = "https://files.pythonhosted.org/packages/56/31/e11aea078f66fc2fffcc179d38ca90d9da97652a241b64519169742ba46a/kiwisolver-1.5.1-cp314-cp314-musllinux_1_2_riscv64.whl", hash = "sha256:0627b9bceb9c3cdcf12b8a18655eedfed2692b038df27423383c120d0b7dc2d6", size = 1982848, upload-time = "2026-08-28T10:26:39.01Z" }, + { url = "https://files.pythonhosted.org/packages/af/ea/2956b63bf5140ca46aa2c2818e6aa03e2d5754dd2fa41db1c6b28922940c/kiwisolver-1.5.1-cp314-cp314-musllinux_1_2_s390x.whl", hash = "sha256:8a708a47ade1fe19e8371d5da076bac0dd4b0a5a7985ad6c637f7f7e361b6baa", size = 2494850, upload-time = "2026-08-28T10:26:40.837Z" }, + { url = "https://files.pythonhosted.org/packages/11/d1/3829542258d8b3fc0898d221e7ef0e2c83eca0d348709bb8dbe54f3d4005/kiwisolver-1.5.1-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:007a5553dfc4f4e8d184f588a0200e2cd4b63a59cc8796df3c39909e679dc7a0", size = 2298067, upload-time = "2026-08-28T10:26:42.803Z" }, + { url = "https://files.pythonhosted.org/packages/4e/0e/49522e1ab5788cbaf63a26fbd3b851f9028616828c961b8a31b35cb96df8/kiwisolver-1.5.1-cp314-cp314-win_amd64.whl", hash = "sha256:f4167e87b397f273dc2356fcf1eaf50a6bac51e6105f45103ef7129c8efb0255", size = 72282, upload-time = "2026-08-28T10:26:44.268Z" }, + { url = "https://files.pythonhosted.org/packages/f5/b6/22e7ca5315d363e6f81c9f37c9472e12e7b298731e77c0428e6a911a2c39/kiwisolver-1.5.1-cp314-cp314-win_arm64.whl", hash = "sha256:5c490db2168a508088f59140dd392556a54b8bd1048fc6383c8baff13c359673", size = 69855, upload-time = "2026-08-28T10:26:45.725Z" }, + { url = "https://files.pythonhosted.org/packages/30/8c/03a9cfbe871964c8758a816eb03ac96c806da2795a9a7cd9bf9648bfb594/kiwisolver-1.5.1-cp314-cp314t-macosx_10_15_universal2.whl", hash = "sha256:4d4ca09bf13cff792b1884f64b98ee6c2467930d632233be25c56b442d99f10e", size = 126289, upload-time = "2026-08-28T10:26:47.023Z" }, + { url = "https://files.pythonhosted.org/packages/f2/e3/14ce3041ca79dff9c9d884ca00c7bf32374e76028a865a9ecd99b4f5a517/kiwisolver-1.5.1-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:44b8faef94f1857e77fa0238f3390ff1ac51d2ea20a487e2e452a59fd2b5f5ca", size = 67709, upload-time = "2026-08-28T10:26:48.268Z" }, + { url = "https://files.pythonhosted.org/packages/af/c4/45030471a66ec8ef042e9f96ffe1d522c9ab12da180186a0898966fc1385/kiwisolver-1.5.1-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:2ae70bc59790d2af72a3f76f24b272403e135070340281108b447cb77ea70819", size = 65909, upload-time = "2026-08-28T10:26:49.523Z" }, + { url = "https://files.pythonhosted.org/packages/42/73/17dce073a6ae259bb32cf9d686c4079d2e538868bc45967462bf33df914a/kiwisolver-1.5.1-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:43844c1a7ad6d723d5b5b4c4fc7f5bd399c40e288120d16257c7c9e8765c6e85", size = 1584907, upload-time = "2026-08-28T10:26:50.933Z" }, + { url = "https://files.pythonhosted.org/packages/8c/84/ae3c75909f507283cbfcc7e916c7e822579ef962020b97e6882b27b4478f/kiwisolver-1.5.1-cp314-cp314t-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:22d5e5aaad6be121f2515765e3b1c444352cb8eb4c86510801db8f2e50757316", size = 1392474, upload-time = "2026-08-28T10:26:52.638Z" }, + { url = "https://files.pythonhosted.org/packages/34/31/8bcc83caad5bce8fa4577152389848bf6bc110e51e573a2b4e7c2aa34c89/kiwisolver-1.5.1-cp314-cp314t-manylinux_2_24_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:3fa5855898f6d3d01b72ccd48a2d65cbdee301251603fefe34e2025bddba219c", size = 1405246, upload-time = "2026-08-28T10:26:54.248Z" }, + { url = "https://files.pythonhosted.org/packages/55/72/220345537d790cf4ae54f8acfff4b5cc2468e0702a384d651cf7a771c63e/kiwisolver-1.5.1-cp314-cp314t-manylinux_2_24_s390x.manylinux_2_28_s390x.whl", hash = "sha256:d66a64dd5dec136040ec2ae94aa026a912ee60fdd45bc28d3db30037fd809e88", size = 1456099, upload-time = "2026-08-28T10:26:56.042Z" }, + { url = "https://files.pythonhosted.org/packages/cd/10/3725fd2398f66d18c34b4e0f81a8d03764cd4f4f089f58a527f0b4428086/kiwisolver-1.5.1-cp314-cp314t-manylinux_2_39_riscv64.whl", hash = "sha256:9e51c119992ea8820706871c30a4642ec76de20ae82f9b50b9a45517d8e9f810", size = 1073695, upload-time = "2026-08-28T10:26:57.658Z" }, + { url = "https://files.pythonhosted.org/packages/86/cb/28d6e09e66b93e4588b2e6b7d84d020ccefea09e2f4de788510a07efeab7/kiwisolver-1.5.1-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:70ed9a45c7484d2b30cdacf60d220f494a1763b9fec1ad03285c6553fa0889f2", size = 2335355, upload-time = "2026-08-28T10:26:59.202Z" }, + { url = "https://files.pythonhosted.org/packages/6a/b3/a0f31d5e4e40af7dc97c36b8a74fdd3a36cf3c8bbd098da9a23466ff6a94/kiwisolver-1.5.1-cp314-cp314t-musllinux_1_2_ppc64le.whl", hash = "sha256:98b208a7cc42c803445ef551d6753cc42a5ea13e9cab1ee66cd8b9cb70195330", size = 2426524, upload-time = "2026-08-28T10:27:01.181Z" }, + { url = "https://files.pythonhosted.org/packages/2f/c9/728f63bd58c72cafdc79fc306abeeac7391bec03b757a48dadeb30906521/kiwisolver-1.5.1-cp314-cp314t-musllinux_1_2_riscv64.whl", hash = "sha256:c6834b92dd2428e2dd85ef3d85f723d3c12f20aaf43a2ddd4f944ca25d833408", size = 2063430, upload-time = "2026-08-28T10:27:03.06Z" }, + { url = "https://files.pythonhosted.org/packages/84/df/ce188b96f92f9a2c958231da140768918cba53c9713dc887b82f85462118/kiwisolver-1.5.1-cp314-cp314t-musllinux_1_2_s390x.whl", hash = "sha256:5d142e352eb13facc7dd047489aebdff6ba78576c239f1ea04931979caaf0567", size = 2597513, upload-time = "2026-08-28T10:27:05.072Z" }, + { url = "https://files.pythonhosted.org/packages/69/d6/76947c8203768968382e5bd74d9cc95654746703a61ea53015f2c74a2e06/kiwisolver-1.5.1-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:f9b1c4900736e489a812c529100de4b8fb617d4db075e931e213c57424b83d9b", size = 2394488, upload-time = "2026-08-28T10:27:07.423Z" }, + { url = "https://files.pythonhosted.org/packages/e4/d4/14b21e4eb203c4d15425e8b6a2c625a320b4a1f2f7557eead63ffc30ffb7/kiwisolver-1.5.1-cp314-cp314t-win_amd64.whl", hash = "sha256:5978c3340f16a35c30f8ab2fa7bcf559973c55f1a5ef6970e1f621acf3c4db13", size = 75404, upload-time = "2026-08-28T10:27:08.892Z" }, + { url = "https://files.pythonhosted.org/packages/cb/f5/53157899fc7f45f76421b77b99eb1639dd0f83f26ff9d76300c96bb4a3b0/kiwisolver-1.5.1-cp314-cp314t-win_arm64.whl", hash = "sha256:ca307d6c259e5c98d3cb9ade55342b47a6839762caf2536f3d7b46ee660cc82e", size = 72946, upload-time = "2026-08-28T10:27:10.944Z" }, + { url = "https://files.pythonhosted.org/packages/75/62/f786c3a27f181fa339d851a77e266d208e776b9883cabc40a5b041a31b5a/kiwisolver-1.5.1-cp315-cp315-ios_13_0_arm64_iphoneos.whl", hash = "sha256:bb7c99f0673c03017a3ee01e54a5c2617a05468b11eabe513b0080e063ed95b1", size = 62420, upload-time = "2026-08-28T10:27:12.308Z" }, + { url = "https://files.pythonhosted.org/packages/02/cd/58a91ed25fbad0facdf503297b03768efab04bdf3141e5e3b49a34be7443/kiwisolver-1.5.1-cp315-cp315-ios_13_0_arm64_iphonesimulator.whl", hash = "sha256:0d8924877ce22e17326a99a418c3c82037da078df3c6a260b13eca677444e6e7", size = 64577, upload-time = "2026-08-28T10:27:13.502Z" }, + { url = "https://files.pythonhosted.org/packages/f6/5c/d501ef5a0958b226eac28306d24d5e5f114be0ace50e19cabae7b6b3b197/kiwisolver-1.5.1-cp315-cp315-ios_13_0_x86_64_iphonesimulator.whl", hash = "sha256:534f02c1abb31ed6dbd3515545285c330b2f12d00fdb1fdb71658b9ca5a13a6a", size = 66284, upload-time = "2026-08-28T10:27:14.813Z" }, + { url = "https://files.pythonhosted.org/packages/a3/a6/8fbecaf4fc18c02f31f05e47a84c010a80e3ec391ed2f0bdade1d62b5954/kiwisolver-1.5.1-cp315-cp315-macosx_10_15_universal2.whl", hash = "sha256:cea20da04494e662b83c872683bf4ff2345206043d036315ed0e924b652e7294", size = 124031, upload-time = "2026-08-28T10:27:16.193Z" }, + { url = "https://files.pythonhosted.org/packages/7c/c6/bf3090d2983b4204347cbdbe952116e7c3b2abf62b4e33e50167a13e75ee/kiwisolver-1.5.1-cp315-cp315-macosx_10_15_x86_64.whl", hash = "sha256:7fd82debf43c6acd0a94359d232f6bb516ee13f269a7993736a9ac9f988bb5d9", size = 66489, upload-time = "2026-08-28T10:27:17.506Z" }, + { url = "https://files.pythonhosted.org/packages/85/de/562dddef55fdd7c291da8626d6619e72b5fc0870e6ccca0e149a5731e7f3/kiwisolver-1.5.1-cp315-cp315-macosx_11_0_arm64.whl", hash = "sha256:18170a77ddfecf40ec60d0928268dc95880c881864e015a8f34094ed18b9b9ad", size = 64806, upload-time = "2026-08-28T10:27:18.673Z" }, + { url = "https://files.pythonhosted.org/packages/89/b1/ba7b9c0164ce1cf62bf2872db63b8483289cf0f3110d6f9390eb09e409ed/kiwisolver-1.5.1-cp315-cp315-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:ca7f6fe0f37ca978a1e5eb7a3a68e6413f417e78e838324947ffd420202b198b", size = 1482211, upload-time = "2026-08-28T10:27:20.039Z" }, + { url = "https://files.pythonhosted.org/packages/13/dc/34da54efb4976616d45c20aae32d70e89d6e7395ed908029154d1609ef22/kiwisolver-1.5.1-cp315-cp315-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:5b973887ff782cfd6b67c9904ad8ca542e0bc5e4961503408b423b5a688b4d38", size = 1283739, upload-time = "2026-08-28T10:27:21.82Z" }, + { url = "https://files.pythonhosted.org/packages/5a/3a/30ffb62bee646e266e98a1b5cd276d9c75b6116fbfcb87c1190838c1b6df/kiwisolver-1.5.1-cp315-cp315-manylinux_2_24_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:f76fc85bd054c806960f917ec0f329e24e436f1712267d90588e4c39890caa63", size = 1301681, upload-time = "2026-08-28T10:27:23.876Z" }, + { url = "https://files.pythonhosted.org/packages/a9/8d/13c70be22a8506880b35fdc38dca36629613bc493405c79f4037f2cd2bb9/kiwisolver-1.5.1-cp315-cp315-manylinux_2_24_s390x.manylinux_2_28_s390x.whl", hash = "sha256:828f75af2b0080c8a972e75f649ab46af008e92c6104a57a759157200b835b75", size = 1349159, upload-time = "2026-08-28T10:27:25.899Z" }, + { url = "https://files.pythonhosted.org/packages/82/0e/993972b8ec6767f47cd69818fb3a5ff14510557d29f7d1a839be7574fa1b/kiwisolver-1.5.1-cp315-cp315-manylinux_2_39_riscv64.whl", hash = "sha256:431dc224a1a92a5c8f582d96e505196a3b5997a7271076678da2dfde67b77e9a", size = 997613, upload-time = "2026-08-28T10:27:27.507Z" }, + { url = "https://files.pythonhosted.org/packages/36/82/ca26eddd2eda2420dfc56693449c1f821f78b485da9cbde9904c03af3f93/kiwisolver-1.5.1-cp315-cp315-musllinux_1_2_aarch64.whl", hash = "sha256:61e9a64c7635095a6bfe483e2ff055d437c59bd45f3617a228b37277f0185d62", size = 2235109, upload-time = "2026-08-28T10:27:30.113Z" }, + { url = "https://files.pythonhosted.org/packages/c7/84/97d920881e10840b8d7c7185620298e3e4c88820b05514e3a15a258b08a6/kiwisolver-1.5.1-cp315-cp315-musllinux_1_2_ppc64le.whl", hash = "sha256:3c24cd69455e1b00ddf770c13b6e2c33e07d6dc3f2d34add0bf9277c5c6bbd46", size = 2331207, upload-time = "2026-08-28T10:27:32.795Z" }, + { url = "https://files.pythonhosted.org/packages/e2/ce/34d74b8f25acc58800f4c09268371e8d6159cf0f1206f1e4dc7835629b48/kiwisolver-1.5.1-cp315-cp315-musllinux_1_2_riscv64.whl", hash = "sha256:27add358abe374ebaa3b8763ef380bc99051b5a4b18d94878366a9e4f59efef0", size = 1986696, upload-time = "2026-08-28T10:27:34.628Z" }, + { url = "https://files.pythonhosted.org/packages/0e/01/f892644014612527aef7031d3306a2ffc60b3cb044f802c1561f8e5e14f3/kiwisolver-1.5.1-cp315-cp315-musllinux_1_2_s390x.whl", hash = "sha256:255605693a483db7bd5c79f60437f7bf658f7f520d61aa42722e32257c941951", size = 2496400, upload-time = "2026-08-28T10:27:36.818Z" }, + { url = "https://files.pythonhosted.org/packages/32/6d/d8284e66e697026536e5f418b9cfe56567bffd3c775e3ecfbae373605854/kiwisolver-1.5.1-cp315-cp315-musllinux_1_2_x86_64.whl", hash = "sha256:7d38b0c279c3032e8c9cc013b405c6df8e1668dbf15465779aa7f15f61201812", size = 2302967, upload-time = "2026-08-28T10:27:38.803Z" }, + { url = "https://files.pythonhosted.org/packages/46/0a/69a355e27f32ba50d5b6369949b6a1702e122f5277c89bc76d452b81c1c4/kiwisolver-1.5.1-cp315-cp315-win_amd64.whl", hash = "sha256:958254518717542d02d0688d0d20cbf771da5e415e6f49543f92481c850a4540", size = 72283, upload-time = "2026-08-28T10:27:40.491Z" }, + { url = "https://files.pythonhosted.org/packages/ef/d8/7a95be90c33dcdd52204d4aa6384d731443225b887283bbd8b61e7931f6c/kiwisolver-1.5.1-cp315-cp315-win_arm64.whl", hash = "sha256:da3275833be0edbaf4830fae08bae3dc7219f40ce0c37eaa6c25825957e06612", size = 69860, upload-time = "2026-08-28T10:27:41.835Z" }, + { url = "https://files.pythonhosted.org/packages/31/f8/9bc493e7f5707788ba7f621902c68f82dc3a7ba03c78fbd337b026cef1ed/kiwisolver-1.5.1-cp315-cp315t-macosx_10_15_universal2.whl", hash = "sha256:470d420f98d368d6f010633a20659b544c5fdfa5329e6b70219f2ef08fd4a7ef", size = 126336, upload-time = "2026-08-28T10:27:43.379Z" }, + { url = "https://files.pythonhosted.org/packages/d1/82/3aea86b3f99712db825e9ac5631bf99571e818a8b8961ff98cebd798413e/kiwisolver-1.5.1-cp315-cp315t-macosx_10_15_x86_64.whl", hash = "sha256:83f78128fa28705fa85d01c59771c72fe81c11bd0e6155edbb9f818983a7d761", size = 67698, upload-time = "2026-08-28T10:27:44.613Z" }, + { url = "https://files.pythonhosted.org/packages/84/7d/8daafc5d2e7f9c47a4f78f8865d86d2a9cf399c2a85f86c44a993594410c/kiwisolver-1.5.1-cp315-cp315t-macosx_11_0_arm64.whl", hash = "sha256:9506e892bcc3b409831d363c6f53e5985e1c8d1f6f6b0256d00358684ff85378", size = 65945, upload-time = "2026-08-28T10:27:45.932Z" }, + { url = "https://files.pythonhosted.org/packages/3d/c9/51dc974d9130da70a8c47a96160123443d387ffe1b6b833d6f91d9429339/kiwisolver-1.5.1-cp315-cp315t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:cea90547bfd93807e0013a004dc76552be44fad3bc1cc2b38610a9e889ed098f", size = 1588030, upload-time = "2026-08-28T10:27:47.678Z" }, + { url = "https://files.pythonhosted.org/packages/e6/86/f3e1a730e7a995149d8d3ff9e313b6d8a17b2cf1d98a8eff139dc30463fb/kiwisolver-1.5.1-cp315-cp315t-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:e8e4d953faaded9ec7ede36824e9814082d22d4c7b1eafbfa079ecba8cd0d076", size = 1390760, upload-time = "2026-08-28T10:27:49.676Z" }, + { url = "https://files.pythonhosted.org/packages/4f/3b/8ba25a2b5a0d2375e046f1b72de5179513f0be95aba6e7b094c89303929f/kiwisolver-1.5.1-cp315-cp315t-manylinux_2_24_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:7e9c01d3dd7ceba4d1d436cc021d40d592466e40b9bc7f5d83dc4e98a5c9cd8c", size = 1403279, upload-time = "2026-08-28T10:27:51.242Z" }, + { url = "https://files.pythonhosted.org/packages/18/d0/278d5cb8be812740027d5ca0a7eda0c375488a88d6dce0fa60fcc2591ad2/kiwisolver-1.5.1-cp315-cp315t-manylinux_2_24_s390x.manylinux_2_28_s390x.whl", hash = "sha256:37f801b5d7cc0e5a548921308e059fd2b057bb42972b591cfa3049f95423c4ed", size = 1454429, upload-time = "2026-08-28T10:27:53.213Z" }, + { url = "https://files.pythonhosted.org/packages/94/37/bcbab41063ec284c1d200efe5087cf087798c2f8916960aa8a20dd303290/kiwisolver-1.5.1-cp315-cp315t-manylinux_2_39_riscv64.whl", hash = "sha256:e68e151428b5384f766cd25739bf77c7e4a3dc93b5ded7a12118d9fbfdf78ab6", size = 1073225, upload-time = "2026-08-28T10:27:55.089Z" }, + { url = "https://files.pythonhosted.org/packages/cb/c5/ab79dcdf5ae28909a51210ae0a1c579e97ff997b3466414f0d04c0994583/kiwisolver-1.5.1-cp315-cp315t-musllinux_1_2_aarch64.whl", hash = "sha256:8f8fddb8e323bd6eee4e54e69a39243beab22689070f4c66b472c4cc88bb89d8", size = 2334335, upload-time = "2026-08-28T10:27:56.78Z" }, + { url = "https://files.pythonhosted.org/packages/8d/8e/71d047468a189041d9c93f3b76844b924f9793b188c44bd149fa258912da/kiwisolver-1.5.1-cp315-cp315t-musllinux_1_2_ppc64le.whl", hash = "sha256:3cc210010fd2f438a3ed430b45f1b501fd13a8618bf984dc2c5ce5b69b78752e", size = 2424982, upload-time = "2026-08-28T10:27:58.639Z" }, + { url = "https://files.pythonhosted.org/packages/7d/37/1347461bbea6d0e1f0580b94ef603b18e72c2be5f667fa1653867361a00b/kiwisolver-1.5.1-cp315-cp315t-musllinux_1_2_riscv64.whl", hash = "sha256:b5664603a253efd3a75716d793d1d3a6a82723b61dc6db767b2460bbbeec4c0f", size = 2062857, upload-time = "2026-08-28T10:28:00.407Z" }, + { url = "https://files.pythonhosted.org/packages/1f/87/c7f0976c9cd0d127643351bc0c9929e0b8899d7f49d4ec238cd909e39c42/kiwisolver-1.5.1-cp315-cp315t-musllinux_1_2_s390x.whl", hash = "sha256:a7b85b2cc6ea45e5f7e8c9a30bc9fabd47cda09106cbb4b967335c3e6c43b69d", size = 2596022, upload-time = "2026-08-28T10:28:02.183Z" }, + { url = "https://files.pythonhosted.org/packages/e3/9a/59a6f6ae6f938c15076be2c21b6cedea973d71bb1349ec84fa485fab82cf/kiwisolver-1.5.1-cp315-cp315t-musllinux_1_2_x86_64.whl", hash = "sha256:ab620eb663952455271ac37f9aaad86b73c969c02f11f53cea405b38e96a4300", size = 2395634, upload-time = "2026-08-28T10:28:03.977Z" }, + { url = "https://files.pythonhosted.org/packages/e9/2d/8982c1fb7926da5bb7ed60318c3665b5c3f941447271ac982960a11b8637/kiwisolver-1.5.1-cp315-cp315t-win_amd64.whl", hash = "sha256:cb6fae641357ed2f6e533c0d3c6504a4a5703621a50c89459e46051d56b61140", size = 75379, upload-time = "2026-08-28T10:28:06.307Z" }, + { url = "https://files.pythonhosted.org/packages/07/78/ba7b6dfa1708b82b373ac056928a30c545d5c1a627df9839dcec3c6c1881/kiwisolver-1.5.1-cp315-cp315t-win_arm64.whl", hash = "sha256:b390aec180a7c054919c04898835e1c77bced23ea8383eb2c570213bf25d1a86", size = 73011, upload-time = "2026-08-28T10:28:07.578Z" }, + { url = "https://files.pythonhosted.org/packages/a9/c4/1407df7512a5b36cc79840e01710dc575733c461b13ab866cae77eaf87f3/kiwisolver-1.5.1-graalpy312-graalpy250_312_native-macosx_11_0_arm64.whl", hash = "sha256:482676e5bd48d70ac99d9fc78863469845421e01184fa83f1f9366dc49f7e974", size = 134002, upload-time = "2026-08-28T10:28:08.881Z" }, + { url = "https://files.pythonhosted.org/packages/16/45/c37a21ad5c0ab581a93c55ad544721aaa1f0ae94edb29c6a678a23d013e6/kiwisolver-1.5.1-graalpy312-graalpy250_312_native-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:072bdb15a3c19a5b5dbc8f8fb1f4e1884bf4f3507eeb4cc6334401274d37a5c0", size = 194292, upload-time = "2026-08-28T10:28:11.06Z" }, + { url = "https://files.pythonhosted.org/packages/a6/c1/69f00d627949580e43d57af0aa465df46868d7c29801c137a55374101294/kiwisolver-1.5.1-graalpy312-graalpy250_312_native-win_amd64.whl", hash = "sha256:a5a00665d1a0e26763a7338d7e911d4598fbc1d50dd0d6b7919b7dc6c5d6569f", size = 73362, upload-time = "2026-08-28T10:28:12.449Z" }, + { url = "https://files.pythonhosted.org/packages/b5/1d/59ba570b1774e95e97fde3a0981b2e22118a7a495f73bf74cedc538566a0/kiwisolver-1.5.1-pp311-pypy311_pp73-macosx_10_15_x86_64.whl", hash = "sha256:416ba7ff9f233b7036689bb5a3783537e838ad483f63558d2a800f75afe738b1", size = 59450, upload-time = "2026-08-28T10:28:20.383Z" }, + { url = "https://files.pythonhosted.org/packages/22/98/a6849f04dc18b5400e8b98affa2cd8fd86ed583085f036e57b32e571f4fa/kiwisolver-1.5.1-pp311-pypy311_pp73-macosx_11_0_arm64.whl", hash = "sha256:8af9b142ad719ae3a911ebf616bc4b78b32bbab84d6a40d3ad2f129670509957", size = 57400, upload-time = "2026-08-28T10:28:21.632Z" }, + { url = "https://files.pythonhosted.org/packages/f4/ce/a7dc71353dd06a4cbe02222773f52d4a28c81e5a452a75797f8ed113dc99/kiwisolver-1.5.1-pp311-pypy311_pp73-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:5daa1f19e097050b9c4d9a78fcc9263cb96c9dfae08037ddc1b7c4ad1889f2a2", size = 79891, upload-time = "2026-08-28T10:28:22.936Z" }, + { url = "https://files.pythonhosted.org/packages/10/b1/d61c61a84ff85d1a36a99df2c152b59ffedb1d356c598902aba44abcdb60/kiwisolver-1.5.1-pp311-pypy311_pp73-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:cdaeeb6c350106df6bf9d873395973e5f066a9713200b72cd64f55d0a3eafab6", size = 77605, upload-time = "2026-08-28T10:28:24.322Z" }, + { url = "https://files.pythonhosted.org/packages/d3/52/5aef56f21a460a6e43ab3cdfc7697d59d7b87deb0ec97a0f7b91aa4a521b/kiwisolver-1.5.1-pp311-pypy311_pp73-win_amd64.whl", hash = "sha256:17851e5dad4484be0cbccbde3b15331deae036de9aebd45eed964487802b172f", size = 98465, upload-time = "2026-08-28T10:28:25.696Z" }, +] + +[[package]] +name = "kombu" +version = "5.5.4" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "amqp" }, + { name = "packaging" }, + { name = "tzdata" }, + { name = "vine" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/0f/d3/5ff936d8319ac86b9c409f1501b07c426e6ad41966fedace9ef1b966e23f/kombu-5.5.4.tar.gz", hash = "sha256:886600168275ebeada93b888e831352fe578168342f0d1d5833d88ba0d847363", size = 461992, upload-time = "2025-06-01T10:19:22.281Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/ef/70/a07dcf4f62598c8ad579df241af55ced65bed76e42e45d3c368a6d82dbc1/kombu-5.5.4-py3-none-any.whl", hash = "sha256:a12ed0557c238897d8e518f1d1fdf84bd1516c5e305af2dacd85c2015115feb8", size = 210034, upload-time = "2025-06-01T10:19:20.436Z" }, +] + +[package.optional-dependencies] +redis = [ + { name = "redis" }, +] + +[[package]] +name = "lark" +version = "1.3.1" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/da/34/28fff3ab31ccff1fd4f6c7c7b0ceb2b6968d8ea4950663eadcb5720591a0/lark-1.3.1.tar.gz", hash = "sha256:b426a7a6d6d53189d318f2b6236ab5d6429eaf09259f1ca33eb716eed10d2905", size = 382732, upload-time = "2025-10-27T18:25:56.653Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/82/3d/14ce75ef66813643812f3093ab17e46d3a206942ce7376d31ec2d36229e7/lark-1.3.1-py3-none-any.whl", hash = "sha256:c629b661023a014c37da873b4ff58a817398d12635d3bbb2c5a03be7fe5d1e12", size = 113151, upload-time = "2025-10-27T18:25:54.882Z" }, +] + +[[package]] +name = "librt" +version = "0.16.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/04/f5/9dc696772d241814bacac7880bac32f2930b5a6ebc1f85317b83161a011c/librt-0.16.0.tar.gz", hash = "sha256:ac38d6d8d66bf3d744148dbbc0b8e193e195a51e364ed55e224631f5721891fc", size = 219839, upload-time = "2026-09-29T00:55:32.891Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/ba/0e/b04fd2d76b6a78a02286938251b2c119fb36ddece92c76cb4886ef7d44b8/librt-0.16.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:fe4372c52d4849096c6cc1cda2817d293ec51440c890474ed59ef38d46556f18", size = 148058, upload-time = "2026-09-29T00:44:40.903Z" }, + { url = "https://files.pythonhosted.org/packages/a3/fc/e1ed24aadb32d38603c0c07f579d739eb4d90e64e90d525b024e4a999b4d/librt-0.16.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:c72c5295a84bd249526da9bdca38f2e176d15c31c13bb0063c5053f4ca023421", size = 153073, upload-time = "2026-09-29T00:44:42.165Z" }, + { url = "https://files.pythonhosted.org/packages/be/38/133ab655409420e0c34a9a9836a7f4e5ae75fba758d7fe177099130d58ba/librt-0.16.0-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:be56ba9c884143495b517f23fe794ae367d58cd89ea0fdd6d437e3c024a87f9f", size = 493052, upload-time = "2026-09-29T00:44:44.043Z" }, + { url = "https://files.pythonhosted.org/packages/94/42/aaa663bc9421f5bf7bbbe9d3316d7219749698ec7688ac3b519770a89c04/librt-0.16.0-cp311-cp311-manylinux2014_i686.manylinux_2_17_i686.manylinux_2_28_i686.whl", hash = "sha256:ef46c1a29ffb8c72e882e22618ec618778eacd0578fb22c6e7cf9c11d15f357b", size = 485506, upload-time = "2026-09-29T00:44:45.479Z" }, + { url = "https://files.pythonhosted.org/packages/7b/59/83a6eb5087ba8b45b083859e2085256963e06d4c2531944cdd962670bfb5/librt-0.16.0-cp311-cp311-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:d3c94211ee0c4f8d649ec06b7c115c0ec4eadb873a0e3154ca15cef3f814b071", size = 498708, upload-time = "2026-09-29T00:44:46.916Z" }, + { url = "https://files.pythonhosted.org/packages/a0/e4/15a8d62b2bc12935080ec7277e2e0b9b233047781eb784a51d3e25af669a/librt-0.16.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:94aed6a8308818b91677957d1bd03188869cd7aeb23c5dba7912a6c0402f7602", size = 515981, upload-time = "2026-09-29T00:44:48.316Z" }, + { url = "https://files.pythonhosted.org/packages/46/4f/287cc282ac5dd815204c0779e79401bb0a568c3a1335fb319bf0838fb566/librt-0.16.0-cp311-cp311-manylinux_2_34_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:349c0bcb87ebd07481b6ff781e25cdc699723dbe2212e57dabb27f7a13b7b87d", size = 508670, upload-time = "2026-09-29T00:44:49.726Z" }, + { url = "https://files.pythonhosted.org/packages/bf/5b/ab7292add898ade0d2b5b75d32a923aae315861671aa5c39f5491309f7ae/librt-0.16.0-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:001bfd59a7d45b17e3e75f2a8c6405280b35e7b84471792778e718c4f368950e", size = 530393, upload-time = "2026-09-29T00:44:51.356Z" }, + { url = "https://files.pythonhosted.org/packages/7a/9e/8e6bcf027d4bcbc16a4e864b3d158a1d3e5f55ffa53af0238020cad89271/librt-0.16.0-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:28e038895b998d7a0c7798922ce8a1dc157675df5cf1c9ef0aca809ed804b7a1", size = 534302, upload-time = "2026-09-29T00:44:52.893Z" }, + { url = "https://files.pythonhosted.org/packages/96/a4/8c5ab4f3b3a8e905ff8305d76976a2e666f52fe049edd398aed2402beb36/librt-0.16.0-cp311-cp311-musllinux_1_2_ppc64le.whl", hash = "sha256:0dbe4096a7ecc00fa835d24510ad8545a4efef738dac96e0e63516783ccde905", size = 536150, upload-time = "2026-09-29T00:44:54.421Z" }, + { url = "https://files.pythonhosted.org/packages/ea/5e/7c4bc267e3cd4b8bd288de9f62d61fff203829c9cc649ea2aa12e9218cf0/librt-0.16.0-cp311-cp311-musllinux_1_2_riscv64.whl", hash = "sha256:5cd5b092441053364af968ea12084692cb9d4a22f3ce9524e377880bf028761e", size = 514316, upload-time = "2026-09-29T00:44:55.998Z" }, + { url = "https://files.pythonhosted.org/packages/e0/75/c8bc6b50f43c73819334233f5a3259c81216742cef56d2140c3dd377c3f0/librt-0.16.0-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:3ddeb3c9dedb461bb457c6c7d9aa7fbf35329da313d1a7543d00c8d0f3473c96", size = 557731, upload-time = "2026-09-29T00:44:57.581Z" }, + { url = "https://files.pythonhosted.org/packages/93/fb/e241f91bc8de6c7ac1c6a20ea6dd381bc52312b44d711ffcd97140db1e57/librt-0.16.0-cp311-cp311-win32.whl", hash = "sha256:e05108e0849966f53a8d2d3112a7af881d0efaa479bc735bba91108f9f2350a7", size = 104922, upload-time = "2026-09-29T00:44:59.078Z" }, + { url = "https://files.pythonhosted.org/packages/d1/38/c892383d2bb1a6a80b2ec8ede84970a265a792c56614a06282bf3008517c/librt-0.16.0-cp311-cp311-win_amd64.whl", hash = "sha256:5f49cff01bd608ef7d97104cb035c75455e79c2d70bf4a506cf773338ac1860d", size = 125093, upload-time = "2026-09-29T00:49:01.621Z" }, + { url = "https://files.pythonhosted.org/packages/e4/56/8bbde1ed0b21480163617648f638fdaec9374cf5e9c846ebcee34ec02a42/librt-0.16.0-cp311-cp311-win_arm64.whl", hash = "sha256:1d28ae980ae2218f9c5b95d191e947296f918c9bf0b400d467a9430275bbe678", size = 115910, upload-time = "2026-09-29T00:52:40.131Z" }, + { url = "https://files.pythonhosted.org/packages/ad/76/bbdaeb87b7c47b5c7343e90222b9bfa4e4a8a83f647e02933ad0129225b1/librt-0.16.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:fe52bf4641069e7978a14253b036cb9002def1926317e710f2e249f8a8c47742", size = 151028, upload-time = "2026-09-29T00:52:41.508Z" }, + { url = "https://files.pythonhosted.org/packages/fd/0c/ab8ed3dab0085931aec4a792c7eaac8dc6c5ff4691fda3a5360d9d8a9cd2/librt-0.16.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:5bcc2c4726ced915b00de0c9856a4eeabfb3fddb93e10e0b8f735b7709358b6d", size = 155283, upload-time = "2026-09-29T00:52:42.873Z" }, + { url = "https://files.pythonhosted.org/packages/eb/36/494e79d460c80c1f030661e8287c9eca5e1ad652dc2b2180b6cd42abce0a/librt-0.16.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:ff7baa55f8e7c69851419e50a666015d02a74198716fd45c0125a2112e0a389f", size = 503185, upload-time = "2026-09-29T00:52:44.638Z" }, + { url = "https://files.pythonhosted.org/packages/9b/34/a8464038dd9db6e4381fa2b6eb73dc9a50888d77102c4c139304ac35cddc/librt-0.16.0-cp312-cp312-manylinux2014_i686.manylinux_2_17_i686.manylinux_2_28_i686.whl", hash = "sha256:b95d5d92ab83d39e760a52091bb1baba664f3a2351e39b1e16801e5747c2f0e9", size = 496738, upload-time = "2026-09-29T00:52:46.441Z" }, + { url = "https://files.pythonhosted.org/packages/6a/53/e0e5e334ef0c6ed27039d323819368b9ef6712be87d55ee2bf9799398afd/librt-0.16.0-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:b6d085d70bce51d43c5c7c36d63490770180d8779e71c49305c87b4213918de7", size = 513818, upload-time = "2026-09-29T00:52:48.068Z" }, + { url = "https://files.pythonhosted.org/packages/ad/f7/7ce72cbf19d0addd05090b339152fd0548a02562c2866a603e6e3b3da2df/librt-0.16.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:36e53948e99bbe3ffea257124cfcae1cfb01831555c9a9c903c9f9a72db7fd07", size = 531952, upload-time = "2026-09-29T00:52:49.816Z" }, + { url = "https://files.pythonhosted.org/packages/83/22/0b1bcb6a8e723c8b4fd60dfc8ae8ec6461c54073fbc8685efeb8d900d407/librt-0.16.0-cp312-cp312-manylinux_2_34_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:54d11f726aae9df5a6ffbbf0a03a52449bbac84a53ef03669cb41cdfd4ae41bf", size = 524465, upload-time = "2026-09-29T00:52:51.354Z" }, + { url = "https://files.pythonhosted.org/packages/64/2e/e9c23b8b9df1813da1be205deca9606beb7ddd033972246cd426d05374a0/librt-0.16.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:4323193ac0cd025f85af531df8ba91bf24d1973b401697347a6282e8fd3fcf5e", size = 543191, upload-time = "2026-09-29T00:52:53.284Z" }, + { url = "https://files.pythonhosted.org/packages/bc/e5/6a8b21b342c03ed7e230fa3afbfd2edc58e6e87ef1f0d11fa2b9a748c252/librt-0.16.0-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:e42f8e098b9c5396fefa05fb1cc7e33b0e08fc51da106b5de4a45fd22aac6743", size = 546979, upload-time = "2026-09-29T00:52:54.932Z" }, + { url = "https://files.pythonhosted.org/packages/84/9e/b5129023eced1be01e01c22757f53be551d463b1bb7264f787927404c1d6/librt-0.16.0-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:39ec1d5a14e37baf1450a6cabf03fe552340808bf1ad9d71824ab90117716459", size = 555317, upload-time = "2026-09-29T00:52:56.869Z" }, + { url = "https://files.pythonhosted.org/packages/71/89/28bba5938c725fe91f06bf93f7fa6c6b150229df53a87b454b0d5c2a796e/librt-0.16.0-cp312-cp312-musllinux_1_2_riscv64.whl", hash = "sha256:d1aabe3925cbb4a08d15b7b20ba4011b53019da0c4173a25155139b7b1baed65", size = 535846, upload-time = "2026-09-29T00:52:58.475Z" }, + { url = "https://files.pythonhosted.org/packages/22/92/63773026614f888c5d4e370e395ce42ca604b89f70b3acdfedbf94851b80/librt-0.16.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:300c3ffdc459f4a779a8411ecb188e3ac0b1ff3a3a7b099642555dedae06c69b", size = 573700, upload-time = "2026-09-29T00:53:00.127Z" }, + { url = "https://files.pythonhosted.org/packages/66/8f/347d4677eefb57cd9f8e01d95a1dcee9a91b4e44e664173c32ff6f3752e5/librt-0.16.0-cp312-cp312-win32.whl", hash = "sha256:c17194318e4c0c0348b36f36c2ec7534436fe0a4c15582403162a4f08c80797a", size = 106158, upload-time = "2026-09-29T00:53:02.031Z" }, + { url = "https://files.pythonhosted.org/packages/f0/2c/5193dc81127cd5ddfad031391b046bf32dda219b38463ab872407ca30646/librt-0.16.0-cp312-cp312-win_amd64.whl", hash = "sha256:25a58a19ea8d83b68209f04912df765e9260635ef77646542ed4b4abe6bc7940", size = 126176, upload-time = "2026-09-29T00:53:03.445Z" }, + { url = "https://files.pythonhosted.org/packages/ff/3d/9668a400c8dd81d162eba38b33fa49fa6205f1a64493570a13fbb815c3ee/librt-0.16.0-cp312-cp312-win_arm64.whl", hash = "sha256:f7be7cf555bc30ec12622e9447299cc4a9b8ff307548b634794353db0c2065dc", size = 116572, upload-time = "2026-09-29T00:53:04.815Z" }, + { url = "https://files.pythonhosted.org/packages/46/cd/ae5e0e9dba45d1399aa04a5395bcc0bead40d9fa06dc903634a7b4d7473d/librt-0.16.0-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:c5e6144e68b577f157519f2ba88ca20e3ed61c29b00e5cdfa76cd2d45acf059a", size = 151036, upload-time = "2026-09-29T00:53:06.284Z" }, + { url = "https://files.pythonhosted.org/packages/41/5a/48a16e323c5f9447a94cce7b59babf60fa04e62c3365ecf060c77ed8b320/librt-0.16.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:33f41443a1f4e1f099331b3d8120e409fbff84b9760bc1cc9ea496f37ddaa5cc", size = 155211, upload-time = "2026-09-29T00:53:07.72Z" }, + { url = "https://files.pythonhosted.org/packages/3f/29/0f59299eb4251a409b2e690ad4b7d9f8a676db829d7817ec961f32b44f7e/librt-0.16.0-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:7e510b7770bee609617a3374a96548eb114cae048023e3f049ee449e7ff2db32", size = 502587, upload-time = "2026-09-29T00:53:09.191Z" }, + { url = "https://files.pythonhosted.org/packages/de/ba/d6fb4ef8d1537c396079d72289f16be7cd35a366e5065c51253fea2760b6/librt-0.16.0-cp313-cp313-manylinux2014_i686.manylinux_2_17_i686.manylinux_2_28_i686.whl", hash = "sha256:efc49c462d4516b8a58b00b490078fa64689fd1fe66970cc190131d7afb8027e", size = 496146, upload-time = "2026-09-29T00:53:11.016Z" }, + { url = "https://files.pythonhosted.org/packages/52/fc/8c50dd4d7cc97c0ee8f252c8a3104980f234391cf1519b554e8b9de08b60/librt-0.16.0-cp313-cp313-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:92caf82ebef5e12d21c72242b70d1e92536f1711cf2a727a4c276de4b4469087", size = 513336, upload-time = "2026-09-29T00:53:12.655Z" }, + { url = "https://files.pythonhosted.org/packages/a9/59/16c409c56f708eda2db9a0553662845d45e3871c77d70a240dae3f3bdc56/librt-0.16.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:17bac7f7a16b328fff77e440287693eb017abde913595b5827ebccbc21ecd8a6", size = 531689, upload-time = "2026-09-29T00:53:14.39Z" }, + { url = "https://files.pythonhosted.org/packages/88/82/d34772a6c29d1446dcca6e64d74062efd508523ab351aa16625a4689d5cc/librt-0.16.0-cp313-cp313-manylinux_2_34_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:5b976054553670829985ed767feb78fb6bcede0175327c4844dd5c281c1be659", size = 524537, upload-time = "2026-09-29T00:53:16.064Z" }, + { url = "https://files.pythonhosted.org/packages/77/8f/24c5631313746131ccee53bc91fdc8374f9cf25e0082a1fee9c93bb98acc/librt-0.16.0-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:0058f9d68721094105917254c72ac0569117bb7b13b9769cf45d26d89f9d21cd", size = 543231, upload-time = "2026-09-29T00:53:17.939Z" }, + { url = "https://files.pythonhosted.org/packages/f2/cb/5f8e0d41dbd8b499c2265e939c31acc9ba59845565bf99539ad1c06aebcf/librt-0.16.0-cp313-cp313-musllinux_1_2_i686.whl", hash = "sha256:30b7beaf3f4487b7d8adef1f158b49067cb4d5a19fa7a3bf31a4e7a820e435c5", size = 546499, upload-time = "2026-09-29T00:53:19.666Z" }, + { url = "https://files.pythonhosted.org/packages/be/61/063052de441d1385f59cea4223f184bf9e5d125de1ae3239b490aa1e486e/librt-0.16.0-cp313-cp313-musllinux_1_2_ppc64le.whl", hash = "sha256:468df902df016a06eb0e40b0747dc8d14e47d7a38b18b63b1fb167d85cb94d63", size = 555261, upload-time = "2026-09-29T00:53:21.292Z" }, + { url = "https://files.pythonhosted.org/packages/14/11/a2ada0529372268d6401afa9d457a095b68cd7753532b6f7f33049a19b43/librt-0.16.0-cp313-cp313-musllinux_1_2_riscv64.whl", hash = "sha256:aea7b1f2b125dad5de85f049136651bff256c883c65e6b9209b2da0a1ac3cdef", size = 536029, upload-time = "2026-09-29T00:53:23.07Z" }, + { url = "https://files.pythonhosted.org/packages/23/9d/5bb6d38853382986dca702fc7e06c8256d30f5fa0676d882773b744610dc/librt-0.16.0-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:a8afb6557920860b7a3a596eb804cf37e09e7cf8a803db2478c202acc72d8c2e", size = 573748, upload-time = "2026-09-29T00:53:24.696Z" }, + { url = "https://files.pythonhosted.org/packages/99/f6/0025cde35ff7f607684dc775a2b2d732cce2561cec050a6ee1fb2e1fc6fe/librt-0.16.0-cp313-cp313-pyemscripten_2025_0_wasm32.whl", hash = "sha256:77c7a2b4fe2c1369e0d5aa1cade26740a7b14be32fbc9a5535d617d20065c39d", size = 79861, upload-time = "2026-09-29T00:53:26.089Z" }, + { url = "https://files.pythonhosted.org/packages/93/93/303b8592909bd583f83f02818ffbea3f7647ca1e22b1cd5465d04b8145fe/librt-0.16.0-cp313-cp313-win32.whl", hash = "sha256:02d89c813d5ff74b17df72d3a34819d132cd168e56b81bf755b809bd9e46b8c4", size = 106236, upload-time = "2026-09-29T00:53:27.43Z" }, + { url = "https://files.pythonhosted.org/packages/cf/24/80bbb463c60ed18e29cb26aba386ddb76609580e4e7160710e550587018c/librt-0.16.0-cp313-cp313-win_amd64.whl", hash = "sha256:14ed6ebe3e4f85f326d7920011ad30ff49ed9334e62cf88caef9ba973d9e3a92", size = 126180, upload-time = "2026-09-29T00:53:28.7Z" }, + { url = "https://files.pythonhosted.org/packages/43/80/b1a6fbdd7da825cdd55c71aa81eb6cfa82c513c360774152eacb50b4a771/librt-0.16.0-cp313-cp313-win_arm64.whl", hash = "sha256:83d4041a3d9b2fd053a8a4e1f22878b3e5833e2712956382d5c048d791454e91", size = 116557, upload-time = "2026-09-29T00:53:30.012Z" }, + { url = "https://files.pythonhosted.org/packages/1e/93/9e0cf7da129a93c3dc7f45bc3cd4a660f2aaa995aa8a6f95c2583ef41239/librt-0.16.0-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:931a0bb0fcac88f263e269e46eb30ba8e21402cd3c62ca40cb97034c0693fab1", size = 149844, upload-time = "2026-09-29T00:53:31.391Z" }, + { url = "https://files.pythonhosted.org/packages/8f/26/8a90d2a8f2b2e471bb486b7aec117b8ae622715ed6c39853aec48ea20073/librt-0.16.0-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:1bc17e54e5305f8d40b7ca203671ff5a9e59c1d0f8ea0f625dcca53a3984de11", size = 154111, upload-time = "2026-09-29T00:53:32.718Z" }, + { url = "https://files.pythonhosted.org/packages/35/ce/67abb46258da4d3e42ff5b141db6f38c59357bef84c7979f183b22f924f1/librt-0.16.0-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:877698bf6bca5721d8be345f2fe09778e40ecadea8b58c73075f2b1a53666bf2", size = 494234, upload-time = "2026-09-29T00:53:34.466Z" }, + { url = "https://files.pythonhosted.org/packages/12/f9/ea7162414a16f8f1bbd3b493ad6d22b926c5471916e078350bdbca8c4e5f/librt-0.16.0-cp314-cp314-manylinux2014_i686.manylinux_2_17_i686.manylinux_2_28_i686.whl", hash = "sha256:5981c011b306781ce561e18e14230a14524a3d8109b97553666c942c18f31a96", size = 491173, upload-time = "2026-09-29T00:53:36.124Z" }, + { url = "https://files.pythonhosted.org/packages/b1/09/9b3e869060dd33f9989b80ba4fea306f6db8cecefcdfe6d7346ef0603f65/librt-0.16.0-cp314-cp314-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:afced3dfc17cd805ecf7a3d77996a71cf5f2c75aa66eb0c21a9930f4fc992f86", size = 505547, upload-time = "2026-09-29T00:53:37.686Z" }, + { url = "https://files.pythonhosted.org/packages/50/07/79007d2165f649ea93e08c0962d1d62c70af9cde77965255095bf9d96f9a/librt-0.16.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:ca8052401c55d7511dda6760719fda7618067e83535d7d0010096d216c34b667", size = 523057, upload-time = "2026-09-29T00:53:39.301Z" }, + { url = "https://files.pythonhosted.org/packages/61/0c/8fbaff66d0ba376d8864653f5acce1569bae27e89648671f26f7eca67ab8/librt-0.16.0-cp314-cp314-manylinux_2_34_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:1e511762a074005bb0aa569166779834e75e438370226930d0ce1866d4b6a33b", size = 515158, upload-time = "2026-09-29T00:53:41.012Z" }, + { url = "https://files.pythonhosted.org/packages/df/2e/23ff0dece76f07a4124413a57682efa0bbeb5765ac0122bc0955513f82ca/librt-0.16.0-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:f1e8591bd8a5a628cd7f07954c6a1592359a878bf032957a8e9057a41d644311", size = 534183, upload-time = "2026-09-29T00:53:42.451Z" }, + { url = "https://files.pythonhosted.org/packages/26/c4/e11dea21d9a29486eba78887380374189d472734fa32cc50cb37ca44d3d0/librt-0.16.0-cp314-cp314-musllinux_1_2_i686.whl", hash = "sha256:a4aaefb4ba6c07e1aeebb2795c8958148f1d6f9af3b555b53d23d766edb6d67a", size = 540663, upload-time = "2026-09-29T00:53:44.272Z" }, + { url = "https://files.pythonhosted.org/packages/44/75/e873ae158a8b7f5359be33e7fd6c1fbe02d9a78a3e89a77de6b0e837f476/librt-0.16.0-cp314-cp314-musllinux_1_2_ppc64le.whl", hash = "sha256:d92db7a0f6aee44f1baee94750457e8d2d1c6ccea41842de6268d34e8dc7eddd", size = 545908, upload-time = "2026-09-29T00:53:45.812Z" }, + { url = "https://files.pythonhosted.org/packages/ba/36/8939d3f6a93e11bd9592e6fe28d2b44f1c2dc4bed6e22e72359a91e18ffb/librt-0.16.0-cp314-cp314-musllinux_1_2_riscv64.whl", hash = "sha256:378dfaffb38e59c24a87cde5713cd865d51ff7383fa12947f3907f306ea1ca55", size = 523302, upload-time = "2026-09-29T00:53:47.596Z" }, + { url = "https://files.pythonhosted.org/packages/71/14/35309f44a077f0f42ade0e2e7cd88c0cea760c661af205c01ea90d3c0e1f/librt-0.16.0-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:3e0c39bdc85370422e8b637be76eb1fd07d30967551b03e62267dd156f553152", size = 565911, upload-time = "2026-09-29T00:53:49.278Z" }, + { url = "https://files.pythonhosted.org/packages/78/0c/df6255b94967f3159ebc46f08d8e783c12da6ee269ddb74b2efed63c640c/librt-0.16.0-cp314-cp314-pyemscripten_2026_0_wasm32.whl", hash = "sha256:1b384b90ab79a7bc30b566895809a636e0666f21f3cf12b54823d025b7e83839", size = 79119, upload-time = "2026-09-29T00:53:50.938Z" }, + { url = "https://files.pythonhosted.org/packages/6b/44/d30d5a5461378c9d33f36736c6791c3b4c4ba4b1ffe0da7350aedcb2c9a0/librt-0.16.0-cp314-cp314-win32.whl", hash = "sha256:52327da75a94012e7f932f913d20d3876bed3c102be00e6c3e8600ff7bdd58a7", size = 100140, upload-time = "2026-09-29T00:53:52.205Z" }, + { url = "https://files.pythonhosted.org/packages/c2/98/769712f356a1e897df3581bb0c3100375d054a000de26099360ea65b5111/librt-0.16.0-cp314-cp314-win_amd64.whl", hash = "sha256:3f0b8114c44b2ac06ff5dacd08e07e8e807ff4f46083f2a1602685122559be41", size = 120464, upload-time = "2026-09-29T00:53:53.495Z" }, + { url = "https://files.pythonhosted.org/packages/bf/d3/ae2abccc8bdc8b063c1613a77686e17b74e9d3d60cfe6f12c63fa2821b9f/librt-0.16.0-cp314-cp314-win_arm64.whl", hash = "sha256:8caf96a4ef8fb27d0ac0d1ad8337d26a240acd4a02fe4345d0a8f264753e8f99", size = 110889, upload-time = "2026-09-29T00:53:54.817Z" }, + { url = "https://files.pythonhosted.org/packages/e4/26/0737d4be058dd6376eade7dd8b380d4b869b6394cee929393a5a431c45bb/librt-0.16.0-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:953107e2f68d0f3512c48f898b0dbf0ce5cc52bba0f318d847c985dc555ee4cc", size = 159838, upload-time = "2026-09-29T00:53:56.22Z" }, + { url = "https://files.pythonhosted.org/packages/01/96/9bc96531d7c620e9949af904470f02e3fa8f35129ab8e8f281c51eaa3788/librt-0.16.0-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:ad37d5b9abd49c9a655dcda7ea52a8a752884062ef1ee71ae17c2f2a0f81fe6a", size = 162018, upload-time = "2026-09-29T00:53:57.532Z" }, + { url = "https://files.pythonhosted.org/packages/0e/fa/b0289dcb186eb3f97221ba00da5f4bd3ba7fa5e99752d48aa8d336615334/librt-0.16.0-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:2c4aa329c17bd1aaea4f6e89335d8ccd494b3a5830b6654462273e50e11023f0", size = 703983, upload-time = "2026-09-29T00:53:59.024Z" }, + { url = "https://files.pythonhosted.org/packages/d9/ab/05ebbbde7530fc5eeb58fbd1581522a9f64f132fa703c4c595eed6e14760/librt-0.16.0-cp314-cp314t-manylinux2014_i686.manylinux_2_17_i686.manylinux_2_28_i686.whl", hash = "sha256:0ead24d2562a49473dddd9efef8581f020007eb0054389c3ee3ffad38b1ca4c9", size = 683847, upload-time = "2026-09-29T00:54:00.671Z" }, + { url = "https://files.pythonhosted.org/packages/a3/75/f52aeecd4dbadbddf80725ba7de126d8bd5d0eb66247eae17a81ed90dd4d/librt-0.16.0-cp314-cp314t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:02118f56a9c36ddd07dfd9b919d9ecc117ba20a90987d56aa4c429fa34509188", size = 698045, upload-time = "2026-09-29T00:54:02.247Z" }, + { url = "https://files.pythonhosted.org/packages/e6/55/fa277a835cd6eb42380591ceb85f48c5b4d2b2d7e2cb9869e1e17d24d237/librt-0.16.0-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:4e29522c62e28595ff7e324c6834ade51127707f0e255b18d1c1cf03d39c1048", size = 724640, upload-time = "2026-09-29T00:54:04.078Z" }, + { url = "https://files.pythonhosted.org/packages/25/e4/2cf64354f3fde8ebd591b3b48f96510bee24ac5f7d1e567adbbe210abdbd/librt-0.16.0-cp314-cp314t-manylinux_2_34_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:3ff4b2367926b69c6215635902cccb04048e73094e9862900d27cb2c6bbff143", size = 731748, upload-time = "2026-09-29T00:54:05.741Z" }, + { url = "https://files.pythonhosted.org/packages/f8/c9/c180af3e94e01aa529fa93d7733fec2abc47f222345400cf21d5481d5f8a/librt-0.16.0-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:c6f1b27bf1632a7e016af9f145f82be95e1edd7721a646505c21059257cb5a04", size = 754960, upload-time = "2026-09-29T00:54:07.38Z" }, + { url = "https://files.pythonhosted.org/packages/95/d6/01073aa78c58f356b10d9c57b3fe9abb143df338142bcd316df417b89db0/librt-0.16.0-cp314-cp314t-musllinux_1_2_i686.whl", hash = "sha256:5696d7f52e7b37217cb3a8f92c744fe835942602fdd4c1a8bc4741d3bfdce15e", size = 747000, upload-time = "2026-09-29T00:54:09.06Z" }, + { url = "https://files.pythonhosted.org/packages/f7/d8/1de3783908658d697a8cfc00582f61299ffba7796d7260c112e4700b1109/librt-0.16.0-cp314-cp314t-musllinux_1_2_ppc64le.whl", hash = "sha256:6072e92dd876ff6ceeb6cf371e35e51f479349837391341f479b08df4564242b", size = 749569, upload-time = "2026-09-29T00:54:10.702Z" }, + { url = "https://files.pythonhosted.org/packages/b7/32/e817f66c96d6caa8bb8435ff93c4c220624d59efc506be59ab98fcd01d0c/librt-0.16.0-cp314-cp314t-musllinux_1_2_riscv64.whl", hash = "sha256:39ca4f2f2fe05de8e63493da592d84311adabe5bef52b193851981da9816b302", size = 729483, upload-time = "2026-09-29T00:54:12.25Z" }, + { url = "https://files.pythonhosted.org/packages/7c/c9/23992ccd2b9d22798fdd0f61353183a47414e651da782ad83eb680f50833/librt-0.16.0-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:f9807485a908f00355820f18e91e045ffdcdc5adb68aaec40a1e2b88c5f7bba1", size = 776584, upload-time = "2026-09-29T00:54:13.837Z" }, + { url = "https://files.pythonhosted.org/packages/67/3b/e8af957f08e6e2e8e566b099e43d2748418aa565df6ee1d9d3331209fdfe/librt-0.16.0-cp314-cp314t-win32.whl", hash = "sha256:94be5cb7bca4df6201f4183e9e4fa2086c655283d20b38cd84500a69057575a7", size = 104402, upload-time = "2026-09-29T00:54:15.568Z" }, + { url = "https://files.pythonhosted.org/packages/ca/1c/946e6443d7cd32347a086043395e421e52fd603c9163d2ec970ceab8eed6/librt-0.16.0-cp314-cp314t-win_amd64.whl", hash = "sha256:d46ca272b251d033dd4527b0dec5f261a28a52bd5fa0f99c117b0a1f8588cc2d", size = 126227, upload-time = "2026-09-29T00:54:17.165Z" }, + { url = "https://files.pythonhosted.org/packages/c2/a3/bc4f9959d3c62bcbf9e5fd3470a8bbd8bf33224ed4c25d7fba173201b8ac/librt-0.16.0-cp314-cp314t-win_arm64.whl", hash = "sha256:b9d6d4b14e92d876f8026b54c20c445f36425214c1081dc76f74e40db386b82b", size = 116493, upload-time = "2026-09-29T00:54:18.567Z" }, + { url = "https://files.pythonhosted.org/packages/b6/4b/10fdb42dfab4c1533e1570e686b18e86ff4328b406361b39fb3016667638/librt-0.16.0-cp315-cp315-macosx_10_15_x86_64.whl", hash = "sha256:6fe436af2eaf630474f491af5d032cbe45f93fcff5c3b9fe4ab194a7255b20ff", size = 149829, upload-time = "2026-09-29T00:54:19.933Z" }, + { url = "https://files.pythonhosted.org/packages/8e/30/a90ca13f1d3d91af1680000a4038536907018fbd51764767287a05d28b8b/librt-0.16.0-cp315-cp315-macosx_11_0_arm64.whl", hash = "sha256:8ff5d26c529336be9bd7ae04483235d77778ee7d6444a95353102b542601ce81", size = 154522, upload-time = "2026-09-29T00:54:21.306Z" }, + { url = "https://files.pythonhosted.org/packages/5c/dd/bcf364eacfa070bb1fc88d503111ae7177914197ba1fa717c748926e7930/librt-0.16.0-cp315-cp315-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:909d8e3c1faee44cb762b1c519ff8613dcc5ceae5c99987a00917b5a31fd1d6a", size = 497593, upload-time = "2026-09-29T00:54:22.798Z" }, + { url = "https://files.pythonhosted.org/packages/18/c1/2c4e81e347bdabfe8346bfc6dc37ae5e154d61c88e30848ec0606025a5e0/librt-0.16.0-cp315-cp315-manylinux2014_i686.manylinux_2_17_i686.manylinux_2_28_i686.whl", hash = "sha256:6d4a64283ee61824b5790de882bc68e2d9d7a5143537cb7a966f7354f71646d4", size = 480459, upload-time = "2026-09-29T00:54:24.364Z" }, + { url = "https://files.pythonhosted.org/packages/ab/d7/fef2a3cb8400701be496f6e459876f650b3451f407e30cb243de571ae615/librt-0.16.0-cp315-cp315-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:5810ba811297fdf37a1531a57667cb8ace0842013ca8606bf9eb7c24cf4be154", size = 507814, upload-time = "2026-09-29T00:54:25.997Z" }, + { url = "https://files.pythonhosted.org/packages/e1/6f/53762927a32e9dc9eb1d1c1f3528da281290c86d96929a8af652f671266e/librt-0.16.0-cp315-cp315-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:e56aaf8c167548dc8e5d6f3bd0f48dcdd299a23c73be3f744aab79d99e9c7f5d", size = 525114, upload-time = "2026-09-29T00:54:27.747Z" }, + { url = "https://files.pythonhosted.org/packages/6c/67/0b9d031f303c4e8c691a9a8ef9d272f13b530c11cc563b819df621b6a348/librt-0.16.0-cp315-cp315-manylinux_2_34_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:8f36c58e33b304b525c6c9c5076399c6ebf1109e17b9051a05a407b091b9215b", size = 520465, upload-time = "2026-09-29T00:54:29.331Z" }, + { url = "https://files.pythonhosted.org/packages/ae/d5/2056a3a85864e882eb17a203a10ddb26fa748bc9718ec67e79059ab46cae/librt-0.16.0-cp315-cp315-musllinux_1_2_aarch64.whl", hash = "sha256:242e00b3d4fa37c3d3c1ca5f5c9adb7d909ddb1eac9c41f2787320d00caa0af2", size = 537257, upload-time = "2026-09-29T00:54:30.915Z" }, + { url = "https://files.pythonhosted.org/packages/54/57/e0d79790c163cbc0909e209a6f62e30bb713b647f905a176cdc64848fd4d/librt-0.16.0-cp315-cp315-musllinux_1_2_i686.whl", hash = "sha256:0253721561787b8df8443eb347b7a6461015354e5bdd37ee38a41fef220d2bb0", size = 527442, upload-time = "2026-09-29T00:54:32.478Z" }, + { url = "https://files.pythonhosted.org/packages/aa/50/1c0c95aba7af51f4752ea34fbf2eb79b36e7cae3a72536248e8c735de735/librt-0.16.0-cp315-cp315-musllinux_1_2_ppc64le.whl", hash = "sha256:3e483a8d69ede8067db70c0e83007423b6925de6fd53afed01d66160f2e9398c", size = 548139, upload-time = "2026-09-29T00:54:34.183Z" }, + { url = "https://files.pythonhosted.org/packages/98/91/a8a43dd5138d4f55f88846b8f0c85454a4fad69952cebfcff9948f831290/librt-0.16.0-cp315-cp315-musllinux_1_2_riscv64.whl", hash = "sha256:69ba927445cfaaffb4081003ef5224c55a5c2ab67ef956f416ef744916e44121", size = 529708, upload-time = "2026-09-29T00:54:35.761Z" }, + { url = "https://files.pythonhosted.org/packages/2d/41/d5226881ab2b7c20d9d587b37bdd4a0ec8775a96d00ca87ac9f385587db4/librt-0.16.0-cp315-cp315-musllinux_1_2_x86_64.whl", hash = "sha256:d6a365f2ab45a984d0e00eee0dd17f599ceab8cadab6ea07b6111c8132fc0e42", size = 567781, upload-time = "2026-09-29T00:54:37.409Z" }, + { url = "https://files.pythonhosted.org/packages/bb/bf/2345ba57a626e8c78c4ddcc724636a8df5a593fe46c1ee76bbf477e32b0d/librt-0.16.0-cp315-cp315-pyemscripten_2026_5_wasm32.whl", hash = "sha256:f01f3805f2dae4781c0c34b440e31740d082950bdaf89a6f601ad589a28af57a", size = 79177, upload-time = "2026-09-29T00:54:38.792Z" }, + { url = "https://files.pythonhosted.org/packages/1e/40/99e77936cc9207f629b077bf7cbc5e2f0827cddd7c29792f04ef881bd2c3/librt-0.16.0-cp315-cp315-win32.whl", hash = "sha256:b0e3e721c75d2e79a76d4422c79d7ba705fe1bbafec907037fe7a657a480a0e3", size = 100127, upload-time = "2026-09-29T00:54:40.251Z" }, + { url = "https://files.pythonhosted.org/packages/56/1e/801fe26bc622061b9dfd010e166d94142cb774b733217e6d98d1c0cf2638/librt-0.16.0-cp315-cp315-win_amd64.whl", hash = "sha256:bc02954b1295de798bbdb0b4e2d8a28c2117de8b5c73dcbeb27dc32572dfb971", size = 120480, upload-time = "2026-09-29T00:54:41.722Z" }, + { url = "https://files.pythonhosted.org/packages/bb/a9/d533983055bd36e112627384c2c038845d1df882540b8bcefb566475640b/librt-0.16.0-cp315-cp315-win_arm64.whl", hash = "sha256:c5db585d43449a5f54303d4b2774e45e1babd975cfe1630a3d708c0b80c3e560", size = 110915, upload-time = "2026-09-29T00:54:43.052Z" }, + { url = "https://files.pythonhosted.org/packages/55/fe/d62238fa9c653b0e0613290349467cb65711b5800e8e474f45e942a0ad95/librt-0.16.0-cp315-cp315t-macosx_10_15_x86_64.whl", hash = "sha256:f06c689cb14afd9b612727553a5ec5a40febf113ca41c4413a2b0b334285884b", size = 159714, upload-time = "2026-09-29T00:54:44.497Z" }, + { url = "https://files.pythonhosted.org/packages/f3/ac/f31efe7818700be72ba4f9af8a80fa67c39808c8d26dacc55dc1f6f35172/librt-0.16.0-cp315-cp315t-macosx_11_0_arm64.whl", hash = "sha256:13b4e8aba90b0b1c82474e9844aa9ffe7ad3faa484350e1da64cb8188d903134", size = 162086, upload-time = "2026-09-29T00:54:45.968Z" }, + { url = "https://files.pythonhosted.org/packages/d9/16/4d7487bf86a9d7e8e18f37ba5538789233ea693637379b75701bd35ec9de/librt-0.16.0-cp315-cp315t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:5a269c46ae327d8e6f8c1f85f7516cb52c0fa48127565a1105a4f4a05ff2a0b4", size = 712727, upload-time = "2026-09-29T00:54:47.486Z" }, + { url = "https://files.pythonhosted.org/packages/77/74/50cd550ccc1a517b9ed62347625c01ddf8c4afad66490312677c011458f6/librt-0.16.0-cp315-cp315t-manylinux2014_i686.manylinux_2_17_i686.manylinux_2_28_i686.whl", hash = "sha256:a33e0dae1f8592146a4764d54ce842b278732d21a84e17c3bbe6b1bc158a2248", size = 681106, upload-time = "2026-09-29T00:54:49.126Z" }, + { url = "https://files.pythonhosted.org/packages/df/5d/7293f712975ee6fdd2251411fd9ef1c62bc99c7b83ecbe62dbc999b1fab7/librt-0.16.0-cp315-cp315t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:47ada6ea32636492c61aa8ad27ae3b9404bfe7a97e3ba946d1984236cc741da0", size = 705921, upload-time = "2026-09-29T00:54:50.905Z" }, + { url = "https://files.pythonhosted.org/packages/67/f7/8aab946f11d59d1bece9ffc65d994b200c789a8ca5a95c17e17e609f912a/librt-0.16.0-cp315-cp315t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:c43bd6e642d8a248c114327f98dd25ac5a7cb5aa168ef02f0559b91874df16b8", size = 731786, upload-time = "2026-09-29T00:54:52.584Z" }, + { url = "https://files.pythonhosted.org/packages/43/76/1c42ab31e7cb8384ebf6d3af607213c495222474f4940443ae7639ab7685/librt-0.16.0-cp315-cp315t-manylinux_2_34_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:c3d1bb7841a816ace6449bb26d3f9560dbfa20e71c568d23f0f62bf1e68f50b1", size = 744964, upload-time = "2026-09-29T00:54:54.217Z" }, + { url = "https://files.pythonhosted.org/packages/6f/2e/4b19982d933d2dfced671e840b219e4c1cd3f507df6e6dabb51bbd4e3850/librt-0.16.0-cp315-cp315t-musllinux_1_2_aarch64.whl", hash = "sha256:3931f7a3db322e7f44e02a280e3949326ce9579ad388ee8d691dc7c76da9fb70", size = 765305, upload-time = "2026-09-29T00:54:55.815Z" }, + { url = "https://files.pythonhosted.org/packages/b8/1b/e872583de2dcb3ac7746e7a2321aeeb168274f3952a87dc66e05ddb29faf/librt-0.16.0-cp315-cp315t-musllinux_1_2_i686.whl", hash = "sha256:f4462528b6000afe8f16907b5c7c2553abf1df005ba5140e6eb394541c3624c3", size = 744959, upload-time = "2026-09-29T00:54:57.532Z" }, + { url = "https://files.pythonhosted.org/packages/10/de/a18c6bcfb297af2674233e90b3c3661c3a0af0f1434a0c966d2ef708a835/librt-0.16.0-cp315-cp315t-musllinux_1_2_ppc64le.whl", hash = "sha256:80039ba9b6a7d5f1a0175a4cca6bbefead87bd854c80abad1cb30afe47a830db", size = 758138, upload-time = "2026-09-29T00:54:59.484Z" }, + { url = "https://files.pythonhosted.org/packages/22/1c/0df1d732539c297bb1a093e1fe3204d2faf76a9022cf4e1d1c2fce059790/librt-0.16.0-cp315-cp315t-musllinux_1_2_riscv64.whl", hash = "sha256:7a1d272724b581bb6bc769dfdafed6da2ecc9886ba2450311de55a4ac2e1e9cd", size = 744268, upload-time = "2026-09-29T00:55:01.179Z" }, + { url = "https://files.pythonhosted.org/packages/a2/f7/ccaf31331f20c91a5bd9bd48ffc3f743f9c81bb5720cc7b2a720ca204f0a/librt-0.16.0-cp315-cp315t-musllinux_1_2_x86_64.whl", hash = "sha256:fbe4fb8c5445f7496d7f7f6bb0807875d09d47e6771ffa175fb2df2895fb86ba", size = 785783, upload-time = "2026-09-29T00:55:02.938Z" }, + { url = "https://files.pythonhosted.org/packages/c1/ea/7421d9e6db894cd6cd788b604b3394a163ded6b942052b6f96c23ccf08e1/librt-0.16.0-cp315-cp315t-win32.whl", hash = "sha256:375bfe6b572a8f6cfc398709356046173bf27e64c4c5edaf5f7062f051fb4bf9", size = 104355, upload-time = "2026-09-29T00:55:04.533Z" }, + { url = "https://files.pythonhosted.org/packages/85/6d/7c31a506eb847bc58aeb2402d58e17605e821f68ab5df5e66fe274a6df41/librt-0.16.0-cp315-cp315t-win_amd64.whl", hash = "sha256:bd3150023d3dc2bc70f3784e59ffa1140d56ddba3d8125b3d6f9f85221279bfc", size = 126134, upload-time = "2026-09-29T00:55:06.017Z" }, + { url = "https://files.pythonhosted.org/packages/36/69/7a5d10ac409c4da0355e054a14371871da9b5557fcc42772cd00181c6cce/librt-0.16.0-cp315-cp315t-win_arm64.whl", hash = "sha256:8ceafb70f2a4f0826f11031942e59c0728fd98da112dc346d4352bde1e486866", size = 116391, upload-time = "2026-09-29T00:55:07.484Z" }, +] + +[[package]] +name = "markdown-it-py" +version = "4.2.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "mdurl" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/06/ff/7841249c247aa650a76b9ee4bbaeae59370dc8bfd2f6c01f3630c35eb134/markdown_it_py-4.2.0.tar.gz", hash = "sha256:04a21681d6fbb623de53f6f364d352309d4094dd4194040a10fd51833e418d49", size = 82454, upload-time = "2026-05-07T12:08:28.36Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/b3/81/4da04ced5a082363ecfa159c010d200ecbd959ae410c10c0264a38cac0f5/markdown_it_py-4.2.0-py3-none-any.whl", hash = "sha256:9f7ebbcd14fe59494226453aed97c1070d83f8d24b6fc3a3bcf9a38092641c4a", size = 91687, upload-time = "2026-05-07T12:08:27.182Z" }, +] + +[[package]] +name = "markupsafe" +version = "3.0.4" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/38/9b/e422a865e1d5d57d0e509b4e0bf1c1a70a7f6382c29a5aa428df994c8bc8/markupsafe-3.0.4.tar.gz", hash = "sha256:2e9ad7dd851bf45fab9f75cbff4cb493fee9979e8d8c7c9c3ee119022518edd6", size = 153777, upload-time = "2026-10-02T23:07:22.29Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/32/55/18dbb4778b30ada5ce071608503cc3edc9e14e13d868c17a6d178fc30f7a/markupsafe-3.0.4-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:9e25feb9e330b63edb0278a0acdf85e50d0cb0fbf49c3084abbe4e24ae195346", size = 11520, upload-time = "2026-10-02T23:04:36.299Z" }, + { url = "https://files.pythonhosted.org/packages/6c/14/0b05f79b4733e264a18d08fe08fa1df7347630ff32a6cb82180d9dccec55/markupsafe-3.0.4-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:7d3391b2188d18737cb2fa147028b1096236eaa7e156446c650a489fa2cadc91", size = 12063, upload-time = "2026-10-02T23:04:37.291Z" }, + { url = "https://files.pythonhosted.org/packages/ca/3a/63ba10b6c1463216b3e4df669a9f0e5a3b0c3071557d2e8229e3968c79fb/markupsafe-3.0.4-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:849dd2bb0e5e4ab2b71c7191726a4a8d5aa8a610daa584728cbee0b710ddc4ef", size = 24321, upload-time = "2026-10-02T23:04:38.262Z" }, + { url = "https://files.pythonhosted.org/packages/1a/2e/5f015261b76ad633d187ef6f388b413aedd64a8773c4df59e530a0be5525/markupsafe-3.0.4-cp311-cp311-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:befb4158af32106b9a93db8d6d1d1cbbd418c0d5aca0cabb7b1780abf0c89169", size = 28845, upload-time = "2026-10-02T23:04:39.295Z" }, + { url = "https://files.pythonhosted.org/packages/33/cf/26e594b26be40c2f1fec63ccf8a8b99d0335a5b2cbe84835c7d82a994375/markupsafe-3.0.4-cp311-cp311-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:71f88e749ea29f67f21f3b36433c1dc54c7729ed2a6d9e2da2e0d9e0d7b224eb", size = 24701, upload-time = "2026-10-02T23:04:40.348Z" }, + { url = "https://files.pythonhosted.org/packages/81/a5/a513b76c139a3915b43404324e55c0b7979ae4f0d39eb6f075b0282e90a8/markupsafe-3.0.4-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:6da83a088f8ef93b2d483a8232a4dbf4d69d3d8496b568a03c56becac43e1808", size = 22961, upload-time = "2026-10-02T23:04:41.372Z" }, + { url = "https://files.pythonhosted.org/packages/46/cf/4c66192c100b4542bcbe392ae06696b670f66927be3ac38a213234778ff9/markupsafe-3.0.4-cp311-cp311-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:8f0fac8b13d14bb06c68195f849371924ae53dd7b1c00fed24650f704383b692", size = 21920, upload-time = "2026-10-02T23:04:42.429Z" }, + { url = "https://files.pythonhosted.org/packages/cb/17/ac3662678bfbad649893117ada2ba44dc30bf56884e84f13154a792b10f1/markupsafe-3.0.4-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:4a7cdc2a420ca01058182da4253329764d4bfa055564d1eced90e6ba1e8b1d3d", size = 23726, upload-time = "2026-10-02T23:04:43.531Z" }, + { url = "https://files.pythonhosted.org/packages/f7/af/fe47cee339180a69ebca3c57fb3483d0f5cbd1e8337d1871fb1d9c1aebee/markupsafe-3.0.4-cp311-cp311-musllinux_1_2_armv7l.whl", hash = "sha256:83b3944fea42a8400edf92fd1770fb8d0d4f7de651353bd2d8525a92dba69a21", size = 22539, upload-time = "2026-10-02T23:04:44.618Z" }, + { url = "https://files.pythonhosted.org/packages/12/32/d55440ba140442800e02d799c9cb5ab597bf6ebdb1177b5ea39a11f797bd/markupsafe-3.0.4-cp311-cp311-musllinux_1_2_ppc64le.whl", hash = "sha256:8138eb83940ec7299024d92d4dee45f601b9e6c5ffde9d25f4e35e326203c707", size = 23963, upload-time = "2026-10-02T23:04:45.656Z" }, + { url = "https://files.pythonhosted.org/packages/50/9d/9c86042cb364c2ad4c971e6d1247929effd25f714cd7ee11b05e6316445b/markupsafe-3.0.4-cp311-cp311-musllinux_1_2_riscv64.whl", hash = "sha256:811d02d5122171c1941357efd8f9bf4ffe907b7f0a1a4e729a880e4be3f46e3e", size = 21506, upload-time = "2026-10-02T23:04:46.671Z" }, + { url = "https://files.pythonhosted.org/packages/75/ef/5b824f03ba40c3b3652b6272d083d2fc4fcdd440de519a3a39ba2c3e7262/markupsafe-3.0.4-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:50b5bedc9ed8a94fc8857a42ef4f84a81ea88f8d4f05dc8705fb23ee6d8dcca7", size = 22955, upload-time = "2026-10-02T23:04:47.698Z" }, + { url = "https://files.pythonhosted.org/packages/1e/e8/44cfcb5ea40e5e43cec7793ef90704ed0c475280839076c4345757eb8e59/markupsafe-3.0.4-cp311-cp311-win32.whl", hash = "sha256:2e5a7cd7fdd14fcb1ae5d7d8bf23d24fbd1daefd1fbca2580132e1ea75f098b5", size = 14094, upload-time = "2026-10-02T23:04:48.788Z" }, + { url = "https://files.pythonhosted.org/packages/91/89/f2b509f7bf79352e40117824c1070dbeafd4df67031d3fa98165a3134228/markupsafe-3.0.4-cp311-cp311-win_amd64.whl", hash = "sha256:fdb4ca07ab75ffadab4a8b135ad59cdbb3156b99310f3d565370da74a15d6bd3", size = 14328, upload-time = "2026-10-02T23:04:49.801Z" }, + { url = "https://files.pythonhosted.org/packages/2b/5a/ccf22672a0f64dc682306e288f0dabcb06c7a201f3bb6e6cbf86d9e8ad03/markupsafe-3.0.4-cp311-cp311-win_arm64.whl", hash = "sha256:569d65055d367e3dcdf30c3f41119467b73d9ee9faf332bdf40402644f5ac08e", size = 14188, upload-time = "2026-10-02T23:04:50.847Z" }, + { url = "https://files.pythonhosted.org/packages/81/09/4c59d56b8461ae8eb0d8ba34bb25b7e618547044679d58a82ef9b2479fc1/markupsafe-3.0.4-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:61631e08084be9e21a8967ec3139c7616ed7c5e9368e05c86d1b39562c8a57b6", size = 11658, upload-time = "2026-10-02T23:04:51.876Z" }, + { url = "https://files.pythonhosted.org/packages/a2/f0/d6613774d86fbf6d145751d43c59875e47a6f9f17daee0aef173bd36d90e/markupsafe-3.0.4-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:0930db9bdc62d22944e10b066448bb65dc9abe9112880c7cab8da54db4284d5f", size = 12050, upload-time = "2026-10-02T23:04:52.931Z" }, + { url = "https://files.pythonhosted.org/packages/0d/f2/8f18e0b806eb13c1f8d07d917a720831ead54253a6dec011fbc78098a6f8/markupsafe-3.0.4-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:6a45c3d514f2436064db00d7fc8778d888f0236ebfed649b53d13a59e69ad51b", size = 24363, upload-time = "2026-10-02T23:04:53.895Z" }, + { url = "https://files.pythonhosted.org/packages/60/ce/fa07dbe8a5675558fa36dea033e19995bc783de2dec5f540ccb9030b06aa/markupsafe-3.0.4-cp312-cp312-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:1e1451fab512d1bcc3dc26988ec1edb0b82c2db909132872cd9356070a6b63df", size = 28525, upload-time = "2026-10-02T23:04:54.905Z" }, + { url = "https://files.pythonhosted.org/packages/85/40/be87c01f3868ec217f8a2015089d71c22c8c5a75324822e5ed1cdd87210d/markupsafe-3.0.4-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:bd3ce56ae2cbae3ba82b683bc425cd7e48d2ed8b10f3e818186b6f5646d9271c", size = 24733, upload-time = "2026-10-02T23:04:56.229Z" }, + { url = "https://files.pythonhosted.org/packages/4f/a7/aeedb5140afa41fc74c225e9184ab96723a6e873b6ee1c9fede7283456d8/markupsafe-3.0.4-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:8e124f974786f831d6043728e38296969d3579db8896fe004682f5758e613581", size = 22985, upload-time = "2026-10-02T23:04:57.521Z" }, + { url = "https://files.pythonhosted.org/packages/c3/fc/e91352bb08c6a59da3ef0909d457bf95a5f5908fbf151b30a06d9dbcfbb4/markupsafe-3.0.4-cp312-cp312-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:c02e8f18bdedba082cef725942ac823b9b60656db07f7e265cb31618dfd00d77", size = 22001, upload-time = "2026-10-02T23:04:58.597Z" }, + { url = "https://files.pythonhosted.org/packages/5d/f8/bffee5e7d2a3deb59748a797650a48af7e672025cf641a79344a771ad106/markupsafe-3.0.4-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:9f098115c247e11d138ab83a28fa0323c77015007ea2df73ba5fd714dfefd67c", size = 23793, upload-time = "2026-10-02T23:04:59.686Z" }, + { url = "https://files.pythonhosted.org/packages/ed/59/b853d6628ecb4d658e1d637224846d5e9bb4adf4f8df97f3be9f29dce2ec/markupsafe-3.0.4-cp312-cp312-musllinux_1_2_armv7l.whl", hash = "sha256:d5f93ebbeb8032d47e349328ec8662d973d9b05a70b3c35df1f91fe419b84749", size = 22640, upload-time = "2026-10-02T23:05:00.768Z" }, + { url = "https://files.pythonhosted.org/packages/09/b2/1506df394f0f075797c418d0301498f49e43be194e3ffcb49e6fe6ccf022/markupsafe-3.0.4-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:64511c54db4e4987aef4c41923235927428729e8174c5dba488429be70a998ed", size = 24074, upload-time = "2026-10-02T23:05:01.813Z" }, + { url = "https://files.pythonhosted.org/packages/c7/81/5ed69cda630ac69ef60d06c09ba5a7f84ff66a2e28cf986fd5614ab3c6e6/markupsafe-3.0.4-cp312-cp312-musllinux_1_2_riscv64.whl", hash = "sha256:e1a622f13970d81f95d0c72f9dc090dce9085fccfa4c9f2174377ee32bd15786", size = 21563, upload-time = "2026-10-02T23:05:03.239Z" }, + { url = "https://files.pythonhosted.org/packages/0c/fe/fb1e79be0fea60aa32602ebefc9c35a82bb42b4df157285ab7dfec12341a/markupsafe-3.0.4-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:c9a7f43c0b202b334cc9184af09bb8f21d3a209e038efaf106936fb69e6b026e", size = 23048, upload-time = "2026-10-02T23:05:04.479Z" }, + { url = "https://files.pythonhosted.org/packages/c8/52/7632a53360671a9b750cdbabaf9cdd89f18b42248b8e4cb42c0b0296e459/markupsafe-3.0.4-cp312-cp312-win32.whl", hash = "sha256:f0ec3b750b59375eab5b0fb2b9254810c00a3375be6d789899f1055a1d556237", size = 14108, upload-time = "2026-10-02T23:05:05.513Z" }, + { url = "https://files.pythonhosted.org/packages/3f/bf/62495e180b7000aaf30000fff849e933f74264638057176cf46852500adc/markupsafe-3.0.4-cp312-cp312-win_amd64.whl", hash = "sha256:11935df9bf455ed0c04eb87bcd720f02b1fe5e02128a9430f23aed6f93336fc7", size = 14303, upload-time = "2026-10-02T23:05:06.538Z" }, + { url = "https://files.pythonhosted.org/packages/c5/8e/4c24208776a65878d656996945aacfbfe010d3720d1a98fc0eb8491fc03b/markupsafe-3.0.4-cp312-cp312-win_arm64.whl", hash = "sha256:a4bbd2d87dd233b9fc5812160c3d0ffbe42edc22a26ce0469f58479ede633fe9", size = 14174, upload-time = "2026-10-02T23:05:07.617Z" }, + { url = "https://files.pythonhosted.org/packages/6d/18/4bc5ba32499e87bb2b0ef5b3a9bb9c00a131fa961ddf0be548cb550f548b/markupsafe-3.0.4-cp313-cp313-android_24_arm64_v8a.whl", hash = "sha256:de8b364c423ef0a4bad9069657d617f9a5d2b2062457a89b1fa16ee199c399c1", size = 12786, upload-time = "2026-10-02T23:05:08.709Z" }, + { url = "https://files.pythonhosted.org/packages/4e/6f/17f0c099bf25f3e31e63cc19244d9f6af861a9a4ab778c203997903cfdd0/markupsafe-3.0.4-cp313-cp313-android_24_x86_64.whl", hash = "sha256:34bdde374c5932765d7dc685c4a1d191a3207852d67e8e0a9eb6ea85156181f1", size = 12510, upload-time = "2026-10-02T23:05:09.93Z" }, + { url = "https://files.pythonhosted.org/packages/11/af/1a141081b905036ee904ec4bd945e1f70b4e1b32d33c4e59e8cf1d58b247/markupsafe-3.0.4-cp313-cp313-ios_13_0_arm64_iphoneos.whl", hash = "sha256:6bd9e1788e15bfcf6a9082de42e30387e7b85d211ab21e57a939bb8cfaaf8d96", size = 11583, upload-time = "2026-10-02T23:05:10.884Z" }, + { url = "https://files.pythonhosted.org/packages/e7/0a/a89385ae590232622a03e091805cff12f24fabe6c11e0e8bae096cece81c/markupsafe-3.0.4-cp313-cp313-ios_13_0_arm64_iphonesimulator.whl", hash = "sha256:5066b244f576f91afc8ee3ba029a89f99d39c79b1853fe9d39bea9f0afbec148", size = 11801, upload-time = "2026-10-02T23:05:11.913Z" }, + { url = "https://files.pythonhosted.org/packages/ed/85/ea548dc013962eb73653124bc595635fbf9e0fa41d1f181a967ccb784dfb/markupsafe-3.0.4-cp313-cp313-ios_13_0_x86_64_iphonesimulator.whl", hash = "sha256:7a83aa6e4805df46fed18e989d3d16f86ef60cb50bbc8d9ce3a6be89165fbf6e", size = 11443, upload-time = "2026-10-02T23:05:12.887Z" }, + { url = "https://files.pythonhosted.org/packages/cc/72/15f2e5ec9cf2eb00d5cdfe968d94e4156a7bd7303832c3f3b2c403a36839/markupsafe-3.0.4-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:2d1b7d9308288661f56672b1b157d75fc536714d3638487bbea17b6318a78248", size = 11665, upload-time = "2026-10-02T23:05:13.829Z" }, + { url = "https://files.pythonhosted.org/packages/ca/e0/4030bea613677e333c8a2c901fd405055f657f9d06acba5b7357984b6ef7/markupsafe-3.0.4-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:73e77980c7207854f00fc4e71fb1626868d5740ab4012623d55c7a99ad122a72", size = 12061, upload-time = "2026-10-02T23:05:14.807Z" }, + { url = "https://files.pythonhosted.org/packages/f3/a5/28b76a7449eb702966b88bef599e2360b411fbb3afeee8fe560939be06ec/markupsafe-3.0.4-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:7018d4af1cd272e847aa5917983ab5e83e4f6579f9dbfecd4a79c0ca80b144c2", size = 24395, upload-time = "2026-10-02T23:05:15.909Z" }, + { url = "https://files.pythonhosted.org/packages/07/6c/21232811afc3a063b5e934b1ae2efda52f46154ec382f585149c020e61fe/markupsafe-3.0.4-cp313-cp313-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:c90d5b3d4e944e065a301d741b3c1d784f6bd1f503aa68b4967e32b2ba313d85", size = 27183, upload-time = "2026-10-02T23:05:16.976Z" }, + { url = "https://files.pythonhosted.org/packages/14/38/6ccdfa5b59049cb36fb80cbc80aee9cf1fc9bb77d1335ad435f2070b08cf/markupsafe-3.0.4-cp313-cp313-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:18a801868a884f216e784d7d14db2a4077143ce7610440aee2ce8f734e7cfcde", size = 24772, upload-time = "2026-10-02T23:05:18.209Z" }, + { url = "https://files.pythonhosted.org/packages/63/e0/cec6865dfe88cb48fedd4b20aed6af5158e41092adcbf3e028bcc6ec2108/markupsafe-3.0.4-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:434139499bb20b502ed3baa1f169e618f924a97e7a777fea1a49446d80106cf6", size = 23017, upload-time = "2026-10-02T23:05:19.286Z" }, + { url = "https://files.pythonhosted.org/packages/ee/76/6ed4940bb7648a9aac457c14f870cfdd5105f139a0fb1f29cd61fafa47d1/markupsafe-3.0.4-cp313-cp313-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:9e227f3dbe6bde7491cf0a9965d00b88c6b1a4a95d11480ddf88bb96d397c19f", size = 22036, upload-time = "2026-10-02T23:05:20.352Z" }, + { url = "https://files.pythonhosted.org/packages/a1/4f/ed476226d4fe46a09090a36025bf319296810028df55eb12f1253b540f3a/markupsafe-3.0.4-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:b8cd1f918b26fd7b1832ece557cc18f2d8747309ff8b3f0ef9d4250c5ad67a39", size = 23786, upload-time = "2026-10-02T23:05:21.576Z" }, + { url = "https://files.pythonhosted.org/packages/9a/35/66ff30450e35ef5fba9ebc930c9411747e537fd9447b65e44f5007e2b84d/markupsafe-3.0.4-cp313-cp313-musllinux_1_2_armv7l.whl", hash = "sha256:a5fcffb37e602b0b3c1638a97746b9b96125caa9bcf6fa41d337a9261de231ee", size = 22672, upload-time = "2026-10-02T23:05:22.922Z" }, + { url = "https://files.pythonhosted.org/packages/32/0b/72f45ce4b4efcbca4b80cf1b06703eff0be8d37e82abb78f66c85a7ead1e/markupsafe-3.0.4-cp313-cp313-musllinux_1_2_ppc64le.whl", hash = "sha256:5989cb26b2e1efc6a42216a9f6b5ee495ce5ace2e5b352a9af489976b32d1ee2", size = 24107, upload-time = "2026-10-02T23:05:24.175Z" }, + { url = "https://files.pythonhosted.org/packages/d2/03/71776e5fdcba04614b384cc102e8a4198208579d896fd1394cb7cb9aa900/markupsafe-3.0.4-cp313-cp313-musllinux_1_2_riscv64.whl", hash = "sha256:add96447a86d205ab616665d53b2950ee81083757f56e6ea833c8b2917646b46", size = 21615, upload-time = "2026-10-02T23:05:25.215Z" }, + { url = "https://files.pythonhosted.org/packages/ab/5f/801ce02a02e7aee0f784b1ec7843026178f6adeb9c93ac67eb1992a9a84d/markupsafe-3.0.4-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:2628d3a8cb648ecebb3c5d6b0a1052d400e4d8b7ac0fb786be8d285b50040d17", size = 23076, upload-time = "2026-10-02T23:05:26.423Z" }, + { url = "https://files.pythonhosted.org/packages/4a/85/c43776625428f3bb4a61e8633940400e3efe6409e3c6f5bff26de5e45618/markupsafe-3.0.4-cp313-cp313-win32.whl", hash = "sha256:672d207103e6b16ca098611b0f9efad6bc00afd47c03d6ef62186495ca677dc0", size = 14118, upload-time = "2026-10-02T23:05:27.716Z" }, + { url = "https://files.pythonhosted.org/packages/6f/36/163da64de88a13db79214ef75fa041be7fa13bdb42261cf5b7484de14bfb/markupsafe-3.0.4-cp313-cp313-win_amd64.whl", hash = "sha256:1f1f9477e174582b0a1b583d60b66e1f2cf5d3fe12cee985e4aedf44766600e5", size = 14313, upload-time = "2026-10-02T23:05:28.749Z" }, + { url = "https://files.pythonhosted.org/packages/9f/a8/9b662783ffaa1149221432a923cee562f78b9cbbb8baa3df9b3753e63e1e/markupsafe-3.0.4-cp313-cp313-win_arm64.whl", hash = "sha256:06de8ef6331f6e822c28d577dc8bf43fe398800477c49498f38fc38b67ff33fc", size = 14189, upload-time = "2026-10-02T23:05:29.917Z" }, + { url = "https://files.pythonhosted.org/packages/5c/c3/a944f3b0df22bd129e96915b9f4e98d2eeca6516687d7618304a966c3c74/markupsafe-3.0.4-cp314-cp314-android_24_arm64_v8a.whl", hash = "sha256:4ed644d75aa94a2baf7ec3a96eaa160ea58c742eb9d27c6506053c5c40fc84ed", size = 12787, upload-time = "2026-10-02T23:05:30.971Z" }, + { url = "https://files.pythonhosted.org/packages/d4/d6/a44863f69d88b6c7e27889108f70d47aed259edf89d5df3c5fca1eac87d6/markupsafe-3.0.4-cp314-cp314-android_24_x86_64.whl", hash = "sha256:6d2a9efe686f9de00d0d1ea32a4a5a86d558a2277501bd78d964214eab625e59", size = 12525, upload-time = "2026-10-02T23:05:32.263Z" }, + { url = "https://files.pythonhosted.org/packages/17/8f/168ba80e532dd6a93f96f8f706f1ad41d7990b6e1aeedc1cc0d211a33497/markupsafe-3.0.4-cp314-cp314-ios_13_0_arm64_iphoneos.whl", hash = "sha256:8781a792a070cf2bd1b86d3aa943894115faaba6e88122a7bf32d62072742453", size = 11589, upload-time = "2026-10-02T23:05:33.251Z" }, + { url = "https://files.pythonhosted.org/packages/32/b3/aa2c95a574d3af39403a469b295886eb9b6d448da568cbebb5a2cbfdc2e5/markupsafe-3.0.4-cp314-cp314-ios_13_0_arm64_iphonesimulator.whl", hash = "sha256:971a3bbb75d97ae4e2e8f7d4834236f86f85f0c85e04ab2e191db1123b04f80b", size = 11801, upload-time = "2026-10-02T23:05:34.315Z" }, + { url = "https://files.pythonhosted.org/packages/60/d0/34b810107d83840e768bf485de795893ebbae35b26ab061b487adfa0a692/markupsafe-3.0.4-cp314-cp314-ios_13_0_x86_64_iphonesimulator.whl", hash = "sha256:8909c2f1c6dd65e054ac4b573a91c8384d1492281e55d82d159d653f7a13adf6", size = 11447, upload-time = "2026-10-02T23:05:35.302Z" }, + { url = "https://files.pythonhosted.org/packages/6c/ab/2f8488f0f817a39fca068d2b17daf446bf5cdb3eae28c3720af534d873b4/markupsafe-3.0.4-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:4cf3468d5ec187ffffcaca8e61929a37448f215dafc1386a12c750a72fe53634", size = 11722, upload-time = "2026-10-02T23:05:36.363Z" }, + { url = "https://files.pythonhosted.org/packages/ad/40/e2d117b048d47282ade906fbfd92814cbee5647afc13fda88a3406039372/markupsafe-3.0.4-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:52704c5d36eb6dda8866493decd61111fff86244c9b1ad225ca01b9e91e5970f", size = 12061, upload-time = "2026-10-02T23:05:37.397Z" }, + { url = "https://files.pythonhosted.org/packages/9a/a8/73a81135e85ba66217f5af7facb03bbb386807e1a729ab64532e4c802652/markupsafe-3.0.4-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:1caa2fa5a6184fb233153b35f654e6687bd555476f6170f29d8ee9be1a8b0af9", size = 24434, upload-time = "2026-10-02T23:05:38.407Z" }, + { url = "https://files.pythonhosted.org/packages/ac/ca/fa9216dd01efee2dfdacafe7df32b4d0170fbac694b0c258a193d6e53999/markupsafe-3.0.4-cp314-cp314-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:387d8cd30e69b3f0a72877b9ae717033396404e19095b17fe89753a981fda44f", size = 27183, upload-time = "2026-10-02T23:05:39.581Z" }, + { url = "https://files.pythonhosted.org/packages/fa/4e/a469509e538d37af51103b17b073126973f2b1cbf197ff32c7ddf025cfe5/markupsafe-3.0.4-cp314-cp314-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:051417f74bcaaefa316276e0ff723f541616ca51043d070da00249d9bddd3e3c", size = 24813, upload-time = "2026-10-02T23:05:40.671Z" }, + { url = "https://files.pythonhosted.org/packages/8f/db/d7282caf7ab03af44d5d6fdbaa019b35c7d7f1c90588b839c07cba640d6a/markupsafe-3.0.4-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:a8e9f292fcda89b324f2f5c91d13f1424a153e40fc2756f38ee23b15835ff300", size = 23049, upload-time = "2026-10-02T23:05:41.864Z" }, + { url = "https://files.pythonhosted.org/packages/30/f3/b6a425206e6964efda6acee544d0eb01d1501784d0b8e2dcc74986f33b17/markupsafe-3.0.4-cp314-cp314-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:df1ae86ff54725a01fa1a0510b914ca53a161b7050be74f6204e24aded5971d0", size = 22088, upload-time = "2026-10-02T23:05:43.014Z" }, + { url = "https://files.pythonhosted.org/packages/ea/8a/84d3582fc1f0d5bd466cdf2eebf175e172158a6e70701aacec1de1b35430/markupsafe-3.0.4-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:8965520ac587c94a4ac48b729be3d8b8de00af39699b17585dfb599babe77977", size = 23846, upload-time = "2026-10-02T23:05:44.098Z" }, + { url = "https://files.pythonhosted.org/packages/1c/65/db101cce51b7ba4864ac491a9859d297dd1adf0e55b103fee9db9c47c527/markupsafe-3.0.4-cp314-cp314-musllinux_1_2_armv7l.whl", hash = "sha256:340cbb1957ba99929cbf19a75626d36ba1ae21d1730b287d1cf7f824a20c4fc7", size = 22674, upload-time = "2026-10-02T23:05:45.23Z" }, + { url = "https://files.pythonhosted.org/packages/e0/49/ddee9813d71db0c7a5c9d97c832125e6758a0c844777f1cf076569bb0e22/markupsafe-3.0.4-cp314-cp314-musllinux_1_2_ppc64le.whl", hash = "sha256:3a93d9616ddecfb393727a0041a562cf0b15a244e20f2bd25efc7949be4c4f17", size = 24104, upload-time = "2026-10-02T23:05:46.398Z" }, + { url = "https://files.pythonhosted.org/packages/aa/0e/7d8518d726726870a2399d69fd30d0fa36c5e57a2132c336b58d7c491073/markupsafe-3.0.4-cp314-cp314-musllinux_1_2_riscv64.whl", hash = "sha256:d2e56fd3b00222722abfb3f5f0759ddbae4b90811b5ad4343c64030ad1bde70c", size = 21637, upload-time = "2026-10-02T23:05:47.48Z" }, + { url = "https://files.pythonhosted.org/packages/b4/b0/b505e8a361ba557dbf3b3aa7331ea39b00d2022a26e925ff8463b9714bb3/markupsafe-3.0.4-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:0d9c47709875fdb321452056622e930c52afbc07a7d780762fbb8b4d91ce6fa4", size = 23081, upload-time = "2026-10-02T23:05:48.611Z" }, + { url = "https://files.pythonhosted.org/packages/1c/ea/9cc3cea873f980c75cbdb6f4277ce30ee955de38be0b3d02f14c108e0698/markupsafe-3.0.4-cp314-cp314-win32.whl", hash = "sha256:38fc55594dab834470b6733dead2ee9e3f657fb0608c769dcafa0ba5ab52f45c", size = 14272, upload-time = "2026-10-02T23:05:49.707Z" }, + { url = "https://files.pythonhosted.org/packages/80/f0/5792ff768a410f93ee3f84fc19345295ffc352d2c936b424cb37e514714c/markupsafe-3.0.4-cp314-cp314-win_amd64.whl", hash = "sha256:c1bc67752d5f21013cfe430df4062441714eab79f65a6a05e01505957e9c35fe", size = 14501, upload-time = "2026-10-02T23:05:50.788Z" }, + { url = "https://files.pythonhosted.org/packages/5f/cf/3d074a8edffcc6899355232ff2543ae8d929733239596423b7db79698bc9/markupsafe-3.0.4-cp314-cp314-win_arm64.whl", hash = "sha256:7e1636da3d8dfc220b6dd10264db5f2b165e4888c4518594898fbe381049af8a", size = 14364, upload-time = "2026-10-02T23:05:51.857Z" }, + { url = "https://files.pythonhosted.org/packages/d9/31/87ce42159aae2163cf3bbbd0c44bc87780510eecab1ea3859099aed95dcb/markupsafe-3.0.4-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:805c8b84534fa10891890f0e4be39f3a99e94615d93e8836bf9fa1fdca2feeb2", size = 11759, upload-time = "2026-10-02T23:05:52.951Z" }, + { url = "https://files.pythonhosted.org/packages/5f/53/b047207eeb7752e960aca3eb1df5fb7eefa7dd4c62ac49bb156456c8a702/markupsafe-3.0.4-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:fa95848c929b6a75f6848d3c9793e59db365ee436776e57db835cdbfa79ba977", size = 12096, upload-time = "2026-10-02T23:05:54.066Z" }, + { url = "https://files.pythonhosted.org/packages/ee/51/4326c88a13c7b755657d44b4bb986f8c3d9843ecba7e22d98661d87f9a57/markupsafe-3.0.4-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:e916035e3e9930cbdfdd10abf48861340221857f45509565898e012263f7b289", size = 25699, upload-time = "2026-10-02T23:05:55.15Z" }, + { url = "https://files.pythonhosted.org/packages/f2/bb/990581b7474bfcf2cf34bed6ba5ea23bd87adb9d671213d68e88620e7a6b/markupsafe-3.0.4-cp314-cp314t-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:b4d12837e0203bbace818ff4a7461afdcd78bcd782351cea148139180d7bcffe", size = 27804, upload-time = "2026-10-02T23:05:56.29Z" }, + { url = "https://files.pythonhosted.org/packages/6b/89/89491878c28e8291f5aa2fffe2c2d57230d10ae366d55dd810b840513d78/markupsafe-3.0.4-cp314-cp314t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:5086f9975abb1ab531ee6afca1761e4b59a19b446f3f6522ed776963228cfe5a", size = 25912, upload-time = "2026-10-02T23:05:57.416Z" }, + { url = "https://files.pythonhosted.org/packages/30/77/680998b54efdea06fc114565cd739b6d059f826a0279219b218dfa750d29/markupsafe-3.0.4-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:b4a635a0487774f841cb1fb62e907e7195cc95bc761e053184b8acc3ceb20733", size = 23623, upload-time = "2026-10-02T23:05:58.557Z" }, + { url = "https://files.pythonhosted.org/packages/ae/75/2709f5ac5de9467b40b10e2bb8f89cc63dfb74582e09aa734b1124a217de/markupsafe-3.0.4-cp314-cp314t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:cb96e6e088d6cf71c1ea977510948320234824cf226e32f6f6e044f7a9c82b34", size = 23301, upload-time = "2026-10-02T23:05:59.94Z" }, + { url = "https://files.pythonhosted.org/packages/a0/c8/39eadc6c5b14c9c7679bfb98f4d4c6a97863b5beb91839aca4d2d6e16e55/markupsafe-3.0.4-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:8b5d563170ff8ba3181caa967c99a3c804d1dedb702c7cb93a6a7c32247da978", size = 24950, upload-time = "2026-10-02T23:06:01.289Z" }, + { url = "https://files.pythonhosted.org/packages/1a/5e/01037f8a43e8ccb0bffb4fbdc5212db05bf080fdd7286cd392332d58128a/markupsafe-3.0.4-cp314-cp314t-musllinux_1_2_armv7l.whl", hash = "sha256:396ec4e65cc889f69786b3b89478b471cee5a3bcf468b9d9bb03e1a30fb291fc", size = 23330, upload-time = "2026-10-02T23:06:02.441Z" }, + { url = "https://files.pythonhosted.org/packages/d4/f4/23e83ce0596bb0cbe670502d31df8f757bbd01a392aa486fa3b40d1ed399/markupsafe-3.0.4-cp314-cp314t-musllinux_1_2_ppc64le.whl", hash = "sha256:15ba9e28640feef770374b116a6f019c21f52404aeabe516aa7f800587b98cfc", size = 25239, upload-time = "2026-10-02T23:06:03.579Z" }, + { url = "https://files.pythonhosted.org/packages/88/5b/3708897368073cc683d524750474f41a77d2986152c380dcc55b20fdf340/markupsafe-3.0.4-cp314-cp314t-musllinux_1_2_riscv64.whl", hash = "sha256:d920abdfa61279ba1a2ef9484aab07bf03331f8c08a10120fa332353d06e6932", size = 22767, upload-time = "2026-10-02T23:06:04.699Z" }, + { url = "https://files.pythonhosted.org/packages/c6/61/ebda1307864b409e6b3115757a3d4a09cca46cfb6cc65191b5de226b424b/markupsafe-3.0.4-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:a9f54054101545a9a9cccefddf54316aa6e4491611fcbef9e91b3b6bebec04f6", size = 23668, upload-time = "2026-10-02T23:06:05.9Z" }, + { url = "https://files.pythonhosted.org/packages/09/15/98075cceac3b5ba0dbb8e4762a847be967d2befc349a2cf2d0ac77f62c9d/markupsafe-3.0.4-cp314-cp314t-win32.whl", hash = "sha256:12a606a492de952afcb43b59a14aaaaad120e708d3663dd0fdf2d738d427a691", size = 14301, upload-time = "2026-10-02T23:06:07.109Z" }, + { url = "https://files.pythonhosted.org/packages/0b/a3/768b560fcc4156685cb563d922b217810cfa7bc135773367f62f1f9d2078/markupsafe-3.0.4-cp314-cp314t-win_amd64.whl", hash = "sha256:a18f38cafc329bac5e3c2b96c765b4c96d3d103421ed22ab7988c1e3fce27464", size = 14526, upload-time = "2026-10-02T23:06:08.276Z" }, + { url = "https://files.pythonhosted.org/packages/93/63/da554b4c97a6b0ea3229ca7fe8cbfb620be81613d517f482e85958550537/markupsafe-3.0.4-cp314-cp314t-win_arm64.whl", hash = "sha256:eba154571c16e032112afac0dc2dfe9e63c2ceb7aedd07bb7eecf2ce26d4dd4c", size = 14421, upload-time = "2026-10-02T23:06:09.402Z" }, + { url = "https://files.pythonhosted.org/packages/a9/30/54d11c8ca027114898cab97421fb39e4ffd9ddf47cdbc44df2ec76722da9/markupsafe-3.0.4-cp315-cp315-android_24_arm64_v8a.whl", hash = "sha256:737c9c3981998eba27f11786f84fddcbabc74068b72a4a1f454ea02094b57b65", size = 12791, upload-time = "2026-10-02T23:06:10.485Z" }, + { url = "https://files.pythonhosted.org/packages/10/6d/97c913e253a14bd3cd0e15a5c56d13203b823fa7ee32498342896a072dc4/markupsafe-3.0.4-cp315-cp315-android_24_x86_64.whl", hash = "sha256:489505b03f692c3f376394e49194fa7a7f9e8558d6e293a7056a0032b0c38163", size = 12527, upload-time = "2026-10-02T23:06:11.834Z" }, + { url = "https://files.pythonhosted.org/packages/26/f9/b86d032042a4d597d9e1997f0e5f63a3eedaf11258e0a05760b0a0a826ea/markupsafe-3.0.4-cp315-cp315-ios_13_0_arm64_iphoneos.whl", hash = "sha256:077293e425f28ec737dbcad442a71752e28f8ae27cde3d68acd1fb212091cd92", size = 11602, upload-time = "2026-10-02T23:06:13.122Z" }, + { url = "https://files.pythonhosted.org/packages/f2/dc/73c14c1eedf0ac5fa3292ba43435e6c49d2c2050f33cebde541f8f4807f1/markupsafe-3.0.4-cp315-cp315-ios_13_0_arm64_iphonesimulator.whl", hash = "sha256:9348cbb300d224fe3b89793262cb093504d4ae927004468463f745188a193e4a", size = 11817, upload-time = "2026-10-02T23:06:14.227Z" }, + { url = "https://files.pythonhosted.org/packages/8f/69/2c2fcaa5fcee22d72c7819c0d536fd181c74a688e6143845419579cd2863/markupsafe-3.0.4-cp315-cp315-ios_13_0_x86_64_iphonesimulator.whl", hash = "sha256:b807e598953730f82e4eae3bd30f6a122cf6b31c398c6b504c0e04c13c170429", size = 11446, upload-time = "2026-10-02T23:06:15.574Z" }, + { url = "https://files.pythonhosted.org/packages/88/54/9e5ec76c62e6e2834d5a93623018c943e8b3bb41d663e3fd4c03303b9b85/markupsafe-3.0.4-cp315-cp315-macosx_10_15_x86_64.whl", hash = "sha256:799c39bdf5e2f1292fedd3009f7b3c9e760f10b2420cb9638d56920840ff6db8", size = 11719, upload-time = "2026-10-02T23:06:16.701Z" }, + { url = "https://files.pythonhosted.org/packages/96/24/3ec292b44064c16229e064d770b2625bd8ea941aa61f44905a9fa44942c0/markupsafe-3.0.4-cp315-cp315-macosx_11_0_arm64.whl", hash = "sha256:ae9dcb8fbe244cb82f8a6458b455b927a03685e383d9bacf1ea5ce180b96dc97", size = 12075, upload-time = "2026-10-02T23:06:17.855Z" }, + { url = "https://files.pythonhosted.org/packages/aa/85/b64fdb1f304848518742136983c24e96d967bfb59a0ea160e92736901ab0/markupsafe-3.0.4-cp315-cp315-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:4bced6e2a6dba6a28f7dd3c6ce14df1b2dd495923f16ea484cad03decd463b2b", size = 24656, upload-time = "2026-10-02T23:06:18.963Z" }, + { url = "https://files.pythonhosted.org/packages/9c/18/23997d4c65b355da6390d61cd56e0ab3befd6ba8dda25cb40c602bd0fa6b/markupsafe-3.0.4-cp315-cp315-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:3882fb412298575bae3b9c46868251f15cc69307359f87bb1b382e53d6e5a2c9", size = 27737, upload-time = "2026-10-02T23:06:20.117Z" }, + { url = "https://files.pythonhosted.org/packages/d4/36/35998dead3c6af88c38265a56e58100211f036234ab88eb2283fd4cbce44/markupsafe-3.0.4-cp315-cp315-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:04e7902ba80ee4bac1d50a549606527a1dcf0476cd81403db41099d3b60ec653", size = 25003, upload-time = "2026-10-02T23:06:21.284Z" }, + { url = "https://files.pythonhosted.org/packages/82/96/ef49135ce260db4ca4a12b119ed468449cd248db6b1468e2112b546d7a2e/markupsafe-3.0.4-cp315-cp315-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:925f929d6b59a8b3f8b8c6ac363cd0af7eecc81efb3071770b3c6717c450a369", size = 23111, upload-time = "2026-10-02T23:06:22.524Z" }, + { url = "https://files.pythonhosted.org/packages/50/7d/83126e338bd88c17a220668235368ad719fd4638e426739858cbb8508f77/markupsafe-3.0.4-cp315-cp315-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:f68edfc67aabac33708941f26f22a7b8e9f81429bc0cf249fcf7d66b23af8d19", size = 22403, upload-time = "2026-10-02T23:06:23.785Z" }, + { url = "https://files.pythonhosted.org/packages/83/dd/daf7e420de23c8206c365204e7b85e1251d8e19d34196a56336f316e5ed2/markupsafe-3.0.4-cp315-cp315-musllinux_1_2_aarch64.whl", hash = "sha256:e5c802729725bd07e2bc3ab7b76dc7e0bbfc53129d8f1eb1c002c24cf774717e", size = 24083, upload-time = "2026-10-02T23:06:25.037Z" }, + { url = "https://files.pythonhosted.org/packages/19/3c/11eecdc06bc44ad5570350085b572ebf049e8f9a38d1ece6d76640b739cd/markupsafe-3.0.4-cp315-cp315-musllinux_1_2_armv7l.whl", hash = "sha256:55ffd6ce583d97dc71dc92e930324c8c0d25aea7e3ade6ae54ef77cedb096811", size = 22931, upload-time = "2026-10-02T23:06:26.328Z" }, + { url = "https://files.pythonhosted.org/packages/0d/9e/ac0fd77f2a726e56ecc3ca0235d095feace1358d1b822406c2a2ef26a4dc/markupsafe-3.0.4-cp315-cp315-musllinux_1_2_ppc64le.whl", hash = "sha256:2cb3dd71fc6be918ad4264346a8ed69485f9b7ed7bf35495d8e22807cd6b8bea", size = 24299, upload-time = "2026-10-02T23:06:27.742Z" }, + { url = "https://files.pythonhosted.org/packages/d7/09/c6bd842ad58ff5b3bc76eeed7e9a42a6f11adc5d090ec697b72c9672731e/markupsafe-3.0.4-cp315-cp315-musllinux_1_2_riscv64.whl", hash = "sha256:94f5407f7bc64fa6463906b896f9904beeeb7dd8dc116ee8e9056c8714ff9916", size = 21948, upload-time = "2026-10-02T23:06:29.274Z" }, + { url = "https://files.pythonhosted.org/packages/a3/46/82f586711fed61e86faa1ee1bc317d68cd45a10c8bdbe3f7d1fdf9026ad8/markupsafe-3.0.4-cp315-cp315-musllinux_1_2_x86_64.whl", hash = "sha256:2dad610540cb2e6272855c178f08ae9a1c7ac258a7fb71660553a5f104b42741", size = 23150, upload-time = "2026-10-02T23:06:30.583Z" }, + { url = "https://files.pythonhosted.org/packages/19/2d/2dfdce99318abbfa26925195fbc17db188c46a1ec6457be121b6f9cfeb42/markupsafe-3.0.4-cp315-cp315-win32.whl", hash = "sha256:03470d1a8268e692ecf79ecd565593e59d44219377a7ead61f1f1b94c1f7ff6b", size = 14269, upload-time = "2026-10-02T23:06:31.949Z" }, + { url = "https://files.pythonhosted.org/packages/5b/ec/6000fd82e8791e58fcd0456ec20f098957e2b03d5ed02eb73241a577c0ba/markupsafe-3.0.4-cp315-cp315-win_amd64.whl", hash = "sha256:d882a373d8093c2941e01291b7ced96e9cbe4781da9a7751ca7e6c70385e5214", size = 14496, upload-time = "2026-10-02T23:06:33.258Z" }, + { url = "https://files.pythonhosted.org/packages/bc/66/e73bd5016421d5d6e2fb6de7dd609f9de020942ac8c626526bd8c6eeaf82/markupsafe-3.0.4-cp315-cp315-win_arm64.whl", hash = "sha256:353bd63081912ab8cfa6a0c7d185934cdf8426f04c618bba6bc4b394f2069b67", size = 14361, upload-time = "2026-10-02T23:06:34.539Z" }, + { url = "https://files.pythonhosted.org/packages/90/df/cb8c3dc98d313a951df2f8968f44e4cb5643df6d3cab749a530ce2f7d972/markupsafe-3.0.4-cp315-cp315t-macosx_10_15_x86_64.whl", hash = "sha256:c61750fadcd119d0825bcb7d7d675dd264dcc89cc05292aab5be68ebdbb374ad", size = 11760, upload-time = "2026-10-02T23:06:35.807Z" }, + { url = "https://files.pythonhosted.org/packages/d6/bb/4af9b3ca0753d654ac75f9531d5bd741bb77ca6e696f36807c475ffc099a/markupsafe-3.0.4-cp315-cp315t-macosx_11_0_arm64.whl", hash = "sha256:1c0df495a977d10460a94941799c72d5b5ab03d3858d949b55b5a66c8f371c99", size = 12108, upload-time = "2026-10-02T23:06:37.089Z" }, + { url = "https://files.pythonhosted.org/packages/3f/d4/b56429313aee5fd59b079c3df5615299959e25e7113eb6d8caadbdd7d38a/markupsafe-3.0.4-cp315-cp315t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:02fa4acbc6a3fc5c693c34d4dd8c1130b7fe99cc915181b0ddd6f72aeb296002", size = 25762, upload-time = "2026-10-02T23:06:38.419Z" }, + { url = "https://files.pythonhosted.org/packages/65/f5/34c181e891aa4f7d59c918584672e0c5eb7fffe76c1387d1246008bf4081/markupsafe-3.0.4-cp315-cp315t-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:05295589e619b9bed252a86b532b8e27350abc372d18ba89b59375325e91ec1e", size = 28400, upload-time = "2026-10-02T23:06:39.819Z" }, + { url = "https://files.pythonhosted.org/packages/ce/b5/ad14694fd0ac9a5ce30bc6498f2999378f418583dd1679cca5a1b512957e/markupsafe-3.0.4-cp315-cp315t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:be6cb0c799abb0e2ba3e618e6d28ddddf7e485f6c2ce938dfa237daf3905072c", size = 25946, upload-time = "2026-10-02T23:06:41.381Z" }, + { url = "https://files.pythonhosted.org/packages/d6/a8/26b606445387d0ceb1eb1f21840094b84e4e3c3c3983d80d10b89823b490/markupsafe-3.0.4-cp315-cp315t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:26e9867520db70d37f7fb421a7f0d8adb40171011fb84ce869afa1a83370dfa8", size = 23634, upload-time = "2026-10-02T23:06:42.748Z" }, + { url = "https://files.pythonhosted.org/packages/39/a2/b8814de672f1f0094d498bf646f2fec9d6356b503d28ef500b71c5095377/markupsafe-3.0.4-cp315-cp315t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:f03460ff076f70ab595bb45a0205ccea1971443575b6920c52e755dec2b3fbfe", size = 23488, upload-time = "2026-10-02T23:06:44.176Z" }, + { url = "https://files.pythonhosted.org/packages/db/c7/287223376fb73335a3cc5d6eb22c6ab01358cf33945a9c39c06b9dac3f4b/markupsafe-3.0.4-cp315-cp315t-musllinux_1_2_aarch64.whl", hash = "sha256:436e3ffc6310d3c41878c601db29098102fe5d8a467c49da4a4125254e0980f2", size = 25037, upload-time = "2026-10-02T23:06:45.646Z" }, + { url = "https://files.pythonhosted.org/packages/f9/29/4df8355e313426d19e62ba33e0253c009ca12a0894ee77d67fa67255361c/markupsafe-3.0.4-cp315-cp315t-musllinux_1_2_armv7l.whl", hash = "sha256:4e2c4809c14559aa7ef426f27fb35afbb38104c349a903bf8f3600456764bb38", size = 23543, upload-time = "2026-10-02T23:06:47.264Z" }, + { url = "https://files.pythonhosted.org/packages/71/e5/8377731e8495668dcc768f645e717df18318c841edaf023a99395f6da9b4/markupsafe-3.0.4-cp315-cp315t-musllinux_1_2_ppc64le.whl", hash = "sha256:da2af0d7aebfc2074080d72efa6ab8317c62481ef1f896f65d9999c1c01f4494", size = 25282, upload-time = "2026-10-02T23:06:48.795Z" }, + { url = "https://files.pythonhosted.org/packages/ed/5f/373456e37ceb1478d657d6fe769cbe0a39f0a8dfc1548eeb19c471eefdd9/markupsafe-3.0.4-cp315-cp315t-musllinux_1_2_riscv64.whl", hash = "sha256:aa2c838cc024642cc04c6854232f32b43e5e22833dd11119c1766c7873b8370d", size = 22993, upload-time = "2026-10-02T23:06:50.31Z" }, + { url = "https://files.pythonhosted.org/packages/d7/93/2cbd5628435afb6f541bbaced4bce0c2edac4b09a142e6e928b8b0da9858/markupsafe-3.0.4-cp315-cp315t-musllinux_1_2_x86_64.whl", hash = "sha256:b91cc9d336957239ff200f30097e6fea2dc6d6fb3c81e853eaa09eac904fd894", size = 23712, upload-time = "2026-10-02T23:06:51.759Z" }, + { url = "https://files.pythonhosted.org/packages/81/99/157e10966b033b363aeda5263e82596ee232a0b1d082fdbf90aa417ff083/markupsafe-3.0.4-cp315-cp315t-win32.whl", hash = "sha256:e49fb0d1ce92cfa0cb198cc5b1b11cdf9d0638658e2a2db2687e39db7c87fc78", size = 14300, upload-time = "2026-10-02T23:06:53.241Z" }, + { url = "https://files.pythonhosted.org/packages/33/05/55884815414c9706a23deca150b72c25a62109e65b0b6ce232077802c719/markupsafe-3.0.4-cp315-cp315t-win_amd64.whl", hash = "sha256:4f6e0852a0283b1b1fd776eeb7b766a5f440b3e2bd31ab51af3b400585f3965c", size = 14522, upload-time = "2026-10-02T23:06:54.729Z" }, + { url = "https://files.pythonhosted.org/packages/92/f9/ecbde7149e95b8a0f18e16d5d747f7dc06049d5da2e4f77f6f5e4a1f46a8/markupsafe-3.0.4-cp315-cp315t-win_arm64.whl", hash = "sha256:39dbacefc411633db5b4378b066a9aca70a3d7e2922c9e578d825f844026eeba", size = 14417, upload-time = "2026-10-02T23:06:56.246Z" }, +] + +[[package]] +name = "matplotlib" +version = "3.11.2" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "contourpy", version = "1.3.3", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.12' or python_full_version >= '3.15'" }, + { name = "contourpy", version = "1.4.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.12' and python_full_version < '3.15'" }, + { name = "cycler" }, + { name = "fonttools" }, + { name = "kiwisolver" }, + { name = "numpy", version = "2.3.5", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.12' or python_full_version >= '3.15'" }, + { name = "numpy", version = "2.5.3", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.12' and python_full_version < '3.15'" }, + { name = "packaging" }, + { name = "pillow" }, + { name = "pyparsing" }, + { name = "python-dateutil" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/e7/c8/9aa712a0afb882649424dd8de8ad9aa6235e796e84c6052e8f6dc1598d0d/matplotlib-3.11.2.tar.gz", hash = "sha256:cec596316640f2b394b8f0daa0ea61a8eae82d017b620b9f202befb972a59ea4", size = 32660610, upload-time = "2026-09-11T19:05:31.214Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/c0/a9/a7fc5a63c427aeb9a4b99d6a0449f891be0952d3aee2b85229099f7b9f54/matplotlib-3.11.2-cp311-cp311-macosx_10_12_x86_64.whl", hash = "sha256:5e1e923a3fc3326b99ec0a6ff1ab1338ac6c6cc62ad9d8a9c944197c7f8c6221", size = 9461046, upload-time = "2026-09-11T19:02:59.277Z" }, + { url = "https://files.pythonhosted.org/packages/0b/d7/59d8ee63e4dee845d953515c50d67e6b8cefa953b453c6b803f197ae556e/matplotlib-3.11.2-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:c27e577ece613ea12a0790e00b4eb80d901c59a3e16cad474f31d8b1529690b9", size = 9290872, upload-time = "2026-09-11T19:03:02.295Z" }, + { url = "https://files.pythonhosted.org/packages/2e/a4/1ca765c63a60e3096ae2ad132eb25f6f7eab0377418cd0472808befd9665/matplotlib-3.11.2-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:07d9b9fa60cd4c393692f50d0bb03123242ddf61c99bb0e95e75feb354e7c1a8", size = 9854405, upload-time = "2026-09-11T19:03:04.796Z" }, + { url = "https://files.pythonhosted.org/packages/d7/3d/f28ca971a4ad0ed83ebdd60230b09d99de8b91aba47964fac3a81eb2e2ba/matplotlib-3.11.2-cp311-cp311-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:30ec15d7eefee71de16b7c689b42ba49715a4644650b76a6c7c70d79daf24e91", size = 10660507, upload-time = "2026-09-11T19:03:07.402Z" }, + { url = "https://files.pythonhosted.org/packages/f7/0c/a743556bc64a9b57d2246b14d91b713078adfd2df4199f542df1861737a9/matplotlib-3.11.2-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:116cdb0eb0eb5644fc98eb2975d4b4dd4ad35e5c8e6b851c22e6976f371f7ab5", size = 10801141, upload-time = "2026-09-11T19:03:11.357Z" }, + { url = "https://files.pythonhosted.org/packages/66/54/91fe3fdfa29100b4668cbf9721577a10acde6e009694618230e4e7a97527/matplotlib-3.11.2-cp311-cp311-win_amd64.whl", hash = "sha256:a24d5fd36e4f0e742c3851dcd20810e56a95633a342e4bf6cb591c678e8fe61f", size = 9329982, upload-time = "2026-09-11T19:03:14.25Z" }, + { url = "https://files.pythonhosted.org/packages/49/c1/13b70871c98d7e93f0d2ed71f226b8d6f873f1372124046068a6b4902fb5/matplotlib-3.11.2-cp311-cp311-win_arm64.whl", hash = "sha256:57b9ea60a835937c2012861923cbb91f47db8565775d326d1c42fc926aa10351", size = 9023542, upload-time = "2026-09-11T19:03:16.878Z" }, + { url = "https://files.pythonhosted.org/packages/cb/ce/1bfcc4873b121597791ad74032943b123218c0613af0b97e8dd05e916fb1/matplotlib-3.11.2-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:ef752769cd962f39ea0b6ffc82d1ea43a0012c5a6157c7a075212fa509cfcff2", size = 9476466, upload-time = "2026-09-11T19:03:19.45Z" }, + { url = "https://files.pythonhosted.org/packages/a6/c4/7f5f3601ee69baf072c0c7d3ce60c03e0618621c5a56c34a62a460e29d11/matplotlib-3.11.2-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:ef31985c4dedb5f1424e1aec6849a47dd37689cb7fa3c20b1b82187f26806261", size = 9305583, upload-time = "2026-09-11T19:03:22.39Z" }, + { url = "https://files.pythonhosted.org/packages/b8/90/2b3fd67ee273163faeda6d514be70b5596eaa0fd77b60ffc294ad0b34f5f/matplotlib-3.11.2-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:df4f7784aca81a94f254c0a2767d592ee25f407e488f5fa7203e51093fb6ca27", size = 9860353, upload-time = "2026-09-11T19:03:25.049Z" }, + { url = "https://files.pythonhosted.org/packages/f4/84/32549e7a462dc311aed2ab62e5d2538028840b5c53a8be0195c789937c3d/matplotlib-3.11.2-cp312-cp312-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:1b9a7ad579856284135e401ecc918c5f8a017ee30539298862a109f51b971710", size = 10670348, upload-time = "2026-09-11T19:03:28.108Z" }, + { url = "https://files.pythonhosted.org/packages/84/39/02e21b74f7439bd643d717ea846006d46e309e6d29b632b57751265311d6/matplotlib-3.11.2-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:3aa4b8516fd26659e4363abbf317c703d9116496c5db2e9d0609a2866dd39dd2", size = 10810580, upload-time = "2026-09-11T19:03:31.402Z" }, + { url = "https://files.pythonhosted.org/packages/04/93/0d239bde12b308262265c2d98909b2f0ecad2b5deeae96241642e822e9c7/matplotlib-3.11.2-cp312-cp312-win_amd64.whl", hash = "sha256:c5c1c68ee401fc98271263410f0e5ce88285abacf7627132914e8adf3d70ff43", size = 9349409, upload-time = "2026-09-11T19:03:34.195Z" }, + { url = "https://files.pythonhosted.org/packages/49/a8/06baf901c02246c8a222b655cc4540ef9c15e1549a04e07927f9cde716c3/matplotlib-3.11.2-cp312-cp312-win_arm64.whl", hash = "sha256:643ff850d8e0f5b8319337f87ed3cb59506afb3df3cc48de777d85871233be7b", size = 9028084, upload-time = "2026-09-11T19:03:37.032Z" }, + { url = "https://files.pythonhosted.org/packages/bf/ce/fc58855a3d17f6cb8a87b6f9ccd100f65432a3a7ffed57309cbf14c78987/matplotlib-3.11.2-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:7d43ff8cebb50840648cb6429b2228621dbd709010f3117b3740abb20abf21c0", size = 9476987, upload-time = "2026-09-11T19:03:40.17Z" }, + { url = "https://files.pythonhosted.org/packages/a9/29/2a47b700545aca050e0ed73c89ba21e08407e11f5f42a567421b220de6c1/matplotlib-3.11.2-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:2a8285cea8ef4d92aa041d1c33788bcae82248503300f93f1ca2136b9049452f", size = 9306050, upload-time = "2026-09-11T19:03:43.103Z" }, + { url = "https://files.pythonhosted.org/packages/a9/df/e7c10292f348cf55178a5b3c0092a38ea68891a3945f199ae8b7b8ac9dc1/matplotlib-3.11.2-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:1944895967f87c84c9b4bad29a707b31f5b36df4a3a2339ea1f8ea3ce5105539", size = 9861060, upload-time = "2026-09-11T19:03:46.044Z" }, + { url = "https://files.pythonhosted.org/packages/e4/b9/b978de6d43d47f1d4d8e653fac32c16d8d2e5f46bbbb822e26d7cb1adece/matplotlib-3.11.2-cp313-cp313-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:af2661f6ac6bbd1d081996f54fdd9385715c625ace8cec0869055c0cfbf38981", size = 10670885, upload-time = "2026-09-11T19:03:48.942Z" }, + { url = "https://files.pythonhosted.org/packages/a3/80/d72f61bb2631ac15d17fada1f17e0f99fecba69d8376d34f17cf93b7eddd/matplotlib-3.11.2-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:7e5a90f8a707ebb6004a713b1cff091a40cc5df4c7c1cb165e5a505ebc11c292", size = 10811222, upload-time = "2026-09-11T19:03:51.665Z" }, + { url = "https://files.pythonhosted.org/packages/94/2e/6d1d33f242c705b5c6c6fb3f0fc141add51cb1abb62912e59de0835d28c4/matplotlib-3.11.2-cp313-cp313-win_amd64.whl", hash = "sha256:bc067c462a86f0e57bf52fc6e058d90171a5420007dac00c46e90153050c69a7", size = 9349539, upload-time = "2026-09-11T19:03:54.534Z" }, + { url = "https://files.pythonhosted.org/packages/bb/bb/c0aa86a7f4c0e62f1c3c0711e361f6f23f87eb9018732a5e11994bd1b7ec/matplotlib-3.11.2-cp313-cp313-win_arm64.whl", hash = "sha256:3e8576f7c47e02fd4f21f44171302d2d1d58d4471d46da3d71fe8899d19539d9", size = 9028295, upload-time = "2026-09-11T19:03:57.261Z" }, + { url = "https://files.pythonhosted.org/packages/54/b4/4facdb700bc236e4c676495ca3798d8134ab8668cbfe0f6b2e9ebf962a38/matplotlib-3.11.2-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:c9721f81275499da1feeb36a2cf8192ea086283b3bd16b7dc4c9d7aedb7396d6", size = 9478976, upload-time = "2026-09-11T19:04:00.12Z" }, + { url = "https://files.pythonhosted.org/packages/4c/a0/bba05f0a25bfeb0475c2f2a87958b31103aa6b7a5386017afb1a96212825/matplotlib-3.11.2-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:1a3040b209f3968b4e84161df7b174f07a9fad33b0f2d7e48ea3bbd3075e2863", size = 9307932, upload-time = "2026-09-11T19:04:02.976Z" }, + { url = "https://files.pythonhosted.org/packages/d4/42/81d5cba4bb39b41b0998efc880e129f2d7cdb94256ca49678fdcd9c21be5/matplotlib-3.11.2-cp314-cp314-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:bf3fe71fbfb8ec0e310e0bc8537c3405a01f38f25f9394ed2135e6202fed542b", size = 10674370, upload-time = "2026-09-11T19:04:06.912Z" }, + { url = "https://files.pythonhosted.org/packages/29/5e/52f56f93d5b20815ee0ae352f7a38eff25580edb180b4fa7df87cfeba68f/matplotlib-3.11.2-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:8c8255de28f986d935a64c9ca71c0ec2d2f41d355691f5ea684725dc91413f71", size = 10954597, upload-time = "2026-09-11T19:04:09.948Z" }, + { url = "https://files.pythonhosted.org/packages/6e/ae/f8918a1b564db49c53cd603eb3c8748c5767e4ce0fb2cf1d7c38653e4c5d/matplotlib-3.11.2-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:a8756cc73d9af9a7fe0deb54ea2e75ef73b01d9e575877e72acad5458e660943", size = 10812583, upload-time = "2026-09-11T19:04:12.887Z" }, + { url = "https://files.pythonhosted.org/packages/ea/61/4315ef0d63937fe56f451887b4a0be3b8e8b22cf1d92a8d157caac54570d/matplotlib-3.11.2-cp314-cp314-win_amd64.whl", hash = "sha256:ecea603dd2fbf8242fd31a305a8b12a4ece2de28096870c65fdd0d1e35b8d9a6", size = 9505972, upload-time = "2026-09-11T19:04:15.788Z" }, + { url = "https://files.pythonhosted.org/packages/d5/00/02398b0a1a62ef73d9af0a957fe1773363eec9a6ca7e433c72ae2790fbce/matplotlib-3.11.2-cp314-cp314-win_arm64.whl", hash = "sha256:01dc8eaaab5a9fce9ff615eca82345728f289e4715b186ee10c6d85272fc26bb", size = 9184534, upload-time = "2026-09-11T19:04:18.691Z" }, + { url = "https://files.pythonhosted.org/packages/ec/c5/1e6ca10baa7e04f113c37856aadb4adc3dbb1c55fc7da6dc830bba1292d7/matplotlib-3.11.2-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:79a258f58253dfa025af80a9e9bb228d75fced007f0e93ae7423fefbde81a74d", size = 9526415, upload-time = "2026-09-11T19:04:21.39Z" }, + { url = "https://files.pythonhosted.org/packages/e0/93/7561727af07ccc84747953c6a33eee3981cc436d04f465032e707ca0e429/matplotlib-3.11.2-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:c0b83f044ce10a98027b105b3931548719a6e8c7ef986b4362651e0b5367c8dc", size = 9361064, upload-time = "2026-09-11T19:04:24.107Z" }, + { url = "https://files.pythonhosted.org/packages/c1/40/ce270ef2a6794d94a409fe28b8dabedffc07c07f9e5dbb89e0f605bd157d/matplotlib-3.11.2-cp314-cp314t-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:e43b188f0a5b75447bcc197728258166aa64365770ed1caa36595a5e1ca4bbba", size = 10684626, upload-time = "2026-09-11T19:04:27.201Z" }, + { url = "https://files.pythonhosted.org/packages/45/46/396e0307dbf1c1f2d0a3654caa6dbc780dd5379f5f11257369cf8d21d9fe/matplotlib-3.11.2-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:d3304eb5a59442a8867f6920d484591c0fa09ffc29e9260be2feec3351e25869", size = 10960602, upload-time = "2026-09-11T19:04:30.254Z" }, + { url = "https://files.pythonhosted.org/packages/1c/97/4defb84695477340aa88b27c9482cc1ca4de11f36f66b6c8c0ddd685def1/matplotlib-3.11.2-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:02329432ae5c6af87cf208ee575b701d698bdf0b1a3bb28cc6d53c36e967e575", size = 10822603, upload-time = "2026-09-11T19:04:32.964Z" }, + { url = "https://files.pythonhosted.org/packages/7d/e7/eab54551c1ec6b72dcd678a078b6c6da8d4c85ec1ff0016e81fe52866304/matplotlib-3.11.2-cp314-cp314t-win_amd64.whl", hash = "sha256:f2ac30cf5eb5dff1b584627ae0b0e1186551a4f69ae3c75073911da497a29170", size = 9551206, upload-time = "2026-09-11T19:04:35.811Z" }, + { url = "https://files.pythonhosted.org/packages/4e/0e/04698032cb4d8fb1e30d8ffec5ded20f6f582b03c8c58b2385c95245f158/matplotlib-3.11.2-cp314-cp314t-win_arm64.whl", hash = "sha256:cf41ecd1b0c0b6f7177ed965a54c2afbe888715c7cf6054dc12d53bc1494002c", size = 9234977, upload-time = "2026-09-11T19:04:38.972Z" }, + { url = "https://files.pythonhosted.org/packages/44/a9/ca827c184b87364378964e36e7c0ae23651d146fdbc4000635205490cf82/matplotlib-3.11.2-cp315-cp315-macosx_10_15_x86_64.whl", hash = "sha256:894a9cbbecbe30ae6787d464df2e8fc7a8d475cfc68f87c3029f7c11152899b3", size = 9478997, upload-time = "2026-09-11T19:04:41.914Z" }, + { url = "https://files.pythonhosted.org/packages/48/60/01aaafc9c3159f3fae9a65bbcddaa4a6d4d72b0aeffdd636d7f6d00a5c8d/matplotlib-3.11.2-cp315-cp315-macosx_11_0_arm64.whl", hash = "sha256:bbf1062991d826ed27e2144f3afa4461afbb8ff56e8f703043e191a8163b1ee9", size = 9307947, upload-time = "2026-09-11T19:04:44.834Z" }, + { url = "https://files.pythonhosted.org/packages/1e/a0/6aa72c7cd7cf4dfac652744d7a3310007cec3ce8e5ab9be607bec7096471/matplotlib-3.11.2-cp315-cp315-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:399fef672f7046ef7d6a57572b2a6f9845f3f5afcff04e7b2df7a363a9f42190", size = 10674370, upload-time = "2026-09-11T19:04:47.745Z" }, + { url = "https://files.pythonhosted.org/packages/a1/97/d7e90225ac145046787a2ee0fa4cdc7e4d5cb6772ea232130b10f8a4095a/matplotlib-3.11.2-cp315-cp315-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:cc82dde2a0d3e3ad472edce04897ad7146b8d8bfd1df8a32992eebb81af18fdc", size = 10954581, upload-time = "2026-09-11T19:04:50.712Z" }, + { url = "https://files.pythonhosted.org/packages/58/18/89cf056a9d2cae01f4b8baf01c7e809d613244fcdfa2a2acf28c1e0d79fa/matplotlib-3.11.2-cp315-cp315-musllinux_1_2_x86_64.whl", hash = "sha256:930efb28f59fda124e39265d177bab302625297bb147d2910de725a2fc2aef54", size = 10812605, upload-time = "2026-09-11T19:04:53.552Z" }, + { url = "https://files.pythonhosted.org/packages/9d/4d/c61b9f4c34af802d4d84e58803e009013d626b5f468bafe1416131863b5b/matplotlib-3.11.2-cp315-cp315-win_amd64.whl", hash = "sha256:3da3bc0cbf7245e7db72cc6d29d12c5abef72cb73059c73b945f14e3545f3eb2", size = 9506068, upload-time = "2026-09-11T19:04:56.519Z" }, + { url = "https://files.pythonhosted.org/packages/03/7b/047f2fa8708d47430d8e7fa45e9fffb0aee5d4e300f978e087be2ee11fbc/matplotlib-3.11.2-cp315-cp315-win_arm64.whl", hash = "sha256:f25446b2981717dca9786bac841cb3fd7efb568e3e3c755dd980481c5cb9228d", size = 9184576, upload-time = "2026-09-11T19:04:59.318Z" }, + { url = "https://files.pythonhosted.org/packages/03/6e/ad9c5989950785a98642667df265a47c6637e924cb69b5dcf68c3299ae7c/matplotlib-3.11.2-cp315-cp315t-macosx_10_15_x86_64.whl", hash = "sha256:fea03cf56568cc1cba08b470be6a0559e71c3a5b688d54b7179bb35ba23d0821", size = 9525988, upload-time = "2026-09-11T19:05:02.304Z" }, + { url = "https://files.pythonhosted.org/packages/a6/c3/25c61701fb655dd412428b15eee2591ce554cdd593e39a045a153373f428/matplotlib-3.11.2-cp315-cp315t-macosx_11_0_arm64.whl", hash = "sha256:254d4ddb2fa8df3b4c689c0c306063aee10521df82cfb438185e499c75fe37c1", size = 9360774, upload-time = "2026-09-11T19:05:05.092Z" }, + { url = "https://files.pythonhosted.org/packages/58/5a/4552878fce8f9d249a5e264c16f5c267c27eac08fb039fa3e207a06feff5/matplotlib-3.11.2-cp315-cp315t-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:e60cf3047a51edecdc4535a9196bbd6a732936b8e9f8184aabf4d16165884aaf", size = 10685892, upload-time = "2026-09-11T19:05:07.686Z" }, + { url = "https://files.pythonhosted.org/packages/af/dd/b3b19ec0124fc4aafd8a4b3bae859c562a7ff0fd8ae3b2099947f78bde19/matplotlib-3.11.2-cp315-cp315t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:eb3712dc9b464793de0a4e42a7313d50293c751f94bddaf7332a1bc71bccdda9", size = 10964946, upload-time = "2026-09-11T19:05:10.943Z" }, + { url = "https://files.pythonhosted.org/packages/7b/30/687ccce22f66a57fed85942450e88062773bcbf1a42914e70c7148ec71dc/matplotlib-3.11.2-cp315-cp315t-musllinux_1_2_x86_64.whl", hash = "sha256:75b6d88402770e181b5d06a67dda4129c31da7d05004d63a21c310ec78d1b83c", size = 10824960, upload-time = "2026-09-11T19:05:13.9Z" }, + { url = "https://files.pythonhosted.org/packages/d3/34/117fe35a8d05054b4b34d2d29287099927c24c3841d36e06d9fa2f20c1cf/matplotlib-3.11.2-cp315-cp315t-win_amd64.whl", hash = "sha256:a6939df7567114b6bac7f4c5e06c84a67f197c1b2f2e4b234d4eecb3bfec9482", size = 9551204, upload-time = "2026-09-11T19:05:16.48Z" }, + { url = "https://files.pythonhosted.org/packages/63/5a/9f440e7bec8b80d0af2a65d1165b2f4e718982dad785531f62255d9ff19b/matplotlib-3.11.2-cp315-cp315t-win_arm64.whl", hash = "sha256:d480038c83691532ed52ff3147db51fa902fc78cb2d8349993a1cdb684435bff", size = 9233946, upload-time = "2026-09-11T19:05:19.063Z" }, + { url = "https://files.pythonhosted.org/packages/0f/d9/a1218a31fa2d8082eb893548990ad09a2005ebda1b2b89dad88a8308e51a/matplotlib-3.11.2-pp311-pypy311_pp73-macosx_10_15_x86_64.whl", hash = "sha256:854df8d7dfe9fdffcbaa6f39e44a6c24b409cb4d7561fbc09213b157d833f6a6", size = 9457702, upload-time = "2026-09-11T19:05:22.086Z" }, + { url = "https://files.pythonhosted.org/packages/68/d7/a9fde05d87c3c853f233ec20c5b5c3a1c86035e1ed4bfa397cd54d46ec90/matplotlib-3.11.2-pp311-pypy311_pp73-macosx_11_0_arm64.whl", hash = "sha256:eac4b07d4e3743b172451e122ea964f72f152879d4f9adcf3f3d33e518f12ead", size = 9287753, upload-time = "2026-09-11T19:05:24.677Z" }, + { url = "https://files.pythonhosted.org/packages/ec/79/ea2ae4eab84f011c1dc8145864f78e5a63adda8efb95557ef36cc38e6da2/matplotlib-3.11.2-pp311-pypy311_pp73-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:7ef7a53b66780e5d942923724f08577fbc5be1f7322da0f0f3f9dcaa45dd803d", size = 9848259, upload-time = "2026-09-11T19:05:27.455Z" }, +] + +[[package]] +name = "matplotlib-inline" +version = "0.2.2" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "traitlets" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/bd/c0/9f7c9a46090390368a4d7bcb76bb87a4a36c421e4c0792cdb53486ffac7a/matplotlib_inline-0.2.2.tar.gz", hash = "sha256:72f3fe8fce36b70d4a5b612f899090cd0401deddc4ea90e1572b9f4bfb058c79", size = 8150, upload-time = "2026-05-08T17:33:33.49Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/41/09/5b161152e2d90f7b87f781c2e1267494aef9c32498df793f73ad0a0a494a/matplotlib_inline-0.2.2-py3-none-any.whl", hash = "sha256:3c821cf1c209f59fb2d2d64abbf5b23b67bcb2210d663f9918dd851c6da1fcf6", size = 9534, upload-time = "2026-05-08T17:33:32.055Z" }, +] + +[[package]] +name = "mdurl" +version = "0.1.2" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/d6/54/cfe61301667036ec958cb99bd3efefba235e65cdeb9c84d24a8293ba1d90/mdurl-0.1.2.tar.gz", hash = "sha256:bb413d29f5eea38f31dd4754dd7377d4465116fb207585f97bf925588687c1ba", size = 8729, upload-time = "2022-08-14T12:40:10.846Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/b3/38/89ba8ad64ae25be8de66a6d463314cf1eb366222074cfda9ee839c56a4b4/mdurl-0.1.2-py3-none-any.whl", hash = "sha256:84008a41e51615a49fc9966191ff91509e3c40b939176e643fd50a5c2196b8f8", size = 9979, upload-time = "2022-08-14T12:40:09.779Z" }, +] + +[[package]] +name = "mistune" +version = "3.3.4" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/7b/92/328a294a6de83bacb95bed01f04e0eaff4e3616ee359fc821a5dfc539b02/mistune-3.3.4.tar.gz", hash = "sha256:58b5c96d6fcb61190dfe5fae498d2b2065f99cf61e9649418fd54cf1ada86dfe", size = 121426, upload-time = "2026-07-22T05:22:30.89Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/77/e4/288365afae98953bc01de09f686f40d8ee84578135aa7767d5d4e60b5278/mistune-3.3.4-py3-none-any.whl", hash = "sha256:ee015381e955e370962968befe1d729ab60fafb6a715ac6751763fbce38c8d4a", size = 66862, upload-time = "2026-07-22T05:22:29.419Z" }, +] + +[[package]] +name = "mypy" +version = "2.4.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "ast-serialize" }, + { name = "librt", marker = "platform_python_implementation != 'PyPy'" }, + { name = "mypy-extensions" }, + { name = "pathspec" }, + { name = "typing-extensions" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/34/4e/64300736cf0a0373a27b94a91b664ee7382e36f77b0621bae6381da3e180/mypy-2.4.0.tar.gz", hash = "sha256:77bdaebd452f43fcfc4cc3ba94352a3ea537cd01e3f2d0879f48673d2ec00d6e", size = 4064425, upload-time = "2026-10-01T20:40:39.229Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/26/67/e53965e67d23d48e78dd603aa7525a8d77e7818c23954cc217ccde5cd5c0/mypy-2.4.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:5d20e6c7c35fcbf2a0ebdd0eaeacfbc243009dfd33ab7822d54e213912e6dbbd", size = 14315745, upload-time = "2026-10-01T20:39:25.03Z" }, + { url = "https://files.pythonhosted.org/packages/b1/5d/a588ccd57625822d8484d7aff4e9c70f88d042a91c2ec84324a2bc14b3f3/mypy-2.4.0-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:3011537be6cf1de4511c0255a324362a812b58184bbe61e15f59c8b31033bd74", size = 14465652, upload-time = "2026-10-01T20:38:57.19Z" }, + { url = "https://files.pythonhosted.org/packages/05/af/b4978a5566cb829ca563dc08e3ad8d944f116078786ad54ba3dff2bcb64d/mypy-2.4.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:a96b07a49b7b1d025ce59c1b3acbcf24bead9a83da4523c4a6bde1bb94e7a0e1", size = 15419180, upload-time = "2026-10-01T20:40:27.808Z" }, + { url = "https://files.pythonhosted.org/packages/b2/8c/52c71f31c54d0a749d832cc73b933c6e38c52d9b270d5503e031c73723dc/mypy-2.4.0-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:7c4f8f8d1d1c0e2832d8ee7113dd08f6df6c7aad9e863fcbed9f25832be0b8c4", size = 15669212, upload-time = "2026-10-01T20:39:20.443Z" }, + { url = "https://files.pythonhosted.org/packages/e8/55/ba63121494404fd7d3787ec176ccd02820d6ec125ac4e7c4c0b79f2cc6c7/mypy-2.4.0-cp311-cp311-win_amd64.whl", hash = "sha256:ba05652540bf12828e52abae807b024b09ca144ff4f75e2450a81d69c376425b", size = 11299572, upload-time = "2026-10-01T20:40:03.627Z" }, + { url = "https://files.pythonhosted.org/packages/9c/9c/385c81b5c0d3a2917f077c4da660d0493f9521ccfd4b058e33b860f72d02/mypy-2.4.0-cp311-cp311-win_arm64.whl", hash = "sha256:6306086b87cf7f8a29aa618d9fd9bffb56c59247166b9660fdb54d86d7714ecd", size = 10869751, upload-time = "2026-10-01T20:40:25.483Z" }, + { url = "https://files.pythonhosted.org/packages/68/ed/e5d7cf4017e74a1c1e1c4058ce8f614fc1e3e7606564f47166e22bfc9f95/mypy-2.4.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:e05ff2925d8b37ad26c80c1b9dc43ae5d455da2df1e23c24c095a6425917c57e", size = 14378593, upload-time = "2026-10-01T20:38:48.222Z" }, + { url = "https://files.pythonhosted.org/packages/30/7d/12d994886a922f0f1997becc9c6625198d61eeb5962558a886af7dd38d54/mypy-2.4.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:29243242cf72582b65f9582ad9e56e8cb281566ed3519f4cd70bb8b9f2977e90", size = 14464697, upload-time = "2026-10-01T20:39:11.059Z" }, + { url = "https://files.pythonhosted.org/packages/f3/9e/bcc9af755425ad17790bf11d73c2ea7592914cf309ee1340997670f9d57a/mypy-2.4.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:29eb0b9427a6b11b992e452f6cceb8af724f4dceb47e779d0b35e405e996ea5e", size = 15552257, upload-time = "2026-10-01T20:39:56.269Z" }, + { url = "https://files.pythonhosted.org/packages/af/0c/3343fc4525d6f00d75ad17a93a9f052d5163641cb8911840d4a12cb59ff2/mypy-2.4.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:e3ebe2f72a2a1156065a9851570ffbf50c0a93cdccadef9c6e05c508a4fd10b1", size = 15800443, upload-time = "2026-10-01T20:38:54.815Z" }, + { url = "https://files.pythonhosted.org/packages/8f/0e/69aac6b8159da7c53e6115a2be1bf48e85503402cadbf506dd708e8b2ad7/mypy-2.4.0-cp312-cp312-win_amd64.whl", hash = "sha256:236e0d68f6941992b0811128e652590f590db444ab29ad8f1324765b9298b946", size = 11381574, upload-time = "2026-10-01T20:39:49.406Z" }, + { url = "https://files.pythonhosted.org/packages/6e/d3/d32ce4feb5993eec09d2024bef16cedc9b93701b1446b86092f08b24491b/mypy-2.4.0-cp312-cp312-win_arm64.whl", hash = "sha256:82d0f94c8587ccb472622ee7795280aaa38a06640d5f45b3f16909d6dd86a989", size = 10944729, upload-time = "2026-10-01T20:40:15.203Z" }, + { url = "https://files.pythonhosted.org/packages/44/f2/eb15183c97c69d7cbfac990a6efd33a19ecfd97dab9e714c742fa78a784f/mypy-2.4.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:7da85fbcff6dac1abcc636707bed38b45598131fb7a605d9719c70b5cc733af8", size = 14213395, upload-time = "2026-10-01T20:40:21.178Z" }, + { url = "https://files.pythonhosted.org/packages/8c/b5/ba91b6ff65e4d6b6ff53b2b3b3ac5f1babf0c7c27d0b43a0196b1c967926/mypy-2.4.0-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:4209da39d85cf240f762af622d8180fcdfcb4727d021f44ade62d613a1a43324", size = 14373009, upload-time = "2026-10-01T20:39:58.86Z" }, + { url = "https://files.pythonhosted.org/packages/d5/c4/484275efc935c0003e55e4e8a33e4b8e99528ee956c12256ece4708f903f/mypy-2.4.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:6be721bd4bd57576193653b75b4af3461c9d0bf7dd8b528f782e9be210dc75bb", size = 15465557, upload-time = "2026-10-01T20:39:01.794Z" }, + { url = "https://files.pythonhosted.org/packages/50/30/66eb6fdd0875e3c9025a02f0bb0ea2e524b74274b658c37fde0068c4939d/mypy-2.4.0-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:e1fde197ae65be856a034a91b70ed747a16562ca69577785f06c661548424bf1", size = 15728673, upload-time = "2026-10-01T20:38:43.724Z" }, + { url = "https://files.pythonhosted.org/packages/58/bc/2aa98fd7f49c42dba8e9c065886fadffdd00f3c654cff3f2a7103a797ac8/mypy-2.4.0-cp313-cp313-win_amd64.whl", hash = "sha256:295ecf2e57542cd836ca537486951289678c8c7d1ee6ad74ebe29b2168a003cf", size = 11389803, upload-time = "2026-10-01T20:39:37.547Z" }, + { url = "https://files.pythonhosted.org/packages/49/41/17b60df2d946792ef6af43b89351f5c9ddabc69053206b2304945572a744/mypy-2.4.0-cp313-cp313-win_arm64.whl", hash = "sha256:bc378bdad4e9f12b5bd96466083d1e71acf00594ec9c7b2bdb5e02816f77f303", size = 10951060, upload-time = "2026-10-01T20:39:04.015Z" }, + { url = "https://files.pythonhosted.org/packages/e0/66/924be0b653372ed31ad5c48e26044cc00840e591943a56e61621cf05b60e/mypy-2.4.0-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:058165f564ccf559c68c70fec2091fca5891110480210c22594635e3f6683437", size = 14234230, upload-time = "2026-10-01T20:39:44.535Z" }, + { url = "https://files.pythonhosted.org/packages/56/39/c4f176880a4177123576de6cec6309feea8f42fca2bf2f6584e88054f656/mypy-2.4.0-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:9fa247e02b505a45a2775f69df38d360d197e3790bc60f717595db9eda358b6e", size = 14392944, upload-time = "2026-10-01T20:40:05.78Z" }, + { url = "https://files.pythonhosted.org/packages/bc/1c/26e16977e25ef2494a74f8ffc872a76ec2c3aa43c3156057cbdf88f352c5/mypy-2.4.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:20e9a5cd875837520c43db98dea0b6d0c2197833d95c30127d8f570fb9b1f00b", size = 15441463, upload-time = "2026-10-01T20:40:32.412Z" }, + { url = "https://files.pythonhosted.org/packages/31/9c/9e4b049f0ecefbfd6817ca2a16eea55dd74a07950268edc6cffd29ccfe98/mypy-2.4.0-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:9f03a7828cca2b0adcd6662aee8f2711ff8830e1027641fdea3ab0b787483566", size = 15705406, upload-time = "2026-10-01T20:40:34.844Z" }, + { url = "https://files.pythonhosted.org/packages/4a/5e/e861b5f6c5ef9ee6cd24683aed1edecf82a26dbd536049f9b7850b586267/mypy-2.4.0-cp314-cp314-pyemscripten_2026_0_wasm32.whl", hash = "sha256:9279488933040b638c0ab739084c0ca100efeea6db581bf5d7628d8e89de53fe", size = 7897523, upload-time = "2026-10-01T20:39:39.861Z" }, + { url = "https://files.pythonhosted.org/packages/3a/87/61ffee58b25a956532a6006fae84918a2de849ed25f397492b2e815fe7b3/mypy-2.4.0-cp314-cp314-win_amd64.whl", hash = "sha256:2106b55105ba5ea9be4f53a24517fc5fa927ff1585edc9bc1a975abb72caef89", size = 11576345, upload-time = "2026-10-01T20:39:41.553Z" }, + { url = "https://files.pythonhosted.org/packages/a1/88/a331c20698971c2ce8d1c30f317fd61b5be13a85b1f053e12dfa22ac6568/mypy-2.4.0-cp314-cp314-win_arm64.whl", hash = "sha256:528c8744b8b5e3ecb8774f86af38d2376216816e9908317ad055f3c9c2d74799", size = 11172062, upload-time = "2026-10-01T20:38:59.534Z" }, + { url = "https://files.pythonhosted.org/packages/47/c0/4f7daa73270dced8e86c6f4a911c68082d03a84e6c1ec9bd916028d66131/mypy-2.4.0-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:0bb95cf34899e4619c61ab0a8667804e139e580b30d5df12af2102dfe44d0c97", size = 15711208, upload-time = "2026-10-01T20:39:30.597Z" }, + { url = "https://files.pythonhosted.org/packages/2f/05/f1afa303c678be24cf7a266d38fb24b3de4599a024c2f9ba0d5905a3efa3/mypy-2.4.0-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:86d616fe84c6eab8026f8c50ab5bcb90db780d2ccd233d971e34e92bede9b359", size = 15935442, upload-time = "2026-10-01T20:39:22.781Z" }, + { url = "https://files.pythonhosted.org/packages/9d/d6/6a1a45459b63716e0d035f4892a926d3054f0a8cbfa02551d228a9946083/mypy-2.4.0-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:a3f86fd1313dd69d013e265f1fdcd12ea7a9d606f9875b2a3db946cd334555f3", size = 17240044, upload-time = "2026-10-01T20:39:32.95Z" }, + { url = "https://files.pythonhosted.org/packages/87/85/ae33bee66c13f98d421964d87bf0888be941063bc75c1204a4cf142cf1cc/mypy-2.4.0-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:720434d48542ecfe84d32d287b727569d3fc8f5769acd39051130e490a5c295c", size = 17545856, upload-time = "2026-10-01T20:39:08.827Z" }, + { url = "https://files.pythonhosted.org/packages/df/de/eeff209b65c3e267818d79333bb9f058da6e4e73761461bd94748a2eb628/mypy-2.4.0-cp314-cp314t-win_amd64.whl", hash = "sha256:a6e851b82c0661f69f1630fc16172c68787a6a9cf0991e7c6437d60976cdcd76", size = 12369342, upload-time = "2026-10-01T20:40:10.516Z" }, + { url = "https://files.pythonhosted.org/packages/2b/43/e62d8d5c1dd737aa248968302ff7d6eabf997c3301773ed8bcb64932ca77/mypy-2.4.0-cp314-cp314t-win_arm64.whl", hash = "sha256:3bd0e340f0ebe65c548210f53be3fd8192e83964760caf0c28bef368e68b0d37", size = 11849099, upload-time = "2026-10-01T20:39:51.834Z" }, + { url = "https://files.pythonhosted.org/packages/2e/5f/335b8980055118dc131355155883fb676bb2161a0d97e08658e479c776fb/mypy-2.4.0-cp315-cp315-macosx_11_0_arm64.whl", hash = "sha256:afa89837d9be67e0cadfa33bca3bb7efdda98c3b07e74dc3b635ebfb1c8a926a", size = 14241302, upload-time = "2026-10-01T20:39:13.227Z" }, + { url = "https://files.pythonhosted.org/packages/18/37/1482fdc49332b145828912b15f16eee0c4ca70a8bce0f6514ece79b14680/mypy-2.4.0-cp315-cp315-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:fb443e81057896132d3642d6be219e6efd158691ac7883e3ba8fcb469865f05d", size = 14408200, upload-time = "2026-10-01T20:38:52.576Z" }, + { url = "https://files.pythonhosted.org/packages/04/09/dce2e8f6c1b31053c430ef6963f6f7a38ccb49b90c5e01e37ed0129b7d5a/mypy-2.4.0-cp315-cp315-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:7f38f57d344f8b6accb40e01c3d83cfc590498231724d16c07ffb7940f157818", size = 15444409, upload-time = "2026-10-01T20:39:18.1Z" }, + { url = "https://files.pythonhosted.org/packages/43/c5/91b68306da4cd280cb15be35dbb5ffc343cabd67c4b121b6625bf2d13177/mypy-2.4.0-cp315-cp315-musllinux_1_2_x86_64.whl", hash = "sha256:e76172710bd4e5eeae061abfd68347e5264632e02778be61784671ae3a2132f5", size = 15731186, upload-time = "2026-10-01T20:40:23.426Z" }, + { url = "https://files.pythonhosted.org/packages/64/71/2d0340182a8f27352fb1e25531355951108b506097c433937e9eec452ffd/mypy-2.4.0-cp315-cp315-pyemscripten_2026_5_wasm32.whl", hash = "sha256:f83353e47ab520bf6fd4df8f5897d9fe081211f2fbc4b7d37736a3e3c166cbcf", size = 7897838, upload-time = "2026-10-01T20:38:50.779Z" }, + { url = "https://files.pythonhosted.org/packages/3e/08/32703c117e134c02efa2a82705bb40cee91eaedea10b6530e20eba651b1f/mypy-2.4.0-cp315-cp315-win_amd64.whl", hash = "sha256:970b221ed5842213d98e3c480c08f795ace4b1f81fb21e1b126bd0476bce1c34", size = 11575700, upload-time = "2026-10-01T20:39:53.982Z" }, + { url = "https://files.pythonhosted.org/packages/ab/08/08bb269feafdaad031046ee2d771528a64467e6a180f962afc28c4a3ccd8/mypy-2.4.0-cp315-cp315-win_arm64.whl", hash = "sha256:502b94b0b331f7dafe32fd6b151797ddbb4f32385b362e722c783a025e5954a3", size = 11172908, upload-time = "2026-10-01T20:40:12.91Z" }, + { url = "https://files.pythonhosted.org/packages/fb/3f/c5c92626006ca92c7686adfbece47fc6a0daa0e54753952a9ad13ce0561c/mypy-2.4.0-cp315-cp315t-macosx_11_0_arm64.whl", hash = "sha256:c9de622fd397495695d0598ddc789222bfcfec9d7c9ec3a1e385c855e3bc5e01", size = 15705970, upload-time = "2026-10-01T20:40:17.79Z" }, + { url = "https://files.pythonhosted.org/packages/10/f3/863365f7997a76a5a1dd42d7902ab05afa4124e8419089cbca1ce2554db1/mypy-2.4.0-cp315-cp315t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:9f459f0b4f0596d9d51fe7716b404b35287b99e77da98a7af90a65dd5fd61141", size = 15942234, upload-time = "2026-10-01T20:40:37.243Z" }, + { url = "https://files.pythonhosted.org/packages/f6/30/2f45b1f425a2c95dbe1a3f4d076bfd42b76e9615dba5906230703b14e4eb/mypy-2.4.0-cp315-cp315t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:f9b028548b3af480e2b1ed8df14ccaac86f99c9f600d1580770ab7ba3dcd40f0", size = 17218364, upload-time = "2026-10-01T20:39:06.497Z" }, + { url = "https://files.pythonhosted.org/packages/43/8b/5b2bbfc69e84800b78fa2dba16d995b003f93b573558e412c5490d6e6c37/mypy-2.4.0-cp315-cp315t-musllinux_1_2_x86_64.whl", hash = "sha256:cb734b2668c1f40d07ce093bbeb4407e9527c67901627b0e1679825be3f09975", size = 17557934, upload-time = "2026-10-01T20:38:46.077Z" }, + { url = "https://files.pythonhosted.org/packages/df/c0/1a5dc601c22041a7bbfe1ff71cf097fbbd4fb49930867c6789baf5102106/mypy-2.4.0-cp315-cp315t-win_amd64.whl", hash = "sha256:172e30b8fea631fe310f0c665477f52d9ea40bb4e99e0c81dc30118563b13710", size = 12350955, upload-time = "2026-10-01T20:40:01.52Z" }, + { url = "https://files.pythonhosted.org/packages/1c/bc/697e9e26fc2a86c094ad67ee1e419971b7f01ded66ee66231b09e9f3e12e/mypy-2.4.0-cp315-cp315t-win_arm64.whl", hash = "sha256:5786ef987b3767e51aaa53f20aec104c0252b42ecda7aef8e8b4cbae279b05c5", size = 11842738, upload-time = "2026-10-01T20:40:30.026Z" }, + { url = "https://files.pythonhosted.org/packages/81/12/46ae8670c98a3cd0286ca5645c2f918f8f6be65edfed81b916010619f668/mypy-2.4.0-py3-none-any.whl", hash = "sha256:d01c5d26a352acc6d5cf3128225477e1e8465e8d3029d4c345807fbf7f3cf093", size = 2800734, upload-time = "2026-10-01T20:39:26.837Z" }, +] + +[[package]] +name = "mypy-extensions" +version = "1.1.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/a2/6e/371856a3fb9d31ca8dac321cda606860fa4548858c0cc45d9d1d4ca2628b/mypy_extensions-1.1.0.tar.gz", hash = "sha256:52e68efc3284861e772bbcd66823fde5ae21fd2fdb51c62a211403730b916558", size = 6343, upload-time = "2025-04-22T14:54:24.164Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/79/7b/2c79738432f5c924bef5071f933bcc9efd0473bac3b4aa584a6f7c1c8df8/mypy_extensions-1.1.0-py3-none-any.whl", hash = "sha256:1be4cccdb0f2482337c4743e60421de3a356cd97508abadd57d47403e94f5505", size = 4963, upload-time = "2025-04-22T14:54:22.983Z" }, +] + +[[package]] +name = "nbclient" +version = "0.11.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "jupyter-client" }, + { name = "jupyter-core" }, + { name = "nbformat" }, + { name = "traitlets" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/28/a5/b3bae4b590c0cbcada2c63a34f7580024e834a8ba213e949a2f906705787/nbclient-0.11.0.tar.gz", hash = "sha256:04a134a5b087f2c5887f228aca155db50169b8cd9334dee6942c8e927e56081a", size = 62535, upload-time = "2026-06-05T07:52:41.746Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/36/c9/94d73e5a01c5b926c3fa2496e97d7a8dc28ed5a77c0b2ed712f1a62e6694/nbclient-0.11.0-py3-none-any.whl", hash = "sha256:ef7fa0d59d6e1d41103933d8a445a18d5de860ca6b613b87b8574accdb3c2895", size = 25288, upload-time = "2026-06-05T07:52:40.115Z" }, +] + +[[package]] +name = "nbconvert" +version = "7.17.1" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "beautifulsoup4" }, + { name = "bleach", extra = ["css"] }, + { name = "defusedxml" }, + { name = "jinja2" }, + { name = "jupyter-core" }, + { name = "jupyterlab-pygments" }, + { name = "markupsafe" }, + { name = "mistune" }, + { name = "nbclient" }, + { name = "nbformat" }, + { name = "packaging" }, + { name = "pandocfilters" }, + { name = "pygments" }, + { name = "traitlets" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/01/b1/708e53fe2e429c103c6e6e159106bcf0357ac41aa4c28772bd8402339051/nbconvert-7.17.1.tar.gz", hash = "sha256:34d0d0a7e73ce3cbab6c5aae8f4f468797280b01fd8bd2ca746da8569eddd7d2", size = 865311, upload-time = "2026-04-08T00:44:14.914Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/67/f8/bb0a9d5f46819c821dc1f004aa2cc29b1d91453297dbf5ff20470f00f193/nbconvert-7.17.1-py3-none-any.whl", hash = "sha256:aa85c087b435e7bf1ffd03319f658e285f2b89eccab33bc1ba7025495ab3e7c8", size = 261927, upload-time = "2026-04-08T00:44:12.845Z" }, +] + +[[package]] +name = "nbformat" +version = "5.11.1" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "fastjsonschema" }, + { name = "jsonschema" }, + { name = "jupyter-core" }, + { name = "traitlets" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/31/72/b3446efab8756e7df4b8ec587f8e611cb5a7249e4323db480802f1d3be04/nbformat-5.11.1.tar.gz", hash = "sha256:32d4521c68c6e7d5b29c76defaeed9f42ea733142b9b19f88277ce10390b9c4d", size = 147775, upload-time = "2026-08-17T08:10:51.942Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/1a/69/ee613f74085ca7103f79cd08d579c4f3177d1d26e5d3d9528d2d6536a707/nbformat-5.11.1-py3-none-any.whl", hash = "sha256:cc6698fa75f4fab8755ead786317815f13a6fee3b53311c0abb1a8b51d52f7ec", size = 79849, upload-time = "2026-08-17T08:10:50.18Z" }, +] + +[[package]] +name = "nest-asyncio2" +version = "1.7.3" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/5e/a6/a2775b388a14b5ea0c894bbe513c0d3e04e65e8ae583e60f5357722b8e03/nest_asyncio2-1.7.3.tar.gz", hash = "sha256:2e9a84d5d1efe6d020c72988d21aec569bac42d98af2ff6b9de24640c5d22a34", size = 15642, upload-time = "2026-09-22T17:15:06.709Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/29/dd/a8bebc78975a7466932077a0973cbab4361a32368b1d28d40683ec19333c/nest_asyncio2-1.7.3-py3-none-any.whl", hash = "sha256:2bc87bdca654e719425145f5e84eaeb0080b013fdd47d65729a7d66243f4987c", size = 8364, upload-time = "2026-09-22T17:15:05.492Z" }, +] + +[[package]] +name = "notebook-shim" +version = "0.2.4" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "jupyter-server" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/54/d2/92fa3243712b9a3e8bafaf60aac366da1cada3639ca767ff4b5b3654ec28/notebook_shim-0.2.4.tar.gz", hash = "sha256:b4b2cfa1b65d98307ca24361f5b30fe785b53c3fd07b7a47e89acb5e6ac638cb", size = 13167, upload-time = "2024-02-14T23:35:18.353Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/f9/33/bd5b9137445ea4b680023eb0469b2bb969d61303dedb2aac6560ff3d14a1/notebook_shim-0.2.4-py3-none-any.whl", hash = "sha256:411a5be4e9dc882a074ccbcae671eda64cceb068767e9a3419096986560e1cef", size = 13307, upload-time = "2024-02-14T23:35:16.286Z" }, +] + +[[package]] +name = "numpy" +version = "2.3.5" +source = { registry = "https://pypi.org/simple" } +resolution-markers = [ + "python_full_version < '3.12'", +] +sdist = { url = "https://files.pythonhosted.org/packages/76/65/21b3bc86aac7b8f2862db1e808f1ea22b028e30a225a34a5ede9bf8678f2/numpy-2.3.5.tar.gz", hash = "sha256:784db1dcdab56bf0517743e746dfb0f885fc68d948aba86eeec2cba234bdf1c0", size = 20584950, upload-time = "2025-11-16T22:52:42.067Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/43/77/84dd1d2e34d7e2792a236ba180b5e8fcc1e3e414e761ce0253f63d7f572e/numpy-2.3.5-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:de5672f4a7b200c15a4127042170a694d4df43c992948f5e1af57f0174beed10", size = 17034641, upload-time = "2025-11-16T22:49:19.336Z" }, + { url = "https://files.pythonhosted.org/packages/2a/ea/25e26fa5837106cde46ae7d0b667e20f69cbbc0efd64cba8221411ab26ae/numpy-2.3.5-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:acfd89508504a19ed06ef963ad544ec6664518c863436306153e13e94605c218", size = 12528324, upload-time = "2025-11-16T22:49:22.582Z" }, + { url = "https://files.pythonhosted.org/packages/4d/1a/e85f0eea4cf03d6a0228f5c0256b53f2df4bc794706e7df019fc622e47f1/numpy-2.3.5-cp311-cp311-macosx_14_0_arm64.whl", hash = "sha256:ffe22d2b05504f786c867c8395de703937f934272eb67586817b46188b4ded6d", size = 5356872, upload-time = "2025-11-16T22:49:25.408Z" }, + { url = "https://files.pythonhosted.org/packages/5c/bb/35ef04afd567f4c989c2060cde39211e4ac5357155c1833bcd1166055c61/numpy-2.3.5-cp311-cp311-macosx_14_0_x86_64.whl", hash = "sha256:872a5cf366aec6bb1147336480fef14c9164b154aeb6542327de4970282cd2f5", size = 6893148, upload-time = "2025-11-16T22:49:27.549Z" }, + { url = "https://files.pythonhosted.org/packages/f2/2b/05bbeb06e2dff5eab512dfc678b1cc5ee94d8ac5956a0885c64b6b26252b/numpy-2.3.5-cp311-cp311-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:3095bdb8dd297e5920b010e96134ed91d852d81d490e787beca7e35ae1d89cf7", size = 14557282, upload-time = "2025-11-16T22:49:30.964Z" }, + { url = "https://files.pythonhosted.org/packages/65/fb/2b23769462b34398d9326081fad5655198fcf18966fcb1f1e49db44fbf31/numpy-2.3.5-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:8cba086a43d54ca804ce711b2a940b16e452807acebe7852ff327f1ecd49b0d4", size = 16897903, upload-time = "2025-11-16T22:49:34.191Z" }, + { url = "https://files.pythonhosted.org/packages/ac/14/085f4cf05fc3f1e8aa95e85404e984ffca9b2275a5dc2b1aae18a67538b8/numpy-2.3.5-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:6cf9b429b21df6b99f4dee7a1218b8b7ffbbe7df8764dc0bd60ce8a0708fed1e", size = 16341672, upload-time = "2025-11-16T22:49:37.2Z" }, + { url = "https://files.pythonhosted.org/packages/6f/3b/1f73994904142b2aa290449b3bb99772477b5fd94d787093e4f24f5af763/numpy-2.3.5-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:396084a36abdb603546b119d96528c2f6263921c50df3c8fd7cb28873a237748", size = 18838896, upload-time = "2025-11-16T22:49:39.727Z" }, + { url = "https://files.pythonhosted.org/packages/cd/b9/cf6649b2124f288309ffc353070792caf42ad69047dcc60da85ee85fea58/numpy-2.3.5-cp311-cp311-win32.whl", hash = "sha256:b0c7088a73aef3d687c4deef8452a3ac7c1be4e29ed8bf3b366c8111128ac60c", size = 6563608, upload-time = "2025-11-16T22:49:42.079Z" }, + { url = "https://files.pythonhosted.org/packages/aa/44/9fe81ae1dcc29c531843852e2874080dc441338574ccc4306b39e2ff6e59/numpy-2.3.5-cp311-cp311-win_amd64.whl", hash = "sha256:a414504bef8945eae5f2d7cb7be2d4af77c5d1cb5e20b296c2c25b61dff2900c", size = 13078442, upload-time = "2025-11-16T22:49:43.99Z" }, + { url = "https://files.pythonhosted.org/packages/6d/a7/f99a41553d2da82a20a2f22e93c94f928e4490bb447c9ff3c4ff230581d3/numpy-2.3.5-cp311-cp311-win_arm64.whl", hash = "sha256:0cd00b7b36e35398fa2d16af7b907b65304ef8bb4817a550e06e5012929830fa", size = 10458555, upload-time = "2025-11-16T22:49:47.092Z" }, + { url = "https://files.pythonhosted.org/packages/44/37/e669fe6cbb2b96c62f6bbedc6a81c0f3b7362f6a59230b23caa673a85721/numpy-2.3.5-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:74ae7b798248fe62021dbf3c914245ad45d1a6b0cb4a29ecb4b31d0bfbc4cc3e", size = 16733873, upload-time = "2025-11-16T22:49:49.84Z" }, + { url = "https://files.pythonhosted.org/packages/c5/65/df0db6c097892c9380851ab9e44b52d4f7ba576b833996e0080181c0c439/numpy-2.3.5-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:ee3888d9ff7c14604052b2ca5535a30216aa0a58e948cdd3eeb8d3415f638769", size = 12259838, upload-time = "2025-11-16T22:49:52.863Z" }, + { url = "https://files.pythonhosted.org/packages/5b/e1/1ee06e70eb2136797abe847d386e7c0e830b67ad1d43f364dd04fa50d338/numpy-2.3.5-cp312-cp312-macosx_14_0_arm64.whl", hash = "sha256:612a95a17655e213502f60cfb9bf9408efdc9eb1d5f50535cc6eb365d11b42b5", size = 5088378, upload-time = "2025-11-16T22:49:55.055Z" }, + { url = "https://files.pythonhosted.org/packages/6d/9c/1ca85fb86708724275103b81ec4cf1ac1d08f465368acfc8da7ab545bdae/numpy-2.3.5-cp312-cp312-macosx_14_0_x86_64.whl", hash = "sha256:3101e5177d114a593d79dd79658650fe28b5a0d8abeb8ce6f437c0e6df5be1a4", size = 6628559, upload-time = "2025-11-16T22:49:57.371Z" }, + { url = "https://files.pythonhosted.org/packages/74/78/fcd41e5a0ce4f3f7b003da85825acddae6d7ecb60cf25194741b036ca7d6/numpy-2.3.5-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:8b973c57ff8e184109db042c842423ff4f60446239bd585a5131cc47f06f789d", size = 14250702, upload-time = "2025-11-16T22:49:59.632Z" }, + { url = "https://files.pythonhosted.org/packages/b6/23/2a1b231b8ff672b4c450dac27164a8b2ca7d9b7144f9c02d2396518352eb/numpy-2.3.5-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:0d8163f43acde9a73c2a33605353a4f1bc4798745a8b1d73183b28e5b435ae28", size = 16606086, upload-time = "2025-11-16T22:50:02.127Z" }, + { url = "https://files.pythonhosted.org/packages/a0/c5/5ad26fbfbe2012e190cc7d5003e4d874b88bb18861d0829edc140a713021/numpy-2.3.5-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:51c1e14eb1e154ebd80e860722f9e6ed6ec89714ad2db2d3aa33c31d7c12179b", size = 16025985, upload-time = "2025-11-16T22:50:04.536Z" }, + { url = "https://files.pythonhosted.org/packages/d2/fa/dd48e225c46c819288148d9d060b047fd2a6fb1eb37eae25112ee4cb4453/numpy-2.3.5-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:b46b4ec24f7293f23adcd2d146960559aaf8020213de8ad1909dba6c013bf89c", size = 18542976, upload-time = "2025-11-16T22:50:07.557Z" }, + { url = "https://files.pythonhosted.org/packages/05/79/ccbd23a75862d95af03d28b5c6901a1b7da4803181513d52f3b86ed9446e/numpy-2.3.5-cp312-cp312-win32.whl", hash = "sha256:3997b5b3c9a771e157f9aae01dd579ee35ad7109be18db0e85dbdbe1de06e952", size = 6285274, upload-time = "2025-11-16T22:50:10.746Z" }, + { url = "https://files.pythonhosted.org/packages/2d/57/8aeaf160312f7f489dea47ab61e430b5cb051f59a98ae68b7133ce8fa06a/numpy-2.3.5-cp312-cp312-win_amd64.whl", hash = "sha256:86945f2ee6d10cdfd67bcb4069c1662dd711f7e2a4343db5cecec06b87cf31aa", size = 12782922, upload-time = "2025-11-16T22:50:12.811Z" }, + { url = "https://files.pythonhosted.org/packages/78/a6/aae5cc2ca78c45e64b9ef22f089141d661516856cf7c8a54ba434576900d/numpy-2.3.5-cp312-cp312-win_arm64.whl", hash = "sha256:f28620fe26bee16243be2b7b874da327312240a7cdc38b769a697578d2100013", size = 10194667, upload-time = "2025-11-16T22:50:16.16Z" }, + { url = "https://files.pythonhosted.org/packages/db/69/9cde09f36da4b5a505341180a3f2e6fadc352fd4d2b7096ce9778db83f1a/numpy-2.3.5-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:d0f23b44f57077c1ede8c5f26b30f706498b4862d3ff0a7298b8411dd2f043ff", size = 16728251, upload-time = "2025-11-16T22:50:19.013Z" }, + { url = "https://files.pythonhosted.org/packages/79/fb/f505c95ceddd7027347b067689db71ca80bd5ecc926f913f1a23e65cf09b/numpy-2.3.5-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:aa5bc7c5d59d831d9773d1170acac7893ce3a5e130540605770ade83280e7188", size = 12254652, upload-time = "2025-11-16T22:50:21.487Z" }, + { url = "https://files.pythonhosted.org/packages/78/da/8c7738060ca9c31b30e9301ee0cf6c5ffdbf889d9593285a1cead337f9a5/numpy-2.3.5-cp313-cp313-macosx_14_0_arm64.whl", hash = "sha256:ccc933afd4d20aad3c00bcef049cb40049f7f196e0397f1109dba6fed63267b0", size = 5083172, upload-time = "2025-11-16T22:50:24.562Z" }, + { url = "https://files.pythonhosted.org/packages/a4/b4/ee5bb2537fb9430fd2ef30a616c3672b991a4129bb1c7dcc42aa0abbe5d7/numpy-2.3.5-cp313-cp313-macosx_14_0_x86_64.whl", hash = "sha256:afaffc4393205524af9dfa400fa250143a6c3bc646c08c9f5e25a9f4b4d6a903", size = 6622990, upload-time = "2025-11-16T22:50:26.47Z" }, + { url = "https://files.pythonhosted.org/packages/95/03/dc0723a013c7d7c19de5ef29e932c3081df1c14ba582b8b86b5de9db7f0f/numpy-2.3.5-cp313-cp313-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:9c75442b2209b8470d6d5d8b1c25714270686f14c749028d2199c54e29f20b4d", size = 14248902, upload-time = "2025-11-16T22:50:28.861Z" }, + { url = "https://files.pythonhosted.org/packages/f5/10/ca162f45a102738958dcec8023062dad0cbc17d1ab99d68c4e4a6c45fb2b/numpy-2.3.5-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:11e06aa0af8c0f05104d56450d6093ee639e15f24ecf62d417329d06e522e017", size = 16597430, upload-time = "2025-11-16T22:50:31.56Z" }, + { url = "https://files.pythonhosted.org/packages/2a/51/c1e29be863588db58175175f057286900b4b3327a1351e706d5e0f8dd679/numpy-2.3.5-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:ed89927b86296067b4f81f108a2271d8926467a8868e554eaf370fc27fa3ccaf", size = 16024551, upload-time = "2025-11-16T22:50:34.242Z" }, + { url = "https://files.pythonhosted.org/packages/83/68/8236589d4dbb87253d28259d04d9b814ec0ecce7cb1c7fed29729f4c3a78/numpy-2.3.5-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:51c55fe3451421f3a6ef9a9c1439e82101c57a2c9eab9feb196a62b1a10b58ce", size = 18533275, upload-time = "2025-11-16T22:50:37.651Z" }, + { url = "https://files.pythonhosted.org/packages/40/56/2932d75b6f13465239e3b7b7e511be27f1b8161ca2510854f0b6e521c395/numpy-2.3.5-cp313-cp313-win32.whl", hash = "sha256:1978155dd49972084bd6ef388d66ab70f0c323ddee6f693d539376498720fb7e", size = 6277637, upload-time = "2025-11-16T22:50:40.11Z" }, + { url = "https://files.pythonhosted.org/packages/0c/88/e2eaa6cffb115b85ed7c7c87775cb8bcf0816816bc98ca8dbfa2ee33fe6e/numpy-2.3.5-cp313-cp313-win_amd64.whl", hash = "sha256:00dc4e846108a382c5869e77c6ed514394bdeb3403461d25a829711041217d5b", size = 12779090, upload-time = "2025-11-16T22:50:42.503Z" }, + { url = "https://files.pythonhosted.org/packages/8f/88/3f41e13a44ebd4034ee17baa384acac29ba6a4fcc2aca95f6f08ca0447d1/numpy-2.3.5-cp313-cp313-win_arm64.whl", hash = "sha256:0472f11f6ec23a74a906a00b48a4dcf3849209696dff7c189714511268d103ae", size = 10194710, upload-time = "2025-11-16T22:50:44.971Z" }, + { url = "https://files.pythonhosted.org/packages/13/cb/71744144e13389d577f867f745b7df2d8489463654a918eea2eeb166dfc9/numpy-2.3.5-cp313-cp313t-macosx_10_13_x86_64.whl", hash = "sha256:414802f3b97f3c1eef41e530aaba3b3c1620649871d8cb38c6eaff034c2e16bd", size = 16827292, upload-time = "2025-11-16T22:50:47.715Z" }, + { url = "https://files.pythonhosted.org/packages/71/80/ba9dc6f2a4398e7f42b708a7fdc841bb638d353be255655498edbf9a15a8/numpy-2.3.5-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:5ee6609ac3604fa7780e30a03e5e241a7956f8e2fcfe547d51e3afa5247ac47f", size = 12378897, upload-time = "2025-11-16T22:50:51.327Z" }, + { url = "https://files.pythonhosted.org/packages/2e/6d/db2151b9f64264bcceccd51741aa39b50150de9b602d98ecfe7e0c4bff39/numpy-2.3.5-cp313-cp313t-macosx_14_0_arm64.whl", hash = "sha256:86d835afea1eaa143012a2d7a3f45a3adce2d7adc8b4961f0b362214d800846a", size = 5207391, upload-time = "2025-11-16T22:50:54.542Z" }, + { url = "https://files.pythonhosted.org/packages/80/ae/429bacace5ccad48a14c4ae5332f6aa8ab9f69524193511d60ccdfdc65fa/numpy-2.3.5-cp313-cp313t-macosx_14_0_x86_64.whl", hash = "sha256:30bc11310e8153ca664b14c5f1b73e94bd0503681fcf136a163de856f3a50139", size = 6721275, upload-time = "2025-11-16T22:50:56.794Z" }, + { url = "https://files.pythonhosted.org/packages/74/5b/1919abf32d8722646a38cd527bc3771eb229a32724ee6ba340ead9b92249/numpy-2.3.5-cp313-cp313t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:1062fde1dcf469571705945b0f221b73928f34a20c904ffb45db101907c3454e", size = 14306855, upload-time = "2025-11-16T22:50:59.208Z" }, + { url = "https://files.pythonhosted.org/packages/a5/87/6831980559434973bebc30cd9c1f21e541a0f2b0c280d43d3afd909b66d0/numpy-2.3.5-cp313-cp313t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:ce581db493ea1a96c0556360ede6607496e8bf9b3a8efa66e06477267bc831e9", size = 16657359, upload-time = "2025-11-16T22:51:01.991Z" }, + { url = "https://files.pythonhosted.org/packages/dd/91/c797f544491ee99fd00495f12ebb7802c440c1915811d72ac5b4479a3356/numpy-2.3.5-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:cc8920d2ec5fa99875b670bb86ddeb21e295cb07aa331810d9e486e0b969d946", size = 16093374, upload-time = "2025-11-16T22:51:05.291Z" }, + { url = "https://files.pythonhosted.org/packages/74/a6/54da03253afcbe7a72785ec4da9c69fb7a17710141ff9ac5fcb2e32dbe64/numpy-2.3.5-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:9ee2197ef8c4f0dfe405d835f3b6a14f5fee7782b5de51ba06fb65fc9b36e9f1", size = 18594587, upload-time = "2025-11-16T22:51:08.585Z" }, + { url = "https://files.pythonhosted.org/packages/80/e9/aff53abbdd41b0ecca94285f325aff42357c6b5abc482a3fcb4994290b18/numpy-2.3.5-cp313-cp313t-win32.whl", hash = "sha256:70b37199913c1bd300ff6e2693316c6f869c7ee16378faf10e4f5e3275b299c3", size = 6405940, upload-time = "2025-11-16T22:51:11.541Z" }, + { url = "https://files.pythonhosted.org/packages/d5/81/50613fec9d4de5480de18d4f8ef59ad7e344d497edbef3cfd80f24f98461/numpy-2.3.5-cp313-cp313t-win_amd64.whl", hash = "sha256:b501b5fa195cc9e24fe102f21ec0a44dffc231d2af79950b451e0d99cea02234", size = 12920341, upload-time = "2025-11-16T22:51:14.312Z" }, + { url = "https://files.pythonhosted.org/packages/bb/ab/08fd63b9a74303947f34f0bd7c5903b9c5532c2d287bead5bdf4c556c486/numpy-2.3.5-cp313-cp313t-win_arm64.whl", hash = "sha256:a80afd79f45f3c4a7d341f13acbe058d1ca8ac017c165d3fa0d3de6bc1a079d7", size = 10262507, upload-time = "2025-11-16T22:51:16.846Z" }, + { url = "https://files.pythonhosted.org/packages/ba/97/1a914559c19e32d6b2e233cf9a6a114e67c856d35b1d6babca571a3e880f/numpy-2.3.5-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:bf06bc2af43fa8d32d30fae16ad965663e966b1a3202ed407b84c989c3221e82", size = 16735706, upload-time = "2025-11-16T22:51:19.558Z" }, + { url = "https://files.pythonhosted.org/packages/57/d4/51233b1c1b13ecd796311216ae417796b88b0616cfd8a33ae4536330748a/numpy-2.3.5-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:052e8c42e0c49d2575621c158934920524f6c5da05a1d3b9bab5d8e259e045f0", size = 12264507, upload-time = "2025-11-16T22:51:22.492Z" }, + { url = "https://files.pythonhosted.org/packages/45/98/2fe46c5c2675b8306d0b4a3ec3494273e93e1226a490f766e84298576956/numpy-2.3.5-cp314-cp314-macosx_14_0_arm64.whl", hash = "sha256:1ed1ec893cff7040a02c8aa1c8611b94d395590d553f6b53629a4461dc7f7b63", size = 5093049, upload-time = "2025-11-16T22:51:25.171Z" }, + { url = "https://files.pythonhosted.org/packages/ce/0e/0698378989bb0ac5f1660c81c78ab1fe5476c1a521ca9ee9d0710ce54099/numpy-2.3.5-cp314-cp314-macosx_14_0_x86_64.whl", hash = "sha256:2dcd0808a421a482a080f89859a18beb0b3d1e905b81e617a188bd80422d62e9", size = 6626603, upload-time = "2025-11-16T22:51:27Z" }, + { url = "https://files.pythonhosted.org/packages/5e/a6/9ca0eecc489640615642a6cbc0ca9e10df70df38c4d43f5a928ff18d8827/numpy-2.3.5-cp314-cp314-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:727fd05b57df37dc0bcf1a27767a3d9a78cbbc92822445f32cc3436ba797337b", size = 14262696, upload-time = "2025-11-16T22:51:29.402Z" }, + { url = "https://files.pythonhosted.org/packages/c8/f6/07ec185b90ec9d7217a00eeeed7383b73d7e709dae2a9a021b051542a708/numpy-2.3.5-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:fffe29a1ef00883599d1dc2c51aa2e5d80afe49523c261a74933df395c15c520", size = 16597350, upload-time = "2025-11-16T22:51:32.167Z" }, + { url = "https://files.pythonhosted.org/packages/75/37/164071d1dde6a1a84c9b8e5b414fa127981bad47adf3a6b7e23917e52190/numpy-2.3.5-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:8f7f0e05112916223d3f438f293abf0727e1181b5983f413dfa2fefc4098245c", size = 16040190, upload-time = "2025-11-16T22:51:35.403Z" }, + { url = "https://files.pythonhosted.org/packages/08/3c/f18b82a406b04859eb026d204e4e1773eb41c5be58410f41ffa511d114ae/numpy-2.3.5-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:2e2eb32ddb9ccb817d620ac1d8dae7c3f641c1e5f55f531a33e8ab97960a75b8", size = 18536749, upload-time = "2025-11-16T22:51:39.698Z" }, + { url = "https://files.pythonhosted.org/packages/40/79/f82f572bf44cf0023a2fe8588768e23e1592585020d638999f15158609e1/numpy-2.3.5-cp314-cp314-win32.whl", hash = "sha256:66f85ce62c70b843bab1fb14a05d5737741e74e28c7b8b5a064de10142fad248", size = 6335432, upload-time = "2025-11-16T22:51:42.476Z" }, + { url = "https://files.pythonhosted.org/packages/a3/2e/235b4d96619931192c91660805e5e49242389742a7a82c27665021db690c/numpy-2.3.5-cp314-cp314-win_amd64.whl", hash = "sha256:e6a0bc88393d65807d751a614207b7129a310ca4fe76a74e5c7da5fa5671417e", size = 12919388, upload-time = "2025-11-16T22:51:45.275Z" }, + { url = "https://files.pythonhosted.org/packages/07/2b/29fd75ce45d22a39c61aad74f3d718e7ab67ccf839ca8b60866054eb15f8/numpy-2.3.5-cp314-cp314-win_arm64.whl", hash = "sha256:aeffcab3d4b43712bb7a60b65f6044d444e75e563ff6180af8f98dd4b905dfd2", size = 10476651, upload-time = "2025-11-16T22:51:47.749Z" }, + { url = "https://files.pythonhosted.org/packages/17/e1/f6a721234ebd4d87084cfa68d081bcba2f5cfe1974f7de4e0e8b9b2a2ba1/numpy-2.3.5-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:17531366a2e3a9e30762c000f2c43a9aaa05728712e25c11ce1dbe700c53ad41", size = 16834503, upload-time = "2025-11-16T22:51:50.443Z" }, + { url = "https://files.pythonhosted.org/packages/5c/1c/baf7ffdc3af9c356e1c135e57ab7cf8d247931b9554f55c467efe2c69eff/numpy-2.3.5-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:d21644de1b609825ede2f48be98dfde4656aefc713654eeee280e37cadc4e0ad", size = 12381612, upload-time = "2025-11-16T22:51:53.609Z" }, + { url = "https://files.pythonhosted.org/packages/74/91/f7f0295151407ddc9ba34e699013c32c3c91944f9b35fcf9281163dc1468/numpy-2.3.5-cp314-cp314t-macosx_14_0_arm64.whl", hash = "sha256:c804e3a5aba5460c73955c955bdbd5c08c354954e9270a2c1565f62e866bdc39", size = 5210042, upload-time = "2025-11-16T22:51:56.213Z" }, + { url = "https://files.pythonhosted.org/packages/2e/3b/78aebf345104ec50dd50a4d06ddeb46a9ff5261c33bcc58b1c4f12f85ec2/numpy-2.3.5-cp314-cp314t-macosx_14_0_x86_64.whl", hash = "sha256:cc0a57f895b96ec78969c34f682c602bf8da1a0270b09bc65673df2e7638ec20", size = 6724502, upload-time = "2025-11-16T22:51:58.584Z" }, + { url = "https://files.pythonhosted.org/packages/02/c6/7c34b528740512e57ef1b7c8337ab0b4f0bddf34c723b8996c675bc2bc91/numpy-2.3.5-cp314-cp314t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:900218e456384ea676e24ea6a0417f030a3b07306d29d7ad843957b40a9d8d52", size = 14308962, upload-time = "2025-11-16T22:52:01.698Z" }, + { url = "https://files.pythonhosted.org/packages/80/35/09d433c5262bc32d725bafc619e095b6a6651caf94027a03da624146f655/numpy-2.3.5-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:09a1bea522b25109bf8e6f3027bd810f7c1085c64a0c7ce050c1676ad0ba010b", size = 16655054, upload-time = "2025-11-16T22:52:04.267Z" }, + { url = "https://files.pythonhosted.org/packages/7a/ab/6a7b259703c09a88804fa2430b43d6457b692378f6b74b356155283566ac/numpy-2.3.5-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:04822c00b5fd0323c8166d66c701dc31b7fbd252c100acd708c48f763968d6a3", size = 16091613, upload-time = "2025-11-16T22:52:08.651Z" }, + { url = "https://files.pythonhosted.org/packages/c2/88/330da2071e8771e60d1038166ff9d73f29da37b01ec3eb43cb1427464e10/numpy-2.3.5-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:d6889ec4ec662a1a37eb4b4fb26b6100841804dac55bd9df579e326cdc146227", size = 18591147, upload-time = "2025-11-16T22:52:11.453Z" }, + { url = "https://files.pythonhosted.org/packages/51/41/851c4b4082402d9ea860c3626db5d5df47164a712cb23b54be028b184c1c/numpy-2.3.5-cp314-cp314t-win32.whl", hash = "sha256:93eebbcf1aafdf7e2ddd44c2923e2672e1010bddc014138b229e49725b4d6be5", size = 6479806, upload-time = "2025-11-16T22:52:14.641Z" }, + { url = "https://files.pythonhosted.org/packages/90/30/d48bde1dfd93332fa557cff1972fbc039e055a52021fbef4c2c4b1eefd17/numpy-2.3.5-cp314-cp314t-win_amd64.whl", hash = "sha256:c8a9958e88b65c3b27e22ca2a076311636850b612d6bbfb76e8d156aacde2aaf", size = 13105760, upload-time = "2025-11-16T22:52:17.975Z" }, + { url = "https://files.pythonhosted.org/packages/2d/fd/4b5eb0b3e888d86aee4d198c23acec7d214baaf17ea93c1adec94c9518b9/numpy-2.3.5-cp314-cp314t-win_arm64.whl", hash = "sha256:6203fdf9f3dc5bdaed7319ad8698e685c7a3be10819f41d32a0723e611733b42", size = 10545459, upload-time = "2025-11-16T22:52:20.55Z" }, + { url = "https://files.pythonhosted.org/packages/c6/65/f9dea8e109371ade9c782b4e4756a82edf9d3366bca495d84d79859a0b79/numpy-2.3.5-pp311-pypy311_pp73-macosx_10_15_x86_64.whl", hash = "sha256:f0963b55cdd70fad460fa4c1341f12f976bb26cb66021a5580329bd498988310", size = 16910689, upload-time = "2025-11-16T22:52:23.247Z" }, + { url = "https://files.pythonhosted.org/packages/00/4f/edb00032a8fb92ec0a679d3830368355da91a69cab6f3e9c21b64d0bb986/numpy-2.3.5-pp311-pypy311_pp73-macosx_11_0_arm64.whl", hash = "sha256:f4255143f5160d0de972d28c8f9665d882b5f61309d8362fdd3e103cf7bf010c", size = 12457053, upload-time = "2025-11-16T22:52:26.367Z" }, + { url = "https://files.pythonhosted.org/packages/16/a4/e8a53b5abd500a63836a29ebe145fc1ab1f2eefe1cfe59276020373ae0aa/numpy-2.3.5-pp311-pypy311_pp73-macosx_14_0_arm64.whl", hash = "sha256:a4b9159734b326535f4dd01d947f919c6eefd2d9827466a696c44ced82dfbc18", size = 5285635, upload-time = "2025-11-16T22:52:29.266Z" }, + { url = "https://files.pythonhosted.org/packages/a3/2f/37eeb9014d9c8b3e9c55bc599c68263ca44fdbc12a93e45a21d1d56df737/numpy-2.3.5-pp311-pypy311_pp73-macosx_14_0_x86_64.whl", hash = "sha256:2feae0d2c91d46e59fcd62784a3a83b3fb677fead592ce51b5a6fbb4f95965ff", size = 6801770, upload-time = "2025-11-16T22:52:31.421Z" }, + { url = "https://files.pythonhosted.org/packages/7d/e4/68d2f474df2cb671b2b6c2986a02e520671295647dad82484cde80ca427b/numpy-2.3.5-pp311-pypy311_pp73-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:ffac52f28a7849ad7576293c0cb7b9f08304e8f7d738a8cb8a90ec4c55a998eb", size = 14391768, upload-time = "2025-11-16T22:52:33.593Z" }, + { url = "https://files.pythonhosted.org/packages/b8/50/94ccd8a2b141cb50651fddd4f6a48874acb3c91c8f0842b08a6afc4b0b21/numpy-2.3.5-pp311-pypy311_pp73-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:63c0e9e7eea69588479ebf4a8a270d5ac22763cc5854e9a7eae952a3908103f7", size = 16729263, upload-time = "2025-11-16T22:52:36.369Z" }, + { url = "https://files.pythonhosted.org/packages/2d/ee/346fa473e666fe14c52fcdd19ec2424157290a032d4c41f98127bfb31ac7/numpy-2.3.5-pp311-pypy311_pp73-win_amd64.whl", hash = "sha256:f16417ec91f12f814b10bafe79ef77e70113a2f5f7018640e7425ff979253425", size = 12967213, upload-time = "2025-11-16T22:52:39.38Z" }, +] + +[[package]] +name = "numpy" +version = "2.5.3" +source = { registry = "https://pypi.org/simple" } +resolution-markers = [ + "python_full_version == '3.14.*'", + "python_full_version >= '3.12' and python_full_version < '3.14'", +] +sdist = { url = "https://files.pythonhosted.org/packages/13/01/11703282db468b85f6f7b8c7f22d058de5970d5c7e60a3a8aaa313c3de36/numpy-2.5.3.tar.gz", hash = "sha256:df2d5874ff183595a4ba404edd04f6bd9b5505c1d7708573f6a6c17489a67563", size = 20791231, upload-time = "2026-09-06T16:27:47.073Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/d6/50/8fdbb16af64895706a45f06a4068e29db732ec180f3c1375f14123359138/numpy-2.5.3-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:cb189f09db39283b26bfd061ec16189e14f71c6755207f72a0f7540867afe5b9", size = 16994982, upload-time = "2026-09-06T16:24:29.244Z" }, + { url = "https://files.pythonhosted.org/packages/60/39/789131c1188c078dcb3a1692e72e1e050c68b88ffe72c9ccaac9bcd7a9cd/numpy-2.5.3-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:f59a878c33d6b88122d80d239bb3b845d58708750b0cb06a09aebb9b18ec696c", size = 12009327, upload-time = "2026-09-06T16:24:32.491Z" }, + { url = "https://files.pythonhosted.org/packages/9c/59/a312e95696e5f601914dd8b6dd844692ba61670807417e24b68e337b5c70/numpy-2.5.3-cp312-cp312-macosx_14_0_arm64.whl", hash = "sha256:a72f874bc9e10e4b8f80426fb49716d5141f64442a0c8418065093ec8017fbb0", size = 5445405, upload-time = "2026-09-06T16:24:35.071Z" }, + { url = "https://files.pythonhosted.org/packages/30/d0/5623a1707ed4fe16e3909fe3cf5ee3da004ae677ad23d83bbf3adf1a6faf/numpy-2.5.3-cp312-cp312-macosx_14_0_x86_64.whl", hash = "sha256:fc36dc566135b5eceec4cf89758fcb719266a019ef07dae1754ae7c9f617ef3e", size = 6783213, upload-time = "2026-09-06T16:24:37.253Z" }, + { url = "https://files.pythonhosted.org/packages/f1/32/84146fc020ad3c25f805f70ab60da46fe3c540a21369754a7e4369754b6f/numpy-2.5.3-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:76c2c1e6bfa5c84adc6434dfbf013aa92096a7985221762c8f11fedfd20fff58", size = 15687872, upload-time = "2026-09-06T16:24:39.751Z" }, + { url = "https://files.pythonhosted.org/packages/65/af/aa78d1a88805456e212b65461354cd943197fb9acecc4c90fd12295123a3/numpy-2.5.3-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:b7e18c623bb5c95acb3b3328861272816ba199fb531921c5d6d0b675f1fde9e3", size = 16717410, upload-time = "2026-09-06T16:24:42.745Z" }, + { url = "https://files.pythonhosted.org/packages/3b/24/faa79d865e69a97ba17473b23a1b74094b2259c03e820c70297293b9ea49/numpy-2.5.3-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:4f8929ee6c96bfbd7b4ed2032e0c03af86fe1826740ab61ddabf9072d06e57ff", size = 17040975, upload-time = "2026-09-06T16:24:45.961Z" }, + { url = "https://files.pythonhosted.org/packages/62/4a/8877e629445a7176297dffcaf9c485faa96a95d81728a62521ad55bd4c0f/numpy-2.5.3-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:b5d93cf48f687479941d12b69c873ad2cc76bbd487f0091c2200636497f34034", size = 18476479, upload-time = "2026-09-06T16:24:49.35Z" }, + { url = "https://files.pythonhosted.org/packages/c8/db/35e1c2d38b04cbd5b731f9d71495e055e813197669d22b612f11748d2ff9/numpy-2.5.3-cp312-cp312-win32.whl", hash = "sha256:bf63afbe037eb5d2fe87fbcc7778e61da53ebaf21d938a4515aa73b62532a5d4", size = 6133378, upload-time = "2026-09-06T16:24:51.915Z" }, + { url = "https://files.pythonhosted.org/packages/3c/a1/accf6d4f0c80c5d9ba9735d6b1550e444180599f34dec69ca01360f717ad/numpy-2.5.3-cp312-cp312-win_amd64.whl", hash = "sha256:0a59a421a32580a009e8a1751345bf829631b990dc1794b80514ab722b435def", size = 12567828, upload-time = "2026-09-06T16:24:54.255Z" }, + { url = "https://files.pythonhosted.org/packages/22/43/1764aff32e4652526ae2f71fa8b3efd8d25c8a3d6926914454e47138ed1e/numpy-2.5.3-cp312-cp312-win_arm64.whl", hash = "sha256:ccb32e0525d29e8b0572eb84c9a57af0e7a4e615726927506f55063c62414034", size = 10485432, upload-time = "2026-09-06T16:24:57.278Z" }, + { url = "https://files.pythonhosted.org/packages/79/e5/8fb89cd46d14e35699d13bf943a5f5f441ecee8667120a1f6105ab89e349/numpy-2.5.3-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:66a78fe4556c60aceda5916f9eacd638b18e9e681016ec302dcb4682d6d4d034", size = 16991061, upload-time = "2026-09-06T16:25:00.411Z" }, + { url = "https://files.pythonhosted.org/packages/2f/06/9dc9e48b5e5e941c8b10350c5ff2d721da42a20517d911d15544246775ff/numpy-2.5.3-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:92f30e89b8ee0ecf363033576c422b2f58fed6a80bed0aa48dff6d14c654663e", size = 12003676, upload-time = "2026-09-06T16:25:03.475Z" }, + { url = "https://files.pythonhosted.org/packages/ab/2a/98282aa5b8f58b1157d440bb6282eed47e3632a5de53a714fbab17e659fe/numpy-2.5.3-cp313-cp313-macosx_14_0_arm64.whl", hash = "sha256:f9a2353b37a1a9e78fd82b27ad7e2a32a2d036604d18f02b05e3136c62ca3b09", size = 5439695, upload-time = "2026-09-06T16:25:05.978Z" }, + { url = "https://files.pythonhosted.org/packages/a1/f9/b6533d777be9d6ffd29dc1be0867e563e6e8cc9a220ff1b716adc317f060/numpy-2.5.3-cp313-cp313-macosx_14_0_x86_64.whl", hash = "sha256:ccbc4665079665c3cf3bab4db9f6b095370cd6437d66be549b6c2a1fd19e1958", size = 6779395, upload-time = "2026-09-06T16:25:08.599Z" }, + { url = "https://files.pythonhosted.org/packages/73/85/735720d04ec197c5dcfacdfc9922667c7f1f5f496a279b7ba4d7c74c4cc7/numpy-2.5.3-cp313-cp313-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:c76d5dde9f445058f83d0c02af00557a4db91de9a9a57c0df87d1535001d654b", size = 15681750, upload-time = "2026-09-06T16:25:11.173Z" }, + { url = "https://files.pythonhosted.org/packages/3a/1b/3b16a9bc514a440a7a0883684111dcb1ef1aee960af2ca95da8fc775f124/numpy-2.5.3-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:a5fa86b80fd24bcd1aff83ad23be44ea323de3f787be8f8b15d4a65621e25321", size = 16708577, upload-time = "2026-09-06T16:25:14.171Z" }, + { url = "https://files.pythonhosted.org/packages/69/c4/386f397831b07328b639c96c5b62719346cf4baf07c68d927239752b1534/numpy-2.5.3-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:bd4cb9ad3c7889b9b3fe0a9a9fb5d2ed26f9879bff2608d9f01aed147a20d231", size = 17042047, upload-time = "2026-09-06T16:25:17.582Z" }, + { url = "https://files.pythonhosted.org/packages/5f/3e/a700ecbf36e85ae8328fd3b0e12eeddc22ed6358a64cb2bd913e0d195d65/numpy-2.5.3-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:1302b90c0e52281681b2975adfe8a860cb7b12216a27b4b0b4207c44bf7bccf0", size = 18465724, upload-time = "2026-09-06T16:25:20.949Z" }, + { url = "https://files.pythonhosted.org/packages/41/ee/38e785e88a4045f6ad1d1f2808dcdfafdca48c760260c0587bf171e29fc9/numpy-2.5.3-cp313-cp313-win32.whl", hash = "sha256:1c80eabb4035ecf4ca9cd49cde8a9fdd69a729e63e6474887d1523ade7aa277f", size = 6129003, upload-time = "2026-09-06T16:25:23.664Z" }, + { url = "https://files.pythonhosted.org/packages/f3/ec/100f2b1794ede74a9b3d7ec6b9736927f56713414c1dfe19ab6c383494bf/numpy-2.5.3-cp313-cp313-win_amd64.whl", hash = "sha256:71cad2b2a7451ab79d8f5e71b453485b6775963d5cf794179144a7463fe6e8ec", size = 12560965, upload-time = "2026-09-06T16:25:26.602Z" }, + { url = "https://files.pythonhosted.org/packages/80/b1/7dc825ca94c12acebbce4c37caa5e198695eb31424bc579679f32b1bb49d/numpy-2.5.3-cp313-cp313-win_arm64.whl", hash = "sha256:8e4dd766076855b5ff7ea52fa5f07ce26286726e0f8bff446b7739d02e6ea204", size = 10482343, upload-time = "2026-09-06T16:25:29.772Z" }, + { url = "https://files.pythonhosted.org/packages/70/78/cf416f15dc29375a229d9dfebf8db6e313f291580b39fa1a568b6052bb07/numpy-2.5.3-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:350ba9783ce969cf9f7ce6e6a9a58e1a6e2a19ca025b7ee448c4db727706212a", size = 16998686, upload-time = "2026-09-06T16:25:33.171Z" }, + { url = "https://files.pythonhosted.org/packages/9e/59/abcc2d8def4fd60eec7d87f92d27c13448ffd9ab14339bcc63a0d7a2fdea/numpy-2.5.3-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:012e66aca395d795496446e52aeeb5866312a5d4d3f27da270e5a0b43f70dc5c", size = 12013862, upload-time = "2026-09-06T16:25:36.748Z" }, + { url = "https://files.pythonhosted.org/packages/94/75/4640d2d6e4b64a049e48425a82728a41ef4adb61332d2cba68055774878b/numpy-2.5.3-cp314-cp314-macosx_14_0_arm64.whl", hash = "sha256:adc1ada2662f8a5f960b8a10d9986897e7499ef07e06d4cfe7197f8cce923c07", size = 5449793, upload-time = "2026-09-06T16:25:39.476Z" }, + { url = "https://files.pythonhosted.org/packages/96/cd/625b57ae33d4ca560f32cc0b47b4a5922146d9beb998ddf773900d440a73/numpy-2.5.3-cp314-cp314-macosx_14_0_x86_64.whl", hash = "sha256:54a115e5a73b8fc44f0cebef486365a1894b5c9760685d4558b72b7c3eb846e0", size = 6785176, upload-time = "2026-09-06T16:25:42.069Z" }, + { url = "https://files.pythonhosted.org/packages/9c/72/12918652e7912ef9751e8694c88820fcd1908e0618cb23f5f3caa6004b7b/numpy-2.5.3-cp314-cp314-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:be5a8381859b6da607c84f4f7d6847725f1cf1853ef8a2c9e115b7d58bef47dc", size = 15703377, upload-time = "2026-09-06T16:25:45.135Z" }, + { url = "https://files.pythonhosted.org/packages/45/8f/9beacf79ca7c650688ad0baa80931adb988fe6e6e5d5903c23cc3dbd70eb/numpy-2.5.3-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:b0521d0f4aebb6e06189451025fa17a913287b13c03d5fe05c017333b654ea5b", size = 16711928, upload-time = "2026-09-06T16:25:48.461Z" }, + { url = "https://files.pythonhosted.org/packages/09/8d/41d0a56e1ac4c87495c897a211b1368691b7237aadabec8b3b8f3a74d48f/numpy-2.5.3-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:9deb49575e5b0b94ed72c8a64ec4d033381adc27e9060ae842971f697ba96104", size = 17059507, upload-time = "2026-09-06T16:25:51.873Z" }, + { url = "https://files.pythonhosted.org/packages/08/1e/0dfbc5cc251d54e2af790f254d24ec38637fa97ec7d5d11de7ffed787098/numpy-2.5.3-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:b00eefbcf0f292945c4b4dec2ae845389ef5bcdcd596e6e4328051db5b5ba694", size = 18471002, upload-time = "2026-09-06T16:25:55.233Z" }, + { url = "https://files.pythonhosted.org/packages/b5/2c/dfa40f6991f8185c8c30ffd023dfcbb11888e823cfab9557b920f3bb7bed/numpy-2.5.3-cp314-cp314-win32.whl", hash = "sha256:c2381f82999704f818e2c987a865050e285ec3621262c66d40f5a96c8f899f8e", size = 6180485, upload-time = "2026-09-06T16:25:58.157Z" }, + { url = "https://files.pythonhosted.org/packages/a4/73/d2c08231e4fde7e415501fd02c715d96e98599b2d8384445933944152984/numpy-2.5.3-cp314-cp314-win_amd64.whl", hash = "sha256:2c25dfa72943e4336ddb6b0ee4277b47a0c85bede0807530ec68103bf58e2c10", size = 12698179, upload-time = "2026-09-06T16:26:00.789Z" }, + { url = "https://files.pythonhosted.org/packages/5c/e9/dcdcc9b95cf5f49815055573aee1b11cfbf5299f38a180e437ded050810f/numpy-2.5.3-cp314-cp314-win_arm64.whl", hash = "sha256:15aa985ac73a8db02db7663381aa109510449d3819d37206caed27b33a65a8a6", size = 10769383, upload-time = "2026-09-06T16:26:04.011Z" }, + { url = "https://files.pythonhosted.org/packages/49/c4/af8bc08a7ef4e1529a7c0cf24969accce316b783999802089a581ec99272/numpy-2.5.3-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:ac7bb1c52d445bd4f8f7f97fefe6abc3a084dc4d63df50d79b17fa2b78e89297", size = 12132668, upload-time = "2026-09-06T16:26:07.138Z" }, + { url = "https://files.pythonhosted.org/packages/c5/ae/0f15eb56d4ec5e13c1f7ff04ff407f997d1acbadb45d3e1f2e2645a8f43c/numpy-2.5.3-cp314-cp314t-macosx_14_0_arm64.whl", hash = "sha256:e6ab667ba76450084eb64013762c438ea76d9d29cc676dcd6c2e9892ba37f841", size = 5568580, upload-time = "2026-09-06T16:26:09.828Z" }, + { url = "https://files.pythonhosted.org/packages/23/fb/c72a8f25d4b6e96c354e7ab45ace3b27dc11e5d6a13b6c7d0cd6b08bf112/numpy-2.5.3-cp314-cp314t-macosx_14_0_x86_64.whl", hash = "sha256:f7fabeb6cea87d65f3b926de33d03fb016cfdc29314c90974383b5582ae72891", size = 6882634, upload-time = "2026-09-06T16:26:12.524Z" }, + { url = "https://files.pythonhosted.org/packages/07/a9/968c90ed2ab15060c338e8137f1215b5a60756ae07328e0a60d1c6734df4/numpy-2.5.3-cp314-cp314t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:1fb6f8fb9ff0b3a69f52c66ce397b0246583e9f28616231b0e32ca49259a5fa6", size = 15748923, upload-time = "2026-09-06T16:26:15.092Z" }, + { url = "https://files.pythonhosted.org/packages/59/08/9df04103947b95e3b6b1f2ed1a70521f325647a31b82da6a2aae3a485508/numpy-2.5.3-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:93e1f5447e2b1e479d7bd74701e84746b86450cff1fc368b132d195e2b8f8211", size = 16746748, upload-time = "2026-09-06T16:26:18.43Z" }, + { url = "https://files.pythonhosted.org/packages/41/a0/14c8d5fe5b53a334aabb653deb391c0fef49558f491880ea300ed6785224/numpy-2.5.3-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:c00abe94c1a69d75d827dcf1c025b25c8a45d230b3bcd77a9020883a1b047653", size = 17111561, upload-time = "2026-09-06T16:26:22.113Z" }, + { url = "https://files.pythonhosted.org/packages/c4/a6/d7e96e42f01522e154c32489640f16dfc4f6181d165d05fc3bec8c2c4999/numpy-2.5.3-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:536f963710a4e63934d80ac0dc4f478804a83e9a84b6828018f25d09953ada33", size = 18513945, upload-time = "2026-09-06T16:26:25.401Z" }, + { url = "https://files.pythonhosted.org/packages/25/39/3453afb7119d0449ef11c886874120ff180e2c337760e0e2d88f70f1a945/numpy-2.5.3-cp314-cp314t-win32.whl", hash = "sha256:4c8a6d2ebce6305fd82fbefca827775437147052a976ee7c94b36a0c1b52ac6c", size = 6335421, upload-time = "2026-09-06T16:26:28.175Z" }, + { url = "https://files.pythonhosted.org/packages/99/01/22815d2b19a1a746b1d45205cffebb3fe511a18acb75fba6c88491fc9894/numpy-2.5.3-cp314-cp314t-win_amd64.whl", hash = "sha256:9a37475425b431b4d060f23b4f52cd2f3aef6bc7c654bd760adf0040eec9d435", size = 12896420, upload-time = "2026-09-06T16:26:31.265Z" }, + { url = "https://files.pythonhosted.org/packages/fa/ee/a7cbba67eeaff038dc29ca8b98a88396c8b0cc9c89d4924f4a27a5c9150b/numpy-2.5.3-cp314-cp314t-win_arm64.whl", hash = "sha256:2d8240cb4c16fd831074aa2b2cf9fc54664d826341d61c372245b96a74a49a9a", size = 10857177, upload-time = "2026-09-06T16:26:34.167Z" }, + { url = "https://files.pythonhosted.org/packages/45/56/78194492883ff5eec90423fe56a3a44b154da047d88a6307f629713c584f/numpy-2.5.3-cp315-cp315-macosx_10_15_x86_64.whl", hash = "sha256:a6391fafaba97500887132cd582abc6e19452b1ac775a47caa7b24490e152058", size = 16996531, upload-time = "2026-09-06T16:26:37.287Z" }, + { url = "https://files.pythonhosted.org/packages/11/39/dd55c0af90bbab564b09ae3b0aa60ec5c02b900fa4f1ba23440525c8b32d/numpy-2.5.3-cp315-cp315-macosx_11_0_arm64.whl", hash = "sha256:09d5a423c71ad5feb5625844ad58050e35df43871004b52ac9c0ad44a56775be", size = 12012569, upload-time = "2026-09-06T16:26:40.707Z" }, + { url = "https://files.pythonhosted.org/packages/b6/51/04f67d32e4862b281b1cb84ceeaed3421189a84fb6fb51a391cd6d5009f7/numpy-2.5.3-cp315-cp315-macosx_14_0_arm64.whl", hash = "sha256:f9579f383d1bf9df80081e72760e84960a7fd4f88cf0c9e535a8597c9bb646f5", size = 5448498, upload-time = "2026-09-06T16:26:43.435Z" }, + { url = "https://files.pythonhosted.org/packages/a3/c9/25b4dc0dd1344ec26c7319e84fd4e9809d2b5628f4e12decd618036e5178/numpy-2.5.3-cp315-cp315-macosx_14_0_x86_64.whl", hash = "sha256:86bff898a431c0fb71f7610b75726e75a54d47b37edc9d537f48de63bb3c0b90", size = 6783026, upload-time = "2026-09-06T16:26:46.374Z" }, + { url = "https://files.pythonhosted.org/packages/fc/c7/29285be1e5232a6e7ee3268a33c85843f5a8ee93350c6465cddd66ebbf76/numpy-2.5.3-cp315-cp315-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:1f3ed25271581281f2fccb1adcedfcde4c07362eec69189b50baf6f90e3ae159", size = 15697322, upload-time = "2026-09-06T16:26:49.415Z" }, + { url = "https://files.pythonhosted.org/packages/55/49/bbad5335fb4996a16881f853ff3e0ba582f01720e55c89b1c06b8fc42a90/numpy-2.5.3-cp315-cp315-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:ffdc76bfcae6b255dff75202c5e7feaf95b40246bc0a17944facc1fecf9f79ab", size = 16708995, upload-time = "2026-09-06T16:26:53.127Z" }, + { url = "https://files.pythonhosted.org/packages/ef/e9/1df35483760b04a65ea44669f89dc64f30e5aca098b48ceb8b1310b0e0fe/numpy-2.5.3-cp315-cp315-musllinux_1_2_aarch64.whl", hash = "sha256:116f96cadd935c6122e9228d676fe7ede19e741f5c8bb1c3cddbe0c51ccebea2", size = 17052508, upload-time = "2026-09-06T16:26:56.464Z" }, + { url = "https://files.pythonhosted.org/packages/b8/99/66e54da8265cc8be8a7382bf96edce17aaa2837d6f484432025932a3caa5/numpy-2.5.3-cp315-cp315-musllinux_1_2_x86_64.whl", hash = "sha256:09ffa5d903faeaa5c4dd05009cf81c8bab9f2cb37c548b8d39b65b4cfa7c97f7", size = 18468224, upload-time = "2026-09-06T16:26:59.966Z" }, + { url = "https://files.pythonhosted.org/packages/01/bc/b5e90a91c115168d793dfd2ad9c69c438c2fe7a13a437e770bc5b078e732/numpy-2.5.3-cp315-cp315-win32.whl", hash = "sha256:e01c918ac3d48e18a927cf7b14a26a3e29ff2bdf2eacb976da0aecd6a43ed034", size = 6179919, upload-time = "2026-09-06T16:27:03.166Z" }, + { url = "https://files.pythonhosted.org/packages/37/ea/780748fd3985109075514ef8fc64cd25f943e40dde13a6d59141eb268fc8/numpy-2.5.3-cp315-cp315-win_amd64.whl", hash = "sha256:e931e4f499e0dc7ef29d269a8e5b35dd722e5d14be07df6240166ea7c6532fae", size = 12697656, upload-time = "2026-09-06T16:27:06.153Z" }, + { url = "https://files.pythonhosted.org/packages/b3/16/407be69a2a87c8cab64d95975a8977a426a29e138f07e276ec258f0fe4e5/numpy-2.5.3-cp315-cp315-win_arm64.whl", hash = "sha256:26e15e4aecd8617dfbaecb37d223e365d7b39411fba20454be2670a96aa74cb5", size = 10767601, upload-time = "2026-09-06T16:27:09.297Z" }, + { url = "https://files.pythonhosted.org/packages/44/bf/a97ffb01e41d50a32a9177aef942a4d0e389a3daf451d04e5f38ef6afb87/numpy-2.5.3-cp315-cp315t-macosx_10_15_x86_64.whl", hash = "sha256:6cef4bb1706dfec49243c05d921eefb4e190d41e2528b30d8035ea1f36b4c24a", size = 17090092, upload-time = "2026-09-06T16:27:12.907Z" }, + { url = "https://files.pythonhosted.org/packages/d1/24/136c02f2c2af9a067a84d0c3aa10c99012c0476fa5066732fa4a4202557d/numpy-2.5.3-cp315-cp315t-macosx_11_0_arm64.whl", hash = "sha256:d1c89973648c85069c5046ad460f7b8a00218b29a2e42359ac8cc63e9ab94832", size = 12129429, upload-time = "2026-09-06T16:27:16.089Z" }, + { url = "https://files.pythonhosted.org/packages/fe/6c/b47582d6597789bf946d5efbeb6b9e56fd8bcbd5efc6fbf51dbe1ea31eb3/numpy-2.5.3-cp315-cp315t-macosx_14_0_arm64.whl", hash = "sha256:214045a5bf00113a146ab9ee9730c44501af6723cdf1f6830932f7b5ef2e7af0", size = 5565452, upload-time = "2026-09-06T16:27:19.868Z" }, + { url = "https://files.pythonhosted.org/packages/be/b4/ef3cc6da73774202d4deae16bb321fd8298a4e0561e3539f8c4be237d916/numpy-2.5.3-cp315-cp315t-macosx_14_0_x86_64.whl", hash = "sha256:8617bbfae4486cf99c9f899966699428d19da931d06ca94ad3da986c76e15997", size = 6876736, upload-time = "2026-09-06T16:27:22.232Z" }, + { url = "https://files.pythonhosted.org/packages/9e/24/e3813329498596cb842703dcacac1741612ed9fb9c4e6a3e0c7e2ebbc597/numpy-2.5.3-cp315-cp315t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:595d020938c84e320bcf40ad71089e108eac0d377cd018e14a8c094f39e98d85", size = 15745777, upload-time = "2026-09-06T16:27:25.181Z" }, + { url = "https://files.pythonhosted.org/packages/4a/9e/4e7a07fd0776dc2210cdacf2010be8665194d094defc10c419d7dea794cc/numpy-2.5.3-cp315-cp315t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:6f24021b9f22bc6301c37b196974a92c1c18dccedb6fef3dd252e95f2d6adbe4", size = 16746949, upload-time = "2026-09-06T16:27:28.576Z" }, + { url = "https://files.pythonhosted.org/packages/91/db/01674c0e20335057813a00c2ebd546ed25bff9ed7914f9bced00f8c55d94/numpy-2.5.3-cp315-cp315t-musllinux_1_2_aarch64.whl", hash = "sha256:71b39d9f935b6ec0f8753e3e2afb51e3efba6f2e05b68b32a40754d24bcd4a3c", size = 17108994, upload-time = "2026-09-06T16:27:31.946Z" }, + { url = "https://files.pythonhosted.org/packages/45/7a/584c5e71f8d378e57cac0b033891ed65c683ef90573ba4854e8c28203db0/numpy-2.5.3-cp315-cp315t-musllinux_1_2_x86_64.whl", hash = "sha256:6b05c171afb3aa07adbd20abc00aea86fe375beb0fdb9ef780ec5b7f63bab1c0", size = 18512266, upload-time = "2026-09-06T16:27:35.196Z" }, + { url = "https://files.pythonhosted.org/packages/a1/d2/4e1014173aa3c55e6a756e0e567290743a6ab33a288460374d7ef6bcd239/numpy-2.5.3-cp315-cp315t-win32.whl", hash = "sha256:f54660b0eb6b0b9f36e7fe1cdfdff472028dd0d14acd9b9b65098efbad059469", size = 6330292, upload-time = "2026-09-06T16:27:38.149Z" }, + { url = "https://files.pythonhosted.org/packages/6c/b0/ff5658a58199b7bcaad87bf260eef6713d9d42cca4e028f935b4fc5fbac6/numpy-2.5.3-cp315-cp315t-win_amd64.whl", hash = "sha256:1aad64d99730d013cfc6debafed22783b4fc5a7f4b8bc744d2d8cf7dcc880551", size = 12884918, upload-time = "2026-09-06T16:27:40.965Z" }, + { url = "https://files.pythonhosted.org/packages/fb/0b/b12a2df5d1b774bd9007a6fdff9381145b6223d37f11afc9c37ab0efd9a1/numpy-2.5.3-cp315-cp315t-win_arm64.whl", hash = "sha256:befa1ae5bd6030b3f512b43ff3fa5290bbed6b84411a44244b14adf835f5b89d", size = 10850807, upload-time = "2026-09-06T16:27:43.868Z" }, +] + +[[package]] +name = "openpyxl" +version = "3.1.5" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "et-xmlfile" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/3d/f9/88d94a75de065ea32619465d2f77b29a0469500e99012523b91cc4141cd1/openpyxl-3.1.5.tar.gz", hash = "sha256:cf0e3cf56142039133628b5acffe8ef0c12bc902d2aadd3e0fe5878dc08d1050", size = 186464, upload-time = "2024-06-28T14:03:44.161Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/c0/da/977ded879c29cbd04de313843e76868e6e13408a94ed6b987245dc7c8506/openpyxl-3.1.5-py2.py3-none-any.whl", hash = "sha256:5282c12b107bffeef825f4617dc029afaf41d0ea60823bbb665ef3079dc79de2", size = 250910, upload-time = "2024-06-28T14:03:41.161Z" }, +] + +[[package]] +name = "overrides" +version = "7.7.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/36/86/b585f53236dec60aba864e050778b25045f857e17f6e5ea0ae95fe80edd2/overrides-7.7.0.tar.gz", hash = "sha256:55158fa3d93b98cc75299b1e67078ad9003ca27945c76162c1c0766d6f91820a", size = 22812, upload-time = "2024-01-27T21:01:33.423Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/2c/ab/fc8290c6a4c722e5514d80f62b2dc4c4df1a68a41d1364e625c35990fcf3/overrides-7.7.0-py3-none-any.whl", hash = "sha256:c7ed9d062f78b8e4c1a7b70bd8796b35ead4d9f510227ef9c5dc7626c60d7e49", size = 17832, upload-time = "2024-01-27T21:01:31.393Z" }, +] + +[[package]] +name = "packaging" +version = "26.3" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/7d/fa/3944b40b07da9ce895c0e6303a5ab7d53da063554f534556b134a54d6093/packaging-26.3.tar.gz", hash = "sha256:94edc256424af38762eb31306eed28beb9f0efc50a8837492c9d6fd6004aed79", size = 313412, upload-time = "2026-08-04T18:15:28.737Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/63/34/ba1c580383c9eada3711951fef0795c80b829a078d72188184bcab9dd527/packaging-26.3-py3-none-any.whl", hash = "sha256:d7193f7c8e4e93f444fde0262bf90af30e16fa0ad0ad44cb553c87339b23cd1c", size = 129956, upload-time = "2026-08-04T18:15:27.159Z" }, +] + +[[package]] +name = "pandocfilters" +version = "1.5.1" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/70/6f/3dd4940bbe001c06a65f88e36bad298bc7a0de5036115639926b0c5c0458/pandocfilters-1.5.1.tar.gz", hash = "sha256:002b4a555ee4ebc03f8b66307e287fa492e4a77b4ea14d3f934328297bb4939e", size = 8454, upload-time = "2024-01-18T20:08:13.726Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/ef/af/4fbc8cab944db5d21b7e2a5b8e9211a03a79852b1157e2c102fcc61ac440/pandocfilters-1.5.1-py2.py3-none-any.whl", hash = "sha256:93be382804a9cdb0a7267585f157e5d1731bbe5545a85b268d6f5fe6232de2bc", size = 8663, upload-time = "2024-01-18T20:08:11.28Z" }, +] + +[[package]] +name = "parso" +version = "0.8.7" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/30/4b/90c937815137d43ce71ba043cd3566221e9df6b9c805f24b5d138c9d40a7/parso-0.8.7.tar.gz", hash = "sha256:eaaac4c9fdd5e9e8852dc778d2d7405897ec510f2a298071453e5e3a07914bb1", size = 401824, upload-time = "2026-05-01T23:13:02.138Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/99/5d/8268b644392ee874ee82a635cd0df1773de230bde356c38de28e298392cc/parso-0.8.7-py2.py3-none-any.whl", hash = "sha256:a8926eb2a1b915486941fdbd31e86a4baf88fe8c210f25f2f35ecec5b574ca1c", size = 107025, upload-time = "2026-05-01T23:12:58.867Z" }, +] + +[[package]] +name = "pathspec" +version = "1.1.1" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/5a/82/42f767fc1c1143d6fd36efb827202a2d997a375e160a71eb2888a925aac1/pathspec-1.1.1.tar.gz", hash = "sha256:17db5ecd524104a120e173814c90367a96a98d07c45b2e10c2f3919fff91bf5a", size = 135180, upload-time = "2026-04-27T01:46:08.907Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/f1/d9/7fb5aa316bc299258e68c73ba3bddbc499654a07f151cba08f6153988714/pathspec-1.1.1-py3-none-any.whl", hash = "sha256:a00ce642f577bf7f473932318056212bc4f8bfdf53128c78bbd5af0b9b20b189", size = 57328, upload-time = "2026-04-27T01:46:07.06Z" }, +] + +[[package]] +name = "pexpect" +version = "4.9.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "ptyprocess" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/42/92/cc564bf6381ff43ce1f4d06852fc19a2f11d180f23dc32d9588bee2f149d/pexpect-4.9.0.tar.gz", hash = "sha256:ee7d41123f3c9911050ea2c2dac107568dc43b2d3b0c7557a33212c398ead30f", size = 166450, upload-time = "2023-11-25T09:07:26.339Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/9e/c3/059298687310d527a58bb01f3b1965787ee3b40dce76752eda8b44e9a2c5/pexpect-4.9.0-py2.py3-none-any.whl", hash = "sha256:7236d1e080e4936be2dc3e326cec0af72acf9212a7e1d060210e70a47e253523", size = 63772, upload-time = "2023-11-25T06:56:14.81Z" }, +] + +[[package]] +name = "pillow" +version = "12.3.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/1c/3d/bb7fca845737cf9d7dbde16ed1843984665ff2e0a518f5db43e77ec540b9/pillow-12.3.0.tar.gz", hash = "sha256:3b8182a766685eaa002637e28b4ec8d6b18819a0c71f579bf0dbaa5830297cce", size = 47025035, upload-time = "2026-07-01T11:56:38.965Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/fb/c8/0a78b0e02d7ac54bc03e5321c9220da52f0c2ea83b21f7c40e7f3169c502/pillow-12.3.0-cp311-cp311-macosx_10_10_x86_64.whl", hash = "sha256:00808c5e14ef63ac5161091d242999076604ff74b883423a11e5d7bbb38bf756", size = 5392415, upload-time = "2026-07-01T11:53:47.162Z" }, + { url = "https://files.pythonhosted.org/packages/b2/5b/a02d30018abd97ced9f5a6c63d28597694a00d066516b9c1c6de45859fc9/pillow-12.3.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:37d6d0a00072fd2948eb22bce7e1475f34569d90c87c59f7a2ec59541b77f7a6", size = 4785266, upload-time = "2026-07-01T11:53:49.079Z" }, + { url = "https://files.pythonhosted.org/packages/c8/98/766667a4be768150a202836acd9fad19c06824ca86c4286d3cf6b274964e/pillow-12.3.0-cp311-cp311-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:bcb46e2f9feff8d06323983bd83ed00c201fdcab3d74973e7072a889b3979fcd", size = 6263814, upload-time = "2026-07-01T11:53:51.32Z" }, + { url = "https://files.pythonhosted.org/packages/3b/2d/ede717bc1144f63886c21fd349bb95860b0d1a21149ff16f2bb362b612b6/pillow-12.3.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:23d27a3e0307ec2244cc51e7287b919aa68d097504ebe19df4e76a98a3eea5bd", size = 6934408, upload-time = "2026-07-01T11:53:53.487Z" }, + { url = "https://files.pythonhosted.org/packages/a3/48/9c58b685e69d49c31af6c8eb9012055fab7e665785165c84796e2c73ce72/pillow-12.3.0-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:4f883547d4b7f0495ebe7056b0cc2aea76094e7a4abc8e933540f3271df27d9c", size = 6337160, upload-time = "2026-07-01T11:53:55.457Z" }, + { url = "https://files.pythonhosted.org/packages/ff/fa/dc2a5c0ba6df93f67c31d34b808b7ce440b40cdbf96f0b81cde1d1e6fa93/pillow-12.3.0-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:236ff70b9312fb68943c703aa842ca6a758abfa45ac187a5e7c1452e96ef72b5", size = 7045172, upload-time = "2026-07-01T11:53:57.736Z" }, + { url = "https://files.pythonhosted.org/packages/86/a5/444817a4d4c4c2417df00513086ca196f388d8f9ef40c2e4ccd1ad1af54b/pillow-12.3.0-cp311-cp311-win32.whl", hash = "sha256:10e41f0fbf1eec8cfd234b8fe17a4caac7c9d0db4c204d3c173a8f9f6ef3232b", size = 6472232, upload-time = "2026-07-01T11:53:59.767Z" }, + { url = "https://files.pythonhosted.org/packages/63/c6/4bad1b18d132a50b27e1365e1ab163616f7a5bb56d330f66f9d1d9d4f9d4/pillow-12.3.0-cp311-cp311-win_amd64.whl", hash = "sha256:8e95e1385e4998ae9694eeaa4730ba5457ff61185b3a55e2e7bea0880aef452a", size = 7233653, upload-time = "2026-07-01T11:54:02.066Z" }, + { url = "https://files.pythonhosted.org/packages/fd/16/00f91ab7760dc842f5aad55217e80fc4a7067a0604535249bc8a2d6d9870/pillow-12.3.0-cp311-cp311-win_arm64.whl", hash = "sha256:ebaea975e03d3141d9d3a507df75c9b3ec90fa9d2ffd07567b3a978d9d790b26", size = 2568195, upload-time = "2026-07-01T11:54:04.622Z" }, + { url = "https://files.pythonhosted.org/packages/37/bf/fb3ebff8ddcb76aac5a01389251bbbb9519922a9b520d8247c1ca864a25d/pillow-12.3.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:ba09209fbe443b4acccebe845d8a138b89a8f4fbaeedd44953490b5315d5e965", size = 5345969, upload-time = "2026-07-01T11:54:06.397Z" }, + { url = "https://files.pythonhosted.org/packages/d8/66/9a386a92561f402389a4fc70c18838bf6d35eb5eb5c6850b4b2dc64f5048/pillow-12.3.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:ffd0c5368496f41b0944be820fcb7a838aa6e623d250b01acf2643939c3f99d7", size = 4780323, upload-time = "2026-07-01T11:54:09.351Z" }, + { url = "https://files.pythonhosted.org/packages/25/27/ac8f99618ffd3dde21db0f4d4b1d2ab00c0880595bfd17df103f7f39fd0c/pillow-12.3.0-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:d9c7f76c0673154f044e9d78c8655fb4213f6ca31a836df48b40fe5d187717b9", size = 6266838, upload-time = "2026-07-01T11:54:11.71Z" }, + { url = "https://files.pythonhosted.org/packages/84/21/a35af28dcc61f37ed850a2d64c65c701321dfbf25085e469d5559360cbbf/pillow-12.3.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:78cb2c6865a35ab8ff8b75fd122f6033b92a62c82801110e48ddd6c936a45d91", size = 6940830, upload-time = "2026-07-01T11:54:13.732Z" }, + { url = "https://files.pythonhosted.org/packages/eb/51/8b08617af3ad95e33ce6d7dd2c99ed6c8298f7fb131636303956be022e25/pillow-12.3.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:e491916b378fba47242221bb9ead245211b70d504f495d105d17b14a24b4907c", size = 6344383, upload-time = "2026-07-01T11:54:15.756Z" }, + { url = "https://files.pythonhosted.org/packages/1d/72/cf78ac9780bb93c28328f408973845a309d4d145041665f734572ced1b52/pillow-12.3.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:0dd2064cbc55aaec028ef5fbb60fa47bb6c3e7918e07ff17935284b227a9d2df", size = 7052934, upload-time = "2026-07-01T11:54:17.721Z" }, + { url = "https://files.pythonhosted.org/packages/20/20/25e0f4dc178a6bc0696793720055519a0de89e7661dae886992decbd2f81/pillow-12.3.0-cp312-cp312-win32.whl", hash = "sha256:dbce0b29841537a2fa4a214c2bbf14de3587c9680caa9b4e217568472490b28f", size = 6472684, upload-time = "2026-07-01T11:54:19.839Z" }, + { url = "https://files.pythonhosted.org/packages/45/89/da2f7971a317f83d807fdd4065c0af40208e59e692cc43d315a71a0e96d1/pillow-12.3.0-cp312-cp312-win_amd64.whl", hash = "sha256:a2b55dd6b2a4c4b7d87ffa56bdb33fdc5fdb9a462173861a7bc097f17d91cb09", size = 7227137, upload-time = "2026-07-01T11:54:22.025Z" }, + { url = "https://files.pythonhosted.org/packages/de/47/4845a0a6c0dbf1db8456bd9fc791f13c5ced7ced20606d08a0aacfd25b49/pillow-12.3.0-cp312-cp312-win_arm64.whl", hash = "sha256:331b624368d4f1d069149002f25f44bc61c8919ce8ddb3c45bdad8f6e2d89510", size = 2568267, upload-time = "2026-07-01T11:54:24.051Z" }, + { url = "https://files.pythonhosted.org/packages/9d/ac/31fb64e1e7efb5a4b50cd3d92049ba89ac6e4d8d3bb6a74e15048ca3353e/pillow-12.3.0-cp313-cp313-ios_13_0_arm64_iphoneos.whl", hash = "sha256:21900ce7ba264168cd50defae43cd75d25c833ad4ad6e73ffc5596d12e25ac89", size = 4161684, upload-time = "2026-07-01T11:54:25.934Z" }, + { url = "https://files.pythonhosted.org/packages/87/b4/9805e23d2b4d77842b468513841fda254ee42f0289d25088340e4ff46e2d/pillow-12.3.0-cp313-cp313-ios_13_0_arm64_iphonesimulator.whl", hash = "sha256:4e8c2a84d977f50b9daed6eeaf3baef67d00d5d74d932288f02cb94518ee3ace", size = 4255487, upload-time = "2026-07-01T11:54:27.935Z" }, + { url = "https://files.pythonhosted.org/packages/df/39/ecf519435a200c693fe053a6ee4d835b41cf963a4dfc2551c4e637cb2a71/pillow-12.3.0-cp313-cp313-ios_13_0_x86_64_iphonesimulator.whl", hash = "sha256:ae26d61dfa7a47befdc7572b521024e8745f3d809bd95ca9505a7bba9ef849ec", size = 3696433, upload-time = "2026-07-01T11:54:29.813Z" }, + { url = "https://files.pythonhosted.org/packages/42/92/2fc3ffad878ae8dd5469ec1bc8eb83b71f48e13efdf68f02709003982a32/pillow-12.3.0-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:7a743ff716f746fc19a9557f60dab1600d4613255f8a7aeb3cdde4db7eb15a66", size = 5345889, upload-time = "2026-07-01T11:54:31.97Z" }, + { url = "https://files.pythonhosted.org/packages/10/76/8803c13605b763d33d156c4678fc77f8443389c0c51c8aef707bb02015f4/pillow-12.3.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:d69141514cc30b774ceea5e3ed3a6635c8d8a96edf664689b890f4089111fb35", size = 4780109, upload-time = "2026-07-01T11:54:34.026Z" }, + { url = "https://files.pythonhosted.org/packages/1f/01/e18aff37cb0b4aac47ac90f016d347a49aca667ef97f190b06ac2aabc928/pillow-12.3.0-cp313-cp313-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:f7401aebd7f581d7f83a439d87d474999317ee099218e5ad25d125290990ba65", size = 6263736, upload-time = "2026-07-01T11:54:36.131Z" }, + { url = "https://files.pythonhosted.org/packages/f7/62/de5bdd77d935331f4f802edc11e4d82950f642caad6cb2f949837b8560e2/pillow-12.3.0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:0847a763afefb695bc912d7c131e7e0632d4edc1d8698f58ddabec8e46b8b6d3", size = 6937129, upload-time = "2026-07-01T11:54:38.216Z" }, + { url = "https://files.pythonhosted.org/packages/70/4d/105627a13300c5e0df1d174230b32fd1273062c96f7745fd552b945d1e1d/pillow-12.3.0-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:571b9fcb07b97ef3a492028fb3d2dc0993ca23a06138b0315286566d29ef718a", size = 6339562, upload-time = "2026-07-01T11:54:40.354Z" }, + { url = "https://files.pythonhosted.org/packages/6b/1d/f13de01a553988ab895ba1c722e06cf3144d4f57656fd5b81b6d881f1179/pillow-12.3.0-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:756c768d0c9c2955feb7a56c37ea24aea2e369f8d36a88da270b6a9f19e62b5e", size = 7049439, upload-time = "2026-07-01T11:54:42.489Z" }, + { url = "https://files.pythonhosted.org/packages/c9/f9/066794cca041b969964f779ee5fa66a9498bbf34248ac39c5d7954e4198f/pillow-12.3.0-cp313-cp313-win32.whl", hash = "sha256:a876864214e136f0eb367788dbd7df045f4806801518e2cfe9e13229cfe06d8f", size = 6473287, upload-time = "2026-07-01T11:54:44.9Z" }, + { url = "https://files.pythonhosted.org/packages/a6/9b/7a58e61d62be561da3a356fe2384d4059a6345fc130e23ef1c36a5b81d24/pillow-12.3.0-cp313-cp313-win_amd64.whl", hash = "sha256:1cca606cd25738df4ed873d5ad46bbdb3d83b5cbca291f6b4ff13a4df6b0bbe8", size = 7239691, upload-time = "2026-07-01T11:54:47.141Z" }, + { url = "https://files.pythonhosted.org/packages/aa/b0/c4ed4f0ef8f8fa5ee8351537db6650bb8189f7e118842978dd6589065692/pillow-12.3.0-cp313-cp313-win_arm64.whl", hash = "sha256:b629de27fda84b42cde7edef0d85f13b958b47f6e9bbcbba9b673c562a89bd8b", size = 2568185, upload-time = "2026-07-01T11:54:49.137Z" }, + { url = "https://files.pythonhosted.org/packages/dc/01/001f65b68192f0228cc1dbbc8d2530ab5d58b61037ba0587f946fea607cd/pillow-12.3.0-cp314-cp314-ios_13_0_arm64_iphoneos.whl", hash = "sha256:9cf95fe4d0f84c82d282745d9bb08ad9f926efa00be4697e767b814ce40d4330", size = 4161736, upload-time = "2026-07-01T11:54:51.156Z" }, + { url = "https://files.pythonhosted.org/packages/1a/d2/0219746d0fd16fc8a84498e79452375be3797d3ce4044596ce565164b84f/pillow-12.3.0-cp314-cp314-ios_13_0_arm64_iphonesimulator.whl", hash = "sha256:8728f216dcdb6e6d555cf971cb34076139ad74b31fc2c14da4fafc741c5f6217", size = 4255435, upload-time = "2026-07-01T11:54:53.414Z" }, + { url = "https://files.pythonhosted.org/packages/c8/02/8d0bc62ef0302318c46ff2a512822d2610e81c7aa46c9b3abe6cbaca5ad0/pillow-12.3.0-cp314-cp314-ios_13_0_x86_64_iphonesimulator.whl", hash = "sha256:a45650e8ce7fafffd731db8550230db6b0d306d181a90b67d3e6bca2f1990930", size = 3696262, upload-time = "2026-07-01T11:54:55.739Z" }, + { url = "https://files.pythonhosted.org/packages/85/e2/73c77d218410b14f5f2d565e8a998d5317b7b9c75368d29985139f7a46f0/pillow-12.3.0-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:ba54cfebe86920a559a7c4d6b9050791c20513650a1952ebe3368c7dc70306f8", size = 5350344, upload-time = "2026-07-01T11:54:57.657Z" }, + { url = "https://files.pythonhosted.org/packages/c7/da/32c752228ae345f489e3a42499d817b6c3996da7e8a3bc7a04fc806b243b/pillow-12.3.0-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:e158cb00350dc278f3b91551101aa7d12415a66ebf2c91d8d5ac14e56ddd3ad0", size = 4780131, upload-time = "2026-07-01T11:54:59.713Z" }, + { url = "https://files.pythonhosted.org/packages/b1/9d/8b2c807dbef61a5197c047afe99823787eb66f63daf9fb2432f91d6f0462/pillow-12.3.0-cp314-cp314-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:e9aeb04d6aef139de265b29683e119b638208f88cf73cdd1658aa07221165321", size = 6263757, upload-time = "2026-07-01T11:55:01.778Z" }, + { url = "https://files.pythonhosted.org/packages/5c/44/c85361f65dbe00eea8576ee467c768d25129989efb76e94f205e9ca9bb46/pillow-12.3.0-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:251bf95b67017e27b13d82f5b326234ca62d70f9cf4c2b9032de2358a3b12c7b", size = 6936962, upload-time = "2026-07-01T11:55:03.93Z" }, + { url = "https://files.pythonhosted.org/packages/18/7e/e483414b35800b86b6f08dbbc7803fb5cd52c4d6f897f47d53ea2c7e6f65/pillow-12.3.0-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:fe3cca2e4e8a592be0f269a1ca4835c25199d9f3ce815c8491048f785b0a0198", size = 6339171, upload-time = "2026-07-01T11:55:05.989Z" }, + { url = "https://files.pythonhosted.org/packages/f0/f4/68c491844841ede6bed70189546b3ee9731cf9f2cbad396faff5e1ccba45/pillow-12.3.0-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:23aceaa007d6172b02c277f0cd359c79492bbb14f7072b4ede9fbcaf20648130", size = 7048116, upload-time = "2026-07-01T11:55:08.131Z" }, + { url = "https://files.pythonhosted.org/packages/a3/34/77f3f793fed8efc7d243f21b33c5a3f0d1c97ee70346d3db855587e155ff/pillow-12.3.0-cp314-cp314-win32.whl", hash = "sha256:af8d94b0db561cf68b88a267c5c44b49e134f525d0dc2cb7ed413a66bc23559a", size = 6467209, upload-time = "2026-07-01T11:55:10.408Z" }, + { url = "https://files.pythonhosted.org/packages/f1/e0/492879f69d94f91f60fc8cd05ba03650e9520afebb2fb7aa12777d7c7f38/pillow-12.3.0-cp314-cp314-win_amd64.whl", hash = "sha256:fdafc9cce40277e0f7a0feabce0ee50dd2fa1800f3b38015e51296b5e814048d", size = 7237707, upload-time = "2026-07-01T11:55:12.745Z" }, + { url = "https://files.pythonhosted.org/packages/c9/ac/6b11f2875f1c2ac040d84e1bbf9cf22a88038f901ca1037898b280b38365/pillow-12.3.0-cp314-cp314-win_arm64.whl", hash = "sha256:e91206ee562682b51b98ef4b26a6ef48fd84e15fd4c4bc5ec768eb641d206838", size = 2565995, upload-time = "2026-07-01T11:55:14.736Z" }, + { url = "https://files.pythonhosted.org/packages/52/69/c2208e56af9bfc1913afb24020297a691eb1d4ef688474c8a04913f65e04/pillow-12.3.0-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:164b31cd1a0490ab6efae01aa5df49da7061be0af1b30e035b6e9a1bfe34ee6e", size = 5352503, upload-time = "2026-07-01T11:55:17.076Z" }, + { url = "https://files.pythonhosted.org/packages/07/70/e5686d753e898a45d778ff1718dba8516ead6ab6b95d85fc8c4b70650cf2/pillow-12.3.0-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:5afb51d599ea772b8365ae807ae557f18bccfe46ab261fd1c2a9ed700fc6eb17", size = 4782956, upload-time = "2026-07-01T11:55:19.448Z" }, + { url = "https://files.pythonhosted.org/packages/d5/37/25c6692f06927ee973ff18c8d9ee98ad0b4d84ee67a09610c2dd1447958e/pillow-12.3.0-cp314-cp314t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:3edce1d53195db527e0191f84b71d02022de0540bf43a16ed734ed7537b07385", size = 6322855, upload-time = "2026-07-01T11:55:21.613Z" }, + { url = "https://files.pythonhosted.org/packages/cc/91/420637fcb8f1bc11029e403b4538e6694744428d8246118e45719f944556/pillow-12.3.0-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:bf16ba1b4d0b6b7c8e534936632270cf70eb00dbe09005bc345b2677b726855c", size = 6989642, upload-time = "2026-07-01T11:55:24.006Z" }, + { url = "https://files.pythonhosted.org/packages/10/08/b94d7811281ccf0d143a1cf768d1c49e1e54af63e7b708ab2ee3eb87face/pillow-12.3.0-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:24870b09b224f7ae3c39ed07d10e819d06f8720bc551847b1d623832b5b0e28d", size = 6391281, upload-time = "2026-07-01T11:55:26.252Z" }, + { url = "https://files.pythonhosted.org/packages/d2/87/24233f785f55474dc02ce3e739c5528a77e3a862e9333d1dd7a25cc31f70/pillow-12.3.0-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:30f2aa603c41533cc25c05acd0da21636e84a315768feb631c937177db558931", size = 7096716, upload-time = "2026-07-01T11:55:28.318Z" }, + { url = "https://files.pythonhosted.org/packages/23/26/fcb2f6e37175b04f53570b59937867e2b80ee1685e744023153028fc14f9/pillow-12.3.0-cp314-cp314t-win32.whl", hash = "sha256:4b0a7fe987b14c31ebda6083f74f22b561fd3739bc0ac51e019622e3d72668c7", size = 6474125, upload-time = "2026-07-01T11:55:30.956Z" }, + { url = "https://files.pythonhosted.org/packages/90/de/3634abee5f1c9e13c56787b7d5517b0ba8d6de51700b95578cf338349c9f/pillow-12.3.0-cp314-cp314t-win_amd64.whl", hash = "sha256:962864dc93511324d51ddbb5b9f8731bf71675b93ca612a07441896f4688fb8c", size = 7242939, upload-time = "2026-07-01T11:55:34.044Z" }, + { url = "https://files.pythonhosted.org/packages/ce/2a/fd13f8eb24de5714a6eb444a3d67e2842c6c576e159a43793adf23051351/pillow-12.3.0-cp314-cp314t-win_arm64.whl", hash = "sha256:0740a512dc522224c77d9aa5a8d70d8b7d73fb91f2c21125d8d025d3b8990e45", size = 2567506, upload-time = "2026-07-01T11:55:35.988Z" }, + { url = "https://files.pythonhosted.org/packages/5d/dc/8fdce34ec725a33c81c6ba122b904d6b9024e50ea9ac7bede62fab54506c/pillow-12.3.0-cp315-cp315-ios_13_0_arm64_iphoneos.whl", hash = "sha256:0feb2e9d6ad6c9e3c06effe9d00f3f1e618a6643273576b016f591e9315a7139", size = 4162063, upload-time = "2026-07-01T11:55:37.941Z" }, + { url = "https://files.pythonhosted.org/packages/76/66/2044b9a63d3b84ff048228dfcb7cd9bf0df983e8470971bf7d4c57b693de/pillow-12.3.0-cp315-cp315-ios_13_0_arm64_iphonesimulator.whl", hash = "sha256:9e881fca225083806662a5c43d627d215f258ff43c890f831966c7d7ba9c7402", size = 4255549, upload-time = "2026-07-01T11:55:40.022Z" }, + { url = "https://files.pythonhosted.org/packages/52/7e/1f67e6f4ece6b582ee4b539decbcc9f848dc245a93ed8cd7338bafef72f1/pillow-12.3.0-cp315-cp315-ios_13_0_x86_64_iphonesimulator.whl", hash = "sha256:4998562bf62a445225f22e07c896bb04b35b1b1f2eb6d760584c9c51d7a5f78c", size = 3696331, upload-time = "2026-07-01T11:55:41.98Z" }, + { url = "https://files.pythonhosted.org/packages/12/40/d306fc2c8e4d45d7f175c77edca7063be7b86fe7fe6e68f4353bf71d808c/pillow-12.3.0-cp315-cp315-macosx_10_15_x86_64.whl", hash = "sha256:dc624f6bc473dacdf7ef7eb8678d0d08edf15cd94fad6ae5c7d6cc67a4e4902f", size = 5350370, upload-time = "2026-07-01T11:55:44.028Z" }, + { url = "https://files.pythonhosted.org/packages/dd/44/668fb1437e8ce420f62d6106eb66e44a5971602a4d794615bdf79315d82d/pillow-12.3.0-cp315-cp315-macosx_11_0_arm64.whl", hash = "sha256:71d6097b330eea8fd15097780c8e89cb1a8ce7838669f48c5bacd6f663dd4701", size = 4780147, upload-time = "2026-07-01T11:55:46.073Z" }, + { url = "https://files.pythonhosted.org/packages/0c/08/93fa2e70e30a2d81547e481b6ee2bb9522117221fb1e0ce4b5df70967677/pillow-12.3.0-cp315-cp315-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:28ce87c5ab450a9dd970b52e5aca5fe63ed432d18a2eaddd1979a00a1ba24ace", size = 6273659, upload-time = "2026-07-01T11:55:48.264Z" }, + { url = "https://files.pythonhosted.org/packages/f8/6d/043e96ff814fc31a33077e4cba86082167db520c93632afdf2042febbb0c/pillow-12.3.0-cp315-cp315-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:6b02afb9b97f65fbca5f31db6a2a3ba21aa93030225f150fa3f249717e938fb4", size = 6947439, upload-time = "2026-07-01T11:55:50.503Z" }, + { url = "https://files.pythonhosted.org/packages/af/92/ba71d2ee2ac0edf3fa33bd9d5ee9ee080da70b1766f3ca3934f9938ddac9/pillow-12.3.0-cp315-cp315-musllinux_1_2_aarch64.whl", hash = "sha256:1182d52bc2d5e5d7d0949503aa7e36d12f42205dc287e4883f407b1988820d39", size = 6353577, upload-time = "2026-07-01T11:55:52.697Z" }, + { url = "https://files.pythonhosted.org/packages/0f/ce/e63064e2122923ff687c8ad792d0d736a7b3920a56a46982e81a7fdd25d6/pillow-12.3.0-cp315-cp315-musllinux_1_2_x86_64.whl", hash = "sha256:e795b7eb908249c4e43c7c99fac7c2c75dab0c43566e37db472a355f63693d71", size = 7060394, upload-time = "2026-07-01T11:55:55.149Z" }, + { url = "https://files.pythonhosted.org/packages/54/76/a09cc3ccc8d773a7283d34c38bec1708f9e3cc932093cbc4c5e71ac4060b/pillow-12.3.0-cp315-cp315-win32.whl", hash = "sha256:57b3d78c95ba9059768b10e28b813002261d3f3dfc55cc48b0c988f625175827", size = 6467375, upload-time = "2026-07-01T11:55:57.769Z" }, + { url = "https://files.pythonhosted.org/packages/3e/03/1846c49ba3b1d5550392a4bbd06d6fb4578e1cd91a803198b5c90f5f7d53/pillow-12.3.0-cp315-cp315-win_amd64.whl", hash = "sha256:fa4ecea169a355be7a3ade2c783e2ed12f0e40d2c5621cda8b3297faf7fbb9f5", size = 7237048, upload-time = "2026-07-01T11:55:59.975Z" }, + { url = "https://files.pythonhosted.org/packages/fb/bb/89f35dcc79610423f9f195504d7def7f0d1416a711541b42867e25fe3412/pillow-12.3.0-cp315-cp315-win_arm64.whl", hash = "sha256:877c3f311ff35410f690861c4409e7ccbf0cd2f878e50628a28e5a0bb689e658", size = 2566006, upload-time = "2026-07-01T11:56:02.143Z" }, + { url = "https://files.pythonhosted.org/packages/30/88/707027ba09942dfa2c28759b5c222d769290a41c6d20ea60ec250801941f/pillow-12.3.0-cp315-cp315t-macosx_10_15_x86_64.whl", hash = "sha256:e9871b1ffbfa9656b60aeee92ed5136a5742696006fa322b29ea3d8da0ecc9cf", size = 5352509, upload-time = "2026-07-01T11:56:04.2Z" }, + { url = "https://files.pythonhosted.org/packages/b0/6d/00352fa25332c2569cd387851f568cc5a4b75a9adbfb37ac4fbce4c02eec/pillow-12.3.0-cp315-cp315t-macosx_11_0_arm64.whl", hash = "sha256:53aa02d20d10c3d814d536aa4e5ac9b84ca0ff5a88377963b085ad6822f93e64", size = 4783167, upload-time = "2026-07-01T11:56:06.631Z" }, + { url = "https://files.pythonhosted.org/packages/13/4f/9e049dfa21af7c22427275720e2490267ba8138120add5c4c574deb69782/pillow-12.3.0-cp315-cp315t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:446c34dcc4324b084a53b705127dc15717b22c5e140ae0a3c38349d4efec071e", size = 6329237, upload-time = "2026-07-01T11:56:08.868Z" }, + { url = "https://files.pythonhosted.org/packages/36/16/cf6eeaae8d0fce8dd390a33437cf68c5d5bd73834a2bc6e2f14efda0ab45/pillow-12.3.0-cp315-cp315t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:cf1845d02ad822a369a49f2bb9345b1614744267682e7a03527dc3bf6eea1777", size = 6997047, upload-time = "2026-07-01T11:56:11.379Z" }, + { url = "https://files.pythonhosted.org/packages/1e/69/dbf769bdd55f48bf5733cac28edc6364ffaa072ec9ba336266e4fe66be55/pillow-12.3.0-cp315-cp315t-musllinux_1_2_aarch64.whl", hash = "sha256:186941b6aef820ad110fb01fb06eb925374dc3a21b17e37ec9a53b250c6fe2d1", size = 6400440, upload-time = "2026-07-01T11:56:13.908Z" }, + { url = "https://files.pythonhosted.org/packages/a0/e1/ffc9cfc2eea0d178da8018e18e959301ad9d6bc9f3edb7181e748a474b97/pillow-12.3.0-cp315-cp315t-musllinux_1_2_x86_64.whl", hash = "sha256:f13c32a3abd6079a66d9526e18dad9b6d280384d49d7c54040cd57b6424041d9", size = 7105895, upload-time = "2026-07-01T11:56:16.575Z" }, + { url = "https://files.pythonhosted.org/packages/18/f0/a5595c1e8c3ae44b9828cb2f0fa8155e5095ef04d6327b8f61cf44a3df85/pillow-12.3.0-cp315-cp315t-win32.whl", hash = "sha256:1657923d2d45afb66526e5b933e5b3052e6bdea196c90d3abb2424e18c77dae8", size = 6474384, upload-time = "2026-07-01T11:56:18.855Z" }, + { url = "https://files.pythonhosted.org/packages/e4/04/62bcd9f844984c5938d3b05264a61d797a29d3e0812341a8204af70bbdee/pillow-12.3.0-cp315-cp315t-win_amd64.whl", hash = "sha256:8cd2f7bdda092d99c9fc2fb7391354f306d01443d22785d0cbfafa2e2c8bb418", size = 7243537, upload-time = "2026-07-01T11:56:21.214Z" }, + { url = "https://files.pythonhosted.org/packages/3d/68/1f3066acedf37673694a7141381d8f811ae97f30d34413d236abe7d489f1/pillow-12.3.0-cp315-cp315t-win_arm64.whl", hash = "sha256:06ff022112bc9cbf83b60f8e028d94ad87b60621706487e65f673de61610ab59", size = 2567491, upload-time = "2026-07-01T11:56:23.506Z" }, + { url = "https://files.pythonhosted.org/packages/75/18/2e8b40223153ccbc60df07f9e8928dc0c76202aa4e55ae9f53962b6510d6/pillow-12.3.0-pp311-pypy311_pp73-macosx_10_15_x86_64.whl", hash = "sha256:b3c777e849237620b022f7f297dd67705f9f5cf1685f09f02e46f93e92725468", size = 5302510, upload-time = "2026-07-01T11:56:25.736Z" }, + { url = "https://files.pythonhosted.org/packages/46/3e/51fabf59d5ab801ceab709453d3ab6b180083496579549de4c45ced6528a/pillow-12.3.0-pp311-pypy311_pp73-macosx_11_0_arm64.whl", hash = "sha256:b343699e8308bdc51978310e1c959c584e7869cc8c40780058c87da7781a1e94", size = 4736058, upload-time = "2026-07-01T11:56:28.041Z" }, + { url = "https://files.pythonhosted.org/packages/bf/20/22fe9384b7949e25fb1293bcfc84fb82590ff4ea6b37c95b24d26d793d86/pillow-12.3.0-pp311-pypy311_pp73-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:fbd139c8447d25dd750ab79ee274cc5e1fe80fc56340ab10b18a195e1b6eca3e", size = 5237776, upload-time = "2026-07-01T11:56:30.263Z" }, + { url = "https://files.pythonhosted.org/packages/08/14/f6ba68107680ffa74b39985f3f30884e41318fbc4250caa423c79b4788bb/pillow-12.3.0-pp311-pypy311_pp73-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:e7e480451b9fa137494bccd3a7d69adbe8ac65a87d97be61e11f1b1050a5bac3", size = 5860358, upload-time = "2026-07-01T11:56:32.68Z" }, + { url = "https://files.pythonhosted.org/packages/36/54/0169bc772ec491108b62f644f8ecf1fe5d8ae5ebafde2ee2142210166903/pillow-12.3.0-pp311-pypy311_pp73-win_amd64.whl", hash = "sha256:04f01d28a6aaff387bf842a13be313df23ba0597a44f1a976c9feb3c6ff4711a", size = 7231786, upload-time = "2026-07-01T11:56:35.046Z" }, +] + +[[package]] +name = "platformdirs" +version = "4.12.3" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/42/23/4a86fc741c38c5b69792a4ef954b281afa69bea9f083f881de1b0d23bc07/platformdirs-4.12.3.tar.gz", hash = "sha256:427fc0bb321ae0c5b037fa03238ca74820437be162e78b4848c4d4055b9b766c", size = 59538, upload-time = "2026-10-03T23:40:46.595Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/c5/9b/6ce1ead737fe496611bda600c263b9a11ae7bd8f41bb13f9bd7e0a2c37a4/platformdirs-4.12.3-py3-none-any.whl", hash = "sha256:080f3b39423b5abfca9a23d84c4e9795f54d395cd8459867a8ded44084fcd5f8", size = 32493, upload-time = "2026-10-03T23:40:45.104Z" }, +] + +[[package]] +name = "pluggy" +version = "1.6.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/f9/e2/3e91f31a7d2b083fe6ef3fa267035b518369d9511ffab804f839851d2779/pluggy-1.6.0.tar.gz", hash = "sha256:7dcc130b76258d33b90f61b658791dede3486c3e6bfb003ee5c9bfb396dd22f3", size = 69412, upload-time = "2025-05-15T12:30:07.975Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/54/20/4d324d65cc6d9205fabedc306948156824eb9f0ee1633355a8f7ec5c66bf/pluggy-1.6.0-py3-none-any.whl", hash = "sha256:e920276dd6813095e9377c0bc5566d94c932c33b27a3e3945d8389c374dd4746", size = 20538, upload-time = "2025-05-15T12:30:06.134Z" }, +] + +[[package]] +name = "prometheus-client" +version = "0.26.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/52/73/f1334c29c2af4cd9dba6c7817e61b611bd0215e2eb5565c6064a4de18802/prometheus_client-0.26.0.tar.gz", hash = "sha256:04a91bcf94e2cf74a44a1a874d651a2e853ed354b6e822f3b7487751465d5c2b", size = 92910, upload-time = "2026-07-24T19:36:41.893Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/eb/a3/b69efbf4143b5b9859b977770bbbabcc2796b702fa69dc40271e45cd5a56/prometheus_client-0.26.0-py3-none-any.whl", hash = "sha256:fa93d06737aa02bacd05794768508bb97d2fbee28cb3bca04eaae92f0ca953d6", size = 64494, upload-time = "2026-07-24T19:36:40.854Z" }, +] + +[[package]] +name = "prompt-toolkit" +version = "3.0.53" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "wcwidth" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/7d/ea/39b988c938f75cb75d7045b5c69f8bfed47ee2152c8837fb403de29d6fb8/prompt_toolkit-3.0.53.tar.gz", hash = "sha256:9ec8a0ad96d5c56148b3f914aa79c1564c3fde5d2e6b876e7bc327e353cf8fa6", size = 435492, upload-time = "2026-07-26T20:56:14.758Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/54/6f/84908cad2d6aa5144abcf7b42709fe4fdb459bc640ec7ac5786e7693dabc/prompt_toolkit-3.0.53-py3-none-any.whl", hash = "sha256:01c0891d7f9237d5e339f7d3e42cdae80b7534abb1c7c0e3352efba6231492f2", size = 392288, upload-time = "2026-07-26T20:56:12.512Z" }, +] + +[[package]] +name = "psutil" +version = "7.2.2" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/aa/c6/d1ddf4abb55e93cebc4f2ed8b5d6dbad109ecb8d63748dd2b20ab5e57ebe/psutil-7.2.2.tar.gz", hash = "sha256:0746f5f8d406af344fd547f1c8daa5f5c33dbc293bb8d6a16d80b4bb88f59372", size = 493740, upload-time = "2026-01-28T18:14:54.428Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/51/08/510cbdb69c25a96f4ae523f733cdc963ae654904e8db864c07585ef99875/psutil-7.2.2-cp313-cp313t-macosx_10_13_x86_64.whl", hash = "sha256:2edccc433cbfa046b980b0df0171cd25bcaeb3a68fe9022db0979e7aa74a826b", size = 130595, upload-time = "2026-01-28T18:14:57.293Z" }, + { url = "https://files.pythonhosted.org/packages/d6/f5/97baea3fe7a5a9af7436301f85490905379b1c6f2dd51fe3ecf24b4c5fbf/psutil-7.2.2-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:e78c8603dcd9a04c7364f1a3e670cea95d51ee865e4efb3556a3a63adef958ea", size = 131082, upload-time = "2026-01-28T18:14:59.732Z" }, + { url = "https://files.pythonhosted.org/packages/37/d6/246513fbf9fa174af531f28412297dd05241d97a75911ac8febefa1a53c6/psutil-7.2.2-cp313-cp313t-manylinux2010_x86_64.manylinux_2_12_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:1a571f2330c966c62aeda00dd24620425d4b0cc86881c89861fbc04549e5dc63", size = 181476, upload-time = "2026-01-28T18:15:01.884Z" }, + { url = "https://files.pythonhosted.org/packages/b8/b5/9182c9af3836cca61696dabe4fd1304e17bc56cb62f17439e1154f225dd3/psutil-7.2.2-cp313-cp313t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:917e891983ca3c1887b4ef36447b1e0873e70c933afc831c6b6da078ba474312", size = 184062, upload-time = "2026-01-28T18:15:04.436Z" }, + { url = "https://files.pythonhosted.org/packages/16/ba/0756dca669f5a9300d0cbcbfae9a4c30e446dfc7440ffe43ded5724bfd93/psutil-7.2.2-cp313-cp313t-win_amd64.whl", hash = "sha256:ab486563df44c17f5173621c7b198955bd6b613fb87c71c161f827d3fb149a9b", size = 139893, upload-time = "2026-01-28T18:15:06.378Z" }, + { url = "https://files.pythonhosted.org/packages/1c/61/8fa0e26f33623b49949346de05ec1ddaad02ed8ba64af45f40a147dbfa97/psutil-7.2.2-cp313-cp313t-win_arm64.whl", hash = "sha256:ae0aefdd8796a7737eccea863f80f81e468a1e4cf14d926bd9b6f5f2d5f90ca9", size = 135589, upload-time = "2026-01-28T18:15:08.03Z" }, + { url = "https://files.pythonhosted.org/packages/81/69/ef179ab5ca24f32acc1dac0c247fd6a13b501fd5534dbae0e05a1c48b66d/psutil-7.2.2-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:eed63d3b4d62449571547b60578c5b2c4bcccc5387148db46e0c2313dad0ee00", size = 130664, upload-time = "2026-01-28T18:15:09.469Z" }, + { url = "https://files.pythonhosted.org/packages/7b/64/665248b557a236d3fa9efc378d60d95ef56dd0a490c2cd37dafc7660d4a9/psutil-7.2.2-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:7b6d09433a10592ce39b13d7be5a54fbac1d1228ed29abc880fb23df7cb694c9", size = 131087, upload-time = "2026-01-28T18:15:11.724Z" }, + { url = "https://files.pythonhosted.org/packages/d5/2e/e6782744700d6759ebce3043dcfa661fb61e2fb752b91cdeae9af12c2178/psutil-7.2.2-cp314-cp314t-manylinux2010_x86_64.manylinux_2_12_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:1fa4ecf83bcdf6e6c8f4449aff98eefb5d0604bf88cb883d7da3d8d2d909546a", size = 182383, upload-time = "2026-01-28T18:15:13.445Z" }, + { url = "https://files.pythonhosted.org/packages/57/49/0a41cefd10cb7505cdc04dab3eacf24c0c2cb158a998b8c7b1d27ee2c1f5/psutil-7.2.2-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:e452c464a02e7dc7822a05d25db4cde564444a67e58539a00f929c51eddda0cf", size = 185210, upload-time = "2026-01-28T18:15:16.002Z" }, + { url = "https://files.pythonhosted.org/packages/dd/2c/ff9bfb544f283ba5f83ba725a3c5fec6d6b10b8f27ac1dc641c473dc390d/psutil-7.2.2-cp314-cp314t-win_amd64.whl", hash = "sha256:c7663d4e37f13e884d13994247449e9f8f574bc4655d509c3b95e9ec9e2b9dc1", size = 141228, upload-time = "2026-01-28T18:15:18.385Z" }, + { url = "https://files.pythonhosted.org/packages/f2/fc/f8d9c31db14fcec13748d373e668bc3bed94d9077dbc17fb0eebc073233c/psutil-7.2.2-cp314-cp314t-win_arm64.whl", hash = "sha256:11fe5a4f613759764e79c65cf11ebdf26e33d6dd34336f8a337aa2996d71c841", size = 136284, upload-time = "2026-01-28T18:15:19.912Z" }, + { url = "https://files.pythonhosted.org/packages/e7/36/5ee6e05c9bd427237b11b3937ad82bb8ad2752d72c6969314590dd0c2f6e/psutil-7.2.2-cp36-abi3-macosx_10_9_x86_64.whl", hash = "sha256:ed0cace939114f62738d808fdcecd4c869222507e266e574799e9c0faa17d486", size = 129090, upload-time = "2026-01-28T18:15:22.168Z" }, + { url = "https://files.pythonhosted.org/packages/80/c4/f5af4c1ca8c1eeb2e92ccca14ce8effdeec651d5ab6053c589b074eda6e1/psutil-7.2.2-cp36-abi3-macosx_11_0_arm64.whl", hash = "sha256:1a7b04c10f32cc88ab39cbf606e117fd74721c831c98a27dc04578deb0c16979", size = 129859, upload-time = "2026-01-28T18:15:23.795Z" }, + { url = "https://files.pythonhosted.org/packages/b5/70/5d8df3b09e25bce090399cf48e452d25c935ab72dad19406c77f4e828045/psutil-7.2.2-cp36-abi3-manylinux2010_x86_64.manylinux_2_12_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:076a2d2f923fd4821644f5ba89f059523da90dc9014e85f8e45a5774ca5bc6f9", size = 155560, upload-time = "2026-01-28T18:15:25.976Z" }, + { url = "https://files.pythonhosted.org/packages/63/65/37648c0c158dc222aba51c089eb3bdfa238e621674dc42d48706e639204f/psutil-7.2.2-cp36-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:b0726cecd84f9474419d67252add4ac0cd9811b04d61123054b9fb6f57df6e9e", size = 156997, upload-time = "2026-01-28T18:15:27.794Z" }, + { url = "https://files.pythonhosted.org/packages/8e/13/125093eadae863ce03c6ffdbae9929430d116a246ef69866dad94da3bfbc/psutil-7.2.2-cp36-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:fd04ef36b4a6d599bbdb225dd1d3f51e00105f6d48a28f006da7f9822f2606d8", size = 148972, upload-time = "2026-01-28T18:15:29.342Z" }, + { url = "https://files.pythonhosted.org/packages/04/78/0acd37ca84ce3ddffaa92ef0f571e073faa6d8ff1f0559ab1272188ea2be/psutil-7.2.2-cp36-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:b58fabe35e80b264a4e3bb23e6b96f9e45a3df7fb7eed419ac0e5947c61e47cc", size = 148266, upload-time = "2026-01-28T18:15:31.597Z" }, + { url = "https://files.pythonhosted.org/packages/b4/90/e2159492b5426be0c1fef7acba807a03511f97c5f86b3caeda6ad92351a7/psutil-7.2.2-cp37-abi3-win_amd64.whl", hash = "sha256:eb7e81434c8d223ec4a219b5fc1c47d0417b12be7ea866e24fb5ad6e84b3d988", size = 137737, upload-time = "2026-01-28T18:15:33.849Z" }, + { url = "https://files.pythonhosted.org/packages/8c/c7/7bb2e321574b10df20cbde462a94e2b71d05f9bbda251ef27d104668306a/psutil-7.2.2-cp37-abi3-win_arm64.whl", hash = "sha256:8c233660f575a5a89e6d4cb65d9f938126312bca76d8fe087b947b3a1aaac9ee", size = 134617, upload-time = "2026-01-28T18:15:36.514Z" }, +] + +[[package]] +name = "ptyprocess" +version = "0.7.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/20/e5/16ff212c1e452235a90aeb09066144d0c5a6a8c0834397e03f5224495c4e/ptyprocess-0.7.0.tar.gz", hash = "sha256:5c5d0a3b48ceee0b48485e0c26037c0acd7d29765ca3fbb5cb3831d347423220", size = 70762, upload-time = "2020-12-28T15:15:30.155Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/22/a6/858897256d0deac81a172289110f31629fc4cee19b6f01283303e18c8db3/ptyprocess-0.7.0-py2.py3-none-any.whl", hash = "sha256:4b41f3967fce3af57cc7e94b888626c18bf37a083e3651ca8feeb66d492fef35", size = 13993, upload-time = "2020-12-28T15:15:28.35Z" }, +] + +[[package]] +name = "pure-eval" +version = "0.2.4" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/da/9f/abfd2959e9261dd5217ca8551d4de211ca6ab26fe9b72cf44731ff6c4442/pure_eval-0.2.4.tar.gz", hash = "sha256:260c2774686e651b79f8b8e7fc9d80b3599ea6a66334b47d5f4abb69fc2c0ea1", size = 20563, upload-time = "2026-09-10T21:41:22.836Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/6d/18/83376915176eb058cb86470eb7396388a13350b09a8f233a79303bbcbc5b/pure_eval-0.2.4-py3-none-any.whl", hash = "sha256:96cae060a313cfaad51bb761278bfb0e62dc0248d9315a81173752dc546cd37a", size = 11893, upload-time = "2026-09-10T21:41:21.532Z" }, +] + +[[package]] +name = "pycparser" +version = "3.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/1b/7d/92392ff7815c21062bea51aa7b87d45576f649f16458d78b7cf94b9ab2e6/pycparser-3.0.tar.gz", hash = "sha256:600f49d217304a5902ac3c37e1281c9fe94e4d0489de643a9504c5cdfdfc6b29", size = 103492, upload-time = "2026-01-21T14:26:51.89Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/0c/c3/44f3fbbfa403ea2a7c779186dc20772604442dde72947e7d01069cbe98e3/pycparser-3.0-py3-none-any.whl", hash = "sha256:b727414169a36b7d524c1c3e31839a521725078d7b2ff038656844266160a992", size = 48172, upload-time = "2026-01-21T14:26:50.693Z" }, +] + +[[package]] +name = "pydantic" +version = "2.13.5" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "annotated-types" }, + { name = "pydantic-core" }, + { name = "typing-extensions" }, + { name = "typing-inspection" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/53/ef/fc4f868f4e2cee79f863883abffceff107875f569b848507319842d2a681/pydantic-2.13.5.tar.gz", hash = "sha256:51a9c5f7b2f8e636f04c6cada605d9b6a3bf1348fdf945a3d8869b19bba0ee08", size = 845750, upload-time = "2026-08-28T14:04:00.916Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/eb/47/c95ffc2009878c7aac0c5e08528022dcb885933252a88b5f170058014464/pydantic-2.13.5-py3-none-any.whl", hash = "sha256:346a034f080da3755d8e9cb5e00e8b07de1d39e4f6e2c87d8ab7cafa0b269a73", size = 472589, upload-time = "2026-08-28T14:03:59.136Z" }, +] + +[[package]] +name = "pydantic-core" +version = "2.46.5" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "typing-extensions" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/af/f9/8a06bea35ef8daf588f707784c973a7046e0034c8d8cfb08828eeffb8b75/pydantic_core-2.46.5.tar.gz", hash = "sha256:10416c15b8839ecc4ef4d0885da76da6fd0f67333a0eb8aff6d93c4b8f2910fc", size = 472262, upload-time = "2026-08-28T10:01:31.677Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/a2/b6/81d2d19ea0be2c03664381b59f65fa72fc7969decedae00bc2c4ad835708/pydantic_core-2.46.5-cp311-cp311-macosx_10_12_x86_64.whl", hash = "sha256:a1dee1b804ff4d11c663636cf15d2ea47e9f79cd56c033fb1cbf08924842a48f", size = 2074737, upload-time = "2026-08-28T09:57:57.711Z" }, + { url = "https://files.pythonhosted.org/packages/0c/18/b70da8300e292df4099684ea11b1958043580d2f50d2dc8bf7e542bdd84a/pydantic_core-2.46.5-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:d625a186a65201c23a9e3b8ed9c47e90a026e03256608cc91851c6709096844f", size = 1921751, upload-time = "2026-08-28T09:57:59.265Z" }, + { url = "https://files.pythonhosted.org/packages/e7/1a/0d590341b6ffa4b4aca83508e6b8db4761aaeacfc15a25ca3815876d4797/pydantic_core-2.46.5-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:4f8507560a9284e1370bb048ed4282012fbef4e8d109875b95e884d228552061", size = 1948231, upload-time = "2026-08-28T09:58:00.678Z" }, + { url = "https://files.pythonhosted.org/packages/7d/1d/02eb35761c51f2f7b1b042d6ab4cda6600f0c8c88a2243b3f734376201e5/pydantic_core-2.46.5-cp311-cp311-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:5f93c5fe914d75fbec9a49209b00da5f08e9e467d69da2b1510c81940cfd10be", size = 2020708, upload-time = "2026-08-28T09:58:02.267Z" }, + { url = "https://files.pythonhosted.org/packages/4a/ea/f86073830e35d508cc8ddf9c3d9e6e6840fcb88d34bf726b0b4710186f27/pydantic_core-2.46.5-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:aca6c767f552b21b10f774aeac128e828eafb796adfa1b666a18bf6321453c3a", size = 2194914, upload-time = "2026-08-28T09:58:03.934Z" }, + { url = "https://files.pythonhosted.org/packages/bb/d7/fc36240d7791ce90939e51608568c33bfdae26202016f9770c229a487d86/pydantic_core-2.46.5-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:701b2e04b560eeb4bddf7a25ab8ca476176e34fdbd9a0e18196f0d12d4685f0b", size = 2235622, upload-time = "2026-08-28T09:58:05.516Z" }, + { url = "https://files.pythonhosted.org/packages/cf/bc/3fa2d76b83162820a17da7f645b28d1cba99fc8e1e5fc6517067ec450fa1/pydantic_core-2.46.5-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:49776eab08766a08dfff7012f8b422dcd7e25e43b316eedf0477c24fcfa84b7c", size = 2062091, upload-time = "2026-08-28T09:58:07.135Z" }, + { url = "https://files.pythonhosted.org/packages/ab/9a/095d557bb492c90cd8a70a6dd048bf793d433d03d86c81c11e912e4cd049/pydantic_core-2.46.5-cp311-cp311-manylinux_2_31_riscv64.whl", hash = "sha256:a2468d93d181667a7abd66e1b64bb9f76f361b0fef8faddf687456453576f5ee", size = 2089904, upload-time = "2026-08-28T09:58:08.814Z" }, + { url = "https://files.pythonhosted.org/packages/24/98/7b76b1ad10a19a617a52aaa1d80e159115af939b095e86f8e756fd52e0df/pydantic_core-2.46.5-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:53feb344243bb9510a9dec7bf3cf1b64d88a98af5dc7872a5160465f8b198c8e", size = 2132244, upload-time = "2026-08-28T09:58:10.435Z" }, + { url = "https://files.pythonhosted.org/packages/20/32/7d6ca365fadba186a0c8f85de1a701663bce81efd309d9479be58687622f/pydantic_core-2.46.5-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:cd5214352ae68f3b5e9af7768bdc5253695ee069675db3480518420b3be881f2", size = 2143901, upload-time = "2026-08-28T09:58:12.033Z" }, + { url = "https://files.pythonhosted.org/packages/f8/09/eb9a6aa57f22fd1541a9c0aa2a1f3aeef3ec65347d33e10a6da2f43e0ee9/pydantic_core-2.46.5-cp311-cp311-musllinux_1_1_armv7l.whl", hash = "sha256:9432f3598db432cb51c5b37fdbf29a60fcccc79e30d37a05022776a6bc4ab689", size = 2299425, upload-time = "2026-08-28T09:58:13.614Z" }, + { url = "https://files.pythonhosted.org/packages/8a/f9/548a5bb9d4ba8cd26e26daf48052236f6b38bb61e7b7241fbc3c995719eb/pydantic_core-2.46.5-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:8feeac04b5794e513e710af2f9c87d49f31a6dc47967bb264a1fed61a8989bec", size = 2318566, upload-time = "2026-08-28T09:58:15.199Z" }, + { url = "https://files.pythonhosted.org/packages/4a/20/06454d18834c02c406c9133f1a3b485305fd9ee984f9636c2f730bef6a9d/pydantic_core-2.46.5-cp311-cp311-win32.whl", hash = "sha256:892a881d5f68c2b9ea304b7a6c2c60d9343df578a311b0f86b94bc8f1ffe8129", size = 1954258, upload-time = "2026-08-28T09:58:16.813Z" }, + { url = "https://files.pythonhosted.org/packages/9e/c2/718b9deb4b72453b5d8c7447a3b14cb77bef36917ef5f514e0948a4096a0/pydantic_core-2.46.5-cp311-cp311-win_amd64.whl", hash = "sha256:40375c2d05acec10323e45dfe2077ac44bc74659008614af5069034e2cfc781c", size = 2041030, upload-time = "2026-08-28T09:58:18.288Z" }, + { url = "https://files.pythonhosted.org/packages/67/ea/c1d1a5b72d6e1ff7f377a4d9199f6591f095beb5b409a8a5d89f7238d939/pydantic_core-2.46.5-cp311-cp311-win_arm64.whl", hash = "sha256:28a6a556cd3b6066bea827857f9d9cce027c96f776e512f544a581f9e42161f8", size = 2009234, upload-time = "2026-08-28T09:58:19.929Z" }, + { url = "https://files.pythonhosted.org/packages/82/3f/76358795aa7a8c6d4f36e2cb828ad1c90ee118e1393a9281664f5aade9d4/pydantic_core-2.46.5-cp312-cp312-macosx_10_12_x86_64.whl", hash = "sha256:b9fe6fb92520e3fd61f2e49000b6911b188824f089b75973ea06d6267f0b476d", size = 2076516, upload-time = "2026-08-28T09:58:21.576Z" }, + { url = "https://files.pythonhosted.org/packages/db/50/26b091836076ce4cb2fac264186936acc069e0595772cfd02a563bc4761a/pydantic_core-2.46.5-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:a39ac25a9a2fa4072efdb429833c4a4c8009a51ff9eea3eeae131713cd27991e", size = 1922874, upload-time = "2026-08-28T09:58:23.766Z" }, + { url = "https://files.pythonhosted.org/packages/09/f0/2a8ce3849e299d44e2d2c196b6082643a3235565a735cb51db7a6261f614/pydantic_core-2.46.5-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:4fdc8b93a41521988916eeaa271173fcca7fa0803d62f87675aac8dcec1c8e29", size = 1951772, upload-time = "2026-08-28T09:58:25.435Z" }, + { url = "https://files.pythonhosted.org/packages/87/46/ac0dc8bdd9e6048183a14eb127764e7ad9240021c17513074a4711b0e31e/pydantic_core-2.46.5-cp312-cp312-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:b98134087d9de723658d17a42c7d0da8d6e2ef08015dee7dc93889047315f5e4", size = 2031832, upload-time = "2026-08-28T09:58:27.102Z" }, + { url = "https://files.pythonhosted.org/packages/c4/c2/339de5bef7be36301a2231eaa52e62163742c2281f11b5f4892bc79785cd/pydantic_core-2.46.5-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:e652ab17569c94bff5475520f907b7148b8c24036a8ebbe5cf7cf7493d28579a", size = 2208645, upload-time = "2026-08-28T09:58:28.948Z" }, + { url = "https://files.pythonhosted.org/packages/7b/a0/9ff22b797724262da14427abaed4dd1d864a139693fc5e7809114376a716/pydantic_core-2.46.5-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:d925f3d9afd05a8c0fb3a1031463a8d59ebe5e2afad297e29c78be19e13b4e62", size = 2265935, upload-time = "2026-08-28T09:58:30.625Z" }, + { url = "https://files.pythonhosted.org/packages/c0/a4/eb9409ec0736e50aa70a412f16c204ed149516846912f7e6724d4c73ee53/pydantic_core-2.46.5-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:0fc5be0abd4a407e200d844b404e33639a554e7bd0d448e7b9ae181be4789ac2", size = 2066284, upload-time = "2026-08-28T09:58:32.289Z" }, + { url = "https://files.pythonhosted.org/packages/c0/02/7f6156ffc926857f1c37c07d9a388682865a81830ab6a1b637082c25e399/pydantic_core-2.46.5-cp312-cp312-manylinux_2_31_riscv64.whl", hash = "sha256:816ff0a6550ffc06c098ccd2e0698600f9aa7da192a79eaa6f9af504a35db869", size = 2105889, upload-time = "2026-08-28T09:58:33.986Z" }, + { url = "https://files.pythonhosted.org/packages/92/b1/e781d357ebe09fc929f995700f1b3503e8897f1cece183ecb1300d4d67e9/pydantic_core-2.46.5-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:c7ea57fc63aa7da93a1bd2d644e6577befae10c52c4e36377635eea1056a74f5", size = 2158006, upload-time = "2026-08-28T09:58:35.647Z" }, + { url = "https://files.pythonhosted.org/packages/70/0a/644597d84ab400e50609c192120b85c9681c22d3a20461b9060a79be0a7a/pydantic_core-2.46.5-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:efd62a42486f1bda5d24cb4f63d15a3c7768375fe83d36f9417b4ad7a2fb20b3", size = 2158408, upload-time = "2026-08-28T09:58:37.38Z" }, + { url = "https://files.pythonhosted.org/packages/1e/ee/ca3b7b3a4b3769ffe9ce9432a7c9be755de9593a46d3b0d54d0409323e44/pydantic_core-2.46.5-cp312-cp312-musllinux_1_1_armv7l.whl", hash = "sha256:2bc9419666990c06d7397831f2126a1ecc3594aaa3ff7de5bf2d066802f4e07b", size = 2309609, upload-time = "2026-08-28T09:58:39.22Z" }, + { url = "https://files.pythonhosted.org/packages/ce/52/39fa1f451486019524ca685020390e7ca351832fd874530ba30c8628e6dc/pydantic_core-2.46.5-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:18a09e1e1011b462f2e32774f25859ef1223d5c2b0546a633cf56654710721e0", size = 2342618, upload-time = "2026-08-28T09:58:40.89Z" }, + { url = "https://files.pythonhosted.org/packages/81/5e/468fc630568c61dcef3cd47ad32ffbeed9af643f49208d1ea86ab4f890c4/pydantic_core-2.46.5-cp312-cp312-win32.whl", hash = "sha256:5cb482e9e84c851f4e623fe4acc1ced89168cf1fe18f7089db4548c8f5bbb65b", size = 1939475, upload-time = "2026-08-28T09:58:42.591Z" }, + { url = "https://files.pythonhosted.org/packages/cf/c9/4c19f41b84cf6b622a72fbeed7665b25d47a187d68d47d0d430c07f23268/pydantic_core-2.46.5-cp312-cp312-win_amd64.whl", hash = "sha256:5e81740c09e310f5aa5cbd3e434a01c154d4bef93241c7877b39f211d2b78ba8", size = 2043140, upload-time = "2026-08-28T09:58:44.272Z" }, + { url = "https://files.pythonhosted.org/packages/af/dd/0c1a050299147c746e5256db16d645ab5efd4f78c59937d581a0524e74a2/pydantic_core-2.46.5-cp312-cp312-win_arm64.whl", hash = "sha256:f7b0ec93a2893de856652154d73b7ba622f26fa97726487dcac373de5f4c6084", size = 1997729, upload-time = "2026-08-28T09:58:46.13Z" }, + { url = "https://files.pythonhosted.org/packages/f5/37/5abe39a8372a61d3dc3c1338fc504281c01b32fdb3169cd7187153b56d3e/pydantic_core-2.46.5-cp313-cp313-macosx_10_12_x86_64.whl", hash = "sha256:b7ca9034437b6022f941f4857459562ee00a560b97e7cce8a0ec5a74fc6766e0", size = 2075885, upload-time = "2026-08-28T09:58:47.856Z" }, + { url = "https://files.pythonhosted.org/packages/21/43/6323b1f8b217780454c61304bcd2b38ae4762f50754414124603ccc90bb2/pydantic_core-2.46.5-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:f332f0e72a5a0400141f830744e141bf9f97917878dbe968669e8a7fefea78ff", size = 1922768, upload-time = "2026-08-28T09:58:49.58Z" }, + { url = "https://files.pythonhosted.org/packages/0f/a3/c05ca796e1197618a774b01e596aeedfefc2f7d8c01ae3054e910b120e8a/pydantic_core-2.46.5-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:193375f3548919d3f0b60936ca113ada3e38f264f91b9b8e0508efaad57be931", size = 1951241, upload-time = "2026-08-28T09:58:51.511Z" }, + { url = "https://files.pythonhosted.org/packages/68/32/33bc39ac705c52cffc908e8389f9754fdb208aea5c69cceddf4eb3ce99af/pydantic_core-2.46.5-cp313-cp313-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:79bdfa52f843137045b2d081cc05c120ba6665d29b7559c2c47690906f39279f", size = 2031975, upload-time = "2026-08-28T09:58:53.166Z" }, + { url = "https://files.pythonhosted.org/packages/b0/70/2333e885c0f6a67bc105c5916965dac9b57f2718ee20d81d1a06a4ebdc13/pydantic_core-2.46.5-cp313-cp313-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:24922243639cbdac66c75fcb6fd6495a9cb52b213d62f9a0d16f0310b1ff8038", size = 2208542, upload-time = "2026-08-28T09:58:55.017Z" }, + { url = "https://files.pythonhosted.org/packages/f7/ea/296debfb4264207bbda5936133892e027c0a58875ad53ebd512fba8ec3a2/pydantic_core-2.46.5-cp313-cp313-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:c76fe65e607be28c7fd4d56fc3c42b1583aa058ce3408b7ad0fd540171d31f9f", size = 2264692, upload-time = "2026-08-28T09:58:56.767Z" }, + { url = "https://files.pythonhosted.org/packages/d3/f2/9e4de77a6271e07a76d2d58b11c091a979c191ed2939bf80067568b369d2/pydantic_core-2.46.5-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:6f7b393a8b3da82f5c1fc0751e6d01ac6c55b93c18226a60bdfba4a724efafd1", size = 2066633, upload-time = "2026-08-28T09:58:58.531Z" }, + { url = "https://files.pythonhosted.org/packages/8d/db/f9e9d0c97445987b2084823d5c240de88087338f04fc2cfaa2df186b8049/pydantic_core-2.46.5-cp313-cp313-manylinux_2_31_riscv64.whl", hash = "sha256:7ac031912d54f3d83ef3b3eb98dfabc1608802e2202263d25957eeed40b94761", size = 2105235, upload-time = "2026-08-28T09:59:00.421Z" }, + { url = "https://files.pythonhosted.org/packages/07/c5/79169b047b3b2c3e99e04bc76372af9637e0bf6db638274fa927df96369e/pydantic_core-2.46.5-cp313-cp313-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:837b396ca3d7b74091ca623f6cbd8351bd42d670a79c2683e79fb089f06a2de5", size = 2157367, upload-time = "2026-08-28T09:59:02.442Z" }, + { url = "https://files.pythonhosted.org/packages/26/b5/ba6057afb7c291bd449f51b867f95aef2072941c4ce4e5c31d6ffd132d3b/pydantic_core-2.46.5-cp313-cp313-musllinux_1_1_aarch64.whl", hash = "sha256:5ee239d575f80b08eca11f6e20f90c4c695de7825c67eefe6091fbf20dda648e", size = 2158420, upload-time = "2026-08-28T09:59:04.2Z" }, + { url = "https://files.pythonhosted.org/packages/6e/28/2057abecaafdc22912afa819603a51f0a62d40643b7c4871c51721fea9be/pydantic_core-2.46.5-cp313-cp313-musllinux_1_1_armv7l.whl", hash = "sha256:e80675d75ae2cd14372cb65cad5400d9347a3d3f6c13000183f22dfd027283ed", size = 2309588, upload-time = "2026-08-28T09:59:06.048Z" }, + { url = "https://files.pythonhosted.org/packages/71/9d/881156dc404e27479c4246128d73538464cab4a239bec61995e227644c30/pydantic_core-2.46.5-cp313-cp313-musllinux_1_1_x86_64.whl", hash = "sha256:9c4b71f10dd532fb7a5cbc8f58707779e64f03a258c2bf8bfbaecfcd9970b519", size = 2341866, upload-time = "2026-08-28T09:59:08.539Z" }, + { url = "https://files.pythonhosted.org/packages/5a/38/d66f443a259f84d13babdceae568e572b0ed26da17ca5d0a649ebb110a67/pydantic_core-2.46.5-cp313-cp313-win32.whl", hash = "sha256:97bf8de4d541598c94a59344eeb988a94c08ff76b5723c41f6567ec18c7892ea", size = 1938580, upload-time = "2026-08-28T09:59:10.402Z" }, + { url = "https://files.pythonhosted.org/packages/2c/1e/1d5371213f4cc9a7ed70c0bfcc7911de22311ee99a662a56077d7292d2ac/pydantic_core-2.46.5-cp313-cp313-win_amd64.whl", hash = "sha256:15f4a94963c95accac15b7b657bb177d3ad82bb90b0d0526d9a9b85079925db5", size = 2041980, upload-time = "2026-08-28T09:59:12.396Z" }, + { url = "https://files.pythonhosted.org/packages/5a/48/4222d90b1c67568bace4dec6dca6271449c66de3595d72b6d098f5fde597/pydantic_core-2.46.5-cp313-cp313-win_arm64.whl", hash = "sha256:d22a945598fb91236b4dd793a6e42e4f3dd7740bb5aace5ebd7d4c08d13bb575", size = 1997213, upload-time = "2026-08-28T09:59:14.245Z" }, + { url = "https://files.pythonhosted.org/packages/8e/8a/14596f2a8367da50cf7cbac48169ee5d9c8e11d486a3b527082384630c72/pydantic_core-2.46.5-cp314-cp314-macosx_10_12_x86_64.whl", hash = "sha256:c1c43ad4339643d70ebb8124e1305a7dab423001eff58bb41a0f731adbc98355", size = 2074081, upload-time = "2026-08-28T09:59:16.141Z" }, + { url = "https://files.pythonhosted.org/packages/ae/d5/d8a4eb6d6c7f66b91dd37c576d76e9e60fba900caf5372c17bcf949febc2/pydantic_core-2.46.5-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:1a353f84de772f423b5ffb11d7ae352fbbef0f446f3c0b0af0f8236d7233606e", size = 1920497, upload-time = "2026-08-28T09:59:18.065Z" }, + { url = "https://files.pythonhosted.org/packages/8e/26/092079428f86e927e030b2c0ced87df69dbb1c875cdeaa67bf42ea2be746/pydantic_core-2.46.5-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:5086029a57366b8cf81b130a43908738095c270c21a8d7f0e8bdfdb89718e2f3", size = 1952130, upload-time = "2026-08-28T09:59:20.476Z" }, + { url = "https://files.pythonhosted.org/packages/08/c3/8ec0e290a9ebaebd64047bf5fda94be835c6b1551b02437e4b76778fbcd7/pydantic_core-2.46.5-cp314-cp314-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:46c25dda9d092a06c08db76ffe0a197107904d0dfac653f7d5306bbcd6d6119c", size = 2026371, upload-time = "2026-08-28T09:59:22.227Z" }, + { url = "https://files.pythonhosted.org/packages/01/72/4fd20ad520fb8da0157f95b27a7eb05a72790ef08138e7701ac972c342ea/pydantic_core-2.46.5-cp314-cp314-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:37ea7b83c935e5b0d68c9449b82651accf78a10828b2c02b2f2d9e9496446c21", size = 2202822, upload-time = "2026-08-28T09:59:24.277Z" }, + { url = "https://files.pythonhosted.org/packages/31/b0/d16e0771206b29314f0d52198b720be21e8a99ab2bf11e3bc0d7c9cebdff/pydantic_core-2.46.5-cp314-cp314-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:e64e88d5585bea9ce95861079de72006c7fa6d3df4e3a3b65ba31eb979c15c9f", size = 2262756, upload-time = "2026-08-28T09:59:26.608Z" }, + { url = "https://files.pythonhosted.org/packages/2c/9b/59634b7ac631c63b2a37760eb6943af3e29573d6b59a4abc5e7f019d4cee/pydantic_core-2.46.5-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:54d510bac3ee52247af28ed4bb18a1e799f040ac60fd2bf5ccd4c92f1fbe786f", size = 2068352, upload-time = "2026-08-28T09:59:29.044Z" }, + { url = "https://files.pythonhosted.org/packages/08/7c/570abb1ad2155348dc754ea91be22e5aaa18eb6d69a6068f7c6f2679a6ed/pydantic_core-2.46.5-cp314-cp314-manylinux_2_31_riscv64.whl", hash = "sha256:a2a5e1d0ff29adddc9f6d6821a66302e4493f8ca898b715b6b1182c2c201ea0a", size = 2104777, upload-time = "2026-08-28T09:59:30.95Z" }, + { url = "https://files.pythonhosted.org/packages/8e/25/5bf74adc65a1ac5b7be3f6cb0bcb5433615c1598a801c19d830d84c98ded/pydantic_core-2.46.5-cp314-cp314-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:03b9666e41e35d8909852ba191a0607520f81b74eaf12ccf8737005dbb313821", size = 2156312, upload-time = "2026-08-28T09:59:32.604Z" }, + { url = "https://files.pythonhosted.org/packages/90/6a/2ef38830675e050121040618135564ed56b860b45433b02d9b4ebece46f3/pydantic_core-2.46.5-cp314-cp314-musllinux_1_1_aarch64.whl", hash = "sha256:a91c17edf6eea2402cb5457b4c89e99bc5ed1004aa34c4adf1d4258c1a5c22c2", size = 2150067, upload-time = "2026-08-28T09:59:34.453Z" }, + { url = "https://files.pythonhosted.org/packages/90/ef/a7dbb03a14a64c2a4621f989c615ed9a892535a6cad938fc27079f919d80/pydantic_core-2.46.5-cp314-cp314-musllinux_1_1_armv7l.whl", hash = "sha256:b49924c73a235e969511bf2aabdff3beebf9820931f646c80274d5d780010c47", size = 2304516, upload-time = "2026-08-28T09:59:36.194Z" }, + { url = "https://files.pythonhosted.org/packages/68/f8/6bb4c4b80e8a6fde1904c64a51c62a1d04fcdfa3ea521a66b2ddefa1d885/pydantic_core-2.46.5-cp314-cp314-musllinux_1_1_x86_64.whl", hash = "sha256:2cbd9a5eff05e51c447c34dfa4632145b26b09120cf04bd0c871e44c1a5e1c9a", size = 2335223, upload-time = "2026-08-28T09:59:37.931Z" }, + { url = "https://files.pythonhosted.org/packages/2a/80/f46b8c681195190b2c1f1c7c0a81abce60663e987613e09ef64d433dd96b/pydantic_core-2.46.5-cp314-cp314-win32.whl", hash = "sha256:2d5d76654becf5efd62c9e51c3756c67b49498b0c9a40884934c40807adbd074", size = 1934827, upload-time = "2026-08-28T09:59:39.836Z" }, + { url = "https://files.pythonhosted.org/packages/f7/3c/60674207246bc0a4009d2391b7c7251c7159f279c8d2ab8aae8ef46f3dee/pydantic_core-2.46.5-cp314-cp314-win_amd64.whl", hash = "sha256:fa10ef4112775900e7a0661068635eb67b2ab824fbde764de6e0e21982a93db0", size = 2042648, upload-time = "2026-08-28T09:59:41.792Z" }, + { url = "https://files.pythonhosted.org/packages/69/0c/117c562c7c1babdf44576b72a5e496906506c93690387ecfbca7c729ae2e/pydantic_core-2.46.5-cp314-cp314-win_arm64.whl", hash = "sha256:045ab3b6d308439e32b81cc173bba5b9018bc6ed896afd0c65b3b009b1699af5", size = 1989652, upload-time = "2026-08-28T09:59:43.702Z" }, + { url = "https://files.pythonhosted.org/packages/e8/66/9336ae58f9eb68c41d121894e52c4c89eccb07eb8f602a04ee9c3f37736a/pydantic_core-2.46.5-cp314-cp314t-macosx_10_12_x86_64.whl", hash = "sha256:8816f3d218beb4b787de5c9759c259b8fa61f9dec42dc7811f320a33771778b7", size = 2065829, upload-time = "2026-08-28T09:59:45.364Z" }, + { url = "https://files.pythonhosted.org/packages/c5/02/bc19b47a96c2d3109760711acf22369e56bd7e405ca52f7ade164d2ead57/pydantic_core-2.46.5-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:bce57638e08ac148e5778cce7feb968307a727d66f8e2274a543d0cf0c9ad6a3", size = 1905716, upload-time = "2026-08-28T09:59:47.18Z" }, + { url = "https://files.pythonhosted.org/packages/52/a4/70b47c0509923dd98ccfed04fb3e32ea3849c82a0ff2205bb41009b43c00/pydantic_core-2.46.5-cp314-cp314t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:976e1128455aa595ea04c79ccfedff1aaeab96ee013fcc916bed120c4f0ad94f", size = 1934216, upload-time = "2026-08-28T09:59:49.241Z" }, + { url = "https://files.pythonhosted.org/packages/52/ab/aa03b65f7bb198585edf806b906c3223ecf1795543e39e23aec4cce27ad2/pydantic_core-2.46.5-cp314-cp314t-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:e7b891faeedeafba41b2983e5001a81b6a915b69544c7e7570d1989ce1c36ac7", size = 2010635, upload-time = "2026-08-28T09:59:51.692Z" }, + { url = "https://files.pythonhosted.org/packages/3c/8b/0da06343f30b84ec549aafd309c6456223d5dc8bd36af504c573faad561d/pydantic_core-2.46.5-cp314-cp314t-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:5f194189415698233dd1114a093a9b56e61e2c57e11b469be3b0506f46f0771c", size = 2209369, upload-time = "2026-08-28T09:59:53.582Z" }, + { url = "https://files.pythonhosted.org/packages/d6/5b/844c4defaa34a3df66eb9257087d121d70c201298b96abdf9f492fc2f1bf/pydantic_core-2.46.5-cp314-cp314t-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:82a36973cf8a2ef5406f4fe2edbf8ed0c99629535d959e0b100c76a32535a111", size = 2253238, upload-time = "2026-08-28T09:59:55.484Z" }, + { url = "https://files.pythonhosted.org/packages/f4/64/a4e536cb16d7f61a7fd3120b46c577fc7fa7325992f69c4f52bc786d77d8/pydantic_core-2.46.5-cp314-cp314t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:cdbb78909f52b981d3b2d56b97328d71eb0b974c36bd77c920123a7ebb192829", size = 2065740, upload-time = "2026-08-28T09:59:58.038Z" }, + { url = "https://files.pythonhosted.org/packages/5f/75/aaa38c6bc2d085f6605b34eabdc6a8a4e0b2e61fc9c8e6e52b28e97b3125/pydantic_core-2.46.5-cp314-cp314t-manylinux_2_31_riscv64.whl", hash = "sha256:52e24eacdb536cade636aa90fb851835222becff8484b7001fdc78cb0290f2aa", size = 2087425, upload-time = "2026-08-28T09:59:59.898Z" }, + { url = "https://files.pythonhosted.org/packages/55/ae/fcab4cfc39aba3689e1d20c8b5250ad280957022c09af2ed9cd585602a5e/pydantic_core-2.46.5-cp314-cp314t-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:37ae34309d7bd8c0d61ab839668058f2a7962ea1fc51d105d2db228fe0618034", size = 2139306, upload-time = "2026-08-28T10:00:03.057Z" }, + { url = "https://files.pythonhosted.org/packages/2d/f4/f1d03a4bc9d9acbc62f4d742b8a319af52f71885079868b2ff8e48a651ee/pydantic_core-2.46.5-cp314-cp314t-musllinux_1_1_aarch64.whl", hash = "sha256:0cdbada856a1c69a7624a64d3d9aefe79300bd6ef827b43a4f265010b9b55184", size = 2144589, upload-time = "2026-08-28T10:00:05.645Z" }, + { url = "https://files.pythonhosted.org/packages/83/f3/7a53bb1356de514a4cd295f25b6ac39237895620c0462d2592b76c16e114/pydantic_core-2.46.5-cp314-cp314t-musllinux_1_1_armv7l.whl", hash = "sha256:545f26c504b27c3758439a5e6d9349931f0a04f855668d5fe323c89e82300a38", size = 2288882, upload-time = "2026-08-28T10:00:07.931Z" }, + { url = "https://files.pythonhosted.org/packages/cd/94/5a81583660c175c59d49ffb09f4b3a44debeaf86a19fca664ae1cdd9ee32/pydantic_core-2.46.5-cp314-cp314t-musllinux_1_1_x86_64.whl", hash = "sha256:ff218293c9c806138dca139765e3b067621be52bcd93cdc14c7711be7ddc90a9", size = 2335210, upload-time = "2026-08-28T10:00:10.177Z" }, + { url = "https://files.pythonhosted.org/packages/5a/9f/5d685c2693b972d1a59c998586e8823712b66603aeff47ee60a4bdaafd37/pydantic_core-2.46.5-cp314-cp314t-win32.whl", hash = "sha256:97cf3eb53a8cccacf9d46686a0926186c9bfb5574f2ed66d3639d5fe117cd3a9", size = 1921180, upload-time = "2026-08-28T10:00:12.35Z" }, + { url = "https://files.pythonhosted.org/packages/70/12/5c94ee16d65a37a15f9e869f5e6256df111154491173801a4c5e800ab548/pydantic_core-2.46.5-cp314-cp314t-win_amd64.whl", hash = "sha256:d2f9fc07a8042a8f95925b35c4f04f469707c981fc33245b6ca187cf5d2dd290", size = 2020515, upload-time = "2026-08-28T10:00:14.774Z" }, + { url = "https://files.pythonhosted.org/packages/63/19/67830dda664e6bdf9285ee2e40f355d0d7d6b92aa0c42e8d217bb8d33d36/pydantic_core-2.46.5-cp314-cp314t-win_arm64.whl", hash = "sha256:acf8a67ba51f4ca9ddbd0e6b3000a65ac51ab734661778b3e7ba64d99a710f2f", size = 1989276, upload-time = "2026-08-28T10:00:16.984Z" }, + { url = "https://files.pythonhosted.org/packages/af/1e/ecca01fce348f7e8afa9572441ff6f7d1cc70d21e4859f33944d10877e1e/pydantic_core-2.46.5-graalpy311-graalpy242_311_native-macosx_10_12_x86_64.whl", hash = "sha256:c14ad3bdc85ee7f318742c457ca3968a92126d144b15721c759033bfb06296c2", size = 2075342, upload-time = "2026-08-28T10:00:51.353Z" }, + { url = "https://files.pythonhosted.org/packages/1f/4c/af80c7a8032dfc897040ad5cb772bebde529a381186499e6e29987f23f8c/pydantic_core-2.46.5-graalpy311-graalpy242_311_native-macosx_11_0_arm64.whl", hash = "sha256:0bddb4020d8f04175865ccd17eff3040874fc11fb593f424edb452653b4b947c", size = 1907219, upload-time = "2026-08-28T10:00:53.438Z" }, + { url = "https://files.pythonhosted.org/packages/be/3e/54d89e2b092e778716bf6153634ef479e955f48c261090be23aa1e0fb0b5/pydantic_core-2.46.5-graalpy311-graalpy242_311_native-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:2471fd51c61c610e1dcf7de44d7299283661654d11264ab4802b303368d69c47", size = 1953393, upload-time = "2026-08-28T10:00:55.58Z" }, + { url = "https://files.pythonhosted.org/packages/ea/89/828ee90cda28ce17bdefaa3a6eaf74fe430e113295a10e6126beca559d6c/pydantic_core-2.46.5-graalpy311-graalpy242_311_native-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:b10ec717381bdbfafef34607824db4c91de69ff085e4fca3b2af91b4fa17e68a", size = 2099024, upload-time = "2026-08-28T10:00:57.794Z" }, + { url = "https://files.pythonhosted.org/packages/df/dd/053c2e4303f791f3b8f8a14ab0b22008e8eb21d868c0c90b4f9be705b76a/pydantic_core-2.46.5-graalpy312-graalpy250_312_native-macosx_10_12_x86_64.whl", hash = "sha256:013d6f3483d81e02e7c328831808f336c8596ee33b4bd4026b9ffb1e960b8942", size = 2062540, upload-time = "2026-08-28T10:01:00.318Z" }, + { url = "https://files.pythonhosted.org/packages/d7/dd/a18df751a5e37dd51bfad7f68e766999125bebe68c9e1d10a493ad01bd63/pydantic_core-2.46.5-graalpy312-graalpy250_312_native-macosx_11_0_arm64.whl", hash = "sha256:e9c134bb666dd54b778b9fc0d2b50cbb7f979b9e3716f26a88c9ab3b6fc1dd0f", size = 1902040, upload-time = "2026-08-28T10:01:02.529Z" }, + { url = "https://files.pythonhosted.org/packages/b7/13/01d40f9d07ce8a779fd6e0bd8ad4fba91309500dd67b869e2e219d261a6d/pydantic_core-2.46.5-graalpy312-graalpy250_312_native-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:347ec774390c87326a2e4929d58d3f7e8763a104d5d35f4cd595a4c952366433", size = 1967479, upload-time = "2026-08-28T10:01:05.004Z" }, + { url = "https://files.pythonhosted.org/packages/fa/04/c81d4841331c2178b6fb09ae225425e110ed72d990c9fe556c4ec03d1013/pydantic_core-2.46.5-graalpy312-graalpy250_312_native-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:8e24d8f05fa2d28513d94e877e9c75ad66175376209b3977f916e240e623193c", size = 2111034, upload-time = "2026-08-28T10:01:07.345Z" }, + { url = "https://files.pythonhosted.org/packages/20/21/22102e9950b3049526d20e811b95396508377d87651edd2b80d2b3d28659/pydantic_core-2.46.5-pp311-pypy311_pp73-macosx_10_12_x86_64.whl", hash = "sha256:ab4b66edffb32d9e951efb3814bd104b8367a7501b81b955cacb5726d897389f", size = 2071333, upload-time = "2026-08-28T10:01:09.636Z" }, + { url = "https://files.pythonhosted.org/packages/d8/18/87aefa427d191e6d3ab1447f1efc1cdcac86af1069239b133e8a0fd7f7c9/pydantic_core-2.46.5-pp311-pypy311_pp73-macosx_11_0_arm64.whl", hash = "sha256:337639ba62a11acde6ef3aeb08c8ea755f8ef1fe5e513356c0f36a2b0d7568b0", size = 1912713, upload-time = "2026-08-28T10:01:12.285Z" }, + { url = "https://files.pythonhosted.org/packages/1f/93/fd89e9ad49b1805ca94d24ce1088b7d305f05c35ffafcedb9819d03588a0/pydantic_core-2.46.5-pp311-pypy311_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:413a717a410d0c817ef5b786a059415550b3794e1d0c2abffd9efb93a3d9f7b4", size = 2090926, upload-time = "2026-08-28T10:01:15.19Z" }, + { url = "https://files.pythonhosted.org/packages/6f/45/8e59dab6acf8d35f02f0a958980074f31038968bdb2c983fcae9d1efee03/pydantic_core-2.46.5-pp311-pypy311_pp73-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:1e449def1945a462c464331254e5a44fca7c3b4f9aedf59ec2f50f8066dd8e25", size = 2131303, upload-time = "2026-08-28T10:01:17.937Z" }, + { url = "https://files.pythonhosted.org/packages/d5/a5/e1d4dc5180dd887a9522efc1f8716b8692b7606b1d3273d7862eaf66be44/pydantic_core-2.46.5-pp311-pypy311_pp73-musllinux_1_1_aarch64.whl", hash = "sha256:a445486499897b88a7d6c310c88ed64dd37b1b59bfd7ae9107490bbb362f47d6", size = 2145128, upload-time = "2026-08-28T10:01:20.694Z" }, + { url = "https://files.pythonhosted.org/packages/c2/d7/ad493864a7fb21c0c4df98f965e2db430cb25a9d7369b5778d5016c09fd9/pydantic_core-2.46.5-pp311-pypy311_pp73-musllinux_1_1_armv7l.whl", hash = "sha256:2d330aaba8621b1edcec8ae2c4050f63b84ccf6d98723a8f212e9684713abf0e", size = 2294560, upload-time = "2026-08-28T10:01:23.495Z" }, + { url = "https://files.pythonhosted.org/packages/02/8e/b41c84c913f29973a268e6c2b5bbf13c95adb9956c126d10da11ba3b2bef/pydantic_core-2.46.5-pp311-pypy311_pp73-musllinux_1_1_x86_64.whl", hash = "sha256:b6acfb46a814762367fb7ba0828b0a17d441b92ce249a0e007474c9072662dda", size = 2317531, upload-time = "2026-08-28T10:01:26.334Z" }, + { url = "https://files.pythonhosted.org/packages/db/1d/068464f23075f66a8f1b806935e9cd9363ee446636ea70d2c22ee8659dbf/pydantic_core-2.46.5-pp311-pypy311_pp73-win_amd64.whl", hash = "sha256:d0a24b40877af2de4950252be9d21eaf7fb07660f3c2cae1f56c6b599ada5266", size = 2140686, upload-time = "2026-08-28T10:01:28.947Z" }, +] + +[[package]] +name = "pygments" +version = "2.21.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/49/2e/ced460408999b33da6b31b0021b0f37d329e202d4169aeb164493778f25b/pygments-2.21.0.tar.gz", hash = "sha256:610ca751c9bc2492b38eb9a38a7fbc93edbbb2d7182edaf34e66ae493dee5c8c", size = 5005329, upload-time = "2026-08-17T08:02:48.824Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/71/46/17f022dd3e953bf20a04a028a21ec746d942f8d2af30fa0f124fa0e6a684/pygments-2.21.0-py3-none-any.whl", hash = "sha256:2363c69b61c4a97c838da3b130dcd6468f4848992b21a82f2a63ec34377137d9", size = 1250147, upload-time = "2026-08-17T08:02:44.912Z" }, +] + +[[package]] +name = "pymupdf" +version = "1.28.2" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/a3/fb/b6761fa2d5266f2cdb24c3b91f4023070ab7848381417678e7a289a1d52a/pymupdf-1.28.2.tar.gz", hash = "sha256:5e0be7908a715aa20333caddd73f1d6f01e4cd0c26e869fa2dd0b7f344da2249", size = 87903557, upload-time = "2026-08-06T21:43:23.321Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/b4/51/550c9a75c4ff3245cb4ecb7bb95cbe2ab7374230b8e2b7a1f7259444150b/pymupdf-1.28.2-cp310-abi3-macosx_10_15_x86_64.whl", hash = "sha256:5fc315b425ff1f7afdd1ea2f348205cb19b806767daae7ce4d64115799c2bae1", size = 24645079, upload-time = "2026-08-06T21:37:25.001Z" }, + { url = "https://files.pythonhosted.org/packages/fa/01/3591f781b417b382a8487a2356e927acfe858b1043bab0ec47f6805bb109/pymupdf-1.28.2-cp310-abi3-macosx_11_0_arm64.whl", hash = "sha256:7113846b35dbf0a033f088e4f4fb543dabeb4b0b12c112966a1ca1ee2d5eacae", size = 23875605, upload-time = "2026-08-06T21:37:40.369Z" }, + { url = "https://files.pythonhosted.org/packages/d2/86/4a68f080b71b46802178346af46486e1697508e760855ff5f3b218a6dff7/pymupdf-1.28.2-cp310-abi3-manylinux_2_28_aarch64.whl", hash = "sha256:3050a233dde1211efe89ada74e2add6238436434159f46097a1423aad2842545", size = 25095554, upload-time = "2026-08-06T21:37:58.485Z" }, + { url = "https://files.pythonhosted.org/packages/c7/06/dace3e27af26690cb20bead80dbac42941b0841eb689b8aabbd67dde16f0/pymupdf-1.28.2-cp310-abi3-manylinux_2_28_x86_64.whl", hash = "sha256:397d6715c1f0df7548a92d0afd8ce370fc48fa47aeefac16be2bc04a16a8227f", size = 25762500, upload-time = "2026-08-06T21:38:17.438Z" }, + { url = "https://files.pythonhosted.org/packages/e5/61/4146dfa1d8172a1ce8d59f0eed94896ddefb8deb2274534d0522fbb8abf5/pymupdf-1.28.2-cp310-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:f89fb2d86d07d643a269f17a093105057e20c79c1d06c103b53600067b6d2b01", size = 25986309, upload-time = "2026-08-06T21:38:35.472Z" }, + { url = "https://files.pythonhosted.org/packages/52/60/1fb6e64676f7500ebe89054b9e5bbbe14d3101c92d5f1a40ac9a35227673/pymupdf-1.28.2-cp310-abi3-win32.whl", hash = "sha256:530ef543a3885b3b81cb72a854e7c5a625a9233201221132bb6c31698c6a2bdb", size = 18525353, upload-time = "2026-08-06T21:38:47.697Z" }, + { url = "https://files.pythonhosted.org/packages/4a/61/d563bbccba262f9dd6d2d35ccb72593648184d886188efb12d9ce8f34dd6/pymupdf-1.28.2-cp310-abi3-win_amd64.whl", hash = "sha256:ebd244918798502d7b4504c90410d1711a4d7675a32584ca30f1bab419ecbffe", size = 19826532, upload-time = "2026-08-06T21:39:00.213Z" }, + { url = "https://files.pythonhosted.org/packages/e2/93/08f404a1f0155fe24137cf2d3aabd3e2b4b08c62053ed89c60f2611be3e9/pymupdf-1.28.2-cp310-abi3-win_arm64.whl", hash = "sha256:ffe91a24edc75c80da2a4b62f50fc0f54632d34fc8fe4cbc48e5c7ff07cf8fb4", size = 19759252, upload-time = "2026-08-06T21:39:12.937Z" }, + { url = "https://files.pythonhosted.org/packages/58/8c/d897dcd32a25b58186c968b15ce4324ca029e9d96460de12325314e390be/pymupdf-1.28.2-cp313-abi3-pyemscripten_2025_0_wasm32.whl", hash = "sha256:2e1b574c0fd2cb238021033fd3c0f9c4388816638df064e4bfb56d9d81736dc8", size = 18399403, upload-time = "2026-08-06T21:39:25.008Z" }, + { url = "https://files.pythonhosted.org/packages/f6/f1/de34a1c53fe2bf8c6e71db84b0ced782d408970c9810d2b456a2ae96814c/pymupdf-1.28.2-cp314-cp314t-manylinux_2_28_x86_64.whl", hash = "sha256:fd481ed48bef56305c41fb7e05a055c03345c899c7b101dad086258b438f8168", size = 25802333, upload-time = "2026-08-06T21:39:41.426Z" }, +] + +[[package]] +name = "pyparsing" +version = "3.3.2" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/f3/91/9c6ee907786a473bf81c5f53cf703ba0957b23ab84c264080fb5a450416f/pyparsing-3.3.2.tar.gz", hash = "sha256:c777f4d763f140633dcb6d8a3eda953bf7a214dc4eff598413c070bcdc117cbc", size = 6851574, upload-time = "2026-01-21T03:57:59.36Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/10/bd/c038d7cc38edc1aa5bf91ab8068b63d4308c66c4c8bb3cbba7dfbc049f9c/pyparsing-3.3.2-py3-none-any.whl", hash = "sha256:850ba148bd908d7e2411587e247a1e4f0327839c40e2e5e6d05a007ecc69911d", size = 122781, upload-time = "2026-01-21T03:57:55.912Z" }, +] + +[[package]] +name = "pytest" +version = "9.1.1" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "colorama", marker = "sys_platform == 'win32'" }, + { name = "iniconfig" }, + { name = "packaging" }, + { name = "pluggy" }, + { name = "pygments" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/e4/47/b9efed96c114afcfa3c9d3fe98a76a1d14c74a9e266d397cf6eb64be5e01/pytest-9.1.1.tar.gz", hash = "sha256:1088fbde8f2b49d95a549a195707afa7a76a3ce9bcadc26b6d71f0ffda5fe313", size = 1636369, upload-time = "2026-06-19T10:58:32.857Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/24/25/1de2678b631f5a49215c6c96fff41ba892b0a34df68d6d80292b1b48aa7f/pytest-9.1.1-py3-none-any.whl", hash = "sha256:37a86b45efb9a47a61a36449063e8e18d0cab3161329fc099eb21783169c4f0c", size = 386536, upload-time = "2026-06-19T10:58:31.347Z" }, +] + +[[package]] +name = "pytest-cov" +version = "7.1.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "coverage", extra = ["toml"] }, + { name = "pluggy" }, + { name = "pytest" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/b1/51/a849f96e117386044471c8ec2bd6cfebacda285da9525c9106aeb28da671/pytest_cov-7.1.0.tar.gz", hash = "sha256:30674f2b5f6351aa09702a9c8c364f6a01c27aae0c1366ae8016160d1efc56b2", size = 55592, upload-time = "2026-03-21T20:11:16.284Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/9d/7a/d968e294073affff457b041c2be9868a40c1c71f4a35fcc1e45e5493067b/pytest_cov-7.1.0-py3-none-any.whl", hash = "sha256:a0461110b7865f9a271aa1b51e516c9a95de9d696734a2f71e3e78f46e1d4678", size = 22876, upload-time = "2026-03-21T20:11:14.438Z" }, +] + +[[package]] +name = "python-dateutil" +version = "2.9.0.post0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "six" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/66/c0/0c8b6ad9f17a802ee498c46e004a0eb49bc148f2fd230864601a86dcf6db/python-dateutil-2.9.0.post0.tar.gz", hash = "sha256:37dd54208da7e1cd875388217d5e00ebd4179249f90fb72437e91a35459a0ad3", size = 342432, upload-time = "2024-03-01T18:36:20.211Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/ec/57/56b9bcc3c9c6a792fcbaf139543cee77261f3651ca9da0c93f5c1221264b/python_dateutil-2.9.0.post0-py2.py3-none-any.whl", hash = "sha256:a8b2bc7bffae282281c8140a97d3aa9c14da0b136dfe83f850eea9a5f7470427", size = 229892, upload-time = "2024-03-01T18:36:18.57Z" }, +] + +[[package]] +name = "python-flint" +version = "0.8.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/21/fa/2ec5a03719fa9214ba139296ec1c5f663bb0f90c5e582fbda8ba751e7212/python_flint-0.8.0.tar.gz", hash = "sha256:3da125cd780e09510b0fb5f455646013f2b49072ea43eea806f6af77b450fa39", size = 408552, upload-time = "2025-08-29T16:41:01.319Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/79/b7/9b211ab840f21188d9a0fe4f4dc5a33470aa1fa93880ad238c409734da8a/python_flint-0.8.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:204f8bb7c00a6b4540089b69d09c05665864b418e4dbdfd61bff5cc29db46cea", size = 8663065, upload-time = "2025-08-29T16:39:32.662Z" }, + { url = "https://files.pythonhosted.org/packages/57/4b/2e1c8f6da672a7cbd4f8739e466e2edf504bc814ba63c415373ad9b918c9/python_flint-0.8.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:82529bb66a300b0b88878448e198a7d9a04504bfb9c99723a2e1d900321acad7", size = 7470316, upload-time = "2025-08-29T16:39:35.705Z" }, + { url = "https://files.pythonhosted.org/packages/0a/e3/f646d147e23000d44bbcb537b282a6ce28ff4b1df0f8916d33a199f5bc4e/python_flint-0.8.0-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:372b80508afc683944971ea7a0198abcaecb09760819da6586b9915d01cb83c5", size = 9689165, upload-time = "2025-08-29T16:39:38.264Z" }, + { url = "https://files.pythonhosted.org/packages/3f/7b/d6021742b6637ae8f20241789d8bd85c2ae46e93b94cc94412b962359e0d/python_flint-0.8.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:782e0059c759d1321844dd28e1342057d094014b0dc0a5d42128f5115c82691c", size = 9699803, upload-time = "2025-08-29T16:39:40.888Z" }, + { url = "https://files.pythonhosted.org/packages/c8/72/1efb1b88319269e8cb6bba709cf95b9de54b6bc0129ad623b6dd6e630433/python_flint-0.8.0-cp311-cp311-win_amd64.whl", hash = "sha256:4a52f084051d5e1fd1279ec11435c9d389eaae5f9937015818cea4a97d715d17", size = 10440370, upload-time = "2025-08-29T16:39:43.58Z" }, + { url = "https://files.pythonhosted.org/packages/1d/90/f6b55ff96a61227b71cd3f16eb3070b56d0bdd7a585c7611dd7bd3ad80d8/python_flint-0.8.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:3e637105ea2be78c22c6d7b3766fc481c1fd83b6387d40c77667e9f3d7232fdc", size = 8639878, upload-time = "2025-08-29T16:39:45.781Z" }, + { url = "https://files.pythonhosted.org/packages/7a/59/8008087112a9dcbdb0ae21543c97d8f50be8a5763799fa50e3f0efad121f/python_flint-0.8.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:884a75da741e4ebbfdf5c638629d9e8a34f5bbbbb315b815b08a7d664f7720b2", size = 7439966, upload-time = "2025-08-29T16:39:48.363Z" }, + { url = "https://files.pythonhosted.org/packages/51/8c/dd74f15b76e1e58ab70231f6853f9527027412d4e133c637c5f5a99e0f6c/python_flint-0.8.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:e211b11e0434d9d91e0b93326e7f677751248ef5540bff68785d9690724fc546", size = 9599649, upload-time = "2025-08-29T16:39:50.356Z" }, + { url = "https://files.pythonhosted.org/packages/6d/33/787db4e05bbda59a5850d9d7ef9a4ba61c82cde3830ab78d067c3088012b/python_flint-0.8.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:af60dbed2b0e3bedef2875ff3a2b32afec12f7152595d65fcd674713ac09a208", size = 9616611, upload-time = "2025-08-29T16:39:52.866Z" }, + { url = "https://files.pythonhosted.org/packages/25/60/a0973510633a9b16d6110c75372bad4aae702a00071fc40aafeca2586d3c/python_flint-0.8.0-cp312-cp312-win_amd64.whl", hash = "sha256:4fd8958674a9b09c35d2470c9e88ccdd4a63cb351b8595f6aa46639458f57623", size = 10333208, upload-time = "2025-08-29T16:39:55.515Z" }, + { url = "https://files.pythonhosted.org/packages/81/70/d6e6c79a4b310ad2f37d4b9b13ed248370671f8c40340094f652d2fa5e0a/python_flint-0.8.0-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:0c1957c2ac79d365a37c23d2b3ce105b0c15e9adbfc0c20f731380c34d0b80fc", size = 8610448, upload-time = "2025-08-29T16:39:58.064Z" }, + { url = "https://files.pythonhosted.org/packages/78/bc/b50ef9332e46eeff516e2a170949a197a19341e1f8bc40462f416992caec/python_flint-0.8.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:1609340b41ffa5dc06afa7dc137be857792d9c4b359e2108339a45bfcc896550", size = 7410741, upload-time = "2025-08-29T16:40:00.261Z" }, + { url = "https://files.pythonhosted.org/packages/05/12/f2c10e4dcfccd74d20b1f6983b3d28e84388207db9ddb1b7833ca4377461/python_flint-0.8.0-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:8d145b6088ac79e356359a6b295dcc86c09e4236c2c133142413cff5d6d5ab68", size = 9587655, upload-time = "2025-08-29T16:40:02.458Z" }, + { url = "https://files.pythonhosted.org/packages/9f/82/85fe62cc7d22bb2050c4ae2d73efab8cad1376426e6638abc43acc88667d/python_flint-0.8.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:d2d9a7bf6e7523a7f529feae74ae8c8eefe5ccde8fa49a74a593bba9b049748e", size = 9606946, upload-time = "2025-08-29T16:40:05.218Z" }, + { url = "https://files.pythonhosted.org/packages/e1/6c/0557545ef27255abd424dee5398daef07ec84f796fa7a41edf7f336f07e9/python_flint-0.8.0-cp313-cp313-win_amd64.whl", hash = "sha256:1d68b3c9d71192aa18a92f1a4cc08913cffa805245ee44fafa0b20b769138518", size = 10325742, upload-time = "2025-08-29T16:40:08.133Z" }, + { url = "https://files.pythonhosted.org/packages/5a/b6/e5c5ed2953594c0b77f7347cd07c8b92f3d8efd7fd339fbb95fa426ce1f5/python_flint-0.8.0-cp313-cp313t-macosx_10_13_x86_64.whl", hash = "sha256:3830438faf6ab04d44094327820205f61af12dedc58bafee91f25f011a64c164", size = 8791404, upload-time = "2025-08-29T16:40:10.89Z" }, + { url = "https://files.pythonhosted.org/packages/81/ea/586c22adfcd0796430ce4f5aca9cae1f8fd7c33665a69ca1c5384e999193/python_flint-0.8.0-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:7275c029f188668b24c2ff604d3bf6e29c59273da648f3a79c625c22bcb21910", size = 7661454, upload-time = "2025-08-29T16:40:13.728Z" }, + { url = "https://files.pythonhosted.org/packages/70/75/dc6d711a0a0f3c77fcb7b384e58e6c7d92a1ab3c16d0a7a69cc803206e06/python_flint-0.8.0-cp313-cp313t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:a820438d373de1b2b451c71820d35871610785bd9cfcbb843578fda9b1e522c1", size = 9675395, upload-time = "2025-08-29T16:40:16.833Z" }, + { url = "https://files.pythonhosted.org/packages/4a/62/89a4b128d7b5525aa6be84cd4581327e61eb6e4334820ce75ab51a09edfd/python_flint-0.8.0-cp313-cp313t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:ffea7c53f814864dd0d0286d897d72b67adfe0796e39ff8812f306704030bb1d", size = 9663912, upload-time = "2025-08-29T16:40:19.285Z" }, + { url = "https://files.pythonhosted.org/packages/2e/6b/3ba93cbec54bccc623cb57e3aa1e779c3b78001cdb7c742540f7f035dff6/python_flint-0.8.0-cp313-cp313t-win_amd64.whl", hash = "sha256:e50bf6733ccf09e08da5bfafdaaa81a2d5511083838f39b88f3cc00c2dae6653", size = 10373694, upload-time = "2025-08-29T16:40:21.777Z" }, + { url = "https://files.pythonhosted.org/packages/ca/50/94d10a2d350f44af12dff1e9f79331df258bb92055b5e376d3ccafefd3a0/python_flint-0.8.0-cp314-cp314-macosx_10_13_x86_64.whl", hash = "sha256:a9431244f08004b70f5663ebf6bfc6ee9cde15d2f0871036d98e20e4d8c7cf9d", size = 8612876, upload-time = "2025-08-29T16:40:24.57Z" }, + { url = "https://files.pythonhosted.org/packages/d9/81/d038156d940af5675ef76cd22a1d7fd866f6c8359b52e627dad11a81a564/python_flint-0.8.0-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:c65247c1b96547049ca131c0254e1d7a330fc3f083b37e63e1085b091a93f507", size = 7426751, upload-time = "2025-08-29T16:40:26.91Z" }, + { url = "https://files.pythonhosted.org/packages/e4/d0/6a531a031d97d019ee8dc3dc1ce41b4de3ae66decf7479ef507d722bb2d0/python_flint-0.8.0-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:cc1054b7b68a1e19aa8f080e1b6b6d657c13ef98d89306f5fc008579efe6a791", size = 9633427, upload-time = "2025-08-29T16:40:28.907Z" }, + { url = "https://files.pythonhosted.org/packages/de/21/0f27529815ffffd43035d1f944012eaae33f1ed60b56057046ae5c7514f3/python_flint-0.8.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:51501a44b18ed96a9faa5c13c85a568a747de427a5e447e1391f02ab2699871f", size = 9610634, upload-time = "2025-08-29T16:40:31.861Z" }, + { url = "https://files.pythonhosted.org/packages/0c/88/da3a6cb961a48cf9662c28cee1dab7a9725b2a773b4edf6dbb67545f73b4/python_flint-0.8.0-cp314-cp314-win_amd64.whl", hash = "sha256:87d1493dc592b67451ffad48a2cbc85f3cdf3ddcd8ba2abf447c21ee5ef74030", size = 10596027, upload-time = "2025-08-29T16:40:34.296Z" }, + { url = "https://files.pythonhosted.org/packages/0e/b1/156a9b100417b86bf3f577063042346bed9b9a7003492f5971cda25e73f6/python_flint-0.8.0-cp314-cp314t-macosx_10_13_x86_64.whl", hash = "sha256:126b211e10f3ed756ee14e9251905680242687ba71fb6e0f59d0662e050bcfb5", size = 8791686, upload-time = "2025-08-29T16:40:36.775Z" }, + { url = "https://files.pythonhosted.org/packages/b7/3d/640ca9734e06d320e0e960bc7d6c4154c1e86ea6d0037d05821d8f1717af/python_flint-0.8.0-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:38583e5ceb1e7b93ba557835055542f7e6a1d3d412bcc285d0f2bb44b076c419", size = 7661222, upload-time = "2025-08-29T16:40:39.18Z" }, + { url = "https://files.pythonhosted.org/packages/dd/75/8bd586c1d96dca81b7ce6f3ade4dd02ca2c1c8a8e46a2d6db6fcbb966089/python_flint-0.8.0-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:c4dc97924e3e5bb0cc43b2723db39379c1b215502661dcc693f5e26d43d767fc", size = 9676629, upload-time = "2025-08-29T16:40:41.543Z" }, + { url = "https://files.pythonhosted.org/packages/9a/38/e1d7bbd89854207191d291ba250d9dab5082b37e088b13f65a50be98dcdc/python_flint-0.8.0-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:c7a242d7f51c1a28968a0721be59edacd7a8859396b4f639da6b054a8eb3e578", size = 9666716, upload-time = "2025-08-29T16:40:44.045Z" }, + { url = "https://files.pythonhosted.org/packages/49/36/f5217bcf7fe765c459149a1eaf770ddba72d2853c0f3c07d2865029aec48/python_flint-0.8.0-cp314-cp314t-win_amd64.whl", hash = "sha256:cfd82f1f33b10a80e4613668b1e3cbd8f6b3830aa4057ef4c1f26065d3edbee7", size = 10633994, upload-time = "2025-08-29T16:40:46.432Z" }, + { url = "https://files.pythonhosted.org/packages/9f/2b/834aacf24bbf1e68dc11c4c0237528c03eb39b71cca8d504c5557c7a237e/python_flint-0.8.0-pp311-pypy311_pp73-macosx_10_15_x86_64.whl", hash = "sha256:109a9371a91e2041e0dae81a050d81d07c286755c8208dbd9df5bb663629c26e", size = 8341805, upload-time = "2025-08-29T16:40:49.197Z" }, + { url = "https://files.pythonhosted.org/packages/15/30/d693668949396beed414ccec5f61fcc8c4cde22d6eba36f2b619a56b963c/python_flint-0.8.0-pp311-pypy311_pp73-macosx_11_0_arm64.whl", hash = "sha256:f3bdd3eedf71d5f6016806a33e96337ca81fd355ac2c875a1b22fb07cbe6a6eb", size = 7241738, upload-time = "2025-08-29T16:40:51.81Z" }, + { url = "https://files.pythonhosted.org/packages/2e/07/d357be778a3de340c26635bbe1309c0052829e0f5c096f3c6d9480b6bae7/python_flint-0.8.0-pp311-pypy311_pp73-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:e1cf150a261563f7f9ba7c1179bdfee446a12b1bba92f226a4a7fbb223642260", size = 9367874, upload-time = "2025-08-29T16:40:54.339Z" }, + { url = "https://files.pythonhosted.org/packages/91/df/e8ddb1f51ff8d7c2754d568f992be25cecd9a7dfe5cbb12f46bf35c6ab7c/python_flint-0.8.0-pp311-pypy311_pp73-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:a87be712c69658c2a60bcb9b4c37095485164378f4a979e8897f08ff095b99ac", size = 9381188, upload-time = "2025-08-29T16:40:56.859Z" }, + { url = "https://files.pythonhosted.org/packages/ef/2c/20bdae1e8e177654f33c2d652c537285ec647e9c7774060a7ea37a1e4679/python_flint-0.8.0-pp311-pypy311_pp73-win_amd64.whl", hash = "sha256:b1d6b9a9b4d039eb360270e941ea810c88e78b879db36cd464ccfca90dc5dbb0", size = 10157926, upload-time = "2025-08-29T16:40:59.354Z" }, +] + +[[package]] +name = "python-json-logger" +version = "4.2.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/21/25/5473e46b179f8e8b4ad3aeeb36773d1701b7770eaf5e5bc2025c7303b598/python_json_logger-4.2.0.tar.gz", hash = "sha256:e371ebe22ec01e289850102091a2b1f6fc9e655c7f1f5f29073936756c290afa", size = 18211, upload-time = "2026-08-15T11:36:38.232Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/dc/55/6467fde553886cb293e41538f3a8b4e4fd4688c6df242cf982162d8367fb/python_json_logger-4.2.0-py3-none-any.whl", hash = "sha256:158a52126fcd6869e09574d2b66272666f3dc8f468c62637ef9a1fa883719cb9", size = 14988, upload-time = "2026-08-15T11:36:36.821Z" }, +] + +[[package]] +name = "pywinpty" +version = "3.0.5" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/a9/ef/2d27f30c59a67be7025b2d7858c8c2d282b74d66544b2384730b82de74fd/pywinpty-3.0.5.tar.gz", hash = "sha256:61db0db063de9865adbea66db294628f8577f608d9764a4c7d3384eeacc4e81b", size = 16223484, upload-time = "2026-06-11T00:11:58.93Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/b0/5c/31feb3dd82d1b33ae0bd09ca601edb993d9da1b7f0226b3336d4b4c39e1e/pywinpty-3.0.5-cp311-cp311-win_amd64.whl", hash = "sha256:af7a8720c78776ddd6259b71dd567944f766a6cd67f8d2887fbc4973967bacda", size = 2092466, upload-time = "2026-06-10T23:44:24.453Z" }, + { url = "https://files.pythonhosted.org/packages/ee/fe/fe23e2229ffec0c10190cef5964f5c9b2dba179d23b69ae537b7ea90bcab/pywinpty-3.0.5-cp311-cp311-win_arm64.whl", hash = "sha256:c2406f54f699eab75953fb75ce805f2ae55a33a957cd070890abd454fb4b7680", size = 818395, upload-time = "2026-06-10T23:41:56.93Z" }, + { url = "https://files.pythonhosted.org/packages/45/34/942cc95ca4e26489875aa8a95192766247a687379ec29543eebe73ec945f/pywinpty-3.0.5-cp312-cp312-win_amd64.whl", hash = "sha256:d62946adf14b15b54c0b8d785f93fe18b04da23f4ad59e2e8c4612646e9abd23", size = 2090915, upload-time = "2026-06-10T23:43:14.98Z" }, + { url = "https://files.pythonhosted.org/packages/6a/70/5b9053004844139ea8bd86209c57ade12b134b2782f383a095784c8531ec/pywinpty-3.0.5-cp312-cp312-win_arm64.whl", hash = "sha256:e9391c05fbfa7a992a97e831fc6849887b4014a614192e3d984a7ca59592b376", size = 815934, upload-time = "2026-06-10T23:41:42.384Z" }, + { url = "https://files.pythonhosted.org/packages/b9/f4/2a464b9893cceb3b3f416356e94fdc3e1bca9476993927e4e6d99fe95382/pywinpty-3.0.5-cp313-cp313-win_amd64.whl", hash = "sha256:48db1b0ad9d0a1b81dcaaa7163a99a7808deaceb0c1b2344716dc1fc090c3c4c", size = 2090471, upload-time = "2026-06-10T23:42:11.071Z" }, + { url = "https://files.pythonhosted.org/packages/3c/2c/a138491a0afbdb50eb79395577bd326d4b0fbde7209417d1a8087ff2493a/pywinpty-3.0.5-cp313-cp313-win_arm64.whl", hash = "sha256:2c6008fb2d3774b48693b2fcb7f2cc317ade9dc581289a964ffeeaf81307c9b5", size = 815518, upload-time = "2026-06-10T23:42:02.363Z" }, + { url = "https://files.pythonhosted.org/packages/6f/15/54400049a380582acd1282665c70fcf11e0bd3713679aca78e24c3aae738/pywinpty-3.0.5-cp313-cp313t-win_amd64.whl", hash = "sha256:22ce1b780d89821cc52daf6eac0708af22d93d000ce9c7c07e37489db8594598", size = 2089920, upload-time = "2026-06-10T23:44:13.395Z" }, + { url = "https://files.pythonhosted.org/packages/94/0c/6f24f3c0799f502259b24bdf841a99ad2b0d59df5c2525b4e2a286d14be2/pywinpty-3.0.5-cp313-cp313t-win_arm64.whl", hash = "sha256:9c2919a81bc5cfb09b86fc5a002112b2de95ca4304a07413cbeeb746a1307a5c", size = 814520, upload-time = "2026-06-10T23:43:28.588Z" }, + { url = "https://files.pythonhosted.org/packages/e9/23/f3cd1b1e5fc56517f54452c49f92049e7dd9ffc8a63de22a495581f50d04/pywinpty-3.0.5-cp314-cp314-win_amd64.whl", hash = "sha256:03bb3c16d691d9242267201830bcd0e64a9b663170e9042bc84b210da9de15ac", size = 2090663, upload-time = "2026-06-10T23:43:59.845Z" }, + { url = "https://files.pythonhosted.org/packages/9d/dd/96d6cbfc6d9ddab5c1c2f92c26545ae8997446a2ba7ee2024cd43c81f49b/pywinpty-3.0.5-cp314-cp314-win_arm64.whl", hash = "sha256:89c5c6ef08997a3b4b277b214a35fe15cab4dd6d119f0140aa71df5b1168fdbc", size = 815700, upload-time = "2026-06-10T23:40:50.001Z" }, + { url = "https://files.pythonhosted.org/packages/30/36/d98087bce0acaa4cce7f196103cfa7be3f63ce65f52473bb3e38784ae5d9/pywinpty-3.0.5-cp314-cp314t-win_amd64.whl", hash = "sha256:7b566165e0c5fdd6abe167a5ac8b954be6a843eb55a85946576d6bc1dea03d6d", size = 2090093, upload-time = "2026-06-10T23:40:58.933Z" }, + { url = "https://files.pythonhosted.org/packages/57/fd/fe2b0db922ba052ce3976a08f3fc05d0c05047c8b4ebb6102e832b8ef563/pywinpty-3.0.5-cp314-cp314t-win_arm64.whl", hash = "sha256:24366280a8aa677323da87bec729cb3ea3b35367386cece0978bdc6e4695c690", size = 814517, upload-time = "2026-06-10T23:42:34.946Z" }, +] + +[[package]] +name = "pyyaml" +version = "6.0.3" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/05/8e/961c0007c59b8dd7729d542c61a4d537767a59645b82a0b521206e1e25c2/pyyaml-6.0.3.tar.gz", hash = "sha256:d76623373421df22fb4cf8817020cbb7ef15c725b9d5e45f17e189bfc384190f", size = 130960, upload-time = "2025-09-25T21:33:16.546Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/6d/16/a95b6757765b7b031c9374925bb718d55e0a9ba8a1b6a12d25962ea44347/pyyaml-6.0.3-cp311-cp311-macosx_10_13_x86_64.whl", hash = "sha256:44edc647873928551a01e7a563d7452ccdebee747728c1080d881d68af7b997e", size = 185826, upload-time = "2025-09-25T21:31:58.655Z" }, + { url = "https://files.pythonhosted.org/packages/16/19/13de8e4377ed53079ee996e1ab0a9c33ec2faf808a4647b7b4c0d46dd239/pyyaml-6.0.3-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:652cb6edd41e718550aad172851962662ff2681490a8a711af6a4d288dd96824", size = 175577, upload-time = "2025-09-25T21:32:00.088Z" }, + { url = "https://files.pythonhosted.org/packages/0c/62/d2eb46264d4b157dae1275b573017abec435397aa59cbcdab6fc978a8af4/pyyaml-6.0.3-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:10892704fc220243f5305762e276552a0395f7beb4dbf9b14ec8fd43b57f126c", size = 775556, upload-time = "2025-09-25T21:32:01.31Z" }, + { url = "https://files.pythonhosted.org/packages/10/cb/16c3f2cf3266edd25aaa00d6c4350381c8b012ed6f5276675b9eba8d9ff4/pyyaml-6.0.3-cp311-cp311-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:850774a7879607d3a6f50d36d04f00ee69e7fc816450e5f7e58d7f17f1ae5c00", size = 882114, upload-time = "2025-09-25T21:32:03.376Z" }, + { url = "https://files.pythonhosted.org/packages/71/60/917329f640924b18ff085ab889a11c763e0b573da888e8404ff486657602/pyyaml-6.0.3-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:b8bb0864c5a28024fac8a632c443c87c5aa6f215c0b126c449ae1a150412f31d", size = 806638, upload-time = "2025-09-25T21:32:04.553Z" }, + { url = "https://files.pythonhosted.org/packages/dd/6f/529b0f316a9fd167281a6c3826b5583e6192dba792dd55e3203d3f8e655a/pyyaml-6.0.3-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:1d37d57ad971609cf3c53ba6a7e365e40660e3be0e5175fa9f2365a379d6095a", size = 767463, upload-time = "2025-09-25T21:32:06.152Z" }, + { url = "https://files.pythonhosted.org/packages/f2/6a/b627b4e0c1dd03718543519ffb2f1deea4a1e6d42fbab8021936a4d22589/pyyaml-6.0.3-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:37503bfbfc9d2c40b344d06b2199cf0e96e97957ab1c1b546fd4f87e53e5d3e4", size = 794986, upload-time = "2025-09-25T21:32:07.367Z" }, + { url = "https://files.pythonhosted.org/packages/45/91/47a6e1c42d9ee337c4839208f30d9f09caa9f720ec7582917b264defc875/pyyaml-6.0.3-cp311-cp311-win32.whl", hash = "sha256:8098f252adfa6c80ab48096053f512f2321f0b998f98150cea9bd23d83e1467b", size = 142543, upload-time = "2025-09-25T21:32:08.95Z" }, + { url = "https://files.pythonhosted.org/packages/da/e3/ea007450a105ae919a72393cb06f122f288ef60bba2dc64b26e2646fa315/pyyaml-6.0.3-cp311-cp311-win_amd64.whl", hash = "sha256:9f3bfb4965eb874431221a3ff3fdcddc7e74e3b07799e0e84ca4a0f867d449bf", size = 158763, upload-time = "2025-09-25T21:32:09.96Z" }, + { url = "https://files.pythonhosted.org/packages/d1/33/422b98d2195232ca1826284a76852ad5a86fe23e31b009c9886b2d0fb8b2/pyyaml-6.0.3-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:7f047e29dcae44602496db43be01ad42fc6f1cc0d8cd6c83d342306c32270196", size = 182063, upload-time = "2025-09-25T21:32:11.445Z" }, + { url = "https://files.pythonhosted.org/packages/89/a0/6cf41a19a1f2f3feab0e9c0b74134aa2ce6849093d5517a0c550fe37a648/pyyaml-6.0.3-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:fc09d0aa354569bc501d4e787133afc08552722d3ab34836a80547331bb5d4a0", size = 173973, upload-time = "2025-09-25T21:32:12.492Z" }, + { url = "https://files.pythonhosted.org/packages/ed/23/7a778b6bd0b9a8039df8b1b1d80e2e2ad78aa04171592c8a5c43a56a6af4/pyyaml-6.0.3-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:9149cad251584d5fb4981be1ecde53a1ca46c891a79788c0df828d2f166bda28", size = 775116, upload-time = "2025-09-25T21:32:13.652Z" }, + { url = "https://files.pythonhosted.org/packages/65/30/d7353c338e12baef4ecc1b09e877c1970bd3382789c159b4f89d6a70dc09/pyyaml-6.0.3-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:5fdec68f91a0c6739b380c83b951e2c72ac0197ace422360e6d5a959d8d97b2c", size = 844011, upload-time = "2025-09-25T21:32:15.21Z" }, + { url = "https://files.pythonhosted.org/packages/8b/9d/b3589d3877982d4f2329302ef98a8026e7f4443c765c46cfecc8858c6b4b/pyyaml-6.0.3-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:ba1cc08a7ccde2d2ec775841541641e4548226580ab850948cbfda66a1befcdc", size = 807870, upload-time = "2025-09-25T21:32:16.431Z" }, + { url = "https://files.pythonhosted.org/packages/05/c0/b3be26a015601b822b97d9149ff8cb5ead58c66f981e04fedf4e762f4bd4/pyyaml-6.0.3-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:8dc52c23056b9ddd46818a57b78404882310fb473d63f17b07d5c40421e47f8e", size = 761089, upload-time = "2025-09-25T21:32:17.56Z" }, + { url = "https://files.pythonhosted.org/packages/be/8e/98435a21d1d4b46590d5459a22d88128103f8da4c2d4cb8f14f2a96504e1/pyyaml-6.0.3-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:41715c910c881bc081f1e8872880d3c650acf13dfa8214bad49ed4cede7c34ea", size = 790181, upload-time = "2025-09-25T21:32:18.834Z" }, + { url = "https://files.pythonhosted.org/packages/74/93/7baea19427dcfbe1e5a372d81473250b379f04b1bd3c4c5ff825e2327202/pyyaml-6.0.3-cp312-cp312-win32.whl", hash = "sha256:96b533f0e99f6579b3d4d4995707cf36df9100d67e0c8303a0c55b27b5f99bc5", size = 137658, upload-time = "2025-09-25T21:32:20.209Z" }, + { url = "https://files.pythonhosted.org/packages/86/bf/899e81e4cce32febab4fb42bb97dcdf66bc135272882d1987881a4b519e9/pyyaml-6.0.3-cp312-cp312-win_amd64.whl", hash = "sha256:5fcd34e47f6e0b794d17de1b4ff496c00986e1c83f7ab2fb8fcfe9616ff7477b", size = 154003, upload-time = "2025-09-25T21:32:21.167Z" }, + { url = "https://files.pythonhosted.org/packages/1a/08/67bd04656199bbb51dbed1439b7f27601dfb576fb864099c7ef0c3e55531/pyyaml-6.0.3-cp312-cp312-win_arm64.whl", hash = "sha256:64386e5e707d03a7e172c0701abfb7e10f0fb753ee1d773128192742712a98fd", size = 140344, upload-time = "2025-09-25T21:32:22.617Z" }, + { url = "https://files.pythonhosted.org/packages/d1/11/0fd08f8192109f7169db964b5707a2f1e8b745d4e239b784a5a1dd80d1db/pyyaml-6.0.3-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:8da9669d359f02c0b91ccc01cac4a67f16afec0dac22c2ad09f46bee0697eba8", size = 181669, upload-time = "2025-09-25T21:32:23.673Z" }, + { url = "https://files.pythonhosted.org/packages/b1/16/95309993f1d3748cd644e02e38b75d50cbc0d9561d21f390a76242ce073f/pyyaml-6.0.3-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:2283a07e2c21a2aa78d9c4442724ec1eb15f5e42a723b99cb3d822d48f5f7ad1", size = 173252, upload-time = "2025-09-25T21:32:25.149Z" }, + { url = "https://files.pythonhosted.org/packages/50/31/b20f376d3f810b9b2371e72ef5adb33879b25edb7a6d072cb7ca0c486398/pyyaml-6.0.3-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:ee2922902c45ae8ccada2c5b501ab86c36525b883eff4255313a253a3160861c", size = 767081, upload-time = "2025-09-25T21:32:26.575Z" }, + { url = "https://files.pythonhosted.org/packages/49/1e/a55ca81e949270d5d4432fbbd19dfea5321eda7c41a849d443dc92fd1ff7/pyyaml-6.0.3-cp313-cp313-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:a33284e20b78bd4a18c8c2282d549d10bc8408a2a7ff57653c0cf0b9be0afce5", size = 841159, upload-time = "2025-09-25T21:32:27.727Z" }, + { url = "https://files.pythonhosted.org/packages/74/27/e5b8f34d02d9995b80abcef563ea1f8b56d20134d8f4e5e81733b1feceb2/pyyaml-6.0.3-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:0f29edc409a6392443abf94b9cf89ce99889a1dd5376d94316ae5145dfedd5d6", size = 801626, upload-time = "2025-09-25T21:32:28.878Z" }, + { url = "https://files.pythonhosted.org/packages/f9/11/ba845c23988798f40e52ba45f34849aa8a1f2d4af4b798588010792ebad6/pyyaml-6.0.3-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:f7057c9a337546edc7973c0d3ba84ddcdf0daa14533c2065749c9075001090e6", size = 753613, upload-time = "2025-09-25T21:32:30.178Z" }, + { url = "https://files.pythonhosted.org/packages/3d/e0/7966e1a7bfc0a45bf0a7fb6b98ea03fc9b8d84fa7f2229e9659680b69ee3/pyyaml-6.0.3-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:eda16858a3cab07b80edaf74336ece1f986ba330fdb8ee0d6c0d68fe82bc96be", size = 794115, upload-time = "2025-09-25T21:32:31.353Z" }, + { url = "https://files.pythonhosted.org/packages/de/94/980b50a6531b3019e45ddeada0626d45fa85cbe22300844a7983285bed3b/pyyaml-6.0.3-cp313-cp313-win32.whl", hash = "sha256:d0eae10f8159e8fdad514efdc92d74fd8d682c933a6dd088030f3834bc8e6b26", size = 137427, upload-time = "2025-09-25T21:32:32.58Z" }, + { url = "https://files.pythonhosted.org/packages/97/c9/39d5b874e8b28845e4ec2202b5da735d0199dbe5b8fb85f91398814a9a46/pyyaml-6.0.3-cp313-cp313-win_amd64.whl", hash = "sha256:79005a0d97d5ddabfeeea4cf676af11e647e41d81c9a7722a193022accdb6b7c", size = 154090, upload-time = "2025-09-25T21:32:33.659Z" }, + { url = "https://files.pythonhosted.org/packages/73/e8/2bdf3ca2090f68bb3d75b44da7bbc71843b19c9f2b9cb9b0f4ab7a5a4329/pyyaml-6.0.3-cp313-cp313-win_arm64.whl", hash = "sha256:5498cd1645aa724a7c71c8f378eb29ebe23da2fc0d7a08071d89469bf1d2defb", size = 140246, upload-time = "2025-09-25T21:32:34.663Z" }, + { url = "https://files.pythonhosted.org/packages/9d/8c/f4bd7f6465179953d3ac9bc44ac1a8a3e6122cf8ada906b4f96c60172d43/pyyaml-6.0.3-cp314-cp314-macosx_10_13_x86_64.whl", hash = "sha256:8d1fab6bb153a416f9aeb4b8763bc0f22a5586065f86f7664fc23339fc1c1fac", size = 181814, upload-time = "2025-09-25T21:32:35.712Z" }, + { url = "https://files.pythonhosted.org/packages/bd/9c/4d95bb87eb2063d20db7b60faa3840c1b18025517ae857371c4dd55a6b3a/pyyaml-6.0.3-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:34d5fcd24b8445fadc33f9cf348c1047101756fd760b4dacb5c3e99755703310", size = 173809, upload-time = "2025-09-25T21:32:36.789Z" }, + { url = "https://files.pythonhosted.org/packages/92/b5/47e807c2623074914e29dabd16cbbdd4bf5e9b2db9f8090fa64411fc5382/pyyaml-6.0.3-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:501a031947e3a9025ed4405a168e6ef5ae3126c59f90ce0cd6f2bfc477be31b7", size = 766454, upload-time = "2025-09-25T21:32:37.966Z" }, + { url = "https://files.pythonhosted.org/packages/02/9e/e5e9b168be58564121efb3de6859c452fccde0ab093d8438905899a3a483/pyyaml-6.0.3-cp314-cp314-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:b3bc83488de33889877a0f2543ade9f70c67d66d9ebb4ac959502e12de895788", size = 836355, upload-time = "2025-09-25T21:32:39.178Z" }, + { url = "https://files.pythonhosted.org/packages/88/f9/16491d7ed2a919954993e48aa941b200f38040928474c9e85ea9e64222c3/pyyaml-6.0.3-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:c458b6d084f9b935061bc36216e8a69a7e293a2f1e68bf956dcd9e6cbcd143f5", size = 794175, upload-time = "2025-09-25T21:32:40.865Z" }, + { url = "https://files.pythonhosted.org/packages/dd/3f/5989debef34dc6397317802b527dbbafb2b4760878a53d4166579111411e/pyyaml-6.0.3-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:7c6610def4f163542a622a73fb39f534f8c101d690126992300bf3207eab9764", size = 755228, upload-time = "2025-09-25T21:32:42.084Z" }, + { url = "https://files.pythonhosted.org/packages/d7/ce/af88a49043cd2e265be63d083fc75b27b6ed062f5f9fd6cdc223ad62f03e/pyyaml-6.0.3-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:5190d403f121660ce8d1d2c1bb2ef1bd05b5f68533fc5c2ea899bd15f4399b35", size = 789194, upload-time = "2025-09-25T21:32:43.362Z" }, + { url = "https://files.pythonhosted.org/packages/23/20/bb6982b26a40bb43951265ba29d4c246ef0ff59c9fdcdf0ed04e0687de4d/pyyaml-6.0.3-cp314-cp314-win_amd64.whl", hash = "sha256:4a2e8cebe2ff6ab7d1050ecd59c25d4c8bd7e6f400f5f82b96557ac0abafd0ac", size = 156429, upload-time = "2025-09-25T21:32:57.844Z" }, + { url = "https://files.pythonhosted.org/packages/f4/f4/a4541072bb9422c8a883ab55255f918fa378ecf083f5b85e87fc2b4eda1b/pyyaml-6.0.3-cp314-cp314-win_arm64.whl", hash = "sha256:93dda82c9c22deb0a405ea4dc5f2d0cda384168e466364dec6255b293923b2f3", size = 143912, upload-time = "2025-09-25T21:32:59.247Z" }, + { url = "https://files.pythonhosted.org/packages/7c/f9/07dd09ae774e4616edf6cda684ee78f97777bdd15847253637a6f052a62f/pyyaml-6.0.3-cp314-cp314t-macosx_10_13_x86_64.whl", hash = "sha256:02893d100e99e03eda1c8fd5c441d8c60103fd175728e23e431db1b589cf5ab3", size = 189108, upload-time = "2025-09-25T21:32:44.377Z" }, + { url = "https://files.pythonhosted.org/packages/4e/78/8d08c9fb7ce09ad8c38ad533c1191cf27f7ae1effe5bb9400a46d9437fcf/pyyaml-6.0.3-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:c1ff362665ae507275af2853520967820d9124984e0f7466736aea23d8611fba", size = 183641, upload-time = "2025-09-25T21:32:45.407Z" }, + { url = "https://files.pythonhosted.org/packages/7b/5b/3babb19104a46945cf816d047db2788bcaf8c94527a805610b0289a01c6b/pyyaml-6.0.3-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:6adc77889b628398debc7b65c073bcb99c4a0237b248cacaf3fe8a557563ef6c", size = 831901, upload-time = "2025-09-25T21:32:48.83Z" }, + { url = "https://files.pythonhosted.org/packages/8b/cc/dff0684d8dc44da4d22a13f35f073d558c268780ce3c6ba1b87055bb0b87/pyyaml-6.0.3-cp314-cp314t-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:a80cb027f6b349846a3bf6d73b5e95e782175e52f22108cfa17876aaeff93702", size = 861132, upload-time = "2025-09-25T21:32:50.149Z" }, + { url = "https://files.pythonhosted.org/packages/b1/5e/f77dc6b9036943e285ba76b49e118d9ea929885becb0a29ba8a7c75e29fe/pyyaml-6.0.3-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:00c4bdeba853cc34e7dd471f16b4114f4162dc03e6b7afcc2128711f0eca823c", size = 839261, upload-time = "2025-09-25T21:32:51.808Z" }, + { url = "https://files.pythonhosted.org/packages/ce/88/a9db1376aa2a228197c58b37302f284b5617f56a5d959fd1763fb1675ce6/pyyaml-6.0.3-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:66e1674c3ef6f541c35191caae2d429b967b99e02040f5ba928632d9a7f0f065", size = 805272, upload-time = "2025-09-25T21:32:52.941Z" }, + { url = "https://files.pythonhosted.org/packages/da/92/1446574745d74df0c92e6aa4a7b0b3130706a4142b2d1a5869f2eaa423c6/pyyaml-6.0.3-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:16249ee61e95f858e83976573de0f5b2893b3677ba71c9dd36b9cf8be9ac6d65", size = 829923, upload-time = "2025-09-25T21:32:54.537Z" }, + { url = "https://files.pythonhosted.org/packages/f0/7a/1c7270340330e575b92f397352af856a8c06f230aa3e76f86b39d01b416a/pyyaml-6.0.3-cp314-cp314t-win_amd64.whl", hash = "sha256:4ad1906908f2f5ae4e5a8ddfce73c320c2a1429ec52eafd27138b7f1cbe341c9", size = 174062, upload-time = "2025-09-25T21:32:55.767Z" }, + { url = "https://files.pythonhosted.org/packages/f1/12/de94a39c2ef588c7e6455cfbe7343d3b2dc9d6b6b2f40c4c6565744c873d/pyyaml-6.0.3-cp314-cp314t-win_arm64.whl", hash = "sha256:ebc55a14a21cb14062aa4162f906cd962b28e2e9ea38f9b4391244cd8de4ae0b", size = 149341, upload-time = "2025-09-25T21:32:56.828Z" }, +] + +[[package]] +name = "pyzmq" +version = "27.2.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "cffi", marker = "implementation_name == 'pypy'" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/e7/8d/5b3d5631c2f4b4b8862f64cd0c9eb777b5710eeb5125b4be8dd0a200a4c0/pyzmq-27.2.0.tar.gz", hash = "sha256:54d4259d1bfae24ecdb5ca79f7acc2eac6c286a02d6a0ae617797cb45f0726d3", size = 292316, upload-time = "2026-08-20T19:08:21.19Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/1d/2e/8897afa4538707d86645f51cc50e66b2b84900edb1be9dc9af2c2fc04e5d/pyzmq-27.2.0-cp311-cp311-macosx_10_15_universal2.whl", hash = "sha256:9216132843d139a123f243c07fe70f7487dce5041093dd77040f9adb5dc91872", size = 1457109, upload-time = "2026-08-20T19:06:26.022Z" }, + { url = "https://files.pythonhosted.org/packages/d1/bc/dbce7bc1654fa25b1e68b9bad9e547906f581ce919c186a88ed951cb794c/pyzmq-27.2.0-cp311-cp311-manylinux2014_i686.manylinux_2_17_i686.whl", hash = "sha256:d41ebb260b69329b7d4a2936d44c872c86dd785355b51366c8b14e07ed7e9373", size = 985701, upload-time = "2026-08-20T19:06:27.481Z" }, + { url = "https://files.pythonhosted.org/packages/95/cf/6981738b57c83fef33f356141ad83bf51e92f2f70c9d5767affd1a699f07/pyzmq-27.2.0-cp311-cp311-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:468139ddb2e494d06e586bd3a6835077e8b3764560c8db552fe685c5867fc24e", size = 714285, upload-time = "2026-08-20T19:06:28.962Z" }, + { url = "https://files.pythonhosted.org/packages/50/b5/13657961a845e29c28a4e7ac4202999ec90b3bba1890a5469ce2ae90359d/pyzmq-27.2.0-cp311-cp311-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:39755dc4a923021bd0677990ffdbc21cff0e1ee1cf07fe3817acea153ef4cb67", size = 888465, upload-time = "2026-08-20T19:06:30.4Z" }, + { url = "https://files.pythonhosted.org/packages/58/5a/ca7ee7a767413d4ba858e93748b95e30b35b8c139849fba94de4433ea2e5/pyzmq-27.2.0-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:714f8cbd66c7e405338d668f79d2fe83fe923defe348e843be998603cf92eeff", size = 1705731, upload-time = "2026-08-20T19:06:31.819Z" }, + { url = "https://files.pythonhosted.org/packages/0b/8b/083f6184e4eba566c9a3cc9974b1b0fe327b7093788135ba8133edaa67a6/pyzmq-27.2.0-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:1132805970045adb9f5f05dd57040978286a8e21a5475f2c2ddf1bc983b9a2c7", size = 2074243, upload-time = "2026-08-20T19:06:33.36Z" }, + { url = "https://files.pythonhosted.org/packages/57/f5/249362b664ae725d534c8843214fa9fd7fccd74532a19e24603954a88a7d/pyzmq-27.2.0-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:b26f2d0493b79ce3c3112c8a12649418915582ba4707b8ed9f44febf2be71f42", size = 1926859, upload-time = "2026-08-20T19:06:34.796Z" }, + { url = "https://files.pythonhosted.org/packages/bf/cc/23c613c15f06d879f13364d14c17e5e4e8304049411e96c1410e6e56c3ea/pyzmq-27.2.0-cp311-cp311-win32.whl", hash = "sha256:44f261eca7dfb9904ea2b56428f59ab693bbe2715c0413a701f17b067ebf877c", size = 570747, upload-time = "2026-08-20T19:06:36.337Z" }, + { url = "https://files.pythonhosted.org/packages/dc/bc/bbbcf89003c93f18e33665c26e3c48d75e3915c3dd22887f3a7aea2c5e26/pyzmq-27.2.0-cp311-cp311-win_amd64.whl", hash = "sha256:8b86e04f55af0f4d8cd8ecf14c0b8b81ebc8fd66fa20126b753514628ecadc7e", size = 644845, upload-time = "2026-08-20T19:06:37.711Z" }, + { url = "https://files.pythonhosted.org/packages/14/c5/4635d0ba2b8493edf6d5541fff0b07fa1d986fdfc29c596a53a21e20f9af/pyzmq-27.2.0-cp311-cp311-win_arm64.whl", hash = "sha256:917d601e9540098f580d2723d0ce6402cdb6f02bc8dc2de74e0dca6e13bffd1b", size = 567495, upload-time = "2026-08-20T19:06:39.246Z" }, + { url = "https://files.pythonhosted.org/packages/57/8a/153532fa53db30e116118164f3af269a1f3966b3e2ba32c89b12fe864bd8/pyzmq-27.2.0-cp312-abi3-macosx_10_15_universal2.whl", hash = "sha256:591c8de5851c5ea372194469fe97587b97c3b641e9a70f31bb3474acbfde0241", size = 1431074, upload-time = "2026-08-20T19:06:40.601Z" }, + { url = "https://files.pythonhosted.org/packages/c8/ef/c08b91248bb90a9efa81fa00ba81b69c157c74d0c5efbb2c319d91babb62/pyzmq-27.2.0-cp312-abi3-manylinux2014_i686.manylinux_2_17_i686.whl", hash = "sha256:00e73942ef12cecbc7951c4a9104bb8ffaed742abb13af2da6833d90dd368cef", size = 973915, upload-time = "2026-08-20T19:06:42.037Z" }, + { url = "https://files.pythonhosted.org/packages/b4/78/a3a3a86c2b00fadb92ece1ca4f8f028d62b2ce9ac3526097239ab2d6fba9/pyzmq-27.2.0-cp312-abi3-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:1f8079d0521fe94bbb401fe9407578b28f3701627c8be2c9f7e0c5b77dcb0109", size = 697722, upload-time = "2026-08-20T19:06:43.325Z" }, + { url = "https://files.pythonhosted.org/packages/62/2c/d5828306f795e8d34676d266823b74e2101e0ad3760d12083de3e02abbb2/pyzmq-27.2.0-cp312-abi3-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:dea74fd65f1fc5f7fe167916a473ebe6ed6174e5e5d9de11ea6583661be6cf43", size = 872258, upload-time = "2026-08-20T19:06:44.627Z" }, + { url = "https://files.pythonhosted.org/packages/09/52/51253b78fd8739293e283407eeecb14215c02c71b6519af21f6eed8e69cd/pyzmq-27.2.0-cp312-abi3-manylinux_2_38_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:dcc99ca132b667a4ed750afd42db4ea73288f18425a9b2e3c0af095665c491f5", size = 739591, upload-time = "2026-08-20T19:06:46.214Z" }, + { url = "https://files.pythonhosted.org/packages/e6/3e/142c85b67a4c9678629b0cf6d5125b29663d75be69bfaa57a3cac344d780/pyzmq-27.2.0-cp312-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:b8d5f66e4a8246cf77f7b8f7902af64f00553368fa0373c89d99b78f0ad79394", size = 1689031, upload-time = "2026-08-20T19:06:47.612Z" }, + { url = "https://files.pythonhosted.org/packages/0e/ee/0776fb0f98ed1eb74d77240087fef0ab045b6ad15cb09555c6c5134c98ad/pyzmq-27.2.0-cp312-abi3-musllinux_1_2_i686.whl", hash = "sha256:d1526b42a2e725b84ed226f37becedc250c6347594e5ed304e4e9aff68c9aec3", size = 2059547, upload-time = "2026-08-20T19:06:49.064Z" }, + { url = "https://files.pythonhosted.org/packages/aa/0e/ec77f691a4aebe29ab6329f996fb0e0270c876a3016086e3ca6ef733bcae/pyzmq-27.2.0-cp312-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:f707bcf2c1d007d14d70531d4dd7b41060881c73efa845580bf6faaf9ea24d42", size = 1910457, upload-time = "2026-08-20T19:06:50.783Z" }, + { url = "https://files.pythonhosted.org/packages/30/97/1f5530ff4fc271b4597048371d5af972c2baab51be132ba15874e0327a6a/pyzmq-27.2.0-cp312-abi3-win32.whl", hash = "sha256:fdaaa4ea3242f6ad298eb5177eb042aea5c73c30e76d20caee7b15af20d24ec2", size = 563450, upload-time = "2026-08-20T19:06:52.307Z" }, + { url = "https://files.pythonhosted.org/packages/02/8b/b83f7780dad22e0878e4c7bd9158ebd24ed12bc3d5e3a471cd0576f77ded/pyzmq-27.2.0-cp312-abi3-win_amd64.whl", hash = "sha256:2c218c6ab8bc447ba62054b581fd30209689d199c6ecb253f79615ca74a38e12", size = 628633, upload-time = "2026-08-20T19:06:53.809Z" }, + { url = "https://files.pythonhosted.org/packages/52/aa/3918b5ac7f9987bd9c421b065074fd7409ded88f856f2c704a24341877ec/pyzmq-27.2.0-cp312-abi3-win_arm64.whl", hash = "sha256:348d6fd3e4b81ae4580622ea8c2ea60224e84b2ac1b3be4482e6edc7de06e7a3", size = 556006, upload-time = "2026-08-20T19:06:55.242Z" }, + { url = "https://files.pythonhosted.org/packages/83/5e/d0541596b48c5a19f85dcbea83d6673d8e91681cdf853eb194c31fc9766e/pyzmq-27.2.0-cp313-cp313-android_24_arm64_v8a.whl", hash = "sha256:c551b9e2f86dc625fcb1a032c0d68042678caf96a8dd7c28796766b673bd5b52", size = 1127193, upload-time = "2026-08-20T19:06:56.545Z" }, + { url = "https://files.pythonhosted.org/packages/50/9f/8c7411bb283982d46e6d56dca6a095678c87eb0398daead12776d9881ac2/pyzmq-27.2.0-cp313-cp313-android_24_x86_64.whl", hash = "sha256:288cc790da0e3064a14a38ddc56ba169dada8c8af4cb86518db2bcbd380eedbb", size = 1166833, upload-time = "2026-08-20T19:06:58.011Z" }, + { url = "https://files.pythonhosted.org/packages/f9/84/a849161ff88b2de9b991cc8ab332218824741122fdc4fdf222a5b822ac8c/pyzmq-27.2.0-cp314-cp314-android_24_arm64_v8a.whl", hash = "sha256:3d45189c0c3c99f817b7fefff0d32eeef684cf33e1e3c0fc4281515357c54702", size = 1134452, upload-time = "2026-08-20T19:06:59.898Z" }, + { url = "https://files.pythonhosted.org/packages/3c/34/ff4aaff0cfba2a4d7ad1a16ffedc52c6deb89fcf673d455085446b23f215/pyzmq-27.2.0-cp314-cp314-android_24_x86_64.whl", hash = "sha256:d61910b52be5b2cd8b248dbcbe3a1b0275556a7d99fb613fc43323b546e273b8", size = 1167520, upload-time = "2026-08-20T19:07:01.283Z" }, + { url = "https://files.pythonhosted.org/packages/b6/07/42111e9dc1041d78b4443d6eb1b82b027f1a58178dc8a38385effbc72ad5/pyzmq-27.2.0-cp314-cp314t-macosx_10_15_universal2.whl", hash = "sha256:3ab6eb88590e510ab16715c32dbba12000da9bee989fdadd9ee19a234c492eb7", size = 1466289, upload-time = "2026-08-20T19:07:02.738Z" }, + { url = "https://files.pythonhosted.org/packages/4b/b4/def7a478458da78665840564161772e7e938600c32a89f28e8b221b54d2d/pyzmq-27.2.0-cp314-cp314t-manylinux2014_i686.manylinux_2_17_i686.whl", hash = "sha256:1ecbdd131b9669f62d3a45afee5527c7ae9f141e4301267f21714c90bd21725f", size = 975868, upload-time = "2026-08-20T19:07:04.155Z" }, + { url = "https://files.pythonhosted.org/packages/38/d5/e3e85f7fea37153097aaff49db9e33093909cc2a7b22c1ac4ebe546600fc/pyzmq-27.2.0-cp314-cp314t-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:3146385b94a760236c5eceff468a66a296a716ca98a2e0f9217b1518118466b1", size = 706054, upload-time = "2026-08-20T19:07:05.623Z" }, + { url = "https://files.pythonhosted.org/packages/1c/ef/3b7d9449b223183222bf517245e1e53d5f1ab8c10be8b45f6a301b2f994a/pyzmq-27.2.0-cp314-cp314t-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:9846e881620dd62566ca76a53e384c3f37490faf4b9240aebc7498810dfca853", size = 878984, upload-time = "2026-08-20T19:07:07.153Z" }, + { url = "https://files.pythonhosted.org/packages/be/a5/8b49dbd494f6dcfda69dc4cade322a4b02706ef4e3d30cc366d4e369899f/pyzmq-27.2.0-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:d9527e3dbaef1edaeeb2446fa7379446814a43ade8adc7c4a5ebe69437815ddd", size = 1697489, upload-time = "2026-08-20T19:07:08.945Z" }, + { url = "https://files.pythonhosted.org/packages/da/5a/4bb8280901130c26ea25f0cbb4a6d39d94250860c6b3dbd912f1cf48fca7/pyzmq-27.2.0-cp314-cp314t-musllinux_1_2_i686.whl", hash = "sha256:56b48fa9d478a3af7254f397697a62f5ad3e1bb677e200b2701f0c290d97e5af", size = 2064236, upload-time = "2026-08-20T19:07:10.384Z" }, + { url = "https://files.pythonhosted.org/packages/de/38/f433af66922554adb2b5f79e897018c8e19a90b9eaeb49c4814f8355ebe4/pyzmq-27.2.0-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:bf0b6e4ce1bb089751c504c5493d6b0557eabd02dd21b76e9086cf964234b103", size = 1917424, upload-time = "2026-08-20T19:07:11.909Z" }, + { url = "https://files.pythonhosted.org/packages/36/81/ea1c1ae3f801d96ba2c269e056761ebcfe023476e651d3af2a7817962051/pyzmq-27.2.0-cp314-cp314t-win32.whl", hash = "sha256:fba8afcf265c6e9fbe1594cb045d4765c6c9a7d607653a8196067ef23566b843", size = 591103, upload-time = "2026-08-20T19:07:13.451Z" }, + { url = "https://files.pythonhosted.org/packages/8a/04/149a627707e780fa9f2c1ede3590c14fa6b18b5576d15744342622299a50/pyzmq-27.2.0-cp314-cp314t-win_amd64.whl", hash = "sha256:d1bc1d380a91d954ed5fc9f12915dba014eed0978d2de05ee7ca688bdaac144a", size = 670215, upload-time = "2026-08-20T19:07:15.069Z" }, + { url = "https://files.pythonhosted.org/packages/30/ba/f9c3c1536c41ef3dbf765ea04218990e2056e558f98184ecd883767fc501/pyzmq-27.2.0-cp314-cp314t-win_arm64.whl", hash = "sha256:c7cfb75caa83f5153c687e9d2107f64b5ef0ef0d6edd260d3ff920baaaa69101", size = 582252, upload-time = "2026-08-20T19:07:16.582Z" }, + { url = "https://files.pythonhosted.org/packages/fa/00/78fe097a304a408275747ce43f20428789130b059c5649956277c20f30cf/pyzmq-27.2.0-cp315-cp315-android_24_arm64_v8a.whl", hash = "sha256:c5129a8fe43ecc49b99eb75616603d483a3c2fcaef504988fafe8ea392aea98b", size = 1134295, upload-time = "2026-08-20T19:07:17.94Z" }, + { url = "https://files.pythonhosted.org/packages/f2/83/1c36270658d2ee56e23a3f9ef5fbcb94cbd2f9fe966a6641f2f38e697162/pyzmq-27.2.0-cp315-cp315-android_24_x86_64.whl", hash = "sha256:baa2ce3485145653194d6c8c5beedd1e9f0bf46a0919c9fa2fe2204fc35b74d9", size = 1167492, upload-time = "2026-08-20T19:07:19.476Z" }, + { url = "https://files.pythonhosted.org/packages/58/b2/f0ae223438d7faa991f6feefdc823815f11cc604f898738376b59fd96515/pyzmq-27.2.0-cp315-cp315t-macosx_10_15_universal2.whl", hash = "sha256:e1ed46048d1920cabc96d952a0d5cfe4127ad8db572c335aae4e3c57b9278d7f", size = 1465992, upload-time = "2026-08-20T19:07:20.941Z" }, + { url = "https://files.pythonhosted.org/packages/59/46/fb56f3f37a6a0937b0e1d2885e808b5eedc171320bac85573cfae78fa9bc/pyzmq-27.2.0-cp315-cp315t-manylinux2014_i686.manylinux_2_17_i686.whl", hash = "sha256:e0fa0bc6b1a184aee59b32efcd1b7f0e6d5b8f9387799e4c16a4cb66a86747d6", size = 976118, upload-time = "2026-08-20T19:07:22.577Z" }, + { url = "https://files.pythonhosted.org/packages/21/82/a2c9bfd7c4d34eea1278493cd041bc000d41acb4463c89ceaad29dc813b6/pyzmq-27.2.0-cp315-cp315t-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:0f4bd6743e8bf854c3bfce892dd6578a514aabf128e37a4b2eafcf01856f7e44", size = 705968, upload-time = "2026-08-20T19:07:24.019Z" }, + { url = "https://files.pythonhosted.org/packages/d6/12/b906b269116b6591dc15c0acc5d04c043957c8a531d336999731f4b1d899/pyzmq-27.2.0-cp315-cp315t-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:95369ed6626afcfe2ac89832fb1b917c077fbeb905fbbe5d918349ce0222b89b", size = 879011, upload-time = "2026-08-20T19:07:25.428Z" }, + { url = "https://files.pythonhosted.org/packages/12/13/f96359534bfb77651c15f1fbfc4bfdd7ec3489d23f434706d39598dd0dcd/pyzmq-27.2.0-cp315-cp315t-musllinux_1_2_aarch64.whl", hash = "sha256:40124779c3a56ad5d91902df1ff89159cb414b6c1a0ee697abcc66cf5e6db62d", size = 1697496, upload-time = "2026-08-20T19:07:26.821Z" }, + { url = "https://files.pythonhosted.org/packages/21/b4/2c007ae5f2fe5eca86cbfbc874ed86b5135f2f7812615dfd78606d3c93f6/pyzmq-27.2.0-cp315-cp315t-musllinux_1_2_i686.whl", hash = "sha256:ec8a318dfc27c7d946651b3d9e8025d5734f30c168a822195601827207bac09b", size = 2064347, upload-time = "2026-08-20T19:07:28.315Z" }, + { url = "https://files.pythonhosted.org/packages/9b/88/767af3a6630c15215f3a66700ec79598a375edd1fdc9d75a3ad522178c01/pyzmq-27.2.0-cp315-cp315t-musllinux_1_2_x86_64.whl", hash = "sha256:88c0fac061bac269076edeb3a209acefc96cd6167c239daf1c2b404ac48d7012", size = 1917360, upload-time = "2026-08-20T19:07:29.693Z" }, + { url = "https://files.pythonhosted.org/packages/35/c1/80dd2d20d6e57bc68e1dce1e84bf3e76c9577c1bf728199985c8b4ea0fd1/pyzmq-27.2.0-cp315-cp315t-win32.whl", hash = "sha256:ac126d48cf18aa955daabef43bf0009ff76ad4deee437d09ecf15388214b5beb", size = 591073, upload-time = "2026-08-20T19:07:31.341Z" }, + { url = "https://files.pythonhosted.org/packages/f8/b5/33b781666f3f52ae834bc9c8e38f4f0483a826c5a91cccc993292007bf10/pyzmq-27.2.0-cp315-cp315t-win_amd64.whl", hash = "sha256:edce90a1e588ec63adbf612cc0ad582de4169cd216c7ae53c15f42a2ee902f35", size = 670701, upload-time = "2026-08-20T19:07:32.895Z" }, + { url = "https://files.pythonhosted.org/packages/6e/97/bc4f0edefb992df4fdebcf9f0cc40f631cd4ed277e1ed59ef2cd99a5c8c5/pyzmq-27.2.0-cp315-cp315t-win_arm64.whl", hash = "sha256:a843094b4d3d633bc3623e47a2ff50742d6af02bc1f7606aa2e67e971e21878d", size = 581985, upload-time = "2026-08-20T19:07:34.19Z" }, + { url = "https://files.pythonhosted.org/packages/93/22/7187a1f0bf2b8bf8dc6b91762438fb9b472f684f2dc4cb74a24bf8957943/pyzmq-27.2.0-pp311-pypy311_pp73-macosx_10_15_x86_64.whl", hash = "sha256:a7c1144dc61777938e932a2c9011b980b89fd8ff3733033b34c44c299187a6e1", size = 875015, upload-time = "2026-08-20T19:08:01.692Z" }, + { url = "https://files.pythonhosted.org/packages/92/71/09b71620ad52bad4eb68b1516978ecaf52ef623c3fa16e0732a03cf3274c/pyzmq-27.2.0-pp311-pypy311_pp73-macosx_11_0_arm64.whl", hash = "sha256:c218b816220d05acf6ab1bafca58926d95cbcc5fec5024724666030466308f0c", size = 774395, upload-time = "2026-08-20T19:08:03.108Z" }, + { url = "https://files.pythonhosted.org/packages/9c/cf/5c8eb9994a14ff5ee5b0cada339421748746c95aee0280c8b656741e8749/pyzmq-27.2.0-pp311-pypy311_pp73-manylinux2014_i686.manylinux_2_17_i686.whl", hash = "sha256:ae6ebbc0bfe5a21ce21e32ba567bf73df2d93888109c65acbd42506cf9395759", size = 877994, upload-time = "2026-08-20T19:08:04.724Z" }, + { url = "https://files.pythonhosted.org/packages/97/64/e22094c5555e550b6450ecfcceb6a1205d893d9a18ae27764c8c45acfb16/pyzmq-27.2.0-pp311-pypy311_pp73-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:679b5b1dde326a921ea2c9ec1f9ea3115bfe1b4735779bbc6eb0473a0ed93f71", size = 614492, upload-time = "2026-08-20T19:08:06.487Z" }, + { url = "https://files.pythonhosted.org/packages/d2/28/5b1042899caed18278c56d54a502f5254d463afe8aea1acbecc98e053391/pyzmq-27.2.0-pp311-pypy311_pp73-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:f5c6d8744d10b5e1eadd90a7c58f8546acf6bf680ee463f7e6ada09ad6c9f802", size = 780574, upload-time = "2026-08-20T19:08:07.987Z" }, + { url = "https://files.pythonhosted.org/packages/77/a3/f134603a671c114c6b56eb912bba890f09e2d43b8a28d243be5a5507cf2f/pyzmq-27.2.0-pp311-pypy311_pp73-win_amd64.whl", hash = "sha256:3ee8dd7031d5e23f632e0e7eee67183ca7d2536e0de35dc1e5d69f3471a791e8", size = 553961, upload-time = "2026-08-20T19:08:09.651Z" }, +] + +[[package]] +name = "redis" +version = "5.2.1" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "async-timeout", marker = "python_full_version < '3.11.3' or python_full_version >= '3.15'" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/47/da/d283a37303a995cd36f8b92db85135153dc4f7a8e4441aa827721b442cfb/redis-5.2.1.tar.gz", hash = "sha256:16f2e22dff21d5125e8481515e386711a34cbec50f0e44413dd7d9c060a54e0f", size = 4608355, upload-time = "2024-12-06T09:50:41.956Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/3c/5f/fa26b9b2672cbe30e07d9a5bdf39cf16e3b80b42916757c5f92bca88e4ba/redis-5.2.1-py3-none-any.whl", hash = "sha256:ee7e1056b9aea0f04c6c2ed59452947f34c4940ee025f5dd83e6a6418b6989e4", size = 261502, upload-time = "2024-12-06T09:50:39.656Z" }, +] + +[[package]] +name = "referencing" +version = "0.37.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "attrs" }, + { name = "rpds-py" }, + { name = "typing-extensions", marker = "python_full_version < '3.13' or python_full_version >= '3.15'" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/22/f5/df4e9027acead3ecc63e50fe1e36aca1523e1719559c499951bb4b53188f/referencing-0.37.0.tar.gz", hash = "sha256:44aefc3142c5b842538163acb373e24cce6632bd54bdb01b21ad5863489f50d8", size = 78036, upload-time = "2025-10-13T15:30:48.871Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/2c/58/ca301544e1fa93ed4f80d724bf5b194f6e4b945841c5bfd555878eea9fcb/referencing-0.37.0-py3-none-any.whl", hash = "sha256:381329a9f99628c9069361716891d34ad94af76e461dcb0335825aecc7692231", size = 26766, upload-time = "2025-10-13T15:30:47.625Z" }, +] + +[[package]] +name = "requests" +version = "2.34.2" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "certifi" }, + { name = "charset-normalizer" }, + { name = "idna" }, + { name = "urllib3" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/ac/c3/e2a2b89f2d3e2179abd6d00ebd70bff6273f37fb3e0cc209f48b39d00cbf/requests-2.34.2.tar.gz", hash = "sha256:f288924cae4e29463698d6d60bc6a4da69c89185ad1e0bcc4104f584e960b9ed", size = 142856, upload-time = "2026-05-14T19:25:27.735Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/a0/f4/c67b0b3f1b9245e8d266f0f112c500d50e5b4e83cb6f3b71b6528104182a/requests-2.34.2-py3-none-any.whl", hash = "sha256:2a0d60c172f83ac6ab31e4554906c0f3b3588d37b5cb939b1c061f4907e278e0", size = 73075, upload-time = "2026-05-14T19:25:26.443Z" }, +] + +[[package]] +name = "rfc3339-validator" +version = "0.1.4" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "six" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/28/ea/a9387748e2d111c3c2b275ba970b735e04e15cdb1eb30693b6b5708c4dbd/rfc3339_validator-0.1.4.tar.gz", hash = "sha256:138a2abdf93304ad60530167e51d2dfb9549521a836871b88d7f4695d0022f6b", size = 5513, upload-time = "2021-05-12T16:37:54.178Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/7b/44/4e421b96b67b2daff264473f7465db72fbdf36a07e05494f50300cc7b0c6/rfc3339_validator-0.1.4-py2.py3-none-any.whl", hash = "sha256:24f6ec1eda14ef823da9e36ec7113124b39c04d50a4d3d3a3c2859577e7791fa", size = 3490, upload-time = "2021-05-12T16:37:52.536Z" }, +] + +[[package]] +name = "rfc3986-validator" +version = "0.1.1" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/da/88/f270de456dd7d11dcc808abfa291ecdd3f45ff44e3b549ffa01b126464d0/rfc3986_validator-0.1.1.tar.gz", hash = "sha256:3d44bde7921b3b9ec3ae4e3adca370438eccebc676456449b145d533b240d055", size = 6760, upload-time = "2019-10-28T16:00:19.144Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/9e/51/17023c0f8f1869d8806b979a2bffa3f861f26a3f1a66b094288323fba52f/rfc3986_validator-0.1.1-py2.py3-none-any.whl", hash = "sha256:2f235c432ef459970b4306369336b9d5dbdda31b510ca1e327636e01f528bfa9", size = 4242, upload-time = "2019-10-28T16:00:13.976Z" }, +] + +[[package]] +name = "rfc3987-syntax" +version = "1.1.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "lark" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/2c/06/37c1a5557acf449e8e406a830a05bf885ac47d33270aec454ef78675008d/rfc3987_syntax-1.1.0.tar.gz", hash = "sha256:717a62cbf33cffdd16dfa3a497d81ce48a660ea691b1ddd7be710c22f00b4a0d", size = 14239, upload-time = "2025-07-18T01:05:05.015Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/7e/71/44ce230e1b7fadd372515a97e32a83011f906ddded8d03e3c6aafbdedbb7/rfc3987_syntax-1.1.0-py3-none-any.whl", hash = "sha256:6c3d97604e4c5ce9f714898e05401a0445a641cfa276432b0a648c80856f6a3f", size = 8046, upload-time = "2025-07-18T01:05:03.843Z" }, +] + +[[package]] +name = "rich" +version = "15.0.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "markdown-it-py" }, + { name = "pygments" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/c0/8f/0722ca900cc807c13a6a0c696dacf35430f72e0ec571c4275d2371fca3e9/rich-15.0.0.tar.gz", hash = "sha256:edd07a4824c6b40189fb7ac9bc4c52536e9780fbbfbddf6f1e2502c31b068c36", size = 230680, upload-time = "2026-04-12T08:24:00.75Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/82/3b/64d4899d73f91ba49a8c18a8ff3f0ea8f1c1d75481760df8c68ef5235bf5/rich-15.0.0-py3-none-any.whl", hash = "sha256:33bd4ef74232fb73fe9279a257718407f169c09b78a87ad3d296f548e27de0bb", size = 310654, upload-time = "2026-04-12T08:24:02.83Z" }, +] + +[[package]] +name = "rpds-py" +version = "2026.9.1" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/42/68/3bd46b8a5e01d3c2ebdf9c5e9497912e3fe0cde02bac21a7130ca866e403/rpds_py-2026.9.1.tar.gz", hash = "sha256:4793ef7f78268b124b73fa933440f01d258bbae01de9fa53e9080c9ab0425a12", size = 63948, upload-time = "2026-10-04T16:32:36.469Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/f5/6d/ddb8dfcf41892ba9c672d27988592c038d30db61708230313831b6780a1b/rpds_py-2026.9.1-cp311-cp311-macosx_10_12_x86_64.whl", hash = "sha256:2711d29b653b3bce48a63d18b9c6b53274669e6d6c4094dddeb4d9a0e45128b2", size = 344947, upload-time = "2026-10-04T16:28:55.207Z" }, + { url = "https://files.pythonhosted.org/packages/9e/b2/632c3d034961149eff606e3e357547620a9ab37b849ae5815f67838753fd/rpds_py-2026.9.1-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:3231c4c0e521dafa5be0c9f114ee2c2ad46650836f2d72caa86801950c3e7044", size = 346770, upload-time = "2026-10-04T16:28:56.884Z" }, + { url = "https://files.pythonhosted.org/packages/6d/45/4df346410bb873d03ec60c3b891d1fceb8cabde1971d29844bbb625cc296/rpds_py-2026.9.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:e01b3c878c8641913e688edd1b3f08658c6783d29cf6b826bd3c0d1ae7a1ffaa", size = 377795, upload-time = "2026-10-04T16:28:58.193Z" }, + { url = "https://files.pythonhosted.org/packages/ba/b8/a70f302207e4f29f873c01a986fcac5def49b9c8224328cef1ad7da6b7a9/rpds_py-2026.9.1-cp311-cp311-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:3e524c7874ac72884d28e16dd5b8d839fd09e0fe76b020d3fbca23212a7b8c52", size = 383137, upload-time = "2026-10-04T16:28:59.411Z" }, + { url = "https://files.pythonhosted.org/packages/13/e3/3aa28a48a01169d0e20728bf0e5ebbea3ae2774285b40853ae49b3ef332a/rpds_py-2026.9.1-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:761fdae6728ceb99ab182fad2f0cc1e262f610834dc891aea1d1a2a2e634776f", size = 496789, upload-time = "2026-10-04T16:29:01.011Z" }, + { url = "https://files.pythonhosted.org/packages/3e/a7/414e8d088602d66ad6f47c65bf07fe5090992a8574cdd4571c1a83b647ed/rpds_py-2026.9.1-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:6b723eb406dec5bc9ec516c73ab9c3239a3284e017f7eb89ee2b3258bd504fb7", size = 395929, upload-time = "2026-10-04T16:29:02.465Z" }, + { url = "https://files.pythonhosted.org/packages/2d/5c/aac3b960fd55d37b49f77c0eebbe043eaf36762ebd48e7b46951e59c1c05/rpds_py-2026.9.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:136a1c3fe4402b7008bc81cb62ee538481795b61a7e83df88dff3b3f02b726ff", size = 375426, upload-time = "2026-10-04T16:29:03.944Z" }, + { url = "https://files.pythonhosted.org/packages/d3/80/77987a41c40be7202a78d9aed4a650bfb05792237cfd3b9e22638d990fe5/rpds_py-2026.9.1-cp311-cp311-manylinux_2_31_riscv64.whl", hash = "sha256:839dde845559254f34885267c6878f60d61d5205180226d976fe488d45fa128e", size = 381497, upload-time = "2026-10-04T16:29:05.308Z" }, + { url = "https://files.pythonhosted.org/packages/b8/d0/640b02eb1ecd71a913c1178b6235287b31006266bca9a26862e80e497b54/rpds_py-2026.9.1-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:56cd8b3f77d7b6812f533b662186a1f28316931166ddc00fb893b1b0db7e9888", size = 405740, upload-time = "2026-10-04T16:29:06.578Z" }, + { url = "https://files.pythonhosted.org/packages/3e/8c/d034195d45d215625a23f2ae85dbbdb86a49a93a51272061c97c80b9d316/rpds_py-2026.9.1-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:074a4d198bc34d9a8ea425114fc3ded6d11ec01f6a314a8db67454a5152d8834", size = 555850, upload-time = "2026-10-04T16:29:08.115Z" }, + { url = "https://files.pythonhosted.org/packages/de/f8/532f1addfc86207bc3cf23749638bb0d457bce891595012ed8a08d0543b8/rpds_py-2026.9.1-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:6beb738155fe8ab8091afdfa5a3226b21c2b1593f1e50ebb90eb25b44dbc0391", size = 618661, upload-time = "2026-10-04T16:29:09.554Z" }, + { url = "https://files.pythonhosted.org/packages/50/5b/b0f2c9833a36a5b1f6ac5cb0e635fabacf713266f46ceefba2102da0bf51/rpds_py-2026.9.1-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:57492a550a1d88d29d003247e5f78dd8cf04a701fac0e4c8db8745a6d2504e0a", size = 583530, upload-time = "2026-10-04T16:29:11.072Z" }, + { url = "https://files.pythonhosted.org/packages/bf/20/464ed4b98d3c8c6a334f3b5e24d3886de04b05658a95fc40a37e0e6e4775/rpds_py-2026.9.1-cp311-cp311-win32.whl", hash = "sha256:d95a354e02393eada6d7351184671aced9d4cce109dabf927cb7aa99624352a1", size = 208125, upload-time = "2026-10-04T16:29:12.408Z" }, + { url = "https://files.pythonhosted.org/packages/df/c9/384a9b62f8cd89c8e3e609b8c9052c140e8c01d807261e0517c904b8bf29/rpds_py-2026.9.1-cp311-cp311-win_amd64.whl", hash = "sha256:ce4d4f52e2a4324396caddbd45a97d8d7be5f42edd25d2355282a9c34f9b2f7f", size = 226045, upload-time = "2026-10-04T16:29:13.751Z" }, + { url = "https://files.pythonhosted.org/packages/4f/3b/0a691f0dcb2301fa9c736346da2d0d4991778373283301c5c12b8f952f3d/rpds_py-2026.9.1-cp311-cp311-win_arm64.whl", hash = "sha256:fdcd198979b4ecffcc1beba366a7fbcf4eb41243691a82fe52ceb0b902f09c12", size = 222636, upload-time = "2026-10-04T16:29:14.989Z" }, + { url = "https://files.pythonhosted.org/packages/5d/34/a828586ea3329fbb50895b50e9cf98ca3d924a9f41a0b26d443bff1b3794/rpds_py-2026.9.1-cp312-cp312-macosx_10_12_x86_64.whl", hash = "sha256:50906f5aea24b5a865cbd0a589698288631d9f3a54c3a937c83aefa95a0d14af", size = 346822, upload-time = "2026-10-04T16:29:16.258Z" }, + { url = "https://files.pythonhosted.org/packages/90/81/ac6a0d064982251856ce009c9e1dd51a34110b3c055aa7d1aad18b4899a3/rpds_py-2026.9.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:e21c1429e205828ea886a2293a4a2c8e01f4c25d9893ca330e97a6cf73f52e7b", size = 341380, upload-time = "2026-10-04T16:29:17.706Z" }, + { url = "https://files.pythonhosted.org/packages/42/ff/bf7d54f362748fd6a49277b9d6531c394074110fedf50ad791ec59133fbb/rpds_py-2026.9.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:2693b2728bbcc48d09a981a356954b0c47c53ff25b545856f28a889ea619f69a", size = 373053, upload-time = "2026-10-04T16:29:19.063Z" }, + { url = "https://files.pythonhosted.org/packages/60/de/74b0ccdbbd28687b9b5fdb34c1cabed88352182facaced9d6f5486b8b9ed/rpds_py-2026.9.1-cp312-cp312-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:8601470267d938bcb7f3ab1a336100af51a4fd5b6ed030ef52461bb3ef5e7e07", size = 377742, upload-time = "2026-10-04T16:29:20.543Z" }, + { url = "https://files.pythonhosted.org/packages/c2/6d/b979775a3057b2a5c26d75ecbff60a20a24ef081db6dd76836fca3f20247/rpds_py-2026.9.1-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:3890a6aa36e6baa53d5258a2a25d3ef8b37ad165a6ab27a892d7c3e3a432cd69", size = 487289, upload-time = "2026-10-04T16:29:21.958Z" }, + { url = "https://files.pythonhosted.org/packages/1d/5d/7c34734ce3ece943d9d6ee0122a74a21bbc75b47acb5b7053c83f6efb1ed/rpds_py-2026.9.1-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:6b5b393eda5ea42cca1c1a6665f2a4882b4fd5d1777e41ce0545a107fb008c9d", size = 390710, upload-time = "2026-10-04T16:29:23.378Z" }, + { url = "https://files.pythonhosted.org/packages/1d/6d/b26eb1e75395925b3a142ed351cbed2ec8212f5c9d937aee3df32c701baa/rpds_py-2026.9.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:addeda51556dac7c1a2f14cda62db8b621cd12afba3091d03a96c72932387eab", size = 371261, upload-time = "2026-10-04T16:29:25.1Z" }, + { url = "https://files.pythonhosted.org/packages/7c/98/b2fdfe10301a9e27af21e634337fbba7baac0bc17fe44619a17c26bba2cb/rpds_py-2026.9.1-cp312-cp312-manylinux_2_31_riscv64.whl", hash = "sha256:d9edf30457d74eebfd76b045535e36f1cd89062566a128a0db2145ca042d787e", size = 376075, upload-time = "2026-10-04T16:29:26.748Z" }, + { url = "https://files.pythonhosted.org/packages/c5/b1/c4b8d954e49c3c69cf8063c0c9e0919c99f3d2cecc46311606a1cbe835dc/rpds_py-2026.9.1-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:815d26356930846a40c7bc1366e7b1b0320ab8a063e66c11298a208bed0fd237", size = 399358, upload-time = "2026-10-04T16:29:28.282Z" }, + { url = "https://files.pythonhosted.org/packages/b3/59/9559a7293c97dff0cbb293efffbd36644103883ecc27741af8ef90c84ca8/rpds_py-2026.9.1-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:3b5a6f40f0a1486b4b36c888123afc67acdbd9f33235927acf5ff295429a0ba3", size = 550267, upload-time = "2026-10-04T16:29:29.851Z" }, + { url = "https://files.pythonhosted.org/packages/6c/9d/6dc60e49511de4c8b00e74f9c1d43aed4d27f712cdb1ade92f2c199cbf64/rpds_py-2026.9.1-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:b5b8b0753718d258fd454283fbd57e14545d3b40583fa672e27cb4f987626bcc", size = 614018, upload-time = "2026-10-04T16:29:31.54Z" }, + { url = "https://files.pythonhosted.org/packages/fb/bc/92a4ecf27301b886232a413360f6b348a81d55ffef654f2ebda5970ebc3d/rpds_py-2026.9.1-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:46d80bc76b51a6c24f9944368c28d38b8bcbcea1da4f2f8d3ebc31a67e8c6ec6", size = 578509, upload-time = "2026-10-04T16:29:33.01Z" }, + { url = "https://files.pythonhosted.org/packages/08/53/efb97f2e6589b7ab8394385a73870e0b2ab2a195281c117b21fd6d7d4855/rpds_py-2026.9.1-cp312-cp312-win32.whl", hash = "sha256:befc2d6a953e563f8a7bfd87a42c22ebf8a3e980dcb7b6a4d17b70b0e914e8a3", size = 205401, upload-time = "2026-10-04T16:29:34.451Z" }, + { url = "https://files.pythonhosted.org/packages/1c/84/1700cc748d0eaa747486e4e82882d2575224e6e9a3148df583058850c629/rpds_py-2026.9.1-cp312-cp312-win_amd64.whl", hash = "sha256:5ce8943f79c2210f7abcc28e86367b03b28d95027fd01c46d2472373ae70c86f", size = 222923, upload-time = "2026-10-04T16:29:35.709Z" }, + { url = "https://files.pythonhosted.org/packages/c3/89/0302215373c2f8b4408b0fdfee955368cc378a98ff59508d47a7e0dc2dbf/rpds_py-2026.9.1-cp312-cp312-win_arm64.whl", hash = "sha256:501909f2e4a1e2dee528ef766fe3c469060ebc17e54a8383d404ba07a81a6f02", size = 218415, upload-time = "2026-10-04T16:29:37.263Z" }, + { url = "https://files.pythonhosted.org/packages/83/ea/ee88fd9e756ff93fb6b1182a47ec09504a242620e33ce1d20679efefe841/rpds_py-2026.9.1-cp313-cp313-macosx_10_12_x86_64.whl", hash = "sha256:a36b70596407634ca82d4b989a3729074a008537a0522e4c8046a67c729103e9", size = 346229, upload-time = "2026-10-04T16:29:38.82Z" }, + { url = "https://files.pythonhosted.org/packages/57/71/a097d6552f837500fc36e6b23d09cfb9890c3cc47531f9ca64e149799615/rpds_py-2026.9.1-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:eba5d173f7d5708b22a93815017a4611873ed54db9f268077c0dd1ed99cfc858", size = 340514, upload-time = "2026-10-04T16:29:40.405Z" }, + { url = "https://files.pythonhosted.org/packages/bd/b7/497e85768bf4e0d8ddbaa096a4cac31d1509251dee2728a8490aa367e0b5/rpds_py-2026.9.1-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:457866b85daf5034296666168b84a69e0b2e89dc4f1af102b46f6448a60b9063", size = 372611, upload-time = "2026-10-04T16:29:41.778Z" }, + { url = "https://files.pythonhosted.org/packages/52/4b/74ab4108916250b6e198e0d3af05bc6835eb046315f22f7a0ceb49667c5a/rpds_py-2026.9.1-cp313-cp313-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:a3a52a3ba86436ab3aef510fbe21512abc2ddd1993005dfe50514bd2284ef025", size = 377712, upload-time = "2026-10-04T16:29:43.242Z" }, + { url = "https://files.pythonhosted.org/packages/0c/8e/067e77d9d7b3cc793c9d909b7e97e7aadbbb1fb094093b6876902cc96d38/rpds_py-2026.9.1-cp313-cp313-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:d7841166b7fa64c9c56404617ae4341448847482d45933b13135d26c130519e5", size = 488106, upload-time = "2026-10-04T16:29:44.692Z" }, + { url = "https://files.pythonhosted.org/packages/3c/b4/c5aae6c2dde269bf955f6b7d35065c655a57e47750d9668052ad67e74dda/rpds_py-2026.9.1-cp313-cp313-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:926bdd3e3b5998ddf70cc64bc8cf57209571f9044542913afb673799fec77dd0", size = 390795, upload-time = "2026-10-04T16:29:46.129Z" }, + { url = "https://files.pythonhosted.org/packages/a0/36/76fab39973ee11e7f9f357c55138197bb01c86f6502cb76487e3b4f42db0/rpds_py-2026.9.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:7868b85224291c6cb6759f9b5adb9745f486d226f62b16a614dd5a2a5ab2b35b", size = 370794, upload-time = "2026-10-04T16:29:47.603Z" }, + { url = "https://files.pythonhosted.org/packages/3d/fe/cd2a80e6d7b871937a60e935c5d507aa390d143f4ff3636f640b9733d5df/rpds_py-2026.9.1-cp313-cp313-manylinux_2_31_riscv64.whl", hash = "sha256:3cd182d7291d29b92c521a0069d9c01ba6193628a9a105531d11b40a6d731a33", size = 375673, upload-time = "2026-10-04T16:29:49.223Z" }, + { url = "https://files.pythonhosted.org/packages/6c/18/7464a9953724e55a3b3206062fa0ffdeaa519584c6aabf65d3956d94f131/rpds_py-2026.9.1-cp313-cp313-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:e6ea1cda8d8c688278430e4268a42f5e5da3bdd74578dfadc0820c3f1766ce83", size = 398758, upload-time = "2026-10-04T16:29:50.601Z" }, + { url = "https://files.pythonhosted.org/packages/c0/86/1534b436700fd49ff411063b7c4d7e938adfabf90895b6cf1622d5a7d1f6/rpds_py-2026.9.1-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:5943980471829f6de242a20b109de3111ba6b77e3af0ffc587028ac854b05e6c", size = 550370, upload-time = "2026-10-04T16:29:52.002Z" }, + { url = "https://files.pythonhosted.org/packages/57/1c/e1fa82a8a01e3c5820f3ba98a8b2673f642128eb368fa88871b01dd2c909/rpds_py-2026.9.1-cp313-cp313-musllinux_1_2_i686.whl", hash = "sha256:76d3af9732d2dab69f28179b40ba2d87e2f1d5824b4a694780aa787d685e8f36", size = 613106, upload-time = "2026-10-04T16:29:53.655Z" }, + { url = "https://files.pythonhosted.org/packages/29/55/b20b8c4c3dde8755bfcd5b08492a02d0cd2e26929aedf6199ca2a377d42a/rpds_py-2026.9.1-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:78326f4cb4427a56ba4996c0762b63be45f06b85f086526420d2b3a66e40f84d", size = 578235, upload-time = "2026-10-04T16:29:55.157Z" }, + { url = "https://files.pythonhosted.org/packages/55/42/df3f7bbc3f7ab37a8a9db8d6c2ff2c985422899f1f7926afbf7ec3c0b8b4/rpds_py-2026.9.1-cp313-cp313-win32.whl", hash = "sha256:172e47169583f46ce118cbec68e6795d0da0f4606b488b6434f8276bca0a058c", size = 205293, upload-time = "2026-10-04T16:29:56.669Z" }, + { url = "https://files.pythonhosted.org/packages/31/9c/ba5a9569d719bfdd6ce863df4133ac6a1658cf1b07cc3534c31db729fbbc/rpds_py-2026.9.1-cp313-cp313-win_amd64.whl", hash = "sha256:3e93b2cd69a9830be33e03945cd7cda940a0a8bfcfbff41d6144f0cb0d3d8bd9", size = 222409, upload-time = "2026-10-04T16:29:58.049Z" }, + { url = "https://files.pythonhosted.org/packages/35/72/f28ca566f6c23c35bbf7445f65eb0364577b25a026305995e24f78b83d94/rpds_py-2026.9.1-cp313-cp313-win_arm64.whl", hash = "sha256:d151e148117294133bf8af7eeace085e7e87432db15ab6adf640330298a47f6f", size = 217681, upload-time = "2026-10-04T16:29:59.449Z" }, + { url = "https://files.pythonhosted.org/packages/8a/f2/67b94be1532767803415c1c5a1fd88ea487643d74a673cec1ba140af77bb/rpds_py-2026.9.1-cp314-cp314-macosx_10_12_x86_64.whl", hash = "sha256:c9d1aca01f49170fdcf5c92761b1fafe97f554b721ca4570c5949fff778f0d4b", size = 347178, upload-time = "2026-10-04T16:30:00.865Z" }, + { url = "https://files.pythonhosted.org/packages/04/37/b751de2b59b0197a1d92a5dd491de88e8a5e928c2e6562581974f1e85263/rpds_py-2026.9.1-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:3f0e9ac28fc067d4d34b88ae43c48e9489455c97fee9633d851f7eeed5a05d35", size = 341878, upload-time = "2026-10-04T16:30:02.564Z" }, + { url = "https://files.pythonhosted.org/packages/72/e2/5873bc4643c250db9e05d48dc0c93763d4aa68bc3b81164cb1af3b45b284/rpds_py-2026.9.1-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:07deecbfce94c78473018bc7d10b337cc651d12df87a1eb2cb3e4024bc9c33d0", size = 373963, upload-time = "2026-10-04T16:30:04.026Z" }, + { url = "https://files.pythonhosted.org/packages/51/03/5acf7632158247f3f6386ff0af3a1ee48167d575037e8d0920594b76d92b/rpds_py-2026.9.1-cp314-cp314-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:821b2755db9194409254012f429c56643416fb96ef9be090be82ec8826b7f477", size = 377975, upload-time = "2026-10-04T16:30:05.555Z" }, + { url = "https://files.pythonhosted.org/packages/e6/00/63fda451b8bffa5808fc8bb311ee7c073b340974b09f273c7b2a145d3d62/rpds_py-2026.9.1-cp314-cp314-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:3c91c210ae7645626c608400e3519b4a642f837cce09ca830db3beb2e9f274d4", size = 490347, upload-time = "2026-10-04T16:30:07.156Z" }, + { url = "https://files.pythonhosted.org/packages/a1/ae/c093ffd070ba0fb02f76c565d06fecc65ad6e4afdbae78f7031076d3cdac/rpds_py-2026.9.1-cp314-cp314-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:54ac2158a6f96cfbabff0b2eedaf94b90c5ec7ca8317fcadc61e1c2b2e0ff6ef", size = 392962, upload-time = "2026-10-04T16:30:08.77Z" }, + { url = "https://files.pythonhosted.org/packages/22/9d/d08a1128ab199b2f0cf25bfeb0639bd05119fff4b7c47bec24ef9a8ec23f/rpds_py-2026.9.1-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:eac2f5dbafd585dfe31f86a23ebf0d3ba480a9d49ebc87947267b5608d4ea0cd", size = 371623, upload-time = "2026-10-04T16:30:10.501Z" }, + { url = "https://files.pythonhosted.org/packages/53/c7/4758ddcbb75609414bbccfcb11d612436f9b3ee821bd2f33f0f1604ee648/rpds_py-2026.9.1-cp314-cp314-manylinux_2_31_riscv64.whl", hash = "sha256:8aa5dda18d39b6143eb24809d158f9252c88f402749b6f1b62a506cc7d96cc35", size = 376997, upload-time = "2026-10-04T16:30:12.124Z" }, + { url = "https://files.pythonhosted.org/packages/87/e4/947bd7f608ff60faf46dc9d389c3dffd0e3d767d78a0be19978448ef0ce7/rpds_py-2026.9.1-cp314-cp314-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:5c90e7fa02e8f5de0d10c17595c568ada48c5302e749462c0ea1a4c362111a86", size = 400169, upload-time = "2026-10-04T16:30:13.804Z" }, + { url = "https://files.pythonhosted.org/packages/4b/35/fe93e020a0543b5670472c18d7e6af3197c08da571240ce1965c84f85c0f/rpds_py-2026.9.1-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:e6d198bad4e49dd6732fbd636e2fc5c082f45c8cad0b4acb756b00c82c76072e", size = 551615, upload-time = "2026-10-04T16:30:15.332Z" }, + { url = "https://files.pythonhosted.org/packages/0d/4f/5d2a0136bb03b2a56a39dc6ff92d58a6e3e53a2e17079238b86228882f16/rpds_py-2026.9.1-cp314-cp314-musllinux_1_2_i686.whl", hash = "sha256:96beca19ec79de272e8668585380ff9092c47077c1d7a1e098e00bbd921f4785", size = 614655, upload-time = "2026-10-04T16:30:16.92Z" }, + { url = "https://files.pythonhosted.org/packages/09/1c/3f1025aaf70d9bf7272cc41f8b64ee76b48bf01726248138430e16f23b38/rpds_py-2026.9.1-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:a5cf77eb04f20b720be95265a3e00eb2a14814074255cc27069c551b2db53118", size = 579602, upload-time = "2026-10-04T16:30:18.555Z" }, + { url = "https://files.pythonhosted.org/packages/53/0d/5c72e6204f76610608706da32b6b7e11ef7e10317558a7bb15a122e008dc/rpds_py-2026.9.1-cp314-cp314-win32.whl", hash = "sha256:a03d57b86d2a51d0a66c92177e2be154ad015f357791d306e714569999cdb4cc", size = 206315, upload-time = "2026-10-04T16:30:20.05Z" }, + { url = "https://files.pythonhosted.org/packages/a4/0b/489d48abbcc7d70cf3fbf662d9d22abf1f4650761c0a9ae05260800800d3/rpds_py-2026.9.1-cp314-cp314-win_amd64.whl", hash = "sha256:837c6b305e26fe0f75b15c92cf3b2ba29e0ae19dc40b1c557b026cb426347d0c", size = 222852, upload-time = "2026-10-04T16:30:21.604Z" }, + { url = "https://files.pythonhosted.org/packages/91/16/bbb05a7e6a10cf79ba639be7f799d770ee15f64175cc61d081b218dd402a/rpds_py-2026.9.1-cp314-cp314-win_arm64.whl", hash = "sha256:fce4b85234a0cbad67bf8e6e1201ee815d172c9aebad75f25645bc4d834f8e31", size = 218709, upload-time = "2026-10-04T16:30:23.036Z" }, + { url = "https://files.pythonhosted.org/packages/22/ac/ac507a0a4ec478ca470440a09583db4be5259ba7670aeba0620822f1e57a/rpds_py-2026.9.1-cp314-cp314t-macosx_10_12_x86_64.whl", hash = "sha256:3a72c11530d71abfb66c8d7696a2f86c43e63fca8b948f1a784ac490f4ec688e", size = 349596, upload-time = "2026-10-04T16:30:24.558Z" }, + { url = "https://files.pythonhosted.org/packages/e9/f2/817a46b658d5070f477f722c298ee9a24525b0e4017347964146ef5fdd0e/rpds_py-2026.9.1-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:068c37bba854ec2fe42f7365c640af11dd9895890ccbf2df5070d0c059bd7f96", size = 343114, upload-time = "2026-10-04T16:30:26.048Z" }, + { url = "https://files.pythonhosted.org/packages/6c/42/6ade976b13ac1b4cb3bf2eb603f1be2fe74df19a29988d4c2b386be59d6f/rpds_py-2026.9.1-cp314-cp314t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:d7fca4eb6df565e2a928f1c7dad92d27db8f9df0f449e76423ed5d7e713ed445", size = 374197, upload-time = "2026-10-04T16:30:27.699Z" }, + { url = "https://files.pythonhosted.org/packages/d9/70/77cdf1d3f1a07faabe936016ae623aec7981f73108a8fe7a203ed2e21998/rpds_py-2026.9.1-cp314-cp314t-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:c933c6678c6f116ff8af47a4c6db0868b8ace74af0343016c0ef00f00272ea69", size = 378025, upload-time = "2026-10-04T16:30:29.451Z" }, + { url = "https://files.pythonhosted.org/packages/3f/6b/18a44a3beaa9b7931acb04af7bd9539836477c630a794452d4826d6185d4/rpds_py-2026.9.1-cp314-cp314t-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:028ad274ea951dac64491b5d1e65712a4aeabfdbdb9fccf797b57bd899b0c495", size = 491969, upload-time = "2026-10-04T16:30:30.995Z" }, + { url = "https://files.pythonhosted.org/packages/73/27/fb39cfd6bddaf741b024f813890374578ff8ac1f1adc473659c048b03b05/rpds_py-2026.9.1-cp314-cp314t-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:740d0a99cf9de0b17a3943388e9294a59becf75e7c43421f387bd3c7a9901f7c", size = 393905, upload-time = "2026-10-04T16:30:32.628Z" }, + { url = "https://files.pythonhosted.org/packages/ed/71/0fa7bb77b57af0d710273964180d11b503f62b8a5c358eb2d8c3f62feff6/rpds_py-2026.9.1-cp314-cp314t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:0da298fb372dc192610a4b9ecbc68a0cd8b675bbbd1fc519d01b41cfd658333e", size = 374569, upload-time = "2026-10-04T16:30:34.257Z" }, + { url = "https://files.pythonhosted.org/packages/54/22/f41cfac269af3b449513ef1bc3d7f32fde52abbbd2d01c7e76b47743acd9/rpds_py-2026.9.1-cp314-cp314t-manylinux_2_31_riscv64.whl", hash = "sha256:eb61be926bb81567c1f48bdc8aa22b9855048dc2efd53871f9f7e6e9a5632346", size = 377482, upload-time = "2026-10-04T16:30:35.997Z" }, + { url = "https://files.pythonhosted.org/packages/b4/fc/312b49006e7f8f9ca5f96647577b8aa6f3df30519c46bd448f5c425af0b2/rpds_py-2026.9.1-cp314-cp314t-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:42e75466f83cd43f6026c81eab74246efb2bdadafb307b85700632d06c68f299", size = 400040, upload-time = "2026-10-04T16:30:37.76Z" }, + { url = "https://files.pythonhosted.org/packages/cf/a6/18cca7a878dc7fa95165a83343fd4d7b65643fd22e54e47340a451121d5c/rpds_py-2026.9.1-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:617f59cde379b4f648a09797b7f683d04b90a46344cddab85639da5aff0f5531", size = 551849, upload-time = "2026-10-04T16:30:39.443Z" }, + { url = "https://files.pythonhosted.org/packages/e4/6d/1f5685e20f39604691bdc3c05aaa6b8bd2f954e9e996477adf2376768e33/rpds_py-2026.9.1-cp314-cp314t-musllinux_1_2_i686.whl", hash = "sha256:3edae8c5ddfdb6985d49ae9d150516e5076888879022f91a26c2de9276ce0bdb", size = 614842, upload-time = "2026-10-04T16:30:41.231Z" }, + { url = "https://files.pythonhosted.org/packages/c6/25/98652109fd9f7e10268dd4571aa52b81987001b806f37ef1a18260de714a/rpds_py-2026.9.1-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:0f045bb053c9057720d72c56dffe30dffdc05997b2897a827b9325f0ab6623fa", size = 582606, upload-time = "2026-10-04T16:30:43.345Z" }, + { url = "https://files.pythonhosted.org/packages/19/03/11ca09099bab5f53373a80a334c424ec917c13d050760a59499d2af5171e/rpds_py-2026.9.1-cp314-cp314t-win32.whl", hash = "sha256:bf35d0568abda97233239ce32896d3ad53fccc537832c104e30c94aa5fb93569", size = 203341, upload-time = "2026-10-04T16:30:44.954Z" }, + { url = "https://files.pythonhosted.org/packages/6f/8a/88909e3ffd9f47f5b58211473875d8c3c09079f0058c46fb72c55a702a26/rpds_py-2026.9.1-cp314-cp314t-win_amd64.whl", hash = "sha256:1e8d4d79d828299bf44a55db22a9388ab967b49d17132c88eab0f4360b48da8e", size = 222843, upload-time = "2026-10-04T16:30:46.486Z" }, + { url = "https://files.pythonhosted.org/packages/f6/b7/a662f367d4896dd0a10cef2fc91f10b7f08af1c10858e287e019563f338d/rpds_py-2026.9.1-cp315-cp315-macosx_10_12_x86_64.whl", hash = "sha256:1d77b649e6f7cdf12ca5c2a98dad0ad37f9ea9b6f960408a92f0cb12bb3d04d9", size = 347463, upload-time = "2026-10-04T16:30:48.203Z" }, + { url = "https://files.pythonhosted.org/packages/ae/3f/ad45d03df4f84ebae5439577ee81f3999d182711e82235c8037b6528890e/rpds_py-2026.9.1-cp315-cp315-macosx_11_0_arm64.whl", hash = "sha256:00ba2d8c7dd4ee537978ddf4b3fbd712bef2d8751603f7f3146b3f4287768e25", size = 342051, upload-time = "2026-10-04T16:30:49.872Z" }, + { url = "https://files.pythonhosted.org/packages/7e/31/3dcd68c13d4bcc59c1f7eb33ac8e80698f06f3eb0d8a1e06419836071c20/rpds_py-2026.9.1-cp315-cp315-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ec450527cbf485e13c8d3602a54f428ab0432fdade0ede75efd74b735421c871", size = 374143, upload-time = "2026-10-04T16:30:51.508Z" }, + { url = "https://files.pythonhosted.org/packages/cf/0d/68c1f058a250fbd1380ebda9fc227cbf50117adf8ffe8161ef383ea79f68/rpds_py-2026.9.1-cp315-cp315-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:306ee1850d8105b5baf977e78d45fcadd12c1a54678d614c9baf217708446e91", size = 378604, upload-time = "2026-10-04T16:30:53.206Z" }, + { url = "https://files.pythonhosted.org/packages/d7/d6/2d4c59b85397cb4800594fadf692688ccf5ce556adc930e7a5bf21061a5e/rpds_py-2026.9.1-cp315-cp315-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:ef6b65b03247c54692ad4fd9ee97cb772781927db72e3cb05e70b3db6d1ff14f", size = 490790, upload-time = "2026-10-04T16:30:54.925Z" }, + { url = "https://files.pythonhosted.org/packages/da/04/7e05dc3aebaf52f4e026766bd668fdd09a9d0e23f64a14686b36b3501892/rpds_py-2026.9.1-cp315-cp315-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:a575404ebc9cf2e91edd32eaf570ec1430eb900d4f56724ba7dd4bc1fc9c176d", size = 393146, upload-time = "2026-10-04T16:30:56.625Z" }, + { url = "https://files.pythonhosted.org/packages/57/ca/e2e9a0a46a74ed51a0498ba1fe10f4ea6b2d9a155f372a2f91e51f18cf10/rpds_py-2026.9.1-cp315-cp315-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:2c16ab111bc27c646ba8aa005d0527754edc538ebb636f0b1bf8e244b48d1945", size = 372022, upload-time = "2026-10-04T16:30:58.295Z" }, + { url = "https://files.pythonhosted.org/packages/ba/cb/8f8774df5134e23424372838bcc5c7ed4127d723e1ff52f7bebd4dcb2563/rpds_py-2026.9.1-cp315-cp315-manylinux_2_31_riscv64.whl", hash = "sha256:7664419f27db41d4f1c43a78dccda7dd6e8ef2428df3ee01d0c2a07a6b071297", size = 377092, upload-time = "2026-10-04T16:30:59.984Z" }, + { url = "https://files.pythonhosted.org/packages/90/02/8d7095d73bf9114219be40230baa5df00611e0a82ed9517779ff9c19f82b/rpds_py-2026.9.1-cp315-cp315-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:4b26b03d9d2658ee2fa234f8f4f19f38a09773fe5261028025032e26d4d35af0", size = 400830, upload-time = "2026-10-04T16:31:01.721Z" }, + { url = "https://files.pythonhosted.org/packages/ec/02/8206856f8f363cd042a8315dc86b3912f5dcb6d3c66bbb24b69c2bfb0775/rpds_py-2026.9.1-cp315-cp315-musllinux_1_2_aarch64.whl", hash = "sha256:be3e47e2d91aa3942ff9bf4077a505226005abfc39b6f7554a91c1b9393986b9", size = 551478, upload-time = "2026-10-04T16:31:03.472Z" }, + { url = "https://files.pythonhosted.org/packages/41/6b/36211f1bb1f0b0313f496d92f5905b74ea107f27cb16fa3355a82f04575e/rpds_py-2026.9.1-cp315-cp315-musllinux_1_2_i686.whl", hash = "sha256:6307a0da524939decb8ca4a3933b8ab62525794411d6984fca6726e732804af6", size = 615173, upload-time = "2026-10-04T16:31:05.281Z" }, + { url = "https://files.pythonhosted.org/packages/35/77/cda0c4a6f055446b692f0ed5692f73707cafd3dff82672ede31b1a9b59de/rpds_py-2026.9.1-cp315-cp315-musllinux_1_2_x86_64.whl", hash = "sha256:159a7aab5c5e8b112c8830f54717ce56da1252ebdbb526f5be2df2309280b9e7", size = 579653, upload-time = "2026-10-04T16:31:07.065Z" }, + { url = "https://files.pythonhosted.org/packages/74/ec/d8385f446240aed643b9e92a5055cff3015cc04a13c61f73b2883c478ed5/rpds_py-2026.9.1-cp315-cp315-win32.whl", hash = "sha256:dbc2673f9223d420c91145599b3ba45a8a50c207d1976908e5fb5ddb0c9b9429", size = 206498, upload-time = "2026-10-04T16:31:08.989Z" }, + { url = "https://files.pythonhosted.org/packages/6d/a5/71b5cd00e0521e3b6b81828baea368c62b6b700ebdd9554cd7d41ddf12fa/rpds_py-2026.9.1-cp315-cp315-win_amd64.whl", hash = "sha256:75c38c50ab9aca840225d9a9a3810bf11d04bd5c1f186cabbb8aee56db3e9b15", size = 223121, upload-time = "2026-10-04T16:31:10.84Z" }, + { url = "https://files.pythonhosted.org/packages/33/58/dba857c3bc8221b31b62eb170a3080f4f191de79f047200389b7ed1b06a7/rpds_py-2026.9.1-cp315-cp315-win_arm64.whl", hash = "sha256:a431156bb41865fc14cd5d79bb9d7bbed83110b0159e34e62ae30951f96c0009", size = 218741, upload-time = "2026-10-04T16:31:12.592Z" }, + { url = "https://files.pythonhosted.org/packages/5b/d0/320ab28ccc1415eeb509d68682b0014fb74690cd49f1c2d29a232475af50/rpds_py-2026.9.1-cp315-cp315t-macosx_10_12_x86_64.whl", hash = "sha256:ef0d8c843e2827d6c120ab4687e9423fb1d893db1df27b7c1506615bcb9734a0", size = 349719, upload-time = "2026-10-04T16:31:14.48Z" }, + { url = "https://files.pythonhosted.org/packages/56/88/f5b12f1358f443c08b7ce3cc8391d82d335f4872580e2e097847fd36087a/rpds_py-2026.9.1-cp315-cp315t-macosx_11_0_arm64.whl", hash = "sha256:45bc6bccf78b20fd834237d18db64965d7ee68ba7f60440a26c7ab71e7b8d51a", size = 343267, upload-time = "2026-10-04T16:31:16.827Z" }, + { url = "https://files.pythonhosted.org/packages/f7/0c/c765b0059d532acb3b9c45d781ccc22f15a96dbe443d00903f643ba9df10/rpds_py-2026.9.1-cp315-cp315t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:1d55198263bb51f557550c6ed2e6d1cb6a6fed6eb5c9120b741c5926bef8a45d", size = 374555, upload-time = "2026-10-04T16:31:18.931Z" }, + { url = "https://files.pythonhosted.org/packages/6b/8a/cafddfda77564a10cd21184640c3bffda6a2b8d20972fb5dedd5e0166328/rpds_py-2026.9.1-cp315-cp315t-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:a8763f20692da7df39b0afdd1ba3042b004c50a45994f76c2d9a25641f7673db", size = 378346, upload-time = "2026-10-04T16:31:20.75Z" }, + { url = "https://files.pythonhosted.org/packages/b9/01/5e626016eff72c183bf6c96539240cace15d402468647a453ec08415b2fc/rpds_py-2026.9.1-cp315-cp315t-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:e43d4a1f673e8a1cbd8533e809e02b4bf9d4f2280269bb640436556312121250", size = 492373, upload-time = "2026-10-04T16:31:22.614Z" }, + { url = "https://files.pythonhosted.org/packages/3b/9c/15a2469e9389242f46896b3f0a01d68caea8a5a35c011fcb05ef333aae73/rpds_py-2026.9.1-cp315-cp315t-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:ea394a937f17a54c51239348bdbe2e3518124c8d4a8951ba04a311d3095bd18f", size = 394371, upload-time = "2026-10-04T16:31:24.768Z" }, + { url = "https://files.pythonhosted.org/packages/63/f5/c100ff77e1e6366e947c75969c258fdfc4b7bc5bbfe7351e62ffbf2a1228/rpds_py-2026.9.1-cp315-cp315t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:cdeaa99ce822dca76cfb1b993e9120c5ea212f2eb66d48950ad63c349668a018", size = 375132, upload-time = "2026-10-04T16:31:26.588Z" }, + { url = "https://files.pythonhosted.org/packages/dd/f4/fe0269c9de253e99c81cabc12b8971a5feaa083debdaff1221e06264d9e3/rpds_py-2026.9.1-cp315-cp315t-manylinux_2_31_riscv64.whl", hash = "sha256:b4f062343e7ad3fa94f2c66e5ae667dee47ee74dd41a9057c4fbe163236a123d", size = 377642, upload-time = "2026-10-04T16:31:28.677Z" }, + { url = "https://files.pythonhosted.org/packages/05/65/b34a7b257baccff8f4a24a722933166d4941d5ebdc9c3f4bc4ffcd5ce4f4/rpds_py-2026.9.1-cp315-cp315t-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:22ffd29a63d71fb1b81552c21f2c2b734949b7ac751a9be70675a939a900839b", size = 400855, upload-time = "2026-10-04T16:31:30.802Z" }, + { url = "https://files.pythonhosted.org/packages/98/32/844e54176b6071b90b38a564e6940bc6eb8f97b2890dc709c19db9dec0f4/rpds_py-2026.9.1-cp315-cp315t-musllinux_1_2_aarch64.whl", hash = "sha256:08dae4a4095150a7c4545a1fb40b98e1ab1744fbc2770d92c977b9dadaa49ab6", size = 552573, upload-time = "2026-10-04T16:31:32.709Z" }, + { url = "https://files.pythonhosted.org/packages/17/73/6041d20729dffbfdf155c02d65be58bc225a1c1fb548fd87c23ef306138f/rpds_py-2026.9.1-cp315-cp315t-musllinux_1_2_i686.whl", hash = "sha256:9a0460d43603d1fd9ef59c30278531e15d78581721ddb538fa560aa7817ea4ad", size = 615840, upload-time = "2026-10-04T16:31:34.565Z" }, + { url = "https://files.pythonhosted.org/packages/af/9e/418094adaee6b056ce199051b255448ed872829051e341b2294c80da0977/rpds_py-2026.9.1-cp315-cp315t-musllinux_1_2_x86_64.whl", hash = "sha256:1c2d1f6da5128eabf34e963d7163a818846075a52568250d006c4c953b40f903", size = 582764, upload-time = "2026-10-04T16:31:36.665Z" }, + { url = "https://files.pythonhosted.org/packages/3d/9b/1698ebf6b840ddfe8b472198abbed6ace35c6e398faeecd6c47dae742a4e/rpds_py-2026.9.1-cp315-cp315t-win32.whl", hash = "sha256:5c6ee90dee3e85e055ddfd502d611643d9b0fd94c818220bda84ec3dacd9b27b", size = 203795, upload-time = "2026-10-04T16:31:38.53Z" }, + { url = "https://files.pythonhosted.org/packages/8a/e2/91f70d804c61f8eac39a417e82aa1024f655ab9e8bdd7393b196242bc41b/rpds_py-2026.9.1-cp315-cp315t-win_amd64.whl", hash = "sha256:fe5ad0664ec772b02c45859041aa17655709cced7a31005817fbbbd988c25567", size = 223037, upload-time = "2026-10-04T16:31:40.468Z" }, + { url = "https://files.pythonhosted.org/packages/f3/ad/f0eba548e297987964ef8088403db875b333963bf8189f3f563b6936b20e/rpds_py-2026.9.1-pp311-pypy311_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:4c0d2cb595a420b34d5086db0add011e26e2c09d6a024afbac4228bf8f863a30", size = 384112, upload-time = "2026-10-04T16:31:42.643Z" }, + { url = "https://files.pythonhosted.org/packages/33/89/891fa4d81f1eae7fe262ecd0aba2c51de94a116c7f3ccfb034fa75f4c537/rpds_py-2026.9.1-pp311-pypy311_pp73-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:f3d6ed6a98cfd19155996605474982cc470d7601746a6439078f1a5a3fa8b050", size = 389662, upload-time = "2026-10-04T16:31:44.642Z" }, + { url = "https://files.pythonhosted.org/packages/4f/46/912cf623b2263f9c9c2d04e8508fc38dbe89983faeba5fb36ca4558ae550/rpds_py-2026.9.1-pp311-pypy311_pp73-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:8171b44a054e5c67fd748ada04187f1250bf35b95f85e52ab64bcf3331a923bb", size = 504637, upload-time = "2026-10-04T16:31:46.667Z" }, + { url = "https://files.pythonhosted.org/packages/9b/5c/7f3cfa7c5f01765c9f47c8398210ed0c1eb686c0e99c223cb1c6776d3fb9/rpds_py-2026.9.1-pp311-pypy311_pp73-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:fda1d96e542c37b6c804547dbf489c129fe7c97183a76a5ec275909ba1a063df", size = 402607, upload-time = "2026-10-04T16:31:49.068Z" }, + { url = "https://files.pythonhosted.org/packages/f0/76/2e915d4115ee453c33e6af17bc1df7e22ddc52974e178eeeb92a78c09983/rpds_py-2026.9.1-pp311-pypy311_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:270bdcdaac5d5b6f73c5e22e7e135c7f2a50e789f71d9e241d5be8d90026e19a", size = 382762, upload-time = "2026-10-04T16:31:51.24Z" }, + { url = "https://files.pythonhosted.org/packages/0d/e5/844382925d7b84a4074ad79fc2b9d05eb6231ea243b34f247e68e519b606/rpds_py-2026.9.1-pp311-pypy311_pp73-manylinux_2_31_riscv64.whl", hash = "sha256:84a6ecc0c940169190d2c23bd969debd48c94dbc855acd60188a68d71d421608", size = 389563, upload-time = "2026-10-04T16:31:53.549Z" }, + { url = "https://files.pythonhosted.org/packages/81/82/d6e3951602dc2e24790ef9d299aa24bf5e2493df5043f2c6da00480cc447/rpds_py-2026.9.1-pp311-pypy311_pp73-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:ab4b2fda7c2b542f7f9d886cc6a838c5079d2b76f72e6081411faba11adde2c9", size = 416842, upload-time = "2026-10-04T16:31:55.76Z" }, + { url = "https://files.pythonhosted.org/packages/ea/1c/8d248e4ea671d525ab7daa0703ad81cc2175076fa0ccd7ef088facbd2b01/rpds_py-2026.9.1-pp311-pypy311_pp73-musllinux_1_2_aarch64.whl", hash = "sha256:44b32a7c4f0da3d28af31c259e38ddcff096f855e205ed0671d02fcf44f1ea1c", size = 562434, upload-time = "2026-10-04T16:31:57.874Z" }, + { url = "https://files.pythonhosted.org/packages/ad/38/e7ac0db898120d15dea25e3661b1242a40cb3b23d1f4db86c15a01fe0ba1/rpds_py-2026.9.1-pp311-pypy311_pp73-musllinux_1_2_i686.whl", hash = "sha256:a3dbc5ed9514908d5046107d7b1346bde71eea61de6e0e4919c19354f97e769f", size = 627909, upload-time = "2026-10-04T16:31:59.977Z" }, + { url = "https://files.pythonhosted.org/packages/03/c8/37e555514932cb1ee36c75349187aa882a98dee5d5654c761699ed8a0d27/rpds_py-2026.9.1-pp311-pypy311_pp73-musllinux_1_2_x86_64.whl", hash = "sha256:6eae33003518fd4cb4f83a218d5371469dd3001aa3b87128c005b07762f7fe5e", size = 593658, upload-time = "2026-10-04T16:32:02.14Z" }, + { url = "https://files.pythonhosted.org/packages/12/5c/5f69a91add94a8a33acea68a2b034a464946a654ff7296af9d957ef0d6a5/rpds_py-2026.9.1-pp311-pypy311_pp80-macosx_10_12_x86_64.whl", hash = "sha256:0483515261947e4e8b8e1375bf7463e7eb6ccfb3d86e7b554d90cd5285f20f32", size = 351769, upload-time = "2026-10-04T16:32:04.675Z" }, + { url = "https://files.pythonhosted.org/packages/41/22/35ea8bf3b2682b90ab687c74e4828418ff12298a5b0b0a0c033f61c86a30/rpds_py-2026.9.1-pp311-pypy311_pp80-macosx_11_0_arm64.whl", hash = "sha256:4cfaf02209061880210819934de2f4f6aa83dc04dafe6770276acc240a56da31", size = 351719, upload-time = "2026-10-04T16:32:06.834Z" }, + { url = "https://files.pythonhosted.org/packages/a3/90/a9ba81408369d34c1aca73319c15adc91ed45c1d21e9e8ee4832ffb7fe0b/rpds_py-2026.9.1-pp312-pypy312_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:6cdc537c8633d7fd92a82e2e0d2ab74320a3f63d5e59fb9cf08711e08fe151c4", size = 381109, upload-time = "2026-10-04T16:32:08.994Z" }, + { url = "https://files.pythonhosted.org/packages/b3/44/5192a0bed94cec86bd2a5e1cc5a1bb8f7eec3aec907eacd2deb13e87e326/rpds_py-2026.9.1-pp312-pypy312_pp73-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:10e208f2425d973938afcd56e28a7c4be32e27b6a60b5d381f49fb9d8acf9759", size = 388222, upload-time = "2026-10-04T16:32:11.321Z" }, + { url = "https://files.pythonhosted.org/packages/92/cd/5356549711448f18b52f7a11ffbe90f1228774996fbf3c6cd1b18d22abaf/rpds_py-2026.9.1-pp312-pypy312_pp73-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:6c0dbbcc19735fe5f8b0a54c07659d154a9e69f47e15d0a6ab7299215daf62cb", size = 500384, upload-time = "2026-10-04T16:32:13.478Z" }, + { url = "https://files.pythonhosted.org/packages/7a/88/ddda9d28adfe33119c75b2e733d4ba7e326f41d7e1b1093951771768ca48/rpds_py-2026.9.1-pp312-pypy312_pp73-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:684fd492fff4fead00587544e059be2bbcb6f93454f21fa2a91b66fc7508be82", size = 401661, upload-time = "2026-10-04T16:32:15.653Z" }, + { url = "https://files.pythonhosted.org/packages/32/c3/bb59ba16a6b4a57995d15b8c04c00f28df3b938c4dcdde48fbe0f73edb0c/rpds_py-2026.9.1-pp312-pypy312_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:d1028417bb44037eb3069c1009bd7b7277212876cda22fbe565b0bca9fab6d2c", size = 380748, upload-time = "2026-10-04T16:32:17.727Z" }, + { url = "https://files.pythonhosted.org/packages/f5/b8/0580faa1c5a32ddc160130dd7ae54d2d007272a89a40a6b5db3e50f9f585/rpds_py-2026.9.1-pp312-pypy312_pp73-manylinux_2_31_riscv64.whl", hash = "sha256:492e5e428cbe126221611f47e068f01660352feec4ad18bc0f5ea9b2ae88fb14", size = 385731, upload-time = "2026-10-04T16:32:19.855Z" }, + { url = "https://files.pythonhosted.org/packages/bf/70/f73564642bbe3322c7eeef2c2f258cf040b71c41a430b532e59d04a1b838/rpds_py-2026.9.1-pp312-pypy312_pp73-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:88b5268892fde430d5531f95bc560b6efbbd67c929662c586afd729a96e7461c", size = 412131, upload-time = "2026-10-04T16:32:22.285Z" }, + { url = "https://files.pythonhosted.org/packages/8c/5d/17fff2e1f8f68721a2afb5cb48f7e442c751bb6b4883157c5abaf618cd08/rpds_py-2026.9.1-pp312-pypy312_pp73-musllinux_1_2_aarch64.whl", hash = "sha256:01445c8d194aa032a08e944f16567672da1c62dbdbefd8b6d0693032e290cf68", size = 558193, upload-time = "2026-10-04T16:32:24.4Z" }, + { url = "https://files.pythonhosted.org/packages/2a/d0/869ab6fb08531f97aae4a780b4d61b4190d8aef48fe054ee28bcf7114466/rpds_py-2026.9.1-pp312-pypy312_pp73-musllinux_1_2_i686.whl", hash = "sha256:eef6a03b0b6d08d0835ccfa8ec8d1bc70525e3801387567137b50c557695e6da", size = 622448, upload-time = "2026-10-04T16:32:26.844Z" }, + { url = "https://files.pythonhosted.org/packages/ba/a5/9672e532fe02cd3b92c78cfd8743abca939d96853006c63835009a1ecb6f/rpds_py-2026.9.1-pp312-pypy312_pp73-musllinux_1_2_x86_64.whl", hash = "sha256:6b9bf3135b4ad5981df9a73d71a35272d650a2985ae9c2746357b24d59de2448", size = 591126, upload-time = "2026-10-04T16:32:29.274Z" }, + { url = "https://files.pythonhosted.org/packages/80/ef/3a9f8e4279c7920af561deed4cb7ebebed2794a8f608cf404d5eef14a105/rpds_py-2026.9.1-pp312-pypy312_pp80-macosx_10_12_x86_64.whl", hash = "sha256:56c6952a9b15047466d0c2347c446a761d4527f89976156341e68f0ce5cc08b0", size = 357108, upload-time = "2026-10-04T16:32:31.641Z" }, + { url = "https://files.pythonhosted.org/packages/b7/55/4b2fa381a583760aea5c92841e4e928a358e1c6511b129219e9c2826a226/rpds_py-2026.9.1-pp312-pypy312_pp80-macosx_11_0_arm64.whl", hash = "sha256:b242c27c8f836305a4a72df9cdd564386ac57b807bd252a063223331c9316b37", size = 346877, upload-time = "2026-10-04T16:32:34.061Z" }, +] + +[[package]] +name = "ruff" +version = "0.16.10" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/c4/49/23802c45f093eb14bde54b141d2b2f058edfa63a06db7beed047308cc08f/ruff-0.16.10.tar.gz", hash = "sha256:eff4728c4eaae93f0955cd264d24b2ab348e74bf59986ccf282ba6dc16b3b017", size = 4958724, upload-time = "2026-10-01T18:03:21.697Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/2f/21/ebce22e1d90cdb2cd691026b9c6e9bec6499f0b396089481755b5d49efff/ruff-0.16.10-py3-none-linux_armv6l.whl", hash = "sha256:488b0fe3f3574210e5cf80d9f59b9e3ab17a127a8155de3f307b392589cfb511", size = 10095557, upload-time = "2026-10-01T18:02:36.072Z" }, + { url = "https://files.pythonhosted.org/packages/cb/98/a54de85876a8b2612bfa0d84c7b9abfb39c6a3354aee7800b09c1649b9e3/ruff-0.16.10-py3-none-macosx_10_12_x86_64.whl", hash = "sha256:e748ff95c934c4e978783b8e687bc174e7bd84e8ad24e3243e1ecfcda5e0282d", size = 10340577, upload-time = "2026-10-01T18:02:39.258Z" }, + { url = "https://files.pythonhosted.org/packages/9f/16/1a5a4a2657effe4806110f2b907313802f1367fcdbb29e8122766e407fab/ruff-0.16.10-py3-none-macosx_11_0_arm64.whl", hash = "sha256:3031a4a2e8e7b8a46f70be45f198c35a11ece509a94b80334d8d397a33c67550", size = 9774282, upload-time = "2026-10-01T18:02:41.79Z" }, + { url = "https://files.pythonhosted.org/packages/6e/fb/470085af734da396e68cd80fb0a3e7c109a459716ae59588c0f6fab8a17d/ruff-0.16.10-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:494401c86df4c4c25f69b9419605d944467ee98c42fb6ad405ef4fa40b8fb67d", size = 9920895, upload-time = "2026-10-01T18:02:44.458Z" }, + { url = "https://files.pythonhosted.org/packages/57/de/f10cffe4f88a37ea6615ec460f01bf76f0bc1477737a35d9ee61a630a78b/ruff-0.16.10-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:d203abc0ff2b773ee33d00ab8df0bb67046fbc7c07b119332f08b9b345cf8221", size = 9902707, upload-time = "2026-10-01T18:02:47.041Z" }, + { url = "https://files.pythonhosted.org/packages/ff/44/3fdcedf83ae60ef837dd239170e480dce606a9142cfa2db911afdf855fd9/ruff-0.16.10-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:bd83d1235a5258d318477bc5b576303974cbdef5df0c01a1bff14efcc23bd12a", size = 10619287, upload-time = "2026-10-01T18:02:49.485Z" }, + { url = "https://files.pythonhosted.org/packages/c1/62/02e76a5574002153618eafbb70e159468addc72a5d2c488e65cbb4639d2d/ruff-0.16.10-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:bc2610fb269fa56dd8a68669ae470fa6272902668c0fc2ebc3aa112b2633d5b8", size = 11339942, upload-time = "2026-10-01T18:02:52.008Z" }, + { url = "https://files.pythonhosted.org/packages/6b/c4/cde27d47ad8d4126c587e608c67c46e7feac11763f606d261a1bc8a489e6/ruff-0.16.10-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:3e70175e29cc94c26ea296c80e470180b744b7419026898e58f520c6ab32578e", size = 10934316, upload-time = "2026-10-01T18:02:54.811Z" }, + { url = "https://files.pythonhosted.org/packages/e4/03/17234145f302a645a123e8c3bb2411ecf4669fbc350de3b0d803230a1729/ruff-0.16.10-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:f33f43a864a8483eebd160e713336c8bab02c934feaff0a33cf5ccb41546d09a", size = 10387968, upload-time = "2026-10-01T18:02:57.497Z" }, + { url = "https://files.pythonhosted.org/packages/71/29/2493af60240ee7644b38a4b821f5f9c3b5a4fa3178770fe1d0c685217395/ruff-0.16.10-py3-none-manylinux_2_31_riscv64.whl", hash = "sha256:1dfc6f0088149fb6a362c1c446bcbb3fd2157b3852fe2fa68409276eab9ad9b3", size = 10537906, upload-time = "2026-10-01T18:03:00.006Z" }, + { url = "https://files.pythonhosted.org/packages/2e/9a/f56b28f3b143bb9e518c34fb89ab191b626bca8b70dbf8af0d2e2d473572/ruff-0.16.10-py3-none-musllinux_1_2_aarch64.whl", hash = "sha256:6553498afc35f580f036030795810b9e6bcea31604b0fd9e8d352795473042e3", size = 10012938, upload-time = "2026-10-01T18:03:03.006Z" }, + { url = "https://files.pythonhosted.org/packages/c2/c4/fca37362848ea4d4d80712df13632e645e7c7cfb1bdedf140699ac7a090b/ruff-0.16.10-py3-none-musllinux_1_2_armv7l.whl", hash = "sha256:a3b8471dea115d37f123882be852bed13403746d3a76c11de4a19ec5f9ff5a03", size = 9897945, upload-time = "2026-10-01T18:03:05.818Z" }, + { url = "https://files.pythonhosted.org/packages/7d/c7/e0bc57664d6e0c61fd22f620af260fe9662d7e1ddb320ea7f160e76ef165/ruff-0.16.10-py3-none-musllinux_1_2_i686.whl", hash = "sha256:92e59a70bcbd9d3a5483656da906ec28edfdacfce00afd99edb8b4e9d15644be", size = 10333134, upload-time = "2026-10-01T18:03:08.25Z" }, + { url = "https://files.pythonhosted.org/packages/21/aa/5c9f3b68737c0e4a33a1db5dfab44f7b786d96ca91a7233112ddab1e6dc2/ruff-0.16.10-py3-none-musllinux_1_2_x86_64.whl", hash = "sha256:7ae7375f803b5520dc9f546bed7e3a0acb70b91812e9bb4b19927de22f25b77d", size = 10741702, upload-time = "2026-10-01T18:03:10.775Z" }, + { url = "https://files.pythonhosted.org/packages/78/fa/0f9c2020dc316c53d983be011720b8157cc052b97e3f4dfa7db6d0f880a6/ruff-0.16.10-py3-none-win32.whl", hash = "sha256:2a12e01cb9156c10c466f63b46eaae5ecea28dfbd21b5836353ae498e7d1349a", size = 10139176, upload-time = "2026-10-01T18:03:13.267Z" }, + { url = "https://files.pythonhosted.org/packages/99/29/cfb0df9448d4d4ad48c2de029ada9ebd71baa6da983a6c77ee6c6cd0fe82/ruff-0.16.10-py3-none-win_amd64.whl", hash = "sha256:97f2015c92aa97105b0eab19eb5d224884399281cfc5da86a92db4ab5e7fb2ca", size = 10584734, upload-time = "2026-10-01T18:03:16.006Z" }, + { url = "https://files.pythonhosted.org/packages/fc/05/c16957eb287c3fc062e032619a25868d93d408a844b725bcf514f7a378ff/ruff-0.16.10-py3-none-win_arm64.whl", hash = "sha256:25a65fe998c4e6861ec079ada5826a2fc605e6cbccbe9dcd7fac1f54e791621b", size = 10366440, upload-time = "2026-10-01T18:03:19.04Z" }, +] + +[[package]] +name = "scikit-sundae" +version = "1.1.3" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "numpy", version = "2.3.5", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.12' or python_full_version >= '3.15'" }, + { name = "numpy", version = "2.5.3", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.12' and python_full_version < '3.15'" }, + { name = "scipy", version = "1.16.3", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.12' or python_full_version >= '3.15'" }, + { name = "scipy", version = "1.18.1", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.12' and python_full_version < '3.15'" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/a2/2f/669f410f7a151874af1d6ff91e3d129bf80f989e92da3fb8c77f8496f718/scikit_sundae-1.1.3.tar.gz", hash = "sha256:e3d06de0da6715d51310b2cea3835c495e6613d8c19ccbbf1f278aabe7e8f3d6", size = 58460, upload-time = "2026-03-24T16:53:01.608Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/a5/19/a92959704f5a17d53cb2733b10b152f7f984464c7f238c9a8e8268de998c/scikit_sundae-1.1.3-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:1d9f5d3453b46441d9ba3e4b489886d6d93a07d94e87179d22f5f72de19b509d", size = 8647438, upload-time = "2026-03-24T16:52:18.414Z" }, + { url = "https://files.pythonhosted.org/packages/c1/0a/4aae2d59a284081bbbd4260790c2f53d8afa46355046c2e6f6c87536bc53/scikit_sundae-1.1.3-cp311-cp311-macosx_11_0_x86_64.whl", hash = "sha256:27d560372f9fe8e9ccefc2b435ae06e398f8991779d6035f72bd74f742b0003e", size = 15360298, upload-time = "2026-03-24T16:52:21.191Z" }, + { url = "https://files.pythonhosted.org/packages/83/ed/65215555674cc7b0a0f8c4ba4695f3399af2ec22e9933bf848f8c8d49c8e/scikit_sundae-1.1.3-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:dd7644f2a7ac0b23f717de358ee5af1df936ec3a9cd7a89e76cd56efe79b730e", size = 20393107, upload-time = "2026-03-24T16:52:24.612Z" }, + { url = "https://files.pythonhosted.org/packages/79/3d/f98772b54c196b4b24b7bbd74f9a6beb6970e70acdeb10570c033ed64794/scikit_sundae-1.1.3-cp311-cp311-win_amd64.whl", hash = "sha256:81749f31abe7fc4119f2dec2a3d19c5edda698622c4e610ab07ac13d374f9b21", size = 8332634, upload-time = "2026-03-24T16:52:27.492Z" }, + { url = "https://files.pythonhosted.org/packages/e5/5a/36404ebd7d6dee732c7c221607bf47c7a1a07243b1f086fb401101ac5e9f/scikit_sundae-1.1.3-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:5867435d8be40b1c24442106b4823bb024905f409c149b439c52e9b657db2177", size = 8644816, upload-time = "2026-03-24T16:52:29.542Z" }, + { url = "https://files.pythonhosted.org/packages/a4/a2/aa1aafe8e42321bd92b8ada758cb52ceb5d56d51d7943dd1c2860d0fe268/scikit_sundae-1.1.3-cp312-cp312-macosx_11_0_x86_64.whl", hash = "sha256:719de2b52268a984f8b88831fe9a47071c669d2b64e1665c4e7ecc0bc1922834", size = 15348185, upload-time = "2026-03-24T16:52:32.675Z" }, + { url = "https://files.pythonhosted.org/packages/8e/98/37c54707421b4dc933c6a4fe8410adaa5f642df1415ae9cee6390d6e9226/scikit_sundae-1.1.3-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:462d0b3004da4c5d7ef016de18219bfd9afd2d7ee0977a50b95087b9c0b404dc", size = 20413968, upload-time = "2026-03-24T16:52:36.181Z" }, + { url = "https://files.pythonhosted.org/packages/de/2f/6d36fa7f3d7e8c9b22885fcfe0fe22de468b2e1443d26d9c886b3bf963dc/scikit_sundae-1.1.3-cp312-cp312-win_amd64.whl", hash = "sha256:0414c7d47ff664347406071c1a29cc3ab6575a688d2540e8ca45118b1be329c5", size = 8311248, upload-time = "2026-03-24T16:52:38.814Z" }, + { url = "https://files.pythonhosted.org/packages/b6/92/1b82abb0eb8c6250cfda905463a6673e6a5fffd38051109b406a4b6c1b63/scikit_sundae-1.1.3-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:b6fa436b394fd59ee5dfc02a25ec695943768a1d35af55c424132121d4f0bc15", size = 8642693, upload-time = "2026-03-24T16:52:40.918Z" }, + { url = "https://files.pythonhosted.org/packages/eb/22/8d9ee43481d70d49a2d05945ba17a60a1bbef05caeeb2af62f20615ebf48/scikit_sundae-1.1.3-cp313-cp313-macosx_11_0_x86_64.whl", hash = "sha256:4d6d818326d4bff617c21c5c95f18a40fd87b6adff92bc5b19fe05af7de67255", size = 15345773, upload-time = "2026-03-24T16:52:43.725Z" }, + { url = "https://files.pythonhosted.org/packages/bf/35/39ed62e4a7ee41d2a636ecdae837f3011ed977b16931649249df5ed4a333/scikit_sundae-1.1.3-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:ccce108a19cbbabf180ce4320625b805970d6ed2a115d453cdb2c9e29a961e53", size = 20378577, upload-time = "2026-03-24T16:52:46.833Z" }, + { url = "https://files.pythonhosted.org/packages/1a/70/4f02ce2414fc02838d80b6633325995cfa574b1042f6030a0c3bd0881ce9/scikit_sundae-1.1.3-cp313-cp313-win_amd64.whl", hash = "sha256:440ebf7a3aa1ac1253321dab6a14a29e39b773bd553738cf3789f17a7332012d", size = 8310898, upload-time = "2026-03-24T16:52:49.329Z" }, + { url = "https://files.pythonhosted.org/packages/d7/4b/54493af986ddfdb5c6fcdec49935f2dfcbe5bafd791a410dcc48da4e952f/scikit_sundae-1.1.3-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:502acb40d777f2b50758c754da93d8aa74663bffda63746285ef5dd7cb8e2046", size = 8645270, upload-time = "2026-03-24T16:52:51.323Z" }, + { url = "https://files.pythonhosted.org/packages/07/78/4eaa9e9f37bc939df98ae096201a173329705135d55815b6861d62f4f9d2/scikit_sundae-1.1.3-cp314-cp314-macosx_11_0_x86_64.whl", hash = "sha256:56ee83ec591e65424d19e4327f8d31bb667753a94b06ef92c56c956829586624", size = 15345941, upload-time = "2026-03-24T16:52:53.795Z" }, + { url = "https://files.pythonhosted.org/packages/74/5a/53fc641fa15062136032ffc54f55a9ba6c0a089dabf8bd0b2edce70809c8/scikit_sundae-1.1.3-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:bfc172566739c920b6e6916a0695b05dfe4c44d90d815ea40ef6d0581cde3353", size = 20343192, upload-time = "2026-03-24T16:52:57.124Z" }, + { url = "https://files.pythonhosted.org/packages/f3/eb/1b24c70ea32ff049c359c71d1f8a355730ca7831ff9e2b87595b6b616094/scikit_sundae-1.1.3-cp314-cp314-win_amd64.whl", hash = "sha256:593da130d42b2ba1bee3c6fa3e37e1a4155a504ec5c99a5474ff58b94da656ba", size = 8431243, upload-time = "2026-03-24T16:52:59.73Z" }, +] + +[[package]] +name = "scipy" +version = "1.16.3" +source = { registry = "https://pypi.org/simple" } +resolution-markers = [ + "python_full_version < '3.12'", +] +dependencies = [ + { name = "numpy", version = "2.3.5", source = { registry = "https://pypi.org/simple" } }, +] +sdist = { url = "https://files.pythonhosted.org/packages/0a/ca/d8ace4f98322d01abcd52d381134344bf7b431eba7ed8b42bdea5a3c2ac9/scipy-1.16.3.tar.gz", hash = "sha256:01e87659402762f43bd2fee13370553a17ada367d42e7487800bf2916535aecb", size = 30597883, upload-time = "2025-10-28T17:38:54.068Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/9b/5f/6f37d7439de1455ce9c5a556b8d1db0979f03a796c030bafdf08d35b7bf9/scipy-1.16.3-cp311-cp311-macosx_10_14_x86_64.whl", hash = "sha256:40be6cf99e68b6c4321e9f8782e7d5ff8265af28ef2cd56e9c9b2638fa08ad97", size = 36630881, upload-time = "2025-10-28T17:31:47.104Z" }, + { url = "https://files.pythonhosted.org/packages/7c/89/d70e9f628749b7e4db2aa4cd89735502ff3f08f7b9b27d2e799485987cd9/scipy-1.16.3-cp311-cp311-macosx_12_0_arm64.whl", hash = "sha256:8be1ca9170fcb6223cc7c27f4305d680ded114a1567c0bd2bfcbf947d1b17511", size = 28941012, upload-time = "2025-10-28T17:31:53.411Z" }, + { url = "https://files.pythonhosted.org/packages/a8/a8/0e7a9a6872a923505dbdf6bb93451edcac120363131c19013044a1e7cb0c/scipy-1.16.3-cp311-cp311-macosx_14_0_arm64.whl", hash = "sha256:bea0a62734d20d67608660f69dcda23e7f90fb4ca20974ab80b6ed40df87a005", size = 20931935, upload-time = "2025-10-28T17:31:57.361Z" }, + { url = "https://files.pythonhosted.org/packages/bd/c7/020fb72bd79ad798e4dbe53938543ecb96b3a9ac3fe274b7189e23e27353/scipy-1.16.3-cp311-cp311-macosx_14_0_x86_64.whl", hash = "sha256:2a207a6ce9c24f1951241f4693ede2d393f59c07abc159b2cb2be980820e01fb", size = 23534466, upload-time = "2025-10-28T17:32:01.875Z" }, + { url = "https://files.pythonhosted.org/packages/be/a0/668c4609ce6dbf2f948e167836ccaf897f95fb63fa231c87da7558a374cd/scipy-1.16.3-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:532fb5ad6a87e9e9cd9c959b106b73145a03f04c7d57ea3e6f6bb60b86ab0876", size = 33593618, upload-time = "2025-10-28T17:32:06.902Z" }, + { url = "https://files.pythonhosted.org/packages/ca/6e/8942461cf2636cdae083e3eb72622a7fbbfa5cf559c7d13ab250a5dbdc01/scipy-1.16.3-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:0151a0749efeaaab78711c78422d413c583b8cdd2011a3c1d6c794938ee9fdb2", size = 35899798, upload-time = "2025-10-28T17:32:12.665Z" }, + { url = "https://files.pythonhosted.org/packages/79/e8/d0f33590364cdbd67f28ce79368b373889faa4ee959588beddf6daef9abe/scipy-1.16.3-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:b7180967113560cca57418a7bc719e30366b47959dd845a93206fbed693c867e", size = 36226154, upload-time = "2025-10-28T17:32:17.961Z" }, + { url = "https://files.pythonhosted.org/packages/39/c1/1903de608c0c924a1749c590064e65810f8046e437aba6be365abc4f7557/scipy-1.16.3-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:deb3841c925eeddb6afc1e4e4a45e418d19ec7b87c5df177695224078e8ec733", size = 38878540, upload-time = "2025-10-28T17:32:23.907Z" }, + { url = "https://files.pythonhosted.org/packages/f1/d0/22ec7036ba0b0a35bccb7f25ab407382ed34af0b111475eb301c16f8a2e5/scipy-1.16.3-cp311-cp311-win_amd64.whl", hash = "sha256:53c3844d527213631e886621df5695d35e4f6a75f620dca412bcd292f6b87d78", size = 38722107, upload-time = "2025-10-28T17:32:29.921Z" }, + { url = "https://files.pythonhosted.org/packages/7b/60/8a00e5a524bb3bf8898db1650d350f50e6cffb9d7a491c561dc9826c7515/scipy-1.16.3-cp311-cp311-win_arm64.whl", hash = "sha256:9452781bd879b14b6f055b26643703551320aa8d79ae064a71df55c00286a184", size = 25506272, upload-time = "2025-10-28T17:32:34.577Z" }, + { url = "https://files.pythonhosted.org/packages/40/41/5bf55c3f386b1643812f3a5674edf74b26184378ef0f3e7c7a09a7e2ca7f/scipy-1.16.3-cp312-cp312-macosx_10_14_x86_64.whl", hash = "sha256:81fc5827606858cf71446a5e98715ba0e11f0dbc83d71c7409d05486592a45d6", size = 36659043, upload-time = "2025-10-28T17:32:40.285Z" }, + { url = "https://files.pythonhosted.org/packages/1e/0f/65582071948cfc45d43e9870bf7ca5f0e0684e165d7c9ef4e50d783073eb/scipy-1.16.3-cp312-cp312-macosx_12_0_arm64.whl", hash = "sha256:c97176013d404c7346bf57874eaac5187d969293bf40497140b0a2b2b7482e07", size = 28898986, upload-time = "2025-10-28T17:32:45.325Z" }, + { url = "https://files.pythonhosted.org/packages/96/5e/36bf3f0ac298187d1ceadde9051177d6a4fe4d507e8f59067dc9dd39e650/scipy-1.16.3-cp312-cp312-macosx_14_0_arm64.whl", hash = "sha256:2b71d93c8a9936046866acebc915e2af2e292b883ed6e2cbe5c34beb094b82d9", size = 20889814, upload-time = "2025-10-28T17:32:49.277Z" }, + { url = "https://files.pythonhosted.org/packages/80/35/178d9d0c35394d5d5211bbff7ac4f2986c5488b59506fef9e1de13ea28d3/scipy-1.16.3-cp312-cp312-macosx_14_0_x86_64.whl", hash = "sha256:3d4a07a8e785d80289dfe66b7c27d8634a773020742ec7187b85ccc4b0e7b686", size = 23565795, upload-time = "2025-10-28T17:32:53.337Z" }, + { url = "https://files.pythonhosted.org/packages/fa/46/d1146ff536d034d02f83c8afc3c4bab2eddb634624d6529a8512f3afc9da/scipy-1.16.3-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:0553371015692a898e1aa858fed67a3576c34edefa6b7ebdb4e9dde49ce5c203", size = 33349476, upload-time = "2025-10-28T17:32:58.353Z" }, + { url = "https://files.pythonhosted.org/packages/79/2e/415119c9ab3e62249e18c2b082c07aff907a273741b3f8160414b0e9193c/scipy-1.16.3-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:72d1717fd3b5e6ec747327ce9bda32d5463f472c9dce9f54499e81fbd50245a1", size = 35676692, upload-time = "2025-10-28T17:33:03.88Z" }, + { url = "https://files.pythonhosted.org/packages/27/82/df26e44da78bf8d2aeaf7566082260cfa15955a5a6e96e6a29935b64132f/scipy-1.16.3-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:1fb2472e72e24d1530debe6ae078db70fb1605350c88a3d14bc401d6306dbffe", size = 36019345, upload-time = "2025-10-28T17:33:09.773Z" }, + { url = "https://files.pythonhosted.org/packages/82/31/006cbb4b648ba379a95c87262c2855cd0d09453e500937f78b30f02fa1cd/scipy-1.16.3-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:c5192722cffe15f9329a3948c4b1db789fbb1f05c97899187dcf009b283aea70", size = 38678975, upload-time = "2025-10-28T17:33:15.809Z" }, + { url = "https://files.pythonhosted.org/packages/c2/7f/acbd28c97e990b421af7d6d6cd416358c9c293fc958b8529e0bd5d2a2a19/scipy-1.16.3-cp312-cp312-win_amd64.whl", hash = "sha256:56edc65510d1331dae01ef9b658d428e33ed48b4f77b1d51caf479a0253f96dc", size = 38555926, upload-time = "2025-10-28T17:33:21.388Z" }, + { url = "https://files.pythonhosted.org/packages/ce/69/c5c7807fd007dad4f48e0a5f2153038dc96e8725d3345b9ee31b2b7bed46/scipy-1.16.3-cp312-cp312-win_arm64.whl", hash = "sha256:a8a26c78ef223d3e30920ef759e25625a0ecdd0d60e5a8818b7513c3e5384cf2", size = 25463014, upload-time = "2025-10-28T17:33:25.975Z" }, + { url = "https://files.pythonhosted.org/packages/72/f1/57e8327ab1508272029e27eeef34f2302ffc156b69e7e233e906c2a5c379/scipy-1.16.3-cp313-cp313-macosx_10_14_x86_64.whl", hash = "sha256:d2ec56337675e61b312179a1ad124f5f570c00f920cc75e1000025451b88241c", size = 36617856, upload-time = "2025-10-28T17:33:31.375Z" }, + { url = "https://files.pythonhosted.org/packages/44/13/7e63cfba8a7452eb756306aa2fd9b37a29a323b672b964b4fdeded9a3f21/scipy-1.16.3-cp313-cp313-macosx_12_0_arm64.whl", hash = "sha256:16b8bc35a4cc24db80a0ec836a9286d0e31b2503cb2fd7ff7fb0e0374a97081d", size = 28874306, upload-time = "2025-10-28T17:33:36.516Z" }, + { url = "https://files.pythonhosted.org/packages/15/65/3a9400efd0228a176e6ec3454b1fa998fbbb5a8defa1672c3f65706987db/scipy-1.16.3-cp313-cp313-macosx_14_0_arm64.whl", hash = "sha256:5803c5fadd29de0cf27fa08ccbfe7a9e5d741bf63e4ab1085437266f12460ff9", size = 20865371, upload-time = "2025-10-28T17:33:42.094Z" }, + { url = "https://files.pythonhosted.org/packages/33/d7/eda09adf009a9fb81827194d4dd02d2e4bc752cef16737cc4ef065234031/scipy-1.16.3-cp313-cp313-macosx_14_0_x86_64.whl", hash = "sha256:b81c27fc41954319a943d43b20e07c40bdcd3ff7cf013f4fb86286faefe546c4", size = 23524877, upload-time = "2025-10-28T17:33:48.483Z" }, + { url = "https://files.pythonhosted.org/packages/7d/6b/3f911e1ebc364cb81320223a3422aab7d26c9c7973109a9cd0f27c64c6c0/scipy-1.16.3-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:0c3b4dd3d9b08dbce0f3440032c52e9e2ab9f96ade2d3943313dfe51a7056959", size = 33342103, upload-time = "2025-10-28T17:33:56.495Z" }, + { url = "https://files.pythonhosted.org/packages/21/f6/4bfb5695d8941e5c570a04d9fcd0d36bce7511b7d78e6e75c8f9791f82d0/scipy-1.16.3-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:7dc1360c06535ea6116a2220f760ae572db9f661aba2d88074fe30ec2aa1ff88", size = 35697297, upload-time = "2025-10-28T17:34:04.722Z" }, + { url = "https://files.pythonhosted.org/packages/04/e1/6496dadbc80d8d896ff72511ecfe2316b50313bfc3ebf07a3f580f08bd8c/scipy-1.16.3-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:663b8d66a8748051c3ee9c96465fb417509315b99c71550fda2591d7dd634234", size = 36021756, upload-time = "2025-10-28T17:34:13.482Z" }, + { url = "https://files.pythonhosted.org/packages/fe/bd/a8c7799e0136b987bda3e1b23d155bcb31aec68a4a472554df5f0937eef7/scipy-1.16.3-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:eab43fae33a0c39006a88096cd7b4f4ef545ea0447d250d5ac18202d40b6611d", size = 38696566, upload-time = "2025-10-28T17:34:22.384Z" }, + { url = "https://files.pythonhosted.org/packages/cd/01/1204382461fcbfeb05b6161b594f4007e78b6eba9b375382f79153172b4d/scipy-1.16.3-cp313-cp313-win_amd64.whl", hash = "sha256:062246acacbe9f8210de8e751b16fc37458213f124bef161a5a02c7a39284304", size = 38529877, upload-time = "2025-10-28T17:35:51.076Z" }, + { url = "https://files.pythonhosted.org/packages/7f/14/9d9fbcaa1260a94f4bb5b64ba9213ceb5d03cd88841fe9fd1ffd47a45b73/scipy-1.16.3-cp313-cp313-win_arm64.whl", hash = "sha256:50a3dbf286dbc7d84f176f9a1574c705f277cb6565069f88f60db9eafdbe3ee2", size = 25455366, upload-time = "2025-10-28T17:35:59.014Z" }, + { url = "https://files.pythonhosted.org/packages/e2/a3/9ec205bd49f42d45d77f1730dbad9ccf146244c1647605cf834b3a8c4f36/scipy-1.16.3-cp313-cp313t-macosx_10_14_x86_64.whl", hash = "sha256:fb4b29f4cf8cc5a8d628bc8d8e26d12d7278cd1f219f22698a378c3d67db5e4b", size = 37027931, upload-time = "2025-10-28T17:34:31.451Z" }, + { url = "https://files.pythonhosted.org/packages/25/06/ca9fd1f3a4589cbd825b1447e5db3a8ebb969c1eaf22c8579bd286f51b6d/scipy-1.16.3-cp313-cp313t-macosx_12_0_arm64.whl", hash = "sha256:8d09d72dc92742988b0e7750bddb8060b0c7079606c0d24a8cc8e9c9c11f9079", size = 29400081, upload-time = "2025-10-28T17:34:39.087Z" }, + { url = "https://files.pythonhosted.org/packages/6a/56/933e68210d92657d93fb0e381683bc0e53a965048d7358ff5fbf9e6a1b17/scipy-1.16.3-cp313-cp313t-macosx_14_0_arm64.whl", hash = "sha256:03192a35e661470197556de24e7cb1330d84b35b94ead65c46ad6f16f6b28f2a", size = 21391244, upload-time = "2025-10-28T17:34:45.234Z" }, + { url = "https://files.pythonhosted.org/packages/a8/7e/779845db03dc1418e215726329674b40576879b91814568757ff0014ad65/scipy-1.16.3-cp313-cp313t-macosx_14_0_x86_64.whl", hash = "sha256:57d01cb6f85e34f0946b33caa66e892aae072b64b034183f3d87c4025802a119", size = 23929753, upload-time = "2025-10-28T17:34:51.793Z" }, + { url = "https://files.pythonhosted.org/packages/4c/4b/f756cf8161d5365dcdef9e5f460ab226c068211030a175d2fc7f3f41ca64/scipy-1.16.3-cp313-cp313t-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:96491a6a54e995f00a28a3c3badfff58fd093bf26cd5fb34a2188c8c756a3a2c", size = 33496912, upload-time = "2025-10-28T17:34:59.8Z" }, + { url = "https://files.pythonhosted.org/packages/09/b5/222b1e49a58668f23839ca1542a6322bb095ab8d6590d4f71723869a6c2c/scipy-1.16.3-cp313-cp313t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:cd13e354df9938598af2be05822c323e97132d5e6306b83a3b4ee6724c6e522e", size = 35802371, upload-time = "2025-10-28T17:35:08.173Z" }, + { url = "https://files.pythonhosted.org/packages/c1/8d/5964ef68bb31829bde27611f8c9deeac13764589fe74a75390242b64ca44/scipy-1.16.3-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:63d3cdacb8a824a295191a723ee5e4ea7768ca5ca5f2838532d9f2e2b3ce2135", size = 36190477, upload-time = "2025-10-28T17:35:16.7Z" }, + { url = "https://files.pythonhosted.org/packages/ab/f2/b31d75cb9b5fa4dd39a0a931ee9b33e7f6f36f23be5ef560bf72e0f92f32/scipy-1.16.3-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:e7efa2681ea410b10dde31a52b18b0154d66f2485328830e45fdf183af5aefc6", size = 38796678, upload-time = "2025-10-28T17:35:26.354Z" }, + { url = "https://files.pythonhosted.org/packages/b4/1e/b3723d8ff64ab548c38d87055483714fefe6ee20e0189b62352b5e015bb1/scipy-1.16.3-cp313-cp313t-win_amd64.whl", hash = "sha256:2d1ae2cf0c350e7705168ff2429962a89ad90c2d49d1dd300686d8b2a5af22fc", size = 38640178, upload-time = "2025-10-28T17:35:35.304Z" }, + { url = "https://files.pythonhosted.org/packages/8e/f3/d854ff38789aca9b0cc23008d607ced9de4f7ab14fa1ca4329f86b3758ca/scipy-1.16.3-cp313-cp313t-win_arm64.whl", hash = "sha256:0c623a54f7b79dd88ef56da19bc2873afec9673a48f3b85b18e4d402bdd29a5a", size = 25803246, upload-time = "2025-10-28T17:35:42.155Z" }, + { url = "https://files.pythonhosted.org/packages/99/f6/99b10fd70f2d864c1e29a28bbcaa0c6340f9d8518396542d9ea3b4aaae15/scipy-1.16.3-cp314-cp314-macosx_10_14_x86_64.whl", hash = "sha256:875555ce62743e1d54f06cdf22c1e0bc47b91130ac40fe5d783b6dfa114beeb6", size = 36606469, upload-time = "2025-10-28T17:36:08.741Z" }, + { url = "https://files.pythonhosted.org/packages/4d/74/043b54f2319f48ea940dd025779fa28ee360e6b95acb7cd188fad4391c6b/scipy-1.16.3-cp314-cp314-macosx_12_0_arm64.whl", hash = "sha256:bb61878c18a470021fb515a843dc7a76961a8daceaaaa8bad1332f1bf4b54657", size = 28872043, upload-time = "2025-10-28T17:36:16.599Z" }, + { url = "https://files.pythonhosted.org/packages/4d/e1/24b7e50cc1c4ee6ffbcb1f27fe9f4c8b40e7911675f6d2d20955f41c6348/scipy-1.16.3-cp314-cp314-macosx_14_0_arm64.whl", hash = "sha256:f2622206f5559784fa5c4b53a950c3c7c1cf3e84ca1b9c4b6c03f062f289ca26", size = 20862952, upload-time = "2025-10-28T17:36:22.966Z" }, + { url = "https://files.pythonhosted.org/packages/dd/3a/3e8c01a4d742b730df368e063787c6808597ccb38636ed821d10b39ca51b/scipy-1.16.3-cp314-cp314-macosx_14_0_x86_64.whl", hash = "sha256:7f68154688c515cdb541a31ef8eb66d8cd1050605be9dcd74199cbd22ac739bc", size = 23508512, upload-time = "2025-10-28T17:36:29.731Z" }, + { url = "https://files.pythonhosted.org/packages/1f/60/c45a12b98ad591536bfe5330cb3cfe1850d7570259303563b1721564d458/scipy-1.16.3-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:8b3c820ddb80029fe9f43d61b81d8b488d3ef8ca010d15122b152db77dc94c22", size = 33413639, upload-time = "2025-10-28T17:36:37.982Z" }, + { url = "https://files.pythonhosted.org/packages/71/bc/35957d88645476307e4839712642896689df442f3e53b0fa016ecf8a3357/scipy-1.16.3-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:d3837938ae715fc0fe3c39c0202de3a8853aff22ca66781ddc2ade7554b7e2cc", size = 35704729, upload-time = "2025-10-28T17:36:46.547Z" }, + { url = "https://files.pythonhosted.org/packages/3b/15/89105e659041b1ca11c386e9995aefacd513a78493656e57789f9d9eab61/scipy-1.16.3-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:aadd23f98f9cb069b3bd64ddc900c4d277778242e961751f77a8cb5c4b946fb0", size = 36086251, upload-time = "2025-10-28T17:36:55.161Z" }, + { url = "https://files.pythonhosted.org/packages/1a/87/c0ea673ac9c6cc50b3da2196d860273bc7389aa69b64efa8493bdd25b093/scipy-1.16.3-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:b7c5f1bda1354d6a19bc6af73a649f8285ca63ac6b52e64e658a5a11d4d69800", size = 38716681, upload-time = "2025-10-28T17:37:04.1Z" }, + { url = "https://files.pythonhosted.org/packages/91/06/837893227b043fb9b0d13e4bd7586982d8136cb249ffb3492930dab905b8/scipy-1.16.3-cp314-cp314-win_amd64.whl", hash = "sha256:e5d42a9472e7579e473879a1990327830493a7047506d58d73fc429b84c1d49d", size = 39358423, upload-time = "2025-10-28T17:38:20.005Z" }, + { url = "https://files.pythonhosted.org/packages/95/03/28bce0355e4d34a7c034727505a02d19548549e190bedd13a721e35380b7/scipy-1.16.3-cp314-cp314-win_arm64.whl", hash = "sha256:6020470b9d00245926f2d5bb93b119ca0340f0d564eb6fbaad843eaebf9d690f", size = 26135027, upload-time = "2025-10-28T17:38:24.966Z" }, + { url = "https://files.pythonhosted.org/packages/b2/6f/69f1e2b682efe9de8fe9f91040f0cd32f13cfccba690512ba4c582b0bc29/scipy-1.16.3-cp314-cp314t-macosx_10_14_x86_64.whl", hash = "sha256:e1d27cbcb4602680a49d787d90664fa4974063ac9d4134813332a8c53dbe667c", size = 37028379, upload-time = "2025-10-28T17:37:14.061Z" }, + { url = "https://files.pythonhosted.org/packages/7c/2d/e826f31624a5ebbab1cd93d30fd74349914753076ed0593e1d56a98c4fb4/scipy-1.16.3-cp314-cp314t-macosx_12_0_arm64.whl", hash = "sha256:9b9c9c07b6d56a35777a1b4cc8966118fb16cfd8daf6743867d17d36cfad2d40", size = 29400052, upload-time = "2025-10-28T17:37:21.709Z" }, + { url = "https://files.pythonhosted.org/packages/69/27/d24feb80155f41fd1f156bf144e7e049b4e2b9dd06261a242905e3bc7a03/scipy-1.16.3-cp314-cp314t-macosx_14_0_arm64.whl", hash = "sha256:3a4c460301fb2cffb7f88528f30b3127742cff583603aa7dc964a52c463b385d", size = 21391183, upload-time = "2025-10-28T17:37:29.559Z" }, + { url = "https://files.pythonhosted.org/packages/f8/d3/1b229e433074c5738a24277eca520a2319aac7465eea7310ea6ae0e98ae2/scipy-1.16.3-cp314-cp314t-macosx_14_0_x86_64.whl", hash = "sha256:f667a4542cc8917af1db06366d3f78a5c8e83badd56409f94d1eac8d8d9133fa", size = 23930174, upload-time = "2025-10-28T17:37:36.306Z" }, + { url = "https://files.pythonhosted.org/packages/16/9d/d9e148b0ec680c0f042581a2be79a28a7ab66c0c4946697f9e7553ead337/scipy-1.16.3-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:f379b54b77a597aa7ee5e697df0d66903e41b9c85a6dd7946159e356319158e8", size = 33497852, upload-time = "2025-10-28T17:37:42.228Z" }, + { url = "https://files.pythonhosted.org/packages/2f/22/4e5f7561e4f98b7bea63cf3fd7934bff1e3182e9f1626b089a679914d5c8/scipy-1.16.3-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:4aff59800a3b7f786b70bfd6ab551001cb553244988d7d6b8299cb1ea653b353", size = 35798595, upload-time = "2025-10-28T17:37:48.102Z" }, + { url = "https://files.pythonhosted.org/packages/83/42/6644d714c179429fc7196857866f219fef25238319b650bb32dde7bf7a48/scipy-1.16.3-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:da7763f55885045036fabcebd80144b757d3db06ab0861415d1c3b7c69042146", size = 36186269, upload-time = "2025-10-28T17:37:53.72Z" }, + { url = "https://files.pythonhosted.org/packages/ac/70/64b4d7ca92f9cf2e6fc6aaa2eecf80bb9b6b985043a9583f32f8177ea122/scipy-1.16.3-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:ffa6eea95283b2b8079b821dc11f50a17d0571c92b43e2b5b12764dc5f9b285d", size = 38802779, upload-time = "2025-10-28T17:37:59.393Z" }, + { url = "https://files.pythonhosted.org/packages/61/82/8d0e39f62764cce5ffd5284131e109f07cf8955aef9ab8ed4e3aa5e30539/scipy-1.16.3-cp314-cp314t-win_amd64.whl", hash = "sha256:d9f48cafc7ce94cf9b15c6bffdc443a81a27bf7075cf2dcd5c8b40f85d10c4e7", size = 39471128, upload-time = "2025-10-28T17:38:05.259Z" }, + { url = "https://files.pythonhosted.org/packages/64/47/a494741db7280eae6dc033510c319e34d42dd41b7ac0c7ead39354d1a2b5/scipy-1.16.3-cp314-cp314t-win_arm64.whl", hash = "sha256:21d9d6b197227a12dcbf9633320a4e34c6b0e51c57268df255a0942983bac562", size = 26464127, upload-time = "2025-10-28T17:38:11.34Z" }, +] + +[[package]] +name = "scipy" +version = "1.18.1" +source = { registry = "https://pypi.org/simple" } +resolution-markers = [ + "python_full_version == '3.14.*'", + "python_full_version >= '3.12' and python_full_version < '3.14'", +] +dependencies = [ + { name = "numpy", version = "2.5.3", source = { registry = "https://pypi.org/simple" } }, +] +sdist = { url = "https://files.pythonhosted.org/packages/7e/74/66de6258867beb2ef08f35f9f2ac017a52cacd5081714d239ff1a442d458/scipy-1.18.1.tar.gz", hash = "sha256:52c4b7422442aba924d03ad4019852b08a92e64ea187b933135687bfe2747307", size = 30781235, upload-time = "2026-08-21T23:28:50.599Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/18/f7/240c110c08693826b4513a52f5717d62ec7c7af72f2920821247c03b17b3/scipy-1.18.1-cp312-cp312-macosx_10_15_x86_64.whl", hash = "sha256:457fd7a2a8edeb044ab6ffbc0aa03ff6cd18491356e5e0c834d76ce621b916d1", size = 31111061, upload-time = "2026-08-21T23:23:44.522Z" }, + { url = "https://files.pythonhosted.org/packages/05/4a/78c6285577c375e7cf27277ea8ee6961224327f1e1a0c44af5f17f23635c/scipy-1.18.1-cp312-cp312-macosx_12_0_arm64.whl", hash = "sha256:e708533e8b2ae2497d65346538a7dcc92814410b25b81432eac66de0f2af8265", size = 28733332, upload-time = "2026-08-21T23:23:50.015Z" }, + { url = "https://files.pythonhosted.org/packages/a5/f6/a5b82f8abbe14d134691b8b903696f701d25a081353a29dc655c364d9e62/scipy-1.18.1-cp312-cp312-macosx_14_0_arm64.whl", hash = "sha256:7bbf207c4453ce1ad2e00b17313852b33310b83090c2311bdaf97f93c0380d12", size = 20475078, upload-time = "2026-08-21T23:23:54.138Z" }, + { url = "https://files.pythonhosted.org/packages/23/22/0858a0bbd6b3e825ceb8cd9baf9eaf3b2f2b1d77727eb6be40500bcdc92f/scipy-1.18.1-cp312-cp312-macosx_14_0_x86_64.whl", hash = "sha256:78c0665edead396b1abb4897c41a5c1d9bf090c8a637a4c20a61678e0a264e66", size = 23108904, upload-time = "2026-08-21T23:23:57.824Z" }, + { url = "https://files.pythonhosted.org/packages/75/9a/2e71719f31eaefe0e3a1706c4a1ded94e664bfd95ffca2b219a671faee01/scipy-1.18.1-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:3c085faa2cfa879c5141df483f836f4d691045a078224a670fa570fa01612d89", size = 34025113, upload-time = "2026-08-21T23:24:02.209Z" }, + { url = "https://files.pythonhosted.org/packages/df/64/ff35eb9e54894cf471ff4716abd3c81eb0a0626869217ce3e6ba4ccf17d7/scipy-1.18.1-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:f55fa87b6c612ecd6b058f167c53231b1d14e412efe361d3d6e38b3631c73218", size = 35344199, upload-time = "2026-08-21T23:24:07.844Z" }, + { url = "https://files.pythonhosted.org/packages/d3/af/c5538be1792f7034c12c7db6ee67cace58253c7b87b122d68253eaf5de89/scipy-1.18.1-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:c35d74ce0e193ff740c2f2be2ac913ddc232fe6c1ff40b26cfecb9c670c63314", size = 35639587, upload-time = "2026-08-21T23:24:13.05Z" }, + { url = "https://files.pythonhosted.org/packages/91/4c/075e4f66471bac101141ac739e9e135549be1bae584571bd03a530c056e1/scipy-1.18.1-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:d2924a03db38dc2e848bca2fe9f077dafb891480b91a00a0963a8cf86dfc31c1", size = 37480330, upload-time = "2026-08-21T23:24:19.608Z" }, + { url = "https://files.pythonhosted.org/packages/39/e7/979fd14e75008623df31ba70d6bb144700f68feadcea042021c06a05bf82/scipy-1.18.1-cp312-cp312-win_amd64.whl", hash = "sha256:5e4d44984abc0020154ea81b247adeddcc3ac5527b975ff798bd1ba0adc513c2", size = 36658278, upload-time = "2026-08-21T23:24:25.463Z" }, + { url = "https://files.pythonhosted.org/packages/c7/0b/e1525354ff9d7d5feb6d1b31af6d14072e5c91e9607b421fa1ec889660b3/scipy-1.18.1-cp312-cp312-win_arm64.whl", hash = "sha256:d65d448389b8436493abcf629cc94ad0cf32aecaf06e1acca1de53cc795f2f12", size = 24400588, upload-time = "2026-08-21T23:24:30.579Z" }, + { url = "https://files.pythonhosted.org/packages/b6/55/4540ee0f9c42a9ad7109d0d1a8cc70de54c3572b01c6693a2b1c70e90ceb/scipy-1.18.1-cp313-cp313-macosx_10_15_x86_64.whl", hash = "sha256:3ab3523da44749156e1f68b464dc56af11ae4cbc5c739a49d05f32b982eca9f3", size = 31089958, upload-time = "2026-08-21T23:24:35.8Z" }, + { url = "https://files.pythonhosted.org/packages/2a/f5/769f36d14922b8071a43e95d24d18b6bdafad10d7f5cf647867e1ac052bc/scipy-1.18.1-cp313-cp313-macosx_12_0_arm64.whl", hash = "sha256:e6fb6a55cc0ba97b59a1f288fb86dc6fce8bdfc0fffcbfd015e3a954bf2a2d93", size = 28715106, upload-time = "2026-08-21T23:24:40.775Z" }, + { url = "https://files.pythonhosted.org/packages/9a/d7/21d890274f75ea37a8209d5519e72da3da90302e3b9fb8397a0918386a62/scipy-1.18.1-cp313-cp313-macosx_14_0_arm64.whl", hash = "sha256:ea324d9dd34c38bfb9bec8ca4d1b407db97dbb74029f566b8e322b1b6fe56fe6", size = 20456846, upload-time = "2026-08-21T23:24:45.066Z" }, + { url = "https://files.pythonhosted.org/packages/ec/01/798430ecea2e78ec7c02663d5f71c007bb6abeca931080debd40d7fa55ea/scipy-1.18.1-cp313-cp313-macosx_14_0_x86_64.whl", hash = "sha256:75b00eb8fb802090aa903f4ea1c7f5a584779f967361e68b7e98e531cc2d7174", size = 23087986, upload-time = "2026-08-21T23:24:49.539Z" }, + { url = "https://files.pythonhosted.org/packages/e6/5f/4634e9d35c68496e4e34cb6946eafab044458e6cedab42b40b6588e475b6/scipy-1.18.1-cp313-cp313-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:d416b16cccfd70fbf62400e84d0bb2f4e6af519a45557f1692c749b37f14b315", size = 33998146, upload-time = "2026-08-21T23:24:54.714Z" }, + { url = "https://files.pythonhosted.org/packages/41/48/6450ed9243315322bbc19ac57b9b70d66a20bf1d38d124c96bc4bf6af9ea/scipy-1.18.1-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:fdaf5ea890a6183d0565f51a61799d67081bd5b1cf03c5f4b3fd3732108625c9", size = 35312578, upload-time = "2026-08-21T23:25:00.44Z" }, + { url = "https://files.pythonhosted.org/packages/00/bd/bf5a4be6a3525676499f6dff307991739ff6fdcad1481b1aeb6745339f58/scipy-1.18.1-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:c825cef2f49e46753726a7181a8e199804a912b29519ada542c6ebc654951899", size = 35612621, upload-time = "2026-08-21T23:25:06.144Z" }, + { url = "https://files.pythonhosted.org/packages/bd/4e/3c45c33e00a77996c4b1cb707929f833ba7b1d522ee29f882512c330676d/scipy-1.18.1-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:e3b417bf8c2c7c16e8f58ad91db17783ec911ac16e7b50eb6eab6e809b4f5b07", size = 37457323, upload-time = "2026-08-21T23:25:12.483Z" }, + { url = "https://files.pythonhosted.org/packages/93/0e/e0348fbc0dbab65c114cf78957e7dfeb49f8e8b556b4d930cc12ff195e18/scipy-1.18.1-cp313-cp313-win_amd64.whl", hash = "sha256:559ed65f60c1af5a03f3912605a1b5114f522c7c32fb23c3376ae8f03219fe28", size = 36622841, upload-time = "2026-08-21T23:25:18.722Z" }, + { url = "https://files.pythonhosted.org/packages/50/a8/6a77f5f267c555108f0a864b6db714363dab567a8266422a79a385f9232b/scipy-1.18.1-cp313-cp313-win_arm64.whl", hash = "sha256:cd479fc04dd9401e3b4f49e76518768ef99c4f517a98c284eb091fd725719adf", size = 24399315, upload-time = "2026-08-21T23:25:23.458Z" }, + { url = "https://files.pythonhosted.org/packages/06/d5/d8eb4e280ddb56a4ab2c6f02ee49b56b23f6e977cf0802fd6d68dbef14f5/scipy-1.18.1-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:83de5453a7799afc9048b4616bd085cef126e36412f0ea2f6370c36a2a3a51e7", size = 31090936, upload-time = "2026-08-21T23:25:28.686Z" }, + { url = "https://files.pythonhosted.org/packages/2a/49/59ea385dc3a62ff498ddf3cfff7c2b41b0f9f9d3c4122b3f1dcb6d6327fe/scipy-1.18.1-cp314-cp314-macosx_12_0_arm64.whl", hash = "sha256:9554bcc6d715ee87a633a3cc8e7703c6628b100dd29cb8a2efc4c0533c7ff729", size = 28725221, upload-time = "2026-08-21T23:25:33.244Z" }, + { url = "https://files.pythonhosted.org/packages/70/e8/6b0c288c50942d78193696c9f15f9a0874f5178aa0ddf40f83d9924b3e8d/scipy-1.18.1-cp314-cp314-macosx_14_0_arm64.whl", hash = "sha256:011413b7426b75012840e35649e00fe0a2c3bae89fed433876e3a99251572efc", size = 20466839, upload-time = "2026-08-21T23:25:37.516Z" }, + { url = "https://files.pythonhosted.org/packages/4b/e0/54fd3793c729e3b936782f181b59cbb1205bf250ab605a16cb1ba61cdd5e/scipy-1.18.1-cp314-cp314-macosx_14_0_x86_64.whl", hash = "sha256:88f0e784020649f88ea48c9f5ddfa403bf9205820667c0914740b392035afb82", size = 23089121, upload-time = "2026-08-21T23:25:42.019Z" }, + { url = "https://files.pythonhosted.org/packages/0b/56/030af62bea3cf878e0028515dff78c123b01633606a879b63f42d2db99cc/scipy-1.18.1-cp314-cp314-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:2d3ab0e8c69a17dd3559eab8cbb88f258e285c94d572c2719033f90f83290c89", size = 34053851, upload-time = "2026-08-21T23:25:47.998Z" }, + { url = "https://files.pythonhosted.org/packages/6b/89/2a844506d49651e9aa1af6ef95b6bd8031cb1d5a4375edec6155037e04cf/scipy-1.18.1-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:ac0333bdf38309aa3dcbe7e3fa7ea29e7a2c37c6ea306a757b700ded8e4596ad", size = 35329183, upload-time = "2026-08-21T23:25:53.522Z" }, + { url = "https://files.pythonhosted.org/packages/eb/56/c7370c3640e92ac9613cbf26cb3f729f9b12ddf1727b55b94b53b24d6f48/scipy-1.18.1-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:911de823097db8b63f034299d12662db93344e6ffa0b881cbb57748974b70168", size = 35672551, upload-time = "2026-08-21T23:25:59.387Z" }, + { url = "https://files.pythonhosted.org/packages/24/16/ec8536f351421f8bf60a1120930638f83790f4710b8230446aca3d6159d4/scipy-1.18.1-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:95298364e251be3e60249facbeeca03631d3bb7584f85879516ec55ac717b81f", size = 37469416, upload-time = "2026-08-21T23:26:05.432Z" }, + { url = "https://files.pythonhosted.org/packages/52/94/d73da0d28f16c45bb9b0a5691b91610b0275c5ef0eb5e43c87cf2dc1bf31/scipy-1.18.1-cp314-cp314-win_amd64.whl", hash = "sha256:78a0d7c918e74a232394117160e7e3db503377572a45bcef8826e4ab8a35feba", size = 37362755, upload-time = "2026-08-21T23:26:11.366Z" }, + { url = "https://files.pythonhosted.org/packages/89/25/e996e4dc74e10e227b1e14db5eaf6608bb6dd33884a64851c38f18dd4249/scipy-1.18.1-cp314-cp314-win_arm64.whl", hash = "sha256:cbf38d043c1aa4ab306e1ada6ab6eddacc3322a20b7af1b30bc93254b366fe09", size = 25036090, upload-time = "2026-08-21T23:26:15.887Z" }, + { url = "https://files.pythonhosted.org/packages/fa/c9/c00213f92309d753b48903e6a451b87eb52ff5b7a16e789d1568bbf221c4/scipy-1.18.1-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:0fcb3c93519f27bb4f0c4b0f7802cdcaca7fcf93267b75edda2e9f4e8a55cbd7", size = 31485550, upload-time = "2026-08-21T23:26:20.776Z" }, + { url = "https://files.pythonhosted.org/packages/74/b2/e3067c487982d4eeab2938928529410370c06fea84a4d3f4925e7d96647d/scipy-1.18.1-cp314-cp314t-macosx_12_0_arm64.whl", hash = "sha256:ddef79fb382df40104a19bb7151b3b23e57c1778fcf857c71ceecd9bd264513f", size = 29174642, upload-time = "2026-08-21T23:26:25.395Z" }, + { url = "https://files.pythonhosted.org/packages/d5/ab/374c9fe2d1ec014e576c781a4b5d8e1ba340e8f6b4638c16f711d2b194f0/scipy-1.18.1-cp314-cp314t-macosx_14_0_arm64.whl", hash = "sha256:0e82073ecc7acc6436fac4b31674109c7e1d3e596789767eda01258a8c9e8123", size = 20916357, upload-time = "2026-08-21T23:26:30.112Z" }, + { url = "https://files.pythonhosted.org/packages/90/38/223915c88a17317cafbf8ca2a42b11c265a9fb1e804aa665544132b5fe8a/scipy-1.18.1-cp314-cp314t-macosx_14_0_x86_64.whl", hash = "sha256:8bcf3c1ba5d6456e2effd30fcbd3459b044d683fcdac79a2e6830f0bdf7de487", size = 23482611, upload-time = "2026-08-21T23:26:34.846Z" }, + { url = "https://files.pythonhosted.org/packages/c4/d1/db0948da8ca57a80b36520ef0a768b967d99f3af65f4b6f1bf6362ad4dd4/scipy-1.18.1-cp314-cp314t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:cfbf154f2ba187f2ed6cce2639efff7d105f1140573642c0161615b6d91d6a87", size = 34143202, upload-time = "2026-08-21T23:26:40.4Z" }, + { url = "https://files.pythonhosted.org/packages/87/53/39d046cc7574ed6acacb6bd5723e220107ece80bff12faaf3efc4ddeede4/scipy-1.18.1-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:a1d33a7836f7ddc1993427966a0823468ec41bcbdb1a9f9942d1d7e57f803ba3", size = 35380876, upload-time = "2026-08-21T23:26:46.1Z" }, + { url = "https://files.pythonhosted.org/packages/f9/da/32e0e799d875a85ca57d9bde6c78148afcc0e38276df683d95854eadc8c3/scipy-1.18.1-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:7f4b8bc363b6d65ee2152bec57568e3c52639bb34c46057b09857a307ed5e21d", size = 35770885, upload-time = "2026-08-21T23:26:51.533Z" }, + { url = "https://files.pythonhosted.org/packages/88/2e/f97a666d362fee68b18f41c9c30ed502ca5c98b549749bfcb52a8b74d1eb/scipy-1.18.1-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:11c423f1049c5755ad4409af52a9ada1cff96fe9b50795d4af3619f292901239", size = 37525424, upload-time = "2026-08-21T23:26:56.751Z" }, + { url = "https://files.pythonhosted.org/packages/ca/d5/a9e765a84654ebba8479a1fd1b059ced1af72b168a3b2a3a46540ea38d20/scipy-1.18.1-cp314-cp314t-win_amd64.whl", hash = "sha256:c24acac1e18912761c4700239bbc1fd32f615af690f1584d49b35859be51324d", size = 37416961, upload-time = "2026-08-21T23:27:01.546Z" }, + { url = "https://files.pythonhosted.org/packages/ee/16/e79e0d1c63ef698879d85439d37e9fb434e3b804e506a6991038d086ebd9/scipy-1.18.1-cp314-cp314t-win_arm64.whl", hash = "sha256:9f2897bf7737392ad0d5213ea7b6add72a4edf5679b3153106aeb88b6507b3b9", size = 25331848, upload-time = "2026-08-21T23:27:05.884Z" }, + { url = "https://files.pythonhosted.org/packages/be/4f/1bd37c883b67163e2ca1f60977a399500e6879c15defecac62831c8d078d/scipy-1.18.1-cp315-cp315-macosx_10_15_x86_64.whl", hash = "sha256:eb0dfcf4e28a99c12c999744a2ff67c9b06200e20401c7c88186e33552a46331", size = 31091484, upload-time = "2026-08-21T23:27:11.051Z" }, + { url = "https://files.pythonhosted.org/packages/8c/c5/ba929d7feb9b2332f96827c12e0e924b61973b59b4dea383b603372c65ce/scipy-1.18.1-cp315-cp315-macosx_12_0_arm64.whl", hash = "sha256:30f464bee641fa8e282577c7dce027308403213c6ca8270bba73285c91024bc5", size = 28725057, upload-time = "2026-08-21T23:27:15.9Z" }, + { url = "https://files.pythonhosted.org/packages/a4/19/68f1c50f609d955d230e66d25d02bd3e1e167ec540232135354fb9a4b9e3/scipy-1.18.1-cp315-cp315-macosx_14_0_arm64.whl", hash = "sha256:1bca3b943fc2567ea49cd02c99abde49da4d5178ec46f624bd8255cda8755beb", size = 20466734, upload-time = "2026-08-21T23:27:20.044Z" }, + { url = "https://files.pythonhosted.org/packages/ef/6d/319fa29b73d1802fa80b32a6eaf3f5be456ef81526da2716a9493bcb5501/scipy-1.18.1-cp315-cp315-macosx_14_0_x86_64.whl", hash = "sha256:c9d18a33309122074ea483dd92dd444189166b8b2ec429fe9ed5ac73c7a0aa23", size = 23089664, upload-time = "2026-08-21T23:27:24.345Z" }, + { url = "https://files.pythonhosted.org/packages/b7/db/30992f9b51a63de671daf3888ffd18378b6cb9ec9f2c972264238ffa7fd6/scipy-1.18.1-cp315-cp315-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:82f201b4c878551d48558337aab270d3c6cca5507b8737c8d8a608d234cccde0", size = 34054035, upload-time = "2026-08-21T23:27:29.409Z" }, + { url = "https://files.pythonhosted.org/packages/91/d4/bf3e735dc0b9d5a8ff45079d2540e17d3aff7a2f0048dd8f552ffd031d2b/scipy-1.18.1-cp315-cp315-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:0ac49ea97594532dd44b7136094d35f5440fa06e6d9c6384a74c01764df388c5", size = 35333883, upload-time = "2026-08-21T23:27:34.293Z" }, + { url = "https://files.pythonhosted.org/packages/19/93/12d78ce9f871fe945fca588d32644e6e63f553c2a35c564d73f3b22a3313/scipy-1.18.1-cp315-cp315-musllinux_1_2_aarch64.whl", hash = "sha256:ceb30a00ce7c92d459819443d29ca486d882b83fb6738bdcbb2a1cce94ac5daa", size = 35673124, upload-time = "2026-08-21T23:27:39.059Z" }, + { url = "https://files.pythonhosted.org/packages/70/cd/886219313a1012a48e6ae0ec4f302c837151beb92e1ff0d709ef8fdfc488/scipy-1.18.1-cp315-cp315-musllinux_1_2_x86_64.whl", hash = "sha256:f29633129f9fa7e88a3f0fca835de2d030bfc9643f7799e1a0c46cee24d38fc7", size = 37470753, upload-time = "2026-08-21T23:27:44.435Z" }, + { url = "https://files.pythonhosted.org/packages/17/6c/a776888ce618bee54fbde26172f0f46ac1da70d27b63861797fe78e1904b/scipy-1.18.1-cp315-cp315-win_amd64.whl", hash = "sha256:92c14f5bdbfb6216315ce33e78080474082de8b3830122ba97809bfbe65f75c0", size = 37361483, upload-time = "2026-08-21T23:27:49.334Z" }, + { url = "https://files.pythonhosted.org/packages/ab/09/97b651691322ebee97999b017ffc18a15a0b815103844c97e8da9d469731/scipy-1.18.1-cp315-cp315-win_arm64.whl", hash = "sha256:e402cf31eb68f453dbb2d36fc6d722b33f24a55d68b2ae1d92fa6305ca71c298", size = 25035883, upload-time = "2026-08-21T23:27:53.596Z" }, + { url = "https://files.pythonhosted.org/packages/ed/0f/9ec20467bbabd0d44e2a77d0fd3d124f884b4d67df92af82c91d2d6a486f/scipy-1.18.1-cp315-cp315t-macosx_10_15_x86_64.whl", hash = "sha256:2a0b02f9fc46f8520330c23d45e6560db7e3a0d927232139427637f98943e11d", size = 31474926, upload-time = "2026-08-21T23:27:57.993Z" }, + { url = "https://files.pythonhosted.org/packages/8a/58/dcb79161e56efbedc50079fcd2f5fe427a0ebb53022eb476aa73c015ad8f/scipy-1.18.1-cp315-cp315t-macosx_12_0_arm64.whl", hash = "sha256:1d73131e358976663dd969e1fb4ed1404b815cd977eaaedc3b3a133ba2d81c35", size = 29164940, upload-time = "2026-08-21T23:28:03.062Z" }, + { url = "https://files.pythonhosted.org/packages/71/d3/1eeea80c817fcb8ef7bd4a05a58824977a0e57a375cfc3d7ea7c911c01ad/scipy-1.18.1-cp315-cp315t-macosx_14_0_arm64.whl", hash = "sha256:bff0b729edd992766136b34e39cc76bc2fad905aa58897ee72a9cd000a6d8443", size = 20906742, upload-time = "2026-08-21T23:28:07.642Z" }, + { url = "https://files.pythonhosted.org/packages/54/46/e59350428b6099301a20128108c995e2eb175a43f383af9a346e38824f9b/scipy-1.18.1-cp315-cp315t-macosx_14_0_x86_64.whl", hash = "sha256:10ac20c69d880f77f375db44c22e3e6a644f9fefa291d4cd2fb9790a89fc99fd", size = 23472183, upload-time = "2026-08-21T23:28:12.109Z" }, + { url = "https://files.pythonhosted.org/packages/89/31/cc91623fa98f0621766a0f0aaaadb2c66de74a7ea7e3837164f6e4354260/scipy-1.18.1-cp315-cp315t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:33a834464fdabc0f26a45508df31b3cc5d028e04dbf6c5ed398541418e0a12fe", size = 34130796, upload-time = "2026-08-21T23:28:17.906Z" }, + { url = "https://files.pythonhosted.org/packages/fc/3e/8572ef536957ddb8aa81bb4090d9e25f257e3b4e05d97deb54319deb8a3a/scipy-1.18.1-cp315-cp315t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:49023963c193dacee096301452f223ee24d86ec5807f8df93c0f7221d119e305", size = 35374253, upload-time = "2026-08-21T23:28:23.732Z" }, + { url = "https://files.pythonhosted.org/packages/b5/c6/59fdeffb4f1435299f93d9dc8140b43ad2916e6cfc944be6c3041fcec86d/scipy-1.18.1-cp315-cp315t-musllinux_1_2_aarch64.whl", hash = "sha256:d84a09d0dad90ba6525d8ac1c2334b33e64bf3ccfe9e841f02feb867a22681e4", size = 35758543, upload-time = "2026-08-21T23:28:29.431Z" }, + { url = "https://files.pythonhosted.org/packages/cf/d9/135be205d9de8783193aff9cc3bf483a03a38e4b29432c954e8cb66ac14e/scipy-1.18.1-cp315-cp315t-musllinux_1_2_x86_64.whl", hash = "sha256:179ce34a8d0fe273d8883ba59e17e052247d08973dfcb743ca52bb1cce2d60b0", size = 37521946, upload-time = "2026-08-21T23:28:35.245Z" }, + { url = "https://files.pythonhosted.org/packages/5c/a2/5b7d5270621ab7cfa3f7766067bf95dc360b5efb6394694e8143b4156e2b/scipy-1.18.1-cp315-cp315t-win_amd64.whl", hash = "sha256:5632e3ae3d09197c446310cd5187de63e28448ce22f0f67b2b93d97503c0c230", size = 37408295, upload-time = "2026-08-21T23:28:40.724Z" }, + { url = "https://files.pythonhosted.org/packages/63/ad/741c19fcb66755ff953daf9243af8480e4bf3d7fbe57583c178c7d2b6b51/scipy-1.18.1-cp315-cp315t-win_arm64.whl", hash = "sha256:eda632a7981f69730d6281f451db9c1c370993a2c0d7ddb43e2a809a2862b83a", size = 25319710, upload-time = "2026-08-21T23:28:45.713Z" }, +] + +[[package]] +name = "send2trash" +version = "2.1.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/c5/f0/184b4b5f8d00f2a92cf96eec8967a3d550b52cf94362dad1100df9e48d57/send2trash-2.1.0.tar.gz", hash = "sha256:1c72b39f09457db3c05ce1d19158c2cbef4c32b8bedd02c155e49282b7ea7459", size = 17255, upload-time = "2026-01-14T06:27:36.056Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/1c/78/504fdd027da3b84ff1aecd9f6957e65f35134534ccc6da8628eb71e76d3f/send2trash-2.1.0-py3-none-any.whl", hash = "sha256:0da2f112e6d6bb22de6aa6daa7e144831a4febf2a87261451c4ad849fe9a873c", size = 17610, upload-time = "2026-01-14T06:27:35.218Z" }, +] + +[[package]] +name = "six" +version = "1.17.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/94/e7/b2c673351809dca68a0e064b6af791aa332cf192da575fd474ed7d6f16a2/six-1.17.0.tar.gz", hash = "sha256:ff70335d468e7eb6ec65b95b99d3a2836546063f63acc5171de367e834932a81", size = 34031, upload-time = "2024-12-04T17:35:28.174Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/b7/ce/149a00dd41f10bc29e5921b496af8b574d8413afcd5e30dfa0ed46c2cc5e/six-1.17.0-py2.py3-none-any.whl", hash = "sha256:4721f391ed90541fddacab5acf947aa0d3dc7d27b2e1e8eda2be8970586c3274", size = 11050, upload-time = "2024-12-04T17:35:26.475Z" }, +] + +[[package]] +name = "solarlab" +version = "0.1.0" +source = { editable = "." } +dependencies = [ + { name = "matplotlib" }, + { name = "numpy", version = "2.3.5", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.12' or python_full_version >= '3.15'" }, + { name = "numpy", version = "2.5.3", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.12' and python_full_version < '3.15'" }, + { name = "pydantic" }, + { name = "pyyaml" }, + { name = "scipy", version = "1.16.3", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.12' or python_full_version >= '3.15'" }, + { name = "scipy", version = "1.18.1", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.12' and python_full_version < '3.15'" }, + { name = "threadpoolctl" }, +] + +[package.optional-dependencies] +arb = [ + { name = "python-flint" }, +] +dev = [ + { name = "httpx" }, + { name = "import-linter" }, + { name = "jsonschema" }, + { name = "mypy" }, + { name = "pytest" }, + { name = "pytest-cov" }, + { name = "ruff" }, +] +ida = [ + { name = "scikit-sundae" }, +] +notebook = [ + { name = "jupyterlab" }, +] +queue = [ + { name = "celery", extra = ["redis"] }, +] +research = [ + { name = "openpyxl" }, + { name = "pymupdf" }, +] +server = [ + { name = "fastapi" }, + { name = "pydantic" }, + { name = "uvicorn" }, +] + +[package.metadata] +requires-dist = [ + { name = "celery", extras = ["redis"], marker = "extra == 'queue'", specifier = "==5.5.3" }, + { name = "fastapi", marker = "extra == 'server'", specifier = "==0.141.1" }, + { name = "httpx", marker = "extra == 'dev'", specifier = "==0.28.1" }, + { name = "import-linter", marker = "extra == 'dev'", specifier = ">=2.5" }, + { name = "jsonschema", marker = "extra == 'dev'", specifier = "==4.26.0" }, + { name = "jupyterlab", marker = "extra == 'notebook'", specifier = ">=4.0" }, + { name = "matplotlib", specifier = "==3.11.2" }, + { name = "mypy", marker = "extra == 'dev'", specifier = ">=1.18" }, + { name = "numpy", marker = "python_full_version < '3.12'", specifier = "==2.3.5" }, + { name = "numpy", marker = "python_full_version >= '3.12'", specifier = "==2.5.3" }, + { name = "openpyxl", marker = "extra == 'research'", specifier = ">=3.1" }, + { name = "pydantic", specifier = "==2.13.5" }, + { name = "pydantic", marker = "extra == 'server'", specifier = "==2.13.5" }, + { name = "pymupdf", marker = "extra == 'research'", specifier = ">=1.24" }, + { name = "pytest", marker = "extra == 'dev'", specifier = "==9.1.1" }, + { name = "pytest-cov", marker = "extra == 'dev'", specifier = "==7.1.0" }, + { name = "python-flint", marker = "extra == 'arb'", specifier = "==0.8.0" }, + { name = "pyyaml", specifier = "==6.0.3" }, + { name = "ruff", marker = "extra == 'dev'", specifier = ">=0.15.20" }, + { name = "scikit-sundae", marker = "extra == 'ida'", specifier = "==1.1.3" }, + { name = "scipy", marker = "python_full_version < '3.12'", specifier = "==1.16.3" }, + { name = "scipy", marker = "python_full_version >= '3.12'", specifier = "==1.18.1" }, + { name = "threadpoolctl", specifier = "==3.6.0" }, + { name = "uvicorn", marker = "extra == 'server'", specifier = "==0.52.4" }, +] +provides-extras = ["server", "queue", "research", "ida", "arb", "dev", "notebook"] + +[[package]] +name = "soupsieve" +version = "2.10" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/71/c3/1b817965ac12dc002d7c9cd7dfffdd7d4fbf9b45763ef2ffe7b86ee94670/soupsieve-2.10.tar.gz", hash = "sha256:49e9380d7d2905463583bafe285e818c7366a9ed7b3aee221c1ac79c905d8bc0", size = 124337, upload-time = "2026-09-24T02:36:35.048Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/66/87/5ed59e1d0290564e2027ed066c52b059892c4637741337fc0967183c8d4d/soupsieve-2.10-py3-none-any.whl", hash = "sha256:8596eb8967d744174820280fa62b4542a2e955bfaccca73ed8a13c6eb8e9b502", size = 38019, upload-time = "2026-09-24T02:36:33.709Z" }, +] + +[[package]] +name = "stack-data" +version = "0.6.3" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "asttokens" }, + { name = "executing" }, + { name = "pure-eval" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/28/e3/55dcc2cfbc3ca9c29519eb6884dd1415ecb53b0e934862d3559ddcb7e20b/stack_data-0.6.3.tar.gz", hash = "sha256:836a778de4fec4dcd1dcd89ed8abff8a221f58308462e1c4aa2a3cf30148f0b9", size = 44707, upload-time = "2023-09-30T13:58:05.479Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/f1/7b/ce1eafaf1a76852e2ec9b22edecf1daa58175c090266e9f6c64afcd81d91/stack_data-0.6.3-py3-none-any.whl", hash = "sha256:d5558e0c25a4cb0853cddad3d77da9891a08cb85dd9f9f91b9f8cd66e511e695", size = 24521, upload-time = "2023-09-30T13:58:03.53Z" }, +] + +[[package]] +name = "starlette" +version = "1.6.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "anyio" }, + { name = "typing-extensions", marker = "python_full_version < '3.13' or python_full_version >= '3.15'" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/b5/b4/205b0d5241d934e8add0c38aa924c4f9fb7330834ff11e5444db964ec3f9/starlette-1.6.0.tar.gz", hash = "sha256:d4e3ac5e546444960c710297a3c9fc3f7ebae1b7e963f3d36173b49da535be9b", size = 2716969, upload-time = "2026-08-08T18:27:57.512Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/c8/cb/6a6a47d5b464bd08695d254f3da6e7986cc70c9fa5d778eda57538edfe56/starlette-1.6.0-py3-none-any.whl", hash = "sha256:a86dd39d14bb45f85a3d18525215a9ef0cfd1f192ac793220e72598c90335f0c", size = 75969, upload-time = "2026-08-08T18:27:56.196Z" }, +] + +[[package]] +name = "terminado" +version = "0.18.1" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "ptyprocess", marker = "os_name != 'nt'" }, + { name = "pywinpty", marker = "os_name == 'nt'" }, + { name = "tornado" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/8a/11/965c6fd8e5cc254f1fe142d547387da17a8ebfd75a3455f637c663fb38a0/terminado-0.18.1.tar.gz", hash = "sha256:de09f2c4b85de4765f7714688fff57d3e75bad1f909b589fde880460c753fd2e", size = 32701, upload-time = "2024-03-12T14:34:39.026Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/6a/9e/2064975477fdc887e47ad42157e214526dcad8f317a948dee17e1659a62f/terminado-0.18.1-py3-none-any.whl", hash = "sha256:a4468e1b37bb318f8a86514f65814e1afc977cf29b3992a4500d9dd305dcceb0", size = 14154, upload-time = "2024-03-12T14:34:36.569Z" }, +] + +[[package]] +name = "threadpoolctl" +version = "3.6.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/b7/4d/08c89e34946fce2aec4fbb45c9016efd5f4d7f24af8e5d93296e935631d8/threadpoolctl-3.6.0.tar.gz", hash = "sha256:8ab8b4aa3491d812b623328249fab5302a68d2d71745c8a4c719a2fcaba9f44e", size = 21274, upload-time = "2025-03-13T13:49:23.031Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/32/d5/f9a850d79b0851d1d4ef6456097579a9005b31fea68726a4ae5f2d82ddd9/threadpoolctl-3.6.0-py3-none-any.whl", hash = "sha256:43a0b8fd5a2928500110039e43a5eed8480b918967083ea48dc3ab9f13c4a7fb", size = 18638, upload-time = "2025-03-13T13:49:21.846Z" }, +] + +[[package]] +name = "tinycss2" +version = "1.5.1" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "webencodings" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/a3/ae/2ca4913e5c0f09781d75482874c3a95db9105462a92ddd303c7d285d3df2/tinycss2-1.5.1.tar.gz", hash = "sha256:d339d2b616ba90ccce58da8495a78f46e55d4d25f9fd71dfd526f07e7d53f957", size = 88195, upload-time = "2025-11-23T10:29:10.082Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/60/45/c7b5c3168458db837e8ceab06dc77824e18202679d0463f0e8f002143a97/tinycss2-1.5.1-py3-none-any.whl", hash = "sha256:3415ba0f5839c062696996998176c4a3751d18b7edaaeeb658c9ce21ec150661", size = 28404, upload-time = "2025-11-23T10:29:08.676Z" }, +] + +[[package]] +name = "tomli" +version = "2.4.1" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/22/de/48c59722572767841493b26183a0d1cc411d54fd759c5607c4590b6563a6/tomli-2.4.1.tar.gz", hash = "sha256:7c7e1a961a0b2f2472c1ac5b69affa0ae1132c39adcb67aba98568702b9cc23f", size = 17543, upload-time = "2026-03-25T20:22:03.828Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/f4/11/db3d5885d8528263d8adc260bb2d28ebf1270b96e98f0e0268d32b8d9900/tomli-2.4.1-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:f8f0fc26ec2cc2b965b7a3b87cd19c5c6b8c5e5f436b984e85f486d652285c30", size = 154704, upload-time = "2026-03-25T20:21:10.473Z" }, + { url = "https://files.pythonhosted.org/packages/6d/f7/675db52c7e46064a9aa928885a9b20f4124ecb9bc2e1ce74c9106648d202/tomli-2.4.1-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:4ab97e64ccda8756376892c53a72bd1f964e519c77236368527f758fbc36a53a", size = 149454, upload-time = "2026-03-25T20:21:12.036Z" }, + { url = "https://files.pythonhosted.org/packages/61/71/81c50943cf953efa35bce7646caab3cf457a7d8c030b27cfb40d7235f9ee/tomli-2.4.1-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:96481a5786729fd470164b47cdb3e0e58062a496f455ee41b4403be77cb5a076", size = 237561, upload-time = "2026-03-25T20:21:13.098Z" }, + { url = "https://files.pythonhosted.org/packages/48/c1/f41d9cb618acccca7df82aaf682f9b49013c9397212cb9f53219e3abac37/tomli-2.4.1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:5a881ab208c0baf688221f8cecc5401bd291d67e38a1ac884d6736cbcd8247e9", size = 243824, upload-time = "2026-03-25T20:21:14.569Z" }, + { url = "https://files.pythonhosted.org/packages/22/e4/5a816ecdd1f8ca51fb756ef684b90f2780afc52fc67f987e3c61d800a46d/tomli-2.4.1-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:47149d5bd38761ac8be13a84864bf0b7b70bc051806bc3669ab1cbc56216b23c", size = 242227, upload-time = "2026-03-25T20:21:15.712Z" }, + { url = "https://files.pythonhosted.org/packages/6b/49/2b2a0ef529aa6eec245d25f0c703e020a73955ad7edf73e7f54ddc608aa5/tomli-2.4.1-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:ec9bfaf3ad2df51ace80688143a6a4ebc09a248f6ff781a9945e51937008fcbc", size = 247859, upload-time = "2026-03-25T20:21:17.001Z" }, + { url = "https://files.pythonhosted.org/packages/83/bd/6c1a630eaca337e1e78c5903104f831bda934c426f9231429396ce3c3467/tomli-2.4.1-cp311-cp311-win32.whl", hash = "sha256:ff2983983d34813c1aeb0fa89091e76c3a22889ee83ab27c5eeb45100560c049", size = 97204, upload-time = "2026-03-25T20:21:18.079Z" }, + { url = "https://files.pythonhosted.org/packages/42/59/71461df1a885647e10b6bb7802d0b8e66480c61f3f43079e0dcd315b3954/tomli-2.4.1-cp311-cp311-win_amd64.whl", hash = "sha256:5ee18d9ebdb417e384b58fe414e8d6af9f4e7a0ae761519fb50f721de398dd4e", size = 108084, upload-time = "2026-03-25T20:21:18.978Z" }, + { url = "https://files.pythonhosted.org/packages/b8/83/dceca96142499c069475b790e7913b1044c1a4337e700751f48ed723f883/tomli-2.4.1-cp311-cp311-win_arm64.whl", hash = "sha256:c2541745709bad0264b7d4705ad453b76ccd191e64aa6f0fc66b69a293a45ece", size = 95285, upload-time = "2026-03-25T20:21:20.309Z" }, + { url = "https://files.pythonhosted.org/packages/c1/ba/42f134a3fe2b370f555f44b1d72feebb94debcab01676bf918d0cb70e9aa/tomli-2.4.1-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:c742f741d58a28940ce01d58f0ab2ea3ced8b12402f162f4d534dfe18ba1cd6a", size = 155924, upload-time = "2026-03-25T20:21:21.626Z" }, + { url = "https://files.pythonhosted.org/packages/dc/c7/62d7a17c26487ade21c5422b646110f2162f1fcc95980ef7f63e73c68f14/tomli-2.4.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:7f86fd587c4ed9dd76f318225e7d9b29cfc5a9d43de44e5754db8d1128487085", size = 150018, upload-time = "2026-03-25T20:21:23.002Z" }, + { url = "https://files.pythonhosted.org/packages/5c/05/79d13d7c15f13bdef410bdd49a6485b1c37d28968314eabee452c22a7fda/tomli-2.4.1-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:ff18e6a727ee0ab0388507b89d1bc6a22b138d1e2fa56d1ad494586d61d2eae9", size = 244948, upload-time = "2026-03-25T20:21:24.04Z" }, + { url = "https://files.pythonhosted.org/packages/10/90/d62ce007a1c80d0b2c93e02cab211224756240884751b94ca72df8a875ca/tomli-2.4.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:136443dbd7e1dee43c68ac2694fde36b2849865fa258d39bf822c10e8068eac5", size = 253341, upload-time = "2026-03-25T20:21:25.177Z" }, + { url = "https://files.pythonhosted.org/packages/1a/7e/caf6496d60152ad4ed09282c1885cca4eea150bfd007da84aea07bcc0a3e/tomli-2.4.1-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:5e262d41726bc187e69af7825504c933b6794dc3fbd5945e41a79bb14c31f585", size = 248159, upload-time = "2026-03-25T20:21:26.364Z" }, + { url = "https://files.pythonhosted.org/packages/99/e7/c6f69c3120de34bbd882c6fba7975f3d7a746e9218e56ab46a1bc4b42552/tomli-2.4.1-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:5cb41aa38891e073ee49d55fbc7839cfdb2bc0e600add13874d048c94aadddd1", size = 253290, upload-time = "2026-03-25T20:21:27.46Z" }, + { url = "https://files.pythonhosted.org/packages/d6/2f/4a3c322f22c5c66c4b836ec58211641a4067364f5dcdd7b974b4c5da300c/tomli-2.4.1-cp312-cp312-win32.whl", hash = "sha256:da25dc3563bff5965356133435b757a795a17b17d01dbc0f42fb32447ddfd917", size = 98141, upload-time = "2026-03-25T20:21:28.492Z" }, + { url = "https://files.pythonhosted.org/packages/24/22/4daacd05391b92c55759d55eaee21e1dfaea86ce5c571f10083360adf534/tomli-2.4.1-cp312-cp312-win_amd64.whl", hash = "sha256:52c8ef851d9a240f11a88c003eacb03c31fc1c9c4ec64a99a0f922b93874fda9", size = 108847, upload-time = "2026-03-25T20:21:29.386Z" }, + { url = "https://files.pythonhosted.org/packages/68/fd/70e768887666ddd9e9f5d85129e84910f2db2796f9096aa02b721a53098d/tomli-2.4.1-cp312-cp312-win_arm64.whl", hash = "sha256:f758f1b9299d059cc3f6546ae2af89670cb1c4d48ea29c3cacc4fe7de3058257", size = 95088, upload-time = "2026-03-25T20:21:30.677Z" }, + { url = "https://files.pythonhosted.org/packages/07/06/b823a7e818c756d9a7123ba2cda7d07bc2dd32835648d1a7b7b7a05d848d/tomli-2.4.1-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:36d2bd2ad5fb9eaddba5226aa02c8ec3fa4f192631e347b3ed28186d43be6b54", size = 155866, upload-time = "2026-03-25T20:21:31.65Z" }, + { url = "https://files.pythonhosted.org/packages/14/6f/12645cf7f08e1a20c7eb8c297c6f11d31c1b50f316a7e7e1e1de6e2e7b7e/tomli-2.4.1-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:eb0dc4e38e6a1fd579e5d50369aa2e10acfc9cace504579b2faabb478e76941a", size = 149887, upload-time = "2026-03-25T20:21:33.028Z" }, + { url = "https://files.pythonhosted.org/packages/5c/e0/90637574e5e7212c09099c67ad349b04ec4d6020324539297b634a0192b0/tomli-2.4.1-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:c7f2c7f2b9ca6bdeef8f0fa897f8e05085923eb091721675170254cbc5b02897", size = 243704, upload-time = "2026-03-25T20:21:34.51Z" }, + { url = "https://files.pythonhosted.org/packages/10/8f/d3ddb16c5a4befdf31a23307f72828686ab2096f068eaf56631e136c1fdd/tomli-2.4.1-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:f3c6818a1a86dd6dca7ddcaaf76947d5ba31aecc28cb1b67009a5877c9a64f3f", size = 251628, upload-time = "2026-03-25T20:21:36.012Z" }, + { url = "https://files.pythonhosted.org/packages/e3/f1/dbeeb9116715abee2485bf0a12d07a8f31af94d71608c171c45f64c0469d/tomli-2.4.1-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:d312ef37c91508b0ab2cee7da26ec0b3ed2f03ce12bd87a588d771ae15dcf82d", size = 247180, upload-time = "2026-03-25T20:21:37.136Z" }, + { url = "https://files.pythonhosted.org/packages/d3/74/16336ffd19ed4da28a70959f92f506233bd7cfc2332b20bdb01591e8b1d1/tomli-2.4.1-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:51529d40e3ca50046d7606fa99ce3956a617f9b36380da3b7f0dd3dd28e68cb5", size = 251674, upload-time = "2026-03-25T20:21:38.298Z" }, + { url = "https://files.pythonhosted.org/packages/16/f9/229fa3434c590ddf6c0aa9af64d3af4b752540686cace29e6281e3458469/tomli-2.4.1-cp313-cp313-win32.whl", hash = "sha256:2190f2e9dd7508d2a90ded5ed369255980a1bcdd58e52f7fe24b8162bf9fedbd", size = 97976, upload-time = "2026-03-25T20:21:39.316Z" }, + { url = "https://files.pythonhosted.org/packages/6a/1e/71dfd96bcc1c775420cb8befe7a9d35f2e5b1309798f009dca17b7708c1e/tomli-2.4.1-cp313-cp313-win_amd64.whl", hash = "sha256:8d65a2fbf9d2f8352685bc1364177ee3923d6baf5e7f43ea4959d7d8bc326a36", size = 108755, upload-time = "2026-03-25T20:21:40.248Z" }, + { url = "https://files.pythonhosted.org/packages/83/7a/d34f422a021d62420b78f5c538e5b102f62bea616d1d75a13f0a88acb04a/tomli-2.4.1-cp313-cp313-win_arm64.whl", hash = "sha256:4b605484e43cdc43f0954ddae319fb75f04cc10dd80d830540060ee7cd0243cd", size = 95265, upload-time = "2026-03-25T20:21:41.219Z" }, + { url = "https://files.pythonhosted.org/packages/3c/fb/9a5c8d27dbab540869f7c1f8eb0abb3244189ce780ba9cd73f3770662072/tomli-2.4.1-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:fd0409a3653af6c147209d267a0e4243f0ae46b011aa978b1080359fddc9b6cf", size = 155726, upload-time = "2026-03-25T20:21:42.23Z" }, + { url = "https://files.pythonhosted.org/packages/62/05/d2f816630cc771ad836af54f5001f47a6f611d2d39535364f148b6a92d6b/tomli-2.4.1-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:a120733b01c45e9a0c34aeef92bf0cf1d56cfe81ed9d47d562f9ed591a9828ac", size = 149859, upload-time = "2026-03-25T20:21:43.386Z" }, + { url = "https://files.pythonhosted.org/packages/ce/48/66341bdb858ad9bd0ceab5a86f90eddab127cf8b046418009f2125630ecb/tomli-2.4.1-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:559db847dc486944896521f68d8190be1c9e719fced785720d2216fe7022b662", size = 244713, upload-time = "2026-03-25T20:21:44.474Z" }, + { url = "https://files.pythonhosted.org/packages/df/6d/c5fad00d82b3c7a3ab6189bd4b10e60466f22cfe8a08a9394185c8a8111c/tomli-2.4.1-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:01f520d4f53ef97964a240a035ec2a869fe1a37dde002b57ebc4417a27ccd853", size = 252084, upload-time = "2026-03-25T20:21:45.62Z" }, + { url = "https://files.pythonhosted.org/packages/00/71/3a69e86f3eafe8c7a59d008d245888051005bd657760e96d5fbfb0b740c2/tomli-2.4.1-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:7f94b27a62cfad8496c8d2513e1a222dd446f095fca8987fceef261225538a15", size = 247973, upload-time = "2026-03-25T20:21:46.937Z" }, + { url = "https://files.pythonhosted.org/packages/67/50/361e986652847fec4bd5e4a0208752fbe64689c603c7ae5ea7cb16b1c0ca/tomli-2.4.1-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:ede3e6487c5ef5d28634ba3f31f989030ad6af71edfb0055cbbd14189ff240ba", size = 256223, upload-time = "2026-03-25T20:21:48.467Z" }, + { url = "https://files.pythonhosted.org/packages/8c/9a/b4173689a9203472e5467217e0154b00e260621caa227b6fa01feab16998/tomli-2.4.1-cp314-cp314-win32.whl", hash = "sha256:3d48a93ee1c9b79c04bb38772ee1b64dcf18ff43085896ea460ca8dec96f35f6", size = 98973, upload-time = "2026-03-25T20:21:49.526Z" }, + { url = "https://files.pythonhosted.org/packages/14/58/640ac93bf230cd27d002462c9af0d837779f8773bc03dee06b5835208214/tomli-2.4.1-cp314-cp314-win_amd64.whl", hash = "sha256:88dceee75c2c63af144e456745e10101eb67361050196b0b6af5d717254dddf7", size = 109082, upload-time = "2026-03-25T20:21:50.506Z" }, + { url = "https://files.pythonhosted.org/packages/d5/2f/702d5e05b227401c1068f0d386d79a589bb12bf64c3d2c72ce0631e3bc49/tomli-2.4.1-cp314-cp314-win_arm64.whl", hash = "sha256:b8c198f8c1805dc42708689ed6864951fd2494f924149d3e4bce7710f8eb5232", size = 96490, upload-time = "2026-03-25T20:21:51.474Z" }, + { url = "https://files.pythonhosted.org/packages/45/4b/b877b05c8ba62927d9865dd980e34a755de541eb65fffba52b4cc495d4d2/tomli-2.4.1-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:d4d8fe59808a54658fcc0160ecfb1b30f9089906c50b23bcb4c69eddc19ec2b4", size = 164263, upload-time = "2026-03-25T20:21:52.543Z" }, + { url = "https://files.pythonhosted.org/packages/24/79/6ab420d37a270b89f7195dec5448f79400d9e9c1826df982f3f8e97b24fd/tomli-2.4.1-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:7008df2e7655c495dd12d2a4ad038ff878d4ca4b81fccaf82b714e07eae4402c", size = 160736, upload-time = "2026-03-25T20:21:53.674Z" }, + { url = "https://files.pythonhosted.org/packages/02/e0/3630057d8eb170310785723ed5adcdfb7d50cb7e6455f85ba8a3deed642b/tomli-2.4.1-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:1d8591993e228b0c930c4bb0db464bdad97b3289fb981255d6c9a41aedc84b2d", size = 270717, upload-time = "2026-03-25T20:21:55.129Z" }, + { url = "https://files.pythonhosted.org/packages/7a/b4/1613716072e544d1a7891f548d8f9ec6ce2faf42ca65acae01d76ea06bb0/tomli-2.4.1-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:734e20b57ba95624ecf1841e72b53f6e186355e216e5412de414e3c51e5e3c41", size = 278461, upload-time = "2026-03-25T20:21:56.228Z" }, + { url = "https://files.pythonhosted.org/packages/05/38/30f541baf6a3f6df77b3df16b01ba319221389e2da59427e221ef417ac0c/tomli-2.4.1-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:8a650c2dbafa08d42e51ba0b62740dae4ecb9338eefa093aa5c78ceb546fcd5c", size = 274855, upload-time = "2026-03-25T20:21:57.653Z" }, + { url = "https://files.pythonhosted.org/packages/77/a3/ec9dd4fd2c38e98de34223b995a3b34813e6bdadf86c75314c928350ed14/tomli-2.4.1-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:504aa796fe0569bb43171066009ead363de03675276d2d121ac1a4572397870f", size = 283144, upload-time = "2026-03-25T20:21:59.089Z" }, + { url = "https://files.pythonhosted.org/packages/ef/be/605a6261cac79fba2ec0c9827e986e00323a1945700969b8ee0b30d85453/tomli-2.4.1-cp314-cp314t-win32.whl", hash = "sha256:b1d22e6e9387bf4739fbe23bfa80e93f6b0373a7f1b96c6227c32bef95a4d7a8", size = 108683, upload-time = "2026-03-25T20:22:00.214Z" }, + { url = "https://files.pythonhosted.org/packages/12/64/da524626d3b9cc40c168a13da8335fe1c51be12c0a63685cc6db7308daae/tomli-2.4.1-cp314-cp314t-win_amd64.whl", hash = "sha256:2c1c351919aca02858f740c6d33adea0c5deea37f9ecca1cc1ef9e884a619d26", size = 121196, upload-time = "2026-03-25T20:22:01.169Z" }, + { url = "https://files.pythonhosted.org/packages/5a/cd/e80b62269fc78fc36c9af5a6b89c835baa8af28ff5ad28c7028d60860320/tomli-2.4.1-cp314-cp314t-win_arm64.whl", hash = "sha256:eab21f45c7f66c13f2a9e0e1535309cee140182a9cdae1e041d02e47291e8396", size = 100393, upload-time = "2026-03-25T20:22:02.137Z" }, + { url = "https://files.pythonhosted.org/packages/7b/61/cceae43728b7de99d9b847560c262873a1f6c98202171fd5ed62640b494b/tomli-2.4.1-py3-none-any.whl", hash = "sha256:0d85819802132122da43cb86656f8d1f8c6587d54ae7dcaf30e90533028b49fe", size = 14583, upload-time = "2026-03-25T20:22:03.012Z" }, +] + +[[package]] +name = "tornado" +version = "6.5.10" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/06/61/53d562a57b28c08eda40b258c0f975e360541943ad7c7bef897a40caafda/tornado-6.5.10.tar.gz", hash = "sha256:a6b1ccd08c04b4a06fb5aeb381be99de5ad1e5375c1785e31d78c880feb57687", size = 537910, upload-time = "2026-09-15T13:47:48.73Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/cd/5b/ff5fc58fa2427c30dea74c90053f4fc5eda1e7f3833ed3ecc7147fe2b311/tornado-6.5.10-cp39-abi3-macosx_10_9_universal2.whl", hash = "sha256:9261783640e23258694a9ff0795df430a5a7b0a651d3dd53dd0969ad6be16da7", size = 465883, upload-time = "2026-09-15T13:47:35.463Z" }, + { url = "https://files.pythonhosted.org/packages/ad/f5/cd7be26c34a3315532f3aef5f092465da8f59c334dd439d3c14aaef16461/tornado-6.5.10-cp39-abi3-macosx_10_9_x86_64.whl", hash = "sha256:83e6cf438b106c6b3852d70960967bb1b70c87438050dca0981e4b9aa751a4c1", size = 464046, upload-time = "2026-09-15T13:47:37.178Z" }, + { url = "https://files.pythonhosted.org/packages/60/33/df6d7d04854a58619f8349a51e3edb138324130a7562b0bb21f115bb940f/tornado-6.5.10-cp39-abi3-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:bdf942448169e5336451d0494d7e3d81cfa726d5aa312affdc4682dd62a62f6d", size = 467096, upload-time = "2026-09-15T13:47:38.559Z" }, + { url = "https://files.pythonhosted.org/packages/29/17/cc35dff68272d685cffd8600ffafbd8067e7d05e7348d9f80caddffbbd5f/tornado-6.5.10-cp39-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:69acca6501eed74582b76dbbceee2a91613f54728e3e418346000d7103101676", size = 468067, upload-time = "2026-09-15T13:47:40.085Z" }, + { url = "https://files.pythonhosted.org/packages/c3/01/6e5349b4e1a53a4b4972a6716785e1fe7407f312063c3972690af8ff301b/tornado-6.5.10-cp39-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:66aaa3f57d30c6e6becee83ff28055d5930ac724214bde99393eefda83d5e015", size = 467901, upload-time = "2026-09-15T13:47:41.576Z" }, + { url = "https://files.pythonhosted.org/packages/28/5e/b4facf94370dba006819c8d304376f8b9fbec6b935b5e51bf45823a9790b/tornado-6.5.10-cp39-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:4bd192b959f9128fb99b8898148070ba4574c9589b78bce42d1851131fe85828", size = 467308, upload-time = "2026-09-15T13:47:43.145Z" }, + { url = "https://files.pythonhosted.org/packages/56/ae/047938e828cafc8eca4c908fafb6588fee944e3af39a0af9d7b602499ae5/tornado-6.5.10-cp39-abi3-win32.whl", hash = "sha256:302eb1e0e3e159314eb591920529fdea80acca92df5510a2cec5bbd4f099ec72", size = 468387, upload-time = "2026-09-15T13:47:44.556Z" }, + { url = "https://files.pythonhosted.org/packages/d8/d4/5901517f05affd752490f6a654ba31b7474664e8dd80bd045a00c220bd88/tornado-6.5.10-cp39-abi3-win_amd64.whl", hash = "sha256:37ae8f150cecfdbf747fc4e12f5e9a97ecd8cf1d4cdb3f119e2de84b11196918", size = 468828, upload-time = "2026-09-15T13:47:45.961Z" }, + { url = "https://files.pythonhosted.org/packages/f3/1a/fd497f3a7f7b74bb04f4b94536b5c9f80742b5d50501fd27977652ddec16/tornado-6.5.10-cp39-abi3-win_arm64.whl", hash = "sha256:ce045d3c298fddd30e89a2777f97039d1b641eb9518ac7b26a4721903539c694", size = 467847, upload-time = "2026-09-15T13:47:47.283Z" }, +] + +[[package]] +name = "traitlets" +version = "5.16.1" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/2c/2e/a7fbfe268c8a3b32546930c0297c101d65a4a14c304ad5790a9f478f0e4e/traitlets-5.16.1.tar.gz", hash = "sha256:ed900c2b631aa3a112811139fa97b8d2c3bad5e989656bba4b7e52c7852c18c1", size = 166137, upload-time = "2026-08-03T08:32:36.848Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/ad/66/0d785f0bc5e4315a96c989bb476d0fc07ea4f85132550c7b156ca2035d52/traitlets-5.16.1-py3-none-any.whl", hash = "sha256:f775618166caa0396c8e337099240f2bd3e5e917d203b2e6fbe21a58d3cb1f6b", size = 86211, upload-time = "2026-08-03T08:32:34.48Z" }, +] + +[[package]] +name = "typing-extensions" +version = "4.16.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/f6/cc/6253133b5bb138fc3306cebfbda2c520f545d36b5be2c7255cc528bb45d6/typing_extensions-4.16.0.tar.gz", hash = "sha256:dc983d19a509c94dba722ee6abd33940f7c05a89e243c47e907eb4db6f1a43e5", size = 113555, upload-time = "2026-07-02T08:40:05.92Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/49/d3/b8441a820a491ddfc024b0b0cf0393375b75ea13866d9c66727e54c2fc80/typing_extensions-4.16.0-py3-none-any.whl", hash = "sha256:481caa481374e813c1b176ada14e97f1f67a4539ce9cfeb3f350d78d6370c2e8", size = 45571, upload-time = "2026-07-02T08:40:04.659Z" }, +] + +[[package]] +name = "typing-inspection" +version = "0.4.4" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "typing-extensions" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/a3/26/b09b8010994eccc3c09092e6b34058f36a460eea2d4c3e8b910c695975a0/typing_inspection-0.4.4.tar.gz", hash = "sha256:547274fa6b0a561ccf549cc9524b999a578e737d015d8709d021f9d0d13bea47", size = 76928, upload-time = "2026-08-12T12:37:25.997Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/67/81/4add07e5172b7ac40d8ed5ff580409a7801a4fe26d529bdd915401dabfbe/typing_inspection-0.4.4-py3-none-any.whl", hash = "sha256:65b8397ba37ccbce054456aaccddfc91e6e3083c92824df348d96ca832f3f147", size = 14750, upload-time = "2026-08-12T12:37:24.648Z" }, +] + +[[package]] +name = "tzdata" +version = "2026.5" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/d9/68/f1b440335057bfce71b6e50a9d09445aa2ecbd08359a337976627b8409e7/tzdata-2026.5.tar.gz", hash = "sha256:8cc73c0a0bfca7dbfa59235d60b2eff82231dee33f53d206db1acd9173cfc0a7", size = 200404, upload-time = "2026-10-03T09:23:14.143Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/94/21/1e5995a1c920cce14e4bffae20c665ec10e7ed03ab25e006cd741092b718/tzdata-2026.5-py2.py3-none-any.whl", hash = "sha256:b683bd1b6659ddcd810ff02ad09ba821d4bf1065072805063eb35c49617905ac", size = 347996, upload-time = "2026-10-03T09:23:12.535Z" }, +] + +[[package]] +name = "uri-template" +version = "1.3.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/31/c7/0336f2bd0bcbada6ccef7aaa25e443c118a704f828a0620c6fa0207c1b64/uri-template-1.3.0.tar.gz", hash = "sha256:0e00f8eb65e18c7de20d595a14336e9f337ead580c70934141624b6d1ffdacc7", size = 21678, upload-time = "2023-06-21T01:49:05.374Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/e7/00/3fca040d7cf8a32776d3d81a00c8ee7457e00f80c649f1e4a863c8321ae9/uri_template-1.3.0-py3-none-any.whl", hash = "sha256:a44a133ea12d44a0c0f06d7d42a52d71282e77e2f937d8abd5655b8d56fc1363", size = 11140, upload-time = "2023-06-21T01:49:03.467Z" }, +] + +[[package]] +name = "urllib3" +version = "2.8.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/e3/05/b17359e1cefb4f909b5e40b1b90a496d987258916dbbf88e842c729f510e/urllib3-2.8.0.tar.gz", hash = "sha256:63bf2ead4c879426ebf22ef2a781eeb4aa3b4ae798a0435506f8687fd5bb9b63", size = 458972, upload-time = "2026-09-15T19:29:36.253Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/92/9d/c4e665119135114480843e7ab388fa94d8480650450e6f8e26b70d323a4c/urllib3-2.8.0-py3-none-any.whl", hash = "sha256:0cf3cae568d36aa9576b28dfb35f11328f1cb974ca7647d9475ebb86c75ac6e3", size = 135717, upload-time = "2026-09-15T19:29:34.577Z" }, +] + +[[package]] +name = "uvicorn" +version = "0.52.4" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "click" }, + { name = "h11" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/f2/0f/3f86e61397dd33bf2ccf28188c40db6a740658aeebbbf6e7dbc101a1f487/uvicorn-0.52.4.tar.gz", hash = "sha256:73acfee47a0b133c5de13d219492d62d8a31e935f4fe6e41a232451a15379f86", size = 100627, upload-time = "2026-08-19T06:27:41.821Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/f1/79/4a20b54ab0491485ccd8c077db2d39187c7f12b3e15485d38a7be37c81b4/uvicorn-0.52.4-py3-none-any.whl", hash = "sha256:f86e41a149d7d05a9969337e3946a9c171c06a5d42680896daaba624aeac8da1", size = 79871, upload-time = "2026-08-19T06:27:40.36Z" }, +] + +[[package]] +name = "vine" +version = "5.1.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/bd/e4/d07b5f29d283596b9727dd5275ccbceb63c44a1a82aa9e4bfd20426762ac/vine-5.1.0.tar.gz", hash = "sha256:8b62e981d35c41049211cf62a0a1242d8c1ee9bd15bb196ce38aefd6799e61e0", size = 48980, upload-time = "2023-11-05T08:46:53.857Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/03/ff/7c0c86c43b3cbb927e0ccc0255cb4057ceba4799cd44ae95174ce8e8b5b2/vine-5.1.0-py3-none-any.whl", hash = "sha256:40fdf3c48b2cfe1c38a49e9ae2da6fda88e4794c810050a728bd7413811fb1dc", size = 9636, upload-time = "2023-11-05T08:46:51.205Z" }, +] + +[[package]] +name = "wcwidth" +version = "0.9.2" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/f0/b4/7830542634bb2d3e62aa3b586a72d5b3b6c91c3168929e7000ef3fed041d/wcwidth-0.9.2.tar.gz", hash = "sha256:ae0ef90b90f6af38b54f1fe6d58662ec33b3cb4b8391958a62416d654231727b", size = 955039, upload-time = "2026-10-05T00:24:05.521Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/59/1e/4532a81fb9dfbf4114a816775e0a36c3a64ee1d1f4bba2094e2da50be5dc/wcwidth-0.9.2-cp310-abi3-macosx_10_9_x86_64.whl", hash = "sha256:7ef5a940bd5e30bac6e721f1a48fce0cd7bb3ece19e9c5d139e72c76c35cfd07", size = 605343, upload-time = "2026-10-05T00:23:22.649Z" }, + { url = "https://files.pythonhosted.org/packages/a0/07/cb6940e81134b7ed25fa312ee9ab536a63db0793b149f88a90e603ceace9/wcwidth-0.9.2-cp310-abi3-macosx_11_0_arm64.whl", hash = "sha256:ae0800c5339423cc53d33a266ad264b42ba8aaa16d4464f6e6b1bee607f50b17", size = 609960, upload-time = "2026-10-05T00:23:27.049Z" }, + { url = "https://files.pythonhosted.org/packages/a4/80/15ad05d40bfa99155639fb9e13b3d77083aa0fab893c816db2543d29005c/wcwidth-0.9.2-cp310-abi3-manylinux1_i686.manylinux2014_i686.manylinux_2_17_i686.manylinux_2_5_i686.whl", hash = "sha256:9e542f1f8475b78452a295495d7a5bc3ead565112e9446a64dc93462a41c2a79", size = 762566, upload-time = "2026-10-05T00:23:38.322Z" }, + { url = "https://files.pythonhosted.org/packages/bc/f0/b8ef7758003d66b60f093695831a86dcc726aac01ee6446ffcbda27b61e3/wcwidth-0.9.2-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:674b518af28d38ee645ff97b74f5760abee5fad4bac74413bfc4b881ef2ce724", size = 771632, upload-time = "2026-10-05T00:23:32.448Z" }, + { url = "https://files.pythonhosted.org/packages/db/6c/f940133c71427c208575910e981942bd78c98b1f7cd0d1425ca4b7457c04/wcwidth-0.9.2-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:751bef0ab404b6a1dc028b56b4b85d46486be1c55833f80da533e42dc691f389", size = 769763, upload-time = "2026-10-05T00:23:40.175Z" }, + { url = "https://files.pythonhosted.org/packages/92/8f/285f862826f721964ec7c42f81dc53d23afbd723a0f4cd989651f8218e25/wcwidth-0.9.2-cp310-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:c3d80f39ba4653a595edae9aa46a509d14883790a8fc23c5db221ceb207f64b7", size = 782134, upload-time = "2026-10-05T00:23:33.926Z" }, + { url = "https://files.pythonhosted.org/packages/c2/2d/64aa54882a5d556d3654c1f926d9118b797461033e23a158409941a37c8f/wcwidth-0.9.2-cp310-abi3-musllinux_1_2_i686.whl", hash = "sha256:0a47e03d8293590ecce66c45dc20ff7b4b885e3c78093722239585eca0d77ab2", size = 782851, upload-time = "2026-10-05T00:23:41.974Z" }, + { url = "https://files.pythonhosted.org/packages/59/39/52389f6de7fe2e9c14ceb8253dd99034bd86e1c87847ea3c100a97dded9a/wcwidth-0.9.2-cp310-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:67d901a4ad99249eb775b4ee4769ca97fa405d35a75f46e83166910a47003f04", size = 784621, upload-time = "2026-10-05T00:23:43.449Z" }, + { url = "https://files.pythonhosted.org/packages/b3/8b/20225500a076ace27bbcc8a6fd7c55125133c57a618816c7b7b8b73070b1/wcwidth-0.9.2-cp310-abi3-win32.whl", hash = "sha256:ee1fd0db9d9fd711a70f3e7765e0e04c05d26982fa05361456163062549d7da4", size = 593123, upload-time = "2026-10-05T00:23:55.953Z" }, + { url = "https://files.pythonhosted.org/packages/5a/d6/b0690f55ea0483530a18bac917fbadbf54f35122510446fc370f5f1c2453/wcwidth-0.9.2-cp310-abi3-win_amd64.whl", hash = "sha256:2a9746de704242bd4fdaabb31dd46b82f694a56a8d21081ad89b679a89da9fec", size = 597827, upload-time = "2026-10-05T00:23:57.489Z" }, + { url = "https://files.pythonhosted.org/packages/e5/11/6ecf4e9e268ab1a4ec617ffcccc2ee4a71301625f5490912dbaba462fa9c/wcwidth-0.9.2-cp310-abi3-win_arm64.whl", hash = "sha256:b9c6ab615e03723b7f8760ea2f27758d656e7e13b51515c9dca5c3e8b04612fa", size = 598415, upload-time = "2026-10-05T00:23:51.517Z" }, + { url = "https://files.pythonhosted.org/packages/4e/41/549eef1ab767032bdbdc1f0ab655d404b082b1e9a1dab1361dbba90f64ed/wcwidth-0.9.2-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:eda88ffdc97c0fbf193d407114f2c7a54b379f67f6e52a7531ee3b9fe749eca7", size = 606555, upload-time = "2026-10-05T00:23:24.188Z" }, + { url = "https://files.pythonhosted.org/packages/9b/64/a875ed7ea71cacadc0ae11b5fd3fac3486efd58bb25e67a7344248dceadd/wcwidth-0.9.2-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:1bf361c8705576760623b4724ae564666d73b016f9a778bcfd1c7345378ef4ec", size = 610829, upload-time = "2026-10-05T00:23:28.563Z" }, + { url = "https://files.pythonhosted.org/packages/c6/98/513095e484fe79b6f2613d6a72f855f5d56b65e15c215c2a6746fbc638f5/wcwidth-0.9.2-cp314-cp314t-manylinux1_i686.manylinux2014_i686.manylinux_2_17_i686.manylinux_2_5_i686.whl", hash = "sha256:97b878d1e158da5ed9ac5aac53fa3a55e282103af6a09ec353865613d1a31a76", size = 775819, upload-time = "2026-10-05T00:23:45.116Z" }, + { url = "https://files.pythonhosted.org/packages/22/fc/c02f3eec57224731e78f84b68e272250f784b6205acc7e0dcef6a7c23a0e/wcwidth-0.9.2-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:59dab4049cbd982b478bca098528df2c79a9160636a3a163ffebffcbd7d1b892", size = 786915, upload-time = "2026-10-05T00:23:35.323Z" }, + { url = "https://files.pythonhosted.org/packages/3d/6f/b0529a79bac3fe8d94f32b4237a13dbc3f955508753f6a6f06c73d679dc2/wcwidth-0.9.2-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:bb08ceb501d6aaf94066c3ee122dd825b152df40ff0bd0df4dc27126233b948e", size = 784186, upload-time = "2026-10-05T00:23:46.366Z" }, + { url = "https://files.pythonhosted.org/packages/d5/bd/6357c84ca9a734bfc735b7c48dbe21336b3777fab8a4101d14976dfe49a7/wcwidth-0.9.2-cp314-cp314t-win32.whl", hash = "sha256:8b4e381590b9b7390e07e22b2c0c1bb96ce50e1d2243c866d9387600362d51ed", size = 600791, upload-time = "2026-10-05T00:23:59.398Z" }, + { url = "https://files.pythonhosted.org/packages/98/de/037591ca18d897cc2179559dde72e6efc6ce0c90e9cd1e6bca4e87c38b4b/wcwidth-0.9.2-cp314-cp314t-win_amd64.whl", hash = "sha256:f2f7b3bba5a5d5f31fc350fd36ce5b84b693c83b7eb95ee630b720da5a5ce06f", size = 605463, upload-time = "2026-10-05T00:24:01.049Z" }, + { url = "https://files.pythonhosted.org/packages/d0/07/c9d96e106d938d26f7ab639bc80b8199359a1645ba6e3498413313ab6f38/wcwidth-0.9.2-cp314-cp314t-win_arm64.whl", hash = "sha256:734aa9405b321d1042301aa19c943c4731ee9e3460e4f8feea3299c064c97a14", size = 605936, upload-time = "2026-10-05T00:23:52.765Z" }, + { url = "https://files.pythonhosted.org/packages/82/8a/a28d61d910005ac93dfe48be3a0ebaa49352d88cebd25323e69e6ff2f4a8/wcwidth-0.9.2-cp315-cp315t-macosx_10_15_x86_64.whl", hash = "sha256:42dbcb76ce8af39e2c9db410ac3f9bdf4e47eb41d6f44525952f172d3d98f724", size = 606575, upload-time = "2026-10-05T00:23:25.663Z" }, + { url = "https://files.pythonhosted.org/packages/01/c2/a3c66bd32766c8f4d6dc47d572532ba014fe5be30489f2576aff7cada363/wcwidth-0.9.2-cp315-cp315t-macosx_11_0_arm64.whl", hash = "sha256:138e1f8898e431b2f2d7881f8ca8d75591c1d3c21aa53f54e989bd6b39811da2", size = 611045, upload-time = "2026-10-05T00:23:30.421Z" }, + { url = "https://files.pythonhosted.org/packages/ec/8a/d39964f8f8c019d7d439b9b501d3e7bb42fee69f00354040ba0b27b5824c/wcwidth-0.9.2-cp315-cp315t-manylinux1_i686.manylinux2014_i686.manylinux_2_17_i686.manylinux_2_5_i686.whl", hash = "sha256:5175609bf8cc7398a5f48aa35207bd64ebf9f45e4c70df65f7fdc7a988041a3c", size = 778143, upload-time = "2026-10-05T00:23:47.7Z" }, + { url = "https://files.pythonhosted.org/packages/2f/53/525da13e8f9ff7b5b4e74ec6f8d68bdee63905796972e086c6b1b96670d2/wcwidth-0.9.2-cp315-cp315t-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:e5f669ae8c3d969c72032f9cdee019674b666e522d45e1e2099a2e9dda4a341d", size = 786630, upload-time = "2026-10-05T00:23:36.967Z" }, + { url = "https://files.pythonhosted.org/packages/ef/9f/d6a0c6df354b9d93466548a65cbf4ffcb48c719bbd307504cf3e76740837/wcwidth-0.9.2-cp315-cp315t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:196b47cf32f9df27ccda6dc513237f3c2429c4c659db428d60a5bc443d10f270", size = 784839, upload-time = "2026-10-05T00:23:49.88Z" }, + { url = "https://files.pythonhosted.org/packages/bf/d7/3021feed1ed7926021ec134943ad3b24a2f7ea742cc9976461171482ed77/wcwidth-0.9.2-cp315-cp315t-win32.whl", hash = "sha256:0cd4f7f2e53905dcb110d213a4c8529b6733fa3d232d8c717f946cc69a10349b", size = 600845, upload-time = "2026-10-05T00:24:02.497Z" }, + { url = "https://files.pythonhosted.org/packages/63/80/6a03356d8ee38261e3a78cf89ee03d8e7f12c572d969237be00869e2dc73/wcwidth-0.9.2-cp315-cp315t-win_amd64.whl", hash = "sha256:33df042f96c61ed3cd5fb3742fba427553a635bc578799857a48aa79f774a0b9", size = 605441, upload-time = "2026-10-05T00:24:04.052Z" }, + { url = "https://files.pythonhosted.org/packages/0c/48/1a308a86a833fd12ff7a08d0d2491ff4a72c8a92d12f5ead8317630f771e/wcwidth-0.9.2-cp315-cp315t-win_arm64.whl", hash = "sha256:48719a9bc76c2f84238693fe5013571fa5beffa3621cf228f1f3a9e30dae84b8", size = 605885, upload-time = "2026-10-05T00:23:54.274Z" }, + { url = "https://files.pythonhosted.org/packages/9c/b4/0bfa065af506540d9d558e3e5548cff00bc1f9b24e6e2a8512498e8628de/wcwidth-0.9.2-py3-none-any.whl", hash = "sha256:89ca642c5bf0101157a09366be69fad0379db1f700ae39a920e103234573670e", size = 301667, upload-time = "2026-10-05T00:23:21.097Z" }, +] + +[[package]] +name = "webcolors" +version = "25.10.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/1d/7a/eb316761ec35664ea5174709a68bbd3389de60d4a1ebab8808bfc264ed67/webcolors-25.10.0.tar.gz", hash = "sha256:62abae86504f66d0f6364c2a8520de4a0c47b80c03fc3a5f1815fedbef7c19bf", size = 53491, upload-time = "2025-10-31T07:51:03.977Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/e2/cc/e097523dd85c9cf5d354f78310927f1656c422bd7b2613b2db3e3f9a0f2c/webcolors-25.10.0-py3-none-any.whl", hash = "sha256:032c727334856fc0b968f63daa252a1ac93d33db2f5267756623c210e57a4f1d", size = 14905, upload-time = "2025-10-31T07:51:01.778Z" }, +] + +[[package]] +name = "webencodings" +version = "0.6.1" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/d5/a0/8fd707bcb776a7be556bad06a2ea5fb9bd519df78ef8e26f70ccf0f38bff/webencodings-0.6.1.tar.gz", hash = "sha256:565f9ad031c702dae404e27a099e3e09186a3ab1b9520f06d215502b651fd910", size = 15001, upload-time = "2026-08-15T14:22:57.549Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/77/c6/040cbc72480d789a5f40d63fb484d3106554c4dfa2d2b70ad5022057750f/webencodings-0.6.1-py3-none-any.whl", hash = "sha256:7fab6269c8bf237c657876b52058ccb182e861518d1c695c1a9aaa8c1c105d5b", size = 8745, upload-time = "2026-08-15T14:22:56.31Z" }, +] + +[[package]] +name = "websocket-client" +version = "1.9.2" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/d8/cb/a5abcc2891249f393827c650c6296660ce40374ac22d99ab9aea41f9d2a2/websocket_client-1.9.2.tar.gz", hash = "sha256:0fcb57545848be86992e128218fd96dd87a6769ffdb1a968dff79632b85604d0", size = 84110, upload-time = "2026-08-31T14:08:40.964Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/d5/d2/cc4dc1271e464942db7ee278baae2daa99ee77cb2af744025c04da585a3e/websocket_client-1.9.2-py3-none-any.whl", hash = "sha256:e1a673830a9c7bfa47b1cd3d5e4178f4c9651d80a4eab02c9c23a1c3ec6250ce", size = 95786, upload-time = "2026-08-31T14:08:39.899Z" }, +] diff --git a/perovskite-sim/frontend/.gitignore b/web/.gitignore similarity index 100% rename from perovskite-sim/frontend/.gitignore rename to web/.gitignore diff --git a/perovskite-sim/frontend/Dockerfile b/web/Dockerfile similarity index 64% rename from perovskite-sim/frontend/Dockerfile rename to web/Dockerfile index 1dbc9429..9951ce81 100644 --- a/perovskite-sim/frontend/Dockerfile +++ b/web/Dockerfile @@ -2,10 +2,10 @@ FROM public.ecr.aws/docker/library/node:22-slim WORKDIR /app -COPY perovskite-sim/frontend/package*.json ./ +COPY web/package*.json ./ RUN npm ci -COPY perovskite-sim/frontend/ ./ +COPY web/ ./ EXPOSE 5173 diff --git a/perovskite-sim/frontend/index.html b/web/index.html similarity index 100% rename from perovskite-sim/frontend/index.html rename to web/index.html diff --git a/perovskite-sim/frontend/package-lock.json b/web/package-lock.json similarity index 96% rename from perovskite-sim/frontend/package-lock.json rename to web/package-lock.json index 7b4c27bd..f71e6978 100644 --- a/perovskite-sim/frontend/package-lock.json +++ b/web/package-lock.json @@ -15,11 +15,53 @@ "devDependencies": { "@vitest/ui": "^1.6.1", "jsdom": "^24.1.3", + "json-schema-to-typescript": "16.0.0", "typescript": "~6.0.2", "vite": "^8.0.4", "vitest": "^1.6.1" } }, + "node_modules/@apidevtools/json-schema-ref-parser": { + "version": "11.9.3", + "resolved": "https://registry.npmjs.org/@apidevtools/json-schema-ref-parser/-/json-schema-ref-parser-11.9.3.tgz", + "integrity": "sha512-60vepv88RwcJtSHrD6MjIL6Ta3SOYbgfnkHb+ppAVK+o9mXprRtulx7VlRl3lN3bbvysAfCS7WMVfhUYemB0IQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jsdevtools/ono": "^7.1.3", + "@types/json-schema": "^7.0.15", + "js-yaml": "^4.1.0" + }, + "engines": { + "node": ">= 16" + }, + "funding": { + "url": "https://github.com/sponsors/philsturgeon" + } + }, + "node_modules/@apidevtools/json-schema-ref-parser/node_modules/js-yaml": { + "version": "4.3.2", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.3.2.tgz", + "integrity": "sha512-SFNOvSJ+Dgf/9An904Yx+CgSlIPCkIpao4qo51lpee25TIRejdH3rhR4EZMGoNx3/TP3O+wzWuiTFl4sqbltzA==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/puzrin" + }, + { + "type": "github", + "url": "https://github.com/sponsors/nodeca" + } + ], + "license": "MIT", + "dependencies": { + "argparse": "^2.0.1" + }, + "bin": { + "js-yaml": "bin/js-yaml.js" + } + }, "node_modules/@asamuzakjp/css-color": { "version": "3.2.0", "resolved": "https://registry.npmjs.org/@asamuzakjp/css-color/-/css-color-3.2.0.tgz", @@ -205,6 +247,13 @@ "dev": true, "license": "MIT" }, + "node_modules/@jsdevtools/ono": { + "version": "7.1.3", + "resolved": "https://registry.npmjs.org/@jsdevtools/ono/-/ono-7.1.3.tgz", + "integrity": "sha512-4JQNk+3mVzK3xh2rqd6RB4J46qUR19azEHBneZyTZM+c456qOrbbM/5xcR8huNCCcbVt7+UmizG6GuUvPvKUYg==", + "dev": true, + "license": "MIT" + }, "node_modules/@napi-rs/wasm-runtime": { "version": "1.1.3", "resolved": "https://registry.npmjs.org/@napi-rs/wasm-runtime/-/wasm-runtime-1.1.3.tgz", @@ -941,6 +990,20 @@ "dev": true, "license": "MIT" }, + "node_modules/@types/json-schema": { + "version": "7.0.15", + "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.15.tgz", + "integrity": "sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==", + "dev": true, + "license": "MIT" + }, + "node_modules/@types/lodash": { + "version": "4.17.25", + "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.17.25.tgz", + "integrity": "sha512-+K1NIO8I+F9/wNulfVvu23QYd0Pe9/OCqRrim4NoYIf1VoEDL90Ve4ClzpyqBLc7NpGGWRvYNCKZ1BE/Jpf8dQ==", + "dev": true, + "license": "MIT" + }, "node_modules/@vitest/expect": { "version": "1.6.1", "resolved": "https://registry.npmjs.org/@vitest/expect/-/expect-1.6.1.tgz", @@ -1086,6 +1149,13 @@ "url": "https://github.com/chalk/ansi-styles?sponsor=1" } }, + "node_modules/argparse": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", + "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", + "dev": true, + "license": "Python-2.0" + }, "node_modules/assertion-error": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/assertion-error/-/assertion-error-1.1.0.tgz", @@ -1802,6 +1872,29 @@ "dev": true, "license": "MIT" }, + "node_modules/js-yaml": { + "version": "5.4.3", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-5.4.3.tgz", + "integrity": "sha512-yzzNtgczwgoVHNigCyKTXcQJU4Y8t/ikU4UxXW0BvrLfHTGWZhsNcOT2s/a7vn81/4KqVnNmHjaUEPlvWnNwVw==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/puzrin" + }, + { + "type": "github", + "url": "https://github.com/sponsors/nodeca" + } + ], + "license": "MIT", + "dependencies": { + "argparse": "^2.0.1" + }, + "bin": { + "js-yaml": "bin/js-yaml.mjs" + } + }, "node_modules/jsdom": { "version": "24.1.3", "resolved": "https://registry.npmjs.org/jsdom/-/jsdom-24.1.3.tgz", @@ -1843,6 +1936,29 @@ } } }, + "node_modules/json-schema-to-typescript": { + "version": "16.0.0", + "resolved": "https://registry.npmjs.org/json-schema-to-typescript/-/json-schema-to-typescript-16.0.0.tgz", + "integrity": "sha512-Ah6kK4q6SjlMzWBH1eNOQkdRh5Qhr5T/RCFwfjQqWZA7UDW+N47A8wfyoiN0L884s4L4bAEI54IjIuN3/u0B/A==", + "dev": true, + "license": "MIT", + "dependencies": { + "@apidevtools/json-schema-ref-parser": "^11.9.3", + "@types/json-schema": "^7.0.15", + "@types/lodash": "^4.17.25", + "js-yaml": "^5.2.3", + "lodash": "^4.18.1", + "minimist": "^1.2.8", + "prettier": "^3.9.6", + "tinyglobby": "^0.2.17" + }, + "bin": { + "json2ts": "dist/src/cli.js" + }, + "engines": { + "node": ">=16.0.0" + } + }, "node_modules/lightningcss": { "version": "1.32.0", "resolved": "https://registry.npmjs.org/lightningcss/-/lightningcss-1.32.0.tgz", @@ -2121,6 +2237,13 @@ "url": "https://github.com/sponsors/antfu" } }, + "node_modules/lodash": { + "version": "4.18.1", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.18.1.tgz", + "integrity": "sha512-dMInicTPVE8d1e5otfwmmjlxkZoUpiVLwyeTdUsi/Caj/gfzzblBcCE5sRHV/AsjuCmxWrte2TNGSYuCeCq+0Q==", + "dev": true, + "license": "MIT" + }, "node_modules/loupe": { "version": "2.3.7", "resolved": "https://registry.npmjs.org/loupe/-/loupe-2.3.7.tgz", @@ -2238,6 +2361,16 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/minimist": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz", + "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==", + "dev": true, + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/mlly": { "version": "1.8.2", "resolved": "https://registry.npmjs.org/mlly/-/mlly-1.8.2.tgz", @@ -2476,6 +2609,22 @@ "node": "^10 || ^12 || >=14" } }, + "node_modules/prettier": { + "version": "3.9.9", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.9.9.tgz", + "integrity": "sha512-Z/CJHIkdujO/OtN7nXUii0Rf3VT5SRuhjBA82Xvu2XhBUgX3nhP67T0LHceBdQLex7OOFGTox+Q5Yg8Jk2Qivg==", + "dev": true, + "license": "MIT", + "bin": { + "prettier": "bin/prettier.cjs" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/prettier/prettier?sponsor=1" + } + }, "node_modules/pretty-format": { "version": "29.7.0", "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-29.7.0.tgz", @@ -2820,9 +2969,9 @@ "license": "MIT" }, "node_modules/tinyglobby": { - "version": "0.2.16", - "resolved": "https://registry.npmjs.org/tinyglobby/-/tinyglobby-0.2.16.tgz", - "integrity": "sha512-pn99VhoACYR8nFHhxqix+uvsbXineAasWm5ojXoN8xEwK5Kd3/TrhNn1wByuD52UxWRLy8pu+kRMniEi6Eq9Zg==", + "version": "0.2.17", + "resolved": "https://registry.npmjs.org/tinyglobby/-/tinyglobby-0.2.17.tgz", + "integrity": "sha512-wXR/dYpcqKmfWpEdZjiKJOwCNFndD0DMnrW/cYjVGttEkBfVgcLFHoNrlj47mjOVic9yyNu65alsgF4NQyTa2g==", "dev": true, "license": "MIT", "dependencies": { diff --git a/perovskite-sim/frontend/package.json b/web/package.json similarity index 65% rename from perovskite-sim/frontend/package.json rename to web/package.json index 5ed4d422..322341df 100644 --- a/perovskite-sim/frontend/package.json +++ b/web/package.json @@ -8,11 +8,14 @@ "build": "tsc && vite build", "preview": "vite preview", "test": "vitest", - "test:run": "vitest run" + "test:run": "vitest run", + "generate:configuration-inputs": "node scripts/generate-configuration-inputs.mjs", + "check:configuration-inputs": "node scripts/generate-configuration-inputs.mjs --check" }, "devDependencies": { "@vitest/ui": "^1.6.1", "jsdom": "^24.1.3", + "json-schema-to-typescript": "16.0.0", "typescript": "~6.0.2", "vite": "^8.0.4", "vitest": "^1.6.1" diff --git a/perovskite-sim/frontend/public/favicon.svg b/web/public/favicon.svg similarity index 100% rename from perovskite-sim/frontend/public/favicon.svg rename to web/public/favicon.svg diff --git a/perovskite-sim/frontend/public/icons.svg b/web/public/icons.svg similarity index 100% rename from perovskite-sim/frontend/public/icons.svg rename to web/public/icons.svg diff --git a/web/scripts/generate-configuration-inputs.mjs b/web/scripts/generate-configuration-inputs.mjs new file mode 100644 index 00000000..b337ae33 --- /dev/null +++ b/web/scripts/generate-configuration-inputs.mjs @@ -0,0 +1,111 @@ +/** Structural editable inputs only; Python owns numeric, unit and semantic validation. */ +import { spawnSync } from 'node:child_process'; +import { createHash } from 'node:crypto'; +import { mkdir, readFile, writeFile } from 'node:fs/promises'; +import { createRequire } from 'node:module'; +import { dirname, resolve } from 'node:path'; +import { fileURLToPath } from 'node:url'; +import { parseArgs } from 'node:util'; +import { compile } from 'json-schema-to-typescript'; +import ts from 'typescript'; + +const web = resolve(dirname(fileURLToPath(import.meta.url)), '..'); +const require = createRequire(import.meta.url); +const compiler = require('json-schema-to-typescript/package.json'); +const project = JSON.parse(await readFile(resolve(web, 'package.json'), 'utf8')); +if (project.devDependencies['json-schema-to-typescript'] !== compiler.version) { + throw new Error('Install the exact locked json-schema-to-typescript development dependency.'); +} +const { values } = parseArgs({ + options: { + check: { type: 'boolean', default: false }, + python: { type: 'string', default: process.env.SOLARLAB_PYTHON || 'python3' }, + output: { type: 'string', default: resolve(web, 'src/generated/configuration-inputs.ts') }, + }, +}); +const source = spawnSync(values.python, ['-B', resolve(web, '../scripts/generate_configuration_schema.py'), '--json'], { + encoding: 'utf8', maxBuffer: 4 * 1024 ** 2, timeout: 15000, +}); +if (source.error || source.status !== 0) { + throw new Error(`Configuration schema export failed: ${source.error?.message || source.stderr}`); +} +const bundle = JSON.parse(source.stdout); +if (bundle.schema_version !== 'solarlab.configuration-schema-export.v1') { + throw new Error('Unsupported configuration metadata version.'); +} + +function checkLocalReferences(value) { + if (Array.isArray(value)) value.forEach(checkLocalReferences); + else if (value && typeof value === 'object') { + if ('$ref' in value && !value.$ref.startsWith('#/')) { + throw new Error(`Only independent local schema references are supported: ${value.$ref}`); + } + Object.values(value).forEach(checkLocalReferences); + } +} + +function checkDeclarations(text, name) { + const tree = ts.createSourceFile(`${name}.d.ts`, text, ts.ScriptTarget.Latest, true, ts.ScriptKind.TS); + if (tree.parseDiagnostics.length || !tree.statements.some(node => + (ts.isInterfaceDeclaration(node) || ts.isTypeAliasDeclaration(node)) && node.name.text === name)) { + throw new Error(`Compiler did not produce the declared input root: ${name}`); + } + function inspect(node) { + if ([ts.SyntaxKind.AnyKeyword, ts.SyntaxKind.UnknownKeyword].includes(node.kind)) { + throw new Error(`Compiler emitted an unconstrained type for ${name}; schema support needs review.`); + } + ts.forEachChild(node, inspect); + } + tree.statements.forEach(node => { + if (!ts.isInterfaceDeclaration(node) && !ts.isTypeAliasDeclaration(node)) { + throw new Error(`Non-structural compiler declaration for ${name}.`); + } + inspect(node); + }); +} + +const output = [ + '// Generated by web/scripts/generate-configuration-inputs.mjs; do not edit.', + `// Compiler: json-schema-to-typescript ${compiler.version} (locked development dependency).`, + '// Structural editable inputs only; backend DTO validators remain authoritative.', + '// TypeScript does not validate numeric bounds, units, string patterns or cross-field semantics.', + '// Excess-property checks apply to fresh object literals; these are not runtime validators.', + '// Each ambient namespace isolates one complete Python schema reference graph.', + '// Normalized/resolved/result types, protocol envelopes and production integration remain pending.', + '', +]; +for (const [name, entry] of Object.entries(bundle.dto_schemas).sort(([a], [b]) => a.localeCompare(b, 'en'))) { + if (!/^[A-Za-z_][A-Za-z0-9_]*$/.test(name) || entry.representation !== 'editable_input') { + throw new Error(`Unsupported editable DTO entry: ${name}`); + } + checkLocalReferences(entry.schema); + const digest = createHash('sha256').update(JSON.stringify(entry.schema)).digest('hex'); + const declaration = await compile(structuredClone(entry.schema), name, { + bannerComment: '', unknownAny: true, declareExternallyReferenced: true, + unreachableDefinitions: true, + $refOptions: { resolve: { file: false, http: false } }, + style: { singleQuote: true, semi: true, tabWidth: 2, printWidth: 100 }, + }); + checkDeclarations(declaration, name); + output.push(`// Source DTO: ${entry.python_type}`); + output.push(`// Schema SHA-256 (JSON.stringify): ${digest}`); + output.push(`export declare namespace ${name}Definitions {`); + output.push(declaration.trimEnd().split('\n').map(line => line ? ` ${line}` : '').join('\n')); + output.push('}', `export type ${name} = ${name}Definitions.${name};`, ''); +} +const expected = output.join('\n'); +if (Buffer.byteLength(expected) > 4 * 1024 ** 2) throw new Error('Generated input types exceed 4 MiB.'); +if (values.check) { + const actual = await readFile(values.output, 'utf8').catch(error => { + if (error.code === 'ENOENT') return null; + throw error; + }); + if (actual !== expected) { + console.error(`Stale or missing configuration input types: ${values.output}`); + process.exitCode = 1; + } else console.log(`Configuration input types are current: ${values.output}`); +} else { + await mkdir(dirname(resolve(values.output)), { recursive: true }); + await writeFile(values.output, expected, 'utf8'); + console.log(`Generated configuration input types: ${values.output}`); +} diff --git a/web/scripts/ionic-jv-browser.mjs b/web/scripts/ionic-jv-browser.mjs new file mode 100644 index 00000000..0d07f990 --- /dev/null +++ b/web/scripts/ionic-jv-browser.mjs @@ -0,0 +1,24 @@ +/** Preview the existing build against an explicitly running research job service. + * Usage: node scripts/ionic-jv-browser.mjs --service http://127.0.0.1:8000 --port 5173 + * Starts no numerical service or job; Ctrl-C closes only this preview server. */ +import { preview } from 'vite' +import { parseArgs } from 'node:util' +import { fileURLToPath } from 'node:url' + +const { values } = parseArgs({ options: { service: { type: 'string' }, port: { type: 'string', default: '5173' } } }) +if (!values.service) throw Error('Pass --service with the explicit installed job-service URL') +const service = new URL(values.service), port = Number(values.port) +if (!['http:', 'https:'].includes(service.protocol) || service.username || service.password || service.search || service.hash + || service.pathname !== '/' || !Number.isInteger(port) || port < 1 || port > 65535) throw Error('Invalid service URL or port') +const root = fileURLToPath(new URL('..', import.meta.url)) +const server = await preview({ root, configFile: false, preview: { host: '127.0.0.1', port, strictPort: true, + proxy: { '/steady-service': { target: service.origin, changeOrigin: true, rewrite: path => path.replace(/^\/steady-service/, '') } } } }) +console.log(JSON.stringify({ browser_url: `http://127.0.0.1:${port}/?view=ionic-jv`, service: service.origin, preview_pid: process.pid, root })) +let closing = false +for (const signal of ['SIGINT', 'SIGTERM']) process.on(signal, () => { + if (closing) return + closing = true + void server.close().then(() => { + console.log(JSON.stringify({ preview_closed: true, preview_pid: process.pid })) + }, error => { console.error(error); process.exitCode = 1 }) +}) diff --git a/perovskite-sim/frontend/src/active-physics-tier-summary.test.ts b/web/src/active-physics-tier-summary.test.ts similarity index 100% rename from perovskite-sim/frontend/src/active-physics-tier-summary.test.ts rename to web/src/active-physics-tier-summary.test.ts diff --git a/perovskite-sim/frontend/src/active-physics.test.ts b/web/src/active-physics.test.ts similarity index 100% rename from perovskite-sim/frontend/src/active-physics.test.ts rename to web/src/active-physics.test.ts diff --git a/perovskite-sim/frontend/src/active-physics.ts b/web/src/active-physics.ts similarity index 100% rename from perovskite-sim/frontend/src/active-physics.ts rename to web/src/active-physics.ts diff --git a/perovskite-sim/frontend/src/api.ts b/web/src/api.ts similarity index 100% rename from perovskite-sim/frontend/src/api.ts rename to web/src/api.ts diff --git a/perovskite-sim/frontend/src/assets/hero.png b/web/src/assets/hero.png similarity index 100% rename from perovskite-sim/frontend/src/assets/hero.png rename to web/src/assets/hero.png diff --git a/perovskite-sim/frontend/src/assets/typescript.svg b/web/src/assets/typescript.svg similarity index 100% rename from perovskite-sim/frontend/src/assets/typescript.svg rename to web/src/assets/typescript.svg diff --git a/perovskite-sim/frontend/src/assets/vite.svg b/web/src/assets/vite.svg similarity index 100% rename from perovskite-sim/frontend/src/assets/vite.svg rename to web/src/assets/vite.svg diff --git a/perovskite-sim/frontend/src/cigs-graded-optics-ui.test.ts b/web/src/cigs-graded-optics-ui.test.ts similarity index 100% rename from perovskite-sim/frontend/src/cigs-graded-optics-ui.test.ts rename to web/src/cigs-graded-optics-ui.test.ts diff --git a/perovskite-sim/frontend/src/config-editor-built-in-potential.test.ts b/web/src/config-editor-built-in-potential.test.ts similarity index 100% rename from perovskite-sim/frontend/src/config-editor-built-in-potential.test.ts rename to web/src/config-editor-built-in-potential.test.ts diff --git a/perovskite-sim/frontend/src/config-editor-bulk-defects.test.ts b/web/src/config-editor-bulk-defects.test.ts similarity index 100% rename from perovskite-sim/frontend/src/config-editor-bulk-defects.test.ts rename to web/src/config-editor-bulk-defects.test.ts diff --git a/perovskite-sim/frontend/src/config-editor-dual-ions.test.ts b/web/src/config-editor-dual-ions.test.ts similarity index 100% rename from perovskite-sim/frontend/src/config-editor-dual-ions.test.ts rename to web/src/config-editor-dual-ions.test.ts diff --git a/perovskite-sim/frontend/src/config-editor-grading.test.ts b/web/src/config-editor-grading.test.ts similarity index 100% rename from perovskite-sim/frontend/src/config-editor-grading.test.ts rename to web/src/config-editor-grading.test.ts diff --git a/perovskite-sim/frontend/src/config-editor-interface-charge.test.ts b/web/src/config-editor-interface-charge.test.ts similarity index 100% rename from perovskite-sim/frontend/src/config-editor-interface-charge.test.ts rename to web/src/config-editor-interface-charge.test.ts diff --git a/perovskite-sim/frontend/src/config-editor-interface-defects.test.ts b/web/src/config-editor-interface-defects.test.ts similarity index 100% rename from perovskite-sim/frontend/src/config-editor-interface-defects.test.ts rename to web/src/config-editor-interface-defects.test.ts diff --git a/perovskite-sim/frontend/src/config-editor-ion-activation.test.ts b/web/src/config-editor-ion-activation.test.ts similarity index 100% rename from perovskite-sim/frontend/src/config-editor-ion-activation.test.ts rename to web/src/config-editor-ion-activation.test.ts diff --git a/perovskite-sim/frontend/src/config-editor-scaps-physics.test.ts b/web/src/config-editor-scaps-physics.test.ts similarity index 100% rename from perovskite-sim/frontend/src/config-editor-scaps-physics.test.ts rename to web/src/config-editor-scaps-physics.test.ts diff --git a/perovskite-sim/frontend/src/config-editor-tunnelling-channels.test.ts b/web/src/config-editor-tunnelling-channels.test.ts similarity index 100% rename from perovskite-sim/frontend/src/config-editor-tunnelling-channels.test.ts rename to web/src/config-editor-tunnelling-channels.test.ts diff --git a/perovskite-sim/frontend/src/config-editor.ts b/web/src/config-editor.ts similarity index 51% rename from perovskite-sim/frontend/src/config-editor.ts rename to web/src/config-editor.ts index 554c8972..8b923a73 100644 --- a/perovskite-sim/frontend/src/config-editor.ts +++ b/web/src/config-editor.ts @@ -1,12 +1,4 @@ import type { - BulkDefectChargeTransition, - BulkDefectDistributionKind, - BulkDefectNeutralReference, - BulkDefectSchemaVersion, - BulkDefectSpecies, - BulkDefectSpatialKnot, - BulkDefectSpatialProfile, - BulkDefectWidthConvention, BuiltInPotentialMode, DeviceConfig, InterfaceDefectFields, @@ -16,7 +8,13 @@ import type { } from './types' import { isLayerRole } from './types' import { isFieldVisible } from './workstation/tier-gating' -import { formatNumberInput as fmt, numberInputAttributes, readNumberInput } from './number-input' +import { numberInputAttributes, readNumberInput } from './number-input' +import { + readBulkDefectEditor, + renderBulkDefectEditor, + wireBulkDefectEditors, +} from './editors/bulk-defects' +import { escapeHtml } from './editors/inputs' const MODE_OPTIONS: ReadonlyArray<{ value: SimulationModeName; label: string }> = [ { value: 'full', label: 'Full (constitutive extensions)' }, @@ -33,44 +31,6 @@ const BUILT_IN_POTENTIAL_OPTIONS: ReadonlyArray<{ { value: 'legacy_manual', label: 'Legacy manual override' }, ] -const EXPLICIT_DEFECT_SCHEMA_V1 = 'solarlab-explicit-bulk-defects-v1' as const -const EXPLICIT_DEFECT_SCHEMA_V2 = 'solarlab-explicit-bulk-defects-v2' as const -const EXPLICIT_DEFECT_SCHEMA_V3 = 'solarlab-explicit-bulk-defects-v3' as const -const EXPLICIT_DEFECT_SCHEMA_VERSIONS = new Set([ - EXPLICIT_DEFECT_SCHEMA_V1, - EXPLICIT_DEFECT_SCHEMA_V2, - EXPLICIT_DEFECT_SCHEMA_V3, -]) -const DEFECT_DISTRIBUTION_LABELS: ReadonlyArray<{ - value: BulkDefectDistributionKind - label: string -}> = [ - { value: 'single_level', label: 'Single level' }, - { value: 'gaussian', label: 'Gaussian' }, - { value: 'uniform', label: 'Uniform' }, - { value: 'conduction_band_tail', label: 'Conduction-band tail' }, - { value: 'valence_band_tail', label: 'Valence-band tail' }, -] -const DEFECT_NEUTRAL_REFERENCE: Record< - Exclude, - Exclude -> = { - neutral: 'all_occupancies', - acceptor: 'empty', - donor: 'filled', -} - -type DefectDisplayUnit = 'si' | 'scaps_cgs' -type DefectDimension = 'density' | 'cross_section' | 'velocity' - -const DEFECT_DISPLAY_FACTORS: Record< - DefectDisplayUnit, - Record -> = { - si: { density: 1, cross_section: 1, velocity: 1 }, - scaps_cgs: { density: 1e-6, cross_section: 1e4, velocity: 1e2 }, -} - function isModeName(v: unknown): v is SimulationModeName { return v === 'full' || v === 'fast' || v === 'legacy' } @@ -289,17 +249,6 @@ export function setOpticalMaterialOptions(options: ReadonlyArray): void opticalMaterialOptions = [...options] } -// Minimal HTML escape for untrusted-ish string values (material filenames -// come from backend auto-scan of on-disk CSVs — trusted but defensive). -function escapeHtml(s: string): string { - return s - .replace(/&/g, '&') - .replace(//g, '>') - .replace(/"/g, '"') - .replace(/'/g, ''') -} - interface NumAttrOpts { /** Hint shown when the input is empty — used for "0 / disabled" sentinels. */ placeholder?: string @@ -313,515 +262,6 @@ function numAttr(id: string, value: unknown, opts?: NumAttrOpts): string { return `` } -function isRecord(value: unknown): value is Record { - return typeof value === 'object' && value !== null && !Array.isArray(value) -} - -function hasExactKeys(value: Record, expected: readonly string[]): boolean { - const actual = Object.keys(value).sort() - const wanted = [...expected].sort() - return actual.length === wanted.length && actual.every((key, index) => key === wanted[index]) -} - -function isFiniteNumber(value: unknown): value is number { - return typeof value === 'number' && Number.isFinite(value) -} - -function minimumLayerBandGap(layer: LayerConfig, bandGradingActive: boolean): number | null { - if (!isFiniteNumber(layer.Eg) || layer.Eg <= 0) return null - const front = layer.Eg - if (!bandGradingActive) return front - const back = isFiniteNumber(layer.Eg_back) && layer.Eg_back > 0 ? layer.Eg_back : front - const bowing = isFiniteNumber(layer.grading_bowing) ? layer.grading_bowing : 0 - const candidates = [front, back] - if (bowing > 0) { - const stationary = (front + bowing - back) / (2 * bowing) - if (stationary > 0 && stationary < 1) { - candidates.push( - (1 - stationary) * front - + stationary * back - - bowing * stationary * (1 - stationary), - ) - } - } - return Math.min(...candidates) -} - -function spatialProfileUnsupportedReason(value: unknown): string | null { - if (!isRecord(value) || !hasExactKeys(value, [ - 'coordinate', 'interpolation', 'density_normalization', 'knots', - ])) return 'spatial profile schema is not canonical' - if ( - value.coordinate !== 'normalized_layer_coordinate' - || value.interpolation !== 'piecewise_linear' - || value.density_normalization !== 'layer_average_unity' - || !Array.isArray(value.knots) - || value.knots.length < 2 - ) return 'spatial profile convention is not editable' - const knots: BulkDefectSpatialKnot[] = [] - for (const knot of value.knots) { - if (!isRecord(knot) || !hasExactKeys(knot, [ - 'position_fraction', 'density_multiplier', - ])) return 'spatial profile knot schema is not canonical' - if ( - !isFiniteNumber(knot.position_fraction) - || knot.position_fraction < 0 - || knot.position_fraction > 1 - || !isFiniteNumber(knot.density_multiplier) - || knot.density_multiplier <= 0 - ) return 'spatial profile knot values are invalid' - knots.push({ - position_fraction: knot.position_fraction, - density_multiplier: knot.density_multiplier, - }) - } - if (knots[0].position_fraction !== 0 || knots.at(-1)?.position_fraction !== 1) { - return 'spatial profile requires exact 0 and 1 endpoints' - } - if (knots.some((knot, index) => ( - index > 0 && knot.position_fraction <= knots[index - 1].position_fraction - ))) return 'spatial profile positions are not strictly increasing' - const integral = knots.slice(1).reduce((sum, right, index) => { - const left = knots[index] - return sum + 0.5 - * (left.density_multiplier + right.density_multiplier) - * (right.position_fraction - left.position_fraction) - }, 0) - if (Math.abs(integral - 1) > 1e-12) { - return 'spatial profile layer average is not unity' - } - return null -} - -function distributionUnsupportedReason( - value: unknown, - schema: BulkDefectSchemaVersion, - layer: LayerConfig, - bandGradingActive: boolean, -): string | null { - if (!isRecord(value)) return 'distribution is not a mapping' - const kind = value.kind - if (!DEFECT_DISTRIBUTION_LABELS.some(option => option.value === kind)) { - return 'distribution kind is unsupported' - } - if (schema === EXPLICIT_DEFECT_SCHEMA_V1 && kind !== 'single_level') { - return 'v1 distributed metadata remains read-only' - } - const expected = [ - 'kind', 'normalization', 'total_density_m3', 'center_eV_above_vb', - ] - if (schema !== EXPLICIT_DEFECT_SCHEMA_V1) expected.push('energy_reference') - if (kind !== 'single_level') expected.push('width_eV', 'width_convention') - if ( - kind === 'gaussian' - || kind === 'conduction_band_tail' - || kind === 'valence_band_tail' - ) expected.push('support_width_multiplier') - if (!hasExactKeys(value, expected)) return 'distribution schema is not canonical' - if ( - value.normalization !== 'integrated_total' - || !isFiniteNumber(value.total_density_m3) - || value.total_density_m3 <= 0 - || !isFiniteNumber(value.center_eV_above_vb) - || value.center_eV_above_vb < 0 - ) return 'distribution density or energy is invalid' - if ( - schema !== EXPLICIT_DEFECT_SCHEMA_V1 - && value.energy_reference !== 'above_valence_band' - ) return 'energy reference is unresolved' - if (kind === 'uniform' && value.width_convention !== 'uniform_full_width') { - return 'uniform width convention is unresolved' - } - if ( - (kind === 'conduction_band_tail' || kind === 'valence_band_tail') - && value.width_convention !== 'scaps_characteristic_energy' - ) return 'band-tail width convention is unresolved' - if ( - kind === 'gaussian' - && value.width_convention !== 'gaussian_standard_deviation' - && value.width_convention !== 'scaps_characteristic_energy' - ) return 'Gaussian width convention is unresolved' - if (kind !== 'single_level' && (!isFiniteNumber(value.width_eV) || value.width_eV <= 0)) { - return 'distribution width is invalid' - } - const hasFiniteSupport = kind === 'gaussian' - || kind === 'conduction_band_tail' - || kind === 'valence_band_tail' - if ( - hasFiniteSupport - && (!isFiniteNumber(value.support_width_multiplier) || value.support_width_multiplier <= 0) - ) return 'distribution support multiplier is invalid' - - const gap = minimumLayerBandGap(layer, bandGradingActive) - if (gap === null) return null - const center = value.center_eV_above_vb - const width = isFiniteNumber(value.width_eV) ? value.width_eV : 0 - const supportMultiplier = isFiniteNumber(value.support_width_multiplier) - ? value.support_width_multiplier - : 0 - if (center > gap) return 'distribution center lies outside the local band gap' - let lower = center - let upper = center - if (kind === 'uniform') { - lower -= width / 2 - upper += width / 2 - } else if (kind === 'gaussian') { - const halfWidth = 0.5 * supportMultiplier * width - lower -= halfWidth - upper += halfWidth - } else if (kind === 'conduction_band_tail') { - lower -= supportMultiplier * width - } else if (kind === 'valence_band_tail') { - upper += supportMultiplier * width - } - if (lower < -1e-14 || upper > gap + 1e-14) { - return 'distribution support lies outside the local band gap' - } - return null -} - -function bulkDefectEditorUnsupportedReason( - layer: LayerConfig, - bandGradingActive: boolean, -): string | null { - const raw = layer as unknown as Record - const keys = ['defect_schema_version', 'defect_model', 'bulk_defects'] as const - const present = keys.filter(key => raw[key] !== undefined) - if (present.length === 0) return null - if (present.length !== keys.length) return 'incomplete versioned defect document' - if (!EXPLICIT_DEFECT_SCHEMA_VERSIONS.has(raw.defect_schema_version as BulkDefectSchemaVersion)) { - return 'unsupported schema version' - } - const schema = raw.defect_schema_version as BulkDefectSchemaVersion - if (raw.defect_model !== 'effective_lifetime' && raw.defect_model !== 'explicit_quasi_steady') { - return 'unsupported defect model' - } - if (!Array.isArray(raw.bulk_defects)) return 'bulk_defects is not an array' - if (raw.defect_model === 'explicit_quasi_steady' && raw.bulk_defects.length === 0) { - return 'explicit model has no species' - } - let hasSpatialProfile = false - const names: string[] = [] - for (const [index, value] of raw.bulk_defects.entries()) { - if (!isRecord(value)) return `species ${index + 1} is not a mapping` - const hasProfile = Object.prototype.hasOwnProperty.call(value, 'spatial_profile') - const expectedSpeciesKeys = [ - 'name', 'distribution', 'charge_transition', 'neutral_reference', 'kinetics', 'degeneracy', - ...(hasProfile ? ['spatial_profile'] : []), - ] - if (!hasExactKeys(value, expectedSpeciesKeys)) { - return `species ${index + 1} has unsupported metadata` - } - if (schema !== EXPLICIT_DEFECT_SCHEMA_V3 && hasProfile) { - return `species ${index + 1} spatial profile is not allowed by the schema` - } - if (hasProfile) { - const profileReason = spatialProfileUnsupportedReason(value.spatial_profile) - if (profileReason) return `species ${index + 1} ${profileReason}` - hasSpatialProfile = true - } - const distributionReason = distributionUnsupportedReason( - value.distribution, - schema, - layer, - bandGradingActive, - ) - if (distributionReason) return `species ${index + 1} ${distributionReason}` - if (!isRecord(value.kinetics) || !hasExactKeys(value.kinetics, [ - 'sigma_n_m2', 'sigma_p_m2', 'thermal_velocity_n_m_s', 'thermal_velocity_p_m_s', - ])) return `species ${index + 1} kinetics has unsupported metadata` - if ( - !isFiniteNumber(value.kinetics.sigma_n_m2) - || value.kinetics.sigma_n_m2 < 0 - || !isFiniteNumber(value.kinetics.sigma_p_m2) - || value.kinetics.sigma_p_m2 < 0 - || !isFiniteNumber(value.kinetics.thermal_velocity_n_m_s) - || value.kinetics.thermal_velocity_n_m_s <= 0 - || !isFiniteNumber(value.kinetics.thermal_velocity_p_m_s) - || value.kinetics.thermal_velocity_p_m_s <= 0 - || !isFiniteNumber(value.degeneracy) - || value.degeneracy <= 0 - ) return `species ${index + 1} kinetics or degeneracy is invalid` - if ( - value.charge_transition !== 'neutral' - && value.charge_transition !== 'acceptor' - && value.charge_transition !== 'donor' - ) return `species ${index + 1} charge transition is unresolved` - const expectedReference = DEFECT_NEUTRAL_REFERENCE[value.charge_transition] - if (value.neutral_reference !== expectedReference) { - return `species ${index + 1} neutral reference is inconsistent` - } - if ( - raw.defect_model === 'explicit_quasi_steady' - && (typeof value.name !== 'string' || value.name.trim() === '') - ) return `species ${index + 1} requires a name` - if (schema === EXPLICIT_DEFECT_SCHEMA_V3 && ( - typeof value.name !== 'string' || value.name.trim() === '' - )) return `species ${index + 1} requires a name in v3` - if (value.name !== null && typeof value.name !== 'string') { - return `species ${index + 1} name is invalid` - } - if (typeof value.name === 'string') names.push(value.name.trim()) - } - if (new Set(names).size !== names.length) return 'defect species names are not unique' - if (schema === EXPLICIT_DEFECT_SCHEMA_V3 && !hasSpatialProfile) { - return 'v3 document has no spatial profile' - } - return null -} - -function defaultBulkDefectSpecies(layer: LayerConfig, index: number): BulkDefectSpecies { - const gap = typeof layer.Eg === 'number' && Number.isFinite(layer.Eg) && layer.Eg > 0 - ? layer.Eg - : 1.5 - return { - name: `defect_${index + 1}`, - distribution: { - kind: 'single_level', - normalization: 'integrated_total', - total_density_m3: 1e21, - center_eV_above_vb: gap / 2, - }, - charge_transition: 'neutral', - neutral_reference: 'all_occupancies', - kinetics: { - sigma_n_m2: 1e-19, - sigma_p_m2: 1e-19, - thermal_velocity_n_m_s: 1e5, - thermal_velocity_p_m_s: 1e5, - }, - degeneracy: 1, - } -} - -function defectNumberInput( - field: string, - value: number, - dimension?: DefectDimension, -): string { - const dimensionAttr = dimension ? ` data-defect-dimension="${dimension}"` : '' - return `` -} - -function defaultBulkDefectSpatialProfile(): BulkDefectSpatialProfile { - return { - coordinate: 'normalized_layer_coordinate', - interpolation: 'piecewise_linear', - density_normalization: 'layer_average_unity', - knots: [ - { position_fraction: 0, density_multiplier: 1 }, - { position_fraction: 1, density_multiplier: 1 }, - ], - } -} - -function widthConventionForKind( - kind: BulkDefectDistributionKind, - current?: BulkDefectWidthConvention, -): BulkDefectWidthConvention { - if (kind === 'single_level') return 'not_applicable' - if (kind === 'uniform') return 'uniform_full_width' - if (kind === 'conduction_band_tail' || kind === 'valence_band_tail') { - return 'scaps_characteristic_energy' - } - return current === 'scaps_characteristic_energy' - ? 'scaps_characteristic_energy' - : 'gaussian_standard_deviation' -} - -function renderWidthConventionOptions( - kind: BulkDefectDistributionKind, - current?: BulkDefectWidthConvention, -): string { - const selected = widthConventionForKind(kind, current) - if (kind === 'gaussian') { - return ` - - ` - } - const labels: Record, string> = { - not_applicable: 'Not applicable', - scaps_characteristic_energy: 'SCAPS characteristic energy', - uniform_full_width: 'Full support width', - } - return `` -} - -function renderBulkDefectSpatialKnot(knot: BulkDefectSpatialKnot, index: number, count: number): string { - const endpoint = index === 0 || index === count - 1 - return ` -
- - - -
` -} - -function renderBulkDefectSpecies(species: BulkDefectSpecies): string { - const transition = species.charge_transition as Exclude - const distribution = species.distribution - const kind = distribution.kind - const profile = species.spatial_profile ?? defaultBulkDefectSpatialProfile() - const hasWidth = kind !== 'single_level' - const hasSupport = kind === 'gaussian' - || kind === 'conduction_band_tail' - || kind === 'valence_band_tail' - return ` -
-
- - -
-
- - - - - - - - - - - - - - -
-
- -
-
- Piecewise-linear knots - -
-
- ${profile.knots.map((knot, index) => ( - renderBulkDefectSpatialKnot(knot, index, profile.knots.length) - )).join('')} -
- -
-
-
` -} - -function renderBulkDefectEditor( - layer: LayerConfig, - idx: number, - bandGradingActive: boolean, -): string { - const reason = bulkDefectEditorUnsupportedReason(layer, bandGradingActive) - const hasDocument = layer.defect_schema_version !== undefined - if (reason) { - return ` -
-
Explicit bulk defects
Experimental
-

Loaded metadata is preserved read-only: ${escapeHtml(reason)}.

-
` - } - const model = layer.defect_model ?? 'explicit_quasi_steady' - const species = layer.bulk_defects ?? [] - return ` -
-
Explicit bulk defects
Experimental
-

Charged species run only on the research QF/DC J–V path. Transient, ion-coupled and 2D execution remain unsupported.

- -
-
- - - -
-

-
${species.map(renderBulkDefectSpecies).join('')}
- -
-
` -} - function renderOpticalMaterialSelect(layerIdx: number, currentValue: string | null | undefined): string { const id = `layer-${layerIdx}-optical_material` const selectedNone = currentValue == null || currentValue === '' ? ' selected' : '' @@ -1224,328 +664,6 @@ export function renderDeviceEditor( wireBulkDefectEditors(container, config) } -function defectDisplayFactor(unit: DefectDisplayUnit, dimension: string): number { - if (dimension !== 'density' && dimension !== 'cross_section' && dimension !== 'velocity') { - return 1 - } - return DEFECT_DISPLAY_FACTORS[unit][dimension] -} - -function convertDefectInputs( - root: ParentNode, - from: DefectDisplayUnit, - to: DefectDisplayUnit, -): void { - root.querySelectorAll('[data-defect-dimension]').forEach(input => { - const rawValue = input.value.trim() - if (rawValue === '') return - const value = Number(rawValue) - if (!Number.isFinite(value)) return - const dimension = input.dataset.defectDimension ?? '' - const storedCanonical = Number(input.dataset.defectCanonical) - const expectedDisplay = Number.isFinite(storedCanonical) - ? fmt(storedCanonical * defectDisplayFactor(from, dimension)) - : '' - const canonical = Number.isFinite(storedCanonical) && input.value.trim() === expectedDisplay - ? storedCanonical - : value / defectDisplayFactor(from, dimension) - input.dataset.defectCanonical = String(canonical) - input.value = fmt(canonical * defectDisplayFactor(to, dimension)) - }) -} - -function updateDefectUnitLabels(root: ParentNode, unit: DefectDisplayUnit): void { - const labels: Record> = { - density: { si: 'm⁻³', scaps_cgs: 'cm⁻³' }, - cross_section: { si: 'm²', scaps_cgs: 'cm²' }, - velocity: { si: 'm/s', scaps_cgs: 'cm/s' }, - } - root.querySelectorAll('[data-defect-unit-label]').forEach(label => { - const dimension = label.dataset.defectUnitLabel - if (dimension === 'density' || dimension === 'cross_section' || dimension === 'velocity') { - label.textContent = labels[dimension][unit] - } - }) -} - -function syncDefectTransition(row: Element): void { - const transition = row.querySelector( - '[data-defect-field="charge_transition"]', - )?.value - const reference = row.querySelector( - '[data-defect-field="neutral_reference"]', - ) - if ( - reference - && (transition === 'neutral' || transition === 'acceptor' || transition === 'donor') - ) reference.value = DEFECT_NEUTRAL_REFERENCE[transition] -} - -function defectDistributionKind(row: Element): BulkDefectDistributionKind | null { - const value = row.querySelector( - '[data-defect-field="distribution_kind"]', - )?.value - return DEFECT_DISTRIBUTION_LABELS.some(option => option.value === value) - ? value as BulkDefectDistributionKind - : null -} - -function syncDefectDistribution(row: Element): void { - const kind = defectDistributionKind(row) - if (kind === null) return - row.setAttribute('data-defect-kind', kind) - const hasWidth = kind !== 'single_level' - const hasSupport = kind === 'gaussian' - || kind === 'conduction_band_tail' - || kind === 'valence_band_tail' - row.querySelectorAll('[data-defect-width-field]').forEach(field => { - field.hidden = !hasWidth - }) - row.querySelectorAll('[data-defect-support-field]').forEach(field => { - field.hidden = !hasSupport - }) - const convention = row.querySelector( - '[data-defect-field="width_convention"]', - ) - if (convention) convention.innerHTML = renderWidthConventionOptions( - kind, - convention.value as BulkDefectWidthConvention, - ) -} - -function currentDefectInputValue( - input: HTMLInputElement, - unit: DefectDisplayUnit = 'si', -): number { - const displayed = Number(input.value.trim()) - const dimension = input.dataset.defectDimension ?? '' - const factor = defectDisplayFactor(unit, dimension) - const storedCanonical = Number(input.dataset.defectCanonical) - const expectedDisplay = Number.isFinite(storedCanonical) - ? fmt(storedCanonical * factor) - : '' - return Number.isFinite(storedCanonical) && input.value.trim() === expectedDisplay - ? storedCanonical - : displayed / factor -} - -function defectProfileKnotsFromRow(row: Element): BulkDefectSpatialKnot[] | null { - const knots = Array.from(row.querySelectorAll('[data-defect-profile-knot]')) - .map(knot => { - const position = knot.querySelector('[data-defect-field="profile_position"]') - const multiplier = knot.querySelector('[data-defect-field="profile_multiplier"]') - if (!position || !multiplier) return null - return { - position_fraction: currentDefectInputValue(position), - density_multiplier: currentDefectInputValue(multiplier), - } - }) - return knots.some(knot => knot === null) - ? null - : knots as BulkDefectSpatialKnot[] -} - -function syncDefectProfileEndpoints(row: Element): void { - const knots = Array.from(row.querySelectorAll('[data-defect-profile-knot]')) - knots.forEach((knot, index) => { - const remove = knot.querySelector('[data-defect-knot-remove]') - if (remove) remove.disabled = index === 0 || index === knots.length - 1 - }) -} - -function updateDefectProfileAverage(row: Element): void { - const output = row.querySelector('[data-defect-profile-average]') - if (!output) return - const knots = defectProfileKnotsFromRow(row) - if (!knots || knots.length < 2 || knots.some(knot => ( - !Number.isFinite(knot.position_fraction) - || !Number.isFinite(knot.density_multiplier) - ))) { - output.textContent = 'Layer average: invalid' - output.dataset.valid = 'false' - return - } - const integral = knots.slice(1).reduce((sum, right, index) => { - const left = knots[index] - return sum + 0.5 - * (left.density_multiplier + right.density_multiplier) - * (right.position_fraction - left.position_fraction) - }, 0) - output.textContent = `Layer average: ${integral.toPrecision(7)}` - output.dataset.valid = String(Math.abs(integral - 1) <= 1e-12) -} - -function syncDefectProfile(row: Element): void { - const enabled = row.querySelector('[data-defect-profile-enabled]') - const body = row.querySelector('[data-defect-profile-body]') - if (!enabled || !body) return - body.hidden = !enabled.checked - syncDefectProfileEndpoints(row) - updateDefectProfileAverage(row) -} - -function inferDefectSchemaVersion( - editor: Element, - original: BulkDefectSchemaVersion | undefined, -): BulkDefectSchemaVersion { - const rows = Array.from(editor.querySelectorAll('[data-defect-species]')) - if (rows.some(row => row.querySelector( - '[data-defect-profile-enabled]', - )?.checked)) return EXPLICIT_DEFECT_SCHEMA_V3 - if ( - original === EXPLICIT_DEFECT_SCHEMA_V2 - || original === EXPLICIT_DEFECT_SCHEMA_V3 - || rows.some(row => defectDistributionKind(row) !== 'single_level') - ) return EXPLICIT_DEFECT_SCHEMA_V2 - return EXPLICIT_DEFECT_SCHEMA_V1 -} - -function updateDefectSchemaLabel( - editor: Element, - original: BulkDefectSchemaVersion | undefined, -): void { - const output = editor.querySelector('[data-defect-schema-label]') - if (!output) return - const schema = inferDefectSchemaVersion(editor, original) - output.value = schema.endsWith('-v1') ? 'v1' : schema.endsWith('-v2') ? 'v2' : 'v3' - output.dataset.schemaVersion = schema -} - -function addDefectProfileKnot(row: Element): void { - const list = row.querySelector('[data-defect-knot-list]') - const knots = defectProfileKnotsFromRow(row) - if (!list || !knots || knots.length < 2) return - let insertAfter = -1 - let widestGap = 0 - for (let index = 0; index < knots.length - 1; index += 1) { - const gap = knots[index + 1].position_fraction - knots[index].position_fraction - if (gap > widestGap) { - widestGap = gap - insertAfter = index - } - } - if (insertAfter < 0 || widestGap <= 0) return - const left = knots[insertAfter] - const right = knots[insertAfter + 1] - const midpoint = 0.5 * (left.position_fraction + right.position_fraction) - const multiplier = 0.5 * (left.density_multiplier + right.density_multiplier) - knots.splice(insertAfter + 1, 0, { - position_fraction: midpoint, - density_multiplier: multiplier, - }) - list.innerHTML = knots.map((knot, index) => ( - renderBulkDefectSpatialKnot(knot, index, knots.length) - )).join('') - syncDefectProfile(row) -} - -function wireBulkDefectEditors(container: HTMLElement, config: DeviceConfig): void { - config.layers.forEach((layer, idx) => { - const editor = container.querySelector(`#layer-${idx}-bulk-defect-editor`) - if (!editor) return - const enabled = editor.querySelector(`#layer-${idx}-defect-enabled`) - const body = editor.querySelector('[data-defect-body]') - const model = editor.querySelector(`#layer-${idx}-defect-model`) - const units = editor.querySelector(`#layer-${idx}-defect-units`) - const list = editor.querySelector('[data-defect-list]') - const add = editor.querySelector('[data-defect-add]') - const note = editor.querySelector('[data-defect-model-note]') - const originalSchema = layer.defect_schema_version - if (!enabled || !body || !model || !units || !list || !add || !note) return - - let nextSpeciesIndex = list.children.length - const appendDefaultSpecies = (): void => { - const names = new Set( - Array.from(list.querySelectorAll('[data-defect-field="name"]')) - .map(input => input.value), - ) - let species: BulkDefectSpecies - do { - species = defaultBulkDefectSpecies(layer, nextSpeciesIndex) - nextSpeciesIndex += 1 - } while (species.name !== null && names.has(species.name)) - list.insertAdjacentHTML('beforeend', renderBulkDefectSpecies(species)) - const row = list.lastElementChild - const currentUnit: DefectDisplayUnit = units.value === 'scaps_cgs' ? 'scaps_cgs' : 'si' - if (row && currentUnit !== 'si') convertDefectInputs(row, 'si', currentUnit) - if (row) { - syncDefectDistribution(row) - syncDefectProfile(row) - } - updateDefectUnitLabels(editor, currentUnit) - updateDefectSchemaLabel(editor, originalSchema) - } - - const syncState = (ensureSpecies: boolean): void => { - body.hidden = !enabled.checked - if (!enabled.checked) return - if (ensureSpecies && model.value === 'explicit_quasi_steady' && list.children.length === 0) { - appendDefaultSpecies() - } - note.textContent = model.value === 'explicit_quasi_steady' - ? 'Explicit species active in the QF/DC constitutive closure.' - : 'Lifetime SRH active; listed species remain provenance metadata.' - updateDefectSchemaLabel(editor, originalSchema) - } - - enabled.addEventListener('change', () => syncState(true)) - model.addEventListener('change', () => syncState(true)) - add.addEventListener('click', appendDefaultSpecies) - list.addEventListener('click', event => { - const target = event.target as Element | null - const removeSpecies = target?.closest('[data-defect-remove]') - if (removeSpecies) { - removeSpecies.closest('[data-defect-species]')?.remove() - updateDefectSchemaLabel(editor, originalSchema) - return - } - const addKnot = target?.closest('[data-defect-knot-add]') - if (addKnot) { - const row = addKnot.closest('[data-defect-species]') - if (row) addDefectProfileKnot(row) - return - } - const removeKnot = target?.closest('[data-defect-knot-remove]') - if (removeKnot && !removeKnot.disabled) { - const row = removeKnot.closest('[data-defect-species]') - removeKnot.closest('[data-defect-profile-knot]')?.remove() - if (row) syncDefectProfile(row) - } - }) - list.addEventListener('change', event => { - const target = event.target as HTMLElement | null - const row = target?.closest('[data-defect-species]') - if (!target || !row) return - if (target.dataset.defectField === 'charge_transition') syncDefectTransition(row) - if (target.dataset.defectField === 'distribution_kind') syncDefectDistribution(row) - if (target.matches('[data-defect-profile-enabled]')) syncDefectProfile(row) - updateDefectSchemaLabel(editor, originalSchema) - }) - list.addEventListener('input', event => { - const target = event.target as HTMLElement | null - if (target) delete target.dataset.defectCanonical - const row = target?.closest('[data-defect-species]') - if (row) updateDefectProfileAverage(row) - }) - units.addEventListener('change', () => { - const from: DefectDisplayUnit = units.dataset.currentUnit === 'scaps_cgs' - ? 'scaps_cgs' - : 'si' - const to: DefectDisplayUnit = units.value === 'scaps_cgs' ? 'scaps_cgs' : 'si' - convertDefectInputs(list, from, to) - updateDefectUnitLabels(editor, to) - units.dataset.currentUnit = to - }) - syncState(false) - updateDefectUnitLabels(editor, 'si') - list.querySelectorAll('[data-defect-species]').forEach(row => { - syncDefectDistribution(row) - syncDefectProfile(row) - }) - updateDefectSchemaLabel(editor, originalSchema) - }) -} - function parseNum(id: string, fallback: number): number { const el = document.getElementById(id) as HTMLInputElement | null if (!el) return fallback @@ -1599,213 +717,6 @@ function parseCheckbox(id: string, fallback: boolean): boolean { return el.checked } -function requiredDefectNumber( - row: Element, - field: string, - label: string, - unit: DefectDisplayUnit, - constraint: 'positive' | 'nonnegative', -): number { - const input = row.querySelector(`[data-defect-field="${field}"]`) - if (!input) throw new Error(`Missing ${label} input`) - const rawValue = input.value.trim() - if (rawValue === '') throw new Error(`${label} must not be empty`) - const displayed = Number(rawValue) - if (!Number.isFinite(displayed)) throw new Error(`${label} must be finite`) - const value = currentDefectInputValue(input, unit) - if (!Number.isFinite(value) || (constraint === 'positive' ? value <= 0 : value < 0)) { - throw new Error(`${label} must be finite and ${constraint === 'positive' ? 'positive' : 'non-negative'}`) - } - return value -} - -function readDefectSpatialProfile( - row: Element, - prefix: string, -): BulkDefectSpatialProfile | undefined { - const enabled = row.querySelector('[data-defect-profile-enabled]') - if (!enabled?.checked) return undefined - const knotRows = Array.from(row.querySelectorAll('[data-defect-profile-knot]')) - if (knotRows.length < 2) throw new Error(`${prefix} spatial profile requires at least two knots`) - const knots = knotRows.map((knot, index) => { - const position = requiredDefectNumber( - knot, - 'profile_position', - `${prefix} profile knot ${index + 1} position`, - 'si', - 'nonnegative', - ) - if (position > 1) { - throw new Error(`${prefix} profile knot ${index + 1} position must lie in [0, 1]`) - } - return { - position_fraction: position, - density_multiplier: requiredDefectNumber( - knot, - 'profile_multiplier', - `${prefix} profile knot ${index + 1} density multiplier`, - 'si', - 'positive', - ), - } - }) - if (knots[0].position_fraction !== 0 || knots.at(-1)?.position_fraction !== 1) { - throw new Error(`${prefix} spatial profile requires exact 0 and 1 endpoints`) - } - knots.slice(1).forEach((knot, index) => { - if (knot.position_fraction <= knots[index].position_fraction) { - throw new Error(`${prefix} spatial profile positions must be strictly increasing`) - } - }) - const integral = knots.slice(1).reduce((sum, right, index) => { - const left = knots[index] - return sum + 0.5 - * (left.density_multiplier + right.density_multiplier) - * (right.position_fraction - left.position_fraction) - }, 0) - if (Math.abs(integral - 1) > 1e-12) { - throw new Error( - `${prefix} spatial profile layer average must equal unity; integral=${integral}`, - ) - } - return { - coordinate: 'normalized_layer_coordinate', - interpolation: 'piecewise_linear', - density_normalization: 'layer_average_unity', - knots, - } -} - -function readBulkDefectEditor( - next: LayerConfig, - idx: number, - bandGradingActive: boolean, -): LayerConfig { - const editor = document.getElementById(`layer-${idx}-bulk-defect-editor`) - const enabled = document.getElementById(`layer-${idx}-defect-enabled`) as HTMLInputElement | null - if (!editor || !enabled) return next - if (!enabled.checked) { - delete next.defect_schema_version - delete next.defect_model - delete next.bulk_defects - return next - } - const modelInput = document.getElementById(`layer-${idx}-defect-model`) as HTMLSelectElement | null - const unitInput = document.getElementById(`layer-${idx}-defect-units`) as HTMLSelectElement | null - const model = modelInput?.value - if (model !== 'effective_lifetime' && model !== 'explicit_quasi_steady') { - throw new Error(`Layer ${idx + 1} has an unsupported defect model`) - } - const unit: DefectDisplayUnit = unitInput?.value === 'scaps_cgs' ? 'scaps_cgs' : 'si' - const rows = Array.from(editor.querySelectorAll('[data-defect-species]')) - if (model === 'explicit_quasi_steady' && rows.length === 0) { - throw new Error(`Layer ${idx + 1} explicit defect model requires at least one species`) - } - const schema = inferDefectSchemaVersion(editor, next.defect_schema_version) - const species: BulkDefectSpecies[] = rows.map((row, speciesIndex) => { - const prefix = `Layer ${idx + 1} defect ${speciesIndex + 1}` - const rawName = row.querySelector('[data-defect-field="name"]')?.value.trim() ?? '' - const name = rawName === '' ? null : rawName - if (model === 'explicit_quasi_steady' && name === null) { - throw new Error(`${prefix} requires a non-empty name`) - } - if (schema === EXPLICIT_DEFECT_SCHEMA_V3 && name === null) { - throw new Error(`${prefix} v3 spatial profile requires a non-empty name`) - } - const transitionValue = row.querySelector( - '[data-defect-field="charge_transition"]', - )?.value - if ( - transitionValue !== 'neutral' - && transitionValue !== 'acceptor' - && transitionValue !== 'donor' - ) throw new Error(`${prefix} has an unsupported charge transition`) - const density = requiredDefectNumber( - row, 'total_density', `${prefix} density`, unit, 'positive', - ) - const center = requiredDefectNumber( - row, 'center_energy', `${prefix} energy`, unit, 'nonnegative', - ) - const kind = defectDistributionKind(row) - if (kind === null) throw new Error(`${prefix} has an unsupported energy distribution`) - const distribution: BulkDefectSpecies['distribution'] = { - kind, - normalization: 'integrated_total', - total_density_m3: density, - center_eV_above_vb: center, - } - if (schema !== EXPLICIT_DEFECT_SCHEMA_V1) { - distribution.energy_reference = 'above_valence_band' - } - if (kind !== 'single_level') { - distribution.width_eV = requiredDefectNumber( - row, 'width', `${prefix} distribution width`, unit, 'positive', - ) - const conventionValue = row.querySelector( - '[data-defect-field="width_convention"]', - )?.value - const expectedConvention = widthConventionForKind( - kind, - conventionValue as BulkDefectWidthConvention, - ) - if (conventionValue !== expectedConvention) { - throw new Error(`${prefix} has an unsupported width convention`) - } - distribution.width_convention = expectedConvention - } - if ( - kind === 'gaussian' - || kind === 'conduction_band_tail' - || kind === 'valence_band_tail' - ) { - distribution.support_width_multiplier = requiredDefectNumber( - row, 'support_multiplier', `${prefix} support multiplier`, unit, 'positive', - ) - } - const distributionReason = distributionUnsupportedReason( - distribution, - schema, - next, - bandGradingActive, - ) - if (distributionReason) throw new Error(`${prefix} ${distributionReason}`) - const value: BulkDefectSpecies = { - name, - distribution, - charge_transition: transitionValue, - neutral_reference: DEFECT_NEUTRAL_REFERENCE[transitionValue], - kinetics: { - sigma_n_m2: requiredDefectNumber( - row, 'sigma_n', `${prefix} electron cross-section`, unit, 'nonnegative', - ), - sigma_p_m2: requiredDefectNumber( - row, 'sigma_p', `${prefix} hole cross-section`, unit, 'nonnegative', - ), - thermal_velocity_n_m_s: requiredDefectNumber( - row, 'thermal_velocity_n', `${prefix} electron thermal velocity`, unit, 'positive', - ), - thermal_velocity_p_m_s: requiredDefectNumber( - row, 'thermal_velocity_p', `${prefix} hole thermal velocity`, unit, 'positive', - ), - }, - degeneracy: requiredDefectNumber( - row, 'degeneracy', `${prefix} degeneracy`, unit, 'positive', - ), - } - const spatialProfile = readDefectSpatialProfile(row, prefix) - if (spatialProfile) value.spatial_profile = spatialProfile - return value - }) - const names = species.flatMap(item => item.name === null ? [] : [item.name]) - if (new Set(names).size !== names.length) { - throw new Error(`Layer ${idx + 1} defect species names must be unique`) - } - next.defect_schema_version = schema - next.defect_model = model - next.bulk_defects = species - return next -} - export function readDeviceEditor( original: DeviceConfig, selectedLayerIdx?: number, diff --git a/web/src/configuration-client.sweep.test.ts b/web/src/configuration-client.sweep.test.ts new file mode 100644 index 00000000..3662cefa --- /dev/null +++ b/web/src/configuration-client.sweep.test.ts @@ -0,0 +1,34 @@ +// @vitest-environment node +import { afterEach, expect, it, vi } from 'vitest' +import type { SweepInput } from './generated/configuration-inputs' +import { configurationSchemaSha256 } from './generated/configuration-schema' +import { previewSweepConfiguration, sweepInputFromPreview, sweepPointInputFromPreview } from './configuration-client' + +const raw: SweepInput = { schema_version: 'solarlab.sweep-preparation.v1', id: 'sweep', + base: { schema_version: 'solarlab.device-preparation.v1', id: 'base', source_format: 'canonical', layers: [] }, + axes: [{ id: 'voltage', target: { family: 'setting', parameter: ['phi_left'] }, coordinates: [{ kind: 'value', value: -0 }, { kind: 'omit' }] }] } +function json() { + return JSON.stringify({ schema: 'solarlab.configuration-preview.v1', kind: 'sweep', status: 'prepared_pending_dependencies', can_execute: false, input: raw, + resolved: { schema: 'solarlab.resolved-sweep-preparation.v1', id: raw.id, can_execute: false, points: [{ id: 'point:1', can_execute: false, applied_input: { ...raw.base, settings: { phi_left: -0 } } }] }, + identity: { scope: 'configuration_content', content_sha256: 'a'.repeat(64), default_catalog_sha256: 'b'.repeat(64), resource_library_sha256: 'c'.repeat(64), configuration_schema_sha256: configurationSchemaSha256 } }) + .replace('"value":0', '"value":-0.0').replace('"phi_left":0', '"phi_left":-0.0') +} +afterEach(() => { vi.unstubAllGlobals() }) +it('posts exact sweep words and validates the new schema-bound kind', async () => { + const original = json(), fetcher = vi.fn().mockResolvedValue(new Response(original, { headers: { 'Content-Type': 'application/json' } })) + vi.stubGlobal('fetch', fetcher) + const doc = await previewSweepConfiguration('/sweep', raw) + expect(fetcher.mock.calls[0][1].headers['X-Solarlab-Configuration-Schema']).toBe(configurationSchemaSha256) + expect(fetcher.mock.calls[0][1].body).toContain('"value":-0.0') + expect(doc.json).toBe(original) + expect(sweepInputFromPreview(original)).toStrictEqual(raw) + expect(Object.is((sweepPointInputFromPreview(original, 'point:1') as typeof raw.base & { settings: { phi_left: number } }).settings.phi_left, -0)).toBe(true) +}) +it('keeps mismatched schemas, unavailable points and duplicate point identities visible', () => { + expect(() => sweepInputFromPreview(json().replace(configurationSchemaSha256, '0'.repeat(64)))).toThrow('schema identity') + expect(() => sweepPointInputFromPreview(json(), 'missing')).toThrow('Select one') + const value = JSON.parse(json()); value.resolved.points.push(value.resolved.points[0]) + expect(() => sweepPointInputFromPreview(JSON.stringify(value), 'point:1')).toThrow('Select one') + value.resolved.points = [{ id: 'point:1', can_execute: false, applied_input: null }] + expect(() => sweepPointInputFromPreview(JSON.stringify(value), 'point:1')).toThrow('applied input') +}) diff --git a/web/src/configuration-client.test.ts b/web/src/configuration-client.test.ts new file mode 100644 index 00000000..b8c78d1d --- /dev/null +++ b/web/src/configuration-client.test.ts @@ -0,0 +1,387 @@ +// @vitest-environment node +import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest'; +import type { DeviceInput, TandemInput, JVExperimentInput } from './generated/configuration-inputs'; +import { configurationSchemaSha256 } from './generated/configuration-schema'; +import { + ConfigurationPreviewError, previewDeviceConfiguration, previewTandemConfiguration, spatialExperimentInputFromPreview, + previewJVExperiment, jvExperimentInputFromPreview, previewLegacyWire, +} from './configuration-client'; +import type { LegacyWirePreviewRequest } from './configuration-client'; +import { webcrypto } from './test-helpers/schema-fixture.mjs'; + +const endpoint = 'http://127.0.0.1:9000/configuration-preview/device'; + +describe('exact experiment input reopen', () => { + function saved(integer: string, digest = configurationSchemaSha256) { + return `{"schema":"solarlab.configuration-preview.v1","kind":"experiment","can_execute":false,"identity":{"configuration_schema_sha256":"${digest}"},"input":{"schema_version":"solarlab.experiment-preparation.v1","id":"saved","device":{"id":"device","settings":{"phi_left":-0.0},"extension":{"integer":${integer},"word":"0.00000000000000000001 m","empty":null}},"experiment":{"kind":"jv_2d"}}}`; + } + it('recovers exactly representable large SCAPS numbers and preserves signed zero/words/null', () => { + const json = saved('100000000000000000000'); + const result = spatialExperimentInputFromPreview(json); + expect(Reflect.get(result.device, 'extension')).toStrictEqual({ integer: 1e20, word: '0.00000000000000000001 m', empty: null }); + expect(Object.is(result.device.settings!.phi_left, -0)).toBe(true); + expect(json).toContain('100000000000000000000'); + }); + it('rejects a nonrepresentable integer with its path instead of truncating it', () => { + expect(() => spatialExperimentInputFromPreview(saved('100000000000000000001'))) + .toThrow('not exactly representable at ["device","extension","integer"]'); + }); + it('keeps schema mismatch visible when reopening', () => { + expect(() => spatialExperimentInputFromPreview(saved('0', '0'.repeat(64)))).toThrow('schema identity'); + }); +}); +// Transport-only DTOs. Actual material configurations run through the real +// resolver and HTTP service in test_configuration_preview.py. +function device(): DeviceInput { + return { + schema_version: 'solarlab.device-preparation.v1', id: 'wire-device', + source_format: 'canonical', layers: [], description: undefined, + settings: { phi_left: -0, Phi: 0, work_function_left_eV: null }, + simulation_hints: null, + }; +} + +function tandem(): TandemInput { + return { + schema_version: 'solarlab.tandem-preparation.v1', source_schema_version: 1, + id: 'wire-tandem', device_type: 'tandem_2T_monolithic', + top_cell_reference: 'provided-top', bottom_cell_reference: 'provided-bottom', + top_cell: device(), bottom_cell: { ...device(), id: 'bottom' }, + junction_model: 'ideal_ohmic', light_direction: 'top_first', junction_stack: [], + }; +} + +function envelope(input: DeviceInput | TandemInput = device(), kind: 'device' | 'tandem' = 'device') { + return { + schema: 'solarlab.configuration-preview.v1', kind, + status: 'prepared_pending_dependencies', can_execute: false, + input, + resolved: { + schema: `solarlab.resolved-${kind}-preparation.v1`, id: input.id, + can_execute: false, capability_gaps: ['transport-fixture-only'], + }, + identity: { + scope: 'configuration_content', content_sha256: 'a'.repeat(64), + default_catalog_sha256: 'b'.repeat(64), resource_library_sha256: 'c'.repeat(64), + }, + }; +} + +function response(json = JSON.stringify(envelope()), status = 200, type = 'application/json') { + return new Response(json, { status, headers: { 'Content-Type': type } }); +} + +function respond(json = JSON.stringify(envelope()), status = 200, type = 'application/json') { + const fetch = vi.fn().mockResolvedValue(response(json, status, type)); + vi.stubGlobal('fetch', fetch); + return fetch; +} + +afterEach(() => { vi.unstubAllGlobals(); }); + +describe('source-bound legacy YAML preview transport', () => { + beforeEach(() => { vi.stubGlobal('crypto', webcrypto); }); + const legacyEndpoint = 'http://127.0.0.1:9000/configuration-preview/legacy-wire'; + function wireRequest(): LegacyWirePreviewRequest { + return { schema_version: 'solarlab.legacy-wire-preview-request.v1', input: device(), + source: { id: 'source.yaml', sha256: 'd'.repeat(64) }, references: {} }; + } + async function wireEnvelope(request = wireRequest(), text = '\uFEFF# constructed UTF-8 transport fixture\r\nvalue: -0.0\r\n') { + const bytes = new TextEncoder().encode(text); + const sha256 = Array.from(new Uint8Array(await webcrypto.subtle.digest('SHA-256', bytes)), + byte => byte.toString(16).padStart(2, '0')).join(''); + return { + schema: 'solarlab.legacy-wire-preview.v1', kind: 'legacy-wire', status: 'prepared_data_only', can_execute: false, + input: request.input, + identity: { scope: 'legacy_wire_preparation', source: { ...request.source }, references: { ...request.references }, + default_catalog_sha256: 'b'.repeat(64), resource_library_sha256: 'c'.repeat(64), + configuration_schema_sha256: configurationSchemaSha256 }, + report: { schema: 'solarlab.legacy-wire-preparation.v1', status: 'prepared_data_only', supported: true, + can_execute: false, strict_roundtrip_passed: true, source: { ...request.source }, + reference_sources: { ...request.references }, emitted_references: {}, + emitted: { id: request.source.id, sha256, bytes: bytes.byteLength }, + default_catalog_sha256: 'b'.repeat(64), unsupported: [] as { path: string; code: string; message: string }[] }, + documents: [{ role: 'source', reference: null as string | null, source_id: request.source.id, + sha256, size_bytes: bytes.byteLength, media_type: 'application/yaml', utf8: text }], + }; + } + + it('sends canonical input and exact source bindings without normalizing -0, null or omission', async () => { + const request = wireRequest(); + const envelope = await wireEnvelope(request); + const fetch = respond(JSON.stringify(envelope)); + const abort = new AbortController(); + const result = await previewLegacyWire(legacyEndpoint, request, abort.signal); + const [url, options] = fetch.mock.calls[0]; + expect(url).toBe(legacyEndpoint); + expect(options.signal).toBe(abort.signal); + expect(options.headers['X-Solarlab-Configuration-Schema']).toBe(configurationSchemaSha256); + const sent = JSON.parse(options.body); + expect(Object.is(sent.input.settings.phi_left, -0)).toBe(true); + expect(sent.input.settings.work_function_left_eV).toBeNull(); + expect(sent.input).not.toHaveProperty('description'); + expect(sent.source).toEqual(request.source); + expect(result.value.documents[0].utf8).toBe(envelope.documents[0].utf8); + expect(Object.isFrozen(result.value.report)).toBe(true); + }); + + it('uses the submitted identity snapshot when the caller later changes its selection', async () => { + const request = { ...wireRequest(), source: { ...wireRequest().source }, input: device() }; + const envelope = await wireEnvelope(request); + let release!: (response: Response) => void; + vi.stubGlobal('fetch', vi.fn(() => new Promise(resolve => { release = resolve; }))); + const pending = previewLegacyWire(legacyEndpoint, request); + request.source.id = 'changed-after-send'; + request.input.id = 'changed-after-send'; + // The response represents the earlier submitted input, not the mutated object. + envelope.input = { ...device() }; + release(response(JSON.stringify(envelope))); + await expect(pending).resolves.toMatchObject({ value: { input: { id: 'wire-device' } } }); + }); + + it.each(['utf8', 'sha256', 'size_bytes'])('rejects changed downloadable %s', async key => { + const envelope = await wireEnvelope(); + const document = envelope.documents[0] as Record; + document[key] = key === 'utf8' ? 'different bytes' : key === 'sha256' ? 'f'.repeat(64) : 0; + envelope.report.emitted = { id: document.source_id as string, sha256: document.sha256 as string, bytes: document.size_bytes as number }; + respond(JSON.stringify(envelope)); + await expect(previewLegacyWire(legacyEndpoint, wireRequest())).rejects.toMatchObject({ code: 'integrity' }); + }); + + it.each(['source', 'schema', 'input', 'execution', 'missing', 'reference'])('rejects incorrect %s response binding', async problem => { + const envelope = await wireEnvelope(); + if (problem === 'source') envelope.identity.source.sha256 = 'e'.repeat(64); + else if (problem === 'schema') envelope.identity.configuration_schema_sha256 = 'e'.repeat(64); + else if (problem === 'input') envelope.input.id = 'foreign'; + else if (problem === 'execution') envelope.can_execute = true; + else if (problem === 'missing') envelope.documents = []; + else { envelope.documents[0].role = 'reference'; envelope.documents[0].reference = 'foreign.yaml'; } + respond(JSON.stringify(envelope)); + await expect(previewLegacyWire(legacyEndpoint, wireRequest())).rejects.toMatchObject({ code: 'protocol' }); + }); + + it('retains unsupported field diagnostics and refuses any partial YAML', async () => { + const envelope = await wireEnvelope(), original = envelope.documents; + envelope.status = envelope.report.status = 'unsupported'; + envelope.report.supported = false; + envelope.report.unsupported = [{ path: '$.materials', code: 'material_inheritance', message: 'Named material graph cannot be flattened' }]; + envelope.documents = []; + respond(JSON.stringify(envelope)); + const result = await previewLegacyWire(legacyEndpoint, wireRequest()); + expect(result.value.report.unsupported[0].path).toBe('$.materials'); + expect(result.value.documents).toEqual([]); + envelope.documents = original; + respond(JSON.stringify(envelope)); + await expect(previewLegacyWire(legacyEndpoint, wireRequest())).rejects.toMatchObject({ code: 'protocol' }); + }); + + it.each(['id', 'sha256', 'bytes', 'reference_sources'])('rejects self-consistent bytes with mismatched report %s', async key => { + const envelope = await wireEnvelope(); + if (key === 'reference_sources') envelope.report.reference_sources = { unexpected: { id: 'foreign', sha256: 'a'.repeat(64) } }; + else (envelope.report.emitted as Record)[key] = key === 'bytes' ? 0 : 'f'.repeat(64); + respond(JSON.stringify(envelope)); + await expect(previewLegacyWire(legacyEndpoint, wireRequest())).rejects.toMatchObject({ code: 'protocol' }); + }); + + it('does not accept a download when hashing is unavailable or fails', async () => { + respond(JSON.stringify(await wireEnvelope())); + vi.stubGlobal('crypto', undefined); + await expect(previewLegacyWire(legacyEndpoint, wireRequest())).rejects.toMatchObject({ code: 'verification_unavailable' }); + const cause = new Error('digest failed'); + respond(JSON.stringify(await wireEnvelope())); + vi.stubGlobal('crypto', { subtle: { digest: () => Promise.reject(cause) } }); + await expect(previewLegacyWire(legacyEndpoint, wireRequest())).rejects.toMatchObject({ code: 'verification_unavailable', cause }); + }); + + it('retains a source-binding HTTP error without publishing a candidate', async () => { + respond('{"detail":{"status":"unresolved","can_execute":false,"field_errors":[{"loc":["source","sha256"],"msg":"wrong source"}]}}', 409); + await expect(previewLegacyWire(legacyEndpoint, wireRequest())).rejects.toMatchObject({ + code: 'http', status: 409, data: { detail: { field_errors: [{ loc: ['source', 'sha256'] }] } }, + }); + }); +}); + + +describe('discriminated J-V preparation transport', () => { + function jv(input: JVExperimentInput) { + return { ...envelope(), kind: 'experiment', input, + resolved: { schema: 'solarlab.resolved-jv-experiment-preparation.v1', id: input.id, can_execute: false }, + identity: { ...envelope().identity, configuration_schema_sha256: configurationSchemaSha256 } }; + } + it('validates both J-V branches and rejects a same-ID response for a different branch', async () => { + const raw: JVExperimentInput = { schema_version: 'solarlab.experiment-preparation.v1', id: 'same', device: device(), experiment: { kind: 'jv', V_max: null, v_rate: '40 mV/s' } }; + const fetch = respond(JSON.stringify(jv(raw))); + const result = await previewJVExperiment('/configuration-preview/experiment', raw); + expect(result.value.resolved.schema).toBe('solarlab.resolved-jv-experiment-preparation.v1'); + expect(fetch.mock.calls[0][1].headers['X-Solarlab-Configuration-Schema']).toBe(configurationSchemaSha256); + expect(fetch.mock.calls[0][1].body).toContain('"v_rate":"40 mV/s"'); + const dark: JVExperimentInput = { ...raw, experiment: { kind: 'dark_jv' } }; + respond(JSON.stringify(jv(dark))); + await expect(previewJVExperiment('/configuration-preview/experiment', raw)).rejects.toThrow('branch does not match'); + respond(JSON.stringify(jv(dark))); + await expect(previewJVExperiment('/configuration-preview/experiment', dark)).resolves.toMatchObject({ value: { input: { experiment: { kind: 'dark_jv' } } } }); + }); + it('reopens exact J-V input and gives a typed error for a missing or wrong branch', () => { + const raw: JVExperimentInput = { schema_version: 'solarlab.experiment-preparation.v1', id: 'saved', device: device(), experiment: { kind: 'dark_jv', V_max: -0 } }; + const json = JSON.stringify(jv(raw)).replace('"V_max":0', '"V_max":-0.0'); + expect(Object.is(jvExperimentInputFromPreview(json).experiment.V_max, -0)).toBe(true); + expect(() => spatialExperimentInputFromPreview(json)).toThrow('spatial experiment'); + const missing = jv(raw); Reflect.deleteProperty(missing.input, 'experiment'); + expect(() => jvExperimentInputFromPreview(JSON.stringify(missing))).toThrow(ConfigurationPreviewError); + }); +}); + +describe('prepared configuration transport', () => { + it('posts generated input to the explicit endpoint with numeric signed zero, null and omission', async () => { + const input = device(); + const fetch = respond(); + const signal = new AbortController().signal; + await previewDeviceConfiguration(new URL(endpoint), input, signal); + const [url, init] = fetch.mock.calls[0]; + expect(String(url)).toBe(endpoint); + expect(init).toMatchObject({ method: 'POST', headers: { 'Content-Type': 'application/json' }, signal }); + expect(init.body).toContain('"phi_left":-0.0'); + const sent = JSON.parse(init.body); + expect(Object.is(sent.settings.phi_left, -0)).toBe(true); + expect(typeof sent.settings.phi_left).toBe('number'); + expect(sent.settings.Phi).toBe(0); + expect(sent.settings.work_function_left_eV).toBeNull(); + expect(sent.simulation_hints).toBeNull(); + expect(sent).not.toHaveProperty('description'); + expect(Object.is(input.settings?.phi_left, -0)).toBe(true); + expect(Object.hasOwn(input, 'description')).toBe(true); + }); + + it('submits the generated tandem graph without loading its reference strings', async () => { + const input = tandem(); + const fetch = respond(JSON.stringify(envelope(input, 'tandem'))); + const result = await previewTandemConfiguration(endpoint.replace('/device', '/tandem'), input); + const sent = JSON.parse(fetch.mock.calls[0][1].body); + expect(sent.top_cell_reference).toBe('provided-top'); + expect(Object.is(sent.top_cell.settings.phi_left, -0)).toBe(true); + expect(sent.bottom_cell.settings.work_function_left_eV).toBeNull(); + expect(result.value.kind).toBe('tandem'); + expect(fetch).toHaveBeenCalledTimes(1); + }); + + it('snapshots input before waiting and isolates the deeply frozen result', async () => { + const input = device(); + const originalId = input.id; + let finish!: (value: Response) => void; + const fetch = vi.fn((_endpoint: unknown, _init: RequestInit) => new Promise(resolve => { finish = resolve; })); + vi.stubGlobal('fetch', fetch); + const waiting = previewDeviceConfiguration(endpoint, input); + input.id = 'edited-later'; + input.settings!.Phi = 123; + finish(response()); + const result = await waiting; + expect(JSON.parse(fetch.mock.calls[0][1]!.body as string).settings.Phi).toBe(0); + expect(result.value.input.id).toBe(originalId); + expect(Object.isFrozen(result)).toBe(true); + expect(Object.isFrozen(result.value.input.settings)).toBe(true); + expect(Object.isFrozen(result.value.resolved.capability_gaps)).toBe(true); + expect(() => { (result.value.input as Record).id = 'changed'; }).toThrow(TypeError); + expect(input.id).toBe('edited-later'); + }); + + it('retains original JSON tokens and opaque provenance without claiming execution identity', async () => { + const raw = JSON.stringify(envelope()).replace('"phi_left":0', '"phi_left":-0.0') + .replace('"capability_gaps":', '"original_integer":9007199254740993,"clear":null,"capability_gaps":'); + respond(raw); + const result = await previewDeviceConfiguration(endpoint, device()); + expect(result.json).toBe(raw); + expect(result.value.resolved.original_integer).toBe(9007199254740993n); + expect(Object.is((result.value.input.settings as Record).phi_left, -0)).toBe(true); + expect(result.value.resolved.clear).toBeNull(); + expect(result.value.resolved).not.toHaveProperty('absent'); + expect(result.value.identity.scope).toBe('configuration_content'); + expect(result.value.identity).not.toHaveProperty('H_execution'); + expect(result.value.status).toBe('prepared_pending_dependencies'); + expect(result.value.can_execute).toBe(false); + }); + + it('preserves structured field errors, unresolved status and original error JSON', async () => { + const raw = '{"detail":{"code":"configuration_validation","status":"unresolved","can_execute":false,"field_errors":[{"loc":["layers",0,"parameters","mu_n"],"input":null,"msg":"invalid"}]}}'; + respond(raw, 422); + const error = await previewDeviceConfiguration(endpoint, device()).catch(e => e); + expect(error).toBeInstanceOf(ConfigurationPreviewError); + expect(error).toMatchObject({ code: 'http', status: 422, json: raw, data: JSON.parse(raw) }); + expect(Object.isFrozen(error.data.detail.field_errors[0].loc)).toBe(true); + }); + + it.each([503, 415, 413])('retains HTTP %i even when its body is not JSON', async status => { + respond('upstream unavailable', status, 'text/plain'); + await expect(previewDeviceConfiguration(endpoint, device())).rejects.toMatchObject({ + code: 'http', status, json: 'upstream unavailable', data: undefined, + }); + }); + + it.each([ + ['schema', 'other'], ['kind', 'tandem'], ['status', 'succeeded'], ['can_execute', true], + ['input.id', 'foreign'], ['input.schema_version', 'unrecognized'], + ['resolved.id', 'foreign'], ['resolved.schema', 'unrecognized'], ['resolved.can_execute', true], + ['identity.scope', 'H_execution'], ['identity.content_sha256', 'invalid'], + ['identity.default_catalog_sha256', null], ['identity.resource_library_sha256', 'A'.repeat(64)], + ] as Array<[string, unknown]>)('rejects mismatched response %s', async (path, replacement) => { + const data = envelope() as unknown as Record; + const names = path.split('.'); + const parent = names.length === 2 ? data[names[0]] as Record : data; + parent[names.at(-1)!] = replacement; + respond(JSON.stringify(data)); + await expect(previewDeviceConfiguration(endpoint, device())).rejects.toMatchObject({ code: 'protocol' }); + }); + + it('rejects an unexpected success status or content type', async () => { + respond(JSON.stringify(envelope()), 202); + await expect(previewDeviceConfiguration(endpoint, device())).rejects.toMatchObject({ code: 'protocol' }); + respond(JSON.stringify(envelope()), 200, 'text/plain'); + await expect(previewDeviceConfiguration(endpoint, device())).rejects.toMatchObject({ code: 'protocol' }); + }); + + it.each(['{', '{"x":NaN}', '{"x":1e999}'])('rejects malformed or nonfinite response %s', async raw => { + respond(raw); + await expect(previewDeviceConfiguration(endpoint, device())).rejects.toMatchObject({ code: 'malformed' }); + }); + + it('rejects invalid UTF-8 instead of replacing bytes silently', async () => { + vi.stubGlobal('fetch', vi.fn().mockResolvedValue(new Response(new Uint8Array([255])))); + await expect(previewDeviceConfiguration(endpoint, device())).rejects.toMatchObject({ code: 'malformed' }); + }); + + it('fails clearly when this runtime cannot recover an unsafe JSON integer', async () => { + const nativeParse = JSON.parse; + vi.stubGlobal('JSON', { ...JSON, stringify: JSON.stringify, parse: (text: string, reviver: (key: string, value: unknown) => unknown) => + nativeParse(text, (key, value) => reviver(key, value)) }); + respond('{"unknown":9007199254740993}'); + await expect(previewDeviceConfiguration(endpoint, device())).rejects.toMatchObject({ code: 'precision_unavailable' }); + }); + + it('propagates fetch and response-body transport failures, including abort', async () => { + const failure = new TypeError('connection refused'); + vi.stubGlobal('fetch', vi.fn().mockRejectedValue(failure)); + await expect(previewDeviceConfiguration(endpoint, device())).rejects.toBe(failure); + const aborted = new DOMException('aborted while receiving', 'AbortError'); + vi.stubGlobal('fetch', vi.fn().mockResolvedValue({ arrayBuffer: () => Promise.reject(aborted) })); + await expect(previewDeviceConfiguration(endpoint, device())).rejects.toBe(aborted); + }); + + it.each([NaN, Infinity, new Date(0), 1n, () => 1, [undefined], new Array(1)])( + 'rejects unrepresentable input before fetch', async value => { + const fetch = respond(); + const input = { ...device(), unknown: value } as DeviceInput; + await expect(previewDeviceConfiguration(endpoint, input)).rejects.toMatchObject({ code: 'input' }); + expect(fetch).not.toHaveBeenCalled(); + }, + ); + + it('rejects cycles and symbol fields without starting transport', async () => { + const fetch = respond(); + const input = device() as DeviceInput & { self?: unknown }; + input.self = input; + await expect(previewDeviceConfiguration(endpoint, input)).rejects.toMatchObject({ code: 'input' }); + delete input.self; + Object.defineProperty(input, Symbol('hidden'), { value: 0 }); + await expect(previewDeviceConfiguration(endpoint, input)).rejects.toMatchObject({ code: 'input' }); + expect(fetch).not.toHaveBeenCalled(); + }); +}); diff --git a/web/src/configuration-client.ts b/web/src/configuration-client.ts new file mode 100644 index 00000000..5b70a099 --- /dev/null +++ b/web/src/configuration-client.ts @@ -0,0 +1,383 @@ +/** Explicit prepared-configuration transport; no default selection or execution. */ +import type { DeviceInput, TandemInput, SpatialExperimentInput, JVExperimentInput, SweepInput } from './generated/configuration-inputs'; +import { configurationSchemaSha256 } from './generated/configuration-schema'; + +type Kind = 'device' | 'tandem' | 'experiment' | 'sweep'; +type ErrorCode = 'input' | 'http' | 'malformed' | 'protocol' | 'precision_unavailable' | 'verification_unavailable' | 'integrity'; + +export class ConfigurationPreviewError extends Error { + readonly code: ErrorCode; + readonly status?: number; + readonly data?: unknown; + readonly json?: string; + + constructor(code: ErrorCode, message: string, options?: ErrorOptions & { + status?: number; data?: unknown; json?: string; + }) { + super(message, options); + this.name = 'ConfigurationPreviewError'; + this.code = code; + this.status = options?.status; + this.data = options?.data; + this.json = options?.json; + } +} + +export interface ConfigurationPreview { + readonly schema: 'solarlab.configuration-preview.v1'; + readonly kind: Kind; + readonly status: 'prepared_pending_dependencies'; + readonly can_execute: false; + /** Opaque prepared mappings: these are not generated execution/result DTOs. + * Unsafe JSON integers are bigint; json retains every original wire token. */ + readonly input: Readonly>; + readonly resolved: Readonly>; + readonly identity: { + readonly scope: 'configuration_content'; + readonly content_sha256: string; + readonly default_catalog_sha256: string; + readonly resource_library_sha256: string; + readonly configuration_schema_sha256?: string; + }; +} + +export interface ConfigurationPreviewDocument { + readonly value: ConfigurationPreview; + readonly json: string; +} + +export interface LegacyWireSourceIdentity { + readonly id: string; + readonly sha256: string; +} + +export interface LegacyWirePreviewRequest { + readonly schema_version: 'solarlab.legacy-wire-preview-request.v1'; + readonly input: DeviceInput | TandemInput; + readonly source: LegacyWireSourceIdentity; + readonly references?: Readonly>; +} + +export interface LegacyWireContent { + readonly role: 'source' | 'reference'; + readonly reference: string | null; + readonly source_id: string; + readonly sha256: string; + readonly size_bytes: number; + readonly media_type: 'application/yaml'; + /** Exact UTF-8 text; no parse/reformat step occurs before download. */ + readonly utf8: string; +} + +export interface LegacyWirePreviewDocument { + readonly json: string; + readonly value: { + readonly schema: 'solarlab.legacy-wire-preview.v1'; + readonly kind: 'legacy-wire'; + readonly status: 'prepared_data_only' | 'unsupported'; + readonly can_execute: false; + readonly input: Readonly>; + readonly identity: Readonly>; + readonly report: Readonly> & { + readonly supported: boolean; + readonly unsupported: readonly { readonly path: string; readonly code: string; readonly message: string }[]; + }; + readonly documents: readonly LegacyWireContent[]; + }; +} + +function requireValue(value: unknown, message: string, code: ErrorCode = 'protocol'): asserts value { + if (!value) throw new ConfigurationPreviewError(code, message); +} + +function object(value: unknown): value is Record { + return value !== null && typeof value === 'object' && !Array.isArray(value); +} + +/** Snapshot the generated DTO before awaiting fetch. Numeric -0 stays numeric + * -0.0 on the wire; optional undefined properties are omitted, never nulled. */ +function encode(value: unknown, ancestors = new Set()): string { + if (value === null) return 'null'; + if (typeof value === 'string' || typeof value === 'boolean') return JSON.stringify(value); + if (typeof value === 'number') { + requireValue(Number.isFinite(value), 'Configuration numbers must be finite', 'input'); + return Object.is(value, -0) ? '-0.0' : JSON.stringify(value); + } + requireValue(value !== null && typeof value === 'object', 'Unsupported configuration input value', 'input'); + requireValue(!ancestors.has(value), 'Cyclic configuration input', 'input'); + requireValue(Array.isArray(value) || Object.getPrototypeOf(value) === Object.prototype + || Object.getPrototypeOf(value) === null, 'Expected plain configuration DTO data', 'input'); + requireValue(Object.getOwnPropertySymbols(value).length === 0, 'Symbol fields are not JSON input', 'input'); + ancestors.add(value); + try { + if (Array.isArray(value)) { + return '[' + Array.from(value, item => encode(item, ancestors)).join(',') + ']'; + } + return '{' + Object.entries(value).filter(([, item]) => item !== undefined) + .map(([key, item]) => JSON.stringify(key) + ':' + encode(item, ancestors)).join(',') + '}'; + } finally { ancestors.delete(value); } +} + +function parse(json: string): unknown { + try { + return JSON.parse(json, (_key: string, value: unknown, context?: { source?: string }) => { + if (typeof value !== 'number') return value; + requireValue(Number.isFinite(value), 'Non-finite preview response number', 'malformed'); + if (context?.source && /^-?[0-9]+$/.test(context.source) && !Number.isSafeInteger(value)) { + return BigInt(context.source); + } + requireValue(context?.source || Number.isSafeInteger(value) || !Number.isInteger(value), + 'This runtime cannot recover exact preview JSON integers', 'precision_unavailable'); + return value; + }); + } catch (cause) { + if (cause instanceof ConfigurationPreviewError) throw cause; + throw new ConfigurationPreviewError('malformed', 'Preview is not valid JSON', { cause }); + } +} + +function freeze(value: unknown): void { + if (value && typeof value === 'object') { + for (const child of Object.values(value)) freeze(child); + Object.freeze(value); + } +} + +async function requestPreview( + endpoint: string | URL, body: string, withSchema: boolean, signal?: AbortSignal, +): Promise<{ value: unknown; json: string }> { + const response = await fetch(endpoint, { + method: 'POST', headers: { 'Content-Type': 'application/json', + ...(withSchema ? { 'X-Solarlab-Configuration-Schema': configurationSchemaSha256 } : {}) }, body, signal, + }); + const bytes = await response.arrayBuffer(); + let json: string; + try { json = new TextDecoder('utf-8', { fatal: true }).decode(bytes); } + catch (cause) { + throw new ConfigurationPreviewError('malformed', 'Preview is not valid UTF-8', { status: response.status, cause }); + } + if (!response.ok) { + let data: unknown; + try { data = parse(json); } catch { data = undefined; } + freeze(data); + throw new ConfigurationPreviewError('http', `Configuration preview: HTTP ${response.status}`, { + status: response.status, data, json, + }); + } + requireValue(response.status === 200 + && response.headers.get('Content-Type')?.split(';')[0].trim().toLowerCase() === 'application/json', + 'Expected a configuration preview JSON response'); + return { value: parse(json), json }; +} + +async function preview( + endpoint: string | URL, kind: Kind, input: DeviceInput | TandemInput | SpatialExperimentInput | JVExperimentInput | SweepInput, signal?: AbortSignal, +): Promise { + const body = encode(input); + const requestedId = input.id; + const experimentKind = 'experiment' in input ? input.experiment.kind : undefined; + const resolvedKind = kind === 'experiment' ? ['jv', 'dark_jv'].includes(experimentKind!) ? 'jv-experiment' : 'spatial-experiment' : kind; + const { value, json } = await requestPreview(endpoint, body, ['experiment', 'sweep'].includes(kind), signal); + requireValue(object(value) && value.schema === 'solarlab.configuration-preview.v1' + && value.kind === kind && value.status === 'prepared_pending_dependencies' && value.can_execute === false, + 'Unexpected configuration preview kind or execution status'); + requireValue(object(value.input) && value.input.id === requestedId + && value.input.schema_version === `solarlab.${kind}-preparation.v1`, 'Preview input identity mismatch'); + requireValue(object(value.resolved) && value.resolved.id === requestedId + && value.resolved.schema === `solarlab.resolved-${resolvedKind}-preparation.v1` + && value.resolved.can_execute === false, 'Unexpected resolved configuration identity or execution status'); + requireValue(object(value.identity) && value.identity.scope === 'configuration_content', 'Expected configuration content identity'); + for (const field of ['content_sha256', 'default_catalog_sha256', 'resource_library_sha256']) { + requireValue(typeof value.identity[field] === 'string' && /^[a-f0-9]{64}$/.test(value.identity[field]), + `Invalid preview ${field}`); + } + if (kind === 'experiment' || kind === 'sweep') requireValue(value.identity.configuration_schema_sha256 === configurationSchemaSha256, + 'Experiment preview schema identity does not match this client'); + if (kind === 'experiment') requireValue(object(value.input.experiment) && value.input.experiment.kind === experimentKind, + 'Experiment preview branch does not match the submitted input'); + freeze(value); + return Object.freeze({ value: value as unknown as ConfigurationPreview, json }); +} + +/** Use the existing lossless JSON transport and verify every downloadable byte + * snapshot. Source IDs refer only to documents supplied to the server context. */ +export async function previewLegacyWire( + endpoint: string | URL, request: LegacyWirePreviewRequest, signal?: AbortSignal, +): Promise { + const body = encode(request); + const requestedId = request.input.id, requestedSchema = request.input.schema_version; + const source = { ...request.source }; + const references = Object.fromEntries(Object.entries(request.references ?? {}).map(([name, binding]) => [name, { ...binding }])); + const subcells = request.input.schema_version === 'solarlab.tandem-preparation.v1' + ? { top_cell: request.input.top_cell.id, bottom_cell: request.input.bottom_cell.id } : {}; + const matches = (value: unknown, expected: LegacyWireSourceIdentity) => object(value) + && value.id === expected.id && value.sha256 === expected.sha256; + const referenceBindingsMatch = (value: unknown) => object(value) + && Object.keys(value).length === Object.keys(references).length + && Object.entries(references).every(([name, binding]) => matches(value[name], binding)); + const { value, json } = await requestPreview(endpoint, body, true, signal); + requireValue(object(value) && value.schema === 'solarlab.legacy-wire-preview.v1' && value.kind === 'legacy-wire' + && value.can_execute === false, 'Unexpected legacy export preview or execution status'); + requireValue(object(value.input) && value.input.id === requestedId && value.input.schema_version === requestedSchema, + 'Legacy preview input identity mismatch'); + for (const [side, id] of Object.entries(subcells)) requireValue(object(value.input[side]) && value.input[side].id === id, + 'Legacy preview subcell instance identity mismatch'); + requireValue(object(value.identity) && value.identity.scope === 'legacy_wire_preparation' + && matches(value.identity.source, source) && referenceBindingsMatch(value.identity.references), 'Legacy preview source identity mismatch'); + for (const key of ['default_catalog_sha256', 'resource_library_sha256']) requireValue( + typeof value.identity[key] === 'string' && /^[a-f0-9]{64}$/.test(value.identity[key]), `Invalid legacy preview ${key}`); + requireValue(value.identity.configuration_schema_sha256 === configurationSchemaSha256, 'Legacy preview schema identity mismatch'); + requireValue(object(value.report) && value.report.schema === 'solarlab.legacy-wire-preparation.v1' + && value.report.can_execute === false && typeof value.report.supported === 'boolean' + && value.report.status === value.status && matches(value.report.source, source) + && referenceBindingsMatch(value.report.reference_sources) + && value.report.default_catalog_sha256 === value.identity.default_catalog_sha256 + && Array.isArray(value.report.unsupported) && Array.isArray(value.documents), 'Invalid legacy dry-run report'); + for (const issue of value.report.unsupported) requireValue(object(issue) && typeof issue.path === 'string' + && typeof issue.code === 'string' && typeof issue.message === 'string', 'Invalid unsupported field diagnostic'); + if (!value.report.supported) { + requireValue(value.status === 'unsupported' && value.documents.length === 0 && value.report.unsupported.length > 0, + 'A rejected legacy edit must not publish partial documents'); + } else { + requireValue(value.status === 'prepared_data_only' && value.report.strict_roundtrip_passed === true + && value.report.unsupported.length === 0 && value.documents.length === 1 + Object.keys(references).length, + 'Legacy export is not a complete lossless preparation'); + const emittedReferences = value.report.emitted_references; + requireValue(object(value.report.emitted) && object(emittedReferences) + && Object.keys(emittedReferences).length === Object.keys(references).length, + 'Missing emitted document provenance'); + const subtle = globalThis.crypto?.subtle; + requireValue(subtle, 'Content hashing is unavailable', 'verification_unavailable'); + const seen = new Set(); + for (const document of value.documents) { + requireValue(object(document) && (document.role === 'source' || document.role === 'reference') + && typeof document.utf8 === 'string' && document.media_type === 'application/yaml' + && typeof document.sha256 === 'string' && /^[a-f0-9]{64}$/.test(document.sha256) + && Number.isSafeInteger(document.size_bytes) && Number(document.size_bytes) >= 0, 'Invalid legacy document'); + const main = document.role === 'source'; + const reference = document.reference; + requireValue(main ? reference === null : typeof reference === 'string' && Object.hasOwn(references, reference), + 'Unexpected legacy document reference'); + const binding = main ? source : references[reference as string]; + const key = main ? 'source' : `reference:${reference}`; + requireValue(!seen.has(key) && document.source_id === binding.id, 'Duplicate or foreign legacy document'); + seen.add(key); + const emitted = main ? value.report.emitted : emittedReferences[reference as string]; + requireValue(object(emitted) && emitted.id === document.source_id && emitted.sha256 === document.sha256 + && emitted.bytes === document.size_bytes, 'Download disagrees with the migration report provenance'); + const bytes = new TextEncoder().encode(document.utf8); + let digest: ArrayBuffer; + try { digest = await subtle.digest('SHA-256', bytes); } + catch (cause) { throw new ConfigurationPreviewError('verification_unavailable', 'Content hashing failed', { cause }); } + const hash = Array.from(new Uint8Array(digest), byte => byte.toString(16).padStart(2, '0')).join(''); + requireValue(bytes.byteLength === document.size_bytes && hash === document.sha256, 'Legacy YAML content integrity mismatch', 'integrity'); + signal?.throwIfAborted(); + } + requireValue(seen.has('source'), 'Missing main legacy document'); + } + signal?.throwIfAborted(); + freeze(value); + return Object.freeze({ value: value as unknown as LegacyWirePreviewDocument['value'], json }); +} + +export function previewDeviceConfiguration( + endpoint: string | URL, input: DeviceInput, signal?: AbortSignal, +): Promise { + return preview(endpoint, 'device', input, signal); +} + +export function previewTandemConfiguration( + endpoint: string | URL, input: TandemInput, signal?: AbortSignal, +): Promise { + return preview(endpoint, 'tandem', input, signal); +} + +export function previewSpatialExperiment( + endpoint: string | URL, input: SpatialExperimentInput, signal?: AbortSignal, +): Promise { + return preview(endpoint, 'experiment', input, signal); +} + +export function previewExperimentConfiguration( + endpoint: string | URL, input: SpatialExperimentInput | JVExperimentInput, signal?: AbortSignal, +): Promise { + return preview(endpoint, 'experiment', input, signal); +} + +export function previewJVExperiment( + endpoint: string | URL, input: JVExperimentInput, signal?: AbortSignal, +): Promise { + return previewExperimentConfiguration(endpoint, input, signal); +} + +export function previewSweepConfiguration(endpoint: string | URL, input: SweepInput, signal?: AbortSignal): Promise { + return preview(endpoint, 'sweep', input, signal); +} + +function editable(value: unknown, path: (string | number)[]): unknown { + if (typeof value === 'bigint') { + const number = Number(value); + requireValue(Number.isFinite(number) && BigInt(number) === value, + `Saved input integer is not exactly representable at ${JSON.stringify(path)}`, 'precision_unavailable'); + return number; + } + if (Array.isArray(value)) return value.map((item, index) => editable(item, [...path, index])); + if (object(value)) return Object.fromEntries(Object.entries(value).map(([key, item]) => [key, editable(item, [...path, key])])); + return value; +} + +/** Reopen editable input from the original response text. JSON integers that + * originated as exactly representable numbers can exceed MAX_SAFE_INTEGER. + * Recover only those values; never round other integers into a generated DTO. */ +function experimentInputFromPreview(json: string): SpatialExperimentInput | JVExperimentInput { + const doc = parse(json); + requireValue(object(doc) && doc.schema === 'solarlab.configuration-preview.v1' + && doc.kind === 'experiment' && doc.can_execute === false && object(doc.input) + && doc.input.schema_version === 'solarlab.experiment-preparation.v1', 'Expected an experiment preparation preview'); + requireValue(object(doc.identity) && doc.identity.configuration_schema_sha256 === configurationSchemaSha256, + 'Saved experiment schema identity does not match this client'); + requireValue(object(doc.input.experiment) && typeof doc.input.experiment.kind === 'string', + 'Saved preview is missing its experiment branch'); + const input = editable(doc.input, []); + encode(input); // Check representability without using this text as an export. + return input as SpatialExperimentInput | JVExperimentInput; +} + +export function spatialExperimentInputFromPreview(json: string): SpatialExperimentInput { + const input = experimentInputFromPreview(json); + requireValue(['jv_2d', 'voc_grain_sweep'].includes(input.experiment.kind), 'Expected a spatial experiment input'); + return input as SpatialExperimentInput; +} + +export function jvExperimentInputFromPreview(json: string): JVExperimentInput { + const input = experimentInputFromPreview(json); + requireValue(['jv', 'dark_jv'].includes(input.experiment.kind), 'Expected a one-dimensional J-V experiment input'); + return input as JVExperimentInput; +} + +function savedSweep(json: string): Record { + const doc = parse(json); + requireValue(object(doc) && doc.schema === 'solarlab.configuration-preview.v1' && doc.kind === 'sweep' + && doc.can_execute === false && object(doc.input) && doc.input.schema_version === 'solarlab.sweep-preparation.v1', 'Expected a sweep preparation preview'); + requireValue(object(doc.identity) && doc.identity.configuration_schema_sha256 === configurationSchemaSha256, 'Saved sweep schema identity does not match this client'); + return doc; +} + +export function sweepInputFromPreview(json: string): SweepInput { + const input = editable(savedSweep(json).input, []); + encode(input); + return input as SweepInput; +} + +/** Materialize only the selected returned input; this is not run admission. */ +export function sweepPointInputFromPreview(json: string, pointId: string): DeviceInput | JVExperimentInput { + const doc = savedSweep(json); + requireValue(object(doc.resolved) && Array.isArray(doc.resolved.points), 'Saved sweep has no point declarations'); + const points = doc.resolved.points.filter(value => object(value) && value.id === pointId); + requireValue(points.length === 1 && object(points[0]) && points[0].can_execute === false + && object(points[0].applied_input), 'Select one declared non-executing point with an applied input'); + const input = editable(points[0].applied_input, []); + requireValue(object(input) && ['solarlab.device-preparation.v1', 'solarlab.experiment-preparation.v1'].includes(String(input.schema_version)), 'Unknown sweep point input kind'); + encode(input); + return input as unknown as DeviceInput | JVExperimentInput; +} diff --git a/perovskite-sim/frontend/src/device-panel-ion-mode.test.ts b/web/src/device-panel-ion-mode.test.ts similarity index 100% rename from perovskite-sim/frontend/src/device-panel-ion-mode.test.ts rename to web/src/device-panel-ion-mode.test.ts diff --git a/perovskite-sim/frontend/src/device-panel-workspace-config.test.ts b/web/src/device-panel-workspace-config.test.ts similarity index 100% rename from perovskite-sim/frontend/src/device-panel-workspace-config.test.ts rename to web/src/device-panel-workspace-config.test.ts diff --git a/perovskite-sim/frontend/src/device-panel.ts b/web/src/device-panel.ts similarity index 100% rename from perovskite-sim/frontend/src/device-panel.ts rename to web/src/device-panel.ts diff --git a/perovskite-sim/frontend/src/device-utils.ts b/web/src/device-utils.ts similarity index 100% rename from perovskite-sim/frontend/src/device-utils.ts rename to web/src/device-utils.ts diff --git a/perovskite-sim/frontend/src/dynamic-defect-transient-evidence.ts b/web/src/dynamic-defect-transient-evidence.ts similarity index 100% rename from perovskite-sim/frontend/src/dynamic-defect-transient-evidence.ts rename to web/src/dynamic-defect-transient-evidence.ts diff --git a/web/src/editors/bulk-defects.ts b/web/src/editors/bulk-defects.ts new file mode 100644 index 00000000..17c9d4b3 --- /dev/null +++ b/web/src/editors/bulk-defects.ts @@ -0,0 +1,1096 @@ +import type { + BulkDefectChargeTransition, + BulkDefectDistributionKind, + BulkDefectNeutralReference, + BulkDefectSchemaVersion, + BulkDefectSpecies, + BulkDefectSpatialKnot, + BulkDefectSpatialProfile, + BulkDefectWidthConvention, + DeviceConfig, + LayerConfig, +} from '../types' +import { formatNumberInput as fmt } from '../number-input' +import { escapeHtml } from './inputs' + +const EXPLICIT_DEFECT_SCHEMA_V1 = 'solarlab-explicit-bulk-defects-v1' as const + +const EXPLICIT_DEFECT_SCHEMA_V2 = 'solarlab-explicit-bulk-defects-v2' as const + +const EXPLICIT_DEFECT_SCHEMA_V3 = 'solarlab-explicit-bulk-defects-v3' as const + +const EXPLICIT_DEFECT_SCHEMA_VERSIONS = new Set([ + EXPLICIT_DEFECT_SCHEMA_V1, + EXPLICIT_DEFECT_SCHEMA_V2, + EXPLICIT_DEFECT_SCHEMA_V3, +]) + +const DEFECT_DISTRIBUTION_LABELS: ReadonlyArray<{ + value: BulkDefectDistributionKind + label: string +}> = [ + { value: 'single_level', label: 'Single level' }, + { value: 'gaussian', label: 'Gaussian' }, + { value: 'uniform', label: 'Uniform' }, + { value: 'conduction_band_tail', label: 'Conduction-band tail' }, + { value: 'valence_band_tail', label: 'Valence-band tail' }, +] + +const DEFECT_NEUTRAL_REFERENCE: Record< + Exclude, + Exclude +> = { + neutral: 'all_occupancies', + acceptor: 'empty', + donor: 'filled', +} + +type DefectDisplayUnit = 'si' | 'scaps_cgs' + +type DefectDimension = 'density' | 'cross_section' | 'velocity' + +const DEFECT_DISPLAY_FACTORS: Record< + DefectDisplayUnit, + Record +> = { + si: { density: 1, cross_section: 1, velocity: 1 }, + scaps_cgs: { density: 1e-6, cross_section: 1e4, velocity: 1e2 }, +} + +function isRecord(value: unknown): value is Record { + return typeof value === 'object' && value !== null && !Array.isArray(value) +} + +function hasExactKeys(value: Record, expected: readonly string[]): boolean { + const actual = Object.keys(value).sort() + const wanted = [...expected].sort() + return actual.length === wanted.length && actual.every((key, index) => key === wanted[index]) +} + +function isFiniteNumber(value: unknown): value is number { + return typeof value === 'number' && Number.isFinite(value) +} + +function minimumLayerBandGap(layer: LayerConfig, bandGradingActive: boolean): number | null { + if (!isFiniteNumber(layer.Eg) || layer.Eg <= 0) return null + const front = layer.Eg + if (!bandGradingActive) return front + const back = isFiniteNumber(layer.Eg_back) && layer.Eg_back > 0 ? layer.Eg_back : front + const bowing = isFiniteNumber(layer.grading_bowing) ? layer.grading_bowing : 0 + const candidates = [front, back] + if (bowing > 0) { + const stationary = (front + bowing - back) / (2 * bowing) + if (stationary > 0 && stationary < 1) { + candidates.push( + (1 - stationary) * front + + stationary * back + - bowing * stationary * (1 - stationary), + ) + } + } + return Math.min(...candidates) +} + +function spatialProfileUnsupportedReason(value: unknown): string | null { + if (!isRecord(value) || !hasExactKeys(value, [ + 'coordinate', 'interpolation', 'density_normalization', 'knots', + ])) return 'spatial profile schema is not canonical' + if ( + value.coordinate !== 'normalized_layer_coordinate' + || value.interpolation !== 'piecewise_linear' + || value.density_normalization !== 'layer_average_unity' + || !Array.isArray(value.knots) + || value.knots.length < 2 + ) return 'spatial profile convention is not editable' + const knots: BulkDefectSpatialKnot[] = [] + for (const knot of value.knots) { + if (!isRecord(knot) || !hasExactKeys(knot, [ + 'position_fraction', 'density_multiplier', + ])) return 'spatial profile knot schema is not canonical' + if ( + !isFiniteNumber(knot.position_fraction) + || knot.position_fraction < 0 + || knot.position_fraction > 1 + || !isFiniteNumber(knot.density_multiplier) + || knot.density_multiplier <= 0 + ) return 'spatial profile knot values are invalid' + knots.push({ + position_fraction: knot.position_fraction, + density_multiplier: knot.density_multiplier, + }) + } + if (knots[0].position_fraction !== 0 || knots.at(-1)?.position_fraction !== 1) { + return 'spatial profile requires exact 0 and 1 endpoints' + } + if (knots.some((knot, index) => ( + index > 0 && knot.position_fraction <= knots[index - 1].position_fraction + ))) return 'spatial profile positions are not strictly increasing' + const integral = knots.slice(1).reduce((sum, right, index) => { + const left = knots[index] + return sum + 0.5 + * (left.density_multiplier + right.density_multiplier) + * (right.position_fraction - left.position_fraction) + }, 0) + if (Math.abs(integral - 1) > 1e-12) { + return 'spatial profile layer average is not unity' + } + return null +} + +function distributionUnsupportedReason( + value: unknown, + schema: BulkDefectSchemaVersion, + layer: LayerConfig, + bandGradingActive: boolean, +): string | null { + if (!isRecord(value)) return 'distribution is not a mapping' + const kind = value.kind + if (!DEFECT_DISTRIBUTION_LABELS.some(option => option.value === kind)) { + return 'distribution kind is unsupported' + } + if (schema === EXPLICIT_DEFECT_SCHEMA_V1 && kind !== 'single_level') { + return 'v1 distributed metadata remains read-only' + } + const expected = [ + 'kind', 'normalization', 'total_density_m3', 'center_eV_above_vb', + ] + if (schema !== EXPLICIT_DEFECT_SCHEMA_V1) expected.push('energy_reference') + if (kind !== 'single_level') expected.push('width_eV', 'width_convention') + if ( + kind === 'gaussian' + || kind === 'conduction_band_tail' + || kind === 'valence_band_tail' + ) expected.push('support_width_multiplier') + if (!hasExactKeys(value, expected)) return 'distribution schema is not canonical' + if ( + value.normalization !== 'integrated_total' + || !isFiniteNumber(value.total_density_m3) + || value.total_density_m3 <= 0 + || !isFiniteNumber(value.center_eV_above_vb) + || value.center_eV_above_vb < 0 + ) return 'distribution density or energy is invalid' + if ( + schema !== EXPLICIT_DEFECT_SCHEMA_V1 + && value.energy_reference !== 'above_valence_band' + ) return 'energy reference is unresolved' + if (kind === 'uniform' && value.width_convention !== 'uniform_full_width') { + return 'uniform width convention is unresolved' + } + if ( + (kind === 'conduction_band_tail' || kind === 'valence_band_tail') + && value.width_convention !== 'scaps_characteristic_energy' + ) return 'band-tail width convention is unresolved' + if ( + kind === 'gaussian' + && value.width_convention !== 'gaussian_standard_deviation' + && value.width_convention !== 'scaps_characteristic_energy' + ) return 'Gaussian width convention is unresolved' + if (kind !== 'single_level' && (!isFiniteNumber(value.width_eV) || value.width_eV <= 0)) { + return 'distribution width is invalid' + } + const hasFiniteSupport = kind === 'gaussian' + || kind === 'conduction_band_tail' + || kind === 'valence_band_tail' + if ( + hasFiniteSupport + && (!isFiniteNumber(value.support_width_multiplier) || value.support_width_multiplier <= 0) + ) return 'distribution support multiplier is invalid' + + const gap = minimumLayerBandGap(layer, bandGradingActive) + if (gap === null) return null + const center = value.center_eV_above_vb + const width = isFiniteNumber(value.width_eV) ? value.width_eV : 0 + const supportMultiplier = isFiniteNumber(value.support_width_multiplier) + ? value.support_width_multiplier + : 0 + if (center > gap) return 'distribution center lies outside the local band gap' + let lower = center + let upper = center + if (kind === 'uniform') { + lower -= width / 2 + upper += width / 2 + } else if (kind === 'gaussian') { + const halfWidth = 0.5 * supportMultiplier * width + lower -= halfWidth + upper += halfWidth + } else if (kind === 'conduction_band_tail') { + lower -= supportMultiplier * width + } else if (kind === 'valence_band_tail') { + upper += supportMultiplier * width + } + if (lower < -1e-14 || upper > gap + 1e-14) { + return 'distribution support lies outside the local band gap' + } + return null +} + +function bulkDefectEditorUnsupportedReason( + layer: LayerConfig, + bandGradingActive: boolean, +): string | null { + const raw = layer as unknown as Record + const keys = ['defect_schema_version', 'defect_model', 'bulk_defects'] as const + const present = keys.filter(key => raw[key] !== undefined) + if (present.length === 0) return null + if (present.length !== keys.length) return 'incomplete versioned defect document' + if (!EXPLICIT_DEFECT_SCHEMA_VERSIONS.has(raw.defect_schema_version as BulkDefectSchemaVersion)) { + return 'unsupported schema version' + } + const schema = raw.defect_schema_version as BulkDefectSchemaVersion + if (raw.defect_model !== 'effective_lifetime' && raw.defect_model !== 'explicit_quasi_steady') { + return 'unsupported defect model' + } + if (!Array.isArray(raw.bulk_defects)) return 'bulk_defects is not an array' + if (raw.defect_model === 'explicit_quasi_steady' && raw.bulk_defects.length === 0) { + return 'explicit model has no species' + } + let hasSpatialProfile = false + const names: string[] = [] + for (const [index, value] of raw.bulk_defects.entries()) { + if (!isRecord(value)) return `species ${index + 1} is not a mapping` + const hasProfile = Object.prototype.hasOwnProperty.call(value, 'spatial_profile') + const expectedSpeciesKeys = [ + 'name', 'distribution', 'charge_transition', 'neutral_reference', 'kinetics', 'degeneracy', + ...(hasProfile ? ['spatial_profile'] : []), + ] + if (!hasExactKeys(value, expectedSpeciesKeys)) { + return `species ${index + 1} has unsupported metadata` + } + if (schema !== EXPLICIT_DEFECT_SCHEMA_V3 && hasProfile) { + return `species ${index + 1} spatial profile is not allowed by the schema` + } + if (hasProfile) { + const profileReason = spatialProfileUnsupportedReason(value.spatial_profile) + if (profileReason) return `species ${index + 1} ${profileReason}` + hasSpatialProfile = true + } + const distributionReason = distributionUnsupportedReason( + value.distribution, + schema, + layer, + bandGradingActive, + ) + if (distributionReason) return `species ${index + 1} ${distributionReason}` + if (!isRecord(value.kinetics) || !hasExactKeys(value.kinetics, [ + 'sigma_n_m2', 'sigma_p_m2', 'thermal_velocity_n_m_s', 'thermal_velocity_p_m_s', + ])) return `species ${index + 1} kinetics has unsupported metadata` + if ( + !isFiniteNumber(value.kinetics.sigma_n_m2) + || value.kinetics.sigma_n_m2 < 0 + || !isFiniteNumber(value.kinetics.sigma_p_m2) + || value.kinetics.sigma_p_m2 < 0 + || !isFiniteNumber(value.kinetics.thermal_velocity_n_m_s) + || value.kinetics.thermal_velocity_n_m_s <= 0 + || !isFiniteNumber(value.kinetics.thermal_velocity_p_m_s) + || value.kinetics.thermal_velocity_p_m_s <= 0 + || !isFiniteNumber(value.degeneracy) + || value.degeneracy <= 0 + ) return `species ${index + 1} kinetics or degeneracy is invalid` + if ( + value.charge_transition !== 'neutral' + && value.charge_transition !== 'acceptor' + && value.charge_transition !== 'donor' + ) return `species ${index + 1} charge transition is unresolved` + const expectedReference = DEFECT_NEUTRAL_REFERENCE[value.charge_transition] + if (value.neutral_reference !== expectedReference) { + return `species ${index + 1} neutral reference is inconsistent` + } + if ( + raw.defect_model === 'explicit_quasi_steady' + && (typeof value.name !== 'string' || value.name.trim() === '') + ) return `species ${index + 1} requires a name` + if (schema === EXPLICIT_DEFECT_SCHEMA_V3 && ( + typeof value.name !== 'string' || value.name.trim() === '' + )) return `species ${index + 1} requires a name in v3` + if (value.name !== null && typeof value.name !== 'string') { + return `species ${index + 1} name is invalid` + } + if (typeof value.name === 'string') names.push(value.name.trim()) + } + if (new Set(names).size !== names.length) return 'defect species names are not unique' + if (schema === EXPLICIT_DEFECT_SCHEMA_V3 && !hasSpatialProfile) { + return 'v3 document has no spatial profile' + } + return null +} + +function defaultBulkDefectSpecies(layer: LayerConfig, index: number): BulkDefectSpecies { + const gap = typeof layer.Eg === 'number' && Number.isFinite(layer.Eg) && layer.Eg > 0 + ? layer.Eg + : 1.5 + return { + name: `defect_${index + 1}`, + distribution: { + kind: 'single_level', + normalization: 'integrated_total', + total_density_m3: 1e21, + center_eV_above_vb: gap / 2, + }, + charge_transition: 'neutral', + neutral_reference: 'all_occupancies', + kinetics: { + sigma_n_m2: 1e-19, + sigma_p_m2: 1e-19, + thermal_velocity_n_m_s: 1e5, + thermal_velocity_p_m_s: 1e5, + }, + degeneracy: 1, + } +} + +function defectNumberInput( + field: string, + value: number, + dimension?: DefectDimension, +): string { + const dimensionAttr = dimension ? ` data-defect-dimension="${dimension}"` : '' + return `` +} + +function defaultBulkDefectSpatialProfile(): BulkDefectSpatialProfile { + return { + coordinate: 'normalized_layer_coordinate', + interpolation: 'piecewise_linear', + density_normalization: 'layer_average_unity', + knots: [ + { position_fraction: 0, density_multiplier: 1 }, + { position_fraction: 1, density_multiplier: 1 }, + ], + } +} + +function widthConventionForKind( + kind: BulkDefectDistributionKind, + current?: BulkDefectWidthConvention, +): BulkDefectWidthConvention { + if (kind === 'single_level') return 'not_applicable' + if (kind === 'uniform') return 'uniform_full_width' + if (kind === 'conduction_band_tail' || kind === 'valence_band_tail') { + return 'scaps_characteristic_energy' + } + return current === 'scaps_characteristic_energy' + ? 'scaps_characteristic_energy' + : 'gaussian_standard_deviation' +} + +function renderWidthConventionOptions( + kind: BulkDefectDistributionKind, + current?: BulkDefectWidthConvention, +): string { + const selected = widthConventionForKind(kind, current) + if (kind === 'gaussian') { + return ` + + ` + } + const labels: Record, string> = { + not_applicable: 'Not applicable', + scaps_characteristic_energy: 'SCAPS characteristic energy', + uniform_full_width: 'Full support width', + } + return `` +} + +function renderBulkDefectSpatialKnot(knot: BulkDefectSpatialKnot, index: number, count: number): string { + const endpoint = index === 0 || index === count - 1 + return ` +
+ + + +
` +} + +function renderBulkDefectSpecies(species: BulkDefectSpecies): string { + const transition = species.charge_transition as Exclude + const distribution = species.distribution + const kind = distribution.kind + const profile = species.spatial_profile ?? defaultBulkDefectSpatialProfile() + const hasWidth = kind !== 'single_level' + const hasSupport = kind === 'gaussian' + || kind === 'conduction_band_tail' + || kind === 'valence_band_tail' + return ` +
+
+ + +
+
+ + + + + + + + + + + + + + +
+
+ +
+
+ Piecewise-linear knots + +
+
+ ${profile.knots.map((knot, index) => ( + renderBulkDefectSpatialKnot(knot, index, profile.knots.length) + )).join('')} +
+ +
+
+
` +} + +export function renderBulkDefectEditor( + layer: LayerConfig, + idx: number, + bandGradingActive: boolean, +): string { + const reason = bulkDefectEditorUnsupportedReason(layer, bandGradingActive) + const hasDocument = layer.defect_schema_version !== undefined + if (reason) { + return ` +
+
Explicit bulk defects
Experimental
+

Loaded metadata is preserved read-only: ${escapeHtml(reason)}.

+
` + } + const model = layer.defect_model ?? 'explicit_quasi_steady' + const species = layer.bulk_defects ?? [] + return ` +
+
Explicit bulk defects
Experimental
+

Charged species run only on the research QF/DC J–V path. Transient, ion-coupled and 2D execution remain unsupported.

+ +
+
+ + + +
+

+
${species.map(renderBulkDefectSpecies).join('')}
+ +
+
` +} + +function defectDisplayFactor(unit: DefectDisplayUnit, dimension: string): number { + if (dimension !== 'density' && dimension !== 'cross_section' && dimension !== 'velocity') { + return 1 + } + return DEFECT_DISPLAY_FACTORS[unit][dimension] +} + +function convertDefectInputs( + root: ParentNode, + from: DefectDisplayUnit, + to: DefectDisplayUnit, +): void { + root.querySelectorAll('[data-defect-dimension]').forEach(input => { + const rawValue = input.value.trim() + if (rawValue === '') return + const value = Number(rawValue) + if (!Number.isFinite(value)) return + const dimension = input.dataset.defectDimension ?? '' + const storedCanonical = Number(input.dataset.defectCanonical) + const expectedDisplay = Number.isFinite(storedCanonical) + ? fmt(storedCanonical * defectDisplayFactor(from, dimension)) + : '' + const canonical = Number.isFinite(storedCanonical) && input.value.trim() === expectedDisplay + ? storedCanonical + : value / defectDisplayFactor(from, dimension) + input.dataset.defectCanonical = String(canonical) + input.value = fmt(canonical * defectDisplayFactor(to, dimension)) + }) +} + +function updateDefectUnitLabels(root: ParentNode, unit: DefectDisplayUnit): void { + const labels: Record> = { + density: { si: 'm⁻³', scaps_cgs: 'cm⁻³' }, + cross_section: { si: 'm²', scaps_cgs: 'cm²' }, + velocity: { si: 'm/s', scaps_cgs: 'cm/s' }, + } + root.querySelectorAll('[data-defect-unit-label]').forEach(label => { + const dimension = label.dataset.defectUnitLabel + if (dimension === 'density' || dimension === 'cross_section' || dimension === 'velocity') { + label.textContent = labels[dimension][unit] + } + }) +} + +function syncDefectTransition(row: Element): void { + const transition = row.querySelector( + '[data-defect-field="charge_transition"]', + )?.value + const reference = row.querySelector( + '[data-defect-field="neutral_reference"]', + ) + if ( + reference + && (transition === 'neutral' || transition === 'acceptor' || transition === 'donor') + ) reference.value = DEFECT_NEUTRAL_REFERENCE[transition] +} + +function defectDistributionKind(row: Element): BulkDefectDistributionKind | null { + const value = row.querySelector( + '[data-defect-field="distribution_kind"]', + )?.value + return DEFECT_DISTRIBUTION_LABELS.some(option => option.value === value) + ? value as BulkDefectDistributionKind + : null +} + +function syncDefectDistribution(row: Element): void { + const kind = defectDistributionKind(row) + if (kind === null) return + row.setAttribute('data-defect-kind', kind) + const hasWidth = kind !== 'single_level' + const hasSupport = kind === 'gaussian' + || kind === 'conduction_band_tail' + || kind === 'valence_band_tail' + row.querySelectorAll('[data-defect-width-field]').forEach(field => { + field.hidden = !hasWidth + }) + row.querySelectorAll('[data-defect-support-field]').forEach(field => { + field.hidden = !hasSupport + }) + const convention = row.querySelector( + '[data-defect-field="width_convention"]', + ) + if (convention) convention.innerHTML = renderWidthConventionOptions( + kind, + convention.value as BulkDefectWidthConvention, + ) +} + +function currentDefectInputValue( + input: HTMLInputElement, + unit: DefectDisplayUnit = 'si', +): number { + const displayed = Number(input.value.trim()) + const dimension = input.dataset.defectDimension ?? '' + const factor = defectDisplayFactor(unit, dimension) + const storedCanonical = Number(input.dataset.defectCanonical) + const expectedDisplay = Number.isFinite(storedCanonical) + ? fmt(storedCanonical * factor) + : '' + return Number.isFinite(storedCanonical) && input.value.trim() === expectedDisplay + ? storedCanonical + : displayed / factor +} + +function defectProfileKnotsFromRow(row: Element): BulkDefectSpatialKnot[] | null { + const knots = Array.from(row.querySelectorAll('[data-defect-profile-knot]')) + .map(knot => { + const position = knot.querySelector('[data-defect-field="profile_position"]') + const multiplier = knot.querySelector('[data-defect-field="profile_multiplier"]') + if (!position || !multiplier) return null + return { + position_fraction: currentDefectInputValue(position), + density_multiplier: currentDefectInputValue(multiplier), + } + }) + return knots.some(knot => knot === null) + ? null + : knots as BulkDefectSpatialKnot[] +} + +function syncDefectProfileEndpoints(row: Element): void { + const knots = Array.from(row.querySelectorAll('[data-defect-profile-knot]')) + knots.forEach((knot, index) => { + const remove = knot.querySelector('[data-defect-knot-remove]') + if (remove) remove.disabled = index === 0 || index === knots.length - 1 + }) +} + +function updateDefectProfileAverage(row: Element): void { + const output = row.querySelector('[data-defect-profile-average]') + if (!output) return + const knots = defectProfileKnotsFromRow(row) + if (!knots || knots.length < 2 || knots.some(knot => ( + !Number.isFinite(knot.position_fraction) + || !Number.isFinite(knot.density_multiplier) + ))) { + output.textContent = 'Layer average: invalid' + output.dataset.valid = 'false' + return + } + const integral = knots.slice(1).reduce((sum, right, index) => { + const left = knots[index] + return sum + 0.5 + * (left.density_multiplier + right.density_multiplier) + * (right.position_fraction - left.position_fraction) + }, 0) + output.textContent = `Layer average: ${integral.toPrecision(7)}` + output.dataset.valid = String(Math.abs(integral - 1) <= 1e-12) +} + +function syncDefectProfile(row: Element): void { + const enabled = row.querySelector('[data-defect-profile-enabled]') + const body = row.querySelector('[data-defect-profile-body]') + if (!enabled || !body) return + body.hidden = !enabled.checked + syncDefectProfileEndpoints(row) + updateDefectProfileAverage(row) +} + +function inferDefectSchemaVersion( + editor: Element, + original: BulkDefectSchemaVersion | undefined, +): BulkDefectSchemaVersion { + const rows = Array.from(editor.querySelectorAll('[data-defect-species]')) + if (rows.some(row => row.querySelector( + '[data-defect-profile-enabled]', + )?.checked)) return EXPLICIT_DEFECT_SCHEMA_V3 + if ( + original === EXPLICIT_DEFECT_SCHEMA_V2 + || original === EXPLICIT_DEFECT_SCHEMA_V3 + || rows.some(row => defectDistributionKind(row) !== 'single_level') + ) return EXPLICIT_DEFECT_SCHEMA_V2 + return EXPLICIT_DEFECT_SCHEMA_V1 +} + +function updateDefectSchemaLabel( + editor: Element, + original: BulkDefectSchemaVersion | undefined, +): void { + const output = editor.querySelector('[data-defect-schema-label]') + if (!output) return + const schema = inferDefectSchemaVersion(editor, original) + output.value = schema.endsWith('-v1') ? 'v1' : schema.endsWith('-v2') ? 'v2' : 'v3' + output.dataset.schemaVersion = schema +} + +function addDefectProfileKnot(row: Element): void { + const list = row.querySelector('[data-defect-knot-list]') + const knots = defectProfileKnotsFromRow(row) + if (!list || !knots || knots.length < 2) return + let insertAfter = -1 + let widestGap = 0 + for (let index = 0; index < knots.length - 1; index += 1) { + const gap = knots[index + 1].position_fraction - knots[index].position_fraction + if (gap > widestGap) { + widestGap = gap + insertAfter = index + } + } + if (insertAfter < 0 || widestGap <= 0) return + const left = knots[insertAfter] + const right = knots[insertAfter + 1] + const midpoint = 0.5 * (left.position_fraction + right.position_fraction) + const multiplier = 0.5 * (left.density_multiplier + right.density_multiplier) + knots.splice(insertAfter + 1, 0, { + position_fraction: midpoint, + density_multiplier: multiplier, + }) + list.innerHTML = knots.map((knot, index) => ( + renderBulkDefectSpatialKnot(knot, index, knots.length) + )).join('') + syncDefectProfile(row) +} + +export function wireBulkDefectEditors(container: HTMLElement, config: DeviceConfig): void { + config.layers.forEach((layer, idx) => { + const editor = container.querySelector(`#layer-${idx}-bulk-defect-editor`) + if (!editor) return + const enabled = editor.querySelector(`#layer-${idx}-defect-enabled`) + const body = editor.querySelector('[data-defect-body]') + const model = editor.querySelector(`#layer-${idx}-defect-model`) + const units = editor.querySelector(`#layer-${idx}-defect-units`) + const list = editor.querySelector('[data-defect-list]') + const add = editor.querySelector('[data-defect-add]') + const note = editor.querySelector('[data-defect-model-note]') + const originalSchema = layer.defect_schema_version + if (!enabled || !body || !model || !units || !list || !add || !note) return + + let nextSpeciesIndex = list.children.length + const appendDefaultSpecies = (): void => { + const names = new Set( + Array.from(list.querySelectorAll('[data-defect-field="name"]')) + .map(input => input.value), + ) + let species: BulkDefectSpecies + do { + species = defaultBulkDefectSpecies(layer, nextSpeciesIndex) + nextSpeciesIndex += 1 + } while (species.name !== null && names.has(species.name)) + list.insertAdjacentHTML('beforeend', renderBulkDefectSpecies(species)) + const row = list.lastElementChild + const currentUnit: DefectDisplayUnit = units.value === 'scaps_cgs' ? 'scaps_cgs' : 'si' + if (row && currentUnit !== 'si') convertDefectInputs(row, 'si', currentUnit) + if (row) { + syncDefectDistribution(row) + syncDefectProfile(row) + } + updateDefectUnitLabels(editor, currentUnit) + updateDefectSchemaLabel(editor, originalSchema) + } + + const syncState = (ensureSpecies: boolean): void => { + body.hidden = !enabled.checked + if (!enabled.checked) return + if (ensureSpecies && model.value === 'explicit_quasi_steady' && list.children.length === 0) { + appendDefaultSpecies() + } + note.textContent = model.value === 'explicit_quasi_steady' + ? 'Explicit species active in the QF/DC constitutive closure.' + : 'Lifetime SRH active; listed species remain provenance metadata.' + updateDefectSchemaLabel(editor, originalSchema) + } + + enabled.addEventListener('change', () => syncState(true)) + model.addEventListener('change', () => syncState(true)) + add.addEventListener('click', appendDefaultSpecies) + list.addEventListener('click', event => { + const target = event.target as Element | null + const removeSpecies = target?.closest('[data-defect-remove]') + if (removeSpecies) { + removeSpecies.closest('[data-defect-species]')?.remove() + updateDefectSchemaLabel(editor, originalSchema) + return + } + const addKnot = target?.closest('[data-defect-knot-add]') + if (addKnot) { + const row = addKnot.closest('[data-defect-species]') + if (row) addDefectProfileKnot(row) + return + } + const removeKnot = target?.closest('[data-defect-knot-remove]') + if (removeKnot && !removeKnot.disabled) { + const row = removeKnot.closest('[data-defect-species]') + removeKnot.closest('[data-defect-profile-knot]')?.remove() + if (row) syncDefectProfile(row) + } + }) + list.addEventListener('change', event => { + const target = event.target as HTMLElement | null + const row = target?.closest('[data-defect-species]') + if (!target || !row) return + if (target.dataset.defectField === 'charge_transition') syncDefectTransition(row) + if (target.dataset.defectField === 'distribution_kind') syncDefectDistribution(row) + if (target.matches('[data-defect-profile-enabled]')) syncDefectProfile(row) + updateDefectSchemaLabel(editor, originalSchema) + }) + list.addEventListener('input', event => { + const target = event.target as HTMLElement | null + if (target) delete target.dataset.defectCanonical + const row = target?.closest('[data-defect-species]') + if (row) updateDefectProfileAverage(row) + }) + units.addEventListener('change', () => { + const from: DefectDisplayUnit = units.dataset.currentUnit === 'scaps_cgs' + ? 'scaps_cgs' + : 'si' + const to: DefectDisplayUnit = units.value === 'scaps_cgs' ? 'scaps_cgs' : 'si' + convertDefectInputs(list, from, to) + updateDefectUnitLabels(editor, to) + units.dataset.currentUnit = to + }) + syncState(false) + updateDefectUnitLabels(editor, 'si') + list.querySelectorAll('[data-defect-species]').forEach(row => { + syncDefectDistribution(row) + syncDefectProfile(row) + }) + updateDefectSchemaLabel(editor, originalSchema) + }) +} + +function requiredDefectNumber( + row: Element, + field: string, + label: string, + unit: DefectDisplayUnit, + constraint: 'positive' | 'nonnegative', +): number { + const input = row.querySelector(`[data-defect-field="${field}"]`) + if (!input) throw new Error(`Missing ${label} input`) + const rawValue = input.value.trim() + if (rawValue === '') throw new Error(`${label} must not be empty`) + const displayed = Number(rawValue) + if (!Number.isFinite(displayed)) throw new Error(`${label} must be finite`) + const value = currentDefectInputValue(input, unit) + if (!Number.isFinite(value) || (constraint === 'positive' ? value <= 0 : value < 0)) { + throw new Error(`${label} must be finite and ${constraint === 'positive' ? 'positive' : 'non-negative'}`) + } + return value +} + +function readDefectSpatialProfile( + row: Element, + prefix: string, +): BulkDefectSpatialProfile | undefined { + const enabled = row.querySelector('[data-defect-profile-enabled]') + if (!enabled?.checked) return undefined + const knotRows = Array.from(row.querySelectorAll('[data-defect-profile-knot]')) + if (knotRows.length < 2) throw new Error(`${prefix} spatial profile requires at least two knots`) + const knots = knotRows.map((knot, index) => { + const position = requiredDefectNumber( + knot, + 'profile_position', + `${prefix} profile knot ${index + 1} position`, + 'si', + 'nonnegative', + ) + if (position > 1) { + throw new Error(`${prefix} profile knot ${index + 1} position must lie in [0, 1]`) + } + return { + position_fraction: position, + density_multiplier: requiredDefectNumber( + knot, + 'profile_multiplier', + `${prefix} profile knot ${index + 1} density multiplier`, + 'si', + 'positive', + ), + } + }) + if (knots[0].position_fraction !== 0 || knots.at(-1)?.position_fraction !== 1) { + throw new Error(`${prefix} spatial profile requires exact 0 and 1 endpoints`) + } + knots.slice(1).forEach((knot, index) => { + if (knot.position_fraction <= knots[index].position_fraction) { + throw new Error(`${prefix} spatial profile positions must be strictly increasing`) + } + }) + const integral = knots.slice(1).reduce((sum, right, index) => { + const left = knots[index] + return sum + 0.5 + * (left.density_multiplier + right.density_multiplier) + * (right.position_fraction - left.position_fraction) + }, 0) + if (Math.abs(integral - 1) > 1e-12) { + throw new Error( + `${prefix} spatial profile layer average must equal unity; integral=${integral}`, + ) + } + return { + coordinate: 'normalized_layer_coordinate', + interpolation: 'piecewise_linear', + density_normalization: 'layer_average_unity', + knots, + } +} + +export function readBulkDefectEditor( + next: LayerConfig, + idx: number, + bandGradingActive: boolean, +): LayerConfig { + const editor = document.getElementById(`layer-${idx}-bulk-defect-editor`) + const enabled = document.getElementById(`layer-${idx}-defect-enabled`) as HTMLInputElement | null + if (!editor || !enabled) return next + if (!enabled.checked) { + delete next.defect_schema_version + delete next.defect_model + delete next.bulk_defects + return next + } + const modelInput = document.getElementById(`layer-${idx}-defect-model`) as HTMLSelectElement | null + const unitInput = document.getElementById(`layer-${idx}-defect-units`) as HTMLSelectElement | null + const model = modelInput?.value + if (model !== 'effective_lifetime' && model !== 'explicit_quasi_steady') { + throw new Error(`Layer ${idx + 1} has an unsupported defect model`) + } + const unit: DefectDisplayUnit = unitInput?.value === 'scaps_cgs' ? 'scaps_cgs' : 'si' + const rows = Array.from(editor.querySelectorAll('[data-defect-species]')) + if (model === 'explicit_quasi_steady' && rows.length === 0) { + throw new Error(`Layer ${idx + 1} explicit defect model requires at least one species`) + } + const schema = inferDefectSchemaVersion(editor, next.defect_schema_version) + const species: BulkDefectSpecies[] = rows.map((row, speciesIndex) => { + const prefix = `Layer ${idx + 1} defect ${speciesIndex + 1}` + const rawName = row.querySelector('[data-defect-field="name"]')?.value.trim() ?? '' + const name = rawName === '' ? null : rawName + if (model === 'explicit_quasi_steady' && name === null) { + throw new Error(`${prefix} requires a non-empty name`) + } + if (schema === EXPLICIT_DEFECT_SCHEMA_V3 && name === null) { + throw new Error(`${prefix} v3 spatial profile requires a non-empty name`) + } + const transitionValue = row.querySelector( + '[data-defect-field="charge_transition"]', + )?.value + if ( + transitionValue !== 'neutral' + && transitionValue !== 'acceptor' + && transitionValue !== 'donor' + ) throw new Error(`${prefix} has an unsupported charge transition`) + const density = requiredDefectNumber( + row, 'total_density', `${prefix} density`, unit, 'positive', + ) + const center = requiredDefectNumber( + row, 'center_energy', `${prefix} energy`, unit, 'nonnegative', + ) + const kind = defectDistributionKind(row) + if (kind === null) throw new Error(`${prefix} has an unsupported energy distribution`) + const distribution: BulkDefectSpecies['distribution'] = { + kind, + normalization: 'integrated_total', + total_density_m3: density, + center_eV_above_vb: center, + } + if (schema !== EXPLICIT_DEFECT_SCHEMA_V1) { + distribution.energy_reference = 'above_valence_band' + } + if (kind !== 'single_level') { + distribution.width_eV = requiredDefectNumber( + row, 'width', `${prefix} distribution width`, unit, 'positive', + ) + const conventionValue = row.querySelector( + '[data-defect-field="width_convention"]', + )?.value + const expectedConvention = widthConventionForKind( + kind, + conventionValue as BulkDefectWidthConvention, + ) + if (conventionValue !== expectedConvention) { + throw new Error(`${prefix} has an unsupported width convention`) + } + distribution.width_convention = expectedConvention + } + if ( + kind === 'gaussian' + || kind === 'conduction_band_tail' + || kind === 'valence_band_tail' + ) { + distribution.support_width_multiplier = requiredDefectNumber( + row, 'support_multiplier', `${prefix} support multiplier`, unit, 'positive', + ) + } + const distributionReason = distributionUnsupportedReason( + distribution, + schema, + next, + bandGradingActive, + ) + if (distributionReason) throw new Error(`${prefix} ${distributionReason}`) + const value: BulkDefectSpecies = { + name, + distribution, + charge_transition: transitionValue, + neutral_reference: DEFECT_NEUTRAL_REFERENCE[transitionValue], + kinetics: { + sigma_n_m2: requiredDefectNumber( + row, 'sigma_n', `${prefix} electron cross-section`, unit, 'nonnegative', + ), + sigma_p_m2: requiredDefectNumber( + row, 'sigma_p', `${prefix} hole cross-section`, unit, 'nonnegative', + ), + thermal_velocity_n_m_s: requiredDefectNumber( + row, 'thermal_velocity_n', `${prefix} electron thermal velocity`, unit, 'positive', + ), + thermal_velocity_p_m_s: requiredDefectNumber( + row, 'thermal_velocity_p', `${prefix} hole thermal velocity`, unit, 'positive', + ), + }, + degeneracy: requiredDefectNumber( + row, 'degeneracy', `${prefix} degeneracy`, unit, 'positive', + ), + } + const spatialProfile = readDefectSpatialProfile(row, prefix) + if (spatialProfile) value.spatial_profile = spatialProfile + return value + }) + const names = species.flatMap(item => item.name === null ? [] : [item.name]) + if (new Set(names).size !== names.length) { + throw new Error(`Layer ${idx + 1} defect species names must be unique`) + } + next.defect_schema_version = schema + next.defect_model = model + next.bulk_defects = species + return next +} diff --git a/web/src/editors/defect-edits.test.ts b/web/src/editors/defect-edits.test.ts new file mode 100644 index 00000000..ae47dca8 --- /dev/null +++ b/web/src/editors/defect-edits.test.ts @@ -0,0 +1,185 @@ +import { describe, expect, it } from 'vitest' +import type { BulkDefectInput, DeviceInput, TandemInput } from '../generated/configuration-inputs' +import { cellInput, selections, selectedEntity, writeField, renameConnection } from './device-edits' +import type { DefectSelection, Selection } from './device-edits' +import { changeProfileRows, clearInterfaceDefect, defectSections, removeBulkDefect, + renameDefect, setDefectSection, writeDefectField } from './defect-edits' + +// Declaration-only inputs: no numerical model or default catalog is evaluated. +function device(): DeviceInput { + return { schema_version: 'solarlab.device-preparation.v1', id: 'test', source_format: 'canonical', + layers: [{ id: 'a', name: 'A', role: 'HTL', thickness: '1e-7' }, { id: 'b', name: 'B', role: 'ETL', thickness: '2e-7' }], + contacts: [{ id: 'left', side: 'left', layer: 'a', S_n: -0, S_p: null }, { id: 'right', side: 'right', layer: 'b' }], + interfaces: [{ id: 'ab', left: 'a', right: 'b', v_n: -0, v_p: 0, defect: { + id: 'trap', trap_depth_eV: '0.6000000000000000001 eV', energy_reference: 'below_conduction_band', + total_density_m2: '1e12 cm^-2', calibration_factor: 0, iface_state_calibration_factor: '0.02', + kinetics: { sigma_n_m2: -0, sigma_p_m2: '1e-19 m^2', thermal_velocity_n_m_s: '1e5 m/s', thermal_velocity_p_m_s: 1e5 }, + partner_metadata: { distribution: 'gaussian', energy_reference: 'below_conduction_band', trap_depth_eV: '0.6', defect_id: 'trap', E_char_eV: '0.1' }, + } }], settings: { phi_left: -0 }, grain_boundaries: [], electrical_grid: [], simulation_hints: null } +} +const connection: Selection = { cell: 'device', kind: 'interface', id: 'ab', occurrence: 0 } +const defect: DefectSelection = { cell: 'device', kind: 'interface_defect', parent: { id: 'ab', occurrence: 0 }, id: 'trap' } + +describe('interface and nested-defect draft transformations', () => { + it('reaches all supplied connections and nested interface defects without writing the input', () => { + const input = device(), before = structuredClone(input), items = selections(input, 'device') + expect(items.filter(item => item.kind === 'contact')).toHaveLength(2) + expect(items.filter(item => item.kind === 'interface')).toHaveLength(1) + expect(items).toContainEqual(defect) + expect(selectedEntity(input, defect).path).toEqual(['interfaces', 0, 'defect']) + expect(input).toStrictEqual(before) + }) + it('preserves contact number/string/null/omission and does not couple interface edits', () => { + const input = device(), contact: Selection = { cell: 'device', kind: 'contact', id: 'left', occurrence: 0 } + expect(writeField(input, contact, 'S_n', { kind: 'value', value: -0 })).toStrictEqual(input) + const changed = writeField(input, contact, 'S_n', { kind: 'value', value: '20 cm/s' }) + expect(changed.contacts![0].S_n).toBe('20 cm/s') + expect(changed.contacts![0].S_p).toBeNull() + const omitted = writeField(changed, contact, 'S_p', { kind: 'omit' }) + expect(Object.hasOwn(omitted.contacts![0], 'S_p')).toBe(false) + expect(omitted.interfaces).toStrictEqual(input.interfaces) + const invalidPair = writeField(input, connection, 'v_n', { kind: 'value', value: null }) + expect(invalidPair.interfaces![0].v_n).toBeNull() + expect(invalidPair.interfaces![0].v_p).toBe(0) + }) + it('keeps duplicate connection occurrences selectable and changes IDs without rewiring', () => { + const input = device(); input.interfaces!.push({ id: 'ab', left: 'b', right: 'a' }) + const second: Selection = { ...connection, occurrence: 1 } + expect(selectedEntity(input, second).path).toEqual(['interfaces', 1]) + const result = renameConnection(input, second, 'second') + expect(result.input.interfaces![0]).toStrictEqual(input.interfaces![0]) + expect(result.input.interfaces![1]).toStrictEqual({ id: 'second', left: 'b', right: 'a' }) + }) + it('uses generated interface area-density units and never regenerates adjacent data', () => { + const input = device(), sections = defectSections(input, defect) + expect(sections[0].schema.properties!.total_density_m2.unit).toBe('m^-2') + const result = writeDefectField(input, defect, 'defect', 'total_density_m2', { kind: 'value', value: '2e12 cm^-2' }) + const expected = structuredClone(input); expected.interfaces![0].defect!.total_density_m2 = '2e12 cm^-2' + expect(result).toStrictEqual(expected) + expect(writeDefectField(input, defect, 'kinetics', 'sigma_n_m2', { kind: 'value', value: -0 })).toStrictEqual(input) + expect(() => writeDefectField(input, defect, 'defect', 'total_density_m2', { kind: 'omit' })).toThrow('required') + expect(() => writeDefectField(input, defect, 'defect', 'kinetics', { kind: 'omit' })).toThrow('no scalar') + }) + it('keeps unknown tagged kinetics/metadata untouched while editing known supplied fields', () => { + const input = device(), kinetics = input.interfaces![0].defect!.kinetics + Object.assign(kinetics, { kind: 'future_variant', other_branch: { zero: -0, enabled: false, data: null } }) + const edited = writeDefectField(input, defect, 'kinetics', 'sigma_p_m2', { kind: 'value', value: '3e-19' }) + const expected = structuredClone(input); expected.interfaces![0].defect!.kinetics.sigma_p_m2 = '3e-19' + expect(edited).toStrictEqual(expected) + expect(() => renameDefect(input, defect, 'renamed')).toThrow('unrecognized') + }) + it('renames an interface defect and only its typed partner reference', () => { + const input = device(), result = renameDefect(input, defect, 'renamed'), expected = structuredClone(input) + expected.interfaces![0].defect!.id = 'renamed'; expected.interfaces![0].defect!.partner_metadata!.defect_id = 'renamed' + expect(result.input).toStrictEqual(expected) + expect(result.selection).toEqual({ ...defect, id: 'renamed' }) + expect(result.updatedPaths).toEqual([['interfaces', 0, 'defect', 'id'], ['interfaces', 0, 'defect', 'partner_metadata', 'defect_id']]) + }) + it('explicitly clears or omits only the selected interface defect', () => { + const input = device(), cleared = clearInterfaceDefect(input, connection, 'null') + expect(cleared.interfaces![0].defect).toBeNull() + const omitted = clearInterfaceDefect(input, connection, 'omit') + expect(Object.hasOwn(omitted.interfaces![0], 'defect')).toBe(false) + expect(omitted.contacts).toStrictEqual(input.contacts) + expect(input.interfaces![0].defect!.id).toBe('trap') + }) + it.each(['top_cell', 'bottom_cell'] as const)('patches a nested defect only in %s', cell => { + const input: TandemInput = { schema_version: 'solarlab.tandem-preparation.v1', id: 'tandem', source_schema_version: 1, + device_type: 'tandem_2T_monolithic', top_cell: device(), bottom_cell: device(), top_cell_reference: 'top.yaml', bottom_cell_reference: 'bottom.yaml', + junction_model: 'ideal_ohmic', light_direction: 'top_first', junction_stack: [], benchmark: null, back_reflector: null } + const selection = { ...defect, cell }, next = writeDefectField(input, selection, 'defect', 'trap_depth_eV', { kind: 'value', value: '9 eV' }) + const expected = structuredClone(input); expected[cell].interfaces![0].defect!.trap_depth_eV = '9 eV' + expect(next).toStrictEqual(expected) + expect(cellInput(next, cell).interfaces![0].defect!.trap_depth_eV).toBe('9 eV') + }) +}) + +function bulk(): BulkDefectInput { + return { id: 'bulk', name: 'Supplied bulk', charge_transition: 'acceptor', neutral_reference: 'empty', degeneracy: '1', + distribution: { kind: 'gaussian', normalization: 'integrated_total', total_density_m3: '8e20', center_eV_above_vb: '0.39', + energy_reference: 'above_valence_band', width_eV: '0.05', width_convention: 'gaussian_standard_deviation', support_width_multiplier: '6' }, + kinetics: { sigma_n_m2: -0, sigma_p_m2: '1e-19', thermal_velocity_n_m_s: '1e5', thermal_velocity_p_m_s: '8e4' }, + spatial_profile: { coordinate: 'normalized_layer_coordinate', interpolation: 'piecewise_linear', density_normalization: 'layer_average_unity', + knots: [{ position_fraction: -0, density_multiplier: '1.4' }, { position_fraction: '0.5', density_multiplier: '1' }, { position_fraction: 1, density_multiplier: '0.6' }] } } +} +function bulkDevice() { + const input = device(); input.layers[0].bulk_defects = [bulk()] + input.layers[0].defect_schema_version = 'solarlab-explicit-bulk-defects-v3'; input.layers[0].defect_model = 'explicit_quasi_steady' + return input +} +const selectedBulk: DefectSelection = { cell: 'device', kind: 'bulk_defect', parent: { id: 'a', occurrence: 0 }, id: 'bulk', occurrence: 0 } + +describe('bulk defect, distribution and profile edits', () => { + it('exposes the actual bulk density, energy, width and profile metadata without initializing fields', () => { + const input = bulkDevice(), before = structuredClone(input), sections = defectSections(input, selectedBulk) + expect(sections.find(section => section.key === 'distribution')!.schema.properties!.total_density_m3.unit).toBe('m^-3') + expect(sections.find(section => section.key === 'knot:0')!.schema.properties!.position_fraction.unit).toBe('1') + expect(sections.map(section => section.key)).toContain('energy_level') + expect(input).toStrictEqual(before) + expect(writeDefectField(input, selectedBulk, 'knot:0', 'position_fraction', { kind: 'value', value: -0 })).toStrictEqual(input) + }) + it('retains incompatible branch fields, energy authority and exact unknown payloads after selected edits', () => { + const input = bulkDevice(), original = input.layers[0].bulk_defects![0] as BulkDefectInput + Object.assign(original.kinetics, { kind: 'future', other_branch: { flag: false, zero: -0, optional: null } }) + const changed = writeDefectField(input, selectedBulk, 'distribution', 'kind', { kind: 'value', value: 'single_level' }) + const expected = structuredClone(input); (expected.layers[0].bulk_defects![0] as BulkDefectInput).distribution.kind = 'single_level' + expect(changed).toStrictEqual(expected) + expect((changed.layers[0].bulk_defects![0] as BulkDefectInput).distribution.width_eV).toBe('0.05') + expect((changed.layers[0].bulk_defects![0] as BulkDefectInput).kinetics).toStrictEqual(original.kinetics) + expect((changed.layers[0].bulk_defects![0] as BulkDefectInput).distribution.center_eV_above_vb).toBe('0.39') + }) + it('creates optional sections empty and distinguishes explicit null from omission', () => { + const input = bulkDevice(), empty = setDefectSection(input, selectedBulk, 'energy_level', 'empty') + expect((empty.layers[0].bulk_defects![0] as BulkDefectInput).energy_level).toStrictEqual({}) + expect((empty.layers[0].bulk_defects![0] as BulkDefectInput).distribution).toStrictEqual(bulk().distribution) + const value = writeDefectField(empty, selectedBulk, 'energy_level', 'value_eV', { kind: 'value', value: '400 meV' }) + expect((value.layers[0].bulk_defects![0] as BulkDefectInput).energy_level!.value_eV).toBe('400 meV') + const cleared = setDefectSection(value, selectedBulk, 'energy_level', 'null') + expect((cleared.layers[0].bulk_defects![0] as BulkDefectInput).energy_level).toBeNull() + const omitted = setDefectSection(cleared, selectedBulk, 'energy_level', 'omit') + expect(omitted).toStrictEqual(input) + expect(() => setDefectSection(input, selectedBulk, 'spatial_profile', 'empty')).toThrow('already supplied') + }) + it('changes and removes exact knot rows without sorting, normalization or affecting other records', () => { + const input = bulkDevice(), appended = changeProfileRows(input, selectedBulk, + { kind: 'append', knot: { position_fraction: '', density_multiplier: '' } }) + const appendedDefect = appended.layers[0].bulk_defects![0] as BulkDefectInput + expect(appendedDefect.spatial_profile!.knots.slice(0, 3)).toStrictEqual(bulk().spatial_profile!.knots) + expect(appendedDefect.spatial_profile!.knots[3]).toStrictEqual({ position_fraction: '', density_multiplier: '' }) + const changed = writeDefectField(appended, selectedBulk, 'knot:3', 'position_fraction', { kind: 'value', value: '0.1' }) + expect((changed.layers[0].bulk_defects![0] as BulkDefectInput).spatial_profile!.knots[2].position_fraction).toBe(1) + expect(changeProfileRows(changed, selectedBulk, { kind: 'remove', index: 3 })).toStrictEqual(input) + expect(input.layers[0].bulk_defects).toHaveLength(1) + }) + it('renames bulk IDs through partner metadata, retains duplicate drafts and preserves metadata on removal', () => { + const input = bulkDevice() + input.layers[0].scaps_defect_metadata = [{ defect_id: 'bulk', distribution: 'gaussian', energy_reference: 'above_valence_band', trap_depth_eV: '0.39' }] + const renamed = renameDefect(input, selectedBulk, 'renamed') + expect(renamed.input.layers[0].scaps_defect_metadata![0].defect_id).toBe('renamed') + expect(renamed.selection).toMatchObject({ id: 'renamed', occurrence: 0 }) + const duplicate = bulkDevice(); duplicate.layers[0].bulk_defects!.push({ ...bulk(), id: 'second' }) + const result = renameDefect(duplicate, selectedBulk, 'second') + expect(result.input.layers[0].bulk_defects!.map(item => item.id)).toEqual(['second', 'second']) + expect(selections(result.input, 'device').filter(item => item.kind === 'bulk_defect')).toHaveLength(2) + const removed = removeBulkDefect(input, selectedBulk) + expect(removed.layers[0].bulk_defects).toStrictEqual([]) + expect(removed.layers[0].scaps_defect_metadata).toStrictEqual(input.layers[0].scaps_defect_metadata) + }) + it('keeps multivalent family and per-transition kinetics separate from ordinary defects', () => { + const input = bulkDevice(); input.layers[0].bulk_defects = [{ id: 'bulk', name: 'Multivalent', total_density_m3: '2e21', configuration: { + family: 'double_donor', charge_states_e: [2, 1, 0], degeneracy_convention: 'scaps_binomial', state_degeneracies: [1, '2', 1], + energy_levels: { first_transition_eV_above_vb: '0.3', correlation_energies_eV: ['-0.1'], energy_reference: 'above_valence_band' }, + transition_kinetics: [bulk().kinetics, { ...bulk().kinetics, sigma_n_m2: '1e-19' }], + } }] + const sections = defectSections(input, selectedBulk) + expect(sections.map(section => section.key)).toContain('transition:1') + expect(sections.map(section => section.key)).not.toContain('distribution') + const changed = writeDefectField(input, selectedBulk, 'transition:1', 'sigma_n_m2', { kind: 'value', value: '0' }) + const expected = structuredClone(input) + const item = expected.layers[0].bulk_defects![0]; if ('configuration' in item) item.configuration.transition_kinetics[1].sigma_n_m2 = '0' + expect(changed).toStrictEqual(expected) + expect(() => writeDefectField(input, selectedBulk, 'distribution', 'kind', { kind: 'value', value: 'gaussian' })).toThrow('no scalar') + Object.assign(input.layers[0].bulk_defects![0], { distribution: bulk().distribution }) + expect(defectSections(input, selectedBulk)[0].key).toBe('retained') + }) +}) diff --git a/web/src/editors/defect-edits.ts b/web/src/editors/defect-edits.ts new file mode 100644 index 00000000..e64499ef --- /dev/null +++ b/web/src/editors/defect-edits.ts @@ -0,0 +1,239 @@ +import { configurationSchema } from '../generated/configuration-schema' +import type { BulkDefectInput } from '../generated/configuration-inputs' +import { + allowsNull, cellInput, DeviceEditError, mutateRows, requireKnownIdentityScope, scalarField, selectedEntity, +} from './device-edits' +import type { DefectSelection, EditorInput, FieldSchema, FieldValue, LayerDocumentSelection, Path, RowMutation, Selection } from './device-edits' + +const definitions = configurationSchema.dto_schemas.DeviceInput.schema.$defs + +export interface DefectSection { + key: string + label: string + path: Path + schema: FieldSchema + note: string + optional?: 'energy_level' | 'spatial_profile' + array?: { item: FieldSchema; kind: 'value' | 'kinetics' } + row?: { arrayKey: string; index: number } +} + +export type StructuredSelection = DefectSelection | LayerDocumentSelection + +export function isDefectSelection(selection: Selection): selection is DefectSelection { + return selection.kind === 'interface_defect' || selection.kind === 'bulk_defect' || selection.kind === 'metastable_defect' +} + +export function isStructuredSelection(selection: Selection): selection is StructuredSelection { + return isDefectSelection(selection) || selection.kind === 'metastable_document' || selection.kind === 'metastable_preparation' +} + +export function nestedValue(owner: object | undefined, path: Path): object | undefined { + let value: unknown = owner + for (const key of path) value = value !== null && typeof value === 'object' ? Reflect.get(value, key) : undefined + return value !== null && typeof value === 'object' && !Array.isArray(value) ? value : undefined +} + +/** Explicit sections of the prepared defect DTOs; no recursive form compiler + * or schema-default materialization. Unsupported branches remain in the draft. */ +export function defectSections(input: EditorInput, selection: StructuredSelection): DefectSection[] { + if (selection.kind === 'metastable_document') return [{ key: 'document', label: 'Metastable inventory declaration', path: [], schema: definitions.MetastableDocumentInput, + note: 'This document declares a frozen metastable model and its inventory. It contains no prepared populations or simulated states.' }] + if (selection.kind === 'metastable_preparation') return [ + { key: 'preparation', label: 'Metastable preparation declaration', path: [], schema: definitions.MetastablePreparationInput, + note: 'These are preparation and measurement declarations only. No stationary state or measurement is evaluated by this editor.' }, + { key: 'numerics', label: 'Preparation numerical declarations', path: ['numerics'], schema: definitions.MetastableNumericsInput, + note: 'Edit the supplied numerical declarations independently. No preparation or solver is run.' }, + ] + if (selection.kind === 'interface_defect') return [ + { key: 'defect', label: 'Interface defect', path: [], schema: definitions.InterfaceDefectInput, + note: 'Interface density is integrated per area (m^-2). Trap depth and its energy reference are supplied together.' }, + { key: 'kinetics', label: 'Capture kinetics', path: ['kinetics'], schema: definitions.KineticsInput, + note: 'Supplied capture cross sections and thermal velocities. No kinetics branch or retained metadata is replaced.' }, + ] + const defect = selectedEntity(input, selection).value! + if (selection.kind === 'metastable_defect') return [ + { key: 'defect', label: 'Metastable defect', path: [], schema: definitions.MetastableDefectInput, + note: 'Density is integrated per volume (m^-3). Conversion state indices refer to the independently ordered donor and acceptor arrays.' }, + ...multivalentSections(defect, ['donor_configuration'], 'donor:', 'Donor'), + ...multivalentSections(defect, ['acceptor_configuration'], 'acceptor:', 'Acceptor'), + { key: 'conversion', label: 'Conversion kinetics', path: ['conversion_kinetics'], schema: definitions.MetastableConversionInput, + note: 'Choose the capture paths explicitly. Barrier and rate declarations remain independent; the resolver checks detailed balance.' }, + ] + if (Object.hasOwn(defect, 'configuration') && !Object.hasOwn(defect, 'distribution')) { + return [ + { key: 'defect', label: 'Multivalent bulk defect', path: [], schema: definitions.MultivalentDefectInput, + note: 'Multivalent inventory retained in its supplied form. Density is integrated per volume (m^-3).' }, + ...multivalentSections(defect, ['configuration'], '', 'Multivalent'), + ] + } + if (!Object.hasOwn(defect, 'distribution') || Object.hasOwn(defect, 'configuration')) return [ + { key: 'retained', label: 'Unsupported defect data retained', path: [], schema: {}, + note: 'This record is not an unambiguous supported defect shape. It remains unchanged for authoritative validation; no branch data is discarded.' }, + ] + const profile = nestedValue(defect, ['spatial_profile']), knots = profile && Reflect.get(profile, 'knots') + return [ + { key: 'defect', label: 'Bulk defect', path: [], schema: definitions.BulkDefectInput, + note: 'Charge transition and neutral reference are separate declarations. Applying the draft checks their agreement.' }, + { key: 'distribution', label: 'Energy distribution and density', path: ['distribution'], schema: definitions.DistributionInput, + note: 'Bulk density is integrated per volume (m^-3). Choose the Gaussian width convention explicitly; changing kind never clears width or support data.' }, + { key: 'energy_level', label: 'Referenced energy level', path: ['energy_level'], schema: definitions.EnergyLevelInput, optional: 'energy_level', + note: 'Declare one energy authority: the distribution center or a referenced energy level. Switching authority requires explicit edits; conflicting fields are retained.' }, + { key: 'kinetics', label: 'Capture kinetics', path: ['kinetics'], schema: definitions.KineticsInput, + note: 'Supplied capture cross sections and thermal velocities. Other branch data and tags are retained.' }, + { key: 'spatial_profile', label: 'Spatial profile', path: ['spatial_profile'], schema: definitions.SpatialProfileInput, optional: 'spatial_profile', + note: 'Profile coordinates, interpolation and normalization are explicit. Knot edits are never sorted, integrated or normalized by the editor.' }, + ...(Array.isArray(knots) ? knots.map((_item, index) => ({ key: `knot:${index}`, label: `Spatial knot ${index + 1}`, + path: ['spatial_profile', 'knots', index], schema: definitions.SpatialKnotInput, + note: 'Position and multiplier are the supplied values. Invalid order, endpoints or layer average remain a draft for resolver validation.' })) : []), + ] +} + +function multivalentSections(defect: object, path: Path, prefix: string, label: string): DefectSection[] { + const configuration = nestedValue(defect, path), kinetics = configuration && Reflect.get(configuration, 'transition_kinetics') + const array = (key: string, title: string, relative: Path, schema: FieldSchema, kind: 'value' | 'kinetics'): DefectSection => ({ + key: prefix + key, label: `${label} ${title}`, path: [...path, ...relative], schema, + array: { kind, item: schema.item_unit === undefined ? schema.items! : { ...schema.items, unit: schema.item_unit } }, + note: 'Rows are independent and ordered. Insert, remove or move only the chosen row; related arrays and conversion indices are not rewritten.', + }) + return [ + { key: prefix + 'configuration', label: `${label} configuration`, path, schema: definitions.MultivalentConfigurationInput, + note: 'Changing family or convention never regenerates charge states, degeneracies, energies or kinetics. The resolver checks consistency.' }, + array('charges', 'charge states', ['charge_states_e'], definitions.MultivalentConfigurationInput.properties.charge_states_e, 'value'), + array('degeneracies', 'state degeneracies', ['state_degeneracies'], definitions.MultivalentConfigurationInput.properties.state_degeneracies, 'value'), + { key: prefix + 'energy_levels', label: `${label} transition energies`, path: [...path, 'energy_levels'], schema: definitions.MultivalentEnergyInput, + note: 'The first transition and ordered signed correlations are separate inputs. No cumulative energy is written back to the input.' }, + array('correlations', 'correlation energies', ['energy_levels', 'correlation_energies_eV'], definitions.MultivalentEnergyInput.properties.correlation_energies_eV, 'value'), + array('transitions', 'transition kinetics rows', ['transition_kinetics'], definitions.MultivalentConfigurationInput.properties.transition_kinetics, 'kinetics'), + ...(Array.isArray(kinetics) ? kinetics.map((_item, index) => ({ key: `${prefix}transition:${index}`, label: `${label} transition ${index + 1} kinetics`, + path: [...path, 'transition_kinetics', index], schema: definitions.KineticsInput, + row: { arrayKey: prefix + 'transitions', index }, + note: 'Edit this supplied transition only. Other rows, charge states and conversion indices remain unchanged.' })) : []), + ] +} + +export function defectArray(input: EditorInput, selection: StructuredSelection, key: string) { + const section = defectSections(input, selection).find(item => item.key === key && item.array) + if (!section) throw new DeviceEditError('Select a supported ordered defect array.', [selectedEntity(input, selection).path]) + const selected = selectedEntity(input, selection), owner = nestedValue(selected.value, section.path.slice(0, -1)) + const rows: unknown = owner && Reflect.get(owner, section.path.at(-1)!) + if (!Array.isArray(rows)) throw new DeviceEditError('The selected array is not supplied.', [[...selected.path, ...section.path]]) + return { section, rows, path: [...selected.path, ...section.path] } +} + +export function writeDefectRow(input: T, selection: StructuredSelection, key: string, index: number, edit: FieldValue): T { + const next = structuredClone(input), array = defectArray(next, selection, key) + if (array.section.array!.kind !== 'value' || !Number.isSafeInteger(index) || index < 0 || index >= array.rows.length) throw new DeviceEditError('Select a supplied scalar row.', [array.path]) + if (edit.kind === 'omit' || edit.value === null && !allowsNull(array.section.array!.item)) throw new DeviceEditError('Rows require an explicit value; remove a row explicitly.', [[...array.path, index]]) + array.rows[index] = edit.value + return next +} + +export function changeDefectRows(input: T, selection: StructuredSelection, key: string, action: RowMutation, value?: unknown): T { + const next = structuredClone(input), array = defectArray(next, selection, key) + mutateRows(array.rows, action, array.path, value) + return next +} + +export function writeDefectField(input: T, selection: StructuredSelection, + sectionKey: string, field: string, edit: FieldValue): T { + const section = defectSections(input, selection).find(item => item.key === sectionKey) + const selected = selectedEntity(input, selection), metadata = section?.schema.properties?.[field] + const path = [...selected.path, ...(section?.path ?? []), field] + if (!section || !metadata || !scalarField(metadata) || field === 'id') { + throw new DeviceEditError('This field has no scalar defect editor.', [path]) + } + if (edit.kind === 'omit' && section.schema.required?.includes(field)) throw new DeviceEditError('This required field cannot be omitted.', [path]) + if (edit.kind === 'value' && edit.value === null && !allowsNull(metadata)) throw new DeviceEditError('This field does not accept null.', [path]) + const next = structuredClone(input), owner = nestedValue(selectedEntity(next, selection).value, section.path) + if (!owner) throw new DeviceEditError('The selected defect section is not supplied.', [[...selected.path, ...section.path]]) + if (edit.kind === 'omit') Reflect.deleteProperty(owner, field) + else Reflect.set(owner, field, edit.value) + return next +} + +export function renameDefect(input: T, selection: DefectSelection, id: string) { + const found = selectedEntity(input, selection), next = structuredClone(input) + if (id !== selection.id) requireKnownIdentityScope(input, selection.cell) + const updatedPaths: Path[] = [] + if (selection.kind === 'metastable_defect') { + const parent = selectedEntity(next, { cell: selection.cell, kind: 'layer', ...selection.parent }) + const defects = cellInput(next, selection.cell).layers[parent.index].metastable_document!.metastable_defects + defects[found.index].id = id + return { input: next, selection: { ...selection, id, occurrence: defects.slice(0, found.index).filter(item => item.id === id).length }, + updatedPaths: id === selection.id ? [] : [[...found.path, 'id']] } + } + if (selection.kind === 'bulk_defect') { + const parent = selectedEntity(next, { cell: selection.cell, kind: 'layer', ...selection.parent }) + const layer = cellInput(next, selection.cell).layers[parent.index], defects = layer.bulk_defects! + const references = (layer.scaps_defect_metadata ?? []).flatMap((item, index) => item.defect_id === selection.id ? [index] : []) + if (id !== selection.id && references.length && defects.filter(item => item.id === selection.id).length !== 1) { + throw new DeviceEditError('The defect ID has ambiguous partner references; edit or discard the duplicate draft explicitly.', + references.map(index => [...parent.path, 'scaps_defect_metadata', index, 'defect_id'])) + } + if (id !== selection.id) { + defects[found.index].id = id; updatedPaths.push([...found.path, 'id']) + for (const index of references) { layer.scaps_defect_metadata![index].defect_id = id; updatedPaths.push([...parent.path, 'scaps_defect_metadata', index, 'defect_id']) } + } + return { input: next, selection: { ...selection, id, occurrence: defects.slice(0, found.index).filter(item => item.id === id).length }, updatedPaths } + } + const defect = cellInput(next, selection.cell).interfaces![found.index].defect! + if (id !== selection.id) { + defect.id = id; updatedPaths.push([...found.path, 'id']) + if (defect.partner_metadata?.defect_id === selection.id) { + defect.partner_metadata.defect_id = id; updatedPaths.push([...found.path, 'partner_metadata', 'defect_id']) + } + } + return { input: next, selection: { ...selection, id }, updatedPaths } +} + +/** Optional object creation starts empty: required declarations must be entered + * explicitly. Clear and omission never stand in for one another. */ +export function setDefectSection(input: T, selection: DefectSelection, + sectionKey: string, mode: 'empty' | 'null' | 'omit'): T { + const section = defectSections(input, selection).find(item => item.key === sectionKey) + const selected = selectedEntity(input, selection) + if (!section?.optional || selection.kind !== 'bulk_defect') throw new DeviceEditError('Select an optional defect section.', [selected.path]) + const next = structuredClone(input), owner = selectedEntity(next, selection).value! + if (mode === 'empty') { + if (nestedValue(owner, [section.optional])) throw new DeviceEditError('This section is already supplied; edit it or explicitly clear it first.', [[...selected.path, section.optional]]) + Reflect.set(owner, section.optional, section.optional === 'spatial_profile' ? { knots: [] } : {}) + } else if (mode === 'null') Reflect.set(owner, section.optional, null) + else Reflect.deleteProperty(owner, section.optional) + return next +} + +type Knot = NonNullable['knots'][number] +export function changeProfileRows(input: T, selection: DefectSelection, + action: { kind: 'append'; knot: Knot } | { kind: 'remove'; index: number }): T { + const next = structuredClone(input), selected = selectedEntity(next, selection) + if (selection.kind !== 'bulk_defect' || !defectSections(input, selection).some(item => item.key === 'spatial_profile')) throw new DeviceEditError('Select an ordinary bulk-defect profile.', [selected.path]) + const profile = nestedValue(selected.value, ['spatial_profile']), knots = profile && Reflect.get(profile, 'knots') + if (!Array.isArray(knots)) throw new DeviceEditError('A supplied spatial-profile knot list is required.', [[...selected.path, 'spatial_profile', 'knots']]) + if (action.kind === 'append') knots.push(structuredClone(action.knot)) + else { + if (!Number.isSafeInteger(action.index) || action.index < 0 || action.index >= knots.length) throw new DeviceEditError('The selected knot is no longer supplied.', [[...selected.path, 'spatial_profile', 'knots', action.index]]) + knots.splice(action.index, 1) + } + return next +} + +export function removeBulkDefect(input: T, selection: DefectSelection): T { + const next = structuredClone(input) + if (selection.kind !== 'bulk_defect') throw new DeviceEditError('Select a supplied bulk defect.', [[selection.cell]]) + const found = selectedEntity(next, selection), parent = selectedEntity(next, { cell: selection.cell, kind: 'layer', ...selection.parent }) + // Preserve metadata references; a dangling partner reference is an explicit + // invalid draft, never silently deleted to make validation succeed. + cellInput(next, selection.cell).layers[parent.index].bulk_defects!.splice(found.index, 1) + return next +} + +/** Clear/remove only by an explicit user action; no automatic inventory repair. */ +export function clearInterfaceDefect(input: T, selection: Selection, mode: 'null' | 'omit'): T { + if (selection.kind !== 'interface') throw new DeviceEditError('Select an interface.', [[selection.cell, 'interfaces']]) + const next = structuredClone(input), found = selectedEntity(next, selection) + const item = cellInput(next, selection.cell).interfaces![found.index] + if (mode === 'null') item.defect = null + else delete item.defect + return next +} diff --git a/web/src/editors/device-editor.test.ts b/web/src/editors/device-editor.test.ts new file mode 100644 index 00000000..55f39726 --- /dev/null +++ b/web/src/editors/device-editor.test.ts @@ -0,0 +1,532 @@ +import { afterEach, describe, expect, it, vi } from 'vitest' +import type { BulkDefectInput, DeviceInput, MetastableDocumentInput, MetastablePreparationInput, MultivalentDefectInput, TandemInput } from '../generated/configuration-inputs' +import { mountDeviceEditor } from './device-editor' +import type { DeviceEditor } from './device-editor' +import type { EditorInput, Selection } from './device-edits' + +const mounted: DeviceEditor[] = [] +function input(): DeviceInput { + return { schema_version: 'solarlab.device-preparation.v1', id: 'sample', source_format: 'canonical', + layers: [{ id: 'front', name: 'Front', role: 'HTL', thickness: '2.00000000000000001e-7 m', material: 'shared', + parameters: { mu_n: -0, Nc300: null, incoherent: false, grading_N_mult: 3 }, bulk_defects: [], cigs_graded_optics: null }, + { id: 'back', name: 'Back', role: 'ETL', thickness: 1e-7 }], + materials: [{ id: 'shared', name: 'Shared', parameters: { mu_n: '2 cm^2/(V s)' } }], + interfaces: [{ id: 'pair', left: 'front', right: 'back', v_n: null }], + contacts: [{ id: 'left', side: 'left', layer: 'front' }, { id: 'right', side: 'right', layer: 'back' }], + settings: { phi_left: -0 }, grain_boundaries: [], simulation_hints: null } +} +function mount(value: EditorInput = input()) { + const root = document.createElement('div'); document.body.append(root) + const onApply = vi.fn(), editor = mountDeviceEditor(root, { input: value, onApply }); mounted.push(editor) + const query = (selector: string) => root.querySelector(selector)! + function choose(selector: string, value: string) { + const select = query(selector); select.value = value; select.dispatchEvent(new Event('change')) + } + function entity(kind: Selection['kind'], id?: string, occurrence = 0) { + const select = query('[data-role=entity]') + const option = [...select.options].find(option => { + const item = JSON.parse(option.value) + return item.kind === kind && (kind === 'settings' || item.id === id && (item.occurrence ?? 0) === occurrence) + })! + choose('[data-role=entity]', option.value) + } + function type(field: string, value: string, area = 'basic') { + const node = query(`[data-field="${field}"][data-area="${area}"] input`) + node.value = value; node.dispatchEvent(new Event('input')) + } + function source(field: string, value: string, area = 'parameters') { + choose(`[data-field="${field}"][data-area="${area}"] select`, value) + } + const parameter = (name: string) => choose('[data-role=parameter]', name) + const click = (action: string) => query(`[data-action=${action}]`).click() + return { root, editor, onApply, query, choose, entity, type, source, parameter, click } +} +afterEach(() => { for (const editor of mounted.splice(0)) editor.dispose(); document.body.replaceChildren() }) + +describe('existing layer/material draft editor', () => { + it('applies exact no-op input without mutating or aliasing the caller or callback', () => { + const original = input(), view = mount(original) + expect(view.editor.read().dirty).toBe(false) + expect(view.editor.apply()).toBe(true) + expect(view.onApply).toHaveBeenLastCalledWith(original) + const sent = view.onApply.mock.calls[0][0] + expect(Object.is(sent.layers[0].parameters.mu_n, -0)).toBe(true) + sent.layers[0].name = 'callback mutation' + expect(view.editor.read().input).toStrictEqual(original) + expect(original.layers[0].name).toBe('Front') + }) + + it('keeps selection by stable ID while editing safe names and rerendering parameter fields', () => { + const view = mount(); view.entity('layer', 'back') + view.type('name', '') + view.parameter('mu_n'); view.source('mu_n', 'value'); view.type('mu_n', '2.00000000000000001 cm^2/(V s)', 'parameters') + view.parameter('Nc300'); view.parameter('mu_n') + expect(view.editor.read().selection).toMatchObject({ kind: 'layer', id: 'back' }) + const draft = view.editor.read().input as DeviceInput + expect(draft.layers[1].id).toBe('back') + expect(draft.layers[0]).toStrictEqual(input().layers[0]) + expect(draft.layers[1].parameters!.mu_n).toBe('2.00000000000000001 cm^2/(V s)') + expect(view.root.querySelector('img,script')).toBeNull() + expect(view.root.textContent).toContain('') + }) + + it('edits supplied material values and removes a local override while retaining references', () => { + const view = mount(); view.entity('material', 'shared'); view.type('name', 'Renamed display') + view.parameter('mu_n'); view.type('mu_n', '3 cm^2/(V s)', 'parameters') + view.entity('layer', 'front'); view.parameter('mu_n'); view.source('mu_n', 'omit') + const draft = view.editor.read().input as DeviceInput + expect(draft.layers[0].material).toBe('shared') + expect(Object.hasOwn(draft.layers[0].parameters!, 'mu_n')).toBe(false) + expect(draft.materials![0]).toStrictEqual({ id: 'shared', name: 'Renamed display', parameters: { mu_n: '3 cm^2/(V s)' } }) + }) + + it('retains incomplete text across navigation and prevents Apply until corrected or discarded', () => { + const view = mount(); view.parameter('mu_n'); view.type('mu_n', ' ', 'parameters') + view.entity('layer', 'back'); expect(view.editor.apply()).toBe(false) + expect(view.onApply).not.toHaveBeenCalled() + view.entity('layer', 'front'); view.parameter('mu_n') + expect(view.query('[data-field=mu_n][data-area=parameters] input').value).toBe(' ') + view.type('mu_n', '0', 'parameters'); expect(view.editor.apply()).toBe(true) + expect((view.editor.read().input as DeviceInput).layers[0].parameters!.mu_n).toBe('0') + view.click('discard'); expect(view.editor.read().input).toStrictEqual(input()) + expect(view.editor.read().dirty).toBe(false) + }) + + it('does not lose an incomplete required name on a rerender', () => { + const view = mount(); view.type('name', ''); view.parameter('mu_n') + expect(view.editor.apply()).toBe(false) + expect(view.query('[data-field=name] input').value).toBe('') + view.type('name', 'Valid name'); expect(view.editor.apply()).toBe(true) + }) + + it('derives null, enum, boolean and number controls from generated metadata', () => { + const view = mount(); view.parameter('Nc300'); view.source('Nc300', 'null') + expect((view.editor.read().input as DeviceInput).layers[0].parameters!.Nc300).toBeNull() + view.source('Nc300', 'omit'); expect(Object.hasOwn((view.editor.read().input as DeviceInput).layers[0].parameters!, 'Nc300')).toBe(false) + view.parameter('incoherent') + view.choose('[data-field=incoherent] [data-role=scalar-value]', 'true') + expect((view.editor.read().input as DeviceInput).layers[0].parameters!.incoherent).toBe(true) + view.parameter('carrier_statistics'); view.source('carrier_statistics', 'value') + view.choose('[data-field=carrier_statistics] [data-role=scalar-value]', 'fermi_dirac') + expect((view.editor.read().input as DeviceInput).layers[0].parameters!.carrier_statistics).toBe('fermi_dirac') + view.parameter('grading_N_mult'); view.type('grading_N_mult', '12 nm', 'parameters') + expect(view.editor.apply()).toBe(false) + view.type('grading_N_mult', '12', 'parameters') + expect((view.editor.read().input as DeviceInput).layers[0].parameters!.grading_N_mult).toBe(12) + expect([...view.query('[data-field=thickness] select').options].map(item => item.value)).toEqual(['value']) + }) + + it('makes explicit ID changes separate from names and shows duplicate drafts for resolver validation', () => { + const view = mount(); const id = view.query('[data-role=layer-id]'); id.value = 'new_front'; view.click('rename-layer') + const renamed = view.editor.read().input as DeviceInput + expect(renamed.layers[0].name).toBe('Front') + expect(renamed.interfaces![0].left).toBe('new_front') + expect(renamed.contacts![0].layer).toBe('new_front') + expect(view.editor.read().selection).toMatchObject({ id: 'new_front' }) + expect(view.query('[data-role=edit-error]').getAttribute('role')).toBe('status') + expect(view.query('[data-role=edit-error]').classList.contains('error')).toBe(false) + view.query('[data-role=layer-id]').value = 'back'; view.click('rename-layer') + expect(view.root.textContent).toContain('duplicate back') + expect(view.editor.apply()).toBe(true) + expect(view.onApply.mock.lastCall![0].layers.map((item: { id: string }) => item.id)).toEqual(['back', 'back']) + view.query('[data-role=layer-id]').value = 'corrected'; view.click('rename-layer') + expect(view.query('[data-role=edit-error]').textContent).toContain('ambiguous') + expect(view.query('[data-role=edit-error]').getAttribute('role')).toBe('alert') + expect(view.query('[data-role=edit-error]').classList.contains('error')).toBe(true) + view.click('discard'); expect(view.editor.read().input).toStrictEqual(input()) + }) + + it('preserves invalid reorder drafts and allows only explicit connection correction', () => { + const original = input(), view = mount(original); view.click('move-later') + const draft = view.editor.read().input as DeviceInput + expect(draft.layers).toStrictEqual([original.layers[1], original.layers[0]]) + expect(draft.interfaces).toStrictEqual(original.interfaces) + expect(draft.contacts).toStrictEqual(original.contacts) + expect(view.query('[data-section=connections]').hasAttribute('open')).toBe(true) + expect(view.root.textContent).toContain('not a directed adjacent pair') + const endpoint = view.query('[data-connection="interfaces:0"] [data-endpoint=left]') + endpoint.value = 'missing'; endpoint.dispatchEvent(new Event('input')) + expect(view.editor.apply()).toBe(true) + expect(view.onApply.mock.lastCall![0].interfaces[0]).toStrictEqual({ id: 'pair', left: 'missing', right: 'back', v_n: null }) + }) + + it('reaches duplicate and dangling supplied records without repairing them on render', () => { + const original = input(); original.layers[1].id = 'front'; original.layers[0].material = 'missing' + const view = mount(original); view.entity('layer', 'front', 1) + expect(view.editor.read().selection).toMatchObject({ occurrence: 1 }) + expect(view.editor.read().input).toStrictEqual(original) + expect(view.root.textContent).toContain('not a supplied material') + expect(view.root.textContent).toContain('not a supplied layer') + }) + + it('refreshes material-reference notices in both directions without replacing the focused input', () => { + const view = mount(), material = view.query('[data-field=material][data-area=basic] input') + material.focus(); material.value = 'missing'; material.setSelectionRange(3, 3) + material.dispatchEvent(new Event('input')) + expect(view.query('[data-role=reference-notices]').textContent).toContain('missing is not a supplied material') + expect(document.activeElement).toBe(material); expect(material.selectionStart).toBe(3) + material.value = 'shared'; material.setSelectionRange(2, 2); material.dispatchEvent(new Event('input')) + expect(view.query('[data-role=reference-notices]').textContent).not.toContain('not a supplied material') + expect(document.activeElement).toBe(material); expect(material.selectionStart).toBe(2) + }) + + it('clears corrected endpoint notices and shows newly dangling/reversed endpoints without replacing the input', () => { + const initial = input(); initial.interfaces![0].right = 'missing' + const view = mount(initial), endpoint = view.query('[data-connection="interfaces:0"] [data-endpoint=right]') + expect(view.query('[data-role=reference-notices]').textContent).toContain('not a supplied layer') + endpoint.focus(); endpoint.value = 'back'; endpoint.setSelectionRange(2, 2); endpoint.dispatchEvent(new Event('input')) + expect(view.query('[data-role=reference-notices]').textContent).toBe('') + expect(document.activeElement).toBe(endpoint); expect(endpoint.selectionStart).toBe(2) + endpoint.value = 'missing'; endpoint.dispatchEvent(new Event('input')) + expect(view.query('[data-role=reference-notices]').textContent).toContain('not a supplied layer') + expect(view.query('[data-role=reference-notices]').textContent).toContain('not a directed adjacent pair') + expect(view.query('[data-connection="interfaces:0"] [data-endpoint=right]')).toBe(endpoint) + }) + + it('selects both tandem cells and retains sibling/root data and selection on a caller refresh', () => { + const original: TandemInput = { schema_version: 'solarlab.tandem-preparation.v1', id: 'tandem', source_schema_version: 1, + device_type: 'tandem_2T_monolithic', top_cell: input(), bottom_cell: { ...input(), id: 'bottom' }, + top_cell_reference: 'top.yaml', bottom_cell_reference: 'bottom.yaml', junction_model: 'ideal_ohmic', + light_direction: 'top_first', junction_stack: [], benchmark: null, back_reflector: null } + const view = mount(original); view.choose('[data-role=cell]', 'bottom_cell'); view.entity('layer', 'back'); view.type('name', 'Bottom back') + const draft = view.editor.read().input as TandemInput + expect(draft.top_cell).toStrictEqual(original.top_cell) + expect(draft.bottom_cell.layers[1].name).toBe('Bottom back') + const expected = structuredClone(original); expected.bottom_cell.layers[1].name = 'Bottom back' + expect(draft).toStrictEqual(expected) + view.editor.setInput(draft) + expect(view.editor.read().selection).toMatchObject({ cell: 'bottom_cell', id: 'back' }) + view.choose('[data-role=cell]', 'top_cell'); view.entity('layer', 'front'); view.type('role', 'changed') + expect((view.editor.read().input as TandemInput).bottom_cell).toStrictEqual(draft.bottom_cell) + }) + + it('keeps device settings and input signed zero without creating omitted values', () => { + const view = mount(); view.entity('settings'); view.parameter('phi_left'); view.editor.apply() + expect(Object.is(view.onApply.mock.lastCall![0].settings.phi_left, -0)).toBe(true) + view.type('phi_left', '-25 mV'); view.editor.apply() + expect(view.onApply.mock.lastCall![0].settings.phi_left).toBe('-25 mV') + view.click('discard'); expect(view.editor.read().input).toStrictEqual(input()) + }) + + it('detaches controls and callbacks on disposal without removing a replacement view', () => { + const view = mount(), button = view.query('[data-action=apply]') + const name = view.query('[data-field=name] input'), replacement = document.createElement('p') + view.root.replaceChildren(replacement); view.editor.dispose() + name.value = 'late'; name.dispatchEvent(new Event('input')); button.click() + expect(view.onApply).not.toHaveBeenCalled(); expect(view.editor.apply()).toBe(false) + expect(view.root.firstChild).toBe(replacement) + }) + + it('edits supplied contact scalars and references, preserving null/omission and incomplete text', () => { + const original = input(), view = mount(original); view.entity('contact', 'left') + view.source('S_n', 'value', 'basic'); view.type('S_n', '0'); view.editor.apply() + expect(view.onApply.mock.lastCall![0].contacts[0].S_n).toBe('0') + view.source('S_n', 'null', 'basic'); expect((view.editor.read().input as DeviceInput).contacts![0].S_n).toBeNull() + view.source('S_n', 'omit', 'basic'); expect(Object.hasOwn((view.editor.read().input as DeviceInput).contacts![0], 'S_n')).toBe(false) + view.type('layer', 'missing'); view.editor.apply() + expect(view.onApply.mock.lastCall![0].contacts[0].layer).toBe('missing') + expect(view.root.textContent).toContain('not a supplied layer') + view.source('S_n', 'value', 'basic'); view.type('S_n', ' ') + view.entity('contact', 'right'); expect(view.editor.apply()).toBe(false) + view.entity('contact', 'left'); expect(view.query('[data-field=S_n] input').value).toBe(' ') + view.click('discard'); expect(view.editor.read().input).toStrictEqual(original) + }) + + it('edits nested interface defect energy, density and kinetics without changing retained partner data', () => { + const original = input(); original.interfaces![0].defect = { + id: 'trap', trap_depth_eV: '0.6 eV', energy_reference: 'below_conduction_band', total_density_m2: '1e12 cm^-2', + calibration_factor: 0, iface_state_calibration_factor: '0.02', + kinetics: { sigma_n_m2: -0, sigma_p_m2: '1e-19 m^2', thermal_velocity_n_m_s: 1e5, thermal_velocity_p_m_s: '1e5 m/s' }, partner_metadata: null, + } + const view = mount(original); view.entity('interface', 'pair'); view.click('select-interface-defect') + expect(view.editor.read().selection).toMatchObject({ kind: 'interface_defect', id: 'trap' }) + expect(view.root.textContent).toContain('m^-2') + view.type('total_density_m2', '2e12 cm^-2', 'defect') + view.type('trap_depth_eV', '9 eV', 'defect') + view.choose('[data-role=defect-section]', 'kinetics') + expect(Object.is((view.editor.read().input as DeviceInput).interfaces![0].defect!.kinetics.sigma_n_m2, -0)).toBe(true) + view.type('sigma_p_m2', '3e-19 m^2', 'kinetics') + view.choose('[data-role=defect-section]', 'defect'); view.editor.apply() + const result = view.onApply.mock.lastCall![0] as DeviceInput + expect(result.interfaces![0].defect!.total_density_m2).toBe('2e12 cm^-2') + expect(result.interfaces![0].defect!.trap_depth_eV).toBe('9 eV') + expect(result.interfaces![0].defect!.partner_metadata).toBeNull() + expect(result.contacts).toStrictEqual(original.contacts) + view.entity('interface', 'pair'); view.click('defect-null') + expect((view.editor.read().input as DeviceInput).interfaces![0].defect).toBeNull() + view.click('defect-omit'); expect(Object.hasOwn((view.editor.read().input as DeviceInput).interfaces![0], 'defect')).toBe(false) + view.click('discard'); expect(view.editor.read().input).toStrictEqual(original) + }) + + it('keeps bulk branch conflicts, optional energy and incomplete profile rows explicit in the same draft', () => { + const original = input(); original.layers[0].bulk_defects = [{ id: 'bulk', name: 'Bulk', charge_transition: 'acceptor', neutral_reference: 'empty', degeneracy: 1, + distribution: { kind: 'gaussian', normalization: 'integrated_total', total_density_m3: '8e20', center_eV_above_vb: '0.39', + width_eV: '0.05', width_convention: 'gaussian_standard_deviation', support_width_multiplier: '6', energy_reference: 'above_valence_band' }, + kinetics: { sigma_n_m2: 0, sigma_p_m2: '1e-19', thermal_velocity_n_m_s: '1e5', thermal_velocity_p_m_s: '8e4' }, + spatial_profile: { coordinate: 'normalized_layer_coordinate', interpolation: 'piecewise_linear', density_normalization: 'layer_average_unity', + knots: [{ position_fraction: -0, density_multiplier: '1' }, { position_fraction: 1, density_multiplier: '1' }] }, + }]; original.layers[0].defect_schema_version = 'solarlab-explicit-bulk-defects-v3'; original.layers[0].defect_model = 'explicit_quasi_steady' + const view = mount(original); view.entity('bulk_defect', 'bulk'); view.choose('[data-role=defect-section]', 'distribution') + expect(view.root.textContent).toContain('m^-3'); expect(view.root.textContent).toContain('Gaussian width convention') + view.choose('[data-area=distribution][data-field=kind] [data-role=scalar-value]', 'single_level') + const changed = () => (view.editor.read().input as DeviceInput).layers[0].bulk_defects![0] as BulkDefectInput + expect(changed().distribution.width_eV).toBe('0.05'); expect(view.editor.apply()).toBe(true) + view.choose('[data-role=defect-section]', 'energy_level'); view.click('section-empty') + expect(changed().energy_level).toStrictEqual({}); expect(view.editor.apply()).toBe(false) + view.choose('[data-area=energy_level][data-field=reference] [data-role=scalar-value]', 'above_valence_band') + view.type('value_eV', '400 meV', 'energy_level'); expect(view.editor.apply()).toBe(true) + expect(changed().distribution.center_eV_above_vb).toBe('0.39') + view.click('section-null'); expect(changed().energy_level).toBeNull() + view.click('section-omit'); expect(Object.hasOwn(changed(), 'energy_level')).toBe(false) + view.choose('[data-role=defect-section]', 'spatial_profile'); view.click('add-knot') + expect(view.query('[data-role=defect-section]').value).toBe('knot:2') + expect(changed().spatial_profile!.knots[2]).toStrictEqual({ position_fraction: '', density_multiplier: '' }) + view.type('position_fraction', '0.5', 'knot:2'); view.entity('contact', 'left'); expect(view.editor.apply()).toBe(false) + view.entity('bulk_defect', 'bulk'); view.choose('[data-role=defect-section]', 'knot:2') + expect(view.query('[data-area="knot:2"][data-field=position_fraction] input').value).toBe('0.5') + view.type('density_multiplier', '1', 'knot:2'); expect(view.editor.apply()).toBe(true) + expect(changed().spatial_profile!.knots.map(knot => knot.position_fraction)).toStrictEqual([-0, 1, '0.5']) + view.click('remove-knot'); expect(changed().spatial_profile!.knots).toHaveLength(2) + view.click('discard'); expect(view.editor.read().input).toStrictEqual(original) + }) + + it('retains model/schema declarations and lets explicit duplicate bulk IDs remain previewable', () => { + const original = input(), item: BulkDefectInput = { id: 'one', distribution: { kind: 'single_level', normalization: 'integrated_total', total_density_m3: '1e18', center_eV_above_vb: '0.3' }, + charge_transition: 'unresolved', neutral_reference: 'unresolved', degeneracy: 1, + kinetics: { sigma_n_m2: 0, sigma_p_m2: '1e-19', thermal_velocity_n_m_s: 1e5, thermal_velocity_p_m_s: 1e5 } } + original.layers[0].bulk_defects = [item, { ...item, id: 'two' }] + original.layers[0].defect_schema_version = 'solarlab-explicit-bulk-defects-v1'; original.layers[0].defect_model = 'effective_lifetime' + const view = mount(original); view.entity('bulk_defect', 'one') + view.query('[data-role=item-id]').value = 'two'; view.click('rename-item') + expect(view.root.textContent).toContain('duplicate two'); expect(view.editor.apply()).toBe(true) + expect((view.editor.read().input as DeviceInput).layers[0].defect_schema_version).toBe(original.layers[0].defect_schema_version) + view.entity('bulk_defect', 'two', 1); expect(view.editor.read().selection).toMatchObject({ id: 'two', occurrence: 1 }) + view.click('remove-bulk-defect'); expect((view.editor.read().input as DeviceInput).layers[0].bulk_defects).toHaveLength(1) + view.click('discard'); expect(view.editor.read().input).toStrictEqual(original) + }) + + it('distinguishes bulk defects in duplicate parent layers and edits only the selected occurrence', () => { + const original = input(), item: BulkDefectInput = { id: 'trap', name: 'Trap', + distribution: { kind: 'single_level', normalization: 'integrated_total', total_density_m3: '1e18', center_eV_above_vb: '0.3' }, + charge_transition: 'acceptor', neutral_reference: 'empty', degeneracy: 1, + kinetics: { sigma_n_m2: -0, sigma_p_m2: '1e-19', thermal_velocity_n_m_s: 1e5, thermal_velocity_p_m_s: 1e5 } } + original.layers[0].bulk_defects = [item] + original.layers[1].id = 'front'; original.layers[1].bulk_defects = [structuredClone(item), structuredClone(item)] + const view = mount(original), options = [...view.query('[data-role=entity]').options] + .filter(option => JSON.parse(option.value).kind === 'bulk_defect') + expect(options.map(option => option.textContent)).toStrictEqual([ + 'Bulk defect trap: Trap — layer front', + 'Bulk defect trap: Trap — layer front (duplicate 2)', + 'Bulk defect trap (duplicate 2): Trap — layer front (duplicate 2)', + ]) + view.choose('[data-role=entity]', options[2].value); view.type('name', 'Selected trap', 'defect') + const draft = view.editor.read().input as DeviceInput + expect(draft.layers[0]).toStrictEqual(original.layers[0]) + expect(draft.layers[1].bulk_defects![0]).toStrictEqual(original.layers[1].bulk_defects![0]) + expect(draft.layers[1].bulk_defects![1]).toStrictEqual({ ...item, name: 'Selected trap' }) + view.choose('[data-role=defect-section]', 'kinetics') + expect(view.editor.read().selection).toMatchObject({ id: 'trap', occurrence: 1, parent: { id: 'front', occurrence: 1 } }) + view.click('discard'); expect(view.editor.read().input).toStrictEqual(original) + }) +}) + +function complexInput(): DeviceInput { + const original = input() + original.layers[0].bulk_defects = [{ id: 'multi', name: 'Multivalent', total_density_m3: '2e21', configuration: { + family: 'double_donor', charge_states_e: [2, 1, -0], degeneracy_convention: 'explicit', state_degeneracies: [1, '2.00000000000000001', 1], + energy_levels: { first_transition_eV_above_vb: '300 meV', correlation_energies_eV: ['-0.10000000000000001 eV'], energy_reference: 'above_valence_band' }, + transition_kinetics: [{ sigma_n_m2: -0, sigma_p_m2: '1e-19', thermal_velocity_n_m_s: '1e5', thermal_velocity_p_m_s: 1e5 }, + { sigma_n_m2: '2e-19', sigma_p_m2: 0, thermal_velocity_n_m_s: 1e5, thermal_velocity_p_m_s: '8e4' }], + } }] + return original +} +function arrayInput(view: ReturnType, index: number) { + return view.query(`[data-role=defect-array] > [data-row="${index}"] [data-role=array-value] input`) +} + +function metastableInput(): DeviceInput { + const original = complexInput(), configuration = (original.layers[0].bulk_defects![0] as MultivalentDefectInput).configuration + const document: MetastableDocumentInput = { schema_version: 'solarlab-metastable-bulk-defects-v1', defect_model: 'explicit_metastable_frozen', + metastable_defects: [{ id: 'meta', name: '', total_density_m3: '3e21', + donor_configuration: structuredClone(configuration), acceptor_configuration: structuredClone(configuration), donor_conversion_state_index: 0, acceptor_conversion_state_index: 2, + conversion_kinetics: { transition_energy_eV_above_vb: '0.19', electron_capture_activation_eV: '0.1', electron_emission_activation_eV: '0.76', + hole_capture_activation_eV: '0.35', hole_emission_activation_eV: '0.73', electron_capture_path: 'electron_capture_plus_hole_emission', hole_capture_path: 'double_hole_capture', + capture_n_m3_s: '2e-14', capture_p_m3_s: '3e-14', phonon_frequency_Hz: '1e13' } }] } + const preparation: MetastablePreparationInput = { schema_version: 'solarlab-metastable-preparation-v1', preparation_limit: 'stationary_infinite_time', + preparation_temperature_K: 330, preparation_voltage_V: -0, preparation_illumination_suns: 0, voltage_continuation_steps: 20, + illumination_continuation_steps: 0, measurement_temperature_K: '200 K', configuration_freeze_stage: 'after_stationary_preparation_before_measurement', + freeze_configuration_during_measurement: true, measurement_protocol_sha256: 'a'.repeat(64), numerics: { + initial_donor_fraction_guess: '0.5', max_iterations: 250, relative_tolerance: '1e-6', clamping_factor: '0.05', final_unclamped_refinement: true } } + original.layers[0].metastable_document = document; original.layers[0].metastable_preparation = preparation + return original +} +function arrayType(view: ReturnType, index: number, value: string) { + const node = arrayInput(view, index); node.value = value; node.dispatchEvent(new Event('input')) +} +function rowAction(view: ReturnType, index: number, action: string) { + const row = view.query(`[data-role=defect-array] > [data-row="${index}"]`) + const button = row?.querySelector(`[data-action="${action}"]`) + expect(button, row?.outerHTML ?? 'Missing ordered row').toBeTruthy() + button!.click() +} +function create(view: ReturnType, kind: string, id: string, source?: Selection) { + view.choose('[data-role=new-record-kind]', kind) + if (source) view.choose('[data-role=record-template]', JSON.stringify(source)) + const node = view.query('[data-role=new-record-id]'); node.value = id; node.dispatchEvent(new Event('input')) + view.click('create-record') +} + +describe('complex array and inventory draft controls', () => { + it('keeps exact scalar array words on no-op and sends changed unit strings without conversion', () => { + const original = complexInput(), view = mount(original); view.entity('bulk_defect', 'multi') + view.choose('[data-role=defect-section]', 'charges'); expect(arrayInput(view, 2).value).toBe('-0') + view.choose('[data-role=defect-section]', 'degeneracies'); expect(arrayInput(view, 1).value).toBe('2.00000000000000001') + expect(view.editor.apply()).toBe(true); expect(view.onApply.mock.lastCall![0]).toStrictEqual(original) + view.choose('[data-role=defect-section]', 'correlations'); arrayType(view, 0, '-150 meV') + const changed = view.editor.read().input as DeviceInput, item = changed.layers[0].bulk_defects![0] as MultivalentDefectInput + expect(item.configuration.energy_levels.correlation_energies_eV).toStrictEqual(['-150 meV']) + expect(item.configuration.charge_states_e).toStrictEqual([2, 1, -0]) + }) + it('keeps incomplete scalar text tied to its row across navigation, insertion, movement and removal', () => { + const view = mount(complexInput()); view.entity('bulk_defect', 'multi'); view.choose('[data-role=defect-section]', 'degeneracies') + arrayType(view, 0, ' '); expect(view.editor.apply()).toBe(false) + rowAction(view, 0, 'row-later') + expect(view.editor.read().incomplete).toContainEqual(['layers', 0, 'bulk_defects', 0, 'configuration', 'state_degeneracies', 1]) + expect(arrayInput(view, 1).value).toBe(' ') + rowAction(view, 1, 'row-insert') + expect(arrayInput(view, 2).value).toBe(' '); expect(view.editor.read().incomplete).toHaveLength(2) + rowAction(view, 1, 'row-remove'); expect(arrayInput(view, 1).value).toBe(' ') + view.entity('contact', 'left'); expect(view.editor.apply()).toBe(false) + view.entity('bulk_defect', 'multi'); view.choose('[data-role=defect-section]', 'degeneracies') + expect(arrayInput(view, 1).value).toBe(' ') + arrayType(view, 1, '0'); expect(view.editor.apply()).toBe(true) + const item = (view.editor.read().input as DeviceInput).layers[0].bulk_defects![0] as MultivalentDefectInput + expect(item.configuration.state_degeneracies).toStrictEqual(['2.00000000000000001', '0', 1]) + expect(item.configuration.charge_states_e).toStrictEqual([2, 1, -0]) + view.click('discard'); expect(view.editor.read().input).toStrictEqual(complexInput()) + }) + it('copies the current edited row and duplicates its pending text without sharing state', () => { + const view = mount(complexInput()); view.entity('bulk_defect', 'multi'); view.choose('[data-role=defect-section]', 'degeneracies') + arrayType(view, 0, '3'); rowAction(view, 0, 'row-copy') + expect(arrayInput(view, 1).value).toBe('3') + arrayType(view, 1, ''); rowAction(view, 1, 'row-copy') + expect(view.editor.read().incomplete).toHaveLength(2) + arrayType(view, 1, '4'); expect(view.editor.read().incomplete).toHaveLength(1) + expect(arrayInput(view, 2).value).toBe('') + rowAction(view, 2, 'row-remove'); expect(view.editor.apply()).toBe(true) + }) + it('moves transition rows with pending fields and preserves independent capture and charge arrays', () => { + const original = complexInput(), view = mount(original); view.entity('bulk_defect', 'multi') + view.choose('[data-role=defect-section]', 'transition:0'); view.type('sigma_n_m2', '', 'transition:0') + view.click('row-later') + expect(view.query('[data-role=defect-section]').value).toBe('transition:1') + expect(view.query('[data-area="transition:1"][data-field=sigma_n_m2] input').value).toBe('') + expect(view.editor.read().incomplete).toContainEqual(['layers', 0, 'bulk_defects', 0, 'configuration', 'transition_kinetics', 1, 'sigma_n_m2']) + view.type('sigma_n_m2', '0', 'transition:1'); expect(view.editor.apply()).toBe(true) + const item = (view.editor.read().input as DeviceInput).layers[0].bulk_defects![0] as MultivalentDefectInput + expect(item.configuration.transition_kinetics[0].sigma_n_m2).toBe('2e-19') + expect(item.configuration.transition_kinetics[1].sigma_n_m2).toBe('0') + expect(item.configuration.charge_states_e).toStrictEqual([2, 1, -0]) + }) + it('starts explicit empty records with all unfilled declarations pending and removes them reversibly', () => { + const original = complexInput(), view = mount(original) + create(view, 'multivalent_defect', 'new') + expect(view.editor.read().selection).toMatchObject({ kind: 'bulk_defect', id: 'new' }) + expect(view.editor.apply()).toBe(false) + expect(view.editor.read().incomplete).toContainEqual(['layers', 0, 'bulk_defects', 1, 'configuration', 'family']) + const newItem = (view.editor.read().input as DeviceInput).layers[0].bulk_defects![1] as MultivalentDefectInput + expect(newItem.configuration.charge_states_e).toStrictEqual([]) + expect(Object.hasOwn(newItem.configuration, 'family')).toBe(false) + view.entity('layer', 'back'); expect(view.editor.apply()).toBe(false) + view.entity('bulk_defect', 'new'); view.click('remove-record') + expect(view.editor.read().input).toStrictEqual(original); expect(view.editor.apply()).toBe(true) + }) + it('copies and removes a selected record without changing topology or losing pending fields on another record', () => { + const original = complexInput(), view = mount(original) + view.type('name', '') + const source = view.editor.read().selection + create(view, 'layer', 'copy', source) + expect(view.editor.read().selection).toMatchObject({ kind: 'layer', id: 'copy' }) + expect(view.editor.read().incomplete).toContainEqual(['layers', 2, 'name']) + view.type('name', 'Copy'); view.click('remove-record') + expect(view.editor.read().incomplete).toContainEqual(['layers', 0, 'name']) + expect((view.editor.read().input as DeviceInput).contacts).toStrictEqual(original.contacts) + view.click('discard'); expect(view.editor.read().input).toStrictEqual(original) + }) + it('keeps created duplicate material IDs and dangling references visible for resolver validation', () => { + const original = input(), view = mount(original) + create(view, 'material', 'shared', { cell: 'device', kind: 'material', id: 'shared', occurrence: 0 }) + expect(view.editor.read().selection).toMatchObject({ kind: 'material', occurrence: 1 }) + expect(view.editor.apply()).toBe(true) + view.query('[data-role=item-id]').value = 'other'; view.click('rename-item') + expect(view.query('[data-role=edit-error]').textContent).toContain('ambiguous') + view.click('remove-record'); view.entity('material', 'shared'); view.click('remove-record') + expect((view.editor.read().input as DeviceInput).layers[0].material).toBe('shared') + expect(view.root.textContent).toContain('not a supplied material'); expect(view.editor.apply()).toBe(true) + view.click('discard'); expect(view.editor.read().input).toStrictEqual(original) + }) + it('creates and clears metastable documents explicitly and requires generated tags without choosing them', () => { + const view = mount(input()); view.click('start-metastable_document') + expect(view.editor.read().selection.kind).toBe('metastable_document') + expect(view.editor.apply()).toBe(false) + const document = (view.editor.read().input as DeviceInput).layers[0].metastable_document + expect(document).toStrictEqual({ metastable_defects: [] }) + view.choose('[data-area=document][data-field=schema_version] [data-role=scalar-value]', 'solarlab-metastable-bulk-defects-v1') + view.choose('[data-area=document][data-field=defect_model] [data-role=scalar-value]', 'explicit_metastable_frozen') + expect(view.editor.apply()).toBe(true) // Empty inventory is an authoritative semantic error, not auto-filled. + view.click('null-metastable_document'); expect((view.editor.read().input as DeviceInput).layers[0].metastable_document).toBeNull() + view.click('omit-metastable_document'); expect(Object.hasOwn((view.editor.read().input as DeviceInput).layers[0], 'metastable_document')).toBe(false) + view.click('start-metastable_preparation'); view.choose('[data-role=defect-section]', 'numerics') + const values = [...view.query('[data-area=numerics][data-field=final_unclamped_refinement] [data-role=scalar-value]').options].map(item => item.value) + expect(values).toStrictEqual(['', 'true']); expect(view.editor.apply()).toBe(false) + view.click('discard'); expect(view.editor.read().input).toStrictEqual(input()) + }) + it('shows last submitted input separately from a new draft and ignores disposed row controls', () => { + const view = mount(complexInput()); view.entity('bulk_defect', 'multi'); view.choose('[data-role=defect-section]', 'charges') + expect(view.editor.apply()).toBe(true) + arrayType(view, 0, '3'); expect(view.query('[data-editor=device]').getAttribute('data-preview-relation')).toBe('not-submitted') + expect(view.editor.apply()).toBe(true); view.choose('[data-role=defect-section]', 'degeneracies') + expect(view.root.textContent).toContain('matches the last input sent') + const control = arrayInput(view, 0), prior = view.editor.read() + view.editor.dispose(); control.value = '9'; control.dispatchEvent(new Event('input')) + expect(view.editor.read()).toStrictEqual(prior) + }) + it('updates the override presence label immediately without replacing the focused input', () => { + const view = mount(input()); view.entity('material', 'shared'); view.parameter('mu_p') + const picker = view.query('[data-role=parameter]') + expect(picker.selectedOptions[0].textContent).toContain('omitted') + view.source('mu_p', 'value') + const control = view.query('[data-area=parameters][data-field=mu_p] input') + control.focus(); control.value = '0.0003 m^2/(V s)'; control.setSelectionRange(3, 3); control.dispatchEvent(new Event('input')) + expect(picker.selectedOptions[0].textContent).toContain('supplied') + expect(document.activeElement).toBe(control); expect(control.selectionStart).toBe(3) + view.source('mu_p', 'omit'); expect(picker.selectedOptions[0].textContent).toContain('omitted') + expect(Object.hasOwn((view.editor.read().input as DeviceInput).materials![0].parameters, 'mu_p')).toBe(false) + }) + it('edits metastable inventories, both configurations and preparation values without rewriting any other branch', () => { + const original = metastableInput(), view = mount(original); view.entity('metastable_defect', 'meta') + expect(view.root.querySelector('img,script')).toBeNull() + expect(view.root.textContent).toContain('') + view.choose('[data-role=defect-section]', 'donor:charges'); arrayType(view, 0, '3') + view.choose('[data-role=defect-section]', 'acceptor:correlations'); arrayType(view, 0, '150 meV') + view.choose('[data-role=defect-section]', 'conversion'); view.type('capture_n_m3_s', '2e-8 cm^3/s', 'conversion') + const expected = structuredClone(original), meta = expected.layers[0].metastable_document!.metastable_defects[0] + meta.donor_configuration.charge_states_e[0] = 3; meta.acceptor_configuration.energy_levels.correlation_energies_eV[0] = '150 meV'; meta.conversion_kinetics.capture_n_m3_s = '2e-8 cm^3/s' + expect(view.editor.read().input).toStrictEqual(expected) + view.entity('metastable_preparation', 'front'); view.choose('[data-role=defect-section]', 'preparation') + expect(view.query('[data-area=preparation][data-field=preparation_voltage_V] input').value).toBe('-0') + view.type('preparation_voltage_V', '0 mV', 'preparation'); expected.layers[0].metastable_preparation!.preparation_voltage_V = '0 mV' + expect(view.editor.read().input).toStrictEqual(expected) + view.click('discard'); expect(view.editor.read().input).toStrictEqual(original) + }) + it.each(['top_cell', 'bottom_cell'] as const)('edits complex declarations only in the selected %s', cell => { + const original: TandemInput = { schema_version: 'solarlab.tandem-preparation.v1', id: 'tandem', source_schema_version: 1, + device_type: 'tandem_2T_monolithic', top_cell: metastableInput(), bottom_cell: metastableInput(), top_cell_reference: 'top', bottom_cell_reference: 'bottom', + junction_model: 'ideal_ohmic', light_direction: 'top_first', junction_stack: [], benchmark: null, back_reflector: null } + const view = mount(original); view.choose('[data-role=cell]', cell); view.entity('metastable_defect', 'meta'); view.choose('[data-role=defect-section]', 'donor:degeneracies') + arrayType(view, 1, '0') + const expected = structuredClone(original); expected[cell].layers[0].metastable_document!.metastable_defects[0].donor_configuration.state_degeneracies[1] = '0' + expect(view.editor.read().input).toStrictEqual(expected); expect(view.editor.apply()).toBe(true) + view.click('discard'); expect(view.editor.read().input).toStrictEqual(original) + }) +}) diff --git a/web/src/editors/device-editor.ts b/web/src/editors/device-editor.ts new file mode 100644 index 00000000..996b7a4f --- /dev/null +++ b/web/src/editors/device-editor.ts @@ -0,0 +1,839 @@ +import { mountQuantityInput } from './quantity-input' +import { + allowsNull, cellInput, DeviceEditError, exactInputEqual, fieldSchema, + layerReferences, movedRow, moveLayer, renameConnection, renameLayer, renameMaterial, scalarField, schemaVariants, selectedEntity, + selections, writeConnection, writeField, +} from './device-edits' +import type { Cell, EditorInput, FieldEdit, FieldSchema, FieldValue, Path, RowMutation, Selection } from './device-edits' +import { changeDefectRows, changeProfileRows, clearInterfaceDefect, defectArray, defectSections, isDefectSelection, isStructuredSelection, nestedValue, + renameDefect, setDefectSection, writeDefectField, writeDefectRow } from './defect-edits' +import type { DefectSection } from './defect-edits' +import { canRemoveRecord, createRecord, layerParent, recordKind, removeRecord, setLayerDocument } from './inventory-edits' +import type { NewRecordKind } from './inventory-edits' +import { changeExtendedRows, extendedArray, extendedReferenceNotices, extendedSections, isExtendedSelection, + setExtendedSection, writeExtendedField, writeExtendedRow } from './extended-edits' +import type { ExtendedSection } from './extended-edits' + +export interface DeviceDraft { + input: EditorInput + selection: Selection + dirty: boolean + incomplete: Path[] +} + +export interface DeviceEditorOptions { + input: EditorInput + /** A preview request, never an execution or validity decision. */ + onApply(input: EditorInput): void +} + +export interface DeviceEditor { + read(): DeviceDraft + setInput(input: EditorInput): void + apply(): boolean + discard(): void + dispose(): void +} + +let nextId = 0 +function element(tag: K, text?: string) { + const node = document.createElement(tag) + if (text !== undefined) node.textContent = text + return node +} +function text(value: unknown): string { + return Object.is(value, -0) ? '-0' : typeof value === 'bigint' ? value.toString() : String(value) +} +function supplied(owner: object | undefined, field: string): FieldValue { + return owner && Object.hasOwn(owner, field) ? { kind: 'value', value: Reflect.get(owner, field) } : { kind: 'omit' } +} + +/** Non-quantity scalar controls use only the generated primitive/enum metadata. + * Numeric-only integers require a complete safe token; unit input goes through + * the quantity control unchanged, including decimal strings and numeric -0. */ +export function mountScalar(root: HTMLElement, name: string, metadata: FieldSchema, required: boolean, + initial: FieldValue, onChange: (edit: FieldEdit) => void) { + if (metadata.unit !== undefined) return mountQuantityInput(root, { + name, metadata: { title: metadata.title, unit: metadata.unit, nullable: allowsNull(metadata) }, required, + initial: initial as Parameters[1]['initial'], onChange, + }) + const group = element('div'); group.className = 'form-group' + const id = `device-field-${++nextId}`, label = element('label', metadata.title ?? name) + label.htmlFor = id + const mode = element('select'); mode.dataset.role = 'value-source' + mode.setAttribute('aria-label', `${metadata.title ?? name}: value source`) + mode.add(new Option('Value', 'value')) + if (!required) mode.add(new Option('Inherit / omit override', 'omit')) + if (allowsNull(metadata)) mode.add(new Option('Clear value (null)', 'null')) + const variants = schemaVariants(metadata).filter(item => item.type !== 'null') + const boolean = variants.every(item => item.type === 'boolean') + const choices = variants.flatMap(item => item.enum ?? (Object.hasOwn(item, 'const') ? [item.const!] : [])) + const numeric = variants.every(item => item.type === 'integer' || item.type === 'number') + const minimumLength = metadata.minLength ?? Math.max(0, ...variants.map(item => item.minLength ?? 0)) + const input = boolean || choices.length ? element('select') : element('input') + input.id = id; input.dataset.role = 'scalar-value' + if (input instanceof HTMLInputElement) { input.type = 'text'; input.spellcheck = false } + else { + input.add(new Option('Choose a value', '')) + for (const value of choices.length ? [...new Set(choices)] : [true, false]) input.add(new Option(text(value), text(value))) + } + let edited = false, disposed = false + const original = initial.kind === 'value' ? initial.value : undefined + const shown = original === null || original === undefined ? '' : text(original) + if (input instanceof HTMLSelectElement && shown && ![...input.options].some(option => option.value === shown)) { + input.add(new Option(`${shown} (supplied value)`, shown)) + } + input.value = shown + mode.value = initial.kind === 'omit' ? required ? 'value' : 'omit' : original === null && allowsNull(metadata) ? 'null' : 'value' + const error = element('span'); error.className = 'status error'; error.id = `${id}-error` + input.setAttribute('aria-describedby', error.id) + function read(): FieldEdit { + if (mode.value === 'omit' && !required) return { kind: 'omit' } + if (mode.value === 'null' && allowsNull(metadata)) return { kind: 'value', value: null } + const incomplete = (message: string): FieldEdit => ({ kind: 'incomplete', text: input.value, message }) + if (mode.value !== 'value') return incomplete('Select a permitted value source.') + if (input.value.length < minimumLength || input instanceof HTMLSelectElement && !input.value) return incomplete('Enter or choose a value.') + if (!input.value && (required || numeric || boolean || choices.length || !edited && initial.kind !== 'value')) return incomplete('Enter or choose a value.') + if (!edited && initial.kind === 'value' && original !== null) return initial + if (!edited && original === null) return incomplete('Enter a value or choose a permitted source.') + if (!input.value && (required || numeric || boolean || choices.length || !edited)) return incomplete('Enter or choose a value.') + if (boolean) return { kind: 'value', value: input.value === 'true' } + if (numeric) { + // This branch never receives a unit expression or a blank input. + if (!/^-?(?:0|[1-9][0-9]*)$/.test(input.value)) return incomplete('Enter a complete whole number.') + const value = Number(input.value) + if (!Number.isSafeInteger(value)) return incomplete('This number cannot be represented exactly by the input type.') + return { kind: 'value', value } + } + return { kind: 'value', value: input.value } + } + function show() { + input.disabled = mode.value !== 'value' + const edit = read() + error.textContent = edit.kind === 'incomplete' ? edit.message : '' + input.setAttribute('aria-invalid', String(edit.kind === 'incomplete')) + } + function change() { if (!disposed) { edited = true; show(); onChange(read()) } } + function source() { if (!disposed) { show(); onChange(read()) } } + const event = input instanceof HTMLInputElement ? 'input' : 'change' + input.addEventListener(event, change); mode.addEventListener('change', source) + group.append(label, mode, input, error); root.replaceChildren(group); show() + return { read, dispose() { disposed = true; input.removeEventListener(event, change); mode.removeEventListener('change', source); group.remove() } } +} + +/** A draft editor for existing items. Apply emits a copied draft for preview; + * Discard restores the caller's input, including omitted and empty containers. */ +export function mountDeviceEditor(root: HTMLElement, options: DeviceEditorOptions): DeviceEditor { + let baseline = structuredClone(options.input), draft = structuredClone(options.input) + let lastApplied: EditorInput | undefined + let selection: Selection = selections(draft, draft.schema_version === 'solarlab.device-preparation.v1' ? 'device' : 'top_cell')[0] + let disposed = false, parameter = '', defectSection = 'defect', extendedKey = '', connectionsOpen = false + let newKind: NewRecordKind = 'layer', newId = '', newTemplate = '', creationOpen = false + const pending = new Map; path: Path }>() + const controls: { dispose(): void }[] = [] + const listeners: (() => void)[] = [] + const renderListeners: (() => void)[] = [] + let rendering = false + const card = element('section'); card.className = 'card'; card.dataset.editor = 'device' + const status = element('p'); status.className = 'status'; status.setAttribute('role', 'status'); status.dataset.role = 'draft-status' + const message = element('p'); message.className = 'status error'; message.setAttribute('role', 'alert'); message.dataset.role = 'edit-error' + const cell = element('select'); cell.dataset.role = 'cell'; cell.setAttribute('aria-label', 'Device or tandem cell') + const entity = element('select'); entity.dataset.role = 'entity'; entity.setAttribute('aria-label', 'Configuration section or record') + const fields = element('div'), topology = element('div'), retained = element('div'), creation = element('div') + const applyButton = button('Apply draft to preview', 'apply', apply) + const discardButton = button('Discard draft', 'discard', discard) + const actions = element('div'); actions.className = 'actions'; actions.style.flexWrap = 'wrap'; actions.append(applyButton, discardButton) + card.append(element('h3', 'Device configuration draft'), + element('p', 'Edit a draft of the supplied input. The preview shows the last applied values and their origins. Applying checks preparation; it does not run a simulation.'), + cell, entity, status, message, actions, creation, fields, topology, retained) + root.replaceChildren(card) + + function listen(node: HTMLElement, event: string, callback: () => void) { + const guarded = () => { if (!disposed) callback() } + node.addEventListener(event, guarded) + ;(rendering ? renderListeners : listeners).push(() => node.removeEventListener(event, guarded)) + } + function button(label: string, action: string, callback: () => void) { + const node = element('button', label); node.type = 'button'; node.className = 'btn btn-ghost'; node.dataset.action = action + listen(node, 'click', () => { try { callback() } catch (error) { showError(error) } }) + return node + } + function showError(error: unknown) { + message.className = 'status error'; message.setAttribute('role', 'alert') + message.textContent = error instanceof DeviceEditError + ? `${error.message} ${error.paths.map(path => JSON.stringify(path)).join('; ')}` : String(error) + } + function read(): DeviceDraft { + return { input: structuredClone(draft), selection: structuredClone(selection), + dirty: !exactInputEqual(baseline, draft), incomplete: [...pending.values()].map(item => [...item.path]) } + } + function apply() { + if (disposed || pending.size) return false + options.onApply(structuredClone(draft)) + lastApplied = structuredClone(draft) + status.textContent = 'Draft sent to preview. Read the preparation result or field errors below; execution remains disabled.' + return true + } + function discard() { + if (disposed) return + draft = structuredClone(baseline); pending.clear(); message.textContent = ''; connectionsOpen = false + render() + } + function updateStatus() { + card.dataset.state = pending.size ? 'incomplete' : exactInputEqual(baseline, draft) ? 'unchanged' : 'draft' + card.dataset.previewRelation = lastApplied && exactInputEqual(lastApplied, draft) ? 'matches-last-submission' : 'not-submitted' + status.textContent = pending.size ? `Finish incomplete edits before applying: ${[...pending.values()].map(item => JSON.stringify(item.path)).join('; ')}` + : card.dataset.previewRelation === 'matches-last-submission' ? 'Draft matches the last input sent to preview. Read its preparation result or field errors below; execution remains disabled.' + : card.dataset.state === 'draft' ? 'Draft changed. Apply to inspect the resolved values and field errors, or discard to restore the supplied input.' + : 'Supplied input unchanged. Apply to inspect its preparation.' + applyButton.disabled = pending.size > 0 + for (const button of fields.querySelectorAll('[data-structural]')) button.disabled = pending.size > 0 || button.dataset.edge === 'true' + } + function renderNavigation() { + const cells: Cell[] = draft.schema_version === 'solarlab.device-preparation.v1' ? ['device'] : ['top_cell', 'bottom_cell'] + if (!cells.includes(selection.cell)) selection = selections(draft, cells[0])[0] + const available = selections(draft, selection.cell) + if (!available.some(item => exactInputEqual(item, selection))) selection = available[0] + cell.replaceChildren(...cells.map(key => new Option(key === 'device' ? 'Device' : key === 'top_cell' ? 'Top cell' : 'Bottom cell', key))) + cell.value = selection.cell; cell.hidden = cells.length === 1 + entity.replaceChildren(...available.map(item => { + if (item.kind === 'settings') return new Option('Device settings', JSON.stringify(item)) + if (isExtendedSelection(item)) { + const label = item.kind === 'layer_optics' ? `CIGS optics — layer ${item.id}${item.occurrence ? ` (duplicate ${item.occurrence + 1})` : ''}` + : item.kind === 'material_optics' ? `CIGS optics — material ${item.id}${item.occurrence ? ` (duplicate ${item.occurrence + 1})` : ''}` + : item.kind === 'tunnelling' ? 'Tunnelling channels' : item.kind === 'microstructure' ? 'Microstructure and electrical grid' + : item.kind === 'resources' ? 'Optical and generation resources' : 'Tandem optical stack and reflector' + return new Option(label, JSON.stringify(item)) + } + if (item.kind === 'metastable_document' || item.kind === 'metastable_preparation') return new Option(`${item.kind === 'metastable_document' ? 'Metastable inventory' : 'Metastable preparation'} — layer ${item.id}${item.occurrence ? ` (duplicate ${item.occurrence + 1})` : ''}`, JSON.stringify(item)) + const found = selectedEntity(draft, item), value = found.value! + if (item.kind === 'interface_defect') return new Option(`Interface defect ${item.id} — interface ${item.parent.id}${item.parent.occurrence ? ` (duplicate ${item.parent.occurrence + 1})` : ''}`, JSON.stringify(item)) + if (item.kind === 'bulk_defect' || item.kind === 'metastable_defect') return new Option(`${item.kind === 'bulk_defect' ? 'Bulk' : 'Metastable'} defect ${item.id}${item.occurrence ? ` (duplicate ${item.occurrence + 1})` : ''}${Reflect.get(value, 'name') == null ? '' : `: ${text(Reflect.get(value, 'name'))}`} — layer ${item.parent.id}${item.parent.occurrence ? ` (duplicate ${item.parent.occurrence + 1})` : ''}`, JSON.stringify(item)) + const title = item.kind === 'layer' ? 'Layer' : item.kind === 'material' ? 'Material' : item.kind === 'interface' ? 'Interface' : 'Contact' + const name = Reflect.get(value, 'name') + const label = `${title} ${item.id}${name === undefined ? '' : `: ${text(name)}`}${item.occurrence ? ` (duplicate ${item.occurrence + 1})` : ''}` + return new Option(label, JSON.stringify(item)) + })) + entity.value = JSON.stringify(selection) + } + function fieldControl(name: string, parameterField = false, section?: DefectSection | ExtendedSection) { + const schema = section?.schema ?? fieldSchema(selection, parameterField), metadata = schema.properties![name] + const selected = selectedEntity(draft, selection) + const owner = section ? nestedValue(selected.value, section.path) + : parameterField && selected.value ? Reflect.get(selected.value, 'parameters') : selected.value + const path = [...selected.path, ...(section?.path ?? (parameterField ? ['parameters'] : [])), name] + const target = structuredClone(selection), key = JSON.stringify(path) + const saved = pending.get(key) + const initial = saved ? { kind: 'value' as const, value: saved.edit.text } : supplied(owner, name) + const container = element('div'); container.dataset.field = name; container.dataset.area = section?.key ?? (parameterField ? 'parameters' : 'basic') + const control = mountScalar(container, name, metadata, schema.required?.includes(name) ?? false, initial, edit => { + if (disposed) return + message.textContent = '' + if (edit.kind === 'incomplete') pending.set(key, { edit, path }) + else { + try { + draft = section && isExtendedSelection(target) ? writeExtendedField(draft, target, section.key, name, edit) + : section && isStructuredSelection(target) ? writeDefectField(draft, target, section.key, name, edit) + : writeField(draft, target, name, edit, parameterField) + pending.delete(key) + } + catch (error) { showError(error); return } + } + renderNavigation(); updateStatus(); refreshReferenceNotices(); refreshParameterPresence(); refreshExtendedLabels() + }) + controls.push(control) + // Preserve pre-existing invalid values without normalizing them on mount. + if (saved) pending.set(key, { edit: saved.edit, path }) + const initialEdit = control.read() + if (initialEdit.kind === 'incomplete') pending.set(key, { edit: initialEdit, path }) + if (name === 'material' && selection.kind === 'layer') { + const input = container.querySelector('input') + if (input) { + const list = element('datalist'); list.id = `material-choices-${++nextId}` + for (const material of cellInput(draft, selection.cell).materials ?? []) list.append(new Option(material.name, material.id)) + input.setAttribute('list', list.id); container.append(list) + } + } + if ((selection.kind === 'contact' && name === 'layer') || (selection.kind === 'interface' && (name === 'left' || name === 'right'))) { + const input = container.querySelector('input'), list = element('datalist'); list.id = `layer-choices-${++nextId}` + for (const layer of cellInput(draft, selection.cell).layers) list.append(new Option(layer.name, layer.id)) + if (input) { input.setAttribute('list', list.id); container.append(list) } + } + return container + } + function retain(label: string, owner: object, omittedKeys: string[]) { + const detail = element('details'); detail.className = 'device-settings'; detail.append(element('summary', label)) + const list = element('ul') + for (const [key, value] of Object.entries(owner)) if (!omittedKeys.includes(key)) { + const state = value === null ? 'explicit null' : Array.isArray(value) ? `${value.length} supplied records` + : typeof value === 'object' ? 'supplied object' : text(value) + list.append(element('li', `${key}: ${state}; retained`)) + } + detail.append(list.childElementCount ? list : element('p', 'No additional fields supplied. Omitted fields remain omitted.')) + return detail + } + function refreshParameterPresence() { + if (selection.kind !== 'settings' && selection.kind !== 'layer' && selection.kind !== 'material') return + const picker = fields.querySelector('[data-role=parameter]') + if (!picker) return + const selected = selectedEntity(draft, selection), parameterField = selection.kind !== 'settings' + const owner = parameterField && selected.value ? Reflect.get(selected.value, 'parameters') : selected.value + const schema = fieldSchema(selection, parameterField) + for (const option of picker.options) option.textContent = `${schema.properties![option.value].title ?? option.value} (${option.value})${owner && Object.hasOwn(owner, option.value) ? ' — supplied' : ' — omitted'}` + } + function refreshReferenceNotices() { + const notices = topology.querySelector('[data-role=reference-notices]') + if (!notices) return + const device = cellInput(draft, selection.cell) + const items: HTMLElement[] = [] + const ids = device.layers.map(layer => layer.id) + for (const collection of ['interfaces', 'contacts'] as const) { + const records = device[collection] ?? [] + for (const [index, record] of records.entries()) if (records.filter(item => item.id === record.id).length > 1) items.push(element('li', `${collection}[${index}].id: duplicate ${record.id}`)) + } + for (const [index, layer] of device.layers.entries()) { + if (ids.filter(id => id === layer.id).length > 1) items.push(element('li', `layers[${index}].id: duplicate ${layer.id}`)) + if (layer.material != null && !(device.materials ?? []).some(material => material.id === layer.material)) items.push(element('li', `layers[${index}].material: ${layer.material} is not a supplied material`)) + const defects = layer.bulk_defects ?? [] + for (const [offset, defect] of defects.entries()) if (defects.filter(item => item.id === defect.id).length > 1) items.push(element('li', `layers[${index}].bulk_defects[${offset}].id: duplicate ${defect.id}`)) + const metastable = layer.metastable_document?.metastable_defects ?? [] + for (const [offset, defect] of metastable.entries()) if (metastable.filter(item => item.id === defect.id).length > 1) items.push(element('li', `layers[${index}].metastable_document.metastable_defects[${offset}].id: duplicate ${defect.id}`)) + for (const [offset, metadata] of (layer.scaps_defect_metadata ?? []).entries()) if (!defects.some(defect => defect.id === metadata.defect_id)) items.push(element('li', `layers[${index}].scaps_defect_metadata[${offset}].defect_id: ${metadata.defect_id} is not a supplied defect`)) + } + for (const ref of layerReferences(device)) if (!ids.includes(ref.value)) items.push(element('li', `${JSON.stringify(ref.path)}: ${ref.value} is not a supplied layer`)) + for (const notice of extendedReferenceNotices(draft, selection)) items.push(element('li', `${JSON.stringify(notice.path)}: ${notice.message}`)) + for (const [index, item] of (device.interfaces ?? []).entries()) { + if (ids.indexOf(item.left) < 0 || ids[ids.indexOf(item.left) + 1] !== item.right) items.push(element('li', `interfaces[${index}]: ${item.left} → ${item.right} is not a directed adjacent pair in this order`)) + } + notices.replaceChildren(...items) + } + function renderConnections() { + const device = cellInput(draft, selection.cell), detail = element('details'); detail.open = connectionsOpen + detail.dataset.section = 'connections'; detail.className = 'device-settings' + detail.append(element('summary', 'Layer order and supplied connections')) + const order = element('p', device.layers.map(layer => layer.id).join(' → ')); order.style.overflowWrap = 'anywhere'; order.dataset.role = 'layer-order' + detail.append(order, element('p', 'Moving a layer retains every supplied interface and contact. Correct endpoints explicitly and apply to see authoritative topology errors.')) + const notices = element('ul'); notices.dataset.role = 'reference-notices' + const ids = device.layers.map(layer => layer.id) + for (const collection of ['interfaces', 'contacts'] as const) { + const items = device[collection] + if (!items?.length) { detail.append(element('p', `${collection}: ${items ? 'empty supplied list' : 'omitted'}; retained`)); continue } + items.forEach((item, index) => { + const group = element('div'); group.className = 'form-group'; group.dataset.connection = `${collection}:${index}` + group.append(element('strong', `${collection === 'interfaces' ? 'Interface' : 'Contact'} ${item.id}`)) + if ((selection.kind === 'interface' && collection === 'interfaces' || selection.kind === 'contact' && collection === 'contacts') + && selectedEntity(draft, selection).index === index) { + group.append(element('p', 'This connection is selected for editing above.')) + detail.append(group); return + } + if (collection === 'contacts') group.append(element('span', ` (${Reflect.get(item, 'side')})`)) + for (const field of collection === 'interfaces' ? ['left', 'right'] as const : ['layer'] as const) { + const label = element('label', field === 'left' ? 'Left layer' : field === 'right' ? 'Right layer' : 'Contact layer') + const input = element('input'); input.type = 'text'; input.value = Reflect.get(item, field); input.dataset.endpoint = field + input.setAttribute('aria-label', `${item.id}: ${label.textContent}`) + const list = element('datalist'); list.id = `connection-choices-${++nextId}` + for (const id of ids) list.append(new Option(id, id)) + input.setAttribute('list', list.id); label.append(input) + const selectedCell = selection.cell + listen(input, 'input', () => { draft = writeConnection(draft, selectedCell, collection, index, field, input.value); updateStatus(); refreshReferenceNotices() }) + group.append(label, list) + } + group.append(element('p', 'Other supplied connection values are retained.')) + detail.append(group) + }) + } + detail.append(notices); topology.replaceChildren(detail); refreshReferenceNotices() + } + function render() { + for (const remove of renderListeners.splice(0)) remove() + for (const control of controls.splice(0)) control.dispose() + rendering = true + renderNavigation(); fields.replaceChildren(); retained.replaceChildren(); renderCreation() + const selected = selectedEntity(draft, selection), device = cellInput(draft, selection.cell) + if (isExtendedSelection(selection)) { + renderExtended() + } else if (isStructuredSelection(selection)) { + renderDefect() + } else if (selection.kind === 'contact' || selection.kind === 'interface') { + const schema = fieldSchema(selection, false) + for (const key of Object.keys(schema.properties ?? {})) if (key !== 'id' && scalarField(schema.properties![key])) fields.append(fieldControl(key)) + identityControl('connection') + if (selection.kind === 'interface') { + const item = device.interfaces![selected.index] + const presence = item.defect === null ? 'explicit null' : Object.hasOwn(item, 'defect') ? 'supplied' : 'omitted' + fields.append(element('p', `Interface defect: ${presence}. Clearing or removing it is an explicit draft edit.`)) + if (item.defect) fields.append(button('Edit supplied interface defect', 'select-interface-defect', () => { + if (selection.kind !== 'interface') return + selection = { cell: selection.cell, kind: 'interface_defect', parent: { id: selection.id, occurrence: selection.occurrence }, id: item.defect!.id } + defectSection = 'defect'; render() + })) + for (const mode of ['null', 'omit'] as const) fields.append(button(mode === 'null' ? 'Clear interface defect (null)' : 'Remove interface defect override', `defect-${mode}`, () => { + const path = [...selectedEntity(draft, selection).path, 'defect'] + draft = clearInterfaceDefect(draft, selection, mode) + clearPending(path); render() + })) + } + } else if (selection.kind !== 'settings') { + fields.append(fieldControl('name')) + if (selection.kind === 'layer') { + fields.append(fieldControl('role'), fieldControl('thickness'), fieldControl('material'), fieldControl('parameterization')) + const identity = element('details'); identity.className = 'device-settings'; identity.append(element('summary', 'Change layer ID or order')) + const id = element('input'); id.type = 'text'; id.value = selection.id; id.dataset.role = 'layer-id'; id.setAttribute('aria-label', 'New layer ID') + const rename = button('Change ID and update references', 'rename-layer', () => { + if (pending.size) return + const result = renameLayer(draft, selection, id.value); draft = result.input; selection = result.selection + connectionsOpen = true; render() + message.className = 'status'; message.setAttribute('role', 'status') + message.textContent = `Changed references: ${result.updatedPaths.map(path => JSON.stringify(path)).join('; ') || 'none'}` + }); rename.dataset.structural = 'true' + identity.append(id, rename) + for (const direction of [-1, 1] as const) { + const move = button(direction < 0 ? 'Move layer earlier' : 'Move layer later', direction < 0 ? 'move-earlier' : 'move-later', () => { + if (pending.size) return + const result = moveLayer(draft, selection, direction); draft = result.input; selection = result.selection + connectionsOpen = true; render() + }) + move.dataset.structural = 'true'; move.dataset.edge = String(selected.index + direction < 0 || selected.index + direction >= device.layers.length) + identity.append(move) + } + fields.append(identity) + const inventory = element('details'); inventory.className = 'device-settings'; inventory.dataset.section = 'inventory' + inventory.append(element('summary', 'Defect inventory declarations'), + element('p', 'Model and schema version remain explicit. Editing a distribution or profile never chooses a new model or version for you.'), + fieldControl('defect_model'), fieldControl('defect_schema_version')) + const selectedLayer = structuredClone(selection) + for (const item of selections(draft, selection.cell)) if (item.kind === 'bulk_defect' + && item.parent.id === selection.id && item.parent.occurrence === selection.occurrence) { + inventory.append(button(`Edit bulk defect ${item.id}${item.occurrence ? ` (duplicate ${item.occurrence + 1})` : ''}`, 'select-bulk-defect', () => { selection = item; defectSection = 'defect'; render() })) + } + if (!(device.layers[selected.index].bulk_defects?.length)) inventory.append(element('p', `No bulk defects are supplied for ${selectedLayer.id}.`)) + fields.append(inventory) + fields.append(layerDocuments()) + } else { + fields.append(element('p', `Material ID: ${selection.id}. Editing its name keeps this reference unchanged.`)) + identityControl('material') + } + } + if (selection.kind === 'layer' || selection.kind === 'material' || selection.kind === 'settings') { + const parameterField = selection.kind !== 'settings', schema = fieldSchema(selection, parameterField) + const keys = Object.keys(schema.properties ?? {}).filter(key => scalarField(schema.properties![key])) + const suppliedOwner = parameterField && selected.value ? Reflect.get(selected.value, 'parameters') : selected.value + const ordered = [...new Set([...Object.keys(suppliedOwner ?? {}).filter(key => keys.includes(key)), ...keys])] + if (!ordered.includes(parameter)) parameter = ordered[0] + const label = element('label', parameterField ? 'Parameter override' : 'Device setting'), picker = element('select') + picker.dataset.role = 'parameter'; picker.setAttribute('aria-label', label.textContent!) + for (const key of ordered) picker.add(new Option(`${schema.properties![key].title ?? key} (${key})${suppliedOwner && Object.hasOwn(suppliedOwner, key) ? ' — supplied' : ' — omitted'}`, key)) + picker.value = parameter + const parameterRoot = element('div'); parameterRoot.append(fieldControl(parameter, parameterField)) + listen(picker, 'change', () => { parameter = picker.value; render() }) + fields.append(label, picker, parameterRoot) + } + if (selected.value) retained.append(retain('Other supplied fields retained', selected.value, + selection.kind === 'layer' ? ['id', 'name', 'role', 'thickness', 'material'] : selection.kind === 'material' ? ['id', 'name'] : [])) + retained.append(retain('Device data retained', device, ['layers', 'materials', 'settings'])) + if (draft.schema_version === 'solarlab.tandem-preparation.v1') retained.append(retain('Tandem data retained', draft, ['top_cell', 'bottom_cell'])) + renderConnections(); updateStatus(); rendering = false + } + + function clearPending(path: Path) { + for (const [key, item] of pending) if (path.every((part, index) => item.path[index] === part)) pending.delete(key) + } + function movePending(path: Path, action: RowMutation, copiedFrom?: Path, copyTo?: Path) { + const before = [...pending.values()] + pending.clear() + for (const item of before) { + let nextPath = [...item.path] + if (path.every((part, index) => item.path[index] === part) && typeof item.path[path.length] === 'number') { + const index = movedRow(item.path[path.length] as number, action) + if (index === undefined) continue + nextPath[path.length] = index + } + pending.set(JSON.stringify(nextPath), { edit: item.edit, path: nextPath }) + } + if (copiedFrom && copyTo) for (const item of before) if (copiedFrom.every((part, index) => item.path[index] === part)) { + const nextPath = [...copyTo, ...item.path.slice(copiedFrom.length)] + pending.set(JSON.stringify(nextPath), { edit: { ...item.edit }, path: nextPath }) + } + } + function changeRows(section: DefectSection, action: RowMutation, value?: unknown, copiedIndex?: number) { + if (!isStructuredSelection(selection)) return + const { path } = defectArray(draft, selection, section.key) + const current = defectSections(draft, selection).find(item => item.key === defectSection)?.row + draft = changeDefectRows(draft, selection, section.key, action, value) + movePending(path, action, copiedIndex === undefined ? undefined : [...path, copiedIndex], + action.kind === 'insert' ? [...path, action.index] : undefined) + if (current?.arrayKey === section.key) { + const index = movedRow(current.index, action) + defectSection = defectSections(draft, selection).find(item => item.row?.arrayKey === section.key && item.row.index === index)?.key ?? section.key + } + if (action.kind === 'insert' && copiedIndex === undefined && section.array!.kind === 'kinetics') { + defectSection = defectSections(draft, selection).find(item => item.row?.arrayKey === section.key && item.row.index === action.index)!.key + } + render() + } + function rowActions(section: DefectSection, index: number) { + const actions = element('div'); actions.className = 'actions'; actions.style.flexWrap = 'wrap' + if (!isStructuredSelection(selection)) return actions + const { rows } = defectArray(draft, selection, section.key) + actions.dataset.arrayKey = section.key; actions.dataset.row = String(index) + const empty = () => section.array!.kind === 'kinetics' ? {} : '' + actions.append(button('Insert empty row before', 'row-insert', () => changeRows(section, { kind: 'insert', index }, empty())), + button('Copy this row', 'row-copy', () => { + if (isStructuredSelection(selection)) changeRows(section, { kind: 'insert', index: index + 1 }, defectArray(draft, selection, section.key).rows[index], index) + }), + button('Remove this row', 'row-remove', () => changeRows(section, { kind: 'remove', index }))) + for (const direction of [-1, 1] as const) { + const move = button(direction < 0 ? 'Move row earlier' : 'Move row later', direction < 0 ? 'row-earlier' : 'row-later', + () => changeRows(section, { kind: 'move', from: index, to: index + direction })) + move.disabled = index + direction < 0 || index + direction >= rows.length + actions.append(move) + } + return actions + } + function renderArray(section: DefectSection) { + if (!isStructuredSelection(selection)) return + const target = structuredClone(selection) + let array: ReturnType + try { array = defectArray(draft, target, section.key) } + catch (error) { fields.append(element('p', String(error))); return } + const list = element('div'); list.dataset.role = 'defect-array'; list.dataset.arrayKey = section.key + for (const [index, value] of array.rows.entries()) { + const row = element('div'); row.className = 'form-group'; row.dataset.row = String(index) + if (section.array!.kind === 'value') { + const path = [...array.path, index], key = JSON.stringify(path), saved = pending.get(key) + const root = element('div'); root.dataset.role = 'array-value' + const metadata = { ...section.array!.item, title: `${section.label}: row ${index + 1}` } + const control = mountScalar(root, section.key, metadata, true, + { kind: 'value', value: saved ? saved.edit.text : value as Extract['value'] }, edit => { + if (disposed) return + if (edit.kind === 'incomplete') pending.set(key, { edit, path }) + else { + try { draft = writeDefectRow(draft, target, section.key, index, edit); pending.delete(key) } + catch (error) { showError(error); return } + } + updateStatus() + }) + controls.push(control) + const initial = control.read() + if (initial.kind === 'incomplete') pending.set(key, { edit: initial, path }) + row.append(root) + } else { + row.append(element('strong', `Transition ${index + 1}`), button('Edit transition kinetics', 'edit-transition', () => { + if (!isStructuredSelection(selection)) return + defectSection = defectSections(draft, selection).find(item => item.row?.arrayKey === section.key && item.row.index === index)!.key + render() + })) + if (value !== null && typeof value === 'object') row.append(retain('Supplied transition fields', value, [])) + else row.append(element('p', `Unsupported row retained: ${text(value)}`)) + } + row.append(rowActions(section, index)); list.append(row) + } + if (!array.rows.length) list.append(element('p', 'Explicit empty array. Related arrays remain unchanged.')) + list.append(button('Add empty row', 'row-append', () => changeRows(section, { kind: 'insert', index: array.rows.length }, section.array!.kind === 'kinetics' ? {} : ''))) + fields.append(list) + } + function removeSelectedRecord() { + const result = removeRecord(draft, selection) + if (result.mutation) movePending(result.path, result.mutation) + else clearPending(result.path) + draft = result.input; selection = result.selection; connectionsOpen = true; render() + } + function renderCreation() { + const detail = element('details'); detail.className = 'device-settings'; detail.open = creationOpen + detail.dataset.section = 'record-creation'; detail.append(element('summary', 'Create or remove records'), + element('p', 'Create an empty declaration or explicitly copy a record in this cell. New IDs and topology are checked when you apply; references are never removed automatically.')) + listen(detail, 'toggle', () => { creationOpen = detail.open }) + const kinds: [NewRecordKind, string][] = [['layer', 'Layer'], ['material', 'Named material'], ['contact', 'Contact'], ['interface', 'Interface'], + ['bulk_defect', 'Ordinary bulk defect'], ['multivalent_defect', 'Multivalent bulk defect'], ['metastable_defect', 'Metastable defect'], ['interface_defect', 'Interface defect']] + const kind = element('select'); kind.dataset.role = 'new-record-kind'; kind.setAttribute('aria-label', 'New record type') + for (const [value, label] of kinds) kind.add(new Option(label, value)) + kind.value = newKind + listen(kind, 'change', () => { newKind = kind.value as NewRecordKind; newTemplate = ''; render() }) + const template = element('select'); template.dataset.role = 'record-template'; template.setAttribute('aria-label', 'Start from an empty declaration or a supplied record') + template.add(new Option('Empty declaration — enter required fields', '')) + for (const item of selections(draft, selection.cell)) if (recordKind(draft, item) === newKind) { + const value = JSON.stringify(item), label = [...entity.options].find(option => option.value === value)?.textContent + template.add(new Option(`Copy ${label ?? ('id' in item ? item.id : '')}`, value)) + } + if (![...template.options].some(item => item.value === newTemplate)) newTemplate = '' + template.value = newTemplate; listen(template, 'change', () => { newTemplate = template.value }) + const id = element('input'); id.type = 'text'; id.value = newId; id.dataset.role = 'new-record-id'; id.setAttribute('aria-label', 'ID for the new record') + listen(id, 'input', () => { newId = id.value }) + detail.append(element('label', 'New record type'), kind, element('label', 'Start from'), template, element('label', 'New record ID'), id, + button('Create record', 'create-record', () => { + const result = createRecord(draft, selection, newKind, newId, newTemplate ? JSON.parse(newTemplate) as Selection : undefined) + if (result.mutation?.kind === 'insert') movePending(result.path, result.mutation, result.copiedFrom, [...result.path, result.mutation.index]) + draft = result.input; selection = result.selection; newId = ''; connectionsOpen = true; defectSection = 'defect'; render() + })) + if (canRemoveRecord(selection)) detail.append(button('Remove selected record', 'remove-record', removeSelectedRecord)) + detail.append(element('p', 'Bulk and metastable defects are created on the selected layer. Start a metastable inventory first if it is absent. An interface can hold one defect; select its target interface explicitly.')) + creation.replaceChildren(detail) + } + function layerDocuments() { + const detail = element('details'); detail.className = 'device-settings'; detail.dataset.section = 'metastable-documents' + detail.append(element('summary', 'Metastable inventory and preparation')) + const parent = layerParent(selection) + if (!parent) return detail + const layer = selectedEntity(draft, { cell: selection.cell, kind: 'layer', ...parent }) + for (const key of ['metastable_document', 'metastable_preparation'] as const) { + const title = key === 'metastable_document' ? 'Metastable inventory' : 'Metastable preparation', value = Reflect.get(layer.value!, key) + const group = element('div'); group.className = 'form-group'; group.dataset.document = key + group.append(element('p', `${title}: ${value === null ? 'explicit null' : value === undefined ? 'omitted' : 'supplied'}.`)) + if (value && typeof value === 'object') group.append(button(`Edit ${title.toLowerCase()}`, `edit-${key}`, () => { selection = { cell: selection.cell, kind: key, ...parent }; render() })) + else group.append(button(`Start empty ${title.toLowerCase()}`, `start-${key}`, () => { + draft = setLayerDocument(draft, selection.cell, parent, key, 'empty'); selection = { cell: selection.cell, kind: key, ...parent }; render() + })) + for (const mode of ['null', 'omit'] as const) group.append(button(mode === 'null' ? `Clear ${title.toLowerCase()} (null)` : `Remove ${title.toLowerCase()} override`, `${mode}-${key}`, () => { + draft = setLayerDocument(draft, selection.cell, parent, key, mode); clearPending([...layer.path, key]) + selection = { cell: selection.cell, kind: 'layer', ...parent }; render() + })) + detail.append(group) + } + detail.append(element('p', 'Document tags, donor/acceptor configurations and preparation controls are explicit declarations. This editor never prepares a metastable state.')) + return detail + } + function identityControl(kind: 'connection' | 'defect' | 'material') { + if (isExtendedSelection(selection) || selection.kind === 'settings' || selection.kind === 'layer' || selection.kind === 'metastable_document' || selection.kind === 'metastable_preparation') return + const detail = element('details'); detail.className = 'device-settings'; detail.append(element('summary', `Change ${kind} ID`)) + const input = element('input'); input.type = 'text'; input.value = selection.id; input.dataset.role = 'item-id'; input.setAttribute('aria-label', `New ${kind} ID`) + const change = button('Change ID', 'rename-item', () => { + if (pending.size) return + const result = isDefectSelection(selection) ? renameDefect(draft, selection, input.value) + : selection.kind === 'material' ? renameMaterial(draft, selection, input.value) : renameConnection(draft, selection, input.value) + draft = result.input; selection = result.selection; render() + message.className = 'status'; message.setAttribute('role', 'status'); message.textContent = 'ID changed in this draft. Apply to check references and duplicate IDs.' + }) + change.dataset.structural = 'true'; detail.append(input, change); fields.append(detail) + } + function renderDefect() { + if (!isStructuredSelection(selection)) return + const sections = defectSections(draft, selection), found = selectedEntity(draft, selection) + // Empty declarations keep all required scalar fields incomplete, including + // those in another section. Nothing is materialized from schema defaults. + for (const section of sections) { + if (section.array) continue + const owner = nestedValue(found.value, section.path) + if (!owner) continue + for (const name of section.schema.required ?? []) { + const metadata = section.schema.properties?.[name] + if (name === 'id' || !metadata || !scalarField(metadata) || Object.hasOwn(owner, name)) continue + const path = [...found.path, ...section.path, name], key = JSON.stringify(path) + if (!pending.has(key)) pending.set(key, { path, edit: { kind: 'incomplete', text: '', message: 'Complete this required declaration.' } }) + } + } + if (!sections.some(section => section.key === defectSection)) defectSection = sections[0].key + const picker = element('select'); picker.dataset.role = 'defect-section'; picker.setAttribute('aria-label', 'Defect section') + for (const section of sections) picker.add(new Option(section.label, section.key)) + picker.value = defectSection + listen(picker, 'change', () => { defectSection = picker.value; render() }) + const title = selection.kind === 'metastable_document' ? `Metastable inventory for ${selection.id}` + : selection.kind === 'metastable_preparation' ? `Metastable preparation for ${selection.id}` + : `${selection.kind === 'bulk_defect' ? 'Bulk' : selection.kind === 'metastable_defect' ? 'Metastable' : 'Interface'} defect ${selection.id}` + fields.append(element('h4', title), picker) + const section = sections.find(item => item.key === defectSection)! + fields.append(element('p', section.note)) + if (section.array) renderArray(section) + else if (nestedValue(found.value, section.path)) { + for (const name of Object.keys(section.schema.properties ?? {})) if (name !== 'id' && scalarField(section.schema.properties![name])) fields.append(fieldControl(name, false, section)) + } else fields.append(element('p', 'This section is not supplied. Its current value is retained for authoritative validation.')) + if (section.row) { + const array = sections.find(item => item.key === section.row!.arrayKey)! + fields.append(rowActions(array, section.row.index)) + } + if (section.optional) { + const value = found.value && Reflect.get(found.value, section.optional) + fields.append(element('p', `Section state: ${value === null ? 'explicit null' : found.value && Object.hasOwn(found.value, section.optional) ? 'supplied' : 'omitted'}.`)) + if (!nestedValue(found.value, section.path)) fields.append(button('Start empty section', 'section-empty', () => { + if (!isDefectSelection(selection)) return + draft = setDefectSection(draft, selection, section.key, 'empty'); render() + })) + for (const mode of ['null', 'omit'] as const) fields.append(button(mode === 'null' ? 'Clear section (null)' : 'Remove section override', `section-${mode}`, () => { + if (!isDefectSelection(selection)) return + const path = [...selectedEntity(draft, selection).path, ...section.path] + draft = setDefectSection(draft, selection, section.key, mode); clearPending(path); render() + })) + } + const profile = nestedValue(found.value, ['spatial_profile']), knots = profile && Reflect.get(profile, 'knots') + if (selection.kind === 'bulk_defect' && Array.isArray(knots) && (section.key === 'spatial_profile' || section.key.startsWith('knot:'))) { + const add = button('Add empty knot', 'add-knot', () => { + if (!isDefectSelection(selection) || pending.size) return + draft = changeProfileRows(draft, selection, { kind: 'append', knot: { position_fraction: '', density_multiplier: '' } }) + defectSection = `knot:${knots.length}`; render() + }); add.dataset.structural = 'true'; fields.append(add) + if (section.key.startsWith('knot:')) { + const remove = button('Remove selected knot', 'remove-knot', () => { + if (!isDefectSelection(selection) || pending.size) return + draft = changeProfileRows(draft, selection, { kind: 'remove', index: section.path.at(-1) as number }) + clearPending([...found.path, 'spatial_profile', 'knots']); defectSection = 'spatial_profile'; render() + }); remove.dataset.structural = 'true'; fields.append(remove) + } + fields.append(element('p', `${knots.length} supplied knots. Adding a row leaves its two values blank; no interpolation or normalization is performed.`)) + } + if (isDefectSelection(selection)) identityControl('defect') + else fields.append(layerDocuments()) + if (selection.kind === 'bulk_defect') { + const remove = button('Remove selected bulk defect', 'remove-bulk-defect', () => { + removeSelectedRecord() + }); fields.append(remove) + fields.append(element('p', 'Removal keeps all partner metadata and references. Any resulting inconsistency is shown by the preview.')) + } + } + function refreshExtendedLabels() { + if (!isExtendedSelection(selection)) return + const picker = fields.querySelector('[data-role=extended-section]') + const sections = extendedSections(draft, selection) + if (picker) for (const option of picker.options) option.textContent = sections.find(item => item.key === option.value)?.label ?? option.textContent + } + function changeExtended(section: ExtendedSection, action: RowMutation, copiedIndex?: number) { + if (!isExtendedSelection(selection)) return + const array = extendedArray(draft, selection, section.key) + const current = extendedSections(draft, selection).find(item => item.key === extendedKey) + let nextPath = current && [...current.path] + if (nextPath && section.path.every((part, index) => nextPath![index] === part) && typeof nextPath[section.path.length] === 'number') { + const index = movedRow(nextPath[section.path.length] as number, action) + nextPath = index === undefined ? section.path : [...nextPath.slice(0, section.path.length), index, ...nextPath.slice(section.path.length + 1)] + } + draft = changeExtendedRows(draft, selection, section.key, action, copiedIndex) + movePending(array.path, action, copiedIndex === undefined ? undefined : [...array.path, copiedIndex], + action.kind === 'insert' ? [...array.path, action.index] : undefined) + if (action.kind === 'insert' && copiedIndex === undefined && section.array?.rowPrefix) extendedKey = `${section.array.rowPrefix}:${action.index}` + else extendedKey = extendedSections(draft, selection).find(item => exactInputEqual(item.path, nextPath))?.key ?? section.key + connectionsOpen = true; render() + } + function extendedRowActions(section: ExtendedSection, index: number) { + const actions = element('div'); actions.className = 'actions'; actions.style.flexWrap = 'wrap' + if (!isExtendedSelection(selection)) return actions + const { rows } = extendedArray(draft, selection, section.key) + actions.dataset.arrayKey = section.key; actions.dataset.row = String(index) + actions.append(button('Insert empty row before', 'extended-insert', () => changeExtended(section, { kind: 'insert', index })), + button('Copy this row', 'extended-copy', () => changeExtended(section, { kind: 'insert', index: index + 1 }, index)), + button('Remove this row', 'extended-remove', () => changeExtended(section, { kind: 'remove', index }))) + for (const direction of [-1, 1] as const) { + const move = button(direction < 0 ? 'Move row earlier' : 'Move row later', direction < 0 ? 'extended-earlier' : 'extended-later', + () => changeExtended(section, { kind: 'move', from: index, to: index + direction })) + move.disabled = index + direction < 0 || index + direction >= rows.length; actions.append(move) + } + return actions + } + function renderExtendedArray(section: ExtendedSection) { + if (!isExtendedSelection(selection)) return + const target = structuredClone(selection) + let array: ReturnType + try { array = extendedArray(draft, target, section.key) } + catch { return } + const list = element('div'); list.dataset.role = 'extended-array'; list.dataset.arrayKey = section.key + for (const [index, value] of array.rows.entries()) { + const row = element('div'); row.className = 'form-group'; row.dataset.row = String(index) + if (section.array!.rowPrefix) { + row.append(element('strong', `${index + 1}: ${value && typeof value === 'object' ? text(Reflect.get(value, 'id') ?? Reflect.get(value, 'layer') ?? 'Empty declaration') : text(value)}`), + button('Edit this row', 'extended-edit-row', () => { extendedKey = `${section.array!.rowPrefix}:${index}`; render() })) + } else { + const path = [...array.path, index], key = JSON.stringify(path), saved = pending.get(key) + const root = element('div'); root.dataset.role = 'extended-row-value' + const control = mountScalar(root, section.key, { ...section.array!.item, title: `Layer reference ${index + 1}` }, true, + { kind: 'value', value: saved ? saved.edit.text : value as Extract['value'] }, edit => { + if (edit.kind === 'incomplete') pending.set(key, { edit, path }) + else { draft = writeExtendedRow(draft, target, section.key, index, edit); pending.delete(key) } + updateStatus(); refreshReferenceNotices() + }) + controls.push(control) + const initial = control.read() + if (initial.kind === 'incomplete') pending.set(key, { edit: initial, path }) + const input = root.querySelector('input'), choices = element('datalist'); choices.id = `grain-layers-${++nextId}` + for (const layer of cellInput(draft, selection.cell).layers) choices.append(new Option(layer.name, layer.id)) + if (input) { input.setAttribute('list', choices.id); root.append(choices) } + row.append(root) + } + row.append(extendedRowActions(section, index)); list.append(row) + } + if (!array.rows.length) list.append(element('p', 'Explicit empty list. No rows or physical values are supplied automatically.')) + list.append(button('Add empty row', 'extended-append', () => changeExtended(section, { kind: 'insert', index: array.rows.length }))) + fields.append(list) + } + function renderExtendedPresence(section: ExtendedSection) { + if (!isExtendedSelection(selection) || !section.document) return + const target = structuredClone(selection), selected = selectedEntity(draft, target) + const parent = nestedValue(selected.value, section.path.slice(0, -1)), key = section.path.at(-1)! + const value = parent && Reflect.get(parent, key), path = [...selected.path, ...section.path] + fields.append(element('p', `Declaration: ${value === null ? 'explicit null' : value === undefined ? 'omitted' : 'supplied'}.`)) + const actions = element('div'); actions.className = 'actions'; actions.style.flexWrap = 'wrap' + if (value == null && parent) { + actions.append(button(section.array ? 'Start empty list' : 'Start empty declaration', 'extended-empty', () => { + draft = setExtendedSection(draft, target, section.key, 'empty'); render() + })) + // Compatible supplied objects are explicit copy templates. Never copy + // across cells or materialize a resolved/default value into the draft. + const templates = selections(draft, target.cell).filter(isExtendedSelection).flatMap(item => + extendedSections(draft, item).filter(source => source.schema === section.schema && !source.array && nestedValue(selectedEntity(draft, item).value, source.path)) + .map(source => ({ selection: item, key: source.key, label: `${source.label}${'id' in item ? ` — ${item.id}` : ''}` }))) + if (!section.array && templates.length) { + const picker = element('select'); picker.dataset.role = 'extended-template'; picker.setAttribute('aria-label', 'Supplied declaration to copy') + picker.append(new Option('Choose a supplied declaration to copy', '')) + templates.forEach((item, index) => picker.add(new Option(item.label, String(index)))) + actions.append(picker, button('Copy selected declaration', 'extended-copy-document', () => { + if (!picker.value) throw new DeviceEditError('Choose a supplied declaration to copy.', [path]) + const template = templates[Number(picker.value)], source = selectedEntity(draft, template.selection) + const sourceSection = extendedSections(draft, template.selection).find(item => item.key === template.key)! + const copiedPending = [...pending.values()].filter(item => [...source.path, ...sourceSection.path].every((part, index) => item.path[index] === part)) + draft = setExtendedSection(draft, target, section.key, 'empty', template) + for (const item of copiedPending) { + const nextPath = [...path, ...item.path.slice(source.path.length + sourceSection.path.length)] + pending.set(JSON.stringify(nextPath), { edit: { ...item.edit }, path: nextPath }) + } + render() + })) + } + } + if (parent && section.document.nullable) actions.append(button('Clear declaration (null)', 'extended-null', () => { + draft = setExtendedSection(draft, target, section.key, 'null'); clearPending(path); render() + })) + if (parent && !section.document.required) actions.append(button('Remove declaration override', 'extended-omit', () => { + draft = setExtendedSection(draft, target, section.key, 'omit'); clearPending(path); render() + })) + fields.append(actions) + } + function renderExtended() { + if (!isExtendedSelection(selection)) return + const sections = extendedSections(draft, selection), found = selectedEntity(draft, selection) + for (const section of sections) { + if (section.array) continue + const owner = nestedValue(found.value, section.path) + if (!owner) continue + for (const name of section.schema.required ?? []) { + const metadata = section.schema.properties?.[name] + if (!metadata || !scalarField(metadata) || section.fields && !section.fields.includes(name) || Object.hasOwn(owner, name)) continue + const path = [...found.path, ...section.path, name], key = JSON.stringify(path) + if (!pending.has(key)) pending.set(key, { path, edit: { kind: 'incomplete', text: '', message: 'Complete this required declaration.' } }) + } + } + if (!sections.some(section => section.key === extendedKey)) extendedKey = sections[0].key + const picker = element('select'); picker.dataset.role = 'extended-section'; picker.setAttribute('aria-label', 'Optical, tunnelling or microstructure section') + for (const section of sections) picker.append(new Option(section.label, section.key)) + picker.value = extendedKey; listen(picker, 'change', () => { extendedKey = picker.value; render() }) + fields.append(picker) + const section = sections.find(item => item.key === extendedKey)! + fields.append(element('h4', section.label), element('p', section.note)) + if (selection.kind === 'microstructure') fields.append(element('p', 'These declarations do not include lateral domain geometry or boundary conditions. The preview keeps that preparation dependency visible; no two-dimensional model is run.')) + if (section.array) renderExtendedArray(section) + else if (nestedValue(found.value, section.path)) { + for (const name of section.fields ?? Object.keys(section.schema.properties ?? {})) if (scalarField(section.schema.properties![name])) fields.append(fieldControl(name, false, section)) + } else fields.append(element('p', 'No editable object is supplied for this section. Its input remains unchanged until you explicitly start or clear a declaration.')) + if (section.row && !section.array) fields.append(extendedRowActions(sections.find(item => item.key === section.row!.arrayKey)!, section.row.index)) + renderExtendedPresence(section) + } + listen(cell, 'change', () => { selection = selections(draft, cell.value as Cell)[0]; message.textContent = ''; render() }) + listen(entity, 'change', () => { selection = JSON.parse(entity.value) as Selection; message.textContent = ''; render() }) + render() + return { + read, apply, discard, + setInput(input) { if (!disposed) { baseline = structuredClone(input); draft = structuredClone(input); lastApplied = undefined; pending.clear(); message.textContent = ''; render() } }, + dispose() { + if (disposed) return + disposed = true + for (const control of controls.splice(0)) control.dispose() + for (const remove of listeners.splice(0)) remove() + for (const remove of renderListeners.splice(0)) remove() + pending.clear(); card.remove() + }, + } +} diff --git a/web/src/editors/device-edits.test.ts b/web/src/editors/device-edits.test.ts new file mode 100644 index 00000000..9b11fd70 --- /dev/null +++ b/web/src/editors/device-edits.test.ts @@ -0,0 +1,170 @@ +import { describe, expect, it } from 'vitest' +import { configurationSchema } from '../generated/configuration-schema' +import type { DeviceInput, TandemInput } from '../generated/configuration-inputs' +import { + cellInput, DeviceEditError, exactInputEqual, layerReferences, moveLayer, renameLayer, + selections, writeConnection, writeField, +} from './device-edits' +import type { Selection } from './device-edits' + +// Small declaration fixtures only; no model or physical defaults are evaluated. +function device(): DeviceInput { + return { + schema_version: 'solarlab.device-preparation.v1', id: 'device', source_format: 'canonical', + settings: { phi_left: -0, flat_band_contacts: false }, + layers: [ + { id: 'front', name: 'Front', role: 'HTL', thickness: '2.00000000000000001e-7 m', material: 'shared', + parameters: { mu_n: -0, Nc300: null, incoherent: false }, bulk_defects: [{ + id: 'front', name: 'front', distribution: { kind: 'single_level', normalization: 'integrated_total', total_density_m3: '1e18' }, + charge_transition: 'unresolved', neutral_reference: 'unresolved', + kinetics: { sigma_n_m2: '1e-19', sigma_p_m2: '1e-19', thermal_velocity_n_m_s: 1e5, thermal_velocity_p_m_s: 1e5 }, + degeneracy: 1, energy_level: { reference: 'below_conduction_band', value_eV: '0.1' }, + }], cigs_graded_optics: null, metastable_document: null }, + { id: 'middle', name: 'Middle', role: 'absorber', thickness: 5e-7, parameters: {} }, + { id: 'back', name: 'Back', role: 'ETL', thickness: 1e-7 }, + ], + materials: [{ id: 'shared', name: 'Shared', parameters: { mu_n: '2 cm^2/(V s)' }, cigs_graded_optics: null }], + interfaces: [{ id: 'fm', left: 'front', right: 'middle', v_n: null }, { id: 'mb', left: 'middle', right: 'back' }], + contacts: [{ id: 'left', side: 'left', layer: 'front', S_n: 0 }, { id: 'right', side: 'right', layer: 'back' }], + electrical_grid: [{ layer: 'front', interval_weight: 1, alpha: '2' }], + grain_boundaries: [{ id: 'grain', layer_ids: ['front', 'middle'], width: '1 nm', x_position: 0, tau_n: '1 ns', tau_p: '1 ns' }], + simulation_hints: { notes: 'front' }, + } +} +function tandem(): TandemInput { + return { schema_version: 'solarlab.tandem-preparation.v1', id: 'tandem', source_schema_version: 1, + device_type: 'tandem_2T_monolithic', top_cell: device(), bottom_cell: { ...device(), id: 'bottom' }, + top_cell_reference: 'top.yaml', bottom_cell_reference: 'bottom.yaml', junction_model: 'ideal_ohmic', + light_direction: 'top_first', junction_stack: [], benchmark: null, back_reflector: null } +} +const front: Selection = { cell: 'device', kind: 'layer', id: 'front', occurrence: 0 } + +describe('copied input transformations', () => { + it('preserves exact no-op numbers, strings, null, empty and omitted containers', () => { + const input = device(), before = structuredClone(input) + expect(writeField(input, front, 'mu_n', { kind: 'value', value: -0 }, true)).toStrictEqual(input) + expect(writeField(input, front, 'thickness', { kind: 'value', value: input.layers[0].thickness })).toStrictEqual(input) + const back: Selection = { ...front, id: 'back' } + expect(writeField(input, back, 'mu_n', { kind: 'omit' }, true)).toStrictEqual(input) + expect(Object.hasOwn(writeField(input, back, 'mu_n', { kind: 'omit' }, true).layers[2], 'parameters')).toBe(false) + expect(writeField(input, { ...front, id: 'middle' }, 'mu_n', { kind: 'omit' }, true).layers[1].parameters).toStrictEqual({}) + expect(input).toStrictEqual(before) + expect(exactInputEqual(0, -0)).toBe(false) + expect(exactInputEqual({}, { description: null })).toBe(false) + }) + + it('patches a display name without changing IDs or sharing mutable response data', () => { + const input = device(), expected = structuredClone(input) + expected.layers[0].name = 'New display name' + const edited = writeField(input, front, 'name', { kind: 'value', value: 'New display name' }) + expect(edited).toStrictEqual(expected) + edited.layers[0].parameters!.mu_n = '5' + expect(Object.is(input.layers[0].parameters!.mu_n, -0)).toBe(true) + expect(edited.layers[0].bulk_defects![0].id).toBe('front') + }) + + it('removes only a local override and edits named material values independently', () => { + const input = device(), expected = structuredClone(input) + delete expected.layers[0].parameters!.mu_n + expect(writeField(input, front, 'mu_n', { kind: 'omit' }, true)).toStrictEqual(expected) + const material: Selection = { cell: 'device', kind: 'material', id: 'shared', occurrence: 0 } + const next = writeField(input, material, 'mu_n', { kind: 'value', value: '0' }, true) + expect(next.layers).toStrictEqual(input.layers) + expect(next.materials![0].parameters.mu_n).toBe('0') + expect(next.materials![0].id).toBe('shared') + }) + + it('uses generated required/nullability policy and protects identity and complex fields from scalar patches', () => { + expect(() => writeField(device(), front, 'thickness', { kind: 'omit' })).toThrow(DeviceEditError) + expect(() => writeField(device(), front, 'mu_n', { kind: 'value', value: null }, true)).toThrow('does not accept null') + expect(() => writeField(device(), front, 'id', { kind: 'value', value: 'new' })).toThrow('no scalar editor') + expect(() => writeField(device(), front, 'bulk_defects', { kind: 'omit' })).toThrow('no scalar editor') + expect(writeField(device(), front, 'Nc300', { kind: 'value', value: null }, true).layers[0].parameters!.Nc300).toBeNull() + }) + + it('rewrites every current typed layer reference, preserving nested IDs, names and physical content', () => { + const input = device(), expected = structuredClone(input), result = renameLayer(input, front, 'renamed') + expected.layers[0].id = 'renamed'; expected.interfaces![0].left = 'renamed' + expected.contacts![0].layer = 'renamed'; expected.electrical_grid![0].layer = 'renamed' + expected.grain_boundaries![0].layer_ids[0] = 'renamed' + expect(result.input).toStrictEqual(expected) + expect(result.selection).toStrictEqual({ ...front, id: 'renamed' }) + expect(result.updatedPaths).toHaveLength(5) + expect(input.layers[0].id).toBe('front') + expect(result.input.layers[0].bulk_defects![0].id).toBe('front') + expect(result.input.simulation_hints!.notes).toBe('front') + expect(layerReferences(result.input).some(ref => ref.value === 'front')).toBe(false) + }) + + it('guards the reviewed layer-reference coverage against new schema reference fields', () => { + const defs = configurationSchema.dto_schemas.DeviceInput.schema.$defs + const observed: string[] = [] + for (const [name, schema] of Object.entries(defs)) { + for (const field of Object.keys(schema.properties)) if (['layer', 'layer_ids', 'left', 'right'].includes(field)) observed.push(`${name}.${field}`) + } + const currentReferences = ['ContactInput.layer', 'GrainBoundaryInput.layer_ids', 'GridLayerInput.layer', 'InterfaceInput.left', 'InterfaceInput.right'] + // These IDs describe the original source bytes, so current layer edits must preserve them. + const retainedHistory = ['LegacyDeviceFieldsInput.layer_ids'] + expect(observed.sort()).toEqual([...currentReferences, ...retainedHistory].sort()) + }) + + it('preserves original legacy layer IDs and source evidence when renaming a current layer', () => { + const input = device() + input.legacy_fields = { + schema_version: 'solarlab.standard-loader-fields.v1', source_id: 'original', source_sha256: 'a'.repeat(64), + layer_ids: ['front', 'middle', 'back'], temperature: 0, interfaces: [[0, '1 m/s']], + } + const original = structuredClone(input), result = renameLayer(input, front, 'renamed') + expect(result.input.layers[0].id).toBe('renamed') + expect(result.input.contacts![0].layer).toBe('renamed') + expect(result.input.legacy_fields).toStrictEqual(original.legacy_fields) + expect(result.updatedPaths.some(path => path.includes('legacy_fields'))).toBe(false) + expect(input).toStrictEqual(original) + }) + + it('rejects unknown extension references with exact paths before any ID mutation', () => { + const input = { ...device(), future: { layer: 'front' } } + try { renameLayer(input, front, 'renamed'); throw new Error('expected rejection') } + catch (error) { expect(error).toBeInstanceOf(DeviceEditError); expect((error as DeviceEditError).paths).toEqual([['future']]) } + expect(input.layers[0].id).toBe('front') + const nested = device() + Object.assign(nested.layers[0].parameters!, { future_link: { layer: 'front' } }) + expect(() => renameLayer(nested, front, 'renamed')).toThrow('unrecognized fields') + }) + + it('retains an explicit duplicate-ID draft and refuses an ambiguous subsequent rewrite with reference paths', () => { + const duplicate = renameLayer(device(), front, 'middle') + expect(duplicate.input.layers.map(layer => layer.id)).toEqual(['middle', 'middle', 'back']) + expect(selections(duplicate.input, 'device').filter(item => item.kind === 'layer')).toHaveLength(3) + try { renameLayer(duplicate.input, duplicate.selection, 'fixed'); throw new Error('expected rejection') } + catch (error) { + expect(error).toBeInstanceOf(DeviceEditError) + expect((error as DeviceEditError).paths).toContainEqual(['interfaces', 0, 'left']) + } + }) + + it('moves exact layers and preserves invalid connection topology for explicit correction', () => { + const input = device(), result = moveLayer(input, front, 1) + expect(result.input.layers).toStrictEqual([input.layers[1], input.layers[0], input.layers[2]]) + expect(result.input.interfaces).toStrictEqual(input.interfaces) + expect(result.input.contacts).toStrictEqual(input.contacts) + expect(result.input.electrical_grid).toStrictEqual(input.electrical_grid) + expect(result.selection).toStrictEqual(front) + const dangling = writeConnection(result.input, 'device', 'interfaces', 0, 'right', 'missing') + expect(dangling.interfaces![0].right).toBe('missing') + expect(dangling.interfaces![0].v_n).toBeNull() + expect(() => writeConnection(input, 'device', 'contacts', 0, 'left', 'back')).toThrow('supplied connection') + }) + + it.each(['top_cell', 'bottom_cell'] as const)('edits %s without rewriting its sibling, optical, junction or benchmark data', cell => { + const input = tandem(), selected: Selection = { ...front, cell } + const result = renameLayer(input, selected, 'renamed') + const sibling = cell === 'top_cell' ? 'bottom_cell' : 'top_cell' + expect(result.input[sibling]).toStrictEqual(input[sibling]) + const expected = structuredClone(input); expected[cell] = result.input[cell] + expect(result.input).toStrictEqual(expected) + expect(result.updatedPaths.every(path => path[0] === cell)).toBe(true) + expect(cellInput(result.input, cell).layers[0].id).toBe('renamed') + expect(() => cellInput(result.input, 'device')).toThrow('Select a cell') + }) +}) diff --git a/web/src/editors/device-edits.ts b/web/src/editors/device-edits.ts new file mode 100644 index 00000000..ec8873d3 --- /dev/null +++ b/web/src/editors/device-edits.ts @@ -0,0 +1,350 @@ +import { configurationSchema } from '../generated/configuration-schema' +import type { DeviceInput, TandemInput } from '../generated/configuration-inputs' + +export type EditorInput = DeviceInput | TandemInput +export type Cell = 'device' | 'top_cell' | 'bottom_cell' +export type ItemIdentity = { id: string; occurrence: number } +export type DefectSelection = { cell: Cell; kind: 'interface_defect'; parent: ItemIdentity; id: string } + | { cell: Cell; kind: 'bulk_defect' | 'metastable_defect'; parent: ItemIdentity; id: string; occurrence: number } +export type LayerDocumentSelection = { cell: Cell; kind: 'metastable_document' | 'metastable_preparation' } & ItemIdentity +export type ExtendedSelection = ({ cell: Cell; kind: 'layer_optics' | 'material_optics' } & ItemIdentity) + | { cell: Cell; kind: 'tunnelling' | 'microstructure' | 'optical_stack' | 'resources' } +export type Selection = { cell: Cell } & ( + { kind: 'settings' } | ({ kind: 'layer' | 'material' | 'interface' | 'contact' } & ItemIdentity) +) | DefectSelection | LayerDocumentSelection | ExtendedSelection +export type FieldValue = { kind: 'omit' } | { kind: 'value'; value: string | number | boolean | null } +export type FieldEdit = FieldValue | { kind: 'incomplete'; text: string; message: string } +export type Path = (string | number)[] +export type RowMutation = { kind: 'insert'; index: number } | { kind: 'remove'; index: number } | { kind: 'move'; from: number; to: number } + +/** Reindex a pending edit with its row, including explicit removal of that row. */ +export function movedRow(index: number, action: RowMutation): number | undefined { + if (action.kind === 'insert') return index >= action.index ? index + 1 : index + if (action.kind === 'remove') return index === action.index ? undefined : index > action.index ? index - 1 : index + if (index === action.from) return action.to + if (action.from < action.to && index > action.from && index <= action.to) return index - 1 + if (action.to < action.from && index >= action.to && index < action.from) return index + 1 + return index +} + +/** Only called on a copied draft; never sorts or couples other arrays. */ +export function mutateRows(rows: unknown[], action: RowMutation, path: Path, inserted?: unknown) { + const indices = action.kind === 'move' ? [action.from, action.to] : [action.index] + if (indices.some(index => !Number.isSafeInteger(index) || index < 0 || index >= rows.length + (action.kind === 'insert' ? 1 : 0))) { + throw new DeviceEditError('The selected row is no longer available.', [path]) + } + if (action.kind === 'insert') rows.splice(action.index, 0, structuredClone(inserted)) + else if (action.kind === 'remove') rows.splice(action.index, 1) + else rows.splice(action.to, 0, rows.splice(action.from, 1)[0]) +} + +/** Only the schema features needed to present supplied scalar fields and audit + * a layer-ID rewrite. This is not a replacement for Python validation. */ +export interface FieldSchema { + readonly title?: string + readonly type?: string + readonly unit?: string + readonly nullable?: boolean + readonly minLength?: number + readonly enum?: readonly (string | number | boolean | null)[] + readonly const?: string | number | boolean | null + readonly anyOf?: readonly FieldSchema[] + readonly $ref?: string + readonly properties?: Readonly> + readonly required?: readonly string[] + readonly items?: FieldSchema + readonly item_unit?: string + readonly $defs?: Readonly> +} + +export const fieldSchemas: Record = { + layer: configurationSchema.dto_schemas.FullLayerInput.schema, + material: configurationSchema.dto_schemas.NamedMaterialInput.schema, + parameters: configurationSchema.dto_schemas.FullParameterInput.schema, + settings: configurationSchema.dto_schemas.DeviceSettingsInput.schema, + interface: configurationSchema.dto_schemas.InterfaceInput.schema, + contact: configurationSchema.dto_schemas.ContactInput.schema, + interface_defect: configurationSchema.dto_schemas.DeviceInput.schema.$defs.InterfaceDefectInput, + bulk_defect: configurationSchema.dto_schemas.BulkDefectInput.schema, + metastable_defect: configurationSchema.dto_schemas.DeviceInput.schema.$defs.MetastableDefectInput, + metastable_document: configurationSchema.dto_schemas.MetastableDocumentInput.schema, + metastable_preparation: configurationSchema.dto_schemas.MetastablePreparationInput.schema, + layer_optics: configurationSchema.dto_schemas.FullLayerInput.schema, + material_optics: configurationSchema.dto_schemas.NamedMaterialInput.schema, + tunnelling: configurationSchema.dto_schemas.DeviceInput.schema, + microstructure: configurationSchema.dto_schemas.DeviceInput.schema, + resources: configurationSchema.dto_schemas.DeviceInput.schema, + optical_stack: configurationSchema.dto_schemas.TandemInput.schema, +} + +export class DeviceEditError extends Error { + readonly paths: Path[] + constructor(message: string, paths: Path[]) { + super(message) + this.name = 'DeviceEditError' + this.paths = paths + } +} + +export function cellInput(input: EditorInput, cell: Cell): DeviceInput { + if (input.schema_version === 'solarlab.device-preparation.v1' && cell === 'device') return input + if (input.schema_version === 'solarlab.tandem-preparation.v1' && cell !== 'device') return input[cell] + throw new DeviceEditError('Select a cell supplied by this input.', [[cell]]) +} + +export function selections(input: EditorInput, cell: Cell): Selection[] { + const device = cellInput(input, cell) + const entries = (kind: 'layer' | 'material' | 'interface' | 'contact', items: readonly { id: string }[]) => items.map((item, index) => ({ + cell, kind, id: item.id, occurrence: items.slice(0, index).filter(other => other.id === item.id).length, + } as Selection)) + const interfaces = entries('interface', device.interfaces ?? []).flatMap((selection, index) => { + if (selection.kind !== 'interface') return [] + const defect = device.interfaces![index].defect + return [selection, ...(defect && typeof defect === 'object' ? [{ cell, kind: 'interface_defect' as const, + parent: { id: selection.id, occurrence: selection.occurrence }, id: defect.id }] : [])] + }) + const layers = entries('layer', device.layers).flatMap((selection, index) => { + if (selection.kind !== 'layer') return [] + const defects = device.layers[index].bulk_defects ?? [] + const layer = device.layers[index], metastable = layer.metastable_document?.metastable_defects ?? [] + const documents: Selection[] = (['metastable_document', 'metastable_preparation'] as const) + .filter(key => Object.hasOwn(layer, key)).map(kind => ({ cell, kind, id: selection.id, occurrence: selection.occurrence })) + return [selection, { ...selection, kind: 'layer_optics' as const }, ...documents, ...metastable.map((defect, offset) => ({ cell, kind: 'metastable_defect' as const, + parent: { id: selection.id, occurrence: selection.occurrence }, id: defect.id, + occurrence: metastable.slice(0, offset).filter(item => item.id === defect.id).length })), + ...defects.map((defect, offset) => ({ cell, kind: 'bulk_defect' as const, + parent: { id: selection.id, occurrence: selection.occurrence }, id: defect.id, + occurrence: defects.slice(0, offset).filter(item => item.id === defect.id).length }))] + }) + const materials = entries('material', device.materials ?? []).flatMap(item => item.kind === 'material' + ? [item, { ...item, kind: 'material_optics' as const }] : []) + return [...layers, ...materials, ...entries('contact', device.contacts ?? []), ...interfaces, + { cell, kind: 'settings' }, { cell, kind: 'resources' }, { cell, kind: 'tunnelling' }, { cell, kind: 'microstructure' }, + ...(input.schema_version === 'solarlab.tandem-preparation.v1' ? [{ cell, kind: 'optical_stack' as const }] : [])] +} + +export function selectedEntity(input: EditorInput, selection: Selection): { value: object | undefined; path: Path; index: number } { + const device = cellInput(input, selection.cell) + const prefix: Path = selection.cell === 'device' ? [] : [selection.cell] + if (selection.kind === 'optical_stack') { + if (input.schema_version !== 'solarlab.tandem-preparation.v1') throw new DeviceEditError('An optical junction stack belongs to a tandem.', [['junction_stack']]) + return { value: input, path: [], index: -1 } + } + if (selection.kind === 'tunnelling' || selection.kind === 'microstructure' || selection.kind === 'resources') return { value: device, path: prefix, index: -1 } + if (selection.kind === 'layer_optics' || selection.kind === 'material_optics') return selectedEntity(input, { + ...selection, kind: selection.kind === 'layer_optics' ? 'layer' : 'material', + }) + if (selection.kind === 'settings') return { value: device.settings, path: [...prefix, 'settings'], index: -1 } + if (selection.kind === 'metastable_document' || selection.kind === 'metastable_preparation') { + const parent = selectedEntity(input, { ...selection, kind: 'layer' }) + return { value: device.layers[parent.index][selection.kind] ?? undefined, path: [...parent.path, selection.kind], index: parent.index } + } + if (selection.kind === 'interface_defect') { + const parent = selectedEntity(input, { cell: selection.cell, kind: 'interface', ...selection.parent }) + const defect = device.interfaces![parent.index].defect + if (!defect || defect.id !== selection.id) throw new DeviceEditError('The selected interface defect is no longer supplied.', [[...parent.path, 'defect']]) + return { value: defect, path: [...parent.path, 'defect'], index: parent.index } + } + if (selection.kind === 'bulk_defect' || selection.kind === 'metastable_defect') { + const parent = selectedEntity(input, { cell: selection.cell, kind: 'layer', ...selection.parent }) + const defects = selection.kind === 'bulk_defect' ? device.layers[parent.index].bulk_defects ?? [] + : device.layers[parent.index].metastable_document?.metastable_defects ?? [] + const collectionPath = selection.kind === 'bulk_defect' ? ['bulk_defects'] : ['metastable_document', 'metastable_defects'] + let occurrence = 0 + const index = defects.findIndex(item => item.id === selection.id && occurrence++ === selection.occurrence) + if (index < 0) throw new DeviceEditError('The selected defect is no longer supplied.', [[...parent.path, ...collectionPath]]) + return { value: defects[index], path: [...parent.path, ...collectionPath, index], index } + } + const collection = selection.kind === 'layer' ? 'layers' : selection.kind === 'material' ? 'materials' + : selection.kind === 'interface' ? 'interfaces' : 'contacts' + if (!('id' in selection)) throw new DeviceEditError('Select an identified configuration record.', [prefix]) + const items = device[collection] ?? [] + let occurrence = 0 + const index = items.findIndex(item => item.id === selection.id && occurrence++ === selection.occurrence) + if (index < 0) throw new DeviceEditError('The selected item is no longer supplied.', [[...prefix, collection]]) + return { value: items[index], path: [...prefix, collection, index], index } +} + +export function schemaVariants(schema: FieldSchema): readonly FieldSchema[] { + return schema.anyOf ? schema.anyOf.flatMap(schemaVariants) : [schema] +} + +export function allowsNull(schema: FieldSchema) { + return schema.nullable === true || schemaVariants(schema).some(item => item.type === 'null') +} + +export function scalarField(schema: FieldSchema) { + return schemaVariants(schema).every(item => !item.$ref && ['string', 'integer', 'number', 'boolean', 'null'].includes(item.type ?? '')) +} + +export function fieldSchema(selection: Selection, parameter: boolean) { + return fieldSchemas[parameter ? 'parameters' : selection.kind] +} + +/** Preserve every unselected value and container. Omitting a missing override + * never creates its parent; removing a field from a supplied {} keeps that {}. */ +export function writeField(input: T, selection: Selection, field: string, + edit: FieldValue, parameter = false): T { + const schema = fieldSchema(selection, parameter), metadata = schema.properties?.[field] + const selected = selectedEntity(input, selection) + const path = [...selected.path, ...(parameter ? ['parameters'] : []), field] + const basic = selection.kind === 'layer' ? ['name', 'role', 'thickness', 'material', 'parameterization', 'defect_model', 'defect_schema_version'] + : selection.kind === 'interface' || selection.kind === 'contact' ? Object.keys(schema.properties ?? {}).filter(key => key !== 'id') : ['name'] + if (parameter && selection.kind !== 'layer' && selection.kind !== 'material') throw new DeviceEditError('Select a layer or material parameter.', [path]) + if (!metadata || !scalarField(metadata) || (selection.kind !== 'settings' && !parameter && !basic.includes(field))) { + throw new DeviceEditError('This field has no scalar editor.', [path]) + } + if (edit.kind === 'omit' && schema.required?.includes(field)) { + throw new DeviceEditError('This required field cannot be omitted.', [path]) + } + if (edit.kind === 'value' && edit.value === null && !allowsNull(metadata)) { + throw new DeviceEditError('This field does not accept null.', [path]) + } + const next = structuredClone(input), device = cellInput(next, selection.cell) + let owner: object | undefined + if (selection.kind === 'settings') { + if (edit.kind === 'value' && !device.settings) device.settings = {} + owner = device.settings + } else { + const entity = selectedEntity(next, selection).value! + if (parameter) { + if (edit.kind === 'value' && !Reflect.get(entity, 'parameters')) Reflect.set(entity, 'parameters', {}) + owner = Reflect.get(entity, 'parameters') + } else owner = entity + } + if (owner) { + if (edit.kind === 'omit') Reflect.deleteProperty(owner, field) + else Reflect.set(owner, field, edit.value) + } + return next +} + +/** Explicit typed layer references in the current DeviceInput contract. Names, + * nested defect IDs and resource IDs are not layer references. */ +export function layerReferences(device: DeviceInput): { path: Path; value: string }[] { + return [ + ...(device.interfaces ?? []).flatMap((item, index) => [ + { path: ['interfaces', index, 'left'], value: item.left }, + { path: ['interfaces', index, 'right'], value: item.right }, + ]), + ...(device.contacts ?? []).map((item, index) => ({ path: ['contacts', index, 'layer'], value: item.layer })), + ...(device.electrical_grid ?? []).map((item, index) => ({ path: ['electrical_grid', index, 'layer'], value: item.layer })), + ...(device.grain_boundaries ?? []).flatMap((item, index) => item.layer_ids.map((value, offset) => ({ + path: ['grain_boundaries', index, 'layer_ids', offset], value, + }))), + ] +} + +function setPath(target: object, path: Path, value: string) { + let owner = target + for (const key of path.slice(0, -1)) owner = Reflect.get(owner, key) + Reflect.set(owner, path.at(-1)!, value) +} + +/** Connections have no typed external ID references in this input schema. + * Renaming the selected occurrence never changes its layer bindings or defect. */ +export function renameConnection(input: T, selection: Selection, id: string) { + const found = selectedEntity(input, selection) + if (selection.kind !== 'interface' && selection.kind !== 'contact') throw new DeviceEditError('Select a contact or interface.', [found.path]) + const next = structuredClone(input), device = cellInput(next, selection.cell) + const prefix: Path = selection.cell === 'device' ? [] : [selection.cell] + const unknown = unknownPaths(device, [configurationSchema.dto_schemas.DeviceInput.schema], configurationSchema.dto_schemas.DeviceInput.schema, prefix) + if (id !== selection.id && unknown.length) throw new DeviceEditError('Cannot guarantee references in unrecognized fields; the ID was not changed.', unknown) + const collection = selection.kind === 'interface' ? 'interfaces' : 'contacts' + device[collection]![found.index].id = id + return { input: next, selection: { ...selection, id, + occurrence: device[collection]!.slice(0, found.index).filter(item => item.id === id).length } } +} + +// Reject unknown/opaque input branches before an identity rewrite. The schema +// has no general reference annotations for extensions; do not guess their IDs. +function unknownPaths(value: unknown, schemas: readonly FieldSchema[], root: FieldSchema, path: Path): Path[] { + const expanded = schemas.flatMap(schema => schema.$ref + ? [root.$defs?.[schema.$ref.split('/').at(-1)!] ?? {}] : schemaVariants(schema)) + if (expanded.some(schema => schema.$ref || schema.anyOf)) return unknownPaths(value, expanded, root, path) + if (value === null || typeof value !== 'object') return [] + if (Array.isArray(value)) { + const items = expanded.flatMap(schema => schema.items ? [schema.items] : []) + return items.length ? value.flatMap((item, index) => unknownPaths(item, items, root, [...path, index])) : [path] + } + const objects = expanded.filter(schema => schema.properties) + if (!objects.length) return [path] + return Object.entries(value).flatMap(([key, item]) => { + const children = objects.flatMap(schema => schema.properties?.[key] ? [schema.properties[key]] : []) + return children.length ? unknownPaths(item, children, root, [...path, key]) : [[...path, key]] + }) +} + +export function requireKnownIdentityScope(input: EditorInput, cell: Cell) { + const schema = configurationSchema.dto_schemas.DeviceInput.schema + const paths = unknownPaths(cellInput(input, cell), [schema], schema, cell === 'device' ? [] : [cell]) + if (paths.length) throw new DeviceEditError('Cannot guarantee references in unrecognized fields; the ID was not changed.', paths) +} + +export function renameMaterial(input: T, selection: Selection, id: string) { + const found = selectedEntity(input, selection) + if (selection.kind !== 'material') throw new DeviceEditError('Select a material.', [found.path]) + const next = structuredClone(input), device = cellInput(next, selection.cell) + if (id !== selection.id) { + requireKnownIdentityScope(input, selection.cell) + const references = device.layers.flatMap((layer, index) => layer.material === selection.id ? [index] : []) + if (references.length && device.materials!.filter(item => item.id === selection.id).length !== 1) { + throw new DeviceEditError('The material ID has ambiguous layer references; no IDs were changed.', + references.map(index => [...(selection.cell === 'device' ? [] : [selection.cell]), 'layers', index, 'material'])) + } + device.materials![found.index].id = id + for (const index of references) device.layers[index].material = id + } + return { input: next, selection: { ...selection, id, + occurrence: device.materials!.slice(0, found.index).filter(item => item.id === id).length } } +} + +export function renameLayer(input: T, selection: Selection, id: string) { + const selected = selectedEntity(input, selection) + if (selection.kind !== 'layer') throw new DeviceEditError('Select a layer to change its ID.', [selected.path]) + const next = structuredClone(input), device = cellInput(next, selection.cell) + if (id === selection.id) return { input: next, selection, updatedPaths: [] as Path[] } + const prefix: Path = selection.cell === 'device' ? [] : [selection.cell] + const unknown = unknownPaths(device, [configurationSchema.dto_schemas.DeviceInput.schema], + configurationSchema.dto_schemas.DeviceInput.schema, prefix) + if (unknown.length) throw new DeviceEditError('Cannot guarantee references in unrecognized fields; the ID was not changed.', unknown) + const references = layerReferences(device).filter(item => item.value === selection.id) + const duplicates = device.layers.flatMap((item, index) => item.id === selection.id ? [[...prefix, 'layers', index, 'id']] : []) + if (duplicates.length !== 1) throw new DeviceEditError('This ID is ambiguous; discard the duplicate-ID draft before rewriting references.', + [...duplicates, ...references.map(item => [...prefix, ...item.path])]) + device.layers[selected.index].id = id + for (const item of references) setPath(device, item.path, id) + return { input: next, selection: { ...selection, id, + occurrence: device.layers.slice(0, selected.index).filter(item => item.id === id).length }, + updatedPaths: [[...selected.path, 'id'], ...references.map(item => [...prefix, ...item.path])] } +} + +export function moveLayer(input: T, selection: Selection, direction: -1 | 1) { + const selected = selectedEntity(input, selection) + if (selection.kind !== 'layer') throw new DeviceEditError('Select a layer to move.', [selected.path]) + const next = structuredClone(input), device = cellInput(next, selection.cell) + const destination = selected.index + direction + if (destination < 0 || destination >= device.layers.length) return { input: next, selection } + const [layer] = device.layers.splice(selected.index, 1) + device.layers.splice(destination, 0, layer) + return { input: next, selection: { ...selection, + occurrence: device.layers.slice(0, destination).filter(item => item.id === selection.id).length } } +} + +export function writeConnection(input: T, cell: Cell, + collection: 'interfaces' | 'contacts', index: number, field: 'left' | 'right' | 'layer', value: string): T { + const next = structuredClone(input), owner = cellInput(next, cell)[collection]?.[index] + if (!owner || !(collection === 'interfaces' ? ['left', 'right'] : ['layer']).includes(field)) { + throw new DeviceEditError('Select a supplied connection endpoint.', [[cell, collection, index, field]]) + } + Reflect.set(owner, field, value) + return next +} + +export function exactInputEqual(a: unknown, b: unknown): boolean { + if (Object.is(a, b)) return true + if (a === null || b === null || typeof a !== 'object' || typeof b !== 'object' || Array.isArray(a) !== Array.isArray(b)) return false + const keys = Object.keys(a), other = Object.keys(b) + return keys.length === other.length && keys.every((key, index) => key === other[index] + && exactInputEqual(Reflect.get(a, key), Reflect.get(b, key))) +} diff --git a/web/src/editors/extended-editor.test.ts b/web/src/editors/extended-editor.test.ts new file mode 100644 index 00000000..4b40c5ff --- /dev/null +++ b/web/src/editors/extended-editor.test.ts @@ -0,0 +1,145 @@ +import { afterEach, describe, expect, it, vi } from 'vitest' +import type { DeviceInput, TandemInput } from '../generated/configuration-inputs' +import { mountDeviceEditor } from './device-editor' +import type { DeviceEditor } from './device-editor' +import type { EditorInput, Selection } from './device-edits' + +function input(): TandemInput { + const cell: DeviceInput = { schema_version: 'solarlab.device-preparation.v1', id: 'top', source_format: 'canonical', + layers: [{ id: 'absorber', name: 'Absorber', role: 'absorber', thickness: '100 nm', parameters: { mu_n: -0 }, + cigs_graded_optics: { ggi_front: -0, ggi_back: '0.200000000000000001', cgi: 0.9 } }], + grain_boundaries: [{ id: 'gb', layer_ids: ['absorber'], x_position: '1 um', width: '10 nm', tau_n: '1 ns', tau_p: '2 ns' }], + electrical_grid: [{ layer: 'absorber', interval_weight: 1, alpha: 2 }], + tunnelling_channels: { intraband: { enabled: false }, contact: { barrier_height_eV: -0 } } } + return { schema_version: 'solarlab.tandem-preparation.v1', id: 'tandem', source_schema_version: 1, device_type: 'tandem_2T_monolithic', + top_cell: cell, bottom_cell: { ...structuredClone(cell), id: 'bottom' }, top_cell_reference: 'original top', bottom_cell_reference: 'original bottom', + junction_model: 'ideal_ohmic', light_direction: 'top_first', junction_stack: [ + { id: 'optical', name: 'Optical ', thickness: '2.00000000000000001 nm', optical_material: 'nk', incoherent: false }, + { id: 'other', name: 'Other', thickness: 3e-9, optical_material: 'nk', incoherent: true }], back_reflector: null, benchmark: null } +} +const mounted: DeviceEditor[] = [] +function mount(value: EditorInput = input()) { + const root = document.createElement('div'); document.body.append(root) + const onApply = vi.fn(), editor = mountDeviceEditor(root, { input: value, onApply }); mounted.push(editor) + const query = (selector: string) => root.querySelector(selector)! + const choose = (selector: string, value: string) => { const node = query(selector); node.value = value; node.dispatchEvent(new Event('change')) } + const entity = (kind: Selection['kind'], id?: string) => { + const option = [...query('[data-role=entity]').options].find(option => { const value = JSON.parse(option.value); return value.kind === kind && (!id || value.id === id) })! + choose('[data-role=entity]', option.value) + } + const section = (key: string) => choose('[data-role=extended-section]', key) + const type = (field: string, value: string) => { const node = query(`[data-field="${field}"] input`); node.value = value; node.dispatchEvent(new Event('input')); return node } + const click = (action: string, parent = '') => query(`${parent} [data-action=${action}]`).click() + return { root, editor, onApply, query, choose, entity, section, type, click } +} +afterEach(() => { for (const editor of mounted.splice(0)) editor.dispose(); document.body.replaceChildren() }) + +describe('extended device draft controls', () => { + it('keeps exact no-op data through all extended sections and both tandem cells', () => { + const value = input(); Reflect.set(value.bottom_cell, 'future_extension', { flags: [false, null, -0] }) + const view = mount(value) + for (const cell of ['top_cell', 'bottom_cell']) { + view.choose('[data-role=cell]', cell) + for (const kind of ['layer_optics', 'tunnelling', 'microstructure', 'resources', 'optical_stack'] as const) { + view.entity(kind) + const keys = [...view.query('[data-role=extended-section]').options].map(option => option.value) + for (const key of keys) view.section(key) + } + } + expect(view.editor.read().input).toStrictEqual(value); expect(view.editor.read().dirty).toBe(false) + expect(view.editor.apply()).toBe(true); expect(view.onApply).toHaveBeenLastCalledWith(value) + expect(Object.is((view.editor.read().input as TandemInput).top_cell.layers[0].cigs_graded_optics!.ggi_front, -0)).toBe(true) + }) + it('preserves focused input and caret on labels, IDs and quantity changes without re-render mutation', () => { + const view = mount(); view.entity('optical_stack'); view.section('optical:0') + const name = view.query('[data-field=name] input'); name.focus(); name.value = ' renamed'; name.setSelectionRange(4, 8) + name.dispatchEvent(new Event('input')) + expect(document.activeElement).toBe(name); expect(name.selectionStart).toBe(4); expect(name.selectionEnd).toBe(8) + view.type('id', 'new-optical') + expect(view.query('[data-role=extended-section]').selectedOptions[0].textContent).toContain('new-optical') + const thickness = view.type('thickness', '0 nm'); thickness.focus(); thickness.setSelectionRange(1, 1); thickness.dispatchEvent(new Event('input')) + expect(document.activeElement).toBe(thickness); expect(thickness.selectionStart).toBe(1) + const value = view.editor.read().input as TandemInput + expect(value.junction_stack[0].thickness).toBe('0 nm'); expect(value.top_cell).toStrictEqual(input().top_cell) + expect(view.root.querySelector('img,script')).toBeNull(); expect(view.editor.apply()).toBe(true) + }) + it('retains incomplete row text through copying and movement and clears only explicitly removed rows', () => { + const view = mount(); view.entity('optical_stack'); view.section('optical:0'); view.type('thickness', ' ') + view.click('extended-copy'); view.click('extended-later') + expect(view.query('[data-role=extended-section]').value).toBe('optical:1') + expect(view.query('[data-field=thickness] input').value).toBe(' ') + expect(view.editor.read().incomplete).toEqual([['junction_stack', 1, 'thickness'], ['junction_stack', 0, 'thickness']]) + view.click('extended-remove') + expect(view.editor.read().incomplete).toEqual([['junction_stack', 0, 'thickness']]) + view.section('optical:0'); view.type('thickness', '4 nm') + expect(view.editor.apply()).toBe(true); expect((view.editor.read().input as TandemInput).junction_stack.map(row => row.id)).toEqual(['optical', 'other']) + }) + it('keeps a scalar layer-reference edit with its intended row through insert, reorder and remove', () => { + const view = mount(); view.entity('microstructure'); view.section('grain-layers:0') + const value = view.query('[data-role=extended-row-value] input'); value.value = ''; value.dispatchEvent(new Event('input')) + view.click('extended-insert', '[data-role=extended-array] [data-row="0"]') + expect(view.editor.read().incomplete.map(path => path.at(-1))).toEqual([1, 0]) + view.click('extended-earlier', '[data-role=extended-array] [data-row="1"]') + expect(view.editor.read().incomplete.map(path => path.at(-1))).toEqual([0, 1]) + expect((view.editor.read().input as TandemInput).top_cell.grain_boundaries![0].layer_ids).toEqual(['absorber', '']) + view.click('extended-remove', '[data-role=extended-array] [data-row="1"]') + expect(view.editor.read().incomplete).toEqual([['top_cell', 'grain_boundaries', 0, 'layer_ids', 0]]) + const restored = view.query('[data-role=extended-row-value] input'); expect(restored.value).toBe('') + restored.value = 'absent'; restored.dispatchEvent(new Event('input')) + expect(view.root.textContent).toContain('absent must reference one existing electrical layer') + expect(view.editor.apply()).toBe(true) + }) + it('distinguishes clear, omitted and empty CIGS input and retains incomplete fields across navigation', () => { + const view = mount(); view.entity('layer_optics'); view.click('extended-null') + expect((view.editor.read().input as TandemInput).top_cell.layers[0].cigs_graded_optics).toBeNull() + view.click('extended-omit'); expect(Object.hasOwn((view.editor.read().input as TandemInput).top_cell.layers[0], 'cigs_graded_optics')).toBe(false) + view.click('extended-empty'); expect((view.editor.read().input as TandemInput).top_cell.layers[0].cigs_graded_optics).toStrictEqual({}) + expect(view.editor.apply()).toBe(false) + view.type('ggi_front', '0'); view.entity('tunnelling'); expect(view.editor.apply()).toBe(false) + view.entity('layer_optics'); view.type('ggi_back', '0.3'); view.type('cgi', '0.9'); expect(view.editor.apply()).toBe(true) + view.click('discard'); expect(view.editor.read().input).toStrictEqual(input()) + }) + it('offers generated boolean/integer channel controls and preserves explicit false/zero versus inheritance', () => { + const view = mount(); view.entity('tunnelling'); view.section('intraband') + view.choose('[data-field=enabled] [data-role=scalar-value]', 'true') + view.choose('[data-field=enabled] [data-role=scalar-value]', 'false') + expect((view.editor.read().input as TandemInput).top_cell.tunnelling_channels!.intraband!.enabled).toBe(false) + expect([...view.query('[data-field=enabled] [data-role=value-source]').options].map(option => option.value)).not.toContain('null') + view.choose('[data-field=enabled] [data-role=value-source]', 'omit') + expect((view.editor.read().input as TandemInput).top_cell.tunnelling_channels!.intraband).toStrictEqual({}) + view.section('contact'); view.type('barrier_height_eV', '0 meV') + expect((view.editor.read().input as TandemInput).top_cell.tunnelling_channels!.contact!.barrier_height_eV).toBe('0 meV') + view.choose('[data-field=energy_quadrature_order] [data-role=value-source]', 'value'); view.type('energy_quadrature_order', '1e') + expect(view.editor.apply()).toBe(false); view.type('energy_quadrature_order', '4'); expect(view.editor.apply()).toBe(true) + }) + it('creates required blank rows explicitly and preserves invalid duplicate/reference drafts for preview', () => { + const view = mount(); view.entity('microstructure'); view.section('grains'); view.click('extended-append') + expect(view.editor.read().incomplete).toContainEqual(['top_cell', 'grain_boundaries', 1, 'id']) + expect((view.editor.read().input as TandemInput).top_cell.grain_boundaries![1]).toStrictEqual({ layer_ids: [] }) + view.type('id', 'gb'); view.type('x_position', '2 um'); view.type('width', '20 nm'); view.type('tau_n', '1 ns'); view.type('tau_p', '2 ns') + expect(view.root.textContent).toContain('Duplicate ID gb'); expect(view.editor.apply()).toBe(true) + view.section('grid-row:0'); view.type('layer', 'missing') + expect(view.root.textContent).toContain('missing must reference'); expect(view.editor.apply()).toBe(true) + view.click('discard'); expect(view.editor.read().input).toStrictEqual(input()) + }) + it('copies the supplied optical row into a reflector only by explicit choice, retaining its duplicate ID', () => { + const view = mount(); view.entity('optical_stack'); view.section('reflector') + view.choose('[data-role=extended-template]', '0'); view.click('extended-copy-document') + expect((view.editor.read().input as TandemInput).back_reflector).toStrictEqual(input().junction_stack[0]) + expect(view.root.textContent).toContain('Duplicate optical-layer ID optical') + view.type('id', 'reflector'); expect(view.editor.apply()).toBe(true) + expect((view.editor.read().input as TandemInput).top_cell).toStrictEqual(input().top_cell) + }) + it('isolates bottom-cell mutations and makes last submission, dirty draft and disposal observable', () => { + const view = mount(); view.choose('[data-role=cell]', 'bottom_cell'); view.entity('microstructure'); view.section('grain:0'); view.type('width', '20 nm') + expect(view.editor.apply()).toBe(true) + const sent = view.onApply.mock.calls.at(-1)![0] as TandemInput + expect(sent.top_cell).toStrictEqual(input().top_cell); expect(sent.junction_stack).toStrictEqual(input().junction_stack) + view.type('width', '30 nm') + expect(view.query('[data-editor=device]').dataset.previewRelation).toBe('not-submitted') + view.editor.setInput(sent); expect(view.editor.read().dirty).toBe(false) + const before = view.onApply.mock.calls.length, field = view.query('[data-field=width] input') + view.editor.dispose(); field.value = '99 nm'; field.dispatchEvent(new Event('input')) + expect(view.editor.apply()).toBe(false); expect(view.onApply).toHaveBeenCalledTimes(before); expect(view.root.childElementCount).toBe(0) + }) +}) diff --git a/web/src/editors/extended-edits.test.ts b/web/src/editors/extended-edits.test.ts new file mode 100644 index 00000000..24a9e6e2 --- /dev/null +++ b/web/src/editors/extended-edits.test.ts @@ -0,0 +1,134 @@ +import { describe, expect, it } from 'vitest' +import type { DeviceInput, TandemInput } from '../generated/configuration-inputs' +import { exactInputEqual, renameLayer, selectedEntity, selections } from './device-edits' +import type { ExtendedSelection } from './device-edits' +import { changeExtendedRows, extendedReferenceNotices, extendedSections, setExtendedSection, writeExtendedField, writeExtendedRow } from './extended-edits' +import { removeRecord } from './inventory-edits' + +function device(): DeviceInput { + return { schema_version: 'solarlab.device-preparation.v1', id: 'sample', source_format: 'canonical', + layers: [{ id: 'front', name: 'Front', role: 'absorber', thickness: '100 nm', parameters: { mu_n: -0, incoherent: false }, + material: 'cigs', cigs_graded_optics: { ggi_front: -0, ggi_back: '0.250000000000000001', cgi: 0.9 } }, + { id: 'back', name: 'Back', role: 'ETL', thickness: 1e-7 }], + materials: [{ id: 'cigs', name: 'Named material', parameters: {}, cigs_graded_optics: { ggi_front: 0, ggi_back: 0.2, cgi: 0.9 } }], + grain_boundaries: [{ id: 'band', layer_ids: ['front', 'back'], x_position: '1 um', width: '20 nm', tau_n: '1 ns', tau_p: 1e-9, source_layer_role: null }], + electrical_grid: [{ layer: 'front', interval_weight: '1', alpha: 2 }, { layer: 'back', interval_weight: 2, alpha: '2' }], + tunnelling_channels: { intraband: { enabled: false }, contact: { barrier_height_eV: -0 } }, spectrum: null } +} +function tandem(): TandemInput { + return { schema_version: 'solarlab.tandem-preparation.v1', id: 'tandem', source_schema_version: 1, device_type: 'tandem_2T_monolithic', + top_cell: device(), bottom_cell: { ...device(), id: 'bottom' }, top_cell_reference: 'top-source', bottom_cell_reference: 'bottom-source', + junction_model: 'ideal_ohmic', light_direction: 'top_first', junction_stack: [ + { id: 'a', name: 'A', thickness: '2 nm', optical_material: 'nk', incoherent: false }, + { id: 'b', name: 'B', thickness: 3e-9, optical_material: 'nk', incoherent: true }], back_reflector: null, benchmark: null } +} +const optics: ExtendedSelection = { cell: 'device', kind: 'layer_optics', id: 'front', occurrence: 0 } +const micro: ExtendedSelection = { cell: 'device', kind: 'microstructure' } +const tunnel: ExtendedSelection = { cell: 'device', kind: 'tunnelling' } +const stack: ExtendedSelection = { cell: 'top_cell', kind: 'optical_stack' } + +describe('structured optical, tunnelling and microstructure edits', () => { + it('selects every declaration without converting input or conflating optical and physical layers', () => { + const input = tandem(), before = structuredClone(input) + for (const cell of ['top_cell', 'bottom_cell'] as const) for (const selected of selections(input, cell)) expect(selectedEntity(input, selected)).toHaveProperty('path') + expect(extendedSections(input, stack).map(item => item.key)).toEqual(['stack', 'junction', 'optical:0', 'optical:1', 'reflector']) + expect(exactInputEqual(input, before)).toBe(true) + expect(() => selectedEntity(device(), { ...stack, cell: 'device' })).toThrow(/tandem/) + }) + it('changes one quantity without coercing decimal/unit strings, signed zero or unrelated unknown fields', () => { + const input = device(); Reflect.set(input.layers[0], 'extension', { history: [false, null, -0, '1.00000000000000001'] }) + const next = writeExtendedField(input, optics, 'cigs', 'ggi_front', { kind: 'value', value: '0.00000000000000001' }) + expect(next.layers[0].cigs_graded_optics!.ggi_front).toBe('0.00000000000000001') + expect(Object.is(input.layers[0].cigs_graded_optics!.ggi_front, -0)).toBe(true) + const expected = structuredClone(input); expected.layers[0].cigs_graded_optics!.ggi_front = '0.00000000000000001' + expect(next).toStrictEqual(expected); expect(next.layers[0]).not.toBe(input.layers[0]) + expect(exactInputEqual(writeExtendedField(input, optics, 'cigs', 'model', { kind: 'omit' }), input)).toBe(true) + }) + it('keeps explicit clear separate from omission and refuses null or omission on required CIGS scalars', () => { + const input = device(), cleared = setExtendedSection(input, optics, 'cigs', 'null') + expect(cleared.layers[0].cigs_graded_optics).toBeNull() + const inherited = setExtendedSection(cleared, optics, 'cigs', 'omit') + expect(Object.hasOwn(inherited.layers[0], 'cigs_graded_optics')).toBe(false) + expect(inherited.materials).toStrictEqual(input.materials) + expect(() => writeExtendedField(input, optics, 'cigs', 'model', { kind: 'value', value: null })).toThrow(/null/) + expect(() => writeExtendedField(input, optics, 'cigs', 'cgi', { kind: 'omit' })).toThrow(/required/) + }) + it('starts only explicit empty declarations and copies actual same-cell CIGS input', () => { + const input = setExtendedSection(device(), optics, 'cigs', 'omit') + const empty = setExtendedSection(input, optics, 'cigs', 'empty') + expect(empty.layers[0].cigs_graded_optics).toStrictEqual({}) + expect(() => setExtendedSection(empty, optics, 'cigs', 'empty')).toThrow(/retained/) + const source: ExtendedSelection = { ...optics, kind: 'material_optics', id: 'cigs' } + const copied = setExtendedSection(input, optics, 'cigs', 'empty', { selection: source, key: 'cigs' }) + expect(copied.layers[0].cigs_graded_optics).toStrictEqual(input.materials![0].cigs_graded_optics) + expect(copied.layers[0].cigs_graded_optics).not.toBe(copied.materials![0].cigs_graded_optics) + }) + it('edits four independent channel contracts with false, signed zero and inherited omitted controls', () => { + const input = device() + const zero = writeExtendedField(input, tunnel, 'contact', 'barrier_height_eV', { kind: 'value', value: '0 meV' }) + expect(zero.tunnelling_channels!.intraband).toStrictEqual({ enabled: false }) + expect(Object.is(input.tunnelling_channels!.contact!.barrier_height_eV, -0)).toBe(true) + const inherited = writeExtendedField(zero, tunnel, 'intraband', 'enabled', { kind: 'omit' }) + expect(inherited.tunnelling_channels!.intraband).toStrictEqual({}) + expect(() => writeExtendedField(input, tunnel, 'intraband', 'enabled', { kind: 'value', value: null })).toThrow(/null/) + expect(extendedSections(input, tunnel).map(item => item.key)).toEqual(['tunnelling', 'band_to_band', 'intraband', 'interface_defect_assisted', 'contact']) + const absent = setExtendedSection(input, tunnel, 'tunnelling', 'omit') + expect(() => setExtendedSection(absent, tunnel, 'contact', 'empty')).toThrow(/containing/) + expect(setExtendedSection(input, tunnel, 'intraband', 'null').tunnelling_channels!.intraband).toBeNull() + }) + it('preserves ordered optical contents, duplicate IDs and both complete cells on copy/move/remove', () => { + const input = tandem(); Reflect.set(input.junction_stack[0], 'extension', { unknown: -0 }) + const copied = changeExtendedRows(input, stack, 'junction', { kind: 'insert', index: 1 }, 0) + expect(copied.junction_stack[1]).toStrictEqual(input.junction_stack[0]) + expect(copied.junction_stack[1]).not.toBe(copied.junction_stack[0]) + expect(extendedReferenceNotices(copied, stack)).toContainEqual({ path: ['junction_stack', 1, 'id'], message: 'Duplicate optical-layer ID a' }) + const moved = changeExtendedRows(copied, stack, 'junction', { kind: 'move', from: 2, to: 0 }) + expect(moved.junction_stack.map(row => row.id)).toEqual(['b', 'a', 'a']) + const removed = changeExtendedRows(moved, stack, 'junction', { kind: 'remove', index: 1 }) + expect(removed.top_cell).toStrictEqual(input.top_cell); expect(removed.bottom_cell).toStrictEqual(input.bottom_cell) + expect(removed.benchmark).toBeNull(); expect(removed.top_cell_reference).toBe(input.top_cell_reference) + expect(() => setExtendedSection(input, stack, 'junction', 'omit')).toThrow(/presence/) + }) + it('creates a blank optical row or explicitly copies a reflector without choosing values', () => { + const input = tandem(), empty = changeExtendedRows(input, stack, 'junction', { kind: 'insert', index: 0 }) + expect(empty.junction_stack[0]).toStrictEqual({}) + const copy = setExtendedSection(input, stack, 'reflector', 'empty', { selection: stack, key: 'optical:0' }) + expect(copy.back_reflector).toStrictEqual(input.junction_stack[0]) + expect(extendedReferenceNotices(copy, stack)).toContainEqual({ path: ['back_reflector', 'id'], message: 'Duplicate optical-layer ID a' }) + }) + it('retains invalid grain/grid reference drafts and does not cascade-delete their references', () => { + const input = device(), edited = writeExtendedRow(input, micro, 'grain-layers:0', 1, { kind: 'value', value: 'missing' }) + expect(extendedReferenceNotices(edited, micro)[0].path).toEqual(['grain_boundaries', 0, 'layer_ids', 1]) + const removed = removeRecord(input, { cell: 'device', kind: 'layer', id: 'front', occurrence: 0 }).input + expect(removed.grain_boundaries).toStrictEqual(input.grain_boundaries) + expect(removed.electrical_grid).toStrictEqual(input.electrical_grid) + expect(extendedReferenceNotices(removed, micro).map(item => item.path)).toEqual([ + ['grain_boundaries', 0, 'layer_ids', 0], ['electrical_grid', 0, 'layer']]) + }) + it('updates known grid and grain references on explicit physical-layer rename without touching source role', () => { + const input = device(), renamed = renameLayer(input, { cell: 'device', kind: 'layer', id: 'front', occurrence: 0 }, 'renamed').input + expect(renamed.grain_boundaries![0].layer_ids).toEqual(['renamed', 'back']) + expect(renamed.electrical_grid![0].layer).toBe('renamed') + expect(renamed.grain_boundaries![0].source_layer_role).toBeNull() + }) + it('keeps optional lists omitted until explicit creation and preserves independent scalar reference rows', () => { + const input = device(); delete input.grain_boundaries + const absent = setExtendedSection(input, micro, 'grains', 'omit') + expect(Object.hasOwn(absent, 'grain_boundaries')).toBe(false) + const empty = setExtendedSection(absent, micro, 'grains', 'empty') + const created = changeExtendedRows(empty, micro, 'grains', { kind: 'insert', index: 0 }) + expect(created.grain_boundaries).toStrictEqual([{ layer_ids: [] }]) + const moved = changeExtendedRows(device(), micro, 'grain-layers:0', { kind: 'move', from: 1, to: 0 }) + expect(moved.grain_boundaries![0].layer_ids).toEqual(['back', 'front']) + expect(() => writeExtendedRow(moved, micro, 'grain-layers:0', 0, { kind: 'omit' })).toThrow(/remove/) + }) + it('edits bottom-cell geometry and resource presence without rewriting top or root payloads', () => { + const input = tandem(), bottom: ExtendedSelection = { cell: 'bottom_cell', kind: 'microstructure' } + const changed = writeExtendedField(input, bottom, 'grain:0', 'width', { kind: 'value', value: '30 nm' }) + const expected = structuredClone(input); expected.bottom_cell.grain_boundaries![0].width = '30 nm' + expect(changed).toStrictEqual(expected) + const cleared = writeExtendedField(changed, { cell: 'bottom_cell', kind: 'resources' }, 'resources', 'spectrum', { kind: 'omit' }) + expect(Object.hasOwn(cleared.bottom_cell, 'spectrum')).toBe(false); expect(cleared.top_cell.spectrum).toBeNull() + expect(() => changeExtendedRows(input, stack, 'junction', { kind: 'insert', index: 1 }, 9)).toThrow(/copied row/) + }) +}) diff --git a/web/src/editors/extended-edits.ts b/web/src/editors/extended-edits.ts new file mode 100644 index 00000000..91243eec --- /dev/null +++ b/web/src/editors/extended-edits.ts @@ -0,0 +1,173 @@ +import { configurationSchema } from '../generated/configuration-schema' +import { + allowsNull, cellInput, DeviceEditError, mutateRows, scalarField, selectedEntity, +} from './device-edits' +import type { EditorInput, ExtendedSelection, FieldSchema, FieldValue, Path, RowMutation, Selection } from './device-edits' +import { nestedValue } from './defect-edits' + +const deviceSchema = configurationSchema.dto_schemas.DeviceInput.schema +const definitions = deviceSchema.$defs +const tandemSchema = configurationSchema.dto_schemas.TandemInput.schema + +export interface ExtendedSection { + key: string + label: string + path: Path + schema: FieldSchema + note: string + fields?: readonly string[] + document?: { nullable: boolean; required: boolean; empty: object } + array?: { item: FieldSchema; empty: unknown; rowPrefix?: string } + row?: { arrayKey: string; index: number } +} + +export function isExtendedSelection(selection: Selection): selection is ExtendedSelection { + return selection.kind === 'layer_optics' || selection.kind === 'material_optics' || selection.kind === 'tunnelling' + || selection.kind === 'microstructure' || selection.kind === 'optical_stack' || selection.kind === 'resources' +} + +function optional(property: FieldSchema, empty: object = {}, required = false) { + return { nullable: allowsNull(property), required, empty } +} + +/** These are the named preparation DTO sections, not a recursive schema form. + * All field types/units come from generated metadata; no defaults are copied. */ +export function extendedSections(input: EditorInput, selection: ExtendedSelection): ExtendedSection[] { + const found = selectedEntity(input, selection), owner = found.value! + if (selection.kind === 'resources') return [{ key: 'resources', label: 'Optical and generation resources', path: [], schema: deviceSchema, + fields: ['spectrum', 'fixed_generation'], note: 'Resource names are resolved by the trusted library. A name is not a server file path. Layer optical resources and refractive-index overrides remain in each layer’s parameter controls.' }] + if (selection.kind === 'layer_optics' || selection.kind === 'material_optics') return [{ + key: 'cigs', label: 'CIGS graded optics', path: ['cigs_graded_optics'], schema: definitions.CigsOpticsInput, + document: optional(definitions.FullLayerInput.properties.cigs_graded_optics), + note: 'GGI endpoints follow the layer’s electrical grading coordinate. Omitted layer optics inherit the named material; null clears that inheritance. Omitted model, slice and quadrature controls use the supplied catalog. Activation also requires explicit device settings and electrical grading; the preview reports conflicts.', + }] + if (selection.kind === 'tunnelling') { + const channels = [ + ['band_to_band', 'Band-to-band', definitions.BandToBandInput], + ['intraband', 'Intraband', definitions.IntrabandInput], + ['interface_defect_assisted', 'Interface defect assisted', definitions.DefectAssistedInput], + ['contact', 'Contact', definitions.ContactTunnellingInput], + ] as const + return [{ key: 'tunnelling', label: 'Tunnelling declaration', path: ['tunnelling_channels'], schema: definitions.TunnellingInput, + document: optional(deviceSchema.properties.tunnelling_channels), + note: 'Each channel is independent. Starting an empty declaration leaves all options to the trusted catalog; it does not enable a channel or execution.' }, + ...channels.map(([key, label, schema]) => ({ key, label: `${label} channel`, path: ['tunnelling_channels', key], schema, + document: optional(definitions.TunnellingInput.properties[key]), + note: 'Omit scalar overrides to inherit the supplied channel settings; scalar null is unsupported. Removing or clearing a channel restores its catalog settings. Declared enabled channels still require the coupling qualifications reported by the preview.' }))] + } + const list = (key: string, label: string, path: Path, schema: FieldSchema, item: FieldSchema, empty: unknown, rowPrefix?: string, required = false): ExtendedSection => ({ + key, label, path, schema, document: optional(schema, [], required), array: { item, empty, rowPrefix }, + note: 'Rows stay in the displayed order. Add an empty declaration or explicitly copy a row; removal never deletes linked data or changes another row.', + }) + const rows = (key: string, prefix: string, label: string, path: Path, schema: FieldSchema, note: string): ExtendedSection[] => { + const parent = nestedValue(owner, path.slice(0, -1)), values = parent && Reflect.get(parent, path.at(-1)!) + return Array.isArray(values) ? values.map((value, index) => ({ key: `${prefix}:${index}`, + label: `${label} ${index + 1}${value && typeof value === 'object' ? ` — ${String(value.id ?? value.layer ?? 'unnamed')}` : ' — unsupported row retained'}`, + path: [...path, index], schema, row: { arrayKey: key, index }, note })) : [] + } + if (selection.kind === 'optical_stack') return [ + { key: 'stack', label: 'Tandem optical model', path: [], schema: tandemSchema, fields: ['junction_model', 'light_direction'], + note: 'The junction optical layers and back reflector belong to the tandem, separate from either cell’s physical layers. Resource names refer to the trusted optical library; IDs are unique across the junction stack and reflector.' }, + list('junction', 'Junction optical layers', ['junction_stack'], tandemSchema.properties.junction_stack, tandemSchema.$defs.OpticalLayerInput, {}, 'optical', true), + ...rows('junction', 'optical', 'Optical layer', ['junction_stack'], tandemSchema.$defs.OpticalLayerInput, + 'Edit this optical layer only. Changing its display name keeps the ID; an explicit ID edit never renames a physical layer. Incoherence and optical material are explicit declarations.'), + { key: 'reflector', label: 'Back reflector', path: ['back_reflector'], schema: tandemSchema.$defs.OpticalLayerInput, + document: optional(tandemSchema.properties.back_reflector), + note: 'For the supported top-first illumination, this optional rear optical layer is behind the bottom cell: top cell → junction stack → bottom cell → back reflector. Clear or omit it explicitly; the two physical cells remain unchanged.' }, + ] + const grains = rows('grains', 'grain', 'Grain boundary', ['grain_boundaries'], definitions.GrainBoundaryInput, + 'Position and width are physical lengths; lifetimes apply to the finite-width band. Explicit layer IDs choose its electrical layers. The resolver checks geometry and overlaps; no coordinates are normalized.') + return [ + list('grains', 'Grain boundaries', ['grain_boundaries'], deviceSchema.properties.grain_boundaries, definitions.GrainBoundaryInput, { layer_ids: [] }, 'grain'), + ...grains.flatMap(row => [row, { ...list(`grain-layers:${row.row!.index}`, `Layer references — ${row.label}`, [...row.path, 'layer_ids'], + definitions.GrainBoundaryInput.properties.layer_ids, definitions.GrainBoundaryInput.properties.layer_ids.items, '', undefined, true), row: row.row }]), + list('grid', 'Electrical grid allocation', ['electrical_grid'], deviceSchema.properties.electrical_grid, definitions.GridLayerInput, {}, 'grid-row'), + ...rows('grid', 'grid-row', 'Grid row', ['electrical_grid'], definitions.GridLayerInput, + 'Each row references a physical electrical layer. A supplied grid must cover every electrical layer exactly once. Weights and alpha stay as entered; no mesh is generated.'), + ] +} + +export function extendedSection(input: EditorInput, selection: ExtendedSelection, key: string) { + const selected = selectedEntity(input, selection), section = extendedSections(input, selection).find(item => item.key === key) + if (!section) throw new DeviceEditError('Select a supported declaration section.', [selected.path]) + return { selected, section, path: [...selected.path, ...section.path] } +} + +export function writeExtendedField(input: T, selection: ExtendedSelection, key: string, field: string, edit: FieldValue): T { + const { section, path } = extendedSection(input, selection, key), metadata = section.schema.properties?.[field] + if (!metadata || !scalarField(metadata) || section.fields && !section.fields.includes(field)) throw new DeviceEditError('This declaration has no scalar editor for this field.', [[...path, field]]) + if (edit.kind === 'omit' && section.schema.required?.includes(field)) throw new DeviceEditError('This required field cannot be omitted.', [[...path, field]]) + if (edit.kind === 'value' && edit.value === null && !allowsNull(metadata)) throw new DeviceEditError('This field does not accept null; omit an optional override to inherit.', [[...path, field]]) + const next = structuredClone(input), owner = nestedValue(selectedEntity(next, selection).value, section.path) + if (!owner) throw new DeviceEditError('Start this declaration explicitly before editing its fields.', [path]) + if (edit.kind === 'omit') Reflect.deleteProperty(owner, field) + else Reflect.set(owner, field, edit.value) + return next +} + +export function setExtendedSection(input: T, selection: ExtendedSelection, key: string, + mode: 'empty' | 'null' | 'omit', copy?: { selection: ExtendedSelection; key: string }): T { + const { section, path } = extendedSection(input, selection, key) + if (!section.document) throw new DeviceEditError('This section cannot be replaced.', [path]) + if (mode === 'null' && !section.document.nullable || mode === 'omit' && section.document.required) throw new DeviceEditError('This section does not permit that presence state.', [path]) + const next = structuredClone(input), owner = nestedValue(selectedEntity(next, selection).value, section.path.slice(0, -1)) + if (!owner) throw new DeviceEditError('Start the containing declaration first.', [path.slice(0, -1)]) + const field = section.path.at(-1)! + if (mode === 'omit') Reflect.deleteProperty(owner, field) + else if (mode === 'null') Reflect.set(owner, field, null) + else { + if (Reflect.get(owner, field) != null) throw new DeviceEditError('The supplied section is retained; remove it explicitly before replacing it.', [path]) + let value = section.document.empty + if (copy) { + const source = extendedSection(input, copy.selection, copy.key) + if (source.section.schema !== section.schema || selection.cell !== copy.selection.cell) throw new DeviceEditError('Select a matching declaration in this cell.', [source.path]) + const supplied = nestedValue(source.selected.value, source.section.path) + if (!supplied) throw new DeviceEditError('The selected template is not a supplied object.', [source.path]) + value = supplied + } + Reflect.set(owner, field, structuredClone(value)) + } + return next +} + +export function extendedArray(input: EditorInput, selection: ExtendedSelection, key: string) { + const found = extendedSection(input, selection, key), parent = nestedValue(found.selected.value, found.section.path.slice(0, -1)) + const rows: unknown = parent && Reflect.get(parent, found.section.path.at(-1)!) + if (!found.section.array || !Array.isArray(rows)) throw new DeviceEditError('Start a supplied row list before editing it.', [found.path]) + return { ...found, rows } +} + +export function changeExtendedRows(input: T, selection: ExtendedSelection, key: string, action: RowMutation, copyIndex?: number): T { + const next = structuredClone(input), { section, rows, path } = extendedArray(next, selection, key) + if (copyIndex !== undefined && (!Number.isSafeInteger(copyIndex) || copyIndex < 0 || copyIndex >= rows.length)) throw new DeviceEditError('The copied row is no longer supplied.', [path]) + mutateRows(rows, action, path, copyIndex === undefined ? section.array!.empty : rows[copyIndex]) + return next +} + +export function writeExtendedRow(input: T, selection: ExtendedSelection, key: string, index: number, edit: FieldValue): T { + const next = structuredClone(input), { section, rows, path } = extendedArray(next, selection, key) + if (section.array!.rowPrefix || !Number.isSafeInteger(index) || index < 0 || index >= rows.length) throw new DeviceEditError('Select a scalar reference row.', [path]) + if (edit.kind === 'omit' || edit.value === null && !allowsNull(section.array!.item)) throw new DeviceEditError('Enter a reference or explicitly remove this row.', [[...path, index]]) + rows[index] = edit.value + return next +} + +export function extendedReferenceNotices(input: EditorInput, selection: Selection): { path: Path; message: string }[] { + const device = cellInput(input, selection.cell), prefix: Path = selection.cell === 'device' ? [] : [selection.cell] + const notices: { path: Path; message: string }[] = [] + for (const [index, grain] of (device.grain_boundaries ?? []).entries()) { + if (device.grain_boundaries!.filter(item => item.id === grain.id).length > 1) notices.push({ path: [...prefix, 'grain_boundaries', index, 'id'], message: `Duplicate ID ${grain.id}` }) + for (const [offset, id] of grain.layer_ids.entries()) if (!device.layers.some(layer => layer.id === id && layer.role !== 'substrate') || grain.layer_ids.filter(value => value === id).length > 1) notices.push({ + path: [...prefix, 'grain_boundaries', index, 'layer_ids', offset], message: `${id} must reference one existing electrical layer without duplicates`, + }) + } + for (const [index, row] of (device.electrical_grid ?? []).entries()) if (!device.layers.some(layer => layer.id === row.layer && layer.role !== 'substrate') || device.electrical_grid!.filter(item => item.layer === row.layer).length > 1) notices.push({ + path: [...prefix, 'electrical_grid', index, 'layer'], message: `${row.layer} must reference one existing electrical layer exactly once`, + }) + if (input.schema_version === 'solarlab.tandem-preparation.v1') { + const rows = [...input.junction_stack.map((value, index) => ({ value, path: ['junction_stack', index] as Path })), + ...(input.back_reflector ? [{ value: input.back_reflector, path: ['back_reflector'] as Path }] : [])] + for (const row of rows) if (rows.filter(item => item.value.id === row.value.id).length > 1) notices.push({ path: [...row.path, 'id'], message: `Duplicate optical-layer ID ${row.value.id}` }) + } + return notices +} diff --git a/web/src/editors/inputs.ts b/web/src/editors/inputs.ts new file mode 100644 index 00000000..4a697d7d --- /dev/null +++ b/web/src/editors/inputs.ts @@ -0,0 +1,10 @@ +// Minimal HTML escape for untrusted-ish string values (material filenames +// come from backend auto-scan of on-disk CSVs — trusted but defensive). +export function escapeHtml(s: string): string { + return s + .replace(/&/g, '&') + .replace(//g, '>') + .replace(/"/g, '"') + .replace(/'/g, ''') +} diff --git a/web/src/editors/inventory-edits.test.ts b/web/src/editors/inventory-edits.test.ts new file mode 100644 index 00000000..cae729f8 --- /dev/null +++ b/web/src/editors/inventory-edits.test.ts @@ -0,0 +1,164 @@ +import { describe, expect, it } from 'vitest' +import type { DeviceInput, MetastableDocumentInput, MultivalentDefectInput, TandemInput } from '../generated/configuration-inputs' +import { movedRow, renameMaterial, selectedEntity, selections } from './device-edits' +import type { DefectSelection, Selection } from './device-edits' +import { changeDefectRows, defectSections, renameDefect, writeDefectField, writeDefectRow } from './defect-edits' +import { createRecord, recordKind, removeRecord, setLayerDocument } from './inventory-edits' + +function configuration(): MultivalentDefectInput['configuration'] { + return { family: 'double_donor', charge_states_e: [2, 1, -0], degeneracy_convention: 'explicit', state_degeneracies: [1, '2.00000000000000001', 1], + energy_levels: { first_transition_eV_above_vb: '300 meV', correlation_energies_eV: ['-0.1 eV'], energy_reference: 'above_valence_band' }, + transition_kinetics: [{ sigma_n_m2: -0, sigma_p_m2: '1e-19 m^2', thermal_velocity_n_m_s: '1e5 m/s', thermal_velocity_p_m_s: 1e5 }, + { sigma_n_m2: '2e-19 m^2', sigma_p_m2: 0, thermal_velocity_n_m_s: 1e5, thermal_velocity_p_m_s: '8e4 m/s' }] } +} +function device(): DeviceInput { + const multivalent: MultivalentDefectInput = { id: 'multi', name: 'Multivalent', total_density_m3: '1e18 cm^-3', configuration: configuration() } + const metastable: MetastableDocumentInput = { schema_version: 'solarlab-metastable-bulk-defects-v1', defect_model: 'explicit_metastable_frozen', metastable_defects: [{ + id: 'meta', name: 'Metastable', total_density_m3: 3e21, donor_configuration: configuration(), acceptor_configuration: configuration(), + donor_conversion_state_index: 0, acceptor_conversion_state_index: 2, + conversion_kinetics: { transition_energy_eV_above_vb: '0.19 eV', electron_capture_activation_eV: '0.1', electron_emission_activation_eV: '0.76', + hole_capture_activation_eV: '0.35', hole_emission_activation_eV: '0.73', electron_capture_path: 'electron_capture_plus_hole_emission', hole_capture_path: 'double_hole_capture', + capture_n_m3_s: '2e-14', capture_p_m3_s: '3e-14', phonon_frequency_Hz: '1e13' }, + }] } + return { schema_version: 'solarlab.device-preparation.v1', id: 'test', source_format: 'canonical', + layers: [{ id: 'a', name: 'A', role: 'HTL', thickness: '1e-7', material: 'mat', parameters: { mu_n: -0, incoherent: false, Nc300: null }, + bulk_defects: [multivalent], metastable_document: metastable, metastable_preparation: null, cigs_graded_optics: null }, + { id: 'b', name: 'B', role: 'ETL', thickness: 2e-7 }], + materials: [{ id: 'mat', name: 'Material', parameters: { mu_n: '2 cm^2/(V s)' } }], + contacts: [{ id: 'left', side: 'left', layer: 'a', S_n: -0, S_p: null }], + interfaces: [{ id: 'ab', left: 'a', right: 'b', v_n: null }], grain_boundaries: [], simulation_hints: null } +} +const layer: Selection = { cell: 'device', kind: 'layer', id: 'a', occurrence: 0 } +const multi: DefectSelection = { cell: 'device', kind: 'bulk_defect', parent: { id: 'a', occurrence: 0 }, id: 'multi', occurrence: 0 } +const meta: DefectSelection = { ...multi, kind: 'metastable_defect', id: 'meta' } +const material: Selection = { cell: 'device', kind: 'material', id: 'mat', occurrence: 0 } + +describe('explicit structured record creation and removal', () => { + it('starts empty declarations without physical values, tags or inherited object regeneration', () => { + const input = device(), before = structuredClone(input) + expect(selectedEntity(createRecord(input, layer, 'layer', 'new').input, { ...layer, id: 'new' }).value).toStrictEqual({ id: 'new' }) + const created = createRecord(input, layer, 'multivalent_defect', 'empty') + expect(selectedEntity(created.input, created.selection).value).toStrictEqual({ id: 'empty', configuration: { + charge_states_e: [], state_degeneracies: [], energy_levels: { correlation_energies_eV: [] }, transition_kinetics: [] } }) + expect(created.input.layers[0].metastable_document).toStrictEqual(input.layers[0].metastable_document) + expect(input).toStrictEqual(before) + expect(() => createRecord(input, layer, 'layer', '')).toThrow('explicit ID') + }) + it.each(['layer', 'material', 'contact', 'interface', 'multivalent_defect', 'metastable_defect'] as const)('copies a %s exactly except its explicit new ID', kind => { + const input = device(), source = selections(input, 'device').find(item => recordKind(input, item) === kind)! + const original = selectedEntity(input, source).value! + Object.assign(original, { unknown_history: [{ id: 'a', zero: -0, enabled: false, data: null }] }) + const created = createRecord(input, layer, kind, 'copy', source) + expect(selectedEntity(created.input, created.selection).value).toStrictEqual({ ...original, id: 'copy' }) + expect(selectedEntity(created.input, source).value).toStrictEqual(original) + expect(created.input.contacts!.slice(0, 1)).toStrictEqual(input.contacts) + Reflect.set(selectedEntity(created.input, created.selection).value!, 'name', 'isolated') + expect(Reflect.get(original, 'name')).not.toBe('isolated') + }) + it('keeps duplicate IDs as distinct selectable occurrences without repairing references', () => { + const input = device(), result = createRecord(input, layer, 'layer', 'a', layer) + expect(result.selection).toStrictEqual({ ...layer, occurrence: 1 }) + expect(result.input.layers[2]).toStrictEqual(input.layers[0]) + expect(result.input.interfaces).toStrictEqual(input.interfaces) + expect(result.input.contacts).toStrictEqual(input.contacts) + expect(removeRecord(result.input, result.selection).input).toStrictEqual(input) + }) + it('retains dangling references and an explicit empty inventory after removal', () => { + const input = device(), result = removeRecord(input, material) + expect(result.input.materials).toStrictEqual([]) + expect(result.input.layers[0].material).toBe('mat') + const removedLayer = removeRecord(input, layer) + expect(removedLayer.input.contacts).toStrictEqual(input.contacts) + expect(removedLayer.input.interfaces).toStrictEqual(input.interfaces) + const last = removeRecord(input, meta) + expect(last.input.layers[0].metastable_document!.metastable_defects).toStrictEqual([]) + expect(last.input.layers[0].metastable_preparation).toBeNull() + }) + it('can explicitly remove an unsupported mixed record without converting or deleting partner data', () => { + const input = device(); Object.assign(input.layers[0].bulk_defects![0], { distribution: { unknown: -0 } }) + input.layers[0].scaps_defect_metadata = [{ defect_id: 'multi', distribution: 'single', energy_reference: 'above_valence_band', trap_depth_eV: '0.3' }] + expect(recordKind(input, multi)).toBeUndefined() + const removed = removeRecord(input, multi) + expect(removed.input.layers[0].bulk_defects).toStrictEqual([]) + expect(removed.input.layers[0].scaps_defect_metadata).toStrictEqual(input.layers[0].scaps_defect_metadata) + }) + it('creates an interface defect explicitly and never overwrites an existing one', () => { + const input = device(), target: Selection = { cell: 'device', kind: 'interface', id: 'ab', occurrence: 0 } + const empty = createRecord(input, target, 'interface_defect', 'new') + expect(empty.input.interfaces![0].defect).toStrictEqual({ id: 'new', kinetics: {} }) + expect(input.interfaces![0].defect).toBeUndefined() + expect(() => createRecord(empty.input, target, 'interface_defect', 'another')).toThrow('already has') + expect(removeRecord(empty.input, empty.selection).input).toStrictEqual(input) + }) + it('never synthesizes a metastable document while adding a defect and distinguishes document null/omission', () => { + const input = device(); delete input.layers[0].metastable_document + expect(() => createRecord(input, layer, 'metastable_defect', 'new')).toThrow('inventory declaration') + const empty = setLayerDocument(input, 'device', { id: 'a', occurrence: 0 }, 'metastable_document', 'empty') + expect(empty.layers[0].metastable_document).toStrictEqual({ metastable_defects: [] }) + expect(() => setLayerDocument(empty, 'device', { id: 'a', occurrence: 0 }, 'metastable_document', 'empty')).toThrow('already supplied') + const cleared = setLayerDocument(empty, 'device', { id: 'a', occurrence: 0 }, 'metastable_document', 'null') + expect(cleared.layers[0].metastable_document).toBeNull() + expect(setLayerDocument(cleared, 'device', { id: 'a', occurrence: 0 }, 'metastable_document', 'omit')).toStrictEqual(input) + }) + it('changes only typed material references and rejects ambiguous or unknown identity scopes', () => { + const input = device(), changed = renameMaterial(input, material, 'renamed') + expect(changed.input.layers[0].material).toBe('renamed') + expect(changed.input.layers[0].bulk_defects).toStrictEqual(input.layers[0].bulk_defects) + const duplicate = createRecord(input, layer, 'material', 'mat', material) + expect(() => renameMaterial(duplicate.input, duplicate.selection, 'renamed')).toThrow('ambiguous') + Object.assign(input, { extra: { material: 'mat' } }) + expect(() => renameMaterial(input, material, 'renamed')).toThrow('unrecognized') + }) + it.each(['top_cell', 'bottom_cell'] as const)('limits creation/removal to %s and preserves sibling and root declarations', cell => { + const input: TandemInput = { schema_version: 'solarlab.tandem-preparation.v1', id: 'tandem', source_schema_version: 1, + device_type: 'tandem_2T_monolithic', top_cell: device(), bottom_cell: device(), top_cell_reference: 'top', bottom_cell_reference: 'bottom', + junction_model: 'ideal_ohmic', light_direction: 'top_first', junction_stack: [], benchmark: null, back_reflector: null } + const result = createRecord(input, { ...layer, cell }, 'metastable_defect', 'copy', { ...meta, cell }) + const expected = structuredClone(input); expected[cell].layers[0].metastable_document!.metastable_defects.push({ ...structuredClone(input[cell].layers[0].metastable_document!.metastable_defects[0]), id: 'copy' }) + expect(result.input).toStrictEqual(expected) + expect(removeRecord(result.input, result.selection).input).toStrictEqual(input) + }) +}) + +describe('ordered complex defect arrays', () => { + it('derives item units and integer semantics from the generated schema', () => { + const sections = defectSections(device(), multi) + expect(sections.find(item => item.key === 'charges')!.array!.item.type).toBe('integer') + expect(sections.find(item => item.key === 'degeneracies')!.array!.item.unit).toBe('1') + expect(sections.find(item => item.key === 'correlations')!.array!.item.unit).toBe('eV') + }) + it('preserves exact no-op words and changes one array without coupling any other array', () => { + const input = device() + expect(writeDefectRow(input, multi, 'charges', 2, { kind: 'value', value: -0 })).toStrictEqual(input) + const changed = writeDefectRow(input, multi, 'correlations', 0, { kind: 'value', value: '-150.00000000000000001 meV' }) + const expected = structuredClone(input), item = expected.layers[0].bulk_defects![0] as MultivalentDefectInput + item.configuration.energy_levels.correlation_energies_eV[0] = '-150.00000000000000001 meV' + expect(changed).toStrictEqual(expected) + expect(() => writeDefectRow(input, multi, 'charges', 0, { kind: 'omit' })).toThrow('explicit value') + }) + it('inserts/removes/reorders only chosen rows and keeps invalid lengths and charge ordering', () => { + const input = device(), inserted = changeDefectRows(input, multi, 'charges', { kind: 'insert', index: 1 }, -2) + expect((inserted.layers[0].bulk_defects![0] as MultivalentDefectInput).configuration.charge_states_e).toStrictEqual([2, -2, 1, -0]) + expect(changeDefectRows(inserted, multi, 'charges', { kind: 'remove', index: 1 })).toStrictEqual(input) + const moved = changeDefectRows(input, multi, 'transitions', { kind: 'move', from: 0, to: 1 }) + const expected = structuredClone(input), item = expected.layers[0].bulk_defects![0] as MultivalentDefectInput + item.configuration.transition_kinetics.reverse() + expect(moved).toStrictEqual(expected) + expect(() => changeDefectRows(input, multi, 'charges', { kind: 'move', from: 0, to: 9 })).toThrow('no longer') + }) + it('maps pending row indices across insertion, movement and explicit deletion', () => { + expect([0, 1, 2].map(index => movedRow(index, { kind: 'move', from: 0, to: 2 }))).toStrictEqual([2, 0, 1]) + expect([0, 1, 2].map(index => movedRow(index, { kind: 'move', from: 2, to: 0 }))).toStrictEqual([1, 2, 0]) + expect([0, 1, 2].map(index => movedRow(index, { kind: 'remove', index: 1 }))).toStrictEqual([0, undefined, 1]) + }) + it('edits both metastable configurations independently and retains conversion indices and barriers', () => { + const input = device(), expected = structuredClone(input) + const changed = writeDefectRow(input, meta, 'donor:charges', 0, { kind: 'value', value: 3 }) + expected.layers[0].metastable_document!.metastable_defects[0].donor_configuration.charge_states_e[0] = 3 + expect(changed).toStrictEqual(expected) + const unit = writeDefectField(input, meta, 'conversion', 'capture_n_m3_s', { kind: 'value', value: '2e-8 cm^3/s' }) + expect(unit.layers[0].metastable_document!.metastable_defects[0].conversion_kinetics.capture_n_m3_s).toBe('2e-8 cm^3/s') + expect(renameDefect(input, meta, 'new').input.layers[0].metastable_document!.metastable_defects[0].id).toBe('new') + expect(selectedEntity(input, meta).path).toStrictEqual(['layers', 0, 'metastable_document', 'metastable_defects', 0]) + }) +}) diff --git a/web/src/editors/inventory-edits.ts b/web/src/editors/inventory-edits.ts new file mode 100644 index 00000000..e12041fd --- /dev/null +++ b/web/src/editors/inventory-edits.ts @@ -0,0 +1,134 @@ +import { + cellInput, DeviceEditError, mutateRows, selectedEntity, selections, +} from './device-edits' +import type { Cell, EditorInput, ItemIdentity, Path, RowMutation, Selection } from './device-edits' + +export type NewRecordKind = 'layer' | 'material' | 'contact' | 'interface' + | 'bulk_defect' | 'multivalent_defect' | 'metastable_defect' | 'interface_defect' + +export function canRemoveRecord(selection: Selection) { + return ['layer', 'material', 'contact', 'interface', 'bulk_defect', 'metastable_defect', 'interface_defect'].includes(selection.kind) +} + +export function recordKind(input: EditorInput, selection: Selection): NewRecordKind | undefined { + if (selection.kind !== 'layer' && selection.kind !== 'material' && selection.kind !== 'contact' && selection.kind !== 'interface' + && selection.kind !== 'bulk_defect' && selection.kind !== 'metastable_defect' && selection.kind !== 'interface_defect') return undefined + if (selection.kind !== 'bulk_defect') return selection.kind + const item = selectedEntity(input, selection).value! + if (Object.hasOwn(item, 'configuration') && !Object.hasOwn(item, 'distribution')) return 'multivalent_defect' + return Object.hasOwn(item, 'distribution') && !Object.hasOwn(item, 'configuration') ? 'bulk_defect' : undefined +} + +export function layerParent(selection: Selection): ItemIdentity | undefined { + if (selection.kind === 'layer' || selection.kind === 'metastable_document' || selection.kind === 'metastable_preparation') return { id: selection.id, occurrence: selection.occurrence } + if (selection.kind === 'bulk_defect' || selection.kind === 'metastable_defect') return selection.parent +} + +export function interfaceParent(selection: Selection): ItemIdentity | undefined { + if (selection.kind === 'interface') return { id: selection.id, occurrence: selection.occurrence } + if (selection.kind === 'interface_defect') return selection.parent +} + +function emptyConfiguration() { + return { charge_states_e: [], state_degeneracies: [], energy_levels: { correlation_energies_eV: [] }, transition_kinetics: [] } +} + +/** Empty declarations contain structure only. Required physical values, branch + * choices and protocol tags stay absent until the user explicitly enters them. */ +function emptyRecord(kind: NewRecordKind, id: string): Record { + switch (kind) { + case 'layer': case 'contact': case 'interface': return { id } + case 'material': return { id, parameters: {} } + case 'interface_defect': return { id, kinetics: {} } + case 'bulk_defect': return { id, distribution: {}, kinetics: {} } + case 'multivalent_defect': return { id, configuration: emptyConfiguration() } + case 'metastable_defect': return { id, donor_configuration: emptyConfiguration(), acceptor_configuration: emptyConfiguration(), conversion_kinetics: {} } + } +} + +export interface RecordChange { + input: T + selection: Selection + path: Path + mutation?: RowMutation + copiedFrom?: Path +} + +export function createRecord(input: T, target: Selection, kind: NewRecordKind, + id: string, template?: Selection): RecordChange { + if (!id.length) throw new DeviceEditError('Enter an explicit ID for the new record.', [['id']]) + if (template && (template.cell !== target.cell || recordKind(input, template) !== kind)) throw new DeviceEditError('Select a matching template in this cell.', [selectedEntity(input, template).path]) + const next = structuredClone(input), device = cellInput(next, target.cell) + const prefix: Path = target.cell === 'device' ? [] : [target.cell] + const source = template && selectedEntity(input, template), item = source ? structuredClone(source.value!) : emptyRecord(kind, id) + Reflect.set(item, 'id', id) + // This reference belongs to the copied interface defect itself. References + // outside a copied record are never added, deleted or redirected implicitly. + if (source && kind === 'interface_defect') { + const metadata = Reflect.get(item, 'partner_metadata') + if (metadata && metadata.defect_id === Reflect.get(source.value!, 'id')) metadata.defect_id = id + } + const parent = layerParent(target) + let owner: object = device, key: string, path: Path + if (kind === 'interface_defect') { + const identity = interfaceParent(target) + if (!identity) throw new DeviceEditError('Select the interface that will receive the defect.', [[...prefix, 'interfaces']]) + const selected = selectedEntity(next, { cell: target.cell, kind: 'interface', ...identity }) + const parentInterface = selected.value! + if (Reflect.get(parentInterface, 'defect') != null) throw new DeviceEditError('This interface already has a defect; remove it explicitly before creating another.', [[...selected.path, 'defect']]) + Reflect.set(parentInterface, 'defect', item) + return { input: next, selection: { cell: target.cell, kind: 'interface_defect', parent: identity, id }, + path: [...selected.path, 'defect'], copiedFrom: source?.path } + } + if (kind === 'bulk_defect' || kind === 'multivalent_defect' || kind === 'metastable_defect') { + if (!parent) throw new DeviceEditError('Select the layer that will receive the defect.', [[...prefix, 'layers']]) + const layer = selectedEntity(next, { cell: target.cell, kind: 'layer', ...parent }) + if (kind === 'metastable_defect') { + owner = Reflect.get(layer.value!, 'metastable_document') + if (!owner || !Array.isArray(Reflect.get(owner, 'metastable_defects'))) throw new DeviceEditError('Start a metastable inventory declaration on this layer first.', [[...layer.path, 'metastable_document']]) + key = 'metastable_defects'; path = [...layer.path, 'metastable_document', key] + } else { owner = layer.value!; key = 'bulk_defects'; path = [...layer.path, key] } + } else { + key = kind === 'layer' ? 'layers' : kind === 'material' ? 'materials' : kind === 'contact' ? 'contacts' : 'interfaces' + path = [...prefix, key] + } + const original = Reflect.get(owner, key) + if (original !== undefined && !Array.isArray(original)) throw new DeviceEditError('The supplied inventory is not a list; it was retained unchanged.', [path]) + const rows: object[] = original ?? [] + const index = rows.length, mutation = { kind: 'insert' as const, index } + mutateRows(rows, mutation, path, item); Reflect.set(owner, key, rows) + const occurrence = rows.slice(0, index).filter(value => Reflect.get(value, 'id') === id).length + const selection: Selection = kind === 'bulk_defect' || kind === 'multivalent_defect' || kind === 'metastable_defect' + ? { cell: target.cell, kind: kind === 'metastable_defect' ? kind : 'bulk_defect', parent: parent!, id, occurrence } + : { cell: target.cell, kind, id, occurrence } + return { input: next, selection, path, mutation, copiedFrom: source?.path } +} + +export function removeRecord(input: T, selection: Selection): RecordChange { + if (!canRemoveRecord(selection)) throw new DeviceEditError('Select a layer, material, contact, interface or defect record.', [selectedEntity(input, selection).path]) + const next = structuredClone(input), found = selectedEntity(next, selection) + if (selection.kind === 'interface_defect') { + const parent: Selection = { cell: selection.cell, kind: 'interface', ...selection.parent } + Reflect.deleteProperty(selectedEntity(next, parent).value!, 'defect') + return { input: next, selection: parent, path: found.path } + } + const path = found.path.slice(0, -1), mutation = { kind: 'remove' as const, index: found.index } + let owner: unknown = next + for (const part of path) owner = Reflect.get(owner as object, part) + if (!Array.isArray(owner)) throw new DeviceEditError('The selected inventory is not a supplied list.', [path]) + mutateRows(owner, mutation, path) + const parent: Selection | undefined = selection.kind === 'bulk_defect' || selection.kind === 'metastable_defect' + ? { cell: selection.cell, kind: 'layer', ...selection.parent } : undefined + return { input: next, selection: parent ?? selections(next, selection.cell)[0], path, mutation } +} + +export function setLayerDocument(input: T, cell: Cell, parent: ItemIdentity, + key: 'metastable_document' | 'metastable_preparation', mode: 'empty' | 'null' | 'omit'): T { + const next = structuredClone(input), layer = selectedEntity(next, { cell, kind: 'layer', ...parent }) + if (mode === 'empty') { + if (Reflect.get(layer.value!, key) != null) throw new DeviceEditError('The document is already supplied; edit it or explicitly remove it first.', [[...layer.path, key]]) + Reflect.set(layer.value!, key, key === 'metastable_document' ? { metastable_defects: [] } : { numerics: {} }) + } else if (mode === 'null') Reflect.set(layer.value!, key, null) + else Reflect.deleteProperty(layer.value!, key) + return next +} diff --git a/web/src/editors/jv-experiment.test.ts b/web/src/editors/jv-experiment.test.ts new file mode 100644 index 00000000..16c21d9a --- /dev/null +++ b/web/src/editors/jv-experiment.test.ts @@ -0,0 +1,186 @@ +import { afterEach, describe, expect, it, vi } from 'vitest' +import type { JVExperimentInput, JVExperimentInputDefinitions } from '../generated/configuration-inputs' +import { configurationSchemaSha256 } from '../generated/configuration-schema' +import { mountJVExperimentEditor, mountJVExperimentPreview } from './jv-experiment' +import type { JVExperimentEditor } from './jv-experiment' + +const mounted: JVExperimentEditor[] = [] +function protocol(): JVExperimentInputDefinitions.JVProtocolInput { + return { experiment: 'jv_hysteresis', initial_state_source: 'finite_time_dc_preconditioned', pre_bias_V: -0, + soak_duration_s: '0 s', dwell_duration_s: 0.5, temperature_K: '300 K', + illumination_history: [ + { phase: 'dark seed ', condition: 'dark', duration_s: 0, intensity_suns: null, + photon_flux_m2_s: null, relative_generation_change: null, source_reference: null }, + { phase: 'forward', condition: 'baseline', duration_s: '2 s', intensity_suns: 1, + photon_flux_m2_s: null, relative_generation_change: null, source_reference: 'device_optics' }], + scan: { axis: 'voltage_V', direction: 'ascending_then_descending', start: -0, stop: '1.2 V', rate_V_s: '40 mV/s' }, + ac_excitation: null, voc_search: null, + dc_settle: { kind: 'not_applicable', duration_s: null, max_carrier_area_rate_A_m2: null, + max_ion_area_rate_A_m2: null, max_ionic_face_current_A_m2: null, max_face_current_spread_A_m2: null }, + sampling: { axis: 'voltage_V', mode: 'piecewise_linear', values: [-0, '1.2 V', '1.2 V', 0] }, + implicit_legacy_protocol: false, schema_version: 1 } +} +function input(): JVExperimentInput { + return { schema_version: 'solarlab.experiment-preparation.v1', id: 'jv_test', + device: { schema_version: 'solarlab.device-preparation.v1', id: 'device', source_format: 'canonical', + layers: [{ id: 'active', name: '', role: 'absorber', thickness: '400 nm', + parameters: { mu_n: '0.00020000000000000001 m^2/(V s)', Nc300: null, D_ion: -0, P0: 1e25 }, bulk_defects: [] }], + settings: { phi_left: -0 }, grain_boundaries: [], electrical_grid: [] }, + experiment: { kind: 'jv', N_grid: 60, V_max: '1.2 V', v_rate: '0.040000000000000001 V/s', illuminated: false, + waveform: { schema_version: 1, start_voltage_V: -0, dark_seed_s: 0, dark_prep_s: '0 s', + branch_dwell_s: '500 ms', turnaround_s: 0, turnaround_dark: false, uniform_generation_rate_m3_s: null }, + waveform_controls: null, experiment_protocol: protocol() } } +} +function mount(value = input()) { + const root = document.createElement('div'); document.body.append(root) + const onApply = vi.fn(), editor = mountJVExperimentEditor(root, { input: value, onApply }); mounted.push(editor) + const path = (parts: (string | number)[]) => [...root.querySelectorAll('[data-path]')].find(node => node.dataset.path === JSON.stringify(parts))! + const choose = (node: HTMLSelectElement, value: string) => { node.value = value; node.dispatchEvent(new Event('change', { bubbles: true })) } + const text = (node: HTMLInputElement, value: string) => { node.value = value; node.dispatchEvent(new Event('input', { bubbles: true })) } + const section = (value: string) => choose(root.querySelector('[data-role=experiment-section]')!, value) + const array = (parts: (string | number)[]) => [...root.querySelectorAll('[data-array]')].find(node => node.dataset.array === JSON.stringify(parts))! + return { root, editor, onApply, path, choose, text, section, array } +} +afterEach(() => { for (const editor of mounted.splice(0)) editor.dispose(); document.body.replaceChildren(); vi.unstubAllGlobals() }) + +describe('J-V declaration drafts', () => { + it('retains exact no-op types, zero signs, absent fields, unknown payloads and safe supplied labels', () => { + const raw = input(); Reflect.set(raw.device, 'extension', { n: -0, list: [], nullable: null }) + Reflect.set(raw.experiment, 'future_control', { order: [2, 1] }) + const before = structuredClone(raw), ui = mount(raw) + for (const section of ['controls', 'waveform', 'tolerance', 'protocol', 'history', 'sampling']) ui.section(section) + expect(ui.editor.read().input).toStrictEqual(before); expect(ui.editor.read().incomplete).toEqual([]) + expect(ui.editor.apply()).toBe(true); expect(ui.onApply.mock.calls[0][0]).toStrictEqual(before) + expect(ui.root.querySelector('script,img')).toBeNull() + ui.onApply.mock.calls[0][0].device.layers.length = 0 + expect(ui.editor.read().input.device.layers).toHaveLength(1); expect(raw).toStrictEqual(before) + }) + + it('changes only explicit input without moving focus or coercing units and empty text', () => { + const ui = mount(), original = ui.editor.read().input + const rate = ui.path(['experiment', 'v_rate']).querySelector('input')! + rate.focus(); rate.value = '40 mV/s'; rate.setSelectionRange(4, 4); rate.dispatchEvent(new Event('input')) + expect(document.activeElement).toBe(rate); expect(rate.selectionStart).toBe(4) + expect(ui.editor.read().input).toStrictEqual({ ...original, experiment: { ...original.experiment, v_rate: '40 mV/s' } }) + ui.choose(ui.path(['experiment', 'request_api']).querySelector('[data-role=value-source]')!, 'value') + ui.choose(ui.path(['experiment', 'request_api']).querySelector('[data-role=scalar-value]')!, 'jv_endpoint') + expect(Reflect.get(ui.editor.read().input.experiment, 'request_api')).toBe('jv_endpoint') + expect(Object.hasOwn(ui.editor.read().input.experiment, 'n_points')).toBe(false) + const count = ui.path(['experiment', 'N_grid']).querySelector('input')! + ui.text(count, '0'); expect(ui.editor.read().input.experiment.N_grid).toBe(0) + expect(ui.editor.apply()).toBe(true) // Semantic errors belong to the server. + ui.text(count, ''); expect(ui.editor.apply()).toBe(false) + expect(ui.editor.read().incomplete).toContainEqual(['experiment', 'N_grid']) + ui.section('waveform'); ui.section('controls') + expect(ui.path(['experiment', 'N_grid']).querySelector('input')!.value).toBe('') + ui.editor.discard(); expect(ui.editor.read().input).toStrictEqual(original) + }) + + it('distinguishes explicit generation zero, null, omitted tolerances and empty declaration creation', () => { + const ui = mount(); ui.section('waveform') + const generation = ui.path(['experiment', 'waveform', 'uniform_generation_rate_m3_s']) + ui.choose(generation.querySelector('select')!, 'value'); ui.text(generation.querySelector('input')!, '0 m^-3/s') + expect(Reflect.get(ui.editor.read().input.experiment, 'waveform').uniform_generation_rate_m3_s).toBe('0 m^-3/s') + ui.choose(generation.querySelector('select')!, 'null') + expect(Reflect.get(ui.editor.read().input.experiment, 'waveform').uniform_generation_rate_m3_s).toBeNull() + expect(Object.is(Reflect.get(ui.editor.read().input.experiment, 'waveform').start_voltage_V, -0)).toBe(true) + ui.section('tolerance') + ui.choose(ui.path(['experiment', 'waveform_controls']).querySelector('select')!, 'omit') + expect(Object.hasOwn(ui.editor.read().input.experiment, 'waveform_controls')).toBe(false) + ui.choose(ui.path(['experiment', 'waveform_controls']).querySelector('select')!, 'value') + expect(Reflect.get(ui.editor.read().input.experiment, 'waveform_controls')).toStrictEqual({}) + expect(ui.editor.read().incomplete).toContainEqual(['experiment', 'waveform_controls', 'rtol']) + expect(ui.editor.apply()).toBe(false) + ui.choose(ui.path(['experiment', 'waveform_controls']).querySelector('select')!, 'null') + expect(ui.editor.read().incomplete).toEqual([]); expect(ui.editor.apply()).toBe(true) + }) + + it('keeps unfinished history edits attached through explicit move, stored-row copy and removal', () => { + const ui = mount(); ui.section('history') + const rows = ['experiment', 'experiment_protocol', 'illumination_history'] + ui.text(ui.path([...rows, 0, 'duration_s']).querySelector('input')!, '') + ui.array(rows).querySelector('[data-action=move-down]')!.click() + expect(ui.editor.read().incomplete).toContainEqual([...rows, 1, 'duration_s']) + expect(ui.array(rows).querySelector('[data-role=row-selection]')!.value).toBe('1') + ui.array(rows).querySelector('[data-action=copy-row]')!.click() + expect(ui.editor.read().incomplete).toContainEqual([...rows, 1, 'duration_s']) + ui.choose(ui.array(rows).querySelector('[data-role=row-selection]')!, '1') + ui.section('controls'); ui.section('history') + expect(ui.path([...rows, 1, 'duration_s']).querySelector('input')!.value).toBe('') + ui.array(rows).querySelector('[data-action=remove-row]')!.click() + expect(ui.editor.read().incomplete).toEqual([]) + const history = Reflect.get(ui.editor.read().input.experiment, 'experiment_protocol').illumination_history + expect(history.map((row: { phase: string }) => row.phase)).toStrictEqual(['forward', 'dark seed ']) + expect(ui.editor.apply()).toBe(true) // The intentional order mismatch is retained for validation. + }) + + it('edits ordered sample units and empty rows without repairing a mismatched protocol', () => { + const ui = mount(); ui.section('sampling') + const rows = ['experiment', 'experiment_protocol', 'sampling', 'values'] + ui.text(ui.path([...rows, 0]).querySelector('input')!, '0 mV') + ui.array(rows).querySelector('[data-action=add-row]')!.click() + expect(ui.editor.read().incomplete).toContainEqual([...rows, 4]) + ui.text(ui.path([...rows, 4]).querySelector('input')!, '-0 mV') + expect(Reflect.get(ui.editor.read().input.experiment, 'experiment_protocol').sampling.values).toStrictEqual(['0 mV', '1.2 V', '1.2 V', 0, '-0 mV']) + expect(ui.editor.apply()).toBe(true) + ui.editor.discard(); expect(ui.editor.read().input).toStrictEqual(input()) + }) + + it('joins device edits, retains unsupported dark payloads and stops callbacks on disposal', () => { + const raw = input(); raw.experiment = { kind: 'dark_jv', V_max: -0 } + Reflect.set(raw.experiment, 'waveform', { retained: true }) + const ui = mount(raw), name = ui.root.querySelector('[data-role=experiment-device] [data-field=name][data-area=basic] input')! + ui.text(name, 'Changed absorber') + expect(ui.editor.read().dirty).toBe(true); expect(ui.editor.apply()).toBe(true) + expect(ui.onApply.mock.calls[0][0].device.layers[0].name).toBe('Changed absorber') + expect(ui.onApply.mock.calls[0][0].experiment).toStrictEqual(raw.experiment) + expect(ui.root.textContent).toContain('Additional supplied fields retained') + ui.editor.dispose(); ui.text(name, 'late'); expect(ui.editor.apply()).toBe(false) + expect(ui.onApply).toHaveBeenCalledTimes(1) + }) +}) + +function response(raw: JVExperimentInput) { + return JSON.stringify({ schema: 'solarlab.configuration-preview.v1', kind: 'experiment', status: 'prepared_pending_dependencies', + can_execute: false, input: raw, resolved: { schema: 'solarlab.resolved-jv-experiment-preparation.v1', id: raw.id, can_execute: false }, + identity: { scope: 'configuration_content', content_sha256: 'a'.repeat(64), default_catalog_sha256: 'b'.repeat(64), + resource_library_sha256: 'c'.repeat(64), configuration_schema_sha256: configurationSchemaSha256 } }) + .replaceAll('"start_voltage_V":0', '"start_voltage_V":-0.0').replace('"phi_left":0', '"phi_left":-0.0') + .replace('"D_ion":0', '"D_ion":-0.0').replace('"pre_bias_V":0', '"pre_bias_V":-0.0') + .replace('"start":0', '"start":-0.0').replace('"values":[0,', '"values":[-0.0,') +} +describe('J-V preview composition', () => { + it('posts through the schema-bound client, shows exact errors, exports original text and reopens input', async () => { + const raw = input(), json = response(raw), fetcher = vi.fn().mockResolvedValue(new Response(json, { headers: { 'Content-Type': 'application/json' } })) + vi.stubGlobal('fetch', fetcher) + const root = document.createElement('div'); document.body.append(root) + const ui = mountJVExperimentPreview(root, { endpoint: '/configuration-preview/experiment', input: raw }); mounted.push(ui) + await ui.ready + expect(fetcher.mock.calls[0][1].headers['X-Solarlab-Configuration-Schema']).toBe(configurationSchemaSha256) + expect(fetcher.mock.calls[0][1].body).toContain('"start_voltage_V":-0.0') + expect(root.querySelector('[data-panel=configuration-preview]')?.getAttribute('data-state')).toBe('ready') + expect(root.querySelector('pre')?.textContent).toBe(json) + fetcher.mockResolvedValueOnce(new Response(JSON.stringify({ detail: { status: 'unresolved', can_execute: false, + code: 'configuration_validation', message: '', field_errors: [{ loc: ['experiment', 'v_rate'], msg: '' }] } }), + { status: 422, headers: { 'Content-Type': 'application/json' } })) + expect(ui.apply()).toBe(true); await ui.ready + expect(root.querySelector('[data-panel=configuration-preview]')?.getAttribute('data-state')).toBe('unresolved') + expect(root.querySelector('script,img')).toBeNull(); expect(root.textContent).toContain('v_rate') + await ui.reopen(json); expect(ui.read().input).toStrictEqual(raw) + }) + + it('keeps new branch selection and only cancels owned previews when replaced or disposed', async () => { + const requests: { signal: AbortSignal; resolve: (value: Response) => void }[] = [] + vi.stubGlobal('fetch', vi.fn((_endpoint, init) => new Promise(resolve => requests.push({ signal: init.signal, resolve })))) + const root = document.createElement('div'); document.body.append(root) + const ui = mountJVExperimentPreview(root, { endpoint: '/a', input: input() }); mounted.push(ui) + const second: JVExperimentInput = { ...input(), id: 'dark', experiment: { kind: 'dark_jv' } }, ready = ui.select(second, '/b') + expect(requests[0].signal.aborted).toBe(true) + requests[1].resolve(new Response(response(second), { headers: { 'Content-Type': 'application/json' } })); await ready + requests[0].resolve(new Response(response(input()), { headers: { 'Content-Type': 'application/json' } })) + await Promise.resolve(); expect(ui.read().input).toStrictEqual(second) + const third = ui.select(input(), '/c'); ui.dispose(); expect(requests[2].signal.aborted).toBe(true) + requests[2].resolve(new Response(response(input()), { headers: { 'Content-Type': 'application/json' } })); await third + expect(root.childElementCount).toBe(0) + }) +}) diff --git a/web/src/editors/jv-experiment.ts b/web/src/editors/jv-experiment.ts new file mode 100644 index 00000000..c89b7609 --- /dev/null +++ b/web/src/editors/jv-experiment.ts @@ -0,0 +1,293 @@ +/** One-dimensional J-V input and history declarations. Preparation never runs a sweep. */ +import type { DeviceInput, JVExperimentInput } from '../generated/configuration-inputs' +import { configurationSchema } from '../generated/configuration-schema' +import { jvExperimentInputFromPreview } from '../configuration-client' +import { mountConfigurationPreviewPanel } from '../panels/configuration-preview' +import { mountDeviceEditor, mountScalar } from './device-editor' +import { allowsNull, exactInputEqual, movedRow, mutateRows } from './device-edits' +import type { FieldEdit, FieldSchema, FieldValue, Path, RowMutation } from './device-edits' + +export interface JVExperimentDraft { input: JVExperimentInput; dirty: boolean; incomplete: Path[] } +export interface JVExperimentEditor { + read(): JVExperimentDraft + setInput(input: JVExperimentInput): void + apply(): boolean + discard(): void + dispose(): void +} +type DraftEdit = Exclude | { kind: 'value'; value: unknown } +const schema: FieldSchema = configurationSchema.dto_schemas.JVExperimentInput.schema +const definitions = schema.$defs! +function element(tag: K, text?: string) { + const node = document.createElement(tag) + if (text !== undefined) node.textContent = text + return node +} +function at(value: unknown, path: Path): unknown { + for (const key of path) { + if (!value || typeof value !== 'object') return undefined + value = Reflect.get(value, key) + } + return value +} +function object(value: unknown): value is Record { return value !== null && typeof value === 'object' && !Array.isArray(value) } +function under(path: Path, prefix: Path) { return prefix.every((key, index) => path[index] === key) } +function shown(value: unknown) { return Object.is(value, -0) ? '-0' : String(value) } + +/** Device edits and experiment edits are joined only as copied input. Resolved + * settings, generated histories and defaults are never copied into the draft. */ +export function mountJVExperimentEditor(root: HTMLElement, options: { + input: JVExperimentInput; onApply(input: JVExperimentInput): void +}): JVExperimentEditor { + let baseline = structuredClone(options.input), draft = structuredClone(options.input) + let disposed = false, section = 'controls', lastApplied: JVExperimentInput | undefined + const pending = new Map }>() + const selectedRows = new Map(), controls: { dispose(): void }[] = [] + const card = element('section'); card.className = 'card'; card.dataset.panel = 'jv-experiment-editor' + card.style.minWidth = '0'; card.style.overflowWrap = 'anywhere' + const title = element('h3'), status = element('p'), fields = element('div') + status.setAttribute('role', 'status'); status.dataset.role = 'experiment-draft-status' + fields.dataset.role = 'experiment-fields' + const navigation = element('select'); navigation.setAttribute('aria-label', 'J-V experiment section'); navigation.dataset.role = 'experiment-section' + const deviceDetails = element('details'), deviceHost = element('div'); deviceHost.dataset.role = 'experiment-device' + deviceDetails.append(element('summary', 'Device layers, materials and models'), deviceHost) + const applyButton = element('button', 'Apply experiment to preview'), discardButton = element('button', 'Discard experiment changes') + applyButton.type = discardButton.type = 'button'; applyButton.className = discardButton.className = 'btn btn-ghost' + applyButton.dataset.action = 'apply-experiment'; discardButton.dataset.action = 'discard-experiment' + const actions = element('div'); actions.className = 'toolbar'; actions.append(applyButton, discardButton) + card.append(title, element('p', 'Edit the supplied request and apply it to inspect declared settings and state history. Preparation creates no physical state, J–V curve or executable admission.'), + status, actions, deviceDetails, navigation, fields) + root.replaceChildren(card) + const device = mountDeviceEditor(deviceHost, { input: draft.device, onApply: () => { apply() } }) + + function read(): JVExperimentDraft { + const child = device.read(), input = { ...structuredClone(draft), device: child.input as DeviceInput } + return { input, dirty: !exactInputEqual(input, baseline), + incomplete: [...pending.values()].map(item => [...item.path]).concat(child.incomplete.map(path => ['device', ...path])) } + } + function updateStatus() { + if (disposed) return + const current = read(), applied = !!lastApplied && exactInputEqual(current.input, lastApplied) + card.dataset.state = current.incomplete.length ? 'incomplete' : current.dirty ? 'draft' : 'unchanged' + card.dataset.previewRelation = applied ? 'matches-last-submission' : 'not-submitted' + status.textContent = current.incomplete.length ? `Finish incomplete edits: ${current.incomplete.map(path => JSON.stringify(path)).join('; ')}` + : applied ? 'Draft matches the last submitted input. Read the preparation result or validation errors below; execution remains disabled.' + : current.dirty ? 'Draft changed. The preview still describes the last submitted input.' + : 'Supplied input unchanged. Effective values and field origins appear in the preview.' + applyButton.disabled = current.incomplete.length > 0 + } + function write(path: Path, edit: DraftEdit) { + const key = JSON.stringify(path) + if (edit.kind === 'incomplete') pending.set(key, { path, edit }) + else { + const owner = at(draft, path.slice(0, -1)) + if (!owner || typeof owner !== 'object') throw new Error('Create this declaration before editing its fields.') + if (edit.kind === 'omit') Reflect.deleteProperty(owner, path.at(-1)!) + else Reflect.set(owner, path.at(-1)!, structuredClone(edit.value)) + pending.delete(key) + } + updateStatus() + } + function forget(path: Path) { for (const [key, entry] of pending) if (under(entry.path, path)) pending.delete(key) } + function button(label: string, action: string, callback: () => void) { + const result = element('button', label); result.type = 'button'; result.className = 'btn btn-ghost'; result.dataset.action = action + result.addEventListener('click', () => { if (!disposed) callback() }); return result + } + function scalar(host: HTMLElement, path: Path, metadata: FieldSchema, required: boolean) { + const value = at(draft, path), key = JSON.stringify(path), saved = pending.get(key) + const box = element('div'); box.dataset.path = key; box.dataset.field = String(path.at(-1)); host.append(box) + if (metadata.type === 'null') { + box.append(element('p', `${metadata.title ?? path.at(-1)}: ${value === null ? 'explicit null' : value === undefined ? 'required null is missing' : 'supplied value retained; this field permits null only'}`)) + if (value !== null) box.append(button('Set explicit null', 'set-null', () => { write(path, { kind: 'value', value: null }); render() })) + if (value === undefined) pending.set(key, { path, edit: { kind: 'incomplete', text: '', message: 'Set the required null field.' } }) + return + } + const scalarValue = value === null || ['string', 'number', 'boolean'].includes(typeof value) + const initial: FieldValue = saved ? { kind: 'value', value: saved.edit.text } + : scalarValue ? { kind: 'value', value: value as string | number | boolean | null } : { kind: 'omit' } + const control = mountScalar(box, String(path.at(-1)), metadata, required, initial, edit => { if (!disposed) write(path, edit) }) + controls.push(control) + if (value !== undefined && !scalarValue) box.append(element('p', 'Supplied non-scalar data is retained until explicitly replaced.')) + const edit = control.read() + if (edit.kind === 'incomplete') pending.set(key, { path, edit }) + else if (saved) pending.set(key, saved) + } + function scalarFields(host: HTMLElement, path: Path, model: FieldSchema, except: readonly string[] = []) { + const grid = element('div'); grid.style.display = 'grid'; grid.style.gap = '12px' + grid.style.gridTemplateColumns = 'repeat(auto-fit, minmax(min(100%, 260px), 1fr))' + for (const [name, metadata] of Object.entries(model.properties ?? {})) { + if (!except.includes(name)) scalar(grid, [...path, name], metadata, !!model.required?.includes(name)) + } + host.append(grid) + const value = at(draft, path) + if (object(value)) { + const retained = Object.keys(value).filter(name => !Object.hasOwn(model.properties ?? {}, name)) + if (retained.length) host.append(element('p', `Additional supplied fields retained for validation: ${retained.join(', ')}`)) + } + } + function presence(host: HTMLElement, path: Path, metadata: FieldSchema, required: boolean, empty: object) { + const value = at(draft, path), mode = element('select'), box = element('div') + box.dataset.path = JSON.stringify(path); mode.dataset.role = 'declaration-source' + mode.setAttribute('aria-label', `${metadata.title ?? path.at(-1)}: declaration`) + mode.add(new Option('Explicit declaration', 'value')) + if (!required) mode.add(new Option('Omit / inherit', 'omit')) + if (allowsNull(metadata)) mode.add(new Option('Explicit null', 'null')) + mode.value = value === undefined ? 'omit' : value === null ? 'null' : 'value' + if (required && value === undefined) { + mode.add(new Option('Required declaration missing', 'missing')); mode.value = 'missing' + pending.set(JSON.stringify(path), { path, edit: { kind: 'incomplete', text: '', message: 'Create the required declaration.' } }) + } + mode.addEventListener('change', () => { + if (disposed || mode.value === 'missing') return + forget(path) + write(path, mode.value === 'omit' ? { kind: 'omit' } : { kind: 'value', value: mode.value === 'null' ? null : at(draft, path) ?? empty }) + render() + }) + box.append(element('p', metadata.title ?? String(path.at(-1))), mode); host.append(box) + if (value === undefined || value === null) return false + if (Array.isArray(empty) ? !Array.isArray(value) : !object(value)) { + box.append(element('p', 'Supplied value is retained. Replace it explicitly to edit this declaration.'), + button('Replace with empty declaration', 'replace-declaration', () => { forget(path); write(path, { kind: 'value', value: empty }); render() })) + return false + } + return true + } + function mutate(path: Path, action: RowMutation, inserted?: unknown) { + const values = at(draft, path); if (!Array.isArray(values)) return + const key = JSON.stringify(path), selected = selectedRows.get(key) ?? 0 + const next = new Map }>() + for (const entry of pending.values()) { + if (under(entry.path, path) && typeof entry.path[path.length] === 'number') { + const moved = movedRow(entry.path[path.length] as number, action) + if (moved === undefined) continue + const shifted = [...entry.path]; shifted[path.length] = moved + next.set(JSON.stringify(shifted), { ...entry, path: shifted }) + } else next.set(JSON.stringify(entry.path), entry) + } + mutateRows(values, action, path, inserted) + selectedRows.set(key, action.kind === 'insert' ? action.index : movedRow(selected, action) ?? Math.min(selected, values.length - 1)) + pending.clear(); for (const [pendingKey, entry] of next) pending.set(pendingKey, entry) + render() + } + function array(host: HTMLElement, path: Path, metadata: FieldSchema, rowSchema?: FieldSchema) { + const key = JSON.stringify(path), box = element('section'); box.dataset.array = key; box.className = 'device-settings'; host.append(box) + if (!presence(box, path, metadata, true, [])) return + const values = at(draft, path) as unknown[] + if (values.length) { + const index = Math.max(0, Math.min(selectedRows.get(key) ?? 0, values.length - 1)); selectedRows.set(key, index) + const selection = element('select'); selection.dataset.role = 'row-selection'; selection.setAttribute('aria-label', `${metadata.title ?? path.at(-1)}: row`) + values.forEach((value, row) => selection.add(new Option(`${row + 1}: ${object(value) ? shown(value.phase ?? 'Unnamed phase') : shown(value)}`, String(row)))) + selection.value = String(index) + selection.addEventListener('change', () => { if (!disposed) { selectedRows.set(key, selection.selectedIndex); render() } }) + const row = element('div'); row.className = 'card'; row.dataset.row = String(index) + const actions = element('div'); actions.className = 'toolbar' + const up = button('Move earlier', 'move-up', () => mutate(path, { kind: 'move', from: index, to: index - 1 })) + const down = button('Move later', 'move-down', () => mutate(path, { kind: 'move', from: index, to: index + 1 })) + up.disabled = index === 0; down.disabled = index === values.length - 1 + actions.append(up, down, button('Copy stored row', 'copy-row', () => mutate(path, { kind: 'insert', index: index + 1 }, values[index])), + button('Remove row', 'remove-row', () => mutate(path, { kind: 'remove', index }))) + row.append(actions) + if (rowSchema && object(values[index])) scalarFields(row, [...path, index], rowSchema) + else if (rowSchema) row.append(element('p', 'Supplied non-object row is retained for validation. Remove it or add an empty phase explicitly.')) + else scalar(row, [...path, index], { ...metadata.items, unit: metadata.item_unit, title: 'Voltage sample' }, true) + box.append(selection, row) + } + box.append(button(rowSchema ? 'Add empty phase' : 'Add empty voltage sample', 'add-row', () => mutate(path, { kind: 'insert', index: values.length }, rowSchema ? {} : '')), + element('p', 'Order is preserved exactly. Copy uses the stored row; unfinished text stays with its original row.')) + } + function protocol(host: HTMLElement) { + const path: Path = ['experiment', 'experiment_protocol'], model = definitions.JVProtocolInput + if (!presence(host, path, definitions.JVInput.properties!.experiment_protocol, false, {})) return + host.append(element('p', 'Supplied history must agree with the request. Holds, forward/reverse order and sampling are checked by preparation; edits never reset or create a physical state.')) + if (section === 'history') array(host, [...path, 'illumination_history'], model.properties!.illumination_history, definitions.JVIlluminationStepInput) + else if (section === 'sampling') { + if (presence(host, [...path, 'sampling'], model.properties!.sampling, true, {})) { + scalarFields(host, [...path, 'sampling'], definitions.JVSamplingInput, ['values']) + array(host, [...path, 'sampling', 'values'], definitions.JVSamplingInput.properties!.values) + } + } else { + scalarFields(host, path, model, ['illumination_history', 'scan', 'sampling', 'dc_settle']) + for (const [name, definition] of [['scan', 'JVScanInput'], ['dc_settle', 'JVDCSettleInput']]) { + if (presence(host, [...path, name], model.properties![name], true, {})) scalarFields(host, [...path, name], definitions[definition]) + } + } + } + function render() { + for (const control of controls.splice(0)) control.dispose() + fields.replaceChildren() + const jv = draft.experiment.kind === 'jv' + title.textContent = jv ? 'One-dimensional J–V preparation' : 'Dark J–V preparation' + const sections = jv ? [['controls', 'Request and driver'], ['waveform', 'Continuous waveform and holds'], + ['tolerance', 'Waveform numerical controls'], ['protocol', 'Supplied protocol and scan'], ['history', 'Supplied illumination order'], ['sampling', 'Supplied voltage samples']] + : [['controls', 'Dark sweep request']] + navigation.replaceChildren(...sections.map(([value, label]) => new Option(label, value))) + if (!sections.some(([value]) => value === section)) section = 'controls' + navigation.value = section + if (section === 'controls') { + scalar(fields, ['id'], schema.properties!.id, true) + fields.append(element('p', jv + ? 'Choose the request API whose inherited controls you intend to use. Omitted or null maximum voltage awaits operating contact potential. A steady driver remains a separate declaration and does not become a forward/reverse state history.' + : 'The existing dark branch uses a transient sweep and exposes a forward curve with a diode fit. It accepts no waveform or illumination override.')) + scalarFields(fields, ['experiment'], definitions[jv ? 'JVInput' : 'DarkJVInput'], ['kind', 'waveform', 'waveform_controls', 'experiment_protocol']) + } else if (section === 'waveform' || section === 'tolerance') { + const waveform = section === 'waveform', name = waveform ? 'waveform' : 'waveform_controls' + fields.append(element('p', waveform + ? 'Declare dark seed and prebias holds, forward ramp, turnaround and reverse ramp. Generation null uses device optics; explicit zero remains zero. All required waveform values are supplied explicitly.' + : 'These tolerances belong to the continuous waveform. Omission or null inherits the source-bound waveform controls; archived numerical settings must be supplied explicitly.')) + if (presence(fields, ['experiment', name], definitions.JVInput.properties![name], false, {})) { + scalarFields(fields, ['experiment', name], definitions[waveform ? 'JVWaveformInput' : 'JVWaveformControlsInput']) + } + } else protocol(fields) + updateStatus() + } + function apply() { + const current = read() + if (disposed || current.incomplete.length) return false + lastApplied = structuredClone(current.input); options.onApply(structuredClone(current.input)); updateStatus(); return true + } + function discard() { if (!disposed) { draft = structuredClone(baseline); pending.clear(); device.setInput(draft.device); render() } } + const navigate = () => { if (!disposed) { section = navigation.value; render() } } + navigation.addEventListener('change', navigate); applyButton.addEventListener('click', apply); discardButton.addEventListener('click', discard) + for (const event of ['input', 'change', 'click']) deviceHost.addEventListener(event, updateStatus) + render() + return { read, apply, discard, + setInput(input) { if (!disposed) { baseline = structuredClone(input); draft = structuredClone(input); pending.clear(); selectedRows.clear(); lastApplied = undefined; device.setInput(draft.device); render() } }, + dispose() { + if (disposed) return + disposed = true + for (const control of controls.splice(0)) control.dispose() + navigation.removeEventListener('change', navigate); applyButton.removeEventListener('click', apply); discardButton.removeEventListener('click', discard) + for (const event of ['input', 'change', 'click']) deviceHost.removeEventListener(event, updateStatus) + device.dispose(); pending.clear(); card.remove() + }, + } +} + +export interface JVExperimentPreview extends JVExperimentEditor { + readonly ready: Promise + select(input: JVExperimentInput, endpoint?: string | URL): Promise + reopen(originalResponseJson: string): Promise +} +export function mountJVExperimentPreview(root: HTMLElement, options: { input: JVExperimentInput; endpoint: string | URL }): JVExperimentPreview { + let endpoint = options.endpoint, disposed = false + const editorHost = element('div'), previewHost = element('div'), reopen = element('details') + const source = element('textarea'), error = element('p'), open = element('button', 'Reopen supplied input') + source.setAttribute('aria-label', 'Original experiment preview JSON'); source.rows = 6; source.style.width = '100%' + open.type = 'button'; open.className = 'btn btn-ghost'; open.dataset.action = 'reopen-experiment'; error.setAttribute('role', 'alert') + reopen.append(element('summary', 'Reopen an exported preview'), source, open, error) + root.replaceChildren(editorHost, previewHost, reopen) + const panel = mountConfigurationPreviewPanel(previewHost, { endpoint, kind: 'experiment', input: options.input }) + let ready = panel.ready + const editor = mountJVExperimentEditor(editorHost, { input: options.input, onApply(input) { ready = panel.select({ endpoint, kind: 'experiment', input }) } }) + async function select(input: JVExperimentInput, nextEndpoint = endpoint) { + if (disposed) return + endpoint = nextEndpoint; editor.setInput(input); ready = panel.select({ endpoint, kind: 'experiment', input }); await ready + } + async function reopenInput(json: string) { if (!disposed) await select(jvExperimentInputFromPreview(json)) } + const clicked = () => { error.textContent = ''; void reopenInput(source.value).catch(cause => { if (!disposed) error.textContent = String(cause) }) } + open.addEventListener('click', clicked) + return { read: editor.read, apply: editor.apply, discard: editor.discard, setInput: input => { void select(input) }, + get ready() { return ready }, select, reopen: reopenInput, + dispose() { if (!disposed) { disposed = true; open.removeEventListener('click', clicked); editor.dispose(); panel.dispose(); root.replaceChildren() } }, + } +} diff --git a/web/src/editors/quantity-input.test.ts b/web/src/editors/quantity-input.test.ts new file mode 100644 index 00000000..f35adc8b --- /dev/null +++ b/web/src/editors/quantity-input.test.ts @@ -0,0 +1,131 @@ +import { afterEach, describe, expect, it, vi } from 'vitest' +import { configurationSchema } from '../generated/configuration-schema' +import { mountQuantityInput } from './quantity-input' +import type { QuantityInput, QuantityInputOptions, QuantityValue } from './quantity-input' + +const controls: QuantityInput[] = [] +const fields = configurationSchema.dto_schemas.FullParameterInput.schema.properties + +function mount(initial: QuantityValue, extra: Partial = {}) { + const root = document.createElement('div') + document.body.append(root) + const onChange = vi.fn() + const control = mountQuantityInput(root, { + name: 'mu_n', metadata: fields.mu_n, required: false, initial, onChange, ...extra, + }) + controls.push(control) + const input = root.querySelector('input')! + const source = root.querySelector('select')! + function type(text: string) { + input.value = text; input.dispatchEvent(new Event('input')) + } + function mode(value: string) { + source.value = value; source.dispatchEvent(new Event('change')) + } + return { root, control, input, source, type, mode, onChange } +} + +afterEach(() => { + for (const control of controls.splice(0)) control.dispose() + document.body.replaceChildren() +}) + +describe('quantity overrides from generated field metadata', () => { + it.each([0, -0, 1.2345678901234567e-17, Number.MIN_VALUE, '1.234567890123456789e-17', '2 cm^2/(V s)'])( + 'retains the exact untouched value and type: %s', value => { + const { control, onChange, mode } = mount({ kind: 'value', value }) + expect(control.read()).toStrictEqual({ kind: 'value', value }) + expect(onChange).not.toHaveBeenCalled() + mode('omit'); expect(control.read()).toStrictEqual({ kind: 'omit' }) + mode('value'); expect(control.read()).toStrictEqual({ kind: 'value', value }) + }, + ) + + it('takes an explicit text edit as input without converting units or rounding decimal digits', () => { + const { control, type, onChange } = mount({ kind: 'value', value: 1e-4 }) + type('2.0000000000000000001 cm^2/(V s)') + expect(control.read()).toStrictEqual({ kind: 'value', value: '2.0000000000000000001 cm^2/(V s)' }) + expect(onChange).toHaveBeenLastCalledWith(control.read()) + type('0'); expect(control.read()).toStrictEqual({ kind: 'value', value: '0' }) + type('-0'); expect(control.read()).toStrictEqual({ kind: 'value', value: '-0' }) + }) + + it('does not infer zero, null or omission from empty text', () => { + const { control, type, mode, input } = mount({ kind: 'value', value: 0 }) + type(' ') + expect(control.read()).toMatchObject({ kind: 'incomplete', text: ' ' }) + expect(input.getAttribute('aria-invalid')).toBe('true') + mode('omit') + expect(control.read()).toStrictEqual({ kind: 'omit' }) + expect(input.disabled).toBe(true) + mode('value') + expect(control.read().kind).toBe('incomplete') + }) + + it('keeps omission, explicit null and a populated nullable field distinct', () => { + const { control, mode, type, source } = mount({ kind: 'omit' }, { name: 'Nc300', metadata: fields.Nc300 }) + expect(control.read()).toStrictEqual({ kind: 'omit' }) + expect([...source.options].map(x => x.value)).toEqual(['value', 'omit', 'null']) + mode('null'); expect(control.read()).toStrictEqual({ kind: 'value', value: null }) + mode('value'); expect(control.read().kind).toBe('incomplete') + type('2e18 cm^-3'); expect(control.read()).toStrictEqual({ kind: 'value', value: '2e18 cm^-3' }) + mode('null'); mode('value') + expect(control.read()).toStrictEqual({ kind: 'value', value: '2e18 cm^-3' }) + control.set({ kind: 'value', value: null }) + expect(control.read()).toStrictEqual({ kind: 'value', value: null }) + mode('value') + expect(control.read()).toMatchObject({ kind: 'incomplete', message: 'Enter a value or select inheritance explicitly.' }) + }) + + it('uses the required/nullability constraints without copying physical defaults', () => { + const schema = configurationSchema.dto_schemas.FullLayerInput.schema + const { control, source, root, type } = mount({ kind: 'omit' }, { + name: 'thickness', metadata: schema.properties.thickness, required: schema.required.includes('thickness'), + }) + expect([...source.options].map(x => x.value)).toEqual(['value']) + expect(control.read()).toMatchObject({ kind: 'incomplete', message: 'Enter the required value.' }) + expect(root.textContent).toContain('m') + type('400 nm') + expect(control.read()).toStrictEqual({ kind: 'value', value: '400 nm' }) + }) + + it('makes a nonnullable null editable without silently sending it as zero', () => { + const { control, source, type } = mount({ kind: 'value', value: null }) + expect([...source.options].some(x => x.value === 'null')).toBe(false) + expect(control.read().kind).toBe('incomplete') + type('1e-4'); expect(control.read()).toStrictEqual({ kind: 'value', value: '1e-4' }) + }) + + it('resets to new caller input without emitting an edit or resurrecting an earlier value', () => { + const { control, onChange, type, mode } = mount({ kind: 'value', value: -0 }) + type('5'); onChange.mockClear() + control.set({ kind: 'value', value: '6e-8 m^2/(V s)' }) + expect(control.read()).toStrictEqual({ kind: 'value', value: '6e-8 m^2/(V s)' }) + control.set({ kind: 'omit' }) + expect(control.read()).toStrictEqual({ kind: 'omit' }) + expect(onChange).not.toHaveBeenCalled() + mode('value'); expect(control.read().kind).toBe('incomplete') + }) + + it('renders supplied text safely and leaves semantic unit validation to the backend', () => { + const { root, control, type } = mount({ kind: 'value', value: 1 }, { + name: '', metadata: { ...fields.mu_n, title: '', unit: 'unit' }, + }) + expect(root.querySelector('script,img,b')).toBeNull() + expect(root.textContent).toContain('') + type('invalid physical unit') + expect(control.read()).toStrictEqual({ kind: 'value', value: 'invalid physical unit' }) + }) + + it('detaches only its own control and listeners on disposal', () => { + const one = mount({ kind: 'value', value: 1 }), two = mount({ kind: 'value', value: 2 }) + const replacement = document.createElement('p') + one.root.replaceChildren(replacement) + one.control.dispose() + one.type('3'); one.mode('omit'); one.control.set({ kind: 'value', value: 4 }) + expect(one.onChange).not.toHaveBeenCalled() + expect(one.root.firstChild).toBe(replacement) + expect(two.control.read()).toStrictEqual({ kind: 'value', value: 2 }) + expect(two.input.isConnected).toBe(true) + }) +}) diff --git a/web/src/editors/quantity-input.ts b/web/src/editors/quantity-input.ts new file mode 100644 index 00000000..e07f0b55 --- /dev/null +++ b/web/src/editors/quantity-input.ts @@ -0,0 +1,125 @@ +import type { FullParameterInput } from '../generated/configuration-inputs' + +type Quantity = NonNullable + +export type QuantityValue = { kind: 'omit' } | { kind: 'value'; value: Quantity | null } +export type QuantityEdit = QuantityValue | { kind: 'incomplete'; text: string; message: string } + +/** Pass the field metadata and required membership from its generated schema. */ +export interface QuantityInputOptions { + name: string + metadata: { readonly unit: string; readonly nullable?: boolean; readonly title?: string } + required: boolean + initial: QuantityValue + onChange?: (edit: QuantityEdit) => void +} + +export interface QuantityInput { + read(): QuantityEdit + set(value: QuantityValue): void + dispose(): void +} + +let nextId = 0 + +function element(tag: K, text?: string) { + const node = document.createElement(tag) + if (text !== undefined) node.textContent = text + return node +} + +/** Edit only an override. The caller applies it to its original input and asks + * the backend to resolve units and physical constraints. Rendering never does. */ +export function mountQuantityInput(root: HTMLElement, options: QuantityInputOptions): QuantityInput { + // Generated quantity fields omit this flag when their schema excludes null. + const nullable = options.metadata.nullable === true + const id = `quantity-${++nextId}` + const field = element('div') + field.className = 'form-group'; field.dataset.field = options.name + const title = options.metadata.title || options.name + const label = element('label', title) + label.htmlFor = id + const mode = element('select') + mode.setAttribute('aria-label', `${title}: value source`) + mode.dataset.role = 'quantity-source' + mode.add(new Option('Value', 'value')) + if (!options.required) mode.add(new Option('Inherit / use default', 'omit')) + if (nullable) mode.add(new Option('Clear value (null)', 'null')) + const input = element('input') + input.type = 'text'; input.id = id; input.spellcheck = false + input.dataset.role = 'quantity-value' + const unit = element('span', options.metadata.unit) + unit.id = `${id}-unit` + const error = element('span') + error.id = `${id}-error`; error.className = 'status error'; error.setAttribute('role', 'status') + input.setAttribute('aria-describedby', `${unit.id} ${error.id}`) + field.append(label, mode, input, unit, error) + root.replaceChildren(field) + + let original: QuantityValue = { kind: 'omit' } + let edited = false + let disposed = false + + function incomplete(message: string): QuantityEdit { + return { kind: 'incomplete', text: input.value, message } + } + + function read(): QuantityEdit { + if (mode.value === 'omit' && !options.required) return { kind: 'omit' } + if (mode.value === 'null' && nullable) return { kind: 'value', value: null } + if (mode.value !== 'value') return incomplete('Select a permitted value source.') + if (!edited && original.kind === 'value' && original.value === null && !nullable) { + return incomplete(options.required ? 'This field does not accept null. Enter a value.' + : 'This field does not accept null. Enter a value or omit its override.') + } + if (input.value.trim() === '') return incomplete(options.required + ? 'Enter the required value.' : 'Enter a value or select inheritance explicitly.') + const value = !edited && original.kind === 'value' ? original.value : input.value + if (typeof value === 'number' && !Number.isFinite(value)) return incomplete('Enter a finite value.') + // Keep unit expressions and decimal strings intact; conversion and physical + // validation belong to the same Python validator used by the preview API. + return { kind: 'value', value } + } + + function show() { + input.disabled = mode.value !== 'value' + const result = read() + error.textContent = result.kind === 'incomplete' ? result.message : '' + input.setAttribute('aria-invalid', String(result.kind === 'incomplete')) + } + + function set(value: QuantityValue) { + if (disposed) return + original = value.kind === 'omit' ? { kind: 'omit' } : { kind: 'value', value: value.value } + edited = false + input.value = value.kind === 'omit' || value.value === null ? '' + : Object.is(value.value, -0) ? '-0' : String(value.value) + mode.value = value.kind === 'omit' ? options.required ? 'value' : 'omit' + : value.value === null && nullable ? 'null' : 'value' + show() + } + + function onInput() { + edited = true + show(); options.onChange?.(read()) + } + + function onMode() { + // Switching source is explicit, but leaving and returning to a value does + // not round it or replace its original number/string representation. + show(); options.onChange?.(read()) + } + + input.addEventListener('input', onInput) + mode.addEventListener('change', onMode) + set(options.initial) + return { + read, set, + dispose() { + disposed = true + input.removeEventListener('input', onInput) + mode.removeEventListener('change', onMode) + field.remove() + }, + } +} diff --git a/web/src/editors/spatial-experiment.test.ts b/web/src/editors/spatial-experiment.test.ts new file mode 100644 index 00000000..78825563 --- /dev/null +++ b/web/src/editors/spatial-experiment.test.ts @@ -0,0 +1,169 @@ +import { afterEach, describe, expect, it, vi } from 'vitest' +import type { SpatialExperimentInput, SpatialExperimentInputDefinitions } from '../generated/configuration-inputs' +import { configurationSchemaSha256 } from '../generated/configuration-schema' +import { mountSpatialExperimentEditor, mountSpatialExperimentPreview } from './spatial-experiment' +import type { SpatialExperimentEditor } from './spatial-experiment' + +const mounted: SpatialExperimentEditor[] = [] +function input(): SpatialExperimentInput { + return { schema_version: 'solarlab.experiment-preparation.v1', id: 'test', + device: { schema_version: 'solarlab.device-preparation.v1', id: 'device', source_format: 'canonical', + layers: [{ id: 'active', name: '', role: 'absorber', thickness: '400 nm', + parameters: { mu_n: '0.00020000000000000001 m^2/(V s)', Nc300: null }, bulk_defects: [] }], + settings: { phi_left: -0 }, grain_boundaries: [], electrical_grid: [] }, + experiment: { kind: 'jv_2d', lateral_length: '500.00000000000001 nm', Nx: 10, V_max: -0, + illuminated: false, lateral_bc: null, microstructure: {} } } +} +function protocol(): SpatialExperimentInputDefinitions.JV2DProtocolInput { + return { schema_version: 'jv-2d-execution-protocol-v1', temperature_K: '300 K', illuminated: false, + illumination_source: null, initial_state_source: 'one_dimensional_dark_equilibrium', initial_state_voltage_V: -0, + initial_state_settle_s: null, voltage_values_V: [0, '100 mV'], dwell_time_per_voltage_s: '1 ns', + state_topology: 'frozen_ion_background', ion_boundary_condition: 'frozen', carrier_boundary_condition: 'ohmic', + interface_srh: 'off', lateral_bc: 'periodic', x_coordinates_m: [0, '250 nm', '500 nm'], + y_coordinates_m: [0, '200 nm', '400 nm'], grain_boundaries: [], current_composition: 'electron_hole_conduction', + current_sampling: 'instantaneous_dwell_endpoint', applied_voltage_rate_at_sampling_V_s: '-0 mV/s', solver_method: 'Radau', + solver_rtol: 1e-6, solver_atol: { mode: 'scalar', scalar_atol: 1e-8, carrier_fraction: null, ion_fraction: null, + interface_fraction: null, minimum_atol: null, refinement_factor: null }, solver_max_step_divisor: 50, + max_nfev_per_solve: 200000, max_bisect: 6, ion_inventory_rtol: 0, save_snapshots: false, implicit_legacy_protocol: false } +} +function mount(value = input()) { + const root = document.createElement('div'); document.body.append(root) + const onApply = vi.fn(), editor = mountSpatialExperimentEditor(root, { input: value, onApply }); mounted.push(editor) + const path = (parts: (string | number)[]) => [...root.querySelectorAll('[data-path]')].find(node => node.dataset.path === JSON.stringify(parts))! + const choose = (node: HTMLSelectElement, value: string) => { node.value = value; node.dispatchEvent(new Event('change', { bubbles: true })) } + const text = (node: HTMLInputElement, value: string) => { node.value = value; node.dispatchEvent(new Event('input', { bubbles: true })) } + const section = (value: string) => choose(root.querySelector('[data-role=experiment-section]')!, value) + return { root, editor, onApply, path, choose, text, section } +} +afterEach(() => { for (const editor of mounted.splice(0)) editor.dispose(); document.body.replaceChildren(); vi.unstubAllGlobals() }) + +describe('experiment-owned metadata controls', () => { + it('keeps exact no-op input, types, negative zero, unknown payloads and safe labels', () => { + const raw = input(); Reflect.set(raw.device, 'extension', { n: -0, value: null, list: [], units: '3 nm' }) + const before = structuredClone(raw), ui = mount(raw) + expect(ui.editor.read().input).toStrictEqual(before) + expect(ui.editor.apply()).toBe(true); expect(ui.onApply.mock.calls[0][0]).toStrictEqual(before) + expect(ui.root.querySelector('img')).toBeNull() + ui.onApply.mock.calls[0][0].device.layers.length = 0 + expect(ui.editor.read().input.device.layers.length).toBe(1) + expect(raw).toStrictEqual(before) + ui.section('microstructure') + ui.choose(ui.path(['experiment', 'microstructure']).querySelector('select')!, 'value') + expect(ui.editor.read().input).toStrictEqual(before) + }) + + it('edits only the chosen control, preserving focus/caret, words and absence', () => { + const ui = mount(), original = ui.editor.read().input + const control = ui.path(['experiment', 'lateral_length']).querySelector('input')! + control.focus(); control.value = '0.5 um'; control.setSelectionRange(3, 3); control.dispatchEvent(new Event('input')) + expect(document.activeElement).toBe(control); expect(control.selectionStart).toBe(3) + expect(ui.editor.read().input).toStrictEqual({ ...original, experiment: { ...original.experiment, lateral_length: '0.5 um' } }) + const numeric = ui.path(['experiment', 'Nx']).querySelector('input')! + ui.text(numeric, '0'); expect(ui.editor.read().input.experiment.Nx).toBe(0) + ui.text(numeric, ''); expect(ui.editor.read().incomplete).toContainEqual(['experiment', 'Nx']) + expect(ui.editor.apply()).toBe(false); expect(ui.editor.read().input.experiment.Nx).toBe(0) + ui.text(numeric, '12'); expect(ui.editor.apply()).toBe(true) + ui.choose(ui.path(['experiment', 'lateral_length']).querySelector('select')!, 'omit') + expect(Object.hasOwn(ui.editor.read().input.experiment, 'lateral_length')).toBe(false) + ui.editor.discard(); expect(ui.editor.read().input).toStrictEqual(original) + }) + + it('distinguishes null, empty overrides and omitted inheritance without physical initialization', () => { + const ui = mount() + ui.choose(ui.path(['experiment', 'lateral_bc']).querySelector('select')!, 'omit') + expect(Object.hasOwn(ui.editor.read().input.experiment, 'lateral_bc')).toBe(false) + ui.choose(ui.path(['experiment', 'lateral_bc']).querySelector('select')!, 'null') + expect(Reflect.get(ui.editor.read().input.experiment, 'lateral_bc')).toBeNull() + ui.section('microstructure') + ui.choose(ui.path(['experiment', 'microstructure', 'grain_boundaries']).querySelector('select')!, 'value') + expect(Reflect.get(ui.editor.read().input.experiment, 'microstructure')).toStrictEqual({ grain_boundaries: [] }) + ui.choose(ui.path(['experiment', 'microstructure']).querySelector('select')!, 'omit') + expect(Object.hasOwn(ui.editor.read().input.experiment, 'microstructure')).toBe(false) + ui.section('tolerance') + ui.choose(ui.path(['experiment', 'componentwise_atol']).querySelector('select')!, 'value') + expect(Reflect.get(ui.editor.read().input.experiment, 'componentwise_atol')).toStrictEqual({}) + expect(ui.editor.read().incomplete).toContainEqual(['experiment', 'componentwise_atol', 'minimum_atol']) + }) + + it('keeps pending protocol array text with its row through move, copy, remove and navigation', () => { + const raw = input(); if (raw.experiment.kind !== 'jv_2d') throw Error('fixture') + raw.experiment.jv_2d_protocol = protocol() + const ui = mount(raw); ui.section('protocol') + const row = ['experiment', 'jv_2d_protocol', 'x_coordinates_m', 1] + ui.text(ui.path(row).querySelector('input')!, '') + const array = () => [...ui.root.querySelectorAll('[data-array]')].find(node => node.dataset.array === JSON.stringify(row.slice(0, -1)))! + array().querySelectorAll('[data-action=move-up]')[1].click() + expect(ui.editor.read().incomplete).toContainEqual([...row.slice(0, -1), 0]) + array().querySelectorAll('[data-action=copy-row]')[0].click() + ui.section('controls'); ui.section('protocol') + expect(ui.path([...row.slice(0, -1), 0]).querySelector('input')!.value).toBe('') + expect(Reflect.get(ui.editor.read().input.experiment, 'jv_2d_protocol').x_coordinates_m).toStrictEqual(['250 nm', '250 nm', 0, '500 nm']) + array().querySelectorAll('[data-action=remove-row]')[0].click() + expect(ui.editor.read().incomplete).not.toContainEqual([...row.slice(0, -1), 0]) + expect(ui.editor.apply()).toBe(true) // Invalid coordinate order reaches authoritative validation. + }) + + it('edits both size aliases independently and preserves explicit unit strings', () => { + const raw = input(); raw.experiment = { kind: 'voc_grain_sweep', grain_sizes_nm: [500, '1 um'], grain_sizes: null } + const ui = mount(raw) + ui.text(ui.path(['experiment', 'grain_sizes_nm', 0]).querySelector('input')!, '0.5 um') + expect(ui.editor.read().input.experiment).toStrictEqual({ kind: 'voc_grain_sweep', grain_sizes_nm: ['0.5 um', '1 um'], grain_sizes: null }) + expect(ui.root.textContent).toContain('Bare numbers use nm') + ui.editor.setInput(input()); expect(ui.editor.read().input).toStrictEqual(input()) + }) + + it('joins device edits without overwriting experiment controls and disposes safely', () => { + const ui = mount(), name = ui.root.querySelector('[data-role=experiment-device] [data-field=name][data-area=basic] input')! + ui.text(name, 'Edited absorber') + expect(ui.editor.read().dirty).toBe(true) + expect(ui.editor.apply()).toBe(true) + expect(ui.onApply.mock.calls[0][0].device.layers[0].name).toBe('Edited absorber') + expect(Object.is(ui.onApply.mock.calls[0][0].experiment.V_max, -0)).toBe(true) + ui.editor.dispose(); ui.text(name, 'late'); expect(ui.editor.apply()).toBe(false) + expect(ui.onApply).toHaveBeenCalledTimes(1) + }) +}) + +function response(raw: SpatialExperimentInput) { + return JSON.stringify({ schema: 'solarlab.configuration-preview.v1', kind: 'experiment', status: 'prepared_pending_dependencies', + can_execute: false, input: raw, resolved: { schema: 'solarlab.resolved-spatial-experiment-preparation.v1', id: raw.id, can_execute: false }, + identity: { scope: 'configuration_content', content_sha256: 'a'.repeat(64), default_catalog_sha256: 'b'.repeat(64), + resource_library_sha256: 'c'.repeat(64), configuration_schema_sha256: configurationSchemaSha256 } }) + .replace('"V_max":0', '"V_max":-0.0').replace('"phi_left":0', '"phi_left":-0.0') +} + +describe('composed experiment preparation surface', () => { + it('uses the accepted schema-bound client, preserves original response on reopen and displays actual errors safely', async () => { + const raw = input(), json = response(raw), fetcher = vi.fn().mockResolvedValue(new Response(json, { headers: { 'Content-Type': 'application/json' } })) + vi.stubGlobal('fetch', fetcher) + const root = document.createElement('div'); document.body.append(root) + const ui = mountSpatialExperimentPreview(root, { endpoint: '/configuration-preview/experiment', input: raw }); mounted.push(ui) + await ui.ready + expect(fetcher.mock.calls[0][1].headers['X-Solarlab-Configuration-Schema']).toBe(configurationSchemaSha256) + expect(root.querySelector('[data-panel=configuration-preview]')?.getAttribute('data-state')).toBe('ready') + expect(root.querySelector('pre')?.textContent).toBe(json) + fetcher.mockResolvedValueOnce(new Response(JSON.stringify({ detail: { status: 'unresolved', can_execute: false, + code: 'configuration_validation', message: '', field_errors: [{ loc: ['experiment', 'Nx'], msg: '' }] } }), + { status: 422, headers: { 'Content-Type': 'application/json' } })) + expect(ui.apply()).toBe(true); await ui.ready + expect(root.querySelector('[data-panel=configuration-preview]')?.getAttribute('data-state')).toBe('unresolved') + expect(root.querySelector('script,img')).toBeNull(); expect(root.textContent).toContain('Nx') + await ui.reopen(json); expect(ui.read().input).toStrictEqual(raw) + }) + + it('aborts only owned preview fetches on replacement/disposal and ignores late responses', async () => { + const requests: { signal: AbortSignal; resolve: (value: Response) => void }[] = [] + vi.stubGlobal('fetch', vi.fn((_endpoint, init) => new Promise(resolve => requests.push({ signal: init.signal, resolve })))) + const root = document.createElement('div'); document.body.append(root) + const ui = mountSpatialExperimentPreview(root, { endpoint: '/a', input: input() }); mounted.push(ui) + const second = { ...input(), id: 'second' }, ready = ui.select(second, '/b') + expect(requests[0].signal.aborted).toBe(true) + requests[1].resolve(new Response(response(second), { headers: { 'Content-Type': 'application/json' } })); await ready + requests[0].resolve(new Response(response(input()), { headers: { 'Content-Type': 'application/json' } })) + await Promise.resolve(); expect(root.textContent).toContain('second') + const third = ui.select(input(), '/c'); ui.dispose() + expect(requests[2].signal.aborted).toBe(true) + requests[2].resolve(new Response(response(input()), { headers: { 'Content-Type': 'application/json' } })); await third + expect(root.childElementCount).toBe(0) + }) +}) diff --git a/web/src/editors/spatial-experiment.ts b/web/src/editors/spatial-experiment.ts new file mode 100644 index 00000000..fefe1ef7 --- /dev/null +++ b/web/src/editors/spatial-experiment.ts @@ -0,0 +1,294 @@ +/** Experiment-owned geometry/protocol controls composed with the device editor. + * Generated metadata describes input; only the server decides its semantics. */ +import type { DeviceInput, SpatialExperimentInput } from '../generated/configuration-inputs' +import { configurationSchema } from '../generated/configuration-schema' +import { spatialExperimentInputFromPreview } from '../configuration-client' +import { mountConfigurationPreviewPanel } from '../panels/configuration-preview' +import { mountDeviceEditor, mountScalar } from './device-editor' +import type { FieldEdit, FieldValue, FieldSchema, Path, RowMutation } from './device-edits' +import { allowsNull, exactInputEqual, movedRow, mutateRows } from './device-edits' + +export interface SpatialExperimentDraft { + input: SpatialExperimentInput + dirty: boolean + incomplete: Path[] +} +export interface SpatialExperimentEditor { + read(): SpatialExperimentDraft + setInput(input: SpatialExperimentInput): void + apply(): boolean + discard(): void + dispose(): void +} +type Schema = FieldSchema & { readonly item_input_unit?: string } +type DraftEdit = Exclude | { kind: 'value'; value: unknown } +const definitions: Readonly> = configurationSchema.dto_schemas.SpatialExperimentInput.schema.$defs +function element(tag: K, text?: string) { + const node = document.createElement(tag) + if (text !== undefined) node.textContent = text + return node +} +function at(value: unknown, path: Path): unknown { + for (const key of path) { + if (!value || typeof value !== 'object') return undefined + value = Reflect.get(value, key) + } + return value +} +function under(path: Path, prefix: Path) { return prefix.every((key, index) => path[index] === key) } + +/** One copied experiment draft; the accepted device editor owns its nested draft. + * Reading/applying joins the two without recreating either from effective data. */ +export function mountSpatialExperimentEditor(root: HTMLElement, options: { + input: SpatialExperimentInput; onApply(input: SpatialExperimentInput): void +}): SpatialExperimentEditor { + let baseline = structuredClone(options.input), draft = structuredClone(options.input) + let disposed = false, section = 'controls', lastApplied: SpatialExperimentInput | undefined + const pending = new Map }>() + const controls: { dispose(): void }[] = [] + const card = element('section'); card.className = 'card'; card.dataset.panel = 'spatial-experiment-editor' + card.style.minWidth = '0'; card.style.overflowWrap = 'anywhere' + const title = element('h3'), status = element('p'), fields = element('div') + status.setAttribute('role', 'status'); status.dataset.role = 'experiment-draft-status' + fields.dataset.role = 'experiment-fields' + const navigation = element('select'); navigation.setAttribute('aria-label', 'Experiment section') + navigation.dataset.role = 'experiment-section' + const deviceDetails = element('details'), deviceHost = element('div'); deviceHost.dataset.role = 'experiment-device' + deviceDetails.append(element('summary', 'Device layers, materials and models'), deviceHost) + const applyButton = element('button', 'Apply experiment to preview'), discardButton = element('button', 'Discard experiment changes') + applyButton.type = discardButton.type = 'button'; applyButton.className = discardButton.className = 'btn btn-ghost' + applyButton.dataset.action = 'apply-experiment'; discardButton.dataset.action = 'discard-experiment' + const actions = element('div'); actions.className = 'toolbar'; actions.append(applyButton, discardButton) + card.append(title, element('p', 'Edit declared controls, then apply to inspect the preparation result. No mesh, initial state or simulation is created.'), + status, actions, deviceDetails, navigation, fields) + root.replaceChildren(card) + const device = mountDeviceEditor(deviceHost, { input: draft.device, onApply: () => { apply() } }) + + function read(): SpatialExperimentDraft { + const child = device.read() + const input = { ...structuredClone(draft), device: child.input as DeviceInput } + return { input, dirty: !exactInputEqual(input, baseline), + incomplete: [...pending.values()].map(item => [...item.path]).concat(child.incomplete.map(path => ['device', ...path])) } + } + function updateStatus() { + if (disposed) return + const current = read() + card.dataset.state = current.incomplete.length ? 'incomplete' : current.dirty ? 'draft' : 'unchanged' + const applied = !!lastApplied && exactInputEqual(current.input, lastApplied) + card.dataset.previewRelation = applied ? 'matches-last-submission' : 'not-submitted' + status.textContent = current.incomplete.length ? `Finish incomplete edits: ${current.incomplete.map(path => JSON.stringify(path)).join('; ')}` + : applied ? 'Draft matches the last submitted input. Read the preparation result or validation errors below; execution remains disabled.' + : current.dirty ? 'Draft changed. The preview still describes the last submitted input.' + : 'Supplied input unchanged. Effective values appear in the preview; they are not copied into this input.' + applyButton.disabled = current.incomplete.length > 0 + } + function write(path: Path, value: DraftEdit) { + const key = JSON.stringify(path) + if (value.kind === 'incomplete') pending.set(key, { path, edit: value }) + else { + const owner = at(draft, path.slice(0, -1)) + if (!owner || typeof owner !== 'object') throw new Error('Create this declaration before editing its fields.') + if (value.kind === 'omit') Reflect.deleteProperty(owner, path.at(-1)!) + else Reflect.set(owner, path.at(-1)!, structuredClone(value.value)) + pending.delete(key) + } + updateStatus() + } + function forget(path: Path) { + for (const [key, value] of pending) if (under(value.path, path)) pending.delete(key) + } + function scalar(host: HTMLElement, path: Path, metadata: Schema, required: boolean) { + const value = at(draft, path), key = JSON.stringify(path), saved = pending.get(key) + const box = element('div'); box.dataset.path = key; box.dataset.field = String(path.at(-1)) + const scalarValue = value === null || ['string', 'number', 'boolean'].includes(typeof value) + const initial: FieldValue = saved ? { kind: 'value', value: saved.edit.text } + : scalarValue ? { kind: 'value', value: value as string | number | boolean | null } : { kind: 'omit' } + const control = mountScalar(box, String(path.at(-1)), metadata, required, initial, edit => { if (!disposed) write(path, edit) }) + controls.push(control) + if (value !== undefined && !scalarValue) box.append(element('p', 'Supplied non-scalar data is retained until explicitly replaced.')) + const edit = control.read() + if (edit.kind === 'incomplete') pending.set(key, { path, edit }) + else if (saved) pending.set(key, saved) + host.append(box) + } + function scalarFields(host: HTMLElement, path: Path, schema: Schema, except: readonly string[] = []) { + const grid = element('div'); grid.style.display = 'grid'; grid.style.gap = '12px' + grid.style.gridTemplateColumns = 'repeat(auto-fit, minmax(min(100%, 260px), 1fr))' + for (const [name, metadata] of Object.entries(schema.properties ?? {})) { + if (!except.includes(name)) scalar(grid, [...path, name], metadata, !!schema.required?.includes(name)) + } + host.append(grid) + } + function button(label: string, action: string, callback: () => void) { + const button = element('button', label); button.type = 'button'; button.className = 'btn btn-ghost'; button.dataset.action = action + button.addEventListener('click', () => { if (!disposed) callback() }) + return button + } + function presence(host: HTMLElement, path: Path, metadata: Schema, required: boolean, empty: object) { + const value = at(draft, path), box = element('div'), mode = element('select') + box.dataset.path = JSON.stringify(path); mode.dataset.role = 'declaration-source' + mode.setAttribute('aria-label', `${metadata.title ?? path.at(-1)}: declaration`) + mode.add(new Option('Explicit declaration', 'value')) + if (!required) mode.add(new Option('Omit / inherit', 'omit')) + if (allowsNull(metadata)) mode.add(new Option('Explicit null', 'null')) + mode.value = value === undefined ? 'omit' : value === null ? 'null' : 'value' + if (required && value === undefined) { + mode.add(new Option('Required declaration missing', 'missing')); mode.value = 'missing' + pending.set(JSON.stringify(path), { path, edit: { kind: 'incomplete', text: '', message: 'Create the required declaration.' } }) + } + mode.addEventListener('change', () => { + if (disposed || mode.value === 'missing') return + forget(path) + write(path, mode.value === 'omit' ? { kind: 'omit' } : { kind: 'value', value: mode.value === 'null' ? null : at(draft, path) ?? empty }) + render() + }) + box.append(element('p', metadata.title ?? String(path.at(-1))), mode); host.append(box) + return value !== undefined && value !== null + } + function mutate(path: Path, action: RowMutation, inserted?: unknown) { + const values = at(draft, path) + if (!Array.isArray(values)) return + const next = new Map }>() + for (const entry of pending.values()) { + if (under(entry.path, path) && typeof entry.path[path.length] === 'number') { + const moved = movedRow(entry.path[path.length] as number, action) + if (moved === undefined) continue + const shifted = [...entry.path]; shifted[path.length] = moved + next.set(JSON.stringify(shifted), { ...entry, path: shifted }) + } else next.set(JSON.stringify(entry.path), entry) + } + mutateRows(values, action, path, inserted) + pending.clear(); for (const [key, entry] of next) pending.set(key, entry) + render() + } + function array(host: HTMLElement, path: Path, metadata: Schema, required: boolean, + rowSchema?: Schema, rowFields?: (host: HTMLElement, path: Path) => void) { + const box = element('section'); box.dataset.array = JSON.stringify(path); box.className = 'device-settings' + host.append(box) + if (!presence(box, path, metadata, required, [])) return + const values = at(draft, path) + if (!Array.isArray(values)) { box.append(element('p', 'Supplied value is retained. Choose an explicit array to replace it.')); return } + if (metadata.item_input_unit) box.append(element('p', `Bare numbers use ${metadata.item_input_unit}; unit strings remain unchanged. Effective values use ${metadata.item_unit}.`)) + values.forEach((value, index) => { + const row = element('div'); row.dataset.row = String(index); row.className = 'card' + row.append(element('h4', `${metadata.title ?? path.at(-1)} — row ${index + 1}`)) + const actions = element('div'); actions.className = 'toolbar' + const move = (to: number) => mutate(path, { kind: 'move', from: index, to }) + const up = button('Move up', 'move-up', () => move(index - 1)), down = button('Move down', 'move-down', () => move(index + 1)) + up.disabled = index === 0; down.disabled = index === values.length - 1 + actions.append(up, down, button('Copy stored row', 'copy-row', () => mutate(path, { kind: 'insert', index: index + 1 }, value)), + button('Remove row', 'remove-row', () => mutate(path, { kind: 'remove', index }))) + row.append(actions) + if (rowFields) rowFields(row, [...path, index]) + else scalar(row, [...path, index], rowSchema ?? { ...metadata.items, unit: metadata.item_unit, title: `Value ${index + 1}` }, true) + box.append(row) + }) + box.append(button(rowFields ? 'Add empty row' : 'Add empty value', 'add-row', () => mutate(path, { kind: 'insert', index: values.length }, rowFields ? {} : ''))) + } + function protocol(host: HTMLElement) { + const path: Path = ['experiment', 'jv_2d_protocol'], metadata = definitions.JV2DInput.properties!.jv_2d_protocol + if (!presence(host, path, metadata, false, {})) return + host.append(element('p', 'These are supplied protocol declarations. Coordinate and schedule arrays are not generated or bound to an executable state. Fixed-voltage sampling currently permits a zero voltage rate only.')) + const schema = definitions.JV2DProtocolInput + scalarFields(host, path, schema, ['voltage_values_V', 'x_coordinates_m', 'y_coordinates_m', 'grain_boundaries', 'solver_atol']) + for (const name of ['voltage_values_V', 'x_coordinates_m', 'y_coordinates_m']) array(host, [...path, name], schema.properties![name], true) + const tolerance = element('section'); host.append(tolerance) + if (presence(tolerance, [...path, 'solver_atol'], schema.properties!.solver_atol, true, {})) scalarFields(tolerance, [...path, 'solver_atol'], definitions.JV2DAtolInput) + array(host, [...path, 'grain_boundaries'], schema.properties!.grain_boundaries, true, undefined, + (row, rowPath) => scalarFields(row, rowPath, definitions.JV2DGrainProtocolInput)) + } + function microstructure(host: HTMLElement) { + const path: Path = ['experiment', 'microstructure'] + if (!presence(host, path, definitions.JV2DInput.properties!.microstructure, false, {})) return + host.append(element('p', 'The current backend inherits device grain bands for an omitted, null or empty object override. An explicit empty grain array clears them. Geometry bounds and boundary support are checked by preparation.')) + array(host, [...path, 'grain_boundaries'], definitions.MicrostructureInput.properties!.grain_boundaries, false, undefined, + (row, rowPath) => { + scalarFields(row, rowPath, definitions.GrainBoundaryInput, ['layer_ids']) + array(row, [...rowPath, 'layer_ids'], definitions.GrainBoundaryInput.properties!.layer_ids, true) + }) + } + function render() { + for (const control of controls.splice(0)) control.dispose() + fields.replaceChildren() + const jv = draft.experiment.kind === 'jv_2d' + title.textContent = jv ? 'Two-dimensional J–V preparation' : 'Grain-size sweep preparation' + navigation.replaceChildren(...(jv ? [['controls', 'Geometry and sweep controls'], ['tolerance', 'Componentwise tolerance policy'], + ['microstructure', 'Microstructure override'], ['protocol', 'Supplied execution protocol']] : [['controls', 'Grain sizes and sweep controls']]) + .map(([value, label]) => new Option(label, value))) + if (![...navigation.options].some(option => option.value === section)) section = 'controls' + navigation.value = section + if (section === 'protocol') protocol(fields) + else if (section === 'microstructure') microstructure(fields) + else if (section === 'tolerance') { + const path = ['experiment', 'componentwise_atol'] + if (presence(fields, path, definitions.JV2DInput.properties!.componentwise_atol, false, {})) scalarFields(fields, path, definitions.ComponentwiseAtolInput) + fields.append(element('p', 'Scalar atol and an explicit componentwise policy are alternative declarations. Choosing one does not silently clear the other; conflicts appear in preparation.')) + } else { + const schema = definitions[jv ? 'JV2DInput' : 'GrainSweepInput'] + fields.append(element('p', 'Nx counts intervals; the declared node count is Nx + 1. The current caller uses uniform lateral spacing and Ny_per_layer for every electrical layer. The retained device electrical-grid document is not applied by this experiment.')) + scalarFields(fields, ['experiment'], schema, ['kind', 'microstructure', 'componentwise_atol', 'jv_2d_protocol', 'grain_sizes_nm', 'grain_sizes']) + if (!jv) for (const name of ['grain_sizes_nm', 'grain_sizes']) array(fields, ['experiment', name], schema.properties![name], false) + } + updateStatus() + } + function apply() { + const current = read() + if (disposed || current.incomplete.length) return false + lastApplied = structuredClone(current.input); options.onApply(structuredClone(current.input)); updateStatus(); return true + } + function discard() { + if (disposed) return + draft = structuredClone(baseline); pending.clear(); device.setInput(draft.device); render() + } + const navigate = () => { if (!disposed) { section = navigation.value; render() } } + navigation.addEventListener('change', navigate); applyButton.addEventListener('click', apply); discardButton.addEventListener('click', discard) + for (const event of ['input', 'change', 'click']) deviceHost.addEventListener(event, updateStatus) + render() + return { read, apply, discard, + setInput(input) { if (!disposed) { baseline = structuredClone(input); draft = structuredClone(input); pending.clear(); lastApplied = undefined; device.setInput(draft.device); render() } }, + dispose() { + if (disposed) return + disposed = true + for (const control of controls.splice(0)) control.dispose() + navigation.removeEventListener('change', navigate); applyButton.removeEventListener('click', apply); discardButton.removeEventListener('click', discard) + for (const event of ['input', 'change', 'click']) deviceHost.removeEventListener(event, updateStatus) + device.dispose(); pending.clear(); card.remove() + }, + } +} + +export interface SpatialExperimentPreview extends SpatialExperimentEditor { + readonly ready: Promise + select(input: SpatialExperimentInput, endpoint?: string | URL): Promise + reopen(originalResponseJson: string): Promise +} + +/** Public preparation surface, using the accepted client/panel and exact JSON. */ +export function mountSpatialExperimentPreview(root: HTMLElement, options: { + input: SpatialExperimentInput; endpoint: string | URL +}): SpatialExperimentPreview { + let endpoint = options.endpoint, disposed = false + const editorHost = element('div'), previewHost = element('div'), reopen = element('details') + const source = element('textarea'), error = element('p'), open = element('button', 'Reopen supplied input') + source.setAttribute('aria-label', 'Original experiment preview JSON'); source.rows = 6; source.style.width = '100%' + open.type = 'button'; open.className = 'btn btn-ghost'; open.dataset.action = 'reopen-experiment' + error.setAttribute('role', 'alert') + reopen.append(element('summary', 'Reopen an exported preview'), source, open, error) + root.replaceChildren(editorHost, previewHost, reopen) + const panel = mountConfigurationPreviewPanel(previewHost, { endpoint, kind: 'experiment', input: options.input }) + let ready = panel.ready + const editor = mountSpatialExperimentEditor(editorHost, { input: options.input, + onApply(input) { ready = panel.select({ endpoint, kind: 'experiment', input }) } }) + async function select(input: SpatialExperimentInput, nextEndpoint = endpoint) { + if (disposed) return + endpoint = nextEndpoint; editor.setInput(input) + ready = panel.select({ endpoint, kind: 'experiment', input }); await ready + } + async function reopenInput(json: string) { if (!disposed) await select(spatialExperimentInputFromPreview(json)) } + const clicked = () => { error.textContent = ''; void reopenInput(source.value).catch(cause => { if (!disposed) error.textContent = String(cause) }) } + open.addEventListener('click', clicked) + return { read: editor.read, apply: editor.apply, discard: editor.discard, setInput: input => { void select(input) }, + get ready() { return ready }, select, reopen: reopenInput, + dispose() { if (!disposed) { disposed = true; open.removeEventListener('click', clicked); editor.dispose(); panel.dispose(); root.replaceChildren() } }, + } +} diff --git a/web/src/editors/sweep.test.ts b/web/src/editors/sweep.test.ts new file mode 100644 index 00000000..0b5e096d --- /dev/null +++ b/web/src/editors/sweep.test.ts @@ -0,0 +1,154 @@ +import { afterEach, describe, expect, it, vi } from 'vitest' +import type { SweepInput, DeviceInput, JVExperimentInput } from '../generated/configuration-inputs' +import { configurationSchemaSha256 } from '../generated/configuration-schema' +import { mountSweepEditor, mountSweepPreview, sweepTargets } from './sweep' +import type { SweepEditor } from './sweep' + +const mounted: SweepEditor[] = [] +function device(): DeviceInput { + return { schema_version: 'solarlab.device-preparation.v1', id: 'device', source_format: 'canonical', + layers: [{ id: 'pvk', name: ' PVK', role: 'absorber', thickness: '400 nm', material: 'named', parameters: { D_ion: -0, P0: 10, chi: '4 eV' } }, + { id: 'etl', name: 'ETL', role: 'ETL', thickness: '20 nm', parameters: { chi: '4.1 eV' } }], + settings: { phi_left: -0 }, materials: [{ id: 'named', name: 'Supplied material', parameters: { mu_n: '0.00020000000000000001 m^2/(V s)' } }], interfaces: [], electrical_grid: [] } +} +function input(): SweepInput { + return { schema_version: 'solarlab.sweep-preparation.v1', id: 'sweep', base: device(), reference_id: null, + axes: [{ id: 'diffusion', target: { family: 'layer_parameter', owner_id: 'pvk', parameter: ['D_ion'] }, coordinates: [{ kind: 'value', value: -0 }, { kind: 'value', value: '1e-18 m^2/s' }, { kind: 'omit' }] }, + { id: 'concentration', target: { family: 'layer_parameter', owner_id: 'pvk', parameter: ['P0'] }, coordinates: [{ kind: 'value', value: 0 }] }] } +} +function mount(raw = input()) { + const root = document.createElement('div'); document.body.append(root) + const onApply = vi.fn(), editor = mountSweepEditor(root, { input: raw, onApply }); mounted.push(editor) + const path = (parts: (string | number)[]) => [...root.querySelectorAll('[data-path]')].find(node => node.dataset.path === JSON.stringify(parts))! + const select = (role: string, value: string) => { const element = root.querySelector(`[data-role=${role}]`)!; element.value = value; element.dispatchEvent(new Event('change', { bubbles: true })) } + const text = (parts: (string | number)[], value: string) => { const element = path(parts).querySelector('input')!; element.value = value; element.dispatchEvent(new Event('input', { bubbles: true })) } + const click = (action: string) => root.querySelector(`[data-action=${action}]`)!.click() + return { root, editor, onApply, path, select, text, click } +} +afterEach(() => { for (const value of mounted.splice(0)) value.dispose(); document.body.replaceChildren(); vi.unstubAllGlobals() }) + +describe('explicit sweep editing', () => { + it('preserves no-op input, unknown members, units and numeric signed zero without rendering markup', () => { + const raw = input(); Reflect.set(raw.base, 'future_payload', { retained: [-0, null, false] }); const before = structuredClone(raw), ui = mount(raw) + ui.select('sweep-axis', '1'); ui.select('sweep-axis', '0'); ui.select('sweep-coordinate', '1'); ui.select('sweep-coordinate', '2') + expect(ui.editor.read().input).toStrictEqual(before); expect(ui.editor.apply()).toBe(true) + expect(ui.onApply.mock.calls[0][0]).toStrictEqual(before); expect(raw).toStrictEqual(before) + expect(ui.root.querySelector('img,script')).toBeNull() + ui.onApply.mock.calls[0][0].axes.length = 0; expect(ui.editor.read().input.axes).toHaveLength(2) + }) + it('edits coordinate text without moving focus/caret and keeps blank edits incomplete', () => { + const ui = mount(), path = ['axes', 0, 'coordinates', 0] + const element = ui.path(path).querySelector('input')!; element.focus(); element.value = '0 m^2/s'; element.setSelectionRange(2, 2); element.dispatchEvent(new Event('input')) + expect(document.activeElement).toBe(element); expect(element.selectionStart).toBe(2) + const coordinates = ui.root.querySelector('[data-role=sweep-coordinate]')! + expect(coordinates.selectedOptions[0].textContent).toBe('1: 0 m^2/s') + expect(ui.editor.read().input.axes[0].coordinates[0]).toStrictEqual({ kind: 'value', value: '0 m^2/s' }) + ui.text(['axes', 0, 'id'], 'mobility control') + expect(ui.root.querySelector('[data-role=sweep-axis]')!.selectedOptions[0].textContent).toBe('1: mobility control') + ui.text(path, ''); expect(ui.editor.apply()).toBe(false) + expect(coordinates.selectedOptions[0].textContent).toBe('1: (empty) (incomplete)') + expect(ui.editor.read().incomplete).toContainEqual(path) + ui.select('sweep-axis', '1'); ui.select('sweep-axis', '0') + expect(ui.path(path).querySelector('input')!.value).toBe('') + ui.editor.discard(); expect(ui.editor.read().input).toStrictEqual(input()) + }) + it('keeps pending coordinates with their intended row through reorder, copy and removal', () => { + const ui = mount(); ui.text(['axes', 0, 'coordinates', 0], '') + ui.click('move-coordinate-down'); expect(ui.editor.read().incomplete).toContainEqual(['axes', 0, 'coordinates', 1]) + ui.click('copy-coordinate'); expect(ui.editor.read().incomplete).toContainEqual(['axes', 0, 'coordinates', 1]) + ui.select('sweep-coordinate', '1'); expect(ui.path(['axes', 0, 'coordinates', 1]).querySelector('input')!.value).toBe('') + ui.click('remove-coordinate'); expect(ui.editor.read().incomplete).toEqual([]) + expect(ui.editor.read().input.axes[0].coordinates[1]).toStrictEqual({ kind: 'value', value: -0 }) + ui.click('move-axis-down'); expect(ui.root.querySelector('[data-role=sweep-axis]')!.value).toBe('1') + expect(ui.editor.read().input.axes[1]!.id).toBe('diffusion') + }) + it('uses generated nullable/required metadata, stable targets and explicit empty creation', () => { + const raw = input(); raw.axes = [{ id: 'contact', target: { family: 'setting', parameter: ['work_function_left_eV'] }, coordinates: [{ kind: 'value', value: null }, { kind: 'omit' }] }] + const ui = mount(raw); expect(ui.editor.apply()).toBe(true) + expect(ui.editor.read().input.axes[0].coordinates).toStrictEqual(raw.axes[0].coordinates) + ui.click('add-coordinate'); expect(ui.editor.read().incomplete).toContainEqual(['axes', 0, 'coordinates', 2]) + ui.click('remove-coordinate'); ui.click('add-axis') + expect(ui.editor.read().input.axes[1]).toStrictEqual({ id: '', target: {}, coordinates: [] }) + expect(ui.editor.apply()).toBe(false) + ui.text(['axes', 1, 'id'], 'cbo') + const index = sweepTargets(raw.base).findIndex(value => value.target.family === 'cbo') + ui.select('sweep-target', String(index)); ui.click('add-coordinate'); ui.text(['axes', 1, 'coordinates', 0], '-200 meV') + expect(ui.editor.apply()).toBe(true) + expect(ui.editor.read().input.axes[1]!.target).toStrictEqual({ family: 'cbo', owner_id: 'etl', reference_id: 'pvk', parameter: ['chi'] }) + expect(ui.editor.read().input.base).toStrictEqual(raw.base) + }) + it('preserves base J-V history and joins selected device edits without normalizing the sweep', () => { + const raw = input(), base: JVExperimentInput = { schema_version: 'solarlab.experiment-preparation.v1', id: 'jv', device: device(), experiment: { kind: 'jv', v_rate: '40 mV/s', V_max: null, illuminated: false } } + raw.base = base; const ui = mount(raw) + const name = ui.root.querySelector('[data-field=name][data-area=basic] input')! + name.value = 'Changed name'; name.dispatchEvent(new Event('input', { bubbles: true })) + expect(ui.editor.apply()).toBe(true) + expect((ui.onApply.mock.calls[0][0].base as JVExperimentInput).experiment).toStrictEqual(base.experiment) + expect((ui.onApply.mock.calls[0][0].base as JVExperimentInput).device.layers[0].id).toBe('pvk') + ui.editor.dispose(); name.value = 'late'; name.dispatchEvent(new Event('input', { bubbles: true })); expect(ui.editor.apply()).toBe(false) + expect(ui.onApply).toHaveBeenCalledTimes(1) + }) +}) + +function response(raw: SweepInput) { + const point = { id: 'point:abc', status: 'prepared_pending_dependencies', can_execute: false, simulation_status: 'not_started', execution_identity: null, + applied_input: raw.base, coordinates: { diffusion: { kind: 'value', value: -0 } }, reference: { status: 'reference_missing', reason: '' }, effective_targets: { diffusion: { value: -0, origin: 'layer_input:pvk' } } } + return JSON.stringify({ schema: 'solarlab.configuration-preview.v1', kind: 'sweep', status: 'prepared_pending_dependencies', can_execute: false, input: raw, + resolved: { schema: 'solarlab.resolved-sweep-preparation.v1', id: raw.id, can_execute: false, points: [point], + reference_scope: { interpretation: { interface_density_choice: 'historical_areal_input', interface_density_axes: [{ axis_id: 'Nt', reported_unit: 'cm^-3', input_unit: 'cm^-2', resolved_unit: 'm^-2' }] } } }, identity: { scope: 'configuration_content', content_sha256: 'a'.repeat(64), default_catalog_sha256: 'b'.repeat(64), resource_library_sha256: 'c'.repeat(64), configuration_schema_sha256: configurationSchemaSha256 } }) + .replaceAll('"D_ion":0', '"D_ion":-0.0').replaceAll('"phi_left":0', '"phi_left":-0.0').replaceAll('"value":0}', '"value":-0.0}').replace('"value":0,"origin"', '"value":-0.0,"origin"') +} +describe('sweep preview integration', () => { + it('labels the conduction-band offset separately from the resolved electron affinities', async () => { + const raw = input() + raw.axes = [{ id: 'CBO', target: { family: 'cbo', owner_id: 'etl', reference_id: 'pvk', parameter: ['chi'] }, coordinates: [{ kind: 'value', value: '-1 eV' }] }] + const document = JSON.parse(response(raw)) + document.resolved.points[0].coordinates = { CBO: { kind: 'value', value: '-1 eV' } } + document.resolved.points[0].effective_targets = { CBO: { value: 5, offset_eV: -1, reference_affinity_eV: 4, origin: 'layer_input:etl' } } + document.resolved.points[0].applied_input.layers[1].parameters.chi = '5 eV' + vi.stubGlobal('fetch', vi.fn(async () => new Response(JSON.stringify(document), { headers: { 'Content-Type': 'application/json' } }))) + const root = window.document.createElement('div'); window.document.body.append(root) + const ui = mountSweepPreview(root, { input: raw, endpoints: { sweep: '/sweep', device: '/device', experiment: '/experiment' } }); mounted.push(ui) + await ui.ready + const text = root.querySelector('[data-role=point-effective-values]')!.textContent + expect(text).toContain('CBO: -1 eV') + expect(text).toContain('ETL electron affinity: 5 eV') + expect(text).toContain('absorber electron affinity: 4 eV') + expect(text).not.toContain('CBO: 5') + }) + it('uses original response bytes for reopen and selected-point input through the accepted client', async () => { + const raw = input(); raw.axes = [raw.axes[0]] + const json = response(raw), fetcher = vi.fn().mockImplementation(async () => new Response(json, { headers: { 'Content-Type': 'application/json' } })) + vi.stubGlobal('fetch', fetcher) + const root = document.createElement('div'); document.body.append(root) + const ui = mountSweepPreview(root, { input: raw, endpoints: { sweep: '/sweep', device: '/device', experiment: '/experiment' } }); mounted.push(ui) + await ui.ready + expect(fetcher.mock.calls[0][1].headers['X-Solarlab-Configuration-Schema']).toBe(configurationSchemaSha256) + expect(root.textContent).toContain('reference_missing'); expect(root.querySelector('script')).toBeNull() + const interpretation = root.querySelector('[data-role=sweep-reference-interpretation]')! + expect(interpretation.hidden).toBe(false) + expect(interpretation.textContent).toContain('historical_areal_input') + expect(interpretation.textContent).toContain('reported cm^-3; declared cm^-2; resolved m^-2') + expect(interpretation.textContent).toContain('no verified native SCAPS input') + expect(root.querySelector('[data-role=point-effective-values]')!.textContent).toContain('-0') + expect(root.querySelector('pre')!.textContent).toBe(json) + await ui.openPoint('point:abc') + expect(fetcher.mock.calls[1][0]).toBe('/device') + expect(fetcher.mock.calls[1][1].body).toContain('"D_ion":-0.0') + await ui.reopen(json); expect(ui.read().input).toStrictEqual(raw) + }) + it('ignores late responses and closes only owned previews on replacement/disposal', async () => { + const requests: { signal: AbortSignal; resolve(value: Response): void }[] = [] + vi.stubGlobal('fetch', vi.fn((_url, init) => new Promise(resolve => requests.push({ signal: init.signal, resolve })))) + const root = document.createElement('div'); document.body.append(root) + const raw = input(), ui = mountSweepPreview(root, { input: raw, endpoints: { sweep: '/sweep', device: '/device', experiment: '/experiment' } }); mounted.push(ui) + const second = { ...raw, id: 'second' }, waiting = ui.select(second) + expect(requests[0].signal.aborted).toBe(true) + requests[1].resolve(new Response(response(second), { headers: { 'Content-Type': 'application/json' } })); await waiting + requests[0].resolve(new Response(response(raw), { headers: { 'Content-Type': 'application/json' } })); await Promise.resolve() + expect(ui.read().input.id).toBe('second') + const third = ui.select(raw); ui.dispose(); expect(requests[2].signal.aborted).toBe(true) + requests[2].resolve(new Response(response(raw), { headers: { 'Content-Type': 'application/json' } })); await third + expect(root.childElementCount).toBe(0) + }) +}) diff --git a/web/src/editors/sweep.ts b/web/src/editors/sweep.ts new file mode 100644 index 00000000..3dad8e83 --- /dev/null +++ b/web/src/editors/sweep.ts @@ -0,0 +1,283 @@ +/** Explicit serial sweep declarations composed with the existing input editors. */ +import type { DeviceInput, JVExperimentInput, SweepInput, SweepInputDefinitions } from '../generated/configuration-inputs' +import { configurationSchema } from '../generated/configuration-schema' +import { sweepInputFromPreview, sweepPointInputFromPreview } from '../configuration-client' +import { mountConfigurationPreviewPanel } from '../panels/configuration-preview' +import type { ConfigurationPreviewPanel } from '../panels/configuration-preview' +import { mountDeviceEditor, mountScalar } from './device-editor' +import { mountJVExperimentEditor } from './jv-experiment' +import { exactInputEqual, movedRow, mutateRows, schemaVariants } from './device-edits' +import type { FieldEdit, FieldSchema, FieldValue, Path, RowMutation } from './device-edits' + +type Target = SweepInputDefinitions.SweepTargetInput +type Base = DeviceInput | JVExperimentInput +type TargetChoice = { target: Target; label: string; metadata: FieldSchema; required: boolean } +const definitions: Readonly> = configurationSchema.dto_schemas.SweepInput.schema.$defs +const sweepSchema: FieldSchema = configurationSchema.dto_schemas.SweepInput.schema +function node(tag: K, text?: string) { + const value = document.createElement(tag); if (text !== undefined) value.textContent = text; return value +} +function display(value: unknown): string { return Object.is(value, -0) ? '-0' : value === null ? 'null' : String(value) } +function object(value: unknown): value is Record { return value !== null && typeof value === 'object' && !Array.isArray(value) } +function at(value: unknown, path: Path): unknown { for (const key of path) { if (!value || typeof value !== 'object') return undefined; value = Reflect.get(value, key) } return value } +function under(path: Path, prefix: Path) { return prefix.every((key, index) => path[index] === key) } + +/** Field lists and units come from generated DTOs. Array indexes are only UI + * positions; the transmitted target uses the supplied stable instance IDs. */ +export function sweepTargets(base: Base): TargetChoice[] { + const device = base.schema_version === 'solarlab.device-preparation.v1' ? base : base.device, choices: TargetChoice[] = [] + function fields(model: FieldSchema, target: Omit, label: string, prefix: string[] = []) { + for (const [name, metadata] of Object.entries(model.properties ?? {})) { + if (['id', 'kind', 'schema_version', 'request_api'].includes(name) + || schemaVariants(metadata).some(value => value.$ref || ['array', 'object'].includes(value.type ?? ''))) continue + choices.push({ target: { ...target, parameter: [...prefix, name] as Target['parameter'] }, + label: `${label} / ${[...prefix, name].join('.')}`, metadata, required: !!model.required?.includes(name) }) + } + } + fields(definitions.DeviceSettingsInput, { family: 'setting' }, 'Device settings') + if (base.schema_version === 'solarlab.experiment-preparation.v1') fields(definitions[base.experiment.kind === 'jv' ? 'JVInput' : 'DarkJVInput'], { family: 'jv' }, 'J–V controls') + for (const layer of device.layers) { + const duplicates = device.layers.filter(item => item.id === layer.id).length > 1 ? ' (duplicate ID)' : '' + fields(definitions.FullParameterInput, { family: 'layer_parameter', owner_id: layer.id }, `${layer.name} [${layer.id}]${duplicates}`) + for (const defect of layer.bulk_defects ?? []) { + if ('distribution' in defect) fields(definitions.DistributionInput, { family: 'bulk_defect', owner_id: layer.id, local_id: defect.id }, `${layer.id} / ${defect.name ?? defect.id} [${defect.id}]`, ['distribution']) + if ('energy_level' in defect && defect.energy_level) fields(definitions.EnergyLevelInput, { family: 'bulk_defect', owner_id: layer.id, local_id: defect.id }, `${layer.id} / ${defect.name ?? defect.id} [${defect.id}]`, ['energy_level']) + } + } + for (const material of device.materials ?? []) fields(definitions.FullParameterInput, { family: 'material_parameter', owner_id: material.id }, `Material ${material.name ?? material.id} [${material.id}]`) + for (const item of device.interfaces ?? []) if (item.defect) fields(definitions.InterfaceDefectInput, + { family: 'interface_defect', owner_id: item.id, local_id: item.defect.id }, `${item.left} → ${item.right} [${item.id}/${item.defect.id}]`) + for (const etl of device.layers.filter(item => item.role === 'ETL')) for (const pvk of device.layers.filter(item => item.role === 'absorber')) { + choices.push({ target: { family: 'cbo', owner_id: etl.id, reference_id: pvk.id, parameter: ['chi'] }, + label: `CBO: ${pvk.id} affinity − ${etl.id} affinity`, metadata: { ...definitions.FullParameterInput.properties!.chi, title: 'Conduction-band offset' }, required: true }) + } + return choices +} + +export interface SweepDraft { input: SweepInput; dirty: boolean; incomplete: Path[] } +export interface SweepEditor { read(): SweepDraft; setInput(input: SweepInput): void; apply(): boolean; discard(): void; dispose(): void } + +export function mountSweepEditor(root: HTMLElement, options: { input: SweepInput; onApply(input: SweepInput): void }): SweepEditor { + let baseline = structuredClone(options.input), draft = structuredClone(options.input), disposed = false + let axisIndex = 0, coordinateIndex = 0, lastApplied: SweepInput | undefined + const pending = new Map }>(), controls: { dispose(): void }[] = [] + const card = node('section'); card.className = 'card'; card.dataset.panel = 'sweep-editor'; card.style.minWidth = '0'; card.style.overflowWrap = 'anywhere' + const status = node('p'), fields = node('div'), navigation = node('select'), actions = node('div'), baseDetails = node('details'), baseHost = node('div') + status.setAttribute('role', 'status'); status.dataset.role = 'sweep-draft-status'; actions.className = 'toolbar' + navigation.setAttribute('aria-label', 'Sweep axis'); navigation.dataset.role = 'sweep-axis' + baseDetails.append(node('summary', 'Base device and J–V input'), baseHost) + const applyButton = button('Apply sweep to preview', 'apply-sweep', () => { apply() }), discardButton = button('Discard sweep changes', 'discard-sweep', discard) + actions.append(applyButton, discardButton) + card.append(node('h3', 'Serial sweep preparation'), node('p', 'Declare one or two axes and inspect each prepared point. No numerical scan, point reuse or execution qualification is performed.'), status, actions, baseDetails, navigation, fields) + root.replaceChildren(card) + let child: { read(): { input: Base; incomplete: Path[] }; dispose(): void } + function mountBase() { + child?.dispose() + const editor = draft.base.schema_version === 'solarlab.device-preparation.v1' + ? mountDeviceEditor(baseHost, { input: draft.base, onApply: () => { apply() } }) + : mountJVExperimentEditor(baseHost, { input: draft.base, onApply: () => { apply() } }) + child = { read: () => { const value = editor.read(); return { input: value.input as Base, incomplete: value.incomplete } }, dispose: editor.dispose } + } + mountBase() + function read(): SweepDraft { + const nested = child.read(), input = { ...structuredClone(draft), base: nested.input } + return { input, dirty: !exactInputEqual(input, baseline), incomplete: [...pending.values()].map(item => [...item.path]).concat(nested.incomplete.map(path => ['base', ...path])) } + } + function updateStatus() { + if (disposed) return + const value = read(), applied = !!lastApplied && exactInputEqual(value.input, lastApplied) + for (const [index, option] of [...navigation.options].entries()) option.textContent = `${index + 1}: ${draft.axes[index]?.id || 'Unnamed axis'}` + const coordinateSelect = fields.querySelector('[data-role=sweep-coordinate]') + if (coordinateSelect) for (const [index, option] of [...coordinateSelect.options].entries()) option.textContent = coordinateLabel(index) + card.dataset.state = value.incomplete.length ? 'incomplete' : value.dirty ? 'draft' : 'unchanged' + card.dataset.previewRelation = applied ? 'matches-last-submission' : 'not-submitted' + status.textContent = value.incomplete.length ? `Finish incomplete edits: ${value.incomplete.map(path => JSON.stringify(path)).join('; ')}` + : applied ? 'Draft matches the last submission. Each point may still have validation errors; all points remain non-executable.' + : value.dirty ? 'Draft changed. The preview still describes the last submitted sweep.' : 'Supplied sweep unchanged. Omission inherits through the resolver.' + applyButton.disabled = value.incomplete.length > 0 + } + function coordinateLabel(index: number) { + const value = draft.axes[axisIndex]?.coordinates[index], edit = pending.get(JSON.stringify(['axes', axisIndex, 'coordinates', index])) + return `${index + 1}: ${edit ? `${edit.edit.text || '(empty)'} (incomplete)` : value?.kind === 'omit' ? 'inherit / omit' : display(value?.value)}` + } + function button(label: string, action: string, callback: () => void) { + const value = node('button', label); value.type = 'button'; value.className = 'btn btn-ghost'; value.dataset.action = action + value.addEventListener('click', () => { if (!disposed) callback() }); return value + } + function write(path: Path, value: FieldEdit) { + const key = JSON.stringify(path) + if (value.kind === 'incomplete') pending.set(key, { path, edit: value }) + else { + const owner = at(draft, path.slice(0, -1)); if (!owner || typeof owner !== 'object') throw Error('Create the selected declaration first.') + if (value.kind === 'omit') Reflect.deleteProperty(owner, path.at(-1)!) + else Reflect.set(owner, path.at(-1)!, value.value) + pending.delete(key) + } + updateStatus() + } + function scalar(host: HTMLElement, path: Path, metadata: FieldSchema, required: boolean, initial: FieldValue, + changed: (edit: FieldEdit) => void = edit => write(path, edit)) { + const key = JSON.stringify(path), saved = pending.get(key), box = node('div'); box.dataset.path = key + const control = mountScalar(box, String(path.at(-1)), metadata, required, saved ? { kind: 'value', value: saved.edit.text } : initial, + edit => { if (!disposed) { if (edit.kind === 'incomplete') pending.set(key, { path, edit }); else pending.delete(key); changed(edit) } }) + controls.push(control); host.append(box) + const edit = control.read(); if (edit.kind === 'incomplete') pending.set(key, { path, edit }); else if (saved) pending.set(key, saved) + } + function mutate(path: Path, action: RowMutation, inserted?: unknown) { + const values = at(draft, path); if (!Array.isArray(values)) return + const entries = [...pending.values()]; pending.clear() + for (const entry of entries) { + if (under(entry.path, path) && typeof entry.path[path.length] === 'number') { + const moved = movedRow(entry.path[path.length] as number, action); if (moved === undefined) continue + entry.path = [...entry.path]; entry.path[path.length] = moved + } + pending.set(JSON.stringify(entry.path), entry) + } + mutateRows(values, action, path, inserted) + const selected = path.length === 1 ? axisIndex : coordinateIndex + const next = action.kind === 'insert' ? action.index : movedRow(selected, action) ?? Math.min(selected, values.length - 1) + if (path.length === 1) { axisIndex = Math.max(0, next); coordinateIndex = 0 } else coordinateIndex = Math.max(0, next) + render() + } + function rowActions(host: HTMLElement, path: Path, index: number, value: unknown, count: number, noun: string) { + const bar = node('div'); bar.className = 'toolbar' + const up = button(`Move ${noun} earlier`, `move-${noun}-up`, () => mutate(path, { kind: 'move', from: index, to: index - 1 })) + const down = button(`Move ${noun} later`, `move-${noun}-down`, () => mutate(path, { kind: 'move', from: index, to: index + 1 })) + up.disabled = index === 0; down.disabled = index === count - 1 + bar.append(up, down, button(`Copy ${noun}`, `copy-${noun}`, () => mutate(path, { kind: 'insert', index: index + 1 }, value)), + button(`Remove ${noun}`, `remove-${noun}`, () => mutate(path, { kind: 'remove', index }))) + host.append(bar) + } + function render() { + for (const control of controls.splice(0)) control.dispose() + fields.replaceChildren(); navigation.replaceChildren(...draft.axes.map((axis, index) => new Option(`${index + 1}: ${axis.id || 'Unnamed axis'}`, String(index)))) + axisIndex = Math.max(0, Math.min(axisIndex, draft.axes.length - 1)); navigation.value = String(axisIndex) + scalar(fields, ['id'], sweepSchema.properties!.id, true, { kind: 'value', value: draft.id }) + scalar(fields, ['reference_id'], sweepSchema.properties!.reference_id, false, + Object.hasOwn(draft, 'reference_id') ? { kind: 'value', value: draft.reference_id ?? null } : { kind: 'omit' }) + const add = button('Add empty axis', 'add-axis', () => mutate(['axes'], { kind: 'insert', index: draft.axes.length }, { id: '', target: {}, coordinates: [] })) + add.disabled = draft.axes.length >= 2; fields.append(add) + const axis = draft.axes[axisIndex] + if (!axis) { updateStatus(); return } + rowActions(fields, ['axes'], axisIndex, axis, draft.axes.length, 'axis') + scalar(fields, ['axes', axisIndex, 'id'], definitions.SweepAxisInput.properties!.id, true, { kind: 'value', value: axis.id }) + const choices = sweepTargets(child.read().input), targetSelect = node('select'), path: Path = ['axes', axisIndex, 'target'], key = JSON.stringify(path) + targetSelect.setAttribute('aria-label', 'Stable parameter target'); targetSelect.dataset.role = 'sweep-target' + targetSelect.add(new Option('Choose a supplied parameter instance', '')) + choices.forEach((choice, index) => targetSelect.add(new Option(choice.label, String(index)))) + const selected = choices.findIndex(choice => exactInputEqual(choice.target, axis.target)) + if (selected === -1 && Object.keys(axis.target).length) { + targetSelect.add(new Option(`Unavailable supplied target: ${JSON.stringify(axis.target)}`, 'retained')); targetSelect.value = 'retained' + } else targetSelect.value = selected < 0 ? '' : String(selected) + if (selected < 0 && !Object.keys(axis.target).length) pending.set(key, { path, edit: { kind: 'incomplete', text: '', message: 'Select a target.' } }) + targetSelect.addEventListener('change', () => { + if (disposed || targetSelect.value === '' || targetSelect.value === 'retained') return + axis.target = structuredClone(choices[targetSelect.selectedIndex - 1].target); pending.delete(key); render() + }) + fields.append(node('p', 'Parameter instance (stable IDs)'), targetSelect) + const choice = choices[selected] + if (choice) fields.append(node('p', `Target: ${JSON.stringify(axis.target)}${choice.target.family === 'cbo' ? ' — effective absorber affinity minus the declared offset; no V_bi adjustment.' : ''}`)) + const coordinates = node('select'); coordinates.dataset.role = 'sweep-coordinate'; coordinates.setAttribute('aria-label', 'Declared coordinate') + axis.coordinates.forEach((_value, index) => coordinates.add(new Option(coordinateLabel(index), String(index)))) + coordinateIndex = Math.max(0, Math.min(coordinateIndex, axis.coordinates.length - 1)); coordinates.value = String(coordinateIndex) + coordinates.addEventListener('change', () => { if (!disposed) { coordinateIndex = coordinates.selectedIndex; render() } }) + fields.append(node('p', 'Ordered coordinates'), coordinates) + const valuesPath: Path = ['axes', axisIndex, 'coordinates'], coordinate = axis.coordinates[coordinateIndex] + if (coordinate) { + rowActions(fields, valuesPath, coordinateIndex, coordinate, axis.coordinates.length, 'coordinate') + if (choice) { + const valuePath = [...valuesPath, coordinateIndex] + scalar(fields, valuePath, { ...choice.metadata, title: 'Coordinate value' }, choice.required, + coordinate.kind === 'omit' ? { kind: 'omit' } : { kind: 'value', value: coordinate.value ?? null }, edit => { + if (edit.kind !== 'incomplete') { + if (edit.kind === 'omit') { coordinate.kind = 'omit'; Reflect.deleteProperty(coordinate, 'value') } + else { coordinate.kind = 'value'; coordinate.value = edit.value } + } + updateStatus() + }) + } else fields.append(node('p', 'Coordinate words are retained while the target is unavailable; select a supported target to edit them.')) + } + fields.append(button('Add empty coordinate', 'add-coordinate', () => mutate(valuesPath, { kind: 'insert', index: axis.coordinates.length }, { kind: 'value', value: '' })), + node('p', 'One axis declares its coordinates; two axes declare their Cartesian product in the supplied order. Equivalent duplicate coordinates and resource-limit overflow are reported without truncation.')) + updateStatus() + } + function apply() { const value = read(); if (disposed || value.incomplete.length) return false; lastApplied = structuredClone(value.input); options.onApply(structuredClone(value.input)); updateStatus(); return true } + function discard() { if (!disposed) { draft = structuredClone(baseline); pending.clear(); mountBase(); render() } } + const navigate = () => { if (!disposed) { axisIndex = navigation.selectedIndex; coordinateIndex = 0; render() } } + navigation.addEventListener('change', navigate) + for (const event of ['input', 'change', 'click']) baseHost.addEventListener(event, updateStatus) + render() + return { read, apply, discard, + setInput(input) { if (!disposed) { baseline = structuredClone(input); draft = structuredClone(input); pending.clear(); axisIndex = coordinateIndex = 0; lastApplied = undefined; mountBase(); render() } }, + dispose() { if (!disposed) { disposed = true; for (const item of controls.splice(0)) item.dispose(); child.dispose(); navigation.removeEventListener('change', navigate); for (const event of ['input', 'change', 'click']) baseHost.removeEventListener(event, updateStatus); pending.clear(); card.remove() } }, + } +} + +export interface SweepPreview extends SweepEditor { readonly ready: Promise; select(input: SweepInput): Promise; reopen(json: string): Promise; openPoint(id: string): Promise } +export function mountSweepPreview(root: HTMLElement, options: { input: SweepInput; endpoints: { sweep: string | URL; device: string | URL; experiment: string | URL } }): SweepPreview { + let disposed = false, generation = 0, selectedPoint = '', pointPanel: ConfigurationPreviewPanel | undefined + const editorHost = node('div'), previewHost = node('div'), pointHost = node('div'), pointView = node('section'), points = node('select'), detail = node('p'), values = node('p'), error = node('p'), referenceNote = node('p') + previewHost.dataset.role = 'sweep-preview'; pointHost.dataset.role = 'point-preview' + pointView.className = 'card'; pointView.dataset.panel = 'sweep-points'; points.setAttribute('aria-label', 'Prepared point'); points.dataset.role = 'prepared-point' + const open = node('button', 'Open selected point input'); open.type = 'button'; open.className = 'btn btn-ghost'; open.dataset.action = 'open-point' + values.dataset.role = 'point-effective-values'; error.setAttribute('role', 'alert') + referenceNote.dataset.role = 'sweep-reference-interpretation'; referenceNote.hidden = true + pointView.append(node('h3', 'Points from the last submitted sweep'), referenceNote, points, detail, values, open, error, pointHost) + const source = node('textarea'), reopenDetails = node('details'), reopenButton = node('button', 'Reopen sweep input') + source.rows = 6; source.style.width = '100%'; source.setAttribute('aria-label', 'Original sweep preview JSON'); reopenButton.type = 'button'; reopenButton.dataset.action = 'reopen-sweep'; reopenButton.className = 'btn btn-ghost' + reopenDetails.append(node('summary', 'Reopen an exported sweep'), source, reopenButton) + root.replaceChildren(editorHost, pointView, previewHost, reopenDetails) + const panel = mountConfigurationPreviewPanel(previewHost, { endpoint: options.endpoints.sweep, kind: 'sweep', input: options.input }) + function records() { const value = panel.document?.value.resolved.points; return Array.isArray(value) ? value.filter(object) : [] } + function showPoint() { + const value = records().find(point => point.id === selectedPoint) + detail.textContent = value ? `${value.status}; simulation: ${value.simulation_status}; reference: ${object(value.reference) ? value.reference.status : 'unavailable'}${object(value.reference) && value.reference.reason ? ' — ' + value.reference.reason : ''}` : 'Apply a sweep to inspect its points.' + if (object(value?.reference) && value.reference.baseline_matches === false) detail.textContent += ' — Base input differs from the reference declaration; coverage is not a qualified comparison.' + if (Array.isArray(value?.field_errors)) detail.textContent += ' — ' + value.field_errors.filter(object).map(field => `${JSON.stringify(field.loc)}: ${field.msg}`).join('; ') + values.textContent = object(value?.effective_targets) ? Object.entries(value.effective_targets).filter(([, item]) => object(item)) + .map(([name, item]) => { + const field = item as Record + if (Object.hasOwn(field, 'offset_eV')) return `${name}: ${display(field.offset_eV)} eV; ETL electron affinity: ${display(field.value)} eV; absorber electron affinity: ${display(field.reference_affinity_eV)} eV; origin: ${field.origin}` + return `${name}: ${Object.hasOwn(field, 'value') ? display(field.value) : 'named-material consumers retained'}; origin: ${field.origin}` + }).join(' · ') : '' + open.disabled = !value || !object(value.applied_input) + } + function refreshed() { + const scope = panel.document?.value.resolved.reference_scope, interpretation = object(scope) && object(scope.interpretation) ? scope.interpretation : undefined + referenceNote.hidden = !interpretation?.interface_density_choice + if (interpretation?.interface_density_choice) { + const axes = Array.isArray(interpretation.interface_density_axes) ? interpretation.interface_density_axes.filter(object) : [] + const units = axes.map(axis => `${axis.axis_id}: reported ${axis.reported_unit}; declared ${axis.input_unit}; resolved ${axis.resolved_unit}.`).join(' ') + referenceNote.textContent = `SCAPS interface-density channel: ${interpretation.interface_density_choice}. ${units || 'This sweep has no interface-density axis.'} This is the historical areal-input hypothesis, with no thickness conversion and no verified native SCAPS input.` + } else referenceNote.textContent = '' + const values = records(); if (!values.some(point => point.id === selectedPoint)) selectedPoint = String(values[0]?.id ?? '') + points.replaceChildren(...values.map(point => new Option(`${object(point.coordinates) ? Object.entries(point.coordinates).map(([name, value]) => `${name}=${object(value) && value.kind === 'omit' ? 'inherit' : object(value) ? display(value.value) : display(value)}`).join(', ') : point.id} — ${point.status}`, String(point.id)))) + points.value = selectedPoint; showPoint() + } + let ready = panel.ready.then(refreshed) + async function submit(input: SweepInput) { + const current = ++generation; pointPanel?.dispose(); pointPanel = undefined; error.textContent = '' + await panel.select({ endpoint: options.endpoints.sweep, kind: 'sweep', input }) + if (!disposed && current === generation) refreshed() + } + const editor = mountSweepEditor(editorHost, { input: options.input, onApply(input) { ready = submit(input) } }) + async function select(input: SweepInput) { if (!disposed) { editor.setInput(input); ready = submit(input); await ready } } + async function reopen(json: string) { if (!disposed) await select(sweepInputFromPreview(json)) } + async function openPoint(id: string) { + if (disposed || !panel.document) return + const input = sweepPointInputFromPreview(panel.document.json, id); selectedPoint = id; points.value = id; showPoint() + pointPanel?.dispose() + pointPanel = input.schema_version === 'solarlab.device-preparation.v1' + ? mountConfigurationPreviewPanel(pointHost, { endpoint: options.endpoints.device, kind: 'device', input }) + : mountConfigurationPreviewPanel(pointHost, { endpoint: options.endpoints.experiment, kind: 'experiment', input }) + await pointPanel.ready + } + const changed = () => { if (!disposed) { selectedPoint = points.value; showPoint() } } + const opened = () => { error.textContent = ''; ready = openPoint(selectedPoint).catch(cause => { if (!disposed) error.textContent = String(cause) }) } + const reopened = () => { error.textContent = ''; ready = reopen(source.value).catch(cause => { if (!disposed) error.textContent = String(cause) }) } + points.addEventListener('change', changed); open.addEventListener('click', opened); reopenButton.addEventListener('click', reopened) + return { read: editor.read, apply: editor.apply, discard: editor.discard, setInput: input => { void select(input) }, select, reopen, openPoint, + get ready() { return ready }, + dispose() { if (!disposed) { disposed = true; generation++; editor.dispose(); panel.dispose(); pointPanel?.dispose(); points.removeEventListener('change', changed); open.removeEventListener('click', opened); reopenButton.removeEventListener('click', reopened); root.replaceChildren() } }, + } +} diff --git a/perovskite-sim/frontend/src/explicit-defect-capability.test.ts b/web/src/explicit-defect-capability.test.ts similarity index 100% rename from perovskite-sim/frontend/src/explicit-defect-capability.test.ts rename to web/src/explicit-defect-capability.test.ts diff --git a/perovskite-sim/frontend/src/explicit-defect-capability.ts b/web/src/explicit-defect-capability.ts similarity index 100% rename from perovskite-sim/frontend/src/explicit-defect-capability.ts rename to web/src/explicit-defect-capability.ts diff --git a/web/src/generated/configuration-inputs.ts b/web/src/generated/configuration-inputs.ts new file mode 100644 index 00000000..9909470d --- /dev/null +++ b/web/src/generated/configuration-inputs.ts @@ -0,0 +1,6951 @@ +// Generated by web/scripts/generate-configuration-inputs.mjs; do not edit. +// Compiler: json-schema-to-typescript 16.0.0 (locked development dependency). +// Structural editable inputs only; backend DTO validators remain authoritative. +// TypeScript does not validate numeric bounds, units, string patterns or cross-field semantics. +// Excess-property checks apply to fresh object literals; these are not runtime validators. +// Each ambient namespace isolates one complete Python schema reference graph. +// Normalized/resolved/result types, protocol envelopes and production integration remain pending. + +// Source DTO: solarlab.device.inputs:BulkDefectInput +// Schema SHA-256 (JSON.stringify): 86c367d193f8d6a865d269cb09bb2fc50fe005d56f8053d277e10a6cfd7a0c92 +export declare namespace BulkDefectInputDefinitions { + export type ChargeTransition = 'neutral' | 'acceptor' | 'donor' | 'unresolved'; + export type Degeneracy = number | string; + export type CenterEvAboveVb = (number | string | null) | null; + export type EnergyReference = 'above_valence_band' | null; + export type Kind = + 'single_level' | 'gaussian' | 'uniform' | 'conduction_band_tail' | 'valence_band_tail'; + export type Normalization = 'integrated_total'; + export type SupportWidthMultiplier = (number | string | null) | null; + export type TotalDensityM3 = number | string; + export type WidthConvention = + | ( + | 'not_applicable' + | 'gaussian_standard_deviation' + | 'scaps_characteristic_energy' + | 'uniform_full_width' + | 'unresolved' + ) + | null; + export type WidthEv = (number | string | null) | null; + export type Reference = 'below_conduction_band' | 'above_valence_band'; + export type ValueEv = number | string; + export type Id = string; + export type SigmaNM2 = number | string; + export type SigmaPM2 = number | string; + export type ThermalVelocityNMS = number | string; + export type ThermalVelocityPMS = number | string; + export type Name = string | null; + export type NeutralReference = 'all_occupancies' | 'empty' | 'filled' | 'unresolved'; + export type Coordinate = 'normalized_layer_coordinate'; + export type DensityNormalization = 'layer_average_unity'; + export type Interpolation = 'piecewise_linear'; + export type DensityMultiplier = number | string; + export type PositionFraction = number | string; + export type Knots = SpatialKnotInput[]; + + export interface BulkDefectInput { + charge_transition: ChargeTransition; + degeneracy: Degeneracy; + distribution: DistributionInput; + energy_level?: EnergyLevelInput | null; + id: Id; + kinetics: KineticsInput; + name?: Name; + neutral_reference: NeutralReference; + spatial_profile?: SpatialProfileInput | null; + } + /** + * This interface was referenced by `BulkDefectInput`'s JSON-Schema + * via the `definition` "DistributionInput". + */ + export interface DistributionInput { + center_eV_above_vb?: CenterEvAboveVb; + energy_reference?: EnergyReference; + kind: Kind; + normalization: Normalization; + support_width_multiplier?: SupportWidthMultiplier; + total_density_m3: TotalDensityM3; + width_convention?: WidthConvention; + width_eV?: WidthEv; + } + /** + * This interface was referenced by `BulkDefectInput`'s JSON-Schema + * via the `definition` "EnergyLevelInput". + */ + export interface EnergyLevelInput { + reference: Reference; + value_eV: ValueEv; + } + /** + * This interface was referenced by `BulkDefectInput`'s JSON-Schema + * via the `definition` "KineticsInput". + */ + export interface KineticsInput { + sigma_n_m2: SigmaNM2; + sigma_p_m2: SigmaPM2; + thermal_velocity_n_m_s: ThermalVelocityNMS; + thermal_velocity_p_m_s: ThermalVelocityPMS; + } + /** + * This interface was referenced by `BulkDefectInput`'s JSON-Schema + * via the `definition` "SpatialProfileInput". + */ + export interface SpatialProfileInput { + coordinate: Coordinate; + density_normalization: DensityNormalization; + interpolation: Interpolation; + knots: Knots; + } + /** + * This interface was referenced by `BulkDefectInput`'s JSON-Schema + * via the `definition` "SpatialKnotInput". + */ + export interface SpatialKnotInput { + density_multiplier: DensityMultiplier; + position_fraction: PositionFraction; + } +} +export type BulkDefectInput = BulkDefectInputDefinitions.BulkDefectInput; + +// Source DTO: solarlab.materials.optics:CigsOpticsInput +// Schema SHA-256 (JSON.stringify): 8331b9db817aa03b8510582497eb5d7c214284c1b5815a0d7a87e73de46991a7 +export declare namespace CigsOpticsInputDefinitions { + export type Cgi = number | string; + export type GgiBack = number | string; + export type GgiFront = number | string; + export type KkQuadratureOrder = number; + export type Model = 'minoura_2015'; + export type Slices = number; + + /** + * GGI endpoints follow the layer's electrical grading coordinate. + * + * Absent model, slice and quadrature values are supplied by the injected catalog, + * compiled from the existing model declaration. None is never a numeric default. + */ + export interface CigsOpticsInput { + cgi: Cgi; + ggi_back: GgiBack; + ggi_front: GgiFront; + kk_quadrature_order?: KkQuadratureOrder; + model?: Model; + slices?: Slices; + } +} +export type CigsOpticsInput = CigsOpticsInputDefinitions.CigsOpticsInput; + +// Source DTO: solarlab.device.inputs:ContactInput +// Schema SHA-256 (JSON.stringify): c3feffd7a5beaa71e242451d4e17a9df83acddef401d7ec2efd074d5dc525cf4 +export declare namespace ContactInputDefinitions { + export type SN = (number | string | null) | null; + export type SP = (number | string | null) | null; + export type Id = string; + export type Layer = string; + export type Side = 'left' | 'right'; + + export interface ContactInput { + S_n?: SN; + S_p?: SP; + id: Id; + layer: Layer; + side: Side; + } +} +export type ContactInput = ContactInputDefinitions.ContactInput; + +// Source DTO: solarlab.device.inputs:DeviceInput +// Schema SHA-256 (JSON.stringify): ad4c6a7fca7153fb6e3445effe564a61809c81c33674f9035bbd2fd2bde32ee5 +export declare namespace DeviceInputDefinitions { + export type SN = (number | string | null) | null; + export type SP = (number | string | null) | null; + export type Id = string; + export type Layer = string; + export type Side = 'left' | 'right'; + export type Contacts = ContactInput[]; + export type Description = string | null; + export type Alpha = number | string; + export type IntervalWeight = number | string; + export type Layer1 = string; + export type ElectricalGrid = GridLayerInput[]; + export type FixedGeneration = string | null; + export type Id1 = string; + export type LayerIds = string[]; + export type SourceLayerRole = string | null; + export type TauN = number | string; + export type TauP = number | string; + export type Width = number | string; + export type XPosition = number | string; + export type GrainBoundaries = GrainBoundaryInput[]; + export type Id2 = string; + export type CalibrationFactor = number | string; + export type EnergyReference = 'below_conduction_band' | 'above_valence_band'; + export type Id3 = string; + export type IfaceStateCalibrationFactor = number | string; + export type SigmaNM2 = number | string; + export type SigmaPM2 = number | string; + export type ThermalVelocityNMS = number | string; + export type ThermalVelocityPMS = number | string; + export type ECharEv = (number | string | null) | null; + export type NPeakM3 = (number | string | null) | null; + export type DefectId = string; + export type Distribution = 'single' | 'gaussian'; + export type EnergyReference1 = 'below_conduction_band' | 'above_valence_band'; + export type TrapDepthEv = number | string; + export type TotalDensityM2 = number | string; + export type TrapDepthEv1 = number | string; + export type Id4 = string; + export type Left = string; + export type Right = string; + export type VN = (number | string | null) | null; + export type VP = (number | string | null) | null; + export type Interfaces = InterfaceInput[]; + export type ChargeTransition = 'neutral' | 'acceptor' | 'donor' | 'unresolved'; + export type Degeneracy = number | string; + export type CenterEvAboveVb = (number | string | null) | null; + export type EnergyReference2 = 'above_valence_band' | null; + export type Kind = + 'single_level' | 'gaussian' | 'uniform' | 'conduction_band_tail' | 'valence_band_tail'; + export type Normalization = 'integrated_total'; + export type SupportWidthMultiplier = (number | string | null) | null; + export type TotalDensityM3 = number | string; + export type WidthConvention = + | ( + | 'not_applicable' + | 'gaussian_standard_deviation' + | 'scaps_characteristic_energy' + | 'uniform_full_width' + | 'unresolved' + ) + | null; + export type WidthEv = (number | string | null) | null; + export type Reference = 'below_conduction_band' | 'above_valence_band'; + export type ValueEv = number | string; + export type Id5 = string; + export type Name = string | null; + export type NeutralReference = 'all_occupancies' | 'empty' | 'filled' | 'unresolved'; + export type Coordinate = 'normalized_layer_coordinate'; + export type DensityNormalization = 'layer_average_unity'; + export type Interpolation = 'piecewise_linear'; + export type DensityMultiplier = number | string; + export type PositionFraction = number | string; + export type Knots = SpatialKnotInput[]; + export type ChargeStatesE = number[]; + export type DegeneracyConvention = 'scaps_binomial' | 'unity' | 'explicit'; + export type CorrelationEnergiesEv = (number | string)[]; + export type EnergyReference3 = 'above_valence_band'; + export type FirstTransitionEvAboveVb = number | string; + export type Family = + | 'single_donor' + | 'single_acceptor' + | 'double_donor' + | 'double_acceptor' + | 'amphoteric' + | 'custom_multilevel'; + export type StateDegeneracies = (number | string)[]; + export type TransitionKinetics = KineticsInput[]; + export type Id6 = string; + export type Name1 = string; + export type TotalDensityM31 = number | string; + export type BulkDefects = (BulkDefectInput | MultivalentDefectInput)[]; + export type CenterEvAboveVb1 = number | string; + export type ChargeTransition1 = 'acceptor' | 'donor'; + export type Distribution1 = 'single_level' | 'gaussian'; + export type EnergySigmaEv = number | string; + export type SigmaNM21 = number | string; + export type SigmaPM21 = number | string; + export type ThermalVelocityMS = number | string; + export type TotalDensityM32 = number | string; + export type Cgi = number | string; + export type GgiBack = number | string; + export type GgiFront = number | string; + export type KkQuadratureOrder = number; + export type Model = 'minoura_2015'; + export type Slices = number; + export type DefectModel = ('effective_lifetime' | 'explicit_quasi_steady') | null; + export type DefectSchemaVersion = string | null; + export type Id7 = string; + export type Material = string | null; + export type DefectModel1 = 'explicit_metastable_frozen'; + export type AcceptorConversionStateIndex = number; + export type CaptureNM3S = number | string; + export type CapturePM3S = number | string; + export type ElectronCaptureActivationEv = number | string; + export type ElectronCapturePath = 'double_electron_capture' | 'electron_capture_plus_hole_emission'; + export type ElectronEmissionActivationEv = number | string; + export type HoleCaptureActivationEv = number | string; + export type HoleCapturePath = 'double_hole_capture' | 'hole_capture_plus_electron_emission'; + export type HoleEmissionActivationEv = number | string; + export type PhononFrequencyHz = number | string; + export type TransitionEnergyEvAboveVb = number | string; + export type DonorConversionStateIndex = number; + export type Id8 = string; + export type Name2 = string; + export type TotalDensityM33 = number | string; + export type MetastableDefects = MetastableDefectInput[]; + export type SchemaVersion = 'solarlab-metastable-bulk-defects-v1'; + export type ConfigurationFreezeStage = 'after_stationary_preparation_before_measurement'; + export type FreezeConfigurationDuringMeasurement = true; + export type IlluminationContinuationSteps = number; + export type MeasurementProtocolSha256 = string; + export type MeasurementTemperatureK = number | string; + export type ClampingFactor = number | string; + export type FinalUnclampedRefinement = true; + export type InitialDonorFractionGuess = number | string; + export type MaxIterations = number; + export type RelativeTolerance = number | string; + export type PreparationIlluminationSuns = number | string; + export type PreparationLimit = 'stationary_infinite_time'; + export type PreparationTemperatureK = number | string; + export type PreparationVoltageV = number | string; + export type SchemaVersion1 = 'solarlab-metastable-preparation-v1'; + export type VoltageContinuationSteps = number; + export type Name3 = string; + export type Parameterization = 'standard' | 'scaps'; + export type AStarN = number | string; + export type AStarP = number | string; + export type BRad = number | string; + export type BRadTGamma = number | string; + export type CN = number | string; + export type CP = number | string; + export type DIon = number | string; + export type DIonNeg = number | string; + export type EAIon = number | string; + export type Eg = number | string; + export type EgBack = (number | string | null) | null; + export type NA = number | string; + export type NABulk = (number | string | null) | null; + export type ND = number | string; + export type NDBulk = (number | string | null) | null; + export type Nc300 = (number | string | null) | null; + export type Nv300 = (number | string | null) | null; + export type P0 = number | string; + export type P0Neg = number | string; + export type PLim = number | string; + export type PLimNeg = number | string; + export type AcceptorBindingEnergyEv = (number | string | null) | null; + export type AcceptorDegeneracy = number | string; + export type Alpha1 = number | string; + export type BandGapNarrowingModel = 'off' | 'slotboom'; + export type BgnConductionBandFraction = number | string; + export type BgnLogShape = number | string; + export type BgnReferenceDensityM3 = number | string; + export type BgnReferenceEnergyEv = number | string; + export type CarrierStatistics = 'maxwell_boltzmann' | 'fermi_dirac'; + export type Chi = number | string; + export type ChiBack = (number | string | null) | null; + export type CtBetaN = number | string; + export type CtBetaP = number | string; + export type DonorBindingEnergyEv = (number | string | null) | null; + export type DonorDegeneracy = number | string; + export type DopantIonizationModel = 'fully_ionized' | 'discrete_level'; + export type DopingDecayLength = (number | string | null) | null; + export type DopingEdge = 'front' | 'back'; + export type DopingProfileShape = 'gaussian' | null; + export type EpsR = number | string; + export type GradingNMult = number; + export type GradingBowing = number | string; + export type GradingCharLength = (number | string | null) | null; + export type GradingDirection = 'front_to_back' | 'back_to_front'; + export type GradingProfile = 'linear' | 'parabolic' | 'exponential'; + export type Incoherent = boolean; + export type MuTGamma = number | string; + export type MuN = number | string; + export type MuP = number | string; + export type N1 = number | string; + export type NOptical = (number | string | null) | null; + export type Ni = number | string; + export type OpticalMaterial = string | null; + export type P1 = number | string; + export type PfGammaN = number | string; + export type PfGammaP = number | string; + export type TauN1 = number | string; + export type TauP1 = number | string; + export type TrapNTBulk = (number | string | null) | null; + export type TrapNTInterface = (number | string | null) | null; + export type TrapDecayLength = (number | string | null) | null; + export type TrapEdge = 'both' | 'left' | 'right'; + export type TrapProfileShape = 'exponential' | 'gaussian'; + export type VSatN = number | string; + export type VSatP = number | string; + export type VTh = number | string; + export type VarshniAlpha = number | string; + export type VarshniBeta = number | string; + export type Role = string; + export type ScapsDefectMetadata = ScapsDefectMetadataInput[]; + export type Thickness = number | string; + export type Layers = FullLayerInput[]; + export type InterfaceDefectCount = number | null; + export type Interfaces1 = + [number | number | string | string, number | number | string | string][] | null; + export type LayerIds1 = string[]; + export type SchemaVersion2 = 'solarlab.standard-loader-fields.v1'; + export type SourceId = string; + export type SourceSha256 = string; + export type Temperature = number | string | boolean | null; + export type Id9 = string; + export type Name4 = string; + export type Materials = NamedMaterialInput[]; + export type Name5 = string | null; + export type SchemaVersion3 = 'solarlab.device-preparation.v1'; + export type Phi = number | string; + export type T = number | string; + export type VBi = number | string; + export type BandGrading = boolean; + export type BuiltInPotentialMode = + ('legacy_manual' | 'semiconductor_work_function' | 'metal_work_function') | null; + export type ContactPhiBEv = number | string; + export type DosBandPotentials = boolean; + export type FlatBandContacts = boolean; + export type FlatBandMetalContacts = boolean; + export type GradedOptics = boolean; + export type HetRecombDespike = number | string; + export type InterfaceChargeClosure = 'off' | 'equilibrium_referenced'; + export type InterfaceChargeRebaselineAcknowledged = boolean; + export type InterfacePlaneClosure = boolean; + export type InterfacePlaneGeneration = boolean; + export type InterfacePlaneProjection = boolean; + export type InterfaceSharedOccupancy = boolean; + export type InterfaceTunneling = boolean; + export type InterfaceTwoSided = boolean; + export type IonStericDiffusionOnly = boolean; + export type IonStericSharedSite = boolean; + export type JvSolverPolicy = 'general' | 'cancellation_safe_qf_required'; + export type Mode = 'legacy' | 'fast' | 'full'; + export type PhiLeft = number | string; + export type TePhysicalNorm = boolean; + export type TunnelMassEff = number | string; + export type WorkFunctionLeftEv = (number | string | null) | null; + export type WorkFunctionRightEv = (number | string | null) | null; + export type RequestedElectricalGridAllocation = number; + export type VMax = (number | string | null) | null; + export type AcExcitation = null; + export type DurationS = (number | string | null) | null; + export type Kind1 = + 'finite_time' | 'residual_certified' | 'finite_time_with_certificate' | 'not_applicable'; + export type MaxCarrierAreaRateAM2 = (number | string | null) | null; + export type MaxFaceCurrentSpreadAM2 = (number | string | null) | null; + export type MaxIonAreaRateAM2 = (number | string | null) | null; + export type MaxIonicFaceCurrentAM2 = (number | string | null) | null; + export type DwellDurationS = (number | string | null) | null; + export type Experiment = 'jv_hysteresis'; + /** + * @minItems 1 + */ + export type IlluminationHistory = [JVIlluminationStepInput, ...JVIlluminationStepInput[]]; + export type Condition = 'dark' | 'baseline' | 'scaled' | 'monochromatic' | 'pulse'; + export type DurationS1 = (number | string | null) | null; + export type IntensitySuns = (number | string | null) | null; + export type Phase = string; + export type PhotonFluxM2S = (number | string | null) | null; + export type RelativeGenerationChange = (number | string | null) | null; + export type SourceReference = string | null; + export type ImplicitLegacyProtocol = boolean; + export type InitialStateSource = + | 'dark_equilibrium' + | 'dark_equilibrium_each_sample' + | 'finite_time_illuminated_preconditioned' + | 'finite_time_dc_preconditioned' + | 'qf_dc_candidate' + | 'user_supplied_state'; + export type PreBiasV = (number | string | null) | null; + export type Axis = 'voltage_V'; + export type Mode1 = 'linear' | 'log' | 'declared' | 'piecewise_linear'; + /** + * @minItems 1 + */ + export type Values = [number | number | string | string, ...(number | number | string | string)[]]; + export type Axis1 = 'voltage_V'; + export type Direction = + 'ascending' | 'descending' | 'ascending_then_descending' | 'declared_order' | 'forward_time'; + export type RateVS = number | string; + export type Start = number | string; + export type Stop = number | string; + export type SchemaVersion4 = 1; + export type SoakDurationS = (number | string | null) | null; + export type TemperatureK = number | string; + export type VocSearch = null; + export type IfaceStates = boolean; + export type Illuminated = boolean; + export type InterfaceBoundary = boolean; + export type InterfaceTransportModel = string; + export type SamplesPerBranch = number; + export type ProtocolMode = 'compatibility' | 'research_strict'; + export type Solver = 'transient' | 'steady_state' | 'quasi_fermi'; + export type VRate = number | string; + export type BranchDwellS = number | string; + export type DarkPrepS = number | string; + export type DarkSeedS = number | string; + export type SchemaVersion5 = 1; + export type StartVoltageV = number | string; + export type TurnaroundDark = boolean; + export type TurnaroundS = number | string; + export type UniformGenerationRateM3S = (number | string | null) | null; + export type AtolM3 = number | string; + export type Rtol = number | string; + export type MinNGrid = number | null; + export type Notes = string | null; + export type SourceFormat = 'standard' | 'scaps' | 'canonical'; + export type SourceSchemaVersion = string | number | null; + export type Spectrum = string | null; + export type Enabled = boolean; + export type EnergyQuadratureOrder = number; + export type MinimumFieldVM = number | string; + export type ReducedEffectiveMassRel = number | string; + export type BarrierHeightEv = number | string; + export type ElectronEffectiveMassRel = number | string; + export type Enabled1 = boolean; + export type EnergyQuadratureOrder1 = number; + export type HoleEffectiveMassRel = number | string; + export type Side1 = 'both' | 'left' | 'right'; + export type ElectronEffectiveMassRel1 = number | string; + export type Enabled2 = boolean; + export type HoleEffectiveMassRel1 = number | string; + export type RequiresExplicitOccupancy = true; + export type Carrier = 'electron' | 'hole' | 'both'; + export type ElectronEffectiveMassRel2 = number | string; + export type Enabled3 = boolean; + export type EnergyQuadratureOrder2 = number; + export type HoleEffectiveMassRel2 = number | string; + export type SchemaVersion6 = 'solarlab-wkb-tunnelling-channels-v1'; + + export interface DeviceInput { + contacts?: Contacts; + description?: Description; + electrical_grid?: ElectricalGrid; + fixed_generation?: FixedGeneration; + grain_boundaries?: GrainBoundaries; + id: Id2; + interfaces?: Interfaces; + layers: Layers; + legacy_fields?: LegacyDeviceFieldsInput | null; + materials?: Materials; + name?: Name5; + schema_version: SchemaVersion3; + settings?: DeviceSettingsInput; + simulation_hints?: SimulationHintsInput | null; + source_format: SourceFormat; + source_schema_version?: SourceSchemaVersion; + spectrum?: Spectrum; + tunnelling_channels?: TunnellingInput | null; + } + /** + * This interface was referenced by `DeviceInput`'s JSON-Schema + * via the `definition` "ContactInput". + */ + export interface ContactInput { + S_n?: SN; + S_p?: SP; + id: Id; + layer: Layer; + side: Side; + } + /** + * This interface was referenced by `DeviceInput`'s JSON-Schema + * via the `definition` "GridLayerInput". + */ + export interface GridLayerInput { + alpha: Alpha; + interval_weight: IntervalWeight; + layer: Layer1; + } + /** + * This interface was referenced by `DeviceInput`'s JSON-Schema + * via the `definition` "GrainBoundaryInput". + */ + export interface GrainBoundaryInput { + id: Id1; + layer_ids: LayerIds; + source_layer_role?: SourceLayerRole; + tau_n: TauN; + tau_p: TauP; + width: Width; + x_position: XPosition; + } + /** + * This interface was referenced by `DeviceInput`'s JSON-Schema + * via the `definition` "InterfaceInput". + */ + export interface InterfaceInput { + defect?: InterfaceDefectInput | null; + id: Id4; + left: Left; + right: Right; + v_n?: VN; + v_p?: VP; + } + /** + * This interface was referenced by `DeviceInput`'s JSON-Schema + * via the `definition` "InterfaceDefectInput". + */ + export interface InterfaceDefectInput { + calibration_factor: CalibrationFactor; + energy_reference: EnergyReference; + id: Id3; + iface_state_calibration_factor: IfaceStateCalibrationFactor; + kinetics: KineticsInput; + partner_metadata?: ScapsDefectMetadataInput | null; + total_density_m2: TotalDensityM2; + trap_depth_eV: TrapDepthEv1; + } + /** + * This interface was referenced by `DeviceInput`'s JSON-Schema + * via the `definition` "KineticsInput". + */ + export interface KineticsInput { + sigma_n_m2: SigmaNM2; + sigma_p_m2: SigmaPM2; + thermal_velocity_n_m_s: ThermalVelocityNMS; + thermal_velocity_p_m_s: ThermalVelocityPMS; + } + /** + * Preserved partner metadata; a Gaussian note is not a qualified closure. + * + * This interface was referenced by `DeviceInput`'s JSON-Schema + * via the `definition` "ScapsDefectMetadataInput". + */ + export interface ScapsDefectMetadataInput { + E_char_eV?: ECharEv; + N_peak_m3?: NPeakM3; + defect_id: DefectId; + distribution: Distribution; + energy_reference: EnergyReference1; + trap_depth_eV: TrapDepthEv; + } + /** + * This interface was referenced by `DeviceInput`'s JSON-Schema + * via the `definition` "FullLayerInput". + */ + export interface FullLayerInput { + bulk_defects?: BulkDefects; + bulk_trap_distribution?: LegacyBulkTrapInput | null; + cigs_graded_optics?: CigsOpticsInput | null; + defect_model?: DefectModel; + defect_schema_version?: DefectSchemaVersion; + id: Id7; + material?: Material; + metastable_document?: MetastableDocumentInput | null; + metastable_preparation?: MetastablePreparationInput | null; + name: Name3; + parameterization?: Parameterization; + parameters?: FullParameterInput; + role: Role; + scaps_defect_metadata?: ScapsDefectMetadata; + thickness: Thickness; + } + /** + * This interface was referenced by `DeviceInput`'s JSON-Schema + * via the `definition` "BulkDefectInput". + */ + export interface BulkDefectInput { + charge_transition: ChargeTransition; + degeneracy: Degeneracy; + distribution: DistributionInput; + energy_level?: EnergyLevelInput | null; + id: Id5; + kinetics: KineticsInput; + name?: Name; + neutral_reference: NeutralReference; + spatial_profile?: SpatialProfileInput | null; + } + /** + * This interface was referenced by `DeviceInput`'s JSON-Schema + * via the `definition` "DistributionInput". + */ + export interface DistributionInput { + center_eV_above_vb?: CenterEvAboveVb; + energy_reference?: EnergyReference2; + kind: Kind; + normalization: Normalization; + support_width_multiplier?: SupportWidthMultiplier; + total_density_m3: TotalDensityM3; + width_convention?: WidthConvention; + width_eV?: WidthEv; + } + /** + * This interface was referenced by `DeviceInput`'s JSON-Schema + * via the `definition` "EnergyLevelInput". + */ + export interface EnergyLevelInput { + reference: Reference; + value_eV: ValueEv; + } + /** + * This interface was referenced by `DeviceInput`'s JSON-Schema + * via the `definition` "SpatialProfileInput". + */ + export interface SpatialProfileInput { + coordinate: Coordinate; + density_normalization: DensityNormalization; + interpolation: Interpolation; + knots: Knots; + } + /** + * This interface was referenced by `DeviceInput`'s JSON-Schema + * via the `definition` "SpatialKnotInput". + */ + export interface SpatialKnotInput { + density_multiplier: DensityMultiplier; + position_fraction: PositionFraction; + } + /** + * This interface was referenced by `DeviceInput`'s JSON-Schema + * via the `definition` "MultivalentDefectInput". + */ + export interface MultivalentDefectInput { + configuration: MultivalentConfigurationInput; + id: Id6; + name: Name1; + total_density_m3: TotalDensityM31; + } + /** + * This interface was referenced by `DeviceInput`'s JSON-Schema + * via the `definition` "MultivalentConfigurationInput". + */ + export interface MultivalentConfigurationInput { + charge_states_e: ChargeStatesE; + degeneracy_convention: DegeneracyConvention; + energy_levels: MultivalentEnergyInput; + family: Family; + state_degeneracies: StateDegeneracies; + transition_kinetics: TransitionKinetics; + } + /** + * This interface was referenced by `DeviceInput`'s JSON-Schema + * via the `definition` "MultivalentEnergyInput". + */ + export interface MultivalentEnergyInput { + correlation_energies_eV: CorrelationEnergiesEv; + energy_reference: EnergyReference3; + first_transition_eV_above_vb: FirstTransitionEvAboveVb; + } + /** + * This interface was referenced by `DeviceInput`'s JSON-Schema + * via the `definition` "LegacyBulkTrapInput". + */ + export interface LegacyBulkTrapInput { + center_eV_above_vb: CenterEvAboveVb1; + charge_transition: ChargeTransition1; + distribution: Distribution1; + energy_sigma_eV?: EnergySigmaEv; + sigma_n_m2: SigmaNM21; + sigma_p_m2: SigmaPM21; + thermal_velocity_m_s: ThermalVelocityMS; + total_density_m3: TotalDensityM32; + } + /** + * GGI endpoints follow the layer's electrical grading coordinate. + * + * Absent model, slice and quadrature values are supplied by the injected catalog, + * compiled from the existing model declaration. None is never a numeric default. + * + * This interface was referenced by `DeviceInput`'s JSON-Schema + * via the `definition` "CigsOpticsInput". + */ + export interface CigsOpticsInput { + cgi: Cgi; + ggi_back: GgiBack; + ggi_front: GgiFront; + kk_quadrature_order?: KkQuadratureOrder; + model?: Model; + slices?: Slices; + } + /** + * This interface was referenced by `DeviceInput`'s JSON-Schema + * via the `definition` "MetastableDocumentInput". + */ + export interface MetastableDocumentInput { + defect_model: DefectModel1; + metastable_defects: MetastableDefects; + schema_version: SchemaVersion; + } + /** + * This interface was referenced by `DeviceInput`'s JSON-Schema + * via the `definition` "MetastableDefectInput". + */ + export interface MetastableDefectInput { + acceptor_configuration: MultivalentConfigurationInput; + acceptor_conversion_state_index: AcceptorConversionStateIndex; + conversion_kinetics: MetastableConversionInput; + donor_configuration: MultivalentConfigurationInput; + donor_conversion_state_index: DonorConversionStateIndex; + id: Id8; + name: Name2; + total_density_m3: TotalDensityM33; + } + /** + * This interface was referenced by `DeviceInput`'s JSON-Schema + * via the `definition` "MetastableConversionInput". + */ + export interface MetastableConversionInput { + capture_n_m3_s: CaptureNM3S; + capture_p_m3_s: CapturePM3S; + electron_capture_activation_eV: ElectronCaptureActivationEv; + electron_capture_path: ElectronCapturePath; + electron_emission_activation_eV: ElectronEmissionActivationEv; + hole_capture_activation_eV: HoleCaptureActivationEv; + hole_capture_path: HoleCapturePath; + hole_emission_activation_eV: HoleEmissionActivationEv; + phonon_frequency_Hz: PhononFrequencyHz; + transition_energy_eV_above_vb: TransitionEnergyEvAboveVb; + } + /** + * This interface was referenced by `DeviceInput`'s JSON-Schema + * via the `definition` "MetastablePreparationInput". + */ + export interface MetastablePreparationInput { + configuration_freeze_stage: ConfigurationFreezeStage; + freeze_configuration_during_measurement: FreezeConfigurationDuringMeasurement; + illumination_continuation_steps: IlluminationContinuationSteps; + measurement_protocol_sha256: MeasurementProtocolSha256; + measurement_temperature_K: MeasurementTemperatureK; + numerics: MetastableNumericsInput; + preparation_illumination_suns: PreparationIlluminationSuns; + preparation_limit: PreparationLimit; + preparation_temperature_K: PreparationTemperatureK; + preparation_voltage_V: PreparationVoltageV; + schema_version: SchemaVersion1; + voltage_continuation_steps: VoltageContinuationSteps; + } + /** + * This interface was referenced by `DeviceInput`'s JSON-Schema + * via the `definition` "MetastableNumericsInput". + */ + export interface MetastableNumericsInput { + clamping_factor: ClampingFactor; + final_unclamped_refinement: FinalUnclampedRefinement; + initial_donor_fraction_guess: InitialDonorFractionGuess; + max_iterations: MaxIterations; + relative_tolerance: RelativeTolerance; + } + /** + * This interface was referenced by `DeviceInput`'s JSON-Schema + * via the `definition` "FullParameterInput". + */ + export interface FullParameterInput { + A_star_n?: AStarN; + A_star_p?: AStarP; + B_rad?: BRad; + B_rad_T_gamma?: BRadTGamma; + C_n?: CN; + C_p?: CP; + D_ion?: DIon; + D_ion_neg?: DIonNeg; + E_a_ion?: EAIon; + Eg?: Eg; + Eg_back?: EgBack; + N_A?: NA; + N_A_bulk?: NABulk; + N_D?: ND; + N_D_bulk?: NDBulk; + Nc300?: Nc300; + Nv300?: Nv300; + P0?: P0; + P0_neg?: P0Neg; + P_lim?: PLim; + P_lim_neg?: PLimNeg; + acceptor_binding_energy_eV?: AcceptorBindingEnergyEv; + acceptor_degeneracy?: AcceptorDegeneracy; + alpha?: Alpha1; + band_gap_narrowing_model?: BandGapNarrowingModel; + bgn_conduction_band_fraction?: BgnConductionBandFraction; + bgn_log_shape?: BgnLogShape; + bgn_reference_density_m3?: BgnReferenceDensityM3; + bgn_reference_energy_eV?: BgnReferenceEnergyEv; + carrier_statistics?: CarrierStatistics; + chi?: Chi; + chi_back?: ChiBack; + ct_beta_n?: CtBetaN; + ct_beta_p?: CtBetaP; + donor_binding_energy_eV?: DonorBindingEnergyEv; + donor_degeneracy?: DonorDegeneracy; + dopant_ionization_model?: DopantIonizationModel; + doping_decay_length?: DopingDecayLength; + doping_edge?: DopingEdge; + doping_profile_shape?: DopingProfileShape; + eps_r?: EpsR; + grading_N_mult?: GradingNMult; + grading_bowing?: GradingBowing; + grading_char_length?: GradingCharLength; + grading_direction?: GradingDirection; + grading_profile?: GradingProfile; + incoherent?: Incoherent; + mu_T_gamma?: MuTGamma; + mu_n?: MuN; + mu_p?: MuP; + n1?: N1; + n_optical?: NOptical; + ni?: Ni; + optical_material?: OpticalMaterial; + p1?: P1; + pf_gamma_n?: PfGammaN; + pf_gamma_p?: PfGammaP; + tau_n?: TauN1; + tau_p?: TauP1; + trap_N_t_bulk?: TrapNTBulk; + trap_N_t_interface?: TrapNTInterface; + trap_decay_length?: TrapDecayLength; + trap_edge?: TrapEdge; + trap_profile_shape?: TrapProfileShape; + v_sat_n?: VSatN; + v_sat_p?: VSatP; + v_th?: VTh; + varshni_alpha?: VarshniAlpha; + varshni_beta?: VarshniBeta; + } + /** + * This interface was referenced by `DeviceInput`'s JSON-Schema + * via the `definition` "LegacyDeviceFieldsInput". + */ + export interface LegacyDeviceFieldsInput { + interface_defect_count?: InterfaceDefectCount; + interfaces?: Interfaces1; + layer_ids: LayerIds1; + schema_version: SchemaVersion2; + source_id: SourceId; + source_sha256: SourceSha256; + temperature?: Temperature; + } + /** + * This interface was referenced by `DeviceInput`'s JSON-Schema + * via the `definition` "NamedMaterialInput". + */ + export interface NamedMaterialInput { + cigs_graded_optics?: CigsOpticsInput | null; + id: Id9; + name: Name4; + parameters: FullParameterInput; + } + /** + * This interface was referenced by `DeviceInput`'s JSON-Schema + * via the `definition` "DeviceSettingsInput". + */ + export interface DeviceSettingsInput { + Phi?: Phi; + T?: T; + V_bi?: VBi; + band_grading?: BandGrading; + built_in_potential_mode?: BuiltInPotentialMode; + contact_phi_B_eV?: ContactPhiBEv; + dos_band_potentials?: DosBandPotentials; + flat_band_contacts?: FlatBandContacts; + flat_band_metal_contacts?: FlatBandMetalContacts; + graded_optics?: GradedOptics; + het_recomb_despike?: HetRecombDespike; + interface_charge_closure?: InterfaceChargeClosure; + interface_charge_rebaseline_acknowledged?: InterfaceChargeRebaselineAcknowledged; + interface_plane_closure?: InterfacePlaneClosure; + interface_plane_generation?: InterfacePlaneGeneration; + interface_plane_projection?: InterfacePlaneProjection; + interface_shared_occupancy?: InterfaceSharedOccupancy; + interface_tunneling?: InterfaceTunneling; + interface_two_sided?: InterfaceTwoSided; + ion_steric_diffusion_only?: IonStericDiffusionOnly; + ion_steric_shared_site?: IonStericSharedSite; + jv_solver_policy?: JvSolverPolicy; + mode?: Mode; + phi_left?: PhiLeft; + te_physical_norm?: TePhysicalNorm; + tunnel_mass_eff?: TunnelMassEff; + work_function_left_eV?: WorkFunctionLeftEv; + work_function_right_eV?: WorkFunctionRightEv; + } + /** + * This interface was referenced by `DeviceInput`'s JSON-Schema + * via the `definition` "SimulationHintsInput". + */ + export interface SimulationHintsInput { + jv_sweep?: JVSweepHintsInput | null; + min_N_grid?: MinNGrid; + notes?: Notes; + } + /** + * Supplied advisory fields, without an endpoint or implied execution. + * + * Unknown fields reject rather than disappear. A caller must explicitly + * compose these fields with JVInput to request protocol preparation. + * + * This interface was referenced by `DeviceInput`'s JSON-Schema + * via the `definition` "JVSweepHintsInput". + */ + export interface JVSweepHintsInput { + N_grid?: RequestedElectricalGridAllocation; + V_max?: VMax; + experiment_protocol?: JVProtocolInput | null; + iface_states?: IfaceStates; + illuminated?: Illuminated; + interface_boundary?: InterfaceBoundary; + interface_transport_model?: InterfaceTransportModel; + n_points?: SamplesPerBranch; + protocol_mode?: ProtocolMode; + solver?: Solver; + v_rate?: VRate; + waveform?: JVWaveformInput | null; + waveform_controls?: JVWaveformControlsInput | null; + } + /** + * The existing ExperimentProtocol fields for its J-V branch only. + * + * This interface was referenced by `DeviceInput`'s JSON-Schema + * via the `definition` "JVProtocolInput". + */ + export interface JVProtocolInput { + ac_excitation: AcExcitation; + dc_settle: JVDCSettleInput; + dwell_duration_s: DwellDurationS; + experiment: Experiment; + illumination_history: IlluminationHistory; + implicit_legacy_protocol: ImplicitLegacyProtocol; + initial_state_source: InitialStateSource; + pre_bias_V: PreBiasV; + sampling: JVSamplingInput; + scan: JVScanInput; + schema_version: SchemaVersion4; + soak_duration_s: SoakDurationS; + temperature_K: TemperatureK; + voc_search: VocSearch; + } + /** + * This interface was referenced by `DeviceInput`'s JSON-Schema + * via the `definition` "JVDCSettleInput". + */ + export interface JVDCSettleInput { + duration_s: DurationS; + kind: Kind1; + max_carrier_area_rate_A_m2: MaxCarrierAreaRateAM2; + max_face_current_spread_A_m2: MaxFaceCurrentSpreadAM2; + max_ion_area_rate_A_m2: MaxIonAreaRateAM2; + max_ionic_face_current_A_m2: MaxIonicFaceCurrentAM2; + } + /** + * This interface was referenced by `DeviceInput`'s JSON-Schema + * via the `definition` "JVIlluminationStepInput". + */ + export interface JVIlluminationStepInput { + condition: Condition; + duration_s: DurationS1; + intensity_suns: IntensitySuns; + phase: Phase; + photon_flux_m2_s: PhotonFluxM2S; + relative_generation_change: RelativeGenerationChange; + source_reference: SourceReference; + } + /** + * This interface was referenced by `DeviceInput`'s JSON-Schema + * via the `definition` "JVSamplingInput". + */ + export interface JVSamplingInput { + axis: Axis; + mode: Mode1; + values: Values; + } + /** + * This interface was referenced by `DeviceInput`'s JSON-Schema + * via the `definition` "JVScanInput". + */ + export interface JVScanInput { + axis: Axis1; + direction: Direction; + rate_V_s: RateVS; + start: Start; + stop: Stop; + } + /** + * All eight fields of JVWaveform.from_dict are explicit, including null. + * + * This interface was referenced by `DeviceInput`'s JSON-Schema + * via the `definition` "JVWaveformInput". + */ + export interface JVWaveformInput { + branch_dwell_s: BranchDwellS; + dark_prep_s: DarkPrepS; + dark_seed_s: DarkSeedS; + schema_version: SchemaVersion5; + start_voltage_V: StartVoltageV; + turnaround_dark: TurnaroundDark; + turnaround_s: TurnaroundS; + uniform_generation_rate_m3_s: UniformGenerationRateM3S; + } + /** + * This interface was referenced by `DeviceInput`'s JSON-Schema + * via the `definition` "JVWaveformControlsInput". + */ + export interface JVWaveformControlsInput { + atol_m3: AtolM3; + rtol: Rtol; + } + /** + * This interface was referenced by `DeviceInput`'s JSON-Schema + * via the `definition` "TunnellingInput". + */ + export interface TunnellingInput { + band_to_band?: BandToBandInput | null; + contact?: ContactTunnellingInput | null; + interface_defect_assisted?: DefectAssistedInput | null; + intraband?: IntrabandInput | null; + schema_version?: SchemaVersion6; + } + /** + * This interface was referenced by `DeviceInput`'s JSON-Schema + * via the `definition` "BandToBandInput". + */ + export interface BandToBandInput { + enabled?: Enabled; + energy_quadrature_order?: EnergyQuadratureOrder; + minimum_field_V_m?: MinimumFieldVM; + reduced_effective_mass_rel?: ReducedEffectiveMassRel; + } + /** + * This interface was referenced by `DeviceInput`'s JSON-Schema + * via the `definition` "ContactTunnellingInput". + */ + export interface ContactTunnellingInput { + barrier_height_eV?: BarrierHeightEv; + electron_effective_mass_rel?: ElectronEffectiveMassRel; + enabled?: Enabled1; + energy_quadrature_order?: EnergyQuadratureOrder1; + hole_effective_mass_rel?: HoleEffectiveMassRel; + side?: Side1; + } + /** + * This interface was referenced by `DeviceInput`'s JSON-Schema + * via the `definition` "DefectAssistedInput". + */ + export interface DefectAssistedInput { + electron_effective_mass_rel?: ElectronEffectiveMassRel1; + enabled?: Enabled2; + hole_effective_mass_rel?: HoleEffectiveMassRel1; + requires_explicit_occupancy?: RequiresExplicitOccupancy; + } + /** + * This interface was referenced by `DeviceInput`'s JSON-Schema + * via the `definition` "IntrabandInput". + */ + export interface IntrabandInput { + carrier?: Carrier; + electron_effective_mass_rel?: ElectronEffectiveMassRel2; + enabled?: Enabled3; + energy_quadrature_order?: EnergyQuadratureOrder2; + hole_effective_mass_rel?: HoleEffectiveMassRel2; + } +} +export type DeviceInput = DeviceInputDefinitions.DeviceInput; + +// Source DTO: solarlab.device.settings:DeviceSettingsInput +// Schema SHA-256 (JSON.stringify): 94448ff7fcf1a7047aba15499450fa482cb06f57e9f74047b331fce7500a4d0c +export declare namespace DeviceSettingsInputDefinitions { + export type Phi = number | string; + export type T = number | string; + export type VBi = number | string; + export type BandGrading = boolean; + export type BuiltInPotentialMode = + ('legacy_manual' | 'semiconductor_work_function' | 'metal_work_function') | null; + export type ContactPhiBEv = number | string; + export type DosBandPotentials = boolean; + export type FlatBandContacts = boolean; + export type FlatBandMetalContacts = boolean; + export type GradedOptics = boolean; + export type HetRecombDespike = number | string; + export type InterfaceChargeClosure = 'off' | 'equilibrium_referenced'; + export type InterfaceChargeRebaselineAcknowledged = boolean; + export type InterfacePlaneClosure = boolean; + export type InterfacePlaneGeneration = boolean; + export type InterfacePlaneProjection = boolean; + export type InterfaceSharedOccupancy = boolean; + export type InterfaceTunneling = boolean; + export type InterfaceTwoSided = boolean; + export type IonStericDiffusionOnly = boolean; + export type IonStericSharedSite = boolean; + export type JvSolverPolicy = 'general' | 'cancellation_safe_qf_required'; + export type Mode = 'legacy' | 'fast' | 'full'; + export type PhiLeft = number | string; + export type TePhysicalNorm = boolean; + export type TunnelMassEff = number | string; + export type WorkFunctionLeftEv = (number | string | null) | null; + export type WorkFunctionRightEv = (number | string | null) | null; + + export interface DeviceSettingsInput { + Phi?: Phi; + T?: T; + V_bi?: VBi; + band_grading?: BandGrading; + built_in_potential_mode?: BuiltInPotentialMode; + contact_phi_B_eV?: ContactPhiBEv; + dos_band_potentials?: DosBandPotentials; + flat_band_contacts?: FlatBandContacts; + flat_band_metal_contacts?: FlatBandMetalContacts; + graded_optics?: GradedOptics; + het_recomb_despike?: HetRecombDespike; + interface_charge_closure?: InterfaceChargeClosure; + interface_charge_rebaseline_acknowledged?: InterfaceChargeRebaselineAcknowledged; + interface_plane_closure?: InterfacePlaneClosure; + interface_plane_generation?: InterfacePlaneGeneration; + interface_plane_projection?: InterfacePlaneProjection; + interface_shared_occupancy?: InterfaceSharedOccupancy; + interface_tunneling?: InterfaceTunneling; + interface_two_sided?: InterfaceTwoSided; + ion_steric_diffusion_only?: IonStericDiffusionOnly; + ion_steric_shared_site?: IonStericSharedSite; + jv_solver_policy?: JvSolverPolicy; + mode?: Mode; + phi_left?: PhiLeft; + te_physical_norm?: TePhysicalNorm; + tunnel_mass_eff?: TunnelMassEff; + work_function_left_eV?: WorkFunctionLeftEv; + work_function_right_eV?: WorkFunctionRightEv; + } +} +export type DeviceSettingsInput = DeviceSettingsInputDefinitions.DeviceSettingsInput; + +// Source DTO: solarlab.device.inputs:FullLayerInput +// Schema SHA-256 (JSON.stringify): 36ac270f9e01fdf57eed705dc605ec0affd536fd04e17a5772cfeba96784055a +export declare namespace FullLayerInputDefinitions { + export type ChargeTransition = 'neutral' | 'acceptor' | 'donor' | 'unresolved'; + export type Degeneracy = number | string; + export type CenterEvAboveVb = (number | string | null) | null; + export type EnergyReference = 'above_valence_band' | null; + export type Kind = + 'single_level' | 'gaussian' | 'uniform' | 'conduction_band_tail' | 'valence_band_tail'; + export type Normalization = 'integrated_total'; + export type SupportWidthMultiplier = (number | string | null) | null; + export type TotalDensityM3 = number | string; + export type WidthConvention = + | ( + | 'not_applicable' + | 'gaussian_standard_deviation' + | 'scaps_characteristic_energy' + | 'uniform_full_width' + | 'unresolved' + ) + | null; + export type WidthEv = (number | string | null) | null; + export type Reference = 'below_conduction_band' | 'above_valence_band'; + export type ValueEv = number | string; + export type Id = string; + export type SigmaNM2 = number | string; + export type SigmaPM2 = number | string; + export type ThermalVelocityNMS = number | string; + export type ThermalVelocityPMS = number | string; + export type Name = string | null; + export type NeutralReference = 'all_occupancies' | 'empty' | 'filled' | 'unresolved'; + export type Coordinate = 'normalized_layer_coordinate'; + export type DensityNormalization = 'layer_average_unity'; + export type Interpolation = 'piecewise_linear'; + export type DensityMultiplier = number | string; + export type PositionFraction = number | string; + export type Knots = SpatialKnotInput[]; + export type ChargeStatesE = number[]; + export type DegeneracyConvention = 'scaps_binomial' | 'unity' | 'explicit'; + export type CorrelationEnergiesEv = (number | string)[]; + export type EnergyReference1 = 'above_valence_band'; + export type FirstTransitionEvAboveVb = number | string; + export type Family = + | 'single_donor' + | 'single_acceptor' + | 'double_donor' + | 'double_acceptor' + | 'amphoteric' + | 'custom_multilevel'; + export type StateDegeneracies = (number | string)[]; + export type TransitionKinetics = KineticsInput[]; + export type Id1 = string; + export type Name1 = string; + export type TotalDensityM31 = number | string; + export type BulkDefects = (BulkDefectInput | MultivalentDefectInput)[]; + export type CenterEvAboveVb1 = number | string; + export type ChargeTransition1 = 'acceptor' | 'donor'; + export type Distribution = 'single_level' | 'gaussian'; + export type EnergySigmaEv = number | string; + export type SigmaNM21 = number | string; + export type SigmaPM21 = number | string; + export type ThermalVelocityMS = number | string; + export type TotalDensityM32 = number | string; + export type Cgi = number | string; + export type GgiBack = number | string; + export type GgiFront = number | string; + export type KkQuadratureOrder = number; + export type Model = 'minoura_2015'; + export type Slices = number; + export type DefectModel = ('effective_lifetime' | 'explicit_quasi_steady') | null; + export type DefectSchemaVersion = string | null; + export type Id2 = string; + export type Material = string | null; + export type DefectModel1 = 'explicit_metastable_frozen'; + export type AcceptorConversionStateIndex = number; + export type CaptureNM3S = number | string; + export type CapturePM3S = number | string; + export type ElectronCaptureActivationEv = number | string; + export type ElectronCapturePath = 'double_electron_capture' | 'electron_capture_plus_hole_emission'; + export type ElectronEmissionActivationEv = number | string; + export type HoleCaptureActivationEv = number | string; + export type HoleCapturePath = 'double_hole_capture' | 'hole_capture_plus_electron_emission'; + export type HoleEmissionActivationEv = number | string; + export type PhononFrequencyHz = number | string; + export type TransitionEnergyEvAboveVb = number | string; + export type DonorConversionStateIndex = number; + export type Id3 = string; + export type Name2 = string; + export type TotalDensityM33 = number | string; + export type MetastableDefects = MetastableDefectInput[]; + export type SchemaVersion = 'solarlab-metastable-bulk-defects-v1'; + export type ConfigurationFreezeStage = 'after_stationary_preparation_before_measurement'; + export type FreezeConfigurationDuringMeasurement = true; + export type IlluminationContinuationSteps = number; + export type MeasurementProtocolSha256 = string; + export type MeasurementTemperatureK = number | string; + export type ClampingFactor = number | string; + export type FinalUnclampedRefinement = true; + export type InitialDonorFractionGuess = number | string; + export type MaxIterations = number; + export type RelativeTolerance = number | string; + export type PreparationIlluminationSuns = number | string; + export type PreparationLimit = 'stationary_infinite_time'; + export type PreparationTemperatureK = number | string; + export type PreparationVoltageV = number | string; + export type SchemaVersion1 = 'solarlab-metastable-preparation-v1'; + export type VoltageContinuationSteps = number; + export type Name3 = string; + export type Parameterization = 'standard' | 'scaps'; + export type AStarN = number | string; + export type AStarP = number | string; + export type BRad = number | string; + export type BRadTGamma = number | string; + export type CN = number | string; + export type CP = number | string; + export type DIon = number | string; + export type DIonNeg = number | string; + export type EAIon = number | string; + export type Eg = number | string; + export type EgBack = (number | string | null) | null; + export type NA = number | string; + export type NABulk = (number | string | null) | null; + export type ND = number | string; + export type NDBulk = (number | string | null) | null; + export type Nc300 = (number | string | null) | null; + export type Nv300 = (number | string | null) | null; + export type P0 = number | string; + export type P0Neg = number | string; + export type PLim = number | string; + export type PLimNeg = number | string; + export type AcceptorBindingEnergyEv = (number | string | null) | null; + export type AcceptorDegeneracy = number | string; + export type Alpha = number | string; + export type BandGapNarrowingModel = 'off' | 'slotboom'; + export type BgnConductionBandFraction = number | string; + export type BgnLogShape = number | string; + export type BgnReferenceDensityM3 = number | string; + export type BgnReferenceEnergyEv = number | string; + export type CarrierStatistics = 'maxwell_boltzmann' | 'fermi_dirac'; + export type Chi = number | string; + export type ChiBack = (number | string | null) | null; + export type CtBetaN = number | string; + export type CtBetaP = number | string; + export type DonorBindingEnergyEv = (number | string | null) | null; + export type DonorDegeneracy = number | string; + export type DopantIonizationModel = 'fully_ionized' | 'discrete_level'; + export type DopingDecayLength = (number | string | null) | null; + export type DopingEdge = 'front' | 'back'; + export type DopingProfileShape = 'gaussian' | null; + export type EpsR = number | string; + export type GradingNMult = number; + export type GradingBowing = number | string; + export type GradingCharLength = (number | string | null) | null; + export type GradingDirection = 'front_to_back' | 'back_to_front'; + export type GradingProfile = 'linear' | 'parabolic' | 'exponential'; + export type Incoherent = boolean; + export type MuTGamma = number | string; + export type MuN = number | string; + export type MuP = number | string; + export type N1 = number | string; + export type NOptical = (number | string | null) | null; + export type Ni = number | string; + export type OpticalMaterial = string | null; + export type P1 = number | string; + export type PfGammaN = number | string; + export type PfGammaP = number | string; + export type TauN = number | string; + export type TauP = number | string; + export type TrapNTBulk = (number | string | null) | null; + export type TrapNTInterface = (number | string | null) | null; + export type TrapDecayLength = (number | string | null) | null; + export type TrapEdge = 'both' | 'left' | 'right'; + export type TrapProfileShape = 'exponential' | 'gaussian'; + export type VSatN = number | string; + export type VSatP = number | string; + export type VTh = number | string; + export type VarshniAlpha = number | string; + export type VarshniBeta = number | string; + export type Role = string; + export type ECharEv = (number | string | null) | null; + export type NPeakM3 = (number | string | null) | null; + export type DefectId = string; + export type Distribution1 = 'single' | 'gaussian'; + export type EnergyReference2 = 'below_conduction_band' | 'above_valence_band'; + export type TrapDepthEv = number | string; + export type ScapsDefectMetadata = ScapsDefectMetadataInput[]; + export type Thickness = number | string; + + export interface FullLayerInput { + bulk_defects?: BulkDefects; + bulk_trap_distribution?: LegacyBulkTrapInput | null; + cigs_graded_optics?: CigsOpticsInput | null; + defect_model?: DefectModel; + defect_schema_version?: DefectSchemaVersion; + id: Id2; + material?: Material; + metastable_document?: MetastableDocumentInput | null; + metastable_preparation?: MetastablePreparationInput | null; + name: Name3; + parameterization?: Parameterization; + parameters?: FullParameterInput; + role: Role; + scaps_defect_metadata?: ScapsDefectMetadata; + thickness: Thickness; + } + /** + * This interface was referenced by `FullLayerInput`'s JSON-Schema + * via the `definition` "BulkDefectInput". + */ + export interface BulkDefectInput { + charge_transition: ChargeTransition; + degeneracy: Degeneracy; + distribution: DistributionInput; + energy_level?: EnergyLevelInput | null; + id: Id; + kinetics: KineticsInput; + name?: Name; + neutral_reference: NeutralReference; + spatial_profile?: SpatialProfileInput | null; + } + /** + * This interface was referenced by `FullLayerInput`'s JSON-Schema + * via the `definition` "DistributionInput". + */ + export interface DistributionInput { + center_eV_above_vb?: CenterEvAboveVb; + energy_reference?: EnergyReference; + kind: Kind; + normalization: Normalization; + support_width_multiplier?: SupportWidthMultiplier; + total_density_m3: TotalDensityM3; + width_convention?: WidthConvention; + width_eV?: WidthEv; + } + /** + * This interface was referenced by `FullLayerInput`'s JSON-Schema + * via the `definition` "EnergyLevelInput". + */ + export interface EnergyLevelInput { + reference: Reference; + value_eV: ValueEv; + } + /** + * This interface was referenced by `FullLayerInput`'s JSON-Schema + * via the `definition` "KineticsInput". + */ + export interface KineticsInput { + sigma_n_m2: SigmaNM2; + sigma_p_m2: SigmaPM2; + thermal_velocity_n_m_s: ThermalVelocityNMS; + thermal_velocity_p_m_s: ThermalVelocityPMS; + } + /** + * This interface was referenced by `FullLayerInput`'s JSON-Schema + * via the `definition` "SpatialProfileInput". + */ + export interface SpatialProfileInput { + coordinate: Coordinate; + density_normalization: DensityNormalization; + interpolation: Interpolation; + knots: Knots; + } + /** + * This interface was referenced by `FullLayerInput`'s JSON-Schema + * via the `definition` "SpatialKnotInput". + */ + export interface SpatialKnotInput { + density_multiplier: DensityMultiplier; + position_fraction: PositionFraction; + } + /** + * This interface was referenced by `FullLayerInput`'s JSON-Schema + * via the `definition` "MultivalentDefectInput". + */ + export interface MultivalentDefectInput { + configuration: MultivalentConfigurationInput; + id: Id1; + name: Name1; + total_density_m3: TotalDensityM31; + } + /** + * This interface was referenced by `FullLayerInput`'s JSON-Schema + * via the `definition` "MultivalentConfigurationInput". + */ + export interface MultivalentConfigurationInput { + charge_states_e: ChargeStatesE; + degeneracy_convention: DegeneracyConvention; + energy_levels: MultivalentEnergyInput; + family: Family; + state_degeneracies: StateDegeneracies; + transition_kinetics: TransitionKinetics; + } + /** + * This interface was referenced by `FullLayerInput`'s JSON-Schema + * via the `definition` "MultivalentEnergyInput". + */ + export interface MultivalentEnergyInput { + correlation_energies_eV: CorrelationEnergiesEv; + energy_reference: EnergyReference1; + first_transition_eV_above_vb: FirstTransitionEvAboveVb; + } + /** + * This interface was referenced by `FullLayerInput`'s JSON-Schema + * via the `definition` "LegacyBulkTrapInput". + */ + export interface LegacyBulkTrapInput { + center_eV_above_vb: CenterEvAboveVb1; + charge_transition: ChargeTransition1; + distribution: Distribution; + energy_sigma_eV?: EnergySigmaEv; + sigma_n_m2: SigmaNM21; + sigma_p_m2: SigmaPM21; + thermal_velocity_m_s: ThermalVelocityMS; + total_density_m3: TotalDensityM32; + } + /** + * GGI endpoints follow the layer's electrical grading coordinate. + * + * Absent model, slice and quadrature values are supplied by the injected catalog, + * compiled from the existing model declaration. None is never a numeric default. + * + * This interface was referenced by `FullLayerInput`'s JSON-Schema + * via the `definition` "CigsOpticsInput". + */ + export interface CigsOpticsInput { + cgi: Cgi; + ggi_back: GgiBack; + ggi_front: GgiFront; + kk_quadrature_order?: KkQuadratureOrder; + model?: Model; + slices?: Slices; + } + /** + * This interface was referenced by `FullLayerInput`'s JSON-Schema + * via the `definition` "MetastableDocumentInput". + */ + export interface MetastableDocumentInput { + defect_model: DefectModel1; + metastable_defects: MetastableDefects; + schema_version: SchemaVersion; + } + /** + * This interface was referenced by `FullLayerInput`'s JSON-Schema + * via the `definition` "MetastableDefectInput". + */ + export interface MetastableDefectInput { + acceptor_configuration: MultivalentConfigurationInput; + acceptor_conversion_state_index: AcceptorConversionStateIndex; + conversion_kinetics: MetastableConversionInput; + donor_configuration: MultivalentConfigurationInput; + donor_conversion_state_index: DonorConversionStateIndex; + id: Id3; + name: Name2; + total_density_m3: TotalDensityM33; + } + /** + * This interface was referenced by `FullLayerInput`'s JSON-Schema + * via the `definition` "MetastableConversionInput". + */ + export interface MetastableConversionInput { + capture_n_m3_s: CaptureNM3S; + capture_p_m3_s: CapturePM3S; + electron_capture_activation_eV: ElectronCaptureActivationEv; + electron_capture_path: ElectronCapturePath; + electron_emission_activation_eV: ElectronEmissionActivationEv; + hole_capture_activation_eV: HoleCaptureActivationEv; + hole_capture_path: HoleCapturePath; + hole_emission_activation_eV: HoleEmissionActivationEv; + phonon_frequency_Hz: PhononFrequencyHz; + transition_energy_eV_above_vb: TransitionEnergyEvAboveVb; + } + /** + * This interface was referenced by `FullLayerInput`'s JSON-Schema + * via the `definition` "MetastablePreparationInput". + */ + export interface MetastablePreparationInput { + configuration_freeze_stage: ConfigurationFreezeStage; + freeze_configuration_during_measurement: FreezeConfigurationDuringMeasurement; + illumination_continuation_steps: IlluminationContinuationSteps; + measurement_protocol_sha256: MeasurementProtocolSha256; + measurement_temperature_K: MeasurementTemperatureK; + numerics: MetastableNumericsInput; + preparation_illumination_suns: PreparationIlluminationSuns; + preparation_limit: PreparationLimit; + preparation_temperature_K: PreparationTemperatureK; + preparation_voltage_V: PreparationVoltageV; + schema_version: SchemaVersion1; + voltage_continuation_steps: VoltageContinuationSteps; + } + /** + * This interface was referenced by `FullLayerInput`'s JSON-Schema + * via the `definition` "MetastableNumericsInput". + */ + export interface MetastableNumericsInput { + clamping_factor: ClampingFactor; + final_unclamped_refinement: FinalUnclampedRefinement; + initial_donor_fraction_guess: InitialDonorFractionGuess; + max_iterations: MaxIterations; + relative_tolerance: RelativeTolerance; + } + /** + * This interface was referenced by `FullLayerInput`'s JSON-Schema + * via the `definition` "FullParameterInput". + */ + export interface FullParameterInput { + A_star_n?: AStarN; + A_star_p?: AStarP; + B_rad?: BRad; + B_rad_T_gamma?: BRadTGamma; + C_n?: CN; + C_p?: CP; + D_ion?: DIon; + D_ion_neg?: DIonNeg; + E_a_ion?: EAIon; + Eg?: Eg; + Eg_back?: EgBack; + N_A?: NA; + N_A_bulk?: NABulk; + N_D?: ND; + N_D_bulk?: NDBulk; + Nc300?: Nc300; + Nv300?: Nv300; + P0?: P0; + P0_neg?: P0Neg; + P_lim?: PLim; + P_lim_neg?: PLimNeg; + acceptor_binding_energy_eV?: AcceptorBindingEnergyEv; + acceptor_degeneracy?: AcceptorDegeneracy; + alpha?: Alpha; + band_gap_narrowing_model?: BandGapNarrowingModel; + bgn_conduction_band_fraction?: BgnConductionBandFraction; + bgn_log_shape?: BgnLogShape; + bgn_reference_density_m3?: BgnReferenceDensityM3; + bgn_reference_energy_eV?: BgnReferenceEnergyEv; + carrier_statistics?: CarrierStatistics; + chi?: Chi; + chi_back?: ChiBack; + ct_beta_n?: CtBetaN; + ct_beta_p?: CtBetaP; + donor_binding_energy_eV?: DonorBindingEnergyEv; + donor_degeneracy?: DonorDegeneracy; + dopant_ionization_model?: DopantIonizationModel; + doping_decay_length?: DopingDecayLength; + doping_edge?: DopingEdge; + doping_profile_shape?: DopingProfileShape; + eps_r?: EpsR; + grading_N_mult?: GradingNMult; + grading_bowing?: GradingBowing; + grading_char_length?: GradingCharLength; + grading_direction?: GradingDirection; + grading_profile?: GradingProfile; + incoherent?: Incoherent; + mu_T_gamma?: MuTGamma; + mu_n?: MuN; + mu_p?: MuP; + n1?: N1; + n_optical?: NOptical; + ni?: Ni; + optical_material?: OpticalMaterial; + p1?: P1; + pf_gamma_n?: PfGammaN; + pf_gamma_p?: PfGammaP; + tau_n?: TauN; + tau_p?: TauP; + trap_N_t_bulk?: TrapNTBulk; + trap_N_t_interface?: TrapNTInterface; + trap_decay_length?: TrapDecayLength; + trap_edge?: TrapEdge; + trap_profile_shape?: TrapProfileShape; + v_sat_n?: VSatN; + v_sat_p?: VSatP; + v_th?: VTh; + varshni_alpha?: VarshniAlpha; + varshni_beta?: VarshniBeta; + } + /** + * Preserved partner metadata; a Gaussian note is not a qualified closure. + * + * This interface was referenced by `FullLayerInput`'s JSON-Schema + * via the `definition` "ScapsDefectMetadataInput". + */ + export interface ScapsDefectMetadataInput { + E_char_eV?: ECharEv; + N_peak_m3?: NPeakM3; + defect_id: DefectId; + distribution: Distribution1; + energy_reference: EnergyReference2; + trap_depth_eV: TrapDepthEv; + } +} +export type FullLayerInput = FullLayerInputDefinitions.FullLayerInput; + +// Source DTO: solarlab.materials.full_parameters:FullParameterInput +// Schema SHA-256 (JSON.stringify): 71001e8a1c2e702cec42e92f89ad585bb805245ed5511f36dac2f4e1c84775b4 +export declare namespace FullParameterInputDefinitions { + export type AStarN = number | string; + export type AStarP = number | string; + export type BRad = number | string; + export type BRadTGamma = number | string; + export type CN = number | string; + export type CP = number | string; + export type DIon = number | string; + export type DIonNeg = number | string; + export type EAIon = number | string; + export type Eg = number | string; + export type EgBack = (number | string | null) | null; + export type NA = number | string; + export type NABulk = (number | string | null) | null; + export type ND = number | string; + export type NDBulk = (number | string | null) | null; + export type Nc300 = (number | string | null) | null; + export type Nv300 = (number | string | null) | null; + export type P0 = number | string; + export type P0Neg = number | string; + export type PLim = number | string; + export type PLimNeg = number | string; + export type AcceptorBindingEnergyEv = (number | string | null) | null; + export type AcceptorDegeneracy = number | string; + export type Alpha = number | string; + export type BandGapNarrowingModel = 'off' | 'slotboom'; + export type BgnConductionBandFraction = number | string; + export type BgnLogShape = number | string; + export type BgnReferenceDensityM3 = number | string; + export type BgnReferenceEnergyEv = number | string; + export type CarrierStatistics = 'maxwell_boltzmann' | 'fermi_dirac'; + export type Chi = number | string; + export type ChiBack = (number | string | null) | null; + export type CtBetaN = number | string; + export type CtBetaP = number | string; + export type DonorBindingEnergyEv = (number | string | null) | null; + export type DonorDegeneracy = number | string; + export type DopantIonizationModel = 'fully_ionized' | 'discrete_level'; + export type DopingDecayLength = (number | string | null) | null; + export type DopingEdge = 'front' | 'back'; + export type DopingProfileShape = 'gaussian' | null; + export type EpsR = number | string; + export type GradingNMult = number; + export type GradingBowing = number | string; + export type GradingCharLength = (number | string | null) | null; + export type GradingDirection = 'front_to_back' | 'back_to_front'; + export type GradingProfile = 'linear' | 'parabolic' | 'exponential'; + export type Incoherent = boolean; + export type MuTGamma = number | string; + export type MuN = number | string; + export type MuP = number | string; + export type N1 = number | string; + export type NOptical = (number | string | null) | null; + export type Ni = number | string; + export type OpticalMaterial = string | null; + export type P1 = number | string; + export type PfGammaN = number | string; + export type PfGammaP = number | string; + export type TauN = number | string; + export type TauP = number | string; + export type TrapNTBulk = (number | string | null) | null; + export type TrapNTInterface = (number | string | null) | null; + export type TrapDecayLength = (number | string | null) | null; + export type TrapEdge = 'both' | 'left' | 'right'; + export type TrapProfileShape = 'exponential' | 'gaussian'; + export type VSatN = number | string; + export type VSatP = number | string; + export type VTh = number | string; + export type VarshniAlpha = number | string; + export type VarshniBeta = number | string; + + export interface FullParameterInput { + A_star_n?: AStarN; + A_star_p?: AStarP; + B_rad?: BRad; + B_rad_T_gamma?: BRadTGamma; + C_n?: CN; + C_p?: CP; + D_ion?: DIon; + D_ion_neg?: DIonNeg; + E_a_ion?: EAIon; + Eg?: Eg; + Eg_back?: EgBack; + N_A?: NA; + N_A_bulk?: NABulk; + N_D?: ND; + N_D_bulk?: NDBulk; + Nc300?: Nc300; + Nv300?: Nv300; + P0?: P0; + P0_neg?: P0Neg; + P_lim?: PLim; + P_lim_neg?: PLimNeg; + acceptor_binding_energy_eV?: AcceptorBindingEnergyEv; + acceptor_degeneracy?: AcceptorDegeneracy; + alpha?: Alpha; + band_gap_narrowing_model?: BandGapNarrowingModel; + bgn_conduction_band_fraction?: BgnConductionBandFraction; + bgn_log_shape?: BgnLogShape; + bgn_reference_density_m3?: BgnReferenceDensityM3; + bgn_reference_energy_eV?: BgnReferenceEnergyEv; + carrier_statistics?: CarrierStatistics; + chi?: Chi; + chi_back?: ChiBack; + ct_beta_n?: CtBetaN; + ct_beta_p?: CtBetaP; + donor_binding_energy_eV?: DonorBindingEnergyEv; + donor_degeneracy?: DonorDegeneracy; + dopant_ionization_model?: DopantIonizationModel; + doping_decay_length?: DopingDecayLength; + doping_edge?: DopingEdge; + doping_profile_shape?: DopingProfileShape; + eps_r?: EpsR; + grading_N_mult?: GradingNMult; + grading_bowing?: GradingBowing; + grading_char_length?: GradingCharLength; + grading_direction?: GradingDirection; + grading_profile?: GradingProfile; + incoherent?: Incoherent; + mu_T_gamma?: MuTGamma; + mu_n?: MuN; + mu_p?: MuP; + n1?: N1; + n_optical?: NOptical; + ni?: Ni; + optical_material?: OpticalMaterial; + p1?: P1; + pf_gamma_n?: PfGammaN; + pf_gamma_p?: PfGammaP; + tau_n?: TauN; + tau_p?: TauP; + trap_N_t_bulk?: TrapNTBulk; + trap_N_t_interface?: TrapNTInterface; + trap_decay_length?: TrapDecayLength; + trap_edge?: TrapEdge; + trap_profile_shape?: TrapProfileShape; + v_sat_n?: VSatN; + v_sat_p?: VSatP; + v_th?: VTh; + varshni_alpha?: VarshniAlpha; + varshni_beta?: VarshniBeta; + } +} +export type FullParameterInput = FullParameterInputDefinitions.FullParameterInput; + +// Source DTO: solarlab.device.inputs:InterfaceInput +// Schema SHA-256 (JSON.stringify): 06e4195ea040197811affd1edd4006fe6b8759252b03f9d85f4bc295dcda7799 +export declare namespace InterfaceInputDefinitions { + export type CalibrationFactor = number | string; + export type EnergyReference = 'below_conduction_band' | 'above_valence_band'; + export type Id = string; + export type IfaceStateCalibrationFactor = number | string; + export type SigmaNM2 = number | string; + export type SigmaPM2 = number | string; + export type ThermalVelocityNMS = number | string; + export type ThermalVelocityPMS = number | string; + export type ECharEv = (number | string | null) | null; + export type NPeakM3 = (number | string | null) | null; + export type DefectId = string; + export type Distribution = 'single' | 'gaussian'; + export type EnergyReference1 = 'below_conduction_band' | 'above_valence_band'; + export type TrapDepthEv = number | string; + export type TotalDensityM2 = number | string; + export type TrapDepthEv1 = number | string; + export type Id1 = string; + export type Left = string; + export type Right = string; + export type VN = (number | string | null) | null; + export type VP = (number | string | null) | null; + + export interface InterfaceInput { + defect?: InterfaceDefectInput | null; + id: Id1; + left: Left; + right: Right; + v_n?: VN; + v_p?: VP; + } + /** + * This interface was referenced by `InterfaceInput`'s JSON-Schema + * via the `definition` "InterfaceDefectInput". + */ + export interface InterfaceDefectInput { + calibration_factor: CalibrationFactor; + energy_reference: EnergyReference; + id: Id; + iface_state_calibration_factor: IfaceStateCalibrationFactor; + kinetics: KineticsInput; + partner_metadata?: ScapsDefectMetadataInput | null; + total_density_m2: TotalDensityM2; + trap_depth_eV: TrapDepthEv1; + } + /** + * This interface was referenced by `InterfaceInput`'s JSON-Schema + * via the `definition` "KineticsInput". + */ + export interface KineticsInput { + sigma_n_m2: SigmaNM2; + sigma_p_m2: SigmaPM2; + thermal_velocity_n_m_s: ThermalVelocityNMS; + thermal_velocity_p_m_s: ThermalVelocityPMS; + } + /** + * Preserved partner metadata; a Gaussian note is not a qualified closure. + * + * This interface was referenced by `InterfaceInput`'s JSON-Schema + * via the `definition` "ScapsDefectMetadataInput". + */ + export interface ScapsDefectMetadataInput { + E_char_eV?: ECharEv; + N_peak_m3?: NPeakM3; + defect_id: DefectId; + distribution: Distribution; + energy_reference: EnergyReference1; + trap_depth_eV: TrapDepthEv; + } +} +export type InterfaceInput = InterfaceInputDefinitions.InterfaceInput; + +// Source DTO: solarlab.experiments.jv.inputs:JVExperimentInput +// Schema SHA-256 (JSON.stringify): f79edd41f9e2bd63e2b04f7d1746a9b7f5e0bc454cbcff40cc190227ab3a47d7 +export declare namespace JVExperimentInputDefinitions { + export type SN = (number | string | null) | null; + export type SP = (number | string | null) | null; + export type Id = string; + export type Layer = string; + export type Side = 'left' | 'right'; + export type Contacts = ContactInput[]; + export type Description = string | null; + export type Alpha = number | string; + export type IntervalWeight = number | string; + export type Layer1 = string; + export type ElectricalGrid = GridLayerInput[]; + export type FixedGeneration = string | null; + export type Id1 = string; + export type LayerIds = string[]; + export type SourceLayerRole = string | null; + export type TauN = number | string; + export type TauP = number | string; + export type Width = number | string; + export type XPosition = number | string; + export type GrainBoundaries = GrainBoundaryInput[]; + export type Id2 = string; + export type CalibrationFactor = number | string; + export type EnergyReference = 'below_conduction_band' | 'above_valence_band'; + export type Id3 = string; + export type IfaceStateCalibrationFactor = number | string; + export type SigmaNM2 = number | string; + export type SigmaPM2 = number | string; + export type ThermalVelocityNMS = number | string; + export type ThermalVelocityPMS = number | string; + export type ECharEv = (number | string | null) | null; + export type NPeakM3 = (number | string | null) | null; + export type DefectId = string; + export type Distribution = 'single' | 'gaussian'; + export type EnergyReference1 = 'below_conduction_band' | 'above_valence_band'; + export type TrapDepthEv = number | string; + export type TotalDensityM2 = number | string; + export type TrapDepthEv1 = number | string; + export type Id4 = string; + export type Left = string; + export type Right = string; + export type VN = (number | string | null) | null; + export type VP = (number | string | null) | null; + export type Interfaces = InterfaceInput[]; + export type ChargeTransition = 'neutral' | 'acceptor' | 'donor' | 'unresolved'; + export type Degeneracy = number | string; + export type CenterEvAboveVb = (number | string | null) | null; + export type EnergyReference2 = 'above_valence_band' | null; + export type Kind = + 'single_level' | 'gaussian' | 'uniform' | 'conduction_band_tail' | 'valence_band_tail'; + export type Normalization = 'integrated_total'; + export type SupportWidthMultiplier = (number | string | null) | null; + export type TotalDensityM3 = number | string; + export type WidthConvention = + | ( + | 'not_applicable' + | 'gaussian_standard_deviation' + | 'scaps_characteristic_energy' + | 'uniform_full_width' + | 'unresolved' + ) + | null; + export type WidthEv = (number | string | null) | null; + export type Reference = 'below_conduction_band' | 'above_valence_band'; + export type ValueEv = number | string; + export type Id5 = string; + export type Name = string | null; + export type NeutralReference = 'all_occupancies' | 'empty' | 'filled' | 'unresolved'; + export type Coordinate = 'normalized_layer_coordinate'; + export type DensityNormalization = 'layer_average_unity'; + export type Interpolation = 'piecewise_linear'; + export type DensityMultiplier = number | string; + export type PositionFraction = number | string; + export type Knots = SpatialKnotInput[]; + export type ChargeStatesE = number[]; + export type DegeneracyConvention = 'scaps_binomial' | 'unity' | 'explicit'; + export type CorrelationEnergiesEv = (number | string)[]; + export type EnergyReference3 = 'above_valence_band'; + export type FirstTransitionEvAboveVb = number | string; + export type Family = + | 'single_donor' + | 'single_acceptor' + | 'double_donor' + | 'double_acceptor' + | 'amphoteric' + | 'custom_multilevel'; + export type StateDegeneracies = (number | string)[]; + export type TransitionKinetics = KineticsInput[]; + export type Id6 = string; + export type Name1 = string; + export type TotalDensityM31 = number | string; + export type BulkDefects = (BulkDefectInput | MultivalentDefectInput)[]; + export type CenterEvAboveVb1 = number | string; + export type ChargeTransition1 = 'acceptor' | 'donor'; + export type Distribution1 = 'single_level' | 'gaussian'; + export type EnergySigmaEv = number | string; + export type SigmaNM21 = number | string; + export type SigmaPM21 = number | string; + export type ThermalVelocityMS = number | string; + export type TotalDensityM32 = number | string; + export type Cgi = number | string; + export type GgiBack = number | string; + export type GgiFront = number | string; + export type KkQuadratureOrder = number; + export type Model = 'minoura_2015'; + export type Slices = number; + export type DefectModel = ('effective_lifetime' | 'explicit_quasi_steady') | null; + export type DefectSchemaVersion = string | null; + export type Id7 = string; + export type Material = string | null; + export type DefectModel1 = 'explicit_metastable_frozen'; + export type AcceptorConversionStateIndex = number; + export type CaptureNM3S = number | string; + export type CapturePM3S = number | string; + export type ElectronCaptureActivationEv = number | string; + export type ElectronCapturePath = 'double_electron_capture' | 'electron_capture_plus_hole_emission'; + export type ElectronEmissionActivationEv = number | string; + export type HoleCaptureActivationEv = number | string; + export type HoleCapturePath = 'double_hole_capture' | 'hole_capture_plus_electron_emission'; + export type HoleEmissionActivationEv = number | string; + export type PhononFrequencyHz = number | string; + export type TransitionEnergyEvAboveVb = number | string; + export type DonorConversionStateIndex = number; + export type Id8 = string; + export type Name2 = string; + export type TotalDensityM33 = number | string; + export type MetastableDefects = MetastableDefectInput[]; + export type SchemaVersion = 'solarlab-metastable-bulk-defects-v1'; + export type ConfigurationFreezeStage = 'after_stationary_preparation_before_measurement'; + export type FreezeConfigurationDuringMeasurement = true; + export type IlluminationContinuationSteps = number; + export type MeasurementProtocolSha256 = string; + export type MeasurementTemperatureK = number | string; + export type ClampingFactor = number | string; + export type FinalUnclampedRefinement = true; + export type InitialDonorFractionGuess = number | string; + export type MaxIterations = number; + export type RelativeTolerance = number | string; + export type PreparationIlluminationSuns = number | string; + export type PreparationLimit = 'stationary_infinite_time'; + export type PreparationTemperatureK = number | string; + export type PreparationVoltageV = number | string; + export type SchemaVersion1 = 'solarlab-metastable-preparation-v1'; + export type VoltageContinuationSteps = number; + export type Name3 = string; + export type Parameterization = 'standard' | 'scaps'; + export type AStarN = number | string; + export type AStarP = number | string; + export type BRad = number | string; + export type BRadTGamma = number | string; + export type CN = number | string; + export type CP = number | string; + export type DIon = number | string; + export type DIonNeg = number | string; + export type EAIon = number | string; + export type Eg = number | string; + export type EgBack = (number | string | null) | null; + export type NA = number | string; + export type NABulk = (number | string | null) | null; + export type ND = number | string; + export type NDBulk = (number | string | null) | null; + export type Nc300 = (number | string | null) | null; + export type Nv300 = (number | string | null) | null; + export type P0 = number | string; + export type P0Neg = number | string; + export type PLim = number | string; + export type PLimNeg = number | string; + export type AcceptorBindingEnergyEv = (number | string | null) | null; + export type AcceptorDegeneracy = number | string; + export type Alpha1 = number | string; + export type BandGapNarrowingModel = 'off' | 'slotboom'; + export type BgnConductionBandFraction = number | string; + export type BgnLogShape = number | string; + export type BgnReferenceDensityM3 = number | string; + export type BgnReferenceEnergyEv = number | string; + export type CarrierStatistics = 'maxwell_boltzmann' | 'fermi_dirac'; + export type Chi = number | string; + export type ChiBack = (number | string | null) | null; + export type CtBetaN = number | string; + export type CtBetaP = number | string; + export type DonorBindingEnergyEv = (number | string | null) | null; + export type DonorDegeneracy = number | string; + export type DopantIonizationModel = 'fully_ionized' | 'discrete_level'; + export type DopingDecayLength = (number | string | null) | null; + export type DopingEdge = 'front' | 'back'; + export type DopingProfileShape = 'gaussian' | null; + export type EpsR = number | string; + export type GradingNMult = number; + export type GradingBowing = number | string; + export type GradingCharLength = (number | string | null) | null; + export type GradingDirection = 'front_to_back' | 'back_to_front'; + export type GradingProfile = 'linear' | 'parabolic' | 'exponential'; + export type Incoherent = boolean; + export type MuTGamma = number | string; + export type MuN = number | string; + export type MuP = number | string; + export type N1 = number | string; + export type NOptical = (number | string | null) | null; + export type Ni = number | string; + export type OpticalMaterial = string | null; + export type P1 = number | string; + export type PfGammaN = number | string; + export type PfGammaP = number | string; + export type TauN1 = number | string; + export type TauP1 = number | string; + export type TrapNTBulk = (number | string | null) | null; + export type TrapNTInterface = (number | string | null) | null; + export type TrapDecayLength = (number | string | null) | null; + export type TrapEdge = 'both' | 'left' | 'right'; + export type TrapProfileShape = 'exponential' | 'gaussian'; + export type VSatN = number | string; + export type VSatP = number | string; + export type VTh = number | string; + export type VarshniAlpha = number | string; + export type VarshniBeta = number | string; + export type Role = string; + export type ScapsDefectMetadata = ScapsDefectMetadataInput[]; + export type Thickness = number | string; + export type Layers = FullLayerInput[]; + export type InterfaceDefectCount = number | null; + export type Interfaces1 = + [number | number | string | string, number | number | string | string][] | null; + export type LayerIds1 = string[]; + export type SchemaVersion2 = 'solarlab.standard-loader-fields.v1'; + export type SourceId = string; + export type SourceSha256 = string; + export type Temperature = number | string | boolean | null; + export type Id9 = string; + export type Name4 = string; + export type Materials = NamedMaterialInput[]; + export type Name5 = string | null; + export type SchemaVersion3 = 'solarlab.device-preparation.v1'; + export type Phi = number | string; + export type T = number | string; + export type VBi = number | string; + export type BandGrading = boolean; + export type BuiltInPotentialMode = + ('legacy_manual' | 'semiconductor_work_function' | 'metal_work_function') | null; + export type ContactPhiBEv = number | string; + export type DosBandPotentials = boolean; + export type FlatBandContacts = boolean; + export type FlatBandMetalContacts = boolean; + export type GradedOptics = boolean; + export type HetRecombDespike = number | string; + export type InterfaceChargeClosure = 'off' | 'equilibrium_referenced'; + export type InterfaceChargeRebaselineAcknowledged = boolean; + export type InterfacePlaneClosure = boolean; + export type InterfacePlaneGeneration = boolean; + export type InterfacePlaneProjection = boolean; + export type InterfaceSharedOccupancy = boolean; + export type InterfaceTunneling = boolean; + export type InterfaceTwoSided = boolean; + export type IonStericDiffusionOnly = boolean; + export type IonStericSharedSite = boolean; + export type JvSolverPolicy = 'general' | 'cancellation_safe_qf_required'; + export type Mode = 'legacy' | 'fast' | 'full'; + export type PhiLeft = number | string; + export type TePhysicalNorm = boolean; + export type TunnelMassEff = number | string; + export type WorkFunctionLeftEv = (number | string | null) | null; + export type WorkFunctionRightEv = (number | string | null) | null; + export type RequestedElectricalGridAllocation = number; + export type VMax = (number | string | null) | null; + export type AcExcitation = null; + export type DurationS = (number | string | null) | null; + export type Kind1 = + 'finite_time' | 'residual_certified' | 'finite_time_with_certificate' | 'not_applicable'; + export type MaxCarrierAreaRateAM2 = (number | string | null) | null; + export type MaxFaceCurrentSpreadAM2 = (number | string | null) | null; + export type MaxIonAreaRateAM2 = (number | string | null) | null; + export type MaxIonicFaceCurrentAM2 = (number | string | null) | null; + export type DwellDurationS = (number | string | null) | null; + export type Experiment = 'jv_hysteresis'; + /** + * @minItems 1 + */ + export type IlluminationHistory = [JVIlluminationStepInput, ...JVIlluminationStepInput[]]; + export type Condition = 'dark' | 'baseline' | 'scaled' | 'monochromatic' | 'pulse'; + export type DurationS1 = (number | string | null) | null; + export type IntensitySuns = (number | string | null) | null; + export type Phase = string; + export type PhotonFluxM2S = (number | string | null) | null; + export type RelativeGenerationChange = (number | string | null) | null; + export type SourceReference = string | null; + export type ImplicitLegacyProtocol = boolean; + export type InitialStateSource = + | 'dark_equilibrium' + | 'dark_equilibrium_each_sample' + | 'finite_time_illuminated_preconditioned' + | 'finite_time_dc_preconditioned' + | 'qf_dc_candidate' + | 'user_supplied_state'; + export type PreBiasV = (number | string | null) | null; + export type Axis = 'voltage_V'; + export type Mode1 = 'linear' | 'log' | 'declared' | 'piecewise_linear'; + /** + * @minItems 1 + */ + export type Values = [number | number | string | string, ...(number | number | string | string)[]]; + export type Axis1 = 'voltage_V'; + export type Direction = + 'ascending' | 'descending' | 'ascending_then_descending' | 'declared_order' | 'forward_time'; + export type RateVS = number | string; + export type Start = number | string; + export type Stop = number | string; + export type SchemaVersion4 = 1; + export type SoakDurationS = (number | string | null) | null; + export type TemperatureK = number | string; + export type VocSearch = null; + export type IfaceStates = boolean; + export type Illuminated = boolean; + export type InterfaceBoundary = boolean; + export type InterfaceTransportModel = string; + export type SamplesPerBranch = number; + export type ProtocolMode = 'compatibility' | 'research_strict'; + export type Solver = 'transient' | 'steady_state' | 'quasi_fermi'; + export type VRate = number | string; + export type BranchDwellS = number | string; + export type DarkPrepS = number | string; + export type DarkSeedS = number | string; + export type SchemaVersion5 = 1; + export type StartVoltageV = number | string; + export type TurnaroundDark = boolean; + export type TurnaroundS = number | string; + export type UniformGenerationRateM3S = (number | string | null) | null; + export type AtolM3 = number | string; + export type Rtol = number | string; + export type MinNGrid = number | null; + export type Notes = string | null; + export type SourceFormat = 'standard' | 'scaps' | 'canonical'; + export type SourceSchemaVersion = string | number | null; + export type Spectrum = string | null; + export type Enabled = boolean; + export type EnergyQuadratureOrder = number; + export type MinimumFieldVM = number | string; + export type ReducedEffectiveMassRel = number | string; + export type BarrierHeightEv = number | string; + export type ElectronEffectiveMassRel = number | string; + export type Enabled1 = boolean; + export type EnergyQuadratureOrder1 = number; + export type HoleEffectiveMassRel = number | string; + export type Side1 = 'both' | 'left' | 'right'; + export type ElectronEffectiveMassRel1 = number | string; + export type Enabled2 = boolean; + export type HoleEffectiveMassRel1 = number | string; + export type RequiresExplicitOccupancy = true; + export type Carrier = 'electron' | 'hole' | 'both'; + export type ElectronEffectiveMassRel2 = number | string; + export type Enabled3 = boolean; + export type EnergyQuadratureOrder2 = number; + export type HoleEffectiveMassRel2 = number | string; + export type SchemaVersion6 = 'solarlab-wkb-tunnelling-channels-v1'; + export type Experiment1 = JVInput | DarkJVInput; + export type RequestedElectricalGridAllocation1 = number; + export type VMax1 = (number | string | null) | null; + export type IfaceStates1 = boolean; + export type Illuminated1 = boolean; + export type InterfaceBoundary1 = boolean; + export type InterfaceTransportModel1 = string; + export type Kind2 = 'jv'; + export type SamplesPerBranch1 = number; + export type ProtocolMode1 = 'compatibility' | 'research_strict'; + export type RequestApi = 'jobs' | 'jv_endpoint'; + export type Solver1 = 'transient' | 'steady_state' | 'quasi_fermi'; + export type VRate1 = number | string; + export type RequestedElectricalGridAllocation2 = number; + export type VMax2 = number | string; + export type Kind3 = 'dark_jv'; + export type SamplesPerBranch2 = number; + export type VRate2 = number | string; + export type Id10 = string; + export type SchemaVersion7 = 'solarlab.experiment-preparation.v1'; + + export interface JVExperimentInput { + device: DeviceInput; + experiment: Experiment1; + id: Id10; + schema_version: SchemaVersion7; + } + /** + * This interface was referenced by `JVExperimentInput`'s JSON-Schema + * via the `definition` "DeviceInput". + */ + export interface DeviceInput { + contacts?: Contacts; + description?: Description; + electrical_grid?: ElectricalGrid; + fixed_generation?: FixedGeneration; + grain_boundaries?: GrainBoundaries; + id: Id2; + interfaces?: Interfaces; + layers: Layers; + legacy_fields?: LegacyDeviceFieldsInput | null; + materials?: Materials; + name?: Name5; + schema_version: SchemaVersion3; + settings?: DeviceSettingsInput; + simulation_hints?: SimulationHintsInput | null; + source_format: SourceFormat; + source_schema_version?: SourceSchemaVersion; + spectrum?: Spectrum; + tunnelling_channels?: TunnellingInput | null; + } + /** + * This interface was referenced by `JVExperimentInput`'s JSON-Schema + * via the `definition` "ContactInput". + */ + export interface ContactInput { + S_n?: SN; + S_p?: SP; + id: Id; + layer: Layer; + side: Side; + } + /** + * This interface was referenced by `JVExperimentInput`'s JSON-Schema + * via the `definition` "GridLayerInput". + */ + export interface GridLayerInput { + alpha: Alpha; + interval_weight: IntervalWeight; + layer: Layer1; + } + /** + * This interface was referenced by `JVExperimentInput`'s JSON-Schema + * via the `definition` "GrainBoundaryInput". + */ + export interface GrainBoundaryInput { + id: Id1; + layer_ids: LayerIds; + source_layer_role?: SourceLayerRole; + tau_n: TauN; + tau_p: TauP; + width: Width; + x_position: XPosition; + } + /** + * This interface was referenced by `JVExperimentInput`'s JSON-Schema + * via the `definition` "InterfaceInput". + */ + export interface InterfaceInput { + defect?: InterfaceDefectInput | null; + id: Id4; + left: Left; + right: Right; + v_n?: VN; + v_p?: VP; + } + /** + * This interface was referenced by `JVExperimentInput`'s JSON-Schema + * via the `definition` "InterfaceDefectInput". + */ + export interface InterfaceDefectInput { + calibration_factor: CalibrationFactor; + energy_reference: EnergyReference; + id: Id3; + iface_state_calibration_factor: IfaceStateCalibrationFactor; + kinetics: KineticsInput; + partner_metadata?: ScapsDefectMetadataInput | null; + total_density_m2: TotalDensityM2; + trap_depth_eV: TrapDepthEv1; + } + /** + * This interface was referenced by `JVExperimentInput`'s JSON-Schema + * via the `definition` "KineticsInput". + */ + export interface KineticsInput { + sigma_n_m2: SigmaNM2; + sigma_p_m2: SigmaPM2; + thermal_velocity_n_m_s: ThermalVelocityNMS; + thermal_velocity_p_m_s: ThermalVelocityPMS; + } + /** + * Preserved partner metadata; a Gaussian note is not a qualified closure. + * + * This interface was referenced by `JVExperimentInput`'s JSON-Schema + * via the `definition` "ScapsDefectMetadataInput". + */ + export interface ScapsDefectMetadataInput { + E_char_eV?: ECharEv; + N_peak_m3?: NPeakM3; + defect_id: DefectId; + distribution: Distribution; + energy_reference: EnergyReference1; + trap_depth_eV: TrapDepthEv; + } + /** + * This interface was referenced by `JVExperimentInput`'s JSON-Schema + * via the `definition` "FullLayerInput". + */ + export interface FullLayerInput { + bulk_defects?: BulkDefects; + bulk_trap_distribution?: LegacyBulkTrapInput | null; + cigs_graded_optics?: CigsOpticsInput | null; + defect_model?: DefectModel; + defect_schema_version?: DefectSchemaVersion; + id: Id7; + material?: Material; + metastable_document?: MetastableDocumentInput | null; + metastable_preparation?: MetastablePreparationInput | null; + name: Name3; + parameterization?: Parameterization; + parameters?: FullParameterInput; + role: Role; + scaps_defect_metadata?: ScapsDefectMetadata; + thickness: Thickness; + } + /** + * This interface was referenced by `JVExperimentInput`'s JSON-Schema + * via the `definition` "BulkDefectInput". + */ + export interface BulkDefectInput { + charge_transition: ChargeTransition; + degeneracy: Degeneracy; + distribution: DistributionInput; + energy_level?: EnergyLevelInput | null; + id: Id5; + kinetics: KineticsInput; + name?: Name; + neutral_reference: NeutralReference; + spatial_profile?: SpatialProfileInput | null; + } + /** + * This interface was referenced by `JVExperimentInput`'s JSON-Schema + * via the `definition` "DistributionInput". + */ + export interface DistributionInput { + center_eV_above_vb?: CenterEvAboveVb; + energy_reference?: EnergyReference2; + kind: Kind; + normalization: Normalization; + support_width_multiplier?: SupportWidthMultiplier; + total_density_m3: TotalDensityM3; + width_convention?: WidthConvention; + width_eV?: WidthEv; + } + /** + * This interface was referenced by `JVExperimentInput`'s JSON-Schema + * via the `definition` "EnergyLevelInput". + */ + export interface EnergyLevelInput { + reference: Reference; + value_eV: ValueEv; + } + /** + * This interface was referenced by `JVExperimentInput`'s JSON-Schema + * via the `definition` "SpatialProfileInput". + */ + export interface SpatialProfileInput { + coordinate: Coordinate; + density_normalization: DensityNormalization; + interpolation: Interpolation; + knots: Knots; + } + /** + * This interface was referenced by `JVExperimentInput`'s JSON-Schema + * via the `definition` "SpatialKnotInput". + */ + export interface SpatialKnotInput { + density_multiplier: DensityMultiplier; + position_fraction: PositionFraction; + } + /** + * This interface was referenced by `JVExperimentInput`'s JSON-Schema + * via the `definition` "MultivalentDefectInput". + */ + export interface MultivalentDefectInput { + configuration: MultivalentConfigurationInput; + id: Id6; + name: Name1; + total_density_m3: TotalDensityM31; + } + /** + * This interface was referenced by `JVExperimentInput`'s JSON-Schema + * via the `definition` "MultivalentConfigurationInput". + */ + export interface MultivalentConfigurationInput { + charge_states_e: ChargeStatesE; + degeneracy_convention: DegeneracyConvention; + energy_levels: MultivalentEnergyInput; + family: Family; + state_degeneracies: StateDegeneracies; + transition_kinetics: TransitionKinetics; + } + /** + * This interface was referenced by `JVExperimentInput`'s JSON-Schema + * via the `definition` "MultivalentEnergyInput". + */ + export interface MultivalentEnergyInput { + correlation_energies_eV: CorrelationEnergiesEv; + energy_reference: EnergyReference3; + first_transition_eV_above_vb: FirstTransitionEvAboveVb; + } + /** + * This interface was referenced by `JVExperimentInput`'s JSON-Schema + * via the `definition` "LegacyBulkTrapInput". + */ + export interface LegacyBulkTrapInput { + center_eV_above_vb: CenterEvAboveVb1; + charge_transition: ChargeTransition1; + distribution: Distribution1; + energy_sigma_eV?: EnergySigmaEv; + sigma_n_m2: SigmaNM21; + sigma_p_m2: SigmaPM21; + thermal_velocity_m_s: ThermalVelocityMS; + total_density_m3: TotalDensityM32; + } + /** + * GGI endpoints follow the layer's electrical grading coordinate. + * + * Absent model, slice and quadrature values are supplied by the injected catalog, + * compiled from the existing model declaration. None is never a numeric default. + * + * This interface was referenced by `JVExperimentInput`'s JSON-Schema + * via the `definition` "CigsOpticsInput". + */ + export interface CigsOpticsInput { + cgi: Cgi; + ggi_back: GgiBack; + ggi_front: GgiFront; + kk_quadrature_order?: KkQuadratureOrder; + model?: Model; + slices?: Slices; + } + /** + * This interface was referenced by `JVExperimentInput`'s JSON-Schema + * via the `definition` "MetastableDocumentInput". + */ + export interface MetastableDocumentInput { + defect_model: DefectModel1; + metastable_defects: MetastableDefects; + schema_version: SchemaVersion; + } + /** + * This interface was referenced by `JVExperimentInput`'s JSON-Schema + * via the `definition` "MetastableDefectInput". + */ + export interface MetastableDefectInput { + acceptor_configuration: MultivalentConfigurationInput; + acceptor_conversion_state_index: AcceptorConversionStateIndex; + conversion_kinetics: MetastableConversionInput; + donor_configuration: MultivalentConfigurationInput; + donor_conversion_state_index: DonorConversionStateIndex; + id: Id8; + name: Name2; + total_density_m3: TotalDensityM33; + } + /** + * This interface was referenced by `JVExperimentInput`'s JSON-Schema + * via the `definition` "MetastableConversionInput". + */ + export interface MetastableConversionInput { + capture_n_m3_s: CaptureNM3S; + capture_p_m3_s: CapturePM3S; + electron_capture_activation_eV: ElectronCaptureActivationEv; + electron_capture_path: ElectronCapturePath; + electron_emission_activation_eV: ElectronEmissionActivationEv; + hole_capture_activation_eV: HoleCaptureActivationEv; + hole_capture_path: HoleCapturePath; + hole_emission_activation_eV: HoleEmissionActivationEv; + phonon_frequency_Hz: PhononFrequencyHz; + transition_energy_eV_above_vb: TransitionEnergyEvAboveVb; + } + /** + * This interface was referenced by `JVExperimentInput`'s JSON-Schema + * via the `definition` "MetastablePreparationInput". + */ + export interface MetastablePreparationInput { + configuration_freeze_stage: ConfigurationFreezeStage; + freeze_configuration_during_measurement: FreezeConfigurationDuringMeasurement; + illumination_continuation_steps: IlluminationContinuationSteps; + measurement_protocol_sha256: MeasurementProtocolSha256; + measurement_temperature_K: MeasurementTemperatureK; + numerics: MetastableNumericsInput; + preparation_illumination_suns: PreparationIlluminationSuns; + preparation_limit: PreparationLimit; + preparation_temperature_K: PreparationTemperatureK; + preparation_voltage_V: PreparationVoltageV; + schema_version: SchemaVersion1; + voltage_continuation_steps: VoltageContinuationSteps; + } + /** + * This interface was referenced by `JVExperimentInput`'s JSON-Schema + * via the `definition` "MetastableNumericsInput". + */ + export interface MetastableNumericsInput { + clamping_factor: ClampingFactor; + final_unclamped_refinement: FinalUnclampedRefinement; + initial_donor_fraction_guess: InitialDonorFractionGuess; + max_iterations: MaxIterations; + relative_tolerance: RelativeTolerance; + } + /** + * This interface was referenced by `JVExperimentInput`'s JSON-Schema + * via the `definition` "FullParameterInput". + */ + export interface FullParameterInput { + A_star_n?: AStarN; + A_star_p?: AStarP; + B_rad?: BRad; + B_rad_T_gamma?: BRadTGamma; + C_n?: CN; + C_p?: CP; + D_ion?: DIon; + D_ion_neg?: DIonNeg; + E_a_ion?: EAIon; + Eg?: Eg; + Eg_back?: EgBack; + N_A?: NA; + N_A_bulk?: NABulk; + N_D?: ND; + N_D_bulk?: NDBulk; + Nc300?: Nc300; + Nv300?: Nv300; + P0?: P0; + P0_neg?: P0Neg; + P_lim?: PLim; + P_lim_neg?: PLimNeg; + acceptor_binding_energy_eV?: AcceptorBindingEnergyEv; + acceptor_degeneracy?: AcceptorDegeneracy; + alpha?: Alpha1; + band_gap_narrowing_model?: BandGapNarrowingModel; + bgn_conduction_band_fraction?: BgnConductionBandFraction; + bgn_log_shape?: BgnLogShape; + bgn_reference_density_m3?: BgnReferenceDensityM3; + bgn_reference_energy_eV?: BgnReferenceEnergyEv; + carrier_statistics?: CarrierStatistics; + chi?: Chi; + chi_back?: ChiBack; + ct_beta_n?: CtBetaN; + ct_beta_p?: CtBetaP; + donor_binding_energy_eV?: DonorBindingEnergyEv; + donor_degeneracy?: DonorDegeneracy; + dopant_ionization_model?: DopantIonizationModel; + doping_decay_length?: DopingDecayLength; + doping_edge?: DopingEdge; + doping_profile_shape?: DopingProfileShape; + eps_r?: EpsR; + grading_N_mult?: GradingNMult; + grading_bowing?: GradingBowing; + grading_char_length?: GradingCharLength; + grading_direction?: GradingDirection; + grading_profile?: GradingProfile; + incoherent?: Incoherent; + mu_T_gamma?: MuTGamma; + mu_n?: MuN; + mu_p?: MuP; + n1?: N1; + n_optical?: NOptical; + ni?: Ni; + optical_material?: OpticalMaterial; + p1?: P1; + pf_gamma_n?: PfGammaN; + pf_gamma_p?: PfGammaP; + tau_n?: TauN1; + tau_p?: TauP1; + trap_N_t_bulk?: TrapNTBulk; + trap_N_t_interface?: TrapNTInterface; + trap_decay_length?: TrapDecayLength; + trap_edge?: TrapEdge; + trap_profile_shape?: TrapProfileShape; + v_sat_n?: VSatN; + v_sat_p?: VSatP; + v_th?: VTh; + varshni_alpha?: VarshniAlpha; + varshni_beta?: VarshniBeta; + } + /** + * This interface was referenced by `JVExperimentInput`'s JSON-Schema + * via the `definition` "LegacyDeviceFieldsInput". + */ + export interface LegacyDeviceFieldsInput { + interface_defect_count?: InterfaceDefectCount; + interfaces?: Interfaces1; + layer_ids: LayerIds1; + schema_version: SchemaVersion2; + source_id: SourceId; + source_sha256: SourceSha256; + temperature?: Temperature; + } + /** + * This interface was referenced by `JVExperimentInput`'s JSON-Schema + * via the `definition` "NamedMaterialInput". + */ + export interface NamedMaterialInput { + cigs_graded_optics?: CigsOpticsInput | null; + id: Id9; + name: Name4; + parameters: FullParameterInput; + } + /** + * This interface was referenced by `JVExperimentInput`'s JSON-Schema + * via the `definition` "DeviceSettingsInput". + */ + export interface DeviceSettingsInput { + Phi?: Phi; + T?: T; + V_bi?: VBi; + band_grading?: BandGrading; + built_in_potential_mode?: BuiltInPotentialMode; + contact_phi_B_eV?: ContactPhiBEv; + dos_band_potentials?: DosBandPotentials; + flat_band_contacts?: FlatBandContacts; + flat_band_metal_contacts?: FlatBandMetalContacts; + graded_optics?: GradedOptics; + het_recomb_despike?: HetRecombDespike; + interface_charge_closure?: InterfaceChargeClosure; + interface_charge_rebaseline_acknowledged?: InterfaceChargeRebaselineAcknowledged; + interface_plane_closure?: InterfacePlaneClosure; + interface_plane_generation?: InterfacePlaneGeneration; + interface_plane_projection?: InterfacePlaneProjection; + interface_shared_occupancy?: InterfaceSharedOccupancy; + interface_tunneling?: InterfaceTunneling; + interface_two_sided?: InterfaceTwoSided; + ion_steric_diffusion_only?: IonStericDiffusionOnly; + ion_steric_shared_site?: IonStericSharedSite; + jv_solver_policy?: JvSolverPolicy; + mode?: Mode; + phi_left?: PhiLeft; + te_physical_norm?: TePhysicalNorm; + tunnel_mass_eff?: TunnelMassEff; + work_function_left_eV?: WorkFunctionLeftEv; + work_function_right_eV?: WorkFunctionRightEv; + } + /** + * This interface was referenced by `JVExperimentInput`'s JSON-Schema + * via the `definition` "SimulationHintsInput". + */ + export interface SimulationHintsInput { + jv_sweep?: JVSweepHintsInput | null; + min_N_grid?: MinNGrid; + notes?: Notes; + } + /** + * Supplied advisory fields, without an endpoint or implied execution. + * + * Unknown fields reject rather than disappear. A caller must explicitly + * compose these fields with JVInput to request protocol preparation. + * + * This interface was referenced by `JVExperimentInput`'s JSON-Schema + * via the `definition` "JVSweepHintsInput". + */ + export interface JVSweepHintsInput { + N_grid?: RequestedElectricalGridAllocation; + V_max?: VMax; + experiment_protocol?: JVProtocolInput | null; + iface_states?: IfaceStates; + illuminated?: Illuminated; + interface_boundary?: InterfaceBoundary; + interface_transport_model?: InterfaceTransportModel; + n_points?: SamplesPerBranch; + protocol_mode?: ProtocolMode; + solver?: Solver; + v_rate?: VRate; + waveform?: JVWaveformInput | null; + waveform_controls?: JVWaveformControlsInput | null; + } + /** + * The existing ExperimentProtocol fields for its J-V branch only. + * + * This interface was referenced by `JVExperimentInput`'s JSON-Schema + * via the `definition` "JVProtocolInput". + */ + export interface JVProtocolInput { + ac_excitation: AcExcitation; + dc_settle: JVDCSettleInput; + dwell_duration_s: DwellDurationS; + experiment: Experiment; + illumination_history: IlluminationHistory; + implicit_legacy_protocol: ImplicitLegacyProtocol; + initial_state_source: InitialStateSource; + pre_bias_V: PreBiasV; + sampling: JVSamplingInput; + scan: JVScanInput; + schema_version: SchemaVersion4; + soak_duration_s: SoakDurationS; + temperature_K: TemperatureK; + voc_search: VocSearch; + } + /** + * This interface was referenced by `JVExperimentInput`'s JSON-Schema + * via the `definition` "JVDCSettleInput". + */ + export interface JVDCSettleInput { + duration_s: DurationS; + kind: Kind1; + max_carrier_area_rate_A_m2: MaxCarrierAreaRateAM2; + max_face_current_spread_A_m2: MaxFaceCurrentSpreadAM2; + max_ion_area_rate_A_m2: MaxIonAreaRateAM2; + max_ionic_face_current_A_m2: MaxIonicFaceCurrentAM2; + } + /** + * This interface was referenced by `JVExperimentInput`'s JSON-Schema + * via the `definition` "JVIlluminationStepInput". + */ + export interface JVIlluminationStepInput { + condition: Condition; + duration_s: DurationS1; + intensity_suns: IntensitySuns; + phase: Phase; + photon_flux_m2_s: PhotonFluxM2S; + relative_generation_change: RelativeGenerationChange; + source_reference: SourceReference; + } + /** + * This interface was referenced by `JVExperimentInput`'s JSON-Schema + * via the `definition` "JVSamplingInput". + */ + export interface JVSamplingInput { + axis: Axis; + mode: Mode1; + values: Values; + } + /** + * This interface was referenced by `JVExperimentInput`'s JSON-Schema + * via the `definition` "JVScanInput". + */ + export interface JVScanInput { + axis: Axis1; + direction: Direction; + rate_V_s: RateVS; + start: Start; + stop: Stop; + } + /** + * All eight fields of JVWaveform.from_dict are explicit, including null. + * + * This interface was referenced by `JVExperimentInput`'s JSON-Schema + * via the `definition` "JVWaveformInput". + */ + export interface JVWaveformInput { + branch_dwell_s: BranchDwellS; + dark_prep_s: DarkPrepS; + dark_seed_s: DarkSeedS; + schema_version: SchemaVersion5; + start_voltage_V: StartVoltageV; + turnaround_dark: TurnaroundDark; + turnaround_s: TurnaroundS; + uniform_generation_rate_m3_s: UniformGenerationRateM3S; + } + /** + * This interface was referenced by `JVExperimentInput`'s JSON-Schema + * via the `definition` "JVWaveformControlsInput". + */ + export interface JVWaveformControlsInput { + atol_m3: AtolM3; + rtol: Rtol; + } + /** + * This interface was referenced by `JVExperimentInput`'s JSON-Schema + * via the `definition` "TunnellingInput". + */ + export interface TunnellingInput { + band_to_band?: BandToBandInput | null; + contact?: ContactTunnellingInput | null; + interface_defect_assisted?: DefectAssistedInput | null; + intraband?: IntrabandInput | null; + schema_version?: SchemaVersion6; + } + /** + * This interface was referenced by `JVExperimentInput`'s JSON-Schema + * via the `definition` "BandToBandInput". + */ + export interface BandToBandInput { + enabled?: Enabled; + energy_quadrature_order?: EnergyQuadratureOrder; + minimum_field_V_m?: MinimumFieldVM; + reduced_effective_mass_rel?: ReducedEffectiveMassRel; + } + /** + * This interface was referenced by `JVExperimentInput`'s JSON-Schema + * via the `definition` "ContactTunnellingInput". + */ + export interface ContactTunnellingInput { + barrier_height_eV?: BarrierHeightEv; + electron_effective_mass_rel?: ElectronEffectiveMassRel; + enabled?: Enabled1; + energy_quadrature_order?: EnergyQuadratureOrder1; + hole_effective_mass_rel?: HoleEffectiveMassRel; + side?: Side1; + } + /** + * This interface was referenced by `JVExperimentInput`'s JSON-Schema + * via the `definition` "DefectAssistedInput". + */ + export interface DefectAssistedInput { + electron_effective_mass_rel?: ElectronEffectiveMassRel1; + enabled?: Enabled2; + hole_effective_mass_rel?: HoleEffectiveMassRel1; + requires_explicit_occupancy?: RequiresExplicitOccupancy; + } + /** + * This interface was referenced by `JVExperimentInput`'s JSON-Schema + * via the `definition` "IntrabandInput". + */ + export interface IntrabandInput { + carrier?: Carrier; + electron_effective_mass_rel?: ElectronEffectiveMassRel2; + enabled?: Enabled3; + energy_quadrature_order?: EnergyQuadratureOrder2; + hole_effective_mass_rel?: HoleEffectiveMassRel2; + } + /** + * This interface was referenced by `JVExperimentInput`'s JSON-Schema + * via the `definition` "JVInput". + */ + export interface JVInput { + N_grid?: RequestedElectricalGridAllocation1; + V_max?: VMax1; + experiment_protocol?: JVProtocolInput | null; + iface_states?: IfaceStates1; + illuminated?: Illuminated1; + interface_boundary?: InterfaceBoundary1; + interface_transport_model?: InterfaceTransportModel1; + kind: Kind2; + n_points?: SamplesPerBranch1; + protocol_mode?: ProtocolMode1; + request_api?: RequestApi; + solver?: Solver1; + v_rate?: VRate1; + waveform?: JVWaveformInput | null; + waveform_controls?: JVWaveformControlsInput | null; + } + /** + * This interface was referenced by `JVExperimentInput`'s JSON-Schema + * via the `definition` "DarkJVInput". + */ + export interface DarkJVInput { + N_grid?: RequestedElectricalGridAllocation2; + V_max?: VMax2; + kind: Kind3; + n_points?: SamplesPerBranch2; + v_rate?: VRate2; + } +} +export type JVExperimentInput = JVExperimentInputDefinitions.JVExperimentInput; + +// Source DTO: solarlab.config.inputs:LayerInput +// Schema SHA-256 (JSON.stringify): 7143bbeec244bc8e1f5c1c3f88043b595afc12f45e0584ea0bc13fa160df9c12 +export declare namespace LayerInputDefinitions { + export type Id = string; + export type Kind = 'layer_template'; + export type Name = string; + export type BRad = number | string; + export type CN = number | string; + export type CP = number | string; + export type DIon = number | string; + export type Eg = number | string; + export type NA = number | string; + export type ND = number | string; + export type P0 = number | string; + export type PLim = number | string; + export type Alpha = number | string; + export type Chi = number | string; + export type EpsR = number | string; + export type Incoherent = boolean; + export type MuN = number | string; + export type MuP = number | string; + export type N1 = number | string; + export type Ni = number | string; + export type OpticalMaterial = string | null; + export type P1 = number | string; + export type TauN = number | string; + export type TauP = number | string; + export type Thickness = number | string; + export type SchemaVersion = 2; + export type Template = string; + + /** + * A named layer with a stable ID and explicitly supplied overrides. + */ + export interface LayerInput { + id: Id; + kind?: Kind; + name: Name; + overrides?: LayerValuesInput; + schema_version?: SchemaVersion; + template: Template; + } + /** + * Explicit scalar overrides; absence inherits, only optical null clears. + * + * This interface was referenced by `LayerInput`'s JSON-Schema + * via the `definition` "LayerValuesInput". + */ + export interface LayerValuesInput { + B_rad?: BRad; + C_n?: CN; + C_p?: CP; + D_ion?: DIon; + Eg?: Eg; + N_A?: NA; + N_D?: ND; + P0?: P0; + P_lim?: PLim; + alpha?: Alpha; + chi?: Chi; + eps_r?: EpsR; + incoherent?: Incoherent; + mu_n?: MuN; + mu_p?: MuP; + n1?: N1; + ni?: Ni; + optical_material?: OpticalMaterial; + p1?: P1; + tau_n?: TauN; + tau_p?: TauP; + thickness?: Thickness; + } +} +export type LayerInput = LayerInputDefinitions.LayerInput; + +// Source DTO: solarlab.materials.parameters:LayerValuesInput +// Schema SHA-256 (JSON.stringify): b5324959933fb11a3089fed7f68838b46b349fbc82de22686a7a9c9984dbf5fb +export declare namespace LayerValuesInputDefinitions { + export type BRad = number | string; + export type CN = number | string; + export type CP = number | string; + export type DIon = number | string; + export type Eg = number | string; + export type NA = number | string; + export type ND = number | string; + export type P0 = number | string; + export type PLim = number | string; + export type Alpha = number | string; + export type Chi = number | string; + export type EpsR = number | string; + export type Incoherent = boolean; + export type MuN = number | string; + export type MuP = number | string; + export type N1 = number | string; + export type Ni = number | string; + export type OpticalMaterial = string | null; + export type P1 = number | string; + export type TauN = number | string; + export type TauP = number | string; + export type Thickness = number | string; + + /** + * Explicit scalar overrides; absence inherits, only optical null clears. + */ + export interface LayerValuesInput { + B_rad?: BRad; + C_n?: CN; + C_p?: CP; + D_ion?: DIon; + Eg?: Eg; + N_A?: NA; + N_D?: ND; + P0?: P0; + P_lim?: PLim; + alpha?: Alpha; + chi?: Chi; + eps_r?: EpsR; + incoherent?: Incoherent; + mu_n?: MuN; + mu_p?: MuP; + n1?: N1; + ni?: Ni; + optical_material?: OpticalMaterial; + p1?: P1; + tau_n?: TauN; + tau_p?: TauP; + thickness?: Thickness; + } +} +export type LayerValuesInput = LayerValuesInputDefinitions.LayerValuesInput; + +// Source DTO: solarlab.device.defects:LegacyBulkTrapInput +// Schema SHA-256 (JSON.stringify): ac0278e3c7d1192e827d69895fa0ba4c8fcd750e1fcee5c1bc741b42c11f28e8 +export declare namespace LegacyBulkTrapInputDefinitions { + export type CenterEvAboveVb = number | string; + export type ChargeTransition = 'acceptor' | 'donor'; + export type Distribution = 'single_level' | 'gaussian'; + export type EnergySigmaEv = number | string; + export type SigmaNM2 = number | string; + export type SigmaPM2 = number | string; + export type ThermalVelocityMS = number | string; + export type TotalDensityM3 = number | string; + + export interface LegacyBulkTrapInput { + center_eV_above_vb: CenterEvAboveVb; + charge_transition: ChargeTransition; + distribution: Distribution; + energy_sigma_eV?: EnergySigmaEv; + sigma_n_m2: SigmaNM2; + sigma_p_m2: SigmaPM2; + thermal_velocity_m_s: ThermalVelocityMS; + total_density_m3: TotalDensityM3; + } +} +export type LegacyBulkTrapInput = LegacyBulkTrapInputDefinitions.LegacyBulkTrapInput; + +// Source DTO: solarlab.device.defects:MetastableDocumentInput +// Schema SHA-256 (JSON.stringify): a8b9be6fa1d96634988ee2e1edb64def8c91b3a5e457a0727f623a21f0b2a3d3 +export declare namespace MetastableDocumentInputDefinitions { + export type DefectModel = 'explicit_metastable_frozen'; + export type ChargeStatesE = number[]; + export type DegeneracyConvention = 'scaps_binomial' | 'unity' | 'explicit'; + export type CorrelationEnergiesEv = (number | string)[]; + export type EnergyReference = 'above_valence_band'; + export type FirstTransitionEvAboveVb = number | string; + export type Family = + | 'single_donor' + | 'single_acceptor' + | 'double_donor' + | 'double_acceptor' + | 'amphoteric' + | 'custom_multilevel'; + export type StateDegeneracies = (number | string)[]; + export type SigmaNM2 = number | string; + export type SigmaPM2 = number | string; + export type ThermalVelocityNMS = number | string; + export type ThermalVelocityPMS = number | string; + export type TransitionKinetics = KineticsInput[]; + export type AcceptorConversionStateIndex = number; + export type CaptureNM3S = number | string; + export type CapturePM3S = number | string; + export type ElectronCaptureActivationEv = number | string; + export type ElectronCapturePath = 'double_electron_capture' | 'electron_capture_plus_hole_emission'; + export type ElectronEmissionActivationEv = number | string; + export type HoleCaptureActivationEv = number | string; + export type HoleCapturePath = 'double_hole_capture' | 'hole_capture_plus_electron_emission'; + export type HoleEmissionActivationEv = number | string; + export type PhononFrequencyHz = number | string; + export type TransitionEnergyEvAboveVb = number | string; + export type DonorConversionStateIndex = number; + export type Id = string; + export type Name = string; + export type TotalDensityM3 = number | string; + export type MetastableDefects = MetastableDefectInput[]; + export type SchemaVersion = 'solarlab-metastable-bulk-defects-v1'; + + export interface MetastableDocumentInput { + defect_model: DefectModel; + metastable_defects: MetastableDefects; + schema_version: SchemaVersion; + } + /** + * This interface was referenced by `MetastableDocumentInput`'s JSON-Schema + * via the `definition` "MetastableDefectInput". + */ + export interface MetastableDefectInput { + acceptor_configuration: MultivalentConfigurationInput; + acceptor_conversion_state_index: AcceptorConversionStateIndex; + conversion_kinetics: MetastableConversionInput; + donor_configuration: MultivalentConfigurationInput; + donor_conversion_state_index: DonorConversionStateIndex; + id: Id; + name: Name; + total_density_m3: TotalDensityM3; + } + /** + * This interface was referenced by `MetastableDocumentInput`'s JSON-Schema + * via the `definition` "MultivalentConfigurationInput". + */ + export interface MultivalentConfigurationInput { + charge_states_e: ChargeStatesE; + degeneracy_convention: DegeneracyConvention; + energy_levels: MultivalentEnergyInput; + family: Family; + state_degeneracies: StateDegeneracies; + transition_kinetics: TransitionKinetics; + } + /** + * This interface was referenced by `MetastableDocumentInput`'s JSON-Schema + * via the `definition` "MultivalentEnergyInput". + */ + export interface MultivalentEnergyInput { + correlation_energies_eV: CorrelationEnergiesEv; + energy_reference: EnergyReference; + first_transition_eV_above_vb: FirstTransitionEvAboveVb; + } + /** + * This interface was referenced by `MetastableDocumentInput`'s JSON-Schema + * via the `definition` "KineticsInput". + */ + export interface KineticsInput { + sigma_n_m2: SigmaNM2; + sigma_p_m2: SigmaPM2; + thermal_velocity_n_m_s: ThermalVelocityNMS; + thermal_velocity_p_m_s: ThermalVelocityPMS; + } + /** + * This interface was referenced by `MetastableDocumentInput`'s JSON-Schema + * via the `definition` "MetastableConversionInput". + */ + export interface MetastableConversionInput { + capture_n_m3_s: CaptureNM3S; + capture_p_m3_s: CapturePM3S; + electron_capture_activation_eV: ElectronCaptureActivationEv; + electron_capture_path: ElectronCapturePath; + electron_emission_activation_eV: ElectronEmissionActivationEv; + hole_capture_activation_eV: HoleCaptureActivationEv; + hole_capture_path: HoleCapturePath; + hole_emission_activation_eV: HoleEmissionActivationEv; + phonon_frequency_Hz: PhononFrequencyHz; + transition_energy_eV_above_vb: TransitionEnergyEvAboveVb; + } +} +export type MetastableDocumentInput = MetastableDocumentInputDefinitions.MetastableDocumentInput; + +// Source DTO: solarlab.device.defects:MetastablePreparationInput +// Schema SHA-256 (JSON.stringify): 8358741a46df1f5c69f80d6c22cd64ea79f0cd12d3c670b6b1e23318ea024ef0 +export declare namespace MetastablePreparationInputDefinitions { + export type ConfigurationFreezeStage = 'after_stationary_preparation_before_measurement'; + export type FreezeConfigurationDuringMeasurement = true; + export type IlluminationContinuationSteps = number; + export type MeasurementProtocolSha256 = string; + export type MeasurementTemperatureK = number | string; + export type ClampingFactor = number | string; + export type FinalUnclampedRefinement = true; + export type InitialDonorFractionGuess = number | string; + export type MaxIterations = number; + export type RelativeTolerance = number | string; + export type PreparationIlluminationSuns = number | string; + export type PreparationLimit = 'stationary_infinite_time'; + export type PreparationTemperatureK = number | string; + export type PreparationVoltageV = number | string; + export type SchemaVersion = 'solarlab-metastable-preparation-v1'; + export type VoltageContinuationSteps = number; + + export interface MetastablePreparationInput { + configuration_freeze_stage: ConfigurationFreezeStage; + freeze_configuration_during_measurement: FreezeConfigurationDuringMeasurement; + illumination_continuation_steps: IlluminationContinuationSteps; + measurement_protocol_sha256: MeasurementProtocolSha256; + measurement_temperature_K: MeasurementTemperatureK; + numerics: MetastableNumericsInput; + preparation_illumination_suns: PreparationIlluminationSuns; + preparation_limit: PreparationLimit; + preparation_temperature_K: PreparationTemperatureK; + preparation_voltage_V: PreparationVoltageV; + schema_version: SchemaVersion; + voltage_continuation_steps: VoltageContinuationSteps; + } + /** + * This interface was referenced by `MetastablePreparationInput`'s JSON-Schema + * via the `definition` "MetastableNumericsInput". + */ + export interface MetastableNumericsInput { + clamping_factor: ClampingFactor; + final_unclamped_refinement: FinalUnclampedRefinement; + initial_donor_fraction_guess: InitialDonorFractionGuess; + max_iterations: MaxIterations; + relative_tolerance: RelativeTolerance; + } +} +export type MetastablePreparationInput = MetastablePreparationInputDefinitions.MetastablePreparationInput; + +// Source DTO: solarlab.device.defects:MultivalentDefectInput +// Schema SHA-256 (JSON.stringify): 156f1231873f92647ec276670ab4840c3dc5f79bcd01b269eea10f522242b573 +export declare namespace MultivalentDefectInputDefinitions { + export type ChargeStatesE = number[]; + export type DegeneracyConvention = 'scaps_binomial' | 'unity' | 'explicit'; + export type CorrelationEnergiesEv = (number | string)[]; + export type EnergyReference = 'above_valence_band'; + export type FirstTransitionEvAboveVb = number | string; + export type Family = + | 'single_donor' + | 'single_acceptor' + | 'double_donor' + | 'double_acceptor' + | 'amphoteric' + | 'custom_multilevel'; + export type StateDegeneracies = (number | string)[]; + export type SigmaNM2 = number | string; + export type SigmaPM2 = number | string; + export type ThermalVelocityNMS = number | string; + export type ThermalVelocityPMS = number | string; + export type TransitionKinetics = KineticsInput[]; + export type Id = string; + export type Name = string; + export type TotalDensityM3 = number | string; + + export interface MultivalentDefectInput { + configuration: MultivalentConfigurationInput; + id: Id; + name: Name; + total_density_m3: TotalDensityM3; + } + /** + * This interface was referenced by `MultivalentDefectInput`'s JSON-Schema + * via the `definition` "MultivalentConfigurationInput". + */ + export interface MultivalentConfigurationInput { + charge_states_e: ChargeStatesE; + degeneracy_convention: DegeneracyConvention; + energy_levels: MultivalentEnergyInput; + family: Family; + state_degeneracies: StateDegeneracies; + transition_kinetics: TransitionKinetics; + } + /** + * This interface was referenced by `MultivalentDefectInput`'s JSON-Schema + * via the `definition` "MultivalentEnergyInput". + */ + export interface MultivalentEnergyInput { + correlation_energies_eV: CorrelationEnergiesEv; + energy_reference: EnergyReference; + first_transition_eV_above_vb: FirstTransitionEvAboveVb; + } + /** + * This interface was referenced by `MultivalentDefectInput`'s JSON-Schema + * via the `definition` "KineticsInput". + */ + export interface KineticsInput { + sigma_n_m2: SigmaNM2; + sigma_p_m2: SigmaPM2; + thermal_velocity_n_m_s: ThermalVelocityNMS; + thermal_velocity_p_m_s: ThermalVelocityPMS; + } +} +export type MultivalentDefectInput = MultivalentDefectInputDefinitions.MultivalentDefectInput; + +// Source DTO: solarlab.device.inputs:NamedMaterialInput +// Schema SHA-256 (JSON.stringify): 67aafa057ba38148eb585cf7f3b8f77d924a3cd295b0a9d779ecddbcce375e6b +export declare namespace NamedMaterialInputDefinitions { + export type Cgi = number | string; + export type GgiBack = number | string; + export type GgiFront = number | string; + export type KkQuadratureOrder = number; + export type Model = 'minoura_2015'; + export type Slices = number; + export type Id = string; + export type Name = string; + export type AStarN = number | string; + export type AStarP = number | string; + export type BRad = number | string; + export type BRadTGamma = number | string; + export type CN = number | string; + export type CP = number | string; + export type DIon = number | string; + export type DIonNeg = number | string; + export type EAIon = number | string; + export type Eg = number | string; + export type EgBack = (number | string | null) | null; + export type NA = number | string; + export type NABulk = (number | string | null) | null; + export type ND = number | string; + export type NDBulk = (number | string | null) | null; + export type Nc300 = (number | string | null) | null; + export type Nv300 = (number | string | null) | null; + export type P0 = number | string; + export type P0Neg = number | string; + export type PLim = number | string; + export type PLimNeg = number | string; + export type AcceptorBindingEnergyEv = (number | string | null) | null; + export type AcceptorDegeneracy = number | string; + export type Alpha = number | string; + export type BandGapNarrowingModel = 'off' | 'slotboom'; + export type BgnConductionBandFraction = number | string; + export type BgnLogShape = number | string; + export type BgnReferenceDensityM3 = number | string; + export type BgnReferenceEnergyEv = number | string; + export type CarrierStatistics = 'maxwell_boltzmann' | 'fermi_dirac'; + export type Chi = number | string; + export type ChiBack = (number | string | null) | null; + export type CtBetaN = number | string; + export type CtBetaP = number | string; + export type DonorBindingEnergyEv = (number | string | null) | null; + export type DonorDegeneracy = number | string; + export type DopantIonizationModel = 'fully_ionized' | 'discrete_level'; + export type DopingDecayLength = (number | string | null) | null; + export type DopingEdge = 'front' | 'back'; + export type DopingProfileShape = 'gaussian' | null; + export type EpsR = number | string; + export type GradingNMult = number; + export type GradingBowing = number | string; + export type GradingCharLength = (number | string | null) | null; + export type GradingDirection = 'front_to_back' | 'back_to_front'; + export type GradingProfile = 'linear' | 'parabolic' | 'exponential'; + export type Incoherent = boolean; + export type MuTGamma = number | string; + export type MuN = number | string; + export type MuP = number | string; + export type N1 = number | string; + export type NOptical = (number | string | null) | null; + export type Ni = number | string; + export type OpticalMaterial = string | null; + export type P1 = number | string; + export type PfGammaN = number | string; + export type PfGammaP = number | string; + export type TauN = number | string; + export type TauP = number | string; + export type TrapNTBulk = (number | string | null) | null; + export type TrapNTInterface = (number | string | null) | null; + export type TrapDecayLength = (number | string | null) | null; + export type TrapEdge = 'both' | 'left' | 'right'; + export type TrapProfileShape = 'exponential' | 'gaussian'; + export type VSatN = number | string; + export type VSatP = number | string; + export type VTh = number | string; + export type VarshniAlpha = number | string; + export type VarshniBeta = number | string; + + export interface NamedMaterialInput { + cigs_graded_optics?: CigsOpticsInput | null; + id: Id; + name: Name; + parameters: FullParameterInput; + } + /** + * GGI endpoints follow the layer's electrical grading coordinate. + * + * Absent model, slice and quadrature values are supplied by the injected catalog, + * compiled from the existing model declaration. None is never a numeric default. + * + * This interface was referenced by `NamedMaterialInput`'s JSON-Schema + * via the `definition` "CigsOpticsInput". + */ + export interface CigsOpticsInput { + cgi: Cgi; + ggi_back: GgiBack; + ggi_front: GgiFront; + kk_quadrature_order?: KkQuadratureOrder; + model?: Model; + slices?: Slices; + } + /** + * This interface was referenced by `NamedMaterialInput`'s JSON-Schema + * via the `definition` "FullParameterInput". + */ + export interface FullParameterInput { + A_star_n?: AStarN; + A_star_p?: AStarP; + B_rad?: BRad; + B_rad_T_gamma?: BRadTGamma; + C_n?: CN; + C_p?: CP; + D_ion?: DIon; + D_ion_neg?: DIonNeg; + E_a_ion?: EAIon; + Eg?: Eg; + Eg_back?: EgBack; + N_A?: NA; + N_A_bulk?: NABulk; + N_D?: ND; + N_D_bulk?: NDBulk; + Nc300?: Nc300; + Nv300?: Nv300; + P0?: P0; + P0_neg?: P0Neg; + P_lim?: PLim; + P_lim_neg?: PLimNeg; + acceptor_binding_energy_eV?: AcceptorBindingEnergyEv; + acceptor_degeneracy?: AcceptorDegeneracy; + alpha?: Alpha; + band_gap_narrowing_model?: BandGapNarrowingModel; + bgn_conduction_band_fraction?: BgnConductionBandFraction; + bgn_log_shape?: BgnLogShape; + bgn_reference_density_m3?: BgnReferenceDensityM3; + bgn_reference_energy_eV?: BgnReferenceEnergyEv; + carrier_statistics?: CarrierStatistics; + chi?: Chi; + chi_back?: ChiBack; + ct_beta_n?: CtBetaN; + ct_beta_p?: CtBetaP; + donor_binding_energy_eV?: DonorBindingEnergyEv; + donor_degeneracy?: DonorDegeneracy; + dopant_ionization_model?: DopantIonizationModel; + doping_decay_length?: DopingDecayLength; + doping_edge?: DopingEdge; + doping_profile_shape?: DopingProfileShape; + eps_r?: EpsR; + grading_N_mult?: GradingNMult; + grading_bowing?: GradingBowing; + grading_char_length?: GradingCharLength; + grading_direction?: GradingDirection; + grading_profile?: GradingProfile; + incoherent?: Incoherent; + mu_T_gamma?: MuTGamma; + mu_n?: MuN; + mu_p?: MuP; + n1?: N1; + n_optical?: NOptical; + ni?: Ni; + optical_material?: OpticalMaterial; + p1?: P1; + pf_gamma_n?: PfGammaN; + pf_gamma_p?: PfGammaP; + tau_n?: TauN; + tau_p?: TauP; + trap_N_t_bulk?: TrapNTBulk; + trap_N_t_interface?: TrapNTInterface; + trap_decay_length?: TrapDecayLength; + trap_edge?: TrapEdge; + trap_profile_shape?: TrapProfileShape; + v_sat_n?: VSatN; + v_sat_p?: VSatP; + v_th?: VTh; + varshni_alpha?: VarshniAlpha; + varshni_beta?: VarshniBeta; + } +} +export type NamedMaterialInput = NamedMaterialInputDefinitions.NamedMaterialInput; + +// Source DTO: solarlab.experiments.two_dimensional.inputs:SpatialExperimentInput +// Schema SHA-256 (JSON.stringify): ea782519292f6fcbdffc3ddcd0dd0610c48a0cfbcb1087c3dbbe7ab5852a9241 +export declare namespace SpatialExperimentInputDefinitions { + export type SN = (number | string | null) | null; + export type SP = (number | string | null) | null; + export type Id = string; + export type Layer = string; + export type Side = 'left' | 'right'; + export type Contacts = ContactInput[]; + export type Description = string | null; + export type Alpha = number | string; + export type IntervalWeight = number | string; + export type Layer1 = string; + export type ElectricalGrid = GridLayerInput[]; + export type FixedGeneration = string | null; + export type Id1 = string; + export type LayerIds = string[]; + export type SourceLayerRole = string | null; + export type TauN = number | string; + export type TauP = number | string; + export type Width = number | string; + export type XPosition = number | string; + export type GrainBoundaries = GrainBoundaryInput[]; + export type Id2 = string; + export type CalibrationFactor = number | string; + export type EnergyReference = 'below_conduction_band' | 'above_valence_band'; + export type Id3 = string; + export type IfaceStateCalibrationFactor = number | string; + export type SigmaNM2 = number | string; + export type SigmaPM2 = number | string; + export type ThermalVelocityNMS = number | string; + export type ThermalVelocityPMS = number | string; + export type ECharEv = (number | string | null) | null; + export type NPeakM3 = (number | string | null) | null; + export type DefectId = string; + export type Distribution = 'single' | 'gaussian'; + export type EnergyReference1 = 'below_conduction_band' | 'above_valence_band'; + export type TrapDepthEv = number | string; + export type TotalDensityM2 = number | string; + export type TrapDepthEv1 = number | string; + export type Id4 = string; + export type Left = string; + export type Right = string; + export type VN = (number | string | null) | null; + export type VP = (number | string | null) | null; + export type Interfaces = InterfaceInput[]; + export type ChargeTransition = 'neutral' | 'acceptor' | 'donor' | 'unresolved'; + export type Degeneracy = number | string; + export type CenterEvAboveVb = (number | string | null) | null; + export type EnergyReference2 = 'above_valence_band' | null; + export type Kind = + 'single_level' | 'gaussian' | 'uniform' | 'conduction_band_tail' | 'valence_band_tail'; + export type Normalization = 'integrated_total'; + export type SupportWidthMultiplier = (number | string | null) | null; + export type TotalDensityM3 = number | string; + export type WidthConvention = + | ( + | 'not_applicable' + | 'gaussian_standard_deviation' + | 'scaps_characteristic_energy' + | 'uniform_full_width' + | 'unresolved' + ) + | null; + export type WidthEv = (number | string | null) | null; + export type Reference = 'below_conduction_band' | 'above_valence_band'; + export type ValueEv = number | string; + export type Id5 = string; + export type Name = string | null; + export type NeutralReference = 'all_occupancies' | 'empty' | 'filled' | 'unresolved'; + export type Coordinate = 'normalized_layer_coordinate'; + export type DensityNormalization = 'layer_average_unity'; + export type Interpolation = 'piecewise_linear'; + export type DensityMultiplier = number | string; + export type PositionFraction = number | string; + export type Knots = SpatialKnotInput[]; + export type ChargeStatesE = number[]; + export type DegeneracyConvention = 'scaps_binomial' | 'unity' | 'explicit'; + export type CorrelationEnergiesEv = (number | string)[]; + export type EnergyReference3 = 'above_valence_band'; + export type FirstTransitionEvAboveVb = number | string; + export type Family = + | 'single_donor' + | 'single_acceptor' + | 'double_donor' + | 'double_acceptor' + | 'amphoteric' + | 'custom_multilevel'; + export type StateDegeneracies = (number | string)[]; + export type TransitionKinetics = KineticsInput[]; + export type Id6 = string; + export type Name1 = string; + export type TotalDensityM31 = number | string; + export type BulkDefects = (BulkDefectInput | MultivalentDefectInput)[]; + export type CenterEvAboveVb1 = number | string; + export type ChargeTransition1 = 'acceptor' | 'donor'; + export type Distribution1 = 'single_level' | 'gaussian'; + export type EnergySigmaEv = number | string; + export type SigmaNM21 = number | string; + export type SigmaPM21 = number | string; + export type ThermalVelocityMS = number | string; + export type TotalDensityM32 = number | string; + export type Cgi = number | string; + export type GgiBack = number | string; + export type GgiFront = number | string; + export type KkQuadratureOrder = number; + export type Model = 'minoura_2015'; + export type Slices = number; + export type DefectModel = ('effective_lifetime' | 'explicit_quasi_steady') | null; + export type DefectSchemaVersion = string | null; + export type Id7 = string; + export type Material = string | null; + export type DefectModel1 = 'explicit_metastable_frozen'; + export type AcceptorConversionStateIndex = number; + export type CaptureNM3S = number | string; + export type CapturePM3S = number | string; + export type ElectronCaptureActivationEv = number | string; + export type ElectronCapturePath = 'double_electron_capture' | 'electron_capture_plus_hole_emission'; + export type ElectronEmissionActivationEv = number | string; + export type HoleCaptureActivationEv = number | string; + export type HoleCapturePath = 'double_hole_capture' | 'hole_capture_plus_electron_emission'; + export type HoleEmissionActivationEv = number | string; + export type PhononFrequencyHz = number | string; + export type TransitionEnergyEvAboveVb = number | string; + export type DonorConversionStateIndex = number; + export type Id8 = string; + export type Name2 = string; + export type TotalDensityM33 = number | string; + export type MetastableDefects = MetastableDefectInput[]; + export type SchemaVersion = 'solarlab-metastable-bulk-defects-v1'; + export type ConfigurationFreezeStage = 'after_stationary_preparation_before_measurement'; + export type FreezeConfigurationDuringMeasurement = true; + export type IlluminationContinuationSteps = number; + export type MeasurementProtocolSha256 = string; + export type MeasurementTemperatureK = number | string; + export type ClampingFactor = number | string; + export type FinalUnclampedRefinement = true; + export type InitialDonorFractionGuess = number | string; + export type MaxIterations = number; + export type RelativeTolerance = number | string; + export type PreparationIlluminationSuns = number | string; + export type PreparationLimit = 'stationary_infinite_time'; + export type PreparationTemperatureK = number | string; + export type PreparationVoltageV = number | string; + export type SchemaVersion1 = 'solarlab-metastable-preparation-v1'; + export type VoltageContinuationSteps = number; + export type Name3 = string; + export type Parameterization = 'standard' | 'scaps'; + export type AStarN = number | string; + export type AStarP = number | string; + export type BRad = number | string; + export type BRadTGamma = number | string; + export type CN = number | string; + export type CP = number | string; + export type DIon = number | string; + export type DIonNeg = number | string; + export type EAIon = number | string; + export type Eg = number | string; + export type EgBack = (number | string | null) | null; + export type NA = number | string; + export type NABulk = (number | string | null) | null; + export type ND = number | string; + export type NDBulk = (number | string | null) | null; + export type Nc300 = (number | string | null) | null; + export type Nv300 = (number | string | null) | null; + export type P0 = number | string; + export type P0Neg = number | string; + export type PLim = number | string; + export type PLimNeg = number | string; + export type AcceptorBindingEnergyEv = (number | string | null) | null; + export type AcceptorDegeneracy = number | string; + export type Alpha1 = number | string; + export type BandGapNarrowingModel = 'off' | 'slotboom'; + export type BgnConductionBandFraction = number | string; + export type BgnLogShape = number | string; + export type BgnReferenceDensityM3 = number | string; + export type BgnReferenceEnergyEv = number | string; + export type CarrierStatistics = 'maxwell_boltzmann' | 'fermi_dirac'; + export type Chi = number | string; + export type ChiBack = (number | string | null) | null; + export type CtBetaN = number | string; + export type CtBetaP = number | string; + export type DonorBindingEnergyEv = (number | string | null) | null; + export type DonorDegeneracy = number | string; + export type DopantIonizationModel = 'fully_ionized' | 'discrete_level'; + export type DopingDecayLength = (number | string | null) | null; + export type DopingEdge = 'front' | 'back'; + export type DopingProfileShape = 'gaussian' | null; + export type EpsR = number | string; + export type GradingNMult = number; + export type GradingBowing = number | string; + export type GradingCharLength = (number | string | null) | null; + export type GradingDirection = 'front_to_back' | 'back_to_front'; + export type GradingProfile = 'linear' | 'parabolic' | 'exponential'; + export type Incoherent = boolean; + export type MuTGamma = number | string; + export type MuN = number | string; + export type MuP = number | string; + export type N1 = number | string; + export type NOptical = (number | string | null) | null; + export type Ni = number | string; + export type OpticalMaterial = string | null; + export type P1 = number | string; + export type PfGammaN = number | string; + export type PfGammaP = number | string; + export type TauN1 = number | string; + export type TauP1 = number | string; + export type TrapNTBulk = (number | string | null) | null; + export type TrapNTInterface = (number | string | null) | null; + export type TrapDecayLength = (number | string | null) | null; + export type TrapEdge = 'both' | 'left' | 'right'; + export type TrapProfileShape = 'exponential' | 'gaussian'; + export type VSatN = number | string; + export type VSatP = number | string; + export type VTh = number | string; + export type VarshniAlpha = number | string; + export type VarshniBeta = number | string; + export type Role = string; + export type ScapsDefectMetadata = ScapsDefectMetadataInput[]; + export type Thickness = number | string; + export type Layers = FullLayerInput[]; + export type InterfaceDefectCount = number | null; + export type Interfaces1 = + [number | number | string | string, number | number | string | string][] | null; + export type LayerIds1 = string[]; + export type SchemaVersion2 = 'solarlab.standard-loader-fields.v1'; + export type SourceId = string; + export type SourceSha256 = string; + export type Temperature = number | string | boolean | null; + export type Id9 = string; + export type Name4 = string; + export type Materials = NamedMaterialInput[]; + export type Name5 = string | null; + export type SchemaVersion3 = 'solarlab.device-preparation.v1'; + export type Phi = number | string; + export type T = number | string; + export type VBi = number | string; + export type BandGrading = boolean; + export type BuiltInPotentialMode = + ('legacy_manual' | 'semiconductor_work_function' | 'metal_work_function') | null; + export type ContactPhiBEv = number | string; + export type DosBandPotentials = boolean; + export type FlatBandContacts = boolean; + export type FlatBandMetalContacts = boolean; + export type GradedOptics = boolean; + export type HetRecombDespike = number | string; + export type InterfaceChargeClosure = 'off' | 'equilibrium_referenced'; + export type InterfaceChargeRebaselineAcknowledged = boolean; + export type InterfacePlaneClosure = boolean; + export type InterfacePlaneGeneration = boolean; + export type InterfacePlaneProjection = boolean; + export type InterfaceSharedOccupancy = boolean; + export type InterfaceTunneling = boolean; + export type InterfaceTwoSided = boolean; + export type IonStericDiffusionOnly = boolean; + export type IonStericSharedSite = boolean; + export type JvSolverPolicy = 'general' | 'cancellation_safe_qf_required'; + export type Mode = 'legacy' | 'fast' | 'full'; + export type PhiLeft = number | string; + export type TePhysicalNorm = boolean; + export type TunnelMassEff = number | string; + export type WorkFunctionLeftEv = (number | string | null) | null; + export type WorkFunctionRightEv = (number | string | null) | null; + export type RequestedElectricalGridAllocation = number; + export type VMax = (number | string | null) | null; + export type AcExcitation = null; + export type DurationS = (number | string | null) | null; + export type Kind1 = + 'finite_time' | 'residual_certified' | 'finite_time_with_certificate' | 'not_applicable'; + export type MaxCarrierAreaRateAM2 = (number | string | null) | null; + export type MaxFaceCurrentSpreadAM2 = (number | string | null) | null; + export type MaxIonAreaRateAM2 = (number | string | null) | null; + export type MaxIonicFaceCurrentAM2 = (number | string | null) | null; + export type DwellDurationS = (number | string | null) | null; + export type Experiment = 'jv_hysteresis'; + /** + * @minItems 1 + */ + export type IlluminationHistory = [JVIlluminationStepInput, ...JVIlluminationStepInput[]]; + export type Condition = 'dark' | 'baseline' | 'scaled' | 'monochromatic' | 'pulse'; + export type DurationS1 = (number | string | null) | null; + export type IntensitySuns = (number | string | null) | null; + export type Phase = string; + export type PhotonFluxM2S = (number | string | null) | null; + export type RelativeGenerationChange = (number | string | null) | null; + export type SourceReference = string | null; + export type ImplicitLegacyProtocol = boolean; + export type InitialStateSource = + | 'dark_equilibrium' + | 'dark_equilibrium_each_sample' + | 'finite_time_illuminated_preconditioned' + | 'finite_time_dc_preconditioned' + | 'qf_dc_candidate' + | 'user_supplied_state'; + export type PreBiasV = (number | string | null) | null; + export type Axis = 'voltage_V'; + export type Mode1 = 'linear' | 'log' | 'declared' | 'piecewise_linear'; + /** + * @minItems 1 + */ + export type Values = [number | number | string | string, ...(number | number | string | string)[]]; + export type Axis1 = 'voltage_V'; + export type Direction = + 'ascending' | 'descending' | 'ascending_then_descending' | 'declared_order' | 'forward_time'; + export type RateVS = number | string; + export type Start = number | string; + export type Stop = number | string; + export type SchemaVersion4 = 1; + export type SoakDurationS = (number | string | null) | null; + export type TemperatureK = number | string; + export type VocSearch = null; + export type IfaceStates = boolean; + export type Illuminated = boolean; + export type InterfaceBoundary = boolean; + export type InterfaceTransportModel = string; + export type SamplesPerBranch = number; + export type ProtocolMode = 'compatibility' | 'research_strict'; + export type Solver = 'transient' | 'steady_state' | 'quasi_fermi'; + export type VRate = number | string; + export type BranchDwellS = number | string; + export type DarkPrepS = number | string; + export type DarkSeedS = number | string; + export type SchemaVersion5 = 1; + export type StartVoltageV = number | string; + export type TurnaroundDark = boolean; + export type TurnaroundS = number | string; + export type UniformGenerationRateM3S = (number | string | null) | null; + export type AtolM3 = number | string; + export type Rtol = number | string; + export type MinNGrid = number | null; + export type Notes = string | null; + export type SourceFormat = 'standard' | 'scaps' | 'canonical'; + export type SourceSchemaVersion = string | number | null; + export type Spectrum = string | null; + export type Enabled = boolean; + export type EnergyQuadratureOrder = number; + export type MinimumFieldVM = number | string; + export type ReducedEffectiveMassRel = number | string; + export type BarrierHeightEv = number | string; + export type ElectronEffectiveMassRel = number | string; + export type Enabled1 = boolean; + export type EnergyQuadratureOrder1 = number; + export type HoleEffectiveMassRel = number | string; + export type Side1 = 'both' | 'left' | 'right'; + export type ElectronEffectiveMassRel1 = number | string; + export type Enabled2 = boolean; + export type HoleEffectiveMassRel1 = number | string; + export type RequiresExplicitOccupancy = true; + export type Carrier = 'electron' | 'hole' | 'both'; + export type ElectronEffectiveMassRel2 = number | string; + export type Enabled3 = boolean; + export type EnergyQuadratureOrder2 = number; + export type HoleEffectiveMassRel2 = number | string; + export type SchemaVersion6 = 'solarlab-wkb-tunnelling-channels-v1'; + export type Experiment1 = JV2DInput | GrainSweepInput; + export type LateralIntervalsNx = number; + export type VerticalIntervalsPerElectricalLayer = number; + export type VMax1 = number | string; + export type VStep = number | string; + export type Atol = number | string; + export type CarrierFraction = number | string; + export type InterfaceFraction = number | string; + export type IonFraction = number | string; + export type MinimumAtol = number | string; + export type RefinementFactor = number | string; + export type Illuminated1 = boolean; + export type InitialStateSettleS = number | string; + export type InterfaceSrh = 'off' | 'two_sided_cross_node'; + export type IonDynamics = 'frozen' | 'single_mobile'; + export type IonInventoryRtol = number | string; + export type AppliedVoltageRateAtSamplingVS = number | string; + export type CarrierBoundaryCondition = 'ohmic' | 'selective_robin'; + export type CurrentComposition = + 'electron_hole_conduction' | 'electron_hole_positive_ion_displacement'; + export type CurrentSampling = 'instantaneous_dwell_endpoint'; + export type DwellTimePerVoltageS = number | string; + export type LayerRole = string; + export type TauNS = number | string; + export type TauPS = number | string; + export type WidthM = number | string; + export type XPositionM = number | string; + export type GrainBoundaries1 = JV2DGrainProtocolInput[]; + export type Illuminated2 = boolean; + export type IlluminationSource = string | null; + export type ImplicitLegacyProtocol1 = boolean; + export type InitialStateSettleS1 = (number | string | null) | null; + export type InitialStateSource1 = + 'one_dimensional_illuminated_finite_time' | 'one_dimensional_dark_equilibrium'; + export type InitialStateVoltageV = number | string; + export type InterfaceSrh1 = 'off' | 'two_sided_cross_node'; + export type IonBoundaryCondition = 'frozen' | 'blocking'; + export type IonInventoryRtol1 = number | string; + export type LateralBc = 'periodic' | 'neumann'; + export type MaxBisect = number; + export type MaxNfevPerSolve = number; + export type SaveSnapshots = boolean; + export type SchemaVersion7 = 'jv-2d-execution-protocol-v1'; + export type CarrierFraction1 = (number | string | null) | null; + export type InterfaceFraction1 = (number | string | null) | null; + export type IonFraction1 = (number | string | null) | null; + export type MinimumAtol1 = (number | string | null) | null; + export type Mode2 = 'scalar' | 'componentwise'; + export type RefinementFactor1 = (number | string | null) | null; + export type ScalarAtol = (number | string | null) | null; + export type SolverMaxStepDivisor = number; + export type SolverMethod = 'Radau'; + export type SolverRtol = number | string; + export type StateTopology = 'frozen_ion_background' | 'single_positive_mobile_ion'; + export type TemperatureK1 = number | string; + /** + * @minItems 1 + */ + export type VoltageValuesV = [ + number | number | string | string, + ...(number | number | string | string)[] + ]; + /** + * @minItems 2 + */ + export type XCoordinatesM = [ + number | number | string | string, + number | number | string | string, + ...(number | number | string | string)[] + ]; + /** + * @minItems 3 + */ + export type YCoordinatesM = [ + number | number | string | string, + number | number | string | string, + number | number | string | string, + ...(number | number | string | string)[] + ]; + export type Kind2 = 'jv_2d'; + export type LateralBc1 = ('periodic' | 'neumann') | null; + export type LateralLength = number | string; + export type MaxBisect1 = number; + export type MaxNfevPerSolve1 = number; + export type GrainBoundaries2 = GrainBoundaryInput[]; + export type ProtocolMode1 = 'compatibility' | 'research_strict'; + export type Rtol1 = number | string; + export type SaveSnapshots1 = boolean; + export type SettleT = number | string; + export type LateralIntervalsNx1 = number; + export type VerticalIntervalsPerElectricalLayer1 = number; + export type VMax2 = number | string; + export type VStep1 = number | string; + export type GbWidth = number | string; + export type GrainSizes = (number | string)[] | null; + export type GrainSizesNm = (number | string)[] | null; + export type Illuminated3 = boolean; + export type Kind3 = 'voc_grain_sweep'; + export type SettleT1 = number | string; + export type TauGbN = number | string; + export type TauGbP = number | string; + export type Id10 = string; + export type SchemaVersion8 = 'solarlab.experiment-preparation.v1'; + + export interface SpatialExperimentInput { + device: DeviceInput; + experiment: Experiment1; + id: Id10; + schema_version: SchemaVersion8; + } + /** + * This interface was referenced by `SpatialExperimentInput`'s JSON-Schema + * via the `definition` "DeviceInput". + */ + export interface DeviceInput { + contacts?: Contacts; + description?: Description; + electrical_grid?: ElectricalGrid; + fixed_generation?: FixedGeneration; + grain_boundaries?: GrainBoundaries; + id: Id2; + interfaces?: Interfaces; + layers: Layers; + legacy_fields?: LegacyDeviceFieldsInput | null; + materials?: Materials; + name?: Name5; + schema_version: SchemaVersion3; + settings?: DeviceSettingsInput; + simulation_hints?: SimulationHintsInput | null; + source_format: SourceFormat; + source_schema_version?: SourceSchemaVersion; + spectrum?: Spectrum; + tunnelling_channels?: TunnellingInput | null; + } + /** + * This interface was referenced by `SpatialExperimentInput`'s JSON-Schema + * via the `definition` "ContactInput". + */ + export interface ContactInput { + S_n?: SN; + S_p?: SP; + id: Id; + layer: Layer; + side: Side; + } + /** + * This interface was referenced by `SpatialExperimentInput`'s JSON-Schema + * via the `definition` "GridLayerInput". + */ + export interface GridLayerInput { + alpha: Alpha; + interval_weight: IntervalWeight; + layer: Layer1; + } + /** + * This interface was referenced by `SpatialExperimentInput`'s JSON-Schema + * via the `definition` "GrainBoundaryInput". + */ + export interface GrainBoundaryInput { + id: Id1; + layer_ids: LayerIds; + source_layer_role?: SourceLayerRole; + tau_n: TauN; + tau_p: TauP; + width: Width; + x_position: XPosition; + } + /** + * This interface was referenced by `SpatialExperimentInput`'s JSON-Schema + * via the `definition` "InterfaceInput". + */ + export interface InterfaceInput { + defect?: InterfaceDefectInput | null; + id: Id4; + left: Left; + right: Right; + v_n?: VN; + v_p?: VP; + } + /** + * This interface was referenced by `SpatialExperimentInput`'s JSON-Schema + * via the `definition` "InterfaceDefectInput". + */ + export interface InterfaceDefectInput { + calibration_factor: CalibrationFactor; + energy_reference: EnergyReference; + id: Id3; + iface_state_calibration_factor: IfaceStateCalibrationFactor; + kinetics: KineticsInput; + partner_metadata?: ScapsDefectMetadataInput | null; + total_density_m2: TotalDensityM2; + trap_depth_eV: TrapDepthEv1; + } + /** + * This interface was referenced by `SpatialExperimentInput`'s JSON-Schema + * via the `definition` "KineticsInput". + */ + export interface KineticsInput { + sigma_n_m2: SigmaNM2; + sigma_p_m2: SigmaPM2; + thermal_velocity_n_m_s: ThermalVelocityNMS; + thermal_velocity_p_m_s: ThermalVelocityPMS; + } + /** + * Preserved partner metadata; a Gaussian note is not a qualified closure. + * + * This interface was referenced by `SpatialExperimentInput`'s JSON-Schema + * via the `definition` "ScapsDefectMetadataInput". + */ + export interface ScapsDefectMetadataInput { + E_char_eV?: ECharEv; + N_peak_m3?: NPeakM3; + defect_id: DefectId; + distribution: Distribution; + energy_reference: EnergyReference1; + trap_depth_eV: TrapDepthEv; + } + /** + * This interface was referenced by `SpatialExperimentInput`'s JSON-Schema + * via the `definition` "FullLayerInput". + */ + export interface FullLayerInput { + bulk_defects?: BulkDefects; + bulk_trap_distribution?: LegacyBulkTrapInput | null; + cigs_graded_optics?: CigsOpticsInput | null; + defect_model?: DefectModel; + defect_schema_version?: DefectSchemaVersion; + id: Id7; + material?: Material; + metastable_document?: MetastableDocumentInput | null; + metastable_preparation?: MetastablePreparationInput | null; + name: Name3; + parameterization?: Parameterization; + parameters?: FullParameterInput; + role: Role; + scaps_defect_metadata?: ScapsDefectMetadata; + thickness: Thickness; + } + /** + * This interface was referenced by `SpatialExperimentInput`'s JSON-Schema + * via the `definition` "BulkDefectInput". + */ + export interface BulkDefectInput { + charge_transition: ChargeTransition; + degeneracy: Degeneracy; + distribution: DistributionInput; + energy_level?: EnergyLevelInput | null; + id: Id5; + kinetics: KineticsInput; + name?: Name; + neutral_reference: NeutralReference; + spatial_profile?: SpatialProfileInput | null; + } + /** + * This interface was referenced by `SpatialExperimentInput`'s JSON-Schema + * via the `definition` "DistributionInput". + */ + export interface DistributionInput { + center_eV_above_vb?: CenterEvAboveVb; + energy_reference?: EnergyReference2; + kind: Kind; + normalization: Normalization; + support_width_multiplier?: SupportWidthMultiplier; + total_density_m3: TotalDensityM3; + width_convention?: WidthConvention; + width_eV?: WidthEv; + } + /** + * This interface was referenced by `SpatialExperimentInput`'s JSON-Schema + * via the `definition` "EnergyLevelInput". + */ + export interface EnergyLevelInput { + reference: Reference; + value_eV: ValueEv; + } + /** + * This interface was referenced by `SpatialExperimentInput`'s JSON-Schema + * via the `definition` "SpatialProfileInput". + */ + export interface SpatialProfileInput { + coordinate: Coordinate; + density_normalization: DensityNormalization; + interpolation: Interpolation; + knots: Knots; + } + /** + * This interface was referenced by `SpatialExperimentInput`'s JSON-Schema + * via the `definition` "SpatialKnotInput". + */ + export interface SpatialKnotInput { + density_multiplier: DensityMultiplier; + position_fraction: PositionFraction; + } + /** + * This interface was referenced by `SpatialExperimentInput`'s JSON-Schema + * via the `definition` "MultivalentDefectInput". + */ + export interface MultivalentDefectInput { + configuration: MultivalentConfigurationInput; + id: Id6; + name: Name1; + total_density_m3: TotalDensityM31; + } + /** + * This interface was referenced by `SpatialExperimentInput`'s JSON-Schema + * via the `definition` "MultivalentConfigurationInput". + */ + export interface MultivalentConfigurationInput { + charge_states_e: ChargeStatesE; + degeneracy_convention: DegeneracyConvention; + energy_levels: MultivalentEnergyInput; + family: Family; + state_degeneracies: StateDegeneracies; + transition_kinetics: TransitionKinetics; + } + /** + * This interface was referenced by `SpatialExperimentInput`'s JSON-Schema + * via the `definition` "MultivalentEnergyInput". + */ + export interface MultivalentEnergyInput { + correlation_energies_eV: CorrelationEnergiesEv; + energy_reference: EnergyReference3; + first_transition_eV_above_vb: FirstTransitionEvAboveVb; + } + /** + * This interface was referenced by `SpatialExperimentInput`'s JSON-Schema + * via the `definition` "LegacyBulkTrapInput". + */ + export interface LegacyBulkTrapInput { + center_eV_above_vb: CenterEvAboveVb1; + charge_transition: ChargeTransition1; + distribution: Distribution1; + energy_sigma_eV?: EnergySigmaEv; + sigma_n_m2: SigmaNM21; + sigma_p_m2: SigmaPM21; + thermal_velocity_m_s: ThermalVelocityMS; + total_density_m3: TotalDensityM32; + } + /** + * GGI endpoints follow the layer's electrical grading coordinate. + * + * Absent model, slice and quadrature values are supplied by the injected catalog, + * compiled from the existing model declaration. None is never a numeric default. + * + * This interface was referenced by `SpatialExperimentInput`'s JSON-Schema + * via the `definition` "CigsOpticsInput". + */ + export interface CigsOpticsInput { + cgi: Cgi; + ggi_back: GgiBack; + ggi_front: GgiFront; + kk_quadrature_order?: KkQuadratureOrder; + model?: Model; + slices?: Slices; + } + /** + * This interface was referenced by `SpatialExperimentInput`'s JSON-Schema + * via the `definition` "MetastableDocumentInput". + */ + export interface MetastableDocumentInput { + defect_model: DefectModel1; + metastable_defects: MetastableDefects; + schema_version: SchemaVersion; + } + /** + * This interface was referenced by `SpatialExperimentInput`'s JSON-Schema + * via the `definition` "MetastableDefectInput". + */ + export interface MetastableDefectInput { + acceptor_configuration: MultivalentConfigurationInput; + acceptor_conversion_state_index: AcceptorConversionStateIndex; + conversion_kinetics: MetastableConversionInput; + donor_configuration: MultivalentConfigurationInput; + donor_conversion_state_index: DonorConversionStateIndex; + id: Id8; + name: Name2; + total_density_m3: TotalDensityM33; + } + /** + * This interface was referenced by `SpatialExperimentInput`'s JSON-Schema + * via the `definition` "MetastableConversionInput". + */ + export interface MetastableConversionInput { + capture_n_m3_s: CaptureNM3S; + capture_p_m3_s: CapturePM3S; + electron_capture_activation_eV: ElectronCaptureActivationEv; + electron_capture_path: ElectronCapturePath; + electron_emission_activation_eV: ElectronEmissionActivationEv; + hole_capture_activation_eV: HoleCaptureActivationEv; + hole_capture_path: HoleCapturePath; + hole_emission_activation_eV: HoleEmissionActivationEv; + phonon_frequency_Hz: PhononFrequencyHz; + transition_energy_eV_above_vb: TransitionEnergyEvAboveVb; + } + /** + * This interface was referenced by `SpatialExperimentInput`'s JSON-Schema + * via the `definition` "MetastablePreparationInput". + */ + export interface MetastablePreparationInput { + configuration_freeze_stage: ConfigurationFreezeStage; + freeze_configuration_during_measurement: FreezeConfigurationDuringMeasurement; + illumination_continuation_steps: IlluminationContinuationSteps; + measurement_protocol_sha256: MeasurementProtocolSha256; + measurement_temperature_K: MeasurementTemperatureK; + numerics: MetastableNumericsInput; + preparation_illumination_suns: PreparationIlluminationSuns; + preparation_limit: PreparationLimit; + preparation_temperature_K: PreparationTemperatureK; + preparation_voltage_V: PreparationVoltageV; + schema_version: SchemaVersion1; + voltage_continuation_steps: VoltageContinuationSteps; + } + /** + * This interface was referenced by `SpatialExperimentInput`'s JSON-Schema + * via the `definition` "MetastableNumericsInput". + */ + export interface MetastableNumericsInput { + clamping_factor: ClampingFactor; + final_unclamped_refinement: FinalUnclampedRefinement; + initial_donor_fraction_guess: InitialDonorFractionGuess; + max_iterations: MaxIterations; + relative_tolerance: RelativeTolerance; + } + /** + * This interface was referenced by `SpatialExperimentInput`'s JSON-Schema + * via the `definition` "FullParameterInput". + */ + export interface FullParameterInput { + A_star_n?: AStarN; + A_star_p?: AStarP; + B_rad?: BRad; + B_rad_T_gamma?: BRadTGamma; + C_n?: CN; + C_p?: CP; + D_ion?: DIon; + D_ion_neg?: DIonNeg; + E_a_ion?: EAIon; + Eg?: Eg; + Eg_back?: EgBack; + N_A?: NA; + N_A_bulk?: NABulk; + N_D?: ND; + N_D_bulk?: NDBulk; + Nc300?: Nc300; + Nv300?: Nv300; + P0?: P0; + P0_neg?: P0Neg; + P_lim?: PLim; + P_lim_neg?: PLimNeg; + acceptor_binding_energy_eV?: AcceptorBindingEnergyEv; + acceptor_degeneracy?: AcceptorDegeneracy; + alpha?: Alpha1; + band_gap_narrowing_model?: BandGapNarrowingModel; + bgn_conduction_band_fraction?: BgnConductionBandFraction; + bgn_log_shape?: BgnLogShape; + bgn_reference_density_m3?: BgnReferenceDensityM3; + bgn_reference_energy_eV?: BgnReferenceEnergyEv; + carrier_statistics?: CarrierStatistics; + chi?: Chi; + chi_back?: ChiBack; + ct_beta_n?: CtBetaN; + ct_beta_p?: CtBetaP; + donor_binding_energy_eV?: DonorBindingEnergyEv; + donor_degeneracy?: DonorDegeneracy; + dopant_ionization_model?: DopantIonizationModel; + doping_decay_length?: DopingDecayLength; + doping_edge?: DopingEdge; + doping_profile_shape?: DopingProfileShape; + eps_r?: EpsR; + grading_N_mult?: GradingNMult; + grading_bowing?: GradingBowing; + grading_char_length?: GradingCharLength; + grading_direction?: GradingDirection; + grading_profile?: GradingProfile; + incoherent?: Incoherent; + mu_T_gamma?: MuTGamma; + mu_n?: MuN; + mu_p?: MuP; + n1?: N1; + n_optical?: NOptical; + ni?: Ni; + optical_material?: OpticalMaterial; + p1?: P1; + pf_gamma_n?: PfGammaN; + pf_gamma_p?: PfGammaP; + tau_n?: TauN1; + tau_p?: TauP1; + trap_N_t_bulk?: TrapNTBulk; + trap_N_t_interface?: TrapNTInterface; + trap_decay_length?: TrapDecayLength; + trap_edge?: TrapEdge; + trap_profile_shape?: TrapProfileShape; + v_sat_n?: VSatN; + v_sat_p?: VSatP; + v_th?: VTh; + varshni_alpha?: VarshniAlpha; + varshni_beta?: VarshniBeta; + } + /** + * This interface was referenced by `SpatialExperimentInput`'s JSON-Schema + * via the `definition` "LegacyDeviceFieldsInput". + */ + export interface LegacyDeviceFieldsInput { + interface_defect_count?: InterfaceDefectCount; + interfaces?: Interfaces1; + layer_ids: LayerIds1; + schema_version: SchemaVersion2; + source_id: SourceId; + source_sha256: SourceSha256; + temperature?: Temperature; + } + /** + * This interface was referenced by `SpatialExperimentInput`'s JSON-Schema + * via the `definition` "NamedMaterialInput". + */ + export interface NamedMaterialInput { + cigs_graded_optics?: CigsOpticsInput | null; + id: Id9; + name: Name4; + parameters: FullParameterInput; + } + /** + * This interface was referenced by `SpatialExperimentInput`'s JSON-Schema + * via the `definition` "DeviceSettingsInput". + */ + export interface DeviceSettingsInput { + Phi?: Phi; + T?: T; + V_bi?: VBi; + band_grading?: BandGrading; + built_in_potential_mode?: BuiltInPotentialMode; + contact_phi_B_eV?: ContactPhiBEv; + dos_band_potentials?: DosBandPotentials; + flat_band_contacts?: FlatBandContacts; + flat_band_metal_contacts?: FlatBandMetalContacts; + graded_optics?: GradedOptics; + het_recomb_despike?: HetRecombDespike; + interface_charge_closure?: InterfaceChargeClosure; + interface_charge_rebaseline_acknowledged?: InterfaceChargeRebaselineAcknowledged; + interface_plane_closure?: InterfacePlaneClosure; + interface_plane_generation?: InterfacePlaneGeneration; + interface_plane_projection?: InterfacePlaneProjection; + interface_shared_occupancy?: InterfaceSharedOccupancy; + interface_tunneling?: InterfaceTunneling; + interface_two_sided?: InterfaceTwoSided; + ion_steric_diffusion_only?: IonStericDiffusionOnly; + ion_steric_shared_site?: IonStericSharedSite; + jv_solver_policy?: JvSolverPolicy; + mode?: Mode; + phi_left?: PhiLeft; + te_physical_norm?: TePhysicalNorm; + tunnel_mass_eff?: TunnelMassEff; + work_function_left_eV?: WorkFunctionLeftEv; + work_function_right_eV?: WorkFunctionRightEv; + } + /** + * This interface was referenced by `SpatialExperimentInput`'s JSON-Schema + * via the `definition` "SimulationHintsInput". + */ + export interface SimulationHintsInput { + jv_sweep?: JVSweepHintsInput | null; + min_N_grid?: MinNGrid; + notes?: Notes; + } + /** + * Supplied advisory fields, without an endpoint or implied execution. + * + * Unknown fields reject rather than disappear. A caller must explicitly + * compose these fields with JVInput to request protocol preparation. + * + * This interface was referenced by `SpatialExperimentInput`'s JSON-Schema + * via the `definition` "JVSweepHintsInput". + */ + export interface JVSweepHintsInput { + N_grid?: RequestedElectricalGridAllocation; + V_max?: VMax; + experiment_protocol?: JVProtocolInput | null; + iface_states?: IfaceStates; + illuminated?: Illuminated; + interface_boundary?: InterfaceBoundary; + interface_transport_model?: InterfaceTransportModel; + n_points?: SamplesPerBranch; + protocol_mode?: ProtocolMode; + solver?: Solver; + v_rate?: VRate; + waveform?: JVWaveformInput | null; + waveform_controls?: JVWaveformControlsInput | null; + } + /** + * The existing ExperimentProtocol fields for its J-V branch only. + * + * This interface was referenced by `SpatialExperimentInput`'s JSON-Schema + * via the `definition` "JVProtocolInput". + */ + export interface JVProtocolInput { + ac_excitation: AcExcitation; + dc_settle: JVDCSettleInput; + dwell_duration_s: DwellDurationS; + experiment: Experiment; + illumination_history: IlluminationHistory; + implicit_legacy_protocol: ImplicitLegacyProtocol; + initial_state_source: InitialStateSource; + pre_bias_V: PreBiasV; + sampling: JVSamplingInput; + scan: JVScanInput; + schema_version: SchemaVersion4; + soak_duration_s: SoakDurationS; + temperature_K: TemperatureK; + voc_search: VocSearch; + } + /** + * This interface was referenced by `SpatialExperimentInput`'s JSON-Schema + * via the `definition` "JVDCSettleInput". + */ + export interface JVDCSettleInput { + duration_s: DurationS; + kind: Kind1; + max_carrier_area_rate_A_m2: MaxCarrierAreaRateAM2; + max_face_current_spread_A_m2: MaxFaceCurrentSpreadAM2; + max_ion_area_rate_A_m2: MaxIonAreaRateAM2; + max_ionic_face_current_A_m2: MaxIonicFaceCurrentAM2; + } + /** + * This interface was referenced by `SpatialExperimentInput`'s JSON-Schema + * via the `definition` "JVIlluminationStepInput". + */ + export interface JVIlluminationStepInput { + condition: Condition; + duration_s: DurationS1; + intensity_suns: IntensitySuns; + phase: Phase; + photon_flux_m2_s: PhotonFluxM2S; + relative_generation_change: RelativeGenerationChange; + source_reference: SourceReference; + } + /** + * This interface was referenced by `SpatialExperimentInput`'s JSON-Schema + * via the `definition` "JVSamplingInput". + */ + export interface JVSamplingInput { + axis: Axis; + mode: Mode1; + values: Values; + } + /** + * This interface was referenced by `SpatialExperimentInput`'s JSON-Schema + * via the `definition` "JVScanInput". + */ + export interface JVScanInput { + axis: Axis1; + direction: Direction; + rate_V_s: RateVS; + start: Start; + stop: Stop; + } + /** + * All eight fields of JVWaveform.from_dict are explicit, including null. + * + * This interface was referenced by `SpatialExperimentInput`'s JSON-Schema + * via the `definition` "JVWaveformInput". + */ + export interface JVWaveformInput { + branch_dwell_s: BranchDwellS; + dark_prep_s: DarkPrepS; + dark_seed_s: DarkSeedS; + schema_version: SchemaVersion5; + start_voltage_V: StartVoltageV; + turnaround_dark: TurnaroundDark; + turnaround_s: TurnaroundS; + uniform_generation_rate_m3_s: UniformGenerationRateM3S; + } + /** + * This interface was referenced by `SpatialExperimentInput`'s JSON-Schema + * via the `definition` "JVWaveformControlsInput". + */ + export interface JVWaveformControlsInput { + atol_m3: AtolM3; + rtol: Rtol; + } + /** + * This interface was referenced by `SpatialExperimentInput`'s JSON-Schema + * via the `definition` "TunnellingInput". + */ + export interface TunnellingInput { + band_to_band?: BandToBandInput | null; + contact?: ContactTunnellingInput | null; + interface_defect_assisted?: DefectAssistedInput | null; + intraband?: IntrabandInput | null; + schema_version?: SchemaVersion6; + } + /** + * This interface was referenced by `SpatialExperimentInput`'s JSON-Schema + * via the `definition` "BandToBandInput". + */ + export interface BandToBandInput { + enabled?: Enabled; + energy_quadrature_order?: EnergyQuadratureOrder; + minimum_field_V_m?: MinimumFieldVM; + reduced_effective_mass_rel?: ReducedEffectiveMassRel; + } + /** + * This interface was referenced by `SpatialExperimentInput`'s JSON-Schema + * via the `definition` "ContactTunnellingInput". + */ + export interface ContactTunnellingInput { + barrier_height_eV?: BarrierHeightEv; + electron_effective_mass_rel?: ElectronEffectiveMassRel; + enabled?: Enabled1; + energy_quadrature_order?: EnergyQuadratureOrder1; + hole_effective_mass_rel?: HoleEffectiveMassRel; + side?: Side1; + } + /** + * This interface was referenced by `SpatialExperimentInput`'s JSON-Schema + * via the `definition` "DefectAssistedInput". + */ + export interface DefectAssistedInput { + electron_effective_mass_rel?: ElectronEffectiveMassRel1; + enabled?: Enabled2; + hole_effective_mass_rel?: HoleEffectiveMassRel1; + requires_explicit_occupancy?: RequiresExplicitOccupancy; + } + /** + * This interface was referenced by `SpatialExperimentInput`'s JSON-Schema + * via the `definition` "IntrabandInput". + */ + export interface IntrabandInput { + carrier?: Carrier; + electron_effective_mass_rel?: ElectronEffectiveMassRel2; + enabled?: Enabled3; + energy_quadrature_order?: EnergyQuadratureOrder2; + hole_effective_mass_rel?: HoleEffectiveMassRel2; + } + /** + * This interface was referenced by `SpatialExperimentInput`'s JSON-Schema + * via the `definition` "JV2DInput". + */ + export interface JV2DInput { + Nx?: LateralIntervalsNx; + Ny_per_layer?: VerticalIntervalsPerElectricalLayer; + V_max?: VMax1; + V_step?: VStep; + atol?: Atol; + componentwise_atol?: ComponentwiseAtolInput | null; + illuminated?: Illuminated1; + initial_state_settle_s?: InitialStateSettleS; + interface_srh?: InterfaceSrh; + ion_dynamics?: IonDynamics; + ion_inventory_rtol?: IonInventoryRtol; + jv_2d_protocol?: JV2DProtocolInput | null; + kind: Kind2; + lateral_bc?: LateralBc1; + lateral_length?: LateralLength; + max_bisect?: MaxBisect1; + max_nfev_per_solve?: MaxNfevPerSolve1; + microstructure?: MicrostructureInput | null; + protocol_mode?: ProtocolMode1; + rtol?: Rtol1; + save_snapshots?: SaveSnapshots1; + settle_t?: SettleT; + } + /** + * This interface was referenced by `SpatialExperimentInput`'s JSON-Schema + * via the `definition` "ComponentwiseAtolInput". + */ + export interface ComponentwiseAtolInput { + carrier_fraction: CarrierFraction; + interface_fraction: InterfaceFraction; + ion_fraction: IonFraction; + minimum_atol: MinimumAtol; + refinement_factor: RefinementFactor; + } + /** + * Supplied execution-protocol declaration, not a generated or bound mesh. + * + * This interface was referenced by `SpatialExperimentInput`'s JSON-Schema + * via the `definition` "JV2DProtocolInput". + */ + export interface JV2DProtocolInput { + applied_voltage_rate_at_sampling_V_s: AppliedVoltageRateAtSamplingVS; + carrier_boundary_condition: CarrierBoundaryCondition; + current_composition: CurrentComposition; + current_sampling: CurrentSampling; + dwell_time_per_voltage_s: DwellTimePerVoltageS; + grain_boundaries: GrainBoundaries1; + illuminated: Illuminated2; + illumination_source: IlluminationSource; + implicit_legacy_protocol: ImplicitLegacyProtocol1; + initial_state_settle_s: InitialStateSettleS1; + initial_state_source: InitialStateSource1; + initial_state_voltage_V: InitialStateVoltageV; + interface_srh: InterfaceSrh1; + ion_boundary_condition: IonBoundaryCondition; + ion_inventory_rtol: IonInventoryRtol1; + lateral_bc: LateralBc; + max_bisect: MaxBisect; + max_nfev_per_solve: MaxNfevPerSolve; + save_snapshots: SaveSnapshots; + schema_version: SchemaVersion7; + solver_atol: JV2DAtolInput; + solver_max_step_divisor: SolverMaxStepDivisor; + solver_method: SolverMethod; + solver_rtol: SolverRtol; + state_topology: StateTopology; + temperature_K: TemperatureK1; + voltage_values_V: VoltageValuesV; + x_coordinates_m: XCoordinatesM; + y_coordinates_m: YCoordinatesM; + } + /** + * This interface was referenced by `SpatialExperimentInput`'s JSON-Schema + * via the `definition` "JV2DGrainProtocolInput". + */ + export interface JV2DGrainProtocolInput { + layer_role: LayerRole; + tau_n_s: TauNS; + tau_p_s: TauPS; + width_m: WidthM; + x_position_m: XPositionM; + } + /** + * This interface was referenced by `SpatialExperimentInput`'s JSON-Schema + * via the `definition` "JV2DAtolInput". + */ + export interface JV2DAtolInput { + carrier_fraction: CarrierFraction1; + interface_fraction: InterfaceFraction1; + ion_fraction: IonFraction1; + minimum_atol: MinimumAtol1; + mode: Mode2; + refinement_factor: RefinementFactor1; + scalar_atol: ScalarAtol; + } + /** + * This interface was referenced by `SpatialExperimentInput`'s JSON-Schema + * via the `definition` "MicrostructureInput". + */ + export interface MicrostructureInput { + grain_boundaries?: GrainBoundaries2; + } + /** + * This interface was referenced by `SpatialExperimentInput`'s JSON-Schema + * via the `definition` "GrainSweepInput". + */ + export interface GrainSweepInput { + Nx?: LateralIntervalsNx1; + Ny_per_layer?: VerticalIntervalsPerElectricalLayer1; + V_max?: VMax2; + V_step?: VStep1; + gb_width?: GbWidth; + grain_sizes?: GrainSizes; + grain_sizes_nm?: GrainSizesNm; + illuminated?: Illuminated3; + kind: Kind3; + settle_t?: SettleT1; + tau_gb_n?: TauGbN; + tau_gb_p?: TauGbP; + } +} +export type SpatialExperimentInput = SpatialExperimentInputDefinitions.SpatialExperimentInput; + +// Source DTO: solarlab.sweeps.inputs:SweepInput +// Schema SHA-256 (JSON.stringify): d34025a5e724369c0820f9975cf73e549082a0c1b483d9ae33e875b480185622 +export declare namespace SweepInputDefinitions { + /** + * @minItems 1 + * @maxItems 2 + */ + export type Axes = [SweepAxisInput] | [SweepAxisInput, SweepAxisInput]; + /** + * @minItems 1 + */ + export type Coordinates = [SweepCoordinateInput, ...SweepCoordinateInput[]]; + export type Kind = 'value' | 'omit'; + export type Value = boolean | number | string | null; + export type Id = string; + export type Family = + | 'layer_parameter' + | 'material_parameter' + | 'setting' + | 'bulk_defect' + | 'interface_defect' + | 'jv' + | 'cbo'; + export type LocalId = string; + export type OwnerId = string; + /** + * @minItems 1 + * @maxItems 2 + */ + export type Parameter = [string] | [string, string]; + export type ReferenceId = string; + export type Base = DeviceInput | JVExperimentInput; + export type SN = (number | string | null) | null; + export type SP = (number | string | null) | null; + export type Id1 = string; + export type Layer = string; + export type Side = 'left' | 'right'; + export type Contacts = ContactInput[]; + export type Description = string | null; + export type Alpha = number | string; + export type IntervalWeight = number | string; + export type Layer1 = string; + export type ElectricalGrid = GridLayerInput[]; + export type FixedGeneration = string | null; + export type Id2 = string; + export type LayerIds = string[]; + export type SourceLayerRole = string | null; + export type TauN = number | string; + export type TauP = number | string; + export type Width = number | string; + export type XPosition = number | string; + export type GrainBoundaries = GrainBoundaryInput[]; + export type Id3 = string; + export type CalibrationFactor = number | string; + export type EnergyReference = 'below_conduction_band' | 'above_valence_band'; + export type Id4 = string; + export type IfaceStateCalibrationFactor = number | string; + export type SigmaNM2 = number | string; + export type SigmaPM2 = number | string; + export type ThermalVelocityNMS = number | string; + export type ThermalVelocityPMS = number | string; + export type ECharEv = (number | string | null) | null; + export type NPeakM3 = (number | string | null) | null; + export type DefectId = string; + export type Distribution = 'single' | 'gaussian'; + export type EnergyReference1 = 'below_conduction_band' | 'above_valence_band'; + export type TrapDepthEv = number | string; + export type TotalDensityM2 = number | string; + export type TrapDepthEv1 = number | string; + export type Id5 = string; + export type Left = string; + export type Right = string; + export type VN = (number | string | null) | null; + export type VP = (number | string | null) | null; + export type Interfaces = InterfaceInput[]; + export type ChargeTransition = 'neutral' | 'acceptor' | 'donor' | 'unresolved'; + export type Degeneracy = number | string; + export type CenterEvAboveVb = (number | string | null) | null; + export type EnergyReference2 = 'above_valence_band' | null; + export type Kind1 = + 'single_level' | 'gaussian' | 'uniform' | 'conduction_band_tail' | 'valence_band_tail'; + export type Normalization = 'integrated_total'; + export type SupportWidthMultiplier = (number | string | null) | null; + export type TotalDensityM3 = number | string; + export type WidthConvention = + | ( + | 'not_applicable' + | 'gaussian_standard_deviation' + | 'scaps_characteristic_energy' + | 'uniform_full_width' + | 'unresolved' + ) + | null; + export type WidthEv = (number | string | null) | null; + export type Reference = 'below_conduction_band' | 'above_valence_band'; + export type ValueEv = number | string; + export type Id6 = string; + export type Name = string | null; + export type NeutralReference = 'all_occupancies' | 'empty' | 'filled' | 'unresolved'; + export type Coordinate = 'normalized_layer_coordinate'; + export type DensityNormalization = 'layer_average_unity'; + export type Interpolation = 'piecewise_linear'; + export type DensityMultiplier = number | string; + export type PositionFraction = number | string; + export type Knots = SpatialKnotInput[]; + export type ChargeStatesE = number[]; + export type DegeneracyConvention = 'scaps_binomial' | 'unity' | 'explicit'; + export type CorrelationEnergiesEv = (number | string)[]; + export type EnergyReference3 = 'above_valence_band'; + export type FirstTransitionEvAboveVb = number | string; + export type Family1 = + | 'single_donor' + | 'single_acceptor' + | 'double_donor' + | 'double_acceptor' + | 'amphoteric' + | 'custom_multilevel'; + export type StateDegeneracies = (number | string)[]; + export type TransitionKinetics = KineticsInput[]; + export type Id7 = string; + export type Name1 = string; + export type TotalDensityM31 = number | string; + export type BulkDefects = (BulkDefectInput | MultivalentDefectInput)[]; + export type CenterEvAboveVb1 = number | string; + export type ChargeTransition1 = 'acceptor' | 'donor'; + export type Distribution1 = 'single_level' | 'gaussian'; + export type EnergySigmaEv = number | string; + export type SigmaNM21 = number | string; + export type SigmaPM21 = number | string; + export type ThermalVelocityMS = number | string; + export type TotalDensityM32 = number | string; + export type Cgi = number | string; + export type GgiBack = number | string; + export type GgiFront = number | string; + export type KkQuadratureOrder = number; + export type Model = 'minoura_2015'; + export type Slices = number; + export type DefectModel = ('effective_lifetime' | 'explicit_quasi_steady') | null; + export type DefectSchemaVersion = string | null; + export type Id8 = string; + export type Material = string | null; + export type DefectModel1 = 'explicit_metastable_frozen'; + export type AcceptorConversionStateIndex = number; + export type CaptureNM3S = number | string; + export type CapturePM3S = number | string; + export type ElectronCaptureActivationEv = number | string; + export type ElectronCapturePath = 'double_electron_capture' | 'electron_capture_plus_hole_emission'; + export type ElectronEmissionActivationEv = number | string; + export type HoleCaptureActivationEv = number | string; + export type HoleCapturePath = 'double_hole_capture' | 'hole_capture_plus_electron_emission'; + export type HoleEmissionActivationEv = number | string; + export type PhononFrequencyHz = number | string; + export type TransitionEnergyEvAboveVb = number | string; + export type DonorConversionStateIndex = number; + export type Id9 = string; + export type Name2 = string; + export type TotalDensityM33 = number | string; + export type MetastableDefects = MetastableDefectInput[]; + export type SchemaVersion = 'solarlab-metastable-bulk-defects-v1'; + export type ConfigurationFreezeStage = 'after_stationary_preparation_before_measurement'; + export type FreezeConfigurationDuringMeasurement = true; + export type IlluminationContinuationSteps = number; + export type MeasurementProtocolSha256 = string; + export type MeasurementTemperatureK = number | string; + export type ClampingFactor = number | string; + export type FinalUnclampedRefinement = true; + export type InitialDonorFractionGuess = number | string; + export type MaxIterations = number; + export type RelativeTolerance = number | string; + export type PreparationIlluminationSuns = number | string; + export type PreparationLimit = 'stationary_infinite_time'; + export type PreparationTemperatureK = number | string; + export type PreparationVoltageV = number | string; + export type SchemaVersion1 = 'solarlab-metastable-preparation-v1'; + export type VoltageContinuationSteps = number; + export type Name3 = string; + export type Parameterization = 'standard' | 'scaps'; + export type AStarN = number | string; + export type AStarP = number | string; + export type BRad = number | string; + export type BRadTGamma = number | string; + export type CN = number | string; + export type CP = number | string; + export type DIon = number | string; + export type DIonNeg = number | string; + export type EAIon = number | string; + export type Eg = number | string; + export type EgBack = (number | string | null) | null; + export type NA = number | string; + export type NABulk = (number | string | null) | null; + export type ND = number | string; + export type NDBulk = (number | string | null) | null; + export type Nc300 = (number | string | null) | null; + export type Nv300 = (number | string | null) | null; + export type P0 = number | string; + export type P0Neg = number | string; + export type PLim = number | string; + export type PLimNeg = number | string; + export type AcceptorBindingEnergyEv = (number | string | null) | null; + export type AcceptorDegeneracy = number | string; + export type Alpha1 = number | string; + export type BandGapNarrowingModel = 'off' | 'slotboom'; + export type BgnConductionBandFraction = number | string; + export type BgnLogShape = number | string; + export type BgnReferenceDensityM3 = number | string; + export type BgnReferenceEnergyEv = number | string; + export type CarrierStatistics = 'maxwell_boltzmann' | 'fermi_dirac'; + export type Chi = number | string; + export type ChiBack = (number | string | null) | null; + export type CtBetaN = number | string; + export type CtBetaP = number | string; + export type DonorBindingEnergyEv = (number | string | null) | null; + export type DonorDegeneracy = number | string; + export type DopantIonizationModel = 'fully_ionized' | 'discrete_level'; + export type DopingDecayLength = (number | string | null) | null; + export type DopingEdge = 'front' | 'back'; + export type DopingProfileShape = 'gaussian' | null; + export type EpsR = number | string; + export type GradingNMult = number; + export type GradingBowing = number | string; + export type GradingCharLength = (number | string | null) | null; + export type GradingDirection = 'front_to_back' | 'back_to_front'; + export type GradingProfile = 'linear' | 'parabolic' | 'exponential'; + export type Incoherent = boolean; + export type MuTGamma = number | string; + export type MuN = number | string; + export type MuP = number | string; + export type N1 = number | string; + export type NOptical = (number | string | null) | null; + export type Ni = number | string; + export type OpticalMaterial = string | null; + export type P1 = number | string; + export type PfGammaN = number | string; + export type PfGammaP = number | string; + export type TauN1 = number | string; + export type TauP1 = number | string; + export type TrapNTBulk = (number | string | null) | null; + export type TrapNTInterface = (number | string | null) | null; + export type TrapDecayLength = (number | string | null) | null; + export type TrapEdge = 'both' | 'left' | 'right'; + export type TrapProfileShape = 'exponential' | 'gaussian'; + export type VSatN = number | string; + export type VSatP = number | string; + export type VTh = number | string; + export type VarshniAlpha = number | string; + export type VarshniBeta = number | string; + export type Role = string; + export type ScapsDefectMetadata = ScapsDefectMetadataInput[]; + export type Thickness = number | string; + export type Layers = FullLayerInput[]; + export type InterfaceDefectCount = number | null; + export type Interfaces1 = + [number | number | string | string, number | number | string | string][] | null; + export type LayerIds1 = string[]; + export type SchemaVersion2 = 'solarlab.standard-loader-fields.v1'; + export type SourceId = string; + export type SourceSha256 = string; + export type Temperature = number | string | boolean | null; + export type Id10 = string; + export type Name4 = string; + export type Materials = NamedMaterialInput[]; + export type Name5 = string | null; + export type SchemaVersion3 = 'solarlab.device-preparation.v1'; + export type Phi = number | string; + export type T = number | string; + export type VBi = number | string; + export type BandGrading = boolean; + export type BuiltInPotentialMode = + ('legacy_manual' | 'semiconductor_work_function' | 'metal_work_function') | null; + export type ContactPhiBEv = number | string; + export type DosBandPotentials = boolean; + export type FlatBandContacts = boolean; + export type FlatBandMetalContacts = boolean; + export type GradedOptics = boolean; + export type HetRecombDespike = number | string; + export type InterfaceChargeClosure = 'off' | 'equilibrium_referenced'; + export type InterfaceChargeRebaselineAcknowledged = boolean; + export type InterfacePlaneClosure = boolean; + export type InterfacePlaneGeneration = boolean; + export type InterfacePlaneProjection = boolean; + export type InterfaceSharedOccupancy = boolean; + export type InterfaceTunneling = boolean; + export type InterfaceTwoSided = boolean; + export type IonStericDiffusionOnly = boolean; + export type IonStericSharedSite = boolean; + export type JvSolverPolicy = 'general' | 'cancellation_safe_qf_required'; + export type Mode = 'legacy' | 'fast' | 'full'; + export type PhiLeft = number | string; + export type TePhysicalNorm = boolean; + export type TunnelMassEff = number | string; + export type WorkFunctionLeftEv = (number | string | null) | null; + export type WorkFunctionRightEv = (number | string | null) | null; + export type RequestedElectricalGridAllocation = number; + export type VMax = (number | string | null) | null; + export type AcExcitation = null; + export type DurationS = (number | string | null) | null; + export type Kind2 = + 'finite_time' | 'residual_certified' | 'finite_time_with_certificate' | 'not_applicable'; + export type MaxCarrierAreaRateAM2 = (number | string | null) | null; + export type MaxFaceCurrentSpreadAM2 = (number | string | null) | null; + export type MaxIonAreaRateAM2 = (number | string | null) | null; + export type MaxIonicFaceCurrentAM2 = (number | string | null) | null; + export type DwellDurationS = (number | string | null) | null; + export type Experiment = 'jv_hysteresis'; + /** + * @minItems 1 + */ + export type IlluminationHistory = [JVIlluminationStepInput, ...JVIlluminationStepInput[]]; + export type Condition = 'dark' | 'baseline' | 'scaled' | 'monochromatic' | 'pulse'; + export type DurationS1 = (number | string | null) | null; + export type IntensitySuns = (number | string | null) | null; + export type Phase = string; + export type PhotonFluxM2S = (number | string | null) | null; + export type RelativeGenerationChange = (number | string | null) | null; + export type SourceReference = string | null; + export type ImplicitLegacyProtocol = boolean; + export type InitialStateSource = + | 'dark_equilibrium' + | 'dark_equilibrium_each_sample' + | 'finite_time_illuminated_preconditioned' + | 'finite_time_dc_preconditioned' + | 'qf_dc_candidate' + | 'user_supplied_state'; + export type PreBiasV = (number | string | null) | null; + export type Axis = 'voltage_V'; + export type Mode1 = 'linear' | 'log' | 'declared' | 'piecewise_linear'; + /** + * @minItems 1 + */ + export type Values = [number | number | string | string, ...(number | number | string | string)[]]; + export type Axis1 = 'voltage_V'; + export type Direction = + 'ascending' | 'descending' | 'ascending_then_descending' | 'declared_order' | 'forward_time'; + export type RateVS = number | string; + export type Start = number | string; + export type Stop = number | string; + export type SchemaVersion4 = 1; + export type SoakDurationS = (number | string | null) | null; + export type TemperatureK = number | string; + export type VocSearch = null; + export type IfaceStates = boolean; + export type Illuminated = boolean; + export type InterfaceBoundary = boolean; + export type InterfaceTransportModel = string; + export type SamplesPerBranch = number; + export type ProtocolMode = 'compatibility' | 'research_strict'; + export type Solver = 'transient' | 'steady_state' | 'quasi_fermi'; + export type VRate = number | string; + export type BranchDwellS = number | string; + export type DarkPrepS = number | string; + export type DarkSeedS = number | string; + export type SchemaVersion5 = 1; + export type StartVoltageV = number | string; + export type TurnaroundDark = boolean; + export type TurnaroundS = number | string; + export type UniformGenerationRateM3S = (number | string | null) | null; + export type AtolM3 = number | string; + export type Rtol = number | string; + export type MinNGrid = number | null; + export type Notes = string | null; + export type SourceFormat = 'standard' | 'scaps' | 'canonical'; + export type SourceSchemaVersion = string | number | null; + export type Spectrum = string | null; + export type Enabled = boolean; + export type EnergyQuadratureOrder = number; + export type MinimumFieldVM = number | string; + export type ReducedEffectiveMassRel = number | string; + export type BarrierHeightEv = number | string; + export type ElectronEffectiveMassRel = number | string; + export type Enabled1 = boolean; + export type EnergyQuadratureOrder1 = number; + export type HoleEffectiveMassRel = number | string; + export type Side1 = 'both' | 'left' | 'right'; + export type ElectronEffectiveMassRel1 = number | string; + export type Enabled2 = boolean; + export type HoleEffectiveMassRel1 = number | string; + export type RequiresExplicitOccupancy = true; + export type Carrier = 'electron' | 'hole' | 'both'; + export type ElectronEffectiveMassRel2 = number | string; + export type Enabled3 = boolean; + export type EnergyQuadratureOrder2 = number; + export type HoleEffectiveMassRel2 = number | string; + export type SchemaVersion6 = 'solarlab-wkb-tunnelling-channels-v1'; + export type Experiment1 = JVInput | DarkJVInput; + export type RequestedElectricalGridAllocation1 = number; + export type VMax1 = (number | string | null) | null; + export type IfaceStates1 = boolean; + export type Illuminated1 = boolean; + export type InterfaceBoundary1 = boolean; + export type InterfaceTransportModel1 = string; + export type Kind3 = 'jv'; + export type SamplesPerBranch1 = number; + export type ProtocolMode1 = 'compatibility' | 'research_strict'; + export type RequestApi = 'jobs' | 'jv_endpoint'; + export type Solver1 = 'transient' | 'steady_state' | 'quasi_fermi'; + export type VRate1 = number | string; + export type RequestedElectricalGridAllocation2 = number; + export type VMax2 = number | string; + export type Kind4 = 'dark_jv'; + export type SamplesPerBranch2 = number; + export type VRate2 = number | string; + export type Id11 = string; + export type SchemaVersion7 = 'solarlab.experiment-preparation.v1'; + export type Id12 = string; + export type ReferenceId1 = string | null; + export type SchemaVersion8 = 'solarlab.sweep-preparation.v1'; + + export interface SweepInput { + axes: Axes; + base: Base; + id: Id12; + reference_id?: ReferenceId1; + schema_version: SchemaVersion8; + } + /** + * This interface was referenced by `SweepInput`'s JSON-Schema + * via the `definition` "SweepAxisInput". + */ + export interface SweepAxisInput { + coordinates: Coordinates; + id: Id; + target: SweepTargetInput; + } + /** + * This interface was referenced by `SweepInput`'s JSON-Schema + * via the `definition` "SweepCoordinateInput". + */ + export interface SweepCoordinateInput { + kind: Kind; + value?: Value; + } + /** + * This interface was referenced by `SweepInput`'s JSON-Schema + * via the `definition` "SweepTargetInput". + */ + export interface SweepTargetInput { + family: Family; + local_id?: LocalId; + owner_id?: OwnerId; + parameter: Parameter; + reference_id?: ReferenceId; + } + /** + * This interface was referenced by `SweepInput`'s JSON-Schema + * via the `definition` "DeviceInput". + */ + export interface DeviceInput { + contacts?: Contacts; + description?: Description; + electrical_grid?: ElectricalGrid; + fixed_generation?: FixedGeneration; + grain_boundaries?: GrainBoundaries; + id: Id3; + interfaces?: Interfaces; + layers: Layers; + legacy_fields?: LegacyDeviceFieldsInput | null; + materials?: Materials; + name?: Name5; + schema_version: SchemaVersion3; + settings?: DeviceSettingsInput; + simulation_hints?: SimulationHintsInput | null; + source_format: SourceFormat; + source_schema_version?: SourceSchemaVersion; + spectrum?: Spectrum; + tunnelling_channels?: TunnellingInput | null; + } + /** + * This interface was referenced by `SweepInput`'s JSON-Schema + * via the `definition` "ContactInput". + */ + export interface ContactInput { + S_n?: SN; + S_p?: SP; + id: Id1; + layer: Layer; + side: Side; + } + /** + * This interface was referenced by `SweepInput`'s JSON-Schema + * via the `definition` "GridLayerInput". + */ + export interface GridLayerInput { + alpha: Alpha; + interval_weight: IntervalWeight; + layer: Layer1; + } + /** + * This interface was referenced by `SweepInput`'s JSON-Schema + * via the `definition` "GrainBoundaryInput". + */ + export interface GrainBoundaryInput { + id: Id2; + layer_ids: LayerIds; + source_layer_role?: SourceLayerRole; + tau_n: TauN; + tau_p: TauP; + width: Width; + x_position: XPosition; + } + /** + * This interface was referenced by `SweepInput`'s JSON-Schema + * via the `definition` "InterfaceInput". + */ + export interface InterfaceInput { + defect?: InterfaceDefectInput | null; + id: Id5; + left: Left; + right: Right; + v_n?: VN; + v_p?: VP; + } + /** + * This interface was referenced by `SweepInput`'s JSON-Schema + * via the `definition` "InterfaceDefectInput". + */ + export interface InterfaceDefectInput { + calibration_factor: CalibrationFactor; + energy_reference: EnergyReference; + id: Id4; + iface_state_calibration_factor: IfaceStateCalibrationFactor; + kinetics: KineticsInput; + partner_metadata?: ScapsDefectMetadataInput | null; + total_density_m2: TotalDensityM2; + trap_depth_eV: TrapDepthEv1; + } + /** + * This interface was referenced by `SweepInput`'s JSON-Schema + * via the `definition` "KineticsInput". + */ + export interface KineticsInput { + sigma_n_m2: SigmaNM2; + sigma_p_m2: SigmaPM2; + thermal_velocity_n_m_s: ThermalVelocityNMS; + thermal_velocity_p_m_s: ThermalVelocityPMS; + } + /** + * Preserved partner metadata; a Gaussian note is not a qualified closure. + * + * This interface was referenced by `SweepInput`'s JSON-Schema + * via the `definition` "ScapsDefectMetadataInput". + */ + export interface ScapsDefectMetadataInput { + E_char_eV?: ECharEv; + N_peak_m3?: NPeakM3; + defect_id: DefectId; + distribution: Distribution; + energy_reference: EnergyReference1; + trap_depth_eV: TrapDepthEv; + } + /** + * This interface was referenced by `SweepInput`'s JSON-Schema + * via the `definition` "FullLayerInput". + */ + export interface FullLayerInput { + bulk_defects?: BulkDefects; + bulk_trap_distribution?: LegacyBulkTrapInput | null; + cigs_graded_optics?: CigsOpticsInput | null; + defect_model?: DefectModel; + defect_schema_version?: DefectSchemaVersion; + id: Id8; + material?: Material; + metastable_document?: MetastableDocumentInput | null; + metastable_preparation?: MetastablePreparationInput | null; + name: Name3; + parameterization?: Parameterization; + parameters?: FullParameterInput; + role: Role; + scaps_defect_metadata?: ScapsDefectMetadata; + thickness: Thickness; + } + /** + * This interface was referenced by `SweepInput`'s JSON-Schema + * via the `definition` "BulkDefectInput". + */ + export interface BulkDefectInput { + charge_transition: ChargeTransition; + degeneracy: Degeneracy; + distribution: DistributionInput; + energy_level?: EnergyLevelInput | null; + id: Id6; + kinetics: KineticsInput; + name?: Name; + neutral_reference: NeutralReference; + spatial_profile?: SpatialProfileInput | null; + } + /** + * This interface was referenced by `SweepInput`'s JSON-Schema + * via the `definition` "DistributionInput". + */ + export interface DistributionInput { + center_eV_above_vb?: CenterEvAboveVb; + energy_reference?: EnergyReference2; + kind: Kind1; + normalization: Normalization; + support_width_multiplier?: SupportWidthMultiplier; + total_density_m3: TotalDensityM3; + width_convention?: WidthConvention; + width_eV?: WidthEv; + } + /** + * This interface was referenced by `SweepInput`'s JSON-Schema + * via the `definition` "EnergyLevelInput". + */ + export interface EnergyLevelInput { + reference: Reference; + value_eV: ValueEv; + } + /** + * This interface was referenced by `SweepInput`'s JSON-Schema + * via the `definition` "SpatialProfileInput". + */ + export interface SpatialProfileInput { + coordinate: Coordinate; + density_normalization: DensityNormalization; + interpolation: Interpolation; + knots: Knots; + } + /** + * This interface was referenced by `SweepInput`'s JSON-Schema + * via the `definition` "SpatialKnotInput". + */ + export interface SpatialKnotInput { + density_multiplier: DensityMultiplier; + position_fraction: PositionFraction; + } + /** + * This interface was referenced by `SweepInput`'s JSON-Schema + * via the `definition` "MultivalentDefectInput". + */ + export interface MultivalentDefectInput { + configuration: MultivalentConfigurationInput; + id: Id7; + name: Name1; + total_density_m3: TotalDensityM31; + } + /** + * This interface was referenced by `SweepInput`'s JSON-Schema + * via the `definition` "MultivalentConfigurationInput". + */ + export interface MultivalentConfigurationInput { + charge_states_e: ChargeStatesE; + degeneracy_convention: DegeneracyConvention; + energy_levels: MultivalentEnergyInput; + family: Family1; + state_degeneracies: StateDegeneracies; + transition_kinetics: TransitionKinetics; + } + /** + * This interface was referenced by `SweepInput`'s JSON-Schema + * via the `definition` "MultivalentEnergyInput". + */ + export interface MultivalentEnergyInput { + correlation_energies_eV: CorrelationEnergiesEv; + energy_reference: EnergyReference3; + first_transition_eV_above_vb: FirstTransitionEvAboveVb; + } + /** + * This interface was referenced by `SweepInput`'s JSON-Schema + * via the `definition` "LegacyBulkTrapInput". + */ + export interface LegacyBulkTrapInput { + center_eV_above_vb: CenterEvAboveVb1; + charge_transition: ChargeTransition1; + distribution: Distribution1; + energy_sigma_eV?: EnergySigmaEv; + sigma_n_m2: SigmaNM21; + sigma_p_m2: SigmaPM21; + thermal_velocity_m_s: ThermalVelocityMS; + total_density_m3: TotalDensityM32; + } + /** + * GGI endpoints follow the layer's electrical grading coordinate. + * + * Absent model, slice and quadrature values are supplied by the injected catalog, + * compiled from the existing model declaration. None is never a numeric default. + * + * This interface was referenced by `SweepInput`'s JSON-Schema + * via the `definition` "CigsOpticsInput". + */ + export interface CigsOpticsInput { + cgi: Cgi; + ggi_back: GgiBack; + ggi_front: GgiFront; + kk_quadrature_order?: KkQuadratureOrder; + model?: Model; + slices?: Slices; + } + /** + * This interface was referenced by `SweepInput`'s JSON-Schema + * via the `definition` "MetastableDocumentInput". + */ + export interface MetastableDocumentInput { + defect_model: DefectModel1; + metastable_defects: MetastableDefects; + schema_version: SchemaVersion; + } + /** + * This interface was referenced by `SweepInput`'s JSON-Schema + * via the `definition` "MetastableDefectInput". + */ + export interface MetastableDefectInput { + acceptor_configuration: MultivalentConfigurationInput; + acceptor_conversion_state_index: AcceptorConversionStateIndex; + conversion_kinetics: MetastableConversionInput; + donor_configuration: MultivalentConfigurationInput; + donor_conversion_state_index: DonorConversionStateIndex; + id: Id9; + name: Name2; + total_density_m3: TotalDensityM33; + } + /** + * This interface was referenced by `SweepInput`'s JSON-Schema + * via the `definition` "MetastableConversionInput". + */ + export interface MetastableConversionInput { + capture_n_m3_s: CaptureNM3S; + capture_p_m3_s: CapturePM3S; + electron_capture_activation_eV: ElectronCaptureActivationEv; + electron_capture_path: ElectronCapturePath; + electron_emission_activation_eV: ElectronEmissionActivationEv; + hole_capture_activation_eV: HoleCaptureActivationEv; + hole_capture_path: HoleCapturePath; + hole_emission_activation_eV: HoleEmissionActivationEv; + phonon_frequency_Hz: PhononFrequencyHz; + transition_energy_eV_above_vb: TransitionEnergyEvAboveVb; + } + /** + * This interface was referenced by `SweepInput`'s JSON-Schema + * via the `definition` "MetastablePreparationInput". + */ + export interface MetastablePreparationInput { + configuration_freeze_stage: ConfigurationFreezeStage; + freeze_configuration_during_measurement: FreezeConfigurationDuringMeasurement; + illumination_continuation_steps: IlluminationContinuationSteps; + measurement_protocol_sha256: MeasurementProtocolSha256; + measurement_temperature_K: MeasurementTemperatureK; + numerics: MetastableNumericsInput; + preparation_illumination_suns: PreparationIlluminationSuns; + preparation_limit: PreparationLimit; + preparation_temperature_K: PreparationTemperatureK; + preparation_voltage_V: PreparationVoltageV; + schema_version: SchemaVersion1; + voltage_continuation_steps: VoltageContinuationSteps; + } + /** + * This interface was referenced by `SweepInput`'s JSON-Schema + * via the `definition` "MetastableNumericsInput". + */ + export interface MetastableNumericsInput { + clamping_factor: ClampingFactor; + final_unclamped_refinement: FinalUnclampedRefinement; + initial_donor_fraction_guess: InitialDonorFractionGuess; + max_iterations: MaxIterations; + relative_tolerance: RelativeTolerance; + } + /** + * This interface was referenced by `SweepInput`'s JSON-Schema + * via the `definition` "FullParameterInput". + */ + export interface FullParameterInput { + A_star_n?: AStarN; + A_star_p?: AStarP; + B_rad?: BRad; + B_rad_T_gamma?: BRadTGamma; + C_n?: CN; + C_p?: CP; + D_ion?: DIon; + D_ion_neg?: DIonNeg; + E_a_ion?: EAIon; + Eg?: Eg; + Eg_back?: EgBack; + N_A?: NA; + N_A_bulk?: NABulk; + N_D?: ND; + N_D_bulk?: NDBulk; + Nc300?: Nc300; + Nv300?: Nv300; + P0?: P0; + P0_neg?: P0Neg; + P_lim?: PLim; + P_lim_neg?: PLimNeg; + acceptor_binding_energy_eV?: AcceptorBindingEnergyEv; + acceptor_degeneracy?: AcceptorDegeneracy; + alpha?: Alpha1; + band_gap_narrowing_model?: BandGapNarrowingModel; + bgn_conduction_band_fraction?: BgnConductionBandFraction; + bgn_log_shape?: BgnLogShape; + bgn_reference_density_m3?: BgnReferenceDensityM3; + bgn_reference_energy_eV?: BgnReferenceEnergyEv; + carrier_statistics?: CarrierStatistics; + chi?: Chi; + chi_back?: ChiBack; + ct_beta_n?: CtBetaN; + ct_beta_p?: CtBetaP; + donor_binding_energy_eV?: DonorBindingEnergyEv; + donor_degeneracy?: DonorDegeneracy; + dopant_ionization_model?: DopantIonizationModel; + doping_decay_length?: DopingDecayLength; + doping_edge?: DopingEdge; + doping_profile_shape?: DopingProfileShape; + eps_r?: EpsR; + grading_N_mult?: GradingNMult; + grading_bowing?: GradingBowing; + grading_char_length?: GradingCharLength; + grading_direction?: GradingDirection; + grading_profile?: GradingProfile; + incoherent?: Incoherent; + mu_T_gamma?: MuTGamma; + mu_n?: MuN; + mu_p?: MuP; + n1?: N1; + n_optical?: NOptical; + ni?: Ni; + optical_material?: OpticalMaterial; + p1?: P1; + pf_gamma_n?: PfGammaN; + pf_gamma_p?: PfGammaP; + tau_n?: TauN1; + tau_p?: TauP1; + trap_N_t_bulk?: TrapNTBulk; + trap_N_t_interface?: TrapNTInterface; + trap_decay_length?: TrapDecayLength; + trap_edge?: TrapEdge; + trap_profile_shape?: TrapProfileShape; + v_sat_n?: VSatN; + v_sat_p?: VSatP; + v_th?: VTh; + varshni_alpha?: VarshniAlpha; + varshni_beta?: VarshniBeta; + } + /** + * This interface was referenced by `SweepInput`'s JSON-Schema + * via the `definition` "LegacyDeviceFieldsInput". + */ + export interface LegacyDeviceFieldsInput { + interface_defect_count?: InterfaceDefectCount; + interfaces?: Interfaces1; + layer_ids: LayerIds1; + schema_version: SchemaVersion2; + source_id: SourceId; + source_sha256: SourceSha256; + temperature?: Temperature; + } + /** + * This interface was referenced by `SweepInput`'s JSON-Schema + * via the `definition` "NamedMaterialInput". + */ + export interface NamedMaterialInput { + cigs_graded_optics?: CigsOpticsInput | null; + id: Id10; + name: Name4; + parameters: FullParameterInput; + } + /** + * This interface was referenced by `SweepInput`'s JSON-Schema + * via the `definition` "DeviceSettingsInput". + */ + export interface DeviceSettingsInput { + Phi?: Phi; + T?: T; + V_bi?: VBi; + band_grading?: BandGrading; + built_in_potential_mode?: BuiltInPotentialMode; + contact_phi_B_eV?: ContactPhiBEv; + dos_band_potentials?: DosBandPotentials; + flat_band_contacts?: FlatBandContacts; + flat_band_metal_contacts?: FlatBandMetalContacts; + graded_optics?: GradedOptics; + het_recomb_despike?: HetRecombDespike; + interface_charge_closure?: InterfaceChargeClosure; + interface_charge_rebaseline_acknowledged?: InterfaceChargeRebaselineAcknowledged; + interface_plane_closure?: InterfacePlaneClosure; + interface_plane_generation?: InterfacePlaneGeneration; + interface_plane_projection?: InterfacePlaneProjection; + interface_shared_occupancy?: InterfaceSharedOccupancy; + interface_tunneling?: InterfaceTunneling; + interface_two_sided?: InterfaceTwoSided; + ion_steric_diffusion_only?: IonStericDiffusionOnly; + ion_steric_shared_site?: IonStericSharedSite; + jv_solver_policy?: JvSolverPolicy; + mode?: Mode; + phi_left?: PhiLeft; + te_physical_norm?: TePhysicalNorm; + tunnel_mass_eff?: TunnelMassEff; + work_function_left_eV?: WorkFunctionLeftEv; + work_function_right_eV?: WorkFunctionRightEv; + } + /** + * This interface was referenced by `SweepInput`'s JSON-Schema + * via the `definition` "SimulationHintsInput". + */ + export interface SimulationHintsInput { + jv_sweep?: JVSweepHintsInput | null; + min_N_grid?: MinNGrid; + notes?: Notes; + } + /** + * Supplied advisory fields, without an endpoint or implied execution. + * + * Unknown fields reject rather than disappear. A caller must explicitly + * compose these fields with JVInput to request protocol preparation. + * + * This interface was referenced by `SweepInput`'s JSON-Schema + * via the `definition` "JVSweepHintsInput". + */ + export interface JVSweepHintsInput { + N_grid?: RequestedElectricalGridAllocation; + V_max?: VMax; + experiment_protocol?: JVProtocolInput | null; + iface_states?: IfaceStates; + illuminated?: Illuminated; + interface_boundary?: InterfaceBoundary; + interface_transport_model?: InterfaceTransportModel; + n_points?: SamplesPerBranch; + protocol_mode?: ProtocolMode; + solver?: Solver; + v_rate?: VRate; + waveform?: JVWaveformInput | null; + waveform_controls?: JVWaveformControlsInput | null; + } + /** + * The existing ExperimentProtocol fields for its J-V branch only. + * + * This interface was referenced by `SweepInput`'s JSON-Schema + * via the `definition` "JVProtocolInput". + */ + export interface JVProtocolInput { + ac_excitation: AcExcitation; + dc_settle: JVDCSettleInput; + dwell_duration_s: DwellDurationS; + experiment: Experiment; + illumination_history: IlluminationHistory; + implicit_legacy_protocol: ImplicitLegacyProtocol; + initial_state_source: InitialStateSource; + pre_bias_V: PreBiasV; + sampling: JVSamplingInput; + scan: JVScanInput; + schema_version: SchemaVersion4; + soak_duration_s: SoakDurationS; + temperature_K: TemperatureK; + voc_search: VocSearch; + } + /** + * This interface was referenced by `SweepInput`'s JSON-Schema + * via the `definition` "JVDCSettleInput". + */ + export interface JVDCSettleInput { + duration_s: DurationS; + kind: Kind2; + max_carrier_area_rate_A_m2: MaxCarrierAreaRateAM2; + max_face_current_spread_A_m2: MaxFaceCurrentSpreadAM2; + max_ion_area_rate_A_m2: MaxIonAreaRateAM2; + max_ionic_face_current_A_m2: MaxIonicFaceCurrentAM2; + } + /** + * This interface was referenced by `SweepInput`'s JSON-Schema + * via the `definition` "JVIlluminationStepInput". + */ + export interface JVIlluminationStepInput { + condition: Condition; + duration_s: DurationS1; + intensity_suns: IntensitySuns; + phase: Phase; + photon_flux_m2_s: PhotonFluxM2S; + relative_generation_change: RelativeGenerationChange; + source_reference: SourceReference; + } + /** + * This interface was referenced by `SweepInput`'s JSON-Schema + * via the `definition` "JVSamplingInput". + */ + export interface JVSamplingInput { + axis: Axis; + mode: Mode1; + values: Values; + } + /** + * This interface was referenced by `SweepInput`'s JSON-Schema + * via the `definition` "JVScanInput". + */ + export interface JVScanInput { + axis: Axis1; + direction: Direction; + rate_V_s: RateVS; + start: Start; + stop: Stop; + } + /** + * All eight fields of JVWaveform.from_dict are explicit, including null. + * + * This interface was referenced by `SweepInput`'s JSON-Schema + * via the `definition` "JVWaveformInput". + */ + export interface JVWaveformInput { + branch_dwell_s: BranchDwellS; + dark_prep_s: DarkPrepS; + dark_seed_s: DarkSeedS; + schema_version: SchemaVersion5; + start_voltage_V: StartVoltageV; + turnaround_dark: TurnaroundDark; + turnaround_s: TurnaroundS; + uniform_generation_rate_m3_s: UniformGenerationRateM3S; + } + /** + * This interface was referenced by `SweepInput`'s JSON-Schema + * via the `definition` "JVWaveformControlsInput". + */ + export interface JVWaveformControlsInput { + atol_m3: AtolM3; + rtol: Rtol; + } + /** + * This interface was referenced by `SweepInput`'s JSON-Schema + * via the `definition` "TunnellingInput". + */ + export interface TunnellingInput { + band_to_band?: BandToBandInput | null; + contact?: ContactTunnellingInput | null; + interface_defect_assisted?: DefectAssistedInput | null; + intraband?: IntrabandInput | null; + schema_version?: SchemaVersion6; + } + /** + * This interface was referenced by `SweepInput`'s JSON-Schema + * via the `definition` "BandToBandInput". + */ + export interface BandToBandInput { + enabled?: Enabled; + energy_quadrature_order?: EnergyQuadratureOrder; + minimum_field_V_m?: MinimumFieldVM; + reduced_effective_mass_rel?: ReducedEffectiveMassRel; + } + /** + * This interface was referenced by `SweepInput`'s JSON-Schema + * via the `definition` "ContactTunnellingInput". + */ + export interface ContactTunnellingInput { + barrier_height_eV?: BarrierHeightEv; + electron_effective_mass_rel?: ElectronEffectiveMassRel; + enabled?: Enabled1; + energy_quadrature_order?: EnergyQuadratureOrder1; + hole_effective_mass_rel?: HoleEffectiveMassRel; + side?: Side1; + } + /** + * This interface was referenced by `SweepInput`'s JSON-Schema + * via the `definition` "DefectAssistedInput". + */ + export interface DefectAssistedInput { + electron_effective_mass_rel?: ElectronEffectiveMassRel1; + enabled?: Enabled2; + hole_effective_mass_rel?: HoleEffectiveMassRel1; + requires_explicit_occupancy?: RequiresExplicitOccupancy; + } + /** + * This interface was referenced by `SweepInput`'s JSON-Schema + * via the `definition` "IntrabandInput". + */ + export interface IntrabandInput { + carrier?: Carrier; + electron_effective_mass_rel?: ElectronEffectiveMassRel2; + enabled?: Enabled3; + energy_quadrature_order?: EnergyQuadratureOrder2; + hole_effective_mass_rel?: HoleEffectiveMassRel2; + } + /** + * This interface was referenced by `SweepInput`'s JSON-Schema + * via the `definition` "JVExperimentInput". + */ + export interface JVExperimentInput { + device: DeviceInput; + experiment: Experiment1; + id: Id11; + schema_version: SchemaVersion7; + } + /** + * This interface was referenced by `SweepInput`'s JSON-Schema + * via the `definition` "JVInput". + */ + export interface JVInput { + N_grid?: RequestedElectricalGridAllocation1; + V_max?: VMax1; + experiment_protocol?: JVProtocolInput | null; + iface_states?: IfaceStates1; + illuminated?: Illuminated1; + interface_boundary?: InterfaceBoundary1; + interface_transport_model?: InterfaceTransportModel1; + kind: Kind3; + n_points?: SamplesPerBranch1; + protocol_mode?: ProtocolMode1; + request_api?: RequestApi; + solver?: Solver1; + v_rate?: VRate1; + waveform?: JVWaveformInput | null; + waveform_controls?: JVWaveformControlsInput | null; + } + /** + * This interface was referenced by `SweepInput`'s JSON-Schema + * via the `definition` "DarkJVInput". + */ + export interface DarkJVInput { + N_grid?: RequestedElectricalGridAllocation2; + V_max?: VMax2; + kind: Kind4; + n_points?: SamplesPerBranch2; + v_rate?: VRate2; + } +} +export type SweepInput = SweepInputDefinitions.SweepInput; + +// Source DTO: solarlab.device.inputs:TandemInput +// Schema SHA-256 (JSON.stringify): 4618895c2c7fa8bdd01561cb6353830eb6eea1674a3202541cd4b3cdab1dc6da +export declare namespace TandemInputDefinitions { + export type Id = string; + export type Incoherent = boolean; + export type Name = string; + export type OpticalMaterial = string; + export type Thickness = number | string; + export type Reference = string; + export type TargetFfFraction = number | string; + export type TargetJscAM2 = number | string; + export type TargetPceFraction = number | string; + export type TargetVocV = number | string; + export type ToleranceFraction = number | string; + export type SN = (number | string | null) | null; + export type SP = (number | string | null) | null; + export type Id1 = string; + export type Layer = string; + export type Side = 'left' | 'right'; + export type Contacts = ContactInput[]; + export type Description = string | null; + export type Alpha = number | string; + export type IntervalWeight = number | string; + export type Layer1 = string; + export type ElectricalGrid = GridLayerInput[]; + export type FixedGeneration = string | null; + export type Id2 = string; + export type LayerIds = string[]; + export type SourceLayerRole = string | null; + export type TauN = number | string; + export type TauP = number | string; + export type Width = number | string; + export type XPosition = number | string; + export type GrainBoundaries = GrainBoundaryInput[]; + export type Id3 = string; + export type CalibrationFactor = number | string; + export type EnergyReference = 'below_conduction_band' | 'above_valence_band'; + export type Id4 = string; + export type IfaceStateCalibrationFactor = number | string; + export type SigmaNM2 = number | string; + export type SigmaPM2 = number | string; + export type ThermalVelocityNMS = number | string; + export type ThermalVelocityPMS = number | string; + export type ECharEv = (number | string | null) | null; + export type NPeakM3 = (number | string | null) | null; + export type DefectId = string; + export type Distribution = 'single' | 'gaussian'; + export type EnergyReference1 = 'below_conduction_band' | 'above_valence_band'; + export type TrapDepthEv = number | string; + export type TotalDensityM2 = number | string; + export type TrapDepthEv1 = number | string; + export type Id5 = string; + export type Left = string; + export type Right = string; + export type VN = (number | string | null) | null; + export type VP = (number | string | null) | null; + export type Interfaces = InterfaceInput[]; + export type ChargeTransition = 'neutral' | 'acceptor' | 'donor' | 'unresolved'; + export type Degeneracy = number | string; + export type CenterEvAboveVb = (number | string | null) | null; + export type EnergyReference2 = 'above_valence_band' | null; + export type Kind = + 'single_level' | 'gaussian' | 'uniform' | 'conduction_band_tail' | 'valence_band_tail'; + export type Normalization = 'integrated_total'; + export type SupportWidthMultiplier = (number | string | null) | null; + export type TotalDensityM3 = number | string; + export type WidthConvention = + | ( + | 'not_applicable' + | 'gaussian_standard_deviation' + | 'scaps_characteristic_energy' + | 'uniform_full_width' + | 'unresolved' + ) + | null; + export type WidthEv = (number | string | null) | null; + export type Reference1 = 'below_conduction_band' | 'above_valence_band'; + export type ValueEv = number | string; + export type Id6 = string; + export type Name1 = string | null; + export type NeutralReference = 'all_occupancies' | 'empty' | 'filled' | 'unresolved'; + export type Coordinate = 'normalized_layer_coordinate'; + export type DensityNormalization = 'layer_average_unity'; + export type Interpolation = 'piecewise_linear'; + export type DensityMultiplier = number | string; + export type PositionFraction = number | string; + export type Knots = SpatialKnotInput[]; + export type ChargeStatesE = number[]; + export type DegeneracyConvention = 'scaps_binomial' | 'unity' | 'explicit'; + export type CorrelationEnergiesEv = (number | string)[]; + export type EnergyReference3 = 'above_valence_band'; + export type FirstTransitionEvAboveVb = number | string; + export type Family = + | 'single_donor' + | 'single_acceptor' + | 'double_donor' + | 'double_acceptor' + | 'amphoteric' + | 'custom_multilevel'; + export type StateDegeneracies = (number | string)[]; + export type TransitionKinetics = KineticsInput[]; + export type Id7 = string; + export type Name2 = string; + export type TotalDensityM31 = number | string; + export type BulkDefects = (BulkDefectInput | MultivalentDefectInput)[]; + export type CenterEvAboveVb1 = number | string; + export type ChargeTransition1 = 'acceptor' | 'donor'; + export type Distribution1 = 'single_level' | 'gaussian'; + export type EnergySigmaEv = number | string; + export type SigmaNM21 = number | string; + export type SigmaPM21 = number | string; + export type ThermalVelocityMS = number | string; + export type TotalDensityM32 = number | string; + export type Cgi = number | string; + export type GgiBack = number | string; + export type GgiFront = number | string; + export type KkQuadratureOrder = number; + export type Model = 'minoura_2015'; + export type Slices = number; + export type DefectModel = ('effective_lifetime' | 'explicit_quasi_steady') | null; + export type DefectSchemaVersion = string | null; + export type Id8 = string; + export type Material = string | null; + export type DefectModel1 = 'explicit_metastable_frozen'; + export type AcceptorConversionStateIndex = number; + export type CaptureNM3S = number | string; + export type CapturePM3S = number | string; + export type ElectronCaptureActivationEv = number | string; + export type ElectronCapturePath = 'double_electron_capture' | 'electron_capture_plus_hole_emission'; + export type ElectronEmissionActivationEv = number | string; + export type HoleCaptureActivationEv = number | string; + export type HoleCapturePath = 'double_hole_capture' | 'hole_capture_plus_electron_emission'; + export type HoleEmissionActivationEv = number | string; + export type PhononFrequencyHz = number | string; + export type TransitionEnergyEvAboveVb = number | string; + export type DonorConversionStateIndex = number; + export type Id9 = string; + export type Name3 = string; + export type TotalDensityM33 = number | string; + export type MetastableDefects = MetastableDefectInput[]; + export type SchemaVersion = 'solarlab-metastable-bulk-defects-v1'; + export type ConfigurationFreezeStage = 'after_stationary_preparation_before_measurement'; + export type FreezeConfigurationDuringMeasurement = true; + export type IlluminationContinuationSteps = number; + export type MeasurementProtocolSha256 = string; + export type MeasurementTemperatureK = number | string; + export type ClampingFactor = number | string; + export type FinalUnclampedRefinement = true; + export type InitialDonorFractionGuess = number | string; + export type MaxIterations = number; + export type RelativeTolerance = number | string; + export type PreparationIlluminationSuns = number | string; + export type PreparationLimit = 'stationary_infinite_time'; + export type PreparationTemperatureK = number | string; + export type PreparationVoltageV = number | string; + export type SchemaVersion1 = 'solarlab-metastable-preparation-v1'; + export type VoltageContinuationSteps = number; + export type Name4 = string; + export type Parameterization = 'standard' | 'scaps'; + export type AStarN = number | string; + export type AStarP = number | string; + export type BRad = number | string; + export type BRadTGamma = number | string; + export type CN = number | string; + export type CP = number | string; + export type DIon = number | string; + export type DIonNeg = number | string; + export type EAIon = number | string; + export type Eg = number | string; + export type EgBack = (number | string | null) | null; + export type NA = number | string; + export type NABulk = (number | string | null) | null; + export type ND = number | string; + export type NDBulk = (number | string | null) | null; + export type Nc300 = (number | string | null) | null; + export type Nv300 = (number | string | null) | null; + export type P0 = number | string; + export type P0Neg = number | string; + export type PLim = number | string; + export type PLimNeg = number | string; + export type AcceptorBindingEnergyEv = (number | string | null) | null; + export type AcceptorDegeneracy = number | string; + export type Alpha1 = number | string; + export type BandGapNarrowingModel = 'off' | 'slotboom'; + export type BgnConductionBandFraction = number | string; + export type BgnLogShape = number | string; + export type BgnReferenceDensityM3 = number | string; + export type BgnReferenceEnergyEv = number | string; + export type CarrierStatistics = 'maxwell_boltzmann' | 'fermi_dirac'; + export type Chi = number | string; + export type ChiBack = (number | string | null) | null; + export type CtBetaN = number | string; + export type CtBetaP = number | string; + export type DonorBindingEnergyEv = (number | string | null) | null; + export type DonorDegeneracy = number | string; + export type DopantIonizationModel = 'fully_ionized' | 'discrete_level'; + export type DopingDecayLength = (number | string | null) | null; + export type DopingEdge = 'front' | 'back'; + export type DopingProfileShape = 'gaussian' | null; + export type EpsR = number | string; + export type GradingNMult = number; + export type GradingBowing = number | string; + export type GradingCharLength = (number | string | null) | null; + export type GradingDirection = 'front_to_back' | 'back_to_front'; + export type GradingProfile = 'linear' | 'parabolic' | 'exponential'; + export type Incoherent1 = boolean; + export type MuTGamma = number | string; + export type MuN = number | string; + export type MuP = number | string; + export type N1 = number | string; + export type NOptical = (number | string | null) | null; + export type Ni = number | string; + export type OpticalMaterial1 = string | null; + export type P1 = number | string; + export type PfGammaN = number | string; + export type PfGammaP = number | string; + export type TauN1 = number | string; + export type TauP1 = number | string; + export type TrapNTBulk = (number | string | null) | null; + export type TrapNTInterface = (number | string | null) | null; + export type TrapDecayLength = (number | string | null) | null; + export type TrapEdge = 'both' | 'left' | 'right'; + export type TrapProfileShape = 'exponential' | 'gaussian'; + export type VSatN = number | string; + export type VSatP = number | string; + export type VTh = number | string; + export type VarshniAlpha = number | string; + export type VarshniBeta = number | string; + export type Role = string; + export type ScapsDefectMetadata = ScapsDefectMetadataInput[]; + export type Thickness1 = number | string; + export type Layers = FullLayerInput[]; + export type InterfaceDefectCount = number | null; + export type Interfaces1 = + [number | number | string | string, number | number | string | string][] | null; + export type LayerIds1 = string[]; + export type SchemaVersion2 = 'solarlab.standard-loader-fields.v1'; + export type SourceId = string; + export type SourceSha256 = string; + export type Temperature = number | string | boolean | null; + export type Id10 = string; + export type Name5 = string; + export type Materials = NamedMaterialInput[]; + export type Name6 = string | null; + export type SchemaVersion3 = 'solarlab.device-preparation.v1'; + export type Phi = number | string; + export type T = number | string; + export type VBi = number | string; + export type BandGrading = boolean; + export type BuiltInPotentialMode = + ('legacy_manual' | 'semiconductor_work_function' | 'metal_work_function') | null; + export type ContactPhiBEv = number | string; + export type DosBandPotentials = boolean; + export type FlatBandContacts = boolean; + export type FlatBandMetalContacts = boolean; + export type GradedOptics = boolean; + export type HetRecombDespike = number | string; + export type InterfaceChargeClosure = 'off' | 'equilibrium_referenced'; + export type InterfaceChargeRebaselineAcknowledged = boolean; + export type InterfacePlaneClosure = boolean; + export type InterfacePlaneGeneration = boolean; + export type InterfacePlaneProjection = boolean; + export type InterfaceSharedOccupancy = boolean; + export type InterfaceTunneling = boolean; + export type InterfaceTwoSided = boolean; + export type IonStericDiffusionOnly = boolean; + export type IonStericSharedSite = boolean; + export type JvSolverPolicy = 'general' | 'cancellation_safe_qf_required'; + export type Mode = 'legacy' | 'fast' | 'full'; + export type PhiLeft = number | string; + export type TePhysicalNorm = boolean; + export type TunnelMassEff = number | string; + export type WorkFunctionLeftEv = (number | string | null) | null; + export type WorkFunctionRightEv = (number | string | null) | null; + export type RequestedElectricalGridAllocation = number; + export type VMax = (number | string | null) | null; + export type AcExcitation = null; + export type DurationS = (number | string | null) | null; + export type Kind1 = + 'finite_time' | 'residual_certified' | 'finite_time_with_certificate' | 'not_applicable'; + export type MaxCarrierAreaRateAM2 = (number | string | null) | null; + export type MaxFaceCurrentSpreadAM2 = (number | string | null) | null; + export type MaxIonAreaRateAM2 = (number | string | null) | null; + export type MaxIonicFaceCurrentAM2 = (number | string | null) | null; + export type DwellDurationS = (number | string | null) | null; + export type Experiment = 'jv_hysteresis'; + /** + * @minItems 1 + */ + export type IlluminationHistory = [JVIlluminationStepInput, ...JVIlluminationStepInput[]]; + export type Condition = 'dark' | 'baseline' | 'scaled' | 'monochromatic' | 'pulse'; + export type DurationS1 = (number | string | null) | null; + export type IntensitySuns = (number | string | null) | null; + export type Phase = string; + export type PhotonFluxM2S = (number | string | null) | null; + export type RelativeGenerationChange = (number | string | null) | null; + export type SourceReference = string | null; + export type ImplicitLegacyProtocol = boolean; + export type InitialStateSource = + | 'dark_equilibrium' + | 'dark_equilibrium_each_sample' + | 'finite_time_illuminated_preconditioned' + | 'finite_time_dc_preconditioned' + | 'qf_dc_candidate' + | 'user_supplied_state'; + export type PreBiasV = (number | string | null) | null; + export type Axis = 'voltage_V'; + export type Mode1 = 'linear' | 'log' | 'declared' | 'piecewise_linear'; + /** + * @minItems 1 + */ + export type Values = [number | number | string | string, ...(number | number | string | string)[]]; + export type Axis1 = 'voltage_V'; + export type Direction = + 'ascending' | 'descending' | 'ascending_then_descending' | 'declared_order' | 'forward_time'; + export type RateVS = number | string; + export type Start = number | string; + export type Stop = number | string; + export type SchemaVersion4 = 1; + export type SoakDurationS = (number | string | null) | null; + export type TemperatureK = number | string; + export type VocSearch = null; + export type IfaceStates = boolean; + export type Illuminated = boolean; + export type InterfaceBoundary = boolean; + export type InterfaceTransportModel = string; + export type SamplesPerBranch = number; + export type ProtocolMode = 'compatibility' | 'research_strict'; + export type Solver = 'transient' | 'steady_state' | 'quasi_fermi'; + export type VRate = number | string; + export type BranchDwellS = number | string; + export type DarkPrepS = number | string; + export type DarkSeedS = number | string; + export type SchemaVersion5 = 1; + export type StartVoltageV = number | string; + export type TurnaroundDark = boolean; + export type TurnaroundS = number | string; + export type UniformGenerationRateM3S = (number | string | null) | null; + export type AtolM3 = number | string; + export type Rtol = number | string; + export type MinNGrid = number | null; + export type Notes = string | null; + export type SourceFormat = 'standard' | 'scaps' | 'canonical'; + export type SourceSchemaVersion = string | number | null; + export type Spectrum = string | null; + export type Enabled = boolean; + export type EnergyQuadratureOrder = number; + export type MinimumFieldVM = number | string; + export type ReducedEffectiveMassRel = number | string; + export type BarrierHeightEv = number | string; + export type ElectronEffectiveMassRel = number | string; + export type Enabled1 = boolean; + export type EnergyQuadratureOrder1 = number; + export type HoleEffectiveMassRel = number | string; + export type Side1 = 'both' | 'left' | 'right'; + export type ElectronEffectiveMassRel1 = number | string; + export type Enabled2 = boolean; + export type HoleEffectiveMassRel1 = number | string; + export type RequiresExplicitOccupancy = true; + export type Carrier = 'electron' | 'hole' | 'both'; + export type ElectronEffectiveMassRel2 = number | string; + export type Enabled3 = boolean; + export type EnergyQuadratureOrder2 = number; + export type HoleEffectiveMassRel2 = number | string; + export type SchemaVersion6 = 'solarlab-wkb-tunnelling-channels-v1'; + export type BottomCellReference = string; + export type DeviceType = 'tandem_2T_monolithic'; + export type Id11 = string; + export type JunctionModel = 'ideal_ohmic'; + export type JunctionStack = OpticalLayerInput[]; + export type LightDirection = 'top_first'; + export type SchemaVersion7 = 'solarlab.tandem-preparation.v1'; + export type SourceSchemaVersion1 = 1; + export type TopCellReference = string; + + export interface TandemInput { + back_reflector?: OpticalLayerInput | null; + benchmark?: BenchmarkInput | null; + bottom_cell: DeviceInput; + bottom_cell_reference: BottomCellReference; + device_type: DeviceType; + id: Id11; + junction_model: JunctionModel; + junction_stack: JunctionStack; + light_direction: LightDirection; + schema_version: SchemaVersion7; + source_schema_version: SourceSchemaVersion1; + top_cell: DeviceInput; + top_cell_reference: TopCellReference; + } + /** + * This interface was referenced by `TandemInput`'s JSON-Schema + * via the `definition` "OpticalLayerInput". + */ + export interface OpticalLayerInput { + id: Id; + incoherent: Incoherent; + name: Name; + optical_material: OpticalMaterial; + thickness: Thickness; + } + /** + * This interface was referenced by `TandemInput`'s JSON-Schema + * via the `definition` "BenchmarkInput". + */ + export interface BenchmarkInput { + reference: Reference; + target_ff_fraction: TargetFfFraction; + target_jsc_A_m2: TargetJscAM2; + target_pce_fraction: TargetPceFraction; + target_voc_V: TargetVocV; + tolerance_fraction: ToleranceFraction; + } + /** + * This interface was referenced by `TandemInput`'s JSON-Schema + * via the `definition` "DeviceInput". + */ + export interface DeviceInput { + contacts?: Contacts; + description?: Description; + electrical_grid?: ElectricalGrid; + fixed_generation?: FixedGeneration; + grain_boundaries?: GrainBoundaries; + id: Id3; + interfaces?: Interfaces; + layers: Layers; + legacy_fields?: LegacyDeviceFieldsInput | null; + materials?: Materials; + name?: Name6; + schema_version: SchemaVersion3; + settings?: DeviceSettingsInput; + simulation_hints?: SimulationHintsInput | null; + source_format: SourceFormat; + source_schema_version?: SourceSchemaVersion; + spectrum?: Spectrum; + tunnelling_channels?: TunnellingInput | null; + } + /** + * This interface was referenced by `TandemInput`'s JSON-Schema + * via the `definition` "ContactInput". + */ + export interface ContactInput { + S_n?: SN; + S_p?: SP; + id: Id1; + layer: Layer; + side: Side; + } + /** + * This interface was referenced by `TandemInput`'s JSON-Schema + * via the `definition` "GridLayerInput". + */ + export interface GridLayerInput { + alpha: Alpha; + interval_weight: IntervalWeight; + layer: Layer1; + } + /** + * This interface was referenced by `TandemInput`'s JSON-Schema + * via the `definition` "GrainBoundaryInput". + */ + export interface GrainBoundaryInput { + id: Id2; + layer_ids: LayerIds; + source_layer_role?: SourceLayerRole; + tau_n: TauN; + tau_p: TauP; + width: Width; + x_position: XPosition; + } + /** + * This interface was referenced by `TandemInput`'s JSON-Schema + * via the `definition` "InterfaceInput". + */ + export interface InterfaceInput { + defect?: InterfaceDefectInput | null; + id: Id5; + left: Left; + right: Right; + v_n?: VN; + v_p?: VP; + } + /** + * This interface was referenced by `TandemInput`'s JSON-Schema + * via the `definition` "InterfaceDefectInput". + */ + export interface InterfaceDefectInput { + calibration_factor: CalibrationFactor; + energy_reference: EnergyReference; + id: Id4; + iface_state_calibration_factor: IfaceStateCalibrationFactor; + kinetics: KineticsInput; + partner_metadata?: ScapsDefectMetadataInput | null; + total_density_m2: TotalDensityM2; + trap_depth_eV: TrapDepthEv1; + } + /** + * This interface was referenced by `TandemInput`'s JSON-Schema + * via the `definition` "KineticsInput". + */ + export interface KineticsInput { + sigma_n_m2: SigmaNM2; + sigma_p_m2: SigmaPM2; + thermal_velocity_n_m_s: ThermalVelocityNMS; + thermal_velocity_p_m_s: ThermalVelocityPMS; + } + /** + * Preserved partner metadata; a Gaussian note is not a qualified closure. + * + * This interface was referenced by `TandemInput`'s JSON-Schema + * via the `definition` "ScapsDefectMetadataInput". + */ + export interface ScapsDefectMetadataInput { + E_char_eV?: ECharEv; + N_peak_m3?: NPeakM3; + defect_id: DefectId; + distribution: Distribution; + energy_reference: EnergyReference1; + trap_depth_eV: TrapDepthEv; + } + /** + * This interface was referenced by `TandemInput`'s JSON-Schema + * via the `definition` "FullLayerInput". + */ + export interface FullLayerInput { + bulk_defects?: BulkDefects; + bulk_trap_distribution?: LegacyBulkTrapInput | null; + cigs_graded_optics?: CigsOpticsInput | null; + defect_model?: DefectModel; + defect_schema_version?: DefectSchemaVersion; + id: Id8; + material?: Material; + metastable_document?: MetastableDocumentInput | null; + metastable_preparation?: MetastablePreparationInput | null; + name: Name4; + parameterization?: Parameterization; + parameters?: FullParameterInput; + role: Role; + scaps_defect_metadata?: ScapsDefectMetadata; + thickness: Thickness1; + } + /** + * This interface was referenced by `TandemInput`'s JSON-Schema + * via the `definition` "BulkDefectInput". + */ + export interface BulkDefectInput { + charge_transition: ChargeTransition; + degeneracy: Degeneracy; + distribution: DistributionInput; + energy_level?: EnergyLevelInput | null; + id: Id6; + kinetics: KineticsInput; + name?: Name1; + neutral_reference: NeutralReference; + spatial_profile?: SpatialProfileInput | null; + } + /** + * This interface was referenced by `TandemInput`'s JSON-Schema + * via the `definition` "DistributionInput". + */ + export interface DistributionInput { + center_eV_above_vb?: CenterEvAboveVb; + energy_reference?: EnergyReference2; + kind: Kind; + normalization: Normalization; + support_width_multiplier?: SupportWidthMultiplier; + total_density_m3: TotalDensityM3; + width_convention?: WidthConvention; + width_eV?: WidthEv; + } + /** + * This interface was referenced by `TandemInput`'s JSON-Schema + * via the `definition` "EnergyLevelInput". + */ + export interface EnergyLevelInput { + reference: Reference1; + value_eV: ValueEv; + } + /** + * This interface was referenced by `TandemInput`'s JSON-Schema + * via the `definition` "SpatialProfileInput". + */ + export interface SpatialProfileInput { + coordinate: Coordinate; + density_normalization: DensityNormalization; + interpolation: Interpolation; + knots: Knots; + } + /** + * This interface was referenced by `TandemInput`'s JSON-Schema + * via the `definition` "SpatialKnotInput". + */ + export interface SpatialKnotInput { + density_multiplier: DensityMultiplier; + position_fraction: PositionFraction; + } + /** + * This interface was referenced by `TandemInput`'s JSON-Schema + * via the `definition` "MultivalentDefectInput". + */ + export interface MultivalentDefectInput { + configuration: MultivalentConfigurationInput; + id: Id7; + name: Name2; + total_density_m3: TotalDensityM31; + } + /** + * This interface was referenced by `TandemInput`'s JSON-Schema + * via the `definition` "MultivalentConfigurationInput". + */ + export interface MultivalentConfigurationInput { + charge_states_e: ChargeStatesE; + degeneracy_convention: DegeneracyConvention; + energy_levels: MultivalentEnergyInput; + family: Family; + state_degeneracies: StateDegeneracies; + transition_kinetics: TransitionKinetics; + } + /** + * This interface was referenced by `TandemInput`'s JSON-Schema + * via the `definition` "MultivalentEnergyInput". + */ + export interface MultivalentEnergyInput { + correlation_energies_eV: CorrelationEnergiesEv; + energy_reference: EnergyReference3; + first_transition_eV_above_vb: FirstTransitionEvAboveVb; + } + /** + * This interface was referenced by `TandemInput`'s JSON-Schema + * via the `definition` "LegacyBulkTrapInput". + */ + export interface LegacyBulkTrapInput { + center_eV_above_vb: CenterEvAboveVb1; + charge_transition: ChargeTransition1; + distribution: Distribution1; + energy_sigma_eV?: EnergySigmaEv; + sigma_n_m2: SigmaNM21; + sigma_p_m2: SigmaPM21; + thermal_velocity_m_s: ThermalVelocityMS; + total_density_m3: TotalDensityM32; + } + /** + * GGI endpoints follow the layer's electrical grading coordinate. + * + * Absent model, slice and quadrature values are supplied by the injected catalog, + * compiled from the existing model declaration. None is never a numeric default. + * + * This interface was referenced by `TandemInput`'s JSON-Schema + * via the `definition` "CigsOpticsInput". + */ + export interface CigsOpticsInput { + cgi: Cgi; + ggi_back: GgiBack; + ggi_front: GgiFront; + kk_quadrature_order?: KkQuadratureOrder; + model?: Model; + slices?: Slices; + } + /** + * This interface was referenced by `TandemInput`'s JSON-Schema + * via the `definition` "MetastableDocumentInput". + */ + export interface MetastableDocumentInput { + defect_model: DefectModel1; + metastable_defects: MetastableDefects; + schema_version: SchemaVersion; + } + /** + * This interface was referenced by `TandemInput`'s JSON-Schema + * via the `definition` "MetastableDefectInput". + */ + export interface MetastableDefectInput { + acceptor_configuration: MultivalentConfigurationInput; + acceptor_conversion_state_index: AcceptorConversionStateIndex; + conversion_kinetics: MetastableConversionInput; + donor_configuration: MultivalentConfigurationInput; + donor_conversion_state_index: DonorConversionStateIndex; + id: Id9; + name: Name3; + total_density_m3: TotalDensityM33; + } + /** + * This interface was referenced by `TandemInput`'s JSON-Schema + * via the `definition` "MetastableConversionInput". + */ + export interface MetastableConversionInput { + capture_n_m3_s: CaptureNM3S; + capture_p_m3_s: CapturePM3S; + electron_capture_activation_eV: ElectronCaptureActivationEv; + electron_capture_path: ElectronCapturePath; + electron_emission_activation_eV: ElectronEmissionActivationEv; + hole_capture_activation_eV: HoleCaptureActivationEv; + hole_capture_path: HoleCapturePath; + hole_emission_activation_eV: HoleEmissionActivationEv; + phonon_frequency_Hz: PhononFrequencyHz; + transition_energy_eV_above_vb: TransitionEnergyEvAboveVb; + } + /** + * This interface was referenced by `TandemInput`'s JSON-Schema + * via the `definition` "MetastablePreparationInput". + */ + export interface MetastablePreparationInput { + configuration_freeze_stage: ConfigurationFreezeStage; + freeze_configuration_during_measurement: FreezeConfigurationDuringMeasurement; + illumination_continuation_steps: IlluminationContinuationSteps; + measurement_protocol_sha256: MeasurementProtocolSha256; + measurement_temperature_K: MeasurementTemperatureK; + numerics: MetastableNumericsInput; + preparation_illumination_suns: PreparationIlluminationSuns; + preparation_limit: PreparationLimit; + preparation_temperature_K: PreparationTemperatureK; + preparation_voltage_V: PreparationVoltageV; + schema_version: SchemaVersion1; + voltage_continuation_steps: VoltageContinuationSteps; + } + /** + * This interface was referenced by `TandemInput`'s JSON-Schema + * via the `definition` "MetastableNumericsInput". + */ + export interface MetastableNumericsInput { + clamping_factor: ClampingFactor; + final_unclamped_refinement: FinalUnclampedRefinement; + initial_donor_fraction_guess: InitialDonorFractionGuess; + max_iterations: MaxIterations; + relative_tolerance: RelativeTolerance; + } + /** + * This interface was referenced by `TandemInput`'s JSON-Schema + * via the `definition` "FullParameterInput". + */ + export interface FullParameterInput { + A_star_n?: AStarN; + A_star_p?: AStarP; + B_rad?: BRad; + B_rad_T_gamma?: BRadTGamma; + C_n?: CN; + C_p?: CP; + D_ion?: DIon; + D_ion_neg?: DIonNeg; + E_a_ion?: EAIon; + Eg?: Eg; + Eg_back?: EgBack; + N_A?: NA; + N_A_bulk?: NABulk; + N_D?: ND; + N_D_bulk?: NDBulk; + Nc300?: Nc300; + Nv300?: Nv300; + P0?: P0; + P0_neg?: P0Neg; + P_lim?: PLim; + P_lim_neg?: PLimNeg; + acceptor_binding_energy_eV?: AcceptorBindingEnergyEv; + acceptor_degeneracy?: AcceptorDegeneracy; + alpha?: Alpha1; + band_gap_narrowing_model?: BandGapNarrowingModel; + bgn_conduction_band_fraction?: BgnConductionBandFraction; + bgn_log_shape?: BgnLogShape; + bgn_reference_density_m3?: BgnReferenceDensityM3; + bgn_reference_energy_eV?: BgnReferenceEnergyEv; + carrier_statistics?: CarrierStatistics; + chi?: Chi; + chi_back?: ChiBack; + ct_beta_n?: CtBetaN; + ct_beta_p?: CtBetaP; + donor_binding_energy_eV?: DonorBindingEnergyEv; + donor_degeneracy?: DonorDegeneracy; + dopant_ionization_model?: DopantIonizationModel; + doping_decay_length?: DopingDecayLength; + doping_edge?: DopingEdge; + doping_profile_shape?: DopingProfileShape; + eps_r?: EpsR; + grading_N_mult?: GradingNMult; + grading_bowing?: GradingBowing; + grading_char_length?: GradingCharLength; + grading_direction?: GradingDirection; + grading_profile?: GradingProfile; + incoherent?: Incoherent1; + mu_T_gamma?: MuTGamma; + mu_n?: MuN; + mu_p?: MuP; + n1?: N1; + n_optical?: NOptical; + ni?: Ni; + optical_material?: OpticalMaterial1; + p1?: P1; + pf_gamma_n?: PfGammaN; + pf_gamma_p?: PfGammaP; + tau_n?: TauN1; + tau_p?: TauP1; + trap_N_t_bulk?: TrapNTBulk; + trap_N_t_interface?: TrapNTInterface; + trap_decay_length?: TrapDecayLength; + trap_edge?: TrapEdge; + trap_profile_shape?: TrapProfileShape; + v_sat_n?: VSatN; + v_sat_p?: VSatP; + v_th?: VTh; + varshni_alpha?: VarshniAlpha; + varshni_beta?: VarshniBeta; + } + /** + * This interface was referenced by `TandemInput`'s JSON-Schema + * via the `definition` "LegacyDeviceFieldsInput". + */ + export interface LegacyDeviceFieldsInput { + interface_defect_count?: InterfaceDefectCount; + interfaces?: Interfaces1; + layer_ids: LayerIds1; + schema_version: SchemaVersion2; + source_id: SourceId; + source_sha256: SourceSha256; + temperature?: Temperature; + } + /** + * This interface was referenced by `TandemInput`'s JSON-Schema + * via the `definition` "NamedMaterialInput". + */ + export interface NamedMaterialInput { + cigs_graded_optics?: CigsOpticsInput | null; + id: Id10; + name: Name5; + parameters: FullParameterInput; + } + /** + * This interface was referenced by `TandemInput`'s JSON-Schema + * via the `definition` "DeviceSettingsInput". + */ + export interface DeviceSettingsInput { + Phi?: Phi; + T?: T; + V_bi?: VBi; + band_grading?: BandGrading; + built_in_potential_mode?: BuiltInPotentialMode; + contact_phi_B_eV?: ContactPhiBEv; + dos_band_potentials?: DosBandPotentials; + flat_band_contacts?: FlatBandContacts; + flat_band_metal_contacts?: FlatBandMetalContacts; + graded_optics?: GradedOptics; + het_recomb_despike?: HetRecombDespike; + interface_charge_closure?: InterfaceChargeClosure; + interface_charge_rebaseline_acknowledged?: InterfaceChargeRebaselineAcknowledged; + interface_plane_closure?: InterfacePlaneClosure; + interface_plane_generation?: InterfacePlaneGeneration; + interface_plane_projection?: InterfacePlaneProjection; + interface_shared_occupancy?: InterfaceSharedOccupancy; + interface_tunneling?: InterfaceTunneling; + interface_two_sided?: InterfaceTwoSided; + ion_steric_diffusion_only?: IonStericDiffusionOnly; + ion_steric_shared_site?: IonStericSharedSite; + jv_solver_policy?: JvSolverPolicy; + mode?: Mode; + phi_left?: PhiLeft; + te_physical_norm?: TePhysicalNorm; + tunnel_mass_eff?: TunnelMassEff; + work_function_left_eV?: WorkFunctionLeftEv; + work_function_right_eV?: WorkFunctionRightEv; + } + /** + * This interface was referenced by `TandemInput`'s JSON-Schema + * via the `definition` "SimulationHintsInput". + */ + export interface SimulationHintsInput { + jv_sweep?: JVSweepHintsInput | null; + min_N_grid?: MinNGrid; + notes?: Notes; + } + /** + * Supplied advisory fields, without an endpoint or implied execution. + * + * Unknown fields reject rather than disappear. A caller must explicitly + * compose these fields with JVInput to request protocol preparation. + * + * This interface was referenced by `TandemInput`'s JSON-Schema + * via the `definition` "JVSweepHintsInput". + */ + export interface JVSweepHintsInput { + N_grid?: RequestedElectricalGridAllocation; + V_max?: VMax; + experiment_protocol?: JVProtocolInput | null; + iface_states?: IfaceStates; + illuminated?: Illuminated; + interface_boundary?: InterfaceBoundary; + interface_transport_model?: InterfaceTransportModel; + n_points?: SamplesPerBranch; + protocol_mode?: ProtocolMode; + solver?: Solver; + v_rate?: VRate; + waveform?: JVWaveformInput | null; + waveform_controls?: JVWaveformControlsInput | null; + } + /** + * The existing ExperimentProtocol fields for its J-V branch only. + * + * This interface was referenced by `TandemInput`'s JSON-Schema + * via the `definition` "JVProtocolInput". + */ + export interface JVProtocolInput { + ac_excitation: AcExcitation; + dc_settle: JVDCSettleInput; + dwell_duration_s: DwellDurationS; + experiment: Experiment; + illumination_history: IlluminationHistory; + implicit_legacy_protocol: ImplicitLegacyProtocol; + initial_state_source: InitialStateSource; + pre_bias_V: PreBiasV; + sampling: JVSamplingInput; + scan: JVScanInput; + schema_version: SchemaVersion4; + soak_duration_s: SoakDurationS; + temperature_K: TemperatureK; + voc_search: VocSearch; + } + /** + * This interface was referenced by `TandemInput`'s JSON-Schema + * via the `definition` "JVDCSettleInput". + */ + export interface JVDCSettleInput { + duration_s: DurationS; + kind: Kind1; + max_carrier_area_rate_A_m2: MaxCarrierAreaRateAM2; + max_face_current_spread_A_m2: MaxFaceCurrentSpreadAM2; + max_ion_area_rate_A_m2: MaxIonAreaRateAM2; + max_ionic_face_current_A_m2: MaxIonicFaceCurrentAM2; + } + /** + * This interface was referenced by `TandemInput`'s JSON-Schema + * via the `definition` "JVIlluminationStepInput". + */ + export interface JVIlluminationStepInput { + condition: Condition; + duration_s: DurationS1; + intensity_suns: IntensitySuns; + phase: Phase; + photon_flux_m2_s: PhotonFluxM2S; + relative_generation_change: RelativeGenerationChange; + source_reference: SourceReference; + } + /** + * This interface was referenced by `TandemInput`'s JSON-Schema + * via the `definition` "JVSamplingInput". + */ + export interface JVSamplingInput { + axis: Axis; + mode: Mode1; + values: Values; + } + /** + * This interface was referenced by `TandemInput`'s JSON-Schema + * via the `definition` "JVScanInput". + */ + export interface JVScanInput { + axis: Axis1; + direction: Direction; + rate_V_s: RateVS; + start: Start; + stop: Stop; + } + /** + * All eight fields of JVWaveform.from_dict are explicit, including null. + * + * This interface was referenced by `TandemInput`'s JSON-Schema + * via the `definition` "JVWaveformInput". + */ + export interface JVWaveformInput { + branch_dwell_s: BranchDwellS; + dark_prep_s: DarkPrepS; + dark_seed_s: DarkSeedS; + schema_version: SchemaVersion5; + start_voltage_V: StartVoltageV; + turnaround_dark: TurnaroundDark; + turnaround_s: TurnaroundS; + uniform_generation_rate_m3_s: UniformGenerationRateM3S; + } + /** + * This interface was referenced by `TandemInput`'s JSON-Schema + * via the `definition` "JVWaveformControlsInput". + */ + export interface JVWaveformControlsInput { + atol_m3: AtolM3; + rtol: Rtol; + } + /** + * This interface was referenced by `TandemInput`'s JSON-Schema + * via the `definition` "TunnellingInput". + */ + export interface TunnellingInput { + band_to_band?: BandToBandInput | null; + contact?: ContactTunnellingInput | null; + interface_defect_assisted?: DefectAssistedInput | null; + intraband?: IntrabandInput | null; + schema_version?: SchemaVersion6; + } + /** + * This interface was referenced by `TandemInput`'s JSON-Schema + * via the `definition` "BandToBandInput". + */ + export interface BandToBandInput { + enabled?: Enabled; + energy_quadrature_order?: EnergyQuadratureOrder; + minimum_field_V_m?: MinimumFieldVM; + reduced_effective_mass_rel?: ReducedEffectiveMassRel; + } + /** + * This interface was referenced by `TandemInput`'s JSON-Schema + * via the `definition` "ContactTunnellingInput". + */ + export interface ContactTunnellingInput { + barrier_height_eV?: BarrierHeightEv; + electron_effective_mass_rel?: ElectronEffectiveMassRel; + enabled?: Enabled1; + energy_quadrature_order?: EnergyQuadratureOrder1; + hole_effective_mass_rel?: HoleEffectiveMassRel; + side?: Side1; + } + /** + * This interface was referenced by `TandemInput`'s JSON-Schema + * via the `definition` "DefectAssistedInput". + */ + export interface DefectAssistedInput { + electron_effective_mass_rel?: ElectronEffectiveMassRel1; + enabled?: Enabled2; + hole_effective_mass_rel?: HoleEffectiveMassRel1; + requires_explicit_occupancy?: RequiresExplicitOccupancy; + } + /** + * This interface was referenced by `TandemInput`'s JSON-Schema + * via the `definition` "IntrabandInput". + */ + export interface IntrabandInput { + carrier?: Carrier; + electron_effective_mass_rel?: ElectronEffectiveMassRel2; + enabled?: Enabled3; + energy_quadrature_order?: EnergyQuadratureOrder2; + hole_effective_mass_rel?: HoleEffectiveMassRel2; + } +} +export type TandemInput = TandemInputDefinitions.TandemInput; + +// Source DTO: solarlab.device.tunnelling:TunnellingInput +// Schema SHA-256 (JSON.stringify): 9d40623799f6ba72e3315ed129d9578011b2adc467c840f7f75460dac48a06d7 +export declare namespace TunnellingInputDefinitions { + export type Enabled = boolean; + export type EnergyQuadratureOrder = number; + export type MinimumFieldVM = number | string; + export type ReducedEffectiveMassRel = number | string; + export type BarrierHeightEv = number | string; + export type ElectronEffectiveMassRel = number | string; + export type Enabled1 = boolean; + export type EnergyQuadratureOrder1 = number; + export type HoleEffectiveMassRel = number | string; + export type Side = 'both' | 'left' | 'right'; + export type ElectronEffectiveMassRel1 = number | string; + export type Enabled2 = boolean; + export type HoleEffectiveMassRel1 = number | string; + export type RequiresExplicitOccupancy = true; + export type Carrier = 'electron' | 'hole' | 'both'; + export type ElectronEffectiveMassRel2 = number | string; + export type Enabled3 = boolean; + export type EnergyQuadratureOrder2 = number; + export type HoleEffectiveMassRel2 = number | string; + export type SchemaVersion = 'solarlab-wkb-tunnelling-channels-v1'; + + export interface TunnellingInput { + band_to_band?: BandToBandInput | null; + contact?: ContactTunnellingInput | null; + interface_defect_assisted?: DefectAssistedInput | null; + intraband?: IntrabandInput | null; + schema_version?: SchemaVersion; + } + /** + * This interface was referenced by `TunnellingInput`'s JSON-Schema + * via the `definition` "BandToBandInput". + */ + export interface BandToBandInput { + enabled?: Enabled; + energy_quadrature_order?: EnergyQuadratureOrder; + minimum_field_V_m?: MinimumFieldVM; + reduced_effective_mass_rel?: ReducedEffectiveMassRel; + } + /** + * This interface was referenced by `TunnellingInput`'s JSON-Schema + * via the `definition` "ContactTunnellingInput". + */ + export interface ContactTunnellingInput { + barrier_height_eV?: BarrierHeightEv; + electron_effective_mass_rel?: ElectronEffectiveMassRel; + enabled?: Enabled1; + energy_quadrature_order?: EnergyQuadratureOrder1; + hole_effective_mass_rel?: HoleEffectiveMassRel; + side?: Side; + } + /** + * This interface was referenced by `TunnellingInput`'s JSON-Schema + * via the `definition` "DefectAssistedInput". + */ + export interface DefectAssistedInput { + electron_effective_mass_rel?: ElectronEffectiveMassRel1; + enabled?: Enabled2; + hole_effective_mass_rel?: HoleEffectiveMassRel1; + requires_explicit_occupancy?: RequiresExplicitOccupancy; + } + /** + * This interface was referenced by `TunnellingInput`'s JSON-Schema + * via the `definition` "IntrabandInput". + */ + export interface IntrabandInput { + carrier?: Carrier; + electron_effective_mass_rel?: ElectronEffectiveMassRel2; + enabled?: Enabled3; + energy_quadrature_order?: EnergyQuadratureOrder2; + hole_effective_mass_rel?: HoleEffectiveMassRel2; + } +} +export type TunnellingInput = TunnellingInputDefinitions.TunnellingInput; diff --git a/web/src/generated/configuration-schema.test.ts b/web/src/generated/configuration-schema.test.ts new file mode 100644 index 00000000..867970ca --- /dev/null +++ b/web/src/generated/configuration-schema.test.ts @@ -0,0 +1,64 @@ +import { describe, expect, it } from 'vitest'; +import { configurationSchema } from './configuration-schema'; +import type { ConfigurationSchemaMetadata } from './configuration-schema'; + +function checkReferences(document: Record): void { + function resolve(reference: string): void { + expect(reference.startsWith('#/')).toBe(true); + let target: unknown = document; + for (const part of reference.slice(2).split('/')) { + target = (target as Record)[part.replace(/~1/g, '/').replace(/~0/g, '~')]; + } + expect(target).toBeTypeOf('object'); + expect(target).not.toBeNull(); + } + function walk(value: unknown): void { + if (Array.isArray(value)) { + value.forEach(walk); + } else if (value !== null && typeof value === 'object') { + const node = value as Record; + if (typeof node.$ref === 'string') resolve(node.$ref); + const discriminator = node.discriminator as { mapping?: Record } | undefined; + Object.values(discriminator?.mapping ?? {}).forEach(resolve); + Object.values(node).forEach(walk); + } + } + walk(document); +} + +describe('prepared configuration schema data', () => { + it('keeps each complete DTO and scalar schema in its own reference scope', () => { + Object.values(configurationSchema.dto_schemas).forEach(entry => checkReferences(entry.schema)); + Object.values(configurationSchema.parameter_schemas).forEach(checkReferences); + const tandem = configurationSchema.dto_schemas.TandemInput.schema; + expect(tandem.properties.top_cell.$ref).toBe('#/$defs/DeviceInput'); + expect(tandem.$defs.DeviceInput.properties.layers.items.$ref).toBe('#/$defs/FullLayerInput'); + }); + + it('preserves editable presence, units, unions and source constraints', () => { + const fields = configurationSchema.dto_schemas.FullParameterInput.schema.properties; + expect(fields.mu_n).not.toHaveProperty('default'); + expect(fields.mu_n.unit).toBe('m^2/(V s)'); + expect(fields.mu_n.anyOf).not.toContainEqual({ type: 'null' }); + expect(fields.Nc300.anyOf).toContainEqual({ type: 'null' }); + expect(configurationSchema.dto_schemas.DeviceInput.schema.$defs.FullLayerInput.properties.bulk_defects.items.anyOf).toHaveLength(2); + expect(configurationSchema.dto_schemas.CigsOpticsInput.schema.properties.slices.anyOf) + .toContainEqual({ type: 'integer', minimum: 1, maximum: 512 }); + }); + + it('exposes a metadata type without claiming a production or wire contract', () => { + const metadata: ConfigurationSchemaMetadata = configurationSchema; + expect(Object.keys(metadata.dto_schemas)).toHaveLength(20); + expect(metadata.dto_schemas.SweepInput.representation).toBe('editable_input'); + expect(metadata.dto_schemas.JVExperimentInput.representation).toBe('editable_input'); + expect(metadata.dto_schemas.JVExperimentInput.schema.properties).not.toHaveProperty('can_execute'); + expect(metadata.dto_schemas.SpatialExperimentInput.representation).toBe('editable_input'); + expect(metadata.dto_schemas.SpatialExperimentInput.schema.properties.schema_version.const) + .toBe('solarlab.experiment-preparation.v1'); + expect(metadata.dto_schemas.SpatialExperimentInput.schema.properties).not.toHaveProperty('can_execute'); + expect(metadata.status).toBe('prepared_pending_dependencies'); + expect(metadata.backend_semantic_validation_required).toBe(true); + expect(metadata.structured_parameter_schemas).toEqual({}); + expect(metadata.pending).toContain('input_resolved_result_wire_types'); + }); +}); diff --git a/web/src/generated/configuration-schema.ts b/web/src/generated/configuration-schema.ts new file mode 100644 index 00000000..60d7fac9 --- /dev/null +++ b/web/src/generated/configuration-schema.ts @@ -0,0 +1,44608 @@ +// Generated by scripts/generate_configuration_schema.py; do not edit. +// DATA only: this typeof is not an Input/Resolved/Result wire type. +// Each schema owns its $defs/$ref scope; backend validators are authoritative. +// StructuredSchema metadata is caller-supplied through the Python API. +export const configurationSchema = { + "backend_semantic_validation_required": true, + "dto_schemas": { + "BulkDefectInput": { + "python_type": "solarlab.device.inputs:BulkDefectInput", + "representation": "editable_input", + "schema": { + "$defs": { + "DistributionInput": { + "additionalProperties": false, + "properties": { + "center_eV_above_vb": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": false, + "title": "Center Ev Above Vb", + "unit": "eV" + }, + "energy_reference": { + "anyOf": [ + { + "const": "above_valence_band", + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Energy Reference" + }, + "kind": { + "enum": [ + "single_level", + "gaussian", + "uniform", + "conduction_band_tail", + "valence_band_tail" + ], + "title": "Kind", + "type": "string" + }, + "normalization": { + "const": "integrated_total", + "title": "Normalization", + "type": "string" + }, + "support_width_multiplier": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": true, + "title": "Support Width Multiplier", + "unit": "1" + }, + "total_density_m3": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Total Density M3", + "unit": "m^-3" + }, + "width_convention": { + "anyOf": [ + { + "enum": [ + "not_applicable", + "gaussian_standard_deviation", + "scaps_characteristic_energy", + "uniform_full_width", + "unresolved" + ], + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Width Convention" + }, + "width_eV": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": true, + "title": "Width Ev", + "unit": "eV" + } + }, + "required": [ + "kind", + "normalization", + "total_density_m3" + ], + "title": "DistributionInput", + "type": "object" + }, + "EnergyLevelInput": { + "additionalProperties": false, + "properties": { + "reference": { + "enum": [ + "below_conduction_band", + "above_valence_band" + ], + "title": "Reference", + "type": "string" + }, + "value_eV": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Value Ev", + "unit": "eV" + } + }, + "required": [ + "reference", + "value_eV" + ], + "title": "EnergyLevelInput", + "type": "object" + }, + "KineticsInput": { + "additionalProperties": false, + "properties": { + "sigma_n_m2": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Sigma N M2", + "unit": "m^2" + }, + "sigma_p_m2": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Sigma P M2", + "unit": "m^2" + }, + "thermal_velocity_n_m_s": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Thermal Velocity N M S", + "unit": "m/s" + }, + "thermal_velocity_p_m_s": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Thermal Velocity P M S", + "unit": "m/s" + } + }, + "required": [ + "sigma_n_m2", + "sigma_p_m2", + "thermal_velocity_n_m_s", + "thermal_velocity_p_m_s" + ], + "title": "KineticsInput", + "type": "object" + }, + "SpatialKnotInput": { + "additionalProperties": false, + "properties": { + "density_multiplier": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Density Multiplier", + "unit": "1" + }, + "position_fraction": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Position Fraction", + "unit": "1" + } + }, + "required": [ + "position_fraction", + "density_multiplier" + ], + "title": "SpatialKnotInput", + "type": "object" + }, + "SpatialProfileInput": { + "additionalProperties": false, + "properties": { + "coordinate": { + "const": "normalized_layer_coordinate", + "title": "Coordinate", + "type": "string" + }, + "density_normalization": { + "const": "layer_average_unity", + "title": "Density Normalization", + "type": "string" + }, + "interpolation": { + "const": "piecewise_linear", + "title": "Interpolation", + "type": "string" + }, + "knots": { + "items": { + "$ref": "#/$defs/SpatialKnotInput" + }, + "title": "Knots", + "type": "array" + } + }, + "required": [ + "coordinate", + "interpolation", + "density_normalization", + "knots" + ], + "title": "SpatialProfileInput", + "type": "object" + } + }, + "additionalProperties": false, + "properties": { + "charge_transition": { + "enum": [ + "neutral", + "acceptor", + "donor", + "unresolved" + ], + "title": "Charge Transition", + "type": "string" + }, + "degeneracy": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Degeneracy", + "unit": "1" + }, + "distribution": { + "$ref": "#/$defs/DistributionInput" + }, + "energy_level": { + "anyOf": [ + { + "$ref": "#/$defs/EnergyLevelInput" + }, + { + "type": "null" + } + ] + }, + "id": { + "pattern": "^[A-Za-z_][A-Za-z0-9_.:-]*$", + "title": "Id", + "type": "string" + }, + "kinetics": { + "$ref": "#/$defs/KineticsInput" + }, + "name": { + "anyOf": [ + { + "minLength": 1, + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Name" + }, + "neutral_reference": { + "enum": [ + "all_occupancies", + "empty", + "filled", + "unresolved" + ], + "title": "Neutral Reference", + "type": "string" + }, + "spatial_profile": { + "anyOf": [ + { + "$ref": "#/$defs/SpatialProfileInput" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "id", + "distribution", + "charge_transition", + "neutral_reference", + "kinetics", + "degeneracy" + ], + "title": "BulkDefectInput", + "type": "object" + } + }, + "CigsOpticsInput": { + "python_type": "solarlab.materials.optics:CigsOpticsInput", + "representation": "editable_input", + "schema": { + "additionalProperties": false, + "description": "GGI endpoints follow the layer's electrical grading coordinate.\n\nAbsent model, slice and quadrature values are supplied by the injected catalog,\ncompiled from the existing model declaration. None is never a numeric default.", + "properties": { + "cgi": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Cgi", + "unit": "1" + }, + "ggi_back": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Ggi Back", + "unit": "1" + }, + "ggi_front": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Ggi Front", + "unit": "1" + }, + "kk_quadrature_order": { + "anyOf": [ + { + "maximum": 2048, + "minimum": 48, + "type": "integer" + } + ], + "title": "Kk Quadrature Order" + }, + "model": { + "anyOf": [ + { + "const": "minoura_2015", + "type": "string" + } + ], + "title": "Model" + }, + "slices": { + "anyOf": [ + { + "maximum": 512, + "minimum": 1, + "type": "integer" + } + ], + "title": "Slices" + } + }, + "required": [ + "ggi_front", + "ggi_back", + "cgi" + ], + "title": "CigsOpticsInput", + "type": "object" + } + }, + "ContactInput": { + "python_type": "solarlab.device.inputs:ContactInput", + "representation": "editable_input", + "schema": { + "additionalProperties": false, + "properties": { + "S_n": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": false, + "title": "S N", + "unit": "m/s" + }, + "S_p": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": false, + "title": "S P", + "unit": "m/s" + }, + "id": { + "pattern": "^[A-Za-z_][A-Za-z0-9_.:-]*$", + "title": "Id", + "type": "string" + }, + "layer": { + "pattern": "^[A-Za-z_][A-Za-z0-9_.:-]*$", + "title": "Layer", + "type": "string" + }, + "side": { + "enum": [ + "left", + "right" + ], + "title": "Side", + "type": "string" + } + }, + "required": [ + "id", + "side", + "layer" + ], + "title": "ContactInput", + "type": "object" + } + }, + "DeviceInput": { + "python_type": "solarlab.device.inputs:DeviceInput", + "representation": "editable_input", + "schema": { + "$defs": { + "BandToBandInput": { + "additionalProperties": false, + "properties": { + "enabled": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Enabled" + }, + "energy_quadrature_order": { + "anyOf": [ + { + "minimum": 4, + "type": "integer" + } + ], + "title": "Energy Quadrature Order" + }, + "minimum_field_V_m": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Minimum Field V M", + "unit": "V/m" + }, + "reduced_effective_mass_rel": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Reduced Effective Mass Rel", + "unit": "1" + } + }, + "title": "BandToBandInput", + "type": "object" + }, + "BulkDefectInput": { + "additionalProperties": false, + "properties": { + "charge_transition": { + "enum": [ + "neutral", + "acceptor", + "donor", + "unresolved" + ], + "title": "Charge Transition", + "type": "string" + }, + "degeneracy": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Degeneracy", + "unit": "1" + }, + "distribution": { + "$ref": "#/$defs/DistributionInput" + }, + "energy_level": { + "anyOf": [ + { + "$ref": "#/$defs/EnergyLevelInput" + }, + { + "type": "null" + } + ] + }, + "id": { + "pattern": "^[A-Za-z_][A-Za-z0-9_.:-]*$", + "title": "Id", + "type": "string" + }, + "kinetics": { + "$ref": "#/$defs/KineticsInput" + }, + "name": { + "anyOf": [ + { + "minLength": 1, + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Name" + }, + "neutral_reference": { + "enum": [ + "all_occupancies", + "empty", + "filled", + "unresolved" + ], + "title": "Neutral Reference", + "type": "string" + }, + "spatial_profile": { + "anyOf": [ + { + "$ref": "#/$defs/SpatialProfileInput" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "id", + "distribution", + "charge_transition", + "neutral_reference", + "kinetics", + "degeneracy" + ], + "title": "BulkDefectInput", + "type": "object" + }, + "CigsOpticsInput": { + "additionalProperties": false, + "description": "GGI endpoints follow the layer's electrical grading coordinate.\n\nAbsent model, slice and quadrature values are supplied by the injected catalog,\ncompiled from the existing model declaration. None is never a numeric default.", + "properties": { + "cgi": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Cgi", + "unit": "1" + }, + "ggi_back": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Ggi Back", + "unit": "1" + }, + "ggi_front": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Ggi Front", + "unit": "1" + }, + "kk_quadrature_order": { + "anyOf": [ + { + "maximum": 2048, + "minimum": 48, + "type": "integer" + } + ], + "title": "Kk Quadrature Order" + }, + "model": { + "anyOf": [ + { + "const": "minoura_2015", + "type": "string" + } + ], + "title": "Model" + }, + "slices": { + "anyOf": [ + { + "maximum": 512, + "minimum": 1, + "type": "integer" + } + ], + "title": "Slices" + } + }, + "required": [ + "ggi_front", + "ggi_back", + "cgi" + ], + "title": "CigsOpticsInput", + "type": "object" + }, + "ContactInput": { + "additionalProperties": false, + "properties": { + "S_n": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": false, + "title": "S N", + "unit": "m/s" + }, + "S_p": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": false, + "title": "S P", + "unit": "m/s" + }, + "id": { + "pattern": "^[A-Za-z_][A-Za-z0-9_.:-]*$", + "title": "Id", + "type": "string" + }, + "layer": { + "pattern": "^[A-Za-z_][A-Za-z0-9_.:-]*$", + "title": "Layer", + "type": "string" + }, + "side": { + "enum": [ + "left", + "right" + ], + "title": "Side", + "type": "string" + } + }, + "required": [ + "id", + "side", + "layer" + ], + "title": "ContactInput", + "type": "object" + }, + "ContactTunnellingInput": { + "additionalProperties": false, + "properties": { + "barrier_height_eV": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Barrier Height Ev", + "unit": "eV" + }, + "electron_effective_mass_rel": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Electron Effective Mass Rel", + "unit": "1" + }, + "enabled": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Enabled" + }, + "energy_quadrature_order": { + "anyOf": [ + { + "minimum": 4, + "type": "integer" + } + ], + "title": "Energy Quadrature Order" + }, + "hole_effective_mass_rel": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Hole Effective Mass Rel", + "unit": "1" + }, + "side": { + "anyOf": [ + { + "enum": [ + "both", + "left", + "right" + ], + "type": "string" + } + ], + "title": "Side" + } + }, + "title": "ContactTunnellingInput", + "type": "object" + }, + "DefectAssistedInput": { + "additionalProperties": false, + "properties": { + "electron_effective_mass_rel": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Electron Effective Mass Rel", + "unit": "1" + }, + "enabled": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Enabled" + }, + "hole_effective_mass_rel": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Hole Effective Mass Rel", + "unit": "1" + }, + "requires_explicit_occupancy": { + "anyOf": [ + { + "const": true, + "type": "boolean" + } + ], + "title": "Requires Explicit Occupancy" + } + }, + "title": "DefectAssistedInput", + "type": "object" + }, + "DeviceSettingsInput": { + "additionalProperties": false, + "properties": { + "Phi": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Phi", + "unit": "m^-2/s" + }, + "T": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "T", + "unit": "K" + }, + "V_bi": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": false, + "nullable": false, + "positive": false, + "title": "V Bi", + "unit": "V" + }, + "band_grading": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Band Grading" + }, + "built_in_potential_mode": { + "anyOf": [ + { + "enum": [ + "legacy_manual", + "semiconductor_work_function", + "metal_work_function" + ], + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Built In Potential Mode" + }, + "contact_phi_B_eV": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Contact Phi B Ev", + "unit": "eV" + }, + "dos_band_potentials": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Dos Band Potentials" + }, + "flat_band_contacts": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Flat Band Contacts" + }, + "flat_band_metal_contacts": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Flat Band Metal Contacts" + }, + "graded_optics": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Graded Optics" + }, + "het_recomb_despike": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Het Recomb Despike", + "unit": "1" + }, + "interface_charge_closure": { + "anyOf": [ + { + "enum": [ + "off", + "equilibrium_referenced" + ], + "type": "string" + } + ], + "title": "Interface Charge Closure" + }, + "interface_charge_rebaseline_acknowledged": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Interface Charge Rebaseline Acknowledged" + }, + "interface_plane_closure": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Interface Plane Closure" + }, + "interface_plane_generation": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Interface Plane Generation" + }, + "interface_plane_projection": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Interface Plane Projection" + }, + "interface_shared_occupancy": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Interface Shared Occupancy" + }, + "interface_tunneling": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Interface Tunneling" + }, + "interface_two_sided": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Interface Two Sided" + }, + "ion_steric_diffusion_only": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Ion Steric Diffusion Only" + }, + "ion_steric_shared_site": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Ion Steric Shared Site" + }, + "jv_solver_policy": { + "anyOf": [ + { + "enum": [ + "general", + "cancellation_safe_qf_required" + ], + "type": "string" + } + ], + "title": "Jv Solver Policy" + }, + "mode": { + "anyOf": [ + { + "enum": [ + "legacy", + "fast", + "full" + ], + "type": "string" + } + ], + "title": "Mode" + }, + "phi_left": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": false, + "nullable": false, + "positive": false, + "title": "Phi Left", + "unit": "V" + }, + "te_physical_norm": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Te Physical Norm" + }, + "tunnel_mass_eff": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Tunnel Mass Eff", + "unit": "1" + }, + "work_function_left_eV": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": true, + "title": "Work Function Left Ev", + "unit": "eV" + }, + "work_function_right_eV": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": true, + "title": "Work Function Right Ev", + "unit": "eV" + } + }, + "title": "DeviceSettingsInput", + "type": "object" + }, + "DistributionInput": { + "additionalProperties": false, + "properties": { + "center_eV_above_vb": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": false, + "title": "Center Ev Above Vb", + "unit": "eV" + }, + "energy_reference": { + "anyOf": [ + { + "const": "above_valence_band", + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Energy Reference" + }, + "kind": { + "enum": [ + "single_level", + "gaussian", + "uniform", + "conduction_band_tail", + "valence_band_tail" + ], + "title": "Kind", + "type": "string" + }, + "normalization": { + "const": "integrated_total", + "title": "Normalization", + "type": "string" + }, + "support_width_multiplier": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": true, + "title": "Support Width Multiplier", + "unit": "1" + }, + "total_density_m3": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Total Density M3", + "unit": "m^-3" + }, + "width_convention": { + "anyOf": [ + { + "enum": [ + "not_applicable", + "gaussian_standard_deviation", + "scaps_characteristic_energy", + "uniform_full_width", + "unresolved" + ], + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Width Convention" + }, + "width_eV": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": true, + "title": "Width Ev", + "unit": "eV" + } + }, + "required": [ + "kind", + "normalization", + "total_density_m3" + ], + "title": "DistributionInput", + "type": "object" + }, + "EnergyLevelInput": { + "additionalProperties": false, + "properties": { + "reference": { + "enum": [ + "below_conduction_band", + "above_valence_band" + ], + "title": "Reference", + "type": "string" + }, + "value_eV": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Value Ev", + "unit": "eV" + } + }, + "required": [ + "reference", + "value_eV" + ], + "title": "EnergyLevelInput", + "type": "object" + }, + "FullLayerInput": { + "additionalProperties": false, + "properties": { + "bulk_defects": { + "default": [], + "items": { + "anyOf": [ + { + "$ref": "#/$defs/BulkDefectInput" + }, + { + "$ref": "#/$defs/MultivalentDefectInput" + } + ] + }, + "title": "Bulk Defects", + "type": "array" + }, + "bulk_trap_distribution": { + "anyOf": [ + { + "$ref": "#/$defs/LegacyBulkTrapInput" + }, + { + "type": "null" + } + ] + }, + "cigs_graded_optics": { + "anyOf": [ + { + "$ref": "#/$defs/CigsOpticsInput" + }, + { + "type": "null" + } + ] + }, + "defect_model": { + "anyOf": [ + { + "enum": [ + "effective_lifetime", + "explicit_quasi_steady" + ], + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Defect Model" + }, + "defect_schema_version": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Defect Schema Version" + }, + "id": { + "pattern": "^[A-Za-z_][A-Za-z0-9_.:-]*$", + "title": "Id", + "type": "string" + }, + "material": { + "anyOf": [ + { + "pattern": "^[A-Za-z_][A-Za-z0-9_.:-]*$", + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Material" + }, + "metastable_document": { + "anyOf": [ + { + "$ref": "#/$defs/MetastableDocumentInput" + }, + { + "type": "null" + } + ] + }, + "metastable_preparation": { + "anyOf": [ + { + "$ref": "#/$defs/MetastablePreparationInput" + }, + { + "type": "null" + } + ] + }, + "name": { + "minLength": 1, + "title": "Name", + "type": "string" + }, + "parameterization": { + "default": "standard", + "enum": [ + "standard", + "scaps" + ], + "title": "Parameterization", + "type": "string" + }, + "parameters": { + "$ref": "#/$defs/FullParameterInput" + }, + "role": { + "minLength": 1, + "title": "Role", + "type": "string" + }, + "scaps_defect_metadata": { + "default": [], + "items": { + "$ref": "#/$defs/ScapsDefectMetadataInput" + }, + "title": "Scaps Defect Metadata", + "type": "array" + }, + "thickness": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Thickness", + "unit": "m" + } + }, + "required": [ + "id", + "name", + "role", + "thickness" + ], + "title": "FullLayerInput", + "type": "object" + }, + "FullParameterInput": { + "additionalProperties": false, + "properties": { + "A_star_n": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "A Star N", + "unit": "A/(m^2 K^2)" + }, + "A_star_p": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "A Star P", + "unit": "A/(m^2 K^2)" + }, + "B_rad": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "B Rad", + "unit": "m^3/s" + }, + "B_rad_T_gamma": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": false, + "nullable": false, + "positive": false, + "title": "B Rad T Gamma", + "unit": "1" + }, + "C_n": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "C N", + "unit": "m^6/s" + }, + "C_p": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "C P", + "unit": "m^6/s" + }, + "D_ion": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "D Ion", + "unit": "m^2/s" + }, + "D_ion_neg": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "D Ion Neg", + "unit": "m^2/s" + }, + "E_a_ion": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "E A Ion", + "unit": "eV" + }, + "Eg": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "Eg", + "unit": "eV" + }, + "Eg_back": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": false, + "title": "Eg Back", + "unit": "eV" + }, + "N_A": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "N A", + "unit": "m^-3" + }, + "N_A_bulk": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": false, + "title": "N A Bulk", + "unit": "m^-3" + }, + "N_D": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "N D", + "unit": "m^-3" + }, + "N_D_bulk": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": false, + "title": "N D Bulk", + "unit": "m^-3" + }, + "Nc300": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": true, + "title": "Nc300", + "unit": "m^-3" + }, + "Nv300": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": true, + "title": "Nv300", + "unit": "m^-3" + }, + "P0": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "P0", + "unit": "m^-3" + }, + "P0_neg": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "P0 Neg", + "unit": "m^-3" + }, + "P_lim": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "P Lim", + "unit": "m^-3" + }, + "P_lim_neg": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "P Lim Neg", + "unit": "m^-3" + }, + "acceptor_binding_energy_eV": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": false, + "title": "Acceptor Binding Energy Ev", + "unit": "eV" + }, + "acceptor_degeneracy": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Acceptor Degeneracy", + "unit": "1" + }, + "alpha": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "Alpha", + "unit": "m^-1" + }, + "band_gap_narrowing_model": { + "anyOf": [ + { + "enum": [ + "off", + "slotboom" + ], + "type": "string" + } + ], + "title": "Band Gap Narrowing Model" + }, + "bgn_conduction_band_fraction": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Bgn Conduction Band Fraction", + "unit": "1" + }, + "bgn_log_shape": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Bgn Log Shape", + "unit": "1" + }, + "bgn_reference_density_m3": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Bgn Reference Density M3", + "unit": "m^-3" + }, + "bgn_reference_energy_eV": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Bgn Reference Energy Ev", + "unit": "eV" + }, + "carrier_statistics": { + "anyOf": [ + { + "enum": [ + "maxwell_boltzmann", + "fermi_dirac" + ], + "type": "string" + } + ], + "title": "Carrier Statistics" + }, + "chi": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": false, + "positive": false, + "title": "Chi", + "unit": "eV" + }, + "chi_back": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": false, + "nullable": true, + "positive": false, + "title": "Chi Back", + "unit": "eV" + }, + "ct_beta_n": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Ct Beta N", + "unit": "1" + }, + "ct_beta_p": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Ct Beta P", + "unit": "1" + }, + "donor_binding_energy_eV": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": false, + "title": "Donor Binding Energy Ev", + "unit": "eV" + }, + "donor_degeneracy": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Donor Degeneracy", + "unit": "1" + }, + "dopant_ionization_model": { + "anyOf": [ + { + "enum": [ + "fully_ionized", + "discrete_level" + ], + "type": "string" + } + ], + "title": "Dopant Ionization Model" + }, + "doping_decay_length": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": true, + "title": "Doping Decay Length", + "unit": "m" + }, + "doping_edge": { + "anyOf": [ + { + "enum": [ + "front", + "back" + ], + "type": "string" + } + ], + "title": "Doping Edge" + }, + "doping_profile_shape": { + "anyOf": [ + { + "const": "gaussian", + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Doping Profile Shape" + }, + "eps_r": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": true, + "title": "Eps R", + "unit": "1" + }, + "grading_N_mult": { + "anyOf": [ + { + "exclusiveMinimum": 0, + "type": "integer" + } + ], + "title": "Grading N Mult" + }, + "grading_bowing": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": false, + "nullable": false, + "positive": false, + "title": "Grading Bowing", + "unit": "eV" + }, + "grading_char_length": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": true, + "title": "Grading Char Length", + "unit": "m" + }, + "grading_direction": { + "anyOf": [ + { + "enum": [ + "front_to_back", + "back_to_front" + ], + "type": "string" + } + ], + "title": "Grading Direction" + }, + "grading_profile": { + "anyOf": [ + { + "enum": [ + "linear", + "parabolic", + "exponential" + ], + "type": "string" + } + ], + "title": "Grading Profile" + }, + "incoherent": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Incoherent" + }, + "mu_T_gamma": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": false, + "nullable": false, + "positive": false, + "title": "Mu T Gamma", + "unit": "1" + }, + "mu_n": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "Mu N", + "unit": "m^2/(V s)" + }, + "mu_p": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "Mu P", + "unit": "m^2/(V s)" + }, + "n1": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "N1", + "unit": "m^-3" + }, + "n_optical": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": true, + "title": "N Optical", + "unit": "1" + }, + "ni": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "Ni", + "unit": "m^-3" + }, + "optical_material": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Optical Material" + }, + "p1": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "P1", + "unit": "m^-3" + }, + "pf_gamma_n": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Pf Gamma N", + "unit": "(m/V)^0.5" + }, + "pf_gamma_p": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Pf Gamma P", + "unit": "(m/V)^0.5" + }, + "tau_n": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": true, + "title": "Tau N", + "unit": "s" + }, + "tau_p": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": true, + "title": "Tau P", + "unit": "s" + }, + "trap_N_t_bulk": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": false, + "title": "Trap N T Bulk", + "unit": "m^-3" + }, + "trap_N_t_interface": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": false, + "title": "Trap N T Interface", + "unit": "m^-3" + }, + "trap_decay_length": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": false, + "title": "Trap Decay Length", + "unit": "m" + }, + "trap_edge": { + "anyOf": [ + { + "enum": [ + "both", + "left", + "right" + ], + "type": "string" + } + ], + "title": "Trap Edge" + }, + "trap_profile_shape": { + "anyOf": [ + { + "enum": [ + "exponential", + "gaussian" + ], + "type": "string" + } + ], + "title": "Trap Profile Shape" + }, + "v_sat_n": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "V Sat N", + "unit": "m/s" + }, + "v_sat_p": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "V Sat P", + "unit": "m/s" + }, + "v_th": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "V Th", + "unit": "m/s" + }, + "varshni_alpha": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": false, + "nullable": false, + "positive": false, + "title": "Varshni Alpha", + "unit": "eV/K" + }, + "varshni_beta": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Varshni Beta", + "unit": "K" + } + }, + "title": "FullParameterInput", + "type": "object" + }, + "GrainBoundaryInput": { + "additionalProperties": false, + "properties": { + "id": { + "pattern": "^[A-Za-z_][A-Za-z0-9_.:-]*$", + "title": "Id", + "type": "string" + }, + "layer_ids": { + "items": { + "pattern": "^[A-Za-z_][A-Za-z0-9_.:-]*$", + "type": "string" + }, + "title": "Layer Ids", + "type": "array" + }, + "source_layer_role": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Source Layer Role" + }, + "tau_n": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Tau N", + "unit": "s" + }, + "tau_p": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Tau P", + "unit": "s" + }, + "width": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Width", + "unit": "m" + }, + "x_position": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "X Position", + "unit": "m" + } + }, + "required": [ + "id", + "layer_ids", + "x_position", + "width", + "tau_n", + "tau_p" + ], + "title": "GrainBoundaryInput", + "type": "object" + }, + "GridLayerInput": { + "additionalProperties": false, + "properties": { + "alpha": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Alpha", + "unit": "1" + }, + "interval_weight": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Interval Weight", + "unit": "1" + }, + "layer": { + "pattern": "^[A-Za-z_][A-Za-z0-9_.:-]*$", + "title": "Layer", + "type": "string" + } + }, + "required": [ + "layer", + "interval_weight", + "alpha" + ], + "title": "GridLayerInput", + "type": "object" + }, + "InterfaceDefectInput": { + "additionalProperties": false, + "properties": { + "calibration_factor": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Calibration Factor", + "unit": "1" + }, + "energy_reference": { + "enum": [ + "below_conduction_band", + "above_valence_band" + ], + "title": "Energy Reference", + "type": "string" + }, + "id": { + "pattern": "^[A-Za-z_][A-Za-z0-9_.:-]*$", + "title": "Id", + "type": "string" + }, + "iface_state_calibration_factor": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Iface State Calibration Factor", + "unit": "1" + }, + "kinetics": { + "$ref": "#/$defs/KineticsInput" + }, + "partner_metadata": { + "anyOf": [ + { + "$ref": "#/$defs/ScapsDefectMetadataInput" + }, + { + "type": "null" + } + ] + }, + "total_density_m2": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Total Density M2", + "unit": "m^-2" + }, + "trap_depth_eV": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Trap Depth Ev", + "unit": "eV" + } + }, + "required": [ + "id", + "trap_depth_eV", + "energy_reference", + "total_density_m2", + "kinetics", + "calibration_factor", + "iface_state_calibration_factor" + ], + "title": "InterfaceDefectInput", + "type": "object" + }, + "InterfaceInput": { + "additionalProperties": false, + "properties": { + "defect": { + "anyOf": [ + { + "$ref": "#/$defs/InterfaceDefectInput" + }, + { + "type": "null" + } + ] + }, + "id": { + "pattern": "^[A-Za-z_][A-Za-z0-9_.:-]*$", + "title": "Id", + "type": "string" + }, + "left": { + "pattern": "^[A-Za-z_][A-Za-z0-9_.:-]*$", + "title": "Left", + "type": "string" + }, + "right": { + "pattern": "^[A-Za-z_][A-Za-z0-9_.:-]*$", + "title": "Right", + "type": "string" + }, + "v_n": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": false, + "title": "V N", + "unit": "m/s" + }, + "v_p": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": false, + "title": "V P", + "unit": "m/s" + } + }, + "required": [ + "id", + "left", + "right" + ], + "title": "InterfaceInput", + "type": "object" + }, + "IntrabandInput": { + "additionalProperties": false, + "properties": { + "carrier": { + "anyOf": [ + { + "enum": [ + "electron", + "hole", + "both" + ], + "type": "string" + } + ], + "title": "Carrier" + }, + "electron_effective_mass_rel": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Electron Effective Mass Rel", + "unit": "1" + }, + "enabled": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Enabled" + }, + "energy_quadrature_order": { + "anyOf": [ + { + "minimum": 4, + "type": "integer" + } + ], + "title": "Energy Quadrature Order" + }, + "hole_effective_mass_rel": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Hole Effective Mass Rel", + "unit": "1" + } + }, + "title": "IntrabandInput", + "type": "object" + }, + "JVDCSettleInput": { + "additionalProperties": false, + "properties": { + "duration_s": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": true, + "title": "Duration S", + "unit": "s" + }, + "kind": { + "enum": [ + "finite_time", + "residual_certified", + "finite_time_with_certificate", + "not_applicable" + ], + "title": "Kind", + "type": "string" + }, + "max_carrier_area_rate_A_m2": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": true, + "title": "Max Carrier Area Rate A M2", + "unit": "A/m^2" + }, + "max_face_current_spread_A_m2": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": true, + "title": "Max Face Current Spread A M2", + "unit": "A/m^2" + }, + "max_ion_area_rate_A_m2": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": true, + "title": "Max Ion Area Rate A M2", + "unit": "A/m^2" + }, + "max_ionic_face_current_A_m2": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": true, + "title": "Max Ionic Face Current A M2", + "unit": "A/m^2" + } + }, + "required": [ + "kind", + "duration_s", + "max_carrier_area_rate_A_m2", + "max_ion_area_rate_A_m2", + "max_ionic_face_current_A_m2", + "max_face_current_spread_A_m2" + ], + "title": "JVDCSettleInput", + "type": "object" + }, + "JVIlluminationStepInput": { + "additionalProperties": false, + "properties": { + "condition": { + "enum": [ + "dark", + "baseline", + "scaled", + "monochromatic", + "pulse" + ], + "title": "Condition", + "type": "string" + }, + "duration_s": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": false, + "title": "Duration S", + "unit": "s" + }, + "intensity_suns": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": false, + "title": "Intensity Suns", + "unit": "1" + }, + "phase": { + "minLength": 1, + "title": "Phase", + "type": "string" + }, + "photon_flux_m2_s": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": true, + "title": "Photon Flux M2 S", + "unit": "m^-2/s" + }, + "relative_generation_change": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": false, + "nullable": true, + "positive": false, + "title": "Relative Generation Change", + "unit": "1" + }, + "source_reference": { + "anyOf": [ + { + "minLength": 1, + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Source Reference" + } + }, + "required": [ + "phase", + "condition", + "duration_s", + "intensity_suns", + "photon_flux_m2_s", + "relative_generation_change", + "source_reference" + ], + "title": "JVIlluminationStepInput", + "type": "object" + }, + "JVProtocolInput": { + "additionalProperties": false, + "description": "The existing ExperimentProtocol fields for its J-V branch only.", + "properties": { + "ac_excitation": { + "title": "Ac Excitation", + "type": "null" + }, + "dc_settle": { + "$ref": "#/$defs/JVDCSettleInput" + }, + "dwell_duration_s": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": false, + "title": "Dwell Duration S", + "unit": "s" + }, + "experiment": { + "const": "jv_hysteresis", + "title": "Experiment", + "type": "string" + }, + "illumination_history": { + "items": { + "$ref": "#/$defs/JVIlluminationStepInput" + }, + "minItems": 1, + "title": "Illumination History", + "type": "array" + }, + "implicit_legacy_protocol": { + "title": "Implicit Legacy Protocol", + "type": "boolean" + }, + "initial_state_source": { + "enum": [ + "dark_equilibrium", + "dark_equilibrium_each_sample", + "finite_time_illuminated_preconditioned", + "finite_time_dc_preconditioned", + "qf_dc_candidate", + "user_supplied_state" + ], + "title": "Initial State Source", + "type": "string" + }, + "pre_bias_V": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": false, + "nullable": true, + "positive": false, + "title": "Pre Bias V", + "unit": "V" + }, + "sampling": { + "$ref": "#/$defs/JVSamplingInput" + }, + "scan": { + "$ref": "#/$defs/JVScanInput" + }, + "schema_version": { + "const": 1, + "title": "Schema Version", + "type": "integer" + }, + "soak_duration_s": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": false, + "title": "Soak Duration S", + "unit": "s" + }, + "temperature_K": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Temperature K", + "unit": "K" + }, + "voc_search": { + "title": "Voc Search", + "type": "null" + } + }, + "required": [ + "experiment", + "initial_state_source", + "pre_bias_V", + "soak_duration_s", + "dwell_duration_s", + "illumination_history", + "temperature_K", + "scan", + "ac_excitation", + "dc_settle", + "sampling", + "voc_search", + "implicit_legacy_protocol", + "schema_version" + ], + "title": "JVProtocolInput", + "type": "object" + }, + "JVSamplingInput": { + "additionalProperties": false, + "properties": { + "axis": { + "const": "voltage_V", + "title": "Axis", + "type": "string" + }, + "mode": { + "enum": [ + "linear", + "log", + "declared", + "piecewise_linear" + ], + "title": "Mode", + "type": "string" + }, + "values": { + "item_input_unit": null, + "item_positive": false, + "item_unit": "V", + "items": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ] + }, + "minItems": 1, + "title": "Values", + "type": "array" + } + }, + "required": [ + "axis", + "mode", + "values" + ], + "title": "JVSamplingInput", + "type": "object" + }, + "JVScanInput": { + "additionalProperties": false, + "properties": { + "axis": { + "const": "voltage_V", + "title": "Axis", + "type": "string" + }, + "direction": { + "enum": [ + "ascending", + "descending", + "ascending_then_descending", + "declared_order", + "forward_time" + ], + "title": "Direction", + "type": "string" + }, + "rate_V_s": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Rate V S", + "unit": "V/s" + }, + "start": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": false, + "nullable": false, + "positive": false, + "title": "Start", + "unit": "V" + }, + "stop": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": false, + "nullable": false, + "positive": false, + "title": "Stop", + "unit": "V" + } + }, + "required": [ + "axis", + "direction", + "start", + "stop", + "rate_V_s" + ], + "title": "JVScanInput", + "type": "object" + }, + "JVSweepHintsInput": { + "additionalProperties": false, + "description": "Supplied advisory fields, without an endpoint or implied execution.\n\nUnknown fields reject rather than disappear. A caller must explicitly\ncompose these fields with JVInput to request protocol preparation.", + "properties": { + "N_grid": { + "anyOf": [ + { + "minimum": 3, + "type": "integer" + } + ], + "title": "Requested electrical grid allocation" + }, + "V_max": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": false, + "nullable": true, + "positive": false, + "title": "V Max", + "unit": "V" + }, + "experiment_protocol": { + "anyOf": [ + { + "$ref": "#/$defs/JVProtocolInput" + }, + { + "type": "null" + } + ] + }, + "iface_states": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Iface States" + }, + "illuminated": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Illuminated" + }, + "interface_boundary": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Interface Boundary" + }, + "interface_transport_model": { + "anyOf": [ + { + "minLength": 1, + "type": "string" + } + ], + "title": "Interface Transport Model" + }, + "n_points": { + "anyOf": [ + { + "minimum": 2, + "type": "integer" + } + ], + "title": "Samples per branch" + }, + "protocol_mode": { + "anyOf": [ + { + "enum": [ + "compatibility", + "research_strict" + ], + "type": "string" + } + ], + "title": "Protocol Mode" + }, + "solver": { + "anyOf": [ + { + "enum": [ + "transient", + "steady_state", + "quasi_fermi" + ], + "type": "string" + } + ], + "title": "Solver" + }, + "v_rate": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "V Rate", + "unit": "V/s" + }, + "waveform": { + "anyOf": [ + { + "$ref": "#/$defs/JVWaveformInput" + }, + { + "type": "null" + } + ] + }, + "waveform_controls": { + "anyOf": [ + { + "$ref": "#/$defs/JVWaveformControlsInput" + }, + { + "type": "null" + } + ] + } + }, + "title": "JVSweepHintsInput", + "type": "object" + }, + "JVWaveformControlsInput": { + "additionalProperties": false, + "properties": { + "atol_m3": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Atol M3", + "unit": "m^-3" + }, + "rtol": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Rtol", + "unit": "1" + } + }, + "required": [ + "rtol", + "atol_m3" + ], + "title": "JVWaveformControlsInput", + "type": "object" + }, + "JVWaveformInput": { + "additionalProperties": false, + "description": "All eight fields of JVWaveform.from_dict are explicit, including null.", + "properties": { + "branch_dwell_s": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Branch Dwell S", + "unit": "s" + }, + "dark_prep_s": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Dark Prep S", + "unit": "s" + }, + "dark_seed_s": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Dark Seed S", + "unit": "s" + }, + "schema_version": { + "const": 1, + "title": "Schema Version", + "type": "integer" + }, + "start_voltage_V": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": false, + "nullable": false, + "positive": false, + "title": "Start Voltage V", + "unit": "V" + }, + "turnaround_dark": { + "title": "Turnaround Dark", + "type": "boolean" + }, + "turnaround_s": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Turnaround S", + "unit": "s" + }, + "uniform_generation_rate_m3_s": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": false, + "title": "Uniform Generation Rate M3 S", + "unit": "m^-3/s" + } + }, + "required": [ + "schema_version", + "start_voltage_V", + "dark_seed_s", + "dark_prep_s", + "branch_dwell_s", + "turnaround_s", + "turnaround_dark", + "uniform_generation_rate_m3_s" + ], + "title": "JVWaveformInput", + "type": "object" + }, + "KineticsInput": { + "additionalProperties": false, + "properties": { + "sigma_n_m2": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Sigma N M2", + "unit": "m^2" + }, + "sigma_p_m2": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Sigma P M2", + "unit": "m^2" + }, + "thermal_velocity_n_m_s": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Thermal Velocity N M S", + "unit": "m/s" + }, + "thermal_velocity_p_m_s": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Thermal Velocity P M S", + "unit": "m/s" + } + }, + "required": [ + "sigma_n_m2", + "sigma_p_m2", + "thermal_velocity_n_m_s", + "thermal_velocity_p_m_s" + ], + "title": "KineticsInput", + "type": "object" + }, + "LegacyBulkTrapInput": { + "additionalProperties": false, + "properties": { + "center_eV_above_vb": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Center Ev Above Vb", + "unit": "eV" + }, + "charge_transition": { + "enum": [ + "acceptor", + "donor" + ], + "title": "Charge Transition", + "type": "string" + }, + "distribution": { + "enum": [ + "single_level", + "gaussian" + ], + "title": "Distribution", + "type": "string" + }, + "energy_sigma_eV": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Energy Sigma Ev", + "unit": "eV" + }, + "sigma_n_m2": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Sigma N M2", + "unit": "m^2" + }, + "sigma_p_m2": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Sigma P M2", + "unit": "m^2" + }, + "thermal_velocity_m_s": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Thermal Velocity M S", + "unit": "m/s" + }, + "total_density_m3": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Total Density M3", + "unit": "m^-3" + } + }, + "required": [ + "distribution", + "total_density_m3", + "center_eV_above_vb", + "sigma_n_m2", + "sigma_p_m2", + "thermal_velocity_m_s", + "charge_transition" + ], + "title": "LegacyBulkTrapInput", + "type": "object" + }, + "LegacyDeviceFieldsInput": { + "additionalProperties": false, + "properties": { + "interface_defect_count": { + "anyOf": [ + { + "minimum": 0, + "type": "integer" + }, + { + "type": "null" + } + ], + "title": "Interface Defect Count" + }, + "interfaces": { + "anyOf": [ + { + "items": { + "items": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ] + }, + "maxItems": 2, + "minItems": 2, + "type": "array" + }, + "type": "array" + }, + { + "type": "null" + } + ], + "title": "Interfaces" + }, + "layer_ids": { + "items": { + "pattern": "^[A-Za-z_][A-Za-z0-9_.:-]*$", + "type": "string" + }, + "title": "Layer Ids", + "type": "array" + }, + "schema_version": { + "const": "solarlab.standard-loader-fields.v1", + "title": "Schema Version", + "type": "string" + }, + "source_id": { + "minLength": 1, + "title": "Source Id", + "type": "string" + }, + "source_sha256": { + "pattern": "^[0-9a-f]{64}$", + "title": "Source Sha256", + "type": "string" + }, + "temperature": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "boolean" + }, + { + "type": "null" + } + ], + "title": "Temperature" + } + }, + "required": [ + "schema_version", + "source_id", + "source_sha256", + "layer_ids" + ], + "title": "LegacyDeviceFieldsInput", + "type": "object" + }, + "MetastableConversionInput": { + "additionalProperties": false, + "properties": { + "capture_n_m3_s": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Capture N M3 S", + "unit": "m^3/s" + }, + "capture_p_m3_s": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Capture P M3 S", + "unit": "m^3/s" + }, + "electron_capture_activation_eV": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Electron Capture Activation Ev", + "unit": "eV" + }, + "electron_capture_path": { + "enum": [ + "double_electron_capture", + "electron_capture_plus_hole_emission" + ], + "title": "Electron Capture Path", + "type": "string" + }, + "electron_emission_activation_eV": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Electron Emission Activation Ev", + "unit": "eV" + }, + "hole_capture_activation_eV": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Hole Capture Activation Ev", + "unit": "eV" + }, + "hole_capture_path": { + "enum": [ + "double_hole_capture", + "hole_capture_plus_electron_emission" + ], + "title": "Hole Capture Path", + "type": "string" + }, + "hole_emission_activation_eV": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Hole Emission Activation Ev", + "unit": "eV" + }, + "phonon_frequency_Hz": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Phonon Frequency Hz", + "unit": "Hz" + }, + "transition_energy_eV_above_vb": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Transition Energy Ev Above Vb", + "unit": "eV" + } + }, + "required": [ + "transition_energy_eV_above_vb", + "electron_capture_activation_eV", + "electron_emission_activation_eV", + "hole_capture_activation_eV", + "hole_emission_activation_eV", + "electron_capture_path", + "hole_capture_path", + "capture_n_m3_s", + "capture_p_m3_s", + "phonon_frequency_Hz" + ], + "title": "MetastableConversionInput", + "type": "object" + }, + "MetastableDefectInput": { + "additionalProperties": false, + "properties": { + "acceptor_configuration": { + "$ref": "#/$defs/MultivalentConfigurationInput" + }, + "acceptor_conversion_state_index": { + "minimum": 0, + "title": "Acceptor Conversion State Index", + "type": "integer" + }, + "conversion_kinetics": { + "$ref": "#/$defs/MetastableConversionInput" + }, + "donor_configuration": { + "$ref": "#/$defs/MultivalentConfigurationInput" + }, + "donor_conversion_state_index": { + "minimum": 0, + "title": "Donor Conversion State Index", + "type": "integer" + }, + "id": { + "pattern": "^[A-Za-z_][A-Za-z0-9_.:-]*$", + "title": "Id", + "type": "string" + }, + "name": { + "minLength": 1, + "title": "Name", + "type": "string" + }, + "total_density_m3": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Total Density M3", + "unit": "m^-3" + } + }, + "required": [ + "id", + "name", + "total_density_m3", + "donor_configuration", + "acceptor_configuration", + "donor_conversion_state_index", + "acceptor_conversion_state_index", + "conversion_kinetics" + ], + "title": "MetastableDefectInput", + "type": "object" + }, + "MetastableDocumentInput": { + "additionalProperties": false, + "properties": { + "defect_model": { + "const": "explicit_metastable_frozen", + "title": "Defect Model", + "type": "string" + }, + "metastable_defects": { + "items": { + "$ref": "#/$defs/MetastableDefectInput" + }, + "title": "Metastable Defects", + "type": "array" + }, + "schema_version": { + "const": "solarlab-metastable-bulk-defects-v1", + "title": "Schema Version", + "type": "string" + } + }, + "required": [ + "schema_version", + "defect_model", + "metastable_defects" + ], + "title": "MetastableDocumentInput", + "type": "object" + }, + "MetastableNumericsInput": { + "additionalProperties": false, + "properties": { + "clamping_factor": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Clamping Factor", + "unit": "1" + }, + "final_unclamped_refinement": { + "const": true, + "title": "Final Unclamped Refinement", + "type": "boolean" + }, + "initial_donor_fraction_guess": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Initial Donor Fraction Guess", + "unit": "1" + }, + "max_iterations": { + "exclusiveMinimum": 0, + "title": "Max Iterations", + "type": "integer" + }, + "relative_tolerance": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Relative Tolerance", + "unit": "1" + } + }, + "required": [ + "initial_donor_fraction_guess", + "max_iterations", + "relative_tolerance", + "clamping_factor", + "final_unclamped_refinement" + ], + "title": "MetastableNumericsInput", + "type": "object" + }, + "MetastablePreparationInput": { + "additionalProperties": false, + "properties": { + "configuration_freeze_stage": { + "const": "after_stationary_preparation_before_measurement", + "title": "Configuration Freeze Stage", + "type": "string" + }, + "freeze_configuration_during_measurement": { + "const": true, + "title": "Freeze Configuration During Measurement", + "type": "boolean" + }, + "illumination_continuation_steps": { + "minimum": 0, + "title": "Illumination Continuation Steps", + "type": "integer" + }, + "measurement_protocol_sha256": { + "pattern": "^[0-9a-f]{64}$", + "title": "Measurement Protocol Sha256", + "type": "string" + }, + "measurement_temperature_K": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Measurement Temperature K", + "unit": "K" + }, + "numerics": { + "$ref": "#/$defs/MetastableNumericsInput" + }, + "preparation_illumination_suns": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Preparation Illumination Suns", + "unit": "1" + }, + "preparation_limit": { + "const": "stationary_infinite_time", + "title": "Preparation Limit", + "type": "string" + }, + "preparation_temperature_K": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Preparation Temperature K", + "unit": "K" + }, + "preparation_voltage_V": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": false, + "nullable": false, + "positive": false, + "title": "Preparation Voltage V", + "unit": "V" + }, + "schema_version": { + "const": "solarlab-metastable-preparation-v1", + "title": "Schema Version", + "type": "string" + }, + "voltage_continuation_steps": { + "minimum": 0, + "title": "Voltage Continuation Steps", + "type": "integer" + } + }, + "required": [ + "schema_version", + "preparation_limit", + "preparation_temperature_K", + "preparation_voltage_V", + "preparation_illumination_suns", + "voltage_continuation_steps", + "illumination_continuation_steps", + "measurement_temperature_K", + "configuration_freeze_stage", + "freeze_configuration_during_measurement", + "measurement_protocol_sha256", + "numerics" + ], + "title": "MetastablePreparationInput", + "type": "object" + }, + "MultivalentConfigurationInput": { + "additionalProperties": false, + "properties": { + "charge_states_e": { + "items": { + "type": "integer" + }, + "title": "Charge States E", + "type": "array" + }, + "degeneracy_convention": { + "enum": [ + "scaps_binomial", + "unity", + "explicit" + ], + "title": "Degeneracy Convention", + "type": "string" + }, + "energy_levels": { + "$ref": "#/$defs/MultivalentEnergyInput" + }, + "family": { + "enum": [ + "single_donor", + "single_acceptor", + "double_donor", + "double_acceptor", + "amphoteric", + "custom_multilevel" + ], + "title": "Family", + "type": "string" + }, + "state_degeneracies": { + "item_positive": true, + "item_unit": "1", + "items": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ] + }, + "title": "State Degeneracies", + "type": "array" + }, + "transition_kinetics": { + "items": { + "$ref": "#/$defs/KineticsInput" + }, + "title": "Transition Kinetics", + "type": "array" + } + }, + "required": [ + "family", + "charge_states_e", + "degeneracy_convention", + "state_degeneracies", + "energy_levels", + "transition_kinetics" + ], + "title": "MultivalentConfigurationInput", + "type": "object" + }, + "MultivalentDefectInput": { + "additionalProperties": false, + "properties": { + "configuration": { + "$ref": "#/$defs/MultivalentConfigurationInput" + }, + "id": { + "pattern": "^[A-Za-z_][A-Za-z0-9_.:-]*$", + "title": "Id", + "type": "string" + }, + "name": { + "minLength": 1, + "title": "Name", + "type": "string" + }, + "total_density_m3": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Total Density M3", + "unit": "m^-3" + } + }, + "required": [ + "id", + "name", + "total_density_m3", + "configuration" + ], + "title": "MultivalentDefectInput", + "type": "object" + }, + "MultivalentEnergyInput": { + "additionalProperties": false, + "properties": { + "correlation_energies_eV": { + "item_unit": "eV", + "items": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ] + }, + "title": "Correlation Energies Ev", + "type": "array" + }, + "energy_reference": { + "const": "above_valence_band", + "title": "Energy Reference", + "type": "string" + }, + "first_transition_eV_above_vb": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "First Transition Ev Above Vb", + "unit": "eV" + } + }, + "required": [ + "first_transition_eV_above_vb", + "correlation_energies_eV", + "energy_reference" + ], + "title": "MultivalentEnergyInput", + "type": "object" + }, + "NamedMaterialInput": { + "additionalProperties": false, + "properties": { + "cigs_graded_optics": { + "anyOf": [ + { + "$ref": "#/$defs/CigsOpticsInput" + }, + { + "type": "null" + } + ] + }, + "id": { + "pattern": "^[A-Za-z_][A-Za-z0-9_.:-]*$", + "title": "Id", + "type": "string" + }, + "name": { + "minLength": 1, + "title": "Name", + "type": "string" + }, + "parameters": { + "$ref": "#/$defs/FullParameterInput" + } + }, + "required": [ + "id", + "name", + "parameters" + ], + "title": "NamedMaterialInput", + "type": "object" + }, + "ScapsDefectMetadataInput": { + "additionalProperties": false, + "description": "Preserved partner metadata; a Gaussian note is not a qualified closure.", + "properties": { + "E_char_eV": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": true, + "title": "E Char Ev", + "unit": "eV" + }, + "N_peak_m3": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": false, + "title": "N Peak M3", + "unit": "m^-3" + }, + "defect_id": { + "pattern": "^[A-Za-z_][A-Za-z0-9_.:-]*$", + "title": "Defect Id", + "type": "string" + }, + "distribution": { + "enum": [ + "single", + "gaussian" + ], + "title": "Distribution", + "type": "string" + }, + "energy_reference": { + "enum": [ + "below_conduction_band", + "above_valence_band" + ], + "title": "Energy Reference", + "type": "string" + }, + "trap_depth_eV": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Trap Depth Ev", + "unit": "eV" + } + }, + "required": [ + "distribution", + "energy_reference", + "trap_depth_eV", + "defect_id" + ], + "title": "ScapsDefectMetadataInput", + "type": "object" + }, + "SimulationHintsInput": { + "additionalProperties": false, + "properties": { + "jv_sweep": { + "anyOf": [ + { + "$ref": "#/$defs/JVSweepHintsInput" + }, + { + "type": "null" + } + ] + }, + "min_N_grid": { + "anyOf": [ + { + "exclusiveMinimum": 0, + "type": "integer" + }, + { + "type": "null" + } + ], + "title": "Min N Grid" + }, + "notes": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Notes" + } + }, + "title": "SimulationHintsInput", + "type": "object" + }, + "SpatialKnotInput": { + "additionalProperties": false, + "properties": { + "density_multiplier": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Density Multiplier", + "unit": "1" + }, + "position_fraction": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Position Fraction", + "unit": "1" + } + }, + "required": [ + "position_fraction", + "density_multiplier" + ], + "title": "SpatialKnotInput", + "type": "object" + }, + "SpatialProfileInput": { + "additionalProperties": false, + "properties": { + "coordinate": { + "const": "normalized_layer_coordinate", + "title": "Coordinate", + "type": "string" + }, + "density_normalization": { + "const": "layer_average_unity", + "title": "Density Normalization", + "type": "string" + }, + "interpolation": { + "const": "piecewise_linear", + "title": "Interpolation", + "type": "string" + }, + "knots": { + "items": { + "$ref": "#/$defs/SpatialKnotInput" + }, + "title": "Knots", + "type": "array" + } + }, + "required": [ + "coordinate", + "interpolation", + "density_normalization", + "knots" + ], + "title": "SpatialProfileInput", + "type": "object" + }, + "TunnellingInput": { + "additionalProperties": false, + "properties": { + "band_to_band": { + "anyOf": [ + { + "$ref": "#/$defs/BandToBandInput" + }, + { + "type": "null" + } + ] + }, + "contact": { + "anyOf": [ + { + "$ref": "#/$defs/ContactTunnellingInput" + }, + { + "type": "null" + } + ] + }, + "interface_defect_assisted": { + "anyOf": [ + { + "$ref": "#/$defs/DefectAssistedInput" + }, + { + "type": "null" + } + ] + }, + "intraband": { + "anyOf": [ + { + "$ref": "#/$defs/IntrabandInput" + }, + { + "type": "null" + } + ] + }, + "schema_version": { + "const": "solarlab-wkb-tunnelling-channels-v1", + "default": "solarlab-wkb-tunnelling-channels-v1", + "title": "Schema Version", + "type": "string" + } + }, + "title": "TunnellingInput", + "type": "object" + } + }, + "additionalProperties": false, + "properties": { + "contacts": { + "default": [], + "items": { + "$ref": "#/$defs/ContactInput" + }, + "title": "Contacts", + "type": "array" + }, + "description": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Description" + }, + "electrical_grid": { + "default": [], + "items": { + "$ref": "#/$defs/GridLayerInput" + }, + "title": "Electrical Grid", + "type": "array" + }, + "fixed_generation": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Fixed Generation" + }, + "grain_boundaries": { + "default": [], + "items": { + "$ref": "#/$defs/GrainBoundaryInput" + }, + "title": "Grain Boundaries", + "type": "array" + }, + "id": { + "pattern": "^[A-Za-z_][A-Za-z0-9_.:-]*$", + "title": "Id", + "type": "string" + }, + "interfaces": { + "default": [], + "items": { + "$ref": "#/$defs/InterfaceInput" + }, + "title": "Interfaces", + "type": "array" + }, + "layers": { + "items": { + "$ref": "#/$defs/FullLayerInput" + }, + "title": "Layers", + "type": "array" + }, + "legacy_fields": { + "anyOf": [ + { + "$ref": "#/$defs/LegacyDeviceFieldsInput" + }, + { + "type": "null" + } + ] + }, + "materials": { + "default": [], + "items": { + "$ref": "#/$defs/NamedMaterialInput" + }, + "title": "Materials", + "type": "array" + }, + "name": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Name" + }, + "schema_version": { + "const": "solarlab.device-preparation.v1", + "title": "Schema Version", + "type": "string" + }, + "settings": { + "$ref": "#/$defs/DeviceSettingsInput" + }, + "simulation_hints": { + "anyOf": [ + { + "$ref": "#/$defs/SimulationHintsInput" + }, + { + "type": "null" + } + ] + }, + "source_format": { + "enum": [ + "standard", + "scaps", + "canonical" + ], + "title": "Source Format", + "type": "string" + }, + "source_schema_version": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "integer" + }, + { + "type": "null" + } + ], + "title": "Source Schema Version" + }, + "spectrum": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Spectrum" + }, + "tunnelling_channels": { + "anyOf": [ + { + "$ref": "#/$defs/TunnellingInput" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "schema_version", + "id", + "source_format", + "layers" + ], + "title": "DeviceInput", + "type": "object" + } + }, + "DeviceSettingsInput": { + "python_type": "solarlab.device.settings:DeviceSettingsInput", + "representation": "editable_input", + "schema": { + "additionalProperties": false, + "properties": { + "Phi": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Phi", + "unit": "m^-2/s" + }, + "T": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "T", + "unit": "K" + }, + "V_bi": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": false, + "nullable": false, + "positive": false, + "title": "V Bi", + "unit": "V" + }, + "band_grading": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Band Grading" + }, + "built_in_potential_mode": { + "anyOf": [ + { + "enum": [ + "legacy_manual", + "semiconductor_work_function", + "metal_work_function" + ], + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Built In Potential Mode" + }, + "contact_phi_B_eV": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Contact Phi B Ev", + "unit": "eV" + }, + "dos_band_potentials": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Dos Band Potentials" + }, + "flat_band_contacts": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Flat Band Contacts" + }, + "flat_band_metal_contacts": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Flat Band Metal Contacts" + }, + "graded_optics": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Graded Optics" + }, + "het_recomb_despike": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Het Recomb Despike", + "unit": "1" + }, + "interface_charge_closure": { + "anyOf": [ + { + "enum": [ + "off", + "equilibrium_referenced" + ], + "type": "string" + } + ], + "title": "Interface Charge Closure" + }, + "interface_charge_rebaseline_acknowledged": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Interface Charge Rebaseline Acknowledged" + }, + "interface_plane_closure": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Interface Plane Closure" + }, + "interface_plane_generation": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Interface Plane Generation" + }, + "interface_plane_projection": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Interface Plane Projection" + }, + "interface_shared_occupancy": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Interface Shared Occupancy" + }, + "interface_tunneling": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Interface Tunneling" + }, + "interface_two_sided": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Interface Two Sided" + }, + "ion_steric_diffusion_only": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Ion Steric Diffusion Only" + }, + "ion_steric_shared_site": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Ion Steric Shared Site" + }, + "jv_solver_policy": { + "anyOf": [ + { + "enum": [ + "general", + "cancellation_safe_qf_required" + ], + "type": "string" + } + ], + "title": "Jv Solver Policy" + }, + "mode": { + "anyOf": [ + { + "enum": [ + "legacy", + "fast", + "full" + ], + "type": "string" + } + ], + "title": "Mode" + }, + "phi_left": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": false, + "nullable": false, + "positive": false, + "title": "Phi Left", + "unit": "V" + }, + "te_physical_norm": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Te Physical Norm" + }, + "tunnel_mass_eff": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Tunnel Mass Eff", + "unit": "1" + }, + "work_function_left_eV": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": true, + "title": "Work Function Left Ev", + "unit": "eV" + }, + "work_function_right_eV": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": true, + "title": "Work Function Right Ev", + "unit": "eV" + } + }, + "title": "DeviceSettingsInput", + "type": "object" + } + }, + "FullLayerInput": { + "python_type": "solarlab.device.inputs:FullLayerInput", + "representation": "editable_input", + "schema": { + "$defs": { + "BulkDefectInput": { + "additionalProperties": false, + "properties": { + "charge_transition": { + "enum": [ + "neutral", + "acceptor", + "donor", + "unresolved" + ], + "title": "Charge Transition", + "type": "string" + }, + "degeneracy": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Degeneracy", + "unit": "1" + }, + "distribution": { + "$ref": "#/$defs/DistributionInput" + }, + "energy_level": { + "anyOf": [ + { + "$ref": "#/$defs/EnergyLevelInput" + }, + { + "type": "null" + } + ] + }, + "id": { + "pattern": "^[A-Za-z_][A-Za-z0-9_.:-]*$", + "title": "Id", + "type": "string" + }, + "kinetics": { + "$ref": "#/$defs/KineticsInput" + }, + "name": { + "anyOf": [ + { + "minLength": 1, + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Name" + }, + "neutral_reference": { + "enum": [ + "all_occupancies", + "empty", + "filled", + "unresolved" + ], + "title": "Neutral Reference", + "type": "string" + }, + "spatial_profile": { + "anyOf": [ + { + "$ref": "#/$defs/SpatialProfileInput" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "id", + "distribution", + "charge_transition", + "neutral_reference", + "kinetics", + "degeneracy" + ], + "title": "BulkDefectInput", + "type": "object" + }, + "CigsOpticsInput": { + "additionalProperties": false, + "description": "GGI endpoints follow the layer's electrical grading coordinate.\n\nAbsent model, slice and quadrature values are supplied by the injected catalog,\ncompiled from the existing model declaration. None is never a numeric default.", + "properties": { + "cgi": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Cgi", + "unit": "1" + }, + "ggi_back": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Ggi Back", + "unit": "1" + }, + "ggi_front": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Ggi Front", + "unit": "1" + }, + "kk_quadrature_order": { + "anyOf": [ + { + "maximum": 2048, + "minimum": 48, + "type": "integer" + } + ], + "title": "Kk Quadrature Order" + }, + "model": { + "anyOf": [ + { + "const": "minoura_2015", + "type": "string" + } + ], + "title": "Model" + }, + "slices": { + "anyOf": [ + { + "maximum": 512, + "minimum": 1, + "type": "integer" + } + ], + "title": "Slices" + } + }, + "required": [ + "ggi_front", + "ggi_back", + "cgi" + ], + "title": "CigsOpticsInput", + "type": "object" + }, + "DistributionInput": { + "additionalProperties": false, + "properties": { + "center_eV_above_vb": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": false, + "title": "Center Ev Above Vb", + "unit": "eV" + }, + "energy_reference": { + "anyOf": [ + { + "const": "above_valence_band", + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Energy Reference" + }, + "kind": { + "enum": [ + "single_level", + "gaussian", + "uniform", + "conduction_band_tail", + "valence_band_tail" + ], + "title": "Kind", + "type": "string" + }, + "normalization": { + "const": "integrated_total", + "title": "Normalization", + "type": "string" + }, + "support_width_multiplier": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": true, + "title": "Support Width Multiplier", + "unit": "1" + }, + "total_density_m3": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Total Density M3", + "unit": "m^-3" + }, + "width_convention": { + "anyOf": [ + { + "enum": [ + "not_applicable", + "gaussian_standard_deviation", + "scaps_characteristic_energy", + "uniform_full_width", + "unresolved" + ], + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Width Convention" + }, + "width_eV": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": true, + "title": "Width Ev", + "unit": "eV" + } + }, + "required": [ + "kind", + "normalization", + "total_density_m3" + ], + "title": "DistributionInput", + "type": "object" + }, + "EnergyLevelInput": { + "additionalProperties": false, + "properties": { + "reference": { + "enum": [ + "below_conduction_band", + "above_valence_band" + ], + "title": "Reference", + "type": "string" + }, + "value_eV": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Value Ev", + "unit": "eV" + } + }, + "required": [ + "reference", + "value_eV" + ], + "title": "EnergyLevelInput", + "type": "object" + }, + "FullParameterInput": { + "additionalProperties": false, + "properties": { + "A_star_n": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "A Star N", + "unit": "A/(m^2 K^2)" + }, + "A_star_p": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "A Star P", + "unit": "A/(m^2 K^2)" + }, + "B_rad": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "B Rad", + "unit": "m^3/s" + }, + "B_rad_T_gamma": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": false, + "nullable": false, + "positive": false, + "title": "B Rad T Gamma", + "unit": "1" + }, + "C_n": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "C N", + "unit": "m^6/s" + }, + "C_p": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "C P", + "unit": "m^6/s" + }, + "D_ion": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "D Ion", + "unit": "m^2/s" + }, + "D_ion_neg": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "D Ion Neg", + "unit": "m^2/s" + }, + "E_a_ion": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "E A Ion", + "unit": "eV" + }, + "Eg": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "Eg", + "unit": "eV" + }, + "Eg_back": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": false, + "title": "Eg Back", + "unit": "eV" + }, + "N_A": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "N A", + "unit": "m^-3" + }, + "N_A_bulk": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": false, + "title": "N A Bulk", + "unit": "m^-3" + }, + "N_D": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "N D", + "unit": "m^-3" + }, + "N_D_bulk": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": false, + "title": "N D Bulk", + "unit": "m^-3" + }, + "Nc300": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": true, + "title": "Nc300", + "unit": "m^-3" + }, + "Nv300": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": true, + "title": "Nv300", + "unit": "m^-3" + }, + "P0": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "P0", + "unit": "m^-3" + }, + "P0_neg": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "P0 Neg", + "unit": "m^-3" + }, + "P_lim": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "P Lim", + "unit": "m^-3" + }, + "P_lim_neg": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "P Lim Neg", + "unit": "m^-3" + }, + "acceptor_binding_energy_eV": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": false, + "title": "Acceptor Binding Energy Ev", + "unit": "eV" + }, + "acceptor_degeneracy": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Acceptor Degeneracy", + "unit": "1" + }, + "alpha": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "Alpha", + "unit": "m^-1" + }, + "band_gap_narrowing_model": { + "anyOf": [ + { + "enum": [ + "off", + "slotboom" + ], + "type": "string" + } + ], + "title": "Band Gap Narrowing Model" + }, + "bgn_conduction_band_fraction": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Bgn Conduction Band Fraction", + "unit": "1" + }, + "bgn_log_shape": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Bgn Log Shape", + "unit": "1" + }, + "bgn_reference_density_m3": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Bgn Reference Density M3", + "unit": "m^-3" + }, + "bgn_reference_energy_eV": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Bgn Reference Energy Ev", + "unit": "eV" + }, + "carrier_statistics": { + "anyOf": [ + { + "enum": [ + "maxwell_boltzmann", + "fermi_dirac" + ], + "type": "string" + } + ], + "title": "Carrier Statistics" + }, + "chi": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": false, + "positive": false, + "title": "Chi", + "unit": "eV" + }, + "chi_back": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": false, + "nullable": true, + "positive": false, + "title": "Chi Back", + "unit": "eV" + }, + "ct_beta_n": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Ct Beta N", + "unit": "1" + }, + "ct_beta_p": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Ct Beta P", + "unit": "1" + }, + "donor_binding_energy_eV": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": false, + "title": "Donor Binding Energy Ev", + "unit": "eV" + }, + "donor_degeneracy": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Donor Degeneracy", + "unit": "1" + }, + "dopant_ionization_model": { + "anyOf": [ + { + "enum": [ + "fully_ionized", + "discrete_level" + ], + "type": "string" + } + ], + "title": "Dopant Ionization Model" + }, + "doping_decay_length": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": true, + "title": "Doping Decay Length", + "unit": "m" + }, + "doping_edge": { + "anyOf": [ + { + "enum": [ + "front", + "back" + ], + "type": "string" + } + ], + "title": "Doping Edge" + }, + "doping_profile_shape": { + "anyOf": [ + { + "const": "gaussian", + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Doping Profile Shape" + }, + "eps_r": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": true, + "title": "Eps R", + "unit": "1" + }, + "grading_N_mult": { + "anyOf": [ + { + "exclusiveMinimum": 0, + "type": "integer" + } + ], + "title": "Grading N Mult" + }, + "grading_bowing": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": false, + "nullable": false, + "positive": false, + "title": "Grading Bowing", + "unit": "eV" + }, + "grading_char_length": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": true, + "title": "Grading Char Length", + "unit": "m" + }, + "grading_direction": { + "anyOf": [ + { + "enum": [ + "front_to_back", + "back_to_front" + ], + "type": "string" + } + ], + "title": "Grading Direction" + }, + "grading_profile": { + "anyOf": [ + { + "enum": [ + "linear", + "parabolic", + "exponential" + ], + "type": "string" + } + ], + "title": "Grading Profile" + }, + "incoherent": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Incoherent" + }, + "mu_T_gamma": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": false, + "nullable": false, + "positive": false, + "title": "Mu T Gamma", + "unit": "1" + }, + "mu_n": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "Mu N", + "unit": "m^2/(V s)" + }, + "mu_p": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "Mu P", + "unit": "m^2/(V s)" + }, + "n1": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "N1", + "unit": "m^-3" + }, + "n_optical": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": true, + "title": "N Optical", + "unit": "1" + }, + "ni": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "Ni", + "unit": "m^-3" + }, + "optical_material": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Optical Material" + }, + "p1": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "P1", + "unit": "m^-3" + }, + "pf_gamma_n": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Pf Gamma N", + "unit": "(m/V)^0.5" + }, + "pf_gamma_p": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Pf Gamma P", + "unit": "(m/V)^0.5" + }, + "tau_n": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": true, + "title": "Tau N", + "unit": "s" + }, + "tau_p": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": true, + "title": "Tau P", + "unit": "s" + }, + "trap_N_t_bulk": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": false, + "title": "Trap N T Bulk", + "unit": "m^-3" + }, + "trap_N_t_interface": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": false, + "title": "Trap N T Interface", + "unit": "m^-3" + }, + "trap_decay_length": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": false, + "title": "Trap Decay Length", + "unit": "m" + }, + "trap_edge": { + "anyOf": [ + { + "enum": [ + "both", + "left", + "right" + ], + "type": "string" + } + ], + "title": "Trap Edge" + }, + "trap_profile_shape": { + "anyOf": [ + { + "enum": [ + "exponential", + "gaussian" + ], + "type": "string" + } + ], + "title": "Trap Profile Shape" + }, + "v_sat_n": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "V Sat N", + "unit": "m/s" + }, + "v_sat_p": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "V Sat P", + "unit": "m/s" + }, + "v_th": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "V Th", + "unit": "m/s" + }, + "varshni_alpha": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": false, + "nullable": false, + "positive": false, + "title": "Varshni Alpha", + "unit": "eV/K" + }, + "varshni_beta": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Varshni Beta", + "unit": "K" + } + }, + "title": "FullParameterInput", + "type": "object" + }, + "KineticsInput": { + "additionalProperties": false, + "properties": { + "sigma_n_m2": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Sigma N M2", + "unit": "m^2" + }, + "sigma_p_m2": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Sigma P M2", + "unit": "m^2" + }, + "thermal_velocity_n_m_s": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Thermal Velocity N M S", + "unit": "m/s" + }, + "thermal_velocity_p_m_s": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Thermal Velocity P M S", + "unit": "m/s" + } + }, + "required": [ + "sigma_n_m2", + "sigma_p_m2", + "thermal_velocity_n_m_s", + "thermal_velocity_p_m_s" + ], + "title": "KineticsInput", + "type": "object" + }, + "LegacyBulkTrapInput": { + "additionalProperties": false, + "properties": { + "center_eV_above_vb": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Center Ev Above Vb", + "unit": "eV" + }, + "charge_transition": { + "enum": [ + "acceptor", + "donor" + ], + "title": "Charge Transition", + "type": "string" + }, + "distribution": { + "enum": [ + "single_level", + "gaussian" + ], + "title": "Distribution", + "type": "string" + }, + "energy_sigma_eV": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Energy Sigma Ev", + "unit": "eV" + }, + "sigma_n_m2": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Sigma N M2", + "unit": "m^2" + }, + "sigma_p_m2": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Sigma P M2", + "unit": "m^2" + }, + "thermal_velocity_m_s": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Thermal Velocity M S", + "unit": "m/s" + }, + "total_density_m3": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Total Density M3", + "unit": "m^-3" + } + }, + "required": [ + "distribution", + "total_density_m3", + "center_eV_above_vb", + "sigma_n_m2", + "sigma_p_m2", + "thermal_velocity_m_s", + "charge_transition" + ], + "title": "LegacyBulkTrapInput", + "type": "object" + }, + "MetastableConversionInput": { + "additionalProperties": false, + "properties": { + "capture_n_m3_s": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Capture N M3 S", + "unit": "m^3/s" + }, + "capture_p_m3_s": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Capture P M3 S", + "unit": "m^3/s" + }, + "electron_capture_activation_eV": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Electron Capture Activation Ev", + "unit": "eV" + }, + "electron_capture_path": { + "enum": [ + "double_electron_capture", + "electron_capture_plus_hole_emission" + ], + "title": "Electron Capture Path", + "type": "string" + }, + "electron_emission_activation_eV": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Electron Emission Activation Ev", + "unit": "eV" + }, + "hole_capture_activation_eV": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Hole Capture Activation Ev", + "unit": "eV" + }, + "hole_capture_path": { + "enum": [ + "double_hole_capture", + "hole_capture_plus_electron_emission" + ], + "title": "Hole Capture Path", + "type": "string" + }, + "hole_emission_activation_eV": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Hole Emission Activation Ev", + "unit": "eV" + }, + "phonon_frequency_Hz": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Phonon Frequency Hz", + "unit": "Hz" + }, + "transition_energy_eV_above_vb": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Transition Energy Ev Above Vb", + "unit": "eV" + } + }, + "required": [ + "transition_energy_eV_above_vb", + "electron_capture_activation_eV", + "electron_emission_activation_eV", + "hole_capture_activation_eV", + "hole_emission_activation_eV", + "electron_capture_path", + "hole_capture_path", + "capture_n_m3_s", + "capture_p_m3_s", + "phonon_frequency_Hz" + ], + "title": "MetastableConversionInput", + "type": "object" + }, + "MetastableDefectInput": { + "additionalProperties": false, + "properties": { + "acceptor_configuration": { + "$ref": "#/$defs/MultivalentConfigurationInput" + }, + "acceptor_conversion_state_index": { + "minimum": 0, + "title": "Acceptor Conversion State Index", + "type": "integer" + }, + "conversion_kinetics": { + "$ref": "#/$defs/MetastableConversionInput" + }, + "donor_configuration": { + "$ref": "#/$defs/MultivalentConfigurationInput" + }, + "donor_conversion_state_index": { + "minimum": 0, + "title": "Donor Conversion State Index", + "type": "integer" + }, + "id": { + "pattern": "^[A-Za-z_][A-Za-z0-9_.:-]*$", + "title": "Id", + "type": "string" + }, + "name": { + "minLength": 1, + "title": "Name", + "type": "string" + }, + "total_density_m3": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Total Density M3", + "unit": "m^-3" + } + }, + "required": [ + "id", + "name", + "total_density_m3", + "donor_configuration", + "acceptor_configuration", + "donor_conversion_state_index", + "acceptor_conversion_state_index", + "conversion_kinetics" + ], + "title": "MetastableDefectInput", + "type": "object" + }, + "MetastableDocumentInput": { + "additionalProperties": false, + "properties": { + "defect_model": { + "const": "explicit_metastable_frozen", + "title": "Defect Model", + "type": "string" + }, + "metastable_defects": { + "items": { + "$ref": "#/$defs/MetastableDefectInput" + }, + "title": "Metastable Defects", + "type": "array" + }, + "schema_version": { + "const": "solarlab-metastable-bulk-defects-v1", + "title": "Schema Version", + "type": "string" + } + }, + "required": [ + "schema_version", + "defect_model", + "metastable_defects" + ], + "title": "MetastableDocumentInput", + "type": "object" + }, + "MetastableNumericsInput": { + "additionalProperties": false, + "properties": { + "clamping_factor": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Clamping Factor", + "unit": "1" + }, + "final_unclamped_refinement": { + "const": true, + "title": "Final Unclamped Refinement", + "type": "boolean" + }, + "initial_donor_fraction_guess": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Initial Donor Fraction Guess", + "unit": "1" + }, + "max_iterations": { + "exclusiveMinimum": 0, + "title": "Max Iterations", + "type": "integer" + }, + "relative_tolerance": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Relative Tolerance", + "unit": "1" + } + }, + "required": [ + "initial_donor_fraction_guess", + "max_iterations", + "relative_tolerance", + "clamping_factor", + "final_unclamped_refinement" + ], + "title": "MetastableNumericsInput", + "type": "object" + }, + "MetastablePreparationInput": { + "additionalProperties": false, + "properties": { + "configuration_freeze_stage": { + "const": "after_stationary_preparation_before_measurement", + "title": "Configuration Freeze Stage", + "type": "string" + }, + "freeze_configuration_during_measurement": { + "const": true, + "title": "Freeze Configuration During Measurement", + "type": "boolean" + }, + "illumination_continuation_steps": { + "minimum": 0, + "title": "Illumination Continuation Steps", + "type": "integer" + }, + "measurement_protocol_sha256": { + "pattern": "^[0-9a-f]{64}$", + "title": "Measurement Protocol Sha256", + "type": "string" + }, + "measurement_temperature_K": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Measurement Temperature K", + "unit": "K" + }, + "numerics": { + "$ref": "#/$defs/MetastableNumericsInput" + }, + "preparation_illumination_suns": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Preparation Illumination Suns", + "unit": "1" + }, + "preparation_limit": { + "const": "stationary_infinite_time", + "title": "Preparation Limit", + "type": "string" + }, + "preparation_temperature_K": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Preparation Temperature K", + "unit": "K" + }, + "preparation_voltage_V": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": false, + "nullable": false, + "positive": false, + "title": "Preparation Voltage V", + "unit": "V" + }, + "schema_version": { + "const": "solarlab-metastable-preparation-v1", + "title": "Schema Version", + "type": "string" + }, + "voltage_continuation_steps": { + "minimum": 0, + "title": "Voltage Continuation Steps", + "type": "integer" + } + }, + "required": [ + "schema_version", + "preparation_limit", + "preparation_temperature_K", + "preparation_voltage_V", + "preparation_illumination_suns", + "voltage_continuation_steps", + "illumination_continuation_steps", + "measurement_temperature_K", + "configuration_freeze_stage", + "freeze_configuration_during_measurement", + "measurement_protocol_sha256", + "numerics" + ], + "title": "MetastablePreparationInput", + "type": "object" + }, + "MultivalentConfigurationInput": { + "additionalProperties": false, + "properties": { + "charge_states_e": { + "items": { + "type": "integer" + }, + "title": "Charge States E", + "type": "array" + }, + "degeneracy_convention": { + "enum": [ + "scaps_binomial", + "unity", + "explicit" + ], + "title": "Degeneracy Convention", + "type": "string" + }, + "energy_levels": { + "$ref": "#/$defs/MultivalentEnergyInput" + }, + "family": { + "enum": [ + "single_donor", + "single_acceptor", + "double_donor", + "double_acceptor", + "amphoteric", + "custom_multilevel" + ], + "title": "Family", + "type": "string" + }, + "state_degeneracies": { + "item_positive": true, + "item_unit": "1", + "items": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ] + }, + "title": "State Degeneracies", + "type": "array" + }, + "transition_kinetics": { + "items": { + "$ref": "#/$defs/KineticsInput" + }, + "title": "Transition Kinetics", + "type": "array" + } + }, + "required": [ + "family", + "charge_states_e", + "degeneracy_convention", + "state_degeneracies", + "energy_levels", + "transition_kinetics" + ], + "title": "MultivalentConfigurationInput", + "type": "object" + }, + "MultivalentDefectInput": { + "additionalProperties": false, + "properties": { + "configuration": { + "$ref": "#/$defs/MultivalentConfigurationInput" + }, + "id": { + "pattern": "^[A-Za-z_][A-Za-z0-9_.:-]*$", + "title": "Id", + "type": "string" + }, + "name": { + "minLength": 1, + "title": "Name", + "type": "string" + }, + "total_density_m3": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Total Density M3", + "unit": "m^-3" + } + }, + "required": [ + "id", + "name", + "total_density_m3", + "configuration" + ], + "title": "MultivalentDefectInput", + "type": "object" + }, + "MultivalentEnergyInput": { + "additionalProperties": false, + "properties": { + "correlation_energies_eV": { + "item_unit": "eV", + "items": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ] + }, + "title": "Correlation Energies Ev", + "type": "array" + }, + "energy_reference": { + "const": "above_valence_band", + "title": "Energy Reference", + "type": "string" + }, + "first_transition_eV_above_vb": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "First Transition Ev Above Vb", + "unit": "eV" + } + }, + "required": [ + "first_transition_eV_above_vb", + "correlation_energies_eV", + "energy_reference" + ], + "title": "MultivalentEnergyInput", + "type": "object" + }, + "ScapsDefectMetadataInput": { + "additionalProperties": false, + "description": "Preserved partner metadata; a Gaussian note is not a qualified closure.", + "properties": { + "E_char_eV": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": true, + "title": "E Char Ev", + "unit": "eV" + }, + "N_peak_m3": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": false, + "title": "N Peak M3", + "unit": "m^-3" + }, + "defect_id": { + "pattern": "^[A-Za-z_][A-Za-z0-9_.:-]*$", + "title": "Defect Id", + "type": "string" + }, + "distribution": { + "enum": [ + "single", + "gaussian" + ], + "title": "Distribution", + "type": "string" + }, + "energy_reference": { + "enum": [ + "below_conduction_band", + "above_valence_band" + ], + "title": "Energy Reference", + "type": "string" + }, + "trap_depth_eV": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Trap Depth Ev", + "unit": "eV" + } + }, + "required": [ + "distribution", + "energy_reference", + "trap_depth_eV", + "defect_id" + ], + "title": "ScapsDefectMetadataInput", + "type": "object" + }, + "SpatialKnotInput": { + "additionalProperties": false, + "properties": { + "density_multiplier": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Density Multiplier", + "unit": "1" + }, + "position_fraction": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Position Fraction", + "unit": "1" + } + }, + "required": [ + "position_fraction", + "density_multiplier" + ], + "title": "SpatialKnotInput", + "type": "object" + }, + "SpatialProfileInput": { + "additionalProperties": false, + "properties": { + "coordinate": { + "const": "normalized_layer_coordinate", + "title": "Coordinate", + "type": "string" + }, + "density_normalization": { + "const": "layer_average_unity", + "title": "Density Normalization", + "type": "string" + }, + "interpolation": { + "const": "piecewise_linear", + "title": "Interpolation", + "type": "string" + }, + "knots": { + "items": { + "$ref": "#/$defs/SpatialKnotInput" + }, + "title": "Knots", + "type": "array" + } + }, + "required": [ + "coordinate", + "interpolation", + "density_normalization", + "knots" + ], + "title": "SpatialProfileInput", + "type": "object" + } + }, + "additionalProperties": false, + "properties": { + "bulk_defects": { + "default": [], + "items": { + "anyOf": [ + { + "$ref": "#/$defs/BulkDefectInput" + }, + { + "$ref": "#/$defs/MultivalentDefectInput" + } + ] + }, + "title": "Bulk Defects", + "type": "array" + }, + "bulk_trap_distribution": { + "anyOf": [ + { + "$ref": "#/$defs/LegacyBulkTrapInput" + }, + { + "type": "null" + } + ] + }, + "cigs_graded_optics": { + "anyOf": [ + { + "$ref": "#/$defs/CigsOpticsInput" + }, + { + "type": "null" + } + ] + }, + "defect_model": { + "anyOf": [ + { + "enum": [ + "effective_lifetime", + "explicit_quasi_steady" + ], + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Defect Model" + }, + "defect_schema_version": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Defect Schema Version" + }, + "id": { + "pattern": "^[A-Za-z_][A-Za-z0-9_.:-]*$", + "title": "Id", + "type": "string" + }, + "material": { + "anyOf": [ + { + "pattern": "^[A-Za-z_][A-Za-z0-9_.:-]*$", + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Material" + }, + "metastable_document": { + "anyOf": [ + { + "$ref": "#/$defs/MetastableDocumentInput" + }, + { + "type": "null" + } + ] + }, + "metastable_preparation": { + "anyOf": [ + { + "$ref": "#/$defs/MetastablePreparationInput" + }, + { + "type": "null" + } + ] + }, + "name": { + "minLength": 1, + "title": "Name", + "type": "string" + }, + "parameterization": { + "default": "standard", + "enum": [ + "standard", + "scaps" + ], + "title": "Parameterization", + "type": "string" + }, + "parameters": { + "$ref": "#/$defs/FullParameterInput" + }, + "role": { + "minLength": 1, + "title": "Role", + "type": "string" + }, + "scaps_defect_metadata": { + "default": [], + "items": { + "$ref": "#/$defs/ScapsDefectMetadataInput" + }, + "title": "Scaps Defect Metadata", + "type": "array" + }, + "thickness": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Thickness", + "unit": "m" + } + }, + "required": [ + "id", + "name", + "role", + "thickness" + ], + "title": "FullLayerInput", + "type": "object" + } + }, + "FullParameterInput": { + "python_type": "solarlab.materials.full_parameters:FullParameterInput", + "representation": "editable_input", + "schema": { + "additionalProperties": false, + "properties": { + "A_star_n": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "A Star N", + "unit": "A/(m^2 K^2)" + }, + "A_star_p": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "A Star P", + "unit": "A/(m^2 K^2)" + }, + "B_rad": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "B Rad", + "unit": "m^3/s" + }, + "B_rad_T_gamma": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": false, + "nullable": false, + "positive": false, + "title": "B Rad T Gamma", + "unit": "1" + }, + "C_n": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "C N", + "unit": "m^6/s" + }, + "C_p": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "C P", + "unit": "m^6/s" + }, + "D_ion": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "D Ion", + "unit": "m^2/s" + }, + "D_ion_neg": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "D Ion Neg", + "unit": "m^2/s" + }, + "E_a_ion": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "E A Ion", + "unit": "eV" + }, + "Eg": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "Eg", + "unit": "eV" + }, + "Eg_back": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": false, + "title": "Eg Back", + "unit": "eV" + }, + "N_A": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "N A", + "unit": "m^-3" + }, + "N_A_bulk": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": false, + "title": "N A Bulk", + "unit": "m^-3" + }, + "N_D": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "N D", + "unit": "m^-3" + }, + "N_D_bulk": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": false, + "title": "N D Bulk", + "unit": "m^-3" + }, + "Nc300": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": true, + "title": "Nc300", + "unit": "m^-3" + }, + "Nv300": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": true, + "title": "Nv300", + "unit": "m^-3" + }, + "P0": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "P0", + "unit": "m^-3" + }, + "P0_neg": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "P0 Neg", + "unit": "m^-3" + }, + "P_lim": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "P Lim", + "unit": "m^-3" + }, + "P_lim_neg": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "P Lim Neg", + "unit": "m^-3" + }, + "acceptor_binding_energy_eV": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": false, + "title": "Acceptor Binding Energy Ev", + "unit": "eV" + }, + "acceptor_degeneracy": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Acceptor Degeneracy", + "unit": "1" + }, + "alpha": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "Alpha", + "unit": "m^-1" + }, + "band_gap_narrowing_model": { + "anyOf": [ + { + "enum": [ + "off", + "slotboom" + ], + "type": "string" + } + ], + "title": "Band Gap Narrowing Model" + }, + "bgn_conduction_band_fraction": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Bgn Conduction Band Fraction", + "unit": "1" + }, + "bgn_log_shape": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Bgn Log Shape", + "unit": "1" + }, + "bgn_reference_density_m3": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Bgn Reference Density M3", + "unit": "m^-3" + }, + "bgn_reference_energy_eV": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Bgn Reference Energy Ev", + "unit": "eV" + }, + "carrier_statistics": { + "anyOf": [ + { + "enum": [ + "maxwell_boltzmann", + "fermi_dirac" + ], + "type": "string" + } + ], + "title": "Carrier Statistics" + }, + "chi": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": false, + "positive": false, + "title": "Chi", + "unit": "eV" + }, + "chi_back": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": false, + "nullable": true, + "positive": false, + "title": "Chi Back", + "unit": "eV" + }, + "ct_beta_n": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Ct Beta N", + "unit": "1" + }, + "ct_beta_p": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Ct Beta P", + "unit": "1" + }, + "donor_binding_energy_eV": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": false, + "title": "Donor Binding Energy Ev", + "unit": "eV" + }, + "donor_degeneracy": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Donor Degeneracy", + "unit": "1" + }, + "dopant_ionization_model": { + "anyOf": [ + { + "enum": [ + "fully_ionized", + "discrete_level" + ], + "type": "string" + } + ], + "title": "Dopant Ionization Model" + }, + "doping_decay_length": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": true, + "title": "Doping Decay Length", + "unit": "m" + }, + "doping_edge": { + "anyOf": [ + { + "enum": [ + "front", + "back" + ], + "type": "string" + } + ], + "title": "Doping Edge" + }, + "doping_profile_shape": { + "anyOf": [ + { + "const": "gaussian", + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Doping Profile Shape" + }, + "eps_r": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": true, + "title": "Eps R", + "unit": "1" + }, + "grading_N_mult": { + "anyOf": [ + { + "exclusiveMinimum": 0, + "type": "integer" + } + ], + "title": "Grading N Mult" + }, + "grading_bowing": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": false, + "nullable": false, + "positive": false, + "title": "Grading Bowing", + "unit": "eV" + }, + "grading_char_length": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": true, + "title": "Grading Char Length", + "unit": "m" + }, + "grading_direction": { + "anyOf": [ + { + "enum": [ + "front_to_back", + "back_to_front" + ], + "type": "string" + } + ], + "title": "Grading Direction" + }, + "grading_profile": { + "anyOf": [ + { + "enum": [ + "linear", + "parabolic", + "exponential" + ], + "type": "string" + } + ], + "title": "Grading Profile" + }, + "incoherent": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Incoherent" + }, + "mu_T_gamma": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": false, + "nullable": false, + "positive": false, + "title": "Mu T Gamma", + "unit": "1" + }, + "mu_n": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "Mu N", + "unit": "m^2/(V s)" + }, + "mu_p": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "Mu P", + "unit": "m^2/(V s)" + }, + "n1": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "N1", + "unit": "m^-3" + }, + "n_optical": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": true, + "title": "N Optical", + "unit": "1" + }, + "ni": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "Ni", + "unit": "m^-3" + }, + "optical_material": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Optical Material" + }, + "p1": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "P1", + "unit": "m^-3" + }, + "pf_gamma_n": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Pf Gamma N", + "unit": "(m/V)^0.5" + }, + "pf_gamma_p": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Pf Gamma P", + "unit": "(m/V)^0.5" + }, + "tau_n": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": true, + "title": "Tau N", + "unit": "s" + }, + "tau_p": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": true, + "title": "Tau P", + "unit": "s" + }, + "trap_N_t_bulk": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": false, + "title": "Trap N T Bulk", + "unit": "m^-3" + }, + "trap_N_t_interface": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": false, + "title": "Trap N T Interface", + "unit": "m^-3" + }, + "trap_decay_length": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": false, + "title": "Trap Decay Length", + "unit": "m" + }, + "trap_edge": { + "anyOf": [ + { + "enum": [ + "both", + "left", + "right" + ], + "type": "string" + } + ], + "title": "Trap Edge" + }, + "trap_profile_shape": { + "anyOf": [ + { + "enum": [ + "exponential", + "gaussian" + ], + "type": "string" + } + ], + "title": "Trap Profile Shape" + }, + "v_sat_n": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "V Sat N", + "unit": "m/s" + }, + "v_sat_p": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "V Sat P", + "unit": "m/s" + }, + "v_th": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "V Th", + "unit": "m/s" + }, + "varshni_alpha": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": false, + "nullable": false, + "positive": false, + "title": "Varshni Alpha", + "unit": "eV/K" + }, + "varshni_beta": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Varshni Beta", + "unit": "K" + } + }, + "title": "FullParameterInput", + "type": "object" + } + }, + "InterfaceInput": { + "python_type": "solarlab.device.inputs:InterfaceInput", + "representation": "editable_input", + "schema": { + "$defs": { + "InterfaceDefectInput": { + "additionalProperties": false, + "properties": { + "calibration_factor": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Calibration Factor", + "unit": "1" + }, + "energy_reference": { + "enum": [ + "below_conduction_band", + "above_valence_band" + ], + "title": "Energy Reference", + "type": "string" + }, + "id": { + "pattern": "^[A-Za-z_][A-Za-z0-9_.:-]*$", + "title": "Id", + "type": "string" + }, + "iface_state_calibration_factor": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Iface State Calibration Factor", + "unit": "1" + }, + "kinetics": { + "$ref": "#/$defs/KineticsInput" + }, + "partner_metadata": { + "anyOf": [ + { + "$ref": "#/$defs/ScapsDefectMetadataInput" + }, + { + "type": "null" + } + ] + }, + "total_density_m2": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Total Density M2", + "unit": "m^-2" + }, + "trap_depth_eV": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Trap Depth Ev", + "unit": "eV" + } + }, + "required": [ + "id", + "trap_depth_eV", + "energy_reference", + "total_density_m2", + "kinetics", + "calibration_factor", + "iface_state_calibration_factor" + ], + "title": "InterfaceDefectInput", + "type": "object" + }, + "KineticsInput": { + "additionalProperties": false, + "properties": { + "sigma_n_m2": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Sigma N M2", + "unit": "m^2" + }, + "sigma_p_m2": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Sigma P M2", + "unit": "m^2" + }, + "thermal_velocity_n_m_s": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Thermal Velocity N M S", + "unit": "m/s" + }, + "thermal_velocity_p_m_s": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Thermal Velocity P M S", + "unit": "m/s" + } + }, + "required": [ + "sigma_n_m2", + "sigma_p_m2", + "thermal_velocity_n_m_s", + "thermal_velocity_p_m_s" + ], + "title": "KineticsInput", + "type": "object" + }, + "ScapsDefectMetadataInput": { + "additionalProperties": false, + "description": "Preserved partner metadata; a Gaussian note is not a qualified closure.", + "properties": { + "E_char_eV": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": true, + "title": "E Char Ev", + "unit": "eV" + }, + "N_peak_m3": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": false, + "title": "N Peak M3", + "unit": "m^-3" + }, + "defect_id": { + "pattern": "^[A-Za-z_][A-Za-z0-9_.:-]*$", + "title": "Defect Id", + "type": "string" + }, + "distribution": { + "enum": [ + "single", + "gaussian" + ], + "title": "Distribution", + "type": "string" + }, + "energy_reference": { + "enum": [ + "below_conduction_band", + "above_valence_band" + ], + "title": "Energy Reference", + "type": "string" + }, + "trap_depth_eV": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Trap Depth Ev", + "unit": "eV" + } + }, + "required": [ + "distribution", + "energy_reference", + "trap_depth_eV", + "defect_id" + ], + "title": "ScapsDefectMetadataInput", + "type": "object" + } + }, + "additionalProperties": false, + "properties": { + "defect": { + "anyOf": [ + { + "$ref": "#/$defs/InterfaceDefectInput" + }, + { + "type": "null" + } + ] + }, + "id": { + "pattern": "^[A-Za-z_][A-Za-z0-9_.:-]*$", + "title": "Id", + "type": "string" + }, + "left": { + "pattern": "^[A-Za-z_][A-Za-z0-9_.:-]*$", + "title": "Left", + "type": "string" + }, + "right": { + "pattern": "^[A-Za-z_][A-Za-z0-9_.:-]*$", + "title": "Right", + "type": "string" + }, + "v_n": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": false, + "title": "V N", + "unit": "m/s" + }, + "v_p": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": false, + "title": "V P", + "unit": "m/s" + } + }, + "required": [ + "id", + "left", + "right" + ], + "title": "InterfaceInput", + "type": "object" + } + }, + "JVExperimentInput": { + "python_type": "solarlab.experiments.jv.inputs:JVExperimentInput", + "representation": "editable_input", + "schema": { + "$defs": { + "BandToBandInput": { + "additionalProperties": false, + "properties": { + "enabled": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Enabled" + }, + "energy_quadrature_order": { + "anyOf": [ + { + "minimum": 4, + "type": "integer" + } + ], + "title": "Energy Quadrature Order" + }, + "minimum_field_V_m": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Minimum Field V M", + "unit": "V/m" + }, + "reduced_effective_mass_rel": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Reduced Effective Mass Rel", + "unit": "1" + } + }, + "title": "BandToBandInput", + "type": "object" + }, + "BulkDefectInput": { + "additionalProperties": false, + "properties": { + "charge_transition": { + "enum": [ + "neutral", + "acceptor", + "donor", + "unresolved" + ], + "title": "Charge Transition", + "type": "string" + }, + "degeneracy": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Degeneracy", + "unit": "1" + }, + "distribution": { + "$ref": "#/$defs/DistributionInput" + }, + "energy_level": { + "anyOf": [ + { + "$ref": "#/$defs/EnergyLevelInput" + }, + { + "type": "null" + } + ] + }, + "id": { + "pattern": "^[A-Za-z_][A-Za-z0-9_.:-]*$", + "title": "Id", + "type": "string" + }, + "kinetics": { + "$ref": "#/$defs/KineticsInput" + }, + "name": { + "anyOf": [ + { + "minLength": 1, + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Name" + }, + "neutral_reference": { + "enum": [ + "all_occupancies", + "empty", + "filled", + "unresolved" + ], + "title": "Neutral Reference", + "type": "string" + }, + "spatial_profile": { + "anyOf": [ + { + "$ref": "#/$defs/SpatialProfileInput" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "id", + "distribution", + "charge_transition", + "neutral_reference", + "kinetics", + "degeneracy" + ], + "title": "BulkDefectInput", + "type": "object" + }, + "CigsOpticsInput": { + "additionalProperties": false, + "description": "GGI endpoints follow the layer's electrical grading coordinate.\n\nAbsent model, slice and quadrature values are supplied by the injected catalog,\ncompiled from the existing model declaration. None is never a numeric default.", + "properties": { + "cgi": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Cgi", + "unit": "1" + }, + "ggi_back": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Ggi Back", + "unit": "1" + }, + "ggi_front": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Ggi Front", + "unit": "1" + }, + "kk_quadrature_order": { + "anyOf": [ + { + "maximum": 2048, + "minimum": 48, + "type": "integer" + } + ], + "title": "Kk Quadrature Order" + }, + "model": { + "anyOf": [ + { + "const": "minoura_2015", + "type": "string" + } + ], + "title": "Model" + }, + "slices": { + "anyOf": [ + { + "maximum": 512, + "minimum": 1, + "type": "integer" + } + ], + "title": "Slices" + } + }, + "required": [ + "ggi_front", + "ggi_back", + "cgi" + ], + "title": "CigsOpticsInput", + "type": "object" + }, + "ContactInput": { + "additionalProperties": false, + "properties": { + "S_n": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": false, + "title": "S N", + "unit": "m/s" + }, + "S_p": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": false, + "title": "S P", + "unit": "m/s" + }, + "id": { + "pattern": "^[A-Za-z_][A-Za-z0-9_.:-]*$", + "title": "Id", + "type": "string" + }, + "layer": { + "pattern": "^[A-Za-z_][A-Za-z0-9_.:-]*$", + "title": "Layer", + "type": "string" + }, + "side": { + "enum": [ + "left", + "right" + ], + "title": "Side", + "type": "string" + } + }, + "required": [ + "id", + "side", + "layer" + ], + "title": "ContactInput", + "type": "object" + }, + "ContactTunnellingInput": { + "additionalProperties": false, + "properties": { + "barrier_height_eV": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Barrier Height Ev", + "unit": "eV" + }, + "electron_effective_mass_rel": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Electron Effective Mass Rel", + "unit": "1" + }, + "enabled": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Enabled" + }, + "energy_quadrature_order": { + "anyOf": [ + { + "minimum": 4, + "type": "integer" + } + ], + "title": "Energy Quadrature Order" + }, + "hole_effective_mass_rel": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Hole Effective Mass Rel", + "unit": "1" + }, + "side": { + "anyOf": [ + { + "enum": [ + "both", + "left", + "right" + ], + "type": "string" + } + ], + "title": "Side" + } + }, + "title": "ContactTunnellingInput", + "type": "object" + }, + "DarkJVInput": { + "additionalProperties": false, + "properties": { + "N_grid": { + "anyOf": [ + { + "minimum": 3, + "type": "integer" + } + ], + "title": "Requested electrical grid allocation" + }, + "V_max": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": false, + "nullable": false, + "positive": false, + "title": "V Max", + "unit": "V" + }, + "kind": { + "const": "dark_jv", + "title": "Kind", + "type": "string" + }, + "n_points": { + "anyOf": [ + { + "minimum": 2, + "type": "integer" + } + ], + "title": "Samples per branch" + }, + "v_rate": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "V Rate", + "unit": "V/s" + } + }, + "required": [ + "kind" + ], + "title": "DarkJVInput", + "type": "object" + }, + "DefectAssistedInput": { + "additionalProperties": false, + "properties": { + "electron_effective_mass_rel": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Electron Effective Mass Rel", + "unit": "1" + }, + "enabled": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Enabled" + }, + "hole_effective_mass_rel": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Hole Effective Mass Rel", + "unit": "1" + }, + "requires_explicit_occupancy": { + "anyOf": [ + { + "const": true, + "type": "boolean" + } + ], + "title": "Requires Explicit Occupancy" + } + }, + "title": "DefectAssistedInput", + "type": "object" + }, + "DeviceInput": { + "additionalProperties": false, + "properties": { + "contacts": { + "default": [], + "items": { + "$ref": "#/$defs/ContactInput" + }, + "title": "Contacts", + "type": "array" + }, + "description": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Description" + }, + "electrical_grid": { + "default": [], + "items": { + "$ref": "#/$defs/GridLayerInput" + }, + "title": "Electrical Grid", + "type": "array" + }, + "fixed_generation": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Fixed Generation" + }, + "grain_boundaries": { + "default": [], + "items": { + "$ref": "#/$defs/GrainBoundaryInput" + }, + "title": "Grain Boundaries", + "type": "array" + }, + "id": { + "pattern": "^[A-Za-z_][A-Za-z0-9_.:-]*$", + "title": "Id", + "type": "string" + }, + "interfaces": { + "default": [], + "items": { + "$ref": "#/$defs/InterfaceInput" + }, + "title": "Interfaces", + "type": "array" + }, + "layers": { + "items": { + "$ref": "#/$defs/FullLayerInput" + }, + "title": "Layers", + "type": "array" + }, + "legacy_fields": { + "anyOf": [ + { + "$ref": "#/$defs/LegacyDeviceFieldsInput" + }, + { + "type": "null" + } + ] + }, + "materials": { + "default": [], + "items": { + "$ref": "#/$defs/NamedMaterialInput" + }, + "title": "Materials", + "type": "array" + }, + "name": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Name" + }, + "schema_version": { + "const": "solarlab.device-preparation.v1", + "title": "Schema Version", + "type": "string" + }, + "settings": { + "$ref": "#/$defs/DeviceSettingsInput" + }, + "simulation_hints": { + "anyOf": [ + { + "$ref": "#/$defs/SimulationHintsInput" + }, + { + "type": "null" + } + ] + }, + "source_format": { + "enum": [ + "standard", + "scaps", + "canonical" + ], + "title": "Source Format", + "type": "string" + }, + "source_schema_version": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "integer" + }, + { + "type": "null" + } + ], + "title": "Source Schema Version" + }, + "spectrum": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Spectrum" + }, + "tunnelling_channels": { + "anyOf": [ + { + "$ref": "#/$defs/TunnellingInput" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "schema_version", + "id", + "source_format", + "layers" + ], + "title": "DeviceInput", + "type": "object" + }, + "DeviceSettingsInput": { + "additionalProperties": false, + "properties": { + "Phi": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Phi", + "unit": "m^-2/s" + }, + "T": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "T", + "unit": "K" + }, + "V_bi": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": false, + "nullable": false, + "positive": false, + "title": "V Bi", + "unit": "V" + }, + "band_grading": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Band Grading" + }, + "built_in_potential_mode": { + "anyOf": [ + { + "enum": [ + "legacy_manual", + "semiconductor_work_function", + "metal_work_function" + ], + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Built In Potential Mode" + }, + "contact_phi_B_eV": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Contact Phi B Ev", + "unit": "eV" + }, + "dos_band_potentials": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Dos Band Potentials" + }, + "flat_band_contacts": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Flat Band Contacts" + }, + "flat_band_metal_contacts": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Flat Band Metal Contacts" + }, + "graded_optics": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Graded Optics" + }, + "het_recomb_despike": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Het Recomb Despike", + "unit": "1" + }, + "interface_charge_closure": { + "anyOf": [ + { + "enum": [ + "off", + "equilibrium_referenced" + ], + "type": "string" + } + ], + "title": "Interface Charge Closure" + }, + "interface_charge_rebaseline_acknowledged": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Interface Charge Rebaseline Acknowledged" + }, + "interface_plane_closure": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Interface Plane Closure" + }, + "interface_plane_generation": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Interface Plane Generation" + }, + "interface_plane_projection": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Interface Plane Projection" + }, + "interface_shared_occupancy": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Interface Shared Occupancy" + }, + "interface_tunneling": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Interface Tunneling" + }, + "interface_two_sided": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Interface Two Sided" + }, + "ion_steric_diffusion_only": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Ion Steric Diffusion Only" + }, + "ion_steric_shared_site": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Ion Steric Shared Site" + }, + "jv_solver_policy": { + "anyOf": [ + { + "enum": [ + "general", + "cancellation_safe_qf_required" + ], + "type": "string" + } + ], + "title": "Jv Solver Policy" + }, + "mode": { + "anyOf": [ + { + "enum": [ + "legacy", + "fast", + "full" + ], + "type": "string" + } + ], + "title": "Mode" + }, + "phi_left": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": false, + "nullable": false, + "positive": false, + "title": "Phi Left", + "unit": "V" + }, + "te_physical_norm": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Te Physical Norm" + }, + "tunnel_mass_eff": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Tunnel Mass Eff", + "unit": "1" + }, + "work_function_left_eV": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": true, + "title": "Work Function Left Ev", + "unit": "eV" + }, + "work_function_right_eV": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": true, + "title": "Work Function Right Ev", + "unit": "eV" + } + }, + "title": "DeviceSettingsInput", + "type": "object" + }, + "DistributionInput": { + "additionalProperties": false, + "properties": { + "center_eV_above_vb": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": false, + "title": "Center Ev Above Vb", + "unit": "eV" + }, + "energy_reference": { + "anyOf": [ + { + "const": "above_valence_band", + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Energy Reference" + }, + "kind": { + "enum": [ + "single_level", + "gaussian", + "uniform", + "conduction_band_tail", + "valence_band_tail" + ], + "title": "Kind", + "type": "string" + }, + "normalization": { + "const": "integrated_total", + "title": "Normalization", + "type": "string" + }, + "support_width_multiplier": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": true, + "title": "Support Width Multiplier", + "unit": "1" + }, + "total_density_m3": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Total Density M3", + "unit": "m^-3" + }, + "width_convention": { + "anyOf": [ + { + "enum": [ + "not_applicable", + "gaussian_standard_deviation", + "scaps_characteristic_energy", + "uniform_full_width", + "unresolved" + ], + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Width Convention" + }, + "width_eV": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": true, + "title": "Width Ev", + "unit": "eV" + } + }, + "required": [ + "kind", + "normalization", + "total_density_m3" + ], + "title": "DistributionInput", + "type": "object" + }, + "EnergyLevelInput": { + "additionalProperties": false, + "properties": { + "reference": { + "enum": [ + "below_conduction_band", + "above_valence_band" + ], + "title": "Reference", + "type": "string" + }, + "value_eV": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Value Ev", + "unit": "eV" + } + }, + "required": [ + "reference", + "value_eV" + ], + "title": "EnergyLevelInput", + "type": "object" + }, + "FullLayerInput": { + "additionalProperties": false, + "properties": { + "bulk_defects": { + "default": [], + "items": { + "anyOf": [ + { + "$ref": "#/$defs/BulkDefectInput" + }, + { + "$ref": "#/$defs/MultivalentDefectInput" + } + ] + }, + "title": "Bulk Defects", + "type": "array" + }, + "bulk_trap_distribution": { + "anyOf": [ + { + "$ref": "#/$defs/LegacyBulkTrapInput" + }, + { + "type": "null" + } + ] + }, + "cigs_graded_optics": { + "anyOf": [ + { + "$ref": "#/$defs/CigsOpticsInput" + }, + { + "type": "null" + } + ] + }, + "defect_model": { + "anyOf": [ + { + "enum": [ + "effective_lifetime", + "explicit_quasi_steady" + ], + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Defect Model" + }, + "defect_schema_version": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Defect Schema Version" + }, + "id": { + "pattern": "^[A-Za-z_][A-Za-z0-9_.:-]*$", + "title": "Id", + "type": "string" + }, + "material": { + "anyOf": [ + { + "pattern": "^[A-Za-z_][A-Za-z0-9_.:-]*$", + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Material" + }, + "metastable_document": { + "anyOf": [ + { + "$ref": "#/$defs/MetastableDocumentInput" + }, + { + "type": "null" + } + ] + }, + "metastable_preparation": { + "anyOf": [ + { + "$ref": "#/$defs/MetastablePreparationInput" + }, + { + "type": "null" + } + ] + }, + "name": { + "minLength": 1, + "title": "Name", + "type": "string" + }, + "parameterization": { + "default": "standard", + "enum": [ + "standard", + "scaps" + ], + "title": "Parameterization", + "type": "string" + }, + "parameters": { + "$ref": "#/$defs/FullParameterInput" + }, + "role": { + "minLength": 1, + "title": "Role", + "type": "string" + }, + "scaps_defect_metadata": { + "default": [], + "items": { + "$ref": "#/$defs/ScapsDefectMetadataInput" + }, + "title": "Scaps Defect Metadata", + "type": "array" + }, + "thickness": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Thickness", + "unit": "m" + } + }, + "required": [ + "id", + "name", + "role", + "thickness" + ], + "title": "FullLayerInput", + "type": "object" + }, + "FullParameterInput": { + "additionalProperties": false, + "properties": { + "A_star_n": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "A Star N", + "unit": "A/(m^2 K^2)" + }, + "A_star_p": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "A Star P", + "unit": "A/(m^2 K^2)" + }, + "B_rad": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "B Rad", + "unit": "m^3/s" + }, + "B_rad_T_gamma": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": false, + "nullable": false, + "positive": false, + "title": "B Rad T Gamma", + "unit": "1" + }, + "C_n": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "C N", + "unit": "m^6/s" + }, + "C_p": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "C P", + "unit": "m^6/s" + }, + "D_ion": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "D Ion", + "unit": "m^2/s" + }, + "D_ion_neg": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "D Ion Neg", + "unit": "m^2/s" + }, + "E_a_ion": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "E A Ion", + "unit": "eV" + }, + "Eg": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "Eg", + "unit": "eV" + }, + "Eg_back": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": false, + "title": "Eg Back", + "unit": "eV" + }, + "N_A": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "N A", + "unit": "m^-3" + }, + "N_A_bulk": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": false, + "title": "N A Bulk", + "unit": "m^-3" + }, + "N_D": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "N D", + "unit": "m^-3" + }, + "N_D_bulk": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": false, + "title": "N D Bulk", + "unit": "m^-3" + }, + "Nc300": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": true, + "title": "Nc300", + "unit": "m^-3" + }, + "Nv300": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": true, + "title": "Nv300", + "unit": "m^-3" + }, + "P0": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "P0", + "unit": "m^-3" + }, + "P0_neg": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "P0 Neg", + "unit": "m^-3" + }, + "P_lim": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "P Lim", + "unit": "m^-3" + }, + "P_lim_neg": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "P Lim Neg", + "unit": "m^-3" + }, + "acceptor_binding_energy_eV": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": false, + "title": "Acceptor Binding Energy Ev", + "unit": "eV" + }, + "acceptor_degeneracy": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Acceptor Degeneracy", + "unit": "1" + }, + "alpha": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "Alpha", + "unit": "m^-1" + }, + "band_gap_narrowing_model": { + "anyOf": [ + { + "enum": [ + "off", + "slotboom" + ], + "type": "string" + } + ], + "title": "Band Gap Narrowing Model" + }, + "bgn_conduction_band_fraction": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Bgn Conduction Band Fraction", + "unit": "1" + }, + "bgn_log_shape": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Bgn Log Shape", + "unit": "1" + }, + "bgn_reference_density_m3": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Bgn Reference Density M3", + "unit": "m^-3" + }, + "bgn_reference_energy_eV": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Bgn Reference Energy Ev", + "unit": "eV" + }, + "carrier_statistics": { + "anyOf": [ + { + "enum": [ + "maxwell_boltzmann", + "fermi_dirac" + ], + "type": "string" + } + ], + "title": "Carrier Statistics" + }, + "chi": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": false, + "positive": false, + "title": "Chi", + "unit": "eV" + }, + "chi_back": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": false, + "nullable": true, + "positive": false, + "title": "Chi Back", + "unit": "eV" + }, + "ct_beta_n": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Ct Beta N", + "unit": "1" + }, + "ct_beta_p": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Ct Beta P", + "unit": "1" + }, + "donor_binding_energy_eV": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": false, + "title": "Donor Binding Energy Ev", + "unit": "eV" + }, + "donor_degeneracy": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Donor Degeneracy", + "unit": "1" + }, + "dopant_ionization_model": { + "anyOf": [ + { + "enum": [ + "fully_ionized", + "discrete_level" + ], + "type": "string" + } + ], + "title": "Dopant Ionization Model" + }, + "doping_decay_length": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": true, + "title": "Doping Decay Length", + "unit": "m" + }, + "doping_edge": { + "anyOf": [ + { + "enum": [ + "front", + "back" + ], + "type": "string" + } + ], + "title": "Doping Edge" + }, + "doping_profile_shape": { + "anyOf": [ + { + "const": "gaussian", + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Doping Profile Shape" + }, + "eps_r": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": true, + "title": "Eps R", + "unit": "1" + }, + "grading_N_mult": { + "anyOf": [ + { + "exclusiveMinimum": 0, + "type": "integer" + } + ], + "title": "Grading N Mult" + }, + "grading_bowing": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": false, + "nullable": false, + "positive": false, + "title": "Grading Bowing", + "unit": "eV" + }, + "grading_char_length": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": true, + "title": "Grading Char Length", + "unit": "m" + }, + "grading_direction": { + "anyOf": [ + { + "enum": [ + "front_to_back", + "back_to_front" + ], + "type": "string" + } + ], + "title": "Grading Direction" + }, + "grading_profile": { + "anyOf": [ + { + "enum": [ + "linear", + "parabolic", + "exponential" + ], + "type": "string" + } + ], + "title": "Grading Profile" + }, + "incoherent": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Incoherent" + }, + "mu_T_gamma": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": false, + "nullable": false, + "positive": false, + "title": "Mu T Gamma", + "unit": "1" + }, + "mu_n": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "Mu N", + "unit": "m^2/(V s)" + }, + "mu_p": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "Mu P", + "unit": "m^2/(V s)" + }, + "n1": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "N1", + "unit": "m^-3" + }, + "n_optical": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": true, + "title": "N Optical", + "unit": "1" + }, + "ni": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "Ni", + "unit": "m^-3" + }, + "optical_material": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Optical Material" + }, + "p1": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "P1", + "unit": "m^-3" + }, + "pf_gamma_n": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Pf Gamma N", + "unit": "(m/V)^0.5" + }, + "pf_gamma_p": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Pf Gamma P", + "unit": "(m/V)^0.5" + }, + "tau_n": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": true, + "title": "Tau N", + "unit": "s" + }, + "tau_p": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": true, + "title": "Tau P", + "unit": "s" + }, + "trap_N_t_bulk": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": false, + "title": "Trap N T Bulk", + "unit": "m^-3" + }, + "trap_N_t_interface": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": false, + "title": "Trap N T Interface", + "unit": "m^-3" + }, + "trap_decay_length": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": false, + "title": "Trap Decay Length", + "unit": "m" + }, + "trap_edge": { + "anyOf": [ + { + "enum": [ + "both", + "left", + "right" + ], + "type": "string" + } + ], + "title": "Trap Edge" + }, + "trap_profile_shape": { + "anyOf": [ + { + "enum": [ + "exponential", + "gaussian" + ], + "type": "string" + } + ], + "title": "Trap Profile Shape" + }, + "v_sat_n": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "V Sat N", + "unit": "m/s" + }, + "v_sat_p": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "V Sat P", + "unit": "m/s" + }, + "v_th": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "V Th", + "unit": "m/s" + }, + "varshni_alpha": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": false, + "nullable": false, + "positive": false, + "title": "Varshni Alpha", + "unit": "eV/K" + }, + "varshni_beta": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Varshni Beta", + "unit": "K" + } + }, + "title": "FullParameterInput", + "type": "object" + }, + "GrainBoundaryInput": { + "additionalProperties": false, + "properties": { + "id": { + "pattern": "^[A-Za-z_][A-Za-z0-9_.:-]*$", + "title": "Id", + "type": "string" + }, + "layer_ids": { + "items": { + "pattern": "^[A-Za-z_][A-Za-z0-9_.:-]*$", + "type": "string" + }, + "title": "Layer Ids", + "type": "array" + }, + "source_layer_role": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Source Layer Role" + }, + "tau_n": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Tau N", + "unit": "s" + }, + "tau_p": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Tau P", + "unit": "s" + }, + "width": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Width", + "unit": "m" + }, + "x_position": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "X Position", + "unit": "m" + } + }, + "required": [ + "id", + "layer_ids", + "x_position", + "width", + "tau_n", + "tau_p" + ], + "title": "GrainBoundaryInput", + "type": "object" + }, + "GridLayerInput": { + "additionalProperties": false, + "properties": { + "alpha": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Alpha", + "unit": "1" + }, + "interval_weight": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Interval Weight", + "unit": "1" + }, + "layer": { + "pattern": "^[A-Za-z_][A-Za-z0-9_.:-]*$", + "title": "Layer", + "type": "string" + } + }, + "required": [ + "layer", + "interval_weight", + "alpha" + ], + "title": "GridLayerInput", + "type": "object" + }, + "InterfaceDefectInput": { + "additionalProperties": false, + "properties": { + "calibration_factor": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Calibration Factor", + "unit": "1" + }, + "energy_reference": { + "enum": [ + "below_conduction_band", + "above_valence_band" + ], + "title": "Energy Reference", + "type": "string" + }, + "id": { + "pattern": "^[A-Za-z_][A-Za-z0-9_.:-]*$", + "title": "Id", + "type": "string" + }, + "iface_state_calibration_factor": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Iface State Calibration Factor", + "unit": "1" + }, + "kinetics": { + "$ref": "#/$defs/KineticsInput" + }, + "partner_metadata": { + "anyOf": [ + { + "$ref": "#/$defs/ScapsDefectMetadataInput" + }, + { + "type": "null" + } + ] + }, + "total_density_m2": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Total Density M2", + "unit": "m^-2" + }, + "trap_depth_eV": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Trap Depth Ev", + "unit": "eV" + } + }, + "required": [ + "id", + "trap_depth_eV", + "energy_reference", + "total_density_m2", + "kinetics", + "calibration_factor", + "iface_state_calibration_factor" + ], + "title": "InterfaceDefectInput", + "type": "object" + }, + "InterfaceInput": { + "additionalProperties": false, + "properties": { + "defect": { + "anyOf": [ + { + "$ref": "#/$defs/InterfaceDefectInput" + }, + { + "type": "null" + } + ] + }, + "id": { + "pattern": "^[A-Za-z_][A-Za-z0-9_.:-]*$", + "title": "Id", + "type": "string" + }, + "left": { + "pattern": "^[A-Za-z_][A-Za-z0-9_.:-]*$", + "title": "Left", + "type": "string" + }, + "right": { + "pattern": "^[A-Za-z_][A-Za-z0-9_.:-]*$", + "title": "Right", + "type": "string" + }, + "v_n": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": false, + "title": "V N", + "unit": "m/s" + }, + "v_p": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": false, + "title": "V P", + "unit": "m/s" + } + }, + "required": [ + "id", + "left", + "right" + ], + "title": "InterfaceInput", + "type": "object" + }, + "IntrabandInput": { + "additionalProperties": false, + "properties": { + "carrier": { + "anyOf": [ + { + "enum": [ + "electron", + "hole", + "both" + ], + "type": "string" + } + ], + "title": "Carrier" + }, + "electron_effective_mass_rel": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Electron Effective Mass Rel", + "unit": "1" + }, + "enabled": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Enabled" + }, + "energy_quadrature_order": { + "anyOf": [ + { + "minimum": 4, + "type": "integer" + } + ], + "title": "Energy Quadrature Order" + }, + "hole_effective_mass_rel": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Hole Effective Mass Rel", + "unit": "1" + } + }, + "title": "IntrabandInput", + "type": "object" + }, + "JVDCSettleInput": { + "additionalProperties": false, + "properties": { + "duration_s": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": true, + "title": "Duration S", + "unit": "s" + }, + "kind": { + "enum": [ + "finite_time", + "residual_certified", + "finite_time_with_certificate", + "not_applicable" + ], + "title": "Kind", + "type": "string" + }, + "max_carrier_area_rate_A_m2": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": true, + "title": "Max Carrier Area Rate A M2", + "unit": "A/m^2" + }, + "max_face_current_spread_A_m2": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": true, + "title": "Max Face Current Spread A M2", + "unit": "A/m^2" + }, + "max_ion_area_rate_A_m2": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": true, + "title": "Max Ion Area Rate A M2", + "unit": "A/m^2" + }, + "max_ionic_face_current_A_m2": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": true, + "title": "Max Ionic Face Current A M2", + "unit": "A/m^2" + } + }, + "required": [ + "kind", + "duration_s", + "max_carrier_area_rate_A_m2", + "max_ion_area_rate_A_m2", + "max_ionic_face_current_A_m2", + "max_face_current_spread_A_m2" + ], + "title": "JVDCSettleInput", + "type": "object" + }, + "JVIlluminationStepInput": { + "additionalProperties": false, + "properties": { + "condition": { + "enum": [ + "dark", + "baseline", + "scaled", + "monochromatic", + "pulse" + ], + "title": "Condition", + "type": "string" + }, + "duration_s": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": false, + "title": "Duration S", + "unit": "s" + }, + "intensity_suns": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": false, + "title": "Intensity Suns", + "unit": "1" + }, + "phase": { + "minLength": 1, + "title": "Phase", + "type": "string" + }, + "photon_flux_m2_s": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": true, + "title": "Photon Flux M2 S", + "unit": "m^-2/s" + }, + "relative_generation_change": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": false, + "nullable": true, + "positive": false, + "title": "Relative Generation Change", + "unit": "1" + }, + "source_reference": { + "anyOf": [ + { + "minLength": 1, + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Source Reference" + } + }, + "required": [ + "phase", + "condition", + "duration_s", + "intensity_suns", + "photon_flux_m2_s", + "relative_generation_change", + "source_reference" + ], + "title": "JVIlluminationStepInput", + "type": "object" + }, + "JVInput": { + "additionalProperties": false, + "properties": { + "N_grid": { + "anyOf": [ + { + "minimum": 3, + "type": "integer" + } + ], + "title": "Requested electrical grid allocation" + }, + "V_max": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": false, + "nullable": true, + "positive": false, + "title": "V Max", + "unit": "V" + }, + "experiment_protocol": { + "anyOf": [ + { + "$ref": "#/$defs/JVProtocolInput" + }, + { + "type": "null" + } + ] + }, + "iface_states": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Iface States" + }, + "illuminated": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Illuminated" + }, + "interface_boundary": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Interface Boundary" + }, + "interface_transport_model": { + "anyOf": [ + { + "minLength": 1, + "type": "string" + } + ], + "title": "Interface Transport Model" + }, + "kind": { + "const": "jv", + "title": "Kind", + "type": "string" + }, + "n_points": { + "anyOf": [ + { + "minimum": 2, + "type": "integer" + } + ], + "title": "Samples per branch" + }, + "protocol_mode": { + "anyOf": [ + { + "enum": [ + "compatibility", + "research_strict" + ], + "type": "string" + } + ], + "title": "Protocol Mode" + }, + "request_api": { + "default": "jobs", + "enum": [ + "jobs", + "jv_endpoint" + ], + "title": "Request Api", + "type": "string" + }, + "solver": { + "anyOf": [ + { + "enum": [ + "transient", + "steady_state", + "quasi_fermi" + ], + "type": "string" + } + ], + "title": "Solver" + }, + "v_rate": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "V Rate", + "unit": "V/s" + }, + "waveform": { + "anyOf": [ + { + "$ref": "#/$defs/JVWaveformInput" + }, + { + "type": "null" + } + ] + }, + "waveform_controls": { + "anyOf": [ + { + "$ref": "#/$defs/JVWaveformControlsInput" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "kind" + ], + "title": "JVInput", + "type": "object" + }, + "JVProtocolInput": { + "additionalProperties": false, + "description": "The existing ExperimentProtocol fields for its J-V branch only.", + "properties": { + "ac_excitation": { + "title": "Ac Excitation", + "type": "null" + }, + "dc_settle": { + "$ref": "#/$defs/JVDCSettleInput" + }, + "dwell_duration_s": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": false, + "title": "Dwell Duration S", + "unit": "s" + }, + "experiment": { + "const": "jv_hysteresis", + "title": "Experiment", + "type": "string" + }, + "illumination_history": { + "items": { + "$ref": "#/$defs/JVIlluminationStepInput" + }, + "minItems": 1, + "title": "Illumination History", + "type": "array" + }, + "implicit_legacy_protocol": { + "title": "Implicit Legacy Protocol", + "type": "boolean" + }, + "initial_state_source": { + "enum": [ + "dark_equilibrium", + "dark_equilibrium_each_sample", + "finite_time_illuminated_preconditioned", + "finite_time_dc_preconditioned", + "qf_dc_candidate", + "user_supplied_state" + ], + "title": "Initial State Source", + "type": "string" + }, + "pre_bias_V": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": false, + "nullable": true, + "positive": false, + "title": "Pre Bias V", + "unit": "V" + }, + "sampling": { + "$ref": "#/$defs/JVSamplingInput" + }, + "scan": { + "$ref": "#/$defs/JVScanInput" + }, + "schema_version": { + "const": 1, + "title": "Schema Version", + "type": "integer" + }, + "soak_duration_s": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": false, + "title": "Soak Duration S", + "unit": "s" + }, + "temperature_K": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Temperature K", + "unit": "K" + }, + "voc_search": { + "title": "Voc Search", + "type": "null" + } + }, + "required": [ + "experiment", + "initial_state_source", + "pre_bias_V", + "soak_duration_s", + "dwell_duration_s", + "illumination_history", + "temperature_K", + "scan", + "ac_excitation", + "dc_settle", + "sampling", + "voc_search", + "implicit_legacy_protocol", + "schema_version" + ], + "title": "JVProtocolInput", + "type": "object" + }, + "JVSamplingInput": { + "additionalProperties": false, + "properties": { + "axis": { + "const": "voltage_V", + "title": "Axis", + "type": "string" + }, + "mode": { + "enum": [ + "linear", + "log", + "declared", + "piecewise_linear" + ], + "title": "Mode", + "type": "string" + }, + "values": { + "item_input_unit": null, + "item_positive": false, + "item_unit": "V", + "items": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ] + }, + "minItems": 1, + "title": "Values", + "type": "array" + } + }, + "required": [ + "axis", + "mode", + "values" + ], + "title": "JVSamplingInput", + "type": "object" + }, + "JVScanInput": { + "additionalProperties": false, + "properties": { + "axis": { + "const": "voltage_V", + "title": "Axis", + "type": "string" + }, + "direction": { + "enum": [ + "ascending", + "descending", + "ascending_then_descending", + "declared_order", + "forward_time" + ], + "title": "Direction", + "type": "string" + }, + "rate_V_s": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Rate V S", + "unit": "V/s" + }, + "start": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": false, + "nullable": false, + "positive": false, + "title": "Start", + "unit": "V" + }, + "stop": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": false, + "nullable": false, + "positive": false, + "title": "Stop", + "unit": "V" + } + }, + "required": [ + "axis", + "direction", + "start", + "stop", + "rate_V_s" + ], + "title": "JVScanInput", + "type": "object" + }, + "JVSweepHintsInput": { + "additionalProperties": false, + "description": "Supplied advisory fields, without an endpoint or implied execution.\n\nUnknown fields reject rather than disappear. A caller must explicitly\ncompose these fields with JVInput to request protocol preparation.", + "properties": { + "N_grid": { + "anyOf": [ + { + "minimum": 3, + "type": "integer" + } + ], + "title": "Requested electrical grid allocation" + }, + "V_max": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": false, + "nullable": true, + "positive": false, + "title": "V Max", + "unit": "V" + }, + "experiment_protocol": { + "anyOf": [ + { + "$ref": "#/$defs/JVProtocolInput" + }, + { + "type": "null" + } + ] + }, + "iface_states": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Iface States" + }, + "illuminated": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Illuminated" + }, + "interface_boundary": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Interface Boundary" + }, + "interface_transport_model": { + "anyOf": [ + { + "minLength": 1, + "type": "string" + } + ], + "title": "Interface Transport Model" + }, + "n_points": { + "anyOf": [ + { + "minimum": 2, + "type": "integer" + } + ], + "title": "Samples per branch" + }, + "protocol_mode": { + "anyOf": [ + { + "enum": [ + "compatibility", + "research_strict" + ], + "type": "string" + } + ], + "title": "Protocol Mode" + }, + "solver": { + "anyOf": [ + { + "enum": [ + "transient", + "steady_state", + "quasi_fermi" + ], + "type": "string" + } + ], + "title": "Solver" + }, + "v_rate": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "V Rate", + "unit": "V/s" + }, + "waveform": { + "anyOf": [ + { + "$ref": "#/$defs/JVWaveformInput" + }, + { + "type": "null" + } + ] + }, + "waveform_controls": { + "anyOf": [ + { + "$ref": "#/$defs/JVWaveformControlsInput" + }, + { + "type": "null" + } + ] + } + }, + "title": "JVSweepHintsInput", + "type": "object" + }, + "JVWaveformControlsInput": { + "additionalProperties": false, + "properties": { + "atol_m3": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Atol M3", + "unit": "m^-3" + }, + "rtol": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Rtol", + "unit": "1" + } + }, + "required": [ + "rtol", + "atol_m3" + ], + "title": "JVWaveformControlsInput", + "type": "object" + }, + "JVWaveformInput": { + "additionalProperties": false, + "description": "All eight fields of JVWaveform.from_dict are explicit, including null.", + "properties": { + "branch_dwell_s": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Branch Dwell S", + "unit": "s" + }, + "dark_prep_s": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Dark Prep S", + "unit": "s" + }, + "dark_seed_s": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Dark Seed S", + "unit": "s" + }, + "schema_version": { + "const": 1, + "title": "Schema Version", + "type": "integer" + }, + "start_voltage_V": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": false, + "nullable": false, + "positive": false, + "title": "Start Voltage V", + "unit": "V" + }, + "turnaround_dark": { + "title": "Turnaround Dark", + "type": "boolean" + }, + "turnaround_s": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Turnaround S", + "unit": "s" + }, + "uniform_generation_rate_m3_s": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": false, + "title": "Uniform Generation Rate M3 S", + "unit": "m^-3/s" + } + }, + "required": [ + "schema_version", + "start_voltage_V", + "dark_seed_s", + "dark_prep_s", + "branch_dwell_s", + "turnaround_s", + "turnaround_dark", + "uniform_generation_rate_m3_s" + ], + "title": "JVWaveformInput", + "type": "object" + }, + "KineticsInput": { + "additionalProperties": false, + "properties": { + "sigma_n_m2": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Sigma N M2", + "unit": "m^2" + }, + "sigma_p_m2": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Sigma P M2", + "unit": "m^2" + }, + "thermal_velocity_n_m_s": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Thermal Velocity N M S", + "unit": "m/s" + }, + "thermal_velocity_p_m_s": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Thermal Velocity P M S", + "unit": "m/s" + } + }, + "required": [ + "sigma_n_m2", + "sigma_p_m2", + "thermal_velocity_n_m_s", + "thermal_velocity_p_m_s" + ], + "title": "KineticsInput", + "type": "object" + }, + "LegacyBulkTrapInput": { + "additionalProperties": false, + "properties": { + "center_eV_above_vb": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Center Ev Above Vb", + "unit": "eV" + }, + "charge_transition": { + "enum": [ + "acceptor", + "donor" + ], + "title": "Charge Transition", + "type": "string" + }, + "distribution": { + "enum": [ + "single_level", + "gaussian" + ], + "title": "Distribution", + "type": "string" + }, + "energy_sigma_eV": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Energy Sigma Ev", + "unit": "eV" + }, + "sigma_n_m2": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Sigma N M2", + "unit": "m^2" + }, + "sigma_p_m2": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Sigma P M2", + "unit": "m^2" + }, + "thermal_velocity_m_s": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Thermal Velocity M S", + "unit": "m/s" + }, + "total_density_m3": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Total Density M3", + "unit": "m^-3" + } + }, + "required": [ + "distribution", + "total_density_m3", + "center_eV_above_vb", + "sigma_n_m2", + "sigma_p_m2", + "thermal_velocity_m_s", + "charge_transition" + ], + "title": "LegacyBulkTrapInput", + "type": "object" + }, + "LegacyDeviceFieldsInput": { + "additionalProperties": false, + "properties": { + "interface_defect_count": { + "anyOf": [ + { + "minimum": 0, + "type": "integer" + }, + { + "type": "null" + } + ], + "title": "Interface Defect Count" + }, + "interfaces": { + "anyOf": [ + { + "items": { + "items": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ] + }, + "maxItems": 2, + "minItems": 2, + "type": "array" + }, + "type": "array" + }, + { + "type": "null" + } + ], + "title": "Interfaces" + }, + "layer_ids": { + "items": { + "pattern": "^[A-Za-z_][A-Za-z0-9_.:-]*$", + "type": "string" + }, + "title": "Layer Ids", + "type": "array" + }, + "schema_version": { + "const": "solarlab.standard-loader-fields.v1", + "title": "Schema Version", + "type": "string" + }, + "source_id": { + "minLength": 1, + "title": "Source Id", + "type": "string" + }, + "source_sha256": { + "pattern": "^[0-9a-f]{64}$", + "title": "Source Sha256", + "type": "string" + }, + "temperature": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "boolean" + }, + { + "type": "null" + } + ], + "title": "Temperature" + } + }, + "required": [ + "schema_version", + "source_id", + "source_sha256", + "layer_ids" + ], + "title": "LegacyDeviceFieldsInput", + "type": "object" + }, + "MetastableConversionInput": { + "additionalProperties": false, + "properties": { + "capture_n_m3_s": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Capture N M3 S", + "unit": "m^3/s" + }, + "capture_p_m3_s": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Capture P M3 S", + "unit": "m^3/s" + }, + "electron_capture_activation_eV": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Electron Capture Activation Ev", + "unit": "eV" + }, + "electron_capture_path": { + "enum": [ + "double_electron_capture", + "electron_capture_plus_hole_emission" + ], + "title": "Electron Capture Path", + "type": "string" + }, + "electron_emission_activation_eV": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Electron Emission Activation Ev", + "unit": "eV" + }, + "hole_capture_activation_eV": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Hole Capture Activation Ev", + "unit": "eV" + }, + "hole_capture_path": { + "enum": [ + "double_hole_capture", + "hole_capture_plus_electron_emission" + ], + "title": "Hole Capture Path", + "type": "string" + }, + "hole_emission_activation_eV": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Hole Emission Activation Ev", + "unit": "eV" + }, + "phonon_frequency_Hz": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Phonon Frequency Hz", + "unit": "Hz" + }, + "transition_energy_eV_above_vb": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Transition Energy Ev Above Vb", + "unit": "eV" + } + }, + "required": [ + "transition_energy_eV_above_vb", + "electron_capture_activation_eV", + "electron_emission_activation_eV", + "hole_capture_activation_eV", + "hole_emission_activation_eV", + "electron_capture_path", + "hole_capture_path", + "capture_n_m3_s", + "capture_p_m3_s", + "phonon_frequency_Hz" + ], + "title": "MetastableConversionInput", + "type": "object" + }, + "MetastableDefectInput": { + "additionalProperties": false, + "properties": { + "acceptor_configuration": { + "$ref": "#/$defs/MultivalentConfigurationInput" + }, + "acceptor_conversion_state_index": { + "minimum": 0, + "title": "Acceptor Conversion State Index", + "type": "integer" + }, + "conversion_kinetics": { + "$ref": "#/$defs/MetastableConversionInput" + }, + "donor_configuration": { + "$ref": "#/$defs/MultivalentConfigurationInput" + }, + "donor_conversion_state_index": { + "minimum": 0, + "title": "Donor Conversion State Index", + "type": "integer" + }, + "id": { + "pattern": "^[A-Za-z_][A-Za-z0-9_.:-]*$", + "title": "Id", + "type": "string" + }, + "name": { + "minLength": 1, + "title": "Name", + "type": "string" + }, + "total_density_m3": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Total Density M3", + "unit": "m^-3" + } + }, + "required": [ + "id", + "name", + "total_density_m3", + "donor_configuration", + "acceptor_configuration", + "donor_conversion_state_index", + "acceptor_conversion_state_index", + "conversion_kinetics" + ], + "title": "MetastableDefectInput", + "type": "object" + }, + "MetastableDocumentInput": { + "additionalProperties": false, + "properties": { + "defect_model": { + "const": "explicit_metastable_frozen", + "title": "Defect Model", + "type": "string" + }, + "metastable_defects": { + "items": { + "$ref": "#/$defs/MetastableDefectInput" + }, + "title": "Metastable Defects", + "type": "array" + }, + "schema_version": { + "const": "solarlab-metastable-bulk-defects-v1", + "title": "Schema Version", + "type": "string" + } + }, + "required": [ + "schema_version", + "defect_model", + "metastable_defects" + ], + "title": "MetastableDocumentInput", + "type": "object" + }, + "MetastableNumericsInput": { + "additionalProperties": false, + "properties": { + "clamping_factor": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Clamping Factor", + "unit": "1" + }, + "final_unclamped_refinement": { + "const": true, + "title": "Final Unclamped Refinement", + "type": "boolean" + }, + "initial_donor_fraction_guess": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Initial Donor Fraction Guess", + "unit": "1" + }, + "max_iterations": { + "exclusiveMinimum": 0, + "title": "Max Iterations", + "type": "integer" + }, + "relative_tolerance": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Relative Tolerance", + "unit": "1" + } + }, + "required": [ + "initial_donor_fraction_guess", + "max_iterations", + "relative_tolerance", + "clamping_factor", + "final_unclamped_refinement" + ], + "title": "MetastableNumericsInput", + "type": "object" + }, + "MetastablePreparationInput": { + "additionalProperties": false, + "properties": { + "configuration_freeze_stage": { + "const": "after_stationary_preparation_before_measurement", + "title": "Configuration Freeze Stage", + "type": "string" + }, + "freeze_configuration_during_measurement": { + "const": true, + "title": "Freeze Configuration During Measurement", + "type": "boolean" + }, + "illumination_continuation_steps": { + "minimum": 0, + "title": "Illumination Continuation Steps", + "type": "integer" + }, + "measurement_protocol_sha256": { + "pattern": "^[0-9a-f]{64}$", + "title": "Measurement Protocol Sha256", + "type": "string" + }, + "measurement_temperature_K": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Measurement Temperature K", + "unit": "K" + }, + "numerics": { + "$ref": "#/$defs/MetastableNumericsInput" + }, + "preparation_illumination_suns": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Preparation Illumination Suns", + "unit": "1" + }, + "preparation_limit": { + "const": "stationary_infinite_time", + "title": "Preparation Limit", + "type": "string" + }, + "preparation_temperature_K": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Preparation Temperature K", + "unit": "K" + }, + "preparation_voltage_V": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": false, + "nullable": false, + "positive": false, + "title": "Preparation Voltage V", + "unit": "V" + }, + "schema_version": { + "const": "solarlab-metastable-preparation-v1", + "title": "Schema Version", + "type": "string" + }, + "voltage_continuation_steps": { + "minimum": 0, + "title": "Voltage Continuation Steps", + "type": "integer" + } + }, + "required": [ + "schema_version", + "preparation_limit", + "preparation_temperature_K", + "preparation_voltage_V", + "preparation_illumination_suns", + "voltage_continuation_steps", + "illumination_continuation_steps", + "measurement_temperature_K", + "configuration_freeze_stage", + "freeze_configuration_during_measurement", + "measurement_protocol_sha256", + "numerics" + ], + "title": "MetastablePreparationInput", + "type": "object" + }, + "MultivalentConfigurationInput": { + "additionalProperties": false, + "properties": { + "charge_states_e": { + "items": { + "type": "integer" + }, + "title": "Charge States E", + "type": "array" + }, + "degeneracy_convention": { + "enum": [ + "scaps_binomial", + "unity", + "explicit" + ], + "title": "Degeneracy Convention", + "type": "string" + }, + "energy_levels": { + "$ref": "#/$defs/MultivalentEnergyInput" + }, + "family": { + "enum": [ + "single_donor", + "single_acceptor", + "double_donor", + "double_acceptor", + "amphoteric", + "custom_multilevel" + ], + "title": "Family", + "type": "string" + }, + "state_degeneracies": { + "item_positive": true, + "item_unit": "1", + "items": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ] + }, + "title": "State Degeneracies", + "type": "array" + }, + "transition_kinetics": { + "items": { + "$ref": "#/$defs/KineticsInput" + }, + "title": "Transition Kinetics", + "type": "array" + } + }, + "required": [ + "family", + "charge_states_e", + "degeneracy_convention", + "state_degeneracies", + "energy_levels", + "transition_kinetics" + ], + "title": "MultivalentConfigurationInput", + "type": "object" + }, + "MultivalentDefectInput": { + "additionalProperties": false, + "properties": { + "configuration": { + "$ref": "#/$defs/MultivalentConfigurationInput" + }, + "id": { + "pattern": "^[A-Za-z_][A-Za-z0-9_.:-]*$", + "title": "Id", + "type": "string" + }, + "name": { + "minLength": 1, + "title": "Name", + "type": "string" + }, + "total_density_m3": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Total Density M3", + "unit": "m^-3" + } + }, + "required": [ + "id", + "name", + "total_density_m3", + "configuration" + ], + "title": "MultivalentDefectInput", + "type": "object" + }, + "MultivalentEnergyInput": { + "additionalProperties": false, + "properties": { + "correlation_energies_eV": { + "item_unit": "eV", + "items": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ] + }, + "title": "Correlation Energies Ev", + "type": "array" + }, + "energy_reference": { + "const": "above_valence_band", + "title": "Energy Reference", + "type": "string" + }, + "first_transition_eV_above_vb": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "First Transition Ev Above Vb", + "unit": "eV" + } + }, + "required": [ + "first_transition_eV_above_vb", + "correlation_energies_eV", + "energy_reference" + ], + "title": "MultivalentEnergyInput", + "type": "object" + }, + "NamedMaterialInput": { + "additionalProperties": false, + "properties": { + "cigs_graded_optics": { + "anyOf": [ + { + "$ref": "#/$defs/CigsOpticsInput" + }, + { + "type": "null" + } + ] + }, + "id": { + "pattern": "^[A-Za-z_][A-Za-z0-9_.:-]*$", + "title": "Id", + "type": "string" + }, + "name": { + "minLength": 1, + "title": "Name", + "type": "string" + }, + "parameters": { + "$ref": "#/$defs/FullParameterInput" + } + }, + "required": [ + "id", + "name", + "parameters" + ], + "title": "NamedMaterialInput", + "type": "object" + }, + "ScapsDefectMetadataInput": { + "additionalProperties": false, + "description": "Preserved partner metadata; a Gaussian note is not a qualified closure.", + "properties": { + "E_char_eV": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": true, + "title": "E Char Ev", + "unit": "eV" + }, + "N_peak_m3": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": false, + "title": "N Peak M3", + "unit": "m^-3" + }, + "defect_id": { + "pattern": "^[A-Za-z_][A-Za-z0-9_.:-]*$", + "title": "Defect Id", + "type": "string" + }, + "distribution": { + "enum": [ + "single", + "gaussian" + ], + "title": "Distribution", + "type": "string" + }, + "energy_reference": { + "enum": [ + "below_conduction_band", + "above_valence_band" + ], + "title": "Energy Reference", + "type": "string" + }, + "trap_depth_eV": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Trap Depth Ev", + "unit": "eV" + } + }, + "required": [ + "distribution", + "energy_reference", + "trap_depth_eV", + "defect_id" + ], + "title": "ScapsDefectMetadataInput", + "type": "object" + }, + "SimulationHintsInput": { + "additionalProperties": false, + "properties": { + "jv_sweep": { + "anyOf": [ + { + "$ref": "#/$defs/JVSweepHintsInput" + }, + { + "type": "null" + } + ] + }, + "min_N_grid": { + "anyOf": [ + { + "exclusiveMinimum": 0, + "type": "integer" + }, + { + "type": "null" + } + ], + "title": "Min N Grid" + }, + "notes": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Notes" + } + }, + "title": "SimulationHintsInput", + "type": "object" + }, + "SpatialKnotInput": { + "additionalProperties": false, + "properties": { + "density_multiplier": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Density Multiplier", + "unit": "1" + }, + "position_fraction": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Position Fraction", + "unit": "1" + } + }, + "required": [ + "position_fraction", + "density_multiplier" + ], + "title": "SpatialKnotInput", + "type": "object" + }, + "SpatialProfileInput": { + "additionalProperties": false, + "properties": { + "coordinate": { + "const": "normalized_layer_coordinate", + "title": "Coordinate", + "type": "string" + }, + "density_normalization": { + "const": "layer_average_unity", + "title": "Density Normalization", + "type": "string" + }, + "interpolation": { + "const": "piecewise_linear", + "title": "Interpolation", + "type": "string" + }, + "knots": { + "items": { + "$ref": "#/$defs/SpatialKnotInput" + }, + "title": "Knots", + "type": "array" + } + }, + "required": [ + "coordinate", + "interpolation", + "density_normalization", + "knots" + ], + "title": "SpatialProfileInput", + "type": "object" + }, + "TunnellingInput": { + "additionalProperties": false, + "properties": { + "band_to_band": { + "anyOf": [ + { + "$ref": "#/$defs/BandToBandInput" + }, + { + "type": "null" + } + ] + }, + "contact": { + "anyOf": [ + { + "$ref": "#/$defs/ContactTunnellingInput" + }, + { + "type": "null" + } + ] + }, + "interface_defect_assisted": { + "anyOf": [ + { + "$ref": "#/$defs/DefectAssistedInput" + }, + { + "type": "null" + } + ] + }, + "intraband": { + "anyOf": [ + { + "$ref": "#/$defs/IntrabandInput" + }, + { + "type": "null" + } + ] + }, + "schema_version": { + "const": "solarlab-wkb-tunnelling-channels-v1", + "default": "solarlab-wkb-tunnelling-channels-v1", + "title": "Schema Version", + "type": "string" + } + }, + "title": "TunnellingInput", + "type": "object" + } + }, + "additionalProperties": false, + "properties": { + "device": { + "$ref": "#/$defs/DeviceInput" + }, + "experiment": { + "anyOf": [ + { + "$ref": "#/$defs/JVInput" + }, + { + "$ref": "#/$defs/DarkJVInput" + } + ], + "title": "Experiment" + }, + "id": { + "pattern": "^[A-Za-z_][A-Za-z0-9_.:-]*$", + "title": "Id", + "type": "string" + }, + "schema_version": { + "const": "solarlab.experiment-preparation.v1", + "title": "Schema Version", + "type": "string" + } + }, + "required": [ + "schema_version", + "id", + "device", + "experiment" + ], + "title": "JVExperimentInput", + "type": "object" + } + }, + "LayerInput": { + "python_type": "solarlab.config.inputs:LayerInput", + "representation": "editable_input", + "schema": { + "$defs": { + "LayerValuesInput": { + "additionalProperties": false, + "description": "Explicit scalar overrides; absence inherits, only optical null clears.", + "properties": { + "B_rad": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "B Rad", + "unit": "m^3/s" + }, + "C_n": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "C N", + "unit": "m^6/s" + }, + "C_p": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "C P", + "unit": "m^6/s" + }, + "D_ion": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "D Ion", + "unit": "m^2/s" + }, + "Eg": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "Eg", + "unit": "eV" + }, + "N_A": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "N A", + "unit": "m^-3" + }, + "N_D": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "N D", + "unit": "m^-3" + }, + "P0": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "P0", + "unit": "m^-3" + }, + "P_lim": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "P Lim", + "unit": "m^-3" + }, + "alpha": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "Alpha", + "unit": "m^-1" + }, + "chi": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": false, + "positive": false, + "title": "Chi", + "unit": "eV" + }, + "eps_r": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": true, + "title": "Eps R", + "unit": "1" + }, + "incoherent": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Incoherent" + }, + "mu_n": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "Mu N", + "unit": "m^2/(V s)" + }, + "mu_p": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "Mu P", + "unit": "m^2/(V s)" + }, + "n1": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "N1", + "unit": "m^-3" + }, + "ni": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "Ni", + "unit": "m^-3" + }, + "optical_material": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Optical Material" + }, + "p1": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "P1", + "unit": "m^-3" + }, + "tau_n": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": true, + "title": "Tau N", + "unit": "s" + }, + "tau_p": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": true, + "title": "Tau P", + "unit": "s" + }, + "thickness": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": true, + "title": "Thickness", + "unit": "m" + } + }, + "title": "LayerValuesInput", + "type": "object" + } + }, + "additionalProperties": false, + "description": "A named layer with a stable ID and explicitly supplied overrides.", + "properties": { + "id": { + "title": "Id", + "type": "string" + }, + "kind": { + "const": "layer_template", + "default": "layer_template", + "title": "Kind", + "type": "string" + }, + "name": { + "title": "Name", + "type": "string" + }, + "overrides": { + "$ref": "#/$defs/LayerValuesInput" + }, + "schema_version": { + "const": 2, + "default": 2, + "title": "Schema Version", + "type": "integer" + }, + "template": { + "title": "Template", + "type": "string" + } + }, + "required": [ + "id", + "name", + "template" + ], + "title": "LayerInput", + "type": "object" + } + }, + "LayerValuesInput": { + "python_type": "solarlab.materials.parameters:LayerValuesInput", + "representation": "editable_input", + "schema": { + "additionalProperties": false, + "description": "Explicit scalar overrides; absence inherits, only optical null clears.", + "properties": { + "B_rad": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "B Rad", + "unit": "m^3/s" + }, + "C_n": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "C N", + "unit": "m^6/s" + }, + "C_p": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "C P", + "unit": "m^6/s" + }, + "D_ion": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "D Ion", + "unit": "m^2/s" + }, + "Eg": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "Eg", + "unit": "eV" + }, + "N_A": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "N A", + "unit": "m^-3" + }, + "N_D": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "N D", + "unit": "m^-3" + }, + "P0": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "P0", + "unit": "m^-3" + }, + "P_lim": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "P Lim", + "unit": "m^-3" + }, + "alpha": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "Alpha", + "unit": "m^-1" + }, + "chi": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": false, + "positive": false, + "title": "Chi", + "unit": "eV" + }, + "eps_r": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": true, + "title": "Eps R", + "unit": "1" + }, + "incoherent": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Incoherent" + }, + "mu_n": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "Mu N", + "unit": "m^2/(V s)" + }, + "mu_p": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "Mu P", + "unit": "m^2/(V s)" + }, + "n1": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "N1", + "unit": "m^-3" + }, + "ni": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "Ni", + "unit": "m^-3" + }, + "optical_material": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Optical Material" + }, + "p1": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "P1", + "unit": "m^-3" + }, + "tau_n": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": true, + "title": "Tau N", + "unit": "s" + }, + "tau_p": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": true, + "title": "Tau P", + "unit": "s" + }, + "thickness": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": true, + "title": "Thickness", + "unit": "m" + } + }, + "title": "LayerValuesInput", + "type": "object" + } + }, + "LegacyBulkTrapInput": { + "python_type": "solarlab.device.defects:LegacyBulkTrapInput", + "representation": "editable_input", + "schema": { + "additionalProperties": false, + "properties": { + "center_eV_above_vb": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Center Ev Above Vb", + "unit": "eV" + }, + "charge_transition": { + "enum": [ + "acceptor", + "donor" + ], + "title": "Charge Transition", + "type": "string" + }, + "distribution": { + "enum": [ + "single_level", + "gaussian" + ], + "title": "Distribution", + "type": "string" + }, + "energy_sigma_eV": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Energy Sigma Ev", + "unit": "eV" + }, + "sigma_n_m2": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Sigma N M2", + "unit": "m^2" + }, + "sigma_p_m2": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Sigma P M2", + "unit": "m^2" + }, + "thermal_velocity_m_s": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Thermal Velocity M S", + "unit": "m/s" + }, + "total_density_m3": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Total Density M3", + "unit": "m^-3" + } + }, + "required": [ + "distribution", + "total_density_m3", + "center_eV_above_vb", + "sigma_n_m2", + "sigma_p_m2", + "thermal_velocity_m_s", + "charge_transition" + ], + "title": "LegacyBulkTrapInput", + "type": "object" + } + }, + "MetastableDocumentInput": { + "python_type": "solarlab.device.defects:MetastableDocumentInput", + "representation": "editable_input", + "schema": { + "$defs": { + "KineticsInput": { + "additionalProperties": false, + "properties": { + "sigma_n_m2": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Sigma N M2", + "unit": "m^2" + }, + "sigma_p_m2": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Sigma P M2", + "unit": "m^2" + }, + "thermal_velocity_n_m_s": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Thermal Velocity N M S", + "unit": "m/s" + }, + "thermal_velocity_p_m_s": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Thermal Velocity P M S", + "unit": "m/s" + } + }, + "required": [ + "sigma_n_m2", + "sigma_p_m2", + "thermal_velocity_n_m_s", + "thermal_velocity_p_m_s" + ], + "title": "KineticsInput", + "type": "object" + }, + "MetastableConversionInput": { + "additionalProperties": false, + "properties": { + "capture_n_m3_s": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Capture N M3 S", + "unit": "m^3/s" + }, + "capture_p_m3_s": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Capture P M3 S", + "unit": "m^3/s" + }, + "electron_capture_activation_eV": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Electron Capture Activation Ev", + "unit": "eV" + }, + "electron_capture_path": { + "enum": [ + "double_electron_capture", + "electron_capture_plus_hole_emission" + ], + "title": "Electron Capture Path", + "type": "string" + }, + "electron_emission_activation_eV": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Electron Emission Activation Ev", + "unit": "eV" + }, + "hole_capture_activation_eV": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Hole Capture Activation Ev", + "unit": "eV" + }, + "hole_capture_path": { + "enum": [ + "double_hole_capture", + "hole_capture_plus_electron_emission" + ], + "title": "Hole Capture Path", + "type": "string" + }, + "hole_emission_activation_eV": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Hole Emission Activation Ev", + "unit": "eV" + }, + "phonon_frequency_Hz": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Phonon Frequency Hz", + "unit": "Hz" + }, + "transition_energy_eV_above_vb": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Transition Energy Ev Above Vb", + "unit": "eV" + } + }, + "required": [ + "transition_energy_eV_above_vb", + "electron_capture_activation_eV", + "electron_emission_activation_eV", + "hole_capture_activation_eV", + "hole_emission_activation_eV", + "electron_capture_path", + "hole_capture_path", + "capture_n_m3_s", + "capture_p_m3_s", + "phonon_frequency_Hz" + ], + "title": "MetastableConversionInput", + "type": "object" + }, + "MetastableDefectInput": { + "additionalProperties": false, + "properties": { + "acceptor_configuration": { + "$ref": "#/$defs/MultivalentConfigurationInput" + }, + "acceptor_conversion_state_index": { + "minimum": 0, + "title": "Acceptor Conversion State Index", + "type": "integer" + }, + "conversion_kinetics": { + "$ref": "#/$defs/MetastableConversionInput" + }, + "donor_configuration": { + "$ref": "#/$defs/MultivalentConfigurationInput" + }, + "donor_conversion_state_index": { + "minimum": 0, + "title": "Donor Conversion State Index", + "type": "integer" + }, + "id": { + "pattern": "^[A-Za-z_][A-Za-z0-9_.:-]*$", + "title": "Id", + "type": "string" + }, + "name": { + "minLength": 1, + "title": "Name", + "type": "string" + }, + "total_density_m3": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Total Density M3", + "unit": "m^-3" + } + }, + "required": [ + "id", + "name", + "total_density_m3", + "donor_configuration", + "acceptor_configuration", + "donor_conversion_state_index", + "acceptor_conversion_state_index", + "conversion_kinetics" + ], + "title": "MetastableDefectInput", + "type": "object" + }, + "MultivalentConfigurationInput": { + "additionalProperties": false, + "properties": { + "charge_states_e": { + "items": { + "type": "integer" + }, + "title": "Charge States E", + "type": "array" + }, + "degeneracy_convention": { + "enum": [ + "scaps_binomial", + "unity", + "explicit" + ], + "title": "Degeneracy Convention", + "type": "string" + }, + "energy_levels": { + "$ref": "#/$defs/MultivalentEnergyInput" + }, + "family": { + "enum": [ + "single_donor", + "single_acceptor", + "double_donor", + "double_acceptor", + "amphoteric", + "custom_multilevel" + ], + "title": "Family", + "type": "string" + }, + "state_degeneracies": { + "item_positive": true, + "item_unit": "1", + "items": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ] + }, + "title": "State Degeneracies", + "type": "array" + }, + "transition_kinetics": { + "items": { + "$ref": "#/$defs/KineticsInput" + }, + "title": "Transition Kinetics", + "type": "array" + } + }, + "required": [ + "family", + "charge_states_e", + "degeneracy_convention", + "state_degeneracies", + "energy_levels", + "transition_kinetics" + ], + "title": "MultivalentConfigurationInput", + "type": "object" + }, + "MultivalentEnergyInput": { + "additionalProperties": false, + "properties": { + "correlation_energies_eV": { + "item_unit": "eV", + "items": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ] + }, + "title": "Correlation Energies Ev", + "type": "array" + }, + "energy_reference": { + "const": "above_valence_band", + "title": "Energy Reference", + "type": "string" + }, + "first_transition_eV_above_vb": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "First Transition Ev Above Vb", + "unit": "eV" + } + }, + "required": [ + "first_transition_eV_above_vb", + "correlation_energies_eV", + "energy_reference" + ], + "title": "MultivalentEnergyInput", + "type": "object" + } + }, + "additionalProperties": false, + "properties": { + "defect_model": { + "const": "explicit_metastable_frozen", + "title": "Defect Model", + "type": "string" + }, + "metastable_defects": { + "items": { + "$ref": "#/$defs/MetastableDefectInput" + }, + "title": "Metastable Defects", + "type": "array" + }, + "schema_version": { + "const": "solarlab-metastable-bulk-defects-v1", + "title": "Schema Version", + "type": "string" + } + }, + "required": [ + "schema_version", + "defect_model", + "metastable_defects" + ], + "title": "MetastableDocumentInput", + "type": "object" + } + }, + "MetastablePreparationInput": { + "python_type": "solarlab.device.defects:MetastablePreparationInput", + "representation": "editable_input", + "schema": { + "$defs": { + "MetastableNumericsInput": { + "additionalProperties": false, + "properties": { + "clamping_factor": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Clamping Factor", + "unit": "1" + }, + "final_unclamped_refinement": { + "const": true, + "title": "Final Unclamped Refinement", + "type": "boolean" + }, + "initial_donor_fraction_guess": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Initial Donor Fraction Guess", + "unit": "1" + }, + "max_iterations": { + "exclusiveMinimum": 0, + "title": "Max Iterations", + "type": "integer" + }, + "relative_tolerance": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Relative Tolerance", + "unit": "1" + } + }, + "required": [ + "initial_donor_fraction_guess", + "max_iterations", + "relative_tolerance", + "clamping_factor", + "final_unclamped_refinement" + ], + "title": "MetastableNumericsInput", + "type": "object" + } + }, + "additionalProperties": false, + "properties": { + "configuration_freeze_stage": { + "const": "after_stationary_preparation_before_measurement", + "title": "Configuration Freeze Stage", + "type": "string" + }, + "freeze_configuration_during_measurement": { + "const": true, + "title": "Freeze Configuration During Measurement", + "type": "boolean" + }, + "illumination_continuation_steps": { + "minimum": 0, + "title": "Illumination Continuation Steps", + "type": "integer" + }, + "measurement_protocol_sha256": { + "pattern": "^[0-9a-f]{64}$", + "title": "Measurement Protocol Sha256", + "type": "string" + }, + "measurement_temperature_K": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Measurement Temperature K", + "unit": "K" + }, + "numerics": { + "$ref": "#/$defs/MetastableNumericsInput" + }, + "preparation_illumination_suns": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Preparation Illumination Suns", + "unit": "1" + }, + "preparation_limit": { + "const": "stationary_infinite_time", + "title": "Preparation Limit", + "type": "string" + }, + "preparation_temperature_K": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Preparation Temperature K", + "unit": "K" + }, + "preparation_voltage_V": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": false, + "nullable": false, + "positive": false, + "title": "Preparation Voltage V", + "unit": "V" + }, + "schema_version": { + "const": "solarlab-metastable-preparation-v1", + "title": "Schema Version", + "type": "string" + }, + "voltage_continuation_steps": { + "minimum": 0, + "title": "Voltage Continuation Steps", + "type": "integer" + } + }, + "required": [ + "schema_version", + "preparation_limit", + "preparation_temperature_K", + "preparation_voltage_V", + "preparation_illumination_suns", + "voltage_continuation_steps", + "illumination_continuation_steps", + "measurement_temperature_K", + "configuration_freeze_stage", + "freeze_configuration_during_measurement", + "measurement_protocol_sha256", + "numerics" + ], + "title": "MetastablePreparationInput", + "type": "object" + } + }, + "MultivalentDefectInput": { + "python_type": "solarlab.device.defects:MultivalentDefectInput", + "representation": "editable_input", + "schema": { + "$defs": { + "KineticsInput": { + "additionalProperties": false, + "properties": { + "sigma_n_m2": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Sigma N M2", + "unit": "m^2" + }, + "sigma_p_m2": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Sigma P M2", + "unit": "m^2" + }, + "thermal_velocity_n_m_s": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Thermal Velocity N M S", + "unit": "m/s" + }, + "thermal_velocity_p_m_s": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Thermal Velocity P M S", + "unit": "m/s" + } + }, + "required": [ + "sigma_n_m2", + "sigma_p_m2", + "thermal_velocity_n_m_s", + "thermal_velocity_p_m_s" + ], + "title": "KineticsInput", + "type": "object" + }, + "MultivalentConfigurationInput": { + "additionalProperties": false, + "properties": { + "charge_states_e": { + "items": { + "type": "integer" + }, + "title": "Charge States E", + "type": "array" + }, + "degeneracy_convention": { + "enum": [ + "scaps_binomial", + "unity", + "explicit" + ], + "title": "Degeneracy Convention", + "type": "string" + }, + "energy_levels": { + "$ref": "#/$defs/MultivalentEnergyInput" + }, + "family": { + "enum": [ + "single_donor", + "single_acceptor", + "double_donor", + "double_acceptor", + "amphoteric", + "custom_multilevel" + ], + "title": "Family", + "type": "string" + }, + "state_degeneracies": { + "item_positive": true, + "item_unit": "1", + "items": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ] + }, + "title": "State Degeneracies", + "type": "array" + }, + "transition_kinetics": { + "items": { + "$ref": "#/$defs/KineticsInput" + }, + "title": "Transition Kinetics", + "type": "array" + } + }, + "required": [ + "family", + "charge_states_e", + "degeneracy_convention", + "state_degeneracies", + "energy_levels", + "transition_kinetics" + ], + "title": "MultivalentConfigurationInput", + "type": "object" + }, + "MultivalentEnergyInput": { + "additionalProperties": false, + "properties": { + "correlation_energies_eV": { + "item_unit": "eV", + "items": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ] + }, + "title": "Correlation Energies Ev", + "type": "array" + }, + "energy_reference": { + "const": "above_valence_band", + "title": "Energy Reference", + "type": "string" + }, + "first_transition_eV_above_vb": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "First Transition Ev Above Vb", + "unit": "eV" + } + }, + "required": [ + "first_transition_eV_above_vb", + "correlation_energies_eV", + "energy_reference" + ], + "title": "MultivalentEnergyInput", + "type": "object" + } + }, + "additionalProperties": false, + "properties": { + "configuration": { + "$ref": "#/$defs/MultivalentConfigurationInput" + }, + "id": { + "pattern": "^[A-Za-z_][A-Za-z0-9_.:-]*$", + "title": "Id", + "type": "string" + }, + "name": { + "minLength": 1, + "title": "Name", + "type": "string" + }, + "total_density_m3": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Total Density M3", + "unit": "m^-3" + } + }, + "required": [ + "id", + "name", + "total_density_m3", + "configuration" + ], + "title": "MultivalentDefectInput", + "type": "object" + } + }, + "NamedMaterialInput": { + "python_type": "solarlab.device.inputs:NamedMaterialInput", + "representation": "editable_input", + "schema": { + "$defs": { + "CigsOpticsInput": { + "additionalProperties": false, + "description": "GGI endpoints follow the layer's electrical grading coordinate.\n\nAbsent model, slice and quadrature values are supplied by the injected catalog,\ncompiled from the existing model declaration. None is never a numeric default.", + "properties": { + "cgi": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Cgi", + "unit": "1" + }, + "ggi_back": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Ggi Back", + "unit": "1" + }, + "ggi_front": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Ggi Front", + "unit": "1" + }, + "kk_quadrature_order": { + "anyOf": [ + { + "maximum": 2048, + "minimum": 48, + "type": "integer" + } + ], + "title": "Kk Quadrature Order" + }, + "model": { + "anyOf": [ + { + "const": "minoura_2015", + "type": "string" + } + ], + "title": "Model" + }, + "slices": { + "anyOf": [ + { + "maximum": 512, + "minimum": 1, + "type": "integer" + } + ], + "title": "Slices" + } + }, + "required": [ + "ggi_front", + "ggi_back", + "cgi" + ], + "title": "CigsOpticsInput", + "type": "object" + }, + "FullParameterInput": { + "additionalProperties": false, + "properties": { + "A_star_n": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "A Star N", + "unit": "A/(m^2 K^2)" + }, + "A_star_p": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "A Star P", + "unit": "A/(m^2 K^2)" + }, + "B_rad": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "B Rad", + "unit": "m^3/s" + }, + "B_rad_T_gamma": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": false, + "nullable": false, + "positive": false, + "title": "B Rad T Gamma", + "unit": "1" + }, + "C_n": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "C N", + "unit": "m^6/s" + }, + "C_p": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "C P", + "unit": "m^6/s" + }, + "D_ion": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "D Ion", + "unit": "m^2/s" + }, + "D_ion_neg": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "D Ion Neg", + "unit": "m^2/s" + }, + "E_a_ion": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "E A Ion", + "unit": "eV" + }, + "Eg": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "Eg", + "unit": "eV" + }, + "Eg_back": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": false, + "title": "Eg Back", + "unit": "eV" + }, + "N_A": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "N A", + "unit": "m^-3" + }, + "N_A_bulk": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": false, + "title": "N A Bulk", + "unit": "m^-3" + }, + "N_D": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "N D", + "unit": "m^-3" + }, + "N_D_bulk": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": false, + "title": "N D Bulk", + "unit": "m^-3" + }, + "Nc300": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": true, + "title": "Nc300", + "unit": "m^-3" + }, + "Nv300": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": true, + "title": "Nv300", + "unit": "m^-3" + }, + "P0": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "P0", + "unit": "m^-3" + }, + "P0_neg": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "P0 Neg", + "unit": "m^-3" + }, + "P_lim": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "P Lim", + "unit": "m^-3" + }, + "P_lim_neg": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "P Lim Neg", + "unit": "m^-3" + }, + "acceptor_binding_energy_eV": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": false, + "title": "Acceptor Binding Energy Ev", + "unit": "eV" + }, + "acceptor_degeneracy": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Acceptor Degeneracy", + "unit": "1" + }, + "alpha": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "Alpha", + "unit": "m^-1" + }, + "band_gap_narrowing_model": { + "anyOf": [ + { + "enum": [ + "off", + "slotboom" + ], + "type": "string" + } + ], + "title": "Band Gap Narrowing Model" + }, + "bgn_conduction_band_fraction": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Bgn Conduction Band Fraction", + "unit": "1" + }, + "bgn_log_shape": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Bgn Log Shape", + "unit": "1" + }, + "bgn_reference_density_m3": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Bgn Reference Density M3", + "unit": "m^-3" + }, + "bgn_reference_energy_eV": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Bgn Reference Energy Ev", + "unit": "eV" + }, + "carrier_statistics": { + "anyOf": [ + { + "enum": [ + "maxwell_boltzmann", + "fermi_dirac" + ], + "type": "string" + } + ], + "title": "Carrier Statistics" + }, + "chi": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": false, + "positive": false, + "title": "Chi", + "unit": "eV" + }, + "chi_back": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": false, + "nullable": true, + "positive": false, + "title": "Chi Back", + "unit": "eV" + }, + "ct_beta_n": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Ct Beta N", + "unit": "1" + }, + "ct_beta_p": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Ct Beta P", + "unit": "1" + }, + "donor_binding_energy_eV": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": false, + "title": "Donor Binding Energy Ev", + "unit": "eV" + }, + "donor_degeneracy": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Donor Degeneracy", + "unit": "1" + }, + "dopant_ionization_model": { + "anyOf": [ + { + "enum": [ + "fully_ionized", + "discrete_level" + ], + "type": "string" + } + ], + "title": "Dopant Ionization Model" + }, + "doping_decay_length": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": true, + "title": "Doping Decay Length", + "unit": "m" + }, + "doping_edge": { + "anyOf": [ + { + "enum": [ + "front", + "back" + ], + "type": "string" + } + ], + "title": "Doping Edge" + }, + "doping_profile_shape": { + "anyOf": [ + { + "const": "gaussian", + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Doping Profile Shape" + }, + "eps_r": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": true, + "title": "Eps R", + "unit": "1" + }, + "grading_N_mult": { + "anyOf": [ + { + "exclusiveMinimum": 0, + "type": "integer" + } + ], + "title": "Grading N Mult" + }, + "grading_bowing": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": false, + "nullable": false, + "positive": false, + "title": "Grading Bowing", + "unit": "eV" + }, + "grading_char_length": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": true, + "title": "Grading Char Length", + "unit": "m" + }, + "grading_direction": { + "anyOf": [ + { + "enum": [ + "front_to_back", + "back_to_front" + ], + "type": "string" + } + ], + "title": "Grading Direction" + }, + "grading_profile": { + "anyOf": [ + { + "enum": [ + "linear", + "parabolic", + "exponential" + ], + "type": "string" + } + ], + "title": "Grading Profile" + }, + "incoherent": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Incoherent" + }, + "mu_T_gamma": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": false, + "nullable": false, + "positive": false, + "title": "Mu T Gamma", + "unit": "1" + }, + "mu_n": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "Mu N", + "unit": "m^2/(V s)" + }, + "mu_p": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "Mu P", + "unit": "m^2/(V s)" + }, + "n1": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "N1", + "unit": "m^-3" + }, + "n_optical": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": true, + "title": "N Optical", + "unit": "1" + }, + "ni": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "Ni", + "unit": "m^-3" + }, + "optical_material": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Optical Material" + }, + "p1": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "P1", + "unit": "m^-3" + }, + "pf_gamma_n": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Pf Gamma N", + "unit": "(m/V)^0.5" + }, + "pf_gamma_p": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Pf Gamma P", + "unit": "(m/V)^0.5" + }, + "tau_n": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": true, + "title": "Tau N", + "unit": "s" + }, + "tau_p": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": true, + "title": "Tau P", + "unit": "s" + }, + "trap_N_t_bulk": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": false, + "title": "Trap N T Bulk", + "unit": "m^-3" + }, + "trap_N_t_interface": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": false, + "title": "Trap N T Interface", + "unit": "m^-3" + }, + "trap_decay_length": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": false, + "title": "Trap Decay Length", + "unit": "m" + }, + "trap_edge": { + "anyOf": [ + { + "enum": [ + "both", + "left", + "right" + ], + "type": "string" + } + ], + "title": "Trap Edge" + }, + "trap_profile_shape": { + "anyOf": [ + { + "enum": [ + "exponential", + "gaussian" + ], + "type": "string" + } + ], + "title": "Trap Profile Shape" + }, + "v_sat_n": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "V Sat N", + "unit": "m/s" + }, + "v_sat_p": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "V Sat P", + "unit": "m/s" + }, + "v_th": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "V Th", + "unit": "m/s" + }, + "varshni_alpha": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": false, + "nullable": false, + "positive": false, + "title": "Varshni Alpha", + "unit": "eV/K" + }, + "varshni_beta": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Varshni Beta", + "unit": "K" + } + }, + "title": "FullParameterInput", + "type": "object" + } + }, + "additionalProperties": false, + "properties": { + "cigs_graded_optics": { + "anyOf": [ + { + "$ref": "#/$defs/CigsOpticsInput" + }, + { + "type": "null" + } + ] + }, + "id": { + "pattern": "^[A-Za-z_][A-Za-z0-9_.:-]*$", + "title": "Id", + "type": "string" + }, + "name": { + "minLength": 1, + "title": "Name", + "type": "string" + }, + "parameters": { + "$ref": "#/$defs/FullParameterInput" + } + }, + "required": [ + "id", + "name", + "parameters" + ], + "title": "NamedMaterialInput", + "type": "object" + } + }, + "SpatialExperimentInput": { + "python_type": "solarlab.experiments.two_dimensional.inputs:SpatialExperimentInput", + "representation": "editable_input", + "schema": { + "$defs": { + "BandToBandInput": { + "additionalProperties": false, + "properties": { + "enabled": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Enabled" + }, + "energy_quadrature_order": { + "anyOf": [ + { + "minimum": 4, + "type": "integer" + } + ], + "title": "Energy Quadrature Order" + }, + "minimum_field_V_m": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Minimum Field V M", + "unit": "V/m" + }, + "reduced_effective_mass_rel": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Reduced Effective Mass Rel", + "unit": "1" + } + }, + "title": "BandToBandInput", + "type": "object" + }, + "BulkDefectInput": { + "additionalProperties": false, + "properties": { + "charge_transition": { + "enum": [ + "neutral", + "acceptor", + "donor", + "unresolved" + ], + "title": "Charge Transition", + "type": "string" + }, + "degeneracy": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Degeneracy", + "unit": "1" + }, + "distribution": { + "$ref": "#/$defs/DistributionInput" + }, + "energy_level": { + "anyOf": [ + { + "$ref": "#/$defs/EnergyLevelInput" + }, + { + "type": "null" + } + ] + }, + "id": { + "pattern": "^[A-Za-z_][A-Za-z0-9_.:-]*$", + "title": "Id", + "type": "string" + }, + "kinetics": { + "$ref": "#/$defs/KineticsInput" + }, + "name": { + "anyOf": [ + { + "minLength": 1, + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Name" + }, + "neutral_reference": { + "enum": [ + "all_occupancies", + "empty", + "filled", + "unresolved" + ], + "title": "Neutral Reference", + "type": "string" + }, + "spatial_profile": { + "anyOf": [ + { + "$ref": "#/$defs/SpatialProfileInput" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "id", + "distribution", + "charge_transition", + "neutral_reference", + "kinetics", + "degeneracy" + ], + "title": "BulkDefectInput", + "type": "object" + }, + "CigsOpticsInput": { + "additionalProperties": false, + "description": "GGI endpoints follow the layer's electrical grading coordinate.\n\nAbsent model, slice and quadrature values are supplied by the injected catalog,\ncompiled from the existing model declaration. None is never a numeric default.", + "properties": { + "cgi": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Cgi", + "unit": "1" + }, + "ggi_back": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Ggi Back", + "unit": "1" + }, + "ggi_front": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Ggi Front", + "unit": "1" + }, + "kk_quadrature_order": { + "anyOf": [ + { + "maximum": 2048, + "minimum": 48, + "type": "integer" + } + ], + "title": "Kk Quadrature Order" + }, + "model": { + "anyOf": [ + { + "const": "minoura_2015", + "type": "string" + } + ], + "title": "Model" + }, + "slices": { + "anyOf": [ + { + "maximum": 512, + "minimum": 1, + "type": "integer" + } + ], + "title": "Slices" + } + }, + "required": [ + "ggi_front", + "ggi_back", + "cgi" + ], + "title": "CigsOpticsInput", + "type": "object" + }, + "ComponentwiseAtolInput": { + "additionalProperties": false, + "properties": { + "carrier_fraction": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Carrier Fraction", + "unit": "1" + }, + "interface_fraction": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Interface Fraction", + "unit": "1" + }, + "ion_fraction": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Ion Fraction", + "unit": "1" + }, + "minimum_atol": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Minimum Atol", + "unit": "m^-3" + }, + "refinement_factor": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Refinement Factor", + "unit": "1" + } + }, + "required": [ + "carrier_fraction", + "ion_fraction", + "interface_fraction", + "minimum_atol", + "refinement_factor" + ], + "title": "ComponentwiseAtolInput", + "type": "object" + }, + "ContactInput": { + "additionalProperties": false, + "properties": { + "S_n": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": false, + "title": "S N", + "unit": "m/s" + }, + "S_p": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": false, + "title": "S P", + "unit": "m/s" + }, + "id": { + "pattern": "^[A-Za-z_][A-Za-z0-9_.:-]*$", + "title": "Id", + "type": "string" + }, + "layer": { + "pattern": "^[A-Za-z_][A-Za-z0-9_.:-]*$", + "title": "Layer", + "type": "string" + }, + "side": { + "enum": [ + "left", + "right" + ], + "title": "Side", + "type": "string" + } + }, + "required": [ + "id", + "side", + "layer" + ], + "title": "ContactInput", + "type": "object" + }, + "ContactTunnellingInput": { + "additionalProperties": false, + "properties": { + "barrier_height_eV": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Barrier Height Ev", + "unit": "eV" + }, + "electron_effective_mass_rel": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Electron Effective Mass Rel", + "unit": "1" + }, + "enabled": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Enabled" + }, + "energy_quadrature_order": { + "anyOf": [ + { + "minimum": 4, + "type": "integer" + } + ], + "title": "Energy Quadrature Order" + }, + "hole_effective_mass_rel": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Hole Effective Mass Rel", + "unit": "1" + }, + "side": { + "anyOf": [ + { + "enum": [ + "both", + "left", + "right" + ], + "type": "string" + } + ], + "title": "Side" + } + }, + "title": "ContactTunnellingInput", + "type": "object" + }, + "DefectAssistedInput": { + "additionalProperties": false, + "properties": { + "electron_effective_mass_rel": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Electron Effective Mass Rel", + "unit": "1" + }, + "enabled": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Enabled" + }, + "hole_effective_mass_rel": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Hole Effective Mass Rel", + "unit": "1" + }, + "requires_explicit_occupancy": { + "anyOf": [ + { + "const": true, + "type": "boolean" + } + ], + "title": "Requires Explicit Occupancy" + } + }, + "title": "DefectAssistedInput", + "type": "object" + }, + "DeviceInput": { + "additionalProperties": false, + "properties": { + "contacts": { + "default": [], + "items": { + "$ref": "#/$defs/ContactInput" + }, + "title": "Contacts", + "type": "array" + }, + "description": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Description" + }, + "electrical_grid": { + "default": [], + "items": { + "$ref": "#/$defs/GridLayerInput" + }, + "title": "Electrical Grid", + "type": "array" + }, + "fixed_generation": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Fixed Generation" + }, + "grain_boundaries": { + "default": [], + "items": { + "$ref": "#/$defs/GrainBoundaryInput" + }, + "title": "Grain Boundaries", + "type": "array" + }, + "id": { + "pattern": "^[A-Za-z_][A-Za-z0-9_.:-]*$", + "title": "Id", + "type": "string" + }, + "interfaces": { + "default": [], + "items": { + "$ref": "#/$defs/InterfaceInput" + }, + "title": "Interfaces", + "type": "array" + }, + "layers": { + "items": { + "$ref": "#/$defs/FullLayerInput" + }, + "title": "Layers", + "type": "array" + }, + "legacy_fields": { + "anyOf": [ + { + "$ref": "#/$defs/LegacyDeviceFieldsInput" + }, + { + "type": "null" + } + ] + }, + "materials": { + "default": [], + "items": { + "$ref": "#/$defs/NamedMaterialInput" + }, + "title": "Materials", + "type": "array" + }, + "name": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Name" + }, + "schema_version": { + "const": "solarlab.device-preparation.v1", + "title": "Schema Version", + "type": "string" + }, + "settings": { + "$ref": "#/$defs/DeviceSettingsInput" + }, + "simulation_hints": { + "anyOf": [ + { + "$ref": "#/$defs/SimulationHintsInput" + }, + { + "type": "null" + } + ] + }, + "source_format": { + "enum": [ + "standard", + "scaps", + "canonical" + ], + "title": "Source Format", + "type": "string" + }, + "source_schema_version": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "integer" + }, + { + "type": "null" + } + ], + "title": "Source Schema Version" + }, + "spectrum": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Spectrum" + }, + "tunnelling_channels": { + "anyOf": [ + { + "$ref": "#/$defs/TunnellingInput" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "schema_version", + "id", + "source_format", + "layers" + ], + "title": "DeviceInput", + "type": "object" + }, + "DeviceSettingsInput": { + "additionalProperties": false, + "properties": { + "Phi": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Phi", + "unit": "m^-2/s" + }, + "T": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "T", + "unit": "K" + }, + "V_bi": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": false, + "nullable": false, + "positive": false, + "title": "V Bi", + "unit": "V" + }, + "band_grading": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Band Grading" + }, + "built_in_potential_mode": { + "anyOf": [ + { + "enum": [ + "legacy_manual", + "semiconductor_work_function", + "metal_work_function" + ], + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Built In Potential Mode" + }, + "contact_phi_B_eV": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Contact Phi B Ev", + "unit": "eV" + }, + "dos_band_potentials": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Dos Band Potentials" + }, + "flat_band_contacts": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Flat Band Contacts" + }, + "flat_band_metal_contacts": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Flat Band Metal Contacts" + }, + "graded_optics": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Graded Optics" + }, + "het_recomb_despike": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Het Recomb Despike", + "unit": "1" + }, + "interface_charge_closure": { + "anyOf": [ + { + "enum": [ + "off", + "equilibrium_referenced" + ], + "type": "string" + } + ], + "title": "Interface Charge Closure" + }, + "interface_charge_rebaseline_acknowledged": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Interface Charge Rebaseline Acknowledged" + }, + "interface_plane_closure": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Interface Plane Closure" + }, + "interface_plane_generation": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Interface Plane Generation" + }, + "interface_plane_projection": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Interface Plane Projection" + }, + "interface_shared_occupancy": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Interface Shared Occupancy" + }, + "interface_tunneling": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Interface Tunneling" + }, + "interface_two_sided": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Interface Two Sided" + }, + "ion_steric_diffusion_only": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Ion Steric Diffusion Only" + }, + "ion_steric_shared_site": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Ion Steric Shared Site" + }, + "jv_solver_policy": { + "anyOf": [ + { + "enum": [ + "general", + "cancellation_safe_qf_required" + ], + "type": "string" + } + ], + "title": "Jv Solver Policy" + }, + "mode": { + "anyOf": [ + { + "enum": [ + "legacy", + "fast", + "full" + ], + "type": "string" + } + ], + "title": "Mode" + }, + "phi_left": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": false, + "nullable": false, + "positive": false, + "title": "Phi Left", + "unit": "V" + }, + "te_physical_norm": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Te Physical Norm" + }, + "tunnel_mass_eff": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Tunnel Mass Eff", + "unit": "1" + }, + "work_function_left_eV": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": true, + "title": "Work Function Left Ev", + "unit": "eV" + }, + "work_function_right_eV": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": true, + "title": "Work Function Right Ev", + "unit": "eV" + } + }, + "title": "DeviceSettingsInput", + "type": "object" + }, + "DistributionInput": { + "additionalProperties": false, + "properties": { + "center_eV_above_vb": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": false, + "title": "Center Ev Above Vb", + "unit": "eV" + }, + "energy_reference": { + "anyOf": [ + { + "const": "above_valence_band", + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Energy Reference" + }, + "kind": { + "enum": [ + "single_level", + "gaussian", + "uniform", + "conduction_band_tail", + "valence_band_tail" + ], + "title": "Kind", + "type": "string" + }, + "normalization": { + "const": "integrated_total", + "title": "Normalization", + "type": "string" + }, + "support_width_multiplier": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": true, + "title": "Support Width Multiplier", + "unit": "1" + }, + "total_density_m3": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Total Density M3", + "unit": "m^-3" + }, + "width_convention": { + "anyOf": [ + { + "enum": [ + "not_applicable", + "gaussian_standard_deviation", + "scaps_characteristic_energy", + "uniform_full_width", + "unresolved" + ], + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Width Convention" + }, + "width_eV": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": true, + "title": "Width Ev", + "unit": "eV" + } + }, + "required": [ + "kind", + "normalization", + "total_density_m3" + ], + "title": "DistributionInput", + "type": "object" + }, + "EnergyLevelInput": { + "additionalProperties": false, + "properties": { + "reference": { + "enum": [ + "below_conduction_band", + "above_valence_band" + ], + "title": "Reference", + "type": "string" + }, + "value_eV": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Value Ev", + "unit": "eV" + } + }, + "required": [ + "reference", + "value_eV" + ], + "title": "EnergyLevelInput", + "type": "object" + }, + "FullLayerInput": { + "additionalProperties": false, + "properties": { + "bulk_defects": { + "default": [], + "items": { + "anyOf": [ + { + "$ref": "#/$defs/BulkDefectInput" + }, + { + "$ref": "#/$defs/MultivalentDefectInput" + } + ] + }, + "title": "Bulk Defects", + "type": "array" + }, + "bulk_trap_distribution": { + "anyOf": [ + { + "$ref": "#/$defs/LegacyBulkTrapInput" + }, + { + "type": "null" + } + ] + }, + "cigs_graded_optics": { + "anyOf": [ + { + "$ref": "#/$defs/CigsOpticsInput" + }, + { + "type": "null" + } + ] + }, + "defect_model": { + "anyOf": [ + { + "enum": [ + "effective_lifetime", + "explicit_quasi_steady" + ], + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Defect Model" + }, + "defect_schema_version": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Defect Schema Version" + }, + "id": { + "pattern": "^[A-Za-z_][A-Za-z0-9_.:-]*$", + "title": "Id", + "type": "string" + }, + "material": { + "anyOf": [ + { + "pattern": "^[A-Za-z_][A-Za-z0-9_.:-]*$", + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Material" + }, + "metastable_document": { + "anyOf": [ + { + "$ref": "#/$defs/MetastableDocumentInput" + }, + { + "type": "null" + } + ] + }, + "metastable_preparation": { + "anyOf": [ + { + "$ref": "#/$defs/MetastablePreparationInput" + }, + { + "type": "null" + } + ] + }, + "name": { + "minLength": 1, + "title": "Name", + "type": "string" + }, + "parameterization": { + "default": "standard", + "enum": [ + "standard", + "scaps" + ], + "title": "Parameterization", + "type": "string" + }, + "parameters": { + "$ref": "#/$defs/FullParameterInput" + }, + "role": { + "minLength": 1, + "title": "Role", + "type": "string" + }, + "scaps_defect_metadata": { + "default": [], + "items": { + "$ref": "#/$defs/ScapsDefectMetadataInput" + }, + "title": "Scaps Defect Metadata", + "type": "array" + }, + "thickness": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Thickness", + "unit": "m" + } + }, + "required": [ + "id", + "name", + "role", + "thickness" + ], + "title": "FullLayerInput", + "type": "object" + }, + "FullParameterInput": { + "additionalProperties": false, + "properties": { + "A_star_n": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "A Star N", + "unit": "A/(m^2 K^2)" + }, + "A_star_p": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "A Star P", + "unit": "A/(m^2 K^2)" + }, + "B_rad": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "B Rad", + "unit": "m^3/s" + }, + "B_rad_T_gamma": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": false, + "nullable": false, + "positive": false, + "title": "B Rad T Gamma", + "unit": "1" + }, + "C_n": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "C N", + "unit": "m^6/s" + }, + "C_p": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "C P", + "unit": "m^6/s" + }, + "D_ion": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "D Ion", + "unit": "m^2/s" + }, + "D_ion_neg": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "D Ion Neg", + "unit": "m^2/s" + }, + "E_a_ion": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "E A Ion", + "unit": "eV" + }, + "Eg": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "Eg", + "unit": "eV" + }, + "Eg_back": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": false, + "title": "Eg Back", + "unit": "eV" + }, + "N_A": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "N A", + "unit": "m^-3" + }, + "N_A_bulk": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": false, + "title": "N A Bulk", + "unit": "m^-3" + }, + "N_D": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "N D", + "unit": "m^-3" + }, + "N_D_bulk": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": false, + "title": "N D Bulk", + "unit": "m^-3" + }, + "Nc300": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": true, + "title": "Nc300", + "unit": "m^-3" + }, + "Nv300": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": true, + "title": "Nv300", + "unit": "m^-3" + }, + "P0": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "P0", + "unit": "m^-3" + }, + "P0_neg": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "P0 Neg", + "unit": "m^-3" + }, + "P_lim": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "P Lim", + "unit": "m^-3" + }, + "P_lim_neg": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "P Lim Neg", + "unit": "m^-3" + }, + "acceptor_binding_energy_eV": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": false, + "title": "Acceptor Binding Energy Ev", + "unit": "eV" + }, + "acceptor_degeneracy": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Acceptor Degeneracy", + "unit": "1" + }, + "alpha": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "Alpha", + "unit": "m^-1" + }, + "band_gap_narrowing_model": { + "anyOf": [ + { + "enum": [ + "off", + "slotboom" + ], + "type": "string" + } + ], + "title": "Band Gap Narrowing Model" + }, + "bgn_conduction_band_fraction": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Bgn Conduction Band Fraction", + "unit": "1" + }, + "bgn_log_shape": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Bgn Log Shape", + "unit": "1" + }, + "bgn_reference_density_m3": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Bgn Reference Density M3", + "unit": "m^-3" + }, + "bgn_reference_energy_eV": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Bgn Reference Energy Ev", + "unit": "eV" + }, + "carrier_statistics": { + "anyOf": [ + { + "enum": [ + "maxwell_boltzmann", + "fermi_dirac" + ], + "type": "string" + } + ], + "title": "Carrier Statistics" + }, + "chi": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": false, + "positive": false, + "title": "Chi", + "unit": "eV" + }, + "chi_back": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": false, + "nullable": true, + "positive": false, + "title": "Chi Back", + "unit": "eV" + }, + "ct_beta_n": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Ct Beta N", + "unit": "1" + }, + "ct_beta_p": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Ct Beta P", + "unit": "1" + }, + "donor_binding_energy_eV": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": false, + "title": "Donor Binding Energy Ev", + "unit": "eV" + }, + "donor_degeneracy": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Donor Degeneracy", + "unit": "1" + }, + "dopant_ionization_model": { + "anyOf": [ + { + "enum": [ + "fully_ionized", + "discrete_level" + ], + "type": "string" + } + ], + "title": "Dopant Ionization Model" + }, + "doping_decay_length": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": true, + "title": "Doping Decay Length", + "unit": "m" + }, + "doping_edge": { + "anyOf": [ + { + "enum": [ + "front", + "back" + ], + "type": "string" + } + ], + "title": "Doping Edge" + }, + "doping_profile_shape": { + "anyOf": [ + { + "const": "gaussian", + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Doping Profile Shape" + }, + "eps_r": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": true, + "title": "Eps R", + "unit": "1" + }, + "grading_N_mult": { + "anyOf": [ + { + "exclusiveMinimum": 0, + "type": "integer" + } + ], + "title": "Grading N Mult" + }, + "grading_bowing": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": false, + "nullable": false, + "positive": false, + "title": "Grading Bowing", + "unit": "eV" + }, + "grading_char_length": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": true, + "title": "Grading Char Length", + "unit": "m" + }, + "grading_direction": { + "anyOf": [ + { + "enum": [ + "front_to_back", + "back_to_front" + ], + "type": "string" + } + ], + "title": "Grading Direction" + }, + "grading_profile": { + "anyOf": [ + { + "enum": [ + "linear", + "parabolic", + "exponential" + ], + "type": "string" + } + ], + "title": "Grading Profile" + }, + "incoherent": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Incoherent" + }, + "mu_T_gamma": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": false, + "nullable": false, + "positive": false, + "title": "Mu T Gamma", + "unit": "1" + }, + "mu_n": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "Mu N", + "unit": "m^2/(V s)" + }, + "mu_p": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "Mu P", + "unit": "m^2/(V s)" + }, + "n1": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "N1", + "unit": "m^-3" + }, + "n_optical": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": true, + "title": "N Optical", + "unit": "1" + }, + "ni": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "Ni", + "unit": "m^-3" + }, + "optical_material": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Optical Material" + }, + "p1": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "P1", + "unit": "m^-3" + }, + "pf_gamma_n": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Pf Gamma N", + "unit": "(m/V)^0.5" + }, + "pf_gamma_p": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Pf Gamma P", + "unit": "(m/V)^0.5" + }, + "tau_n": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": true, + "title": "Tau N", + "unit": "s" + }, + "tau_p": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": true, + "title": "Tau P", + "unit": "s" + }, + "trap_N_t_bulk": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": false, + "title": "Trap N T Bulk", + "unit": "m^-3" + }, + "trap_N_t_interface": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": false, + "title": "Trap N T Interface", + "unit": "m^-3" + }, + "trap_decay_length": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": false, + "title": "Trap Decay Length", + "unit": "m" + }, + "trap_edge": { + "anyOf": [ + { + "enum": [ + "both", + "left", + "right" + ], + "type": "string" + } + ], + "title": "Trap Edge" + }, + "trap_profile_shape": { + "anyOf": [ + { + "enum": [ + "exponential", + "gaussian" + ], + "type": "string" + } + ], + "title": "Trap Profile Shape" + }, + "v_sat_n": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "V Sat N", + "unit": "m/s" + }, + "v_sat_p": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "V Sat P", + "unit": "m/s" + }, + "v_th": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "V Th", + "unit": "m/s" + }, + "varshni_alpha": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": false, + "nullable": false, + "positive": false, + "title": "Varshni Alpha", + "unit": "eV/K" + }, + "varshni_beta": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Varshni Beta", + "unit": "K" + } + }, + "title": "FullParameterInput", + "type": "object" + }, + "GrainBoundaryInput": { + "additionalProperties": false, + "properties": { + "id": { + "pattern": "^[A-Za-z_][A-Za-z0-9_.:-]*$", + "title": "Id", + "type": "string" + }, + "layer_ids": { + "items": { + "pattern": "^[A-Za-z_][A-Za-z0-9_.:-]*$", + "type": "string" + }, + "title": "Layer Ids", + "type": "array" + }, + "source_layer_role": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Source Layer Role" + }, + "tau_n": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Tau N", + "unit": "s" + }, + "tau_p": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Tau P", + "unit": "s" + }, + "width": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Width", + "unit": "m" + }, + "x_position": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "X Position", + "unit": "m" + } + }, + "required": [ + "id", + "layer_ids", + "x_position", + "width", + "tau_n", + "tau_p" + ], + "title": "GrainBoundaryInput", + "type": "object" + }, + "GrainSweepInput": { + "additionalProperties": false, + "properties": { + "Nx": { + "anyOf": [ + { + "exclusiveMinimum": 0, + "type": "integer" + } + ], + "title": "Lateral intervals (Nx)" + }, + "Ny_per_layer": { + "anyOf": [ + { + "exclusiveMinimum": 0, + "type": "integer" + } + ], + "title": "Vertical intervals per electrical layer" + }, + "V_max": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "V Max", + "unit": "V" + }, + "V_step": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "V Step", + "unit": "V" + }, + "gb_width": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Gb Width", + "unit": "m" + }, + "grain_sizes": { + "anyOf": [ + { + "items": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ] + }, + "minItems": 0, + "type": "array" + }, + { + "type": "null" + } + ], + "item_input_unit": "nm", + "item_positive": true, + "item_unit": "m", + "title": "Grain Sizes" + }, + "grain_sizes_nm": { + "anyOf": [ + { + "items": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ] + }, + "minItems": 0, + "type": "array" + }, + { + "type": "null" + } + ], + "item_input_unit": "nm", + "item_positive": true, + "item_unit": "m", + "title": "Grain Sizes Nm" + }, + "illuminated": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Illuminated" + }, + "kind": { + "const": "voc_grain_sweep", + "title": "Kind", + "type": "string" + }, + "settle_t": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Settle T", + "unit": "s" + }, + "tau_gb_n": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Tau Gb N", + "unit": "s" + }, + "tau_gb_p": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Tau Gb P", + "unit": "s" + } + }, + "required": [ + "kind" + ], + "title": "GrainSweepInput", + "type": "object" + }, + "GridLayerInput": { + "additionalProperties": false, + "properties": { + "alpha": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Alpha", + "unit": "1" + }, + "interval_weight": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Interval Weight", + "unit": "1" + }, + "layer": { + "pattern": "^[A-Za-z_][A-Za-z0-9_.:-]*$", + "title": "Layer", + "type": "string" + } + }, + "required": [ + "layer", + "interval_weight", + "alpha" + ], + "title": "GridLayerInput", + "type": "object" + }, + "InterfaceDefectInput": { + "additionalProperties": false, + "properties": { + "calibration_factor": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Calibration Factor", + "unit": "1" + }, + "energy_reference": { + "enum": [ + "below_conduction_band", + "above_valence_band" + ], + "title": "Energy Reference", + "type": "string" + }, + "id": { + "pattern": "^[A-Za-z_][A-Za-z0-9_.:-]*$", + "title": "Id", + "type": "string" + }, + "iface_state_calibration_factor": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Iface State Calibration Factor", + "unit": "1" + }, + "kinetics": { + "$ref": "#/$defs/KineticsInput" + }, + "partner_metadata": { + "anyOf": [ + { + "$ref": "#/$defs/ScapsDefectMetadataInput" + }, + { + "type": "null" + } + ] + }, + "total_density_m2": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Total Density M2", + "unit": "m^-2" + }, + "trap_depth_eV": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Trap Depth Ev", + "unit": "eV" + } + }, + "required": [ + "id", + "trap_depth_eV", + "energy_reference", + "total_density_m2", + "kinetics", + "calibration_factor", + "iface_state_calibration_factor" + ], + "title": "InterfaceDefectInput", + "type": "object" + }, + "InterfaceInput": { + "additionalProperties": false, + "properties": { + "defect": { + "anyOf": [ + { + "$ref": "#/$defs/InterfaceDefectInput" + }, + { + "type": "null" + } + ] + }, + "id": { + "pattern": "^[A-Za-z_][A-Za-z0-9_.:-]*$", + "title": "Id", + "type": "string" + }, + "left": { + "pattern": "^[A-Za-z_][A-Za-z0-9_.:-]*$", + "title": "Left", + "type": "string" + }, + "right": { + "pattern": "^[A-Za-z_][A-Za-z0-9_.:-]*$", + "title": "Right", + "type": "string" + }, + "v_n": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": false, + "title": "V N", + "unit": "m/s" + }, + "v_p": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": false, + "title": "V P", + "unit": "m/s" + } + }, + "required": [ + "id", + "left", + "right" + ], + "title": "InterfaceInput", + "type": "object" + }, + "IntrabandInput": { + "additionalProperties": false, + "properties": { + "carrier": { + "anyOf": [ + { + "enum": [ + "electron", + "hole", + "both" + ], + "type": "string" + } + ], + "title": "Carrier" + }, + "electron_effective_mass_rel": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Electron Effective Mass Rel", + "unit": "1" + }, + "enabled": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Enabled" + }, + "energy_quadrature_order": { + "anyOf": [ + { + "minimum": 4, + "type": "integer" + } + ], + "title": "Energy Quadrature Order" + }, + "hole_effective_mass_rel": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Hole Effective Mass Rel", + "unit": "1" + } + }, + "title": "IntrabandInput", + "type": "object" + }, + "JV2DAtolInput": { + "additionalProperties": false, + "properties": { + "carrier_fraction": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": true, + "title": "Carrier Fraction", + "unit": "1" + }, + "interface_fraction": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": true, + "title": "Interface Fraction", + "unit": "1" + }, + "ion_fraction": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": true, + "title": "Ion Fraction", + "unit": "1" + }, + "minimum_atol": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": true, + "title": "Minimum Atol", + "unit": "m^-3" + }, + "mode": { + "enum": [ + "scalar", + "componentwise" + ], + "title": "Mode", + "type": "string" + }, + "refinement_factor": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": true, + "title": "Refinement Factor", + "unit": "1" + }, + "scalar_atol": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": true, + "title": "Scalar Atol", + "unit": "m^-3" + } + }, + "required": [ + "mode", + "scalar_atol", + "carrier_fraction", + "ion_fraction", + "interface_fraction", + "minimum_atol", + "refinement_factor" + ], + "title": "JV2DAtolInput", + "type": "object" + }, + "JV2DGrainProtocolInput": { + "additionalProperties": false, + "properties": { + "layer_role": { + "minLength": 1, + "title": "Layer Role", + "type": "string" + }, + "tau_n_s": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Tau N S", + "unit": "s" + }, + "tau_p_s": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Tau P S", + "unit": "s" + }, + "width_m": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Width M", + "unit": "m" + }, + "x_position_m": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": false, + "nullable": false, + "positive": false, + "title": "X Position M", + "unit": "m" + } + }, + "required": [ + "x_position_m", + "width_m", + "tau_n_s", + "tau_p_s", + "layer_role" + ], + "title": "JV2DGrainProtocolInput", + "type": "object" + }, + "JV2DInput": { + "additionalProperties": false, + "properties": { + "Nx": { + "anyOf": [ + { + "exclusiveMinimum": 0, + "type": "integer" + } + ], + "title": "Lateral intervals (Nx)" + }, + "Ny_per_layer": { + "anyOf": [ + { + "exclusiveMinimum": 0, + "type": "integer" + } + ], + "title": "Vertical intervals per electrical layer" + }, + "V_max": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "V Max", + "unit": "V" + }, + "V_step": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "V Step", + "unit": "V" + }, + "atol": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Atol", + "unit": "m^-3" + }, + "componentwise_atol": { + "anyOf": [ + { + "$ref": "#/$defs/ComponentwiseAtolInput" + }, + { + "type": "null" + } + ] + }, + "illuminated": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Illuminated" + }, + "initial_state_settle_s": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Initial State Settle S", + "unit": "s" + }, + "interface_srh": { + "anyOf": [ + { + "enum": [ + "off", + "two_sided_cross_node" + ], + "type": "string" + } + ], + "title": "Interface Srh" + }, + "ion_dynamics": { + "anyOf": [ + { + "enum": [ + "frozen", + "single_mobile" + ], + "type": "string" + } + ], + "title": "Ion Dynamics" + }, + "ion_inventory_rtol": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Ion Inventory Rtol", + "unit": "1" + }, + "jv_2d_protocol": { + "anyOf": [ + { + "$ref": "#/$defs/JV2DProtocolInput" + }, + { + "type": "null" + } + ] + }, + "kind": { + "const": "jv_2d", + "title": "Kind", + "type": "string" + }, + "lateral_bc": { + "anyOf": [ + { + "enum": [ + "periodic", + "neumann" + ], + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Lateral Bc" + }, + "lateral_length": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Lateral Length", + "unit": "m" + }, + "max_bisect": { + "anyOf": [ + { + "minimum": 0, + "type": "integer" + } + ], + "title": "Max Bisect" + }, + "max_nfev_per_solve": { + "anyOf": [ + { + "exclusiveMinimum": 0, + "type": "integer" + } + ], + "title": "Max Nfev Per Solve" + }, + "microstructure": { + "anyOf": [ + { + "$ref": "#/$defs/MicrostructureInput" + }, + { + "type": "null" + } + ] + }, + "protocol_mode": { + "anyOf": [ + { + "enum": [ + "compatibility", + "research_strict" + ], + "type": "string" + } + ], + "title": "Protocol Mode" + }, + "rtol": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Rtol", + "unit": "1" + }, + "save_snapshots": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Save Snapshots" + }, + "settle_t": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Settle T", + "unit": "s" + } + }, + "required": [ + "kind" + ], + "title": "JV2DInput", + "type": "object" + }, + "JV2DProtocolInput": { + "additionalProperties": false, + "description": "Supplied execution-protocol declaration, not a generated or bound mesh.", + "properties": { + "applied_voltage_rate_at_sampling_V_s": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": false, + "nullable": false, + "positive": false, + "title": "Applied Voltage Rate At Sampling V S", + "unit": "V/s" + }, + "carrier_boundary_condition": { + "enum": [ + "ohmic", + "selective_robin" + ], + "title": "Carrier Boundary Condition", + "type": "string" + }, + "current_composition": { + "enum": [ + "electron_hole_conduction", + "electron_hole_positive_ion_displacement" + ], + "title": "Current Composition", + "type": "string" + }, + "current_sampling": { + "const": "instantaneous_dwell_endpoint", + "title": "Current Sampling", + "type": "string" + }, + "dwell_time_per_voltage_s": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Dwell Time Per Voltage S", + "unit": "s" + }, + "grain_boundaries": { + "items": { + "$ref": "#/$defs/JV2DGrainProtocolInput" + }, + "title": "Grain Boundaries", + "type": "array" + }, + "illuminated": { + "title": "Illuminated", + "type": "boolean" + }, + "illumination_source": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Illumination Source" + }, + "implicit_legacy_protocol": { + "title": "Implicit Legacy Protocol", + "type": "boolean" + }, + "initial_state_settle_s": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": true, + "title": "Initial State Settle S", + "unit": "s" + }, + "initial_state_source": { + "enum": [ + "one_dimensional_illuminated_finite_time", + "one_dimensional_dark_equilibrium" + ], + "title": "Initial State Source", + "type": "string" + }, + "initial_state_voltage_V": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": false, + "nullable": false, + "positive": false, + "title": "Initial State Voltage V", + "unit": "V" + }, + "interface_srh": { + "enum": [ + "off", + "two_sided_cross_node" + ], + "title": "Interface Srh", + "type": "string" + }, + "ion_boundary_condition": { + "enum": [ + "frozen", + "blocking" + ], + "title": "Ion Boundary Condition", + "type": "string" + }, + "ion_inventory_rtol": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Ion Inventory Rtol", + "unit": "1" + }, + "lateral_bc": { + "enum": [ + "periodic", + "neumann" + ], + "title": "Lateral Bc", + "type": "string" + }, + "max_bisect": { + "minimum": 0, + "title": "Max Bisect", + "type": "integer" + }, + "max_nfev_per_solve": { + "exclusiveMinimum": 0, + "title": "Max Nfev Per Solve", + "type": "integer" + }, + "save_snapshots": { + "title": "Save Snapshots", + "type": "boolean" + }, + "schema_version": { + "const": "jv-2d-execution-protocol-v1", + "title": "Schema Version", + "type": "string" + }, + "solver_atol": { + "$ref": "#/$defs/JV2DAtolInput" + }, + "solver_max_step_divisor": { + "exclusiveMinimum": 0, + "title": "Solver Max Step Divisor", + "type": "integer" + }, + "solver_method": { + "const": "Radau", + "title": "Solver Method", + "type": "string" + }, + "solver_rtol": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Solver Rtol", + "unit": "1" + }, + "state_topology": { + "enum": [ + "frozen_ion_background", + "single_positive_mobile_ion" + ], + "title": "State Topology", + "type": "string" + }, + "temperature_K": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Temperature K", + "unit": "K" + }, + "voltage_values_V": { + "item_input_unit": null, + "item_positive": false, + "item_unit": "V", + "items": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ] + }, + "minItems": 1, + "title": "Voltage Values V", + "type": "array" + }, + "x_coordinates_m": { + "item_input_unit": null, + "item_positive": false, + "item_unit": "m", + "items": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ] + }, + "minItems": 2, + "title": "X Coordinates M", + "type": "array" + }, + "y_coordinates_m": { + "item_input_unit": null, + "item_positive": false, + "item_unit": "m", + "items": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ] + }, + "minItems": 3, + "title": "Y Coordinates M", + "type": "array" + } + }, + "required": [ + "temperature_K", + "illuminated", + "illumination_source", + "initial_state_source", + "initial_state_voltage_V", + "initial_state_settle_s", + "voltage_values_V", + "dwell_time_per_voltage_s", + "state_topology", + "ion_boundary_condition", + "carrier_boundary_condition", + "interface_srh", + "lateral_bc", + "x_coordinates_m", + "y_coordinates_m", + "grain_boundaries", + "current_composition", + "current_sampling", + "applied_voltage_rate_at_sampling_V_s", + "solver_method", + "solver_rtol", + "solver_atol", + "solver_max_step_divisor", + "max_nfev_per_solve", + "max_bisect", + "ion_inventory_rtol", + "save_snapshots", + "implicit_legacy_protocol", + "schema_version" + ], + "title": "JV2DProtocolInput", + "type": "object" + }, + "JVDCSettleInput": { + "additionalProperties": false, + "properties": { + "duration_s": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": true, + "title": "Duration S", + "unit": "s" + }, + "kind": { + "enum": [ + "finite_time", + "residual_certified", + "finite_time_with_certificate", + "not_applicable" + ], + "title": "Kind", + "type": "string" + }, + "max_carrier_area_rate_A_m2": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": true, + "title": "Max Carrier Area Rate A M2", + "unit": "A/m^2" + }, + "max_face_current_spread_A_m2": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": true, + "title": "Max Face Current Spread A M2", + "unit": "A/m^2" + }, + "max_ion_area_rate_A_m2": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": true, + "title": "Max Ion Area Rate A M2", + "unit": "A/m^2" + }, + "max_ionic_face_current_A_m2": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": true, + "title": "Max Ionic Face Current A M2", + "unit": "A/m^2" + } + }, + "required": [ + "kind", + "duration_s", + "max_carrier_area_rate_A_m2", + "max_ion_area_rate_A_m2", + "max_ionic_face_current_A_m2", + "max_face_current_spread_A_m2" + ], + "title": "JVDCSettleInput", + "type": "object" + }, + "JVIlluminationStepInput": { + "additionalProperties": false, + "properties": { + "condition": { + "enum": [ + "dark", + "baseline", + "scaled", + "monochromatic", + "pulse" + ], + "title": "Condition", + "type": "string" + }, + "duration_s": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": false, + "title": "Duration S", + "unit": "s" + }, + "intensity_suns": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": false, + "title": "Intensity Suns", + "unit": "1" + }, + "phase": { + "minLength": 1, + "title": "Phase", + "type": "string" + }, + "photon_flux_m2_s": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": true, + "title": "Photon Flux M2 S", + "unit": "m^-2/s" + }, + "relative_generation_change": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": false, + "nullable": true, + "positive": false, + "title": "Relative Generation Change", + "unit": "1" + }, + "source_reference": { + "anyOf": [ + { + "minLength": 1, + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Source Reference" + } + }, + "required": [ + "phase", + "condition", + "duration_s", + "intensity_suns", + "photon_flux_m2_s", + "relative_generation_change", + "source_reference" + ], + "title": "JVIlluminationStepInput", + "type": "object" + }, + "JVProtocolInput": { + "additionalProperties": false, + "description": "The existing ExperimentProtocol fields for its J-V branch only.", + "properties": { + "ac_excitation": { + "title": "Ac Excitation", + "type": "null" + }, + "dc_settle": { + "$ref": "#/$defs/JVDCSettleInput" + }, + "dwell_duration_s": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": false, + "title": "Dwell Duration S", + "unit": "s" + }, + "experiment": { + "const": "jv_hysteresis", + "title": "Experiment", + "type": "string" + }, + "illumination_history": { + "items": { + "$ref": "#/$defs/JVIlluminationStepInput" + }, + "minItems": 1, + "title": "Illumination History", + "type": "array" + }, + "implicit_legacy_protocol": { + "title": "Implicit Legacy Protocol", + "type": "boolean" + }, + "initial_state_source": { + "enum": [ + "dark_equilibrium", + "dark_equilibrium_each_sample", + "finite_time_illuminated_preconditioned", + "finite_time_dc_preconditioned", + "qf_dc_candidate", + "user_supplied_state" + ], + "title": "Initial State Source", + "type": "string" + }, + "pre_bias_V": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": false, + "nullable": true, + "positive": false, + "title": "Pre Bias V", + "unit": "V" + }, + "sampling": { + "$ref": "#/$defs/JVSamplingInput" + }, + "scan": { + "$ref": "#/$defs/JVScanInput" + }, + "schema_version": { + "const": 1, + "title": "Schema Version", + "type": "integer" + }, + "soak_duration_s": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": false, + "title": "Soak Duration S", + "unit": "s" + }, + "temperature_K": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Temperature K", + "unit": "K" + }, + "voc_search": { + "title": "Voc Search", + "type": "null" + } + }, + "required": [ + "experiment", + "initial_state_source", + "pre_bias_V", + "soak_duration_s", + "dwell_duration_s", + "illumination_history", + "temperature_K", + "scan", + "ac_excitation", + "dc_settle", + "sampling", + "voc_search", + "implicit_legacy_protocol", + "schema_version" + ], + "title": "JVProtocolInput", + "type": "object" + }, + "JVSamplingInput": { + "additionalProperties": false, + "properties": { + "axis": { + "const": "voltage_V", + "title": "Axis", + "type": "string" + }, + "mode": { + "enum": [ + "linear", + "log", + "declared", + "piecewise_linear" + ], + "title": "Mode", + "type": "string" + }, + "values": { + "item_input_unit": null, + "item_positive": false, + "item_unit": "V", + "items": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ] + }, + "minItems": 1, + "title": "Values", + "type": "array" + } + }, + "required": [ + "axis", + "mode", + "values" + ], + "title": "JVSamplingInput", + "type": "object" + }, + "JVScanInput": { + "additionalProperties": false, + "properties": { + "axis": { + "const": "voltage_V", + "title": "Axis", + "type": "string" + }, + "direction": { + "enum": [ + "ascending", + "descending", + "ascending_then_descending", + "declared_order", + "forward_time" + ], + "title": "Direction", + "type": "string" + }, + "rate_V_s": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Rate V S", + "unit": "V/s" + }, + "start": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": false, + "nullable": false, + "positive": false, + "title": "Start", + "unit": "V" + }, + "stop": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": false, + "nullable": false, + "positive": false, + "title": "Stop", + "unit": "V" + } + }, + "required": [ + "axis", + "direction", + "start", + "stop", + "rate_V_s" + ], + "title": "JVScanInput", + "type": "object" + }, + "JVSweepHintsInput": { + "additionalProperties": false, + "description": "Supplied advisory fields, without an endpoint or implied execution.\n\nUnknown fields reject rather than disappear. A caller must explicitly\ncompose these fields with JVInput to request protocol preparation.", + "properties": { + "N_grid": { + "anyOf": [ + { + "minimum": 3, + "type": "integer" + } + ], + "title": "Requested electrical grid allocation" + }, + "V_max": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": false, + "nullable": true, + "positive": false, + "title": "V Max", + "unit": "V" + }, + "experiment_protocol": { + "anyOf": [ + { + "$ref": "#/$defs/JVProtocolInput" + }, + { + "type": "null" + } + ] + }, + "iface_states": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Iface States" + }, + "illuminated": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Illuminated" + }, + "interface_boundary": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Interface Boundary" + }, + "interface_transport_model": { + "anyOf": [ + { + "minLength": 1, + "type": "string" + } + ], + "title": "Interface Transport Model" + }, + "n_points": { + "anyOf": [ + { + "minimum": 2, + "type": "integer" + } + ], + "title": "Samples per branch" + }, + "protocol_mode": { + "anyOf": [ + { + "enum": [ + "compatibility", + "research_strict" + ], + "type": "string" + } + ], + "title": "Protocol Mode" + }, + "solver": { + "anyOf": [ + { + "enum": [ + "transient", + "steady_state", + "quasi_fermi" + ], + "type": "string" + } + ], + "title": "Solver" + }, + "v_rate": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "V Rate", + "unit": "V/s" + }, + "waveform": { + "anyOf": [ + { + "$ref": "#/$defs/JVWaveformInput" + }, + { + "type": "null" + } + ] + }, + "waveform_controls": { + "anyOf": [ + { + "$ref": "#/$defs/JVWaveformControlsInput" + }, + { + "type": "null" + } + ] + } + }, + "title": "JVSweepHintsInput", + "type": "object" + }, + "JVWaveformControlsInput": { + "additionalProperties": false, + "properties": { + "atol_m3": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Atol M3", + "unit": "m^-3" + }, + "rtol": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Rtol", + "unit": "1" + } + }, + "required": [ + "rtol", + "atol_m3" + ], + "title": "JVWaveformControlsInput", + "type": "object" + }, + "JVWaveformInput": { + "additionalProperties": false, + "description": "All eight fields of JVWaveform.from_dict are explicit, including null.", + "properties": { + "branch_dwell_s": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Branch Dwell S", + "unit": "s" + }, + "dark_prep_s": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Dark Prep S", + "unit": "s" + }, + "dark_seed_s": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Dark Seed S", + "unit": "s" + }, + "schema_version": { + "const": 1, + "title": "Schema Version", + "type": "integer" + }, + "start_voltage_V": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": false, + "nullable": false, + "positive": false, + "title": "Start Voltage V", + "unit": "V" + }, + "turnaround_dark": { + "title": "Turnaround Dark", + "type": "boolean" + }, + "turnaround_s": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Turnaround S", + "unit": "s" + }, + "uniform_generation_rate_m3_s": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": false, + "title": "Uniform Generation Rate M3 S", + "unit": "m^-3/s" + } + }, + "required": [ + "schema_version", + "start_voltage_V", + "dark_seed_s", + "dark_prep_s", + "branch_dwell_s", + "turnaround_s", + "turnaround_dark", + "uniform_generation_rate_m3_s" + ], + "title": "JVWaveformInput", + "type": "object" + }, + "KineticsInput": { + "additionalProperties": false, + "properties": { + "sigma_n_m2": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Sigma N M2", + "unit": "m^2" + }, + "sigma_p_m2": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Sigma P M2", + "unit": "m^2" + }, + "thermal_velocity_n_m_s": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Thermal Velocity N M S", + "unit": "m/s" + }, + "thermal_velocity_p_m_s": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Thermal Velocity P M S", + "unit": "m/s" + } + }, + "required": [ + "sigma_n_m2", + "sigma_p_m2", + "thermal_velocity_n_m_s", + "thermal_velocity_p_m_s" + ], + "title": "KineticsInput", + "type": "object" + }, + "LegacyBulkTrapInput": { + "additionalProperties": false, + "properties": { + "center_eV_above_vb": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Center Ev Above Vb", + "unit": "eV" + }, + "charge_transition": { + "enum": [ + "acceptor", + "donor" + ], + "title": "Charge Transition", + "type": "string" + }, + "distribution": { + "enum": [ + "single_level", + "gaussian" + ], + "title": "Distribution", + "type": "string" + }, + "energy_sigma_eV": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Energy Sigma Ev", + "unit": "eV" + }, + "sigma_n_m2": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Sigma N M2", + "unit": "m^2" + }, + "sigma_p_m2": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Sigma P M2", + "unit": "m^2" + }, + "thermal_velocity_m_s": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Thermal Velocity M S", + "unit": "m/s" + }, + "total_density_m3": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Total Density M3", + "unit": "m^-3" + } + }, + "required": [ + "distribution", + "total_density_m3", + "center_eV_above_vb", + "sigma_n_m2", + "sigma_p_m2", + "thermal_velocity_m_s", + "charge_transition" + ], + "title": "LegacyBulkTrapInput", + "type": "object" + }, + "LegacyDeviceFieldsInput": { + "additionalProperties": false, + "properties": { + "interface_defect_count": { + "anyOf": [ + { + "minimum": 0, + "type": "integer" + }, + { + "type": "null" + } + ], + "title": "Interface Defect Count" + }, + "interfaces": { + "anyOf": [ + { + "items": { + "items": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ] + }, + "maxItems": 2, + "minItems": 2, + "type": "array" + }, + "type": "array" + }, + { + "type": "null" + } + ], + "title": "Interfaces" + }, + "layer_ids": { + "items": { + "pattern": "^[A-Za-z_][A-Za-z0-9_.:-]*$", + "type": "string" + }, + "title": "Layer Ids", + "type": "array" + }, + "schema_version": { + "const": "solarlab.standard-loader-fields.v1", + "title": "Schema Version", + "type": "string" + }, + "source_id": { + "minLength": 1, + "title": "Source Id", + "type": "string" + }, + "source_sha256": { + "pattern": "^[0-9a-f]{64}$", + "title": "Source Sha256", + "type": "string" + }, + "temperature": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "boolean" + }, + { + "type": "null" + } + ], + "title": "Temperature" + } + }, + "required": [ + "schema_version", + "source_id", + "source_sha256", + "layer_ids" + ], + "title": "LegacyDeviceFieldsInput", + "type": "object" + }, + "MetastableConversionInput": { + "additionalProperties": false, + "properties": { + "capture_n_m3_s": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Capture N M3 S", + "unit": "m^3/s" + }, + "capture_p_m3_s": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Capture P M3 S", + "unit": "m^3/s" + }, + "electron_capture_activation_eV": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Electron Capture Activation Ev", + "unit": "eV" + }, + "electron_capture_path": { + "enum": [ + "double_electron_capture", + "electron_capture_plus_hole_emission" + ], + "title": "Electron Capture Path", + "type": "string" + }, + "electron_emission_activation_eV": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Electron Emission Activation Ev", + "unit": "eV" + }, + "hole_capture_activation_eV": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Hole Capture Activation Ev", + "unit": "eV" + }, + "hole_capture_path": { + "enum": [ + "double_hole_capture", + "hole_capture_plus_electron_emission" + ], + "title": "Hole Capture Path", + "type": "string" + }, + "hole_emission_activation_eV": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Hole Emission Activation Ev", + "unit": "eV" + }, + "phonon_frequency_Hz": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Phonon Frequency Hz", + "unit": "Hz" + }, + "transition_energy_eV_above_vb": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Transition Energy Ev Above Vb", + "unit": "eV" + } + }, + "required": [ + "transition_energy_eV_above_vb", + "electron_capture_activation_eV", + "electron_emission_activation_eV", + "hole_capture_activation_eV", + "hole_emission_activation_eV", + "electron_capture_path", + "hole_capture_path", + "capture_n_m3_s", + "capture_p_m3_s", + "phonon_frequency_Hz" + ], + "title": "MetastableConversionInput", + "type": "object" + }, + "MetastableDefectInput": { + "additionalProperties": false, + "properties": { + "acceptor_configuration": { + "$ref": "#/$defs/MultivalentConfigurationInput" + }, + "acceptor_conversion_state_index": { + "minimum": 0, + "title": "Acceptor Conversion State Index", + "type": "integer" + }, + "conversion_kinetics": { + "$ref": "#/$defs/MetastableConversionInput" + }, + "donor_configuration": { + "$ref": "#/$defs/MultivalentConfigurationInput" + }, + "donor_conversion_state_index": { + "minimum": 0, + "title": "Donor Conversion State Index", + "type": "integer" + }, + "id": { + "pattern": "^[A-Za-z_][A-Za-z0-9_.:-]*$", + "title": "Id", + "type": "string" + }, + "name": { + "minLength": 1, + "title": "Name", + "type": "string" + }, + "total_density_m3": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Total Density M3", + "unit": "m^-3" + } + }, + "required": [ + "id", + "name", + "total_density_m3", + "donor_configuration", + "acceptor_configuration", + "donor_conversion_state_index", + "acceptor_conversion_state_index", + "conversion_kinetics" + ], + "title": "MetastableDefectInput", + "type": "object" + }, + "MetastableDocumentInput": { + "additionalProperties": false, + "properties": { + "defect_model": { + "const": "explicit_metastable_frozen", + "title": "Defect Model", + "type": "string" + }, + "metastable_defects": { + "items": { + "$ref": "#/$defs/MetastableDefectInput" + }, + "title": "Metastable Defects", + "type": "array" + }, + "schema_version": { + "const": "solarlab-metastable-bulk-defects-v1", + "title": "Schema Version", + "type": "string" + } + }, + "required": [ + "schema_version", + "defect_model", + "metastable_defects" + ], + "title": "MetastableDocumentInput", + "type": "object" + }, + "MetastableNumericsInput": { + "additionalProperties": false, + "properties": { + "clamping_factor": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Clamping Factor", + "unit": "1" + }, + "final_unclamped_refinement": { + "const": true, + "title": "Final Unclamped Refinement", + "type": "boolean" + }, + "initial_donor_fraction_guess": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Initial Donor Fraction Guess", + "unit": "1" + }, + "max_iterations": { + "exclusiveMinimum": 0, + "title": "Max Iterations", + "type": "integer" + }, + "relative_tolerance": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Relative Tolerance", + "unit": "1" + } + }, + "required": [ + "initial_donor_fraction_guess", + "max_iterations", + "relative_tolerance", + "clamping_factor", + "final_unclamped_refinement" + ], + "title": "MetastableNumericsInput", + "type": "object" + }, + "MetastablePreparationInput": { + "additionalProperties": false, + "properties": { + "configuration_freeze_stage": { + "const": "after_stationary_preparation_before_measurement", + "title": "Configuration Freeze Stage", + "type": "string" + }, + "freeze_configuration_during_measurement": { + "const": true, + "title": "Freeze Configuration During Measurement", + "type": "boolean" + }, + "illumination_continuation_steps": { + "minimum": 0, + "title": "Illumination Continuation Steps", + "type": "integer" + }, + "measurement_protocol_sha256": { + "pattern": "^[0-9a-f]{64}$", + "title": "Measurement Protocol Sha256", + "type": "string" + }, + "measurement_temperature_K": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Measurement Temperature K", + "unit": "K" + }, + "numerics": { + "$ref": "#/$defs/MetastableNumericsInput" + }, + "preparation_illumination_suns": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Preparation Illumination Suns", + "unit": "1" + }, + "preparation_limit": { + "const": "stationary_infinite_time", + "title": "Preparation Limit", + "type": "string" + }, + "preparation_temperature_K": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Preparation Temperature K", + "unit": "K" + }, + "preparation_voltage_V": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": false, + "nullable": false, + "positive": false, + "title": "Preparation Voltage V", + "unit": "V" + }, + "schema_version": { + "const": "solarlab-metastable-preparation-v1", + "title": "Schema Version", + "type": "string" + }, + "voltage_continuation_steps": { + "minimum": 0, + "title": "Voltage Continuation Steps", + "type": "integer" + } + }, + "required": [ + "schema_version", + "preparation_limit", + "preparation_temperature_K", + "preparation_voltage_V", + "preparation_illumination_suns", + "voltage_continuation_steps", + "illumination_continuation_steps", + "measurement_temperature_K", + "configuration_freeze_stage", + "freeze_configuration_during_measurement", + "measurement_protocol_sha256", + "numerics" + ], + "title": "MetastablePreparationInput", + "type": "object" + }, + "MicrostructureInput": { + "additionalProperties": false, + "properties": { + "grain_boundaries": { + "default": [], + "items": { + "$ref": "#/$defs/GrainBoundaryInput" + }, + "title": "Grain Boundaries", + "type": "array" + } + }, + "title": "MicrostructureInput", + "type": "object" + }, + "MultivalentConfigurationInput": { + "additionalProperties": false, + "properties": { + "charge_states_e": { + "items": { + "type": "integer" + }, + "title": "Charge States E", + "type": "array" + }, + "degeneracy_convention": { + "enum": [ + "scaps_binomial", + "unity", + "explicit" + ], + "title": "Degeneracy Convention", + "type": "string" + }, + "energy_levels": { + "$ref": "#/$defs/MultivalentEnergyInput" + }, + "family": { + "enum": [ + "single_donor", + "single_acceptor", + "double_donor", + "double_acceptor", + "amphoteric", + "custom_multilevel" + ], + "title": "Family", + "type": "string" + }, + "state_degeneracies": { + "item_positive": true, + "item_unit": "1", + "items": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ] + }, + "title": "State Degeneracies", + "type": "array" + }, + "transition_kinetics": { + "items": { + "$ref": "#/$defs/KineticsInput" + }, + "title": "Transition Kinetics", + "type": "array" + } + }, + "required": [ + "family", + "charge_states_e", + "degeneracy_convention", + "state_degeneracies", + "energy_levels", + "transition_kinetics" + ], + "title": "MultivalentConfigurationInput", + "type": "object" + }, + "MultivalentDefectInput": { + "additionalProperties": false, + "properties": { + "configuration": { + "$ref": "#/$defs/MultivalentConfigurationInput" + }, + "id": { + "pattern": "^[A-Za-z_][A-Za-z0-9_.:-]*$", + "title": "Id", + "type": "string" + }, + "name": { + "minLength": 1, + "title": "Name", + "type": "string" + }, + "total_density_m3": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Total Density M3", + "unit": "m^-3" + } + }, + "required": [ + "id", + "name", + "total_density_m3", + "configuration" + ], + "title": "MultivalentDefectInput", + "type": "object" + }, + "MultivalentEnergyInput": { + "additionalProperties": false, + "properties": { + "correlation_energies_eV": { + "item_unit": "eV", + "items": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ] + }, + "title": "Correlation Energies Ev", + "type": "array" + }, + "energy_reference": { + "const": "above_valence_band", + "title": "Energy Reference", + "type": "string" + }, + "first_transition_eV_above_vb": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "First Transition Ev Above Vb", + "unit": "eV" + } + }, + "required": [ + "first_transition_eV_above_vb", + "correlation_energies_eV", + "energy_reference" + ], + "title": "MultivalentEnergyInput", + "type": "object" + }, + "NamedMaterialInput": { + "additionalProperties": false, + "properties": { + "cigs_graded_optics": { + "anyOf": [ + { + "$ref": "#/$defs/CigsOpticsInput" + }, + { + "type": "null" + } + ] + }, + "id": { + "pattern": "^[A-Za-z_][A-Za-z0-9_.:-]*$", + "title": "Id", + "type": "string" + }, + "name": { + "minLength": 1, + "title": "Name", + "type": "string" + }, + "parameters": { + "$ref": "#/$defs/FullParameterInput" + } + }, + "required": [ + "id", + "name", + "parameters" + ], + "title": "NamedMaterialInput", + "type": "object" + }, + "ScapsDefectMetadataInput": { + "additionalProperties": false, + "description": "Preserved partner metadata; a Gaussian note is not a qualified closure.", + "properties": { + "E_char_eV": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": true, + "title": "E Char Ev", + "unit": "eV" + }, + "N_peak_m3": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": false, + "title": "N Peak M3", + "unit": "m^-3" + }, + "defect_id": { + "pattern": "^[A-Za-z_][A-Za-z0-9_.:-]*$", + "title": "Defect Id", + "type": "string" + }, + "distribution": { + "enum": [ + "single", + "gaussian" + ], + "title": "Distribution", + "type": "string" + }, + "energy_reference": { + "enum": [ + "below_conduction_band", + "above_valence_band" + ], + "title": "Energy Reference", + "type": "string" + }, + "trap_depth_eV": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Trap Depth Ev", + "unit": "eV" + } + }, + "required": [ + "distribution", + "energy_reference", + "trap_depth_eV", + "defect_id" + ], + "title": "ScapsDefectMetadataInput", + "type": "object" + }, + "SimulationHintsInput": { + "additionalProperties": false, + "properties": { + "jv_sweep": { + "anyOf": [ + { + "$ref": "#/$defs/JVSweepHintsInput" + }, + { + "type": "null" + } + ] + }, + "min_N_grid": { + "anyOf": [ + { + "exclusiveMinimum": 0, + "type": "integer" + }, + { + "type": "null" + } + ], + "title": "Min N Grid" + }, + "notes": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Notes" + } + }, + "title": "SimulationHintsInput", + "type": "object" + }, + "SpatialKnotInput": { + "additionalProperties": false, + "properties": { + "density_multiplier": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Density Multiplier", + "unit": "1" + }, + "position_fraction": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Position Fraction", + "unit": "1" + } + }, + "required": [ + "position_fraction", + "density_multiplier" + ], + "title": "SpatialKnotInput", + "type": "object" + }, + "SpatialProfileInput": { + "additionalProperties": false, + "properties": { + "coordinate": { + "const": "normalized_layer_coordinate", + "title": "Coordinate", + "type": "string" + }, + "density_normalization": { + "const": "layer_average_unity", + "title": "Density Normalization", + "type": "string" + }, + "interpolation": { + "const": "piecewise_linear", + "title": "Interpolation", + "type": "string" + }, + "knots": { + "items": { + "$ref": "#/$defs/SpatialKnotInput" + }, + "title": "Knots", + "type": "array" + } + }, + "required": [ + "coordinate", + "interpolation", + "density_normalization", + "knots" + ], + "title": "SpatialProfileInput", + "type": "object" + }, + "TunnellingInput": { + "additionalProperties": false, + "properties": { + "band_to_band": { + "anyOf": [ + { + "$ref": "#/$defs/BandToBandInput" + }, + { + "type": "null" + } + ] + }, + "contact": { + "anyOf": [ + { + "$ref": "#/$defs/ContactTunnellingInput" + }, + { + "type": "null" + } + ] + }, + "interface_defect_assisted": { + "anyOf": [ + { + "$ref": "#/$defs/DefectAssistedInput" + }, + { + "type": "null" + } + ] + }, + "intraband": { + "anyOf": [ + { + "$ref": "#/$defs/IntrabandInput" + }, + { + "type": "null" + } + ] + }, + "schema_version": { + "const": "solarlab-wkb-tunnelling-channels-v1", + "default": "solarlab-wkb-tunnelling-channels-v1", + "title": "Schema Version", + "type": "string" + } + }, + "title": "TunnellingInput", + "type": "object" + } + }, + "additionalProperties": false, + "properties": { + "device": { + "$ref": "#/$defs/DeviceInput" + }, + "experiment": { + "anyOf": [ + { + "$ref": "#/$defs/JV2DInput" + }, + { + "$ref": "#/$defs/GrainSweepInput" + } + ], + "title": "Experiment" + }, + "id": { + "pattern": "^[A-Za-z_][A-Za-z0-9_.:-]*$", + "title": "Id", + "type": "string" + }, + "schema_version": { + "const": "solarlab.experiment-preparation.v1", + "title": "Schema Version", + "type": "string" + } + }, + "required": [ + "schema_version", + "id", + "device", + "experiment" + ], + "title": "SpatialExperimentInput", + "type": "object" + } + }, + "SweepInput": { + "python_type": "solarlab.sweeps.inputs:SweepInput", + "representation": "editable_input", + "schema": { + "$defs": { + "BandToBandInput": { + "additionalProperties": false, + "properties": { + "enabled": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Enabled" + }, + "energy_quadrature_order": { + "anyOf": [ + { + "minimum": 4, + "type": "integer" + } + ], + "title": "Energy Quadrature Order" + }, + "minimum_field_V_m": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Minimum Field V M", + "unit": "V/m" + }, + "reduced_effective_mass_rel": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Reduced Effective Mass Rel", + "unit": "1" + } + }, + "title": "BandToBandInput", + "type": "object" + }, + "BulkDefectInput": { + "additionalProperties": false, + "properties": { + "charge_transition": { + "enum": [ + "neutral", + "acceptor", + "donor", + "unresolved" + ], + "title": "Charge Transition", + "type": "string" + }, + "degeneracy": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Degeneracy", + "unit": "1" + }, + "distribution": { + "$ref": "#/$defs/DistributionInput" + }, + "energy_level": { + "anyOf": [ + { + "$ref": "#/$defs/EnergyLevelInput" + }, + { + "type": "null" + } + ] + }, + "id": { + "pattern": "^[A-Za-z_][A-Za-z0-9_.:-]*$", + "title": "Id", + "type": "string" + }, + "kinetics": { + "$ref": "#/$defs/KineticsInput" + }, + "name": { + "anyOf": [ + { + "minLength": 1, + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Name" + }, + "neutral_reference": { + "enum": [ + "all_occupancies", + "empty", + "filled", + "unresolved" + ], + "title": "Neutral Reference", + "type": "string" + }, + "spatial_profile": { + "anyOf": [ + { + "$ref": "#/$defs/SpatialProfileInput" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "id", + "distribution", + "charge_transition", + "neutral_reference", + "kinetics", + "degeneracy" + ], + "title": "BulkDefectInput", + "type": "object" + }, + "CigsOpticsInput": { + "additionalProperties": false, + "description": "GGI endpoints follow the layer's electrical grading coordinate.\n\nAbsent model, slice and quadrature values are supplied by the injected catalog,\ncompiled from the existing model declaration. None is never a numeric default.", + "properties": { + "cgi": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Cgi", + "unit": "1" + }, + "ggi_back": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Ggi Back", + "unit": "1" + }, + "ggi_front": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Ggi Front", + "unit": "1" + }, + "kk_quadrature_order": { + "anyOf": [ + { + "maximum": 2048, + "minimum": 48, + "type": "integer" + } + ], + "title": "Kk Quadrature Order" + }, + "model": { + "anyOf": [ + { + "const": "minoura_2015", + "type": "string" + } + ], + "title": "Model" + }, + "slices": { + "anyOf": [ + { + "maximum": 512, + "minimum": 1, + "type": "integer" + } + ], + "title": "Slices" + } + }, + "required": [ + "ggi_front", + "ggi_back", + "cgi" + ], + "title": "CigsOpticsInput", + "type": "object" + }, + "ContactInput": { + "additionalProperties": false, + "properties": { + "S_n": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": false, + "title": "S N", + "unit": "m/s" + }, + "S_p": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": false, + "title": "S P", + "unit": "m/s" + }, + "id": { + "pattern": "^[A-Za-z_][A-Za-z0-9_.:-]*$", + "title": "Id", + "type": "string" + }, + "layer": { + "pattern": "^[A-Za-z_][A-Za-z0-9_.:-]*$", + "title": "Layer", + "type": "string" + }, + "side": { + "enum": [ + "left", + "right" + ], + "title": "Side", + "type": "string" + } + }, + "required": [ + "id", + "side", + "layer" + ], + "title": "ContactInput", + "type": "object" + }, + "ContactTunnellingInput": { + "additionalProperties": false, + "properties": { + "barrier_height_eV": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Barrier Height Ev", + "unit": "eV" + }, + "electron_effective_mass_rel": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Electron Effective Mass Rel", + "unit": "1" + }, + "enabled": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Enabled" + }, + "energy_quadrature_order": { + "anyOf": [ + { + "minimum": 4, + "type": "integer" + } + ], + "title": "Energy Quadrature Order" + }, + "hole_effective_mass_rel": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Hole Effective Mass Rel", + "unit": "1" + }, + "side": { + "anyOf": [ + { + "enum": [ + "both", + "left", + "right" + ], + "type": "string" + } + ], + "title": "Side" + } + }, + "title": "ContactTunnellingInput", + "type": "object" + }, + "DarkJVInput": { + "additionalProperties": false, + "properties": { + "N_grid": { + "anyOf": [ + { + "minimum": 3, + "type": "integer" + } + ], + "title": "Requested electrical grid allocation" + }, + "V_max": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": false, + "nullable": false, + "positive": false, + "title": "V Max", + "unit": "V" + }, + "kind": { + "const": "dark_jv", + "title": "Kind", + "type": "string" + }, + "n_points": { + "anyOf": [ + { + "minimum": 2, + "type": "integer" + } + ], + "title": "Samples per branch" + }, + "v_rate": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "V Rate", + "unit": "V/s" + } + }, + "required": [ + "kind" + ], + "title": "DarkJVInput", + "type": "object" + }, + "DefectAssistedInput": { + "additionalProperties": false, + "properties": { + "electron_effective_mass_rel": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Electron Effective Mass Rel", + "unit": "1" + }, + "enabled": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Enabled" + }, + "hole_effective_mass_rel": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Hole Effective Mass Rel", + "unit": "1" + }, + "requires_explicit_occupancy": { + "anyOf": [ + { + "const": true, + "type": "boolean" + } + ], + "title": "Requires Explicit Occupancy" + } + }, + "title": "DefectAssistedInput", + "type": "object" + }, + "DeviceInput": { + "additionalProperties": false, + "properties": { + "contacts": { + "default": [], + "items": { + "$ref": "#/$defs/ContactInput" + }, + "title": "Contacts", + "type": "array" + }, + "description": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Description" + }, + "electrical_grid": { + "default": [], + "items": { + "$ref": "#/$defs/GridLayerInput" + }, + "title": "Electrical Grid", + "type": "array" + }, + "fixed_generation": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Fixed Generation" + }, + "grain_boundaries": { + "default": [], + "items": { + "$ref": "#/$defs/GrainBoundaryInput" + }, + "title": "Grain Boundaries", + "type": "array" + }, + "id": { + "pattern": "^[A-Za-z_][A-Za-z0-9_.:-]*$", + "title": "Id", + "type": "string" + }, + "interfaces": { + "default": [], + "items": { + "$ref": "#/$defs/InterfaceInput" + }, + "title": "Interfaces", + "type": "array" + }, + "layers": { + "items": { + "$ref": "#/$defs/FullLayerInput" + }, + "title": "Layers", + "type": "array" + }, + "legacy_fields": { + "anyOf": [ + { + "$ref": "#/$defs/LegacyDeviceFieldsInput" + }, + { + "type": "null" + } + ] + }, + "materials": { + "default": [], + "items": { + "$ref": "#/$defs/NamedMaterialInput" + }, + "title": "Materials", + "type": "array" + }, + "name": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Name" + }, + "schema_version": { + "const": "solarlab.device-preparation.v1", + "title": "Schema Version", + "type": "string" + }, + "settings": { + "$ref": "#/$defs/DeviceSettingsInput" + }, + "simulation_hints": { + "anyOf": [ + { + "$ref": "#/$defs/SimulationHintsInput" + }, + { + "type": "null" + } + ] + }, + "source_format": { + "enum": [ + "standard", + "scaps", + "canonical" + ], + "title": "Source Format", + "type": "string" + }, + "source_schema_version": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "integer" + }, + { + "type": "null" + } + ], + "title": "Source Schema Version" + }, + "spectrum": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Spectrum" + }, + "tunnelling_channels": { + "anyOf": [ + { + "$ref": "#/$defs/TunnellingInput" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "schema_version", + "id", + "source_format", + "layers" + ], + "title": "DeviceInput", + "type": "object" + }, + "DeviceSettingsInput": { + "additionalProperties": false, + "properties": { + "Phi": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Phi", + "unit": "m^-2/s" + }, + "T": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "T", + "unit": "K" + }, + "V_bi": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": false, + "nullable": false, + "positive": false, + "title": "V Bi", + "unit": "V" + }, + "band_grading": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Band Grading" + }, + "built_in_potential_mode": { + "anyOf": [ + { + "enum": [ + "legacy_manual", + "semiconductor_work_function", + "metal_work_function" + ], + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Built In Potential Mode" + }, + "contact_phi_B_eV": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Contact Phi B Ev", + "unit": "eV" + }, + "dos_band_potentials": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Dos Band Potentials" + }, + "flat_band_contacts": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Flat Band Contacts" + }, + "flat_band_metal_contacts": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Flat Band Metal Contacts" + }, + "graded_optics": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Graded Optics" + }, + "het_recomb_despike": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Het Recomb Despike", + "unit": "1" + }, + "interface_charge_closure": { + "anyOf": [ + { + "enum": [ + "off", + "equilibrium_referenced" + ], + "type": "string" + } + ], + "title": "Interface Charge Closure" + }, + "interface_charge_rebaseline_acknowledged": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Interface Charge Rebaseline Acknowledged" + }, + "interface_plane_closure": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Interface Plane Closure" + }, + "interface_plane_generation": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Interface Plane Generation" + }, + "interface_plane_projection": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Interface Plane Projection" + }, + "interface_shared_occupancy": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Interface Shared Occupancy" + }, + "interface_tunneling": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Interface Tunneling" + }, + "interface_two_sided": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Interface Two Sided" + }, + "ion_steric_diffusion_only": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Ion Steric Diffusion Only" + }, + "ion_steric_shared_site": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Ion Steric Shared Site" + }, + "jv_solver_policy": { + "anyOf": [ + { + "enum": [ + "general", + "cancellation_safe_qf_required" + ], + "type": "string" + } + ], + "title": "Jv Solver Policy" + }, + "mode": { + "anyOf": [ + { + "enum": [ + "legacy", + "fast", + "full" + ], + "type": "string" + } + ], + "title": "Mode" + }, + "phi_left": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": false, + "nullable": false, + "positive": false, + "title": "Phi Left", + "unit": "V" + }, + "te_physical_norm": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Te Physical Norm" + }, + "tunnel_mass_eff": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Tunnel Mass Eff", + "unit": "1" + }, + "work_function_left_eV": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": true, + "title": "Work Function Left Ev", + "unit": "eV" + }, + "work_function_right_eV": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": true, + "title": "Work Function Right Ev", + "unit": "eV" + } + }, + "title": "DeviceSettingsInput", + "type": "object" + }, + "DistributionInput": { + "additionalProperties": false, + "properties": { + "center_eV_above_vb": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": false, + "title": "Center Ev Above Vb", + "unit": "eV" + }, + "energy_reference": { + "anyOf": [ + { + "const": "above_valence_band", + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Energy Reference" + }, + "kind": { + "enum": [ + "single_level", + "gaussian", + "uniform", + "conduction_band_tail", + "valence_band_tail" + ], + "title": "Kind", + "type": "string" + }, + "normalization": { + "const": "integrated_total", + "title": "Normalization", + "type": "string" + }, + "support_width_multiplier": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": true, + "title": "Support Width Multiplier", + "unit": "1" + }, + "total_density_m3": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Total Density M3", + "unit": "m^-3" + }, + "width_convention": { + "anyOf": [ + { + "enum": [ + "not_applicable", + "gaussian_standard_deviation", + "scaps_characteristic_energy", + "uniform_full_width", + "unresolved" + ], + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Width Convention" + }, + "width_eV": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": true, + "title": "Width Ev", + "unit": "eV" + } + }, + "required": [ + "kind", + "normalization", + "total_density_m3" + ], + "title": "DistributionInput", + "type": "object" + }, + "EnergyLevelInput": { + "additionalProperties": false, + "properties": { + "reference": { + "enum": [ + "below_conduction_band", + "above_valence_band" + ], + "title": "Reference", + "type": "string" + }, + "value_eV": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Value Ev", + "unit": "eV" + } + }, + "required": [ + "reference", + "value_eV" + ], + "title": "EnergyLevelInput", + "type": "object" + }, + "FullLayerInput": { + "additionalProperties": false, + "properties": { + "bulk_defects": { + "default": [], + "items": { + "anyOf": [ + { + "$ref": "#/$defs/BulkDefectInput" + }, + { + "$ref": "#/$defs/MultivalentDefectInput" + } + ] + }, + "title": "Bulk Defects", + "type": "array" + }, + "bulk_trap_distribution": { + "anyOf": [ + { + "$ref": "#/$defs/LegacyBulkTrapInput" + }, + { + "type": "null" + } + ] + }, + "cigs_graded_optics": { + "anyOf": [ + { + "$ref": "#/$defs/CigsOpticsInput" + }, + { + "type": "null" + } + ] + }, + "defect_model": { + "anyOf": [ + { + "enum": [ + "effective_lifetime", + "explicit_quasi_steady" + ], + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Defect Model" + }, + "defect_schema_version": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Defect Schema Version" + }, + "id": { + "pattern": "^[A-Za-z_][A-Za-z0-9_.:-]*$", + "title": "Id", + "type": "string" + }, + "material": { + "anyOf": [ + { + "pattern": "^[A-Za-z_][A-Za-z0-9_.:-]*$", + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Material" + }, + "metastable_document": { + "anyOf": [ + { + "$ref": "#/$defs/MetastableDocumentInput" + }, + { + "type": "null" + } + ] + }, + "metastable_preparation": { + "anyOf": [ + { + "$ref": "#/$defs/MetastablePreparationInput" + }, + { + "type": "null" + } + ] + }, + "name": { + "minLength": 1, + "title": "Name", + "type": "string" + }, + "parameterization": { + "default": "standard", + "enum": [ + "standard", + "scaps" + ], + "title": "Parameterization", + "type": "string" + }, + "parameters": { + "$ref": "#/$defs/FullParameterInput" + }, + "role": { + "minLength": 1, + "title": "Role", + "type": "string" + }, + "scaps_defect_metadata": { + "default": [], + "items": { + "$ref": "#/$defs/ScapsDefectMetadataInput" + }, + "title": "Scaps Defect Metadata", + "type": "array" + }, + "thickness": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Thickness", + "unit": "m" + } + }, + "required": [ + "id", + "name", + "role", + "thickness" + ], + "title": "FullLayerInput", + "type": "object" + }, + "FullParameterInput": { + "additionalProperties": false, + "properties": { + "A_star_n": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "A Star N", + "unit": "A/(m^2 K^2)" + }, + "A_star_p": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "A Star P", + "unit": "A/(m^2 K^2)" + }, + "B_rad": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "B Rad", + "unit": "m^3/s" + }, + "B_rad_T_gamma": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": false, + "nullable": false, + "positive": false, + "title": "B Rad T Gamma", + "unit": "1" + }, + "C_n": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "C N", + "unit": "m^6/s" + }, + "C_p": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "C P", + "unit": "m^6/s" + }, + "D_ion": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "D Ion", + "unit": "m^2/s" + }, + "D_ion_neg": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "D Ion Neg", + "unit": "m^2/s" + }, + "E_a_ion": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "E A Ion", + "unit": "eV" + }, + "Eg": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "Eg", + "unit": "eV" + }, + "Eg_back": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": false, + "title": "Eg Back", + "unit": "eV" + }, + "N_A": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "N A", + "unit": "m^-3" + }, + "N_A_bulk": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": false, + "title": "N A Bulk", + "unit": "m^-3" + }, + "N_D": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "N D", + "unit": "m^-3" + }, + "N_D_bulk": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": false, + "title": "N D Bulk", + "unit": "m^-3" + }, + "Nc300": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": true, + "title": "Nc300", + "unit": "m^-3" + }, + "Nv300": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": true, + "title": "Nv300", + "unit": "m^-3" + }, + "P0": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "P0", + "unit": "m^-3" + }, + "P0_neg": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "P0 Neg", + "unit": "m^-3" + }, + "P_lim": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "P Lim", + "unit": "m^-3" + }, + "P_lim_neg": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "P Lim Neg", + "unit": "m^-3" + }, + "acceptor_binding_energy_eV": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": false, + "title": "Acceptor Binding Energy Ev", + "unit": "eV" + }, + "acceptor_degeneracy": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Acceptor Degeneracy", + "unit": "1" + }, + "alpha": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "Alpha", + "unit": "m^-1" + }, + "band_gap_narrowing_model": { + "anyOf": [ + { + "enum": [ + "off", + "slotboom" + ], + "type": "string" + } + ], + "title": "Band Gap Narrowing Model" + }, + "bgn_conduction_band_fraction": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Bgn Conduction Band Fraction", + "unit": "1" + }, + "bgn_log_shape": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Bgn Log Shape", + "unit": "1" + }, + "bgn_reference_density_m3": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Bgn Reference Density M3", + "unit": "m^-3" + }, + "bgn_reference_energy_eV": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Bgn Reference Energy Ev", + "unit": "eV" + }, + "carrier_statistics": { + "anyOf": [ + { + "enum": [ + "maxwell_boltzmann", + "fermi_dirac" + ], + "type": "string" + } + ], + "title": "Carrier Statistics" + }, + "chi": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": false, + "positive": false, + "title": "Chi", + "unit": "eV" + }, + "chi_back": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": false, + "nullable": true, + "positive": false, + "title": "Chi Back", + "unit": "eV" + }, + "ct_beta_n": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Ct Beta N", + "unit": "1" + }, + "ct_beta_p": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Ct Beta P", + "unit": "1" + }, + "donor_binding_energy_eV": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": false, + "title": "Donor Binding Energy Ev", + "unit": "eV" + }, + "donor_degeneracy": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Donor Degeneracy", + "unit": "1" + }, + "dopant_ionization_model": { + "anyOf": [ + { + "enum": [ + "fully_ionized", + "discrete_level" + ], + "type": "string" + } + ], + "title": "Dopant Ionization Model" + }, + "doping_decay_length": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": true, + "title": "Doping Decay Length", + "unit": "m" + }, + "doping_edge": { + "anyOf": [ + { + "enum": [ + "front", + "back" + ], + "type": "string" + } + ], + "title": "Doping Edge" + }, + "doping_profile_shape": { + "anyOf": [ + { + "const": "gaussian", + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Doping Profile Shape" + }, + "eps_r": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": true, + "title": "Eps R", + "unit": "1" + }, + "grading_N_mult": { + "anyOf": [ + { + "exclusiveMinimum": 0, + "type": "integer" + } + ], + "title": "Grading N Mult" + }, + "grading_bowing": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": false, + "nullable": false, + "positive": false, + "title": "Grading Bowing", + "unit": "eV" + }, + "grading_char_length": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": true, + "title": "Grading Char Length", + "unit": "m" + }, + "grading_direction": { + "anyOf": [ + { + "enum": [ + "front_to_back", + "back_to_front" + ], + "type": "string" + } + ], + "title": "Grading Direction" + }, + "grading_profile": { + "anyOf": [ + { + "enum": [ + "linear", + "parabolic", + "exponential" + ], + "type": "string" + } + ], + "title": "Grading Profile" + }, + "incoherent": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Incoherent" + }, + "mu_T_gamma": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": false, + "nullable": false, + "positive": false, + "title": "Mu T Gamma", + "unit": "1" + }, + "mu_n": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "Mu N", + "unit": "m^2/(V s)" + }, + "mu_p": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "Mu P", + "unit": "m^2/(V s)" + }, + "n1": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "N1", + "unit": "m^-3" + }, + "n_optical": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": true, + "title": "N Optical", + "unit": "1" + }, + "ni": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "Ni", + "unit": "m^-3" + }, + "optical_material": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Optical Material" + }, + "p1": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "P1", + "unit": "m^-3" + }, + "pf_gamma_n": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Pf Gamma N", + "unit": "(m/V)^0.5" + }, + "pf_gamma_p": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Pf Gamma P", + "unit": "(m/V)^0.5" + }, + "tau_n": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": true, + "title": "Tau N", + "unit": "s" + }, + "tau_p": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": true, + "title": "Tau P", + "unit": "s" + }, + "trap_N_t_bulk": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": false, + "title": "Trap N T Bulk", + "unit": "m^-3" + }, + "trap_N_t_interface": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": false, + "title": "Trap N T Interface", + "unit": "m^-3" + }, + "trap_decay_length": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": false, + "title": "Trap Decay Length", + "unit": "m" + }, + "trap_edge": { + "anyOf": [ + { + "enum": [ + "both", + "left", + "right" + ], + "type": "string" + } + ], + "title": "Trap Edge" + }, + "trap_profile_shape": { + "anyOf": [ + { + "enum": [ + "exponential", + "gaussian" + ], + "type": "string" + } + ], + "title": "Trap Profile Shape" + }, + "v_sat_n": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "V Sat N", + "unit": "m/s" + }, + "v_sat_p": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "V Sat P", + "unit": "m/s" + }, + "v_th": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "V Th", + "unit": "m/s" + }, + "varshni_alpha": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": false, + "nullable": false, + "positive": false, + "title": "Varshni Alpha", + "unit": "eV/K" + }, + "varshni_beta": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Varshni Beta", + "unit": "K" + } + }, + "title": "FullParameterInput", + "type": "object" + }, + "GrainBoundaryInput": { + "additionalProperties": false, + "properties": { + "id": { + "pattern": "^[A-Za-z_][A-Za-z0-9_.:-]*$", + "title": "Id", + "type": "string" + }, + "layer_ids": { + "items": { + "pattern": "^[A-Za-z_][A-Za-z0-9_.:-]*$", + "type": "string" + }, + "title": "Layer Ids", + "type": "array" + }, + "source_layer_role": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Source Layer Role" + }, + "tau_n": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Tau N", + "unit": "s" + }, + "tau_p": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Tau P", + "unit": "s" + }, + "width": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Width", + "unit": "m" + }, + "x_position": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "X Position", + "unit": "m" + } + }, + "required": [ + "id", + "layer_ids", + "x_position", + "width", + "tau_n", + "tau_p" + ], + "title": "GrainBoundaryInput", + "type": "object" + }, + "GridLayerInput": { + "additionalProperties": false, + "properties": { + "alpha": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Alpha", + "unit": "1" + }, + "interval_weight": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Interval Weight", + "unit": "1" + }, + "layer": { + "pattern": "^[A-Za-z_][A-Za-z0-9_.:-]*$", + "title": "Layer", + "type": "string" + } + }, + "required": [ + "layer", + "interval_weight", + "alpha" + ], + "title": "GridLayerInput", + "type": "object" + }, + "InterfaceDefectInput": { + "additionalProperties": false, + "properties": { + "calibration_factor": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Calibration Factor", + "unit": "1" + }, + "energy_reference": { + "enum": [ + "below_conduction_band", + "above_valence_band" + ], + "title": "Energy Reference", + "type": "string" + }, + "id": { + "pattern": "^[A-Za-z_][A-Za-z0-9_.:-]*$", + "title": "Id", + "type": "string" + }, + "iface_state_calibration_factor": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Iface State Calibration Factor", + "unit": "1" + }, + "kinetics": { + "$ref": "#/$defs/KineticsInput" + }, + "partner_metadata": { + "anyOf": [ + { + "$ref": "#/$defs/ScapsDefectMetadataInput" + }, + { + "type": "null" + } + ] + }, + "total_density_m2": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Total Density M2", + "unit": "m^-2" + }, + "trap_depth_eV": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Trap Depth Ev", + "unit": "eV" + } + }, + "required": [ + "id", + "trap_depth_eV", + "energy_reference", + "total_density_m2", + "kinetics", + "calibration_factor", + "iface_state_calibration_factor" + ], + "title": "InterfaceDefectInput", + "type": "object" + }, + "InterfaceInput": { + "additionalProperties": false, + "properties": { + "defect": { + "anyOf": [ + { + "$ref": "#/$defs/InterfaceDefectInput" + }, + { + "type": "null" + } + ] + }, + "id": { + "pattern": "^[A-Za-z_][A-Za-z0-9_.:-]*$", + "title": "Id", + "type": "string" + }, + "left": { + "pattern": "^[A-Za-z_][A-Za-z0-9_.:-]*$", + "title": "Left", + "type": "string" + }, + "right": { + "pattern": "^[A-Za-z_][A-Za-z0-9_.:-]*$", + "title": "Right", + "type": "string" + }, + "v_n": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": false, + "title": "V N", + "unit": "m/s" + }, + "v_p": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": false, + "title": "V P", + "unit": "m/s" + } + }, + "required": [ + "id", + "left", + "right" + ], + "title": "InterfaceInput", + "type": "object" + }, + "IntrabandInput": { + "additionalProperties": false, + "properties": { + "carrier": { + "anyOf": [ + { + "enum": [ + "electron", + "hole", + "both" + ], + "type": "string" + } + ], + "title": "Carrier" + }, + "electron_effective_mass_rel": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Electron Effective Mass Rel", + "unit": "1" + }, + "enabled": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Enabled" + }, + "energy_quadrature_order": { + "anyOf": [ + { + "minimum": 4, + "type": "integer" + } + ], + "title": "Energy Quadrature Order" + }, + "hole_effective_mass_rel": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Hole Effective Mass Rel", + "unit": "1" + } + }, + "title": "IntrabandInput", + "type": "object" + }, + "JVDCSettleInput": { + "additionalProperties": false, + "properties": { + "duration_s": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": true, + "title": "Duration S", + "unit": "s" + }, + "kind": { + "enum": [ + "finite_time", + "residual_certified", + "finite_time_with_certificate", + "not_applicable" + ], + "title": "Kind", + "type": "string" + }, + "max_carrier_area_rate_A_m2": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": true, + "title": "Max Carrier Area Rate A M2", + "unit": "A/m^2" + }, + "max_face_current_spread_A_m2": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": true, + "title": "Max Face Current Spread A M2", + "unit": "A/m^2" + }, + "max_ion_area_rate_A_m2": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": true, + "title": "Max Ion Area Rate A M2", + "unit": "A/m^2" + }, + "max_ionic_face_current_A_m2": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": true, + "title": "Max Ionic Face Current A M2", + "unit": "A/m^2" + } + }, + "required": [ + "kind", + "duration_s", + "max_carrier_area_rate_A_m2", + "max_ion_area_rate_A_m2", + "max_ionic_face_current_A_m2", + "max_face_current_spread_A_m2" + ], + "title": "JVDCSettleInput", + "type": "object" + }, + "JVExperimentInput": { + "additionalProperties": false, + "properties": { + "device": { + "$ref": "#/$defs/DeviceInput" + }, + "experiment": { + "anyOf": [ + { + "$ref": "#/$defs/JVInput" + }, + { + "$ref": "#/$defs/DarkJVInput" + } + ], + "title": "Experiment" + }, + "id": { + "pattern": "^[A-Za-z_][A-Za-z0-9_.:-]*$", + "title": "Id", + "type": "string" + }, + "schema_version": { + "const": "solarlab.experiment-preparation.v1", + "title": "Schema Version", + "type": "string" + } + }, + "required": [ + "schema_version", + "id", + "device", + "experiment" + ], + "title": "JVExperimentInput", + "type": "object" + }, + "JVIlluminationStepInput": { + "additionalProperties": false, + "properties": { + "condition": { + "enum": [ + "dark", + "baseline", + "scaled", + "monochromatic", + "pulse" + ], + "title": "Condition", + "type": "string" + }, + "duration_s": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": false, + "title": "Duration S", + "unit": "s" + }, + "intensity_suns": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": false, + "title": "Intensity Suns", + "unit": "1" + }, + "phase": { + "minLength": 1, + "title": "Phase", + "type": "string" + }, + "photon_flux_m2_s": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": true, + "title": "Photon Flux M2 S", + "unit": "m^-2/s" + }, + "relative_generation_change": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": false, + "nullable": true, + "positive": false, + "title": "Relative Generation Change", + "unit": "1" + }, + "source_reference": { + "anyOf": [ + { + "minLength": 1, + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Source Reference" + } + }, + "required": [ + "phase", + "condition", + "duration_s", + "intensity_suns", + "photon_flux_m2_s", + "relative_generation_change", + "source_reference" + ], + "title": "JVIlluminationStepInput", + "type": "object" + }, + "JVInput": { + "additionalProperties": false, + "properties": { + "N_grid": { + "anyOf": [ + { + "minimum": 3, + "type": "integer" + } + ], + "title": "Requested electrical grid allocation" + }, + "V_max": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": false, + "nullable": true, + "positive": false, + "title": "V Max", + "unit": "V" + }, + "experiment_protocol": { + "anyOf": [ + { + "$ref": "#/$defs/JVProtocolInput" + }, + { + "type": "null" + } + ] + }, + "iface_states": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Iface States" + }, + "illuminated": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Illuminated" + }, + "interface_boundary": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Interface Boundary" + }, + "interface_transport_model": { + "anyOf": [ + { + "minLength": 1, + "type": "string" + } + ], + "title": "Interface Transport Model" + }, + "kind": { + "const": "jv", + "title": "Kind", + "type": "string" + }, + "n_points": { + "anyOf": [ + { + "minimum": 2, + "type": "integer" + } + ], + "title": "Samples per branch" + }, + "protocol_mode": { + "anyOf": [ + { + "enum": [ + "compatibility", + "research_strict" + ], + "type": "string" + } + ], + "title": "Protocol Mode" + }, + "request_api": { + "default": "jobs", + "enum": [ + "jobs", + "jv_endpoint" + ], + "title": "Request Api", + "type": "string" + }, + "solver": { + "anyOf": [ + { + "enum": [ + "transient", + "steady_state", + "quasi_fermi" + ], + "type": "string" + } + ], + "title": "Solver" + }, + "v_rate": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "V Rate", + "unit": "V/s" + }, + "waveform": { + "anyOf": [ + { + "$ref": "#/$defs/JVWaveformInput" + }, + { + "type": "null" + } + ] + }, + "waveform_controls": { + "anyOf": [ + { + "$ref": "#/$defs/JVWaveformControlsInput" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "kind" + ], + "title": "JVInput", + "type": "object" + }, + "JVProtocolInput": { + "additionalProperties": false, + "description": "The existing ExperimentProtocol fields for its J-V branch only.", + "properties": { + "ac_excitation": { + "title": "Ac Excitation", + "type": "null" + }, + "dc_settle": { + "$ref": "#/$defs/JVDCSettleInput" + }, + "dwell_duration_s": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": false, + "title": "Dwell Duration S", + "unit": "s" + }, + "experiment": { + "const": "jv_hysteresis", + "title": "Experiment", + "type": "string" + }, + "illumination_history": { + "items": { + "$ref": "#/$defs/JVIlluminationStepInput" + }, + "minItems": 1, + "title": "Illumination History", + "type": "array" + }, + "implicit_legacy_protocol": { + "title": "Implicit Legacy Protocol", + "type": "boolean" + }, + "initial_state_source": { + "enum": [ + "dark_equilibrium", + "dark_equilibrium_each_sample", + "finite_time_illuminated_preconditioned", + "finite_time_dc_preconditioned", + "qf_dc_candidate", + "user_supplied_state" + ], + "title": "Initial State Source", + "type": "string" + }, + "pre_bias_V": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": false, + "nullable": true, + "positive": false, + "title": "Pre Bias V", + "unit": "V" + }, + "sampling": { + "$ref": "#/$defs/JVSamplingInput" + }, + "scan": { + "$ref": "#/$defs/JVScanInput" + }, + "schema_version": { + "const": 1, + "title": "Schema Version", + "type": "integer" + }, + "soak_duration_s": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": false, + "title": "Soak Duration S", + "unit": "s" + }, + "temperature_K": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Temperature K", + "unit": "K" + }, + "voc_search": { + "title": "Voc Search", + "type": "null" + } + }, + "required": [ + "experiment", + "initial_state_source", + "pre_bias_V", + "soak_duration_s", + "dwell_duration_s", + "illumination_history", + "temperature_K", + "scan", + "ac_excitation", + "dc_settle", + "sampling", + "voc_search", + "implicit_legacy_protocol", + "schema_version" + ], + "title": "JVProtocolInput", + "type": "object" + }, + "JVSamplingInput": { + "additionalProperties": false, + "properties": { + "axis": { + "const": "voltage_V", + "title": "Axis", + "type": "string" + }, + "mode": { + "enum": [ + "linear", + "log", + "declared", + "piecewise_linear" + ], + "title": "Mode", + "type": "string" + }, + "values": { + "item_input_unit": null, + "item_positive": false, + "item_unit": "V", + "items": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ] + }, + "minItems": 1, + "title": "Values", + "type": "array" + } + }, + "required": [ + "axis", + "mode", + "values" + ], + "title": "JVSamplingInput", + "type": "object" + }, + "JVScanInput": { + "additionalProperties": false, + "properties": { + "axis": { + "const": "voltage_V", + "title": "Axis", + "type": "string" + }, + "direction": { + "enum": [ + "ascending", + "descending", + "ascending_then_descending", + "declared_order", + "forward_time" + ], + "title": "Direction", + "type": "string" + }, + "rate_V_s": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Rate V S", + "unit": "V/s" + }, + "start": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": false, + "nullable": false, + "positive": false, + "title": "Start", + "unit": "V" + }, + "stop": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": false, + "nullable": false, + "positive": false, + "title": "Stop", + "unit": "V" + } + }, + "required": [ + "axis", + "direction", + "start", + "stop", + "rate_V_s" + ], + "title": "JVScanInput", + "type": "object" + }, + "JVSweepHintsInput": { + "additionalProperties": false, + "description": "Supplied advisory fields, without an endpoint or implied execution.\n\nUnknown fields reject rather than disappear. A caller must explicitly\ncompose these fields with JVInput to request protocol preparation.", + "properties": { + "N_grid": { + "anyOf": [ + { + "minimum": 3, + "type": "integer" + } + ], + "title": "Requested electrical grid allocation" + }, + "V_max": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": false, + "nullable": true, + "positive": false, + "title": "V Max", + "unit": "V" + }, + "experiment_protocol": { + "anyOf": [ + { + "$ref": "#/$defs/JVProtocolInput" + }, + { + "type": "null" + } + ] + }, + "iface_states": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Iface States" + }, + "illuminated": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Illuminated" + }, + "interface_boundary": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Interface Boundary" + }, + "interface_transport_model": { + "anyOf": [ + { + "minLength": 1, + "type": "string" + } + ], + "title": "Interface Transport Model" + }, + "n_points": { + "anyOf": [ + { + "minimum": 2, + "type": "integer" + } + ], + "title": "Samples per branch" + }, + "protocol_mode": { + "anyOf": [ + { + "enum": [ + "compatibility", + "research_strict" + ], + "type": "string" + } + ], + "title": "Protocol Mode" + }, + "solver": { + "anyOf": [ + { + "enum": [ + "transient", + "steady_state", + "quasi_fermi" + ], + "type": "string" + } + ], + "title": "Solver" + }, + "v_rate": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "V Rate", + "unit": "V/s" + }, + "waveform": { + "anyOf": [ + { + "$ref": "#/$defs/JVWaveformInput" + }, + { + "type": "null" + } + ] + }, + "waveform_controls": { + "anyOf": [ + { + "$ref": "#/$defs/JVWaveformControlsInput" + }, + { + "type": "null" + } + ] + } + }, + "title": "JVSweepHintsInput", + "type": "object" + }, + "JVWaveformControlsInput": { + "additionalProperties": false, + "properties": { + "atol_m3": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Atol M3", + "unit": "m^-3" + }, + "rtol": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Rtol", + "unit": "1" + } + }, + "required": [ + "rtol", + "atol_m3" + ], + "title": "JVWaveformControlsInput", + "type": "object" + }, + "JVWaveformInput": { + "additionalProperties": false, + "description": "All eight fields of JVWaveform.from_dict are explicit, including null.", + "properties": { + "branch_dwell_s": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Branch Dwell S", + "unit": "s" + }, + "dark_prep_s": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Dark Prep S", + "unit": "s" + }, + "dark_seed_s": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Dark Seed S", + "unit": "s" + }, + "schema_version": { + "const": 1, + "title": "Schema Version", + "type": "integer" + }, + "start_voltage_V": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": false, + "nullable": false, + "positive": false, + "title": "Start Voltage V", + "unit": "V" + }, + "turnaround_dark": { + "title": "Turnaround Dark", + "type": "boolean" + }, + "turnaround_s": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Turnaround S", + "unit": "s" + }, + "uniform_generation_rate_m3_s": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": false, + "title": "Uniform Generation Rate M3 S", + "unit": "m^-3/s" + } + }, + "required": [ + "schema_version", + "start_voltage_V", + "dark_seed_s", + "dark_prep_s", + "branch_dwell_s", + "turnaround_s", + "turnaround_dark", + "uniform_generation_rate_m3_s" + ], + "title": "JVWaveformInput", + "type": "object" + }, + "KineticsInput": { + "additionalProperties": false, + "properties": { + "sigma_n_m2": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Sigma N M2", + "unit": "m^2" + }, + "sigma_p_m2": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Sigma P M2", + "unit": "m^2" + }, + "thermal_velocity_n_m_s": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Thermal Velocity N M S", + "unit": "m/s" + }, + "thermal_velocity_p_m_s": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Thermal Velocity P M S", + "unit": "m/s" + } + }, + "required": [ + "sigma_n_m2", + "sigma_p_m2", + "thermal_velocity_n_m_s", + "thermal_velocity_p_m_s" + ], + "title": "KineticsInput", + "type": "object" + }, + "LegacyBulkTrapInput": { + "additionalProperties": false, + "properties": { + "center_eV_above_vb": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Center Ev Above Vb", + "unit": "eV" + }, + "charge_transition": { + "enum": [ + "acceptor", + "donor" + ], + "title": "Charge Transition", + "type": "string" + }, + "distribution": { + "enum": [ + "single_level", + "gaussian" + ], + "title": "Distribution", + "type": "string" + }, + "energy_sigma_eV": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Energy Sigma Ev", + "unit": "eV" + }, + "sigma_n_m2": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Sigma N M2", + "unit": "m^2" + }, + "sigma_p_m2": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Sigma P M2", + "unit": "m^2" + }, + "thermal_velocity_m_s": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Thermal Velocity M S", + "unit": "m/s" + }, + "total_density_m3": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Total Density M3", + "unit": "m^-3" + } + }, + "required": [ + "distribution", + "total_density_m3", + "center_eV_above_vb", + "sigma_n_m2", + "sigma_p_m2", + "thermal_velocity_m_s", + "charge_transition" + ], + "title": "LegacyBulkTrapInput", + "type": "object" + }, + "LegacyDeviceFieldsInput": { + "additionalProperties": false, + "properties": { + "interface_defect_count": { + "anyOf": [ + { + "minimum": 0, + "type": "integer" + }, + { + "type": "null" + } + ], + "title": "Interface Defect Count" + }, + "interfaces": { + "anyOf": [ + { + "items": { + "items": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ] + }, + "maxItems": 2, + "minItems": 2, + "type": "array" + }, + "type": "array" + }, + { + "type": "null" + } + ], + "title": "Interfaces" + }, + "layer_ids": { + "items": { + "pattern": "^[A-Za-z_][A-Za-z0-9_.:-]*$", + "type": "string" + }, + "title": "Layer Ids", + "type": "array" + }, + "schema_version": { + "const": "solarlab.standard-loader-fields.v1", + "title": "Schema Version", + "type": "string" + }, + "source_id": { + "minLength": 1, + "title": "Source Id", + "type": "string" + }, + "source_sha256": { + "pattern": "^[0-9a-f]{64}$", + "title": "Source Sha256", + "type": "string" + }, + "temperature": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "boolean" + }, + { + "type": "null" + } + ], + "title": "Temperature" + } + }, + "required": [ + "schema_version", + "source_id", + "source_sha256", + "layer_ids" + ], + "title": "LegacyDeviceFieldsInput", + "type": "object" + }, + "MetastableConversionInput": { + "additionalProperties": false, + "properties": { + "capture_n_m3_s": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Capture N M3 S", + "unit": "m^3/s" + }, + "capture_p_m3_s": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Capture P M3 S", + "unit": "m^3/s" + }, + "electron_capture_activation_eV": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Electron Capture Activation Ev", + "unit": "eV" + }, + "electron_capture_path": { + "enum": [ + "double_electron_capture", + "electron_capture_plus_hole_emission" + ], + "title": "Electron Capture Path", + "type": "string" + }, + "electron_emission_activation_eV": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Electron Emission Activation Ev", + "unit": "eV" + }, + "hole_capture_activation_eV": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Hole Capture Activation Ev", + "unit": "eV" + }, + "hole_capture_path": { + "enum": [ + "double_hole_capture", + "hole_capture_plus_electron_emission" + ], + "title": "Hole Capture Path", + "type": "string" + }, + "hole_emission_activation_eV": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Hole Emission Activation Ev", + "unit": "eV" + }, + "phonon_frequency_Hz": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Phonon Frequency Hz", + "unit": "Hz" + }, + "transition_energy_eV_above_vb": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Transition Energy Ev Above Vb", + "unit": "eV" + } + }, + "required": [ + "transition_energy_eV_above_vb", + "electron_capture_activation_eV", + "electron_emission_activation_eV", + "hole_capture_activation_eV", + "hole_emission_activation_eV", + "electron_capture_path", + "hole_capture_path", + "capture_n_m3_s", + "capture_p_m3_s", + "phonon_frequency_Hz" + ], + "title": "MetastableConversionInput", + "type": "object" + }, + "MetastableDefectInput": { + "additionalProperties": false, + "properties": { + "acceptor_configuration": { + "$ref": "#/$defs/MultivalentConfigurationInput" + }, + "acceptor_conversion_state_index": { + "minimum": 0, + "title": "Acceptor Conversion State Index", + "type": "integer" + }, + "conversion_kinetics": { + "$ref": "#/$defs/MetastableConversionInput" + }, + "donor_configuration": { + "$ref": "#/$defs/MultivalentConfigurationInput" + }, + "donor_conversion_state_index": { + "minimum": 0, + "title": "Donor Conversion State Index", + "type": "integer" + }, + "id": { + "pattern": "^[A-Za-z_][A-Za-z0-9_.:-]*$", + "title": "Id", + "type": "string" + }, + "name": { + "minLength": 1, + "title": "Name", + "type": "string" + }, + "total_density_m3": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Total Density M3", + "unit": "m^-3" + } + }, + "required": [ + "id", + "name", + "total_density_m3", + "donor_configuration", + "acceptor_configuration", + "donor_conversion_state_index", + "acceptor_conversion_state_index", + "conversion_kinetics" + ], + "title": "MetastableDefectInput", + "type": "object" + }, + "MetastableDocumentInput": { + "additionalProperties": false, + "properties": { + "defect_model": { + "const": "explicit_metastable_frozen", + "title": "Defect Model", + "type": "string" + }, + "metastable_defects": { + "items": { + "$ref": "#/$defs/MetastableDefectInput" + }, + "title": "Metastable Defects", + "type": "array" + }, + "schema_version": { + "const": "solarlab-metastable-bulk-defects-v1", + "title": "Schema Version", + "type": "string" + } + }, + "required": [ + "schema_version", + "defect_model", + "metastable_defects" + ], + "title": "MetastableDocumentInput", + "type": "object" + }, + "MetastableNumericsInput": { + "additionalProperties": false, + "properties": { + "clamping_factor": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Clamping Factor", + "unit": "1" + }, + "final_unclamped_refinement": { + "const": true, + "title": "Final Unclamped Refinement", + "type": "boolean" + }, + "initial_donor_fraction_guess": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Initial Donor Fraction Guess", + "unit": "1" + }, + "max_iterations": { + "exclusiveMinimum": 0, + "title": "Max Iterations", + "type": "integer" + }, + "relative_tolerance": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Relative Tolerance", + "unit": "1" + } + }, + "required": [ + "initial_donor_fraction_guess", + "max_iterations", + "relative_tolerance", + "clamping_factor", + "final_unclamped_refinement" + ], + "title": "MetastableNumericsInput", + "type": "object" + }, + "MetastablePreparationInput": { + "additionalProperties": false, + "properties": { + "configuration_freeze_stage": { + "const": "after_stationary_preparation_before_measurement", + "title": "Configuration Freeze Stage", + "type": "string" + }, + "freeze_configuration_during_measurement": { + "const": true, + "title": "Freeze Configuration During Measurement", + "type": "boolean" + }, + "illumination_continuation_steps": { + "minimum": 0, + "title": "Illumination Continuation Steps", + "type": "integer" + }, + "measurement_protocol_sha256": { + "pattern": "^[0-9a-f]{64}$", + "title": "Measurement Protocol Sha256", + "type": "string" + }, + "measurement_temperature_K": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Measurement Temperature K", + "unit": "K" + }, + "numerics": { + "$ref": "#/$defs/MetastableNumericsInput" + }, + "preparation_illumination_suns": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Preparation Illumination Suns", + "unit": "1" + }, + "preparation_limit": { + "const": "stationary_infinite_time", + "title": "Preparation Limit", + "type": "string" + }, + "preparation_temperature_K": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Preparation Temperature K", + "unit": "K" + }, + "preparation_voltage_V": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": false, + "nullable": false, + "positive": false, + "title": "Preparation Voltage V", + "unit": "V" + }, + "schema_version": { + "const": "solarlab-metastable-preparation-v1", + "title": "Schema Version", + "type": "string" + }, + "voltage_continuation_steps": { + "minimum": 0, + "title": "Voltage Continuation Steps", + "type": "integer" + } + }, + "required": [ + "schema_version", + "preparation_limit", + "preparation_temperature_K", + "preparation_voltage_V", + "preparation_illumination_suns", + "voltage_continuation_steps", + "illumination_continuation_steps", + "measurement_temperature_K", + "configuration_freeze_stage", + "freeze_configuration_during_measurement", + "measurement_protocol_sha256", + "numerics" + ], + "title": "MetastablePreparationInput", + "type": "object" + }, + "MultivalentConfigurationInput": { + "additionalProperties": false, + "properties": { + "charge_states_e": { + "items": { + "type": "integer" + }, + "title": "Charge States E", + "type": "array" + }, + "degeneracy_convention": { + "enum": [ + "scaps_binomial", + "unity", + "explicit" + ], + "title": "Degeneracy Convention", + "type": "string" + }, + "energy_levels": { + "$ref": "#/$defs/MultivalentEnergyInput" + }, + "family": { + "enum": [ + "single_donor", + "single_acceptor", + "double_donor", + "double_acceptor", + "amphoteric", + "custom_multilevel" + ], + "title": "Family", + "type": "string" + }, + "state_degeneracies": { + "item_positive": true, + "item_unit": "1", + "items": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ] + }, + "title": "State Degeneracies", + "type": "array" + }, + "transition_kinetics": { + "items": { + "$ref": "#/$defs/KineticsInput" + }, + "title": "Transition Kinetics", + "type": "array" + } + }, + "required": [ + "family", + "charge_states_e", + "degeneracy_convention", + "state_degeneracies", + "energy_levels", + "transition_kinetics" + ], + "title": "MultivalentConfigurationInput", + "type": "object" + }, + "MultivalentDefectInput": { + "additionalProperties": false, + "properties": { + "configuration": { + "$ref": "#/$defs/MultivalentConfigurationInput" + }, + "id": { + "pattern": "^[A-Za-z_][A-Za-z0-9_.:-]*$", + "title": "Id", + "type": "string" + }, + "name": { + "minLength": 1, + "title": "Name", + "type": "string" + }, + "total_density_m3": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Total Density M3", + "unit": "m^-3" + } + }, + "required": [ + "id", + "name", + "total_density_m3", + "configuration" + ], + "title": "MultivalentDefectInput", + "type": "object" + }, + "MultivalentEnergyInput": { + "additionalProperties": false, + "properties": { + "correlation_energies_eV": { + "item_unit": "eV", + "items": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ] + }, + "title": "Correlation Energies Ev", + "type": "array" + }, + "energy_reference": { + "const": "above_valence_band", + "title": "Energy Reference", + "type": "string" + }, + "first_transition_eV_above_vb": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "First Transition Ev Above Vb", + "unit": "eV" + } + }, + "required": [ + "first_transition_eV_above_vb", + "correlation_energies_eV", + "energy_reference" + ], + "title": "MultivalentEnergyInput", + "type": "object" + }, + "NamedMaterialInput": { + "additionalProperties": false, + "properties": { + "cigs_graded_optics": { + "anyOf": [ + { + "$ref": "#/$defs/CigsOpticsInput" + }, + { + "type": "null" + } + ] + }, + "id": { + "pattern": "^[A-Za-z_][A-Za-z0-9_.:-]*$", + "title": "Id", + "type": "string" + }, + "name": { + "minLength": 1, + "title": "Name", + "type": "string" + }, + "parameters": { + "$ref": "#/$defs/FullParameterInput" + } + }, + "required": [ + "id", + "name", + "parameters" + ], + "title": "NamedMaterialInput", + "type": "object" + }, + "ScapsDefectMetadataInput": { + "additionalProperties": false, + "description": "Preserved partner metadata; a Gaussian note is not a qualified closure.", + "properties": { + "E_char_eV": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": true, + "title": "E Char Ev", + "unit": "eV" + }, + "N_peak_m3": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": false, + "title": "N Peak M3", + "unit": "m^-3" + }, + "defect_id": { + "pattern": "^[A-Za-z_][A-Za-z0-9_.:-]*$", + "title": "Defect Id", + "type": "string" + }, + "distribution": { + "enum": [ + "single", + "gaussian" + ], + "title": "Distribution", + "type": "string" + }, + "energy_reference": { + "enum": [ + "below_conduction_band", + "above_valence_band" + ], + "title": "Energy Reference", + "type": "string" + }, + "trap_depth_eV": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Trap Depth Ev", + "unit": "eV" + } + }, + "required": [ + "distribution", + "energy_reference", + "trap_depth_eV", + "defect_id" + ], + "title": "ScapsDefectMetadataInput", + "type": "object" + }, + "SimulationHintsInput": { + "additionalProperties": false, + "properties": { + "jv_sweep": { + "anyOf": [ + { + "$ref": "#/$defs/JVSweepHintsInput" + }, + { + "type": "null" + } + ] + }, + "min_N_grid": { + "anyOf": [ + { + "exclusiveMinimum": 0, + "type": "integer" + }, + { + "type": "null" + } + ], + "title": "Min N Grid" + }, + "notes": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Notes" + } + }, + "title": "SimulationHintsInput", + "type": "object" + }, + "SpatialKnotInput": { + "additionalProperties": false, + "properties": { + "density_multiplier": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Density Multiplier", + "unit": "1" + }, + "position_fraction": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Position Fraction", + "unit": "1" + } + }, + "required": [ + "position_fraction", + "density_multiplier" + ], + "title": "SpatialKnotInput", + "type": "object" + }, + "SpatialProfileInput": { + "additionalProperties": false, + "properties": { + "coordinate": { + "const": "normalized_layer_coordinate", + "title": "Coordinate", + "type": "string" + }, + "density_normalization": { + "const": "layer_average_unity", + "title": "Density Normalization", + "type": "string" + }, + "interpolation": { + "const": "piecewise_linear", + "title": "Interpolation", + "type": "string" + }, + "knots": { + "items": { + "$ref": "#/$defs/SpatialKnotInput" + }, + "title": "Knots", + "type": "array" + } + }, + "required": [ + "coordinate", + "interpolation", + "density_normalization", + "knots" + ], + "title": "SpatialProfileInput", + "type": "object" + }, + "SweepAxisInput": { + "additionalProperties": false, + "properties": { + "coordinates": { + "items": { + "$ref": "#/$defs/SweepCoordinateInput" + }, + "minItems": 1, + "title": "Coordinates", + "type": "array" + }, + "id": { + "pattern": "^[A-Za-z_][A-Za-z0-9_.:-]*$", + "title": "Id", + "type": "string" + }, + "target": { + "$ref": "#/$defs/SweepTargetInput" + } + }, + "required": [ + "id", + "target", + "coordinates" + ], + "title": "SweepAxisInput", + "type": "object" + }, + "SweepCoordinateInput": { + "additionalProperties": false, + "properties": { + "kind": { + "enum": [ + "value", + "omit" + ], + "title": "Kind", + "type": "string" + }, + "value": { + "anyOf": [ + { + "type": "boolean" + }, + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Value" + } + }, + "required": [ + "kind" + ], + "title": "SweepCoordinateInput", + "type": "object" + }, + "SweepTargetInput": { + "additionalProperties": false, + "properties": { + "family": { + "enum": [ + "layer_parameter", + "material_parameter", + "setting", + "bulk_defect", + "interface_defect", + "jv", + "cbo" + ], + "title": "Family", + "type": "string" + }, + "local_id": { + "anyOf": [ + { + "pattern": "^[A-Za-z_][A-Za-z0-9_.:-]*$", + "type": "string" + } + ], + "title": "Local Id" + }, + "owner_id": { + "anyOf": [ + { + "pattern": "^[A-Za-z_][A-Za-z0-9_.:-]*$", + "type": "string" + } + ], + "title": "Owner Id" + }, + "parameter": { + "items": { + "pattern": "^[A-Za-z_][A-Za-z0-9_.:-]*$", + "type": "string" + }, + "maxItems": 2, + "minItems": 1, + "title": "Parameter", + "type": "array" + }, + "reference_id": { + "anyOf": [ + { + "pattern": "^[A-Za-z_][A-Za-z0-9_.:-]*$", + "type": "string" + } + ], + "title": "Reference Id" + } + }, + "required": [ + "family", + "parameter" + ], + "title": "SweepTargetInput", + "type": "object" + }, + "TunnellingInput": { + "additionalProperties": false, + "properties": { + "band_to_band": { + "anyOf": [ + { + "$ref": "#/$defs/BandToBandInput" + }, + { + "type": "null" + } + ] + }, + "contact": { + "anyOf": [ + { + "$ref": "#/$defs/ContactTunnellingInput" + }, + { + "type": "null" + } + ] + }, + "interface_defect_assisted": { + "anyOf": [ + { + "$ref": "#/$defs/DefectAssistedInput" + }, + { + "type": "null" + } + ] + }, + "intraband": { + "anyOf": [ + { + "$ref": "#/$defs/IntrabandInput" + }, + { + "type": "null" + } + ] + }, + "schema_version": { + "const": "solarlab-wkb-tunnelling-channels-v1", + "default": "solarlab-wkb-tunnelling-channels-v1", + "title": "Schema Version", + "type": "string" + } + }, + "title": "TunnellingInput", + "type": "object" + } + }, + "additionalProperties": false, + "properties": { + "axes": { + "items": { + "$ref": "#/$defs/SweepAxisInput" + }, + "maxItems": 2, + "minItems": 1, + "title": "Axes", + "type": "array" + }, + "base": { + "anyOf": [ + { + "$ref": "#/$defs/DeviceInput" + }, + { + "$ref": "#/$defs/JVExperimentInput" + } + ], + "title": "Base" + }, + "id": { + "pattern": "^[A-Za-z_][A-Za-z0-9_.:-]*$", + "title": "Id", + "type": "string" + }, + "reference_id": { + "anyOf": [ + { + "pattern": "^[A-Za-z_][A-Za-z0-9_.:-]*$", + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Reference Id" + }, + "schema_version": { + "const": "solarlab.sweep-preparation.v1", + "title": "Schema Version", + "type": "string" + } + }, + "required": [ + "schema_version", + "id", + "base", + "axes" + ], + "title": "SweepInput", + "type": "object" + } + }, + "TandemInput": { + "python_type": "solarlab.device.inputs:TandemInput", + "representation": "editable_input", + "schema": { + "$defs": { + "BandToBandInput": { + "additionalProperties": false, + "properties": { + "enabled": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Enabled" + }, + "energy_quadrature_order": { + "anyOf": [ + { + "minimum": 4, + "type": "integer" + } + ], + "title": "Energy Quadrature Order" + }, + "minimum_field_V_m": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Minimum Field V M", + "unit": "V/m" + }, + "reduced_effective_mass_rel": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Reduced Effective Mass Rel", + "unit": "1" + } + }, + "title": "BandToBandInput", + "type": "object" + }, + "BenchmarkInput": { + "additionalProperties": false, + "properties": { + "reference": { + "minLength": 1, + "title": "Reference", + "type": "string" + }, + "target_ff_fraction": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Target Ff Fraction", + "unit": "1" + }, + "target_jsc_A_m2": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Target Jsc A M2", + "unit": "A/m^2" + }, + "target_pce_fraction": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Target Pce Fraction", + "unit": "1" + }, + "target_voc_V": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Target Voc V", + "unit": "V" + }, + "tolerance_fraction": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Tolerance Fraction", + "unit": "1" + } + }, + "required": [ + "reference", + "target_pce_fraction", + "target_jsc_A_m2", + "target_voc_V", + "target_ff_fraction", + "tolerance_fraction" + ], + "title": "BenchmarkInput", + "type": "object" + }, + "BulkDefectInput": { + "additionalProperties": false, + "properties": { + "charge_transition": { + "enum": [ + "neutral", + "acceptor", + "donor", + "unresolved" + ], + "title": "Charge Transition", + "type": "string" + }, + "degeneracy": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Degeneracy", + "unit": "1" + }, + "distribution": { + "$ref": "#/$defs/DistributionInput" + }, + "energy_level": { + "anyOf": [ + { + "$ref": "#/$defs/EnergyLevelInput" + }, + { + "type": "null" + } + ] + }, + "id": { + "pattern": "^[A-Za-z_][A-Za-z0-9_.:-]*$", + "title": "Id", + "type": "string" + }, + "kinetics": { + "$ref": "#/$defs/KineticsInput" + }, + "name": { + "anyOf": [ + { + "minLength": 1, + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Name" + }, + "neutral_reference": { + "enum": [ + "all_occupancies", + "empty", + "filled", + "unresolved" + ], + "title": "Neutral Reference", + "type": "string" + }, + "spatial_profile": { + "anyOf": [ + { + "$ref": "#/$defs/SpatialProfileInput" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "id", + "distribution", + "charge_transition", + "neutral_reference", + "kinetics", + "degeneracy" + ], + "title": "BulkDefectInput", + "type": "object" + }, + "CigsOpticsInput": { + "additionalProperties": false, + "description": "GGI endpoints follow the layer's electrical grading coordinate.\n\nAbsent model, slice and quadrature values are supplied by the injected catalog,\ncompiled from the existing model declaration. None is never a numeric default.", + "properties": { + "cgi": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Cgi", + "unit": "1" + }, + "ggi_back": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Ggi Back", + "unit": "1" + }, + "ggi_front": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Ggi Front", + "unit": "1" + }, + "kk_quadrature_order": { + "anyOf": [ + { + "maximum": 2048, + "minimum": 48, + "type": "integer" + } + ], + "title": "Kk Quadrature Order" + }, + "model": { + "anyOf": [ + { + "const": "minoura_2015", + "type": "string" + } + ], + "title": "Model" + }, + "slices": { + "anyOf": [ + { + "maximum": 512, + "minimum": 1, + "type": "integer" + } + ], + "title": "Slices" + } + }, + "required": [ + "ggi_front", + "ggi_back", + "cgi" + ], + "title": "CigsOpticsInput", + "type": "object" + }, + "ContactInput": { + "additionalProperties": false, + "properties": { + "S_n": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": false, + "title": "S N", + "unit": "m/s" + }, + "S_p": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": false, + "title": "S P", + "unit": "m/s" + }, + "id": { + "pattern": "^[A-Za-z_][A-Za-z0-9_.:-]*$", + "title": "Id", + "type": "string" + }, + "layer": { + "pattern": "^[A-Za-z_][A-Za-z0-9_.:-]*$", + "title": "Layer", + "type": "string" + }, + "side": { + "enum": [ + "left", + "right" + ], + "title": "Side", + "type": "string" + } + }, + "required": [ + "id", + "side", + "layer" + ], + "title": "ContactInput", + "type": "object" + }, + "ContactTunnellingInput": { + "additionalProperties": false, + "properties": { + "barrier_height_eV": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Barrier Height Ev", + "unit": "eV" + }, + "electron_effective_mass_rel": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Electron Effective Mass Rel", + "unit": "1" + }, + "enabled": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Enabled" + }, + "energy_quadrature_order": { + "anyOf": [ + { + "minimum": 4, + "type": "integer" + } + ], + "title": "Energy Quadrature Order" + }, + "hole_effective_mass_rel": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Hole Effective Mass Rel", + "unit": "1" + }, + "side": { + "anyOf": [ + { + "enum": [ + "both", + "left", + "right" + ], + "type": "string" + } + ], + "title": "Side" + } + }, + "title": "ContactTunnellingInput", + "type": "object" + }, + "DefectAssistedInput": { + "additionalProperties": false, + "properties": { + "electron_effective_mass_rel": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Electron Effective Mass Rel", + "unit": "1" + }, + "enabled": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Enabled" + }, + "hole_effective_mass_rel": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Hole Effective Mass Rel", + "unit": "1" + }, + "requires_explicit_occupancy": { + "anyOf": [ + { + "const": true, + "type": "boolean" + } + ], + "title": "Requires Explicit Occupancy" + } + }, + "title": "DefectAssistedInput", + "type": "object" + }, + "DeviceInput": { + "additionalProperties": false, + "properties": { + "contacts": { + "default": [], + "items": { + "$ref": "#/$defs/ContactInput" + }, + "title": "Contacts", + "type": "array" + }, + "description": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Description" + }, + "electrical_grid": { + "default": [], + "items": { + "$ref": "#/$defs/GridLayerInput" + }, + "title": "Electrical Grid", + "type": "array" + }, + "fixed_generation": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Fixed Generation" + }, + "grain_boundaries": { + "default": [], + "items": { + "$ref": "#/$defs/GrainBoundaryInput" + }, + "title": "Grain Boundaries", + "type": "array" + }, + "id": { + "pattern": "^[A-Za-z_][A-Za-z0-9_.:-]*$", + "title": "Id", + "type": "string" + }, + "interfaces": { + "default": [], + "items": { + "$ref": "#/$defs/InterfaceInput" + }, + "title": "Interfaces", + "type": "array" + }, + "layers": { + "items": { + "$ref": "#/$defs/FullLayerInput" + }, + "title": "Layers", + "type": "array" + }, + "legacy_fields": { + "anyOf": [ + { + "$ref": "#/$defs/LegacyDeviceFieldsInput" + }, + { + "type": "null" + } + ] + }, + "materials": { + "default": [], + "items": { + "$ref": "#/$defs/NamedMaterialInput" + }, + "title": "Materials", + "type": "array" + }, + "name": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Name" + }, + "schema_version": { + "const": "solarlab.device-preparation.v1", + "title": "Schema Version", + "type": "string" + }, + "settings": { + "$ref": "#/$defs/DeviceSettingsInput" + }, + "simulation_hints": { + "anyOf": [ + { + "$ref": "#/$defs/SimulationHintsInput" + }, + { + "type": "null" + } + ] + }, + "source_format": { + "enum": [ + "standard", + "scaps", + "canonical" + ], + "title": "Source Format", + "type": "string" + }, + "source_schema_version": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "integer" + }, + { + "type": "null" + } + ], + "title": "Source Schema Version" + }, + "spectrum": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Spectrum" + }, + "tunnelling_channels": { + "anyOf": [ + { + "$ref": "#/$defs/TunnellingInput" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "schema_version", + "id", + "source_format", + "layers" + ], + "title": "DeviceInput", + "type": "object" + }, + "DeviceSettingsInput": { + "additionalProperties": false, + "properties": { + "Phi": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Phi", + "unit": "m^-2/s" + }, + "T": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "T", + "unit": "K" + }, + "V_bi": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": false, + "nullable": false, + "positive": false, + "title": "V Bi", + "unit": "V" + }, + "band_grading": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Band Grading" + }, + "built_in_potential_mode": { + "anyOf": [ + { + "enum": [ + "legacy_manual", + "semiconductor_work_function", + "metal_work_function" + ], + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Built In Potential Mode" + }, + "contact_phi_B_eV": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Contact Phi B Ev", + "unit": "eV" + }, + "dos_band_potentials": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Dos Band Potentials" + }, + "flat_band_contacts": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Flat Band Contacts" + }, + "flat_band_metal_contacts": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Flat Band Metal Contacts" + }, + "graded_optics": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Graded Optics" + }, + "het_recomb_despike": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Het Recomb Despike", + "unit": "1" + }, + "interface_charge_closure": { + "anyOf": [ + { + "enum": [ + "off", + "equilibrium_referenced" + ], + "type": "string" + } + ], + "title": "Interface Charge Closure" + }, + "interface_charge_rebaseline_acknowledged": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Interface Charge Rebaseline Acknowledged" + }, + "interface_plane_closure": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Interface Plane Closure" + }, + "interface_plane_generation": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Interface Plane Generation" + }, + "interface_plane_projection": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Interface Plane Projection" + }, + "interface_shared_occupancy": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Interface Shared Occupancy" + }, + "interface_tunneling": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Interface Tunneling" + }, + "interface_two_sided": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Interface Two Sided" + }, + "ion_steric_diffusion_only": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Ion Steric Diffusion Only" + }, + "ion_steric_shared_site": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Ion Steric Shared Site" + }, + "jv_solver_policy": { + "anyOf": [ + { + "enum": [ + "general", + "cancellation_safe_qf_required" + ], + "type": "string" + } + ], + "title": "Jv Solver Policy" + }, + "mode": { + "anyOf": [ + { + "enum": [ + "legacy", + "fast", + "full" + ], + "type": "string" + } + ], + "title": "Mode" + }, + "phi_left": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": false, + "nullable": false, + "positive": false, + "title": "Phi Left", + "unit": "V" + }, + "te_physical_norm": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Te Physical Norm" + }, + "tunnel_mass_eff": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Tunnel Mass Eff", + "unit": "1" + }, + "work_function_left_eV": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": true, + "title": "Work Function Left Ev", + "unit": "eV" + }, + "work_function_right_eV": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": true, + "title": "Work Function Right Ev", + "unit": "eV" + } + }, + "title": "DeviceSettingsInput", + "type": "object" + }, + "DistributionInput": { + "additionalProperties": false, + "properties": { + "center_eV_above_vb": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": false, + "title": "Center Ev Above Vb", + "unit": "eV" + }, + "energy_reference": { + "anyOf": [ + { + "const": "above_valence_band", + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Energy Reference" + }, + "kind": { + "enum": [ + "single_level", + "gaussian", + "uniform", + "conduction_band_tail", + "valence_band_tail" + ], + "title": "Kind", + "type": "string" + }, + "normalization": { + "const": "integrated_total", + "title": "Normalization", + "type": "string" + }, + "support_width_multiplier": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": true, + "title": "Support Width Multiplier", + "unit": "1" + }, + "total_density_m3": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Total Density M3", + "unit": "m^-3" + }, + "width_convention": { + "anyOf": [ + { + "enum": [ + "not_applicable", + "gaussian_standard_deviation", + "scaps_characteristic_energy", + "uniform_full_width", + "unresolved" + ], + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Width Convention" + }, + "width_eV": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": true, + "title": "Width Ev", + "unit": "eV" + } + }, + "required": [ + "kind", + "normalization", + "total_density_m3" + ], + "title": "DistributionInput", + "type": "object" + }, + "EnergyLevelInput": { + "additionalProperties": false, + "properties": { + "reference": { + "enum": [ + "below_conduction_band", + "above_valence_band" + ], + "title": "Reference", + "type": "string" + }, + "value_eV": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Value Ev", + "unit": "eV" + } + }, + "required": [ + "reference", + "value_eV" + ], + "title": "EnergyLevelInput", + "type": "object" + }, + "FullLayerInput": { + "additionalProperties": false, + "properties": { + "bulk_defects": { + "default": [], + "items": { + "anyOf": [ + { + "$ref": "#/$defs/BulkDefectInput" + }, + { + "$ref": "#/$defs/MultivalentDefectInput" + } + ] + }, + "title": "Bulk Defects", + "type": "array" + }, + "bulk_trap_distribution": { + "anyOf": [ + { + "$ref": "#/$defs/LegacyBulkTrapInput" + }, + { + "type": "null" + } + ] + }, + "cigs_graded_optics": { + "anyOf": [ + { + "$ref": "#/$defs/CigsOpticsInput" + }, + { + "type": "null" + } + ] + }, + "defect_model": { + "anyOf": [ + { + "enum": [ + "effective_lifetime", + "explicit_quasi_steady" + ], + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Defect Model" + }, + "defect_schema_version": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Defect Schema Version" + }, + "id": { + "pattern": "^[A-Za-z_][A-Za-z0-9_.:-]*$", + "title": "Id", + "type": "string" + }, + "material": { + "anyOf": [ + { + "pattern": "^[A-Za-z_][A-Za-z0-9_.:-]*$", + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Material" + }, + "metastable_document": { + "anyOf": [ + { + "$ref": "#/$defs/MetastableDocumentInput" + }, + { + "type": "null" + } + ] + }, + "metastable_preparation": { + "anyOf": [ + { + "$ref": "#/$defs/MetastablePreparationInput" + }, + { + "type": "null" + } + ] + }, + "name": { + "minLength": 1, + "title": "Name", + "type": "string" + }, + "parameterization": { + "default": "standard", + "enum": [ + "standard", + "scaps" + ], + "title": "Parameterization", + "type": "string" + }, + "parameters": { + "$ref": "#/$defs/FullParameterInput" + }, + "role": { + "minLength": 1, + "title": "Role", + "type": "string" + }, + "scaps_defect_metadata": { + "default": [], + "items": { + "$ref": "#/$defs/ScapsDefectMetadataInput" + }, + "title": "Scaps Defect Metadata", + "type": "array" + }, + "thickness": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Thickness", + "unit": "m" + } + }, + "required": [ + "id", + "name", + "role", + "thickness" + ], + "title": "FullLayerInput", + "type": "object" + }, + "FullParameterInput": { + "additionalProperties": false, + "properties": { + "A_star_n": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "A Star N", + "unit": "A/(m^2 K^2)" + }, + "A_star_p": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "A Star P", + "unit": "A/(m^2 K^2)" + }, + "B_rad": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "B Rad", + "unit": "m^3/s" + }, + "B_rad_T_gamma": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": false, + "nullable": false, + "positive": false, + "title": "B Rad T Gamma", + "unit": "1" + }, + "C_n": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "C N", + "unit": "m^6/s" + }, + "C_p": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "C P", + "unit": "m^6/s" + }, + "D_ion": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "D Ion", + "unit": "m^2/s" + }, + "D_ion_neg": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "D Ion Neg", + "unit": "m^2/s" + }, + "E_a_ion": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "E A Ion", + "unit": "eV" + }, + "Eg": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "Eg", + "unit": "eV" + }, + "Eg_back": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": false, + "title": "Eg Back", + "unit": "eV" + }, + "N_A": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "N A", + "unit": "m^-3" + }, + "N_A_bulk": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": false, + "title": "N A Bulk", + "unit": "m^-3" + }, + "N_D": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "N D", + "unit": "m^-3" + }, + "N_D_bulk": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": false, + "title": "N D Bulk", + "unit": "m^-3" + }, + "Nc300": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": true, + "title": "Nc300", + "unit": "m^-3" + }, + "Nv300": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": true, + "title": "Nv300", + "unit": "m^-3" + }, + "P0": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "P0", + "unit": "m^-3" + }, + "P0_neg": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "P0 Neg", + "unit": "m^-3" + }, + "P_lim": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "P Lim", + "unit": "m^-3" + }, + "P_lim_neg": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "P Lim Neg", + "unit": "m^-3" + }, + "acceptor_binding_energy_eV": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": false, + "title": "Acceptor Binding Energy Ev", + "unit": "eV" + }, + "acceptor_degeneracy": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Acceptor Degeneracy", + "unit": "1" + }, + "alpha": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "Alpha", + "unit": "m^-1" + }, + "band_gap_narrowing_model": { + "anyOf": [ + { + "enum": [ + "off", + "slotboom" + ], + "type": "string" + } + ], + "title": "Band Gap Narrowing Model" + }, + "bgn_conduction_band_fraction": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Bgn Conduction Band Fraction", + "unit": "1" + }, + "bgn_log_shape": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Bgn Log Shape", + "unit": "1" + }, + "bgn_reference_density_m3": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Bgn Reference Density M3", + "unit": "m^-3" + }, + "bgn_reference_energy_eV": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Bgn Reference Energy Ev", + "unit": "eV" + }, + "carrier_statistics": { + "anyOf": [ + { + "enum": [ + "maxwell_boltzmann", + "fermi_dirac" + ], + "type": "string" + } + ], + "title": "Carrier Statistics" + }, + "chi": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": false, + "positive": false, + "title": "Chi", + "unit": "eV" + }, + "chi_back": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": false, + "nullable": true, + "positive": false, + "title": "Chi Back", + "unit": "eV" + }, + "ct_beta_n": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Ct Beta N", + "unit": "1" + }, + "ct_beta_p": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Ct Beta P", + "unit": "1" + }, + "donor_binding_energy_eV": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": false, + "title": "Donor Binding Energy Ev", + "unit": "eV" + }, + "donor_degeneracy": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Donor Degeneracy", + "unit": "1" + }, + "dopant_ionization_model": { + "anyOf": [ + { + "enum": [ + "fully_ionized", + "discrete_level" + ], + "type": "string" + } + ], + "title": "Dopant Ionization Model" + }, + "doping_decay_length": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": true, + "title": "Doping Decay Length", + "unit": "m" + }, + "doping_edge": { + "anyOf": [ + { + "enum": [ + "front", + "back" + ], + "type": "string" + } + ], + "title": "Doping Edge" + }, + "doping_profile_shape": { + "anyOf": [ + { + "const": "gaussian", + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Doping Profile Shape" + }, + "eps_r": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": true, + "title": "Eps R", + "unit": "1" + }, + "grading_N_mult": { + "anyOf": [ + { + "exclusiveMinimum": 0, + "type": "integer" + } + ], + "title": "Grading N Mult" + }, + "grading_bowing": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": false, + "nullable": false, + "positive": false, + "title": "Grading Bowing", + "unit": "eV" + }, + "grading_char_length": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": true, + "title": "Grading Char Length", + "unit": "m" + }, + "grading_direction": { + "anyOf": [ + { + "enum": [ + "front_to_back", + "back_to_front" + ], + "type": "string" + } + ], + "title": "Grading Direction" + }, + "grading_profile": { + "anyOf": [ + { + "enum": [ + "linear", + "parabolic", + "exponential" + ], + "type": "string" + } + ], + "title": "Grading Profile" + }, + "incoherent": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Incoherent" + }, + "mu_T_gamma": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": false, + "nullable": false, + "positive": false, + "title": "Mu T Gamma", + "unit": "1" + }, + "mu_n": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "Mu N", + "unit": "m^2/(V s)" + }, + "mu_p": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "Mu P", + "unit": "m^2/(V s)" + }, + "n1": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "N1", + "unit": "m^-3" + }, + "n_optical": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": true, + "title": "N Optical", + "unit": "1" + }, + "ni": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "Ni", + "unit": "m^-3" + }, + "optical_material": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Optical Material" + }, + "p1": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "P1", + "unit": "m^-3" + }, + "pf_gamma_n": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Pf Gamma N", + "unit": "(m/V)^0.5" + }, + "pf_gamma_p": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Pf Gamma P", + "unit": "(m/V)^0.5" + }, + "tau_n": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": true, + "title": "Tau N", + "unit": "s" + }, + "tau_p": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": true, + "title": "Tau P", + "unit": "s" + }, + "trap_N_t_bulk": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": false, + "title": "Trap N T Bulk", + "unit": "m^-3" + }, + "trap_N_t_interface": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": false, + "title": "Trap N T Interface", + "unit": "m^-3" + }, + "trap_decay_length": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": false, + "title": "Trap Decay Length", + "unit": "m" + }, + "trap_edge": { + "anyOf": [ + { + "enum": [ + "both", + "left", + "right" + ], + "type": "string" + } + ], + "title": "Trap Edge" + }, + "trap_profile_shape": { + "anyOf": [ + { + "enum": [ + "exponential", + "gaussian" + ], + "type": "string" + } + ], + "title": "Trap Profile Shape" + }, + "v_sat_n": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "V Sat N", + "unit": "m/s" + }, + "v_sat_p": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "V Sat P", + "unit": "m/s" + }, + "v_th": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "V Th", + "unit": "m/s" + }, + "varshni_alpha": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": false, + "nullable": false, + "positive": false, + "title": "Varshni Alpha", + "unit": "eV/K" + }, + "varshni_beta": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Varshni Beta", + "unit": "K" + } + }, + "title": "FullParameterInput", + "type": "object" + }, + "GrainBoundaryInput": { + "additionalProperties": false, + "properties": { + "id": { + "pattern": "^[A-Za-z_][A-Za-z0-9_.:-]*$", + "title": "Id", + "type": "string" + }, + "layer_ids": { + "items": { + "pattern": "^[A-Za-z_][A-Za-z0-9_.:-]*$", + "type": "string" + }, + "title": "Layer Ids", + "type": "array" + }, + "source_layer_role": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Source Layer Role" + }, + "tau_n": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Tau N", + "unit": "s" + }, + "tau_p": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Tau P", + "unit": "s" + }, + "width": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Width", + "unit": "m" + }, + "x_position": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "X Position", + "unit": "m" + } + }, + "required": [ + "id", + "layer_ids", + "x_position", + "width", + "tau_n", + "tau_p" + ], + "title": "GrainBoundaryInput", + "type": "object" + }, + "GridLayerInput": { + "additionalProperties": false, + "properties": { + "alpha": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Alpha", + "unit": "1" + }, + "interval_weight": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Interval Weight", + "unit": "1" + }, + "layer": { + "pattern": "^[A-Za-z_][A-Za-z0-9_.:-]*$", + "title": "Layer", + "type": "string" + } + }, + "required": [ + "layer", + "interval_weight", + "alpha" + ], + "title": "GridLayerInput", + "type": "object" + }, + "InterfaceDefectInput": { + "additionalProperties": false, + "properties": { + "calibration_factor": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Calibration Factor", + "unit": "1" + }, + "energy_reference": { + "enum": [ + "below_conduction_band", + "above_valence_band" + ], + "title": "Energy Reference", + "type": "string" + }, + "id": { + "pattern": "^[A-Za-z_][A-Za-z0-9_.:-]*$", + "title": "Id", + "type": "string" + }, + "iface_state_calibration_factor": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Iface State Calibration Factor", + "unit": "1" + }, + "kinetics": { + "$ref": "#/$defs/KineticsInput" + }, + "partner_metadata": { + "anyOf": [ + { + "$ref": "#/$defs/ScapsDefectMetadataInput" + }, + { + "type": "null" + } + ] + }, + "total_density_m2": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Total Density M2", + "unit": "m^-2" + }, + "trap_depth_eV": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Trap Depth Ev", + "unit": "eV" + } + }, + "required": [ + "id", + "trap_depth_eV", + "energy_reference", + "total_density_m2", + "kinetics", + "calibration_factor", + "iface_state_calibration_factor" + ], + "title": "InterfaceDefectInput", + "type": "object" + }, + "InterfaceInput": { + "additionalProperties": false, + "properties": { + "defect": { + "anyOf": [ + { + "$ref": "#/$defs/InterfaceDefectInput" + }, + { + "type": "null" + } + ] + }, + "id": { + "pattern": "^[A-Za-z_][A-Za-z0-9_.:-]*$", + "title": "Id", + "type": "string" + }, + "left": { + "pattern": "^[A-Za-z_][A-Za-z0-9_.:-]*$", + "title": "Left", + "type": "string" + }, + "right": { + "pattern": "^[A-Za-z_][A-Za-z0-9_.:-]*$", + "title": "Right", + "type": "string" + }, + "v_n": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": false, + "title": "V N", + "unit": "m/s" + }, + "v_p": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": false, + "title": "V P", + "unit": "m/s" + } + }, + "required": [ + "id", + "left", + "right" + ], + "title": "InterfaceInput", + "type": "object" + }, + "IntrabandInput": { + "additionalProperties": false, + "properties": { + "carrier": { + "anyOf": [ + { + "enum": [ + "electron", + "hole", + "both" + ], + "type": "string" + } + ], + "title": "Carrier" + }, + "electron_effective_mass_rel": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Electron Effective Mass Rel", + "unit": "1" + }, + "enabled": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Enabled" + }, + "energy_quadrature_order": { + "anyOf": [ + { + "minimum": 4, + "type": "integer" + } + ], + "title": "Energy Quadrature Order" + }, + "hole_effective_mass_rel": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Hole Effective Mass Rel", + "unit": "1" + } + }, + "title": "IntrabandInput", + "type": "object" + }, + "JVDCSettleInput": { + "additionalProperties": false, + "properties": { + "duration_s": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": true, + "title": "Duration S", + "unit": "s" + }, + "kind": { + "enum": [ + "finite_time", + "residual_certified", + "finite_time_with_certificate", + "not_applicable" + ], + "title": "Kind", + "type": "string" + }, + "max_carrier_area_rate_A_m2": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": true, + "title": "Max Carrier Area Rate A M2", + "unit": "A/m^2" + }, + "max_face_current_spread_A_m2": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": true, + "title": "Max Face Current Spread A M2", + "unit": "A/m^2" + }, + "max_ion_area_rate_A_m2": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": true, + "title": "Max Ion Area Rate A M2", + "unit": "A/m^2" + }, + "max_ionic_face_current_A_m2": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": true, + "title": "Max Ionic Face Current A M2", + "unit": "A/m^2" + } + }, + "required": [ + "kind", + "duration_s", + "max_carrier_area_rate_A_m2", + "max_ion_area_rate_A_m2", + "max_ionic_face_current_A_m2", + "max_face_current_spread_A_m2" + ], + "title": "JVDCSettleInput", + "type": "object" + }, + "JVIlluminationStepInput": { + "additionalProperties": false, + "properties": { + "condition": { + "enum": [ + "dark", + "baseline", + "scaled", + "monochromatic", + "pulse" + ], + "title": "Condition", + "type": "string" + }, + "duration_s": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": false, + "title": "Duration S", + "unit": "s" + }, + "intensity_suns": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": false, + "title": "Intensity Suns", + "unit": "1" + }, + "phase": { + "minLength": 1, + "title": "Phase", + "type": "string" + }, + "photon_flux_m2_s": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": true, + "title": "Photon Flux M2 S", + "unit": "m^-2/s" + }, + "relative_generation_change": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": false, + "nullable": true, + "positive": false, + "title": "Relative Generation Change", + "unit": "1" + }, + "source_reference": { + "anyOf": [ + { + "minLength": 1, + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Source Reference" + } + }, + "required": [ + "phase", + "condition", + "duration_s", + "intensity_suns", + "photon_flux_m2_s", + "relative_generation_change", + "source_reference" + ], + "title": "JVIlluminationStepInput", + "type": "object" + }, + "JVProtocolInput": { + "additionalProperties": false, + "description": "The existing ExperimentProtocol fields for its J-V branch only.", + "properties": { + "ac_excitation": { + "title": "Ac Excitation", + "type": "null" + }, + "dc_settle": { + "$ref": "#/$defs/JVDCSettleInput" + }, + "dwell_duration_s": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": false, + "title": "Dwell Duration S", + "unit": "s" + }, + "experiment": { + "const": "jv_hysteresis", + "title": "Experiment", + "type": "string" + }, + "illumination_history": { + "items": { + "$ref": "#/$defs/JVIlluminationStepInput" + }, + "minItems": 1, + "title": "Illumination History", + "type": "array" + }, + "implicit_legacy_protocol": { + "title": "Implicit Legacy Protocol", + "type": "boolean" + }, + "initial_state_source": { + "enum": [ + "dark_equilibrium", + "dark_equilibrium_each_sample", + "finite_time_illuminated_preconditioned", + "finite_time_dc_preconditioned", + "qf_dc_candidate", + "user_supplied_state" + ], + "title": "Initial State Source", + "type": "string" + }, + "pre_bias_V": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": false, + "nullable": true, + "positive": false, + "title": "Pre Bias V", + "unit": "V" + }, + "sampling": { + "$ref": "#/$defs/JVSamplingInput" + }, + "scan": { + "$ref": "#/$defs/JVScanInput" + }, + "schema_version": { + "const": 1, + "title": "Schema Version", + "type": "integer" + }, + "soak_duration_s": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": false, + "title": "Soak Duration S", + "unit": "s" + }, + "temperature_K": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Temperature K", + "unit": "K" + }, + "voc_search": { + "title": "Voc Search", + "type": "null" + } + }, + "required": [ + "experiment", + "initial_state_source", + "pre_bias_V", + "soak_duration_s", + "dwell_duration_s", + "illumination_history", + "temperature_K", + "scan", + "ac_excitation", + "dc_settle", + "sampling", + "voc_search", + "implicit_legacy_protocol", + "schema_version" + ], + "title": "JVProtocolInput", + "type": "object" + }, + "JVSamplingInput": { + "additionalProperties": false, + "properties": { + "axis": { + "const": "voltage_V", + "title": "Axis", + "type": "string" + }, + "mode": { + "enum": [ + "linear", + "log", + "declared", + "piecewise_linear" + ], + "title": "Mode", + "type": "string" + }, + "values": { + "item_input_unit": null, + "item_positive": false, + "item_unit": "V", + "items": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ] + }, + "minItems": 1, + "title": "Values", + "type": "array" + } + }, + "required": [ + "axis", + "mode", + "values" + ], + "title": "JVSamplingInput", + "type": "object" + }, + "JVScanInput": { + "additionalProperties": false, + "properties": { + "axis": { + "const": "voltage_V", + "title": "Axis", + "type": "string" + }, + "direction": { + "enum": [ + "ascending", + "descending", + "ascending_then_descending", + "declared_order", + "forward_time" + ], + "title": "Direction", + "type": "string" + }, + "rate_V_s": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Rate V S", + "unit": "V/s" + }, + "start": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": false, + "nullable": false, + "positive": false, + "title": "Start", + "unit": "V" + }, + "stop": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": false, + "nullable": false, + "positive": false, + "title": "Stop", + "unit": "V" + } + }, + "required": [ + "axis", + "direction", + "start", + "stop", + "rate_V_s" + ], + "title": "JVScanInput", + "type": "object" + }, + "JVSweepHintsInput": { + "additionalProperties": false, + "description": "Supplied advisory fields, without an endpoint or implied execution.\n\nUnknown fields reject rather than disappear. A caller must explicitly\ncompose these fields with JVInput to request protocol preparation.", + "properties": { + "N_grid": { + "anyOf": [ + { + "minimum": 3, + "type": "integer" + } + ], + "title": "Requested electrical grid allocation" + }, + "V_max": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": false, + "nullable": true, + "positive": false, + "title": "V Max", + "unit": "V" + }, + "experiment_protocol": { + "anyOf": [ + { + "$ref": "#/$defs/JVProtocolInput" + }, + { + "type": "null" + } + ] + }, + "iface_states": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Iface States" + }, + "illuminated": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Illuminated" + }, + "interface_boundary": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Interface Boundary" + }, + "interface_transport_model": { + "anyOf": [ + { + "minLength": 1, + "type": "string" + } + ], + "title": "Interface Transport Model" + }, + "n_points": { + "anyOf": [ + { + "minimum": 2, + "type": "integer" + } + ], + "title": "Samples per branch" + }, + "protocol_mode": { + "anyOf": [ + { + "enum": [ + "compatibility", + "research_strict" + ], + "type": "string" + } + ], + "title": "Protocol Mode" + }, + "solver": { + "anyOf": [ + { + "enum": [ + "transient", + "steady_state", + "quasi_fermi" + ], + "type": "string" + } + ], + "title": "Solver" + }, + "v_rate": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "V Rate", + "unit": "V/s" + }, + "waveform": { + "anyOf": [ + { + "$ref": "#/$defs/JVWaveformInput" + }, + { + "type": "null" + } + ] + }, + "waveform_controls": { + "anyOf": [ + { + "$ref": "#/$defs/JVWaveformControlsInput" + }, + { + "type": "null" + } + ] + } + }, + "title": "JVSweepHintsInput", + "type": "object" + }, + "JVWaveformControlsInput": { + "additionalProperties": false, + "properties": { + "atol_m3": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Atol M3", + "unit": "m^-3" + }, + "rtol": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Rtol", + "unit": "1" + } + }, + "required": [ + "rtol", + "atol_m3" + ], + "title": "JVWaveformControlsInput", + "type": "object" + }, + "JVWaveformInput": { + "additionalProperties": false, + "description": "All eight fields of JVWaveform.from_dict are explicit, including null.", + "properties": { + "branch_dwell_s": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Branch Dwell S", + "unit": "s" + }, + "dark_prep_s": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Dark Prep S", + "unit": "s" + }, + "dark_seed_s": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Dark Seed S", + "unit": "s" + }, + "schema_version": { + "const": 1, + "title": "Schema Version", + "type": "integer" + }, + "start_voltage_V": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": false, + "nullable": false, + "positive": false, + "title": "Start Voltage V", + "unit": "V" + }, + "turnaround_dark": { + "title": "Turnaround Dark", + "type": "boolean" + }, + "turnaround_s": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Turnaround S", + "unit": "s" + }, + "uniform_generation_rate_m3_s": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": false, + "title": "Uniform Generation Rate M3 S", + "unit": "m^-3/s" + } + }, + "required": [ + "schema_version", + "start_voltage_V", + "dark_seed_s", + "dark_prep_s", + "branch_dwell_s", + "turnaround_s", + "turnaround_dark", + "uniform_generation_rate_m3_s" + ], + "title": "JVWaveformInput", + "type": "object" + }, + "KineticsInput": { + "additionalProperties": false, + "properties": { + "sigma_n_m2": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Sigma N M2", + "unit": "m^2" + }, + "sigma_p_m2": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Sigma P M2", + "unit": "m^2" + }, + "thermal_velocity_n_m_s": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Thermal Velocity N M S", + "unit": "m/s" + }, + "thermal_velocity_p_m_s": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Thermal Velocity P M S", + "unit": "m/s" + } + }, + "required": [ + "sigma_n_m2", + "sigma_p_m2", + "thermal_velocity_n_m_s", + "thermal_velocity_p_m_s" + ], + "title": "KineticsInput", + "type": "object" + }, + "LegacyBulkTrapInput": { + "additionalProperties": false, + "properties": { + "center_eV_above_vb": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Center Ev Above Vb", + "unit": "eV" + }, + "charge_transition": { + "enum": [ + "acceptor", + "donor" + ], + "title": "Charge Transition", + "type": "string" + }, + "distribution": { + "enum": [ + "single_level", + "gaussian" + ], + "title": "Distribution", + "type": "string" + }, + "energy_sigma_eV": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Energy Sigma Ev", + "unit": "eV" + }, + "sigma_n_m2": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Sigma N M2", + "unit": "m^2" + }, + "sigma_p_m2": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Sigma P M2", + "unit": "m^2" + }, + "thermal_velocity_m_s": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Thermal Velocity M S", + "unit": "m/s" + }, + "total_density_m3": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Total Density M3", + "unit": "m^-3" + } + }, + "required": [ + "distribution", + "total_density_m3", + "center_eV_above_vb", + "sigma_n_m2", + "sigma_p_m2", + "thermal_velocity_m_s", + "charge_transition" + ], + "title": "LegacyBulkTrapInput", + "type": "object" + }, + "LegacyDeviceFieldsInput": { + "additionalProperties": false, + "properties": { + "interface_defect_count": { + "anyOf": [ + { + "minimum": 0, + "type": "integer" + }, + { + "type": "null" + } + ], + "title": "Interface Defect Count" + }, + "interfaces": { + "anyOf": [ + { + "items": { + "items": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ] + }, + "maxItems": 2, + "minItems": 2, + "type": "array" + }, + "type": "array" + }, + { + "type": "null" + } + ], + "title": "Interfaces" + }, + "layer_ids": { + "items": { + "pattern": "^[A-Za-z_][A-Za-z0-9_.:-]*$", + "type": "string" + }, + "title": "Layer Ids", + "type": "array" + }, + "schema_version": { + "const": "solarlab.standard-loader-fields.v1", + "title": "Schema Version", + "type": "string" + }, + "source_id": { + "minLength": 1, + "title": "Source Id", + "type": "string" + }, + "source_sha256": { + "pattern": "^[0-9a-f]{64}$", + "title": "Source Sha256", + "type": "string" + }, + "temperature": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "boolean" + }, + { + "type": "null" + } + ], + "title": "Temperature" + } + }, + "required": [ + "schema_version", + "source_id", + "source_sha256", + "layer_ids" + ], + "title": "LegacyDeviceFieldsInput", + "type": "object" + }, + "MetastableConversionInput": { + "additionalProperties": false, + "properties": { + "capture_n_m3_s": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Capture N M3 S", + "unit": "m^3/s" + }, + "capture_p_m3_s": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Capture P M3 S", + "unit": "m^3/s" + }, + "electron_capture_activation_eV": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Electron Capture Activation Ev", + "unit": "eV" + }, + "electron_capture_path": { + "enum": [ + "double_electron_capture", + "electron_capture_plus_hole_emission" + ], + "title": "Electron Capture Path", + "type": "string" + }, + "electron_emission_activation_eV": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Electron Emission Activation Ev", + "unit": "eV" + }, + "hole_capture_activation_eV": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Hole Capture Activation Ev", + "unit": "eV" + }, + "hole_capture_path": { + "enum": [ + "double_hole_capture", + "hole_capture_plus_electron_emission" + ], + "title": "Hole Capture Path", + "type": "string" + }, + "hole_emission_activation_eV": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Hole Emission Activation Ev", + "unit": "eV" + }, + "phonon_frequency_Hz": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Phonon Frequency Hz", + "unit": "Hz" + }, + "transition_energy_eV_above_vb": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Transition Energy Ev Above Vb", + "unit": "eV" + } + }, + "required": [ + "transition_energy_eV_above_vb", + "electron_capture_activation_eV", + "electron_emission_activation_eV", + "hole_capture_activation_eV", + "hole_emission_activation_eV", + "electron_capture_path", + "hole_capture_path", + "capture_n_m3_s", + "capture_p_m3_s", + "phonon_frequency_Hz" + ], + "title": "MetastableConversionInput", + "type": "object" + }, + "MetastableDefectInput": { + "additionalProperties": false, + "properties": { + "acceptor_configuration": { + "$ref": "#/$defs/MultivalentConfigurationInput" + }, + "acceptor_conversion_state_index": { + "minimum": 0, + "title": "Acceptor Conversion State Index", + "type": "integer" + }, + "conversion_kinetics": { + "$ref": "#/$defs/MetastableConversionInput" + }, + "donor_configuration": { + "$ref": "#/$defs/MultivalentConfigurationInput" + }, + "donor_conversion_state_index": { + "minimum": 0, + "title": "Donor Conversion State Index", + "type": "integer" + }, + "id": { + "pattern": "^[A-Za-z_][A-Za-z0-9_.:-]*$", + "title": "Id", + "type": "string" + }, + "name": { + "minLength": 1, + "title": "Name", + "type": "string" + }, + "total_density_m3": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Total Density M3", + "unit": "m^-3" + } + }, + "required": [ + "id", + "name", + "total_density_m3", + "donor_configuration", + "acceptor_configuration", + "donor_conversion_state_index", + "acceptor_conversion_state_index", + "conversion_kinetics" + ], + "title": "MetastableDefectInput", + "type": "object" + }, + "MetastableDocumentInput": { + "additionalProperties": false, + "properties": { + "defect_model": { + "const": "explicit_metastable_frozen", + "title": "Defect Model", + "type": "string" + }, + "metastable_defects": { + "items": { + "$ref": "#/$defs/MetastableDefectInput" + }, + "title": "Metastable Defects", + "type": "array" + }, + "schema_version": { + "const": "solarlab-metastable-bulk-defects-v1", + "title": "Schema Version", + "type": "string" + } + }, + "required": [ + "schema_version", + "defect_model", + "metastable_defects" + ], + "title": "MetastableDocumentInput", + "type": "object" + }, + "MetastableNumericsInput": { + "additionalProperties": false, + "properties": { + "clamping_factor": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Clamping Factor", + "unit": "1" + }, + "final_unclamped_refinement": { + "const": true, + "title": "Final Unclamped Refinement", + "type": "boolean" + }, + "initial_donor_fraction_guess": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Initial Donor Fraction Guess", + "unit": "1" + }, + "max_iterations": { + "exclusiveMinimum": 0, + "title": "Max Iterations", + "type": "integer" + }, + "relative_tolerance": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Relative Tolerance", + "unit": "1" + } + }, + "required": [ + "initial_donor_fraction_guess", + "max_iterations", + "relative_tolerance", + "clamping_factor", + "final_unclamped_refinement" + ], + "title": "MetastableNumericsInput", + "type": "object" + }, + "MetastablePreparationInput": { + "additionalProperties": false, + "properties": { + "configuration_freeze_stage": { + "const": "after_stationary_preparation_before_measurement", + "title": "Configuration Freeze Stage", + "type": "string" + }, + "freeze_configuration_during_measurement": { + "const": true, + "title": "Freeze Configuration During Measurement", + "type": "boolean" + }, + "illumination_continuation_steps": { + "minimum": 0, + "title": "Illumination Continuation Steps", + "type": "integer" + }, + "measurement_protocol_sha256": { + "pattern": "^[0-9a-f]{64}$", + "title": "Measurement Protocol Sha256", + "type": "string" + }, + "measurement_temperature_K": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Measurement Temperature K", + "unit": "K" + }, + "numerics": { + "$ref": "#/$defs/MetastableNumericsInput" + }, + "preparation_illumination_suns": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Preparation Illumination Suns", + "unit": "1" + }, + "preparation_limit": { + "const": "stationary_infinite_time", + "title": "Preparation Limit", + "type": "string" + }, + "preparation_temperature_K": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Preparation Temperature K", + "unit": "K" + }, + "preparation_voltage_V": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": false, + "nullable": false, + "positive": false, + "title": "Preparation Voltage V", + "unit": "V" + }, + "schema_version": { + "const": "solarlab-metastable-preparation-v1", + "title": "Schema Version", + "type": "string" + }, + "voltage_continuation_steps": { + "minimum": 0, + "title": "Voltage Continuation Steps", + "type": "integer" + } + }, + "required": [ + "schema_version", + "preparation_limit", + "preparation_temperature_K", + "preparation_voltage_V", + "preparation_illumination_suns", + "voltage_continuation_steps", + "illumination_continuation_steps", + "measurement_temperature_K", + "configuration_freeze_stage", + "freeze_configuration_during_measurement", + "measurement_protocol_sha256", + "numerics" + ], + "title": "MetastablePreparationInput", + "type": "object" + }, + "MultivalentConfigurationInput": { + "additionalProperties": false, + "properties": { + "charge_states_e": { + "items": { + "type": "integer" + }, + "title": "Charge States E", + "type": "array" + }, + "degeneracy_convention": { + "enum": [ + "scaps_binomial", + "unity", + "explicit" + ], + "title": "Degeneracy Convention", + "type": "string" + }, + "energy_levels": { + "$ref": "#/$defs/MultivalentEnergyInput" + }, + "family": { + "enum": [ + "single_donor", + "single_acceptor", + "double_donor", + "double_acceptor", + "amphoteric", + "custom_multilevel" + ], + "title": "Family", + "type": "string" + }, + "state_degeneracies": { + "item_positive": true, + "item_unit": "1", + "items": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ] + }, + "title": "State Degeneracies", + "type": "array" + }, + "transition_kinetics": { + "items": { + "$ref": "#/$defs/KineticsInput" + }, + "title": "Transition Kinetics", + "type": "array" + } + }, + "required": [ + "family", + "charge_states_e", + "degeneracy_convention", + "state_degeneracies", + "energy_levels", + "transition_kinetics" + ], + "title": "MultivalentConfigurationInput", + "type": "object" + }, + "MultivalentDefectInput": { + "additionalProperties": false, + "properties": { + "configuration": { + "$ref": "#/$defs/MultivalentConfigurationInput" + }, + "id": { + "pattern": "^[A-Za-z_][A-Za-z0-9_.:-]*$", + "title": "Id", + "type": "string" + }, + "name": { + "minLength": 1, + "title": "Name", + "type": "string" + }, + "total_density_m3": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Total Density M3", + "unit": "m^-3" + } + }, + "required": [ + "id", + "name", + "total_density_m3", + "configuration" + ], + "title": "MultivalentDefectInput", + "type": "object" + }, + "MultivalentEnergyInput": { + "additionalProperties": false, + "properties": { + "correlation_energies_eV": { + "item_unit": "eV", + "items": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ] + }, + "title": "Correlation Energies Ev", + "type": "array" + }, + "energy_reference": { + "const": "above_valence_band", + "title": "Energy Reference", + "type": "string" + }, + "first_transition_eV_above_vb": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "First Transition Ev Above Vb", + "unit": "eV" + } + }, + "required": [ + "first_transition_eV_above_vb", + "correlation_energies_eV", + "energy_reference" + ], + "title": "MultivalentEnergyInput", + "type": "object" + }, + "NamedMaterialInput": { + "additionalProperties": false, + "properties": { + "cigs_graded_optics": { + "anyOf": [ + { + "$ref": "#/$defs/CigsOpticsInput" + }, + { + "type": "null" + } + ] + }, + "id": { + "pattern": "^[A-Za-z_][A-Za-z0-9_.:-]*$", + "title": "Id", + "type": "string" + }, + "name": { + "minLength": 1, + "title": "Name", + "type": "string" + }, + "parameters": { + "$ref": "#/$defs/FullParameterInput" + } + }, + "required": [ + "id", + "name", + "parameters" + ], + "title": "NamedMaterialInput", + "type": "object" + }, + "OpticalLayerInput": { + "additionalProperties": false, + "properties": { + "id": { + "pattern": "^[A-Za-z_][A-Za-z0-9_.:-]*$", + "title": "Id", + "type": "string" + }, + "incoherent": { + "title": "Incoherent", + "type": "boolean" + }, + "name": { + "minLength": 1, + "title": "Name", + "type": "string" + }, + "optical_material": { + "minLength": 1, + "title": "Optical Material", + "type": "string" + }, + "thickness": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Thickness", + "unit": "m" + } + }, + "required": [ + "id", + "name", + "thickness", + "optical_material", + "incoherent" + ], + "title": "OpticalLayerInput", + "type": "object" + }, + "ScapsDefectMetadataInput": { + "additionalProperties": false, + "description": "Preserved partner metadata; a Gaussian note is not a qualified closure.", + "properties": { + "E_char_eV": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": true, + "title": "E Char Ev", + "unit": "eV" + }, + "N_peak_m3": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": false, + "title": "N Peak M3", + "unit": "m^-3" + }, + "defect_id": { + "pattern": "^[A-Za-z_][A-Za-z0-9_.:-]*$", + "title": "Defect Id", + "type": "string" + }, + "distribution": { + "enum": [ + "single", + "gaussian" + ], + "title": "Distribution", + "type": "string" + }, + "energy_reference": { + "enum": [ + "below_conduction_band", + "above_valence_band" + ], + "title": "Energy Reference", + "type": "string" + }, + "trap_depth_eV": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Trap Depth Ev", + "unit": "eV" + } + }, + "required": [ + "distribution", + "energy_reference", + "trap_depth_eV", + "defect_id" + ], + "title": "ScapsDefectMetadataInput", + "type": "object" + }, + "SimulationHintsInput": { + "additionalProperties": false, + "properties": { + "jv_sweep": { + "anyOf": [ + { + "$ref": "#/$defs/JVSweepHintsInput" + }, + { + "type": "null" + } + ] + }, + "min_N_grid": { + "anyOf": [ + { + "exclusiveMinimum": 0, + "type": "integer" + }, + { + "type": "null" + } + ], + "title": "Min N Grid" + }, + "notes": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Notes" + } + }, + "title": "SimulationHintsInput", + "type": "object" + }, + "SpatialKnotInput": { + "additionalProperties": false, + "properties": { + "density_multiplier": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Density Multiplier", + "unit": "1" + }, + "position_fraction": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Position Fraction", + "unit": "1" + } + }, + "required": [ + "position_fraction", + "density_multiplier" + ], + "title": "SpatialKnotInput", + "type": "object" + }, + "SpatialProfileInput": { + "additionalProperties": false, + "properties": { + "coordinate": { + "const": "normalized_layer_coordinate", + "title": "Coordinate", + "type": "string" + }, + "density_normalization": { + "const": "layer_average_unity", + "title": "Density Normalization", + "type": "string" + }, + "interpolation": { + "const": "piecewise_linear", + "title": "Interpolation", + "type": "string" + }, + "knots": { + "items": { + "$ref": "#/$defs/SpatialKnotInput" + }, + "title": "Knots", + "type": "array" + } + }, + "required": [ + "coordinate", + "interpolation", + "density_normalization", + "knots" + ], + "title": "SpatialProfileInput", + "type": "object" + }, + "TunnellingInput": { + "additionalProperties": false, + "properties": { + "band_to_band": { + "anyOf": [ + { + "$ref": "#/$defs/BandToBandInput" + }, + { + "type": "null" + } + ] + }, + "contact": { + "anyOf": [ + { + "$ref": "#/$defs/ContactTunnellingInput" + }, + { + "type": "null" + } + ] + }, + "interface_defect_assisted": { + "anyOf": [ + { + "$ref": "#/$defs/DefectAssistedInput" + }, + { + "type": "null" + } + ] + }, + "intraband": { + "anyOf": [ + { + "$ref": "#/$defs/IntrabandInput" + }, + { + "type": "null" + } + ] + }, + "schema_version": { + "const": "solarlab-wkb-tunnelling-channels-v1", + "default": "solarlab-wkb-tunnelling-channels-v1", + "title": "Schema Version", + "type": "string" + } + }, + "title": "TunnellingInput", + "type": "object" + } + }, + "additionalProperties": false, + "properties": { + "back_reflector": { + "anyOf": [ + { + "$ref": "#/$defs/OpticalLayerInput" + }, + { + "type": "null" + } + ] + }, + "benchmark": { + "anyOf": [ + { + "$ref": "#/$defs/BenchmarkInput" + }, + { + "type": "null" + } + ] + }, + "bottom_cell": { + "$ref": "#/$defs/DeviceInput" + }, + "bottom_cell_reference": { + "minLength": 1, + "title": "Bottom Cell Reference", + "type": "string" + }, + "device_type": { + "const": "tandem_2T_monolithic", + "title": "Device Type", + "type": "string" + }, + "id": { + "pattern": "^[A-Za-z_][A-Za-z0-9_.:-]*$", + "title": "Id", + "type": "string" + }, + "junction_model": { + "const": "ideal_ohmic", + "title": "Junction Model", + "type": "string" + }, + "junction_stack": { + "items": { + "$ref": "#/$defs/OpticalLayerInput" + }, + "title": "Junction Stack", + "type": "array" + }, + "light_direction": { + "const": "top_first", + "title": "Light Direction", + "type": "string" + }, + "schema_version": { + "const": "solarlab.tandem-preparation.v1", + "title": "Schema Version", + "type": "string" + }, + "source_schema_version": { + "const": 1, + "title": "Source Schema Version", + "type": "integer" + }, + "top_cell": { + "$ref": "#/$defs/DeviceInput" + }, + "top_cell_reference": { + "minLength": 1, + "title": "Top Cell Reference", + "type": "string" + } + }, + "required": [ + "schema_version", + "id", + "source_schema_version", + "device_type", + "top_cell", + "bottom_cell", + "top_cell_reference", + "bottom_cell_reference", + "junction_model", + "light_direction", + "junction_stack" + ], + "title": "TandemInput", + "type": "object" + } + }, + "TunnellingInput": { + "python_type": "solarlab.device.tunnelling:TunnellingInput", + "representation": "editable_input", + "schema": { + "$defs": { + "BandToBandInput": { + "additionalProperties": false, + "properties": { + "enabled": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Enabled" + }, + "energy_quadrature_order": { + "anyOf": [ + { + "minimum": 4, + "type": "integer" + } + ], + "title": "Energy Quadrature Order" + }, + "minimum_field_V_m": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Minimum Field V M", + "unit": "V/m" + }, + "reduced_effective_mass_rel": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Reduced Effective Mass Rel", + "unit": "1" + } + }, + "title": "BandToBandInput", + "type": "object" + }, + "ContactTunnellingInput": { + "additionalProperties": false, + "properties": { + "barrier_height_eV": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Barrier Height Ev", + "unit": "eV" + }, + "electron_effective_mass_rel": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Electron Effective Mass Rel", + "unit": "1" + }, + "enabled": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Enabled" + }, + "energy_quadrature_order": { + "anyOf": [ + { + "minimum": 4, + "type": "integer" + } + ], + "title": "Energy Quadrature Order" + }, + "hole_effective_mass_rel": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Hole Effective Mass Rel", + "unit": "1" + }, + "side": { + "anyOf": [ + { + "enum": [ + "both", + "left", + "right" + ], + "type": "string" + } + ], + "title": "Side" + } + }, + "title": "ContactTunnellingInput", + "type": "object" + }, + "DefectAssistedInput": { + "additionalProperties": false, + "properties": { + "electron_effective_mass_rel": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Electron Effective Mass Rel", + "unit": "1" + }, + "enabled": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Enabled" + }, + "hole_effective_mass_rel": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Hole Effective Mass Rel", + "unit": "1" + }, + "requires_explicit_occupancy": { + "anyOf": [ + { + "const": true, + "type": "boolean" + } + ], + "title": "Requires Explicit Occupancy" + } + }, + "title": "DefectAssistedInput", + "type": "object" + }, + "IntrabandInput": { + "additionalProperties": false, + "properties": { + "carrier": { + "anyOf": [ + { + "enum": [ + "electron", + "hole", + "both" + ], + "type": "string" + } + ], + "title": "Carrier" + }, + "electron_effective_mass_rel": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Electron Effective Mass Rel", + "unit": "1" + }, + "enabled": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Enabled" + }, + "energy_quadrature_order": { + "anyOf": [ + { + "minimum": 4, + "type": "integer" + } + ], + "title": "Energy Quadrature Order" + }, + "hole_effective_mass_rel": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Hole Effective Mass Rel", + "unit": "1" + } + }, + "title": "IntrabandInput", + "type": "object" + } + }, + "additionalProperties": false, + "properties": { + "band_to_band": { + "anyOf": [ + { + "$ref": "#/$defs/BandToBandInput" + }, + { + "type": "null" + } + ] + }, + "contact": { + "anyOf": [ + { + "$ref": "#/$defs/ContactTunnellingInput" + }, + { + "type": "null" + } + ] + }, + "interface_defect_assisted": { + "anyOf": [ + { + "$ref": "#/$defs/DefectAssistedInput" + }, + { + "type": "null" + } + ] + }, + "intraband": { + "anyOf": [ + { + "$ref": "#/$defs/IntrabandInput" + }, + { + "type": "null" + } + ] + }, + "schema_version": { + "const": "solarlab-wkb-tunnelling-channels-v1", + "default": "solarlab-wkb-tunnelling-channels-v1", + "title": "Schema Version", + "type": "string" + } + }, + "title": "TunnellingInput", + "type": "object" + } + } + }, + "parameter_schemas": { + "full_layer": { + "additionalProperties": false, + "properties": { + "A_star_n": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "A Star N", + "unit": "A/(m^2 K^2)" + }, + "A_star_p": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "A Star P", + "unit": "A/(m^2 K^2)" + }, + "B_rad": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "B Rad", + "unit": "m^3/s" + }, + "B_rad_T_gamma": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": false, + "nullable": false, + "positive": false, + "title": "B Rad T Gamma", + "unit": "1" + }, + "C_n": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "C N", + "unit": "m^6/s" + }, + "C_p": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "C P", + "unit": "m^6/s" + }, + "D_ion": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "D Ion", + "unit": "m^2/s" + }, + "D_ion_neg": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "D Ion Neg", + "unit": "m^2/s" + }, + "E_a_ion": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "E A Ion", + "unit": "eV" + }, + "Eg": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "Eg", + "unit": "eV" + }, + "Eg_back": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": false, + "title": "Eg Back", + "unit": "eV" + }, + "N_A": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "N A", + "unit": "m^-3" + }, + "N_A_bulk": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": false, + "title": "N A Bulk", + "unit": "m^-3" + }, + "N_D": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "N D", + "unit": "m^-3" + }, + "N_D_bulk": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": false, + "title": "N D Bulk", + "unit": "m^-3" + }, + "Nc300": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": true, + "title": "Nc300", + "unit": "m^-3" + }, + "Nv300": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": true, + "title": "Nv300", + "unit": "m^-3" + }, + "P0": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "P0", + "unit": "m^-3" + }, + "P0_neg": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "P0 Neg", + "unit": "m^-3" + }, + "P_lim": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "P Lim", + "unit": "m^-3" + }, + "P_lim_neg": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "P Lim Neg", + "unit": "m^-3" + }, + "acceptor_binding_energy_eV": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": false, + "title": "Acceptor Binding Energy Ev", + "unit": "eV" + }, + "acceptor_degeneracy": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Acceptor Degeneracy", + "unit": "1" + }, + "alpha": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "Alpha", + "unit": "m^-1" + }, + "band_gap_narrowing_model": { + "anyOf": [ + { + "enum": [ + "off", + "slotboom" + ], + "type": "string" + } + ], + "title": "Band Gap Narrowing Model" + }, + "bgn_conduction_band_fraction": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Bgn Conduction Band Fraction", + "unit": "1" + }, + "bgn_log_shape": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Bgn Log Shape", + "unit": "1" + }, + "bgn_reference_density_m3": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Bgn Reference Density M3", + "unit": "m^-3" + }, + "bgn_reference_energy_eV": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Bgn Reference Energy Ev", + "unit": "eV" + }, + "carrier_statistics": { + "anyOf": [ + { + "enum": [ + "maxwell_boltzmann", + "fermi_dirac" + ], + "type": "string" + } + ], + "title": "Carrier Statistics" + }, + "chi": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": false, + "positive": false, + "title": "Chi", + "unit": "eV" + }, + "chi_back": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": false, + "nullable": true, + "positive": false, + "title": "Chi Back", + "unit": "eV" + }, + "ct_beta_n": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Ct Beta N", + "unit": "1" + }, + "ct_beta_p": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Ct Beta P", + "unit": "1" + }, + "donor_binding_energy_eV": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": false, + "title": "Donor Binding Energy Ev", + "unit": "eV" + }, + "donor_degeneracy": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "Donor Degeneracy", + "unit": "1" + }, + "dopant_ionization_model": { + "anyOf": [ + { + "enum": [ + "fully_ionized", + "discrete_level" + ], + "type": "string" + } + ], + "title": "Dopant Ionization Model" + }, + "doping_decay_length": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": true, + "title": "Doping Decay Length", + "unit": "m" + }, + "doping_edge": { + "anyOf": [ + { + "enum": [ + "front", + "back" + ], + "type": "string" + } + ], + "title": "Doping Edge" + }, + "doping_profile_shape": { + "anyOf": [ + { + "const": "gaussian", + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Doping Profile Shape" + }, + "eps_r": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": true, + "title": "Eps R", + "unit": "1" + }, + "grading_N_mult": { + "anyOf": [ + { + "exclusiveMinimum": 0, + "type": "integer" + } + ], + "title": "Grading N Mult" + }, + "grading_bowing": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": false, + "nullable": false, + "positive": false, + "title": "Grading Bowing", + "unit": "eV" + }, + "grading_char_length": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": true, + "title": "Grading Char Length", + "unit": "m" + }, + "grading_direction": { + "anyOf": [ + { + "enum": [ + "front_to_back", + "back_to_front" + ], + "type": "string" + } + ], + "title": "Grading Direction" + }, + "grading_profile": { + "anyOf": [ + { + "enum": [ + "linear", + "parabolic", + "exponential" + ], + "type": "string" + } + ], + "title": "Grading Profile" + }, + "incoherent": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Incoherent" + }, + "mu_T_gamma": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": false, + "nullable": false, + "positive": false, + "title": "Mu T Gamma", + "unit": "1" + }, + "mu_n": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "Mu N", + "unit": "m^2/(V s)" + }, + "mu_p": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "Mu P", + "unit": "m^2/(V s)" + }, + "n1": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "N1", + "unit": "m^-3" + }, + "n_optical": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": true, + "title": "N Optical", + "unit": "1" + }, + "ni": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "Ni", + "unit": "m^-3" + }, + "optical_material": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Optical Material" + }, + "p1": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "P1", + "unit": "m^-3" + }, + "pf_gamma_n": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Pf Gamma N", + "unit": "(m/V)^0.5" + }, + "pf_gamma_p": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Pf Gamma P", + "unit": "(m/V)^0.5" + }, + "tau_n": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": true, + "title": "Tau N", + "unit": "s" + }, + "tau_p": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": true, + "title": "Tau P", + "unit": "s" + }, + "trap_N_t_bulk": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": false, + "title": "Trap N T Bulk", + "unit": "m^-3" + }, + "trap_N_t_interface": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": false, + "title": "Trap N T Interface", + "unit": "m^-3" + }, + "trap_decay_length": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + }, + { + "type": "null" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": true, + "positive": false, + "title": "Trap Decay Length", + "unit": "m" + }, + "trap_edge": { + "anyOf": [ + { + "enum": [ + "both", + "left", + "right" + ], + "type": "string" + } + ], + "title": "Trap Edge" + }, + "trap_profile_shape": { + "anyOf": [ + { + "enum": [ + "exponential", + "gaussian" + ], + "type": "string" + } + ], + "title": "Trap Profile Shape" + }, + "v_sat_n": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "V Sat N", + "unit": "m/s" + }, + "v_sat_p": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "V Sat P", + "unit": "m/s" + }, + "v_th": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": true, + "title": "V Th", + "unit": "m/s" + }, + "varshni_alpha": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": false, + "nullable": false, + "positive": false, + "title": "Varshni Alpha", + "unit": "eV/K" + }, + "varshni_beta": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "input_unit": null, + "nonnegative": true, + "nullable": false, + "positive": false, + "title": "Varshni Beta", + "unit": "K" + } + }, + "title": "FullParameterInput", + "type": "object" + }, + "scalar_layer": { + "additionalProperties": false, + "description": "Explicit scalar overrides; absence inherits, only optical null clears.", + "properties": { + "B_rad": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "B Rad", + "unit": "m^3/s" + }, + "C_n": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "C N", + "unit": "m^6/s" + }, + "C_p": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "C P", + "unit": "m^6/s" + }, + "D_ion": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "D Ion", + "unit": "m^2/s" + }, + "Eg": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "Eg", + "unit": "eV" + }, + "N_A": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "N A", + "unit": "m^-3" + }, + "N_D": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "N D", + "unit": "m^-3" + }, + "P0": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "P0", + "unit": "m^-3" + }, + "P_lim": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "P Lim", + "unit": "m^-3" + }, + "alpha": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "Alpha", + "unit": "m^-1" + }, + "chi": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": false, + "positive": false, + "title": "Chi", + "unit": "eV" + }, + "eps_r": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": true, + "title": "Eps R", + "unit": "1" + }, + "incoherent": { + "anyOf": [ + { + "type": "boolean" + } + ], + "title": "Incoherent" + }, + "mu_n": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "Mu N", + "unit": "m^2/(V s)" + }, + "mu_p": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "Mu P", + "unit": "m^2/(V s)" + }, + "n1": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "N1", + "unit": "m^-3" + }, + "ni": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "Ni", + "unit": "m^-3" + }, + "optical_material": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Optical Material" + }, + "p1": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": false, + "title": "P1", + "unit": "m^-3" + }, + "tau_n": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": true, + "title": "Tau N", + "unit": "s" + }, + "tau_p": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": true, + "title": "Tau P", + "unit": "s" + }, + "thickness": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "number" + }, + { + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$", + "type": "string" + }, + { + "type": "string" + } + ], + "nonnegative": true, + "positive": true, + "title": "Thickness", + "unit": "m" + } + }, + "title": "LayerValuesInput", + "type": "object" + } + }, + "pending": [ + "input_resolved_result_wire_types", + "resolved_physical_and_numerical_configuration_schema", + "production_model_catalogue_and_executors", + "complex_editors_and_frontend_model_service_integration", + "service_browser_identity_handshake", + "P03-07_and_P06-08_integration_and_G3_G6_qualification" + ], + "schema_reference_scope": "each complete schema document", + "schema_version": "solarlab.configuration-schema-export.v1", + "scope": "prepared_configuration_metadata_only", + "status": "prepared_pending_dependencies", + "structured_parameter_schemas": {}, + "unit_schema_version": "si-ev-1", + "unit_spellings": { + "(m/V)^0.5": [ + "(V/m)^-0.5", + "(m/V)^0.5" + ], + "1": [ + "%", + "1" + ], + "A/(m^2 K^2)": [ + "A/(cm^2 K^2)", + "A/(m^2 K^2)" + ], + "A/m^2": [ + "A/m^2", + "mA/cm^2" + ], + "Hz": [ + "Hz", + "kHz" + ], + "K": [ + "K" + ], + "V": [ + "V", + "mV" + ], + "V/m": [ + "V/cm", + "V/m" + ], + "V/s": [ + "V/s", + "mV/s" + ], + "eV": [ + "J", + "eV", + "meV" + ], + "eV/K": [ + "eV/K" + ], + "m": [ + "cm", + "m", + "mm", + "nm", + "um", + "\u00b5m" + ], + "m/s": [ + "cm/s", + "m/s" + ], + "m^-1": [ + "cm^-1", + "m^-1" + ], + "m^-2": [ + "cm^-2", + "m^-2" + ], + "m^-2/s": [ + "cm^-2/s", + "m^-2/s" + ], + "m^-3": [ + "cm^-3", + "m^-3" + ], + "m^-3/s": [ + "cm^-3/s", + "m^-3/s" + ], + "m^2": [ + "cm^2", + "m^2" + ], + "m^2/(V s)": [ + "cm^2/(V s)", + "cm^2/Vs", + "m^2/(V s)", + "m^2/Vs" + ], + "m^2/s": [ + "cm^2/s", + "m^2/s" + ], + "m^3/s": [ + "cm^3/s", + "m^3/s" + ], + "m^6/s": [ + "cm^6/s", + "m^6/s" + ], + "s": [ + "ms", + "ns", + "ps", + "s", + "us", + "\u00b5s" + ] + } +} as const; + +export const configurationSchemaSha256 = "a0b73b195ca16396bc1492c6eb178506770421e6e4892731f9f2053ec974b6c4"; + +export type ConfigurationSchemaMetadata = typeof configurationSchema; diff --git a/perovskite-sim/frontend/src/impedance-evidence.ts b/web/src/impedance-evidence.ts similarity index 100% rename from perovskite-sim/frontend/src/impedance-evidence.ts rename to web/src/impedance-evidence.ts diff --git a/perovskite-sim/frontend/src/impedance-panels.test.ts b/web/src/impedance-panels.test.ts similarity index 100% rename from perovskite-sim/frontend/src/impedance-panels.test.ts rename to web/src/impedance-panels.test.ts diff --git a/perovskite-sim/frontend/src/interface-charge-jv-evidence.ts b/web/src/interface-charge-jv-evidence.ts similarity index 100% rename from perovskite-sim/frontend/src/interface-charge-jv-evidence.ts rename to web/src/interface-charge-jv-evidence.ts diff --git a/web/src/ionic-jv-client.test.ts b/web/src/ionic-jv-client.test.ts new file mode 100644 index 00000000..c053fadf --- /dev/null +++ b/web/src/ionic-jv-client.test.ts @@ -0,0 +1,98 @@ +// @vitest-environment node +import { afterEach, beforeEach, expect, it, vi } from 'vitest' +import { IonicJVClient } from './ionic-jv-client' +import { fixtureFetch, savedIonicJVFixture } from './test-helpers/ionic-jv-fixture.mjs' +import { webcrypto } from './test-helpers/schema-fixture.mjs' + +const endpoint = 'http://localhost/steady-service/' +let fixture: ReturnType, methods: string[] +beforeEach(() => { vi.stubGlobal('crypto', webcrypto); fixture = savedIonicJVFixture(); methods = []; vi.stubGlobal('fetch', fixtureFetch(fixture, methods)) }) +afterEach(() => { vi.unstubAllGlobals() }) + +it('discovers the real installed fixed shared-site protocol and sends its exact schema/controls once', async () => { + const client = new IonicJVClient(endpoint), catalog = await client.discover(), route = catalog.routes[0] + expect(route.id).toBe('ionic_steady_jv'); expect(route.devices.map(d => d.id)).toEqual(['research_1d_shared']) + expect(route.input.voltage_V).toEqual(Array.from({ length: 51 }, (_, i) => i / 40)) + expect(route.input.initial.policy).toBe('dark_direct_density_seed_v1') + const fetcher = vi.fn().mockResolvedValue(new Response(JSON.stringify({ status: 'accepted', run_id: 'test-request', store_id: 'store', attempt_id: 'attempt', execution_catalog_sha256: catalog.registry, job_schema_sha256: catalog.schema }), { status: 202, headers: { 'Content-Type': 'application/json' } })) + vi.stubGlobal('fetch', fetcher) + const input = structuredClone(route.input), job = await client.submit(catalog, route, route.devices[0].id, input, 'test-request') + input.voltage_V[1] = 99 + const [url, init] = fetcher.mock.calls[0] + expect(String(url)).toBe(endpoint + 'jobs') + expect(init.headers).toMatchObject({ 'X-Solarlab-Registry': catalog.registry, 'X-Solarlab-Job-Schema': catalog.schema }) + expect(init.body).toContain('"ion_logit_step":1,') + expect(init.body).toContain('"ion_balance_tolerance_m2_s":1000000,') + expect(JSON.parse(init.body)).toEqual({ schema_version: 'solarlab.job-submission.v1', run_id: 'test-request', experiment_id: 'ionic_steady_jv', version: 1, engine: 'solarlab', input: { device_id: 'research_1d_shared', ...route.input }, limits: { ...catalog.ceiling, calls: null, accepted_steps: null } }) + const env = (globalThis as unknown as { process: { env: Record } }).process.env + if (env.SOLARLAB_IONIC_JV_WIRE_EVIDENCE) { + const module: string = 'node:fs/promises' + const fs = await import(/* @vite-ignore */ module) as { writeFile(path: string, data: string): Promise } + await fs.writeFile(env.SOLARLAB_IONIC_JV_WIRE_EVIDENCE, init.body) + } + expect(job.submitted?.input).toEqual(route.input); expect(fetcher).toHaveBeenCalledTimes(1) + await expect(client.submit(catalog, route, 'arbitrary-path', route.input)).rejects.toThrow('installed device') + await expect(client.submit(catalog, route, route.devices[0].id, input)).rejects.toThrow('exact installed') + expect(fetcher).toHaveBeenCalledTimes(1) +}) + +it('reads actual completed and failed-prefix artifacts into 23 exact logical arrays with no POST', async () => { + const client = new IonicJVClient(endpoint) + for (const [i, target] of fixture.targets.slice(0, 2).entries()) { + const job = client.open(target.storeId, target.runId, target.attemptId), result = (await client.readResult(job))! + expect(result.state).toBe(target.state); expect(result.registered).toBe(i === 0) + expect(Object.keys(result.storedArrays)).toHaveLength(12); expect(Object.keys(result.arrays)).toHaveLength(23) + expect(result.arrays.potential_V.shape).toEqual([target.accepted, 37]) + expect(result.arrays.positive_ion_density_m3.shape).toEqual([target.accepted, 13]) + expect(result.arrays.total_current_density_A_m2.shape).toEqual([target.accepted, 38]) + expect(result.arrays.output_current_A_m2.values).toHaveLength(target.accepted) + expect(result.summary.physical_certificate_status).toBe('not_evaluated') + expect((result.summary.metrics as Record).efficiency).toBeNull() + if (i === 1) { + expect(result.summary.first_failure).toMatchObject({ index: 9, voltage_V: .225, termination: 'wall_budget_exhausted' }) + expect(result.attempts.map(a => a.accepted)).toEqual([...Array(9).fill(true), false]) + expect((result.summary.metrics as Record).open_circuit_voltage_V).toBeNull() + } + } + expect(methods.every(m => m === 'GET')).toBe(true) +}, 60000) + +it('preserves a genuine publication failure as unavailable rather than a successful curve', async () => { + const target = fixture.targets[2], client = new IonicJVClient(endpoint), job = client.open(target.storeId, target.runId, target.attemptId) + expect((await job.reader.getAttempt(job.target)).value.state).toBe('failed') + expect(await client.readResult(job)).toBeUndefined(); expect(methods.every(m => m === 'GET')).toBe(true) +}) + +it('rejects wrong stored request bytes and altered artifact content', async () => { + const target = fixture.targets[0], client = new IonicJVClient(endpoint), job = client.open(target.storeId, target.runId, target.attemptId) + const path = '/runs/' + target.runId, original = fixture.responses[path].base64 + const record = JSON.parse(atob(original)); record.request.input_metadata.transport.documents.request.base64 = btoa('{}') + fixture.responses[path].base64 = btoa(JSON.stringify(record)) + await expect(client.readResult(job)).rejects.toThrow('bytes changed') + fixture.responses[path].base64 = original + const artifact = Object.keys(fixture.responses).find(k => k.startsWith('/artifacts/') && k.endsWith('/content'))! + fixture.responses[artifact].base64 = btoa('changed content') + await expect(client.readResult(job)).rejects.toThrow('integrity') +}) + +it('excludes legacy, ion-free and ionic-transient routes and rejects ambiguous devices', async () => { + const client = new IonicJVClient(endpoint), response = fixture.responses['/experiments'], data = JSON.parse(atob(response.base64)) + data.bindings[0].driver = 'ionic_transient_1d'; response.base64 = btoa(JSON.stringify(data)) + expect((await client.discover()).routes).toEqual([]) + data.bindings[0].driver = 'ionic_steady_jv'; data.bindings[0].preparation_context.devices.push(data.bindings[0].preparation_context.devices[0]); response.base64 = btoa(JSON.stringify(data)) + await expect(client.discover()).rejects.toThrow('Ambiguous') +}) + +it('fences cancellation to the exact active attempt and never retries a rejected target', async () => { + const client = new IonicJVClient(endpoint), job = client.open('store', 'run', 'attempt') + const getRun = vi.spyOn(job.reader, 'getRun').mockResolvedValue({ value: { state: 'queued', current_attempt_id: 'attempt', generation: 7 } } as never) + const fetcher = vi.fn().mockResolvedValue(new Response(JSON.stringify({ run_id: 'run', attempt_id: 'attempt' }), { headers: { 'Content-Type': 'application/json' } })) + vi.stubGlobal('fetch', fetcher); await client.cancel(job) + expect(JSON.parse(fetcher.mock.calls[0][1].body).expected_generation).toBe(7) + expect(String(fetcher.mock.calls[0][0])).toBe(endpoint + 'jobs/run/attempts/attempt/cancel') + getRun.mockResolvedValue({ value: { state: 'running', current_attempt_id: 'new-attempt', generation: 8 } } as never) + await expect(client.cancel(job)).rejects.toThrow('stale') + getRun.mockResolvedValue({ value: { state: 'failed', current_attempt_id: 'attempt', generation: 7 } } as never) + await expect(client.cancel(job)).rejects.toThrow('terminal') + expect(fetcher).toHaveBeenCalledTimes(1) +}) diff --git a/web/src/ionic-jv-client.ts b/web/src/ionic-jv-client.ts new file mode 100644 index 00000000..8f499ba0 --- /dev/null +++ b/web/src/ionic-jv-client.ts @@ -0,0 +1,332 @@ +/** Installed illuminated ionic steady J-V; reopening is strictly a stored read. */ +import { RunClientError, StoredRunClient } from './run-client' +import type { AttemptIdentity, StoredObject } from './run-client' +import { requestJobService } from './steady-jv-client' +import type { FloatArray } from './steady-jv-client' +import { readIonicArray } from './ionic-transient-client' + +export const IONIC_JV_EXPERIMENT = 'ionic_steady_jv' +export const IONIC_JV_SCOPE = 'illuminated_shared_site_positive_D_single_blocking_domain_ionic_steady_jv' +export const IONIC_JV_UNITS: Record = { + requested_voltage_V: 'V', voltage_V: 'V', nodes_m: 'm', ion_node_indices: '1', ion_cell_measures_m: 'm', + state_coordinates: 'mixed: first N in V; remaining coordinates dimensionless', potential_V: 'V', + carrier_density_m3: 'm^-3', ion_density_m3: 'm^-3', ion_inventory_m2: 'm^-2', + current_density_A_m2: 'A/m^2', output_current_A_m2: 'A/m^2', +} +const currentNames = ['electronic_current_density_A_m2', 'ionic_current_density_A_m2', 'total_current_density_A_m2'] +export interface IonicJVInput { + voltage_V: number[]; generation_scale: number; incident_power_W_m2: null; intervals_per_layer: number[] + controls: StoredObject; initial: { policy: string; voltage_V: number; wall_s: number } +} +export interface IonicJVRoute { + id: string; version: number; domain: string; input: IonicJVInput + devices: readonly { id: string; preparedSha256: string }[] +} +export interface IonicJVCatalog { + registry: string; schema: string; routes: readonly IonicJVRoute[] + ceiling: { wall_seconds: number; rss_bytes: number; output_bytes: number } +} +export interface IonicJVJob { + reader: StoredRunClient; target: Readonly + submitted?: { catalog: IonicJVCatalog; device: IonicJVRoute['devices'][number]; input: IonicJVInput } +} +export interface IonicJVResult { + state: 'succeeded' | 'failed'; registered: boolean; arrays: Record; units: Record + storedArrays: Record; species: string[]; attempts: StoredObject[]; summary: StoredObject; worker: StoredObject + originalJson: string; diagnosticsJson: string; initialJson: string; manifestJson: string +} + +function check(value: unknown, message: string): asserts value { if (!value) throw new RunClientError('protocol', message) } +function object(value: unknown): StoredObject { + check(value !== null && typeof value === 'object' && !Array.isArray(value), 'Expected an ionic J-V record'); return value as StoredObject +} +function id(value: unknown): string { + check(typeof value === 'string' && /^[A-Za-z0-9_][A-Za-z0-9_.:-]{0,127}$/.test(value), 'Invalid installed/stored identifier'); return value +} +function sha(value: unknown): string { check(typeof value === 'string' && /^[a-f0-9]{64}$/.test(value), 'Missing identity digest'); return value } +function number(value: unknown): number { check(typeof value === 'number' && Number.isFinite(value), 'Expected a finite number'); return value } +function same(a: unknown, b: unknown): boolean { + if (Object.is(a, b)) return true + if (!a || !b || typeof a !== 'object' || typeof b !== 'object' || Array.isArray(a) !== Array.isArray(b)) return false + const x = a as StoredObject, y = b as StoredObject, keys = Object.keys(x) + return keys.length === Object.keys(y).length && keys.every(k => Object.hasOwn(y, k) && same(x[k], y[k])) +} +const text = (bytes: Uint8Array) => new TextDecoder('utf-8', { fatal: true }).decode(bytes) +async function digest(bytes: Uint8Array): Promise { + return Array.from(new Uint8Array(await crypto.subtle.digest('SHA-256', Uint8Array.from(bytes))), b => b.toString(16).padStart(2, '0')).join('') +} +async function document(value: unknown): Promise<{ data: StoredObject; sha256: string }> { + const doc = object(value); check(typeof doc.base64 === 'string', 'Missing original request document') + const bytes = Uint8Array.from(atob(doc.base64), c => c.charCodeAt(0)), hash = sha(doc.sha256) + check(await digest(bytes) === hash, 'Stored request/catalog/schema bytes changed') + return { data: object(JSON.parse(text(bytes))), sha256: hash } +} +function tuple(value: unknown): unknown[] { + const values = Array.isArray(value) ? value : object(value).$tuple + check(Array.isArray(values), 'Missing retained sequence'); return values +} +function rawArray(value: unknown, dtype = ' v === false) + && Array.isArray(real.nonfinite_words) && real.nonfinite_words.length === real.values.length && real.nonfinite_words.every(v => v === null), + 'Accepted raw array is nonfinite or unsupported') + const shape = data.shape.map(number), values = real.values.map(number) + check(shape.every(n => Number.isSafeInteger(n) && n >= 0) && shape.reduce((a, b) => a * b, 1) === values.length, 'Invalid raw array shape') + return { shape, values } +} +/** Preserve Python's original number spellings (including 1.0) for the result digest. + * The shared reader already requires source-aware JSON parsing for stored integers. */ +function canonicalRecorded(value: unknown): string { + if (typeof value === 'number') throw new RunClientError('verification_unavailable', 'Original numeric spelling is unavailable') + if (Array.isArray(value)) return '[' + value.map(canonicalRecorded).join(',') + ']' + if (value && typeof value === 'object') { + if (value instanceof Number) return String((value as Number & { source: string }).source) + return '{' + Object.keys(value).sort().map(k => canonicalRecorded(k) + ':' + canonicalRecorded(object(value)[k])).join(',') + '}' + } + return JSON.stringify(value).replace(/[\u007f-\uffff]/g, c => '\\u' + c.charCodeAt(0).toString(16).padStart(4, '0')) +} +function recordedJson(json: string): StoredObject { + return object(JSON.parse(json, (_k: string, value: unknown, context?: { source?: string }) => + typeof value === 'number' && context?.source ? Object.assign(new Number(value), { source: context.source }) : value)) +} + +export class IonicJVClient { + readonly endpoint: string + constructor(endpoint: string | URL) { + const url = new URL(endpoint) + check(['http:', 'https:'].includes(url.protocol) && !url.username && !url.password && !url.search && !url.hash, 'Use an explicit HTTP endpoint') + this.endpoint = url.href.replace(/\/$/, '') + '/' + } + async discover(signal?: AbortSignal): Promise { + const { value, response } = await requestJobService(this.endpoint, 'experiments', { signal }) + const registry = sha(response.headers.get('X-Solarlab-Registry')), schema = sha(response.headers.get('X-Solarlab-Job-Schema')) + check(value.schema === 'solarlab.execution-catalog.v1' && value.job_schema_sha256 === schema + && response.headers.get('etag') === `"${registry}"` && Array.isArray(value.bindings), 'Inconsistent installed catalog') + const cap = object(value.resource_ceiling) + check(cap.calls === null && cap.accepted_steps === null, 'Unsupported counter caps') + const ceiling = { wall_seconds: number(cap.wall_seconds), rss_bytes: number(cap.rss_bytes), output_bytes: number(cap.output_bytes) } + check(Object.values(ceiling).every(v => v > 0) && ceiling.wall_seconds <= 30, 'Invalid resource ceiling') + const routes: IonicJVRoute[] = [] + for (const raw of value.bindings) { + const entry = object(raw) + if (entry.engine !== 'solarlab' || entry.driver !== IONIC_JV_EXPERIMENT || entry.experiment_id !== IONIC_JV_EXPERIMENT + || entry.version !== 1 || entry.scope !== IONIC_JV_SCOPE) continue + const schema = object(entry.input_schema), properties = object(schema.properties), installed = object(entry.preparation_context) + const keys = ['device_id', 'voltage_V', 'generation_scale', 'incident_power_W_m2', 'intervals_per_layer', 'controls', 'initial'].sort() + check(schema.additionalProperties === false && same(Object.keys(properties).sort(), keys) + && Array.isArray(schema.required) && same([...schema.required].sort(), keys), 'Unsupported ionic J-V input schema') + const policy = object(installed.fixed_numerical_policy), protocol = object(policy.protocol), initial = object(policy.initial) + check(same(protocol.voltage_V, Array.from({ length: 51 }, (_, i) => i / 40)) && protocol.generation_scale === 1 + && protocol.incident_power_W_m2 === null && same(policy.intervals_per_layer, [12, 12, 12]) + && same(initial, { policy: 'dark_direct_density_seed_v1', voltage_V: .002, wall_s: 25 }) + && same(object(properties.voltage_V).const, protocol.voltage_V) && same(object(properties.controls).const, policy.controls) + && same(installed.ion_domain_endpoints, ['blocking', 'blocking']) && Array.isArray(installed.devices), 'Unsupported fixed illuminated protocol') + const devices = installed.devices.map(raw => { const d = object(raw); return { id: id(d.device_id), preparedSha256: sha(d.prepared_sha256) } }) + check(new Set(devices.map(d => d.id)).size === devices.length && new Set(devices.map(d => d.preparedSha256)).size === devices.length, 'Ambiguous installed devices') + routes.push({ id: IONIC_JV_EXPERIMENT, version: 1, domain: id(installed.ion_domain_layer), devices, + input: { ...protocol, intervals_per_layer: policy.intervals_per_layer, controls: policy.controls, initial } as unknown as IonicJVInput }) + } + check(routes.length <= 1, 'Ambiguous ionic J-V registrations') + return { registry, schema, routes, ceiling } + } + async submit(catalog: IonicJVCatalog, route: IonicJVRoute, deviceId: string, input: IonicJVInput, + runId = `ionic-jv-${crypto.randomUUID()}`): Promise { + check(catalog.routes.includes(route), 'Select the installed ionic J-V route') + const device = route.devices.find(d => d.id === deviceId); check(device, 'Select an installed device') + check(same(input, route.input), 'Use the exact installed protocol, initial policy and full controls') + const frozen = JSON.parse(JSON.stringify(input)) as IonicJVInput + const { value, response } = await requestJobService(this.endpoint, 'jobs', { method: 'POST', headers: { + 'Content-Type': 'application/json', 'X-Solarlab-Registry': catalog.registry, 'X-Solarlab-Job-Schema': catalog.schema, + }, body: JSON.stringify({ schema_version: 'solarlab.job-submission.v1', run_id: id(runId), experiment_id: route.id, version: 1, + engine: 'solarlab', input: { device_id: deviceId, ...frozen }, limits: { ...catalog.ceiling, calls: null, accepted_steps: null } }) }) + check(response.status === 202 && value.status === 'accepted' && value.run_id === runId && value.execution_catalog_sha256 === catalog.registry + && value.job_schema_sha256 === catalog.schema, 'Ionic J-V acceptance identity mismatch') + return { ...this.open(id(value.store_id), runId, id(value.attempt_id)), submitted: { catalog, device, input: frozen } } + } + open(storeId: string, runId: string, attemptId: string): IonicJVJob { + return { reader: new StoredRunClient(this.endpoint, id(storeId), 64 * 1024 ** 2), target: Object.freeze({ runId: id(runId), attemptId: id(attemptId) }) } + } + async cancel(job: IonicJVJob): Promise { + const run = (await job.reader.getRun(job.target.runId)).value + check(run.current_attempt_id === job.target.attemptId && ['queued', 'running'].includes(run.state), 'Cancellation target is stale or terminal') + const { value } = await requestJobService(this.endpoint, `jobs/${encodeURIComponent(job.target.runId)}/attempts/${encodeURIComponent(job.target.attemptId)}/cancel`, { + method: 'POST', headers: { 'Content-Type': 'application/json' }, body: `{"expected_generation":${run.generation.toString()},"reason":"User requested ionic J-V cancellation"}`, + }) + check(value.run_id === job.target.runId && value.attempt_id === job.target.attemptId, 'Cancellation identity mismatch') + } + async readResult(job: IonicJVJob, signal?: AbortSignal): Promise { + const [snapshot, run] = await Promise.all([job.reader.getAttempt(job.target, signal), job.reader.getRun(job.target.runId, signal)]) + const attempt = snapshot.value; check(attempt.terminal, 'Attempt is not committed') + if (attempt.state === 'cancelled') { check(!attempt.terminal.artifacts.length, 'Cancelled attempt cannot invent a curve'); return undefined } + check(attempt.state === 'succeeded' || attempt.state === 'failed', 'Unsupported terminal state') + if (!attempt.terminal.artifacts.length && attempt.state === 'failed') return undefined + const worker = object(attempt.result?.worker_result), metadata = object(run.value.request.input_metadata), identity = object(run.value.request.identity) + const documents = object(object(metadata.transport).documents) + const [registry, submitted, schema] = await Promise.all([document(documents.registry), document(documents.request), document(documents.schema)]) + const capture = object(worker.capture), summary = object(worker.ionic_jv_result), execution = object(metadata.execution_manifest) + check(worker.schema === 'solarlab.ionic-jv.worker-result.v1' && worker.engine === 'solarlab' && worker.scientific_qualification === false + && summary.schema === 'solarlab.ionic-jv.result.v1' && summary.physical_certificate_status === 'not_evaluated', 'Not the bound ionic J-V worker') + for (const key of ['H_input', 'H_physics', 'H_execution']) check(sha(worker[key]) === identity[key], 'Ionic J-V execution identity mismatch') + check(worker.manifest_sha256 === execution.manifest_sha256 && worker.H_execution === execution.H_execution + && capture.request_sha256 === submitted.sha256 && summary.prepared_sha256 === worker.prepared_sha256, 'Manifest/request capture mismatch') + const registered = registry.data.schema === 'solarlab.execution-catalog.v1' + const species = tuple(summary.ion_species).map(String) + check(same(species, ['positive', 'negative']) && summary.ion_site_contract === 'shared_finite_sites', 'Unsupported ionic J-V species/site contract') + const components: Record = { carrier_density_m3: ['electron_density_m3', 'hole_density_m3'], + ion_density_m3: species.map(s => s + '_ion_density_m3'), ion_inventory_m2: species.map(s => s + '_ion_inventory_m2'), current_density_A_m2: currentNames } + const expected = object(worker.payloads), keys = [...Object.keys(IONIC_JV_UNITS), 'ionic_jv_initial', 'ionic_jv_diagnostics'] + check(same(Object.keys(expected).sort(), keys.sort()) && attempt.terminal.artifacts.length === 15, 'Incomplete ionic J-V artifact roles') + const storedArrays: Record = {}, names = new Set(), hashes: Record = {} + let manifestJson = '', diagnosticsJson = '', initialJson = '' + for (const reference of attempt.terminal.artifacts) { + const artifact = await job.reader.getArtifact(job.target, reference, signal), record = artifact.record.value, name = String(record.name) + check(!names.has(name) && String(record.generation) === String(attempt.generation), 'Duplicate or foreign-generation artifact'); names.add(name) + if (name === 'execution_manifest') { check(record.sha256 === worker.manifest_sha256, 'Wrong execution manifest'); manifestJson = text(artifact.bytes); continue } + const binding = object(expected[name]); hashes[name] = String(record.sha256) + check(binding.sha256 === record.sha256 && binding.format === record.format && same(binding.metadata, record.metadata) + && record.metadata.schema === summary.schema && record.metadata.compiled_identity === summary.compiled_identity, 'Payload binding mismatch') + if (Object.hasOwn(IONIC_JV_UNITS, name)) { + check(record.metadata.unit === IONIC_JV_UNITS[name] && record.metadata.dtype === (name === 'ion_node_indices' ? ' { + const doc = object(roles[name]); check(typeof doc.content_hex === 'string' && /^(?:[a-f0-9]{2})+$/.test(doc.content_hex), 'Invalid manifest role bytes') + const bytes = Uint8Array.from(doc.content_hex.match(/../g)!, v => parseInt(v, 16)) + check(await digest(bytes) === sha(doc.sha256), 'Manifest role digest differs'); return object(JSON.parse(text(bytes))) + } + const [protocol, preparation, grid, controls, recipe] = await Promise.all(['protocol', 'preparation', 'grid', 'numeric_controls', 'initial_state'].map(role)) + const sources: StoredObject = {} + check(Array.isArray(manifest.implementation_content) && Array.isArray(preparation.adapter_sources), 'Missing source capture') + for (const value of [...manifest.implementation_content, ...preparation.adapter_sources]) { const s = object(value); sources[String(s.id)] = sha(s.sha256) } + check(bound.H_input === worker.H_input && bound.H_physics === worker.H_physics && object(bound.engine).name === 'solarlab' + && capture.scope === 'ionic_compile_initialization_and_steady_jv_in_worker' && same(capture.source_sha256, sources) + && capture.build_source_commit === object(bound.implementation).build_source_commit && same(capture.runtime, bound.environment) + && capture.manifest_sha256 === worker.manifest_sha256 && capture.compiled_identity === summary.compiled_identity + && capture.prepared_sha256 === worker.prepared_sha256 && preparation.prepared_sha256 === worker.prepared_sha256, 'Actual source/runtime/configuration binding differs') + check(submitted.data.schema === 'solarlab.ionic-jv.worker-request.v1' && submitted.data.engine === 'solarlab' + && submitted.data.prepared_sha256 === worker.prepared_sha256 && same(submitted.data.protocol, protocol) + && same(submitted.data.grid, grid) && same(submitted.data.controls, controls) && same(submitted.data.initial, recipe), 'Recorded request differs from manifest') + if (registered) { + const catalog = registry.data; check(Array.isArray(catalog.bindings), 'Missing recorded catalog') + const entries = catalog.bindings.map(object).filter(e => e.driver === IONIC_JV_EXPERIMENT); check(entries.length === 1, 'Ambiguous recorded ionic J-V route') + const entry = entries[0], installed = object(entry.preparation_context) + check(catalog.job_schema_sha256 === schema.sha256 && worker.execution_catalog_sha256 === registry.sha256 + && entry.experiment_id === IONIC_JV_EXPERIMENT && entry.version === 1 && entry.engine === 'solarlab' && entry.scope === IONIC_JV_SCOPE + && entry.result_schema === worker.schema && entry.worker_source_sha256 === sources['solarlab/experiments/jv/ionic_worker.py'] + && worker.experiment_id === IONIC_JV_EXPERIMENT && worker.experiment_version === 1 && worker.http_request_sha256 === submitted.sha256 + && entry.model_registry_sha256 === worker.registered_model_registry_sha256 && entry.model_registry_sha256 === object(bound.effective_binding).registry_sha256 + && same(installed.implementation, { build_source_commit: object(bound.implementation).build_source_commit, + source_manifest_sha256: await digest(new TextEncoder().encode(canonicalRecorded(manifest.implementation_content.map(raw => { + const s = object(raw); return { id: s.id, sha256: s.sha256 } + })))) }) && installed.current_repository_head === execution.current_repository_head + && same(installed.server_sources, worker.server_sources) && same(installed.server_runtime, worker.server_runtime) + && same(installed.fixed_numerical_policy, worker.registered_numerical_policy) && Array.isArray(installed.devices), 'Registered source/schema/model binding differs') + const devices = installed.devices.map(object).filter(d => d.prepared_sha256 === worker.prepared_sha256) + const policy = object(installed.fixed_numerical_policy) + check(same(policy.protocol, protocol) && same(policy.controls, controls) && same(policy.intervals_per_layer, grid.intervals_per_layer) + && same(policy.initial, { policy: recipe.policy, voltage_V: recipe.voltage_V, wall_s: recipe.wall_s }), 'Recorded installed protocol differs') + const definitions = object(catalog.registry).experiments; check(Array.isArray(definitions), 'Missing experiment definitions') + const definition = definitions.map(object).find(d => d.id === IONIC_JV_EXPERIMENT && d.version === 1) + check(devices.length === 1 && devices[0].device_id === worker.registered_device_id && definition + && object(definition.parameter_schema).sha256 === worker.registered_input_schema_sha256, 'Registered device/input schema differs') + } else { + check(registry.data.worker === IONIC_JV_EXPERIMENT && registry.data.engine === 'solarlab' && registry.data.fallback === 'forbidden' + && registry.data.scope === 'illuminated_positive_D_one_blocking_domain_ionic_steady_jv' && schema.data.engine === 'solarlab' + && worker.execution_catalog_sha256 === undefined && worker.registered_device_id === undefined, 'Historical process identity was relabelled') + } + const arrays: Record = {}, units: Record = {} + for (const [name, pack] of Object.entries(storedArrays)) { + if (!components[name]) { arrays[name] = pack; units[name] = IONIC_JV_UNITS[name]; continue } + const labels = components[name]; check(pack.shape[0] === labels.length, 'Wrong packed component count') + const shape = pack.shape.slice(1), size = shape.reduce((a, b) => a * b, 1) + labels.forEach((key, i) => { arrays[key] = { shape, values: pack.values.slice(i * size, (i + 1) * size) }; units[key] = IONIC_JV_UNITS[name] }) + } + const x = arrays.nodes_m.values, indices = arrays.ion_node_indices.values, v = arrays.voltage_V.values, requested = arrays.requested_voltage_V.values + const n = x.length, m = indices.length, count = v.length + check(n === 37 && m === 13 && x.every((v, i) => !i || v > x[i - 1]) + && indices.every((v, i) => Number.isSafeInteger(v) && v >= 0 && v < n && (!i || v === indices[i - 1] + 1)) + && arrays.ion_cell_measures_m.values.every(v => v > 0) && count <= requested.length + && requested.every((v, i) => !i || v > requested[i - 1]) && v.every((v, i) => Object.is(v, requested[i])), 'Invalid accepted prefix or ionic grid') + arrays.ion_nodes_m = { shape: [m], values: indices.map(i => x[i]) }; units.ion_nodes_m = 'm' + for (const s of species) { + const density = arrays[s + '_ion_density_m3'] + arrays[s + '_ion_cell_inventory_m2'] = { shape: density.shape, values: density.values.map((v, i) => v * arrays.ion_cell_measures_m.values[i % m]) } + units[s + '_ion_cell_inventory_m2'] = 'm^-2' + } + for (const name of currentNames) { + arrays['terminal_' + name] = { shape: [count, 2], values: v.flatMap((_, i) => [arrays[name].values[i * (n + 1)], arrays[name].values[i * (n + 1) + n]]) } + units['terminal_' + name] = 'A/m^2' + } + for (const [name, a] of Object.entries(arrays)) { + const shape = name === 'nodes_m' ? [n] : ['ion_nodes_m', 'ion_node_indices', 'ion_cell_measures_m'].includes(name) ? [m] + : name === 'requested_voltage_V' ? [requested.length] : ['voltage_V', 'output_current_A_m2'].includes(name) || name.endsWith('_ion_inventory_m2') ? [count] + : [count, name === 'state_coordinates' ? 3 * n + species.length * m : name.includes('current_density') ? name.startsWith('terminal_') ? 2 : n + 1 : name.includes('_ion_') ? m : n] + check(same(a.shape, shape), 'Ionic J-V logical array shape differs') + } + const raw = object(JSON.parse(diagnosticsJson)), curve = raw.curve === null ? undefined : object(raw.curve) + const attempts = curve ? tuple(curve.attempts).map(object) : [], complete = attempt.state === 'succeeded', failed = attempts.find(a => a.accepted === false) + check(same(raw.protocol, protocol) && same(raw.controls, controls) && same(raw.initial_recipe, recipe) + && same(protocol.voltage_V, requested) && protocol.generation_scale === summary.generation_scale && protocol.incident_power_W_m2 === summary.incident_power_W_m2 + && summary.requested_count === requested.length && summary.accepted_count === count && summary.attempt_count === attempts.length + && summary.outcome === (complete ? 'completed' : curve ? 'partial' : 'initial_failed') && worker.reason === summary.reason + && (complete ? count === requested.length && !failed : count < requested.length), 'Terminal state or requested/accepted samples differ') + check(attempts.every((a, i) => a.index === i && a.voltage_V === requested[i] && a.accepted === (i < count)) + && attempts.length === count + (failed ? 1 : 0) && (!curve || complete || failed), 'First failed attempt or unattempted tail was lost') + check(same(summary.first_failure, failed ? Object.fromEntries(['index', 'voltage_V', 'termination', 'solver_called', 'error'].map(k => [k, failed[k]])) : null), 'First failure differs') + const compiled = object(raw.compiled_binding), domain = object(compiled.ion_domain), layout = object(compiled.state_layout), model = object(compiled.ion_model) + check(summary.compiled_identity === await digest(new TextEncoder().encode(canonicalRecorded(recordedJson(diagnosticsJson).compiled_binding))), 'Compiled identity digest differs') + check(compiled.original_prepared_sha256 === worker.prepared_sha256 && same(domain.contacts, ['blocking', 'blocking']) + && domain.layer === grid.ion_domain_layer && same(domain.electrical_node_indices, indices) && same(domain.cell_measures_m, arrays.ion_cell_measures_m.values) + && layout.electrical_node_count === n && layout.ion_node_count === m && layout.size === 3 * n + species.length * m + && same(layout.ion_species, species) && model.site_contract === summary.ion_site_contract, 'Compiled physics/grid binding differs') + for (const name of ['face_diffusivity_m2_s', 'negative_face_diffusivity_m2_s']) check(Array.isArray(model[name]) + && model[name].length === m - 1 && model[name].every(v => typeof v === 'number' && v > 0 && Number.isFinite(v)), 'Positive diffusivity required') + for (const name of ['nodes_m', 'ion_node_indices', 'ion_cell_measures_m']) check(same(rawArray(object(raw.grid)[name], name === 'ion_node_indices' ? ' view.setFloat64(i * 8, v, true)) + const initialHash = await digest(words) + check(provenance.policy === 'saved_accepted' && provenance.source_sha256 === hashes.ionic_jv_initial + && provenance.state_sha256 === initialHash && provenance.generation_scale === protocol.generation_scale + && same(capture.initial_state, { dtype: ' a.solver_called === true).length + && counts.total_solver_calls === number(cold.solver_calls) + number(illumination.component_solver_calls) + number(illumination.coupled_solver_calls) + number(sweep.solver_calls), 'Computation counts differ') + check([1, -1].includes(Number(curve.voltage_polarity)) && arrays.total_current_density_A_m2.values.every((v, i) => + Object.is(v, arrays.electronic_current_density_A_m2.values[i] + arrays.ionic_current_density_A_m2.values[i])) + && arrays.output_current_A_m2.values.every((v, i) => Object.is(v, -Number(curve.voltage_polarity) * arrays.total_current_density_A_m2.values[i * (n + 1)])), 'Current sum or output polarity differs') + } + check(summary.incident_power_W_m2 !== null || object(summary.metrics).efficiency === null, 'Efficiency needs known incident power') + const exact = recordedJson(snapshot.json) + const exactSummary = object(object(object(exact).result).worker_result).ionic_jv_result + check(capture.result_sha256 === await digest(new TextEncoder().encode(canonicalRecorded({ summary: exactSummary, payloads: hashes }))), 'Result digest differs') + if (job.submitted) check(worker.prepared_sha256 === job.submitted.device.preparedSha256 && registry.sha256 === job.submitted.catalog.registry + && same(protocol, { voltage_V: job.submitted.input.voltage_V, generation_scale: job.submitted.input.generation_scale, incident_power_W_m2: job.submitted.input.incident_power_W_m2 }), 'Result differs from submitted protocol') + return { state: attempt.state, registered, arrays, units, storedArrays, species, attempts, summary, worker, originalJson: snapshot.json, diagnosticsJson, initialJson, manifestJson } + } +} diff --git a/web/src/ionic-transient-client.live.test.ts b/web/src/ionic-transient-client.live.test.ts new file mode 100644 index 00000000..e2aa06d2 --- /dev/null +++ b/web/src/ionic-transient-client.live.test.ts @@ -0,0 +1,59 @@ +// @vitest-environment node +/** Opt-in GET-only checks of existing actual ionic attempts; never starts a solve. */ +import { expect, it, vi } from 'vitest' +import { IonicTransientClient } from './ionic-transient-client' +import { webcrypto } from './test-helpers/schema-fixture.mjs' + +const env = (globalThis as unknown as { process: { env: Record } }).process.env +const targets = JSON.parse(env.SOLARLAB_IONIC_READBACK_TARGETS ?? '[]') as { + storeId: string; runId: string; attemptId: string; state: 'succeeded' | 'failed' +}[] + +it.skipIf(!env.SOLARLAB_IONIC_UI_ENDPOINT || !targets.length)('reads the actual completed/failed ionic pair and reconnects without POST', async () => { + vi.stubGlobal('crypto', webcrypto) + const original = globalThis.fetch, methods: string[] = [] + vi.stubGlobal('fetch', (input: RequestInfo | URL, init?: RequestInit) => { methods.push(init?.method ?? 'GET'); return original(input, init) }) + try { + const client = new IonicTransientClient(env.SOLARLAB_IONIC_UI_ENDPOINT!), observed = [] + const catalog = await client.discover() + expect(catalog.routes.map(r => r.id)).toEqual(['ionic_transient_1d']) + expect(catalog.routes[0].devices.map(d => d.id)).toContain('research_1d_shared') + for (const target of targets) { + const job = client.open(target.storeId, target.runId, target.attemptId), result = await client.readResult(job) + expect(result?.state).toBe(target.state) + expect(Object.keys(result!.storedArrays)).toHaveLength(13) + expect(Object.keys(result!.arrays)).toHaveLength(26) + expect(result!.arrays.potential_V.shape).toEqual([target.state === 'failed' ? 2 : 5, 37]) + expect(result!.arrays.positive_ion_density_m3.shape).toEqual([target.state === 'failed' ? 2 : 5, 13]) + expect(result!.arrays.total_current_density_A_m2.shape).toEqual([target.state === 'failed' ? 1 : 4, 38]) + expect(result!.summary.physical_certificate_status).toBe('not_evaluated') + expect(result!.arrays.requested_times_s.values).toEqual([0, .25, .5, .75, 1]) + if (target.state === 'failed') { + expect(result!.arrays.accepted_times_s.values).toEqual([0, .25]) + expect(result!.attempts.map(a => a.accepted)).toEqual([true, false]) + expect(result!.attempts[1].termination).toBe('budget_exhausted') + } + const events = (await job.reader.getEvents(job.target.runId)).value.events + const terminals = events.filter(e => e.kind === 'terminal') + expect(terminals).toHaveLength(1) + const end = await job.reader.subscribe(job.target, () => { throw Error('Acknowledged event replayed') }, { + endpoint: job.reader.endpoint, storeId: target.storeId, ...job.target, sequence: String(terminals[0].sequence), + }).done + expect(end.reason).toBe('terminal_acknowledged') + const arrays = Object.fromEntries(await Promise.all(Object.entries(result!.arrays).map(async ([name, array]) => { + const bytes = new ArrayBuffer(array.values.length * 8), view = new DataView(bytes) + array.values.forEach((v, i) => view.setFloat64(i * 8, v, true)) + const hash = await crypto.subtle.digest('SHA-256', bytes) + return [name, { shape: array.shape, unit: result!.units[name], little_endian_word_sha256: Array.from(new Uint8Array(hash), n => n.toString(16).padStart(2, '0')).join('') }] + }))) + observed.push({ target, summary: result!.summary, worker: result!.worker, arrays, + terminal_count: terminals.length, terminal_sequence: String(terminals[0].sequence), reconnect: end.reason }) + } + expect(methods.every(method => method === 'GET')).toBe(true) + if (env.SOLARLAB_IONIC_READBACK_EVIDENCE) { + const module: string = 'node:fs/promises' + const fs = await import(/* @vite-ignore */ module) as { writeFile(path: string, text: string): Promise } + await fs.writeFile(env.SOLARLAB_IONIC_READBACK_EVIDENCE, JSON.stringify({ new_jobs: 0, methods, observed }, null, 2) + '\n') + } + } finally { vi.unstubAllGlobals() } +}, 60000) diff --git a/web/src/ionic-transient-client.test.ts b/web/src/ionic-transient-client.test.ts new file mode 100644 index 00000000..b4c3db7e --- /dev/null +++ b/web/src/ionic-transient-client.test.ts @@ -0,0 +1,102 @@ +// @vitest-environment node +import { afterEach, beforeEach, expect, it, vi } from 'vitest' +import { IonicTransientClient, parseIonicSamples, readIonicArray } from './ionic-transient-client' +import { catalog, catalogDocument, protocol, registry, schema, ionicNpy } from './test-helpers/ionic-transient-fixture' +import type { ArtifactRecord } from './run-client' +import { webcrypto } from './test-helpers/schema-fixture.mjs' + +const endpoint = 'http://localhost:5173/steady-service/' +const response = (data: unknown, headers = {}, status = 200) => new Response(JSON.stringify(data), { status, headers: { 'Content-Type': 'application/json', ...headers } }) +const advertised = (data = catalogDocument()) => response(data, { 'X-Solarlab-Registry': registry, 'X-Solarlab-Job-Schema': schema, ETag: `"${registry}"` }) +let fetcher: ReturnType +beforeEach(() => { vi.stubGlobal('crypto', webcrypto); fetcher = vi.fn(); vi.stubGlobal('fetch', fetcher) }) +afterEach(() => { vi.unstubAllGlobals() }) + +it('admits only the installed dark positive-D ionic v1 route and explicit controls', async () => { + const data = catalogDocument(), entry = data.bindings[0] + data.bindings = [{ ...entry, driver: 'transient_1d' }, { ...entry, engine: 'legacy' }, { ...entry, version: 2 }, entry] + fetcher.mockResolvedValueOnce(advertised(data)) + expect(await new IonicTransientClient(endpoint).discover()).toEqual(catalog) + data.bindings = []; fetcher.mockResolvedValueOnce(advertised(data)) + expect((await new IonicTransientClient(endpoint).discover()).routes).toEqual([]) + fetcher.mockResolvedValueOnce(response(catalogDocument())) + await expect(new IonicTransientClient(endpoint).discover()).rejects.toThrow() +}) + +it('refuses unbounded or ambiguous catalogs instead of enabling another route', async () => { + const client = new IonicTransientClient(endpoint) + const samples = catalogDocument(); samples.bindings[0].input_schema.additionalProperties = true + fetcher.mockResolvedValueOnce(advertised(samples)); await expect(client.discover()).rejects.toThrow('schema') + const duplicate = catalogDocument(); duplicate.bindings[0].preparation_context.devices.push(duplicate.bindings[0].preparation_context.devices[0]) + fetcher.mockResolvedValueOnce(advertised(duplicate)); await expect(client.discover()).rejects.toThrow('Ambiguous') + const light = catalogDocument(); light.bindings[0].input_schema.properties.generation_scale = { type: 'array', items: { minimum: 0, maximum: 1 } } + fetcher.mockResolvedValueOnce(advertised(light)); await expect(client.discover()).rejects.toThrow('dark') +}) + +it('submits explicit samples plus independent initial/transient budgets to the configured endpoint', async () => { + fetcher.mockResolvedValueOnce(response({ status: 'accepted', store_id: 'store', run_id: 'run', attempt_id: 'attempt', + execution_catalog_sha256: registry, job_schema_sha256: schema, events_url: 'https://ignored.invalid' }, {}, 202)) + const input = structuredClone(protocol), client = new IonicTransientClient(endpoint) + const job = await client.submit(catalog, catalog.routes[0], 'research_1d_shared', input, 30, 'run'); input.times_s[1] = .1 + const [url, init] = fetcher.mock.calls[0] + expect(String(url)).toBe(endpoint + 'jobs') + expect(init.headers).toMatchObject({ 'X-Solarlab-Registry': registry, 'X-Solarlab-Job-Schema': schema }) + expect(JSON.parse(init.body)).toEqual({ schema_version: 'solarlab.job-submission.v1', run_id: 'run', experiment_id: 'ionic_transient_1d', version: 1, + engine: 'solarlab', input: { device_id: 'research_1d_shared', ...protocol }, limits: { ...catalog.ceiling, wall_seconds: 30, calls: null, accepted_steps: null } }) + expect(job.submitted?.input).toEqual(protocol); expect(job.reader.endpoint).toBe(endpoint) +}) + +it('rejects light, repeated times, missing columns and invalid work budgets before POST', async () => { + expect(parseIonicSamples('0, .002, 0\n.25, .003, 0')).toEqual({ times_s: [0, .25], voltage_V: [.002, .003], generation_scale: [0, 0] }) + for (const value of ['0,0,0\n1,,0', '0,0,0\nInfinity,0,0', '0,0,0\n1,0,']) expect(() => parseIonicSamples(value)).toThrow() + const client = new IonicTransientClient(endpoint) + for (const changes of [{ times_s: [0, 0, .5, .75, 1] }, { voltage_V: [0] }, { generation_scale: [0, 1, 0, 0, 0] }, + { intervals_per_layer: [0, 12, 12] }, { intervals_per_layer: [12.5, 12, 12] }, + { controls: { ...protocol.controls, transient: { ...protocol.controls.transient, wall_s: 0 } } }, + { controls: { ...protocol.controls, transient: { ...protocol.controls.transient, newton_budget: { ...protocol.controls.transient.newton_budget, max_iterations: 51 } } } }, + { controls: { ...protocol.controls, initial_steady: { ...protocol.controls.initial_steady, budget: { ...protocol.controls.initial_steady.budget, max_iterations: 61 } } } }]) { + await expect(client.submit(catalog, catalog.routes[0], 'research_1d_shared', { ...protocol, ...changes }, 30)).rejects.toThrow() + } + await expect(client.submit(catalog, catalog.routes[0], '/tmp/device', protocol, 30)).rejects.toThrow('installed ionic device') + await expect(client.submit(catalog, catalog.routes[0], 'research_1d_shared', protocol, 31)).rejects.toThrow('wall') + expect(fetcher).not.toHaveBeenCalled() +}) + +it('decodes rank-three component order and int64 node indices without flattening axes', () => { + for (const endian of ['<', '>'] as const) { + const data = { shape: [2, 1, 3], values: [1, 2, 3, 7, 8, 9] } + const record = { format: 'npy', metadata: { dtype: endian + 'f8', order: 'C', shape: data.shape } } as unknown as ArtifactRecord + expect(readIonicArray(ionicNpy(data, false, endian), record)).toEqual(data) + } + const indices = { shape: [3], values: [12, 13, 14] }, record = { format: 'npy', metadata: { dtype: ' { + const data = { shape: [2, 1, 3], values: [1, 2, 3, 7, 8, 9] }, bytes = ionicNpy(data) + const record = { format: 'npy', metadata: { dtype: ' readIonicArray(bytes, { ...record, metadata })).toThrow() + expect(() => readIonicArray(bytes.slice(0, -1), record)).toThrow() + expect(() => readIonicArray(ionicNpy({ ...data, values: [NaN, 2, 3, 7, 8, 9] }), record)).toThrow('values') + const big = ionicNpy({ shape: [1], values: [2 ** 53] }, true) + expect(() => readIonicArray(big, { format: 'npy', metadata: { dtype: ' { + const client = new IonicTransientClient(endpoint), job = client.open('store', 'run', 'attempt') + vi.spyOn(job.reader, 'getRun').mockResolvedValue({ value: { state: 'running', current_attempt_id: 'attempt', generation: 7 } } as never) + fetcher.mockResolvedValueOnce(response({ run_id: 'run', attempt_id: 'attempt' })) + await client.cancel(job) + expect(JSON.parse(fetcher.mock.calls[0][1].body).expected_generation).toBe(7) + vi.mocked(job.reader.getRun).mockResolvedValue({ value: { state: 'running', current_attempt_id: 'later', generation: 8 } } as never) + await expect(client.cancel(job)).rejects.toThrow('stale') + const getAttempt = vi.spyOn(job.reader, 'getAttempt') + for (const state of ['failed', 'cancelled']) { + getAttempt.mockResolvedValue({ value: { state, terminal: { state, artifacts: [] } } } as never) + expect(await client.readResult(job)).toBeUndefined() + } + expect(fetcher).toHaveBeenCalledTimes(1) +}) diff --git a/web/src/ionic-transient-client.ts b/web/src/ionic-transient-client.ts new file mode 100644 index 00000000..a98bd986 --- /dev/null +++ b/web/src/ionic-transient-client.ts @@ -0,0 +1,383 @@ +/** The explicitly installed ionic route and its immutable completed/failed histories. */ +import { StoredRunClient, RunClientError } from './run-client' +import type { ArtifactRecord, AttemptIdentity, StoredObject } from './run-client' +import { readSteadyArray, requestJobService } from './steady-jv-client' +import type { FloatArray } from './steady-jv-client' +import { parseTransientSamples } from './transient-client' +import type { Bound } from './transient-client' + +export const IONIC_SCOPE = 'classical_1d_dark_positive_diffusivity_ionic_transient' +export const IONIC_EXPERIMENT = 'ionic_transient_1d' +export const IONIC_STORED_UNITS: Record = { + requested_times_s: 's', requested_voltage_V: 'V', requested_generation_scale: '1', accepted_times_s: 's', + nodes_m: 'm', ion_node_indices: '1', ion_cell_measures_m: 'm', potential_V: 'V', + carrier_density_m3: 'm^-3', ion_density_m3: 'm^-3', ion_inventory_m2: 'm^-2', + all_face_current_density_A_m2: 'A/m^2', terminal_current_density_A_m2: 'A/m^2', +} +const currents = ['carrier_conduction', 'ion_conduction', 'conduction', 'displacement', 'total'] as const +const terminalCurrents = ['conduction', 'displacement', 'total'] as const +type Budget = { max_iterations: number; max_residual_evaluations: number; max_jacobian_evaluations: number; max_backtracks: number } +export interface IonicProtocol { + times_s: number[]; voltage_V: number[]; generation_scale: number[]; intervals_per_layer: number[] + controls: { initial_steady: { budget: Budget; inventory_row_node: number; wall_s: number } + transient: { newton_budget: Budget; max_steps: number; wall_s: number } } +} +export interface IonicRoute { + id: string; version: number; devices: readonly { id: string; preparedSha256: string }[] + bounds: Record; domain: string; policy: StoredObject +} +export interface IonicCatalog { + registry: string; schema: string; routes: readonly IonicRoute[] + ceiling: { wall_seconds: number; rss_bytes: number; output_bytes: number } +} +export interface IonicJob { + reader: StoredRunClient; target: Readonly + submitted?: { catalog: IonicCatalog; device: IonicRoute['devices'][number]; input: IonicProtocol } +} +export interface IonicResult { + state: 'succeeded' | 'failed'; arrays: Record; storedArrays: Record + units: Record; species: string[]; summary: StoredObject; worker: StoredObject; attempts: StoredObject[] + diagnosticsJson: string; initialJson: string; originalJson: string; manifestJson: string +} + +function check(value: unknown, message: string): asserts value { if (!value) throw new RunClientError('protocol', message) } +function object(value: unknown): StoredObject { + check(value !== null && typeof value === 'object' && !Array.isArray(value), 'Expected an ionic record'); return value as StoredObject +} +function id(value: unknown): string { + check(typeof value === 'string' && /^[A-Za-z0-9_][A-Za-z0-9_.:-]{0,127}$/.test(value), 'Invalid installed/stored identifier'); return value +} +function sha(value: unknown): string { check(typeof value === 'string' && /^[a-f0-9]{64}$/.test(value), 'Missing identity digest'); return value } +function numeric(value: unknown): number { check(typeof value === 'number' && Number.isFinite(value), 'Expected a finite number'); return value } +function same(a: unknown, b: unknown): boolean { + if (Object.is(a, b)) return true + if (!a || !b || typeof a !== 'object' || typeof b !== 'object' || Array.isArray(a) !== Array.isArray(b)) return false + const x = a as StoredObject, y = b as StoredObject, keys = Object.keys(x) + return keys.length === Object.keys(y).length && keys.every(k => Object.hasOwn(y, k) && same(x[k], y[k])) +} +function canonical(value: unknown): string { + if (Array.isArray(value)) return '[' + value.map(canonical).join(',') + ']' + if (value && typeof value === 'object') return '{' + Object.keys(value).sort().map(k => JSON.stringify(k) + ':' + canonical((value as StoredObject)[k])).join(',') + '}' + return JSON.stringify(value) +} +async function digest(bytes: Uint8Array): Promise { + return Array.from(new Uint8Array(await crypto.subtle.digest('SHA-256', Uint8Array.from(bytes))), b => b.toString(16).padStart(2, '0')).join('') +} +const text = (bytes: Uint8Array) => new TextDecoder('utf-8', { fatal: true }).decode(bytes) +function hexBytes(value: unknown): Uint8Array { + check(typeof value === 'string' && value.length % 2 === 0 && /^[a-f0-9]+$/.test(value), 'Invalid bound source bytes') + return Uint8Array.from(value.match(/../g)!, v => parseInt(v, 16)) +} +async function document(value: unknown): Promise<{ data: StoredObject; sha256: string }> { + const doc = object(value); check(typeof doc.base64 === 'string', 'Missing original request document') + const bytes = Uint8Array.from(atob(doc.base64), c => c.charCodeAt(0)), hash = sha(doc.sha256) + check(await digest(bytes) === hash, 'Stored request/catalog/schema bytes changed') + return { data: object(JSON.parse(text(bytes))), sha256: hash } +} +function within(value: number, bound: Bound, name: string, integer = false) { + check(Number.isFinite(value) && value >= bound.min && value <= bound.max && (!integer || Number.isSafeInteger(value)), `${name} must be within ${bound.min}–${bound.max}`) +} +function tuple(value: unknown): unknown[] { + const values = Array.isArray(value) ? value : object(value).$tuple + check(Array.isArray(values), 'Missing retained ionic sequence'); return values +} +function rawArray(value: unknown, dtype = ' v === false) + && Array.isArray(real.nonfinite_words) && real.nonfinite_words.length === real.values.length && real.nonfinite_words.every(v => v === null), + 'Accepted raw ionic array is nonfinite or unsupported') + const shape = data.shape.map(numeric), values = real.values.map(numeric) + check(shape.every(n => Number.isSafeInteger(n) && n >= 0) && shape.reduce((a, b) => a * b, 1) === values.length, 'Invalid raw array shape') + return { shape, values } +} + +/** Existing float reader remains strict; only ionic rank-three packs and int64 indices add decoding here. */ +export function readIonicArray(bytes: Uint8Array, record: ArtifactRecord): FloatArray { + const shape = record.metadata.shape + if (record.metadata.dtype === '= 10 && Array.from(bytes.slice(0, 6)).join(',') === '147,78,85,77,80,89', 'Invalid ionic NPY') + const view = new DataView(bytes.buffer, bytes.byteOffset, bytes.byteLength), version = bytes[6], prefix = version === 1 ? 10 : 12 + check((version === 1 || version === 2) && bytes[7] === 0 && bytes.length >= prefix, 'Unsupported ionic NPY version') + const length = version === 1 ? view.getUint16(8, true) : view.getUint32(8, true) + check(length <= 4096 && prefix + length <= bytes.length, 'Invalid ionic NPY header') + const match = /^\{'descr': '([<>][fi]8)', 'fortran_order': False, 'shape': \((\d+(?:,\s*\d+)*,?)\),?\s*\}\s*$/.exec(text(bytes.slice(prefix, prefix + length))) + check(match, 'Only plain numeric ionic packs are supported') + const dimensions = match[2].split(',').filter(v => v.trim()).map(Number), integer = match[1].includes('i') + check(dimensions.length === (integer ? 1 : 3) && dimensions.every(n => Number.isSafeInteger(n) && n >= 0), 'Unexpected ionic pack rank') + const count = dimensions.reduce((a, b) => a * b, 1) + check(Number.isSafeInteger(count) && prefix + length + count * 8 === bytes.length && same(shape, dimensions) + && record.metadata.dtype === match[1] && record.metadata.order === 'C', 'Ionic NPY metadata/size mismatch') + const values = Array.from({ length: count }, (_, i) => integer ? Number(view.getBigInt64(prefix + length + i * 8, match[1][0] === '<')) + : view.getFloat64(prefix + length + i * 8, match[1][0] === '<')) + check(values.every(v => Number.isFinite(v) && (!integer || Number.isSafeInteger(v))), 'Invalid accepted ionic array values') + return { shape: dimensions, values } +} + +export const parseIonicSamples = parseTransientSamples + +export class IonicTransientClient { + readonly endpoint: string + constructor(endpoint: string | URL) { + const url = new URL(endpoint) + check(['http:', 'https:'].includes(url.protocol) && !url.username && !url.password && !url.search && !url.hash, 'Use an explicit HTTP endpoint') + this.endpoint = url.href.replace(/\/$/, '') + '/' + } + async discover(signal?: AbortSignal): Promise { + const { value, response } = await requestJobService(this.endpoint, 'experiments', { signal }) + const registry = sha(response.headers.get('X-Solarlab-Registry')), schema = sha(response.headers.get('X-Solarlab-Job-Schema')) + check(value.schema === 'solarlab.execution-catalog.v1' && value.job_schema_sha256 === schema + && response.headers.get('etag') === `"${registry}"` && Array.isArray(value.bindings), 'Inconsistent installed catalog') + const cap = object(value.resource_ceiling) + check(cap.calls === null && cap.accepted_steps === null, 'Ionic counter caps are unsupported') + const ceiling = { wall_seconds: Math.min(30, numeric(cap.wall_seconds)), rss_bytes: numeric(cap.rss_bytes), output_bytes: numeric(cap.output_bytes) } + check(Object.values(ceiling).every(v => v > 0), 'Invalid resource ceiling') + const routes: IonicRoute[] = [] + for (const raw of value.bindings) { + const entry = object(raw) + if (entry.engine !== 'solarlab' || entry.driver !== IONIC_EXPERIMENT || entry.experiment_id !== IONIC_EXPERIMENT + || entry.version !== 1 || entry.scope !== IONIC_SCOPE) continue + const schema = object(entry.input_schema), properties = object(schema.properties), installed = object(entry.preparation_context) + const keys = ['device_id', 'times_s', 'voltage_V', 'generation_scale', 'intervals_per_layer', 'controls'].sort() + check(schema.additionalProperties === false && same(Object.keys(properties).sort(), keys) + && Array.isArray(schema.required) && same([...schema.required].sort(), keys), 'Unsupported ionic request schema') + const definition = (raw: unknown) => { + const data = object(raw) + if (!data.$ref) return data + check(typeof data.$ref === 'string' && /^#\/\$defs\/[A-Za-z0-9_]+$/.test(data.$ref), 'Unsupported control reference') + return object(object(schema.$defs)[data.$ref.slice(8)]) + } + const bound = (raw: unknown): Bound => { + const data = object(raw), min = numeric(data.minimum ?? data.exclusiveMinimum), max = numeric(data.maximum) + check(min <= max, 'Invalid installed control bounds'); return { min, max } + } + const controls = definition(properties.controls), c = object(controls.properties) + const initial = definition(c.initial_steady), ip = object(initial.properties), time = definition(c.transient), tp = object(time.properties) + const ib = definition(ip.budget), tb = definition(tp.newton_budget) + check([controls, initial, time, ib, tb].every(v => v.additionalProperties === false), 'Unbounded ionic work controls') + const samples = object(properties.times_s), intervals = object(properties.intervals_per_layer) + const bounds: Record = { samples: { min: numeric(samples.minItems), max: Math.min(17, numeric(samples.maxItems)) }, + layers: { min: numeric(intervals.minItems), max: numeric(intervals.maxItems) }, intervals_per_layer: bound(intervals.items), + times_s: bound(samples.items), voltage_V: bound(object(properties.voltage_V).items), generation_scale: bound(object(properties.generation_scale).items), + max_steps: bound(tp.max_steps), wall_s: bound(tp.wall_s), initial_wall_s: bound(ip.wall_s), inventory_row_node: bound(ip.inventory_row_node) } + for (const key of ['max_iterations', 'max_residual_evaluations', 'max_jacobian_evaluations', 'max_backtracks']) { + bounds[key] = bound(object(tb.properties)[key]); bounds['initial_' + key] = bound(object(ib.properties)[key]) + } + // The installed v1 time validator is stricter than its shared budget definition. + for (const [key, max] of Object.entries({ max_iterations: 50, max_residual_evaluations: 500, max_jacobian_evaluations: 50 })) bounds[key].max = Math.min(bounds[key].max, max) + check(bounds.generation_scale.min === 0 && bounds.generation_scale.max === 0 && same(installed.ion_domain_endpoints, ['blocking', 'blocking']) + && Array.isArray(installed.devices), 'Only installed dark blocking ionic devices are admitted') + const devices = installed.devices.map(raw => { const d = object(raw); return { id: id(d.device_id), preparedSha256: sha(d.prepared_sha256) } }) + check(new Set(devices.map(d => d.id)).size === devices.length && new Set(devices.map(d => d.preparedSha256)).size === devices.length, 'Ambiguous installed devices') + routes.push({ id: IONIC_EXPERIMENT, version: 1, devices, bounds, domain: id(installed.ion_domain_layer), policy: object(installed.fixed_numerical_policy) }) + } + return { registry, schema, routes, ceiling } + } + async submit(catalog: IonicCatalog, route: IonicRoute, deviceId: string, input: IonicProtocol, wallSeconds: number, + runId = `ionic-transient-${crypto.randomUUID()}`): Promise { + check(catalog.routes.includes(route), 'Select the installed ionic route') + const device = route.devices.find(d => d.id === deviceId); check(device, 'Select an installed ionic device') + const b = route.bounds; within(input.times_s.length, b.samples, 'Sample count', true) + for (const key of ['times_s', 'voltage_V', 'generation_scale'] as const) { + check(input[key].length === input.times_s.length, 'Sample lengths differ') + input[key].forEach(v => within(v, b[key], key)) + } + check(input.times_s.every((v, i) => !i || v > input.times_s[i - 1]), 'Time must be strictly increasing') + within(input.intervals_per_layer.length, b.layers, 'Layer count', true) + input.intervals_per_layer.forEach(v => within(v, b.intervals_per_layer, 'Layer intervals', true)) + const initial = input.controls.initial_steady, time = input.controls.transient + within(initial.inventory_row_node, b.inventory_row_node, 'Inventory constraint node', true) + within(initial.wall_s, b.initial_wall_s, 'Initial wall budget'); within(time.wall_s, b.wall_s, 'Transient wall budget') + within(time.max_steps, b.max_steps, 'Step budget', true) + check(initial.wall_s > 0 && time.wall_s > 0 && input.times_s.length - 1 <= time.max_steps, 'Invalid step/time budget') + for (const key of Object.keys(time.newton_budget) as (keyof Budget)[]) { + within(time.newton_budget[key], b[key], key, true); within(initial.budget[key], b['initial_' + key], 'Initial ' + key, true) + } + check(wallSeconds > 0 && wallSeconds <= catalog.ceiling.wall_seconds, 'Invalid whole-job wall budget') + const frozen = JSON.parse(JSON.stringify(input)) as IonicProtocol + const { value, response } = await requestJobService(this.endpoint, 'jobs', { method: 'POST', headers: { + 'Content-Type': 'application/json', 'X-Solarlab-Registry': catalog.registry, 'X-Solarlab-Job-Schema': catalog.schema, + }, body: JSON.stringify({ schema_version: 'solarlab.job-submission.v1', run_id: id(runId), experiment_id: route.id, version: 1, + engine: 'solarlab', input: { device_id: deviceId, ...frozen }, limits: { ...catalog.ceiling, wall_seconds: wallSeconds, calls: null, accepted_steps: null } }) }) + check(response.status === 202 && value.status === 'accepted' && value.run_id === runId && value.execution_catalog_sha256 === catalog.registry + && value.job_schema_sha256 === catalog.schema, 'Ionic acceptance identity mismatch') + return { ...this.open(id(value.store_id), runId, id(value.attempt_id)), submitted: { catalog, device, input: frozen } } + } + open(storeId: string, runId: string, attemptId: string): IonicJob { + return { reader: new StoredRunClient(this.endpoint, id(storeId)), target: Object.freeze({ runId: id(runId), attemptId: id(attemptId) }) } + } + async cancel(job: IonicJob): Promise { + const run = (await job.reader.getRun(job.target.runId)).value + check(run.current_attempt_id === job.target.attemptId && ['queued', 'running'].includes(run.state), 'Cancellation target is stale or terminal') + const { value } = await requestJobService(this.endpoint, `jobs/${encodeURIComponent(job.target.runId)}/attempts/${encodeURIComponent(job.target.attemptId)}/cancel`, { + method: 'POST', headers: { 'Content-Type': 'application/json' }, body: `{"expected_generation":${run.generation.toString()},"reason":"User requested ionic transient cancellation"}`, + }) + check(value.run_id === job.target.runId && value.attempt_id === job.target.attemptId, 'Cancellation identity mismatch') + } + async readResult(job: IonicJob, signal?: AbortSignal): Promise { + const [snapshot, run] = await Promise.all([job.reader.getAttempt(job.target, signal), job.reader.getRun(job.target.runId, signal)]) + const attempt = snapshot.value; check(attempt.terminal, 'Attempt is not committed') + if (attempt.state === 'cancelled') { check(!attempt.terminal.artifacts.length, 'Cancelled attempt cannot invent ionic history'); return undefined } + check(attempt.state === 'succeeded' || attempt.state === 'failed', 'Unsupported terminal state') + if (!attempt.terminal.artifacts.length && attempt.state === 'failed') return undefined + const worker = object(attempt.result?.worker_result), metadata = object(run.value.request.input_metadata), identity = object(run.value.request.identity) + const documents = object(object(metadata.transport).documents) + const [registry, submitted, schema] = await Promise.all([document(documents.registry), document(documents.request), document(documents.schema)]) + const catalog = registry.data, execution = object(metadata.execution_manifest), capture = object(worker.capture) + check(worker.schema === 'solarlab.ionic-transient.worker-result.v1' && worker.engine === 'solarlab' && worker.scientific_qualification === false + && worker.execution_catalog_sha256 === registry.sha256 && catalog.job_schema_sha256 === schema.sha256, 'Not the bound ionic worker') + for (const key of ['H_input', 'H_physics', 'H_execution']) check(sha(worker[key]) === identity[key], 'Ionic execution identity mismatch') + check(worker.manifest_sha256 === execution.manifest_sha256 && worker.H_execution === execution.H_execution + && capture.request_sha256 === submitted.sha256, 'Ionic manifest/request capture mismatch') + check(Array.isArray(catalog.bindings), 'Missing recorded catalog') + const entries = catalog.bindings.map(object).filter(e => e.driver === IONIC_EXPERIMENT) + check(entries.length === 1, 'Ambiguous ionic registration') + const entry = entries[0], installed = object(entry.preparation_context) + check(entry.experiment_id === IONIC_EXPERIMENT && entry.version === 1 && entry.engine === 'solarlab' && entry.scope === IONIC_SCOPE + && worker.experiment_id === IONIC_EXPERIMENT && worker.experiment_version === 1 && Array.isArray(installed.devices), 'Wrong ionic route or version') + const devices = installed.devices.map(object).filter(d => d.prepared_sha256 === worker.prepared_sha256) + check(devices.length === 1 && devices[0].device_id === worker.registered_device_id && entry.model_registry_sha256 === worker.registered_model_registry_sha256 + && same(installed.server_sources, worker.server_sources) && same(installed.server_runtime, worker.server_runtime) + && same(installed.fixed_numerical_policy, worker.registered_numerical_policy), 'Ionic registered device/source/policy mismatch') + const definitions = object(catalog.registry).experiments + check(Array.isArray(definitions), 'Missing recorded experiment schema') + const definition = definitions.map(object).find(d => d.id === IONIC_EXPERIMENT && d.version === 1) + check(definition && object(definition.parameter_schema).sha256 === worker.registered_input_schema_sha256, 'Ionic input schema identity mismatch') + const summary = object(worker.ionic_result), expected = object(worker.payloads), species = tuple(summary.ion_species).map(String) + check(summary.schema === 'solarlab.ionic-transient-result.v1' && summary.engine === 'solarlab' && summary.physical_certificate_status === 'not_evaluated' + && (same(species, ['positive']) || same(species, ['positive', 'negative'])), 'Unsupported ionic history scope') + const components: Record = { + carrier_density_m3: ['electron_density_m3', 'hole_density_m3'], ion_density_m3: species.map(s => s + '_ion_density_m3'), + ion_inventory_m2: species.map(s => s + '_ion_inventory_m2'), all_face_current_density_A_m2: currents.map(s => s + '_current_density_A_m2'), + terminal_current_density_A_m2: terminalCurrents.map(s => 'terminal_' + s + '_current_density_A_m2'), + } + const keys = [...Object.keys(IONIC_STORED_UNITS), 'ionic_initial_steady', 'ionic_transient_diagnostics'] + check(same(Object.keys(expected).sort(), keys.sort()) && attempt.terminal.artifacts.length === 16, 'Incomplete ionic artifact roles') + const storedArrays: Record = {}, names = new Set(), hashes: Record = {} + let manifestJson = '', diagnosticsJson = '', initialJson = '' + for (const reference of attempt.terminal.artifacts) { + const artifact = await job.reader.getArtifact(job.target, reference, signal), record = artifact.record.value, name = String(record.name) + check(!names.has(name) && String(record.generation) === String(attempt.generation), 'Duplicate or foreign ionic artifact'); names.add(name) + if (name === 'execution_manifest') { check(record.sha256 === worker.manifest_sha256, 'Wrong execution manifest'); manifestJson = text(artifact.bytes); continue } + const binding = object(expected[name]); hashes[name] = String(record.sha256) + check(binding.sha256 === record.sha256 && binding.format === record.format && same(binding.metadata, record.metadata) + && record.metadata.schema === summary.schema && record.metadata.compiled_identity === summary.compiled_identity, 'Ionic payload binding mismatch') + if (name in IONIC_STORED_UNITS) { + check(record.metadata.unit === IONIC_STORED_UNITS[name] && record.metadata.dtype === (name === 'ion_node_indices' ? ' { const doc = object(roles[name]), bytes = hexBytes(doc.content_hex); check(await digest(bytes) === sha(doc.sha256), 'Manifest role bytes differ'); return object(JSON.parse(text(bytes))) } + const [protocol, preparation, grid, controls] = await Promise.all(['protocol', 'preparation', 'grid', 'numeric_controls'].map(role)) + check(bound.H_input === worker.H_input && bound.H_physics === worker.H_physics && object(bound.engine).name === 'solarlab' + && capture.manifest_sha256 === worker.manifest_sha256 && same(capture.runtime, bound.environment), 'Manifest/runtime identity mismatch') + const sourceBindings: StoredObject = {} + check(Array.isArray(manifest.implementation_content) && Array.isArray(preparation.adapter_sources), 'Missing computation source capture') + for (const raw of [...manifest.implementation_content, ...preparation.adapter_sources]) { const s = object(raw); sourceBindings[String(s.id)] = sha(s.sha256) } + check(same(capture.source_sha256, sourceBindings) && capture.build_source_commit === object(bound.implementation).build_source_commit + && capture.compiled_identity === summary.compiled_identity && preparation.prepared_sha256 === worker.prepared_sha256, 'Actual source/compiled/configuration binding differs') + check(submitted.data.schema === 'solarlab.ionic-transient.worker-request.v1' && submitted.data.engine === 'solarlab' + && submitted.data.prepared_sha256 === worker.prepared_sha256 && same(submitted.data.protocol, protocol) + && same(submitted.data.grid, grid) && same(submitted.data.controls, controls), 'Original ionic request differs from manifest') + const arrays: Record = {}, units: Record = {} + for (const [name, pack] of Object.entries(storedArrays)) { + if (!components[name]) { arrays[name] = pack; units[name] = IONIC_STORED_UNITS[name]; continue } + const labels = components[name]; check(pack.shape[0] === labels.length, 'Wrong packed component count') + const shape = pack.shape.slice(1), count = shape.reduce((a, b) => a * b, 1) + labels.forEach((key, i) => { arrays[key] = { shape, values: pack.values.slice(i * count, (i + 1) * count) }; units[key] = IONIC_STORED_UNITS[name] }) + } + const t = arrays.accepted_times_s.values, requested = arrays.requested_times_s.values, n = arrays.nodes_m.values.length, m = arrays.ion_node_indices.values.length, count = t.length + check(requested.length >= 2 && count <= requested.length && t.every((v, i) => Object.is(v, requested[i])) + && requested.every((v, i) => !i || v > requested[i - 1]) && n >= 3 && m >= 2, 'Invalid accepted ionic prefix/grid') + check(arrays.nodes_m.values.every((v, i, a) => !i || v > a[i - 1]) && arrays.ion_node_indices.values.every((v, i, a) => + Number.isSafeInteger(v) && v >= 0 && v < n && (!i || v === a[i - 1] + 1)), 'Invalid ionic node mapping') + arrays.ion_nodes_m = { shape: [m], values: arrays.ion_node_indices.values.map(i => arrays.nodes_m.values[i]) }; units.ion_nodes_m = 'm' + const raw = object(JSON.parse(diagnosticsJson)), history = raw.history === null ? undefined : object(raw.history) + const compiled = object(raw.compiled_binding), domain = object(compiled.ion_domain), layout = object(compiled.state_layout), model = object(compiled.ion_model) + check(compiled.original_prepared_sha256 === summary.prepared_sha256 && summary.prepared_sha256 === worker.prepared_sha256 + && same(domain.contacts, ['blocking', 'blocking']) && domain.layer === grid.ion_domain_layer + && same(domain.electrical_node_indices, arrays.ion_node_indices.values) && same(domain.cell_measures_m, arrays.ion_cell_measures_m.values) + && arrays.ion_cell_measures_m.values.every(v => v > 0) && layout.size === raw.state_size + && layout.electrical_node_count === n && layout.ion_node_count === m && same(layout.ion_species ?? ['positive'], species) + && summary.ion_site_contract === (model.site_contract ?? 'independent_finite_sites'), 'Compiled ionic domain/layout differs') + for (const name of ['face_diffusivity_m2_s', ...(species.length === 2 ? ['negative_face_diffusivity_m2_s'] : [])]) { + check(Array.isArray(model[name]) && model[name].length === m - 1 && model[name].every(v => typeof v === 'number' && Number.isFinite(v) && v > 0), 'Only positive diffusivity is supported') + } + for (const name of ['nodes_m', 'ion_nodes_m', 'ion_node_indices', 'ion_cell_measures_m']) { + check(same(rawArray(object(raw.grid)[name], name === 'ion_node_indices' ? ' rawArray(s.u).values) } + units.state_coordinates = 'mixed: first N in V; remaining coordinates dimensionless' + for (const s of species) { + const density = arrays[s + '_ion_density_m3'] + arrays[s + '_ion_cell_inventory_m2'] = { shape: density.shape, values: density.values.map((v, i) => v * arrays.ion_cell_measures_m.values[i % m]) } + units[s + '_ion_cell_inventory_m2'] = 'm^-2' + } + for (const [name, a] of Object.entries(arrays)) { + const shape = name === 'nodes_m' ? [n] : ['ion_nodes_m', 'ion_node_indices', 'ion_cell_measures_m'].includes(name) ? [m] + : name.startsWith('requested_') ? [requested.length] : name === 'accepted_times_s' ? [count] + : name === 'state_coordinates' ? [count, Number(raw.state_size)] : name.includes('current_density') ? [Math.max(0, count - 1), name.startsWith('terminal_') ? 2 : n + 1] + : name.endsWith('_ion_inventory_m2') ? [count] : [count, name.includes('_ion_') ? m : n] + check(same(a.shape, shape) && a.values.length === shape.reduce((a, b) => a * b, 1), 'Ionic logical array shape mismatch') + } + check(same(protocol, { times_s: requested, voltage_V: arrays.requested_voltage_V.values, generation_scale: arrays.requested_generation_scale.values }) + && arrays.requested_generation_scale.values.every(v => v === 0), 'Recorded ionic driving samples differ or are not dark') + const complete = attempt.state === 'succeeded', initial = object(raw.initial), initialDoc = object(JSON.parse(initialJson)) + check(summary.outcome === (complete ? 'completed' : count ? 'partial' : 'initial_failed') && summary.reason === worker.reason + && summary.accepted_count === count && summary.requested_count === requested.length && summary.attempt_count === attempts.length, + 'Terminal state cannot relabel the ionic numerical outcome') + check(complete ? count === requested.length : count < requested.length, 'Incorrect completed/failed ionic prefix') + check(history ? attempts.length === Math.max(0, count - 1) + (complete ? 0 : 1) && attempts.every((a, i) => + a.accepted === (i < count - 1) && a.start_s === requested[i] && a.end_s === requested[i + 1]) : count === 0 && initial.accepted === false, + 'First failure or unattempted tail was lost') + check(capture.initial_artifact_sha256 === hashes.ionic_initial_steady && capture.time_solve_started === initial.accepted + && capture.scope === 'cold_ionic_compile_steady_and_time_in_worker' && capture.prepared_sha256 === worker.prepared_sha256 + && object(initialDoc.summary).accepted === initial.accepted && object(initialDoc.summary).qualification === false + && initial.compiled_identity === summary.compiled_identity && object(initialDoc.summary).compiled_identity === summary.compiled_identity + && same(initial.solver_controls, controls.initial_steady), 'Cold initial evidence differs') + for (const name of ['times_s', 'voltage_V', 'generation_scale']) { + check(same(rawArray(object(raw.protocol)[name]), arrays['requested_' + name]), 'Raw requested protocol differs') + } + if (history) { + check(history.physical_certificate_status === 'not_evaluated' && history.compiled_identity === summary.compiled_identity + && same(history.binding_manifest, raw.compiled_binding) && object(history.initial_provenance).source_sha256 === hashes.ionic_initial_steady + && history.original_prepared_identity === worker.prepared_sha256 && same(rawArray(history.accepted_times_s), arrays.accepted_times_s), 'History initial/source provenance differs') + const initialState = rawArray(object(initial.state).u), words = new Uint8Array(initialState.values.length * 8), wordView = new DataView(words.buffer) + initialState.values.forEach((v, i) => wordView.setFloat64(i * 8, v, true)) + check(same(initialState, rawArray(states[0].u)) && same(capture.initial_state, { dtype: ' a.accepted).forEach((a, i) => { for (const kind of currents) { + const key = kind + '_current_density_A_m2'; check(same(rawArray(object(a.accounting)[key]).values, arrays[key].values.slice(i * (n + 1), (i + 1) * (n + 1))), 'Current accounting differs from producer') + } }) + for (const kind of terminalCurrents) { + const faces = arrays[kind + '_current_density_A_m2'].values, ports = arrays['terminal_' + kind + '_current_density_A_m2'].values + check(ports.every((v, i) => Object.is(v, faces[Math.floor(i / 2) * (n + 1) + (i % 2 ? n : 0)])), 'Terminal current is not an exact port selection') + } + check(arrays.conduction_current_density_A_m2.values.every((v, i) => Object.is(v, arrays.carrier_conduction_current_density_A_m2.values[i] + arrays.ion_conduction_current_density_A_m2.values[i])) + && arrays.total_current_density_A_m2.values.every((v, i) => Object.is(v, arrays.conduction_current_density_A_m2.values[i] + arrays.displacement_current_density_A_m2.values[i])), 'Ionic current components differ from their totals') + } + check(capture.result_sha256 === await digest(new TextEncoder().encode(canonical({ summary, payloads: hashes }))), 'Ionic result digest differs') + if (job.submitted) check(worker.prepared_sha256 === job.submitted.device.preparedSha256 && registry.sha256 === job.submitted.catalog.registry + && same(protocol, { times_s: job.submitted.input.times_s, voltage_V: job.submitted.input.voltage_V, generation_scale: job.submitted.input.generation_scale }), 'Result differs from the submitted device/protocol') + return { state: attempt.state, arrays, storedArrays, units, species, summary, worker, attempts, diagnosticsJson, initialJson, manifestJson, originalJson: snapshot.json } + } +} diff --git a/perovskite-sim/frontend/src/job-stream.ts b/web/src/job-stream.ts similarity index 100% rename from perovskite-sim/frontend/src/job-stream.ts rename to web/src/job-stream.ts diff --git a/perovskite-sim/frontend/src/jv-defect-evidence.ts b/web/src/jv-defect-evidence.ts similarity index 100% rename from perovskite-sim/frontend/src/jv-defect-evidence.ts rename to web/src/jv-defect-evidence.ts diff --git a/perovskite-sim/frontend/src/jv-waveform-controls.test.ts b/web/src/jv-waveform-controls.test.ts similarity index 100% rename from perovskite-sim/frontend/src/jv-waveform-controls.test.ts rename to web/src/jv-waveform-controls.test.ts diff --git a/perovskite-sim/frontend/src/jv-waveform-controls.ts b/web/src/jv-waveform-controls.ts similarity index 100% rename from perovskite-sim/frontend/src/jv-waveform-controls.ts rename to web/src/jv-waveform-controls.ts diff --git a/web/src/main.ts b/web/src/main.ts new file mode 100644 index 00000000..8482ae37 --- /dev/null +++ b/web/src/main.ts @@ -0,0 +1,95 @@ +import './style.css' + +const app = document.querySelector('#app')! + +async function mount() { + const query = new URL(location.href).searchParams + if (query.get('view') === 'steady-2d') { + const { mountSteady2DPanel } = await import('./panels/steady-2d') + app.innerHTML = `

SolarLab

2D steady research

+ Steady J–V + Ion-free transient + Ionic transient + Ionic J–V + Workspace / legacy experiments
` + const host = app.querySelector('#steady-2d')! + host.style.cssText = 'max-width:1300px;margin:auto;padding:20px;overflow:auto;max-height:calc(100vh - 90px)' + const initial = query.get('storeId') && query.get('runId') && query.get('attemptId') + ? { storeId: query.get('storeId')!, runId: query.get('runId')!, attemptId: query.get('attemptId')! } : undefined + const panel = mountSteady2DPanel(host, new URL('/steady-service/', location.origin), initial) + window.addEventListener('pagehide', () => panel.dispose(), { once: true }) + await panel.ready + } else if (query.get('view') === 'ionic-jv') { + const { mountIonicJVPanel } = await import('./panels/ionic-jv') + app.innerHTML = `

SolarLab

Illuminated ionic steady J–V

+ 2D steady + Steady J–V + Ion-free transient + Ionic transient + Workspace / legacy experiments
` + const host = app.querySelector('#ionic-jv')! + host.style.cssText = 'max-width:1300px;margin:auto;padding:20px;overflow:auto;max-height:calc(100vh - 90px)' + const initial = query.get('storeId') && query.get('runId') && query.get('attemptId') + ? { storeId: query.get('storeId')!, runId: query.get('runId')!, attemptId: query.get('attemptId')! } : undefined + const panel = mountIonicJVPanel(host, new URL('/steady-service/', location.origin), initial) + window.addEventListener('pagehide', () => panel.dispose(), { once: true }) + await panel.ready + } else if (query.get('view') === 'ionic-transient') { + const { mountIonicTransientPanel } = await import('./panels/ionic-transient') + app.innerHTML = `

SolarLab

Ionic transient research

+ 2D steady + Steady J–V + Ion-free transient + Ionic J–V + Workspace / legacy experiments
` + const host = app.querySelector('#ionic-transient')! + host.style.cssText = 'max-width:1300px;margin:auto;padding:20px;overflow:auto;max-height:calc(100vh - 90px)' + const initial = query.get('storeId') && query.get('runId') && query.get('attemptId') + ? { storeId: query.get('storeId')!, runId: query.get('runId')!, attemptId: query.get('attemptId')! } : undefined + const panel = mountIonicTransientPanel(host, new URL('/steady-service/', location.origin), initial) + window.addEventListener('pagehide', () => panel.dispose(), { once: true }) + await panel.ready + } else if (query.get('view') === 'transient') { + const { mountTransientPanel } = await import('./panels/transient') + app.innerHTML = `

SolarLab

Ion-free transient research

+ 2D steady + Steady J–V + Ionic transient + Ionic J–V + Workspace / legacy experiments
` + const host = app.querySelector('#transient')! + host.style.cssText = 'max-width:1300px;margin:auto;padding:20px;overflow:auto;max-height:calc(100vh - 90px)' + const initial = query.get('storeId') && query.get('runId') && query.get('attemptId') + ? { storeId: query.get('storeId')!, runId: query.get('runId')!, attemptId: query.get('attemptId')! } : undefined + const panel = mountTransientPanel(host, new URL('/steady-service/', location.origin), initial) + window.addEventListener('pagehide', () => panel.dispose(), { once: true }) + await panel.ready + } else if (query.get('view') === 'steady-jv') { + const { mountSteadyJVPanel } = await import('./panels/steady-jv') + app.innerHTML = `

SolarLab

Steady DC research

+ 2D steady + Transient · new core + Ionic transient + Ionic J–V + Workspace / legacy experiments
` + const host = app.querySelector('#steady-dc')! + host.style.cssText = 'max-width:1300px;margin:auto;padding:20px;overflow:auto;max-height:calc(100vh - 90px)' + const panel = mountSteadyJVPanel(host, new URL('/steady-service/', location.origin)) + window.addEventListener('pagehide', () => panel.dispose(), { once: true }) + await panel.ready + } else { + const { mountWorkstation } = await import('./workstation/shell') + await mountWorkstation(app) + } +} +void mount().catch(error => { + app.replaceChildren() + const message = document.createElement('p'); message.textContent = `Unable to open workspace: ${String(error)}` + const steady = document.createElement('a'); steady.href = '?view=steady-jv'; steady.textContent = 'Open steady J–V (new core)' + const transient = document.createElement('a'); transient.href = '?view=transient'; transient.textContent = 'Open transient (new core)' + const ionic = document.createElement('a'); ionic.href = '?view=ionic-transient'; ionic.textContent = 'Open ionic transient (new core)' + const ionicJV = document.createElement('a'); ionicJV.href = '?view=ionic-jv'; ionicJV.textContent = 'Open ionic J–V (new core)' + const steady2D = document.createElement('a'); steady2D.href = '?view=steady-2d'; steady2D.textContent = 'Open 2D steady (new core)' + app.append(message, steady, transient, ionic, ionicJV, steady2D) + console.error(error) +}) diff --git a/perovskite-sim/frontend/src/number-input.test.ts b/web/src/number-input.test.ts similarity index 100% rename from perovskite-sim/frontend/src/number-input.test.ts rename to web/src/number-input.test.ts diff --git a/perovskite-sim/frontend/src/number-input.ts b/web/src/number-input.ts similarity index 100% rename from perovskite-sim/frontend/src/number-input.ts rename to web/src/number-input.ts diff --git a/perovskite-sim/frontend/src/panels/algorithm.ts b/web/src/panels/algorithm.ts similarity index 100% rename from perovskite-sim/frontend/src/panels/algorithm.ts rename to web/src/panels/algorithm.ts diff --git a/web/src/panels/configuration-preview.test.ts b/web/src/panels/configuration-preview.test.ts new file mode 100644 index 00000000..58837464 --- /dev/null +++ b/web/src/panels/configuration-preview.test.ts @@ -0,0 +1,427 @@ +import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest' +import { ConfigurationPreviewError, previewDeviceConfiguration, previewTandemConfiguration, previewLegacyWire } from '../configuration-client' +import type { ConfigurationPreviewDocument, LegacyWirePreviewDocument } from '../configuration-client' +import { mountConfigurationPreviewPanel } from './configuration-preview' +import type { ConfigurationPreviewPanel, ConfigurationPreviewSelection } from './configuration-preview' + +vi.mock('../configuration-client', async importOriginal => ({ + ...await importOriginal(), + previewDeviceConfiguration: vi.fn(), previewTandemConfiguration: vi.fn(), previewLegacyWire: vi.fn(), +})) + +const panels: ConfigurationPreviewPanel[] = [] +let blobs: Map +let downloads: { url: string; name: string }[] +const makeURL = vi.fn((_blob: Blob) => 'blob:unconfigured') +const revokeURL = vi.fn((_url: string) => {}) + +function selection(id = 'device-a'): Extract { + return { endpoint: 'http://127.0.0.1:8123/configuration-preview/device', kind: 'device', input: { + schema_version: 'solarlab.device-preparation.v1', id, source_format: 'canonical', + layers: [], settings: { phi_left: -0, Phi: 0 }, + } } +} + +function tandem(): ConfigurationPreviewSelection { + const cell = selection().input + return { endpoint: 'http://127.0.0.1:9555/configuration-preview/tandem', kind: 'tandem', input: { + schema_version: 'solarlab.tandem-preparation.v1', id: 'tandem-c', source_schema_version: 1, + device_type: 'tandem_2T_monolithic', light_direction: 'top_first', junction_model: 'ideal_ohmic', + top_cell: cell, bottom_cell: cell, top_cell_reference: 'top', bottom_cell_reference: 'bottom', junction_stack: [], + } } +} + +function documentOf(id = 'device-a', kind: 'device' | 'tandem' = 'device'): ConfigurationPreviewDocument { + const value: ConfigurationPreviewDocument['value'] = { + schema: 'solarlab.configuration-preview.v1', kind, status: 'prepared_pending_dependencies', can_execute: false, + input: { id, schema_version: `solarlab.${kind}-preparation.v1`, settings: { phi_left: -0, Phi: 0 }, clear: null }, + resolved: { id, schema: `solarlab.resolved-${kind}-preparation.v1`, can_execute: false, + settings: { phi_left: 0, Phi: 0, T: 300 }, + layers: [{ id: 'layer-a', name: '', + material_parameters: { optical_material: null, mu_n: 0 }, + provenance: [{ parameter: 'mu_n', effective_value: 0, origin: 'layer' }] }], + interfaces: [{ id: 'interface-a', v_n: 0 }], + unknown: { integer: 18446744073709551617n, explicit_null: null, zero: 0 }, + future_rows: [{ first: null }, { second: -0 }], capability_gaps: ['unqualified fixture'], + }, + identity: { scope: 'configuration_content', content_sha256: 'a'.repeat(64), + default_catalog_sha256: 'b'.repeat(64), resource_library_sha256: 'c'.repeat(64) }, + } + // Controlled wire fixture, not a panel serializer or a scientific result. + const json = JSON.stringify(value, (_key, item) => typeof item === 'bigint' ? `fixture-bigint:${item}` + : Object.is(item, -0) ? 'fixture-negative-zero' : item) + .replace(/"fixture-bigint:(-?\d+)"/g, '$1').replace(/"fixture-negative-zero"/g, '-0.0') + '\n' + return { value, json } +} + +function deferred() { + let resolve!: (value: T) => void, reject!: (error: unknown) => void + const promise = new Promise((yes, no) => { resolve = yes; reject = no }) + return { promise, resolve, reject } +} + +function mount(input = selection()) { + const root = document.createElement('div'); document.body.append(root) + const panel = mountConfigurationPreviewPanel(root, input); panels.push(panel) + return { root, panel } +} +function phase(root: HTMLElement) { return root.querySelector('[data-panel]')!.dataset.state } +function button(root: HTMLElement, label: string) { + const found = [...root.querySelectorAll('button')].find(node => node.textContent === label) + if (!found) throw new Error(`Missing button ${label}`) + return found +} +function blobText(blob: Blob): Promise { + return new Promise((resolve, reject) => { + const reader = new FileReader() + reader.onload = () => resolve(String(reader.result)); reader.onerror = () => reject(reader.error) + reader.readAsText(blob) + }) +} + + +function wireSelection() { + return { ...selection(), legacyWire: { + endpoint: 'http://127.0.0.1:8123/configuration-preview/legacy-wire', + source: { id: 'original.yaml', sha256: 'd'.repeat(64) }, references: {}, + } } +} + +// Controlled interaction fixture. Actual API/client/panel bytes are covered by +// test_legacy_wire_preview.py against the loopback service. +function wireDocument(text = '\uFEFF# original\r\nphi_left: -0.0\r\n', supported = true): LegacyWirePreviewDocument { + const value: LegacyWirePreviewDocument['value'] = { + schema: 'solarlab.legacy-wire-preview.v1', kind: 'legacy-wire', + status: supported ? 'prepared_data_only' : 'unsupported', can_execute: false, + input: { id: 'device-a', schema_version: 'solarlab.device-preparation.v1' }, identity: {}, + report: { supported, differences: [{ path: '$.settings.phi_left', after: -0, before: null }], + unsupported: supported ? [] : [{ path: '$.materials', code: 'material_inheritance', message: 'Graph cannot be flattened' }] }, + documents: supported ? [{ role: 'source', reference: null, source_id: 'original.yaml', + sha256: 'e'.repeat(64), size_bytes: text.length, media_type: 'application/yaml', utf8: text }] : [], + } + return { value, json: JSON.stringify(value) } +} + +beforeEach(() => { + vi.clearAllMocks() + blobs = new Map(); downloads = [] + makeURL.mockImplementation(blob => { const key = `blob:preview-${blobs.size}`; blobs.set(key, blob); return key }) + const NativeURL = URL + vi.stubGlobal('URL', class extends NativeURL { + static createObjectURL = makeURL + static revokeObjectURL = revokeURL + }) + vi.spyOn(HTMLAnchorElement.prototype, 'click').mockImplementation(function (this: HTMLAnchorElement) { + downloads.push({ url: this.href, name: this.download }) + }) + vi.mocked(previewDeviceConfiguration).mockImplementation(async (_url, input) => documentOf(input.id)) + vi.mocked(previewTandemConfiguration).mockImplementation(async (_url, input) => documentOf(input.id, 'tandem')) + vi.mocked(previewLegacyWire).mockResolvedValue(wireDocument()) +}) + +afterEach(() => { + for (const panel of panels.splice(0)) panel.dispose() + document.body.replaceChildren() + vi.restoreAllMocks(); vi.unstubAllGlobals() +}) + + +describe('legacy YAML export in the existing configuration panel', () => { + it('snapshots the displayed DTO and source binding before a later export click', async () => { + const selected = wireSelection() + selected.input.description = null + Reflect.set(selected.input, 'constructed_unknown_integer', 18446744073709551617n) + const expected = structuredClone(selected) + const { root, panel } = mount(selected); await panel.ready + selected.input.id = 'mutated-after-display'; selected.input.settings!.phi_left = 7 + selected.legacyWire.source.id = 'mutated.yaml'; selected.legacyWire.endpoint = 'http://127.0.0.1:9999/changed' + Reflect.deleteProperty(selected.input, 'constructed_unknown_integer') + Reflect.set(selected.legacyWire.references, 'new.yaml', { id: 'new', sha256: 'c'.repeat(64) }) + button(root, 'Preview legacy YAML').click(); await panel.wireReady + expect(previewLegacyWire).toHaveBeenCalledWith(expected.legacyWire.endpoint, { + schema_version: 'solarlab.legacy-wire-preview-request.v1', input: expected.input, + source: expected.legacyWire.source, references: expected.legacyWire.references, + }, expect.any(AbortSignal)) + const sent = vi.mocked(previewLegacyWire).mock.calls[0][1] + expect(Object.is((sent.input as typeof selected.input).settings!.phi_left, -0)).toBe(true) + expect(Reflect.get(sent.input, 'constructed_unknown_integer')).toBe(18446744073709551617n) + expect(root.textContent).toContain('Original source: original.yaml') + expect(root.textContent).not.toContain('mutated-after-display') + }) + + it('previews the explicit binding and downloads the verified UTF-8 text without reformatting', async () => { + const selected = wireSelection(), doc = wireDocument(); + vi.mocked(previewLegacyWire).mockResolvedValueOnce(doc) + const { root, panel } = mount(selected); await panel.ready + expect(root.querySelector('[data-section=legacy-wire]')?.getAttribute('data-state')).toBe('idle') + expect(previewLegacyWire).not.toHaveBeenCalled() + button(root, 'Preview legacy YAML').click(); await panel.wireReady + expect(previewLegacyWire).toHaveBeenCalledWith(selected.legacyWire.endpoint, { + schema_version: 'solarlab.legacy-wire-preview-request.v1', input: selected.input, + source: selected.legacyWire.source, references: {}, + }, expect.any(AbortSignal)) + expect(phase(root)).toBe('ready') + expect(root.textContent).toContain('Legacy YAML ready to download') + expect(root.textContent).toContain('Original source: original.yaml') + expect(root.textContent).toContain('Declared changes') + button(root, 'Download legacy YAML').click() + const blob = blobs.get(downloads[0].url)! + // FileReader text drops a leading BOM; verify the actual byte sequence. + const bytes = await new Promise((resolve, reject) => { + const reader = new FileReader() + reader.onload = () => resolve(reader.result as ArrayBuffer); reader.onerror = () => reject(reader.error) + reader.readAsArrayBuffer(blob) + }) + expect([...new Uint8Array(bytes)]).toEqual([...new TextEncoder().encode(doc.value.documents[0].utf8)]) + expect(downloads[0].name).toBe('original.yaml') + button(root, 'Download migration report').click() + expect(await blobText(blobs.get(downloads[1].url)!)).toBe(doc.json) + expect(panel.document?.json).toBe(documentOf().json) + expect(panel.wireDocument?.value.can_execute).toBe(false) + }) + + it('shows field-specific unsupported edits with no YAML download or unsafe markup', async () => { + vi.mocked(previewLegacyWire).mockResolvedValueOnce(wireDocument('', false)) + const { root, panel } = mount(wireSelection()); await panel.ready + button(root, 'Preview legacy YAML').click(); await panel.wireReady + expect(root.querySelector('[data-role=legacy-unsupported]')?.textContent).toContain('$.materials') + expect(root.textContent).toContain('Graph cannot be flattened') + expect(root.querySelector('b')).toBeNull() + expect([...root.querySelectorAll('button')].some(node => node.textContent === 'Download legacy YAML')).toBe(false) + expect(panel.wireDocument?.value.documents).toEqual([]) + expect(phase(root)).toBe('ready') + }) + + it('fences an earlier preview and its detached downloads when refreshing the same selection', async () => { + const pending = deferred() + const { root, panel } = mount(wireSelection()); await panel.ready + button(root, 'Preview legacy YAML').click(); await panel.wireReady + const oldDownload = button(root, 'Download legacy YAML') + vi.mocked(previewLegacyWire).mockReturnValueOnce(pending.promise) + button(root, 'Preview legacy YAML').click(); const obsolete = panel.wireReady + const oldSignal = vi.mocked(previewLegacyWire).mock.calls.at(-1)![2]! + vi.mocked(previewLegacyWire).mockResolvedValueOnce(wireDocument('latest: true\n')) + button(root, 'Preview legacy YAML').click(); await panel.wireReady + expect(oldSignal.aborted).toBe(true) + pending.resolve(wireDocument('obsolete: true\n')); await obsolete + oldDownload.click() + expect(downloads).toHaveLength(0) + expect(panel.wireDocument?.value.documents[0].utf8).toBe('latest: true\n') + }) + + it('cancels only a pending export and ignores its late success', async () => { + const pending = deferred() + vi.mocked(previewLegacyWire).mockReturnValueOnce(pending.promise) + const { root, panel } = mount(wireSelection()); await panel.ready + button(root, 'Preview legacy YAML').click(); const oldReady = panel.wireReady + button(root, 'Cancel legacy preview').click() + expect(vi.mocked(previewLegacyWire).mock.calls[0][2]!.aborted).toBe(true) + pending.resolve(wireDocument()); await oldReady + expect(root.textContent).toContain('Legacy preview request cancelled') + expect(panel.wireDocument).toBeUndefined() + expect(panel.document).toBeDefined() + expect(phase(root)).toBe('ready') + button(root, 'Preview legacy YAML').click(); await panel.wireReady + expect(panel.wireDocument).toBeDefined() + }) + + it('does not carry an old source result or error into a new endpoint/input selection', async () => { + const pending = deferred() + vi.mocked(previewLegacyWire).mockReturnValueOnce(pending.promise) + const { root, panel } = mount(wireSelection()); await panel.ready + button(root, 'Preview legacy YAML').click(); const oldReady = panel.wireReady + const staleControl = button(root, 'Preview legacy YAML') + await panel.select({ ...wireSelection(), input: { ...selection('new-device').input }, + legacyWire: { endpoint: 'http://127.0.0.1:9001/legacy', source: { id: 'new.yaml', sha256: 'c'.repeat(64) } } }) + pending.reject(new Error('stale source failure')); await oldReady + staleControl.click() + expect(previewLegacyWire).toHaveBeenCalledTimes(1) + expect(root.textContent).not.toContain('stale source failure') + expect(root.textContent).toContain('Original source: new.yaml') + expect(panel.wireDocument).toBeUndefined() + }) + + it('keeps source-binding API field errors visible without any candidate', async () => { + vi.mocked(previewLegacyWire).mockRejectedValueOnce(new ConfigurationPreviewError('http', 'HTTP 409', { + status: 409, data: { detail: { field_errors: [{ loc: ['source', 'sha256'], msg: 'original source changed' }] } }, + })) + const { root, panel } = mount(wireSelection()); await panel.ready + button(root, 'Preview legacy YAML').click(); await panel.wireReady + expect(root.textContent).toContain('original source changed') + expect(root.textContent).toContain('sha256') + expect(root.querySelectorAll('[data-role=legacy-document]')).toHaveLength(0) + expect(panel.wireDocument).toBeUndefined() + }) +}) + +describe('configuration preview panel', () => { + it('shows loading and submits exactly the explicit caller selection with an abort signal', async () => { + const pending = deferred() + vi.mocked(previewDeviceConfiguration).mockReturnValue(pending.promise) + const input = selection(), { root, panel } = mount(input) + expect(phase(root)).toBe('loading') + expect(root.textContent).toContain(String(input.endpoint)) + expect(root.textContent).toContain('physical qualification is not established') + expect(previewDeviceConfiguration).toHaveBeenCalledWith(input.endpoint, input.input, expect.any(AbortSignal)) + pending.resolve(documentOf()); await panel.ready + expect(phase(root)).toBe('ready') + }) + + it('displays effective settings, material/interface values and origins without losing unknown values', async () => { + const { root, panel } = mount(); await panel.ready + expect(root.textContent).toContain('prepared_pending_dependencies') + expect(root.textContent).toContain('Execution is unavailable in this preview.') + expect(root.querySelector('[data-field=settings]')?.textContent).toContain('300') + expect(root.querySelector('[data-field=material_parameters]')?.textContent).toContain('optical_material') + expect(root.querySelector('[data-field=provenance]')?.textContent).toContain('effective_value') + expect(root.querySelector('[data-field=interfaces]')?.textContent).toContain('interface-a') + expect(root.querySelector('[data-field=unknown]')?.textContent).toContain('18446744073709551617') + expect(root.querySelector('[data-section=input]')?.textContent).toContain('-0') + expect(root.querySelector('[data-field=future_rows]')?.textContent).toContain('omitted') + expect(root.querySelector('img,script')).toBeNull() + expect(root.textContent).toContain(' { + const doc = documentOf(), { root, panel } = mount(); await panel.ready + expect(root.querySelector('[data-section=original-response] pre')?.textContent).toBe(doc.json) + button(root, 'Download original JSON').click() + expect(downloads).toHaveLength(1) + expect(await blobText(blobs.get(downloads[0].url)!)).toBe(doc.json) + expect(downloads[0].name).toBe('device-device-a-configuration-preview.json') + panel.dispose() + expect(revokeURL).toHaveBeenCalledWith(downloads[0].url) + }) + + it('fences out-of-order input, endpoint and kind changes and old cancel controls', async () => { + const first = deferred(), second = deferred() + const third = deferred() + vi.mocked(previewDeviceConfiguration).mockReturnValueOnce(first.promise).mockReturnValueOnce(second.promise) + vi.mocked(previewTandemConfiguration).mockReturnValueOnce(third.promise) + const { root, panel } = mount(), firstReady = panel.ready + const oldCancel = button(root, 'Cancel preview request') + const secondReady = panel.select({ ...selection('device-b'), endpoint: 'http://127.0.0.1:9001/preview' }) + oldCancel.click() + expect(vi.mocked(previewDeviceConfiguration).mock.calls[0][2]!.aborted).toBe(true) + expect(vi.mocked(previewDeviceConfiguration).mock.calls[1][2]!.aborted).toBe(false) + const latest = panel.select(tandem()) + third.resolve(documentOf('tandem-c', 'tandem')); await latest + first.resolve(documentOf()); second.reject(new Error('late endpoint error')) + await Promise.all([firstReady, secondReady]) + expect(root.textContent).toContain('Configuration: tandem-c (tandem)') + expect(root.textContent).not.toContain('late endpoint error') + expect(root.textContent).not.toContain('device-b') + expect(phase(root)).toBe('ready') + expect(vi.mocked(previewDeviceConfiguration).mock.calls[1][2]!.aborted).toBe(true) + expect(previewTandemConfiguration).toHaveBeenCalledWith(tandem().endpoint, tandem().input, expect.any(AbortSignal)) + }) + + it('refetches changed input even when its id and endpoint stay the same', async () => { + const { root, panel } = mount(); await panel.ready + const next = selection() + if (next.kind === 'device') next.input.settings!.Phi = 123 + const changed = documentOf() + ;(changed.value.resolved.settings as Record).Phi = 123 + vi.mocked(previewDeviceConfiguration).mockResolvedValueOnce(changed) + await panel.select(next) + expect(previewDeviceConfiguration).toHaveBeenCalledTimes(2) + expect(root.querySelector('[data-section=resolved] [data-field=settings]')?.textContent).toContain('123') + }) + + it('cancels only its pending preview and ignores a late success, then permits a new selection', async () => { + const pending = deferred() + vi.mocked(previewDeviceConfiguration).mockReturnValueOnce(pending.promise) + const { root, panel } = mount(), oldReady = panel.ready + button(root, 'Cancel preview request').click() + expect(vi.mocked(previewDeviceConfiguration).mock.calls[0][2]!.aborted).toBe(true) + expect(phase(root)).toBe('cancelled') + pending.resolve(documentOf()); await oldReady + expect(phase(root)).toBe('cancelled') + expect(root.querySelector('pre')).toBeNull() + expect(previewDeviceConfiguration).toHaveBeenCalledTimes(1) + await panel.select(selection('next')) + expect(phase(root)).toBe('ready') + }) + + it.each(['success', 'failure'])('disposal ignores late %s and later selections', async outcome => { + const pending = deferred() + vi.mocked(previewDeviceConfiguration).mockReturnValueOnce(pending.promise) + const { root, panel } = mount(), oldReady = panel.ready + panel.dispose() + expect(vi.mocked(previewDeviceConfiguration).mock.calls[0][2]!.aborted).toBe(true) + if (outcome === 'success') pending.resolve(documentOf()) + else pending.reject(new Error('late disposal error')) + await oldReady; await panel.select(selection('ignored')) + expect(root.childNodes).toHaveLength(0) + expect(previewDeviceConfiguration).toHaveBeenCalledTimes(1) + }) + + it('shows exact structured field paths and unresolved errors with safe text and raw error JSON', async () => { + const raw = '{"detail":{"status":"unresolved","can_execute":false,"field_errors":[{"loc":["layers",0,"parameters","mu_n"],"msg":"","input":null}]}}' + vi.mocked(previewDeviceConfiguration).mockRejectedValueOnce(new ConfigurationPreviewError('http', 'HTTP 422', { + status: 422, data: JSON.parse(raw), json: raw, + })) + const { root, panel } = mount(); await panel.ready + expect(phase(root)).toBe('unresolved') + expect(root.querySelector('[data-role=field-errors]')?.textContent).toContain('["layers", 0, "parameters", "mu_n"]') + expect(root.textContent).toContain('') + expect(root.querySelector('script')).toBeNull() + button(root, 'Download original JSON').click() + expect(await blobText(blobs.get(downloads[0].url)!)).toBe(raw) + }) + + it('shows a transport error without reporting a prepared result or recreating JSON', async () => { + vi.mocked(previewDeviceConfiguration).mockRejectedValueOnce(new TypeError(' connection closed')) + const { root, panel } = mount(); await panel.ready + expect(phase(root)).toBe('error') + expect(root.textContent).toContain(' connection closed') + expect(root.querySelector('img,pre')).toBeNull() + expect(root.textContent).not.toContain('prepared_pending_dependencies') + }) + + it('retains an available non-JSON HTTP error body as response text', async () => { + vi.mocked(previewDeviceConfiguration).mockRejectedValueOnce(new ConfigurationPreviewError('http', 'HTTP 503', { + status: 503, json: 'Unavailable', + })) + const { root, panel } = mount(); await panel.ready + button(root, 'Download original response text').click() + expect(await blobText(blobs.get(downloads[0].url)!)).toBe('Unavailable') + expect(downloads[0].name.endsWith('.txt')).toBe(true) + }) + + it('reports download failure without changing preparation state', async () => { + const { root, panel } = mount(); await panel.ready + makeURL.mockImplementationOnce(() => { throw new Error('download unavailable') }) + button(root, 'Download original JSON').click() + expect(root.textContent).toContain('Download failed: download unavailable') + expect(phase(root)).toBe('ready') + expect(root.querySelector('pre')?.textContent).toBe(documentOf().json) + }) + + it('revokes old download URLs and fences detached download controls on selection changes', async () => { + const { root, panel } = mount(); await panel.ready + const old = button(root, 'Download original JSON'); old.click() + await panel.select(selection('new')) + expect(revokeURL).toHaveBeenCalledWith(downloads[0].url) + old.click() + expect(downloads).toHaveLength(1) + }) + + it('keeps separate mounted panels independent', async () => { + const one = mount(), two = mount(selection('other')) + await Promise.all([one.panel.ready, two.panel.ready]) + one.panel.dispose() + expect(two.root.textContent).toContain('Configuration: other') + expect(phase(two.root)).toBe('ready') + }) + + it('does not clear a replacement panel when old disposal is repeated', async () => { + const first = mount(); await first.panel.ready + first.panel.dispose() + const replacement = mountConfigurationPreviewPanel(first.root, selection('replacement')) + panels.push(replacement); await replacement.ready + first.panel.dispose() + expect(first.root.textContent).toContain('Configuration: replacement') + expect(phase(first.root)).toBe('ready') + }) +}) diff --git a/web/src/panels/configuration-preview.ts b/web/src/panels/configuration-preview.ts new file mode 100644 index 00000000..2fc2e58b --- /dev/null +++ b/web/src/panels/configuration-preview.ts @@ -0,0 +1,347 @@ +import { + ConfigurationPreviewError, previewDeviceConfiguration, previewTandemConfiguration, previewExperimentConfiguration, previewSweepConfiguration, previewLegacyWire, +} from '../configuration-client' +import type { ConfigurationPreviewDocument, LegacyWirePreviewDocument, LegacyWirePreviewRequest, LegacyWireSourceIdentity } from '../configuration-client' +import type { DeviceInput, TandemInput, SpatialExperimentInput, JVExperimentInput, SweepInput } from '../generated/configuration-inputs' + +export interface LegacyWireExportSelection { + endpoint: string | URL + source: LegacyWireSourceIdentity + references?: Readonly> +} + +export type ConfigurationPreviewSelection = { endpoint: string | URL } & ( + { kind: 'device'; input: DeviceInput; legacyWire?: LegacyWireExportSelection } + | { kind: 'tandem'; input: TandemInput; legacyWire?: LegacyWireExportSelection } + | { kind: 'experiment'; input: SpatialExperimentInput | JVExperimentInput } + | { kind: 'sweep'; input: SweepInput } +) + +export interface ConfigurationPreviewPanel { + readonly ready: Promise + readonly document: ConfigurationPreviewDocument | undefined + readonly wireReady: Promise + readonly wireDocument: LegacyWirePreviewDocument | undefined + select(selection: ConfigurationPreviewSelection): Promise + cancel(): void + dispose(): void +} + +interface View { + abort: AbortController + card: HTMLElement + status: HTMLElement + content: HTMLElement + cancel: HTMLButtonElement + filename: string + urls: Map> + document?: ConfigurationPreviewDocument + wireAbort?: AbortController + wireReady?: Promise + wireDocument?: LegacyWirePreviewDocument +} + +function element(tag: K, text?: string) { + const node = document.createElement(tag) + if (text !== undefined) node.textContent = text + return node +} + +function record(value: unknown): value is Record { + return value !== null && typeof value === 'object' && !Array.isArray(value) +} + +function scalar(value: unknown): string { + if (typeof value === 'string') return JSON.stringify(value) // Quote a display scalar only. + if (typeof value === 'bigint') return value.toString() + if (Object.is(value, -0)) return '-0' + return String(value) +} + +function scalarElement(value: unknown) { + const node = element('code', scalar(value)) + if (typeof value !== 'string') node.style.whiteSpace = 'nowrap' + return node +} + +/** Inspect the supplied mappings without interpreting a field as a physical + * quantity. Original JSON is kept separately and is never reconstructed here. */ +function inspect(label: string, value: unknown, open = false): HTMLElement { + if (value === null || typeof value !== 'object') return scalarElement(value) + const details = element('details') + details.className = 'device-settings' + details.dataset.field = label + details.open = open + details.append(element('summary', `${label} (${Array.isArray(value) ? value.length : Object.keys(value).length})`)) + const table = element('table') + table.className = 'param-table mode-table' + const body = element('tbody') + const nested: HTMLElement[] = [] + table.append(body) + const rows = Array.isArray(value) && value.length && value.every(item => record(item) + && Object.values(item).every(part => part === null || typeof part !== 'object')) + ? value as Record[] : undefined + if (rows) { + const keys = [...new Set(rows.flatMap(row => Object.keys(row)))] + const head = element('thead'), line = element('tr') + for (const key of keys) line.append(element('th', key)) + head.append(line); table.prepend(head) + for (const row of rows) { + const line = element('tr') + for (const key of keys) { + const cell = element('td') + cell.append(Object.hasOwn(row, key) ? scalarElement(row[key]) : element('em', 'omitted')) + line.append(cell) + } + body.append(line) + } + } else { + const entries = Object.entries(value) + const first = ['settings', 'layers', 'interfaces', 'contacts', 'top_cell', 'bottom_cell'] + entries.sort(([a], [b]) => (first.includes(a) ? first.indexOf(a) : first.length) + - (first.includes(b) ? first.indexOf(b) : first.length)) + for (const [key, item] of entries) { + if (item !== null && typeof item === 'object') { + nested.push(inspect(key, item, key === 'settings')) + continue + } + const line = element('tr'), name = element('td', key), cell = element('td') + name.dataset.key = key + cell.append(scalarElement(item)) + line.append(name, cell); body.append(line) + } + } + if (!Object.keys(value).length) details.append(element('code', Array.isArray(value) ? '[]' : '{}')) + else { + details.append(...nested) + if (body.childElementCount) { + const scroll = element('div') + scroll.style.overflowX = 'auto' + scroll.append(table); details.append(scroll) + } + } + return details +} + +function message(error: unknown) { + return error instanceof ConfigurationPreviewError ? `${error.code}: ${error.message}` + : error instanceof Error ? error.message : String(error) +} + +export function mountConfigurationPreviewPanel( + root: HTMLElement, initial: ConfigurationPreviewSelection, +): ConfigurationPreviewPanel { + let active: View | undefined + let disposed = false + let ready: Promise + const current = (view: View) => !disposed && active === view && !view.abort.signal.aborted + + function close(view: View | undefined) { + if (!view) return + view.abort.abort() + view.wireAbort?.abort() + for (const [url, timer] of view.urls) { + clearTimeout(timer); URL.revokeObjectURL(url) + } + view.urls.clear() + } + + function state(view: View, phase: string, text: string) { + view.card.dataset.state = phase + view.status.textContent = text + view.status.className = phase === 'error' || phase === 'unresolved' ? 'status error' : 'status' + view.cancel.hidden = phase !== 'loading' + } + + function download(view: View, parent: HTMLElement, text: string, filename: string, mediaType: string, + label: string, isCurrent = () => current(view)) { + const button = element('button', label) + button.type = 'button'; button.className = 'btn btn-ghost' + const error = element('p') + error.className = 'status error'; error.setAttribute('role', 'alert') + button.addEventListener('click', () => { + if (!isCurrent()) return + try { + error.textContent = '' + const url = URL.createObjectURL(new Blob([text], { type: mediaType })) + const timer = setTimeout(() => { URL.revokeObjectURL(url); view.urls.delete(url) }, 1000) + view.urls.set(url, timer) + const anchor = element('a') + anchor.href = url; anchor.download = filename + anchor.hidden = true; root.append(anchor) + try { anchor.click() } finally { anchor.remove() } + } catch (failure) { error.textContent = `Download failed: ${message(failure)}` } + }) + parent.append(button, error) + } + + function original(view: View, json: string, isJson = true) { + const details = element('details') + details.className = 'device-settings' + details.dataset.section = 'original-response' + details.append(element('summary', isJson ? 'Original response JSON' : 'Original response text')) + const pre = element('pre', json) + pre.style.whiteSpace = 'pre-wrap'; pre.style.overflowWrap = 'anywhere' + details.append(pre) + download(view, details, json, `${view.filename}.${isJson ? 'json' : 'txt'}`, + isJson ? 'application/json;charset=utf-8' : 'text/plain;charset=utf-8', + isJson ? 'Download original JSON' : 'Download original response text') + view.content.append(details) + } + + function legacyControls(view: View, selection: Extract) { + const binding = selection.legacyWire + if (!binding) return + const endpoint = String(binding.endpoint) + const request: LegacyWirePreviewRequest = structuredClone({ + schema_version: 'solarlab.legacy-wire-preview-request.v1', input: selection.input, + source: binding.source, references: binding.references ?? {}, + }) + const section = element('section'); section.dataset.section = 'legacy-wire'; section.dataset.state = 'idle' + section.append(element('h4', 'Legacy YAML export'), element('p', `Original source: ${request.source.id}`), + element('p', 'Preview changes before downloading. Export does not run a simulation.')) + const status = element('p', 'Export has not been previewed'); status.setAttribute('role', 'status') + const start = element('button', 'Preview legacy YAML'), stop = element('button', 'Cancel legacy preview') + start.type = stop.type = 'button'; start.className = stop.className = 'btn btn-ghost'; stop.hidden = true + const output = element('div'); section.append(status, start, stop, output); view.card.append(section) + const state = (phase: string, text: string) => { + section.dataset.state = phase; status.textContent = text; stop.hidden = phase !== 'loading' + } + stop.addEventListener('click', () => { + if (!current(view) || !view.wireAbort || section.dataset.state !== 'loading') return + view.wireAbort.abort(); view.wireDocument = undefined; output.replaceChildren() + state('cancelled', 'Legacy preview request cancelled') + }) + async function previewWire() { + if (!current(view)) return + view.wireAbort?.abort() + const abort = new AbortController(); view.wireAbort = abort; view.wireDocument = undefined + const isCurrent = () => current(view) && view.wireAbort === abort && !abort.signal.aborted + output.replaceChildren(); state('loading', 'Checking legacy YAML export…') + try { + const doc = await previewLegacyWire(endpoint, request, abort.signal) + if (!isCurrent()) return + view.wireDocument = doc + state(doc.value.report.supported ? 'ready' : 'unsupported', doc.value.report.supported + ? 'Legacy YAML ready to download' : 'This edit cannot be represented in legacy YAML') + output.append(element('p', 'Export preview only. Simulation is disabled.')) + if (!doc.value.report.supported) { + const fields = element('ul'); fields.dataset.role = 'legacy-unsupported' + for (const issue of doc.value.report.unsupported) fields.append(element('li', `${issue.path}: ${issue.message} (${issue.code})`)) + output.append(fields) + } + output.append(inspect('Declared changes', doc.value.report.differences, true), inspect('Migration details', doc.value.report)) + for (const file of doc.value.documents) { + const main = file.role === 'source' + const details = element('details'); details.dataset.role = 'legacy-document' + details.append(element('summary', main ? 'Legacy configuration YAML' : `Reference: ${file.reference}`)) + const pre = element('pre', file.utf8); pre.style.whiteSpace = 'pre-wrap'; details.append(pre) + const name = (file.reference ?? file.source_id).split(/[\\/]/).at(-1)!.replace(/[^a-z0-9_.-]+/gi, '_') || 'configuration.yaml' + download(view, details, file.utf8, name, 'application/yaml;charset=utf-8', + main ? 'Download legacy YAML' : `Download reference ${file.reference}`, isCurrent) + output.append(details) + } + if (doc.value.documents.length > 1) output.append(element('p', + 'Download the configuration and every reference. Reference paths in the YAML remain unchanged.')) + download(view, output, doc.json, `${view.filename}-legacy-wire.json`, 'application/json;charset=utf-8', 'Download migration report', isCurrent) + } catch (error) { + if (!isCurrent()) return + state('error', 'Legacy export preview failed') + const alert = element('p', message(error)); alert.setAttribute('role', 'alert'); output.append(alert) + if (error instanceof ConfigurationPreviewError && record(error.data) && record(error.data.detail)) { + output.append(inspect('Field errors', error.data.detail.field_errors, true)) + } + } + } + start.addEventListener('click', () => { view.wireReady = previewWire() }) + } + + function cancel() { + const view = active + if (!view || !current(view) || view.card.dataset.state !== 'loading') return + state(view, 'cancelled', 'Preview request cancelled') + view.abort.abort() // Only this fetch is aborted; there is no simulation control API. + view.wireAbort?.abort(); view.wireDocument = undefined + } + + async function select(selection: ConfigurationPreviewSelection) { + close(active); active = undefined + if (disposed) return + const card = element('section') + card.className = 'card'; card.dataset.panel = 'configuration-preview' + card.style.minWidth = '0'; card.style.overflowWrap = 'anywhere' + const endpoint = String(selection.endpoint), id = String(selection.input.id), kind = selection.kind + card.append(element('h3', 'Configuration preview'), element('p', `Configuration: ${id} (${kind})`), + element('p', 'Preparation only. Execution is disabled; physical qualification is not established.')) + const source = element('details') + source.append(element('summary', 'Preview endpoint'), element('p', endpoint)); card.append(source) + const status = element('p'); status.setAttribute('role', 'status'); status.dataset.role = 'preparation-state' + const stop = element('button', 'Cancel preview request') + stop.type = 'button'; stop.className = 'btn btn-ghost' + const content = element('div') + card.append(status, stop, content); root.replaceChildren(card) + const view: View = { abort: new AbortController(), card, status, content, cancel: stop, + filename: `${kind}-${id.replace(/[^a-z0-9_.-]+/gi, '_')}-configuration-preview`, urls: new Map() } + active = view + stop.addEventListener('click', () => { if (current(view)) cancel() }) + state(view, 'loading', 'Loading configuration preview…') + if (selection.kind === 'device' || selection.kind === 'tandem') legacyControls(view, selection) + try { + const doc = selection.kind === 'device' + ? await previewDeviceConfiguration(endpoint, selection.input, view.abort.signal) + : selection.kind === 'tandem' ? await previewTandemConfiguration(endpoint, selection.input, view.abort.signal) + : selection.kind === 'sweep' ? await previewSweepConfiguration(endpoint, selection.input, view.abort.signal) + : await previewExperimentConfiguration(endpoint, selection.input, view.abort.signal) + if (!current(view)) return + view.document = doc + state(view, 'ready', doc.value.status) + const identity = inspect('Current configuration content identity', doc.value.identity) + const displayed = selection.kind === 'sweep' && Array.isArray(doc.value.resolved.points) + ? { ...doc.value.resolved, points: doc.value.resolved.points.map(point => record(point) + ? Object.fromEntries(Object.entries(point).filter(([name]) => name !== 'applied_input')) : point) } + : doc.value.resolved + const effective = inspect('Effective parameters and field origins', displayed, true) + effective.dataset.section = 'resolved' + const input = inspect('Supplied input', doc.value.input) + input.dataset.section = 'input' + content.append(element('p', 'Execution is unavailable in this preview.'), identity, effective, input, + element('p', 'Fields retain their supplied names. Explicit null and -0 remain distinct; omitted input fields are not added.')) + original(view, doc.json) + if (selection.kind === 'sweep') content.append(element('p', 'Each point’s complete applied input is retained in the original response JSON and can be opened in the point preview. No point was simulated.')) + } catch (error) { + if (!current(view)) return + const detail = error instanceof ConfigurationPreviewError && record(error.data) && record(error.data.detail) + ? error.data.detail : undefined + state(view, detail?.status === 'unresolved' ? 'unresolved' : 'error', + detail?.status === 'unresolved' ? 'unresolved' : 'Preview error') + const alert = element('p', message(error)); alert.setAttribute('role', 'alert'); content.append(alert) + if (Array.isArray(detail?.field_errors)) { + const paths = element('ul'); paths.dataset.role = 'field-errors' + for (const field of detail.field_errors) { + if (!record(field)) continue + const path = Array.isArray(field.loc) ? '[' + field.loc.map(scalar).join(', ') + ']' : scalar(field.loc) + paths.append(element('li', `${path}: ${scalar(field.msg)}`)) + } + content.append(paths) + } + if (error instanceof ConfigurationPreviewError) { + if (error.data !== undefined) content.append(inspect('Error details', error.data, true)) + if (error.json !== undefined) original(view, error.json, error.data !== undefined) + } + } + } + + ready = select(initial) + return { + get ready() { return ready }, + get document() { return active && current(active) ? active.document : undefined }, + get wireReady() { return active?.wireReady ?? Promise.resolve() }, + get wireDocument() { return active && current(active) && !active.wireAbort?.signal.aborted ? active.wireDocument : undefined }, + select(selection) { ready = select(selection); return ready }, + cancel, + dispose() { + if (disposed) return + disposed = true; close(active); active = undefined; root.replaceChildren() + }, + } +} diff --git a/perovskite-sim/frontend/src/panels/degradation.ts b/web/src/panels/degradation.ts similarity index 100% rename from perovskite-sim/frontend/src/panels/degradation.ts rename to web/src/panels/degradation.ts diff --git a/perovskite-sim/frontend/src/panels/impedance.ts b/web/src/panels/impedance.ts similarity index 100% rename from perovskite-sim/frontend/src/panels/impedance.ts rename to web/src/panels/impedance.ts diff --git a/web/src/panels/ionic-jv.test.ts b/web/src/panels/ionic-jv.test.ts new file mode 100644 index 00000000..8010c845 --- /dev/null +++ b/web/src/panels/ionic-jv.test.ts @@ -0,0 +1,125 @@ +import { afterEach, beforeAll, beforeEach, expect, it, vi } from 'vitest' +import Plotly from 'plotly.js-basic-dist-min' +import { IonicJVClient } from '../ionic-jv-client' +import type { IonicJVCatalog, IonicJVJob, IonicJVResult } from '../ionic-jv-client' +import { fixtureFetch, savedIonicJVFixture } from '../test-helpers/ionic-jv-fixture.mjs' +import { webcrypto } from '../test-helpers/schema-fixture.mjs' +import type { RunSubscription, StoredDocument, StoredEvent, StreamEnd, TerminalRecord } from '../run-client' +import { mountIonicJVPanel } from './ionic-jv' +import type { IonicJVPanel } from './ionic-jv' + +vi.mock('plotly.js-basic-dist-min', () => ({ default: { newPlot: vi.fn().mockResolvedValue(undefined), purge: vi.fn() } })) +const endpoint = 'http://localhost/steady-service/' +const cursor = { endpoint, storeId: 'store', runId: 'run', attemptId: 'attempt', sequence: '0' } +let catalog: IonicJVCatalog, success: IonicJVResult, partial: IonicJVResult +let panel: IonicJVPanel, root: HTMLElement, job: IonicJVJob, sequence: number +let emit: (event: StoredDocument) => void | Promise, endStream: (end: StreamEnd) => void +let stop: ReturnType +const plot = (name: string) => vi.mocked(Plotly.newPlot).mock.calls.find(([div]) => (div as HTMLElement).dataset.plot === name)! +const button = (text: string) => [...root.querySelectorAll('button')].find(b => b.textContent === text)! +async function event(kind: StoredEvent['kind'], payload = {}) { + await emit({ json: '{}', value: { sequence: ++sequence, kind, run_id: 'run', attempt_id: 'attempt', payload } }) +} +async function submit() { button('Run ionic J–V').click(); await vi.waitFor(() => expect(emit).toBeTypeOf('function')) } +async function finish(state: TerminalRecord['state']) { + await event('terminal', { state, artifacts: [], result: { reason: 'stored reason' } }) + endStream({ reason: 'terminal', cursor }); await panel.completion +} +beforeAll(async () => { + // Layout/lifecycle inputs are decoded genuine producer artifacts, never numerical stand-ins. + vi.stubGlobal('crypto', webcrypto); const fixture = savedIonicJVFixture(); vi.stubGlobal('fetch', fixtureFetch(fixture)) + const client = new IonicJVClient(endpoint); catalog = await client.discover() + const results = [] + for (const target of fixture.targets.slice(0, 2)) results.push((await client.readResult(client.open(target.storeId, target.runId, target.attemptId)))!) + ;[success, partial] = results + vi.unstubAllGlobals() +}) +beforeEach(async () => { + vi.stubGlobal('crypto', webcrypto); vi.clearAllMocks(); vi.mocked(Plotly.newPlot).mockResolvedValue(undefined) + sequence = 0; root = document.createElement('div'); document.body.append(root); stop = vi.fn(); emit = undefined as unknown as typeof emit + const done = new Promise(resolve => { endStream = resolve }) + job = { target: { runId: 'run', attemptId: 'attempt' }, reader: { storeId: 'store', + getAttempt: vi.fn().mockResolvedValue({ value: { state: 'queued', terminal: null } }), + subscribe: vi.fn((_target, callback) => { emit = callback; return { cursor, done, unsubscribe: stop } as RunSubscription }) } as unknown as IonicJVJob['reader'] } + vi.spyOn(IonicJVClient.prototype, 'discover').mockResolvedValue(catalog) + vi.spyOn(IonicJVClient.prototype, 'submit').mockResolvedValue(job) + vi.spyOn(IonicJVClient.prototype, 'open').mockReturnValue(job) + vi.spyOn(IonicJVClient.prototype, 'cancel').mockResolvedValue(undefined) + vi.spyOn(IonicJVClient.prototype, 'readResult').mockResolvedValue(success) + panel = mountIonicJVPanel(root, endpoint); await panel.ready +}) +afterEach(() => { panel.dispose(); root.remove(); vi.restoreAllMocks(); vi.unstubAllGlobals() }) + +it('shows installed fixed controls and plots accepted J-V, species, inventories and steady current terms', async () => { + expect(root.querySelector('[data-role=installed-protocol]')?.textContent).toContain('51 explicit samples') + await submit() + expect(IonicJVClient.prototype.submit).toHaveBeenCalledWith(catalog, catalog.routes[0], 'research_1d_shared', catalog.routes[0].input, expect.stringMatching(/^ionic-jv-/)) + await event('running'); await finish('succeeded') + expect(root.querySelector('[data-role=state]')?.textContent).toBe('succeeded') + expect(root.querySelector('[data-metric=efficiency]')?.textContent).toContain('Unavailable') + expect(root.querySelector('[data-role=counts]')?.textContent).toContain('"total_solver_calls":53') + expect(Plotly.newPlot).toHaveBeenCalledTimes(8) + expect(plot('Accepted J–V samples')[1][0]).toMatchObject({ x: success.arrays.voltage_V.values, y: success.arrays.output_current_A_m2.values }) + expect(plot('Accepted J–V samples')[2]).toMatchObject({ xaxis: { title: { text: 'Accepted voltage (V)' } }, yaxis: { title: { text: 'Output current density (A/m²)' } } }) + expect(plot('Ion densities in space')[1].map(t => t.name)).toEqual(['positive', 'negative']) + expect(plot('Ion densities in space')[1][0].x).toHaveLength(13) + expect(plot('Potential in space')[1][0].x).toHaveLength(37) + expect(plot('Steady currents in space')[1].map(t => t.name)).toEqual(['electronic conduction', 'ionic conduction', 'total conduction']) + expect(plot('Steady currents in space')[1][0].x).toHaveLength(38) + expect(plot('Independent species inventories')[1][0].y).toEqual(success.arrays.positive_ion_inventory_m2.values) + expect(root.querySelector('[data-role=readback-link]')?.href).toContain('view=ionic-jv') +}) + +it('opens and reconnects the genuine failed prefix without submission or relabeling its unattempted tail', async () => { + vi.mocked(IonicJVClient.prototype.readResult).mockResolvedValue(partial) + vi.mocked(job.reader.getAttempt).mockResolvedValue({ value: { state: 'failed', terminal: { state: 'failed', result: { reason: 'wall_budget_exhausted' }, artifacts: [] } } } as never) + vi.mocked(job.reader.subscribe).mockReturnValue({ cursor, unsubscribe: stop, done: Promise.resolve({ reason: 'terminal_acknowledged', cursor }) }) + await panel.openStored({ storeId: 'store', runId: 'run', attemptId: 'attempt' }) + expect(root.querySelector('[data-role=state]')?.textContent).toBe('failed') + expect(root.querySelector('[data-role=first-failure]')?.textContent).toContain('0.225 V (sample 9)') + expect(root.querySelector('[data-role=history-summary]')?.textContent).toContain('Historical process attempt') + expect(root.querySelectorAll('tr[data-outcome=Accepted]')).toHaveLength(9) + expect(root.querySelectorAll('tr[data-outcome=Failed]')).toHaveLength(1) + expect(root.querySelectorAll('tr[data-outcome="Not attempted"]')).toHaveLength(41) + expect(root.querySelector('[data-metric=open_circuit_voltage_V]')?.textContent).toContain('Unavailable') + expect(plot('Accepted J–V samples')[1][0].x).toEqual(partial.arrays.voltage_V.values) + await panel.reconnect(); expect(IonicJVClient.prototype.submit).not.toHaveBeenCalled() + expect(root.querySelector('[data-role=transport]')?.textContent).toContain('terminal_acknowledged') +}) + +it('changes the selected accepted state on its electrical and ionic grids without any new job', async () => { + await submit(); await finish('succeeded') + const select = root.querySelector('[name=accepted_voltage]')! + select.value = '50'; select.dispatchEvent(new Event('change')) + await vi.waitFor(() => expect(Plotly.newPlot).toHaveBeenCalledTimes(13)) + const last = vi.mocked(Plotly.newPlot).mock.calls.filter(([div]) => (div as HTMLElement).dataset.plot === 'Ion densities in space').at(-1)! + expect(last[1][0].y).toEqual(success.arrays.positive_ion_density_m3.values.slice(50 * 13)) + expect(IonicJVClient.prototype.submit).toHaveBeenCalledTimes(1) +}) + +it.each(['failed', 'cancelled'] as const)('keeps %s without a committed payload unavailable', async state => { + vi.mocked(IonicJVClient.prototype.readResult).mockResolvedValue(undefined) + await submit(); await event('running') + if (state === 'cancelled') { + button('Cancel this attempt').click(); await vi.waitFor(() => expect(IonicJVClient.prototype.cancel).toHaveBeenCalledWith(job)) + expect(root.querySelector('[data-role=state]')?.textContent).toBe('running') + } + await finish(state) + expect(root.querySelector('[data-role=state]')?.textContent).toBe(state) + expect(root.textContent).toContain('No ionic J-V curve was committed'); expect(Plotly.newPlot).not.toHaveBeenCalled() +}) + +it('disposes subscriptions and plots without cancelling or resubmitting the runtime job', async () => { + await submit(); panel.dispose(); await event('terminal', { state: 'succeeded', result: {}, artifacts: [] }) + endStream({ reason: 'unsubscribed', cursor }); await panel.completion + expect(stop).toHaveBeenCalled(); expect(IonicJVClient.prototype.cancel).not.toHaveBeenCalled() + expect(Plotly.newPlot).not.toHaveBeenCalled(); expect(root.textContent).toBe('') +}) + +it('leaves readback available when the live installation has no compatible ionic J-V protocol', async () => { + panel.dispose(); vi.mocked(IonicJVClient.prototype.discover).mockResolvedValue({ ...catalog, routes: [] }) + panel = mountIonicJVPanel(root, endpoint); await panel.ready + expect(root.textContent).toContain('No compatible illuminated shared-site ionic J-V protocol') + expect(button('Run ionic J–V').disabled).toBe(true) + expect(IonicJVClient.prototype.submit).not.toHaveBeenCalled() +}) diff --git a/web/src/panels/ionic-jv.ts b/web/src/panels/ionic-jv.ts new file mode 100644 index 00000000..b544f2e4 --- /dev/null +++ b/web/src/panels/ionic-jv.ts @@ -0,0 +1,275 @@ +import Plotly from 'plotly.js-basic-dist-min' +import { baseLayout, axisTitle, plotConfig, PALETTE } from '../plot-theme' +import { IonicJVClient } from '../ionic-jv-client' +import type { IonicJVCatalog, IonicJVJob, IonicJVResult, IonicJVRoute } from '../ionic-jv-client' +import type { RunSubscription, TerminalRecord } from '../run-client' + +export interface StoredIonicJVTarget { storeId: string; runId: string; attemptId: string } +export interface IonicJVPanel { + readonly ready: Promise; readonly completion: Promise + readonly job: IonicJVJob | undefined; readonly result: IonicJVResult | undefined + reconnect(): Promise; openStored(target: StoredIonicJVTarget): Promise; dispose(): void +} + +function element(tag: K, text?: string) { + const node = document.createElement(tag); if (text !== undefined) node.textContent = text; return node +} +const message = (error: unknown) => error instanceof Error ? error.message : String(error) +const terminal = (state: string) => ['succeeded', 'failed', 'cancelled'].includes(state) + +/** A concrete illuminated ionic steady J-V view on the same owner, catalog and stored reader. */ +export function mountIonicJVPanel(root: HTMLElement, endpoint: string | URL, initial?: StoredIonicJVTarget): IonicJVPanel { + const client = new IonicJVClient(endpoint) + let catalog: IonicJVCatalog | undefined, job: IonicJVJob | undefined, result: IonicJVResult | undefined + let subscription: RunSubscription | undefined, phase = 'loading', epoch = 0, disposed = false + let abort = new AbortController(), completion = Promise.resolve() + const displayedEvents = new Set(), plots: HTMLElement[] = [] + const card = element('section'); card.className = 'card'; card.dataset.panel = 'ionic-jv' + card.append(element('h2', 'Illuminated ionic steady J–V · new core'), element('p', + 'Illuminated 1D steady J–V with shared-site positive-diffusivity ions in one blocking domain. Each voltage is a steady state; this is not a time sweep or hysteresis measurement. Physical status: not_evaluated; scientific qualification: false.')) + const form = element('form'), fields = element('fieldset'); fields.style.cssText = 'border:0;padding:0' + const grid = element('div'); grid.className = 'form-grid'; fields.append(grid) + function control(name: string, label: string, input: T, parent: HTMLElement = grid): T { + const wrap = element('label'); wrap.className = 'form-group' + input.name = name; input.setAttribute('aria-label', label); wrap.append(element('span', label), input); parent.append(wrap); return input + } + const routeSelect = control('route', 'Installed ionic J-V protocol', element('select')) + const device = control('device', 'Installed device', element('select')) + const protocolText = element('p'); protocolText.dataset.role = 'installed-protocol' + const policy = element('details'), policyText = element('pre'); policyText.style.cssText = 'white-space:pre-wrap;max-height:300px;overflow:auto' + policy.append(element('summary', 'Explicit voltage samples, initialization and full controls'), policyText) + const bounds = element('p'), run = element('button', 'Run ionic J–V'); run.type = 'submit'; run.className = 'btn btn-primary' + fields.append(protocolText, policy, bounds, run); fields.disabled = true; form.append(fields) + function button(text: string) { const b = element('button', text); b.type = 'button'; b.className = 'btn btn-ghost'; return b } + const refresh = button('Refresh installed devices'), cancel = button('Cancel this attempt'), reconnect = button('Reconnect / refresh attempt') + cancel.disabled = reconnect.disabled = true + const state = element('p', 'Loading installed ionic J-V catalog…'); state.dataset.role = 'state'; state.setAttribute('role', 'status') + const transport = element('p'); transport.dataset.role = 'transport'; transport.setAttribute('role', 'status') + const error = element('p'); error.className = 'status error'; error.setAttribute('role', 'alert') + const identity = element('p'); identity.dataset.role = 'attempt'; identity.style.overflowWrap = 'anywhere' + const link = element('a', 'Read this attempt after reload'); link.hidden = true; link.dataset.role = 'readback-link' + const readForm = element('form'), readBox = element('details'); readBox.append(element('summary', 'Open a stored attempt without a new solve')) + const readGrid = element('div'); readGrid.className = 'form-grid'; readForm.append(readGrid) + const stored = {} as Record + for (const [name, label] of [['storeId', 'Store ID'], ['runId', 'Run ID'], ['attemptId', 'Attempt ID']] as const) { + const input = element('input'); input.required = true; stored[name] = control(name, label, input, readGrid) + } + const open = element('button', 'Open stored attempt'); open.type = 'submit'; open.className = 'btn btn-ghost'; readForm.append(open); readBox.append(readForm) + const history = element('ul'); history.dataset.role = 'history' + const eventDetails = element('details'); eventDetails.append(element('summary', 'Persisted run events'), history) + const output = element('div'); output.dataset.role = 'result' + card.append(form, refresh, cancel, reconnect, state, transport, error, identity, link, readBox, eventDetails, output) + root.replaceChildren(card) + + function update(next: string) { + if (terminal(phase) && next !== phase || phase === 'running' && next === 'queued') return + phase = next; card.dataset.state = next; state.textContent = next + const busy = ['submitting', 'queued', 'running'].includes(next) + fields.disabled = busy || !catalog?.routes.length; refresh.disabled = busy + open.disabled = busy; cancel.disabled = !job || !['queued', 'running'].includes(next) + } + function selected(): IonicJVRoute | undefined { return catalog?.routes[Number(routeSelect.value)] } + function devices() { + const route = selected(); device.replaceChildren() + for (const d of route?.devices ?? []) { const option = element('option', d.id); option.value = d.id; device.append(option) } + if (route?.devices.some(d => d.id === 'research_1d_shared')) device.value = 'research_1d_shared' + run.disabled = !route?.devices.length + if (!route) return + protocolText.textContent = `${route.input.voltage_V.length} explicit samples: ${route.input.voltage_V[0]}–${route.input.voltage_V.at(-1)} V; generation scale ${route.input.generation_scale}; incident power unavailable. Shared-site positive and negative ions; blocking domain ${route.domain}.` + bounds.textContent = `${route.input.intervals_per_layer.join(', ')} intervals per layer (37 electrical / 13 ion nodes). Whole-job wall limit: ${catalog!.ceiling.wall_seconds} s. Protocol, initial policy and numerical controls are fixed by this installation.` + policyText.textContent = JSON.stringify(route.input, null, 2) + } + routeSelect.addEventListener('change', devices) + async function discover() { + fields.disabled = true; error.textContent = '' + try { + const found = await client.discover(abort.signal); if (disposed) return + catalog = found; routeSelect.replaceChildren() + found.routes.forEach((r, i) => { const option = element('option', `${r.id} · version ${r.version}`); option.value = String(i); routeSelect.append(option) }) + devices(); fields.disabled = !found.routes.length + if (!job) { phase = 'ready'; update(found.routes.length ? 'ready' : 'unavailable') } + if (!found.routes.length) error.textContent = 'No compatible illuminated shared-site ionic J-V protocol is installed on this service.' + } catch (failure) { + if (!disposed) { error.textContent = `Installed ionic J-V service unavailable: ${message(failure)}`; if (!job) update('unavailable') } + } + } + refresh.addEventListener('click', () => { void discover() }) + function purge() { for (const plot of plots.splice(0)) Plotly.purge(plot); output.replaceChildren() } + function selectJob(active: IonicJVJob) { + job = active; reconnect.disabled = false + const target = { storeId: active.reader.storeId, ...active.target } + for (const key of Object.keys(stored) as (keyof StoredIonicJVTarget)[]) stored[key].value = target[key] + identity.textContent = `Store ${target.storeId} · run ${target.runId} · attempt ${target.attemptId}` + const url = new URL(location.href); url.search = new URLSearchParams({ view: 'ionic-jv', ...target }).toString() + link.href = url.href; link.hidden = false + } + + async function render(data: IonicJVResult, active: IonicJVJob) { + purge() + const a = data.arrays, v = a.voltage_V.values, requested = a.requested_voltage_V.values + const x = a.nodes_m.values, xi = a.ion_nodes_m.values, count = v.length + const summary = element('p', `${count} accepted of ${requested.length} requested voltage samples · ${x.length} electrical / ${xi.length} ionic nodes · ${data.registered ? String(data.worker.registered_device_id) : 'Historical process attempt; original identity retained'}`) + summary.dataset.role = 'history-summary'; output.append(summary) + const metrics = data.summary.metrics as Record, metricBox = element('div'); metricBox.dataset.role = 'metrics' + metricBox.append(element('h3', 'PV metrics from accepted samples')) + const metricTable = element('dl'); metricTable.className = 'form-grid' + for (const [key, label, unit] of [ + ['short_circuit_current_A_m2', 'Short-circuit output current density', 'A/m²'], ['open_circuit_voltage_V', 'Open-circuit voltage', 'V'], + ['maximum_power_W_m2', 'Maximum power density', 'W/m²'], ['fill_factor', 'Fill factor', 'fraction'], ['efficiency', 'PCE', 'fraction'], + ]) { + const value = metrics[key], row = element('div'); row.dataset.metric = key + row.append(element('dt', label), element('dd', typeof value === 'number' && Number.isFinite(value) ? `${value.toPrecision(7)} ${unit}` : 'Unavailable')) + metricTable.append(row) + } + metricBox.append(metricTable, element('p', `PCE is unavailable without incident irradiance. Stored metric limitation: ${String(metrics.limitation)}. Piecewise-linear accepted samples; voltage-grid qualification: not_evaluated.`)) + output.append(metricBox) + const counts = element('p', `Computation counts: ${JSON.stringify(data.summary.computation_counts)}. Scientific qualification: false; physical status: not_evaluated.`) + counts.dataset.role = 'counts'; counts.style.overflowWrap = 'anywhere'; output.append(counts) + const failure = data.summary.first_failure as Record | null + if (failure || !count) { + const failed = element('p', failure ? `First failed voltage: ${String(failure.voltage_V)} V (sample ${String(failure.index)}) · ${String(failure.termination)}. ${String(failure.error ?? '')} Only accepted samples are plotted.` + : `Initialization failed: ${String(data.summary.reason)}. No accepted curve is available.`) + failed.dataset.role = 'first-failure'; output.append(failed) + } + const requestedBox = element('details'); requestedBox.dataset.role = 'requested-protocol' + requestedBox.append(element('summary', 'Requested, accepted, failed and unattempted voltage samples')) + const table = element('table'), thead = element('thead'), tbody = element('tbody'), head = element('tr'); table.className = 'param-table mode-table' + for (const label of ['Voltage (V)', 'Generation scale', 'Stored outcome']) head.append(element('th', label)) + thead.append(head); table.append(thead, tbody) + requested.forEach((voltage, i) => { + const row = element('tr'), outcome = i < count ? 'Accepted' : failure && failure.index === i ? 'Failed' : 'Not attempted' + row.dataset.outcome = outcome + for (const value of [voltage, data.summary.generation_scale, outcome]) row.append(element('td', String(value))) + tbody.append(row) + }) + requestedBox.append(table); output.append(requestedBox) + output.append(element('p', 'Stored current signs are preserved: J–V uses output-positive current; spatial terms retain the producer direction. Electronic, ionic and total currents are steady conduction. No displacement or hysteresis result is inferred.')) + const docs = () => { + for (const [label, content] of [ + ['Recorded source, compiled, initial and runtime identities', () => JSON.stringify(data.worker, null, 2)], + ['Logical arrays, units and ion-domain mapping', () => JSON.stringify({ units: data.units, arrays: data.arrays }, null, 2)], + ['Execution manifest', () => data.manifestJson], ['Exact initial evidence', () => data.initialJson], + ['Raw original attempts (failure tags preserved)', () => data.diagnosticsJson], ['Original stored attempt', () => data.originalJson], + ] as const) { + const details = element('details'), pre = element('pre'); pre.style.cssText = 'white-space:pre-wrap;overflow-wrap:anywhere;max-height:400px;overflow:auto' + details.append(element('summary', label), pre) + details.addEventListener('toggle', () => { if (details.open && !pre.textContent) pre.textContent = content() }) + output.append(details) + } + } + if (!count) { docs(); return } + const selectors = element('div'); selectors.className = 'form-grid'; output.append(selectors) + const sample = control('accepted_voltage', 'Spatial fields at accepted voltage (V)', element('select'), selectors) + v.forEach((value, i) => { const option = element('option', String(value)); option.value = String(i); sample.append(option) }); sample.value = '0' + function plot(title: string) { + const section = element('section'); section.className = 'card'; section.append(element('h3', title)) + const div = element('div'); div.style.height = '310px'; div.dataset.plot = title; section.append(div); output.append(section); plots.push(div); return div + } + const jv = plot('Accepted J–V samples'), inventories = plot('Independent species inventories'), terminals = plot('Steady terminal current terms') + const potential = plot('Potential in space'), carriers = plot('Carrier densities in space'), ions = plot('Ion densities in space') + const cells = plot('Species cell inventories in space'), currents = plot('Steady currents in space') + const colors = [PALETTE.primary, PALETTE.secondary, PALETTE.accent] + const line = (x: number[], y: number[], name: string, color = PALETTE.primary) => + ({ type: 'scatter', mode: 'lines+markers', x, y, name, line: { color, width: 2 }, marker: { size: 4 } }) + function draw(div: HTMLElement, traces: Record[], xlabel: string, ylabel: string) { + return Plotly.newPlot(div, traces, baseLayout({ xaxis: { title: axisTitle(xlabel) }, yaxis: { title: axisTitle(ylabel) } }), plotConfig(`ionic-jv-${active.target.runId}`)) + } + const kinds = ['electronic', 'ionic', 'total'] + async function spatialFields(i: number) { + const row = (name: string, width: number) => a[name].values.slice(i * width, (i + 1) * width) + const faces = [x[0], ...x.slice(1).map((value, j) => (value + x[j]) / 2), x.at(-1)!] + await Promise.all([ + draw(potential, [line(x, row('potential_V', x.length), 'Potential')], 'Position (m)', 'Potential (V)'), + draw(carriers, [line(x, row('electron_density_m3', x.length), 'Electrons'), line(x, row('hole_density_m3', x.length), 'Holes', PALETTE.secondary)], 'Position (m)', 'Density (m⁻³)'), + draw(ions, data.species.map((s, k) => line(xi, row(s + '_ion_density_m3', xi.length), s, colors[k])), 'Ion-domain position (m)', 'Ion density (m⁻³)'), + draw(cells, data.species.map((s, k) => line(xi, row(s + '_ion_cell_inventory_m2', xi.length), s, colors[k])), 'Ion-domain position (m)', 'Cell inventory (m⁻²)'), + draw(currents, kinds.map((s, k) => line(faces, row(s + '_current_density_A_m2', faces.length), s + ' conduction', colors[k])), 'Face / port position (m)', 'Current density (A/m²)'), + ]) + } + sample.addEventListener('change', () => { void spatialFields(Number(sample.value)).catch(failure => { if (!disposed) error.textContent = `Plot failed: ${message(failure)}` }) }) + await Promise.all([ + draw(jv, [line(v, a.output_current_A_m2.values, 'Accepted output current')], 'Accepted voltage (V)', 'Output current density (A/m²)'), + draw(inventories, data.species.map((s, k) => line(v, a[s + '_ion_inventory_m2'].values, s, colors[k])), 'Accepted voltage (V)', 'Domain inventory (m⁻²)'), + draw(terminals, kinds.flatMap((s, k) => [0, 1].map(side => ({ ...line(v, v.map((_, i) => a['terminal_' + s + '_current_density_A_m2'].values[i * 2 + side]), `${side ? 'Right' : 'Left'} ${s}`, colors[k]), line: { color: colors[k], dash: side ? 'dash' : 'solid' } }))), 'Accepted voltage (V)', 'Current density (A/m²)'), + spatialFields(0), + ]) + docs() + } + async function connect(active: IonicJVJob, token: number) { + const current = () => !disposed && token === epoch && job === active + const resume = subscription?.cursor; subscription?.unsubscribe() + const snapshot = await active.reader.getAttempt(active.target, abort.signal); if (!current()) return + update(snapshot.value.state) + async function finish(end: TerminalRecord) { + if (!current()) return + update(end.state) + const worker = end.result.worker_result as Record | undefined + if (end.state !== 'succeeded') error.textContent = `${end.state}: ${String(worker?.detail ?? worker?.reason ?? end.result.reason ?? 'stored terminal')}` + if (!result) { + const data = await client.readResult(active, abort.signal); if (!current()) return + if (data) { await render(data, active); if (current()) result = data } + else output.replaceChildren(element('p', 'No ionic J-V curve was committed for this attempt. Fields and metrics are unavailable; physical status: not_evaluated.')) + } + } + if (snapshot.value.terminal) await finish(snapshot.value.terminal) + if (!current()) return + subscription = active.reader.subscribe(active.target, async doc => { + if (!current()) return + const event = doc.value, sequence = String(event.sequence) + if (!displayedEvents.has(sequence)) { history.append(element('li', `${sequence} · ${event.kind}`)); displayedEvents.add(sequence) } + if (event.kind === 'queued' || event.kind === 'running') update(event.kind) + if (event.kind === 'progress') transport.textContent = 'Worker progress received' + if (event.kind === 'terminal') await finish(event.payload as TerminalRecord) + }, resume) + transport.textContent = 'Following persisted events…' + const end = await subscription.done + if (current()) transport.textContent = end.reason === 'disconnected' + ? 'Event connection lost; reconnect to the same attempt. The job was not cancelled.' : `Event stream: ${end.reason}` + } + function reset() { + ++epoch; subscription?.unsubscribe(); subscription = undefined; abort.abort(); abort = new AbortController() + job = undefined; result = undefined; phase = 'ready'; purge(); displayedEvents.clear(); history.replaceChildren() + error.textContent = ''; transport.textContent = ''; link.hidden = true; reconnect.disabled = true + return epoch + } + async function reconnectRun() { + if (!job || disposed) return + try { await connect(job, ++epoch) } catch (failure) { if (!disposed) error.textContent = `Read failed: ${message(failure)}` } + } + async function openStored(target: StoredIonicJVTarget) { + if (disposed || ['submitting', 'queued', 'running'].includes(phase)) return + const token = reset() + try { const active = client.open(target.storeId.trim(), target.runId.trim(), target.attemptId.trim()); selectJob(active); await connect(active, token) } + catch (failure) { if (!disposed && token === epoch) { error.textContent = `Read failed: ${message(failure)}`; if (!job) update('ready') } } + } + readForm.addEventListener('submit', event => { event.preventDefault(); if (readForm.reportValidity()) completion = openStored({ storeId: stored.storeId.value, runId: stored.runId.value, attemptId: stored.attemptId.value }) }) + reconnect.addEventListener('click', () => { completion = reconnectRun() }) + cancel.addEventListener('click', async () => { + const active = job; if (!active) return + cancel.disabled = true + try { await client.cancel(active); if (!disposed && job === active) transport.textContent = 'Cancellation requested; waiting for the stored terminal.' } + catch (failure) { if (!disposed) { error.textContent = message(failure); cancel.disabled = terminal(phase) } } + }) + async function submit() { + const route = selected(); if (['submitting', 'queued', 'running'].includes(phase) || !catalog || !route || !form.reportValidity()) return + const token = reset(); update('submitting') + const runId = `ionic-jv-${crypto.randomUUID()}`; identity.textContent = `Submitting run ${runId}` + try { + const active = await client.submit(catalog, route, device.value, structuredClone(route.input), runId) + if (disposed || token !== epoch) return + selectJob(active); update('queued'); await connect(active, token) + } catch (failure) { + if (!disposed && token === epoch) { + error.textContent = message(failure) + if (!job) { phase = 'unconfirmed'; update(phase); transport.textContent = 'Submission was not confirmed; no result or automatic retry is assumed.' } + else transport.textContent = 'Stored read failed; reconnect to the same attempt.' + } + } + } + form.addEventListener('submit', event => { event.preventDefault(); completion = submit() }) + const ready = (async () => { await discover(); if (initial && !disposed) await openStored(initial) })() + return { ready, get completion() { return completion }, get job() { return job }, get result() { return result }, + reconnect: reconnectRun, openStored, + dispose() { disposed = true; ++epoch; abort.abort(); subscription?.unsubscribe(); purge(); root.replaceChildren() }, + } +} diff --git a/web/src/panels/ionic-transient.test.ts b/web/src/panels/ionic-transient.test.ts new file mode 100644 index 00000000..02b68b91 --- /dev/null +++ b/web/src/panels/ionic-transient.test.ts @@ -0,0 +1,123 @@ +import { afterEach, beforeEach, expect, it, vi } from 'vitest' +import Plotly from 'plotly.js-basic-dist-min' +import { IonicTransientClient } from '../ionic-transient-client' +import type { IonicJob } from '../ionic-transient-client' +import { catalog, protocol, resultFixture } from '../test-helpers/ionic-transient-fixture' +import type { RunSubscription, StoredDocument, StoredEvent, StreamEnd, TerminalRecord } from '../run-client' +import { mountIonicTransientPanel } from './ionic-transient' +import type { IonicTransientPanel } from './ionic-transient' +import { webcrypto } from '../test-helpers/schema-fixture.mjs' + +vi.mock('plotly.js-basic-dist-min', () => ({ default: { newPlot: vi.fn().mockResolvedValue(undefined), purge: vi.fn() } })) +const cursor = { endpoint: 'http://localhost/steady-service/', storeId: 'store', runId: 'run', attemptId: 'attempt', sequence: '0' } +let panel: IonicTransientPanel, root: HTMLElement, job: IonicJob, sequence: number +let emit: (event: StoredDocument) => void | Promise, endStream: (end: StreamEnd) => void +let stop: ReturnType +function button(text: string) { return [...root.querySelectorAll('button')].find(node => node.textContent === text)! } +async function event(kind: StoredEvent['kind'], payload = {}) { + await emit({ json: '{}', value: { sequence: ++sequence, kind, run_id: 'run', attempt_id: 'attempt', payload } }) +} +async function submit() { button('Run ionic transient').click(); await vi.waitFor(() => expect(emit).toBeTypeOf('function')) } +async function finish(state: TerminalRecord['state']) { + await event('terminal', { state, artifacts: [], result: { reason: 'stored reason' } }) + endStream({ reason: 'terminal', cursor }); await panel.completion +} +const trace = (title: string) => vi.mocked(Plotly.newPlot).mock.calls.find(([div]) => (div as HTMLElement).dataset.plot === title)! +beforeEach(async () => { + vi.stubGlobal('crypto', webcrypto); vi.clearAllMocks(); vi.mocked(Plotly.newPlot).mockResolvedValue(undefined); sequence = 0 + root = document.createElement('div'); document.body.append(root); emit = undefined as unknown as typeof emit; stop = vi.fn() + const done = new Promise(resolve => { endStream = resolve }) + job = { target: { runId: 'run', attemptId: 'attempt' }, reader: { storeId: 'store', + getAttempt: vi.fn().mockResolvedValue({ value: { state: 'queued', terminal: null } }), + subscribe: vi.fn((_target, callback) => { emit = callback; return { cursor, done, unsubscribe: stop } as RunSubscription }) } as unknown as IonicJob['reader'] } + vi.spyOn(IonicTransientClient.prototype, 'discover').mockResolvedValue(catalog) + vi.spyOn(IonicTransientClient.prototype, 'submit').mockResolvedValue(job) + vi.spyOn(IonicTransientClient.prototype, 'open').mockReturnValue(job) + vi.spyOn(IonicTransientClient.prototype, 'cancel').mockResolvedValue(undefined) + vi.spyOn(IonicTransientClient.prototype, 'readResult').mockResolvedValue(resultFixture()) + panel = mountIonicTransientPanel(root, 'http://localhost/steady-service/'); await panel.ready +}) +afterEach(() => { panel.dispose(); root.remove(); vi.restoreAllMocks(); vi.unstubAllGlobals() }) + +it('submits explicit installed arrays, layer intervals and separate initial/transient controls', async () => { + await submit() + expect(IonicTransientClient.prototype.submit).toHaveBeenCalledWith(catalog, catalog.routes[0], 'research_1d_shared', protocol, 30, expect.stringMatching(/^ionic-transient-/)) + expect(root.querySelector('[data-role=state]')?.textContent).toBe('queued') + await event('running'); await finish('succeeded') + expect(root.querySelector('[data-role=state]')?.textContent).toBe('succeeded') + expect(root.querySelector('[data-role=metrics]')?.textContent).toContain('Unknown') + expect(Plotly.newPlot).toHaveBeenCalledTimes(10) + expect(trace('Terminal currents over time')[1][0]).toMatchObject({ x: [.25, .5, .75, 1], y: [-10, -8, -6, -4] }) + expect(trace('Terminal currents over time')[2]).toMatchObject({ yaxis: { title: { text: 'Current density (A/m²)' } } }) + expect(trace('Ion densities in space')[1].map(t => t.name)).toEqual(['positive', 'negative']) + expect(trace('Ion densities in space')[1][0].x).toHaveLength(2) + expect(trace('Potential in space')[1][0].x).toHaveLength(4) + expect(trace('Currents in space')[1][0].x).toEqual([0, .5e-8, 2e-8, (3e-8 + 4e-8) / 2, 4e-8]) + expect(trace('Independent species inventories over time')[1].map(t => t.y)).toEqual([Array(5).fill(60), Array(5).fill(80)]) + expect(root.querySelector('[data-role=readback-link]')?.href).toContain('view=ionic-transient') +}) + +it('opens and reconnects the exact failed attempt GET-only, preserving its unattempted tail', async () => { + vi.mocked(IonicTransientClient.prototype.readResult).mockResolvedValue(resultFixture(true)) + vi.mocked(job.reader.getAttempt).mockResolvedValue({ value: { state: 'failed', terminal: { state: 'failed', result: { reason: 'budget_exhausted' }, artifacts: [] } } } as never) + vi.mocked(job.reader.subscribe).mockReturnValue({ cursor, unsubscribe: stop, done: Promise.resolve({ reason: 'terminal_acknowledged', cursor }) }) + await panel.openStored({ storeId: 'store', runId: 'run', attemptId: 'attempt' }) + expect(IonicTransientClient.prototype.open).toHaveBeenCalledWith('store', 'run', 'attempt') + expect(IonicTransientClient.prototype.submit).not.toHaveBeenCalled() + expect(root.querySelector('[data-role=state]')?.textContent).toBe('failed') + expect(root.querySelector('[data-role=first-failure]')?.textContent).toContain('0.25 → 0.5 s · budget_exhausted') + const rows = [...root.querySelectorAll('[data-role=requested-protocol] tbody tr')].map(r => r.querySelector('td:last-child')?.textContent) + expect(rows).toEqual(['Initial steady accepted', 'Accepted', 'Failed step', 'Not attempted', 'Not attempted']) + expect(trace('Terminal currents over time')[1][0].x).toEqual([.25]) + expect(trace('Terminal currents over time')[2]?.xaxis).toMatchObject({ range: [0, .25] }) + expect(root.textContent).toContain('"$float":"NaN"') + await panel.reconnect(); expect(IonicTransientClient.prototype.submit).not.toHaveBeenCalled() + expect(root.querySelector('[data-role=transport]')?.textContent).toContain('terminal_acknowledged') +}) + +it('changes the ion selector on its own grid and shows no initial displacement sample', async () => { + await submit(); await finish('succeeded') + const ion = root.querySelector('[name=ion_node]')!, time = root.querySelector('[name=accepted_time]')! + expect(ion.options).toHaveLength(2); ion.value = '0'; ion.dispatchEvent(new Event('change')) + time.value = '0'; time.dispatchEvent(new Event('change')) + await vi.waitFor(() => expect(root.querySelector('[data-role=current-time]')?.textContent).toContain('unavailable')) + const currents = vi.mocked(Plotly.newPlot).mock.calls.filter(([div]) => (div as HTMLElement).dataset.plot === 'Currents in space').at(-1)! + expect(currents[1].every(t => (t.x as number[]).length === 0 && (t.y as number[]).length === 0)).toBe(true) +}) + +it.each([0, 1])('renders failed initial/first-step outcomes without fabricated accepted currents (%s states)', async count => { + vi.mocked(IonicTransientClient.prototype.readResult).mockResolvedValue(resultFixture(true, count)) + await submit(); await finish('failed') + if (!count) { + expect(Plotly.newPlot).not.toHaveBeenCalled() + expect(root.textContent).toContain('Initial steady solve failed') + expect(root.querySelector('[data-role=requested-protocol] tbody tr')?.textContent).toContain('Initial steady failed') + } else { + expect(trace('Terminal currents over time')[1].every(t => (t.x as number[]).length === 0)).toBe(true) + expect(root.textContent).toContain('No transient step was accepted') + } +}) + +it('keeps cancellation separate, waits for the terminal and never draws a history', async () => { + vi.mocked(IonicTransientClient.prototype.readResult).mockResolvedValue(undefined) + await submit(); await event('running'); button('Cancel this attempt').click() + await vi.waitFor(() => expect(IonicTransientClient.prototype.cancel).toHaveBeenCalledWith(job)) + expect(root.querySelector('[data-role=state]')?.textContent).toBe('running') + await finish('cancelled') + expect(root.querySelector('[data-role=state]')?.textContent).toBe('cancelled') + expect(root.textContent).toContain('No ionic history was committed'); expect(Plotly.newPlot).not.toHaveBeenCalled() +}) + +it('disposes streams and plots without cancelling an owned runtime job', async () => { + await submit(); panel.dispose(); await event('terminal', { state: 'succeeded', result: {}, artifacts: [] }) + endStream({ reason: 'unsubscribed', cursor }); await panel.completion + expect(stop).toHaveBeenCalled(); expect(IonicTransientClient.prototype.cancel).not.toHaveBeenCalled() + expect(Plotly.newPlot).not.toHaveBeenCalled(); expect(root.textContent).toBe('') +}) + +it('offers no ion-free or legacy fallback when the ionic route is absent', async () => { + panel.dispose(); vi.mocked(IonicTransientClient.prototype.discover).mockResolvedValue({ ...catalog, routes: [] }) + panel = mountIonicTransientPanel(root, 'http://localhost/steady-service/'); await panel.ready + expect(root.textContent).toContain('No compatible dark positive-D ionic transient route') + button('Run ionic transient').click(); expect(IonicTransientClient.prototype.submit).not.toHaveBeenCalled() +}) diff --git a/web/src/panels/ionic-transient.ts b/web/src/panels/ionic-transient.ts new file mode 100644 index 00000000..0eda7a09 --- /dev/null +++ b/web/src/panels/ionic-transient.ts @@ -0,0 +1,320 @@ +import Plotly from 'plotly.js-basic-dist-min' +import { baseLayout, axisTitle, plotConfig, PALETTE } from '../plot-theme' +import { IonicTransientClient, parseIonicSamples } from '../ionic-transient-client' +import type { IonicCatalog, IonicJob, IonicResult, IonicRoute, IonicProtocol } from '../ionic-transient-client' +import type { RunSubscription, TerminalRecord } from '../run-client' + +export interface StoredIonicTransientTarget { storeId: string; runId: string; attemptId: string } +export interface IonicTransientPanel { + readonly ready: Promise; readonly completion: Promise + readonly job: IonicJob | undefined; readonly result: IonicResult | undefined + reconnect(): Promise; openStored(target: StoredIonicTransientTarget): Promise; dispose(): void +} + +function element(tag: K, text?: string) { + const node = document.createElement(tag); if (text !== undefined) node.textContent = text; return node +} +const message = (error: unknown) => error instanceof Error ? error.message : String(error) +const terminal = (state: string) => ['succeeded', 'failed', 'cancelled'].includes(state) + +/** A concrete dark blocking ionic view on the same owner, catalog and stored reader. */ +export function mountIonicTransientPanel(root: HTMLElement, endpoint: string | URL, initial?: StoredIonicTransientTarget): IonicTransientPanel { + const client = new IonicTransientClient(endpoint) + let catalog: IonicCatalog | undefined, job: IonicJob | undefined, result: IonicResult | undefined + let subscription: RunSubscription | undefined, phase = 'loading', epoch = 0, disposed = false + let abort = new AbortController(), completion = Promise.resolve() + const displayedEvents = new Set(), plots: HTMLElement[] = [] + const card = element('section'); card.className = 'card'; card.dataset.panel = 'ionic-transient' + card.append(element('h2', 'Ionic transient · new core'), element('p', + 'Dark 1D ionic time evolution from a cold ionic steady state. Select an installed positive-diffusivity device with one blocking domain. Scientific qualification is false; physical status is not_evaluated.')) + const form = element('form'), fields = element('fieldset'); fields.style.cssText = 'border:0;padding:0' + const grid = element('div'); grid.className = 'form-grid'; fields.append(grid) + function control(name: string, label: string, input: T, parent: HTMLElement = grid): T { + const wrap = element('label'); wrap.className = 'form-group' + input.name = name; input.setAttribute('aria-label', label); wrap.append(element('span', label), input); parent.append(wrap); return input + } + const routeSelect = control('route', 'Installed ionic transient experiment', element('select')) + const device = control('device', 'Installed device', element('select')) + const samples = control('samples', 'Samples: time (s), voltage (V), generation scale — one row per sample', element('textarea'), fields) + samples.rows = 5; samples.required = true; samples.style.cssText = 'width:100%;font-family:monospace;resize:vertical' + samples.value = '0, .002, 0\n.25, .0025, 0\n.5, .003, 0\n.75, .0035, 0\n1, .004, 0' + const budgets = element('details'); budgets.append(element('summary', 'Grid and work budgets')); fields.append(budgets) + const budgetGrid = element('div'); budgetGrid.className = 'form-grid'; budgets.append(budgetGrid) + const intervals = control('intervals_per_layer', 'Intervals per layer (comma-separated)', element('input'), budgetGrid) + intervals.value = '12,12,12'; intervals.required = true + const inputs: Record = {} + for (const [name, label, value, step] of [ + ['wall_seconds', 'Whole-job wall budget (s)', '30', 'any'], + ['inventory_row_node', 'Initial inventory constraint node', '12', '1'], ['initial_wall_s', 'Initial steady wall budget (s)', '30', 'any'], + ['initial_max_iterations', 'Initial steady Newton iterations', '60', '1'], ['initial_max_residual_evaluations', 'Initial residual evaluations', '600', '1'], + ['initial_max_jacobian_evaluations', 'Initial Jacobian evaluations', '60', '1'], ['initial_max_backtracks', 'Initial backtracks per iteration', '24', '1'], + ['max_steps', 'Maximum transient steps', '16', '1'], ['wall_s', 'Transient wall budget (s)', '30', 'any'], + ['max_iterations', 'Newton iterations per step', '50', '1'], ['max_residual_evaluations', 'Residual evaluations per step', '500', '1'], + ['max_jacobian_evaluations', 'Jacobian evaluations per step', '50', '1'], ['max_backtracks', 'Backtracks per iteration', '24', '1'], + ]) { + const input = element('input'); input.type = 'number'; input.value = value; input.step = step; input.required = true + inputs[name] = control(name, label, input, budgetGrid) + } + const bounds = element('p'), run = element('button', 'Run ionic transient'); run.type = 'submit'; run.className = 'btn btn-primary' + const policy = element('details'), policyText = element('pre'); policyText.style.cssText = 'white-space:pre-wrap;max-height:300px;overflow:auto' + policy.append(element('summary', 'Installed fixed numerical policy'), policyText); fields.append(policy) + fields.append(bounds, run); fields.disabled = true; form.append(fields) + function button(text: string) { const b = element('button', text); b.type = 'button'; b.className = 'btn btn-ghost'; return b } + const refresh = button('Refresh installed devices'), cancel = button('Cancel this attempt'), reconnect = button('Reconnect / refresh attempt') + cancel.disabled = reconnect.disabled = true + const state = element('p', 'Loading installed transient catalog…'); state.dataset.role = 'state'; state.setAttribute('role', 'status') + const transport = element('p'); transport.dataset.role = 'transport'; transport.setAttribute('role', 'status') + const error = element('p'); error.className = 'status error'; error.setAttribute('role', 'alert') + const identity = element('p'); identity.dataset.role = 'attempt'; identity.style.overflowWrap = 'anywhere' + const link = element('a', 'Read this attempt after reload'); link.hidden = true; link.dataset.role = 'readback-link' + const readForm = element('form'), readBox = element('details'); readBox.append(element('summary', 'Open a stored attempt without a new solve')) + const readGrid = element('div'); readGrid.className = 'form-grid'; readForm.append(readGrid) + const stored = {} as Record + for (const [name, label] of [['storeId', 'Store ID'], ['runId', 'Run ID'], ['attemptId', 'Attempt ID']] as const) { + const input = element('input'); input.required = true; stored[name] = control(name, label, input, readGrid) + } + const open = element('button', 'Open stored attempt'); open.type = 'submit'; open.className = 'btn btn-ghost'; readForm.append(open); readBox.append(readForm) + const history = element('ul'); history.dataset.role = 'history' + const eventDetails = element('details'); eventDetails.append(element('summary', 'Persisted run events'), history) + const output = element('div'); output.dataset.role = 'result' + card.append(form, refresh, cancel, reconnect, state, transport, error, identity, link, readBox, eventDetails, output) + root.replaceChildren(card) + + function update(next: string) { + if (terminal(phase) && next !== phase || phase === 'running' && next === 'queued') return + phase = next; card.dataset.state = next; state.textContent = next + const busy = ['submitting', 'queued', 'running'].includes(next) + fields.disabled = busy || !catalog?.routes.length; refresh.disabled = busy + open.disabled = busy; cancel.disabled = !job || !['queued', 'running'].includes(next) + } + function selected(): IonicRoute | undefined { return catalog?.routes[Number(routeSelect.value)] } + function devices() { + const route = selected(); device.replaceChildren() + for (const d of route?.devices ?? []) { const option = element('option', d.id); option.value = d.id; device.append(option) } + if (route?.devices.some(d => d.id === 'research_1d_shared')) device.value = 'research_1d_shared' + run.disabled = !route?.devices.length + if (!route) return + for (const [key, input] of Object.entries(inputs)) { + const limit = key === 'wall_seconds' ? { min: .001, max: catalog!.ceiling.wall_seconds } : route.bounds[key as keyof IonicRoute['bounds']] + input.min = String(key.endsWith('wall_s') ? Math.max(.001, limit.min) : limit.min); input.max = String(limit.max) + input.value = String(Math.min(Number(input.value), limit.max)) + } + const b = route.bounds + bounds.textContent = `${b.samples.min}–${b.samples.max} rows; increasing time ${b.times_s.min}–${b.times_s.max} s; voltage ${b.voltage_V.min}–${b.voltage_V.max} V; generation = 0 (dark). ${b.layers.min}–${b.layers.max} layers, ${b.intervals_per_layer.min}–${b.intervals_per_layer.max} intervals each. Blocking domain: ${route.domain}. Solver tolerances are fixed by the installed service.` + policyText.textContent = JSON.stringify(route.policy, null, 2) + } + routeSelect.addEventListener('change', devices) + async function discover() { + fields.disabled = true; error.textContent = '' + try { + const found = await client.discover(abort.signal); if (disposed) return + catalog = found; routeSelect.replaceChildren() + found.routes.forEach((r, i) => { const option = element('option', `${r.id} · version ${r.version}`); option.value = String(i); routeSelect.append(option) }) + devices(); fields.disabled = !found.routes.length + if (!job) { phase = 'ready'; update(found.routes.length ? 'ready' : 'unavailable') } + if (!found.routes.length) error.textContent = 'No compatible dark positive-D ionic transient route is installed on this service.' + } catch (failure) { + if (!disposed) { error.textContent = `Installed transient service unavailable: ${message(failure)}`; if (!job) update('unavailable') } + } + } + refresh.addEventListener('click', () => { void discover() }) + function purge() { for (const plot of plots.splice(0)) Plotly.purge(plot); output.replaceChildren() } + function selectJob(active: IonicJob) { + job = active; reconnect.disabled = false + const target = { storeId: active.reader.storeId, ...active.target } + for (const key of Object.keys(stored) as (keyof StoredIonicTransientTarget)[]) stored[key].value = target[key] + identity.textContent = `Store ${target.storeId} · run ${target.runId} · attempt ${target.attemptId}` + const url = new URL(location.href); url.search = new URLSearchParams({ view: 'ionic-transient', ...target }).toString() + link.href = url.href; link.hidden = false + } + + async function render(data: IonicResult, active: IonicJob) { + purge() + const a = data.arrays, times = a.accepted_times_s.values, x = a.nodes_m.values, xi = a.ion_nodes_m.values, count = times.length + const summary = element('p', `${count} accepted states of ${a.requested_times_s.values.length} requested · ${Math.max(0, count - 1)} accepted steps · ${x.length} electrical / ${xi.length} ionic nodes · ${String(data.worker.registered_device_id)}`) + summary.dataset.role = 'history-summary'; output.append(summary) + const unknown = element('p', 'Voc, fill factor and efficiency: Unknown for this ionic history. Physical status: not_evaluated; scientific qualification: false.') + unknown.dataset.role = 'metrics'; output.append(unknown) + const failure = data.attempts.find(attempt => attempt.accepted === false) + if (failure || !count) { + const failed = element('p', failure + ? `First failed step: ${String(failure.start_s)} → ${String(failure.end_s)} s · ${String(failure.termination)}. Only the accepted prefix is plotted.` + : `Initial steady solve failed: ${String(data.summary.reason)}. No accepted history is available.`) + failed.dataset.role = 'first-failure'; output.append(failed) + } + const requested = element('details'); requested.dataset.role = 'requested-protocol'; requested.open = true + requested.append(element('summary', 'Stored requested protocol')) + const table = element('table'), head = element('tr'), thead = element('thead'), tbody = element('tbody') + table.className = 'param-table mode-table' + for (const label of ['Time (s)', 'Voltage (V)', 'Generation scale', 'Stored outcome']) head.append(element('th', label)) + thead.append(head); table.append(thead, tbody) + a.requested_times_s.values.forEach((time, i) => { + const row = element('tr'), outcome = i === 0 ? count ? 'Initial steady accepted' : 'Initial steady failed' + : i < count ? 'Accepted' : failure && time === failure.end_s ? 'Failed step' : 'Not attempted' + for (const value of [time, a.requested_voltage_V.values[i], a.requested_generation_scale.values[i], outcome]) row.append(element('td', String(value))) + tbody.append(row) + }) + requested.append(table); output.append(requested) + output.append(element('p', 'Stored current signs are preserved. Currents use accepted step end times only; all-face arrays include both ports. Each species has its own density and inventory.')) + const documents = () => { + for (const [label, text] of [ + ['Logical arrays, units, coordinates and ion-domain mapping', JSON.stringify({ units: data.units, arrays: data.arrays }, null, 2)], + ['Recorded source, compiled and initial identities', JSON.stringify(data.worker, null, 2)], + ['Execution manifest', data.manifestJson], ['Cold initial steady evidence', data.initialJson], + ['Raw ionic diagnostics (nonfinite tags preserved)', data.diagnosticsJson], ['Original stored attempt', data.originalJson], + ]) { + const details = element('details'), pre = element('pre', text); pre.style.cssText = 'white-space:pre-wrap;overflow-wrap:anywhere;max-height:400px;overflow:auto' + details.append(element('summary', label), pre); output.append(details) + } + } + if (!count) { documents(); return } + if (count === 1) output.append(element('p', 'No transient step was accepted; current histories are unavailable. Initial steady fields remain readable.')) + const selectors = element('div'); selectors.className = 'form-grid'; output.append(selectors) + const sample = control('accepted_time', 'Spatial fields at accepted time (s)', element('select'), selectors) + times.forEach((t, i) => { const option = element('option', String(t)); option.value = String(i); sample.append(option) }); sample.value = String(count - 1) + const node = control('node', 'Temporal electronic fields at position (m)', element('select'), selectors) + x.forEach((position, i) => { const option = element('option', position.toPrecision(6)); option.value = String(i); node.append(option) }); node.value = String(Math.floor(x.length / 2)) + const ionNode = control('ion_node', 'Temporal ionic fields at position (m)', element('select'), selectors) + xi.forEach((position, i) => { const option = element('option', position.toPrecision(6)); option.value = String(i); ionNode.append(option) }); ionNode.value = String(Math.floor(xi.length / 2)) + const currentTime = element('p'); currentTime.dataset.role = 'current-time'; output.append(currentTime) + function plot(title: string) { + const section = element('section'); section.className = 'card'; section.append(element('h3', title)) + const div = element('div'); div.style.height = '310px'; div.dataset.plot = title + section.append(div); output.append(section); plots.push(div); return div + } + const terminalCurrent = plot('Terminal currents over time'), potentialTime = plot('Potential over time'), densityTime = plot('Carrier densities over time') + const ionTime = plot('Ion densities over time'), inventories = plot('Independent species inventories over time') + const potential = plot('Potential in space'), carriers = plot('Carrier densities in space'), ions = plot('Ion densities in space') + const cells = plot('Species cell inventories in space'), current = plot('Currents in space') + const colors = [PALETTE.primary, PALETTE.secondary, '#6c5ce7', PALETTE.accent, PALETTE.neutral] + const line = (x: number[], y: number[], name: string, color = PALETTE.primary) => + ({ type: 'scatter', mode: 'lines+markers', x, y, name, line: { color, width: 2 }, marker: { size: 4 } }) + function draw(div: HTMLElement, traces: Record[], xlabel: string, ylabel: string) { + const padding = Math.max((a.requested_times_s.values[1] - times[0]) * .05, Number.MIN_VALUE * 8) + const timeRange = count > 1 ? [times[0], times[count - 1]] : [times[0] - padding, times[0] + padding] + return Plotly.newPlot(div, traces, baseLayout({ xaxis: { title: axisTitle(xlabel), ...(xlabel.includes('time') ? { range: timeRange } : {}) }, + yaxis: { title: axisTitle(ylabel) } }), plotConfig(`ionic-transient-${active.target.runId}`)) + } + const kinds = ['conduction', 'displacement', 'total'] as const + const terminalTraces = kinds.flatMap((kind, k) => [0, 1].map(side => ({ + ...line(times.slice(1), times.slice(1).map((_, i) => a[`terminal_${kind}_current_density_A_m2`].values[i * 2 + side]), + `${side === 0 ? 'Left' : 'Right'} ${kind}`, colors[k]), line: { color: colors[k], dash: side ? 'dash' : 'solid' }, + }))) + async function temporalFields(i: number) { + const column = (name: string) => times.map((_, j) => a[name].values[j * x.length + i]) + await Promise.all([ + draw(potentialTime, [line(times, column('potential_V'), 'Potential')], 'Accepted time (s)', 'Potential (V)'), + draw(densityTime, [line(times, column('electron_density_m3'), 'Electrons'), line(times, column('hole_density_m3'), 'Holes', PALETTE.secondary)], 'Accepted time (s)', 'Density (m⁻³)'), + ]) + } + const ionicFields = (i: number) => draw(ionTime, data.species.map((s, k) => + line(times, times.map((_, j) => a[s + '_ion_density_m3'].values[j * xi.length + i]), s, colors[k])), 'Accepted time (s)', 'Ion density (m⁻³)') + async function spatialFields(i: number) { + const row = (name: string, width = x.length) => a[name].values.slice(i * width, (i + 1) * width) + currentTime.textContent = i ? `Current accounting for ${times[i - 1]} → ${times[i]} s.` : 'Currents unavailable at the initial time; no displacement sample is invented.' + const faces = [x[0], ...x.slice(1).map((v, j) => (v + x[j]) / 2), x.at(-1)!] + await Promise.all([ + draw(potential, [line(x, row('potential_V'), 'Potential')], 'Position (m)', 'Potential (V)'), + draw(carriers, [line(x, row('electron_density_m3'), 'Electrons'), line(x, row('hole_density_m3'), 'Holes', PALETTE.secondary)], 'Position (m)', 'Density (m⁻³)'), + draw(ions, data.species.map((s, k) => line(xi, row(s + '_ion_density_m3', xi.length), s, colors[k])), 'Ion-domain position (m)', 'Ion density (m⁻³)'), + draw(cells, data.species.map((s, k) => line(xi, row(s + '_ion_cell_inventory_m2', xi.length), s, colors[k])), 'Ion-domain position (m)', 'Cell inventory (m⁻²)'), + draw(current, ['carrier_conduction', 'ion_conduction', ...kinds].map((kind, k) => + line(i ? faces : [], i ? a[`${kind}_current_density_A_m2`].values.slice((i - 1) * faces.length, i * faces.length) : [], kind.replaceAll('_', ' '), colors[k])), 'Face / port position (m)', 'Current density (A/m²)'), + ]) + } + const plotError = (failure: unknown) => { if (!disposed) error.textContent = `Plot failed: ${message(failure)}` } + sample.addEventListener('change', () => { void spatialFields(Number(sample.value)).catch(plotError) }) + node.addEventListener('change', () => { void temporalFields(Number(node.value)).catch(plotError) }) + ionNode.addEventListener('change', () => { void ionicFields(Number(ionNode.value)).catch(plotError) }) + documents() + await Promise.all([draw(terminalCurrent, terminalTraces, 'Accepted step end time (s)', 'Current density (A/m²)'), + draw(inventories, data.species.map((s, k) => line(times, a[s + '_ion_inventory_m2'].values, s, colors[k])), 'Accepted time (s)', 'Domain inventory (m⁻²)'), + temporalFields(Number(node.value)), ionicFields(Number(ionNode.value)), spatialFields(Number(sample.value))]) + } + + async function connect(active: IonicJob, token: number) { + const current = () => !disposed && token === epoch && job === active + const resume = subscription?.cursor; subscription?.unsubscribe() + const snapshot = await active.reader.getAttempt(active.target, abort.signal); if (!current()) return + update(snapshot.value.state) + async function finish(end: TerminalRecord) { + if (!current()) return + update(end.state) + const worker = end.result.worker_result as Record | undefined + if (end.state !== 'succeeded') error.textContent = `${end.state}: ${String(worker?.detail ?? worker?.reason ?? end.result.reason ?? 'stored terminal')}` + if (!result) { + const data = await client.readResult(active, abort.signal); if (!current()) return + if (data) { await render(data, active); if (current()) result = data } + else output.replaceChildren(element('p', 'No ionic history was committed for this attempt. Fields and metrics are unavailable; physical status: not_evaluated.')) + } + } + if (snapshot.value.terminal) await finish(snapshot.value.terminal) + if (!current()) return + subscription = active.reader.subscribe(active.target, async doc => { + if (!current()) return + const event = doc.value, sequence = String(event.sequence) + if (!displayedEvents.has(sequence)) { history.append(element('li', `${sequence} · ${event.kind}`)); displayedEvents.add(sequence) } + if (event.kind === 'queued' || event.kind === 'running') update(event.kind) + if (event.kind === 'progress') transport.textContent = 'Worker progress received' + if (event.kind === 'terminal') await finish(event.payload as TerminalRecord) + }, resume) + transport.textContent = 'Following persisted events…' + const end = await subscription.done + if (current()) transport.textContent = end.reason === 'disconnected' + ? 'Event connection lost; reconnect to the same attempt. The job was not cancelled.' : `Event stream: ${end.reason}` + } + function reset() { + ++epoch; subscription?.unsubscribe(); subscription = undefined; abort.abort(); abort = new AbortController() + job = undefined; result = undefined; phase = 'ready'; purge(); displayedEvents.clear(); history.replaceChildren() + error.textContent = ''; transport.textContent = ''; link.hidden = true; reconnect.disabled = true + return epoch + } + async function reconnectRun() { + if (!job || disposed) return + try { await connect(job, ++epoch) } catch (failure) { if (!disposed) error.textContent = `Read failed: ${message(failure)}` } + } + async function openStored(target: StoredIonicTransientTarget) { + if (disposed || ['submitting', 'queued', 'running'].includes(phase)) return + const token = reset() + try { const active = client.open(target.storeId.trim(), target.runId.trim(), target.attemptId.trim()); selectJob(active); await connect(active, token) } + catch (failure) { if (!disposed && token === epoch) { error.textContent = `Read failed: ${message(failure)}`; if (!job) update('ready') } } + } + readForm.addEventListener('submit', event => { event.preventDefault(); if (readForm.reportValidity()) completion = openStored({ storeId: stored.storeId.value, runId: stored.runId.value, attemptId: stored.attemptId.value }) }) + reconnect.addEventListener('click', () => { completion = reconnectRun() }) + cancel.addEventListener('click', async () => { + const active = job; if (!active) return + cancel.disabled = true + try { await client.cancel(active); if (!disposed && job === active) transport.textContent = 'Cancellation requested; waiting for the stored terminal.' } + catch (failure) { if (!disposed) { error.textContent = message(failure); cancel.disabled = terminal(phase) } } + }) + async function submit() { + const route = selected(); if (['submitting', 'queued', 'running'].includes(phase) || !catalog || !route || !form.reportValidity()) return + const token = reset(); update('submitting') + const runId = `ionic-transient-${crypto.randomUUID()}`; identity.textContent = `Submitting run ${runId}` + try { + const number = (name: string) => inputs[name].valueAsNumber + const budget = (prefix = '') => ({ max_iterations: number(prefix + 'max_iterations'), + max_residual_evaluations: number(prefix + 'max_residual_evaluations'), + max_jacobian_evaluations: number(prefix + 'max_jacobian_evaluations'), max_backtracks: number(prefix + 'max_backtracks') }) + if (intervals.value.split(',').some(v => !v.trim())) throw Error('Enter one interval count per layer') + const input: IonicProtocol = { ...parseIonicSamples(samples.value), intervals_per_layer: intervals.value.split(',').map(Number), + controls: { initial_steady: { budget: budget('initial_'), inventory_row_node: number('inventory_row_node'), wall_s: number('initial_wall_s') }, + transient: { max_steps: number('max_steps'), wall_s: number('wall_s'), newton_budget: budget() } } } + const active = await client.submit(catalog, route, device.value, input, number('wall_seconds'), runId) + if (disposed || token !== epoch) return + selectJob(active); update('queued'); await connect(active, token) + } catch (failure) { + if (!disposed && token === epoch) { + error.textContent = message(failure) + if (!job) { phase = 'unconfirmed'; update(phase); transport.textContent = 'Submission was not confirmed; no result or automatic retry is assumed.' } + else transport.textContent = 'Stored read failed; reconnect to the same attempt.' + } + } + } + form.addEventListener('submit', event => { event.preventDefault(); completion = submit() }) + const ready = (async () => { await discover(); if (initial && !disposed) await openStored(initial) })() + return { ready, get completion() { return completion }, get job() { return job }, get result() { return result }, + reconnect: reconnectRun, openStored, + dispose() { disposed = true; ++epoch; abort.abort(); subscription?.unsubscribe(); purge(); root.replaceChildren() }, + } +} diff --git a/perovskite-sim/frontend/src/panels/jv.test.ts b/web/src/panels/jv.test.ts similarity index 100% rename from perovskite-sim/frontend/src/panels/jv.test.ts rename to web/src/panels/jv.test.ts diff --git a/perovskite-sim/frontend/src/panels/jv.ts b/web/src/panels/jv.ts similarity index 100% rename from perovskite-sim/frontend/src/panels/jv.ts rename to web/src/panels/jv.ts diff --git a/perovskite-sim/frontend/src/panels/parameters.ts b/web/src/panels/parameters.ts similarity index 100% rename from perovskite-sim/frontend/src/panels/parameters.ts rename to web/src/panels/parameters.ts diff --git a/web/src/panels/steady-2d.test.ts b/web/src/panels/steady-2d.test.ts new file mode 100644 index 00000000..b39045ac --- /dev/null +++ b/web/src/panels/steady-2d.test.ts @@ -0,0 +1,137 @@ +import { afterEach, beforeAll, beforeEach, expect, it, vi } from 'vitest' +import Plotly from 'plotly.js-basic-dist-min' +import { Steady2DClient } from '../steady-2d-client' +import type { Steady2DCatalog, Steady2DJob, Steady2DResult } from '../steady-2d-client' +import { fixtureFetch, savedSteady2DFixture } from '../test-helpers/steady-2d-fixture.mjs' +import { webcrypto } from '../test-helpers/schema-fixture.mjs' +import type { RunSubscription, StoredDocument, StoredEvent, StreamEnd, TerminalRecord } from '../run-client' +import { mountSteady2DPanel } from './steady-2d' +import type { Steady2DPanel } from './steady-2d' + +vi.mock('plotly.js-basic-dist-min', () => ({ default: { newPlot: vi.fn().mockResolvedValue(undefined), purge: vi.fn() } })) +const endpoint = 'http://localhost/steady-service/' +const cursor = { endpoint, storeId: 'store', runId: 'run', attemptId: 'attempt', sequence: '0' } +let catalog: Steady2DCatalog, success: Steady2DResult, partial: Steady2DResult +let panel: Steady2DPanel, root: HTMLElement, job: Steady2DJob, sequence: number +let emit: (event: StoredDocument) => void | Promise, endStream: (end: StreamEnd) => void +let stop: ReturnType +const plot = (name: string) => vi.mocked(Plotly.newPlot).mock.calls.find(([div]) => (div as HTMLElement).dataset.plot === name)! +const button = (text: string) => [...root.querySelectorAll('button')].find(b => b.textContent === text)! +async function event(kind: StoredEvent['kind'], payload = {}) { + await emit({ json: '{}', value: { sequence: ++sequence, kind, run_id: 'run', attempt_id: 'attempt', payload } }) +} +async function submit() { button('Run 2D steady').click(); await vi.waitFor(() => expect(emit).toBeTypeOf('function')) } +async function finish(state: TerminalRecord['state']) { + await event('terminal', { state, artifacts: [], result: { reason: 'stored reason' } }) + endStream({ reason: 'terminal', cursor }); await panel.completion +} +beforeAll(async () => { + // Layout/lifecycle inputs are decoded genuine producer artifacts, never numerical stand-ins. + vi.stubGlobal('crypto', webcrypto); const fixture = savedSteady2DFixture(); vi.stubGlobal('fetch', fixtureFetch(fixture)) + const client = new Steady2DClient(endpoint); catalog = await client.discover() + const results = [] + for (const target of fixture.targets.slice(0, 2)) results.push((await client.readResult(client.open(target.storeId, target.runId, target.attemptId)))!) + ;[success, partial] = results + vi.unstubAllGlobals() +}) +beforeEach(async () => { + vi.stubGlobal('crypto', webcrypto); vi.clearAllMocks(); vi.mocked(Plotly.newPlot).mockResolvedValue(undefined) + sequence = 0; root = document.createElement('div'); document.body.append(root); stop = vi.fn(); emit = undefined as unknown as typeof emit + const done = new Promise(resolve => { endStream = resolve }) + job = { target: { runId: 'run', attemptId: 'attempt' }, reader: { storeId: 'store', + getAttempt: vi.fn().mockResolvedValue({ value: { state: 'queued', terminal: null } }), + subscribe: vi.fn((_target, callback) => { emit = callback; return { cursor, done, unsubscribe: stop } as RunSubscription }) } as unknown as Steady2DJob['reader'] } + vi.spyOn(Steady2DClient.prototype, 'discover').mockResolvedValue(catalog) + vi.spyOn(Steady2DClient.prototype, 'submit').mockResolvedValue(job) + vi.spyOn(Steady2DClient.prototype, 'open').mockReturnValue(job) + vi.spyOn(Steady2DClient.prototype, 'cancel').mockResolvedValue(undefined) + vi.spyOn(Steady2DClient.prototype, 'readResult').mockResolvedValue(success) + panel = mountSteady2DPanel(root, endpoint); await panel.ready +}) +afterEach(() => { panel.dispose(); root.remove(); vi.restoreAllMocks(); vi.unstubAllGlobals() }) + +it('shows installed 2D controls and actual potential, carriers, face and section currents', async () => { + expect(root.querySelector('[data-role=installed-protocol]')?.textContent).toContain('195 full-2D coordinates') + await submit() + expect(Steady2DClient.prototype.submit).toHaveBeenCalledWith(catalog, catalog.routes[0], 'research_2d_uniform', catalog.routes[0].input, expect.stringMatching(/^steady-2d-/)) + await event('running'); await finish('succeeded') + expect(root.querySelector('[data-role=state]')?.textContent).toBe('succeeded') + expect(root.querySelectorAll('tr[data-outcome=Accepted]')).toHaveLength(2) + expect(root.querySelector('[data-role=counts]')?.textContent).toContain('"full_2d_newton_calls":2') + expect(root.querySelector('[data-role=counts]')?.textContent).toContain('PV metrics: unavailable') + expect(Plotly.newPlot).toHaveBeenCalledTimes(5) + expect(plot('2D potential')[1][0].customdata).toEqual(success.arrays.potential_V.values.slice(0, 65)) + expect(plot('2D electron density')[1][0].customdata).toEqual(success.arrays.electron_density_m3.values.slice(0, 65)) + expect(plot('2D hole density')[1][0].customdata).toEqual(success.arrays.hole_density_m3.values.slice(0, 65)) + expect(plot('2D potential')[1][0].x).toEqual(Array.from({ length: 13 }, () => success.arrays.x_m.values.map(v => v * 1e9)).flat()) + expect(plot('2D potential')[1][0].y).toEqual(success.arrays.y_m.values.flatMap(v => Array(5).fill(v * 1e9))) + expect(plot('2D potential')[2]).toMatchObject({ xaxis: { title: { text: 'Lateral x (nm)' } }, yaxis: { title: { text: 'Stack y (nm)' } } }) + expect(plot('Directed face current density')[1][0].customdata).toEqual(success.arrays.face_current_density_A_m2.values.slice(0, 112)) + expect(plot('Terminal and cross-section currents')[1][0].y).toEqual(success.storedArrays.section_terminal_current_A_m.values.slice(0, 14)) + expect(plot('Terminal and cross-section currents')[2]).toMatchObject({ yaxis: { title: { text: 'Current per depth (A/m)' } } }) + expect(root.querySelector('[data-role=readback-link]')?.href).toContain('view=steady-2d') +}) + +it('submits only the explicit selected G1 target with unchanged geometry and controls', async () => { + const select = root.querySelector('[name=generation]')! + select.value = '1'; select.dispatchEvent(new Event('change')); await submit() + expect(Steady2DClient.prototype.submit).toHaveBeenCalledWith(catalog, catalog.routes[0], 'research_2d_uniform', + { ...catalog.routes[0].input, generation_scales: [1] }, expect.any(String)) + endStream({ reason: 'disconnected', cursor }); await panel.completion +}) + +it('reopens and reconnects the historical genuine failure without plotting a candidate or posting', async () => { + vi.mocked(Steady2DClient.prototype.readResult).mockResolvedValue(partial) + vi.mocked(job.reader.getAttempt).mockResolvedValue({ value: { state: 'failed', terminal: { state: 'failed', result: { reason: 'budget_exhausted' }, artifacts: [] } } } as never) + vi.mocked(job.reader.subscribe).mockReturnValue({ cursor, unsubscribe: stop, done: Promise.resolve({ reason: 'terminal_acknowledged', cursor }) }) + await panel.openStored({ storeId: 'store', runId: 'run', attemptId: 'attempt' }) + expect(root.querySelector('[data-role=state]')?.textContent).toBe('failed') + expect(root.querySelector('[data-role=first-failure]')?.textContent).toContain('G = 0 (index 0) · budget_exhausted') + expect(root.querySelector('[data-role=history-summary]')?.textContent).toContain('Historical process attempt') + expect(root.querySelectorAll('tr[data-outcome=Accepted]')).toHaveLength(0) + expect(root.querySelectorAll('tr[data-outcome=Failed]')).toHaveLength(1) + expect(root.querySelectorAll('tr[data-outcome="Not attempted"]')).toHaveLength(1) + expect(root.textContent).toContain('No accepted 2D fields or currents are available') + expect(root.querySelector('[data-role=provenance]')?.textContent).toContain('e73acd0a') + expect(Plotly.newPlot).not.toHaveBeenCalled() + await panel.reconnect(); expect(Steady2DClient.prototype.submit).not.toHaveBeenCalled() + expect(root.querySelector('[data-role=transport]')?.textContent).toContain('terminal_acknowledged') +}) + +it('switches the accepted dark/G1 maps using saved rows with no new request', async () => { + await submit(); await finish('succeeded') + const select = root.querySelector('[name=accepted_target]')! + select.value = '1'; select.dispatchEvent(new Event('change')) + await vi.waitFor(() => expect(Plotly.newPlot).toHaveBeenCalledTimes(10)) + const last = vi.mocked(Plotly.newPlot).mock.calls.filter(([div]) => (div as HTMLElement).dataset.plot === '2D potential').at(-1)! + expect(last[1][0].customdata).toEqual(success.arrays.potential_V.values.slice(65)) + expect(Steady2DClient.prototype.submit).toHaveBeenCalledTimes(1) +}) + +it.each(['failed', 'cancelled'] as const)('keeps %s without committed fields unavailable', async state => { + vi.mocked(Steady2DClient.prototype.readResult).mockResolvedValue(undefined) + await submit(); await event('running') + if (state === 'cancelled') { + button('Cancel this attempt').click(); await vi.waitFor(() => expect(Steady2DClient.prototype.cancel).toHaveBeenCalledWith(job)) + expect(root.querySelector('[data-role=state]')?.textContent).toBe('running') + } + await finish(state) + expect(root.querySelector('[data-role=state]')?.textContent).toBe(state) + expect(root.textContent).toContain('No accepted 2D fields were committed'); expect(Plotly.newPlot).not.toHaveBeenCalled() +}) + +it('leaves historical reads available without a compatible installed route', async () => { + panel.dispose(); vi.mocked(Steady2DClient.prototype.discover).mockResolvedValue({ ...catalog, routes: [] }) + panel = mountSteady2DPanel(root, endpoint); await panel.ready + expect(root.textContent).toContain('No compatible no-grain 2D steady protocol') + expect(button('Run 2D steady').disabled).toBe(true) + expect(Steady2DClient.prototype.submit).not.toHaveBeenCalled() +}) + +it('disposes readers and plots without cancelling or resubmitting the runtime job', async () => { + await submit(); panel.dispose(); await event('terminal', { state: 'succeeded', result: {}, artifacts: [] }) + endStream({ reason: 'unsubscribed', cursor }); await panel.completion + expect(stop).toHaveBeenCalled(); expect(Steady2DClient.prototype.cancel).not.toHaveBeenCalled() + expect(Plotly.newPlot).not.toHaveBeenCalled(); expect(root.textContent).toBe('') +}) + diff --git a/web/src/panels/steady-2d.ts b/web/src/panels/steady-2d.ts new file mode 100644 index 00000000..449b4e85 --- /dev/null +++ b/web/src/panels/steady-2d.ts @@ -0,0 +1,277 @@ +import Plotly from 'plotly.js-basic-dist-min' +import { baseLayout, axisTitle, plotConfig, PALETTE } from '../plot-theme' +import { Steady2DClient } from '../steady-2d-client' +import type { Steady2DCatalog, Steady2DJob, Steady2DResult, Steady2DRoute } from '../steady-2d-client' +import type { RunSubscription, TerminalRecord } from '../run-client' + +export interface StoredSteady2DTarget { storeId: string; runId: string; attemptId: string } +export interface Steady2DPanel { + readonly ready: Promise; readonly completion: Promise + readonly job: Steady2DJob | undefined; readonly result: Steady2DResult | undefined + reconnect(): Promise; openStored(target: StoredSteady2DTarget): Promise; dispose(): void +} + +function element(tag: K, text?: string) { + const node = document.createElement(tag); if (text !== undefined) node.textContent = text; return node +} +const message = (error: unknown) => error instanceof Error ? error.message : String(error) +const terminal = (state: string) => ['succeeded', 'failed', 'cancelled'].includes(state) + +/** Installed full-2D steady fields on the existing catalog, owner and exact-attempt reader. */ +export function mountSteady2DPanel(root: HTMLElement, endpoint: string | URL, initial?: StoredSteady2DTarget): Steady2DPanel { + const client = new Steady2DClient(endpoint) + let catalog: Steady2DCatalog | undefined, job: Steady2DJob | undefined, result: Steady2DResult | undefined + let subscription: RunSubscription | undefined, phase = 'loading', epoch = 0, disposed = false + let abort = new AbortController(), completion = Promise.resolve() + const displayedEvents = new Set(), plots: HTMLElement[] = [] + const card = element('section'); card.className = 'card'; card.dataset.panel = 'steady-2d' + card.append(element('h2', '2D steady fields · new core'), element('p', + 'Uniform no-grain device: 13 stack × 5 lateral nodes, 195 coordinates in the full 2D Newton solve. Fixed 2 mV bias with explicit dark/G1 targets. Scientific qualification: false; physical and mesh status: not_evaluated. PV metrics are unavailable.')) + const form = element('form'), fields = element('fieldset'); fields.style.cssText = 'border:0;padding:0' + const grid = element('div'); grid.className = 'form-grid'; fields.append(grid) + function control(name: string, label: string, input: T, parent: HTMLElement = grid): T { + const wrap = element('label'); wrap.className = 'form-group' + input.name = name; input.setAttribute('aria-label', label); wrap.append(element('span', label), input); parent.append(wrap); return input + } + const routeSelect = control('route', 'Installed 2D steady protocol', element('select')) + const device = control('device', 'Installed device', element('select')) + const generation = control('generation', 'Requested generation targets', element('select')) + const protocolText = element('p'); protocolText.dataset.role = 'installed-protocol' + const policy = element('details'), policyText = element('pre'); policyText.style.cssText = 'white-space:pre-wrap;max-height:300px;overflow:auto' + policy.append(element('summary', 'Installed geometry, cold initialization and full controls'), policyText) + const bounds = element('p'), run = element('button', 'Run 2D steady'); run.type = 'submit'; run.className = 'btn btn-primary' + fields.append(protocolText, policy, bounds, run); fields.disabled = true; form.append(fields) + function button(text: string) { const b = element('button', text); b.type = 'button'; b.className = 'btn btn-ghost'; return b } + const refresh = button('Refresh installed devices'), cancel = button('Cancel this attempt'), reconnect = button('Reconnect / refresh attempt') + cancel.disabled = reconnect.disabled = true + const state = element('p', 'Loading installed 2D steady catalog…'); state.dataset.role = 'state'; state.setAttribute('role', 'status') + const transport = element('p'); transport.dataset.role = 'transport'; transport.setAttribute('role', 'status') + const error = element('p'); error.className = 'status error'; error.setAttribute('role', 'alert') + const identity = element('p'); identity.dataset.role = 'attempt'; identity.style.overflowWrap = 'anywhere' + const link = element('a', 'Read this attempt after reload'); link.hidden = true; link.dataset.role = 'readback-link' + const readForm = element('form'), readBox = element('details'); readBox.append(element('summary', 'Open a stored attempt without a new solve')) + const readGrid = element('div'); readGrid.className = 'form-grid'; readForm.append(readGrid) + const stored = {} as Record + for (const [name, label] of [['storeId', 'Store ID'], ['runId', 'Run ID'], ['attemptId', 'Attempt ID']] as const) { + const input = element('input'); input.required = true; stored[name] = control(name, label, input, readGrid) + } + const open = element('button', 'Open stored attempt'); open.type = 'submit'; open.className = 'btn btn-ghost'; readForm.append(open); readBox.append(readForm) + const history = element('ul'); history.dataset.role = 'history' + const eventDetails = element('details'); eventDetails.append(element('summary', 'Persisted run events'), history) + const output = element('div'); output.dataset.role = 'result' + card.append(form, refresh, cancel, reconnect, state, transport, error, identity, link, readBox, eventDetails, output) + root.replaceChildren(card) + + function update(next: string) { + if (terminal(phase) && next !== phase || phase === 'running' && next === 'queued') return + phase = next; card.dataset.state = next; state.textContent = next + const busy = ['submitting', 'queued', 'running'].includes(next) + fields.disabled = busy || !catalog?.routes.length; refresh.disabled = busy + open.disabled = busy; cancel.disabled = !job || !['queued', 'running'].includes(next) + } + function selected(): Steady2DRoute | undefined { return catalog?.routes[Number(routeSelect.value)] } + function devices() { + const route = selected(); device.replaceChildren(); generation.replaceChildren() + for (const d of route?.devices ?? []) { const option = element('option', d.id); option.value = d.id; device.append(option) } + if (route?.devices.some(d => d.id === 'research_2d_uniform')) device.value = 'research_2d_uniform' + run.disabled = !route?.devices.length + if (!route) return + route.generations.forEach((targets, i) => { + const option = element('option', targets.map(g => g === 0 ? 'Dark (G = 0)' : 'G1 (G = 1)').join(' → ')) + option.value = String(i); generation.append(option) + }) + generation.value = String(route.generations.findIndex(g => g.length === 2)) + protocolText.textContent = '13 × 5 nodes · 195 full-2D coordinates · 2 mV · 1 µm lateral width · insulating lateral boundaries · no grain boundaries.' + bounds.textContent = `Whole-job wall limit: ${catalog!.ceiling.wall_seconds} s. Each requested target uses the installed cold auxiliary preparation followed by a full 2D solve. Auxiliary preparation is reported separately from accepted 2D states.` + policyText.textContent = JSON.stringify(route.input, null, 2) + } + generation.addEventListener('change', () => { + const route = selected(); if (route) policyText.textContent = JSON.stringify({ ...route.input, generation_scales: route.generations[Number(generation.value)] }, null, 2) + }) + routeSelect.addEventListener('change', devices) + async function discover() { + fields.disabled = true; error.textContent = '' + try { + const found = await client.discover(abort.signal); if (disposed) return + catalog = found; routeSelect.replaceChildren() + found.routes.forEach((r, i) => { const option = element('option', `${r.id} · version ${r.version}`); option.value = String(i); routeSelect.append(option) }) + devices(); fields.disabled = !found.routes.length + if (!job) { phase = 'ready'; update(found.routes.length ? 'ready' : 'unavailable') } + if (!found.routes.length) error.textContent = 'No compatible no-grain 2D steady protocol is installed on this service.' + } catch (failure) { + if (!disposed) { error.textContent = `Installed 2D steady service unavailable: ${message(failure)}`; if (!job) update('unavailable') } + } + } + refresh.addEventListener('click', () => { void discover() }) + function purge() { for (const plot of plots.splice(0)) Plotly.purge(plot); output.replaceChildren() } + function selectJob(active: Steady2DJob) { + job = active; reconnect.disabled = false + const target = { storeId: active.reader.storeId, ...active.target } + for (const key of Object.keys(stored) as (keyof StoredSteady2DTarget)[]) stored[key].value = target[key] + identity.textContent = `Store ${target.storeId} · run ${target.runId} · attempt ${target.attemptId}` + const url = new URL(location.href); url.search = new URLSearchParams({ view: 'steady-2d', ...target }).toString() + link.href = url.href; link.hidden = false + } + + async function render(data: Steady2DResult, active: Steady2DJob) { + purge() + const a = data.arrays, count = a.accepted_indices.values.length, nx = a.x_m.values.length, ny = a.y_m.values.length + const summary = element('p', `${count} accepted of ${data.targets.length} requested targets · ${ny} × ${nx} nodes · ${data.registered ? 'Recorded HTTP attempt' : 'Historical process attempt; original source and failure retained'}`) + summary.dataset.role = 'history-summary'; output.append(summary) + const provenance = element('p', `Original computation source: ${String((data.worker.capture as Record).build_source_commit)} · geometry ${String(data.summary.geometry_identity)}`) + provenance.dataset.role = 'provenance'; provenance.style.overflowWrap = 'anywhere'; output.append(provenance) + const counts = element('p', `Computation counts: ${JSON.stringify(data.summary.computation_counts)}. Scientific qualification: false; physical and mesh status: not_evaluated. PV metrics: unavailable.`) + counts.dataset.role = 'counts'; counts.style.overflowWrap = 'anywhere'; output.append(counts) + const failure = data.summary.first_failure as Record | null + if (failure) { + const target = failure.target as Record + const failed = element('p', `First failed target: ${String(target.voltage_V)} V, G = ${String(target.generation_scale)} (index ${String(failure.index)}) · ${String(failure.termination)}. Candidate fields remain unaccepted in the original diagnostics.`) + failed.dataset.role = 'first-failure'; output.append(failed) + } + const table = element('table'), thead = element('thead'), tbody = element('tbody'), head = element('tr'); table.className = 'param-table mode-table' + table.dataset.role = 'requested-targets' + for (const label of ['Bias (V)', 'Generation scale', 'Stored outcome', 'Lower / upper current per depth (A/m)', 'Lower / upper mean current density (A/m²)']) head.append(element('th', label)) + thead.append(head); table.append(thead, tbody) + const format = (v: number) => v.toPrecision(7) + data.targets.forEach((target, i) => { + const row = element('tr'), outcome = i < count ? 'Accepted' : failure && failure.index === i ? 'Failed' : 'Not attempted' + row.dataset.outcome = outcome + const current = (name: string) => i < count ? a[name].values.slice(i * 2, i * 2 + 2).map(format).join(' / ') : 'Unavailable' + for (const value of [target.voltage_V, target.generation_scale, outcome, current('terminal_current_per_depth_A_m'), current('terminal_mean_current_density_A_m2')]) row.append(element('td', String(value))) + tbody.append(row) + }) + const tableBox = element('div'); tableBox.style.overflowX = 'auto'; tableBox.append(table); output.append(tableBox) + output.append(element('p', 'Positions are shown in nm (stored metres × 10⁹), with lateral x and stack y axes. Node maps show actual accepted values without interpolation. Stored current signs are preserved in the positive coordinate direction; integrated currents are A/m of out-of-plane depth, and mean terminal densities are divided by the recorded 1 µm lateral width.')) + const docs = () => { + for (const [label, content] of [ + ['Recorded source, geometry, request and runtime identities', () => JSON.stringify(data.worker, null, 2)], + ['All 22 logical arrays and original units', () => JSON.stringify({ units: data.units, arrays: data.arrays }, null, 2)], + ['Execution manifest', () => data.manifestJson], + ['Original auxiliary and full-2D diagnostics (failed candidate retained)', () => data.diagnosticsJson], + ['Original stored attempt', () => data.originalJson], + ] as const) { + const details = element('details'), pre = element('pre'); pre.style.cssText = 'white-space:pre-wrap;overflow-wrap:anywhere;max-height:400px;overflow:auto' + details.append(element('summary', label), pre) + details.addEventListener('toggle', () => { if (details.open && !pre.textContent) pre.textContent = content() }) + output.append(details) + } + } + if (!count) { output.append(element('p', 'No accepted 2D fields or currents are available. The failed candidate is not plotted as a solution.')); docs(); return } + const selectors = element('div'); selectors.className = 'form-grid'; output.append(selectors) + const sample = control('accepted_target', 'Accepted target shown in maps', element('select'), selectors) + data.targets.slice(0, count).forEach((target, i) => { const option = element('option', `${String(target.voltage_V)} V · G = ${String(target.generation_scale)}`); option.value = String(i); sample.append(option) }) + const plotGrid = element('div'); plotGrid.style.cssText = 'display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,390px),1fr));gap:12px'; output.append(plotGrid) + function plot(title: string) { + const section = element('section'); section.className = 'card'; section.style.minWidth = '0'; section.append(element('h3', title)) + const div = element('div'); div.style.height = '340px'; div.dataset.plot = title; section.append(div); plotGrid.append(section); plots.push(div); return div + } + const potential = plot('2D potential'), electrons = plot('2D electron density'), holes = plot('2D hole density') + const faces = plot('Directed face current density'), sections = plot('Terminal and cross-section currents') + const x = a.x_m.values.map(v => v * 1e9), y = a.y_m.values.map(v => v * 1e9) + const nodeX = y.flatMap(() => x), nodeY = y.flatMap(v => x.map(() => v)) + const mapLayout = (unit: string) => baseLayout({ xaxis: { title: axisTitle('Lateral x (nm)') }, + yaxis: { title: axisTitle('Stack y (nm)'), scaleanchor: 'x', scaleratio: 1 }, margin: { l: 60, r: 90, t: 15, b: 55 }, + showlegend: false, meta: { value_unit: unit } }) + const config = plotConfig(`steady-2d-${active.target.runId}`) + async function spatialFields(i: number) { + const row = (name: string, width: number) => a[name].values.slice(i * width, (i + 1) * width) + const map = (div: HTMLElement, name: string, unit: string) => Plotly.newPlot(div, [{ type: 'scatter', mode: 'markers', x: nodeX, y: nodeY, + customdata: row(name, nx * ny), marker: { symbol: 'square', size: 12, color: row(name, nx * ny), colorscale: 'Viridis', showscale: true, colorbar: { title: { text: unit }, thickness: 12 } }, + hovertemplate: `x %{x:.6g} nm
y %{y:.6g} nm
%{customdata:.7g} ${unit}` }], mapLayout(unit), config) + const current = row('face_current_density_A_m2', 112), pairs = a.face_pairs.values + const faceX = current.map((_, j) => (nodeX[pairs[j * 2]] + nodeX[pairs[j * 2 + 1]]) / 2) + const faceY = current.map((_, j) => (nodeY[pairs[j * 2]] + nodeY[pairs[j * 2 + 1]]) / 2) + const sectionY = [y[0], ...y.slice(1).map((v, j) => (v + y[j]) / 2), y.at(-1)!] + const currentProfile = [a.terminal_current_per_depth_A_m.values[i * 2], ...row('cross_section_current_per_depth_A_m', ny - 1), a.terminal_current_per_depth_A_m.values[i * 2 + 1]] + await Promise.all([ + map(potential, 'potential_V', 'V'), map(electrons, 'electron_density_m3', 'm⁻³'), map(holes, 'hole_density_m3', 'm⁻³'), + Plotly.newPlot(faces, [{ type: 'scatter', mode: 'markers', x: faceX, y: faceY, customdata: current, + text: current.map((_, j) => j < 52 ? '+x face' : '+y face'), + marker: { symbol: current.map((_, j) => j < 52 ? 'diamond' : 'square'), size: 8, color: current, colorscale: 'Viridis', showscale: true, colorbar: { title: { text: 'A/m²' }, thickness: 12 } }, + hovertemplate: '%{text}
x %{x:.6g} nm
y %{y:.6g} nm
%{customdata:.7g} A/m²' }], mapLayout('A/m²'), config), + Plotly.newPlot(sections, [{ type: 'scatter', mode: 'lines+markers', x: sectionY, y: currentProfile, + name: 'Current per depth', line: { color: PALETTE.primary, width: 2 }, marker: { size: 5 } }], + baseLayout({ xaxis: { title: axisTitle('Stack cross-section y (nm)') }, yaxis: { title: axisTitle('Current per depth (A/m)') } }), config), + ]) + } + sample.addEventListener('change', () => { void spatialFields(Number(sample.value)).catch(failure => { if (!disposed) error.textContent = `Plot failed: ${message(failure)}` }) }) + await spatialFields(0); docs() + } + async function connect(active: Steady2DJob, token: number) { + const current = () => !disposed && token === epoch && job === active + const resume = subscription?.cursor; subscription?.unsubscribe() + const snapshot = await active.reader.getAttempt(active.target, abort.signal); if (!current()) return + update(snapshot.value.state) + async function finish(end: TerminalRecord) { + if (!current()) return + update(end.state) + const worker = end.result.worker_result as Record | undefined + if (end.state !== 'succeeded') error.textContent = `${end.state}: ${String(worker?.detail ?? worker?.reason ?? end.result.reason ?? 'stored terminal')}` + if (!result) { + const data = await client.readResult(active, abort.signal); if (!current()) return + if (data) { await render(data, active); if (current()) result = data } + else output.replaceChildren(element('p', 'No accepted 2D fields were committed for this attempt. Fields and PV metrics are unavailable; physical status: not_evaluated.')) + } + } + if (snapshot.value.terminal) await finish(snapshot.value.terminal) + if (!current()) return + subscription = active.reader.subscribe(active.target, async doc => { + if (!current()) return + const event = doc.value, sequence = String(event.sequence) + if (!displayedEvents.has(sequence)) { history.append(element('li', `${sequence} · ${event.kind}`)); displayedEvents.add(sequence) } + if (event.kind === 'queued' || event.kind === 'running') update(event.kind) + if (event.kind === 'progress') transport.textContent = 'Worker progress received' + if (event.kind === 'terminal') await finish(event.payload as TerminalRecord) + }, resume) + transport.textContent = 'Following persisted events…' + const end = await subscription.done + if (current()) transport.textContent = end.reason === 'disconnected' + ? 'Event connection lost; reconnect to the same attempt. The job was not cancelled.' : `Event stream: ${end.reason}` + } + function reset() { + ++epoch; subscription?.unsubscribe(); subscription = undefined; abort.abort(); abort = new AbortController() + job = undefined; result = undefined; phase = 'ready'; purge(); displayedEvents.clear(); history.replaceChildren() + error.textContent = ''; transport.textContent = ''; link.hidden = true; reconnect.disabled = true + return epoch + } + async function reconnectRun() { + if (!job || disposed) return + try { await connect(job, ++epoch) } catch (failure) { if (!disposed) error.textContent = `Read failed: ${message(failure)}` } + } + async function openStored(target: StoredSteady2DTarget) { + if (disposed || ['submitting', 'queued', 'running'].includes(phase)) return + const token = reset() + try { const active = client.open(target.storeId.trim(), target.runId.trim(), target.attemptId.trim()); selectJob(active); await connect(active, token) } + catch (failure) { if (!disposed && token === epoch) { error.textContent = `Read failed: ${message(failure)}`; if (!job) update('ready') } } + } + readForm.addEventListener('submit', event => { event.preventDefault(); if (readForm.reportValidity()) completion = openStored({ storeId: stored.storeId.value, runId: stored.runId.value, attemptId: stored.attemptId.value }) }) + reconnect.addEventListener('click', () => { completion = reconnectRun() }) + cancel.addEventListener('click', async () => { + const active = job; if (!active) return + cancel.disabled = true + try { await client.cancel(active); if (!disposed && job === active) transport.textContent = 'Cancellation requested; waiting for the stored terminal.' } + catch (failure) { if (!disposed) { error.textContent = message(failure); cancel.disabled = terminal(phase) } } + }) + async function submit() { + const route = selected(); if (['submitting', 'queued', 'running'].includes(phase) || !catalog || !route || !form.reportValidity()) return + const token = reset(); update('submitting') + const runId = `steady-2d-${crypto.randomUUID()}`; identity.textContent = `Submitting run ${runId}` + try { + const active = await client.submit(catalog, route, device.value, { ...structuredClone(route.input), generation_scales: [...route.generations[Number(generation.value)]] }, runId) + if (disposed || token !== epoch) return + selectJob(active); update('queued'); await connect(active, token) + } catch (failure) { + if (!disposed && token === epoch) { + error.textContent = message(failure) + if (!job) { phase = 'unconfirmed'; update(phase); transport.textContent = 'Submission was not confirmed; no result or automatic retry is assumed.' } + else transport.textContent = 'Stored read failed; reconnect to the same attempt.' + } + } + } + form.addEventListener('submit', event => { event.preventDefault(); completion = submit() }) + const ready = (async () => { await discover(); if (initial && !disposed) await openStored(initial) })() + return { ready, get completion() { return completion }, get job() { return job }, get result() { return result }, + reconnect: reconnectRun, openStored, + dispose() { disposed = true; ++epoch; abort.abort(); subscription?.unsubscribe(); purge(); root.replaceChildren() }, + } +} diff --git a/web/src/panels/steady-jv.live.test.ts b/web/src/panels/steady-jv.live.test.ts new file mode 100644 index 00000000..d19dad8c --- /dev/null +++ b/web/src/panels/steady-jv.live.test.ts @@ -0,0 +1,60 @@ +// @vitest-environment node +/** Run explicitly with SOLARLAB_STEADY_UI_ENDPOINT pointing to the Vite proxy. + * Only Plotly's canvas is replaced in jsdom; HTTP, SSE, worker and artifacts are real. */ +import { afterEach, expect, it, vi } from 'vitest' +import Plotly from 'plotly.js-basic-dist-min' +import { mountSteadyJVPanel } from './steady-jv' +import { webcrypto } from '../test-helpers/schema-fixture.mjs' + +vi.mock('plotly.js-basic-dist-min', () => ({ default: { newPlot: vi.fn().mockResolvedValue(undefined), purge: vi.fn() } })) +afterEach(() => { vi.unstubAllGlobals() }) + +// This opt-in test runs in Node/jsdom; keep Node globals out of the app's DOM-only types. +const env = (globalThis as unknown as { process: { env: Record } }).process.env + +it.skipIf(!env.SOLARLAB_STEADY_UI_ENDPOINT)('runs one actual 37-node DC job through the browser-facing proxy and stored JS reader', async () => { + const domModule: string = 'jsdom' + const { JSDOM } = await import(/* @vite-ignore */ domModule) as { JSDOM: new (html: string) => { window: Window & typeof globalThis } } + const dom = new JSDOM('') + vi.stubGlobal('document', dom.window.document) + vi.stubGlobal('crypto', webcrypto) + const root = document.createElement('div'); document.body.append(root) + const panel = mountSteadyJVPanel(root, env.SOLARLAB_STEADY_UI_ENDPOINT!) + try { + await panel.ready + expect(root.querySelector('[role=alert]')?.textContent).toBe('') + expect(root.querySelector('select[name=device]')?.value).toBe('research_1d') + root.querySelector('button[type=submit]')!.click() + await panel.completion + expect(root.querySelector('[role=alert]')?.textContent).toBe('') + expect(root.querySelector('[data-role=state]')?.textContent).toBe('succeeded') + const result = panel.result! + expect(result.arrays.potential_V.shape).toEqual([3, 37]) + expect(result.arrays.voltage_V.values).toEqual([0, .05, .1]) + expect(Object.keys(result.arrays)).toHaveLength(8) + expect(result.evidence.every(point => (point as { accepted: boolean }).accepted)).toBe(true) + expect(result.metrics.open_circuit_voltage_V).toBeNull() + expect(root.querySelector('[data-metric=open_circuit_voltage_V]')?.textContent).toContain('Unknown') + const events = [...root.querySelectorAll('[data-role=history] li')].map(node => node.textContent!) + expect(events.some(text => text.endsWith('queued'))).toBe(true) + expect(events.some(text => text.endsWith('running'))).toBe(true) + expect(events.filter(text => text.endsWith('terminal'))).toHaveLength(1) + expect(Plotly.newPlot).toHaveBeenCalledTimes(4) + const jv = vi.mocked(Plotly.newPlot).mock.calls.find(([div]) => (div as HTMLElement).dataset.plot === 'J–V')! + expect(jv[1][0].y).toEqual(result.arrays.output_current_A_m2.values) + if (env.SOLARLAB_STEADY_UI_EVIDENCE) { + const fsModule: string = 'node:fs/promises' + const { writeFile } = await import(/* @vite-ignore */ fsModule) as { writeFile(path: string, content: string): Promise } + const arrays = Object.fromEntries(await Promise.all(Object.entries(result.arrays).map(async ([name, array]) => { + const hash = await crypto.subtle.digest('SHA-256', new Float64Array(array.values).buffer) + return [name, { shape: array.shape, word_sha256: Array.from(new Uint8Array(hash), byte => byte.toString(16).padStart(2, '0')).join('') }] + }))) + await writeFile(env.SOLARLAB_STEADY_UI_EVIDENCE, JSON.stringify({ endpoint: env.SOLARLAB_STEADY_UI_ENDPOINT, + backend_commit: env.SOLARLAB_STEADY_UI_COMMIT, target: panel.job!.target, + store_id: panel.job!.reader.storeId, events, terminal_count: 1, metrics: result.metrics, + worker: result.worker, plots: vi.mocked(Plotly.newPlot).mock.calls.map(([div, traces, layout]) => ({ name: (div as HTMLElement).dataset.plot, traces, layout })), + arrays, + }, null, 2) + '\n') + } + } finally { panel.dispose(); root.remove(); dom.window.close() } +}, 90000) diff --git a/web/src/panels/steady-jv.test.ts b/web/src/panels/steady-jv.test.ts new file mode 100644 index 00000000..26fa6c82 --- /dev/null +++ b/web/src/panels/steady-jv.test.ts @@ -0,0 +1,108 @@ +import { afterEach, beforeEach, expect, it, vi } from 'vitest' +import Plotly from 'plotly.js-basic-dist-min' +import { SteadyJVClient } from '../steady-jv-client' +import type { SteadyCatalog, SteadyJob, SteadyResult } from '../steady-jv-client' +import type { RunSubscription, StoredDocument, StoredEvent, StreamEnd, TerminalRecord } from '../run-client' +import { mountSteadyJVPanel } from './steady-jv' +import type { SteadyJVPanel } from './steady-jv' +import { webcrypto } from '../test-helpers/schema-fixture.mjs' + +vi.mock('plotly.js-basic-dist-min', () => ({ default: { newPlot: vi.fn().mockResolvedValue(undefined), purge: vi.fn() } })) +const catalog: SteadyCatalog = { registry: 'a'.repeat(64), schema: 'b'.repeat(64), + routes: [{ id: 'steady_jv', version: 1, devices: [{ id: 'research_1d', preparedSha256: 'c'.repeat(64) }], + minPoints: 2, maxPoints: 101, minIntervals: 2, maxIntervals: 256 }], + ceiling: { wall_seconds: 60, rss_bytes: 1610612736, output_bytes: 100663296 } } +let panel: SteadyJVPanel, root: HTMLElement, job: SteadyJob +let emit: (event: StoredDocument) => void | Promise +let endStream: (end: StreamEnd) => void +let stop: ReturnType +const cursor = { endpoint: 'http://localhost/steady-service/', storeId: 'store', runId: 'run', attemptId: 'attempt', sequence: '0' } + +function result(): SteadyResult { + const fields = { shape: [3, 3], values: [1, 2, 3, 4, 5, 6, 7, 8, 9] } + return { arrays: { nodes_m: { shape: [3], values: [0, 1e-7, 2e-7] }, voltage_V: { shape: [3], values: [0, .05, .1] }, + output_current_A_m2: { shape: [3], values: [42, 41, 40] }, current_density_A_m2: { shape: [3, 2], values: [1, 2, 3, 4, 5, 6] }, + contact_current_density_A_m2: { shape: [3, 2], values: [1, 2, 3, 4, 5, 6] }, potential_V: fields, electron_density_m3: fields, hole_density_m3: fields }, + metrics: { short_circuit_current_A_m2: 42, open_circuit_voltage_V: null, fill_factor: null, efficiency: null, limitation: 'open_circuit_not_bracketed' }, + evidence: [], worker: {}, originalJson: '{"test":"stored attempt"}' } +} +async function lifecycle(kind: StoredEvent['kind'], payload = {}) { + await emit({ json: '{}', value: { sequence: 1, kind, run_id: 'run', attempt_id: 'attempt', payload } }) +} +async function finish(state: TerminalRecord['state']) { + await lifecycle('terminal', { state, artifacts: [], result: { reason: 'stored reason' } }) + endStream({ reason: 'terminal', cursor }); await panel.completion +} +function button(label: string): HTMLButtonElement { + return [...root.querySelectorAll('button')].find(node => node.textContent === label)! +} +async function submit() { + button('Run steady DC').click() + await vi.waitFor(() => expect(emit).toBeTypeOf('function')) +} +beforeEach(async () => { + vi.stubGlobal('crypto', webcrypto); vi.clearAllMocks() + root = document.createElement('div'); document.body.append(root) + emit = undefined as unknown as typeof emit + stop = vi.fn() + const done = new Promise(resolve => { endStream = resolve }) + job = { reader: { getAttempt: vi.fn().mockResolvedValue({ value: { state: 'queued', terminal: null } }), + subscribe: vi.fn((_target, callback) => { emit = callback; return { cursor, done, unsubscribe: stop } as RunSubscription }) } as unknown as SteadyJob['reader'], + target: { runId: 'run', attemptId: 'attempt' }, protocol: { voltage_V: [0, .05, .1], intervals_per_layer: 12, generation_scale: 1, incident_power_W_m2: null }, + device: catalog.routes[0].devices[0], catalog } + vi.spyOn(SteadyJVClient.prototype, 'discover').mockResolvedValue(catalog) + vi.spyOn(SteadyJVClient.prototype, 'submit').mockResolvedValue(job) + vi.spyOn(SteadyJVClient.prototype, 'cancel').mockResolvedValue(undefined) + vi.spyOn(SteadyJVClient.prototype, 'readResult').mockResolvedValue(result()) + panel = mountSteadyJVPanel(root, 'http://localhost/steady-service/'); await panel.ready +}) +afterEach(() => { panel.dispose(); root.remove(); vi.restoreAllMocks(); vi.unstubAllGlobals() }) + +it('selects installed data, sends explicit DC controls, follows real states and plots the eight-array view', async () => { + expect(root.querySelector('select[name=device]')?.textContent).toBe('research_1d') + await submit() + expect(SteadyJVClient.prototype.submit).toHaveBeenCalledWith(catalog, catalog.routes[0], 'research_1d', + { voltage_V: [0, .05, .1], intervals_per_layer: 12, generation_scale: 1, incident_power_W_m2: null }, 60, expect.stringMatching(/^steady-/)) + expect(root.querySelector('[data-role=state]')?.textContent).toBe('queued') + await lifecycle('running'); expect(root.querySelector('[data-role=state]')?.textContent).toBe('running') + await finish('succeeded') + expect(root.querySelector('[data-role=state]')?.textContent).toBe('succeeded') + expect(root.querySelector('[data-metric=open_circuit_voltage_V]')?.textContent).toContain('Unknown') + expect(root.querySelector('[data-metric=efficiency]')?.textContent).toContain('Unknown') + expect(root.textContent).toContain('not bracketed') + expect(Plotly.newPlot).toHaveBeenCalledTimes(4) + const jv = vi.mocked(Plotly.newPlot).mock.calls.find(([div]) => (div as HTMLElement).dataset.plot === 'J–V')! + expect(jv[1][0].y).toEqual([42, 41, 40]); expect(jv[2]).toMatchObject({ yaxis: { title: { text: 'Output current (A/m²)' } } }) + const sample = root.querySelector('[data-role=sample]')!; sample.value = '2'; sample.dispatchEvent(new Event('change')) + await vi.waitFor(() => expect(Plotly.newPlot).toHaveBeenCalledTimes(7)) + const potential = vi.mocked(Plotly.newPlot).mock.calls.filter(([div]) => (div as HTMLElement).dataset.plot === 'Potential').at(-1)! + expect(potential[1][0].y).toEqual([7, 8, 9]) +}) + +it.each(['failed', 'cancelled'] as const)('retains %s terminal state/reason without fake results', async state => { + await submit(); await finish(state) + expect(root.querySelector('[data-role=state]')?.textContent).toBe(state) + expect(root.querySelector('[role=alert]')?.textContent).toContain('stored reason') + expect(SteadyJVClient.prototype.readResult).not.toHaveBeenCalled(); expect(Plotly.newPlot).not.toHaveBeenCalled() +}) + +it('requests cancellation for the bound attempt but waits for its persisted terminal', async () => { + await submit(); await lifecycle('running'); button('Cancel this attempt').click() + await vi.waitFor(() => expect(SteadyJVClient.prototype.cancel).toHaveBeenCalledWith(job)) + expect(root.querySelector('[data-role=state]')?.textContent).toBe('running') + await finish('cancelled'); expect(root.querySelector('[data-role=state]')?.textContent).toBe('cancelled') +}) + +it('disposal unsubscribes without cancelling computation or accepting late results', async () => { + await submit(); panel.dispose(); await lifecycle('terminal', { state: 'succeeded', result: {}, artifacts: [] }) + endStream({ reason: 'unsubscribed', cursor }); await panel.completion + expect(stop).toHaveBeenCalled(); expect(SteadyJVClient.prototype.cancel).not.toHaveBeenCalled() + expect(Plotly.newPlot).not.toHaveBeenCalled(); expect(root.textContent).toBe('') +}) + +it('does not offer execution when the service has no compatible installation', async () => { + panel.dispose(); vi.mocked(SteadyJVClient.prototype.discover).mockResolvedValue({ ...catalog, routes: [] }) + panel = mountSteadyJVPanel(root, 'http://localhost/steady-service/'); await panel.ready + expect(root.textContent).toContain('No compatible classical DC route') + button('Run steady DC').click(); expect(SteadyJVClient.prototype.submit).not.toHaveBeenCalled() +}) diff --git a/web/src/panels/steady-jv.ts b/web/src/panels/steady-jv.ts new file mode 100644 index 00000000..1975aa6f --- /dev/null +++ b/web/src/panels/steady-jv.ts @@ -0,0 +1,240 @@ +import Plotly from 'plotly.js-basic-dist-min' +import { baseLayout, axisTitle, plotConfig, PALETTE } from '../plot-theme' +import { SteadyJVClient, voltageGrid } from '../steady-jv-client' +import type { SteadyCatalog, SteadyJob, SteadyResult, SteadyRoute } from '../steady-jv-client' +import type { RunState, RunSubscription, TerminalRecord } from '../run-client' + +export interface SteadyJVPanel { + readonly ready: Promise + readonly completion: Promise + readonly job: SteadyJob | undefined + readonly result: SteadyResult | undefined + reconnect(): Promise + dispose(): void +} + +function element(tag: K, text?: string) { + const node = document.createElement(tag) + if (text !== undefined) node.textContent = text + return node +} +function message(error: unknown): string { return error instanceof Error ? error.message : String(error) } +const terminal = (state: string) => ['succeeded', 'failed', 'cancelled'].includes(state) + +/** Independent static-DC entry; it never consumes a legacy workspace config. */ +export function mountSteadyJVPanel(root: HTMLElement, endpoint: string | URL): SteadyJVPanel { + const client = new SteadyJVClient(endpoint) + let catalog: SteadyCatalog | undefined, job: SteadyJob | undefined, result: SteadyResult | undefined + let subscription: RunSubscription | undefined, disposed = false, phase = 'loading', epoch = 0 + let completion = Promise.resolve(), abort = new AbortController() + const displayedEvents = new Set() + const plots: HTMLElement[] = [] + const card = element('section'); card.className = 'card'; card.dataset.panel = 'steady-jv' + card.append(element('h2', 'Steady J–V · new core'), element('p', + 'Static, classical, ion-free 1D DC. AC, ionic dynamics and hysteresis are unavailable in this entry. Execution does not establish scientific qualification.')) + const form = element('form'), fields = element('fieldset'); fields.style.border = '0'; fields.style.padding = '0' + const grid = element('div'); grid.className = 'form-grid'; fields.append(grid) + function control(name: string, label: string, input: T): T { + const field = element('label'); field.className = 'form-group' + input.name = name; input.setAttribute('aria-label', label) + field.append(element('span', label), input); grid.append(field); return input + } + const routeSelect = control('route', 'Installed DC experiment', element('select')) + const deviceSelect = control('device', 'Installed device', element('select')) + function number(name: string, label: string, value: string, step = 'any', required = true) { + const input = element('input'); input.type = 'number'; input.value = value; input.step = step; input.required = required + return control(name, label, input) + } + const start = number('start', 'Start voltage (V)', '0'), end = number('end', 'End voltage (V)', '0.1') + const points = number('points', 'Voltage samples', '3', '1') + const intervals = number('intervals', 'Intervals per electrical layer', '12', '1') + const generation = number('generation', 'Generation scale', '1'); generation.min = '0' + const power = number('power', 'Incident power (W/m²), blank if unknown', '', 'any', false) + const wall = number('wall', 'Wall budget (s)', '60'); wall.min = '0.001' + const bounds = element('p'), runButton = element('button', 'Run steady DC'); runButton.type = 'submit'; runButton.className = 'btn btn-primary' + fields.append(bounds, runButton); form.append(fields) + const refresh = element('button', 'Refresh installed devices'), cancel = element('button', 'Cancel this attempt') + const reconnect = element('button', 'Reconnect / refresh run') + for (const button of [refresh, cancel, reconnect]) { button.type = 'button'; button.className = 'btn btn-ghost' } + cancel.disabled = reconnect.disabled = true + const state = element('p', 'Loading installed DC catalog…'); state.setAttribute('role', 'status'); state.dataset.role = 'state' + const transport = element('p'); transport.dataset.role = 'transport'; transport.setAttribute('role', 'status') + const identity = element('p'); identity.dataset.role = 'attempt' + const error = element('p'); error.className = 'status error'; error.setAttribute('role', 'alert') + const history = element('ul'); history.dataset.role = 'history' + const diagnostics = element('details'); diagnostics.dataset.role = 'diagnostics' + diagnostics.append(element('summary', 'Run diagnostics'), identity, history) + const output = element('div'); output.dataset.role = 'result' + card.append(form, refresh, cancel, reconnect, state, transport, error, diagnostics, output) + root.replaceChildren(card); fields.disabled = true + + function update(next: string) { + if (terminal(phase) && next !== phase) return + if (phase === 'running' && next === 'queued') return + phase = next; card.dataset.state = next; state.textContent = next + const busy = ['submitting', 'queued', 'running'].includes(next) + fields.disabled = busy || !catalog?.routes.length + refresh.disabled = busy; cancel.disabled = !job || !['queued', 'running'].includes(next) + } + function purge() { for (const plot of plots.splice(0)) Plotly.purge(plot); output.replaceChildren() } + function selected(): SteadyRoute | undefined { return catalog?.routes[Number(routeSelect.value)] } + function devices() { + const route = selected(); deviceSelect.replaceChildren() + for (const device of route?.devices ?? []) { const option = element('option', device.id); option.value = device.id; deviceSelect.append(option) } + runButton.disabled = !route?.devices.length + if (route) { + points.min = String(route.minPoints); points.max = String(route.maxPoints) + intervals.min = String(route.minIntervals); intervals.max = String(route.maxIntervals) + bounds.textContent = `${route.minPoints}–${route.maxPoints} voltage samples; ${route.minIntervals}–${route.maxIntervals} intervals per layer. Blank incident power leaves efficiency unknown.` + } + } + routeSelect.addEventListener('change', devices) + async function discover() { + error.textContent = ''; refresh.disabled = true; fields.disabled = true + try { + const found = await client.discover(abort.signal); if (disposed) return + catalog = found; routeSelect.replaceChildren() + found.routes.forEach((route, i) => { const option = element('option', `${route.id} · version ${route.version}`); option.value = String(i); routeSelect.append(option) }) + wall.max = String(found.ceiling.wall_seconds); wall.value = String(Math.min(60, found.ceiling.wall_seconds)) + devices(); fields.disabled = !found.routes.length + if (!job) { phase = 'ready'; update(found.routes.length ? 'ready' : 'unavailable') } + if (!found.routes.length) error.textContent = 'No compatible classical DC route is installed on this service.' + } catch (failure) { + if (!disposed) { error.textContent = `Installed DC service unavailable: ${message(failure)}`; if (!job) update('unavailable') } + } finally { if (!disposed) refresh.disabled = false } + } + refresh.addEventListener('click', () => { void discover() }) + + async function render(data: SteadyResult, active: SteadyJob) { + purge() + const metrics = element('div'); metrics.className = 'metric-row'; metrics.dataset.role = 'metrics' + for (const [key, label, unit, scale] of [ + ['short_circuit_current_A_m2', 'Jsc', 'A/m²', 1], ['open_circuit_voltage_V', 'Voc', 'V', 1], + ['fill_factor', 'Fill factor', '%', 100], ['efficiency', 'Efficiency', '%', 100], + ] as const) { + const value = data.metrics[key] + const item = element('div'); item.className = 'metric'; item.dataset.metric = key + item.append(element('strong', label), element('p', typeof value === 'number' && Number.isFinite(value) + ? `${(value * scale).toPrecision(6)} ${unit}` : 'Unknown')) + metrics.append(item) + } + output.append(metrics) + if (data.metrics.limitation) output.append(element('p', data.metrics.limitation === 'open_circuit_not_bracketed' + ? 'Open-circuit voltage is not bracketed by this curve. Voc, fill factor and efficiency remain unknown.' + : String(data.metrics.limitation))) + const a = data.arrays, x = a.nodes_m.values, voltage = a.voltage_V.values + output.append(element('p', `${x.length} nodes · ${voltage.length} voltage samples · ${active.device.id}`)) + const sampleLabel = element('label', 'Spatial fields at voltage (V) '), sample = element('select') + sample.setAttribute('aria-label', 'Spatial fields at voltage (V)'); sample.dataset.role = 'sample' + voltage.forEach((v, i) => { const option = element('option', String(v)); option.value = String(i); sample.append(option) }) + sampleLabel.append(sample); output.append(sampleLabel) + function plot(title: string) { + const section = element('section'); section.className = 'card'; section.append(element('h3', title)) + const div = element('div'); div.style.height = '300px'; div.dataset.plot = title + section.append(div); output.append(section); plots.push(div); return div + } + const jv = plot('J–V'), current = plot('Current density'), potential = plot('Potential'), carriers = plot('Carrier densities') + function draw(div: HTMLElement, traces: Record[], xlabel: string, ylabel: string) { + return Plotly.newPlot(div, traces, baseLayout({ xaxis: { title: axisTitle(xlabel) }, yaxis: { title: axisTitle(ylabel) } }), plotConfig(`steady-${active.target.runId}`)) + } + function line(x: number[], y: number[], name: string, color = PALETTE.primary) { + return { type: 'scatter', mode: 'lines+markers', x, y, name, line: { color, width: 2 }, marker: { size: 4 } } + } + async function fieldsAt(i: number) { + const row = (name: 'potential_V' | 'electron_density_m3' | 'hole_density_m3') => a[name].values.slice(i * x.length, (i + 1) * x.length) + await Promise.all([ + draw(current, [line(x.slice(1).map((v, j) => (v + x[j]) / 2), a.current_density_A_m2.values.slice(i * (x.length - 1), (i + 1) * (x.length - 1)), 'Bulk current'), + { ...line([x[0], x[x.length - 1]], a.contact_current_density_A_m2.values.slice(i * 2, i * 2 + 2), 'Contacts', PALETTE.secondary), mode: 'markers' }], 'Position (m)', 'Current density (A/m²)'), + draw(potential, [line(x, row('potential_V'), 'Potential')], 'Position (m)', 'Potential (V)'), + draw(carriers, [line(x, row('electron_density_m3'), 'Electrons'), line(x, row('hole_density_m3'), 'Holes', PALETTE.secondary)], 'Position (m)', 'Density (m⁻³)'), + ]) + } + sample.addEventListener('change', () => { void fieldsAt(Number(sample.value)).catch(failure => { if (!disposed) error.textContent = message(failure) }) }) + const evidence = element('details'); evidence.append(element('summary', 'Solver evidence and original stored attempt')) + const pre = element('pre', data.originalJson); pre.style.whiteSpace = 'pre-wrap'; pre.style.overflowWrap = 'anywhere' + evidence.append(pre); output.append(evidence) + await Promise.all([draw(jv, [line(voltage, a.output_current_A_m2.values, 'Output current')], 'Voltage (V)', 'Output current (A/m²)'), fieldsAt(0)]) + } + + async function connect(active: SteadyJob, generation: number) { + const current = () => !disposed && generation === epoch && job === active + const resume = subscription?.cursor; subscription?.unsubscribe() + const snapshot = await active.reader.getAttempt(active.target, abort.signal) + if (!current()) return + update(snapshot.value.state) + async function finish(end: TerminalRecord) { + if (!current()) return + update(end.state) + const worker = end.result.worker_result as Record | undefined + if (end.state !== 'succeeded') { + const detail = worker?.detail ?? worker?.reason ?? end.result.reason ?? '' + error.textContent = `${end.state}: ${String(detail)}`; return + } + if (!result) { + const data = await client.readResult(active, abort.signal) + if (!current()) return + await render(data, active); if (current()) result = data + } + } + if (snapshot.value.terminal) await finish(snapshot.value.terminal) + if (!current()) return + subscription = active.reader.subscribe(active.target, async doc => { + if (!current()) return + const event = doc.value + if (!displayedEvents.has(String(event.sequence))) { + history.append(element('li', `${event.sequence} · ${event.kind}`)) + displayedEvents.add(String(event.sequence)) + } + if (event.kind === 'queued' || event.kind === 'running') update(event.kind as RunState) + if (event.kind === 'progress') transport.textContent = 'Worker progress received' + if (event.kind === 'terminal') await finish(event.payload as TerminalRecord) + }, resume) + transport.textContent = 'Following persisted events…' + const end = await subscription.done + if (current()) transport.textContent = end.reason === 'disconnected' + ? 'Event connection lost; use Reconnect. The job was not cancelled.' + : `Event stream: ${end.reason}` + } + async function reconnectRun() { + if (!job || disposed) return + error.textContent = '' + try { await connect(job, ++epoch) } catch (failure) { if (!disposed) error.textContent = `Read failed: ${message(failure)}` } + } + reconnect.addEventListener('click', () => { completion = reconnectRun() }) + cancel.addEventListener('click', async () => { + const active = job; if (!active) return + cancel.disabled = true + try { await client.cancel(active); if (!disposed && job === active) transport.textContent = 'Cancellation requested; waiting for the stored terminal.' } + catch (failure) { if (!disposed) { error.textContent = message(failure); cancel.disabled = terminal(phase) } } + }) + async function submit() { + if (['submitting', 'queued', 'running'].includes(phase) || !catalog || !selected() || !form.reportValidity()) return + const token = ++epoch; subscription?.unsubscribe(); subscription = undefined + abort.abort(); abort = new AbortController(); job = undefined; result = undefined; purge() + history.replaceChildren(); displayedEvents.clear(); diagnostics.open = false + phase = 'submitting'; update(phase); error.textContent = ''; transport.textContent = ''; reconnect.disabled = true + const runId = `steady-${crypto.randomUUID()}`; identity.textContent = `Submitting run ${runId}` + try { + const active = await client.submit(catalog, selected()!, deviceSelect.value, { + voltage_V: voltageGrid(start.valueAsNumber, end.valueAsNumber, points.valueAsNumber), + intervals_per_layer: intervals.valueAsNumber, generation_scale: generation.valueAsNumber, + incident_power_W_m2: power.value.trim() === '' ? null : power.valueAsNumber, + }, wall.valueAsNumber, runId) + if (disposed || token !== epoch) return + job = active; identity.textContent = `Run ${active.target.runId} · attempt ${active.target.attemptId} · ${active.device.id}` + reconnect.disabled = false; update('queued'); await connect(active, token) + } catch (failure) { + if (!disposed && token === epoch) { + error.textContent = message(failure) + if (!job) { phase = 'unconfirmed'; update(phase); transport.textContent = 'Submission was not confirmed. No result is assumed; the run ID is available in Run diagnostics.' } + else transport.textContent = 'Stored result or event read failed; use Reconnect.' + } + } + } + form.addEventListener('submit', event => { event.preventDefault(); completion = submit() }) + const ready = discover() + return { ready, get completion() { return completion }, get job() { return job }, get result() { return result }, + reconnect: reconnectRun, + dispose() { disposed = true; epoch++; abort.abort(); subscription?.unsubscribe(); purge(); root.replaceChildren() }, + } +} diff --git a/web/src/panels/stored-run.test.ts b/web/src/panels/stored-run.test.ts new file mode 100644 index 00000000..0fcdf7be --- /dev/null +++ b/web/src/panels/stored-run.test.ts @@ -0,0 +1,454 @@ +import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest' +import { StoredRunClient, RunClientError } from '../run-client' +import type { + ArtifactRecord, AttemptIdentity, AttemptSnapshot, ReplayCursor, RunSnapshot, + RunSubscription, StoredDocument, StoredEvent, StreamEnd, TerminalRecord, +} from '../run-client' +import { mountStoredRunPanel } from './stored-run' +import type { StoredRunPanel, StoredRunSelection } from './stored-run' + +const selection: StoredRunSelection = { + endpoint: 'http://127.0.0.1:8123/stored/', storeId: 'store-a', runId: 'run-a', attemptId: 'attempt-a', +} +const reference = { artifact_id: 'artifact-a', manifest_sha256: 'b'.repeat(64) } +const panels: StoredRunPanel[] = [] +let connections: Connection[] +let blobs: Map +let downloads: { href: string; filename: string }[] + +function deferred() { + let resolve!: (value: T) => void + let reject!: (error: unknown) => void + const promise = new Promise((yes, no) => { resolve = yes; reject = no }) + return { promise, resolve, reject } +} + +function fixtureJson(value: unknown): string { + // Controlled producer fixtures: preserve integer and negative-zero tokens. + return JSON.stringify(value, (_key, item) => typeof item === 'bigint' ? `fixture-bigint:${item}` + : Object.is(item, -0) ? 'fixture-negative-zero' : item) + .replace(/"fixture-bigint:(-?\d+)"/g, '$1').replace(/"fixture-negative-zero"/g, '-0.0') +} + +function documentOf(value: T, json = fixtureJson(value)): StoredDocument { return { value, json } } + +function run(target = selection, extra: Partial = {}): RunSnapshot { + return { run_id: target.runId, current_attempt_id: target.attemptId, state: 'running', generation: 1, + created_ns: 18446744073709551617n, + request: { identity_kind: 'opaque_upstream', identity: { H_input: 'opaque-input', H_physics: 'opaque-physics', H_execution: 'opaque-execution' }, + input_metadata: { zero: 0, negative_zero: -0, missing: null, integer: 18446744073709551617n, + unsafe: '', manifest: { future_schema: 'unknown', qualified: false } } }, ...extra } +} + +function final(state: TerminalRecord['state'] = 'failed', result: Record = { reason: 'persisted failure', qualification: 'not_evaluated' }): TerminalRecord { + return { state, result, artifacts: [reference] } +} + +function attempt(target = selection, end?: TerminalRecord): AttemptSnapshot { + return { run_id: target.runId, attempt_id: target.attemptId, attempt_number: 1, state: end?.state ?? 'running', generation: 1, + created_ns: 0, started_ns: 0, finished_ns: end ? 1 : null, owner_id: 'fixture', + result: end?.result ?? null, terminal: end ?? null } +} + +function event(sequence: number | bigint, kind: StoredEvent['kind'] = 'progress', payload: Record = { zero: 0, missing: null }, target: AttemptIdentity = selection) { + return documentOf({ sequence, run_id: target.runId, attempt_id: target.attemptId, generation: 1, + created_ns: 0, kind, event_key: kind === 'progress' ? `user:event${sequence}` : kind, payload }) +} + +interface Connection { + target: AttemptIdentity + resume: ReplayCursor | undefined + subscription: RunSubscription + emit(doc: StoredDocument): Promise + finish(reason: StreamEnd['reason'], error?: unknown): void + reject(error: unknown): void +} + +function field(root: HTMLElement, role: string) { return root.querySelector(`[data-role="${role}"]`)! } +function button(root: HTMLElement, label: string) { + const value = [...root.querySelectorAll('button')].find(node => node.textContent === label) + if (!value) throw new Error(`Missing button: ${label}`) + return value +} +async function mount(target = selection) { + const root = window.document.createElement('div') + window.document.body.append(root) + const panel = mountStoredRunPanel(root, target) + panels.push(panel) + await panel.ready + return { root, panel } +} +function blobText(blob: Blob): Promise { + return new Promise((resolve, reject) => { + const reader = new FileReader() + reader.onload = () => resolve(reader.result as string) + reader.onerror = () => reject(reader.error) + reader.readAsText(blob) + }) +} + +beforeEach(() => { + connections = []; blobs = new Map(); downloads = [] + vi.stubGlobal('URL', class extends URL { + static createObjectURL = vi.fn((blob: Blob) => { const id = `blob:fixture-${blobs.size}`; blobs.set(id, blob); return id }) + static revokeObjectURL = vi.fn() + }) + vi.spyOn(HTMLAnchorElement.prototype, 'click').mockImplementation(function (this: HTMLAnchorElement) { + downloads.push({ href: this.href, filename: this.download }) + }) + vi.spyOn(StoredRunClient.prototype, 'getRun').mockImplementation(async id => documentOf(run({ ...selection, runId: id }))) + vi.spyOn(StoredRunClient.prototype, 'getAttempt').mockImplementation(async target => documentOf(attempt({ ...selection, ...target }))) + vi.spyOn(StoredRunClient.prototype, 'getArtifact').mockResolvedValue({ + record: documentOf({ ...reference, run_id: selection.runId, attempt_id: selection.attemptId, + sha256: 'c'.repeat(64), size_bytes: 3, phase: 'committed', metadata: { zero: -0, missing: null, integer: 18446744073709551617n } }), + bytes: new Uint8Array([0, 128, 255]), + }) + vi.spyOn(StoredRunClient.prototype, 'subscribe').mockImplementation(function (this: StoredRunClient, target, receive, resume) { + let cursor: ReplayCursor = resume ?? { endpoint: this.endpoint, storeId: this.storeId, ...target, sequence: '0' } + const end = deferred() + const subscription: RunSubscription = { get cursor() { return cursor }, done: end.promise, + unsubscribe: vi.fn(() => end.resolve({ reason: 'unsubscribed', cursor })) } + connections.push({ target, resume, subscription, + async emit(doc) { await receive(doc); cursor = { ...cursor, sequence: doc.value.sequence.toString() } }, + finish(reason, transportError) { end.resolve({ reason, cursor, transportError }) }, reject: end.reject }) + return subscription + }) +}) + +afterEach(() => { + for (const panel of panels.splice(0)) panel.dispose() + window.document.body.replaceChildren() + vi.restoreAllMocks(); vi.unstubAllGlobals() +}) + +describe('stored-run panel records and lifecycle', () => { + it('shows explicit identity and raw opaque metadata safely, without a JSON round trip', async () => { + const { root } = await mount() + expect(root.textContent).toContain(selection.endpoint) + expect(root.textContent).toContain('Store: store-a') + expect(root.textContent).toContain('Selected attempt: attempt-a') + expect(field(root, 'attempt-state').textContent).toBe('running') + const pre = field(root, 'documents').querySelector('pre')! + expect(pre.textContent).toBe(fixtureJson(run())) + expect(pre.textContent).toContain('18446744073709551617') + expect(pre.textContent).toContain('"negative_zero":-0.0') + expect(pre.textContent).toContain('"missing":null') + expect(pre.textContent).not.toContain('omitted') + expect(root.querySelector('img')).toBeNull() + button(field(root, 'documents'), 'Download original JSON').click() + expect(await blobText(blobs.get(downloads[0].href)!)).toBe(pre.textContent) + }) + + it('retains noncontiguous progress and never regresses a running snapshot to queued', async () => { + const { root } = await mount() + await connections[0].emit(event(1, 'queued', {})) + expect(field(root, 'attempt-state').textContent).toBe('running') + const progress = event(9223372036854775000n, 'progress', { fraction: 0, reason: null, unknown: -0 }) + await connections[0].emit(progress) + expect(field(root, 'events').children).toHaveLength(2) + expect(field(root, 'events').lastElementChild!.querySelector('pre')!.textContent).toBe(progress.json) + expect(field(root, 'last-event').textContent).toBe('9223372036854775000: progress') + expect(field(root, 'terminal-reason').textContent).toBe('No terminal record loaded') + }) + + it.each(['failed', 'cancelled', 'succeeded'] as const)('renders the persisted %s terminal independently of transport', async state => { + const end = final(state) + const { root } = await mount() + await connections[0].emit(event(5, 'terminal', end)) + connections[0].finish('disconnected', new Error('lost socket')) + await vi.waitFor(() => expect(field(root, 'transport').textContent).toContain('Transport disconnected')) + expect(field(root, 'attempt-state').textContent).toBe(state) + expect(field(root, 'terminal-reason').textContent).toBe('persisted failure') + expect(root.textContent).toContain('not_evaluated') + expect(field(root, 'transport').textContent).toContain('lost socket') + }) + + it('keeps the selected historical attempt separate from the current run attempt', async () => { + vi.mocked(StoredRunClient.prototype.getRun).mockResolvedValue(documentOf(run(selection, { current_attempt_id: 'new-attempt', state: 'running' }))) + vi.mocked(StoredRunClient.prototype.getAttempt).mockResolvedValue(documentOf(attempt(selection, final()))) + const { root } = await mount() + await connections[0].emit(event(1, 'queued', {})) + await connections[0].emit(event(2, 'running', {})) + expect(field(root, 'run-state').textContent).toBe('running; current attempt new-attempt') + expect(field(root, 'attempt-state').textContent).toBe('failed') + expect(connections[0].target.attemptId).toBe('attempt-a') + }) + + it.each([ + [{}, 'Omitted from the stored result'], + [{ reason: null }, 'null (stored)'], + [{ reason: 0 }, '0'], + [{ reason: -0 }, '-0'], + [{ reason: '' }, 'Empty string (stored)'], + [{ reason: 18446744073709551617n }, '18446744073709551617'], + [{ reason: { future: null } }, 'Structured value; see original terminal JSON'], + ] as [Record, string][])('preserves the meaning of stored reason case %#', async (result, expected) => { + vi.mocked(StoredRunClient.prototype.getAttempt).mockResolvedValue(documentOf(attempt(selection, final('failed', result)))) + const { root } = await mount() + expect(field(root, 'terminal-reason').textContent).toBe(expected) + }) + + it('reconnects with the exact client cursor and fences callbacks from the old connection', async () => { + const { root, panel } = await mount() + await connections[0].emit(event(9007199254740995n)) + const cursor = panel.cursor + connections[0].finish('disconnected') + await vi.waitFor(() => expect(field(root, 'transport').textContent).toContain('disconnected')) + button(root, 'Reconnect event stream').click() + expect(connections[0].subscription.unsubscribe).toHaveBeenCalled() + expect(connections[1].resume).toBe(cursor) + expect(connections[1].resume).toEqual({ endpoint: selection.endpoint, storeId: selection.storeId, + runId: selection.runId, attemptId: selection.attemptId, sequence: '9007199254740995' }) + await connections[0].emit(event(9007199254740996n, 'terminal', final())) + expect(field(root, 'attempt-state').textContent).toBe('running') + expect(field(root, 'events').children).toHaveLength(1) + await connections[1].emit(event(9007199254740998n)) + expect(field(root, 'events').children).toHaveLength(2) + }) + + it('retains terminal state through a clean close and HTTP 204 acknowledgement', async () => { + const end = final('succeeded', { reason: null, qualification: 'unqualified' }) + const { root, panel } = await mount() + await connections[0].emit(event(8, 'terminal', end)) + vi.mocked(StoredRunClient.prototype.getAttempt).mockResolvedValue(documentOf(attempt(selection, end))) + connections[0].finish('terminal') + await vi.waitFor(() => expect(field(root, 'documents').children).toHaveLength(4)) + panel.reconnect() + connections[1].finish('terminal_acknowledged') + await vi.waitFor(() => expect(field(root, 'transport').textContent).toContain('HTTP 204')) + expect(field(root, 'attempt-state').textContent).toBe('succeeded') + expect(field(root, 'terminal-reason').textContent).toBe('null (stored)') + expect(field(root, 'artifacts').querySelectorAll('[data-artifact-id]')).toHaveLength(1) + }) + + it.each(['snapshot', 'failure'] as const)( + 'ignores a late %s refresh from a superseded terminal connection', async outcome => { + const end = final('failed', { reason: 'stored failure', qualification: 'not_evaluated' }) + const { root, panel } = await mount() + const earlierRun = deferred>() + const earlierAttempt = deferred>() + vi.mocked(StoredRunClient.prototype.getRun).mockReturnValueOnce(earlierRun.promise) + vi.mocked(StoredRunClient.prototype.getAttempt).mockReturnValueOnce(earlierAttempt.promise) + await connections[0].emit(event(8, 'terminal', end)) + connections[0].finish('terminal') + await vi.waitFor(() => expect(StoredRunClient.prototype.getRun).toHaveBeenCalledTimes(2)) + + // The same selected attempt stays failed; the run has a newer retry. + const newer = run(selection, { state: 'cancelled', current_attempt_id: 'attempt-newer', generation: 2 }) + vi.mocked(StoredRunClient.prototype.getRun).mockResolvedValue(documentOf(newer)) + vi.mocked(StoredRunClient.prototype.getAttempt).mockResolvedValue(documentOf(attempt(selection, end))) + panel.reconnect() + connections[1].finish('terminal_acknowledged') + await vi.waitFor(() => expect(field(root, 'run-state').textContent) + .toBe('cancelled; current attempt attempt-newer')) + const displayedDocuments = field(root, 'documents').children.length + if (outcome === 'failure') earlierRun.reject(new Error('superseded read unavailable')) + else earlierRun.resolve(documentOf(run())) + earlierAttempt.resolve(documentOf(attempt())) + await new Promise(resolve => setTimeout(resolve, 0)) + + expect(field(root, 'run-state').textContent).toBe('cancelled; current attempt attempt-newer') + expect(field(root, 'attempt-state').textContent).toBe('failed') + expect(field(root, 'terminal-reason').textContent).toBe('stored failure') + expect(field(root, 'read-error').textContent).toBe('') + expect(field(root, 'documents').children).toHaveLength(displayedDocuments) + expect(panel.cursor?.sequence).toBe('8') + }, + ) + + it('retains the current refresh failure when an older connection read succeeds late', async () => { + const end = final('failed', { reason: 'stored failure', qualification: 'not_evaluated' }) + const { root, panel } = await mount() + const earlierRun = deferred>() + vi.mocked(StoredRunClient.prototype.getRun).mockReturnValueOnce(earlierRun.promise) + vi.mocked(StoredRunClient.prototype.getAttempt).mockResolvedValue(documentOf(attempt(selection, end))) + await connections[0].emit(event(8, 'terminal', end)) + connections[0].finish('terminal') + await vi.waitFor(() => expect(StoredRunClient.prototype.getRun).toHaveBeenCalledTimes(2)) + + vi.mocked(StoredRunClient.prototype.getRun).mockRejectedValueOnce(new Error('current read unavailable')) + panel.reconnect() + connections[1].finish('terminal_acknowledged') + await vi.waitFor(() => expect(field(root, 'read-error').textContent).toContain('current read unavailable')) + earlierRun.resolve(documentOf(run())) + await new Promise(resolve => setTimeout(resolve, 0)) + + expect(field(root, 'run-state').textContent).toBe('running; current attempt attempt-a') + expect(field(root, 'read-error').textContent).toContain('current read unavailable') + expect(field(root, 'read-error-history').textContent).toContain('current read unavailable') + expect(field(root, 'attempt-state').textContent).toBe('failed') + expect(field(root, 'terminal-reason').textContent).toBe('stored failure') + }) + + it('reports a stream protocol error without rewriting the persisted terminal', async () => { + const { root } = await mount() + await connections[0].emit(event(5, 'terminal', final())) + connections[0].reject(new RunClientError('protocol', 'event after terminal')) + await vi.waitFor(() => expect(field(root, 'transport').textContent).toContain('protocol: event after terminal')) + expect(field(root, 'attempt-state').textContent).toBe('failed') + expect(field(root, 'events').children).toHaveLength(1) + }) + + it('unsubscribes on selection changes and cannot mix late events or identities', async () => { + const { root, panel } = await mount() + const next = { endpoint: 'http://127.0.0.1:9000/other/', storeId: 'other-store', runId: 'run-b', attemptId: 'attempt-b' } + await panel.select(next) + expect(connections[0].subscription.unsubscribe).toHaveBeenCalled() + await connections[0].emit(event(3, 'terminal', final())) + expect(root.textContent).toContain('Store: other-store') + expect(root.textContent).not.toContain('persisted failure') + expect(field(root, 'events').children).toHaveLength(0) + expect(connections[1].resume).toBeUndefined() + expect(panel.cursor).toMatchObject({ storeId: 'other-store', runId: 'run-b', attemptId: 'attempt-b', sequence: '0' }) + }) + + it('fences late snapshot successes and failures after selection changes', async () => { + const firstRun = deferred>() + const firstAttempt = deferred>() + vi.mocked(StoredRunClient.prototype.getRun).mockImplementation(id => id === 'run-a' ? firstRun.promise : Promise.resolve(documentOf(run({ ...selection, runId: id })))) + vi.mocked(StoredRunClient.prototype.getAttempt).mockImplementation(target => target.runId === 'run-a' ? firstAttempt.promise : Promise.resolve(documentOf(attempt({ ...selection, ...target })))) + const root = window.document.createElement('div'); window.document.body.append(root) + const panel = mountStoredRunPanel(root, selection); panels.push(panel) + const oldReady = panel.ready + await panel.select({ ...selection, runId: 'run-b', attemptId: 'attempt-b' }) + firstRun.resolve(documentOf(run())) + firstAttempt.reject(new Error('stale read failure')) + await oldReady + expect(root.textContent).not.toContain('stale read failure') + expect(field(root, 'documents').children).toHaveLength(2) + expect(connections).toHaveLength(1) + expect(connections[0].target.runId).toBe('run-b') + }) + + it.each(['http', 'malformed', 'identity_mismatch'] as const)('surfaces %s read errors, keeps successful raw reads and never starts an unbound stream', async code => { + vi.mocked(StoredRunClient.prototype.getAttempt).mockRejectedValue(new RunClientError(code, 'rejected record')) + const { root } = await mount() + expect(field(root, 'read-error').textContent).toContain(`${code}: rejected record`) + expect(field(root, 'documents').children).toHaveLength(1) + expect(field(root, 'attempt-state').textContent).toBe('Unavailable') + expect(connections).toHaveLength(0) + expect(button(root, 'Retry stored reads').disabled).toBe(false) + }) + + it('recovers an initial read failure by user retry, preserves history and opens only one stream', async () => { + vi.mocked(StoredRunClient.prototype.getAttempt).mockRejectedValueOnce(new RunClientError('http', 'temporarily unavailable')) + const { root, panel } = await mount() + expect(connections).toHaveLength(0) + const retry = deferred>() + const end = final('succeeded', { reason: 'persisted completion', qualification: 'not_evaluated' }) + vi.mocked(StoredRunClient.prototype.getAttempt).mockReturnValueOnce(retry.promise) + .mockResolvedValue(documentOf(attempt(selection, end))) + const control = button(root, 'Retry stored reads') + control.click() + panel.reconnect(); control.click() + expect(control.disabled).toBe(true) + expect(StoredRunClient.prototype.getAttempt).toHaveBeenCalledTimes(2) + expect(connections).toHaveLength(0) + retry.resolve(documentOf(attempt())) + await vi.waitFor(() => expect(connections).toHaveLength(1)) + expect(field(root, 'attempt-state').textContent).toBe('running') + expect(field(root, 'read-error').textContent).toBe('') + expect(field(root, 'read-error-history').textContent).toContain('http: temporarily unavailable') + expect(field(root, 'documents').children).toHaveLength(3) + expect(button(root, 'Reconnect event stream').disabled).toBe(false) + await connections[0].emit(event(7, 'terminal', end)) + connections[0].finish('terminal') + await vi.waitFor(() => expect(field(root, 'documents').children).toHaveLength(5)) + expect(field(root, 'attempt-state').textContent).toBe('succeeded') + expect(field(root, 'terminal-reason').textContent).toBe('persisted completion') + expect(field(root, 'read-error-history').children).toHaveLength(1) + expect(connections).toHaveLength(1) + }) + + it('marks an unavailable run snapshot while preserving a successfully read attempt', async () => { + vi.mocked(StoredRunClient.prototype.getRun).mockRejectedValue(new RunClientError('http', 'HTTP 503')) + const { root } = await mount() + expect(field(root, 'run-state').textContent).toBe('Unavailable') + expect(field(root, 'attempt-state').textContent).toBe('running') + expect(field(root, 'documents').children).toHaveLength(1) + expect(field(root, 'read-error').textContent).toContain('Run read failed: http: HTTP 503') + expect(connections).toHaveLength(0) + }) + + it('does not select a fallback endpoint for invalid explicit input', async () => { + const { root } = await mount({ ...selection, endpoint: 'file:///tmp/store' }) + expect(root.textContent).toContain('Expected an explicit HTTP(S) service endpoint') + expect(StoredRunClient.prototype.getRun).not.toHaveBeenCalled() + expect(connections).toHaveLength(0) + }) + + it('disposes subscriptions, aborts in-flight reads, and ignores all late updates', async () => { + const { root, panel } = await mount() + const signal = vi.mocked(StoredRunClient.prototype.getAttempt).mock.calls[0][1]! + panel.dispose() + expect(signal.aborted).toBe(true) + expect(connections[0].subscription.unsubscribe).toHaveBeenCalled() + await connections[0].emit(event(8, 'terminal', final())) + panel.reconnect(); await panel.select(selection) + expect(root.childNodes).toHaveLength(0) + expect(connections).toHaveLength(1) + expect(panel.cursor).toBeUndefined() + }) +}) + +describe('verified stored downloads', () => { + it('requests only the committed reference, downloads verified bytes and retains original record JSON', async () => { + vi.mocked(StoredRunClient.prototype.getAttempt).mockResolvedValue(documentOf(attempt(selection, final('succeeded')))) + const { root, panel } = await mount() + button(root, 'Verify and download artifact').click() + await vi.waitFor(() => expect(downloads).toHaveLength(1)) + expect(StoredRunClient.prototype.getArtifact).toHaveBeenCalledWith( + { runId: selection.runId, attemptId: selection.attemptId }, reference, expect.any(AbortSignal)) + const blob = blobs.get(downloads[0].href)! + const data = await new Promise((resolve, reject) => { + const reader = new FileReader(); reader.onload = () => resolve(reader.result as ArrayBuffer) + reader.onerror = () => reject(reader.error); reader.readAsArrayBuffer(blob) + }) + expect([...new Uint8Array(data)]).toEqual([0, 128, 255]) + expect(field(root, 'artifacts').textContent).toContain('SHA-256 and size verified; download requested') + expect(field(root, 'artifacts').querySelector('pre')!.textContent).toContain('"zero":-0.0') + panel.dispose() + expect(URL.revokeObjectURL).toHaveBeenCalledWith(downloads[0].href) + }) + + it('retains a download integrity failure without claiming the stored run failed', async () => { + vi.mocked(StoredRunClient.prototype.getAttempt).mockResolvedValue(documentOf(attempt(selection, final('succeeded')))) + vi.mocked(StoredRunClient.prototype.getArtifact).mockRejectedValue(new RunClientError('integrity', 'Artifact content integrity mismatch')) + const { root } = await mount() + button(root, 'Verify and download artifact').click() + await vi.waitFor(() => expect(field(root, 'artifacts').textContent).toContain('integrity: Artifact content integrity mismatch')) + expect(downloads).toHaveLength(0) + expect(blobs.size).toBe(0) + expect(field(root, 'attempt-state').textContent).toBe('succeeded') + expect(button(root, 'Verify and download artifact').disabled).toBe(false) + }) + + it.each(['select', 'dispose'] as const)('fences a late verified artifact on %s', async action => { + vi.mocked(StoredRunClient.prototype.getAttempt).mockResolvedValue(documentOf(attempt(selection, final('succeeded')))) + const late = deferred>>() + vi.mocked(StoredRunClient.prototype.getArtifact).mockReturnValue(late.promise) + const { root, panel } = await mount() + button(root, 'Verify and download artifact').click() + const signal = vi.mocked(StoredRunClient.prototype.getArtifact).mock.calls[0][2]! + if (action === 'select') await panel.select({ ...selection, runId: 'run-b', attemptId: 'attempt-b' }) + else panel.dispose() + late.resolve({ record: documentOf({ ...reference, run_id: 'run-a', attempt_id: 'attempt-a', + sha256: 'c'.repeat(64), size_bytes: 1, phase: 'committed', metadata: {} }), bytes: new Uint8Array([255]) }) + await late.promise + expect(signal.aborted).toBe(true) + expect(downloads).toHaveLength(0) + expect(root.textContent).not.toContain('Verified artifact record') + }) + + it('reports a browser JSON export failure and can be reopened from stored state', async () => { + vi.mocked(URL.createObjectURL).mockImplementationOnce(() => { throw new Error('blob download unavailable') }) + const { root, panel } = await mount() + button(field(root, 'documents'), 'Download original JSON').click() + expect(root.textContent).toContain('JSON download failed: blob download unavailable') + panel.dispose() + const reopened = mountStoredRunPanel(root, selection); panels.push(reopened); await reopened.ready + expect(field(root, 'attempt-state').textContent).toBe('running') + expect(connections[1].resume).toBeUndefined() + expect(root.textContent).not.toContain('blob download unavailable') + }) +}) diff --git a/web/src/panels/stored-run.ts b/web/src/panels/stored-run.ts new file mode 100644 index 00000000..874d16d2 --- /dev/null +++ b/web/src/panels/stored-run.ts @@ -0,0 +1,370 @@ +import { StoredRunClient, RunClientError } from '../run-client' +import type { + ArtifactReference, AttemptIdentity, ReplayCursor, RunSubscription, + StoredDocument, StoredEvent, TerminalRecord, +} from '../run-client' + +export interface StoredRunSelection extends AttemptIdentity { + endpoint: string | URL + storeId: string +} + +export interface StoredRunPanel { + readonly ready: Promise + readonly cursor: ReplayCursor | undefined + select(selection: StoredRunSelection): Promise + reconnect(): void + dispose(): void +} + +interface SelectionView { + client: StoredRunClient + target: Readonly + abort: AbortController + subscription?: RunSubscription + connection: number + loaded: boolean + loading: boolean + terminal?: TerminalRecord + urls: Map> + documents: HTMLElement + events: HTMLElement + artifacts: HTMLElement + state: HTMLElement + runState: HTMLElement + reason: HTMLElement + transport: HTMLElement + readError: HTMLElement + readHistory: HTMLElement + lastEvent: HTMLElement + reconnect: HTMLButtonElement +} + +function element(tag: K, text?: string) { + const node = document.createElement(tag) + if (text !== undefined) node.textContent = text + return node +} + +function message(error: unknown): string { + return error instanceof RunClientError ? `${error.code}: ${error.message}` + : error instanceof Error ? error.message : String(error) +} + +function storedReason(result: Record): string { + if (!Object.hasOwn(result, 'reason')) return 'Omitted from the stored result' + const reason = result.reason + if (reason === null) return 'null (stored)' + if (Object.is(reason, -0)) return '-0' + if (reason === '') return 'Empty string (stored)' + if (typeof reason === 'object') return 'Structured value; see original terminal JSON' + return String(reason) +} + +/** Read-only preparation for an explicitly selected stored attempt. + * Raw documents are displayed/exported verbatim; opaque results are not decoded + * as physics. A successful execution record is not a qualification decision. + */ +export function mountStoredRunPanel(root: HTMLElement, initial: StoredRunSelection): StoredRunPanel { + let active: SelectionView | undefined + let disposed = false + let ready: Promise + const current = (view: SelectionView) => !disposed && active === view + + function close(view: SelectionView | undefined) { + if (!view) return + view.connection++ + view.abort.abort() + view.subscription?.unsubscribe() + for (const [url, timer] of view.urls) { + clearTimeout(timer) + URL.revokeObjectURL(url) + } + view.urls.clear() + } + + function download(view: SelectionView, blob: Blob, filename: string) { + if (!current(view)) return + const url = URL.createObjectURL(blob) + const timer = setTimeout(() => { + URL.revokeObjectURL(url) + view.urls.delete(url) + }, 1000) + view.urls.set(url, timer) + const anchor = element('a') + anchor.href = url + anchor.download = filename + anchor.hidden = true + root.append(anchor) + try { anchor.click() } finally { anchor.remove() } + } + + function rawDocument(view: SelectionView, parent: HTMLElement, title: string, doc: StoredDocument) { + const details = element('details') + details.dataset.record = title + details.append(element('summary', title)) + const content = element('pre', doc.json) + content.style.whiteSpace = 'pre-wrap' + content.style.overflowWrap = 'anywhere' + const exportButton = element('button', 'Download original JSON') + exportButton.type = 'button' + exportButton.className = 'btn btn-ghost' + const error = element('span') + error.className = 'status error' + error.setAttribute('role', 'alert') + exportButton.addEventListener('click', () => { + if (!current(view)) return + try { + error.textContent = '' + download(view, new Blob([doc.json], { type: 'application/json;charset=utf-8' }), + `${view.target.runId}-${view.target.attemptId}-${title.replace(/[^a-z0-9]+/gi, '-')}.json`) + } catch (failure) { error.textContent = `JSON download failed: ${message(failure)}` } + }) + details.append(content, exportButton, error) + parent.append(details) + return details + } + + function artifact(view: SelectionView, reference: ArtifactReference) { + const row = element('div') + row.className = 'card' + row.dataset.artifactId = reference.artifact_id + row.append(element('p', `Artifact: ${reference.artifact_id}`)) + const provenance = element('details') + provenance.append(element('summary', 'Artifact provenance'), + element('p', `Committed manifest SHA-256: ${reference.manifest_sha256}`)) + row.append(provenance) + const button = element('button', 'Verify and download artifact') + button.type = 'button' + button.className = 'btn btn-ghost' + const status = element('span', 'Content not yet downloaded') + status.className = 'status' + status.setAttribute('role', 'status') + button.addEventListener('click', async () => { + if (!current(view) || button.disabled) return + button.disabled = true + status.className = 'status' + status.textContent = 'Verifying saved content…' + try { + const result = await view.client.getArtifact(view.target, reference, view.abort.signal) + if (!current(view)) return + rawDocument(view, row, 'Verified artifact record', result.record) + download(view, new Blob([result.bytes], { type: 'application/octet-stream' }), `${reference.artifact_id}.bin`) + status.textContent = 'SHA-256 and size verified; download requested' + } catch (failure) { + if (current(view)) { + status.className = 'status error' + status.textContent = `Artifact download failed: ${message(failure)}` + } + } finally { if (current(view)) button.disabled = false } + }) + row.append(button, status) + view.artifacts.append(row) + } + + function readErrors(view: SelectionView, errors: string[]) { + view.readError.textContent = errors.join('\n') + if (errors.length) { + view.readHistory.parentElement!.hidden = false + for (const error of errors) view.readHistory.append(element('li', error)) + } + } + + function terminal(view: SelectionView, value: TerminalRecord) { + if (view.terminal) { + if (view.terminal.state !== value.state) throw new RunClientError('protocol', 'Stored terminal state changed') + return // Keep existing download controls; every received raw document is retained separately. + } + view.terminal = value + view.state.textContent = value.state + view.reason.textContent = storedReason(value.result) + view.artifacts.replaceChildren() + if (!value.artifacts.length) view.artifacts.append(element('p', 'No committed artifact references')) + for (const reference of value.artifacts) artifact(view, reference) + } + + async function snapshots(view: SelectionView): Promise { + const connection = view.connection + const results = await Promise.allSettled([ + view.client.getRun(view.target.runId, view.abort.signal), + view.client.getAttempt(view.target, view.abort.signal), + ]) + // A reconnect may finish a newer refresh while these reads are pending. + if (!current(view) || view.connection !== connection) return false + const [run, attempt] = results + const errors: string[] = [] + if (run.status === 'fulfilled') { + rawDocument(view, view.documents, 'Run snapshot / execution metadata', run.value) + view.runState.textContent = `${run.value.value.state}; current attempt ${run.value.value.current_attempt_id}` + } else { + if (view.runState.textContent === 'Loading') view.runState.textContent = 'Unavailable' + errors.push(`Run read failed: ${message(run.reason)}`) + } + if (attempt.status === 'fulfilled') { + rawDocument(view, view.documents, 'Attempt snapshot / stored result', attempt.value) + if (attempt.value.value.terminal) terminal(view, attempt.value.value.terminal) + else if (!view.terminal) view.state.textContent = attempt.value.value.state + } else { + if (view.state.textContent === 'Loading') view.state.textContent = 'Unavailable' + errors.push(`Attempt read failed: ${message(attempt.reason)}`) + } + readErrors(view, errors) + return errors.length === 0 + } + + async function reconnect(view: SelectionView) { + if (!current(view) || view.loading) return + if (view.loaded) { connect(view); return } + view.loading = true + view.reconnect.disabled = true + view.transport.textContent = 'Reading stored snapshots…' + try { + view.loaded = await snapshots(view) + if (current(view) && view.loaded) connect(view) + } catch (failure) { + if (current(view)) readErrors(view, [`Stored read failed: ${message(failure)}`]) + } finally { + view.loading = false + if (current(view)) { + view.reconnect.disabled = false + view.reconnect.textContent = view.loaded ? 'Reconnect event stream' : 'Retry stored reads' + if (!view.loaded) view.transport.textContent = 'Not connected; stored reads need retry' + } + } + } + + function connect(view: SelectionView) { + if (!current(view) || !view.loaded) return + const resume = view.subscription?.cursor + view.subscription?.unsubscribe() + const connection = ++view.connection + const listening = () => current(view) && view.connection === connection + view.transport.className = 'status' + view.transport.textContent = `Connecting; replay after ${resume?.sequence ?? '0'}` + try { + const subscription = view.client.subscribe(view.target, (doc: StoredDocument) => { + if (!listening()) return + const item = element('li') + item.dataset.sequence = doc.value.sequence.toString() + rawDocument(view, item, `Event ${doc.value.sequence}: ${doc.value.kind}`, doc).open = true + view.events.append(item) + view.lastEvent.textContent = `${doc.value.sequence}: ${doc.value.kind}` + view.transport.textContent = 'Receiving persisted events' + if (doc.value.kind === 'terminal') terminal(view, doc.value.payload as TerminalRecord) + else if (!view.terminal && doc.value.kind === 'running') { + // Replay begins at zero; an old queued event cannot regress a newer + // running snapshot, nor can any replay event undo a terminal record. + view.state.textContent = 'running' + } + }, resume) + view.subscription = subscription + void subscription.done.then(async end => { + if (!listening()) return + const labels = { + terminal: 'Terminal event received; stream closed', + terminal_acknowledged: 'Terminal already acknowledged (HTTP 204)', + disconnected: 'Transport disconnected; stored outcome unchanged', + unsubscribed: 'Unsubscribed; stored outcome unchanged', + } + view.transport.textContent = labels[end.reason] + if (end.transportError !== undefined) view.transport.textContent += `: ${message(end.transportError)}` + if (end.reason === 'terminal' || end.reason === 'terminal_acknowledged') await snapshots(view) + }).catch(failure => { + if (listening()) { + view.transport.className = 'status error' + view.transport.textContent = `Stream error: ${message(failure)}; stored outcome unchanged` + } + }) + } catch (failure) { + view.transport.className = 'status error' + view.transport.textContent = `Stream error: ${message(failure)}` + } + } + + async function select(selection: StoredRunSelection) { + close(active) + active = undefined + if (disposed) return + root.replaceChildren() + const card = element('section') + card.className = 'card' + card.dataset.panel = 'stored-run' + card.append(element('h3', 'Stored run'), + element('p', 'Execution state is recorded independently of physical qualification. Qualification and unknown payloads remain in the original stored JSON.')) + root.append(card) + try { + const client = new StoredRunClient(selection.endpoint, selection.storeId) + const target = Object.freeze({ runId: selection.runId, attemptId: selection.attemptId }) + const source = element('details') + source.append(element('summary', 'Source connection'), element('p', `Endpoint: ${client.endpoint}`), + element('p', `Store: ${client.storeId}`)) + card.append(element('p', `Run: ${target.runId}`), element('p', `Selected attempt: ${target.attemptId}`), source) + function field(label: string, role: string, initial: string) { + const line = element('p') + line.append(element('strong', `${label}: `)) + const value = element('span', initial) + value.dataset.role = role + line.append(value) + card.append(line) + return value + } + const runState = field('Run snapshot state', 'run-state', 'Loading') + const state = field('Selected attempt state', 'attempt-state', 'Loading') + const reason = field('Persisted terminal reason', 'terminal-reason', 'No terminal record loaded') + const lastEvent = field('Last displayed event', 'last-event', 'None') + const transport = field('Transport', 'transport', 'Not connected') + transport.className = 'status' + transport.setAttribute('role', 'status') + const readError = element('p') + readError.className = 'status error' + readError.dataset.role = 'read-error' + readError.setAttribute('role', 'alert') + const retryButton = element('button', 'Reading stored snapshots…') + retryButton.type = 'button' + retryButton.className = 'btn btn-ghost' + retryButton.disabled = true + const errorHistory = element('details') + errorHistory.hidden = true + const readHistory = element('ul') + readHistory.dataset.role = 'read-error-history' + errorHistory.append(element('summary', 'Read error history'), readHistory) + const documents = element('div') + documents.dataset.role = 'documents' + const events = element('ol') + events.dataset.role = 'events' + const artifacts = element('div', 'No terminal record loaded') + artifacts.dataset.role = 'artifacts' + card.append(retryButton, readError, errorHistory, element('h4', 'Stored snapshots'), documents, + element('h4', 'Persisted events'), events, element('h4', 'Committed artifacts'), artifacts) + const view: SelectionView = { client, target, abort: new AbortController(), connection: 0, loaded: false, loading: false, + urls: new Map(), documents, events, artifacts, state, runState, reason, transport, readError, readHistory, lastEvent, + reconnect: retryButton } + active = view + retryButton.addEventListener('click', () => { void reconnect(view) }) + await reconnect(view) + } catch (failure) { + // Asynchronous stale reads are handled by snapshots; this also reports + // invalid explicit endpoint/identity input without selecting a fallback. + if (!disposed && root.contains(card)) { + const error = element('p', `Stored run read failed: ${message(failure)}`) + error.className = 'status error' + error.setAttribute('role', 'alert') + card.append(error) + } + } + } + + ready = select(initial) + return { + get ready() { return ready }, + get cursor() { return active?.subscription?.cursor }, + select(selection) { ready = select(selection); return ready }, + reconnect() { if (active) void reconnect(active) }, + dispose() { + disposed = true + close(active) + active = undefined + root.replaceChildren() + }, + } +} diff --git a/web/src/panels/transient.test.ts b/web/src/panels/transient.test.ts new file mode 100644 index 00000000..6942d056 --- /dev/null +++ b/web/src/panels/transient.test.ts @@ -0,0 +1,110 @@ +import { afterEach, beforeEach, expect, it, vi } from 'vitest' +import Plotly from 'plotly.js-basic-dist-min' +import { TransientClient } from '../transient-client' +import type { TransientJob } from '../transient-client' +import { catalog, protocol, resultFixture } from '../test-helpers/transient-fixture' +import type { RunSubscription, StoredDocument, StoredEvent, StreamEnd, TerminalRecord } from '../run-client' +import { mountTransientPanel } from './transient' +import type { TransientPanel } from './transient' +import { webcrypto } from '../test-helpers/schema-fixture.mjs' + +vi.mock('plotly.js-basic-dist-min', () => ({ default: { newPlot: vi.fn().mockResolvedValue(undefined), purge: vi.fn() } })) +const cursor = { endpoint: 'http://localhost/steady-service/', storeId: 'store', runId: 'run', attemptId: 'attempt', sequence: '0' } +let panel: TransientPanel, root: HTMLElement, job: TransientJob, sequence: number +let emit: (event: StoredDocument) => void | Promise, endStream: (end: StreamEnd) => void +let stop: ReturnType +function button(text: string) { return [...root.querySelectorAll('button')].find(node => node.textContent === text)! } +async function event(kind: StoredEvent['kind'], payload = {}) { + await emit({ json: '{}', value: { sequence: ++sequence, kind, run_id: 'run', attempt_id: 'attempt', payload } }) +} +async function submit() { button('Run transient').click(); await vi.waitFor(() => expect(emit).toBeTypeOf('function')) } +async function finish(state: TerminalRecord['state']) { + await event('terminal', { state, artifacts: [], result: { reason: 'stored reason' } }) + endStream({ reason: 'terminal', cursor }); await panel.completion +} +beforeEach(async () => { + vi.stubGlobal('crypto', webcrypto); vi.clearAllMocks(); sequence = 0 + root = document.createElement('div'); document.body.append(root) + emit = undefined as unknown as typeof emit; stop = vi.fn() + const done = new Promise(resolve => { endStream = resolve }) + job = { target: { runId: 'run', attemptId: 'attempt' }, submitted: { catalog, input: structuredClone(protocol), device: catalog.routes[0].devices[0] }, + reader: { storeId: 'store', getAttempt: vi.fn().mockResolvedValue({ value: { state: 'queued', terminal: null } }), + subscribe: vi.fn((_target, callback) => { emit = callback; return { cursor, done, unsubscribe: stop } as RunSubscription }) } as unknown as TransientJob['reader'] } + vi.spyOn(TransientClient.prototype, 'discover').mockResolvedValue(catalog) + vi.spyOn(TransientClient.prototype, 'submit').mockResolvedValue(job) + vi.spyOn(TransientClient.prototype, 'open').mockReturnValue(job) + vi.spyOn(TransientClient.prototype, 'cancel').mockResolvedValue(undefined) + vi.spyOn(TransientClient.prototype, 'readResult').mockResolvedValue(resultFixture()) + panel = mountTransientPanel(root, 'http://localhost/steady-service/'); await panel.ready +}) +afterEach(() => { panel.dispose(); root.remove(); vi.restoreAllMocks(); vi.unstubAllGlobals() }) + +it('submits explicit installed samples, follows states, and plots temporal/spatial fields with units', async () => { + await submit() + expect(TransientClient.prototype.submit).toHaveBeenCalledWith(catalog, catalog.routes[0], 'research_1d', protocol, 60, expect.stringMatching(/^transient-/)) + expect(root.querySelector('[data-role=state]')?.textContent).toBe('queued') + await event('running'); expect(root.querySelector('[data-role=state]')?.textContent).toBe('running') + await finish('succeeded') + expect(root.querySelector('[data-role=metrics]')?.textContent).toContain('Unknown') + expect(Plotly.newPlot).toHaveBeenCalledTimes(6) + const trace = vi.mocked(Plotly.newPlot).mock.calls.find(([div]) => (div as HTMLElement).dataset.plot === 'Terminal currents over time')! + expect(trace[1][0]).toMatchObject({ x: [1e-7, 2e-7], y: [-40, -42], mode: 'lines+markers' }) + expect(trace[2]).toMatchObject({ xaxis: { range: [0, 2e-7] }, yaxis: { title: { text: 'Current density (A/m²)' } } }) + expect(root.querySelector('[data-role=readback-link]')?.href).toContain('attemptId=attempt') +}) + +it('reopens the failed prefix and all requested rows without submitting or relabelling next-run defaults', async () => { + const result = resultFixture(true) + vi.mocked(TransientClient.prototype.readResult).mockResolvedValue(result) + vi.mocked(job.reader.getAttempt).mockResolvedValue({ value: { state: 'failed', terminal: { + state: 'failed', result: { reason: 'budget_exhausted' }, artifacts: [], + } } } as never) + vi.mocked(job.reader.subscribe).mockReturnValue({ cursor, unsubscribe: stop, done: Promise.resolve({ reason: 'terminal_acknowledged', cursor }) }) + await panel.openStored({ storeId: 'store', runId: 'run', attemptId: 'attempt' }) + expect(TransientClient.prototype.submit).not.toHaveBeenCalled() + expect(root.querySelector('[data-role=state]')?.textContent).toBe('failed') + expect(root.querySelector('[data-role=first-failure]')?.textContent).toContain('1e-7 → 2e-7 s') + const rows = [...root.querySelectorAll('[data-role=requested-protocol] tr')].map(row => [...row.querySelectorAll('td')].map(cell => cell.textContent)) + expect(rows.slice(1)).toEqual([['0', '0', '1', 'Initial DC'], ['1e-7', '0', '1', 'Accepted'], ['2e-7', '0', '1.5', 'Failed step'], ['3e-7', '0', '1', 'Not attempted']]) + expect(root.querySelector('[name=samples]')!.value.split('\n')).toHaveLength(3) + const trace = vi.mocked(Plotly.newPlot).mock.calls.find(([div]) => (div as HTMLElement).dataset.plot === 'Terminal currents over time')! + expect(trace[1][0]).toMatchObject({ x: [1e-7], y: [-40], mode: 'lines+markers' }) + expect(trace[2]?.xaxis).toMatchObject({ range: [0, 1e-7] }) + await panel.reconnect() + expect(TransientClient.prototype.submit).not.toHaveBeenCalled() + expect(root.querySelector('[data-role=transport]')?.textContent).toContain('terminal_acknowledged') +}) + +it('shows initial-only failure with no invented currents', async () => { + vi.mocked(TransientClient.prototype.readResult).mockResolvedValue(resultFixture(true, true)) + await submit(); await finish('failed') + expect(root.textContent).toContain('No transient step was accepted') + const current = vi.mocked(Plotly.newPlot).mock.calls.find(([div]) => (div as HTMLElement).dataset.plot === 'Terminal currents over time')! + expect(current[1].every(trace => (trace.x as number[]).length === 0 && (trace.y as number[]).length === 0)).toBe(true) + expect((current[2]?.xaxis as { range: number[] }).range.every(Number.isFinite)).toBe(true) +}) + +it('requests exact cancellation, waits for the terminal, and never draws a cancelled history', async () => { + vi.mocked(TransientClient.prototype.readResult).mockResolvedValue(undefined) + await submit(); await event('running'); button('Cancel this attempt').click() + await vi.waitFor(() => expect(TransientClient.prototype.cancel).toHaveBeenCalledWith(job)) + expect(root.querySelector('[data-role=state]')?.textContent).toBe('running') + await finish('cancelled') + expect(root.querySelector('[data-role=state]')?.textContent).toBe('cancelled') + expect(root.textContent).toContain('No transient history was committed') + expect(Plotly.newPlot).not.toHaveBeenCalled() +}) + +it('unsubscribes on disposal without cancelling and ignores late terminal callbacks', async () => { + await submit(); panel.dispose(); await event('terminal', { state: 'succeeded', result: {}, artifacts: [] }) + endStream({ reason: 'unsubscribed', cursor }); await panel.completion + expect(stop).toHaveBeenCalled(); expect(TransientClient.prototype.cancel).not.toHaveBeenCalled() + expect(Plotly.newPlot).not.toHaveBeenCalled(); expect(root.textContent).toBe('') +}) + +it('does not offer a fallback when no compatible transient route is installed', async () => { + panel.dispose(); vi.mocked(TransientClient.prototype.discover).mockResolvedValue({ ...catalog, routes: [] }) + panel = mountTransientPanel(root, 'http://localhost/steady-service/'); await panel.ready + expect(root.textContent).toContain('No compatible ion-free transient route') + button('Run transient').click(); expect(TransientClient.prototype.submit).not.toHaveBeenCalled() +}) diff --git a/web/src/panels/transient.ts b/web/src/panels/transient.ts new file mode 100644 index 00000000..df6c8b33 --- /dev/null +++ b/web/src/panels/transient.ts @@ -0,0 +1,286 @@ +import Plotly from 'plotly.js-basic-dist-min' +import { baseLayout, axisTitle, plotConfig, PALETTE } from '../plot-theme' +import { TransientClient, parseTransientSamples } from '../transient-client' +import type { TransientCatalog, TransientJob, TransientResult, TransientRoute, TransientProtocol } from '../transient-client' +import type { RunSubscription, TerminalRecord } from '../run-client' + +export interface StoredTransientTarget { storeId: string; runId: string; attemptId: string } +export interface TransientPanel { + readonly ready: Promise; readonly completion: Promise + readonly job: TransientJob | undefined; readonly result: TransientResult | undefined + reconnect(): Promise; openStored(target: StoredTransientTarget): Promise; dispose(): void +} + +function element(tag: K, text?: string) { + const node = document.createElement(tag); if (text !== undefined) node.textContent = text; return node +} +const message = (error: unknown) => error instanceof Error ? error.message : String(error) +const terminal = (state: string) => ['succeeded', 'failed', 'cancelled'].includes(state) + +/** A concrete ion-free transient view on the same owner, catalog and stored reader. */ +export function mountTransientPanel(root: HTMLElement, endpoint: string | URL, initial?: StoredTransientTarget): TransientPanel { + const client = new TransientClient(endpoint) + let catalog: TransientCatalog | undefined, job: TransientJob | undefined, result: TransientResult | undefined + let subscription: RunSubscription | undefined, phase = 'loading', epoch = 0, disposed = false + let abort = new AbortController(), completion = Promise.resolve() + const displayedEvents = new Set(), plots: HTMLElement[] = [] + const card = element('section'); card.className = 'card'; card.dataset.panel = 'transient' + card.append(element('h2', 'Transient · new core'), element('p', + 'Classical ion-free 1D time evolution from a cold DC initial state. Only installed devices are available. Ionic dynamics and 2D are outside this entry; physical qualification is not established.')) + const form = element('form'), fields = element('fieldset'); fields.style.cssText = 'border:0;padding:0' + const grid = element('div'); grid.className = 'form-grid'; fields.append(grid) + function control(name: string, label: string, input: T, parent: HTMLElement = grid): T { + const wrap = element('label'); wrap.className = 'form-group' + input.name = name; input.setAttribute('aria-label', label); wrap.append(element('span', label), input); parent.append(wrap); return input + } + const routeSelect = control('route', 'Installed transient experiment', element('select')) + const device = control('device', 'Installed device', element('select')) + const samples = control('samples', 'Samples: time (s), voltage (V), generation scale — one row per sample', element('textarea'), fields) + samples.rows = 5; samples.required = true; samples.style.cssText = 'width:100%;font-family:monospace;resize:vertical' + samples.value = '0, 0, 1\n1e-7, 0, 1.0025\n2e-7, 0, 1.01' + const budgets = element('details'); budgets.append(element('summary', 'Grid and work budgets')); fields.append(budgets) + const budgetGrid = element('div'); budgetGrid.className = 'form-grid'; budgets.append(budgetGrid) + const inputs: Record = {} + for (const [name, label, value, step] of [ + ['intervals_per_layer', 'Intervals per electrical layer', '12', '1'], ['wall_seconds', 'Whole-job wall budget (s)', '60', 'any'], + ['max_steps', 'Maximum transient steps', '32', '1'], ['wall_s', 'Transient wall budget (s)', '30', 'any'], + ['max_iterations', 'Newton iterations per step', '50', '1'], ['max_residual_evaluations', 'Residual evaluations per step', '1000', '1'], + ['max_jacobian_evaluations', 'Jacobian evaluations per step', '50', '1'], ['max_backtracks', 'Backtracks per iteration', '24', '1'], + ]) { + const input = element('input'); input.type = 'number'; input.value = value; input.step = step; input.required = true + inputs[name] = control(name, label, input, budgetGrid) + } + const bounds = element('p'), run = element('button', 'Run transient'); run.type = 'submit'; run.className = 'btn btn-primary' + fields.append(bounds, run); fields.disabled = true; form.append(fields) + function button(text: string) { const b = element('button', text); b.type = 'button'; b.className = 'btn btn-ghost'; return b } + const refresh = button('Refresh installed devices'), cancel = button('Cancel this attempt'), reconnect = button('Reconnect / refresh attempt') + cancel.disabled = reconnect.disabled = true + const state = element('p', 'Loading installed transient catalog…'); state.dataset.role = 'state'; state.setAttribute('role', 'status') + const transport = element('p'); transport.dataset.role = 'transport'; transport.setAttribute('role', 'status') + const error = element('p'); error.className = 'status error'; error.setAttribute('role', 'alert') + const identity = element('p'); identity.dataset.role = 'attempt'; identity.style.overflowWrap = 'anywhere' + const link = element('a', 'Read this attempt after reload'); link.hidden = true; link.dataset.role = 'readback-link' + const readForm = element('form'), readBox = element('details'); readBox.append(element('summary', 'Open a stored attempt without a new solve')) + const readGrid = element('div'); readGrid.className = 'form-grid'; readForm.append(readGrid) + const stored = {} as Record + for (const [name, label] of [['storeId', 'Store ID'], ['runId', 'Run ID'], ['attemptId', 'Attempt ID']] as const) { + const input = element('input'); input.required = true; stored[name] = control(name, label, input, readGrid) + } + const open = element('button', 'Open stored attempt'); open.type = 'submit'; open.className = 'btn btn-ghost'; readForm.append(open); readBox.append(readForm) + const history = element('ul'); history.dataset.role = 'history' + const eventDetails = element('details'); eventDetails.append(element('summary', 'Persisted run events'), history) + const output = element('div'); output.dataset.role = 'result' + card.append(form, refresh, cancel, reconnect, state, transport, error, identity, link, readBox, eventDetails, output) + root.replaceChildren(card) + + function update(next: string) { + if (terminal(phase) && next !== phase || phase === 'running' && next === 'queued') return + phase = next; card.dataset.state = next; state.textContent = next + const busy = ['submitting', 'queued', 'running'].includes(next) + fields.disabled = busy || !catalog?.routes.length; refresh.disabled = busy + open.disabled = busy; cancel.disabled = !job || !['queued', 'running'].includes(next) + } + function selected(): TransientRoute | undefined { return catalog?.routes[Number(routeSelect.value)] } + function devices() { + const route = selected(); device.replaceChildren() + for (const d of route?.devices ?? []) { const option = element('option', d.id); option.value = d.id; device.append(option) } + run.disabled = !route?.devices.length + if (!route) return + for (const [key, input] of Object.entries(inputs)) { + const limit = key === 'wall_seconds' ? { min: .001, max: catalog!.ceiling.wall_seconds } : route.bounds[key as keyof TransientRoute['bounds']] + input.min = String(key === 'wall_s' ? Math.max(.001, limit.min) : limit.min); input.max = String(limit.max) + input.value = String(Math.min(Number(input.value), limit.max)) + } + const b = route.bounds + bounds.textContent = `${b.samples.min}–${b.samples.max} rows; strictly increasing time ${b.times_s.min}–${b.times_s.max} s; voltage ${b.voltage_V.min}–${b.voltage_V.max} V; generation ${b.generation_scale.min}–${b.generation_scale.max}. Solver tolerances are fixed by the installed service.` + } + routeSelect.addEventListener('change', devices) + async function discover() { + fields.disabled = true; error.textContent = '' + try { + const found = await client.discover(abort.signal); if (disposed) return + catalog = found; routeSelect.replaceChildren() + found.routes.forEach((r, i) => { const option = element('option', `${r.id} · version ${r.version}`); option.value = String(i); routeSelect.append(option) }) + devices(); fields.disabled = !found.routes.length + if (!job) { phase = 'ready'; update(found.routes.length ? 'ready' : 'unavailable') } + if (!found.routes.length) error.textContent = 'No compatible ion-free transient route is installed on this service.' + } catch (failure) { + if (!disposed) { error.textContent = `Installed transient service unavailable: ${message(failure)}`; if (!job) update('unavailable') } + } + } + refresh.addEventListener('click', () => { void discover() }) + function purge() { for (const plot of plots.splice(0)) Plotly.purge(plot); output.replaceChildren() } + function selectJob(active: TransientJob) { + job = active; reconnect.disabled = false + const target = { storeId: active.reader.storeId, ...active.target } + for (const key of Object.keys(stored) as (keyof StoredTransientTarget)[]) stored[key].value = target[key] + identity.textContent = `Store ${target.storeId} · run ${target.runId} · attempt ${target.attemptId}` + const url = new URL(location.href); url.search = new URLSearchParams({ view: 'transient', ...target }).toString() + link.href = url.href; link.hidden = false + } + + async function render(data: TransientResult, active: TransientJob) { + purge() + const a = data.arrays, times = a.accepted_times_s.values, x = a.nodes_m.values, count = times.length + const summary = element('p', `${count} accepted states of ${a.requested_times_s.values.length} requested · ${count - 1} accepted ${count === 2 ? 'step' : 'steps'} · ${x.length} nodes · ${String(data.worker.registered_device_id)}`) + summary.dataset.role = 'history-summary'; output.append(summary) + const unknown = element('p', 'Voc, fill factor and efficiency: Unknown for this transient history. Physical status: not_evaluated.') + unknown.dataset.role = 'metrics'; output.append(unknown) + const failure = data.attempts.find(attempt => attempt.accepted === false) + if (failure) { + const failed = element('p', `First failed step: ${String(failure.start_s)} → ${String(failure.end_s)} s · ${String(failure.termination)}${failure.error ? ' · ' + JSON.stringify(failure.error) : ''}. Only the accepted prefix is plotted.`) + failed.dataset.role = 'first-failure'; output.append(failed) + } + const requested = element('details'); requested.dataset.role = 'requested-protocol'; requested.open = true + requested.append(element('summary', 'Stored requested protocol')) + const table = element('table'), head = element('tr'), thead = element('thead'), tbody = element('tbody') + table.className = 'param-table mode-table' + for (const label of ['Time (s)', 'Voltage (V)', 'Generation scale', 'Stored outcome']) head.append(element('th', label)) + thead.append(head); table.append(thead, tbody) + a.requested_times_s.values.forEach((time, i) => { + const row = element('tr') + for (const value of [time, a.requested_voltage_V.values[i], a.requested_generation_scale.values[i], + i === 0 ? 'Initial DC' : i < count ? 'Accepted' : i === count ? 'Failed step' : 'Not attempted']) row.append(element('td', String(value))) + tbody.append(row) + }) + requested.append(table); output.append(requested) + output.append(element('p', 'Currents use the stored signs and accepted step end times. Terminal columns are left/right; no current at the initial time is invented.')) + if (count === 1) output.append(element('p', 'No transient step was accepted; current histories are unavailable. The initial DC fields remain readable.')) + const selectors = element('div'); selectors.className = 'form-grid'; output.append(selectors) + const sample = control('accepted_time', 'Spatial fields at accepted time (s)', element('select'), selectors) + times.forEach((t, i) => { const option = element('option', String(t)); option.value = String(i); sample.append(option) }); sample.value = String(count - 1) + const node = control('node', 'Temporal fields at position (m)', element('select'), selectors) + x.forEach((position, i) => { const option = element('option', position.toPrecision(6)); option.value = String(i); node.append(option) }); node.value = String(Math.floor(x.length / 2)) + function plot(title: string) { + const section = element('section'); section.className = 'card'; section.append(element('h3', title)) + const div = element('div'); div.style.height = '310px'; div.dataset.plot = title + section.append(div); output.append(section); plots.push(div); return div + } + const terminalCurrent = plot('Terminal currents over time'), potentialTime = plot('Potential over time'), densityTime = plot('Carrier densities over time') + const potential = plot('Potential in space'), carriers = plot('Carrier densities in space'), current = plot('Currents in space') + const colors = [PALETTE.primary, PALETTE.secondary, '#6c5ce7'] + const line = (x: number[], y: number[], name: string, color = PALETTE.primary) => + ({ type: 'scatter', mode: 'lines+markers', x, y, name, line: { color, width: 2 }, marker: { size: 4 } }) + function draw(div: HTMLElement, traces: Record[], xlabel: string, ylabel: string) { + const padding = Math.max((a.requested_times_s.values[1] - times[0]) * .05, Number.MIN_VALUE * 8) + const timeRange = count > 1 ? [times[0], times[count - 1]] : [times[0] - padding, times[0] + padding] + return Plotly.newPlot(div, traces, baseLayout({ xaxis: { title: axisTitle(xlabel), ...(xlabel.includes('time') ? { range: timeRange } : {}) }, + yaxis: { title: axisTitle(ylabel) } }), plotConfig(`transient-${active.target.runId}`)) + } + const kinds = ['conduction', 'displacement', 'total'] as const + const terminalTraces = kinds.flatMap((kind, k) => [0, 1].map(side => ({ + ...line(times.slice(1), times.slice(1).map((_, i) => a[`terminal_${kind}_current_density_A_m2`].values[i * 2 + side]), + `${side === 0 ? 'Left' : 'Right'} ${kind}`, colors[k]), line: { color: colors[k], dash: side ? 'dash' : 'solid' }, + }))) + async function temporalFields(i: number) { + const column = (name: 'potential_V' | 'electron_density_m3' | 'hole_density_m3') => times.map((_, j) => a[name].values[j * x.length + i]) + await Promise.all([ + draw(potentialTime, [line(times, column('potential_V'), 'Potential')], 'Accepted time (s)', 'Potential (V)'), + draw(densityTime, [line(times, column('electron_density_m3'), 'Electrons'), line(times, column('hole_density_m3'), 'Holes', PALETTE.secondary)], 'Accepted time (s)', 'Density (m⁻³)'), + ]) + } + async function spatialFields(i: number) { + const row = (name: 'potential_V' | 'electron_density_m3' | 'hole_density_m3') => a[name].values.slice(i * x.length, (i + 1) * x.length) + await Promise.all([ + draw(potential, [line(x, row('potential_V'), 'Potential')], 'Position (m)', 'Potential (V)'), + draw(carriers, [line(x, row('electron_density_m3'), 'Electrons'), line(x, row('hole_density_m3'), 'Holes', PALETTE.secondary)], 'Position (m)', 'Density (m⁻³)'), + draw(current, kinds.flatMap((kind, k) => [ + line(i ? x.slice(1).map((v, j) => (v + x[j]) / 2) : [], i ? a[`${kind}_current_density_A_m2`].values.slice((i - 1) * (x.length - 1), i * (x.length - 1)) : [], kind, colors[k]), + { ...line(i ? [x[0], x.at(-1)!] : [], i ? a[`terminal_${kind}_current_density_A_m2`].values.slice((i - 1) * 2, i * 2) : [], `${kind} at contacts`, colors[k]), mode: 'markers' }, + ]), 'Position (m)', 'Current density (A/m²)'), + ]) + } + const plotError = (failure: unknown) => { if (!disposed) error.textContent = `Plot failed: ${message(failure)}` } + sample.addEventListener('change', () => { void spatialFields(Number(sample.value)).catch(plotError) }) + node.addEventListener('change', () => { void temporalFields(Number(node.value)).catch(plotError) }) + for (const [label, text] of [['Original stored attempt', data.originalJson], ['Raw solver diagnostics (nonfinite tags preserved)', data.diagnosticsJson]]) { + const details = element('details'), pre = element('pre', text); pre.style.cssText = 'white-space:pre-wrap;overflow-wrap:anywhere;max-height:400px;overflow:auto' + details.append(element('summary', label), pre); output.append(details) + } + await Promise.all([draw(terminalCurrent, terminalTraces, 'Accepted step end time (s)', 'Current density (A/m²)'), temporalFields(Number(node.value)), spatialFields(Number(sample.value))]) + } + + async function connect(active: TransientJob, token: number) { + const current = () => !disposed && token === epoch && job === active + const resume = subscription?.cursor; subscription?.unsubscribe() + const snapshot = await active.reader.getAttempt(active.target, abort.signal); if (!current()) return + update(snapshot.value.state) + async function finish(end: TerminalRecord) { + if (!current()) return + update(end.state) + const worker = end.result.worker_result as Record | undefined + if (end.state !== 'succeeded') error.textContent = `${end.state}: ${String(worker?.detail ?? worker?.reason ?? end.result.reason ?? 'stored terminal')}` + if (!result) { + const data = await client.readResult(active, abort.signal); if (!current()) return + if (data) { await render(data, active); if (current()) result = data } + else output.replaceChildren(element('p', 'No transient history was committed for this attempt.')) + } + } + if (snapshot.value.terminal) await finish(snapshot.value.terminal) + if (!current()) return + subscription = active.reader.subscribe(active.target, async doc => { + if (!current()) return + const event = doc.value, sequence = String(event.sequence) + if (!displayedEvents.has(sequence)) { history.append(element('li', `${sequence} · ${event.kind}`)); displayedEvents.add(sequence) } + if (event.kind === 'queued' || event.kind === 'running') update(event.kind) + if (event.kind === 'progress') transport.textContent = 'Worker progress received' + if (event.kind === 'terminal') await finish(event.payload as TerminalRecord) + }, resume) + transport.textContent = 'Following persisted events…' + const end = await subscription.done + if (current()) transport.textContent = end.reason === 'disconnected' + ? 'Event connection lost; reconnect to the same attempt. The job was not cancelled.' : `Event stream: ${end.reason}` + } + function reset() { + ++epoch; subscription?.unsubscribe(); subscription = undefined; abort.abort(); abort = new AbortController() + job = undefined; result = undefined; phase = 'ready'; purge(); displayedEvents.clear(); history.replaceChildren() + error.textContent = ''; transport.textContent = ''; link.hidden = true; reconnect.disabled = true + return epoch + } + async function reconnectRun() { + if (!job || disposed) return + try { await connect(job, ++epoch) } catch (failure) { if (!disposed) error.textContent = `Read failed: ${message(failure)}` } + } + async function openStored(target: StoredTransientTarget) { + if (disposed || ['submitting', 'queued', 'running'].includes(phase)) return + const token = reset() + try { const active = client.open(target.storeId.trim(), target.runId.trim(), target.attemptId.trim()); selectJob(active); await connect(active, token) } + catch (failure) { if (!disposed && token === epoch) { error.textContent = `Read failed: ${message(failure)}`; if (!job) update('ready') } } + } + readForm.addEventListener('submit', event => { event.preventDefault(); if (readForm.reportValidity()) completion = openStored({ storeId: stored.storeId.value, runId: stored.runId.value, attemptId: stored.attemptId.value }) }) + reconnect.addEventListener('click', () => { completion = reconnectRun() }) + cancel.addEventListener('click', async () => { + const active = job; if (!active) return + cancel.disabled = true + try { await client.cancel(active); if (!disposed && job === active) transport.textContent = 'Cancellation requested; waiting for the stored terminal.' } + catch (failure) { if (!disposed) { error.textContent = message(failure); cancel.disabled = terminal(phase) } } + }) + async function submit() { + const route = selected(); if (['submitting', 'queued', 'running'].includes(phase) || !catalog || !route || !form.reportValidity()) return + const token = reset(); update('submitting') + const runId = `transient-${crypto.randomUUID()}`; identity.textContent = `Submitting run ${runId}` + try { + const number = (name: string) => inputs[name].valueAsNumber + const input: TransientProtocol = { ...parseTransientSamples(samples.value), intervals_per_layer: number('intervals_per_layer'), + controls: { max_steps: number('max_steps'), wall_s: number('wall_s'), newton_budget: { + max_iterations: number('max_iterations'), max_residual_evaluations: number('max_residual_evaluations'), + max_jacobian_evaluations: number('max_jacobian_evaluations'), max_backtracks: number('max_backtracks'), + } } } + const active = await client.submit(catalog, route, device.value, input, number('wall_seconds'), runId) + if (disposed || token !== epoch) return + selectJob(active); update('queued'); await connect(active, token) + } catch (failure) { + if (!disposed && token === epoch) { + error.textContent = message(failure) + if (!job) { phase = 'unconfirmed'; update(phase); transport.textContent = 'Submission was not confirmed; no result or automatic retry is assumed.' } + else transport.textContent = 'Stored read failed; reconnect to the same attempt.' + } + } + } + form.addEventListener('submit', event => { event.preventDefault(); completion = submit() }) + const ready = (async () => { await discover(); if (initial && !disposed) await openStored(initial) })() + return { ready, get completion() { return completion }, get job() { return job }, get result() { return result }, + reconnect: reconnectRun, openStored, + dispose() { disposed = true; ++epoch; abort.abort(); subscription?.unsubscribe(); purge(); root.replaceChildren() }, + } +} diff --git a/perovskite-sim/frontend/src/panels/tutorial.ts b/web/src/panels/tutorial.ts similarity index 100% rename from perovskite-sim/frontend/src/panels/tutorial.ts rename to web/src/panels/tutorial.ts diff --git a/perovskite-sim/frontend/src/plot-theme.test.ts b/web/src/plot-theme.test.ts similarity index 100% rename from perovskite-sim/frontend/src/plot-theme.test.ts rename to web/src/plot-theme.test.ts diff --git a/perovskite-sim/frontend/src/plot-theme.ts b/web/src/plot-theme.ts similarity index 100% rename from perovskite-sim/frontend/src/plot-theme.ts rename to web/src/plot-theme.ts diff --git a/perovskite-sim/frontend/src/plotly.d.ts b/web/src/plotly.d.ts similarity index 100% rename from perovskite-sim/frontend/src/plotly.d.ts rename to web/src/plotly.d.ts diff --git a/perovskite-sim/frontend/src/preset-catalog.test.ts b/web/src/preset-catalog.test.ts similarity index 100% rename from perovskite-sim/frontend/src/preset-catalog.test.ts rename to web/src/preset-catalog.test.ts diff --git a/perovskite-sim/frontend/src/preset-catalog.ts b/web/src/preset-catalog.ts similarity index 100% rename from perovskite-sim/frontend/src/preset-catalog.ts rename to web/src/preset-catalog.ts diff --git a/perovskite-sim/frontend/src/progress.test.ts b/web/src/progress.test.ts similarity index 100% rename from perovskite-sim/frontend/src/progress.test.ts rename to web/src/progress.test.ts diff --git a/perovskite-sim/frontend/src/progress.ts b/web/src/progress.ts similarity index 100% rename from perovskite-sim/frontend/src/progress.ts rename to web/src/progress.ts diff --git a/web/src/run-client.test.ts b/web/src/run-client.test.ts new file mode 100644 index 00000000..eff046c6 --- /dev/null +++ b/web/src/run-client.test.ts @@ -0,0 +1,360 @@ +// @vitest-environment node +import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest'; +import { StoredRunClient } from './run-client'; +import type { ReplayCursor, RunSubscription, StoredEvent } from './run-client'; +import { webcrypto } from './test-helpers/schema-fixture.mjs'; + +const endpoint = 'http://127.0.0.1:8123/stored/'; +const storeId = 'store-a'; +const target = { runId: 'run-a', attemptId: 'attempt-a' }; +const client = () => new StoredRunClient(endpoint, storeId); +const manifest = 'b'.repeat(64); +const emptySha = 'e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855'; +const artifactReference = { artifact_id: 'artifact-a', manifest_sha256: manifest }; +const opaque = { + identity_kind: 'opaque_upstream', + identity: { H_input: 'input-source', H_physics: 'physical-source', H_execution: 'actual-execution', extra: null }, + input_metadata: { zero: 0, negative_zero: -0, null_value: null, enabled: false, qualification: 'unqualified', layers: [{ value: 0 }] }, +}; + +function run(extra = {}) { + return { run_id: target.runId, current_attempt_id: target.attemptId, state: 'running', generation: 1, created_ns: 0, request: opaque, ...extra }; +} +function attempt(extra = {}) { + return { run_id: target.runId, attempt_id: target.attemptId, attempt_number: 1, + state: 'running', generation: 1, created_ns: 0, started_ns: 0, finished_ns: null, + owner_id: 'fixture', result: null, terminal: null, ...extra }; +} +function terminal(state = 'failed') { + return { state, result: { reason: 'fixture-failure', tau: null, zero: 0, qualification: 'not_evaluated' }, artifacts: [] }; +} +function event(sequence: number, kind = 'progress', extra = {}) { + return { sequence, run_id: target.runId, attempt_id: target.attemptId, generation: kind === 'queued' ? 0 : 1, + kind, event_key: kind === 'progress' ? `user:p${sequence}` : kind, created_ns: 0, + payload: kind === 'terminal' ? terminal() : { zero: 0, missing: null }, ...extra }; +} +function artifact(extra = {}) { + return { ...artifactReference, run_id: target.runId, attempt_id: target.attemptId, generation: 1, + phase: 'committed', sha256: emptySha, size_bytes: 0, format: 'bytes', + name: 'fixture', relative_path: 'objects/fixture.bin', created_ns: 0, + metadata: { null_value: null, zero: 0 }, ...extra }; +} +function jsonResponse(value: unknown, headers = {}, status = 200) { + return new Response(JSON.stringify(value), { status, headers: { 'Content-Type': 'application/json', 'X-RunStore-ID': storeId, ...headers } }); +} +function frame(record = event(1)): string { + return `id: ${record.sequence}\nevent: ${record.kind}\ndata: ${JSON.stringify(record)}\n\n`; +} +function stream(text: string, headers = {}) { + return new Response(text, { headers: { 'Content-Type': 'text/event-stream; charset=utf-8', 'X-RunStore-ID': storeId, ...headers } }); +} +function respond(...responses: Response[]) { + const mock = vi.fn(); + for (const response of responses) mock.mockResolvedValueOnce(response); + vi.stubGlobal('fetch', mock); + return mock; +} +function cursor(sequence = '3'): ReplayCursor { + return { endpoint, storeId, ...target, sequence }; +} + +beforeEach(() => { vi.stubGlobal('crypto', webcrypto); }); +afterEach(() => { vi.unstubAllGlobals(); }); + +describe('explicit stored-run reads', () => { + it('keeps opaque metadata, exact large integers, signed zero, null and omission', async () => { + const raw = JSON.stringify(run()) + .replace('"created_ns":0', '"created_ns":18446744073709551617') + .replace('"negative_zero":0', '"negative_zero":-0.0'); + const fetch = respond(new Response(raw, { headers: { 'Content-Type': 'application/json', 'X-RunStore-ID': storeId } })); + const result = await client().getRun(target.runId); + expect(result.json).toBe(raw); + expect(result.value.created_ns).toBe(18446744073709551617n); + expect(result.value.request).toEqual(opaque); + const input = result.value.request.input_metadata as Record; + expect(Object.is(input.negative_zero, -0)).toBe(true); + expect(input.null_value).toBeNull(); + expect(Object.hasOwn(input, 'omitted')).toBe(false); + expect(fetch).toHaveBeenCalledWith(new URL('runs/run-a', endpoint), expect.objectContaining({ redirect: 'error', cache: 'no-store' })); + expect(fetch.mock.calls[0][1].method).toBeUndefined(); + }); + + it('keeps a pending snapshot distinct from a failed terminal and result', async () => { + const final = terminal(); + respond(jsonResponse(attempt()), jsonResponse(attempt({ state: 'failed', result: final.result, terminal: final, finished_ns: 0 }))); + expect((await client().getAttempt(target)).value.result).toBeNull(); + const result = (await client().getAttempt(target)).value; + expect(result.state).toBe('failed'); + expect(result.result).toEqual(final.result); + expect(result.terminal).toEqual(final); + }); + + it.each([ + { terminal: undefined }, + { result: {} }, + { finished_ns: 1 }, + { state: 'unknown' }, + { owner_id: undefined }, + ])('rejects malformed pending records %j', async extra => { + respond(jsonResponse(attempt(extra))); + await expect(client().getAttempt(target)).rejects.toHaveProperty('code'); + }); + + it('rejects contradictory terminal results without selecting either one', async () => { + respond(jsonResponse(attempt({ state: 'failed', result: {}, terminal: terminal(), finished_ns: 0 }))); + await expect(client().getAttempt(target)).rejects.toMatchObject({ code: 'protocol' }); + }); + + it.each(['store-b', ''])('rejects a foreign or absent response store %j', async header => { + respond(jsonResponse(run(), { 'X-RunStore-ID': header })); + await expect(client().getRun(target.runId)).rejects.toMatchObject({ code: 'identity_mismatch' }); + }); + + it('rejects foreign snapshot IDs', async () => { + respond(jsonResponse(run({ run_id: 'other' })), jsonResponse(attempt({ attempt_id: 'other' }))); + await expect(client().getRun(target.runId)).rejects.toMatchObject({ code: 'identity_mismatch' }); + await expect(client().getAttempt(target)).rejects.toMatchObject({ code: 'identity_mismatch' }); + }); + + it('retains an HTTP failure detail without reclassifying it as a run outcome', async () => { + const detail = { detail: { code: 'artifact_integrity', reason: null, count: 0 } }; + respond(jsonResponse(detail, {}, 409)); + await expect(client().getRun(target.runId)).rejects.toMatchObject({ code: 'http', status: 409, detail }); + }); + + it.each(['{', 'null', '[]', '{"state":"running"}'])('rejects malformed JSON/record %s', async text => { + respond(new Response(text, { headers: { 'Content-Type': 'application/json', 'X-RunStore-ID': storeId } })); + await expect(client().getRun(target.runId)).rejects.toHaveProperty('code'); + }); + + it('rejects invalid UTF-8 and a wrong content type', async () => { + respond(new Response(new Uint8Array([255]), { headers: { 'Content-Type': 'application/json', 'X-RunStore-ID': storeId } }), + jsonResponse(run(), { 'Content-Type': 'text/html' })); + await expect(client().getRun(target.runId)).rejects.toMatchObject({ code: 'malformed' }); + await expect(client().getRun(target.runId)).rejects.toMatchObject({ code: 'protocol' }); + }); + + it('refuses unsafe integer parsing on a runtime without source-aware revivers', async () => { + respond(new Response(JSON.stringify(run()).replace('"created_ns":0', '"created_ns":9007199254740993'), + { headers: { 'Content-Type': 'application/json', 'X-RunStore-ID': storeId } })); + const nativeParse = JSON.parse; + const spy = vi.spyOn(JSON, 'parse').mockImplementation((text, reviver) => nativeParse(text, + reviver ? function (key, value) { return reviver.call(this, key, value); } : undefined)); + try { await expect(client().getRun(target.runId)).rejects.toMatchObject({ code: 'verification_unavailable' }); } + finally { spy.mockRestore(); } + }); + + it('bounds received JSON bytes and rejects identifier/path injection', async () => { + respond(jsonResponse(run())); + await expect(new StoredRunClient(endpoint, storeId, 8).getRun(target.runId)).rejects.toMatchObject({ code: 'limit_exceeded' }); + await expect(client().getRun('../run')).rejects.toMatchObject({ code: 'malformed' }); + expect(() => new StoredRunClient('https://user:secret@host.invalid', storeId)).toThrow(); + }); +}); + +describe('run event pages', () => { + it('accepts gaps and multiple attempts while retaining the exact cursor and empty-page zero', async () => { + const records = [event(1, 'terminal', { attempt_id: 'old-attempt' }), event(8, 'queued')]; + respond(jsonResponse({ store_id: storeId, events: records, next_cursor: 8 }), + jsonResponse({ store_id: storeId, events: [], next_cursor: 0 })); + expect((await client().getEvents(target.runId, '0', 2)).value.events).toEqual(records); + expect((await client().getEvents(target.runId)).value.next_cursor).toBe(0); + }); + + it.each([ + { store_id: 'foreign', events: [], next_cursor: 0 }, + { store_id: storeId, events: [event(1, 'queued', { run_id: 'foreign' })], next_cursor: 1 }, + { store_id: storeId, events: [event(1), event(1)], next_cursor: 1 }, + { store_id: storeId, events: [event(3), event(2)], next_cursor: 2 }, + { store_id: storeId, events: [event(3)], next_cursor: 4 }, + { store_id: storeId, events: [], next_cursor: null }, + ])('reports foreign or malformed pages %j', async page => { + respond(jsonResponse(page)); + await expect(client().getEvents(target.runId)).rejects.toHaveProperty('code'); + }); +}); + +describe('attempt streaming and replay', () => { + it.each(['failed', 'succeeded', 'cancelled'])('delivers one persisted %s terminal with its unaltered result', async state => { + const records = [event(1, 'queued'), event(3, 'running'), event(7), event(9, 'terminal', { payload: terminal(state) })]; + respond(stream(': keepalive\n\n' + records.map(record => frame(record)).join(''))); + const received: StoredEvent[] = []; + const subscription = client().subscribe(target, record => { received.push(record.value); }); + expect((await subscription.done).reason).toBe('terminal'); + expect(received).toEqual(records); + expect(subscription.cursor).toEqual(cursor('9')); + }); + + it('reconnects with Last-Event-ID precedence and recognises terminal HTTP 204 without a synthetic result', async () => { + const fetch = respond(stream(frame(event(4))), stream(frame(event(9, 'terminal'))), + new Response(null, { status: 204, headers: { 'X-RunStore-ID': storeId } })); + const handler = vi.fn(); + const first = client().subscribe(target, handler); + expect((await first.done).reason).toBe('disconnected'); + const second = client().subscribe(target, handler, first.cursor); + expect((await second.done).reason).toBe('terminal'); + const acknowledged = client().subscribe(target, handler, second.cursor); + expect((await acknowledged.done).reason).toBe('terminal_acknowledged'); + expect(handler).toHaveBeenCalledTimes(2); + expect(fetch.mock.calls[1][1].headers['Last-Event-ID']).toBe('4'); + expect(String(fetch.mock.calls[1][0])).toBe(endpoint + 'runs/run-a/attempts/attempt-a/events?after=0'); + }); + + it.each(['endpoint', 'storeId', 'runId', 'attemptId'])('refuses a foreign %s replay cursor before opening transport', key => { + const fetch = respond(); + expect(() => client().subscribe(target, vi.fn(), { ...cursor(), [key]: 'foreign' })).toThrow(); + expect(fetch).not.toHaveBeenCalled(); + }); + + it('checks stream store, record run/attempt, SSE ID and kind independently', async () => { + for (const response of [ + stream(frame(), { 'X-RunStore-ID': 'foreign' }), + stream(frame(event(1, 'progress', { run_id: 'foreign' }))), + stream(frame(event(1, 'progress', { attempt_id: 'foreign' }))), + stream(frame().replace('id: 1', 'id: 2')), + stream(frame().replace('event: progress', 'event: terminal')), + ]) { + respond(response); + const handler = vi.fn(); + await expect(client().subscribe(target, handler).done).rejects.toHaveProperty('code'); + expect(handler).not.toHaveBeenCalled(); + } + }); + + it('does not duplicate an identical last frame and reports conflicting/backward replay', async () => { + const one = frame(event(1)); + respond(stream(one + one + frame(event(6, 'terminal')))); + const handler = vi.fn(); + await client().subscribe(target, handler).done; + expect(handler).toHaveBeenCalledTimes(2); + for (const text of [one + frame(event(1, 'progress', { payload: { changed: true } })), one + frame(event(3)) + one]) { + respond(stream(text)); + await expect(client().subscribe(target, vi.fn()).done).rejects.toMatchObject({ code: 'protocol' }); + } + }); + + it('preserves IDs above Number.MAX_SAFE_INTEGER without aliasing adjacent events', async () => { + const large = (value: string, kind = 'progress') => frame(event(1, kind)) + .replace('id: 1', `id: ${value}`).replace('"sequence":1', `"sequence":${value}`); + respond(stream(large('9007199254740993') + large('9007199254740994', 'terminal'))); + const values: StoredEvent[] = []; + const subscription = client().subscribe(target, record => { values.push(record.value); }); + await subscription.done; + expect(values.map(value => value.sequence)).toEqual([9007199254740993n, 9007199254740994n]); + expect(subscription.cursor.sequence).toBe('9007199254740994'); + }); + + it('rejects extra post-terminal or legacy error/result/done events', async () => { + for (const text of [frame(event(1, 'terminal')) + frame(event(2)), + ...['error', 'result', 'done'].map(kind => frame(event(1, kind)))]) { + respond(stream(text)); + await expect(client().subscribe(target, vi.fn()).done).rejects.toMatchObject({ code: 'protocol' }); + } + }); + + it('reports network errors as disconnects and HTTP/protocol errors as errors', async () => { + const failure = new TypeError('offline'); + vi.stubGlobal('fetch', vi.fn().mockRejectedValue(failure)); + expect(await client().subscribe(target, vi.fn()).done).toMatchObject({ reason: 'disconnected', transportError: failure }); + respond(jsonResponse({ detail: 'unavailable' }, {}, 503), + new Response(null, { status: 204, headers: { 'X-RunStore-ID': storeId } })); + await expect(client().subscribe(target, vi.fn()).done).rejects.toMatchObject({ code: 'http', status: 503 }); + await expect(client().subscribe(target, vi.fn()).done).rejects.toMatchObject({ code: 'protocol' }); + }); + + it('supports split frames and keeps an interrupted partial frame unacknowledged', async () => { + const text = frame(event(5)) + frame(event(6)).slice(0, -1); + const chunks = new ReadableStream({ start(controller) { + for (const part of [text.slice(0, 7), text.slice(7, 27), text.slice(27)]) controller.enqueue(new TextEncoder().encode(part)); + controller.close(); + } }); + respond(new Response(chunks, { headers: { 'Content-Type': 'text/event-stream', 'X-RunStore-ID': storeId } })); + const handler = vi.fn(), subscription = client().subscribe(target, handler); + expect((await subscription.done).reason).toBe('disconnected'); + expect(subscription.cursor.sequence).toBe('5'); + expect(handler).toHaveBeenCalledTimes(1); + }); + + it('rejects completed malformed frames and oversized pending frames', async () => { + respond(stream('id: 1\ndata: {}\n\n'), stream('x'.repeat(65))); + await expect(client().subscribe(target, vi.fn()).done).rejects.toMatchObject({ code: 'protocol' }); + await expect(new StoredRunClient(endpoint, storeId, 64).subscribe(target, vi.fn()).done).rejects.toMatchObject({ code: 'limit_exceeded' }); + }); + + it('unsubscribes only the transport, stops further delivery and permits a new subscription', async () => { + const fetch = respond(stream(frame(event(1)) + frame(event(4, 'terminal'))), stream(frame(event(4, 'terminal')))); + const seen: StoredEvent[] = []; + let subscription: RunSubscription; + subscription = client().subscribe(target, record => { seen.push(record.value); subscription.unsubscribe(); }); + expect((await subscription.done).reason).toBe('unsubscribed'); + expect(seen).toHaveLength(1); + expect(fetch.mock.calls[0][1].signal.aborted).toBe(true); + expect((await client().subscribe(target, vi.fn(), subscription.cursor).done).reason).toBe('terminal'); + expect(fetch.mock.calls.every(([, init]) => init.method === undefined)).toBe(true); + }); + + it('acknowledges only a successfully completed consumer callback', async () => { + respond(stream(frame(event(1)) + frame(event(4)))); + const failure = new Error('consumer write failed'); + const subscription = client().subscribe(target, async record => { if (record.value.sequence === 4) throw failure; }); + await expect(subscription.done).rejects.toMatchObject({ code: 'consumer', cause: failure }); + expect(subscription.cursor.sequence).toBe('1'); + }); +}); + +describe('validated artifact downloads', () => { + function content(data: Uint8Array = new Uint8Array(), extra = {}) { + return new Response(data as Uint8Array, { headers: { 'Content-Type': 'application/octet-stream', 'X-RunStore-ID': storeId, ETag: `"${emptySha}"`, ...extra } }); + } + + it('accepts an actual zero-byte artifact and preserves metadata rather than treating zero as missing', async () => { + respond(jsonResponse(artifact()), content()); + const result = await client().getArtifact(target, artifactReference); + expect(result.bytes.byteLength).toBe(0); + expect(result.record.value.metadata).toEqual({ null_value: null, zero: 0 }); + expect(Object.hasOwn(result.record.value.metadata, 'missing')).toBe(false); + }); + + it('preserves uninterpreted byte words and verifies their actual digest', async () => { + const data = new Uint8Array([0, 128, 255, 0, 1, 2, 3]); + const sha = Array.from(new Uint8Array(await webcrypto.subtle.digest('SHA-256', data)), x => x.toString(16).padStart(2, '0')).join(''); + respond(jsonResponse(artifact({ size_bytes: data.length, sha256: sha })), content(data, { ETag: `"${sha}"` })); + expect((await client().getArtifact(target, artifactReference)).bytes).toEqual(data); + }); + + it.each([ + { artifact_id: 'foreign' }, { run_id: 'foreign' }, { attempt_id: 'foreign' }, + { manifest_sha256: 'c'.repeat(64) }, { phase: 'published' }, + ])('refuses a foreign or uncommitted artifact %j before content fetch', async extra => { + const fetch = respond(jsonResponse(artifact(extra))); + await expect(client().getArtifact(target, artifactReference)).rejects.toHaveProperty('code'); + expect(fetch).toHaveBeenCalledTimes(1); + }); + + it('detects byte corruption, wrong size and a lying ETag independently', async () => { + for (const [record, body] of [ + [artifact(), content(new Uint8Array([1]))], + [artifact({ size_bytes: 1 }), content()], + [artifact(), content(undefined, { ETag: '"foreign"' })], + [artifact({ sha256: 'c'.repeat(64) }), content()], + ] as const) { + respond(jsonResponse(record), body); + await expect(client().getArtifact(target, artifactReference)).rejects.toMatchObject({ code: 'integrity' }); + } + }); + + it('checks the content response store independently of metadata and propagates integrity HTTP errors', async () => { + respond(jsonResponse(artifact()), content(undefined, { 'X-RunStore-ID': 'other' }), + jsonResponse({ detail: { code: 'artifact_integrity', message: 'missing' } }, {}, 409)); + await expect(client().getArtifact(target, artifactReference)).rejects.toMatchObject({ code: 'identity_mismatch' }); + await expect(client().getArtifact(target, artifactReference)).rejects.toMatchObject({ code: 'http', status: 409, + detail: { detail: { code: 'artifact_integrity', message: 'missing' } } }); + }); + + it('fails closed when hashing is unavailable and refuses declared oversized content', async () => { + respond(jsonResponse(artifact()), jsonResponse(artifact({ size_bytes: 17 * 1024 ** 2 }))); + vi.stubGlobal('crypto', undefined); + await expect(client().getArtifact(target, artifactReference)).rejects.toMatchObject({ code: 'verification_unavailable' }); + await expect(client().getArtifact(target, artifactReference)).rejects.toMatchObject({ code: 'limit_exceeded' }); + }); +}); diff --git a/web/src/run-client.ts b/web/src/run-client.ts new file mode 100644 index 00000000..5bf83f1e --- /dev/null +++ b/web/src/run-client.ts @@ -0,0 +1,442 @@ +/** Read-only stored-run preparation; no submission, cancellation or UI selection. + * Contracts: solarlab_server/app.py, events.py and solarlab/io/run_store.py. + */ +export type StoredInteger = number | bigint; +export type StoredObject = Record; +export type RunState = 'queued' | 'running' | 'succeeded' | 'failed' | 'cancelled'; + +export interface RunSnapshot extends StoredObject { + run_id: string; + current_attempt_id: string; + state: RunState; + generation: StoredInteger; + request: StoredObject; +} + +export interface ArtifactReference { + artifact_id: string; + manifest_sha256: string; +} + +export interface TerminalRecord extends StoredObject { + state: 'succeeded' | 'failed' | 'cancelled'; + result: StoredObject; + artifacts: ArtifactReference[]; +} + +export interface AttemptSnapshot extends StoredObject { + run_id: string; + attempt_id: string; + state: RunState; + generation: StoredInteger; + result: StoredObject | null; + terminal: TerminalRecord | null; +} + +export interface StoredEvent extends StoredObject { + sequence: StoredInteger; + run_id: string; + attempt_id: string; + kind: 'queued' | 'running' | 'progress' | 'terminal'; + payload: StoredObject; +} + +export interface EventPage extends StoredObject { + store_id: string; + events: StoredEvent[]; + next_cursor: StoredInteger; +} + +export interface ArtifactRecord extends StoredObject, ArtifactReference { + run_id: string; + attempt_id: string; + sha256: string; + size_bytes: StoredInteger; + phase: 'committed'; + metadata: StoredObject; +} + +/** Keep the original JSON for exact export, including integer/float spelling. + * Unsafe JSON integer literals are bigint in value; opaque fields are not + * reinterpreted as a scientific schema. No JSON.stringify round trip is needed. + */ +export interface StoredDocument { value: T; json: string } +export interface AttemptIdentity { runId: string; attemptId: string } +export interface ReplayCursor extends AttemptIdentity { + endpoint: string; + storeId: string; + sequence: string; +} +export interface StreamEnd { + reason: 'terminal' | 'terminal_acknowledged' | 'disconnected' | 'unsubscribed'; + cursor: ReplayCursor; + transportError?: unknown; +} +export interface RunSubscription { + readonly cursor: ReplayCursor; + readonly done: Promise; + unsubscribe(): void; +} + +type ErrorCode = 'http' | 'malformed' | 'identity_mismatch' | 'protocol' + | 'integrity' | 'limit_exceeded' | 'verification_unavailable' | 'consumer'; +export class RunClientError extends Error { + readonly code: ErrorCode; + readonly status?: number; + readonly detail?: unknown; + + constructor(code: ErrorCode, message: string, options?: ErrorOptions & { status?: number; detail?: unknown }) { + super(message, options); + this.name = 'RunClientError'; + this.code = code; + this.status = options?.status; + this.detail = options?.detail; + } +} + +const MAX_SEQUENCE = 9223372036854775807n; +const states = ['queued', 'running', 'succeeded', 'failed', 'cancelled']; +const terminalStates = ['succeeded', 'failed', 'cancelled']; +const digestPattern = /^[a-f0-9]{64}$/; + +function requireValue(condition: unknown, message: string, code: ErrorCode = 'malformed'): asserts condition { + if (!condition) throw new RunClientError(code, message); +} + +function object(value: unknown): asserts value is StoredObject { + requireValue(value !== null && typeof value === 'object' && !Array.isArray(value), 'Expected a stored JSON object'); +} + +function identifier(value: unknown): asserts value is string { + requireValue(typeof value === 'string' && /^[A-Za-z0-9_][A-Za-z0-9_.:-]{0,127}$/.test(value), 'Invalid stored identifier'); +} + +function integer(value: unknown, maximum?: bigint): bigint { + requireValue(typeof value === 'bigint' || (typeof value === 'number' && Number.isSafeInteger(value)), 'Expected an exact integer'); + const result = BigInt(value); + requireValue(result >= 0n && (maximum === undefined || result <= maximum), 'Integer outside the stored domain'); + return result; +} + +function sequence(value: string): bigint { + requireValue(typeof value === 'string' && /^[0-9]{1,19}$/.test(value), 'Invalid replay sequence'); + return integer(BigInt(value), MAX_SEQUENCE); +} + +function same(left: unknown, right: unknown): boolean { + if (Object.is(left, right)) return true; + if (!left || !right || typeof left !== 'object' || typeof right !== 'object') return false; + if (Array.isArray(left) !== Array.isArray(right)) return false; + const a = left as StoredObject, b = right as StoredObject; + const keys = Object.keys(a); + return keys.length === Object.keys(b).length + && keys.every(key => Object.hasOwn(b, key) && same(a[key], b[key])); +} + +function parseJson(json: string): unknown { + try { + // Native source-aware revivers retain SQLite nanoseconds/64-bit cursors and + // arbitrary opaque integer metadata. Older runtimes fail closed when exact + // recovery is needed; they must not silently alias two persisted IDs. + return JSON.parse(json, (_key: string, value: unknown, context?: { source?: string }) => { + if (typeof value !== 'number') return value; + if (context?.source && /^-?[0-9]+$/.test(context.source) && !Number.isSafeInteger(value)) { + return BigInt(context.source); + } + requireValue(context?.source || Number.isSafeInteger(value) || !Number.isInteger(value), + 'This runtime cannot recover an exact JSON integer', 'verification_unavailable'); + requireValue(Number.isFinite(value), 'Non-finite JSON number'); + return value; + }); + } catch (cause) { + if (cause instanceof RunClientError) throw cause; + throw new RunClientError('malformed', 'Invalid stored JSON', { cause }); + } +} + +function reference(value: unknown): asserts value is ArtifactReference { + object(value); + identifier(value.artifact_id); + requireValue(typeof value.manifest_sha256 === 'string' && digestPattern.test(value.manifest_sha256), 'Invalid artifact manifest digest'); +} + +function terminal(value: unknown): asserts value is TerminalRecord { + object(value); + requireValue(terminalStates.includes(String(value.state)), 'Invalid terminal state'); + object(value.result); + requireValue(Array.isArray(value.artifacts), 'Missing terminal artifact references'); + value.artifacts.forEach(reference); + requireValue(new Set(value.artifacts.map(item => item.artifact_id)).size === value.artifacts.length, 'Duplicate terminal artifact reference'); +} + +function event(value: unknown, runId: string, attemptId?: string): asserts value is StoredEvent { + object(value); + requireValue(value.run_id === runId && (attemptId === undefined || value.attempt_id === attemptId), 'Foreign run/attempt event', 'identity_mismatch'); + identifier(value.attempt_id); + requireValue(integer(value.sequence, MAX_SEQUENCE) > 0n, 'Event sequence must be positive'); + integer(value.generation); + integer(value.created_ns); + requireValue(['queued', 'running', 'progress', 'terminal'].includes(String(value.kind)), 'Unknown persisted event kind', 'protocol'); + if (value.kind === 'progress') { + requireValue(typeof value.event_key === 'string' && value.event_key.startsWith('user:'), 'Invalid progress event key'); + identifier(value.event_key.slice(5)); + } else requireValue(value.event_key === value.kind, 'Invalid lifecycle event key'); + object(value.payload); + if (value.kind === 'terminal') terminal(value.payload); +} + +async function bytes(response: Response, maximum: number): Promise> { + const reader = response.body?.getReader(); + requireValue(reader, 'Missing response body'); + const chunks: Uint8Array[] = []; + let length = 0; + try { + while (true) { + const item = await reader.read(); + if (item.done) break; + length += item.value.byteLength; + requireValue(length <= maximum, 'Response exceeds the client byte limit', 'limit_exceeded'); + chunks.push(item.value); + } + } finally { + await reader.cancel().catch(() => undefined); + reader.releaseLock(); + } + const result = new Uint8Array(length); + let offset = 0; + for (const chunk of chunks) { result.set(chunk, offset); offset += chunk.byteLength; } + return result; +} + +function decode(data: Uint8Array): string { + try { return new TextDecoder('utf-8', { fatal: true }).decode(data); } + catch (cause) { throw new RunClientError('malformed', 'Invalid UTF-8 response', { cause }); } +} + +/** A caller-selected reader, bound to one expected RunStore, never a default API. + * maxResponseBytes bounds each JSON/artifact response and each SSE frame, not + * a physical output or solver limit. Cross-origin deployment/CORS is separate. + */ +export class StoredRunClient { + readonly endpoint: string; + readonly storeId: string; + readonly maxResponseBytes: number; + + constructor(endpoint: string | URL, storeId: string, maxResponseBytes = 16 * 1024 ** 2) { + const url = new URL(endpoint); + requireValue(['http:', 'https:'].includes(url.protocol) && !url.username && !url.password && !url.search && !url.hash, 'Expected an explicit HTTP(S) service endpoint'); + identifier(storeId); + requireValue(Number.isSafeInteger(maxResponseBytes) && maxResponseBytes > 0, 'Invalid client transport byte limit'); + this.endpoint = url.href.replace(/\/$/, '') + '/'; + this.storeId = storeId; + this.maxResponseBytes = maxResponseBytes; + } + + private path(runId: string, attemptId?: string): string { + identifier(runId); + if (attemptId !== undefined) identifier(attemptId); + return `runs/${encodeURIComponent(runId)}` + (attemptId === undefined ? '' : `/attempts/${encodeURIComponent(attemptId)}`); + } + + private bind(response: Response): void { + requireValue(response.headers.get('X-RunStore-ID') === this.storeId, 'Response is not bound to the requested store', 'identity_mismatch'); + } + + private async successful(response: Response): Promise { + if (response.ok) return; + let detail: unknown; + try { detail = parseJson(decode(await bytes(response, this.maxResponseBytes))); } + catch { detail = undefined; } + throw new RunClientError('http', `Stored run service: HTTP ${response.status}`, { status: response.status, detail }); + } + + private async document(path: string, signal?: AbortSignal): Promise> { + const response = await fetch(new URL(path, this.endpoint), { signal, redirect: 'error', cache: 'no-store', headers: { Accept: 'application/json' } }); + try { + await this.successful(response); this.bind(response); + requireValue(response.status === 200 && response.headers.get('Content-Type')?.split(';')[0] === 'application/json', 'Expected a JSON record response', 'protocol'); + } catch (error) { await response.body?.cancel().catch(() => undefined); throw error; } + const json = decode(await bytes(response, this.maxResponseBytes)); + const value = parseJson(json); + object(value); + return { value, json }; + } + + async getRun(runId: string, signal?: AbortSignal): Promise> { + const result = await this.document(this.path(runId), signal); + const value = result.value; + requireValue(value.run_id === runId, 'Foreign run snapshot', 'identity_mismatch'); + identifier(value.current_attempt_id); + requireValue(states.includes(String(value.state)), 'Invalid run state'); + integer(value.generation); integer(value.created_ns); + object(value.request); object(value.request.identity); object(value.request.input_metadata); + requireValue(value.request.identity_kind === 'opaque_upstream', 'Unknown execution identity representation'); + for (const key of ['H_input', 'H_physics', 'H_execution']) { + requireValue(typeof value.request.identity[key] === 'string' && (value.request.identity[key] as string).trim(), 'Missing opaque upstream identity'); + } + return result as StoredDocument; + } + + async getAttempt(target: AttemptIdentity, signal?: AbortSignal): Promise> { + const { runId, attemptId } = target; + const result = await this.document(this.path(runId, attemptId), signal); + const value = result.value; + requireValue(value.run_id === runId && value.attempt_id === attemptId, 'Foreign attempt snapshot', 'identity_mismatch'); + requireValue(states.includes(String(value.state)), 'Invalid attempt state'); + integer(value.generation); integer(value.created_ns); + requireValue(integer(value.attempt_number) > 0n, 'Invalid attempt number'); + if (value.owner_id !== null) identifier(value.owner_id); + if (value.started_ns !== null) integer(value.started_ns); + if (terminalStates.includes(String(value.state))) { + terminal(value.terminal); object(value.result); integer(value.finished_ns); + requireValue(value.terminal.state === value.state && same(value.terminal.result, value.result), 'Contradictory terminal snapshot', 'protocol'); + } else { + requireValue(value.terminal === null && value.result === null && value.finished_ns === null, 'Pending attempt contains a terminal result', 'protocol'); + } + return result as StoredDocument; + } + + /** A run page may span attempts; it is not an attempt-stream replay cursor. */ + async getEvents(runId: string, after = '0', limit?: number, signal?: AbortSignal): Promise> { + let previous = sequence(after); + if (limit !== undefined) requireValue(Number.isSafeInteger(limit) && limit >= 1 && limit <= 1000, 'Invalid event page limit'); + const query = new URLSearchParams({ after }); + if (limit !== undefined) query.set('limit', String(limit)); + const result = await this.document(`${this.path(runId)}/events?${query}`, signal); + requireValue(result.value.store_id === this.storeId, 'Foreign event-page store', 'identity_mismatch'); + requireValue(Array.isArray(result.value.events), 'Missing event page'); + if (limit !== undefined) requireValue(result.value.events.length <= limit, 'Oversized event page', 'protocol'); + for (const item of result.value.events) { + event(item, runId); + const current = integer(item.sequence, MAX_SEQUENCE); + requireValue(current > previous, 'Event page is not strictly increasing', 'protocol'); + previous = current; // Global SQLite IDs need not be contiguous for this run. + } + requireValue(integer(result.value.next_cursor, MAX_SEQUENCE) === previous, 'Incorrect next page cursor', 'protocol'); + return result as StoredDocument; + } + + /** The service verifies its manifest; the client matches the committed reference + * and independently checks the delivered content size and SHA-256. NPY/raw + * bytes are returned intact, without a float-array or scientific conversion. + */ + async getArtifact(target: AttemptIdentity, expected: ArtifactReference, signal?: AbortSignal): Promise<{ record: StoredDocument; bytes: Uint8Array }> { + const { runId, attemptId } = target; + this.path(runId, attemptId); reference(expected); + const { artifact_id: artifactId, manifest_sha256: manifestSha256 } = expected; + const path = `artifacts/${encodeURIComponent(artifactId)}`; + const record = await this.document(path, signal); + const value = record.value; + requireValue(value.run_id === runId && value.attempt_id === attemptId && value.artifact_id === artifactId, 'Foreign artifact identity', 'identity_mismatch'); + reference(value); + requireValue(value.manifest_sha256 === manifestSha256 && value.phase === 'committed', 'Artifact is not the committed reference', 'integrity'); + requireValue(typeof value.sha256 === 'string' && digestPattern.test(value.sha256), 'Invalid content digest'); + object(value.metadata); + const size = integer(value.size_bytes); + requireValue(size <= BigInt(this.maxResponseBytes), 'Artifact exceeds the client byte limit', 'limit_exceeded'); + const subtle = globalThis.crypto?.subtle; + requireValue(subtle, 'Content hashing is unavailable', 'verification_unavailable'); + const response = await fetch(new URL(`${path}/content`, this.endpoint), { signal, redirect: 'error', cache: 'no-store' }); + try { + await this.successful(response); this.bind(response); + requireValue(response.status === 200 && response.headers.get('Content-Type')?.split(';')[0] === 'application/octet-stream', 'Expected an exact artifact byte response', 'protocol'); + } catch (error) { await response.body?.cancel().catch(() => undefined); throw error; } + const data = await bytes(response, this.maxResponseBytes); + let digest: ArrayBuffer; + try { digest = await subtle.digest('SHA-256', data); } + catch (cause) { throw new RunClientError('verification_unavailable', 'Content hashing failed', { cause }); } + const hash = Array.from(new Uint8Array(digest), byte => byte.toString(16).padStart(2, '0')).join(''); + requireValue(BigInt(data.byteLength) === size && hash === value.sha256 && response.headers.get('ETag') === `"${hash}"`, 'Artifact content integrity mismatch', 'integrity'); + return { record: record as StoredDocument, bytes: data }; + } + + /** One bounded-memory connection to one exact attempt. Reconnect explicitly by + * calling subscribe again with the prior subscription.cursor. Only successful + * onEvent completion advances that cursor; disconnect never cancels the run. + * Native fetch exposes status/identity headers that EventSource hides. + */ + subscribe(target: AttemptIdentity, onEvent: (record: StoredDocument) => void | Promise, resume?: ReplayCursor): RunSubscription { + const path = this.path(target.runId, target.attemptId); + const identity = Object.freeze({ endpoint: this.endpoint, storeId: this.storeId, runId: target.runId, attemptId: target.attemptId }); + let cursor: ReplayCursor = Object.freeze({ ...identity, sequence: '0' }); + if (resume !== undefined) { + requireValue(Object.entries(identity).every(([key, value]) => resume[key as keyof ReplayCursor] === value), 'Replay cursor belongs to another source/store/run/attempt', 'identity_mismatch'); + sequence(resume.sequence); + cursor = Object.freeze({ ...identity, sequence: resume.sequence }); + } + const abort = new AbortController(); + let unsubscribed = false; + const end = (reason: StreamEnd['reason'], transportError?: unknown): StreamEnd => ({ reason, cursor, ...(transportError === undefined ? {} : { transportError }) }); + const done = (async (): Promise => { + let response: Response; + try { + response = await fetch(new URL(`${path}/events?after=0`, this.endpoint), { + signal: abort.signal, redirect: 'error', cache: 'no-store', + headers: { Accept: 'text/event-stream', 'Last-Event-ID': cursor.sequence }, + }); + } catch (error) { return end(unsubscribed ? 'unsubscribed' : 'disconnected', error); } + try { + await this.successful(response); this.bind(response); + if (response.status === 204) { + requireValue(sequence(cursor.sequence) > 0n, 'Terminal acknowledgement without a replay cursor', 'protocol'); + return end(unsubscribed ? 'unsubscribed' : 'terminal_acknowledged'); + } + requireValue(response.status === 200 && response.headers.get('Content-Type')?.split(';')[0] === 'text/event-stream', 'Expected an attempt event stream', 'protocol'); + } catch (error) { await response.body?.cancel().catch(() => undefined); throw error; } + const reader = response.body?.getReader(); + requireValue(reader, 'Missing stream body', 'protocol'); + const decoder = new TextDecoder('utf-8', { fatal: true }); + let buffer = '', lastJson: string | undefined; + let terminalSeen = false; + try { + while (!unsubscribed) { + let item: ReadableStreamReadResult; + try { item = await reader.read(); } + catch (error) { return end(unsubscribed ? 'unsubscribed' : 'disconnected', error); } + try { buffer += decoder.decode(item.value, { stream: !item.done }); } + catch (cause) { throw new RunClientError('malformed', 'Invalid stream UTF-8', { cause }); } + let boundary: number; + while ((boundary = buffer.indexOf('\n\n')) !== -1 && !unsubscribed) { + const block = buffer.slice(0, boundary); + buffer = buffer.slice(boundary + 2); + requireValue(new TextEncoder().encode(block).byteLength <= this.maxResponseBytes, 'Event frame exceeds the client byte limit', 'limit_exceeded'); + // Deliberately the server's LF/id/event/single-data-line contract, + // not a general EventSource implementation or a legacy done shim. + const fields = new Map(); + for (const line of block.split('\n')) { + if (!line || line.startsWith(':')) continue; + const match = /^(id|event|data): (.*)$/.exec(line); + requireValue(match && !fields.has(match[1]), 'Malformed persisted-event frame', 'protocol'); + fields.set(match[1], match[2]); + } + if (fields.size === 0) continue; + requireValue(fields.size === 3, 'Incomplete persisted-event frame', 'protocol'); + const json = fields.get('data')!; + const value = parseJson(json); event(value, identity.runId, identity.attemptId); + const current = integer(value.sequence, MAX_SEQUENCE); + requireValue(sequence(fields.get('id')!) === current && fields.get('event') === value.kind, 'SSE ID/kind differs from its stored record', 'protocol'); + if (current === sequence(cursor.sequence) && json === lastJson) continue; + requireValue(!terminalSeen && current > sequence(cursor.sequence), 'Conflicting duplicate, regressing cursor or event after terminal', 'protocol'); + try { await onEvent({ value, json }); } + catch (cause) { throw new RunClientError('consumer', 'Event consumer failed; cursor was not advanced', { cause }); } + cursor = Object.freeze({ ...identity, sequence: current.toString() }); + lastJson = json; + terminalSeen = value.kind === 'terminal'; + } + requireValue(new TextEncoder().encode(buffer).byteLength <= this.maxResponseBytes, 'Event frame exceeds the client byte limit', 'limit_exceeded'); + if (item.done) { + // An interrupted partial frame is never delivered or acknowledged. + if (buffer.length !== 0) return end('disconnected'); + return end(unsubscribed ? 'unsubscribed' : terminalSeen ? 'terminal' : 'disconnected'); + } + } + return end('unsubscribed'); + } finally { + await reader.cancel().catch(() => undefined); + reader.releaseLock(); + } + })(); + return { get cursor() { return cursor; }, done, + unsubscribe() { unsubscribed = true; abort.abort(); } }; + } +} diff --git a/web/src/schema-client.test.ts b/web/src/schema-client.test.ts new file mode 100644 index 00000000..95cc5f00 --- /dev/null +++ b/web/src/schema-client.test.ts @@ -0,0 +1,81 @@ +// @vitest-environment node +import { afterEach, beforeAll, beforeEach, describe, expect, it, vi } from 'vitest'; +import { configurationSchema, configurationSchemaSha256 } from './generated/configuration-schema'; +import { fetchConfigurationSchema } from './schema-client'; +import { configurationSchemaBytes, webcrypto } from './test-helpers/schema-fixture.mjs'; + +const endpoint = 'https://schema.invalid/configuration-schema'; +let authoritative: ArrayBuffer; + +beforeAll(() => { + authoritative = configurationSchemaBytes(); +}); + +beforeEach(() => { vi.stubGlobal('crypto', webcrypto); }); +afterEach(() => { vi.unstubAllGlobals(); }); + +function respond(body: BodyInit, status = 200, etag: string = configurationSchemaSha256): void { + vi.stubGlobal('fetch', vi.fn().mockResolvedValue(new Response(body, { + status, headers: { 'Content-Type': 'application/json', ETag: `"${etag}"` }, + }))); +} + +describe('explicit configuration schema transport', () => { + it('accepts authoritative bytes using WebCrypto, independent of an advertised digest', async () => { + respond(authoritative, 200, 'untrusted-header'); + const metadata = await fetchConfigurationSchema(endpoint); + expect(metadata).toEqual(configurationSchema); + expect(metadata).not.toBe(configurationSchema); + expect(fetch).toHaveBeenCalledWith(endpoint); + }); + + it('rejects reformatting even when the JSON data and advertised identity match', async () => { + const reformatted = JSON.stringify(JSON.parse(new TextDecoder().decode(authoritative)), null, 2); + expect(JSON.parse(reformatted)).toEqual(configurationSchema); + respond(reformatted); + await expect(fetchConfigurationSchema(endpoint)).rejects.toMatchObject({ code: 'identity_mismatch' }); + }); + + it('rejects a stale payload despite the expected digest header', async () => { + respond(JSON.stringify({ ...configurationSchema, schema_version: 'stale-fixture' })); + await expect(fetchConfigurationSchema(endpoint)).rejects.toMatchObject({ code: 'identity_mismatch' }); + }); + + it.each([ + ['truncated JSON', '{'], + ['invalid UTF-8', new Uint8Array([0xff]).buffer], + ] as const)('reports malformed %s', async (_label, body) => { + respond(body); + await expect(fetchConfigurationSchema(endpoint)).rejects.toMatchObject({ code: 'malformed' }); + }); + + it('reports HTTP errors before interpreting their body as metadata', async () => { + respond('temporarily unavailable', 503); + await expect(fetchConfigurationSchema(endpoint)).rejects.toMatchObject({ + code: 'http', message: 'Configuration schema: HTTP 503', + }); + }); + + it('fails explicitly when verification is unavailable', async () => { + respond(authoritative); + vi.stubGlobal('crypto', undefined); + await expect(fetchConfigurationSchema(endpoint)).rejects.toMatchObject({ + name: 'ConfigurationSchemaError', code: 'verification_unavailable', + }); + }); + + it('preserves a WebCrypto failure without accepting metadata', async () => { + respond(authoritative); + const cause = new Error('verification disabled'); + vi.stubGlobal('crypto', { subtle: { digest: vi.fn().mockRejectedValue(cause) } }); + await expect(fetchConfigurationSchema(endpoint)).rejects.toMatchObject({ + code: 'verification_unavailable', cause, + }); + }); + + it('propagates a fetch failure without returning metadata', async () => { + const failure = new TypeError('connection failed'); + vi.stubGlobal('fetch', vi.fn().mockRejectedValue(failure)); + await expect(fetchConfigurationSchema(endpoint)).rejects.toBe(failure); + }); +}); diff --git a/web/src/schema-client.ts b/web/src/schema-client.ts new file mode 100644 index 00000000..885a533e --- /dev/null +++ b/web/src/schema-client.ts @@ -0,0 +1,48 @@ +/** Prepared metadata identity only; backend semantic validators remain authoritative. */ +import { configurationSchemaSha256 } from './generated/configuration-schema'; +import type { ConfigurationSchemaMetadata } from './generated/configuration-schema'; + +type SchemaErrorCode = 'http' | 'malformed' | 'verification_unavailable' | 'identity_mismatch'; + +export class ConfigurationSchemaError extends Error { + readonly code: SchemaErrorCode; + + constructor(code: SchemaErrorCode, message: string, options?: ErrorOptions) { + super(message, options); + this.name = 'ConfigurationSchemaError'; + this.code = code; + } +} + +/** The caller selects the endpoint; this helper does not activate an existing UI/API. */ +export async function fetchConfigurationSchema( + endpoint: string | URL, +): Promise { + const response = await fetch(endpoint); + if (!response.ok) { + throw new ConfigurationSchemaError('http', `Configuration schema: HTTP ${response.status}`); + } + const subtle = globalThis.crypto?.subtle; + if (!subtle || typeof subtle.digest !== 'function') { + throw new ConfigurationSchemaError('verification_unavailable', 'Schema identity verification is unavailable'); + } + const bytes = await response.arrayBuffer(); + let metadata: unknown; + try { + metadata = JSON.parse(new TextDecoder('utf-8', { fatal: true }).decode(bytes)); + } catch (cause) { + throw new ConfigurationSchemaError('malformed', 'Configuration schema is not valid UTF-8 JSON', { cause }); + } + let digest: ArrayBuffer; + try { + digest = await subtle.digest('SHA-256', bytes); + } catch (cause) { + throw new ConfigurationSchemaError('verification_unavailable', 'Schema identity verification failed', { cause }); + } + const received = Array.from(new Uint8Array(digest), value => value.toString(16).padStart(2, '0')).join(''); + if (received !== configurationSchemaSha256) { + throw new ConfigurationSchemaError('identity_mismatch', 'Configuration schema identity does not match this client'); + } + // Acceptance is bound to the received bytes, never a response header or reserialized object. + return metadata as ConfigurationSchemaMetadata; +} diff --git a/perovskite-sim/frontend/src/signal-smooth.test.ts b/web/src/signal-smooth.test.ts similarity index 100% rename from perovskite-sim/frontend/src/signal-smooth.test.ts rename to web/src/signal-smooth.test.ts diff --git a/perovskite-sim/frontend/src/signal-smooth.ts b/web/src/signal-smooth.ts similarity index 100% rename from perovskite-sim/frontend/src/signal-smooth.ts rename to web/src/signal-smooth.ts diff --git a/perovskite-sim/frontend/src/stack/__tests__/dirty-state.test.ts b/web/src/stack/__tests__/dirty-state.test.ts similarity index 100% rename from perovskite-sim/frontend/src/stack/__tests__/dirty-state.test.ts rename to web/src/stack/__tests__/dirty-state.test.ts diff --git a/perovskite-sim/frontend/src/stack/__tests__/log-scale-height.test.ts b/web/src/stack/__tests__/log-scale-height.test.ts similarity index 100% rename from perovskite-sim/frontend/src/stack/__tests__/log-scale-height.test.ts rename to web/src/stack/__tests__/log-scale-height.test.ts diff --git a/perovskite-sim/frontend/src/stack/__tests__/pretty-formula.test.ts b/web/src/stack/__tests__/pretty-formula.test.ts similarity index 100% rename from perovskite-sim/frontend/src/stack/__tests__/pretty-formula.test.ts rename to web/src/stack/__tests__/pretty-formula.test.ts diff --git a/perovskite-sim/frontend/src/stack/__tests__/reconcile-interfaces.test.ts b/web/src/stack/__tests__/reconcile-interfaces.test.ts similarity index 100% rename from perovskite-sim/frontend/src/stack/__tests__/reconcile-interfaces.test.ts rename to web/src/stack/__tests__/reconcile-interfaces.test.ts diff --git a/perovskite-sim/frontend/src/stack/__tests__/stack-validator.test.ts b/web/src/stack/__tests__/stack-validator.test.ts similarity index 100% rename from perovskite-sim/frontend/src/stack/__tests__/stack-validator.test.ts rename to web/src/stack/__tests__/stack-validator.test.ts diff --git a/perovskite-sim/frontend/src/stack/add-layer-dialog.ts b/web/src/stack/add-layer-dialog.ts similarity index 100% rename from perovskite-sim/frontend/src/stack/add-layer-dialog.ts rename to web/src/stack/add-layer-dialog.ts diff --git a/perovskite-sim/frontend/src/stack/dirty-state.ts b/web/src/stack/dirty-state.ts similarity index 100% rename from perovskite-sim/frontend/src/stack/dirty-state.ts rename to web/src/stack/dirty-state.ts diff --git a/perovskite-sim/frontend/src/stack/log-scale-height.ts b/web/src/stack/log-scale-height.ts similarity index 100% rename from perovskite-sim/frontend/src/stack/log-scale-height.ts rename to web/src/stack/log-scale-height.ts diff --git a/perovskite-sim/frontend/src/stack/reconcile-interfaces.ts b/web/src/stack/reconcile-interfaces.ts similarity index 100% rename from perovskite-sim/frontend/src/stack/reconcile-interfaces.ts rename to web/src/stack/reconcile-interfaces.ts diff --git a/perovskite-sim/frontend/src/stack/save-as-dialog.ts b/web/src/stack/save-as-dialog.ts similarity index 100% rename from perovskite-sim/frontend/src/stack/save-as-dialog.ts rename to web/src/stack/save-as-dialog.ts diff --git a/perovskite-sim/frontend/src/stack/stack-interface-strip.ts b/web/src/stack/stack-interface-strip.ts similarity index 100% rename from perovskite-sim/frontend/src/stack/stack-interface-strip.ts rename to web/src/stack/stack-interface-strip.ts diff --git a/perovskite-sim/frontend/src/stack/stack-layer-card.ts b/web/src/stack/stack-layer-card.ts similarity index 100% rename from perovskite-sim/frontend/src/stack/stack-layer-card.ts rename to web/src/stack/stack-layer-card.ts diff --git a/perovskite-sim/frontend/src/stack/stack-validator.ts b/web/src/stack/stack-validator.ts similarity index 100% rename from perovskite-sim/frontend/src/stack/stack-validator.ts rename to web/src/stack/stack-validator.ts diff --git a/perovskite-sim/frontend/src/stack/stack-visualizer.ts b/web/src/stack/stack-visualizer.ts similarity index 100% rename from perovskite-sim/frontend/src/stack/stack-visualizer.ts rename to web/src/stack/stack-visualizer.ts diff --git a/perovskite-sim/frontend/src/stack/tandem-stack-visualizer.ts b/web/src/stack/tandem-stack-visualizer.ts similarity index 100% rename from perovskite-sim/frontend/src/stack/tandem-stack-visualizer.ts rename to web/src/stack/tandem-stack-visualizer.ts diff --git a/web/src/steady-2d-client.test.ts b/web/src/steady-2d-client.test.ts new file mode 100644 index 00000000..ece16a54 --- /dev/null +++ b/web/src/steady-2d-client.test.ts @@ -0,0 +1,116 @@ +import { afterEach, beforeEach, expect, it, vi } from 'vitest' +import { admitsSteady2DControls, Steady2DClient } from './steady-2d-client' +import { fixtureFetch, savedSteady2DFixture } from './test-helpers/steady-2d-fixture.mjs' +import { webcrypto } from './test-helpers/schema-fixture.mjs' + +const endpoint = 'http://localhost/steady-service/' +let fixture: ReturnType, methods: string[] +beforeEach(() => { fixture = savedSteady2DFixture(); methods = []; vi.stubGlobal('crypto', webcrypto); vi.stubGlobal('fetch', fixtureFetch(fixture, methods)) }) +afterEach(() => { vi.restoreAllMocks(); vi.unstubAllGlobals() }) + +it.each([0, 1])('reads original saved case %i, all 22 arrays and empty failed prefix without a POST', async index => { + const client = new Steady2DClient(endpoint), target = fixture.targets[index] + const result = (await client.readResult(client.open(target.storeId, target.runId, target.attemptId)))! + expect(result.state).toBe(target.state); expect(result.registered).toBe(index === 0) + expect(Object.keys(result.arrays)).toHaveLength(22); expect(Object.keys(result.storedArrays)).toHaveLength(12) + expect(result.arrays.potential_V.shape).toEqual([target.accepted, 13, 5]) + expect(result.arrays.state_coordinates.shape).toEqual([target.accepted, 195]) + expect(result.storedArrays.carrier_density_m3.shape).toEqual([2, target.accepted, 13, 5]) + expect(result.storedArrays.section_terminal_current_A_m.shape).toEqual([target.accepted, 14]) + expect(result.arrays.face_pairs.shape).toEqual([112, 2]) + expect(result.summary.scientific_qualification).toBe(false) + expect(result.summary.photovoltaic_metrics).toBeNull() + const recorded = JSON.parse(atob(fixture.responses[`/results/${target.runId}/attempts/${target.attemptId}`].base64)).steady_2d.array_fingerprints + expect(Object.keys(result.arrays).sort()).toEqual(Object.keys(recorded).sort()) + for (const [name, array] of Object.entries(result.arrays)) { + const words = new Uint8Array(array.values.length * 8), view = new DataView(words.buffer) + const integer = ['face_pairs', 'accepted_indices'].includes(name) + array.values.forEach((v, i) => integer ? view.setBigInt64(i * 8, BigInt(v), true) : view.setFloat64(i * 8, v, true)) + const hash = Array.from(new Uint8Array(await crypto.subtle.digest('SHA-256', words)), b => b.toString(16).padStart(2, '0')).join('') + expect({ dtype: integer ? ' m === 'GET')).toBe(true) +}) + +it('discovers only the installed no-grain 2D protocol with the actual geometry and fixed controls', async () => { + const catalog = await new Steady2DClient(endpoint).discover() + expect(catalog.routes).toHaveLength(1) + expect(catalog.ceiling.wall_seconds).toBe(30) + expect(catalog.routes[0].input).toMatchObject({ voltage_V: .002, generation_scales: [0, 1], spatial: { Nx: 4, Ny_per_layer: 4 } }) + expect(catalog.routes[0].generations).toEqual([[0], [1], [0, 1]]) +}) + +it('admits exact recorded default and one-count controls without changing historical identities', () => { + const policy = JSON.parse(atob(fixture.responses['/experiments'].base64)).bindings[0].preparation_context.fixed_numerical_policy + const failed = fixture.targets[1] + const request = JSON.parse(atob(fixture.responses['/runs/' + failed.runId].base64)).request.input_metadata.transport.documents.request + const controls = JSON.parse(atob(request.base64)).controls + expect(admitsSteady2DControls(policy, policy.controls)).toBe(true) + expect(admitsSteady2DControls(policy, controls)).toBe(true) + expect(admitsSteady2DControls(policy, { ...controls, full_2d: { ...controls.full_2d, wall_s: 31 } })).toBe(false) + expect(admitsSteady2DControls(policy, {})).toBe(false) +}) + +it.each([[0], [1], [0, 1]])('submits explicit generation targets %j exactly once with advertised headers', async (...scales) => { + const client = new Steady2DClient(endpoint), catalog = await client.discover(), route = catalog.routes[0] + const generations = scales as number[] + const input = { ...route.input, generation_scales: generations } + const fetcher = vi.fn().mockResolvedValue(new Response(JSON.stringify({ status: 'accepted', store_id: 'store', run_id: 'browser-2d', attempt_id: 'attempt', + execution_catalog_sha256: catalog.registry, job_schema_sha256: catalog.schema }), { status: 202, headers: { 'Content-Type': 'application/json' } })) + vi.stubGlobal('fetch', fetcher) + await client.submit(catalog, route, route.devices[0].id, input, 'browser-2d') + expect(fetcher).toHaveBeenCalledTimes(1) + expect(fetcher.mock.calls[0][1].headers).toMatchObject({ 'X-Solarlab-Registry': catalog.registry, 'X-Solarlab-Job-Schema': catalog.schema }) + expect(JSON.parse(fetcher.mock.calls[0][1].body)).toMatchObject({ engine: 'solarlab', experiment_id: 'steady_2d', version: 1, + input: { ...input, device_id: route.devices[0].id }, limits: { wall_seconds: 30, calls: null, accepted_steps: null } }) +}) + +it('rejects broader geometry, voltage, generation, partial controls, and file/code inputs before POST', async () => { + const client = new Steady2DClient(endpoint), catalog = await client.discover(), route = catalog.routes[0] + const fetcher = vi.fn(); vi.stubGlobal('fetch', fetcher) + for (const extra of [{ voltage_V: .003 }, { generation_scales: [1, 0] }, { generation_scales: [true] }, { controls: {} }, + { spatial: { ...route.input.spatial, Nx: 5 } }, { initial: {} }, { path: '/tmp/other' }, { code: 'anything' }]) + await expect(client.submit(catalog, route, route.devices[0].id, { ...route.input, ...extra } as never)).rejects.toThrow('installed') + expect(fetcher).not.toHaveBeenCalled() +}) + +it('rejects one modified artifact byte before plotting', async () => { + const path = Object.keys(fixture.responses).find(path => path.startsWith('/artifacts/') && !path.endsWith('/content') + && JSON.parse(atob(fixture.responses[path].base64)).name === 'x_m')! + '/content' + const response = fixture.responses[path], bytes = Uint8Array.from(atob(response.base64), c => c.charCodeAt(0)); bytes[bytes.length - 1] ^= 1 + response.base64 = btoa(String.fromCharCode(...bytes)) + const t = fixture.targets[0] + // The first artifact may belong to either attempt; both must fail closed when selected. + const ownerPath = path.replace(/\/content$/, ''), owner = JSON.parse(atob(fixture.responses[ownerPath].base64)) + const client = new Steady2DClient(endpoint) + await expect(client.readResult(client.open(t.storeId, owner.run_id, owner.attempt_id))).rejects.toThrow('integrity') +}) + +it.each(['source', 'worker schema', 'terminal outcome'])('rejects a changed %s in the stored result', async kind => { + const t = fixture.targets[0], response = fixture.responses[`/runs/${t.runId}/attempts/${t.attemptId}`] + const data = JSON.parse(atob(response.base64)) + for (const result of [data.result, data.terminal.result]) { + if (kind === 'source') result.worker_result.capture.build_source_commit = '0'.repeat(40) + if (kind === 'worker schema') result.worker_result.schema = 'solarlab.steady-jv.worker-result.v1' + if (kind === 'terminal outcome') result.worker_result.reason = 'invented failure' + } + response.base64 = btoa(JSON.stringify(data)) + const client = new Steady2DClient(endpoint) + await expect(client.readResult(client.open(t.storeId, t.runId, t.attemptId))).rejects.toThrow() +}) + +it('fences cancellation to the exact active attempt and refuses a stale target', async () => { + const client = new Steady2DClient(endpoint), job = client.open('store', 'run', 'attempt') + const getRun = vi.spyOn(job.reader, 'getRun').mockResolvedValue({ value: { state: 'queued', current_attempt_id: 'attempt', generation: 7 } } as never) + const fetcher = vi.fn().mockResolvedValue(new Response(JSON.stringify({ run_id: 'run', attempt_id: 'attempt' }), { headers: { 'Content-Type': 'application/json' } })) + vi.stubGlobal('fetch', fetcher); await client.cancel(job) + expect(JSON.parse(fetcher.mock.calls[0][1].body).expected_generation).toBe(7) + getRun.mockResolvedValue({ value: { state: 'running', current_attempt_id: 'other', generation: 8 } } as never) + await expect(client.cancel(job)).rejects.toThrow('stale'); expect(fetcher).toHaveBeenCalledTimes(1) +}) diff --git a/web/src/steady-2d-client.ts b/web/src/steady-2d-client.ts new file mode 100644 index 00000000..6418f988 --- /dev/null +++ b/web/src/steady-2d-client.ts @@ -0,0 +1,384 @@ +/** Fixed, installed full-2D steady jobs. Opening and reconnecting only read saved bytes. */ +import { RunClientError, StoredRunClient } from './run-client' +import type { ArtifactRecord, AttemptIdentity, StoredObject } from './run-client' +import { readSteadyArray, requestJobService } from './steady-jv-client' +import type { FloatArray } from './steady-jv-client' +import { readIonicArray } from './ionic-transient-client' + +export const STEADY_2D_EXPERIMENT = 'steady_2d' +export const STEADY_2D_SCOPE = 'uniform_no_grain_classical_2d_steady' +const schemaId = 'solarlab.steady-2d.result.v1' +const coordinateUnit = 'mixed: phi[V], electron/hole dimensionless log coordinates; C order' +const residualUnit = 'mixed: Gauss[C/m depth], carrier[particles/(m depth*s)], contact[V or dimensionless log]' +export const STEADY_2D_UNITS: Record = { + x_m: 'm', y_m: 'm', cell_areas_m2: 'm^2', face_lengths_m: 'm', face_spacing_m: 'm', face_pairs: '1', + accepted_indices: '1', accepted_voltage_V: 'V', accepted_generation_scale: '1', state_coordinates: coordinateUnit, + potential_V: 'V', electron_density_m3: 'm^-3', hole_density_m3: 'm^-3', face_current_density_A_m2: 'A/m^2', + lateral_current_density_A_m2: 'A/m^2', stack_current_density_A_m2: 'A/m^2', terminal_current_per_depth_A_m: 'A/m', + cross_section_current_per_depth_A_m: 'A/m', terminal_mean_current_density_A_m2: 'A/m^2', original_residual: residualUnit, + face_displacement_C_m2: 'C/m^2', carrier_face_particle_flux_m2_s: 'm^-2 s^-1', +} +const storedUnits: Record = { x_m: 'm', y_m: 'm', cell_areas_m2: 'm^2', face_geometry_m: 'm', + face_pairs: '1', accepted_indices: '1', state_coordinates: coordinateUnit, potential_V: 'V', carrier_density_m3: 'm^-3', + face_current_density_A_m2: 'A/m^2', section_terminal_current_A_m: 'A/m', original_residual: residualUnit } +const components: Record = { face_geometry_m: ['face_lengths_m', 'face_spacing_m'], + carrier_density_m3: ['electron_density_m3', 'hole_density_m3'], + section_terminal_current_A_m: ['lower_terminal', 'stack_cross_sections', 'upper_terminal'] } +const geometry = { lateral_length_m: 1e-6, Nx: 4, Ny_per_layer: 4, lateral_bc: 'neumann', geometry_policy: 'rectangular_half_endpoint_neumann_2d_v1' } + +export interface Steady2DInput { + voltage_V: number; generation_scales: number[]; spatial: StoredObject; controls: StoredObject; initial: StoredObject +} +export interface Steady2DRoute { + id: string; version: number; input: Steady2DInput; generations: number[][] + devices: readonly { id: string; preparedSha256: string }[] +} +export interface Steady2DCatalog { + registry: string; schema: string; routes: readonly Steady2DRoute[] + ceiling: { wall_seconds: number; rss_bytes: number; output_bytes: number } +} +export interface Steady2DJob { + reader: StoredRunClient; target: Readonly + submitted?: { catalog: Steady2DCatalog; device: Steady2DRoute['devices'][number]; input: Steady2DInput } +} +export interface Steady2DResult { + state: 'succeeded' | 'failed'; registered: boolean; arrays: Record; units: Record + storedArrays: Record; attempts: StoredObject[]; targets: StoredObject[]; summary: StoredObject; worker: StoredObject + originalJson: string; diagnosticsJson: string; manifestJson: string +} + +function check(value: unknown, message: string): asserts value { if (!value) throw new RunClientError('protocol', message) } +function object(value: unknown): StoredObject { + check(value !== null && typeof value === 'object' && !Array.isArray(value), 'Expected a 2D record'); return value as StoredObject +} +function id(value: unknown): string { + check(typeof value === 'string' && /^[A-Za-z0-9_][A-Za-z0-9_.:-]{0,127}$/.test(value), 'Invalid installed/stored identifier'); return value +} +function sha(value: unknown): string { check(typeof value === 'string' && /^[a-f0-9]{64}$/.test(value), 'Missing identity digest'); return value } +function number(value: unknown): number { check(typeof value === 'number' && Number.isFinite(value), 'Expected a finite number'); return value } +function same(a: unknown, b: unknown): boolean { + if (Object.is(a, b)) return true + if (!a || !b || typeof a !== 'object' || typeof b !== 'object' || Array.isArray(a) !== Array.isArray(b)) return false + const x = a as StoredObject, y = b as StoredObject, keys = Object.keys(x) + return keys.length === Object.keys(y).length && keys.every(k => Object.hasOwn(y, k) && same(x[k], y[k])) +} +/** Stored reads also admit the installation's explicit failure-test budget. */ +export function admitsSteady2DControls(policy: StoredObject, controls: unknown): boolean { + return same(policy.controls, controls) || same(policy.insufficient_budget_controls, controls) +} +const text = (bytes: Uint8Array) => new TextDecoder('utf-8', { fatal: true }).decode(bytes) +async function digest(bytes: Uint8Array): Promise { + return Array.from(new Uint8Array(await crypto.subtle.digest('SHA-256', Uint8Array.from(bytes))), b => b.toString(16).padStart(2, '0')).join('') +} +async function document(value: unknown): Promise<{ data: StoredObject; sha256: string }> { + const doc = object(value); check(typeof doc.base64 === 'string', 'Missing original request document') + const bytes = Uint8Array.from(atob(doc.base64), c => c.charCodeAt(0)), hash = sha(doc.sha256) + check(await digest(bytes) === hash, 'Stored request/catalog/schema bytes changed') + return { data: object(JSON.parse(text(bytes))), sha256: hash } +} +function tuple(value: unknown): unknown[] { + const values = Array.isArray(value) ? value : object(value).$tuple + check(Array.isArray(values), 'Missing retained sequence'); return values +} +function rawArray(value: unknown, dtype = ' v === false) + && Array.isArray(real.nonfinite_words) && real.nonfinite_words.length === real.values.length && real.nonfinite_words.every(v => v === null), + 'Accepted raw array is nonfinite or unsupported') + const shape = data.shape.map(number), values = real.values.map(number) + check(shape.every(n => Number.isSafeInteger(n) && n >= 0) && shape.reduce((a, b) => a * b, 1) === values.length, 'Invalid raw array shape') + return { shape, values } +} +// Same source-aware JSON digest convention as the stored ionic J-V client. +function canonicalRecorded(value: unknown): string { + if (typeof value === 'number') throw new RunClientError('verification_unavailable', 'Original numeric spelling is unavailable') + if (Array.isArray(value)) return '[' + value.map(canonicalRecorded).join(',') + ']' + if (value && typeof value === 'object') { + if (value instanceof Number) return String((value as Number & { source: string }).source) + return '{' + Object.keys(value).sort().map(k => canonicalRecorded(k) + ':' + canonicalRecorded(object(value)[k])).join(',') + '}' + } + return JSON.stringify(value).replace(/[\u007f-\uffff]/g, c => '\\u' + c.charCodeAt(0).toString(16).padStart(4, '0')) +} +function recordedJson(json: string): StoredObject { + return object(JSON.parse(json, (_k: string, value: unknown, context?: { source?: string }) => + typeof value === 'number' && context?.source ? Object.assign(new Number(value), { source: context.source }) : value)) +} + +/** Reuse existing readers; the only extra layouts are int64 face pairs and the rank-four carrier pack. */ +function readPack(bytes: Uint8Array, record: ArtifactRecord): FloatArray { + const shape = record.metadata.shape + check(Array.isArray(shape), 'Missing 2D pack shape') + if (record.metadata.dtype === '= 12 && Array.from(bytes.slice(0, 6)).join(',') === '147,78,85,77,80,89', 'Invalid 2D NPY') + const view = new DataView(bytes.buffer, bytes.byteOffset, bytes.byteLength), version = bytes[6], prefix = version === 1 ? 10 : 12 + check((version === 1 || version === 2) && bytes[7] === 0, 'Unsupported NPY version') + const length = version === 1 ? view.getUint16(8, true) : view.getUint32(8, true) + check(length <= 4096 && prefix + length <= bytes.length, 'Invalid NPY header') + const match = /^\{'descr': '(<[fi]8)', 'fortran_order': False, 'shape': \((\d+(?:,\s*\d+)*,?)\),?\s*\}\s*$/.exec(text(bytes.slice(prefix, prefix + length))) + check(match, 'Only plain C-order 2D packs are supported') + const dimensions = match[2].split(',').filter(v => v.trim()).map(Number), integer = match[1] === ' Number.isSafeInteger(n) && n >= 0), 'Unexpected 2D pack rank') + const count = dimensions.reduce((a, b) => a * b, 1) + check(Number.isSafeInteger(count) && prefix + length + count * 8 === bytes.length && same(shape, dimensions) + && record.metadata.dtype === match[1] && record.metadata.order === 'C', '2D NPY metadata/size mismatch') + const values = Array.from({ length: count }, (_, i) => integer ? Number(view.getBigInt64(prefix + length + i * 8, true)) : view.getFloat64(prefix + length + i * 8, true)) + check(values.every(v => Number.isFinite(v) && (!integer || Number.isSafeInteger(v))), 'Invalid accepted array values') + return { shape: dimensions, values } +} + +export class Steady2DClient { + readonly endpoint: string + constructor(endpoint: string | URL) { + const url = new URL(endpoint) + check(['http:', 'https:'].includes(url.protocol) && !url.username && !url.password && !url.search && !url.hash, 'Use an explicit HTTP endpoint') + this.endpoint = url.href.replace(/\/$/, '') + '/' + } + async discover(signal?: AbortSignal): Promise { + const { value, response } = await requestJobService(this.endpoint, 'experiments', { signal }) + const registry = sha(response.headers.get('X-Solarlab-Registry')), schema = sha(response.headers.get('X-Solarlab-Job-Schema')) + check(value.schema === 'solarlab.execution-catalog.v1' && value.job_schema_sha256 === schema + && response.headers.get('etag') === `"${registry}"` && Array.isArray(value.bindings), 'Inconsistent installed catalog') + const cap = object(value.resource_ceiling) + check(cap.calls === null && cap.accepted_steps === null, 'Unsupported counter caps') + const ceiling = { wall_seconds: number(cap.wall_seconds), rss_bytes: number(cap.rss_bytes), output_bytes: number(cap.output_bytes) } + check(Object.values(ceiling).every(v => v > 0) && ceiling.wall_seconds <= 30, 'Invalid resource ceiling') + const routes: Steady2DRoute[] = [] + for (const raw of value.bindings) { + const entry = object(raw) + if (entry.engine !== 'solarlab' || entry.driver !== STEADY_2D_EXPERIMENT || entry.experiment_id !== STEADY_2D_EXPERIMENT + || entry.version !== 1 || entry.scope !== STEADY_2D_SCOPE) continue + const schema = object(entry.input_schema), properties = object(schema.properties), installed = object(entry.preparation_context) + const keys = ['device_id', 'voltage_V', 'generation_scales', 'spatial', 'controls', 'initial'].sort() + check(schema.additionalProperties === false && same(Object.keys(properties).sort(), keys) + && Array.isArray(schema.required) && same([...schema.required].sort(), keys), 'Unsupported 2D input schema') + const policy = object(installed.fixed_numerical_policy) + check(same(policy.spatial, geometry) && policy.voltage_V === .002 && same(policy.generation_scales, [[0], [1], [0, 1]]) + && same(policy.shape_Ny_Nx, [13, 5]) && policy.numerical_coordinates === 195 && policy.auxiliary_seed_is_2d_completion === false + && policy.scientific_qualification === false && policy.scope === STEADY_2D_SCOPE && entry.scientific_qualification === false + && same(object(properties.generation_scales).enum, policy.generation_scales) + && same(object(properties.initial).const, policy.initial) + && same(object(properties.controls).anyOf, [{ const: policy.controls }, { const: policy.insufficient_budget_controls }]) + && object(properties.voltage_V).minimum === .002 && object(properties.voltage_V).maximum === .002 + && Array.isArray(installed.devices), 'Unsupported fixed no-grain 2D protocol') + const spatialSchema = object(object(schema.$defs)._SpatialInput), spatialProperties = object(spatialSchema.properties) + check(spatialSchema.additionalProperties === false && same(Object.keys(spatialProperties).sort(), Object.keys(geometry).sort()) + && object(spatialProperties.Nx).minimum === 4 && object(spatialProperties.Nx).maximum === 4 + && object(spatialProperties.Ny_per_layer).minimum === 4 && object(spatialProperties.Ny_per_layer).maximum === 4 + && object(spatialProperties.lateral_length_m).minimum === 1e-6 && object(spatialProperties.lateral_length_m).maximum === 1e-6 + && object(spatialProperties.lateral_bc).const === 'neumann' && object(spatialProperties.geometry_policy).const === geometry.geometry_policy, + 'Installed geometry schema differs') + const devices = installed.devices.map(raw => { const d = object(raw); return { id: id(d.device_id), preparedSha256: sha(d.prepared_sha256) } }) + check(new Set(devices.map(d => d.id)).size === devices.length && new Set(devices.map(d => d.preparedSha256)).size === devices.length, 'Ambiguous installed devices') + routes.push({ id: STEADY_2D_EXPERIMENT, version: 1, devices, generations: policy.generation_scales as number[][], + input: { voltage_V: .002, generation_scales: [0, 1], spatial: object(policy.spatial), controls: object(policy.controls), initial: object(policy.initial) } }) + } + check(routes.length <= 1, 'Ambiguous 2D registrations') + return { registry, schema, routes, ceiling } + } + async submit(catalog: Steady2DCatalog, route: Steady2DRoute, deviceId: string, input: Steady2DInput, + runId = `steady-2d-${crypto.randomUUID()}`): Promise { + check(catalog.routes.includes(route), 'Select the installed 2D route') + const device = route.devices.find(d => d.id === deviceId); check(device, 'Select an installed device') + check(route.generations.some(g => same(g, input.generation_scales)) && same({ ...input, generation_scales: route.input.generation_scales }, route.input), + 'Use the installed dark/G1 targets, geometry, initial policy and full controls') + const frozen = JSON.parse(JSON.stringify(input)) as Steady2DInput + const { value, response } = await requestJobService(this.endpoint, 'jobs', { method: 'POST', headers: { + 'Content-Type': 'application/json', 'X-Solarlab-Registry': catalog.registry, 'X-Solarlab-Job-Schema': catalog.schema, + }, body: JSON.stringify({ schema_version: 'solarlab.job-submission.v1', run_id: id(runId), experiment_id: route.id, version: 1, + engine: 'solarlab', input: { device_id: deviceId, ...frozen }, limits: { ...catalog.ceiling, calls: null, accepted_steps: null } }) }) + check(response.status === 202 && value.status === 'accepted' && value.run_id === runId && value.execution_catalog_sha256 === catalog.registry + && value.job_schema_sha256 === catalog.schema, '2D acceptance identity mismatch') + return { ...this.open(id(value.store_id), runId, id(value.attempt_id)), submitted: { catalog, device, input: frozen } } + } + open(storeId: string, runId: string, attemptId: string): Steady2DJob { + return { reader: new StoredRunClient(this.endpoint, id(storeId), 64 * 1024 ** 2), target: Object.freeze({ runId: id(runId), attemptId: id(attemptId) }) } + } + async cancel(job: Steady2DJob): Promise { + const run = (await job.reader.getRun(job.target.runId)).value + check(run.current_attempt_id === job.target.attemptId && ['queued', 'running'].includes(run.state), 'Cancellation target is stale or terminal') + const { value } = await requestJobService(this.endpoint, `jobs/${encodeURIComponent(job.target.runId)}/attempts/${encodeURIComponent(job.target.attemptId)}/cancel`, { + method: 'POST', headers: { 'Content-Type': 'application/json' }, body: `{"expected_generation":${run.generation.toString()},"reason":"User requested 2D steady cancellation"}`, + }) + check(value.run_id === job.target.runId && value.attempt_id === job.target.attemptId, 'Cancellation identity mismatch') + } + async readResult(job: Steady2DJob, signal?: AbortSignal): Promise { + const [snapshot, run] = await Promise.all([job.reader.getAttempt(job.target, signal), job.reader.getRun(job.target.runId, signal)]) + const attempt = snapshot.value; check(attempt.terminal, 'Attempt is not committed') + if (attempt.state === 'cancelled') { check(!attempt.terminal.artifacts.length, 'Cancelled attempt cannot invent fields'); return undefined } + check(attempt.state === 'succeeded' || attempt.state === 'failed', 'Unsupported terminal state') + if (!attempt.terminal.artifacts.length && attempt.state === 'failed') return undefined + const worker = object(attempt.result?.worker_result), metadata = object(run.value.request.input_metadata), identity = object(run.value.request.identity) + const documents = object(object(metadata.transport).documents) + const [registry, submitted, schema] = await Promise.all([document(documents.registry), document(documents.request), document(documents.schema)]) + const summary = object(worker.steady_2d_result), capture = object(worker.capture), execution = object(metadata.execution_manifest) + check(worker.schema === 'solarlab.steady-2d.worker-result.v1' && worker.engine === 'solarlab' && worker.scientific_qualification === false + && summary.schema === schemaId && summary.dimension === 2 && summary.scientific_qualification === false + && summary.physical_certificate_status === 'not_evaluated' && summary.mesh_qualification === 'not_evaluated' && summary.photovoltaic_metrics === null, + 'Not the bound full-2D worker') + for (const key of ['H_input', 'H_physics', 'H_execution']) check(sha(worker[key]) === identity[key], '2D execution identity mismatch') + check(worker.manifest_sha256 === execution.manifest_sha256 && worker.H_execution === execution.H_execution + && capture.request_sha256 === submitted.sha256 && summary.prepared_sha256 === worker.prepared_sha256, 'Manifest/request capture mismatch') + const expected = object(worker.payloads), keys = [...Object.keys(storedUnits), 'steady_2d_diagnostics'] + check(same(Object.keys(expected).sort(), keys.sort()) && attempt.terminal.artifacts.length === 14, 'Incomplete 2D artifact roles') + const storedArrays: Record = {}, names = new Set(), hashes: Record = {} + let manifestJson = '', diagnosticsJson = '' + for (const reference of attempt.terminal.artifacts) { + const artifact = await job.reader.getArtifact(job.target, reference, signal), record = artifact.record.value, name = String(record.name) + check(!names.has(name) && String(record.generation) === String(attempt.generation), 'Duplicate or foreign-generation artifact'); names.add(name) + if (name === 'execution_manifest') { check(record.sha256 === worker.manifest_sha256, 'Wrong execution manifest'); manifestJson = text(artifact.bytes); continue } + const binding = object(expected[name]); hashes[name] = sha(record.sha256) + check(binding.sha256 === record.sha256 && binding.format === record.format && same(binding.metadata, record.metadata) + && record.metadata.schema === schemaId && record.metadata.compiled_identity === summary.compiled_identity + && record.metadata.geometry_identity === summary.geometry_identity && record.metadata.flatten_order === summary.flatten_order, + 'Payload binding mismatch') + if (Object.hasOwn(storedUnits, name)) { + check(record.metadata.unit === storedUnits[name] && record.metadata.dtype === (['face_pairs', 'accepted_indices'].includes(name) ? ' { + const doc = object(roles[name]); check(typeof doc.content_hex === 'string' && /^(?:[a-f0-9]{2})+$/.test(doc.content_hex), 'Invalid manifest role bytes') + const bytes = Uint8Array.from(doc.content_hex.match(/../g)!, v => parseInt(v, 16)) + check(await digest(bytes) === sha(doc.sha256), 'Manifest role digest differs'); return object(JSON.parse(text(bytes))) + } + const [protocol, preparation, grid, controls, initial] = await Promise.all(['protocol', 'preparation', 'grid', 'numeric_controls', 'initial_state'].map(role)) + const sources: StoredObject = {} + check(Array.isArray(manifest.implementation_content) && Array.isArray(preparation.adapter_sources), 'Missing source capture') + for (const raw of [...manifest.implementation_content, ...preparation.adapter_sources]) { const s = object(raw); sources[String(s.id)] = sha(s.sha256) } + check(bound.H_input === worker.H_input && bound.H_physics === worker.H_physics && object(bound.engine).name === 'solarlab' + && same(capture.source_sha256, sources) && capture.build_source_commit === object(bound.implementation).build_source_commit + && same(capture.runtime, bound.environment) && capture.manifest_sha256 === worker.manifest_sha256 + && capture.prepared_sha256 === worker.prepared_sha256 && capture.compiled_identity === summary.compiled_identity + && capture.geometry_identity === summary.geometry_identity && preparation.prepared_sha256 === worker.prepared_sha256 && preparation.dimension === 2, + 'Actual source/runtime/configuration binding differs') + const raw = object(JSON.parse(diagnosticsJson)) + check(submitted.data.schema === 'solarlab.steady-2d.worker-request.v1' && submitted.data.engine === 'solarlab' + && submitted.data.prepared_sha256 === worker.prepared_sha256 && same(submitted.data, raw.request) + && same(submitted.data.protocol, protocol) && same(submitted.data.spatial, grid) && same(submitted.data.controls, controls) + && same(submitted.data.initial, initial) && same(preparation.resolved_device, raw.prepared_declaration), 'Recorded request differs from manifest/raw producer') + const registered = registry.data.schema === 'solarlab.execution-catalog.v1' + if (registered) { + check(Array.isArray(registry.data.bindings), 'Missing recorded catalog') + const entries = registry.data.bindings.map(object).filter(e => e.driver === STEADY_2D_EXPERIMENT); check(entries.length === 1, 'Ambiguous recorded 2D route') + const entry = entries[0], installed = object(entry.preparation_context), policy = object(installed.fixed_numerical_policy) + const selected = tuple(installed.devices).map(object).filter(d => d.prepared_sha256 === worker.prepared_sha256) + check(registry.data.job_schema_sha256 === schema.sha256 && worker.execution_catalog_sha256 === registry.sha256 + && entry.experiment_id === STEADY_2D_EXPERIMENT && entry.version === 1 && entry.engine === 'solarlab' && entry.scope === STEADY_2D_SCOPE + && entry.result_schema === worker.schema && entry.worker_source_sha256 === sources['solarlab/experiments/two_dimensional/steady_worker.py'] + && worker.experiment_id === STEADY_2D_EXPERIMENT && worker.experiment_version === 1 && selected.length === 1 + && selected[0].device_id === worker.registered_device_id && worker.registered_model_registry_sha256 === entry.model_registry_sha256 + && same(worker.server_sources, installed.server_sources) && same(worker.server_runtime, installed.server_runtime) + && same(worker.registered_numerical_policy, policy) && same(worker.registered_spatial_declaration, geometry) + && same(policy.spatial, geometry) && same(policy.initial, initial) + && admitsSteady2DControls(policy, controls) + && protocol.voltage_V === policy.voltage_V && tuple(policy.generation_scales).some(g => same(g, protocol.generation_scales)) + && worker.http_request_sha256 === submitted.sha256 + && object(installed.implementation).build_source_commit === capture.build_source_commit, 'Stored HTTP registration differs from its producer') + const exactRegistry = recordedJson(text(Uint8Array.from(atob(String(object(documents.registry).base64)), c => c.charCodeAt(0)))) + const exactEntry = (exactRegistry.bindings as unknown[]).map(object).find(e => e.driver === STEADY_2D_EXPERIMENT)! + check(worker.registered_input_schema_sha256 === await digest(new TextEncoder().encode(canonicalRecorded(exactEntry.input_schema))), 'Recorded input schema digest differs') + } else { + check(!worker.execution_catalog_sha256 && object(documents.registry).id === 'solarlab.steady-2d.worker-registry.v1' + && object(documents.schema).id === 'solarlab.steady-2d.worker-request.v1', 'Unknown historical 2D registry') + } + const { arrays, attempts, targets } = validateArrays(raw, summary, storedArrays) + check(attempt.state === (summary.completed ? 'succeeded' : 'failed') && worker.reason === summary.reason, 'Terminal contradicts original full-2D outcome') + for (const attempt of attempts) { + if (attempt.result_2d === null) continue + for (const [name, hash] of Object.entries(object(object(attempt.result_2d).source_sha256))) { + check(sources[name.replaceAll('.', '/') + '.py'] === hash, 'Original numerical source differs from manifest') + } + } + const exactSummary = object(object(object(recordedJson(snapshot.json).result).worker_result)).steady_2d_result + check(capture.result_sha256 === await digest(new TextEncoder().encode(canonicalRecorded({ summary: exactSummary, payloads: hashes }))), 'Result digest differs') + if (job.submitted) check(worker.prepared_sha256 === job.submitted.device.preparedSha256 && registry.sha256 === job.submitted.catalog.registry + && same(protocol, { voltage_V: job.submitted.input.voltage_V, generation_scales: job.submitted.input.generation_scales }) + && same(controls, job.submitted.input.controls) && same(initial, job.submitted.input.initial), 'Result differs from submitted protocol') + return { state: attempt.state, registered, arrays, units: STEADY_2D_UNITS, storedArrays, attempts, targets, summary, worker, + originalJson: snapshot.json, diagnosticsJson, manifestJson } + } +} + +function validateArrays(raw: StoredObject, summary: StoredObject, packed: Record) { + const g = object(raw.geometry), attempts = tuple(raw.attempts).map(object), targets = tuple(raw.requested_targets).map(object) + const count = number(summary.accepted_count), ny = 13, nx = 5, n = ny * nx, f = 112 + check(raw.schema === schemaId && raw.qualification === false && raw.prepared_identity === summary.prepared_sha256 + && raw.compiled_identity === summary.compiled_identity && g.identity === summary.geometry_identity + && same(tuple(g.shape_Ny_Nx), [ny, nx]) && same(summary.shape_Ny_Nx, [ny, nx]) && g.lateral_width_m === 1e-6 + && summary.lateral_width_m === g.lateral_width_m && g.x_face_count === 52 + && summary.flatten_order === 'C: y-major, x-fastest; coordinates [phi,z_n,z_p]' + && summary.face_order === 'x faces then y faces; positive coordinate direction', '2D geometry/flattening identity differs') + check(Number.isSafeInteger(count) && count >= 0 && count <= targets.length && attempts.length > 0 + && targets.length <= 2 && same(targets, tuple(object(object(raw.request).protocol).generation_scales).map(scale => ({ voltage_V: .002, generation_scale: scale }))) + && [[0], [1], [0, 1]].some(scales => same(targets.map(t => t.generation_scale), scales)) + && attempts.every((a, i) => same(a.target, targets[i]) && a.auxiliary_seed_is_2d_completion === false + && typeof a.auxiliary_1d_seed_called === 'boolean' && typeof a.full_2d_adapter_called === 'boolean' && a.accepted === (i < count)) + && summary.requested_count === targets.length && summary.attempt_count === attempts.length + && summary.unattempted_count === targets.length - attempts.length + && (summary.completed === true ? count === targets.length && attempts.length === count : attempts.length === count + 1), + 'Requested/accepted/failed/unattempted targets differ') + const failed = attempts[count] + check(same(summary.first_failure, failed ? { index: count, target: failed.target, termination: failed.termination, error: failed.error, full_2d_adapter_called: failed.full_2d_adapter_called } : null) + && summary.reason === (failed ? failed.termination : null), 'First failed target was lost') + const arrays: Record = {} + for (const name of ['x_m', 'y_m', 'cell_areas_m2', 'face_lengths_m', 'face_spacing_m', 'face_pairs']) arrays[name] = rawArray(g[name], name === 'face_pairs' ? ' i) } + arrays.accepted_voltage_V = { shape: [count], values: targets.slice(0, count).map(t => number(t.voltage_V)) } + arrays.accepted_generation_scale = { shape: [count], values: targets.slice(0, count).map(t => number(t.generation_scale)) } + const shapeByName: Record = { state_coordinates: [3 * n], potential_V: [ny, nx], electron_density_m3: [ny, nx], hole_density_m3: [ny, nx], + face_current_density_A_m2: [f], lateral_current_density_A_m2: [ny, nx - 1], stack_current_density_A_m2: [ny - 1, nx], + terminal_current_per_depth_A_m: [2], cross_section_current_per_depth_A_m: [ny - 1], terminal_mean_current_density_A_m2: [2], + original_residual: [3 * n], face_displacement_C_m2: [f], carrier_face_particle_flux_m2_s: [2, f] } + for (const [name, shape] of Object.entries(shapeByName)) { + const state = ['state_coordinates', 'potential_V', 'electron_density_m3', 'hole_density_m3'].includes(name) + const values = attempts.slice(0, count).flatMap(a => { + const result = object(a.result_2d), array = rawArray(object(result[state ? 'state' : 'diagnostics'])[name === 'state_coordinates' ? 'u' : name]) + check(same(array.shape, shape), 'Original 2D array shape differs'); return array.values + }) + arrays[name] = { shape: [count, ...shape], values } + } + for (const [name, shape] of Object.entries({ x_m: [nx], y_m: [ny], cell_areas_m2: [ny, nx], face_lengths_m: [f], face_spacing_m: [f], face_pairs: [f, 2] })) + check(same(arrays[name].shape, shape), '2D geometry array shape differs') + const pairs: number[] = [] + for (let y = 0; y < ny; y++) for (let x = 0; x < nx - 1; x++) pairs.push(y * nx + x, y * nx + x + 1) + for (let y = 0; y < ny - 1; y++) for (let x = 0; x < nx; x++) pairs.push(y * nx + x, (y + 1) * nx + x) + check(same(arrays.face_pairs.values, pairs) && ['x_m', 'y_m'].every(name => arrays[name].values.every((v, i, all) => !i || v > all[i - 1])) + && ['cell_areas_m2', 'face_lengths_m', 'face_spacing_m'].every(name => arrays[name].values.every(v => v > 0)), '2D directed-face connectivity or measures differ') + const expected = { ...arrays, + face_geometry_m: { shape: [2, f], values: [...arrays.face_lengths_m.values, ...arrays.face_spacing_m.values] }, + carrier_density_m3: { shape: [2, count, ny, nx], values: [...arrays.electron_density_m3.values, ...arrays.hole_density_m3.values] }, + section_terminal_current_A_m: { shape: [count, ny + 1], values: Array.from({ length: count }, (_, i) => [arrays.terminal_current_per_depth_A_m.values[i * 2], + ...arrays.cross_section_current_per_depth_A_m.values.slice(i * (ny - 1), (i + 1) * (ny - 1)), arrays.terminal_current_per_depth_A_m.values[i * 2 + 1]]).flat() } } + for (const name of Object.keys(packed)) check(same(packed[name], expected[name as keyof typeof expected]), 'NPY bytes differ from original 2D producer arrays') + for (const a of attempts.slice(0, count)) { + const r = object(a.result_2d), state = object(r.state), diagnostics = object(r.diagnostics), controls = object(r.solver_controls) + check(r.accepted === true && a.full_2d_adapter_called === true && r.termination === 'converged' && object(r.newton).accepted === true + && r.compiled_identity === summary.compiled_identity && state.device_sha256 === summary.compiled_identity + && r.operating_voltage_V === object(a.target).voltage_V && r.generation_scale === object(a.target).generation_scale + && r.physical_certificate_status === 'not_evaluated' && controls.full_2d_newton_calls === 1 && controls.hidden_seed_or_fallback_calls === 0 + && same(object(controls.numerical).electronic, object(object(object(raw.request).controls).full_2d).electronic) + && same(rawArray(state.u), rawArray(r.candidate_coordinates)) && same(rawArray(object(r.newton).state), rawArray(r.candidate_coordinates)) + && same(rawArray(state.potential_V).values, rawArray(state.u).values.slice(0, n)) + && same(tuple(diagnostics.original_rows), Array.from({ length: 3 * n }, (_, i) => i)) + && tuple(r.checks).length > 0 && tuple(r.checks).map(object).every(c => c.passed === true && number(c.value) <= number(c.limit)), + 'Accepted fields lack original full-2D Newton evidence') + } + check(arrays.terminal_current_per_depth_A_m.values.every((v, i) => Object.is(v / 1e-6, arrays.terminal_mean_current_density_A_m2.values[i])), 'Terminal width normalization differs') + const counts = object(summary.computation_counts), full = attempts.filter(a => a.result_2d !== null).map(a => object(a.result_2d)) + const seeds = attempts.flatMap(a => a.auxiliary_1d_seed !== null ? [...tuple(object(a.auxiliary_1d_seed).preparation), object(a.auxiliary_1d_seed).newton].map(object) + : a.failed_auxiliary_seed_newton !== null ? [object(a.failed_auxiliary_seed_newton)] : []) + check(counts.auxiliary_1d_seed_calls === attempts.filter(a => a.auxiliary_1d_seed_called === true).length + && counts.auxiliary_1d_observed_newton_results === seeds.length + && counts.auxiliary_1d_observed_residual_evaluations === seeds.reduce((s, r) => s + number(r.residual_evaluations), 0) + && counts.auxiliary_1d_observed_jacobian_evaluations === seeds.reduce((s, r) => s + number(r.jacobian_evaluations), 0) + && counts.full_2d_adapter_calls === attempts.filter(a => a.full_2d_adapter_called === true).length + && counts.full_2d_newton_calls === full.reduce((s, r) => s + number(object(r.solver_controls).full_2d_newton_calls), 0) + && ['residual', 'jacobian', 'diagnostics'].every(name => object(counts.full_2d_evaluation_counts)[name] === full.reduce((s, r) => s + number(object(r.evaluation_counts)[name]), 0)), + 'Auxiliary and full-2D computation counts differ') + return { arrays, attempts, targets } +} diff --git a/web/src/steady-jv-client.test.ts b/web/src/steady-jv-client.test.ts new file mode 100644 index 00000000..c255dfcc --- /dev/null +++ b/web/src/steady-jv-client.test.ts @@ -0,0 +1,104 @@ +// @vitest-environment node +import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest' +import { SteadyJVClient, readSteadyArray, voltageGrid, STEADY_SCOPE } from './steady-jv-client' +import type { SteadyCatalog } from './steady-jv-client' +import type { ArtifactRecord } from './run-client' +import { webcrypto } from './test-helpers/schema-fixture.mjs' + +const endpoint = 'http://127.0.0.1:5173/steady-service/' +const registry = 'a'.repeat(64), schema = 'b'.repeat(64) +const input = { voltage_V: [0, .05, .1], intervals_per_layer: 12, generation_scale: 1, incident_power_W_m2: null } +function binding(engine = 'solarlab', scope = STEADY_SCOPE) { + return { experiment_id: 'steady_jv', version: 1, engine, scope, driver: 'steady_jv', + input_schema: { additionalProperties: false, required: ['device_id', ...Object.keys(input)], properties: { + device_id: { type: 'string' }, voltage_V: { type: 'array', minItems: 2, maxItems: 101 }, + intervals_per_layer: { type: 'integer', minimum: 2, maximum: 256 }, generation_scale: { type: 'number' }, incident_power_W_m2: {}, + } }, preparation_context: { devices: [{ device_id: 'research_1d', prepared_sha256: 'c'.repeat(64) }] } } +} +function response(value: unknown, headers = {}, status = 200) { + return new Response(JSON.stringify(value), { status, headers: { 'Content-Type': 'application/json', ...headers } }) +} +function advertised(bindings = [binding()]) { + return response({ schema: 'solarlab.execution-catalog.v1', bindings, job_schema_sha256: schema, + resource_ceiling: { wall_seconds: 60, rss_bytes: 1610612736, output_bytes: 100663296, accepted_steps: null, calls: null } }, + { 'X-Solarlab-Registry': registry, 'X-Solarlab-Job-Schema': schema, ETag: `"${registry}"` }) +} +function accepted() { + return response({ status: 'accepted', run_id: 'client-run', attempt_id: 'attempt-a', store_id: 'store-a', + execution_catalog_sha256: registry, job_schema_sha256: schema, + events_url: 'https://foreign.invalid/ignored', result_url: '/api/ignored' }, {}, 202) +} +let fetcher: ReturnType +beforeEach(() => { vi.stubGlobal('crypto', webcrypto); fetcher = vi.fn(); vi.stubGlobal('fetch', fetcher) }) +afterEach(() => { vi.unstubAllGlobals() }) +async function setup(): Promise<{ client: SteadyJVClient; catalog: SteadyCatalog }> { + fetcher.mockResolvedValueOnce(advertised()) + const client = new SteadyJVClient(endpoint), catalog = await client.discover() + return { client, catalog } +} + +describe('installed steady DC client', () => { + it('shows only the explicit solarlab/static scope and refuses mismatched catalog headers', async () => { + fetcher.mockResolvedValueOnce(advertised([binding('legacy'), binding('solarlab', 'ac'), binding()])) + const client = new SteadyJVClient(endpoint) + expect((await client.discover()).routes.map(route => route.id)).toEqual(['steady_jv']) + fetcher.mockResolvedValueOnce(response({ schema: 'solarlab.execution-catalog.v1', job_schema_sha256: schema, bindings: [] })) + await expect(client.discover()).rejects.toThrow('identity') + expect(String(fetcher.mock.calls[0][0])).toBe(endpoint + 'experiments') + }) + + it('uses returned identity headers, explicit controls and stable same-origin stored paths', async () => { + const { client, catalog } = await setup(); fetcher.mockResolvedValueOnce(accepted()) + const job = await client.submit(catalog, catalog.routes[0], 'research_1d', input, 30, 'client-run') + const [url, options] = fetcher.mock.calls[1] + expect(String(url)).toBe(endpoint + 'jobs') + expect(options.headers).toMatchObject({ 'X-Solarlab-Registry': registry, 'X-Solarlab-Job-Schema': schema }) + expect(JSON.parse(options.body)).toEqual({ schema_version: 'solarlab.job-submission.v1', run_id: 'client-run', + experiment_id: 'steady_jv', version: 1, engine: 'solarlab', input: { device_id: 'research_1d', ...input }, + limits: { ...catalog.ceiling, wall_seconds: 30, accepted_steps: null, calls: null } }) + expect(job.reader.endpoint).toBe(endpoint) + expect(job.target).toEqual({ runId: 'client-run', attemptId: 'attempt-a' }) + }) + + it('rejects uninstalled devices, invalid grids, negative power and over-budget inputs before POST', async () => { + const { client, catalog } = await setup() + for (const change of [{ voltage_V: [0, 0] }, { voltage_V: [0, Infinity] }, { intervals_per_layer: 257 }, { incident_power_W_m2: 0 }]) { + await expect(client.submit(catalog, catalog.routes[0], 'research_1d', { ...input, ...change }, 30)).rejects.toThrow() + } + await expect(client.submit(catalog, catalog.routes[0], '/tmp/device', input, 30)).rejects.toThrow('installed device') + await expect(client.submit(catalog, catalog.routes[0], 'research_1d', input, 61)).rejects.toThrow('budget') + expect(fetcher).toHaveBeenCalledTimes(1) + expect(voltageGrid(0, .1, 3)).toEqual([0, .05, .1]) + expect(() => voltageGrid(0, 0, 3)).toThrow() + }) + + it('cancels only the selected attempt with the observed generation, retaining the proxy prefix', async () => { + const { client, catalog } = await setup(); fetcher.mockResolvedValueOnce(accepted()) + const job = await client.submit(catalog, catalog.routes[0], 'research_1d', input, 30, 'client-run') + const run = { run_id: 'client-run', current_attempt_id: 'attempt-a', state: 'running', generation: 3, created_ns: 0, + request: { identity_kind: 'opaque_upstream', identity: { H_input: 'input', H_physics: 'physics', H_execution: 'execution' }, input_metadata: {} } } + fetcher.mockResolvedValueOnce(response(run, { 'X-RunStore-ID': 'store-a' })) + .mockResolvedValueOnce(response({ run_id: 'client-run', attempt_id: 'attempt-a', state: 'cancelled' })) + await client.cancel(job, 'explicit stop') + expect(String(fetcher.mock.calls[3][0])).toBe(endpoint + 'jobs/client-run/attempts/attempt-a/cancel') + expect(JSON.parse(fetcher.mock.calls[3][1].body)).toEqual({ expected_generation: 3, reason: 'explicit stop' }) + fetcher.mockResolvedValueOnce(response({ ...run, current_attempt_id: 'new-attempt' }, { 'X-RunStore-ID': 'store-a' })) + await expect(client.cancel(job)).rejects.toThrow('stale') + expect(fetcher).toHaveBeenCalledTimes(5) + }) + + it('decodes only consistent finite C-order float64 NPY and retains signed zero', () => { + const header = "{'descr': ' readSteadyArray(bytes.slice(0, -1), record)).toThrow('byte count') + expect(() => readSteadyArray(bytes, { ...record, metadata: { ...record.metadata, shape: [1, 2] } })).toThrow('metadata') + view.setFloat64(10 + header.length, NaN, true) + expect(() => readSteadyArray(bytes, record)).toThrow('Non-finite') + }) +}) diff --git a/web/src/steady-jv-client.ts b/web/src/steady-jv-client.ts new file mode 100644 index 00000000..d2b95e8f --- /dev/null +++ b/web/src/steady-jv-client.ts @@ -0,0 +1,231 @@ +/** The explicitly installed classical DC route; stored reads use RunStore's client. */ +import { StoredRunClient, RunClientError } from './run-client' +import type { ArtifactRecord, AttemptIdentity, StoredObject } from './run-client' + +export const STEADY_SCOPE = 'static_classical_ion_free_1d_dc' +export const ARRAY_UNITS = { + nodes_m: 'm', voltage_V: 'V', output_current_A_m2: 'A/m^2', + current_density_A_m2: 'A/m^2', contact_current_density_A_m2: 'A/m^2', + potential_V: 'V', electron_density_m3: 'm^-3', hole_density_m3: 'm^-3', +} as const +export type ArrayName = keyof typeof ARRAY_UNITS +export interface FloatArray { shape: number[]; values: number[] } +export interface SteadyProtocol { + voltage_V: number[]; intervals_per_layer: number; generation_scale: number; incident_power_W_m2: number | null +} +export interface SteadyDevice { id: string; preparedSha256: string } +export interface SteadyRoute { + id: string; version: number; devices: readonly SteadyDevice[] + minPoints: number; maxPoints: number; minIntervals: number; maxIntervals: number +} +export interface SteadyCatalog { + registry: string; schema: string; routes: readonly SteadyRoute[] + ceiling: { wall_seconds: number; rss_bytes: number; output_bytes: number } +} +export interface SteadyJob { + reader: StoredRunClient; target: Readonly; protocol: Readonly + device: SteadyDevice; catalog: SteadyCatalog +} +export interface SteadyResult { + arrays: Record; metrics: StoredObject; evidence: unknown[] + worker: StoredObject; originalJson: string +} + +function check(value: unknown, message: string): asserts value { + if (!value) throw new RunClientError('protocol', message) +} +function object(value: unknown): StoredObject { + check(value !== null && typeof value === 'object' && !Array.isArray(value), 'Expected an object') + return value as StoredObject +} +function id(value: unknown): string { + check(typeof value === 'string' && /^[A-Za-z0-9_][A-Za-z0-9_.:-]{0,127}$/.test(value), 'Invalid registered identifier') + return value +} +function sha(value: unknown): string { + check(typeof value === 'string' && /^[a-f0-9]{64}$/.test(value), 'Missing source identity header or digest') + return value +} +function positive(value: unknown, integral = false): number { + check(typeof value === 'number' && Number.isFinite(value) && value > 0 + && (!integral || Number.isSafeInteger(value)), 'Invalid service bound') + return value +} + +export function voltageGrid(start: number, end: number, count: number): number[] { + check(Number.isFinite(start) && Number.isFinite(end) && start !== end + && Number.isSafeInteger(count) && count >= 2 && count <= 101, 'Use 2–101 distinct, finite voltage samples') + return Array.from({ length: count }, (_, i) => i === 0 ? start : i === count - 1 ? end : start + (end - start) * i / (count - 1)) +} + +function protocol(value: SteadyProtocol, route: SteadyRoute): void { + const v = value.voltage_V + check(v.length >= route.minPoints && v.length <= route.maxPoints && v.every(Number.isFinite) + && (v.every((x, i) => i === 0 || x > v[i - 1]) || v.every((x, i) => i === 0 || x < v[i - 1])), + 'Voltage samples must be finite and strictly monotonic within the installed schema') + check(Number.isSafeInteger(value.intervals_per_layer) && value.intervals_per_layer >= route.minIntervals + && value.intervals_per_layer <= route.maxIntervals, 'Grid intervals are outside the installed schema') + check(Number.isFinite(value.generation_scale) && value.generation_scale >= 0, 'Generation scale must be finite and nonnegative') + check(value.incident_power_W_m2 === null || (Number.isFinite(value.incident_power_W_m2) && value.incident_power_W_m2 > 0), + 'Incident power must be positive, or blank when unknown') +} + +/** Narrow decoder for this worker's plain C-order float64 NPY payloads. + * getArtifact verifies the original bytes first. No pickle/eval/general dtype loader. */ +export function readSteadyArray(bytes: Uint8Array, record: ArtifactRecord, allowEmpty = false): FloatArray { + check(record.format === 'npy' && bytes.length >= 10 + && Array.from(bytes.slice(0, 6)).join(',') === '147,78,85,77,80,89', 'Invalid steady NPY artifact') + const view = new DataView(bytes.buffer, bytes.byteOffset, bytes.byteLength) + const version = bytes[6] + check((version === 1 || version === 2) && bytes[7] === 0 && bytes.length >= (version === 1 ? 10 : 12), 'Unsupported NPY version') + const prefix = version === 1 ? 10 : 12 + const length = version === 1 ? view.getUint16(8, true) : view.getUint32(8, true) + check(length <= 4096 && prefix + length <= bytes.length, 'Invalid NPY header size') + const header = new TextDecoder('utf-8', { fatal: true }).decode(bytes.slice(prefix, prefix + length)) + const match = /^\{'descr': '([<>]f8)', 'fortran_order': False, 'shape': \((\d+(?:,\s*\d+)*,?)\),?\s*\}\s*$/.exec(header) + check(match, 'Only plain C-order float64 steady arrays are supported') + const shape = match[2].split(',').filter(x => x.trim()).map(Number) + check(shape.length >= 1 && shape.length <= 2 && shape.every(n => Number.isSafeInteger(n) && (allowEmpty ? n >= 0 : n > 0)), 'Invalid steady array shape') + const count = shape.reduce((a, b) => a * b, 1) + check(Number.isSafeInteger(count) && prefix + length + count * 8 === bytes.length, 'NPY byte count mismatch') + check(record.metadata.dtype === match[1] && record.metadata.order === 'C' + && JSON.stringify(record.metadata.shape) === JSON.stringify(shape), 'NPY differs from committed metadata') + const values = Array.from({ length: count }, (_, i) => view.getFloat64(prefix + length + i * 8, match[1][0] === '<')) + check(values.every(Number.isFinite), 'Non-finite steady field cannot be plotted as a valid result') + return { shape, values } +} + +/** Shared bounded JSON transport for the installed research job routes. */ +export async function requestJobService(endpoint: string, path: string, init: RequestInit = {}): Promise<{ value: StoredObject; response: Response }> { + const response = await fetch(new URL(path, endpoint), { ...init, redirect: 'error', cache: 'no-store' }) + const reader = response.body?.getReader() + check(reader, 'Missing service response') + const chunks: Uint8Array[] = []; let size = 0 + try { + while (true) { + const part = await reader.read(); if (part.done) break + size += part.value.length; check(size <= 1024 ** 2, 'Service response exceeds 1 MiB') + chunks.push(part.value) + } + } finally { await reader.cancel().catch(() => undefined); reader.releaseLock() } + const bytes = new Uint8Array(size); let offset = 0 + for (const part of chunks) { bytes.set(part, offset); offset += part.length } + const text = new TextDecoder('utf-8', { fatal: true }).decode(bytes) + if (!response.ok) throw new RunClientError('http', `Service HTTP ${response.status}: ${text.slice(0, 2048)}`, { status: response.status }) + check(response.headers.get('content-type')?.split(';')[0] === 'application/json', 'Expected JSON service response') + return { value: object(JSON.parse(text)), response } +} + +export class SteadyJVClient { + readonly endpoint: string + constructor(endpoint: string | URL) { + const url = new URL(endpoint) + check(['http:', 'https:'].includes(url.protocol) && !url.username && !url.password && !url.search && !url.hash, + 'Use an explicit HTTP service endpoint') + this.endpoint = url.href.replace(/\/$/, '') + '/' + } + + private request(path: string, init: RequestInit = {}): Promise<{ value: StoredObject; response: Response }> { + return requestJobService(this.endpoint, path, init) + } + + async discover(signal?: AbortSignal): Promise { + const { value, response } = await this.request('experiments', { signal }) + const registry = sha(response.headers.get('X-Solarlab-Registry')), schema = sha(response.headers.get('X-Solarlab-Job-Schema')) + check(value.schema === 'solarlab.execution-catalog.v1' && value.job_schema_sha256 === schema + && response.headers.get('etag') === `"${registry}"` && Array.isArray(value.bindings), 'Inconsistent execution catalog') + const limits = object(value.resource_ceiling) + check(limits.accepted_steps === null && limits.calls === null, 'Steady counter budgets are unsupported') + const ceiling = Object.freeze({ wall_seconds: positive(limits.wall_seconds), rss_bytes: positive(limits.rss_bytes, true), output_bytes: positive(limits.output_bytes, true) }) + const routes: SteadyRoute[] = [] + for (const raw of value.bindings) { + const entry = object(raw) + if (entry.engine !== 'solarlab' || entry.scope !== STEADY_SCOPE || entry.driver !== 'steady_jv') continue + const schema = object(entry.input_schema), properties = object(schema.properties) + const keys = ['device_id', 'voltage_V', 'intervals_per_layer', 'generation_scale', 'incident_power_W_m2'] + const required = schema.required + if (schema.additionalProperties !== false || !Array.isArray(required) + || required.length !== keys.length || keys.some(key => !required.includes(key)) + || Object.keys(properties).some(key => !keys.includes(key))) continue + const voltage = object(properties.voltage_V), grid = object(properties.intervals_per_layer) + const installed = object(entry.preparation_context) + check(Array.isArray(installed.devices), 'Missing installed device list') + const devices = installed.devices.map(raw => { const d = object(raw); return Object.freeze({ id: id(d.device_id), preparedSha256: sha(d.prepared_sha256) }) }) + check(new Set(devices.map(d => d.id)).size === devices.length, 'Duplicate installed device IDs') + routes.push(Object.freeze({ id: id(entry.experiment_id), version: positive(entry.version, true), devices: Object.freeze(devices), + minPoints: positive(voltage.minItems, true), maxPoints: Math.min(101, positive(voltage.maxItems, true)), + minIntervals: positive(grid.minimum, true), maxIntervals: positive(grid.maximum, true) })) + } + return Object.freeze({ registry, schema, ceiling, routes: Object.freeze(routes) }) + } + + async submit(catalog: SteadyCatalog, route: SteadyRoute, deviceId: string, input: SteadyProtocol, wallSeconds: number, + runId = `steady-${crypto.randomUUID()}`): Promise { + check(catalog.routes.includes(route), 'Select an installed route') + const device = route.devices.find(d => d.id === deviceId); check(device, 'Select an installed device') + protocol(input, route) + check(Number.isFinite(wallSeconds) && wallSeconds > 0 && wallSeconds <= catalog.ceiling.wall_seconds, 'Wall budget exceeds the service ceiling') + // Snapshot exactly the serialized input; further form edits cannot relabel this job. + const frozen = JSON.parse(JSON.stringify({ voltage_V: [...input.voltage_V], intervals_per_layer: input.intervals_per_layer, + generation_scale: input.generation_scale, incident_power_W_m2: input.incident_power_W_m2 })) as SteadyProtocol + const { value, response } = await this.request('jobs', { method: 'POST', headers: { + 'Content-Type': 'application/json', 'X-Solarlab-Registry': catalog.registry, 'X-Solarlab-Job-Schema': catalog.schema, + }, body: JSON.stringify({ schema_version: 'solarlab.job-submission.v1', run_id: id(runId), + experiment_id: route.id, version: route.version, engine: 'solarlab', input: { device_id: deviceId, ...frozen }, + limits: { ...catalog.ceiling, wall_seconds: wallSeconds, accepted_steps: null, calls: null } }) }) + check(response.status === 202 && value.status === 'accepted' && value.run_id === runId + && value.execution_catalog_sha256 === catalog.registry && value.job_schema_sha256 === catalog.schema, 'Job acceptance identity mismatch') + return { reader: new StoredRunClient(this.endpoint, id(value.store_id)), target: Object.freeze({ runId, attemptId: id(value.attempt_id) }), + protocol: Object.freeze(frozen), device, catalog } + } + + async cancel(job: SteadyJob, reason = 'User requested steady DC cancellation'): Promise { + const run = (await job.reader.getRun(job.target.runId)).value + check(run.current_attempt_id === job.target.attemptId, 'The selected attempt is stale; cancellation refused') + check(run.state === 'queued' || run.state === 'running', 'The selected job is already terminal') + const { value } = await this.request(`jobs/${encodeURIComponent(job.target.runId)}/attempts/${encodeURIComponent(job.target.attemptId)}/cancel`, { + method: 'POST', headers: { 'Content-Type': 'application/json' }, + body: `{"expected_generation":${run.generation.toString()},"reason":${JSON.stringify(reason)}}`, + }) + check(value.run_id === job.target.runId && value.attempt_id === job.target.attemptId, 'Cancellation identity mismatch') + } + + async readResult(job: SteadyJob, signal?: AbortSignal): Promise { + const [snapshot, run] = await Promise.all([job.reader.getAttempt(job.target, signal), job.reader.getRun(job.target.runId, signal)]) + const attempt = snapshot.value + check(attempt.state === 'succeeded' && attempt.terminal, `Attempt is ${attempt.state}; no successful steady result`) + const worker = object(attempt.result?.worker_result), identity = object(run.value.request.identity) + check(worker.schema === 'solarlab.steady-jv.worker-result.v1' && worker.engine === 'solarlab' + && worker.prepared_sha256 === job.device.preparedSha256 && worker.execution_catalog_sha256 === job.catalog.registry, + 'Stored result differs from the selected steady job') + for (const key of ['H_input', 'H_physics', 'H_execution']) check(sha(worker[key]) === identity[key], 'Stored execution identity mismatch') + const expected = object(worker.array_payloads), document = object(worker.steady_result) + check(document.schema === 'solarlab.steady-jv.v1' && document.engine === 'solarlab' && document.outcome === 'completed' + && typeof document.compiled_identity === 'string' && document.compiled_identity.length > 0, 'Unsupported steady result schema') + check(Object.keys(expected).length === 8 && Object.keys(ARRAY_UNITS).every(name => name in expected) + && attempt.terminal.artifacts.length === 9, 'Missing or unexpected steady artifacts') + const arrays = {} as Record; const names = new Set() + for (const reference of attempt.terminal.artifacts) { + const artifact = await job.reader.getArtifact(job.target, reference, signal) + const record = artifact.record.value, name = String(record.name) + check(!names.has(name) && String(record.generation) === String(attempt.generation), 'Duplicate or foreign-generation artifact') + names.add(name) + if (name === 'execution_manifest') { check(record.sha256 === sha(worker.manifest_sha256), 'Execution manifest differs'); continue } + check(Object.hasOwn(ARRAY_UNITS, name) && record.sha256 === sha(expected[name]), 'Array content differs from the worker result') + const key = name as ArrayName + check(record.metadata.unit === ARRAY_UNITS[key] && record.metadata.compiled_identity === document.compiled_identity, + 'Unexpected steady array unit or compiled identity') + arrays[key] = readSteadyArray(artifact.bytes, record) + } + check(names.has('execution_manifest') && Object.keys(arrays).length === 8, 'Incomplete steady result') + const p = job.protocol.voltage_V.length, n = arrays.nodes_m.values.length + for (const [name, array] of Object.entries(arrays)) { + const shape = name === 'nodes_m' ? [n] : ['voltage_V', 'output_current_A_m2'].includes(name) ? [p] + : [p, name === 'current_density_A_m2' ? n - 1 : name === 'contact_current_density_A_m2' ? 2 : n] + check(JSON.stringify(array.shape) === JSON.stringify(shape), 'Steady array dimensions disagree') + } + check(arrays.voltage_V.values.every((v, i) => v === job.protocol.voltage_V[i]) && n >= 3, 'Result voltage/grid differs from the submitted protocol') + check(Array.isArray(document.solver_evidence) && document.solver_evidence.length === p, 'Missing solver evidence') + return { arrays, metrics: object(document.metrics), evidence: document.solver_evidence, worker, originalJson: snapshot.json } + } +} diff --git a/perovskite-sim/frontend/src/style.css b/web/src/style.css similarity index 100% rename from perovskite-sim/frontend/src/style.css rename to web/src/style.css diff --git a/web/src/test-helpers/ionic-jv-fixture.d.mts b/web/src/test-helpers/ionic-jv-fixture.d.mts new file mode 100644 index 00000000..dddeb957 --- /dev/null +++ b/web/src/test-helpers/ionic-jv-fixture.d.mts @@ -0,0 +1,8 @@ +export interface SavedResponse { status: number; headers: Record; base64: string; sha256: string } +export interface SavedFixture { + schema: string + targets: { storeId: string; runId: string; attemptId: string; accepted: number; state: 'succeeded' | 'failed' }[] + responses: Record +} +export function savedIonicJVFixture(): SavedFixture +export function fixtureFetch(fixture: SavedFixture, methods?: string[]): typeof fetch diff --git a/web/src/test-helpers/ionic-jv-fixture.mjs b/web/src/test-helpers/ionic-jv-fixture.mjs new file mode 100644 index 00000000..05432532 --- /dev/null +++ b/web/src/test-helpers/ionic-jv-fixture.mjs @@ -0,0 +1,24 @@ +import { readFileSync } from 'node:fs' +import { gunzipSync } from 'node:zlib' +import { createHash } from 'node:crypto' +import { resolve } from 'node:path' + +/** Exact captured HTTP bytes from the accepted original attempts; no numerical test work. */ +export function savedIonicJVFixture() { + const packed = readFileSync(resolve('src/test-helpers/ionic-jv-records.json.gz')) + const fixture = JSON.parse(gunzipSync(packed).toString('utf8')) + for (const record of Object.values(fixture.responses)) { + if (createHash('sha256').update(Buffer.from(record.base64, 'base64')).digest('hex') !== record.sha256) throw Error('Fixture content hash differs') + } + return fixture +} +export function fixtureFetch(fixture, methods = []) { + return async (input, init = {}) => { + methods.push(init.method ?? 'GET') + if ((init.method ?? 'GET') !== 'GET') throw Error('Saved fixture never submits a numerical job') + const url = new URL(input), path = url.pathname.replace(/^\/steady-service/, '') + url.search + const record = fixture.responses[path] + if (!record) throw Error('Missing captured GET ' + path) + return new Response(Uint8Array.from(Buffer.from(record.base64, 'base64')), { status: record.status, headers: record.headers }) + } +} diff --git a/web/src/test-helpers/ionic-jv-records.json.gz b/web/src/test-helpers/ionic-jv-records.json.gz new file mode 100644 index 00000000..56f019d0 Binary files /dev/null and b/web/src/test-helpers/ionic-jv-records.json.gz differ diff --git a/web/src/test-helpers/ionic-transient-fixture.ts b/web/src/test-helpers/ionic-transient-fixture.ts new file mode 100644 index 00000000..9f87d456 --- /dev/null +++ b/web/src/test-helpers/ionic-transient-fixture.ts @@ -0,0 +1,70 @@ +/** Small synthetic wire/view fixtures. Actual computation evidence uses saved HTTP jobs. */ +import type { IonicCatalog, IonicProtocol, IonicResult } from '../ionic-transient-client' +import { IONIC_EXPERIMENT, IONIC_SCOPE } from '../ionic-transient-client' +import type { FloatArray } from '../steady-jv-client' + +export const registry = 'a'.repeat(64), schema = 'b'.repeat(64), prepared = 'c'.repeat(64) +const budget = { max_iterations: 50, max_residual_evaluations: 500, max_jacobian_evaluations: 50, max_backtracks: 24 } +export const protocol: IonicProtocol = { + times_s: [0, .25, .5, .75, 1], voltage_V: [.002, .0025, .003, .0035, .004], generation_scale: [0, 0, 0, 0, 0], intervals_per_layer: [12, 12, 12], + controls: { initial_steady: { budget: { ...budget, max_iterations: 60, max_residual_evaluations: 600, max_jacobian_evaluations: 60 }, inventory_row_node: 12, wall_s: 30 }, + transient: { newton_budget: { ...budget }, max_steps: 16, wall_s: 30 } }, +} +const bounds = { + samples: { min: 2, max: 17 }, layers: { min: 1, max: 8 }, intervals_per_layer: { min: 2, max: 64 }, + times_s: { min: 0, max: 1 }, voltage_V: { min: -.02, max: .02 }, generation_scale: { min: 0, max: 0 }, + max_steps: { min: 1, max: 16 }, wall_s: { min: 0, max: 30 }, initial_wall_s: { min: 0, max: 30 }, inventory_row_node: { min: 0, max: 64 }, + max_iterations: { min: 1, max: 50 }, max_residual_evaluations: { min: 1, max: 500 }, max_jacobian_evaluations: { min: 1, max: 50 }, max_backtracks: { min: 0, max: 24 }, + initial_max_iterations: { min: 1, max: 60 }, initial_max_residual_evaluations: { min: 1, max: 600 }, initial_max_jacobian_evaluations: { min: 1, max: 60 }, initial_max_backtracks: { min: 0, max: 24 }, +} +export const catalog: IonicCatalog = { registry, schema, ceiling: { wall_seconds: 30, rss_bytes: 1_610_612_736, output_bytes: 100_663_296 }, + routes: [{ id: IONIC_EXPERIMENT, version: 1, devices: [{ id: 'research_1d_shared', preparedSha256: prepared }], domain: 'absorber', policy: {}, bounds }] } + +export function catalogDocument() { + const item = (min: number, max: number) => ({ minimum: min, maximum: max, type: 'number' }) + const array = (min: number, max: number, minItems = 2, maxItems = 17) => ({ type: 'array', minItems, maxItems, items: item(min, max) }) + const closed = (properties: Record) => ({ additionalProperties: false, type: 'object', properties, required: Object.keys(properties) }) + const b = closed({ max_iterations: item(1, 60), max_residual_evaluations: item(1, 600), max_jacobian_evaluations: item(1, 60), max_backtracks: item(0, 24) }) + return { schema: 'solarlab.execution-catalog.v1', job_schema_sha256: schema, resource_ceiling: { ...catalog.ceiling, calls: null, accepted_steps: null }, bindings: [{ + experiment_id: IONIC_EXPERIMENT, version: 1, driver: IONIC_EXPERIMENT, engine: 'solarlab', scope: IONIC_SCOPE, + input_schema: { ...closed({ device_id: { type: 'string' }, times_s: array(0, 1), voltage_V: array(-.02, .02), generation_scale: array(0, 0), + intervals_per_layer: array(2, 64, 1, 8), controls: { $ref: '#/$defs/Controls' } }), $defs: { + Controls: closed({ initial_steady: { $ref: '#/$defs/Initial' }, transient: { $ref: '#/$defs/Time' } }), Budget: b, + Initial: closed({ budget: { $ref: '#/$defs/Budget' }, inventory_row_node: item(0, 64), wall_s: item(0, 30) }), + Time: closed({ newton_budget: { $ref: '#/$defs/Budget' }, max_steps: item(1, 16), wall_s: item(0, 30) }), + } }, preparation_context: { devices: [{ device_id: 'research_1d_shared', prepared_sha256: prepared }], + ion_domain_endpoints: ['blocking', 'blocking'], ion_domain_layer: 'absorber', fixed_numerical_policy: {} }, + }] } +} + +export function resultFixture(failed = false, count = failed ? 2 : 5): IonicResult { + const times = protocol.times_s.slice(0, count), x = [0, 1e-8, 3e-8, 4e-8], xi = x.slice(1, 3), steps = Math.max(0, count - 1) + const vector = (values: number[]): FloatArray => ({ shape: [values.length], values }) + const rows = (c: number, n: number, offset: number): FloatArray => ({ shape: [c, n], values: Array.from({ length: c * n }, (_, i) => offset + i) }) + const arrays: Record = { requested_times_s: vector(protocol.times_s), requested_voltage_V: vector(protocol.voltage_V), + requested_generation_scale: vector(protocol.generation_scale), accepted_times_s: vector(times), nodes_m: vector(x), + ion_nodes_m: vector(xi), ion_node_indices: vector([1, 2]), ion_cell_measures_m: vector([1e-8, 1e-8]), + potential_V: rows(count, 4, 1), electron_density_m3: rows(count, 4, 10), hole_density_m3: rows(count, 4, 20), + positive_ion_density_m3: rows(count, 2, 30), negative_ion_density_m3: rows(count, 2, 40), + positive_ion_inventory_m2: vector(times.map(() => 60)), negative_ion_inventory_m2: vector(times.map(() => 80)), + positive_ion_cell_inventory_m2: rows(count, 2, 1), negative_ion_cell_inventory_m2: rows(count, 2, 2), state_coordinates: rows(count, 16, 0) } + for (const [i, kind] of ['carrier_conduction', 'ion_conduction', 'conduction', 'displacement', 'total'].entries()) arrays[kind + '_current_density_A_m2'] = rows(steps, 5, -20 + i) + for (const kind of ['conduction', 'displacement', 'total']) arrays['terminal_' + kind + '_current_density_A_m2'] = rows(steps, 2, -10) + const attempts = Array.from({ length: steps + (failed && count ? 1 : 0) }, (_, i) => ({ start_s: protocol.times_s[i], end_s: protocol.times_s[i + 1], accepted: i < steps, + termination: i < steps ? 'converged' : 'budget_exhausted' })) + return { state: failed ? 'failed' : 'succeeded', arrays, storedArrays: {}, units: {}, species: ['positive', 'negative'], attempts, + summary: { physical_certificate_status: 'not_evaluated', reason: failed ? 'budget_exhausted' : null }, + worker: { registered_device_id: 'research_1d_shared', scientific_qualification: false }, + diagnosticsJson: '{"failed_nonfinite":{"$float":"NaN"}}', initialJson: '{}', originalJson: '{}', manifestJson: '{}' } +} + +export function ionicNpy(array: FloatArray, integer = false, endian: '<' | '>' = '<'): Uint8Array { + const shape = array.shape.join(', ') + (array.shape.length === 1 ? ',' : '') + const header = `{'descr': '${endian}${integer ? 'i' : 'f'}8', 'fortran_order': False, 'shape': (${shape}), }` + const pad = 64 - (10 + header.length + 1) % 64, bytes = new Uint8Array(10 + header.length + pad + 1 + array.values.length * 8) + bytes.set([147, 78, 85, 77, 80, 89, 1, 0]); const view = new DataView(bytes.buffer) + view.setUint16(8, header.length + pad + 1, true); bytes.set(new TextEncoder().encode(header + ' '.repeat(pad) + '\n'), 10) + array.values.forEach((v, i) => integer ? view.setBigInt64(bytes.length - array.values.length * 8 + i * 8, BigInt(v), endian === '<') + : view.setFloat64(bytes.length - array.values.length * 8 + i * 8, v, endian === '<')) + return bytes +} diff --git a/web/src/test-helpers/schema-fixture.d.mts b/web/src/test-helpers/schema-fixture.d.mts new file mode 100644 index 00000000..cdeb61ea --- /dev/null +++ b/web/src/test-helpers/schema-fixture.d.mts @@ -0,0 +1,2 @@ +export function configurationSchemaBytes(): ArrayBuffer; +export const webcrypto: { readonly subtle: Pick }; diff --git a/web/src/test-helpers/schema-fixture.mjs b/web/src/test-helpers/schema-fixture.mjs new file mode 100644 index 00000000..1d180398 --- /dev/null +++ b/web/src/test-helpers/schema-fixture.mjs @@ -0,0 +1,24 @@ +import { execFileSync } from 'node:child_process'; +import { webcrypto } from 'node:crypto'; +import { fileURLToPath } from 'node:url'; + +export { webcrypto }; + +/** Exact bytes from the real Python DTO exporter; Node-only test fixture. */ +export function configurationSchemaBytes() { + // Real Python DTO metadata supplies the bytes; JSON.stringify in JavaScript + // cannot reproduce Python's numeric JSON spelling in general. + const root = fileURLToPath(new URL('../../../', import.meta.url)); + const code = [ + 'from pathlib import Path', + 'import sys', + 'import solarlab.config.schema as schema', + 'assert Path(schema.__file__).resolve() == Path("src/solarlab/config/schema.py").resolve()', + 'sys.stdout.buffer.write(schema.configuration_schema_representation()[0])', + ].join('\n'); + const data = execFileSync(process.env.SOLARLAB_PYTHON || 'python3', ['-B', '-c', code], { + cwd: root, env: { ...process.env, PYTHONPATH: `${root}/src` }, + timeout: 10000, maxBuffer: 4 * 1024 ** 2, + }); + return Uint8Array.from(data).buffer; +} diff --git a/web/src/test-helpers/steady-2d-fixture.d.mts b/web/src/test-helpers/steady-2d-fixture.d.mts new file mode 100644 index 00000000..88f24dca --- /dev/null +++ b/web/src/test-helpers/steady-2d-fixture.d.mts @@ -0,0 +1,8 @@ +export interface SavedResponse { status: number; headers: Record; base64: string; sha256: string } +export interface SavedFixture { + schema: string + targets: { storeId: string; runId: string; attemptId: string; accepted: number; state: 'succeeded' | 'failed' }[] + responses: Record +} +export function savedSteady2DFixture(): SavedFixture +export function fixtureFetch(fixture: SavedFixture, methods?: string[]): typeof fetch diff --git a/web/src/test-helpers/steady-2d-fixture.mjs b/web/src/test-helpers/steady-2d-fixture.mjs new file mode 100644 index 00000000..d668c612 --- /dev/null +++ b/web/src/test-helpers/steady-2d-fixture.mjs @@ -0,0 +1,24 @@ +import { readFileSync } from 'node:fs' +import { gunzipSync } from 'node:zlib' +import { createHash } from 'node:crypto' +import { resolve } from 'node:path' + +/** Exact captured HTTP bytes from the accepted original attempts; no numerical test work. */ +export function savedSteady2DFixture() { + const packed = readFileSync(resolve('src/test-helpers/steady-2d-records.json.gz')) + const fixture = JSON.parse(gunzipSync(packed).toString('utf8')) + for (const record of Object.values(fixture.responses)) { + if (createHash('sha256').update(Buffer.from(record.base64, 'base64')).digest('hex') !== record.sha256) throw Error('Fixture content hash differs') + } + return fixture +} +export function fixtureFetch(fixture, methods = []) { + return async (input, init = {}) => { + methods.push(init.method ?? 'GET') + if ((init.method ?? 'GET') !== 'GET') throw Error('Saved fixture never submits a numerical job') + const url = new URL(input), path = url.pathname.replace(/^\/steady-service/, '') + url.search + const record = fixture.responses[path] + if (!record) throw Error('Missing captured GET ' + path) + return new Response(Uint8Array.from(Buffer.from(record.base64, 'base64')), { status: record.status, headers: record.headers }) + } +} diff --git a/web/src/test-helpers/steady-2d-records.json.gz b/web/src/test-helpers/steady-2d-records.json.gz new file mode 100644 index 00000000..15c28724 Binary files /dev/null and b/web/src/test-helpers/steady-2d-records.json.gz differ diff --git a/web/src/test-helpers/transient-fixture.ts b/web/src/test-helpers/transient-fixture.ts new file mode 100644 index 00000000..9d6e4dbb --- /dev/null +++ b/web/src/test-helpers/transient-fixture.ts @@ -0,0 +1,118 @@ +/** Synthetic wire/display fixtures only; actual numerical evidence is separate. */ +import type { TransientCatalog, TransientProtocol, TransientResult, TransientArrayName } from '../transient-client' +import { TRANSIENT_SCOPE, TRANSIENT_UNITS } from '../transient-client' +import type { FloatArray } from '../steady-jv-client' + +export const registry = 'a'.repeat(64), schema = 'b'.repeat(64), prepared = 'c'.repeat(64) +export const protocol: TransientProtocol = { times_s: [0, 1e-7, 2e-7], voltage_V: [0, 0, 0], generation_scale: [1, 1.0025, 1.01], + intervals_per_layer: 12, controls: { max_steps: 32, wall_s: 30, + newton_budget: { max_iterations: 50, max_residual_evaluations: 1000, max_jacobian_evaluations: 50, max_backtracks: 24 } } } +export const catalog: TransientCatalog = { registry, schema, ceiling: { wall_seconds: 60, rss_bytes: 1610612736, output_bytes: 100663296 }, + routes: [{ id: 'transient_1d', version: 1, devices: [{ id: 'research_1d', preparedSha256: prepared }], bounds: { + samples: { min: 2, max: 33 }, times_s: { min: 0, max: 1 }, voltage_V: { min: -2, max: 2 }, generation_scale: { min: 0, max: 10 }, + intervals_per_layer: { min: 2, max: 256 }, max_steps: { min: 1, max: 32 }, wall_s: { min: 0, max: 30 }, + max_iterations: { min: 1, max: 50 }, max_residual_evaluations: { min: 1, max: 1000 }, + max_jacobian_evaluations: { min: 1, max: 50 }, max_backtracks: { min: 0, max: 24 }, + } }] } +const numeric = (min: number, max: number) => ({ type: 'number', minimum: min, maximum: max }) +export function catalogDocument() { + const keys = ['device_id', 'times_s', 'voltage_V', 'generation_scale', 'intervals_per_layer', 'controls'] + const array = (min: number, max: number) => ({ type: 'array', minItems: 2, maxItems: 33, items: numeric(min, max) }) + return { schema: 'solarlab.execution-catalog.v1', job_schema_sha256: schema, + resource_ceiling: { ...catalog.ceiling, accepted_steps: null, calls: null }, bindings: [{ + experiment_id: 'transient_1d', version: 1, engine: 'solarlab', scope: TRANSIENT_SCOPE, driver: 'transient_1d', + input_schema: { additionalProperties: false, required: keys, properties: { + device_id: { type: 'string' }, times_s: array(0, 1), voltage_V: array(-2, 2), generation_scale: array(0, 10), + intervals_per_layer: numeric(2, 256), controls: { $ref: '#/$defs/_TimeControls' }, + }, $defs: { _TimeControls: { additionalProperties: false, properties: { + max_steps: numeric(1, 32), wall_s: { type: 'number', exclusiveMinimum: 0, maximum: 30 }, newton_budget: { $ref: '#/$defs/_NewtonBudgetInput' }, + } }, _NewtonBudgetInput: { additionalProperties: false, properties: { + max_iterations: numeric(1, 50), max_residual_evaluations: numeric(1, 1000), max_jacobian_evaluations: numeric(1, 50), max_backtracks: numeric(0, 24), + } } } }, preparation_context: { devices: [{ device_id: 'research_1d', prepared_sha256: prepared }] }, + }] } +} + +export function resultFixture(failed = false, initialOnly = false): TransientResult { + const count = initialOnly ? 1 : failed ? 2 : 3, requested = failed ? 4 : 3, n = 4 + const times = [0, 1e-7, 2e-7, 3e-7].slice(0, requested) + const vector = (values: number[]): FloatArray => ({ shape: [values.length], values }) + const arrays = { + nodes_m: vector([0, 1e-7, 2e-7, 3e-7]), accepted_times_s: vector(times.slice(0, count)), requested_times_s: vector(times), + requested_voltage_V: vector(times.map(() => 0)), requested_generation_scale: vector(failed ? [1, 1, 1.5, 1] : protocol.generation_scale), + potential_V: { shape: [count, n], values: Array.from({ length: count * n }, (_, i) => .2 + i * .01) }, + electron_density_m3: { shape: [count, n], values: Array.from({ length: count * n }, (_, i) => 1e16 + i * 1e14) }, + hole_density_m3: { shape: [count, n], values: Array.from({ length: count * n }, (_, i) => 2e16 + i * 1e14) }, + } as Record + for (const name of Object.keys(TRANSIENT_UNITS) as TransientArrayName[]) if (name.includes('current_density')) { + const width = name.startsWith('terminal_') ? 2 : n - 1 + arrays[name] = { shape: [count - 1, width], values: Array.from({ length: (count - 1) * width }, (_, i) => -40 - i) } + } + const attempts = Array.from({ length: count - 1 + (failed ? 1 : 0) }, (_, i) => ({ accepted: i < count - 1, + start_s: times[i], end_s: times[i + 1], termination: i < count - 1 ? 'converged' : 'budget_exhausted', error: null })) + const summary = { schema: 'solarlab.transient-result.v1', engine: 'solarlab', physical_certificate_status: 'not_evaluated', + compiled_identity: 'd'.repeat(64), outcome: failed ? 'partial' : 'completed', reason: failed ? 'budget_exhausted' : null, + requested_count: requested, accepted_count: count, attempt_count: attempts.length } + return { state: failed ? 'failed' : 'succeeded', arrays, summary, attempts, originalJson: '{"synthetic_fixture":true}', manifestJson: '', + diagnosticsJson: JSON.stringify({ attempts: { $tuple: attempts }, raw_nonfinite: { $float: { encoded: 'not interpreted as zero' } } }), + worker: { schema: 'solarlab.transient.worker-result.v1', engine: 'solarlab', scientific_qualification: false, + prepared_sha256: prepared, registered_device_id: 'research_1d', execution_catalog_sha256: registry, + H_input: '1'.repeat(64), H_physics: '2'.repeat(64), H_execution: '3'.repeat(64), reason: summary.reason }, + } +} + +const jsonBytes = (value: unknown) => new TextEncoder().encode(JSON.stringify(value)) +const hex = (value: Uint8Array) => Array.from(value, n => n.toString(16).padStart(2, '0')).join('') +const digest = async (bytes: Uint8Array) => hex(new Uint8Array(await crypto.subtle.digest('SHA-256', bytes))) +export function npy(array: FloatArray): Uint8Array { + const header = `{'descr': ' view.setFloat64(10 + header.length + i * 8, value, true)); return bytes +} + +/** Real SHA-256/NPY envelopes for testing the unchanged StoredRunClient, without a solver. */ +export async function storedFixture(data = resultFixture()) { + const artifactMap = new Map; bytes: Uint8Array }>() + const references: { artifact_id: string; manifest_sha256: string }[] = [] + const payloads: Record = {}, identity = { H_input: data.worker.H_input, H_physics: data.worker.H_physics, H_execution: data.worker.H_execution } + const role = (value: unknown) => ({ content_hex: hex(jsonBytes(value)) }) + const manifest = jsonBytes({ schema: 'solarlab.execution-manifest.v1', execution_identity: { payload: { ...identity, engine: { name: 'solarlab' } } }, + content_roles: { protocol: role({ times_s: data.arrays.requested_times_s.values, voltage_V: data.arrays.requested_voltage_V.values, + generation_scale: data.arrays.requested_generation_scale.values }), preparation: role({ prepared_sha256: prepared }) } }) + const manifestSha = await digest(manifest) + const worker = { ...data.worker, manifest_sha256: manifestSha, transient_result: data.summary, payloads } + async function add(name: string, bytes: Uint8Array, format: string, metadata: Record) { + const sha256 = await digest(bytes), ref = { artifact_id: name, manifest_sha256: 'e'.repeat(64) } + references.push(ref) + artifactMap.set(name, { bytes, record: { ...ref, name, run_id: 'run', attempt_id: 'attempt', generation: 1, + phase: 'committed', sha256, size_bytes: bytes.length, format, metadata } }) + if (name !== 'execution_manifest') payloads[name] = { sha256, format, metadata } + } + for (const [name, array] of Object.entries(data.arrays)) await add(name, npy(array), 'npy', { + schema: data.summary.schema, compiled_identity: data.summary.compiled_identity, unit: TRANSIENT_UNITS[name as TransientArrayName], + dtype: ' new Response(JSON.stringify(value), { headers: { 'Content-Type': 'application/json', 'X-RunStore-ID': 'store' } }) + function fetchStored(input: URL | string) { + const path = new URL(input).pathname + if (path.endsWith('/runs/run')) return Promise.resolve(response(run)) + if (path.endsWith('/attempts/attempt')) return Promise.resolve(response(attempt)) + const parts = path.split('/'), content = parts.at(-1) === 'content', name = parts.at(content ? -2 : -1)! + const artifact = artifactMap.get(name) + if (!artifact) throw Error('Unexpected fixture request: ' + path) + return Promise.resolve(content ? new Response(artifact.bytes, { headers: { 'Content-Type': 'application/octet-stream', + 'X-RunStore-ID': 'store', ETag: `"${artifact.record.sha256}"` } }) : response(artifact.record)) + } + return { data, run, attempt, artifactMap, fetchStored } +} diff --git a/web/src/transient-client.live.test.ts b/web/src/transient-client.live.test.ts new file mode 100644 index 00000000..bbea3f02 --- /dev/null +++ b/web/src/transient-client.live.test.ts @@ -0,0 +1,53 @@ +// @vitest-environment node +/** Opt-in readback of existing attempts only: this test never submits a job. */ +import { expect, it, vi } from 'vitest' +import { TransientClient } from './transient-client' +import { webcrypto } from './test-helpers/schema-fixture.mjs' + +const env = (globalThis as unknown as { process: { env: Record } }).process.env +const targets = JSON.parse(env.SOLARLAB_TRANSIENT_READBACK_TARGETS ?? '[]') as { + storeId: string; runId: string; attemptId: string; state: 'succeeded' | 'failed' +}[] + +it.skipIf(!env.SOLARLAB_TRANSIENT_UI_ENDPOINT || !targets.length)('reads original completed/partial attempts through real HTTP and acknowledges terminal SSE without POST', async () => { + vi.stubGlobal('crypto', webcrypto) + const original = globalThis.fetch, methods: string[] = [] + vi.stubGlobal('fetch', (input: RequestInfo | URL, init?: RequestInit) => { methods.push(init?.method ?? 'GET'); return original(input, init) }) + try { + const client = new TransientClient(env.SOLARLAB_TRANSIENT_UI_ENDPOINT!), observed = [] + for (const target of targets) { + const job = client.open(target.storeId, target.runId, target.attemptId), result = await client.readResult(job) + expect(result?.state).toBe(target.state) + expect(Object.keys(result!.arrays)).toHaveLength(14) + expect(result!.arrays.potential_V.shape).toEqual([target.state === 'failed' ? 2 : 3, 37]) + expect(result!.summary.physical_certificate_status).toBe('not_evaluated') + if (target.state === 'failed') { + expect(result!.arrays.accepted_times_s.values).toEqual([0, 1e-7]) + expect(result!.arrays.requested_times_s.values).toEqual([0, 1e-7, 2e-7, 3e-7]) + expect(result!.attempts.map(a => a.accepted)).toEqual([true, false]) + } + const events = (await job.reader.getEvents(job.target.runId)).value.events + const terminals = events.filter(e => e.kind === 'terminal') + expect(terminals).toHaveLength(1) + const terminal = terminals[0] + const end = await job.reader.subscribe(job.target, () => { throw Error('Acknowledged event replayed') }, { + endpoint: job.reader.endpoint, storeId: target.storeId, ...job.target, sequence: String(terminal.sequence), + }).done + expect(end.reason).toBe('terminal_acknowledged') + const arrays = Object.fromEntries(await Promise.all(Object.entries(result!.arrays).map(async ([name, array]) => { + const bytes = new ArrayBuffer(array.values.length * 8), view = new DataView(bytes) + array.values.forEach((v, i) => view.setFloat64(i * 8, v, true)) + const hash = await crypto.subtle.digest('SHA-256', bytes) + return [name, { shape: array.shape, little_endian_word_sha256: Array.from(new Uint8Array(hash), n => n.toString(16).padStart(2, '0')).join('') }] + }))) + observed.push({ target, summary: result!.summary, worker: result!.worker, arrays, + terminal_count: terminals.length, terminal_sequence: String(terminal.sequence), reconnect: end.reason }) + } + expect(methods.every(method => method === 'GET')).toBe(true) + if (env.SOLARLAB_TRANSIENT_READBACK_EVIDENCE) { + const module: string = 'node:fs/promises' + const fs = await import(/* @vite-ignore */ module) as { writeFile(path: string, text: string): Promise } + await fs.writeFile(env.SOLARLAB_TRANSIENT_READBACK_EVIDENCE, JSON.stringify({ new_jobs: 0, methods, observed }, null, 2) + '\n') + } + } finally { vi.unstubAllGlobals() } +}, 60000) diff --git a/web/src/transient-client.test.ts b/web/src/transient-client.test.ts new file mode 100644 index 00000000..f74ce2df --- /dev/null +++ b/web/src/transient-client.test.ts @@ -0,0 +1,111 @@ +// @vitest-environment node +import { beforeEach, afterEach, expect, it, vi } from 'vitest' +import { TransientClient, parseTransientSamples } from './transient-client' +import { catalog, catalogDocument, protocol, registry, schema, resultFixture, storedFixture, npy } from './test-helpers/transient-fixture' +import { readSteadyArray } from './steady-jv-client' +import type { ArtifactRecord } from './run-client' +import { webcrypto } from './test-helpers/schema-fixture.mjs' + +const endpoint = 'http://localhost:5173/steady-service/' +const response = (value: unknown, headers = {}, status = 200) => new Response(JSON.stringify(value), { + status, headers: { 'Content-Type': 'application/json', ...headers }, +}) +const advertised = (data = catalogDocument()) => response(data, { 'X-Solarlab-Registry': registry, 'X-Solarlab-Job-Schema': schema, ETag: `"${registry}"` }) +let fetcher: ReturnType +beforeEach(() => { vi.stubGlobal('crypto', webcrypto); fetcher = vi.fn(); vi.stubGlobal('fetch', fetcher) }) +afterEach(() => { vi.unstubAllGlobals() }) + +it('discovers only the explicit transient scope with the returned schema bounds', async () => { + const data = catalogDocument(), original = data.bindings[0] + data.bindings = [{ ...original, engine: 'legacy' }, { ...original, scope: 'ionic' }, original] + fetcher.mockResolvedValueOnce(advertised(data)) + const client = new TransientClient(endpoint), found = await client.discover() + expect(found.routes).toEqual(catalog.routes) + fetcher.mockResolvedValueOnce(response(data)) + await expect(client.discover()).rejects.toThrow('identity') + fetcher.mockResolvedValueOnce(advertised({ ...data, bindings: [{ ...original, input_schema: { ...original.input_schema, additionalProperties: true } }] })) + expect((await client.discover()).routes).toEqual([]) +}) + +it('posts explicit samples/budgets and registry headers without using response URLs as endpoints', async () => { + const client = new TransientClient(endpoint) + fetcher.mockResolvedValueOnce(response({ status: 'accepted', run_id: 'run', attempt_id: 'attempt', store_id: 'store', + execution_catalog_sha256: registry, job_schema_sha256: schema, events_url: 'https://ignored.invalid' }, {}, 202)) + const input = structuredClone(protocol), job = await client.submit(catalog, catalog.routes[0], 'research_1d', input, 40, 'run') + input.times_s[1] = .9 + const [url, options] = fetcher.mock.calls[0] + expect(String(url)).toBe(endpoint + 'jobs') + expect(options.headers).toMatchObject({ 'X-Solarlab-Registry': registry, 'X-Solarlab-Job-Schema': schema }) + expect(JSON.parse(options.body)).toEqual({ schema_version: 'solarlab.job-submission.v1', run_id: 'run', experiment_id: 'transient_1d', + version: 1, engine: 'solarlab', input: { device_id: 'research_1d', ...protocol }, + limits: { ...catalog.ceiling, wall_seconds: 40, accepted_steps: null, calls: null } }) + expect(job.submitted?.input.times_s).toEqual(protocol.times_s) + expect(job.reader.endpoint).toBe(endpoint) +}) + +it('rejects malformed columns, nonfinite samples, time reversal and out-of-bounds inputs before POST', async () => { + expect(parseTransientSamples('0, 0, 1\n1e-7, 0.01, 1.5')).toEqual({ times_s: [0, 1e-7], voltage_V: [0, .01], generation_scale: [1, 1.5] }) + for (const text of ['0,0,1\n1,,0,1', '0,0,1\n1,0,', '0,0,1\nInfinity,0,1']) expect(() => parseTransientSamples(text)).toThrow() + const client = new TransientClient(endpoint) + for (const changes of [{ times_s: [0, 0, 1] }, { times_s: [0, 1, 2] }, { voltage_V: [0, 3, 0] }, + { generation_scale: [1, -1, 1] }, { intervals_per_layer: 257 }, { voltage_V: [0, 0] }, + { controls: { ...protocol.controls, max_steps: 1 } }, + { controls: { ...protocol.controls, newton_budget: { ...protocol.controls.newton_budget, max_iterations: 51 } } }]) + await expect(client.submit(catalog, catalog.routes[0], 'research_1d', { ...protocol, ...changes }, 60)).rejects.toThrow() + await expect(client.submit(catalog, catalog.routes[0], '/tmp/device.json', protocol, 60)).rejects.toThrow('installed device') + await expect(client.submit(catalog, catalog.routes[0], 'research_1d', protocol, 61)).rejects.toThrow('ceiling') + expect(fetcher).not.toHaveBeenCalled() +}) + +it.each([[false, false], [true, false], [true, true]])('reads completed/failed/initial-only history with verified actual NPY envelopes (%s, %s)', async (failed, empty) => { + const fixture = await storedFixture(resultFixture(failed, empty)); fetcher.mockImplementation(fixture.fetchStored) + const client = new TransientClient(endpoint), result = await client.readResult(client.open('store', 'run', 'attempt')) + expect(result?.arrays).toEqual(fixture.data.arrays) + expect(result?.state).toBe(failed ? 'failed' : 'succeeded') + expect(result?.attempts).toEqual(fixture.data.attempts) + expect(result?.diagnosticsJson).toContain('$float') + expect(fetcher.mock.calls.every(([, options]) => options?.method !== 'POST')).toBe(true) +}) + +it('rejects corruption, wrong units, wrong accepted prefixes and terminal/outcome contradictions', async () => { + const client = new TransientClient(endpoint), job = client.open('store', 'run', 'attempt') + const corrupted = await storedFixture(); corrupted.artifactMap.get('potential_V')!.bytes[20] ^= 1 + fetcher.mockImplementation(corrupted.fetchStored); await expect(client.readResult(job)).rejects.toThrow('integrity') + const units = await storedFixture(); (units.artifactMap.get('potential_V')!.record.metadata as Record).unit = 'A' + fetcher.mockImplementation(units.fetchStored); await expect(client.readResult(job)).rejects.toThrow('unit') + const data = resultFixture(true); data.arrays.accepted_times_s.values[1] = 2e-7 + const prefix = await storedFixture(data); fetcher.mockImplementation(prefix.fetchStored) + await expect(client.readResult(job)).rejects.toThrow('prefix') + const contradiction = resultFixture(true); contradiction.summary.outcome = 'completed' + fetcher.mockImplementation((await storedFixture(contradiction)).fetchStored) + await expect(client.readResult(job)).rejects.toThrow('outcome') +}) + +it('does not invent a history for cancellation or a worker failure before publication', async () => { + const client = new TransientClient(endpoint), fixture = await storedFixture() + for (const state of ['cancelled', 'failed']) { + const attempt = { ...fixture.attempt, state, result: { reason: 'stopped' }, terminal: { state, artifacts: [], result: { reason: 'stopped' } } } + fetcher.mockImplementation((url: URL) => String(url).includes('/attempts/') + ? Promise.resolve(response(attempt, { 'X-RunStore-ID': 'store' })) : fixture.fetchStored(url)) + expect(await client.readResult(client.open('store', 'run', 'attempt'))).toBeUndefined() + } +}) + +it('fences cancellation to the selected attempt and preserves the observed generation', async () => { + const client = new TransientClient(endpoint), job = client.open('store', 'run', 'attempt'), fixture = await storedFixture() + const run = { ...fixture.run, state: 'running', generation: 7 } + fetcher.mockResolvedValueOnce(response(run, { 'X-RunStore-ID': 'store' })) + .mockResolvedValueOnce(response({ run_id: 'run', attempt_id: 'attempt', state: 'cancelled' })) + await client.cancel(job) + expect(String(fetcher.mock.calls[1][0])).toBe(endpoint + 'jobs/run/attempts/attempt/cancel') + expect(JSON.parse(fetcher.mock.calls[1][1].body).expected_generation).toBe(7) + fetcher.mockResolvedValueOnce(response({ ...run, current_attempt_id: 'later' }, { 'X-RunStore-ID': 'store' })) + await expect(client.cancel(job)).rejects.toThrow('stale') + expect(fetcher).toHaveBeenCalledTimes(3) +}) + +it('keeps the steady decoder strict while explicitly allowing empty transient current rows', () => { + const array = { shape: [0, 3], values: [] }, record = { format: 'npy', metadata: { shape: array.shape, order: 'C', dtype: ' readSteadyArray(npy(array), record)).toThrow('shape') + expect(readSteadyArray(npy(array), record, true)).toEqual(array) +}) diff --git a/web/src/transient-client.ts b/web/src/transient-client.ts new file mode 100644 index 00000000..8e383cff --- /dev/null +++ b/web/src/transient-client.ts @@ -0,0 +1,268 @@ +/** The installed ion-free transient route and its committed, possibly partial history. */ +import { StoredRunClient, RunClientError } from './run-client' +import type { AttemptIdentity, StoredObject } from './run-client' +import { readSteadyArray, requestJobService } from './steady-jv-client' +import type { FloatArray } from './steady-jv-client' + +export const TRANSIENT_SCOPE = 'classical_ion_free_1d_transient' +export const TRANSIENT_UNITS = { + requested_times_s: 's', requested_voltage_V: 'V', requested_generation_scale: '1', + accepted_times_s: 's', nodes_m: 'm', potential_V: 'V', electron_density_m3: 'm^-3', hole_density_m3: 'm^-3', + conduction_current_density_A_m2: 'A/m^2', displacement_current_density_A_m2: 'A/m^2', total_current_density_A_m2: 'A/m^2', + terminal_conduction_current_density_A_m2: 'A/m^2', terminal_displacement_current_density_A_m2: 'A/m^2', + terminal_total_current_density_A_m2: 'A/m^2', +} as const +export type TransientArrayName = keyof typeof TRANSIENT_UNITS +export interface TransientProtocol { + times_s: number[]; voltage_V: number[]; generation_scale: number[]; intervals_per_layer: number + controls: { max_steps: number; wall_s: number; newton_budget: { + max_iterations: number; max_residual_evaluations: number; max_jacobian_evaluations: number; max_backtracks: number + } } +} +export interface Bound { min: number; max: number } +export interface TransientRoute { + id: string; version: number; devices: readonly { id: string; preparedSha256: string }[] + bounds: Record<'samples' | 'times_s' | 'voltage_V' | 'generation_scale' | 'intervals_per_layer' + | 'max_steps' | 'wall_s' | 'max_iterations' | 'max_residual_evaluations' | 'max_jacobian_evaluations' | 'max_backtracks', Bound> +} +export interface TransientCatalog { + registry: string; schema: string; routes: readonly TransientRoute[] + ceiling: { wall_seconds: number; rss_bytes: number; output_bytes: number } +} +export interface TransientJob { + reader: StoredRunClient; target: Readonly + submitted?: { catalog: TransientCatalog; device: TransientRoute['devices'][number]; input: TransientProtocol } +} +export interface TransientResult { + state: 'succeeded' | 'failed'; arrays: Record + summary: StoredObject; worker: StoredObject; attempts: StoredObject[] + diagnosticsJson: string; originalJson: string; manifestJson: string +} + +function check(value: unknown, message: string): asserts value { + if (!value) throw new RunClientError('protocol', message) +} +function object(value: unknown): StoredObject { + check(value !== null && typeof value === 'object' && !Array.isArray(value), 'Expected a transient record') + return value as StoredObject +} +function id(value: unknown): string { + check(typeof value === 'string' && /^[A-Za-z0-9_][A-Za-z0-9_.:-]{0,127}$/.test(value), 'Invalid registered or stored identifier') + return value +} +function sha(value: unknown): string { + check(typeof value === 'string' && /^[a-f0-9]{64}$/.test(value), 'Missing source identity digest') + return value +} +function numeric(value: unknown): number { + check(typeof value === 'number' && Number.isFinite(value), 'Expected a finite service bound') + return value +} +function same(a: unknown, b: unknown): boolean { + if (a === b) return true + if (!a || !b || typeof a !== 'object' || typeof b !== 'object' || Array.isArray(a) !== Array.isArray(b)) return false + const x = a as StoredObject, y = b as StoredObject, keys = Object.keys(x) + return keys.length === Object.keys(y).length && keys.every(k => Object.hasOwn(y, k) && same(x[k], y[k])) +} +function within(value: number, bound: Bound, name: string, integer = false) { + check(Number.isFinite(value) && value >= bound.min && value <= bound.max && (!integer || Number.isSafeInteger(value)), + `${name} must be within ${bound.min}–${bound.max}${integer ? ' (integer)' : ''}`) +} + +export function parseTransientSamples(text: string): Pick { + const rows = text.trim().split(/\r?\n/).map(line => line.trim()).filter(Boolean) + check(rows.length >= 2 && rows.length <= 33, 'Enter 2–33 rows: time (s), voltage (V), generation scale') + const values = rows.map((line, i) => { + const tokens = line.includes(',') ? line.split(',').map(value => value.trim()) : line.split(/\s+/) + check(tokens.length === 3 && tokens.every(token => token.length > 0 && Number.isFinite(Number(token))), `Invalid sample row ${i + 1}`) + return tokens.map(Number) + }) + return { times_s: values.map(row => row[0]), voltage_V: values.map(row => row[1]), generation_scale: values.map(row => row[2]) } +} + +export class TransientClient { + readonly endpoint: string + constructor(endpoint: string | URL) { + const url = new URL(endpoint) + check(['http:', 'https:'].includes(url.protocol) && !url.username && !url.password && !url.search && !url.hash, + 'Use an explicit HTTP service endpoint') + this.endpoint = url.href.replace(/\/$/, '') + '/' + } + + async discover(signal?: AbortSignal): Promise { + const { value, response } = await requestJobService(this.endpoint, 'experiments', { signal }) + const registry = sha(response.headers.get('X-Solarlab-Registry')), schema = sha(response.headers.get('X-Solarlab-Job-Schema')) + check(value.schema === 'solarlab.execution-catalog.v1' && value.job_schema_sha256 === schema + && response.headers.get('etag') === `"${registry}"` && Array.isArray(value.bindings), 'Inconsistent execution catalog') + const cap = object(value.resource_ceiling) + check(cap.accepted_steps === null && cap.calls === null, 'Whole-job transient counter caps are unsupported') + const ceiling = { wall_seconds: numeric(cap.wall_seconds), rss_bytes: numeric(cap.rss_bytes), output_bytes: numeric(cap.output_bytes) } + check(Object.values(ceiling).every(n => n > 0), 'Invalid service resource ceiling') + const routes: TransientRoute[] = [] + for (const raw of value.bindings) { + const entry = object(raw) + if (entry.engine !== 'solarlab' || entry.scope !== TRANSIENT_SCOPE || entry.driver !== 'transient_1d') continue + const schema = object(entry.input_schema), properties = object(schema.properties) + const keys = ['device_id', 'times_s', 'voltage_V', 'generation_scale', 'intervals_per_layer', 'controls'] + if (schema.additionalProperties !== false || !same([...Object.keys(properties)].sort(), [...keys].sort()) + || !Array.isArray(schema.required) || !same([...schema.required].sort(), [...keys].sort())) continue + const definition = (value: unknown) => { + const data = object(value) + if (data.$ref === undefined) return data + check(typeof data.$ref === 'string' && /^#\/\$defs\/[A-Za-z0-9_]+$/.test(data.$ref), 'Unsupported installed control schema') + return object(object(schema.$defs)[data.$ref.slice('#/$defs/'.length)]) + } + const controls = definition(properties.controls), budget = definition(object(controls.properties).newton_budget) + check(controls.additionalProperties === false && budget.additionalProperties === false, 'Unbounded installed controls') + const bound = (value: unknown): Bound => { + const data = object(value), min = numeric(data.minimum ?? data.exclusiveMinimum), max = numeric(data.maximum) + check(min <= max, 'Invalid installed bounds'); return { min, max } + } + const time = object(properties.times_s), installed = object(entry.preparation_context) + check(Array.isArray(installed.devices), 'Missing installed device list') + const devices = installed.devices.map(raw => { const d = object(raw); return { id: id(d.device_id), preparedSha256: sha(d.prepared_sha256) } }) + check(new Set(devices.map(d => d.id)).size === devices.length, 'Duplicate installed device IDs') + const c = object(controls.properties), b = object(budget.properties) + const bounds = { samples: { min: numeric(time.minItems), max: Math.min(33, numeric(time.maxItems)) }, + times_s: bound(time.items), voltage_V: bound(object(properties.voltage_V).items), + generation_scale: bound(object(properties.generation_scale).items), intervals_per_layer: bound(properties.intervals_per_layer), + max_steps: bound(c.max_steps), wall_s: bound(c.wall_s), max_iterations: bound(b.max_iterations), + max_residual_evaluations: bound(b.max_residual_evaluations), max_jacobian_evaluations: bound(b.max_jacobian_evaluations), + max_backtracks: bound(b.max_backtracks) } + check(bounds.samples.min >= 2 && bounds.samples.min <= bounds.samples.max, 'Unsupported transient sample count') + routes.push({ id: id(entry.experiment_id), version: numeric(entry.version), devices, bounds }) + } + return { registry, schema, routes, ceiling } + } + + async submit(catalog: TransientCatalog, route: TransientRoute, deviceId: string, input: TransientProtocol, + wallSeconds: number, runId = `transient-${crypto.randomUUID()}`): Promise { + check(catalog.routes.includes(route), 'Select an installed transient route') + const device = route.devices.find(d => d.id === deviceId); check(device, 'Select an installed device') + const b = route.bounds + within(input.times_s.length, b.samples, 'Sample count', true) + for (const name of ['times_s', 'voltage_V', 'generation_scale'] as const) { + check(input[name].length === input.times_s.length, 'Time, voltage and generation sample lengths must match') + for (const value of input[name]) within(value, b[name], name) + } + check(input.times_s.every((v, i) => !i || v > input.times_s[i - 1]), 'Time samples must be strictly increasing') + within(input.intervals_per_layer, b.intervals_per_layer, 'Intervals per layer', true) + within(input.controls.max_steps, b.max_steps, 'Step budget', true) + within(input.controls.wall_s, b.wall_s, 'Transient wall budget') + check(input.controls.wall_s > 0 && input.times_s.length - 1 <= input.controls.max_steps, 'Protocol exceeds its step or time budget') + for (const name of ['max_iterations', 'max_residual_evaluations', 'max_jacobian_evaluations', 'max_backtracks'] as const) + within(input.controls.newton_budget[name], b[name], name, true) + check(Number.isFinite(wallSeconds) && wallSeconds > 0 && wallSeconds <= catalog.ceiling.wall_seconds, 'Wall budget exceeds service ceiling') + const frozen: TransientProtocol = JSON.parse(JSON.stringify(input)) + const { value, response } = await requestJobService(this.endpoint, 'jobs', { method: 'POST', headers: { + 'Content-Type': 'application/json', 'X-Solarlab-Registry': catalog.registry, 'X-Solarlab-Job-Schema': catalog.schema, + }, body: JSON.stringify({ schema_version: 'solarlab.job-submission.v1', run_id: id(runId), experiment_id: route.id, + version: route.version, engine: 'solarlab', input: { device_id: deviceId, ...frozen }, + limits: { ...catalog.ceiling, wall_seconds: wallSeconds, accepted_steps: null, calls: null } }) }) + check(response.status === 202 && value.status === 'accepted' && value.run_id === runId + && value.execution_catalog_sha256 === catalog.registry && value.job_schema_sha256 === catalog.schema, + 'Transient acceptance identity mismatch') + return { ...this.open(id(value.store_id), runId, id(value.attempt_id)), submitted: { catalog, device, input: frozen } } + } + + /** Only reads the explicitly selected attempt; it cannot submit or replay a solve. */ + open(storeId: string, runId: string, attemptId: string): TransientJob { + return { reader: new StoredRunClient(this.endpoint, id(storeId)), target: Object.freeze({ runId: id(runId), attemptId: id(attemptId) }) } + } + + async cancel(job: TransientJob): Promise { + const run = (await job.reader.getRun(job.target.runId)).value + check(run.current_attempt_id === job.target.attemptId, 'The selected attempt is stale; cancellation refused') + check(run.state === 'queued' || run.state === 'running', 'The selected attempt is already terminal') + const { value } = await requestJobService(this.endpoint, `jobs/${encodeURIComponent(job.target.runId)}/attempts/${encodeURIComponent(job.target.attemptId)}/cancel`, { + method: 'POST', headers: { 'Content-Type': 'application/json' }, + body: `{"expected_generation":${run.generation.toString()},"reason":"User requested transient cancellation"}`, + }) + check(value.run_id === job.target.runId && value.attempt_id === job.target.attemptId, 'Cancellation identity mismatch') + } + + async readResult(job: TransientJob, signal?: AbortSignal): Promise { + const [snapshot, run] = await Promise.all([job.reader.getAttempt(job.target, signal), job.reader.getRun(job.target.runId, signal)]) + const attempt = snapshot.value + check(attempt.terminal, 'Attempt has no committed terminal result') + if (attempt.state === 'cancelled') { + check(attempt.terminal.artifacts.length === 0, 'Unexpected history attached to cancelled transient'); return undefined + } + check(attempt.state === 'succeeded' || attempt.state === 'failed', 'Unsupported terminal state') + if (!attempt.terminal.artifacts.length && attempt.state === 'failed') return undefined + const worker = object(attempt.result?.worker_result), identity = object(run.value.request.identity) + const metadata = object(run.value.request.input_metadata), execution = object(metadata.execution_manifest) + const transport = object(metadata.transport), registry = object(object(transport.documents).registry) + check(worker.schema === 'solarlab.transient.worker-result.v1' && worker.engine === 'solarlab' + && worker.scientific_qualification === false && worker.execution_catalog_sha256 === sha(registry.sha256), 'Not the bound transient worker result') + for (const key of ['H_input', 'H_physics', 'H_execution']) check(sha(worker[key]) === identity[key], 'Transient execution identity mismatch') + check(sha(worker.manifest_sha256) === execution.manifest_sha256 && worker.H_execution === execution.H_execution, 'Execution manifest identity mismatch') + if (job.submitted) check(worker.prepared_sha256 === job.submitted.device.preparedSha256 + && worker.execution_catalog_sha256 === job.submitted.catalog.registry, 'Result differs from the submitted device/catalog') + const expected = object(worker.payloads), summary = object(worker.transient_result) + check(summary.schema === 'solarlab.transient-result.v1' && summary.engine === 'solarlab' + && summary.physical_certificate_status === 'not_evaluated' && sha(summary.compiled_identity), 'Unsupported transient history') + const keys = [...Object.keys(TRANSIENT_UNITS), 'transient_diagnostics'] + check(same(Object.keys(expected).sort(), [...keys].sort()) && attempt.terminal.artifacts.length === keys.length + 1, + 'Missing or unexpected transient artifacts') + const arrays = {} as Record, names = new Set() + let diagnosticsJson = '', manifestJson = '' + for (const reference of attempt.terminal.artifacts) { + const artifact = await job.reader.getArtifact(job.target, reference, signal), record = artifact.record.value, name = String(record.name) + check(!names.has(name) && String(record.generation) === String(attempt.generation), 'Duplicate or foreign-generation artifact'); names.add(name) + if (name === 'execution_manifest') { + check(record.sha256 === worker.manifest_sha256, 'Execution manifest differs from stored identity') + manifestJson = new TextDecoder('utf-8', { fatal: true }).decode(artifact.bytes); continue + } + check(Object.hasOwn(expected, name), 'Unexpected transient payload') + const binding = object(expected[name]) + check(record.sha256 === sha(binding.sha256) && record.format === binding.format && same(record.metadata, binding.metadata) + && record.metadata.compiled_identity === summary.compiled_identity && record.metadata.schema === summary.schema, + 'Transient payload metadata or compiled identity mismatch') + if (name === 'transient_diagnostics') { + check(record.format === 'bytes' && record.metadata.role === 'raw_diagnostics', 'Unexpected diagnostic payload') + diagnosticsJson = new TextDecoder('utf-8', { fatal: true }).decode(artifact.bytes) + } else { + check(Object.hasOwn(TRANSIENT_UNITS, name), 'Unexpected transient array') + const key = name as TransientArrayName + check(record.metadata.unit === TRANSIENT_UNITS[key], 'Unexpected transient array unit') + arrays[key] = readSteadyArray(artifact.bytes, record, true) + } + } + check(names.size === 16 && manifestJson && diagnosticsJson && Object.keys(arrays).length === 14, 'Incomplete transient history') + const n = arrays.nodes_m.values.length, times = arrays.requested_times_s.values, accepted = arrays.accepted_times_s.values + check(n >= 3 && times.length >= 2 && accepted.length >= 1 && accepted.length <= times.length + && accepted.every((v, i) => v === times[i]) && times.every((v, i) => !i || v > times[i - 1]), 'Accepted history is not the requested time prefix') + check(arrays.nodes_m.values.every((v, i, a) => !i || v > a[i - 1]), 'Node coordinates are not increasing') + for (const [name, array] of Object.entries(arrays)) { + const shape = name === 'nodes_m' ? [n] : name.startsWith('requested_') ? [times.length] + : name === 'accepted_times_s' ? [accepted.length] : name.includes('current_density') + ? [accepted.length - 1, name.startsWith('terminal_') ? 2 : n - 1] : [accepted.length, n] + check(same(array.shape, shape), 'Transient array shape disagrees with the accepted history') + } + const manifest = object(JSON.parse(manifestJson)), bound = object(object(manifest.execution_identity).payload) + check(bound.H_input === worker.H_input && bound.H_physics === worker.H_physics && object(bound.engine).name === 'solarlab', 'Manifest execution binding differs') + const roles = object(manifest.content_roles) + const role = (name: string): StoredObject => { + const hex = object(roles[name]).content_hex + check(typeof hex === 'string' && hex.length % 2 === 0 && /^[a-f0-9]+$/.test(hex), 'Invalid manifest content role') + return object(JSON.parse(new TextDecoder('utf-8', { fatal: true }).decode(Uint8Array.from(hex.match(/../g)!, v => parseInt(v, 16))))) + } + const protocol = { times_s: times, voltage_V: arrays.requested_voltage_V.values, generation_scale: arrays.requested_generation_scale.values } + check(same(protocol, role('protocol')) && role('preparation').prepared_sha256 === worker.prepared_sha256, 'History differs from the manifest protocol/device') + if (job.submitted) for (const name of ['times_s', 'voltage_V', 'generation_scale'] as const) + check(same(protocol[name], job.submitted.input[name]), 'History differs from the submitted protocol') + const raw = object(JSON.parse(diagnosticsJson)), encoded = raw.attempts + const values = Array.isArray(encoded) ? encoded : object(encoded).$tuple + check(Array.isArray(values), 'Missing raw step attempts') + const attempts = values.map(object), complete = attempt.state === 'succeeded' + check(summary.outcome === (complete ? 'completed' : 'partial') && summary.reason === worker.reason + && summary.accepted_count === accepted.length && summary.requested_count === times.length && summary.attempt_count === attempts.length, + 'Terminal state differs from the preserved transient outcome') + check(complete ? accepted.length === times.length : accepted.length < times.length, 'Incorrect complete/partial history') + check(attempts.length === accepted.length - 1 + (complete ? 0 : 1) + && attempts.every((a, i) => a.accepted === (i < accepted.length - 1) && a.start_s === times[i] && a.end_s === times[i + 1]), + 'Diagnostics lost the first failed attempt or accepted prefix') + return { state: attempt.state, arrays, summary, worker, attempts, diagnosticsJson, manifestJson, originalJson: snapshot.json } + } +} diff --git a/perovskite-sim/frontend/src/types.ts b/web/src/types.ts similarity index 100% rename from perovskite-sim/frontend/src/types.ts rename to web/src/types.ts diff --git a/perovskite-sim/frontend/src/ui-helpers.ts b/web/src/ui-helpers.ts similarity index 100% rename from perovskite-sim/frontend/src/ui-helpers.ts rename to web/src/ui-helpers.ts diff --git a/perovskite-sim/frontend/src/workstation/console.ts b/web/src/workstation/console.ts similarity index 100% rename from perovskite-sim/frontend/src/workstation/console.ts rename to web/src/workstation/console.ts diff --git a/perovskite-sim/frontend/src/workstation/layout-persistence.test.ts b/web/src/workstation/layout-persistence.test.ts similarity index 100% rename from perovskite-sim/frontend/src/workstation/layout-persistence.test.ts rename to web/src/workstation/layout-persistence.test.ts diff --git a/perovskite-sim/frontend/src/workstation/layout-persistence.ts b/web/src/workstation/layout-persistence.ts similarity index 100% rename from perovskite-sim/frontend/src/workstation/layout-persistence.ts rename to web/src/workstation/layout-persistence.ts diff --git a/perovskite-sim/frontend/src/workstation/layout-resize.test.ts b/web/src/workstation/layout-resize.test.ts similarity index 100% rename from perovskite-sim/frontend/src/workstation/layout-resize.test.ts rename to web/src/workstation/layout-resize.test.ts diff --git a/perovskite-sim/frontend/src/workstation/mobile-sidebar.test.ts b/web/src/workstation/mobile-sidebar.test.ts similarity index 100% rename from perovskite-sim/frontend/src/workstation/mobile-sidebar.test.ts rename to web/src/workstation/mobile-sidebar.test.ts diff --git a/perovskite-sim/frontend/src/workstation/mobile-sidebar.ts b/web/src/workstation/mobile-sidebar.ts similarity index 100% rename from perovskite-sim/frontend/src/workstation/mobile-sidebar.ts rename to web/src/workstation/mobile-sidebar.ts diff --git a/perovskite-sim/frontend/src/workstation/panes/current-decomp-pane.ts b/web/src/workstation/panes/current-decomp-pane.ts similarity index 100% rename from perovskite-sim/frontend/src/workstation/panes/current-decomp-pane.ts rename to web/src/workstation/panes/current-decomp-pane.ts diff --git a/perovskite-sim/frontend/src/workstation/panes/dark-jv-pane.ts b/web/src/workstation/panes/dark-jv-pane.ts similarity index 100% rename from perovskite-sim/frontend/src/workstation/panes/dark-jv-pane.ts rename to web/src/workstation/panes/dark-jv-pane.ts diff --git a/perovskite-sim/frontend/src/workstation/panes/dark-jv-render.test.ts b/web/src/workstation/panes/dark-jv-render.test.ts similarity index 100% rename from perovskite-sim/frontend/src/workstation/panes/dark-jv-render.test.ts rename to web/src/workstation/panes/dark-jv-render.test.ts diff --git a/perovskite-sim/frontend/src/workstation/panes/degradation-pane.ts b/web/src/workstation/panes/degradation-pane.ts similarity index 100% rename from perovskite-sim/frontend/src/workstation/panes/degradation-pane.ts rename to web/src/workstation/panes/degradation-pane.ts diff --git a/perovskite-sim/frontend/src/workstation/panes/device-pane.ts b/web/src/workstation/panes/device-pane.ts similarity index 100% rename from perovskite-sim/frontend/src/workstation/panes/device-pane.ts rename to web/src/workstation/panes/device-pane.ts diff --git a/perovskite-sim/frontend/src/workstation/panes/dynamic-defect-transient-pane.test.ts b/web/src/workstation/panes/dynamic-defect-transient-pane.test.ts similarity index 100% rename from perovskite-sim/frontend/src/workstation/panes/dynamic-defect-transient-pane.test.ts rename to web/src/workstation/panes/dynamic-defect-transient-pane.test.ts diff --git a/perovskite-sim/frontend/src/workstation/panes/dynamic-defect-transient-pane.ts b/web/src/workstation/panes/dynamic-defect-transient-pane.ts similarity index 100% rename from perovskite-sim/frontend/src/workstation/panes/dynamic-defect-transient-pane.ts rename to web/src/workstation/panes/dynamic-defect-transient-pane.ts diff --git a/perovskite-sim/frontend/src/workstation/panes/el-pane.ts b/web/src/workstation/panes/el-pane.ts similarity index 100% rename from perovskite-sim/frontend/src/workstation/panes/el-pane.ts rename to web/src/workstation/panes/el-pane.ts diff --git a/perovskite-sim/frontend/src/workstation/panes/eqe-el-render.test.ts b/web/src/workstation/panes/eqe-el-render.test.ts similarity index 100% rename from perovskite-sim/frontend/src/workstation/panes/eqe-el-render.test.ts rename to web/src/workstation/panes/eqe-el-render.test.ts diff --git a/perovskite-sim/frontend/src/workstation/panes/eqe-pane.ts b/web/src/workstation/panes/eqe-pane.ts similarity index 100% rename from perovskite-sim/frontend/src/workstation/panes/eqe-pane.ts rename to web/src/workstation/panes/eqe-pane.ts diff --git a/perovskite-sim/frontend/src/workstation/panes/experiment-pane.test.ts b/web/src/workstation/panes/experiment-pane.test.ts similarity index 100% rename from perovskite-sim/frontend/src/workstation/panes/experiment-pane.test.ts rename to web/src/workstation/panes/experiment-pane.test.ts diff --git a/perovskite-sim/frontend/src/workstation/panes/experiment-pane.ts b/web/src/workstation/panes/experiment-pane.ts similarity index 100% rename from perovskite-sim/frontend/src/workstation/panes/experiment-pane.ts rename to web/src/workstation/panes/experiment-pane.ts diff --git a/perovskite-sim/frontend/src/workstation/panes/help-pane.ts b/web/src/workstation/panes/help-pane.ts similarity index 100% rename from perovskite-sim/frontend/src/workstation/panes/help-pane.ts rename to web/src/workstation/panes/help-pane.ts diff --git a/perovskite-sim/frontend/src/workstation/panes/imp-deg-tpv-vgs-render.test.ts b/web/src/workstation/panes/imp-deg-tpv-vgs-render.test.ts similarity index 100% rename from perovskite-sim/frontend/src/workstation/panes/imp-deg-tpv-vgs-render.test.ts rename to web/src/workstation/panes/imp-deg-tpv-vgs-render.test.ts diff --git a/perovskite-sim/frontend/src/workstation/panes/impedance-pane.ts b/web/src/workstation/panes/impedance-pane.ts similarity index 100% rename from perovskite-sim/frontend/src/workstation/panes/impedance-pane.ts rename to web/src/workstation/panes/impedance-pane.ts diff --git a/perovskite-sim/frontend/src/workstation/panes/jv-1d-render.test.ts b/web/src/workstation/panes/jv-1d-render.test.ts similarity index 100% rename from perovskite-sim/frontend/src/workstation/panes/jv-1d-render.test.ts rename to web/src/workstation/panes/jv-1d-render.test.ts diff --git a/perovskite-sim/frontend/src/workstation/panes/jv-2d-pane.test.ts b/web/src/workstation/panes/jv-2d-pane.test.ts similarity index 100% rename from perovskite-sim/frontend/src/workstation/panes/jv-2d-pane.test.ts rename to web/src/workstation/panes/jv-2d-pane.test.ts diff --git a/perovskite-sim/frontend/src/workstation/panes/jv-2d-pane.ts b/web/src/workstation/panes/jv-2d-pane.ts similarity index 100% rename from perovskite-sim/frontend/src/workstation/panes/jv-2d-pane.ts rename to web/src/workstation/panes/jv-2d-pane.ts diff --git a/perovskite-sim/frontend/src/workstation/panes/jv-2d-render.test.ts b/web/src/workstation/panes/jv-2d-render.test.ts similarity index 100% rename from perovskite-sim/frontend/src/workstation/panes/jv-2d-render.test.ts rename to web/src/workstation/panes/jv-2d-render.test.ts diff --git a/perovskite-sim/frontend/src/workstation/panes/jv-pane.test.ts b/web/src/workstation/panes/jv-pane.test.ts similarity index 99% rename from perovskite-sim/frontend/src/workstation/panes/jv-pane.test.ts rename to web/src/workstation/panes/jv-pane.test.ts index 4be6a23e..4910a58e 100644 --- a/perovskite-sim/frontend/src/workstation/panes/jv-pane.test.ts +++ b/web/src/workstation/panes/jv-pane.test.ts @@ -7,7 +7,7 @@ * plane states" checkbox on the solver selection. */ import { describe, it, expect, beforeEach, afterEach, vi } from 'vitest' -import figureReferenceJSON from '../../../../tests/fixtures/IonDiffusivityFigureReference.json?raw' +import figureReferenceJSON from '../../../../perovskite-sim/tests/fixtures/IonDiffusivityFigureReference.json?raw' vi.mock('../../job-stream', () => ({ startJob: vi.fn(), diff --git a/perovskite-sim/frontend/src/workstation/panes/jv-pane.ts b/web/src/workstation/panes/jv-pane.ts similarity index 100% rename from perovskite-sim/frontend/src/workstation/panes/jv-pane.ts rename to web/src/workstation/panes/jv-pane.ts diff --git a/perovskite-sim/frontend/src/workstation/panes/main-plot-pane.test.ts b/web/src/workstation/panes/main-plot-pane.test.ts similarity index 100% rename from perovskite-sim/frontend/src/workstation/panes/main-plot-pane.test.ts rename to web/src/workstation/panes/main-plot-pane.test.ts diff --git a/perovskite-sim/frontend/src/workstation/panes/main-plot-pane.ts b/web/src/workstation/panes/main-plot-pane.ts similarity index 100% rename from perovskite-sim/frontend/src/workstation/panes/main-plot-pane.ts rename to web/src/workstation/panes/main-plot-pane.ts diff --git a/perovskite-sim/frontend/src/workstation/panes/mott-schottky-pane.ts b/web/src/workstation/panes/mott-schottky-pane.ts similarity index 100% rename from perovskite-sim/frontend/src/workstation/panes/mott-schottky-pane.ts rename to web/src/workstation/panes/mott-schottky-pane.ts diff --git a/perovskite-sim/frontend/src/workstation/panes/mott-schottky-render.test.ts b/web/src/workstation/panes/mott-schottky-render.test.ts similarity index 100% rename from perovskite-sim/frontend/src/workstation/panes/mott-schottky-render.test.ts rename to web/src/workstation/panes/mott-schottky-render.test.ts diff --git a/perovskite-sim/frontend/src/workstation/panes/spatial-pane.ts b/web/src/workstation/panes/spatial-pane.ts similarity index 100% rename from perovskite-sim/frontend/src/workstation/panes/spatial-pane.ts rename to web/src/workstation/panes/spatial-pane.ts diff --git a/perovskite-sim/frontend/src/workstation/panes/spatial-profiles-render.test.ts b/web/src/workstation/panes/spatial-profiles-render.test.ts similarity index 100% rename from perovskite-sim/frontend/src/workstation/panes/spatial-profiles-render.test.ts rename to web/src/workstation/panes/spatial-profiles-render.test.ts diff --git a/perovskite-sim/frontend/src/workstation/panes/suns-voc-pane.ts b/web/src/workstation/panes/suns-voc-pane.ts similarity index 100% rename from perovskite-sim/frontend/src/workstation/panes/suns-voc-pane.ts rename to web/src/workstation/panes/suns-voc-pane.ts diff --git a/perovskite-sim/frontend/src/workstation/panes/suns-voc-render.test.ts b/web/src/workstation/panes/suns-voc-render.test.ts similarity index 100% rename from perovskite-sim/frontend/src/workstation/panes/suns-voc-render.test.ts rename to web/src/workstation/panes/suns-voc-render.test.ts diff --git a/perovskite-sim/frontend/src/workstation/panes/tandem-pane.ts b/web/src/workstation/panes/tandem-pane.ts similarity index 100% rename from perovskite-sim/frontend/src/workstation/panes/tandem-pane.ts rename to web/src/workstation/panes/tandem-pane.ts diff --git a/perovskite-sim/frontend/src/workstation/panes/tpv-pane.test.ts b/web/src/workstation/panes/tpv-pane.test.ts similarity index 100% rename from perovskite-sim/frontend/src/workstation/panes/tpv-pane.test.ts rename to web/src/workstation/panes/tpv-pane.test.ts diff --git a/perovskite-sim/frontend/src/workstation/panes/tpv-pane.ts b/web/src/workstation/panes/tpv-pane.ts similarity index 100% rename from perovskite-sim/frontend/src/workstation/panes/tpv-pane.ts rename to web/src/workstation/panes/tpv-pane.ts diff --git a/perovskite-sim/frontend/src/workstation/panes/voc-grain-sweep-pane.ts b/web/src/workstation/panes/voc-grain-sweep-pane.ts similarity index 100% rename from perovskite-sim/frontend/src/workstation/panes/voc-grain-sweep-pane.ts rename to web/src/workstation/panes/voc-grain-sweep-pane.ts diff --git a/perovskite-sim/frontend/src/workstation/panes/voc-t-pane.ts b/web/src/workstation/panes/voc-t-pane.ts similarity index 100% rename from perovskite-sim/frontend/src/workstation/panes/voc-t-pane.ts rename to web/src/workstation/panes/voc-t-pane.ts diff --git a/perovskite-sim/frontend/src/workstation/panes/voc-t-render.test.ts b/web/src/workstation/panes/voc-t-render.test.ts similarity index 100% rename from perovskite-sim/frontend/src/workstation/panes/voc-t-render.test.ts rename to web/src/workstation/panes/voc-t-render.test.ts diff --git a/perovskite-sim/frontend/src/workstation/phase2-smoke.test.ts b/web/src/workstation/phase2-smoke.test.ts similarity index 100% rename from perovskite-sim/frontend/src/workstation/phase2-smoke.test.ts rename to web/src/workstation/phase2-smoke.test.ts diff --git a/perovskite-sim/frontend/src/workstation/shell.ts b/web/src/workstation/shell.ts similarity index 97% rename from perovskite-sim/frontend/src/workstation/shell.ts rename to web/src/workstation/shell.ts index 0878f28b..c558eff5 100644 --- a/perovskite-sim/frontend/src/workstation/shell.ts +++ b/web/src/workstation/shell.ts @@ -80,6 +80,9 @@ export async function mountWorkstation(root: HTMLElement): Promise {

Solar cell simulator

+ Steady J–V · new core + 2D steady · new core + Transient · new core diff --git a/perovskite-sim/frontend/src/workstation/smoke.test.ts b/web/src/workstation/smoke.test.ts similarity index 100% rename from perovskite-sim/frontend/src/workstation/smoke.test.ts rename to web/src/workstation/smoke.test.ts diff --git a/perovskite-sim/frontend/src/workstation/state.test.ts b/web/src/workstation/state.test.ts similarity index 100% rename from perovskite-sim/frontend/src/workstation/state.test.ts rename to web/src/workstation/state.test.ts diff --git a/perovskite-sim/frontend/src/workstation/state.ts b/web/src/workstation/state.ts similarity index 100% rename from perovskite-sim/frontend/src/workstation/state.ts rename to web/src/workstation/state.ts diff --git a/perovskite-sim/frontend/src/workstation/tier-gating.test.ts b/web/src/workstation/tier-gating.test.ts similarity index 100% rename from perovskite-sim/frontend/src/workstation/tier-gating.test.ts rename to web/src/workstation/tier-gating.test.ts diff --git a/perovskite-sim/frontend/src/workstation/tier-gating.ts b/web/src/workstation/tier-gating.ts similarity index 100% rename from perovskite-sim/frontend/src/workstation/tier-gating.ts rename to web/src/workstation/tier-gating.ts diff --git a/perovskite-sim/frontend/src/workstation/tree.test.ts b/web/src/workstation/tree.test.ts similarity index 100% rename from perovskite-sim/frontend/src/workstation/tree.test.ts rename to web/src/workstation/tree.test.ts diff --git a/perovskite-sim/frontend/src/workstation/tree.ts b/web/src/workstation/tree.ts similarity index 100% rename from perovskite-sim/frontend/src/workstation/tree.ts rename to web/src/workstation/tree.ts diff --git a/perovskite-sim/frontend/src/workstation/types.ts b/web/src/workstation/types.ts similarity index 100% rename from perovskite-sim/frontend/src/workstation/types.ts rename to web/src/workstation/types.ts diff --git a/perovskite-sim/frontend/src/workstation/wizard.test.ts b/web/src/workstation/wizard.test.ts similarity index 100% rename from perovskite-sim/frontend/src/workstation/wizard.test.ts rename to web/src/workstation/wizard.test.ts diff --git a/perovskite-sim/frontend/src/workstation/wizard.ts b/web/src/workstation/wizard.ts similarity index 100% rename from perovskite-sim/frontend/src/workstation/wizard.ts rename to web/src/workstation/wizard.ts diff --git a/web/tests/configuration-preview.html b/web/tests/configuration-preview.html new file mode 100644 index 00000000..1638b3c3 --- /dev/null +++ b/web/tests/configuration-preview.html @@ -0,0 +1,74 @@ + + + + + + Configuration preview infrastructure fixture + + + +
+

Configuration editor

+

Select a supplied configuration, edit its draft, and apply it to inspect resolved values and field origins.

+
+ + + + +
+ +
+
+
+ + + diff --git a/perovskite-sim/frontend/tests/ion-flow-viewport.html b/web/tests/ion-flow-viewport.html similarity index 100% rename from perovskite-sim/frontend/tests/ion-flow-viewport.html rename to web/tests/ion-flow-viewport.html diff --git a/perovskite-sim/frontend/tests/ion-flow.html b/web/tests/ion-flow.html similarity index 100% rename from perovskite-sim/frontend/tests/ion-flow.html rename to web/tests/ion-flow.html diff --git a/web/tests/stored-run.html b/web/tests/stored-run.html new file mode 100644 index 00000000..2191c0f9 --- /dev/null +++ b/web/tests/stored-run.html @@ -0,0 +1,31 @@ + + + + + + Stored-run infrastructure fixture + + + + +
+

RunStore infrastructure fixture

+

This page exercises stored records and transport only; it does not run a solar simulation.

+ +
+
+ + + diff --git a/perovskite-sim/frontend/tsconfig.json b/web/tsconfig.json similarity index 100% rename from perovskite-sim/frontend/tsconfig.json rename to web/tsconfig.json diff --git a/perovskite-sim/frontend/vite.config.ts b/web/vite.config.ts similarity index 55% rename from perovskite-sim/frontend/vite.config.ts rename to web/vite.config.ts index 6aa7ae5b..1db3f0da 100644 --- a/perovskite-sim/frontend/vite.config.ts +++ b/web/vite.config.ts @@ -4,6 +4,11 @@ export default defineConfig({ server: { port: 5173, proxy: { + '/steady-service': { + target: 'http://127.0.0.1:8000', + changeOrigin: true, + rewrite: (path) => path.replace(/^\/steady-service/, ''), + }, '/api': { target: 'http://127.0.0.1:8000', changeOrigin: true, diff --git a/perovskite-sim/frontend/vitest.config.ts b/web/vitest.config.ts similarity index 100% rename from perovskite-sim/frontend/vitest.config.ts rename to web/vitest.config.ts